browserstack-node-sdk 1.68.1 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +172 -0
- package/generated/sdk-messages_pb.js +1334 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +69 -0
- package/package.json +5 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -0
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -0
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -0
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a175_0x52ba97=a175_0x44d1;(function(_0x5daec6,_0x47e322){const _0x23831e=a175_0x44d1,_0x457225=_0x5daec6();while(!![]){try{const _0x34722f=-parseInt(_0x23831e(0x10c))/0x1*(parseInt(_0x23831e(0xdf))/0x2)+-parseInt(_0x23831e(0xff))/0x3*(parseInt(_0x23831e(0x132))/0x4)+parseInt(_0x23831e(0x18d))/0x5+-parseInt(_0x23831e(0x11d))/0x6+parseInt(_0x23831e(0x142))/0x7+-parseInt(_0x23831e(0xd5))/0x8*(parseInt(_0x23831e(0x141))/0x9)+parseInt(_0x23831e(0x16c))/0xa;if(_0x34722f===_0x47e322)break;else _0x457225['push'](_0x457225['shift']());}catch(_0x5b3a7f){_0x457225['push'](_0x457225['shift']());}}}(a175_0xc79c,0x3c2ee));function a175_0x44d1(_0x44c643,_0x270232){const _0xc79c62=a175_0xc79c();return a175_0x44d1=function(_0x44d1be,_0x365654){_0x44d1be=_0x44d1be-0xd3;let _0x551b2a=_0xc79c62[_0x44d1be];return _0x551b2a;},a175_0x44d1(_0x44c643,_0x270232);}const bsSetupHelper=require(a175_0x52ba97(0x119)),LoadTestModule=require(a175_0x52ba97(0x18c)),{isTestObservabilitySession,getFrameworkVersion}=require(a175_0x52ba97(0xf4)),accessibilityHelper=require(a175_0x52ba97(0xea)),logger=require(a175_0x52ba97(0x10a))[a175_0x52ba97(0x11c)],{nestedKeyValue}=require('../helper.js'),scripts=require(a175_0x52ba97(0x13a)),globals=require('../globals.js'),testHubConstants=require('./constants.js'),PWTestDetails=require(a175_0x52ba97(0x17d)),JestTestDetails=require(a175_0x52ba97(0x16b)),{FRAMEWORKS}=require(a175_0x52ba97(0x104)),{isTurboScaleSession}=require(a175_0x52ba97(0xe2)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a175_0x52ba97(0x1b0));let testData={};exports['getProductMap']=_0x20fb95=>{const _0x20062d=a175_0x52ba97,_0x5b9082={'UecMx':function(_0x307c5b){return _0x307c5b();},'PpfUm':function(_0x26b28b,_0x27aa6c){return _0x26b28b===_0x27aa6c;},'zjfiW':_0x20062d(0xd7)};let _0x57d7d2=![],_0x976159=![];if(bsSetupHelper[_0x20062d(0x19f)]()&&bsSetupHelper[_0x20062d(0x1aa)](_0x20fb95))_0x976159=!![];else bsSetupHelper[_0x20062d(0x19f)]()&&(_0x57d7d2=!![]);return Object['assign']({'observability':_0x5b9082[_0x20062d(0xe8)](isTestObservabilitySession),'accessibility':exports[_0x20062d(0x195)](_0x20fb95),'percy':_0x20fb95['percy']||![],'sr_automation':_0x5b9082['PpfUm'](process[_0x20062d(0x116)][_0x20062d(0xee)],_0x5b9082[_0x20062d(0x122)])||_0x20fb95[_0x20062d(0xf0)]||![],'automate':_0x57d7d2,'app_automate':_0x976159,'turboscale':bsSetupHelper[_0x20062d(0x158)](_0x20fb95),'lts':LoadTestModule[_0x20062d(0x179)](_0x20fb95)},bsSetupHelper[_0x20062d(0x11a)]());},exports[a175_0x52ba97(0x162)]=(_0x207f74,_0xaba58f)=>{const _0xa3f998=a175_0x52ba97,_0x44b845={'EEkSO':function(_0x51f254,_0x5ea99c){return _0x51f254(_0x5ea99c);},'DWMka':'javascript'},_0x486c69={'frameworkName':_0xaba58f,'frameworkVersion':_0x44b845['EEkSO'](getFrameworkVersion,_0xaba58f),'sdkVersion':bsSetupHelper[_0xa3f998(0x121)](),'language':_0x44b845[_0xa3f998(0x11b)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x207f74,_0xaba58f)};return process[_0xa3f998(0x116)]['FRAMEWORK_DETAILS']=JSON[_0xa3f998(0x12f)](_0x486c69),_0x486c69;},exports[a175_0x52ba97(0x112)]=_0x1304bb=>{const _0x3b5ba9=a175_0x52ba97,_0x3be5de={};_0x3be5de[_0x3b5ba9(0x156)]=_0x3b5ba9(0x173),_0x3be5de[_0x3b5ba9(0x14d)]=_0x3b5ba9(0xd7);const _0x31f1b1=_0x3be5de;process[_0x3b5ba9(0x116)][_0x3b5ba9(0x10d)]=_0x31f1b1[_0x3b5ba9(0x156)],bsSetupHelper[_0x3b5ba9(0x1ae)](_0x1304bb[_0x3b5ba9(0x188)][_0x3b5ba9(0x176)])&&(!_0x1304bb['percy']||!_0x1304bb[_0x3b5ba9(0x176)][_0x3b5ba9(0x15a)]())&&(process['env'][_0x3b5ba9(0x10d)]=_0x31f1b1[_0x3b5ba9(0x14d)]);},exports['isPercyBuild']=()=>{const _0xff4bd=a175_0x52ba97;return bsSetupHelper[_0xff4bd(0x1ae)](process[_0xff4bd(0x116)]['BROWSERSTACK_PERCY']);},exports[a175_0x52ba97(0x195)]=(_0x5d6a42={})=>{const _0x56400c=a175_0x52ba97,_0x4ad48d={};_0x4ad48d[_0x56400c(0x15e)]=function(_0x336c8e,_0x445bdd){return _0x336c8e!==_0x445bdd;},_0x4ad48d[_0x56400c(0x15f)]=function(_0x5d330e,_0x1edc99){return _0x5d330e===_0x1edc99;},_0x4ad48d[_0x56400c(0xde)]=_0x56400c(0xd7),_0x4ad48d[_0x56400c(0x1ad)]=function(_0x28e3fc,_0x319a5e){return _0x28e3fc>_0x319a5e;};const _0x1a2845=_0x4ad48d;if(_0x1a2845['glFxJ'](process[_0x56400c(0x116)][_0x56400c(0x124)],undefined))return bsSetupHelper[_0x56400c(0x1ae)](process[_0x56400c(0x116)][_0x56400c(0x124)]);let _0x343a7b=_0x1a2845[_0x56400c(0x15f)](process[_0x56400c(0x116)][_0x56400c(0xf6)],_0x1a2845[_0x56400c(0xde)]);return _0x1a2845[_0x56400c(0x1ad)](Object[_0x56400c(0x14b)](_0x5d6a42)[_0x56400c(0x140)],0x0)&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x56400c(0x182)](_0x5d6a42)),_0x343a7b=_0x343a7b||_0x1a2845['jlKSx'](process[_0x56400c(0x116)][_0x56400c(0x186)],_0x1a2845[_0x56400c(0xde)]),_0x343a7b;},exports[a175_0x52ba97(0xe4)]=(_0x221346,_0x81cddb)=>{const _0x2a7bd4=a175_0x52ba97,_0x3c7387={'QZBEA':function(_0x2abd71){return _0x2abd71();},'KmWig':_0x2a7bd4(0x171),'VRjuJ':_0x2a7bd4(0xd7),'TAzOc':function(_0x4411d2,_0x52f66e,_0x6243af){return _0x4411d2(_0x52f66e,_0x6243af);},'SCpZO':_0x2a7bd4(0x161),'yizbC':_0x2a7bd4(0x189)};if(!_0x221346||!_0x221346[_0x2a7bd4(0x161)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x221346['observability'][_0x2a7bd4(0x146)])return exports[_0x2a7bd4(0xf8)](_0x221346[_0x2a7bd4(0x161)]),[null,null,null];if(_0x3c7387[_0x2a7bd4(0x198)](isTestObservabilitySession)){const _0x4da771=_0x3c7387[_0x2a7bd4(0x180)][_0x2a7bd4(0x16e)]('|');let _0x3f3b23=0x0;while(!![]){switch(_0x4da771[_0x3f3b23++]){case'0':process[_0x2a7bd4(0x116)][_0x2a7bd4(0xfd)]=_0x3c7387[_0x2a7bd4(0x103)];continue;case'1':return[_0x221346[_0x2a7bd4(0x126)],_0x221346['build_hashed_id'],process[_0x2a7bd4(0x116)][_0x2a7bd4(0x15b)]];case'2':logger['debug']('['+constants[_0x2a7bd4(0x1b1)]+_0x2a7bd4(0x151)+_0x221346[_0x2a7bd4(0xf7)]);continue;case'3':_0x3c7387[_0x2a7bd4(0x147)](nestedKeyValue,_0x221346,[_0x3c7387[_0x2a7bd4(0x129)],_0x3c7387[_0x2a7bd4(0x12d)]])&&(process['env'][_0x2a7bd4(0x15b)]=_0x221346[_0x2a7bd4(0x161)]['options'][_0x2a7bd4(0x131)][_0x2a7bd4(0xd4)]());continue;case'4':_0x221346[_0x2a7bd4(0xf7)]&&(process[_0x2a7bd4(0x116)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x221346[_0x2a7bd4(0xf7)]);continue;case'5':if(_0x221346['jwt']){process[_0x2a7bd4(0x116)]['BS_TESTOPS_JWT']=_0x221346[_0x2a7bd4(0x126)];const _0x47c2d8={};_0x47c2d8[_0x2a7bd4(0x1ab)]=_0x81cddb[_0x2a7bd4(0x1ab)],_0x47c2d8[_0x2a7bd4(0x102)]=_0x81cddb['password'],process[_0x2a7bd4(0x116)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON['stringify'](_0x47c2d8);}continue;}break;}}return[null,null,null];},exports[a175_0x52ba97(0xe3)]=_0xe7443f=>{const _0x84e7ef=a175_0x52ba97,_0x416228={'JJmtl':function(_0x356b10,_0x3b7a7d,_0x5d396e){return _0x356b10(_0x3b7a7d,_0x5d396e);},'GPavw':'accessibility','lRVcj':_0x84e7ef(0x189),'SAdhR':function(_0x56b7c8,_0x482321,_0x3a6818,_0x11fa05){return _0x56b7c8(_0x482321,_0x3a6818,_0x11fa05);},'eSANw':_0x84e7ef(0x167),'BlpXd':_0x84e7ef(0x14f),'SWwVV':function(_0x25e447,_0x1f0908,_0x5b6dba,_0x36cb29){return _0x25e447(_0x1f0908,_0x5b6dba,_0x36cb29);},'NETtz':'command','eBNVV':_0x84e7ef(0xdc),'ulpff':_0x84e7ef(0x134),'osPUM':'goog:chromeOptions','SzzUc':function(_0x30752f,_0x3da080){return _0x30752f(_0x3da080);},'cykom':function(_0x1074af,_0x3dfc08){return _0x1074af===_0x3dfc08;},'vXude':_0x84e7ef(0xd7),'lXeLM':_0x84e7ef(0x10e)};if(!_0xe7443f[_0x84e7ef(0x155)])return exports[_0x84e7ef(0x109)](),[null,null];if(!_0xe7443f[_0x84e7ef(0x155)]['success'])return exports[_0x84e7ef(0x109)](_0xe7443f[_0x84e7ef(0x155)]),[null,null];if(_0x416228[_0x84e7ef(0x172)](nestedKeyValue,_0xe7443f,[_0x416228['GPavw'],_0x416228[_0x84e7ef(0x123)]])){const {accessibilityToken:_0x1f6b77,scannerVersion:_0x2926ae,scannerProcessingTimeout:_0xb5a2b1,isMobileScanningEnabledForGroup:_0x3010b8}=_0x416228[_0x84e7ef(0x16d)](jsonifyAccessibilityArray,_0xe7443f['accessibility'][_0x84e7ef(0x189)][_0x84e7ef(0x1a6)],_0x416228[_0x84e7ef(0xfc)],_0x416228[_0x84e7ef(0xd3)]),_0x36355d={'scripts':_0x416228['SWwVV'](jsonifyAccessibilityArray,_0xe7443f[_0x84e7ef(0x155)][_0x84e7ef(0x189)][_0x84e7ef(0x1a9)],_0x416228[_0x84e7ef(0xfc)],_0x416228[_0x84e7ef(0x191)])};_0x36355d[_0x416228[_0x84e7ef(0x136)]]=_0xe7443f['accessibility'][_0x84e7ef(0x189)]['commandsToWrap']['commands'];const _0x37ad27=_0x416228[_0x84e7ef(0x17c)](jsonifyAccessibilityArray,_0xe7443f[_0x84e7ef(0x155)][_0x84e7ef(0x189)][_0x84e7ef(0x1a6)],_0x416228[_0x84e7ef(0xfc)],_0x416228[_0x84e7ef(0xd3)]);_0x36355d[_0x416228[_0x84e7ef(0xe7)]]=_0x37ad27[_0x416228[_0x84e7ef(0xeb)]],scripts[_0x84e7ef(0x114)](_0x36355d),scripts[_0x84e7ef(0x17f)]();let _0x5c340a=process[_0x84e7ef(0x116)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x5c340a=!!_0x5c340a?JSON['parse'](_0x5c340a):{},_0x5c340a['scannerVersion']=_0x2926ae,process[_0x84e7ef(0x116)][_0x84e7ef(0x177)]=JSON[_0x84e7ef(0x12f)](_0x5c340a),process['env'][_0x84e7ef(0x197)]=_0x1f6b77,process[_0x84e7ef(0x116)][_0x84e7ef(0x107)]=_0x416228['SzzUc'](String,_0x416228['cykom'](_0x3010b8,!![])||_0x416228[_0x84e7ef(0x19d)](_0x3010b8,_0x416228[_0x84e7ef(0x110)])),logger['debug'](_0x84e7ef(0x106)+_0xe7443f['build_hashed_id']);const _0x38998e=accessibilityHelper[_0x84e7ef(0x1a7)](_0x1f6b77);return _0x38998e&&bsSetupHelper['isTrue'](_0x38998e['skipCDPConnectOverride'])&&(process['env'][_0x84e7ef(0x130)]=!![],logger[_0x84e7ef(0x18e)](_0x416228[_0x84e7ef(0x14a)])),[_0x1f6b77,_0xe7443f[_0x84e7ef(0xf7)],_0xb5a2b1];}return[null,null];},exports[a175_0x52ba97(0xf8)]=_0x577266=>{const _0x4310f6=a175_0x52ba97,_0x555ffc={};_0x555ffc[_0x4310f6(0x178)]='3|6|5|1|4|2|0',_0x555ffc[_0x4310f6(0x1a8)]=_0x4310f6(0xe9),_0x555ffc['cvbYi']=_0x4310f6(0x173);const _0x167c12=_0x555ffc,_0x2d3636=_0x167c12['dGnQi'][_0x4310f6(0x16e)]('|');let _0x223d1b=0x0;while(!![]){switch(_0x2d3636[_0x223d1b++]){case'0':exports[_0x4310f6(0x1af)](_0x577266,testHubConstants[_0x4310f6(0x199)]);continue;case'1':process[_0x4310f6(0x116)][_0x4310f6(0x192)]=_0x167c12[_0x4310f6(0x1a8)];continue;case'2':process['env'][_0x4310f6(0x15b)]=_0x167c12[_0x4310f6(0x1a8)];continue;case'3':process['env'][_0x4310f6(0x193)]=_0x167c12[_0x4310f6(0x1a8)];continue;case'4':process[_0x4310f6(0x116)][_0x4310f6(0x170)]=_0x167c12[_0x4310f6(0x1a8)];continue;case'5':process[_0x4310f6(0x116)]['BS_TESTOPS_BUILD_COMPLETED']=_0x167c12[_0x4310f6(0x113)];continue;case'6':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x167c12[_0x4310f6(0x1a8)];continue;}break;}},exports[a175_0x52ba97(0x109)]=_0x37e4c4=>{const _0x5d9dfa=a175_0x52ba97,_0x206926={};_0x206926[_0x5d9dfa(0x169)]=_0x5d9dfa(0xed),_0x206926[_0x5d9dfa(0xe6)]='false',_0x206926[_0x5d9dfa(0x111)]=_0x5d9dfa(0xe9);const _0x57865f=_0x206926,_0x315dfd=_0x57865f['jVZja'][_0x5d9dfa(0x16e)]('|');let _0x5f5688=0x0;while(!![]){switch(_0x315dfd[_0x5f5688++]){case'0':process['env'][_0x5d9dfa(0x186)]=_0x57865f[_0x5d9dfa(0xe6)];continue;case'1':process['env'][_0x5d9dfa(0x118)]=_0x57865f[_0x5d9dfa(0x111)];continue;case'2':process['env'][_0x5d9dfa(0xf6)]=_0x57865f['Nsevv'];continue;case'3':exports[_0x5d9dfa(0x1af)](_0x37e4c4,testHubConstants['ACCESSIBILITY']);continue;case'4':process[_0x5d9dfa(0x116)][_0x5d9dfa(0x193)]=_0x57865f[_0x5d9dfa(0x111)];continue;}break;}},exports[a175_0x52ba97(0x1af)]=(_0x22c205,_0x337d10='')=>{const _0x4fd5e0=a175_0x52ba97,_0x474ed1={};_0x474ed1[_0x4fd5e0(0x1a0)]=function(_0x4f643f,_0x23b21e){return _0x4f643f===_0x23b21e;};const _0x192b93=_0x474ed1;if(_0x192b93['euSRb'](_0x22c205,undefined)){logger[_0x4fd5e0(0x181)](_0x337d10[_0x4fd5e0(0xd9)]()+_0x4fd5e0(0xfe));return;}for(const _0x3004fd of _0x22c205[_0x4fd5e0(0x13e)]){const _0x5cccff=_0x3004fd[_0x4fd5e0(0xd8)],_0x19d244=_0x3004fd[_0x4fd5e0(0x152)];if(_0x19d244)switch(_0x5cccff){case testHubConstants[_0x4fd5e0(0x18f)][_0x4fd5e0(0x16a)]:logger[_0x4fd5e0(0x181)](_0x19d244);break;case testHubConstants['ERROR'][_0x4fd5e0(0x15d)]:logger[_0x4fd5e0(0x11f)](_0x19d244);break;case testHubConstants[_0x4fd5e0(0x18f)][_0x4fd5e0(0x13d)]:logger[_0x4fd5e0(0x181)](_0x19d244);break;default:logger[_0x4fd5e0(0x181)](_0x19d244);}}};const jsonifyAccessibilityArray=(_0x499050,_0x22eb3d,_0x5cdef4)=>{const _0x523da3={};return _0x499050['forEach'](_0x5ab94a=>{_0x523da3[_0x5ab94a[_0x22eb3d]]=_0x5ab94a[_0x5cdef4];}),_0x523da3;};exports[a175_0x52ba97(0x153)]=_0x407592=>{const _0x238d55=a175_0x52ba97;_0x407592[_0x238d55(0x126)]&&(process[_0x238d55(0x116)][_0x238d55(0x118)]=_0x407592[_0x238d55(0x126)]);_0x407592[_0x238d55(0xf7)]&&(process[_0x238d55(0x116)]['BROWSERSTACK_TESTHUB_UUID']=_0x407592['build_hashed_id'],logger[_0x238d55(0x18e)](_0x238d55(0x164)+_0x407592[_0x238d55(0xf7)]));;},exports[a175_0x52ba97(0x1ac)]=(_0xec7bff='',_0x1a032d='')=>{const _0x4d67ac=a175_0x52ba97,_0x1c4c8f={'hjvqL':function(_0x11df08){return _0x11df08();},'fyzjN':function(_0x535af5,_0x4f9dcb){return _0x535af5===_0x4f9dcb;},'PgEZZ':'uploadEventData','iJPxe':_0x4d67ac(0x149),'uoUBZ':_0x4d67ac(0x196),'LUDJI':function(_0x2d4b3d){return _0x2d4b3d();},'WcAtY':_0x4d67ac(0x16f),'orTxI':'HookRunFinished'};if(exports['isPercyBuild']()&&!exports['isAccessibilityEnabled']()&&!_0x1c4c8f['hjvqL'](isTestObservabilitySession)){if(_0x1c4c8f['fyzjN'](_0x1a032d,_0x1c4c8f[_0x4d67ac(0x19c)]))return![];if([_0x1c4c8f[_0x4d67ac(0x184)],_0x1c4c8f[_0x4d67ac(0x1b4)]][_0x4d67ac(0x190)](_0xec7bff))return![];return!![];}if(exports[_0x4d67ac(0x195)]()&&!_0x1c4c8f[_0x4d67ac(0xf3)](isTestObservabilitySession)){if([_0x1c4c8f[_0x4d67ac(0x108)],_0x1c4c8f[_0x4d67ac(0x120)],_0x1c4c8f[_0x4d67ac(0x184)]][_0x4d67ac(0x190)](_0xec7bff))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x1c4c8f['hjvqL'](isTestObservabilitySession)||exports[_0x4d67ac(0xf9)]();},exports[a175_0x52ba97(0x12e)]=(_0x543721,_0x51e309,_0x3396b3='',_0x1d9a2e)=>{const _0x4127f3=a175_0x52ba97,_0x216674={'xtPLK':'HookRunStarted','jpjGL':_0x4127f3(0x17e),'zjbfQ':function(_0x340386,_0x1e0aa8){return _0x340386===_0x1e0aa8;},'TqwQS':_0x4127f3(0xda),'jFcMd':'isAccessibilityPlatform','IvkoJ':_0x4127f3(0x155),'FKDbl':function(_0x5355f5,_0x227d51){return _0x5355f5&&_0x227d51;},'HhuZv':function(_0x2c5871,_0xd7ffd6){return _0x2c5871===_0xd7ffd6;},'WPitQ':function(_0x3ffeed,_0x5a075f){return _0x3ffeed+_0x5a075f;},'omMrG':function(_0x123fce,_0x3c03b5){return _0x123fce+_0x3c03b5;},'RzNPy':function(_0x1e4323,_0x38ca35){return _0x1e4323&&_0x38ca35;},'pOwOJ':function(_0x489f11,_0x1a8215){return _0x489f11(_0x1a8215);},'yWYgm':'../../bin/jasmine/testRunMap.js','mUnvY':function(_0x464527,_0x3bf7bf){return _0x464527+_0x3bf7bf;},'mrAxx':function(_0x34d380,_0xc309b5){return _0x34d380&&_0xc309b5;},'fihUr':function(_0x50a423,_0x4a92cf){return _0x50a423===_0x4a92cf;},'ELWZu':function(_0x198676,_0x4c0aef){return _0x198676!==_0x4c0aef;},'eXjoD':_0x4127f3(0x1a2),'wpYZd':function(_0x101252,_0x52e482){return _0x101252===_0x52e482;},'rVqYw':function(_0x5a957e,_0xc36127){return _0x5a957e&&_0xc36127;},'RbwNO':function(_0x23afe4,_0x37b29c){return _0x23afe4===_0x37b29c;},'oPGxx':function(_0x2d2a75,_0x309eee){return _0x2d2a75&&_0x309eee;},'sRpYs':'product_map'};if([_0x216674[_0x4127f3(0x163)],_0x216674['jpjGL']][_0x4127f3(0x190)](_0x51e309))return;let _0x10f43f={};try{process[_0x4127f3(0x116)]['BROWSERSTACK_PRODUCT_MAP']&&(_0x10f43f=JSON[_0x4127f3(0xdb)](process[_0x4127f3(0x116)][_0x4127f3(0x13f)])||{});}catch(_0x414d36){logger[_0x4127f3(0x18e)](_0x4127f3(0x175)+_0x414d36),_0x10f43f={};}if(exports[_0x4127f3(0x195)]()){if(_0x216674[_0x4127f3(0x1a1)](_0x1d9a2e,FRAMEWORKS['MOCHA'])){const _0x15fb77=globals['getGlobal'](_0x216674[_0x4127f3(0x18a)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x3396b3[_0x4127f3(0xe0)](),!![]),_0x10de1a=globals[_0x4127f3(0x127)](_0x216674[_0x4127f3(0x148)]);_0x10f43f[_0x216674[_0x4127f3(0x183)]]=_0x216674[_0x4127f3(0x133)](_0x10de1a,_0x15fb77);}if(_0x216674[_0x4127f3(0x168)](_0x1d9a2e,FRAMEWORKS[_0x4127f3(0x117)])){const _0x2fe437=_0x216674[_0x4127f3(0x10f)](_0x216674[_0x4127f3(0x12c)](_0x543721[_0x4127f3(0x137)]['join']('\x20'),'\x20'),_0x3396b3['name']),_0x32a074=globals[_0x4127f3(0x127)](_0x216674[_0x4127f3(0x18a)])||accessibilityHelper[_0x4127f3(0x12b)](_0x2fe437,![]),_0x4dd396=browserStackGlobals[_0x4127f3(0x150)];_0x10f43f[_0x216674[_0x4127f3(0x183)]]=_0x216674[_0x4127f3(0x1a4)](_0x4dd396,_0x32a074);}if(_0x216674[_0x4127f3(0x168)](_0x1d9a2e,FRAMEWORKS[_0x4127f3(0x1b3)])){const _0x3fbe97=_0x216674[_0x4127f3(0x143)](require,_0x216674[_0x4127f3(0xe1)]),_0x5f27fe=_0x3396b3&&_0x3fbe97[_0x4127f3(0x17b)](_0x3396b3['id'])||_0x543721[_0x4127f3(0xd6)];_0x5f27fe&&(_0x543721['uuid']=_0x5f27fe);const _0x34f303=_0x216674[_0x4127f3(0x10f)](_0x216674[_0x4127f3(0x15c)](_0x543721[_0x4127f3(0x137)][_0x4127f3(0xdd)]('\x20'),'\x20'),_0x3396b3['description']||_0x543721[_0x4127f3(0x167)]),_0x447eb7=globals[_0x4127f3(0x127)](_0x216674[_0x4127f3(0x18a)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x34f303,![]),_0x1f50d2=globals[_0x4127f3(0x127)](_0x216674['jFcMd']);_0x10f43f[_0x216674[_0x4127f3(0x183)]]=_0x216674[_0x4127f3(0x105)](_0x1f50d2,_0x447eb7);}_0x216674['fihUr'](_0x1d9a2e,FRAMEWORKS[_0x4127f3(0xf1)])&&_0x216674[_0x4127f3(0xe5)](_0x51e309,_0x216674['eXjoD'])&&(_0x10f43f[_0x216674[_0x4127f3(0x183)]]=PWTestDetails[_0x4127f3(0x187)](_0x543721[_0x4127f3(0xd6)]));if(_0x216674[_0x4127f3(0x1b2)](_0x1d9a2e,FRAMEWORKS[_0x4127f3(0x19a)])){const _0x2741c3=accessibilityHelper['shouldScanTestForAccessibility'](_0x3396b3['titlePath'](),!![]),_0x5b816c=global[_0x4127f3(0x138)];_0x10f43f[_0x216674[_0x4127f3(0x183)]]=_0x216674[_0x4127f3(0x185)](_0x5b816c,_0x2741c3);}if(_0x216674['RbwNO'](_0x1d9a2e,FRAMEWORKS[_0x4127f3(0xec)])){const _0x43f4c1=accessibilityHelper[_0x4127f3(0x12b)](null,![],_0x543721['tags']),_0x526f7b=globals['getGlobal'](_0x216674[_0x4127f3(0x148)]);_0x10f43f[_0x216674[_0x4127f3(0x183)]]=_0x216674['oPGxx'](_0x526f7b,_0x43f4c1);}}_0x543721[_0x216674[_0x4127f3(0x12a)]]=_0x10f43f;},exports[a175_0x52ba97(0x135)]=_0xc8670f=>{const _0x1f3916=a175_0x52ba97,_0x531894={};_0x531894[_0x1f3916(0x11e)]=function(_0x1c684d,_0x1f55c5){return _0x1c684d>_0x1f55c5;};const _0x14ceb6=_0x531894;let _0x20af7b={};if(_0x14ceb6[_0x1f3916(0x11e)](Object[_0x1f3916(0x14b)](testData)['length'],0x0))return testData;_0x20af7b=JestTestDetails[_0x1f3916(0x14c)]();if(_0x14ceb6['JkOzB'](Object[_0x1f3916(0x14b)](_0x20af7b)[_0x1f3916(0x140)],0x0))return _0x20af7b;return _0x20af7b;},exports[a175_0x52ba97(0x154)]=(_0x16ed15,_0x2fcc44={})=>{const _0x5cbc9e=a175_0x52ba97;if(bsSetupHelper[_0x5cbc9e(0x100)](_0x2fcc44[_0x5cbc9e(0xf5)]))return;switch(_0x16ed15){case FRAMEWORKS[_0x5cbc9e(0x14e)]:testData=_0x2fcc44['test_run'];break;case FRAMEWORKS[_0x5cbc9e(0x117)]:JestTestDetails[_0x5cbc9e(0x157)](_0x2fcc44[_0x5cbc9e(0xf5)]);break;case FRAMEWORKS[_0x5cbc9e(0x1b3)]:testData=_0x2fcc44[_0x5cbc9e(0xf5)];break;default:break;}},exports[a175_0x52ba97(0x160)]=_0x36da42=>{const _0x579fa1=a175_0x52ba97,_0xe82fc1={};_0xe82fc1[_0x579fa1(0xef)]=function(_0x146f65,_0x4ee2d9){return _0x146f65!==_0x4ee2d9;},_0xe82fc1[_0x579fa1(0x1a5)]=function(_0x149ecd,_0x30ffd7){return _0x149ecd!==_0x30ffd7;},_0xe82fc1['qBXdx']=function(_0x379e3f,_0x3fa316){return _0x379e3f!==_0x3fa316;};const _0xdd02fb=_0xe82fc1;if(_0xdd02fb[_0x579fa1(0xef)](_0x36da42[_0x579fa1(0x155)],null)&&_0xdd02fb[_0x579fa1(0x1a5)](_0x36da42[_0x579fa1(0x155)],undefined))return _0x36da42['accessibility'];let _0x4cb720=![],_0x5b0747=![];if(_0x36da42[_0x579fa1(0x10b)])for(const _0x37f2a0 of _0x36da42[_0x579fa1(0x10b)]){_0xdd02fb[_0x579fa1(0x17a)](_0x37f2a0[_0x579fa1(0x155)],null)&&_0xdd02fb[_0x579fa1(0x17a)](_0x37f2a0['accessibility'],undefined)&&(_0x4cb720=_0x4cb720||bsSetupHelper[_0x579fa1(0x1ae)](_0x37f2a0['accessibility']),_0x5b0747=!![]);}if(_0x5b0747)return _0x4cb720;return null;},exports['getTestOrchestrationBuildStartData']=_0x4214de=>{const _0x44c589=a175_0x52ba97;if(!_0x4214de)return{};const _0x579acf=new OrchestrationUtils(_0x4214de);return _0x579acf[_0x44c589(0xf2)]();},exports['getProductMapForBuildStartCall']=_0x43075b=>{const _0x22df7d=a175_0x52ba97,_0x678ff3={'ExHim':function(_0x4e14e9){return _0x4e14e9();},'WBDGk':function(_0x4bfb6e,_0x1a3219){return _0x4bfb6e===_0x1a3219;},'ZqCqP':_0x22df7d(0xd7)};let _0x319994=![],_0x21d2b5=![];if(bsSetupHelper[_0x22df7d(0x19f)]()&&bsSetupHelper[_0x22df7d(0x1aa)](_0x43075b))_0x21d2b5=!![];else bsSetupHelper[_0x22df7d(0x19f)]()&&(_0x319994=!![]);return Object[_0x22df7d(0x139)]({'observability':_0x678ff3[_0x22df7d(0x165)](isTestObservabilitySession),'accessibility':exports[_0x22df7d(0x160)](_0x43075b),'percy':_0x43075b[_0x22df7d(0x176)]||![],'sr_automation':_0x678ff3[_0x22df7d(0xfb)](process['env'][_0x22df7d(0xee)],_0x678ff3['ZqCqP'])||_0x43075b[_0x22df7d(0xf0)]||![],'automate':_0x319994,'app_automate':_0x21d2b5,'turboscale':bsSetupHelper[_0x22df7d(0x158)](_0x43075b),'lts':LoadTestModule['isLTSSession'](_0x43075b)},bsSetupHelper[_0x22df7d(0x11a)]());};const normalizeTestPlanId=_0x4a8d72=>{const _0xda968a=a175_0x52ba97,_0x50ba3c={};_0x50ba3c[_0xda968a(0x166)]=function(_0x3d8dbb,_0x251265){return _0x3d8dbb!==_0x251265;},_0x50ba3c[_0xda968a(0x144)]=_0xda968a(0x101),_0x50ba3c['KOqCv']=function(_0x379083,_0x120092){return _0x379083>_0x120092;};const _0xa40a19=_0x50ba3c;if(_0xa40a19[_0xda968a(0x166)](typeof _0x4a8d72,_0xa40a19['XFtHU']))return undefined;const _0x2d2d85=_0x4a8d72[_0xda968a(0x13c)]();return _0xa40a19[_0xda968a(0x128)](_0x2d2d85[_0xda968a(0x140)],0x0)?_0x2d2d85:undefined;},readTestPlanIdFromCliArgs=(_0x193e72=process['argv'])=>{const _0x2c2fc5=a175_0x52ba97,_0x53e647={};_0x53e647['fHuoW']=function(_0x368f32,_0x4c9c0d){return _0x368f32<_0x4c9c0d;},_0x53e647[_0x2c2fc5(0x159)]=function(_0x267477,_0x4dc8a5){return _0x267477===_0x4dc8a5;},_0x53e647[_0x2c2fc5(0x145)]=function(_0xbeb2fc,_0x231946){return _0xbeb2fc+_0x231946;},_0x53e647[_0x2c2fc5(0x115)]=function(_0x2aca77,_0xc244f5){return _0x2aca77+_0xc244f5;};const _0x4f59c5=_0x53e647,_0x54c60e='--'+testHubConstants[_0x2c2fc5(0x19b)];for(let _0x1d390f=0x0;_0x4f59c5[_0x2c2fc5(0x1a3)](_0x1d390f,_0x193e72['length']);_0x1d390f+=0x1){const _0x570c74=_0x193e72[_0x1d390f];if(_0x4f59c5['ZlOIe'](_0x570c74,_0x54c60e)){const _0x3ba575=_0x193e72[_0x4f59c5[_0x2c2fc5(0x145)](_0x1d390f,0x1)];if(!_0x3ba575||_0x3ba575[_0x2c2fc5(0xfa)]('--'))return undefined;return _0x3ba575;}if(_0x570c74[_0x2c2fc5(0xfa)](_0x54c60e+'='))return _0x570c74[_0x2c2fc5(0x19e)](_0x4f59c5['PpWIT'](_0x54c60e[_0x2c2fc5(0x140)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x4c5b93={})=>{const _0x54b1e3=a175_0x52ba97,_0x3558f8={'Lvqiu':function(_0x3b0975,_0x2500f6){return _0x3b0975(_0x2500f6);}};return _0x3558f8[_0x54b1e3(0x18b)](normalizeTestPlanId,_0x4c5b93&&_0x4c5b93['testManagementOptions']&&_0x4c5b93[_0x54b1e3(0x174)][_0x54b1e3(0x125)]);};function a175_0xc79c(){const _0x4b08c4=['xtPLK','BROWSERSTACK_TESTHUB_UUID:\x20','ExHim','CReCC','name','HhuZv','jVZja','INVALID_CREDENTIALS','../../bin/jest/test-observability/test-details.js','7099260RyNsZq','SAdhR','split','HookRunStarted','BS_TESTOPS_BUILD_HASHED_ID','0|5|4|3|2|1','JJmtl','false','testManagementOptions','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','percy','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dGnQi','isLTSSession','qBXdx','get','SWwVV','../../bin/playwright/reporter/test-details.js','HookRunFinished','toJson','KmWig','error','checkAccessibilityPlatformConfig','IvkoJ','iJPxe','rVqYw','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getAccessibilityPlatformValidation','config','options','TqwQS','Lvqiu','../../bin/v2/modules/loadTestModule','890905NUTtlg','debug','ERROR','includes','NETtz','BS_TESTOPS_JWT','BROWSERSTACK_TESTHUB_UUID','getTestPlanId','isAccessibilityEnabled','CBTSessionCreated','BS_A11Y_JWT','QZBEA','OBSERVABILITY','CODECEPT','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','PgEZZ','cykom','slice','isBrowserstackInfra','euSRb','zjbfQ','TestRunStarted','fHuoW','RzNPy','GFgLW','capabilities','parseA11yJwtPayload','JVgek','scripts','isAppAutomateSession','username','shouldProcessEventForTesthub','EJgkR','isTrue','logBuildError','../../bin/utils/constants.js','TEST_REPORTING_ANALYTICS','wpYZd','JASMINE','uoUBZ','BlpXd','toString','2152saxTMV','uuid','true','key','toUpperCase','bstackA11yShouldScan','parse','commands','join','VMFAU','34YOWqdb','titlePath','yWYgm','../ats/helper','setAccessibilityVariables','setTestObservabilityVariables','ELWZu','Nsevv','ulpff','UecMx','null','../accessibility-automation/helper','osPUM','CUCUMBER','4|1|2|0|3','BROWSERSTACK_SR_AUTOMATION','bygnp','sr_automation','PLAYWRIGHT','getBuildStartData','LUDJI','../test-observability/utils','test_run','BROWSERSTACK_TEST_ACCESSIBILITY_YML','build_hashed_id','handleErrorForObservability','isPercyBuild','startsWith','WBDGk','eSANw','BS_TESTOPS_BUILD_COMPLETED','\x20Build\x20creation\x20failed','941001jpUrIH','isUndefined','string','password','VRjuJ','../test-observability/constants.js','mrAxx','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','WcAtY','handleErrorForAccessibility','../logger','platforms','15761doZNDO','BROWSERSTACK_PERCY','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','WPitQ','vXude','jWZhY','setPercyFlag','cvbYi','parseFromJson','PpWIT','env','JEST','BROWSERSTACK_TESTHUB_JWT','../helper','getCentralUser','DWMka','winstonLogger','1419246QJlBzn','JkOzB','info','orTxI','getAgentVersion','zjfiW','lRVcj','BROWSERSTACK_ACCESSIBILITY','testPlanId','jwt','getGlobal','KOqCv','SCpZO','sRpYs','shouldScanTestForAccessibility','omMrG','yizbC','appendTesthubParams','stringify','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','allow_screenshots','4CfxXAQ','FKDbl','nonBStackInfraA11yChromeOptions','getCurrentTestData','eBNVV','scopes','accessibilityPlatform','assign','../accessibility-automation/scripts.js','JisAs','trim','DEPRECATED','errors','BROWSERSTACK_PRODUCT_MAP','length','7389AdIuXx','2781779mmEcIV','pOwOJ','XFtHU','uDQzw','success','TAzOc','jFcMd','LogCreated','lXeLM','keys','getTestData','iVyWj','MOCHA','value','isAccessibilityPlatform',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','message','setTestHubCommonMetaInfo','setCurrentTestData','accessibility','cVVDn','setTestData','isTurboScaleSession','ZlOIe','isRunning','BS_TESTOPS_ALLOW_SCREENSHOTS','mUnvY','ACCESS_DENIED','glFxJ','jlKSx','getAccessibilityValueFromYml','observability','getFrameworkDetails'];a175_0xc79c=function(){return _0x4b08c4;};return a175_0xc79c();}exports[a175_0x52ba97(0x194)]=(_0x5e4d58={},_0x30cf3a=process['argv'],_0x5edc39=process[a175_0x52ba97(0x116)])=>{const _0x31e00e=a175_0x52ba97,_0x22ff92={'JisAs':function(_0x34233e,_0x128464){return _0x34233e(_0x128464);}};try{const _0x346d81=_0x22ff92[_0x31e00e(0x13b)](normalizeTestPlanId,_0x22ff92[_0x31e00e(0x13b)](readTestPlanIdFromCliArgs,_0x30cf3a));if(_0x346d81)return _0x346d81;const _0x24b310=_0x22ff92[_0x31e00e(0x13b)](normalizeTestPlanId,_0x5edc39&&_0x5edc39[testHubConstants['ENV_VAR']['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x24b310)return _0x24b310;return _0x22ff92['JisAs'](readTestPlanIdFromConfig,_0x5e4d58);}catch(_0x2ebb7e){return logger[_0x31e00e(0x18e)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x2ebb7e&&_0x2ebb7e[_0x31e00e(0x152)]?_0x2ebb7e[_0x31e00e(0x152)]:_0x2ebb7e)),undefined;}};
|
|
1
|
+
const a178_0x2ea43c=a178_0x2288;(function(_0x5d6efb,_0xc5479a){const _0x414ec1=a178_0x2288,_0x46fa5c=_0x5d6efb();while(!![]){try{const _0x103c81=-parseInt(_0x414ec1(0x17f))/0x1*(parseInt(_0x414ec1(0x191))/0x2)+parseInt(_0x414ec1(0x1b5))/0x3+-parseInt(_0x414ec1(0x161))/0x4*(-parseInt(_0x414ec1(0x1ad))/0x5)+parseInt(_0x414ec1(0x181))/0x6*(parseInt(_0x414ec1(0x1a8))/0x7)+parseInt(_0x414ec1(0x234))/0x8*(parseInt(_0x414ec1(0x198))/0x9)+parseInt(_0x414ec1(0x20c))/0xa+parseInt(_0x414ec1(0x237))/0xb*(-parseInt(_0x414ec1(0x1a0))/0xc);if(_0x103c81===_0xc5479a)break;else _0x46fa5c['push'](_0x46fa5c['shift']());}catch(_0x2460f0){_0x46fa5c['push'](_0x46fa5c['shift']());}}}(a178_0x121d,0x3d88d));const bsSetupHelper=require('../helper'),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a178_0x2ea43c(0x18f)),logger=require(a178_0x2ea43c(0x1c3))[a178_0x2ea43c(0x226)],{nestedKeyValue}=require('../helper.js'),scripts=require('../accessibility-automation/scripts.js'),globals=require(a178_0x2ea43c(0x235)),testHubConstants=require('./constants.js'),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a178_0x2ea43c(0x1a6)),{FRAMEWORKS}=require(a178_0x2ea43c(0x230)),{isTurboScaleSession}=require(a178_0x2ea43c(0x1b0)),OrchestrationUtils=require(a178_0x2ea43c(0x1de)),constants=require(a178_0x2ea43c(0x1ed));let testData={};function a178_0x121d(){const _0x5c46d8=['info','winstonLogger','getAgentVersion','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','isBrowserstackInfra','MqZbk','moXBN','scripts','shouldProcessEventForTesthub','QTrWi','YdZvU','../test-observability/constants.js','debug','handleErrorForAccessibility','MOCHA','157832ZBYnSW','../globals.js','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','22JAxdZb','qtTJy','setTestHubCommonMetaInfo','Opkpy','LnRia','36iXHvlp','FHbAK','gSPzK','BhWAn','isAccessibilityPlatform','description','\x20Build\x20creation\x20failed','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ELAWE','length','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','uploadEventData','getBuildStartData','wDbgC','xQVjs','TMvKT','BcxDK','commandsToWrap','build_hashed_id','gQfDF','EEiVK','testManagementOptions','null','getTestFrameworkDetails','allow_screenshots','shouldScanTestForAccessibility','dwmHX','getAccessibilityValueFromYml','getTestPlanId','BROWSERSTACK_PERCY','230306mysKwP','BS_TESTOPS_ALLOW_SCREENSHOTS','626934PshCqk','config','HookRunFinished','percy','JumXh','setTestData','Roriw','assign','LogCreated','RctBk','PyXHg','parse','false','stringify','../accessibility-automation/helper','PPlFP','2jpsZgB','capabilities','value','rTtKc','getGlobal','isLTSSession','scopes','90ayuPeq','success','setTestObservabilityVariables','getTestData','rfVYK','JASMINE','brwZT','xnVGO','2946180pmzPEf','HvdYp','BS_TESTOPS_JWT','split','cLTqz','CBTSessionCreated','../../bin/jest/test-observability/test-details.js','isUndefined','7QcSqEg',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','gGHQu','TestRunStarted','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','171490YwNjYB','ERROR','TvFAu','../ats/helper','keys','JEST','dOTpr','BRdVF','183147QEyUZA','qiqnP','PROEn','cqiEN','commands','LbqNH','BS_A11Y_JWT','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','zWyjY','appendTesthubParams','kXdcM','isTrue','xdjtm','isRunning','../logger','isAccessibilityEnabled','BROWSERSTACK_ACCESSIBILITY','skipCDPConnectOverride','ACCESS_DENIED','NIfuo','forEach','username','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','logBuildError','mAmHa','handleErrorForObservability','get','xyEjF','options','startsWith','tjZdf','isTurboScaleSession','BROWSERSTACK_PRODUCT_MAP','getCentralUser','observability','getProductMap','setPercyFlag','env','product_map','OBSERVABILITY','HookRunStarted','../test-orchestration/orchestrationUtils.js','getTestOrchestrationBuildStartData','txYGl','QYdxM','join','../../bin/jasmine/testRunMap.js','INVALID_CREDENTIALS','mtbaR','qxNsJ','platforms','XaWMv','bstackA11yShouldScan','parseA11yJwtPayload','uuid','KyImC','../../bin/utils/constants.js','accessibility','BROWSERSTACK_TESTHUB_UUID:\x20','RdvpQ','test_run','4|1|0|3|2','tpmsD','FIwtd','accessibilityPlatform','ENV_VAR','HoXAq','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','erOXo','PLAYWRIGHT','BS_TESTOPS_BUILD_COMPLETED','parseFromJson','true','goog:chromeOptions','argv','sIFBF','string','FRAMEWORK_DETAILS','CREDENTIALS_FOR_CRASH_REPORTING','XiKbp','CkRRI','Qemwp','CUCUMBER','BROWSERSTACK_SR_AUTOMATION','zQzct','message','3|4|0|1|5|2','3018710TRWark','getAccessibilityPlatformValidation','error','jwt','getFrameworkDetails','name','BROWSERSTACK_TEST_PLAN_ID','key','includes','TEST_REPORTING_ANALYTICS','iPsTQ','toUpperCase','NTfPj','trim','BROWSERSTACK_TESTHUB_JWT','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','isPercyBuild','fKbnG','BS_TESTOPS_BUILD_HASHED_ID','BROWSERSTACK_TESTHUB_UUID','isAppAutomateSession','FJvbj','password','sr_automation','getCurrentTestData'];a178_0x121d=function(){return _0x5c46d8;};return a178_0x121d();}exports[a178_0x2ea43c(0x1d8)]=_0x5ea321=>{const _0x335631=a178_0x2ea43c,_0x25a483={'xQVjs':function(_0x3a0424){return _0x3a0424();},'TMvKT':function(_0x32c32f,_0x1c038a){return _0x32c32f===_0x1c038a;},'TvFAu':'true'};let _0x5dcb52=![],_0xcd2724=![];if(bsSetupHelper[_0x335631(0x229)]()&&bsSetupHelper[_0x335631(0x220)](_0x5ea321))_0xcd2724=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x5dcb52=!![]);return Object[_0x335631(0x188)]({'observability':_0x25a483[_0x335631(0x16f)](isTestObservabilitySession),'accessibility':exports[_0x335631(0x1c4)](_0x5ea321),'percy':_0x5ea321[_0x335631(0x184)]||![],'sr_automation':_0x25a483[_0x335631(0x170)](process[_0x335631(0x1da)][_0x335631(0x208)],_0x25a483[_0x335631(0x1af)])||_0x5ea321[_0x335631(0x223)]||![],'automate':_0x5dcb52,'app_automate':_0xcd2724,'turboscale':bsSetupHelper[_0x335631(0x1d4)](_0x5ea321),'lts':LoadTestModule[_0x335631(0x196)](_0x5ea321)},bsSetupHelper[_0x335631(0x1d6)]());},exports[a178_0x2ea43c(0x210)]=(_0x276609,_0x2a8343)=>{const _0x78b463=a178_0x2ea43c,_0x4d4fa6={'pkNaF':function(_0x57c244,_0x4996cf){return _0x57c244(_0x4996cf);},'rMkok':'javascript'},_0x4f7755={'frameworkName':_0x2a8343,'frameworkVersion':_0x4d4fa6['pkNaF'](getFrameworkVersion,_0x2a8343),'sdkVersion':bsSetupHelper[_0x78b463(0x227)](),'language':_0x4d4fa6['rMkok'],'testFramework':bsSetupHelper[_0x78b463(0x178)](_0x276609,_0x2a8343)};return process[_0x78b463(0x1da)][_0x78b463(0x202)]=JSON[_0x78b463(0x18e)](_0x4f7755),_0x4f7755;},exports[a178_0x2ea43c(0x1d9)]=_0x1c1a0b=>{const _0x4c3bf5=a178_0x2ea43c,_0x281d6a={};_0x281d6a[_0x4c3bf5(0x1b6)]=_0x4c3bf5(0x18d),_0x281d6a['txYGl']=_0x4c3bf5(0x1fd);const _0x1f117a=_0x281d6a;process[_0x4c3bf5(0x1da)][_0x4c3bf5(0x17e)]=_0x1f117a[_0x4c3bf5(0x1b6)],bsSetupHelper[_0x4c3bf5(0x1c0)](_0x1c1a0b[_0x4c3bf5(0x182)][_0x4c3bf5(0x184)])&&(!_0x1c1a0b[_0x4c3bf5(0x184)]||!_0x1c1a0b[_0x4c3bf5(0x184)][_0x4c3bf5(0x1c2)]())&&(process[_0x4c3bf5(0x1da)]['BROWSERSTACK_PERCY']=_0x1f117a[_0x4c3bf5(0x1e0)]);},exports[a178_0x2ea43c(0x21c)]=()=>{const _0x2f1a93=a178_0x2ea43c;return bsSetupHelper['isTrue'](process[_0x2f1a93(0x1da)][_0x2f1a93(0x17e)]);},exports[a178_0x2ea43c(0x1c4)]=(_0x5445fd={})=>{const _0x5c9436=a178_0x2ea43c,_0x5969bf={};_0x5969bf[_0x5c9436(0x1ba)]=function(_0x5b9e7c,_0x425214){return _0x5b9e7c!==_0x425214;},_0x5969bf['MqZbk']=function(_0x2a6682,_0x3f26fb){return _0x2a6682===_0x3f26fb;},_0x5969bf[_0x5c9436(0x175)]=_0x5c9436(0x1fd),_0x5969bf[_0x5c9436(0x1c8)]=function(_0x5014c9,_0x1f25eb){return _0x5014c9>_0x1f25eb;};const _0x415c61=_0x5969bf;if(_0x415c61['LbqNH'](process[_0x5c9436(0x1da)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x5c9436(0x1c0)](process[_0x5c9436(0x1da)][_0x5c9436(0x1c5)]);let _0x3d9af3=_0x415c61['MqZbk'](process['env'][_0x5c9436(0x168)],_0x415c61[_0x5c9436(0x175)]);return _0x415c61[_0x5c9436(0x1c8)](Object[_0x5c9436(0x1b1)](_0x5445fd)[_0x5c9436(0x16a)],0x0)&&(process[_0x5c9436(0x1da)][_0x5c9436(0x1bc)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x5445fd)),_0x3d9af3=_0x3d9af3||_0x415c61[_0x5c9436(0x22a)](process['env'][_0x5c9436(0x1bc)],_0x415c61['EEiVK']),_0x3d9af3;},exports[a178_0x2ea43c(0x19a)]=(_0x5efbf6,_0x4aecc2)=>{const _0x4cb9e8=a178_0x2ea43c,_0x559867={'LZaOi':function(_0x1304af){return _0x1304af();},'GsumI':_0x4cb9e8(0x20b),'mAmHa':function(_0x4c4722,_0x1e5b48,_0xdf2631){return _0x4c4722(_0x1e5b48,_0xdf2631);},'sbMyy':_0x4cb9e8(0x1d7),'NTfPj':_0x4cb9e8(0x1d1),'rTtKc':_0x4cb9e8(0x1fd)};if(!_0x5efbf6||!_0x5efbf6['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x5efbf6[_0x4cb9e8(0x1d7)][_0x4cb9e8(0x199)])return exports[_0x4cb9e8(0x1ce)](_0x5efbf6[_0x4cb9e8(0x1d7)]),[null,null,null];if(_0x559867['LZaOi'](isTestObservabilitySession)){const _0x558896=_0x559867['GsumI'][_0x4cb9e8(0x1a3)]('|');let _0x1a3b68=0x0;while(!![]){switch(_0x558896[_0x1a3b68++]){case'0':_0x5efbf6[_0x4cb9e8(0x173)]&&(process[_0x4cb9e8(0x1da)][_0x4cb9e8(0x21e)]=_0x5efbf6['build_hashed_id']);continue;case'1':_0x559867[_0x4cb9e8(0x1cd)](nestedKeyValue,_0x5efbf6,[_0x559867['sbMyy'],_0x559867[_0x4cb9e8(0x218)]])&&(process[_0x4cb9e8(0x1da)][_0x4cb9e8(0x180)]=_0x5efbf6[_0x4cb9e8(0x1d7)]['options'][_0x4cb9e8(0x179)]['toString']());continue;case'2':return[_0x5efbf6[_0x4cb9e8(0x20f)],_0x5efbf6[_0x4cb9e8(0x173)],process['env'][_0x4cb9e8(0x180)]];case'3':process[_0x4cb9e8(0x1da)]['BS_TESTOPS_BUILD_COMPLETED']=_0x559867[_0x4cb9e8(0x194)];continue;case'4':if(_0x5efbf6[_0x4cb9e8(0x20f)]){process[_0x4cb9e8(0x1da)][_0x4cb9e8(0x1a2)]=_0x5efbf6[_0x4cb9e8(0x20f)];const _0x3ccf40={};_0x3ccf40[_0x4cb9e8(0x1ca)]=_0x4aecc2[_0x4cb9e8(0x1ca)],_0x3ccf40[_0x4cb9e8(0x222)]=_0x4aecc2[_0x4cb9e8(0x222)],process[_0x4cb9e8(0x1da)][_0x4cb9e8(0x203)]=JSON[_0x4cb9e8(0x18e)](_0x3ccf40);}continue;case'5':logger[_0x4cb9e8(0x231)]('['+constants[_0x4cb9e8(0x215)]+_0x4cb9e8(0x1a9)+_0x5efbf6[_0x4cb9e8(0x173)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x1280d7=>{const _0x4ead19=a178_0x2ea43c,_0x269f0f={'AXFqV':function(_0xc1732f,_0x2b9e9e,_0x218893){return _0xc1732f(_0x2b9e9e,_0x218893);},'PyXHg':_0x4ead19(0x1ee),'PPlFP':'options','BRdVF':function(_0x32170b,_0x248e62,_0x303485,_0xe8cb53){return _0x32170b(_0x248e62,_0x303485,_0xe8cb53);},'FJvbj':'name','BcxDK':_0x4ead19(0x193),'iPsTQ':'command','RdvpQ':'commands','mtbaR':'nonBStackInfraA11yChromeOptions','gDTzx':_0x4ead19(0x1fe),'rfVYK':function(_0x13f46c,_0x5591ec){return _0x13f46c(_0x5591ec);},'Vglmh':function(_0x13adae,_0x361161){return _0x13adae===_0x361161;},'YsFhO':_0x4ead19(0x1fd),'xyEjF':_0x4ead19(0x1cb)};if(!_0x1280d7[_0x4ead19(0x1ee)])return exports[_0x4ead19(0x232)](),[null,null];if(!_0x1280d7[_0x4ead19(0x1ee)]['success'])return exports[_0x4ead19(0x232)](_0x1280d7[_0x4ead19(0x1ee)]),[null,null];if(_0x269f0f['AXFqV'](nestedKeyValue,_0x1280d7,[_0x269f0f[_0x4ead19(0x18b)],_0x269f0f[_0x4ead19(0x190)]])){const {accessibilityToken:_0x3be5cc,scannerVersion:_0x383a15,scannerProcessingTimeout:_0x4a1e86,isMobileScanningEnabledForGroup:_0x50ba65}=_0x269f0f['BRdVF'](jsonifyAccessibilityArray,_0x1280d7[_0x4ead19(0x1ee)][_0x4ead19(0x1d1)][_0x4ead19(0x192)],_0x269f0f[_0x4ead19(0x221)],_0x269f0f[_0x4ead19(0x171)]),_0x3ddc2b={'scripts':_0x269f0f['BRdVF'](jsonifyAccessibilityArray,_0x1280d7[_0x4ead19(0x1ee)][_0x4ead19(0x1d1)][_0x4ead19(0x22c)],_0x269f0f[_0x4ead19(0x221)],_0x269f0f[_0x4ead19(0x216)])};_0x3ddc2b[_0x269f0f[_0x4ead19(0x1f0)]]=_0x1280d7[_0x4ead19(0x1ee)][_0x4ead19(0x1d1)][_0x4ead19(0x172)][_0x4ead19(0x1b9)];const _0x14dbd9=_0x269f0f[_0x4ead19(0x1b4)](jsonifyAccessibilityArray,_0x1280d7['accessibility'][_0x4ead19(0x1d1)][_0x4ead19(0x192)],_0x269f0f['FJvbj'],_0x269f0f[_0x4ead19(0x171)]);_0x3ddc2b[_0x269f0f[_0x4ead19(0x1e5)]]=_0x14dbd9[_0x269f0f['gDTzx']],scripts[_0x4ead19(0x1fc)](_0x3ddc2b),scripts['toJson']();let _0x4b85e6=process[_0x4ead19(0x1da)][_0x4ead19(0x1f8)];_0x4b85e6=!!_0x4b85e6?JSON[_0x4ead19(0x18c)](_0x4b85e6):{},_0x4b85e6['scannerVersion']=_0x383a15,process[_0x4ead19(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4b85e6),process['env'][_0x4ead19(0x1bb)]=_0x3be5cc,process[_0x4ead19(0x1da)][_0x4ead19(0x1ac)]=_0x269f0f[_0x4ead19(0x19c)](String,_0x269f0f['Vglmh'](_0x50ba65,!![])||_0x269f0f['Vglmh'](_0x50ba65,_0x269f0f['YsFhO'])),logger[_0x4ead19(0x231)](_0x4ead19(0x228)+_0x1280d7[_0x4ead19(0x173)]);const _0x175d39=accessibilityHelper[_0x4ead19(0x1ea)](_0x3be5cc);return _0x175d39&&bsSetupHelper[_0x4ead19(0x1c0)](_0x175d39[_0x4ead19(0x1c6)])&&(process['env'][_0x4ead19(0x21b)]=!![],logger['debug'](_0x269f0f[_0x4ead19(0x1d0)])),[_0x3be5cc,_0x1280d7[_0x4ead19(0x173)],_0x4a1e86];}return[null,null];},exports[a178_0x2ea43c(0x1ce)]=_0x28d7d6=>{const _0x11d474=a178_0x2ea43c,_0x18678f={};_0x18678f['IcfGM']='6|3|2|1|4|5|0',_0x18678f[_0x11d474(0x1b3)]='null',_0x18678f['BhWAn']='false';const _0x18cc64=_0x18678f,_0x30b262=_0x18cc64['IcfGM'][_0x11d474(0x1a3)]('|');let _0x5b4085=0x0;while(!![]){switch(_0x30b262[_0x5b4085++]){case'0':exports[_0x11d474(0x1cc)](_0x28d7d6,testHubConstants[_0x11d474(0x1dc)]);continue;case'1':process[_0x11d474(0x1da)][_0x11d474(0x1a2)]=_0x18cc64[_0x11d474(0x1b3)];continue;case'2':process[_0x11d474(0x1da)][_0x11d474(0x1fb)]=_0x18cc64[_0x11d474(0x164)];continue;case'3':process[_0x11d474(0x1da)][_0x11d474(0x21a)]=_0x18cc64[_0x11d474(0x1b3)];continue;case'4':process[_0x11d474(0x1da)][_0x11d474(0x21e)]=_0x18cc64[_0x11d474(0x1b3)];continue;case'5':process[_0x11d474(0x1da)][_0x11d474(0x180)]=_0x18cc64['dOTpr'];continue;case'6':process[_0x11d474(0x1da)][_0x11d474(0x21f)]=_0x18cc64[_0x11d474(0x1b3)];continue;}break;}},exports[a178_0x2ea43c(0x232)]=_0x1a2f3b=>{const _0x39d7d7=a178_0x2ea43c,_0x2c45ab={};_0x2c45ab['Opkpy']=_0x39d7d7(0x1f2),_0x2c45ab[_0x39d7d7(0x209)]=_0x39d7d7(0x18d),_0x2c45ab['JumXh']=_0x39d7d7(0x177);const _0x5add47=_0x2c45ab,_0xef89cb=_0x5add47[_0x39d7d7(0x15f)][_0x39d7d7(0x1a3)]('|');let _0x1dafb2=0x0;while(!![]){switch(_0xef89cb[_0x1dafb2++]){case'0':process[_0x39d7d7(0x1da)][_0x39d7d7(0x168)]=_0x5add47[_0x39d7d7(0x209)];continue;case'1':process[_0x39d7d7(0x1da)][_0x39d7d7(0x21a)]=_0x5add47[_0x39d7d7(0x185)];continue;case'2':exports['logBuildError'](_0x1a2f3b,testHubConstants['ACCESSIBILITY']);continue;case'3':process[_0x39d7d7(0x1da)][_0x39d7d7(0x1bc)]=_0x5add47[_0x39d7d7(0x209)];continue;case'4':process[_0x39d7d7(0x1da)][_0x39d7d7(0x21f)]=_0x5add47[_0x39d7d7(0x185)];continue;}break;}},exports['logBuildError']=(_0x431b1a,_0x317e8c='')=>{const _0x4b36bf=a178_0x2ea43c,_0x3851e5={};_0x3851e5[_0x4b36bf(0x187)]=function(_0xb0e843,_0x3026de){return _0xb0e843===_0x3026de;};const _0x2e58ce=_0x3851e5;if(_0x2e58ce[_0x4b36bf(0x187)](_0x431b1a,undefined)){logger[_0x4b36bf(0x20e)](_0x317e8c[_0x4b36bf(0x217)]()+_0x4b36bf(0x167));return;}for(const _0xc248eb of _0x431b1a['errors']){const _0x4936a4=_0xc248eb[_0x4b36bf(0x213)],_0x168a70=_0xc248eb[_0x4b36bf(0x20a)];if(_0x168a70)switch(_0x4936a4){case testHubConstants[_0x4b36bf(0x1ae)][_0x4b36bf(0x1e4)]:logger[_0x4b36bf(0x20e)](_0x168a70);break;case testHubConstants['ERROR'][_0x4b36bf(0x1c7)]:logger[_0x4b36bf(0x225)](_0x168a70);break;case testHubConstants['ERROR']['DEPRECATED']:logger[_0x4b36bf(0x20e)](_0x168a70);break;default:logger['error'](_0x168a70);}}};function a178_0x2288(_0x252f62,_0x17dcdf){const _0x121dee=a178_0x121d();return a178_0x2288=function(_0x228841,_0x1d93d6){_0x228841=_0x228841-0x15e;let _0x59134b=_0x121dee[_0x228841];return _0x59134b;},a178_0x2288(_0x252f62,_0x17dcdf);}const jsonifyAccessibilityArray=(_0x3644a5,_0x312e32,_0x50477a)=>{const _0x4f63d1=a178_0x2ea43c,_0x14127c={};return _0x3644a5[_0x4f63d1(0x1c9)](_0x5eed13=>{_0x14127c[_0x5eed13[_0x312e32]]=_0x5eed13[_0x50477a];}),_0x14127c;};exports[a178_0x2ea43c(0x15e)]=_0x3680e4=>{const _0x2e9001=a178_0x2ea43c;_0x3680e4[_0x2e9001(0x20f)]&&(process[_0x2e9001(0x1da)][_0x2e9001(0x21a)]=_0x3680e4[_0x2e9001(0x20f)]);_0x3680e4[_0x2e9001(0x173)]&&(process[_0x2e9001(0x1da)][_0x2e9001(0x21f)]=_0x3680e4[_0x2e9001(0x173)],logger[_0x2e9001(0x231)](_0x2e9001(0x1ef)+_0x3680e4[_0x2e9001(0x173)]));;},exports[a178_0x2ea43c(0x22d)]=(_0x35e39a='',_0x2d3722='')=>{const _0x1be0d9=a178_0x2ea43c,_0x20c7de={'FIwtd':function(_0x354289){return _0x354289();},'SoybJ':function(_0x4f978a,_0x38681d){return _0x4f978a===_0x38681d;},'PKMnn':_0x1be0d9(0x16c),'gQfDF':_0x1be0d9(0x189),'qxNsJ':_0x1be0d9(0x1a5),'brwZT':_0x1be0d9(0x1dd),'NrGeA':_0x1be0d9(0x183)};if(exports[_0x1be0d9(0x21c)]()&&!exports['isAccessibilityEnabled']()&&!_0x20c7de[_0x1be0d9(0x1f4)](isTestObservabilitySession)){if(_0x20c7de['SoybJ'](_0x2d3722,_0x20c7de['PKMnn']))return![];if([_0x20c7de[_0x1be0d9(0x174)],_0x20c7de[_0x1be0d9(0x1e6)]][_0x1be0d9(0x214)](_0x35e39a))return![];return!![];}if(exports[_0x1be0d9(0x1c4)]()&&!_0x20c7de[_0x1be0d9(0x1f4)](isTestObservabilitySession)){if([_0x20c7de[_0x1be0d9(0x19e)],_0x20c7de['NrGeA'],_0x20c7de[_0x1be0d9(0x174)]]['includes'](_0x35e39a))return![];return!![];}return exports[_0x1be0d9(0x1c4)]()||_0x20c7de[_0x1be0d9(0x1f4)](isTestObservabilitySession)||exports[_0x1be0d9(0x21c)]();},exports[a178_0x2ea43c(0x1be)]=(_0x3c9814,_0xa161a,_0x2d3e5a='',_0x49937f)=>{const _0x535d13=a178_0x2ea43c,_0x3b3050={'XiKbp':'HookRunStarted','KyImC':_0x535d13(0x183),'xdjtm':function(_0x45da8a,_0x55b9eb){return _0x45da8a===_0x55b9eb;},'xnVGO':_0x535d13(0x1e9),'FHbAK':_0x535d13(0x165),'gSPzK':_0x535d13(0x1ee),'wKRiN':function(_0x1b0468,_0x576120){return _0x1b0468&&_0x576120;},'cqiEN':function(_0x1b196b,_0x3d44c4){return _0x1b196b+_0x3d44c4;},'PROEn':function(_0x16d2a9,_0x7d0372){return _0x16d2a9+_0x7d0372;},'erOXo':function(_0x31dfb6,_0x182c4c){return _0x31dfb6&&_0x182c4c;},'kXdcM':function(_0x3c4396,_0x129f03){return _0x3c4396===_0x129f03;},'KktQQ':function(_0x21968d,_0x384d76){return _0x21968d(_0x384d76);},'qtTJy':_0x535d13(0x1e3),'XaWMv':function(_0x18eeb8,_0x58eaae){return _0x18eeb8+_0x58eaae;},'HvdYp':function(_0x291e82,_0x54fc9c){return _0x291e82&&_0x54fc9c;},'wDbgC':function(_0x55609f,_0x57108d){return _0x55609f!==_0x57108d;},'Qemwp':_0x535d13(0x1ab),'cxyvM':function(_0x1baaf4,_0x1e8639){return _0x1baaf4&&_0x1e8639;},'tpmsD':function(_0x2423a3,_0x41c27a){return _0x2423a3===_0x41c27a;},'McWiU':_0x535d13(0x1db)};if([_0x3b3050[_0x535d13(0x204)],_0x3b3050[_0x535d13(0x1ec)]][_0x535d13(0x214)](_0xa161a))return;let _0x224d97={};try{process[_0x535d13(0x1da)][_0x535d13(0x1d5)]&&(_0x224d97=JSON[_0x535d13(0x18c)](process['env'][_0x535d13(0x1d5)])||{});}catch(_0x454fa9){logger[_0x535d13(0x231)]('Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20'+_0x454fa9),_0x224d97={};}if(exports[_0x535d13(0x1c4)]()){if(_0x3b3050[_0x535d13(0x1c1)](_0x49937f,FRAMEWORKS[_0x535d13(0x233)])){const _0x5c4fee=globals['getGlobal'](_0x3b3050[_0x535d13(0x19f)])||accessibilityHelper[_0x535d13(0x17a)](_0x2d3e5a['titlePath'](),!![]),_0x246329=globals[_0x535d13(0x195)](_0x3b3050['FHbAK']);_0x224d97[_0x3b3050[_0x535d13(0x163)]]=_0x3b3050['wKRiN'](_0x246329,_0x5c4fee);}if(_0x3b3050['xdjtm'](_0x49937f,FRAMEWORKS['JEST'])){const _0x57f65b=_0x3b3050[_0x535d13(0x1b8)](_0x3b3050[_0x535d13(0x1b7)](_0x3c9814[_0x535d13(0x197)][_0x535d13(0x1e2)]('\x20'),'\x20'),_0x2d3e5a[_0x535d13(0x211)]),_0x419cb2=globals[_0x535d13(0x195)](_0x3b3050[_0x535d13(0x19f)])||accessibilityHelper[_0x535d13(0x17a)](_0x57f65b,![]),_0x1db487=browserStackGlobals[_0x535d13(0x165)];_0x224d97[_0x3b3050[_0x535d13(0x163)]]=_0x3b3050[_0x535d13(0x1f9)](_0x1db487,_0x419cb2);}if(_0x3b3050[_0x535d13(0x1bf)](_0x49937f,FRAMEWORKS[_0x535d13(0x19d)])){const _0x5e63a7=_0x3b3050['KktQQ'](require,_0x3b3050[_0x535d13(0x238)]),_0x404512=_0x2d3e5a&&_0x5e63a7[_0x535d13(0x1cf)](_0x2d3e5a['id'])||_0x3c9814[_0x535d13(0x1eb)];_0x404512&&(_0x3c9814[_0x535d13(0x1eb)]=_0x404512);const _0x375d7a=_0x3b3050[_0x535d13(0x1e8)](_0x3b3050[_0x535d13(0x1b8)](_0x3c9814[_0x535d13(0x197)][_0x535d13(0x1e2)]('\x20'),'\x20'),_0x2d3e5a[_0x535d13(0x166)]||_0x3c9814['name']),_0x192a63=globals[_0x535d13(0x195)](_0x3b3050['xnVGO'])||accessibilityHelper[_0x535d13(0x17a)](_0x375d7a,![]),_0x364e9b=globals[_0x535d13(0x195)](_0x3b3050[_0x535d13(0x162)]);_0x224d97[_0x3b3050[_0x535d13(0x163)]]=_0x3b3050[_0x535d13(0x1a1)](_0x364e9b,_0x192a63);}_0x3b3050[_0x535d13(0x1bf)](_0x49937f,FRAMEWORKS[_0x535d13(0x1fa)])&&_0x3b3050[_0x535d13(0x16e)](_0xa161a,_0x3b3050[_0x535d13(0x206)])&&(_0x224d97[_0x3b3050['gSPzK']]=PWTestDetails[_0x535d13(0x20d)](_0x3c9814[_0x535d13(0x1eb)]));if(_0x3b3050['kXdcM'](_0x49937f,FRAMEWORKS['CODECEPT'])){const _0x290d46=accessibilityHelper[_0x535d13(0x17a)](_0x2d3e5a['titlePath'](),!![]),_0x2cd3d3=global[_0x535d13(0x1f5)];_0x224d97[_0x3b3050[_0x535d13(0x163)]]=_0x3b3050['cxyvM'](_0x2cd3d3,_0x290d46);}if(_0x3b3050[_0x535d13(0x1f3)](_0x49937f,FRAMEWORKS[_0x535d13(0x207)])){const _0x55ca68=accessibilityHelper[_0x535d13(0x17a)](null,![],_0x3c9814['tags']),_0x4c5311=globals[_0x535d13(0x195)](_0x3b3050[_0x535d13(0x162)]);_0x224d97[_0x3b3050['gSPzK']]=_0x3b3050['cxyvM'](_0x4c5311,_0x55ca68);}}_0x3c9814[_0x3b3050['McWiU']]=_0x224d97;},exports[a178_0x2ea43c(0x224)]=_0x55e9d2=>{const _0x37fed4=a178_0x2ea43c,_0x2537fe={};_0x2537fe['dwmHX']=function(_0x1d9138,_0x54e40f){return _0x1d9138>_0x54e40f;},_0x2537fe[_0x37fed4(0x22b)]=function(_0x1b2b52,_0x334171){return _0x1b2b52>_0x334171;};const _0x1931ad=_0x2537fe;let _0x148932={};if(_0x1931ad[_0x37fed4(0x17b)](Object[_0x37fed4(0x1b1)](testData)[_0x37fed4(0x16a)],0x0))return testData;_0x148932=JestTestDetails[_0x37fed4(0x19b)]();if(_0x1931ad[_0x37fed4(0x22b)](Object['keys'](_0x148932)[_0x37fed4(0x16a)],0x0))return _0x148932;return _0x148932;},exports['setCurrentTestData']=(_0x4c3026,_0x159854={})=>{const _0x3318fb=a178_0x2ea43c;if(bsSetupHelper[_0x3318fb(0x1a7)](_0x159854[_0x3318fb(0x1f1)]))return;switch(_0x4c3026){case FRAMEWORKS[_0x3318fb(0x233)]:testData=_0x159854[_0x3318fb(0x1f1)];break;case FRAMEWORKS[_0x3318fb(0x1b2)]:JestTestDetails[_0x3318fb(0x186)](_0x159854['test_run']);break;case FRAMEWORKS[_0x3318fb(0x19d)]:testData=_0x159854[_0x3318fb(0x1f1)];break;default:break;}},exports[a178_0x2ea43c(0x17c)]=_0x30adf3=>{const _0x1cbfc8=a178_0x2ea43c,_0x54987c={};_0x54987c[_0x1cbfc8(0x169)]=function(_0x10ad29,_0x243e57){return _0x10ad29!==_0x243e57;},_0x54987c[_0x1cbfc8(0x160)]=function(_0x142a95,_0x5939fd){return _0x142a95!==_0x5939fd;},_0x54987c['RctBk']=function(_0x253e71,_0x57b767){return _0x253e71!==_0x57b767;};const _0x231527=_0x54987c;if(_0x231527['ELAWE'](_0x30adf3['accessibility'],null)&&_0x231527['ELAWE'](_0x30adf3[_0x1cbfc8(0x1ee)],undefined))return _0x30adf3[_0x1cbfc8(0x1ee)];let _0x2156dd=![],_0x4651f2=![];if(_0x30adf3[_0x1cbfc8(0x1e7)])for(const _0xe6f8d0 of _0x30adf3[_0x1cbfc8(0x1e7)]){_0x231527['LnRia'](_0xe6f8d0[_0x1cbfc8(0x1ee)],null)&&_0x231527[_0x1cbfc8(0x18a)](_0xe6f8d0[_0x1cbfc8(0x1ee)],undefined)&&(_0x2156dd=_0x2156dd||bsSetupHelper['isTrue'](_0xe6f8d0['accessibility']),_0x4651f2=!![]);}if(_0x4651f2)return _0x2156dd;return null;},exports[a178_0x2ea43c(0x1df)]=_0x2ece4e=>{const _0x5d25e3=a178_0x2ea43c;if(!_0x2ece4e)return{};const _0xcfce0d=new OrchestrationUtils(_0x2ece4e);return _0xcfce0d[_0x5d25e3(0x16d)]();},exports['getProductMapForBuildStartCall']=_0x2dc9da=>{const _0x39fed3=a178_0x2ea43c,_0x256a41={'gVVvB':function(_0x75e7f){return _0x75e7f();},'cLTqz':function(_0x2d734f,_0x4d517a){return _0x2d734f===_0x4d517a;},'QYdxM':_0x39fed3(0x1fd)};let _0x22af7d=![],_0x18ee8b=![];if(bsSetupHelper[_0x39fed3(0x229)]()&&bsSetupHelper[_0x39fed3(0x220)](_0x2dc9da))_0x18ee8b=!![];else bsSetupHelper[_0x39fed3(0x229)]()&&(_0x22af7d=!![]);return Object[_0x39fed3(0x188)]({'observability':_0x256a41['gVVvB'](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x2dc9da),'percy':_0x2dc9da[_0x39fed3(0x184)]||![],'sr_automation':_0x256a41[_0x39fed3(0x1a4)](process[_0x39fed3(0x1da)][_0x39fed3(0x208)],_0x256a41[_0x39fed3(0x1e1)])||_0x2dc9da['sr_automation']||![],'automate':_0x22af7d,'app_automate':_0x18ee8b,'turboscale':bsSetupHelper[_0x39fed3(0x1d4)](_0x2dc9da),'lts':LoadTestModule[_0x39fed3(0x196)](_0x2dc9da)},bsSetupHelper[_0x39fed3(0x1d6)]());};const normalizeTestPlanId=_0x32c8ec=>{const _0x23c0cc=a178_0x2ea43c,_0x1f1475={};_0x1f1475[_0x23c0cc(0x1f7)]=function(_0x4dc720,_0x27b8c2){return _0x4dc720!==_0x27b8c2;},_0x1f1475[_0x23c0cc(0x1d3)]=_0x23c0cc(0x201),_0x1f1475[_0x23c0cc(0x22e)]=function(_0x1f19d9,_0x25d4d3){return _0x1f19d9>_0x25d4d3;};const _0x5438d4=_0x1f1475;if(_0x5438d4['HoXAq'](typeof _0x32c8ec,_0x5438d4[_0x23c0cc(0x1d3)]))return undefined;const _0x13be58=_0x32c8ec[_0x23c0cc(0x219)]();return _0x5438d4[_0x23c0cc(0x22e)](_0x13be58['length'],0x0)?_0x13be58:undefined;},readTestPlanIdFromCliArgs=(_0x4e1c7d=process[a178_0x2ea43c(0x1ff)])=>{const _0x1b89ec=a178_0x2ea43c,_0x4957e7={};_0x4957e7[_0x1b89ec(0x1aa)]=function(_0x5673c8,_0x389e7a){return _0x5673c8<_0x389e7a;},_0x4957e7['CkRRI']=function(_0x46da59,_0x2cd28a){return _0x46da59===_0x2cd28a;},_0x4957e7[_0x1b89ec(0x22f)]=function(_0x456983,_0x5d07ad){return _0x456983+_0x5d07ad;};const _0x138fd0=_0x4957e7,_0x162215='--'+testHubConstants[_0x1b89ec(0x16b)];for(let _0x2cc9d1=0x0;_0x138fd0[_0x1b89ec(0x1aa)](_0x2cc9d1,_0x4e1c7d[_0x1b89ec(0x16a)]);_0x2cc9d1+=0x1){const _0x3fe606=_0x4e1c7d[_0x2cc9d1];if(_0x138fd0[_0x1b89ec(0x205)](_0x3fe606,_0x162215)){const _0x4de201=_0x4e1c7d[_0x138fd0[_0x1b89ec(0x22f)](_0x2cc9d1,0x1)];if(!_0x4de201||_0x4de201[_0x1b89ec(0x1d2)]('--'))return undefined;return _0x4de201;}if(_0x3fe606[_0x1b89ec(0x1d2)](_0x162215+'='))return _0x3fe606['slice'](_0x138fd0['YdZvU'](_0x162215['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x366def={})=>{const _0x51d711=a178_0x2ea43c,_0x1258f2={'ochQU':function(_0x1c83ed,_0x13ef66){return _0x1c83ed(_0x13ef66);}};return _0x1258f2['ochQU'](normalizeTestPlanId,_0x366def&&_0x366def[_0x51d711(0x176)]&&_0x366def[_0x51d711(0x176)]['testPlanId']);};exports[a178_0x2ea43c(0x17d)]=(_0x3c8250={},_0x3e3fc6=process[a178_0x2ea43c(0x1ff)],_0x388f43=process[a178_0x2ea43c(0x1da)])=>{const _0x4b36d6=a178_0x2ea43c,_0x2855a6={'zWyjY':function(_0x54ef64,_0x5856b8){return _0x54ef64(_0x5856b8);},'sIFBF':function(_0x3d79a8,_0x3c43d2){return _0x3d79a8(_0x3c43d2);},'fKbnG':function(_0x1fd8eb,_0x54413c){return _0x1fd8eb(_0x54413c);}};try{const _0x19aff9=_0x2855a6[_0x4b36d6(0x1bd)](normalizeTestPlanId,_0x2855a6[_0x4b36d6(0x200)](readTestPlanIdFromCliArgs,_0x3e3fc6));if(_0x19aff9)return _0x19aff9;const _0x17e04c=_0x2855a6[_0x4b36d6(0x200)](normalizeTestPlanId,_0x388f43&&_0x388f43[testHubConstants[_0x4b36d6(0x1f6)][_0x4b36d6(0x212)]]);if(_0x17e04c)return _0x17e04c;return _0x2855a6[_0x4b36d6(0x21d)](readTestPlanIdFromConfig,_0x3c8250);}catch(_0xe4eb22){return logger[_0x4b36d6(0x231)](_0x4b36d6(0x236)+(_0xe4eb22&&_0xe4eb22[_0x4b36d6(0x20a)]?_0xe4eb22['message']:_0xe4eb22)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a176_0x55973b=a176_0xc88e;(function(_0x546f4a,_0x164bda){const _0x495d9e=a176_0xc88e,_0x5c0517=_0x546f4a();while(!![]){try{const _0x3b96a7=parseInt(_0x495d9e(0x1bc))/0x1*(-parseInt(_0x495d9e(0x1e8))/0x2)+parseInt(_0x495d9e(0x207))/0x3*(parseInt(_0x495d9e(0x18a))/0x4)+parseInt(_0x495d9e(0x1c5))/0x5+-parseInt(_0x495d9e(0x1eb))/0x6+parseInt(_0x495d9e(0x1bb))/0x7+-parseInt(_0x495d9e(0x185))/0x8*(parseInt(_0x495d9e(0x1bd))/0x9)+parseInt(_0x495d9e(0x1d9))/0xa*(-parseInt(_0x495d9e(0x194))/0xb);if(_0x3b96a7===_0x164bda)break;else _0x5c0517['push'](_0x5c0517['shift']());}catch(_0x3f5965){_0x5c0517['push'](_0x5c0517['shift']());}}}(a176_0x9085,0x69000));const os=require('os'),util=require(a176_0x55973b(0x206)),fs=require('fs'),{getProductMap}=require(a176_0x55973b(0x180)),logger=require(a176_0x55973b(0x187))[a176_0x55973b(0x201)],constants=require(a176_0x55973b(0x1c0)),testHubConstants=require(a176_0x55973b(0x179)),{getTransformPath}=require(a176_0x55973b(0x1fb)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a176_0x55973b(0x1c0)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a176_0x55973b(0x1d4)),PerformanceTester=require(a176_0x55973b(0x1cd)),globals=require('./globals'),helper=require(a176_0x55973b(0x1d4)),{isTestObservabilitySession}=require(a176_0x55973b(0x19f));let unhandledErrors='';function a176_0x9085(){const _0x2045bb=['name',',\x20testhub\x20id:\x20','isAppAutomateSession','config','browser','setReadWriteExecuteAccess','Error\x20in\x20firing\x20request\x20to\x20','../bin/playwright/reporter/pwUtils','KdgnW','keys','sendLogs','sdkRunId','join','winstonLogger','parse','getUserName','isTurboScaleSession','FuVbS','util','639ZYRQsA','W_OK','getTestFrameworkDetails','X_OK','APP_AUTOMATE_PRODUCTS','osVersion','../helpers/testhub/constants','deviceName','assign','info','RJAxh','SDK\x20run\x20ended\x20for\x20id:\x20','null','./testhub/utils','finishedMetadata','pVSVu','RkQad','fireFunnelTestEvent','21464bRedha','event_properties','./logger','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','sPcmJ','11396azZCAZ','stopPercy','getGlobal','toString','klYvq','framework','ZufZu','bPSXE','forEach','\x20response\x20-\x20','11JBhICW','SDKTestSuccessful','ENV_VAR','wkaRr','NseCn','Failed\x20to\x20set\x20directory\x20access:\x20','body','DTKxy','all','isBrowserstackInfra','RlZTD','./test-observability/utils','trim','TlesU','unhandledErrors','every','seleniumVersion','qXNUF','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','apply','AUTOMATE','VNcQm','getSessionsList','version','debug','\x20:\x20','hIULU','getNodeAgent','Yqfbe','split','hubAllocation','DXekZ','user_killed','push','constants','errorMessage','[REDACTED]','error','undefined','2694188ZOikQm','3547nzpVsa','2817cWDUCF','application/json','AUTOMATE_PRODUCTS','../bin/utils/constants','globalException','requirePWModule','CYUqw','sirxT','4284390VOFVQF','_hubAllocationData','getTurboScaleSessionsList','vhisi','LPEAS','MNgJg','content-type','isNullOrEmpty','./performance/performance-tester','object','zHCgL','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','length','accessSync','replace','./helper','vInka','bAsqc','getOptimalHubUrl','reduce','3089680CEYUaJ','hGLoz','values','getStackTraceAsString','gPZOT','qfosE','\x20has\x20now\x20read/write/execute\x20permissions.','source','getFrameworkVersion','env','MdjmH','selenium-webdriver','killSignal','BROWSERSTACK_TESTHUB_UUID','getTurboScaleBuildLink','70cvXzTe','cthiK','finalExecutionRan','873762wlvfOO','Playwright','format','uaQks','notifyUpdate','wSHYT','getAccessKey','browserVersion','playwrightVersion'];a176_0x9085=function(){return _0x2045bb;};return a176_0x9085();}function a176_0xc88e(_0x5432c6,_0x484372){const _0x90856=a176_0x9085();return a176_0xc88e=function(_0xc88e22,_0x5e3ae0){_0xc88e22=_0xc88e22-0x176;let _0x39128c=_0x90856[_0xc88e22];return _0x39128c;},a176_0xc88e(_0x5432c6,_0x484372);}exports[a176_0x55973b(0x184)]=async(_0x5c0e3e,_0x12f5a5={},_0x29bc28,_0x2325ab,_0x96da4d=![])=>{const _0x5310f1=a176_0x55973b,_0x1c364c={'zHCgL':function(_0x591698,_0x327715){return _0x591698===_0x327715;},'LPEAS':_0x5310f1(0x1ce),'ZufZu':function(_0x3b9c78,_0x76578d){return _0x3b9c78>_0x76578d;},'qfosE':function(_0x4bbc8e,_0x222774){return _0x4bbc8e>_0x222774;},'bAsqc':'tests','NseCn':function(_0xc42358){return _0xc42358();},'wSHYT':function(_0x705354,_0x41c0ce){return _0x705354==_0x41c0ce;},'MNgJg':_0x5310f1(0x17f),'bPSXE':_0x5310f1(0x1ba),'sirxT':'codeceptjs','DTKxy':function(_0x4fc9d2,_0x12e283){return _0x4fc9d2>_0x12e283;},'Yqfbe':function(_0x4398bd,_0xd56710){return _0x4398bd!==_0xd56710;},'pVSVu':_0x5310f1(0x1ec),'qXNUF':function(_0x41ab94,_0x35e048){return _0x41ab94===_0x35e048;},'TlesU':'error','FuVbS':function(_0xe7bdd8,_0xfd22b3){return _0xe7bdd8+_0xfd22b3;},'PuAqu':_0x5310f1(0x1d0),'WZWMa':'_buildHashedId','MdjmH':function(_0x242599,_0x508561){return _0x242599(_0x508561);},'vhisi':'unknown','hIULU':'nodejs','klYvq':_0x5310f1(0x195),'vInka':function(_0x32a956){return _0x32a956();},'ojJnO':_0x5310f1(0x1e4),'mHGEm':_0x5310f1(0x1be),'RlZTD':_0x5310f1(0x1b8),'wkaRr':'POST'};let _0x232fda=[];if(helper[_0x5310f1(0x19d)]()&&_0x1c364c[_0x5310f1(0x198)](isTestObservabilitySession))_0x232fda=helper[_0x5310f1(0x1f6)](_0x29bc28)?constants[_0x5310f1(0x177)]:constants[_0x5310f1(0x1bf)];else{if(_0x1c364c[_0x5310f1(0x198)](isTestObservabilitySession))_0x232fda=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x5310f1(0x19d)]()&&(_0x232fda=helper[_0x5310f1(0x1f6)](_0x29bc28)?constants['APP_AUTOMATE']:constants[_0x5310f1(0x1a8)]);}let _0xcb8ce6=_0x29bc28['buildIdentifier'];if(_0x1c364c[_0x5310f1(0x1f0)](_0xcb8ce6,null))_0xcb8ce6=_0x1c364c[_0x5310f1(0x1ca)];else _0x1c364c[_0x5310f1(0x1cf)](_0xcb8ce6,undefined)&&(_0xcb8ce6=_0x1c364c[_0x5310f1(0x191)]);unhandledErrors&&_0x1c364c['ZufZu'](unhandledErrors[_0x5310f1(0x1d1)],0x0)&&(_0x12f5a5[_0x5310f1(0x1c1)]=unhandledErrors);global[_0x5310f1(0x1ff)]&&(_0x12f5a5['sdkRunId']=global[_0x5310f1(0x1ff)]);try{if(_0x12f5a5[_0x5310f1(0x1b9)]){if(_0x1c364c[_0x5310f1(0x1cf)](_0x2325ab,_0x1c364c[_0x5310f1(0x1c4)])&&_0x1c364c[_0x5310f1(0x19b)](_0x12f5a5[_0x5310f1(0x1b9)]['length'],0x0)){const _0x44f52b={};_0x44f52b['os']='',_0x44f52b['osVersion']='',_0x44f52b[_0x5310f1(0x1f8)]='',_0x44f52b['browserVersion']='';const _0x2f2941=_0x44f52b;let _0x5be2f4={};const _0x4c74f7=_0x12f5a5[_0x5310f1(0x1b9)];_0x5be2f4=_0x4c74f7[_0x5310f1(0x1d8)]((_0x2e5a45,_0x2c1a05)=>{for(const _0x22aeae in _0x2c1a05){_0x2e5a45[_0x22aeae]=_0x2c1a05[_0x22aeae];}return _0x2e5a45;},{});const _0x5c4650={};_0x5c4650['tests']=_0x5be2f4,_0x12f5a5['error']=[Object[_0x5310f1(0x17b)]({},_0x2f2941,_0x5c4650)];}else{let _0x25a0a1=0x0;const _0x5cdac6=_0x1c364c[_0x5310f1(0x1b0)](_0x2325ab,_0x1c364c['pVSVu'])?JSON[_0x5310f1(0x202)](_0x12f5a5[_0x5310f1(0x1b9)]):_0x12f5a5[_0x5310f1(0x1b9)],_0x124d73=Object[_0x5310f1(0x1db)](_0x5cdac6);_0x124d73[_0x5310f1(0x192)](_0x103f75=>{const _0x1a8e68=_0x5310f1;if(_0x1c364c[_0x1a8e68(0x1cf)](typeof _0x103f75,_0x1c364c[_0x1a8e68(0x1c9)])){const _0x372668=Object[_0x1a8e68(0x1db)](_0x103f75);!_0x372668[_0x1a8e68(0x1a3)](_0x5208d4=>_0x5208d4===null||_0x5208d4===undefined||_0x5208d4==='')&&(_0x25a0a1+=0x1);}});if(_0x1c364c[_0x5310f1(0x1a5)](_0x25a0a1,0x0))delete _0x12f5a5[_0x1c364c[_0x5310f1(0x1a1)]];else{const _0x2fd80b=[];Object['keys'](_0x5cdac6)[_0x5310f1(0x192)](_0x53bb9f=>{const _0x346049=_0x5310f1,_0x124ce4={'uaQks':function(_0x5c4e61,_0x125886){return _0x1c364c['ZufZu'](_0x5c4e61,_0x125886);}},[_0x18edf2,_0x40fa9c,_0x327ccd,_0x5d8907]=_0x53bb9f[_0x346049(0x1b1)](',\x20');let _0xe07569={};if(!_0x5d8907){const _0x1f956b={};_0x1f956b[_0x346049(0x17a)]=_0x18edf2,_0x1f956b[_0x346049(0x178)]=_0x40fa9c,_0x1f956b[_0x346049(0x1f8)]=_0x327ccd,_0xe07569=_0x1f956b;}else{const _0x50d4f3={};_0x50d4f3['os']=_0x18edf2,_0x50d4f3['osVersion']=_0x40fa9c,_0x50d4f3[_0x346049(0x1f8)]=_0x327ccd,_0x50d4f3[_0x346049(0x1f2)]=_0x5d8907,_0xe07569=_0x50d4f3;}const _0x1a210f={},_0x3baf80=_0x5cdac6[_0x53bb9f];Object[_0x346049(0x1fd)](_0x3baf80)[_0x346049(0x192)](_0x23891c=>{const _0x171505=_0x346049;_0x124ce4[_0x171505(0x1ee)](_0x3baf80[_0x23891c]['length'],0x0)&&(_0x1a210f[_0x23891c]=_0x3baf80[_0x23891c]);}),_0x1c364c[_0x346049(0x1de)](Object['keys'](_0x1a210f)[_0x346049(0x1d1)],0x0)&&(_0xe07569[_0x1c364c[_0x346049(0x1d6)]]=_0x1a210f,_0x2fd80b[_0x346049(0x1b5)](_0xe07569));}),_0x1c364c[_0x5310f1(0x190)](_0x2fd80b[_0x5310f1(0x1d1)],0x0)?_0x12f5a5[_0x5310f1(0x1b9)]=_0x2fd80b:delete _0x12f5a5[_0x1c364c[_0x5310f1(0x1a1)]];}}}}catch(_0x47384e){delete _0x12f5a5[_0x1c364c[_0x5310f1(0x1a1)]],logger[_0x5310f1(0x1ac)](_0x1c364c[_0x5310f1(0x205)](_0x1c364c['PuAqu'],_0x47384e));}const _0x18d6b7=helper[_0x5310f1(0x209)](_0x29bc28,_0x29bc28[_0x5310f1(0x18f)]),_0x4f04fb={'userName':helper[_0x5310f1(0x203)](_0x29bc28),'accessKey':helper[_0x5310f1(0x1f1)](_0x29bc28),'event_type':_0x5c0e3e,'detectedFramework':_0x2325ab,'buildHashedId':globals[_0x5310f1(0x18c)](_0x1c364c['WZWMa']),'optimalHubUrl':helper[_0x5310f1(0x1d7)](),'event_properties':{'testhub_uuid':process[_0x5310f1(0x1e2)][testHubConstants[_0x5310f1(0x196)][_0x5310f1(0x1e6)]]||'','sdkRunId':global[_0x5310f1(0x1ff)],'product_map':_0x1c364c[_0x5310f1(0x1e3)](getProductMap,_0x29bc28),'productMap':_0x1c364c[_0x5310f1(0x1e3)](getProductMap,_0x29bc28),'language_framework':_0x29bc28[_0x5310f1(0x1e0)]||_0x1c364c['vhisi'],'referrer':helper[_0x5310f1(0x1af)](_0x2325ab),'framework':_0x29bc28[_0x5310f1(0x18f)],'frameworkVersion':helper[_0x5310f1(0x1e1)](_0x2325ab),'automationFramework':_0x18d6b7[_0x5310f1(0x1f4)],'automationFrameworkVersion':_0x18d6b7[_0x5310f1(0x1ab)],'language':_0x1c364c[_0x5310f1(0x1ae)],'languageVersion':process[_0x5310f1(0x1ab)],'product':_0x232fda,'buildName':_0x29bc28['buildName']||_0x1c364c[_0x5310f1(0x191)],'buildIdentifier':_0xcb8ce6,'os':os['type']()||_0x1c364c[_0x5310f1(0x1c8)],'hostname':os['hostname']()||_0x1c364c[_0x5310f1(0x1c8)],..._0x12f5a5,'isCLIEnabled':_0x96da4d}};try{_0x1c364c[_0x5310f1(0x1cf)](_0x5c0e3e,_0x1c364c[_0x5310f1(0x18e)])&&(_0x4f04fb[_0x5310f1(0x186)]['browserStackConfig']=helper['sanitizeBrowserStackConfig'](_0x29bc28)),_0x1c364c[_0x5310f1(0x1cf)](_0x2325ab,_0x1c364c[_0x5310f1(0x182)])?_0x4f04fb['event_properties'][_0x5310f1(0x1f3)]=helper[_0x5310f1(0x1c2)][_0x5310f1(0x1a7)](null,_0x1c364c[_0x5310f1(0x1d5)](getTransformPath),!![]):_0x4f04fb['event_properties'][_0x5310f1(0x1a4)]=helper['getPackageVersion'](_0x1c364c['ojJnO']);}catch(_0x2486d7){logger[_0x5310f1(0x1ac)](_0x5310f1(0x188)+_0x2486d7);}const _0x2a80f7={};_0x2a80f7[_0x5310f1(0x1cb)]=_0x1c364c['mHGEm'];const _0x157599={'headers':_0x2a80f7,'body':_0x4f04fb,'auth':{'user':helper[_0x5310f1(0x203)](_0x29bc28),'pass':helper[_0x5310f1(0x1f1)](_0x29bc28)},'json':!![]};logger[_0x5310f1(0x1ac)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON['stringify'](_0x157599[_0x5310f1(0x19a)])[_0x5310f1(0x1d3)](new RegExp(helper[_0x5310f1(0x203)](_0x29bc28),'g'),_0x1c364c['RlZTD'])[_0x5310f1(0x1d3)](new RegExp(helper['getAccessKey'](_0x29bc28),'g'),_0x1c364c[_0x5310f1(0x19e)]));try{const _0x40d087=await helper['nodeRequest'](_0x1c364c[_0x5310f1(0x197)],FUNNEL_INSTRUMENTATION_API_URL,_0x157599,_0x29bc28);logger[_0x5310f1(0x1ac)]('API\x20Event\x20'+_0x5c0e3e+_0x5310f1(0x193)+util[_0x5310f1(0x1ed)]('%j',_0x40d087));}catch(_0x483eff){logger[_0x5310f1(0x1ac)](_0x5310f1(0x1fa)+FUNNEL_INSTRUMENTATION_API_URL+_0x5310f1(0x1ad)+util['format'](_0x483eff));}},exports['finalExecution']=async(_0x38bed2,_0x55f2ac=![])=>{const _0xdefe45=a176_0x55973b,_0xccf368={'KdgnW':function(_0x38b80f){return _0x38b80f();},'TxGDG':_0xdefe45(0x1c6),'cthiK':_0xdefe45(0x181),'DXekZ':_0xdefe45(0x1b4),'RJAxh':_0xdefe45(0x195),'gPZOT':function(_0x5766a5,_0x4cf01e,_0x32a06c){return _0x5766a5(_0x4cf01e,_0x32a06c);},'XpAHR':function(_0x139348,_0x2dad3b){return _0x139348+_0x2dad3b;},'VNcQm':_0xdefe45(0x1a6)};if(_0x38bed2[_0xdefe45(0x1ea)])return;_0x38bed2[_0xdefe45(0x1ea)]=!![];try{await _0x38bed2[_0xdefe45(0x18b)](),_0xccf368[_0xdefe45(0x1fc)](printNudgeLocalNotSetError);const _0x13153f={};_0x13153f['error']=_0x38bed2[_0xdefe45(0x1b7)]?_0x38bed2[_0xdefe45(0x1b7)]:'{}';const _0x159811=_0x13153f,_0x542abe=Object[_0xdefe45(0x17b)]({},_0x159811),_0x4fa019=globals['getGlobal'](_0xccf368['TxGDG']);_0x4fa019&&(_0x542abe[_0xdefe45(0x1b2)]=_0x4fa019);!!_0x38bed2[_0xdefe45(0x1e5)]&&(_0x542abe[_0xccf368[_0xdefe45(0x1e9)]]={'reason':_0xccf368[_0xdefe45(0x1b3)],'signal':_0x38bed2[_0xdefe45(0x1e5)]});unhandledErrors=_0x38bed2[_0xdefe45(0x1a2)][_0xdefe45(0x200)]('\x0a');let _0xf0a4f9,_0xc2fc58,_0x48816f;helper[_0xdefe45(0x204)](_0x38bed2[_0xdefe45(0x1f7)])?([_0xf0a4f9,_0xc2fc58]=await helper[_0xdefe45(0x1e7)](_0x38bed2[_0xdefe45(0x1f7)]),[_0x48816f]=await Promise[_0xdefe45(0x19c)]([helper[_0xdefe45(0x1c7)](_0xf0a4f9,_0x38bed2[_0xdefe45(0x1f7)]),exports[_0xdefe45(0x184)](_0xccf368[_0xdefe45(0x17d)],_0x542abe,_0x38bed2[_0xdefe45(0x1f7)],_0x38bed2[_0xdefe45(0x18f)],_0x55f2ac)])):([_0xf0a4f9,_0xc2fc58]=await helper['getBuildLink'](_0x38bed2[_0xdefe45(0x1f7)]),[_0x48816f]=await Promise[_0xdefe45(0x19c)]([helper[_0xdefe45(0x1aa)](_0xf0a4f9,_0x38bed2[_0xdefe45(0x1f7)]),exports[_0xdefe45(0x184)](_0xccf368[_0xdefe45(0x17d)],_0x542abe,_0x38bed2['config'],_0x38bed2[_0xdefe45(0x18f)],_0x55f2ac)])),_0x48816f&&await _0xccf368[_0xdefe45(0x1dd)](generateCIArtifacts,_0x48816f,_0xc2fc58),logger[_0xdefe45(0x17c)](_0xdefe45(0x17e)+_0x38bed2[_0xdefe45(0x1ff)]+_0xdefe45(0x1f5)+process[_0xdefe45(0x1e2)][_0xdefe45(0x1e6)]),await helper[_0xdefe45(0x1fe)](_0x38bed2[_0xdefe45(0x1f7)]);}catch(_0x39af30){logger[_0xdefe45(0x1ac)](_0xccf368['XpAHR'](_0xccf368[_0xdefe45(0x1a9)],_0x39af30));}helper[_0xdefe45(0x1ef)]();},exports[a176_0x55973b(0x1dc)]=_0x4ca6a2=>{const _0x571ad5=a176_0x55973b,_0x1bd8c1={'sPcmJ':function(_0x4c28a1,_0x16bde3){return _0x4c28a1 instanceof _0x16bde3;},'hGLoz':function(_0x3e23de,_0x2bcf73){return _0x3e23de(_0x2bcf73);}};try{if(_0x1bd8c1[_0x571ad5(0x189)](_0x4ca6a2,Error))return _0x4ca6a2['stack']||_0x4ca6a2[_0x571ad5(0x18d)]();return _0x1bd8c1[_0x571ad5(0x1da)](String,_0x4ca6a2);}catch(_0x2e6c9e){return _0x4ca6a2?_0x4ca6a2['toString']():'';}},exports[a176_0x55973b(0x1cc)]=_0x2eeb1c=>{const _0x43d802=a176_0x55973b,_0x1df802={};_0x1df802[_0x43d802(0x1c3)]=function(_0x4d1c1e,_0x31f58c){return _0x4d1c1e===_0x31f58c;};const _0x49410e=_0x1df802;return!_0x2eeb1c||_0x49410e[_0x43d802(0x1c3)](_0x2eeb1c[_0x43d802(0x1a0)](),'');},exports['isModifiable']=_0x2f414e=>{const _0x5e4f24=a176_0x55973b,_0x5f08c2={};_0x5f08c2[_0x5e4f24(0x183)]=function(_0x32d42f,_0x24cfc1){return _0x32d42f|_0x24cfc1;};const _0x2852d0=_0x5f08c2;try{return fs[_0x5e4f24(0x1d2)](_0x2f414e,_0x2852d0[_0x5e4f24(0x183)](fs[_0x5e4f24(0x1b6)][_0x5e4f24(0x208)],fs[_0x5e4f24(0x1b6)][_0x5e4f24(0x176)])),!![];}catch(_0x2232a4){return![];}},exports[a176_0x55973b(0x1f9)]=_0x369229=>{const _0x4562ba=a176_0x55973b;try{fs['chmodSync'](_0x369229,0x1ff),logger[_0x4562ba(0x1ac)]('Directory\x20'+_0x369229+_0x4562ba(0x1df));}catch(_0x1b42cf){logger[_0x4562ba(0x1b9)](_0x4562ba(0x199)+exports[_0x4562ba(0x1dc)](_0x1b42cf));}};
|
|
1
|
+
const a179_0xf109c6=a179_0x3890;function a179_0x2603(){const _0x5caf25=['Directory\x20','Failed\x20to\x20set\x20directory\x20access:\x20','globalException','finalExecutionRan','source','null','\x20has\x20now\x20read/write/execute\x20permissions.','hubAllocation','codeceptjs','body','event_properties','object','isBrowserstackInfra','EimXM','split','Error\x20in\x20firing\x20request\x20to\x20','FIvOc','Dwtwz','getPackageVersion','24CGcxJg','stack','browserStackConfig','SwjgJ','eBoUt','finalExecution','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','ZjjWC','getAccessKey','6727900zhBzRv','_hubAllocationData','W_OK','isTurboScaleSession','376584idUfMy','YAWoZ','getTurboScaleSessionsList','UnFmz','LkYBC','1230744OPVSFd','type','../bin/utils/constants','framework','./globals','getTurboScaleBuildLink','9YwcdDU','osVersion','user_killed','content-type','HJptT','requirePWModule','debug','./helper','unknown','NsfFh','API\x20Event\x20','playwrightVersion','apply','wzqDX','vzItu','parse','browserVersion','mGZdp','undefined','trim','603463OmIbKA','chmodSync','wnyYn','../helpers/testhub/constants','reduce','stringify','nodejs','260sutWog','APP_AUTOMATE_PRODUCTS','SDK\x20run\x20ended\x20for\x20id:\x20','isNullOrEmpty','setReadWriteExecuteAccess','durnR','iMijC','sdkRunId','util','./logger','killSignal','uXvZV','nodeRequest','join','XOHwf','nPzlB','all','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','ZEORT','bODKN','forEach','error','isAppAutomateSession','push','../bin/playwright/reporter/pwUtils','accessSync','getFrameworkVersion','fireFunnelTestEvent','gUEdG','584541jXxYLT','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','values','env','toString','winstonLogger','getSessionsList','getBuildLink','every','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','30072nWyQEB','info','pLcwu','ynOII','browser','buildIdentifier','format','BROWSERSTACK_TESTHUB_UUID','replace','IkvWW','keys','DHlTx','sendLogs','\x20:\x20','sanitizeBrowserStackConfig','getStackTraceAsString','WpXab','AUTOMATE_PRODUCTS','844040LLhOQg','constants','getNodeAgent','getUserName','SDKTestSuccessful','ZPhAy','config','eZwID','stopPercy','YkHhx','application/json','seleniumVersion','length','tests','./test-observability/utils','NhCvr','name','getGlobal','selenium-webdriver','errorMessage'];a179_0x2603=function(){return _0x5caf25;};return a179_0x2603();}(function(_0x51a96f,_0xe7a332){const _0x2f8267=a179_0x3890,_0x570aec=_0x51a96f();while(!![]){try{const _0x22fe49=parseInt(_0x2f8267(0xd7))/0x1+parseInt(_0x2f8267(0x110))/0x2+-parseInt(_0x2f8267(0x116))/0x3*(parseInt(_0x2f8267(0x10b))/0x4)+-parseInt(_0x2f8267(0x131))/0x5*(-parseInt(_0x2f8267(0xc5))/0x6)+parseInt(_0x2f8267(0x12a))/0x7*(-parseInt(_0x2f8267(0xfe))/0x8)+-parseInt(_0x2f8267(0xbb))/0x9+-parseInt(_0x2f8267(0x107))/0xa;if(_0x22fe49===_0xe7a332)break;else _0x570aec['push'](_0x570aec['shift']());}catch(_0x23a92c){_0x570aec['push'](_0x570aec['shift']());}}}(a179_0x2603,0x6bb90));function a179_0x3890(_0x17b46e,_0x57d056){const _0x260350=a179_0x2603();return a179_0x3890=function(_0x38901d,_0x17fbf0){_0x38901d=_0x38901d-0xac;let _0x1f1615=_0x260350[_0x38901d];return _0x1f1615;},a179_0x3890(_0x17b46e,_0x57d056);}const os=require('os'),util=require(a179_0xf109c6(0x139)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a179_0xf109c6(0x13a))[a179_0xf109c6(0xc0)],constants=require(a179_0xf109c6(0x112)),testHubConstants=require(a179_0xf109c6(0x12d)),{getTransformPath}=require(a179_0xf109c6(0xb6)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a179_0xf109c6(0x112)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a179_0xf109c6(0x11d)),PerformanceTester=require('./performance/performance-tester'),globals=require(a179_0xf109c6(0x114)),helper=require('./helper'),{isTestObservabilitySession}=require(a179_0xf109c6(0xe5));let unhandledErrors='';exports[a179_0xf109c6(0xb9)]=async(_0x3275a3,_0x17d146={},_0x3fd06c,_0x5d1cdf,_0x457edb=![])=>{const _0x4c6e54=a179_0xf109c6,_0x358c2b={'gIOCW':function(_0x191f03,_0x5e59fe){return _0x191f03===_0x5e59fe;},'BEReC':_0x4c6e54(0xf6),'LkYBC':function(_0x4d0067,_0x539e79){return _0x4d0067>_0x539e79;},'IRAJn':function(_0x528dc2,_0x336d3f){return _0x528dc2>_0x336d3f;},'wzqDX':_0x4c6e54(0xe4),'NhCvr':function(_0x590ee){return _0x590ee();},'ZEORT':function(_0x5d964c){return _0x5d964c();},'SwjgJ':function(_0x53fd75,_0x226a17){return _0x53fd75==_0x226a17;},'OnPMW':_0x4c6e54(0xf0),'ZPhAy':function(_0x5789ff,_0x4b630b){return _0x5789ff===_0x4b630b;},'wnyYn':_0x4c6e54(0x128),'NsfFh':function(_0x2acf9c,_0x593b35){return _0x2acf9c===_0x593b35;},'WpXab':_0x4c6e54(0xf3),'BySgn':function(_0x1cf523,_0x1a2e3d){return _0x1cf523!==_0x1a2e3d;},'pLcwu':'Playwright','YAWoZ':function(_0x4b0b9a,_0x28aa55){return _0x4b0b9a===_0x28aa55;},'durnR':_0x4c6e54(0xb3),'fEZUX':function(_0x178583,_0x3d568f){return _0x178583+_0x3d568f;},'DHlTx':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','ZjjWC':'_buildHashedId','FIvOc':function(_0x507113,_0x1ebd39){return _0x507113(_0x1ebd39);},'iMijC':function(_0x1bc17e,_0x3f854b){return _0x1bc17e(_0x3f854b);},'mGZdp':_0x4c6e54(0x11e),'IkvWW':_0x4c6e54(0x130),'eZwID':_0x4c6e54(0xdb),'bODKN':_0x4c6e54(0xe9),'nPzlB':_0x4c6e54(0xe1),'Dwtwz':'[REDACTED]','HJptT':'POST'};let _0x2d318a=[];if(helper[_0x4c6e54(0xf7)]()&&_0x358c2b[_0x4c6e54(0xe6)](isTestObservabilitySession))_0x2d318a=helper[_0x4c6e54(0xb4)](_0x3fd06c)?constants[_0x4c6e54(0x132)]:constants[_0x4c6e54(0xd6)];else{if(_0x358c2b[_0x4c6e54(0xb0)](isTestObservabilitySession))_0x2d318a=constants[_0x4c6e54(0xc4)];else helper[_0x4c6e54(0xf7)]()&&(_0x2d318a=helper[_0x4c6e54(0xb4)](_0x3fd06c)?constants['APP_AUTOMATE']:constants['AUTOMATE']);}let _0xebe770=_0x3fd06c[_0x4c6e54(0xca)];if(_0x358c2b[_0x4c6e54(0x101)](_0xebe770,null))_0xebe770=_0x358c2b['OnPMW'];else _0x358c2b[_0x4c6e54(0xdc)](_0xebe770,undefined)&&(_0xebe770=_0x358c2b[_0x4c6e54(0x12c)]);unhandledErrors&&_0x358c2b[_0x4c6e54(0x10f)](unhandledErrors['length'],0x0)&&(_0x17d146[_0x4c6e54(0xed)]=unhandledErrors);global['sdkRunId']&&(_0x17d146[_0x4c6e54(0x138)]=global[_0x4c6e54(0x138)]);try{if(_0x17d146[_0x4c6e54(0xb3)]){if(_0x358c2b[_0x4c6e54(0x11f)](_0x5d1cdf,_0x358c2b[_0x4c6e54(0xd5)])&&_0x358c2b[_0x4c6e54(0x10f)](_0x17d146[_0x4c6e54(0xb3)][_0x4c6e54(0xe3)],0x0)){const _0x2c8cbd={};_0x2c8cbd['os']='',_0x2c8cbd[_0x4c6e54(0x117)]='',_0x2c8cbd[_0x4c6e54(0xc9)]='',_0x2c8cbd['browserVersion']='';const _0x25b2d9=_0x2c8cbd;let _0x4c4848={};const _0x21bbbf=_0x17d146[_0x4c6e54(0xb3)];_0x4c4848=_0x21bbbf[_0x4c6e54(0x12e)]((_0x99e567,_0x26e962)=>{for(const _0x2452e2 in _0x26e962){_0x99e567[_0x2452e2]=_0x26e962[_0x2452e2];}return _0x99e567;},{});const _0x5b2c9a={};_0x5b2c9a[_0x4c6e54(0xe4)]=_0x4c4848,_0x17d146[_0x4c6e54(0xb3)]=[Object['assign']({},_0x25b2d9,_0x5b2c9a)];}else{let _0x49d722=0x0;const _0x208f78=_0x358c2b['BySgn'](_0x5d1cdf,_0x358c2b[_0x4c6e54(0xc7)])?JSON[_0x4c6e54(0x125)](_0x17d146[_0x4c6e54(0xb3)]):_0x17d146[_0x4c6e54(0xb3)],_0x1feb6e=Object[_0x4c6e54(0xbd)](_0x208f78);_0x1feb6e['forEach'](_0x5dc601=>{const _0x2eae6f=_0x4c6e54;if(_0x358c2b['gIOCW'](typeof _0x5dc601,_0x358c2b['BEReC'])){const _0xf7988c=Object[_0x2eae6f(0xbd)](_0x5dc601);!_0xf7988c[_0x2eae6f(0xc3)](_0x4152f7=>_0x4152f7===null||_0x4152f7===undefined||_0x4152f7==='')&&(_0x49d722+=0x1);}});if(_0x358c2b[_0x4c6e54(0x10c)](_0x49d722,0x0))delete _0x17d146[_0x358c2b[_0x4c6e54(0x136)]];else{const _0x7be2f9=[];Object['keys'](_0x208f78)[_0x4c6e54(0xb2)](_0x2a29c9=>{const _0x59b024=_0x4c6e54,_0x4d178b={'DCUdj':function(_0x4b36e3,_0x5f261f){return _0x358c2b['LkYBC'](_0x4b36e3,_0x5f261f);}},[_0x31345c,_0x19e0b3,_0x35c9a4,_0x905ab8]=_0x2a29c9[_0x59b024(0xf9)](',\x20');let _0x54862f={};if(!_0x905ab8){const _0x1b9c8e={};_0x1b9c8e['deviceName']=_0x31345c,_0x1b9c8e[_0x59b024(0x117)]=_0x19e0b3,_0x1b9c8e[_0x59b024(0xc9)]=_0x35c9a4,_0x54862f=_0x1b9c8e;}else{const _0x21eff8={};_0x21eff8['os']=_0x31345c,_0x21eff8['osVersion']=_0x19e0b3,_0x21eff8[_0x59b024(0xc9)]=_0x35c9a4,_0x21eff8[_0x59b024(0x126)]=_0x905ab8,_0x54862f=_0x21eff8;}const _0x1c3130={},_0x228d92=_0x208f78[_0x2a29c9];Object['keys'](_0x228d92)[_0x59b024(0xb2)](_0x8fe55=>{const _0x5b459e=_0x59b024;_0x4d178b['DCUdj'](_0x228d92[_0x8fe55][_0x5b459e(0xe3)],0x0)&&(_0x1c3130[_0x8fe55]=_0x228d92[_0x8fe55]);}),_0x358c2b['IRAJn'](Object[_0x59b024(0xcf)](_0x1c3130)[_0x59b024(0xe3)],0x0)&&(_0x54862f[_0x358c2b[_0x59b024(0x123)]]=_0x1c3130,_0x7be2f9[_0x59b024(0xb5)](_0x54862f));}),_0x358c2b[_0x4c6e54(0x10f)](_0x7be2f9['length'],0x0)?_0x17d146[_0x4c6e54(0xb3)]=_0x7be2f9:delete _0x17d146[_0x358c2b['durnR']];}}}}catch(_0x183d1d){delete _0x17d146[_0x358c2b[_0x4c6e54(0x136)]],logger['debug'](_0x358c2b['fEZUX'](_0x358c2b[_0x4c6e54(0xd0)],_0x183d1d));}const _0x27c109=helper['getTestFrameworkDetails'](_0x3fd06c,_0x3fd06c['framework']),_0x36b352={'userName':helper[_0x4c6e54(0xda)](_0x3fd06c),'accessKey':helper['getAccessKey'](_0x3fd06c),'event_type':_0x3275a3,'detectedFramework':_0x5d1cdf,'buildHashedId':globals[_0x4c6e54(0xe8)](_0x358c2b[_0x4c6e54(0x105)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x4c6e54(0xbe)][testHubConstants['ENV_VAR'][_0x4c6e54(0xcc)]]||'','sdkRunId':global[_0x4c6e54(0x138)],'product_map':_0x358c2b[_0x4c6e54(0xfb)](getProductMap,_0x3fd06c),'productMap':_0x358c2b[_0x4c6e54(0x137)](getProductMap,_0x3fd06c),'language_framework':_0x3fd06c[_0x4c6e54(0xef)]||_0x358c2b[_0x4c6e54(0x127)],'referrer':helper[_0x4c6e54(0xd9)](_0x5d1cdf),'framework':_0x3fd06c[_0x4c6e54(0x113)],'frameworkVersion':helper[_0x4c6e54(0xb8)](_0x5d1cdf),'automationFramework':_0x27c109[_0x4c6e54(0xe7)],'automationFrameworkVersion':_0x27c109['version'],'language':_0x358c2b[_0x4c6e54(0xce)],'languageVersion':process['version'],'product':_0x2d318a,'buildName':_0x3fd06c['buildName']||_0x358c2b[_0x4c6e54(0x12c)],'buildIdentifier':_0xebe770,'os':os[_0x4c6e54(0x111)]()||_0x358c2b[_0x4c6e54(0x127)],'hostname':os['hostname']()||_0x358c2b['mGZdp'],..._0x17d146,'isCLIEnabled':_0x457edb}};try{_0x358c2b[_0x4c6e54(0xdc)](_0x3275a3,_0x358c2b[_0x4c6e54(0xde)])&&(_0x36b352[_0x4c6e54(0xf5)][_0x4c6e54(0x100)]=helper[_0x4c6e54(0xd3)](_0x3fd06c)),_0x358c2b[_0x4c6e54(0x11f)](_0x5d1cdf,_0x358c2b[_0x4c6e54(0xc7)])?_0x36b352[_0x4c6e54(0xf5)][_0x4c6e54(0x121)]=helper[_0x4c6e54(0x11b)][_0x4c6e54(0x122)](null,_0x358c2b[_0x4c6e54(0xb0)](getTransformPath),!![]):_0x36b352['event_properties'][_0x4c6e54(0xe2)]=helper[_0x4c6e54(0xfd)](_0x358c2b[_0x4c6e54(0xb1)]);}catch(_0x3f5b4e){logger['debug'](_0x4c6e54(0xbc)+_0x3f5b4e);}const _0xd01936={};_0xd01936[_0x4c6e54(0x119)]=_0x358c2b[_0x4c6e54(0xad)];const _0x1b438d={'headers':_0xd01936,'body':_0x36b352,'auth':{'user':helper[_0x4c6e54(0xda)](_0x3fd06c),'pass':helper[_0x4c6e54(0x106)](_0x3fd06c)},'json':!![]};logger[_0x4c6e54(0x11c)](_0x4c6e54(0x104)+JSON[_0x4c6e54(0x12f)](_0x1b438d[_0x4c6e54(0xf4)])[_0x4c6e54(0xcd)](new RegExp(helper[_0x4c6e54(0xda)](_0x3fd06c),'g'),_0x358c2b[_0x4c6e54(0xfc)])[_0x4c6e54(0xcd)](new RegExp(helper['getAccessKey'](_0x3fd06c),'g'),_0x358c2b[_0x4c6e54(0xfc)]));try{const _0x22bbff=await helper[_0x4c6e54(0x13d)](_0x358c2b[_0x4c6e54(0x11a)],FUNNEL_INSTRUMENTATION_API_URL,_0x1b438d,_0x3fd06c);logger[_0x4c6e54(0x11c)](_0x4c6e54(0x120)+_0x3275a3+'\x20response\x20-\x20'+util[_0x4c6e54(0xcb)]('%j',_0x22bbff));}catch(_0x152c2c){logger[_0x4c6e54(0x11c)](_0x4c6e54(0xfa)+FUNNEL_INSTRUMENTATION_API_URL+_0x4c6e54(0xd2)+util['format'](_0x152c2c));}},exports[a179_0xf109c6(0x103)]=async(_0x2dfb9c,_0x3b282b=![])=>{const _0x129672=a179_0xf109c6,_0x23c2f9={'ffhus':function(_0x2aa271){return _0x2aa271();},'ynOII':_0x129672(0x108),'UnFmz':'finishedMetadata','gUEdG':_0x129672(0x118),'EimXM':'SDKTestSuccessful','vzItu':function(_0x4a5bbb,_0x1b41ef,_0x3f1c36){return _0x4a5bbb(_0x1b41ef,_0x3f1c36);},'XOHwf':function(_0xdd3eb3,_0x16d0f2){return _0xdd3eb3+_0x16d0f2;},'eBoUt':_0x129672(0xaf)};if(_0x2dfb9c[_0x129672(0xee)])return;_0x2dfb9c['finalExecutionRan']=!![];try{await _0x2dfb9c[_0x129672(0xdf)](),_0x23c2f9['ffhus'](printNudgeLocalNotSetError);const _0x29b24c={};_0x29b24c[_0x129672(0xb3)]=_0x2dfb9c[_0x129672(0xea)]?_0x2dfb9c[_0x129672(0xea)]:'{}';const _0x56a8c3=_0x29b24c,_0x2238c4=Object['assign']({},_0x56a8c3),_0x55b42e=globals['getGlobal'](_0x23c2f9[_0x129672(0xc8)]);_0x55b42e&&(_0x2238c4[_0x129672(0xf2)]=_0x55b42e);!!_0x2dfb9c[_0x129672(0x13b)]&&(_0x2238c4[_0x23c2f9[_0x129672(0x10e)]]={'reason':_0x23c2f9[_0x129672(0xba)],'signal':_0x2dfb9c[_0x129672(0x13b)]});unhandledErrors=_0x2dfb9c['unhandledErrors'][_0x129672(0x13e)]('\x0a');let _0x2bd91c,_0x227d98,_0x1bb41b;helper[_0x129672(0x10a)](_0x2dfb9c[_0x129672(0xdd)])?([_0x2bd91c,_0x227d98]=await helper[_0x129672(0x115)](_0x2dfb9c[_0x129672(0xdd)]),[_0x1bb41b]=await Promise[_0x129672(0xae)]([helper[_0x129672(0x10d)](_0x2bd91c,_0x2dfb9c['config']),exports[_0x129672(0xb9)](_0x23c2f9[_0x129672(0xf8)],_0x2238c4,_0x2dfb9c[_0x129672(0xdd)],_0x2dfb9c['framework'],_0x3b282b)])):([_0x2bd91c,_0x227d98]=await helper[_0x129672(0xc2)](_0x2dfb9c[_0x129672(0xdd)]),[_0x1bb41b]=await Promise[_0x129672(0xae)]([helper[_0x129672(0xc1)](_0x2bd91c,_0x2dfb9c[_0x129672(0xdd)]),exports[_0x129672(0xb9)](_0x23c2f9['EimXM'],_0x2238c4,_0x2dfb9c[_0x129672(0xdd)],_0x2dfb9c['framework'],_0x3b282b)])),_0x1bb41b&&await _0x23c2f9[_0x129672(0x124)](generateCIArtifacts,_0x1bb41b,_0x227d98),logger[_0x129672(0xc6)](_0x129672(0x133)+_0x2dfb9c[_0x129672(0x138)]+',\x20testhub\x20id:\x20'+process[_0x129672(0xbe)][_0x129672(0xcc)]),await helper[_0x129672(0xd1)](_0x2dfb9c[_0x129672(0xdd)]);}catch(_0x422e51){logger[_0x129672(0x11c)](_0x23c2f9[_0x129672(0xac)](_0x23c2f9[_0x129672(0x102)],_0x422e51));}helper['notifyUpdate']();},exports[a179_0xf109c6(0xd4)]=_0x4cfacf=>{const _0x573e9e=a179_0xf109c6,_0x1d1359={'MWWVD':function(_0x22d178,_0x1827cf){return _0x22d178 instanceof _0x1827cf;},'fJkyd':function(_0xe12f45,_0x2ae61f){return _0xe12f45(_0x2ae61f);}};try{if(_0x1d1359['MWWVD'](_0x4cfacf,Error))return _0x4cfacf[_0x573e9e(0xff)]||_0x4cfacf['toString']();return _0x1d1359['fJkyd'](String,_0x4cfacf);}catch(_0x3f8aaf){return _0x4cfacf?_0x4cfacf[_0x573e9e(0xbf)]():'';}},exports[a179_0xf109c6(0x134)]=_0x1b0df2=>{const _0x130834=a179_0xf109c6,_0x51a998={};_0x51a998[_0x130834(0x13c)]=function(_0xf7d921,_0x19719){return _0xf7d921===_0x19719;};const _0x510361=_0x51a998;return!_0x1b0df2||_0x510361[_0x130834(0x13c)](_0x1b0df2[_0x130834(0x129)](),'');},exports['isModifiable']=_0x236b72=>{const _0x25b2e1=a179_0xf109c6,_0x17e0d1={};_0x17e0d1[_0x25b2e1(0xe0)]=function(_0x23e647,_0xa6a962){return _0x23e647|_0xa6a962;};const _0x5453b2=_0x17e0d1;try{return fs[_0x25b2e1(0xb7)](_0x236b72,_0x5453b2[_0x25b2e1(0xe0)](fs[_0x25b2e1(0xd8)][_0x25b2e1(0x109)],fs[_0x25b2e1(0xd8)]['X_OK'])),!![];}catch(_0x3466ea){return![];}},exports[a179_0xf109c6(0x135)]=_0x110765=>{const _0x409b18=a179_0xf109c6;try{fs[_0x409b18(0x12b)](_0x110765,0x1ff),logger[_0x409b18(0x11c)](_0x409b18(0xeb)+_0x110765+_0x409b18(0xf1));}catch(_0x3051ca){logger[_0x409b18(0xb3)](_0x409b18(0xec)+exports[_0x409b18(0xd4)](_0x3051ca));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a180_0xda34(){var _0x5bd861=['W3CMapping','gaUwC','browserstack.overridelocalInfo.userAuthToken','browserstack.bfcache','browserstack.accessibilityOptions.includeIssueType.needsReview','jmSFx','CpIWK','RyCUA','accessibilityOptions.authToken','JeHFY','USaJm','accessibilityOptions.scannerVersion','browserstack.simOptions','wHzdU','resolution','browserstack.maskCommands','maskCommands','browserstack.user','networkLogs','yfFaJ','ZxsOn','geoLocation','useW3c','BxMBk','autoWait','browserstack.networkLogs','browserstack.accessibilityOptions.wcagVersion','oJdxm','browserstack.key','buLij','accessibilityOptions.wcagVersion','buildProductMap','fEuna','voXPr','realMobile','debug','1328GxXIlD','browserstack.debug','playwrightVersion','telemetryLogs','kMNqc','sessionName','idleTimeout','rBrQN','os_version','osVersion','bnsed','browserstack.console','browserstack.networkProfile','appiumLogs','browserstack.use_w3c','423425dUtDqU','accessKey','browserstack.telemetryLogs','browserstack.buildProductMap','iLwKp','browserstack.appium_version','accessibilityOptions.scannerProcessingTimeout','disableCorsRestrictions','browserstack.customNetwork','browserstack.performance','browserstack.uploadMedia','NImgg','24rwfEEL','deviceName','2163007jzPgvT','browserstack.testhubBuildUuid','qaYsV','overridelocalInfo.localIdentifier','browserstack.accessibilityOptions.scannerVersion','video','browserstack.networkLogsOptions','zXGLP','browserstack.enableSim','project','browserstack.appiumLogs','PqWxG','bAtuc','YTecg','30GVsSxK','2117556vgQrYB','BNzAS','SqPgC','cGmCe','bngcR','QEMkJ','browserstack.accessibilityOptions.scannerProcessingTimeout','seleniumVersion','NxzCH','browserstack.accessibilityOptions.authToken','headerParams','buildIdentifier','browserVersion','dcXWT','browserstack.geoLocation','SsQfS','770823BFxwQb','dPYQl','browserstack.hosts','simOptions','browserstack.seleniumLogs','unNaN','WBPnN','buildName','CcOJC','deviceOrientation','PJtHw','rVMws','LKBVl','tbKTZ','PlOnC','xJFMc','wsLocalSupport','customNetwork','networkLogsOptions','consoleLogs','browserstack.wsLocalSupport','testhubBuildUuid','23868WfJnjM','browser','browserstack.disableCorsRestrictions','enableSim','browserstack.timezone','browserstack.maskBasicAuth','browserstack.selenium_version','device','vKfJL','accessibilityOptions.includeIssueType.needsReview','vhhHV','build','4801115ZfliML','browserstackSDK','nbsLf','browserstack.overridelocalInfo.localIdentifier','TYGPV','CzkNC','performance','545132TZJEHC','rZPpO','4kKqpvb','hosts'];a180_0xda34=function(){return _0x5bd861;};return a180_0xda34();}var a180_0x42a8b4=a180_0xbc10;function a180_0xbc10(_0x1ddded,_0x25b658){var _0xda3497=a180_0xda34();return a180_0xbc10=function(_0xbc10e7,_0x432b79){_0xbc10e7=_0xbc10e7-0x13a;var _0x360202=_0xda3497[_0xbc10e7];return _0x360202;},a180_0xbc10(_0x1ddded,_0x25b658);}(function(_0x54d512,_0x10d083){var _0xde42ee=a180_0xbc10,_0x2b53ea=_0x54d512();while(!![]){try{var _0x2af1b5=parseInt(_0xde42ee(0x186))/0x1+parseInt(_0xde42ee(0x188))/0x2*(parseInt(_0xde42ee(0x15d))/0x3)+parseInt(_0xde42ee(0x13c))/0x4*(-parseInt(_0xde42ee(0x1bd))/0x5)+parseInt(_0xde42ee(0x14d))/0x6+parseInt(_0xde42ee(0x13e))/0x7+-parseInt(_0xde42ee(0x1ae))/0x8*(-parseInt(_0xde42ee(0x173))/0x9)+parseInt(_0xde42ee(0x14c))/0xa*(-parseInt(_0xde42ee(0x17f))/0xb);if(_0x2af1b5===_0x10d083)break;else _0x2b53ea['push'](_0x2b53ea['shift']());}catch(_0x1038dd){_0x2b53ea['push'](_0x2b53ea['shift']());}}}(a180_0xda34,0x53e74),exports[a180_0x42a8b4(0x18a)]=()=>{var _0x1fe03c=a180_0x42a8b4,_0x163870={};_0x163870['PvcNt']='userName',_0x163870['ExMDA']=_0x1fe03c(0x1be),_0x163870['CcOJC']=_0x1fe03c(0x1b7),_0x163870[_0x1fe03c(0x151)]=_0x1fe03c(0x174),_0x163870['iLwKp']=_0x1fe03c(0x159),_0x163870['kisVl']=_0x1fe03c(0x1a0),_0x163870['gaUwC']='projectName',_0x163870['unNaN']=_0x1fe03c(0x164),_0x163870[_0x1fe03c(0x14a)]=_0x1fe03c(0x1b3),_0x163870[_0x1fe03c(0x1a7)]='local',_0x163870[_0x1fe03c(0x152)]='localIdentifier',_0x163870[_0x1fe03c(0x1a5)]=_0x1fe03c(0x1ad),_0x163870[_0x1fe03c(0x19e)]=_0x1fe03c(0x170),_0x163870['jBlaL']=_0x1fe03c(0x19c),_0x163870[_0x1fe03c(0x1b8)]=_0x1fe03c(0x16f),_0x163870[_0x1fe03c(0x181)]=_0x1fe03c(0x1bb),_0x163870[_0x1fe03c(0x169)]=_0x1fe03c(0x143),_0x163870[_0x1fe03c(0x16b)]='seleniumLogs',_0x163870[_0x1fe03c(0x18f)]=_0x1fe03c(0x1b1),_0x163870[_0x1fe03c(0x163)]=_0x1fe03c(0x19f),_0x163870[_0x1fe03c(0x194)]='timezone',_0x163870['vhhHV']=_0x1fe03c(0x198),_0x163870[_0x1fe03c(0x14f)]=_0x1fe03c(0x154),_0x163870[_0x1fe03c(0x197)]=_0x1fe03c(0x19a),_0x163870[_0x1fe03c(0x15c)]=_0x1fe03c(0x1b4),_0x163870[_0x1fe03c(0x155)]='maskBasicAuth',_0x163870[_0x1fe03c(0x16a)]=_0x1fe03c(0x1a2),_0x163870['NImgg']=_0x1fe03c(0x189),_0x163870[_0x1fe03c(0x14e)]='bfcache',_0x163870[_0x1fe03c(0x145)]=_0x1fe03c(0x16d),_0x163870[_0x1fe03c(0x1b2)]=_0x1fe03c(0x1c4),_0x163870['ZnZzE']=_0x1fe03c(0x13d),_0x163870[_0x1fe03c(0x1aa)]='realMobile',_0x163870['cGmCe']='appiumVersion',_0x163870[_0x1fe03c(0x1ab)]=_0x1fe03c(0x166),_0x163870[_0x1fe03c(0x183)]=_0x1fe03c(0x16e),_0x163870[_0x1fe03c(0x149)]='networkProfile',_0x163870[_0x1fe03c(0x1b5)]=_0x1fe03c(0x158),_0x163870[_0x1fe03c(0x187)]=_0x1fe03c(0x180),_0x163870[_0x1fe03c(0x14b)]='accessibility',_0x163870[_0x1fe03c(0x16c)]=_0x1fe03c(0x1a9),_0x163870['yNGUL']=_0x1fe03c(0x172),_0x163870['ovnCo']=_0x1fe03c(0x1a8),_0x163870[_0x1fe03c(0x168)]=_0x1fe03c(0x195),_0x163870['CzkNC']=_0x1fe03c(0x1c3),_0x163870[_0x1fe03c(0x167)]='accessibilityOptions.includeIssueType.bestPractice',_0x163870[_0x1fe03c(0x15a)]=_0x1fe03c(0x17c),_0x163870['yfFaJ']=_0x1fe03c(0x192),_0x163870[_0x1fe03c(0x193)]='uploadMedia',_0x163870[_0x1fe03c(0x1a1)]=_0x1fe03c(0x176),_0x163870[_0x1fe03c(0x190)]=_0x1fe03c(0x160),_0x163870['zvZRS']=_0x1fe03c(0x1b0),_0x163870[_0x1fe03c(0x15e)]='overridelocalInfo.userAuthToken',_0x163870[_0x1fe03c(0x191)]=_0x1fe03c(0x141),_0x163870['qaYsV']=_0x1fe03c(0x157),_0x163870[_0x1fe03c(0x17b)]=_0x1fe03c(0x185);var _0x5f1b5c=_0x163870,_0x83318c={};return _0x83318c[_0x1fe03c(0x19b)]=_0x5f1b5c['PvcNt'],_0x83318c[_0x1fe03c(0x1a6)]=_0x5f1b5c['ExMDA'],_0x83318c['os']='os',_0x83318c[_0x1fe03c(0x1b6)]=_0x5f1b5c[_0x1fe03c(0x165)],_0x83318c[_0x1fe03c(0x174)]=_0x5f1b5c[_0x1fe03c(0x151)],_0x83318c['browser_version']=_0x5f1b5c[_0x1fe03c(0x1c1)],_0x83318c[_0x1fe03c(0x1bc)]=_0x5f1b5c['kisVl'],_0x83318c[_0x1fe03c(0x147)]=_0x5f1b5c[_0x1fe03c(0x18b)],_0x83318c[_0x1fe03c(0x17e)]=_0x5f1b5c[_0x1fe03c(0x162)],_0x83318c['name']=_0x5f1b5c[_0x1fe03c(0x14a)],_0x83318c['browserstack.local']=_0x5f1b5c['buLij'],_0x83318c['browserstack.localIdentifier']=_0x5f1b5c['QEMkJ'],_0x83318c[_0x1fe03c(0x1af)]=_0x5f1b5c['oJdxm'],_0x83318c[_0x1fe03c(0x1b9)]=_0x5f1b5c['ZxsOn'],_0x83318c[_0x1fe03c(0x1a3)]=_0x5f1b5c['jBlaL'],_0x83318c[_0x1fe03c(0x144)]=_0x5f1b5c[_0x1fe03c(0x1b8)],_0x83318c[_0x1fe03c(0x148)]=_0x5f1b5c['nbsLf'],_0x83318c['browserstack.video']=_0x5f1b5c[_0x1fe03c(0x169)],_0x83318c[_0x1fe03c(0x161)]=_0x5f1b5c['PlOnC'],_0x83318c[_0x1fe03c(0x1bf)]=_0x5f1b5c[_0x1fe03c(0x18f)],_0x83318c[_0x1fe03c(0x15b)]=_0x5f1b5c[_0x1fe03c(0x163)],_0x83318c[_0x1fe03c(0x177)]=_0x5f1b5c['USaJm'],_0x83318c[_0x1fe03c(0x198)]=_0x5f1b5c[_0x1fe03c(0x17d)],_0x83318c[_0x1fe03c(0x179)]=_0x5f1b5c[_0x1fe03c(0x14f)],_0x83318c[_0x1fe03c(0x199)]=_0x5f1b5c[_0x1fe03c(0x197)],_0x83318c['browserstack.idleTimeout']=_0x5f1b5c[_0x1fe03c(0x15c)],_0x83318c[_0x1fe03c(0x178)]=_0x5f1b5c['NxzCH'],_0x83318c['browserstack.autoWait']=_0x5f1b5c[_0x1fe03c(0x16a)],_0x83318c[_0x1fe03c(0x15f)]=_0x5f1b5c[_0x1fe03c(0x13b)],_0x83318c[_0x1fe03c(0x18d)]=_0x5f1b5c['BNzAS'],_0x83318c[_0x1fe03c(0x171)]=_0x5f1b5c[_0x1fe03c(0x145)],_0x83318c[_0x1fe03c(0x175)]=_0x5f1b5c['kMNqc'],_0x83318c[_0x1fe03c(0x17a)]=_0x5f1b5c['ZnZzE'],_0x83318c[_0x1fe03c(0x1ac)]=_0x5f1b5c[_0x1fe03c(0x1aa)],_0x83318c[_0x1fe03c(0x1c2)]=_0x5f1b5c[_0x1fe03c(0x150)],_0x83318c['deviceOrientation']=_0x5f1b5c[_0x1fe03c(0x1ab)],_0x83318c[_0x1fe03c(0x1c5)]=_0x5f1b5c[_0x1fe03c(0x183)],_0x83318c[_0x1fe03c(0x1ba)]=_0x5f1b5c[_0x1fe03c(0x149)],_0x83318c['browserstack.buildIdentifier']=_0x5f1b5c['rBrQN'],_0x83318c['browserstack.browserstackSDK']=_0x5f1b5c[_0x1fe03c(0x187)],_0x83318c['browserstack.accessibility']=_0x5f1b5c['YTecg'],_0x83318c[_0x1fe03c(0x1c0)]=_0x5f1b5c[_0x1fe03c(0x16c)],_0x83318c[_0x1fe03c(0x13f)]=_0x5f1b5c['yNGUL'],_0x83318c[_0x1fe03c(0x1a4)]=_0x5f1b5c['ovnCo'],_0x83318c[_0x1fe03c(0x142)]=_0x5f1b5c[_0x1fe03c(0x168)],_0x83318c[_0x1fe03c(0x153)]=_0x5f1b5c[_0x1fe03c(0x184)],_0x83318c['browserstack.accessibilityOptions.includeIssueType.bestPractice']=_0x5f1b5c[_0x1fe03c(0x167)],_0x83318c[_0x1fe03c(0x18e)]=_0x5f1b5c['dcXWT'],_0x83318c[_0x1fe03c(0x156)]=_0x5f1b5c[_0x1fe03c(0x19d)],_0x83318c[_0x1fe03c(0x13a)]=_0x5f1b5c['JeHFY'],_0x83318c[_0x1fe03c(0x146)]=_0x5f1b5c['BxMBk'],_0x83318c[_0x1fe03c(0x196)]=_0x5f1b5c[_0x1fe03c(0x190)],_0x83318c['browserstack.playwrightVersion']=_0x5f1b5c['zvZRS'],_0x83318c[_0x1fe03c(0x18c)]=_0x5f1b5c['dPYQl'],_0x83318c[_0x1fe03c(0x182)]=_0x5f1b5c[_0x1fe03c(0x191)],_0x83318c['browserstack.headerParams']=_0x5f1b5c[_0x1fe03c(0x140)],_0x83318c[_0x1fe03c(0x1c6)]=_0x5f1b5c[_0x1fe03c(0x17b)],_0x83318c;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a178_0x15532b=a178_0x64eb;(function(_0x4b30fa,_0x454d4e){const _0x34e880=a178_0x64eb,_0x439555=_0x4b30fa();while(!![]){try{const _0x240a29=-parseInt(_0x34e880(0x202))/0x1+-parseInt(_0x34e880(0x1dd))/0x2*(parseInt(_0x34e880(0x20c))/0x3)+-parseInt(_0x34e880(0x1fb))/0x4*(-parseInt(_0x34e880(0x1e3))/0x5)+parseInt(_0x34e880(0x1e4))/0x6+parseInt(_0x34e880(0x1c9))/0x7*(-parseInt(_0x34e880(0x200))/0x8)+parseInt(_0x34e880(0x1c0))/0x9*(parseInt(_0x34e880(0x1df))/0xa)+parseInt(_0x34e880(0x216))/0xb;if(_0x240a29===_0x454d4e)break;else _0x439555['push'](_0x439555['shift']());}catch(_0x5b4d70){_0x439555['push'](_0x439555['shift']());}}}(a178_0x4537,0xec571));const url=require(a178_0x15532b(0x20d)),util=require(a178_0x15532b(0x1d6)),helper=require(a178_0x15532b(0x1c6)),logger=require(a178_0x15532b(0x21a))[a178_0x15532b(0x21e)],constants=require(a178_0x15532b(0x1ff)),globals=require(a178_0x15532b(0x20a));function a178_0x4537(){const _0x1cea3c=['UorBU','skipped','/wd/hub','NEAREST\x20HUBS\x20LIST:\x20','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','ulXYo','Invalid\x20new\x20HUB\x20URL:\x20','iMtkm','updateHubUrl','allSettled','198RkjKid','get','latency','hubRegion\x20','hubs','parse','./helpers/helper','qhvpL','check','1638JXJtVi','https://','IVBob','newHubUrlBySession','resolve','next_hubs','set','hash','lnAiq','GET','getRequestOptions','map','hubUrl','util','search','ERROR\x20in\x20hub\x20selection:\x20','path','gcEdg','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','CKayn','2465242jXFCgS','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','351190TKiwEL','rTKTa','LDxZf','gMrAL','5395boonkK','321984GVHMQS','vwOxd','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','sEzxd','qruQP','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','\x20is:\x20','vSByV','Execution\x20time\x20for\x20','replace','pathname','gaJme','QPdHx','EVWnr','debug','value','status','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','catch','\x20HUB\x20-\x20','has','fulfilled','btxBe','6484WTzwcS','WWRtk','_hubAllocationData','format','./bin/utils/constants','7976EDotEM','hXxBk','1767696BtMjad','ZcYGY','nEpMI','data','race','siacA','setGlobal','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','./helpers/globals','zSbzn','3opzGBp','url','UICdV','Ktwsy','hostname','HUB\x20URL\x20SET\x20TO\x20-\x20','now','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','HUB_URL_MAP','allocateHub','17889553WJltyi','length','nextHubs','findLatency','./helpers/logger','TUGLm','rKcvd','INhZj','winstonLogger','nodeRequest','hubRegion','then','hubLatencies'];a178_0x4537=function(){return _0x1cea3c;};return a178_0x4537();}function a178_0x64eb(_0x7c7948,_0x221ad5){const _0x45376e=a178_0x4537();return a178_0x64eb=function(_0x64eb91,_0x17523b){_0x64eb91=_0x64eb91-0x1c0;let _0x55b0f2=_0x45376e[_0x64eb91];return _0x55b0f2;},a178_0x64eb(_0x7c7948,_0x221ad5);}global[a178_0x15532b(0x1cc)]=global[a178_0x15532b(0x1cc)]||new Map(),exports[a178_0x15532b(0x1d3)]=_0x21c9e3=>{const _0x1bffca=a178_0x15532b,_0x3e611c={};_0x3e611c[_0x1bffca(0x1e1)]=function(_0x3c9a01,_0x4c0639){return _0x3c9a01+_0x4c0639;},_0x3e611c['EYbzk']=_0x1bffca(0x229);const _0x211baf=_0x3e611c,_0x16ac38=url[_0x1bffca(0x1c5)](_0x21c9e3);if(!_0x16ac38[_0x1bffca(0x210)])throw new Error(_0x211baf[_0x1bffca(0x1e1)](_0x211baf['EYbzk'],_0x21c9e3));return _0x16ac38[_0x1bffca(0x1d7)]=null,_0x16ac38[_0x1bffca(0x1d0)]=null,_0x16ac38[_0x1bffca(0x1d9)]=_0x16ac38[_0x1bffca(0x1ee)],_0x16ac38;},exports[a178_0x15532b(0x22b)]=(_0x12157a,_0x25e153)=>{const _0x5864a1=a178_0x15532b,_0xa8b4ae={};_0xa8b4ae[_0x5864a1(0x1f0)]=_0x5864a1(0x1de);const _0x4cc76c=_0xa8b4ae;if(!_0x25e153){logger[_0x5864a1(0x1f2)](_0x4cc76c[_0x5864a1(0x1f0)]);return;}global[_0x5864a1(0x1cc)][_0x5864a1(0x1cf)](_0x25e153,_0x12157a);},exports['consumeHubUrlForSession']=_0x41f0d7=>{const _0xfe8627=a178_0x15532b;if(_0x41f0d7&&global[_0xfe8627(0x1cc)][_0xfe8627(0x1f8)](_0x41f0d7)){const _0x5797b7=global[_0xfe8627(0x1cc)][_0xfe8627(0x1c1)](_0x41f0d7);return global[_0xfe8627(0x1cc)]['delete'](_0x41f0d7),_0x5797b7;}return'';},exports[a178_0x15532b(0x215)]=_0x1f7534=>{const _0x32c655=a178_0x15532b,_0x540d02={'lnAiq':function(_0x170aab,_0x7a974a){return _0x170aab!==_0x7a974a;},'qruQP':function(_0x1acff7,_0x242eed){return _0x1acff7==_0x242eed;},'nGCiU':function(_0x2bf39d,_0x847446){return _0x2bf39d===_0x847446;},'btxBe':function(_0x4f8b24){return _0x4f8b24();},'qhvpL':function(_0x33b73b,_0x30558e){return _0x33b73b+_0x30558e;},'yChGy':_0x32c655(0x1ca),'ynGqS':_0x32c655(0x1fd),'sEzxd':function(_0x3d3c43,_0x55d6df){return _0x3d3c43===_0x55d6df;},'UICdV':_0x32c655(0x1f9),'vSByV':_0x32c655(0x209),'siacA':_0x32c655(0x225),'Ktwsy':function(_0x227c9f){return _0x227c9f();}};return new Promise(_0x3eece3=>{const _0x26e1b8=_0x32c655,_0x46061d={'CsUrJ':function(_0x5280fa,_0x39c1f9){return _0x540d02['qhvpL'](_0x5280fa,_0x39c1f9);},'iMtkm':_0x540d02['yChGy'],'TUGLm':_0x540d02['ynGqS'],'ulXYo':function(_0x374637,_0x2e4b3f){const _0x118b35=a178_0x64eb;return _0x540d02[_0x118b35(0x1e7)](_0x374637,_0x2e4b3f);},'vfOMk':_0x540d02[_0x26e1b8(0x20e)],'XZmNf':_0x540d02[_0x26e1b8(0x1eb)],'UorBU':function(_0x14a569,_0x4c277f){const _0x45a1e0=_0x26e1b8;return _0x540d02[_0x45a1e0(0x1c7)](_0x14a569,_0x4c277f);},'ZcYGY':_0x540d02[_0x26e1b8(0x207)],'WWRtk':function(_0x31e39c){const _0x351250=_0x26e1b8;return _0x540d02[_0x351250(0x1fa)](_0x31e39c);},'nEpMI':function(_0x2d1bad,_0x83c20b){const _0x528885=_0x26e1b8;return _0x540d02[_0x528885(0x1c7)](_0x2d1bad,_0x83c20b);},'IVBob':function(_0x424fc7){const _0x4fe59d=_0x26e1b8;return _0x540d02[_0x4fe59d(0x1fa)](_0x424fc7);}};if(_0x1f7534&&_0x1f7534['hubRegion']){const _0x171ccf=constants[_0x26e1b8(0x214)][_0x1f7534[_0x26e1b8(0x220)]];if(_0x171ccf)return constants[_0x26e1b8(0x1d5)]=_0x171ccf,logger[_0x26e1b8(0x1f2)](_0x26e1b8(0x1f5)+_0x171ccf),globals[_0x26e1b8(0x208)](_0x540d02['ynGqS'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x171ccf['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x540d02[_0x26e1b8(0x20f)](_0x3eece3);logger[_0x26e1b8(0x1f2)](_0x26e1b8(0x1c3)+_0x1f7534[_0x26e1b8(0x220)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise[_0x26e1b8(0x1cd)](this[_0x26e1b8(0x218)](_0x1f7534))['then'](_0x2a5397=>{const _0x4748c6=_0x26e1b8,_0x5b1e6b={'rKcvd':function(_0x10c2e0,_0x38bf86){const _0x590ba7=a178_0x64eb;return _0x540d02[_0x590ba7(0x1d1)](_0x10c2e0,_0x38bf86);}};logger[_0x4748c6(0x1f2)](_0x4748c6(0x226)+util[_0x4748c6(0x1fe)]('%j',_0x2a5397));if(_0x540d02[_0x4748c6(0x1e8)](_0x2a5397,null)||_0x540d02['nGCiU'](_0x2a5397[_0x4748c6(0x217)],0x0))return _0x540d02[_0x4748c6(0x1fa)](_0x3eece3);const _0x51feba=_0x2a5397[_0x4748c6(0x1d4)](_0x31e860=>{const _0x1b1462=_0x4748c6,_0x31256b=_0x46061d['CsUrJ'](_0x46061d['iMtkm'],_0x31e860);return this['findLatency'](_0x1f7534,_0x31256b)[_0x1b1462(0x221)](_0x1fceef=>{const _0x19bce9=_0x1b1462;if(_0x1fceef&&_0x1fceef[_0x19bce9(0x1d5)]&&_0x5b1e6b[_0x19bce9(0x21c)](_0x1fceef[_0x19bce9(0x1c2)],undefined)){const _0x5de7e6={};return _0x5de7e6[_0x19bce9(0x1d5)]=_0x1fceef['hubUrl'],_0x5de7e6[_0x19bce9(0x1c2)]=_0x1fceef['latency'],_0x5de7e6['ok']=!![],_0x5de7e6;}const _0x404438={};return _0x404438['hubUrl']=_0x31256b,_0x404438[_0x19bce9(0x1c2)]=null,_0x404438['ok']=![],_0x404438;})[_0x1b1462(0x1f6)](()=>({'hubUrl':_0x31256b,'latency':null,'ok':![]}));});Promise[_0x4748c6(0x206)](_0x51feba[_0x4748c6(0x1d4)](_0x287aac=>_0x287aac[_0x4748c6(0x221)](_0x19d2d4=>_0x19d2d4['ok']?_0x19d2d4:null)))['then'](_0x139e7c=>{const _0x588daf=_0x4748c6;if(_0x139e7c)return _0x139e7c;return Promise['all'](_0x51feba)[_0x588daf(0x221)](()=>null);})[_0x4748c6(0x221)](_0x5279b2=>{const _0x343c46=_0x4748c6,_0x490670={'INhZj':_0x46061d[_0x343c46(0x21b)],'gcEdg':function(_0x66fe4b,_0x461380){const _0x9949b0=_0x343c46;return _0x46061d[_0x9949b0(0x228)](_0x66fe4b,_0x461380);},'vwOxd':_0x46061d['vfOMk']};if(!_0x5279b2){logger[_0x343c46(0x1f2)](_0x46061d['XZmNf']);const _0x4170d1=_0x46061d['UorBU'](_0x46061d[_0x343c46(0x22a)],_0x2a5397[0x0]);return globals['setGlobal'](_0x46061d[_0x343c46(0x21b)],{'nearestHubs':_0x2a5397['map'](_0x4da9ae=>'https://'+_0x4da9ae),'hubLatencies':{},'selectedHub':_0x4170d1,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x343c46(0x212)]()}),constants[_0x343c46(0x1d5)]=_0x46061d[_0x343c46(0x223)](_0x4170d1,_0x46061d[_0x343c46(0x203)]),logger[_0x343c46(0x1f2)](_0x343c46(0x1e9)+_0x4170d1),_0x46061d[_0x343c46(0x1fc)](_0x3eece3);}const _0x4b1ea3={[_0x5279b2[_0x343c46(0x1d5)]]:_0x5279b2['latency']},_0x82a974={'nearestHubs':_0x2a5397['map'](_0x354594=>_0x343c46(0x1ca)+_0x354594),'hubLatencies':_0x4b1ea3,'selectedHub':_0x5279b2['hubUrl'],'selectedHubLatency':_0x5279b2[_0x343c46(0x1c2)],'timestamp':Date[_0x343c46(0x212)]()};globals[_0x343c46(0x208)](_0x46061d[_0x343c46(0x21b)],_0x82a974),constants[_0x343c46(0x1d5)]=_0x46061d[_0x343c46(0x204)](_0x5279b2['hubUrl'],_0x46061d[_0x343c46(0x203)]),logger['debug'](_0x343c46(0x211)+_0x5279b2['hubUrl']),_0x46061d[_0x343c46(0x1cb)](_0x3eece3),Promise[_0x343c46(0x22c)](_0x51feba)[_0x343c46(0x221)](_0xd36585=>{const _0x4fe60d=_0x343c46;try{const _0x33f89e=globals['getGlobal'](_0x490670[_0x4fe60d(0x21d)]);if(!_0x33f89e||_0x33f89e[_0x4fe60d(0x224)])return;const _0x4ecf5e={};for(const _0x56dcfa of _0xd36585){_0x490670[_0x4fe60d(0x1da)](_0x56dcfa[_0x4fe60d(0x1f4)],_0x490670[_0x4fe60d(0x1e5)])&&_0x56dcfa[_0x4fe60d(0x1f3)]&&_0x56dcfa[_0x4fe60d(0x1f3)]['ok']&&(_0x4ecf5e[_0x56dcfa[_0x4fe60d(0x1f3)]['hubUrl']]=_0x56dcfa[_0x4fe60d(0x1f3)][_0x4fe60d(0x1c2)]);}_0x33f89e[_0x4fe60d(0x222)]=_0x4ecf5e;}catch(_0x48c0a3){logger[_0x4fe60d(0x1f2)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x48c0a3);}})['catch'](_0xb975dd=>{const _0x346d62=_0x343c46;logger[_0x346d62(0x1f2)](_0x346d62(0x1e6)+_0xb975dd);});})[_0x4748c6(0x1f6)](_0x5a9e17=>{const _0x15ab64=_0x4748c6;logger['debug'](_0x15ab64(0x1d8)+_0x5a9e17),_0x46061d[_0x15ab64(0x1cb)](_0x3eece3);});})[_0x26e1b8(0x1f6)](_0x403cd5=>{const _0x362898=_0x26e1b8;logger[_0x362898(0x1f2)](_0x362898(0x227)+_0x403cd5),_0x46061d[_0x362898(0x1cb)](_0x3eece3);});});},exports[a178_0x15532b(0x219)]=async(_0x140151,_0x4a52e1)=>{const _0x377b67=a178_0x15532b,_0x4946b3={};_0x4946b3[_0x377b67(0x1e0)]=_0x377b67(0x1d2),_0x4946b3[_0x377b67(0x201)]=_0x377b67(0x1c8),_0x4946b3[_0x377b67(0x1dc)]=function(_0x53a870,_0x4aafb8){return _0x53a870-_0x4aafb8;};const _0x10e3ed=_0x4946b3;try{const _0x2602fd=new Date();await helper[_0x377b67(0x21f)](_0x10e3ed[_0x377b67(0x1e0)],_0x10e3ed['hXxBk'],{},_0x140151,_0x4a52e1,0x1388);const _0x5bdf5b=_0x10e3ed['CKayn'](new Date(),_0x2602fd);logger[_0x377b67(0x1f2)](_0x377b67(0x1ec)+_0x4a52e1+_0x377b67(0x1ea)+_0x5bdf5b+'ms');const _0x3581c4={};return _0x3581c4[_0x377b67(0x1d5)]=_0x4a52e1,_0x3581c4[_0x377b67(0x1c2)]=_0x5bdf5b,_0x3581c4;}catch(_0x540b10){return logger['debug'](_0x377b67(0x213)+_0x4a52e1+_0x377b67(0x1f7)+_0x540b10),{};}},exports['nextHubs']=async _0x1508d8=>{const _0x16d835=a178_0x15532b,_0x38c4c1={'EVWnr':function(_0x4682b3,_0x43702e){return _0x4682b3(_0x43702e);},'gaJme':_0x16d835(0x1ff),'gMrAL':_0x16d835(0x225),'kvzRC':_0x16d835(0x1d2),'zSbzn':_0x16d835(0x1ce)};try{const _0x41f061=_0x38c4c1[_0x16d835(0x1f1)](require,_0x38c4c1[_0x16d835(0x1ef)])[_0x16d835(0x1d5)][_0x16d835(0x1ed)](_0x38c4c1[_0x16d835(0x1e2)],''),_0x2d5cd5=await helper[_0x16d835(0x21f)](_0x38c4c1['kvzRC'],_0x38c4c1[_0x16d835(0x20b)],{},_0x1508d8,_0x41f061,0x1388),_0x32b79b=_0x2d5cd5[_0x16d835(0x205)];return logger[_0x16d835(0x1f2)]('Response:\x20'+util[_0x16d835(0x1fe)]('%j',_0x32b79b)),_0x32b79b[_0x16d835(0x1c4)];}catch(_0x427e75){logger[_0x16d835(0x1f2)](_0x16d835(0x1db)+_0x427e75);}return null;};
|
|
1
|
+
const a181_0x19ab8d=a181_0x3536;(function(_0x48aba0,_0x44bac3){const _0x375954=a181_0x3536,_0x41d14f=_0x48aba0();while(!![]){try{const _0x47588f=parseInt(_0x375954(0x21b))/0x1*(parseInt(_0x375954(0x204))/0x2)+parseInt(_0x375954(0x1fc))/0x3*(-parseInt(_0x375954(0x237))/0x4)+parseInt(_0x375954(0x202))/0x5+parseInt(_0x375954(0x249))/0x6*(parseInt(_0x375954(0x230))/0x7)+parseInt(_0x375954(0x247))/0x8+-parseInt(_0x375954(0x207))/0x9+-parseInt(_0x375954(0x1ee))/0xa;if(_0x47588f===_0x44bac3)break;else _0x41d14f['push'](_0x41d14f['shift']());}catch(_0x3af081){_0x41d14f['push'](_0x41d14f['shift']());}}}(a181_0x1602,0x6ba01));function a181_0x3536(_0x27af1b,_0x12de50){const _0x160273=a181_0x1602();return a181_0x3536=function(_0x3536cb,_0x1a25cc){_0x3536cb=_0x3536cb-0x1de;let _0x20e306=_0x160273[_0x3536cb];return _0x20e306;},a181_0x3536(_0x27af1b,_0x12de50);}const url=require('url'),util=require('util'),helper=require(a181_0x19ab8d(0x23b)),logger=require(a181_0x19ab8d(0x20d))[a181_0x19ab8d(0x1f7)],constants=require('./bin/utils/constants'),globals=require(a181_0x19ab8d(0x21f));global[a181_0x19ab8d(0x1fb)]=global[a181_0x19ab8d(0x1fb)]||new Map(),exports[a181_0x19ab8d(0x1f8)]=_0x2434c0=>{const _0x5399a0=a181_0x19ab8d,_0x1a6274={};_0x1a6274[_0x5399a0(0x211)]=function(_0x20f46c,_0x2c3786){return _0x20f46c+_0x2c3786;},_0x1a6274['wZnHg']='Invalid\x20new\x20HUB\x20URL:\x20';const _0x4e7193=_0x1a6274,_0x694375=url[_0x5399a0(0x22d)](_0x2434c0);if(!_0x694375['hostname'])throw new Error(_0x4e7193[_0x5399a0(0x211)](_0x4e7193[_0x5399a0(0x246)],_0x2434c0));return _0x694375[_0x5399a0(0x223)]=null,_0x694375[_0x5399a0(0x1e2)]=null,_0x694375[_0x5399a0(0x1f5)]=_0x694375[_0x5399a0(0x225)],_0x694375;},exports[a181_0x19ab8d(0x248)]=(_0x126f3c,_0xede8a3)=>{const _0x1303b9=a181_0x19ab8d,_0x3e6634={};_0x3e6634[_0x1303b9(0x206)]=_0x1303b9(0x205);const _0x449031=_0x3e6634;if(!_0xede8a3){logger[_0x1303b9(0x1f2)](_0x449031[_0x1303b9(0x206)]);return;}global['newHubUrlBySession'][_0x1303b9(0x1eb)](_0xede8a3,_0x126f3c);},exports[a181_0x19ab8d(0x201)]=_0x1ea9e0=>{const _0xf2a78a=a181_0x19ab8d;if(_0x1ea9e0&&global[_0xf2a78a(0x1fb)]['has'](_0x1ea9e0)){const _0x1ef5dd=global[_0xf2a78a(0x1fb)][_0xf2a78a(0x1e9)](_0x1ea9e0);return global[_0xf2a78a(0x1fb)][_0xf2a78a(0x1ff)](_0x1ea9e0),_0x1ef5dd;}return'';},exports['allocateHub']=_0x3b32e5=>{const _0x18ead9=a181_0x19ab8d,_0x1fb80f={'QAaVD':function(_0xbf503d,_0x31ff5d){return _0xbf503d+_0x31ff5d;},'sjLCr':_0x18ead9(0x1f9),'cbZyF':_0x18ead9(0x22a),'vocwI':_0x18ead9(0x1f1),'nuqDd':_0x18ead9(0x21d),'wIWlV':function(_0x58bea7){return _0x58bea7();},'xxqIV':function(_0x548774,_0x51a10b){return _0x548774!==_0x51a10b;},'FHkFD':function(_0x1f4cfc,_0xaa10e1){return _0x1f4cfc===_0xaa10e1;},'gDAWj':_0x18ead9(0x1f0),'AhGit':function(_0x382efe,_0x1d360b){return _0x382efe==_0x1d360b;},'qfXXz':function(_0x50d791,_0x1b0dd0){return _0x50d791===_0x1b0dd0;},'OuudY':function(_0x344325){return _0x344325();}};return new Promise(_0xa042d0=>{const _0x295bdb=_0x18ead9,_0x46741c={'aadeH':function(_0x274a02,_0x101b7d){const _0x32f548=a181_0x3536;return _0x1fb80f[_0x32f548(0x1fd)](_0x274a02,_0x101b7d);},'ivWCo':_0x1fb80f[_0x295bdb(0x23d)],'GCOsZ':_0x1fb80f[_0x295bdb(0x22e)],'NpZav':function(_0x4d2eda,_0x3de9eb){const _0x5a0ab8=_0x295bdb;return _0x1fb80f[_0x5a0ab8(0x1fd)](_0x4d2eda,_0x3de9eb);},'mvdsc':_0x1fb80f[_0x295bdb(0x213)],'PYdUO':_0x1fb80f[_0x295bdb(0x236)],'zeUaD':function(_0x1ac125){const _0x55b368=_0x295bdb;return _0x1fb80f[_0x55b368(0x1ea)](_0x1ac125);},'defdk':function(_0x1e2430,_0x2b6966){const _0x11bfc7=_0x295bdb;return _0x1fb80f[_0x11bfc7(0x1fd)](_0x1e2430,_0x2b6966);},'UnNBw':function(_0x110790){const _0xc151b1=_0x295bdb;return _0x1fb80f[_0xc151b1(0x1ea)](_0x110790);},'cKgCg':function(_0x29757f){const _0x2b72fa=_0x295bdb;return _0x1fb80f[_0x2b72fa(0x1ea)](_0x29757f);},'HntLK':function(_0x5c438e,_0x1d9fc5){const _0x1805bc=_0x295bdb;return _0x1fb80f[_0x1805bc(0x233)](_0x5c438e,_0x1d9fc5);},'iusxA':function(_0x56f2ec,_0x5b2cd9){const _0x3a3084=_0x295bdb;return _0x1fb80f[_0x3a3084(0x1f4)](_0x56f2ec,_0x5b2cd9);},'AsRCj':_0x1fb80f['gDAWj'],'cmBnP':function(_0x50cf92,_0xef0c1c){const _0x59e95a=_0x295bdb;return _0x1fb80f[_0x59e95a(0x243)](_0x50cf92,_0xef0c1c);},'WTizo':function(_0x41f91d,_0x156f38){const _0x12b494=_0x295bdb;return _0x1fb80f[_0x12b494(0x22c)](_0x41f91d,_0x156f38);}};if(_0x3b32e5&&_0x3b32e5[_0x295bdb(0x1e1)]){const _0x1312bf=constants[_0x295bdb(0x232)][_0x3b32e5['hubRegion']];if(_0x1312bf)return constants[_0x295bdb(0x241)]=_0x1312bf,logger[_0x295bdb(0x1f2)]('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0x1312bf),globals[_0x295bdb(0x218)](_0x1fb80f[_0x295bdb(0x213)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x1312bf[_0x295bdb(0x229)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x295bdb(0x1f6)]()}),_0x1fb80f['OuudY'](_0xa042d0);logger[_0x295bdb(0x1f2)](_0x295bdb(0x20e)+_0x3b32e5['hubRegion']+_0x295bdb(0x1df));}Promise[_0x295bdb(0x234)](this['nextHubs'](_0x3b32e5))[_0x295bdb(0x228)](_0x3e4f58=>{const _0x54ddf7=_0x295bdb,_0x484a73={'AhiXI':function(_0xb6fa92,_0x1c8b57){const _0xa240df=a181_0x3536;return _0x46741c[_0xa240df(0x20a)](_0xb6fa92,_0x1c8b57);},'EsaIL':_0x46741c[_0x54ddf7(0x21c)],'CnKaq':function(_0x711d61,_0x10916b){return _0x46741c['iusxA'](_0x711d61,_0x10916b);},'bQznS':_0x46741c[_0x54ddf7(0x222)]};logger[_0x54ddf7(0x1f2)]('NEAREST\x20HUBS\x20LIST:\x20'+util['format']('%j',_0x3e4f58));if(_0x46741c[_0x54ddf7(0x20f)](_0x3e4f58,null)||_0x46741c[_0x54ddf7(0x215)](_0x3e4f58[_0x54ddf7(0x208)],0x0))return _0x46741c[_0x54ddf7(0x200)](_0xa042d0);const _0x3423d0=_0x3e4f58[_0x54ddf7(0x219)](_0x3eb693=>{const _0x1c883f=_0x54ddf7,_0x4dca5f=_0x46741c[_0x1c883f(0x212)](_0x46741c[_0x1c883f(0x1ec)],_0x3eb693);return this[_0x1c883f(0x1ed)](_0x3b32e5,_0x4dca5f)['then'](_0x31729c=>{const _0x302b98=_0x1c883f;if(_0x31729c&&_0x31729c['hubUrl']&&_0x484a73[_0x302b98(0x220)](_0x31729c[_0x302b98(0x22f)],undefined)){const _0x51b0b3={};return _0x51b0b3[_0x302b98(0x241)]=_0x31729c[_0x302b98(0x241)],_0x51b0b3['latency']=_0x31729c[_0x302b98(0x22f)],_0x51b0b3['ok']=!![],_0x51b0b3;}const _0x309a5e={};return _0x309a5e[_0x302b98(0x241)]=_0x4dca5f,_0x309a5e[_0x302b98(0x22f)]=null,_0x309a5e['ok']=![],_0x309a5e;})[_0x1c883f(0x22b)](()=>({'hubUrl':_0x4dca5f,'latency':null,'ok':![]}));});Promise[_0x54ddf7(0x23c)](_0x3423d0[_0x54ddf7(0x219)](_0xfe9cf9=>_0xfe9cf9[_0x54ddf7(0x228)](_0x28eac8=>_0x28eac8['ok']?_0x28eac8:null)))['then'](_0x33c2f4=>{const _0x1223d0=_0x54ddf7;if(_0x33c2f4)return _0x33c2f4;return Promise[_0x1223d0(0x244)](_0x3423d0)['then'](()=>null);})[_0x54ddf7(0x228)](_0x29667d=>{const _0x31a194=_0x54ddf7;if(!_0x29667d){logger['debug'](_0x46741c[_0x31a194(0x1e0)]);const _0x33fca0=_0x46741c['NpZav'](_0x46741c[_0x31a194(0x1ec)],_0x3e4f58[0x0]);return globals[_0x31a194(0x218)](_0x46741c[_0x31a194(0x21c)],{'nearestHubs':_0x3e4f58[_0x31a194(0x219)](_0x1bcf1f=>_0x31a194(0x1f9)+_0x1bcf1f),'hubLatencies':{},'selectedHub':_0x33fca0,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x31a194(0x241)]=_0x46741c[_0x31a194(0x1ef)](_0x33fca0,_0x46741c[_0x31a194(0x1de)]),logger[_0x31a194(0x1f2)](_0x31a194(0x245)+_0x33fca0),_0x46741c[_0x31a194(0x1e7)](_0xa042d0);}const _0x358c3b={[_0x29667d[_0x31a194(0x241)]]:_0x29667d['latency']},_0x578c1f={'nearestHubs':_0x3e4f58['map'](_0x525974=>_0x31a194(0x1f9)+_0x525974),'hubLatencies':_0x358c3b,'selectedHub':_0x29667d[_0x31a194(0x241)],'selectedHubLatency':_0x29667d['latency'],'timestamp':Date[_0x31a194(0x1f6)]()};globals['setGlobal'](_0x46741c[_0x31a194(0x21c)],_0x578c1f),constants['hubUrl']=_0x46741c[_0x31a194(0x23e)](_0x29667d[_0x31a194(0x241)],_0x46741c[_0x31a194(0x1de)]),logger['debug'](_0x31a194(0x1e3)+_0x29667d[_0x31a194(0x241)]),_0x46741c[_0x31a194(0x216)](_0xa042d0),Promise[_0x31a194(0x235)](_0x3423d0)['then'](_0x5182ee=>{const _0x4e1efa=_0x31a194;try{const _0x5a89eb=globals[_0x4e1efa(0x1e4)](_0x484a73[_0x4e1efa(0x1e8)]);if(!_0x5a89eb||_0x5a89eb[_0x4e1efa(0x227)])return;const _0x502bde={};for(const _0x1724ba of _0x5182ee){_0x484a73[_0x4e1efa(0x203)](_0x1724ba[_0x4e1efa(0x21e)],_0x484a73['bQznS'])&&_0x1724ba[_0x4e1efa(0x23f)]&&_0x1724ba[_0x4e1efa(0x23f)]['ok']&&(_0x502bde[_0x1724ba[_0x4e1efa(0x23f)][_0x4e1efa(0x241)]]=_0x1724ba[_0x4e1efa(0x23f)][_0x4e1efa(0x22f)]);}_0x5a89eb[_0x4e1efa(0x1e5)]=_0x502bde;}catch(_0x8ab98e){logger[_0x4e1efa(0x1f2)](_0x4e1efa(0x21a)+_0x8ab98e);}})[_0x31a194(0x22b)](_0x2584cc=>{const _0x179daf=_0x31a194;logger['debug'](_0x179daf(0x1fe)+_0x2584cc);});})[_0x54ddf7(0x22b)](_0x25f59a=>{const _0x4dec0a=_0x54ddf7;logger[_0x4dec0a(0x1f2)](_0x4dec0a(0x226)+_0x25f59a),_0x46741c[_0x4dec0a(0x200)](_0xa042d0);});})[_0x295bdb(0x22b)](_0x58d7da=>{const _0x365a27=_0x295bdb;logger[_0x365a27(0x1f2)](_0x365a27(0x240)+_0x58d7da),_0x46741c['UnNBw'](_0xa042d0);});});},exports[a181_0x19ab8d(0x1ed)]=async(_0x395434,_0x5b286c)=>{const _0x3e5adb=a181_0x19ab8d,_0x43a892={};_0x43a892[_0x3e5adb(0x231)]=_0x3e5adb(0x238),_0x43a892[_0x3e5adb(0x1f3)]=_0x3e5adb(0x20c),_0x43a892['DAroT']=function(_0x2dcf19,_0x254319){return _0x2dcf19-_0x254319;};const _0x3c46dc=_0x43a892;try{const _0x591b47=new Date();await helper[_0x3e5adb(0x221)](_0x3c46dc['wdwXJ'],_0x3c46dc[_0x3e5adb(0x1f3)],{},_0x395434,_0x5b286c,0x1388);const _0x5cf815=_0x3c46dc['DAroT'](new Date(),_0x591b47);logger['debug'](_0x3e5adb(0x20b)+_0x5b286c+_0x3e5adb(0x209)+_0x5cf815+'ms');const _0x48e828={};return _0x48e828['hubUrl']=_0x5b286c,_0x48e828[_0x3e5adb(0x22f)]=_0x5cf815,_0x48e828;}catch(_0x1248fc){return logger[_0x3e5adb(0x1f2)](_0x3e5adb(0x242)+_0x5b286c+'\x20HUB\x20-\x20'+_0x1248fc),{};}},exports['nextHubs']=async _0x5268b9=>{const _0x3304ef=a181_0x19ab8d,_0x4f4990={'nxALD':function(_0x2dbc24,_0x17e785){return _0x2dbc24(_0x17e785);},'ovveb':_0x3304ef(0x224),'iSXpu':'/wd/hub','vJJXv':_0x3304ef(0x238),'nhZQw':_0x3304ef(0x217)};try{const _0x537f9d=_0x4f4990[_0x3304ef(0x210)](require,_0x4f4990[_0x3304ef(0x23a)])[_0x3304ef(0x241)][_0x3304ef(0x229)](_0x4f4990[_0x3304ef(0x1e6)],''),_0x5a2851=await helper[_0x3304ef(0x221)](_0x4f4990['vJJXv'],_0x4f4990['nhZQw'],{},_0x5268b9,_0x537f9d,0x1388),_0x2ca215=_0x5a2851[_0x3304ef(0x239)];return logger[_0x3304ef(0x1f2)]('Response:\x20'+util[_0x3304ef(0x1fa)]('%j',_0x2ca215)),_0x2ca215['hubs'];}catch(_0x3ee689){logger[_0x3304ef(0x1f2)](_0x3304ef(0x214)+_0x3ee689);}return null;};function a181_0x1602(){const _0x10f475=['then','replace','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','catch','qfXXz','parse','cbZyF','latency','1513715LvNuUh','wdwXJ','HUB_URL_MAP','xxqIV','resolve','allSettled','nuqDd','55592IPZeqS','GET','data','ovveb','./helpers/helper','race','sjLCr','defdk','value','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','hubUrl','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','AhGit','all','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','wZnHg','5190456mOZwlT','updateHubUrl','18ZoXGaI','PYdUO','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','GCOsZ','hubRegion','hash','HUB\x20URL\x20SET\x20TO\x20-\x20','getGlobal','hubLatencies','iSXpu','zeUaD','EsaIL','get','wIWlV','set','ivWCo','findLatency','7235070exeHqA','NpZav','fulfilled','_hubAllocationData','debug','nFmsI','FHkFD','path','now','winstonLogger','getRequestOptions','https://','format','newHubUrlBySession','186onuwSy','QAaVD','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','delete','cKgCg','consumeHubUrlForSession','3777035ZQYUhS','CnKaq','25192zefuNv','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','IuzQE','1602765dMIubX','length','\x20is:\x20','HntLK','Execution\x20time\x20for\x20','check','./helpers/logger','hubRegion\x20','cmBnP','nxALD','ZeijA','aadeH','vocwI','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','WTizo','UnNBw','next_hubs','setGlobal','map','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','12SwvTpK','mvdsc','/wd/hub','status','./helpers/globals','AhiXI','nodeRequest','AsRCj','search','./bin/utils/constants','pathname','ERROR\x20in\x20hub\x20selection:\x20','skipped'];a181_0x1602=function(){return _0x10f475;};return a181_0x1602();}
|