browserstack-node-sdk 1.63.3 → 1.63.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x5bb302=a172_0x3dc6;(function(_0x4c324f,_0x327ea8){const _0x3d0b30=a172_0x3dc6,_0xf9f555=_0x4c324f();while(!![]){try{const _0x2db5e5=parseInt(_0x3d0b30(0x19e))/0x1*(-parseInt(_0x3d0b30(0x1e8))/0x2)+parseInt(_0x3d0b30(0x18d))/0x3+-parseInt(_0x3d0b30(0x1d6))/0x4+parseInt(_0x3d0b30(0x1d8))/0x5*(parseInt(_0x3d0b30(0x1a4))/0x6)+parseInt(_0x3d0b30(0x15b))/0x7+parseInt(_0x3d0b30(0x164))/0x8+-parseInt(_0x3d0b30(0x21d))/0x9;if(_0x2db5e5===_0x327ea8)break;else _0xf9f555['push'](_0xf9f555['shift']());}catch(_0x4641c3){_0xf9f555['push'](_0xf9f555['shift']());}}}(a172_0x41a2,0xa3e2c));const bsSetupHelper=require(a172_0x5bb302(0x215)),LoadTestModule=require(a172_0x5bb302(0x1b5)),{isTestObservabilitySession,getFrameworkVersion}=require(a172_0x5bb302(0x1bf)),accessibilityHelper=require(a172_0x5bb302(0x1af)),logger=require(a172_0x5bb302(0x1a7))[a172_0x5bb302(0x1d3)],{nestedKeyValue}=require('../helper.js'),scripts=require(a172_0x5bb302(0x1f5)),globals=require(a172_0x5bb302(0x20b)),testHubConstants=require(a172_0x5bb302(0x1bd)),PWTestDetails=require(a172_0x5bb302(0x185)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x5bb302(0x150)),{isTurboScaleSession}=require(a172_0x5bb302(0x1de)),OrchestrationUtils=require(a172_0x5bb302(0x182)),constants=require('../../bin/utils/constants.js');let testData={};exports[a172_0x5bb302(0x1ae)]=_0x3257df=>{const _0x35bdc6=a172_0x5bb302,_0x5a8366={'mrQmv':function(_0x4e859b){return _0x4e859b();},'itdlP':function(_0x288fff,_0x109bb1){return _0x288fff===_0x109bb1;},'GFset':_0x35bdc6(0x16b)};let _0x40908c=![],_0x25e0fc=![];if(bsSetupHelper[_0x35bdc6(0x1f7)]()&&bsSetupHelper[_0x35bdc6(0x16a)](_0x3257df))_0x25e0fc=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x40908c=!![]);return Object[_0x35bdc6(0x19b)]({'observability':_0x5a8366[_0x35bdc6(0x17c)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x3257df),'percy':_0x3257df[_0x35bdc6(0x186)]||![],'sr_automation':_0x5a8366['itdlP'](process[_0x35bdc6(0x1e6)]['BROWSERSTACK_SR_AUTOMATION'],_0x5a8366[_0x35bdc6(0x1f2)])||_0x3257df[_0x35bdc6(0x17b)]||![],'automate':_0x40908c,'app_automate':_0x25e0fc,'turboscale':bsSetupHelper[_0x35bdc6(0x15a)](_0x3257df),'lts':LoadTestModule[_0x35bdc6(0x156)](_0x3257df)},bsSetupHelper[_0x35bdc6(0x170)]());},exports['getFrameworkDetails']=(_0x3d9730,_0x5525c2)=>{const _0x4b0bdf=a172_0x5bb302,_0x3fa842={'DxLvA':function(_0x474128,_0x4e12dc){return _0x474128(_0x4e12dc);},'RFMnb':_0x4b0bdf(0x160)},_0x38fe73={'frameworkName':_0x5525c2,'frameworkVersion':_0x3fa842['DxLvA'](getFrameworkVersion,_0x5525c2),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x3fa842[_0x4b0bdf(0x196)],'testFramework':bsSetupHelper[_0x4b0bdf(0x1d2)](_0x3d9730,_0x5525c2)};return process['env'][_0x4b0bdf(0x181)]=JSON[_0x4b0bdf(0x1f9)](_0x38fe73),_0x38fe73;},exports[a172_0x5bb302(0x171)]=_0x107f76=>{const _0x25856b=a172_0x5bb302,_0x1e31da={};_0x1e31da[_0x25856b(0x225)]=_0x25856b(0x1c6),_0x1e31da[_0x25856b(0x18a)]=_0x25856b(0x16b);const _0x240a5d=_0x1e31da;process[_0x25856b(0x1e6)][_0x25856b(0x229)]=_0x240a5d[_0x25856b(0x225)],bsSetupHelper[_0x25856b(0x1a3)](_0x107f76['config'][_0x25856b(0x186)])&&(!_0x107f76[_0x25856b(0x186)]||!_0x107f76[_0x25856b(0x186)][_0x25856b(0x1ed)]())&&(process[_0x25856b(0x1e6)][_0x25856b(0x229)]=_0x240a5d[_0x25856b(0x18a)]);},exports[a172_0x5bb302(0x178)]=()=>{const _0x9b4d33=a172_0x5bb302;return bsSetupHelper['isTrue'](process[_0x9b4d33(0x1e6)][_0x9b4d33(0x229)]);},exports[a172_0x5bb302(0x207)]=(_0x288e56={})=>{const _0x1bfed9=a172_0x5bb302,_0x20e40e={};_0x20e40e['VkkiY']=function(_0x25f009,_0x2829c9){return _0x25f009!==_0x2829c9;},_0x20e40e[_0x1bfed9(0x15c)]=function(_0x1945ba,_0xda96ea){return _0x1945ba===_0xda96ea;},_0x20e40e[_0x1bfed9(0x17e)]=_0x1bfed9(0x16b),_0x20e40e[_0x1bfed9(0x1eb)]=function(_0x48e371,_0x311395){return _0x48e371>_0x311395;},_0x20e40e[_0x1bfed9(0x183)]=function(_0x1d60b0,_0x370088){return _0x1d60b0===_0x370088;};const _0x548a4c=_0x20e40e;if(_0x548a4c[_0x1bfed9(0x15e)](process[_0x1bfed9(0x1e6)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x1bfed9(0x1a3)](process[_0x1bfed9(0x1e6)]['BROWSERSTACK_ACCESSIBILITY']);let _0x4de336=_0x548a4c[_0x1bfed9(0x15c)](process[_0x1bfed9(0x1e6)][_0x1bfed9(0x19d)],_0x548a4c[_0x1bfed9(0x17e)]);return _0x548a4c[_0x1bfed9(0x1eb)](Object[_0x1bfed9(0x1b1)](_0x288e56)[_0x1bfed9(0x222)],0x0)&&(process[_0x1bfed9(0x1e6)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x1bfed9(0x180)](_0x288e56)),_0x4de336=_0x4de336||_0x548a4c['KVYxQ'](process[_0x1bfed9(0x1e6)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x548a4c[_0x1bfed9(0x17e)]),_0x4de336;},exports[a172_0x5bb302(0x1b8)]=(_0x4e7c00,_0xb8a052)=>{const _0x3d7ed6=a172_0x5bb302,_0x439fd8={'rAjiB':function(_0x196df0){return _0x196df0();},'ILCBc':_0x3d7ed6(0x203),'mnZCn':function(_0x27a0fa,_0x528686,_0xd0e150){return _0x27a0fa(_0x528686,_0xd0e150);},'VZFsx':_0x3d7ed6(0x192),'WkOgb':'options','VvaAT':_0x3d7ed6(0x16b)};if(!_0x4e7c00||!_0x4e7c00['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x4e7c00['observability'][_0x3d7ed6(0x1c0)])return exports[_0x3d7ed6(0x1b7)](_0x4e7c00[_0x3d7ed6(0x192)]),[null,null,null];if(_0x439fd8[_0x3d7ed6(0x17a)](isTestObservabilitySession)){const _0x28a777=_0x439fd8['ILCBc']['split']('|');let _0x3cc196=0x0;while(!![]){switch(_0x28a777[_0x3cc196++]){case'0':_0x4e7c00[_0x3d7ed6(0x205)]&&(process['env'][_0x3d7ed6(0x1a1)]=_0x4e7c00['build_hashed_id']);continue;case'1':_0x439fd8['mnZCn'](nestedKeyValue,_0x4e7c00,[_0x439fd8[_0x3d7ed6(0x19c)],_0x439fd8[_0x3d7ed6(0x20d)]])&&(process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x4e7c00[_0x3d7ed6(0x192)][_0x3d7ed6(0x19a)][_0x3d7ed6(0x173)]['toString']());continue;case'2':if(_0x4e7c00[_0x3d7ed6(0x177)]){process[_0x3d7ed6(0x1e6)][_0x3d7ed6(0x1d7)]=_0x4e7c00[_0x3d7ed6(0x177)];const _0x11e2cc={};_0x11e2cc[_0x3d7ed6(0x162)]=_0xb8a052[_0x3d7ed6(0x162)],_0x11e2cc[_0x3d7ed6(0x14b)]=_0xb8a052[_0x3d7ed6(0x14b)],process[_0x3d7ed6(0x1e6)][_0x3d7ed6(0x163)]=JSON['stringify'](_0x11e2cc);}continue;case'3':process[_0x3d7ed6(0x1e6)][_0x3d7ed6(0x14c)]=_0x439fd8[_0x3d7ed6(0x1c2)];continue;case'4':logger[_0x3d7ed6(0x1bb)]('['+constants[_0x3d7ed6(0x198)]+_0x3d7ed6(0x22a)+_0x4e7c00['build_hashed_id']);continue;case'5':return[_0x4e7c00[_0x3d7ed6(0x177)],_0x4e7c00[_0x3d7ed6(0x205)],process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']];}break;}}return[null,null,null];},exports[a172_0x5bb302(0x17f)]=_0x443534=>{const _0x545294=a172_0x5bb302,_0xcc2a0f={'VrtiQ':function(_0x240126,_0x43b86d,_0x2d3fd4){return _0x240126(_0x43b86d,_0x2d3fd4);},'IXFDH':_0x545294(0x18f),'gylxS':_0x545294(0x19a),'Svaos':function(_0x5d3264,_0x3a70a2,_0x1b109d,_0x30ca5f){return _0x5d3264(_0x3a70a2,_0x1b109d,_0x30ca5f);},'tgAjT':_0x545294(0x1d9),'QwEau':_0x545294(0x224),'PugKN':_0x545294(0x168),'ldYTv':_0x545294(0x219),'CTCKE':function(_0x11938f,_0x46ef0d,_0x45acfe,_0x4e6ab1){return _0x11938f(_0x46ef0d,_0x45acfe,_0x4e6ab1);},'yjRhp':_0x545294(0x212),'Olerl':'goog:chromeOptions','btrEk':function(_0x58e158,_0x570332){return _0x58e158(_0x570332);},'DguJH':function(_0x5f45a2,_0x1a7ff3){return _0x5f45a2===_0x1a7ff3;},'aAUQd':function(_0x6ed483,_0x1e865e){return _0x6ed483===_0x1e865e;},'gXoWt':_0x545294(0x16b),'qSKom':_0x545294(0x208)};if(!_0x443534[_0x545294(0x18f)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x443534[_0x545294(0x18f)][_0x545294(0x1c0)])return exports['handleErrorForAccessibility'](_0x443534[_0x545294(0x18f)]),[null,null];if(_0xcc2a0f[_0x545294(0x167)](nestedKeyValue,_0x443534,[_0xcc2a0f[_0x545294(0x1ca)],_0xcc2a0f[_0x545294(0x20a)]])){const {accessibilityToken:_0x177520,scannerVersion:_0x28d475,scannerProcessingTimeout:_0x2adf0f,isMobileScanningEnabledForGroup:_0x1e795e}=_0xcc2a0f[_0x545294(0x1cf)](jsonifyAccessibilityArray,_0x443534[_0x545294(0x18f)][_0x545294(0x19a)][_0x545294(0x161)],_0xcc2a0f[_0x545294(0x169)],_0xcc2a0f[_0x545294(0x1ea)]),_0x364059={'scripts':_0xcc2a0f['Svaos'](jsonifyAccessibilityArray,_0x443534[_0x545294(0x18f)][_0x545294(0x19a)]['scripts'],_0xcc2a0f['tgAjT'],_0xcc2a0f[_0x545294(0x14e)])};_0x364059[_0xcc2a0f[_0x545294(0x1b2)]]=_0x443534['accessibility'][_0x545294(0x19a)][_0x545294(0x16d)]['commands'];const _0x3850e=_0xcc2a0f[_0x545294(0x151)](jsonifyAccessibilityArray,_0x443534[_0x545294(0x18f)][_0x545294(0x19a)][_0x545294(0x161)],_0xcc2a0f['tgAjT'],_0xcc2a0f[_0x545294(0x1ea)]);_0x364059[_0xcc2a0f[_0x545294(0x179)]]=_0x3850e[_0xcc2a0f[_0x545294(0x209)]],scripts['parseFromJson'](_0x364059),scripts[_0x545294(0x1e4)]();let _0x2762f7=process[_0x545294(0x1e6)][_0x545294(0x190)];_0x2762f7=!!_0x2762f7?JSON[_0x545294(0x1c9)](_0x2762f7):{},_0x2762f7['scannerVersion']=_0x28d475,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x2762f7),process[_0x545294(0x1e6)][_0x545294(0x1d5)]=_0x177520,process['env'][_0x545294(0x1a2)]=_0xcc2a0f[_0x545294(0x1a8)](String,_0xcc2a0f[_0x545294(0x1c5)](_0x1e795e,!![])||_0xcc2a0f[_0x545294(0x1f1)](_0x1e795e,_0xcc2a0f[_0x545294(0x1bc)])),logger[_0x545294(0x1bb)](_0x545294(0x18c)+_0x443534[_0x545294(0x205)]);const _0x3838dc=accessibilityHelper[_0x545294(0x1b6)](_0x177520);return _0x3838dc&&bsSetupHelper[_0x545294(0x1a3)](_0x3838dc['skipCDPConnectOverride'])&&(process[_0x545294(0x1e6)][_0x545294(0x1f8)]=!![],logger['debug'](_0xcc2a0f[_0x545294(0x1b9)])),[_0x177520,_0x443534['build_hashed_id'],_0x2adf0f];}return[null,null];},exports['handleErrorForObservability']=_0x333fc0=>{const _0x5b0344=a172_0x5bb302,_0x291128={};_0x291128[_0x5b0344(0x1f4)]=_0x5b0344(0x226),_0x291128['uLgRf']=_0x5b0344(0x14f),_0x291128[_0x5b0344(0x14d)]=_0x5b0344(0x1c6);const _0x5dbb0b=_0x291128,_0x268a12=_0x5dbb0b[_0x5b0344(0x1f4)]['split']('|');let _0x77f816=0x0;while(!![]){switch(_0x268a12[_0x77f816++]){case'0':process[_0x5b0344(0x1e6)][_0x5b0344(0x1d7)]=_0x5dbb0b[_0x5b0344(0x1a6)];continue;case'1':process[_0x5b0344(0x1e6)][_0x5b0344(0x16e)]=_0x5dbb0b[_0x5b0344(0x1a6)];continue;case'2':process[_0x5b0344(0x1e6)][_0x5b0344(0x14c)]=_0x5dbb0b[_0x5b0344(0x14d)];continue;case'3':exports[_0x5b0344(0x194)](_0x333fc0,testHubConstants['OBSERVABILITY']);continue;case'4':process['env'][_0x5b0344(0x1b0)]=_0x5dbb0b['uLgRf'];continue;case'5':process[_0x5b0344(0x1e6)][_0x5b0344(0x184)]=_0x5dbb0b[_0x5b0344(0x1a6)];continue;case'6':process[_0x5b0344(0x1e6)][_0x5b0344(0x1a1)]=_0x5dbb0b['uLgRf'];continue;}break;}},exports[a172_0x5bb302(0x200)]=_0x3d8aab=>{const _0x491758=a172_0x5bb302,_0xec580={};_0xec580[_0x491758(0x1e5)]=_0x491758(0x1ac),_0xec580[_0x491758(0x1a5)]=_0x491758(0x1c6),_0xec580[_0x491758(0x218)]='null';const _0x3de592=_0xec580,_0x2b9d32=_0x3de592[_0x491758(0x1e5)]['split']('|');let _0x4329a7=0x0;while(!![]){switch(_0x2b9d32[_0x4329a7++]){case'0':exports[_0x491758(0x194)](_0x3d8aab,testHubConstants['ACCESSIBILITY']);continue;case'1':process[_0x491758(0x1e6)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3de592[_0x491758(0x1a5)];continue;case'2':process[_0x491758(0x1e6)]['BROWSERSTACK_TESTHUB_JWT']=_0x3de592['muNqa'];continue;case'3':process[_0x491758(0x1e6)][_0x491758(0x19d)]=_0x3de592[_0x491758(0x1a5)];continue;case'4':process[_0x491758(0x1e6)][_0x491758(0x1b0)]=_0x3de592['muNqa'];continue;}break;}},exports['logBuildError']=(_0x2993c5,_0x480e99='')=>{const _0x490545=a172_0x5bb302,_0x5445c4={};_0x5445c4['OTcNw']=function(_0x1621bd,_0xd5d7ac){return _0x1621bd===_0xd5d7ac;};const _0x22e007=_0x5445c4;if(_0x22e007[_0x490545(0x1e3)](_0x2993c5,undefined)){logger['error'](_0x480e99[_0x490545(0x1f3)]()+_0x490545(0x1ba));return;}for(const _0x40cb61 of _0x2993c5['errors']){const _0x5700ce=_0x40cb61[_0x490545(0x17d)],_0x1b22c8=_0x40cb61[_0x490545(0x1da)];if(_0x1b22c8)switch(_0x5700ce){case testHubConstants['ERROR']['INVALID_CREDENTIALS']:logger[_0x490545(0x1e7)](_0x1b22c8);break;case testHubConstants[_0x490545(0x204)]['ACCESS_DENIED']:logger['info'](_0x1b22c8);break;case testHubConstants[_0x490545(0x204)][_0x490545(0x21a)]:logger[_0x490545(0x1e7)](_0x1b22c8);break;default:logger[_0x490545(0x1e7)](_0x1b22c8);}}};const jsonifyAccessibilityArray=(_0x14952a,_0x24a5ea,_0x29f2f8)=>{const _0x519422={};return _0x14952a['forEach'](_0x75c8e4=>{_0x519422[_0x75c8e4[_0x24a5ea]]=_0x75c8e4[_0x29f2f8];}),_0x519422;};exports[a172_0x5bb302(0x153)]=_0x1c6e72=>{const _0x257965=a172_0x5bb302;_0x1c6e72[_0x257965(0x177)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x1c6e72[_0x257965(0x177)]);_0x1c6e72['build_hashed_id']&&(process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x1c6e72['build_hashed_id'],logger[_0x257965(0x1bb)](_0x257965(0x216)+_0x1c6e72[_0x257965(0x205)]));;},exports[a172_0x5bb302(0x15d)]=(_0xc6f2aa='',_0x3cc184='')=>{const _0xe21879=a172_0x5bb302,_0x45e7e9={'bSKdk':function(_0x5a62cb){return _0x5a62cb();},'Ztjol':function(_0x41a1cf,_0xdbd796){return _0x41a1cf===_0xdbd796;},'vsKiW':_0xe21879(0x1b3),'avaLi':'LogCreated','ZaeKl':_0xe21879(0x193),'LDiks':function(_0x31e252){return _0x31e252();},'ZiYbi':_0xe21879(0x1fd),'RmsSg':_0xe21879(0x1fe),'aIQTQ':function(_0x4582b7){return _0x4582b7();}};if(exports['isPercyBuild']()&&!exports[_0xe21879(0x207)]()&&!_0x45e7e9[_0xe21879(0x1e1)](isTestObservabilitySession)){if(_0x45e7e9[_0xe21879(0x1cb)](_0x3cc184,_0x45e7e9[_0xe21879(0x202)]))return![];if([_0x45e7e9['avaLi'],_0x45e7e9[_0xe21879(0x1ab)]][_0xe21879(0x1a0)](_0xc6f2aa))return![];return!![];}if(exports[_0xe21879(0x207)]()&&!_0x45e7e9['LDiks'](isTestObservabilitySession)){if([_0x45e7e9[_0xe21879(0x165)],_0x45e7e9[_0xe21879(0x21f)],_0x45e7e9[_0xe21879(0x15f)]]['includes'](_0xc6f2aa))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x45e7e9[_0xe21879(0x154)](isTestObservabilitySession)||exports[_0xe21879(0x178)]();},exports['appendTesthubParams']=(_0x15ba7a,_0x125fba,_0x4ee3a1='',_0x476085)=>{const _0x3fd490=a172_0x5bb302,_0x583c05={'LiQbO':_0x3fd490(0x1fd),'KhXdw':_0x3fd490(0x1fe),'kdRrU':function(_0x1823f1,_0x4869a8){return _0x1823f1===_0x4869a8;},'xfqYB':_0x3fd490(0x227),'yjKrp':'isAccessibilityPlatform','BwtCn':_0x3fd490(0x18f),'jjRSe':function(_0x26bf93,_0x51516c){return _0x26bf93&&_0x51516c;},'kTnHL':function(_0xc3cfc3,_0x18a1d6){return _0xc3cfc3===_0x18a1d6;},'AhMEk':function(_0x17ab11,_0x16c89c){return _0x17ab11+_0x16c89c;},'zqAut':function(_0x24d2ac,_0xf59748){return _0x24d2ac+_0xf59748;},'KrJiq':function(_0x3fc272,_0x127229){return _0x3fc272&&_0x127229;},'eSBmB':function(_0x432790,_0x50fd61){return _0x432790===_0x50fd61;},'PKjCv':function(_0xdf5a5,_0x542e69){return _0xdf5a5(_0x542e69);},'jMLiw':_0x3fd490(0x1ff),'Qqbky':function(_0x54f193,_0x5d83cc){return _0x54f193+_0x5d83cc;},'Njntd':function(_0x5807fd,_0xa30738){return _0x5807fd+_0xa30738;},'kkoLC':function(_0x275173,_0x21157c){return _0x275173&&_0x21157c;},'kOqLI':function(_0xead41c,_0x2987d2){return _0xead41c===_0x2987d2;},'AvEQi':'TestRunStarted','deGPQ':function(_0x374030,_0x1d437a){return _0x374030===_0x1d437a;},'fNyIY':function(_0x5d216c,_0x34a76c){return _0x5d216c&&_0x34a76c;},'KAMTK':function(_0x47b3b3,_0x444b06){return _0x47b3b3===_0x444b06;},'kvIJW':function(_0x14d679,_0x10e303){return _0x14d679&&_0x10e303;},'shDUX':_0x3fd490(0x195)};if(![_0x583c05[_0x3fd490(0x20f)],_0x583c05[_0x3fd490(0x1f0)]]['includes'](_0x125fba)&&exports[_0x3fd490(0x207)]()){const _0x1836c8={};if(_0x583c05[_0x3fd490(0x19f)](_0x476085,FRAMEWORKS[_0x3fd490(0x199)])){const _0x5f2934=globals[_0x3fd490(0x1f6)](_0x583c05[_0x3fd490(0x1d0)])||accessibilityHelper[_0x3fd490(0x1c8)](_0x4ee3a1[_0x3fd490(0x1db)](),!![]),_0x82c618=globals[_0x3fd490(0x1f6)](_0x583c05['yjKrp']);_0x1836c8[_0x583c05['BwtCn']]=_0x583c05[_0x3fd490(0x20e)](_0x82c618,_0x5f2934);}if(_0x583c05[_0x3fd490(0x176)](_0x476085,FRAMEWORKS[_0x3fd490(0x16c)])){const _0x34969a=_0x583c05[_0x3fd490(0x223)](_0x583c05[_0x3fd490(0x187)](_0x15ba7a[_0x3fd490(0x1ef)][_0x3fd490(0x14a)]('\x20'),'\x20'),_0x4ee3a1[_0x3fd490(0x1d9)]),_0xdd760c=globals[_0x3fd490(0x1f6)](_0x583c05[_0x3fd490(0x1d0)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x34969a,![]),_0x1817d3=browserStackGlobals[_0x3fd490(0x1e9)];_0x1836c8[_0x583c05['BwtCn']]=_0x583c05[_0x3fd490(0x1ee)](_0x1817d3,_0xdd760c);}if(_0x583c05[_0x3fd490(0x1c3)](_0x476085,FRAMEWORKS[_0x3fd490(0x1b4)])){const _0x1a898b=_0x583c05['PKjCv'](require,_0x583c05[_0x3fd490(0x1d1)]),_0x10681a=_0x4ee3a1&&_0x1a898b[_0x3fd490(0x210)](_0x4ee3a1['id'])||_0x15ba7a[_0x3fd490(0x166)];_0x10681a&&(_0x15ba7a[_0x3fd490(0x166)]=_0x10681a);const _0x2eb657=_0x583c05[_0x3fd490(0x20c)](_0x583c05['Njntd'](_0x15ba7a[_0x3fd490(0x1ef)][_0x3fd490(0x14a)]('\x20'),'\x20'),_0x4ee3a1[_0x3fd490(0x1aa)]||_0x15ba7a[_0x3fd490(0x1d9)]),_0x554efb=globals['getGlobal'](_0x583c05['xfqYB'])||accessibilityHelper['shouldScanTestForAccessibility'](_0x2eb657,![]),_0x152cbb=globals[_0x3fd490(0x1f6)](_0x583c05['yjKrp']);_0x1836c8[_0x583c05['BwtCn']]=_0x583c05[_0x3fd490(0x220)](_0x152cbb,_0x554efb);}if(_0x583c05[_0x3fd490(0x1df)](_0x476085,FRAMEWORKS['PLAYWRIGHT'])){if(_0x583c05[_0x3fd490(0x176)](_0x125fba,_0x583c05[_0x3fd490(0x159)]))return;_0x1836c8[_0x583c05[_0x3fd490(0x1a9)]]=PWTestDetails[_0x3fd490(0x1fa)](_0x15ba7a['uuid']);}if(_0x583c05[_0x3fd490(0x175)](_0x476085,FRAMEWORKS[_0x3fd490(0x21c)])){const _0x38b562=accessibilityHelper[_0x3fd490(0x1c8)](_0x4ee3a1[_0x3fd490(0x1db)](),!![]),_0x50bad8=global['accessibilityPlatform'];_0x1836c8[_0x583c05[_0x3fd490(0x1a9)]]=_0x583c05[_0x3fd490(0x1e2)](_0x50bad8,_0x38b562);}if(_0x583c05['KAMTK'](_0x476085,FRAMEWORKS['CUCUMBER'])){const _0x5ac044=accessibilityHelper[_0x3fd490(0x1c8)](null,![],_0x15ba7a[_0x3fd490(0x221)]),_0x3f9ace=globals[_0x3fd490(0x1f6)](_0x583c05['yjKrp']);_0x1836c8[_0x583c05[_0x3fd490(0x1a9)]]=_0x583c05[_0x3fd490(0x155)](_0x3f9ace,_0x5ac044);}_0x15ba7a[_0x583c05[_0x3fd490(0x211)]]=_0x1836c8;}},exports[a172_0x5bb302(0x21b)]=_0x4f256c=>{const _0x5058a8=a172_0x5bb302,_0x3e3a09={};_0x3e3a09[_0x5058a8(0x158)]=function(_0x2780a2,_0x3844ca){return _0x2780a2>_0x3844ca;},_0x3e3a09[_0x5058a8(0x1ec)]=function(_0x5a5377,_0x48c7ef){return _0x5a5377>_0x48c7ef;};const _0x2a7448=_0x3e3a09;let _0xa94b00={};if(_0x2a7448[_0x5058a8(0x158)](Object[_0x5058a8(0x1b1)](testData)[_0x5058a8(0x222)],0x0))return testData;_0xa94b00=JestTestDetails[_0x5058a8(0x1fb)]();if(_0x2a7448[_0x5058a8(0x1ec)](Object['keys'](_0xa94b00)['length'],0x0))return _0xa94b00;return _0xa94b00;},exports[a172_0x5bb302(0x172)]=(_0x32d279,_0xbc65d6={})=>{const _0x218639=a172_0x5bb302;if(bsSetupHelper[_0x218639(0x201)](_0xbc65d6[_0x218639(0x1e0)]))return;switch(_0x32d279){case FRAMEWORKS[_0x218639(0x199)]:testData=_0xbc65d6[_0x218639(0x1e0)];break;case FRAMEWORKS[_0x218639(0x16c)]:JestTestDetails['setTestData'](_0xbc65d6[_0x218639(0x1e0)]);break;case FRAMEWORKS[_0x218639(0x1b4)]:testData=_0xbc65d6[_0x218639(0x1e0)];break;default:break;}},exports[a172_0x5bb302(0x1d4)]=_0x193c22=>{const _0x89f6fc=a172_0x5bb302,_0x49a345={};_0x49a345[_0x89f6fc(0x214)]=function(_0x23a71b,_0x2255e){return _0x23a71b!==_0x2255e;};const _0x36c339=_0x49a345;if(_0x36c339[_0x89f6fc(0x214)](_0x193c22['accessibility'],null)&&_0x36c339[_0x89f6fc(0x214)](_0x193c22[_0x89f6fc(0x18f)],undefined))return _0x193c22[_0x89f6fc(0x18f)];let _0x241c38=![],_0x308ddf=![];if(_0x193c22[_0x89f6fc(0x213)])for(const _0x4f15c6 of _0x193c22['platforms']){_0x36c339[_0x89f6fc(0x214)](_0x4f15c6[_0x89f6fc(0x18f)],null)&&_0x36c339[_0x89f6fc(0x214)](_0x4f15c6['accessibility'],undefined)&&(_0x241c38=_0x241c38||bsSetupHelper['isTrue'](_0x4f15c6[_0x89f6fc(0x18f)]),_0x308ddf=!![]);}if(_0x308ddf)return _0x241c38;return null;},exports[a172_0x5bb302(0x1fc)]=_0x33f177=>{const _0x280701=a172_0x5bb302;if(!_0x33f177)return{};const _0x5e9006=new OrchestrationUtils(_0x33f177);return _0x5e9006[_0x280701(0x152)]();},exports[a172_0x5bb302(0x206)]=_0x302755=>{const _0x89dfc8=a172_0x5bb302,_0x2529bf={'Uyzpw':function(_0x2997b4){return _0x2997b4();},'pnJKC':function(_0x48b84c,_0xbed83f){return _0x48b84c===_0xbed83f;},'sqeYk':'true'};let _0x19f072=![],_0x2fa3f8=![];if(bsSetupHelper[_0x89dfc8(0x1f7)]()&&bsSetupHelper[_0x89dfc8(0x16a)](_0x302755))_0x2fa3f8=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x19f072=!![]);return Object[_0x89dfc8(0x19b)]({'observability':_0x2529bf[_0x89dfc8(0x18b)](isTestObservabilitySession),'accessibility':exports[_0x89dfc8(0x1d4)](_0x302755),'percy':_0x302755[_0x89dfc8(0x186)]||![],'sr_automation':_0x2529bf[_0x89dfc8(0x1dd)](process[_0x89dfc8(0x1e6)][_0x89dfc8(0x21e)],_0x2529bf['sqeYk'])||_0x302755['sr_automation']||![],'automate':_0x19f072,'app_automate':_0x2fa3f8,'turboscale':bsSetupHelper[_0x89dfc8(0x15a)](_0x302755),'lts':LoadTestModule[_0x89dfc8(0x156)](_0x302755)},bsSetupHelper[_0x89dfc8(0x170)]());};function a172_0x3dc6(_0x5892ed,_0x9b2fbc){const _0x41a20e=a172_0x41a2();return a172_0x3dc6=function(_0x3dc690,_0x1b9108){_0x3dc690=_0x3dc690-0x14a;let _0x5f5cea=_0x41a20e[_0x3dc690];return _0x5f5cea;},a172_0x3dc6(_0x5892ed,_0x9b2fbc);}const normalizeTestPlanId=_0x5c93e8=>{const _0x2c0320=a172_0x5bb302,_0x355338={};_0x355338[_0x2c0320(0x217)]=function(_0xc0ff51,_0x35f0c4){return _0xc0ff51!==_0x35f0c4;},_0x355338[_0x2c0320(0x18e)]=_0x2c0320(0x1cc),_0x355338['FPpQK']=function(_0x29f507,_0x968b53){return _0x29f507>_0x968b53;};const _0x559acf=_0x355338;if(_0x559acf['CBMeI'](typeof _0x5c93e8,_0x559acf[_0x2c0320(0x18e)]))return undefined;const _0x12fe20=_0x5c93e8['trim']();return _0x559acf[_0x2c0320(0x188)](_0x12fe20[_0x2c0320(0x222)],0x0)?_0x12fe20:undefined;},readTestPlanIdFromCliArgs=(_0x40d734=process[a172_0x5bb302(0x1cd)])=>{const _0x5583c6=a172_0x5bb302,_0x59e4d6={};_0x59e4d6[_0x5583c6(0x1be)]=function(_0x103937,_0x627994){return _0x103937<_0x627994;},_0x59e4d6['IRGEF']=function(_0x539f1e,_0x515353){return _0x539f1e===_0x515353;},_0x59e4d6['cMbXA']=function(_0x5ad702,_0x2e2b1a){return _0x5ad702+_0x2e2b1a;},_0x59e4d6['CZWha']=function(_0xfdaad9,_0x3bf968){return _0xfdaad9+_0x3bf968;};const _0x38e1ea=_0x59e4d6,_0x536211='--'+testHubConstants[_0x5583c6(0x189)];for(let _0x59bc50=0x0;_0x38e1ea[_0x5583c6(0x1be)](_0x59bc50,_0x40d734[_0x5583c6(0x222)]);_0x59bc50+=0x1){const _0x23a6f2=_0x40d734[_0x59bc50];if(_0x38e1ea[_0x5583c6(0x197)](_0x23a6f2,_0x536211)){const _0x4758fa=_0x40d734[_0x38e1ea[_0x5583c6(0x157)](_0x59bc50,0x1)];if(!_0x4758fa||_0x4758fa['startsWith']('--'))return undefined;return _0x4758fa;}if(_0x23a6f2[_0x5583c6(0x174)](_0x536211+'='))return _0x23a6f2[_0x5583c6(0x1ce)](_0x38e1ea[_0x5583c6(0x1c4)](_0x536211[_0x5583c6(0x222)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x5a85b1={})=>{const _0x4cef70=a172_0x5bb302,_0x5a14be={'MOeXx':function(_0x5171ec,_0x30e3cb){return _0x5171ec(_0x30e3cb);}};return _0x5a14be[_0x4cef70(0x228)](normalizeTestPlanId,_0x5a85b1&&_0x5a85b1[_0x4cef70(0x1c1)]&&_0x5a85b1[_0x4cef70(0x1c1)][_0x4cef70(0x191)]);};exports['getTestPlanId']=(_0x4707b5={},_0x3e77cb=process['argv'],_0x2c95cb=process[a172_0x5bb302(0x1e6)])=>{const _0x3bd845=a172_0x5bb302,_0xe67813={'hrPtQ':function(_0x134031,_0x2804fa){return _0x134031(_0x2804fa);},'vSFWz':function(_0x5a04c0,_0xf255ac){return _0x5a04c0(_0xf255ac);}};try{const _0x395575=_0xe67813['hrPtQ'](normalizeTestPlanId,_0xe67813['hrPtQ'](readTestPlanIdFromCliArgs,_0x3e77cb));if(_0x395575)return _0x395575;const _0x22b1f2=_0xe67813[_0x3bd845(0x16f)](normalizeTestPlanId,_0x2c95cb&&_0x2c95cb[testHubConstants[_0x3bd845(0x1ad)][_0x3bd845(0x1dc)]]);if(_0x22b1f2)return _0x22b1f2;return _0xe67813[_0x3bd845(0x1c7)](readTestPlanIdFromConfig,_0x4707b5);}catch(_0xaf710f){return logger[_0x3bd845(0x1bb)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0xaf710f&&_0xaf710f[_0x3bd845(0x1da)]?_0xaf710f[_0x3bd845(0x1da)]:_0xaf710f)),undefined;}};function a172_0x41a2(){const _0x2d41e4=['ZiYbi','uuid','VrtiQ','command','tgAjT','isAppAutomateSession','true','JEST','commandsToWrap','BROWSERSTACK_TESTHUB_JWT','hrPtQ','getCentralUser','setPercyFlag','setCurrentTestData','allow_screenshots','startsWith','deGPQ','kTnHL','jwt','isPercyBuild','yjRhp','rAjiB','sr_automation','mrQmv','key','aBZwS','setAccessibilityVariables','checkAccessibilityPlatformConfig','FRAMEWORK_DETAILS','../test-orchestration/orchestrationUtils.js','KVYxQ','BS_TESTOPS_ALLOW_SCREENSHOTS','../../bin/playwright/reporter/test-details.js','percy','zqAut','FPpQK','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','kWLeO','Uyzpw','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','2896539XgYEgk','dQZjE','accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testPlanId','observability','CBTSessionCreated','logBuildError','product_map','RFMnb','IRGEF','TEST_REPORTING_ANALYTICS','MOCHA','options','assign','VZFsx','BROWSERSTACK_TEST_ACCESSIBILITY_YML','1287343ggAUhC','kdRrU','includes','BS_TESTOPS_BUILD_HASHED_ID','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','isTrue','30AKRbov','zMWJn','uLgRf','../logger','btrEk','BwtCn','description','ZaeKl','4|2|3|1|0','ENV_VAR','getProductMap','../accessibility-automation/helper','BROWSERSTACK_TESTHUB_UUID','keys','ldYTv','uploadEventData','JASMINE','../../bin/v2/modules/loadTestModule','parseA11yJwtPayload','handleErrorForObservability','setTestObservabilityVariables','qSKom','\x20Build\x20creation\x20failed','debug','gXoWt','./constants.js','kRQTr','../test-observability/utils','success','testManagementOptions','VvaAT','eSBmB','CZWha','DguJH','false','vSFWz','shouldScanTestForAccessibility','parse','IXFDH','Ztjol','string','argv','slice','Svaos','xfqYB','jMLiw','getTestFrameworkDetails','winstonLogger','getAccessibilityValueFromYml','BS_A11Y_JWT','4730756dztiKP','BS_TESTOPS_JWT','896575FweSHR','name','message','titlePath','BROWSERSTACK_TEST_PLAN_ID','pnJKC','../ats/helper','kOqLI','test_run','bSKdk','fNyIY','OTcNw','toJson','qRmwh','env','error','2VlKJQj','isAccessibilityPlatform','QwEau','uZFec','NMdhc','isRunning','KrJiq','scopes','KhXdw','aAUQd','GFset','toUpperCase','apffj','../accessibility-automation/scripts.js','getGlobal','isBrowserstackInfra','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','stringify','getAccessibilityPlatformValidation','getTestData','getTestOrchestrationBuildStartData','HookRunStarted','HookRunFinished','../../bin/jasmine/testRunMap.js','handleErrorForAccessibility','isUndefined','vsKiW','3|2|0|1|4|5','ERROR','build_hashed_id','getProductMapForBuildStartCall','isAccessibilityEnabled','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','Olerl','gylxS','../globals.js','Qqbky','WkOgb','jjRSe','LiQbO','get','shDUX','nonBStackInfraA11yChromeOptions','platforms','tCZNU','../helper','BROWSERSTACK_TESTHUB_UUID:\x20','CBMeI','muNqa','commands','DEPRECATED','getCurrentTestData','CODECEPT','664416xAkeyW','BROWSERSTACK_SR_AUTOMATION','RmsSg','kkoLC','tags','length','AhMEk','value','QCRBn','4|1|2|0|6|5|3','bstackA11yShouldScan','MOeXx','BROWSERSTACK_PERCY',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','join','password','BS_TESTOPS_BUILD_COMPLETED','QgyPG','PugKN','null','../test-observability/constants.js','CTCKE','getBuildStartData','setTestHubCommonMetaInfo','aIQTQ','kvIJW','isLTSSession','cMbXA','dILzj','AvEQi','isTurboScaleSession','355285puxOAB','OEYxu','shouldProcessEventForTesthub','VkkiY','avaLi','javascript','capabilities','username','CREDENTIALS_FOR_CRASH_REPORTING','10418312twjslK'];a172_0x41a2=function(){return _0x2d41e4;};return a172_0x41a2();}
|
|
1
|
+
const a172_0x5d50fe=a172_0xdc4f;(function(_0x1442a8,_0x1bd304){const _0x2f6b24=a172_0xdc4f,_0x59c439=_0x1442a8();while(!![]){try{const _0x338d89=-parseInt(_0x2f6b24(0x27c))/0x1*(parseInt(_0x2f6b24(0x270))/0x2)+-parseInt(_0x2f6b24(0x276))/0x3*(parseInt(_0x2f6b24(0x21d))/0x4)+parseInt(_0x2f6b24(0x279))/0x5*(parseInt(_0x2f6b24(0x1d4))/0x6)+parseInt(_0x2f6b24(0x24d))/0x7*(-parseInt(_0x2f6b24(0x215))/0x8)+-parseInt(_0x2f6b24(0x1fc))/0x9*(-parseInt(_0x2f6b24(0x1f1))/0xa)+parseInt(_0x2f6b24(0x268))/0xb+-parseInt(_0x2f6b24(0x247))/0xc;if(_0x338d89===_0x1bd304)break;else _0x59c439['push'](_0x59c439['shift']());}catch(_0x5cb989){_0x59c439['push'](_0x59c439['shift']());}}}(a172_0x4b87,0x19885));function a172_0xdc4f(_0x31994e,_0x250781){const _0x4b87b5=a172_0x4b87();return a172_0xdc4f=function(_0xdc4f2e,_0x39a892){_0xdc4f2e=_0xdc4f2e-0x1c7;let _0x39b71d=_0x4b87b5[_0xdc4f2e];return _0x39b71d;},a172_0xdc4f(_0x31994e,_0x250781);}const bsSetupHelper=require('../helper'),LoadTestModule=require(a172_0x5d50fe(0x1c9)),{isTestObservabilitySession,getFrameworkVersion}=require(a172_0x5d50fe(0x241)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a172_0x5d50fe(0x26b))[a172_0x5d50fe(0x282)],{nestedKeyValue}=require(a172_0x5d50fe(0x203)),scripts=require(a172_0x5d50fe(0x1c8)),globals=require(a172_0x5d50fe(0x244)),testHubConstants=require(a172_0x5d50fe(0x1c7)),PWTestDetails=require(a172_0x5d50fe(0x202)),JestTestDetails=require(a172_0x5d50fe(0x283)),{FRAMEWORKS}=require(a172_0x5d50fe(0x1d6)),{isTurboScaleSession}=require(a172_0x5d50fe(0x262)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a172_0x5d50fe(0x255));function a172_0x4b87(){const _0x4fd3c6=['4|1|0|2|3','JASMINE','getCentralUser','stringify','../../bin/playwright/reporter/test-details.js','../helper.js','logBuildError','handleErrorForAccessibility','getTestFrameworkDetails','4|3|2|5|1|0','includes','nwbhN','setTestObservabilityVariables','testManagementOptions','BROWSERSTACK_TESTHUB_UUID','RjCUd','../../bin/jasmine/testRunMap.js','trim','toUpperCase','toString','isAppAutomateSession','success','CoxSJ','211048mcuMaR','getGlobal','error','parseFromJson','kyIUe','isUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','GMeii','304228euupaR','UjOZE','description','MgLUO','keys','HYRzg','getProductMapForBuildStartCall','getAgentVersion','NDQhI','OSFpM','BROWSERSTACK_ACCESSIBILITY','username','getProductMap','testPlanId','commandsToWrap','platforms','ERROR','getFrameworkDetails','get','setAccessibilityVariables','rBpCp','ehwfw','FRAMEWORK_DETAILS','handleErrorForObservability','setCurrentTestData','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','DEPRECATED','isAccessibilityPlatform','message','fINel','IgjWY','HookRunStarted','BS_A11Y_JWT','getBuildStartData','TCQPA','capabilities','../test-observability/utils','accessibilityPlatform','scripts','../globals.js','qmJfi','KxuoN','142380ZQVJEv','BS_TESTOPS_JWT','getAccessibilityPlatformValidation','nonBStackInfraA11yChromeOptions','isTurboScaleSession','qHpeS','14GqJoAO','jwt','BROWSERSTACK_SR_AUTOMATION','WJcHq','false','argv','debug','KoVoS','../../bin/utils/constants.js','password','sULMN','checkAccessibilityPlatformConfig','uuid','gDQdk','errors','ENV_VAR','BROWSERSTACK_TESTHUB_UUID:\x20','kfkYZ','CVkUM','BS_TESTOPS_BUILD_COMPLETED','setTestHubCommonMetaInfo','../ats/helper','getAccessibilityValueFromYml','startsWith','scannerVersion','lFBGG','product_map','2219008BhajuO','ejAEi','scopes','../logger','null','BROWSERSTACK_TESTHUB_JWT','JEST','BGawA','8aJIdmd','bstackA11yShouldScan','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','nNRVH','HookRunFinished','name','6pxquoq','TfWcq','OBSERVABILITY','305HdCdLj','tphJU','CBTSessionCreated','35824zcutBt','PLAYWRIGHT','build_hashed_id','tuhmZ','javascript','length','winstonLogger','../../bin/jest/test-observability/test-details.js','MOCHA','isTrue','commands','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','join','toJson','slice','KKmaA','isPercyBuild','accessibility','getTestOrchestrationBuildStartData','HhidW','shouldScanTestForAccessibility','BROWSERSTACK_TEST_ACCESSIBILITY_YML','btSQD','key','wrCRt','info','mrdju','olpTX','\x20Build\x20creation\x20failed','kIcAw','allow_screenshots','true','CUCUMBER','bHZOG','UyUMI','YCzTp','./constants.js','../accessibility-automation/scripts.js','../../bin/v2/modules/loadTestModule','isRunning','getTestData','observability','VstAE','bNvxn','appendTesthubParams','test_run','ACCESS_DENIED','QVGxd','BROWSERSTACK_PERCY','12282UfudBa','percy','../test-observability/constants.js','forEach','BS_TESTOPS_ALLOW_SCREENSHOTS','MYObm','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','qGsku','zpymI','xHbEq','pEJyw','TEST_REPORTING_ANALYTICS','CREDENTIALS_FOR_CRASH_REPORTING','isAccessibilityEnabled','iplZh','UWdiD','bycqn','xbXbu','command','INVALID_CREDENTIALS','split','CODECEPT','isBrowserstackInfra','isLTSSession','TmkVg','gVpTz','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','XgGlO','npDhs','170YsGgLT','goog:chromeOptions','setPercyFlag','NNVpZ','options','getCurrentTestData','uploadEventData','env','nFCKt','parse','ZqKgz','73071LHXxSS','IvMJY'];a172_0x4b87=function(){return _0x4fd3c6;};return a172_0x4b87();}let testData={};exports[a172_0x5d50fe(0x229)]=_0x4817d4=>{const _0x179f4a=a172_0x5d50fe,_0x27df6b={'buGiu':function(_0x559e53){return _0x559e53();},'wOFnY':function(_0xff65e3,_0x3a8c6c){return _0xff65e3===_0x3a8c6c;},'qGsku':_0x179f4a(0x29b)};let _0xa37589=![],_0x27bfa2=![];if(bsSetupHelper[_0x179f4a(0x1ea)]()&&bsSetupHelper[_0x179f4a(0x212)](_0x4817d4))_0x27bfa2=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0xa37589=!![]);return Object['assign']({'observability':_0x27df6b['buGiu'](isTestObservabilitySession),'accessibility':exports[_0x179f4a(0x1e1)](_0x4817d4),'percy':_0x4817d4[_0x179f4a(0x1d5)]||![],'sr_automation':_0x27df6b['wOFnY'](process[_0x179f4a(0x1f8)][_0x179f4a(0x24f)],_0x27df6b[_0x179f4a(0x1db)])||_0x4817d4['sr_automation']||![],'automate':_0xa37589,'app_automate':_0x27bfa2,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x4817d4),'lts':LoadTestModule[_0x179f4a(0x1eb)](_0x4817d4)},bsSetupHelper[_0x179f4a(0x200)]());},exports[a172_0x5d50fe(0x22e)]=(_0x4f3d5a,_0x41d874)=>{const _0x3f1c8b=a172_0x5d50fe,_0x1365ef={'emiGD':function(_0xa3673e,_0x1cd951){return _0xa3673e(_0x1cd951);},'UyUMI':_0x3f1c8b(0x280)},_0x4f740b={'frameworkName':_0x41d874,'frameworkVersion':_0x1365ef['emiGD'](getFrameworkVersion,_0x41d874),'sdkVersion':bsSetupHelper[_0x3f1c8b(0x224)](),'language':_0x1365ef[_0x3f1c8b(0x29e)],'testFramework':bsSetupHelper[_0x3f1c8b(0x206)](_0x4f3d5a,_0x41d874)};return process[_0x3f1c8b(0x1f8)][_0x3f1c8b(0x233)]=JSON[_0x3f1c8b(0x201)](_0x4f740b),_0x4f740b;},exports[a172_0x5d50fe(0x1f3)]=_0x5ba00c=>{const _0x402e51=a172_0x5d50fe,_0x4d3757={};_0x4d3757[_0x402e51(0x23f)]=_0x402e51(0x251),_0x4d3757[_0x402e51(0x1f4)]='true';const _0x44e8b8=_0x4d3757;process[_0x402e51(0x1f8)]['BROWSERSTACK_PERCY']=_0x44e8b8[_0x402e51(0x23f)],bsSetupHelper[_0x402e51(0x285)](_0x5ba00c['config'][_0x402e51(0x1d5)])&&(!_0x5ba00c['percy']||!_0x5ba00c['percy'][_0x402e51(0x1ca)]())&&(process[_0x402e51(0x1f8)][_0x402e51(0x1d3)]=_0x44e8b8[_0x402e51(0x1f4)]);},exports['isPercyBuild']=()=>{const _0x302d28=a172_0x5d50fe;return bsSetupHelper[_0x302d28(0x285)](process[_0x302d28(0x1f8)]['BROWSERSTACK_PERCY']);},exports[a172_0x5d50fe(0x1e1)]=(_0x50e65c={})=>{const _0xf48b3c=a172_0x5d50fe,_0x17575e={};_0x17575e[_0xf48b3c(0x1ef)]=function(_0x3d5e64,_0x5115df){return _0x3d5e64!==_0x5115df;},_0x17575e[_0xf48b3c(0x1fb)]=function(_0x4db937,_0xa422dc){return _0x4db937===_0xa422dc;},_0x17575e[_0xf48b3c(0x246)]='true',_0x17575e['kyIUe']=function(_0x472456,_0x2fb2f6){return _0x472456>_0x2fb2f6;};const _0x1fcd8a=_0x17575e;if(_0x1fcd8a[_0xf48b3c(0x1ef)](process[_0xf48b3c(0x1f8)][_0xf48b3c(0x227)],undefined))return bsSetupHelper[_0xf48b3c(0x285)](process['env']['BROWSERSTACK_ACCESSIBILITY']);let _0xceacbf=_0x1fcd8a[_0xf48b3c(0x1fb)](process[_0xf48b3c(0x1f8)][_0xf48b3c(0x291)],_0x1fcd8a['KxuoN']);return _0x1fcd8a[_0xf48b3c(0x219)](Object[_0xf48b3c(0x221)](_0x50e65c)[_0xf48b3c(0x281)],0x0)&&(process[_0xf48b3c(0x1f8)][_0xf48b3c(0x1ee)]=accessibilityHelper[_0xf48b3c(0x258)](_0x50e65c)),_0xceacbf=_0xceacbf||_0x1fcd8a[_0xf48b3c(0x1fb)](process[_0xf48b3c(0x1f8)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x1fcd8a[_0xf48b3c(0x246)]),_0xceacbf;},exports[a172_0x5d50fe(0x20a)]=(_0x16a749,_0x4a7b41)=>{const _0x1d576d=a172_0x5d50fe,_0x1883e5={'MgLUO':function(_0x51ff58){return _0x51ff58();},'pEBVE':_0x1d576d(0x207),'OKqCf':_0x1d576d(0x29b),'KYbTO':function(_0x32e2ee,_0x26001c,_0x32d450){return _0x32e2ee(_0x26001c,_0x32d450);},'mrdju':_0x1d576d(0x1cc),'CoxSJ':'options'};if(!_0x16a749||!_0x16a749[_0x1d576d(0x1cc)])return exports[_0x1d576d(0x234)](),[null,null,null];if(!_0x16a749[_0x1d576d(0x1cc)][_0x1d576d(0x213)])return exports[_0x1d576d(0x234)](_0x16a749[_0x1d576d(0x1cc)]),[null,null,null];if(_0x1883e5[_0x1d576d(0x220)](isTestObservabilitySession)){const _0x528c90=_0x1883e5['pEBVE']['split']('|');let _0x535af0=0x0;while(!![]){switch(_0x528c90[_0x535af0++]){case'0':return[_0x16a749[_0x1d576d(0x24e)],_0x16a749['build_hashed_id'],process['env'][_0x1d576d(0x1d8)]];case'1':logger[_0x1d576d(0x253)]('['+constants[_0x1d576d(0x1df)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x16a749['build_hashed_id']);continue;case'2':_0x16a749[_0x1d576d(0x27e)]&&(process[_0x1d576d(0x1f8)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x16a749[_0x1d576d(0x27e)]);continue;case'3':if(_0x16a749[_0x1d576d(0x24e)]){process['env']['BS_TESTOPS_JWT']=_0x16a749[_0x1d576d(0x24e)];const _0x5cc494={};_0x5cc494[_0x1d576d(0x228)]=_0x4a7b41[_0x1d576d(0x228)],_0x5cc494[_0x1d576d(0x256)]=_0x4a7b41[_0x1d576d(0x256)],process[_0x1d576d(0x1f8)][_0x1d576d(0x1e0)]=JSON[_0x1d576d(0x201)](_0x5cc494);}continue;case'4':process[_0x1d576d(0x1f8)][_0x1d576d(0x260)]=_0x1883e5['OKqCf'];continue;case'5':_0x1883e5['KYbTO'](nestedKeyValue,_0x16a749,[_0x1883e5[_0x1d576d(0x296)],_0x1883e5[_0x1d576d(0x214)]])&&(process[_0x1d576d(0x1f8)][_0x1d576d(0x1d8)]=_0x16a749[_0x1d576d(0x1cc)][_0x1d576d(0x1f5)][_0x1d576d(0x29a)][_0x1d576d(0x211)]());continue;}break;}}return[null,null,null];},exports[a172_0x5d50fe(0x230)]=_0x3bddd1=>{const _0x14ce4a=a172_0x5d50fe,_0x1232f9={'LYbDU':function(_0x1765d9,_0x434198,_0x2bc5de){return _0x1765d9(_0x434198,_0x2bc5de);},'kIcAw':'accessibility','olpTX':_0x14ce4a(0x1f5),'btSQD':function(_0x5f623b,_0x51d5a9,_0x13bce9,_0x52aa90){return _0x5f623b(_0x51d5a9,_0x13bce9,_0x52aa90);},'npDhs':_0x14ce4a(0x275),'bycqn':'value','FjQZR':_0x14ce4a(0x1e6),'TmkVg':_0x14ce4a(0x286),'iplZh':_0x14ce4a(0x24a),'EQSDq':_0x14ce4a(0x1f2),'HhidW':function(_0x52605e,_0x4c03cc){return _0x52605e(_0x4c03cc);},'YCzTp':function(_0x3a7bcc,_0x17a247){return _0x3a7bcc===_0x17a247;},'IvMJY':'true','sULMN':_0x14ce4a(0x287)};if(!_0x3bddd1['accessibility'])return exports[_0x14ce4a(0x205)](),[null,null];if(!_0x3bddd1[_0x14ce4a(0x28d)][_0x14ce4a(0x213)])return exports[_0x14ce4a(0x205)](_0x3bddd1[_0x14ce4a(0x28d)]),[null,null];if(_0x1232f9['LYbDU'](nestedKeyValue,_0x3bddd1,[_0x1232f9[_0x14ce4a(0x299)],_0x1232f9[_0x14ce4a(0x297)]])){const {accessibilityToken:_0x127ad3,scannerVersion:_0x5e48ba,scannerProcessingTimeout:_0x2fe5eb,isMobileScanningEnabledForGroup:_0x37556c}=_0x1232f9[_0x14ce4a(0x292)](jsonifyAccessibilityArray,_0x3bddd1[_0x14ce4a(0x28d)][_0x14ce4a(0x1f5)]['capabilities'],_0x1232f9['npDhs'],_0x1232f9['bycqn']),_0x4bdbbf={'scripts':_0x1232f9['btSQD'](jsonifyAccessibilityArray,_0x3bddd1[_0x14ce4a(0x28d)]['options'][_0x14ce4a(0x243)],_0x1232f9[_0x14ce4a(0x1f0)],_0x1232f9['FjQZR'])};_0x4bdbbf[_0x1232f9[_0x14ce4a(0x1ec)]]=_0x3bddd1['accessibility'][_0x14ce4a(0x1f5)][_0x14ce4a(0x22b)]['commands'];const _0x27a0b3=_0x1232f9[_0x14ce4a(0x292)](jsonifyAccessibilityArray,_0x3bddd1[_0x14ce4a(0x28d)][_0x14ce4a(0x1f5)][_0x14ce4a(0x240)],_0x1232f9[_0x14ce4a(0x1f0)],_0x1232f9[_0x14ce4a(0x1e4)]);_0x4bdbbf[_0x1232f9[_0x14ce4a(0x1e2)]]=_0x27a0b3[_0x1232f9['EQSDq']],scripts[_0x14ce4a(0x218)](_0x4bdbbf),scripts[_0x14ce4a(0x289)]();let _0x2b8147=process['env'][_0x14ce4a(0x21b)];_0x2b8147=!!_0x2b8147?JSON[_0x14ce4a(0x1fa)](_0x2b8147):{},_0x2b8147[_0x14ce4a(0x265)]=_0x5e48ba,process[_0x14ce4a(0x1f8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x14ce4a(0x201)](_0x2b8147),process['env'][_0x14ce4a(0x23d)]=_0x127ad3,process['env'][_0x14ce4a(0x272)]=_0x1232f9[_0x14ce4a(0x28f)](String,_0x1232f9[_0x14ce4a(0x29f)](_0x37556c,!![])||_0x1232f9[_0x14ce4a(0x29f)](_0x37556c,_0x1232f9[_0x14ce4a(0x1fd)])),logger['debug'](_0x14ce4a(0x236)+_0x3bddd1[_0x14ce4a(0x27e)]);const _0x2b7635=accessibilityHelper['parseA11yJwtPayload'](_0x127ad3);return _0x2b7635&&bsSetupHelper['isTrue'](_0x2b7635['skipCDPConnectOverride'])&&(process[_0x14ce4a(0x1f8)][_0x14ce4a(0x1da)]=!![],logger[_0x14ce4a(0x253)](_0x1232f9[_0x14ce4a(0x257)])),[_0x127ad3,_0x3bddd1[_0x14ce4a(0x27e)],_0x2fe5eb];}return[null,null];},exports['handleErrorForObservability']=_0x92a1db=>{const _0x16b50b=a172_0x5d50fe,_0x23e45c={};_0x23e45c['WQPkI']='3|1|2|4|5|0|6',_0x23e45c[_0x16b50b(0x27a)]=_0x16b50b(0x26c),_0x23e45c[_0x16b50b(0x27f)]=_0x16b50b(0x251);const _0x202b79=_0x23e45c,_0x2bbcd2=_0x202b79['WQPkI'][_0x16b50b(0x1e8)]('|');let _0x5bac3b=0x0;while(!![]){switch(_0x2bbcd2[_0x5bac3b++]){case'0':process[_0x16b50b(0x1f8)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x202b79[_0x16b50b(0x27a)];continue;case'1':process[_0x16b50b(0x1f8)][_0x16b50b(0x26d)]=_0x202b79['tphJU'];continue;case'2':process[_0x16b50b(0x1f8)]['BS_TESTOPS_BUILD_COMPLETED']=_0x202b79['tuhmZ'];continue;case'3':process[_0x16b50b(0x1f8)][_0x16b50b(0x20c)]=_0x202b79['tphJU'];continue;case'4':process[_0x16b50b(0x1f8)][_0x16b50b(0x248)]=_0x202b79[_0x16b50b(0x27a)];continue;case'5':process[_0x16b50b(0x1f8)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x202b79[_0x16b50b(0x27a)];continue;case'6':exports[_0x16b50b(0x204)](_0x92a1db,testHubConstants[_0x16b50b(0x278)]);continue;}break;}},exports['handleErrorForAccessibility']=_0x42a9d6=>{const _0x26e7f5=a172_0x5d50fe,_0x5e5aa5={};_0x5e5aa5['NDQhI']=_0x26e7f5(0x1fe),_0x5e5aa5[_0x26e7f5(0x1f9)]=_0x26e7f5(0x251),_0x5e5aa5['bHZOG']=_0x26e7f5(0x26c);const _0x489573=_0x5e5aa5,_0x333ea0=_0x489573[_0x26e7f5(0x225)]['split']('|');let _0x7adda5=0x0;while(!![]){switch(_0x333ea0[_0x7adda5++]){case'0':process[_0x26e7f5(0x1f8)][_0x26e7f5(0x291)]=_0x489573[_0x26e7f5(0x1f9)];continue;case'1':process[_0x26e7f5(0x1f8)][_0x26e7f5(0x26d)]=_0x489573['bHZOG'];continue;case'2':process[_0x26e7f5(0x1f8)][_0x26e7f5(0x1ee)]=_0x489573[_0x26e7f5(0x1f9)];continue;case'3':exports[_0x26e7f5(0x204)](_0x42a9d6,testHubConstants['ACCESSIBILITY']);continue;case'4':process[_0x26e7f5(0x1f8)][_0x26e7f5(0x20c)]=_0x489573[_0x26e7f5(0x29d)];continue;}break;}},exports[a172_0x5d50fe(0x204)]=(_0x1f4bf6,_0x2b11d8='')=>{const _0x6d01b8=a172_0x5d50fe,_0x1019bb={};_0x1019bb[_0x6d01b8(0x1ce)]=function(_0x31db5b,_0x43574a){return _0x31db5b===_0x43574a;};const _0x46ae6e=_0x1019bb;if(_0x46ae6e[_0x6d01b8(0x1ce)](_0x1f4bf6,undefined)){logger[_0x6d01b8(0x217)](_0x2b11d8[_0x6d01b8(0x210)]()+_0x6d01b8(0x298));return;}for(const _0x1ea803 of _0x1f4bf6[_0x6d01b8(0x25b)]){const _0x578b67=_0x1ea803[_0x6d01b8(0x293)],_0x36fc88=_0x1ea803['message'];if(_0x36fc88)switch(_0x578b67){case testHubConstants['ERROR'][_0x6d01b8(0x1e7)]:logger['error'](_0x36fc88);break;case testHubConstants[_0x6d01b8(0x22d)][_0x6d01b8(0x1d1)]:logger[_0x6d01b8(0x295)](_0x36fc88);break;case testHubConstants[_0x6d01b8(0x22d)][_0x6d01b8(0x237)]:logger[_0x6d01b8(0x217)](_0x36fc88);break;default:logger[_0x6d01b8(0x217)](_0x36fc88);}}};const jsonifyAccessibilityArray=(_0x27e483,_0xccff13,_0x1a4ba2)=>{const _0x3f1f12=a172_0x5d50fe,_0x1ebd4c={};return _0x27e483[_0x3f1f12(0x1d7)](_0x59a127=>{_0x1ebd4c[_0x59a127[_0xccff13]]=_0x59a127[_0x1a4ba2];}),_0x1ebd4c;};exports[a172_0x5d50fe(0x261)]=_0x105e45=>{const _0xb4419c=a172_0x5d50fe;_0x105e45['jwt']&&(process[_0xb4419c(0x1f8)][_0xb4419c(0x26d)]=_0x105e45[_0xb4419c(0x24e)]);_0x105e45[_0xb4419c(0x27e)]&&(process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x105e45[_0xb4419c(0x27e)],logger[_0xb4419c(0x253)](_0xb4419c(0x25d)+_0x105e45['build_hashed_id']));;},exports['shouldProcessEventForTesthub']=(_0x478365='',_0x57af43='')=>{const _0x1ee5bb=a172_0x5d50fe,_0xcc8191={'uRukr':function(_0x46f41f){return _0x46f41f();},'nwbhN':function(_0x5103b2,_0x12cfb8){return _0x5103b2===_0x12cfb8;},'fDTbk':_0x1ee5bb(0x1f7),'gDQdk':'LogCreated','yTELr':_0x1ee5bb(0x27b),'xbXbu':function(_0x22cbeb){return _0x22cbeb();},'zpymI':_0x1ee5bb(0x23c),'nNRVH':_0x1ee5bb(0x274)};if(exports['isPercyBuild']()&&!exports[_0x1ee5bb(0x1e1)]()&&!_0xcc8191['uRukr'](isTestObservabilitySession)){if(_0xcc8191[_0x1ee5bb(0x209)](_0x57af43,_0xcc8191['fDTbk']))return![];if([_0xcc8191[_0x1ee5bb(0x25a)],_0xcc8191['yTELr']][_0x1ee5bb(0x208)](_0x478365))return![];return!![];}if(exports[_0x1ee5bb(0x1e1)]()&&!_0xcc8191[_0x1ee5bb(0x1e5)](isTestObservabilitySession)){if([_0xcc8191[_0x1ee5bb(0x1dc)],_0xcc8191[_0x1ee5bb(0x273)],_0xcc8191[_0x1ee5bb(0x25a)]][_0x1ee5bb(0x208)](_0x478365))return![];return!![];}return exports[_0x1ee5bb(0x1e1)]()||_0xcc8191[_0x1ee5bb(0x1e5)](isTestObservabilitySession)||exports[_0x1ee5bb(0x28c)]();},exports[a172_0x5d50fe(0x1cf)]=(_0x1845c7,_0x2d4b52,_0x57cbfe='',_0x4b7b13)=>{const _0x298efa=a172_0x5d50fe,_0x3c16ec={'rBpCp':_0x298efa(0x23c),'RpSsq':_0x298efa(0x274),'OSFpM':function(_0xa54bd2,_0x39053f){return _0xa54bd2===_0x39053f;},'RjCUd':_0x298efa(0x271),'gVpTz':_0x298efa(0x238),'WJcHq':'accessibility','LZMaD':function(_0x15bb80,_0xd228d0){return _0x15bb80&&_0xd228d0;},'qHpeS':function(_0x4b06a2,_0x4fdf4b){return _0x4b06a2+_0x4fdf4b;},'lFBGG':function(_0x4081ce,_0x174e47){return _0x4081ce&&_0x174e47;},'pEJyw':function(_0x5ddec3,_0x30e549){return _0x5ddec3===_0x30e549;},'foGwd':function(_0x59842c,_0x5a3cab){return _0x59842c(_0x5a3cab);},'SjKvx':_0x298efa(0x20e),'BGawA':function(_0x4469a0,_0x4ef7fa){return _0x4469a0+_0x4ef7fa;},'MYObm':function(_0x420eb6,_0x2ccd5f){return _0x420eb6&&_0x2ccd5f;},'EvOxD':function(_0x556c97,_0x8a74a3){return _0x556c97===_0x8a74a3;},'KKmaA':'TestRunStarted','xHbEq':function(_0x5c7a45,_0x3722a7){return _0x5c7a45===_0x3722a7;},'acjbL':function(_0x4ce8c3,_0x511090){return _0x4ce8c3===_0x511090;},'WqENq':function(_0x902b73,_0x3b8818){return _0x902b73&&_0x3b8818;},'GMeii':_0x298efa(0x267)};if(![_0x3c16ec[_0x298efa(0x231)],_0x3c16ec['RpSsq']]['includes'](_0x2d4b52)&&exports[_0x298efa(0x1e1)]()){const _0x979ff9={};if(_0x3c16ec[_0x298efa(0x226)](_0x4b7b13,FRAMEWORKS['MOCHA'])){const _0x4fd973=globals[_0x298efa(0x216)](_0x3c16ec['RjCUd'])||accessibilityHelper[_0x298efa(0x290)](_0x57cbfe['titlePath'](),!![]),_0xf427c6=globals['getGlobal'](_0x3c16ec['gVpTz']);_0x979ff9[_0x3c16ec[_0x298efa(0x250)]]=_0x3c16ec['LZMaD'](_0xf427c6,_0x4fd973);}if(_0x3c16ec[_0x298efa(0x226)](_0x4b7b13,FRAMEWORKS[_0x298efa(0x26e)])){const _0x1e65ac=_0x3c16ec[_0x298efa(0x24c)](_0x3c16ec[_0x298efa(0x24c)](_0x1845c7[_0x298efa(0x26a)][_0x298efa(0x288)]('\x20'),'\x20'),_0x57cbfe[_0x298efa(0x275)]),_0x1b1b6b=globals[_0x298efa(0x216)](_0x3c16ec[_0x298efa(0x20d)])||accessibilityHelper[_0x298efa(0x290)](_0x1e65ac,![]),_0x4acbee=browserStackGlobals['isAccessibilityPlatform'];_0x979ff9[_0x3c16ec['WJcHq']]=_0x3c16ec[_0x298efa(0x266)](_0x4acbee,_0x1b1b6b);}if(_0x3c16ec[_0x298efa(0x1de)](_0x4b7b13,FRAMEWORKS[_0x298efa(0x1ff)])){const _0x1735fa=_0x3c16ec['foGwd'](require,_0x3c16ec['SjKvx']),_0xd02c0b=_0x57cbfe&&_0x1735fa[_0x298efa(0x22f)](_0x57cbfe['id'])||_0x1845c7[_0x298efa(0x259)];_0xd02c0b&&(_0x1845c7[_0x298efa(0x259)]=_0xd02c0b);const _0x21c91d=_0x3c16ec['qHpeS'](_0x3c16ec[_0x298efa(0x26f)](_0x1845c7['scopes'][_0x298efa(0x288)]('\x20'),'\x20'),_0x57cbfe[_0x298efa(0x21f)]||_0x1845c7[_0x298efa(0x275)]),_0x4fe2b9=globals['getGlobal'](_0x3c16ec[_0x298efa(0x20d)])||accessibilityHelper[_0x298efa(0x290)](_0x21c91d,![]),_0x494d41=globals[_0x298efa(0x216)](_0x3c16ec[_0x298efa(0x1ed)]);_0x979ff9[_0x3c16ec[_0x298efa(0x250)]]=_0x3c16ec[_0x298efa(0x1d9)](_0x494d41,_0x4fe2b9);}if(_0x3c16ec[_0x298efa(0x226)](_0x4b7b13,FRAMEWORKS[_0x298efa(0x27d)])){if(_0x3c16ec['EvOxD'](_0x2d4b52,_0x3c16ec[_0x298efa(0x28b)]))return;_0x979ff9[_0x3c16ec[_0x298efa(0x250)]]=PWTestDetails[_0x298efa(0x249)](_0x1845c7[_0x298efa(0x259)]);}if(_0x3c16ec[_0x298efa(0x1dd)](_0x4b7b13,FRAMEWORKS[_0x298efa(0x1e9)])){const _0x4f70b6=accessibilityHelper[_0x298efa(0x290)](_0x57cbfe['titlePath'](),!![]),_0x4e21b0=global[_0x298efa(0x242)];_0x979ff9[_0x3c16ec[_0x298efa(0x250)]]=_0x3c16ec[_0x298efa(0x1d9)](_0x4e21b0,_0x4f70b6);}if(_0x3c16ec['acjbL'](_0x4b7b13,FRAMEWORKS[_0x298efa(0x29c)])){const _0x54e45b=accessibilityHelper[_0x298efa(0x290)](null,![],_0x1845c7['tags']),_0xe28c0f=globals[_0x298efa(0x216)](_0x3c16ec[_0x298efa(0x1ed)]);_0x979ff9[_0x3c16ec['WJcHq']]=_0x3c16ec['WqENq'](_0xe28c0f,_0x54e45b);}_0x1845c7[_0x3c16ec[_0x298efa(0x21c)]]=_0x979ff9;}},exports[a172_0x5d50fe(0x1f6)]=_0x41b563=>{const _0x4c4027=a172_0x5d50fe,_0x1c29eb={};_0x1c29eb[_0x4c4027(0x254)]=function(_0x5808bf,_0x2ea461){return _0x5808bf>_0x2ea461;},_0x1c29eb[_0x4c4027(0x294)]=function(_0x40084b,_0x2cef5b){return _0x40084b>_0x2cef5b;};const _0x12f053=_0x1c29eb;let _0x2ea714={};if(_0x12f053[_0x4c4027(0x254)](Object[_0x4c4027(0x221)](testData)[_0x4c4027(0x281)],0x0))return testData;_0x2ea714=JestTestDetails[_0x4c4027(0x1cb)]();if(_0x12f053[_0x4c4027(0x294)](Object['keys'](_0x2ea714)[_0x4c4027(0x281)],0x0))return _0x2ea714;return _0x2ea714;},exports[a172_0x5d50fe(0x235)]=(_0x177c7f,_0x40fe1e={})=>{const _0x4f97ad=a172_0x5d50fe;if(bsSetupHelper[_0x4f97ad(0x21a)](_0x40fe1e[_0x4f97ad(0x1d0)]))return;switch(_0x177c7f){case FRAMEWORKS[_0x4f97ad(0x284)]:testData=_0x40fe1e[_0x4f97ad(0x1d0)];break;case FRAMEWORKS[_0x4f97ad(0x26e)]:JestTestDetails['setTestData'](_0x40fe1e[_0x4f97ad(0x1d0)]);break;case FRAMEWORKS[_0x4f97ad(0x1ff)]:testData=_0x40fe1e['test_run'];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x47372c=>{const _0x38767d=a172_0x5d50fe,_0x322ea2={};_0x322ea2[_0x38767d(0x277)]=function(_0x2777ae,_0x3482b5){return _0x2777ae!==_0x3482b5;},_0x322ea2[_0x38767d(0x23b)]=function(_0x3f3dca,_0x236b66){return _0x3f3dca!==_0x236b66;};const _0x2a2dfe=_0x322ea2;if(_0x2a2dfe[_0x38767d(0x277)](_0x47372c[_0x38767d(0x28d)],null)&&_0x2a2dfe[_0x38767d(0x277)](_0x47372c[_0x38767d(0x28d)],undefined))return _0x47372c['accessibility'];let _0xea9453=![],_0x136073=![];if(_0x47372c[_0x38767d(0x22c)])for(const _0x5317fe of _0x47372c['platforms']){_0x2a2dfe[_0x38767d(0x23b)](_0x5317fe[_0x38767d(0x28d)],null)&&_0x2a2dfe[_0x38767d(0x23b)](_0x5317fe[_0x38767d(0x28d)],undefined)&&(_0xea9453=_0xea9453||bsSetupHelper[_0x38767d(0x285)](_0x5317fe[_0x38767d(0x28d)]),_0x136073=!![]);}if(_0x136073)return _0xea9453;return null;},exports[a172_0x5d50fe(0x28e)]=_0x439e35=>{const _0x2614bd=a172_0x5d50fe;if(!_0x439e35)return{};const _0x22b25c=new OrchestrationUtils(_0x439e35);return _0x22b25c[_0x2614bd(0x23e)]();},exports[a172_0x5d50fe(0x223)]=_0x267b1a=>{const _0x17bde8=a172_0x5d50fe,_0x4b95a6={'ejAEi':function(_0x5a7c19){return _0x5a7c19();},'HYRzg':function(_0x3b7b94,_0x4fc47a){return _0x3b7b94===_0x4fc47a;},'ehwfw':'true'};let _0x1d81fe=![],_0x2c76d7=![];if(bsSetupHelper[_0x17bde8(0x1ea)]()&&bsSetupHelper[_0x17bde8(0x212)](_0x267b1a))_0x2c76d7=!![];else bsSetupHelper[_0x17bde8(0x1ea)]()&&(_0x1d81fe=!![]);return Object['assign']({'observability':_0x4b95a6[_0x17bde8(0x269)](isTestObservabilitySession),'accessibility':exports[_0x17bde8(0x263)](_0x267b1a),'percy':_0x267b1a[_0x17bde8(0x1d5)]||![],'sr_automation':_0x4b95a6[_0x17bde8(0x222)](process[_0x17bde8(0x1f8)][_0x17bde8(0x24f)],_0x4b95a6[_0x17bde8(0x232)])||_0x267b1a['sr_automation']||![],'automate':_0x1d81fe,'app_automate':_0x2c76d7,'turboscale':bsSetupHelper[_0x17bde8(0x24b)](_0x267b1a),'lts':LoadTestModule[_0x17bde8(0x1eb)](_0x267b1a)},bsSetupHelper[_0x17bde8(0x200)]());};const normalizeTestPlanId=_0x3db396=>{const _0x330c89=a172_0x5d50fe,_0x3b7d70={};_0x3b7d70[_0x330c89(0x21e)]=function(_0x2a569e,_0x2957d7){return _0x2a569e!==_0x2957d7;},_0x3b7d70[_0x330c89(0x1e3)]='string',_0x3b7d70[_0x330c89(0x245)]=function(_0x5ca1f8,_0x12a8c6){return _0x5ca1f8>_0x12a8c6;};const _0x1a69b8=_0x3b7d70;if(_0x1a69b8[_0x330c89(0x21e)](typeof _0x3db396,_0x1a69b8[_0x330c89(0x1e3)]))return undefined;const _0x3e35bf=_0x3db396[_0x330c89(0x20f)]();return _0x1a69b8[_0x330c89(0x245)](_0x3e35bf[_0x330c89(0x281)],0x0)?_0x3e35bf:undefined;},readTestPlanIdFromCliArgs=(_0x40ad62=process[a172_0x5d50fe(0x252)])=>{const _0x3eb2e1=a172_0x5d50fe,_0x506b5b={};_0x506b5b[_0x3eb2e1(0x23a)]=function(_0x1d54da,_0xe0b53e){return _0x1d54da<_0xe0b53e;},_0x506b5b['QVGxd']=function(_0x47e657,_0x52a62a){return _0x47e657===_0x52a62a;},_0x506b5b[_0x3eb2e1(0x25e)]=function(_0x311dff,_0x11ff9c){return _0x311dff+_0x11ff9c;};const _0x2725a3=_0x506b5b,_0x3fbc57='--'+testHubConstants['TEST_MANAGEMENT_TEST_PLAN_ID_ARG'];for(let _0x53ebc1=0x0;_0x2725a3['fINel'](_0x53ebc1,_0x40ad62['length']);_0x53ebc1+=0x1){const _0x5e18a2=_0x40ad62[_0x53ebc1];if(_0x2725a3[_0x3eb2e1(0x1d2)](_0x5e18a2,_0x3fbc57)){const _0x576e76=_0x40ad62[_0x2725a3['kfkYZ'](_0x53ebc1,0x1)];if(!_0x576e76||_0x576e76['startsWith']('--'))return undefined;return _0x576e76;}if(_0x5e18a2[_0x3eb2e1(0x264)](_0x3fbc57+'='))return _0x5e18a2[_0x3eb2e1(0x28a)](_0x2725a3[_0x3eb2e1(0x25e)](_0x3fbc57[_0x3eb2e1(0x281)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0xc4f3e9={})=>{const _0x1c3bab=a172_0x5d50fe,_0x2cae1a={'nQUQw':function(_0x56d004,_0x53a40c){return _0x56d004(_0x53a40c);}};return _0x2cae1a['nQUQw'](normalizeTestPlanId,_0xc4f3e9&&_0xc4f3e9[_0x1c3bab(0x20b)]&&_0xc4f3e9[_0x1c3bab(0x20b)][_0x1c3bab(0x22a)]);};exports['getTestPlanId']=(_0x30107f={},_0x8b9951=process['argv'],_0x1f57ed=process['env'])=>{const _0x3ce931=a172_0x5d50fe,_0x1806ec={'CVkUM':function(_0x405f78,_0x4a8cbe){return _0x405f78(_0x4a8cbe);},'VstAE':function(_0x3665ea,_0x432aa7){return _0x3665ea(_0x432aa7);}};try{const _0x4ee5d5=_0x1806ec['CVkUM'](normalizeTestPlanId,_0x1806ec[_0x3ce931(0x25f)](readTestPlanIdFromCliArgs,_0x8b9951));if(_0x4ee5d5)return _0x4ee5d5;const _0x14190e=_0x1806ec[_0x3ce931(0x25f)](normalizeTestPlanId,_0x1f57ed&&_0x1f57ed[testHubConstants[_0x3ce931(0x25c)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x14190e)return _0x14190e;return _0x1806ec[_0x3ce931(0x1cd)](readTestPlanIdFromConfig,_0x30107f);}catch(_0x51c9b9){return logger[_0x3ce931(0x253)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x51c9b9&&_0x51c9b9[_0x3ce931(0x239)]?_0x51c9b9[_0x3ce931(0x239)]:_0x51c9b9)),undefined;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a173_0x1d90(_0x17ee62,_0x4f9e27){const _0x1ad6fa=a173_0x1ad6();return a173_0x1d90=function(_0x1d90b3,_0x2e0d79){_0x1d90b3=_0x1d90b3-0xc2;let _0x37d14a=_0x1ad6fa[_0x1d90b3];return _0x37d14a;},a173_0x1d90(_0x17ee62,_0x4f9e27);}const a173_0x56a748=a173_0x1d90;(function(_0x5289e9,_0x47ff3a){const _0x44e5e2=a173_0x1d90,_0x4583d6=_0x5289e9();while(!![]){try{const _0x30d39c=-parseInt(_0x44e5e2(0xc8))/0x1+parseInt(_0x44e5e2(0xcc))/0x2*(-parseInt(_0x44e5e2(0xd0))/0x3)+-parseInt(_0x44e5e2(0xcb))/0x4*(parseInt(_0x44e5e2(0xc6))/0x5)+-parseInt(_0x44e5e2(0xd2))/0x6+-parseInt(_0x44e5e2(0xca))/0x7*(-parseInt(_0x44e5e2(0xc2))/0x8)+parseInt(_0x44e5e2(0xc4))/0x9+parseInt(_0x44e5e2(0xc5))/0xa*(parseInt(_0x44e5e2(0xc7))/0xb);if(_0x30d39c===_0x47ff3a)break;else _0x4583d6['push'](_0x4583d6['shift']());}catch(_0x55a9bc){_0x4583d6['push'](_0x4583d6['shift']());}}}(a173_0x1ad6,0xc7582));function a173_0x1ad6(){const _0x3539f0=['4jlewge','uAeGL','XZEgT','cancel','1698693vWGzjI','EoJkG','7261374dUhYKJ','431464rspkzP','./utilities','5541984DOtaIh','10NWOPXT','15DwaIta','38446925hdZaoN','546809fjZTeV','exports','21BYvYmy','755648mEzfan'];a173_0x1ad6=function(){return _0x3539f0;};return a173_0x1ad6();}const utilities=require(a173_0x56a748(0xc3));module[a173_0x56a748(0xc9)]=(_0x33357e,_0x36f46e,_0x365e44,_0x53009a,_0x51da99,_0x313c72)=>{const _0x5dc7ea=a173_0x56a748,_0x37238e={'XZEgT':function(_0x1f6f12,_0x52c06a){return _0x1f6f12-_0x52c06a;},'uAeGL':function(_0x41c370,_0x29e69f){return _0x41c370(_0x29e69f);},'EoJkG':function(_0x45360b,_0x856401,_0x51c50c){return _0x45360b(_0x856401,_0x51c50c);},'sTBxn':function(_0x470b4f,_0x5e092c){return _0x470b4f(_0x5e092c);}};let _0x5e63dc,_0x534dd6=![];const _0xa96384=new Promise((_0x205f70,_0x791ec9)=>{const _0x31d7fd=a173_0x1d90;_0x5e63dc=_0x37238e[_0x31d7fd(0xd1)](setTimeout,()=>{const _0x25a809=_0x31d7fd;if(!_0x534dd6){const _0x2b52dd={'status':''+_0x36f46e,'timeTaken':_0x37238e[_0x25a809(0xce)](new Date(),_0x53009a)};utilities['fireFunnelTestEvent'](_0x365e44,_0x2b52dd,_0x51da99,_0x313c72),_0x37238e[_0x25a809(0xcd)](_0x791ec9,new Error(_0x36f46e));}},_0x33357e);});return _0xa96384[_0x5dc7ea(0xcf)]=()=>{_0x534dd6=!![],_0x37238e['sTBxn'](clearTimeout,_0x5e63dc);},_0xa96384;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a174_0x3adc(_0x911c1c,_0x38006c){const _0x13c56e=a174_0x13c5();return a174_0x3adc=function(_0x3adcf0,_0x370548){_0x3adcf0=_0x3adcf0-0xda;let _0x374349=_0x13c56e[_0x3adcf0];return _0x374349;},a174_0x3adc(_0x911c1c,_0x38006c);}function a174_0x13c5(){const _0x58f092=['9587rxffns','browserStackConfig','mCvcy','browserVersion','util','playwrightVersion','getPackageVersion','AYnUX','Zhwen','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','YHTNj','unknown','assign','getGlobal','../helpers/testhub/constants','X_OK','trim','buildName','setReadWriteExecuteAccess','globalException','browser','isAppAutomateSession','getNodeAgent','user_killed','CiQjZ','../bin/utils/constants','selenium-webdriver','KogVZ','JMNLF','3846552bvITOT','all','wcGcL','fireFunnelTestEvent','application/json','event_properties','YehaR','requirePWModule','9601879NLNNpx','hubAllocation','finalExecution','../bin/playwright/reporter/pwUtils','dZVdx','2816166vfKiOF','getStackTraceAsString','env','APP_AUTOMATE_PRODUCTS','sdkRunId','info','format','wmFbi','[REDACTED]','bVFZk','bbKQZ','./performance/performance-tester','every','isNullOrEmpty','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','accessSync','null','snGqi','sanitizeBrowserStackConfig','constants','source','framework','getOptimalHubUrl','22RFpiRT','chmodSync','mbdGx','isBrowserstackInfra','zCTXA','OZplj','DxZdy','BROWSERSTACK_TESTHUB_UUID','hostname','\x20has\x20now\x20read/write/execute\x20permissions.','errorMessage','POST','naUAv','reduce','_buildHashedId','forEach','seleniumVersion','debug','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','stack','type','QRXPZ','2712112YUHmPe','version','NzfOW','push','Directory\x20','error','vyGPJ','undefined','\x20:\x20','3805190kvuebL','nodejs','isModifiable','zDDtL','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','blNCu','YqugA','osVersion','AUTOMATE_PRODUCTS','nodeRequest','APP_AUTOMATE','Failed\x20to\x20set\x20directory\x20access:\x20','_hubAllocationData','getAccessKey','length','codeceptjs','getBuildLink','getTurboScaleBuildLink','toString','Vxsry','LLjQn','3552948FXtQzw','object','config','tkxfP','join','CuFrU','killSignal','content-type','values','Playwright','getTurboScaleSessionsList','stringify','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','apply','SDK\x20run\x20ended\x20for\x20id:\x20','replace','Ysats','MRylG','tests','unhandledErrors','AUTOMATE','getUserName','ITFen','isTurboScaleSession','name','getTestFrameworkDetails'];a174_0x13c5=function(){return _0x58f092;};return a174_0x13c5();}const a174_0x1eb0d1=a174_0x3adc;(function(_0x4b4627,_0x153533){const _0x4fca52=a174_0x3adc,_0xee68f5=_0x4b4627();while(!![]){try{const _0x539999=parseInt(_0x4fca52(0x122))/0x1*(parseInt(_0x4fca52(0x163))/0x2)+parseInt(_0x4fca52(0x108))/0x3+-parseInt(_0x4fca52(0x13f))/0x4+-parseInt(_0x4fca52(0xf3))/0x5+-parseInt(_0x4fca52(0x14c))/0x6+parseInt(_0x4fca52(0x147))/0x7+parseInt(_0x4fca52(0xea))/0x8;if(_0x539999===_0x153533)break;else _0xee68f5['push'](_0xee68f5['shift']());}catch(_0x6f968a){_0xee68f5['push'](_0xee68f5['shift']());}}}(a174_0x13c5,0xc55ff));const os=require('os'),util=require(a174_0x1eb0d1(0x126)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require('./logger')['winstonLogger'],constants=require(a174_0x1eb0d1(0x13b)),testHubConstants=require(a174_0x1eb0d1(0x130)),{getTransformPath}=require(a174_0x1eb0d1(0x14a)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a174_0x1eb0d1(0x13b)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a174_0x1eb0d1(0x157)),globals=require('./globals'),helper=require('./helper'),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';exports[a174_0x1eb0d1(0x142)]=async(_0x4ab06d,_0x39ca7c={},_0x31a5c1,_0x6bf923,_0x4dc037=![])=>{const _0x48a27f=a174_0x1eb0d1,_0x4d7f55={'vyGPJ':function(_0x2b6c3a,_0x64d2ec){return _0x2b6c3a===_0x64d2ec;},'kJgZu':_0x48a27f(0x109),'yCgXR':function(_0x3a4148,_0xfc785d){return _0x3a4148>_0xfc785d;},'tkxfP':function(_0x5b3b65,_0x572359){return _0x5b3b65>_0x572359;},'mbdGx':'tests','YHTNj':function(_0x4761f3){return _0x4761f3();},'snGqi':function(_0x328bd3){return _0x328bd3();},'Vxsry':function(_0x260e3d,_0x3655a9){return _0x260e3d==_0x3655a9;},'JoqZs':_0x48a27f(0x15c),'mCvcy':function(_0x43f033,_0x184dc4){return _0x43f033===_0x184dc4;},'YehaR':_0x48a27f(0xf1),'Ysats':function(_0x2ed3a4,_0x2db15f){return _0x2ed3a4>_0x2db15f;},'NzfOW':_0x48a27f(0x102),'zDDtL':function(_0x445674,_0x5cce8d){return _0x445674!==_0x5cce8d;},'wmFbi':_0x48a27f(0x111),'YqugA':function(_0x55ec69,_0x467e2b){return _0x55ec69===_0x467e2b;},'dZVdx':_0x48a27f(0xef),'fkjII':function(_0x4ea5c8,_0x48d4ef){return _0x4ea5c8>_0x48d4ef;},'MRylG':function(_0x4bf82b,_0x428f43){return _0x4bf82b+_0x428f43;},'psSrT':_0x48a27f(0xf7),'CuFrU':_0x48a27f(0xe2),'dEgZs':function(_0x445a13,_0x743d98){return _0x445a13(_0x743d98);},'QRXPZ':function(_0x57819d,_0x59d97b){return _0x57819d(_0x59d97b);},'blNCu':_0x48a27f(0x12d),'DxZdy':_0x48a27f(0xf4),'naUAv':'SDKTestSuccessful','OZplj':_0x48a27f(0x13c),'LLjQn':_0x48a27f(0x143),'zCTXA':_0x48a27f(0x154),'JUEbI':_0x48a27f(0xdf)};let _0x169d8d=[];if(helper[_0x48a27f(0x166)]()&&_0x4d7f55[_0x48a27f(0x12c)](isTestObservabilitySession))_0x169d8d=helper[_0x48a27f(0x137)](_0x31a5c1)?constants[_0x48a27f(0x14f)]:constants[_0x48a27f(0xfb)];else{if(_0x4d7f55[_0x48a27f(0x15d)](isTestObservabilitySession))_0x169d8d=constants[_0x48a27f(0xe6)];else helper[_0x48a27f(0x166)]()&&(_0x169d8d=helper['isAppAutomateSession'](_0x31a5c1)?constants[_0x48a27f(0xfd)]:constants[_0x48a27f(0x11c)]);}let _0xedd2e5=_0x31a5c1['buildIdentifier'];if(_0x4d7f55[_0x48a27f(0x106)](_0xedd2e5,null))_0xedd2e5=_0x4d7f55['JoqZs'];else _0x4d7f55[_0x48a27f(0x124)](_0xedd2e5,undefined)&&(_0xedd2e5=_0x4d7f55[_0x48a27f(0x145)]);unhandledErrors&&_0x4d7f55[_0x48a27f(0x118)](unhandledErrors[_0x48a27f(0x101)],0x0)&&(_0x39ca7c[_0x48a27f(0x135)]=unhandledErrors);global['sdkRunId']&&(_0x39ca7c[_0x48a27f(0x150)]=global[_0x48a27f(0x150)]);try{if(_0x39ca7c[_0x48a27f(0xef)]){if(_0x4d7f55[_0x48a27f(0x124)](_0x6bf923,_0x4d7f55[_0x48a27f(0xec)])&&_0x4d7f55['yCgXR'](_0x39ca7c[_0x48a27f(0xef)][_0x48a27f(0x101)],0x0)){const _0x1f6242={};_0x1f6242['os']='',_0x1f6242['osVersion']='',_0x1f6242['browser']='',_0x1f6242['browserVersion']='';const _0x5981d3=_0x1f6242;let _0x49f1a4={};const _0x3fcfe4=_0x39ca7c['error'];_0x49f1a4=_0x3fcfe4[_0x48a27f(0xe1)]((_0x1154d3,_0x3857a8)=>{for(const _0x3dc3bb in _0x3857a8){_0x1154d3[_0x3dc3bb]=_0x3857a8[_0x3dc3bb];}return _0x1154d3;},{});const _0x3f964b={};_0x3f964b[_0x48a27f(0x11a)]=_0x49f1a4,_0x39ca7c['error']=[Object[_0x48a27f(0x12e)]({},_0x5981d3,_0x3f964b)];}else{let _0x2c732c=0x0;const _0xa92983=_0x4d7f55[_0x48a27f(0xf6)](_0x6bf923,_0x4d7f55[_0x48a27f(0x153)])?JSON['parse'](_0x39ca7c[_0x48a27f(0xef)]):_0x39ca7c['error'],_0x4de9ec=Object[_0x48a27f(0x110)](_0xa92983);_0x4de9ec[_0x48a27f(0xe3)](_0x3335b0=>{const _0x1e2f99=_0x48a27f;if(_0x4d7f55[_0x1e2f99(0xf0)](typeof _0x3335b0,_0x4d7f55['kJgZu'])){const _0x459705=Object[_0x1e2f99(0x110)](_0x3335b0);!_0x459705[_0x1e2f99(0x158)](_0xb19a8c=>_0xb19a8c===null||_0xb19a8c===undefined||_0xb19a8c==='')&&(_0x2c732c+=0x1);}});if(_0x4d7f55[_0x48a27f(0xf9)](_0x2c732c,0x0))delete _0x39ca7c[_0x4d7f55[_0x48a27f(0x14b)]];else{const _0x11bfb0=[];Object['keys'](_0xa92983)[_0x48a27f(0xe3)](_0x3c3b44=>{const _0x16b9ea=_0x48a27f,[_0x170c15,_0xeb2593,_0x28699f,_0x353a45]=_0x3c3b44['split'](',\x20');let _0x1410e3={};if(!_0x353a45){const _0x2ca573={};_0x2ca573['deviceName']=_0x170c15,_0x2ca573[_0x16b9ea(0xfa)]=_0xeb2593,_0x2ca573[_0x16b9ea(0x136)]=_0x28699f,_0x1410e3=_0x2ca573;}else{const _0x45f80d={};_0x45f80d['os']=_0x170c15,_0x45f80d[_0x16b9ea(0xfa)]=_0xeb2593,_0x45f80d[_0x16b9ea(0x136)]=_0x28699f,_0x45f80d[_0x16b9ea(0x125)]=_0x353a45,_0x1410e3=_0x45f80d;}const _0x311320={},_0x466950=_0xa92983[_0x3c3b44];Object['keys'](_0x466950)[_0x16b9ea(0xe3)](_0x44c8c4=>{const _0x3f5289=_0x16b9ea;_0x4d7f55['yCgXR'](_0x466950[_0x44c8c4][_0x3f5289(0x101)],0x0)&&(_0x311320[_0x44c8c4]=_0x466950[_0x44c8c4]);}),_0x4d7f55[_0x16b9ea(0x10b)](Object['keys'](_0x311320)[_0x16b9ea(0x101)],0x0)&&(_0x1410e3[_0x4d7f55[_0x16b9ea(0x165)]]=_0x311320,_0x11bfb0[_0x16b9ea(0xed)](_0x1410e3));}),_0x4d7f55['fkjII'](_0x11bfb0[_0x48a27f(0x101)],0x0)?_0x39ca7c[_0x48a27f(0xef)]=_0x11bfb0:delete _0x39ca7c[_0x4d7f55[_0x48a27f(0x14b)]];}}}}catch(_0x3a82fa){delete _0x39ca7c[_0x4d7f55[_0x48a27f(0x14b)]],logger[_0x48a27f(0xe5)](_0x4d7f55[_0x48a27f(0x119)](_0x4d7f55['psSrT'],_0x3a82fa));}const _0x5f2cc9=helper[_0x48a27f(0x121)](_0x31a5c1,_0x31a5c1['framework']),_0x174f92={'userName':helper['getUserName'](_0x31a5c1),'accessKey':helper[_0x48a27f(0x100)](_0x31a5c1),'event_type':_0x4ab06d,'detectedFramework':_0x6bf923,'buildHashedId':globals[_0x48a27f(0x12f)](_0x4d7f55[_0x48a27f(0x10d)]),'optimalHubUrl':helper[_0x48a27f(0x162)](),'event_properties':{'testhub_uuid':process[_0x48a27f(0x14e)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global['sdkRunId'],'product_map':_0x4d7f55['dEgZs'](getProductMap,_0x31a5c1),'productMap':_0x4d7f55[_0x48a27f(0xe9)](getProductMap,_0x31a5c1),'language_framework':_0x31a5c1[_0x48a27f(0x160)]||_0x4d7f55[_0x48a27f(0xf8)],'referrer':helper[_0x48a27f(0x138)](_0x6bf923),'framework':_0x31a5c1[_0x48a27f(0x161)],'frameworkVersion':helper['getFrameworkVersion'](_0x6bf923),'automationFramework':_0x5f2cc9[_0x48a27f(0x120)],'automationFrameworkVersion':_0x5f2cc9[_0x48a27f(0xeb)],'language':_0x4d7f55[_0x48a27f(0xda)],'languageVersion':process[_0x48a27f(0xeb)],'product':_0x169d8d,'buildName':_0x31a5c1[_0x48a27f(0x133)]||_0x4d7f55['YehaR'],'buildIdentifier':_0xedd2e5,'os':os[_0x48a27f(0xe8)]()||_0x4d7f55['blNCu'],'hostname':os[_0x48a27f(0xdc)]()||_0x4d7f55['blNCu'],..._0x39ca7c,'isCLIEnabled':_0x4dc037}};try{_0x4d7f55[_0x48a27f(0xf0)](_0x4ab06d,_0x4d7f55[_0x48a27f(0xe0)])&&(_0x174f92['event_properties'][_0x48a27f(0x123)]=helper[_0x48a27f(0x15e)](_0x31a5c1)),_0x4d7f55[_0x48a27f(0xf9)](_0x6bf923,_0x4d7f55[_0x48a27f(0x153)])?_0x174f92[_0x48a27f(0x144)][_0x48a27f(0x127)]=helper[_0x48a27f(0x146)][_0x48a27f(0x115)](null,_0x4d7f55[_0x48a27f(0x15d)](getTransformPath),!![]):_0x174f92[_0x48a27f(0x144)][_0x48a27f(0xe4)]=helper[_0x48a27f(0x128)](_0x4d7f55[_0x48a27f(0x168)]);}catch(_0x53f711){logger[_0x48a27f(0xe5)](_0x48a27f(0x114)+_0x53f711);}const _0x2fa45e={};_0x2fa45e[_0x48a27f(0x10f)]=_0x4d7f55[_0x48a27f(0x107)];const _0xafa250={'headers':_0x2fa45e,'body':_0x174f92,'auth':{'user':helper[_0x48a27f(0x11d)](_0x31a5c1),'pass':helper[_0x48a27f(0x100)](_0x31a5c1)},'json':!![]};logger[_0x48a27f(0xe5)](_0x48a27f(0x15a)+JSON[_0x48a27f(0x113)](_0xafa250['body'])[_0x48a27f(0x117)](new RegExp(helper['getUserName'](_0x31a5c1),'g'),_0x4d7f55[_0x48a27f(0x167)])[_0x48a27f(0x117)](new RegExp(helper['getAccessKey'](_0x31a5c1),'g'),_0x4d7f55[_0x48a27f(0x167)]));try{const _0x430fa9=await helper[_0x48a27f(0xfc)](_0x4d7f55['JUEbI'],FUNNEL_INSTRUMENTATION_API_URL,_0xafa250,_0x31a5c1);logger[_0x48a27f(0xe5)]('API\x20Event\x20'+_0x4ab06d+'\x20response\x20-\x20'+util['format']('%j',_0x430fa9));}catch(_0x94a25e){logger[_0x48a27f(0xe5)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x48a27f(0xf2)+util[_0x48a27f(0x152)](_0x94a25e));}},exports[a174_0x1eb0d1(0x149)]=async(_0x4502d5,_0x41fb4c=![])=>{const _0x43372b=a174_0x1eb0d1,_0x289bb0={'ITFen':function(_0x4b41e0){return _0x4b41e0();},'XEdvf':_0x43372b(0xff),'MSjWh':'finishedMetadata','JMNLF':_0x43372b(0x139),'KogVZ':'SDKTestSuccessful','bbKQZ':function(_0x53ba6f,_0x4f07c7,_0xc22e07){return _0x53ba6f(_0x4f07c7,_0xc22e07);},'mpYrW':function(_0x462e33,_0x3426e4){return _0x462e33+_0x3426e4;},'bVFZk':_0x43372b(0x12b)};try{await _0x4502d5['stopPercy'](),_0x289bb0[_0x43372b(0x11e)](printNudgeLocalNotSetError);const _0x3d8aa9={};_0x3d8aa9['error']=_0x4502d5[_0x43372b(0xde)]?_0x4502d5['errorMessage']:'{}';const _0x47f19a=_0x3d8aa9,_0x157bc7=Object[_0x43372b(0x12e)]({},_0x47f19a),_0xddfce4=globals[_0x43372b(0x12f)](_0x289bb0['XEdvf']);_0xddfce4&&(_0x157bc7[_0x43372b(0x148)]=_0xddfce4);!!_0x4502d5[_0x43372b(0x10e)]&&(_0x157bc7[_0x289bb0['MSjWh']]={'reason':_0x289bb0[_0x43372b(0x13e)],'signal':_0x4502d5['killSignal']});unhandledErrors=_0x4502d5[_0x43372b(0x11b)][_0x43372b(0x10c)]('\x0a');let _0x4c0324,_0x5a36e9,_0x2c109d;helper[_0x43372b(0x11f)](_0x4502d5[_0x43372b(0x10a)])?([_0x4c0324,_0x5a36e9]=await helper[_0x43372b(0x104)](_0x4502d5['config']),[_0x2c109d]=await Promise[_0x43372b(0x140)]([helper[_0x43372b(0x112)](_0x4c0324,_0x4502d5[_0x43372b(0x10a)]),exports[_0x43372b(0x142)](_0x289bb0[_0x43372b(0x13d)],_0x157bc7,_0x4502d5[_0x43372b(0x10a)],_0x4502d5[_0x43372b(0x161)],_0x41fb4c)])):([_0x4c0324,_0x5a36e9]=await helper[_0x43372b(0x103)](_0x4502d5[_0x43372b(0x10a)]),[_0x2c109d]=await Promise[_0x43372b(0x140)]([helper['getSessionsList'](_0x4c0324,_0x4502d5[_0x43372b(0x10a)]),exports[_0x43372b(0x142)](_0x289bb0[_0x43372b(0x13d)],_0x157bc7,_0x4502d5[_0x43372b(0x10a)],_0x4502d5[_0x43372b(0x161)],_0x41fb4c)])),_0x2c109d&&await _0x289bb0[_0x43372b(0x156)](generateCIArtifacts,_0x2c109d,_0x5a36e9),logger[_0x43372b(0x151)](_0x43372b(0x116)+_0x4502d5[_0x43372b(0x150)]+',\x20testhub\x20id:\x20'+process[_0x43372b(0x14e)][_0x43372b(0xdb)]),await helper['sendLogs'](_0x4502d5[_0x43372b(0x10a)]);}catch(_0x747161){logger['debug'](_0x289bb0['mpYrW'](_0x289bb0[_0x43372b(0x155)],_0x747161));}helper['notifyUpdate']();},exports[a174_0x1eb0d1(0x14d)]=_0x14eeef=>{const _0x39b829=a174_0x1eb0d1,_0x4ba5cb={'AYnUX':function(_0x3bde37,_0x14a317){return _0x3bde37 instanceof _0x14a317;},'Zhwen':function(_0x18b07f,_0x310727){return _0x18b07f(_0x310727);}};try{if(_0x4ba5cb[_0x39b829(0x129)](_0x14eeef,Error))return _0x14eeef[_0x39b829(0xe7)]||_0x14eeef[_0x39b829(0x105)]();return _0x4ba5cb[_0x39b829(0x12a)](String,_0x14eeef);}catch(_0x358170){return _0x14eeef?_0x14eeef['toString']():'';}},exports[a174_0x1eb0d1(0x159)]=_0x22b5a3=>{const _0x3c3a5d=a174_0x1eb0d1,_0x1066a8={};_0x1066a8[_0x3c3a5d(0x13a)]=function(_0x576836,_0x2d16af){return _0x576836===_0x2d16af;};const _0x54bfec=_0x1066a8;return!_0x22b5a3||_0x54bfec['CiQjZ'](_0x22b5a3[_0x3c3a5d(0x132)](),'');},exports[a174_0x1eb0d1(0xf5)]=_0x144295=>{const _0x327fa4=a174_0x1eb0d1,_0x1b4f91={};_0x1b4f91[_0x327fa4(0x141)]=function(_0x47f1fc,_0x19f703){return _0x47f1fc|_0x19f703;};const _0x530a19=_0x1b4f91;try{return fs[_0x327fa4(0x15b)](_0x144295,_0x530a19[_0x327fa4(0x141)](fs[_0x327fa4(0x15f)]['W_OK'],fs[_0x327fa4(0x15f)][_0x327fa4(0x131)])),!![];}catch(_0x1656ba){return![];}},exports[a174_0x1eb0d1(0x134)]=_0x10d6e1=>{const _0x2742c8=a174_0x1eb0d1;try{fs[_0x2742c8(0x164)](_0x10d6e1,0x1ff),logger[_0x2742c8(0xe5)](_0x2742c8(0xee)+_0x10d6e1+_0x2742c8(0xdd));}catch(_0x5f109f){logger['error'](_0x2742c8(0xfe)+exports[_0x2742c8(0x14d)](_0x5f109f));}};
|
|
1
|
+
const a174_0x7dafc5=a174_0x5164;function a174_0x5164(_0x221866,_0x4412f7){const _0x14ee5f=a174_0x14ee();return a174_0x5164=function(_0x5164fc,_0x3e5ec1){_0x5164fc=_0x5164fc-0x161;let _0x413a87=_0x14ee5f[_0x5164fc];return _0x413a87;},a174_0x5164(_0x221866,_0x4412f7);}(function(_0x2dc01f,_0x94e1d0){const _0x3a5202=a174_0x5164,_0x5619c9=_0x2dc01f();while(!![]){try{const _0x2e02bd=-parseInt(_0x3a5202(0x171))/0x1+parseInt(_0x3a5202(0x18b))/0x2+-parseInt(_0x3a5202(0x187))/0x3*(parseInt(_0x3a5202(0x164))/0x4)+-parseInt(_0x3a5202(0x186))/0x5+parseInt(_0x3a5202(0x197))/0x6*(-parseInt(_0x3a5202(0x190))/0x7)+-parseInt(_0x3a5202(0x184))/0x8*(-parseInt(_0x3a5202(0x199))/0x9)+parseInt(_0x3a5202(0x19a))/0xa*(parseInt(_0x3a5202(0x181))/0xb);if(_0x2e02bd===_0x94e1d0)break;else _0x5619c9['push'](_0x5619c9['shift']());}catch(_0x66e33c){_0x5619c9['push'](_0x5619c9['shift']());}}}(a174_0x14ee,0x8fb08));function a174_0x14ee(){const _0x3f06cc=['getGlobal','\x20:\x20','sanitizeBrowserStackConfig','stringify','sdkRunId','\x20response\x20-\x20','aThZG','config','nQjnF','APP_AUTOMATE','isTurboScaleSession','notifyUpdate','[REDACTED]','mimce','BROWSERSTACK_TESTHUB_UUID','application/json','Error\x20in\x20firing\x20request\x20to\x20','browserVersion','parse','null','getAccessKey','version','SDK\x20run\x20ended\x20for\x20id:\x20','event_properties','object','SInYv','assign','util','keys','AQGin','UASLI','errorMessage','framework','YUWHU','BieOx','stack','fireFunnelTestEvent','YGFxe','requirePWModule','qNMBu','all','PcnTW','sendLogs','seleniumVersion','tests','SDKTestSuccessful','X_OK','getOptimalHubUrl','browser','debug','./logger','content-type','getUserName','body','accessSync','qsdtV','forEach','format','gfToz','browserStackConfig','120660VikaAJ','error','APP_AUTOMATE_PRODUCTS','alDdF','nodejs','buildIdentifier','hubAllocation','uqNcF','dvaqc','getPackageVersion','playwrightVersion','./testhub/utils','unhandledErrors','1069756LUoetU','Failed\x20to\x20set\x20directory\x20access:\x20','every','type','W_OK','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','iHNox','join','isBrowserstackInfra','buildName','constants','push','globalException','gZPFe','getBuildLink','isAppAutomateSession','132cKzYOP','../bin/utils/constants','rxqGU','128zXRZFP','info','5220475uRWRJQ','102DZkyCK','bYsxj','killSignal','reduce','1668662Geozms','\x20has\x20now\x20read/write/execute\x20permissions.','dktHF','./helper','GTZib','14VNpTfC','GvMeH','name','trim','selenium-webdriver','BxHjB','length','3269202XiTQBZ','_buildHashedId','222165IiKNjn','2990380tJeouZ','osVersion','chmodSync','user_killed','sQBEO','nodeRequest','uFWJB','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','source','toString','deviceName','Rdfkl','getNodeAgent','replace','stopPercy','getStackTraceAsString','RaEpU','AUTOMATE','./test-observability/utils','API\x20Event\x20','ENV_VAR','hostname','sCRtp','mbpNf','undefined','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','Playwright','split','JWHII','getTurboScaleSessionsList','OVeQF','gWfOv','getTestFrameworkDetails','unknown','values','winstonLogger','yDBvz','AUTOMATE_PRODUCTS','yTBGr'];a174_0x14ee=function(){return _0x3f06cc;};return a174_0x14ee();}const os=require('os'),util=require(a174_0x7dafc5(0x1dc)),fs=require('fs'),{getProductMap}=require(a174_0x7dafc5(0x16f)),logger=require(a174_0x7dafc5(0x1f3))[a174_0x7dafc5(0x1bd)],constants=require(a174_0x7dafc5(0x182)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a174_0x7dafc5(0x182)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a174_0x7dafc5(0x18e)),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a174_0x7dafc5(0x18e)),{isTestObservabilitySession}=require(a174_0x7dafc5(0x1ac));let unhandledErrors='';exports[a174_0x7dafc5(0x1e5)]=async(_0x1acf6a,_0x5685e9={},_0x160c6d,_0x30a0ea,_0x31f7ef=![])=>{const _0x429043=a174_0x7dafc5,_0x8a0a6f={'aThZG':function(_0xc60dd4,_0x3eeab){return _0xc60dd4===_0x3eeab;},'qsdtV':_0x429043(0x1d9),'iHNox':function(_0x5c26c9,_0x5ac3a3){return _0x5c26c9>_0x5ac3a3;},'alDdF':_0x429043(0x1ed),'NLGoc':function(_0x275057){return _0x275057();},'GTZib':function(_0x2cfe09){return _0x2cfe09();},'uqNcF':function(_0x3326bb,_0x30598f){return _0x3326bb==_0x30598f;},'qNMBu':_0x429043(0x1d4),'rxqGU':_0x429043(0x1b2),'JWHII':function(_0x1bd7f2,_0x5dc86e){return _0x1bd7f2>_0x5dc86e;},'ImqBi':'codeceptjs','YGFxe':function(_0x3ef9fc,_0xde53a3){return _0x3ef9fc>_0xde53a3;},'OvEvc':function(_0x355ad5,_0x2fd7e2){return _0x355ad5!==_0x2fd7e2;},'dktHF':_0x429043(0x1b4),'yTBGr':_0x429043(0x165),'RaEpU':function(_0x3b71b8,_0x5d84db){return _0x3b71b8>_0x5d84db;},'nQjnF':function(_0x3d0fa5,_0x2fc306){return _0x3d0fa5+_0x2fc306;},'uFWJB':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','Rdfkl':_0x429043(0x198),'mimce':function(_0x467974,_0x108a44){return _0x467974(_0x108a44);},'OVeQF':function(_0x3e32e9,_0x22cc48){return _0x3e32e9(_0x22cc48);},'sQBEO':_0x429043(0x1bb),'bYsxj':_0x429043(0x168),'BxHjB':function(_0x22bbe3,_0x52d57e){return _0x22bbe3===_0x52d57e;},'gWfOv':_0x429043(0x1ee),'UASLI':function(_0x2689d8,_0x4ddc8a){return _0x2689d8===_0x4ddc8a;},'dvaqc':function(_0x553fb0){return _0x553fb0();},'RqoSA':_0x429043(0x194),'yDBvz':_0x429043(0x1d0),'BieOx':_0x429043(0x1cd),'AQGin':'POST'};let _0x3356c3=[];if(helper[_0x429043(0x179)]()&&_0x8a0a6f['NLGoc'](isTestObservabilitySession))_0x3356c3=helper['isAppAutomateSession'](_0x160c6d)?constants[_0x429043(0x166)]:constants[_0x429043(0x1bf)];else{if(_0x8a0a6f[_0x429043(0x18f)](isTestObservabilitySession))_0x3356c3=constants[_0x429043(0x1b3)];else helper['isBrowserstackInfra']()&&(_0x3356c3=helper[_0x429043(0x180)](_0x160c6d)?constants[_0x429043(0x1ca)]:constants[_0x429043(0x1ab)]);}let _0x1f0846=_0x160c6d[_0x429043(0x169)];if(_0x8a0a6f[_0x429043(0x16b)](_0x1f0846,null))_0x1f0846=_0x8a0a6f[_0x429043(0x1e8)];else _0x8a0a6f[_0x429043(0x1c7)](_0x1f0846,undefined)&&(_0x1f0846=_0x8a0a6f[_0x429043(0x183)]);unhandledErrors&&_0x8a0a6f[_0x429043(0x1b6)](unhandledErrors[_0x429043(0x196)],0x0)&&(_0x5685e9[_0x429043(0x17d)]=unhandledErrors);global[_0x429043(0x1c5)]&&(_0x5685e9['sdkRunId']=global[_0x429043(0x1c5)]);try{if(_0x5685e9[_0x429043(0x165)]){if(_0x8a0a6f[_0x429043(0x1c7)](_0x30a0ea,_0x8a0a6f['ImqBi'])&&_0x8a0a6f[_0x429043(0x1e6)](_0x5685e9[_0x429043(0x165)]['length'],0x0)){const _0x54ce4c={};_0x54ce4c['os']='',_0x54ce4c[_0x429043(0x19b)]='',_0x54ce4c[_0x429043(0x1f1)]='',_0x54ce4c['browserVersion']='';const _0x50de90=_0x54ce4c;let _0x1b44e1={};const _0x6e2a96=_0x5685e9[_0x429043(0x165)];_0x1b44e1=_0x6e2a96[_0x429043(0x18a)]((_0x913be5,_0x355a24)=>{for(const _0x539248 in _0x355a24){_0x913be5[_0x539248]=_0x355a24[_0x539248];}return _0x913be5;},{});const _0x24c8a5={};_0x24c8a5[_0x429043(0x1ed)]=_0x1b44e1,_0x5685e9[_0x429043(0x165)]=[Object[_0x429043(0x1db)]({},_0x50de90,_0x24c8a5)];}else{let _0x113ddb=0x0;const _0x5ae309=_0x8a0a6f['OvEvc'](_0x30a0ea,_0x8a0a6f['dktHF'])?JSON[_0x429043(0x1d3)](_0x5685e9[_0x429043(0x165)]):_0x5685e9[_0x429043(0x165)],_0x4d2f89=Object['values'](_0x5ae309);_0x4d2f89['forEach'](_0x26e868=>{const _0x26d103=_0x429043;if(_0x8a0a6f[_0x26d103(0x1c7)](typeof _0x26e868,_0x8a0a6f[_0x26d103(0x1f8)])){const _0xdc49bc=Object[_0x26d103(0x1bc)](_0x26e868);!_0xdc49bc[_0x26d103(0x173)](_0x5681cf=>_0x5681cf===null||_0x5681cf===undefined||_0x5681cf==='')&&(_0x113ddb+=0x1);}});if(_0x8a0a6f['aThZG'](_0x113ddb,0x0))delete _0x5685e9[_0x8a0a6f[_0x429043(0x1c0)]];else{const _0x1f7fc0=[];Object[_0x429043(0x1dd)](_0x5ae309)['forEach'](_0x329886=>{const _0x4a08f2=_0x429043,[_0xe9aa33,_0x411fdf,_0x4a3298,_0x53dbf2]=_0x329886[_0x4a08f2(0x1b5)](',\x20');let _0x2b0017={};if(!_0x53dbf2){const _0x30c546={};_0x30c546[_0x4a08f2(0x1a4)]=_0xe9aa33,_0x30c546[_0x4a08f2(0x19b)]=_0x411fdf,_0x30c546[_0x4a08f2(0x1f1)]=_0x4a3298,_0x2b0017=_0x30c546;}else{const _0x274199={};_0x274199['os']=_0xe9aa33,_0x274199[_0x4a08f2(0x19b)]=_0x411fdf,_0x274199[_0x4a08f2(0x1f1)]=_0x4a3298,_0x274199[_0x4a08f2(0x1d2)]=_0x53dbf2,_0x2b0017=_0x274199;}const _0x9dc3a1={},_0x44dc23=_0x5ae309[_0x329886];Object[_0x4a08f2(0x1dd)](_0x44dc23)[_0x4a08f2(0x1f9)](_0x14321d=>{const _0x15f53b=_0x4a08f2;_0x8a0a6f[_0x15f53b(0x177)](_0x44dc23[_0x14321d][_0x15f53b(0x196)],0x0)&&(_0x9dc3a1[_0x14321d]=_0x44dc23[_0x14321d]);}),_0x8a0a6f[_0x4a08f2(0x177)](Object[_0x4a08f2(0x1dd)](_0x9dc3a1)[_0x4a08f2(0x196)],0x0)&&(_0x2b0017[_0x8a0a6f[_0x4a08f2(0x167)]]=_0x9dc3a1,_0x1f7fc0[_0x4a08f2(0x17c)](_0x2b0017));}),_0x8a0a6f[_0x429043(0x1aa)](_0x1f7fc0['length'],0x0)?_0x5685e9[_0x429043(0x165)]=_0x1f7fc0:delete _0x5685e9[_0x8a0a6f['yTBGr']];}}}}catch(_0x5ede4a){delete _0x5685e9[_0x8a0a6f[_0x429043(0x1c0)]],logger[_0x429043(0x1f2)](_0x8a0a6f[_0x429043(0x1c9)](_0x8a0a6f[_0x429043(0x1a0)],_0x5ede4a));}const _0x1289df=helper[_0x429043(0x1ba)](_0x160c6d,_0x160c6d[_0x429043(0x1e1)]),_0x231ea7={'userName':helper['getUserName'](_0x160c6d),'accessKey':helper[_0x429043(0x1d5)](_0x160c6d),'event_type':_0x1acf6a,'detectedFramework':_0x30a0ea,'buildHashedId':globals[_0x429043(0x1c1)](_0x8a0a6f[_0x429043(0x1a5)]),'optimalHubUrl':helper[_0x429043(0x1f0)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x429043(0x1ae)][_0x429043(0x1cf)]]||'','sdkRunId':global[_0x429043(0x1c5)],'product_map':_0x8a0a6f[_0x429043(0x1ce)](getProductMap,_0x160c6d),'productMap':_0x8a0a6f[_0x429043(0x1b8)](getProductMap,_0x160c6d),'language_framework':_0x160c6d[_0x429043(0x1a2)]||_0x8a0a6f[_0x429043(0x19e)],'referrer':helper[_0x429043(0x1a6)](_0x30a0ea),'framework':_0x160c6d[_0x429043(0x1e1)],'frameworkVersion':helper['getFrameworkVersion'](_0x30a0ea),'automationFramework':_0x1289df[_0x429043(0x192)],'automationFrameworkVersion':_0x1289df[_0x429043(0x1d6)],'language':_0x8a0a6f[_0x429043(0x188)],'languageVersion':process['version'],'product':_0x3356c3,'buildName':_0x160c6d[_0x429043(0x17a)]||_0x8a0a6f[_0x429043(0x183)],'buildIdentifier':_0x1f0846,'os':os[_0x429043(0x174)]()||_0x8a0a6f[_0x429043(0x19e)],'hostname':os[_0x429043(0x1af)]()||_0x8a0a6f[_0x429043(0x19e)],..._0x5685e9,'isCLIEnabled':_0x31f7ef}};try{_0x8a0a6f[_0x429043(0x195)](_0x1acf6a,_0x8a0a6f[_0x429043(0x1b9)])&&(_0x231ea7[_0x429043(0x1d8)][_0x429043(0x163)]=helper[_0x429043(0x1c3)](_0x160c6d)),_0x8a0a6f[_0x429043(0x1df)](_0x30a0ea,_0x8a0a6f[_0x429043(0x18d)])?_0x231ea7[_0x429043(0x1d8)][_0x429043(0x16e)]=helper[_0x429043(0x1e7)]['apply'](null,_0x8a0a6f[_0x429043(0x16c)](getTransformPath),!![]):_0x231ea7[_0x429043(0x1d8)][_0x429043(0x1ec)]=helper[_0x429043(0x16d)](_0x8a0a6f['RqoSA']);}catch(_0x549e40){logger[_0x429043(0x1f2)]('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0x549e40);}const _0x51b138={};_0x51b138[_0x429043(0x1f4)]=_0x8a0a6f[_0x429043(0x1be)];const _0x386f4b={'headers':_0x51b138,'body':_0x231ea7,'auth':{'user':helper[_0x429043(0x1f5)](_0x160c6d),'pass':helper[_0x429043(0x1d5)](_0x160c6d)},'json':!![]};logger['debug'](_0x429043(0x176)+JSON[_0x429043(0x1c4)](_0x386f4b[_0x429043(0x1f6)])['replace'](new RegExp(helper[_0x429043(0x1f5)](_0x160c6d),'g'),_0x8a0a6f['BieOx'])[_0x429043(0x1a7)](new RegExp(helper[_0x429043(0x1d5)](_0x160c6d),'g'),_0x8a0a6f[_0x429043(0x1e3)]));try{const _0x51fb4a=await helper[_0x429043(0x19f)](_0x8a0a6f[_0x429043(0x1de)],FUNNEL_INSTRUMENTATION_API_URL,_0x386f4b,_0x160c6d);logger[_0x429043(0x1f2)](_0x429043(0x1ad)+_0x1acf6a+_0x429043(0x1c6)+util['format']('%j',_0x51fb4a));}catch(_0x1b8919){logger['debug'](_0x429043(0x1d1)+FUNNEL_INSTRUMENTATION_API_URL+_0x429043(0x1c2)+util[_0x429043(0x161)](_0x1b8919));}},exports['finalExecution']=async(_0x343810,_0x23e4d4=![])=>{const _0x6912b4=a174_0x7dafc5,_0x1f5aeb={'KnOrP':function(_0x3d7ae4){return _0x3d7ae4();},'GvMeH':'_hubAllocationData','vYPof':'finishedMetadata','gZPFe':_0x6912b4(0x19d),'mbpNf':_0x6912b4(0x1ee),'DQcaH':function(_0x29828b,_0x303389,_0x72c843){return _0x29828b(_0x303389,_0x72c843);},'gfToz':function(_0x4b350d,_0x312b9b){return _0x4b350d+_0x312b9b;},'IyFrD':_0x6912b4(0x1a1)};try{await _0x343810[_0x6912b4(0x1a8)](),_0x1f5aeb['KnOrP'](printNudgeLocalNotSetError);const _0x25a03e={};_0x25a03e['error']=_0x343810['errorMessage']?_0x343810[_0x6912b4(0x1e0)]:'{}';const _0x21d6d3=_0x25a03e,_0x1792ea=Object[_0x6912b4(0x1db)]({},_0x21d6d3),_0x3cd606=globals[_0x6912b4(0x1c1)](_0x1f5aeb[_0x6912b4(0x191)]);_0x3cd606&&(_0x1792ea[_0x6912b4(0x16a)]=_0x3cd606);!!_0x343810['killSignal']&&(_0x1792ea[_0x1f5aeb['vYPof']]={'reason':_0x1f5aeb[_0x6912b4(0x17e)],'signal':_0x343810[_0x6912b4(0x189)]});unhandledErrors=_0x343810[_0x6912b4(0x170)][_0x6912b4(0x178)]('\x0a');let _0x3af30f,_0x562b5a,_0x264285;helper[_0x6912b4(0x1cb)](_0x343810[_0x6912b4(0x1c8)])?([_0x3af30f,_0x562b5a]=await helper['getTurboScaleBuildLink'](_0x343810[_0x6912b4(0x1c8)]),[_0x264285]=await Promise['all']([helper[_0x6912b4(0x1b7)](_0x3af30f,_0x343810[_0x6912b4(0x1c8)]),exports[_0x6912b4(0x1e5)](_0x1f5aeb[_0x6912b4(0x1b1)],_0x1792ea,_0x343810[_0x6912b4(0x1c8)],_0x343810[_0x6912b4(0x1e1)],_0x23e4d4)])):([_0x3af30f,_0x562b5a]=await helper[_0x6912b4(0x17f)](_0x343810[_0x6912b4(0x1c8)]),[_0x264285]=await Promise[_0x6912b4(0x1e9)]([helper['getSessionsList'](_0x3af30f,_0x343810[_0x6912b4(0x1c8)]),exports['fireFunnelTestEvent'](_0x1f5aeb[_0x6912b4(0x1b1)],_0x1792ea,_0x343810[_0x6912b4(0x1c8)],_0x343810[_0x6912b4(0x1e1)],_0x23e4d4)])),_0x264285&&await _0x1f5aeb['DQcaH'](generateCIArtifacts,_0x264285,_0x562b5a),logger[_0x6912b4(0x185)](_0x6912b4(0x1d7)+_0x343810['sdkRunId']+',\x20testhub\x20id:\x20'+process['env']['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x6912b4(0x1eb)](_0x343810[_0x6912b4(0x1c8)]);}catch(_0x29edd5){logger[_0x6912b4(0x1f2)](_0x1f5aeb[_0x6912b4(0x162)](_0x1f5aeb['IyFrD'],_0x29edd5));}helper[_0x6912b4(0x1cc)]();},exports[a174_0x7dafc5(0x1a9)]=_0x88909=>{const _0x50a9ed=a174_0x7dafc5,_0x1d0efd={'SInYv':function(_0xead434,_0x255e38){return _0xead434 instanceof _0x255e38;},'sCRtp':function(_0x380e0d,_0x2bb724){return _0x380e0d(_0x2bb724);}};try{if(_0x1d0efd[_0x50a9ed(0x1da)](_0x88909,Error))return _0x88909[_0x50a9ed(0x1e4)]||_0x88909['toString']();return _0x1d0efd[_0x50a9ed(0x1b0)](String,_0x88909);}catch(_0x4bae1e){return _0x88909?_0x88909[_0x50a9ed(0x1a3)]():'';}},exports['isNullOrEmpty']=_0x3c5433=>{const _0x278ca8=a174_0x7dafc5,_0x5d3fa5={};_0x5d3fa5[_0x278ca8(0x1e2)]=function(_0x2d57e1,_0x297785){return _0x2d57e1===_0x297785;};const _0xad3d66=_0x5d3fa5;return!_0x3c5433||_0xad3d66['YUWHU'](_0x3c5433[_0x278ca8(0x193)](),'');},exports['isModifiable']=_0x2801a2=>{const _0xb35b21=a174_0x7dafc5,_0x59a607={};_0x59a607[_0xb35b21(0x1ea)]=function(_0x29b297,_0x36a69f){return _0x29b297|_0x36a69f;};const _0xfd8577=_0x59a607;try{return fs[_0xb35b21(0x1f7)](_0x2801a2,_0xfd8577[_0xb35b21(0x1ea)](fs[_0xb35b21(0x17b)][_0xb35b21(0x175)],fs[_0xb35b21(0x17b)][_0xb35b21(0x1ef)])),!![];}catch(_0x951c15){return![];}},exports['setReadWriteExecuteAccess']=_0x337d3c=>{const _0x5a1089=a174_0x7dafc5;try{fs[_0x5a1089(0x19c)](_0x337d3c,0x1ff),logger[_0x5a1089(0x1f2)]('Directory\x20'+_0x337d3c+_0x5a1089(0x18c));}catch(_0x345cd2){logger[_0x5a1089(0x165)](_0x5a1089(0x172)+exports[_0x5a1089(0x1a9)](_0x345cd2));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a175_0x55af(){var _0x447861=['autoWait','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserstack.seleniumLogs','Xkcqx','Blrks','buildProductMap','VXtGU','browserstack.autoWait','feuKo','BTeIc','browserstack.networkLogs','browserstack.idleTimeout','NsAOF','GGtQJ','project','browserstack.playwrightVersion','seleniumVersion','browserstack.overridelocalInfo.userAuthToken','mHBap','browser_version','overridelocalInfo.localIdentifier','44uziKVE','appiumLogs','buildName','LYySH','858627azLuTP','3033564QlMutL','networkLogsOptions','playwrightVersion','jscAO','jHgKV','browserstack.uploadMedia','Jpobb','browserstack.networkProfile','NXHnG','mawYD','DlHkr','headerParams','OwLSX','HyxGf','browser','homdN','41068MewDvg','browserstack.simOptions','local','telemetryLogs','geoLocation','appiumVersion','accessibilityOptions.scannerProcessingTimeout','XQvnD','110yPeCDN','lXzjd','sessionName','browserstack.appium_version','consoleLogs','7zynYSX','FxwQI','zCaZh','testhubBuildUuid','hsZrw','lDEDk','browserstack.debug','accessibilityOptions.wcagVersion','browserstack.accessibilityOptions.scannerVersion','OxjbB','browserstack.geoLocation','iaUeC','accessibility','browserstack.buildIdentifier','LMMIE','wsLocalSupport','ZNcsw','ScsCt','maskCommands','browserVersion','browserstack.overridelocalInfo.localIdentifier','FrBOG','TKRyT','eDrZd','Okftn','build','networkLogs','browserstack.localIdentifier','accessibilityOptions.includeIssueType.needsReview','browserstack.console','name','W3CMapping','realMobile','browserstack.accessibilityOptions.includeIssueType.needsReview','10090yChBEP','iXQgo','browserstack.disableCorsRestrictions','browserstack.networkLogsOptions','hdHzk','GdTZM','nUbyc','maskBasicAuth','accessibilityOptions.scannerVersion','wlAdj','customNetwork','video','browserstack.maskCommands','eCuOs','8904NqZBcN','hosts','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.bfcache','1223994SzZLEd','resolution','browserstack.key','deviceOrientation','BRgZO','useW3c','pLkMQ','buildIdentifier','oukCz','browserstack.accessibilityOptions.wcagVersion','timezone','browserstack.use_w3c','hZInW','browserstack.enableSim','zzOfr','HJwDm','browserstack.maskBasicAuth','accessibilityOptions.authToken','osVersion','wEgKt','projectName','dyWal','12myYxqt','kBrQS','2347040rRtzlw','browserstack.local','deviceName','cjRUg','browserstack.accessibilityOptions.authToken','browserstack.user','531weChGX','enableSim','os_version','MRCna','iDawb','NGsuN','AzPwM','CdfrZ','userName'];a175_0x55af=function(){return _0x447861;};return a175_0x55af();}var a175_0x53dcb9=a175_0x1bf1;function a175_0x1bf1(_0x382cbb,_0x58b26d){var _0x55afb1=a175_0x55af();return a175_0x1bf1=function(_0x1bf152,_0x52d9b3){_0x1bf152=_0x1bf152-0xe1;var _0x388cd9=_0x55afb1[_0x1bf152];return _0x388cd9;},a175_0x1bf1(_0x382cbb,_0x58b26d);}(function(_0x4ac9e4,_0x325627){var _0x5a5f97=a175_0x1bf1,_0x63bdce=_0x4ac9e4();while(!![]){try{var _0x2ec27f=parseInt(_0x5a5f97(0xed))/0x1*(-parseInt(_0x5a5f97(0x165))/0x2)+-parseInt(_0x5a5f97(0x117))/0x3+-parseInt(_0x5a5f97(0x128))/0x4*(-parseInt(_0x5a5f97(0x130))/0x5)+-parseInt(_0x5a5f97(0x169))/0x6+parseInt(_0x5a5f97(0x135))/0x7*(-parseInt(_0x5a5f97(0xef))/0x8)+parseInt(_0x5a5f97(0xf5))/0x9*(-parseInt(_0x5a5f97(0x157))/0xa)+parseInt(_0x5a5f97(0x113))/0xb*(parseInt(_0x5a5f97(0x118))/0xc);if(_0x2ec27f===_0x325627)break;else _0x63bdce['push'](_0x63bdce['shift']());}catch(_0xa7678b){_0x63bdce['push'](_0x63bdce['shift']());}}}(a175_0x55af,0x53227),exports[a175_0x53dcb9(0x154)]=()=>{var _0x4a30f8=a175_0x53dcb9,_0x49c7aa={};_0x49c7aa['nUbyc']=_0x4a30f8(0xfd),_0x49c7aa[_0x4a30f8(0x101)]='accessKey',_0x49c7aa[_0x4a30f8(0x164)]=_0x4a30f8(0xe9),_0x49c7aa[_0x4a30f8(0xec)]='browser',_0x49c7aa[_0x4a30f8(0x14b)]=_0x4a30f8(0x148),_0x49c7aa[_0x4a30f8(0xe3)]=_0x4a30f8(0x16e),_0x49c7aa[_0x4a30f8(0x14c)]=_0x4a30f8(0xeb),_0x49c7aa[_0x4a30f8(0xf9)]=_0x4a30f8(0x115),_0x49c7aa[_0x4a30f8(0x158)]=_0x4a30f8(0x132),_0x49c7aa[_0x4a30f8(0x102)]=_0x4a30f8(0x12a),_0x49c7aa[_0x4a30f8(0x136)]='localIdentifier',_0x49c7aa['DlHkr']='debug',_0x49c7aa['pLkMQ']=_0x4a30f8(0x134),_0x49c7aa['wlAdj']=_0x4a30f8(0x14f),_0x49c7aa['LYySH']=_0x4a30f8(0x119),_0x49c7aa['MRCna']=_0x4a30f8(0x114),_0x49c7aa['oukCz']=_0x4a30f8(0x162),_0x49c7aa['XQvnD']='seleniumLogs',_0x49c7aa['nBtBu']=_0x4a30f8(0x12b),_0x49c7aa['WShBp']=_0x4a30f8(0x12c),_0x49c7aa[_0x4a30f8(0x124)]=_0x4a30f8(0xe1),_0x49c7aa[_0x4a30f8(0x14a)]=_0x4a30f8(0x16a),_0x49c7aa[_0x4a30f8(0x11e)]=_0x4a30f8(0x10e),_0x49c7aa[_0x4a30f8(0xfa)]=_0x4a30f8(0x147),_0x49c7aa['homdN']='idleTimeout',_0x49c7aa[_0x4a30f8(0x13a)]=_0x4a30f8(0x15e),_0x49c7aa[_0x4a30f8(0xee)]=_0x4a30f8(0xfe),_0x49c7aa[_0x4a30f8(0x15c)]=_0x4a30f8(0x166),_0x49c7aa[_0x4a30f8(0xea)]='bfcache',_0x49c7aa['AzPwM']=_0x4a30f8(0x144),_0x49c7aa[_0x4a30f8(0x139)]='disableCorsRestrictions',_0x49c7aa['hdHzk']=_0x4a30f8(0xf1),_0x49c7aa[_0x4a30f8(0x145)]=_0x4a30f8(0x155),_0x49c7aa[_0x4a30f8(0x131)]=_0x4a30f8(0x12d),_0x49c7aa['BTeIc']=_0x4a30f8(0x16c),_0x49c7aa[_0x4a30f8(0x120)]=_0x4a30f8(0x161),_0x49c7aa['jHgKV']='networkProfile',_0x49c7aa['HJwDm']=_0x4a30f8(0x170),_0x49c7aa[_0x4a30f8(0x10a)]='browserstackSDK',_0x49c7aa[_0x4a30f8(0x13e)]=_0x4a30f8(0x141),_0x49c7aa[_0x4a30f8(0xf2)]=_0x4a30f8(0x103),_0x49c7aa[_0x4a30f8(0x16d)]=_0x4a30f8(0x138),_0x49c7aa[_0x4a30f8(0x110)]=_0x4a30f8(0x13c),_0x49c7aa[_0x4a30f8(0x146)]=_0x4a30f8(0x15f),_0x49c7aa[_0x4a30f8(0x140)]=_0x4a30f8(0x12e),_0x49c7aa['zzOfr']='accessibilityOptions.includeIssueType.bestPractice',_0x49c7aa[_0x4a30f8(0x125)]=_0x4a30f8(0x151),_0x49c7aa[_0x4a30f8(0x11b)]=_0x4a30f8(0xe8),_0x49c7aa[_0x4a30f8(0xfc)]='uploadMedia',_0x49c7aa[_0x4a30f8(0x104)]=_0x4a30f8(0xf6),_0x49c7aa[_0x4a30f8(0x14d)]='simOptions',_0x49c7aa[_0x4a30f8(0x137)]=_0x4a30f8(0x11a),_0x49c7aa[_0x4a30f8(0x106)]='overridelocalInfo.userAuthToken',_0x49c7aa['GGtQJ']=_0x4a30f8(0x112),_0x49c7aa[_0x4a30f8(0x121)]=_0x4a30f8(0x123),_0x49c7aa[_0x4a30f8(0x143)]='performance';var _0x1647c4=_0x49c7aa,_0x2d3b1c={};return _0x2d3b1c[_0x4a30f8(0xf4)]=_0x1647c4[_0x4a30f8(0x15d)],_0x2d3b1c[_0x4a30f8(0x16b)]=_0x1647c4['Xkcqx'],_0x2d3b1c['os']='os',_0x2d3b1c[_0x4a30f8(0xf7)]=_0x1647c4[_0x4a30f8(0x164)],_0x2d3b1c[_0x4a30f8(0x126)]=_0x1647c4['dyWal'],_0x2d3b1c[_0x4a30f8(0x111)]=_0x1647c4[_0x4a30f8(0x14b)],_0x2d3b1c[_0x4a30f8(0xe2)]=_0x1647c4[_0x4a30f8(0xe3)],_0x2d3b1c[_0x4a30f8(0x10c)]=_0x1647c4[_0x4a30f8(0x14c)],_0x2d3b1c[_0x4a30f8(0x14e)]=_0x1647c4['iDawb'],_0x2d3b1c[_0x4a30f8(0x153)]=_0x1647c4[_0x4a30f8(0x158)],_0x2d3b1c[_0x4a30f8(0xf0)]=_0x1647c4[_0x4a30f8(0x102)],_0x2d3b1c[_0x4a30f8(0x150)]=_0x1647c4['FxwQI'],_0x2d3b1c[_0x4a30f8(0x13b)]=_0x1647c4[_0x4a30f8(0x122)],_0x2d3b1c[_0x4a30f8(0x152)]=_0x1647c4[_0x4a30f8(0x16f)],_0x2d3b1c[_0x4a30f8(0x108)]=_0x1647c4[_0x4a30f8(0x160)],_0x2d3b1c[_0x4a30f8(0x15a)]=_0x1647c4[_0x4a30f8(0x116)],_0x2d3b1c['browserstack.appiumLogs']=_0x1647c4[_0x4a30f8(0xf8)],_0x2d3b1c['browserstack.video']=_0x1647c4[_0x4a30f8(0x171)],_0x2d3b1c[_0x4a30f8(0x100)]=_0x1647c4[_0x4a30f8(0x12f)],_0x2d3b1c['browserstack.telemetryLogs']=_0x1647c4['nBtBu'],_0x2d3b1c[_0x4a30f8(0x13f)]=_0x1647c4['WShBp'],_0x2d3b1c['browserstack.timezone']=_0x1647c4['OwLSX'],_0x2d3b1c['resolution']=_0x1647c4[_0x4a30f8(0x14a)],_0x2d3b1c['browserstack.selenium_version']=_0x1647c4[_0x4a30f8(0x11e)],_0x2d3b1c[_0x4a30f8(0x163)]=_0x1647c4['NGsuN'],_0x2d3b1c[_0x4a30f8(0x109)]=_0x1647c4[_0x4a30f8(0x127)],_0x2d3b1c[_0x4a30f8(0xe7)]=_0x1647c4['lDEDk'],_0x2d3b1c[_0x4a30f8(0x105)]=_0x1647c4['kBrQS'],_0x2d3b1c['browserstack.hosts']=_0x1647c4[_0x4a30f8(0x15c)],_0x2d3b1c[_0x4a30f8(0x168)]=_0x1647c4[_0x4a30f8(0xea)],_0x2d3b1c['browserstack.wsLocalSupport']=_0x1647c4[_0x4a30f8(0xfb)],_0x2d3b1c[_0x4a30f8(0x159)]=_0x1647c4[_0x4a30f8(0x139)],_0x2d3b1c['device']=_0x1647c4[_0x4a30f8(0x15b)],_0x2d3b1c[_0x4a30f8(0x155)]=_0x1647c4['ZNcsw'],_0x2d3b1c[_0x4a30f8(0x133)]=_0x1647c4['lXzjd'],_0x2d3b1c['deviceOrientation']=_0x1647c4[_0x4a30f8(0x107)],_0x2d3b1c['browserstack.customNetwork']=_0x1647c4[_0x4a30f8(0x120)],_0x2d3b1c[_0x4a30f8(0x11f)]=_0x1647c4[_0x4a30f8(0x11c)],_0x2d3b1c[_0x4a30f8(0x142)]=_0x1647c4[_0x4a30f8(0xe6)],_0x2d3b1c['browserstack.browserstackSDK']=_0x1647c4[_0x4a30f8(0x10a)],_0x2d3b1c['browserstack.accessibility']=_0x1647c4[_0x4a30f8(0x13e)],_0x2d3b1c['browserstack.buildProductMap']=_0x1647c4[_0x4a30f8(0xf2)],_0x2d3b1c['browserstack.testhubBuildUuid']=_0x1647c4[_0x4a30f8(0x16d)],_0x2d3b1c[_0x4a30f8(0x172)]=_0x1647c4[_0x4a30f8(0x110)],_0x2d3b1c[_0x4a30f8(0x13d)]=_0x1647c4[_0x4a30f8(0x146)],_0x2d3b1c[_0x4a30f8(0x167)]=_0x1647c4[_0x4a30f8(0x140)],_0x2d3b1c[_0x4a30f8(0xff)]=_0x1647c4[_0x4a30f8(0xe5)],_0x2d3b1c[_0x4a30f8(0x156)]=_0x1647c4[_0x4a30f8(0x125)],_0x2d3b1c[_0x4a30f8(0xf3)]=_0x1647c4['jscAO'],_0x2d3b1c[_0x4a30f8(0x11d)]=_0x1647c4[_0x4a30f8(0xfc)],_0x2d3b1c[_0x4a30f8(0xe4)]=_0x1647c4[_0x4a30f8(0x104)],_0x2d3b1c[_0x4a30f8(0x129)]=_0x1647c4[_0x4a30f8(0x14d)],_0x2d3b1c[_0x4a30f8(0x10d)]=_0x1647c4['zCaZh'],_0x2d3b1c[_0x4a30f8(0x10f)]=_0x1647c4[_0x4a30f8(0x106)],_0x2d3b1c[_0x4a30f8(0x149)]=_0x1647c4[_0x4a30f8(0x10b)],_0x2d3b1c['browserstack.headerParams']=_0x1647c4[_0x4a30f8(0x121)],_0x2d3b1c['browserstack.performance']=_0x1647c4[_0x4a30f8(0x143)],_0x2d3b1c;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a176_0x2aae(){const _0xfe1054=['qAcBy','value','race','2070ZNetyE','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','hostname','latency','aGlcO','resolve','2490591uLMxJm','39784osBONm','getRequestOptions','4cXfDSY','then','hubRegion\x20','PMYFe','hash','rvUYU','KKWEo','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','catch','Execution\x20time\x20for\x20','bbMUN','\x20HUB\x20-\x20','all','tyXxh','get','Response:\x20','izozL','setGlobal','HUB_URL_MAP','map','ERROR\x20in\x20hub\x20selection:\x20','NEAREST\x20HUBS\x20LIST:\x20','Hfomx','8463370EkLtoG','skipped','consumeHubUrlForSession','MvIBi','Caxil','iHnFh','status','dLKUZ','Oylol','hubUrl','allocateHub','debug','/wd/hub','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','Xechn','set','format','\x20is:\x20','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','newHubUrlBySession','nextHubs','AZArg','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','_hubAllocationData','MgyAj','nodeRequest','DXXax','hubRegion','winstonLogger','pathname','DOTbq','BNhNU','hubs','allSettled','replace','hVpXV','1563718xgmMcB','ZOAUq','next_hubs','DxffO','NYBZr','delete','nEkKC','Tkwso','59355PHHQxi','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','834ykaOPc','scjME','./helpers/globals','CRVEw','Invalid\x20new\x20HUB\x20URL:\x20','NOYEz','GhFAq','HUB\x20URL\x20SET\x20TO\x20-\x20','UvJPz','wnGtf','findLatency','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','./helpers/logger','zoBhj','https://','2989651EvlIxE','./bin/utils/constants','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','now','GtEVE','1132822vMabcy','search','GET'];a176_0x2aae=function(){return _0xfe1054;};return a176_0x2aae();}const a176_0x36faf6=a176_0x14dd;(function(_0x4ee9f9,_0x561f4e){const _0x420b30=a176_0x14dd,_0x547fc0=_0x4ee9f9();while(!![]){try{const _0x2378e9=parseInt(_0x420b30(0x221))/0x1+-parseInt(_0x420b30(0x23f))/0x2+parseInt(_0x420b30(0x24b))/0x3*(parseInt(_0x420b30(0x24e))/0x4)+parseInt(_0x420b30(0x229))/0x5*(-parseInt(_0x420b30(0x22b))/0x6)+parseInt(_0x420b30(0x23a))/0x7+parseInt(_0x420b30(0x24c))/0x8*(parseInt(_0x420b30(0x245))/0x9)+-parseInt(_0x420b30(0x1fd))/0xa;if(_0x2378e9===_0x561f4e)break;else _0x547fc0['push'](_0x547fc0['shift']());}catch(_0x2c35b9){_0x547fc0['push'](_0x547fc0['shift']());}}}(a176_0x2aae,0xdc35d));function a176_0x14dd(_0x3bd7bb,_0x23ebe4){const _0x2aaee2=a176_0x2aae();return a176_0x14dd=function(_0x14dda1,_0x32a7d2){_0x14dda1=_0x14dda1-0x1f4;let _0x3e8a45=_0x2aaee2[_0x14dda1];return _0x3e8a45;},a176_0x14dd(_0x3bd7bb,_0x23ebe4);}const url=require('url'),util=require('util'),helper=require('./helpers/helper'),logger=require(a176_0x36faf6(0x237))[a176_0x36faf6(0x219)],constants=require(a176_0x36faf6(0x23b)),globals=require(a176_0x36faf6(0x22d));global[a176_0x36faf6(0x210)]=global[a176_0x36faf6(0x210)]||new Map(),exports[a176_0x36faf6(0x24d)]=_0x2c1a04=>{const _0x3e329d=a176_0x36faf6,_0x5b8b9f={};_0x5b8b9f[_0x3e329d(0x22e)]=function(_0x14306e,_0x4b42d5){return _0x14306e+_0x4b42d5;},_0x5b8b9f['scjME']=_0x3e329d(0x22f);const _0x19a832=_0x5b8b9f,_0x7975b2=url['parse'](_0x2c1a04);if(!_0x7975b2[_0x3e329d(0x247)])throw new Error(_0x19a832[_0x3e329d(0x22e)](_0x19a832[_0x3e329d(0x22c)],_0x2c1a04));return _0x7975b2[_0x3e329d(0x240)]=null,_0x7975b2[_0x3e329d(0x252)]=null,_0x7975b2['path']=_0x7975b2[_0x3e329d(0x21a)],_0x7975b2;},exports['updateHubUrl']=(_0xdbbfaa,_0x586097)=>{const _0x427d1c=a176_0x36faf6,_0x334104={};_0x334104['dLKUZ']=_0x427d1c(0x236);const _0x29215c=_0x334104;if(!_0x586097){logger['debug'](_0x29215c[_0x427d1c(0x204)]);return;}global[_0x427d1c(0x210)][_0x427d1c(0x20c)](_0x586097,_0xdbbfaa);},exports[a176_0x36faf6(0x1ff)]=_0x15f87a=>{const _0xba22de=a176_0x36faf6;if(_0x15f87a&&global['newHubUrlBySession']['has'](_0x15f87a)){const _0x14fe71=global[_0xba22de(0x210)][_0xba22de(0x1f4)](_0x15f87a);return global[_0xba22de(0x210)][_0xba22de(0x226)](_0x15f87a),_0x14fe71;}return'';},exports[a176_0x36faf6(0x207)]=_0x3f275b=>{const _0x13027=a176_0x36faf6,_0x33b444={'AZArg':function(_0x2f54bf){return _0x2f54bf();},'UvJPz':function(_0x257a40,_0x4cdad2){return _0x257a40!==_0x4cdad2;},'GtEVE':function(_0x4a85e5,_0x1a0293){return _0x4a85e5+_0x1a0293;},'BNhNU':_0x13027(0x239),'MvIBi':_0x13027(0x214),'hVpXV':function(_0x52f4c9,_0x482e96){return _0x52f4c9===_0x482e96;},'wxCIr':'fulfilled','iHnFh':_0x13027(0x255),'zdAad':'/wd/hub','XCBKB':function(_0x588851,_0x225a18){return _0x588851==_0x225a18;}};return new Promise(_0x41b537=>{const _0x4930c3=_0x13027,_0x247d7c={'DXXax':function(_0x4be261){const _0xdfb611=a176_0x14dd;return _0x33b444[_0xdfb611(0x212)](_0x4be261);},'ZOAUq':function(_0x16ce05,_0x368163){const _0x26c690=a176_0x14dd;return _0x33b444[_0x26c690(0x233)](_0x16ce05,_0x368163);},'GhFAq':function(_0xc66fe2,_0x103189){const _0x3f7eb5=a176_0x14dd;return _0x33b444[_0x3f7eb5(0x23e)](_0xc66fe2,_0x103189);},'MAIFD':_0x33b444[_0x4930c3(0x21c)],'rYFXP':_0x33b444[_0x4930c3(0x200)],'izozL':function(_0x1f6eb6,_0x1616fa){const _0x93bb05=_0x4930c3;return _0x33b444[_0x93bb05(0x220)](_0x1f6eb6,_0x1616fa);},'NYBZr':_0x33b444['wxCIr'],'nEkKC':_0x33b444[_0x4930c3(0x202)],'Oylol':_0x33b444['zdAad'],'KKWEo':function(_0xdfc872,_0x308eeb){return _0x33b444['XCBKB'](_0xdfc872,_0x308eeb);}};if(_0x3f275b&&_0x3f275b[_0x4930c3(0x218)]){const _0x113e88=constants[_0x4930c3(0x1f8)][_0x3f275b[_0x4930c3(0x218)]];if(_0x113e88)return constants[_0x4930c3(0x206)]=_0x113e88,logger[_0x4930c3(0x208)](_0x4930c3(0x23c)+_0x113e88),globals[_0x4930c3(0x1f7)](_0x33b444[_0x4930c3(0x200)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x113e88['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x4930c3(0x23d)]()}),_0x33b444['AZArg'](_0x41b537);logger[_0x4930c3(0x208)](_0x4930c3(0x250)+_0x3f275b['hubRegion']+_0x4930c3(0x20f));}Promise[_0x4930c3(0x24a)](this['nextHubs'](_0x3f275b))[_0x4930c3(0x24f)](_0x37f70b=>{const _0x2ba9e9=_0x4930c3,_0x1ab21f={'Mmqst':function(_0x3e4cd5,_0x1dc550){const _0x5e497b=a176_0x14dd;return _0x247d7c[_0x5e497b(0x222)](_0x3e4cd5,_0x1dc550);},'bbMUN':function(_0x5bbb32,_0x2f7f21){const _0xe0f7f3=a176_0x14dd;return _0x247d7c[_0xe0f7f3(0x231)](_0x5bbb32,_0x2f7f21);},'aGlcO':_0x247d7c['MAIFD'],'zoBhj':_0x247d7c['rYFXP'],'glwyR':function(_0x537e21,_0x2689e6){const _0x303f73=a176_0x14dd;return _0x247d7c[_0x303f73(0x1f6)](_0x537e21,_0x2689e6);},'PMYFe':_0x247d7c[_0x2ba9e9(0x225)],'QngCd':_0x247d7c[_0x2ba9e9(0x227)],'qAcBy':function(_0x425e2a,_0x48d9c2){const _0x1e5771=_0x2ba9e9;return _0x247d7c[_0x1e5771(0x231)](_0x425e2a,_0x48d9c2);},'NOYEz':_0x247d7c[_0x2ba9e9(0x205)],'DxffO':function(_0x18ff03){const _0x3fb902=_0x2ba9e9;return _0x247d7c[_0x3fb902(0x217)](_0x18ff03);},'bEJtn':function(_0x33c99f,_0x3709df){const _0xb76a39=_0x2ba9e9;return _0x247d7c[_0xb76a39(0x231)](_0x33c99f,_0x3709df);}};logger[_0x2ba9e9(0x208)](_0x2ba9e9(0x1fb)+util[_0x2ba9e9(0x20d)]('%j',_0x37f70b));if(_0x247d7c[_0x2ba9e9(0x254)](_0x37f70b,null)||_0x247d7c[_0x2ba9e9(0x1f6)](_0x37f70b['length'],0x0))return _0x247d7c[_0x2ba9e9(0x217)](_0x41b537);const _0x5a1ba3=_0x37f70b[_0x2ba9e9(0x1f9)](_0x595068=>{const _0x4905e7=_0x2ba9e9,_0x4cbbab={'wnGtf':function(_0x382812,_0xd9ee82){return _0x1ab21f['Mmqst'](_0x382812,_0xd9ee82);}},_0x474791=_0x1ab21f['bbMUN'](_0x1ab21f[_0x4905e7(0x249)],_0x595068);return this[_0x4905e7(0x235)](_0x3f275b,_0x474791)[_0x4905e7(0x24f)](_0x2b9d54=>{const _0x5a905a=_0x4905e7;if(_0x2b9d54&&_0x2b9d54[_0x5a905a(0x206)]&&_0x4cbbab[_0x5a905a(0x234)](_0x2b9d54[_0x5a905a(0x248)],undefined)){const _0x238c5a={};return _0x238c5a[_0x5a905a(0x206)]=_0x2b9d54[_0x5a905a(0x206)],_0x238c5a[_0x5a905a(0x248)]=_0x2b9d54[_0x5a905a(0x248)],_0x238c5a['ok']=!![],_0x238c5a;}const _0x426e04={};return _0x426e04[_0x5a905a(0x206)]=_0x474791,_0x426e04[_0x5a905a(0x248)]=null,_0x426e04['ok']=![],_0x426e04;})[_0x4905e7(0x256)](()=>({'hubUrl':_0x474791,'latency':null,'ok':![]}));});Promise[_0x2ba9e9(0x244)](_0x5a1ba3[_0x2ba9e9(0x1f9)](_0x42e50a=>_0x42e50a['then'](_0x5a0cd6=>_0x5a0cd6['ok']?_0x5a0cd6:null)))['then'](_0x16483c=>{const _0x1c7da7=_0x2ba9e9;if(_0x16483c)return _0x16483c;return Promise[_0x1c7da7(0x25a)](_0x5a1ba3)['then'](()=>null);})[_0x2ba9e9(0x24f)](_0x331609=>{const _0x59f622=_0x2ba9e9;if(!_0x331609){logger[_0x59f622(0x208)](_0x1ab21f['QngCd']);const _0x1a41ae=_0x1ab21f[_0x59f622(0x258)](_0x1ab21f[_0x59f622(0x249)],_0x37f70b[0x0]);return globals[_0x59f622(0x1f7)](_0x1ab21f[_0x59f622(0x238)],{'nearestHubs':_0x37f70b[_0x59f622(0x1f9)](_0x2e6159=>_0x59f622(0x239)+_0x2e6159),'hubLatencies':{},'selectedHub':_0x1a41ae,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x59f622(0x23d)]()}),constants[_0x59f622(0x206)]=_0x1ab21f[_0x59f622(0x242)](_0x1a41ae,_0x1ab21f[_0x59f622(0x230)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x1a41ae),_0x1ab21f[_0x59f622(0x224)](_0x41b537);}const _0x382163={[_0x331609[_0x59f622(0x206)]]:_0x331609[_0x59f622(0x248)]},_0x1cc461={'nearestHubs':_0x37f70b[_0x59f622(0x1f9)](_0x5b2225=>_0x59f622(0x239)+_0x5b2225),'hubLatencies':_0x382163,'selectedHub':_0x331609[_0x59f622(0x206)],'selectedHubLatency':_0x331609['latency'],'timestamp':Date['now']()};globals[_0x59f622(0x1f7)](_0x1ab21f[_0x59f622(0x238)],_0x1cc461),constants[_0x59f622(0x206)]=_0x1ab21f['bEJtn'](_0x331609[_0x59f622(0x206)],_0x1ab21f[_0x59f622(0x230)]),logger['debug'](_0x59f622(0x232)+_0x331609[_0x59f622(0x206)]),_0x1ab21f['DxffO'](_0x41b537),Promise[_0x59f622(0x21e)](_0x5a1ba3)[_0x59f622(0x24f)](_0xf26470=>{const _0x4f406b=_0x59f622;try{const _0x4e6123=globals['getGlobal'](_0x1ab21f['zoBhj']);if(!_0x4e6123||_0x4e6123[_0x4f406b(0x1fe)])return;const _0x1049ec={};for(const _0xda649b of _0xf26470){_0x1ab21f['glwyR'](_0xda649b[_0x4f406b(0x203)],_0x1ab21f[_0x4f406b(0x251)])&&_0xda649b['value']&&_0xda649b[_0x4f406b(0x243)]['ok']&&(_0x1049ec[_0xda649b[_0x4f406b(0x243)][_0x4f406b(0x206)]]=_0xda649b[_0x4f406b(0x243)][_0x4f406b(0x248)]);}_0x4e6123['hubLatencies']=_0x1049ec;}catch(_0x2051e9){logger[_0x4f406b(0x208)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x2051e9);}})['catch'](_0x384c3b=>{const _0x40a98a=_0x59f622;logger['debug'](_0x40a98a(0x213)+_0x384c3b);});})[_0x2ba9e9(0x256)](_0x5a583d=>{const _0x2d6835=_0x2ba9e9;logger[_0x2d6835(0x208)](_0x2d6835(0x1fa)+_0x5a583d),_0x247d7c['DXXax'](_0x41b537);});})['catch'](_0xb3e11c=>{const _0x2f3225=_0x4930c3;logger['debug'](_0x2f3225(0x246)+_0xb3e11c),_0x33b444['AZArg'](_0x41b537);});});},exports['findLatency']=async(_0x34e621,_0x2f1890)=>{const _0x292d0c=a176_0x36faf6,_0x5bc650={};_0x5bc650[_0x292d0c(0x25b)]=_0x292d0c(0x241),_0x5bc650['rvUYU']='check',_0x5bc650['Xechn']=function(_0x355957,_0x467243){return _0x355957-_0x467243;};const _0x24ce31=_0x5bc650;try{const _0x2a0dd1=new Date();await helper[_0x292d0c(0x216)](_0x24ce31[_0x292d0c(0x25b)],_0x24ce31[_0x292d0c(0x253)],{},_0x34e621,_0x2f1890,0x1388);const _0x55888d=_0x24ce31[_0x292d0c(0x20b)](new Date(),_0x2a0dd1);logger[_0x292d0c(0x208)](_0x292d0c(0x257)+_0x2f1890+_0x292d0c(0x20e)+_0x55888d+'ms');const _0x1fad03={};return _0x1fad03['hubUrl']=_0x2f1890,_0x1fad03[_0x292d0c(0x248)]=_0x55888d,_0x1fad03;}catch(_0x12abcc){return logger[_0x292d0c(0x208)](_0x292d0c(0x22a)+_0x2f1890+_0x292d0c(0x259)+_0x12abcc),{};}},exports[a176_0x36faf6(0x211)]=async _0x4133a2=>{const _0x57da2b=a176_0x36faf6,_0x3582e7={'Caxil':function(_0x560905,_0x2a0c20){return _0x560905(_0x2a0c20);},'Tkwso':_0x57da2b(0x23b),'MgyAj':_0x57da2b(0x209),'DOTbq':'GET','Hfomx':_0x57da2b(0x223)};try{const _0x2a399c=_0x3582e7[_0x57da2b(0x201)](require,_0x3582e7[_0x57da2b(0x228)])[_0x57da2b(0x206)][_0x57da2b(0x21f)](_0x3582e7[_0x57da2b(0x215)],''),_0x417fa6=await helper[_0x57da2b(0x216)](_0x3582e7[_0x57da2b(0x21b)],_0x3582e7[_0x57da2b(0x1fc)],{},_0x4133a2,_0x2a399c,0x1388),_0x269fd0=_0x417fa6['data'];return logger[_0x57da2b(0x208)](_0x57da2b(0x1f5)+util[_0x57da2b(0x20d)]('%j',_0x269fd0)),_0x269fd0[_0x57da2b(0x21d)];}catch(_0x477162){logger[_0x57da2b(0x208)](_0x57da2b(0x20a)+_0x477162);}return null;};
|
|
1
|
+
const a176_0x59d5d4=a176_0x2404;(function(_0x4dbd83,_0x1ff44f){const _0x1f0f0c=a176_0x2404,_0xd2464b=_0x4dbd83();while(!![]){try{const _0x3bf466=-parseInt(_0x1f0f0c(0x74))/0x1+parseInt(_0x1f0f0c(0xb0))/0x2+-parseInt(_0x1f0f0c(0xbd))/0x3+parseInt(_0x1f0f0c(0xcf))/0x4*(-parseInt(_0x1f0f0c(0x79))/0x5)+-parseInt(_0x1f0f0c(0x8a))/0x6*(-parseInt(_0x1f0f0c(0x8c))/0x7)+-parseInt(_0x1f0f0c(0xb7))/0x8+parseInt(_0x1f0f0c(0x92))/0x9;if(_0x3bf466===_0x1ff44f)break;else _0xd2464b['push'](_0xd2464b['shift']());}catch(_0x897cae){_0xd2464b['push'](_0xd2464b['shift']());}}}(a176_0x36ac,0xeae7f));function a176_0x2404(_0x169b7d,_0x21e64c){const _0x36ac60=a176_0x36ac();return a176_0x2404=function(_0x2404b4,_0x42b17c){_0x2404b4=_0x2404b4-0x6c;let _0x1e41da=_0x36ac60[_0x2404b4];return _0x1e41da;},a176_0x2404(_0x169b7d,_0x21e64c);}const url=require(a176_0x59d5d4(0x9c)),util=require(a176_0x59d5d4(0xa0)),helper=require(a176_0x59d5d4(0xb4)),logger=require(a176_0x59d5d4(0x94))[a176_0x59d5d4(0xae)],constants=require('./bin/utils/constants'),globals=require(a176_0x59d5d4(0xc6));function a176_0x36ac(){const _0x5d9ed3=['11363093CMaikX','fOEDO','hIWvx','fXEbE','jsKzq','AxRfE','34664121bRPeVS','format','./helpers/logger','setGlobal','set','/wd/hub','./bin/utils/constants','findLatency','getGlobal','yHQBK','url','KBQuK','bzhEo','qrwDm','util','now','newHubUrlBySession','xLwKd','GET','JoXKM','consumeHubUrlForSession','catch','delete','AAGBf','pLnMN','hubRegion','get','path','winstonLogger','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','2363026TQFSXo','KyUbQ','PwFdK','GgYfN','./helpers/helper','value','IGOxa','15109968AHojvL','uQgap','hubUrl','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','\x20is:\x20','wBXUG','5717589KKpxDG','HUB\x20URL\x20SET\x20TO\x20-\x20','MxrZP','fTmaG','status','gQDiz','Invalid\x20new\x20HUB\x20URL:\x20','pathname','zKmeh','./helpers/globals','hubLatencies','ZVcIe','check','latency','gHWPz','map','length','FoQDO','176jKGsil','vcued','NctUQ','fNNOg','data','gpqTV','hzvkE','HUB_URL_MAP','hubRegion\x20','race','vYCPJ','https://','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','GIoDp','hash','1610605EjnBOX','search','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','ERROR\x20in\x20hub\x20selection:\x20','_hubAllocationData','32840FUOOzQ','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','BwQFE','UzaAH','debug','tdRjC','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','Response:\x20','allSettled','then','replace','fulfilled','IHHNE','updateHubUrl','oqePe','\x20HUB\x20-\x20','nextHubs','6AzKClO','aPMXh'];a176_0x36ac=function(){return _0x5d9ed3;};return a176_0x36ac();}global[a176_0x59d5d4(0xa2)]=global['newHubUrlBySession']||new Map(),exports['getRequestOptions']=_0x1203c8=>{const _0x14e13c=a176_0x59d5d4,_0x1debd3={};_0x1debd3[_0x14e13c(0xb1)]=function(_0x599ad9,_0x2d6971){return _0x599ad9+_0x2d6971;},_0x1debd3[_0x14e13c(0x85)]=_0x14e13c(0xc3);const _0x20a805=_0x1debd3,_0x5d6c2e=url['parse'](_0x1203c8);if(!_0x5d6c2e['hostname'])throw new Error(_0x20a805['KyUbQ'](_0x20a805[_0x14e13c(0x85)],_0x1203c8));return _0x5d6c2e[_0x14e13c(0x75)]=null,_0x5d6c2e[_0x14e13c(0x73)]=null,_0x5d6c2e[_0x14e13c(0xad)]=_0x5d6c2e[_0x14e13c(0xc4)],_0x5d6c2e;},exports[a176_0x59d5d4(0x86)]=(_0x221b33,_0x9ed96b)=>{const _0x5620e4=a176_0x59d5d4,_0x3691d1={};_0x3691d1[_0x5620e4(0xbf)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x4b4379=_0x3691d1;if(!_0x9ed96b){logger[_0x5620e4(0x7d)](_0x4b4379[_0x5620e4(0xbf)]);return;}global[_0x5620e4(0xa2)][_0x5620e4(0x96)](_0x9ed96b,_0x221b33);},exports[a176_0x59d5d4(0xa6)]=_0x2638c9=>{const _0x5577e0=a176_0x59d5d4;if(_0x2638c9&&global['newHubUrlBySession']['has'](_0x2638c9)){const _0x5bd6b4=global['newHubUrlBySession'][_0x5577e0(0xac)](_0x2638c9);return global[_0x5577e0(0xa2)][_0x5577e0(0xa8)](_0x2638c9),_0x5bd6b4;}return'';},exports['allocateHub']=_0xd5c5e9=>{const _0x456564=a176_0x59d5d4,_0x3fef31={'CHlKn':function(_0x464996){return _0x464996();},'udEKs':_0x456564(0x76),'pLnMN':function(_0x3cfb75,_0x3b7bdb){return _0x3cfb75+_0x3b7bdb;},'IGOxa':_0x456564(0x70),'AAGBf':_0x456564(0x78),'FoQDO':'/wd/hub','fXEbE':function(_0x3fc709){return _0x3fc709();},'fNNOg':function(_0x436331,_0x4b137c){return _0x436331!==_0x4b137c;},'gQDiz':function(_0x7a9f23,_0x56243e){return _0x7a9f23===_0x56243e;},'gpqTV':_0x456564(0x84),'wBXUG':function(_0x452324,_0x229fe6){return _0x452324==_0x229fe6;},'yHQBK':function(_0x386bf4,_0x4e1469){return _0x386bf4===_0x4e1469;},'zKmeh':function(_0xb7e5a1){return _0xb7e5a1();}};return new Promise(_0x41b55e=>{const _0x2da048=_0x456564,_0x1256b5={'vYCPJ':_0x3fef31['udEKs'],'hIWvx':function(_0xcf6d57,_0x1ad952){const _0x470f03=a176_0x2404;return _0x3fef31[_0x470f03(0xaa)](_0xcf6d57,_0x1ad952);},'xLwKd':_0x3fef31[_0x2da048(0xb6)],'aPMXh':_0x3fef31[_0x2da048(0xa9)],'fTmaG':function(_0x13f258,_0x1b7fed){const _0xf2d54c=_0x2da048;return _0x3fef31[_0xf2d54c(0xaa)](_0x13f258,_0x1b7fed);},'jsKzq':_0x3fef31[_0x2da048(0xce)],'oqePe':function(_0x250a4b){const _0x276f62=_0x2da048;return _0x3fef31[_0x276f62(0x8f)](_0x250a4b);},'GIoDp':function(_0x571793,_0x1fa034){const _0x3dca21=_0x2da048;return _0x3fef31[_0x3dca21(0xd2)](_0x571793,_0x1fa034);},'bzhEo':function(_0x224855,_0x3b0847){const _0x57d75e=_0x2da048;return _0x3fef31[_0x57d75e(0xaa)](_0x224855,_0x3b0847);},'hzvkE':function(_0x2442d3,_0x5934d5){const _0x118e04=_0x2da048;return _0x3fef31[_0x118e04(0xc2)](_0x2442d3,_0x5934d5);},'NctUQ':_0x3fef31[_0x2da048(0xd4)],'FAxfm':function(_0x14f72d,_0xfbdf4f){const _0x2506ad=_0x2da048;return _0x3fef31[_0x2506ad(0xbc)](_0x14f72d,_0xfbdf4f);},'BwQFE':function(_0x585d81,_0x1a6ed0){const _0x17dfd4=_0x2da048;return _0x3fef31[_0x17dfd4(0x9b)](_0x585d81,_0x1a6ed0);},'yuhtB':function(_0x320b62){const _0x592a2d=_0x2da048;return _0x3fef31[_0x592a2d(0xc5)](_0x320b62);}};if(_0xd5c5e9&&_0xd5c5e9[_0x2da048(0xab)]){const _0x5a4ab7=constants[_0x2da048(0x6c)][_0xd5c5e9[_0x2da048(0xab)]];if(_0x5a4ab7)return constants[_0x2da048(0xb9)]=_0x5a4ab7,logger['debug'](_0x2da048(0x7a)+_0x5a4ab7),globals['setGlobal'](_0x3fef31['AAGBf'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x5a4ab7[_0x2da048(0x83)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x2da048(0xa1)]()}),_0x3fef31['zKmeh'](_0x41b55e);logger[_0x2da048(0x7d)](_0x2da048(0x6d)+_0xd5c5e9[_0x2da048(0xab)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise['resolve'](this[_0x2da048(0x89)](_0xd5c5e9))[_0x2da048(0x82)](_0x453c7a=>{const _0x504c40=_0x2da048,_0x3c6df9={'uQgap':function(_0x15b61f,_0x7b1064){const _0x4c45ba=a176_0x2404;return _0x1256b5[_0x4c45ba(0x72)](_0x15b61f,_0x7b1064);},'tOdto':function(_0x5ef2af,_0x2db12b){const _0x22e013=a176_0x2404;return _0x1256b5[_0x22e013(0x9e)](_0x5ef2af,_0x2db12b);},'qrwDm':_0x1256b5[_0x504c40(0xa3)],'GgYfN':_0x1256b5[_0x504c40(0x8b)],'ZVcIe':function(_0x411b61,_0x3f38ba){const _0x195e8a=_0x504c40;return _0x1256b5[_0x195e8a(0xd5)](_0x411b61,_0x3f38ba);},'PwFdK':_0x1256b5[_0x504c40(0xd1)],'fOEDO':function(_0x145d0a){const _0x192450=_0x504c40;return _0x1256b5[_0x192450(0x87)](_0x145d0a);}};logger[_0x504c40(0x7d)]('NEAREST\x20HUBS\x20LIST:\x20'+util[_0x504c40(0x93)]('%j',_0x453c7a));if(_0x1256b5['FAxfm'](_0x453c7a,null)||_0x1256b5[_0x504c40(0x7b)](_0x453c7a[_0x504c40(0xcd)],0x0))return _0x1256b5['yuhtB'](_0x41b55e);const _0x5bb046=_0x453c7a[_0x504c40(0xcc)](_0x523dba=>{const _0x1bdb54=_0x504c40,_0x2ceb1={'AxRfE':function(_0x4634e6,_0x264ccd){const _0x3de9cc=a176_0x2404;return _0x3c6df9[_0x3de9cc(0xb8)](_0x4634e6,_0x264ccd);}},_0x2ef399=_0x3c6df9['tOdto'](_0x3c6df9[_0x1bdb54(0x9f)],_0x523dba);return this[_0x1bdb54(0x99)](_0xd5c5e9,_0x2ef399)['then'](_0x3f66f6=>{const _0x330436=_0x1bdb54;if(_0x3f66f6&&_0x3f66f6[_0x330436(0xb9)]&&_0x2ceb1[_0x330436(0x91)](_0x3f66f6[_0x330436(0xca)],undefined)){const _0x2737a5={};return _0x2737a5[_0x330436(0xb9)]=_0x3f66f6['hubUrl'],_0x2737a5[_0x330436(0xca)]=_0x3f66f6[_0x330436(0xca)],_0x2737a5['ok']=!![],_0x2737a5;}const _0x366b7d={};return _0x366b7d[_0x330436(0xb9)]=_0x2ef399,_0x366b7d[_0x330436(0xca)]=null,_0x366b7d['ok']=![],_0x366b7d;})[_0x1bdb54(0xa7)](()=>({'hubUrl':_0x2ef399,'latency':null,'ok':![]}));});Promise[_0x504c40(0x6e)](_0x5bb046[_0x504c40(0xcc)](_0x493312=>_0x493312[_0x504c40(0x82)](_0x30321d=>_0x30321d['ok']?_0x30321d:null)))[_0x504c40(0x82)](_0x571706=>{const _0xfeeb82=_0x504c40;if(_0x571706)return _0x571706;return Promise['all'](_0x5bb046)[_0xfeeb82(0x82)](()=>null);})['then'](_0x34a970=>{const _0x92781=_0x504c40;if(!_0x34a970){logger['debug'](_0x1256b5[_0x92781(0x6f)]);const _0x45a3f4=_0x1256b5[_0x92781(0x8e)](_0x1256b5[_0x92781(0xa3)],_0x453c7a[0x0]);return globals[_0x92781(0x95)](_0x1256b5[_0x92781(0x8b)],{'nearestHubs':_0x453c7a[_0x92781(0xcc)](_0x904dc3=>_0x92781(0x70)+_0x904dc3),'hubLatencies':{},'selectedHub':_0x45a3f4,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x92781(0xa1)]()}),constants['hubUrl']=_0x1256b5['fTmaG'](_0x45a3f4,_0x1256b5[_0x92781(0x90)]),logger[_0x92781(0x7d)](_0x92781(0xba)+_0x45a3f4),_0x1256b5['oqePe'](_0x41b55e);}const _0x235735={[_0x34a970[_0x92781(0xb9)]]:_0x34a970[_0x92781(0xca)]},_0x1c9959={'nearestHubs':_0x453c7a[_0x92781(0xcc)](_0x2cbb9b=>'https://'+_0x2cbb9b),'hubLatencies':_0x235735,'selectedHub':_0x34a970['hubUrl'],'selectedHubLatency':_0x34a970[_0x92781(0xca)],'timestamp':Date[_0x92781(0xa1)]()};globals[_0x92781(0x95)](_0x1256b5[_0x92781(0x8b)],_0x1c9959),constants[_0x92781(0xb9)]=_0x1256b5[_0x92781(0xc0)](_0x34a970[_0x92781(0xb9)],_0x1256b5[_0x92781(0x90)]),logger[_0x92781(0x7d)](_0x92781(0xbe)+_0x34a970['hubUrl']),_0x1256b5[_0x92781(0x87)](_0x41b55e),Promise[_0x92781(0x81)](_0x5bb046)[_0x92781(0x82)](_0xba7548=>{const _0x149c8c=_0x92781;try{const _0x578be1=globals[_0x149c8c(0x9a)](_0x3c6df9[_0x149c8c(0xb3)]);if(!_0x578be1||_0x578be1['skipped'])return;const _0x2e45c7={};for(const _0x45c6b9 of _0xba7548){_0x3c6df9[_0x149c8c(0xc8)](_0x45c6b9[_0x149c8c(0xc1)],_0x3c6df9[_0x149c8c(0xb2)])&&_0x45c6b9[_0x149c8c(0xb5)]&&_0x45c6b9[_0x149c8c(0xb5)]['ok']&&(_0x2e45c7[_0x45c6b9['value']['hubUrl']]=_0x45c6b9[_0x149c8c(0xb5)][_0x149c8c(0xca)]);}_0x578be1[_0x149c8c(0xc7)]=_0x2e45c7;}catch(_0xe31860){logger['debug']('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xe31860);}})[_0x92781(0xa7)](_0x260cb3=>{const _0x385156=_0x92781;logger[_0x385156(0x7d)](_0x385156(0xaf)+_0x260cb3);});})['catch'](_0x527bf0=>{const _0x1fa46d=_0x504c40;logger[_0x1fa46d(0x7d)](_0x1fa46d(0x77)+_0x527bf0),_0x3c6df9[_0x1fa46d(0x8d)](_0x41b55e);});})['catch'](_0x29b33f=>{const _0x4aa0cf=_0x2da048;logger[_0x4aa0cf(0x7d)](_0x4aa0cf(0x7f)+_0x29b33f),_0x3fef31['CHlKn'](_0x41b55e);});});},exports['findLatency']=async(_0x27caed,_0x2e4e58)=>{const _0x117b38=a176_0x59d5d4,_0x25b0ac={};_0x25b0ac[_0x117b38(0x9d)]=_0x117b38(0xa4),_0x25b0ac['vcued']=_0x117b38(0xc9),_0x25b0ac[_0x117b38(0x7c)]=function(_0x1cfe55,_0x54471b){return _0x1cfe55-_0x54471b;};const _0x5f0439=_0x25b0ac;try{const _0x2ee650=new Date();await helper['nodeRequest'](_0x5f0439[_0x117b38(0x9d)],_0x5f0439[_0x117b38(0xd0)],{},_0x27caed,_0x2e4e58,0x1388);const _0x563a95=_0x5f0439[_0x117b38(0x7c)](new Date(),_0x2ee650);logger[_0x117b38(0x7d)]('Execution\x20time\x20for\x20'+_0x2e4e58+_0x117b38(0xbb)+_0x563a95+'ms');const _0x6d2fb3={};return _0x6d2fb3[_0x117b38(0xb9)]=_0x2e4e58,_0x6d2fb3[_0x117b38(0xca)]=_0x563a95,_0x6d2fb3;}catch(_0x281403){return logger[_0x117b38(0x7d)]('ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'+_0x2e4e58+_0x117b38(0x88)+_0x281403),{};}},exports[a176_0x59d5d4(0x89)]=async _0x47079a=>{const _0x41a32d=a176_0x59d5d4,_0x5806c4={'JoXKM':function(_0x265fe9,_0x768bb){return _0x265fe9(_0x768bb);},'dXXWU':_0x41a32d(0x98),'tdRjC':_0x41a32d(0x97),'HXTHn':_0x41a32d(0xa4),'gHWPz':'next_hubs'};try{const _0x3f6dd6=_0x5806c4[_0x41a32d(0xa5)](require,_0x5806c4['dXXWU'])[_0x41a32d(0xb9)][_0x41a32d(0x83)](_0x5806c4[_0x41a32d(0x7e)],''),_0x46bc15=await helper['nodeRequest'](_0x5806c4['HXTHn'],_0x5806c4[_0x41a32d(0xcb)],{},_0x47079a,_0x3f6dd6,0x1388),_0x431d69=_0x46bc15[_0x41a32d(0xd3)];return logger[_0x41a32d(0x7d)](_0x41a32d(0x80)+util['format']('%j',_0x431d69)),_0x431d69['hubs'];}catch(_0x4fcd52){logger[_0x41a32d(0x7d)](_0x41a32d(0x71)+_0x4fcd52);}return null;};
|