browserstack-node-sdk 1.65.2 → 1.65.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a171_0x346c11=a171_0x13bc;(function(_0x585850,_0x1b0c4d){const _0x5538bf=a171_0x13bc,_0x178fdc=_0x585850();while(!![]){try{const _0x114771=parseInt(_0x5538bf(0x18b))/0x1+-parseInt(_0x5538bf(0x202))/0x2*(parseInt(_0x5538bf(0x15c))/0x3)+-parseInt(_0x5538bf(0x177))/0x4+parseInt(_0x5538bf(0x1db))/0x5+-parseInt(_0x5538bf(0x15f))/0x6+-parseInt(_0x5538bf(0x189))/0x7+parseInt(_0x5538bf(0x1e9))/0x8*(parseInt(_0x5538bf(0x194))/0x9);if(_0x114771===_0x1b0c4d)break;else _0x178fdc['push'](_0x178fdc['shift']());}catch(_0x40fbc9){_0x178fdc['push'](_0x178fdc['shift']());}}}(a171_0x33ea,0x4cf27));function a171_0x13bc(_0x14f5c3,_0x2287fc){const _0x33ea41=a171_0x33ea();return a171_0x13bc=function(_0x13bcd9,_0x573feb){_0x13bcd9=_0x13bcd9-0x134;let _0x42bd08=_0x33ea41[_0x13bcd9];return _0x42bd08;},a171_0x13bc(_0x14f5c3,_0x2287fc);}const bsSetupHelper=require('../helper'),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x346c11(0x200)),accessibilityHelper=require(a171_0x346c11(0x1ec)),logger=require(a171_0x346c11(0x203))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a171_0x346c11(0x1c5)),globals=require(a171_0x346c11(0x1a7)),testHubConstants=require(a171_0x346c11(0x14c)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a171_0x346c11(0x1e2)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a171_0x346c11(0x1ad)),OrchestrationUtils=require(a171_0x346c11(0x1fc)),constants=require(a171_0x346c11(0x207));let testData={};exports[a171_0x346c11(0x1ae)]=_0x26f212=>{const _0x2cde4d=a171_0x346c11,_0x5701ff={'CKkoT':function(_0x1d8406){return _0x1d8406();},'zyOsW':function(_0x4e616e,_0x206e80){return _0x4e616e===_0x206e80;},'eHyWP':_0x2cde4d(0x16f)};let _0x3bba8b=![],_0x1d7b79=![];if(bsSetupHelper[_0x2cde4d(0x199)]()&&bsSetupHelper['isAppAutomateSession'](_0x26f212))_0x1d7b79=!![];else bsSetupHelper[_0x2cde4d(0x199)]()&&(_0x3bba8b=!![]);return Object[_0x2cde4d(0x19b)]({'observability':_0x5701ff[_0x2cde4d(0x205)](isTestObservabilitySession),'accessibility':exports[_0x2cde4d(0x147)](_0x26f212),'percy':_0x26f212['percy']||![],'sr_automation':_0x5701ff[_0x2cde4d(0x167)](process[_0x2cde4d(0x15a)][_0x2cde4d(0x155)],_0x5701ff[_0x2cde4d(0x173)])||_0x26f212[_0x2cde4d(0x1b2)]||![],'automate':_0x3bba8b,'app_automate':_0x1d7b79,'turboscale':bsSetupHelper[_0x2cde4d(0x1f1)](_0x26f212),'lts':LoadTestModule[_0x2cde4d(0x1d1)](_0x26f212)},bsSetupHelper[_0x2cde4d(0x186)]());},exports[a171_0x346c11(0x19a)]=(_0x3c29ad,_0x331451)=>{const _0x1be497=a171_0x346c11,_0x5b96fd={'TnYxh':function(_0x346169,_0x535bd1){return _0x346169(_0x535bd1);},'qFZWO':_0x1be497(0x1ca)},_0x489df8={'frameworkName':_0x331451,'frameworkVersion':_0x5b96fd[_0x1be497(0x162)](getFrameworkVersion,_0x331451),'sdkVersion':bsSetupHelper[_0x1be497(0x18f)](),'language':_0x5b96fd['qFZWO'],'testFramework':bsSetupHelper[_0x1be497(0x1d8)](_0x3c29ad,_0x331451)};return process[_0x1be497(0x15a)]['FRAMEWORK_DETAILS']=JSON['stringify'](_0x489df8),_0x489df8;},exports[a171_0x346c11(0x183)]=_0x5c4d71=>{const _0x22477c=a171_0x346c11,_0xbe5780={};_0xbe5780[_0x22477c(0x1f4)]=_0x22477c(0x1e8),_0xbe5780['CiYQx']=_0x22477c(0x16f);const _0x5c54a9=_0xbe5780;process['env']['BROWSERSTACK_PERCY']=_0x5c54a9[_0x22477c(0x1f4)],bsSetupHelper[_0x22477c(0x16d)](_0x5c4d71[_0x22477c(0x134)]['percy'])&&(!_0x5c4d71[_0x22477c(0x180)]||!_0x5c4d71[_0x22477c(0x180)]['isRunning']())&&(process['env']['BROWSERSTACK_PERCY']=_0x5c54a9['CiYQx']);},exports[a171_0x346c11(0x1c2)]=()=>{const _0x23f8c5=a171_0x346c11;return bsSetupHelper['isTrue'](process['env'][_0x23f8c5(0x1b5)]);},exports['isAccessibilityEnabled']=(_0x4afc69={})=>{const _0x50dbd1=a171_0x346c11,_0x28297e={};_0x28297e[_0x50dbd1(0x1c4)]=function(_0x587542,_0xb03ac4){return _0x587542!==_0xb03ac4;},_0x28297e[_0x50dbd1(0x1c7)]=function(_0x29c963,_0x4893e7){return _0x29c963===_0x4893e7;},_0x28297e[_0x50dbd1(0x1dc)]=_0x50dbd1(0x16f),_0x28297e[_0x50dbd1(0x176)]=function(_0x35a3fc,_0x114e12){return _0x35a3fc>_0x114e12;};const _0x4fb4a8=_0x28297e;if(_0x4fb4a8[_0x50dbd1(0x1c4)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1af)],undefined))return bsSetupHelper['isTrue'](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1af)]);let _0x1d98ca=_0x4fb4a8[_0x50dbd1(0x1c7)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1c3)],_0x4fb4a8[_0x50dbd1(0x1dc)]);return _0x4fb4a8['atMoF'](Object[_0x50dbd1(0x145)](_0x4afc69)[_0x50dbd1(0x1f7)],0x0)&&(process[_0x50dbd1(0x15a)][_0x50dbd1(0x1ce)]=accessibilityHelper[_0x50dbd1(0x1e1)](_0x4afc69)),_0x1d98ca=_0x1d98ca||_0x4fb4a8[_0x50dbd1(0x1c7)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1ce)],_0x4fb4a8[_0x50dbd1(0x1dc)]),_0x1d98ca;},exports[a171_0x346c11(0x1cc)]=(_0x1cb363,_0x3cef1f)=>{const _0x5cc13a=a171_0x346c11,_0x1f62d1={'VRqFe':function(_0x27ebe0){return _0x27ebe0();},'nfBuh':_0x5cc13a(0x1e6),'CaoIl':_0x5cc13a(0x16f),'IdODu':function(_0x326563,_0x3bd266,_0x450d28){return _0x326563(_0x3bd266,_0x450d28);},'xlNnx':_0x5cc13a(0x1f8),'NpiOZ':_0x5cc13a(0x153)};if(!_0x1cb363||!_0x1cb363[_0x5cc13a(0x1f8)])return exports[_0x5cc13a(0x1ef)](),[null,null,null];if(!_0x1cb363['observability']['success'])return exports[_0x5cc13a(0x1ef)](_0x1cb363[_0x5cc13a(0x1f8)]),[null,null,null];if(_0x1f62d1[_0x5cc13a(0x1c9)](isTestObservabilitySession)){const _0xed120=_0x1f62d1['nfBuh']['split']('|');let _0x2d10b7=0x0;while(!![]){switch(_0xed120[_0x2d10b7++]){case'0':_0x1cb363[_0x5cc13a(0x15e)]&&(process['env'][_0x5cc13a(0x16e)]=_0x1cb363[_0x5cc13a(0x15e)]);continue;case'1':return[_0x1cb363['jwt'],_0x1cb363['build_hashed_id'],process[_0x5cc13a(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'2':process[_0x5cc13a(0x15a)][_0x5cc13a(0x175)]=_0x1f62d1[_0x5cc13a(0x1fb)];continue;case'3':logger['debug']('['+constants[_0x5cc13a(0x1d4)]+_0x5cc13a(0x1c0)+_0x1cb363[_0x5cc13a(0x15e)]);continue;case'4':if(_0x1cb363['jwt']){process[_0x5cc13a(0x15a)][_0x5cc13a(0x14e)]=_0x1cb363[_0x5cc13a(0x1da)];const _0x43d058={};_0x43d058[_0x5cc13a(0x182)]=_0x3cef1f[_0x5cc13a(0x182)],_0x43d058[_0x5cc13a(0x1fa)]=_0x3cef1f[_0x5cc13a(0x1fa)],process[_0x5cc13a(0x15a)][_0x5cc13a(0x1ac)]=JSON[_0x5cc13a(0x1f9)](_0x43d058);}continue;case'5':_0x1f62d1[_0x5cc13a(0x1b3)](nestedKeyValue,_0x1cb363,[_0x1f62d1[_0x5cc13a(0x1bc)],_0x1f62d1[_0x5cc13a(0x165)]])&&(process[_0x5cc13a(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1cb363['observability']['options'][_0x5cc13a(0x142)]['toString']());continue;}break;}}return[null,null,null];},exports[a171_0x346c11(0x1d3)]=_0xc12a7a=>{const _0x1b669d=a171_0x346c11,_0x22bf4a={'PbbVj':function(_0xd5650a,_0x50ce37,_0x451793){return _0xd5650a(_0x50ce37,_0x451793);},'ZqfyT':_0x1b669d(0x188),'bbonW':'options','wgXor':function(_0x50de7d,_0xeabf25,_0x159314,_0x160a2f){return _0x50de7d(_0xeabf25,_0x159314,_0x160a2f);},'uabGN':_0x1b669d(0x157),'PDmRB':_0x1b669d(0x204),'xoXXe':_0x1b669d(0x149),'hRwMU':_0x1b669d(0x18e),'UrrgS':_0x1b669d(0x1d0),'qzzfX':_0x1b669d(0x1bf),'RxybE':function(_0x300589,_0x56c190){return _0x300589(_0x56c190);},'LuziA':function(_0x34ff7f,_0x21efa8){return _0x34ff7f===_0x21efa8;},'fpFLc':function(_0x323121,_0x464cb2){return _0x323121===_0x464cb2;},'dJSTb':'true','UgQOH':_0x1b669d(0x152)};if(!_0xc12a7a[_0x1b669d(0x188)])return exports[_0x1b669d(0x17e)](),[null,null];if(!_0xc12a7a[_0x1b669d(0x188)]['success'])return exports['handleErrorForAccessibility'](_0xc12a7a[_0x1b669d(0x188)]),[null,null];if(_0x22bf4a[_0x1b669d(0x1b1)](nestedKeyValue,_0xc12a7a,[_0x22bf4a['ZqfyT'],_0x22bf4a[_0x1b669d(0x141)]])){const {accessibilityToken:_0x493594,scannerVersion:_0x3b26f9,scannerProcessingTimeout:_0x1c0211,isMobileScanningEnabledForGroup:_0x237cc2}=_0x22bf4a[_0x1b669d(0x172)](jsonifyAccessibilityArray,_0xc12a7a['accessibility']['options'][_0x1b669d(0x1e7)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x185)]),_0x1c109f={'scripts':_0x22bf4a['wgXor'](jsonifyAccessibilityArray,_0xc12a7a[_0x1b669d(0x188)][_0x1b669d(0x153)][_0x1b669d(0x171)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x15d)])};_0x1c109f[_0x22bf4a[_0x1b669d(0x169)]]=_0xc12a7a['accessibility']['options'][_0x1b669d(0x13f)]['commands'];const _0x69e027=_0x22bf4a[_0x1b669d(0x172)](jsonifyAccessibilityArray,_0xc12a7a[_0x1b669d(0x188)][_0x1b669d(0x153)][_0x1b669d(0x1e7)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x185)]);_0x1c109f[_0x22bf4a[_0x1b669d(0x13e)]]=_0x69e027[_0x22bf4a[_0x1b669d(0x151)]],scripts['parseFromJson'](_0x1c109f),scripts[_0x1b669d(0x1f0)]();let _0x44489c=process[_0x1b669d(0x15a)][_0x1b669d(0x1a6)];_0x44489c=!!_0x44489c?JSON['parse'](_0x44489c):{},_0x44489c[_0x1b669d(0x146)]=_0x3b26f9,process[_0x1b669d(0x15a)][_0x1b669d(0x1a6)]=JSON[_0x1b669d(0x1f9)](_0x44489c),process['env'][_0x1b669d(0x1e3)]=_0x493594,process[_0x1b669d(0x15a)][_0x1b669d(0x1a9)]=_0x22bf4a['RxybE'](String,_0x22bf4a[_0x1b669d(0x187)](_0x237cc2,!![])||_0x22bf4a[_0x1b669d(0x209)](_0x237cc2,_0x22bf4a[_0x1b669d(0x139)])),logger['debug'](_0x1b669d(0x1b8)+_0xc12a7a[_0x1b669d(0x15e)]);const _0x21684f=accessibilityHelper[_0x1b669d(0x19f)](_0x493594);return _0x21684f&&bsSetupHelper['isTrue'](_0x21684f['skipCDPConnectOverride'])&&(process[_0x1b669d(0x15a)][_0x1b669d(0x1be)]=!![],logger[_0x1b669d(0x17f)](_0x22bf4a['UgQOH'])),[_0x493594,_0xc12a7a[_0x1b669d(0x15e)],_0x1c0211];}return[null,null];},exports[a171_0x346c11(0x1ef)]=_0x396091=>{const _0x3c5035=a171_0x346c11,_0x2bf824={};_0x2bf824[_0x3c5035(0x135)]=_0x3c5035(0x193),_0x2bf824['JTXbo']=_0x3c5035(0x1e8),_0x2bf824[_0x3c5035(0x170)]='null';const _0x5102fd=_0x2bf824,_0x194cc4=_0x5102fd['xTLNy'][_0x3c5035(0x1bd)]('|');let _0x412ad3=0x0;while(!![]){switch(_0x194cc4[_0x412ad3++]){case'0':process[_0x3c5035(0x15a)]['BS_TESTOPS_BUILD_COMPLETED']=_0x5102fd[_0x3c5035(0x196)];continue;case'1':process[_0x3c5035(0x15a)][_0x3c5035(0x1a4)]=_0x5102fd[_0x3c5035(0x170)];continue;case'2':process['env'][_0x3c5035(0x14e)]=_0x5102fd[_0x3c5035(0x170)];continue;case'3':process[_0x3c5035(0x15a)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x5102fd[_0x3c5035(0x170)];continue;case'4':exports['logBuildError'](_0x396091,testHubConstants['OBSERVABILITY']);continue;case'5':process[_0x3c5035(0x15a)]['BROWSERSTACK_TESTHUB_JWT']=_0x5102fd[_0x3c5035(0x170)];continue;case'6':process[_0x3c5035(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x5102fd[_0x3c5035(0x170)];continue;}break;}},exports[a171_0x346c11(0x17e)]=_0x391de7=>{const _0x56a458=a171_0x346c11,_0x51f008={};_0x51f008[_0x56a458(0x13c)]='4|3|2|0|1',_0x51f008['txWiA']=_0x56a458(0x1e8),_0x51f008[_0x56a458(0x1ab)]='null';const _0x17b3b6=_0x51f008,_0x9300a2=_0x17b3b6['VBguI'][_0x56a458(0x1bd)]('|');let _0x1dee9d=0x0;while(!![]){switch(_0x9300a2[_0x1dee9d++]){case'0':process[_0x56a458(0x15a)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x17b3b6[_0x56a458(0x17b)];continue;case'1':exports[_0x56a458(0x191)](_0x391de7,testHubConstants['ACCESSIBILITY']);continue;case'2':process[_0x56a458(0x15a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x17b3b6['txWiA'];continue;case'3':process[_0x56a458(0x15a)][_0x56a458(0x17d)]=_0x17b3b6['CDXLN'];continue;case'4':process[_0x56a458(0x15a)]['BROWSERSTACK_TESTHUB_UUID']=_0x17b3b6[_0x56a458(0x1ab)];continue;}break;}},exports[a171_0x346c11(0x191)]=(_0xfcf87d,_0x388822='')=>{const _0x4c3e89=a171_0x346c11,_0x424676={};_0x424676[_0x4c3e89(0x1df)]=function(_0x12c0a0,_0x2c35e0){return _0x12c0a0===_0x2c35e0;};const _0x4299d3=_0x424676;if(_0x4299d3['SkqJA'](_0xfcf87d,undefined)){logger[_0x4c3e89(0x178)](_0x388822['toUpperCase']()+_0x4c3e89(0x1cf));return;}for(const _0x45ccef of _0xfcf87d[_0x4c3e89(0x1b6)]){const _0x1774df=_0x45ccef[_0x4c3e89(0x1a2)],_0x4187a4=_0x45ccef[_0x4c3e89(0x1cd)];if(_0x4187a4)switch(_0x1774df){case testHubConstants[_0x4c3e89(0x136)][_0x4c3e89(0x1ed)]:logger['error'](_0x4187a4);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger[_0x4c3e89(0x1d5)](_0x4187a4);break;case testHubConstants['ERROR'][_0x4c3e89(0x1ee)]:logger[_0x4c3e89(0x178)](_0x4187a4);break;default:logger[_0x4c3e89(0x178)](_0x4187a4);}}};const jsonifyAccessibilityArray=(_0x1876c1,_0x5f1323,_0x28f227)=>{const _0x4af647=a171_0x346c11,_0x5e9492={};return _0x1876c1[_0x4af647(0x179)](_0x3c9050=>{_0x5e9492[_0x3c9050[_0x5f1323]]=_0x3c9050[_0x28f227];}),_0x5e9492;};exports['setTestHubCommonMetaInfo']=_0x52d765=>{const _0x59629a=a171_0x346c11;_0x52d765['jwt']&&(process[_0x59629a(0x15a)][_0x59629a(0x17d)]=_0x52d765[_0x59629a(0x1da)]);_0x52d765[_0x59629a(0x15e)]&&(process[_0x59629a(0x15a)][_0x59629a(0x1a4)]=_0x52d765['build_hashed_id'],logger['debug'](_0x59629a(0x190)+_0x52d765[_0x59629a(0x15e)]));;},exports[a171_0x346c11(0x1a8)]=(_0x2309b8='',_0x1e79b2='')=>{const _0x793076=a171_0x346c11,_0x11dfd6={'bFkBv':function(_0x1a6b1d){return _0x1a6b1d();},'ypNYL':function(_0x94247d,_0x3d1877){return _0x94247d===_0x3d1877;},'bfDPX':_0x793076(0x144),'FjtjL':_0x793076(0x19c),'tDdIu':_0x793076(0x1c1),'wmlGy':'HookRunStarted','uYbhT':_0x793076(0x1a1),'VYKbU':function(_0x2d4546){return _0x2d4546();}};if(exports[_0x793076(0x1c2)]()&&!exports[_0x793076(0x147)]()&&!_0x11dfd6[_0x793076(0x184)](isTestObservabilitySession)){if(_0x11dfd6[_0x793076(0x19d)](_0x1e79b2,_0x11dfd6[_0x793076(0x20b)]))return![];if([_0x11dfd6['FjtjL'],_0x11dfd6[_0x793076(0x181)]][_0x793076(0x17c)](_0x2309b8))return![];return!![];}if(exports[_0x793076(0x147)]()&&!_0x11dfd6[_0x793076(0x184)](isTestObservabilitySession)){if([_0x11dfd6[_0x793076(0x137)],_0x11dfd6[_0x793076(0x18a)],_0x11dfd6[_0x793076(0x148)]]['includes'](_0x2309b8))return![];return!![];}return exports[_0x793076(0x147)]()||_0x11dfd6[_0x793076(0x1b4)](isTestObservabilitySession)||exports[_0x793076(0x1c2)]();},exports['appendTesthubParams']=(_0xa7e5ee,_0x42bca8,_0x213404='',_0x308a9e)=>{const _0x245068=a171_0x346c11,_0x2b46cf={'BKKsl':_0x245068(0x1a3),'GIiyj':'HookRunFinished','zfLTS':function(_0x5e74ce,_0x58fcda){return _0x5e74ce===_0x58fcda;},'HtGwQ':'bstackA11yShouldScan','cOkzR':'isAccessibilityPlatform','vCXOJ':_0x245068(0x188),'LxOUg':function(_0x2b51a0,_0x4f6148){return _0x2b51a0&&_0x4f6148;},'iJOiK':function(_0x2cc8b0,_0x4de1a9){return _0x2cc8b0===_0x4de1a9;},'QGnvQ':function(_0x113298,_0x367b6c){return _0x113298+_0x367b6c;},'GFrUJ':function(_0x2c96fb,_0x51b4db){return _0x2c96fb+_0x51b4db;},'GswSR':function(_0xd4132b,_0x4dc866){return _0xd4132b&&_0x4dc866;},'wbwuz':function(_0x70c7c6,_0x15617f){return _0x70c7c6(_0x15617f);},'phhpm':'../../bin/jasmine/testRunMap.js','xdTij':function(_0x4822da,_0x3d5fdb){return _0x4822da+_0x3d5fdb;},'HABJv':function(_0xb33b60,_0x4ba519){return _0xb33b60+_0x4ba519;},'WzgyW':function(_0x3b5112,_0x4db7f7){return _0x3b5112===_0x4db7f7;},'mCsni':function(_0x3f6f0a,_0xc89859){return _0x3f6f0a===_0xc89859;},'WqWpN':_0x245068(0x1b0),'ePxkH':function(_0x1d57db,_0x2b539f){return _0x1d57db&&_0x2b539f;},'UOOPZ':function(_0x344f23,_0x400845){return _0x344f23===_0x400845;},'mnllY':function(_0x26ca7c,_0x3c527b){return _0x26ca7c&&_0x3c527b;},'nSsyV':_0x245068(0x17a)};if(![_0x2b46cf[_0x245068(0x20d)],_0x2b46cf['GIiyj']]['includes'](_0x42bca8)&&exports[_0x245068(0x147)]()){const _0x271176={};if(_0x2b46cf[_0x245068(0x174)](_0x308a9e,FRAMEWORKS[_0x245068(0x1ff)])){const _0x2079b1=globals[_0x245068(0x156)](_0x2b46cf['HtGwQ'])||accessibilityHelper['shouldScanTestForAccessibility'](_0x213404['titlePath'](),!![]),_0x14782c=globals['getGlobal'](_0x2b46cf[_0x245068(0x1e5)]);_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1fd)](_0x14782c,_0x2079b1);}if(_0x2b46cf['iJOiK'](_0x308a9e,FRAMEWORKS[_0x245068(0x208)])){const _0x3d7fd9=_0x2b46cf[_0x245068(0x201)](_0x2b46cf[_0x245068(0x158)](_0xa7e5ee[_0x245068(0x13a)][_0x245068(0x140)]('\x20'),'\x20'),_0x213404['name']),_0x14cd0d=globals[_0x245068(0x156)](_0x2b46cf['HtGwQ'])||accessibilityHelper[_0x245068(0x150)](_0x3d7fd9,![]),_0x160b66=browserStackGlobals[_0x245068(0x138)];_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1f3)](_0x160b66,_0x14cd0d);}if(_0x2b46cf['iJOiK'](_0x308a9e,FRAMEWORKS[_0x245068(0x13d)])){const _0x198573=_0x2b46cf[_0x245068(0x1d6)](require,_0x2b46cf['phhpm']),_0x57d07e=_0x213404&&_0x198573['get'](_0x213404['id'])||_0xa7e5ee[_0x245068(0x1ea)];_0x57d07e&&(_0xa7e5ee[_0x245068(0x1ea)]=_0x57d07e);const _0x4780c7=_0x2b46cf['xdTij'](_0x2b46cf[_0x245068(0x1eb)](_0xa7e5ee[_0x245068(0x13a)]['join']('\x20'),'\x20'),_0x213404[_0x245068(0x14a)]||_0xa7e5ee[_0x245068(0x157)]),_0x30b0a7=globals['getGlobal'](_0x2b46cf[_0x245068(0x1aa)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x4780c7,![]),_0x27cbb6=globals[_0x245068(0x156)](_0x2b46cf['cOkzR']);_0x271176[_0x2b46cf['vCXOJ']]=_0x2b46cf['LxOUg'](_0x27cbb6,_0x30b0a7);}if(_0x2b46cf['WzgyW'](_0x308a9e,FRAMEWORKS[_0x245068(0x18c)])){if(_0x2b46cf[_0x245068(0x197)](_0x42bca8,_0x2b46cf[_0x245068(0x143)]))return;_0x271176[_0x2b46cf[_0x245068(0x13b)]]=PWTestDetails[_0x245068(0x160)](_0xa7e5ee[_0x245068(0x1ea)]);}if(_0x2b46cf[_0x245068(0x15b)](_0x308a9e,FRAMEWORKS[_0x245068(0x1d2)])){const _0x2b6cbc=accessibilityHelper[_0x245068(0x150)](_0x213404[_0x245068(0x14d)](),!![]),_0x5e0dc7=global['accessibilityPlatform'];_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1f5)](_0x5e0dc7,_0x2b6cbc);}if(_0x2b46cf[_0x245068(0x161)](_0x308a9e,FRAMEWORKS[_0x245068(0x1cb)])){const _0x55b373=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0xa7e5ee[_0x245068(0x20a)]),_0x270fdf=globals['getGlobal'](_0x2b46cf[_0x245068(0x1e5)]);_0x271176[_0x2b46cf['vCXOJ']]=_0x2b46cf['mnllY'](_0x270fdf,_0x55b373);}_0xa7e5ee[_0x2b46cf['nSsyV']]=_0x271176;}},exports[a171_0x346c11(0x192)]=_0x19475e=>{const _0x132798=a171_0x346c11,_0x4357bb={};_0x4357bb[_0x132798(0x19e)]=function(_0x552f65,_0x2ae8a4){return _0x552f65>_0x2ae8a4;};const _0xb1b987=_0x4357bb;let _0x4c7bde={};if(_0xb1b987[_0x132798(0x19e)](Object['keys'](testData)[_0x132798(0x1f7)],0x0))return testData;_0x4c7bde=JestTestDetails[_0x132798(0x1d9)]();if(_0xb1b987[_0x132798(0x19e)](Object[_0x132798(0x145)](_0x4c7bde)[_0x132798(0x1f7)],0x0))return _0x4c7bde;return _0x4c7bde;},exports[a171_0x346c11(0x1e0)]=(_0x3171ad,_0x340df2={})=>{const _0x2a7d9b=a171_0x346c11;if(bsSetupHelper[_0x2a7d9b(0x198)](_0x340df2[_0x2a7d9b(0x1d7)]))return;switch(_0x3171ad){case FRAMEWORKS['MOCHA']:testData=_0x340df2[_0x2a7d9b(0x1d7)];break;case FRAMEWORKS[_0x2a7d9b(0x208)]:JestTestDetails['setTestData'](_0x340df2[_0x2a7d9b(0x1d7)]);break;case FRAMEWORKS['JASMINE']:testData=_0x340df2['test_run'];break;default:break;}},exports[a171_0x346c11(0x1b7)]=_0x2f3e3c=>{const _0x142b35=a171_0x346c11,_0x11d291={};_0x11d291['TNbun']=function(_0x2e9763,_0x4dda01){return _0x2e9763!==_0x4dda01;},_0x11d291['hhAWo']=function(_0x567d6e,_0x4645f1){return _0x567d6e!==_0x4645f1;},_0x11d291[_0x142b35(0x168)]=function(_0x5c7e12,_0x25eaad){return _0x5c7e12!==_0x25eaad;};const _0x4496d3=_0x11d291;if(_0x4496d3[_0x142b35(0x163)](_0x2f3e3c[_0x142b35(0x188)],null)&&_0x4496d3[_0x142b35(0x195)](_0x2f3e3c[_0x142b35(0x188)],undefined))return _0x2f3e3c[_0x142b35(0x188)];let _0x407fc7=![],_0x180f9c=![];if(_0x2f3e3c[_0x142b35(0x20c)])for(const _0x5e9b29 of _0x2f3e3c['platforms']){_0x4496d3['hhAWo'](_0x5e9b29[_0x142b35(0x188)],null)&&_0x4496d3[_0x142b35(0x168)](_0x5e9b29[_0x142b35(0x188)],undefined)&&(_0x407fc7=_0x407fc7||bsSetupHelper['isTrue'](_0x5e9b29[_0x142b35(0x188)]),_0x180f9c=!![]);}if(_0x180f9c)return _0x407fc7;return null;},exports['getTestOrchestrationBuildStartData']=_0x304e4f=>{if(!_0x304e4f)return{};const _0x297baa=new OrchestrationUtils(_0x304e4f);return _0x297baa['getBuildStartData']();},exports[a171_0x346c11(0x14f)]=_0x29d5bb=>{const _0xf47f26=a171_0x346c11,_0x263bc8={'PIviF':function(_0x4c7dbf){return _0x4c7dbf();},'Wlvcb':function(_0x1c5bff,_0x5157e){return _0x1c5bff===_0x5157e;},'zFaNX':_0xf47f26(0x16f)};let _0x17d506=![],_0x4c479f=![];if(bsSetupHelper[_0xf47f26(0x199)]()&&bsSetupHelper[_0xf47f26(0x1f2)](_0x29d5bb))_0x4c479f=!![];else bsSetupHelper[_0xf47f26(0x199)]()&&(_0x17d506=!![]);return Object[_0xf47f26(0x19b)]({'observability':_0x263bc8[_0xf47f26(0x1a5)](isTestObservabilitySession),'accessibility':exports[_0xf47f26(0x1b7)](_0x29d5bb),'percy':_0x29d5bb[_0xf47f26(0x180)]||![],'sr_automation':_0x263bc8['Wlvcb'](process[_0xf47f26(0x15a)]['BROWSERSTACK_SR_AUTOMATION'],_0x263bc8[_0xf47f26(0x1dd)])||_0x29d5bb[_0xf47f26(0x1b2)]||![],'automate':_0x17d506,'app_automate':_0x4c479f,'turboscale':bsSetupHelper[_0xf47f26(0x1f1)](_0x29d5bb),'lts':LoadTestModule[_0xf47f26(0x1d1)](_0x29d5bb)},bsSetupHelper[_0xf47f26(0x186)]());};function a171_0x33ea(){const _0x21284f=['../../bin/utils/constants.js','JEST','fpFLc','tags','bfDPX','platforms','BKKsl','config','xTLNy','ERROR','wmlGy','isAccessibilityPlatform','dJSTb','scopes','vCXOJ','VBguI','JASMINE','UrrgS','commandsToWrap','join','bbonW','allow_screenshots','WqWpN','uploadEventData','keys','scannerVersion','isAccessibilityEnabled','FjtjL','command','description','vmpEt','./constants.js','titlePath','BS_TESTOPS_JWT','getProductMapForBuildStartCall','shouldScanTestForAccessibility','qzzfX','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','options','uabGN','BROWSERSTACK_SR_AUTOMATION','getGlobal','name','GFrUJ','gTbwH','env','iJOiK','3foxsjt','xoXXe','build_hashed_id','757338dOpdBX','getAccessibilityPlatformValidation','UOOPZ','TnYxh','TNbun','ZxoNK','NpiOZ','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','zyOsW','ByItE','hRwMU','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','ENV_VAR','ujbFh','isTrue','BS_TESTOPS_BUILD_HASHED_ID','true','uxsSj','scripts','wgXor','eHyWP','zfLTS','BS_TESTOPS_BUILD_COMPLETED','atMoF','509712SdwXWb','error','forEach','product_map','txWiA','includes','BROWSERSTACK_TESTHUB_JWT','handleErrorForAccessibility','debug','percy','tDdIu','username','setPercyFlag','bFkBv','PDmRB','getCentralUser','LuziA','accessibility','737576YQhxiK','uYbhT','95090uOYrZL','PLAYWRIGHT','xGcWt','commands','getAgentVersion','BROWSERSTACK_TESTHUB_UUID:\x20','logBuildError','getCurrentTestData','1|5|0|2|3|6|4','729QyVwIY','hhAWo','JTXbo','mCsni','isUndefined','isBrowserstackInfra','getFrameworkDetails','assign','LogCreated','ypNYL','icJPw','parseA11yJwtPayload','testPlanId','HookRunFinished','key','HookRunStarted','BROWSERSTACK_TESTHUB_UUID','PIviF','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../globals.js','shouldProcessEventForTesthub','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','HtGwQ','CDXLN','CREDENTIALS_FOR_CRASH_REPORTING','../ats/helper','getProductMap','BROWSERSTACK_ACCESSIBILITY','TestRunStarted','PbbVj','sr_automation','IdODu','VYKbU','BROWSERSTACK_PERCY','errors','getAccessibilityValueFromYml','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','QQRAr','icnLs','ZAFQi','xlNnx','split','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','goog:chromeOptions',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','CBTSessionCreated','isPercyBuild','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Tpdut','../accessibility-automation/scripts.js','startsWith','xgKSu','getTestPlanId','VRqFe','javascript','CUCUMBER','setTestObservabilityVariables','message','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x20Build\x20creation\x20failed','nonBStackInfraA11yChromeOptions','isLTSSession','CODECEPT','setAccessibilityVariables','TEST_REPORTING_ANALYTICS','info','wbwuz','test_run','getTestFrameworkDetails','getTestData','jwt','1037310nKVBin','hiaxp','zFaNX','uLHwy','SkqJA','setCurrentTestData','checkAccessibilityPlatformConfig','../../bin/jest/test-observability/test-details.js','BS_A11Y_JWT','testManagementOptions','cOkzR','2|4|0|5|3|1','capabilities','false','64920tZWdYB','uuid','HABJv','../accessibility-automation/helper','INVALID_CREDENTIALS','DEPRECATED','handleErrorForObservability','toJson','isTurboScaleSession','isAppAutomateSession','GswSR','YLhre','ePxkH','BhRxS','length','observability','stringify','password','CaoIl','../test-orchestration/orchestrationUtils.js','LxOUg','string','MOCHA','../test-observability/utils','QGnvQ','571346ejaBeW','../logger','value','CKkoT','argv'];a171_0x33ea=function(){return _0x21284f;};return a171_0x33ea();}const normalizeTestPlanId=_0x5e0dac=>{const _0x58868c=a171_0x346c11,_0x5671c6={};_0x5671c6[_0x58868c(0x14b)]=function(_0x3f004f,_0x45af25){return _0x3f004f!==_0x45af25;},_0x5671c6[_0x58868c(0x18d)]=_0x58868c(0x1fe),_0x5671c6['icnLs']=function(_0x5d16ac,_0x161851){return _0x5d16ac>_0x161851;};const _0x2022cd=_0x5671c6;if(_0x2022cd[_0x58868c(0x14b)](typeof _0x5e0dac,_0x2022cd[_0x58868c(0x18d)]))return undefined;const _0xa05236=_0x5e0dac['trim']();return _0x2022cd[_0x58868c(0x1ba)](_0xa05236[_0x58868c(0x1f7)],0x0)?_0xa05236:undefined;},readTestPlanIdFromCliArgs=(_0x3f8be6=process[a171_0x346c11(0x206)])=>{const _0x207fb6=a171_0x346c11,_0x254061={};_0x254061['ZAFQi']=function(_0x1cc08f,_0x5076a2){return _0x1cc08f<_0x5076a2;},_0x254061[_0x207fb6(0x1f6)]=function(_0x716bd4,_0x5ecb2e){return _0x716bd4===_0x5ecb2e;},_0x254061[_0x207fb6(0x159)]=function(_0x44640a,_0x41a2af){return _0x44640a+_0x41a2af;},_0x254061['uLHwy']=function(_0x4685ce,_0x2e4503){return _0x4685ce+_0x2e4503;};const _0x5e0aa1=_0x254061,_0x37fd50='--'+testHubConstants[_0x207fb6(0x16a)];for(let _0x204a90=0x0;_0x5e0aa1[_0x207fb6(0x1bb)](_0x204a90,_0x3f8be6['length']);_0x204a90+=0x1){const _0x4d67c5=_0x3f8be6[_0x204a90];if(_0x5e0aa1[_0x207fb6(0x1f6)](_0x4d67c5,_0x37fd50)){const _0x279c62=_0x3f8be6[_0x5e0aa1['gTbwH'](_0x204a90,0x1)];if(!_0x279c62||_0x279c62[_0x207fb6(0x1c6)]('--'))return undefined;return _0x279c62;}if(_0x4d67c5['startsWith'](_0x37fd50+'='))return _0x4d67c5['slice'](_0x5e0aa1[_0x207fb6(0x1de)](_0x37fd50[_0x207fb6(0x1f7)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x1e3a90={})=>{const _0x18757d=a171_0x346c11,_0x4c8be7={'sxZRM':function(_0x449bc6,_0x732834){return _0x449bc6(_0x732834);}};return _0x4c8be7['sxZRM'](normalizeTestPlanId,_0x1e3a90&&_0x1e3a90[_0x18757d(0x1e4)]&&_0x1e3a90[_0x18757d(0x1e4)][_0x18757d(0x1a0)]);};exports[a171_0x346c11(0x1c8)]=(_0x42c883={},_0x707f17=process[a171_0x346c11(0x206)],_0xdc0245=process[a171_0x346c11(0x15a)])=>{const _0x52a9fc=a171_0x346c11,_0x18141a={'ujbFh':function(_0x324a0c,_0x583358){return _0x324a0c(_0x583358);},'ZxoNK':function(_0x432b21,_0x471fc2){return _0x432b21(_0x471fc2);},'QQRAr':function(_0x112123,_0x26e401){return _0x112123(_0x26e401);}};try{const _0x2310d3=_0x18141a[_0x52a9fc(0x16c)](normalizeTestPlanId,_0x18141a[_0x52a9fc(0x16c)](readTestPlanIdFromCliArgs,_0x707f17));if(_0x2310d3)return _0x2310d3;const _0x513ad1=_0x18141a[_0x52a9fc(0x164)](normalizeTestPlanId,_0xdc0245&&_0xdc0245[testHubConstants[_0x52a9fc(0x16b)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x513ad1)return _0x513ad1;return _0x18141a[_0x52a9fc(0x1b9)](readTestPlanIdFromConfig,_0x42c883);}catch(_0x24616d){return logger[_0x52a9fc(0x17f)](_0x52a9fc(0x166)+(_0x24616d&&_0x24616d[_0x52a9fc(0x1cd)]?_0x24616d[_0x52a9fc(0x1cd)]:_0x24616d)),undefined;}};
|
|
1
|
+
const a171_0x195845=a171_0x33ef;(function(_0x1d3cdd,_0x3caafb){const _0x32f009=a171_0x33ef,_0x348a39=_0x1d3cdd();while(!![]){try{const _0x313fda=parseInt(_0x32f009(0x1b1))/0x1+-parseInt(_0x32f009(0x1e3))/0x2+parseInt(_0x32f009(0x1e2))/0x3+-parseInt(_0x32f009(0x19b))/0x4+parseInt(_0x32f009(0x1b7))/0x5+parseInt(_0x32f009(0x220))/0x6*(-parseInt(_0x32f009(0x18e))/0x7)+-parseInt(_0x32f009(0x1ae))/0x8;if(_0x313fda===_0x3caafb)break;else _0x348a39['push'](_0x348a39['shift']());}catch(_0x3c3cfe){_0x348a39['push'](_0x348a39['shift']());}}}(a171_0x17bc,0x63136));const bsSetupHelper=require(a171_0x195845(0x199)),LoadTestModule=require(a171_0x195845(0x202)),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x195845(0x22d)),accessibilityHelper=require(a171_0x195845(0x231)),logger=require(a171_0x195845(0x20d))[a171_0x195845(0x233)],{nestedKeyValue}=require(a171_0x195845(0x204)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require(a171_0x195845(0x175)),PWTestDetails=require(a171_0x195845(0x243)),JestTestDetails=require(a171_0x195845(0x21d)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a171_0x195845(0x190)),OrchestrationUtils=require(a171_0x195845(0x1f5)),constants=require(a171_0x195845(0x1d5));let testData={};exports[a171_0x195845(0x195)]=_0xea1211=>{const _0x265a6a=a171_0x195845,_0x34018d={'yoJJi':function(_0x2c795a){return _0x2c795a();},'EHOmO':function(_0x2493f6,_0x3b5b3c){return _0x2493f6===_0x3b5b3c;},'hOnBA':_0x265a6a(0x1c9)};let _0x3d8c9e=![],_0x409e1f=![];if(bsSetupHelper[_0x265a6a(0x17d)]()&&bsSetupHelper[_0x265a6a(0x1de)](_0xea1211))_0x409e1f=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x3d8c9e=!![]);return Object[_0x265a6a(0x1fb)]({'observability':_0x34018d[_0x265a6a(0x207)](isTestObservabilitySession),'accessibility':exports[_0x265a6a(0x1f8)](_0xea1211),'percy':_0xea1211[_0x265a6a(0x1ef)]||![],'sr_automation':_0x34018d['EHOmO'](process[_0x265a6a(0x219)]['BROWSERSTACK_SR_AUTOMATION'],_0x34018d[_0x265a6a(0x208)])||_0xea1211[_0x265a6a(0x213)]||![],'automate':_0x3d8c9e,'app_automate':_0x409e1f,'turboscale':bsSetupHelper[_0x265a6a(0x237)](_0xea1211),'lts':LoadTestModule[_0x265a6a(0x1ac)](_0xea1211)},bsSetupHelper[_0x265a6a(0x23d)]());},exports[a171_0x195845(0x1d7)]=(_0x5f2b70,_0x16bf6c)=>{const _0x279784=a171_0x195845,_0x2c9a30={'vPuYt':function(_0x5de856,_0x5d32d6){return _0x5de856(_0x5d32d6);},'azLmt':'javascript'},_0x3f5596={'frameworkName':_0x16bf6c,'frameworkVersion':_0x2c9a30[_0x279784(0x1f4)](getFrameworkVersion,_0x16bf6c),'sdkVersion':bsSetupHelper[_0x279784(0x1f2)](),'language':_0x2c9a30['azLmt'],'testFramework':bsSetupHelper[_0x279784(0x1bc)](_0x5f2b70,_0x16bf6c)};return process[_0x279784(0x219)][_0x279784(0x1c1)]=JSON[_0x279784(0x206)](_0x3f5596),_0x3f5596;},exports[a171_0x195845(0x1fd)]=_0x5d4635=>{const _0x5e145b=a171_0x195845,_0xa2a751={};_0xa2a751[_0x5e145b(0x1ca)]=_0x5e145b(0x19c),_0xa2a751['ONhFD']=_0x5e145b(0x1c9);const _0xf46c80=_0xa2a751;process[_0x5e145b(0x219)][_0x5e145b(0x210)]=_0xf46c80[_0x5e145b(0x1ca)],bsSetupHelper[_0x5e145b(0x1d4)](_0x5d4635[_0x5e145b(0x18b)][_0x5e145b(0x1ef)])&&(!_0x5d4635[_0x5e145b(0x1ef)]||!_0x5d4635[_0x5e145b(0x1ef)]['isRunning']())&&(process[_0x5e145b(0x219)][_0x5e145b(0x210)]=_0xf46c80[_0x5e145b(0x227)]);},exports[a171_0x195845(0x17a)]=()=>{const _0x523931=a171_0x195845;return bsSetupHelper['isTrue'](process[_0x523931(0x219)][_0x523931(0x210)]);},exports['isAccessibilityEnabled']=(_0x23b211={})=>{const _0x25da33=a171_0x195845,_0x7f49b={};_0x7f49b[_0x25da33(0x1ee)]=function(_0x5d358b,_0x2df8e4){return _0x5d358b!==_0x2df8e4;},_0x7f49b[_0x25da33(0x1f6)]=function(_0x5698b1,_0x1bbce5){return _0x5698b1===_0x1bbce5;},_0x7f49b[_0x25da33(0x1fe)]=_0x25da33(0x1c9),_0x7f49b[_0x25da33(0x1d6)]=function(_0x4a39d8,_0x5422ad){return _0x4a39d8>_0x5422ad;},_0x7f49b[_0x25da33(0x226)]=function(_0x348771,_0x454bcb){return _0x348771===_0x454bcb;};const _0x1b9c3e=_0x7f49b;if(_0x1b9c3e[_0x25da33(0x1ee)](process['env'][_0x25da33(0x214)],undefined))return bsSetupHelper[_0x25da33(0x1d4)](process['env'][_0x25da33(0x214)]);let _0x31e163=_0x1b9c3e[_0x25da33(0x1f6)](process[_0x25da33(0x219)][_0x25da33(0x1cd)],_0x1b9c3e['ROftE']);return _0x1b9c3e['idgKL'](Object[_0x25da33(0x1d3)](_0x23b211)[_0x25da33(0x218)],0x0)&&(process[_0x25da33(0x219)][_0x25da33(0x19e)]=accessibilityHelper[_0x25da33(0x1ba)](_0x23b211)),_0x31e163=_0x31e163||_0x1b9c3e[_0x25da33(0x226)](process[_0x25da33(0x219)][_0x25da33(0x19e)],_0x1b9c3e['ROftE']),_0x31e163;},exports[a171_0x195845(0x1d1)]=(_0x5d21ac,_0x3daa82)=>{const _0x597985=a171_0x195845,_0x446d60={'Dagny':function(_0x13c362){return _0x13c362();},'imJEA':_0x597985(0x21c),'bAOtS':function(_0x21a877,_0x142ba4,_0x203791){return _0x21a877(_0x142ba4,_0x203791);},'rYMBQ':_0x597985(0x1ad),'otwuB':_0x597985(0x24f),'dTYVW':_0x597985(0x1c9)};if(!_0x5d21ac||!_0x5d21ac[_0x597985(0x1ad)])return exports[_0x597985(0x1fa)](),[null,null,null];if(!_0x5d21ac[_0x597985(0x1ad)][_0x597985(0x1c3)])return exports[_0x597985(0x1fa)](_0x5d21ac[_0x597985(0x1ad)]),[null,null,null];if(_0x446d60[_0x597985(0x244)](isTestObservabilitySession)){const _0x5efd95=_0x446d60['imJEA'][_0x597985(0x1d9)]('|');let _0x1750a4=0x0;while(!![]){switch(_0x5efd95[_0x1750a4++]){case'0':_0x5d21ac[_0x597985(0x1c0)]&&(process[_0x597985(0x219)][_0x597985(0x1b3)]=_0x5d21ac[_0x597985(0x1c0)]);continue;case'1':_0x446d60[_0x597985(0x1b6)](nestedKeyValue,_0x5d21ac,[_0x446d60[_0x597985(0x18a)],_0x446d60[_0x597985(0x20e)]])&&(process[_0x597985(0x219)][_0x597985(0x20f)]=_0x5d21ac[_0x597985(0x1ad)][_0x597985(0x24f)][_0x597985(0x224)]['toString']());continue;case'2':if(_0x5d21ac[_0x597985(0x236)]){process[_0x597985(0x219)][_0x597985(0x1ab)]=_0x5d21ac[_0x597985(0x236)];const _0x413d0b={};_0x413d0b[_0x597985(0x1c8)]=_0x3daa82['username'],_0x413d0b['password']=_0x3daa82[_0x597985(0x191)],process[_0x597985(0x219)][_0x597985(0x1eb)]=JSON['stringify'](_0x413d0b);}continue;case'3':logger[_0x597985(0x1ce)]('['+constants[_0x597985(0x1af)]+_0x597985(0x21b)+_0x5d21ac[_0x597985(0x1c0)]);continue;case'4':return[_0x5d21ac['jwt'],_0x5d21ac[_0x597985(0x1c0)],process[_0x597985(0x219)][_0x597985(0x20f)]];case'5':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x446d60[_0x597985(0x1f3)];continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x278e94=>{const _0x384ab2=a171_0x195845,_0x25b9fc={'SCMCy':function(_0x17aa97,_0x7454e9,_0x267952){return _0x17aa97(_0x7454e9,_0x267952);},'JAYtJ':_0x384ab2(0x182),'oZmcG':_0x384ab2(0x24f),'EHxJg':function(_0x175a19,_0x333d1a,_0x4b1413,_0x5ee77b){return _0x175a19(_0x333d1a,_0x4b1413,_0x5ee77b);},'xtGcX':_0x384ab2(0x229),'gwzoO':_0x384ab2(0x1e4),'AUwYk':function(_0x32aa1c,_0x48299c,_0xd767f,_0x2a4aa6){return _0x32aa1c(_0x48299c,_0xd767f,_0x2a4aa6);},'glJra':_0x384ab2(0x221),'ESMxw':_0x384ab2(0x1e1),'vlGdw':function(_0x3b6e0b,_0x99b88c,_0x21cf2d,_0x23a003){return _0x3b6e0b(_0x99b88c,_0x21cf2d,_0x23a003);},'OEKhN':_0x384ab2(0x230),'yJTDq':_0x384ab2(0x22e),'kHVZl':function(_0x2300c1,_0x439d53){return _0x2300c1(_0x439d53);},'NCfiZ':function(_0x482eca,_0x2783f5){return _0x482eca===_0x2783f5;},'vuNZC':function(_0x65757d,_0x2646dc){return _0x65757d===_0x2646dc;},'vOICj':'true','KDzkh':'[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override'};if(!_0x278e94['accessibility'])return exports[_0x384ab2(0x1cb)](),[null,null];if(!_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x1c3)])return exports[_0x384ab2(0x1cb)](_0x278e94[_0x384ab2(0x182)]),[null,null];if(_0x25b9fc[_0x384ab2(0x1e6)](nestedKeyValue,_0x278e94,[_0x25b9fc['JAYtJ'],_0x25b9fc['oZmcG']])){const {accessibilityToken:_0x5e72a6,scannerVersion:_0x3a9d9d,scannerProcessingTimeout:_0x4f10d1,isMobileScanningEnabledForGroup:_0x5c6733}=_0x25b9fc[_0x384ab2(0x1a6)](jsonifyAccessibilityArray,_0x278e94[_0x384ab2(0x182)]['options'][_0x384ab2(0x245)],_0x25b9fc[_0x384ab2(0x23b)],_0x25b9fc[_0x384ab2(0x251)]),_0x233a97={'scripts':_0x25b9fc[_0x384ab2(0x1c7)](jsonifyAccessibilityArray,_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x24f)][_0x384ab2(0x240)],_0x25b9fc['xtGcX'],_0x25b9fc[_0x384ab2(0x1d2)])};_0x233a97[_0x25b9fc[_0x384ab2(0x1e8)]]=_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x24f)][_0x384ab2(0x1c4)][_0x384ab2(0x1e1)];const _0x26eca2=_0x25b9fc['vlGdw'](jsonifyAccessibilityArray,_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x24f)]['capabilities'],_0x25b9fc[_0x384ab2(0x23b)],_0x25b9fc[_0x384ab2(0x251)]);_0x233a97[_0x25b9fc[_0x384ab2(0x209)]]=_0x26eca2[_0x25b9fc[_0x384ab2(0x185)]],scripts[_0x384ab2(0x22a)](_0x233a97),scripts[_0x384ab2(0x215)]();let _0x48a7d6=process[_0x384ab2(0x219)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x48a7d6=!!_0x48a7d6?JSON[_0x384ab2(0x1e9)](_0x48a7d6):{},_0x48a7d6[_0x384ab2(0x192)]=_0x3a9d9d,process[_0x384ab2(0x219)][_0x384ab2(0x1c5)]=JSON['stringify'](_0x48a7d6),process[_0x384ab2(0x219)][_0x384ab2(0x23a)]=_0x5e72a6,process[_0x384ab2(0x219)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x25b9fc[_0x384ab2(0x19f)](String,_0x25b9fc['NCfiZ'](_0x5c6733,!![])||_0x25b9fc[_0x384ab2(0x1f0)](_0x5c6733,_0x25b9fc['vOICj'])),logger[_0x384ab2(0x1ce)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x278e94['build_hashed_id']);const _0x2e5480=accessibilityHelper[_0x384ab2(0x176)](_0x5e72a6);return _0x2e5480&&bsSetupHelper['isTrue'](_0x2e5480[_0x384ab2(0x1e7)])&&(process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger['debug'](_0x25b9fc[_0x384ab2(0x250)])),[_0x5e72a6,_0x278e94[_0x384ab2(0x1c0)],_0x4f10d1];}return[null,null];},exports[a171_0x195845(0x1fa)]=_0x49a214=>{const _0x24d1fe=a171_0x195845,_0x372bf7={};_0x372bf7[_0x24d1fe(0x194)]=_0x24d1fe(0x1a5),_0x372bf7[_0x24d1fe(0x1cc)]=_0x24d1fe(0x1a7),_0x372bf7[_0x24d1fe(0x1c6)]='false';const _0x1936d3=_0x372bf7,_0x30f71d=_0x1936d3[_0x24d1fe(0x194)][_0x24d1fe(0x1d9)]('|');let _0x4c5fa4=0x0;while(!![]){switch(_0x30f71d[_0x4c5fa4++]){case'0':process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1936d3[_0x24d1fe(0x1cc)];continue;case'1':process[_0x24d1fe(0x219)][_0x24d1fe(0x21e)]=_0x1936d3['sGGzZ'];continue;case'2':exports[_0x24d1fe(0x24d)](_0x49a214,testHubConstants[_0x24d1fe(0x222)]);continue;case'3':process[_0x24d1fe(0x219)][_0x24d1fe(0x19a)]=_0x1936d3[_0x24d1fe(0x1cc)];continue;case'4':process[_0x24d1fe(0x219)][_0x24d1fe(0x1e5)]=_0x1936d3['MOWGI'];continue;case'5':process[_0x24d1fe(0x219)][_0x24d1fe(0x1ab)]=_0x1936d3[_0x24d1fe(0x1cc)];continue;case'6':process[_0x24d1fe(0x219)][_0x24d1fe(0x1b3)]=_0x1936d3[_0x24d1fe(0x1cc)];continue;}break;}},exports[a171_0x195845(0x1cb)]=_0x4484ec=>{const _0x2244eb=a171_0x195845,_0x50cef9={};_0x50cef9[_0x2244eb(0x1ff)]=_0x2244eb(0x212),_0x50cef9[_0x2244eb(0x200)]='false',_0x50cef9[_0x2244eb(0x232)]=_0x2244eb(0x1a7);const _0x3ddcb0=_0x50cef9,_0x1bb10e=_0x3ddcb0[_0x2244eb(0x1ff)][_0x2244eb(0x1d9)]('|');let _0xa45f21=0x0;while(!![]){switch(_0x1bb10e[_0xa45f21++]){case'0':process[_0x2244eb(0x219)][_0x2244eb(0x19e)]=_0x3ddcb0['PjwVI'];continue;case'1':process['env'][_0x2244eb(0x1cd)]=_0x3ddcb0[_0x2244eb(0x200)];continue;case'2':exports[_0x2244eb(0x24d)](_0x4484ec,testHubConstants[_0x2244eb(0x1f7)]);continue;case'3':process[_0x2244eb(0x219)]['BROWSERSTACK_TESTHUB_UUID']=_0x3ddcb0[_0x2244eb(0x232)];continue;case'4':process[_0x2244eb(0x219)][_0x2244eb(0x21e)]=_0x3ddcb0[_0x2244eb(0x232)];continue;}break;}},exports[a171_0x195845(0x24d)]=(_0x4b9fea,_0x1420c2='')=>{const _0x297559=a171_0x195845,_0x42ac41={};_0x42ac41[_0x297559(0x21a)]=function(_0x438f3b,_0x10b022){return _0x438f3b===_0x10b022;};const _0x238ef0=_0x42ac41;if(_0x238ef0[_0x297559(0x21a)](_0x4b9fea,undefined)){logger[_0x297559(0x178)](_0x1420c2[_0x297559(0x234)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x3222dc of _0x4b9fea[_0x297559(0x249)]){const _0x456f5b=_0x3222dc['key'],_0x54aa07=_0x3222dc[_0x297559(0x193)];if(_0x54aa07)switch(_0x456f5b){case testHubConstants['ERROR'][_0x297559(0x23c)]:logger[_0x297559(0x178)](_0x54aa07);break;case testHubConstants[_0x297559(0x20c)][_0x297559(0x1c2)]:logger[_0x297559(0x216)](_0x54aa07);break;case testHubConstants[_0x297559(0x20c)][_0x297559(0x22b)]:logger[_0x297559(0x178)](_0x54aa07);break;default:logger['error'](_0x54aa07);}}};function a171_0x33ef(_0x3e6055,_0x1639a0){const _0x17bc2e=a171_0x17bc();return a171_0x33ef=function(_0x33ef3c,_0xba1101){_0x33ef3c=_0x33ef3c-0x175;let _0x4c261a=_0x17bc2e[_0x33ef3c];return _0x4c261a;},a171_0x33ef(_0x3e6055,_0x1639a0);}const jsonifyAccessibilityArray=(_0x3a3588,_0x9f64ee,_0x319bce)=>{const _0x4ddfb6=a171_0x195845,_0x40a574={};return _0x3a3588[_0x4ddfb6(0x189)](_0x46bc39=>{_0x40a574[_0x46bc39[_0x9f64ee]]=_0x46bc39[_0x319bce];}),_0x40a574;};exports['setTestHubCommonMetaInfo']=_0x2c41bd=>{const _0x1a6ced=a171_0x195845;_0x2c41bd[_0x1a6ced(0x236)]&&(process[_0x1a6ced(0x219)]['BROWSERSTACK_TESTHUB_JWT']=_0x2c41bd[_0x1a6ced(0x236)]);_0x2c41bd[_0x1a6ced(0x1c0)]&&(process[_0x1a6ced(0x219)][_0x1a6ced(0x19a)]=_0x2c41bd[_0x1a6ced(0x1c0)],logger['debug'](_0x1a6ced(0x1b8)+_0x2c41bd[_0x1a6ced(0x1c0)]));;},exports[a171_0x195845(0x225)]=(_0x4791dc='',_0x15db99='')=>{const _0x5b76cc=a171_0x195845,_0x2ba2fa={'lJPkX':function(_0x4c9ef8){return _0x4c9ef8();},'VcUnF':function(_0x48968a,_0x5b5dff){return _0x48968a===_0x5b5dff;},'tXSxb':_0x5b76cc(0x20b),'KnHCb':_0x5b76cc(0x197),'MBWsS':_0x5b76cc(0x177),'oaKXd':_0x5b76cc(0x248),'FwpXe':'HookRunFinished'};if(exports[_0x5b76cc(0x17a)]()&&!exports[_0x5b76cc(0x1f8)]()&&!_0x2ba2fa[_0x5b76cc(0x1ea)](isTestObservabilitySession)){if(_0x2ba2fa[_0x5b76cc(0x188)](_0x15db99,_0x2ba2fa['tXSxb']))return![];if([_0x2ba2fa[_0x5b76cc(0x183)],_0x2ba2fa[_0x5b76cc(0x17f)]]['includes'](_0x4791dc))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x2ba2fa[_0x5b76cc(0x1ea)](isTestObservabilitySession)){if([_0x2ba2fa[_0x5b76cc(0x1fc)],_0x2ba2fa['FwpXe'],_0x2ba2fa[_0x5b76cc(0x183)]]['includes'](_0x4791dc))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x2ba2fa['lJPkX'](isTestObservabilitySession)||exports[_0x5b76cc(0x17a)]();},exports[a171_0x195845(0x242)]=(_0x56509f,_0x366014,_0x3e02d5='',_0x58aa76)=>{const _0x336914=a171_0x195845,_0x4ebe3a={'IwHMt':_0x336914(0x248),'LQXwQ':'HookRunFinished','kJywb':function(_0x423d95,_0x154498){return _0x423d95===_0x154498;},'OLDJf':_0x336914(0x18d),'scgIv':_0x336914(0x203),'ULofI':_0x336914(0x182),'YtIPe':function(_0xe86f68,_0x1011c9){return _0xe86f68&&_0x1011c9;},'cjRaT':function(_0x1f6e0d,_0x3b68a8){return _0x1f6e0d===_0x3b68a8;},'NkZXs':function(_0x31169d,_0x1fb534){return _0x31169d+_0x1fb534;},'rUyzW':function(_0x3b02d6,_0x500488){return _0x3b02d6&&_0x500488;},'Swplw':function(_0x70d7b6,_0x2820e2){return _0x70d7b6(_0x2820e2);},'FokMd':_0x336914(0x201),'DTubQ':function(_0x4beb67,_0xc7f95c){return _0x4beb67===_0xc7f95c;},'vSZOF':function(_0x242a14,_0xb32e67){return _0x242a14===_0xb32e67;},'DkhBQ':_0x336914(0x1a0),'gQyhJ':function(_0x47348a,_0x39c81c){return _0x47348a===_0x39c81c;},'wdyBX':function(_0x2567e4,_0x2aab90){return _0x2567e4&&_0x2aab90;},'oyEqr':function(_0x4ea7b0,_0x3c8312){return _0x4ea7b0&&_0x3c8312;},'silys':_0x336914(0x1dc)};if(![_0x4ebe3a[_0x336914(0x1bb)],_0x4ebe3a[_0x336914(0x24a)]][_0x336914(0x1e0)](_0x366014)&&exports[_0x336914(0x1f8)]()){const _0x530c60={};if(_0x4ebe3a[_0x336914(0x23e)](_0x58aa76,FRAMEWORKS[_0x336914(0x186)])){const _0x575d2f=globals[_0x336914(0x180)](_0x4ebe3a[_0x336914(0x24e)])||accessibilityHelper[_0x336914(0x1d8)](_0x3e02d5[_0x336914(0x17e)](),!![]),_0x50e21b=globals[_0x336914(0x180)](_0x4ebe3a[_0x336914(0x239)]);_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x223)](_0x50e21b,_0x575d2f);}if(_0x4ebe3a['cjRaT'](_0x58aa76,FRAMEWORKS[_0x336914(0x1aa)])){const _0x2dbaa3=_0x4ebe3a[_0x336914(0x24c)](_0x4ebe3a[_0x336914(0x24c)](_0x56509f['scopes'][_0x336914(0x1a9)]('\x20'),'\x20'),_0x3e02d5[_0x336914(0x229)]),_0x18ee92=globals['getGlobal'](_0x4ebe3a[_0x336914(0x24e)])||accessibilityHelper[_0x336914(0x1d8)](_0x2dbaa3,![]),_0x3ec89f=browserStackGlobals[_0x336914(0x203)];_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x238)](_0x3ec89f,_0x18ee92);}if(_0x4ebe3a[_0x336914(0x23e)](_0x58aa76,FRAMEWORKS[_0x336914(0x1da)])){const _0x58d01a=_0x4ebe3a[_0x336914(0x1dd)](require,_0x4ebe3a[_0x336914(0x1bd)]),_0x571daa=_0x3e02d5&&_0x58d01a['get'](_0x3e02d5['id'])||_0x56509f[_0x336914(0x21f)];_0x571daa&&(_0x56509f['uuid']=_0x571daa);const _0x1af66a=_0x4ebe3a[_0x336914(0x24c)](_0x4ebe3a[_0x336914(0x24c)](_0x56509f[_0x336914(0x1b0)][_0x336914(0x1a9)]('\x20'),'\x20'),_0x3e02d5[_0x336914(0x1bf)]||_0x56509f[_0x336914(0x229)]),_0x52ecbc=globals['getGlobal'](_0x4ebe3a[_0x336914(0x24e)])||accessibilityHelper[_0x336914(0x1d8)](_0x1af66a,![]),_0x28ef78=globals[_0x336914(0x180)](_0x4ebe3a[_0x336914(0x239)]);_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x223)](_0x28ef78,_0x52ecbc);}if(_0x4ebe3a[_0x336914(0x1b4)](_0x58aa76,FRAMEWORKS[_0x336914(0x1df)])){if(_0x4ebe3a[_0x336914(0x217)](_0x366014,_0x4ebe3a[_0x336914(0x1b2)]))return;_0x530c60[_0x4ebe3a['ULofI']]=PWTestDetails[_0x336914(0x1ec)](_0x56509f[_0x336914(0x21f)]);}if(_0x4ebe3a[_0x336914(0x198)](_0x58aa76,FRAMEWORKS[_0x336914(0x1a3)])){const _0x49c9aa=accessibilityHelper['shouldScanTestForAccessibility'](_0x3e02d5[_0x336914(0x17e)](),!![]),_0x3c0f77=global[_0x336914(0x241)];_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a['wdyBX'](_0x3c0f77,_0x49c9aa);}if(_0x4ebe3a['cjRaT'](_0x58aa76,FRAMEWORKS['CUCUMBER'])){const _0x2cbd84=accessibilityHelper[_0x336914(0x1d8)](null,![],_0x56509f[_0x336914(0x1ed)]),_0x38d921=globals[_0x336914(0x180)](_0x4ebe3a['scgIv']);_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x22f)](_0x38d921,_0x2cbd84);}_0x56509f[_0x4ebe3a['silys']]=_0x530c60;}},exports[a171_0x195845(0x1d0)]=_0x3128f7=>{const _0x120549=a171_0x195845,_0x46ca3e={};_0x46ca3e['ArEkj']=function(_0x1fa7eb,_0xfe4b7a){return _0x1fa7eb>_0xfe4b7a;};const _0x328f3f=_0x46ca3e;let _0xf4b2d6={};if(_0x328f3f[_0x120549(0x17b)](Object[_0x120549(0x1d3)](testData)['length'],0x0))return testData;_0xf4b2d6=JestTestDetails[_0x120549(0x1a8)]();if(_0x328f3f[_0x120549(0x17b)](Object[_0x120549(0x1d3)](_0xf4b2d6)[_0x120549(0x218)],0x0))return _0xf4b2d6;return _0xf4b2d6;},exports['setCurrentTestData']=(_0x351e3f,_0xa0854d={})=>{const _0x1d9b32=a171_0x195845;if(bsSetupHelper['isUndefined'](_0xa0854d[_0x1d9b32(0x187)]))return;switch(_0x351e3f){case FRAMEWORKS[_0x1d9b32(0x186)]:testData=_0xa0854d[_0x1d9b32(0x187)];break;case FRAMEWORKS[_0x1d9b32(0x1aa)]:JestTestDetails[_0x1d9b32(0x1f9)](_0xa0854d[_0x1d9b32(0x187)]);break;case FRAMEWORKS[_0x1d9b32(0x1da)]:testData=_0xa0854d[_0x1d9b32(0x187)];break;default:break;}},exports[a171_0x195845(0x24b)]=_0x4a2915=>{const _0x2418a2=a171_0x195845,_0x4ef288={};_0x4ef288[_0x2418a2(0x1db)]=function(_0x3b12a1,_0x45ccf7){return _0x3b12a1!==_0x45ccf7;},_0x4ef288[_0x2418a2(0x22c)]=function(_0x5b8ba0,_0x2125e2){return _0x5b8ba0!==_0x2125e2;};const _0x26676d=_0x4ef288;if(_0x26676d[_0x2418a2(0x1db)](_0x4a2915[_0x2418a2(0x182)],null)&&_0x26676d['fowwn'](_0x4a2915['accessibility'],undefined))return _0x4a2915[_0x2418a2(0x182)];let _0x596947=![],_0x2ab1b1=![];if(_0x4a2915[_0x2418a2(0x1a2)])for(const _0x117689 of _0x4a2915[_0x2418a2(0x1a2)]){_0x26676d[_0x2418a2(0x1db)](_0x117689[_0x2418a2(0x182)],null)&&_0x26676d[_0x2418a2(0x22c)](_0x117689[_0x2418a2(0x182)],undefined)&&(_0x596947=_0x596947||bsSetupHelper['isTrue'](_0x117689['accessibility']),_0x2ab1b1=!![]);}if(_0x2ab1b1)return _0x596947;return null;},exports[a171_0x195845(0x196)]=_0x1a4a31=>{const _0x5607e6=a171_0x195845;if(!_0x1a4a31)return{};const _0x55520d=new OrchestrationUtils(_0x1a4a31);return _0x55520d[_0x5607e6(0x19d)]();},exports[a171_0x195845(0x23f)]=_0x4cea91=>{const _0xcaff55=a171_0x195845,_0x48a1d5={'BHVlr':function(_0x472d53){return _0x472d53();},'kmfId':function(_0x1bd776,_0x3999b2){return _0x1bd776===_0x3999b2;},'VsahB':_0xcaff55(0x1c9)};let _0x2cc747=![],_0x501a17=![];if(bsSetupHelper[_0xcaff55(0x17d)]()&&bsSetupHelper['isAppAutomateSession'](_0x4cea91))_0x501a17=!![];else bsSetupHelper[_0xcaff55(0x17d)]()&&(_0x2cc747=!![]);return Object[_0xcaff55(0x1fb)]({'observability':_0x48a1d5[_0xcaff55(0x205)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x4cea91),'percy':_0x4cea91['percy']||![],'sr_automation':_0x48a1d5[_0xcaff55(0x228)](process['env'][_0xcaff55(0x18c)],_0x48a1d5['VsahB'])||_0x4cea91[_0xcaff55(0x213)]||![],'automate':_0x2cc747,'app_automate':_0x501a17,'turboscale':bsSetupHelper[_0xcaff55(0x237)](_0x4cea91),'lts':LoadTestModule[_0xcaff55(0x1ac)](_0x4cea91)},bsSetupHelper[_0xcaff55(0x23d)]());};const normalizeTestPlanId=_0x332f88=>{const _0x152305=a171_0x195845,_0x6ae1a9={};_0x6ae1a9['syGUm']=function(_0x5e291c,_0x48e275){return _0x5e291c!==_0x48e275;},_0x6ae1a9['pVlGD']=_0x152305(0x246),_0x6ae1a9['nFrXx']=function(_0x5758cf,_0x1ea9cc){return _0x5758cf>_0x1ea9cc;};const _0x1f385b=_0x6ae1a9;if(_0x1f385b[_0x152305(0x1b5)](typeof _0x332f88,_0x1f385b[_0x152305(0x247)]))return undefined;const _0x3b180b=_0x332f88[_0x152305(0x181)]();return _0x1f385b[_0x152305(0x184)](_0x3b180b['length'],0x0)?_0x3b180b:undefined;},readTestPlanIdFromCliArgs=(_0x59784b=process[a171_0x195845(0x211)])=>{const _0x76cf4=a171_0x195845,_0x10dbc7={};_0x10dbc7[_0x76cf4(0x1b9)]=function(_0x15a207,_0x45fa36){return _0x15a207<_0x45fa36;},_0x10dbc7['Raavs']=function(_0x259314,_0x33ff8b){return _0x259314===_0x33ff8b;},_0x10dbc7[_0x76cf4(0x1cf)]=function(_0xf54db3,_0x1cbb3f){return _0xf54db3+_0x1cbb3f;};const _0x484003=_0x10dbc7,_0x5afc85='--'+testHubConstants[_0x76cf4(0x17c)];for(let _0x4c1913=0x0;_0x484003[_0x76cf4(0x1b9)](_0x4c1913,_0x59784b[_0x76cf4(0x218)]);_0x4c1913+=0x1){const _0x4216c9=_0x59784b[_0x4c1913];if(_0x484003[_0x76cf4(0x179)](_0x4216c9,_0x5afc85)){const _0x3ee461=_0x59784b[_0x484003[_0x76cf4(0x1cf)](_0x4c1913,0x1)];if(!_0x3ee461||_0x3ee461[_0x76cf4(0x1a1)]('--'))return undefined;return _0x3ee461;}if(_0x4216c9['startsWith'](_0x5afc85+'='))return _0x4216c9['slice'](_0x484003[_0x76cf4(0x1cf)](_0x5afc85[_0x76cf4(0x218)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0xae5f5d={})=>{const _0x580bc1=a171_0x195845,_0x499917={'XbuuR':function(_0x51079c,_0x12a0e4){return _0x51079c(_0x12a0e4);}};return _0x499917['XbuuR'](normalizeTestPlanId,_0xae5f5d&&_0xae5f5d['testManagementOptions']&&_0xae5f5d[_0x580bc1(0x235)][_0x580bc1(0x1f1)]);};exports[a171_0x195845(0x18f)]=(_0x3b48aa={},_0x3b289f=process[a171_0x195845(0x211)],_0x457044=process[a171_0x195845(0x219)])=>{const _0x53de40=a171_0x195845,_0x18e4ac={'BcvwH':function(_0x671ebf,_0x325167){return _0x671ebf(_0x325167);},'eqoYK':function(_0x25c88c,_0x3ce330){return _0x25c88c(_0x3ce330);}};try{const _0x597ada=_0x18e4ac[_0x53de40(0x1a4)](normalizeTestPlanId,_0x18e4ac[_0x53de40(0x1a4)](readTestPlanIdFromCliArgs,_0x3b289f));if(_0x597ada)return _0x597ada;const _0x598ed3=_0x18e4ac['eqoYK'](normalizeTestPlanId,_0x457044&&_0x457044[testHubConstants['ENV_VAR']['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x598ed3)return _0x598ed3;return _0x18e4ac[_0x53de40(0x20a)](readTestPlanIdFromConfig,_0x3b48aa);}catch(_0x4541e6){return logger[_0x53de40(0x1ce)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x4541e6&&_0x4541e6[_0x53de40(0x193)]?_0x4541e6[_0x53de40(0x193)]:_0x4541e6)),undefined;}};function a171_0x17bc(){const _0x323afb=['AUwYk','username','true','IDisy','handleErrorForAccessibility','sGGzZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','debug','AGUUj','getCurrentTestData','setTestObservabilityVariables','glJra','keys','isTrue','../../bin/utils/constants.js','idgKL','getFrameworkDetails','shouldScanTestForAccessibility','split','JASMINE','fowwn','product_map','Swplw','isAppAutomateSession','PLAYWRIGHT','includes','commands','1844826IqloCG','69698ZvpQCR','value','BS_TESTOPS_BUILD_COMPLETED','SCMCy','skipCDPConnectOverride','ESMxw','parse','lJPkX','CREDENTIALS_FOR_CRASH_REPORTING','getAccessibilityPlatformValidation','tags','joxuJ','percy','vuNZC','testPlanId','getAgentVersion','dTYVW','vPuYt','../test-orchestration/orchestrationUtils.js','EoPVn','ACCESSIBILITY','isAccessibilityEnabled','setTestData','handleErrorForObservability','assign','oaKXd','setPercyFlag','ROftE','eNmmG','PjwVI','../../bin/jasmine/testRunMap.js','../../bin/v2/modules/loadTestModule','isAccessibilityPlatform','../helper.js','BHVlr','stringify','yoJJi','hOnBA','OEKhN','eqoYK','uploadEventData','ERROR','../logger','otwuB','BS_TESTOPS_ALLOW_SCREENSHOTS','BROWSERSTACK_PERCY','argv','3|4|1|0|2','sr_automation','BROWSERSTACK_ACCESSIBILITY','toJson','info','vSZOF','length','env','VzIBq',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','5|2|0|1|3|4','../../bin/jest/test-observability/test-details.js','BROWSERSTACK_TESTHUB_JWT','uuid','166512nTzplG','command','OBSERVABILITY','YtIPe','allow_screenshots','shouldProcessEventForTesthub','DQOjj','ONhFD','kmfId','name','parseFromJson','DEPRECATED','UfYaY','../test-observability/utils','goog:chromeOptions','oyEqr','nonBStackInfraA11yChromeOptions','../accessibility-automation/helper','CBzqQ','winstonLogger','toUpperCase','testManagementOptions','jwt','isTurboScaleSession','rUyzW','scgIv','BS_A11Y_JWT','xtGcX','INVALID_CREDENTIALS','getCentralUser','kJywb','getProductMapForBuildStartCall','scripts','accessibilityPlatform','appendTesthubParams','../../bin/playwright/reporter/test-details.js','Dagny','capabilities','string','pVlGD','HookRunStarted','errors','LQXwQ','getAccessibilityValueFromYml','NkZXs','logBuildError','OLDJf','options','KDzkh','gwzoO','./constants.js','parseA11yJwtPayload','CBTSessionCreated','error','Raavs','isPercyBuild','ArEkj','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','isBrowserstackInfra','titlePath','MBWsS','getGlobal','trim','accessibility','KnHCb','nFrXx','yJTDq','MOCHA','test_run','VcUnF','forEach','rYMBQ','config','BROWSERSTACK_SR_AUTOMATION','bstackA11yShouldScan','28mRKrVX','getTestPlanId','../ats/helper','password','scannerVersion','message','kSIdk','getProductMap','getTestOrchestrationBuildStartData','LogCreated','gQyhJ','../helper','BROWSERSTACK_TESTHUB_UUID','2999284hibLWl','false','getBuildStartData','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','kHVZl','TestRunStarted','startsWith','platforms','CODECEPT','BcvwH','3|1|4|5|6|0|2','EHxJg','null','getTestData','join','JEST','BS_TESTOPS_JWT','isLTSSession','observability','6036472MVhdFd','TEST_REPORTING_ANALYTICS','scopes','751224AAzjzo','DkhBQ','BS_TESTOPS_BUILD_HASHED_ID','DTubQ','syGUm','bAOtS','3449425noqZhA','BROWSERSTACK_TESTHUB_UUID:\x20','BHQzV','checkAccessibilityPlatformConfig','IwHMt','getTestFrameworkDetails','FokMd','ULofI','description','build_hashed_id','FRAMEWORK_DETAILS','ACCESS_DENIED','success','commandsToWrap','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MOWGI'];a171_0x17bc=function(){return _0x323afb;};return a171_0x17bc();}
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x374123=a172_0x51f0;function a172_0x51f0(_0x524562,_0x55fc6){const _0x938e42=a172_0x938e();return a172_0x51f0=function(_0x51f0db,_0x1d211f){_0x51f0db=_0x51f0db-0x17c;let _0xfbf531=_0x938e42[_0x51f0db];return _0xfbf531;},a172_0x51f0(_0x524562,_0x55fc6);}(function(_0x29c52b,_0x5aabdd){const _0x14bc5a=a172_0x51f0,_0x22ecb7=_0x29c52b();while(!![]){try{const _0x1c8d19=-parseInt(_0x14bc5a(0x1e6))/0x1+-parseInt(_0x14bc5a(0x207))/0x2*(-parseInt(_0x14bc5a(0x214))/0x3)+parseInt(_0x14bc5a(0x1cf))/0x4*(-parseInt(_0x14bc5a(0x20d))/0x5)+parseInt(_0x14bc5a(0x212))/0x6*(parseInt(_0x14bc5a(0x180))/0x7)+parseInt(_0x14bc5a(0x1f5))/0x8*(-parseInt(_0x14bc5a(0x196))/0x9)+-parseInt(_0x14bc5a(0x1ac))/0xa*(parseInt(_0x14bc5a(0x194))/0xb)+parseInt(_0x14bc5a(0x1d9))/0xc;if(_0x1c8d19===_0x5aabdd)break;else _0x22ecb7['push'](_0x22ecb7['shift']());}catch(_0x228395){_0x22ecb7['push'](_0x22ecb7['shift']());}}}(a172_0x938e,0xe3b08));const os=require('os'),util=require(a172_0x374123(0x1b6)),fs=require('fs'),{getProductMap}=require(a172_0x374123(0x200)),logger=require(a172_0x374123(0x210))[a172_0x374123(0x185)],constants=require(a172_0x374123(0x1ca)),testHubConstants=require(a172_0x374123(0x1f3)),{getTransformPath}=require(a172_0x374123(0x1ea)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x374123(0x1ca)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a172_0x374123(0x191)),globals=require('./globals'),helper=require(a172_0x374123(0x18c)),{isTestObservabilitySession}=require('./test-observability/utils');function a172_0x938e(){const _0x5b7503=['_hubAllocationData','tRUHE','killSignal','MFVTu','config','setReadWriteExecuteAccess','osaaj','VNZRB','tests','util','JRdkS','hqizW','Playwright','codeceptjs','toString','zOBgB','chmodSync','SDKTestSuccessful','apply','join','globalException','BBilg','bvqpu','stopPercy','osVersion','getFrameworkVersion','object','ieQMg','getGlobal','../bin/utils/constants','getAccessKey','framework','every','hubAllocation','1840524AWPCuh','constants','BgLmO','jpcHP','accessSync','HAGSO','QTXbR','getBuildLink','format','\x20:\x20','42943464gbWabh','zRJEa','unhandledErrors','AUTOMATE_PRODUCTS','getTurboScaleBuildLink','iioeS','playwrightVersion','type','finalExecutionRan','getOptimalHubUrl','error','isNullOrEmpty','browserVersion','1201872oPEErV','split','sdkRunId','nSITO','../bin/playwright/reporter/pwUtils','iizKO','jploa','push','API\x20Event\x20','SDK\x20run\x20ended\x20for\x20id:\x20','AUxxU','\x20has\x20now\x20read/write/execute\x20permissions.','mFNlr','../helpers/testhub/constants','unknown','2616RSXkWL','klHgd','AUTOMATE','getNodeAgent','trim','content-type','event_properties','all','user_killed','isAppAutomateSession','stack','./testhub/utils','application/json','isBrowserstackInfra','seleniumVersion','dHFlo','values','keys','1474JtIZBL','fhjWw','name','dacHq','sRbkY','getUserName','10fadLyu','rqpXb','uZOyP','./logger','getSessionsList','5416278vevCql','browser','5466aAqXjt','forEach','finalExecution','browserStackConfig','requirePWModule','Directory\x20','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','7CyeRIb','version','POST','undefined','notifyUpdate','winstonLogger','isModifiable','isTurboScaleSession','sendLogs','PRODUCT_IF_NOT_BROWSERSTACK_INFRA',',\x20testhub\x20id:\x20','length','./helper','mWfml','ZdMxy','hyXdB','finishedMetadata','./performance/performance-tester','reduce','getStackTraceAsString','15057438pUBcxG','vWErB','38547OFttMy','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','ENV_VAR','fQsmF','getPackageVersion','W_OK','debug','env','APP_AUTOMATE','fireFunnelTestEvent','getTestFrameworkDetails','EFYGQ','null','assign','info','selenium-webdriver','errorMessage','sanitizeBrowserStackConfig','zrqrU','replace','nodeRequest','RYWTf','10xlPQRH'];a172_0x938e=function(){return _0x5b7503;};return a172_0x938e();}let unhandledErrors='';exports[a172_0x374123(0x19f)]=async(_0x3a47d2,_0x2e3cf3={},_0x2f151c,_0x42f83,_0x4c558c=![])=>{const _0x545e69=a172_0x374123,_0x241114={'hqizW':function(_0x54eebd,_0x18ede7){return _0x54eebd===_0x18ede7;},'JRdkS':_0x545e69(0x1c7),'mFNlr':function(_0x3f5e46,_0x480b75){return _0x3f5e46>_0x480b75;},'FkbPQ':_0x545e69(0x1b5),'BBilg':function(_0x403c8b){return _0x403c8b();},'yYfoT':function(_0x119ddf,_0x10576b){return _0x119ddf==_0x10576b;},'IoHqx':_0x545e69(0x1a2),'mWfml':function(_0x15c23b,_0x32cd7c){return _0x15c23b===_0x32cd7c;},'dHFlo':_0x545e69(0x183),'HAGSO':function(_0x12b084,_0x4f93ea){return _0x12b084>_0x4f93ea;},'dacHq':function(_0x5315e5,_0x4c7ede){return _0x5315e5===_0x4c7ede;},'tRUHE':_0x545e69(0x1ba),'CJGua':function(_0x24bc4e,_0x82e253){return _0x24bc4e!==_0x82e253;},'vWErB':_0x545e69(0x1b9),'fQsmF':'error','BgLmO':function(_0x55daab,_0x45ed1a){return _0x55daab>_0x45ed1a;},'zrqrU':function(_0x24bedd,_0x3380d0){return _0x24bedd+_0x3380d0;},'bvqpu':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','klHgd':'_buildHashedId','osaaj':function(_0x165711,_0x2f51b5){return _0x165711(_0x2f51b5);},'sRbkY':function(_0xd2c1b3,_0x314ed4){return _0xd2c1b3(_0x314ed4);},'MFVTu':_0x545e69(0x1f4),'ieQMg':'nodejs','iioeS':_0x545e69(0x1be),'fhjWw':function(_0x42d904,_0x4fdc50){return _0x42d904===_0x4fdc50;},'tyNiF':_0x545e69(0x1a5),'uZOyP':_0x545e69(0x201),'hyXdB':'[REDACTED]','nSITO':_0x545e69(0x182)};let _0x444ff5=[];if(helper[_0x545e69(0x202)]()&&_0x241114[_0x545e69(0x1c2)](isTestObservabilitySession))_0x444ff5=helper[_0x545e69(0x1fe)](_0x2f151c)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x545e69(0x1dc)];else{if(_0x241114['BBilg'](isTestObservabilitySession))_0x444ff5=constants[_0x545e69(0x189)];else helper[_0x545e69(0x202)]()&&(_0x444ff5=helper['isAppAutomateSession'](_0x2f151c)?constants[_0x545e69(0x19e)]:constants[_0x545e69(0x1f7)]);}let _0x4327c7=_0x2f151c['buildIdentifier'];if(_0x241114['yYfoT'](_0x4327c7,null))_0x4327c7=_0x241114['IoHqx'];else _0x241114[_0x545e69(0x18d)](_0x4327c7,undefined)&&(_0x4327c7=_0x241114['dHFlo']);unhandledErrors&&_0x241114['HAGSO'](unhandledErrors[_0x545e69(0x18b)],0x0)&&(_0x2e3cf3[_0x545e69(0x1c1)]=unhandledErrors);global['sdkRunId']&&(_0x2e3cf3['sdkRunId']=global[_0x545e69(0x1e8)]);try{if(_0x2e3cf3['error']){if(_0x241114[_0x545e69(0x20a)](_0x42f83,_0x241114[_0x545e69(0x1ae)])&&_0x241114[_0x545e69(0x1d4)](_0x2e3cf3[_0x545e69(0x1e3)][_0x545e69(0x18b)],0x0)){const _0x2d5c19={};_0x2d5c19['os']='',_0x2d5c19[_0x545e69(0x1c5)]='',_0x2d5c19['browser']='',_0x2d5c19[_0x545e69(0x1e5)]='';const _0x39d00c=_0x2d5c19;let _0x3e9ad9={};const _0x4bc7a9=_0x2e3cf3[_0x545e69(0x1e3)];_0x3e9ad9=_0x4bc7a9[_0x545e69(0x192)]((_0x38da69,_0x295a47)=>{for(const _0x3c59df in _0x295a47){_0x38da69[_0x3c59df]=_0x295a47[_0x3c59df];}return _0x38da69;},{});const _0x300bd8={};_0x300bd8[_0x545e69(0x1b5)]=_0x3e9ad9,_0x2e3cf3[_0x545e69(0x1e3)]=[Object[_0x545e69(0x1a3)]({},_0x39d00c,_0x300bd8)];}else{let _0x355fe5=0x0;const _0x58932b=_0x241114['CJGua'](_0x42f83,_0x241114['vWErB'])?JSON['parse'](_0x2e3cf3[_0x545e69(0x1e3)]):_0x2e3cf3[_0x545e69(0x1e3)],_0x3e3b52=Object[_0x545e69(0x205)](_0x58932b);_0x3e3b52[_0x545e69(0x215)](_0x1b9aa2=>{const _0x313542=_0x545e69;if(_0x241114[_0x313542(0x1b8)](typeof _0x1b9aa2,_0x241114[_0x313542(0x1b7)])){const _0x4a9e93=Object[_0x313542(0x205)](_0x1b9aa2);!_0x4a9e93[_0x313542(0x1cd)](_0x248abf=>_0x248abf===null||_0x248abf===undefined||_0x248abf==='')&&(_0x355fe5+=0x1);}});if(_0x241114['dacHq'](_0x355fe5,0x0))delete _0x2e3cf3[_0x241114[_0x545e69(0x199)]];else{const _0x5857fe=[];Object[_0x545e69(0x206)](_0x58932b)['forEach'](_0x279cc2=>{const _0x5b025e=_0x545e69,_0x4348d2={'EFYGQ':function(_0x3dd21e,_0x1176fc){const _0x45bc6a=a172_0x51f0;return _0x241114[_0x45bc6a(0x1f2)](_0x3dd21e,_0x1176fc);}},[_0x9575d6,_0x4618c9,_0x581a39,_0x5bfb77]=_0x279cc2[_0x5b025e(0x1e7)](',\x20');let _0x169676={};if(!_0x5bfb77){const _0x344ae0={};_0x344ae0['deviceName']=_0x9575d6,_0x344ae0[_0x5b025e(0x1c5)]=_0x4618c9,_0x344ae0['browser']=_0x581a39,_0x169676=_0x344ae0;}else{const _0x12b13b={};_0x12b13b['os']=_0x9575d6,_0x12b13b[_0x5b025e(0x1c5)]=_0x4618c9,_0x12b13b[_0x5b025e(0x213)]=_0x581a39,_0x12b13b[_0x5b025e(0x1e5)]=_0x5bfb77,_0x169676=_0x12b13b;}const _0x430922={},_0x556c47=_0x58932b[_0x279cc2];Object[_0x5b025e(0x206)](_0x556c47)['forEach'](_0x5abebd=>{const _0x5dbd07=_0x5b025e;_0x4348d2[_0x5dbd07(0x1a1)](_0x556c47[_0x5abebd][_0x5dbd07(0x18b)],0x0)&&(_0x430922[_0x5abebd]=_0x556c47[_0x5abebd]);}),_0x241114[_0x5b025e(0x1f2)](Object[_0x5b025e(0x206)](_0x430922)['length'],0x0)&&(_0x169676[_0x241114['FkbPQ']]=_0x430922,_0x5857fe[_0x5b025e(0x1ed)](_0x169676));}),_0x241114[_0x545e69(0x1d1)](_0x5857fe[_0x545e69(0x18b)],0x0)?_0x2e3cf3[_0x545e69(0x1e3)]=_0x5857fe:delete _0x2e3cf3[_0x241114[_0x545e69(0x199)]];}}}}catch(_0x4d5554){delete _0x2e3cf3[_0x241114['fQsmF']],logger[_0x545e69(0x19c)](_0x241114[_0x545e69(0x1a8)](_0x241114[_0x545e69(0x1c3)],_0x4d5554));}const _0x582cea=helper[_0x545e69(0x1a0)](_0x2f151c,_0x2f151c[_0x545e69(0x1cc)]),_0x611534={'userName':helper['getUserName'](_0x2f151c),'accessKey':helper[_0x545e69(0x1cb)](_0x2f151c),'event_type':_0x3a47d2,'detectedFramework':_0x42f83,'buildHashedId':globals[_0x545e69(0x1c9)](_0x241114[_0x545e69(0x1f6)]),'optimalHubUrl':helper[_0x545e69(0x1e2)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x545e69(0x198)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global['sdkRunId'],'product_map':_0x241114[_0x545e69(0x1b3)](getProductMap,_0x2f151c),'productMap':_0x241114[_0x545e69(0x20b)](getProductMap,_0x2f151c),'language_framework':_0x2f151c['source']||_0x241114[_0x545e69(0x1b0)],'referrer':helper[_0x545e69(0x1f8)](_0x42f83),'framework':_0x2f151c[_0x545e69(0x1cc)],'frameworkVersion':helper[_0x545e69(0x1c6)](_0x42f83),'automationFramework':_0x582cea[_0x545e69(0x209)],'automationFrameworkVersion':_0x582cea[_0x545e69(0x181)],'language':_0x241114[_0x545e69(0x1c8)],'languageVersion':process[_0x545e69(0x181)],'product':_0x444ff5,'buildName':_0x2f151c['buildName']||_0x241114[_0x545e69(0x204)],'buildIdentifier':_0x4327c7,'os':os[_0x545e69(0x1e0)]()||_0x241114[_0x545e69(0x1b0)],'hostname':os['hostname']()||_0x241114[_0x545e69(0x1b0)],..._0x2e3cf3,'isCLIEnabled':_0x4c558c}};try{_0x241114[_0x545e69(0x1b8)](_0x3a47d2,_0x241114[_0x545e69(0x1de)])&&(_0x611534[_0x545e69(0x1fb)][_0x545e69(0x17c)]=helper[_0x545e69(0x1a7)](_0x2f151c)),_0x241114[_0x545e69(0x208)](_0x42f83,_0x241114[_0x545e69(0x195)])?_0x611534[_0x545e69(0x1fb)][_0x545e69(0x1df)]=helper[_0x545e69(0x17d)][_0x545e69(0x1bf)](null,_0x241114['BBilg'](getTransformPath),!![]):_0x611534[_0x545e69(0x1fb)][_0x545e69(0x203)]=helper[_0x545e69(0x19a)](_0x241114['tyNiF']);}catch(_0x3b9d2c){logger[_0x545e69(0x19c)](_0x545e69(0x197)+_0x3b9d2c);}const _0x4bc326={};_0x4bc326[_0x545e69(0x1fa)]=_0x241114[_0x545e69(0x20f)];const _0x2dbd19={'headers':_0x4bc326,'body':_0x611534,'auth':{'user':helper[_0x545e69(0x20c)](_0x2f151c),'pass':helper[_0x545e69(0x1cb)](_0x2f151c)},'json':!![]};logger[_0x545e69(0x19c)](_0x545e69(0x17f)+JSON['stringify'](_0x2dbd19['body'])[_0x545e69(0x1a9)](new RegExp(helper['getUserName'](_0x2f151c),'g'),_0x241114[_0x545e69(0x18f)])['replace'](new RegExp(helper[_0x545e69(0x1cb)](_0x2f151c),'g'),_0x241114[_0x545e69(0x18f)]));try{const _0x599bc0=await helper[_0x545e69(0x1aa)](_0x241114[_0x545e69(0x1e9)],FUNNEL_INSTRUMENTATION_API_URL,_0x2dbd19,_0x2f151c);logger[_0x545e69(0x19c)](_0x545e69(0x1ee)+_0x3a47d2+'\x20response\x20-\x20'+util[_0x545e69(0x1d7)]('%j',_0x599bc0));}catch(_0x27e15e){logger[_0x545e69(0x19c)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x545e69(0x1d8)+util[_0x545e69(0x1d7)](_0x27e15e));}},exports[a172_0x374123(0x216)]=async(_0x1cd72b,_0x480068=![])=>{const _0x355095=a172_0x374123,_0xbe1ae2={'jploa':function(_0x5a021b){return _0x5a021b();},'iizKO':_0x355095(0x1ad),'pozSK':_0x355095(0x190),'AUxxU':_0x355095(0x1fd),'rqpXb':_0x355095(0x1be),'VNZRB':function(_0x514996,_0x1facc3,_0xa3fa4c){return _0x514996(_0x1facc3,_0xa3fa4c);},'RYWTf':function(_0x154ff8,_0x119cd9){return _0x154ff8+_0x119cd9;},'zRJEa':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0x1cd72b[_0x355095(0x1e1)])return;_0x1cd72b[_0x355095(0x1e1)]=!![];try{await _0x1cd72b[_0x355095(0x1c4)](),_0xbe1ae2[_0x355095(0x1ec)](printNudgeLocalNotSetError);const _0x5b3dd1={};_0x5b3dd1[_0x355095(0x1e3)]=_0x1cd72b[_0x355095(0x1a6)]?_0x1cd72b['errorMessage']:'{}';const _0x57eba5=_0x5b3dd1,_0x25bebf=Object[_0x355095(0x1a3)]({},_0x57eba5),_0x47918f=globals['getGlobal'](_0xbe1ae2[_0x355095(0x1eb)]);_0x47918f&&(_0x25bebf[_0x355095(0x1ce)]=_0x47918f);!!_0x1cd72b['killSignal']&&(_0x25bebf[_0xbe1ae2['pozSK']]={'reason':_0xbe1ae2[_0x355095(0x1f0)],'signal':_0x1cd72b[_0x355095(0x1af)]});unhandledErrors=_0x1cd72b[_0x355095(0x1db)][_0x355095(0x1c0)]('\x0a');let _0x5e5eca,_0x536a9c,_0x19d384;helper[_0x355095(0x187)](_0x1cd72b['config'])?([_0x5e5eca,_0x536a9c]=await helper[_0x355095(0x1dd)](_0x1cd72b[_0x355095(0x1b1)]),[_0x19d384]=await Promise[_0x355095(0x1fc)]([helper['getTurboScaleSessionsList'](_0x5e5eca,_0x1cd72b[_0x355095(0x1b1)]),exports[_0x355095(0x19f)](_0xbe1ae2[_0x355095(0x20e)],_0x25bebf,_0x1cd72b[_0x355095(0x1b1)],_0x1cd72b['framework'],_0x480068)])):([_0x5e5eca,_0x536a9c]=await helper[_0x355095(0x1d6)](_0x1cd72b[_0x355095(0x1b1)]),[_0x19d384]=await Promise['all']([helper[_0x355095(0x211)](_0x5e5eca,_0x1cd72b['config']),exports['fireFunnelTestEvent'](_0xbe1ae2['rqpXb'],_0x25bebf,_0x1cd72b[_0x355095(0x1b1)],_0x1cd72b[_0x355095(0x1cc)],_0x480068)])),_0x19d384&&await _0xbe1ae2[_0x355095(0x1b4)](generateCIArtifacts,_0x19d384,_0x536a9c),logger[_0x355095(0x1a4)](_0x355095(0x1ef)+_0x1cd72b[_0x355095(0x1e8)]+_0x355095(0x18a)+process[_0x355095(0x19d)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x355095(0x188)](_0x1cd72b[_0x355095(0x1b1)]);}catch(_0x50e3d0){logger['debug'](_0xbe1ae2[_0x355095(0x1ab)](_0xbe1ae2[_0x355095(0x1da)],_0x50e3d0));}helper[_0x355095(0x184)]();},exports[a172_0x374123(0x193)]=_0x585ccc=>{const _0x1849f1=a172_0x374123,_0x10f3eb={'zOBgB':function(_0x1cc6df,_0xd82ba7){return _0x1cc6df instanceof _0xd82ba7;},'jpcHP':function(_0x268c74,_0x1db8fc){return _0x268c74(_0x1db8fc);}};try{if(_0x10f3eb[_0x1849f1(0x1bc)](_0x585ccc,Error))return _0x585ccc[_0x1849f1(0x1ff)]||_0x585ccc[_0x1849f1(0x1bb)]();return _0x10f3eb[_0x1849f1(0x1d2)](String,_0x585ccc);}catch(_0xd9eba1){return _0x585ccc?_0x585ccc[_0x1849f1(0x1bb)]():'';}},exports[a172_0x374123(0x1e4)]=_0x21e1ee=>{const _0x35a54a=a172_0x374123,_0x266193={};_0x266193[_0x35a54a(0x1d5)]=function(_0x45bc52,_0x443b25){return _0x45bc52===_0x443b25;};const _0x33b412=_0x266193;return!_0x21e1ee||_0x33b412[_0x35a54a(0x1d5)](_0x21e1ee[_0x35a54a(0x1f9)](),'');},exports[a172_0x374123(0x186)]=_0x1cb744=>{const _0x3c43a8=a172_0x374123,_0x12fdb7={};_0x12fdb7[_0x3c43a8(0x18e)]=function(_0x345d72,_0xe9ce07){return _0x345d72|_0xe9ce07;};const _0xb4520c=_0x12fdb7;try{return fs[_0x3c43a8(0x1d3)](_0x1cb744,_0xb4520c[_0x3c43a8(0x18e)](fs['constants'][_0x3c43a8(0x19b)],fs[_0x3c43a8(0x1d0)]['X_OK'])),!![];}catch(_0x51268f){return![];}},exports[a172_0x374123(0x1b2)]=_0x2351d3=>{const _0x2bb27c=a172_0x374123;try{fs[_0x2bb27c(0x1bd)](_0x2351d3,0x1ff),logger['debug'](_0x2bb27c(0x17e)+_0x2351d3+_0x2bb27c(0x1f1));}catch(_0x378199){logger[_0x2bb27c(0x1e3)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x2bb27c(0x193)](_0x378199));}};
|
|
1
|
+
const a172_0x4ab94d=a172_0x18de;function a172_0x540f(){const _0x1116dd=['DjFmu','trim','user_killed','getUserName','notifyUpdate','./performance/performance-tester','xsEOD','browser','osVersion','getTestFrameworkDetails','finalExecution',',\x20testhub\x20id:\x20','tLVKA','fireFunnelTestEvent','ENV_VAR','getTurboScaleBuildLink','values','34026nUujCR','isTurboScaleSession','\x20:\x20','stack','push','stopPercy','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','length','unknown','getTurboScaleSessionsList','selenium-webdriver','requirePWModule','nodeRequest','debug','VxPcJ','all','getGlobal','codeceptjs','YdQUE','errorMessage','APP_AUTOMATE','ypSIs','NCaUg','deviceName','AUTOMATE','sdkRunId','buildIdentifier','version','error','KuTZk','apply','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','chmodSync','./logger','buildName','env','../bin/utils/constants','_hubAllocationData','getStackTraceAsString','constants','seleniumVersion','framework','sendLogs','getPackageVersion','isModifiable','finalExecutionRan','./testhub/utils','[REDACTED]','../bin/playwright/reporter/pwUtils','util','QNJds','cMmqd','53301bsTsKT','329aseIor','DRwgK','toString','sRShu','isAppAutomateSession','parse','AUTOMATE_PRODUCTS','./globals','name','getNodeAgent','SDKTestSuccessful','Error\x20in\x20firing\x20request\x20to\x20','HBiDd','POST','tests','oIfhP','52UjIOGT','SboWq','keys','262380pmUyjM','accessSync','forEach','\x20has\x20now\x20read/write/execute\x20permissions.','unhandledErrors','format','UPZLP','isBrowserstackInfra','346064JQKlEG','mOPDh','killSignal','Failed\x20to\x20set\x20directory\x20access:\x20','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','source','application/json','null','148454IpxoZV','assign','hubAllocation','vlVpd','globalException','event_properties','ewHVZ','pLptz','oetmB','./helper','info','finishedMetadata','replace','type','getAccessKey','dfZhH','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','iUKaw','RPnRw','every','getOptimalHubUrl','../helpers/testhub/constants','jLKSe','zVfwd','config','split','playwrightVersion','object','SUtjT','join','X_OK','nodejs','setReadWriteExecuteAccess','UPVeE','3147290NrFZJD','APP_AUTOMATE_PRODUCTS','hostname','mJAeL','BROWSERSTACK_TESTHUB_UUID','IgCDD','winstonLogger','W_OK','browserStackConfig','63zLJCqy','22254Bphpiw','SDK\x20run\x20ended\x20for\x20id:\x20','browserVersion','body','./test-observability/utils','EkjPH'];a172_0x540f=function(){return _0x1116dd;};return a172_0x540f();}(function(_0x2b85eb,_0x21993f){const _0x18c841=a172_0x18de,_0x1fa5f4=_0x2b85eb();while(!![]){try{const _0x2e4b9f=-parseInt(_0x18c841(0xc1))/0x1+parseInt(_0x18c841(0x119))/0x2+-parseInt(_0x18c841(0xf5))/0x3*(-parseInt(_0x18c841(0x106))/0x4)+parseInt(_0x18c841(0x109))/0x5+-parseInt(_0x18c841(0xaa))/0x6*(parseInt(_0x18c841(0xf6))/0x7)+parseInt(_0x18c841(0x111))/0x8*(-parseInt(_0x18c841(0xa9))/0x9)+parseInt(_0x18c841(0x13b))/0xa;if(_0x2e4b9f===_0x21993f)break;else _0x1fa5f4['push'](_0x1fa5f4['shift']());}catch(_0x5cfca2){_0x1fa5f4['push'](_0x1fa5f4['shift']());}}}(a172_0x540f,0x275e0));function a172_0x18de(_0x4ce885,_0x22a912){const _0x540f96=a172_0x540f();return a172_0x18de=function(_0x18dead,_0x2825aa){_0x18dead=_0x18dead-0xa9;let _0x4fdb58=_0x540f96[_0x18dead];return _0x4fdb58;},a172_0x18de(_0x4ce885,_0x22a912);}const os=require('os'),util=require(a172_0x4ab94d(0xf2)),fs=require('fs'),{getProductMap}=require(a172_0x4ab94d(0xef)),logger=require(a172_0x4ab94d(0xe2))[a172_0x4ab94d(0x141)],constants=require(a172_0x4ab94d(0xe5)),testHubConstants=require(a172_0x4ab94d(0x12e)),{getTransformPath}=require(a172_0x4ab94d(0xf1)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x4ab94d(0xe5)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x4ab94d(0x122)),PerformanceTester=require(a172_0x4ab94d(0xb5)),globals=require(a172_0x4ab94d(0xfd)),helper=require('./helper'),{isTestObservabilitySession}=require(a172_0x4ab94d(0xae));let unhandledErrors='';exports[a172_0x4ab94d(0xbd)]=async(_0x57b9d8,_0x8db002={},_0x5e26a4,_0x3b8ba3,_0x1429b5=![])=>{const _0x11c978=a172_0x4ab94d,_0xe0e10b={'DjFmu':function(_0x46cb63,_0x35cf85){return _0x46cb63===_0x35cf85;},'VxPcJ':_0x11c978(0x134),'xsEOD':function(_0x3d9847,_0x183267){return _0x3d9847>_0x183267;},'tPEjS':_0x11c978(0x104),'IgCDD':function(_0x5cd5c0){return _0x5cd5c0();},'xLQOL':function(_0x2c3e74,_0x5c5820){return _0x2c3e74==_0x5c5820;},'tLVKA':_0x11c978(0x118),'Etlzi':function(_0x1d78ed,_0x3f76ca){return _0x1d78ed===_0x3f76ca;},'SboWq':'undefined','oetmB':_0x11c978(0xd2),'YdQUE':function(_0x952d1d,_0x29dd99){return _0x952d1d>_0x29dd99;},'DRwgK':function(_0x308f5c,_0xbc0f11){return _0x308f5c!==_0xbc0f11;},'UPVeE':'Playwright','gsrju':function(_0x18cdd4,_0x57d604){return _0x18cdd4===_0x57d604;},'iUKaw':_0x11c978(0xdd),'VMUPo':function(_0x526c32,_0x51db12){return _0x526c32+_0x51db12;},'SUtjT':_0x11c978(0x129),'oIfhP':'_buildHashedId','sQcbo':function(_0x517508,_0x278fb5){return _0x517508(_0x278fb5);},'mOPDh':function(_0x39fb7d,_0x2d9d80){return _0x39fb7d(_0x2d9d80);},'ypSIs':_0x11c978(0xc9),'sRShu':_0x11c978(0x138),'cMmqd':_0x11c978(0x100),'dNMCp':_0x11c978(0xcb),'zVfwd':_0x11c978(0x117),'HBiDd':_0x11c978(0xf0),'vlVpd':_0x11c978(0x103)};let _0x1b21c8=[];if(helper[_0x11c978(0x110)]()&&_0xe0e10b[_0x11c978(0x140)](isTestObservabilitySession))_0x1b21c8=helper[_0x11c978(0xfa)](_0x5e26a4)?constants[_0x11c978(0x13c)]:constants[_0x11c978(0xfc)];else{if(_0xe0e10b['IgCDD'](isTestObservabilitySession))_0x1b21c8=constants[_0x11c978(0xe0)];else helper[_0x11c978(0x110)]()&&(_0x1b21c8=helper['isAppAutomateSession'](_0x5e26a4)?constants[_0x11c978(0xd5)]:constants[_0x11c978(0xd9)]);}let _0x509965=_0x5e26a4[_0x11c978(0xdb)];if(_0xe0e10b['xLQOL'](_0x509965,null))_0x509965=_0xe0e10b[_0x11c978(0xbc)];else _0xe0e10b['Etlzi'](_0x509965,undefined)&&(_0x509965=_0xe0e10b[_0x11c978(0x107)]);unhandledErrors&&_0xe0e10b[_0x11c978(0xb6)](unhandledErrors[_0x11c978(0xc8)],0x0)&&(_0x8db002[_0x11c978(0x11d)]=unhandledErrors);global[_0x11c978(0xda)]&&(_0x8db002[_0x11c978(0xda)]=global[_0x11c978(0xda)]);try{if(_0x8db002[_0x11c978(0xdd)]){if(_0xe0e10b[_0x11c978(0xb0)](_0x3b8ba3,_0xe0e10b[_0x11c978(0x121)])&&_0xe0e10b[_0x11c978(0xd3)](_0x8db002[_0x11c978(0xdd)][_0x11c978(0xc8)],0x0)){const _0x2905de={};_0x2905de['os']='',_0x2905de[_0x11c978(0xb8)]='',_0x2905de[_0x11c978(0xb7)]='',_0x2905de['browserVersion']='';const _0x52c587=_0x2905de;let _0x543966={};const _0x1352ef=_0x8db002['error'];_0x543966=_0x1352ef['reduce']((_0x5dbc10,_0x4e87f1)=>{for(const _0x2c0686 in _0x4e87f1){_0x5dbc10[_0x2c0686]=_0x4e87f1[_0x2c0686];}return _0x5dbc10;},{});const _0x45977d={};_0x45977d[_0x11c978(0x104)]=_0x543966,_0x8db002[_0x11c978(0xdd)]=[Object[_0x11c978(0x11a)]({},_0x52c587,_0x45977d)];}else{let _0x3e1f4e=0x0;const _0x504def=_0xe0e10b[_0x11c978(0xf7)](_0x3b8ba3,_0xe0e10b[_0x11c978(0x13a)])?JSON[_0x11c978(0xfb)](_0x8db002[_0x11c978(0xdd)]):_0x8db002[_0x11c978(0xdd)],_0x3ad8d4=Object[_0x11c978(0xc0)](_0x504def);_0x3ad8d4[_0x11c978(0x10b)](_0x4e8df2=>{const _0x334171=_0x11c978;if(_0xe0e10b['DjFmu'](typeof _0x4e8df2,_0xe0e10b[_0x334171(0xcf)])){const _0x249874=Object['values'](_0x4e8df2);!_0x249874[_0x334171(0x12c)](_0x5aaca5=>_0x5aaca5===null||_0x5aaca5===undefined||_0x5aaca5==='')&&(_0x3e1f4e+=0x1);}});if(_0xe0e10b['gsrju'](_0x3e1f4e,0x0))delete _0x8db002[_0xe0e10b[_0x11c978(0x12a)]];else{const _0x16894e=[];Object[_0x11c978(0x108)](_0x504def)['forEach'](_0x578fda=>{const _0x40babc=_0x11c978,_0x5083ec={'ewHVZ':function(_0x1f508c,_0x32427b){return _0xe0e10b['xsEOD'](_0x1f508c,_0x32427b);}},[_0x33b178,_0x56936f,_0x3920f5,_0x575956]=_0x578fda[_0x40babc(0x132)](',\x20');let _0x1f6099={};if(!_0x575956){const _0x349108={};_0x349108[_0x40babc(0xd8)]=_0x33b178,_0x349108[_0x40babc(0xb8)]=_0x56936f,_0x349108[_0x40babc(0xb7)]=_0x3920f5,_0x1f6099=_0x349108;}else{const _0x51344c={};_0x51344c['os']=_0x33b178,_0x51344c[_0x40babc(0xb8)]=_0x56936f,_0x51344c[_0x40babc(0xb7)]=_0x3920f5,_0x51344c[_0x40babc(0xac)]=_0x575956,_0x1f6099=_0x51344c;}const _0x202363={},_0x32a2d3=_0x504def[_0x578fda];Object[_0x40babc(0x108)](_0x32a2d3)[_0x40babc(0x10b)](_0x5e2f3e=>{const _0x5e36dd=_0x40babc;_0x5083ec[_0x5e36dd(0x11f)](_0x32a2d3[_0x5e2f3e][_0x5e36dd(0xc8)],0x0)&&(_0x202363[_0x5e2f3e]=_0x32a2d3[_0x5e2f3e]);}),_0xe0e10b[_0x40babc(0xb6)](Object[_0x40babc(0x108)](_0x202363)[_0x40babc(0xc8)],0x0)&&(_0x1f6099[_0xe0e10b['tPEjS']]=_0x202363,_0x16894e[_0x40babc(0xc5)](_0x1f6099));}),_0xe0e10b[_0x11c978(0xb6)](_0x16894e[_0x11c978(0xc8)],0x0)?_0x8db002[_0x11c978(0xdd)]=_0x16894e:delete _0x8db002[_0xe0e10b[_0x11c978(0x12a)]];}}}}catch(_0x23f474){delete _0x8db002[_0xe0e10b[_0x11c978(0x12a)]],logger[_0x11c978(0xce)](_0xe0e10b['VMUPo'](_0xe0e10b[_0x11c978(0x135)],_0x23f474));}const _0x3ed0bc=helper[_0x11c978(0xb9)](_0x5e26a4,_0x5e26a4[_0x11c978(0xea)]),_0x5bbfcd={'userName':helper[_0x11c978(0xb3)](_0x5e26a4),'accessKey':helper[_0x11c978(0x127)](_0x5e26a4),'event_type':_0x57b9d8,'detectedFramework':_0x3b8ba3,'buildHashedId':globals[_0x11c978(0xd1)](_0xe0e10b[_0x11c978(0x105)]),'optimalHubUrl':helper[_0x11c978(0x12d)](),'event_properties':{'testhub_uuid':process[_0x11c978(0xe4)][testHubConstants[_0x11c978(0xbe)][_0x11c978(0x13f)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0xe0e10b['sQcbo'](getProductMap,_0x5e26a4),'productMap':_0xe0e10b[_0x11c978(0x112)](getProductMap,_0x5e26a4),'language_framework':_0x5e26a4[_0x11c978(0x116)]||_0xe0e10b[_0x11c978(0xd6)],'referrer':helper[_0x11c978(0xff)](_0x3b8ba3),'framework':_0x5e26a4[_0x11c978(0xea)],'frameworkVersion':helper['getFrameworkVersion'](_0x3b8ba3),'automationFramework':_0x3ed0bc[_0x11c978(0xfe)],'automationFrameworkVersion':_0x3ed0bc[_0x11c978(0xdc)],'language':_0xe0e10b[_0x11c978(0xf9)],'languageVersion':process[_0x11c978(0xdc)],'product':_0x1b21c8,'buildName':_0x5e26a4[_0x11c978(0xe3)]||_0xe0e10b[_0x11c978(0x107)],'buildIdentifier':_0x509965,'os':os[_0x11c978(0x126)]()||_0xe0e10b[_0x11c978(0xd6)],'hostname':os[_0x11c978(0x13d)]()||_0xe0e10b['ypSIs'],..._0x8db002,'isCLIEnabled':_0x1429b5}};try{_0xe0e10b[_0x11c978(0xb0)](_0x57b9d8,_0xe0e10b[_0x11c978(0xf4)])&&(_0x5bbfcd['event_properties'][_0x11c978(0x143)]=helper['sanitizeBrowserStackConfig'](_0x5e26a4)),_0xe0e10b['DjFmu'](_0x3b8ba3,_0xe0e10b['UPVeE'])?_0x5bbfcd[_0x11c978(0x11e)][_0x11c978(0x133)]=helper[_0x11c978(0xcc)][_0x11c978(0xdf)](null,_0xe0e10b[_0x11c978(0x140)](getTransformPath),!![]):_0x5bbfcd['event_properties'][_0x11c978(0xe9)]=helper[_0x11c978(0xec)](_0xe0e10b['dNMCp']);}catch(_0x2292db){logger[_0x11c978(0xce)](_0x11c978(0x115)+_0x2292db);}const _0x38ab4d={};_0x38ab4d['content-type']=_0xe0e10b[_0x11c978(0x130)];const _0x49a2aa={'headers':_0x38ab4d,'body':_0x5bbfcd,'auth':{'user':helper['getUserName'](_0x5e26a4),'pass':helper['getAccessKey'](_0x5e26a4)},'json':!![]};logger[_0x11c978(0xce)](_0x11c978(0xc7)+JSON['stringify'](_0x49a2aa[_0x11c978(0xad)])['replace'](new RegExp(helper['getUserName'](_0x5e26a4),'g'),_0xe0e10b[_0x11c978(0x102)])[_0x11c978(0x125)](new RegExp(helper[_0x11c978(0x127)](_0x5e26a4),'g'),_0xe0e10b[_0x11c978(0x102)]));try{const _0x2b0242=await helper[_0x11c978(0xcd)](_0xe0e10b[_0x11c978(0x11c)],FUNNEL_INSTRUMENTATION_API_URL,_0x49a2aa,_0x5e26a4);logger[_0x11c978(0xce)]('API\x20Event\x20'+_0x57b9d8+'\x20response\x20-\x20'+util[_0x11c978(0x10e)]('%j',_0x2b0242));}catch(_0x3d8fe2){logger[_0x11c978(0xce)](_0x11c978(0x101)+FUNNEL_INSTRUMENTATION_API_URL+_0x11c978(0xc3)+util[_0x11c978(0x10e)](_0x3d8fe2));}},exports[a172_0x4ab94d(0xba)]=async(_0xe600d3,_0x37bb9e=![])=>{const _0x57913c=a172_0x4ab94d,_0x22bcda={'KuTZk':function(_0x4e71f8){return _0x4e71f8();},'RPnRw':_0x57913c(0xe6),'UPZLP':_0x57913c(0x124),'EkjPH':_0x57913c(0xb2),'jLKSe':_0x57913c(0x100),'dfZhH':function(_0x5d3275,_0x347d77,_0x3dbfc3){return _0x5d3275(_0x347d77,_0x3dbfc3);},'NCaUg':function(_0x5b83c1,_0x520d36){return _0x5b83c1+_0x520d36;},'IRfNu':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0xe600d3['finalExecutionRan'])return;_0xe600d3[_0x57913c(0xee)]=!![];try{await _0xe600d3[_0x57913c(0xc6)](),_0x22bcda[_0x57913c(0xde)](printNudgeLocalNotSetError);const _0xd664bb={};_0xd664bb[_0x57913c(0xdd)]=_0xe600d3['errorMessage']?_0xe600d3[_0x57913c(0xd4)]:'{}';const _0x4f2ce6=_0xd664bb,_0x30f5a4=Object[_0x57913c(0x11a)]({},_0x4f2ce6),_0x4b01bf=globals['getGlobal'](_0x22bcda[_0x57913c(0x12b)]);_0x4b01bf&&(_0x30f5a4[_0x57913c(0x11b)]=_0x4b01bf);!!_0xe600d3[_0x57913c(0x113)]&&(_0x30f5a4[_0x22bcda[_0x57913c(0x10f)]]={'reason':_0x22bcda[_0x57913c(0xaf)],'signal':_0xe600d3[_0x57913c(0x113)]});unhandledErrors=_0xe600d3[_0x57913c(0x10d)][_0x57913c(0x136)]('\x0a');let _0x54c1db,_0x8818ac,_0x3964f5;helper[_0x57913c(0xc2)](_0xe600d3['config'])?([_0x54c1db,_0x8818ac]=await helper[_0x57913c(0xbf)](_0xe600d3['config']),[_0x3964f5]=await Promise[_0x57913c(0xd0)]([helper[_0x57913c(0xca)](_0x54c1db,_0xe600d3[_0x57913c(0x131)]),exports[_0x57913c(0xbd)](_0x22bcda[_0x57913c(0x12f)],_0x30f5a4,_0xe600d3[_0x57913c(0x131)],_0xe600d3[_0x57913c(0xea)],_0x37bb9e)])):([_0x54c1db,_0x8818ac]=await helper['getBuildLink'](_0xe600d3[_0x57913c(0x131)]),[_0x3964f5]=await Promise['all']([helper['getSessionsList'](_0x54c1db,_0xe600d3['config']),exports[_0x57913c(0xbd)](_0x22bcda[_0x57913c(0x12f)],_0x30f5a4,_0xe600d3[_0x57913c(0x131)],_0xe600d3[_0x57913c(0xea)],_0x37bb9e)])),_0x3964f5&&await _0x22bcda[_0x57913c(0x128)](generateCIArtifacts,_0x3964f5,_0x8818ac),logger[_0x57913c(0x123)](_0x57913c(0xab)+_0xe600d3['sdkRunId']+_0x57913c(0xbb)+process['env'][_0x57913c(0x13f)]),await helper[_0x57913c(0xeb)](_0xe600d3[_0x57913c(0x131)]);}catch(_0x4e6137){logger['debug'](_0x22bcda[_0x57913c(0xd7)](_0x22bcda['IRfNu'],_0x4e6137));}helper[_0x57913c(0xb4)]();},exports[a172_0x4ab94d(0xe7)]=_0x17c1c5=>{const _0x537f17=a172_0x4ab94d,_0x3efce9={'QNJds':function(_0xfa7dbf,_0xec5db){return _0xfa7dbf instanceof _0xec5db;},'SrGet':function(_0x235128,_0x4e2dde){return _0x235128(_0x4e2dde);}};try{if(_0x3efce9[_0x537f17(0xf3)](_0x17c1c5,Error))return _0x17c1c5[_0x537f17(0xc4)]||_0x17c1c5[_0x537f17(0xf8)]();return _0x3efce9['SrGet'](String,_0x17c1c5);}catch(_0x35ef89){return _0x17c1c5?_0x17c1c5['toString']():'';}},exports['isNullOrEmpty']=_0x140943=>{const _0x48571f=a172_0x4ab94d,_0x427f20={};_0x427f20['pLptz']=function(_0x5e6648,_0x1055a3){return _0x5e6648===_0x1055a3;};const _0x2b9e3b=_0x427f20;return!_0x140943||_0x2b9e3b[_0x48571f(0x120)](_0x140943[_0x48571f(0xb1)](),'');},exports[a172_0x4ab94d(0xed)]=_0x50c7a9=>{const _0x555de7=a172_0x4ab94d,_0x42132d={};_0x42132d[_0x555de7(0x13e)]=function(_0x57f55c,_0x11958d){return _0x57f55c|_0x11958d;};const _0x1474f9=_0x42132d;try{return fs[_0x555de7(0x10a)](_0x50c7a9,_0x1474f9['mJAeL'](fs[_0x555de7(0xe8)][_0x555de7(0x142)],fs[_0x555de7(0xe8)][_0x555de7(0x137)])),!![];}catch(_0x46476a){return![];}},exports[a172_0x4ab94d(0x139)]=_0x4cc29b=>{const _0x30d9a8=a172_0x4ab94d;try{fs[_0x30d9a8(0xe1)](_0x4cc29b,0x1ff),logger[_0x30d9a8(0xce)]('Directory\x20'+_0x4cc29b+_0x30d9a8(0x10c));}catch(_0xaf83fc){logger[_0x30d9a8(0xdd)](_0x30d9a8(0x114)+exports[_0x30d9a8(0xe7)](_0xaf83fc));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a173_0x2e97(_0x48b60a,_0x42595c){var _0x1a3ecc=a173_0x1a3e();return a173_0x2e97=function(_0x2e9771,_0x2049a5){_0x2e9771=_0x2e9771-0xca;var _0x524755=_0x1a3ecc[_0x2e9771];return _0x524755;},a173_0x2e97(_0x48b60a,_0x42595c);}function a173_0x1a3e(){var _0x1bdcb5=['simOptions','kLiDi','cZKQR','browserstack.maskCommands','browserstack.accessibilityOptions.wcagVersion','qfvFb','vaBNd','KAOwT','browserstack.appiumLogs','headerParams','bZViW','LxkBM','mWQBZ','pGmqk','osVersion','autoWait','tgpWX','appiumVersion','browserstack.buildProductMap','projectName','IQDpE','playwrightVersion','buildName','browserstack.networkProfile','accessibilityOptions.includeIssueType.bestPractice','telemetryLogs','wEcwX','YPvUR','wsLocalSupport','browserstack.hosts','MhWXT','maskBasicAuth','CBqlN','local','LTVHR','MyySe','1192mtAKhk','testhubBuildUuid','PPVUC','browserstack.customNetwork','performance','browserstackSDK','7091xhWWsw','DxjeU','2337150nawPVD','jKtfq','browserVersion','browserstack.accessibilityOptions.includeIssueType.needsReview','browserstack.overridelocalInfo.userAuthToken','tJfiD','browserstack.networkLogsOptions','browserstack.geoLocation','networkLogs','uploadMedia','juqLj','browserstack.use_w3c','os_version','sessionName','browserstack.performance','idleTimeout','video','browserstack.uploadMedia','browserstack.debug','disableCorsRestrictions','browserstack.key','276688HLAgwg','browserstack.timezone','zEurI','browserstack.telemetryLogs','debug','browserstack.video','browserstack.appium_version','browserstack.wsLocalSupport','aqFGt','mgQcn','bNZlt','seleniumVersion','geoLocation','browser_version','browserstack.testhubBuildUuid','buildIdentifier','seleniumLogs','ulkwX','hvqzS','browserstack.disableCorsRestrictions','maskCommands','214060rfuiey','YVWya','SsUwm','overridelocalInfo.localIdentifier','ZinVW','KyXvl','aLmTS','SRsTA','overridelocalInfo.userAuthToken','name','acPyX','browserstack.accessibilityOptions.authToken','browserstack.console','browser','realMobile','kewbu','gJcWC','timezone','uZGkr','BVGua','build','oaWVV','jUDkX','browserstack.autoWait','userName','browserstack.overridelocalInfo.localIdentifier','browserstack.accessibilityOptions.scannerVersion','deviceName','eYuSV','BmlNI','browserstack.selenium_version','resolution','networkLogsOptions','orqSc','620712HplKDZ','nbPQc','XZJZI','browserstack.bfcache','jYBpD','accessibilityOptions.wcagVersion','DdkLi','2792580VxxJLo','browserstack.user','browserstack.simOptions','device','svCTk','IsbSC','enableSim','browserstack.seleniumLogs','deviceOrientation','browserstack.playwrightVersion','238780CWUNNl','browserstack.accessibilityOptions.includeIssueType.bestPractice','bpcsP','ZwIxX','browserstack.accessibility','JbNOA'];a173_0x1a3e=function(){return _0x1bdcb5;};return a173_0x1a3e();}(function(_0x59bd47,_0x3d7d97){var _0x18b058=a173_0x2e97,_0x5c41ca=_0x59bd47();while(!![]){try{var _0x2c971c=-parseInt(_0x18b058(0x11f))/0x1+parseInt(_0x18b058(0x152))/0x2+parseInt(_0x18b058(0x141))/0x3+parseInt(_0x18b058(0x10a))/0x4+parseInt(_0x18b058(0xf5))/0x5+-parseInt(_0x18b058(0x148))/0x6+-parseInt(_0x18b058(0xf3))/0x7*(-parseInt(_0x18b058(0xed))/0x8);if(_0x2c971c===_0x3d7d97)break;else _0x5c41ca['push'](_0x5c41ca['shift']());}catch(_0x1df83e){_0x5c41ca['push'](_0x5c41ca['shift']());}}}(a173_0x1a3e,0x51a07),exports['W3CMapping']=()=>{var _0x393016=a173_0x2e97,_0x40c457={};_0x40c457[_0x393016(0x124)]=_0x393016(0x137),_0x40c457['zEurI']='accessKey',_0x40c457['tJfiD']=_0x393016(0xd7),_0x40c457['CBqlN']=_0x393016(0x12c),_0x40c457[_0x393016(0x11c)]=_0x393016(0xf7),_0x40c457['ROgLi']='useW3c',_0x40c457[_0x393016(0xeb)]=_0x393016(0xdc),_0x40c457['JbNOA']=_0x393016(0xdf),_0x40c457[_0x393016(0x14c)]=_0x393016(0x102),_0x40c457[_0x393016(0x14d)]=_0x393016(0xea),_0x40c457[_0x393016(0xd6)]='localIdentifier',_0x40c457[_0x393016(0xef)]=_0x393016(0x10e),_0x40c457[_0x393016(0xce)]='consoleLogs',_0x40c457[_0x393016(0xd9)]=_0x393016(0xfd),_0x40c457[_0x393016(0xec)]=_0x393016(0x13f),_0x40c457[_0x393016(0xf4)]='appiumLogs',_0x40c457['KCNQG']=_0x393016(0x105),_0x40c457['IQDpE']=_0x393016(0x11a),_0x40c457[_0x393016(0x147)]=_0x393016(0xe2),_0x40c457[_0x393016(0x120)]=_0x393016(0x116),_0x40c457[_0x393016(0x126)]=_0x393016(0x130),_0x40c457[_0x393016(0x142)]=_0x393016(0x13e),_0x40c457[_0x393016(0xd5)]=_0x393016(0x115),_0x40c457[_0x393016(0x12f)]=_0x393016(0x11e),_0x40c457[_0x393016(0xe4)]=_0x393016(0x104),_0x40c457[_0x393016(0x135)]=_0x393016(0xe8),_0x40c457[_0x393016(0x143)]=_0x393016(0xd8),_0x40c457['MTsAG']='hosts',_0x40c457[_0x393016(0xff)]='bfcache',_0x40c457['oaWVV']=_0x393016(0xe5),_0x40c457[_0x393016(0x132)]=_0x393016(0x108),_0x40c457[_0x393016(0x121)]=_0x393016(0x13a),_0x40c457[_0x393016(0xe3)]=_0x393016(0x12d),_0x40c457[_0x393016(0x131)]=_0x393016(0xda),_0x40c457[_0x393016(0xd4)]=_0x393016(0x150),_0x40c457['kLiDi']='customNetwork',_0x40c457[_0x393016(0xcf)]='networkProfile',_0x40c457[_0x393016(0xe7)]=_0x393016(0x119),_0x40c457[_0x393016(0x145)]=_0x393016(0xf2),_0x40c457[_0x393016(0x155)]='accessibility',_0x40c457[_0x393016(0x113)]='buildProductMap',_0x40c457[_0x393016(0x123)]=_0x393016(0xee),_0x40c457[_0x393016(0x114)]=_0x393016(0x146),_0x40c457['cZKQR']='accessibilityOptions.scannerVersion',_0x40c457['jKtfq']='accessibilityOptions.scannerProcessingTimeout',_0x40c457[_0x393016(0xd3)]=_0x393016(0xe1),_0x40c457['ulkwX']='accessibilityOptions.includeIssueType.needsReview',_0x40c457[_0x393016(0x13c)]='accessibilityOptions.authToken',_0x40c457[_0x393016(0x125)]=_0x393016(0xfe),_0x40c457[_0x393016(0xd0)]=_0x393016(0x14e),_0x40c457[_0x393016(0x140)]=_0x393016(0x158),_0x40c457[_0x393016(0x112)]=_0x393016(0xde),_0x40c457[_0x393016(0x154)]=_0x393016(0x127),_0x40c457[_0x393016(0x13b)]=_0x393016(0x122),_0x40c457[_0x393016(0x12e)]=_0x393016(0xd2),_0x40c457[_0x393016(0x129)]=_0x393016(0xf1);var _0x31ca07=_0x40c457,_0x21622c={};return _0x21622c[_0x393016(0x149)]=_0x31ca07['KyXvl'],_0x21622c[_0x393016(0x109)]=_0x31ca07[_0x393016(0x10c)],_0x21622c['os']='os',_0x21622c[_0x393016(0x101)]=_0x31ca07[_0x393016(0xfa)],_0x21622c[_0x393016(0x12c)]=_0x31ca07[_0x393016(0xe9)],_0x21622c[_0x393016(0x117)]=_0x31ca07[_0x393016(0x11c)],_0x21622c[_0x393016(0x100)]=_0x31ca07['ROgLi'],_0x21622c['project']=_0x31ca07[_0x393016(0xeb)],_0x21622c[_0x393016(0x133)]=_0x31ca07[_0x393016(0x157)],_0x21622c[_0x393016(0x128)]=_0x31ca07[_0x393016(0x14c)],_0x21622c['browserstack.local']=_0x31ca07[_0x393016(0x14d)],_0x21622c['browserstack.localIdentifier']=_0x31ca07['pGmqk'],_0x21622c[_0x393016(0x107)]=_0x31ca07[_0x393016(0xef)],_0x21622c[_0x393016(0x12b)]=_0x31ca07[_0x393016(0xce)],_0x21622c['browserstack.networkLogs']=_0x31ca07['tgpWX'],_0x21622c[_0x393016(0xfb)]=_0x31ca07[_0x393016(0xec)],_0x21622c[_0x393016(0xd1)]=_0x31ca07[_0x393016(0xf4)],_0x21622c[_0x393016(0x10f)]=_0x31ca07['KCNQG'],_0x21622c[_0x393016(0x14f)]=_0x31ca07[_0x393016(0xdd)],_0x21622c[_0x393016(0x10d)]=_0x31ca07[_0x393016(0x147)],_0x21622c[_0x393016(0xfc)]=_0x31ca07[_0x393016(0x120)],_0x21622c[_0x393016(0x10b)]=_0x31ca07[_0x393016(0x126)],_0x21622c[_0x393016(0x13e)]=_0x31ca07[_0x393016(0x142)],_0x21622c[_0x393016(0x13d)]=_0x31ca07[_0x393016(0xd5)],_0x21622c[_0x393016(0xcc)]=_0x31ca07[_0x393016(0x12f)],_0x21622c['browserstack.idleTimeout']=_0x31ca07[_0x393016(0xe4)],_0x21622c['browserstack.maskBasicAuth']=_0x31ca07[_0x393016(0x135)],_0x21622c[_0x393016(0x136)]=_0x31ca07[_0x393016(0x143)],_0x21622c[_0x393016(0xe6)]=_0x31ca07['MTsAG'],_0x21622c[_0x393016(0x144)]=_0x31ca07[_0x393016(0xff)],_0x21622c[_0x393016(0x111)]=_0x31ca07[_0x393016(0x134)],_0x21622c[_0x393016(0x11d)]=_0x31ca07[_0x393016(0x132)],_0x21622c[_0x393016(0x14b)]=_0x31ca07[_0x393016(0x121)],_0x21622c['realMobile']=_0x31ca07['wEcwX'],_0x21622c[_0x393016(0x110)]=_0x31ca07[_0x393016(0x131)],_0x21622c[_0x393016(0x150)]=_0x31ca07['LxkBM'],_0x21622c[_0x393016(0xf0)]=_0x31ca07[_0x393016(0xca)],_0x21622c[_0x393016(0xe0)]=_0x31ca07[_0x393016(0xcf)],_0x21622c['browserstack.buildIdentifier']=_0x31ca07[_0x393016(0xe7)],_0x21622c['browserstack.browserstackSDK']=_0x31ca07[_0x393016(0x145)],_0x21622c[_0x393016(0x156)]=_0x31ca07[_0x393016(0x155)],_0x21622c[_0x393016(0xdb)]=_0x31ca07['mgQcn'],_0x21622c[_0x393016(0x118)]=_0x31ca07['ZinVW'],_0x21622c[_0x393016(0xcd)]=_0x31ca07[_0x393016(0x114)],_0x21622c[_0x393016(0x139)]=_0x31ca07[_0x393016(0xcb)],_0x21622c['browserstack.accessibilityOptions.scannerProcessingTimeout']=_0x31ca07[_0x393016(0xf6)],_0x21622c[_0x393016(0x153)]=_0x31ca07[_0x393016(0xd3)],_0x21622c[_0x393016(0xf8)]=_0x31ca07[_0x393016(0x11b)],_0x21622c[_0x393016(0x12a)]=_0x31ca07[_0x393016(0x13c)],_0x21622c[_0x393016(0x106)]=_0x31ca07[_0x393016(0x125)],_0x21622c['browserstack.enableSim']=_0x31ca07[_0x393016(0xd0)],_0x21622c[_0x393016(0x14a)]=_0x31ca07[_0x393016(0x140)],_0x21622c[_0x393016(0x151)]=_0x31ca07[_0x393016(0x112)],_0x21622c[_0x393016(0xf9)]=_0x31ca07[_0x393016(0x154)],_0x21622c[_0x393016(0x138)]=_0x31ca07['eYuSV'],_0x21622c['browserstack.headerParams']=_0x31ca07[_0x393016(0x12e)],_0x21622c[_0x393016(0x103)]=_0x31ca07[_0x393016(0x129)],_0x21622c;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a174_0x4af2eb=a174_0x255c;function a174_0x33d7(){const _0x5bd9f2=['uxkSG','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','hubs','skipped','path','vHWCv','catch','./bin/utils/constants','resolve','HUB\x20URL\x20SET\x20TO\x20-\x20','KeGnj','hdfQP','nextHubs','YNpdp','PguTc','latency','hubLatencies','Lwskm','UJlgo','check','status','3213016PPQgth','1146581dscpEL','AyNRb','DgRtF','fELFE','Invalid\x20new\x20HUB\x20URL:\x20','rRebx','/wd/hub','tCQDR','hubUrl','2097aSoyPO','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','FXPIU','get','winstonLogger','xRCMP','pLgZk','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','JJFya','vGdfT','./helpers/globals','BISxI','./helpers/helper','mJatb','newHubUrlBySession','findLatency','set','delete','data','replace','eBWzu','VgBcK','DBIiV','setGlobal','wSYaS','FWmNf','eoQvw','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','AHsQb','https://','89310YEKLJV','format','pathname','DuviQ','./helpers/logger','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','IpPxU','has','allocateHub','search','4820580AIPpLX','CvRzo','value','zNdcn','bxEDG','\x20is:\x20','hubRegion\x20','debug','url','all','then','Response:\x20','ciCfB','OUVOH','util','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','FZgoJ','map','updateHubUrl','oXDbi','3eViABh','ptsEi','now','UPkRq','_hubAllocationData','parse','3926538qmBovF','xEjzT','2rlnRJf','hash','VaMhH','4914750iGQtnA','DsGMe','hubRegion','nodeRequest','GET','miQlV','7786448MNBPYT'];a174_0x33d7=function(){return _0x5bd9f2;};return a174_0x33d7();}(function(_0xfa54b8,_0x5c4851){const _0x326741=a174_0x255c,_0x5cfae3=_0xfa54b8();while(!![]){try{const _0x3efe14=parseInt(_0x326741(0x10f))/0x1*(parseInt(_0x326741(0xef))/0x2)+parseInt(_0x326741(0xe7))/0x3*(parseInt(_0x326741(0x10e))/0x4)+-parseInt(_0x326741(0xf2))/0x5+-parseInt(_0x326741(0xd3))/0x6+-parseInt(_0x326741(0xed))/0x7+-parseInt(_0x326741(0xf8))/0x8+parseInt(_0x326741(0x118))/0x9*(parseInt(_0x326741(0xc9))/0xa);if(_0x3efe14===_0x5c4851)break;else _0x5cfae3['push'](_0x5cfae3['shift']());}catch(_0xe946b5){_0x5cfae3['push'](_0x5cfae3['shift']());}}}(a174_0x33d7,0xad5fa));function a174_0x255c(_0x32e8ce,_0x2aa167){const _0x33d7cb=a174_0x33d7();return a174_0x255c=function(_0x255cde,_0x24374b){_0x255cde=_0x255cde-0xae;let _0x21147e=_0x33d7cb[_0x255cde];return _0x21147e;},a174_0x255c(_0x32e8ce,_0x2aa167);}const url=require(a174_0x4af2eb(0xdb)),util=require(a174_0x4af2eb(0xe1)),helper=require(a174_0x4af2eb(0xb7)),logger=require(a174_0x4af2eb(0xcd))[a174_0x4af2eb(0xae)],constants=require(a174_0x4af2eb(0x100)),globals=require(a174_0x4af2eb(0xb5));global[a174_0x4af2eb(0xb9)]=global[a174_0x4af2eb(0xb9)]||new Map(),exports['getRequestOptions']=_0xa862fb=>{const _0x211391=a174_0x4af2eb,_0x2d7f91={};_0x2d7f91['UJlgo']=function(_0x2de2cb,_0x1c3817){return _0x2de2cb+_0x1c3817;},_0x2d7f91[_0x211391(0xe8)]=_0x211391(0x113);const _0x22d888=_0x2d7f91,_0x281d84=url[_0x211391(0xec)](_0xa862fb);if(!_0x281d84['hostname'])throw new Error(_0x22d888[_0x211391(0x10b)](_0x22d888[_0x211391(0xe8)],_0xa862fb));return _0x281d84[_0x211391(0xd2)]=null,_0x281d84[_0x211391(0xf0)]=null,_0x281d84[_0x211391(0xfd)]=_0x281d84[_0x211391(0xcb)],_0x281d84;},exports[a174_0x4af2eb(0xe5)]=(_0x40e21d,_0x22e3f4)=>{const _0x54fb72=a174_0x4af2eb,_0x3d540e={};_0x3d540e[_0x54fb72(0x114)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x284c0f=_0x3d540e;if(!_0x22e3f4){logger[_0x54fb72(0xda)](_0x284c0f[_0x54fb72(0x114)]);return;}global[_0x54fb72(0xb9)][_0x54fb72(0xbb)](_0x22e3f4,_0x40e21d);},exports['consumeHubUrlForSession']=_0x2d95d9=>{const _0x32b7c1=a174_0x4af2eb;if(_0x2d95d9&&global['newHubUrlBySession'][_0x32b7c1(0xd0)](_0x2d95d9)){const _0x391d29=global[_0x32b7c1(0xb9)][_0x32b7c1(0x11b)](_0x2d95d9);return global[_0x32b7c1(0xb9)][_0x32b7c1(0xbc)](_0x2d95d9),_0x391d29;}return'';},exports[a174_0x4af2eb(0xd1)]=_0x6a1745=>{const _0x44c3c6=a174_0x4af2eb,_0x496efc={'eoQvw':_0x44c3c6(0xeb),'eBWzu':function(_0xa11771,_0x22c9a1){return _0xa11771===_0x22c9a1;},'AyNRb':'fulfilled','rHErW':_0x44c3c6(0x119),'tCQDR':function(_0x1c3ed6,_0x54eaf6){return _0x1c3ed6+_0x54eaf6;},'VaMhH':'https://','OUVOH':function(_0x326e79,_0x4ad51a){return _0x326e79+_0x4ad51a;},'VgBcK':'/wd/hub','DuviQ':function(_0x3d6815){return _0x3d6815();},'miQlV':function(_0x4cbfd4,_0x440b89){return _0x4cbfd4+_0x440b89;},'FZgoJ':function(_0x3dc6ba){return _0x3dc6ba();},'uxkSG':function(_0x5f3f54,_0x213584){return _0x5f3f54==_0x213584;},'FXPIU':function(_0x381712,_0x29a64a){return _0x381712===_0x29a64a;},'fELFE':function(_0x2ceb64,_0x2940bf){return _0x2ceb64!==_0x2940bf;},'oXDbi':function(_0x36752c,_0x750d25){return _0x36752c+_0x750d25;}};return new Promise(_0x5f0ed5=>{const _0x9ef778=_0x44c3c6,_0x41e521={'YNpdp':function(_0x36aa0f,_0x8ee96d){const _0x3f13fd=a174_0x255c;return _0x496efc[_0x3f13fd(0x112)](_0x36aa0f,_0x8ee96d);},'wSYaS':function(_0x40358c,_0x5295a4){const _0x7b3de=a174_0x255c;return _0x496efc[_0x7b3de(0xe6)](_0x40358c,_0x5295a4);},'CvRzo':_0x496efc[_0x9ef778(0xf1)],'pLgZk':function(_0x2d2d20){const _0x11f2d7=_0x9ef778;return _0x496efc[_0x11f2d7(0xcc)](_0x2d2d20);}};if(_0x6a1745&&_0x6a1745[_0x9ef778(0xf4)]){const _0x42ebb7=constants['HUB_URL_MAP'][_0x6a1745['hubRegion']];if(_0x42ebb7)return constants[_0x9ef778(0x117)]=_0x42ebb7,logger['debug'](_0x9ef778(0xc6)+_0x42ebb7),globals['setGlobal'](_0x496efc[_0x9ef778(0xc5)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x42ebb7[_0x9ef778(0xbe)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x9ef778(0xe9)]()}),_0x496efc[_0x9ef778(0xcc)](_0x5f0ed5);logger[_0x9ef778(0xda)](_0x9ef778(0xd9)+_0x6a1745[_0x9ef778(0xf4)]+_0x9ef778(0xfa));}Promise[_0x9ef778(0x101)](this[_0x9ef778(0x105)](_0x6a1745))[_0x9ef778(0xdd)](_0xddd8cc=>{const _0xfa30c6=_0x9ef778,_0x35186c={'DsGMe':_0x496efc['eoQvw'],'vCJne':function(_0x596e6d,_0x54fe80){const _0xedcf12=a174_0x255c;return _0x496efc[_0xedcf12(0xbf)](_0x596e6d,_0x54fe80);},'KeGnj':_0x496efc[_0xfa30c6(0x110)],'DgRtF':_0x496efc['rHErW'],'vGdfT':function(_0x4bb1cc,_0x5b906a){const _0x128e9b=_0xfa30c6;return _0x496efc[_0x128e9b(0x116)](_0x4bb1cc,_0x5b906a);},'GnHCV':_0x496efc[_0xfa30c6(0xf1)],'zNdcn':function(_0x539e9a,_0x4a4986){const _0x48289b=_0xfa30c6;return _0x496efc[_0x48289b(0xe0)](_0x539e9a,_0x4a4986);},'hdfQP':_0x496efc[_0xfa30c6(0xc0)],'ciCfB':function(_0x131933){const _0x1a75e7=_0xfa30c6;return _0x496efc[_0x1a75e7(0xcc)](_0x131933);},'AHsQb':function(_0x174cf3,_0x45fdc2){const _0x3e8b45=_0xfa30c6;return _0x496efc[_0x3e8b45(0xf7)](_0x174cf3,_0x45fdc2);},'yoLsv':function(_0x28a1cf){const _0x3cf386=_0xfa30c6;return _0x496efc[_0x3cf386(0xcc)](_0x28a1cf);},'PguTc':function(_0x1f6da1){const _0x239445=_0xfa30c6;return _0x496efc[_0x239445(0xe3)](_0x1f6da1);}};logger[_0xfa30c6(0xda)]('NEAREST\x20HUBS\x20LIST:\x20'+util['format']('%j',_0xddd8cc));if(_0x496efc[_0xfa30c6(0xf9)](_0xddd8cc,null)||_0x496efc[_0xfa30c6(0x11a)](_0xddd8cc['length'],0x0))return _0x496efc[_0xfa30c6(0xcc)](_0x5f0ed5);const _0x3239b4=_0xddd8cc[_0xfa30c6(0xe4)](_0x4e000d=>{const _0x2f50a8=_0xfa30c6,_0x26db2d={'xRCMP':function(_0x58ec63,_0xde90ee){const _0x21fd54=a174_0x255c;return _0x41e521[_0x21fd54(0x106)](_0x58ec63,_0xde90ee);}},_0x28b573=_0x41e521[_0x2f50a8(0xc3)](_0x41e521[_0x2f50a8(0xd4)],_0x4e000d);return this[_0x2f50a8(0xba)](_0x6a1745,_0x28b573)['then'](_0x11dad9=>{const _0xfafb=_0x2f50a8;if(_0x11dad9&&_0x11dad9[_0xfafb(0x117)]&&_0x26db2d[_0xfafb(0xaf)](_0x11dad9[_0xfafb(0x108)],undefined)){const _0x157d31={};return _0x157d31[_0xfafb(0x117)]=_0x11dad9[_0xfafb(0x117)],_0x157d31[_0xfafb(0x108)]=_0x11dad9[_0xfafb(0x108)],_0x157d31['ok']=!![],_0x157d31;}const _0x2247f2={};return _0x2247f2['hubUrl']=_0x28b573,_0x2247f2['latency']=null,_0x2247f2['ok']=![],_0x2247f2;})[_0x2f50a8(0xff)](()=>({'hubUrl':_0x28b573,'latency':null,'ok':![]}));});Promise['race'](_0x3239b4[_0xfa30c6(0xe4)](_0x3ba3d0=>_0x3ba3d0[_0xfa30c6(0xdd)](_0x4145b0=>_0x4145b0['ok']?_0x4145b0:null)))['then'](_0x4ba5de=>{const _0x5ba6fd=_0xfa30c6;if(_0x4ba5de)return _0x4ba5de;return Promise[_0x5ba6fd(0xdc)](_0x3239b4)[_0x5ba6fd(0xdd)](()=>null);})[_0xfa30c6(0xdd)](_0x5d4b33=>{const _0x140668=_0xfa30c6,_0x3634d0={'JJFya':_0x35186c[_0x140668(0xf3)],'vHWCv':function(_0x4d8f7d,_0x3793e8){return _0x35186c['vCJne'](_0x4d8f7d,_0x3793e8);},'DBIiV':_0x35186c[_0x140668(0x103)]};if(!_0x5d4b33){logger[_0x140668(0xda)](_0x35186c[_0x140668(0x111)]);const _0x4f8b16=_0x35186c[_0x140668(0xb4)](_0x35186c['GnHCV'],_0xddd8cc[0x0]);return globals[_0x140668(0xc2)](_0x35186c[_0x140668(0xf3)],{'nearestHubs':_0xddd8cc[_0x140668(0xe4)](_0x196614=>_0x140668(0xc8)+_0x196614),'hubLatencies':{},'selectedHub':_0x4f8b16,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x140668(0xe9)]()}),constants[_0x140668(0x117)]=_0x35186c[_0x140668(0xd6)](_0x4f8b16,_0x35186c[_0x140668(0x104)]),logger[_0x140668(0xda)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x4f8b16),_0x35186c[_0x140668(0xdf)](_0x5f0ed5);}const _0x11bcb2={[_0x5d4b33[_0x140668(0x117)]]:_0x5d4b33[_0x140668(0x108)]},_0xaca05c={'nearestHubs':_0xddd8cc['map'](_0x25777a=>_0x140668(0xc8)+_0x25777a),'hubLatencies':_0x11bcb2,'selectedHub':_0x5d4b33[_0x140668(0x117)],'selectedHubLatency':_0x5d4b33['latency'],'timestamp':Date[_0x140668(0xe9)]()};globals[_0x140668(0xc2)](_0x35186c[_0x140668(0xf3)],_0xaca05c),constants[_0x140668(0x117)]=_0x35186c[_0x140668(0xc7)](_0x5d4b33[_0x140668(0x117)],_0x35186c[_0x140668(0x104)]),logger['debug'](_0x140668(0x102)+_0x5d4b33[_0x140668(0x117)]),_0x35186c['yoLsv'](_0x5f0ed5),Promise['allSettled'](_0x3239b4)['then'](_0x40c2a2=>{const _0x528dd4=_0x140668;try{const _0x5490c1=globals['getGlobal'](_0x3634d0[_0x528dd4(0xb3)]);if(!_0x5490c1||_0x5490c1[_0x528dd4(0xfc)])return;const _0x5e06b4={};for(const _0x368488 of _0x40c2a2){_0x3634d0[_0x528dd4(0xfe)](_0x368488[_0x528dd4(0x10d)],_0x3634d0[_0x528dd4(0xc1)])&&_0x368488[_0x528dd4(0xd5)]&&_0x368488[_0x528dd4(0xd5)]['ok']&&(_0x5e06b4[_0x368488[_0x528dd4(0xd5)][_0x528dd4(0x117)]]=_0x368488[_0x528dd4(0xd5)][_0x528dd4(0x108)]);}_0x5490c1[_0x528dd4(0x109)]=_0x5e06b4;}catch(_0xdb0503){logger[_0x528dd4(0xda)](_0x528dd4(0xce)+_0xdb0503);}})[_0x140668(0xff)](_0x46efb4=>{const _0x3f7154=_0x140668;logger[_0x3f7154(0xda)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x46efb4);});})[_0xfa30c6(0xff)](_0xcfb3cf=>{const _0x1cffc8=_0xfa30c6;logger[_0x1cffc8(0xda)]('ERROR\x20in\x20hub\x20selection:\x20'+_0xcfb3cf),_0x35186c[_0x1cffc8(0x107)](_0x5f0ed5);});})[_0x9ef778(0xff)](_0x48e23b=>{const _0x1a6404=_0x9ef778;logger[_0x1a6404(0xda)](_0x1a6404(0xb1)+_0x48e23b),_0x41e521[_0x1a6404(0xb0)](_0x5f0ed5);});});},exports[a174_0x4af2eb(0xba)]=async(_0x495d4e,_0x4540c2)=>{const _0x523d77=a174_0x4af2eb,_0x50c855={};_0x50c855[_0x523d77(0x10a)]=_0x523d77(0xf6),_0x50c855[_0x523d77(0xea)]=_0x523d77(0x10c),_0x50c855[_0x523d77(0xb8)]=function(_0x4cb7b8,_0x4e61e3){return _0x4cb7b8-_0x4e61e3;};const _0x301d59=_0x50c855;try{const _0x11d0dc=new Date();await helper[_0x523d77(0xf5)](_0x301d59['Lwskm'],_0x301d59[_0x523d77(0xea)],{},_0x495d4e,_0x4540c2,0x1388);const _0x1185e1=_0x301d59[_0x523d77(0xb8)](new Date(),_0x11d0dc);logger[_0x523d77(0xda)]('Execution\x20time\x20for\x20'+_0x4540c2+_0x523d77(0xd8)+_0x1185e1+'ms');const _0x174a1c={};return _0x174a1c[_0x523d77(0x117)]=_0x4540c2,_0x174a1c[_0x523d77(0x108)]=_0x1185e1,_0x174a1c;}catch(_0xcb4d1c){return logger[_0x523d77(0xda)](_0x523d77(0xe2)+_0x4540c2+'\x20HUB\x20-\x20'+_0xcb4d1c),{};}},exports['nextHubs']=async _0x23f11b=>{const _0x484c44=a174_0x4af2eb,_0x4a7c24={'bxEDG':function(_0x4b8eb4,_0x44dc93){return _0x4b8eb4(_0x44dc93);},'IpPxU':'./bin/utils/constants','xEjzT':_0x484c44(0x115),'FWmNf':_0x484c44(0xf6),'BISxI':'next_hubs'};try{const _0x56fe0e=_0x4a7c24[_0x484c44(0xd7)](require,_0x4a7c24[_0x484c44(0xcf)])[_0x484c44(0x117)][_0x484c44(0xbe)](_0x4a7c24[_0x484c44(0xee)],''),_0x1bffb2=await helper[_0x484c44(0xf5)](_0x4a7c24[_0x484c44(0xc4)],_0x4a7c24[_0x484c44(0xb6)],{},_0x23f11b,_0x56fe0e,0x1388),_0x491a5a=_0x1bffb2[_0x484c44(0xbd)];return logger[_0x484c44(0xda)](_0x484c44(0xde)+util[_0x484c44(0xca)]('%j',_0x491a5a)),_0x491a5a[_0x484c44(0xfb)];}catch(_0x39c7ee){logger[_0x484c44(0xda)](_0x484c44(0xb2)+_0x39c7ee);}return null;};
|
|
1
|
+
function a174_0x1791(){const _0x264de0=['latency','now','118640eIqryD','gXpQN','105cGuKDw','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','1674fwYUDA','race','rqcMX','PyroR','RmXwP','210QrWHdk','GET','get','consumeHubUrlForSession','next_hubs','nodeRequest','lBFqA','HUB_URL_MAP','set','hostname','vTJOo','TgUWj','bhkLI','_hubAllocationData','/wd/hub','3099128fSieky','parse','RrXcG','util','hubUrl','tRIWB','skipped','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','5870NFyzsR','findLatency','url','bBnwU','pyItv','length','hubRegion\x20','RLhvP','fulfilled','then','pathname','RAKxR','resolve','bVQAM','tmzBg','nextHubs','YvGke','catch','map','vNEVU','310479uLzJWh','Vmdjh','format','qGphT','HUB\x20URL\x20SET\x20TO\x20-\x20','416471yaaWPS','https://','./helpers/helper','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','./helpers/logger','allSettled','HvMoL','setGlobal','UVXeb','debug','pQFvw','SwEoE','lsIvy','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','./helpers/globals','GXzmV','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','MQNKv','KaAwn','getGlobal','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','oTGJs','FbFCL','winstonLogger','EZoDW','tqBHa','ERROR\x20in\x20hub\x20selection:\x20','qvVnS','HafCp','vdnea','Execution\x20time\x20for\x20','3545334rRXyZH','ManxC','path','15NanMoQ','gTMhK','hubRegion','./bin/utils/constants','value','ghwpL','277088KzrQFL','Response:\x20','BKpfa','dHLlQ','newHubUrlBySession','status','RxOnd','TqBuK','check','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','\x20HUB\x20-\x20','delete','Invalid\x20new\x20HUB\x20URL:\x20','all'];a174_0x1791=function(){return _0x264de0;};return a174_0x1791();}const a174_0x970c84=a174_0x5578;(function(_0x46245f,_0x3a8e82){const _0x2d405d=a174_0x5578,_0x2a27f4=_0x46245f();while(!![]){try{const _0x2e243b=parseInt(_0x2d405d(0x127))/0x1+parseInt(_0x2d405d(0x164))/0x2*(parseInt(_0x2d405d(0x14e))/0x3)+-parseInt(_0x2d405d(0x10b))/0x4+parseInt(_0x2d405d(0x113))/0x5*(-parseInt(_0x2d405d(0x168))/0x6)+-parseInt(_0x2d405d(0x166))/0x7*(-parseInt(_0x2d405d(0x154))/0x8)+-parseInt(_0x2d405d(0x14b))/0x9+parseInt(_0x2d405d(0x16d))/0xa*(parseInt(_0x2d405d(0x12c))/0xb);if(_0x2e243b===_0x3a8e82)break;else _0x2a27f4['push'](_0x2a27f4['shift']());}catch(_0x5c0f6e){_0x2a27f4['push'](_0x2a27f4['shift']());}}}(a174_0x1791,0x67de6));function a174_0x5578(_0x55c682,_0x91fdbe){const _0x1791f2=a174_0x1791();return a174_0x5578=function(_0x557882,_0x2f4c5f){_0x557882=_0x557882-0x10b;let _0x46ec4c=_0x1791f2[_0x557882];return _0x46ec4c;},a174_0x5578(_0x55c682,_0x91fdbe);}const url=require(a174_0x970c84(0x115)),util=require(a174_0x970c84(0x10e)),helper=require(a174_0x970c84(0x12e)),logger=require(a174_0x970c84(0x130))[a174_0x970c84(0x143)],constants=require(a174_0x970c84(0x151)),globals=require(a174_0x970c84(0x13a));global[a174_0x970c84(0x158)]=global[a174_0x970c84(0x158)]||new Map(),exports['getRequestOptions']=_0xc295d=>{const _0x104556=a174_0x970c84,_0x269546={};_0x269546['lBFqA']=function(_0x46e1fc,_0x140ef8){return _0x46e1fc+_0x140ef8;},_0x269546[_0x104556(0x149)]=_0x104556(0x160);const _0x1741a6=_0x269546,_0x24c6dd=url[_0x104556(0x10c)](_0xc295d);if(!_0x24c6dd[_0x104556(0x176)])throw new Error(_0x1741a6[_0x104556(0x173)](_0x1741a6[_0x104556(0x149)],_0xc295d));return _0x24c6dd['search']=null,_0x24c6dd['hash']=null,_0x24c6dd[_0x104556(0x14d)]=_0x24c6dd[_0x104556(0x11d)],_0x24c6dd;},exports['updateHubUrl']=(_0x3b301e,_0x2de3ed)=>{const _0x43c2c1=a174_0x970c84,_0x24409c={};_0x24409c['gXpQN']='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x5825e5=_0x24409c;if(!_0x2de3ed){logger[_0x43c2c1(0x135)](_0x5825e5[_0x43c2c1(0x165)]);return;}global[_0x43c2c1(0x158)][_0x43c2c1(0x175)](_0x2de3ed,_0x3b301e);},exports[a174_0x970c84(0x170)]=_0x1c81e8=>{const _0x2fe236=a174_0x970c84;if(_0x1c81e8&&global['newHubUrlBySession']['has'](_0x1c81e8)){const _0x5e4622=global[_0x2fe236(0x158)][_0x2fe236(0x16f)](_0x1c81e8);return global[_0x2fe236(0x158)][_0x2fe236(0x15f)](_0x1c81e8),_0x5e4622;}return'';},exports['allocateHub']=_0x9a5693=>{const _0x569ac6=a174_0x970c84,_0xea16f1={'HvMoL':function(_0x1263ec,_0x25892a){return _0x1263ec!==_0x25892a;},'TqBuK':function(_0x2bdc0b,_0x52d8fb){return _0x2bdc0b+_0x52d8fb;},'FbFCL':_0x569ac6(0x12d),'qGphT':_0x569ac6(0x17a),'vNEVU':function(_0x17b5df,_0x163338){return _0x17b5df===_0x163338;},'GHXwi':_0x569ac6(0x11b),'pQFvw':_0x569ac6(0x13c),'xXzAV':'/wd/hub','RxOnd':function(_0x12da59){return _0x12da59();},'MQNKv':function(_0x24802b,_0x27a582){return _0x24802b==_0x27a582;},'tqBHa':function(_0x434b42){return _0x434b42();}};return new Promise(_0x3f928c=>{const _0x387d41=_0x569ac6,_0x3749d7={'YvGke':function(_0x5ed0f0,_0xfc1f1f){const _0x5dc8ed=a174_0x5578;return _0xea16f1[_0x5dc8ed(0x132)](_0x5ed0f0,_0xfc1f1f);},'RLhvP':function(_0xb88d02,_0x4e8cc9){const _0x357496=a174_0x5578;return _0xea16f1[_0x357496(0x15b)](_0xb88d02,_0x4e8cc9);},'tmzBg':_0xea16f1[_0x387d41(0x142)],'YSRKT':_0xea16f1[_0x387d41(0x12a)],'pyItv':function(_0x56d30e,_0x3a8ea4){const _0x1e8836=_0x387d41;return _0xea16f1[_0x1e8836(0x126)](_0x56d30e,_0x3a8ea4);},'PcBBQ':_0xea16f1['GHXwi'],'bhkLI':_0xea16f1[_0x387d41(0x136)],'oTGJs':function(_0x17def3,_0x2200f9){const _0x345c77=_0x387d41;return _0xea16f1[_0x345c77(0x15b)](_0x17def3,_0x2200f9);},'RrXcG':_0xea16f1['xXzAV'],'GXzmV':function(_0x2ad6c1){const _0x3ae684=_0x387d41;return _0xea16f1[_0x3ae684(0x15a)](_0x2ad6c1);},'HafCp':function(_0x358e92,_0x9735df){const _0x3d9290=_0x387d41;return _0xea16f1[_0x3d9290(0x13d)](_0x358e92,_0x9735df);},'PyroR':function(_0x14ed39){const _0x1de216=_0x387d41;return _0xea16f1[_0x1de216(0x145)](_0x14ed39);}};if(_0x9a5693&&_0x9a5693[_0x387d41(0x150)]){const _0x2a4ae8=constants[_0x387d41(0x174)][_0x9a5693[_0x387d41(0x150)]];if(_0x2a4ae8)return constants[_0x387d41(0x10f)]=_0x2a4ae8,logger[_0x387d41(0x135)]('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0x2a4ae8),globals[_0x387d41(0x133)](_0xea16f1[_0x387d41(0x12a)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x2a4ae8['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x387d41(0x163)]()}),_0xea16f1[_0x387d41(0x15a)](_0x3f928c);logger['debug'](_0x387d41(0x119)+_0x9a5693['hubRegion']+_0x387d41(0x167));}Promise[_0x387d41(0x11f)](this[_0x387d41(0x122)](_0x9a5693))[_0x387d41(0x11c)](_0x38389e=>{const _0xa3bccf=_0x387d41,_0x5082f0={'EZoDW':_0x3749d7['YSRKT'],'RmXwP':function(_0x1d856d,_0x406c04){const _0x38235c=a174_0x5578;return _0x3749d7[_0x38235c(0x117)](_0x1d856d,_0x406c04);},'ManxC':_0x3749d7['PcBBQ'],'KaAwn':_0x3749d7[_0xa3bccf(0x179)],'qvVnS':function(_0xacd18a,_0x31241b){const _0x105d2e=_0xa3bccf;return _0x3749d7[_0x105d2e(0x141)](_0xacd18a,_0x31241b);},'dHLlQ':_0x3749d7[_0xa3bccf(0x121)],'UVXeb':_0x3749d7[_0xa3bccf(0x10d)],'tRIWB':function(_0x4e8fa2){const _0x342b94=_0xa3bccf;return _0x3749d7[_0x342b94(0x13b)](_0x4e8fa2);},'yuAaI':function(_0x2fc90b,_0x27e54e){const _0x1942ab=_0xa3bccf;return _0x3749d7[_0x1942ab(0x11a)](_0x2fc90b,_0x27e54e);},'bEjyi':function(_0x389325){const _0x9b8657=_0xa3bccf;return _0x3749d7[_0x9b8657(0x13b)](_0x389325);}};logger[_0xa3bccf(0x135)]('NEAREST\x20HUBS\x20LIST:\x20'+util[_0xa3bccf(0x129)]('%j',_0x38389e));if(_0x3749d7[_0xa3bccf(0x148)](_0x38389e,null)||_0x3749d7[_0xa3bccf(0x117)](_0x38389e[_0xa3bccf(0x118)],0x0))return _0x3749d7[_0xa3bccf(0x16b)](_0x3f928c);const _0x488e56=_0x38389e[_0xa3bccf(0x125)](_0x53eaf8=>{const _0x2b4f77=_0xa3bccf,_0x14dff6={'Vmdjh':function(_0x437ef4,_0x26ed00){const _0x4acb56=a174_0x5578;return _0x3749d7[_0x4acb56(0x123)](_0x437ef4,_0x26ed00);}},_0x46df99=_0x3749d7[_0x2b4f77(0x11a)](_0x3749d7[_0x2b4f77(0x121)],_0x53eaf8);return this[_0x2b4f77(0x114)](_0x9a5693,_0x46df99)[_0x2b4f77(0x11c)](_0x4a0ae4=>{const _0x5a0d5a=_0x2b4f77;if(_0x4a0ae4&&_0x4a0ae4[_0x5a0d5a(0x10f)]&&_0x14dff6[_0x5a0d5a(0x128)](_0x4a0ae4[_0x5a0d5a(0x162)],undefined)){const _0x1d84e0={};return _0x1d84e0[_0x5a0d5a(0x10f)]=_0x4a0ae4[_0x5a0d5a(0x10f)],_0x1d84e0[_0x5a0d5a(0x162)]=_0x4a0ae4[_0x5a0d5a(0x162)],_0x1d84e0['ok']=!![],_0x1d84e0;}const _0x528839={};return _0x528839[_0x5a0d5a(0x10f)]=_0x46df99,_0x528839[_0x5a0d5a(0x162)]=null,_0x528839['ok']=![],_0x528839;})[_0x2b4f77(0x124)](()=>({'hubUrl':_0x46df99,'latency':null,'ok':![]}));});Promise[_0xa3bccf(0x169)](_0x488e56['map'](_0x1dab0c=>_0x1dab0c[_0xa3bccf(0x11c)](_0x483cd2=>_0x483cd2['ok']?_0x483cd2:null)))[_0xa3bccf(0x11c)](_0x5dcb94=>{const _0x56c435=_0xa3bccf;if(_0x5dcb94)return _0x5dcb94;return Promise[_0x56c435(0x161)](_0x488e56)[_0x56c435(0x11c)](()=>null);})['then'](_0xcb15c8=>{const _0x534b0d=_0xa3bccf,_0x585d02={'SwEoE':_0x5082f0['EZoDW'],'lsIvy':function(_0x155d02,_0xace104){const _0x31cbf4=a174_0x5578;return _0x5082f0[_0x31cbf4(0x16c)](_0x155d02,_0xace104);},'RAKxR':_0x5082f0[_0x534b0d(0x14c)]};if(!_0xcb15c8){logger[_0x534b0d(0x135)](_0x5082f0[_0x534b0d(0x13e)]);const _0x4eb59a=_0x5082f0['qvVnS'](_0x5082f0[_0x534b0d(0x157)],_0x38389e[0x0]);return globals[_0x534b0d(0x133)](_0x5082f0[_0x534b0d(0x144)],{'nearestHubs':_0x38389e[_0x534b0d(0x125)](_0x3095e6=>_0x534b0d(0x12d)+_0x3095e6),'hubLatencies':{},'selectedHub':_0x4eb59a,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x534b0d(0x163)]()}),constants['hubUrl']=_0x5082f0[_0x534b0d(0x147)](_0x4eb59a,_0x5082f0[_0x534b0d(0x134)]),logger[_0x534b0d(0x135)](_0x534b0d(0x12f)+_0x4eb59a),_0x5082f0[_0x534b0d(0x110)](_0x3f928c);}const _0x59ec0e={[_0xcb15c8[_0x534b0d(0x10f)]]:_0xcb15c8[_0x534b0d(0x162)]},_0x334f2b={'nearestHubs':_0x38389e[_0x534b0d(0x125)](_0x52a1a7=>'https://'+_0x52a1a7),'hubLatencies':_0x59ec0e,'selectedHub':_0xcb15c8[_0x534b0d(0x10f)],'selectedHubLatency':_0xcb15c8[_0x534b0d(0x162)],'timestamp':Date[_0x534b0d(0x163)]()};globals[_0x534b0d(0x133)](_0x5082f0[_0x534b0d(0x144)],_0x334f2b),constants[_0x534b0d(0x10f)]=_0x5082f0['yuAaI'](_0xcb15c8[_0x534b0d(0x10f)],_0x5082f0[_0x534b0d(0x134)]),logger[_0x534b0d(0x135)](_0x534b0d(0x12b)+_0xcb15c8[_0x534b0d(0x10f)]),_0x5082f0['bEjyi'](_0x3f928c),Promise[_0x534b0d(0x131)](_0x488e56)[_0x534b0d(0x11c)](_0xbd8300=>{const _0x1072f9=_0x534b0d;try{const _0x20ad10=globals[_0x1072f9(0x13f)](_0x585d02[_0x1072f9(0x137)]);if(!_0x20ad10||_0x20ad10[_0x1072f9(0x111)])return;const _0x3fc3c9={};for(const _0x2eab72 of _0xbd8300){_0x585d02[_0x1072f9(0x138)](_0x2eab72[_0x1072f9(0x159)],_0x585d02[_0x1072f9(0x11e)])&&_0x2eab72['value']&&_0x2eab72[_0x1072f9(0x152)]['ok']&&(_0x3fc3c9[_0x2eab72[_0x1072f9(0x152)]['hubUrl']]=_0x2eab72[_0x1072f9(0x152)][_0x1072f9(0x162)]);}_0x20ad10['hubLatencies']=_0x3fc3c9;}catch(_0x29b97f){logger[_0x1072f9(0x135)](_0x1072f9(0x112)+_0x29b97f);}})[_0x534b0d(0x124)](_0x2c974c=>{logger['debug']('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x2c974c);});})['catch'](_0x583926=>{const _0xa0fed=_0xa3bccf;logger['debug'](_0xa0fed(0x146)+_0x583926),_0x5082f0['bEjyi'](_0x3f928c);});})['catch'](_0x5e2415=>{const _0x4f59c7=_0x387d41;logger['debug'](_0x4f59c7(0x140)+_0x5e2415),_0x3749d7['GXzmV'](_0x3f928c);});});},exports['findLatency']=async(_0x25a6e8,_0x1e57c0)=>{const _0x43bfa2=a174_0x970c84,_0x2db6c4={};_0x2db6c4['TgUWj']='GET',_0x2db6c4[_0x43bfa2(0x156)]=_0x43bfa2(0x15c),_0x2db6c4['bVQAM']=function(_0xcad438,_0x187b60){return _0xcad438-_0x187b60;};const _0x22066f=_0x2db6c4;try{const _0x49e199=new Date();await helper[_0x43bfa2(0x172)](_0x22066f[_0x43bfa2(0x178)],_0x22066f[_0x43bfa2(0x156)],{},_0x25a6e8,_0x1e57c0,0x1388);const _0x29d534=_0x22066f[_0x43bfa2(0x120)](new Date(),_0x49e199);logger[_0x43bfa2(0x135)](_0x43bfa2(0x14a)+_0x1e57c0+'\x20is:\x20'+_0x29d534+'ms');const _0x331a2b={};return _0x331a2b[_0x43bfa2(0x10f)]=_0x1e57c0,_0x331a2b[_0x43bfa2(0x162)]=_0x29d534,_0x331a2b;}catch(_0x123bda){return logger['debug'](_0x43bfa2(0x139)+_0x1e57c0+_0x43bfa2(0x15e)+_0x123bda),{};}},exports[a174_0x970c84(0x122)]=async _0x2e28b7=>{const _0x5c0513=a174_0x970c84,_0x4c4edb={'ghwpL':function(_0x108feb,_0x5ac188){return _0x108feb(_0x5ac188);},'gTMhK':_0x5c0513(0x151),'rqcMX':_0x5c0513(0x17b),'bBnwU':_0x5c0513(0x16e),'vTJOo':_0x5c0513(0x171)};try{const _0x254356=_0x4c4edb[_0x5c0513(0x153)](require,_0x4c4edb[_0x5c0513(0x14f)])[_0x5c0513(0x10f)]['replace'](_0x4c4edb[_0x5c0513(0x16a)],''),_0x1765f3=await helper['nodeRequest'](_0x4c4edb[_0x5c0513(0x116)],_0x4c4edb[_0x5c0513(0x177)],{},_0x2e28b7,_0x254356,0x1388),_0x33c624=_0x1765f3['data'];return logger[_0x5c0513(0x135)](_0x5c0513(0x155)+util[_0x5c0513(0x129)]('%j',_0x33c624)),_0x33c624['hubs'];}catch(_0x144d7c){logger['debug'](_0x5c0513(0x15d)+_0x144d7c);}return null;};
|