browserstack-node-sdk 1.56.0 → 1.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a154_0x1706(_0x319128,_0x14cfa7){const _0x2127e6=a154_0x2127();return a154_0x1706=function(_0x1706d9,_0x1aa7a9){_0x1706d9=_0x1706d9-0x67;let _0x13f778=_0x2127e6[_0x1706d9];return _0x13f778;},a154_0x1706(_0x319128,_0x14cfa7);}const a154_0x406eb3=a154_0x1706;(function(_0x187d64,_0x4dd345){const _0x345948=a154_0x1706,_0x20b889=_0x187d64();while(!![]){try{const _0x148a40=-parseInt(_0x345948(0x114))/0x1+parseInt(_0x345948(0x71))/0x2+-parseInt(_0x345948(0x100))/0x3+-parseInt(_0x345948(0x111))/0x4+-parseInt(_0x345948(0x81))/0x5+-parseInt(_0x345948(0xd1))/0x6+-parseInt(_0x345948(0xd4))/0x7*(-parseInt(_0x345948(0x78))/0x8);if(_0x148a40===_0x4dd345)break;else _0x20b889['push'](_0x20b889['shift']());}catch(_0x3ac9cd){_0x20b889['push'](_0x20b889['shift']());}}}(a154_0x2127,0x5a626));const bsSetupHelper=require(a154_0x406eb3(0xad)),LoadTestModule=require(a154_0x406eb3(0xc4)),{isTestObservabilitySession,getFrameworkVersion}=require(a154_0x406eb3(0xf1)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a154_0x406eb3(0xe7))[a154_0x406eb3(0xb5)],{nestedKeyValue}=require(a154_0x406eb3(0xfc)),scripts=require(a154_0x406eb3(0x67)),globals=require(a154_0x406eb3(0x101)),testHubConstants=require('./constants.js'),PWTestDetails=require(a154_0x406eb3(0xd5)),JestTestDetails=require(a154_0x406eb3(0xfb)),{FRAMEWORKS}=require(a154_0x406eb3(0x92)),{isTurboScaleSession}=require(a154_0x406eb3(0xe5)),OrchestrationUtils=require(a154_0x406eb3(0xb2)),constants=require(a154_0x406eb3(0x69));function a154_0x2127(){const _0x153ef8=['forEach','errors','jwt','error','HybRT','ysmzJ','IFvFA','66600zfsCrD','oUiEM','BS_TESTOPS_BUILD_HASHED_ID','359639fohXVS','../../bin/playwright/reporter/test-details.js','isPercyBuild','GoRxn','isAccessibilityEnabled','2|1|0|3|4','cyYeq','config','keys','scripts','CtHzo','XUjpz','Vnkjc','BS_TESTOPS_ALLOW_SCREENSHOTS','tags','isUndefined','nvoPp','../ats/helper','HookRunFinished','../logger','goog:chromeOptions','cMaNF','gfjwo','JEST','URNjA','setTestHubCommonMetaInfo','setAccessibilityVariables','split','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../test-observability/utils','BROWSERSTACK_ACCESSIBILITY','appendTesthubParams','isAccessibilityPlatform','assign','VsykN','JgePn','null','getFrameworkDetails','getTestData','../../bin/jest/test-observability/test-details.js','../helper.js','commands','QveFL','TestRunStarted','1892688uXceCd','../globals.js',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','getGlobal','OBSERVABILITY','stringify','capabilities','toString','build_hashed_id','CBTSessionCreated','getAgentVersion','nktBO','getCentralUser','name','shouldProcessEventForTesthub','BS_A11Y_JWT','NTtUv','666048YZjhBx','RbaoC','value','78047fzRaIR','NBSIT','getBuildStartData','XXHFA','OVXVg','MOCHA','getAccessibilityValueFromYml','CCRem','toUpperCase','ARHWa','password','XLqDL','DEPRECATED','dbFKY','parse','../accessibility-automation/scripts.js','isTurboScaleSession','../../bin/utils/constants.js','allow_screenshots','stAYW','checkAccessibilityPlatformConfig','BS_TESTOPS_BUILD_COMPLETED','accessibility','parseFromJson','qLPIm','1317270iBGAer','toJson','noYmj','test_run','scannerVersion','isLTSSession','uuid','104iRMKAd','BROWSERSTACK_TESTHUB_JWT','setPercyFlag','bBvRC','BROWSERSTACK_TESTHUB_UUID','kmwFf','iAZlp','javascript','BS_TESTOPS_JWT','348835EuJqsk','MPKNP','percy','\x20Build\x20creation\x20failed','username','XqoJf','message','debug','skipCDPConnectOverride','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','scopes','length','getAccessibilityPlatformValidation','INVALID_CREDENTIALS','WnaHi','CUCUMBER','accessibilityPlatform','../test-observability/constants.js','isRunning','FoCUe','mwmKH','gwFNt','JqMkd','CCWus','command','commandsToWrap','ERROR','handleErrorForObservability','includes','key','4|2|0|6|5|1|3','true','NlBdl','parseA11yJwtPayload','4|5|0|3|2|1','getTestOrchestrationBuildStartData','env','ACCESSIBILITY','info','paksN','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','xNYxU','handleErrorForAccessibility','shouldScanTestForAccessibility','../helper','success','kYwWZ','false','isBrowserstackInfra','../test-orchestration/orchestrationUtils.js','YXHls','WYgnh','winstonLogger','BROWSERSTACK_PERCY','pSKcH','xTTKX','product_map','options','app','uZBRv','CREDENTIALS_FOR_CRASH_REPORTING','zxofS','kIAZS','setCurrentTestData','observability','platforms','logBuildError','../../bin/v2/modules/loadTestModule','isTrue','zHNeO','BROWSERSTACK_TEST_ACCESSIBILITY_YML','kbqtj','titlePath'];a154_0x2127=function(){return _0x153ef8;};return a154_0x2127();}let testData={};exports['getProductMap']=_0x551b7e=>{const _0x28255f=a154_0x406eb3,_0x6de312={'CfakE':function(_0x57dc72){return _0x57dc72();}};let _0x10f5e0=![],_0x33ee91=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x551b7e[_0x28255f(0xbb)])_0x33ee91=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x10f5e0=!![]);return Object[_0x28255f(0xf5)]({'observability':_0x6de312['CfakE'](isTestObservabilitySession),'accessibility':exports[_0x28255f(0xd8)](_0x551b7e),'percy':_0x551b7e[_0x28255f(0x83)]||![],'automate':_0x10f5e0,'app_automate':_0x33ee91,'turboscale':bsSetupHelper[_0x28255f(0x68)](_0x551b7e),'lts':LoadTestModule[_0x28255f(0x76)](_0x551b7e)},bsSetupHelper[_0x28255f(0x10c)]());},exports[a154_0x406eb3(0xf9)]=(_0x5a31d1,_0x2c3afc)=>{const _0x5a8d87=a154_0x406eb3,_0x5429a1={'kmwFf':function(_0x34c0a7,_0x36e80f){return _0x34c0a7(_0x36e80f);},'FoCUe':_0x5a8d87(0x7f)},_0x46d078={'frameworkName':_0x2c3afc,'frameworkVersion':_0x5429a1[_0x5a8d87(0x7d)](getFrameworkVersion,_0x2c3afc),'sdkVersion':bsSetupHelper[_0x5a8d87(0x10a)](),'language':_0x5429a1[_0x5a8d87(0x94)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x5a31d1,_0x2c3afc)};return process['env']['FRAMEWORK_DETAILS']=JSON['stringify'](_0x46d078),_0x46d078;},exports[a154_0x406eb3(0x7a)]=_0x4e6b9b=>{const _0x2467fa=a154_0x406eb3,_0x597836={};_0x597836[_0x2467fa(0x11f)]=_0x2467fa(0xb0),_0x597836[_0x2467fa(0x115)]=_0x2467fa(0xa0);const _0x524042=_0x597836;process[_0x2467fa(0xa5)][_0x2467fa(0xb6)]=_0x524042[_0x2467fa(0x11f)],bsSetupHelper[_0x2467fa(0xc5)](_0x4e6b9b[_0x2467fa(0xdb)]['percy'])&&(!_0x4e6b9b[_0x2467fa(0x83)]||!_0x4e6b9b[_0x2467fa(0x83)][_0x2467fa(0x93)]())&&(process[_0x2467fa(0xa5)]['BROWSERSTACK_PERCY']=_0x524042[_0x2467fa(0x115)]);},exports[a154_0x406eb3(0xd6)]=()=>{const _0x28b3a6=a154_0x406eb3;return bsSetupHelper['isTrue'](process[_0x28b3a6(0xa5)]['BROWSERSTACK_PERCY']);},exports[a154_0x406eb3(0xd8)]=(_0x402789={})=>{const _0x186bd2=a154_0x406eb3,_0xd83762={};_0xd83762[_0x186bd2(0xb7)]=function(_0x256f70,_0x22ac85){return _0x256f70!==_0x22ac85;},_0xd83762[_0x186bd2(0xa1)]=function(_0x35651a,_0x42e12a){return _0x35651a===_0x42e12a;},_0xd83762[_0x186bd2(0xce)]=_0x186bd2(0xa0),_0xd83762['OVXVg']=function(_0x49ee76,_0x53aa85){return _0x49ee76>_0x53aa85;},_0xd83762[_0x186bd2(0x73)]=function(_0x197c84,_0x225499){return _0x197c84===_0x225499;};const _0x28e1e7=_0xd83762;if(_0x28e1e7['pSKcH'](process['env'][_0x186bd2(0xf2)],undefined))return bsSetupHelper['isTrue'](process['env'][_0x186bd2(0xf2)]);let _0x5b252b=_0x28e1e7['NlBdl'](process[_0x186bd2(0xa5)][_0x186bd2(0xc7)],_0x28e1e7[_0x186bd2(0xce)]);return _0x28e1e7[_0x186bd2(0x118)](Object[_0x186bd2(0xdc)](_0x402789)[_0x186bd2(0x8c)],0x0)&&(process[_0x186bd2(0xa5)][_0x186bd2(0xf0)]=accessibilityHelper[_0x186bd2(0x6c)](_0x402789)),_0x5b252b=_0x5b252b||_0x28e1e7[_0x186bd2(0x73)](process[_0x186bd2(0xa5)][_0x186bd2(0xf0)],_0x28e1e7[_0x186bd2(0xce)]),_0x5b252b;},exports['setTestObservabilityVariables']=(_0x2b09df,_0x45af47)=>{const _0x201b1d=a154_0x406eb3,_0x3e34ca={'YXHls':function(_0x158ecc){return _0x158ecc();},'trBOl':_0x201b1d(0xa3),'XqoJf':function(_0x188492,_0xda359d,_0x2c45eb){return _0x188492(_0xda359d,_0x2c45eb);},'kbqtj':_0x201b1d(0xc1),'WYgnh':_0x201b1d(0xba),'CtHzo':_0x201b1d(0xa0)};if(!_0x2b09df||!_0x2b09df[_0x201b1d(0xc1)])return exports[_0x201b1d(0x9c)](),[null,null,null];if(!_0x2b09df[_0x201b1d(0xc1)][_0x201b1d(0xae)])return exports['handleErrorForObservability'](_0x2b09df[_0x201b1d(0xc1)]),[null,null,null];if(_0x3e34ca[_0x201b1d(0xb3)](isTestObservabilitySession)){const _0x1e0cff=_0x3e34ca['trBOl'][_0x201b1d(0xef)]('|');let _0x5a289c=0x0;while(!![]){switch(_0x1e0cff[_0x5a289c++]){case'0':_0x2b09df[_0x201b1d(0x108)]&&(process[_0x201b1d(0xa5)][_0x201b1d(0xd3)]=_0x2b09df[_0x201b1d(0x108)]);continue;case'1':return[_0x2b09df[_0x201b1d(0xcc)],_0x2b09df[_0x201b1d(0x108)],process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'2':logger[_0x201b1d(0x88)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x201b1d(0x102)+_0x2b09df[_0x201b1d(0x108)]);continue;case'3':_0x3e34ca[_0x201b1d(0x86)](nestedKeyValue,_0x2b09df,[_0x3e34ca[_0x201b1d(0xc8)],_0x3e34ca[_0x201b1d(0xb4)]])&&(process[_0x201b1d(0xa5)][_0x201b1d(0xe1)]=_0x2b09df[_0x201b1d(0xc1)][_0x201b1d(0xba)][_0x201b1d(0x6a)][_0x201b1d(0x107)]());continue;case'4':process['env'][_0x201b1d(0x6d)]=_0x3e34ca[_0x201b1d(0xde)];continue;case'5':if(_0x2b09df[_0x201b1d(0xcc)]){process['env']['BS_TESTOPS_JWT']=_0x2b09df[_0x201b1d(0xcc)];const _0x231f17={};_0x231f17[_0x201b1d(0x85)]=_0x45af47[_0x201b1d(0x85)],_0x231f17[_0x201b1d(0x11e)]=_0x45af47[_0x201b1d(0x11e)],process[_0x201b1d(0xa5)][_0x201b1d(0xbd)]=JSON[_0x201b1d(0x105)](_0x231f17);}continue;}break;}}return[null,null,null];},exports[a154_0x406eb3(0xee)]=_0x52aba0=>{const _0x450ffd=a154_0x406eb3,_0x59bffc={'aBTZa':function(_0x4fdc26,_0xeedd09,_0x246836){return _0x4fdc26(_0xeedd09,_0x246836);},'uzyzu':_0x450ffd(0x6e),'IFvFA':_0x450ffd(0xba),'BpZEZ':function(_0x5052d2,_0x408122,_0x489e9e,_0x56f8fa){return _0x5052d2(_0x408122,_0x489e9e,_0x56f8fa);},'WnaHi':_0x450ffd(0x10d),'CCWus':_0x450ffd(0x113),'gfjwo':function(_0x5214f7,_0x413264,_0x20e6e7,_0x4469ea){return _0x5214f7(_0x413264,_0x20e6e7,_0x4469ea);},'cyYeq':_0x450ffd(0x99),'CKIeN':_0x450ffd(0xfd),'ImMLV':'nonBStackInfraA11yChromeOptions','oUiEM':_0x450ffd(0xe8),'RbaoC':function(_0x4210e6,_0x2dcf9d){return _0x4210e6(_0x2dcf9d);},'ysmzJ':function(_0x1d4253,_0x2b8eb6){return _0x1d4253===_0x2b8eb6;},'kIAZS':function(_0x3af468,_0x4246df){return _0x3af468===_0x4246df;},'mwmKH':_0x450ffd(0xa0),'mVzpC':'[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override'};if(!_0x52aba0[_0x450ffd(0x6e)])return exports[_0x450ffd(0xab)](),[null,null];if(!_0x52aba0[_0x450ffd(0x6e)][_0x450ffd(0xae)])return exports[_0x450ffd(0xab)](_0x52aba0[_0x450ffd(0x6e)]),[null,null];if(_0x59bffc['aBTZa'](nestedKeyValue,_0x52aba0,[_0x59bffc['uzyzu'],_0x59bffc[_0x450ffd(0xd0)]])){const {accessibilityToken:_0x32563f,scannerVersion:_0x1908ca,scannerProcessingTimeout:_0x1dc6eb,isMobileScanningEnabledForGroup:_0x467080}=_0x59bffc['BpZEZ'](jsonifyAccessibilityArray,_0x52aba0[_0x450ffd(0x6e)][_0x450ffd(0xba)][_0x450ffd(0x106)],_0x59bffc[_0x450ffd(0x8f)],_0x59bffc[_0x450ffd(0x98)]),_0x2a4d70={'scripts':_0x59bffc[_0x450ffd(0xea)](jsonifyAccessibilityArray,_0x52aba0[_0x450ffd(0x6e)]['options'][_0x450ffd(0xdd)],_0x59bffc[_0x450ffd(0x8f)],_0x59bffc[_0x450ffd(0xda)])};_0x2a4d70[_0x59bffc['CKIeN']]=_0x52aba0[_0x450ffd(0x6e)][_0x450ffd(0xba)][_0x450ffd(0x9a)][_0x450ffd(0xfd)];const _0xec0520=_0x59bffc[_0x450ffd(0xea)](jsonifyAccessibilityArray,_0x52aba0[_0x450ffd(0x6e)][_0x450ffd(0xba)]['capabilities'],_0x59bffc['WnaHi'],_0x59bffc[_0x450ffd(0x98)]);_0x2a4d70[_0x59bffc['ImMLV']]=_0xec0520[_0x59bffc[_0x450ffd(0xd2)]],scripts[_0x450ffd(0x6f)](_0x2a4d70),scripts[_0x450ffd(0x72)]();let _0x549cd2=process[_0x450ffd(0xa5)][_0x450ffd(0x8a)];_0x549cd2=!!_0x549cd2?JSON[_0x450ffd(0x122)](_0x549cd2):{},_0x549cd2[_0x450ffd(0x75)]=_0x1908ca,process['env'][_0x450ffd(0x8a)]=JSON[_0x450ffd(0x105)](_0x549cd2),process[_0x450ffd(0xa5)][_0x450ffd(0x10f)]=_0x32563f,process[_0x450ffd(0xa5)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x59bffc[_0x450ffd(0x112)](String,_0x59bffc[_0x450ffd(0xcf)](_0x467080,!![])||_0x59bffc[_0x450ffd(0xbf)](_0x467080,_0x59bffc[_0x450ffd(0x95)])),logger['debug']('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x52aba0['build_hashed_id']);const _0x51c07c=accessibilityHelper[_0x450ffd(0xa2)](_0x32563f);return _0x51c07c&&bsSetupHelper[_0x450ffd(0xc5)](_0x51c07c[_0x450ffd(0x89)])&&(process[_0x450ffd(0xa5)][_0x450ffd(0xa9)]=!![],logger[_0x450ffd(0x88)](_0x59bffc['mVzpC'])),[_0x32563f,_0x52aba0['build_hashed_id'],_0x1dc6eb];}return[null,null];},exports[a154_0x406eb3(0x9c)]=_0x3cbcd3=>{const _0x5bc946=a154_0x406eb3,_0x4837d9={};_0x4837d9[_0x5bc946(0x10b)]=_0x5bc946(0x9f),_0x4837d9[_0x5bc946(0x7b)]=_0x5bc946(0xb0),_0x4837d9['qLPIm']='null';const _0x12bda4=_0x4837d9,_0x5c770e=_0x12bda4[_0x5bc946(0x10b)][_0x5bc946(0xef)]('|');let _0x40bfb9=0x0;while(!![]){switch(_0x5c770e[_0x40bfb9++]){case'0':process[_0x5bc946(0xa5)][_0x5bc946(0x6d)]=_0x12bda4['bBvRC'];continue;case'1':process['env'][_0x5bc946(0xe1)]=_0x12bda4['qLPIm'];continue;case'2':process[_0x5bc946(0xa5)][_0x5bc946(0x79)]=_0x12bda4['qLPIm'];continue;case'3':exports[_0x5bc946(0xc3)](_0x3cbcd3,testHubConstants[_0x5bc946(0x104)]);continue;case'4':process['env'][_0x5bc946(0x7c)]=_0x12bda4[_0x5bc946(0x70)];continue;case'5':process[_0x5bc946(0xa5)][_0x5bc946(0xd3)]=_0x12bda4['qLPIm'];continue;case'6':process[_0x5bc946(0xa5)][_0x5bc946(0x80)]=_0x12bda4[_0x5bc946(0x70)];continue;}break;}},exports[a154_0x406eb3(0xab)]=_0x165dad=>{const _0x168d53=a154_0x406eb3,_0x281bf7={};_0x281bf7['iAZlp']=_0x168d53(0xd9),_0x281bf7[_0x168d53(0x121)]='false',_0x281bf7['XXHFA']=_0x168d53(0xf8);const _0x2190c8=_0x281bf7,_0x490d38=_0x2190c8[_0x168d53(0x7e)][_0x168d53(0xef)]('|');let _0x8c45bb=0x0;while(!![]){switch(_0x490d38[_0x8c45bb++]){case'0':process[_0x168d53(0xa5)][_0x168d53(0xc7)]=_0x2190c8['dbFKY'];continue;case'1':process[_0x168d53(0xa5)][_0x168d53(0x79)]=_0x2190c8[_0x168d53(0x117)];continue;case'2':process[_0x168d53(0xa5)][_0x168d53(0x7c)]=_0x2190c8[_0x168d53(0x117)];continue;case'3':process[_0x168d53(0xa5)][_0x168d53(0xf0)]=_0x2190c8[_0x168d53(0x121)];continue;case'4':exports[_0x168d53(0xc3)](_0x165dad,testHubConstants[_0x168d53(0xa6)]);continue;}break;}},exports[a154_0x406eb3(0xc3)]=(_0xcaca77,_0x3cedca='')=>{const _0x32bd76=a154_0x406eb3,_0x158590={};_0x158590[_0x32bd76(0x82)]=function(_0x4eecf7,_0x5071e7){return _0x4eecf7===_0x5071e7;};const _0xf35953=_0x158590;if(_0xf35953[_0x32bd76(0x82)](_0xcaca77,undefined)){logger[_0x32bd76(0xcd)](_0x3cedca[_0x32bd76(0x11c)]()+_0x32bd76(0x84));return;}for(const _0x1c72b1 of _0xcaca77[_0x32bd76(0xcb)]){const _0x4b6abb=_0x1c72b1[_0x32bd76(0x9e)],_0x5442f2=_0x1c72b1[_0x32bd76(0x87)];if(_0x5442f2)switch(_0x4b6abb){case testHubConstants[_0x32bd76(0x9b)][_0x32bd76(0x8e)]:logger['error'](_0x5442f2);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger[_0x32bd76(0xa7)](_0x5442f2);break;case testHubConstants[_0x32bd76(0x9b)][_0x32bd76(0x120)]:logger['error'](_0x5442f2);break;default:logger[_0x32bd76(0xcd)](_0x5442f2);}}};const jsonifyAccessibilityArray=(_0x38dff8,_0x44e609,_0x254b8e)=>{const _0x5f5521=a154_0x406eb3,_0xccb2fd={};return _0x38dff8[_0x5f5521(0xca)](_0x34adf4=>{_0xccb2fd[_0x34adf4[_0x44e609]]=_0x34adf4[_0x254b8e];}),_0xccb2fd;};exports[a154_0x406eb3(0xed)]=_0x76e044=>{const _0x469c95=a154_0x406eb3;_0x76e044[_0x469c95(0xcc)]&&(process[_0x469c95(0xa5)][_0x469c95(0x79)]=_0x76e044[_0x469c95(0xcc)]);_0x76e044[_0x469c95(0x108)]&&(process[_0x469c95(0xa5)][_0x469c95(0x7c)]=_0x76e044[_0x469c95(0x108)],logger['debug']('BROWSERSTACK_TESTHUB_UUID:\x20'+_0x76e044[_0x469c95(0x108)]));;},exports[a154_0x406eb3(0x10e)]=(_0x4c4469='',_0x17bbdd='')=>{const _0x469bec=a154_0x406eb3,_0x548f2c={'cMaNF':function(_0x1e0b05){return _0x1e0b05();},'uZBRv':function(_0x276b9a,_0x5b7cfd){return _0x276b9a===_0x5b7cfd;},'ARHWa':'uploadEventData','JqMkd':'LogCreated','XnVxB':_0x469bec(0x109),'xNYxU':'HookRunStarted','XUjpz':_0x469bec(0xe6),'NPHTT':function(_0x2b80e8){return _0x2b80e8();}};if(exports[_0x469bec(0xd6)]()&&!exports['isAccessibilityEnabled']()&&!_0x548f2c[_0x469bec(0xe9)](isTestObservabilitySession)){if(_0x548f2c[_0x469bec(0xbc)](_0x17bbdd,_0x548f2c[_0x469bec(0x11d)]))return![];if([_0x548f2c[_0x469bec(0x97)],_0x548f2c['XnVxB']][_0x469bec(0x9d)](_0x4c4469))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x548f2c[_0x469bec(0xe9)](isTestObservabilitySession)){if([_0x548f2c[_0x469bec(0xaa)],_0x548f2c[_0x469bec(0xdf)],_0x548f2c[_0x469bec(0x97)]][_0x469bec(0x9d)](_0x4c4469))return![];return!![];}return exports[_0x469bec(0xd8)]()||_0x548f2c['NPHTT'](isTestObservabilitySession)||exports[_0x469bec(0xd6)]();},exports[a154_0x406eb3(0xf3)]=(_0x23a106,_0x2d3a9c,_0x93cc51='',_0x369f9b)=>{const _0x219bf7=a154_0x406eb3,_0x1580de={};_0x1580de[_0x219bf7(0x11b)]='HookRunStarted',_0x1580de['ZKRtk']=_0x219bf7(0xe6),_0x1580de['vdgvR']=function(_0x2584ea,_0x4b307e){return _0x2584ea===_0x4b307e;},_0x1580de['kYwWZ']='bstackA11yShouldScan',_0x1580de[_0x219bf7(0xf7)]=_0x219bf7(0xf4),_0x1580de[_0x219bf7(0xb8)]=_0x219bf7(0x6e),_0x1580de[_0x219bf7(0xbe)]=function(_0x2c2c28,_0x5f09d7){return _0x2c2c28&&_0x5f09d7;},_0x1580de[_0x219bf7(0x96)]=function(_0x3d5379,_0x1137c6){return _0x3d5379===_0x1137c6;},_0x1580de[_0x219bf7(0x110)]=function(_0x427ff7,_0x1d727e){return _0x427ff7+_0x1d727e;},_0x1580de['GoRxn']=function(_0x301e40,_0xb79817){return _0x301e40+_0xb79817;},_0x1580de['zHNeO']=_0x219bf7(0xff),_0x1580de[_0x219bf7(0xe0)]=function(_0x330d62,_0x139f0c){return _0x330d62===_0x139f0c;},_0x1580de['QveFL']=function(_0x2d9422,_0x101e37){return _0x2d9422&&_0x101e37;},_0x1580de[_0x219bf7(0xe4)]=function(_0x1b1c70,_0x4b9b34){return _0x1b1c70===_0x4b9b34;},_0x1580de[_0x219bf7(0x6b)]=_0x219bf7(0xb9);const _0x3aece0=_0x1580de;if(![_0x3aece0[_0x219bf7(0x11b)],_0x3aece0['ZKRtk']][_0x219bf7(0x9d)](_0x2d3a9c)&&exports[_0x219bf7(0xd8)]()){const _0x4c71af={};if(_0x3aece0['vdgvR'](_0x369f9b,FRAMEWORKS[_0x219bf7(0x119)])){const _0x51c239=globals[_0x219bf7(0x103)](_0x3aece0[_0x219bf7(0xaf)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x93cc51[_0x219bf7(0xc9)](),!![]),_0x536555=globals['getGlobal'](_0x3aece0[_0x219bf7(0xf7)]);_0x4c71af[_0x3aece0['xTTKX']]=_0x3aece0['zxofS'](_0x536555,_0x51c239);}if(_0x3aece0['gwFNt'](_0x369f9b,FRAMEWORKS[_0x219bf7(0xeb)])){const _0x2fdc66=_0x3aece0[_0x219bf7(0x110)](_0x3aece0[_0x219bf7(0xd7)](_0x23a106[_0x219bf7(0x8b)]['join']('\x20'),'\x20'),_0x93cc51[_0x219bf7(0x10d)]),_0x252eae=globals[_0x219bf7(0x103)](_0x3aece0[_0x219bf7(0xaf)])||accessibilityHelper[_0x219bf7(0xac)](_0x2fdc66,![]),_0x2a5b25=browserStackGlobals[_0x219bf7(0xf4)];_0x4c71af[_0x3aece0['xTTKX']]=_0x3aece0[_0x219bf7(0xbe)](_0x2a5b25,_0x252eae);}if(_0x3aece0['gwFNt'](_0x369f9b,FRAMEWORKS['PLAYWRIGHT'])){if(_0x3aece0[_0x219bf7(0x96)](_0x2d3a9c,_0x3aece0[_0x219bf7(0xc6)]))return;_0x4c71af[_0x3aece0[_0x219bf7(0xb8)]]=PWTestDetails[_0x219bf7(0x8d)](_0x23a106[_0x219bf7(0x77)]);}if(_0x3aece0[_0x219bf7(0xe0)](_0x369f9b,FRAMEWORKS['CODECEPT'])){const _0x32d75d=accessibilityHelper[_0x219bf7(0xac)](_0x93cc51[_0x219bf7(0xc9)](),!![]),_0x22ede6=global[_0x219bf7(0x91)];_0x4c71af[_0x3aece0[_0x219bf7(0xb8)]]=_0x3aece0[_0x219bf7(0xfe)](_0x22ede6,_0x32d75d);}if(_0x3aece0['nvoPp'](_0x369f9b,FRAMEWORKS[_0x219bf7(0x90)])){const _0x599503=accessibilityHelper[_0x219bf7(0xac)](null,![],_0x23a106[_0x219bf7(0xe2)]),_0x1dc534=globals[_0x219bf7(0x103)](_0x3aece0['JgePn']);_0x4c71af[_0x3aece0[_0x219bf7(0xb8)]]=_0x3aece0[_0x219bf7(0xbe)](_0x1dc534,_0x599503);}_0x23a106[_0x3aece0['stAYW']]=_0x4c71af;}},exports['getCurrentTestData']=_0x6a755b=>{const _0x5a5600=a154_0x406eb3,_0x20fb8c={};_0x20fb8c[_0x5a5600(0xec)]=function(_0x24ed26,_0x452615){return _0x24ed26>_0x452615;};const _0x227e79=_0x20fb8c;let _0x35192e={};if(_0x227e79[_0x5a5600(0xec)](Object[_0x5a5600(0xdc)](testData)[_0x5a5600(0x8c)],0x0))return testData;_0x35192e=JestTestDetails[_0x5a5600(0xfa)]();if(_0x227e79[_0x5a5600(0xec)](Object[_0x5a5600(0xdc)](_0x35192e)[_0x5a5600(0x8c)],0x0))return _0x35192e;return _0x35192e;},exports[a154_0x406eb3(0xc0)]=(_0x4bcc88,_0x2d9e9d={})=>{const _0x14e150=a154_0x406eb3;if(bsSetupHelper[_0x14e150(0xe3)](_0x2d9e9d[_0x14e150(0x74)]))return;switch(_0x4bcc88){case FRAMEWORKS['MOCHA']:testData=_0x2d9e9d[_0x14e150(0x74)];break;case FRAMEWORKS[_0x14e150(0xeb)]:JestTestDetails['setTestData'](_0x2d9e9d[_0x14e150(0x74)]);break;default:break;}},exports[a154_0x406eb3(0x11a)]=_0x25f8e9=>{const _0x4c391a=a154_0x406eb3,_0x3f7de4={};_0x3f7de4[_0x4c391a(0xf6)]=function(_0x157e87,_0x360755){return _0x157e87!==_0x360755;},_0x3f7de4[_0x4c391a(0xa8)]=function(_0x5ec305,_0x141baf){return _0x5ec305!==_0x141baf;};const _0x2f5624=_0x3f7de4;if(_0x2f5624['VsykN'](_0x25f8e9[_0x4c391a(0x6e)],null)&&_0x2f5624[_0x4c391a(0xf6)](_0x25f8e9['accessibility'],undefined))return _0x25f8e9[_0x4c391a(0x6e)];let _0x360244=![],_0x13aedf=![];if(_0x25f8e9[_0x4c391a(0xc2)])for(const _0x2d5689 of _0x25f8e9[_0x4c391a(0xc2)]){_0x2f5624[_0x4c391a(0xf6)](_0x2d5689[_0x4c391a(0x6e)],null)&&_0x2f5624[_0x4c391a(0xa8)](_0x2d5689['accessibility'],undefined)&&(_0x360244=_0x360244||bsSetupHelper[_0x4c391a(0xc5)](_0x2d5689[_0x4c391a(0x6e)]),_0x13aedf=!![]);}if(_0x13aedf)return _0x360244;return null;},exports[a154_0x406eb3(0xa4)]=_0x3df875=>{const _0x3c224d=a154_0x406eb3;if(!_0x3df875)return{};const _0x380620=new OrchestrationUtils(_0x3df875);return _0x380620[_0x3c224d(0x116)]();},exports['getProductMapForBuildStartCall']=_0x437391=>{const _0x15c131=a154_0x406eb3,_0x803051={'TWyuX':function(_0x568dbd){return _0x568dbd();}};let _0x12d28f=![],_0x268cef=![];if(bsSetupHelper[_0x15c131(0xb1)]()&&_0x437391['app'])_0x268cef=!![];else bsSetupHelper[_0x15c131(0xb1)]()&&(_0x12d28f=!![]);return Object[_0x15c131(0xf5)]({'observability':_0x803051['TWyuX'](isTestObservabilitySession),'accessibility':exports[_0x15c131(0x11a)](_0x437391),'percy':_0x437391[_0x15c131(0x83)]||![],'automate':_0x12d28f,'app_automate':_0x268cef,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x437391),'lts':LoadTestModule[_0x15c131(0x76)](_0x437391)},bsSetupHelper[_0x15c131(0x10c)]());};
|
|
1
|
+
const a154_0x507914=a154_0x50ad;(function(_0x1f74c0,_0x141cca){const _0x3fa4a3=a154_0x50ad,_0x8bb70e=_0x1f74c0();while(!![]){try{const _0x5d1b0f=-parseInt(_0x3fa4a3(0xdf))/0x1+-parseInt(_0x3fa4a3(0xd3))/0x2*(-parseInt(_0x3fa4a3(0x15a))/0x3)+-parseInt(_0x3fa4a3(0xdb))/0x4+-parseInt(_0x3fa4a3(0x161))/0x5*(-parseInt(_0x3fa4a3(0x113))/0x6)+parseInt(_0x3fa4a3(0xf6))/0x7+parseInt(_0x3fa4a3(0x108))/0x8+parseInt(_0x3fa4a3(0x125))/0x9*(-parseInt(_0x3fa4a3(0x124))/0xa);if(_0x5d1b0f===_0x141cca)break;else _0x8bb70e['push'](_0x8bb70e['shift']());}catch(_0x2dc537){_0x8bb70e['push'](_0x8bb70e['shift']());}}}(a154_0x56a8,0xcb31c));const bsSetupHelper=require(a154_0x507914(0x12a)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a154_0x507914(0xb7)),accessibilityHelper=require(a154_0x507914(0xea)),logger=require(a154_0x507914(0x170))[a154_0x507914(0xf2)],{nestedKeyValue}=require(a154_0x507914(0x12c)),scripts=require(a154_0x507914(0x116)),globals=require('../globals.js'),testHubConstants=require(a154_0x507914(0xc9)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a154_0x507914(0xc4)),{isTurboScaleSession}=require(a154_0x507914(0x109)),OrchestrationUtils=require(a154_0x507914(0xf3)),constants=require(a154_0x507914(0xb5));let testData={};exports[a154_0x507914(0x126)]=_0x37dacb=>{const _0xc7261c=a154_0x507914,_0x57cc75={'YXxCj':function(_0x2096fc){return _0x2096fc();}};let _0x869188=![],_0x782a1f=![];if(bsSetupHelper[_0xc7261c(0x171)]()&&_0x37dacb[_0xc7261c(0x162)])_0x782a1f=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x869188=!![]);return Object[_0xc7261c(0x12e)]({'observability':_0x57cc75['YXxCj'](isTestObservabilitySession),'accessibility':exports[_0xc7261c(0xc2)](_0x37dacb),'percy':_0x37dacb[_0xc7261c(0x158)]||![],'automate':_0x869188,'app_automate':_0x782a1f,'turboscale':bsSetupHelper[_0xc7261c(0x166)](_0x37dacb),'lts':LoadTestModule[_0xc7261c(0xb9)](_0x37dacb)},bsSetupHelper[_0xc7261c(0x103)]());},exports[a154_0x507914(0x15d)]=(_0xad6896,_0x28ead6)=>{const _0x586620=a154_0x507914,_0x44d6c9={'FCiKd':function(_0x2fc245,_0x495aed){return _0x2fc245(_0x495aed);},'jGAOB':_0x586620(0x134)},_0x5eeead={'frameworkName':_0x28ead6,'frameworkVersion':_0x44d6c9[_0x586620(0x128)](getFrameworkVersion,_0x28ead6),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x44d6c9[_0x586620(0x107)],'testFramework':bsSetupHelper[_0x586620(0x100)](_0xad6896,_0x28ead6)};return process[_0x586620(0xba)][_0x586620(0x13b)]=JSON[_0x586620(0x14f)](_0x5eeead),_0x5eeead;},exports['setPercyFlag']=_0x1ee464=>{const _0x6a35f5=a154_0x507914,_0x532e6b={};_0x532e6b[_0x6a35f5(0xcc)]=_0x6a35f5(0xfe),_0x532e6b[_0x6a35f5(0x145)]=_0x6a35f5(0x123);const _0xbcc504=_0x532e6b;process[_0x6a35f5(0xba)][_0x6a35f5(0x15e)]=_0xbcc504['BgReR'],bsSetupHelper[_0x6a35f5(0xf5)](_0x1ee464[_0x6a35f5(0x11d)]['percy'])&&(!_0x1ee464[_0x6a35f5(0x158)]||!_0x1ee464[_0x6a35f5(0x158)][_0x6a35f5(0x164)]())&&(process['env'][_0x6a35f5(0x15e)]=_0xbcc504['xgzYO']);},exports[a154_0x507914(0x14b)]=()=>{const _0x1b1855=a154_0x507914;return bsSetupHelper[_0x1b1855(0xf5)](process[_0x1b1855(0xba)]['BROWSERSTACK_PERCY']);},exports[a154_0x507914(0xc2)]=(_0x1411f7={})=>{const _0x55a6b4=a154_0x507914,_0x5627a8={};_0x5627a8[_0x55a6b4(0x149)]=function(_0x5bdf32,_0x402f87){return _0x5bdf32!==_0x402f87;},_0x5627a8[_0x55a6b4(0xdd)]=function(_0x5357f0,_0x3ef4d4){return _0x5357f0===_0x3ef4d4;},_0x5627a8[_0x55a6b4(0x114)]=_0x55a6b4(0x123),_0x5627a8[_0x55a6b4(0x154)]=function(_0x38a701,_0x525a35){return _0x38a701>_0x525a35;};const _0x525e17=_0x5627a8;if(_0x525e17['GqXlh'](process['env'][_0x55a6b4(0x16a)],undefined))return bsSetupHelper[_0x55a6b4(0xf5)](process[_0x55a6b4(0xba)][_0x55a6b4(0x16a)]);let _0x2e8028=_0x525e17[_0x55a6b4(0xdd)](process[_0x55a6b4(0xba)][_0x55a6b4(0xbf)],_0x525e17[_0x55a6b4(0x114)]);return _0x525e17['ntKqk'](Object[_0x55a6b4(0xc0)](_0x1411f7)['length'],0x0)&&(process[_0x55a6b4(0xba)][_0x55a6b4(0x15b)]=accessibilityHelper[_0x55a6b4(0xb8)](_0x1411f7)),_0x2e8028=_0x2e8028||_0x525e17[_0x55a6b4(0xdd)](process['env'][_0x55a6b4(0x15b)],_0x525e17[_0x55a6b4(0x114)]),_0x2e8028;},exports[a154_0x507914(0x16e)]=(_0x9330f,_0x4c30c5)=>{const _0x978224=a154_0x507914,_0x35919e={'yRMOB':function(_0x275503){return _0x275503();},'nxXby':'4|5|2|1|3|0','DlweG':function(_0x5e16ea,_0x1ab6f2,_0x1ab577){return _0x5e16ea(_0x1ab6f2,_0x1ab577);},'qLJse':_0x978224(0xcb),'qbZlk':_0x978224(0xe0),'mUwEk':_0x978224(0x123)};if(!_0x9330f||!_0x9330f[_0x978224(0xcb)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x9330f[_0x978224(0xcb)][_0x978224(0x11b)])return exports['handleErrorForObservability'](_0x9330f['observability']),[null,null,null];if(_0x35919e[_0x978224(0xf1)](isTestObservabilitySession)){const _0x55a70a=_0x35919e['nxXby']['split']('|');let _0x3c518f=0x0;while(!![]){switch(_0x55a70a[_0x3c518f++]){case'0':return[_0x9330f[_0x978224(0x121)],_0x9330f[_0x978224(0xbe)],process['env'][_0x978224(0xd7)]];case'1':_0x35919e[_0x978224(0xc7)](nestedKeyValue,_0x9330f,[_0x35919e[_0x978224(0x152)],_0x35919e[_0x978224(0x153)]])&&(process[_0x978224(0xba)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x9330f['observability'][_0x978224(0xe0)][_0x978224(0x131)][_0x978224(0x165)]());continue;case'2':_0x9330f[_0x978224(0xbe)]&&(process['env'][_0x978224(0xe9)]=_0x9330f['build_hashed_id']);continue;case'3':logger[_0x978224(0x12b)]('['+constants[_0x978224(0xf9)]+_0x978224(0xc1)+_0x9330f[_0x978224(0xbe)]);continue;case'4':process['env'][_0x978224(0x14c)]=_0x35919e['mUwEk'];continue;case'5':if(_0x9330f[_0x978224(0x121)]){process[_0x978224(0xba)][_0x978224(0x129)]=_0x9330f[_0x978224(0x121)];const _0x4e8f08={};_0x4e8f08[_0x978224(0xce)]=_0x4c30c5[_0x978224(0xce)],_0x4e8f08[_0x978224(0xe3)]=_0x4c30c5[_0x978224(0xe3)],process[_0x978224(0xba)][_0x978224(0x130)]=JSON[_0x978224(0x14f)](_0x4e8f08);}continue;}break;}}return[null,null,null];},exports[a154_0x507914(0xfb)]=_0x1f961b=>{const _0x158855=a154_0x507914,_0x1f8650={'qEhOp':function(_0x2c56b8,_0x58a6ed,_0x5aab45){return _0x2c56b8(_0x58a6ed,_0x5aab45);},'VowXe':_0x158855(0x11c),'KyBMA':'options','cNWOc':function(_0x13de88,_0x1b2ec4,_0x39fa48,_0x5f3288){return _0x13de88(_0x1b2ec4,_0x39fa48,_0x5f3288);},'xbpIi':_0x158855(0x104),'SKnHd':'value','GfBpi':function(_0x31f076,_0x398bf4,_0xb9712e,_0x46a78b){return _0x31f076(_0x398bf4,_0xb9712e,_0x46a78b);},'mLsGr':_0x158855(0xd6),'ouCZH':_0x158855(0x173),'FVzpH':_0x158855(0xd8),'xIqHY':_0x158855(0x120),'nNBBw':function(_0x4710a6,_0x9e39a5){return _0x4710a6(_0x9e39a5);},'ELQwn':function(_0x2ebf55,_0x777793){return _0x2ebf55===_0x777793;},'IhzNC':function(_0x27ff20,_0x1d80ee){return _0x27ff20===_0x1d80ee;},'nndxz':_0x158855(0x123),'otWJt':'[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override'};if(!_0x1f961b['accessibility'])return exports[_0x158855(0x101)](),[null,null];if(!_0x1f961b[_0x158855(0x11c)][_0x158855(0x11b)])return exports[_0x158855(0x101)](_0x1f961b[_0x158855(0x11c)]),[null,null];if(_0x1f8650[_0x158855(0xff)](nestedKeyValue,_0x1f961b,[_0x1f8650[_0x158855(0xf7)],_0x1f8650[_0x158855(0xd9)]])){const {accessibilityToken:_0x4bd706,scannerVersion:_0x17a00d,scannerProcessingTimeout:_0xcaf378,isMobileScanningEnabledForGroup:_0x29be56}=_0x1f8650['cNWOc'](jsonifyAccessibilityArray,_0x1f961b['accessibility'][_0x158855(0xe0)][_0x158855(0xf0)],_0x1f8650[_0x158855(0x168)],_0x1f8650[_0x158855(0x11f)]),_0x52fed8={'scripts':_0x1f8650[_0x158855(0x127)](jsonifyAccessibilityArray,_0x1f961b['accessibility'][_0x158855(0xe0)][_0x158855(0x14e)],_0x1f8650[_0x158855(0x168)],_0x1f8650[_0x158855(0x112)])};_0x52fed8[_0x1f8650[_0x158855(0x122)]]=_0x1f961b['accessibility'][_0x158855(0xe0)][_0x158855(0x14a)][_0x158855(0x173)];const _0x1b998a=_0x1f8650[_0x158855(0x163)](jsonifyAccessibilityArray,_0x1f961b['accessibility'][_0x158855(0xe0)]['capabilities'],_0x1f8650[_0x158855(0x168)],_0x1f8650[_0x158855(0x11f)]);_0x52fed8[_0x1f8650['FVzpH']]=_0x1b998a[_0x1f8650[_0x158855(0xfc)]],scripts[_0x158855(0x117)](_0x52fed8),scripts[_0x158855(0x146)]();let _0x29a206=process['env'][_0x158855(0xbc)];_0x29a206=!!_0x29a206?JSON[_0x158855(0x10c)](_0x29a206):{},_0x29a206[_0x158855(0xf4)]=_0x17a00d,process['env'][_0x158855(0xbc)]=JSON[_0x158855(0x14f)](_0x29a206),process[_0x158855(0xba)][_0x158855(0xe7)]=_0x4bd706,process[_0x158855(0xba)][_0x158855(0xeb)]=_0x1f8650[_0x158855(0xc8)](String,_0x1f8650[_0x158855(0x159)](_0x29be56,!![])||_0x1f8650[_0x158855(0x16d)](_0x29be56,_0x1f8650[_0x158855(0x140)])),logger[_0x158855(0x12b)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x1f961b[_0x158855(0xbe)]);const _0x26bd18=accessibilityHelper[_0x158855(0x174)](_0x4bd706);return _0x26bd18&&bsSetupHelper['isTrue'](_0x26bd18[_0x158855(0x147)])&&(process[_0x158855(0xba)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x158855(0x12b)](_0x1f8650[_0x158855(0x102)])),[_0x4bd706,_0x1f961b[_0x158855(0xbe)],_0xcaf378];}return[null,null];},exports['handleErrorForObservability']=_0x27671a=>{const _0x28338e=a154_0x507914,_0x1851f7={};_0x1851f7[_0x28338e(0x14d)]=_0x28338e(0x155),_0x1851f7['MAWGB']=_0x28338e(0x169),_0x1851f7['ANrin']=_0x28338e(0xfe);const _0x264225=_0x1851f7,_0xcce968=_0x264225[_0x28338e(0x14d)][_0x28338e(0x15f)]('|');let _0x11faf4=0x0;while(!![]){switch(_0xcce968[_0x11faf4++]){case'0':process[_0x28338e(0xba)][_0x28338e(0xed)]=_0x264225[_0x28338e(0x156)];continue;case'1':process[_0x28338e(0xba)][_0x28338e(0xd7)]=_0x264225[_0x28338e(0x156)];continue;case'2':process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x264225[_0x28338e(0x156)];continue;case'3':exports[_0x28338e(0x105)](_0x27671a,testHubConstants[_0x28338e(0xfa)]);continue;case'4':process[_0x28338e(0xba)]['BS_TESTOPS_BUILD_COMPLETED']=_0x264225[_0x28338e(0x10a)];continue;case'5':process['env'][_0x28338e(0x129)]=_0x264225[_0x28338e(0x156)];continue;case'6':process[_0x28338e(0xba)][_0x28338e(0xdc)]=_0x264225['MAWGB'];continue;}break;}},exports[a154_0x507914(0x101)]=_0xa679d8=>{const _0x2f08c5=a154_0x507914,_0x5b1b1a={};_0x5b1b1a[_0x2f08c5(0x11a)]=_0x2f08c5(0xd2),_0x5b1b1a[_0x2f08c5(0xe1)]='false',_0x5b1b1a[_0x2f08c5(0x136)]=_0x2f08c5(0x169);const _0x4e1108=_0x5b1b1a,_0x4c36b8=_0x4e1108[_0x2f08c5(0x11a)][_0x2f08c5(0x15f)]('|');let _0x436d6a=0x0;while(!![]){switch(_0x4c36b8[_0x436d6a++]){case'0':exports['logBuildError'](_0xa679d8,testHubConstants['ACCESSIBILITY']);continue;case'1':process[_0x2f08c5(0xba)][_0x2f08c5(0xbf)]=_0x4e1108['gYybY'];continue;case'2':process['env'][_0x2f08c5(0xdc)]=_0x4e1108[_0x2f08c5(0x136)];continue;case'3':process[_0x2f08c5(0xba)][_0x2f08c5(0x15b)]=_0x4e1108[_0x2f08c5(0xe1)];continue;case'4':process[_0x2f08c5(0xba)][_0x2f08c5(0xed)]=_0x4e1108[_0x2f08c5(0x136)];continue;}break;}},exports[a154_0x507914(0x105)]=(_0x345a4a,_0xc90fb='')=>{const _0x474449=a154_0x507914,_0x46b975={};_0x46b975[_0x474449(0xde)]=function(_0x3c28ff,_0x1acfb7){return _0x3c28ff===_0x1acfb7;};const _0x44287b=_0x46b975;if(_0x44287b[_0x474449(0xde)](_0x345a4a,undefined)){logger[_0x474449(0x141)](_0xc90fb[_0x474449(0x160)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x6e9d02 of _0x345a4a['errors']){const _0x45768f=_0x6e9d02['key'],_0x42ae2b=_0x6e9d02[_0x474449(0x13f)];if(_0x42ae2b)switch(_0x45768f){case testHubConstants['ERROR']['INVALID_CREDENTIALS']:logger[_0x474449(0x141)](_0x42ae2b);break;case testHubConstants[_0x474449(0xca)]['ACCESS_DENIED']:logger[_0x474449(0xe8)](_0x42ae2b);break;case testHubConstants[_0x474449(0xca)][_0x474449(0x110)]:logger[_0x474449(0x141)](_0x42ae2b);break;default:logger[_0x474449(0x141)](_0x42ae2b);}}};const jsonifyAccessibilityArray=(_0x26068a,_0x16cc53,_0x9968df)=>{const _0x32b641=a154_0x507914,_0x4e9c2d={};return _0x26068a[_0x32b641(0x175)](_0x53ef7f=>{_0x4e9c2d[_0x53ef7f[_0x16cc53]]=_0x53ef7f[_0x9968df];}),_0x4e9c2d;};function a154_0x50ad(_0x59cd22,_0x338a63){const _0x56a805=a154_0x56a8();return a154_0x50ad=function(_0x50ad72,_0x265bc2){_0x50ad72=_0x50ad72-0xb5;let _0x517cc3=_0x56a805[_0x50ad72];return _0x517cc3;},a154_0x50ad(_0x59cd22,_0x338a63);}function a154_0x56a8(){const _0x17bd81=['Eyyed','78068ehWOOm','BROWSERSTACK_TESTHUB_JWT','gFRqW','rdKcN','1286306BbcNnU','options','gYybY','includes','password','qbgtD','AjSDC','setTestHubCommonMetaInfo','BS_A11Y_JWT','info','BS_TESTOPS_BUILD_HASHED_ID','../accessibility-automation/helper','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','PWqJe','BROWSERSTACK_TESTHUB_UUID','titlePath','getGlobal','capabilities','yRMOB','winstonLogger','../test-orchestration/orchestrationUtils.js','scannerVersion','isTrue','7100891VLqPRz','VowXe','wgCsq','TEST_REPORTING_ANALYTICS','OBSERVABILITY','setAccessibilityVariables','xIqHY','scopes','false','qEhOp','getTestFrameworkDetails','handleErrorForAccessibility','otWJt','getCentralUser','name','logBuildError','bLjUd','jGAOB','8862760HpkyTt','../ats/helper','ANrin','AuWeM','parse','uuid','LogCreated','tcPpj','DEPRECATED','odseg','mLsGr','618MuWXPG','qQjHS','CBTSessionCreated','../accessibility-automation/scripts.js','parseFromJson','lFJFp','accessibilityPlatform','trsxs','success','accessibility','config','getTestOrchestrationBuildStartData','SKnHd','goog:chromeOptions','jwt','ouCZH','true','78890iSkBWO','1539HdUgjK','getProductMap','GfBpi','FCiKd','BS_TESTOPS_JWT','../helper','debug','../helper.js','CODECEPT','assign','tags','CREDENTIALS_FOR_CRASH_REPORTING','allow_screenshots','dMqTQ','CUCUMBER','javascript','MOCHA','qskKC','HookRunStarted','test_run','isAccessibilityPlatform','rGyOb','FRAMEWORK_DETAILS','GZCBS','getAccessibilityValueFromYml','gYoHh','message','nndxz','error','shouldScanTestForAccessibility','join','ZDFZg','xgzYO','toJson','skipCDPConnectOverride','feuab','GqXlh','commandsToWrap','isPercyBuild','BS_TESTOPS_BUILD_COMPLETED','jRAlP','scripts','stringify','platforms','TestRunStarted','qLJse','qbZlk','ntKqk','0|6|4|5|2|1|3','MAWGB','vdRlB','percy','ELQwn','15AlhxIX','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','SXzZg','getFrameworkDetails','BROWSERSTACK_PERCY','split','toUpperCase','3355FaErLB','app','cNWOc','isRunning','toString','isTurboScaleSession','zVwDv','xbpIi','null','BROWSERSTACK_ACCESSIBILITY','BROWSERSTACK_TESTHUB_UUID:\x20','MrTym','IhzNC','setTestObservabilityVariables','WFMjl','../logger','isBrowserstackInfra','gaDPn','commands','parseA11yJwtPayload','forEach','../../bin/utils/constants.js','getAccessibilityPlatformValidation','../test-observability/utils','checkAccessibilityPlatformConfig','isLTSSession','env','appendTesthubParams','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isUndefined','build_hashed_id','BROWSERSTACK_TEST_ACCESSIBILITY_YML','keys',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','isAccessibilityEnabled','JEST','../test-observability/constants.js','length','getTestData','DlweG','nNBBw','./constants.js','ERROR','observability','BgReR','getBuildStartData','username','HookRunFinished','uploadEventData','jYQyN','4|2|1|3|0','518302AOIXGM','PLAYWRIGHT','getCurrentTestData','command','BS_TESTOPS_ALLOW_SCREENSHOTS','nonBStackInfraA11yChromeOptions','KyBMA'];a154_0x56a8=function(){return _0x17bd81;};return a154_0x56a8();}exports[a154_0x507914(0xe6)]=_0x30b40f=>{const _0x17cedd=a154_0x507914;_0x30b40f['jwt']&&(process['env'][_0x17cedd(0xdc)]=_0x30b40f['jwt']);_0x30b40f[_0x17cedd(0xbe)]&&(process[_0x17cedd(0xba)][_0x17cedd(0xed)]=_0x30b40f[_0x17cedd(0xbe)],logger[_0x17cedd(0x12b)](_0x17cedd(0x16b)+_0x30b40f[_0x17cedd(0xbe)]));;},exports['shouldProcessEventForTesthub']=(_0x26dfd1='',_0x168eb5='')=>{const _0x4f9e0b=a154_0x507914,_0xe4865a={'WFMjl':function(_0x2275fd){return _0x2275fd();},'wgCsq':function(_0x3e4f4d,_0x1b0111){return _0x3e4f4d===_0x1b0111;},'bLjUd':_0x4f9e0b(0xd0),'dMqTQ':_0x4f9e0b(0x10e),'rGyOb':_0x4f9e0b(0x115),'vwSFY':_0x4f9e0b(0x137),'lbZuH':_0x4f9e0b(0xcf),'tcPpj':function(_0x2e723b){return _0x2e723b();}};if(exports[_0x4f9e0b(0x14b)]()&&!exports[_0x4f9e0b(0xc2)]()&&!_0xe4865a[_0x4f9e0b(0x16f)](isTestObservabilitySession)){if(_0xe4865a[_0x4f9e0b(0xf8)](_0x168eb5,_0xe4865a[_0x4f9e0b(0x106)]))return![];if([_0xe4865a[_0x4f9e0b(0x132)],_0xe4865a[_0x4f9e0b(0x13a)]][_0x4f9e0b(0xe2)](_0x26dfd1))return![];return!![];}if(exports[_0x4f9e0b(0xc2)]()&&!_0xe4865a['WFMjl'](isTestObservabilitySession)){if([_0xe4865a['vwSFY'],_0xe4865a['lbZuH'],_0xe4865a['dMqTQ']]['includes'](_0x26dfd1))return![];return!![];}return exports['isAccessibilityEnabled']()||_0xe4865a[_0x4f9e0b(0x10f)](isTestObservabilitySession)||exports[_0x4f9e0b(0x14b)]();},exports[a154_0x507914(0xbb)]=(_0x184223,_0x3dc2e1,_0x5dc5ce='',_0x3e9441)=>{const _0x16995a=a154_0x507914,_0x77111={};_0x77111['ZDFZg']='HookRunStarted',_0x77111[_0x16995a(0x13c)]='HookRunFinished',_0x77111[_0x16995a(0x172)]=function(_0x5654c6,_0x4b625c){return _0x5654c6===_0x4b625c;},_0x77111[_0x16995a(0xd1)]='bstackA11yShouldScan',_0x77111['qbgtD']=_0x16995a(0x139),_0x77111['MrTym']='accessibility',_0x77111[_0x16995a(0xda)]=function(_0x42404c,_0x53a193){return _0x42404c&&_0x53a193;},_0x77111[_0x16995a(0x118)]=function(_0x5d9735,_0x1f4571){return _0x5d9735===_0x1f4571;},_0x77111['vdRlB']=function(_0x34cd4f,_0x2157f1){return _0x34cd4f+_0x2157f1;},_0x77111['jfwwo']=function(_0x3262a0,_0x21723c){return _0x3262a0+_0x21723c;},_0x77111['feuab']=_0x16995a(0x151),_0x77111[_0x16995a(0x111)]=function(_0x2cf6c8,_0x461199){return _0x2cf6c8===_0x461199;},_0x77111['SXzZg']=function(_0x2b4f95,_0x4ab5a7){return _0x2b4f95&&_0x4ab5a7;},_0x77111['zVwDv']='product_map';const _0x5e527b=_0x77111;if(![_0x5e527b[_0x16995a(0x144)],_0x5e527b['GZCBS']][_0x16995a(0xe2)](_0x3dc2e1)&&exports[_0x16995a(0xc2)]()){const _0x112547={};if(_0x5e527b[_0x16995a(0x172)](_0x3e9441,FRAMEWORKS[_0x16995a(0x135)])){const _0x3b79a4=globals[_0x16995a(0xef)](_0x5e527b['jYQyN'])||accessibilityHelper[_0x16995a(0x142)](_0x5dc5ce[_0x16995a(0xee)](),!![]),_0x4c1b26=globals[_0x16995a(0xef)](_0x5e527b[_0x16995a(0xe4)]);_0x112547[_0x5e527b[_0x16995a(0x16c)]]=_0x5e527b[_0x16995a(0xda)](_0x4c1b26,_0x3b79a4);}if(_0x5e527b[_0x16995a(0x118)](_0x3e9441,FRAMEWORKS['JEST'])){const _0x169302=_0x5e527b[_0x16995a(0x157)](_0x5e527b['jfwwo'](_0x184223[_0x16995a(0xfd)][_0x16995a(0x143)]('\x20'),'\x20'),_0x5dc5ce[_0x16995a(0x104)]),_0x47fc81=globals[_0x16995a(0xef)](_0x5e527b[_0x16995a(0xd1)])||accessibilityHelper[_0x16995a(0x142)](_0x169302,![]),_0xdc81e6=browserStackGlobals[_0x16995a(0x139)];_0x112547[_0x5e527b['MrTym']]=_0x5e527b[_0x16995a(0xda)](_0xdc81e6,_0x47fc81);}if(_0x5e527b[_0x16995a(0x172)](_0x3e9441,FRAMEWORKS[_0x16995a(0xd4)])){if(_0x5e527b[_0x16995a(0x172)](_0x3dc2e1,_0x5e527b[_0x16995a(0x148)]))return;_0x112547[_0x5e527b[_0x16995a(0x16c)]]=PWTestDetails[_0x16995a(0xb6)](_0x184223[_0x16995a(0x10d)]);}if(_0x5e527b['odseg'](_0x3e9441,FRAMEWORKS[_0x16995a(0x12d)])){const _0x4bf925=accessibilityHelper['shouldScanTestForAccessibility'](_0x5dc5ce['titlePath'](),!![]),_0x99abca=global[_0x16995a(0x119)];_0x112547[_0x5e527b[_0x16995a(0x16c)]]=_0x5e527b['SXzZg'](_0x99abca,_0x4bf925);}if(_0x5e527b[_0x16995a(0x118)](_0x3e9441,FRAMEWORKS[_0x16995a(0x133)])){const _0x2bfa50=accessibilityHelper[_0x16995a(0x142)](null,![],_0x184223[_0x16995a(0x12f)]),_0x1b2ddd=globals[_0x16995a(0xef)](_0x5e527b[_0x16995a(0xe4)]);_0x112547[_0x5e527b[_0x16995a(0x16c)]]=_0x5e527b[_0x16995a(0x15c)](_0x1b2ddd,_0x2bfa50);}_0x184223[_0x5e527b[_0x16995a(0x167)]]=_0x112547;}},exports[a154_0x507914(0xd5)]=_0x4ca371=>{const _0x358da7=a154_0x507914,_0x240f5e={};_0x240f5e[_0x358da7(0x13e)]=function(_0x181d3e,_0x59f80c){return _0x181d3e>_0x59f80c;};const _0x2fd6f2=_0x240f5e;let _0x4a2780={};if(_0x2fd6f2['gYoHh'](Object[_0x358da7(0xc0)](testData)['length'],0x0))return testData;_0x4a2780=JestTestDetails[_0x358da7(0xc6)]();if(_0x2fd6f2[_0x358da7(0x13e)](Object[_0x358da7(0xc0)](_0x4a2780)[_0x358da7(0xc5)],0x0))return _0x4a2780;return _0x4a2780;},exports['setCurrentTestData']=(_0x3ee5cd,_0x542a7b={})=>{const _0x343b1f=a154_0x507914;if(bsSetupHelper[_0x343b1f(0xbd)](_0x542a7b[_0x343b1f(0x138)]))return;switch(_0x3ee5cd){case FRAMEWORKS[_0x343b1f(0x135)]:testData=_0x542a7b[_0x343b1f(0x138)];break;case FRAMEWORKS[_0x343b1f(0xc3)]:JestTestDetails['setTestData'](_0x542a7b[_0x343b1f(0x138)]);break;default:break;}},exports[a154_0x507914(0x13d)]=_0x267a8d=>{const _0x43f914=a154_0x507914,_0x2fa301={};_0x2fa301[_0x43f914(0x10b)]=function(_0x40737f,_0x184fa5){return _0x40737f!==_0x184fa5;},_0x2fa301[_0x43f914(0xe5)]=function(_0x5a08b7,_0x1aa03b){return _0x5a08b7!==_0x1aa03b;};const _0x3f06cc=_0x2fa301;if(_0x3f06cc[_0x43f914(0x10b)](_0x267a8d['accessibility'],null)&&_0x3f06cc[_0x43f914(0x10b)](_0x267a8d[_0x43f914(0x11c)],undefined))return _0x267a8d[_0x43f914(0x11c)];let _0x251d1d=![],_0x270ee1=![];if(_0x267a8d[_0x43f914(0x150)])for(const _0x129ab5 of _0x267a8d[_0x43f914(0x150)]){_0x3f06cc[_0x43f914(0xe5)](_0x129ab5['accessibility'],null)&&_0x3f06cc['AjSDC'](_0x129ab5[_0x43f914(0x11c)],undefined)&&(_0x251d1d=_0x251d1d||bsSetupHelper['isTrue'](_0x129ab5[_0x43f914(0x11c)]),_0x270ee1=!![]);}if(_0x270ee1)return _0x251d1d;return null;},exports[a154_0x507914(0x11e)]=_0xb5fbee=>{const _0x44d246=a154_0x507914;if(!_0xb5fbee)return{};const _0x1b20f7=new OrchestrationUtils(_0xb5fbee);return _0x1b20f7[_0x44d246(0xcd)]();},exports['getProductMapForBuildStartCall']=_0x26c8a9=>{const _0x2a76ff=a154_0x507914,_0x1bab49={'PWqJe':function(_0x8e053a){return _0x8e053a();}};let _0x256989=![],_0x2367e6=![];if(bsSetupHelper[_0x2a76ff(0x171)]()&&_0x26c8a9['app'])_0x2367e6=!![];else bsSetupHelper[_0x2a76ff(0x171)]()&&(_0x256989=!![]);return Object[_0x2a76ff(0x12e)]({'observability':_0x1bab49[_0x2a76ff(0xec)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x26c8a9),'percy':_0x26c8a9[_0x2a76ff(0x158)]||![],'automate':_0x256989,'app_automate':_0x2367e6,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x26c8a9),'lts':LoadTestModule[_0x2a76ff(0xb9)](_0x26c8a9)},bsSetupHelper[_0x2a76ff(0x103)]());};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a155_0x2dc1c9=a155_0x3a0c;(function(_0x3bbb69,_0x2ecf94){const _0x28a9fa=a155_0x3a0c,_0x1a4200=_0x3bbb69();while(!![]){try{const _0x1c9410=parseInt(_0x28a9fa(0xf1))/0x1*(parseInt(_0x28a9fa(0xf0))/0x2)+-parseInt(_0x28a9fa(0xeb))/0x3*(-parseInt(_0x28a9fa(0xf8))/0x4)+-parseInt(_0x28a9fa(0xf2))/0x5+parseInt(_0x28a9fa(0xee))/0x6*(-parseInt(_0x28a9fa(0xef))/0x7)+-parseInt(_0x28a9fa(0xf7))/0x8*(-parseInt(_0x28a9fa(0xec))/0x9)+parseInt(_0x28a9fa(0xf4))/0xa+-parseInt(_0x28a9fa(0xed))/0xb*(parseInt(_0x28a9fa(0xf9))/0xc);if(_0x1c9410===_0x2ecf94)break;else _0x1a4200['push'](_0x1a4200['shift']());}catch(_0x27c434){_0x1a4200['push'](_0x1a4200['shift']());}}}(a155_0x29dc,0x9d867));const utilities=require(a155_0x2dc1c9(0xf3));module['exports']=(_0x4c2e23,_0x4a8918,_0x4f3f6f,_0x1bc174,_0x3e8985,_0x42ad49)=>{const _0x521933={'xeGiL':function(_0xe8e948,_0x563bb9){return _0xe8e948-_0x563bb9;},'RmVZt':function(_0x30a294,_0x36a5eb){return _0x30a294(_0x36a5eb);},'xMSLQ':function(_0x25f975,_0x31e1b8,_0x3a086f){return _0x25f975(_0x31e1b8,_0x3a086f);},'BiEiR':function(_0x5e084f,_0x6a6754){return _0x5e084f(_0x6a6754);}};let _0x5ac698,_0x4c3453=![];const _0x4e3b3c=new Promise((_0x164f82,_0x4e7644)=>{const _0x1c0bd0=a155_0x3a0c;_0x5ac698=_0x521933[_0x1c0bd0(0xf6)](setTimeout,()=>{const _0xa1a658=_0x1c0bd0;if(!_0x4c3453){const _0x4fac34={'status':''+_0x4a8918,'timeTaken':_0x521933['xeGiL'](new Date(),_0x1bc174)};utilities['fireFunnelTestEvent'](_0x4f3f6f,_0x4fac34,_0x3e8985,_0x42ad49),_0x521933[_0xa1a658(0xf5)](_0x4e7644,new Error(_0x4a8918));}},_0x4c2e23);});return _0x4e3b3c['cancel']=()=>{const _0x5e4ce9=a155_0x3a0c;_0x4c3453=!![],_0x521933[_0x5e4ce9(0xfa)](clearTimeout,_0x5ac698);},_0x4e3b3c;};function a155_0x3a0c(_0x377313,_0x383305){const _0x29dc4e=a155_0x29dc();return a155_0x3a0c=function(_0x3a0c10,_0x500187){_0x3a0c10=_0x3a0c10-0xeb;let _0x541b8=_0x29dc4e[_0x3a0c10];return _0x541b8;},a155_0x3a0c(_0x377313,_0x383305);}function a155_0x29dc(){const _0x4917f8=['249218rvYIVY','4641115wbqSRC','./utilities','7216640aDbTyJ','RmVZt','xMSLQ','9587368Vuvzbq','4AaDHot','151752jMJeeg','BiEiR','3333153nKXvBS','9DyBxHF','891ObXtNE','6pxfVxK','4778074qegnYJ','2qHcKXd'];a155_0x29dc=function(){return _0x4917f8;};return a155_0x29dc();}
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a156_0x3b80f5=a156_0x4ad7;(function(_0x94d8e2,_0xf2c834){const _0x368423=a156_0x4ad7,_0x1fb863=_0x94d8e2();while(!![]){try{const _0xebbdf7=-parseInt(_0x368423(0x18e))/0x1+parseInt(_0x368423(0x173))/0x2+parseInt(_0x368423(0x113))/0x3*(parseInt(_0x368423(0x181))/0x4)+-parseInt(_0x368423(0x126))/0x5+-parseInt(_0x368423(0x145))/0x6+-parseInt(_0x368423(0x174))/0x7+parseInt(_0x368423(0x18c))/0x8;if(_0xebbdf7===_0xf2c834)break;else _0x1fb863['push'](_0x1fb863['shift']());}catch(_0x1da105){_0x1fb863['push'](_0x1fb863['shift']());}}}(a156_0x1df9,0x5d0d7));function a156_0x1df9(){const _0x2010cd=['hostname','user_killed','osVersion','uFkze','BROWSERSTACK_TESTHUB_UUID','SDKTestSuccessful','assign','../bin/utils/constants','undefined','util','aVZAy','\x20has\x20now\x20read/write/execute\x20permissions.','getOptimalHubUrl','W_OK','KmULg','LiIhS','3KzQJUv','sendLogs','getUserName','Error\x20in\x20firing\x20request\x20to\x20','\x20response\x20-\x20','zgmNk','Playwright','getNodeAgent','toString','null','version','ikTMa','qaxrc','getTurboScaleSessionsList','OdVLv','type','join','KKumH','isTurboScaleSession','1708165uxFmDM','UfYDz','POST','browserStackConfig','browserVersion','BQFZH','CnLpy','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','./logger','drOEn','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','OAhTQ','stack','all','sdkRunId','getFrameworkVersion','MvJAC','SxYDu','unknown','./test-observability/utils','every','TlUov','length','hubAllocation','playwrightVersion','isBrowserstackInfra','getPackageVersion','./performance/performance-tester','getTestFrameworkDetails','parse','info','3032778URrpaa','EQqwo','selenium-webdriver','[REDACTED]','notifyUpdate','isModifiable','debug','content-type','qgWbv','event_properties','X_OK','body','sanitizeBrowserStackConfig','tests','tAEtt','hZHgN','wRIqj','error','../bin/playwright/reporter/pwUtils','buildIdentifier','values','IvHAY','stopPercy','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','nodeRequest','app','keys','chmodSync','Directory\x20','ENV_VAR','WukbH','format','zjNfM','object','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','MzNTU','application/json','replace','seleniumVersion','setReadWriteExecuteAccess','name','API\x20Event\x20','source','stringify','KaxsJ','pFRve','331998KPwAvW','2074002mFDRGI','XDiVo','getStackTraceAsString','requirePWModule','Failed\x20to\x20set\x20directory\x20access:\x20','browser','./helper','deviceName','getGlobal','errorMessage','getAccessKey','constants','AUTOMATE','747316uZbpqM','apply','VTosK','AUTOMATE_PRODUCTS','bjPHm','env','config','killSignal','framework','getSessionsList','_buildHashedId','13215024STaDYl','fireFunnelTestEvent','480181FAYuGN','forEach','POoth','ZQrBw'];a156_0x1df9=function(){return _0x2010cd;};return a156_0x1df9();}function a156_0x4ad7(_0xac5953,_0x3982dc){const _0x1df91a=a156_0x1df9();return a156_0x4ad7=function(_0x4ad7a3,_0x1e16cd){_0x4ad7a3=_0x4ad7a3-0x10c;let _0xd703c6=_0x1df91a[_0x4ad7a3];return _0xd703c6;},a156_0x4ad7(_0xac5953,_0x3982dc);}const os=require('os'),util=require(a156_0x3b80f5(0x10c)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a156_0x3b80f5(0x12e))['winstonLogger'],constants=require(a156_0x3b80f5(0x199)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a156_0x3b80f5(0x157)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a156_0x3b80f5(0x199)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a156_0x3b80f5(0x17a)),PerformanceTester=require(a156_0x3b80f5(0x141)),globals=require('./globals'),helper=require(a156_0x3b80f5(0x17a)),{isTestObservabilitySession}=require(a156_0x3b80f5(0x139));let unhandledErrors='';exports[a156_0x3b80f5(0x18d)]=async(_0x3b1c09,_0x12a279={},_0x3f6d56,_0x34b065,_0x1ac884=![])=>{const _0x41da29=a156_0x3b80f5,_0x54d23c={'bjPHm':function(_0x2e43a9,_0x1890b7){return _0x2e43a9===_0x1890b7;},'yBjYY':_0x41da29(0x166),'OdVLv':function(_0x50397a,_0x47f605){return _0x50397a>_0x47f605;},'mBEyq':_0x41da29(0x152),'jZsOI':function(_0x2d4cb0){return _0x2d4cb0();},'qgWbv':function(_0x64ee11){return _0x64ee11();},'XDiVo':function(_0xe32b5f,_0x127a08){return _0xe32b5f==_0x127a08;},'ZQrBw':_0x41da29(0x11c),'MzNTU':function(_0x3913a7,_0x457358){return _0x3913a7===_0x457358;},'VTosK':_0x41da29(0x19a),'EQqwo':'codeceptjs','drOEn':function(_0x1b2af3,_0x3bd909){return _0x1b2af3>_0x3bd909;},'ACFBV':function(_0x3d474d,_0x522105){return _0x3d474d!==_0x522105;},'MvJAC':_0x41da29(0x119),'Ghxwe':function(_0x1816a4,_0x3df41f){return _0x1816a4===_0x3df41f;},'IvHAY':'error','TmqWT':function(_0x560f41,_0xb01bb2){return _0x560f41+_0xb01bb2;},'gxBNM':_0x41da29(0x167),'BQFZH':_0x41da29(0x18b),'UfYDz':function(_0x13b41d,_0x3c6383){return _0x13b41d(_0x3c6383);},'LiIhS':_0x41da29(0x138),'yVQFj':'nodejs','hZHgN':function(_0x214b78,_0x2994b3){return _0x214b78===_0x2994b3;},'KmULg':_0x41da29(0x197),'zgmNk':function(_0xa1947e,_0x25ffdc){return _0xa1947e===_0x25ffdc;},'CnLpy':function(_0x156d2d){return _0x156d2d();},'hsAkv':_0x41da29(0x147),'vXPXL':_0x41da29(0x169),'tAEtt':_0x41da29(0x148),'uFkze':_0x41da29(0x128)};let _0x276470=[];if(helper['isBrowserstackInfra']()&&_0x54d23c['jZsOI'](isTestObservabilitySession))_0x276470=_0x3f6d56[_0x41da29(0x15e)]?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x41da29(0x184)];else{if(_0x54d23c[_0x41da29(0x14d)](isTestObservabilitySession))_0x276470=constants[_0x41da29(0x15c)];else helper[_0x41da29(0x13f)]()&&(_0x276470=_0x3f6d56[_0x41da29(0x15e)]?constants['APP_AUTOMATE']:constants[_0x41da29(0x180)]);}let _0x470109=_0x3f6d56[_0x41da29(0x158)];if(_0x54d23c[_0x41da29(0x175)](_0x470109,null))_0x470109=_0x54d23c[_0x41da29(0x191)];else _0x54d23c[_0x41da29(0x168)](_0x470109,undefined)&&(_0x470109=_0x54d23c[_0x41da29(0x183)]);unhandledErrors&&_0x54d23c[_0x41da29(0x121)](unhandledErrors[_0x41da29(0x13c)],0x0)&&(_0x12a279['globalException']=unhandledErrors);global['sdkRunId']&&(_0x12a279[_0x41da29(0x134)]=global[_0x41da29(0x134)]);try{if(_0x12a279['error']){if(_0x54d23c[_0x41da29(0x185)](_0x34b065,_0x54d23c[_0x41da29(0x146)])&&_0x54d23c[_0x41da29(0x12f)](_0x12a279[_0x41da29(0x156)][_0x41da29(0x13c)],0x0)){const _0x23fad4={};_0x23fad4['os']='',_0x23fad4[_0x41da29(0x194)]='',_0x23fad4[_0x41da29(0x179)]='',_0x23fad4['browserVersion']='';const _0x4684e1=_0x23fad4;let _0x28f90f={};const _0x164406=_0x12a279[_0x41da29(0x156)];_0x28f90f=_0x164406['reduce']((_0x20322e,_0x116894)=>{for(const _0x5b576a in _0x116894){_0x20322e[_0x5b576a]=_0x116894[_0x5b576a];}return _0x20322e;},{});const _0x3ffe36={};_0x3ffe36[_0x41da29(0x152)]=_0x28f90f,_0x12a279[_0x41da29(0x156)]=[Object['assign']({},_0x4684e1,_0x3ffe36)];}else{let _0x8ac230=0x0;const _0x52de02=_0x54d23c['ACFBV'](_0x34b065,_0x54d23c[_0x41da29(0x136)])?JSON[_0x41da29(0x143)](_0x12a279[_0x41da29(0x156)]):_0x12a279['error'],_0x494041=Object[_0x41da29(0x159)](_0x52de02);_0x494041['forEach'](_0x5418cb=>{const _0x14dd93=_0x41da29;if(_0x54d23c[_0x14dd93(0x185)](typeof _0x5418cb,_0x54d23c['yBjYY'])){const _0x161f78=Object[_0x14dd93(0x159)](_0x5418cb);!_0x161f78[_0x14dd93(0x13a)](_0x271d63=>_0x271d63===null||_0x271d63===undefined||_0x271d63==='')&&(_0x8ac230+=0x1);}});if(_0x54d23c['Ghxwe'](_0x8ac230,0x0))delete _0x12a279[_0x54d23c[_0x41da29(0x15a)]];else{const _0x4f5186=[];Object[_0x41da29(0x15f)](_0x52de02)[_0x41da29(0x18f)](_0x34d538=>{const _0xba81c9=_0x41da29,_0x43d427={'SxYDu':function(_0x14b688,_0x19d238){return _0x54d23c['OdVLv'](_0x14b688,_0x19d238);}},[_0x371f61,_0x3f8dfc,_0xa1dcb8,_0x18ff94]=_0x34d538['split'](',\x20');let _0x113aef={};if(!_0x18ff94){const _0xa83b6b={};_0xa83b6b[_0xba81c9(0x17b)]=_0x371f61,_0xa83b6b[_0xba81c9(0x194)]=_0x3f8dfc,_0xa83b6b[_0xba81c9(0x179)]=_0xa1dcb8,_0x113aef=_0xa83b6b;}else{const _0x56e9e6={};_0x56e9e6['os']=_0x371f61,_0x56e9e6[_0xba81c9(0x194)]=_0x3f8dfc,_0x56e9e6['browser']=_0xa1dcb8,_0x56e9e6[_0xba81c9(0x12a)]=_0x18ff94,_0x113aef=_0x56e9e6;}const _0x2ede9f={},_0x26a2ef=_0x52de02[_0x34d538];Object[_0xba81c9(0x15f)](_0x26a2ef)[_0xba81c9(0x18f)](_0xe17f3d=>{const _0x325edc=_0xba81c9;_0x43d427[_0x325edc(0x137)](_0x26a2ef[_0xe17f3d][_0x325edc(0x13c)],0x0)&&(_0x2ede9f[_0xe17f3d]=_0x26a2ef[_0xe17f3d]);}),_0x54d23c['OdVLv'](Object['keys'](_0x2ede9f)[_0xba81c9(0x13c)],0x0)&&(_0x113aef[_0x54d23c['mBEyq']]=_0x2ede9f,_0x4f5186['push'](_0x113aef));}),_0x54d23c['OdVLv'](_0x4f5186[_0x41da29(0x13c)],0x0)?_0x12a279[_0x41da29(0x156)]=_0x4f5186:delete _0x12a279[_0x54d23c[_0x41da29(0x15a)]];}}}}catch(_0x1b26dc){delete _0x12a279[_0x54d23c['IvHAY']],logger[_0x41da29(0x14b)](_0x54d23c['TmqWT'](_0x54d23c['gxBNM'],_0x1b26dc));}const _0x3658fe=helper[_0x41da29(0x142)](_0x3f6d56,_0x3f6d56[_0x41da29(0x189)]),_0x557297={'userName':helper[_0x41da29(0x115)](_0x3f6d56),'accessKey':helper[_0x41da29(0x17e)](_0x3f6d56),'event_type':_0x3b1c09,'detectedFramework':_0x34b065,'buildHashedId':globals[_0x41da29(0x17c)](_0x54d23c[_0x41da29(0x12b)]),'optimalHubUrl':helper[_0x41da29(0x10f)](),'event_properties':{'testhub_uuid':process[_0x41da29(0x186)][testHubConstants[_0x41da29(0x162)][_0x41da29(0x196)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x54d23c[_0x41da29(0x127)](getProductMap,_0x3f6d56),'productMap':_0x54d23c['UfYDz'](getProductMap,_0x3f6d56),'language_framework':_0x3f6d56[_0x41da29(0x16f)]||_0x54d23c[_0x41da29(0x112)],'referrer':helper[_0x41da29(0x11a)](_0x34b065),'framework':_0x3f6d56[_0x41da29(0x189)],'frameworkVersion':helper[_0x41da29(0x135)](_0x34b065),'automationFramework':_0x3658fe[_0x41da29(0x16d)],'automationFrameworkVersion':_0x3658fe[_0x41da29(0x11d)],'language':_0x54d23c['yVQFj'],'languageVersion':process[_0x41da29(0x11d)],'product':_0x276470,'buildName':_0x3f6d56['buildName']||_0x54d23c[_0x41da29(0x183)],'buildIdentifier':_0x470109,'os':os[_0x41da29(0x122)]()||_0x54d23c['LiIhS'],'hostname':os[_0x41da29(0x192)]()||_0x54d23c['LiIhS'],..._0x12a279,'isCLIEnabled':_0x1ac884}};try{_0x54d23c[_0x41da29(0x154)](_0x3b1c09,_0x54d23c[_0x41da29(0x111)])&&(_0x557297[_0x41da29(0x14e)][_0x41da29(0x129)]=helper[_0x41da29(0x151)](_0x3f6d56)),_0x54d23c[_0x41da29(0x118)](_0x34b065,_0x54d23c[_0x41da29(0x136)])?_0x557297[_0x41da29(0x14e)][_0x41da29(0x13e)]=helper[_0x41da29(0x177)][_0x41da29(0x182)](null,_0x54d23c[_0x41da29(0x12c)](getTransformPath),!![]):_0x557297[_0x41da29(0x14e)][_0x41da29(0x16b)]=helper[_0x41da29(0x140)](_0x54d23c['hsAkv']);}catch(_0x50a52b){logger[_0x41da29(0x14b)](_0x41da29(0x130)+_0x50a52b);}const _0x1ec7fa={};_0x1ec7fa[_0x41da29(0x14c)]=_0x54d23c['vXPXL'];const _0x49cc54={'headers':_0x1ec7fa,'body':_0x557297,'auth':{'user':helper[_0x41da29(0x115)](_0x3f6d56),'pass':helper['getAccessKey'](_0x3f6d56)},'json':!![]};logger[_0x41da29(0x14b)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x41da29(0x170)](_0x49cc54[_0x41da29(0x150)])[_0x41da29(0x16a)](new RegExp(helper[_0x41da29(0x115)](_0x3f6d56),'g'),_0x54d23c[_0x41da29(0x153)])[_0x41da29(0x16a)](new RegExp(helper[_0x41da29(0x17e)](_0x3f6d56),'g'),_0x54d23c['tAEtt']));try{const _0x32373a=await helper[_0x41da29(0x15d)](_0x54d23c[_0x41da29(0x195)],FUNNEL_INSTRUMENTATION_API_URL,_0x49cc54,_0x3f6d56);logger[_0x41da29(0x14b)](_0x41da29(0x16e)+_0x3b1c09+_0x41da29(0x117)+util[_0x41da29(0x164)]('%j',_0x32373a));}catch(_0x33a135){logger[_0x41da29(0x14b)](_0x41da29(0x116)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x41da29(0x164)](_0x33a135));}},exports['finalExecution']=async(_0x488510,_0x5b918c=![])=>{const _0x2675d4=a156_0x3b80f5,_0x2282e0={'KKumH':function(_0x4d5019){return _0x4d5019();},'WukbH':'_hubAllocationData','TlUov':'finishedMetadata','wRIqj':_0x2675d4(0x193),'ikTMa':_0x2675d4(0x197),'POoth':function(_0x182b83,_0x5def2d,_0x518e20){return _0x182b83(_0x5def2d,_0x518e20);},'OAhTQ':function(_0x53c40d,_0x47f2d1){return _0x53c40d+_0x47f2d1;},'pFRve':_0x2675d4(0x12d)};try{await _0x488510[_0x2675d4(0x15b)](),_0x2282e0[_0x2675d4(0x124)](printNudgeLocalNotSetError);const _0x40dc95={};_0x40dc95[_0x2675d4(0x156)]=_0x488510[_0x2675d4(0x17d)]?_0x488510[_0x2675d4(0x17d)]:'{}';const _0xae5176=_0x40dc95,_0x196d4c=Object[_0x2675d4(0x198)]({},_0xae5176),_0x5d31bc=globals[_0x2675d4(0x17c)](_0x2282e0[_0x2675d4(0x163)]);_0x5d31bc&&(_0x196d4c[_0x2675d4(0x13d)]=_0x5d31bc);!!_0x488510[_0x2675d4(0x188)]&&(_0x196d4c[_0x2282e0[_0x2675d4(0x13b)]]={'reason':_0x2282e0[_0x2675d4(0x155)],'signal':_0x488510[_0x2675d4(0x188)]});unhandledErrors=_0x488510['unhandledErrors'][_0x2675d4(0x123)]('\x0a');let _0x3703c6,_0x6f8379,_0x1d7e8b;helper[_0x2675d4(0x125)](_0x488510[_0x2675d4(0x187)])?([_0x3703c6,_0x6f8379]=await helper['getTurboScaleBuildLink'](_0x488510[_0x2675d4(0x187)]),[_0x1d7e8b]=await Promise[_0x2675d4(0x133)]([helper[_0x2675d4(0x120)](_0x3703c6,_0x488510[_0x2675d4(0x187)]),exports[_0x2675d4(0x18d)](_0x2282e0[_0x2675d4(0x11e)],_0x196d4c,_0x488510['config'],_0x488510['framework'],_0x5b918c)])):([_0x3703c6,_0x6f8379]=await helper['getBuildLink'](_0x488510[_0x2675d4(0x187)]),[_0x1d7e8b]=await Promise['all']([helper[_0x2675d4(0x18a)](_0x3703c6,_0x488510[_0x2675d4(0x187)]),exports['fireFunnelTestEvent'](_0x2282e0['ikTMa'],_0x196d4c,_0x488510[_0x2675d4(0x187)],_0x488510[_0x2675d4(0x189)],_0x5b918c)])),_0x1d7e8b&&await _0x2282e0[_0x2675d4(0x190)](generateCIArtifacts,_0x1d7e8b,_0x6f8379),logger[_0x2675d4(0x144)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x488510[_0x2675d4(0x134)]+',\x20testhub\x20id:\x20'+process['env'][_0x2675d4(0x196)]),await helper[_0x2675d4(0x114)](_0x488510[_0x2675d4(0x187)]);}catch(_0xa4d736){logger[_0x2675d4(0x14b)](_0x2282e0[_0x2675d4(0x131)](_0x2282e0[_0x2675d4(0x172)],_0xa4d736));}helper[_0x2675d4(0x149)]();},exports['getStackTraceAsString']=_0x1cb569=>{const _0x18687d=a156_0x3b80f5,_0x2033a6={'aVZAy':function(_0x36ee6e,_0x36b3f4){return _0x36ee6e instanceof _0x36b3f4;},'KaxsJ':function(_0xec5593,_0x5cd646){return _0xec5593(_0x5cd646);}};try{if(_0x2033a6[_0x18687d(0x10d)](_0x1cb569,Error))return _0x1cb569[_0x18687d(0x132)]||_0x1cb569[_0x18687d(0x11b)]();return _0x2033a6[_0x18687d(0x171)](String,_0x1cb569);}catch(_0x45ec1c){return _0x1cb569?_0x1cb569[_0x18687d(0x11b)]():'';}},exports['isNullOrEmpty']=_0x241759=>{const _0x5097e3=a156_0x3b80f5,_0x270a52={};_0x270a52[_0x5097e3(0x11f)]=function(_0x4102e9,_0xa6aa3){return _0x4102e9===_0xa6aa3;};const _0x11ef43=_0x270a52;return!_0x241759||_0x11ef43[_0x5097e3(0x11f)](_0x241759['trim'](),'');},exports[a156_0x3b80f5(0x14a)]=_0x1619cf=>{const _0x410016=a156_0x3b80f5,_0x58157f={};_0x58157f[_0x410016(0x165)]=function(_0x4581c0,_0x9ce85f){return _0x4581c0|_0x9ce85f;};const _0x4a61e5=_0x58157f;try{return fs['accessSync'](_0x1619cf,_0x4a61e5[_0x410016(0x165)](fs[_0x410016(0x17f)][_0x410016(0x110)],fs[_0x410016(0x17f)][_0x410016(0x14f)])),!![];}catch(_0x40352e){return![];}},exports[a156_0x3b80f5(0x16c)]=_0x3ab79f=>{const _0x57919f=a156_0x3b80f5;try{fs[_0x57919f(0x160)](_0x3ab79f,0x1ff),logger[_0x57919f(0x14b)](_0x57919f(0x161)+_0x3ab79f+_0x57919f(0x10e));}catch(_0x40b544){logger['error'](_0x57919f(0x178)+exports[_0x57919f(0x176)](_0x40b544));}};
|
|
1
|
+
function a156_0xa258(_0x49b072,_0x3f4c21){const _0x55ec3f=a156_0x55ec();return a156_0xa258=function(_0xa2583a,_0x6db284){_0xa2583a=_0xa2583a-0x15f;let _0x209803=_0x55ec3f[_0xa2583a];return _0x209803;},a156_0xa258(_0x49b072,_0x3f4c21);}const a156_0x21392a=a156_0xa258;(function(_0x48de3e,_0x36e376){const _0x3c12e3=a156_0xa258,_0x290f7c=_0x48de3e();while(!![]){try{const _0xfe175d=-parseInt(_0x3c12e3(0x177))/0x1+-parseInt(_0x3c12e3(0x190))/0x2*(-parseInt(_0x3c12e3(0x173))/0x3)+-parseInt(_0x3c12e3(0x1a5))/0x4+-parseInt(_0x3c12e3(0x161))/0x5+parseInt(_0x3c12e3(0x18b))/0x6*(parseInt(_0x3c12e3(0x162))/0x7)+parseInt(_0x3c12e3(0x189))/0x8+parseInt(_0x3c12e3(0x191))/0x9*(parseInt(_0x3c12e3(0x198))/0xa);if(_0xfe175d===_0x36e376)break;else _0x290f7c['push'](_0x290f7c['shift']());}catch(_0x2328bc){_0x290f7c['push'](_0x290f7c['shift']());}}}(a156_0x55ec,0xbe38c));const os=require('os'),util=require(a156_0x21392a(0x17a)),fs=require('fs'),{getProductMap}=require(a156_0x21392a(0x1a2)),logger=require(a156_0x21392a(0x1c8))['winstonLogger'],constants=require(a156_0x21392a(0x178)),testHubConstants=require(a156_0x21392a(0x1c7)),{getTransformPath}=require(a156_0x21392a(0x199)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a156_0x21392a(0x178)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a156_0x21392a(0x186)),globals=require('./globals'),helper=require(a156_0x21392a(0x163)),{isTestObservabilitySession}=require(a156_0x21392a(0x166));function a156_0x55ec(){const _0x24f5bf=['constants','getPackageVersion','join','requirePWModule','Playwright','browserStackConfig','qJfZO','TOlhL','mWuTm','wIZTW','buildIdentifier','AUTOMATE_PRODUCTS','type','UEMFv','yrwKK','reduce','kYecD','every','toString','sanitizeBrowserStackConfig','vqswt','values','split','kgOTH','phPjx','accessSync','JDMrj','../helpers/testhub/constants','./logger','eYwLB','killSignal','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','apply','framework','HhYBp','chmodSync','unknown','assign','getGlobal','APP_AUTOMATE_PRODUCTS','lSTiq','env','forEach','[REDACTED]','NQcsE','name','errorMessage','stringify','config','SDK\x20run\x20ended\x20for\x20id:\x20','getSessionsList','isTurboScaleSession','dEMMl','Error\x20in\x20firing\x20request\x20to\x20','iOyVL','API\x20Event\x20','push','hostname','nZXbX','object','hubAllocation','6776785JvKJbw','35567gmXxvh','./helper','yKurL','tests','./test-observability/utils','all','KgWmu','getTestFrameworkDetails','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','event_properties','SDKTestSuccessful','sdkRunId','playwrightVersion','format','nodeRequest','tYVte','getTurboScaleBuildLink','288447hGDjNF','pYpfq','isBrowserstackInfra','Directory\x20','1422883kdJmkf','../bin/utils/constants','buildName','util','\x20response\x20-\x20','getUserName','codeceptjs','browser','\x20has\x20now\x20read/write/execute\x20permissions.','browserVersion','replace','keys','selenium-webdriver','setReadWriteExecuteAccess','ixoZz','./performance/performance-tester','W_OK','AUTOMATE','9913424plytAh','CXCNf','1356iaGpdD','finishedMetadata','unhandledErrors','getStackTraceAsString','getBuildLink','24Lwkvdt','10769436kQIxNq','error','finalExecution','app','fireFunnelTestEvent','seleniumVersion','isNullOrEmpty','10EYdFQK','../bin/playwright/reporter/pwUtils','SJzLT','isModifiable','gXfPs','null','getAccessKey','BROWSERSTACK_TESTHUB_UUID','WaUfF','hgZGo','./testhub/utils','length','getTurboScaleSessionsList','4721952OywEJT','EnxLw','debug','osVersion','globalException','body','\x20:\x20'];a156_0x55ec=function(){return _0x24f5bf;};return a156_0x55ec();}let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0x18ea55,_0x5a657e={},_0x443d0f,_0xde134f,_0x1104f8=![])=>{const _0x448b88=a156_0x21392a,_0x2373d9={'HhYBp':function(_0x4a373f,_0x14c4ce){return _0x4a373f===_0x14c4ce;},'kgOTH':_0x448b88(0x15f),'ixoZz':function(_0x341ec1,_0x381e8f){return _0x341ec1>_0x381e8f;},'lSTiq':function(_0x34a50b,_0x3887ba){return _0x34a50b>_0x3887ba;},'vqswt':_0x448b88(0x165),'eYwLB':function(_0x22c9c7){return _0x22c9c7();},'TKPHB':function(_0x5d8c11){return _0x5d8c11();},'UEMFv':function(_0x58ab94,_0x569db2){return _0x58ab94==_0x569db2;},'upwJq':_0x448b88(0x19d),'NQcsE':'undefined','BEMxX':_0x448b88(0x17d),'qJfZO':function(_0x5d1632,_0x26eefa){return _0x5d1632!==_0x26eefa;},'cEsCs':_0x448b88(0x1b0),'TOlhL':function(_0x3922f3,_0x15e474){return _0x3922f3===_0x15e474;},'EnxLw':_0x448b88(0x192),'nZXbX':function(_0x5dcc64,_0x328270){return _0x5dcc64>_0x328270;},'mWuTm':function(_0x3193d2,_0x3427b6){return _0x3193d2+_0x3427b6;},'gXfPs':_0x448b88(0x1cb),'KgWmu':'_buildHashedId','enlLy':function(_0x5b14cb,_0x507c01){return _0x5b14cb(_0x507c01);},'hgZGo':_0x448b88(0x1d0),'WaUfF':'nodejs','dMGBm':function(_0x49aba2,_0x1146e9){return _0x49aba2===_0x1146e9;},'iOyVL':_0x448b88(0x16c),'tHJOi':_0x448b88(0x183),'yrwKK':'application/json','ypysW':_0x448b88(0x1d7),'wIZTW':'POST'};let _0x8f2deb=[];if(helper[_0x448b88(0x175)]()&&_0x2373d9[_0x448b88(0x1c9)](isTestObservabilitySession))_0x8f2deb=_0x443d0f[_0x448b88(0x194)]?constants[_0x448b88(0x1d3)]:constants[_0x448b88(0x1b7)];else{if(_0x2373d9['TKPHB'](isTestObservabilitySession))_0x8f2deb=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper['isBrowserstackInfra']()&&(_0x8f2deb=_0x443d0f[_0x448b88(0x194)]?constants['APP_AUTOMATE']:constants[_0x448b88(0x188)]);}let _0x37088a=_0x443d0f[_0x448b88(0x1b6)];if(_0x2373d9[_0x448b88(0x1b9)](_0x37088a,null))_0x37088a=_0x2373d9['upwJq'];else _0x2373d9[_0x448b88(0x1ce)](_0x37088a,undefined)&&(_0x37088a=_0x2373d9[_0x448b88(0x1d8)]);unhandledErrors&&_0x2373d9[_0x448b88(0x185)](unhandledErrors['length'],0x0)&&(_0x5a657e[_0x448b88(0x1a9)]=unhandledErrors);global['sdkRunId']&&(_0x5a657e[_0x448b88(0x16d)]=global['sdkRunId']);try{if(_0x5a657e['error']){if(_0x2373d9[_0x448b88(0x1ce)](_0xde134f,_0x2373d9['BEMxX'])&&_0x2373d9[_0x448b88(0x185)](_0x5a657e[_0x448b88(0x192)][_0x448b88(0x1a3)],0x0)){const _0x42e0b4={};_0x42e0b4['os']='',_0x42e0b4[_0x448b88(0x1a8)]='',_0x42e0b4['browser']='',_0x42e0b4[_0x448b88(0x180)]='';const _0x5ce90e=_0x42e0b4;let _0x5aaf9b={};const _0x5fa78d=_0x5a657e[_0x448b88(0x192)];_0x5aaf9b=_0x5fa78d[_0x448b88(0x1bb)]((_0xf16fef,_0x5e86cd)=>{for(const _0x3fa09f in _0x5e86cd){_0xf16fef[_0x3fa09f]=_0x5e86cd[_0x3fa09f];}return _0xf16fef;},{});const _0x3c8f07={};_0x3c8f07[_0x448b88(0x165)]=_0x5aaf9b,_0x5a657e[_0x448b88(0x192)]=[Object[_0x448b88(0x1d1)]({},_0x5ce90e,_0x3c8f07)];}else{let _0x32a6da=0x0;const _0x2de18b=_0x2373d9[_0x448b88(0x1b2)](_0xde134f,_0x2373d9['cEsCs'])?JSON['parse'](_0x5a657e['error']):_0x5a657e[_0x448b88(0x192)],_0x42a3f5=Object[_0x448b88(0x1c1)](_0x2de18b);_0x42a3f5['forEach'](_0x520cca=>{const _0x4d4f66=_0x448b88;if(_0x2373d9[_0x4d4f66(0x1ce)](typeof _0x520cca,_0x2373d9[_0x4d4f66(0x1c3)])){const _0x507919=Object['values'](_0x520cca);!_0x507919[_0x4d4f66(0x1bd)](_0x153264=>_0x153264===null||_0x153264===undefined||_0x153264==='')&&(_0x32a6da+=0x1);}});if(_0x2373d9[_0x448b88(0x1b3)](_0x32a6da,0x0))delete _0x5a657e[_0x2373d9['EnxLw']];else{const _0x5db0c8=[];Object[_0x448b88(0x182)](_0x2de18b)[_0x448b88(0x1d6)](_0x1aac99=>{const _0x10aca9=_0x448b88,_0x3caaf8={'JTVou':function(_0x2c7fe7,_0x8623c){return _0x2373d9['ixoZz'](_0x2c7fe7,_0x8623c);}},[_0x3ddff2,_0x233ee0,_0x20f76f,_0x4600c1]=_0x1aac99[_0x10aca9(0x1c2)](',\x20');let _0x1d1495={};if(!_0x4600c1){const _0x345f33={};_0x345f33['deviceName']=_0x3ddff2,_0x345f33[_0x10aca9(0x1a8)]=_0x233ee0,_0x345f33[_0x10aca9(0x17e)]=_0x20f76f,_0x1d1495=_0x345f33;}else{const _0x3d04ac={};_0x3d04ac['os']=_0x3ddff2,_0x3d04ac[_0x10aca9(0x1a8)]=_0x233ee0,_0x3d04ac[_0x10aca9(0x17e)]=_0x20f76f,_0x3d04ac['browserVersion']=_0x4600c1,_0x1d1495=_0x3d04ac;}const _0x122bc9={},_0x30cb7f=_0x2de18b[_0x1aac99];Object['keys'](_0x30cb7f)[_0x10aca9(0x1d6)](_0x289f78=>{const _0x3578dc=_0x10aca9;_0x3caaf8['JTVou'](_0x30cb7f[_0x289f78][_0x3578dc(0x1a3)],0x0)&&(_0x122bc9[_0x289f78]=_0x30cb7f[_0x289f78]);}),_0x2373d9[_0x10aca9(0x1d4)](Object['keys'](_0x122bc9)[_0x10aca9(0x1a3)],0x0)&&(_0x1d1495[_0x2373d9[_0x10aca9(0x1c0)]]=_0x122bc9,_0x5db0c8[_0x10aca9(0x1e4)](_0x1d1495));}),_0x2373d9[_0x448b88(0x1e6)](_0x5db0c8[_0x448b88(0x1a3)],0x0)?_0x5a657e[_0x448b88(0x192)]=_0x5db0c8:delete _0x5a657e[_0x2373d9[_0x448b88(0x1a6)]];}}}}catch(_0x552b0c){delete _0x5a657e[_0x2373d9[_0x448b88(0x1a6)]],logger[_0x448b88(0x1a7)](_0x2373d9[_0x448b88(0x1b4)](_0x2373d9[_0x448b88(0x19c)],_0x552b0c));}const _0x48a7ba=helper[_0x448b88(0x169)](_0x443d0f,_0x443d0f[_0x448b88(0x1cd)]),_0x39a3c5={'userName':helper[_0x448b88(0x17c)](_0x443d0f),'accessKey':helper[_0x448b88(0x19e)](_0x443d0f),'event_type':_0x18ea55,'detectedFramework':_0xde134f,'buildHashedId':globals[_0x448b88(0x1d2)](_0x2373d9[_0x448b88(0x168)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x448b88(0x1d5)][testHubConstants['ENV_VAR'][_0x448b88(0x19f)]]||'','sdkRunId':global[_0x448b88(0x16d)],'product_map':_0x2373d9['enlLy'](getProductMap,_0x443d0f),'productMap':_0x2373d9['enlLy'](getProductMap,_0x443d0f),'language_framework':_0x443d0f['source']||_0x2373d9['hgZGo'],'referrer':helper['getNodeAgent'](_0xde134f),'framework':_0x443d0f[_0x448b88(0x1cd)],'frameworkVersion':helper['getFrameworkVersion'](_0xde134f),'automationFramework':_0x48a7ba[_0x448b88(0x1d9)],'automationFrameworkVersion':_0x48a7ba['version'],'language':_0x2373d9[_0x448b88(0x1a0)],'languageVersion':process['version'],'product':_0x8f2deb,'buildName':_0x443d0f[_0x448b88(0x179)]||_0x2373d9[_0x448b88(0x1d8)],'buildIdentifier':_0x37088a,'os':os[_0x448b88(0x1b8)]()||_0x2373d9[_0x448b88(0x1a1)],'hostname':os[_0x448b88(0x1e5)]()||_0x2373d9['hgZGo'],..._0x5a657e,'isCLIEnabled':_0x1104f8}};try{_0x2373d9['dMGBm'](_0x18ea55,_0x2373d9[_0x448b88(0x1e2)])&&(_0x39a3c5[_0x448b88(0x16b)][_0x448b88(0x1b1)]=helper[_0x448b88(0x1bf)](_0x443d0f)),_0x2373d9['dMGBm'](_0xde134f,_0x2373d9['cEsCs'])?_0x39a3c5[_0x448b88(0x16b)][_0x448b88(0x16e)]=helper[_0x448b88(0x1af)][_0x448b88(0x1cc)](null,_0x2373d9[_0x448b88(0x1c9)](getTransformPath),!![]):_0x39a3c5['event_properties'][_0x448b88(0x196)]=helper[_0x448b88(0x1ad)](_0x2373d9['tHJOi']);}catch(_0x54806d){logger[_0x448b88(0x1a7)](_0x448b88(0x16a)+_0x54806d);}const _0x5bc71a={};_0x5bc71a['content-type']=_0x2373d9[_0x448b88(0x1ba)];const _0x3947e3={'headers':_0x5bc71a,'body':_0x39a3c5,'auth':{'user':helper['getUserName'](_0x443d0f),'pass':helper['getAccessKey'](_0x443d0f)},'json':!![]};logger[_0x448b88(0x1a7)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x448b88(0x1db)](_0x3947e3[_0x448b88(0x1aa)])['replace'](new RegExp(helper[_0x448b88(0x17c)](_0x443d0f),'g'),_0x2373d9['ypysW'])[_0x448b88(0x181)](new RegExp(helper[_0x448b88(0x19e)](_0x443d0f),'g'),_0x2373d9['ypysW']));try{const _0x96cbdc=await helper[_0x448b88(0x170)](_0x2373d9[_0x448b88(0x1b5)],FUNNEL_INSTRUMENTATION_API_URL,_0x3947e3,_0x443d0f);logger[_0x448b88(0x1a7)](_0x448b88(0x1e3)+_0x18ea55+_0x448b88(0x17b)+util['format']('%j',_0x96cbdc));}catch(_0x411bf9){logger[_0x448b88(0x1a7)](_0x448b88(0x1e1)+FUNNEL_INSTRUMENTATION_API_URL+_0x448b88(0x1ab)+util[_0x448b88(0x16f)](_0x411bf9));}},exports[a156_0x21392a(0x193)]=async(_0xde5715,_0x40b022=![])=>{const _0x8ac112=a156_0x21392a,_0x4cebe0={'phPjx':function(_0x1f8d6c){return _0x1f8d6c();},'CXCNf':'_hubAllocationData','tYVte':_0x8ac112(0x18c),'JDMrj':'user_killed','kYecD':_0x8ac112(0x16c),'pYpfq':function(_0x44c5ec,_0x348b3c,_0x57ce66){return _0x44c5ec(_0x348b3c,_0x57ce66);},'faYGR':function(_0xcc3596,_0x5b1f1b){return _0xcc3596+_0x5b1f1b;},'dEMMl':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};try{await _0xde5715['stopPercy'](),_0x4cebe0[_0x8ac112(0x1c4)](printNudgeLocalNotSetError);const _0x2fad45={};_0x2fad45[_0x8ac112(0x192)]=_0xde5715[_0x8ac112(0x1da)]?_0xde5715[_0x8ac112(0x1da)]:'{}';const _0x396f6a=_0x2fad45,_0x50bd15=Object[_0x8ac112(0x1d1)]({},_0x396f6a),_0x5d5464=globals[_0x8ac112(0x1d2)](_0x4cebe0[_0x8ac112(0x18a)]);_0x5d5464&&(_0x50bd15[_0x8ac112(0x160)]=_0x5d5464);!!_0xde5715[_0x8ac112(0x1ca)]&&(_0x50bd15[_0x4cebe0[_0x8ac112(0x171)]]={'reason':_0x4cebe0[_0x8ac112(0x1c6)],'signal':_0xde5715[_0x8ac112(0x1ca)]});unhandledErrors=_0xde5715[_0x8ac112(0x18d)][_0x8ac112(0x1ae)]('\x0a');let _0x1b9a4c,_0x567752,_0x2a5a54;helper[_0x8ac112(0x1df)](_0xde5715[_0x8ac112(0x1dc)])?([_0x1b9a4c,_0x567752]=await helper[_0x8ac112(0x172)](_0xde5715[_0x8ac112(0x1dc)]),[_0x2a5a54]=await Promise[_0x8ac112(0x167)]([helper[_0x8ac112(0x1a4)](_0x1b9a4c,_0xde5715[_0x8ac112(0x1dc)]),exports[_0x8ac112(0x195)](_0x4cebe0[_0x8ac112(0x1bc)],_0x50bd15,_0xde5715[_0x8ac112(0x1dc)],_0xde5715[_0x8ac112(0x1cd)],_0x40b022)])):([_0x1b9a4c,_0x567752]=await helper[_0x8ac112(0x18f)](_0xde5715[_0x8ac112(0x1dc)]),[_0x2a5a54]=await Promise[_0x8ac112(0x167)]([helper[_0x8ac112(0x1de)](_0x1b9a4c,_0xde5715[_0x8ac112(0x1dc)]),exports[_0x8ac112(0x195)](_0x4cebe0[_0x8ac112(0x1bc)],_0x50bd15,_0xde5715[_0x8ac112(0x1dc)],_0xde5715[_0x8ac112(0x1cd)],_0x40b022)])),_0x2a5a54&&await _0x4cebe0[_0x8ac112(0x174)](generateCIArtifacts,_0x2a5a54,_0x567752),logger['info'](_0x8ac112(0x1dd)+_0xde5715[_0x8ac112(0x16d)]+',\x20testhub\x20id:\x20'+process[_0x8ac112(0x1d5)][_0x8ac112(0x19f)]),await helper['sendLogs'](_0xde5715['config']);}catch(_0x2d705b){logger[_0x8ac112(0x1a7)](_0x4cebe0['faYGR'](_0x4cebe0[_0x8ac112(0x1e0)],_0x2d705b));}helper['notifyUpdate']();},exports[a156_0x21392a(0x18e)]=_0x2179f5=>{const _0x4b8bd8=a156_0x21392a,_0x2d28a5={'Uafmj':function(_0x965f3e,_0x3fc5f9){return _0x965f3e instanceof _0x3fc5f9;},'BCvTf':function(_0xaedc7e,_0x199ae8){return _0xaedc7e(_0x199ae8);}};try{if(_0x2d28a5['Uafmj'](_0x2179f5,Error))return _0x2179f5['stack']||_0x2179f5[_0x4b8bd8(0x1be)]();return _0x2d28a5['BCvTf'](String,_0x2179f5);}catch(_0x5af59b){return _0x2179f5?_0x2179f5[_0x4b8bd8(0x1be)]():'';}},exports[a156_0x21392a(0x197)]=_0x2fe5b2=>{const _0x16d730=a156_0x21392a,_0x37eb9e={};_0x37eb9e[_0x16d730(0x19a)]=function(_0xa545e3,_0x21cae7){return _0xa545e3===_0x21cae7;};const _0x14d40d=_0x37eb9e;return!_0x2fe5b2||_0x14d40d[_0x16d730(0x19a)](_0x2fe5b2['trim'](),'');},exports[a156_0x21392a(0x19b)]=_0x26b7b8=>{const _0x5a18a0=a156_0x21392a,_0x3ae85e={};_0x3ae85e[_0x5a18a0(0x164)]=function(_0x3d90df,_0x38b984){return _0x3d90df|_0x38b984;};const _0x5d6e6a=_0x3ae85e;try{return fs[_0x5a18a0(0x1c5)](_0x26b7b8,_0x5d6e6a[_0x5a18a0(0x164)](fs[_0x5a18a0(0x1ac)][_0x5a18a0(0x187)],fs['constants']['X_OK'])),!![];}catch(_0x264799){return![];}},exports[a156_0x21392a(0x184)]=_0x29572c=>{const _0x106a98=a156_0x21392a;try{fs[_0x106a98(0x1cf)](_0x29572c,0x1ff),logger['debug'](_0x106a98(0x176)+_0x29572c+_0x106a98(0x17f));}catch(_0x525ca3){logger[_0x106a98(0x192)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x106a98(0x18e)](_0x525ca3));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a157_0x5c7a(_0x39f750,_0x6d6f20){var _0x434e90=a157_0x434e();return a157_0x5c7a=function(_0x5c7aff,_0x31aa12){_0x5c7aff=_0x5c7aff-0x13c;var _0x9b3bc9=_0x434e90[_0x5c7aff];return _0x9b3bc9;},a157_0x5c7a(_0x39f750,_0x6d6f20);}function a157_0x434e(){var _0x4481c0=['Xeeuw','ptfZq','WaydZ','dwJms','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserstack.overridelocalInfo.localIdentifier','W3CMapping','browserstack.buildIdentifier','6JZjWJR','Xwmxt','478472Luwqpk','VKmpD','qeurc','GBQZX','telemetryLogs','496077HpndSe','TpAnF','cyGnp','accessibilityOptions.wcagVersion','mECDu','ngZtq','useW3c','uploadMedia','osVersion','idleTimeout','project','2716380mutfiG','BEYni','build','browserstack.accessibilityOptions.includeIssueType.needsReview','accessKey','appiumLogs','PcWHL','browserstack.seleniumLogs','bfcache','KCUpf','gCnav','eWKHq','browserstack.networkLogs','oIjKv','browserstack.playwrightVersion','tbWey','disableCorsRestrictions','3foVzXB','wsLocalSupport','browserstack.idleTimeout','browserstack.key','browserstack.debug','MnEZZ','simOptions','localIdentifier','browserstack.maskBasicAuth','testhubBuildUuid','CmqCg','seleniumVersion','debug','browserstack.testhubBuildUuid','wiZke','browserstack.accessibilityOptions.authToken','DvXPY','deviceOrientation','playwrightVersion','enableSim','consoleLogs','Viumh','OhMjA','name','browserstack.use_w3c','browserstack.browserstackSDK','qdaSO','buildName','kJPJQ','browserstack.performance','maskCommands','browserstack.accessibilityOptions.scannerProcessingTimeout','Wftss','mNSei','browserstack.video','44676laXMVd','userName','browserstack.appiumLogs','browserstack.uploadMedia','browserstack.accessibilityOptions.scannerVersion','OFOEP','12295184fgDErM','browserstack.networkLogsOptions','wQvpO','browserstack.accessibility','headerParams','accessibilityOptions.includeIssueType.needsReview','device','QGuTr','371JVOOzb','autoWait','accessibility','resolution','paGJg','GDPNt','browserstack.networkProfile','networkLogsOptions','browserstack.customNetwork','browserstack.bfcache','seleniumLogs','os_version','WcmpN','browserstack.selenium_version','DDzjW','browserstack.timezone','wjdhu','overridelocalInfo.userAuthToken','MBhNJ','browserstack.enableSim','KSGYB','projectName','20816TqFbxN','browserstack.simOptions','realMobile','browserstack.accessibilityOptions.wcagVersion','browserstack.localIdentifier','470cdaWOB','browserstack.overridelocalInfo.userAuthToken','KzoWp','customNetwork','lReBz','TgyyQ','video','networkProfile','vCSdP','browser_version','pUFRn','browser','hqkPJ','bbUHS','accessibilityOptions.scannerVersion','maskBasicAuth','SxwQq','gFUeV','browserstackSDK','browserstack.buildProductMap','browserstack.console','browserstack.appium_version','sessionName','576066jzDvvB','gnLuB','appiumVersion','Armgc','hosts','browserstack.maskCommands','browserstack.hosts','dhWfT','browserstack.user','local'];a157_0x434e=function(){return _0x4481c0;};return a157_0x434e();}var a157_0x17c43e=a157_0x5c7a;(function(_0x40cfdb,_0x14ab0a){var _0x85a5cb=a157_0x5c7a,_0x8d7a0d=_0x40cfdb();while(!![]){try{var _0x415cf3=-parseInt(_0x85a5cb(0x172))/0x1+-parseInt(_0x85a5cb(0x159))/0x2+parseInt(_0x85a5cb(0x18e))/0x3*(-parseInt(_0x85a5cb(0x16d))/0x4)+parseInt(_0x85a5cb(0x17d))/0x5*(parseInt(_0x85a5cb(0x16b))/0x6)+parseInt(_0x85a5cb(0x1bf))/0x7*(-parseInt(_0x85a5cb(0x13d))/0x8)+-parseInt(_0x85a5cb(0x1b1))/0x9*(parseInt(_0x85a5cb(0x142))/0xa)+parseInt(_0x85a5cb(0x1b7))/0xb;if(_0x415cf3===_0x14ab0a)break;else _0x8d7a0d['push'](_0x8d7a0d['shift']());}catch(_0x4ecbff){_0x8d7a0d['push'](_0x8d7a0d['shift']());}}}(a157_0x434e,0x5e41e),exports[a157_0x17c43e(0x169)]=()=>{var _0x1dee9b=a157_0x17c43e,_0x418e1e={};_0x418e1e[_0x1dee9b(0x163)]=_0x1dee9b(0x1b2),_0x418e1e[_0x1dee9b(0x1cd)]=_0x1dee9b(0x181),_0x418e1e[_0x1dee9b(0x1c4)]=_0x1dee9b(0x17a),_0x418e1e[_0x1dee9b(0x14e)]=_0x1dee9b(0x14d),_0x418e1e['gpalv']='browserVersion',_0x418e1e[_0x1dee9b(0x176)]=_0x1dee9b(0x178),_0x418e1e[_0x1dee9b(0x166)]=_0x1dee9b(0x13c),_0x418e1e[_0x1dee9b(0x1af)]=_0x1dee9b(0x1a9),_0x418e1e['BEYni']=_0x1dee9b(0x158),_0x418e1e[_0x1dee9b(0x153)]=_0x1dee9b(0x162),_0x418e1e['CmytX']=_0x1dee9b(0x195),_0x418e1e['GBTNu']=_0x1dee9b(0x19a),_0x418e1e[_0x1dee9b(0x147)]=_0x1dee9b(0x1a2),_0x418e1e[_0x1dee9b(0x18c)]='networkLogs',_0x418e1e[_0x1dee9b(0x1c3)]=_0x1dee9b(0x1c6),_0x418e1e[_0x1dee9b(0x16c)]=_0x1dee9b(0x182),_0x418e1e['qeurc']=_0x1dee9b(0x148),_0x418e1e['WaydZ']=_0x1dee9b(0x1c9),_0x418e1e[_0x1dee9b(0x170)]=_0x1dee9b(0x171),_0x418e1e['wqCHn']='geoLocation',_0x418e1e['EjQYR']='timezone',_0x418e1e[_0x1dee9b(0x1aa)]=_0x1dee9b(0x1c2),_0x418e1e[_0x1dee9b(0x193)]=_0x1dee9b(0x199),_0x418e1e[_0x1dee9b(0x198)]=_0x1dee9b(0x1ac),_0x418e1e[_0x1dee9b(0x177)]=_0x1dee9b(0x17b),_0x418e1e['KSGYB']=_0x1dee9b(0x151),_0x418e1e[_0x1dee9b(0x1b6)]=_0x1dee9b(0x1c0),_0x418e1e[_0x1dee9b(0x14f)]=_0x1dee9b(0x15d),_0x418e1e[_0x1dee9b(0x1cb)]=_0x1dee9b(0x185),_0x418e1e['DvXPY']=_0x1dee9b(0x18f),_0x418e1e['lReBz']=_0x1dee9b(0x18d),_0x418e1e[_0x1dee9b(0x16e)]='deviceName',_0x418e1e[_0x1dee9b(0x164)]='realMobile',_0x418e1e[_0x1dee9b(0x186)]=_0x1dee9b(0x15b),_0x418e1e[_0x1dee9b(0x1b9)]=_0x1dee9b(0x19f),_0x418e1e[_0x1dee9b(0x1ae)]=_0x1dee9b(0x145),_0x418e1e['QGuTr']=_0x1dee9b(0x149),_0x418e1e[_0x1dee9b(0x14a)]='buildIdentifier',_0x418e1e[_0x1dee9b(0x187)]=_0x1dee9b(0x154),_0x418e1e[_0x1dee9b(0x15c)]=_0x1dee9b(0x1c1),_0x418e1e[_0x1dee9b(0x144)]='buildProductMap',_0x418e1e[_0x1dee9b(0x15a)]=_0x1dee9b(0x197),_0x418e1e['cyGnp']=_0x1dee9b(0x175),_0x418e1e[_0x1dee9b(0x1a8)]=_0x1dee9b(0x150),_0x418e1e[_0x1dee9b(0x1d1)]='accessibilityOptions.scannerProcessingTimeout',_0x418e1e[_0x1dee9b(0x188)]='accessibilityOptions.includeIssueType.bestPractice',_0x418e1e['PcWHL']=_0x1dee9b(0x1bc),_0x418e1e['TpAnF']='accessibilityOptions.authToken',_0x418e1e['Viumh']=_0x1dee9b(0x179),_0x418e1e[_0x1dee9b(0x18a)]=_0x1dee9b(0x1a1),_0x418e1e[_0x1dee9b(0x160)]=_0x1dee9b(0x194),_0x418e1e[_0x1dee9b(0x14c)]=_0x1dee9b(0x1a0),_0x418e1e['SxwQq']=_0x1dee9b(0x1d0),_0x418e1e['wiZke']='overridelocalInfo.localIdentifier',_0x418e1e[_0x1dee9b(0x1cf)]=_0x1dee9b(0x1bb),_0x418e1e['OhMjA']='performance';var _0x1be0cc=_0x418e1e,_0x263ae2={};return _0x263ae2[_0x1dee9b(0x161)]=_0x1be0cc[_0x1dee9b(0x163)],_0x263ae2[_0x1dee9b(0x191)]=_0x1be0cc['DDzjW'],_0x263ae2['os']='os',_0x263ae2[_0x1dee9b(0x1ca)]=_0x1be0cc[_0x1dee9b(0x1c4)],_0x263ae2[_0x1dee9b(0x14d)]=_0x1be0cc[_0x1dee9b(0x14e)],_0x263ae2[_0x1dee9b(0x14b)]=_0x1be0cc['gpalv'],_0x263ae2[_0x1dee9b(0x1a6)]=_0x1be0cc[_0x1dee9b(0x176)],_0x263ae2[_0x1dee9b(0x17c)]=_0x1be0cc['dwJms'],_0x263ae2[_0x1dee9b(0x17f)]=_0x1be0cc[_0x1dee9b(0x1af)],_0x263ae2[_0x1dee9b(0x1a5)]=_0x1be0cc[_0x1dee9b(0x17e)],_0x263ae2['browserstack.local']=_0x1be0cc[_0x1dee9b(0x153)],_0x263ae2[_0x1dee9b(0x141)]=_0x1be0cc['CmytX'],_0x263ae2[_0x1dee9b(0x192)]=_0x1be0cc['GBTNu'],_0x263ae2[_0x1dee9b(0x156)]=_0x1be0cc[_0x1dee9b(0x147)],_0x263ae2[_0x1dee9b(0x189)]=_0x1be0cc['tbWey'],_0x263ae2[_0x1dee9b(0x1b8)]=_0x1be0cc[_0x1dee9b(0x1c3)],_0x263ae2[_0x1dee9b(0x1b3)]=_0x1be0cc[_0x1dee9b(0x16c)],_0x263ae2[_0x1dee9b(0x1b0)]=_0x1be0cc[_0x1dee9b(0x16f)],_0x263ae2[_0x1dee9b(0x184)]=_0x1be0cc[_0x1dee9b(0x165)],_0x263ae2['browserstack.telemetryLogs']=_0x1be0cc[_0x1dee9b(0x170)],_0x263ae2['browserstack.geoLocation']=_0x1be0cc['wqCHn'],_0x263ae2[_0x1dee9b(0x1ce)]=_0x1be0cc['EjQYR'],_0x263ae2['resolution']=_0x1be0cc[_0x1dee9b(0x1aa)],_0x263ae2[_0x1dee9b(0x1cc)]=_0x1be0cc[_0x1dee9b(0x193)],_0x263ae2[_0x1dee9b(0x15e)]=_0x1be0cc[_0x1dee9b(0x198)],_0x263ae2[_0x1dee9b(0x190)]=_0x1be0cc[_0x1dee9b(0x177)],_0x263ae2[_0x1dee9b(0x196)]=_0x1be0cc[_0x1dee9b(0x1d3)],_0x263ae2['browserstack.autoWait']=_0x1be0cc['OFOEP'],_0x263ae2[_0x1dee9b(0x15f)]=_0x1be0cc['bbUHS'],_0x263ae2[_0x1dee9b(0x1c8)]=_0x1be0cc['WcmpN'],_0x263ae2['browserstack.wsLocalSupport']=_0x1be0cc[_0x1dee9b(0x19e)],_0x263ae2['browserstack.disableCorsRestrictions']=_0x1be0cc[_0x1dee9b(0x146)],_0x263ae2[_0x1dee9b(0x1bd)]=_0x1be0cc[_0x1dee9b(0x16e)],_0x263ae2[_0x1dee9b(0x13f)]=_0x1be0cc[_0x1dee9b(0x164)],_0x263ae2[_0x1dee9b(0x157)]=_0x1be0cc['KCUpf'],_0x263ae2[_0x1dee9b(0x19f)]=_0x1be0cc[_0x1dee9b(0x1b9)],_0x263ae2[_0x1dee9b(0x1c7)]=_0x1be0cc[_0x1dee9b(0x1ae)],_0x263ae2[_0x1dee9b(0x1c5)]=_0x1be0cc[_0x1dee9b(0x1be)],_0x263ae2[_0x1dee9b(0x16a)]=_0x1be0cc[_0x1dee9b(0x14a)],_0x263ae2[_0x1dee9b(0x1a7)]=_0x1be0cc[_0x1dee9b(0x187)],_0x263ae2[_0x1dee9b(0x1ba)]=_0x1be0cc['Armgc'],_0x263ae2[_0x1dee9b(0x155)]=_0x1be0cc[_0x1dee9b(0x144)],_0x263ae2[_0x1dee9b(0x19b)]=_0x1be0cc['gnLuB'],_0x263ae2[_0x1dee9b(0x140)]=_0x1be0cc[_0x1dee9b(0x174)],_0x263ae2[_0x1dee9b(0x1b5)]=_0x1be0cc[_0x1dee9b(0x1a8)],_0x263ae2[_0x1dee9b(0x1ad)]=_0x1be0cc['MBhNJ'],_0x263ae2[_0x1dee9b(0x167)]=_0x1be0cc[_0x1dee9b(0x188)],_0x263ae2[_0x1dee9b(0x180)]=_0x1be0cc[_0x1dee9b(0x183)],_0x263ae2[_0x1dee9b(0x19d)]=_0x1be0cc[_0x1dee9b(0x173)],_0x263ae2[_0x1dee9b(0x1b4)]=_0x1be0cc[_0x1dee9b(0x1a3)],_0x263ae2[_0x1dee9b(0x1d2)]=_0x1be0cc[_0x1dee9b(0x18a)],_0x263ae2[_0x1dee9b(0x13e)]=_0x1be0cc['dhWfT'],_0x263ae2[_0x1dee9b(0x18b)]=_0x1be0cc[_0x1dee9b(0x14c)],_0x263ae2[_0x1dee9b(0x143)]=_0x1be0cc[_0x1dee9b(0x152)],_0x263ae2[_0x1dee9b(0x168)]=_0x1be0cc[_0x1dee9b(0x19c)],_0x263ae2['browserstack.headerParams']=_0x1be0cc['wjdhu'],_0x263ae2[_0x1dee9b(0x1ab)]=_0x1be0cc[_0x1dee9b(0x1a4)],_0x263ae2;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a158_0x3657a8=a158_0x455b;(function(_0x1e9f63,_0x3cb433){const _0x5fa569=a158_0x455b,_0x5044a2=_0x1e9f63();while(!![]){try{const _0x19f9c2=parseInt(_0x5fa569(0x19a))/0x1*(-parseInt(_0x5fa569(0x188))/0x2)+-parseInt(_0x5fa569(0x194))/0x3+parseInt(_0x5fa569(0x185))/0x4*(parseInt(_0x5fa569(0x1a1))/0x5)+parseInt(_0x5fa569(0x1b5))/0x6*(-parseInt(_0x5fa569(0x171))/0x7)+-parseInt(_0x5fa569(0x18b))/0x8+parseInt(_0x5fa569(0x18d))/0x9*(parseInt(_0x5fa569(0x1b3))/0xa)+parseInt(_0x5fa569(0x1bd))/0xb*(parseInt(_0x5fa569(0x16d))/0xc);if(_0x19f9c2===_0x3cb433)break;else _0x5044a2['push'](_0x5044a2['shift']());}catch(_0x11aaf8){_0x5044a2['push'](_0x5044a2['shift']());}}}(a158_0x2dcd,0xcced2));function a158_0x455b(_0x334ee3,_0x2202cc){const _0x2dcdd1=a158_0x2dcd();return a158_0x455b=function(_0x455b8e,_0x44b00c){_0x455b8e=_0x455b8e-0x16c;let _0x580ace=_0x2dcdd1[_0x455b8e];return _0x580ace;},a158_0x455b(_0x334ee3,_0x2202cc);}function a158_0x2dcd(){const _0x3c02c4=['findLatency','Ozjuw','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','bCcST','hostname','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','KkTJJ','PDGzM','./helpers/globals','2325188YDVZpA','debug','format','18sNfxmA','XEnuj','HUB\x20URL\x20SET\x20TO\x20-\x20','7016952znBFkB','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','618597ddHSlv','lTGus','nodeRequest','JQLZY','hUBWN','PiZQh','ACJPZ','4160754XtqbYb','uXuDX','CJjId','NEAREST\x20HUBS\x20LIST:\x20','search','dOCIz','121454hcxeRv','bhiDO','skipped','vPUki','util','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','newHubUrl','10iZfDqZ','GzyYo','nextHubs','kbJwq','_hubAllocationData','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','hvIDb','catch','check','/wd/hub','MAojA','https://','allSettled','ZZadD','VmqEe','value','PcWXe','GET','130soepSm','winstonLogger','116652ejnjzt','map','CYKiV','IhMPm','setGlobal','Dmlja','status','latency','9361297bclloN','qWjSc','./bin/utils/constants','IkxQA','Invalid\x20new\x20HUB\x20URL:\x20','POERr','HUB_URL_MAP','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','ivtte','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','VZjOK','cLKyc','uwpZJ','then','length','xaqnH','CIqpE','path','JDkSu','data','url','parse','ENhnx','./helpers/logger','GHkKf','zHXSS','FZtID','QdRCp','hubUrl','hubRegion\x20','./helpers/helper','next_hubs','race','Execution\x20time\x20for\x20','48Zlunto','updateHubUrl','resolve','now','455VsATDl','APFzv','replace','aGTNl','oNZHX','allocateHub','hOjPu','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','tOdZy','fulfilled','getRequestOptions'];a158_0x2dcd=function(){return _0x3c02c4;};return a158_0x2dcd();}const url=require(a158_0x3657a8(0x1d1)),util=require(a158_0x3657a8(0x19e)),helper=require(a158_0x3657a8(0x1db)),logger=require(a158_0x3657a8(0x1d4))[a158_0x3657a8(0x1b4)],constants=require(a158_0x3657a8(0x1bf)),globals=require(a158_0x3657a8(0x184));global[a158_0x3657a8(0x1a0)]='',exports[a158_0x3657a8(0x17b)]=_0x4d78fb=>{const _0x88cb9=a158_0x3657a8,_0x3e2345={};_0x3e2345[_0x88cb9(0x1cc)]=function(_0x116f01,_0x290b2d){return _0x116f01+_0x290b2d;},_0x3e2345[_0x88cb9(0x1d5)]=_0x88cb9(0x1c1);const _0x57a115=_0x3e2345,_0x3583f4=url[_0x88cb9(0x1d2)](_0x4d78fb);if(!_0x3583f4[_0x88cb9(0x180)])throw new Error(_0x57a115['xaqnH'](_0x57a115[_0x88cb9(0x1d5)],_0x4d78fb));return _0x3583f4[_0x88cb9(0x198)]=null,_0x3583f4['hash']=null,_0x3583f4[_0x88cb9(0x1ce)]=_0x3583f4['pathname'],_0x3583f4;},exports[a158_0x3657a8(0x16e)]=_0x17f178=>{const _0x2e23e9=a158_0x3657a8;global[_0x2e23e9(0x1a0)]=_0x17f178;},exports[a158_0x3657a8(0x176)]=_0x4ccc38=>{const _0x1f832f=a158_0x3657a8,_0x2bd75b={'FZtID':function(_0x6cf8e9){return _0x6cf8e9();},'JQLZY':_0x1f832f(0x1a5),'ENhnx':function(_0x2a9ddf,_0x42dec0){return _0x2a9ddf===_0x42dec0;},'KOnKj':_0x1f832f(0x17a),'QdRCp':_0x1f832f(0x17e),'uwpZJ':function(_0x4daa72,_0x367257){return _0x4daa72+_0x367257;},'CYKiV':_0x1f832f(0x1ac),'PcWXe':function(_0x31f2e8,_0x1d6186){return _0x31f2e8+_0x1d6186;},'lTGus':_0x1f832f(0x1aa),'bCcST':function(_0xec95ea){return _0xec95ea();},'cLKyc':function(_0x4fa4c8,_0x1eabeb){return _0x4fa4c8!==_0x1eabeb;},'MAojA':function(_0x42f5b1){return _0x42f5b1();},'CTfeB':function(_0x4eca0a,_0x432703){return _0x4eca0a==_0x432703;},'APFzv':function(_0x108991){return _0x108991();}};return new Promise(_0x12b15d=>{const _0x5d1b25=_0x1f832f,_0x25cc87={'zHXSS':_0x2bd75b[_0x5d1b25(0x190)],'hOjPu':function(_0x44d92a,_0x66dc79){const _0xf3824e=_0x5d1b25;return _0x2bd75b[_0xf3824e(0x1d3)](_0x44d92a,_0x66dc79);},'kbJwq':_0x2bd75b['KOnKj'],'ivtte':_0x2bd75b[_0x5d1b25(0x1d8)],'CJjId':function(_0xab79eb,_0x4b7bb2){const _0x5667b2=_0x5d1b25;return _0x2bd75b[_0x5667b2(0x1c9)](_0xab79eb,_0x4b7bb2);},'oNZHX':_0x2bd75b[_0x5d1b25(0x1b7)],'XEnuj':function(_0xe65a01,_0x466898){const _0x526c1e=_0x5d1b25;return _0x2bd75b[_0x526c1e(0x1b1)](_0xe65a01,_0x466898);},'ACJPZ':_0x2bd75b[_0x5d1b25(0x18e)],'hUBWN':function(_0xb9079a){const _0x3da6dc=_0x5d1b25;return _0x2bd75b[_0x3da6dc(0x17f)](_0xb9079a);},'GzyYo':function(_0x550644,_0x4f2b64){const _0x476751=_0x5d1b25;return _0x2bd75b[_0x476751(0x1c9)](_0x550644,_0x4f2b64);},'PiZQh':function(_0xdfb49a){const _0x31622c=_0x5d1b25;return _0x2bd75b[_0x31622c(0x17f)](_0xdfb49a);},'hvIDb':function(_0xde3364,_0x5cba63){const _0x408142=_0x5d1b25;return _0x2bd75b[_0x408142(0x1c8)](_0xde3364,_0x5cba63);},'VmqEe':function(_0x5257f0,_0x6b1774){const _0x508213=_0x5d1b25;return _0x2bd75b[_0x508213(0x1b1)](_0x5257f0,_0x6b1774);},'tOdZy':function(_0x1a55fb){const _0x227f7c=_0x5d1b25;return _0x2bd75b[_0x227f7c(0x1ab)](_0x1a55fb);},'IhMPm':function(_0x21d3e2,_0x1e1c64){return _0x2bd75b['CTfeB'](_0x21d3e2,_0x1e1c64);},'dOCIz':function(_0x1bc33b,_0x21d830){const _0x43245b=_0x5d1b25;return _0x2bd75b[_0x43245b(0x1d3)](_0x1bc33b,_0x21d830);},'VZjOK':function(_0x4e985b){const _0x54ca61=_0x5d1b25;return _0x2bd75b[_0x54ca61(0x1d7)](_0x4e985b);}};if(_0x4ccc38&&_0x4ccc38['hubRegion']){const _0x5f59f8=constants[_0x5d1b25(0x1c3)][_0x4ccc38['hubRegion']];if(_0x5f59f8)return constants['hubUrl']=_0x5f59f8,logger[_0x5d1b25(0x186)](_0x5d1b25(0x178)+_0x5f59f8),globals[_0x5d1b25(0x1b9)](_0x2bd75b[_0x5d1b25(0x190)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x5f59f8[_0x5d1b25(0x173)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x5d1b25(0x170)]()}),_0x2bd75b[_0x5d1b25(0x172)](_0x12b15d);logger[_0x5d1b25(0x186)](_0x5d1b25(0x1da)+_0x4ccc38['hubRegion']+_0x5d1b25(0x1a6));}Promise[_0x5d1b25(0x16f)](this[_0x5d1b25(0x1a3)](_0x4ccc38))[_0x5d1b25(0x1ca)](_0x3a12e6=>{const _0x4f9b6b=_0x5d1b25,_0x1f9ac4={'dxZRo':function(_0x46e1ba,_0x3a0641){const _0x54e741=a158_0x455b;return _0x25cc87[_0x54e741(0x1a7)](_0x46e1ba,_0x3a0641);},'qWjSc':function(_0x56a928,_0x108440){const _0x5db9ae=a158_0x455b;return _0x25cc87[_0x5db9ae(0x1af)](_0x56a928,_0x108440);},'CIqpE':_0x25cc87[_0x4f9b6b(0x175)],'JDkSu':function(_0x5e7b4b){const _0x5932cd=_0x4f9b6b;return _0x25cc87[_0x5932cd(0x179)](_0x5e7b4b);}};logger[_0x4f9b6b(0x186)](_0x4f9b6b(0x197)+util[_0x4f9b6b(0x187)]('%j',_0x3a12e6));if(_0x25cc87[_0x4f9b6b(0x1b8)](_0x3a12e6,null)||_0x25cc87[_0x4f9b6b(0x199)](_0x3a12e6[_0x4f9b6b(0x1cb)],0x0))return _0x25cc87[_0x4f9b6b(0x1c7)](_0x12b15d);const _0x196ba2=_0x3a12e6['map'](_0x30190f=>{const _0x95fd1e=_0x4f9b6b,_0x1c6e5d={'KkTJJ':function(_0x30313a,_0x54b365){return _0x1f9ac4['dxZRo'](_0x30313a,_0x54b365);}},_0x3a81a4=_0x1f9ac4[_0x95fd1e(0x1be)](_0x1f9ac4[_0x95fd1e(0x1cd)],_0x30190f);return this[_0x95fd1e(0x17c)](_0x4ccc38,_0x3a81a4)[_0x95fd1e(0x1ca)](_0x5555bf=>{const _0x1aa27a=_0x95fd1e;if(_0x5555bf&&_0x5555bf[_0x1aa27a(0x1d9)]&&_0x1c6e5d[_0x1aa27a(0x182)](_0x5555bf[_0x1aa27a(0x1bc)],undefined)){const _0x5568a1={};return _0x5568a1[_0x1aa27a(0x1d9)]=_0x5555bf['hubUrl'],_0x5568a1[_0x1aa27a(0x1bc)]=_0x5555bf[_0x1aa27a(0x1bc)],_0x5568a1['ok']=!![],_0x5568a1;}const _0xa74d9f={};return _0xa74d9f['hubUrl']=_0x3a81a4,_0xa74d9f['latency']=null,_0xa74d9f['ok']=![],_0xa74d9f;})[_0x95fd1e(0x1a8)](()=>({'hubUrl':_0x3a81a4,'latency':null,'ok':![]}));});Promise[_0x4f9b6b(0x1dd)](_0x196ba2['map'](_0x4220b6=>_0x4220b6[_0x4f9b6b(0x1ca)](_0x33f21a=>_0x33f21a['ok']?_0x33f21a:null)))[_0x4f9b6b(0x1ca)](_0x170a93=>{if(_0x170a93)return _0x170a93;return Promise['all'](_0x196ba2)['then'](()=>null);})[_0x4f9b6b(0x1ca)](_0x16c4f1=>{const _0x16d30f=_0x4f9b6b,_0x279601={'BjPxs':_0x25cc87[_0x16d30f(0x1d6)],'POERr':function(_0x22e1a9,_0x12a7b3){const _0x5c6cd6=_0x16d30f;return _0x25cc87[_0x5c6cd6(0x177)](_0x22e1a9,_0x12a7b3);},'uXuDX':_0x25cc87[_0x16d30f(0x1a4)]};if(!_0x16c4f1){logger[_0x16d30f(0x186)](_0x25cc87[_0x16d30f(0x1c5)]);const _0x1327df=_0x25cc87[_0x16d30f(0x196)](_0x25cc87[_0x16d30f(0x175)],_0x3a12e6[0x0]);return globals[_0x16d30f(0x1b9)](_0x25cc87[_0x16d30f(0x1d6)],{'nearestHubs':_0x3a12e6[_0x16d30f(0x1b6)](_0x2e9b43=>_0x16d30f(0x1ac)+_0x2e9b43),'hubLatencies':{},'selectedHub':_0x1327df,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x16d30f(0x170)]()}),constants[_0x16d30f(0x1d9)]=_0x25cc87[_0x16d30f(0x189)](_0x1327df,_0x25cc87[_0x16d30f(0x193)]),logger['debug'](_0x16d30f(0x1c6)+_0x1327df),_0x25cc87[_0x16d30f(0x191)](_0x12b15d);}const _0x27e834={[_0x16c4f1[_0x16d30f(0x1d9)]]:_0x16c4f1['latency']},_0xe6736e={'nearestHubs':_0x3a12e6[_0x16d30f(0x1b6)](_0x2bba5a=>_0x16d30f(0x1ac)+_0x2bba5a),'hubLatencies':_0x27e834,'selectedHub':_0x16c4f1[_0x16d30f(0x1d9)],'selectedHubLatency':_0x16c4f1[_0x16d30f(0x1bc)],'timestamp':Date[_0x16d30f(0x170)]()};globals['setGlobal'](_0x25cc87[_0x16d30f(0x1d6)],_0xe6736e),constants[_0x16d30f(0x1d9)]=_0x25cc87[_0x16d30f(0x1a2)](_0x16c4f1[_0x16d30f(0x1d9)],_0x25cc87[_0x16d30f(0x193)]),logger[_0x16d30f(0x186)](_0x16d30f(0x18a)+_0x16c4f1[_0x16d30f(0x1d9)]),_0x25cc87[_0x16d30f(0x192)](_0x12b15d),Promise[_0x16d30f(0x1ad)](_0x196ba2)[_0x16d30f(0x1ca)](_0x284b68=>{const _0x379862=_0x16d30f;try{const _0xf184bf=globals['getGlobal'](_0x279601['BjPxs']);if(!_0xf184bf||_0xf184bf[_0x379862(0x19c)])return;const _0x584567={};for(const _0xee6c7b of _0x284b68){_0x279601[_0x379862(0x1c2)](_0xee6c7b[_0x379862(0x1bb)],_0x279601[_0x379862(0x195)])&&_0xee6c7b[_0x379862(0x1b0)]&&_0xee6c7b[_0x379862(0x1b0)]['ok']&&(_0x584567[_0xee6c7b['value']['hubUrl']]=_0xee6c7b['value'][_0x379862(0x1bc)]);}_0xf184bf['hubLatencies']=_0x584567;}catch(_0x5c7ad3){logger[_0x379862(0x186)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x5c7ad3);}})['catch'](_0xf535d7=>{const _0x1a1a59=_0x16d30f;logger[_0x1a1a59(0x186)](_0x1a1a59(0x1c4)+_0xf535d7);});})[_0x4f9b6b(0x1a8)](_0x1431e6=>{const _0x32778c=_0x4f9b6b;logger[_0x32778c(0x186)]('ERROR\x20in\x20hub\x20selection:\x20'+_0x1431e6),_0x1f9ac4[_0x32778c(0x1cf)](_0x12b15d);});})['catch'](_0x1afadc=>{const _0x2863d3=_0x5d1b25;logger['debug'](_0x2863d3(0x181)+_0x1afadc),_0x2bd75b[_0x2863d3(0x1d7)](_0x12b15d);});});},exports['findLatency']=async(_0x437ee2,_0xc052f1)=>{const _0x5a3239=a158_0x3657a8,_0x2546ba={};_0x2546ba[_0x5a3239(0x174)]='GET',_0x2546ba[_0x5a3239(0x17d)]=_0x5a3239(0x1a9),_0x2546ba[_0x5a3239(0x1ba)]=function(_0x59d8ba,_0xa4e4b){return _0x59d8ba-_0xa4e4b;};const _0x1cbb24=_0x2546ba;try{const _0x5de22a=new Date();await helper['nodeRequest'](_0x1cbb24[_0x5a3239(0x174)],_0x1cbb24[_0x5a3239(0x17d)],{},_0x437ee2,_0xc052f1,0x1388);const _0x234ebd=_0x1cbb24[_0x5a3239(0x1ba)](new Date(),_0x5de22a);logger['debug'](_0x5a3239(0x16c)+_0xc052f1+'\x20is:\x20'+_0x234ebd+'ms');const _0x246daa={};return _0x246daa[_0x5a3239(0x1d9)]=_0xc052f1,_0x246daa[_0x5a3239(0x1bc)]=_0x234ebd,_0x246daa;}catch(_0x368ba2){return logger[_0x5a3239(0x186)](_0x5a3239(0x19f)+_0xc052f1+'\x20HUB\x20-\x20'+_0x368ba2),{};}},exports[a158_0x3657a8(0x1a3)]=async _0x51ce33=>{const _0x302c1a=a158_0x3657a8,_0x393ecd={'PDGzM':function(_0x8d2f09,_0x3592c3){return _0x8d2f09(_0x3592c3);},'bhiDO':_0x302c1a(0x1bf),'IkxQA':_0x302c1a(0x1aa),'vPUki':_0x302c1a(0x1b2),'ZZadD':_0x302c1a(0x1dc)};try{const _0x1ba329=_0x393ecd[_0x302c1a(0x183)](require,_0x393ecd[_0x302c1a(0x19b)])['hubUrl'][_0x302c1a(0x173)](_0x393ecd[_0x302c1a(0x1c0)],''),_0x3d6cac=await helper[_0x302c1a(0x18f)](_0x393ecd[_0x302c1a(0x19d)],_0x393ecd[_0x302c1a(0x1ae)],{},_0x51ce33,_0x1ba329,0x1388),_0x57ec2d=_0x3d6cac[_0x302c1a(0x1d0)];return logger[_0x302c1a(0x186)]('Response:\x20'+util['format']('%j',_0x57ec2d)),_0x57ec2d['hubs'];}catch(_0x2c2d22){logger['debug'](_0x302c1a(0x18c)+_0x2c2d22);}return null;};
|
|
1
|
+
const a158_0x4cac98=a158_0x1c79;function a158_0x1c79(_0x277f3c,_0x3c0094){const _0x57dbc2=a158_0x57db();return a158_0x1c79=function(_0x1c79b9,_0x52311e){_0x1c79b9=_0x1c79b9-0x138;let _0x5b161b=_0x57dbc2[_0x1c79b9];return _0x5b161b;},a158_0x1c79(_0x277f3c,_0x3c0094);}function a158_0x57db(){const _0x5869fd=['check','length','fulfilled','hubUrl','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','https://','8439050vOFGiu','getGlobal','457776VGXAgq','JUwGb','ssgwE','YLKVu','qSoLX','3QDgQHq','Response:\x20','HUB_URL_MAP','1363032yrttbj','CVEvR','StmSc','pBNzi','hostname','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','setGlobal','HvXEY','value','pnusA','SDewa','GkIwV','jjbWL','path','1249235YLEBio','xgfVw','status','vsYEi','hubs','11022rqZGqL','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','util','nAKeL','HXQMt','./bin/utils/constants','pICzB','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','newHubUrl','nextHubs','url','vILaQ','SxrfO','gBCGx','HUB\x20URL\x20SET\x20TO\x20-\x20','Jikvx','LCfvb','catch','buxWK','debug','NEAREST\x20HUBS\x20LIST:\x20','WDjWM','345MinhZU','winstonLogger','map','pathname','pPiAL','SQMCr','gZmdb','data','HCOFH','nodeRequest','skipped','latency','dSOcw','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','hubRegion','now','1354hWPAvs','CPHZe','/wd/hub','replace','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','hash','lYapl','\x20is:\x20','allocateHub','all','DpZRw','getRequestOptions','dhRIJ','ERROR\x20in\x20hub\x20selection:\x20','./helpers/logger','wYgGb','763GRnJjW','then','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','420148exTpeE','SHAro','findLatency','format','GET','race','_hubAllocationData'];a158_0x57db=function(){return _0x5869fd;};return a158_0x57db();}(function(_0xd9e358,_0x20dc7c){const _0x4a15b1=a158_0x1c79,_0x548f9d=_0xd9e358();while(!![]){try{const _0x4b5b1d=parseInt(_0x4a15b1(0x139))/0x1*(-parseInt(_0x4a15b1(0x149))/0x2)+-parseInt(_0x4a15b1(0x170))/0x3*(-parseInt(_0x4a15b1(0x15c))/0x4)+-parseInt(_0x4a15b1(0x181))/0x5+-parseInt(_0x4a15b1(0x186))/0x6*(parseInt(_0x4a15b1(0x159))/0x7)+parseInt(_0x4a15b1(0x16b))/0x8+-parseInt(_0x4a15b1(0x173))/0x9+parseInt(_0x4a15b1(0x169))/0xa;if(_0x4b5b1d===_0x20dc7c)break;else _0x548f9d['push'](_0x548f9d['shift']());}catch(_0x44bf4e){_0x548f9d['push'](_0x548f9d['shift']());}}}(a158_0x57db,0x29c3f));const url=require(a158_0x4cac98(0x190)),util=require(a158_0x4cac98(0x188)),helper=require('./helpers/helper'),logger=require(a158_0x4cac98(0x157))[a158_0x4cac98(0x13a)],constants=require(a158_0x4cac98(0x18b)),globals=require('./helpers/globals');global[a158_0x4cac98(0x18e)]='',exports[a158_0x4cac98(0x154)]=_0x4f004a=>{const _0x188738=a158_0x4cac98,_0x51e164={};_0x51e164[_0x188738(0x16c)]=function(_0x5d2be7,_0x2f0ae8){return _0x5d2be7+_0x2f0ae8;},_0x51e164['pBNzi']='Invalid\x20new\x20HUB\x20URL:\x20';const _0x5594cd=_0x51e164,_0x39b336=url['parse'](_0x4f004a);if(!_0x39b336[_0x188738(0x177)])throw new Error(_0x5594cd[_0x188738(0x16c)](_0x5594cd[_0x188738(0x176)],_0x4f004a));return _0x39b336['search']=null,_0x39b336[_0x188738(0x14e)]=null,_0x39b336[_0x188738(0x180)]=_0x39b336[_0x188738(0x13c)],_0x39b336;},exports['updateHubUrl']=_0x2a0206=>{global['newHubUrl']=_0x2a0206;},exports[a158_0x4cac98(0x151)]=_0x27c80c=>{const _0x5cb11e=a158_0x4cac98,_0x4fe89f={'pPiAL':function(_0x4f04ec,_0x181e09){return _0x4f04ec!==_0x181e09;},'SQMCr':function(_0x2f8f29,_0x6caad1){return _0x2f8f29==_0x6caad1;},'HCOFH':function(_0x1fb067,_0x530384){return _0x1fb067===_0x530384;},'vsYEi':function(_0x35b967){return _0x35b967();},'EIYuX':function(_0x59133b,_0x3f28a0){return _0x59133b+_0x3f28a0;},'SHAro':'https://','dhRIJ':_0x5cb11e(0x162),'nAKeL':function(_0x3fceed,_0x2708d6){return _0x3fceed===_0x2708d6;},'GKiuP':_0x5cb11e(0x165),'WDjWM':_0x5cb11e(0x178),'CVEvR':function(_0x41d0c1,_0x44e41a){return _0x41d0c1+_0x44e41a;},'wESUn':_0x5cb11e(0x14b),'GkIwV':function(_0x430812){return _0x430812();},'SDewa':function(_0x255410,_0x19bd81){return _0x255410+_0x19bd81;},'gZmdb':function(_0x3e5b2d){return _0x3e5b2d();}};return new Promise(_0x31cacd=>{const _0x5e910a=_0x5cb11e,_0x1a8801={'vSThx':function(_0x1117b7,_0x4ea300){return _0x4fe89f['EIYuX'](_0x1117b7,_0x4ea300);},'dSOcw':_0x4fe89f[_0x5e910a(0x15d)],'xgfVw':_0x4fe89f['dhRIJ'],'awhPj':function(_0x438b6b,_0x13c37b){const _0x2a6763=_0x5e910a;return _0x4fe89f[_0x2a6763(0x189)](_0x438b6b,_0x13c37b);},'YLKVu':_0x4fe89f['GKiuP'],'qSoLX':_0x4fe89f[_0x5e910a(0x138)],'gBCGx':function(_0x5759ad,_0xeddc87){const _0x333e40=_0x5e910a;return _0x4fe89f[_0x333e40(0x174)](_0x5759ad,_0xeddc87);},'Jikvx':function(_0x31355e,_0x10c8fd){const _0x470559=_0x5e910a;return _0x4fe89f[_0x470559(0x174)](_0x31355e,_0x10c8fd);},'StmSc':_0x4fe89f['wESUn'],'ssgwE':function(_0xbc0a6b){const _0x29802d=_0x5e910a;return _0x4fe89f[_0x29802d(0x17e)](_0xbc0a6b);},'HvXEY':function(_0x1a00ab,_0x53dd21){const _0x33832a=_0x5e910a;return _0x4fe89f[_0x33832a(0x17d)](_0x1a00ab,_0x53dd21);}};if(_0x27c80c&&_0x27c80c[_0x5e910a(0x147)]){const _0x187157=constants[_0x5e910a(0x172)][_0x27c80c[_0x5e910a(0x147)]];if(_0x187157)return constants[_0x5e910a(0x166)]=_0x187157,logger['debug'](_0x5e910a(0x14d)+_0x187157),globals[_0x5e910a(0x179)](_0x4fe89f[_0x5e910a(0x155)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x187157[_0x5e910a(0x14c)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x5e910a(0x148)]()}),_0x4fe89f[_0x5e910a(0x13f)](_0x31cacd);logger[_0x5e910a(0x199)]('hubRegion\x20'+_0x27c80c[_0x5e910a(0x147)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise['resolve'](this[_0x5e910a(0x18f)](_0x27c80c))['then'](_0x48bac8=>{const _0xfe858f=_0x5e910a,_0xcc6223={'lYapl':function(_0x48d330,_0x3c13c8){const _0x445a0b=a158_0x1c79;return _0x4fe89f[_0x445a0b(0x13d)](_0x48d330,_0x3c13c8);}};logger[_0xfe858f(0x199)](_0xfe858f(0x19a)+util['format']('%j',_0x48bac8));if(_0x4fe89f[_0xfe858f(0x13e)](_0x48bac8,null)||_0x4fe89f[_0xfe858f(0x141)](_0x48bac8[_0xfe858f(0x164)],0x0))return _0x4fe89f[_0xfe858f(0x184)](_0x31cacd);const _0x37b3f4=_0x48bac8['map'](_0x25c175=>{const _0x16f16e=_0xfe858f,_0x447a4e=_0x1a8801['vSThx'](_0x1a8801['dSOcw'],_0x25c175);return this[_0x16f16e(0x15e)](_0x27c80c,_0x447a4e)[_0x16f16e(0x15a)](_0x183361=>{const _0x2593cc=_0x16f16e;if(_0x183361&&_0x183361[_0x2593cc(0x166)]&&_0xcc6223[_0x2593cc(0x14f)](_0x183361[_0x2593cc(0x144)],undefined)){const _0x2bcad5={};return _0x2bcad5[_0x2593cc(0x166)]=_0x183361['hubUrl'],_0x2bcad5[_0x2593cc(0x144)]=_0x183361['latency'],_0x2bcad5['ok']=!![],_0x2bcad5;}const _0x2fb6d5={};return _0x2fb6d5[_0x2593cc(0x166)]=_0x447a4e,_0x2fb6d5['latency']=null,_0x2fb6d5['ok']=![],_0x2fb6d5;})['catch'](()=>({'hubUrl':_0x447a4e,'latency':null,'ok':![]}));});Promise[_0xfe858f(0x161)](_0x37b3f4['map'](_0x51446f=>_0x51446f[_0xfe858f(0x15a)](_0x5cf433=>_0x5cf433['ok']?_0x5cf433:null)))[_0xfe858f(0x15a)](_0x41b0ec=>{const _0x2546c9=_0xfe858f;if(_0x41b0ec)return _0x41b0ec;return Promise[_0x2546c9(0x152)](_0x37b3f4)[_0x2546c9(0x15a)](()=>null);})[_0xfe858f(0x15a)](_0xcb8189=>{const _0x4e531f=_0xfe858f,_0x1e5aad={'SxrfO':_0x1a8801[_0x4e531f(0x182)],'jjbWL':function(_0x5e7d71,_0x1255a0){return _0x1a8801['awhPj'](_0x5e7d71,_0x1255a0);},'LCfvb':_0x1a8801[_0x4e531f(0x16e)]};if(!_0xcb8189){logger[_0x4e531f(0x199)](_0x1a8801[_0x4e531f(0x16f)]);const _0x5bf183=_0x1a8801[_0x4e531f(0x193)](_0x1a8801[_0x4e531f(0x145)],_0x48bac8[0x0]);return globals['setGlobal'](_0x1a8801[_0x4e531f(0x182)],{'nearestHubs':_0x48bac8[_0x4e531f(0x13b)](_0x56338d=>'https://'+_0x56338d),'hubLatencies':{},'selectedHub':_0x5bf183,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x4e531f(0x148)]()}),constants['hubUrl']=_0x1a8801[_0x4e531f(0x195)](_0x5bf183,_0x1a8801[_0x4e531f(0x175)]),logger[_0x4e531f(0x199)](_0x4e531f(0x146)+_0x5bf183),_0x1a8801['ssgwE'](_0x31cacd);}const _0x1b6a89={[_0xcb8189['hubUrl']]:_0xcb8189[_0x4e531f(0x144)]},_0x4f021f={'nearestHubs':_0x48bac8[_0x4e531f(0x13b)](_0x152a44=>_0x4e531f(0x168)+_0x152a44),'hubLatencies':_0x1b6a89,'selectedHub':_0xcb8189[_0x4e531f(0x166)],'selectedHubLatency':_0xcb8189[_0x4e531f(0x144)],'timestamp':Date[_0x4e531f(0x148)]()};globals['setGlobal'](_0x1a8801[_0x4e531f(0x182)],_0x4f021f),constants[_0x4e531f(0x166)]=_0x1a8801[_0x4e531f(0x17a)](_0xcb8189['hubUrl'],_0x1a8801[_0x4e531f(0x175)]),logger[_0x4e531f(0x199)](_0x4e531f(0x194)+_0xcb8189[_0x4e531f(0x166)]),_0x1a8801['ssgwE'](_0x31cacd),Promise['allSettled'](_0x37b3f4)[_0x4e531f(0x15a)](_0x1e89f6=>{const _0x5e3b5b=_0x4e531f;try{const _0x577178=globals[_0x5e3b5b(0x16a)](_0x1e5aad[_0x5e3b5b(0x192)]);if(!_0x577178||_0x577178[_0x5e3b5b(0x143)])return;const _0x55808f={};for(const _0x47b468 of _0x1e89f6){_0x1e5aad[_0x5e3b5b(0x17f)](_0x47b468[_0x5e3b5b(0x183)],_0x1e5aad[_0x5e3b5b(0x196)])&&_0x47b468[_0x5e3b5b(0x17b)]&&_0x47b468[_0x5e3b5b(0x17b)]['ok']&&(_0x55808f[_0x47b468[_0x5e3b5b(0x17b)][_0x5e3b5b(0x166)]]=_0x47b468[_0x5e3b5b(0x17b)][_0x5e3b5b(0x144)]);}_0x577178['hubLatencies']=_0x55808f;}catch(_0x5a0508){logger[_0x5e3b5b(0x199)](_0x5e3b5b(0x187)+_0x5a0508);}})[_0x4e531f(0x197)](_0x6fa8db=>{const _0x184cfe=_0x4e531f;logger[_0x184cfe(0x199)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x6fa8db);});})[_0xfe858f(0x197)](_0x17d456=>{const _0x49a86c=_0xfe858f;logger[_0x49a86c(0x199)](_0x49a86c(0x156)+_0x17d456),_0x1a8801[_0x49a86c(0x16d)](_0x31cacd);});})['catch'](_0x3ade81=>{const _0x1ae4ba=_0x5e910a;logger[_0x1ae4ba(0x199)](_0x1ae4ba(0x18d)+_0x3ade81),_0x1a8801[_0x1ae4ba(0x16d)](_0x31cacd);});});},exports['findLatency']=async(_0x1de663,_0x3f402b)=>{const _0x23e5f1=a158_0x4cac98,_0x26b1c9={};_0x26b1c9[_0x23e5f1(0x18c)]=_0x23e5f1(0x160),_0x26b1c9['buxWK']=_0x23e5f1(0x163),_0x26b1c9['DpZRw']=function(_0x410a35,_0x59b1d3){return _0x410a35-_0x59b1d3;};const _0x3bc44d=_0x26b1c9;try{const _0x4101ff=new Date();await helper[_0x23e5f1(0x142)](_0x3bc44d[_0x23e5f1(0x18c)],_0x3bc44d[_0x23e5f1(0x198)],{},_0x1de663,_0x3f402b,0x1388);const _0xaa88c4=_0x3bc44d[_0x23e5f1(0x153)](new Date(),_0x4101ff);logger[_0x23e5f1(0x199)]('Execution\x20time\x20for\x20'+_0x3f402b+_0x23e5f1(0x150)+_0xaa88c4+'ms');const _0x3d1ce2={};return _0x3d1ce2['hubUrl']=_0x3f402b,_0x3d1ce2[_0x23e5f1(0x144)]=_0xaa88c4,_0x3d1ce2;}catch(_0x25fc56){return logger[_0x23e5f1(0x199)](_0x23e5f1(0x167)+_0x3f402b+'\x20HUB\x20-\x20'+_0x25fc56),{};}},exports[a158_0x4cac98(0x18f)]=async _0x6bfc42=>{const _0x1eae2e=a158_0x4cac98,_0x345451={'wYgGb':function(_0xf7e0e2,_0x859b2c){return _0xf7e0e2(_0x859b2c);},'vILaQ':'./bin/utils/constants','HXQMt':_0x1eae2e(0x14b),'pnusA':_0x1eae2e(0x160),'CPHZe':'next_hubs'};try{const _0x359e7f=_0x345451[_0x1eae2e(0x158)](require,_0x345451[_0x1eae2e(0x191)])[_0x1eae2e(0x166)][_0x1eae2e(0x14c)](_0x345451[_0x1eae2e(0x18a)],''),_0x3f653b=await helper[_0x1eae2e(0x142)](_0x345451[_0x1eae2e(0x17c)],_0x345451[_0x1eae2e(0x14a)],{},_0x6bfc42,_0x359e7f,0x1388),_0x3216e3=_0x3f653b[_0x1eae2e(0x140)];return logger[_0x1eae2e(0x199)](_0x1eae2e(0x171)+util[_0x1eae2e(0x15f)]('%j',_0x3216e3)),_0x3216e3[_0x1eae2e(0x185)];}catch(_0x201234){logger[_0x1eae2e(0x199)](_0x1eae2e(0x15b)+_0x201234);}return null;};
|