browserstack-node-sdk 1.66.1 → 1.66.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a175_0x45c0(){const _0x1cc1bb=['3628752hoHYgi','HookRunStarted','info','../helper.js','XVGyF','parseA11yJwtPayload','FClyA','../helper','message','shouldProcessEventForTesthub','GfnfT','4896oOiGyi','qulKe','Oxzse','TestRunStarted','BROWSERSTACK_TESTHUB_UUID','miNjf','MOCHA','assign','ENV_VAR','XQroC','DEPRECATED','accessibilityPlatform','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','gxTya','getProductMapForBuildStartCall','INVALID_CREDENTIALS','WdZGC','3142645VYKvXr','options','test_run','getTestData','setTestHubCommonMetaInfo','isAccessibilityPlatform','CUCUMBER','sr_automation','true','rnXGf','JXmle','JtzEy','PLAYWRIGHT','value','isAccessibilityEnabled','57nzlEpF','jwt',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','BS_TESTOPS_JWT','commandsToWrap','product_map','getTestFrameworkDetails','fkEMv','isTurboScaleSession','KPisk','JEST','checkAccessibilityPlatformConfig','getProductMap','wjgvW','stringify','vSWdH','16EvzmAU','XQcVN','VVWfG','setTestData','../logger','key','platforms','tGory','getGlobal','iYvFI','vEoBq','build_hashed_id','goDLA','SGdDN','setAccessibilityVariables','ERROR','null','npisM','5|0|2|1|4|3','observability','79892HROFYv','uwghE','../globals.js','percy','gnDuz','HROKN','rwQFB','GLKPA','zOGWX','config','accessibility','handleErrorForAccessibility','CREDENTIALS_FOR_CRASH_REPORTING','LrvEz','BGVFq','uuid','toJson','appendTesthubParams','ERCBo','RsOvr','CExVS','debug','bstackA11yShouldScan','mreZX','1946367DcSYUv','Bbggw','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','../test-observability/utils','gcuYp','scopes','command','isPercyBuild','./constants.js','getCurrentTestData','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','setTestObservabilityVariables','\x20Build\x20creation\x20failed','../accessibility-automation/scripts.js','testManagementOptions','fBRet','toString','winstonLogger','lGSKL','ixrEE','capabilities','JASMINE','BS_TESTOPS_BUILD_HASHED_ID','hcBPg','qRUIb','string','../../bin/playwright/reporter/test-details.js','BS_TESTOPS_BUILD_COMPLETED','PiMlU','BROWSERSTACK_SR_AUTOMATION','scannerVersion','NgCGw','../../bin/jest/test-observability/test-details.js','includes','parse','success','username','length','slice','errors','cYPnk','get','password','325370CpQnkn','xUOba','JKHHv','isLTSSession','description','getAgentVersion','ACCESSIBILITY','nejfZ','keys','sHMGE','BLTdb','SiVPX','argv','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','getTestPlanId','cMDJX','scripts','vLQZs','PtjEH','BROWSERSTACK_TEST_ACCESSIBILITY_YML','name','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','HrUCy','pQGtX','hYoZA','join','dczgG','skipCDPConnectOverride','env','isBrowserstackInfra','5815313fPIiEQ','cSsfd','setCurrentTestData','logBuildError','BROWSERSTACK_TEST_PLAN_ID','UHryJ','LogCreated','handleErrorForObservability','getTestOrchestrationBuildStartData','BS_TESTOPS_ALLOW_SCREENSHOTS','BROWSERSTACK_PERCY','2|3|1|4|0|5|6','BROWSERSTACK_TESTHUB_JWT','297wFFybC','aLAUT','isTrue','loMse','isRunning','isAppAutomateSession','eObCH','46KCarFV','false','getAccessibilityValueFromYml','startsWith','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wjQdB','FRAMEWORK_DETAILS','split','BROWSERSTACK_PRODUCT_MAP','CODECEPT','getBuildStartData','commands','titlePath','TEST_REPORTING_ANALYTICS','AeiBg','shouldScanTestForAccessibility','FsRxa','tags','zhQDe','ACCESS_DENIED','HookRunFinished','nonBStackInfraA11yChromeOptions','QlyJc','error','isUndefined','BUiog'];a175_0x45c0=function(){return _0x1cc1bb;};return a175_0x45c0();}const a175_0x1fddae=a175_0x4486;(function(_0x487a0d,_0x1cc43b){const _0x2c1b41=a175_0x4486,_0x50a105=_0x487a0d();while(!![]){try{const _0xc857ee=-parseInt(_0x2c1b41(0xce))/0x1*(-parseInt(_0x2c1b41(0xf3))/0x2)+-parseInt(_0x2c1b41(0x113))/0x3*(parseInt(_0x2c1b41(0x137))/0x4)+parseInt(_0x2c1b41(0x104))/0x5+parseInt(_0x2c1b41(0xe8))/0x6+-parseInt(_0x2c1b41(0xba))/0x7+parseInt(_0x2c1b41(0x123))/0x8*(-parseInt(_0x2c1b41(0x14f))/0x9)+-parseInt(_0x2c1b41(0x17a))/0xa*(-parseInt(_0x2c1b41(0xc7))/0xb);if(_0xc857ee===_0x1cc43b)break;else _0x50a105['push'](_0x50a105['shift']());}catch(_0x491fc2){_0x50a105['push'](_0x50a105['shift']());}}}(a175_0x45c0,0x8e018));function a175_0x4486(_0x38dd4e,_0x273238){const _0x45c044=a175_0x45c0();return a175_0x4486=function(_0x4486bc,_0x183006){_0x4486bc=_0x4486bc-0xa6;let _0x28de2d=_0x45c044[_0x4486bc];return _0x28de2d;},a175_0x4486(_0x38dd4e,_0x273238);}const bsSetupHelper=require(a175_0x1fddae(0xef)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a175_0x1fddae(0x152)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a175_0x1fddae(0x127))[a175_0x1fddae(0x160)],{nestedKeyValue}=require(a175_0x1fddae(0xeb)),scripts=require(a175_0x1fddae(0x15c)),globals=require(a175_0x1fddae(0x139)),testHubConstants=require(a175_0x1fddae(0x157)),PWTestDetails=require(a175_0x1fddae(0x169)),JestTestDetails=require(a175_0x1fddae(0x16f)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require('../../bin/utils/constants.js');let testData={};exports[a175_0x1fddae(0x11f)]=_0x38ab29=>{const _0x1da7a6=a175_0x1fddae,_0x5ab717={'nejfZ':function(_0x1d66e9){return _0x1d66e9();},'wjQdB':function(_0x588561,_0x2e5591){return _0x588561===_0x2e5591;},'BUiog':_0x1da7a6(0x10c)};let _0x591b50=![],_0x136a86=![];if(bsSetupHelper[_0x1da7a6(0xb9)]()&&bsSetupHelper[_0x1da7a6(0xcc)](_0x38ab29))_0x136a86=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x591b50=!![]);return Object[_0x1da7a6(0xfa)]({'observability':_0x5ab717[_0x1da7a6(0x181)](isTestObservabilitySession),'accessibility':exports[_0x1da7a6(0x112)](_0x38ab29),'percy':_0x38ab29[_0x1da7a6(0x13a)]||![],'sr_automation':_0x5ab717[_0x1da7a6(0xd3)](process[_0x1da7a6(0xb8)][_0x1da7a6(0x16c)],_0x5ab717[_0x1da7a6(0xe7)])||_0x38ab29[_0x1da7a6(0x10b)]||![],'automate':_0x591b50,'app_automate':_0x136a86,'turboscale':bsSetupHelper[_0x1da7a6(0x11b)](_0x38ab29),'lts':LoadTestModule[_0x1da7a6(0x17d)](_0x38ab29)},bsSetupHelper['getCentralUser']());},exports['getFrameworkDetails']=(_0x519696,_0x1ac74a)=>{const _0x5c530b=a175_0x1fddae,_0x542dd8={'FClyA':function(_0x211310,_0x463cfb){return _0x211310(_0x463cfb);},'aLAUT':'javascript'},_0x2a8514={'frameworkName':_0x1ac74a,'frameworkVersion':_0x542dd8[_0x5c530b(0xee)](getFrameworkVersion,_0x1ac74a),'sdkVersion':bsSetupHelper[_0x5c530b(0x17f)](),'language':_0x542dd8[_0x5c530b(0xc8)],'testFramework':bsSetupHelper[_0x5c530b(0x119)](_0x519696,_0x1ac74a)};return process[_0x5c530b(0xb8)][_0x5c530b(0xd4)]=JSON[_0x5c530b(0x121)](_0x2a8514),_0x2a8514;},exports['setPercyFlag']=_0x55af10=>{const _0x18f9bc=a175_0x1fddae,_0x355b99={};_0x355b99[_0x18f9bc(0x12d)]='false',_0x355b99[_0x18f9bc(0x138)]='true';const _0x19052b=_0x355b99;process['env'][_0x18f9bc(0xc4)]=_0x19052b[_0x18f9bc(0x12d)],bsSetupHelper[_0x18f9bc(0xc9)](_0x55af10[_0x18f9bc(0x140)][_0x18f9bc(0x13a)])&&(!_0x55af10[_0x18f9bc(0x13a)]||!_0x55af10[_0x18f9bc(0x13a)][_0x18f9bc(0xcb)]())&&(process[_0x18f9bc(0xb8)][_0x18f9bc(0xc4)]=_0x19052b[_0x18f9bc(0x138)]);},exports[a175_0x1fddae(0x156)]=()=>{const _0x52c618=a175_0x1fddae;return bsSetupHelper[_0x52c618(0xc9)](process[_0x52c618(0xb8)][_0x52c618(0xc4)]);},exports[a175_0x1fddae(0x112)]=(_0x3e1cf7={})=>{const _0x37422c=a175_0x1fddae,_0x32c9cb={};_0x32c9cb[_0x37422c(0x15e)]=function(_0x14135d,_0x3aee34){return _0x14135d!==_0x3aee34;},_0x32c9cb[_0x37422c(0xa7)]=function(_0x3e73bf,_0x2933d7){return _0x3e73bf===_0x2933d7;},_0x32c9cb[_0x37422c(0x130)]=_0x37422c(0x10c),_0x32c9cb[_0x37422c(0x103)]=function(_0x45ee24,_0x34bc25){return _0x45ee24>_0x34bc25;},_0x32c9cb[_0x37422c(0xb2)]=function(_0x1ac614,_0x2c962c){return _0x1ac614===_0x2c962c;};const _0x32dcb3=_0x32c9cb;if(_0x32dcb3[_0x37422c(0x15e)](process[_0x37422c(0xb8)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x37422c(0xc9)](process['env']['BROWSERSTACK_ACCESSIBILITY']);let _0x12ff01=_0x32dcb3[_0x37422c(0xa7)](process[_0x37422c(0xb8)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x32dcb3[_0x37422c(0x130)]);return _0x32dcb3[_0x37422c(0x103)](Object[_0x37422c(0x182)](_0x3e1cf7)[_0x37422c(0x174)],0x0)&&(process['env'][_0x37422c(0xb1)]=accessibilityHelper[_0x37422c(0x11e)](_0x3e1cf7)),_0x12ff01=_0x12ff01||_0x32dcb3['HrUCy'](process[_0x37422c(0xb8)][_0x37422c(0xb1)],_0x32dcb3[_0x37422c(0x130)]),_0x12ff01;},exports[a175_0x1fddae(0x15a)]=(_0x209964,_0x1fd179)=>{const _0x9c86b9=a175_0x1fddae,_0x255037={'kwXYq':function(_0xb00d68){return _0xb00d68();},'loMse':_0x9c86b9(0x135),'WwzMN':function(_0x1b7ae7,_0x51c7f1,_0x2b1ab3){return _0x1b7ae7(_0x51c7f1,_0x2b1ab3);},'cYPnk':_0x9c86b9(0x136),'qulKe':_0x9c86b9(0x105),'cSsfd':_0x9c86b9(0x10c)};if(!_0x209964||!_0x209964[_0x9c86b9(0x136)])return exports[_0x9c86b9(0xc1)](),[null,null,null];if(!_0x209964[_0x9c86b9(0x136)][_0x9c86b9(0x172)])return exports[_0x9c86b9(0xc1)](_0x209964[_0x9c86b9(0x136)]),[null,null,null];if(_0x255037['kwXYq'](isTestObservabilitySession)){const _0x1ae1b0=_0x255037[_0x9c86b9(0xca)][_0x9c86b9(0xd5)]('|');let _0x527285=0x0;while(!![]){switch(_0x1ae1b0[_0x527285++]){case'0':if(_0x209964['jwt']){process['env'][_0x9c86b9(0x116)]=_0x209964[_0x9c86b9(0x114)];const _0x238cb1={};_0x238cb1[_0x9c86b9(0x173)]=_0x1fd179[_0x9c86b9(0x173)],_0x238cb1[_0x9c86b9(0x179)]=_0x1fd179['password'],process[_0x9c86b9(0xb8)][_0x9c86b9(0x143)]=JSON['stringify'](_0x238cb1);}continue;case'1':_0x255037['WwzMN'](nestedKeyValue,_0x209964,[_0x255037[_0x9c86b9(0x177)],_0x255037[_0x9c86b9(0xf4)]])&&(process[_0x9c86b9(0xb8)][_0x9c86b9(0xc3)]=_0x209964[_0x9c86b9(0x136)][_0x9c86b9(0x105)]['allow_screenshots'][_0x9c86b9(0x15f)]());continue;case'2':_0x209964[_0x9c86b9(0x12e)]&&(process['env'][_0x9c86b9(0x165)]=_0x209964[_0x9c86b9(0x12e)]);continue;case'3':return[_0x209964[_0x9c86b9(0x114)],_0x209964[_0x9c86b9(0x12e)],process['env'][_0x9c86b9(0xc3)]];case'4':logger[_0x9c86b9(0x14c)]('['+constants[_0x9c86b9(0xdb)]+_0x9c86b9(0x115)+_0x209964[_0x9c86b9(0x12e)]);continue;case'5':process[_0x9c86b9(0xb8)][_0x9c86b9(0x16a)]=_0x255037[_0x9c86b9(0xbb)];continue;}break;}}return[null,null,null];},exports[a175_0x1fddae(0x131)]=_0x5b65b7=>{const _0x2d7cc2=a175_0x1fddae,_0x373cb4={'tGory':function(_0x4feb0,_0xece1cb,_0x290388){return _0x4feb0(_0xece1cb,_0x290388);},'CExVS':'accessibility','AeiBg':_0x2d7cc2(0x105),'pQGtX':function(_0x515e3a,_0x5b6051,_0x444bea,_0x2e2512){return _0x515e3a(_0x5b6051,_0x444bea,_0x2e2512);},'gcuYp':_0x2d7cc2(0xb0),'XVGyF':_0x2d7cc2(0x111),'GLaQJ':_0x2d7cc2(0x155),'bQHAv':_0x2d7cc2(0xd9),'NJFeh':function(_0x514dc6,_0x191974,_0x22dfc0,_0x87bfa5){return _0x514dc6(_0x191974,_0x22dfc0,_0x87bfa5);},'xUOba':_0x2d7cc2(0xe3),'sTsIP':'goog:chromeOptions','OprKl':function(_0x4e79c9,_0x44be13){return _0x4e79c9(_0x44be13);},'BLTdb':function(_0x55dada,_0x41e385){return _0x55dada===_0x41e385;},'VxEVQ':function(_0x1b82e1,_0x387e27){return _0x1b82e1===_0x387e27;},'jjmQl':'true','uBicl':'[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override'};if(!_0x5b65b7[_0x2d7cc2(0x141)])return exports[_0x2d7cc2(0x142)](),[null,null];if(!_0x5b65b7[_0x2d7cc2(0x141)][_0x2d7cc2(0x172)])return exports[_0x2d7cc2(0x142)](_0x5b65b7[_0x2d7cc2(0x141)]),[null,null];if(_0x373cb4[_0x2d7cc2(0x12a)](nestedKeyValue,_0x5b65b7,[_0x373cb4[_0x2d7cc2(0x14b)],_0x373cb4[_0x2d7cc2(0xdc)]])){const {accessibilityToken:_0x1a8476,scannerVersion:_0x4ddb18,scannerProcessingTimeout:_0x34dc15,isMobileScanningEnabledForGroup:_0x1db937}=_0x373cb4[_0x2d7cc2(0xb3)](jsonifyAccessibilityArray,_0x5b65b7[_0x2d7cc2(0x141)][_0x2d7cc2(0x105)][_0x2d7cc2(0x163)],_0x373cb4[_0x2d7cc2(0x153)],_0x373cb4['XVGyF']),_0x3b9a61={'scripts':_0x373cb4['pQGtX'](jsonifyAccessibilityArray,_0x5b65b7[_0x2d7cc2(0x141)][_0x2d7cc2(0x105)][_0x2d7cc2(0xac)],_0x373cb4['gcuYp'],_0x373cb4['GLaQJ'])};_0x3b9a61[_0x373cb4['bQHAv']]=_0x5b65b7[_0x2d7cc2(0x141)][_0x2d7cc2(0x105)][_0x2d7cc2(0x117)]['commands'];const _0x1b5a48=_0x373cb4['NJFeh'](jsonifyAccessibilityArray,_0x5b65b7[_0x2d7cc2(0x141)][_0x2d7cc2(0x105)][_0x2d7cc2(0x163)],_0x373cb4[_0x2d7cc2(0x153)],_0x373cb4[_0x2d7cc2(0xec)]);_0x3b9a61[_0x373cb4[_0x2d7cc2(0x17b)]]=_0x1b5a48[_0x373cb4['sTsIP']],scripts['parseFromJson'](_0x3b9a61),scripts[_0x2d7cc2(0x147)]();let _0x3a9d94=process[_0x2d7cc2(0xb8)][_0x2d7cc2(0xd2)];_0x3a9d94=!!_0x3a9d94?JSON[_0x2d7cc2(0x171)](_0x3a9d94):{},_0x3a9d94[_0x2d7cc2(0x16d)]=_0x4ddb18,process['env'][_0x2d7cc2(0xd2)]=JSON['stringify'](_0x3a9d94),process[_0x2d7cc2(0xb8)]['BS_A11Y_JWT']=_0x1a8476,process[_0x2d7cc2(0xb8)][_0x2d7cc2(0xff)]=_0x373cb4['OprKl'](String,_0x373cb4[_0x2d7cc2(0xa6)](_0x1db937,!![])||_0x373cb4['VxEVQ'](_0x1db937,_0x373cb4['jjmQl'])),logger['debug'](_0x2d7cc2(0xa9)+_0x5b65b7[_0x2d7cc2(0x12e)]);const _0x45a4ff=accessibilityHelper[_0x2d7cc2(0xed)](_0x1a8476);return _0x45a4ff&&bsSetupHelper[_0x2d7cc2(0xc9)](_0x45a4ff[_0x2d7cc2(0xb7)])&&(process[_0x2d7cc2(0xb8)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x2d7cc2(0x14c)](_0x373cb4['uBicl'])),[_0x1a8476,_0x5b65b7[_0x2d7cc2(0x12e)],_0x34dc15];}return[null,null];},exports[a175_0x1fddae(0xc1)]=_0x1a82f8=>{const _0xe1e597=a175_0x1fddae,_0x5d05e9={};_0x5d05e9[_0xe1e597(0x122)]=_0xe1e597(0xc5),_0x5d05e9[_0xe1e597(0xad)]=_0xe1e597(0x133),_0x5d05e9['rtGYy']=_0xe1e597(0xcf);const _0x1ab4a7=_0x5d05e9,_0x4a40b0=_0x1ab4a7[_0xe1e597(0x122)][_0xe1e597(0xd5)]('|');let _0x45e4a8=0x0;while(!![]){switch(_0x4a40b0[_0x45e4a8++]){case'0':process[_0xe1e597(0xb8)][_0xe1e597(0x165)]=_0x1ab4a7[_0xe1e597(0xad)];continue;case'1':process[_0xe1e597(0xb8)][_0xe1e597(0x16a)]=_0x1ab4a7['rtGYy'];continue;case'2':process[_0xe1e597(0xb8)][_0xe1e597(0xf7)]=_0x1ab4a7[_0xe1e597(0xad)];continue;case'3':process[_0xe1e597(0xb8)][_0xe1e597(0xc6)]=_0x1ab4a7['vLQZs'];continue;case'4':process[_0xe1e597(0xb8)][_0xe1e597(0x116)]=_0x1ab4a7[_0xe1e597(0xad)];continue;case'5':process[_0xe1e597(0xb8)][_0xe1e597(0xc3)]=_0x1ab4a7[_0xe1e597(0xad)];continue;case'6':exports[_0xe1e597(0xbd)](_0x1a82f8,testHubConstants['OBSERVABILITY']);continue;}break;}},exports[a175_0x1fddae(0x142)]=_0x1f83dc=>{const _0x573482=a175_0x1fddae,_0x538c86={};_0x538c86[_0x573482(0x13f)]='2|1|0|4|3',_0x538c86['JKHHv']=_0x573482(0xcf),_0x538c86[_0x573482(0xb6)]=_0x573482(0x133);const _0x27f94b=_0x538c86,_0x2177ac=_0x27f94b[_0x573482(0x13f)][_0x573482(0xd5)]('|');let _0x1bd973=0x0;while(!![]){switch(_0x2177ac[_0x1bd973++]){case'0':process[_0x573482(0xb8)][_0x573482(0xaf)]=_0x27f94b['JKHHv'];continue;case'1':process[_0x573482(0xb8)][_0x573482(0xc6)]=_0x27f94b[_0x573482(0xb6)];continue;case'2':process['env'][_0x573482(0xf7)]=_0x27f94b[_0x573482(0xb6)];continue;case'3':exports[_0x573482(0xbd)](_0x1f83dc,testHubConstants[_0x573482(0x180)]);continue;case'4':process[_0x573482(0xb8)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x27f94b[_0x573482(0x17c)];continue;}break;}},exports[a175_0x1fddae(0xbd)]=(_0x2b4eb5,_0x5d5a36='')=>{const _0x357bc3=a175_0x1fddae,_0x72ba7={};_0x72ba7[_0x357bc3(0xbf)]=function(_0x423918,_0x5c1685){return _0x423918===_0x5c1685;};const _0x27c4b4=_0x72ba7;if(_0x27c4b4[_0x357bc3(0xbf)](_0x2b4eb5,undefined)){logger[_0x357bc3(0xe5)](_0x5d5a36['toUpperCase']()+_0x357bc3(0x15b));return;}for(const _0x53d81a of _0x2b4eb5[_0x357bc3(0x176)]){const _0x28b45e=_0x53d81a[_0x357bc3(0x128)],_0x5c6f37=_0x53d81a[_0x357bc3(0xf0)];if(_0x5c6f37)switch(_0x28b45e){case testHubConstants['ERROR'][_0x357bc3(0x102)]:logger[_0x357bc3(0xe5)](_0x5c6f37);break;case testHubConstants[_0x357bc3(0x132)][_0x357bc3(0xe1)]:logger[_0x357bc3(0xea)](_0x5c6f37);break;case testHubConstants[_0x357bc3(0x132)][_0x357bc3(0xfd)]:logger['error'](_0x5c6f37);break;default:logger[_0x357bc3(0xe5)](_0x5c6f37);}}};const jsonifyAccessibilityArray=(_0x48844b,_0x1cb8fa,_0x1f5c6d)=>{const _0x22ace1={};return _0x48844b['forEach'](_0x27bb68=>{_0x22ace1[_0x27bb68[_0x1cb8fa]]=_0x27bb68[_0x1f5c6d];}),_0x22ace1;};exports[a175_0x1fddae(0x108)]=_0x3ec045=>{const _0xbbff4c=a175_0x1fddae;_0x3ec045[_0xbbff4c(0x114)]&&(process[_0xbbff4c(0xb8)][_0xbbff4c(0xc6)]=_0x3ec045[_0xbbff4c(0x114)]);_0x3ec045[_0xbbff4c(0x12e)]&&(process[_0xbbff4c(0xb8)][_0xbbff4c(0xf7)]=_0x3ec045[_0xbbff4c(0x12e)],logger[_0xbbff4c(0x14c)]('BROWSERSTACK_TESTHUB_UUID:\x20'+_0x3ec045[_0xbbff4c(0x12e)]));;},exports[a175_0x1fddae(0xf1)]=(_0x5f002b='',_0x519692='')=>{const _0x2c4764=a175_0x1fddae,_0x13a29b={'sHMGE':function(_0xf42a77){return _0xf42a77();},'rnXGf':function(_0x491add,_0x4e2bb7){return _0x491add===_0x4e2bb7;},'WPmvk':'uploadEventData','oDggu':_0x2c4764(0xc0),'NgCGw':'CBTSessionCreated','PtjEH':function(_0x5340fa){return _0x5340fa();},'HROKN':_0x2c4764(0xe9),'hYoZA':_0x2c4764(0xe2)};if(exports[_0x2c4764(0x156)]()&&!exports['isAccessibilityEnabled']()&&!_0x13a29b[_0x2c4764(0x183)](isTestObservabilitySession)){if(_0x13a29b[_0x2c4764(0x10d)](_0x519692,_0x13a29b['WPmvk']))return![];if([_0x13a29b['oDggu'],_0x13a29b[_0x2c4764(0x16e)]][_0x2c4764(0x170)](_0x5f002b))return![];return!![];}if(exports[_0x2c4764(0x112)]()&&!_0x13a29b[_0x2c4764(0xae)](isTestObservabilitySession)){if([_0x13a29b[_0x2c4764(0x13c)],_0x13a29b[_0x2c4764(0xb4)],_0x13a29b['oDggu']][_0x2c4764(0x170)](_0x5f002b))return![];return!![];}return exports[_0x2c4764(0x112)]()||_0x13a29b[_0x2c4764(0x183)](isTestObservabilitySession)||exports[_0x2c4764(0x156)]();},exports[a175_0x1fddae(0x148)]=(_0x2f636a,_0xedee,_0x5d7368='',_0x312523)=>{const _0x1ccacd=a175_0x1fddae,_0x475ff={'RsOvr':'HookRunStarted','VVWfG':_0x1ccacd(0xe2),'BGVFq':function(_0x34b5f0,_0x33b6b3){return _0x34b5f0===_0x33b6b3;},'fkEMv':_0x1ccacd(0x14d),'ERCBo':_0x1ccacd(0x109),'miNjf':_0x1ccacd(0x141),'gxTya':function(_0x2a1f97,_0x3ef5ee){return _0x2a1f97&&_0x3ef5ee;},'rwQFB':function(_0x14fd23,_0x446de5){return _0x14fd23+_0x446de5;},'JXmle':function(_0x3e81c2,_0x582558){return _0x3e81c2&&_0x582558;},'wjgvW':function(_0x4d3e1d,_0x119897){return _0x4d3e1d===_0x119897;},'lGSKL':function(_0x1f051c,_0xfe39f6){return _0x1f051c(_0xfe39f6);},'ixrEE':'../../bin/jasmine/testRunMap.js','PiMlU':function(_0x3eb22b,_0x5df5f4){return _0x3eb22b&&_0x5df5f4;},'Oxzse':function(_0x2c5d7e,_0x32906f){return _0x2c5d7e===_0x32906f;},'fntNm':function(_0x558039,_0x471948){return _0x558039!==_0x471948;},'ewSQc':_0x1ccacd(0xf6),'KPisk':_0x1ccacd(0x118)};if([_0x475ff[_0x1ccacd(0x14a)],_0x475ff[_0x1ccacd(0x125)]]['includes'](_0xedee))return;let _0x31cd4a={};try{process[_0x1ccacd(0xb8)][_0x1ccacd(0xd6)]&&(_0x31cd4a=JSON['parse'](process[_0x1ccacd(0xb8)][_0x1ccacd(0xd6)])||{});}catch(_0x4a64b4){logger['debug'](_0x1ccacd(0x151)+_0x4a64b4),_0x31cd4a={};}if(exports[_0x1ccacd(0x112)]()){if(_0x475ff[_0x1ccacd(0x145)](_0x312523,FRAMEWORKS[_0x1ccacd(0xf9)])){const _0x45ab99=globals[_0x1ccacd(0x12b)](_0x475ff[_0x1ccacd(0x11a)])||accessibilityHelper[_0x1ccacd(0xdd)](_0x5d7368[_0x1ccacd(0xda)](),!![]),_0x123795=globals['getGlobal'](_0x475ff[_0x1ccacd(0x149)]);_0x31cd4a[_0x475ff[_0x1ccacd(0xf8)]]=_0x475ff[_0x1ccacd(0x100)](_0x123795,_0x45ab99);}if(_0x475ff[_0x1ccacd(0x145)](_0x312523,FRAMEWORKS[_0x1ccacd(0x11d)])){const _0x2315fe=_0x475ff['rwQFB'](_0x475ff[_0x1ccacd(0x13d)](_0x2f636a[_0x1ccacd(0x154)][_0x1ccacd(0xb5)]('\x20'),'\x20'),_0x5d7368['name']),_0x454a20=globals[_0x1ccacd(0x12b)](_0x475ff['fkEMv'])||accessibilityHelper[_0x1ccacd(0xdd)](_0x2315fe,![]),_0x2118d5=browserStackGlobals[_0x1ccacd(0x109)];_0x31cd4a[_0x475ff[_0x1ccacd(0xf8)]]=_0x475ff[_0x1ccacd(0x10e)](_0x2118d5,_0x454a20);}if(_0x475ff[_0x1ccacd(0x120)](_0x312523,FRAMEWORKS[_0x1ccacd(0x164)])){const _0x187c38=_0x475ff[_0x1ccacd(0x161)](require,_0x475ff[_0x1ccacd(0x162)]),_0x40efa7=_0x5d7368&&_0x187c38[_0x1ccacd(0x178)](_0x5d7368['id'])||_0x2f636a[_0x1ccacd(0x146)];_0x40efa7&&(_0x2f636a[_0x1ccacd(0x146)]=_0x40efa7);const _0x169714=_0x475ff[_0x1ccacd(0x13d)](_0x475ff['rwQFB'](_0x2f636a[_0x1ccacd(0x154)]['join']('\x20'),'\x20'),_0x5d7368[_0x1ccacd(0x17e)]||_0x2f636a[_0x1ccacd(0xb0)]),_0x191e99=globals[_0x1ccacd(0x12b)](_0x475ff['fkEMv'])||accessibilityHelper[_0x1ccacd(0xdd)](_0x169714,![]),_0x392889=globals[_0x1ccacd(0x12b)](_0x475ff[_0x1ccacd(0x149)]);_0x31cd4a[_0x475ff[_0x1ccacd(0xf8)]]=_0x475ff[_0x1ccacd(0x16b)](_0x392889,_0x191e99);}_0x475ff[_0x1ccacd(0xf5)](_0x312523,FRAMEWORKS[_0x1ccacd(0x110)])&&_0x475ff['fntNm'](_0xedee,_0x475ff['ewSQc'])&&(_0x31cd4a[_0x475ff[_0x1ccacd(0xf8)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x2f636a['uuid']));if(_0x475ff[_0x1ccacd(0x120)](_0x312523,FRAMEWORKS[_0x1ccacd(0xd7)])){const _0x1825d6=accessibilityHelper[_0x1ccacd(0xdd)](_0x5d7368[_0x1ccacd(0xda)](),!![]),_0x521ba7=global[_0x1ccacd(0xfe)];_0x31cd4a[_0x475ff[_0x1ccacd(0xf8)]]=_0x475ff[_0x1ccacd(0x10e)](_0x521ba7,_0x1825d6);}if(_0x475ff[_0x1ccacd(0x120)](_0x312523,FRAMEWORKS[_0x1ccacd(0x10a)])){const _0x46449a=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x2f636a[_0x1ccacd(0xdf)]),_0x407b50=globals[_0x1ccacd(0x12b)](_0x475ff[_0x1ccacd(0x149)]);_0x31cd4a[_0x475ff[_0x1ccacd(0xf8)]]=_0x475ff['JXmle'](_0x407b50,_0x46449a);}}_0x2f636a[_0x475ff[_0x1ccacd(0x11c)]]=_0x31cd4a;},exports[a175_0x1fddae(0x158)]=_0x27079c=>{const _0x1b56ec=a175_0x1fddae,_0x6f2811={};_0x6f2811[_0x1b56ec(0x13e)]=function(_0x1c1538,_0xd7318c){return _0x1c1538>_0xd7318c;},_0x6f2811[_0x1b56ec(0xf2)]=function(_0x3e0253,_0x471084){return _0x3e0253>_0x471084;};const _0x31241f=_0x6f2811;let _0x4b8c29={};if(_0x31241f['GLKPA'](Object[_0x1b56ec(0x182)](testData)[_0x1b56ec(0x174)],0x0))return testData;_0x4b8c29=JestTestDetails[_0x1b56ec(0x107)]();if(_0x31241f[_0x1b56ec(0xf2)](Object[_0x1b56ec(0x182)](_0x4b8c29)[_0x1b56ec(0x174)],0x0))return _0x4b8c29;return _0x4b8c29;},exports[a175_0x1fddae(0xbc)]=(_0x66105a,_0x47b56a={})=>{const _0x511480=a175_0x1fddae;if(bsSetupHelper[_0x511480(0xe6)](_0x47b56a[_0x511480(0x106)]))return;switch(_0x66105a){case FRAMEWORKS[_0x511480(0xf9)]:testData=_0x47b56a['test_run'];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x511480(0x126)](_0x47b56a[_0x511480(0x106)]);break;case FRAMEWORKS[_0x511480(0x164)]:testData=_0x47b56a['test_run'];break;default:break;}},exports[a175_0x1fddae(0xd0)]=_0x32ce16=>{const _0x4aca87=a175_0x1fddae,_0x75d31e={};_0x75d31e[_0x4aca87(0xe0)]=function(_0x307d86,_0x5d1751){return _0x307d86!==_0x5d1751;},_0x75d31e['XQcVN']=function(_0x25c766,_0x5c9c29){return _0x25c766!==_0x5c9c29;},_0x75d31e[_0x4aca87(0xe4)]=function(_0x4f5253,_0xfbf362){return _0x4f5253!==_0xfbf362;},_0x75d31e['gnDuz']=function(_0x433b05,_0x16d140){return _0x433b05!==_0x16d140;};const _0x705f30=_0x75d31e;if(_0x705f30[_0x4aca87(0xe0)](_0x32ce16[_0x4aca87(0x141)],null)&&_0x705f30[_0x4aca87(0x124)](_0x32ce16[_0x4aca87(0x141)],undefined))return _0x32ce16[_0x4aca87(0x141)];let _0x43bc12=![],_0x51fba2=![];if(_0x32ce16[_0x4aca87(0x129)])for(const _0x6309e8 of _0x32ce16['platforms']){_0x705f30[_0x4aca87(0xe4)](_0x6309e8[_0x4aca87(0x141)],null)&&_0x705f30[_0x4aca87(0x13b)](_0x6309e8[_0x4aca87(0x141)],undefined)&&(_0x43bc12=_0x43bc12||bsSetupHelper['isTrue'](_0x6309e8[_0x4aca87(0x141)]),_0x51fba2=!![]);}if(_0x51fba2)return _0x43bc12;return null;},exports[a175_0x1fddae(0xc2)]=_0x3a5ed5=>{const _0xc7674d=a175_0x1fddae;if(!_0x3a5ed5)return{};const _0x5afa7e=new OrchestrationUtils(_0x3a5ed5);return _0x5afa7e[_0xc7674d(0xd8)]();},exports[a175_0x1fddae(0x101)]=_0x5ba18c=>{const _0x2b4b74=a175_0x1fddae,_0x166cca={'npisM':function(_0x473d8a){return _0x473d8a();},'FsRxa':function(_0x36515b,_0x31447b){return _0x36515b===_0x31447b;},'iYvFI':_0x2b4b74(0x10c)};let _0x5c9c51=![],_0x56a79d=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x2b4b74(0xcc)](_0x5ba18c))_0x56a79d=!![];else bsSetupHelper[_0x2b4b74(0xb9)]()&&(_0x5c9c51=!![]);return Object[_0x2b4b74(0xfa)]({'observability':_0x166cca[_0x2b4b74(0x134)](isTestObservabilitySession),'accessibility':exports[_0x2b4b74(0xd0)](_0x5ba18c),'percy':_0x5ba18c['percy']||![],'sr_automation':_0x166cca[_0x2b4b74(0xde)](process[_0x2b4b74(0xb8)]['BROWSERSTACK_SR_AUTOMATION'],_0x166cca[_0x2b4b74(0x12c)])||_0x5ba18c[_0x2b4b74(0x10b)]||![],'automate':_0x5c9c51,'app_automate':_0x56a79d,'turboscale':bsSetupHelper[_0x2b4b74(0x11b)](_0x5ba18c),'lts':LoadTestModule['isLTSSession'](_0x5ba18c)},bsSetupHelper['getCentralUser']());};const normalizeTestPlanId=_0x4460d9=>{const _0x4d342c=a175_0x1fddae,_0x87708a={};_0x87708a[_0x4d342c(0x12f)]=function(_0x3b8002,_0x5e3941){return _0x3b8002!==_0x5e3941;},_0x87708a[_0x4d342c(0x167)]=_0x4d342c(0x168),_0x87708a['JtzEy']=function(_0x182492,_0x5751e7){return _0x182492>_0x5751e7;};const _0x43d42f=_0x87708a;if(_0x43d42f['goDLA'](typeof _0x4460d9,_0x43d42f[_0x4d342c(0x167)]))return undefined;const _0x2a2685=_0x4460d9['trim']();return _0x43d42f[_0x4d342c(0x10f)](_0x2a2685[_0x4d342c(0x174)],0x0)?_0x2a2685:undefined;},readTestPlanIdFromCliArgs=(_0x2d1e74=process[a175_0x1fddae(0xa8)])=>{const _0x4feef5=a175_0x1fddae,_0x4d88a6={};_0x4d88a6[_0x4feef5(0x166)]=function(_0x56e006,_0x29d94e){return _0x56e006<_0x29d94e;},_0x4d88a6[_0x4feef5(0xab)]=function(_0x42fab1,_0xdeb88){return _0x42fab1===_0xdeb88;},_0x4d88a6[_0x4feef5(0x144)]=function(_0x272295,_0x268381){return _0x272295+_0x268381;};const _0x1c0d28=_0x4d88a6,_0x22942e='--'+testHubConstants['TEST_MANAGEMENT_TEST_PLAN_ID_ARG'];for(let _0x16c428=0x0;_0x1c0d28[_0x4feef5(0x166)](_0x16c428,_0x2d1e74[_0x4feef5(0x174)]);_0x16c428+=0x1){const _0x1593bd=_0x2d1e74[_0x16c428];if(_0x1c0d28[_0x4feef5(0xab)](_0x1593bd,_0x22942e)){const _0x1e3f0a=_0x2d1e74[_0x1c0d28['LrvEz'](_0x16c428,0x1)];if(!_0x1e3f0a||_0x1e3f0a['startsWith']('--'))return undefined;return _0x1e3f0a;}if(_0x1593bd[_0x4feef5(0xd1)](_0x22942e+'='))return _0x1593bd[_0x4feef5(0x175)](_0x1c0d28[_0x4feef5(0x144)](_0x22942e[_0x4feef5(0x174)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x41af73={})=>{const _0x408f38=a175_0x1fddae,_0x11b889={'XQroC':function(_0x313944,_0x27ea2c){return _0x313944(_0x27ea2c);}};return _0x11b889[_0x408f38(0xfc)](normalizeTestPlanId,_0x41af73&&_0x41af73[_0x408f38(0x15d)]&&_0x41af73['testManagementOptions']['testPlanId']);};exports[a175_0x1fddae(0xaa)]=(_0x38af04={},_0x1ca846=process[a175_0x1fddae(0xa8)],_0x154868=process[a175_0x1fddae(0xb8)])=>{const _0x571aeb=a175_0x1fddae,_0x11395b={'Bbggw':function(_0x3dc222,_0x544708){return _0x3dc222(_0x544708);},'eObCH':function(_0x4bfb7f,_0x11ad30){return _0x4bfb7f(_0x11ad30);},'mreZX':function(_0x2f43c8,_0x44f0b0){return _0x2f43c8(_0x44f0b0);}};try{const _0x3e89bb=_0x11395b[_0x571aeb(0x150)](normalizeTestPlanId,_0x11395b[_0x571aeb(0xcd)](readTestPlanIdFromCliArgs,_0x1ca846));if(_0x3e89bb)return _0x3e89bb;const _0x352620=_0x11395b[_0x571aeb(0x14e)](normalizeTestPlanId,_0x154868&&_0x154868[testHubConstants[_0x571aeb(0xfb)][_0x571aeb(0xbe)]]);if(_0x352620)return _0x352620;return _0x11395b['mreZX'](readTestPlanIdFromConfig,_0x38af04);}catch(_0x40ea53){return logger['debug'](_0x571aeb(0x159)+(_0x40ea53&&_0x40ea53[_0x571aeb(0xf0)]?_0x40ea53[_0x571aeb(0xf0)]:_0x40ea53)),undefined;}};
|
|
1
|
+
function a175_0x4cc4(){const _0x52ab73=['MOCHA','checkAccessibilityPlatformConfig','BS_TESTOPS_BUILD_COMPLETED','getGlobal','getTestOrchestrationBuildStartData','parseA11yJwtPayload','6540795bxFHfu','../helper.js','null','scripts','TEST_REPORTING_ANALYTICS','parse','BROWSERSTACK_PERCY','commandsToWrap','CcGce','JxXZJ','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','test_run','keys','nonBStackInfraA11yChromeOptions','WpbAK','GckHM','isLTSSession','acJwc','bCewG','accessibility','isUndefined','error','rXRXm','SiBfD','testPlanId','../logger','getCurrentTestData','isAccessibilityEnabled','get','INVALID_CREDENTIALS','VGnYo','HookRunFinished','IYTBw','toJson','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','doSgZ','vidqC','isTrue','../test-orchestration/orchestrationUtils.js','getAccessibilityPlatformValidation','password','sEGNk','Rqyub','observability','YBSoC','slice','JASMINE','2789892xWgami','FRAMEWORK_DETAILS','BS_TESTOPS_ALLOW_SCREENSHOTS','vReds','testManagementOptions','isBrowserstackInfra','command','CtJbp','22646063KaJNGw','../../bin/playwright/reporter/test-details.js','../ats/helper','BROWSERSTACK_TESTHUB_JWT','\x20Build\x20creation\x20failed','setPercyFlag','scopes','kMfUt','vyhey','capabilities','getBuildStartData','BS_TESTOPS_BUILD_HASHED_ID','EFxMn','wzkgs','rJxhe',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','DMNme','8rkXcgG','includes','113818lOqpFR','setTestData','3409ZAqNxm','../../bin/utils/constants.js','TtMKU','env','KbzKy','CBTSessionCreated','trim','../test-observability/constants.js','handleErrorForAccessibility','parseFromJson','startsWith','string','key','ENV_VAR','debug','../../bin/v2/modules/loadTestModule','sTTTt','getProductMapForBuildStartCall','lOimp','options','waXcC','javascript','BUMeV','NdCTI','8872OtQfbY','VYTDl','stringify','argv','ZslYB','etqje','GTAOU','getAccessibilityValueFromYml','XJobT','ULwAn','sROSC','shouldProcessEventForTesthub','config','BROWSERSTACK_TESTHUB_UUID','titlePath','EdlWe','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','NJWeT','ACGIM','DCvZl','getCentralUser','../test-observability/utils','isPercyBuild','length','uuid','wabAb','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','ApNhk','forEach','BS_TESTOPS_JWT','value','dVHuU','getTestPlanId','ACCESSIBILITY','getFrameworkDetails','JEST','split','PLAYWRIGHT','RzJIV','setAccessibilityVariables','../../bin/jest/test-observability/test-details.js','appendTesthubParams','goog:chromeOptions','./constants.js','handleErrorForObservability','aTazt','setCurrentTestData','percy','UnVqg','BS_A11Y_JWT','toString','JTNqP','kFPhf','hclbV','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','Ugahl','JZiTo','orTSp','jwt','ugjHQ','BROWSERSTACK_TEST_PLAN_ID','PIdOl','wZrfH','OBSERVABILITY','true','NdJcq','szutN','isRunning','name','ERROR','platforms','shouldScanTestForAccessibility','message','LogCreated','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','duIlk','../../bin/jasmine/testRunMap.js','false','success','iwwuT','mDUoS','CUCUMBER','ACCESS_DENIED','build_hashed_id','BROWSERSTACK_SR_AUTOMATION','0|3|2|1|4','toUpperCase','BOwLi','../accessibility-automation/helper','HhTKg','join','isTurboScaleSession','accessibilityPlatform','oExJc','qLnxk','Ufdfw','lDeCU','8324AinLvU','setTestObservabilityVariables','3|0|2|4|1|5','sr_automation','getAgentVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','commands','lxeYY','789FwMAfr','isAccessibilityPlatform','ikhTG','9QErems','getTestData','../globals.js','NbzPL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isAppAutomateSession','MmQvN','HookRunStarted','Yxaqe','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','BROWSERSTACK_PRODUCT_MAP','CREDENTIALS_FOR_CRASH_REPORTING','product_map','bstackA11yShouldScan','10059110lBASLy','logBuildError'];a175_0x4cc4=function(){return _0x52ab73;};return a175_0x4cc4();}const a175_0xb4448e=a175_0x54c5;(function(_0x132e6c,_0x1ca5bd){const _0x46e7ae=a175_0x54c5,_0x300056=_0x132e6c();while(!![]){try{const _0x29a327=parseInt(_0x46e7ae(0x277))/0x1*(-parseInt(_0x46e7ae(0x279))/0x2)+parseInt(_0x46e7ae(0x216))/0x3*(-parseInt(_0x46e7ae(0x20e))/0x4)+-parseInt(_0x46e7ae(0x22f))/0x5+-parseInt(_0x46e7ae(0x25e))/0x6+-parseInt(_0x46e7ae(0x27b))/0x7*(-parseInt(_0x46e7ae(0x293))/0x8)+parseInt(_0x46e7ae(0x219))/0x9*(parseInt(_0x46e7ae(0x227))/0xa)+parseInt(_0x46e7ae(0x266))/0xb;if(_0x29a327===_0x1ca5bd)break;else _0x300056['push'](_0x300056['shift']());}catch(_0x3e0b31){_0x300056['push'](_0x300056['shift']());}}}(a175_0x4cc4,0xca653));const bsSetupHelper=require('../helper'),LoadTestModule=require(a175_0xb4448e(0x28a)),{isTestObservabilitySession,getFrameworkVersion}=require(a175_0xb4448e(0x1c2)),accessibilityHelper=require(a175_0xb4448e(0x205)),logger=require(a175_0xb4448e(0x248))['winstonLogger'],{nestedKeyValue}=require(a175_0xb4448e(0x230)),scripts=require('../accessibility-automation/scripts.js'),globals=require(a175_0xb4448e(0x21b)),testHubConstants=require(a175_0xb4448e(0x1d8)),PWTestDetails=require(a175_0xb4448e(0x267)),JestTestDetails=require(a175_0xb4448e(0x1d5)),{FRAMEWORKS}=require(a175_0xb4448e(0x282)),{isTurboScaleSession}=require(a175_0xb4448e(0x268)),OrchestrationUtils=require(a175_0xb4448e(0x255)),constants=require(a175_0xb4448e(0x27c));function a175_0x54c5(_0x797c73,_0x5757af){const _0x4cc42f=a175_0x4cc4();return a175_0x54c5=function(_0x54c595,_0x26c401){_0x54c595=_0x54c595-0x1b7;let _0x3b09a7=_0x4cc42f[_0x54c595];return _0x3b09a7;},a175_0x54c5(_0x797c73,_0x5757af);}let testData={};exports['getProductMap']=_0x2fcaa4=>{const _0x4f09ea=a175_0xb4448e,_0xa5514={'YBSoC':function(_0x443536){return _0x443536();},'VpSoe':function(_0x5a519f,_0xcbd662){return _0x5a519f===_0xcbd662;},'waXcC':_0x4f09ea(0x1ed)};let _0x185ae5=![],_0x555c83=![];if(bsSetupHelper[_0x4f09ea(0x263)]()&&bsSetupHelper['isAppAutomateSession'](_0x2fcaa4))_0x555c83=!![];else bsSetupHelper[_0x4f09ea(0x263)]()&&(_0x185ae5=!![]);return Object['assign']({'observability':_0xa5514[_0x4f09ea(0x25b)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x2fcaa4),'percy':_0x2fcaa4[_0x4f09ea(0x1dc)]||![],'sr_automation':_0xa5514['VpSoe'](process[_0x4f09ea(0x27e)][_0x4f09ea(0x201)],_0xa5514[_0x4f09ea(0x28f)])||_0x2fcaa4[_0x4f09ea(0x211)]||![],'automate':_0x185ae5,'app_automate':_0x555c83,'turboscale':bsSetupHelper[_0x4f09ea(0x208)](_0x2fcaa4),'lts':LoadTestModule[_0x4f09ea(0x23f)](_0x2fcaa4)},bsSetupHelper[_0x4f09ea(0x1c1)]());},exports[a175_0xb4448e(0x1cf)]=(_0x47ac78,_0x1b1e42)=>{const _0x5e1a09=a175_0xb4448e,_0xcafa75={'ACGIM':function(_0x1335bb,_0x41cf6f){return _0x1335bb(_0x41cf6f);},'sTTTt':_0x5e1a09(0x290)},_0x583e7c={'frameworkName':_0x1b1e42,'frameworkVersion':_0xcafa75[_0x5e1a09(0x1bf)](getFrameworkVersion,_0x1b1e42),'sdkVersion':bsSetupHelper[_0x5e1a09(0x212)](),'language':_0xcafa75[_0x5e1a09(0x28b)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x47ac78,_0x1b1e42)};return process[_0x5e1a09(0x27e)][_0x5e1a09(0x25f)]=JSON['stringify'](_0x583e7c),_0x583e7c;},exports[a175_0xb4448e(0x26b)]=_0x1fc470=>{const _0xb4e41a=a175_0xb4448e,_0x474097={};_0x474097[_0xb4e41a(0x26e)]=_0xb4e41a(0x1fa),_0x474097[_0xb4e41a(0x241)]=_0xb4e41a(0x1ed);const _0x55bcb5=_0x474097;process[_0xb4e41a(0x27e)][_0xb4e41a(0x235)]=_0x55bcb5['vyhey'],bsSetupHelper[_0xb4e41a(0x254)](_0x1fc470[_0xb4e41a(0x1b9)]['percy'])&&(!_0x1fc470[_0xb4e41a(0x1dc)]||!_0x1fc470[_0xb4e41a(0x1dc)][_0xb4e41a(0x1f0)]())&&(process[_0xb4e41a(0x27e)][_0xb4e41a(0x235)]=_0x55bcb5[_0xb4e41a(0x241)]);},exports[a175_0xb4448e(0x1c3)]=()=>{const _0x18cd8f=a175_0xb4448e;return bsSetupHelper[_0x18cd8f(0x254)](process[_0x18cd8f(0x27e)][_0x18cd8f(0x235)]);},exports[a175_0xb4448e(0x24a)]=(_0x1c9ee9={})=>{const _0x5eb80c=a175_0xb4448e,_0x592567={};_0x592567[_0x5eb80c(0x276)]=function(_0x503294,_0x3c6580){return _0x503294!==_0x3c6580;},_0x592567[_0x5eb80c(0x1e1)]=function(_0x89f021,_0x3b5ed0){return _0x89f021===_0x3b5ed0;},_0x592567[_0x5eb80c(0x1eb)]=_0x5eb80c(0x1ed),_0x592567[_0x5eb80c(0x238)]=function(_0x134349,_0x553ee6){return _0x134349>_0x553ee6;};const _0x5b64d0=_0x592567;if(_0x5b64d0[_0x5eb80c(0x276)](process['env']['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x5eb80c(0x254)](process[_0x5eb80c(0x27e)]['BROWSERSTACK_ACCESSIBILITY']);let _0x5c87b9=_0x5b64d0[_0x5eb80c(0x1e1)](process[_0x5eb80c(0x27e)][_0x5eb80c(0x21d)],_0x5b64d0[_0x5eb80c(0x1eb)]);return _0x5b64d0[_0x5eb80c(0x238)](Object[_0x5eb80c(0x23b)](_0x1c9ee9)[_0x5eb80c(0x1c4)],0x0)&&(process[_0x5eb80c(0x27e)][_0x5eb80c(0x1f7)]=accessibilityHelper[_0x5eb80c(0x22a)](_0x1c9ee9)),_0x5c87b9=_0x5c87b9||_0x5b64d0[_0x5eb80c(0x1e1)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x5b64d0[_0x5eb80c(0x1eb)]),_0x5c87b9;},exports[a175_0xb4448e(0x20f)]=(_0x4ff74c,_0x35ddc5)=>{const _0x2508ca=a175_0xb4448e,_0x12a5a2={'SiBfD':function(_0x2185ea){return _0x2185ea();},'lxeYY':_0x2508ca(0x210),'BqUAm':'true','NdJcq':function(_0x1a1eec,_0x49d14d,_0x36ec86){return _0x1a1eec(_0x49d14d,_0x36ec86);},'lOimp':_0x2508ca(0x25a),'acJwc':_0x2508ca(0x28e)};if(!_0x4ff74c||!_0x4ff74c[_0x2508ca(0x25a)])return exports[_0x2508ca(0x1d9)](),[null,null,null];if(!_0x4ff74c[_0x2508ca(0x25a)][_0x2508ca(0x1fb)])return exports[_0x2508ca(0x1d9)](_0x4ff74c['observability']),[null,null,null];if(_0x12a5a2[_0x2508ca(0x246)](isTestObservabilitySession)){const _0x4c32c2=_0x12a5a2[_0x2508ca(0x215)][_0x2508ca(0x1d1)]('|');let _0x3b34bf=0x0;while(!![]){switch(_0x4c32c2[_0x3b34bf++]){case'0':if(_0x4ff74c[_0x2508ca(0x1e7)]){process['env'][_0x2508ca(0x1ca)]=_0x4ff74c[_0x2508ca(0x1e7)];const _0x2d755a={};_0x2d755a['username']=_0x35ddc5['username'],_0x2d755a['password']=_0x35ddc5[_0x2508ca(0x257)],process[_0x2508ca(0x27e)][_0x2508ca(0x224)]=JSON['stringify'](_0x2d755a);}continue;case'1':logger['debug']('['+constants[_0x2508ca(0x233)]+_0x2508ca(0x275)+_0x4ff74c[_0x2508ca(0x200)]);continue;case'2':_0x4ff74c[_0x2508ca(0x200)]&&(process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x4ff74c['build_hashed_id']);continue;case'3':process[_0x2508ca(0x27e)][_0x2508ca(0x22b)]=_0x12a5a2['BqUAm'];continue;case'4':_0x12a5a2[_0x2508ca(0x1ee)](nestedKeyValue,_0x4ff74c,[_0x12a5a2[_0x2508ca(0x28d)],_0x12a5a2[_0x2508ca(0x240)]])&&(process[_0x2508ca(0x27e)][_0x2508ca(0x260)]=_0x4ff74c[_0x2508ca(0x25a)][_0x2508ca(0x28e)]['allow_screenshots'][_0x2508ca(0x1df)]());continue;case'5':return[_0x4ff74c[_0x2508ca(0x1e7)],_0x4ff74c[_0x2508ca(0x200)],process[_0x2508ca(0x27e)][_0x2508ca(0x260)]];}break;}}return[null,null,null];},exports[a175_0xb4448e(0x1d4)]=_0x4a50b9=>{const _0x5e6133=a175_0xb4448e,_0x2adbea={'wabAb':function(_0x4c99df,_0x444ae5,_0x822dda){return _0x4c99df(_0x444ae5,_0x822dda);},'rXRXm':'accessibility','wzkgs':_0x5e6133(0x28e),'GCcyx':function(_0x4a7f82,_0x5f4390,_0x2ef11c,_0x28c346){return _0x4a7f82(_0x5f4390,_0x2ef11c,_0x28c346);},'dVHuU':_0x5e6133(0x1f1),'NdCTI':_0x5e6133(0x1cb),'rJxhe':function(_0x30b85e,_0x118080,_0x110d0b,_0x32639c){return _0x30b85e(_0x118080,_0x110d0b,_0x32639c);},'EdlWe':_0x5e6133(0x264),'ikhTG':_0x5e6133(0x214),'Yxaqe':function(_0x255dac,_0x2bd933,_0x55ba20,_0x10be20){return _0x255dac(_0x2bd933,_0x55ba20,_0x10be20);},'pyyxH':_0x5e6133(0x23c),'huLPJ':_0x5e6133(0x1d7),'vidqC':function(_0x5a826c,_0x38e0ee){return _0x5a826c(_0x38e0ee);},'ATVaB':function(_0x28690b,_0x4db983){return _0x28690b===_0x4db983;},'VGnYo':function(_0x411ddb,_0x1482d5){return _0x411ddb===_0x1482d5;},'sEGNk':'true','Ufdfw':_0x5e6133(0x1bd)};if(!_0x4a50b9[_0x5e6133(0x242)])return exports[_0x5e6133(0x283)](),[null,null];if(!_0x4a50b9[_0x5e6133(0x242)][_0x5e6133(0x1fb)])return exports['handleErrorForAccessibility'](_0x4a50b9[_0x5e6133(0x242)]),[null,null];if(_0x2adbea[_0x5e6133(0x1c6)](nestedKeyValue,_0x4a50b9,[_0x2adbea[_0x5e6133(0x245)],_0x2adbea[_0x5e6133(0x273)]])){const {accessibilityToken:_0x4444bd,scannerVersion:_0x4ac983,scannerProcessingTimeout:_0x14bc76,isMobileScanningEnabledForGroup:_0xce98af}=_0x2adbea['GCcyx'](jsonifyAccessibilityArray,_0x4a50b9[_0x5e6133(0x242)][_0x5e6133(0x28e)]['capabilities'],_0x2adbea['dVHuU'],_0x2adbea['NdCTI']),_0x21d22a={'scripts':_0x2adbea[_0x5e6133(0x274)](jsonifyAccessibilityArray,_0x4a50b9[_0x5e6133(0x242)][_0x5e6133(0x28e)][_0x5e6133(0x232)],_0x2adbea['dVHuU'],_0x2adbea[_0x5e6133(0x1bc)])};_0x21d22a[_0x2adbea[_0x5e6133(0x218)]]=_0x4a50b9[_0x5e6133(0x242)][_0x5e6133(0x28e)][_0x5e6133(0x236)]['commands'];const _0x20622a=_0x2adbea[_0x5e6133(0x221)](jsonifyAccessibilityArray,_0x4a50b9[_0x5e6133(0x242)][_0x5e6133(0x28e)][_0x5e6133(0x26f)],_0x2adbea[_0x5e6133(0x1cc)],_0x2adbea[_0x5e6133(0x292)]);_0x21d22a[_0x2adbea['pyyxH']]=_0x20622a[_0x2adbea['huLPJ']],scripts[_0x5e6133(0x284)](_0x21d22a),scripts[_0x5e6133(0x250)]();let _0x4ba8c0=process[_0x5e6133(0x27e)][_0x5e6133(0x213)];_0x4ba8c0=!!_0x4ba8c0?JSON[_0x5e6133(0x234)](_0x4ba8c0):{},_0x4ba8c0['scannerVersion']=_0x4ac983,process['env'][_0x5e6133(0x213)]=JSON[_0x5e6133(0x295)](_0x4ba8c0),process[_0x5e6133(0x27e)][_0x5e6133(0x1de)]=_0x4444bd,process[_0x5e6133(0x27e)][_0x5e6133(0x222)]=_0x2adbea[_0x5e6133(0x253)](String,_0x2adbea['ATVaB'](_0xce98af,!![])||_0x2adbea[_0x5e6133(0x24d)](_0xce98af,_0x2adbea[_0x5e6133(0x258)])),logger['debug'](_0x5e6133(0x239)+_0x4a50b9['build_hashed_id']);const _0x23ef32=accessibilityHelper[_0x5e6133(0x22e)](_0x4444bd);return _0x23ef32&&bsSetupHelper[_0x5e6133(0x254)](_0x23ef32['skipCDPConnectOverride'])&&(process[_0x5e6133(0x27e)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger['debug'](_0x2adbea[_0x5e6133(0x20c)])),[_0x4444bd,_0x4a50b9['build_hashed_id'],_0x14bc76];}return[null,null];},exports[a175_0xb4448e(0x1d9)]=_0x32af84=>{const _0x3a96b3=a175_0xb4448e,_0x21338c={};_0x21338c['enBfr']='3|1|4|2|5|6|0',_0x21338c['UnVqg']='null',_0x21338c[_0x3a96b3(0x20d)]=_0x3a96b3(0x1fa);const _0x3df742=_0x21338c,_0x1e41bf=_0x3df742['enBfr']['split']('|');let _0x37ced7=0x0;while(!![]){switch(_0x1e41bf[_0x37ced7++]){case'0':exports[_0x3a96b3(0x228)](_0x32af84,testHubConstants[_0x3a96b3(0x1ec)]);continue;case'1':process[_0x3a96b3(0x27e)][_0x3a96b3(0x269)]=_0x3df742['UnVqg'];continue;case'2':process[_0x3a96b3(0x27e)][_0x3a96b3(0x1ca)]=_0x3df742[_0x3a96b3(0x1dd)];continue;case'3':process[_0x3a96b3(0x27e)][_0x3a96b3(0x1ba)]=_0x3df742[_0x3a96b3(0x1dd)];continue;case'4':process[_0x3a96b3(0x27e)][_0x3a96b3(0x22b)]=_0x3df742[_0x3a96b3(0x20d)];continue;case'5':process['env'][_0x3a96b3(0x271)]=_0x3df742['UnVqg'];continue;case'6':process[_0x3a96b3(0x27e)][_0x3a96b3(0x260)]=_0x3df742['UnVqg'];continue;}break;}},exports[a175_0xb4448e(0x283)]=_0x4d21d8=>{const _0x13bfe7=a175_0xb4448e,_0x3919ed={};_0x3919ed[_0x13bfe7(0x20a)]=_0x13bfe7(0x202),_0x3919ed[_0x13bfe7(0x29b)]=_0x13bfe7(0x231),_0x3919ed[_0x13bfe7(0x23e)]='false';const _0x6a7759=_0x3919ed,_0x21626f=_0x6a7759['oExJc'][_0x13bfe7(0x1d1)]('|');let _0x3468d8=0x0;while(!![]){switch(_0x21626f[_0x3468d8++]){case'0':process[_0x13bfe7(0x27e)][_0x13bfe7(0x1ba)]=_0x6a7759[_0x13bfe7(0x29b)];continue;case'1':process[_0x13bfe7(0x27e)][_0x13bfe7(0x1f7)]=_0x6a7759[_0x13bfe7(0x23e)];continue;case'2':process[_0x13bfe7(0x27e)][_0x13bfe7(0x21d)]=_0x6a7759[_0x13bfe7(0x23e)];continue;case'3':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x6a7759[_0x13bfe7(0x29b)];continue;case'4':exports['logBuildError'](_0x4d21d8,testHubConstants[_0x13bfe7(0x1ce)]);continue;}break;}},exports[a175_0xb4448e(0x228)]=(_0x42a706,_0x418b6a='')=>{const _0x594456=a175_0xb4448e,_0x2fffa1={};_0x2fffa1[_0x594456(0x1da)]=function(_0x2268e6,_0x5b987f){return _0x2268e6===_0x5b987f;};const _0x12a848=_0x2fffa1;if(_0x12a848[_0x594456(0x1da)](_0x42a706,undefined)){logger[_0x594456(0x244)](_0x418b6a[_0x594456(0x203)]()+_0x594456(0x26a));return;}for(const _0xd7b70b of _0x42a706['errors']){const _0x562656=_0xd7b70b[_0x594456(0x287)],_0xa907b=_0xd7b70b[_0x594456(0x1f5)];if(_0xa907b)switch(_0x562656){case testHubConstants[_0x594456(0x1f2)][_0x594456(0x24c)]:logger[_0x594456(0x244)](_0xa907b);break;case testHubConstants[_0x594456(0x1f2)][_0x594456(0x1ff)]:logger['info'](_0xa907b);break;case testHubConstants[_0x594456(0x1f2)]['DEPRECATED']:logger[_0x594456(0x244)](_0xa907b);break;default:logger[_0x594456(0x244)](_0xa907b);}}};const jsonifyAccessibilityArray=(_0x5abfd4,_0x539c49,_0x4bbecf)=>{const _0x24cf40=a175_0xb4448e,_0x50c69f={};return _0x5abfd4[_0x24cf40(0x1c9)](_0x3d615e=>{_0x50c69f[_0x3d615e[_0x539c49]]=_0x3d615e[_0x4bbecf];}),_0x50c69f;};exports['setTestHubCommonMetaInfo']=_0x448e21=>{const _0x44217d=a175_0xb4448e;_0x448e21[_0x44217d(0x1e7)]&&(process[_0x44217d(0x27e)]['BROWSERSTACK_TESTHUB_JWT']=_0x448e21[_0x44217d(0x1e7)]);_0x448e21[_0x44217d(0x200)]&&(process[_0x44217d(0x27e)][_0x44217d(0x1ba)]=_0x448e21['build_hashed_id'],logger[_0x44217d(0x289)]('BROWSERSTACK_TESTHUB_UUID:\x20'+_0x448e21[_0x44217d(0x200)]));;},exports[a175_0xb4448e(0x1b8)]=(_0xd6a5a3='',_0x3edbd1='')=>{const _0x4a257f=a175_0xb4448e,_0x3a897b={'BUMeV':function(_0x5e072d){return _0x5e072d();},'EFxMn':function(_0x238a6d,_0x4914fe){return _0x238a6d===_0x4914fe;},'hclbV':'uploadEventData','ugjHQ':_0x4a257f(0x1f6),'QgvyU':_0x4a257f(0x280),'JZiTo':'HookRunStarted','TtMKU':_0x4a257f(0x24e)};if(exports[_0x4a257f(0x1c3)]()&&!exports['isAccessibilityEnabled']()&&!_0x3a897b[_0x4a257f(0x291)](isTestObservabilitySession)){if(_0x3a897b[_0x4a257f(0x272)](_0x3edbd1,_0x3a897b[_0x4a257f(0x1e2)]))return![];if([_0x3a897b[_0x4a257f(0x1e8)],_0x3a897b['QgvyU']][_0x4a257f(0x278)](_0xd6a5a3))return![];return!![];}if(exports[_0x4a257f(0x24a)]()&&!_0x3a897b['BUMeV'](isTestObservabilitySession)){if([_0x3a897b[_0x4a257f(0x1e5)],_0x3a897b[_0x4a257f(0x27d)],_0x3a897b[_0x4a257f(0x1e8)]][_0x4a257f(0x278)](_0xd6a5a3))return![];return!![];}return exports[_0x4a257f(0x24a)]()||_0x3a897b['BUMeV'](isTestObservabilitySession)||exports[_0x4a257f(0x1c3)]();},exports[a175_0xb4448e(0x1d6)]=(_0x392c50,_0x5aed83,_0x4df707='',_0x72368)=>{const _0x47aac3=a175_0xb4448e,_0x5eaf0b={'GIguZ':_0x47aac3(0x220),'PIdOl':'HookRunFinished','vReds':function(_0x33acb8,_0x235034){return _0x33acb8===_0x235034;},'JTNqP':_0x47aac3(0x226),'sROSC':_0x47aac3(0x217),'CcGce':_0x47aac3(0x242),'qLnxk':function(_0x35ad9a,_0x51a172){return _0x35ad9a&&_0x51a172;},'szutN':function(_0x3a3e8a,_0x2843bd){return _0x3a3e8a+_0x2843bd;},'orTSp':function(_0x336adc,_0x9f9cbb){return _0x336adc(_0x9f9cbb);},'GTAOU':_0x47aac3(0x1f9),'MmQvN':function(_0x1698d2,_0x24da82){return _0x1698d2+_0x24da82;},'doSgZ':function(_0x3b856c,_0x4a2138){return _0x3b856c+_0x4a2138;},'GPggf':function(_0x4ea493,_0x461046){return _0x4ea493===_0x461046;},'iwwuT':function(_0x4efcf3,_0x107954){return _0x4efcf3!==_0x107954;},'duIlk':'TestRunStarted','ApNhk':function(_0x54cd83,_0x83ec04){return _0x54cd83===_0x83ec04;},'mDUoS':function(_0x2abfa2,_0x42affe){return _0x2abfa2===_0x42affe;},'ZslYB':_0x47aac3(0x225)};if([_0x5eaf0b['GIguZ'],_0x5eaf0b[_0x47aac3(0x1ea)]][_0x47aac3(0x278)](_0x5aed83))return;let _0x1eeda9={};try{process[_0x47aac3(0x27e)]['BROWSERSTACK_PRODUCT_MAP']&&(_0x1eeda9=JSON['parse'](process[_0x47aac3(0x27e)][_0x47aac3(0x223)])||{});}catch(_0x5befb1){logger[_0x47aac3(0x289)](_0x47aac3(0x1e3)+_0x5befb1),_0x1eeda9={};}if(exports[_0x47aac3(0x24a)]()){if(_0x5eaf0b[_0x47aac3(0x261)](_0x72368,FRAMEWORKS['MOCHA'])){const _0x2293a5=globals[_0x47aac3(0x22c)](_0x5eaf0b[_0x47aac3(0x1e0)])||accessibilityHelper[_0x47aac3(0x1f4)](_0x4df707[_0x47aac3(0x1bb)](),!![]),_0x50a8b4=globals[_0x47aac3(0x22c)](_0x5eaf0b[_0x47aac3(0x1b7)]);_0x1eeda9[_0x5eaf0b[_0x47aac3(0x237)]]=_0x5eaf0b['qLnxk'](_0x50a8b4,_0x2293a5);}if(_0x5eaf0b[_0x47aac3(0x261)](_0x72368,FRAMEWORKS['JEST'])){const _0x3166ab=_0x5eaf0b[_0x47aac3(0x1ef)](_0x5eaf0b['szutN'](_0x392c50[_0x47aac3(0x26c)][_0x47aac3(0x207)]('\x20'),'\x20'),_0x4df707[_0x47aac3(0x1f1)]),_0x4bef25=globals[_0x47aac3(0x22c)](_0x5eaf0b[_0x47aac3(0x1e0)])||accessibilityHelper[_0x47aac3(0x1f4)](_0x3166ab,![]),_0x342fbc=browserStackGlobals[_0x47aac3(0x217)];_0x1eeda9[_0x5eaf0b[_0x47aac3(0x237)]]=_0x5eaf0b[_0x47aac3(0x20b)](_0x342fbc,_0x4bef25);}if(_0x5eaf0b[_0x47aac3(0x261)](_0x72368,FRAMEWORKS[_0x47aac3(0x25d)])){const _0x33d811=_0x5eaf0b[_0x47aac3(0x1e6)](require,_0x5eaf0b[_0x47aac3(0x299)]),_0x3efffa=_0x4df707&&_0x33d811[_0x47aac3(0x24b)](_0x4df707['id'])||_0x392c50[_0x47aac3(0x1c5)];_0x3efffa&&(_0x392c50[_0x47aac3(0x1c5)]=_0x3efffa);const _0xbc103b=_0x5eaf0b[_0x47aac3(0x21f)](_0x5eaf0b[_0x47aac3(0x252)](_0x392c50[_0x47aac3(0x26c)][_0x47aac3(0x207)]('\x20'),'\x20'),_0x4df707['description']||_0x392c50['name']),_0x1456fa=globals['getGlobal'](_0x5eaf0b[_0x47aac3(0x1e0)])||accessibilityHelper[_0x47aac3(0x1f4)](_0xbc103b,![]),_0x3dbd0b=globals[_0x47aac3(0x22c)](_0x5eaf0b[_0x47aac3(0x1b7)]);_0x1eeda9[_0x5eaf0b[_0x47aac3(0x237)]]=_0x5eaf0b[_0x47aac3(0x20b)](_0x3dbd0b,_0x1456fa);}_0x5eaf0b['GPggf'](_0x72368,FRAMEWORKS[_0x47aac3(0x1d2)])&&_0x5eaf0b[_0x47aac3(0x1fc)](_0x5aed83,_0x5eaf0b[_0x47aac3(0x1f8)])&&(_0x1eeda9[_0x5eaf0b['CcGce']]=PWTestDetails[_0x47aac3(0x256)](_0x392c50['uuid']));if(_0x5eaf0b[_0x47aac3(0x1c8)](_0x72368,FRAMEWORKS['CODECEPT'])){const _0x47b0b6=accessibilityHelper[_0x47aac3(0x1f4)](_0x4df707[_0x47aac3(0x1bb)](),!![]),_0x54029e=global[_0x47aac3(0x209)];_0x1eeda9[_0x5eaf0b[_0x47aac3(0x237)]]=_0x5eaf0b[_0x47aac3(0x20b)](_0x54029e,_0x47b0b6);}if(_0x5eaf0b[_0x47aac3(0x1fd)](_0x72368,FRAMEWORKS[_0x47aac3(0x1fe)])){const _0x15316d=accessibilityHelper[_0x47aac3(0x1f4)](null,![],_0x392c50['tags']),_0x458579=globals['getGlobal'](_0x5eaf0b[_0x47aac3(0x1b7)]);_0x1eeda9[_0x5eaf0b[_0x47aac3(0x237)]]=_0x5eaf0b[_0x47aac3(0x20b)](_0x458579,_0x15316d);}}_0x392c50[_0x5eaf0b[_0x47aac3(0x297)]]=_0x1eeda9;},exports[a175_0xb4448e(0x249)]=_0x3a60a0=>{const _0x1f3ff2=a175_0xb4448e,_0x190304={};_0x190304['kMfUt']=function(_0x29622e,_0x25e612){return _0x29622e>_0x25e612;};const _0x58475b=_0x190304;let _0x151bd8={};if(_0x58475b['kMfUt'](Object['keys'](testData)[_0x1f3ff2(0x1c4)],0x0))return testData;_0x151bd8=JestTestDetails[_0x1f3ff2(0x21a)]();if(_0x58475b[_0x1f3ff2(0x26d)](Object[_0x1f3ff2(0x23b)](_0x151bd8)[_0x1f3ff2(0x1c4)],0x0))return _0x151bd8;return _0x151bd8;},exports[a175_0xb4448e(0x1db)]=(_0xb2d5ee,_0x51a502={})=>{const _0x2666eb=a175_0xb4448e;if(bsSetupHelper[_0x2666eb(0x243)](_0x51a502[_0x2666eb(0x23a)]))return;switch(_0xb2d5ee){case FRAMEWORKS[_0x2666eb(0x229)]:testData=_0x51a502[_0x2666eb(0x23a)];break;case FRAMEWORKS[_0x2666eb(0x1d0)]:JestTestDetails[_0x2666eb(0x27a)](_0x51a502[_0x2666eb(0x23a)]);break;case FRAMEWORKS[_0x2666eb(0x25d)]:testData=_0x51a502['test_run'];break;default:break;}},exports[a175_0xb4448e(0x29a)]=_0x530019=>{const _0x50c1b3=a175_0xb4448e,_0x5a69fb={};_0x5a69fb[_0x50c1b3(0x259)]=function(_0x2b1f67,_0x5ca5f4){return _0x2b1f67!==_0x5ca5f4;},_0x5a69fb[_0x50c1b3(0x1e4)]=function(_0x554750,_0x249994){return _0x554750!==_0x249994;},_0x5a69fb[_0x50c1b3(0x298)]=function(_0x5e804f,_0x4d0ee6){return _0x5e804f!==_0x4d0ee6;},_0x5a69fb[_0x50c1b3(0x23d)]=function(_0x2aac35,_0x280eb6){return _0x2aac35!==_0x280eb6;};const _0x4c53c7=_0x5a69fb;if(_0x4c53c7[_0x50c1b3(0x259)](_0x530019[_0x50c1b3(0x242)],null)&&_0x4c53c7[_0x50c1b3(0x1e4)](_0x530019['accessibility'],undefined))return _0x530019[_0x50c1b3(0x242)];let _0x3ae4c7=![],_0x1f4de6=![];if(_0x530019[_0x50c1b3(0x1f3)])for(const _0x334343 of _0x530019[_0x50c1b3(0x1f3)]){_0x4c53c7['etqje'](_0x334343['accessibility'],null)&&_0x4c53c7['WpbAK'](_0x334343[_0x50c1b3(0x242)],undefined)&&(_0x3ae4c7=_0x3ae4c7||bsSetupHelper[_0x50c1b3(0x254)](_0x334343['accessibility']),_0x1f4de6=!![]);}if(_0x1f4de6)return _0x3ae4c7;return null;},exports[a175_0xb4448e(0x22d)]=_0x5a50de=>{const _0x37fc7f=a175_0xb4448e;if(!_0x5a50de)return{};const _0x53b0f3=new OrchestrationUtils(_0x5a50de);return _0x53b0f3[_0x37fc7f(0x270)]();},exports[a175_0xb4448e(0x28c)]=_0x59b5c4=>{const _0x2eb832=a175_0xb4448e,_0x453b52={'HhTKg':function(_0x2f9750){return _0x2f9750();},'NbzPL':function(_0x39e335,_0x5a06e4){return _0x39e335===_0x5a06e4;},'xeBNT':'true'};let _0x1003ae=![],_0x301fef=![];if(bsSetupHelper[_0x2eb832(0x263)]()&&bsSetupHelper[_0x2eb832(0x21e)](_0x59b5c4))_0x301fef=!![];else bsSetupHelper[_0x2eb832(0x263)]()&&(_0x1003ae=!![]);return Object['assign']({'observability':_0x453b52[_0x2eb832(0x206)](isTestObservabilitySession),'accessibility':exports[_0x2eb832(0x29a)](_0x59b5c4),'percy':_0x59b5c4[_0x2eb832(0x1dc)]||![],'sr_automation':_0x453b52[_0x2eb832(0x21c)](process[_0x2eb832(0x27e)][_0x2eb832(0x201)],_0x453b52['xeBNT'])||_0x59b5c4[_0x2eb832(0x211)]||![],'automate':_0x1003ae,'app_automate':_0x301fef,'turboscale':bsSetupHelper[_0x2eb832(0x208)](_0x59b5c4),'lts':LoadTestModule['isLTSSession'](_0x59b5c4)},bsSetupHelper[_0x2eb832(0x1c1)]());};const normalizeTestPlanId=_0x10a0a6=>{const _0x34d725=a175_0xb4448e,_0x10c642={};_0x10c642[_0x34d725(0x29c)]=function(_0x133f77,_0x232fee){return _0x133f77!==_0x232fee;},_0x10c642[_0x34d725(0x1be)]=_0x34d725(0x286),_0x10c642[_0x34d725(0x1c0)]=function(_0x83182f,_0x11b830){return _0x83182f>_0x11b830;};const _0x20d378=_0x10c642;if(_0x20d378[_0x34d725(0x29c)](typeof _0x10a0a6,_0x20d378[_0x34d725(0x1be)]))return undefined;const _0x441105=_0x10a0a6[_0x34d725(0x281)]();return _0x20d378['DCvZl'](_0x441105[_0x34d725(0x1c4)],0x0)?_0x441105:undefined;},readTestPlanIdFromCliArgs=(_0x435efe=process[a175_0xb4448e(0x296)])=>{const _0x480009=a175_0xb4448e,_0x26e23b={};_0x26e23b['RzJIV']=function(_0x59f8c9,_0x295ee7){return _0x59f8c9<_0x295ee7;},_0x26e23b['gmLli']=function(_0x51baa4,_0xe9f9c1){return _0x51baa4===_0xe9f9c1;},_0x26e23b[_0x480009(0x294)]=function(_0x4ea1a3,_0x526c6d){return _0x4ea1a3+_0x526c6d;};const _0x2e53ba=_0x26e23b,_0x5a382a='--'+testHubConstants[_0x480009(0x251)];for(let _0x17c7b4=0x0;_0x2e53ba[_0x480009(0x1d3)](_0x17c7b4,_0x435efe[_0x480009(0x1c4)]);_0x17c7b4+=0x1){const _0x41aaa7=_0x435efe[_0x17c7b4];if(_0x2e53ba['gmLli'](_0x41aaa7,_0x5a382a)){const _0x4f15cd=_0x435efe[_0x2e53ba[_0x480009(0x294)](_0x17c7b4,0x1)];if(!_0x4f15cd||_0x4f15cd[_0x480009(0x285)]('--'))return undefined;return _0x4f15cd;}if(_0x41aaa7['startsWith'](_0x5a382a+'='))return _0x41aaa7[_0x480009(0x25c)](_0x2e53ba['VYTDl'](_0x5a382a[_0x480009(0x1c4)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x395aad={})=>{const _0x39ddbe=a175_0xb4448e,_0x3491fd={'CtJbp':function(_0x2abd89,_0x2a5d20){return _0x2abd89(_0x2a5d20);}};return _0x3491fd[_0x39ddbe(0x265)](normalizeTestPlanId,_0x395aad&&_0x395aad[_0x39ddbe(0x262)]&&_0x395aad[_0x39ddbe(0x262)][_0x39ddbe(0x247)]);};exports[a175_0xb4448e(0x1cd)]=(_0x37eac9={},_0x3daf33=process['argv'],_0x3285ae=process[a175_0xb4448e(0x27e)])=>{const _0x217a73=a175_0xb4448e,_0x11edd4={'BOwLi':function(_0x1d0c9b,_0x3d3941){return _0x1d0c9b(_0x3d3941);},'IYTBw':function(_0x2df93a,_0x501996){return _0x2df93a(_0x501996);},'KbzKy':function(_0x5f2d63,_0x306d10){return _0x5f2d63(_0x306d10);}};try{const _0x1139f4=_0x11edd4[_0x217a73(0x204)](normalizeTestPlanId,_0x11edd4[_0x217a73(0x24f)](readTestPlanIdFromCliArgs,_0x3daf33));if(_0x1139f4)return _0x1139f4;const _0x595de5=_0x11edd4[_0x217a73(0x204)](normalizeTestPlanId,_0x3285ae&&_0x3285ae[testHubConstants[_0x217a73(0x288)][_0x217a73(0x1e9)]]);if(_0x595de5)return _0x595de5;return _0x11edd4[_0x217a73(0x27f)](readTestPlanIdFromConfig,_0x37eac9);}catch(_0x2a9986){return logger[_0x217a73(0x289)](_0x217a73(0x1c7)+(_0x2a9986&&_0x2a9986[_0x217a73(0x1f5)]?_0x2a9986[_0x217a73(0x1f5)]:_0x2a9986)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a176_0x17dc(){const _0x47324d=['AUTOMATE_PRODUCTS','CHcAF','buildIdentifier','browser','push','422213GEaXLN','name','deviceName','VnOBl','join','buildName','forEach','content-type','jYrIZ','event_properties','_hubAllocationData','browserVersion','KSjjm','globalException','123065mjIZgV','isNullOrEmpty','accessSync','getFrameworkVersion','7917884PGtkTg','nYXAR','nodejs','undefined','tBjVw','format','POST','SDKTestSuccessful','bUjoo','isAppAutomateSession','getUserName','2703fUzTnT','[REDACTED]','config','GDLil','\x20:\x20','AUTOMATE','getOptimalHubUrl','sNnVv','7nkZIVh','60igIPBd','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','Directory\x20','tests','framework','assign','NzNAa','hostname','UjVic','2402397ORgpFj','DNkaT','ZSrIq','chmodSync','fireFunnelTestEvent','24ilwabz','pGWux','keys','unknown','browserStackConfig','all','length','../bin/utils/constants','source','./helper','parse','API\x20Event\x20','null','jZYeF','winstonLogger','isModifiable','toString','application/json','BlgnU','thzUt','PLXVG','1673384XAbrhH','isTurboScaleSession','getPackageVersion','getSessionsList','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','OLDdS','wNOpw','replace','102624WZTjoZ','finalExecutionRan','aiMpx','AHAKI','values','nodeRequest','getGlobal','\x20has\x20now\x20read/write/execute\x20permissions.','BROWSERSTACK_TESTHUB_UUID','aQEmX','apply','../bin/playwright/reporter/pwUtils','YThFg','debug','getBuildLink','reduce','druqU','finishedMetadata','vHqxi','constants','NaifQ','version','LuOkP','error','trim','4GGuVwX','errorMessage','X_OK','./globals','info','usBUD','StNji','getStackTraceAsString','./performance/performance-tester','riWtp','type','Error\x20in\x20firing\x20request\x20to\x20','_buildHashedId','object','rwIwl','getAccessKey','osVersion','requirePWModule','10lWIrza','TuRJc','APP_AUTOMATE_PRODUCTS','finalExecution','codeceptjs','../helpers/testhub/constants','stringify','92ZXNiQf','OcEQD','sanitizeBrowserStackConfig','bJTki','sdkRunId','czLii','body','setReadWriteExecuteAccess','SDK\x20run\x20ended\x20for\x20id:\x20','ZtsFC'];a176_0x17dc=function(){return _0x47324d;};return a176_0x17dc();}const a176_0x3c379b=a176_0x439b;(function(_0x22d17b,_0x5e7498){const _0x41d756=a176_0x439b,_0x289cc0=_0x22d17b();while(!![]){try{const _0x351a91=-parseInt(_0x41d756(0xae))/0x1*(parseInt(_0x41d756(0x82))/0x2)+-parseInt(_0x41d756(0xe2))/0x3*(parseInt(_0x41d756(0xfb))/0x4)+-parseInt(_0x41d756(0x9f))/0x5*(-parseInt(_0x41d756(0xb7))/0x6)+parseInt(_0x41d756(0xb6))/0x7*(-parseInt(_0x41d756(0xda))/0x8)+parseInt(_0x41d756(0xc0))/0x9*(-parseInt(_0x41d756(0x10d))/0xa)+parseInt(_0x41d756(0x91))/0xb*(-parseInt(_0x41d756(0xc5))/0xc)+parseInt(_0x41d756(0xa3))/0xd;if(_0x351a91===_0x5e7498)break;else _0x289cc0['push'](_0x289cc0['shift']());}catch(_0x589745){_0x289cc0['push'](_0x289cc0['shift']());}}}(a176_0x17dc,0x231a4));const os=require('os'),util=require('util'),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require('./logger')[a176_0x3c379b(0xd3)],constants=require('../bin/utils/constants'),testHubConstants=require(a176_0x3c379b(0x80)),{getTransformPath}=require(a176_0x3c379b(0xed)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a176_0x3c379b(0xcc)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a176_0x3c379b(0xce)),PerformanceTester=require(a176_0x3c379b(0x103)),globals=require(a176_0x3c379b(0xfe)),helper=require(a176_0x3c379b(0xce)),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';function a176_0x439b(_0xf958cd,_0x207482){const _0x17dca7=a176_0x17dc();return a176_0x439b=function(_0x439b68,_0x565e06){_0x439b68=_0x439b68-0x7f;let _0x5a6dc4=_0x17dca7[_0x439b68];return _0x5a6dc4;},a176_0x439b(_0xf958cd,_0x207482);}exports[a176_0x3c379b(0xc4)]=async(_0x24048b,_0x184f42={},_0x499630,_0x39fe39,_0x4a21ce=![])=>{const _0x23b17d=a176_0x3c379b,_0x1090f5={'DNkaT':function(_0x5b4bbc,_0x17f36b){return _0x5b4bbc===_0x17f36b;},'dqmXY':_0x23b17d(0x108),'KSjjm':function(_0x8a372f,_0x2dee44){return _0x8a372f>_0x2dee44;},'wNOpw':_0x23b17d(0xba),'jZYeF':function(_0x39c0bc){return _0x39c0bc();},'vHqxi':function(_0x295256){return _0x295256();},'qiEQw':function(_0x294859,_0x5c336d){return _0x294859==_0x5c336d;},'druqU':_0x23b17d(0xd1),'aQEmX':_0x23b17d(0xa6),'ZSrIq':function(_0x49c841,_0x2ba738){return _0x49c841===_0x2ba738;},'tBjVw':_0x23b17d(0x7f),'nYXAR':function(_0x583f41,_0x571fbb){return _0x583f41>_0x571fbb;},'CHcAF':function(_0x59adea,_0x12c58b){return _0x59adea!==_0x12c58b;},'aiMpx':'Playwright','VhlcC':function(_0x54b6f4,_0x522633){return _0x54b6f4===_0x522633;},'jYrIZ':'error','czLii':function(_0xcf5ab3,_0x28503f){return _0xcf5ab3>_0x28503f;},'bJTki':function(_0x44df64,_0x4071c5){return _0x44df64+_0x4071c5;},'SaQro':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','riWtp':_0x23b17d(0x107),'NzNAa':function(_0x3da465,_0x321515){return _0x3da465(_0x321515);},'NaifQ':function(_0x3d7d6a,_0x22d5ac){return _0x3d7d6a(_0x22d5ac);},'LuOkP':_0x23b17d(0xc8),'PLXVG':_0x23b17d(0xa5),'AHAKI':function(_0x46354d,_0x3bfce7){return _0x46354d===_0x3bfce7;},'VnOBl':_0x23b17d(0xaa),'rcIio':function(_0x5c0307,_0x3ab850){return _0x5c0307===_0x3ab850;},'YThFg':function(_0x5f50ed){return _0x5f50ed();},'AuPqK':'selenium-webdriver','OLDdS':_0x23b17d(0xd6),'ZtsFC':_0x23b17d(0xaf),'BlgnU':_0x23b17d(0xa9)};let _0x202f78=[];if(helper['isBrowserstackInfra']()&&_0x1090f5[_0x23b17d(0xd2)](isTestObservabilitySession))_0x202f78=helper[_0x23b17d(0xac)](_0x499630)?constants[_0x23b17d(0x10f)]:constants[_0x23b17d(0x8c)];else{if(_0x1090f5[_0x23b17d(0xf4)](isTestObservabilitySession))_0x202f78=constants[_0x23b17d(0xde)];else helper['isBrowserstackInfra']()&&(_0x202f78=helper[_0x23b17d(0xac)](_0x499630)?constants['APP_AUTOMATE']:constants[_0x23b17d(0xb3)]);}let _0x44c9a8=_0x499630[_0x23b17d(0x8e)];if(_0x1090f5['qiEQw'](_0x44c9a8,null))_0x44c9a8=_0x1090f5[_0x23b17d(0xf2)];else _0x1090f5[_0x23b17d(0xc1)](_0x44c9a8,undefined)&&(_0x44c9a8=_0x1090f5[_0x23b17d(0xeb)]);unhandledErrors&&_0x1090f5[_0x23b17d(0x9d)](unhandledErrors[_0x23b17d(0xcb)],0x0)&&(_0x184f42[_0x23b17d(0x9e)]=unhandledErrors);global[_0x23b17d(0x86)]&&(_0x184f42[_0x23b17d(0x86)]=global[_0x23b17d(0x86)]);try{if(_0x184f42[_0x23b17d(0xf9)]){if(_0x1090f5[_0x23b17d(0xc2)](_0x39fe39,_0x1090f5[_0x23b17d(0xa7)])&&_0x1090f5[_0x23b17d(0xa4)](_0x184f42[_0x23b17d(0xf9)][_0x23b17d(0xcb)],0x0)){const _0x59130b={};_0x59130b['os']='',_0x59130b[_0x23b17d(0x10b)]='',_0x59130b[_0x23b17d(0x8f)]='',_0x59130b[_0x23b17d(0x9c)]='';const _0x4010c1=_0x59130b;let _0x3741cd={};const _0x44f836=_0x184f42[_0x23b17d(0xf9)];_0x3741cd=_0x44f836[_0x23b17d(0xf1)]((_0x25fca6,_0x3c8d10)=>{for(const _0x3c5b68 in _0x3c8d10){_0x25fca6[_0x3c5b68]=_0x3c8d10[_0x3c5b68];}return _0x25fca6;},{});const _0x1c32a1={};_0x1c32a1[_0x23b17d(0xba)]=_0x3741cd,_0x184f42[_0x23b17d(0xf9)]=[Object[_0x23b17d(0xbc)]({},_0x4010c1,_0x1c32a1)];}else{let _0x2f6165=0x0;const _0x2e58b=_0x1090f5[_0x23b17d(0x8d)](_0x39fe39,_0x1090f5[_0x23b17d(0xe4)])?JSON[_0x23b17d(0xcf)](_0x184f42['error']):_0x184f42[_0x23b17d(0xf9)],_0xb114ef=Object['values'](_0x2e58b);_0xb114ef['forEach'](_0x13e94d=>{const _0x25f08f=_0x23b17d;if(_0x1090f5[_0x25f08f(0xc1)](typeof _0x13e94d,_0x1090f5['dqmXY'])){const _0x3aaa31=Object[_0x25f08f(0xe6)](_0x13e94d);!_0x3aaa31['every'](_0x42a4bd=>_0x42a4bd===null||_0x42a4bd===undefined||_0x42a4bd==='')&&(_0x2f6165+=0x1);}});if(_0x1090f5['VhlcC'](_0x2f6165,0x0))delete _0x184f42[_0x1090f5['jYrIZ']];else{const _0x1582ff=[];Object[_0x23b17d(0xc7)](_0x2e58b)['forEach'](_0x136bd2=>{const _0x20b33a=_0x23b17d,[_0x29f866,_0x28b285,_0x1ac86d,_0x3c2b7c]=_0x136bd2['split'](',\x20');let _0x2fdb86={};if(!_0x3c2b7c){const _0x4b3ed6={};_0x4b3ed6[_0x20b33a(0x93)]=_0x29f866,_0x4b3ed6[_0x20b33a(0x10b)]=_0x28b285,_0x4b3ed6[_0x20b33a(0x8f)]=_0x1ac86d,_0x2fdb86=_0x4b3ed6;}else{const _0x29e415={};_0x29e415['os']=_0x29f866,_0x29e415[_0x20b33a(0x10b)]=_0x28b285,_0x29e415[_0x20b33a(0x8f)]=_0x1ac86d,_0x29e415['browserVersion']=_0x3c2b7c,_0x2fdb86=_0x29e415;}const _0x82c5f7={},_0x180819=_0x2e58b[_0x136bd2];Object[_0x20b33a(0xc7)](_0x180819)[_0x20b33a(0x97)](_0x31ef92=>{const _0x58d79d=_0x20b33a;_0x1090f5[_0x58d79d(0x9d)](_0x180819[_0x31ef92]['length'],0x0)&&(_0x82c5f7[_0x31ef92]=_0x180819[_0x31ef92]);}),_0x1090f5['KSjjm'](Object[_0x20b33a(0xc7)](_0x82c5f7)[_0x20b33a(0xcb)],0x0)&&(_0x2fdb86[_0x1090f5[_0x20b33a(0xe0)]]=_0x82c5f7,_0x1582ff[_0x20b33a(0x90)](_0x2fdb86));}),_0x1090f5[_0x23b17d(0x87)](_0x1582ff[_0x23b17d(0xcb)],0x0)?_0x184f42['error']=_0x1582ff:delete _0x184f42[_0x1090f5['jYrIZ']];}}}}catch(_0x2ee9bb){delete _0x184f42[_0x1090f5[_0x23b17d(0x99)]],logger[_0x23b17d(0xef)](_0x1090f5[_0x23b17d(0x85)](_0x1090f5['SaQro'],_0x2ee9bb));}const _0x5c8a98=helper['getTestFrameworkDetails'](_0x499630,_0x499630[_0x23b17d(0xbb)]),_0x12e22e={'userName':helper[_0x23b17d(0xad)](_0x499630),'accessKey':helper[_0x23b17d(0x10a)](_0x499630),'event_type':_0x24048b,'detectedFramework':_0x39fe39,'buildHashedId':globals[_0x23b17d(0xe8)](_0x1090f5[_0x23b17d(0x104)]),'optimalHubUrl':helper[_0x23b17d(0xb4)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants['ENV_VAR'][_0x23b17d(0xea)]]||'','sdkRunId':global[_0x23b17d(0x86)],'product_map':_0x1090f5[_0x23b17d(0xbd)](getProductMap,_0x499630),'productMap':_0x1090f5[_0x23b17d(0xf6)](getProductMap,_0x499630),'language_framework':_0x499630[_0x23b17d(0xcd)]||_0x1090f5[_0x23b17d(0xf8)],'referrer':helper['getNodeAgent'](_0x39fe39),'framework':_0x499630[_0x23b17d(0xbb)],'frameworkVersion':helper[_0x23b17d(0xa2)](_0x39fe39),'automationFramework':_0x5c8a98[_0x23b17d(0x92)],'automationFrameworkVersion':_0x5c8a98[_0x23b17d(0xf7)],'language':_0x1090f5[_0x23b17d(0xd9)],'languageVersion':process[_0x23b17d(0xf7)],'product':_0x202f78,'buildName':_0x499630[_0x23b17d(0x96)]||_0x1090f5[_0x23b17d(0xeb)],'buildIdentifier':_0x44c9a8,'os':os[_0x23b17d(0x105)]()||_0x1090f5[_0x23b17d(0xf8)],'hostname':os[_0x23b17d(0xbe)]()||_0x1090f5[_0x23b17d(0xf8)],..._0x184f42,'isCLIEnabled':_0x4a21ce}};try{_0x1090f5[_0x23b17d(0xe5)](_0x24048b,_0x1090f5[_0x23b17d(0x94)])&&(_0x12e22e[_0x23b17d(0x9a)][_0x23b17d(0xc9)]=helper[_0x23b17d(0x84)](_0x499630)),_0x1090f5['rcIio'](_0x39fe39,_0x1090f5['aiMpx'])?_0x12e22e[_0x23b17d(0x9a)]['playwrightVersion']=helper[_0x23b17d(0x10c)][_0x23b17d(0xec)](null,_0x1090f5[_0x23b17d(0xee)](getTransformPath),!![]):_0x12e22e[_0x23b17d(0x9a)]['seleniumVersion']=helper[_0x23b17d(0xdc)](_0x1090f5['AuPqK']);}catch(_0x1ecd3f){logger[_0x23b17d(0xef)]('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0x1ecd3f);}const _0xfc2b88={};_0xfc2b88[_0x23b17d(0x98)]=_0x1090f5[_0x23b17d(0xdf)];const _0x799342={'headers':_0xfc2b88,'body':_0x12e22e,'auth':{'user':helper[_0x23b17d(0xad)](_0x499630),'pass':helper[_0x23b17d(0x10a)](_0x499630)},'json':!![]};logger['debug'](_0x23b17d(0xb8)+JSON[_0x23b17d(0x81)](_0x799342[_0x23b17d(0x88)])['replace'](new RegExp(helper[_0x23b17d(0xad)](_0x499630),'g'),_0x1090f5[_0x23b17d(0x8b)])[_0x23b17d(0xe1)](new RegExp(helper[_0x23b17d(0x10a)](_0x499630),'g'),_0x1090f5[_0x23b17d(0x8b)]));try{const _0x131d38=await helper[_0x23b17d(0xe7)](_0x1090f5[_0x23b17d(0xd7)],FUNNEL_INSTRUMENTATION_API_URL,_0x799342,_0x499630);logger['debug'](_0x23b17d(0xd0)+_0x24048b+'\x20response\x20-\x20'+util['format']('%j',_0x131d38));}catch(_0x294ed8){logger[_0x23b17d(0xef)](_0x23b17d(0x106)+FUNNEL_INSTRUMENTATION_API_URL+_0x23b17d(0xb2)+util[_0x23b17d(0xa8)](_0x294ed8));}},exports[a176_0x3c379b(0x110)]=async(_0x251d85,_0x133e09=![])=>{const _0x5901be=a176_0x3c379b,_0x12a5a9={'oOWEa':function(_0x2567ad){return _0x2567ad();},'UjVic':_0x5901be(0x9b),'TuRJc':_0x5901be(0xf3),'thzUt':'user_killed','rwIwl':_0x5901be(0xaa),'StNji':function(_0x1b69c8,_0x7c94e7,_0x52df0b){return _0x1b69c8(_0x7c94e7,_0x52df0b);},'GDLil':function(_0x28bb14,_0x15638c){return _0x28bb14+_0x15638c;},'usBUD':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0x251d85[_0x5901be(0xe3)])return;_0x251d85[_0x5901be(0xe3)]=!![];try{await _0x251d85['stopPercy'](),_0x12a5a9['oOWEa'](printNudgeLocalNotSetError);const _0x12ef2d={};_0x12ef2d['error']=_0x251d85[_0x5901be(0xfc)]?_0x251d85[_0x5901be(0xfc)]:'{}';const _0x29ec41=_0x12ef2d,_0x3f3bce=Object[_0x5901be(0xbc)]({},_0x29ec41),_0x194b36=globals[_0x5901be(0xe8)](_0x12a5a9[_0x5901be(0xbf)]);_0x194b36&&(_0x3f3bce['hubAllocation']=_0x194b36);!!_0x251d85['killSignal']&&(_0x3f3bce[_0x12a5a9[_0x5901be(0x10e)]]={'reason':_0x12a5a9[_0x5901be(0xd8)],'signal':_0x251d85['killSignal']});unhandledErrors=_0x251d85['unhandledErrors'][_0x5901be(0x95)]('\x0a');let _0x220f7e,_0x513691,_0x22404b;helper[_0x5901be(0xdb)](_0x251d85[_0x5901be(0xb0)])?([_0x220f7e,_0x513691]=await helper['getTurboScaleBuildLink'](_0x251d85[_0x5901be(0xb0)]),[_0x22404b]=await Promise[_0x5901be(0xca)]([helper['getTurboScaleSessionsList'](_0x220f7e,_0x251d85['config']),exports[_0x5901be(0xc4)](_0x12a5a9[_0x5901be(0x109)],_0x3f3bce,_0x251d85[_0x5901be(0xb0)],_0x251d85['framework'],_0x133e09)])):([_0x220f7e,_0x513691]=await helper[_0x5901be(0xf0)](_0x251d85[_0x5901be(0xb0)]),[_0x22404b]=await Promise['all']([helper[_0x5901be(0xdd)](_0x220f7e,_0x251d85[_0x5901be(0xb0)]),exports[_0x5901be(0xc4)](_0x12a5a9[_0x5901be(0x109)],_0x3f3bce,_0x251d85['config'],_0x251d85['framework'],_0x133e09)])),_0x22404b&&await _0x12a5a9[_0x5901be(0x101)](generateCIArtifacts,_0x22404b,_0x513691),logger[_0x5901be(0xff)](_0x5901be(0x8a)+_0x251d85[_0x5901be(0x86)]+',\x20testhub\x20id:\x20'+process['env'][_0x5901be(0xea)]),await helper['sendLogs'](_0x251d85[_0x5901be(0xb0)]);}catch(_0x31fb30){logger[_0x5901be(0xef)](_0x12a5a9[_0x5901be(0xb1)](_0x12a5a9[_0x5901be(0x100)],_0x31fb30));}helper['notifyUpdate']();},exports['getStackTraceAsString']=_0x43995e=>{const _0x401dc0=a176_0x3c379b,_0x8f8ee2={'sNnVv':function(_0x2c9f83,_0x2fa20d){return _0x2c9f83 instanceof _0x2fa20d;},'OcEQD':function(_0x5e07df,_0x282738){return _0x5e07df(_0x282738);}};try{if(_0x8f8ee2[_0x401dc0(0xb5)](_0x43995e,Error))return _0x43995e['stack']||_0x43995e[_0x401dc0(0xd5)]();return _0x8f8ee2[_0x401dc0(0x83)](String,_0x43995e);}catch(_0x49343d){return _0x43995e?_0x43995e['toString']():'';}},exports[a176_0x3c379b(0xa0)]=_0x1d9ba3=>{const _0x30e079=a176_0x3c379b,_0x303bdc={};_0x303bdc[_0x30e079(0xab)]=function(_0x13b9e7,_0x14924d){return _0x13b9e7===_0x14924d;};const _0x179bf9=_0x303bdc;return!_0x1d9ba3||_0x179bf9[_0x30e079(0xab)](_0x1d9ba3[_0x30e079(0xfa)](),'');},exports[a176_0x3c379b(0xd4)]=_0x2f3734=>{const _0x56b351=a176_0x3c379b,_0x4b8ca5={};_0x4b8ca5[_0x56b351(0xc6)]=function(_0x258854,_0x5dd259){return _0x258854|_0x5dd259;};const _0x4ec3bd=_0x4b8ca5;try{return fs[_0x56b351(0xa1)](_0x2f3734,_0x4ec3bd[_0x56b351(0xc6)](fs[_0x56b351(0xf5)]['W_OK'],fs[_0x56b351(0xf5)][_0x56b351(0xfd)])),!![];}catch(_0x35972e){return![];}},exports[a176_0x3c379b(0x89)]=_0x2f1490=>{const _0x3a44a6=a176_0x3c379b;try{fs[_0x3a44a6(0xc3)](_0x2f1490,0x1ff),logger[_0x3a44a6(0xef)](_0x3a44a6(0xb9)+_0x2f1490+_0x3a44a6(0xe9));}catch(_0x2f92c4){logger[_0x3a44a6(0xf9)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x3a44a6(0x102)](_0x2f92c4));}};
|
|
1
|
+
function a176_0x3b7d(){const _0x58aa00=['accessSync','getOptimalHubUrl','AUTOMATE','BROWSERSTACK_TESTHUB_UUID','browserStackConfig','values','object','format','getTestFrameworkDetails','body','_hubAllocationData','assign','tests','../helpers/testhub/constants','framework','W_OK','POST','245tWiywG','kBpgs','getBuildLink','env','forEach','getTurboScaleBuildLink','6LcVxHB','VyfYi','all','errorMessage','./testhub/utils','toString','bXtNR','vcEqq','name','ZHezo','parse','3946855oIPFyt','debug','vmvuc','fireFunnelTestEvent','getStackTraceAsString','event_properties','APP_AUTOMATE','util','[REDACTED]','SDK\x20run\x20ended\x20for\x20id:\x20','apply','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','Playwright','VuufT','VqZFz','getSessionsList','setReadWriteExecuteAccess','jrlOj','uQFYH','XCSta','Directory\x20','finalExecution','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','nodeRequest','isTurboScaleSession','source','Dareu','nodejs','2543166vHotIm','content-type','split','4723117ffbKiN','getGlobal','9778wnmgwv','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','X_OK','IPNCb','DnNqz','tmUOs','./logger','Error\x20in\x20firing\x20request\x20to\x20','playwrightVersion','deviceName','LKhXi','getPackageVersion','keys','456HFZkfh','user_killed','buildName','API\x20Event\x20','_buildHashedId','seleniumVersion','./performance/performance-tester','finalExecutionRan','replace','fGUTI','OJdMn','config','AOSds','version','Failed\x20to\x20set\x20directory\x20access:\x20','join','qPRZt','xTXWX','sanitizeBrowserStackConfig','../bin/playwright/reporter/pwUtils','hostname','codeceptjs','dkHeF','ZJMLf','21703110yPPcjz','./helper','LEhGz','UpoSO','osVersion','stopPercy','error','SDKTestSuccessful','ENV_VAR','browserVersion','info','killSignal','isModifiable','browser','globalException','chmodSync','length','sdkRunId','getAccessKey','isAppAutomateSession','constants','../bin/utils/constants','sendLogs','qjWJj','unknown','isBrowserstackInfra','requirePWModule','type','zOAJK','null','uYQHd','297bvVLht','APP_AUTOMATE_PRODUCTS','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','HjNQb','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','getUserName','getTurboScaleSessionsList','./globals','WzOYo','NjSwk','unhandledErrors','ALPQO','2275888CuWZXq'];a176_0x3b7d=function(){return _0x58aa00;};return a176_0x3b7d();}const a176_0x4044ee=a176_0x147a;function a176_0x147a(_0x2abf1d,_0x402298){const _0x3b7d5f=a176_0x3b7d();return a176_0x147a=function(_0x147ac2,_0x5a832f){_0x147ac2=_0x147ac2-0xfd;let _0x1c232c=_0x3b7d5f[_0x147ac2];return _0x1c232c;},a176_0x147a(_0x2abf1d,_0x402298);}(function(_0x56c07e,_0x54ff3b){const _0x491b67=a176_0x147a,_0x185062=_0x56c07e();while(!![]){try{const _0x3e30d0=-parseInt(_0x491b67(0x123))/0x1*(parseInt(_0x491b67(0x155))/0x2)+parseInt(_0x491b67(0x129))/0x3*(-parseInt(_0x491b67(0x111))/0x4)+parseInt(_0x491b67(0x134))/0x5+-parseInt(_0x491b67(0x150))/0x6+parseInt(_0x491b67(0x153))/0x7+parseInt(_0x491b67(0x162))/0x8*(-parseInt(_0x491b67(0x105))/0x9)+parseInt(_0x491b67(0x17a))/0xa;if(_0x3e30d0===_0x54ff3b)break;else _0x185062['push'](_0x185062['shift']());}catch(_0x5b582a){_0x185062['push'](_0x185062['shift']());}}}(a176_0x3b7d,0xd51da));const os=require('os'),util=require(a176_0x4044ee(0x13b)),fs=require('fs'),{getProductMap}=require(a176_0x4044ee(0x12d)),logger=require(a176_0x4044ee(0x15b))['winstonLogger'],constants=require(a176_0x4044ee(0x18f)),testHubConstants=require(a176_0x4044ee(0x11f)),{getTransformPath}=require(a176_0x4044ee(0x175)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a176_0x4044ee(0x18f)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a176_0x4044ee(0x168)),globals=require(a176_0x4044ee(0x10c)),helper=require(a176_0x4044ee(0x17b)),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0xe2f75c,_0x5f4b1e={},_0x2f55e8,_0x35184c,_0x511992=![])=>{const _0x2320c7=a176_0x4044ee,_0x5c5109={'dkHeF':function(_0x257d05,_0x110844){return _0x257d05===_0x110844;},'miGrK':_0x2320c7(0x118),'tmUOs':function(_0x38d1ac,_0x2668dd){return _0x38d1ac>_0x2668dd;},'uYQHd':function(_0x5f1986,_0x59e8da){return _0x5f1986>_0x59e8da;},'AOSds':_0x2320c7(0x11e),'kBpgs':function(_0x15c204){return _0x15c204();},'DnNqz':function(_0x4d2684){return _0x4d2684();},'ZHezo':function(_0x12de94,_0x200cea){return _0x12de94==_0x200cea;},'cAoku':_0x2320c7(0x103),'UpoSO':'undefined','qjWJj':function(_0x5c8009,_0x48250f){return _0x5c8009===_0x48250f;},'VyfYi':_0x2320c7(0x177),'qPRZt':function(_0x5bd425,_0x456889){return _0x5bd425!==_0x456889;},'fGUTI':_0x2320c7(0x140),'NjSwk':function(_0x13e847,_0x2f170f){return _0x13e847===_0x2f170f;},'ZJMLf':_0x2320c7(0x180),'zIGlj':function(_0x301b86,_0xf4a98f){return _0x301b86>_0xf4a98f;},'jrlOj':function(_0x3418a2,_0x1b8c6a){return _0x3418a2+_0x1b8c6a;},'zOAJK':_0x2320c7(0x14a),'Gtota':_0x2320c7(0x166),'vcEqq':function(_0x247d79,_0x3ffacf){return _0x247d79(_0x3ffacf);},'OJdMn':_0x2320c7(0xfe),'LKhXi':_0x2320c7(0x14f),'VuufT':function(_0x408ceb,_0xeb555e){return _0x408ceb===_0xeb555e;},'vmvuc':'SDKTestSuccessful','bXtNR':'selenium-webdriver','WzOYo':'application/json','LEhGz':_0x2320c7(0x13c),'oRbNS':_0x2320c7(0x122)};let _0xb6da4a=[];if(helper[_0x2320c7(0xff)]()&&_0x5c5109[_0x2320c7(0x124)](isTestObservabilitySession))_0xb6da4a=helper[_0x2320c7(0x18d)](_0x2f55e8)?constants[_0x2320c7(0x106)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x5c5109[_0x2320c7(0x159)](isTestObservabilitySession))_0xb6da4a=constants[_0x2320c7(0x13f)];else helper[_0x2320c7(0xff)]()&&(_0xb6da4a=helper[_0x2320c7(0x18d)](_0x2f55e8)?constants[_0x2320c7(0x13a)]:constants[_0x2320c7(0x114)]);}let _0x4aa955=_0x2f55e8['buildIdentifier'];if(_0x5c5109[_0x2320c7(0x132)](_0x4aa955,null))_0x4aa955=_0x5c5109['cAoku'];else _0x5c5109[_0x2320c7(0x178)](_0x4aa955,undefined)&&(_0x4aa955=_0x5c5109[_0x2320c7(0x17d)]);unhandledErrors&&_0x5c5109['tmUOs'](unhandledErrors[_0x2320c7(0x18a)],0x0)&&(_0x5f4b1e[_0x2320c7(0x188)]=unhandledErrors);global[_0x2320c7(0x18b)]&&(_0x5f4b1e['sdkRunId']=global['sdkRunId']);try{if(_0x5f4b1e[_0x2320c7(0x180)]){if(_0x5c5109[_0x2320c7(0xfd)](_0x35184c,_0x5c5109[_0x2320c7(0x12a)])&&_0x5c5109['tmUOs'](_0x5f4b1e[_0x2320c7(0x180)]['length'],0x0)){const _0x4c9fe6={};_0x4c9fe6['os']='',_0x4c9fe6['osVersion']='',_0x4c9fe6['browser']='',_0x4c9fe6[_0x2320c7(0x183)]='';const _0x24803a=_0x4c9fe6;let _0x19ac0d={};const _0x30caa3=_0x5f4b1e[_0x2320c7(0x180)];_0x19ac0d=_0x30caa3['reduce']((_0x42a4fb,_0x31a756)=>{for(const _0x5c97fe in _0x31a756){_0x42a4fb[_0x5c97fe]=_0x31a756[_0x5c97fe];}return _0x42a4fb;},{});const _0x97ff82={};_0x97ff82[_0x2320c7(0x11e)]=_0x19ac0d,_0x5f4b1e[_0x2320c7(0x180)]=[Object[_0x2320c7(0x11d)]({},_0x24803a,_0x97ff82)];}else{let _0xf8b3dc=0x0;const _0x4042cb=_0x5c5109[_0x2320c7(0x172)](_0x35184c,_0x5c5109[_0x2320c7(0x16b)])?JSON[_0x2320c7(0x133)](_0x5f4b1e[_0x2320c7(0x180)]):_0x5f4b1e[_0x2320c7(0x180)],_0xf0202f=Object['values'](_0x4042cb);_0xf0202f[_0x2320c7(0x127)](_0x134f5d=>{const _0x3f8531=_0x2320c7;if(_0x5c5109[_0x3f8531(0x178)](typeof _0x134f5d,_0x5c5109['miGrK'])){const _0x7dab0c=Object[_0x3f8531(0x117)](_0x134f5d);!_0x7dab0c['every'](_0x4d5e3f=>_0x4d5e3f===null||_0x4d5e3f===undefined||_0x4d5e3f==='')&&(_0xf8b3dc+=0x1);}});if(_0x5c5109[_0x2320c7(0x10e)](_0xf8b3dc,0x0))delete _0x5f4b1e[_0x5c5109[_0x2320c7(0x179)]];else{const _0x2785b9=[];Object['keys'](_0x4042cb)[_0x2320c7(0x127)](_0x295755=>{const _0x6f7a9e=_0x2320c7,[_0x35c179,_0x533558,_0x13eda6,_0x2a5632]=_0x295755[_0x6f7a9e(0x152)](',\x20');let _0x1e9b81={};if(!_0x2a5632){const _0x11a4ea={};_0x11a4ea[_0x6f7a9e(0x15e)]=_0x35c179,_0x11a4ea[_0x6f7a9e(0x17e)]=_0x533558,_0x11a4ea['browser']=_0x13eda6,_0x1e9b81=_0x11a4ea;}else{const _0x3e1567={};_0x3e1567['os']=_0x35c179,_0x3e1567['osVersion']=_0x533558,_0x3e1567[_0x6f7a9e(0x187)]=_0x13eda6,_0x3e1567[_0x6f7a9e(0x183)]=_0x2a5632,_0x1e9b81=_0x3e1567;}const _0x1d0dc7={},_0x584cbf=_0x4042cb[_0x295755];Object['keys'](_0x584cbf)[_0x6f7a9e(0x127)](_0x47e6fa=>{const _0x17e460=_0x6f7a9e;_0x5c5109[_0x17e460(0x15a)](_0x584cbf[_0x47e6fa][_0x17e460(0x18a)],0x0)&&(_0x1d0dc7[_0x47e6fa]=_0x584cbf[_0x47e6fa]);}),_0x5c5109[_0x6f7a9e(0x104)](Object[_0x6f7a9e(0x161)](_0x1d0dc7)['length'],0x0)&&(_0x1e9b81[_0x5c5109[_0x6f7a9e(0x16e)]]=_0x1d0dc7,_0x2785b9['push'](_0x1e9b81));}),_0x5c5109['zIGlj'](_0x2785b9[_0x2320c7(0x18a)],0x0)?_0x5f4b1e[_0x2320c7(0x180)]=_0x2785b9:delete _0x5f4b1e[_0x5c5109[_0x2320c7(0x179)]];}}}}catch(_0x3a5eed){delete _0x5f4b1e[_0x5c5109[_0x2320c7(0x179)]],logger['debug'](_0x5c5109[_0x2320c7(0x145)](_0x5c5109[_0x2320c7(0x102)],_0x3a5eed));}const _0x1aa8f3=helper[_0x2320c7(0x11a)](_0x2f55e8,_0x2f55e8[_0x2320c7(0x120)]),_0x229e43={'userName':helper[_0x2320c7(0x10a)](_0x2f55e8),'accessKey':helper['getAccessKey'](_0x2f55e8),'event_type':_0xe2f75c,'detectedFramework':_0x35184c,'buildHashedId':globals['getGlobal'](_0x5c5109['Gtota']),'optimalHubUrl':helper[_0x2320c7(0x113)](),'event_properties':{'testhub_uuid':process[_0x2320c7(0x126)][testHubConstants[_0x2320c7(0x182)][_0x2320c7(0x115)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x5c5109[_0x2320c7(0x130)](getProductMap,_0x2f55e8),'productMap':_0x5c5109[_0x2320c7(0x130)](getProductMap,_0x2f55e8),'language_framework':_0x2f55e8[_0x2320c7(0x14d)]||_0x5c5109['OJdMn'],'referrer':helper['getNodeAgent'](_0x35184c),'framework':_0x2f55e8[_0x2320c7(0x120)],'frameworkVersion':helper['getFrameworkVersion'](_0x35184c),'automationFramework':_0x1aa8f3[_0x2320c7(0x131)],'automationFrameworkVersion':_0x1aa8f3[_0x2320c7(0x16f)],'language':_0x5c5109[_0x2320c7(0x15f)],'languageVersion':process[_0x2320c7(0x16f)],'product':_0xb6da4a,'buildName':_0x2f55e8[_0x2320c7(0x164)]||_0x5c5109[_0x2320c7(0x17d)],'buildIdentifier':_0x4aa955,'os':os[_0x2320c7(0x101)]()||_0x5c5109[_0x2320c7(0x16c)],'hostname':os[_0x2320c7(0x176)]()||_0x5c5109[_0x2320c7(0x16c)],..._0x5f4b1e,'isCLIEnabled':_0x511992}};try{_0x5c5109[_0x2320c7(0x141)](_0xe2f75c,_0x5c5109[_0x2320c7(0x136)])&&(_0x229e43[_0x2320c7(0x139)][_0x2320c7(0x116)]=helper[_0x2320c7(0x174)](_0x2f55e8)),_0x5c5109[_0x2320c7(0x10e)](_0x35184c,_0x5c5109[_0x2320c7(0x16b)])?_0x229e43[_0x2320c7(0x139)][_0x2320c7(0x15d)]=helper[_0x2320c7(0x100)][_0x2320c7(0x13e)](null,_0x5c5109[_0x2320c7(0x124)](getTransformPath),!![]):_0x229e43[_0x2320c7(0x139)][_0x2320c7(0x167)]=helper[_0x2320c7(0x160)](_0x5c5109[_0x2320c7(0x12f)]);}catch(_0x1bc360){logger[_0x2320c7(0x135)](_0x2320c7(0x109)+_0x1bc360);}const _0x1691d4={};_0x1691d4[_0x2320c7(0x151)]=_0x5c5109[_0x2320c7(0x10d)];const _0x2edd8b={'headers':_0x1691d4,'body':_0x229e43,'auth':{'user':helper[_0x2320c7(0x10a)](_0x2f55e8),'pass':helper[_0x2320c7(0x18c)](_0x2f55e8)},'json':!![]};logger['debug'](_0x2320c7(0x107)+JSON['stringify'](_0x2edd8b[_0x2320c7(0x11b)])[_0x2320c7(0x16a)](new RegExp(helper[_0x2320c7(0x10a)](_0x2f55e8),'g'),_0x5c5109[_0x2320c7(0x17c)])['replace'](new RegExp(helper['getAccessKey'](_0x2f55e8),'g'),_0x5c5109['LEhGz']));try{const _0x4f4519=await helper[_0x2320c7(0x14b)](_0x5c5109['oRbNS'],FUNNEL_INSTRUMENTATION_API_URL,_0x2edd8b,_0x2f55e8);logger[_0x2320c7(0x135)](_0x2320c7(0x165)+_0xe2f75c+'\x20response\x20-\x20'+util['format']('%j',_0x4f4519));}catch(_0x3e1239){logger[_0x2320c7(0x135)](_0x2320c7(0x15c)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x2320c7(0x119)](_0x3e1239));}},exports[a176_0x4044ee(0x149)]=async(_0x1d3d67,_0x1de2ff=![])=>{const _0x37d2f7=a176_0x4044ee,_0x2e3cd3={'XCSta':function(_0x82cbed){return _0x82cbed();},'mjugC':_0x37d2f7(0x11c),'uQFYH':'finishedMetadata','JIdXU':_0x37d2f7(0x163),'Dareu':_0x37d2f7(0x181),'jwiXy':function(_0x452df4,_0x42b8f9,_0x277758){return _0x452df4(_0x42b8f9,_0x277758);},'ALPQO':function(_0xc9682a,_0x5f481d){return _0xc9682a+_0x5f481d;},'xTXWX':_0x37d2f7(0x156)};if(_0x1d3d67['finalExecutionRan'])return;_0x1d3d67[_0x37d2f7(0x169)]=!![];try{await _0x1d3d67[_0x37d2f7(0x17f)](),_0x2e3cd3[_0x37d2f7(0x147)](printNudgeLocalNotSetError);const _0x31ef79={};_0x31ef79[_0x37d2f7(0x180)]=_0x1d3d67[_0x37d2f7(0x12c)]?_0x1d3d67['errorMessage']:'{}';const _0x13a7e4=_0x31ef79,_0x523af1=Object['assign']({},_0x13a7e4),_0x1ef337=globals[_0x37d2f7(0x154)](_0x2e3cd3['mjugC']);_0x1ef337&&(_0x523af1['hubAllocation']=_0x1ef337);!!_0x1d3d67[_0x37d2f7(0x185)]&&(_0x523af1[_0x2e3cd3[_0x37d2f7(0x146)]]={'reason':_0x2e3cd3['JIdXU'],'signal':_0x1d3d67[_0x37d2f7(0x185)]});unhandledErrors=_0x1d3d67[_0x37d2f7(0x10f)][_0x37d2f7(0x171)]('\x0a');let _0x341bca,_0x37e605,_0x860e8a;helper[_0x37d2f7(0x14c)](_0x1d3d67[_0x37d2f7(0x16d)])?([_0x341bca,_0x37e605]=await helper[_0x37d2f7(0x128)](_0x1d3d67[_0x37d2f7(0x16d)]),[_0x860e8a]=await Promise[_0x37d2f7(0x12b)]([helper[_0x37d2f7(0x10b)](_0x341bca,_0x1d3d67[_0x37d2f7(0x16d)]),exports[_0x37d2f7(0x137)](_0x2e3cd3[_0x37d2f7(0x14e)],_0x523af1,_0x1d3d67[_0x37d2f7(0x16d)],_0x1d3d67[_0x37d2f7(0x120)],_0x1de2ff)])):([_0x341bca,_0x37e605]=await helper[_0x37d2f7(0x125)](_0x1d3d67[_0x37d2f7(0x16d)]),[_0x860e8a]=await Promise['all']([helper[_0x37d2f7(0x143)](_0x341bca,_0x1d3d67['config']),exports[_0x37d2f7(0x137)](_0x2e3cd3[_0x37d2f7(0x14e)],_0x523af1,_0x1d3d67[_0x37d2f7(0x16d)],_0x1d3d67[_0x37d2f7(0x120)],_0x1de2ff)])),_0x860e8a&&await _0x2e3cd3['jwiXy'](generateCIArtifacts,_0x860e8a,_0x37e605),logger[_0x37d2f7(0x184)](_0x37d2f7(0x13d)+_0x1d3d67[_0x37d2f7(0x18b)]+',\x20testhub\x20id:\x20'+process[_0x37d2f7(0x126)][_0x37d2f7(0x115)]),await helper[_0x37d2f7(0x190)](_0x1d3d67[_0x37d2f7(0x16d)]);}catch(_0xb86f5f){logger[_0x37d2f7(0x135)](_0x2e3cd3[_0x37d2f7(0x110)](_0x2e3cd3[_0x37d2f7(0x173)],_0xb86f5f));}helper['notifyUpdate']();},exports[a176_0x4044ee(0x138)]=_0x2e704e=>{const _0x84d18d=a176_0x4044ee,_0x33d3f9={'IPNCb':function(_0x32815e,_0x575906){return _0x32815e instanceof _0x575906;},'iRKij':function(_0x353b56,_0x27fc19){return _0x353b56(_0x27fc19);}};try{if(_0x33d3f9[_0x84d18d(0x158)](_0x2e704e,Error))return _0x2e704e['stack']||_0x2e704e[_0x84d18d(0x12e)]();return _0x33d3f9['iRKij'](String,_0x2e704e);}catch(_0x3c34af){return _0x2e704e?_0x2e704e[_0x84d18d(0x12e)]():'';}},exports['isNullOrEmpty']=_0xcf7a4d=>{const _0x1d8d50=a176_0x4044ee,_0x15628b={};_0x15628b[_0x1d8d50(0x142)]=function(_0x1f6b4f,_0x329a8f){return _0x1f6b4f===_0x329a8f;};const _0x498db7=_0x15628b;return!_0xcf7a4d||_0x498db7['VqZFz'](_0xcf7a4d['trim'](),'');},exports[a176_0x4044ee(0x186)]=_0x3063c9=>{const _0xc23cc1=a176_0x4044ee,_0x48d839={};_0x48d839[_0xc23cc1(0x108)]=function(_0x18747c,_0x490d7a){return _0x18747c|_0x490d7a;};const _0x4ed1b9=_0x48d839;try{return fs[_0xc23cc1(0x112)](_0x3063c9,_0x4ed1b9['HjNQb'](fs[_0xc23cc1(0x18e)][_0xc23cc1(0x121)],fs[_0xc23cc1(0x18e)][_0xc23cc1(0x157)])),!![];}catch(_0x565bb3){return![];}},exports[a176_0x4044ee(0x144)]=_0x52e021=>{const _0x382822=a176_0x4044ee;try{fs[_0x382822(0x189)](_0x52e021,0x1ff),logger[_0x382822(0x135)](_0x382822(0x148)+_0x52e021+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0x216159){logger[_0x382822(0x180)](_0x382822(0x170)+exports['getStackTraceAsString'](_0x216159));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a177_0x2ed9(){var _0x14e381=['browserstack.buildIdentifier','browserstack.wsLocalSupport','1428697XaQADb','browserstack.local','networkLogsOptions','9674586fAdPbf','HlufY','buildProductMap','browserstackSDK','simOptions','seleniumVersion','cXeqF','consoleLogs','1975jxZqxI','browserstack.accessibilityOptions.wcagVersion','browserstack.uploadMedia','browserstack.playwrightVersion','resolution','browser','pgyKV','MFCXc','WwdnZ','accessibilityOptions.authToken','fcmSU','accessibility','geoLocation','RRbJY','Ffvzb','browserstack.bfcache','TdldA','appiumLogs','dbOCS','VTUwD','WytYb','browserstack.disableCorsRestrictions','seleniumLogs','accessibilityOptions.includeIssueType.bestPractice','yPNNM','ymXWG','browserstack.networkLogs','WEYjm','UVKGD','xLADR','projectName','NaZlf','testhubBuildUuid','1810404rSfviP','1448673YEQLVR','xDDyh','disableCorsRestrictions','aLPvN','browserstack.networkLogsOptions','playwrightVersion','vkWFf','performance','browserstack.accessibilityOptions.includeIssueType.needsReview','uSShM','7NjbgJH','browserstack.customNetwork','dtoYn','EWSDn','device','ACNIk','guYuW','IJwjs','PUDyK','uploadMedia','TMrAa','oPsCI','sessionName','browser_version','debug','browserstack.selenium_version','idleTimeout','hwadZ','bLOtY','browserstack.telemetryLogs','accessibilityOptions.includeIssueType.needsReview','OonlH','ReyAs','bfcache','NTYaY','build','2WuGWSW','pUOmU','NKZtD','browserstack.seleniumLogs','12049096xlYhrM','timezone','browserstack.use_w3c','browserstack.simOptions','14934yAuisI','maskBasicAuth','buildIdentifier','PvJsZ','accessibilityOptions.scannerProcessingTimeout','networkProfile','headerParams','xZhNu','30960550RvDqoI','maskCommands','browserstack.autoWait','yOtfa','customNetwork','browserstack.user','JpePf','browserstack.hosts','browserstack.timezone','browserstack.headerParams','realMobile','browserstack.overridelocalInfo.localIdentifier','buildName','browserVersion','telemetryLogs','browserstack.accessibilityOptions.includeIssueType.bestPractice','wsLocalSupport','browserstack.maskCommands','W3CMapping','deviceOrientation','iwXJH','amjFD','uWJkn','BFsSj','overridelocalInfo.userAuthToken','browserstack.localIdentifier','rVoRt','local','autoWait','IlSRv','browserstack.networkProfile','browserstack.overridelocalInfo.userAuthToken','MFGYF','enableSim','userName','browserstack.geoLocation','Pfmef','browserstack.browserstackSDK','accessKey','SxbBb','localIdentifier','browserstack.accessibility','Gcvqt','name','overridelocalInfo.localIdentifier'];a177_0x2ed9=function(){return _0x14e381;};return a177_0x2ed9();}var a177_0x1d736d=a177_0x3dca;function a177_0x3dca(_0x805586,_0xfa331c){var _0x2ed96d=a177_0x2ed9();return a177_0x3dca=function(_0x3dca90,_0x332cb1){_0x3dca90=_0x3dca90-0x1ce;var _0x49fa81=_0x2ed96d[_0x3dca90];return _0x49fa81;},a177_0x3dca(_0x805586,_0xfa331c);}(function(_0x208614,_0x58f130){var _0x225e4b=a177_0x3dca,_0x1700c6=_0x208614();while(!![]){try{var _0x5b3822=parseInt(_0x225e4b(0x22a))/0x1*(parseInt(_0x225e4b(0x1eb))/0x2)+parseInt(_0x225e4b(0x257))/0x3+-parseInt(_0x225e4b(0x256))/0x4+parseInt(_0x225e4b(0x235))/0x5*(-parseInt(_0x225e4b(0x1f3))/0x6)+parseInt(_0x225e4b(0x1d1))/0x7*(-parseInt(_0x225e4b(0x1ef))/0x8)+-parseInt(_0x225e4b(0x22d))/0x9+parseInt(_0x225e4b(0x1fb))/0xa;if(_0x5b3822===_0x58f130)break;else _0x1700c6['push'](_0x1700c6['shift']());}catch(_0x2e032c){_0x1700c6['push'](_0x1700c6['shift']());}}}(a177_0x2ed9,0xf1e4c),exports[a177_0x1d736d(0x20d)]=()=>{var _0xe89909=a177_0x1d736d,_0x5f5774={};_0x5f5774[_0xe89909(0x25a)]=_0xe89909(0x21d),_0x5f5774[_0xe89909(0x1e6)]=_0xe89909(0x221),_0x5f5774[_0xe89909(0x1e3)]='osVersion',_0x5f5774[_0xe89909(0x24d)]=_0xe89909(0x23a),_0x5f5774[_0xe89909(0x249)]=_0xe89909(0x208),_0x5f5774['xDDyh']='useW3c',_0x5f5774['stBun']=_0xe89909(0x253),_0x5f5774[_0xe89909(0x25d)]=_0xe89909(0x207),_0x5f5774[_0xe89909(0x21b)]=_0xe89909(0x1dd),_0x5f5774['TtIKQ']=_0xe89909(0x216),_0x5f5774[_0xe89909(0x24e)]=_0xe89909(0x223),_0x5f5774[_0xe89909(0x1d4)]=_0xe89909(0x1df),_0x5f5774[_0xe89909(0x20f)]=_0xe89909(0x234),_0x5f5774[_0xe89909(0x210)]='networkLogs',_0x5f5774[_0xe89909(0x1ec)]=_0xe89909(0x22c),_0x5f5774[_0xe89909(0x218)]=_0xe89909(0x246),_0x5f5774[_0xe89909(0x1fe)]='video',_0x5f5774[_0xe89909(0x245)]=_0xe89909(0x24b),_0x5f5774['UVKGD']=_0xe89909(0x209),_0x5f5774[_0xe89909(0x212)]=_0xe89909(0x241),_0x5f5774[_0xe89909(0x23c)]=_0xe89909(0x1f0),_0x5f5774['VTUwD']=_0xe89909(0x239),_0x5f5774[_0xe89909(0x222)]=_0xe89909(0x232),_0x5f5774[_0xe89909(0x211)]=_0xe89909(0x1fc),_0x5f5774[_0xe89909(0x254)]=_0xe89909(0x1e1),_0x5f5774[_0xe89909(0x233)]=_0xe89909(0x1f4),_0x5f5774['NTYaY']=_0xe89909(0x217),_0x5f5774[_0xe89909(0x1db)]='hosts',_0x5f5774[_0xe89909(0x243)]=_0xe89909(0x1e8),_0x5f5774[_0xe89909(0x1e7)]=_0xe89909(0x20b),_0x5f5774[_0xe89909(0x1ed)]=_0xe89909(0x259),_0x5f5774['hjqxp']='deviceName',_0x5f5774[_0xe89909(0x201)]='realMobile',_0x5f5774[_0xe89909(0x23b)]='appiumVersion',_0x5f5774['xLADR']=_0xe89909(0x20e),_0x5f5774[_0xe89909(0x1dc)]=_0xe89909(0x1ff),_0x5f5774[_0xe89909(0x23d)]=_0xe89909(0x1f8),_0x5f5774[_0xe89909(0x1f6)]=_0xe89909(0x1f5),_0x5f5774[_0xe89909(0x250)]=_0xe89909(0x230),_0x5f5774[_0xe89909(0x1d6)]=_0xe89909(0x240),_0x5f5774[_0xe89909(0x22e)]=_0xe89909(0x22f),_0x5f5774['lnBsf']=_0xe89909(0x255),_0x5f5774[_0xe89909(0x242)]='accessibilityOptions.wcagVersion',_0x5f5774[_0xe89909(0x247)]='accessibilityOptions.scannerVersion',_0x5f5774['uSShM']=_0xe89909(0x1f7),_0x5f5774[_0xe89909(0x1fa)]=_0xe89909(0x24c),_0x5f5774[_0xe89909(0x1e2)]=_0xe89909(0x1e5),_0x5f5774['guYuW']=_0xe89909(0x23e),_0x5f5774[_0xe89909(0x1d9)]=_0xe89909(0x1da),_0x5f5774[_0xe89909(0x23f)]=_0xe89909(0x21c),_0x5f5774[_0xe89909(0x215)]=_0xe89909(0x231),_0x5f5774['dtoYn']=_0xe89909(0x25c),_0x5f5774['IJwjs']=_0xe89909(0x213),_0x5f5774[_0xe89909(0x21f)]=_0xe89909(0x227),_0x5f5774[_0xe89909(0x225)]=_0xe89909(0x1f9),_0x5f5774['xhABN']=_0xe89909(0x1ce);var _0x2bf35e=_0x5f5774,_0x3b5406={};return _0x3b5406[_0xe89909(0x200)]=_0x2bf35e['aLPvN'],_0x3b5406['browserstack.key']=_0x2bf35e['OonlH'],_0x3b5406['os']='os',_0x3b5406['os_version']=_0x2bf35e[_0xe89909(0x1e3)],_0x3b5406[_0xe89909(0x23a)]=_0x2bf35e[_0xe89909(0x24d)],_0x3b5406[_0xe89909(0x1de)]=_0x2bf35e[_0xe89909(0x249)],_0x3b5406[_0xe89909(0x1f1)]=_0x2bf35e[_0xe89909(0x258)],_0x3b5406['project']=_0x2bf35e['stBun'],_0x3b5406[_0xe89909(0x1ea)]=_0x2bf35e[_0xe89909(0x25d)],_0x3b5406[_0xe89909(0x226)]=_0x2bf35e[_0xe89909(0x21b)],_0x3b5406[_0xe89909(0x22b)]=_0x2bf35e['TtIKQ'],_0x3b5406[_0xe89909(0x214)]=_0x2bf35e[_0xe89909(0x24e)],_0x3b5406['browserstack.debug']=_0x2bf35e[_0xe89909(0x1d4)],_0x3b5406['browserstack.console']=_0x2bf35e[_0xe89909(0x20f)],_0x3b5406[_0xe89909(0x24f)]=_0x2bf35e[_0xe89909(0x210)],_0x3b5406[_0xe89909(0x25b)]=_0x2bf35e[_0xe89909(0x1ec)],_0x3b5406['browserstack.appiumLogs']=_0x2bf35e[_0xe89909(0x218)],_0x3b5406['browserstack.video']=_0x2bf35e[_0xe89909(0x1fe)],_0x3b5406[_0xe89909(0x1ee)]=_0x2bf35e['TdldA'],_0x3b5406[_0xe89909(0x1e4)]=_0x2bf35e[_0xe89909(0x251)],_0x3b5406[_0xe89909(0x21e)]=_0x2bf35e[_0xe89909(0x212)],_0x3b5406[_0xe89909(0x203)]=_0x2bf35e[_0xe89909(0x23c)],_0x3b5406[_0xe89909(0x239)]=_0x2bf35e[_0xe89909(0x248)],_0x3b5406[_0xe89909(0x1e0)]=_0x2bf35e[_0xe89909(0x222)],_0x3b5406[_0xe89909(0x20c)]=_0x2bf35e[_0xe89909(0x211)],_0x3b5406['browserstack.idleTimeout']=_0x2bf35e[_0xe89909(0x254)],_0x3b5406['browserstack.maskBasicAuth']=_0x2bf35e[_0xe89909(0x233)],_0x3b5406[_0xe89909(0x1fd)]=_0x2bf35e[_0xe89909(0x1e9)],_0x3b5406[_0xe89909(0x202)]=_0x2bf35e[_0xe89909(0x1db)],_0x3b5406[_0xe89909(0x244)]=_0x2bf35e['Ffvzb'],_0x3b5406[_0xe89909(0x229)]=_0x2bf35e['ReyAs'],_0x3b5406[_0xe89909(0x24a)]=_0x2bf35e[_0xe89909(0x1ed)],_0x3b5406[_0xe89909(0x1d5)]=_0x2bf35e['hjqxp'],_0x3b5406[_0xe89909(0x205)]=_0x2bf35e[_0xe89909(0x201)],_0x3b5406['browserstack.appium_version']=_0x2bf35e[_0xe89909(0x23b)],_0x3b5406['deviceOrientation']=_0x2bf35e[_0xe89909(0x252)],_0x3b5406[_0xe89909(0x1d2)]=_0x2bf35e[_0xe89909(0x1dc)],_0x3b5406[_0xe89909(0x219)]=_0x2bf35e[_0xe89909(0x23d)],_0x3b5406[_0xe89909(0x228)]=_0x2bf35e['PvJsZ'],_0x3b5406[_0xe89909(0x220)]=_0x2bf35e[_0xe89909(0x250)],_0x3b5406[_0xe89909(0x224)]=_0x2bf35e[_0xe89909(0x1d6)],_0x3b5406['browserstack.buildProductMap']=_0x2bf35e[_0xe89909(0x22e)],_0x3b5406['browserstack.testhubBuildUuid']=_0x2bf35e['lnBsf'],_0x3b5406[_0xe89909(0x236)]=_0x2bf35e[_0xe89909(0x242)],_0x3b5406['browserstack.accessibilityOptions.scannerVersion']=_0x2bf35e[_0xe89909(0x247)],_0x3b5406['browserstack.accessibilityOptions.scannerProcessingTimeout']=_0x2bf35e[_0xe89909(0x1d0)],_0x3b5406[_0xe89909(0x20a)]=_0x2bf35e[_0xe89909(0x1fa)],_0x3b5406[_0xe89909(0x1cf)]=_0x2bf35e[_0xe89909(0x1e2)],_0x3b5406['browserstack.accessibilityOptions.authToken']=_0x2bf35e[_0xe89909(0x1d7)],_0x3b5406[_0xe89909(0x237)]=_0x2bf35e[_0xe89909(0x1d9)],_0x3b5406['browserstack.enableSim']=_0x2bf35e['fcmSU'],_0x3b5406[_0xe89909(0x1f2)]=_0x2bf35e['rVoRt'],_0x3b5406[_0xe89909(0x238)]=_0x2bf35e[_0xe89909(0x1d3)],_0x3b5406[_0xe89909(0x21a)]=_0x2bf35e[_0xe89909(0x1d8)],_0x3b5406[_0xe89909(0x206)]=_0x2bf35e['Pfmef'],_0x3b5406[_0xe89909(0x204)]=_0x2bf35e[_0xe89909(0x225)],_0x3b5406['browserstack.performance']=_0x2bf35e['xhABN'],_0x3b5406;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a178_0x24c3(){const _0x4706bc=['ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','delete','status','./helpers/logger','2mweSxf','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','hubLatencies','hubs','map','now','pathname','HUB\x20URL\x20SET\x20TO\x20-\x20','KQVfF','url','search','get','replace','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','setGlobal','https://','NEAREST\x20HUBS\x20LIST:\x20','17478gbPfPl','NOAXH','allocateHub','oCRYD','check','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','OoVZM','BoyAK','getRequestOptions','Invalid\x20new\x20HUB\x20URL:\x20','debug','race','length','findLatency','hash','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','has','consumeHubUrlForSession','PCbnk','skipped','resolve','aTOvS','TKXnD','allSettled','/wd/hub','1425HEJfXC','newHubUrlBySession','./bin/utils/constants','LpUeL','GET','BsGqq','\x20HUB\x20-\x20','cQsvX','hubUrl','Cmcfl','nextHubs','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','KYLrd','updateHubUrl','11300DKyhsa','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','data','7931504fscQRi','506133GZoWjw','Execution\x20time\x20for\x20','format','ERROR\x20in\x20hub\x20selection:\x20','value','DdIzm','uSrWQ','then','latency','1014419DWxZuF','prrnV','AgIey','6544045MUJFVv','GeBXk','rXeXi','next_hubs','JUYIg','yqotC','fulfilled','OZdxU','oBKAO','parse','./helpers/helper','catch','set','2583RYuvgn','hubRegion\x20','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','lpVCa','Vhvpd','qYoKP','NXVxT','WpxNg','YGZvY','./helpers/globals','TLequ','29693920AbZFlj','hubRegion','rYipB','winstonLogger'];a178_0x24c3=function(){return _0x4706bc;};return a178_0x24c3();}const a178_0x33f2bb=a178_0x35b0;(function(_0xe8a4ef,_0x500b7b){const _0x29d9c2=a178_0x35b0,_0x5b5c36=_0xe8a4ef();while(!![]){try{const _0x2c6f25=-parseInt(_0x29d9c2(0x169))/0x1*(parseInt(_0x29d9c2(0x18c))/0x2)+-parseInt(_0x29d9c2(0x14e))/0x3*(-parseInt(_0x29d9c2(0x15c))/0x4)+parseInt(_0x29d9c2(0x16c))/0x5+parseInt(_0x29d9c2(0x19d))/0x6*(parseInt(_0x29d9c2(0x179))/0x7)+parseInt(_0x29d9c2(0x15f))/0x8+-parseInt(_0x29d9c2(0x160))/0x9+-parseInt(_0x29d9c2(0x184))/0xa;if(_0x2c6f25===_0x500b7b)break;else _0x5b5c36['push'](_0x5b5c36['shift']());}catch(_0x2d9024){_0x5b5c36['push'](_0x5b5c36['shift']());}}}(a178_0x24c3,0xa546b));const url=require(a178_0x33f2bb(0x195)),util=require('util'),helper=require(a178_0x33f2bb(0x176)),logger=require(a178_0x33f2bb(0x18b))[a178_0x33f2bb(0x187)],constants=require(a178_0x33f2bb(0x150)),globals=require(a178_0x33f2bb(0x182));function a178_0x35b0(_0x4614cc,_0xb84595){const _0x24c391=a178_0x24c3();return a178_0x35b0=function(_0x35b02a,_0x48a5b5){_0x35b02a=_0x35b02a-0x147;let _0x23fcc2=_0x24c391[_0x35b02a];return _0x23fcc2;},a178_0x35b0(_0x4614cc,_0xb84595);}global[a178_0x33f2bb(0x14f)]=global[a178_0x33f2bb(0x14f)]||new Map(),exports[a178_0x33f2bb(0x1a5)]=_0xef34f6=>{const _0x106813=a178_0x33f2bb,_0x1b6d8e={};_0x1b6d8e[_0x106813(0x166)]=function(_0x5ba302,_0x274562){return _0x5ba302+_0x274562;},_0x1b6d8e['cQsvX']=_0x106813(0x1a6);const _0xa5895=_0x1b6d8e,_0x31ebc2=url[_0x106813(0x175)](_0xef34f6);if(!_0x31ebc2['hostname'])throw new Error(_0xa5895[_0x106813(0x166)](_0xa5895[_0x106813(0x155)],_0xef34f6));return _0x31ebc2[_0x106813(0x196)]=null,_0x31ebc2[_0x106813(0x1ab)]=null,_0x31ebc2['path']=_0x31ebc2[_0x106813(0x192)],_0x31ebc2;},exports[a178_0x33f2bb(0x15b)]=(_0x169d7b,_0x161588)=>{const _0x27c9ea=a178_0x33f2bb,_0xc2d560={};_0xc2d560[_0x27c9ea(0x1a0)]=_0x27c9ea(0x17b);const _0x6aaf31=_0xc2d560;if(!_0x161588){logger['debug'](_0x6aaf31['oCRYD']);return;}global[_0x27c9ea(0x14f)][_0x27c9ea(0x178)](_0x161588,_0x169d7b);},exports[a178_0x33f2bb(0x1ae)]=_0x4c2fc5=>{const _0x486a8b=a178_0x33f2bb;if(_0x4c2fc5&&global[_0x486a8b(0x14f)][_0x486a8b(0x1ad)](_0x4c2fc5)){const _0x51153b=global[_0x486a8b(0x14f)][_0x486a8b(0x197)](_0x4c2fc5);return global[_0x486a8b(0x14f)][_0x486a8b(0x189)](_0x4c2fc5),_0x51153b;}return'';},exports[a178_0x33f2bb(0x19f)]=_0x42c29c=>{const _0xc50201=a178_0x33f2bb,_0x47b173={'MjBPe':function(_0x50cd71,_0x443e01){return _0x50cd71!==_0x443e01;},'OoVZM':function(_0x1bb432,_0x400194){return _0x1bb432+_0x400194;},'aTOvS':_0xc50201(0x19b),'Cmcfl':'_hubAllocationData','BsGqq':function(_0x2853d1,_0x11d2d8){return _0x2853d1===_0x11d2d8;},'TLequ':_0xc50201(0x172),'KYLrd':_0xc50201(0x199),'qYoKP':_0xc50201(0x14d),'JUYIg':function(_0x59acd7){return _0x59acd7();},'DdIzm':function(_0x233f3c,_0x3d1812){return _0x233f3c==_0x3d1812;},'TKXnD':function(_0x36d43f){return _0x36d43f();},'lpVCa':function(_0xcfd362){return _0xcfd362();}};return new Promise(_0x5f4b05=>{const _0x14695f=_0xc50201,_0x535261={'Vhvpd':function(_0x1c9cfa){const _0x511ed3=a178_0x35b0;return _0x47b173[_0x511ed3(0x17c)](_0x1c9cfa);}};if(_0x42c29c&&_0x42c29c[_0x14695f(0x185)]){const _0x2f859e=constants['HUB_URL_MAP'][_0x42c29c[_0x14695f(0x185)]];if(_0x2f859e)return constants[_0x14695f(0x156)]=_0x2f859e,logger[_0x14695f(0x1a7)](_0x14695f(0x1a2)+_0x2f859e),globals[_0x14695f(0x19a)](_0x47b173[_0x14695f(0x157)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x2f859e[_0x14695f(0x198)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x14695f(0x191)]()}),_0x47b173[_0x14695f(0x170)](_0x5f4b05);logger[_0x14695f(0x1a7)](_0x14695f(0x17a)+_0x42c29c[_0x14695f(0x185)]+_0x14695f(0x1ac));}Promise[_0x14695f(0x149)](this[_0x14695f(0x158)](_0x42c29c))[_0x14695f(0x167)](_0x38dd18=>{const _0x30dc35=_0x14695f,_0x28466f={'BoyAK':function(_0x21490a,_0x3493be){return _0x47b173['MjBPe'](_0x21490a,_0x3493be);},'YGZvY':function(_0x25189f,_0x2ce99e){const _0x3fa5e2=a178_0x35b0;return _0x47b173[_0x3fa5e2(0x1a3)](_0x25189f,_0x2ce99e);},'GeBXk':_0x47b173[_0x30dc35(0x14a)],'KQVfF':_0x47b173[_0x30dc35(0x157)],'rXeXi':function(_0x18b6ac,_0x305368){const _0x5b34a0=_0x30dc35;return _0x47b173[_0x5b34a0(0x153)](_0x18b6ac,_0x305368);},'OZdxU':_0x47b173[_0x30dc35(0x183)],'mZNSd':_0x47b173[_0x30dc35(0x15a)],'prrnV':_0x47b173[_0x30dc35(0x17e)],'oBKAO':function(_0x2fc48c){const _0xfafa65=_0x30dc35;return _0x47b173[_0xfafa65(0x170)](_0x2fc48c);}};logger['debug'](_0x30dc35(0x19c)+util[_0x30dc35(0x162)]('%j',_0x38dd18));if(_0x47b173[_0x30dc35(0x165)](_0x38dd18,null)||_0x47b173[_0x30dc35(0x153)](_0x38dd18[_0x30dc35(0x1a9)],0x0))return _0x47b173[_0x30dc35(0x14b)](_0x5f4b05);const _0x44d1e7=_0x38dd18[_0x30dc35(0x190)](_0x36841b=>{const _0x564e08=_0x30dc35,_0x405128=_0x28466f['YGZvY'](_0x28466f[_0x564e08(0x16d)],_0x36841b);return this[_0x564e08(0x1aa)](_0x42c29c,_0x405128)[_0x564e08(0x167)](_0x1b6536=>{const _0x12c068=_0x564e08;if(_0x1b6536&&_0x1b6536[_0x12c068(0x156)]&&_0x28466f[_0x12c068(0x1a4)](_0x1b6536['latency'],undefined)){const _0x395276={};return _0x395276[_0x12c068(0x156)]=_0x1b6536['hubUrl'],_0x395276[_0x12c068(0x168)]=_0x1b6536[_0x12c068(0x168)],_0x395276['ok']=!![],_0x395276;}const _0x3c64f7={};return _0x3c64f7[_0x12c068(0x156)]=_0x405128,_0x3c64f7[_0x12c068(0x168)]=null,_0x3c64f7['ok']=![],_0x3c64f7;})[_0x564e08(0x177)](()=>({'hubUrl':_0x405128,'latency':null,'ok':![]}));});Promise[_0x30dc35(0x1a8)](_0x44d1e7['map'](_0x308f82=>_0x308f82[_0x30dc35(0x167)](_0x4ef5b2=>_0x4ef5b2['ok']?_0x4ef5b2:null)))[_0x30dc35(0x167)](_0x3d107a=>{const _0xcdc2a7=_0x30dc35;if(_0x3d107a)return _0x3d107a;return Promise['all'](_0x44d1e7)[_0xcdc2a7(0x167)](()=>null);})[_0x30dc35(0x167)](_0x232154=>{const _0xe03d4e=_0x30dc35;if(!_0x232154){logger['debug'](_0x28466f['mZNSd']);const _0x3e7581=_0x28466f[_0xe03d4e(0x181)](_0x28466f[_0xe03d4e(0x16d)],_0x38dd18[0x0]);return globals[_0xe03d4e(0x19a)](_0x28466f[_0xe03d4e(0x194)],{'nearestHubs':_0x38dd18[_0xe03d4e(0x190)](_0x4bf005=>_0xe03d4e(0x19b)+_0x4bf005),'hubLatencies':{},'selectedHub':_0x3e7581,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0xe03d4e(0x191)]()}),constants[_0xe03d4e(0x156)]=_0x28466f[_0xe03d4e(0x181)](_0x3e7581,_0x28466f[_0xe03d4e(0x16a)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x3e7581),_0x28466f[_0xe03d4e(0x174)](_0x5f4b05);}const _0x3ea4af={[_0x232154['hubUrl']]:_0x232154[_0xe03d4e(0x168)]},_0x5e2acb={'nearestHubs':_0x38dd18[_0xe03d4e(0x190)](_0x465196=>_0xe03d4e(0x19b)+_0x465196),'hubLatencies':_0x3ea4af,'selectedHub':_0x232154[_0xe03d4e(0x156)],'selectedHubLatency':_0x232154[_0xe03d4e(0x168)],'timestamp':Date['now']()};globals[_0xe03d4e(0x19a)](_0x28466f[_0xe03d4e(0x194)],_0x5e2acb),constants[_0xe03d4e(0x156)]=_0x28466f[_0xe03d4e(0x181)](_0x232154[_0xe03d4e(0x156)],_0x28466f[_0xe03d4e(0x16a)]),logger[_0xe03d4e(0x1a7)](_0xe03d4e(0x193)+_0x232154[_0xe03d4e(0x156)]),_0x28466f['oBKAO'](_0x5f4b05),Promise[_0xe03d4e(0x14c)](_0x44d1e7)[_0xe03d4e(0x167)](_0x159f39=>{const _0x2ba4cb=_0xe03d4e;try{const _0x107924=globals['getGlobal'](_0x28466f[_0x2ba4cb(0x194)]);if(!_0x107924||_0x107924[_0x2ba4cb(0x148)])return;const _0x1d09a1={};for(const _0x3c83f4 of _0x159f39){_0x28466f[_0x2ba4cb(0x16e)](_0x3c83f4[_0x2ba4cb(0x18a)],_0x28466f[_0x2ba4cb(0x173)])&&_0x3c83f4[_0x2ba4cb(0x164)]&&_0x3c83f4[_0x2ba4cb(0x164)]['ok']&&(_0x1d09a1[_0x3c83f4[_0x2ba4cb(0x164)][_0x2ba4cb(0x156)]]=_0x3c83f4[_0x2ba4cb(0x164)][_0x2ba4cb(0x168)]);}_0x107924[_0x2ba4cb(0x18e)]=_0x1d09a1;}catch(_0x3dbe9a){logger[_0x2ba4cb(0x1a7)](_0x2ba4cb(0x18d)+_0x3dbe9a);}})[_0xe03d4e(0x177)](_0x2810da=>{const _0x50277a=_0xe03d4e;logger[_0x50277a(0x1a7)](_0x50277a(0x159)+_0x2810da);});})['catch'](_0x5c20d0=>{const _0x2f1f0a=_0x30dc35;logger['debug'](_0x2f1f0a(0x163)+_0x5c20d0),_0x535261[_0x2f1f0a(0x17d)](_0x5f4b05);});})[_0x14695f(0x177)](_0x2a080d=>{const _0x1df444=_0x14695f;logger[_0x1df444(0x1a7)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x2a080d),_0x47b173[_0x1df444(0x170)](_0x5f4b05);});});},exports[a178_0x33f2bb(0x1aa)]=async(_0x431296,_0xcdc677)=>{const _0x29a750=a178_0x33f2bb,_0x156064={};_0x156064[_0x29a750(0x19e)]=_0x29a750(0x152),_0x156064[_0x29a750(0x147)]=_0x29a750(0x1a1),_0x156064[_0x29a750(0x16b)]=function(_0x569956,_0x2bbb27){return _0x569956-_0x2bbb27;};const _0x1a344d=_0x156064;try{const _0xf676bd=new Date();await helper['nodeRequest'](_0x1a344d[_0x29a750(0x19e)],_0x1a344d[_0x29a750(0x147)],{},_0x431296,_0xcdc677,0x1388);const _0x3185bf=_0x1a344d[_0x29a750(0x16b)](new Date(),_0xf676bd);logger[_0x29a750(0x1a7)](_0x29a750(0x161)+_0xcdc677+'\x20is:\x20'+_0x3185bf+'ms');const _0x4388d9={};return _0x4388d9['hubUrl']=_0xcdc677,_0x4388d9[_0x29a750(0x168)]=_0x3185bf,_0x4388d9;}catch(_0x42263b){return logger[_0x29a750(0x1a7)](_0x29a750(0x15d)+_0xcdc677+_0x29a750(0x154)+_0x42263b),{};}},exports[a178_0x33f2bb(0x158)]=async _0x39727c=>{const _0x121594=a178_0x33f2bb,_0x178715={'LpUeL':function(_0x14f0a8,_0x49283b){return _0x14f0a8(_0x49283b);},'yqotC':_0x121594(0x150),'NXVxT':_0x121594(0x14d),'WpxNg':'GET','rYipB':_0x121594(0x16f)};try{const _0x240e91=_0x178715[_0x121594(0x151)](require,_0x178715[_0x121594(0x171)])[_0x121594(0x156)][_0x121594(0x198)](_0x178715[_0x121594(0x17f)],''),_0x2ea8e1=await helper['nodeRequest'](_0x178715[_0x121594(0x180)],_0x178715[_0x121594(0x186)],{},_0x39727c,_0x240e91,0x1388),_0x227ed5=_0x2ea8e1[_0x121594(0x15e)];return logger[_0x121594(0x1a7)]('Response:\x20'+util['format']('%j',_0x227ed5)),_0x227ed5[_0x121594(0x18f)];}catch(_0x1fd0f2){logger[_0x121594(0x1a7)](_0x121594(0x188)+_0x1fd0f2);}return null;};
|
|
1
|
+
const a178_0x1a8cc2=a178_0x20bd;(function(_0x259a86,_0x59e4c9){const _0x47fe5f=a178_0x20bd,_0x4e87d7=_0x259a86();while(!![]){try{const _0x3ee4c7=-parseInt(_0x47fe5f(0x186))/0x1+-parseInt(_0x47fe5f(0x145))/0x2*(parseInt(_0x47fe5f(0x13d))/0x3)+parseInt(_0x47fe5f(0x123))/0x4+-parseInt(_0x47fe5f(0x175))/0x5+parseInt(_0x47fe5f(0x17c))/0x6*(-parseInt(_0x47fe5f(0x127))/0x7)+parseInt(_0x47fe5f(0x188))/0x8+-parseInt(_0x47fe5f(0x12a))/0x9*(-parseInt(_0x47fe5f(0x16f))/0xa);if(_0x3ee4c7===_0x59e4c9)break;else _0x4e87d7['push'](_0x4e87d7['shift']());}catch(_0xba2428){_0x4e87d7['push'](_0x4e87d7['shift']());}}}(a178_0x263f,0x1e72c));function a178_0x263f(){const _0x5557fd=['vneez','setGlobal','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','10gvESuj','NEAREST\x20HUBS\x20LIST:\x20','consumeHubUrlForSession','hubUrl','tKJUT','HuZOX','1185140qjwISv','./bin/utils/constants','Response:\x20','newHubUrlBySession','./helpers/globals','skipped','FGbCj','341652dNBmQV','pathname','latency','HUB_URL_MAP','iTgPv','dMMys','fulfilled','next_hubs','HDTdd','parse','174345yJTPiK','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','889312KvDMVt','delete','length','catch','nextHubs','iKMex','./helpers/logger','443088vCczbW','updateHubUrl','BatdC','qGWvb','14VLThyN','UMSFY','map','4515732xAsXJk','nodeRequest','goyKv','MkiSJ','WPnlw','hubRegion\x20','DHeoP','sxXSA','HUB\x20URL\x20SET\x20TO\x20-\x20','_hubAllocationData','Invalid\x20new\x20HUB\x20URL:\x20','has','then','iTFoF','MGcnx','LbpRj','allocateHub','tspCm','zqwYq','20103bfWzPP','OXFRw','findLatency','getRequestOptions','now','MiSew','otEDg','debug','22gGdJpg','hubLatencies','ySdht','waLbU','ZXqVL','/wd/hub','hubs','resolve','kOJwJ','search','YGqEA','MqKiD','hubRegion','abweM','set','GET','format','race','MdELT','JWqPZ','eTiDB','winstonLogger','getGlobal','data','peFns','xaoYa','hostname','Execution\x20time\x20for\x20','\x20is:\x20','HmXvb','replace','hcElU','./helpers/helper','DSWeR','path','hnkIu','value','PsKlF','get'];a178_0x263f=function(){return _0x5557fd;};return a178_0x263f();}const url=require('url'),util=require('util'),helper=require(a178_0x1a8cc2(0x165)),logger=require(a178_0x1a8cc2(0x122))[a178_0x1a8cc2(0x15a)],constants=require('./bin/utils/constants'),globals=require(a178_0x1a8cc2(0x179));function a178_0x20bd(_0x32e538,_0x414a5c){const _0x263f14=a178_0x263f();return a178_0x20bd=function(_0x20bd26,_0x55baef){_0x20bd26=_0x20bd26-0x121;let _0x5bc172=_0x263f14[_0x20bd26];return _0x5bc172;},a178_0x20bd(_0x32e538,_0x414a5c);}global[a178_0x1a8cc2(0x178)]=global['newHubUrlBySession']||new Map(),exports[a178_0x1a8cc2(0x140)]=_0x55a46a=>{const _0x3b63ef=a178_0x1a8cc2,_0x4f5966={};_0x4f5966['abweM']=function(_0x21d81c,_0x4c3879){return _0x21d81c+_0x4c3879;},_0x4f5966['otEDg']=_0x3b63ef(0x134);const _0x4688c3=_0x4f5966,_0x9daa7b=url[_0x3b63ef(0x185)](_0x55a46a);if(!_0x9daa7b[_0x3b63ef(0x15f)])throw new Error(_0x4688c3[_0x3b63ef(0x152)](_0x4688c3[_0x3b63ef(0x143)],_0x55a46a));return _0x9daa7b[_0x3b63ef(0x14e)]=null,_0x9daa7b['hash']=null,_0x9daa7b[_0x3b63ef(0x167)]=_0x9daa7b[_0x3b63ef(0x17d)],_0x9daa7b;},exports[a178_0x1a8cc2(0x124)]=(_0x3a17a6,_0x4691dd)=>{const _0x377a3a=a178_0x1a8cc2,_0x524e28={};_0x524e28[_0x377a3a(0x138)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x2fb334=_0x524e28;if(!_0x4691dd){logger[_0x377a3a(0x144)](_0x2fb334[_0x377a3a(0x138)]);return;}global[_0x377a3a(0x178)][_0x377a3a(0x153)](_0x4691dd,_0x3a17a6);},exports[a178_0x1a8cc2(0x171)]=_0x389bf1=>{const _0x579b29=a178_0x1a8cc2;if(_0x389bf1&&global['newHubUrlBySession'][_0x579b29(0x135)](_0x389bf1)){const _0x3fc046=global['newHubUrlBySession'][_0x579b29(0x16b)](_0x389bf1);return global[_0x579b29(0x178)][_0x579b29(0x189)](_0x389bf1),_0x3fc046;}return'';},exports[a178_0x1a8cc2(0x13a)]=_0x1924c4=>{const _0x3d859a=a178_0x1a8cc2,_0x433761={'DHeoP':function(_0x113188){return _0x113188();},'DSWeR':function(_0x4b59a7,_0x542e49){return _0x4b59a7!==_0x542e49;},'kOJwJ':function(_0x59b3f2,_0x1e3830){return _0x59b3f2+_0x1e3830;},'peFns':'https://','LbpRj':function(_0x48df1d){return _0x48df1d();},'JWqPZ':_0x3d859a(0x133),'YZTqg':function(_0x432080,_0x522953){return _0x432080===_0x522953;},'HmXvb':_0x3d859a(0x182),'kjWOB':_0x3d859a(0x16e),'xaoYa':function(_0x33e330,_0xf6a0c8){return _0x33e330+_0xf6a0c8;},'hnkIu':_0x3d859a(0x14a),'dMMys':function(_0x5e2b2b){return _0x5e2b2b();},'MiSew':function(_0x128a09,_0x56bf23){return _0x128a09==_0x56bf23;},'goyKv':function(_0x5dcc50,_0x4c5811){return _0x5dcc50===_0x4c5811;}};return new Promise(_0x1406da=>{const _0x2dcebc=_0x3d859a,_0x248701={'iTFoF':function(_0x5d1190,_0x5cf379){const _0x3b8a3f=a178_0x20bd;return _0x433761[_0x3b8a3f(0x166)](_0x5d1190,_0x5cf379);},'qGWvb':function(_0x1c5128,_0x5524b5){const _0xb1c19e=a178_0x20bd;return _0x433761[_0xb1c19e(0x14d)](_0x1c5128,_0x5524b5);},'zqwYq':_0x433761[_0x2dcebc(0x15d)],'UFuTV':function(_0x1eef3d){const _0x477fca=_0x2dcebc;return _0x433761[_0x477fca(0x139)](_0x1eef3d);},'MqKiD':_0x433761[_0x2dcebc(0x158)],'ZXqVL':function(_0x5efca1,_0xd87893){return _0x433761['YZTqg'](_0x5efca1,_0xd87893);},'TmRWt':_0x433761[_0x2dcebc(0x162)],'OXFRw':_0x433761['kjWOB'],'HuZOX':function(_0x3694d0,_0x380f22){const _0x428bec=_0x2dcebc;return _0x433761[_0x428bec(0x15e)](_0x3694d0,_0x380f22);},'hcElU':_0x433761[_0x2dcebc(0x168)],'eTiDB':function(_0x3b8dc3){const _0x49f0b1=_0x2dcebc;return _0x433761[_0x49f0b1(0x181)](_0x3b8dc3);},'PsKlF':function(_0x275732,_0xf31b15){const _0x313c99=_0x2dcebc;return _0x433761[_0x313c99(0x142)](_0x275732,_0xf31b15);},'YGqEA':function(_0x3e04fa,_0x575d81){const _0x519736=_0x2dcebc;return _0x433761[_0x519736(0x12c)](_0x3e04fa,_0x575d81);}};if(_0x1924c4&&_0x1924c4[_0x2dcebc(0x151)]){const _0xc365b0=constants[_0x2dcebc(0x17f)][_0x1924c4[_0x2dcebc(0x151)]];if(_0xc365b0)return constants[_0x2dcebc(0x172)]=_0xc365b0,logger[_0x2dcebc(0x144)]('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0xc365b0),globals[_0x2dcebc(0x16d)](_0x433761[_0x2dcebc(0x158)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0xc365b0[_0x2dcebc(0x163)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x2dcebc(0x141)]()}),_0x433761['dMMys'](_0x1406da);logger[_0x2dcebc(0x144)](_0x2dcebc(0x12f)+_0x1924c4[_0x2dcebc(0x151)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise[_0x2dcebc(0x14c)](this[_0x2dcebc(0x18c)](_0x1924c4))[_0x2dcebc(0x136)](_0x2c0ac9=>{const _0x1282b1=_0x2dcebc,_0x3a2982={'waLbU':_0x248701[_0x1282b1(0x150)],'Rwgle':function(_0x192ee4,_0x7530cc){const _0x288859=_0x1282b1;return _0x248701[_0x288859(0x149)](_0x192ee4,_0x7530cc);},'ncSzr':_0x248701['TmRWt'],'sxXSA':_0x248701[_0x1282b1(0x13e)],'FGbCj':function(_0x44d808,_0x2000eb){const _0x36b12a=_0x1282b1;return _0x248701[_0x36b12a(0x174)](_0x44d808,_0x2000eb);},'vneez':_0x248701[_0x1282b1(0x13c)],'XcWhk':_0x248701[_0x1282b1(0x164)],'UMSFY':function(_0x9754a7){return _0x248701['UFuTV'](_0x9754a7);},'uPufv':function(_0xe943a0){return _0x248701['eTiDB'](_0xe943a0);}};logger[_0x1282b1(0x144)](_0x1282b1(0x170)+util[_0x1282b1(0x155)]('%j',_0x2c0ac9));if(_0x248701[_0x1282b1(0x16a)](_0x2c0ac9,null)||_0x248701[_0x1282b1(0x14f)](_0x2c0ac9[_0x1282b1(0x18a)],0x0))return _0x248701[_0x1282b1(0x159)](_0x1406da);const _0x13d4db=_0x2c0ac9[_0x1282b1(0x129)](_0x21df59=>{const _0xbb55ad=_0x1282b1,_0x314415={'tKJUT':function(_0x2faa1b,_0x29cd26){const _0x30e793=a178_0x20bd;return _0x248701[_0x30e793(0x137)](_0x2faa1b,_0x29cd26);}},_0x5af7c7=_0x248701[_0xbb55ad(0x126)](_0x248701[_0xbb55ad(0x13c)],_0x21df59);return this[_0xbb55ad(0x13f)](_0x1924c4,_0x5af7c7)[_0xbb55ad(0x136)](_0xea55e7=>{const _0x1546b4=_0xbb55ad;if(_0xea55e7&&_0xea55e7[_0x1546b4(0x172)]&&_0x314415[_0x1546b4(0x173)](_0xea55e7['latency'],undefined)){const _0x47d111={};return _0x47d111[_0x1546b4(0x172)]=_0xea55e7[_0x1546b4(0x172)],_0x47d111[_0x1546b4(0x17e)]=_0xea55e7['latency'],_0x47d111['ok']=!![],_0x47d111;}const _0x1f59dc={};return _0x1f59dc[_0x1546b4(0x172)]=_0x5af7c7,_0x1f59dc[_0x1546b4(0x17e)]=null,_0x1f59dc['ok']=![],_0x1f59dc;})['catch'](()=>({'hubUrl':_0x5af7c7,'latency':null,'ok':![]}));});Promise[_0x1282b1(0x156)](_0x13d4db[_0x1282b1(0x129)](_0x242e87=>_0x242e87[_0x1282b1(0x136)](_0x5dbbbf=>_0x5dbbbf['ok']?_0x5dbbbf:null)))[_0x1282b1(0x136)](_0x439200=>{const _0x11497f=_0x1282b1;if(_0x439200)return _0x439200;return Promise['all'](_0x13d4db)[_0x11497f(0x136)](()=>null);})[_0x1282b1(0x136)](_0x5375ce=>{const _0x4824f4=_0x1282b1,_0x135c52={'cjwNR':_0x3a2982[_0x4824f4(0x148)],'iTgPv':function(_0x4a97c1,_0x2a7c2d){return _0x3a2982['Rwgle'](_0x4a97c1,_0x2a7c2d);},'ySdht':_0x3a2982['ncSzr']};if(!_0x5375ce){logger['debug'](_0x3a2982[_0x4824f4(0x131)]);const _0xd9a8b=_0x3a2982[_0x4824f4(0x17b)](_0x3a2982[_0x4824f4(0x16c)],_0x2c0ac9[0x0]);return globals['setGlobal'](_0x3a2982[_0x4824f4(0x148)],{'nearestHubs':_0x2c0ac9[_0x4824f4(0x129)](_0x1b8dbb=>'https://'+_0x1b8dbb),'hubLatencies':{},'selectedHub':_0xd9a8b,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x4824f4(0x141)]()}),constants[_0x4824f4(0x172)]=_0x3a2982['FGbCj'](_0xd9a8b,_0x3a2982['XcWhk']),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0xd9a8b),_0x3a2982[_0x4824f4(0x128)](_0x1406da);}const _0x5701e5={[_0x5375ce[_0x4824f4(0x172)]]:_0x5375ce['latency']},_0x4b6130={'nearestHubs':_0x2c0ac9[_0x4824f4(0x129)](_0x1db761=>'https://'+_0x1db761),'hubLatencies':_0x5701e5,'selectedHub':_0x5375ce[_0x4824f4(0x172)],'selectedHubLatency':_0x5375ce[_0x4824f4(0x17e)],'timestamp':Date[_0x4824f4(0x141)]()};globals[_0x4824f4(0x16d)](_0x3a2982[_0x4824f4(0x148)],_0x4b6130),constants['hubUrl']=_0x3a2982['FGbCj'](_0x5375ce[_0x4824f4(0x172)],_0x3a2982['XcWhk']),logger[_0x4824f4(0x144)](_0x4824f4(0x132)+_0x5375ce['hubUrl']),_0x3a2982['uPufv'](_0x1406da),Promise['allSettled'](_0x13d4db)[_0x4824f4(0x136)](_0x49b75e=>{const _0x5bd5b3=_0x4824f4;try{const _0x24a3b5=globals[_0x5bd5b3(0x15b)](_0x135c52['cjwNR']);if(!_0x24a3b5||_0x24a3b5[_0x5bd5b3(0x17a)])return;const _0x237076={};for(const _0x2e8554 of _0x49b75e){_0x135c52[_0x5bd5b3(0x180)](_0x2e8554['status'],_0x135c52[_0x5bd5b3(0x147)])&&_0x2e8554[_0x5bd5b3(0x169)]&&_0x2e8554['value']['ok']&&(_0x237076[_0x2e8554[_0x5bd5b3(0x169)][_0x5bd5b3(0x172)]]=_0x2e8554[_0x5bd5b3(0x169)]['latency']);}_0x24a3b5[_0x5bd5b3(0x146)]=_0x237076;}catch(_0xc47ded){logger[_0x5bd5b3(0x144)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xc47ded);}})[_0x4824f4(0x18b)](_0x4201ac=>{logger['debug']('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x4201ac);});})['catch'](_0x1785c9=>{logger['debug']('ERROR\x20in\x20hub\x20selection:\x20'+_0x1785c9),_0x248701['UFuTV'](_0x1406da);});})[_0x2dcebc(0x18b)](_0xe086ba=>{const _0x47c8c6=_0x2dcebc;logger[_0x47c8c6(0x144)](_0x47c8c6(0x187)+_0xe086ba),_0x433761[_0x47c8c6(0x130)](_0x1406da);});});},exports[a178_0x1a8cc2(0x13f)]=async(_0x3f3007,_0x3ff5fe)=>{const _0x572968=a178_0x1a8cc2,_0x52e04d={};_0x52e04d[_0x572968(0x184)]=_0x572968(0x154),_0x52e04d[_0x572968(0x12e)]='check',_0x52e04d[_0x572968(0x125)]=function(_0x338025,_0x279812){return _0x338025-_0x279812;};const _0x335f3a=_0x52e04d;try{const _0x5a545d=new Date();await helper[_0x572968(0x12b)](_0x335f3a[_0x572968(0x184)],_0x335f3a['WPnlw'],{},_0x3f3007,_0x3ff5fe,0x1388);const _0x5f1aaf=_0x335f3a[_0x572968(0x125)](new Date(),_0x5a545d);logger[_0x572968(0x144)](_0x572968(0x160)+_0x3ff5fe+_0x572968(0x161)+_0x5f1aaf+'ms');const _0x5442c0={};return _0x5442c0[_0x572968(0x172)]=_0x3ff5fe,_0x5442c0[_0x572968(0x17e)]=_0x5f1aaf,_0x5442c0;}catch(_0x1869d1){return logger[_0x572968(0x144)]('ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'+_0x3ff5fe+'\x20HUB\x20-\x20'+_0x1869d1),{};}},exports[a178_0x1a8cc2(0x18c)]=async _0x5de634=>{const _0x370d18=a178_0x1a8cc2,_0x3900db={'tspCm':function(_0x16eb8e,_0x239d2a){return _0x16eb8e(_0x239d2a);},'vSGtU':_0x370d18(0x176),'iKMex':_0x370d18(0x14a),'MdELT':_0x370d18(0x154),'MkiSJ':_0x370d18(0x183)};try{const _0x34c0e4=_0x3900db[_0x370d18(0x13b)](require,_0x3900db['vSGtU'])['hubUrl']['replace'](_0x3900db[_0x370d18(0x121)],''),_0x422ee7=await helper[_0x370d18(0x12b)](_0x3900db[_0x370d18(0x157)],_0x3900db[_0x370d18(0x12d)],{},_0x5de634,_0x34c0e4,0x1388),_0x31a396=_0x422ee7[_0x370d18(0x15c)];return logger[_0x370d18(0x144)](_0x370d18(0x177)+util[_0x370d18(0x155)]('%j',_0x31a396)),_0x31a396[_0x370d18(0x14b)];}catch(_0x1b90e6){logger['debug']('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x1b90e6);}return null;};
|