browserstack-node-sdk 1.66.4 → 1.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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
|
-
const a175_0x239e9f=a175_0xe199;(function(_0x41c337,_0x55d125){const _0x1d2734=a175_0xe199,_0x6b0e72=_0x41c337();while(!![]){try{const _0x5c67e5=parseInt(_0x1d2734(0x121))/0x1+-parseInt(_0x1d2734(0x168))/0x2+parseInt(_0x1d2734(0x162))/0x3+-parseInt(_0x1d2734(0x160))/0x4*(-parseInt(_0x1d2734(0x1b7))/0x5)+-parseInt(_0x1d2734(0x1a4))/0x6+parseInt(_0x1d2734(0x141))/0x7+-parseInt(_0x1d2734(0x103))/0x8*(parseInt(_0x1d2734(0x186))/0x9);if(_0x5c67e5===_0x55d125)break;else _0x6b0e72['push'](_0x6b0e72['shift']());}catch(_0x442587){_0x6b0e72['push'](_0x6b0e72['shift']());}}}(a175_0x5039,0xa732f));const bsSetupHelper=require(a175_0x239e9f(0x136)),LoadTestModule=require(a175_0x239e9f(0x178)),{isTestObservabilitySession,getFrameworkVersion}=require(a175_0x239e9f(0x12a)),accessibilityHelper=require(a175_0x239e9f(0x133)),logger=require(a175_0x239e9f(0x114))[a175_0x239e9f(0x12d)],{nestedKeyValue}=require('../helper.js'),scripts=require(a175_0x239e9f(0x17b)),globals=require(a175_0x239e9f(0x140)),testHubConstants=require('./constants.js'),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a175_0x239e9f(0xe2)),{FRAMEWORKS}=require(a175_0x239e9f(0xee)),{isTurboScaleSession}=require(a175_0x239e9f(0x118)),OrchestrationUtils=require(a175_0x239e9f(0xf8)),constants=require(a175_0x239e9f(0x155));let testData={};function a175_0x5039(){const _0x11d894=['5353530CXbkkL','isPercyBuild','JASMINE','THWcK','setPercyFlag','uuid','isTrue','rMQSJ','HookRunFinished','stringify','SeULX','hSxRW','BS_A11Y_JWT','zJxQF','ibcSD','config','env','toUpperCase','OBSERVABILITY','27355JYWGEB','JzLAX','JFkHr','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','scripts','../../bin/jasmine/testRunMap.js','BROWSERSTACK_TESTHUB_UUID','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','goog:chromeOptions','ENV_VAR','\x20Build\x20creation\x20failed','accessibilityPlatform','commandsToWrap','../../bin/jest/test-observability/test-details.js','info','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','CODECEPT','EtYln','ysCtc','BS_TESTOPS_BUILD_HASHED_ID','getAgentVersion','EUoHN','getTestFrameworkDetails','isBrowserstackInfra','suFUh','../test-observability/constants.js','ACCESS_DENIED','password','ACCESSIBILITY','IwGPV','observability','EUaHh','uTJCQ','setTestHubCommonMetaInfo','CBTSessionCreated','../test-orchestration/orchestrationUtils.js','assign','string','getCurrentTestData','slice','jwt','getAccessibilityValueFromYml','testManagementOptions','argv','scannerVersion','BROWSERSTACK_SR_AUTOMATION','64XGbrjY','INVALID_CREDENTIALS','toJson','DEPRECATED','key','value','gWCxh','tags','join','keys','commands','oNCav','uZGIa','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','getCentralUser','BROWSERSTACK_TEST_PLAN_ID','handleErrorForAccessibility','../logger','isTurboScaleSession','qiRlH','ERROR','../ats/helper','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','ljVTE','dmdLM','QADYn','null','GISzM','true','jIxtr','1181578EwltSZ','command','setTestObservabilityVariables','includes','yMaNx','vpyhX','bstackA11yShouldScan','XogMV','getBuildStartData','../test-observability/utils','length','BROWSERSTACK_PERCY','winstonLogger','pDodU','XfAUQ','AAnqx','parseA11yJwtPayload','ydjrk','../accessibility-automation/helper','mteHc','PZSEp','../helper','etRNb','VuwAk','NmEvB','tyJyJ','TEST_REPORTING_ANALYTICS','SYYcY','ajbNl','HwxqJ','parse','../globals.js','7615286QCTejB','test_run','ZjsDQ','EiJTV','allow_screenshots','trim','options','accessibility','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','shouldScanTestForAccessibility','4|1|2|5|0|3|6','sr_automation','success','QtUHY',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','zHzDX','isAccessibilityPlatform','SczsV','CoWtb','wgqUG','../../bin/utils/constants.js','getGlobal','startsWith','BS_TESTOPS_JWT','product_map','toString','BROWSERSTACK_PRODUCT_MAP','TestRunStarted','platforms','EknKC','uploadEventData','404txOMUj','percy','1945821nLTSyl','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','rfWwT','debug','split','MOCHA','1721216umOhnK','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','EGRkf','BROWSERSTACK_TESTHUB_UUID:\x20','LtnOI','isAccessibilityEnabled','cVSOP','handleErrorForObservability','EMGld','FRAMEWORK_DETAILS','PoqMz','build_hashed_id','false','message','nonBStackInfraA11yChromeOptions','CREDENTIALS_FOR_CRASH_REPORTING','../../bin/v2/modules/loadTestModule','XGSUz','cIHMX','../accessibility-automation/scripts.js','isAppAutomateSession','logBuildError','errors','EpvYp','isLTSSession','zgfho','getTestPlanId','AFMkx','getProductMap','hMxxc','1162062NkuDum','HookRunStarted','BROWSERSTACK_TESTHUB_JWT','cflhY','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','titlePath','name','LogCreated','Hdoyn','getAccessibilityPlatformValidation','JEST','fMgQD','getFrameworkDetails','qoFmZ','BS_TESTOPS_ALLOW_SCREENSHOTS','isRunning','NQKjC','lScHz','username','BROWSERSTACK_TEST_ACCESSIBILITY_YML','CUCUMBER','error','4|2|3|1|5|0','BROWSERSTACK_ACCESSIBILITY','BS_TESTOPS_BUILD_COMPLETED','NYTHG','capabilities','xbHMe','XNyLS','appendTesthubParams'];a175_0x5039=function(){return _0x11d894;};return a175_0x5039();}exports[a175_0x239e9f(0x184)]=_0x407613=>{const _0x5eba29=a175_0x239e9f,_0x3c7ec1={'pDodU':function(_0x1323e7){return _0x1323e7();},'gjcxa':function(_0xd0843e,_0x278d53){return _0xd0843e===_0x278d53;},'SeULX':_0x5eba29(0x11f)};let _0x1bdd8f=![],_0x5d883f=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper['isAppAutomateSession'](_0x407613))_0x5d883f=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x1bdd8f=!![]);return Object[_0x5eba29(0xf9)]({'observability':_0x3c7ec1[_0x5eba29(0x12e)](isTestObservabilitySession),'accessibility':exports[_0x5eba29(0x16d)](_0x407613),'percy':_0x407613['percy']||![],'sr_automation':_0x3c7ec1['gjcxa'](process['env']['BROWSERSTACK_SR_AUTOMATION'],_0x3c7ec1[_0x5eba29(0x1ae)])||_0x407613[_0x5eba29(0x14c)]||![],'automate':_0x1bdd8f,'app_automate':_0x5d883f,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x407613),'lts':LoadTestModule[_0x5eba29(0x180)](_0x407613)},bsSetupHelper[_0x5eba29(0x111)]());},exports[a175_0x239e9f(0x192)]=(_0x3f6793,_0x3b335d)=>{const _0x180b06=a175_0x239e9f,_0x2da50e={'NYTHG':function(_0x4ff3cb,_0x139442){return _0x4ff3cb(_0x139442);},'PoqMz':'javascript'},_0x216870={'frameworkName':_0x3b335d,'frameworkVersion':_0x2da50e[_0x180b06(0x19f)](getFrameworkVersion,_0x3b335d),'sdkVersion':bsSetupHelper[_0x180b06(0xe9)](),'language':_0x2da50e[_0x180b06(0x172)],'testFramework':bsSetupHelper[_0x180b06(0xeb)](_0x3f6793,_0x3b335d)};return process[_0x180b06(0x1b4)][_0x180b06(0x171)]=JSON[_0x180b06(0x1ad)](_0x216870),_0x216870;},exports[a175_0x239e9f(0x1a8)]=_0x460f80=>{const _0x4c2179=a175_0x239e9f,_0x4d91f3={};_0x4d91f3['etRNb']=_0x4c2179(0x174),_0x4d91f3[_0x4c2179(0x135)]=_0x4c2179(0x11f);const _0x1d8112=_0x4d91f3;process[_0x4c2179(0x1b4)]['BROWSERSTACK_PERCY']=_0x1d8112[_0x4c2179(0x137)],bsSetupHelper[_0x4c2179(0x1aa)](_0x460f80[_0x4c2179(0x1b3)][_0x4c2179(0x161)])&&(!_0x460f80[_0x4c2179(0x161)]||!_0x460f80[_0x4c2179(0x161)][_0x4c2179(0x195)]())&&(process[_0x4c2179(0x1b4)][_0x4c2179(0x12c)]=_0x1d8112[_0x4c2179(0x135)]);},exports[a175_0x239e9f(0x1a5)]=()=>{const _0x34e1f3=a175_0x239e9f;return bsSetupHelper[_0x34e1f3(0x1aa)](process[_0x34e1f3(0x1b4)][_0x34e1f3(0x12c)]);},exports[a175_0x239e9f(0x16d)]=(_0x14b92d={})=>{const _0x2137b8=a175_0x239e9f,_0x4f79f2={};_0x4f79f2[_0x2137b8(0x191)]=function(_0x24e631,_0x4678e5){return _0x24e631!==_0x4678e5;},_0x4f79f2[_0x2137b8(0x181)]=function(_0x1fa4e6,_0x4ad2c0){return _0x1fa4e6===_0x4ad2c0;},_0x4f79f2[_0x2137b8(0x153)]=_0x2137b8(0x11f),_0x4f79f2['jIxtr']=function(_0x4e13ed,_0x42e5b2){return _0x4e13ed>_0x42e5b2;};const _0x3bd6ba=_0x4f79f2;if(_0x3bd6ba['fMgQD'](process['env'][_0x2137b8(0x19d)],undefined))return bsSetupHelper[_0x2137b8(0x1aa)](process[_0x2137b8(0x1b4)][_0x2137b8(0x19d)]);let _0x5579a1=_0x3bd6ba[_0x2137b8(0x181)](process[_0x2137b8(0x1b4)][_0x2137b8(0x199)],_0x3bd6ba[_0x2137b8(0x153)]);return _0x3bd6ba[_0x2137b8(0x120)](Object[_0x2137b8(0x10c)](_0x14b92d)[_0x2137b8(0x12b)],0x0)&&(process[_0x2137b8(0x1b4)][_0x2137b8(0xe4)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x14b92d)),_0x5579a1=_0x5579a1||_0x3bd6ba['zgfho'](process[_0x2137b8(0x1b4)][_0x2137b8(0xe4)],_0x3bd6ba[_0x2137b8(0x153)]),_0x5579a1;},exports[a175_0x239e9f(0x123)]=(_0x4bf6c9,_0x26b7a5)=>{const _0x32e505=a175_0x239e9f,_0x33511c={'siAap':function(_0x2edaba){return _0x2edaba();},'nfkYQ':_0x32e505(0x19c),'SYYcY':function(_0x14326f,_0x16d59a,_0x4c4799){return _0x14326f(_0x16d59a,_0x4c4799);},'mteHc':'observability','wgqUG':_0x32e505(0x147),'wHSss':'true'};if(!_0x4bf6c9||!_0x4bf6c9[_0x32e505(0xf3)])return exports[_0x32e505(0x16f)](),[null,null,null];if(!_0x4bf6c9[_0x32e505(0xf3)][_0x32e505(0x14d)])return exports[_0x32e505(0x16f)](_0x4bf6c9['observability']),[null,null,null];if(_0x33511c['siAap'](isTestObservabilitySession)){const _0x4aea7f=_0x33511c['nfkYQ'][_0x32e505(0x166)]('|');let _0xc9d925=0x0;while(!![]){switch(_0x4aea7f[_0xc9d925++]){case'0':return[_0x4bf6c9[_0x32e505(0xfd)],_0x4bf6c9[_0x32e505(0x173)],process[_0x32e505(0x1b4)]['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'1':_0x33511c[_0x32e505(0x13c)](nestedKeyValue,_0x4bf6c9,[_0x33511c[_0x32e505(0x134)],_0x33511c[_0x32e505(0x154)]])&&(process[_0x32e505(0x1b4)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x4bf6c9['observability']['options'][_0x32e505(0x145)][_0x32e505(0x15a)]());continue;case'2':if(_0x4bf6c9[_0x32e505(0xfd)]){process[_0x32e505(0x1b4)]['BS_TESTOPS_JWT']=_0x4bf6c9[_0x32e505(0xfd)];const _0x4c9f10={};_0x4c9f10[_0x32e505(0x198)]=_0x26b7a5[_0x32e505(0x198)],_0x4c9f10[_0x32e505(0xf0)]=_0x26b7a5[_0x32e505(0xf0)],process[_0x32e505(0x1b4)][_0x32e505(0x177)]=JSON[_0x32e505(0x1ad)](_0x4c9f10);}continue;case'3':_0x4bf6c9[_0x32e505(0x173)]&&(process[_0x32e505(0x1b4)][_0x32e505(0xe8)]=_0x4bf6c9[_0x32e505(0x173)]);continue;case'4':process[_0x32e505(0x1b4)][_0x32e505(0x19e)]=_0x33511c['wHSss'];continue;case'5':logger[_0x32e505(0x165)]('['+constants[_0x32e505(0x13b)]+_0x32e505(0x14f)+_0x4bf6c9[_0x32e505(0x173)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x42c22a=>{const _0x188d8f=a175_0x239e9f,_0x1ff825={'uTJCQ':function(_0x4fd184,_0x2b9c31,_0x1923e9){return _0x4fd184(_0x2b9c31,_0x1923e9);},'NmEvB':'accessibility','ebMtp':_0x188d8f(0x147),'XNyLS':function(_0x50ae18,_0x11eb32,_0x25e894,_0x11f14f){return _0x50ae18(_0x11eb32,_0x25e894,_0x11f14f);},'JzLAX':_0x188d8f(0x18c),'qoFmZ':_0x188d8f(0x108),'EpvYp':_0x188d8f(0x122),'JFkHr':_0x188d8f(0x10d),'LtnOI':function(_0x109083,_0x44a525,_0x2b64f8,_0x43b989){return _0x109083(_0x44a525,_0x2b64f8,_0x43b989);},'rMQSJ':_0x188d8f(0x176),'zJxQF':_0x188d8f(0x1bf),'XogMV':function(_0x3d2403,_0x3f2463){return _0x3d2403(_0x3f2463);},'EtYln':function(_0x323517,_0x4d0de3){return _0x323517===_0x4d0de3;},'EiJTV':'true','EUoHN':_0x188d8f(0x169)};if(!_0x42c22a[_0x188d8f(0x148)])return exports[_0x188d8f(0x113)](),[null,null];if(!_0x42c22a[_0x188d8f(0x148)][_0x188d8f(0x14d)])return exports['handleErrorForAccessibility'](_0x42c22a[_0x188d8f(0x148)]),[null,null];if(_0x1ff825[_0x188d8f(0xf5)](nestedKeyValue,_0x42c22a,[_0x1ff825[_0x188d8f(0x139)],_0x1ff825['ebMtp']])){const {accessibilityToken:_0x464a82,scannerVersion:_0xda1d9c,scannerProcessingTimeout:_0x1f08be,isMobileScanningEnabledForGroup:_0x556a4e}=_0x1ff825[_0x188d8f(0x1a2)](jsonifyAccessibilityArray,_0x42c22a[_0x188d8f(0x148)][_0x188d8f(0x147)][_0x188d8f(0x1a0)],_0x1ff825[_0x188d8f(0x1b8)],_0x1ff825[_0x188d8f(0x193)]),_0x457b09={'scripts':_0x1ff825[_0x188d8f(0x1a2)](jsonifyAccessibilityArray,_0x42c22a['accessibility']['options'][_0x188d8f(0x1bb)],_0x1ff825[_0x188d8f(0x1b8)],_0x1ff825[_0x188d8f(0x17f)])};_0x457b09[_0x1ff825[_0x188d8f(0x1b9)]]=_0x42c22a[_0x188d8f(0x148)][_0x188d8f(0x147)][_0x188d8f(0xe1)][_0x188d8f(0x10d)];const _0x2b1fd7=_0x1ff825[_0x188d8f(0x16c)](jsonifyAccessibilityArray,_0x42c22a['accessibility'][_0x188d8f(0x147)]['capabilities'],_0x1ff825['JzLAX'],_0x1ff825['qoFmZ']);_0x457b09[_0x1ff825[_0x188d8f(0x1ab)]]=_0x2b1fd7[_0x1ff825[_0x188d8f(0x1b1)]],scripts['parseFromJson'](_0x457b09),scripts[_0x188d8f(0x105)]();let _0x472b0c=process[_0x188d8f(0x1b4)][_0x188d8f(0x1be)];_0x472b0c=!!_0x472b0c?JSON[_0x188d8f(0x13f)](_0x472b0c):{},_0x472b0c[_0x188d8f(0x101)]=_0xda1d9c,process['env'][_0x188d8f(0x1be)]=JSON[_0x188d8f(0x1ad)](_0x472b0c),process[_0x188d8f(0x1b4)][_0x188d8f(0x1b0)]=_0x464a82,process['env'][_0x188d8f(0x163)]=_0x1ff825[_0x188d8f(0x128)](String,_0x1ff825['EtYln'](_0x556a4e,!![])||_0x1ff825[_0x188d8f(0xe6)](_0x556a4e,_0x1ff825[_0x188d8f(0x144)])),logger[_0x188d8f(0x165)](_0x188d8f(0x18a)+_0x42c22a['build_hashed_id']);const _0x5b08cb=accessibilityHelper[_0x188d8f(0x131)](_0x464a82);return _0x5b08cb&&bsSetupHelper[_0x188d8f(0x1aa)](_0x5b08cb['skipCDPConnectOverride'])&&(process[_0x188d8f(0x1b4)][_0x188d8f(0x149)]=!![],logger['debug'](_0x1ff825[_0x188d8f(0xea)])),[_0x464a82,_0x42c22a[_0x188d8f(0x173)],_0x1f08be];}return[null,null];},exports[a175_0x239e9f(0x16f)]=_0x1e4a3b=>{const _0x551d29=a175_0x239e9f,_0xb01c33={};_0xb01c33[_0x551d29(0x196)]=_0x551d29(0x14b),_0xb01c33['EknKC']=_0x551d29(0x11d),_0xb01c33[_0x551d29(0x183)]=_0x551d29(0x174);const _0x475cd8=_0xb01c33,_0x46fac3=_0x475cd8[_0x551d29(0x196)][_0x551d29(0x166)]('|');let _0x5af32c=0x0;while(!![]){switch(_0x46fac3[_0x5af32c++]){case'0':process['env'][_0x551d29(0xe8)]=_0x475cd8[_0x551d29(0x15e)];continue;case'1':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x475cd8[_0x551d29(0x15e)];continue;case'2':process[_0x551d29(0x1b4)][_0x551d29(0x19e)]=_0x475cd8[_0x551d29(0x183)];continue;case'3':process[_0x551d29(0x1b4)][_0x551d29(0x194)]=_0x475cd8[_0x551d29(0x15e)];continue;case'4':process[_0x551d29(0x1b4)]['BROWSERSTACK_TESTHUB_UUID']=_0x475cd8[_0x551d29(0x15e)];continue;case'5':process[_0x551d29(0x1b4)][_0x551d29(0x158)]=_0x475cd8[_0x551d29(0x15e)];continue;case'6':exports[_0x551d29(0x17d)](_0x1e4a3b,testHubConstants[_0x551d29(0x1b6)]);continue;}break;}},exports[a175_0x239e9f(0x113)]=_0x2b9e1c=>{const _0x3b2dda=a175_0x239e9f,_0xe21228={};_0xe21228[_0x3b2dda(0x116)]='0|4|3|2|1',_0xe21228[_0x3b2dda(0x17a)]=_0x3b2dda(0x11d),_0xe21228[_0x3b2dda(0x11b)]=_0x3b2dda(0x174);const _0x16b845=_0xe21228,_0x4d9706=_0x16b845[_0x3b2dda(0x116)][_0x3b2dda(0x166)]('|');let _0x43df04=0x0;while(!![]){switch(_0x4d9706[_0x43df04++]){case'0':process['env'][_0x3b2dda(0x1bd)]=_0x16b845[_0x3b2dda(0x17a)];continue;case'1':exports['logBuildError'](_0x2b9e1c,testHubConstants[_0x3b2dda(0xf1)]);continue;case'2':process[_0x3b2dda(0x1b4)][_0x3b2dda(0xe4)]=_0x16b845[_0x3b2dda(0x11b)];continue;case'3':process[_0x3b2dda(0x1b4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x16b845['dmdLM'];continue;case'4':process[_0x3b2dda(0x1b4)][_0x3b2dda(0x188)]=_0x16b845[_0x3b2dda(0x17a)];continue;}break;}},exports[a175_0x239e9f(0x17d)]=(_0xfa1336,_0x57eb8c='')=>{const _0x4cf332=a175_0x239e9f,_0x332fc3={};_0x332fc3[_0x4cf332(0x126)]=function(_0x4c5dea,_0x1a7046){return _0x4c5dea===_0x1a7046;};const _0x3f4576=_0x332fc3;if(_0x3f4576[_0x4cf332(0x126)](_0xfa1336,undefined)){logger['error'](_0x57eb8c[_0x4cf332(0x1b5)]()+_0x4cf332(0xdf));return;}for(const _0x4747aa of _0xfa1336[_0x4cf332(0x17e)]){const _0xd45ab=_0x4747aa[_0x4cf332(0x107)],_0x5814ea=_0x4747aa[_0x4cf332(0x175)];if(_0x5814ea)switch(_0xd45ab){case testHubConstants[_0x4cf332(0x117)][_0x4cf332(0x104)]:logger[_0x4cf332(0x19b)](_0x5814ea);break;case testHubConstants['ERROR'][_0x4cf332(0xef)]:logger[_0x4cf332(0xe3)](_0x5814ea);break;case testHubConstants[_0x4cf332(0x117)][_0x4cf332(0x106)]:logger[_0x4cf332(0x19b)](_0x5814ea);break;default:logger[_0x4cf332(0x19b)](_0x5814ea);}}};const jsonifyAccessibilityArray=(_0x52b64c,_0x343ea3,_0x52d380)=>{const _0x253768={};return _0x52b64c['forEach'](_0x55989d=>{_0x253768[_0x55989d[_0x343ea3]]=_0x55989d[_0x52d380];}),_0x253768;};exports[a175_0x239e9f(0xf6)]=_0x2028cc=>{const _0x371ff2=a175_0x239e9f;_0x2028cc[_0x371ff2(0xfd)]&&(process[_0x371ff2(0x1b4)]['BROWSERSTACK_TESTHUB_JWT']=_0x2028cc['jwt']);_0x2028cc[_0x371ff2(0x173)]&&(process[_0x371ff2(0x1b4)][_0x371ff2(0x1bd)]=_0x2028cc[_0x371ff2(0x173)],logger[_0x371ff2(0x165)](_0x371ff2(0x16b)+_0x2028cc[_0x371ff2(0x173)]));;},exports['shouldProcessEventForTesthub']=(_0xc5f601='',_0x451c33='')=>{const _0xd269d8=a175_0x239e9f,_0x8d9618={'SczsV':function(_0x3811f5){return _0x3811f5();},'ZiRFK':function(_0x58846d,_0x4abd35){return _0x58846d===_0x4abd35;},'EMGld':_0xd269d8(0x15f),'BXWKa':_0xd269d8(0x18d),'TQzGG':_0xd269d8(0xf7),'XGSUz':function(_0x44e778){return _0x44e778();},'rfWwT':_0xd269d8(0x187),'QADYn':_0xd269d8(0x1ac)};if(exports['isPercyBuild']()&&!exports['isAccessibilityEnabled']()&&!_0x8d9618[_0xd269d8(0x152)](isTestObservabilitySession)){if(_0x8d9618['ZiRFK'](_0x451c33,_0x8d9618[_0xd269d8(0x170)]))return![];if([_0x8d9618['BXWKa'],_0x8d9618['TQzGG']]['includes'](_0xc5f601))return![];return!![];}if(exports[_0xd269d8(0x16d)]()&&!_0x8d9618[_0xd269d8(0x179)](isTestObservabilitySession)){if([_0x8d9618[_0xd269d8(0x164)],_0x8d9618[_0xd269d8(0x11c)],_0x8d9618['BXWKa']][_0xd269d8(0x124)](_0xc5f601))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x8d9618[_0xd269d8(0x152)](isTestObservabilitySession)||exports[_0xd269d8(0x1a5)]();},exports[a175_0x239e9f(0x1a3)]=(_0x57d77d,_0x350920,_0x460dd5='',_0x471c57)=>{const _0x17a444=a175_0x239e9f,_0x5a4668={'sCJie':_0x17a444(0x187),'HwxqJ':_0x17a444(0x1ac),'suFUh':function(_0x29474a,_0x4c801e){return _0x29474a===_0x4c801e;},'AAnqx':_0x17a444(0x127),'QtUHY':_0x17a444(0x151),'hSxRW':_0x17a444(0x148),'EUaHh':function(_0x8435da,_0x576243){return _0x8435da&&_0x576243;},'tyJyJ':function(_0x224965,_0x22bc43){return _0x224965===_0x22bc43;},'vbNWG':function(_0x53f9a2,_0x218e50){return _0x53f9a2+_0x218e50;},'ysCtc':function(_0x3430f6,_0x115e03){return _0x3430f6+_0x115e03;},'yMaNx':function(_0x3f2e43,_0x1e6ebb){return _0x3f2e43===_0x1e6ebb;},'oNCav':function(_0x3140ad,_0x55aeee){return _0x3140ad(_0x55aeee);},'cflhY':_0x17a444(0x1bc),'KSaVH':function(_0xb33f2,_0x2bea0d){return _0xb33f2+_0x2bea0d;},'xKqGj':function(_0x5be7bd,_0x51f704){return _0x5be7bd!==_0x51f704;},'llKJO':_0x17a444(0x15c),'ibcSD':function(_0x29a886,_0x495573){return _0x29a886===_0x495573;},'THWcK':_0x17a444(0x159)};if([_0x5a4668['sCJie'],_0x5a4668[_0x17a444(0x13e)]]['includes'](_0x350920))return;let _0x1f6d7a={};try{process[_0x17a444(0x1b4)][_0x17a444(0x15b)]&&(_0x1f6d7a=JSON[_0x17a444(0x13f)](process[_0x17a444(0x1b4)]['BROWSERSTACK_PRODUCT_MAP'])||{});}catch(_0x2f4289){logger['debug'](_0x17a444(0x1ba)+_0x2f4289),_0x1f6d7a={};}if(exports['isAccessibilityEnabled']()){if(_0x5a4668[_0x17a444(0xed)](_0x471c57,FRAMEWORKS[_0x17a444(0x167)])){const _0x22f50d=globals['getGlobal'](_0x5a4668['AAnqx'])||accessibilityHelper[_0x17a444(0x14a)](_0x460dd5[_0x17a444(0x18b)](),!![]),_0x292240=globals['getGlobal'](_0x5a4668[_0x17a444(0x14e)]);_0x1f6d7a[_0x5a4668[_0x17a444(0x1af)]]=_0x5a4668[_0x17a444(0xf4)](_0x292240,_0x22f50d);}if(_0x5a4668[_0x17a444(0x13a)](_0x471c57,FRAMEWORKS['JEST'])){const _0x254626=_0x5a4668['vbNWG'](_0x5a4668[_0x17a444(0xe7)](_0x57d77d['scopes'][_0x17a444(0x10b)]('\x20'),'\x20'),_0x460dd5[_0x17a444(0x18c)]),_0x1b3f9b=globals['getGlobal'](_0x5a4668['AAnqx'])||accessibilityHelper[_0x17a444(0x14a)](_0x254626,![]),_0x30eac3=browserStackGlobals['isAccessibilityPlatform'];_0x1f6d7a[_0x5a4668[_0x17a444(0x1af)]]=_0x5a4668['EUaHh'](_0x30eac3,_0x1b3f9b);}if(_0x5a4668[_0x17a444(0x125)](_0x471c57,FRAMEWORKS[_0x17a444(0x1a6)])){const _0x226926=_0x5a4668[_0x17a444(0x10e)](require,_0x5a4668[_0x17a444(0x189)]),_0x2ef3ad=_0x460dd5&&_0x226926['get'](_0x460dd5['id'])||_0x57d77d['uuid'];_0x2ef3ad&&(_0x57d77d[_0x17a444(0x1a9)]=_0x2ef3ad);const _0x329aac=_0x5a4668['vbNWG'](_0x5a4668['KSaVH'](_0x57d77d['scopes']['join']('\x20'),'\x20'),_0x460dd5['description']||_0x57d77d[_0x17a444(0x18c)]),_0x3bc1ef=globals['getGlobal'](_0x5a4668[_0x17a444(0x130)])||accessibilityHelper[_0x17a444(0x14a)](_0x329aac,![]),_0x599c54=globals['getGlobal'](_0x5a4668[_0x17a444(0x14e)]);_0x1f6d7a[_0x5a4668[_0x17a444(0x1af)]]=_0x5a4668[_0x17a444(0xf4)](_0x599c54,_0x3bc1ef);}_0x5a4668[_0x17a444(0x125)](_0x471c57,FRAMEWORKS['PLAYWRIGHT'])&&_0x5a4668['xKqGj'](_0x350920,_0x5a4668['llKJO'])&&(_0x1f6d7a[_0x5a4668[_0x17a444(0x1af)]]=PWTestDetails[_0x17a444(0x18f)](_0x57d77d['uuid']));if(_0x5a4668[_0x17a444(0x1b2)](_0x471c57,FRAMEWORKS[_0x17a444(0xe5)])){const _0x10bf13=accessibilityHelper['shouldScanTestForAccessibility'](_0x460dd5[_0x17a444(0x18b)](),!![]),_0x43901d=global[_0x17a444(0xe0)];_0x1f6d7a[_0x5a4668[_0x17a444(0x1af)]]=_0x5a4668[_0x17a444(0xf4)](_0x43901d,_0x10bf13);}if(_0x5a4668[_0x17a444(0x13a)](_0x471c57,FRAMEWORKS[_0x17a444(0x19a)])){const _0x36b555=accessibilityHelper[_0x17a444(0x14a)](null,![],_0x57d77d[_0x17a444(0x10a)]),_0x2a9752=globals[_0x17a444(0x156)](_0x5a4668['QtUHY']);_0x1f6d7a[_0x5a4668[_0x17a444(0x1af)]]=_0x5a4668[_0x17a444(0xf4)](_0x2a9752,_0x36b555);}}_0x57d77d[_0x5a4668[_0x17a444(0x1a7)]]=_0x1f6d7a;},exports[a175_0x239e9f(0xfb)]=_0xcd0965=>{const _0x5bdcd7=a175_0x239e9f,_0xb4f2b2={};_0xb4f2b2[_0x5bdcd7(0x197)]=function(_0x36de39,_0x2bcf78){return _0x36de39>_0x2bcf78;},_0xb4f2b2[_0x5bdcd7(0x10f)]=function(_0x4870c6,_0x23d462){return _0x4870c6>_0x23d462;};const _0x358388=_0xb4f2b2;let _0x5d0069={};if(_0x358388[_0x5bdcd7(0x197)](Object[_0x5bdcd7(0x10c)](testData)['length'],0x0))return testData;_0x5d0069=JestTestDetails['getTestData']();if(_0x358388[_0x5bdcd7(0x10f)](Object[_0x5bdcd7(0x10c)](_0x5d0069)[_0x5bdcd7(0x12b)],0x0))return _0x5d0069;return _0x5d0069;},exports['setCurrentTestData']=(_0x5c9cfc,_0x206dd7={})=>{const _0x435f87=a175_0x239e9f;if(bsSetupHelper['isUndefined'](_0x206dd7[_0x435f87(0x142)]))return;switch(_0x5c9cfc){case FRAMEWORKS[_0x435f87(0x167)]:testData=_0x206dd7[_0x435f87(0x142)];break;case FRAMEWORKS[_0x435f87(0x190)]:JestTestDetails['setTestData'](_0x206dd7[_0x435f87(0x142)]);break;case FRAMEWORKS[_0x435f87(0x1a6)]:testData=_0x206dd7['test_run'];break;default:break;}},exports[a175_0x239e9f(0xfe)]=_0xbdf37e=>{const _0x459c7a=a175_0x239e9f,_0xc5963a={};_0xc5963a[_0x459c7a(0x150)]=function(_0x140296,_0xe23d2e){return _0x140296!==_0xe23d2e;},_0xc5963a['GISzM']=function(_0x791988,_0x5f13f6){return _0x791988!==_0x5f13f6;};const _0x3a515f=_0xc5963a;if(_0x3a515f[_0x459c7a(0x150)](_0xbdf37e[_0x459c7a(0x148)],null)&&_0x3a515f[_0x459c7a(0x11e)](_0xbdf37e[_0x459c7a(0x148)],undefined))return _0xbdf37e['accessibility'];let _0x19c337=![],_0x2f5feb=![];if(_0xbdf37e[_0x459c7a(0x15d)])for(const _0x1b585f of _0xbdf37e['platforms']){_0x3a515f[_0x459c7a(0x150)](_0x1b585f[_0x459c7a(0x148)],null)&&_0x3a515f['zHzDX'](_0x1b585f[_0x459c7a(0x148)],undefined)&&(_0x19c337=_0x19c337||bsSetupHelper['isTrue'](_0x1b585f[_0x459c7a(0x148)]),_0x2f5feb=!![]);}if(_0x2f5feb)return _0x19c337;return null;},exports['getTestOrchestrationBuildStartData']=_0x3b493=>{const _0x29db53=a175_0x239e9f;if(!_0x3b493)return{};const _0x1b2412=new OrchestrationUtils(_0x3b493);return _0x1b2412[_0x29db53(0x129)]();},exports['getProductMapForBuildStartCall']=_0x180766=>{const _0x20ba4e=a175_0x239e9f,_0x3b8126={'ajbNl':function(_0x2a935f){return _0x2a935f();},'cVSOP':function(_0x17df8d,_0x46555c){return _0x17df8d===_0x46555c;},'ZjsDQ':'true'};let _0x321f3b=![],_0x399215=![];if(bsSetupHelper[_0x20ba4e(0xec)]()&&bsSetupHelper[_0x20ba4e(0x17c)](_0x180766))_0x399215=!![];else bsSetupHelper[_0x20ba4e(0xec)]()&&(_0x321f3b=!![]);return Object[_0x20ba4e(0xf9)]({'observability':_0x3b8126[_0x20ba4e(0x13d)](isTestObservabilitySession),'accessibility':exports[_0x20ba4e(0xfe)](_0x180766),'percy':_0x180766[_0x20ba4e(0x161)]||![],'sr_automation':_0x3b8126[_0x20ba4e(0x16e)](process[_0x20ba4e(0x1b4)][_0x20ba4e(0x102)],_0x3b8126[_0x20ba4e(0x143)])||_0x180766['sr_automation']||![],'automate':_0x321f3b,'app_automate':_0x399215,'turboscale':bsSetupHelper[_0x20ba4e(0x115)](_0x180766),'lts':LoadTestModule[_0x20ba4e(0x180)](_0x180766)},bsSetupHelper['getCentralUser']());};const normalizeTestPlanId=_0x2f73a6=>{const _0x231985=a175_0x239e9f,_0x551d90={};_0x551d90['Hdoyn']=function(_0x3381c6,_0x1cf0ed){return _0x3381c6!==_0x1cf0ed;},_0x551d90[_0x231985(0x11a)]=_0x231985(0xfa),_0x551d90['VuwAk']=function(_0x112124,_0x530710){return _0x112124>_0x530710;};const _0x49c085=_0x551d90;if(_0x49c085[_0x231985(0x18e)](typeof _0x2f73a6,_0x49c085[_0x231985(0x11a)]))return undefined;const _0x5aa2e6=_0x2f73a6[_0x231985(0x146)]();return _0x49c085[_0x231985(0x138)](_0x5aa2e6[_0x231985(0x12b)],0x0)?_0x5aa2e6:undefined;},readTestPlanIdFromCliArgs=(_0x84fbf7=process[a175_0x239e9f(0x100)])=>{const _0x40716b=a175_0x239e9f,_0x5c2bb8={};_0x5c2bb8['xbHMe']=function(_0x3f673f,_0x2b8bfd){return _0x3f673f<_0x2b8bfd;},_0x5c2bb8['ydjrk']=function(_0x4c1084,_0x673b71){return _0x4c1084===_0x673b71;},_0x5c2bb8[_0x40716b(0x16a)]=function(_0x4a35af,_0x22a1db){return _0x4a35af+_0x22a1db;};const _0x5c90b2=_0x5c2bb8,_0x5bd3f4='--'+testHubConstants[_0x40716b(0x119)];for(let _0x282d13=0x0;_0x5c90b2[_0x40716b(0x1a1)](_0x282d13,_0x84fbf7['length']);_0x282d13+=0x1){const _0xf538a1=_0x84fbf7[_0x282d13];if(_0x5c90b2[_0x40716b(0x132)](_0xf538a1,_0x5bd3f4)){const _0x1eb7b6=_0x84fbf7[_0x5c90b2['EGRkf'](_0x282d13,0x1)];if(!_0x1eb7b6||_0x1eb7b6[_0x40716b(0x157)]('--'))return undefined;return _0x1eb7b6;}if(_0xf538a1['startsWith'](_0x5bd3f4+'='))return _0xf538a1[_0x40716b(0xfc)](_0x5c90b2[_0x40716b(0x16a)](_0x5bd3f4[_0x40716b(0x12b)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x236a78={})=>{const _0x91b192=a175_0x239e9f,_0x4d6656={'gWCxh':function(_0x1dca7e,_0x5acf81){return _0x1dca7e(_0x5acf81);}};return _0x4d6656[_0x91b192(0x109)](normalizeTestPlanId,_0x236a78&&_0x236a78[_0x91b192(0xff)]&&_0x236a78[_0x91b192(0xff)]['testPlanId']);};function a175_0xe199(_0x232962,_0x4c8940){const _0x5039e4=a175_0x5039();return a175_0xe199=function(_0xe19937,_0x1734a6){_0xe19937=_0xe19937-0xde;let _0x55415f=_0x5039e4[_0xe19937];return _0x55415f;},a175_0xe199(_0x232962,_0x4c8940);}exports[a175_0x239e9f(0x182)]=(_0x225739={},_0x4de758=process[a175_0x239e9f(0x100)],_0x5f16a9=process[a175_0x239e9f(0x1b4)])=>{const _0x45097a=a175_0x239e9f,_0x235942={'hMxxc':function(_0x2c7dc5,_0x3426ca){return _0x2c7dc5(_0x3426ca);},'XfAUQ':function(_0x108bab,_0x345f19){return _0x108bab(_0x345f19);},'IwGPV':function(_0x21fc65,_0x1b8dde){return _0x21fc65(_0x1b8dde);}};try{const _0x281999=_0x235942[_0x45097a(0x185)](normalizeTestPlanId,_0x235942[_0x45097a(0x185)](readTestPlanIdFromCliArgs,_0x4de758));if(_0x281999)return _0x281999;const _0x17b6e6=_0x235942[_0x45097a(0x12f)](normalizeTestPlanId,_0x5f16a9&&_0x5f16a9[testHubConstants[_0x45097a(0xde)][_0x45097a(0x112)]]);if(_0x17b6e6)return _0x17b6e6;return _0x235942[_0x45097a(0xf2)](readTestPlanIdFromConfig,_0x225739);}catch(_0x415497){return logger[_0x45097a(0x165)](_0x45097a(0x110)+(_0x415497&&_0x415497['message']?_0x415497['message']:_0x415497)),undefined;}};
|
|
1
|
+
function a175_0x3cda(_0x2b0f67,_0x8099ca){const _0x23f531=a175_0x23f5();return a175_0x3cda=function(_0x3cda01,_0x3fd47d){_0x3cda01=_0x3cda01-0x1cd;let _0x1f4997=_0x23f531[_0x3cda01];return _0x1f4997;},a175_0x3cda(_0x2b0f67,_0x8099ca);}const a175_0x31a609=a175_0x3cda;(function(_0xfbbab2,_0x396c48){const _0x3da910=a175_0x3cda,_0xe3b886=_0xfbbab2();while(!![]){try{const _0x8f4008=-parseInt(_0x3da910(0x25b))/0x1+-parseInt(_0x3da910(0x28a))/0x2*(-parseInt(_0x3da910(0x281))/0x3)+parseInt(_0x3da910(0x25d))/0x4*(parseInt(_0x3da910(0x1d8))/0x5)+parseInt(_0x3da910(0x1dc))/0x6*(parseInt(_0x3da910(0x27f))/0x7)+-parseInt(_0x3da910(0x26f))/0x8*(parseInt(_0x3da910(0x209))/0x9)+parseInt(_0x3da910(0x204))/0xa+-parseInt(_0x3da910(0x1f9))/0xb*(parseInt(_0x3da910(0x288))/0xc);if(_0x8f4008===_0x396c48)break;else _0xe3b886['push'](_0xe3b886['shift']());}catch(_0x1d87a3){_0xe3b886['push'](_0xe3b886['shift']());}}}(a175_0x23f5,0x845b3));function a175_0x23f5(){const _0x995392=['getCentralUser','join','parse','WzGHf','VfwaM','isBrowserstackInfra','LEfne','dVGxQ','getProductMap','password','testPlanId','winstonLogger','commandsToWrap','getFrameworkDetails','logBuildError','config','JASMINE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','scripts','ltqRS','BS_A11Y_JWT','parseA11yJwtPayload','nonBStackInfraA11yChromeOptions','goog:chromeOptions','isTurboScaleSession','dTtlM','isTrue','FljNQ','../../bin/utils/constants.js','build_hashed_id','../../bin/jest/test-observability/test-details.js','qLnbc','name','vnwSM','false','TEST_REPORTING_ANALYTICS','Gqusk','BROWSERSTACK_TEST_PLAN_ID','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','RPKQI','zndFw','handleErrorForObservability','YITGv','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','errors','CUCUMBER','handleErrorForAccessibility','trim','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','wjZOW','Eaqrw','bstackA11yShouldScan','hBbMl','\x20Build\x20creation\x20failed','debug','isUndefined','split','Gudpn','1|3|5|2|6|0|4','IedaD','getCurrentTestData','BROWSERSTACK_SR_AUTOMATION','CBTSessionCreated','VRJxM','klrfV','getGlobal','PgjgH','options','HookRunFinished','IUQYe','leETC','ADrnS','VmgGB','ImtyX','observability','slice','ACCESS_DENIED','338697XnqKcW','BROWSERSTACK_PERCY','81388fQEvkC','key','ENV_VAR','LogCreated',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','error','platforms','string','vwuZb','../accessibility-automation/scripts.js','PdFcw','wQrxb','OBSERVABILITY','../accessibility-automation/helper','setTestHubCommonMetaInfo','vDzYt','../helper','BROWSERSTACK_TESTHUB_UUID','16cqFcQT','javascript','MOCHA','mTnpW','capabilities','getAccessibilityPlatformValidation','percy','getTestPlanId','PIUjq','includes','4|0|1|2|5|3','oYgzx','AechE','test_run','JlCxy','titlePath','37261bhqLal','../ats/helper','142668GcUAbm','../logger','fuxjX','setAccessibilityVariables','OMFZz','setTestObservabilityVariables','toUpperCase','13403772ACFYXi','ACCESSIBILITY','26zjXUsV','kwqRi','aOIGO','forEach','BROWSERSTACK_ACCESSIBILITY','toString','allow_screenshots','pviVL','BS_TESTOPS_BUILD_COMPLETED','Jprsz','VbyHv','../helper.js','FCNYt','keys','HookRunStarted','ERROR','testManagementOptions','isAccessibilityEnabled','JPSPd','command','accessibility','product_map','../test-observability/utils','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','ogoxM','iOiIy','NRQHc','dztVA','username','bbJlc','isPercyBuild','LZjKn','QwzQj','CODECEPT','info','shouldScanTestForAccessibility','success','startsWith','PLAYWRIGHT','FRAMEWORK_DETAILS','jwt','true','RgQsW','BROWSERSTACK_TESTHUB_JWT','value','description','null','IEoEx','env','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getBuildStartData','shouldProcessEventForTesthub','accessibilityPlatform','TFVxR','length','QPTkV','15rvKyam','../../bin/jasmine/testRunMap.js','EJUql','chtQO','1110goVhGe','tlwhW','getAgentVersion','sr_automation','get','assign','VpXtg','WAgFH','zSdEy','../../bin/playwright/reporter/test-details.js','UGUyG','jdJBg','uuid','isAppAutomateSession','scopes','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','skipCDPConnectOverride','FTMpZ','MVgjW','BS_TESTOPS_JWT','WHSzS','setPercyFlag','uploadEventData','bvzfE','sbSBa','commands','BS_TESTOPS_BUILD_HASHED_ID','BS_TESTOPS_ALLOW_SCREENSHOTS','isLTSSession','11OXQeoJ','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','MMEoN','argv','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','CREDENTIALS_FOR_CRASH_REPORTING','../../bin/v2/modules/loadTestModule','message','parseFromJson','setTestData','BROWSERSTACK_TESTHUB_UUID:\x20','7532510dKWrqM','OBqIo','getTestFrameworkDetails','UOEmE','INVALID_CREDENTIALS','1887597tBraBd','tags','getAccessibilityValueFromYml','JEST','stringify'];a175_0x23f5=function(){return _0x995392;};return a175_0x23f5();}const bsSetupHelper=require(a175_0x31a609(0x26d)),LoadTestModule=require(a175_0x31a609(0x1ff)),{isTestObservabilitySession,getFrameworkVersion}=require(a175_0x31a609(0x2a0)),accessibilityHelper=require(a175_0x31a609(0x26a)),logger=require(a175_0x31a609(0x282))[a175_0x31a609(0x219)],{nestedKeyValue}=require(a175_0x31a609(0x295)),scripts=require(a175_0x31a609(0x266)),globals=require('../globals.js'),testHubConstants=require('./constants.js'),PWTestDetails=require(a175_0x31a609(0x1e5)),JestTestDetails=require(a175_0x31a609(0x22c)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a175_0x31a609(0x280)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a175_0x31a609(0x22a));let testData={};exports[a175_0x31a609(0x216)]=_0x457edd=>{const _0x51ad78=a175_0x31a609,_0x564c0e={'SxMZR':function(_0x15e7e7){return _0x15e7e7();},'JlCxy':function(_0x583a2e,_0x1b8e3c){return _0x583a2e===_0x1b8e3c;},'WzGHf':_0x51ad78(0x2b3)};let _0x4012e8=![],_0x2358ca=![];if(bsSetupHelper[_0x51ad78(0x213)]()&&bsSetupHelper[_0x51ad78(0x1e9)](_0x457edd))_0x2358ca=!![];else bsSetupHelper[_0x51ad78(0x213)]()&&(_0x4012e8=!![]);return Object[_0x51ad78(0x1e1)]({'observability':_0x564c0e['SxMZR'](isTestObservabilitySession),'accessibility':exports[_0x51ad78(0x29b)](_0x457edd),'percy':_0x457edd['percy']||![],'sr_automation':_0x564c0e[_0x51ad78(0x27d)](process[_0x51ad78(0x1d0)]['BROWSERSTACK_SR_AUTOMATION'],_0x564c0e[_0x51ad78(0x211)])||_0x457edd[_0x51ad78(0x1df)]||![],'automate':_0x4012e8,'app_automate':_0x2358ca,'turboscale':bsSetupHelper[_0x51ad78(0x226)](_0x457edd),'lts':LoadTestModule[_0x51ad78(0x1f8)](_0x457edd)},bsSetupHelper[_0x51ad78(0x20e)]());},exports[a175_0x31a609(0x21b)]=(_0x3b64fa,_0x24fee2)=>{const _0x475a5e=a175_0x31a609,_0x50cf83={'TFVxR':function(_0x4009f1,_0x23d7e0){return _0x4009f1(_0x23d7e0);},'yKAon':_0x475a5e(0x270)},_0x56a277={'frameworkName':_0x24fee2,'frameworkVersion':_0x50cf83[_0x475a5e(0x1d5)](getFrameworkVersion,_0x24fee2),'sdkVersion':bsSetupHelper[_0x475a5e(0x1de)](),'language':_0x50cf83['yKAon'],'testFramework':bsSetupHelper[_0x475a5e(0x206)](_0x3b64fa,_0x24fee2)};return process['env'][_0x475a5e(0x2b1)]=JSON[_0x475a5e(0x20d)](_0x56a277),_0x56a277;},exports[a175_0x31a609(0x1f1)]=_0x16ad3b=>{const _0x395d42=a175_0x31a609,_0x27950f={};_0x27950f[_0x395d42(0x1db)]=_0x395d42(0x230),_0x27950f['OMFZz']=_0x395d42(0x2b3);const _0x1bfe09=_0x27950f;process['env'][_0x395d42(0x25c)]=_0x1bfe09[_0x395d42(0x1db)],bsSetupHelper['isTrue'](_0x16ad3b[_0x395d42(0x21d)][_0x395d42(0x275)])&&(!_0x16ad3b[_0x395d42(0x275)]||!_0x16ad3b[_0x395d42(0x275)]['isRunning']())&&(process[_0x395d42(0x1d0)][_0x395d42(0x25c)]=_0x1bfe09[_0x395d42(0x285)]);},exports[a175_0x31a609(0x2a8)]=()=>{const _0x453330=a175_0x31a609;return bsSetupHelper['isTrue'](process[_0x453330(0x1d0)]['BROWSERSTACK_PERCY']);},exports[a175_0x31a609(0x29b)]=(_0x59230c={})=>{const _0x20fe7f=a175_0x31a609,_0x339700={};_0x339700['wjZOW']=function(_0x1fb690,_0x477863){return _0x1fb690!==_0x477863;},_0x339700[_0x20fe7f(0x1f3)]=function(_0x2a6731,_0x893009){return _0x2a6731===_0x893009;},_0x339700[_0x20fe7f(0x247)]=_0x20fe7f(0x2b3),_0x339700[_0x20fe7f(0x293)]=function(_0x3900f4,_0x37071){return _0x3900f4>_0x37071;};const _0x2c9ed9=_0x339700;if(_0x2c9ed9[_0x20fe7f(0x23f)](process[_0x20fe7f(0x1d0)][_0x20fe7f(0x28e)],undefined))return bsSetupHelper['isTrue'](process[_0x20fe7f(0x1d0)][_0x20fe7f(0x28e)]);let _0x2eee1c=_0x2c9ed9[_0x20fe7f(0x1f3)](process[_0x20fe7f(0x1d0)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2c9ed9[_0x20fe7f(0x247)]);return _0x2c9ed9[_0x20fe7f(0x293)](Object[_0x20fe7f(0x297)](_0x59230c)[_0x20fe7f(0x1d6)],0x0)&&(process[_0x20fe7f(0x1d0)][_0x20fe7f(0x1d1)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x59230c)),_0x2eee1c=_0x2eee1c||_0x2c9ed9[_0x20fe7f(0x1f3)](process['env'][_0x20fe7f(0x1d1)],_0x2c9ed9['Gudpn']),_0x2eee1c;},exports[a175_0x31a609(0x286)]=(_0x3e2cee,_0x268f8f)=>{const _0x407d93=a175_0x31a609,_0x14dc9f={'klrfV':function(_0x409d32){return _0x409d32();},'WAgFH':_0x407d93(0x279),'ADrnS':function(_0x18dd42,_0x2f88e5,_0x448150){return _0x18dd42(_0x2f88e5,_0x448150);},'vDzYt':'observability','MMEoN':_0x407d93(0x251),'bbJlc':_0x407d93(0x2b3)};if(!_0x3e2cee||!_0x3e2cee['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x3e2cee[_0x407d93(0x258)][_0x407d93(0x2ae)])return exports['handleErrorForObservability'](_0x3e2cee[_0x407d93(0x258)]),[null,null,null];if(_0x14dc9f[_0x407d93(0x24e)](isTestObservabilitySession)){const _0x55df75=_0x14dc9f[_0x407d93(0x1e3)][_0x407d93(0x246)]('|');let _0x1f3e24=0x0;while(!![]){switch(_0x55df75[_0x1f3e24++]){case'0':if(_0x3e2cee[_0x407d93(0x2b2)]){process[_0x407d93(0x1d0)]['BS_TESTOPS_JWT']=_0x3e2cee[_0x407d93(0x2b2)];const _0x10f508={};_0x10f508[_0x407d93(0x2a6)]=_0x268f8f['username'],_0x10f508['password']=_0x268f8f[_0x407d93(0x217)],process[_0x407d93(0x1d0)][_0x407d93(0x1fe)]=JSON[_0x407d93(0x20d)](_0x10f508);}continue;case'1':_0x3e2cee[_0x407d93(0x22b)]&&(process[_0x407d93(0x1d0)][_0x407d93(0x1f6)]=_0x3e2cee[_0x407d93(0x22b)]);continue;case'2':_0x14dc9f[_0x407d93(0x255)](nestedKeyValue,_0x3e2cee,[_0x14dc9f[_0x407d93(0x26c)],_0x14dc9f[_0x407d93(0x1fb)]])&&(process[_0x407d93(0x1d0)][_0x407d93(0x1f7)]=_0x3e2cee[_0x407d93(0x258)][_0x407d93(0x251)][_0x407d93(0x290)][_0x407d93(0x28f)]());continue;case'3':return[_0x3e2cee['jwt'],_0x3e2cee['build_hashed_id'],process[_0x407d93(0x1d0)][_0x407d93(0x1f7)]];case'4':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x14dc9f[_0x407d93(0x2a7)];continue;case'5':logger[_0x407d93(0x244)]('['+constants[_0x407d93(0x231)]+_0x407d93(0x261)+_0x3e2cee[_0x407d93(0x22b)]);continue;}break;}}return[null,null,null];},exports[a175_0x31a609(0x284)]=_0xb0e678=>{const _0x445b8a=a175_0x31a609,_0x1743f9={'cThOi':function(_0x4a1c04,_0x1630d6,_0x5eb551){return _0x4a1c04(_0x1630d6,_0x5eb551);},'fuxjX':_0x445b8a(0x29e),'EJUql':'options','PIUjq':function(_0x32a7f3,_0x5803fa,_0x1f27ff,_0x330ad7){return _0x32a7f3(_0x5803fa,_0x1f27ff,_0x330ad7);},'qLnbc':'name','JPSPd':_0x445b8a(0x2b6),'ltqRS':_0x445b8a(0x29d),'AechE':'commands','sbSBa':function(_0x5a4879,_0x551914,_0x372c62,_0x19a123){return _0x5a4879(_0x551914,_0x372c62,_0x19a123);},'acpOA':_0x445b8a(0x224),'RgQsW':_0x445b8a(0x225),'RPKQI':function(_0x149f71,_0x640f55){return _0x149f71(_0x640f55);},'QJzVt':function(_0x5011d5,_0x573bcf){return _0x5011d5===_0x573bcf;},'UOEmE':'true','dVGxQ':_0x445b8a(0x23e)};if(!_0xb0e678[_0x445b8a(0x29e)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0xb0e678['accessibility'][_0x445b8a(0x2ae)])return exports[_0x445b8a(0x23c)](_0xb0e678[_0x445b8a(0x29e)]),[null,null];if(_0x1743f9['cThOi'](nestedKeyValue,_0xb0e678,[_0x1743f9[_0x445b8a(0x283)],_0x1743f9[_0x445b8a(0x1da)]])){const {accessibilityToken:_0xf809ca,scannerVersion:_0x598ad8,scannerProcessingTimeout:_0x305943,isMobileScanningEnabledForGroup:_0x3da82a}=_0x1743f9[_0x445b8a(0x277)](jsonifyAccessibilityArray,_0xb0e678['accessibility'][_0x445b8a(0x251)]['capabilities'],_0x1743f9[_0x445b8a(0x22d)],_0x1743f9[_0x445b8a(0x29c)]),_0x40469d={'scripts':_0x1743f9[_0x445b8a(0x277)](jsonifyAccessibilityArray,_0xb0e678[_0x445b8a(0x29e)][_0x445b8a(0x251)][_0x445b8a(0x220)],_0x1743f9[_0x445b8a(0x22d)],_0x1743f9[_0x445b8a(0x221)])};_0x40469d[_0x1743f9[_0x445b8a(0x27b)]]=_0xb0e678[_0x445b8a(0x29e)][_0x445b8a(0x251)][_0x445b8a(0x21a)][_0x445b8a(0x1f5)];const _0x119d6a=_0x1743f9[_0x445b8a(0x1f4)](jsonifyAccessibilityArray,_0xb0e678[_0x445b8a(0x29e)][_0x445b8a(0x251)][_0x445b8a(0x273)],_0x1743f9['qLnbc'],_0x1743f9['JPSPd']);_0x40469d[_0x1743f9['acpOA']]=_0x119d6a[_0x1743f9[_0x445b8a(0x2b4)]],scripts[_0x445b8a(0x201)](_0x40469d),scripts['toJson']();let _0x1cb0a4=process[_0x445b8a(0x1d0)][_0x445b8a(0x1fd)];_0x1cb0a4=!!_0x1cb0a4?JSON[_0x445b8a(0x210)](_0x1cb0a4):{},_0x1cb0a4['scannerVersion']=_0x598ad8,process['env'][_0x445b8a(0x1fd)]=JSON[_0x445b8a(0x20d)](_0x1cb0a4),process[_0x445b8a(0x1d0)][_0x445b8a(0x222)]=_0xf809ca,process['env'][_0x445b8a(0x239)]=_0x1743f9[_0x445b8a(0x235)](String,_0x1743f9['QJzVt'](_0x3da82a,!![])||_0x1743f9['QJzVt'](_0x3da82a,_0x1743f9[_0x445b8a(0x207)])),logger['debug'](_0x445b8a(0x1eb)+_0xb0e678['build_hashed_id']);const _0x4e3fb1=accessibilityHelper[_0x445b8a(0x223)](_0xf809ca);return _0x4e3fb1&&bsSetupHelper[_0x445b8a(0x228)](_0x4e3fb1[_0x445b8a(0x1ec)])&&(process[_0x445b8a(0x1d0)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x445b8a(0x244)](_0x1743f9[_0x445b8a(0x215)])),[_0xf809ca,_0xb0e678[_0x445b8a(0x22b)],_0x305943];}return[null,null];},exports[a175_0x31a609(0x237)]=_0x4c8fdf=>{const _0xca5aba=a175_0x31a609,_0x49611c={};_0x49611c[_0xca5aba(0x1cf)]=_0xca5aba(0x248),_0x49611c['vwuZb']=_0xca5aba(0x1ce),_0x49611c['aOIGO']=_0xca5aba(0x230);const _0x3d6273=_0x49611c,_0x52200e=_0x3d6273['IEoEx'][_0xca5aba(0x246)]('|');let _0xe5be2f=0x0;while(!![]){switch(_0x52200e[_0xe5be2f++]){case'0':process['env'][_0xca5aba(0x1f7)]=_0x3d6273[_0xca5aba(0x265)];continue;case'1':process['env'][_0xca5aba(0x26e)]=_0x3d6273[_0xca5aba(0x265)];continue;case'2':process[_0xca5aba(0x1d0)][_0xca5aba(0x1ef)]=_0x3d6273[_0xca5aba(0x265)];continue;case'3':process[_0xca5aba(0x1d0)]['BROWSERSTACK_TESTHUB_JWT']=_0x3d6273[_0xca5aba(0x265)];continue;case'4':exports[_0xca5aba(0x21c)](_0x4c8fdf,testHubConstants[_0xca5aba(0x269)]);continue;case'5':process[_0xca5aba(0x1d0)][_0xca5aba(0x292)]=_0x3d6273[_0xca5aba(0x28c)];continue;case'6':process['env'][_0xca5aba(0x1f6)]=_0x3d6273[_0xca5aba(0x265)];continue;}break;}},exports[a175_0x31a609(0x23c)]=_0x24a77c=>{const _0x5b16d0=a175_0x31a609,_0x481a88={};_0x481a88[_0x5b16d0(0x272)]='0|1|3|2|4',_0x481a88[_0x5b16d0(0x2a5)]=_0x5b16d0(0x1ce),_0x481a88[_0x5b16d0(0x253)]=_0x5b16d0(0x230);const _0x99b851=_0x481a88,_0x5c41e0=_0x99b851[_0x5b16d0(0x272)][_0x5b16d0(0x246)]('|');let _0x49872e=0x0;while(!![]){switch(_0x5c41e0[_0x49872e++]){case'0':process[_0x5b16d0(0x1d0)]['BROWSERSTACK_TESTHUB_UUID']=_0x99b851['dztVA'];continue;case'1':process[_0x5b16d0(0x1d0)][_0x5b16d0(0x2b5)]=_0x99b851[_0x5b16d0(0x2a5)];continue;case'2':process[_0x5b16d0(0x1d0)][_0x5b16d0(0x1d1)]=_0x99b851[_0x5b16d0(0x253)];continue;case'3':process[_0x5b16d0(0x1d0)][_0x5b16d0(0x21f)]=_0x99b851[_0x5b16d0(0x253)];continue;case'4':exports[_0x5b16d0(0x21c)](_0x24a77c,testHubConstants[_0x5b16d0(0x289)]);continue;}break;}},exports[a175_0x31a609(0x21c)]=(_0x49020e,_0x2a8e90='')=>{const _0x35be61=a175_0x31a609,_0x2c1311={};_0x2c1311[_0x35be61(0x1dd)]=function(_0x45d4a2,_0x5ea313){return _0x45d4a2===_0x5ea313;};const _0x14ae71=_0x2c1311;if(_0x14ae71[_0x35be61(0x1dd)](_0x49020e,undefined)){logger[_0x35be61(0x262)](_0x2a8e90[_0x35be61(0x287)]()+_0x35be61(0x243));return;}for(const _0xeab41d of _0x49020e[_0x35be61(0x23a)]){const _0x79c624=_0xeab41d[_0x35be61(0x25e)],_0x2f0844=_0xeab41d[_0x35be61(0x200)];if(_0x2f0844)switch(_0x79c624){case testHubConstants[_0x35be61(0x299)][_0x35be61(0x208)]:logger[_0x35be61(0x262)](_0x2f0844);break;case testHubConstants['ERROR'][_0x35be61(0x25a)]:logger[_0x35be61(0x2ac)](_0x2f0844);break;case testHubConstants[_0x35be61(0x299)]['DEPRECATED']:logger['error'](_0x2f0844);break;default:logger[_0x35be61(0x262)](_0x2f0844);}}};const jsonifyAccessibilityArray=(_0x1e487e,_0x44baeb,_0x5aacb8)=>{const _0x5505cd=a175_0x31a609,_0x5922ca={};return _0x1e487e[_0x5505cd(0x28d)](_0xc16bb3=>{_0x5922ca[_0xc16bb3[_0x44baeb]]=_0xc16bb3[_0x5aacb8];}),_0x5922ca;};exports[a175_0x31a609(0x26b)]=_0x108a30=>{const _0x91771d=a175_0x31a609;_0x108a30[_0x91771d(0x2b2)]&&(process['env'][_0x91771d(0x2b5)]=_0x108a30[_0x91771d(0x2b2)]);_0x108a30[_0x91771d(0x22b)]&&(process[_0x91771d(0x1d0)][_0x91771d(0x26e)]=_0x108a30[_0x91771d(0x22b)],logger[_0x91771d(0x244)](_0x91771d(0x203)+_0x108a30[_0x91771d(0x22b)]));;},exports[a175_0x31a609(0x1d3)]=(_0xd23f86='',_0x11a713='')=>{const _0x39db31=a175_0x31a609,_0x5229f9={'ImtyX':function(_0x406f33){return _0x406f33();},'dTtlM':function(_0x40aac0,_0x4fcfc6){return _0x40aac0===_0x4fcfc6;},'hBbMl':_0x39db31(0x1f2),'jdJBg':_0x39db31(0x260),'zSdEy':_0x39db31(0x24c),'FljNQ':function(_0x297cce){return _0x297cce();},'FTMpZ':'HookRunStarted','VfwaM':_0x39db31(0x252)};if(exports[_0x39db31(0x2a8)]()&&!exports[_0x39db31(0x29b)]()&&!_0x5229f9[_0x39db31(0x257)](isTestObservabilitySession)){if(_0x5229f9[_0x39db31(0x227)](_0x11a713,_0x5229f9[_0x39db31(0x242)]))return![];if([_0x5229f9[_0x39db31(0x1e7)],_0x5229f9[_0x39db31(0x1e4)]][_0x39db31(0x278)](_0xd23f86))return![];return!![];}if(exports[_0x39db31(0x29b)]()&&!_0x5229f9[_0x39db31(0x229)](isTestObservabilitySession)){if([_0x5229f9[_0x39db31(0x1ed)],_0x5229f9[_0x39db31(0x212)],_0x5229f9['jdJBg']][_0x39db31(0x278)](_0xd23f86))return![];return!![];}return exports[_0x39db31(0x29b)]()||_0x5229f9[_0x39db31(0x257)](isTestObservabilitySession)||exports['isPercyBuild']();},exports['appendTesthubParams']=(_0x2d1ed5,_0x3271b6,_0x562874='',_0x9b3cbf)=>{const _0x3d095e=a175_0x31a609,_0x391f73={'pviVL':_0x3d095e(0x298),'Gqusk':_0x3d095e(0x252),'UGUyG':function(_0x1a6d46,_0x493865){return _0x1a6d46===_0x493865;},'MVgjW':_0x3d095e(0x241),'zndFw':'isAccessibilityPlatform','PgjgH':_0x3d095e(0x29e),'VmgGB':function(_0x15851a,_0x12dacd){return _0x15851a&&_0x12dacd;},'ogoxM':function(_0x2b6b72,_0x8bdc28){return _0x2b6b72===_0x8bdc28;},'Eaqrw':function(_0x1a0c86,_0x11abc5){return _0x1a0c86+_0x11abc5;},'ldTDr':function(_0x516888,_0x10e43e){return _0x516888+_0x10e43e;},'oYgzx':function(_0x205b49,_0x36cf12){return _0x205b49&&_0x36cf12;},'kwqRi':function(_0x1151c3,_0x196802){return _0x1151c3(_0x196802);},'PdFcw':_0x3d095e(0x1d9),'OBqIo':function(_0x3922d7,_0x56d5a7){return _0x3922d7+_0x56d5a7;},'fSpDu':function(_0x95d259,_0x5b174e){return _0x95d259+_0x5b174e;},'wQrxb':function(_0x9d7e0b,_0x103061){return _0x9d7e0b&&_0x103061;},'IedaD':function(_0x5905e8,_0x3259c8){return _0x5905e8!==_0x3259c8;},'NRQHc':'TestRunStarted','ndGaL':function(_0x5774b6,_0xdee28f){return _0x5774b6===_0xdee28f;},'KPMqj':function(_0x5570aa,_0x1f4ae1){return _0x5570aa&&_0x1f4ae1;},'QwzQj':function(_0x4ad287,_0x2d7b69){return _0x4ad287===_0x2d7b69;},'LZjKn':_0x3d095e(0x29f)};if([_0x391f73[_0x3d095e(0x291)],_0x391f73[_0x3d095e(0x232)]]['includes'](_0x3271b6))return;let _0x359b6b={};try{process['env']['BROWSERSTACK_PRODUCT_MAP']&&(_0x359b6b=JSON[_0x3d095e(0x210)](process[_0x3d095e(0x1d0)]['BROWSERSTACK_PRODUCT_MAP'])||{});}catch(_0x57a9ad){logger[_0x3d095e(0x244)](_0x3d095e(0x234)+_0x57a9ad),_0x359b6b={};}if(exports[_0x3d095e(0x29b)]()){if(_0x391f73[_0x3d095e(0x1e6)](_0x9b3cbf,FRAMEWORKS[_0x3d095e(0x271)])){const _0x3d5fa1=globals['getGlobal'](_0x391f73[_0x3d095e(0x1ee)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x562874[_0x3d095e(0x27e)](),!![]),_0x1bb7ba=globals[_0x3d095e(0x24f)](_0x391f73[_0x3d095e(0x236)]);_0x359b6b[_0x391f73[_0x3d095e(0x250)]]=_0x391f73[_0x3d095e(0x256)](_0x1bb7ba,_0x3d5fa1);}if(_0x391f73[_0x3d095e(0x2a2)](_0x9b3cbf,FRAMEWORKS[_0x3d095e(0x20c)])){const _0x4f1481=_0x391f73[_0x3d095e(0x240)](_0x391f73['ldTDr'](_0x2d1ed5[_0x3d095e(0x1ea)][_0x3d095e(0x20f)]('\x20'),'\x20'),_0x562874[_0x3d095e(0x22e)]),_0x4838fe=globals[_0x3d095e(0x24f)](_0x391f73[_0x3d095e(0x1ee)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x4f1481,![]),_0x21f285=browserStackGlobals['isAccessibilityPlatform'];_0x359b6b[_0x391f73['PgjgH']]=_0x391f73['oYgzx'](_0x21f285,_0x4838fe);}if(_0x391f73['UGUyG'](_0x9b3cbf,FRAMEWORKS[_0x3d095e(0x21e)])){const _0xd1b628=_0x391f73[_0x3d095e(0x28b)](require,_0x391f73[_0x3d095e(0x267)]),_0x3acea4=_0x562874&&_0xd1b628[_0x3d095e(0x1e0)](_0x562874['id'])||_0x2d1ed5[_0x3d095e(0x1e8)];_0x3acea4&&(_0x2d1ed5[_0x3d095e(0x1e8)]=_0x3acea4);const _0x21ce28=_0x391f73[_0x3d095e(0x205)](_0x391f73['fSpDu'](_0x2d1ed5[_0x3d095e(0x1ea)][_0x3d095e(0x20f)]('\x20'),'\x20'),_0x562874[_0x3d095e(0x1cd)]||_0x2d1ed5[_0x3d095e(0x22e)]),_0x300d12=globals[_0x3d095e(0x24f)](_0x391f73['MVgjW'])||accessibilityHelper[_0x3d095e(0x2ad)](_0x21ce28,![]),_0x24c1b4=globals[_0x3d095e(0x24f)](_0x391f73[_0x3d095e(0x236)]);_0x359b6b[_0x391f73[_0x3d095e(0x250)]]=_0x391f73[_0x3d095e(0x268)](_0x24c1b4,_0x300d12);}_0x391f73['UGUyG'](_0x9b3cbf,FRAMEWORKS[_0x3d095e(0x2b0)])&&_0x391f73[_0x3d095e(0x249)](_0x3271b6,_0x391f73[_0x3d095e(0x2a4)])&&(_0x359b6b[_0x391f73['PgjgH']]=PWTestDetails[_0x3d095e(0x274)](_0x2d1ed5[_0x3d095e(0x1e8)]));if(_0x391f73['ndGaL'](_0x9b3cbf,FRAMEWORKS[_0x3d095e(0x2ab)])){const _0x47e9a0=accessibilityHelper[_0x3d095e(0x2ad)](_0x562874['titlePath'](),!![]),_0x3b05d3=global[_0x3d095e(0x1d4)];_0x359b6b[_0x391f73[_0x3d095e(0x250)]]=_0x391f73['KPMqj'](_0x3b05d3,_0x47e9a0);}if(_0x391f73[_0x3d095e(0x2aa)](_0x9b3cbf,FRAMEWORKS[_0x3d095e(0x23b)])){const _0x3d99d0=accessibilityHelper[_0x3d095e(0x2ad)](null,![],_0x2d1ed5[_0x3d095e(0x20a)]),_0x2ec626=globals[_0x3d095e(0x24f)](_0x391f73[_0x3d095e(0x236)]);_0x359b6b[_0x391f73[_0x3d095e(0x250)]]=_0x391f73[_0x3d095e(0x27a)](_0x2ec626,_0x3d99d0);}}_0x2d1ed5[_0x391f73[_0x3d095e(0x2a9)]]=_0x359b6b;},exports[a175_0x31a609(0x24a)]=_0x40c271=>{const _0x31b8ec=a175_0x31a609,_0x27cb2c={};_0x27cb2c[_0x31b8ec(0x214)]=function(_0x32f372,_0x327408){return _0x32f372>_0x327408;};const _0x1b5247=_0x27cb2c;let _0x4b739a={};if(_0x1b5247[_0x31b8ec(0x214)](Object['keys'](testData)[_0x31b8ec(0x1d6)],0x0))return testData;_0x4b739a=JestTestDetails['getTestData']();if(_0x1b5247['LEfne'](Object[_0x31b8ec(0x297)](_0x4b739a)[_0x31b8ec(0x1d6)],0x0))return _0x4b739a;return _0x4b739a;},exports['setCurrentTestData']=(_0x1c1def,_0x113e66={})=>{const _0x1e6b40=a175_0x31a609;if(bsSetupHelper[_0x1e6b40(0x245)](_0x113e66[_0x1e6b40(0x27c)]))return;switch(_0x1c1def){case FRAMEWORKS[_0x1e6b40(0x271)]:testData=_0x113e66[_0x1e6b40(0x27c)];break;case FRAMEWORKS[_0x1e6b40(0x20c)]:JestTestDetails[_0x1e6b40(0x202)](_0x113e66[_0x1e6b40(0x27c)]);break;case FRAMEWORKS[_0x1e6b40(0x21e)]:testData=_0x113e66[_0x1e6b40(0x27c)];break;default:break;}},exports[a175_0x31a609(0x20b)]=_0x369d67=>{const _0x20f0a4=a175_0x31a609,_0x1a6409={};_0x1a6409[_0x20f0a4(0x1f0)]=function(_0x4d401b,_0x3af04b){return _0x4d401b!==_0x3af04b;};const _0x7c1dd0=_0x1a6409;if(_0x7c1dd0[_0x20f0a4(0x1f0)](_0x369d67['accessibility'],null)&&_0x7c1dd0[_0x20f0a4(0x1f0)](_0x369d67[_0x20f0a4(0x29e)],undefined))return _0x369d67[_0x20f0a4(0x29e)];let _0x262a64=![],_0x1494f1=![];if(_0x369d67[_0x20f0a4(0x263)])for(const _0x41a5c4 of _0x369d67[_0x20f0a4(0x263)]){_0x7c1dd0[_0x20f0a4(0x1f0)](_0x41a5c4[_0x20f0a4(0x29e)],null)&&_0x7c1dd0[_0x20f0a4(0x1f0)](_0x41a5c4[_0x20f0a4(0x29e)],undefined)&&(_0x262a64=_0x262a64||bsSetupHelper[_0x20f0a4(0x228)](_0x41a5c4[_0x20f0a4(0x29e)]),_0x1494f1=!![]);}if(_0x1494f1)return _0x262a64;return null;},exports['getTestOrchestrationBuildStartData']=_0x1c2e7c=>{const _0x5e88c7=a175_0x31a609;if(!_0x1c2e7c)return{};const _0x22f78f=new OrchestrationUtils(_0x1c2e7c);return _0x22f78f[_0x5e88c7(0x1d2)]();},exports['getProductMapForBuildStartCall']=_0x2d03f4=>{const _0x46c22e=a175_0x31a609,_0x2d7242={'lJVYf':function(_0xa2a30a){return _0xa2a30a();},'YITGv':function(_0x27c759,_0x9b7a5f){return _0x27c759===_0x9b7a5f;},'vnwSM':_0x46c22e(0x2b3)};let _0x471e6b=![],_0x24565b=![];if(bsSetupHelper[_0x46c22e(0x213)]()&&bsSetupHelper[_0x46c22e(0x1e9)](_0x2d03f4))_0x24565b=!![];else bsSetupHelper[_0x46c22e(0x213)]()&&(_0x471e6b=!![]);return Object[_0x46c22e(0x1e1)]({'observability':_0x2d7242['lJVYf'](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x2d03f4),'percy':_0x2d03f4[_0x46c22e(0x275)]||![],'sr_automation':_0x2d7242[_0x46c22e(0x238)](process[_0x46c22e(0x1d0)][_0x46c22e(0x24b)],_0x2d7242[_0x46c22e(0x22f)])||_0x2d03f4['sr_automation']||![],'automate':_0x471e6b,'app_automate':_0x24565b,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2d03f4),'lts':LoadTestModule[_0x46c22e(0x1f8)](_0x2d03f4)},bsSetupHelper[_0x46c22e(0x20e)]());};const normalizeTestPlanId=_0x44e1e0=>{const _0x1cf0e4=a175_0x31a609,_0x115fe3={};_0x115fe3[_0x1cf0e4(0x254)]=function(_0x49ce6c,_0x2f3136){return _0x49ce6c!==_0x2f3136;},_0x115fe3['vLAyh']=_0x1cf0e4(0x264),_0x115fe3[_0x1cf0e4(0x294)]=function(_0x50283d,_0x2937aa){return _0x50283d>_0x2937aa;};const _0x29cef5=_0x115fe3;if(_0x29cef5[_0x1cf0e4(0x254)](typeof _0x44e1e0,_0x29cef5['vLAyh']))return undefined;const _0x47c9b3=_0x44e1e0[_0x1cf0e4(0x23d)]();return _0x29cef5[_0x1cf0e4(0x294)](_0x47c9b3['length'],0x0)?_0x47c9b3:undefined;},readTestPlanIdFromCliArgs=(_0x16a6ee=process[a175_0x31a609(0x1fc)])=>{const _0x52bbcf=a175_0x31a609,_0x342c20={};_0x342c20['iOiIy']=function(_0x22d942,_0x15372f){return _0x22d942<_0x15372f;},_0x342c20[_0x52bbcf(0x1e2)]=function(_0x38e1fa,_0x1e6939){return _0x38e1fa===_0x1e6939;},_0x342c20[_0x52bbcf(0x296)]=function(_0x3db1c2,_0x444aa1){return _0x3db1c2+_0x444aa1;};const _0xb480a1=_0x342c20,_0x4e3b5d='--'+testHubConstants[_0x52bbcf(0x1fa)];for(let _0x1f58be=0x0;_0xb480a1[_0x52bbcf(0x2a3)](_0x1f58be,_0x16a6ee[_0x52bbcf(0x1d6)]);_0x1f58be+=0x1){const _0x4ef2c1=_0x16a6ee[_0x1f58be];if(_0xb480a1[_0x52bbcf(0x1e2)](_0x4ef2c1,_0x4e3b5d)){const _0x11cb8a=_0x16a6ee[_0xb480a1[_0x52bbcf(0x296)](_0x1f58be,0x1)];if(!_0x11cb8a||_0x11cb8a[_0x52bbcf(0x2af)]('--'))return undefined;return _0x11cb8a;}if(_0x4ef2c1[_0x52bbcf(0x2af)](_0x4e3b5d+'='))return _0x4ef2c1[_0x52bbcf(0x259)](_0xb480a1[_0x52bbcf(0x296)](_0x4e3b5d[_0x52bbcf(0x1d6)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x51e92e={})=>{const _0x30f562=a175_0x31a609,_0x52b5c4={'YtsYM':function(_0x4aca70,_0x597d13){return _0x4aca70(_0x597d13);}};return _0x52b5c4['YtsYM'](normalizeTestPlanId,_0x51e92e&&_0x51e92e[_0x30f562(0x29a)]&&_0x51e92e[_0x30f562(0x29a)][_0x30f562(0x218)]);};exports[a175_0x31a609(0x276)]=(_0x37d2f0={},_0x327f21=process[a175_0x31a609(0x1fc)],_0x5808ce=process[a175_0x31a609(0x1d0)])=>{const _0x5e9417=a175_0x31a609,_0x402254={'QPTkV':function(_0x3c7195,_0x29e74e){return _0x3c7195(_0x29e74e);},'VRJxM':function(_0x5c79a7,_0x5725fa){return _0x5c79a7(_0x5725fa);},'cybsv':function(_0x490b79,_0x1639c7){return _0x490b79(_0x1639c7);}};try{const _0x297913=_0x402254[_0x5e9417(0x1d7)](normalizeTestPlanId,_0x402254[_0x5e9417(0x24d)](readTestPlanIdFromCliArgs,_0x327f21));if(_0x297913)return _0x297913;const _0x55ffae=_0x402254[_0x5e9417(0x24d)](normalizeTestPlanId,_0x5808ce&&_0x5808ce[testHubConstants[_0x5e9417(0x25f)][_0x5e9417(0x233)]]);if(_0x55ffae)return _0x55ffae;return _0x402254['cybsv'](readTestPlanIdFromConfig,_0x37d2f0);}catch(_0x2e050d){return logger[_0x5e9417(0x244)](_0x5e9417(0x2a1)+(_0x2e050d&&_0x2e050d['message']?_0x2e050d['message']:_0x2e050d)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a176_0x4c45(){const _0x4a315c=['ksQqH','forEach','reduce','finalExecutionRan','SDKTestSuccessful','getTurboScaleSessionsList','util','buildIdentifier','sxZVa','190CJmNCI','getSessionsList','KeLWg','notifyUpdate','event_properties','error','Directory\x20','null','565071mbXxsq','PkmrU','stack','kyszt','source','VGBjI','AUTOMATE_PRODUCTS','name','ykCDH','values','EOlxr','skicr','20tOzyvB','killSignal','./performance/performance-tester','env','ifRsA','winstonLogger','hostname','stopPercy','nPcha','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','wxGPR','XOYEf','constants','all','getNodeAgent','\x20has\x20now\x20read/write/execute\x20permissions.','ENV_VAR','isModifiable','./globals','sanitizeBrowserStackConfig','selenium-webdriver','assign','format','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','getAccessKey','unhandledErrors','./logger','unknown','dDGMm','[REDACTED]','3358481IVGEfH','SDK\x20run\x20ended\x20for\x20id:\x20','browserVersion','./test-observability/utils','osVersion','replace','udluA','getPackageVersion','deviceName','24PmkyhO','config','playwrightVersion','yafPM','browser','content-type','stringify','isNullOrEmpty','424692kaBuTb','version','sdkRunId','egCGF','globalException','2573758XSussW','BROWSERSTACK_TESTHUB_UUID','tQFnH','trim','buildName','NAMuA','yuzTM','RlZcG','split','chmodSync',',\x20testhub\x20id:\x20','WbTia','ejZXk','isBrowserstackInfra','getTurboScaleBuildLink','codeceptjs','xOdgU','getGlobal','zVtaX','body','accessSync','TolDH','nodejs','APP_AUTOMATE_PRODUCTS','489337rrPoAi','./helper','getStackTraceAsString','uJIHx','apply','POST','every','qEBMY','user_killed','lveyi','vgjvs','hubAllocation','Playwright','getUserName','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','tests','debug','nodeRequest','AUTOMATE','913160BXXLln','../bin/utils/constants','getBuildLink','toString','OVcnb','requirePWModule','drnWe','isAppAutomateSession','cTuqI','isTurboScaleSession','framework','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','errorMessage','KCXEW','fireFunnelTestEvent','browserStackConfig','finishedMetadata','cFxSo','length','keys','type','Ssliw','2344320cnJDiZ','seleniumVersion','object','join','sendLogs','X_OK','getFrameworkVersion'];a176_0x4c45=function(){return _0x4a315c;};return a176_0x4c45();}const a176_0x7081ba=a176_0x3eef;(function(_0x186964,_0x332e7f){const _0x2c99c6=a176_0x3eef,_0x53a5ad=_0x186964();while(!![]){try{const _0x310e98=parseInt(_0x2c99c6(0x12e))/0x1+parseInt(_0x2c99c6(0x116))/0x2+parseInt(_0x2c99c6(0x16f))/0x3*(-parseInt(_0x2c99c6(0x17b))/0x4)+parseInt(_0x2c99c6(0x141))/0x5*(parseInt(_0x2c99c6(0x109))/0x6)+parseInt(_0x2c99c6(0x100))/0x7+-parseInt(_0x2c99c6(0x157))/0x8+parseInt(_0x2c99c6(0x111))/0x9*(-parseInt(_0x2c99c6(0x167))/0xa);if(_0x310e98===_0x332e7f)break;else _0x53a5ad['push'](_0x53a5ad['shift']());}catch(_0x43e02b){_0x53a5ad['push'](_0x53a5ad['shift']());}}}(a176_0x4c45,0xd0c5a));const os=require('os'),util=require(a176_0x7081ba(0x164)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a176_0x7081ba(0xfc))[a176_0x7081ba(0x180)],constants=require('../bin/utils/constants'),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a176_0x7081ba(0x142)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a176_0x7081ba(0x12f)),PerformanceTester=require(a176_0x7081ba(0x17d)),globals=require(a176_0x7081ba(0x18d)),helper=require(a176_0x7081ba(0x12f)),{isTestObservabilitySession}=require(a176_0x7081ba(0x103));let unhandledErrors='';function a176_0x3eef(_0x2c2738,_0x516a57){const _0x4c4532=a176_0x4c45();return a176_0x3eef=function(_0x3eeff8,_0x42598b){_0x3eeff8=_0x3eeff8-0xf6;let _0x1ca1a8=_0x4c4532[_0x3eeff8];return _0x1ca1a8;},a176_0x3eef(_0x2c2738,_0x516a57);}exports['fireFunnelTestEvent']=async(_0x3157a1,_0x413668={},_0x539f95,_0x3a97c8,_0x25427c=![])=>{const _0x305a6a=a176_0x7081ba,_0x50a179={'KCXEW':function(_0x1d2e48,_0x419e9e){return _0x1d2e48===_0x419e9e;},'PkmrU':_0x305a6a(0x159),'dDGMm':function(_0xd873e2,_0x5df4fa){return _0xd873e2>_0x5df4fa;},'egCGF':_0x305a6a(0x13d),'tQFnH':function(_0x4c4a06){return _0x4c4a06();},'wxGPR':function(_0x596e06,_0x1d2d57){return _0x596e06==_0x1d2d57;},'cFxSo':_0x305a6a(0x16e),'ejZXk':'undefined','OVcnb':_0x305a6a(0x125),'cTuqI':function(_0x209668,_0x21c2a8){return _0x209668!==_0x21c2a8;},'lveyi':_0x305a6a(0x13a),'yafPM':function(_0x3766d6,_0x5d5fdb){return _0x3766d6===_0x5d5fdb;},'WbTia':_0x305a6a(0x16c),'ifRsA':function(_0x43af77,_0x2df0f9){return _0x43af77+_0x2df0f9;},'kyszt':_0x305a6a(0xf9),'KMzWD':'_buildHashedId','ykCDH':function(_0x505bb6,_0x517375){return _0x505bb6(_0x517375);},'qEBMY':function(_0x5d37f0,_0x5ee748){return _0x5d37f0(_0x5ee748);},'TolDH':_0x305a6a(0xfd),'issEU':_0x305a6a(0x12c),'uJIHx':function(_0x2029bc,_0x19995d){return _0x2029bc===_0x19995d;},'sxZVa':_0x305a6a(0x162),'XmAmx':function(_0x47cc2e,_0x4ed659){return _0x47cc2e===_0x4ed659;},'ksQqH':function(_0x2dc1ef){return _0x2dc1ef();},'nPcha':_0x305a6a(0xf6),'Ssliw':'application/json','udluA':_0x305a6a(0xff),'RlZcG':_0x305a6a(0x133)};let _0x225330=[];if(helper[_0x305a6a(0x123)]()&&_0x50a179['tQFnH'](isTestObservabilitySession))_0x225330=helper[_0x305a6a(0x148)](_0x539f95)?constants[_0x305a6a(0x12d)]:constants[_0x305a6a(0x175)];else{if(_0x50a179[_0x305a6a(0x118)](isTestObservabilitySession))_0x225330=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x305a6a(0x123)]()&&(_0x225330=helper[_0x305a6a(0x148)](_0x539f95)?constants['APP_AUTOMATE']:constants[_0x305a6a(0x140)]);}let _0x3a083c=_0x539f95[_0x305a6a(0x165)];if(_0x50a179[_0x305a6a(0x185)](_0x3a083c,null))_0x3a083c=_0x50a179[_0x305a6a(0x152)];else _0x50a179[_0x305a6a(0x14e)](_0x3a083c,undefined)&&(_0x3a083c=_0x50a179[_0x305a6a(0x122)]);unhandledErrors&&_0x50a179[_0x305a6a(0xfe)](unhandledErrors[_0x305a6a(0x153)],0x0)&&(_0x413668[_0x305a6a(0x115)]=unhandledErrors);global[_0x305a6a(0x113)]&&(_0x413668[_0x305a6a(0x113)]=global[_0x305a6a(0x113)]);try{if(_0x413668['error']){if(_0x50a179[_0x305a6a(0x14e)](_0x3a97c8,_0x50a179[_0x305a6a(0x145)])&&_0x50a179[_0x305a6a(0xfe)](_0x413668[_0x305a6a(0x16c)][_0x305a6a(0x153)],0x0)){const _0x2a5136={};_0x2a5136['os']='',_0x2a5136[_0x305a6a(0x104)]='',_0x2a5136[_0x305a6a(0x10d)]='',_0x2a5136['browserVersion']='';const _0x124b50=_0x2a5136;let _0x31fa52={};const _0x3f6ecf=_0x413668[_0x305a6a(0x16c)];_0x31fa52=_0x3f6ecf[_0x305a6a(0x160)]((_0x5d1aff,_0x438408)=>{for(const _0x2db483 in _0x438408){_0x5d1aff[_0x2db483]=_0x438408[_0x2db483];}return _0x5d1aff;},{});const _0x51c64a={};_0x51c64a['tests']=_0x31fa52,_0x413668[_0x305a6a(0x16c)]=[Object['assign']({},_0x124b50,_0x51c64a)];}else{let _0x1184f0=0x0;const _0x1df1c5=_0x50a179[_0x305a6a(0x149)](_0x3a97c8,_0x50a179['lveyi'])?JSON['parse'](_0x413668[_0x305a6a(0x16c)]):_0x413668['error'],_0x57f3a1=Object[_0x305a6a(0x178)](_0x1df1c5);_0x57f3a1[_0x305a6a(0x15f)](_0x2620b4=>{const _0x29d55a=_0x305a6a;if(_0x50a179[_0x29d55a(0x14e)](typeof _0x2620b4,_0x50a179[_0x29d55a(0x170)])){const _0x1282ca=Object[_0x29d55a(0x178)](_0x2620b4);!_0x1282ca[_0x29d55a(0x134)](_0x1e7941=>_0x1e7941===null||_0x1e7941===undefined||_0x1e7941==='')&&(_0x1184f0+=0x1);}});if(_0x50a179[_0x305a6a(0x10c)](_0x1184f0,0x0))delete _0x413668[_0x50a179[_0x305a6a(0x121)]];else{const _0x576aa3=[];Object['keys'](_0x1df1c5)[_0x305a6a(0x15f)](_0x398b42=>{const _0x224b9c=_0x305a6a,[_0x4caaac,_0x4c3a8e,_0x222493,_0x1f238d]=_0x398b42[_0x224b9c(0x11e)](',\x20');let _0x1b446d={};if(!_0x1f238d){const _0x183624={};_0x183624[_0x224b9c(0x108)]=_0x4caaac,_0x183624[_0x224b9c(0x104)]=_0x4c3a8e,_0x183624[_0x224b9c(0x10d)]=_0x222493,_0x1b446d=_0x183624;}else{const _0x4c4749={};_0x4c4749['os']=_0x4caaac,_0x4c4749['osVersion']=_0x4c3a8e,_0x4c4749[_0x224b9c(0x10d)]=_0x222493,_0x4c4749[_0x224b9c(0x102)]=_0x1f238d,_0x1b446d=_0x4c4749;}const _0x574ad5={},_0x103c77=_0x1df1c5[_0x398b42];Object[_0x224b9c(0x154)](_0x103c77)['forEach'](_0x1fb974=>{const _0x16b2ca=_0x224b9c;_0x50a179[_0x16b2ca(0xfe)](_0x103c77[_0x1fb974][_0x16b2ca(0x153)],0x0)&&(_0x574ad5[_0x1fb974]=_0x103c77[_0x1fb974]);}),_0x50a179[_0x224b9c(0xfe)](Object[_0x224b9c(0x154)](_0x574ad5)[_0x224b9c(0x153)],0x0)&&(_0x1b446d[_0x50a179[_0x224b9c(0x114)]]=_0x574ad5,_0x576aa3['push'](_0x1b446d));}),_0x50a179[_0x305a6a(0xfe)](_0x576aa3[_0x305a6a(0x153)],0x0)?_0x413668[_0x305a6a(0x16c)]=_0x576aa3:delete _0x413668[_0x50a179[_0x305a6a(0x121)]];}}}}catch(_0x44fff2){delete _0x413668[_0x50a179['WbTia']],logger['debug'](_0x50a179[_0x305a6a(0x17f)](_0x50a179[_0x305a6a(0x172)],_0x44fff2));}const _0x48275a=helper['getTestFrameworkDetails'](_0x539f95,_0x539f95[_0x305a6a(0x14b)]),_0x23996e={'userName':helper[_0x305a6a(0x13b)](_0x539f95),'accessKey':helper[_0x305a6a(0xfa)](_0x539f95),'event_type':_0x3157a1,'detectedFramework':_0x3a97c8,'buildHashedId':globals[_0x305a6a(0x127)](_0x50a179['KMzWD']),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x305a6a(0x18b)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global['sdkRunId'],'product_map':_0x50a179[_0x305a6a(0x177)](getProductMap,_0x539f95),'productMap':_0x50a179[_0x305a6a(0x135)](getProductMap,_0x539f95),'language_framework':_0x539f95[_0x305a6a(0x173)]||_0x50a179[_0x305a6a(0x12b)],'referrer':helper[_0x305a6a(0x189)](_0x3a97c8),'framework':_0x539f95[_0x305a6a(0x14b)],'frameworkVersion':helper[_0x305a6a(0x15d)](_0x3a97c8),'automationFramework':_0x48275a[_0x305a6a(0x176)],'automationFrameworkVersion':_0x48275a['version'],'language':_0x50a179['issEU'],'languageVersion':process[_0x305a6a(0x112)],'product':_0x225330,'buildName':_0x539f95[_0x305a6a(0x11a)]||_0x50a179[_0x305a6a(0x122)],'buildIdentifier':_0x3a083c,'os':os[_0x305a6a(0x155)]()||_0x50a179[_0x305a6a(0x12b)],'hostname':os[_0x305a6a(0x181)]()||_0x50a179[_0x305a6a(0x12b)],..._0x413668,'isCLIEnabled':_0x25427c}};try{_0x50a179[_0x305a6a(0x131)](_0x3157a1,_0x50a179[_0x305a6a(0x166)])&&(_0x23996e['event_properties'][_0x305a6a(0x150)]=helper[_0x305a6a(0x18e)](_0x539f95)),_0x50a179['XmAmx'](_0x3a97c8,_0x50a179[_0x305a6a(0x137)])?_0x23996e[_0x305a6a(0x16b)][_0x305a6a(0x10b)]=helper[_0x305a6a(0x146)][_0x305a6a(0x132)](null,_0x50a179[_0x305a6a(0x15e)](getTransformPath),!![]):_0x23996e['event_properties'][_0x305a6a(0x158)]=helper[_0x305a6a(0x107)](_0x50a179[_0x305a6a(0x183)]);}catch(_0x454d6e){logger[_0x305a6a(0x13e)](_0x305a6a(0x14c)+_0x454d6e);}const _0x8ed14={};_0x8ed14[_0x305a6a(0x10e)]=_0x50a179[_0x305a6a(0x156)];const _0x1f772b={'headers':_0x8ed14,'body':_0x23996e,'auth':{'user':helper['getUserName'](_0x539f95),'pass':helper['getAccessKey'](_0x539f95)},'json':!![]};logger[_0x305a6a(0x13e)](_0x305a6a(0x13c)+JSON[_0x305a6a(0x10f)](_0x1f772b[_0x305a6a(0x129)])[_0x305a6a(0x105)](new RegExp(helper[_0x305a6a(0x13b)](_0x539f95),'g'),_0x50a179[_0x305a6a(0x106)])['replace'](new RegExp(helper[_0x305a6a(0xfa)](_0x539f95),'g'),_0x50a179[_0x305a6a(0x106)]));try{const _0x5e5d91=await helper[_0x305a6a(0x13f)](_0x50a179[_0x305a6a(0x11d)],FUNNEL_INSTRUMENTATION_API_URL,_0x1f772b,_0x539f95);logger[_0x305a6a(0x13e)]('API\x20Event\x20'+_0x3157a1+'\x20response\x20-\x20'+util[_0x305a6a(0xf8)]('%j',_0x5e5d91));}catch(_0x19d75b){logger[_0x305a6a(0x13e)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x305a6a(0xf8)](_0x19d75b));}},exports['finalExecution']=async(_0x3f6c2a,_0x2d5ee8=![])=>{const _0x362211=a176_0x7081ba,_0x1750af={'xOdgU':function(_0x14981a){return _0x14981a();},'yuzTM':'_hubAllocationData','NAMuA':_0x362211(0x151),'vgjvs':_0x362211(0x136),'XOYEf':_0x362211(0x162),'drnWe':function(_0x2d4ff0,_0x652bb5,_0x11fe6f){return _0x2d4ff0(_0x652bb5,_0x11fe6f);},'sIwts':function(_0x561ae7,_0x4d00e0){return _0x561ae7+_0x4d00e0;},'skicr':_0x362211(0x184)};if(_0x3f6c2a[_0x362211(0x161)])return;_0x3f6c2a['finalExecutionRan']=!![];try{await _0x3f6c2a[_0x362211(0x182)](),_0x1750af[_0x362211(0x126)](printNudgeLocalNotSetError);const _0x188d3e={};_0x188d3e['error']=_0x3f6c2a[_0x362211(0x14d)]?_0x3f6c2a[_0x362211(0x14d)]:'{}';const _0xe5c3a=_0x188d3e,_0x5e18b2=Object[_0x362211(0xf7)]({},_0xe5c3a),_0x5e4a16=globals[_0x362211(0x127)](_0x1750af[_0x362211(0x11c)]);_0x5e4a16&&(_0x5e18b2[_0x362211(0x139)]=_0x5e4a16);!!_0x3f6c2a[_0x362211(0x17c)]&&(_0x5e18b2[_0x1750af[_0x362211(0x11b)]]={'reason':_0x1750af[_0x362211(0x138)],'signal':_0x3f6c2a[_0x362211(0x17c)]});unhandledErrors=_0x3f6c2a[_0x362211(0xfb)][_0x362211(0x15a)]('\x0a');let _0x2aec4d,_0x5a5a1d,_0x4a4a82;helper[_0x362211(0x14a)](_0x3f6c2a[_0x362211(0x10a)])?([_0x2aec4d,_0x5a5a1d]=await helper[_0x362211(0x124)](_0x3f6c2a[_0x362211(0x10a)]),[_0x4a4a82]=await Promise[_0x362211(0x188)]([helper[_0x362211(0x163)](_0x2aec4d,_0x3f6c2a[_0x362211(0x10a)]),exports[_0x362211(0x14f)](_0x1750af[_0x362211(0x186)],_0x5e18b2,_0x3f6c2a[_0x362211(0x10a)],_0x3f6c2a[_0x362211(0x14b)],_0x2d5ee8)])):([_0x2aec4d,_0x5a5a1d]=await helper[_0x362211(0x143)](_0x3f6c2a[_0x362211(0x10a)]),[_0x4a4a82]=await Promise[_0x362211(0x188)]([helper[_0x362211(0x168)](_0x2aec4d,_0x3f6c2a['config']),exports[_0x362211(0x14f)](_0x1750af[_0x362211(0x186)],_0x5e18b2,_0x3f6c2a['config'],_0x3f6c2a['framework'],_0x2d5ee8)])),_0x4a4a82&&await _0x1750af[_0x362211(0x147)](generateCIArtifacts,_0x4a4a82,_0x5a5a1d),logger['info'](_0x362211(0x101)+_0x3f6c2a[_0x362211(0x113)]+_0x362211(0x120)+process[_0x362211(0x17e)][_0x362211(0x117)]),await helper[_0x362211(0x15b)](_0x3f6c2a[_0x362211(0x10a)]);}catch(_0x209989){logger['debug'](_0x1750af['sIwts'](_0x1750af[_0x362211(0x17a)],_0x209989));}helper[_0x362211(0x16a)]();},exports[a176_0x7081ba(0x130)]=_0xa17928=>{const _0x4ec076=a176_0x7081ba,_0x188dea={'zVtaX':function(_0x110de8,_0x22f29a){return _0x110de8 instanceof _0x22f29a;},'KeLWg':function(_0x58bd63,_0x49d836){return _0x58bd63(_0x49d836);}};try{if(_0x188dea[_0x4ec076(0x128)](_0xa17928,Error))return _0xa17928[_0x4ec076(0x171)]||_0xa17928[_0x4ec076(0x144)]();return _0x188dea[_0x4ec076(0x169)](String,_0xa17928);}catch(_0x4df135){return _0xa17928?_0xa17928[_0x4ec076(0x144)]():'';}},exports[a176_0x7081ba(0x110)]=_0x5b40ab=>{const _0x1a73ce=a176_0x7081ba,_0x33c431={};_0x33c431[_0x1a73ce(0x174)]=function(_0x4f0d7b,_0x34f7a4){return _0x4f0d7b===_0x34f7a4;};const _0x48ed93=_0x33c431;return!_0x5b40ab||_0x48ed93[_0x1a73ce(0x174)](_0x5b40ab[_0x1a73ce(0x119)](),'');},exports[a176_0x7081ba(0x18c)]=_0x33aa6d=>{const _0x4d1909=a176_0x7081ba,_0x618ccb={};_0x618ccb[_0x4d1909(0x179)]=function(_0x56faf1,_0x1b2279){return _0x56faf1|_0x1b2279;};const _0x1624fa=_0x618ccb;try{return fs[_0x4d1909(0x12a)](_0x33aa6d,_0x1624fa[_0x4d1909(0x179)](fs['constants']['W_OK'],fs[_0x4d1909(0x187)][_0x4d1909(0x15c)])),!![];}catch(_0x44e6cc){return![];}},exports['setReadWriteExecuteAccess']=_0xde82de=>{const _0x5d2750=a176_0x7081ba;try{fs[_0x5d2750(0x11f)](_0xde82de,0x1ff),logger[_0x5d2750(0x13e)](_0x5d2750(0x16d)+_0xde82de+_0x5d2750(0x18a));}catch(_0x1a5296){logger[_0x5d2750(0x16c)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x5d2750(0x130)](_0x1a5296));}};
|
|
1
|
+
function a176_0x31ee(){const _0x5ad5a5=['selenium-webdriver','APP_AUTOMATE_PRODUCTS','event_properties','[REDACTED]','\x20response\x20-\x20','trim','W_OK','DDTOW','../bin/playwright/reporter/pwUtils','stringify','debug','source','stopPercy','QFFiE','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','push','revAz','hostname','../helpers/testhub/constants','version','constants','Ypirh','LZRMn','54UNQbwi',',\x20testhub\x20id:\x20','application/json','finishedMetadata','framework','getStackTraceAsString','format','sanitizeBrowserStackConfig','ONhSW','dqIGg','errorMessage','chmodSync','VbCxt','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','keys','ZmqBm','playwrightVersion','sWprP','_buildHashedId','DAHWD','finalExecution','assign','config','fIDLT','content-type','Directory\x20','610070cjCKBH','osVersion','\x20:\x20','WXGtV','getPackageVersion','BROWSERSTACK_TESTHUB_UUID','eHjbP','sdkRunId','117678MKmxPa','2625282ttWpvZ','./performance/performance-tester','object','../bin/utils/constants','16KcUNwD','ngQMY','null','undefined','APP_AUTOMATE','isBrowserstackInfra','apply','ywMQY','TJfOi','Vjsae','429124IRauZT','BCLJy','split','SDK\x20run\x20ended\x20for\x20id:\x20','LyRUF','vfjiN','env','values','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','getUserName','ZZwbj','unhandledErrors','length','\x20has\x20now\x20read/write/execute\x20permissions.','notifyUpdate','info','cmBaP','Error\x20in\x20firing\x20request\x20to\x20','getNodeAgent','nodeRequest','browser','seleniumVersion','ENV_VAR','toString','replace','getAccessKey','./helper','reduce','killSignal','hnxdz','sendLogs','type','./testhub/utils','fireFunnelTestEvent','parse','SDKTestSuccessful','accessSync','pKtxH','API\x20Event\x20','forEach','732081AOCAEn','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','getTurboScaleSessionsList','getTestFrameworkDetails','util','error','./globals','AUTOMATE','isTurboScaleSession','QTQnY','ERIie','319677MgkUZk','rlNVX','browserStackConfig','getOptimalHubUrl','globalException','nodejs','aVumj','user_killed','Playwright','finalExecutionRan','_hubAllocationData','buildName','AUTOMATE_PRODUCTS','Lzjzf','getBuildLink','getSessionsList','6937792kdzYBd','codeceptjs','getGlobal'];a176_0x31ee=function(){return _0x5ad5a5;};return a176_0x31ee();}function a176_0x1ffd(_0x2a66a6,_0x169f35){const _0x31ee67=a176_0x31ee();return a176_0x1ffd=function(_0x1ffdae,_0x2430ff){_0x1ffdae=_0x1ffdae-0x9d;let _0x2e2083=_0x31ee67[_0x1ffdae];return _0x2e2083;},a176_0x1ffd(_0x2a66a6,_0x169f35);}const a176_0x19d103=a176_0x1ffd;(function(_0x44de95,_0x5acc69){const _0x412565=a176_0x1ffd,_0x3929ff=_0x44de95();while(!![]){try{const _0x532bbf=-parseInt(_0x412565(0xa6))/0x1+parseInt(_0x412565(0xb5))/0x2+parseInt(_0x412565(0xe8))/0x3+-parseInt(_0x412565(0xab))/0x4*(-parseInt(_0x412565(0x9e))/0x5)+parseInt(_0x412565(0x112))/0x6*(parseInt(_0x412565(0xdd))/0x7)+-parseInt(_0x412565(0xf8))/0x8+-parseInt(_0x412565(0xa7))/0x9;if(_0x532bbf===_0x5acc69)break;else _0x3929ff['push'](_0x3929ff['shift']());}catch(_0x275e3d){_0x3929ff['push'](_0x3929ff['shift']());}}}(a176_0x31ee,0x73ae0));const os=require('os'),util=require(a176_0x19d103(0xe1)),fs=require('fs'),{getProductMap}=require(a176_0x19d103(0xd5)),logger=require('./logger')['winstonLogger'],constants=require(a176_0x19d103(0xaa)),testHubConstants=require(a176_0x19d103(0x10d)),{getTransformPath}=require(a176_0x19d103(0x103)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a176_0x19d103(0xaa)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a176_0x19d103(0xcf)),PerformanceTester=require(a176_0x19d103(0xa8)),globals=require(a176_0x19d103(0xe3)),helper=require(a176_0x19d103(0xcf)),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';exports[a176_0x19d103(0xd6)]=async(_0x3f4541,_0x5f1ed6={},_0x5385ef,_0xd7b1b,_0x297ba8=![])=>{const _0x1081b0=a176_0x19d103,_0x4b407b={'LZRMn':function(_0x2d92e5,_0x2c8f92){return _0x2d92e5===_0x2c8f92;},'pKtxH':_0x1081b0(0xa9),'QFFiE':function(_0x471f78,_0x5d2015){return _0x471f78>_0x5d2015;},'jsOnX':'tests','ERIie':function(_0x55877c){return _0x55877c();},'VqDBy':function(_0x1137a4,_0x35592b){return _0x1137a4==_0x35592b;},'VkVyS':_0x1081b0(0xad),'hnxdz':function(_0x1fdbdf,_0x5d9351){return _0x1fdbdf===_0x5d9351;},'revAz':_0x1081b0(0xae),'ttjRd':_0x1081b0(0xf9),'EOONT':function(_0x22f6cd,_0x3eb736){return _0x22f6cd>_0x3eb736;},'Ypirh':function(_0x57c188,_0x4c475f){return _0x57c188!==_0x4c475f;},'ngQMY':_0x1081b0(0xf0),'VbCxt':_0x1081b0(0xe2),'rlNVX':function(_0xa7a090,_0x10fe55){return _0xa7a090>_0x10fe55;},'ZmqBm':function(_0x5574e7,_0x396ef1){return _0x5574e7+_0x396ef1;},'xWpRB':_0x1081b0(0x11f),'BCLJy':_0x1081b0(0x124),'HDRpR':function(_0x3d3577,_0x4b4a61){return _0x3d3577(_0x4b4a61);},'AZdAZ':function(_0x1a2e08,_0x4d0a39){return _0x1a2e08(_0x4d0a39);},'Lzjzf':'unknown','QTQnY':_0x1081b0(0xed),'DAHWD':'SDKTestSuccessful','TJfOi':function(_0x1baa10,_0x478bbb){return _0x1baa10===_0x478bbb;},'RjZjr':_0x1081b0(0xfb),'Vjsae':_0x1081b0(0x114),'DDTOW':_0x1081b0(0xfe),'ywMQY':'POST'};let _0x397dca=[];if(helper[_0x1081b0(0xb0)]()&&_0x4b407b[_0x1081b0(0xe7)](isTestObservabilitySession))_0x397dca=helper['isAppAutomateSession'](_0x5385ef)?constants[_0x1081b0(0xfc)]:constants[_0x1081b0(0xf4)];else{if(_0x4b407b['ERIie'](isTestObservabilitySession))_0x397dca=constants[_0x1081b0(0xde)];else helper[_0x1081b0(0xb0)]()&&(_0x397dca=helper['isAppAutomateSession'](_0x5385ef)?constants[_0x1081b0(0xaf)]:constants[_0x1081b0(0xe4)]);}let _0x4dfc58=_0x5385ef['buildIdentifier'];if(_0x4b407b['VqDBy'](_0x4dfc58,null))_0x4dfc58=_0x4b407b['VkVyS'];else _0x4b407b[_0x1081b0(0xd2)](_0x4dfc58,undefined)&&(_0x4dfc58=_0x4b407b[_0x1081b0(0x10b)]);unhandledErrors&&_0x4b407b[_0x1081b0(0x108)](unhandledErrors[_0x1081b0(0xc1)],0x0)&&(_0x5f1ed6[_0x1081b0(0xec)]=unhandledErrors);global[_0x1081b0(0xa5)]&&(_0x5f1ed6['sdkRunId']=global['sdkRunId']);try{if(_0x5f1ed6[_0x1081b0(0xe2)]){if(_0x4b407b[_0x1081b0(0xd2)](_0xd7b1b,_0x4b407b['ttjRd'])&&_0x4b407b['EOONT'](_0x5f1ed6[_0x1081b0(0xe2)][_0x1081b0(0xc1)],0x0)){const _0x30b531={};_0x30b531['os']='',_0x30b531[_0x1081b0(0x9f)]='',_0x30b531[_0x1081b0(0xc9)]='',_0x30b531['browserVersion']='';const _0x4e4352=_0x30b531;let _0x286a06={};const _0x5234d6=_0x5f1ed6[_0x1081b0(0xe2)];_0x286a06=_0x5234d6[_0x1081b0(0xd0)]((_0x41662f,_0x5925e9)=>{for(const _0x119eeb in _0x5925e9){_0x41662f[_0x119eeb]=_0x5925e9[_0x119eeb];}return _0x41662f;},{});const _0x3ca632={};_0x3ca632['tests']=_0x286a06,_0x5f1ed6['error']=[Object[_0x1081b0(0x127)]({},_0x4e4352,_0x3ca632)];}else{let _0xaee345=0x0;const _0x5a4773=_0x4b407b[_0x1081b0(0x110)](_0xd7b1b,_0x4b407b[_0x1081b0(0xac)])?JSON[_0x1081b0(0xd7)](_0x5f1ed6['error']):_0x5f1ed6[_0x1081b0(0xe2)],_0x457e6e=Object[_0x1081b0(0xbc)](_0x5a4773);_0x457e6e['forEach'](_0x2dc05a=>{const _0x3d3b0d=_0x1081b0;if(_0x4b407b[_0x3d3b0d(0x111)](typeof _0x2dc05a,_0x4b407b[_0x3d3b0d(0xda)])){const _0x79be83=Object[_0x3d3b0d(0xbc)](_0x2dc05a);!_0x79be83['every'](_0x177022=>_0x177022===null||_0x177022===undefined||_0x177022==='')&&(_0xaee345+=0x1);}});if(_0x4b407b[_0x1081b0(0x111)](_0xaee345,0x0))delete _0x5f1ed6[_0x4b407b[_0x1081b0(0x11e)]];else{const _0x3085ad=[];Object[_0x1081b0(0x120)](_0x5a4773)['forEach'](_0x546c8f=>{const _0x5cbfa2=_0x1081b0,[_0x5e00b1,_0x2c444f,_0x53b839,_0x5bf7ea]=_0x546c8f[_0x5cbfa2(0xb7)](',\x20');let _0x1937bf={};if(!_0x5bf7ea){const _0x38f450={};_0x38f450['deviceName']=_0x5e00b1,_0x38f450[_0x5cbfa2(0x9f)]=_0x2c444f,_0x38f450[_0x5cbfa2(0xc9)]=_0x53b839,_0x1937bf=_0x38f450;}else{const _0x35952c={};_0x35952c['os']=_0x5e00b1,_0x35952c[_0x5cbfa2(0x9f)]=_0x2c444f,_0x35952c[_0x5cbfa2(0xc9)]=_0x53b839,_0x35952c['browserVersion']=_0x5bf7ea,_0x1937bf=_0x35952c;}const _0x540892={},_0x59fd95=_0x5a4773[_0x546c8f];Object['keys'](_0x59fd95)[_0x5cbfa2(0xdc)](_0x393568=>{const _0x58b02a=_0x5cbfa2;_0x4b407b[_0x58b02a(0x108)](_0x59fd95[_0x393568][_0x58b02a(0xc1)],0x0)&&(_0x540892[_0x393568]=_0x59fd95[_0x393568]);}),_0x4b407b[_0x5cbfa2(0x108)](Object[_0x5cbfa2(0x120)](_0x540892)[_0x5cbfa2(0xc1)],0x0)&&(_0x1937bf[_0x4b407b['jsOnX']]=_0x540892,_0x3085ad[_0x5cbfa2(0x10a)](_0x1937bf));}),_0x4b407b[_0x1081b0(0xe9)](_0x3085ad[_0x1081b0(0xc1)],0x0)?_0x5f1ed6[_0x1081b0(0xe2)]=_0x3085ad:delete _0x5f1ed6[_0x4b407b[_0x1081b0(0x11e)]];}}}}catch(_0x2d276d){delete _0x5f1ed6[_0x4b407b[_0x1081b0(0x11e)]],logger['debug'](_0x4b407b[_0x1081b0(0x121)](_0x4b407b['xWpRB'],_0x2d276d));}const _0x21aa8a=helper[_0x1081b0(0xe0)](_0x5385ef,_0x5385ef['framework']),_0x392cdc={'userName':helper[_0x1081b0(0xbe)](_0x5385ef),'accessKey':helper['getAccessKey'](_0x5385ef),'event_type':_0x3f4541,'detectedFramework':_0xd7b1b,'buildHashedId':globals[_0x1081b0(0xfa)](_0x4b407b[_0x1081b0(0xb6)]),'optimalHubUrl':helper[_0x1081b0(0xeb)](),'event_properties':{'testhub_uuid':process[_0x1081b0(0xbb)][testHubConstants[_0x1081b0(0xcb)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global['sdkRunId'],'product_map':_0x4b407b['HDRpR'](getProductMap,_0x5385ef),'productMap':_0x4b407b['AZdAZ'](getProductMap,_0x5385ef),'language_framework':_0x5385ef[_0x1081b0(0x106)]||_0x4b407b[_0x1081b0(0xf5)],'referrer':helper[_0x1081b0(0xc7)](_0xd7b1b),'framework':_0x5385ef[_0x1081b0(0x116)],'frameworkVersion':helper['getFrameworkVersion'](_0xd7b1b),'automationFramework':_0x21aa8a['name'],'automationFrameworkVersion':_0x21aa8a[_0x1081b0(0x10e)],'language':_0x4b407b[_0x1081b0(0xe6)],'languageVersion':process['version'],'product':_0x397dca,'buildName':_0x5385ef[_0x1081b0(0xf3)]||_0x4b407b[_0x1081b0(0x10b)],'buildIdentifier':_0x4dfc58,'os':os[_0x1081b0(0xd4)]()||_0x4b407b[_0x1081b0(0xf5)],'hostname':os[_0x1081b0(0x10c)]()||_0x4b407b[_0x1081b0(0xf5)],..._0x5f1ed6,'isCLIEnabled':_0x297ba8}};try{_0x4b407b[_0x1081b0(0xd2)](_0x3f4541,_0x4b407b[_0x1081b0(0x125)])&&(_0x392cdc['event_properties'][_0x1081b0(0xea)]=helper[_0x1081b0(0x119)](_0x5385ef)),_0x4b407b[_0x1081b0(0xb3)](_0xd7b1b,_0x4b407b[_0x1081b0(0xac)])?_0x392cdc['event_properties'][_0x1081b0(0x122)]=helper['requirePWModule'][_0x1081b0(0xb1)](null,_0x4b407b[_0x1081b0(0xe7)](getTransformPath),!![]):_0x392cdc[_0x1081b0(0xfd)][_0x1081b0(0xca)]=helper[_0x1081b0(0xa2)](_0x4b407b['RjZjr']);}catch(_0x439b8e){logger[_0x1081b0(0x105)](_0x1081b0(0x109)+_0x439b8e);}const _0xb48163={};_0xb48163[_0x1081b0(0x12a)]=_0x4b407b[_0x1081b0(0xb4)];const _0x598a16={'headers':_0xb48163,'body':_0x392cdc,'auth':{'user':helper['getUserName'](_0x5385ef),'pass':helper[_0x1081b0(0xce)](_0x5385ef)},'json':!![]};logger[_0x1081b0(0x105)](_0x1081b0(0xbd)+JSON[_0x1081b0(0x104)](_0x598a16['body'])['replace'](new RegExp(helper['getUserName'](_0x5385ef),'g'),_0x4b407b[_0x1081b0(0x102)])[_0x1081b0(0xcd)](new RegExp(helper[_0x1081b0(0xce)](_0x5385ef),'g'),_0x4b407b[_0x1081b0(0x102)]));try{const _0x244306=await helper[_0x1081b0(0xc8)](_0x4b407b[_0x1081b0(0xb2)],FUNNEL_INSTRUMENTATION_API_URL,_0x598a16,_0x5385ef);logger[_0x1081b0(0x105)](_0x1081b0(0xdb)+_0x3f4541+_0x1081b0(0xff)+util[_0x1081b0(0x118)]('%j',_0x244306));}catch(_0x10d530){logger[_0x1081b0(0x105)](_0x1081b0(0xc6)+FUNNEL_INSTRUMENTATION_API_URL+_0x1081b0(0xa0)+util[_0x1081b0(0x118)](_0x10d530));}},exports[a176_0x19d103(0x126)]=async(_0x3483c2,_0x43c4ac=![])=>{const _0x3ce0e9=a176_0x19d103,_0x429370={'ONhSW':function(_0x4fa0dd){return _0x4fa0dd();},'NzEqG':_0x3ce0e9(0xf2),'ZZwbj':_0x3ce0e9(0x115),'eHjbP':_0x3ce0e9(0xef),'aVumj':_0x3ce0e9(0xd8),'dqIGg':function(_0x1bf7c9,_0x1d416c,_0x2fd688){return _0x1bf7c9(_0x1d416c,_0x2fd688);},'cmBaP':function(_0x391f95,_0x1552ba){return _0x391f95+_0x1552ba;},'vfjiN':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0x3483c2[_0x3ce0e9(0xf1)])return;_0x3483c2['finalExecutionRan']=!![];try{await _0x3483c2[_0x3ce0e9(0x107)](),_0x429370[_0x3ce0e9(0x11a)](printNudgeLocalNotSetError);const _0x927472={};_0x927472[_0x3ce0e9(0xe2)]=_0x3483c2[_0x3ce0e9(0x11c)]?_0x3483c2['errorMessage']:'{}';const _0x2cdccb=_0x927472,_0x2683c2=Object['assign']({},_0x2cdccb),_0x3dca85=globals['getGlobal'](_0x429370['NzEqG']);_0x3dca85&&(_0x2683c2['hubAllocation']=_0x3dca85);!!_0x3483c2[_0x3ce0e9(0xd1)]&&(_0x2683c2[_0x429370[_0x3ce0e9(0xbf)]]={'reason':_0x429370[_0x3ce0e9(0xa4)],'signal':_0x3483c2[_0x3ce0e9(0xd1)]});unhandledErrors=_0x3483c2[_0x3ce0e9(0xc0)]['join']('\x0a');let _0x4062d9,_0x5a3255,_0xacbf54;helper[_0x3ce0e9(0xe5)](_0x3483c2[_0x3ce0e9(0x128)])?([_0x4062d9,_0x5a3255]=await helper['getTurboScaleBuildLink'](_0x3483c2[_0x3ce0e9(0x128)]),[_0xacbf54]=await Promise['all']([helper[_0x3ce0e9(0xdf)](_0x4062d9,_0x3483c2['config']),exports[_0x3ce0e9(0xd6)](_0x429370[_0x3ce0e9(0xee)],_0x2683c2,_0x3483c2[_0x3ce0e9(0x128)],_0x3483c2[_0x3ce0e9(0x116)],_0x43c4ac)])):([_0x4062d9,_0x5a3255]=await helper[_0x3ce0e9(0xf6)](_0x3483c2[_0x3ce0e9(0x128)]),[_0xacbf54]=await Promise['all']([helper[_0x3ce0e9(0xf7)](_0x4062d9,_0x3483c2[_0x3ce0e9(0x128)]),exports[_0x3ce0e9(0xd6)](_0x429370[_0x3ce0e9(0xee)],_0x2683c2,_0x3483c2['config'],_0x3483c2[_0x3ce0e9(0x116)],_0x43c4ac)])),_0xacbf54&&await _0x429370[_0x3ce0e9(0x11b)](generateCIArtifacts,_0xacbf54,_0x5a3255),logger[_0x3ce0e9(0xc4)](_0x3ce0e9(0xb8)+_0x3483c2[_0x3ce0e9(0xa5)]+_0x3ce0e9(0x113)+process['env'][_0x3ce0e9(0xa3)]),await helper[_0x3ce0e9(0xd3)](_0x3483c2[_0x3ce0e9(0x128)]);}catch(_0x4e2b29){logger[_0x3ce0e9(0x105)](_0x429370[_0x3ce0e9(0xc5)](_0x429370[_0x3ce0e9(0xba)],_0x4e2b29));}helper[_0x3ce0e9(0xc3)]();},exports[a176_0x19d103(0x117)]=_0x466fef=>{const _0x376641=a176_0x19d103,_0x471594={'fIDLT':function(_0x11c909,_0x1abc20){return _0x11c909 instanceof _0x1abc20;},'LyRUF':function(_0x3eadf8,_0x362dcc){return _0x3eadf8(_0x362dcc);}};try{if(_0x471594[_0x376641(0x129)](_0x466fef,Error))return _0x466fef['stack']||_0x466fef[_0x376641(0xcc)]();return _0x471594[_0x376641(0xb9)](String,_0x466fef);}catch(_0x3c9f2a){return _0x466fef?_0x466fef[_0x376641(0xcc)]():'';}},exports['isNullOrEmpty']=_0x276b24=>{const _0x47e4e6=a176_0x19d103,_0x2160dd={};_0x2160dd[_0x47e4e6(0x123)]=function(_0x219ffe,_0x1594e8){return _0x219ffe===_0x1594e8;};const _0x5d353c=_0x2160dd;return!_0x276b24||_0x5d353c['sWprP'](_0x276b24[_0x47e4e6(0x100)](),'');},exports['isModifiable']=_0x20d7ed=>{const _0x9c2d8c=a176_0x19d103,_0x556ca4={};_0x556ca4['WXGtV']=function(_0x2079c9,_0x21f432){return _0x2079c9|_0x21f432;};const _0x146839=_0x556ca4;try{return fs[_0x9c2d8c(0xd9)](_0x20d7ed,_0x146839[_0x9c2d8c(0xa1)](fs[_0x9c2d8c(0x10f)][_0x9c2d8c(0x101)],fs['constants']['X_OK'])),!![];}catch(_0x2a206d){return![];}},exports['setReadWriteExecuteAccess']=_0x309849=>{const _0x175f8d=a176_0x19d103;try{fs[_0x175f8d(0x11d)](_0x309849,0x1ff),logger[_0x175f8d(0x105)](_0x175f8d(0x9d)+_0x309849+_0x175f8d(0xc2));}catch(_0x25335f){logger['error']('Failed\x20to\x20set\x20directory\x20access:\x20'+exports['getStackTraceAsString'](_0x25335f));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a177_0x430a(_0x41ccfb,_0x4909bf){var _0x227d77=a177_0x227d();return a177_0x430a=function(_0x430a06,_0x5b5276){_0x430a06=_0x430a06-0xa8;var _0x489517=_0x227d77[_0x430a06];return _0x489517;},a177_0x430a(_0x41ccfb,_0x4909bf);}(function(_0x545f3e,_0x5862ac){var _0x1526e1=a177_0x430a,_0x3e6c94=_0x545f3e();while(!![]){try{var _0x100e0=parseInt(_0x1526e1(0xbf))/0x1+parseInt(_0x1526e1(0xbc))/0x2*(parseInt(_0x1526e1(0x123))/0x3)+parseInt(_0x1526e1(0xef))/0x4*(-parseInt(_0x1526e1(0xb1))/0x5)+parseInt(_0x1526e1(0xb5))/0x6+parseInt(_0x1526e1(0xae))/0x7*(-parseInt(_0x1526e1(0xa9))/0x8)+parseInt(_0x1526e1(0x12a))/0x9+-parseInt(_0x1526e1(0xf9))/0xa;if(_0x100e0===_0x5862ac)break;else _0x3e6c94['push'](_0x3e6c94['shift']());}catch(_0x173d4f){_0x3e6c94['push'](_0x3e6c94['shift']());}}}(a177_0x227d,0xbb689),exports['W3CMapping']=()=>{var _0x28db4b=a177_0x430a,_0x33c39a={};_0x33c39a[_0x28db4b(0xda)]=_0x28db4b(0xba),_0x33c39a[_0x28db4b(0xdc)]=_0x28db4b(0x135),_0x33c39a['BDOeg']=_0x28db4b(0x11d),_0x33c39a['rieBy']='browser',_0x33c39a[_0x28db4b(0xcf)]='browserVersion',_0x33c39a[_0x28db4b(0xb4)]=_0x28db4b(0x126),_0x33c39a['HKpaB']=_0x28db4b(0x103),_0x33c39a['wGKJX']=_0x28db4b(0xfd),_0x33c39a[_0x28db4b(0xf4)]=_0x28db4b(0xf0),_0x33c39a['TjjTA']=_0x28db4b(0x108),_0x33c39a[_0x28db4b(0x119)]=_0x28db4b(0x112),_0x33c39a['PUdvW']='debug',_0x33c39a[_0x28db4b(0xd6)]='consoleLogs',_0x33c39a['VmOUf']=_0x28db4b(0x130),_0x33c39a[_0x28db4b(0xf6)]=_0x28db4b(0xcb),_0x33c39a[_0x28db4b(0x11a)]=_0x28db4b(0xb9),_0x33c39a[_0x28db4b(0xc7)]=_0x28db4b(0x10e),_0x33c39a['yMrua']=_0x28db4b(0x11c),_0x33c39a[_0x28db4b(0xd8)]=_0x28db4b(0x105),_0x33c39a[_0x28db4b(0xc1)]=_0x28db4b(0x117),_0x33c39a['GnVxe']=_0x28db4b(0x12b),_0x33c39a[_0x28db4b(0xc9)]=_0x28db4b(0x107),_0x33c39a[_0x28db4b(0xbd)]='seleniumVersion',_0x33c39a['AjmVg']='maskCommands',_0x33c39a[_0x28db4b(0x110)]=_0x28db4b(0x118),_0x33c39a['OHwgQ']=_0x28db4b(0x11f),_0x33c39a[_0x28db4b(0x12e)]=_0x28db4b(0x113),_0x33c39a['naiAI']='hosts',_0x33c39a[_0x28db4b(0xb7)]=_0x28db4b(0x116),_0x33c39a[_0x28db4b(0xed)]=_0x28db4b(0xd3),_0x33c39a[_0x28db4b(0x102)]=_0x28db4b(0x134),_0x33c39a[_0x28db4b(0xf1)]=_0x28db4b(0xe0),_0x33c39a['tjzQp']=_0x28db4b(0x12c),_0x33c39a['QnijZ']='appiumVersion',_0x33c39a[_0x28db4b(0xe2)]=_0x28db4b(0x10c),_0x33c39a[_0x28db4b(0x11e)]=_0x28db4b(0x129),_0x33c39a[_0x28db4b(0xb2)]='networkProfile',_0x33c39a[_0x28db4b(0x101)]='buildIdentifier',_0x33c39a['lPyxC']='browserstackSDK',_0x33c39a[_0x28db4b(0x136)]=_0x28db4b(0x132),_0x33c39a[_0x28db4b(0xf7)]='buildProductMap',_0x33c39a[_0x28db4b(0xb0)]=_0x28db4b(0xfa),_0x33c39a[_0x28db4b(0xdd)]='accessibilityOptions.wcagVersion',_0x33c39a[_0x28db4b(0xfc)]=_0x28db4b(0xfe),_0x33c39a[_0x28db4b(0x121)]=_0x28db4b(0xad),_0x33c39a[_0x28db4b(0xd9)]=_0x28db4b(0xce),_0x33c39a[_0x28db4b(0x12d)]='accessibilityOptions.includeIssueType.needsReview',_0x33c39a[_0x28db4b(0x133)]='accessibilityOptions.authToken',_0x33c39a[_0x28db4b(0xd5)]=_0x28db4b(0xd7),_0x33c39a[_0x28db4b(0xd0)]=_0x28db4b(0xcc),_0x33c39a[_0x28db4b(0xc5)]=_0x28db4b(0xc3),_0x33c39a[_0x28db4b(0x114)]=_0x28db4b(0x120),_0x33c39a['FpcXk']=_0x28db4b(0xdf),_0x33c39a[_0x28db4b(0x10d)]=_0x28db4b(0x128),_0x33c39a[_0x28db4b(0x106)]=_0x28db4b(0xc8),_0x33c39a['FUzUE']='performance';var _0x22ce2f=_0x33c39a,_0x24cd69={};return _0x24cd69[_0x28db4b(0xeb)]=_0x22ce2f['Mkuzr'],_0x24cd69[_0x28db4b(0xc6)]=_0x22ce2f['OqAWa'],_0x24cd69['os']='os',_0x24cd69[_0x28db4b(0xea)]=_0x22ce2f[_0x28db4b(0xe1)],_0x24cd69[_0x28db4b(0xa8)]=_0x22ce2f['rieBy'],_0x24cd69[_0x28db4b(0x10a)]=_0x22ce2f['QDerT'],_0x24cd69['browserstack.use_w3c']=_0x22ce2f[_0x28db4b(0xb4)],_0x24cd69['project']=_0x22ce2f[_0x28db4b(0xc2)],_0x24cd69[_0x28db4b(0xd1)]=_0x22ce2f['wGKJX'],_0x24cd69[_0x28db4b(0x11b)]=_0x22ce2f[_0x28db4b(0xf4)],_0x24cd69[_0x28db4b(0xe4)]=_0x22ce2f['TjjTA'],_0x24cd69[_0x28db4b(0xaa)]=_0x22ce2f['cJFGk'],_0x24cd69[_0x28db4b(0x100)]=_0x22ce2f[_0x28db4b(0xff)],_0x24cd69[_0x28db4b(0xfb)]=_0x22ce2f[_0x28db4b(0xd6)],_0x24cd69[_0x28db4b(0xee)]=_0x22ce2f[_0x28db4b(0xe3)],_0x24cd69[_0x28db4b(0xac)]=_0x22ce2f[_0x28db4b(0xf6)],_0x24cd69['browserstack.appiumLogs']=_0x22ce2f['bMjAT'],_0x24cd69[_0x28db4b(0x10f)]=_0x22ce2f[_0x28db4b(0xc7)],_0x24cd69[_0x28db4b(0x10b)]=_0x22ce2f[_0x28db4b(0xf3)],_0x24cd69['browserstack.telemetryLogs']=_0x22ce2f[_0x28db4b(0xd8)],_0x24cd69['browserstack.geoLocation']=_0x22ce2f[_0x28db4b(0xc1)],_0x24cd69[_0x28db4b(0xc0)]=_0x22ce2f['GnVxe'],_0x24cd69[_0x28db4b(0x107)]=_0x22ce2f[_0x28db4b(0xc9)],_0x24cd69[_0x28db4b(0xdb)]=_0x22ce2f['QvdrA'],_0x24cd69[_0x28db4b(0x109)]=_0x22ce2f['AjmVg'],_0x24cd69[_0x28db4b(0xd2)]=_0x22ce2f[_0x28db4b(0x110)],_0x24cd69[_0x28db4b(0xd4)]=_0x22ce2f[_0x28db4b(0xf5)],_0x24cd69[_0x28db4b(0x122)]=_0x22ce2f[_0x28db4b(0x12e)],_0x24cd69[_0x28db4b(0x131)]=_0x22ce2f['naiAI'],_0x24cd69[_0x28db4b(0xde)]=_0x22ce2f['iGwaA'],_0x24cd69[_0x28db4b(0xec)]=_0x22ce2f[_0x28db4b(0xed)],_0x24cd69[_0x28db4b(0xb6)]=_0x22ce2f[_0x28db4b(0x102)],_0x24cd69[_0x28db4b(0xf2)]=_0x22ce2f[_0x28db4b(0xf1)],_0x24cd69[_0x28db4b(0x12c)]=_0x22ce2f[_0x28db4b(0xe6)],_0x24cd69[_0x28db4b(0xaf)]=_0x22ce2f[_0x28db4b(0xe8)],_0x24cd69[_0x28db4b(0x10c)]=_0x22ce2f['RnkQJ'],_0x24cd69[_0x28db4b(0xab)]=_0x22ce2f[_0x28db4b(0x11e)],_0x24cd69[_0x28db4b(0x111)]=_0x22ce2f[_0x28db4b(0xb2)],_0x24cd69[_0x28db4b(0x127)]=_0x22ce2f[_0x28db4b(0x101)],_0x24cd69[_0x28db4b(0x104)]=_0x22ce2f[_0x28db4b(0xcd)],_0x24cd69[_0x28db4b(0xca)]=_0x22ce2f[_0x28db4b(0x136)],_0x24cd69['browserstack.buildProductMap']=_0x22ce2f[_0x28db4b(0xf7)],_0x24cd69[_0x28db4b(0xbb)]=_0x22ce2f[_0x28db4b(0xb0)],_0x24cd69['browserstack.accessibilityOptions.wcagVersion']=_0x22ce2f['FWMit'],_0x24cd69[_0x28db4b(0xe5)]=_0x22ce2f[_0x28db4b(0xfc)],_0x24cd69[_0x28db4b(0xbe)]=_0x22ce2f[_0x28db4b(0x121)],_0x24cd69[_0x28db4b(0xe7)]=_0x22ce2f[_0x28db4b(0xd9)],_0x24cd69[_0x28db4b(0xb8)]=_0x22ce2f[_0x28db4b(0x12d)],_0x24cd69[_0x28db4b(0x124)]=_0x22ce2f[_0x28db4b(0x133)],_0x24cd69[_0x28db4b(0x125)]=_0x22ce2f[_0x28db4b(0xd5)],_0x24cd69['browserstack.enableSim']=_0x22ce2f[_0x28db4b(0xd0)],_0x24cd69[_0x28db4b(0xb3)]=_0x22ce2f['sAutw'],_0x24cd69['browserstack.playwrightVersion']=_0x22ce2f['iJXQL'],_0x24cd69[_0x28db4b(0x115)]=_0x22ce2f[_0x28db4b(0xe9)],_0x24cd69[_0x28db4b(0x12f)]=_0x22ce2f['cOkiQ'],_0x24cd69['browserstack.headerParams']=_0x22ce2f['oEeia'],_0x24cd69[_0x28db4b(0xc4)]=_0x22ce2f[_0x28db4b(0xf8)],_0x24cd69;});function a177_0x227d(){var _0x9a2461=['enableSim','lPyxC','accessibilityOptions.includeIssueType.bestPractice','QDerT','FZPDj','build','browserstack.idleTimeout','wsLocalSupport','browserstack.maskBasicAuth','OsGAD','tMHtT','uploadMedia','rtAwG','eCwqx','Mkuzr','browserstack.selenium_version','OqAWa','FWMit','browserstack.bfcache','overridelocalInfo.userAuthToken','deviceName','BDOeg','RnkQJ','VmOUf','browserstack.local','browserstack.accessibilityOptions.scannerVersion','tjzQp','browserstack.accessibilityOptions.includeIssueType.bestPractice','QnijZ','FpcXk','os_version','browserstack.user','browserstack.wsLocalSupport','AlNss','browserstack.networkLogs','7204DfjMgw','sessionName','vxwVX','device','yMrua','yKnEs','OHwgQ','IVWvD','tgXyP','FUzUE','370220DeITHg','testhubBuildUuid','browserstack.console','rrRNa','buildName','accessibilityOptions.scannerVersion','PUdvW','browserstack.debug','gpwBw','AWGPh','projectName','browserstack.browserstackSDK','telemetryLogs','oEeia','resolution','local','browserstack.maskCommands','browser_version','browserstack.seleniumLogs','deviceOrientation','cOkiQ','video','browserstack.video','FslXl','browserstack.networkProfile','localIdentifier','autoWait','iJXQL','browserstack.overridelocalInfo.userAuthToken','bfcache','geoLocation','idleTimeout','cJFGk','bMjAT','name','seleniumLogs','osVersion','mWgiL','maskBasicAuth','playwrightVersion','tjIoI','browserstack.autoWait','9zYbdAZ','browserstack.accessibilityOptions.authToken','browserstack.uploadMedia','useW3c','browserstack.buildIdentifier','overridelocalInfo.localIdentifier','customNetwork','5334246hzliwJ','timezone','realMobile','vombE','bkKbq','browserstack.overridelocalInfo.localIdentifier','networkLogs','browserstack.hosts','accessibility','Ejbot','disableCorsRestrictions','accessKey','fFHVs','browser','5800344JzyjEH','browserstack.localIdentifier','browserstack.customNetwork','browserstack.networkLogsOptions','accessibilityOptions.scannerProcessingTimeout','7PWQBDj','browserstack.appium_version','zVEwW','3360XkoHmH','dloyK','browserstack.simOptions','jFtPe','5206338kDDfLW','browserstack.disableCorsRestrictions','iGwaA','browserstack.accessibilityOptions.includeIssueType.needsReview','appiumLogs','userName','browserstack.testhubBuildUuid','618262CviWta','QvdrA','browserstack.accessibilityOptions.scannerProcessingTimeout','352152zQCHXl','browserstack.timezone','EfdVw','HKpaB','simOptions','browserstack.performance','sAutw','browserstack.key','ZQAJO','headerParams','UPDjb','browserstack.accessibility','networkLogsOptions'];a177_0x227d=function(){return _0x9a2461;};return a177_0x227d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a178_0x30c6af=a178_0x1b1d;function a178_0x1b1d(_0x230ce8,_0x6ac2a4){const _0x529245=a178_0x5292();return a178_0x1b1d=function(_0x1b1de3,_0x2c41aa){_0x1b1de3=_0x1b1de3-0x1bb;let _0x575ead=_0x529245[_0x1b1de3];return _0x575ead;},a178_0x1b1d(_0x230ce8,_0x6ac2a4);}(function(_0x423c2e,_0x249efe){const _0x1f847b=a178_0x1b1d,_0xed5835=_0x423c2e();while(!![]){try{const _0x5b8321=-parseInt(_0x1f847b(0x234))/0x1*(-parseInt(_0x1f847b(0x1c7))/0x2)+-parseInt(_0x1f847b(0x233))/0x3*(parseInt(_0x1f847b(0x1ff))/0x4)+-parseInt(_0x1f847b(0x228))/0x5*(-parseInt(_0x1f847b(0x227))/0x6)+parseInt(_0x1f847b(0x1f8))/0x7*(parseInt(_0x1f847b(0x231))/0x8)+-parseInt(_0x1f847b(0x217))/0x9*(-parseInt(_0x1f847b(0x1ec))/0xa)+parseInt(_0x1f847b(0x22b))/0xb*(-parseInt(_0x1f847b(0x219))/0xc)+parseInt(_0x1f847b(0x216))/0xd*(-parseInt(_0x1f847b(0x218))/0xe);if(_0x5b8321===_0x249efe)break;else _0xed5835['push'](_0xed5835['shift']());}catch(_0xb09da2){_0xed5835['push'](_0xed5835['shift']());}}}(a178_0x5292,0x27370));const url=require(a178_0x30c6af(0x209)),util=require(a178_0x30c6af(0x1fb)),helper=require(a178_0x30c6af(0x203)),logger=require(a178_0x30c6af(0x200))[a178_0x30c6af(0x1f0)],constants=require(a178_0x30c6af(0x1bc)),globals=require(a178_0x30c6af(0x237));function a178_0x5292(){const _0x1f8f3d=['LoKwu','resolve','xSCVy','ZfvyY','\x20HUB\x20-\x20','UlGNZ','Pqshg','next_hubs','rfqLi','Kxgtk','getRequestOptions','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','Syjor','parse','uEkKI','eRzHe','HUB_URL_MAP','skipped','trFOQ','DOAYA','kHGOr','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','vTMYh','hubRegion','hubUrl','czHoj','kpYqt','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','dVFZQ','OunQD','format','delete','value','ZtbSw','3031980danwZN','get','kazgx','/wd/hub','winstonLogger','FqUFQ','length','then','getGlobal','majQv','updateHubUrl','newHubUrlBySession','14keZboC','HUB\x20URL\x20SET\x20TO\x20-\x20','hubRegion\x20','util','gOuLF','GJVNE','NBmAK','20InCSop','./helpers/logger','all','VCFhA','./helpers/helper','findLatency','GpwMm','GET','ERROR\x20in\x20hub\x20selection:\x20','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','url','map','EEHgO','latency','NiorG','RXoTe','mNHGw','https://','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','Execution\x20time\x20for\x20','KTDAm','hostname','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','533zxCnnX','9ENCKyj','95438gPErkU','937668fwaVMs','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','data','hubLatencies','aLZiZ','debug','race','replace','nodeRequest','Invalid\x20new\x20HUB\x20URL:\x20','status','pathname','allocateHub','has','6jmYucx','1589680uWSywY','qszsu','qjMYD','44vDtfyL','hash','fulfilled','JQXCD','NEAREST\x20HUBS\x20LIST:\x20','DICav','481352lzXBuv','AqORT','17175FrzORT','2oqHkIH','now','BKeFk','./helpers/globals','set','./bin/utils/constants','path','catch','eyWig','ytiiP','setGlobal','fHYiR','MdlqK','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','nextHubs','JnAUr','39830OmQmsy','allSettled'];a178_0x5292=function(){return _0x1f8f3d;};return a178_0x5292();}global[a178_0x30c6af(0x1f7)]=global[a178_0x30c6af(0x1f7)]||new Map(),exports[a178_0x30c6af(0x1d3)]=_0x46ceed=>{const _0x58af34=a178_0x30c6af,_0x4db74d={};_0x4db74d[_0x58af34(0x1fe)]=function(_0x244661,_0x5a9ccb){return _0x244661+_0x5a9ccb;},_0x4db74d[_0x58af34(0x202)]=_0x58af34(0x222);const _0x237242=_0x4db74d,_0x3dc97e=url[_0x58af34(0x1d7)](_0x46ceed);if(!_0x3dc97e[_0x58af34(0x214)])throw new Error(_0x237242[_0x58af34(0x1fe)](_0x237242[_0x58af34(0x202)],_0x46ceed));return _0x3dc97e['search']=null,_0x3dc97e[_0x58af34(0x22c)]=null,_0x3dc97e[_0x58af34(0x1bd)]=_0x3dc97e[_0x58af34(0x224)],_0x3dc97e;},exports[a178_0x30c6af(0x1f6)]=(_0x3e01bf,_0x34b936)=>{const _0x3cc9f5=a178_0x30c6af,_0x296d13={};_0x296d13[_0x3cc9f5(0x232)]=_0x3cc9f5(0x215);const _0x5ece0a=_0x296d13;if(!_0x34b936){logger[_0x3cc9f5(0x21e)](_0x5ece0a[_0x3cc9f5(0x232)]);return;}global['newHubUrlBySession'][_0x3cc9f5(0x1bb)](_0x34b936,_0x3e01bf);},exports['consumeHubUrlForSession']=_0xe6ad19=>{const _0x195216=a178_0x30c6af;if(_0xe6ad19&&global[_0x195216(0x1f7)][_0x195216(0x226)](_0xe6ad19)){const _0x28505e=global[_0x195216(0x1f7)][_0x195216(0x1ed)](_0xe6ad19);return global[_0x195216(0x1f7)][_0x195216(0x1e9)](_0xe6ad19),_0x28505e;}return'';},exports[a178_0x30c6af(0x225)]=_0x4bea70=>{const _0x56c708=a178_0x30c6af,_0x2801ae={'Kxgtk':function(_0x22a92f){return _0x22a92f();},'Syjor':function(_0x210caa){return _0x210caa();},'wLtsr':function(_0xd4db3d,_0x4cec7f){return _0xd4db3d!==_0x4cec7f;},'FqUFQ':function(_0x1940e7,_0x1b017e){return _0x1940e7+_0x1b017e;},'MdlqK':_0x56c708(0x210),'uEkKI':'_hubAllocationData','hkxCR':function(_0x443828,_0x5e6843){return _0x443828===_0x5e6843;},'dVFZQ':_0x56c708(0x22d),'qjMYD':_0x56c708(0x1c4),'BidRF':function(_0x3032a0,_0x308bd4){return _0x3032a0+_0x308bd4;},'ytiiP':'/wd/hub','rzeJk':function(_0x34cb9d,_0x120cfd){return _0x34cb9d+_0x120cfd;},'trFOQ':function(_0x53a17b,_0x48b314){return _0x53a17b==_0x48b314;},'UlGNZ':function(_0x2a45e9,_0x21b010){return _0x2a45e9===_0x21b010;}};return new Promise(_0x1d3bae=>{const _0x576ef5=_0x56c708,_0x2e25d5={'kazgx':function(_0x6a77bb){const _0x8b3191=a178_0x1b1d;return _0x2801ae[_0x8b3191(0x1d6)](_0x6a77bb);},'kpYqt':function(_0x21d886,_0x2a7926){return _0x2801ae['wLtsr'](_0x21d886,_0x2a7926);},'JnAUr':function(_0x268097,_0x1e0935){const _0x292229=a178_0x1b1d;return _0x2801ae[_0x292229(0x1f1)](_0x268097,_0x1e0935);},'DICav':_0x2801ae[_0x576ef5(0x1c3)],'vTMYh':_0x2801ae[_0x576ef5(0x1d8)],'JQXCD':function(_0x540b36,_0x1c9565){return _0x2801ae['hkxCR'](_0x540b36,_0x1c9565);},'KLRKv':_0x2801ae[_0x576ef5(0x1e6)],'mNHGw':_0x2801ae[_0x576ef5(0x22a)],'gOuLF':function(_0x44a48c,_0x3c87bb){return _0x2801ae['BidRF'](_0x44a48c,_0x3c87bb);},'CHCOh':_0x2801ae[_0x576ef5(0x1c0)],'cGDwi':function(_0x326241,_0x102762){return _0x2801ae['rzeJk'](_0x326241,_0x102762);},'xSCVy':function(_0x58f1b7){const _0xaa7b72=_0x576ef5;return _0x2801ae[_0xaa7b72(0x1d2)](_0x58f1b7);},'lByVn':function(_0x2f97bb,_0x53a199){const _0x178421=_0x576ef5;return _0x2801ae[_0x178421(0x1dc)](_0x2f97bb,_0x53a199);},'LoKwu':function(_0xdc56c9,_0x1b8095){const _0x17f49c=_0x576ef5;return _0x2801ae[_0x17f49c(0x1ce)](_0xdc56c9,_0x1b8095);}};if(_0x4bea70&&_0x4bea70[_0x576ef5(0x1e1)]){const _0x4f30e8=constants[_0x576ef5(0x1da)][_0x4bea70[_0x576ef5(0x1e1)]];if(_0x4f30e8)return constants[_0x576ef5(0x1e2)]=_0x4f30e8,logger[_0x576ef5(0x21e)](_0x576ef5(0x211)+_0x4f30e8),globals[_0x576ef5(0x1c1)](_0x2801ae[_0x576ef5(0x1d8)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x4f30e8[_0x576ef5(0x220)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x576ef5(0x235)]()}),_0x2801ae['Kxgtk'](_0x1d3bae);logger['debug'](_0x576ef5(0x1fa)+_0x4bea70[_0x576ef5(0x1e1)]+_0x576ef5(0x1d5));}Promise[_0x576ef5(0x1ca)](this[_0x576ef5(0x1c5)](_0x4bea70))['then'](_0x4b5768=>{const _0x41e066=_0x576ef5,_0x28a340={'aLZiZ':function(_0xfbef43,_0x58bb29){const _0x378537=a178_0x1b1d;return _0x2e25d5[_0x378537(0x1e4)](_0xfbef43,_0x58bb29);},'GpwMm':function(_0x47c628,_0x44d9e7){const _0x37bf90=a178_0x1b1d;return _0x2e25d5[_0x37bf90(0x1c6)](_0x47c628,_0x44d9e7);},'GJVNE':_0x2e25d5[_0x41e066(0x230)],'OunQD':_0x2e25d5[_0x41e066(0x1e0)],'DOAYA':function(_0x4af779,_0x4d85c3){const _0x562cb5=_0x41e066;return _0x2e25d5[_0x562cb5(0x22e)](_0x4af779,_0x4d85c3);},'Pqshg':_0x2e25d5['KLRKv'],'ZfvyY':_0x2e25d5[_0x41e066(0x20f)],'majQv':function(_0x28345d,_0x39a5ff){const _0x5e8126=_0x41e066;return _0x2e25d5[_0x5e8126(0x1c6)](_0x28345d,_0x39a5ff);},'qszsu':function(_0x34d307,_0x31c874){const _0x1f000a=_0x41e066;return _0x2e25d5[_0x1f000a(0x1fc)](_0x34d307,_0x31c874);},'kHGOr':_0x2e25d5['CHCOh'],'rfqLi':function(_0x259a55){const _0x24de0e=_0x41e066;return _0x2e25d5[_0x24de0e(0x1ee)](_0x259a55);},'zZTlb':function(_0x2689d1,_0x13d932){return _0x2e25d5['cGDwi'](_0x2689d1,_0x13d932);},'eRzHe':function(_0xc6fafa){const _0x3d879a=_0x41e066;return _0x2e25d5[_0x3d879a(0x1cb)](_0xc6fafa);}};logger['debug'](_0x41e066(0x22f)+util[_0x41e066(0x1e8)]('%j',_0x4b5768));if(_0x2e25d5['lByVn'](_0x4b5768,null)||_0x2e25d5[_0x41e066(0x1c9)](_0x4b5768[_0x41e066(0x1f2)],0x0))return _0x2e25d5[_0x41e066(0x1ee)](_0x1d3bae);const _0x156b7c=_0x4b5768[_0x41e066(0x20a)](_0x4cc552=>{const _0x2c56a1=_0x41e066,_0x58a621=_0x28a340[_0x2c56a1(0x205)](_0x28a340[_0x2c56a1(0x1fd)],_0x4cc552);return this[_0x2c56a1(0x204)](_0x4bea70,_0x58a621)[_0x2c56a1(0x1f3)](_0x330429=>{const _0x293b66=_0x2c56a1;if(_0x330429&&_0x330429[_0x293b66(0x1e2)]&&_0x28a340[_0x293b66(0x21d)](_0x330429['latency'],undefined)){const _0xb66153={};return _0xb66153[_0x293b66(0x1e2)]=_0x330429[_0x293b66(0x1e2)],_0xb66153['latency']=_0x330429[_0x293b66(0x20c)],_0xb66153['ok']=!![],_0xb66153;}const _0x471e78={};return _0x471e78[_0x293b66(0x1e2)]=_0x58a621,_0x471e78[_0x293b66(0x20c)]=null,_0x471e78['ok']=![],_0x471e78;})[_0x2c56a1(0x1be)](()=>({'hubUrl':_0x58a621,'latency':null,'ok':![]}));});Promise[_0x41e066(0x21f)](_0x156b7c['map'](_0x3fb0ae=>_0x3fb0ae[_0x41e066(0x1f3)](_0x533ed1=>_0x533ed1['ok']?_0x533ed1:null)))[_0x41e066(0x1f3)](_0x2ce0c3=>{const _0x186974=_0x41e066;if(_0x2ce0c3)return _0x2ce0c3;return Promise[_0x186974(0x201)](_0x156b7c)[_0x186974(0x1f3)](()=>null);})['then'](_0x44bd56=>{const _0x37c867=_0x41e066,_0x518ac4={'fHYiR':_0x28a340[_0x37c867(0x1e7)],'RXoTe':function(_0x42e14f,_0xcb9901){const _0x396853=_0x37c867;return _0x28a340[_0x396853(0x1dd)](_0x42e14f,_0xcb9901);},'ZndtH':_0x28a340[_0x37c867(0x1cf)]};if(!_0x44bd56){logger['debug'](_0x28a340[_0x37c867(0x1cc)]);const _0x11a316=_0x28a340[_0x37c867(0x1f5)](_0x28a340[_0x37c867(0x1fd)],_0x4b5768[0x0]);return globals[_0x37c867(0x1c1)](_0x28a340[_0x37c867(0x1e7)],{'nearestHubs':_0x4b5768[_0x37c867(0x20a)](_0x156095=>_0x37c867(0x210)+_0x156095),'hubLatencies':{},'selectedHub':_0x11a316,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x37c867(0x235)]()}),constants[_0x37c867(0x1e2)]=_0x28a340[_0x37c867(0x229)](_0x11a316,_0x28a340['kHGOr']),logger['debug'](_0x37c867(0x1df)+_0x11a316),_0x28a340[_0x37c867(0x1d1)](_0x1d3bae);}const _0xc25530={[_0x44bd56[_0x37c867(0x1e2)]]:_0x44bd56[_0x37c867(0x20c)]},_0x2929f1={'nearestHubs':_0x4b5768[_0x37c867(0x20a)](_0x32df62=>_0x37c867(0x210)+_0x32df62),'hubLatencies':_0xc25530,'selectedHub':_0x44bd56[_0x37c867(0x1e2)],'selectedHubLatency':_0x44bd56[_0x37c867(0x20c)],'timestamp':Date[_0x37c867(0x235)]()};globals['setGlobal'](_0x28a340['OunQD'],_0x2929f1),constants[_0x37c867(0x1e2)]=_0x28a340['zZTlb'](_0x44bd56[_0x37c867(0x1e2)],_0x28a340[_0x37c867(0x1de)]),logger[_0x37c867(0x21e)](_0x37c867(0x1f9)+_0x44bd56[_0x37c867(0x1e2)]),_0x28a340[_0x37c867(0x1d9)](_0x1d3bae),Promise[_0x37c867(0x1c8)](_0x156b7c)[_0x37c867(0x1f3)](_0x2f081a=>{const _0x3becb1=_0x37c867;try{const _0x470ae9=globals[_0x3becb1(0x1f4)](_0x518ac4[_0x3becb1(0x1c2)]);if(!_0x470ae9||_0x470ae9[_0x3becb1(0x1db)])return;const _0x554f7b={};for(const _0x5e112e of _0x2f081a){_0x518ac4[_0x3becb1(0x20e)](_0x5e112e[_0x3becb1(0x223)],_0x518ac4['ZndtH'])&&_0x5e112e['value']&&_0x5e112e['value']['ok']&&(_0x554f7b[_0x5e112e[_0x3becb1(0x1ea)]['hubUrl']]=_0x5e112e[_0x3becb1(0x1ea)][_0x3becb1(0x20c)]);}_0x470ae9[_0x3becb1(0x21c)]=_0x554f7b;}catch(_0x5b6a44){logger[_0x3becb1(0x21e)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x5b6a44);}})[_0x37c867(0x1be)](_0x43f870=>{const _0x56e20c=_0x37c867;logger[_0x56e20c(0x21e)](_0x56e20c(0x1d4)+_0x43f870);});})[_0x41e066(0x1be)](_0x2a39ed=>{const _0x4907ba=_0x41e066;logger['debug'](_0x4907ba(0x207)+_0x2a39ed),_0x2e25d5[_0x4907ba(0x1ee)](_0x1d3bae);});})[_0x576ef5(0x1be)](_0x49bdd0=>{const _0x275031=_0x576ef5;logger['debug'](_0x275031(0x208)+_0x49bdd0),_0x2801ae[_0x275031(0x1d2)](_0x1d3bae);});});},exports[a178_0x30c6af(0x204)]=async(_0x2ebac3,_0x5453b2)=>{const _0x613dc9=a178_0x30c6af,_0xeea1ec={};_0xeea1ec[_0x613dc9(0x1eb)]=_0x613dc9(0x206),_0xeea1ec[_0x613dc9(0x1e3)]='check',_0xeea1ec[_0x613dc9(0x213)]=function(_0x3747ec,_0x1ce68e){return _0x3747ec-_0x1ce68e;};const _0x5b8e05=_0xeea1ec;try{const _0x488a68=new Date();await helper[_0x613dc9(0x221)](_0x5b8e05[_0x613dc9(0x1eb)],_0x5b8e05[_0x613dc9(0x1e3)],{},_0x2ebac3,_0x5453b2,0x1388);const _0x266995=_0x5b8e05['KTDAm'](new Date(),_0x488a68);logger[_0x613dc9(0x21e)](_0x613dc9(0x212)+_0x5453b2+'\x20is:\x20'+_0x266995+'ms');const _0x2f2291={};return _0x2f2291[_0x613dc9(0x1e2)]=_0x5453b2,_0x2f2291[_0x613dc9(0x20c)]=_0x266995,_0x2f2291;}catch(_0x80e7b1){return logger['debug'](_0x613dc9(0x21a)+_0x5453b2+_0x613dc9(0x1cd)+_0x80e7b1),{};}},exports[a178_0x30c6af(0x1c5)]=async _0x2cec16=>{const _0x30772c=a178_0x30c6af,_0x53f24d={'EEHgO':function(_0x118d40,_0x52829f){return _0x118d40(_0x52829f);},'eyWig':'./bin/utils/constants','BKeFk':_0x30772c(0x1ef),'Bdyso':_0x30772c(0x206),'NiorG':_0x30772c(0x1d0)};try{const _0x52cae9=_0x53f24d[_0x30772c(0x20b)](require,_0x53f24d[_0x30772c(0x1bf)])[_0x30772c(0x1e2)][_0x30772c(0x220)](_0x53f24d[_0x30772c(0x236)],''),_0x58ca83=await helper[_0x30772c(0x221)](_0x53f24d['Bdyso'],_0x53f24d[_0x30772c(0x20d)],{},_0x2cec16,_0x52cae9,0x1388),_0x5afb0a=_0x58ca83[_0x30772c(0x21b)];return logger[_0x30772c(0x21e)]('Response:\x20'+util['format']('%j',_0x5afb0a)),_0x5afb0a['hubs'];}catch(_0x46ff83){logger['debug'](_0x30772c(0x1e5)+_0x46ff83);}return null;};
|
|
1
|
+
const a178_0x504fff=a178_0x5dce;(function(_0x3d155c,_0x6498d){const _0x162556=a178_0x5dce,_0xcdfb5d=_0x3d155c();while(!![]){try{const _0x2e2da3=-parseInt(_0x162556(0xc5))/0x1+-parseInt(_0x162556(0xf4))/0x2*(parseInt(_0x162556(0xba))/0x3)+-parseInt(_0x162556(0xf9))/0x4*(parseInt(_0x162556(0xbd))/0x5)+parseInt(_0x162556(0x9c))/0x6+parseInt(_0x162556(0xd8))/0x7+-parseInt(_0x162556(0xa7))/0x8*(-parseInt(_0x162556(0xf7))/0x9)+-parseInt(_0x162556(0xc0))/0xa*(parseInt(_0x162556(0xdb))/0xb);if(_0x2e2da3===_0x6498d)break;else _0xcdfb5d['push'](_0xcdfb5d['shift']());}catch(_0xb70ae0){_0xcdfb5d['push'](_0xcdfb5d['shift']());}}}(a178_0x54fb,0x2cae7));function a178_0x54fb(){const _0x2db7c2=['format','fulfilled','78177oHwwUB','value','ERROR\x20in\x20hub\x20selection:\x20','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','GET','eLSSC','util','VSRXg','fwZAR','hubRegion','tgiQM','winstonLogger','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','nextHubs','KUkmh','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','./bin/utils/constants','getRequestOptions','983836uuQdXy','Xzryv','uTvbp','3238609JnxuRn','data','HUB_URL_MAP','/wd/hub','getGlobal','eBPTF','fVuqi','qgMQY','GJPsL','VXAyw','NEAREST\x20HUBS\x20LIST:\x20','has','./helpers/globals','setGlobal','TKtcN','BUwop','search','eQngl','hubRegion\x20','eUVff','NDIhe','debug','./helpers/logger','length','replace','151814InvBWS','findLatency','qdHdX','674343FUofYF','https://','71516TtkEtd','AqBfA','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','KBdYi','updateHubUrl','Response:\x20','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','StdkC','1918956WBTSQq','consumeHubUrlForSession','next_hubs','Invalid\x20new\x20HUB\x20URL:\x20','map','path','KtPLV','latency','hubLatencies','_hubAllocationData','\x20is:\x20','24gDowTW','HdaMP','status','HGthz','get','HUB\x20URL\x20SET\x20TO\x20-\x20','KeteA','delete','hostname','lCXrl','skipped','allSettled','race','then','newHubUrlBySession','hash','PEUNd','nodeRequest','hubUrl','3CzQiIr','jEZGm','catch','15DhVWfZ','check','UsazZ','10JhYdnC','BJzlX','now'];a178_0x54fb=function(){return _0x2db7c2;};return a178_0x54fb();}const url=require('url'),util=require(a178_0x504fff(0xcc)),helper=require('./helpers/helper'),logger=require(a178_0x504fff(0xf1))[a178_0x504fff(0xd1)],constants=require('./bin/utils/constants'),globals=require(a178_0x504fff(0xe7));function a178_0x5dce(_0x4be0ed,_0x593933){const _0x54fb69=a178_0x54fb();return a178_0x5dce=function(_0x5dce6c,_0x2a238e){_0x5dce6c=_0x5dce6c-0x99;let _0x6f9505=_0x54fb69[_0x5dce6c];return _0x6f9505;},a178_0x5dce(_0x4be0ed,_0x593933);}global[a178_0x504fff(0xb5)]=global['newHubUrlBySession']||new Map(),exports[a178_0x504fff(0xd7)]=_0x23ae2d=>{const _0x435016=a178_0x504fff,_0x5de428={};_0x5de428[_0x435016(0xda)]=function(_0x3fef34,_0x413ca5){return _0x3fef34+_0x413ca5;},_0x5de428[_0x435016(0xce)]=_0x435016(0x9f);const _0x12f323=_0x5de428,_0x53485d=url['parse'](_0x23ae2d);if(!_0x53485d[_0x435016(0xaf)])throw new Error(_0x12f323['uTvbp'](_0x12f323[_0x435016(0xce)],_0x23ae2d));return _0x53485d[_0x435016(0xeb)]=null,_0x53485d[_0x435016(0xb6)]=null,_0x53485d[_0x435016(0xa1)]=_0x53485d['pathname'],_0x53485d;},exports[a178_0x504fff(0xfd)]=(_0x4e4714,_0x530aaa)=>{const _0x58aedf=a178_0x504fff,_0x2e759e={};_0x2e759e['qdHdX']='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x31da0e=_0x2e759e;if(!_0x530aaa){logger[_0x58aedf(0xf0)](_0x31da0e[_0x58aedf(0xf6)]);return;}global[_0x58aedf(0xb5)]['set'](_0x530aaa,_0x4e4714);},exports[a178_0x504fff(0x9d)]=_0x1ea778=>{const _0x4cbd04=a178_0x504fff;if(_0x1ea778&&global[_0x4cbd04(0xb5)][_0x4cbd04(0xe6)](_0x1ea778)){const _0x548df4=global[_0x4cbd04(0xb5)][_0x4cbd04(0xab)](_0x1ea778);return global[_0x4cbd04(0xb5)][_0x4cbd04(0xae)](_0x1ea778),_0x548df4;}return'';},exports['allocateHub']=_0x595a86=>{const _0xaf0a19=a178_0x504fff,_0x362c34={'NDIhe':function(_0x1eb347,_0x1ec290){return _0x1eb347!==_0x1ec290;},'KBdYi':function(_0x160abd,_0x435faf){return _0x160abd+_0x435faf;},'KeteA':_0xaf0a19(0xf8),'HGthz':_0xaf0a19(0xa5),'lCXrl':function(_0x103442,_0x153ccd){return _0x103442===_0x153ccd;},'tgiQM':_0xaf0a19(0xc4),'PEUNd':function(_0x123347){return _0x123347();},'OiuIy':function(_0x46398f,_0x19b4cc){return _0x46398f==_0x19b4cc;},'dZzKR':function(_0x4386f0){return _0x4386f0();},'eQngl':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','VXAyw':function(_0x1c31ef,_0x5b0c9d){return _0x1c31ef+_0x5b0c9d;},'HdaMP':_0xaf0a19(0xde),'cMrlq':function(_0x22d938){return _0x22d938();}};return new Promise(_0x518db0=>{const _0x23acbd=_0xaf0a19,_0x19fe03={'jEZGm':_0x362c34[_0x23acbd(0xec)],'AqBfA':function(_0xf2dbd6,_0x54d630){const _0x380148=_0x23acbd;return _0x362c34[_0x380148(0xe4)](_0xf2dbd6,_0x54d630);},'VSRXg':_0x362c34[_0x23acbd(0xad)],'BUwop':_0x362c34[_0x23acbd(0xaa)],'UsazZ':function(_0x2f7503,_0x355f22){const _0x347255=_0x23acbd;return _0x362c34[_0x347255(0xe4)](_0x2f7503,_0x355f22);},'xauXO':_0x362c34[_0x23acbd(0xa8)],'KUkmh':function(_0x366aa8){return _0x362c34['cMrlq'](_0x366aa8);},'eUVff':function(_0x28f753){return _0x362c34['dZzKR'](_0x28f753);}};if(_0x595a86&&_0x595a86[_0x23acbd(0xcf)]){const _0x2772ff=constants[_0x23acbd(0xdd)][_0x595a86[_0x23acbd(0xcf)]];if(_0x2772ff)return constants['hubUrl']=_0x2772ff,logger[_0x23acbd(0xf0)](_0x23acbd(0xc9)+_0x2772ff),globals[_0x23acbd(0xe8)](_0x362c34[_0x23acbd(0xaa)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x2772ff[_0x23acbd(0xf3)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x362c34[_0x23acbd(0xb7)](_0x518db0);logger[_0x23acbd(0xf0)](_0x23acbd(0xed)+_0x595a86[_0x23acbd(0xcf)]+_0x23acbd(0xc8));}Promise['resolve'](this['nextHubs'](_0x595a86))[_0x23acbd(0xb4)](_0x50a0de=>{const _0x582c07=_0x23acbd,_0x38b891={'fVuqi':function(_0x11db32,_0x3b9f4b){const _0x187f09=a178_0x5dce;return _0x362c34[_0x187f09(0xef)](_0x11db32,_0x3b9f4b);},'ZySSK':function(_0x4a43ce,_0xed3d17){const _0x4f5f06=a178_0x5dce;return _0x362c34[_0x4f5f06(0xfc)](_0x4a43ce,_0xed3d17);},'GJPsL':_0x362c34[_0x582c07(0xad)],'WwgwU':_0x362c34[_0x582c07(0xaa)],'KtPLV':function(_0x1ce32b,_0x138121){return _0x362c34['lCXrl'](_0x1ce32b,_0x138121);},'lQalo':_0x362c34[_0x582c07(0xd0)],'ltWbh':function(_0x110687){return _0x362c34['PEUNd'](_0x110687);}};logger[_0x582c07(0xf0)](_0x582c07(0xe5)+util[_0x582c07(0xc3)]('%j',_0x50a0de));if(_0x362c34['OiuIy'](_0x50a0de,null)||_0x362c34[_0x582c07(0xb0)](_0x50a0de[_0x582c07(0xf2)],0x0))return _0x362c34['PEUNd'](_0x518db0);const _0xcb3d0b=_0x50a0de[_0x582c07(0xa0)](_0xac72f=>{const _0x4aa2de=_0x582c07,_0x2b4d5b={'StdkC':function(_0x394b07,_0x639ba2){const _0x269de0=a178_0x5dce;return _0x38b891[_0x269de0(0xe1)](_0x394b07,_0x639ba2);}},_0x41b74b=_0x38b891['ZySSK'](_0x38b891[_0x4aa2de(0xe3)],_0xac72f);return this[_0x4aa2de(0xf5)](_0x595a86,_0x41b74b)[_0x4aa2de(0xb4)](_0x59039c=>{const _0x28ebe2=_0x4aa2de;if(_0x59039c&&_0x59039c[_0x28ebe2(0xb9)]&&_0x2b4d5b[_0x28ebe2(0x9b)](_0x59039c[_0x28ebe2(0xa3)],undefined)){const _0x36f305={};return _0x36f305[_0x28ebe2(0xb9)]=_0x59039c[_0x28ebe2(0xb9)],_0x36f305[_0x28ebe2(0xa3)]=_0x59039c['latency'],_0x36f305['ok']=!![],_0x36f305;}const _0x202b8a={};return _0x202b8a[_0x28ebe2(0xb9)]=_0x41b74b,_0x202b8a[_0x28ebe2(0xa3)]=null,_0x202b8a['ok']=![],_0x202b8a;})[_0x4aa2de(0xbc)](()=>({'hubUrl':_0x41b74b,'latency':null,'ok':![]}));});Promise[_0x582c07(0xb3)](_0xcb3d0b[_0x582c07(0xa0)](_0x27ea5a=>_0x27ea5a[_0x582c07(0xb4)](_0x361a97=>_0x361a97['ok']?_0x361a97:null)))[_0x582c07(0xb4)](_0xf1e879=>{const _0x750d06=_0x582c07;if(_0xf1e879)return _0xf1e879;return Promise['all'](_0xcb3d0b)[_0x750d06(0xb4)](()=>null);})[_0x582c07(0xb4)](_0x1d267=>{const _0x8650ab=_0x582c07;if(!_0x1d267){logger['debug'](_0x19fe03[_0x8650ab(0xbb)]);const _0x4bbc0c=_0x19fe03['AqBfA'](_0x19fe03[_0x8650ab(0xcd)],_0x50a0de[0x0]);return globals['setGlobal'](_0x19fe03[_0x8650ab(0xea)],{'nearestHubs':_0x50a0de[_0x8650ab(0xa0)](_0x26f34a=>_0x8650ab(0xf8)+_0x26f34a),'hubLatencies':{},'selectedHub':_0x4bbc0c,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x8650ab(0xc2)]()}),constants[_0x8650ab(0xb9)]=_0x19fe03[_0x8650ab(0xbf)](_0x4bbc0c,_0x19fe03['xauXO']),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x4bbc0c),_0x19fe03[_0x8650ab(0xd4)](_0x518db0);}const _0x1fa4e7={[_0x1d267[_0x8650ab(0xb9)]]:_0x1d267[_0x8650ab(0xa3)]},_0x40a09b={'nearestHubs':_0x50a0de[_0x8650ab(0xa0)](_0x540a6d=>_0x8650ab(0xf8)+_0x540a6d),'hubLatencies':_0x1fa4e7,'selectedHub':_0x1d267[_0x8650ab(0xb9)],'selectedHubLatency':_0x1d267[_0x8650ab(0xa3)],'timestamp':Date['now']()};globals[_0x8650ab(0xe8)](_0x19fe03[_0x8650ab(0xea)],_0x40a09b),constants[_0x8650ab(0xb9)]=_0x19fe03[_0x8650ab(0xfa)](_0x1d267[_0x8650ab(0xb9)],_0x19fe03['xauXO']),logger['debug'](_0x8650ab(0xac)+_0x1d267[_0x8650ab(0xb9)]),_0x19fe03[_0x8650ab(0xee)](_0x518db0),Promise[_0x8650ab(0xb2)](_0xcb3d0b)['then'](_0x1b15e5=>{const _0x5d310d=_0x8650ab;try{const _0x45ced4=globals[_0x5d310d(0xdf)](_0x38b891['WwgwU']);if(!_0x45ced4||_0x45ced4[_0x5d310d(0xb1)])return;const _0x5f288c={};for(const _0x15e390 of _0x1b15e5){_0x38b891[_0x5d310d(0xa2)](_0x15e390[_0x5d310d(0xa9)],_0x38b891['lQalo'])&&_0x15e390[_0x5d310d(0xc6)]&&_0x15e390[_0x5d310d(0xc6)]['ok']&&(_0x5f288c[_0x15e390[_0x5d310d(0xc6)][_0x5d310d(0xb9)]]=_0x15e390[_0x5d310d(0xc6)][_0x5d310d(0xa3)]);}_0x45ced4[_0x5d310d(0xa4)]=_0x5f288c;}catch(_0x479979){logger[_0x5d310d(0xf0)](_0x5d310d(0xfb)+_0x479979);}})['catch'](_0x5934be=>{const _0x45c087=_0x8650ab;logger['debug'](_0x45c087(0xd5)+_0x5934be);});})[_0x582c07(0xbc)](_0x5150de=>{const _0x3d811e=_0x582c07;logger[_0x3d811e(0xf0)](_0x3d811e(0xc7)+_0x5150de),_0x38b891['ltWbh'](_0x518db0);});})[_0x23acbd(0xbc)](_0x473809=>{const _0x133f4a=_0x23acbd;logger['debug'](_0x133f4a(0xd2)+_0x473809),_0x362c34['dZzKR'](_0x518db0);});});},exports[a178_0x504fff(0xf5)]=async(_0x222f4c,_0x1dd1d9)=>{const _0x1ff96a=a178_0x504fff,_0x1fce74={};_0x1fce74[_0x1ff96a(0xcb)]=_0x1ff96a(0xca),_0x1fce74[_0x1ff96a(0xe2)]=_0x1ff96a(0xbe),_0x1fce74['BJzlX']=function(_0x1fa9af,_0x575edf){return _0x1fa9af-_0x575edf;};const _0x4aced8=_0x1fce74;try{const _0x184e2c=new Date();await helper[_0x1ff96a(0xb8)](_0x4aced8['eLSSC'],_0x4aced8[_0x1ff96a(0xe2)],{},_0x222f4c,_0x1dd1d9,0x1388);const _0x56ce57=_0x4aced8[_0x1ff96a(0xc1)](new Date(),_0x184e2c);logger[_0x1ff96a(0xf0)]('Execution\x20time\x20for\x20'+_0x1dd1d9+_0x1ff96a(0xa6)+_0x56ce57+'ms');const _0x480e20={};return _0x480e20[_0x1ff96a(0xb9)]=_0x1dd1d9,_0x480e20[_0x1ff96a(0xa3)]=_0x56ce57,_0x480e20;}catch(_0x358dea){return logger['debug'](_0x1ff96a(0x9a)+_0x1dd1d9+'\x20HUB\x20-\x20'+_0x358dea),{};}},exports[a178_0x504fff(0xd3)]=async _0x4bdf79=>{const _0x380c6f=a178_0x504fff,_0x417c2f={'TKtcN':function(_0xc09aad,_0x357517){return _0xc09aad(_0x357517);},'uSQJD':_0x380c6f(0xd6),'eBPTF':_0x380c6f(0xde),'Xzryv':_0x380c6f(0xca),'eVTqp':_0x380c6f(0x9e)};try{const _0x3105e4=_0x417c2f[_0x380c6f(0xe9)](require,_0x417c2f['uSQJD'])[_0x380c6f(0xb9)][_0x380c6f(0xf3)](_0x417c2f[_0x380c6f(0xe0)],''),_0x347fa9=await helper['nodeRequest'](_0x417c2f[_0x380c6f(0xd9)],_0x417c2f['eVTqp'],{},_0x4bdf79,_0x3105e4,0x1388),_0x1bd293=_0x347fa9[_0x380c6f(0xdc)];return logger['debug'](_0x380c6f(0x99)+util['format']('%j',_0x1bd293)),_0x1bd293['hubs'];}catch(_0x408dfa){logger[_0x380c6f(0xf0)]('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x408dfa);}return null;};
|