browserstack-node-sdk 1.70.2 → 1.70.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a178_0x4068dd=a178_0xc1fa;(function(_0x41be13,_0xd92d2f){const _0x165b6b=a178_0xc1fa,_0x45647f=_0x41be13();while(!![]){try{const _0x111d5e=-parseInt(_0x165b6b(0x114))/0x1*(-parseInt(_0x165b6b(0x11f))/0x2)+-parseInt(_0x165b6b(0xf8))/0x3+-parseInt(_0x165b6b(0x190))/0x4+-parseInt(_0x165b6b(0xfe))/0x5*(-parseInt(_0x165b6b(0x1a7))/0x6)+-parseInt(_0x165b6b(0x197))/0x7*(parseInt(_0x165b6b(0x17f))/0x8)+parseInt(_0x165b6b(0x127))/0x9*(-parseInt(_0x165b6b(0x102))/0xa)+parseInt(_0x165b6b(0xea))/0xb;if(_0x111d5e===_0xd92d2f)break;else _0x45647f['push'](_0x45647f['shift']());}catch(_0x318f72){_0x45647f['push'](_0x45647f['shift']());}}}(a178_0x255c,0x4ced0));const bsSetupHelper=require(a178_0x4068dd(0x105)),LoadTestModule=require(a178_0x4068dd(0x14c)),{isTestObservabilitySession,getFrameworkVersion}=require(a178_0x4068dd(0x17b)),accessibilityHelper=require(a178_0x4068dd(0xfc)),logger=require(a178_0x4068dd(0x18b))[a178_0x4068dd(0x18e)],{nestedKeyValue}=require(a178_0x4068dd(0xe5)),scripts=require(a178_0x4068dd(0xdf)),globals=require('../globals.js'),testHubConstants=require(a178_0x4068dd(0x1a1)),PWTestDetails=require(a178_0x4068dd(0x14e)),JestTestDetails=require(a178_0x4068dd(0x16c)),{FRAMEWORKS}=require(a178_0x4068dd(0x19b)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a178_0x4068dd(0x11a)),constants=require('../../bin/utils/constants.js');let testData={};exports[a178_0x4068dd(0x121)]=_0x15b53c=>{const _0x29a1ae=a178_0x4068dd,_0x1bd9b2={'qMSNU':function(_0x370683){return _0x370683();},'dUpJM':function(_0x5558a4,_0x1eb42){return _0x5558a4===_0x1eb42;},'AskED':_0x29a1ae(0x1a2)};let _0x3349dd=![],_0x3820e7=![];if(bsSetupHelper[_0x29a1ae(0x15d)]()&&bsSetupHelper[_0x29a1ae(0x1a6)](_0x15b53c))_0x3820e7=!![];else bsSetupHelper[_0x29a1ae(0x15d)]()&&(_0x3349dd=!![]);return Object[_0x29a1ae(0x14b)]({'observability':_0x1bd9b2[_0x29a1ae(0x13c)](isTestObservabilitySession),'accessibility':exports[_0x29a1ae(0xff)](_0x15b53c),'percy':_0x15b53c[_0x29a1ae(0xe2)]||![],'sr_automation':_0x1bd9b2[_0x29a1ae(0xdd)](process[_0x29a1ae(0x187)][_0x29a1ae(0x178)],_0x1bd9b2[_0x29a1ae(0x165)])||_0x15b53c[_0x29a1ae(0x146)]||![],'automate':_0x3349dd,'app_automate':_0x3820e7,'turboscale':bsSetupHelper[_0x29a1ae(0x10e)](_0x15b53c),'lts':LoadTestModule[_0x29a1ae(0x183)](_0x15b53c)},bsSetupHelper[_0x29a1ae(0x148)]());},exports[a178_0x4068dd(0x175)]=(_0x372be4,_0x1a62ed)=>{const _0x37d93c=a178_0x4068dd,_0x3ab247={'YmpVe':function(_0x262dc3,_0x171984){return _0x262dc3(_0x171984);},'CvXzS':_0x37d93c(0xe0)},_0x1e96b5={'frameworkName':_0x1a62ed,'frameworkVersion':_0x3ab247[_0x37d93c(0x1a4)](getFrameworkVersion,_0x1a62ed),'sdkVersion':bsSetupHelper[_0x37d93c(0x108)](),'language':_0x3ab247['CvXzS'],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x372be4,_0x1a62ed)};return process[_0x37d93c(0x187)][_0x37d93c(0xf5)]=JSON['stringify'](_0x1e96b5),_0x1e96b5;},exports[a178_0x4068dd(0x188)]=_0x295fb2=>{const _0x40cd06=a178_0x4068dd,_0x23fc17={};_0x23fc17[_0x40cd06(0x154)]=_0x40cd06(0x1ad),_0x23fc17['qxKjn']=_0x40cd06(0x1a2);const _0x356cd6=_0x23fc17;process[_0x40cd06(0x187)][_0x40cd06(0x10c)]=_0x356cd6[_0x40cd06(0x154)],bsSetupHelper[_0x40cd06(0xeb)](_0x295fb2[_0x40cd06(0x1b3)][_0x40cd06(0xe2)])&&(!_0x295fb2['percy']||!_0x295fb2['percy'][_0x40cd06(0x10a)]())&&(process[_0x40cd06(0x187)][_0x40cd06(0x10c)]=_0x356cd6[_0x40cd06(0x115)]);},exports[a178_0x4068dd(0x1ac)]=()=>{const _0x173f9a=a178_0x4068dd;return bsSetupHelper[_0x173f9a(0xeb)](process[_0x173f9a(0x187)][_0x173f9a(0x10c)]);},exports[a178_0x4068dd(0xff)]=(_0x28134b={})=>{const _0x1d700b=a178_0x4068dd,_0x23bd76={};_0x23bd76[_0x1d700b(0x1ab)]=function(_0x53ab7a,_0x59cd11){return _0x53ab7a!==_0x59cd11;},_0x23bd76['lGytL']=function(_0x497c06,_0x24ed9a){return _0x497c06===_0x24ed9a;},_0x23bd76[_0x1d700b(0x13b)]=_0x1d700b(0x1a2),_0x23bd76['umHnH']=function(_0x382289,_0x4c6134){return _0x382289>_0x4c6134;},_0x23bd76['cfBpK']=function(_0x1a88f7,_0x5c7ab8){return _0x1a88f7===_0x5c7ab8;};const _0x27139e=_0x23bd76;if(_0x27139e[_0x1d700b(0x1ab)](process[_0x1d700b(0x187)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper['isTrue'](process[_0x1d700b(0x187)]['BROWSERSTACK_ACCESSIBILITY']);let _0x482898=_0x27139e['lGytL'](process[_0x1d700b(0x187)][_0x1d700b(0x1b1)],_0x27139e['Dyrjq']);return _0x27139e[_0x1d700b(0x16d)](Object[_0x1d700b(0x19e)](_0x28134b)[_0x1d700b(0x191)],0x0)&&(process[_0x1d700b(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x1d700b(0xef)](_0x28134b)),_0x482898=_0x482898||_0x27139e[_0x1d700b(0x103)](process[_0x1d700b(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x27139e[_0x1d700b(0x13b)]),_0x482898;},exports[a178_0x4068dd(0x16e)]=(_0x16593b,_0x409963)=>{const _0x1f7100=a178_0x4068dd,_0x4c5649={'JrPXU':function(_0x5ef363){return _0x5ef363();},'HZBNR':_0x1f7100(0xdc),'yrJTG':function(_0xf7badd,_0x516cb8,_0x25ac60){return _0xf7badd(_0x516cb8,_0x25ac60);},'usVtf':'observability','WJVmL':_0x1f7100(0x174),'COkNw':_0x1f7100(0x1a2)};if(!_0x16593b||!_0x16593b['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x16593b[_0x1f7100(0x144)][_0x1f7100(0x1af)])return exports[_0x1f7100(0x101)](_0x16593b['observability']),[null,null,null];if(_0x4c5649[_0x1f7100(0x116)](isTestObservabilitySession)){const _0x18b398=_0x4c5649['HZBNR'][_0x1f7100(0x167)]('|');let _0x5a216d=0x0;while(!![]){switch(_0x18b398[_0x5a216d++]){case'0':if(_0x16593b[_0x1f7100(0xf0)]){process[_0x1f7100(0x187)]['BS_TESTOPS_JWT']=_0x16593b['jwt'];const _0x490987={};_0x490987['username']=_0x409963['username'],_0x490987[_0x1f7100(0x156)]=_0x409963[_0x1f7100(0x156)],process['env'][_0x1f7100(0xf4)]=JSON[_0x1f7100(0x12c)](_0x490987);}continue;case'1':_0x4c5649[_0x1f7100(0x179)](nestedKeyValue,_0x16593b,[_0x4c5649[_0x1f7100(0x1ae)],_0x4c5649[_0x1f7100(0xe9)]])&&(process[_0x1f7100(0x187)][_0x1f7100(0x147)]=_0x16593b['observability']['options'][_0x1f7100(0x13d)]['toString']());continue;case'2':_0x16593b[_0x1f7100(0x130)]&&(process[_0x1f7100(0x187)][_0x1f7100(0x164)]=_0x16593b['build_hashed_id']);continue;case'3':logger[_0x1f7100(0x11b)]('['+constants['TEST_REPORTING_ANALYTICS']+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x16593b['build_hashed_id']);continue;case'4':process[_0x1f7100(0x187)][_0x1f7100(0x1b6)]=_0x4c5649[_0x1f7100(0xe6)];continue;case'5':return[_0x16593b[_0x1f7100(0xf0)],_0x16593b[_0x1f7100(0x130)],process[_0x1f7100(0x187)][_0x1f7100(0x147)]];}break;}}return[null,null,null];},exports[a178_0x4068dd(0x151)]=_0x910638=>{const _0x1fd0e4=a178_0x4068dd,_0x3111e5={'vTgKG':function(_0x2ec134,_0x3b2643,_0xa880f8){return _0x2ec134(_0x3b2643,_0xa880f8);},'vtUsw':_0x1fd0e4(0x120),'ZBvRC':_0x1fd0e4(0x174),'AdLtw':function(_0x49c87f,_0x2f6a57,_0x30c38d,_0x15f259){return _0x49c87f(_0x2f6a57,_0x30c38d,_0x15f259);},'UoYns':_0x1fd0e4(0x117),'eKjMz':_0x1fd0e4(0x1a0),'yjiWC':_0x1fd0e4(0x1aa),'hwTGp':_0x1fd0e4(0xde),'fihRN':_0x1fd0e4(0x16b),'gHmUx':_0x1fd0e4(0xe8),'XCyNQ':function(_0x228348,_0x3ebfc3){return _0x228348(_0x3ebfc3);},'ppqAz':function(_0x4879a2,_0x3b69f4){return _0x4879a2===_0x3b69f4;},'vZPrI':'true','BxIkd':_0x1fd0e4(0x168)};if(!_0x910638[_0x1fd0e4(0x120)])return exports[_0x1fd0e4(0x123)](),[null,null];if(!_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x1af)])return exports[_0x1fd0e4(0x123)](_0x910638[_0x1fd0e4(0x120)]),[null,null];if(_0x3111e5[_0x1fd0e4(0xfa)](nestedKeyValue,_0x910638,[_0x3111e5[_0x1fd0e4(0xf3)],_0x3111e5['ZBvRC']])){const {accessibilityToken:_0x2644fc,scannerVersion:_0x485d14,scannerProcessingTimeout:_0xe75da,isMobileScanningEnabledForGroup:_0xb2b55}=_0x3111e5['AdLtw'](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x174)][_0x1fd0e4(0x173)],_0x3111e5['UoYns'],_0x3111e5[_0x1fd0e4(0x18c)]),_0x4f1362={'scripts':_0x3111e5[_0x1fd0e4(0x189)](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)]['options'][_0x1fd0e4(0x195)],_0x3111e5['UoYns'],_0x3111e5['yjiWC'])};_0x4f1362[_0x3111e5[_0x1fd0e4(0x140)]]=_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x174)][_0x1fd0e4(0x169)][_0x1fd0e4(0xde)];const _0x158197=_0x3111e5[_0x1fd0e4(0x189)](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)]['options'][_0x1fd0e4(0x173)],_0x3111e5[_0x1fd0e4(0x19c)],_0x3111e5[_0x1fd0e4(0x18c)]);_0x4f1362[_0x3111e5[_0x1fd0e4(0x12f)]]=_0x158197[_0x3111e5['gHmUx']],scripts[_0x1fd0e4(0x13a)](_0x4f1362),scripts['toJson']();let _0x20a756=process[_0x1fd0e4(0x187)][_0x1fd0e4(0x185)];_0x20a756=!!_0x20a756?JSON[_0x1fd0e4(0x135)](_0x20a756):{},_0x20a756['scannerVersion']=_0x485d14,process[_0x1fd0e4(0x187)][_0x1fd0e4(0x185)]=JSON[_0x1fd0e4(0x12c)](_0x20a756),process[_0x1fd0e4(0x187)][_0x1fd0e4(0x14f)]=_0x2644fc,process[_0x1fd0e4(0x187)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x3111e5[_0x1fd0e4(0xf6)](String,_0x3111e5['ppqAz'](_0xb2b55,!![])||_0x3111e5['ppqAz'](_0xb2b55,_0x3111e5[_0x1fd0e4(0xf9)])),logger[_0x1fd0e4(0x11b)](_0x1fd0e4(0x133)+_0x910638[_0x1fd0e4(0x130)]);const _0x18f965=accessibilityHelper[_0x1fd0e4(0x139)](_0x2644fc);return _0x18f965&&bsSetupHelper[_0x1fd0e4(0xeb)](_0x18f965[_0x1fd0e4(0x13f)])&&(process[_0x1fd0e4(0x187)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x1fd0e4(0x11b)](_0x3111e5['BxIkd'])),[_0x2644fc,_0x910638[_0x1fd0e4(0x130)],_0xe75da];}return[null,null];},exports[a178_0x4068dd(0x101)]=_0x35a365=>{const _0x79ea09=a178_0x4068dd,_0x579935={};_0x579935[_0x79ea09(0xe7)]=_0x79ea09(0x19a),_0x579935['DLGMm']='null',_0x579935['LHOgw']=_0x79ea09(0x1ad);const _0x4b39ad=_0x579935,_0x406ebf=_0x4b39ad['mTxeL'][_0x79ea09(0x167)]('|');let _0x12898e=0x0;while(!![]){switch(_0x406ebf[_0x12898e++]){case'0':process[_0x79ea09(0x187)][_0x79ea09(0x136)]=_0x4b39ad['DLGMm'];continue;case'1':process[_0x79ea09(0x187)][_0x79ea09(0x15e)]=_0x4b39ad[_0x79ea09(0x16a)];continue;case'2':process[_0x79ea09(0x187)][_0x79ea09(0x1b6)]=_0x4b39ad[_0x79ea09(0x196)];continue;case'3':exports[_0x79ea09(0x1b2)](_0x35a365,testHubConstants[_0x79ea09(0xfb)]);continue;case'4':process[_0x79ea09(0x187)][_0x79ea09(0x164)]=_0x4b39ad[_0x79ea09(0x16a)];continue;case'5':process[_0x79ea09(0x187)][_0x79ea09(0x11e)]=_0x4b39ad['DLGMm'];continue;case'6':process['env'][_0x79ea09(0x147)]=_0x4b39ad['DLGMm'];continue;}break;}},exports[a178_0x4068dd(0x123)]=_0x75ec97=>{const _0x5bfa38=a178_0x4068dd,_0x144288={};_0x144288[_0x5bfa38(0x180)]=_0x5bfa38(0x14a),_0x144288[_0x5bfa38(0x158)]=_0x5bfa38(0x15a),_0x144288[_0x5bfa38(0x172)]=_0x5bfa38(0x1ad);const _0x9f8b36=_0x144288,_0x5c8608=_0x9f8b36[_0x5bfa38(0x180)][_0x5bfa38(0x167)]('|');let _0xe40247=0x0;while(!![]){switch(_0x5c8608[_0xe40247++]){case'0':process['env'][_0x5bfa38(0x15e)]=_0x9f8b36['zAQDb'];continue;case'1':process[_0x5bfa38(0x187)][_0x5bfa38(0x1b1)]=_0x9f8b36[_0x5bfa38(0x172)];continue;case'2':exports[_0x5bfa38(0x1b2)](_0x75ec97,testHubConstants['ACCESSIBILITY']);continue;case'3':process[_0x5bfa38(0x187)][_0x5bfa38(0x141)]=_0x9f8b36[_0x5bfa38(0x172)];continue;case'4':process[_0x5bfa38(0x187)][_0x5bfa38(0x11e)]=_0x9f8b36[_0x5bfa38(0x158)];continue;}break;}},exports[a178_0x4068dd(0x1b2)]=(_0xe9be7d,_0x4a76b2='')=>{const _0x1566c4=a178_0x4068dd,_0x243519={};_0x243519[_0x1566c4(0x137)]=function(_0x224f7c,_0x76b972){return _0x224f7c===_0x76b972;};const _0x2d4e4a=_0x243519;if(_0x2d4e4a[_0x1566c4(0x137)](_0xe9be7d,undefined)){logger['error'](_0x4a76b2[_0x1566c4(0x177)]()+_0x1566c4(0x159));return;}for(const _0x4a0148 of _0xe9be7d[_0x1566c4(0x128)]){const _0xc6a23=_0x4a0148[_0x1566c4(0x171)],_0x5d60f2=_0x4a0148['message'];if(_0x5d60f2)switch(_0xc6a23){case testHubConstants['ERROR']['INVALID_CREDENTIALS']:logger['error'](_0x5d60f2);break;case testHubConstants[_0x1566c4(0x107)]['ACCESS_DENIED']:logger[_0x1566c4(0x153)](_0x5d60f2);break;case testHubConstants[_0x1566c4(0x107)]['DEPRECATED']:logger[_0x1566c4(0x142)](_0x5d60f2);break;default:logger['error'](_0x5d60f2);}}};const jsonifyAccessibilityArray=(_0x54c524,_0x5b030d,_0x2c8b23)=>{const _0x4aad12=a178_0x4068dd,_0x212125={};return _0x54c524[_0x4aad12(0x182)](_0x2c4cbb=>{_0x212125[_0x2c4cbb[_0x5b030d]]=_0x2c4cbb[_0x2c8b23];}),_0x212125;};function a178_0xc1fa(_0x4b426e,_0x3bc8aa){const _0x255c53=a178_0x255c();return a178_0xc1fa=function(_0xc1fa01,_0x4f9411){_0xc1fa01=_0xc1fa01-0xdc;let _0x27c142=_0x255c53[_0xc1fa01];return _0x27c142;},a178_0xc1fa(_0x4b426e,_0x3bc8aa);}exports[a178_0x4068dd(0x13e)]=_0xe817e0=>{const _0x3c8fb9=a178_0x4068dd;_0xe817e0['jwt']&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0xe817e0[_0x3c8fb9(0xf0)]);_0xe817e0[_0x3c8fb9(0x130)]&&(process[_0x3c8fb9(0x187)][_0x3c8fb9(0x15e)]=_0xe817e0[_0x3c8fb9(0x130)],logger[_0x3c8fb9(0x11b)](_0x3c8fb9(0x1b0)+_0xe817e0[_0x3c8fb9(0x130)]));;},exports[a178_0x4068dd(0x113)]=(_0x2488f0='',_0x1c7c8a='')=>{const _0x2260a1=a178_0x4068dd,_0x10224f={'BHGSU':function(_0x222111){return _0x222111();},'upYJe':function(_0x2aacc3,_0x9b2ad5){return _0x2aacc3===_0x9b2ad5;},'DkdKr':'uploadEventData','lVeLy':_0x2260a1(0x10d),'ixEQM':_0x2260a1(0x126),'gIDLC':_0x2260a1(0xe3),'vMrJq':_0x2260a1(0xee),'cpqzI':function(_0x197dd4){return _0x197dd4();}};if(exports[_0x2260a1(0x1ac)]()&&!exports[_0x2260a1(0xff)]()&&!_0x10224f['BHGSU'](isTestObservabilitySession)){if(_0x10224f[_0x2260a1(0xe1)](_0x1c7c8a,_0x10224f[_0x2260a1(0x15c)]))return![];if([_0x10224f[_0x2260a1(0x199)],_0x10224f[_0x2260a1(0xf2)]]['includes'](_0x2488f0))return![];return!![];}if(exports[_0x2260a1(0xff)]()&&!_0x10224f[_0x2260a1(0x18a)](isTestObservabilitySession)){if([_0x10224f[_0x2260a1(0x12b)],_0x10224f[_0x2260a1(0x184)],_0x10224f['lVeLy']][_0x2260a1(0x16f)](_0x2488f0))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x10224f[_0x2260a1(0x15f)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a178_0x4068dd(0x170)]=(_0x698da7,_0x49deeb,_0xa8d8c5='',_0x4abb55)=>{const _0x310c50=a178_0x4068dd,_0x3db416={'jcayf':_0x310c50(0xe3),'SUoaq':_0x310c50(0xee),'JEQGI':function(_0x1924dd,_0x17a2c6){return _0x1924dd===_0x17a2c6;},'XVdMT':_0x310c50(0x193),'kWOgW':_0x310c50(0x149),'ObYMF':_0x310c50(0x120),'isNeJ':function(_0x25b964,_0x2d6758){return _0x25b964&&_0x2d6758;},'IUFOM':function(_0x367f8f,_0x4ff2ba){return _0x367f8f===_0x4ff2ba;},'sSayc':function(_0x220d8d,_0x34d2c8){return _0x220d8d+_0x34d2c8;},'FBMXv':function(_0x2ca09b,_0x31d40d){return _0x2ca09b+_0x31d40d;},'DgurA':function(_0x1f7942,_0x5360f9){return _0x1f7942(_0x5360f9);},'gwZem':'../../bin/jasmine/testRunMap.js','HMZuu':function(_0x5905ba,_0x147631){return _0x5905ba+_0x147631;},'oIcex':function(_0x290967,_0x163c0b){return _0x290967+_0x163c0b;},'efKya':function(_0x563ed4,_0x59111f){return _0x563ed4&&_0x59111f;},'NimTW':function(_0x4f1e4d,_0x3f3399){return _0x4f1e4d===_0x3f3399;},'IgxFp':function(_0x2a5cfd,_0x44dde8){return _0x2a5cfd!==_0x44dde8;},'SApgG':_0x310c50(0x17d),'DISHn':function(_0x1c1efb,_0x1eb5b1){return _0x1c1efb&&_0x1eb5b1;},'HfTmb':function(_0x1968b2,_0x3e0883){return _0x1968b2===_0x3e0883;},'xuplj':function(_0x18e9d6,_0x4516d9){return _0x18e9d6&&_0x4516d9;},'GOpVR':_0x310c50(0x157)};if([_0x3db416[_0x310c50(0x181)],_0x3db416[_0x310c50(0x1b4)]][_0x310c50(0x16f)](_0x49deeb))return;let _0x1c5aab={};try{process[_0x310c50(0x187)][_0x310c50(0x10f)]&&(_0x1c5aab=JSON[_0x310c50(0x135)](process['env'][_0x310c50(0x10f)])||{});}catch(_0x5ef2a5){logger[_0x310c50(0x11b)](_0x310c50(0x18f)+_0x5ef2a5),_0x1c5aab={};}if(exports[_0x310c50(0xff)]()){if(_0x3db416[_0x310c50(0x11c)](_0x4abb55,FRAMEWORKS[_0x310c50(0x119)])){const _0x19f678=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0xa8d8c5[_0x310c50(0x150)](),!![]),_0x5b2e55=globals[_0x310c50(0x112)](_0x3db416['kWOgW']);_0x1c5aab[_0x3db416['ObYMF']]=_0x3db416[_0x310c50(0x186)](_0x5b2e55,_0x19f678);}if(_0x3db416['IUFOM'](_0x4abb55,FRAMEWORKS['JEST'])){const _0x240550=_0x3db416[_0x310c50(0xed)](_0x3db416[_0x310c50(0x132)](_0x698da7[_0x310c50(0x100)]['join']('\x20'),'\x20'),_0xa8d8c5['name']),_0x1000d5=globals['getGlobal'](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0x240550,![]),_0xf31260=browserStackGlobals[_0x310c50(0x149)];_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416[_0x310c50(0x186)](_0xf31260,_0x1000d5);}if(_0x3db416['IUFOM'](_0x4abb55,FRAMEWORKS[_0x310c50(0x138)])){const _0x2f022f=_0x3db416['DgurA'](require,_0x3db416[_0x310c50(0x118)]),_0x26b609=_0xa8d8c5&&_0x2f022f[_0x310c50(0x124)](_0xa8d8c5['id'])||_0x698da7[_0x310c50(0x17e)];_0x26b609&&(_0x698da7[_0x310c50(0x17e)]=_0x26b609);const _0x3392cd=_0x3db416[_0x310c50(0x122)](_0x3db416[_0x310c50(0xfd)](_0x698da7['scopes'][_0x310c50(0x134)]('\x20'),'\x20'),_0xa8d8c5[_0x310c50(0x106)]||_0x698da7[_0x310c50(0x117)]),_0x1535a8=globals['getGlobal'](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0x3392cd,![]),_0x6705f3=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x163)]);_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416['efKya'](_0x6705f3,_0x1535a8);}_0x3db416['NimTW'](_0x4abb55,FRAMEWORKS['PLAYWRIGHT'])&&_0x3db416['IgxFp'](_0x49deeb,_0x3db416['SApgG'])&&(_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x698da7[_0x310c50(0x17e)]));if(_0x3db416[_0x310c50(0x11c)](_0x4abb55,FRAMEWORKS[_0x310c50(0x111)])){const _0x4f65be=accessibilityHelper[_0x310c50(0x1a5)](_0xa8d8c5[_0x310c50(0x150)](),!![]),_0x396e20=global[_0x310c50(0x198)];_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416['DISHn'](_0x396e20,_0x4f65be);}if(_0x3db416['HfTmb'](_0x4abb55,FRAMEWORKS[_0x310c50(0xf7)])){const _0x32732e=accessibilityHelper[_0x310c50(0x1a5)](null,![],_0x698da7[_0x310c50(0x162)]),_0x1027a7=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x163)]);_0x1c5aab[_0x3db416['ObYMF']]=_0x3db416[_0x310c50(0x15b)](_0x1027a7,_0x32732e);}}_0x698da7[_0x3db416['GOpVR']]=_0x1c5aab;},exports[a178_0x4068dd(0x12e)]=_0xee89ae=>{const _0x4a7540=a178_0x4068dd,_0x451ba5={};_0x451ba5[_0x4a7540(0x11d)]=function(_0x1195ec,_0x517a50){return _0x1195ec>_0x517a50;};const _0x54b2a7=_0x451ba5;let _0x4cb6df={};if(_0x54b2a7[_0x4a7540(0x11d)](Object[_0x4a7540(0x19e)](testData)[_0x4a7540(0x191)],0x0))return testData;_0x4cb6df=JestTestDetails[_0x4a7540(0x155)]();if(_0x54b2a7['hAqpv'](Object['keys'](_0x4cb6df)['length'],0x0))return _0x4cb6df;return _0x4cb6df;},exports['setCurrentTestData']=(_0x496572,_0x550240={})=>{const _0x498037=a178_0x4068dd;if(bsSetupHelper[_0x498037(0x104)](_0x550240[_0x498037(0x192)]))return;switch(_0x496572){case FRAMEWORKS[_0x498037(0x119)]:testData=_0x550240[_0x498037(0x192)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x498037(0x131)](_0x550240[_0x498037(0x192)]);break;case FRAMEWORKS[_0x498037(0x138)]:testData=_0x550240[_0x498037(0x192)];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x2fb7ff=>{const _0x2f527f=a178_0x4068dd,_0xee8066={};_0xee8066[_0x2f527f(0x160)]=function(_0x447c57,_0x49eecf){return _0x447c57!==_0x49eecf;},_0xee8066[_0x2f527f(0x18d)]=function(_0x53785d,_0x12b1ab){return _0x53785d!==_0x12b1ab;},_0xee8066[_0x2f527f(0x19f)]=function(_0x24a645,_0x460dee){return _0x24a645!==_0x460dee;};const _0xd27eda=_0xee8066;if(_0xd27eda[_0x2f527f(0x160)](_0x2fb7ff[_0x2f527f(0x120)],null)&&_0xd27eda[_0x2f527f(0x18d)](_0x2fb7ff[_0x2f527f(0x120)],undefined))return _0x2fb7ff[_0x2f527f(0x120)];let _0xbe1065=![],_0x5e1a39=![];if(_0x2fb7ff[_0x2f527f(0xe4)])for(const _0x3b5a31 of _0x2fb7ff[_0x2f527f(0xe4)]){_0xd27eda[_0x2f527f(0x18d)](_0x3b5a31[_0x2f527f(0x120)],null)&&_0xd27eda[_0x2f527f(0x19f)](_0x3b5a31[_0x2f527f(0x120)],undefined)&&(_0xbe1065=_0xbe1065||bsSetupHelper['isTrue'](_0x3b5a31[_0x2f527f(0x120)]),_0x5e1a39=!![]);}if(_0x5e1a39)return _0xbe1065;return null;},exports['getTestOrchestrationBuildStartData']=_0x2a629d=>{const _0x424859=a178_0x4068dd;if(!_0x2a629d)return{};const _0x79a3a5=new OrchestrationUtils(_0x2a629d);return _0x79a3a5[_0x424859(0xec)]();},exports[a178_0x4068dd(0x1a8)]=_0x2a580b=>{const _0x17df52=a178_0x4068dd,_0x30baa0={'Okufm':function(_0x1899e2){return _0x1899e2();},'TpvTG':function(_0x417107,_0xfbe0f9){return _0x417107===_0xfbe0f9;},'DgMvr':_0x17df52(0x1a2)};let _0x518c03=![],_0x327095=![];if(bsSetupHelper[_0x17df52(0x15d)]()&&bsSetupHelper[_0x17df52(0x1a6)](_0x2a580b))_0x327095=!![];else bsSetupHelper[_0x17df52(0x15d)]()&&(_0x518c03=!![]);return Object[_0x17df52(0x14b)]({'observability':_0x30baa0[_0x17df52(0x1a9)](isTestObservabilitySession),'accessibility':exports[_0x17df52(0x125)](_0x2a580b),'percy':_0x2a580b[_0x17df52(0xe2)]||![],'sr_automation':_0x30baa0['TpvTG'](process[_0x17df52(0x187)]['BROWSERSTACK_SR_AUTOMATION'],_0x30baa0[_0x17df52(0x17a)])||_0x2a580b['sr_automation']||![],'automate':_0x518c03,'app_automate':_0x327095,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2a580b),'lts':LoadTestModule[_0x17df52(0x183)](_0x2a580b)},bsSetupHelper[_0x17df52(0x148)]());};function a178_0x255c(){const _0x51ad9c=['password','product_map','zAQDb','\x20Build\x20creation\x20failed','null','xuplj','DkdKr','isBrowserstackInfra','BROWSERSTACK_TESTHUB_UUID','cpqzI','ZQUwN','WSGxz','tags','kWOgW','BS_TESTOPS_BUILD_HASHED_ID','AskED','AuZfr','split','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','commandsToWrap','DLGMm','nonBStackInfraA11yChromeOptions','../../bin/jest/test-observability/test-details.js','umHnH','setTestObservabilityVariables','includes','appendTesthubParams','key','JpMko','capabilities','options','getFrameworkDetails','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','toUpperCase','BROWSERSTACK_SR_AUTOMATION','yrJTG','DgMvr','../test-observability/utils','testPlanId','TestRunStarted','uuid','8vRezxx','pkYvj','jcayf','forEach','isLTSSession','vMrJq','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isNeJ','env','setPercyFlag','AdLtw','BHGSU','../logger','eKjMz','fyXnk','winstonLogger','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','1392648fRcXmx','length','test_run','bstackA11yShouldScan','argv','scripts','LHOgw','897554ngzbNo','accessibilityPlatform','lVeLy','1|5|2|0|4|6|3','../test-observability/constants.js','UoYns','slice','keys','ZzuMf','value','./constants.js','true','ObYMF','YmpVe','shouldScanTestForAccessibility','isAppAutomateSession','3691902eyHuIc','getProductMapForBuildStartCall','Okufm','command','PXHLT','isPercyBuild','false','usVtf','success','BROWSERSTACK_TESTHUB_UUID:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','logBuildError','config','SUoaq','aZpxU','BS_TESTOPS_BUILD_COMPLETED','4|0|2|1|3|5','dUpJM','commands','../accessibility-automation/scripts.js','javascript','upYJe','percy','HookRunStarted','platforms','../helper.js','COkNw','mTxeL','goog:chromeOptions','WJVmL','2676828PiVxwy','isTrue','getBuildStartData','sSayc','HookRunFinished','checkAccessibilityPlatformConfig','jwt','jnwox','ixEQM','vtUsw','CREDENTIALS_FOR_CRASH_REPORTING','FRAMEWORK_DETAILS','XCyNQ','CUCUMBER','330732ZUvqpw','vZPrI','vTgKG','OBSERVABILITY','../accessibility-automation/helper','oIcex','5bKvMCI','isAccessibilityEnabled','scopes','handleErrorForObservability','20plZQGy','cfBpK','isUndefined','../helper','description','ERROR','getAgentVersion','xfoEy','isRunning','BROWSERSTACK_TEST_PLAN_ID','BROWSERSTACK_PERCY','LogCreated','isTurboScaleSession','BROWSERSTACK_PRODUCT_MAP','message','CODECEPT','getGlobal','shouldProcessEventForTesthub','1tnWfNm','qxKjn','JrPXU','name','gwZem','MOCHA','../test-orchestration/orchestrationUtils.js','debug','JEQGI','hAqpv','BROWSERSTACK_TESTHUB_JWT','114066EISCHF','accessibility','getProductMap','HMZuu','handleErrorForAccessibility','get','getAccessibilityValueFromYml','CBTSessionCreated','62919IlssJq','errors','testManagementOptions','trim','gIDLC','stringify','getTestPlanId','getCurrentTestData','fihRN','build_hashed_id','setTestData','FBMXv','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','join','parse','BS_TESTOPS_JWT','oYuFR','JASMINE','parseA11yJwtPayload','parseFromJson','Dyrjq','qMSNU','allow_screenshots','setTestHubCommonMetaInfo','skipCDPConnectOverride','hwTGp','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','error','GHnck','observability','noUHw','sr_automation','BS_TESTOPS_ALLOW_SCREENSHOTS','getCentralUser','isAccessibilityPlatform','0|4|1|3|2','assign','../../bin/v2/modules/loadTestModule','XVdMT','../../bin/playwright/reporter/test-details.js','BS_A11Y_JWT','titlePath','setAccessibilityVariables','KbXNZ','info','WsNzA','getTestData'];a178_0x255c=function(){return _0x51ad9c;};return a178_0x255c();}const normalizeTestPlanId=_0x2ac09e=>{const _0x25e75e=a178_0x4068dd,_0x5db2f3={};_0x5db2f3['kHgjy']=function(_0x2fa4ad,_0x3ea993){return _0x2fa4ad!==_0x3ea993;},_0x5db2f3['WSGxz']='string',_0x5db2f3[_0x25e75e(0x109)]=function(_0x2b760a,_0x34e417){return _0x2b760a>_0x34e417;};const _0x5df2ec=_0x5db2f3;if(_0x5df2ec['kHgjy'](typeof _0x2ac09e,_0x5df2ec[_0x25e75e(0x161)]))return undefined;const _0x4fc4bc=_0x2ac09e[_0x25e75e(0x12a)]();return _0x5df2ec[_0x25e75e(0x109)](_0x4fc4bc[_0x25e75e(0x191)],0x0)?_0x4fc4bc:undefined;},readTestPlanIdFromCliArgs=(_0x403105=process[a178_0x4068dd(0x194)])=>{const _0x289e34=a178_0x4068dd,_0xca0ee5={};_0xca0ee5[_0x289e34(0x166)]=function(_0x770a8b,_0x5d64d9){return _0x770a8b<_0x5d64d9;},_0xca0ee5[_0x289e34(0x145)]=function(_0x2f48b3,_0x4102c6){return _0x2f48b3===_0x4102c6;},_0xca0ee5[_0x289e34(0x143)]=function(_0x22b763,_0x45c641){return _0x22b763+_0x45c641;};const _0x1d8c06=_0xca0ee5,_0x167c9a='--'+testHubConstants[_0x289e34(0x176)];for(let _0x7e80c=0x0;_0x1d8c06[_0x289e34(0x166)](_0x7e80c,_0x403105[_0x289e34(0x191)]);_0x7e80c+=0x1){const _0x78a681=_0x403105[_0x7e80c];if(_0x1d8c06[_0x289e34(0x145)](_0x78a681,_0x167c9a)){const _0x5ce2f0=_0x403105[_0x1d8c06[_0x289e34(0x143)](_0x7e80c,0x1)];if(!_0x5ce2f0||_0x5ce2f0['startsWith']('--'))return undefined;return _0x5ce2f0;}if(_0x78a681['startsWith'](_0x167c9a+'='))return _0x78a681[_0x289e34(0x19d)](_0x1d8c06[_0x289e34(0x143)](_0x167c9a[_0x289e34(0x191)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x47d6e1={})=>{const _0x538e86=a178_0x4068dd,_0x14d68f={'aZpxU':function(_0x13b8eb,_0x318f90){return _0x13b8eb(_0x318f90);}};return _0x14d68f[_0x538e86(0x1b5)](normalizeTestPlanId,_0x47d6e1&&_0x47d6e1[_0x538e86(0x129)]&&_0x47d6e1[_0x538e86(0x129)][_0x538e86(0x17c)]);};exports[a178_0x4068dd(0x12d)]=(_0x102e21={},_0x150695=process[a178_0x4068dd(0x194)],_0x23e49c=process[a178_0x4068dd(0x187)])=>{const _0x5370b9=a178_0x4068dd,_0x35fb6e={'jnwox':function(_0x24ad6a,_0x4469b1){return _0x24ad6a(_0x4469b1);},'KbXNZ':function(_0x3d16bc,_0x104c55){return _0x3d16bc(_0x104c55);}};try{const _0x40f55b=_0x35fb6e['jnwox'](normalizeTestPlanId,_0x35fb6e[_0x5370b9(0x152)](readTestPlanIdFromCliArgs,_0x150695));if(_0x40f55b)return _0x40f55b;const _0x3e71bf=_0x35fb6e[_0x5370b9(0xf1)](normalizeTestPlanId,_0x23e49c&&_0x23e49c[testHubConstants['ENV_VAR'][_0x5370b9(0x10b)]]);if(_0x3e71bf)return _0x3e71bf;return _0x35fb6e[_0x5370b9(0x152)](readTestPlanIdFromConfig,_0x102e21);}catch(_0x434bd7){return logger[_0x5370b9(0x11b)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x434bd7&&_0x434bd7[_0x5370b9(0x110)]?_0x434bd7['message']:_0x434bd7)),undefined;}};
|
|
1
|
+
const a178_0xe2910a=a178_0x6eed;(function(_0x4a3d2d,_0x36eee4){const _0x4dad16=a178_0x6eed,_0x54f0e9=_0x4a3d2d();while(!![]){try{const _0x166ddd=-parseInt(_0x4dad16(0xc5))/0x1+-parseInt(_0x4dad16(0x180))/0x2+parseInt(_0x4dad16(0xed))/0x3+-parseInt(_0x4dad16(0xd5))/0x4*(-parseInt(_0x4dad16(0x157))/0x5)+parseInt(_0x4dad16(0x14e))/0x6*(-parseInt(_0x4dad16(0x13a))/0x7)+-parseInt(_0x4dad16(0x1a4))/0x8+parseInt(_0x4dad16(0x139))/0x9;if(_0x166ddd===_0x36eee4)break;else _0x54f0e9['push'](_0x54f0e9['shift']());}catch(_0x543ac9){_0x54f0e9['push'](_0x54f0e9['shift']());}}}(a178_0x3882,0x6f018));const bsSetupHelper=require(a178_0xe2910a(0x17b)),LoadTestModule=require(a178_0xe2910a(0x121)),{isTestObservabilitySession,getFrameworkVersion}=require(a178_0xe2910a(0x106)),accessibilityHelper=require(a178_0xe2910a(0x1a1)),logger=require(a178_0xe2910a(0xf5))[a178_0xe2910a(0x101)],{nestedKeyValue}=require(a178_0xe2910a(0xf1)),scripts=require('../accessibility-automation/scripts.js'),globals=require(a178_0xe2910a(0x105)),testHubConstants=require(a178_0xe2910a(0x158)),PWTestDetails=require(a178_0xe2910a(0xf4)),JestTestDetails=require(a178_0xe2910a(0x126)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a178_0xe2910a(0x171)),OrchestrationUtils=require(a178_0xe2910a(0x114)),constants=require(a178_0xe2910a(0x10d));let testData={};exports[a178_0xe2910a(0x19c)]=_0x485d0d=>{const _0x206a4a=a178_0xe2910a,_0x4e54f2={'IPEiK':function(_0x5c7696){return _0x5c7696();},'MBXVJ':function(_0x238730,_0x474ca){return _0x238730===_0x474ca;},'bhfJz':_0x206a4a(0xe0)};let _0x2c4ff5=![],_0x12c408=![];if(bsSetupHelper[_0x206a4a(0x176)]()&&bsSetupHelper[_0x206a4a(0x198)](_0x485d0d))_0x12c408=!![];else bsSetupHelper[_0x206a4a(0x176)]()&&(_0x2c4ff5=!![]);return Object[_0x206a4a(0xcf)]({'observability':_0x4e54f2[_0x206a4a(0xc3)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x485d0d),'percy':_0x485d0d[_0x206a4a(0xce)]||![],'sr_automation':_0x4e54f2['MBXVJ'](process[_0x206a4a(0x161)]['BROWSERSTACK_SR_AUTOMATION'],_0x4e54f2[_0x206a4a(0xd4)])||_0x485d0d[_0x206a4a(0x143)]||![],'automate':_0x2c4ff5,'app_automate':_0x12c408,'turboscale':bsSetupHelper[_0x206a4a(0x16c)](_0x485d0d),'lts':LoadTestModule[_0x206a4a(0x190)](_0x485d0d)},bsSetupHelper['getCentralUser']());},exports[a178_0xe2910a(0x165)]=(_0x1162c8,_0x57cfc8)=>{const _0x409af8=a178_0xe2910a,_0xb62b99={'eypmS':function(_0x5a716d,_0x503b67){return _0x5a716d(_0x503b67);},'vlfkL':_0x409af8(0x123)},_0x36dea6={'frameworkName':_0x57cfc8,'frameworkVersion':_0xb62b99[_0x409af8(0xd0)](getFrameworkVersion,_0x57cfc8),'sdkVersion':bsSetupHelper[_0x409af8(0x120)](),'language':_0xb62b99[_0x409af8(0x118)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x1162c8,_0x57cfc8)};return process[_0x409af8(0x161)][_0x409af8(0x15a)]=JSON[_0x409af8(0xea)](_0x36dea6),_0x36dea6;},exports[a178_0xe2910a(0x172)]=_0x2a8b6b=>{const _0x4d06ce=a178_0xe2910a,_0x4c9f65={};_0x4c9f65[_0x4d06ce(0x10e)]=_0x4d06ce(0x182),_0x4c9f65[_0x4d06ce(0xf6)]=_0x4d06ce(0xe0);const _0x4650e0=_0x4c9f65;process['env'][_0x4d06ce(0x128)]=_0x4650e0[_0x4d06ce(0x10e)],bsSetupHelper[_0x4d06ce(0x107)](_0x2a8b6b[_0x4d06ce(0x14b)][_0x4d06ce(0xce)])&&(!_0x2a8b6b[_0x4d06ce(0xce)]||!_0x2a8b6b[_0x4d06ce(0xce)][_0x4d06ce(0x136)]())&&(process[_0x4d06ce(0x161)]['BROWSERSTACK_PERCY']=_0x4650e0['zqQcY']);},exports[a178_0xe2910a(0x15b)]=()=>{const _0x409f71=a178_0xe2910a;return bsSetupHelper[_0x409f71(0x107)](process[_0x409f71(0x161)][_0x409f71(0x128)]);},exports[a178_0xe2910a(0xee)]=(_0x127598={})=>{const _0x4682a5=a178_0xe2910a,_0xf8ada5={};_0xf8ada5[_0x4682a5(0x15f)]=function(_0x185a93,_0x4218a1){return _0x185a93!==_0x4218a1;},_0xf8ada5[_0x4682a5(0x108)]=function(_0x70c3c,_0x3d5621){return _0x70c3c===_0x3d5621;},_0xf8ada5['pzzuo']=_0x4682a5(0xe0),_0xf8ada5[_0x4682a5(0x170)]=function(_0x15a40d,_0x17df0d){return _0x15a40d>_0x17df0d;},_0xf8ada5[_0x4682a5(0xdb)]=function(_0x2c190f,_0x4e48f7){return _0x2c190f===_0x4e48f7;};const _0x15acab=_0xf8ada5;if(_0x15acab[_0x4682a5(0x15f)](process[_0x4682a5(0x161)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x4682a5(0x107)](process[_0x4682a5(0x161)][_0x4682a5(0xe5)]);let _0x15507b=_0x15acab['TZffH'](process[_0x4682a5(0x161)][_0x4682a5(0x11a)],_0x15acab[_0x4682a5(0x174)]);return _0x15acab['RQXJx'](Object['keys'](_0x127598)[_0x4682a5(0x14a)],0x0)&&(process[_0x4682a5(0x161)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x4682a5(0x12e)](_0x127598)),_0x15507b=_0x15507b||_0x15acab['ppndz'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x15acab[_0x4682a5(0x174)]),_0x15507b;},exports[a178_0xe2910a(0x12b)]=(_0x4fee01,_0x4edb93)=>{const _0x1ff9a2=a178_0xe2910a,_0xcc53e5={'mKGiv':function(_0x33e82a){return _0x33e82a();},'fQfNF':_0x1ff9a2(0x167),'yJWdF':function(_0x394805,_0xc68b68,_0x5c99cb){return _0x394805(_0xc68b68,_0x5c99cb);},'RWVQx':_0x1ff9a2(0x189),'yhzIT':_0x1ff9a2(0x186),'KOGIE':_0x1ff9a2(0xe0)};if(!_0x4fee01||!_0x4fee01[_0x1ff9a2(0x189)])return exports[_0x1ff9a2(0xc2)](),[null,null,null];if(!_0x4fee01[_0x1ff9a2(0x189)]['success'])return exports[_0x1ff9a2(0xc2)](_0x4fee01[_0x1ff9a2(0x189)]),[null,null,null];if(_0xcc53e5[_0x1ff9a2(0x1a2)](isTestObservabilitySession)){const _0x5ce756=_0xcc53e5[_0x1ff9a2(0x146)][_0x1ff9a2(0x199)]('|');let _0x3ba6c1=0x0;while(!![]){switch(_0x5ce756[_0x3ba6c1++]){case'0':logger['debug']('['+constants['TEST_REPORTING_ANALYTICS']+_0x1ff9a2(0x168)+_0x4fee01['build_hashed_id']);continue;case'1':_0xcc53e5[_0x1ff9a2(0x15e)](nestedKeyValue,_0x4fee01,[_0xcc53e5[_0x1ff9a2(0x16f)],_0xcc53e5[_0x1ff9a2(0x110)]])&&(process[_0x1ff9a2(0x161)][_0x1ff9a2(0x13d)]=_0x4fee01[_0x1ff9a2(0x189)][_0x1ff9a2(0x186)]['allow_screenshots'][_0x1ff9a2(0x1a7)]());continue;case'2':return[_0x4fee01[_0x1ff9a2(0xe4)],_0x4fee01['build_hashed_id'],process[_0x1ff9a2(0x161)][_0x1ff9a2(0x13d)]];case'3':if(_0x4fee01[_0x1ff9a2(0xe4)]){process[_0x1ff9a2(0x161)][_0x1ff9a2(0xcb)]=_0x4fee01[_0x1ff9a2(0xe4)];const _0x242380={};_0x242380[_0x1ff9a2(0x138)]=_0x4edb93['username'],_0x242380['password']=_0x4edb93[_0x1ff9a2(0x19f)],process['env'][_0x1ff9a2(0x150)]=JSON[_0x1ff9a2(0xea)](_0x242380);}continue;case'4':process[_0x1ff9a2(0x161)][_0x1ff9a2(0x175)]=_0xcc53e5[_0x1ff9a2(0x147)];continue;case'5':_0x4fee01[_0x1ff9a2(0x12c)]&&(process[_0x1ff9a2(0x161)][_0x1ff9a2(0xfe)]=_0x4fee01['build_hashed_id']);continue;}break;}}return[null,null,null];},exports[a178_0xe2910a(0x11f)]=_0x37ad0e=>{const _0x3e2150=a178_0xe2910a,_0x4393cf={'JIaEn':function(_0x2c599f,_0xacadb8,_0x145cc1){return _0x2c599f(_0xacadb8,_0x145cc1);},'OwIyj':'accessibility','MfUYy':_0x3e2150(0x186),'kKoTo':function(_0x584ae6,_0x1cdf9f,_0x44fc06,_0xa2440f){return _0x584ae6(_0x1cdf9f,_0x44fc06,_0xa2440f);},'FAnUQ':_0x3e2150(0xdc),'bQWwZ':_0x3e2150(0x135),'OKKRO':function(_0x5a005a,_0x3b06bb,_0x1ddea2,_0x2fcb34){return _0x5a005a(_0x3b06bb,_0x1ddea2,_0x2fcb34);},'ZjePX':_0x3e2150(0x179),'Pdegt':_0x3e2150(0xfa),'UVjLf':'nonBStackInfraA11yChromeOptions','cnORS':_0x3e2150(0x131),'QwNAc':function(_0x2d39ec,_0x73312d){return _0x2d39ec(_0x73312d);},'DtUIi':function(_0x35433d,_0x66a9a6){return _0x35433d===_0x66a9a6;},'VgVVW':function(_0x41379a,_0x2d4e72){return _0x41379a===_0x2d4e72;},'jhodu':_0x3e2150(0xe0),'vHUgB':_0x3e2150(0x1a3)};if(!_0x37ad0e[_0x3e2150(0x18f)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x37ad0e[_0x3e2150(0x18f)][_0x3e2150(0x112)])return exports[_0x3e2150(0x104)](_0x37ad0e[_0x3e2150(0x18f)]),[null,null];if(_0x4393cf[_0x3e2150(0x17e)](nestedKeyValue,_0x37ad0e,[_0x4393cf['OwIyj'],_0x4393cf['MfUYy']])){const {accessibilityToken:_0x1f979a,scannerVersion:_0x3bc64a,scannerProcessingTimeout:_0x203b66,isMobileScanningEnabledForGroup:_0xeb5df7}=_0x4393cf[_0x3e2150(0xd1)](jsonifyAccessibilityArray,_0x37ad0e[_0x3e2150(0x18f)]['options'][_0x3e2150(0x151)],_0x4393cf[_0x3e2150(0x153)],_0x4393cf[_0x3e2150(0x184)]),_0x3dbbea={'scripts':_0x4393cf[_0x3e2150(0x1a5)](jsonifyAccessibilityArray,_0x37ad0e[_0x3e2150(0x18f)][_0x3e2150(0x186)][_0x3e2150(0x11b)],_0x4393cf[_0x3e2150(0x153)],_0x4393cf['ZjePX'])};_0x3dbbea[_0x4393cf[_0x3e2150(0xcc)]]=_0x37ad0e['accessibility'][_0x3e2150(0x186)][_0x3e2150(0x125)][_0x3e2150(0xfa)];const _0x5a99e7=_0x4393cf[_0x3e2150(0xd1)](jsonifyAccessibilityArray,_0x37ad0e[_0x3e2150(0x18f)][_0x3e2150(0x186)][_0x3e2150(0x151)],_0x4393cf[_0x3e2150(0x153)],_0x4393cf['bQWwZ']);_0x3dbbea[_0x4393cf[_0x3e2150(0xfd)]]=_0x5a99e7[_0x4393cf[_0x3e2150(0xda)]],scripts['parseFromJson'](_0x3dbbea),scripts['toJson']();let _0x2d8cc1=process[_0x3e2150(0x161)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x2d8cc1=!!_0x2d8cc1?JSON['parse'](_0x2d8cc1):{},_0x2d8cc1[_0x3e2150(0x191)]=_0x3bc64a,process[_0x3e2150(0x161)][_0x3e2150(0xf9)]=JSON[_0x3e2150(0xea)](_0x2d8cc1),process[_0x3e2150(0x161)][_0x3e2150(0x10a)]=_0x1f979a,process[_0x3e2150(0x161)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x4393cf[_0x3e2150(0x1a6)](String,_0x4393cf[_0x3e2150(0x129)](_0xeb5df7,!![])||_0x4393cf[_0x3e2150(0xc9)](_0xeb5df7,_0x4393cf[_0x3e2150(0x15c)])),logger[_0x3e2150(0x17d)](_0x3e2150(0x15d)+_0x37ad0e[_0x3e2150(0x12c)]);const _0x1fcce6=accessibilityHelper[_0x3e2150(0x127)](_0x1f979a);return _0x1fcce6&&bsSetupHelper['isTrue'](_0x1fcce6['skipCDPConnectOverride'])&&(process[_0x3e2150(0x161)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x3e2150(0x17d)](_0x4393cf[_0x3e2150(0x12a)])),[_0x1f979a,_0x37ad0e[_0x3e2150(0x12c)],_0x203b66];}return[null,null];},exports[a178_0xe2910a(0xc2)]=_0x4277e4=>{const _0x2e7270=a178_0xe2910a,_0x53b141={};_0x53b141[_0x2e7270(0x14c)]=_0x2e7270(0x166),_0x53b141[_0x2e7270(0x194)]=_0x2e7270(0x152),_0x53b141['aKXaP']=_0x2e7270(0x182);const _0x130749=_0x53b141,_0x110287=_0x130749[_0x2e7270(0x14c)][_0x2e7270(0x199)]('|');let _0x2aec33=0x0;while(!![]){switch(_0x110287[_0x2aec33++]){case'0':process[_0x2e7270(0x161)][_0x2e7270(0xcb)]=_0x130749['UpDVL'];continue;case'1':process[_0x2e7270(0x161)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x130749[_0x2e7270(0x194)];continue;case'2':process[_0x2e7270(0x161)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x130749[_0x2e7270(0x194)];continue;case'3':process[_0x2e7270(0x161)][_0x2e7270(0x175)]=_0x130749['aKXaP'];continue;case'4':process[_0x2e7270(0x161)][_0x2e7270(0xcd)]=_0x130749[_0x2e7270(0x194)];continue;case'5':exports[_0x2e7270(0xfc)](_0x4277e4,testHubConstants[_0x2e7270(0xf0)]);continue;case'6':process[_0x2e7270(0x161)]['BROWSERSTACK_TESTHUB_UUID']=_0x130749[_0x2e7270(0x194)];continue;}break;}},exports[a178_0xe2910a(0x104)]=_0x5a2bb3=>{const _0x294e47=a178_0xe2910a,_0x165ecb={};_0x165ecb['NPAgH']=_0x294e47(0x134),_0x165ecb['jSKeF']=_0x294e47(0x182),_0x165ecb[_0x294e47(0xe7)]=_0x294e47(0x152);const _0x4af06b=_0x165ecb,_0x2b153b=_0x4af06b[_0x294e47(0xd2)][_0x294e47(0x199)]('|');let _0x11c585=0x0;while(!![]){switch(_0x2b153b[_0x11c585++]){case'0':exports['logBuildError'](_0x5a2bb3,testHubConstants[_0x294e47(0x102)]);continue;case'1':process[_0x294e47(0x161)][_0x294e47(0x149)]=_0x4af06b[_0x294e47(0x156)];continue;case'2':process[_0x294e47(0x161)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4af06b[_0x294e47(0x156)];continue;case'3':process[_0x294e47(0x161)][_0x294e47(0xcd)]=_0x4af06b[_0x294e47(0xe7)];continue;case'4':process[_0x294e47(0x161)]['BROWSERSTACK_TESTHUB_UUID']=_0x4af06b[_0x294e47(0xe7)];continue;}break;}},exports['logBuildError']=(_0x1f746a,_0x28e3d5='')=>{const _0xd079d=a178_0xe2910a,_0x4764bd={};_0x4764bd['qhPJA']=function(_0x44608d,_0xe488a4){return _0x44608d===_0xe488a4;};const _0x2e20d7=_0x4764bd;if(_0x2e20d7['qhPJA'](_0x1f746a,undefined)){logger[_0xd079d(0x163)](_0x28e3d5[_0xd079d(0xef)]()+_0xd079d(0xde));return;}for(const _0x1abf2a of _0x1f746a['errors']){const _0x242832=_0x1abf2a['key'],_0x28751d=_0x1abf2a[_0xd079d(0x19b)];if(_0x28751d)switch(_0x242832){case testHubConstants[_0xd079d(0x111)][_0xd079d(0xf8)]:logger[_0xd079d(0x163)](_0x28751d);break;case testHubConstants[_0xd079d(0x111)][_0xd079d(0x154)]:logger[_0xd079d(0x12f)](_0x28751d);break;case testHubConstants[_0xd079d(0x111)][_0xd079d(0x16a)]:logger[_0xd079d(0x163)](_0x28751d);break;default:logger[_0xd079d(0x163)](_0x28751d);}}};function a178_0x6eed(_0x748b2c,_0x2b0cd3){const _0x3882db=a178_0x3882();return a178_0x6eed=function(_0x6eeda1,_0x15e49b){_0x6eeda1=_0x6eeda1-0xc2;let _0xf28d2=_0x3882db[_0x6eeda1];return _0xf28d2;},a178_0x6eed(_0x748b2c,_0x2b0cd3);}const jsonifyAccessibilityArray=(_0xe53c87,_0x2aef62,_0x320174)=>{const _0xd88e4=a178_0xe2910a,_0x2c91a8={};return _0xe53c87[_0xd88e4(0x162)](_0x1040d8=>{_0x2c91a8[_0x1040d8[_0x2aef62]]=_0x1040d8[_0x320174];}),_0x2c91a8;};exports[a178_0xe2910a(0x10c)]=_0x4db00e=>{const _0x435556=a178_0xe2910a;_0x4db00e[_0x435556(0xe4)]&&(process[_0x435556(0x161)][_0x435556(0xcd)]=_0x4db00e[_0x435556(0xe4)]);_0x4db00e[_0x435556(0x12c)]&&(process['env'][_0x435556(0x187)]=_0x4db00e[_0x435556(0x12c)],logger[_0x435556(0x17d)](_0x435556(0x192)+_0x4db00e[_0x435556(0x12c)]));;},exports[a178_0xe2910a(0xd6)]=(_0x1a58a3='',_0x1ea9bc='')=>{const _0x37b7c1=a178_0xe2910a,_0x4694bf={'etetC':function(_0x38d35f){return _0x38d35f();},'grRfb':function(_0x580b65,_0x59ed1f){return _0x580b65===_0x59ed1f;},'BLIjn':_0x37b7c1(0x11e),'kivWB':'LogCreated','WRMVJ':_0x37b7c1(0x116),'jVGcu':function(_0x30e958){return _0x30e958();},'GYKIH':_0x37b7c1(0x155),'eskSO':_0x37b7c1(0xdd),'QIYRt':function(_0x5c3128){return _0x5c3128();}};if(exports[_0x37b7c1(0x15b)]()&&!exports['isAccessibilityEnabled']()&&!_0x4694bf[_0x37b7c1(0xd9)](isTestObservabilitySession)){if(_0x4694bf[_0x37b7c1(0x177)](_0x1ea9bc,_0x4694bf[_0x37b7c1(0x144)]))return![];if([_0x4694bf[_0x37b7c1(0xe2)],_0x4694bf['WRMVJ']][_0x37b7c1(0x113)](_0x1a58a3))return![];return!![];}if(exports[_0x37b7c1(0xee)]()&&!_0x4694bf[_0x37b7c1(0x16d)](isTestObservabilitySession)){if([_0x4694bf['GYKIH'],_0x4694bf[_0x37b7c1(0xc6)],_0x4694bf[_0x37b7c1(0xe2)]][_0x37b7c1(0x113)](_0x1a58a3))return![];return!![];}return exports[_0x37b7c1(0xee)]()||_0x4694bf['QIYRt'](isTestObservabilitySession)||exports[_0x37b7c1(0x15b)]();},exports[a178_0xe2910a(0x109)]=(_0x2535bc,_0x374c13,_0x3be945='',_0x27f00c)=>{const _0x31375a=a178_0xe2910a,_0x1d44a5={'oZRYy':_0x31375a(0x155),'AUyuf':_0x31375a(0xdd),'aThNE':function(_0x9f74e2,_0x31067d){return _0x9f74e2===_0x31067d;},'srCxy':_0x31375a(0x148),'BHvsN':_0x31375a(0xe8),'FrAsx':'accessibility','IZAOn':function(_0x444c99,_0x1239d8){return _0x444c99&&_0x1239d8;},'AnmGw':function(_0x371fd2,_0x117ed6){return _0x371fd2===_0x117ed6;},'TDKVv':function(_0x55a5d5,_0x4f3ce6){return _0x55a5d5+_0x4f3ce6;},'WjlxJ':function(_0x5ef4c6,_0x5a16de){return _0x5ef4c6===_0x5a16de;},'CWnKd':function(_0x1fc903,_0x5d1287){return _0x1fc903(_0x5d1287);},'gQdIJ':_0x31375a(0x196),'TKEWc':function(_0x11559f,_0x56680b){return _0x11559f+_0x56680b;},'ucyhJ':function(_0x4a55c0,_0x3e5812){return _0x4a55c0&&_0x3e5812;},'nMEdj':function(_0x18b98c,_0x51744d){return _0x18b98c!==_0x51744d;},'Wfsqs':_0x31375a(0xca),'aYqSM':function(_0x1f2413,_0x4e076d){return _0x1f2413&&_0x4e076d;},'TnGgj':function(_0x4eaf6d,_0x5f2688){return _0x4eaf6d===_0x5f2688;},'afkzB':function(_0x312311,_0xc79fd7){return _0x312311&&_0xc79fd7;},'cyYRq':_0x31375a(0x18b)};if([_0x1d44a5[_0x31375a(0x13f)],_0x1d44a5[_0x31375a(0x13c)]]['includes'](_0x374c13))return;let _0x2b2f89={};try{process[_0x31375a(0x161)]['BROWSERSTACK_PRODUCT_MAP']&&(_0x2b2f89=JSON[_0x31375a(0x185)](process[_0x31375a(0x161)]['BROWSERSTACK_PRODUCT_MAP'])||{});}catch(_0x534276){logger[_0x31375a(0x17d)]('Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20'+_0x534276),_0x2b2f89={};}if(exports[_0x31375a(0xee)]()){if(_0x1d44a5['aThNE'](_0x27f00c,FRAMEWORKS[_0x31375a(0xff)])){const _0x459978=globals['getGlobal'](_0x1d44a5[_0x31375a(0xe6)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x3be945['titlePath'](),!![]),_0x3905c8=globals['getGlobal'](_0x1d44a5[_0x31375a(0x19e)]);_0x2b2f89[_0x1d44a5[_0x31375a(0x1a0)]]=_0x1d44a5[_0x31375a(0x169)](_0x3905c8,_0x459978);}if(_0x1d44a5[_0x31375a(0xeb)](_0x27f00c,FRAMEWORKS['JEST'])){const _0x2bc3a4=_0x1d44a5[_0x31375a(0x197)](_0x1d44a5['TDKVv'](_0x2535bc[_0x31375a(0x133)][_0x31375a(0x11c)]('\x20'),'\x20'),_0x3be945[_0x31375a(0xdc)]),_0x456e92=globals[_0x31375a(0x115)](_0x1d44a5[_0x31375a(0xe6)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x2bc3a4,![]),_0x1a9af5=browserStackGlobals[_0x31375a(0xe8)];_0x2b2f89[_0x1d44a5[_0x31375a(0x1a0)]]=_0x1d44a5['IZAOn'](_0x1a9af5,_0x456e92);}if(_0x1d44a5[_0x31375a(0xf3)](_0x27f00c,FRAMEWORKS['JASMINE'])){const _0x3c0735=_0x1d44a5[_0x31375a(0x145)](require,_0x1d44a5[_0x31375a(0xc7)]),_0x40144d=_0x3be945&&_0x3c0735[_0x31375a(0xc4)](_0x3be945['id'])||_0x2535bc['uuid'];_0x40144d&&(_0x2535bc['uuid']=_0x40144d);const _0x4ece4e=_0x1d44a5[_0x31375a(0xdf)](_0x1d44a5['TDKVv'](_0x2535bc[_0x31375a(0x133)][_0x31375a(0x11c)]('\x20'),'\x20'),_0x3be945['description']||_0x2535bc['name']),_0x566081=globals[_0x31375a(0x115)](_0x1d44a5[_0x31375a(0xe6)])||accessibilityHelper[_0x31375a(0x130)](_0x4ece4e,![]),_0x2d84d6=globals['getGlobal'](_0x1d44a5[_0x31375a(0x19e)]);_0x2b2f89[_0x1d44a5['FrAsx']]=_0x1d44a5[_0x31375a(0x13b)](_0x2d84d6,_0x566081);}_0x1d44a5[_0x31375a(0xeb)](_0x27f00c,FRAMEWORKS[_0x31375a(0x13e)])&&_0x1d44a5[_0x31375a(0x159)](_0x374c13,_0x1d44a5[_0x31375a(0x18d)])&&(_0x2b2f89[_0x1d44a5[_0x31375a(0x1a0)]]=PWTestDetails[_0x31375a(0x119)](_0x2535bc[_0x31375a(0x141)]));if(_0x1d44a5[_0x31375a(0xeb)](_0x27f00c,FRAMEWORKS['CODECEPT'])){const _0x4e2512=accessibilityHelper[_0x31375a(0x130)](_0x3be945['titlePath'](),!![]),_0x2834ee=global['accessibilityPlatform'];_0x2b2f89[_0x1d44a5[_0x31375a(0x1a0)]]=_0x1d44a5[_0x31375a(0xd7)](_0x2834ee,_0x4e2512);}if(_0x1d44a5[_0x31375a(0x19a)](_0x27f00c,FRAMEWORKS[_0x31375a(0x164)])){const _0xa19e8b=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x2535bc['tags']),_0x37ab00=globals['getGlobal'](_0x1d44a5[_0x31375a(0x19e)]);_0x2b2f89[_0x1d44a5[_0x31375a(0x1a0)]]=_0x1d44a5[_0x31375a(0x10f)](_0x37ab00,_0xa19e8b);}}_0x2535bc[_0x1d44a5['cyYRq']]=_0x2b2f89;},exports[a178_0xe2910a(0x183)]=_0x39a384=>{const _0x389fc8=a178_0xe2910a,_0x230a0a={};_0x230a0a[_0x389fc8(0x124)]=function(_0xa80c7c,_0x33a1de){return _0xa80c7c>_0x33a1de;};const _0x43ba90=_0x230a0a;let _0x1a3acc={};if(_0x43ba90['NELRf'](Object[_0x389fc8(0xc8)](testData)[_0x389fc8(0x14a)],0x0))return testData;_0x1a3acc=JestTestDetails[_0x389fc8(0x160)]();if(_0x43ba90[_0x389fc8(0x124)](Object[_0x389fc8(0xc8)](_0x1a3acc)[_0x389fc8(0x14a)],0x0))return _0x1a3acc;return _0x1a3acc;},exports[a178_0xe2910a(0xd3)]=(_0x543c4e,_0x5e6208={})=>{const _0x1dc14a=a178_0xe2910a;if(bsSetupHelper[_0x1dc14a(0x16b)](_0x5e6208[_0x1dc14a(0x178)]))return;switch(_0x543c4e){case FRAMEWORKS[_0x1dc14a(0xff)]:testData=_0x5e6208[_0x1dc14a(0x178)];break;case FRAMEWORKS[_0x1dc14a(0x193)]:JestTestDetails[_0x1dc14a(0x19d)](_0x5e6208[_0x1dc14a(0x178)]);break;case FRAMEWORKS[_0x1dc14a(0x18c)]:testData=_0x5e6208[_0x1dc14a(0x178)];break;default:break;}},exports[a178_0xe2910a(0x103)]=_0x595eef=>{const _0x119a2e=a178_0xe2910a,_0x5b2959={};_0x5b2959[_0x119a2e(0x173)]=function(_0x5bb88c,_0x54fbcc){return _0x5bb88c!==_0x54fbcc;},_0x5b2959['DoUEX']=function(_0x3c9576,_0x52c9e0){return _0x3c9576!==_0x52c9e0;},_0x5b2959[_0x119a2e(0x117)]=function(_0x4b0c3d,_0x268f73){return _0x4b0c3d!==_0x268f73;},_0x5b2959[_0x119a2e(0x10b)]=function(_0x17efad,_0xc71d15){return _0x17efad!==_0xc71d15;};const _0x23f3f0=_0x5b2959;if(_0x23f3f0[_0x119a2e(0x173)](_0x595eef[_0x119a2e(0x18f)],null)&&_0x23f3f0[_0x119a2e(0x17f)](_0x595eef[_0x119a2e(0x18f)],undefined))return _0x595eef[_0x119a2e(0x18f)];let _0x444831=![],_0x39d753=![];if(_0x595eef[_0x119a2e(0x137)])for(const _0x2f166a of _0x595eef[_0x119a2e(0x137)]){_0x23f3f0[_0x119a2e(0x117)](_0x2f166a[_0x119a2e(0x18f)],null)&&_0x23f3f0['gyRfW'](_0x2f166a['accessibility'],undefined)&&(_0x444831=_0x444831||bsSetupHelper[_0x119a2e(0x107)](_0x2f166a[_0x119a2e(0x18f)]),_0x39d753=!![]);}if(_0x39d753)return _0x444831;return null;},exports[a178_0xe2910a(0x181)]=_0x34c00d=>{const _0x27df0a=a178_0xe2910a;if(!_0x34c00d)return{};const _0xa8a27d=new OrchestrationUtils(_0x34c00d);return _0xa8a27d[_0x27df0a(0xe3)]();},exports[a178_0xe2910a(0x18e)]=_0x2f5632=>{const _0x28171b=a178_0xe2910a,_0x4a4f19={'VoOjE':function(_0x3c49db){return _0x3c49db();},'rUzIW':function(_0x40b709,_0x4dba06){return _0x40b709===_0x4dba06;},'IwJqg':'true'};let _0x542ba8=![],_0x342687=![];if(bsSetupHelper[_0x28171b(0x176)]()&&bsSetupHelper[_0x28171b(0x198)](_0x2f5632))_0x342687=!![];else bsSetupHelper[_0x28171b(0x176)]()&&(_0x542ba8=!![]);return Object[_0x28171b(0xcf)]({'observability':_0x4a4f19['VoOjE'](isTestObservabilitySession),'accessibility':exports[_0x28171b(0x103)](_0x2f5632),'percy':_0x2f5632['percy']||![],'sr_automation':_0x4a4f19[_0x28171b(0xf2)](process['env'][_0x28171b(0x100)],_0x4a4f19[_0x28171b(0xe9)])||_0x2f5632[_0x28171b(0x143)]||![],'automate':_0x542ba8,'app_automate':_0x342687,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2f5632),'lts':LoadTestModule['isLTSSession'](_0x2f5632)},bsSetupHelper['getCentralUser']());};function a178_0x3882(){const _0x329455=['ACCESSIBILITY','getAccessibilityValueFromYml','handleErrorForAccessibility','../globals.js','../test-observability/utils','isTrue','TZffH','appendTesthubParams','BS_A11Y_JWT','gyRfW','setTestHubCommonMetaInfo','../../bin/utils/constants.js','VWYwc','afkzB','yhzIT','ERROR','success','includes','../test-orchestration/orchestrationUtils.js','getGlobal','CBTSessionCreated','cAyQS','vlfkL','getAccessibilityPlatformValidation','BROWSERSTACK_TEST_ACCESSIBILITY_YML','scripts','join','startsWith','uploadEventData','setAccessibilityVariables','getAgentVersion','../../bin/v2/modules/loadTestModule','nRzBN','javascript','NELRf','commandsToWrap','../../bin/jest/test-observability/test-details.js','parseA11yJwtPayload','BROWSERSTACK_PERCY','DtUIi','vHUgB','setTestObservabilityVariables','build_hashed_id','string','checkAccessibilityPlatformConfig','info','shouldScanTestForAccessibility','goog:chromeOptions','BROWSERSTACK_TEST_PLAN_ID','scopes','4|3|2|1|0','value','isRunning','platforms','username','13408335FeItyZ','7bQLTNX','ucyhJ','AUyuf','BS_TESTOPS_ALLOW_SCREENSHOTS','PLAYWRIGHT','oZRYy','qRKRM','uuid','dDmno','sr_automation','BLIjn','CWnKd','fQfNF','KOGIE','bstackA11yShouldScan','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','length','config','MXCVy','trim','3036216PqPUCH','testPlanId','CREDENTIALS_FOR_CRASH_REPORTING','capabilities','null','FAnUQ','ACCESS_DENIED','HookRunStarted','jSKeF','365ApVsMO','./constants.js','nMEdj','FRAMEWORK_DETAILS','isPercyBuild','jhodu','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','yJWdF','VxcGy','getTestData','env','forEach','error','CUCUMBER','getFrameworkDetails','6|4|3|0|1|2|5','4|3|5|1|0|2',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','IZAOn','DEPRECATED','isUndefined','isTurboScaleSession','jVGcu','getTestPlanId','RWVQx','RQXJx','../ats/helper','setPercyFlag','xRqDA','pzzuo','BS_TESTOPS_BUILD_COMPLETED','isBrowserstackInfra','grRfb','test_run','command','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','../helper','slice','debug','JIaEn','DoUEX','193046fDCsKG','getTestOrchestrationBuildStartData','false','getCurrentTestData','bQWwZ','parse','options','BROWSERSTACK_TESTHUB_UUID','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','observability','UWALs','product_map','JASMINE','Wfsqs','getProductMapForBuildStartCall','accessibility','isLTSSession','scannerVersion','BROWSERSTACK_TESTHUB_UUID:\x20','JEST','UpDVL','argv','../../bin/jasmine/testRunMap.js','TDKVv','isAppAutomateSession','split','TnGgj','message','getProductMap','setTestData','BHvsN','password','FrAsx','../accessibility-automation/helper','mKGiv','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','5006336IDDfzm','OKKRO','QwNAc','toString','handleErrorForObservability','IPEiK','get','467567ZSckof','eskSO','gQdIJ','keys','VgVVW','TestRunStarted','BS_TESTOPS_JWT','Pdegt','BROWSERSTACK_TESTHUB_JWT','percy','assign','eypmS','kKoTo','NPAgH','setCurrentTestData','bhfJz','7048GpbAqf','shouldProcessEventForTesthub','aYqSM','testManagementOptions','etetC','cnORS','ppndz','name','HookRunFinished','\x20Build\x20creation\x20failed','TKEWc','true','tHGdb','kivWB','getBuildStartData','jwt','BROWSERSTACK_ACCESSIBILITY','srCxy','kztaE','isAccessibilityPlatform','IwJqg','stringify','AnmGw','ecQCw','1596471PixCCz','isAccessibilityEnabled','toUpperCase','OBSERVABILITY','../helper.js','rUzIW','WjlxJ','../../bin/playwright/reporter/test-details.js','../logger','zqQcY','OoGui','INVALID_CREDENTIALS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','commands','cFGCI','logBuildError','UVjLf','BS_TESTOPS_BUILD_HASHED_ID','MOCHA','BROWSERSTACK_SR_AUTOMATION','winstonLogger'];a178_0x3882=function(){return _0x329455;};return a178_0x3882();}const normalizeTestPlanId=_0x1341fd=>{const _0x27d1c4=a178_0xe2910a,_0x5222a8={};_0x5222a8['cFGCI']=function(_0x53e58f,_0x317b92){return _0x53e58f!==_0x317b92;},_0x5222a8[_0x27d1c4(0x18a)]=_0x27d1c4(0x12d),_0x5222a8[_0x27d1c4(0xe1)]=function(_0x351cdc,_0x5d6df5){return _0x351cdc>_0x5d6df5;};const _0x28868b=_0x5222a8;if(_0x28868b[_0x27d1c4(0xfb)](typeof _0x1341fd,_0x28868b[_0x27d1c4(0x18a)]))return undefined;const _0x259af9=_0x1341fd[_0x27d1c4(0x14d)]();return _0x28868b['tHGdb'](_0x259af9['length'],0x0)?_0x259af9:undefined;},readTestPlanIdFromCliArgs=(_0xac0fa8=process[a178_0xe2910a(0x195)])=>{const _0x9a6d61=a178_0xe2910a,_0x23cc8d={};_0x23cc8d['nRzBN']=function(_0x457ea9,_0x239244){return _0x457ea9<_0x239244;},_0x23cc8d[_0x9a6d61(0x142)]=function(_0x46a678,_0x2e007e){return _0x46a678===_0x2e007e;},_0x23cc8d['ecQCw']=function(_0x84b736,_0x404c86){return _0x84b736+_0x404c86;};const _0x2a9f85=_0x23cc8d,_0x18a699='--'+testHubConstants[_0x9a6d61(0x188)];for(let _0x67e7e1=0x0;_0x2a9f85[_0x9a6d61(0x122)](_0x67e7e1,_0xac0fa8[_0x9a6d61(0x14a)]);_0x67e7e1+=0x1){const _0x4ad8ef=_0xac0fa8[_0x67e7e1];if(_0x2a9f85[_0x9a6d61(0x142)](_0x4ad8ef,_0x18a699)){const _0xa15f8f=_0xac0fa8[_0x2a9f85[_0x9a6d61(0xec)](_0x67e7e1,0x1)];if(!_0xa15f8f||_0xa15f8f[_0x9a6d61(0x11d)]('--'))return undefined;return _0xa15f8f;}if(_0x4ad8ef[_0x9a6d61(0x11d)](_0x18a699+'='))return _0x4ad8ef[_0x9a6d61(0x17c)](_0x2a9f85[_0x9a6d61(0xec)](_0x18a699[_0x9a6d61(0x14a)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x1581fd={})=>{const _0xabf717=a178_0xe2910a,_0x58d5b5={'OoGui':function(_0x550ebf,_0x420658){return _0x550ebf(_0x420658);}};return _0x58d5b5[_0xabf717(0xf7)](normalizeTestPlanId,_0x1581fd&&_0x1581fd['testManagementOptions']&&_0x1581fd[_0xabf717(0xd8)][_0xabf717(0x14f)]);};exports[a178_0xe2910a(0x16e)]=(_0x5117f1={},_0x4f53f5=process[a178_0xe2910a(0x195)],_0x516653=process[a178_0xe2910a(0x161)])=>{const _0x529ad1=a178_0xe2910a,_0x177c0c={'qRKRM':function(_0x3f93b7,_0x3a0b0d){return _0x3f93b7(_0x3a0b0d);},'wFyXN':function(_0x5ca466,_0x16da3f){return _0x5ca466(_0x16da3f);}};try{const _0x467c71=_0x177c0c['qRKRM'](normalizeTestPlanId,_0x177c0c['wFyXN'](readTestPlanIdFromCliArgs,_0x4f53f5));if(_0x467c71)return _0x467c71;const _0xb04291=_0x177c0c['qRKRM'](normalizeTestPlanId,_0x516653&&_0x516653[testHubConstants['ENV_VAR'][_0x529ad1(0x132)]]);if(_0xb04291)return _0xb04291;return _0x177c0c[_0x529ad1(0x140)](readTestPlanIdFromConfig,_0x5117f1);}catch(_0x229bb3){return logger[_0x529ad1(0x17d)](_0x529ad1(0x17a)+(_0x229bb3&&_0x229bb3[_0x529ad1(0x19b)]?_0x229bb3[_0x529ad1(0x19b)]:_0x229bb3)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a179_0x2552(){const _0x4ebd0f=['262sgJjko','length','forEach','\x20has\x20now\x20read/write/execute\x20permissions.','killSignal','qCIQs','isModifiable','UPXYP','RNHPy','seleniumVersion','../helpers/testhub/constants','POST','./helper','push','RGibk','Zaolr','body','fireFunnelTestEvent','event_properties','format','parse','xDsWv','yLQVM','W_OK','getAccessKey','info','hmHbo','getPackageVersion','winstonLogger','VJNdX','./logger','../bin/utils/constants','getTestFrameworkDetails','nodejs','env','getStackTraceAsString','HauJm','hostname','sRaaZ','util','sCNID','tests','chmodSync','ivPek','playwrightVersion','deviceName','unhandledErrors','debug','buildIdentifier','24uLYeSr','setReadWriteExecuteAccess','source','notifyUpdate','47166BnZbNP','YNcky','accessSync','ENV_VAR','all','312oUyRts','unknown','reduce','AUTOMATE_PRODUCTS','xyiWS','eElrq','NmhdQ','undefined','name','gTLRM','object','YEseb','stopPercy','X_OK','replace','Failed\x20to\x20set\x20directory\x20access:\x20','type','[REDACTED]','45yDXNJu','error','browserVersion','oaOgx','join','\x20:\x20','getSessionsList','framework','getGlobal','../bin/playwright/reporter/pwUtils','getUserName','fZIXl','Error\x20in\x20firing\x20request\x20to\x20','keys','config','selenium-webdriver','TyHcB','BROWSERSTACK_TESTHUB_UUID','isAppAutomateSession','9176SYyBwF','LNYAR','tHJgr','finalExecution','GBcoy','gaDyy','getFrameworkVersion','kYQdk',',\x20testhub\x20id:\x20','gWaph','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','every','1282589WKsXJX','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','values','289768jdqcys','sdkRunId','691550RJWETj','hEeWw','assign','browser','MMXtx','Playwright','application/json','constants','kaUsN','osVersion','API\x20Event\x20','3343esPnPD','APP_AUTOMATE','isNullOrEmpty','getTurboScaleSessionsList','getBuildLink','split','rgkFm','errorMessage','LJVCr','nodeRequest','AUTOMATE','finishedMetadata','browserStackConfig','stringify','toString','finalExecutionRan','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','version','null','910YLXZpj','requirePWModule','_buildHashedId','stack','user_killed','1080876fzkqxC','isBrowserstackInfra','hubAllocation','FhSDD','sendLogs','trim'];a179_0x2552=function(){return _0x4ebd0f;};return a179_0x2552();}const a179_0x48f5e6=a179_0x4305;(function(_0x1c9836,_0x415b1b){const _0x4166a1=a179_0x4305,_0x1a71ef=_0x1c9836();while(!![]){try{const _0x3bee21=parseInt(_0x4166a1(0x1aa))/0x1*(-parseInt(_0x4166a1(0x1c8))/0x2)+parseInt(_0x4166a1(0x1c2))/0x3+parseInt(_0x4166a1(0x18e))/0x4*(parseInt(_0x4166a1(0x1bd))/0x5)+parseInt(_0x4166a1(0x169))/0x6*(-parseInt(_0x4166a1(0x164))/0x7)+-parseInt(_0x4166a1(0x19d))/0x8*(-parseInt(_0x4166a1(0x17b))/0x9)+-parseInt(_0x4166a1(0x19f))/0xa+parseInt(_0x4166a1(0x19a))/0xb*(parseInt(_0x4166a1(0x160))/0xc);if(_0x3bee21===_0x415b1b)break;else _0x1a71ef['push'](_0x1a71ef['shift']());}catch(_0xd7ed58){_0x1a71ef['push'](_0x1a71ef['shift']());}}}(a179_0x2552,0x51b2f));const os=require('os'),util=require(a179_0x48f5e6(0x156)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a179_0x48f5e6(0x1e6))[a179_0x48f5e6(0x1e4)],constants=require('../bin/utils/constants'),testHubConstants=require(a179_0x48f5e6(0x1d2)),{getTransformPath}=require(a179_0x48f5e6(0x184)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a179_0x48f5e6(0x1e7)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a179_0x48f5e6(0x1d4)),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';function a179_0x4305(_0x358208,_0x5b416b){const _0x2552ab=a179_0x2552();return a179_0x4305=function(_0x43058c,_0x5b658e){_0x43058c=_0x43058c-0x153;let _0x43cff4=_0x2552ab[_0x43058c];return _0x43cff4;},a179_0x4305(_0x358208,_0x5b416b);}exports['fireFunnelTestEvent']=async(_0x259214,_0x45dc11={},_0x3b9c23,_0x4fe190,_0x4c5031=![])=>{const _0x224da3=a179_0x48f5e6,_0x3f6c95={'LJVCr':function(_0x176940,_0x5cdfcc){return _0x176940===_0x5cdfcc;},'xyiWS':_0x224da3(0x173),'FhSDD':function(_0x4f9ba8,_0x44c24a){return _0x4f9ba8>_0x44c24a;},'KCiuH':function(_0x36845a,_0x31fc4e){return _0x36845a>_0x31fc4e;},'eElrq':_0x224da3(0x158),'hmHbo':function(_0x2e3dcc){return _0x2e3dcc();},'YNcky':function(_0x300a30,_0x2fbe06){return _0x300a30==_0x2fbe06;},'VJNdX':_0x224da3(0x1bc),'sRaaZ':_0x224da3(0x170),'tHJgr':function(_0x422b88,_0x344cc2){return _0x422b88>_0x344cc2;},'gTLRM':function(_0x4c13b8,_0x413e8c){return _0x4c13b8===_0x413e8c;},'RNHPy':'codeceptjs','toSWe':function(_0x161743,_0x16e1e6){return _0x161743!==_0x16e1e6;},'NmhdQ':_0x224da3(0x1a4),'MMXtx':_0x224da3(0x17c),'hEeWw':function(_0x189c03,_0x395a53){return _0x189c03>_0x395a53;},'QEZmH':function(_0x2fc843,_0x1c3ba6){return _0x2fc843+_0x1c3ba6;},'gWaph':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','UPXYP':_0x224da3(0x1bf),'fZIXl':function(_0x4e64f7,_0x4c8bbe){return _0x4e64f7(_0x4c8bbe);},'yLQVM':_0x224da3(0x16a),'xDsWv':_0x224da3(0x1e9),'TyHcB':'SDKTestSuccessful','HauJm':function(_0x2deb2f,_0x249b12){return _0x2deb2f===_0x249b12;},'kaUsN':function(_0x168afd){return _0x168afd();},'GBcoy':_0x224da3(0x18a),'oaOgx':_0x224da3(0x1a5),'sCNID':_0x224da3(0x17a),'IVdMO':_0x224da3(0x1d3)};let _0x189426=[];if(helper[_0x224da3(0x1c3)]()&&_0x3f6c95[_0x224da3(0x1e2)](isTestObservabilitySession))_0x189426=helper[_0x224da3(0x18d)](_0x3b9c23)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x224da3(0x16c)];else{if(_0x3f6c95[_0x224da3(0x1e2)](isTestObservabilitySession))_0x189426=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x224da3(0x1c3)]()&&(_0x189426=helper[_0x224da3(0x18d)](_0x3b9c23)?constants[_0x224da3(0x1ab)]:constants[_0x224da3(0x1b4)]);}let _0x40da86=_0x3b9c23[_0x224da3(0x15f)];if(_0x3f6c95[_0x224da3(0x165)](_0x40da86,null))_0x40da86=_0x3f6c95[_0x224da3(0x1e5)];else _0x3f6c95['LJVCr'](_0x40da86,undefined)&&(_0x40da86=_0x3f6c95[_0x224da3(0x155)]);unhandledErrors&&_0x3f6c95[_0x224da3(0x190)](unhandledErrors[_0x224da3(0x1c9)],0x0)&&(_0x45dc11['globalException']=unhandledErrors);global[_0x224da3(0x19e)]&&(_0x45dc11[_0x224da3(0x19e)]=global[_0x224da3(0x19e)]);try{if(_0x45dc11[_0x224da3(0x17c)]){if(_0x3f6c95[_0x224da3(0x172)](_0x4fe190,_0x3f6c95[_0x224da3(0x1d0)])&&_0x3f6c95[_0x224da3(0x190)](_0x45dc11[_0x224da3(0x17c)][_0x224da3(0x1c9)],0x0)){const _0x240e35={};_0x240e35['os']='',_0x240e35[_0x224da3(0x1a8)]='',_0x240e35[_0x224da3(0x1a2)]='',_0x240e35[_0x224da3(0x17d)]='';const _0x2ed397=_0x240e35;let _0x1a7586={};const _0x142e28=_0x45dc11['error'];_0x1a7586=_0x142e28[_0x224da3(0x16b)]((_0xcccf66,_0x45a657)=>{for(const _0x502e33 in _0x45a657){_0xcccf66[_0x502e33]=_0x45a657[_0x502e33];}return _0xcccf66;},{});const _0x25b248={};_0x25b248[_0x224da3(0x158)]=_0x1a7586,_0x45dc11[_0x224da3(0x17c)]=[Object[_0x224da3(0x1a1)]({},_0x2ed397,_0x25b248)];}else{let _0x1ac01f=0x0;const _0xffd78=_0x3f6c95['toSWe'](_0x4fe190,_0x3f6c95[_0x224da3(0x16f)])?JSON[_0x224da3(0x1dc)](_0x45dc11[_0x224da3(0x17c)]):_0x45dc11['error'],_0xd8e867=Object[_0x224da3(0x19c)](_0xffd78);_0xd8e867[_0x224da3(0x1ca)](_0x8e87c9=>{const _0x459278=_0x224da3;if(_0x3f6c95[_0x459278(0x1b2)](typeof _0x8e87c9,_0x3f6c95[_0x459278(0x16d)])){const _0x1a2604=Object[_0x459278(0x19c)](_0x8e87c9);!_0x1a2604[_0x459278(0x199)](_0x544cde=>_0x544cde===null||_0x544cde===undefined||_0x544cde==='')&&(_0x1ac01f+=0x1);}});if(_0x3f6c95[_0x224da3(0x172)](_0x1ac01f,0x0))delete _0x45dc11[_0x3f6c95[_0x224da3(0x1a3)]];else{const _0x2cb0b0=[];Object[_0x224da3(0x188)](_0xffd78)[_0x224da3(0x1ca)](_0x225cc3=>{const _0x1b7d2f=_0x224da3,[_0x23f86e,_0x4a77d6,_0x407765,_0x312a53]=_0x225cc3[_0x1b7d2f(0x1af)](',\x20');let _0x21b773={};if(!_0x312a53){const _0x4aff74={};_0x4aff74[_0x1b7d2f(0x15c)]=_0x23f86e,_0x4aff74[_0x1b7d2f(0x1a8)]=_0x4a77d6,_0x4aff74[_0x1b7d2f(0x1a2)]=_0x407765,_0x21b773=_0x4aff74;}else{const _0x80d7dd={};_0x80d7dd['os']=_0x23f86e,_0x80d7dd[_0x1b7d2f(0x1a8)]=_0x4a77d6,_0x80d7dd['browser']=_0x407765,_0x80d7dd[_0x1b7d2f(0x17d)]=_0x312a53,_0x21b773=_0x80d7dd;}const _0x3cb944={},_0x2e2867=_0xffd78[_0x225cc3];Object[_0x1b7d2f(0x188)](_0x2e2867)[_0x1b7d2f(0x1ca)](_0x33917c=>{const _0x17f55b=_0x1b7d2f;_0x3f6c95[_0x17f55b(0x1c5)](_0x2e2867[_0x33917c][_0x17f55b(0x1c9)],0x0)&&(_0x3cb944[_0x33917c]=_0x2e2867[_0x33917c]);}),_0x3f6c95['KCiuH'](Object[_0x1b7d2f(0x188)](_0x3cb944)[_0x1b7d2f(0x1c9)],0x0)&&(_0x21b773[_0x3f6c95[_0x1b7d2f(0x16e)]]=_0x3cb944,_0x2cb0b0[_0x1b7d2f(0x1d5)](_0x21b773));}),_0x3f6c95[_0x224da3(0x1a0)](_0x2cb0b0['length'],0x0)?_0x45dc11[_0x224da3(0x17c)]=_0x2cb0b0:delete _0x45dc11[_0x3f6c95[_0x224da3(0x1a3)]];}}}}catch(_0x21bc44){delete _0x45dc11[_0x3f6c95['MMXtx']],logger[_0x224da3(0x15e)](_0x3f6c95['QEZmH'](_0x3f6c95[_0x224da3(0x197)],_0x21bc44));}const _0x568b46=helper[_0x224da3(0x1e8)](_0x3b9c23,_0x3b9c23[_0x224da3(0x182)]),_0x3b1aa0={'userName':helper[_0x224da3(0x185)](_0x3b9c23),'accessKey':helper['getAccessKey'](_0x3b9c23),'event_type':_0x259214,'detectedFramework':_0x4fe190,'buildHashedId':globals[_0x224da3(0x183)](_0x3f6c95[_0x224da3(0x1cf)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x224da3(0x167)][_0x224da3(0x18c)]]||'','sdkRunId':global[_0x224da3(0x19e)],'product_map':_0x3f6c95[_0x224da3(0x186)](getProductMap,_0x3b9c23),'productMap':_0x3f6c95[_0x224da3(0x186)](getProductMap,_0x3b9c23),'language_framework':_0x3b9c23[_0x224da3(0x162)]||_0x3f6c95[_0x224da3(0x1de)],'referrer':helper['getNodeAgent'](_0x4fe190),'framework':_0x3b9c23[_0x224da3(0x182)],'frameworkVersion':helper[_0x224da3(0x194)](_0x4fe190),'automationFramework':_0x568b46[_0x224da3(0x171)],'automationFrameworkVersion':_0x568b46[_0x224da3(0x1bb)],'language':_0x3f6c95[_0x224da3(0x1dd)],'languageVersion':process['version'],'product':_0x189426,'buildName':_0x3b9c23['buildName']||_0x3f6c95['sRaaZ'],'buildIdentifier':_0x40da86,'os':os[_0x224da3(0x179)]()||_0x3f6c95[_0x224da3(0x1de)],'hostname':os[_0x224da3(0x154)]()||_0x3f6c95[_0x224da3(0x1de)],..._0x45dc11,'isCLIEnabled':_0x4c5031}};try{_0x3f6c95[_0x224da3(0x1b2)](_0x259214,_0x3f6c95[_0x224da3(0x18b)])&&(_0x3b1aa0[_0x224da3(0x1da)][_0x224da3(0x1b6)]=helper['sanitizeBrowserStackConfig'](_0x3b9c23)),_0x3f6c95[_0x224da3(0x153)](_0x4fe190,_0x3f6c95[_0x224da3(0x16f)])?_0x3b1aa0[_0x224da3(0x1da)][_0x224da3(0x15b)]=helper[_0x224da3(0x1be)]['apply'](null,_0x3f6c95[_0x224da3(0x1a7)](getTransformPath),!![]):_0x3b1aa0['event_properties'][_0x224da3(0x1d1)]=helper[_0x224da3(0x1e3)](_0x3f6c95[_0x224da3(0x192)]);}catch(_0x4a288e){logger[_0x224da3(0x15e)](_0x224da3(0x19b)+_0x4a288e);}const _0x4b12a7={};_0x4b12a7['content-type']=_0x3f6c95[_0x224da3(0x17e)];const _0x214600={'headers':_0x4b12a7,'body':_0x3b1aa0,'auth':{'user':helper[_0x224da3(0x185)](_0x3b9c23),'pass':helper['getAccessKey'](_0x3b9c23)},'json':!![]};logger[_0x224da3(0x15e)](_0x224da3(0x1ba)+JSON[_0x224da3(0x1b7)](_0x214600[_0x224da3(0x1d8)])['replace'](new RegExp(helper[_0x224da3(0x185)](_0x3b9c23),'g'),_0x3f6c95[_0x224da3(0x157)])[_0x224da3(0x177)](new RegExp(helper[_0x224da3(0x1e0)](_0x3b9c23),'g'),_0x3f6c95[_0x224da3(0x157)]));try{const _0x23eb12=await helper[_0x224da3(0x1b3)](_0x3f6c95['IVdMO'],FUNNEL_INSTRUMENTATION_API_URL,_0x214600,_0x3b9c23);logger[_0x224da3(0x15e)](_0x224da3(0x1a9)+_0x259214+'\x20response\x20-\x20'+util['format']('%j',_0x23eb12));}catch(_0x4eb92a){logger[_0x224da3(0x15e)](_0x224da3(0x187)+FUNNEL_INSTRUMENTATION_API_URL+_0x224da3(0x180)+util[_0x224da3(0x1db)](_0x4eb92a));}},exports[a179_0x48f5e6(0x191)]=async(_0x94d0f3,_0x5c3430=![])=>{const _0x16301a=a179_0x48f5e6,_0x31c2a3={'Zaolr':function(_0x4eb1c1){return _0x4eb1c1();},'OKkmx':'_hubAllocationData','bziuL':_0x16301a(0x1b5),'ivPek':_0x16301a(0x1c1),'RGibk':'SDKTestSuccessful','gFKNv':function(_0x11a433,_0x74620,_0x249f99){return _0x11a433(_0x74620,_0x249f99);},'kYQdk':function(_0x2d9904,_0x3bb8af){return _0x2d9904+_0x3bb8af;},'qCIQs':_0x16301a(0x198)};if(_0x94d0f3[_0x16301a(0x1b9)])return;_0x94d0f3['finalExecutionRan']=!![];try{await _0x94d0f3[_0x16301a(0x175)](),_0x31c2a3[_0x16301a(0x1d7)](printNudgeLocalNotSetError);const _0x1debb4={};_0x1debb4[_0x16301a(0x17c)]=_0x94d0f3['errorMessage']?_0x94d0f3[_0x16301a(0x1b1)]:'{}';const _0x43ba1d=_0x1debb4,_0x1cf91f=Object[_0x16301a(0x1a1)]({},_0x43ba1d),_0x317094=globals[_0x16301a(0x183)](_0x31c2a3['OKkmx']);_0x317094&&(_0x1cf91f[_0x16301a(0x1c4)]=_0x317094);!!_0x94d0f3[_0x16301a(0x1cc)]&&(_0x1cf91f[_0x31c2a3['bziuL']]={'reason':_0x31c2a3[_0x16301a(0x15a)],'signal':_0x94d0f3['killSignal']});unhandledErrors=_0x94d0f3[_0x16301a(0x15d)][_0x16301a(0x17f)]('\x0a');let _0x5153f0,_0x585ae4,_0x2adc8f;helper['isTurboScaleSession'](_0x94d0f3[_0x16301a(0x189)])?([_0x5153f0,_0x585ae4]=await helper['getTurboScaleBuildLink'](_0x94d0f3[_0x16301a(0x189)]),[_0x2adc8f]=await Promise[_0x16301a(0x168)]([helper[_0x16301a(0x1ad)](_0x5153f0,_0x94d0f3[_0x16301a(0x189)]),exports[_0x16301a(0x1d9)](_0x31c2a3[_0x16301a(0x1d6)],_0x1cf91f,_0x94d0f3[_0x16301a(0x189)],_0x94d0f3[_0x16301a(0x182)],_0x5c3430)])):([_0x5153f0,_0x585ae4]=await helper[_0x16301a(0x1ae)](_0x94d0f3[_0x16301a(0x189)]),[_0x2adc8f]=await Promise['all']([helper[_0x16301a(0x181)](_0x5153f0,_0x94d0f3[_0x16301a(0x189)]),exports[_0x16301a(0x1d9)](_0x31c2a3['RGibk'],_0x1cf91f,_0x94d0f3['config'],_0x94d0f3[_0x16301a(0x182)],_0x5c3430)])),_0x2adc8f&&await _0x31c2a3['gFKNv'](generateCIArtifacts,_0x2adc8f,_0x585ae4),logger[_0x16301a(0x1e1)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x94d0f3[_0x16301a(0x19e)]+_0x16301a(0x196)+process[_0x16301a(0x1ea)][_0x16301a(0x18c)]),await helper[_0x16301a(0x1c6)](_0x94d0f3['config']);}catch(_0x5b1bcd){logger[_0x16301a(0x15e)](_0x31c2a3[_0x16301a(0x195)](_0x31c2a3[_0x16301a(0x1cd)],_0x5b1bcd));}helper[_0x16301a(0x163)]();},exports['getStackTraceAsString']=_0x4e0cce=>{const _0x377b4b=a179_0x48f5e6,_0x14a5e={'rgkFm':function(_0x408967,_0x50c58b){return _0x408967 instanceof _0x50c58b;},'YEseb':function(_0x7d3c21,_0x1e0eed){return _0x7d3c21(_0x1e0eed);}};try{if(_0x14a5e[_0x377b4b(0x1b0)](_0x4e0cce,Error))return _0x4e0cce[_0x377b4b(0x1c0)]||_0x4e0cce[_0x377b4b(0x1b8)]();return _0x14a5e[_0x377b4b(0x174)](String,_0x4e0cce);}catch(_0x3bf72a){return _0x4e0cce?_0x4e0cce[_0x377b4b(0x1b8)]():'';}},exports[a179_0x48f5e6(0x1ac)]=_0x22e577=>{const _0x1b0a74=a179_0x48f5e6,_0x4c5cd8={};_0x4c5cd8[_0x1b0a74(0x18f)]=function(_0x438b04,_0x31b3e1){return _0x438b04===_0x31b3e1;};const _0x11ffe1=_0x4c5cd8;return!_0x22e577||_0x11ffe1[_0x1b0a74(0x18f)](_0x22e577[_0x1b0a74(0x1c7)](),'');},exports[a179_0x48f5e6(0x1ce)]=_0x1c7cbf=>{const _0x4d9c0b=a179_0x48f5e6,_0x8b8f8e={};_0x8b8f8e['gaDyy']=function(_0x2ea757,_0x4a1164){return _0x2ea757|_0x4a1164;};const _0x489101=_0x8b8f8e;try{return fs[_0x4d9c0b(0x166)](_0x1c7cbf,_0x489101[_0x4d9c0b(0x193)](fs[_0x4d9c0b(0x1a6)][_0x4d9c0b(0x1df)],fs[_0x4d9c0b(0x1a6)][_0x4d9c0b(0x176)])),!![];}catch(_0x16a9ba){return![];}},exports[a179_0x48f5e6(0x161)]=_0x2d3575=>{const _0x471920=a179_0x48f5e6;try{fs[_0x471920(0x159)](_0x2d3575,0x1ff),logger[_0x471920(0x15e)]('Directory\x20'+_0x2d3575+_0x471920(0x1cb));}catch(_0x5a39f1){logger[_0x471920(0x17c)](_0x471920(0x178)+exports[_0x471920(0x1eb)](_0x5a39f1));}};
|
|
1
|
+
const a179_0x295862=a179_0x2fe0;(function(_0x115a14,_0x39729c){const _0x44e4a6=a179_0x2fe0,_0x4ed8f7=_0x115a14();while(!![]){try{const _0x775728=-parseInt(_0x44e4a6(0x187))/0x1*(parseInt(_0x44e4a6(0x1c1))/0x2)+-parseInt(_0x44e4a6(0x1bd))/0x3*(-parseInt(_0x44e4a6(0x155))/0x4)+parseInt(_0x44e4a6(0x162))/0x5+-parseInt(_0x44e4a6(0x17e))/0x6*(-parseInt(_0x44e4a6(0x165))/0x7)+parseInt(_0x44e4a6(0x17a))/0x8+-parseInt(_0x44e4a6(0x173))/0x9*(parseInt(_0x44e4a6(0x1ac))/0xa)+parseInt(_0x44e4a6(0x169))/0xb;if(_0x775728===_0x39729c)break;else _0x4ed8f7['push'](_0x4ed8f7['shift']());}catch(_0x11bfb3){_0x4ed8f7['push'](_0x4ed8f7['shift']());}}}(a179_0x722a,0xb4bb5));function a179_0x722a(){const _0x200d12=['getNodeAgent','203151nPOOyk','ydUPi','stopPercy','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','1232362wnuglQ','object','nodejs','version','browserStackConfig','qAAkN',',\x20testhub\x20id:\x20','\x20response\x20-\x20','tests','env','POST','debug','./test-observability/utils','\x20:\x20','error','killSignal','getTestFrameworkDetails','EFhiP','XlJQS','BdhTO','./helper','hubAllocation','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','isModifiable','iIUke','Qvcbm','gjCRH','SDKTestSuccessful','hostname','criaG','vNyZi','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','W_OK','source','config','WKWEj','info','seleniumVersion','browser','chmodSync','getTurboScaleSessionsList','\x20has\x20now\x20read/write/execute\x20permissions.','BROWSERSTACK_TESTHUB_UUID','isBrowserstackInfra','selenium-webdriver','getBuildLink','4HHktEY','jSyjy','codeceptjs','./performance/performance-tester','APP_AUTOMATE','name','all','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','_hubAllocationData','wfAus','CJOsT','DsIAz','split','3273070GBxqDC','getSessionsList','getStackTraceAsString','4844oUxJbU','event_properties','parse','null','4693139fUiagb','eKlLO','sQPtq','PvREW','../helpers/testhub/constants','NRZrS','stringify','body','SDK\x20run\x20ended\x20for\x20id:\x20','Directory\x20','1402173dXoTBP','fCLCA','sdkRunId','ZIgPv','buildIdentifier','WEmyH','isNullOrEmpty','5257344vuuIvz','MZqDd','zkvPG','Error\x20in\x20firing\x20request\x20to\x20','4206qyIZem','QNbos','length','framework','blEmA','values','requirePWModule','undefined','rVduW','1UXckkH','getPackageVersion','HGlWq','../bin/utils/constants','APP_AUTOMATE_PRODUCTS','DCyvP','pvFSt','getOptimalHubUrl','constants','user_killed','reduce','isTurboScaleSession','deviceName','notifyUpdate','setReadWriteExecuteAccess','./testhub/utils','getAccessKey','assign','unknown','unhandledErrors','../bin/playwright/reporter/pwUtils','winstonLogger','sanitizeBrowserStackConfig','getGlobal','AUTOMATE','errorMessage','toString','format','gbZeR','ENV_VAR','push','replace','keys','content-type','getUserName','forEach','getFrameworkVersion','60NFfalp','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','zWGKW','AUTOMATE_PRODUCTS','fireFunnelTestEvent','SkBUa','finalExecution','./globals','globalException','nodeRequest','finalExecutionRan','util','[REDACTED]','browserVersion','accessSync','vuWWj'];a179_0x722a=function(){return _0x200d12;};return a179_0x722a();}function a179_0x2fe0(_0x11fcfa,_0x174396){const _0x722ab2=a179_0x722a();return a179_0x2fe0=function(_0x2fe0b3,_0x1d9b63){_0x2fe0b3=_0x2fe0b3-0x14d;let _0x433be3=_0x722ab2[_0x2fe0b3];return _0x433be3;},a179_0x2fe0(_0x11fcfa,_0x174396);}const os=require('os'),util=require(a179_0x295862(0x1b7)),fs=require('fs'),{getProductMap}=require(a179_0x295862(0x196)),logger=require('./logger')[a179_0x295862(0x19c)],constants=require(a179_0x295862(0x18a)),testHubConstants=require(a179_0x295862(0x16d)),{getTransformPath}=require(a179_0x295862(0x19b)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a179_0x295862(0x18a)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a179_0x295862(0x1d5)),PerformanceTester=require(a179_0x295862(0x158)),globals=require(a179_0x295862(0x1b3)),helper=require(a179_0x295862(0x1d5)),{isTestObservabilitySession}=require(a179_0x295862(0x1cd));let unhandledErrors='';exports[a179_0x295862(0x1b0)]=async(_0x2f358e,_0xfde24b={},_0x365e6a,_0x5ec60c,_0x37d73f=![])=>{const _0x3edd76=a179_0x295862,_0x19b2df={'HGlWq':function(_0x10a242,_0x3ec44d){return _0x10a242===_0x3ec44d;},'fCLCA':_0x3edd76(0x1c2),'WKWEj':function(_0x2d283f,_0x2edd26){return _0x2d283f>_0x2edd26;},'oZAIW':_0x3edd76(0x1c9),'zkvPG':function(_0x551b5e){return _0x551b5e();},'blEmA':function(_0xa2dc38,_0x14aa02){return _0xa2dc38==_0x14aa02;},'criaG':_0x3edd76(0x168),'ydUPi':_0x3edd76(0x185),'MrLwR':function(_0x12391c,_0x1e7da4){return _0x12391c>_0x1e7da4;},'rVduW':function(_0xffa8cf,_0x1b9e39){return _0xffa8cf===_0x1b9e39;},'zWGKW':_0x3edd76(0x157),'wfAus':function(_0x2f42cf,_0x39f129){return _0x2f42cf!==_0x39f129;},'eKlLO':'Playwright','vuWWj':_0x3edd76(0x1cf),'DCyvP':function(_0x52d3bc,_0x14e1ee){return _0x52d3bc+_0x14e1ee;},'XlJQS':_0x3edd76(0x1c0),'SkBUa':'_buildHashedId','CJOsT':function(_0x585d9d,_0x6d3d10){return _0x585d9d(_0x6d3d10);},'jSyjy':_0x3edd76(0x199),'igRXw':_0x3edd76(0x1c3),'DsIAz':_0x3edd76(0x1dc),'iIUke':function(_0x4d85eb){return _0x4d85eb();},'BdhTO':_0x3edd76(0x153),'NRZrS':'application/json','pvFSt':_0x3edd76(0x1b8),'EFhiP':_0x3edd76(0x1cb)};let _0x34ff43=[];if(helper[_0x3edd76(0x152)]()&&_0x19b2df['zkvPG'](isTestObservabilitySession))_0x34ff43=helper['isAppAutomateSession'](_0x365e6a)?constants[_0x3edd76(0x18b)]:constants[_0x3edd76(0x1af)];else{if(_0x19b2df[_0x3edd76(0x17c)](isTestObservabilitySession))_0x34ff43=constants[_0x3edd76(0x1e0)];else helper[_0x3edd76(0x152)]()&&(_0x34ff43=helper['isAppAutomateSession'](_0x365e6a)?constants[_0x3edd76(0x159)]:constants[_0x3edd76(0x19f)]);}let _0x2c926f=_0x365e6a[_0x3edd76(0x177)];if(_0x19b2df[_0x3edd76(0x182)](_0x2c926f,null))_0x2c926f=_0x19b2df[_0x3edd76(0x1de)];else _0x19b2df['HGlWq'](_0x2c926f,undefined)&&(_0x2c926f=_0x19b2df[_0x3edd76(0x1be)]);unhandledErrors&&_0x19b2df['MrLwR'](unhandledErrors[_0x3edd76(0x180)],0x0)&&(_0xfde24b[_0x3edd76(0x1b4)]=unhandledErrors);global[_0x3edd76(0x175)]&&(_0xfde24b[_0x3edd76(0x175)]=global[_0x3edd76(0x175)]);try{if(_0xfde24b[_0x3edd76(0x1cf)]){if(_0x19b2df[_0x3edd76(0x186)](_0x5ec60c,_0x19b2df[_0x3edd76(0x1ae)])&&_0x19b2df[_0x3edd76(0x1e4)](_0xfde24b[_0x3edd76(0x1cf)][_0x3edd76(0x180)],0x0)){const _0x2e2557={};_0x2e2557['os']='',_0x2e2557['osVersion']='',_0x2e2557[_0x3edd76(0x14d)]='',_0x2e2557[_0x3edd76(0x1b9)]='';const _0x1f728a=_0x2e2557;let _0x3edf44={};const _0x4c36d9=_0xfde24b[_0x3edd76(0x1cf)];_0x3edf44=_0x4c36d9[_0x3edd76(0x191)]((_0x15f09a,_0x501dc8)=>{for(const _0x1b3674 in _0x501dc8){_0x15f09a[_0x1b3674]=_0x501dc8[_0x1b3674];}return _0x15f09a;},{});const _0x5106e0={};_0x5106e0[_0x3edd76(0x1c9)]=_0x3edf44,_0xfde24b[_0x3edd76(0x1cf)]=[Object[_0x3edd76(0x198)]({},_0x1f728a,_0x5106e0)];}else{let _0x374970=0x0;const _0x19f7e5=_0x19b2df[_0x3edd76(0x15e)](_0x5ec60c,_0x19b2df[_0x3edd76(0x16a)])?JSON[_0x3edd76(0x167)](_0xfde24b[_0x3edd76(0x1cf)]):_0xfde24b[_0x3edd76(0x1cf)],_0x562192=Object['values'](_0x19f7e5);_0x562192['forEach'](_0x14b357=>{const _0x57c624=_0x3edd76;if(_0x19b2df['HGlWq'](typeof _0x14b357,_0x19b2df[_0x57c624(0x174)])){const _0xe7b629=Object[_0x57c624(0x183)](_0x14b357);!_0xe7b629['every'](_0xc6ac69=>_0xc6ac69===null||_0xc6ac69===undefined||_0xc6ac69==='')&&(_0x374970+=0x1);}});if(_0x19b2df[_0x3edd76(0x189)](_0x374970,0x0))delete _0xfde24b[_0x19b2df['vuWWj']];else{const _0x3fb6b4=[];Object['keys'](_0x19f7e5)[_0x3edd76(0x1aa)](_0xce2a14=>{const _0x2f4701=_0x3edd76,_0x97d963={'MZqDd':function(_0x9b425e,_0x342579){const _0x3e2e2d=a179_0x2fe0;return _0x19b2df[_0x3e2e2d(0x1e4)](_0x9b425e,_0x342579);}},[_0x19d00e,_0x56206c,_0x1b78fc,_0x5e3d2f]=_0xce2a14[_0x2f4701(0x161)](',\x20');let _0x2d5eb4={};if(!_0x5e3d2f){const _0x11376a={};_0x11376a[_0x2f4701(0x193)]=_0x19d00e,_0x11376a['osVersion']=_0x56206c,_0x11376a[_0x2f4701(0x14d)]=_0x1b78fc,_0x2d5eb4=_0x11376a;}else{const _0x222e0c={};_0x222e0c['os']=_0x19d00e,_0x222e0c['osVersion']=_0x56206c,_0x222e0c[_0x2f4701(0x14d)]=_0x1b78fc,_0x222e0c[_0x2f4701(0x1b9)]=_0x5e3d2f,_0x2d5eb4=_0x222e0c;}const _0x57c0b1={},_0x3a2be6=_0x19f7e5[_0xce2a14];Object[_0x2f4701(0x1a7)](_0x3a2be6)[_0x2f4701(0x1aa)](_0x478da4=>{const _0x579910=_0x2f4701;_0x97d963[_0x579910(0x17b)](_0x3a2be6[_0x478da4][_0x579910(0x180)],0x0)&&(_0x57c0b1[_0x478da4]=_0x3a2be6[_0x478da4]);}),_0x19b2df[_0x2f4701(0x1e4)](Object[_0x2f4701(0x1a7)](_0x57c0b1)[_0x2f4701(0x180)],0x0)&&(_0x2d5eb4[_0x19b2df['oZAIW']]=_0x57c0b1,_0x3fb6b4[_0x2f4701(0x1a5)](_0x2d5eb4));}),_0x19b2df[_0x3edd76(0x1e4)](_0x3fb6b4['length'],0x0)?_0xfde24b[_0x3edd76(0x1cf)]=_0x3fb6b4:delete _0xfde24b[_0x19b2df['vuWWj']];}}}}catch(_0x731901){delete _0xfde24b[_0x19b2df[_0x3edd76(0x1bb)]],logger['debug'](_0x19b2df[_0x3edd76(0x18c)](_0x19b2df[_0x3edd76(0x1d3)],_0x731901));}const _0x401694=helper[_0x3edd76(0x1d1)](_0x365e6a,_0x365e6a[_0x3edd76(0x181)]),_0x43b4b0={'userName':helper[_0x3edd76(0x1a9)](_0x365e6a),'accessKey':helper[_0x3edd76(0x197)](_0x365e6a),'event_type':_0x2f358e,'detectedFramework':_0x5ec60c,'buildHashedId':globals[_0x3edd76(0x19e)](_0x19b2df[_0x3edd76(0x1b1)]),'optimalHubUrl':helper[_0x3edd76(0x18e)](),'event_properties':{'testhub_uuid':process[_0x3edd76(0x1ca)][testHubConstants[_0x3edd76(0x1a4)][_0x3edd76(0x151)]]||'','sdkRunId':global[_0x3edd76(0x175)],'product_map':_0x19b2df[_0x3edd76(0x15f)](getProductMap,_0x365e6a),'productMap':_0x19b2df['CJOsT'](getProductMap,_0x365e6a),'language_framework':_0x365e6a[_0x3edd76(0x1e2)]||_0x19b2df[_0x3edd76(0x156)],'referrer':helper[_0x3edd76(0x1bc)](_0x5ec60c),'framework':_0x365e6a[_0x3edd76(0x181)],'frameworkVersion':helper[_0x3edd76(0x1ab)](_0x5ec60c),'automationFramework':_0x401694[_0x3edd76(0x15a)],'automationFrameworkVersion':_0x401694[_0x3edd76(0x1c4)],'language':_0x19b2df['igRXw'],'languageVersion':process[_0x3edd76(0x1c4)],'product':_0x34ff43,'buildName':_0x365e6a['buildName']||_0x19b2df['ydUPi'],'buildIdentifier':_0x2c926f,'os':os['type']()||_0x19b2df[_0x3edd76(0x156)],'hostname':os[_0x3edd76(0x1dd)]()||_0x19b2df[_0x3edd76(0x156)],..._0xfde24b,'isCLIEnabled':_0x37d73f}};try{_0x19b2df[_0x3edd76(0x186)](_0x2f358e,_0x19b2df[_0x3edd76(0x160)])&&(_0x43b4b0['event_properties'][_0x3edd76(0x1c5)]=helper[_0x3edd76(0x19d)](_0x365e6a)),_0x19b2df[_0x3edd76(0x189)](_0x5ec60c,_0x19b2df[_0x3edd76(0x16a)])?_0x43b4b0['event_properties']['playwrightVersion']=helper[_0x3edd76(0x184)]['apply'](null,_0x19b2df[_0x3edd76(0x1d9)](getTransformPath),!![]):_0x43b4b0[_0x3edd76(0x166)][_0x3edd76(0x1e6)]=helper[_0x3edd76(0x188)](_0x19b2df[_0x3edd76(0x1d4)]);}catch(_0x718523){logger[_0x3edd76(0x1cc)](_0x3edd76(0x15c)+_0x718523);}const _0x10c14f={};_0x10c14f[_0x3edd76(0x1a8)]=_0x19b2df[_0x3edd76(0x16e)];const _0x211c85={'headers':_0x10c14f,'body':_0x43b4b0,'auth':{'user':helper['getUserName'](_0x365e6a),'pass':helper[_0x3edd76(0x197)](_0x365e6a)},'json':!![]};logger[_0x3edd76(0x1cc)](_0x3edd76(0x1ad)+JSON[_0x3edd76(0x16f)](_0x211c85[_0x3edd76(0x170)])[_0x3edd76(0x1a6)](new RegExp(helper['getUserName'](_0x365e6a),'g'),_0x19b2df[_0x3edd76(0x18d)])[_0x3edd76(0x1a6)](new RegExp(helper[_0x3edd76(0x197)](_0x365e6a),'g'),_0x19b2df['pvFSt']));try{const _0x38a073=await helper[_0x3edd76(0x1b5)](_0x19b2df[_0x3edd76(0x1d2)],FUNNEL_INSTRUMENTATION_API_URL,_0x211c85,_0x365e6a);logger[_0x3edd76(0x1cc)]('API\x20Event\x20'+_0x2f358e+_0x3edd76(0x1c8)+util[_0x3edd76(0x1a2)]('%j',_0x38a073));}catch(_0x21b57e){logger['debug'](_0x3edd76(0x17d)+FUNNEL_INSTRUMENTATION_API_URL+_0x3edd76(0x1ce)+util['format'](_0x21b57e));}},exports[a179_0x295862(0x1b2)]=async(_0x4f337d,_0x111091=![])=>{const _0x58be50=a179_0x295862,_0x122d17={'gbZeR':function(_0x504f6c){return _0x504f6c();},'Qvcbm':_0x58be50(0x15d),'sQPtq':'finishedMetadata','QNbos':_0x58be50(0x190),'PvREW':_0x58be50(0x1dc),'vNyZi':function(_0x3e9ade,_0x249bd3,_0x2d0c44){return _0x3e9ade(_0x249bd3,_0x2d0c44);},'WEmyH':function(_0x3dcad7,_0x3332de){return _0x3dcad7+_0x3332de;},'ZyYdL':_0x58be50(0x1d7)};if(_0x4f337d['finalExecutionRan'])return;_0x4f337d[_0x58be50(0x1b6)]=!![];try{await _0x4f337d[_0x58be50(0x1bf)](),_0x122d17[_0x58be50(0x1a3)](printNudgeLocalNotSetError);const _0x5bbb12={};_0x5bbb12['error']=_0x4f337d[_0x58be50(0x1a0)]?_0x4f337d[_0x58be50(0x1a0)]:'{}';const _0x20c3df=_0x5bbb12,_0xc706c1=Object[_0x58be50(0x198)]({},_0x20c3df),_0x38775f=globals[_0x58be50(0x19e)](_0x122d17[_0x58be50(0x1da)]);_0x38775f&&(_0xc706c1[_0x58be50(0x1d6)]=_0x38775f);!!_0x4f337d[_0x58be50(0x1d0)]&&(_0xc706c1[_0x122d17[_0x58be50(0x16b)]]={'reason':_0x122d17[_0x58be50(0x17f)],'signal':_0x4f337d[_0x58be50(0x1d0)]});unhandledErrors=_0x4f337d[_0x58be50(0x19a)]['join']('\x0a');let _0x481a81,_0x13b019,_0x319f5b;helper[_0x58be50(0x192)](_0x4f337d[_0x58be50(0x1e3)])?([_0x481a81,_0x13b019]=await helper['getTurboScaleBuildLink'](_0x4f337d[_0x58be50(0x1e3)]),[_0x319f5b]=await Promise[_0x58be50(0x15b)]([helper[_0x58be50(0x14f)](_0x481a81,_0x4f337d[_0x58be50(0x1e3)]),exports[_0x58be50(0x1b0)](_0x122d17['PvREW'],_0xc706c1,_0x4f337d[_0x58be50(0x1e3)],_0x4f337d[_0x58be50(0x181)],_0x111091)])):([_0x481a81,_0x13b019]=await helper[_0x58be50(0x154)](_0x4f337d['config']),[_0x319f5b]=await Promise[_0x58be50(0x15b)]([helper[_0x58be50(0x163)](_0x481a81,_0x4f337d['config']),exports[_0x58be50(0x1b0)](_0x122d17[_0x58be50(0x16c)],_0xc706c1,_0x4f337d[_0x58be50(0x1e3)],_0x4f337d[_0x58be50(0x181)],_0x111091)])),_0x319f5b&&await _0x122d17[_0x58be50(0x1df)](generateCIArtifacts,_0x319f5b,_0x13b019),logger[_0x58be50(0x1e5)](_0x58be50(0x171)+_0x4f337d[_0x58be50(0x175)]+_0x58be50(0x1c7)+process[_0x58be50(0x1ca)][_0x58be50(0x151)]),await helper['sendLogs'](_0x4f337d[_0x58be50(0x1e3)]);}catch(_0x3a9b9c){logger[_0x58be50(0x1cc)](_0x122d17[_0x58be50(0x178)](_0x122d17['ZyYdL'],_0x3a9b9c));}helper[_0x58be50(0x194)]();},exports[a179_0x295862(0x164)]=_0x3cc3ec=>{const _0x5a1d42=a179_0x295862,_0x5e2f4d={'qAAkN':function(_0x1e48ca,_0x2ec2a){return _0x1e48ca instanceof _0x2ec2a;},'KrUZJ':function(_0x889533,_0x4c8094){return _0x889533(_0x4c8094);}};try{if(_0x5e2f4d[_0x5a1d42(0x1c6)](_0x3cc3ec,Error))return _0x3cc3ec['stack']||_0x3cc3ec[_0x5a1d42(0x1a1)]();return _0x5e2f4d['KrUZJ'](String,_0x3cc3ec);}catch(_0x43029f){return _0x3cc3ec?_0x3cc3ec[_0x5a1d42(0x1a1)]():'';}},exports[a179_0x295862(0x179)]=_0x41456c=>{const _0x286668=a179_0x295862,_0x3fcf89={};_0x3fcf89[_0x286668(0x176)]=function(_0x224afa,_0x3a4e90){return _0x224afa===_0x3a4e90;};const _0x234e37=_0x3fcf89;return!_0x41456c||_0x234e37[_0x286668(0x176)](_0x41456c['trim'](),'');},exports[a179_0x295862(0x1d8)]=_0x366f59=>{const _0x3e3357=a179_0x295862,_0x242bb6={};_0x242bb6[_0x3e3357(0x1db)]=function(_0x3f8a4a,_0x3da43a){return _0x3f8a4a|_0x3da43a;};const _0x14e3f9=_0x242bb6;try{return fs[_0x3e3357(0x1ba)](_0x366f59,_0x14e3f9[_0x3e3357(0x1db)](fs[_0x3e3357(0x18f)][_0x3e3357(0x1e1)],fs['constants']['X_OK'])),!![];}catch(_0x173559){return![];}},exports[a179_0x295862(0x195)]=_0x187f71=>{const _0x56317d=a179_0x295862;try{fs[_0x56317d(0x14e)](_0x187f71,0x1ff),logger[_0x56317d(0x1cc)](_0x56317d(0x172)+_0x187f71+_0x56317d(0x150));}catch(_0x124193){logger['error']('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x56317d(0x164)](_0x124193));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a180_0x9536(_0x477d1b,_0x357cd6){var _0x389455=a180_0x3894();return a180_0x9536=function(_0x953641,_0x5c244b){_0x953641=_0x953641-0x124;var _0x55a6a2=_0x389455[_0x953641];return _0x55a6a2;},a180_0x9536(_0x477d1b,_0x357cd6);}function a180_0x3894(){var _0x1f87a8=['ibiWD','hosts','Nfuad','browserstack.enableSim','overridelocalInfo.localIdentifier','appiumLogs','XBMpH','os_version','2894626TVJdoi','browserstack.appiumLogs','browserstack.simOptions','browserstack.local','843551LCXaLI','EVlVp','browserstack.customNetwork','browserstack.networkLogsOptions','oPJUi','browserstack.maskCommands','browserstack.autoWait','browserstack.performance','sessionName','browserstack.bfcache','build','browserstack.accessibilityOptions.scannerProcessingTimeout','guzcy','browserstack.accessibilityOptions.authToken','browserstack.buildProductMap','NxQBv','local','browserstack.timezone','appiumVersion','buildIdentifier','browserstack.appium_version','browserstack.headerParams','IxLXH','accessibility','accessibilityOptions.authToken','browserstack.localIdentifier','debug','yjzlQ','HGNkY','16934247dYVaOR','browserstack.testhubBuildUuid','idleTimeout','dTWGk','MpJrP','browserstack.networkLogs','zPtmr','maskCommands','browserstack.debug','feoDY','browserstack.user','osVersion','testhubBuildUuid','browser','browserstack.wsLocalSupport','baZkR','qmsha','NFQRU','2534kWNLxc','186ORuEoV','TTcll','TMmqm','browserstack.overridelocalInfo.userAuthToken','browserstack.accessibilityOptions.includeIssueType.needsReview','projectName','uPVCe','browserstack.networkProfile','overridelocalInfo.userAuthToken','video','W3CMapping','browserstack.console','ycxvX','deviceOrientation','networkLogsOptions','seleniumLogs','fknGF','browser_version','eEFGQ','browserstack.hosts','browserstack.browserstackSDK','fBmcq','buildProductMap','lktyQ','NYHSu','telemetryLogs','LarOE','timezone','browserstack.uploadMedia','tMtry','VaMJB','autoWait','device','KHrmQ','wsLocalSupport','194160CtoSJr','dQvQd','LiwJS','disableCorsRestrictions','browserstack.key','2625PSHxfL','networkProfile','cudMx','realMobile','RlHvv','enableSim','headerParams','customNetwork','browserstack.use_w3c','NqwBM','browserstack.accessibilityOptions.wcagVersion','geoLocation','buildName','userName','5238964MkxPzm','browserstack.playwrightVersion','gLveG','browserstackSDK','uploadMedia','accessKey','deviceName','WajlF','DWdLi','rHVOe','browserstack.accessibility','sQwOA','zXNcU','SojSa','FsqrA','seleniumVersion','browserstack.idleTimeout','browserstack.maskBasicAuth','name','accessibilityOptions.includeIssueType.bestPractice','cLGHJ','OAGjk','browserstack.telemetryLogs','ydsoi','dUiLg','8777136ZCuRqn','tNZol','browserstack.seleniumLogs','browserstack.accessibilityOptions.includeIssueType.bestPractice','eJUsm','vKUEN','maskBasicAuth','ZFDwV','leDGd','LMcQc','resolution','BsxXm'];a180_0x3894=function(){return _0x1f87a8;};return a180_0x3894();}var a180_0x59dc14=a180_0x9536;(function(_0x387bfc,_0x5ea5db){var _0x264688=a180_0x9536,_0x17932a=_0x387bfc();while(!![]){try{var _0x7a8421=-parseInt(_0x264688(0x18e))/0x1+-parseInt(_0x264688(0x126))/0x2*(-parseInt(_0x264688(0x14f))/0x3)+parseInt(_0x264688(0x15d))/0x4+-parseInt(_0x264688(0x14a))/0x5*(parseInt(_0x264688(0x127))/0x6)+-parseInt(_0x264688(0x18a))/0x7+-parseInt(_0x264688(0x176))/0x8+parseInt(_0x264688(0x1ab))/0x9;if(_0x7a8421===_0x5ea5db)break;else _0x17932a['push'](_0x17932a['shift']());}catch(_0x1016f){_0x17932a['push'](_0x17932a['shift']());}}}(a180_0x3894,0xb523a),exports[a180_0x59dc14(0x131)]=()=>{var _0xbc6bf1=a180_0x59dc14,_0x43c5ed={};_0x43c5ed[_0xbc6bf1(0x182)]=_0xbc6bf1(0x15c),_0x43c5ed['LMcQc']=_0xbc6bf1(0x162),_0x43c5ed[_0xbc6bf1(0x16b)]=_0xbc6bf1(0x1b6),_0x43c5ed[_0xbc6bf1(0x158)]=_0xbc6bf1(0x1b8),_0x43c5ed['guzcy']='browserVersion',_0x43c5ed[_0xbc6bf1(0x17b)]='useW3c',_0x43c5ed['KHrmQ']=_0xbc6bf1(0x12c),_0x43c5ed[_0xbc6bf1(0x141)]=_0xbc6bf1(0x15b),_0x43c5ed['pCgoN']=_0xbc6bf1(0x196),_0x43c5ed[_0xbc6bf1(0x16a)]=_0xbc6bf1(0x19e),_0x43c5ed[_0xbc6bf1(0x17d)]='localIdentifier',_0x43c5ed[_0xbc6bf1(0x177)]=_0xbc6bf1(0x1a8),_0x43c5ed[_0xbc6bf1(0x13f)]='consoleLogs',_0x43c5ed['gLveG']='networkLogs',_0x43c5ed[_0xbc6bf1(0x1ba)]=_0xbc6bf1(0x135),_0x43c5ed[_0xbc6bf1(0x12d)]=_0xbc6bf1(0x187),_0x43c5ed[_0xbc6bf1(0x1ae)]=_0xbc6bf1(0x130),_0x43c5ed['NxQBv']=_0xbc6bf1(0x136),_0x43c5ed[_0xbc6bf1(0x184)]=_0xbc6bf1(0x140),_0x43c5ed[_0xbc6bf1(0x144)]=_0xbc6bf1(0x15a),_0x43c5ed['IxLXH']=_0xbc6bf1(0x142),_0x43c5ed[_0xbc6bf1(0x175)]='resolution',_0x43c5ed[_0xbc6bf1(0x13c)]=_0xbc6bf1(0x16c),_0x43c5ed[_0xbc6bf1(0x172)]=_0xbc6bf1(0x1b2),_0x43c5ed['ipguZ']=_0xbc6bf1(0x1ad),_0x43c5ed[_0xbc6bf1(0x13e)]=_0xbc6bf1(0x17c),_0x43c5ed[_0xbc6bf1(0x145)]=_0xbc6bf1(0x146),_0x43c5ed[_0xbc6bf1(0x129)]=_0xbc6bf1(0x183),_0x43c5ed[_0xbc6bf1(0x166)]='bfcache',_0x43c5ed[_0xbc6bf1(0x128)]=_0xbc6bf1(0x149),_0x43c5ed['feoDY']=_0xbc6bf1(0x14d),_0x43c5ed[_0xbc6bf1(0x1af)]=_0xbc6bf1(0x163),_0x43c5ed[_0xbc6bf1(0x14c)]=_0xbc6bf1(0x152),_0x43c5ed[_0xbc6bf1(0x1aa)]=_0xbc6bf1(0x1a0),_0x43c5ed['WajlF']=_0xbc6bf1(0x134),_0x43c5ed[_0xbc6bf1(0x181)]=_0xbc6bf1(0x156),_0x43c5ed[_0xbc6bf1(0x14b)]=_0xbc6bf1(0x150),_0x43c5ed[_0xbc6bf1(0x18f)]=_0xbc6bf1(0x1a1),_0x43c5ed[_0xbc6bf1(0x133)]=_0xbc6bf1(0x160),_0x43c5ed[_0xbc6bf1(0x125)]=_0xbc6bf1(0x1a5),_0x43c5ed['zPtmr']=_0xbc6bf1(0x13d),_0x43c5ed[_0xbc6bf1(0x137)]=_0xbc6bf1(0x1b7),_0x43c5ed[_0xbc6bf1(0x192)]='accessibilityOptions.wcagVersion',_0x43c5ed[_0xbc6bf1(0x169)]='accessibilityOptions.scannerVersion',_0x43c5ed['DWdLi']='accessibilityOptions.scannerProcessingTimeout',_0x43c5ed[_0xbc6bf1(0x174)]=_0xbc6bf1(0x170),_0x43c5ed[_0xbc6bf1(0x151)]='accessibilityOptions.includeIssueType.needsReview',_0x43c5ed[_0xbc6bf1(0x17e)]=_0xbc6bf1(0x1a6),_0x43c5ed[_0xbc6bf1(0x171)]=_0xbc6bf1(0x161),_0x43c5ed[_0xbc6bf1(0x168)]=_0xbc6bf1(0x154),_0x43c5ed[_0xbc6bf1(0x188)]='simOptions',_0x43c5ed[_0xbc6bf1(0x139)]='playwrightVersion',_0x43c5ed[_0xbc6bf1(0x1a9)]=_0xbc6bf1(0x12f),_0x43c5ed[_0xbc6bf1(0x17a)]=_0xbc6bf1(0x186),_0x43c5ed['RlHvv']=_0xbc6bf1(0x155),_0x43c5ed['qmsha']='performance';var _0x349b35=_0x43c5ed,_0x3d33b4={};return _0x3d33b4[_0xbc6bf1(0x1b5)]=_0x349b35[_0xbc6bf1(0x182)],_0x3d33b4[_0xbc6bf1(0x14e)]=_0x349b35[_0xbc6bf1(0x17f)],_0x3d33b4['os']='os',_0x3d33b4[_0xbc6bf1(0x189)]=_0x349b35[_0xbc6bf1(0x16b)],_0x3d33b4[_0xbc6bf1(0x1b8)]=_0x349b35[_0xbc6bf1(0x158)],_0x3d33b4[_0xbc6bf1(0x138)]=_0x349b35[_0xbc6bf1(0x19a)],_0x3d33b4[_0xbc6bf1(0x157)]=_0x349b35[_0xbc6bf1(0x17b)],_0x3d33b4['project']=_0x349b35[_0xbc6bf1(0x148)],_0x3d33b4[_0xbc6bf1(0x198)]=_0x349b35[_0xbc6bf1(0x141)],_0x3d33b4[_0xbc6bf1(0x16f)]=_0x349b35['pCgoN'],_0x3d33b4[_0xbc6bf1(0x18d)]=_0x349b35['SojSa'],_0x3d33b4[_0xbc6bf1(0x1a7)]=_0x349b35['ZFDwV'],_0x3d33b4[_0xbc6bf1(0x1b3)]=_0x349b35[_0xbc6bf1(0x177)],_0x3d33b4[_0xbc6bf1(0x132)]=_0x349b35['NYHSu'],_0x3d33b4[_0xbc6bf1(0x1b0)]=_0x349b35[_0xbc6bf1(0x15f)],_0x3d33b4[_0xbc6bf1(0x191)]=_0x349b35['baZkR'],_0x3d33b4[_0xbc6bf1(0x18b)]=_0x349b35[_0xbc6bf1(0x12d)],_0x3d33b4['browserstack.video']=_0x349b35[_0xbc6bf1(0x1ae)],_0x3d33b4[_0xbc6bf1(0x178)]=_0x349b35[_0xbc6bf1(0x19d)],_0x3d33b4[_0xbc6bf1(0x173)]=_0x349b35[_0xbc6bf1(0x184)],_0x3d33b4['browserstack.geoLocation']=_0x349b35[_0xbc6bf1(0x144)],_0x3d33b4[_0xbc6bf1(0x19f)]=_0x349b35[_0xbc6bf1(0x1a4)],_0x3d33b4[_0xbc6bf1(0x180)]=_0x349b35[_0xbc6bf1(0x175)],_0x3d33b4['browserstack.selenium_version']=_0x349b35['fBmcq'],_0x3d33b4[_0xbc6bf1(0x193)]=_0x349b35['OAGjk'],_0x3d33b4[_0xbc6bf1(0x16d)]=_0x349b35['ipguZ'],_0x3d33b4[_0xbc6bf1(0x16e)]=_0x349b35['lktyQ'],_0x3d33b4[_0xbc6bf1(0x194)]=_0x349b35['VaMJB'],_0x3d33b4[_0xbc6bf1(0x13a)]=_0x349b35['TMmqm'],_0x3d33b4[_0xbc6bf1(0x197)]=_0x349b35['rHVOe'],_0x3d33b4[_0xbc6bf1(0x1b9)]=_0x349b35[_0xbc6bf1(0x128)],_0x3d33b4['browserstack.disableCorsRestrictions']=_0x349b35[_0xbc6bf1(0x1b4)],_0x3d33b4[_0xbc6bf1(0x147)]=_0x349b35[_0xbc6bf1(0x1af)],_0x3d33b4['realMobile']=_0x349b35[_0xbc6bf1(0x14c)],_0x3d33b4[_0xbc6bf1(0x1a2)]=_0x349b35[_0xbc6bf1(0x1aa)],_0x3d33b4[_0xbc6bf1(0x134)]=_0x349b35[_0xbc6bf1(0x164)],_0x3d33b4[_0xbc6bf1(0x190)]=_0x349b35[_0xbc6bf1(0x181)],_0x3d33b4[_0xbc6bf1(0x12e)]=_0x349b35[_0xbc6bf1(0x14b)],_0x3d33b4['browserstack.buildIdentifier']=_0x349b35[_0xbc6bf1(0x18f)],_0x3d33b4[_0xbc6bf1(0x13b)]=_0x349b35[_0xbc6bf1(0x133)],_0x3d33b4[_0xbc6bf1(0x167)]=_0x349b35[_0xbc6bf1(0x125)],_0x3d33b4[_0xbc6bf1(0x19c)]=_0x349b35[_0xbc6bf1(0x1b1)],_0x3d33b4[_0xbc6bf1(0x1ac)]=_0x349b35[_0xbc6bf1(0x137)],_0x3d33b4[_0xbc6bf1(0x159)]=_0x349b35[_0xbc6bf1(0x192)],_0x3d33b4['browserstack.accessibilityOptions.scannerVersion']=_0x349b35[_0xbc6bf1(0x169)],_0x3d33b4[_0xbc6bf1(0x199)]=_0x349b35[_0xbc6bf1(0x165)],_0x3d33b4[_0xbc6bf1(0x179)]=_0x349b35[_0xbc6bf1(0x174)],_0x3d33b4[_0xbc6bf1(0x12b)]=_0x349b35[_0xbc6bf1(0x151)],_0x3d33b4[_0xbc6bf1(0x19b)]=_0x349b35[_0xbc6bf1(0x17e)],_0x3d33b4[_0xbc6bf1(0x143)]=_0x349b35[_0xbc6bf1(0x171)],_0x3d33b4[_0xbc6bf1(0x185)]=_0x349b35['sQwOA'],_0x3d33b4[_0xbc6bf1(0x18c)]=_0x349b35[_0xbc6bf1(0x188)],_0x3d33b4[_0xbc6bf1(0x15e)]=_0x349b35[_0xbc6bf1(0x139)],_0x3d33b4[_0xbc6bf1(0x12a)]=_0x349b35[_0xbc6bf1(0x1a9)],_0x3d33b4['browserstack.overridelocalInfo.localIdentifier']=_0x349b35[_0xbc6bf1(0x17a)],_0x3d33b4[_0xbc6bf1(0x1a3)]=_0x349b35[_0xbc6bf1(0x153)],_0x3d33b4[_0xbc6bf1(0x195)]=_0x349b35[_0xbc6bf1(0x124)],_0x3d33b4;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a181_0x55ccbf=a181_0x51e8;function a181_0x1f48(){const _0x9d5951=['newHubUrlBySession','length','981064tlYivN','GET','check','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','GzxGr','gifmB','map','6uglgmq','kBFHa','format','FkYMI','fNEZO','yRxPn','XKnPF','uLzhH','cDyDR','4ENKBFi','hubRegion\x20','YLLYq','findLatency','37351668rjmNRi','./bin/utils/constants','data','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','now','nextHubs','hubRegion','SJmjk','hubs','\x20is:\x20','set','debug','status','util','fQwkL','uvGCn','znZkN','then','ZjwNB','Execution\x20time\x20for\x20','setGlobal','value','./helpers/helper','3789198mdXxYS','pathname','VPGjI','qOsxK','hash','8704akBgRS','next_hubs','gsyqt','244SfHSUU','wQonf','delete','MqMRK','getGlobal','has','1289690tcnaGn','72gToMlP','get','getRequestOptions','IUFhx','updateHubUrl','mxjWw','catch','url','/wd/hub','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','kUlkA','hubLatencies','resolve','JtnXa','Invalid\x20new\x20HUB\x20URL:\x20','parse','path','skipped','RatYn','nodeRequest','DvaBy','11alPlYp','7686010xRnsBh','https://','ERROR\x20in\x20hub\x20selection:\x20','winstonLogger','HUB\x20URL\x20SET\x20TO\x20-\x20','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','\x20HUB\x20-\x20','qShtB','latency','eHmIu','hubUrl','HUB_URL_MAP','GYVdJ','race','./helpers/logger','replace','LWriC','557082aINICt','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','all','CLECL','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','search','allSettled','SKrYv','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'];a181_0x1f48=function(){return _0x9d5951;};return a181_0x1f48();}(function(_0x5aaa43,_0x8c6535){const _0xc7b340=a181_0x51e8,_0xb3cdb0=_0x5aaa43();while(!![]){try{const _0x2daf6d=parseInt(_0xc7b340(0x10b))/0x1*(-parseInt(_0xc7b340(0x10e))/0x2)+parseInt(_0xc7b340(0xd0))/0x3*(-parseInt(_0xc7b340(0xeb))/0x4)+-parseInt(_0xc7b340(0x114))/0x5*(parseInt(_0xc7b340(0xe2))/0x6)+-parseInt(_0xc7b340(0x106))/0x7+-parseInt(_0xc7b340(0xdb))/0x8*(parseInt(_0xc7b340(0x115))/0x9)+parseInt(_0xc7b340(0x12b))/0xa*(parseInt(_0xc7b340(0x12a))/0xb)+parseInt(_0xc7b340(0xef))/0xc;if(_0x2daf6d===_0x8c6535)break;else _0xb3cdb0['push'](_0xb3cdb0['shift']());}catch(_0x12871f){_0xb3cdb0['push'](_0xb3cdb0['shift']());}}}(a181_0x1f48,0xd055e));const url=require(a181_0x55ccbf(0x11c)),util=require(a181_0x55ccbf(0xfc)),helper=require(a181_0x55ccbf(0x105)),logger=require(a181_0x55ccbf(0x139))[a181_0x55ccbf(0x12e)],constants=require('./bin/utils/constants'),globals=require('./helpers/globals');function a181_0x51e8(_0x5dcb2f,_0x3ee5e7){const _0x1f4811=a181_0x1f48();return a181_0x51e8=function(_0x51e836,_0x5938dc){_0x51e836=_0x51e836-0xd0;let _0x359256=_0x1f4811[_0x51e836];return _0x359256;},a181_0x51e8(_0x5dcb2f,_0x3ee5e7);}global[a181_0x55ccbf(0xd9)]=global['newHubUrlBySession']||new Map(),exports[a181_0x55ccbf(0x117)]=_0x3b7e4d=>{const _0x44327a=a181_0x55ccbf,_0x2ba78a={};_0x2ba78a[_0x44327a(0x11f)]=function(_0x169d19,_0x110d78){return _0x169d19+_0x110d78;},_0x2ba78a[_0x44327a(0x129)]=_0x44327a(0x123);const _0x322b2d=_0x2ba78a,_0x207390=url[_0x44327a(0x124)](_0x3b7e4d);if(!_0x207390['hostname'])throw new Error(_0x322b2d[_0x44327a(0x11f)](_0x322b2d[_0x44327a(0x129)],_0x3b7e4d));return _0x207390[_0x44327a(0xd5)]=null,_0x207390[_0x44327a(0x10a)]=null,_0x207390[_0x44327a(0x125)]=_0x207390[_0x44327a(0x107)],_0x207390;},exports[a181_0x55ccbf(0x119)]=(_0x1dc4cf,_0x2abd10)=>{const _0x203604=a181_0x55ccbf,_0x1d9f33={};_0x1d9f33[_0x203604(0xd7)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x5f4ffd=_0x1d9f33;if(!_0x2abd10){logger[_0x203604(0xfa)](_0x5f4ffd['SKrYv']);return;}global[_0x203604(0xd9)][_0x203604(0xf9)](_0x2abd10,_0x1dc4cf);},exports['consumeHubUrlForSession']=_0x4f2d89=>{const _0x5e659d=a181_0x55ccbf;if(_0x4f2d89&&global[_0x5e659d(0xd9)][_0x5e659d(0x113)](_0x4f2d89)){const _0x46a40a=global[_0x5e659d(0xd9)][_0x5e659d(0x116)](_0x4f2d89);return global[_0x5e659d(0xd9)][_0x5e659d(0x110)](_0x4f2d89),_0x46a40a;}return'';},exports['allocateHub']=_0x3622c8=>{const _0x1a0825=a181_0x55ccbf,_0x52b990={'kezKO':function(_0xd8c31f,_0x45893c){return _0xd8c31f!==_0x45893c;},'JtnXa':function(_0x239baf,_0x5a3380){return _0x239baf+_0x5a3380;},'MqMRK':_0x1a0825(0x12c),'eHmIu':'_hubAllocationData','qShtB':function(_0x390fb5,_0x419815){return _0x390fb5===_0x419815;},'gLLQL':'fulfilled','CeKBH':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','yyqFd':function(_0x2e4452,_0x4ecfc4){return _0x2e4452+_0x4ecfc4;},'YLLYq':_0x1a0825(0x11d),'znZkN':function(_0x511a3e){return _0x511a3e();},'cDyDR':function(_0x3b6c8f,_0x4bd3ed){return _0x3b6c8f==_0x4bd3ed;},'SJmjk':function(_0x5ba528){return _0x5ba528();},'JBuqK':function(_0x521941){return _0x521941();}};return new Promise(_0x487a82=>{const _0x4444ac=_0x1a0825,_0x215e63={'IUFhx':function(_0x6ce46e){return _0x52b990['znZkN'](_0x6ce46e);}};if(_0x3622c8&&_0x3622c8[_0x4444ac(0xf5)]){const _0x201f4=constants[_0x4444ac(0x136)][_0x3622c8[_0x4444ac(0xf5)]];if(_0x201f4)return constants[_0x4444ac(0x135)]=_0x201f4,logger[_0x4444ac(0xfa)](_0x4444ac(0x11e)+_0x201f4),globals[_0x4444ac(0x103)](_0x52b990[_0x4444ac(0x134)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x201f4[_0x4444ac(0x13a)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x4444ac(0xf3)]()}),_0x52b990['JBuqK'](_0x487a82);logger[_0x4444ac(0xfa)](_0x4444ac(0xec)+_0x3622c8[_0x4444ac(0xf5)]+_0x4444ac(0xde));}Promise[_0x4444ac(0x121)](this['nextHubs'](_0x3622c8))[_0x4444ac(0x100)](_0x74fbc5=>{const _0x569914=_0x4444ac,_0x277a9e={'uLzhH':function(_0x42eaa1,_0x31ce0a){return _0x52b990['kezKO'](_0x42eaa1,_0x31ce0a);},'uvGCn':function(_0x2c6dc1,_0x7ba147){return _0x52b990['JtnXa'](_0x2c6dc1,_0x7ba147);},'kBFHa':_0x52b990[_0x569914(0x111)],'FkYMI':_0x52b990['eHmIu'],'gsyqt':function(_0x22c7e3,_0x3e3cbd){const _0x16de98=_0x569914;return _0x52b990[_0x16de98(0x132)](_0x22c7e3,_0x3e3cbd);},'gifmB':_0x52b990['gLLQL'],'qOsxK':_0x52b990['CeKBH'],'mxjWw':function(_0x3fead0,_0x42bebc){return _0x52b990['yyqFd'](_0x3fead0,_0x42bebc);},'wQonf':_0x52b990[_0x569914(0xed)],'LWriC':function(_0x583d46){const _0x171651=_0x569914;return _0x52b990[_0x171651(0xff)](_0x583d46);},'fQwkL':function(_0xebf71f,_0xec5f1b){const _0x17d443=_0x569914;return _0x52b990[_0x17d443(0x122)](_0xebf71f,_0xec5f1b);}};logger['debug']('NEAREST\x20HUBS\x20LIST:\x20'+util[_0x569914(0xe4)]('%j',_0x74fbc5));if(_0x52b990[_0x569914(0xea)](_0x74fbc5,null)||_0x52b990[_0x569914(0x132)](_0x74fbc5[_0x569914(0xda)],0x0))return _0x52b990[_0x569914(0xff)](_0x487a82);const _0x2d08c0=_0x74fbc5['map'](_0x14f403=>{const _0x3314bf=_0x569914,_0x15477a=_0x277a9e[_0x3314bf(0xfe)](_0x277a9e[_0x3314bf(0xe3)],_0x14f403);return this[_0x3314bf(0xee)](_0x3622c8,_0x15477a)['then'](_0x39ce80=>{const _0x117f14=_0x3314bf;if(_0x39ce80&&_0x39ce80[_0x117f14(0x135)]&&_0x277a9e[_0x117f14(0xe9)](_0x39ce80['latency'],undefined)){const _0x1ad2be={};return _0x1ad2be[_0x117f14(0x135)]=_0x39ce80[_0x117f14(0x135)],_0x1ad2be['latency']=_0x39ce80[_0x117f14(0x133)],_0x1ad2be['ok']=!![],_0x1ad2be;}const _0x802388={};return _0x802388[_0x117f14(0x135)]=_0x15477a,_0x802388[_0x117f14(0x133)]=null,_0x802388['ok']=![],_0x802388;})[_0x3314bf(0x11b)](()=>({'hubUrl':_0x15477a,'latency':null,'ok':![]}));});Promise[_0x569914(0x138)](_0x2d08c0[_0x569914(0xe1)](_0x1071b0=>_0x1071b0[_0x569914(0x100)](_0x29f3d9=>_0x29f3d9['ok']?_0x29f3d9:null)))[_0x569914(0x100)](_0x1bd405=>{const _0x31afca=_0x569914;if(_0x1bd405)return _0x1bd405;return Promise[_0x31afca(0xd2)](_0x2d08c0)[_0x31afca(0x100)](()=>null);})[_0x569914(0x100)](_0x51ad16=>{const _0x4181ca=_0x569914,_0x4674c4={'XKnPF':_0x277a9e[_0x4181ca(0xe5)],'RatYn':function(_0x154a96,_0x48f186){const _0x4360be=_0x4181ca;return _0x277a9e[_0x4360be(0x10d)](_0x154a96,_0x48f186);},'yRxPn':_0x277a9e[_0x4181ca(0xe0)]};if(!_0x51ad16){logger[_0x4181ca(0xfa)](_0x277a9e[_0x4181ca(0x109)]);const _0x3525eb=_0x277a9e[_0x4181ca(0x11a)](_0x277a9e[_0x4181ca(0xe3)],_0x74fbc5[0x0]);return globals[_0x4181ca(0x103)](_0x277a9e[_0x4181ca(0xe5)],{'nearestHubs':_0x74fbc5[_0x4181ca(0xe1)](_0xf2d566=>_0x4181ca(0x12c)+_0xf2d566),'hubLatencies':{},'selectedHub':_0x3525eb,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x4181ca(0xf3)]()}),constants[_0x4181ca(0x135)]=_0x277a9e[_0x4181ca(0x11a)](_0x3525eb,_0x277a9e[_0x4181ca(0x10f)]),logger[_0x4181ca(0xfa)](_0x4181ca(0xf2)+_0x3525eb),_0x277a9e[_0x4181ca(0x13b)](_0x487a82);}const _0x3e8a03={[_0x51ad16[_0x4181ca(0x135)]]:_0x51ad16[_0x4181ca(0x133)]},_0x2aba54={'nearestHubs':_0x74fbc5[_0x4181ca(0xe1)](_0x3c2f94=>_0x4181ca(0x12c)+_0x3c2f94),'hubLatencies':_0x3e8a03,'selectedHub':_0x51ad16[_0x4181ca(0x135)],'selectedHubLatency':_0x51ad16['latency'],'timestamp':Date[_0x4181ca(0xf3)]()};globals[_0x4181ca(0x103)](_0x277a9e[_0x4181ca(0xe5)],_0x2aba54),constants[_0x4181ca(0x135)]=_0x277a9e[_0x4181ca(0xfd)](_0x51ad16[_0x4181ca(0x135)],_0x277a9e[_0x4181ca(0x10f)]),logger['debug'](_0x4181ca(0x12f)+_0x51ad16[_0x4181ca(0x135)]),_0x277a9e[_0x4181ca(0x13b)](_0x487a82),Promise[_0x4181ca(0xd6)](_0x2d08c0)[_0x4181ca(0x100)](_0x553c6e=>{const _0x77e826=_0x4181ca;try{const _0x528407=globals[_0x77e826(0x112)](_0x4674c4[_0x77e826(0xe8)]);if(!_0x528407||_0x528407[_0x77e826(0x126)])return;const _0x6509b1={};for(const _0x3269f8 of _0x553c6e){_0x4674c4[_0x77e826(0x127)](_0x3269f8[_0x77e826(0xfb)],_0x4674c4[_0x77e826(0xe7)])&&_0x3269f8[_0x77e826(0x104)]&&_0x3269f8['value']['ok']&&(_0x6509b1[_0x3269f8[_0x77e826(0x104)][_0x77e826(0x135)]]=_0x3269f8['value'][_0x77e826(0x133)]);}_0x528407[_0x77e826(0x120)]=_0x6509b1;}catch(_0xec5d03){logger[_0x77e826(0xfa)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xec5d03);}})[_0x4181ca(0x11b)](_0x5c6ca8=>{const _0x269fec=_0x4181ca;logger[_0x269fec(0xfa)](_0x269fec(0xd1)+_0x5c6ca8);});})['catch'](_0x17e491=>{const _0x212fc8=_0x569914;logger['debug'](_0x212fc8(0x12d)+_0x17e491),_0x215e63[_0x212fc8(0x118)](_0x487a82);});})[_0x4444ac(0x11b)](_0x3c1635=>{const _0x1bb3d3=_0x4444ac;logger['debug'](_0x1bb3d3(0xd4)+_0x3c1635),_0x52b990[_0x1bb3d3(0xf6)](_0x487a82);});});},exports[a181_0x55ccbf(0xee)]=async(_0x15d511,_0x3d7dd)=>{const _0x24074f=a181_0x55ccbf,_0x30e826={};_0x30e826[_0x24074f(0xdf)]=_0x24074f(0xdc),_0x30e826[_0x24074f(0xd3)]=_0x24074f(0xdd),_0x30e826[_0x24074f(0x137)]=function(_0x6b02e5,_0x37a1d3){return _0x6b02e5-_0x37a1d3;};const _0x4dcc52=_0x30e826;try{const _0x40a3a6=new Date();await helper['nodeRequest'](_0x4dcc52['GzxGr'],_0x4dcc52['CLECL'],{},_0x15d511,_0x3d7dd,0x1388);const _0x7a9dbf=_0x4dcc52[_0x24074f(0x137)](new Date(),_0x40a3a6);logger[_0x24074f(0xfa)](_0x24074f(0x102)+_0x3d7dd+_0x24074f(0xf8)+_0x7a9dbf+'ms');const _0x31d781={};return _0x31d781[_0x24074f(0x135)]=_0x3d7dd,_0x31d781[_0x24074f(0x133)]=_0x7a9dbf,_0x31d781;}catch(_0x3fdc1c){return logger[_0x24074f(0xfa)](_0x24074f(0xd8)+_0x3d7dd+_0x24074f(0x131)+_0x3fdc1c),{};}},exports[a181_0x55ccbf(0xf4)]=async _0x3018d0=>{const _0x59f9e6=a181_0x55ccbf,_0x35a718={'VPGjI':function(_0x348d5a,_0x36c528){return _0x348d5a(_0x36c528);},'fNEZO':_0x59f9e6(0xf0),'wgroA':_0x59f9e6(0x11d),'hQDeb':_0x59f9e6(0xdc),'ZjwNB':_0x59f9e6(0x10c)};try{const _0x53f652=_0x35a718[_0x59f9e6(0x108)](require,_0x35a718[_0x59f9e6(0xe6)])[_0x59f9e6(0x135)]['replace'](_0x35a718['wgroA'],''),_0x18066b=await helper[_0x59f9e6(0x128)](_0x35a718['hQDeb'],_0x35a718[_0x59f9e6(0x101)],{},_0x3018d0,_0x53f652,0x1388),_0xf99107=_0x18066b[_0x59f9e6(0xf1)];return logger['debug']('Response:\x20'+util[_0x59f9e6(0xe4)]('%j',_0xf99107)),_0xf99107[_0x59f9e6(0xf7)];}catch(_0x3ad86e){logger['debug'](_0x59f9e6(0x130)+_0x3ad86e);}return null;};
|
|
1
|
+
const a181_0x3358a9=a181_0x2b30;(function(_0x47b938,_0x5128d4){const _0x1efaba=a181_0x2b30,_0x3e1110=_0x47b938();while(!![]){try{const _0x11101b=-parseInt(_0x1efaba(0x10c))/0x1*(parseInt(_0x1efaba(0xeb))/0x2)+parseInt(_0x1efaba(0x11b))/0x3+parseInt(_0x1efaba(0x148))/0x4*(-parseInt(_0x1efaba(0x12f))/0x5)+parseInt(_0x1efaba(0xe2))/0x6+parseInt(_0x1efaba(0x122))/0x7+-parseInt(_0x1efaba(0x140))/0x8+parseInt(_0x1efaba(0xf4))/0x9;if(_0x11101b===_0x5128d4)break;else _0x3e1110['push'](_0x3e1110['shift']());}catch(_0x1e0003){_0x3e1110['push'](_0x3e1110['shift']());}}}(a181_0x3ee6,0x93f91));function a181_0x2b30(_0x340dff,_0x214531){const _0x3ee691=a181_0x3ee6();return a181_0x2b30=function(_0x2b301a,_0x1096c4){_0x2b301a=_0x2b301a-0xd8;let _0x5c091f=_0x3ee691[_0x2b301a];return _0x5c091f;},a181_0x2b30(_0x340dff,_0x214531);}function a181_0x3ee6(){const _0x1fee49=['lIvAW','FCsgD','_hubAllocationData','MvGUY','911692RFKGKX','MDxde','ZpUYD','mYNts','nSoui','MCckS','now','KjqEj','getRequestOptions','HUB_URL_MAP','/wd/hub','SJzLr','XxKAr','debug','354894YnuhDJ','WkalM','fulfilled','oAwcL','fsUFs','zQxFO','newHubUrlBySession','atrYM','setGlobal','2TsumwP','fCAsk','./helpers/logger','OozbM','path','winstonLogger','Execution\x20time\x20for\x20','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','./bin/utils/constants','9051093iANchw','hubLatencies','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','skipped','util','nextHubs','IvYas','GET','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','hash','wrLJc','parse','YDKCL','findLatency','then','https://','updateHubUrl','replace','hubUrl','tntrI','HUB\x20URL\x20SET\x20TO\x20-\x20','suVaa','qTnuA','NbESo','320893ChKnqU','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','jqLMV','cRjff','SELKs','ERROR\x20in\x20hub\x20selection:\x20','hubRegion','Invalid\x20new\x20HUB\x20URL:\x20','latency','SOYNa','nBsDx','hubRegion\x20','value','XYteE','iHeCF','2427033cUTzqW','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','next_hubs','gpmKB','cpcfQ','allSettled','hubs','3504130roRcEi','hostname','delete','zQGRH','yjUHm','has','all','gBLwk','YTTJG','OeSOu','\x20is:\x20','map','VWQiZ','10nFgXkP','koszo','lWMzL','wxOFW','MZnMn','catch','NSjdW','get','MuQYV','BqeQs','consumeHubUrlForSession','url','data','THMRL','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','pathname','nIYgq','7932728JriUiX','HuHTc','getGlobal','njLTw'];a181_0x3ee6=function(){return _0x1fee49;};return a181_0x3ee6();}const url=require(a181_0x3358a9(0x13a)),util=require(a181_0x3358a9(0xf8)),helper=require('./helpers/helper'),logger=require(a181_0x3358a9(0xed))[a181_0x3358a9(0xf0)],constants=require(a181_0x3358a9(0xf3)),globals=require('./helpers/globals');global[a181_0x3358a9(0xe8)]=global['newHubUrlBySession']||new Map(),exports[a181_0x3358a9(0xdc)]=_0x9c26e6=>{const _0x5aad25=a181_0x3358a9,_0x51707d={};_0x51707d[_0x5aad25(0xd8)]=function(_0x272cbf,_0x1adbc2){return _0x272cbf+_0x1adbc2;},_0x51707d[_0x5aad25(0x131)]=_0x5aad25(0x113);const _0x3081f8=_0x51707d,_0xcae563=url[_0x5aad25(0xff)](_0x9c26e6);if(!_0xcae563[_0x5aad25(0x123)])throw new Error(_0x3081f8[_0x5aad25(0xd8)](_0x3081f8[_0x5aad25(0x131)],_0x9c26e6));return _0xcae563['search']=null,_0xcae563[_0x5aad25(0xfd)]=null,_0xcae563[_0x5aad25(0xef)]=_0xcae563[_0x5aad25(0x13e)],_0xcae563;},exports[a181_0x3358a9(0x104)]=(_0x670d20,_0x1a2970)=>{const _0x7522e1=a181_0x3358a9,_0x5cc966={};_0x5cc966['lIvAW']=_0x7522e1(0xfc);const _0x402708=_0x5cc966;if(!_0x1a2970){logger['debug'](_0x402708[_0x7522e1(0x144)]);return;}global[_0x7522e1(0xe8)]['set'](_0x1a2970,_0x670d20);},exports[a181_0x3358a9(0x139)]=_0x16503f=>{const _0x3793e5=a181_0x3358a9;if(_0x16503f&&global[_0x3793e5(0xe8)][_0x3793e5(0x127)](_0x16503f)){const _0x573ab1=global[_0x3793e5(0xe8)][_0x3793e5(0x136)](_0x16503f);return global[_0x3793e5(0xe8)][_0x3793e5(0x124)](_0x16503f),_0x573ab1;}return'';},exports['allocateHub']=_0x17ac82=>{const _0x1b791c=a181_0x3358a9,_0x5a4b38={'njLTw':function(_0x3fd559){return _0x3fd559();},'EbDjS':function(_0x43b931,_0x30d6f1){return _0x43b931!==_0x30d6f1;},'XYteE':function(_0x448f45,_0x77e1bf){return _0x448f45+_0x77e1bf;},'KjqEj':_0x1b791c(0x103),'MuQYV':_0x1b791c(0x146),'VWQiZ':function(_0x30226c,_0x1fa5e3){return _0x30226c===_0x1fa5e3;},'ysGYe':_0x1b791c(0xe4),'MCckS':_0x1b791c(0x10d),'yjUHm':_0x1b791c(0xde),'fCAsk':function(_0x12d75f){return _0x12d75f();},'OeSOu':function(_0x3f35a0,_0x215092){return _0x3f35a0+_0x215092;},'SOYNa':function(_0x36e7be,_0x1ccf1f){return _0x36e7be==_0x1ccf1f;},'wxOFW':function(_0x195f28,_0x559633){return _0x195f28===_0x559633;},'nBsDx':function(_0x2d29d9){return _0x2d29d9();},'zQxFO':function(_0x4f2088){return _0x4f2088();},'gBLwk':function(_0x1fb26c){return _0x1fb26c();}};return new Promise(_0x360376=>{const _0x5cafd2=_0x1b791c,_0x4923d5={'HuHTc':function(_0x593c49){const _0x40bbb2=a181_0x2b30;return _0x5a4b38[_0x40bbb2(0x143)](_0x593c49);},'LzPbi':function(_0x3a23a6,_0x34c447){return _0x5a4b38['EbDjS'](_0x3a23a6,_0x34c447);},'MDxde':function(_0x1b012c,_0x1612af){return _0x5a4b38['XYteE'](_0x1b012c,_0x1612af);},'ZpUYD':_0x5a4b38[_0x5cafd2(0xdb)],'koszo':_0x5a4b38[_0x5cafd2(0x137)],'YTTJG':function(_0x5b7331,_0x349a3d){const _0x75a79f=_0x5cafd2;return _0x5a4b38[_0x75a79f(0x12e)](_0x5b7331,_0x349a3d);},'cRjff':_0x5a4b38['ysGYe'],'NbESo':_0x5a4b38[_0x5cafd2(0xd9)],'IvYas':function(_0x4d6776,_0x22c034){const _0x333749=_0x5cafd2;return _0x5a4b38[_0x333749(0x119)](_0x4d6776,_0x22c034);},'jqLMV':_0x5a4b38[_0x5cafd2(0x126)],'nUiwr':function(_0x3ec11c){const _0x14fe73=_0x5cafd2;return _0x5a4b38[_0x14fe73(0xec)](_0x3ec11c);},'tntrI':function(_0x33e5a8,_0x126d48){const _0x4d20d7=_0x5cafd2;return _0x5a4b38[_0x4d20d7(0x12b)](_0x33e5a8,_0x126d48);},'fsUFs':function(_0x4b748b){const _0x5bfd2f=_0x5cafd2;return _0x5a4b38[_0x5bfd2f(0x143)](_0x4b748b);},'wrLJc':function(_0x1e0755,_0x3b5a96){const _0x518316=_0x5cafd2;return _0x5a4b38[_0x518316(0x115)](_0x1e0755,_0x3b5a96);},'atrYM':function(_0x140938,_0x3c93b3){const _0xd2fbcd=_0x5cafd2;return _0x5a4b38[_0xd2fbcd(0x132)](_0x140938,_0x3c93b3);},'NSjdW':function(_0x4d7b89){const _0x52ca79=_0x5cafd2;return _0x5a4b38[_0x52ca79(0x116)](_0x4d7b89);},'OozbM':function(_0x4ee475){const _0x52cd68=_0x5cafd2;return _0x5a4b38[_0x52cd68(0xe7)](_0x4ee475);}};if(_0x17ac82&&_0x17ac82['hubRegion']){const _0xcaf292=constants[_0x5cafd2(0xdd)][_0x17ac82[_0x5cafd2(0x112)]];if(_0xcaf292)return constants[_0x5cafd2(0x106)]=_0xcaf292,logger['debug']('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0xcaf292),globals[_0x5cafd2(0xea)](_0x5a4b38['MuQYV'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0xcaf292[_0x5cafd2(0x105)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x5cafd2(0xda)]()}),_0x5a4b38[_0x5cafd2(0x129)](_0x360376);logger['debug'](_0x5cafd2(0x117)+_0x17ac82['hubRegion']+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise['resolve'](this[_0x5cafd2(0xf9)](_0x17ac82))[_0x5cafd2(0x102)](_0x19e6e9=>{const _0x4e6824=_0x5cafd2,_0x557e65={'fDcsT':function(_0x1cbb72,_0x12bd2f){return _0x4923d5['LzPbi'](_0x1cbb72,_0x12bd2f);},'tkutT':function(_0x2cfd0a,_0x3a41b6){const _0x2c346e=a181_0x2b30;return _0x4923d5[_0x2c346e(0x149)](_0x2cfd0a,_0x3a41b6);},'FCsgD':_0x4923d5[_0x4e6824(0x14a)],'YDKCL':_0x4923d5[_0x4e6824(0x130)],'qTnuA':function(_0x290314,_0x4ec620){const _0x6db62a=_0x4e6824;return _0x4923d5[_0x6db62a(0x12a)](_0x290314,_0x4ec620);},'cpcfQ':_0x4923d5[_0x4e6824(0x10f)],'THMRL':_0x4923d5[_0x4e6824(0x10b)],'MZnMn':function(_0x252c12,_0x2819d8){const _0x4eb0b2=_0x4e6824;return _0x4923d5[_0x4eb0b2(0xfa)](_0x252c12,_0x2819d8);},'mYNts':_0x4923d5[_0x4e6824(0x10e)],'uhduj':function(_0x1b0081){return _0x4923d5['nUiwr'](_0x1b0081);},'suVaa':function(_0x3293e5,_0x874eb4){const _0x52ec3e=_0x4e6824;return _0x4923d5[_0x52ec3e(0x107)](_0x3293e5,_0x874eb4);},'nIYgq':function(_0x599526){const _0x15c04b=_0x4e6824;return _0x4923d5[_0x15c04b(0xe6)](_0x599526);}};logger[_0x4e6824(0xe1)]('NEAREST\x20HUBS\x20LIST:\x20'+util['format']('%j',_0x19e6e9));if(_0x4923d5[_0x4e6824(0xfe)](_0x19e6e9,null)||_0x4923d5[_0x4e6824(0xe9)](_0x19e6e9['length'],0x0))return _0x4923d5[_0x4e6824(0x135)](_0x360376);const _0x148cb4=_0x19e6e9['map'](_0xfba24e=>{const _0x99bd87=_0x4e6824,_0x40475f=_0x557e65['tkutT'](_0x557e65[_0x99bd87(0x145)],_0xfba24e);return this[_0x99bd87(0x101)](_0x17ac82,_0x40475f)['then'](_0x3017ec=>{const _0x58aefa=_0x99bd87;if(_0x3017ec&&_0x3017ec[_0x58aefa(0x106)]&&_0x557e65['fDcsT'](_0x3017ec[_0x58aefa(0x114)],undefined)){const _0x1e73e0={};return _0x1e73e0[_0x58aefa(0x106)]=_0x3017ec[_0x58aefa(0x106)],_0x1e73e0[_0x58aefa(0x114)]=_0x3017ec['latency'],_0x1e73e0['ok']=!![],_0x1e73e0;}const _0xd8e79a={};return _0xd8e79a[_0x58aefa(0x106)]=_0x40475f,_0xd8e79a[_0x58aefa(0x114)]=null,_0xd8e79a['ok']=![],_0xd8e79a;})[_0x99bd87(0x134)](()=>({'hubUrl':_0x40475f,'latency':null,'ok':![]}));});Promise['race'](_0x148cb4[_0x4e6824(0x12d)](_0x743b39=>_0x743b39[_0x4e6824(0x102)](_0x56d14d=>_0x56d14d['ok']?_0x56d14d:null)))['then'](_0x772cd9=>{const _0x25cb2d=_0x4e6824;if(_0x772cd9)return _0x772cd9;return Promise[_0x25cb2d(0x128)](_0x148cb4)['then'](()=>null);})['then'](_0x12f05a=>{const _0x13c1fb=_0x4e6824,_0x4b04c0={'MvGUY':_0x557e65[_0x13c1fb(0x100)],'SJzLr':function(_0x491b9f,_0x48b581){const _0x41ba40=_0x13c1fb;return _0x557e65[_0x41ba40(0x10a)](_0x491b9f,_0x48b581);},'WkalM':_0x557e65[_0x13c1fb(0x11f)]};if(!_0x12f05a){logger[_0x13c1fb(0xe1)](_0x557e65[_0x13c1fb(0x13c)]);const _0x59a3d1=_0x557e65[_0x13c1fb(0x133)](_0x557e65['FCsgD'],_0x19e6e9[0x0]);return globals[_0x13c1fb(0xea)](_0x557e65[_0x13c1fb(0x100)],{'nearestHubs':_0x19e6e9['map'](_0x1d6ca2=>_0x13c1fb(0x103)+_0x1d6ca2),'hubLatencies':{},'selectedHub':_0x59a3d1,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x13c1fb(0xda)]()}),constants['hubUrl']=_0x557e65['MZnMn'](_0x59a3d1,_0x557e65[_0x13c1fb(0x14b)]),logger[_0x13c1fb(0xe1)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x59a3d1),_0x557e65['uhduj'](_0x360376);}const _0x4bf40b={[_0x12f05a[_0x13c1fb(0x106)]]:_0x12f05a[_0x13c1fb(0x114)]},_0x3a37c5={'nearestHubs':_0x19e6e9[_0x13c1fb(0x12d)](_0x2277c3=>_0x13c1fb(0x103)+_0x2277c3),'hubLatencies':_0x4bf40b,'selectedHub':_0x12f05a[_0x13c1fb(0x106)],'selectedHubLatency':_0x12f05a['latency'],'timestamp':Date[_0x13c1fb(0xda)]()};globals[_0x13c1fb(0xea)](_0x557e65[_0x13c1fb(0x100)],_0x3a37c5),constants[_0x13c1fb(0x106)]=_0x557e65[_0x13c1fb(0x109)](_0x12f05a[_0x13c1fb(0x106)],_0x557e65[_0x13c1fb(0x14b)]),logger[_0x13c1fb(0xe1)](_0x13c1fb(0x108)+_0x12f05a[_0x13c1fb(0x106)]),_0x557e65[_0x13c1fb(0x13f)](_0x360376),Promise[_0x13c1fb(0x120)](_0x148cb4)[_0x13c1fb(0x102)](_0x1b697f=>{const _0x387f7a=_0x13c1fb;try{const _0x5bb25b=globals[_0x387f7a(0x142)](_0x4b04c0[_0x387f7a(0x147)]);if(!_0x5bb25b||_0x5bb25b[_0x387f7a(0xf7)])return;const _0x1c85a8={};for(const _0x3d809e of _0x1b697f){_0x4b04c0[_0x387f7a(0xdf)](_0x3d809e['status'],_0x4b04c0[_0x387f7a(0xe3)])&&_0x3d809e[_0x387f7a(0x118)]&&_0x3d809e[_0x387f7a(0x118)]['ok']&&(_0x1c85a8[_0x3d809e[_0x387f7a(0x118)][_0x387f7a(0x106)]]=_0x3d809e[_0x387f7a(0x118)][_0x387f7a(0x114)]);}_0x5bb25b[_0x387f7a(0xf5)]=_0x1c85a8;}catch(_0x5a90f9){logger[_0x387f7a(0xe1)](_0x387f7a(0xf2)+_0x5a90f9);}})['catch'](_0x342353=>{const _0x4aa867=_0x13c1fb;logger[_0x4aa867(0xe1)](_0x4aa867(0xf6)+_0x342353);});})[_0x4e6824(0x134)](_0x3eabe4=>{const _0x2e84a9=_0x4e6824;logger['debug'](_0x2e84a9(0x111)+_0x3eabe4),_0x4923d5[_0x2e84a9(0x141)](_0x360376);});})[_0x5cafd2(0x134)](_0xec4625=>{const _0x2c0a57=_0x5cafd2;logger[_0x2c0a57(0xe1)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0xec4625),_0x4923d5[_0x2c0a57(0xee)](_0x360376);});});},exports[a181_0x3358a9(0x101)]=async(_0x5931b4,_0x3a1b8c)=>{const _0x2b2b38=a181_0x3358a9,_0x2d6f49={};_0x2d6f49[_0x2b2b38(0x11e)]=_0x2b2b38(0xfb),_0x2d6f49[_0x2b2b38(0x125)]='check',_0x2d6f49[_0x2b2b38(0xe5)]=function(_0x2238f3,_0x398794){return _0x2238f3-_0x398794;};const _0x16cf4f=_0x2d6f49;try{const _0x16b0fa=new Date();await helper['nodeRequest'](_0x16cf4f[_0x2b2b38(0x11e)],_0x16cf4f['zQGRH'],{},_0x5931b4,_0x3a1b8c,0x1388);const _0x4e2b75=_0x16cf4f[_0x2b2b38(0xe5)](new Date(),_0x16b0fa);logger[_0x2b2b38(0xe1)](_0x2b2b38(0xf1)+_0x3a1b8c+_0x2b2b38(0x12c)+_0x4e2b75+'ms');const _0x5bf337={};return _0x5bf337[_0x2b2b38(0x106)]=_0x3a1b8c,_0x5bf337[_0x2b2b38(0x114)]=_0x4e2b75,_0x5bf337;}catch(_0x15671e){return logger[_0x2b2b38(0xe1)](_0x2b2b38(0x11c)+_0x3a1b8c+'\x20HUB\x20-\x20'+_0x15671e),{};}},exports[a181_0x3358a9(0xf9)]=async _0x35e370=>{const _0x4c4812=a181_0x3358a9,_0x3b7ac3={'SELKs':function(_0x24f4fe,_0x26c398){return _0x24f4fe(_0x26c398);},'XxKAr':_0x4c4812(0xf3),'iHeCF':_0x4c4812(0xde),'XRySE':_0x4c4812(0xfb),'BqeQs':_0x4c4812(0x11d)};try{const _0x2c7d95=_0x3b7ac3[_0x4c4812(0x110)](require,_0x3b7ac3[_0x4c4812(0xe0)])[_0x4c4812(0x106)][_0x4c4812(0x105)](_0x3b7ac3[_0x4c4812(0x11a)],''),_0x2934ad=await helper['nodeRequest'](_0x3b7ac3['XRySE'],_0x3b7ac3[_0x4c4812(0x138)],{},_0x35e370,_0x2c7d95,0x1388),_0x2a0e1d=_0x2934ad[_0x4c4812(0x13b)];return logger[_0x4c4812(0xe1)]('Response:\x20'+util['format']('%j',_0x2a0e1d)),_0x2a0e1d[_0x4c4812(0x121)];}catch(_0x1e749b){logger[_0x4c4812(0xe1)](_0x4c4812(0x13d)+_0x1e749b);}return null;};
|