browserstack-node-sdk 1.58.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a170_0x936c(_0x5d749c,_0x30a5bd){const _0x64270d=a170_0x6427();return a170_0x936c=function(_0x936c0c,_0x20098f){_0x936c0c=_0x936c0c-0x126;let _0x3cd542=_0x64270d[_0x936c0c];return _0x3cd542;},a170_0x936c(_0x5d749c,_0x30a5bd);}const a170_0x4d6ff4=a170_0x936c;function a170_0x6427(){const _0xd4f8e=['shouldScanTestForAccessibility','ZNhNw','setTestHubCommonMetaInfo','Jpnel','isAccessibilityEnabled','getFrameworkDetails','assign','../test-observability/utils','32710hrSIwf','success','build_hashed_id','TestRunStarted','parseA11yJwtPayload','platforms',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','toUpperCase','tags','percy','Osbqo','../ats/helper','./constants.js','setTestObservabilityVariables','BROWSERSTACK_ACCESSIBILITY','BROWSERSTACK_PERCY','2|0|1|4|5|3','key','command','jwt','observability','qKfqK','lZZCs','658106HnVLMc','handleErrorForAccessibility','false','setPercyFlag','logBuildError','suNAr','bYBkL','INVALID_CREDENTIALS','accessibilityPlatform','KqdwJ','titlePath','HVxPQ','uwYIU','bjfVM','../../bin/jasmine/testRunMap.js','Doggf','../accessibility-automation/scripts.js','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','sbqML','lRTsr','HookRunFinished','checkAccessibilityPlatformConfig','getAccessibilityPlatformValidation','LogCreated','isTrue','message','1251VJRXBf','debug','getAccessibilityValueFromYml','HookRunStarted','scannerVersion','pcdgS','0|2|1|4|3','PLAYWRIGHT','sxkZt','test_run','error','wtvic','LBsXj','stringify','289105vthFNG','toString','kHiwh','BS_TESTOPS_BUILD_HASHED_ID','\x20Build\x20creation\x20failed','CoERR','5127728sbQneA','../globals.js','BROWSERSTACK_TESTHUB_JWT','uploadEventData','info','env','BS_TESTOPS_JWT','javascript','7427136egQckf','FZABu','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','fDwWb','../../bin/utils/constants.js','GwPvx','product_map','lkiJu','BS_TESTOPS_BUILD_COMPLETED','getProductMapForBuildStartCall','../../bin/v2/modules/loadTestModule','Lohbw','../logger','join','ovkjI','allow_screenshots','../test-observability/constants.js','ujNrw','JASMINE','isLTSSession','username','bstackA11yShouldScan','app','JzYRi','qYwPT','MOCHA','getCentralUser','BS_A11Y_JWT','WMiGB','JMRrS','3198717sChQes','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','2lRayAD','1|4|3|5|6|2|0','split','config','true','shouldProcessEventForTesthub','capabilities','appendTesthubParams','scripts','JEST','getBuildStartData','../../bin/playwright/reporter/test-details.js','QAIbr','../../bin/jest/test-observability/test-details.js','pcZBN','ldVyU','CUCUMBER','Mtvhn','isAccessibilityPlatform','AzNim','isBrowserstackInfra','GgefA','QBNTr','options','accessibility','forEach','keys','commands','password','isTurboScaleSession','errors','BROWSERSTACK_TESTHUB_UUID','getCurrentTestData','BROWSERSTACK_TESTHUB_UUID:\x20','bUpGc','pWnss','name','BS_TESTOPS_ALLOW_SCREENSHOTS','uwrSU','iTDtQ','length','5878188YBwMJh','getTestFrameworkDetails','isRunning','UBmXD','TfjtD','uaOjp','ZpPft','HDupx','hqGtG','winstonLogger','CREDENTIALS_FOR_CRASH_REPORTING','jYaqC','oqNkU','includes','mxkCP','AWdAN','handleErrorForObservability','WqxpK','uuid','getAgentVersion','toJson','ERROR','pQedC','getGlobal','ZfDbt','INczf','skipCDPConnectOverride','DEPRECATED','scopes','nonBStackInfraA11yChromeOptions','null','isPercyBuild','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','7cPILxo'];a170_0x6427=function(){return _0xd4f8e;};return a170_0x6427();}(function(_0x1452a5,_0x3bbe14){const _0x5d8d19=a170_0x936c,_0x3d39d0=_0x1452a5();while(!![]){try{const _0x1eb143=parseInt(_0x5d8d19(0x1d3))/0x1+-parseInt(_0x5d8d19(0x169))/0x2*(-parseInt(_0x5d8d19(0x167))/0x3)+parseInt(_0x5d8d19(0x192))/0x4+parseInt(_0x5d8d19(0x13b))/0x5+-parseInt(_0x5d8d19(0x149))/0x6+parseInt(_0x5d8d19(0x1b3))/0x7*(-parseInt(_0x5d8d19(0x141))/0x8)+parseInt(_0x5d8d19(0x12d))/0x9*(-parseInt(_0x5d8d19(0x1bc))/0xa);if(_0x1eb143===_0x3bbe14)break;else _0x3d39d0['push'](_0x3d39d0['shift']());}catch(_0x230f74){_0x3d39d0['push'](_0x3d39d0['shift']());}}}(a170_0x6427,0xe02ce));const bsSetupHelper=require('../helper'),LoadTestModule=require(a170_0x4d6ff4(0x153)),{isTestObservabilitySession,getFrameworkVersion}=require(a170_0x4d6ff4(0x1bb)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a170_0x4d6ff4(0x155))[a170_0x4d6ff4(0x19b)],{nestedKeyValue}=require('../helper.js'),scripts=require(a170_0x4d6ff4(0x1e3)),globals=require(a170_0x4d6ff4(0x142)),testHubConstants=require(a170_0x4d6ff4(0x1c8)),PWTestDetails=require(a170_0x4d6ff4(0x174)),JestTestDetails=require(a170_0x4d6ff4(0x176)),{FRAMEWORKS}=require(a170_0x4d6ff4(0x159)),{isTurboScaleSession}=require(a170_0x4d6ff4(0x1c7)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a170_0x4d6ff4(0x14d));let testData={};exports['getProductMap']=_0x88b4d2=>{const _0x1489d2=a170_0x4d6ff4,_0x66d3bb={'oqNkU':function(_0x2b7a0a){return _0x2b7a0a();}};let _0x224d07=![],_0x5b3fd0=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x88b4d2[_0x1489d2(0x15f)])_0x5b3fd0=!![];else bsSetupHelper[_0x1489d2(0x17d)]()&&(_0x224d07=!![]);return Object[_0x1489d2(0x1ba)]({'observability':_0x66d3bb[_0x1489d2(0x19e)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x88b4d2),'percy':_0x88b4d2['percy']||![],'automate':_0x224d07,'app_automate':_0x5b3fd0,'turboscale':bsSetupHelper[_0x1489d2(0x186)](_0x88b4d2),'lts':LoadTestModule[_0x1489d2(0x15c)](_0x88b4d2)},bsSetupHelper[_0x1489d2(0x163)]());},exports[a170_0x4d6ff4(0x1b9)]=(_0x18076c,_0x1fb2a1)=>{const _0x50d257=a170_0x4d6ff4,_0x5263ec={'QBNTr':function(_0x31274c,_0x385ee2){return _0x31274c(_0x385ee2);},'Doggf':_0x50d257(0x148)},_0x1d51e5={'frameworkName':_0x1fb2a1,'frameworkVersion':_0x5263ec[_0x50d257(0x17f)](getFrameworkVersion,_0x1fb2a1),'sdkVersion':bsSetupHelper[_0x50d257(0x1a5)](),'language':_0x5263ec[_0x50d257(0x1e2)],'testFramework':bsSetupHelper[_0x50d257(0x193)](_0x18076c,_0x1fb2a1)};return process[_0x50d257(0x146)]['FRAMEWORK_DETAILS']=JSON[_0x50d257(0x13a)](_0x1d51e5),_0x1d51e5;},exports[a170_0x4d6ff4(0x1d6)]=_0x593496=>{const _0x2f8149=a170_0x4d6ff4,_0x415583={};_0x415583[_0x2f8149(0x17a)]=_0x2f8149(0x1d5),_0x415583['pcdgS']='true';const _0x1dee96=_0x415583;process[_0x2f8149(0x146)][_0x2f8149(0x1cb)]=_0x1dee96[_0x2f8149(0x17a)],bsSetupHelper[_0x2f8149(0x12b)](_0x593496[_0x2f8149(0x16c)][_0x2f8149(0x1c5)])&&(!_0x593496['percy']||!_0x593496[_0x2f8149(0x1c5)][_0x2f8149(0x194)]())&&(process[_0x2f8149(0x146)][_0x2f8149(0x1cb)]=_0x1dee96[_0x2f8149(0x132)]);},exports[a170_0x4d6ff4(0x1b1)]=()=>{const _0x5bc82a=a170_0x4d6ff4;return bsSetupHelper[_0x5bc82a(0x12b)](process[_0x5bc82a(0x146)][_0x5bc82a(0x1cb)]);},exports[a170_0x4d6ff4(0x1b8)]=(_0x54befc={})=>{const _0x5a404f=a170_0x4d6ff4,_0x4cecee={};_0x4cecee['JMRrS']=function(_0x2c1e2d,_0x477ca0){return _0x2c1e2d!==_0x477ca0;},_0x4cecee['GwPvx']=function(_0x43ec08,_0x4c5331){return _0x43ec08===_0x4c5331;},_0x4cecee[_0x5a404f(0x160)]=_0x5a404f(0x16d),_0x4cecee[_0x5a404f(0x1a3)]=function(_0x2ff32a,_0x429f3f){return _0x2ff32a>_0x429f3f;},_0x4cecee['INczf']=function(_0xb9a670,_0x4f3a59){return _0xb9a670===_0x4f3a59;};const _0x566065=_0x4cecee;if(_0x566065[_0x5a404f(0x166)](process['env'][_0x5a404f(0x1ca)],undefined))return bsSetupHelper[_0x5a404f(0x12b)](process[_0x5a404f(0x146)][_0x5a404f(0x1ca)]);let _0x25d363=_0x566065[_0x5a404f(0x14e)](process[_0x5a404f(0x146)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x566065[_0x5a404f(0x160)]);return _0x566065[_0x5a404f(0x1a3)](Object[_0x5a404f(0x183)](_0x54befc)[_0x5a404f(0x191)],0x0)&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x5a404f(0x128)](_0x54befc)),_0x25d363=_0x25d363||_0x566065[_0x5a404f(0x1ab)](process[_0x5a404f(0x146)][_0x5a404f(0x168)],_0x566065[_0x5a404f(0x160)]),_0x25d363;},exports[a170_0x4d6ff4(0x1c9)]=(_0x29355b,_0x31a241)=>{const _0x5203f1=a170_0x4d6ff4,_0xac0f5a={'jNunr':function(_0x3e7fdd){return _0x3e7fdd();},'ldVyU':_0x5203f1(0x1cc),'YJzkU':'true','kHiwh':function(_0x186134,_0x223fab,_0x1f8e43){return _0x186134(_0x223fab,_0x1f8e43);},'HDupx':_0x5203f1(0x1d0),'suNAr':_0x5203f1(0x180)};if(!_0x29355b||!_0x29355b[_0x5203f1(0x1d0)])return exports[_0x5203f1(0x1a2)](),[null,null,null];if(!_0x29355b[_0x5203f1(0x1d0)][_0x5203f1(0x1bd)])return exports[_0x5203f1(0x1a2)](_0x29355b[_0x5203f1(0x1d0)]),[null,null,null];if(_0xac0f5a['jNunr'](isTestObservabilitySession)){const _0x343147=_0xac0f5a[_0x5203f1(0x178)][_0x5203f1(0x16b)]('|');let _0x4fb1b5=0x0;while(!![]){switch(_0x343147[_0x4fb1b5++]){case'0':if(_0x29355b['jwt']){process[_0x5203f1(0x146)]['BS_TESTOPS_JWT']=_0x29355b[_0x5203f1(0x1cf)];const _0x12224d={};_0x12224d[_0x5203f1(0x15d)]=_0x31a241['username'],_0x12224d[_0x5203f1(0x185)]=_0x31a241[_0x5203f1(0x185)],process[_0x5203f1(0x146)][_0x5203f1(0x19c)]=JSON[_0x5203f1(0x13a)](_0x12224d);}continue;case'1':_0x29355b[_0x5203f1(0x1be)]&&(process[_0x5203f1(0x146)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x29355b[_0x5203f1(0x1be)]);continue;case'2':process[_0x5203f1(0x146)][_0x5203f1(0x151)]=_0xac0f5a['YJzkU'];continue;case'3':return[_0x29355b[_0x5203f1(0x1cf)],_0x29355b[_0x5203f1(0x1be)],process[_0x5203f1(0x146)][_0x5203f1(0x18e)]];case'4':_0xac0f5a[_0x5203f1(0x13d)](nestedKeyValue,_0x29355b,[_0xac0f5a[_0x5203f1(0x199)],_0xac0f5a[_0x5203f1(0x1d8)]])&&(process['env'][_0x5203f1(0x18e)]=_0x29355b[_0x5203f1(0x1d0)]['options'][_0x5203f1(0x158)][_0x5203f1(0x13c)]());continue;case'5':logger[_0x5203f1(0x12e)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x5203f1(0x1c2)+_0x29355b[_0x5203f1(0x1be)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x3d016b=>{const _0x6a6e0a=a170_0x4d6ff4,_0x3c3e06={'YGdpi':function(_0x57ff62,_0x3c7bac,_0x483ba0){return _0x57ff62(_0x3c7bac,_0x483ba0);},'lZZCs':'accessibility','AptAK':_0x6a6e0a(0x180),'lkiJu':function(_0x201a3f,_0x190a42,_0x11bb1d,_0x21590f){return _0x201a3f(_0x190a42,_0x11bb1d,_0x21590f);},'ZNhNw':_0x6a6e0a(0x18d),'KqdwJ':'value','sxkZt':_0x6a6e0a(0x1ce),'TfjtD':_0x6a6e0a(0x184),'pcZBN':_0x6a6e0a(0x1af),'ujNrw':'goog:chromeOptions','JGhgt':function(_0x120f77,_0x57255b){return _0x120f77(_0x57255b);},'qYwPT':function(_0x56e6f4,_0xe3d4db){return _0x56e6f4===_0xe3d4db;},'yMnko':function(_0x1eb7f5,_0x5bc313){return _0x1eb7f5===_0x5bc313;},'LctsR':_0x6a6e0a(0x16d),'uwYIU':_0x6a6e0a(0x1b2)};if(!_0x3d016b[_0x6a6e0a(0x181)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x3d016b[_0x6a6e0a(0x181)][_0x6a6e0a(0x1bd)])return exports['handleErrorForAccessibility'](_0x3d016b[_0x6a6e0a(0x181)]),[null,null];if(_0x3c3e06['YGdpi'](nestedKeyValue,_0x3d016b,[_0x3c3e06[_0x6a6e0a(0x1d2)],_0x3c3e06['AptAK']])){const {accessibilityToken:_0x9a5e41,scannerVersion:_0x46e121,scannerProcessingTimeout:_0x2486b6,isMobileScanningEnabledForGroup:_0x53c535}=_0x3c3e06['lkiJu'](jsonifyAccessibilityArray,_0x3d016b['accessibility'][_0x6a6e0a(0x180)][_0x6a6e0a(0x16f)],_0x3c3e06[_0x6a6e0a(0x1b5)],_0x3c3e06[_0x6a6e0a(0x1dc)]),_0x5f4552={'scripts':_0x3c3e06[_0x6a6e0a(0x150)](jsonifyAccessibilityArray,_0x3d016b[_0x6a6e0a(0x181)]['options'][_0x6a6e0a(0x171)],_0x3c3e06[_0x6a6e0a(0x1b5)],_0x3c3e06[_0x6a6e0a(0x135)])};_0x5f4552[_0x3c3e06[_0x6a6e0a(0x196)]]=_0x3d016b[_0x6a6e0a(0x181)]['options']['commandsToWrap'][_0x6a6e0a(0x184)];const _0x4d9de6=_0x3c3e06[_0x6a6e0a(0x150)](jsonifyAccessibilityArray,_0x3d016b[_0x6a6e0a(0x181)][_0x6a6e0a(0x180)][_0x6a6e0a(0x16f)],_0x3c3e06[_0x6a6e0a(0x1b5)],_0x3c3e06['KqdwJ']);_0x5f4552[_0x3c3e06[_0x6a6e0a(0x177)]]=_0x4d9de6[_0x3c3e06[_0x6a6e0a(0x15a)]],scripts['parseFromJson'](_0x5f4552),scripts[_0x6a6e0a(0x1a6)]();let _0x190af7=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x190af7=!!_0x190af7?JSON['parse'](_0x190af7):{},_0x190af7[_0x6a6e0a(0x131)]=_0x46e121,process[_0x6a6e0a(0x146)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x6a6e0a(0x13a)](_0x190af7),process['env'][_0x6a6e0a(0x164)]=_0x9a5e41,process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x3c3e06['JGhgt'](String,_0x3c3e06[_0x6a6e0a(0x161)](_0x53c535,!![])||_0x3c3e06['yMnko'](_0x53c535,_0x3c3e06['LctsR'])),logger[_0x6a6e0a(0x12e)](_0x6a6e0a(0x14b)+_0x3d016b[_0x6a6e0a(0x1be)]);const _0x37687a=accessibilityHelper[_0x6a6e0a(0x1c0)](_0x9a5e41);return _0x37687a&&bsSetupHelper['isTrue'](_0x37687a[_0x6a6e0a(0x1ac)])&&(process['env'][_0x6a6e0a(0x1e4)]=!![],logger[_0x6a6e0a(0x12e)](_0x3c3e06[_0x6a6e0a(0x1df)])),[_0x9a5e41,_0x3d016b['build_hashed_id'],_0x2486b6];}return[null,null];},exports[a170_0x4d6ff4(0x1a2)]=_0x1671f6=>{const _0x26e1f2=a170_0x4d6ff4,_0x30d3a4={};_0x30d3a4[_0x26e1f2(0x198)]=_0x26e1f2(0x16a),_0x30d3a4['ZfDbt']='null',_0x30d3a4[_0x26e1f2(0x1e0)]='false';const _0x5f2582=_0x30d3a4,_0x12da17=_0x5f2582[_0x26e1f2(0x198)][_0x26e1f2(0x16b)]('|');let _0x34d321=0x0;while(!![]){switch(_0x12da17[_0x34d321++]){case'0':exports['logBuildError'](_0x1671f6,testHubConstants['OBSERVABILITY']);continue;case'1':process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'2':process[_0x26e1f2(0x146)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'3':process[_0x26e1f2(0x146)][_0x26e1f2(0x151)]=_0x5f2582[_0x26e1f2(0x1e0)];continue;case'4':process[_0x26e1f2(0x146)]['BROWSERSTACK_TESTHUB_JWT']=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'5':process['env'][_0x26e1f2(0x147)]=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'6':process[_0x26e1f2(0x146)][_0x26e1f2(0x13e)]=_0x5f2582[_0x26e1f2(0x1aa)];continue;}break;}},exports[a170_0x4d6ff4(0x1d4)]=_0x387ec5=>{const _0x5108ec=a170_0x4d6ff4,_0x455b0f={};_0x455b0f[_0x5108ec(0x1a0)]=_0x5108ec(0x133),_0x455b0f[_0x5108ec(0x165)]=_0x5108ec(0x1b0),_0x455b0f[_0x5108ec(0x190)]=_0x5108ec(0x1d5);const _0x19b1e4=_0x455b0f,_0x5cadd7=_0x19b1e4[_0x5108ec(0x1a0)]['split']('|');let _0x4849c6=0x0;while(!![]){switch(_0x5cadd7[_0x4849c6++]){case'0':process[_0x5108ec(0x146)][_0x5108ec(0x188)]=_0x19b1e4[_0x5108ec(0x165)];continue;case'1':process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x19b1e4[_0x5108ec(0x190)];continue;case'2':process[_0x5108ec(0x146)][_0x5108ec(0x143)]=_0x19b1e4[_0x5108ec(0x165)];continue;case'3':exports[_0x5108ec(0x1d7)](_0x387ec5,testHubConstants['ACCESSIBILITY']);continue;case'4':process['env'][_0x5108ec(0x168)]=_0x19b1e4[_0x5108ec(0x190)];continue;}break;}},exports['logBuildError']=(_0x198505,_0x2abab5='')=>{const _0x59e653=a170_0x4d6ff4,_0x509eb2={};_0x509eb2[_0x59e653(0x1c6)]=function(_0x2d591b,_0xa43af8){return _0x2d591b===_0xa43af8;};const _0x9e8ffe=_0x509eb2;if(_0x9e8ffe[_0x59e653(0x1c6)](_0x198505,undefined)){logger['error'](_0x2abab5[_0x59e653(0x1c3)]()+_0x59e653(0x13f));return;}for(const _0x312226 of _0x198505[_0x59e653(0x187)]){const _0x86b2bb=_0x312226[_0x59e653(0x1cd)],_0xf88839=_0x312226[_0x59e653(0x12c)];if(_0xf88839)switch(_0x86b2bb){case testHubConstants['ERROR'][_0x59e653(0x1da)]:logger[_0x59e653(0x137)](_0xf88839);break;case testHubConstants[_0x59e653(0x1a7)]['ACCESS_DENIED']:logger[_0x59e653(0x145)](_0xf88839);break;case testHubConstants['ERROR'][_0x59e653(0x1ad)]:logger[_0x59e653(0x137)](_0xf88839);break;default:logger[_0x59e653(0x137)](_0xf88839);}}};const jsonifyAccessibilityArray=(_0x4d665c,_0x59ed7e,_0x1cbfb3)=>{const _0x305423=a170_0x4d6ff4,_0x5eb95f={};return _0x4d665c[_0x305423(0x182)](_0x3e1cfb=>{_0x5eb95f[_0x3e1cfb[_0x59ed7e]]=_0x3e1cfb[_0x1cbfb3];}),_0x5eb95f;};exports[a170_0x4d6ff4(0x1b6)]=_0x49a052=>{const _0x2dd6ba=a170_0x4d6ff4;_0x49a052[_0x2dd6ba(0x1cf)]&&(process[_0x2dd6ba(0x146)][_0x2dd6ba(0x143)]=_0x49a052[_0x2dd6ba(0x1cf)]);_0x49a052['build_hashed_id']&&(process[_0x2dd6ba(0x146)][_0x2dd6ba(0x188)]=_0x49a052[_0x2dd6ba(0x1be)],logger['debug'](_0x2dd6ba(0x18a)+_0x49a052[_0x2dd6ba(0x1be)]));;},exports[a170_0x4d6ff4(0x16e)]=(_0x487a77='',_0x1fba9a='')=>{const _0x11b482=a170_0x4d6ff4,_0x2a51e1={'qKfqK':function(_0xc67429){return _0xc67429();},'jYaqC':function(_0x1c9900,_0x536289){return _0x1c9900===_0x536289;},'AWdAN':_0x11b482(0x144),'bUpGc':_0x11b482(0x12a),'pXvAV':'CBTSessionCreated','ovkjI':_0x11b482(0x130),'uwrSU':_0x11b482(0x127),'HVxPQ':function(_0x132149){return _0x132149();}};if(exports[_0x11b482(0x1b1)]()&&!exports[_0x11b482(0x1b8)]()&&!_0x2a51e1[_0x11b482(0x1d1)](isTestObservabilitySession)){if(_0x2a51e1[_0x11b482(0x19d)](_0x1fba9a,_0x2a51e1[_0x11b482(0x1a1)]))return![];if([_0x2a51e1[_0x11b482(0x18b)],_0x2a51e1['pXvAV']][_0x11b482(0x19f)](_0x487a77))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x2a51e1[_0x11b482(0x1d1)](isTestObservabilitySession)){if([_0x2a51e1[_0x11b482(0x157)],_0x2a51e1[_0x11b482(0x18f)],_0x2a51e1[_0x11b482(0x18b)]][_0x11b482(0x19f)](_0x487a77))return![];return!![];}return exports[_0x11b482(0x1b8)]()||_0x2a51e1[_0x11b482(0x1de)](isTestObservabilitySession)||exports[_0x11b482(0x1b1)]();},exports[a170_0x4d6ff4(0x170)]=(_0x366070,_0x20dfce,_0x544b15='',_0x4a4307)=>{const _0x33bcb7=a170_0x4d6ff4,_0x55f5f9={'hqGtG':_0x33bcb7(0x130),'xILjX':'HookRunFinished','wtvic':function(_0x2f83b0,_0x5333ef){return _0x2f83b0===_0x5333ef;},'Jpnel':_0x33bcb7(0x15e),'Lohbw':_0x33bcb7(0x17b),'UBmXD':_0x33bcb7(0x181),'QAIbr':function(_0x4ce0d3,_0x43ffd9){return _0x4ce0d3&&_0x43ffd9;},'bYBkL':function(_0x1eb077,_0x5e47c3){return _0x1eb077+_0x5e47c3;},'GgefA':function(_0x729d30,_0x193de6){return _0x729d30(_0x193de6);},'sbqML':_0x33bcb7(0x1e1),'FZABu':function(_0x10905d,_0x1f1dea){return _0x10905d+_0x1f1dea;},'pQedC':function(_0x117f74,_0x1e942f){return _0x117f74===_0x1e942f;},'AzNim':_0x33bcb7(0x1bf),'LBsXj':_0x33bcb7(0x14f)};if(![_0x55f5f9[_0x33bcb7(0x19a)],_0x55f5f9['xILjX']][_0x33bcb7(0x19f)](_0x20dfce)&&exports['isAccessibilityEnabled']()){const _0x52ef2e={};if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x162)])){const _0x2585d2=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x1b7)])||accessibilityHelper[_0x33bcb7(0x1b4)](_0x544b15[_0x33bcb7(0x1dd)](),!![]),_0x405173=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x154)]);_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x405173,_0x2585d2);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x172)])){const _0x287641=_0x55f5f9[_0x33bcb7(0x1d9)](_0x55f5f9[_0x33bcb7(0x1d9)](_0x366070['scopes'][_0x33bcb7(0x156)]('\x20'),'\x20'),_0x544b15[_0x33bcb7(0x18d)]),_0x2591c2=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x1b7)])||accessibilityHelper[_0x33bcb7(0x1b4)](_0x287641,![]),_0x4103dc=browserStackGlobals['isAccessibilityPlatform'];_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x4103dc,_0x2591c2);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x15b)])){const _0x239cee=_0x55f5f9[_0x33bcb7(0x17e)](require,_0x55f5f9[_0x33bcb7(0x1e5)]),_0x39f3c1=_0x544b15&&_0x239cee['get'](_0x544b15['id'])||_0x366070[_0x33bcb7(0x1a4)];_0x39f3c1&&(_0x366070[_0x33bcb7(0x1a4)]=_0x39f3c1);const _0x1b2142=_0x55f5f9[_0x33bcb7(0x14a)](_0x55f5f9[_0x33bcb7(0x14a)](_0x366070[_0x33bcb7(0x1ae)][_0x33bcb7(0x156)]('\x20'),'\x20'),_0x544b15['description']||_0x366070[_0x33bcb7(0x18d)]),_0x369873=globals[_0x33bcb7(0x1a9)](_0x55f5f9['Jpnel'])||accessibilityHelper[_0x33bcb7(0x1b4)](_0x1b2142,![]),_0x4aeaaa=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x154)]);_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9['QAIbr'](_0x4aeaaa,_0x369873);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x134)])){if(_0x55f5f9['pQedC'](_0x20dfce,_0x55f5f9[_0x33bcb7(0x17c)]))return;_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=PWTestDetails[_0x33bcb7(0x129)](_0x366070[_0x33bcb7(0x1a4)]);}if(_0x55f5f9[_0x33bcb7(0x1a8)](_0x4a4307,FRAMEWORKS['CODECEPT'])){const _0x38eb03=accessibilityHelper[_0x33bcb7(0x1b4)](_0x544b15[_0x33bcb7(0x1dd)](),!![]),_0x56df54=global[_0x33bcb7(0x1db)];_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x56df54,_0x38eb03);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x179)])){const _0x2e9daa=accessibilityHelper[_0x33bcb7(0x1b4)](null,![],_0x366070[_0x33bcb7(0x1c4)]),_0x1c1d38=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x154)]);_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x1c1d38,_0x2e9daa);}_0x366070[_0x55f5f9[_0x33bcb7(0x139)]]=_0x52ef2e;}},exports[a170_0x4d6ff4(0x189)]=_0x2a4ec8=>{const _0x4155eb=a170_0x4d6ff4,_0x4db2fd={};_0x4db2fd[_0x4155eb(0x140)]=function(_0x1d754a,_0x319ebd){return _0x1d754a>_0x319ebd;};const _0x29cb1d=_0x4db2fd;let _0x4a3283={};if(_0x29cb1d[_0x4155eb(0x140)](Object['keys'](testData)[_0x4155eb(0x191)],0x0))return testData;_0x4a3283=JestTestDetails['getTestData']();if(_0x29cb1d['CoERR'](Object['keys'](_0x4a3283)[_0x4155eb(0x191)],0x0))return _0x4a3283;return _0x4a3283;},exports['setCurrentTestData']=(_0x3415fa,_0x2a6c82={})=>{const _0x514b0e=a170_0x4d6ff4;if(bsSetupHelper['isUndefined'](_0x2a6c82[_0x514b0e(0x136)]))return;switch(_0x3415fa){case FRAMEWORKS[_0x514b0e(0x162)]:testData=_0x2a6c82[_0x514b0e(0x136)];break;case FRAMEWORKS[_0x514b0e(0x172)]:JestTestDetails['setTestData'](_0x2a6c82[_0x514b0e(0x136)]);break;case FRAMEWORKS[_0x514b0e(0x15b)]:testData=_0x2a6c82['test_run'];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x2f1ad1=>{const _0x5e26ac=a170_0x4d6ff4,_0x4cea57={};_0x4cea57['lRTsr']=function(_0x231625,_0x487e8c){return _0x231625!==_0x487e8c;},_0x4cea57[_0x5e26ac(0x18c)]=function(_0x3a3d3f,_0x21419f){return _0x3a3d3f!==_0x21419f;},_0x4cea57['uaOjp']=function(_0x236969,_0x102f98){return _0x236969!==_0x102f98;},_0x4cea57[_0x5e26ac(0x14c)]=function(_0x28c567,_0x39e398){return _0x28c567!==_0x39e398;};const _0xcff549=_0x4cea57;if(_0xcff549[_0x5e26ac(0x126)](_0x2f1ad1[_0x5e26ac(0x181)],null)&&_0xcff549['pWnss'](_0x2f1ad1[_0x5e26ac(0x181)],undefined))return _0x2f1ad1['accessibility'];let _0x2d059e=![],_0x5906f4=![];if(_0x2f1ad1[_0x5e26ac(0x1c1)])for(const _0x4390af of _0x2f1ad1['platforms']){_0xcff549[_0x5e26ac(0x197)](_0x4390af[_0x5e26ac(0x181)],null)&&_0xcff549['fDwWb'](_0x4390af['accessibility'],undefined)&&(_0x2d059e=_0x2d059e||bsSetupHelper['isTrue'](_0x4390af[_0x5e26ac(0x181)]),_0x5906f4=!![]);}if(_0x5906f4)return _0x2d059e;return null;},exports['getTestOrchestrationBuildStartData']=_0x88436d=>{const _0x1d085a=a170_0x4d6ff4;if(!_0x88436d)return{};const _0x552665=new OrchestrationUtils(_0x88436d);return _0x552665[_0x1d085a(0x173)]();},exports[a170_0x4d6ff4(0x152)]=_0x4b5a17=>{const _0x574119=a170_0x4d6ff4,_0x2b2b80={'WEwNJ':function(_0x37462c){return _0x37462c();}};let _0x5cd412=![],_0x40296d=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x4b5a17[_0x574119(0x15f)])_0x40296d=!![];else bsSetupHelper[_0x574119(0x17d)]()&&(_0x5cd412=!![]);return Object[_0x574119(0x1ba)]({'observability':_0x2b2b80['WEwNJ'](isTestObservabilitySession),'accessibility':exports[_0x574119(0x12f)](_0x4b5a17),'percy':_0x4b5a17[_0x574119(0x1c5)]||![],'automate':_0x5cd412,'app_automate':_0x40296d,'turboscale':bsSetupHelper[_0x574119(0x186)](_0x4b5a17),'lts':LoadTestModule[_0x574119(0x15c)](_0x4b5a17)},bsSetupHelper['getCentralUser']());};
|
|
1
|
+
const a170_0x1490e1=a170_0x4407;(function(_0x403d9d,_0x74a932){const _0x2d33e8=a170_0x4407,_0x45ff84=_0x403d9d();while(!![]){try{const _0x33674b=parseInt(_0x2d33e8(0x1fd))/0x1*(parseInt(_0x2d33e8(0x222))/0x2)+parseInt(_0x2d33e8(0x1f4))/0x3+parseInt(_0x2d33e8(0x1b5))/0x4+parseInt(_0x2d33e8(0x20e))/0x5*(-parseInt(_0x2d33e8(0x262))/0x6)+-parseInt(_0x2d33e8(0x1b7))/0x7*(parseInt(_0x2d33e8(0x23e))/0x8)+-parseInt(_0x2d33e8(0x1de))/0x9*(-parseInt(_0x2d33e8(0x1f0))/0xa)+-parseInt(_0x2d33e8(0x24c))/0xb*(parseInt(_0x2d33e8(0x1f5))/0xc);if(_0x33674b===_0x74a932)break;else _0x45ff84['push'](_0x45ff84['shift']());}catch(_0x9b1f4a){_0x45ff84['push'](_0x45ff84['shift']());}}}(a170_0xe630,0x9bacc));const bsSetupHelper=require(a170_0x1490e1(0x236)),LoadTestModule=require(a170_0x1490e1(0x1f2)),{isTestObservabilitySession,getFrameworkVersion}=require(a170_0x1490e1(0x1e2)),accessibilityHelper=require(a170_0x1490e1(0x1f8)),logger=require(a170_0x1490e1(0x251))[a170_0x1490e1(0x1af)],{nestedKeyValue}=require(a170_0x1490e1(0x26d)),scripts=require(a170_0x1490e1(0x21b)),globals=require(a170_0x1490e1(0x24b)),testHubConstants=require(a170_0x1490e1(0x23d)),PWTestDetails=require(a170_0x1490e1(0x26b)),JestTestDetails=require(a170_0x1490e1(0x20f)),{FRAMEWORKS}=require(a170_0x1490e1(0x1e3)),{isTurboScaleSession}=require(a170_0x1490e1(0x1da)),OrchestrationUtils=require(a170_0x1490e1(0x21c)),constants=require('../../bin/utils/constants.js');function a170_0xe630(){const _0x31b18b=['rrBKD','BROWSERSTACK_TESTHUB_UUID','kbifJ','toUpperCase','getProductMapForBuildStartCall','uuid','cgOCE','getCurrentTestData','rFllv','assign','getTestData','isTurboScaleSession','IgFih','getAccessibilityValueFromYml','eiqSK','stringify','join','Sdnrt','BSmtG','accessibility','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','DEPRECATED','setTestObservabilityVariables','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','KsvbU','scripts','allow_screenshots','BGzRL','commands','../ats/helper','juLKh','hTzsk','getCentralUser','17163fkgNnz','1|5|2|3|0|4|6','MIrnq','ACCESS_DENIED','../test-observability/utils','../test-observability/constants.js','toString','TestRunStarted','JLVGc','isUndefined','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','igNEb','isTrue','BS_TESTOPS_ALLOW_SCREENSHOTS','error','BaOOu','vAitH','handleErrorForObservability','3640QkiNrZ','CUCUMBER','../../bin/v2/modules/loadTestModule','shouldScanTestForAccessibility','3823701Wvyozk','10844952EzKJRI','app','username','../accessibility-automation/helper','Nitbq','logBuildError','tXiQo','errors','309727knTAGf','OFDbc','CBLPB','parse','gapYW','../../bin/jasmine/testRunMap.js','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','commandsToWrap','accessibilityPlatform','message','password','BROWSERSTACK_TEST_ACCESSIBILITY_YML','XdaCe','handleErrorForAccessibility','bstackA11yShouldScan','true','value','5481860NcFhGU','../../bin/jest/test-observability/test-details.js','capabilities','observability','dynmO','vqjvz','BS_TESTOPS_BUILD_HASHED_ID','TEST_REPORTING_ANALYTICS','config','uJvrM','SEbeB','qfPdy','YcWXT','../accessibility-automation/scripts.js','../test-orchestration/orchestrationUtils.js','debug','isBrowserstackInfra','iFHMk','parseA11yJwtPayload','CtQrb','8jFyJDp','NtSSB','NxNcs','getProductMap','nUiwT','setCurrentTestData','ERROR','TMRDO','mHVWN','scopes','bhKbI','BROWSERSTACK_TESTHUB_UUID:\x20','jwt','PLAYWRIGHT','fyZXk','vlKbi','split','appendTesthubParams','percy','scannerVersion','../helper','parseFromJson','test_run','isAccessibilityEnabled','shouldProcessEventForTesthub','description','platforms','./constants.js','200alKOEB','success','isPercyBuild','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','iLKVq','JASMINE','JLHXG','fJrQJ','false','setTestHubCommonMetaInfo','ACCESSIBILITY','getGlobal','name','../globals.js','11CsZvHj','forEach','IswnW','tags','javascript','../logger','key','xawep','atoiQ','BS_TESTOPS_BUILD_COMPLETED','KViim','command','JEST','eSiWS','getTestFrameworkDetails','info','goog:chromeOptions','checkAccessibilityPlatformConfig','eBqIE','getTestOrchestrationBuildStartData','xaxgg','getBuildStartData','6PYaSTP','LogCreated','XunmC','TEvdJ','isRunning','ohmAl','titlePath','isLTSSession','CREDENTIALS_FOR_CRASH_REPORTING','../../bin/playwright/reporter/test-details.js','RUOar','../helper.js','Zvyab','BS_TESTOPS_JWT','BROWSERSTACK_PERCY','tYfhu','build_hashed_id','length','MOCHA','isAccessibilityPlatform','null','HookRunFinished','WElgy','XHbPo','BROWSERSTACK_TESTHUB_JWT','HfGat','JiPOg','winstonLogger','uploadEventData','getAccessibilityPlatformValidation','SJMtv','env','includes','2511456sFdYWU','vUdpV','335363olgkYJ','skipCDPConnectOverride','keys','BROWSERSTACK_ACCESSIBILITY','get','options'];a170_0xe630=function(){return _0x31b18b;};return a170_0xe630();}let testData={};function a170_0x4407(_0x821a26,_0x2ab8e5){const _0xe6302c=a170_0xe630();return a170_0x4407=function(_0x440721,_0x5a6e77){_0x440721=_0x440721-0x1a6;let _0x18472d=_0xe6302c[_0x440721];return _0x18472d;},a170_0x4407(_0x821a26,_0x2ab8e5);}exports[a170_0x1490e1(0x225)]=_0x2562a6=>{const _0xe23e15=a170_0x1490e1,_0x5676cc={'tYfhu':function(_0x2d7fd8){return _0x2d7fd8();}};let _0x17b61c=![],_0x526cb5=![];if(bsSetupHelper[_0xe23e15(0x21e)]()&&_0x2562a6[_0xe23e15(0x1f6)])_0x526cb5=!![];else bsSetupHelper[_0xe23e15(0x21e)]()&&(_0x17b61c=!![]);return Object[_0xe23e15(0x1c6)]({'observability':_0x5676cc[_0xe23e15(0x271)](isTestObservabilitySession),'accessibility':exports[_0xe23e15(0x239)](_0x2562a6),'percy':_0x2562a6[_0xe23e15(0x234)]||![],'automate':_0x17b61c,'app_automate':_0x526cb5,'turboscale':bsSetupHelper[_0xe23e15(0x1c8)](_0x2562a6),'lts':LoadTestModule[_0xe23e15(0x269)](_0x2562a6)},bsSetupHelper[_0xe23e15(0x1dd)]());},exports['getFrameworkDetails']=(_0x2eed56,_0x211e2f)=>{const _0x58bcb2=a170_0x1490e1,_0x4c2f09={'cgOCE':function(_0x4e7aeb,_0x4e35b6){return _0x4e7aeb(_0x4e35b6);},'NtSSB':_0x58bcb2(0x250)},_0x461faa={'frameworkName':_0x211e2f,'frameworkVersion':_0x4c2f09[_0x58bcb2(0x1c3)](getFrameworkVersion,_0x211e2f),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x4c2f09[_0x58bcb2(0x223)],'testFramework':bsSetupHelper[_0x58bcb2(0x25a)](_0x2eed56,_0x211e2f)};return process[_0x58bcb2(0x1b3)]['FRAMEWORK_DETAILS']=JSON[_0x58bcb2(0x1cc)](_0x461faa),_0x461faa;},exports['setPercyFlag']=_0x2affcf=>{const _0x32df56=a170_0x1490e1,_0x4e8eb1={};_0x4e8eb1['IgFih']=_0x32df56(0x246),_0x4e8eb1['BSmtG']=_0x32df56(0x20c);const _0x47634a=_0x4e8eb1;process[_0x32df56(0x1b3)][_0x32df56(0x270)]=_0x47634a[_0x32df56(0x1c9)],bsSetupHelper[_0x32df56(0x1ea)](_0x2affcf[_0x32df56(0x216)][_0x32df56(0x234)])&&(!_0x2affcf[_0x32df56(0x234)]||!_0x2affcf[_0x32df56(0x234)][_0x32df56(0x266)]())&&(process[_0x32df56(0x1b3)][_0x32df56(0x270)]=_0x47634a[_0x32df56(0x1cf)]);},exports[a170_0x1490e1(0x240)]=()=>{const _0x4cdf76=a170_0x1490e1;return bsSetupHelper['isTrue'](process['env'][_0x4cdf76(0x270)]);},exports[a170_0x1490e1(0x239)]=(_0x45b4b9={})=>{const _0x1d112d=a170_0x1490e1,_0x35b237={};_0x35b237[_0x1d112d(0x201)]=function(_0xfc1502,_0x1de866){return _0xfc1502!==_0x1de866;},_0x35b237[_0x1d112d(0x212)]=function(_0x59dbcd,_0x4b0a95){return _0x59dbcd===_0x4b0a95;},_0x35b237[_0x1d112d(0x1bd)]=_0x1d112d(0x20c),_0x35b237['RUOar']=function(_0x110374,_0x553761){return _0x110374>_0x553761;},_0x35b237[_0x1d112d(0x267)]=function(_0x2a0010,_0x210736){return _0x2a0010===_0x210736;};const _0x4ea0af=_0x35b237;if(_0x4ea0af[_0x1d112d(0x201)](process['env'][_0x1d112d(0x1ba)],undefined))return bsSetupHelper['isTrue'](process[_0x1d112d(0x1b3)][_0x1d112d(0x1ba)]);let _0x3c4478=_0x4ea0af['dynmO'](process[_0x1d112d(0x1b3)][_0x1d112d(0x208)],_0x4ea0af[_0x1d112d(0x1bd)]);return _0x4ea0af[_0x1d112d(0x26c)](Object[_0x1d112d(0x1b9)](_0x45b4b9)[_0x1d112d(0x273)],0x0)&&(process[_0x1d112d(0x1b3)][_0x1d112d(0x1d4)]=accessibilityHelper[_0x1d112d(0x25d)](_0x45b4b9)),_0x3c4478=_0x3c4478||_0x4ea0af[_0x1d112d(0x267)](process[_0x1d112d(0x1b3)][_0x1d112d(0x1d4)],_0x4ea0af[_0x1d112d(0x1bd)]),_0x3c4478;},exports[a170_0x1490e1(0x1d3)]=(_0xf5838,_0x2c91c4)=>{const _0x5cd6b6=a170_0x1490e1,_0x149062={'vAitH':function(_0x9c16a8){return _0x9c16a8();},'tXiQo':'4|5|0|1|3|2','JRnQK':function(_0x4095fe,_0x1317da,_0x3fa68a){return _0x4095fe(_0x1317da,_0x3fa68a);},'kbifJ':'observability','FLPit':_0x5cd6b6(0x1bc),'iLKVq':_0x5cd6b6(0x20c)};if(!_0xf5838||!_0xf5838[_0x5cd6b6(0x211)])return exports[_0x5cd6b6(0x1ef)](),[null,null,null];if(!_0xf5838['observability'][_0x5cd6b6(0x23f)])return exports[_0x5cd6b6(0x1ef)](_0xf5838[_0x5cd6b6(0x211)]),[null,null,null];if(_0x149062[_0x5cd6b6(0x1ee)](isTestObservabilitySession)){const _0x1c3bf3=_0x149062[_0x5cd6b6(0x1fb)][_0x5cd6b6(0x232)]('|');let _0x25a9dd=0x0;while(!![]){switch(_0x1c3bf3[_0x25a9dd++]){case'0':_0xf5838[_0x5cd6b6(0x272)]&&(process[_0x5cd6b6(0x1b3)]['BS_TESTOPS_BUILD_HASHED_ID']=_0xf5838[_0x5cd6b6(0x272)]);continue;case'1':_0x149062['JRnQK'](nestedKeyValue,_0xf5838,[_0x149062[_0x5cd6b6(0x1bf)],_0x149062['FLPit']])&&(process['env'][_0x5cd6b6(0x1eb)]=_0xf5838['observability']['options'][_0x5cd6b6(0x1d7)][_0x5cd6b6(0x1e4)]());continue;case'2':return[_0xf5838['jwt'],_0xf5838['build_hashed_id'],process[_0x5cd6b6(0x1b3)][_0x5cd6b6(0x1eb)]];case'3':logger['debug']('['+constants[_0x5cd6b6(0x215)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0xf5838[_0x5cd6b6(0x272)]);continue;case'4':process[_0x5cd6b6(0x1b3)][_0x5cd6b6(0x255)]=_0x149062[_0x5cd6b6(0x242)];continue;case'5':if(_0xf5838[_0x5cd6b6(0x22e)]){process['env'][_0x5cd6b6(0x26f)]=_0xf5838[_0x5cd6b6(0x22e)];const _0x414f54={};_0x414f54[_0x5cd6b6(0x1f7)]=_0x2c91c4[_0x5cd6b6(0x1f7)],_0x414f54[_0x5cd6b6(0x207)]=_0x2c91c4[_0x5cd6b6(0x207)],process[_0x5cd6b6(0x1b3)][_0x5cd6b6(0x26a)]=JSON['stringify'](_0x414f54);}continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x40fe3c=>{const _0x555bb8=a170_0x1490e1,_0x39b508={'fyZXk':function(_0x945f2c,_0x26a8e4,_0x34c064){return _0x945f2c(_0x26a8e4,_0x34c064);},'nUiwT':_0x555bb8(0x1d0),'TMRDO':_0x555bb8(0x1bc),'iFHMk':function(_0x4cbd66,_0x1375aa,_0x276704,_0x5646d1){return _0x4cbd66(_0x1375aa,_0x276704,_0x5646d1);},'atoiQ':_0x555bb8(0x24a),'vUdpV':_0x555bb8(0x20d),'NxNcs':_0x555bb8(0x257),'hTzsk':_0x555bb8(0x1d9),'CtQrb':'nonBStackInfraA11yChromeOptions','XdaCe':_0x555bb8(0x25c),'MIrnq':function(_0xe3c4a8,_0x2e82d9){return _0xe3c4a8(_0x2e82d9);},'xaxgg':function(_0x958578,_0x33583e){return _0x958578===_0x33583e;},'DJTba':function(_0x336c2d,_0x4e3334){return _0x336c2d===_0x4e3334;},'Sdnrt':'true','rFllv':_0x555bb8(0x1d1)};if(!_0x40fe3c[_0x555bb8(0x1d0)])return exports[_0x555bb8(0x20a)](),[null,null];if(!_0x40fe3c[_0x555bb8(0x1d0)][_0x555bb8(0x23f)])return exports[_0x555bb8(0x20a)](_0x40fe3c[_0x555bb8(0x1d0)]),[null,null];if(_0x39b508[_0x555bb8(0x230)](nestedKeyValue,_0x40fe3c,[_0x39b508[_0x555bb8(0x226)],_0x39b508[_0x555bb8(0x229)]])){const {accessibilityToken:_0x297e69,scannerVersion:_0x6b6036,scannerProcessingTimeout:_0x5f54f5,isMobileScanningEnabledForGroup:_0x1fc72c}=_0x39b508[_0x555bb8(0x21f)](jsonifyAccessibilityArray,_0x40fe3c['accessibility'][_0x555bb8(0x1bc)][_0x555bb8(0x210)],_0x39b508[_0x555bb8(0x254)],_0x39b508[_0x555bb8(0x1b6)]),_0x1f2b81={'scripts':_0x39b508[_0x555bb8(0x21f)](jsonifyAccessibilityArray,_0x40fe3c[_0x555bb8(0x1d0)]['options'][_0x555bb8(0x1d6)],_0x39b508[_0x555bb8(0x254)],_0x39b508[_0x555bb8(0x224)])};_0x1f2b81[_0x39b508[_0x555bb8(0x1dc)]]=_0x40fe3c[_0x555bb8(0x1d0)][_0x555bb8(0x1bc)][_0x555bb8(0x204)][_0x555bb8(0x1d9)];const _0x2e4b9c=_0x39b508[_0x555bb8(0x21f)](jsonifyAccessibilityArray,_0x40fe3c[_0x555bb8(0x1d0)][_0x555bb8(0x1bc)]['capabilities'],_0x39b508['atoiQ'],_0x39b508[_0x555bb8(0x1b6)]);_0x1f2b81[_0x39b508[_0x555bb8(0x221)]]=_0x2e4b9c[_0x39b508[_0x555bb8(0x209)]],scripts[_0x555bb8(0x237)](_0x1f2b81),scripts['toJson']();let _0x579380=process[_0x555bb8(0x1b3)][_0x555bb8(0x241)];_0x579380=!!_0x579380?JSON[_0x555bb8(0x200)](_0x579380):{},_0x579380[_0x555bb8(0x235)]=_0x6b6036,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x555bb8(0x1cc)](_0x579380),process[_0x555bb8(0x1b3)]['BS_A11Y_JWT']=_0x297e69,process['env'][_0x555bb8(0x203)]=_0x39b508[_0x555bb8(0x1e0)](String,_0x39b508[_0x555bb8(0x260)](_0x1fc72c,!![])||_0x39b508['DJTba'](_0x1fc72c,_0x39b508[_0x555bb8(0x1ce)])),logger[_0x555bb8(0x21d)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x40fe3c[_0x555bb8(0x272)]);const _0x3cc8f5=accessibilityHelper[_0x555bb8(0x220)](_0x297e69);return _0x3cc8f5&&bsSetupHelper['isTrue'](_0x3cc8f5[_0x555bb8(0x1b8)])&&(process[_0x555bb8(0x1b3)][_0x555bb8(0x1e8)]=!![],logger[_0x555bb8(0x21d)](_0x39b508[_0x555bb8(0x1c5)])),[_0x297e69,_0x40fe3c[_0x555bb8(0x272)],_0x5f54f5];}return[null,null];},exports['handleErrorForObservability']=_0x158383=>{const _0x3f3e61=a170_0x1490e1,_0x12dfe6={};_0x12dfe6[_0x3f3e61(0x1e9)]=_0x3f3e61(0x1df),_0x12dfe6[_0x3f3e61(0x25e)]=_0x3f3e61(0x1a8),_0x12dfe6['YcWXT']=_0x3f3e61(0x246);const _0x28b1c1=_0x12dfe6,_0x5266fc=_0x28b1c1['igNEb'][_0x3f3e61(0x232)]('|');let _0x2a65fe=0x0;while(!![]){switch(_0x5266fc[_0x2a65fe++]){case'0':process[_0x3f3e61(0x1b3)][_0x3f3e61(0x214)]=_0x28b1c1['eBqIE'];continue;case'1':process['env'][_0x3f3e61(0x1be)]=_0x28b1c1[_0x3f3e61(0x25e)];continue;case'2':process[_0x3f3e61(0x1b3)]['BS_TESTOPS_BUILD_COMPLETED']=_0x28b1c1[_0x3f3e61(0x21a)];continue;case'3':process[_0x3f3e61(0x1b3)][_0x3f3e61(0x26f)]=_0x28b1c1[_0x3f3e61(0x25e)];continue;case'4':process['env'][_0x3f3e61(0x1eb)]=_0x28b1c1[_0x3f3e61(0x25e)];continue;case'5':process['env'][_0x3f3e61(0x1ac)]=_0x28b1c1[_0x3f3e61(0x25e)];continue;case'6':exports['logBuildError'](_0x158383,testHubConstants['OBSERVABILITY']);continue;}break;}},exports[a170_0x1490e1(0x20a)]=_0x3ec5c7=>{const _0x4cdc2a=a170_0x1490e1,_0x22709e={};_0x22709e[_0x4cdc2a(0x22a)]='1|0|4|2|3',_0x22709e[_0x4cdc2a(0x1ae)]=_0x4cdc2a(0x1a8),_0x22709e['IswnW']=_0x4cdc2a(0x246);const _0x28d5cc=_0x22709e,_0x316c48=_0x28d5cc[_0x4cdc2a(0x22a)]['split']('|');let _0x18e625=0x0;while(!![]){switch(_0x316c48[_0x18e625++]){case'0':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x28d5cc[_0x4cdc2a(0x1ae)];continue;case'1':process[_0x4cdc2a(0x1b3)]['BROWSERSTACK_TESTHUB_UUID']=_0x28d5cc[_0x4cdc2a(0x1ae)];continue;case'2':process[_0x4cdc2a(0x1b3)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x28d5cc[_0x4cdc2a(0x24e)];continue;case'3':exports['logBuildError'](_0x3ec5c7,testHubConstants[_0x4cdc2a(0x248)]);continue;case'4':process[_0x4cdc2a(0x1b3)][_0x4cdc2a(0x208)]=_0x28d5cc[_0x4cdc2a(0x24e)];continue;}break;}},exports[a170_0x1490e1(0x1fa)]=(_0x2bacbd,_0x19c497='')=>{const _0x3385c9=a170_0x1490e1,_0x542a27={};_0x542a27[_0x3385c9(0x218)]=function(_0x52d60b,_0x1ee4b3){return _0x52d60b===_0x1ee4b3;};const _0x17ea7f=_0x542a27;if(_0x17ea7f[_0x3385c9(0x218)](_0x2bacbd,undefined)){logger['error'](_0x19c497[_0x3385c9(0x1c0)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x55b67b of _0x2bacbd[_0x3385c9(0x1fc)]){const _0x263867=_0x55b67b[_0x3385c9(0x252)],_0x3562b0=_0x55b67b[_0x3385c9(0x206)];if(_0x3562b0)switch(_0x263867){case testHubConstants[_0x3385c9(0x228)]['INVALID_CREDENTIALS']:logger[_0x3385c9(0x1ec)](_0x3562b0);break;case testHubConstants[_0x3385c9(0x228)][_0x3385c9(0x1e1)]:logger[_0x3385c9(0x25b)](_0x3562b0);break;case testHubConstants['ERROR'][_0x3385c9(0x1d2)]:logger[_0x3385c9(0x1ec)](_0x3562b0);break;default:logger[_0x3385c9(0x1ec)](_0x3562b0);}}};const jsonifyAccessibilityArray=(_0x3414dc,_0x5ca881,_0x5f3319)=>{const _0x4796be=a170_0x1490e1,_0x387dc4={};return _0x3414dc[_0x4796be(0x24d)](_0x347c6f=>{_0x387dc4[_0x347c6f[_0x5ca881]]=_0x347c6f[_0x5f3319];}),_0x387dc4;};exports[a170_0x1490e1(0x247)]=_0x309c88=>{const _0x359273=a170_0x1490e1;_0x309c88[_0x359273(0x22e)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x309c88['jwt']);_0x309c88[_0x359273(0x272)]&&(process['env'][_0x359273(0x1be)]=_0x309c88['build_hashed_id'],logger[_0x359273(0x21d)](_0x359273(0x22d)+_0x309c88[_0x359273(0x272)]));;},exports[a170_0x1490e1(0x23a)]=(_0x28d0be='',_0x10bb46='')=>{const _0x17d441=a170_0x1490e1,_0x15e8fb={'KViim':function(_0x319a28){return _0x319a28();},'fpJxb':function(_0x3fe259,_0x17eae4){return _0x3fe259===_0x17eae4;},'NOoAK':_0x17d441(0x1b0),'HfGat':_0x17d441(0x263),'Zvyab':'CBTSessionCreated','JjAps':'HookRunStarted','XOPPi':_0x17d441(0x1a9),'OFDbc':function(_0x4fe603){return _0x4fe603();}};if(exports[_0x17d441(0x240)]()&&!exports[_0x17d441(0x239)]()&&!_0x15e8fb[_0x17d441(0x256)](isTestObservabilitySession)){if(_0x15e8fb['fpJxb'](_0x10bb46,_0x15e8fb['NOoAK']))return![];if([_0x15e8fb[_0x17d441(0x1ad)],_0x15e8fb[_0x17d441(0x26e)]][_0x17d441(0x1b4)](_0x28d0be))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x15e8fb[_0x17d441(0x256)](isTestObservabilitySession)){if([_0x15e8fb['JjAps'],_0x15e8fb['XOPPi'],_0x15e8fb['HfGat']][_0x17d441(0x1b4)](_0x28d0be))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x15e8fb[_0x17d441(0x1fe)](isTestObservabilitySession)||exports[_0x17d441(0x240)]();},exports[a170_0x1490e1(0x233)]=(_0x22192c,_0x13682e,_0x5ee4a1='',_0x1f5fae)=>{const _0x15d87d=a170_0x1490e1,_0x6aad0d={'sAqPy':'HookRunStarted','CBLPB':_0x15d87d(0x1a9),'KsvbU':function(_0x5f43ac,_0x46f0ce){return _0x5f43ac===_0x46f0ce;},'JLHXG':_0x15d87d(0x20b),'WElgy':_0x15d87d(0x1a7),'eSiWS':_0x15d87d(0x1d0),'SJMtv':function(_0x39c107,_0x50f261){return _0x39c107&&_0x50f261;},'juLKh':function(_0x2de5c5,_0x377f1d){return _0x2de5c5===_0x377f1d;},'vlKbi':function(_0x17b218,_0x20f817){return _0x17b218+_0x20f817;},'uJvrM':function(_0xad9906,_0xbf954f){return _0xad9906+_0xbf954f;},'fJrQJ':function(_0x177d45,_0x8096c3){return _0x177d45(_0x8096c3);},'XHbPo':_0x15d87d(0x202),'xwpNF':function(_0x3d5e93,_0xb3f198){return _0x3d5e93+_0xb3f198;},'BGzRL':function(_0x10f009,_0x231ff7){return _0x10f009&&_0x231ff7;},'vqjvz':function(_0x3801ef,_0x154940){return _0x3801ef===_0x154940;},'BaOOu':_0x15d87d(0x1e5),'Nitbq':function(_0x575b4b,_0x3fced5){return _0x575b4b&&_0x3fced5;},'qfPdy':function(_0x2b5d4e,_0x46549d){return _0x2b5d4e===_0x46549d;},'XunmC':'product_map'};if(![_0x6aad0d['sAqPy'],_0x6aad0d[_0x15d87d(0x1ff)]][_0x15d87d(0x1b4)](_0x13682e)&&exports[_0x15d87d(0x239)]()){const _0x4c7f82={};if(_0x6aad0d[_0x15d87d(0x1d5)](_0x1f5fae,FRAMEWORKS[_0x15d87d(0x1a6)])){const _0x525bb0=globals[_0x15d87d(0x249)](_0x6aad0d[_0x15d87d(0x244)])||accessibilityHelper[_0x15d87d(0x1f3)](_0x5ee4a1['titlePath'](),!![]),_0x2de80d=globals[_0x15d87d(0x249)](_0x6aad0d[_0x15d87d(0x1aa)]);_0x4c7f82[_0x6aad0d[_0x15d87d(0x259)]]=_0x6aad0d[_0x15d87d(0x1b2)](_0x2de80d,_0x525bb0);}if(_0x6aad0d[_0x15d87d(0x1db)](_0x1f5fae,FRAMEWORKS[_0x15d87d(0x258)])){const _0x3e8b8b=_0x6aad0d[_0x15d87d(0x231)](_0x6aad0d[_0x15d87d(0x217)](_0x22192c[_0x15d87d(0x22b)][_0x15d87d(0x1cd)]('\x20'),'\x20'),_0x5ee4a1[_0x15d87d(0x24a)]),_0x7150be=globals[_0x15d87d(0x249)](_0x6aad0d[_0x15d87d(0x244)])||accessibilityHelper[_0x15d87d(0x1f3)](_0x3e8b8b,![]),_0x1f8c57=browserStackGlobals[_0x15d87d(0x1a7)];_0x4c7f82[_0x6aad0d[_0x15d87d(0x259)]]=_0x6aad0d[_0x15d87d(0x1b2)](_0x1f8c57,_0x7150be);}if(_0x6aad0d['juLKh'](_0x1f5fae,FRAMEWORKS[_0x15d87d(0x243)])){const _0x199c42=_0x6aad0d[_0x15d87d(0x245)](require,_0x6aad0d[_0x15d87d(0x1ab)]),_0x35ffb2=_0x5ee4a1&&_0x199c42[_0x15d87d(0x1bb)](_0x5ee4a1['id'])||_0x22192c[_0x15d87d(0x1c2)];_0x35ffb2&&(_0x22192c[_0x15d87d(0x1c2)]=_0x35ffb2);const _0x562453=_0x6aad0d['xwpNF'](_0x6aad0d[_0x15d87d(0x217)](_0x22192c['scopes']['join']('\x20'),'\x20'),_0x5ee4a1[_0x15d87d(0x23b)]||_0x22192c['name']),_0x30ca47=globals['getGlobal'](_0x6aad0d[_0x15d87d(0x244)])||accessibilityHelper[_0x15d87d(0x1f3)](_0x562453,![]),_0x52cf0d=globals[_0x15d87d(0x249)](_0x6aad0d[_0x15d87d(0x1aa)]);_0x4c7f82[_0x6aad0d['eSiWS']]=_0x6aad0d[_0x15d87d(0x1d8)](_0x52cf0d,_0x30ca47);}if(_0x6aad0d[_0x15d87d(0x213)](_0x1f5fae,FRAMEWORKS[_0x15d87d(0x22f)])){if(_0x6aad0d[_0x15d87d(0x1d5)](_0x13682e,_0x6aad0d[_0x15d87d(0x1ed)]))return;_0x4c7f82[_0x6aad0d[_0x15d87d(0x259)]]=PWTestDetails[_0x15d87d(0x1b1)](_0x22192c[_0x15d87d(0x1c2)]);}if(_0x6aad0d[_0x15d87d(0x213)](_0x1f5fae,FRAMEWORKS['CODECEPT'])){const _0x48d19a=accessibilityHelper['shouldScanTestForAccessibility'](_0x5ee4a1[_0x15d87d(0x268)](),!![]),_0x115a79=global[_0x15d87d(0x205)];_0x4c7f82[_0x6aad0d[_0x15d87d(0x259)]]=_0x6aad0d[_0x15d87d(0x1f9)](_0x115a79,_0x48d19a);}if(_0x6aad0d[_0x15d87d(0x219)](_0x1f5fae,FRAMEWORKS[_0x15d87d(0x1f1)])){const _0x3c6f70=accessibilityHelper[_0x15d87d(0x1f3)](null,![],_0x22192c[_0x15d87d(0x24f)]),_0x6be8f1=globals[_0x15d87d(0x249)](_0x6aad0d['WElgy']);_0x4c7f82[_0x6aad0d['eSiWS']]=_0x6aad0d['Nitbq'](_0x6be8f1,_0x3c6f70);}_0x22192c[_0x6aad0d[_0x15d87d(0x264)]]=_0x4c7f82;}},exports[a170_0x1490e1(0x1c4)]=_0x2db366=>{const _0x4ae0cb=a170_0x1490e1,_0x3d9cce={};_0x3d9cce['eiqSK']=function(_0x1cadc4,_0x10c0d1){return _0x1cadc4>_0x10c0d1;};const _0x9b6e4c=_0x3d9cce;let _0x1cdc71={};if(_0x9b6e4c[_0x4ae0cb(0x1cb)](Object['keys'](testData)[_0x4ae0cb(0x273)],0x0))return testData;_0x1cdc71=JestTestDetails[_0x4ae0cb(0x1c7)]();if(_0x9b6e4c['eiqSK'](Object[_0x4ae0cb(0x1b9)](_0x1cdc71)['length'],0x0))return _0x1cdc71;return _0x1cdc71;},exports[a170_0x1490e1(0x227)]=(_0x59f99e,_0x234887={})=>{const _0x5c76de=a170_0x1490e1;if(bsSetupHelper[_0x5c76de(0x1e7)](_0x234887[_0x5c76de(0x238)]))return;switch(_0x59f99e){case FRAMEWORKS[_0x5c76de(0x1a6)]:testData=_0x234887[_0x5c76de(0x238)];break;case FRAMEWORKS[_0x5c76de(0x258)]:JestTestDetails['setTestData'](_0x234887[_0x5c76de(0x238)]);break;case FRAMEWORKS[_0x5c76de(0x243)]:testData=_0x234887[_0x5c76de(0x238)];break;default:break;}},exports[a170_0x1490e1(0x1ca)]=_0x2bf69a=>{const _0x2c3b14=a170_0x1490e1,_0x22f658={};_0x22f658['JLVGc']=function(_0x257735,_0xdef83a){return _0x257735!==_0xdef83a;},_0x22f658['bhKbI']=function(_0x21be4a,_0x3ace49){return _0x21be4a!==_0x3ace49;},_0x22f658[_0x2c3b14(0x253)]=function(_0x16158e,_0x21f154){return _0x16158e!==_0x21f154;};const _0x2ad6e7=_0x22f658;if(_0x2ad6e7[_0x2c3b14(0x1e6)](_0x2bf69a[_0x2c3b14(0x1d0)],null)&&_0x2ad6e7[_0x2c3b14(0x22c)](_0x2bf69a[_0x2c3b14(0x1d0)],undefined))return _0x2bf69a[_0x2c3b14(0x1d0)];let _0x2ae8ae=![],_0x363bcf=![];if(_0x2bf69a[_0x2c3b14(0x23c)])for(const _0xf6ecec of _0x2bf69a[_0x2c3b14(0x23c)]){_0x2ad6e7[_0x2c3b14(0x253)](_0xf6ecec[_0x2c3b14(0x1d0)],null)&&_0x2ad6e7[_0x2c3b14(0x1e6)](_0xf6ecec['accessibility'],undefined)&&(_0x2ae8ae=_0x2ae8ae||bsSetupHelper[_0x2c3b14(0x1ea)](_0xf6ecec[_0x2c3b14(0x1d0)]),_0x363bcf=!![]);}if(_0x363bcf)return _0x2ae8ae;return null;},exports[a170_0x1490e1(0x25f)]=_0x5b25cd=>{const _0x49883a=a170_0x1490e1;if(!_0x5b25cd)return{};const _0x4cd276=new OrchestrationUtils(_0x5b25cd);return _0x4cd276[_0x49883a(0x261)]();},exports[a170_0x1490e1(0x1c1)]=_0xae8a12=>{const _0x1f4c75=a170_0x1490e1,_0x3ddc96={'TEvdJ':function(_0x356e06){return _0x356e06();}};let _0x256914=![],_0x3e13cc=![];if(bsSetupHelper[_0x1f4c75(0x21e)]()&&_0xae8a12[_0x1f4c75(0x1f6)])_0x3e13cc=!![];else bsSetupHelper[_0x1f4c75(0x21e)]()&&(_0x256914=!![]);return Object[_0x1f4c75(0x1c6)]({'observability':_0x3ddc96[_0x1f4c75(0x265)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0xae8a12),'percy':_0xae8a12[_0x1f4c75(0x234)]||![],'automate':_0x256914,'app_automate':_0x3e13cc,'turboscale':bsSetupHelper[_0x1f4c75(0x1c8)](_0xae8a12),'lts':LoadTestModule[_0x1f4c75(0x269)](_0xae8a12)},bsSetupHelper['getCentralUser']());};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a171_0x512626=a171_0x3326;(function(_0x34eb41,_0x4e0aa4){const _0x57a7c2=a171_0x3326,_0x4adaa3=_0x34eb41();while(!![]){try{const _0x291e27=parseInt(_0x57a7c2(0xdd))/0x1*(parseInt(_0x57a7c2(0xd6))/0x2)+-parseInt(_0x57a7c2(0xde))/0x3*(parseInt(_0x57a7c2(0xcf))/0x4)+-parseInt(_0x57a7c2(0xda))/0x5+parseInt(_0x57a7c2(0xe0))/0x6*(-parseInt(_0x57a7c2(0xd0))/0x7)+-parseInt(_0x57a7c2(0xd4))/0x8*(parseInt(_0x57a7c2(0xd1))/0x9)+parseInt(_0x57a7c2(0xd8))/0xa+parseInt(_0x57a7c2(0xd7))/0xb*(parseInt(_0x57a7c2(0xd3))/0xc);if(_0x291e27===_0x4e0aa4)break;else _0x4adaa3['push'](_0x4adaa3['shift']());}catch(_0x47c9d2){_0x4adaa3['push'](_0x4adaa3['shift']());}}}(a171_0x5327,0x6d518));function a171_0x5327(){const _0x411142=['20TWymsy','4714017yWsUDz','6619150wreWtW','cancel','3188215oxIqAE','cmXaT','pDYAE','48701KmWXxM','3pvCzEj','exports','30bFtjIO','2120500qttPHl','913213kIVXGy','45ImkWPY','fireFunnelTestEvent','36VxPwsG','266776TOKrTK','XZplu'];a171_0x5327=function(){return _0x411142;};return a171_0x5327();}function a171_0x3326(_0x3ca1b5,_0xf3a721){const _0x53275a=a171_0x5327();return a171_0x3326=function(_0x33261d,_0x51b3f5){_0x33261d=_0x33261d-0xcf;let _0x1ce6ac=_0x53275a[_0x33261d];return _0x1ce6ac;},a171_0x3326(_0x3ca1b5,_0xf3a721);}const utilities=require('./utilities');module[a171_0x512626(0xdf)]=(_0x4db60f,_0xf74a39,_0x113f83,_0x48a6b7,_0x53ef3e,_0x3f008c)=>{const _0x1f5075=a171_0x512626,_0x473c9d={'XZplu':function(_0x228103,_0x2b1d28){return _0x228103-_0x2b1d28;},'cmXaT':function(_0x910500,_0x83d0c){return _0x910500(_0x83d0c);},'pDYAE':function(_0x20cd51,_0x340523,_0x1e47f6){return _0x20cd51(_0x340523,_0x1e47f6);}};let _0x18da76,_0xd3dfb2=![];const _0x55c60e=new Promise((_0x8b2094,_0x29353c)=>{const _0x3a2801=a171_0x3326;_0x18da76=_0x473c9d[_0x3a2801(0xdc)](setTimeout,()=>{const _0x5c6fed=_0x3a2801;if(!_0xd3dfb2){const _0x448215={'status':''+_0xf74a39,'timeTaken':_0x473c9d[_0x5c6fed(0xd5)](new Date(),_0x48a6b7)};utilities[_0x5c6fed(0xd2)](_0x113f83,_0x448215,_0x53ef3e,_0x3f008c),_0x473c9d[_0x5c6fed(0xdb)](_0x29353c,new Error(_0xf74a39));}},_0x4db60f);});return _0x55c60e[_0x1f5075(0xd9)]=()=>{const _0x26b906=_0x1f5075;_0xd3dfb2=!![],_0x473c9d[_0x26b906(0xdb)](clearTimeout,_0x18da76);},_0x55c60e;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a172_0x59b2(_0x495ed5,_0x4c161a){const _0xab425a=a172_0xab42();return a172_0x59b2=function(_0x59b208,_0x26d5d6){_0x59b208=_0x59b208-0x80;let _0xc127cb=_0xab425a[_0x59b208];return _0xc127cb;},a172_0x59b2(_0x495ed5,_0x4c161a);}const a172_0x5aee3f=a172_0x59b2;function a172_0xab42(){const _0x197d35=['nodeRequest','toString','iGMjN','484uDixQn','constants','format','null','kcLRw','requirePWModule','notifyUpdate','isModifiable','finishedMetadata','split','keys','browserStackConfig','finalExecution','selenium-webdriver','framework','mNtIv','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','getFrameworkVersion','getSessionsList','VjgfW','event_properties','Hlodm','../bin/utils/constants','browserVersion','reduce','gMSfh','W_OK','apply','XfyqA','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','name','./logger','ycePO','edBqW','./test-observability/utils','XdKuR','isBrowserstackInfra','getTestFrameworkDetails','join','APP_AUTOMATE','OWQwE','EmOJK',',\x20testhub\x20id:\x20','forEach','Fcdzi','version','codeceptjs','killSignal','uuitu','AUTOMATE','push','errorMessage','hostname','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','uSKjo','mzOXJ','deviceName','Failed\x20to\x20set\x20directory\x20access:\x20','setReadWriteExecuteAccess','playwrightVersion','getTurboScaleBuildLink','\x20response\x20-\x20','RvoGI','12967388RSPslv','SDK\x20run\x20ended\x20for\x20id:\x20','Error\x20in\x20firing\x20request\x20to\x20','Playwright','1272140WzFbVL','ittjQ','trim','chmodSync','accessSync','undefined','env','type','util','2047860CrFaSB','DbbQZ','38ABQvTs','../bin/playwright/reporter/pwUtils','BROWSERSTACK_TESTHUB_UUID','osVersion','getBuildLink','2966658gbvFLV','4uJJOzc','jHlQJ','BCBHe','AUTOMATE_PRODUCTS','sdkRunId','rssRC','isNullOrEmpty','38010LdZkBj','WpafS','getUserName','NKOPe','./globals','./helper','SDKTestSuccessful','113553wAafha','getPackageVersion','unknown','LXBHk','assign','\x20:\x20','iyAuJ','config','user_killed','tFJeK','X_OK','Pryrc','values','getGlobal','body','replace','parse','783950smeRwU','TbpzO','debug','info','getNodeAgent','getAccessKey','length','hubAllocation','app','buildIdentifier','ZSQdw','error','unhandledErrors','./performance/performance-tester','296fYEHyK','getStackTraceAsString','tests','application/json','_buildHashedId','_hubAllocationData','winstonLogger','vZXqp','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','fireFunnelTestEvent'];a172_0xab42=function(){return _0x197d35;};return a172_0xab42();}(function(_0x379722,_0x53b438){const _0x1ce2d0=a172_0x59b2,_0x490bf2=_0x379722();while(!![]){try{const _0x26dfc1=-parseInt(_0x1ce2d0(0x103))/0x1*(-parseInt(_0x1ce2d0(0x82))/0x2)+parseInt(_0x1ce2d0(0x108))/0x3*(-parseInt(_0x1ce2d0(0x109))/0x4)+-parseInt(_0x1ce2d0(0xf8))/0x5+parseInt(_0x1ce2d0(0x101))/0x6+-parseInt(_0x1ce2d0(0xf4))/0x7+parseInt(_0x1ce2d0(0xa8))/0x8*(-parseInt(_0x1ce2d0(0x89))/0x9)+-parseInt(_0x1ce2d0(0x9a))/0xa*(-parseInt(_0x1ce2d0(0xb5))/0xb);if(_0x26dfc1===_0x53b438)break;else _0x490bf2['push'](_0x490bf2['shift']());}catch(_0x403e33){_0x490bf2['push'](_0x490bf2['shift']());}}}(a172_0xab42,0xe7fed));const os=require('os'),util=require(a172_0x5aee3f(0x100)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a172_0x5aee3f(0xd4))[a172_0x5aee3f(0xae)],constants=require(a172_0x5aee3f(0xcb)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a172_0x5aee3f(0x104)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x5aee3f(0xcb)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x5aee3f(0x87)),PerformanceTester=require(a172_0x5aee3f(0xa7)),globals=require(a172_0x5aee3f(0x86)),helper=require(a172_0x5aee3f(0x87)),{isTestObservabilitySession}=require(a172_0x5aee3f(0xd7));let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0x5164b2,_0x40d985={},_0x185b96,_0x14671b,_0x54fb5a=![])=>{const _0xe143d2=a172_0x5aee3f,_0x595128={'TbpzO':function(_0x3581af,_0x32eda4){return _0x3581af===_0x32eda4;},'OWQwE':'object','kcLRw':function(_0x5092b0,_0x41159d){return _0x5092b0>_0x41159d;},'dMBwR':_0xe143d2(0xaa),'gMSfh':function(_0x5d85c8){return _0x5d85c8();},'EmOJK':function(_0x3e891f,_0x396551){return _0x3e891f==_0x396551;},'iyAuJ':_0xe143d2(0xb8),'ycePO':_0xe143d2(0xfd),'tFJeK':_0xe143d2(0xe3),'jHlQJ':function(_0xd56e02,_0x53f52f){return _0xd56e02!==_0x53f52f;},'LXBHk':_0xe143d2(0xf7),'vZXqp':_0xe143d2(0xa5),'edBqW':function(_0x3c4223,_0x563cca){return _0x3c4223+_0x563cca;},'ittjQ':_0xe143d2(0xb0),'TGjwl':_0xe143d2(0xac),'UkzPu':function(_0x230baf,_0x2c9536){return _0x230baf(_0x2c9536);},'VjgfW':function(_0x261982,_0x28fbf5){return _0x261982(_0x28fbf5);},'uuitu':_0xe143d2(0x8b),'mzOXJ':'nodejs','BdJlZ':_0xe143d2(0x88),'jJRdj':function(_0x33c28a,_0x2086a9){return _0x33c28a===_0x2086a9;},'Fcdzi':_0xe143d2(0xc2),'BCBHe':_0xe143d2(0xab),'NKOPe':'[REDACTED]','XdKuR':'POST'};let _0x332527=[];if(helper[_0xe143d2(0xd9)]()&&_0x595128[_0xe143d2(0xce)](isTestObservabilitySession))_0x332527=_0x185b96[_0xe143d2(0xa2)]?constants['APP_AUTOMATE_PRODUCTS']:constants[_0xe143d2(0x10c)];else{if(_0x595128[_0xe143d2(0xce)](isTestObservabilitySession))_0x332527=constants[_0xe143d2(0xea)];else helper[_0xe143d2(0xd9)]()&&(_0x332527=_0x185b96[_0xe143d2(0xa2)]?constants[_0xe143d2(0xdc)]:constants[_0xe143d2(0xe6)]);}let _0x5b2796=_0x185b96[_0xe143d2(0xa3)];if(_0x595128[_0xe143d2(0xde)](_0x5b2796,null))_0x5b2796=_0x595128[_0xe143d2(0x8f)];else _0x595128['TbpzO'](_0x5b2796,undefined)&&(_0x5b2796=_0x595128[_0xe143d2(0xd5)]);unhandledErrors&&_0x595128[_0xe143d2(0xb9)](unhandledErrors[_0xe143d2(0xa0)],0x0)&&(_0x40d985['globalException']=unhandledErrors);global[_0xe143d2(0x10d)]&&(_0x40d985['sdkRunId']=global['sdkRunId']);try{if(_0x40d985[_0xe143d2(0xa5)]){if(_0x595128[_0xe143d2(0x9b)](_0x14671b,_0x595128[_0xe143d2(0x92)])&&_0x595128[_0xe143d2(0xb9)](_0x40d985[_0xe143d2(0xa5)][_0xe143d2(0xa0)],0x0)){const _0x37598e={};_0x37598e['os']='',_0x37598e[_0xe143d2(0x106)]='',_0x37598e['browser']='',_0x37598e[_0xe143d2(0xcc)]='';const _0x584619=_0x37598e;let _0x118d0c={};const _0x5f425e=_0x40d985['error'];_0x118d0c=_0x5f425e[_0xe143d2(0xcd)]((_0x43ebdb,_0x2e72fa)=>{for(const _0x7eebf0 in _0x2e72fa){_0x43ebdb[_0x7eebf0]=_0x2e72fa[_0x7eebf0];}return _0x43ebdb;},{});const _0xebfaad={};_0xebfaad[_0xe143d2(0xaa)]=_0x118d0c,_0x40d985[_0xe143d2(0xa5)]=[Object[_0xe143d2(0x8d)]({},_0x584619,_0xebfaad)];}else{let _0xa765b3=0x0;const _0x5bf807=_0x595128[_0xe143d2(0x10a)](_0x14671b,_0x595128[_0xe143d2(0x8c)])?JSON[_0xe143d2(0x99)](_0x40d985['error']):_0x40d985['error'],_0x509452=Object[_0xe143d2(0x95)](_0x5bf807);_0x509452[_0xe143d2(0xe0)](_0xf04b6c=>{const _0x34ee18=_0xe143d2;if(_0x595128[_0x34ee18(0x9b)](typeof _0xf04b6c,_0x595128[_0x34ee18(0xdd)])){const _0x4dd7a3=Object['values'](_0xf04b6c);!_0x4dd7a3['every'](_0xc3fa1a=>_0xc3fa1a===null||_0xc3fa1a===undefined||_0xc3fa1a==='')&&(_0xa765b3+=0x1);}});if(_0x595128[_0xe143d2(0x9b)](_0xa765b3,0x0))delete _0x40d985[_0x595128[_0xe143d2(0xaf)]];else{const _0x5049dc=[];Object[_0xe143d2(0xbf)](_0x5bf807)[_0xe143d2(0xe0)](_0x466126=>{const _0x110fac=_0xe143d2,_0x28b15c={'LjshT':function(_0x308bc4,_0x2f4448){const _0x3c40d1=a172_0x59b2;return _0x595128[_0x3c40d1(0xb9)](_0x308bc4,_0x2f4448);}},[_0x347506,_0xf645a1,_0x7c36ab,_0x28f77a]=_0x466126[_0x110fac(0xbe)](',\x20');let _0x2de7c8={};if(!_0x28f77a){const _0x26bc82={};_0x26bc82[_0x110fac(0xed)]=_0x347506,_0x26bc82[_0x110fac(0x106)]=_0xf645a1,_0x26bc82['browser']=_0x7c36ab,_0x2de7c8=_0x26bc82;}else{const _0x12c4dd={};_0x12c4dd['os']=_0x347506,_0x12c4dd[_0x110fac(0x106)]=_0xf645a1,_0x12c4dd['browser']=_0x7c36ab,_0x12c4dd[_0x110fac(0xcc)]=_0x28f77a,_0x2de7c8=_0x12c4dd;}const _0x582830={},_0x511192=_0x5bf807[_0x466126];Object[_0x110fac(0xbf)](_0x511192)[_0x110fac(0xe0)](_0xc816db=>{const _0x31b0bc=_0x110fac;_0x28b15c['LjshT'](_0x511192[_0xc816db][_0x31b0bc(0xa0)],0x0)&&(_0x582830[_0xc816db]=_0x511192[_0xc816db]);}),_0x595128['kcLRw'](Object[_0x110fac(0xbf)](_0x582830)['length'],0x0)&&(_0x2de7c8[_0x595128['dMBwR']]=_0x582830,_0x5049dc[_0x110fac(0xe7)](_0x2de7c8));}),_0x595128['kcLRw'](_0x5049dc[_0xe143d2(0xa0)],0x0)?_0x40d985['error']=_0x5049dc:delete _0x40d985[_0x595128[_0xe143d2(0xaf)]];}}}}catch(_0x1e9379){delete _0x40d985[_0x595128['vZXqp']],logger[_0xe143d2(0x9c)](_0x595128[_0xe143d2(0xd6)](_0x595128[_0xe143d2(0xf9)],_0x1e9379));}const _0x2ae646=helper[_0xe143d2(0xda)](_0x185b96,_0x185b96[_0xe143d2(0xc3)]),_0x507927={'userName':helper[_0xe143d2(0x84)](_0x185b96),'accessKey':helper[_0xe143d2(0x9f)](_0x185b96),'event_type':_0x5164b2,'detectedFramework':_0x14671b,'buildHashedId':globals[_0xe143d2(0x96)](_0x595128['TGjwl']),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0xe143d2(0xfe)][testHubConstants['ENV_VAR'][_0xe143d2(0x105)]]||'','sdkRunId':global[_0xe143d2(0x10d)],'product_map':_0x595128['UkzPu'](getProductMap,_0x185b96),'productMap':_0x595128[_0xe143d2(0xc8)](getProductMap,_0x185b96),'language_framework':_0x185b96['source']||_0x595128[_0xe143d2(0xe5)],'referrer':helper[_0xe143d2(0x9e)](_0x14671b),'framework':_0x185b96[_0xe143d2(0xc3)],'frameworkVersion':helper[_0xe143d2(0xc6)](_0x14671b),'automationFramework':_0x2ae646[_0xe143d2(0xd3)],'automationFrameworkVersion':_0x2ae646[_0xe143d2(0xe2)],'language':_0x595128[_0xe143d2(0xec)],'languageVersion':process['version'],'product':_0x332527,'buildName':_0x185b96['buildName']||_0x595128[_0xe143d2(0xd5)],'buildIdentifier':_0x5b2796,'os':os[_0xe143d2(0xff)]()||_0x595128[_0xe143d2(0xe5)],'hostname':os[_0xe143d2(0xe9)]()||_0x595128[_0xe143d2(0xe5)],..._0x40d985,'isCLIEnabled':_0x54fb5a}};try{_0x595128[_0xe143d2(0x9b)](_0x5164b2,_0x595128['BdJlZ'])&&(_0x507927['event_properties'][_0xe143d2(0xc0)]=helper['sanitizeBrowserStackConfig'](_0x185b96)),_0x595128['jJRdj'](_0x14671b,_0x595128['LXBHk'])?_0x507927[_0xe143d2(0xc9)][_0xe143d2(0xf0)]=helper[_0xe143d2(0xba)][_0xe143d2(0xd0)](null,_0x595128['gMSfh'](getTransformPath),!![]):_0x507927[_0xe143d2(0xc9)]['seleniumVersion']=helper[_0xe143d2(0x8a)](_0x595128[_0xe143d2(0xe1)]);}catch(_0x2e66a2){logger['debug']('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0x2e66a2);}const _0x4f84ba={};_0x4f84ba['content-type']=_0x595128[_0xe143d2(0x10b)];const _0x3a5d14={'headers':_0x4f84ba,'body':_0x507927,'auth':{'user':helper[_0xe143d2(0x84)](_0x185b96),'pass':helper[_0xe143d2(0x9f)](_0x185b96)},'json':!![]};logger['debug'](_0xe143d2(0xd2)+JSON['stringify'](_0x3a5d14[_0xe143d2(0x97)])['replace'](new RegExp(helper[_0xe143d2(0x84)](_0x185b96),'g'),_0x595128[_0xe143d2(0x85)])[_0xe143d2(0x98)](new RegExp(helper[_0xe143d2(0x9f)](_0x185b96),'g'),_0x595128[_0xe143d2(0x85)]));try{const _0x1472bc=await helper[_0xe143d2(0xb2)](_0x595128[_0xe143d2(0xd8)],FUNNEL_INSTRUMENTATION_API_URL,_0x3a5d14,_0x185b96);logger['debug']('API\x20Event\x20'+_0x5164b2+_0xe143d2(0xf2)+util[_0xe143d2(0xb7)]('%j',_0x1472bc));}catch(_0x33bc8c){logger[_0xe143d2(0x9c)](_0xe143d2(0xf6)+FUNNEL_INSTRUMENTATION_API_URL+_0xe143d2(0x8e)+util[_0xe143d2(0xb7)](_0x33bc8c));}},exports[a172_0x5aee3f(0xc1)]=async(_0xcdb230,_0x50587b=![])=>{const _0x298b3e=a172_0x5aee3f,_0x30295c={'Pryrc':function(_0x564f02){return _0x564f02();},'Hlodm':_0x298b3e(0xad),'WpafS':_0x298b3e(0xbd),'DbbQZ':_0x298b3e(0x91),'uSKjo':_0x298b3e(0x88),'RvoGI':function(_0x3336ff,_0x16c9ba,_0x45e74b){return _0x3336ff(_0x16c9ba,_0x45e74b);},'rssRC':function(_0xb5337e,_0x3f7460){return _0xb5337e+_0x3f7460;},'SwGcv':_0x298b3e(0xc5)};try{await _0xcdb230['stopPercy'](),_0x30295c[_0x298b3e(0x94)](printNudgeLocalNotSetError);const _0x5bb484={};_0x5bb484['error']=_0xcdb230[_0x298b3e(0xe8)]?_0xcdb230[_0x298b3e(0xe8)]:'{}';const _0x197943=_0x5bb484,_0x4bacc8=Object[_0x298b3e(0x8d)]({},_0x197943),_0xdfbbae=globals[_0x298b3e(0x96)](_0x30295c[_0x298b3e(0xca)]);_0xdfbbae&&(_0x4bacc8[_0x298b3e(0xa1)]=_0xdfbbae);!!_0xcdb230[_0x298b3e(0xe4)]&&(_0x4bacc8[_0x30295c[_0x298b3e(0x83)]]={'reason':_0x30295c[_0x298b3e(0x102)],'signal':_0xcdb230['killSignal']});unhandledErrors=_0xcdb230[_0x298b3e(0xa6)][_0x298b3e(0xdb)]('\x0a');let _0x3f6b9e,_0x2821b4,_0x354594;helper['isTurboScaleSession'](_0xcdb230['config'])?([_0x3f6b9e,_0x2821b4]=await helper[_0x298b3e(0xf1)](_0xcdb230[_0x298b3e(0x90)]),[_0x354594]=await Promise['all']([helper['getTurboScaleSessionsList'](_0x3f6b9e,_0xcdb230[_0x298b3e(0x90)]),exports[_0x298b3e(0xb1)](_0x30295c['uSKjo'],_0x4bacc8,_0xcdb230[_0x298b3e(0x90)],_0xcdb230['framework'],_0x50587b)])):([_0x3f6b9e,_0x2821b4]=await helper[_0x298b3e(0x107)](_0xcdb230['config']),[_0x354594]=await Promise['all']([helper[_0x298b3e(0xc7)](_0x3f6b9e,_0xcdb230[_0x298b3e(0x90)]),exports[_0x298b3e(0xb1)](_0x30295c[_0x298b3e(0xeb)],_0x4bacc8,_0xcdb230['config'],_0xcdb230[_0x298b3e(0xc3)],_0x50587b)])),_0x354594&&await _0x30295c[_0x298b3e(0xf3)](generateCIArtifacts,_0x354594,_0x2821b4),logger[_0x298b3e(0x9d)](_0x298b3e(0xf5)+_0xcdb230[_0x298b3e(0x10d)]+_0x298b3e(0xdf)+process[_0x298b3e(0xfe)][_0x298b3e(0x105)]),await helper['sendLogs'](_0xcdb230[_0x298b3e(0x90)]);}catch(_0x26ffd8){logger[_0x298b3e(0x9c)](_0x30295c[_0x298b3e(0x80)](_0x30295c['SwGcv'],_0x26ffd8));}helper[_0x298b3e(0xbb)]();},exports['getStackTraceAsString']=_0x2f537d=>{const _0x48f784=a172_0x5aee3f,_0x19a538={'iGMjN':function(_0x26f32a,_0x2c0cca){return _0x26f32a instanceof _0x2c0cca;},'XfyqA':function(_0x172d82,_0x546b47){return _0x172d82(_0x546b47);}};try{if(_0x19a538[_0x48f784(0xb4)](_0x2f537d,Error))return _0x2f537d['stack']||_0x2f537d[_0x48f784(0xb3)]();return _0x19a538[_0x48f784(0xd1)](String,_0x2f537d);}catch(_0x758915){return _0x2f537d?_0x2f537d['toString']():'';}},exports[a172_0x5aee3f(0x81)]=_0x52f6a9=>{const _0x3706d0=a172_0x5aee3f,_0x148b19={};_0x148b19['ZSQdw']=function(_0x34a78,_0x294fe5){return _0x34a78===_0x294fe5;};const _0x1f3623=_0x148b19;return!_0x52f6a9||_0x1f3623[_0x3706d0(0xa4)](_0x52f6a9[_0x3706d0(0xfa)](),'');},exports[a172_0x5aee3f(0xbc)]=_0xf4bf13=>{const _0x377bae=a172_0x5aee3f,_0x5ed703={};_0x5ed703['mNtIv']=function(_0x5c9ef1,_0x26bbe7){return _0x5c9ef1|_0x26bbe7;};const _0x3b3346=_0x5ed703;try{return fs[_0x377bae(0xfc)](_0xf4bf13,_0x3b3346[_0x377bae(0xc4)](fs['constants'][_0x377bae(0xcf)],fs[_0x377bae(0xb6)][_0x377bae(0x93)])),!![];}catch(_0x3ac15c){return![];}},exports[a172_0x5aee3f(0xef)]=_0x59d643=>{const _0xc0f417=a172_0x5aee3f;try{fs[_0xc0f417(0xfb)](_0x59d643,0x1ff),logger['debug']('Directory\x20'+_0x59d643+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0x453164){logger[_0xc0f417(0xa5)](_0xc0f417(0xee)+exports[_0xc0f417(0xa9)](_0x453164));}};
|
|
1
|
+
const a172_0x593c48=a172_0x5e52;(function(_0x1eab2d,_0x361ce0){const _0x57ba76=a172_0x5e52,_0x3c3f01=_0x1eab2d();while(!![]){try{const _0x3b284c=parseInt(_0x57ba76(0x1be))/0x1+parseInt(_0x57ba76(0x1ee))/0x2+-parseInt(_0x57ba76(0x1a6))/0x3+-parseInt(_0x57ba76(0x17b))/0x4*(parseInt(_0x57ba76(0x1ad))/0x5)+-parseInt(_0x57ba76(0x183))/0x6*(parseInt(_0x57ba76(0x1a3))/0x7)+-parseInt(_0x57ba76(0x1c3))/0x8+-parseInt(_0x57ba76(0x1b7))/0x9*(-parseInt(_0x57ba76(0x1c0))/0xa);if(_0x3b284c===_0x361ce0)break;else _0x3c3f01['push'](_0x3c3f01['shift']());}catch(_0x21e1d3){_0x3c3f01['push'](_0x3c3f01['shift']());}}}(a172_0x485e,0x4a533));function a172_0x5e52(_0x337e62,_0x226ed5){const _0x485e15=a172_0x485e();return a172_0x5e52=function(_0x5e52b2,_0x580535){_0x5e52b2=_0x5e52b2-0x16f;let _0x305b21=_0x485e15[_0x5e52b2];return _0x305b21;},a172_0x5e52(_0x337e62,_0x226ed5);}function a172_0x485e(){const _0x155518=['../bin/utils/constants','finalExecution','API\x20Event\x20','460HrEgxI','errorMessage','nodeRequest','QHgCh','W_OK','replace','hXrAU','BDqtH','6tkXcJP','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','requirePWModule','isModifiable','MQgIk','browserVersion','SDKTestSuccessful','PEwuu','getFrameworkVersion','./performance/performance-tester','killSignal','hLKKP','ENV_VAR','browser','chmodSync','getUserName','osVersion','POST','AUTOMATE_PRODUCTS','getStackTraceAsString','getTurboScaleBuildLink','oJSpb','kvBQD','uvDnV','playwrightVersion','version','config','EWPsT','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','\x20:\x20','buildName','[REDACTED]','712495mxQnFd','event_properties','buildIdentifier','1570422QKvcVG','tests','forEach','push','all','fGjrO','stringify','620iOlfqU','keys','./helper','every','format','nBQRN','getBuildLink','YgfnF','lmFcE','TUqWo','23472zCwPSk','gpBru','info','Error\x20in\x20firing\x20request\x20to\x20','SDK\x20run\x20ended\x20for\x20id:\x20','BROWSERSTACK_TESTHUB_UUID','source','170534RXZevE','toString','3520KYHNev','bsmEp','deviceName','2181128EkuWiL','assign','parse','sdkRunId','getPackageVersion','browserStackConfig','Failed\x20to\x20set\x20directory\x20access:\x20','length','stack','framework','values','error','lxQBC','RRMEN','fireFunnelTestEvent','bbZTH',',\x20testhub\x20id:\x20','split','KwxqT','object','isTurboScaleSession','./logger','unknown','XRPjF','APP_AUTOMATE','sendLogs','nkjdh','getTestFrameworkDetails','debug','codeceptjs','type','MFunx','nodejs','gAReq','application/json','ERvla','xLTPM','env','getAccessKey','./test-observability/utils','notifyUpdate','content-type','APP_AUTOMATE_PRODUCTS','256090iQTWSx','isBrowserstackInfra','app','_hubAllocationData','Directory\x20','hostname','oNXCf','sanitizeBrowserStackConfig','seleniumVersion','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','UYZbo','FeWmG','stopPercy','getTurboScaleSessionsList','unhandledErrors','wGjjv','X_OK','ajAll','globalException','getSessionsList','name','selenium-webdriver','constants','getGlobal'];a172_0x485e=function(){return _0x155518;};return a172_0x485e();}const os=require('os'),util=require('util'),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a172_0x593c48(0x1d8))['winstonLogger'],constants=require('../bin/utils/constants'),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x593c48(0x178)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x593c48(0x1af)),PerformanceTester=require(a172_0x593c48(0x18c)),globals=require('./globals'),helper=require(a172_0x593c48(0x1af)),{isTestObservabilitySession}=require(a172_0x593c48(0x1ea));let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0x10b695,_0x2e96bd={},_0x4047ca,_0x109153,_0x3b4cdd=![])=>{const _0x78f27a=a172_0x593c48,_0x3c665e={'bbZTH':function(_0x51289c,_0x2f7371){return _0x51289c===_0x2f7371;},'fgIIy':_0x78f27a(0x1d6),'nBQRN':function(_0x5921b2,_0x3f9739){return _0x5921b2>_0x3f9739;},'MQgIk':function(_0x4c8af6,_0xae20de){return _0x4c8af6>_0xae20de;},'EWPsT':_0x78f27a(0x1a7),'MFunx':function(_0x489471){return _0x489471();},'TUqWo':function(_0x352d5a){return _0x352d5a();},'bsmEp':function(_0x4aacf7,_0xdbbd4f){return _0x4aacf7==_0xdbbd4f;},'FeWmG':'null','lxQBC':'undefined','nkjdh':_0x78f27a(0x1e0),'yoQZp':function(_0x25730c,_0x8714b7){return _0x25730c!==_0x8714b7;},'lmFcE':'Playwright','ajAll':_0x78f27a(0x1ce),'gAReq':function(_0x5ef6d0,_0x36dcd1){return _0x5ef6d0>_0x36dcd1;},'MLAMJ':function(_0x528a22,_0x26f3d0){return _0x528a22+_0x26f3d0;},'ggQNg':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','hXrAU':'_buildHashedId','xLTPM':function(_0x1783ee,_0x457227){return _0x1783ee(_0x457227);},'QHgCh':function(_0x1bf765,_0x508e1b){return _0x1bf765(_0x508e1b);},'uvDnV':_0x78f27a(0x1d9),'oJSpb':_0x78f27a(0x1e3),'wGjjv':function(_0xc5e3e5,_0x381333){return _0xc5e3e5===_0x381333;},'MNZlT':_0x78f27a(0x189),'gpBru':_0x78f27a(0x175),'RRMEN':_0x78f27a(0x1e5),'KwxqT':_0x78f27a(0x1a2),'fbfOy':_0x78f27a(0x194)};let _0x3bb553=[];if(helper[_0x78f27a(0x1ef)]()&&_0x3c665e[_0x78f27a(0x1e2)](isTestObservabilitySession))_0x3bb553=_0x4047ca[_0x78f27a(0x1f0)]?constants[_0x78f27a(0x1ed)]:constants[_0x78f27a(0x195)];else{if(_0x3c665e[_0x78f27a(0x1b6)](isTestObservabilitySession))_0x3bb553=constants[_0x78f27a(0x19f)];else helper[_0x78f27a(0x1ef)]()&&(_0x3bb553=_0x4047ca['app']?constants[_0x78f27a(0x1db)]:constants['AUTOMATE']);}let _0x46060f=_0x4047ca[_0x78f27a(0x1a5)];if(_0x3c665e[_0x78f27a(0x1c1)](_0x46060f,null))_0x46060f=_0x3c665e[_0x78f27a(0x1f9)];else _0x3c665e[_0x78f27a(0x1d2)](_0x46060f,undefined)&&(_0x46060f=_0x3c665e[_0x78f27a(0x1cf)]);unhandledErrors&&_0x3c665e[_0x78f27a(0x187)](unhandledErrors['length'],0x0)&&(_0x2e96bd[_0x78f27a(0x172)]=unhandledErrors);global[_0x78f27a(0x1c6)]&&(_0x2e96bd[_0x78f27a(0x1c6)]=global[_0x78f27a(0x1c6)]);try{if(_0x2e96bd[_0x78f27a(0x1ce)]){if(_0x3c665e[_0x78f27a(0x1d2)](_0x109153,_0x3c665e[_0x78f27a(0x1dd)])&&_0x3c665e[_0x78f27a(0x1b2)](_0x2e96bd['error'][_0x78f27a(0x1ca)],0x0)){const _0x2bb28d={};_0x2bb28d['os']='',_0x2bb28d[_0x78f27a(0x193)]='',_0x2bb28d['browser']='',_0x2bb28d['browserVersion']='';const _0x4e17fc=_0x2bb28d;let _0x8a2db5={};const _0x5a1b81=_0x2e96bd[_0x78f27a(0x1ce)];_0x8a2db5=_0x5a1b81['reduce']((_0x2cebd5,_0x15b741)=>{for(const _0x42d98d in _0x15b741){_0x2cebd5[_0x42d98d]=_0x15b741[_0x42d98d];}return _0x2cebd5;},{});const _0x20092a={};_0x20092a[_0x78f27a(0x1a7)]=_0x8a2db5,_0x2e96bd[_0x78f27a(0x1ce)]=[Object[_0x78f27a(0x1c4)]({},_0x4e17fc,_0x20092a)];}else{let _0x284ad1=0x0;const _0x223030=_0x3c665e['yoQZp'](_0x109153,_0x3c665e[_0x78f27a(0x1b5)])?JSON[_0x78f27a(0x1c5)](_0x2e96bd[_0x78f27a(0x1ce)]):_0x2e96bd[_0x78f27a(0x1ce)],_0x434aaa=Object[_0x78f27a(0x1cd)](_0x223030);_0x434aaa['forEach'](_0x541044=>{const _0x4a340c=_0x78f27a;if(_0x3c665e[_0x4a340c(0x1d2)](typeof _0x541044,_0x3c665e['fgIIy'])){const _0x4593d9=Object['values'](_0x541044);!_0x4593d9[_0x4a340c(0x1b0)](_0x4b4330=>_0x4b4330===null||_0x4b4330===undefined||_0x4b4330==='')&&(_0x284ad1+=0x1);}});if(_0x3c665e[_0x78f27a(0x1d2)](_0x284ad1,0x0))delete _0x2e96bd[_0x3c665e[_0x78f27a(0x171)]];else{const _0x50c817=[];Object[_0x78f27a(0x1ae)](_0x223030)['forEach'](_0x3a5085=>{const _0x557edf=_0x78f27a,_0x38ab8c={'hLKKP':function(_0x414481,_0x502ca8){return _0x3c665e['nBQRN'](_0x414481,_0x502ca8);}},[_0x4f81ac,_0x4ae83d,_0x4ef5cf,_0x569b30]=_0x3a5085[_0x557edf(0x1d4)](',\x20');let _0x1e1c13={};if(!_0x569b30){const _0x5d47e5={};_0x5d47e5[_0x557edf(0x1c2)]=_0x4f81ac,_0x5d47e5['osVersion']=_0x4ae83d,_0x5d47e5[_0x557edf(0x190)]=_0x4ef5cf,_0x1e1c13=_0x5d47e5;}else{const _0x321eba={};_0x321eba['os']=_0x4f81ac,_0x321eba[_0x557edf(0x193)]=_0x4ae83d,_0x321eba['browser']=_0x4ef5cf,_0x321eba[_0x557edf(0x188)]=_0x569b30,_0x1e1c13=_0x321eba;}const _0x2a8926={},_0x51bc15=_0x223030[_0x3a5085];Object[_0x557edf(0x1ae)](_0x51bc15)[_0x557edf(0x1a8)](_0xdfa156=>{const _0x54d2ef=_0x557edf;_0x38ab8c[_0x54d2ef(0x18e)](_0x51bc15[_0xdfa156][_0x54d2ef(0x1ca)],0x0)&&(_0x2a8926[_0xdfa156]=_0x51bc15[_0xdfa156]);}),_0x3c665e[_0x557edf(0x187)](Object[_0x557edf(0x1ae)](_0x2a8926)[_0x557edf(0x1ca)],0x0)&&(_0x1e1c13[_0x3c665e[_0x557edf(0x19e)]]=_0x2a8926,_0x50c817[_0x557edf(0x1a9)](_0x1e1c13));}),_0x3c665e[_0x78f27a(0x1e4)](_0x50c817[_0x78f27a(0x1ca)],0x0)?_0x2e96bd['error']=_0x50c817:delete _0x2e96bd[_0x3c665e[_0x78f27a(0x171)]];}}}}catch(_0x224e01){delete _0x2e96bd[_0x3c665e[_0x78f27a(0x171)]],logger[_0x78f27a(0x1df)](_0x3c665e['MLAMJ'](_0x3c665e['ggQNg'],_0x224e01));}const _0x2b904b=helper[_0x78f27a(0x1de)](_0x4047ca,_0x4047ca[_0x78f27a(0x1cc)]),_0x161fc3={'userName':helper['getUserName'](_0x4047ca),'accessKey':helper['getAccessKey'](_0x4047ca),'event_type':_0x10b695,'detectedFramework':_0x109153,'buildHashedId':globals['getGlobal'](_0x3c665e[_0x78f27a(0x181)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x78f27a(0x18f)][_0x78f27a(0x1bc)]]||'','sdkRunId':global[_0x78f27a(0x1c6)],'product_map':_0x3c665e[_0x78f27a(0x1e7)](getProductMap,_0x4047ca),'productMap':_0x3c665e[_0x78f27a(0x17e)](getProductMap,_0x4047ca),'language_framework':_0x4047ca[_0x78f27a(0x1bd)]||_0x3c665e[_0x78f27a(0x19a)],'referrer':helper['getNodeAgent'](_0x109153),'framework':_0x4047ca['framework'],'frameworkVersion':helper[_0x78f27a(0x18b)](_0x109153),'automationFramework':_0x2b904b[_0x78f27a(0x174)],'automationFrameworkVersion':_0x2b904b[_0x78f27a(0x19c)],'language':_0x3c665e[_0x78f27a(0x198)],'languageVersion':process[_0x78f27a(0x19c)],'product':_0x3bb553,'buildName':_0x4047ca[_0x78f27a(0x1a1)]||_0x3c665e[_0x78f27a(0x1cf)],'buildIdentifier':_0x46060f,'os':os[_0x78f27a(0x1e1)]()||_0x3c665e[_0x78f27a(0x19a)],'hostname':os[_0x78f27a(0x1f3)]()||_0x3c665e['uvDnV'],..._0x2e96bd,'isCLIEnabled':_0x3b4cdd}};try{_0x3c665e[_0x78f27a(0x16f)](_0x10b695,_0x3c665e['MNZlT'])&&(_0x161fc3[_0x78f27a(0x1a4)][_0x78f27a(0x1c8)]=helper[_0x78f27a(0x1f5)](_0x4047ca)),_0x3c665e[_0x78f27a(0x1d2)](_0x109153,_0x3c665e[_0x78f27a(0x1b5)])?_0x161fc3[_0x78f27a(0x1a4)][_0x78f27a(0x19b)]=helper[_0x78f27a(0x185)]['apply'](null,_0x3c665e[_0x78f27a(0x1e2)](getTransformPath),!![]):_0x161fc3['event_properties'][_0x78f27a(0x1f6)]=helper[_0x78f27a(0x1c7)](_0x3c665e[_0x78f27a(0x1b8)]);}catch(_0x46bbb7){logger[_0x78f27a(0x1df)](_0x78f27a(0x1f7)+_0x46bbb7);}const _0x22fd6f={};_0x22fd6f[_0x78f27a(0x1ec)]=_0x3c665e[_0x78f27a(0x1d0)];const _0x1833b4={'headers':_0x22fd6f,'body':_0x161fc3,'auth':{'user':helper[_0x78f27a(0x192)](_0x4047ca),'pass':helper[_0x78f27a(0x1e9)](_0x4047ca)},'json':!![]};logger[_0x78f27a(0x1df)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x78f27a(0x1ac)](_0x1833b4['body'])[_0x78f27a(0x180)](new RegExp(helper[_0x78f27a(0x192)](_0x4047ca),'g'),_0x3c665e[_0x78f27a(0x1d5)])['replace'](new RegExp(helper['getAccessKey'](_0x4047ca),'g'),_0x3c665e[_0x78f27a(0x1d5)]));try{const _0x4b23a4=await helper[_0x78f27a(0x17d)](_0x3c665e['fbfOy'],FUNNEL_INSTRUMENTATION_API_URL,_0x1833b4,_0x4047ca);logger['debug'](_0x78f27a(0x17a)+_0x10b695+'\x20response\x20-\x20'+util[_0x78f27a(0x1b1)]('%j',_0x4b23a4));}catch(_0x41f607){logger[_0x78f27a(0x1df)](_0x78f27a(0x1ba)+FUNNEL_INSTRUMENTATION_API_URL+_0x78f27a(0x1a0)+util[_0x78f27a(0x1b1)](_0x41f607));}},exports[a172_0x593c48(0x179)]=async(_0x555a7e,_0x549045=![])=>{const _0xe7e089=a172_0x593c48,_0x3de721={'nLYfF':function(_0x5061d5){return _0x5061d5();},'ERvla':_0xe7e089(0x1f1),'oTKQi':'finishedMetadata','UYZbo':'user_killed','fGjrO':_0xe7e089(0x189),'YgfnF':function(_0x5cded5,_0x17d524,_0x168fbe){return _0x5cded5(_0x17d524,_0x168fbe);},'oNXCf':function(_0x33965a,_0x26deec){return _0x33965a+_0x26deec;},'PEwuu':_0xe7e089(0x184)};try{await _0x555a7e[_0xe7e089(0x1fa)](),_0x3de721['nLYfF'](printNudgeLocalNotSetError);const _0x709c5a={};_0x709c5a[_0xe7e089(0x1ce)]=_0x555a7e[_0xe7e089(0x17c)]?_0x555a7e['errorMessage']:'{}';const _0x4e080b=_0x709c5a,_0x587331=Object[_0xe7e089(0x1c4)]({},_0x4e080b),_0x33f701=globals[_0xe7e089(0x177)](_0x3de721[_0xe7e089(0x1e6)]);_0x33f701&&(_0x587331['hubAllocation']=_0x33f701);!!_0x555a7e[_0xe7e089(0x18d)]&&(_0x587331[_0x3de721['oTKQi']]={'reason':_0x3de721[_0xe7e089(0x1f8)],'signal':_0x555a7e[_0xe7e089(0x18d)]});unhandledErrors=_0x555a7e[_0xe7e089(0x1fc)]['join']('\x0a');let _0x5c96c6,_0x2da066,_0xd8b2cb;helper[_0xe7e089(0x1d7)](_0x555a7e[_0xe7e089(0x19d)])?([_0x5c96c6,_0x2da066]=await helper[_0xe7e089(0x197)](_0x555a7e['config']),[_0xd8b2cb]=await Promise[_0xe7e089(0x1aa)]([helper[_0xe7e089(0x1fb)](_0x5c96c6,_0x555a7e[_0xe7e089(0x19d)]),exports[_0xe7e089(0x1d1)](_0x3de721[_0xe7e089(0x1ab)],_0x587331,_0x555a7e[_0xe7e089(0x19d)],_0x555a7e[_0xe7e089(0x1cc)],_0x549045)])):([_0x5c96c6,_0x2da066]=await helper[_0xe7e089(0x1b3)](_0x555a7e['config']),[_0xd8b2cb]=await Promise[_0xe7e089(0x1aa)]([helper[_0xe7e089(0x173)](_0x5c96c6,_0x555a7e['config']),exports[_0xe7e089(0x1d1)](_0x3de721[_0xe7e089(0x1ab)],_0x587331,_0x555a7e[_0xe7e089(0x19d)],_0x555a7e['framework'],_0x549045)])),_0xd8b2cb&&await _0x3de721[_0xe7e089(0x1b4)](generateCIArtifacts,_0xd8b2cb,_0x2da066),logger[_0xe7e089(0x1b9)](_0xe7e089(0x1bb)+_0x555a7e['sdkRunId']+_0xe7e089(0x1d3)+process[_0xe7e089(0x1e8)][_0xe7e089(0x1bc)]),await helper[_0xe7e089(0x1dc)](_0x555a7e[_0xe7e089(0x19d)]);}catch(_0x2d0c4c){logger[_0xe7e089(0x1df)](_0x3de721[_0xe7e089(0x1f4)](_0x3de721[_0xe7e089(0x18a)],_0x2d0c4c));}helper[_0xe7e089(0x1eb)]();},exports['getStackTraceAsString']=_0x158aab=>{const _0x19aafc=a172_0x593c48,_0x42e644={'XRPjF':function(_0x2d16f1,_0x170c7d){return _0x2d16f1 instanceof _0x170c7d;},'QUGzT':function(_0x4a60f2,_0x5c607d){return _0x4a60f2(_0x5c607d);}};try{if(_0x42e644[_0x19aafc(0x1da)](_0x158aab,Error))return _0x158aab[_0x19aafc(0x1cb)]||_0x158aab[_0x19aafc(0x1bf)]();return _0x42e644['QUGzT'](String,_0x158aab);}catch(_0x3e0899){return _0x158aab?_0x158aab['toString']():'';}},exports['isNullOrEmpty']=_0x172c27=>{const _0x5f4693=a172_0x593c48,_0x5af876={};_0x5af876['kvBQD']=function(_0x479ad1,_0x9d1e1b){return _0x479ad1===_0x9d1e1b;};const _0x3c11b6=_0x5af876;return!_0x172c27||_0x3c11b6[_0x5f4693(0x199)](_0x172c27['trim'](),'');},exports[a172_0x593c48(0x186)]=_0x2e0264=>{const _0x495c24=a172_0x593c48,_0x4f3229={};_0x4f3229[_0x495c24(0x182)]=function(_0x141c62,_0x4f88c5){return _0x141c62|_0x4f88c5;};const _0x51c93a=_0x4f3229;try{return fs['accessSync'](_0x2e0264,_0x51c93a[_0x495c24(0x182)](fs[_0x495c24(0x176)][_0x495c24(0x17f)],fs[_0x495c24(0x176)][_0x495c24(0x170)])),!![];}catch(_0xf6ebbe){return![];}},exports['setReadWriteExecuteAccess']=_0x6eda29=>{const _0x2dc942=a172_0x593c48;try{fs[_0x2dc942(0x191)](_0x6eda29,0x1ff),logger[_0x2dc942(0x1df)](_0x2dc942(0x1f2)+_0x6eda29+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0x1cc157){logger[_0x2dc942(0x1ce)](_0x2dc942(0x1c9)+exports[_0x2dc942(0x196)](_0x1cc157));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a173_0x4053a9=a173_0x1dd3;(function(_0x2e8dbe,_0x59a9bd){var _0x2de7bc=a173_0x1dd3,_0x4e857e=_0x2e8dbe();while(!![]){try{var _0x592e53=parseInt(_0x2de7bc(0x186))/0x1+-parseInt(_0x2de7bc(0x1ef))/0x2+-parseInt(_0x2de7bc(0x1e1))/0x3+-parseInt(_0x2de7bc(0x1b4))/0x4+parseInt(_0x2de7bc(0x161))/0x5+-parseInt(_0x2de7bc(0x1c0))/0x6*(-parseInt(_0x2de7bc(0x1d8))/0x7)+-parseInt(_0x2de7bc(0x199))/0x8*(-parseInt(_0x2de7bc(0x17b))/0x9);if(_0x592e53===_0x59a9bd)break;else _0x4e857e['push'](_0x4e857e['shift']());}catch(_0x3fa6c8){_0x4e857e['push'](_0x4e857e['shift']());}}}(a173_0x2c24,0x3578f),exports[a173_0x4053a9(0x1c1)]=()=>{var _0x12865b=a173_0x4053a9,_0x4d796f={};_0x4d796f[_0x12865b(0x182)]=_0x12865b(0x163),_0x4d796f[_0x12865b(0x160)]=_0x12865b(0x18e),_0x4d796f[_0x12865b(0x16b)]=_0x12865b(0x190),_0x4d796f['Thpwu']=_0x12865b(0x1a5),_0x4d796f[_0x12865b(0x16a)]=_0x12865b(0x1b8),_0x4d796f[_0x12865b(0x170)]=_0x12865b(0x1b1),_0x4d796f[_0x12865b(0x1dc)]=_0x12865b(0x191),_0x4d796f[_0x12865b(0x1dd)]=_0x12865b(0x1d1),_0x4d796f[_0x12865b(0x187)]=_0x12865b(0x1bc),_0x4d796f[_0x12865b(0x172)]='local',_0x4d796f[_0x12865b(0x1e9)]=_0x12865b(0x1ba),_0x4d796f[_0x12865b(0x18d)]=_0x12865b(0x1d5),_0x4d796f[_0x12865b(0x1e4)]=_0x12865b(0x18c),_0x4d796f[_0x12865b(0x1b2)]=_0x12865b(0x198),_0x4d796f[_0x12865b(0x1b9)]='networkLogsOptions',_0x4d796f[_0x12865b(0x197)]=_0x12865b(0x1b5),_0x4d796f[_0x12865b(0x1d0)]=_0x12865b(0x1c8),_0x4d796f[_0x12865b(0x17f)]=_0x12865b(0x17a),_0x4d796f['XRFgR']=_0x12865b(0x1ce),_0x4d796f[_0x12865b(0x1de)]=_0x12865b(0x1a4),_0x4d796f[_0x12865b(0x19a)]=_0x12865b(0x1ca),_0x4d796f['GykLR']=_0x12865b(0x175),_0x4d796f[_0x12865b(0x1ea)]='seleniumVersion',_0x4d796f[_0x12865b(0x16d)]=_0x12865b(0x1a6),_0x4d796f[_0x12865b(0x1d9)]=_0x12865b(0x1bb),_0x4d796f[_0x12865b(0x1a7)]=_0x12865b(0x19e),_0x4d796f[_0x12865b(0x180)]=_0x12865b(0x1c2),_0x4d796f[_0x12865b(0x1ae)]=_0x12865b(0x1eb),_0x4d796f['TQdVM']='bfcache',_0x4d796f[_0x12865b(0x1a8)]=_0x12865b(0x1e7),_0x4d796f[_0x12865b(0x193)]=_0x12865b(0x1a2),_0x4d796f[_0x12865b(0x181)]='deviceName',_0x4d796f[_0x12865b(0x19d)]=_0x12865b(0x1d7),_0x4d796f[_0x12865b(0x1a1)]='appiumVersion',_0x4d796f['tcSYS']=_0x12865b(0x18a),_0x4d796f[_0x12865b(0x1b6)]=_0x12865b(0x1ec),_0x4d796f[_0x12865b(0x177)]=_0x12865b(0x192),_0x4d796f[_0x12865b(0x1be)]=_0x12865b(0x1e8),_0x4d796f['zeTvS']=_0x12865b(0x1da),_0x4d796f[_0x12865b(0x17e)]='accessibility',_0x4d796f[_0x12865b(0x1db)]=_0x12865b(0x18b),_0x4d796f[_0x12865b(0x167)]=_0x12865b(0x18f),_0x4d796f[_0x12865b(0x15e)]=_0x12865b(0x1ad),_0x4d796f['MmFyT']='accessibilityOptions.scannerVersion',_0x4d796f['cSQHa']=_0x12865b(0x1e2),_0x4d796f[_0x12865b(0x1c7)]=_0x12865b(0x1b7),_0x4d796f[_0x12865b(0x16e)]='accessibilityOptions.includeIssueType.needsReview',_0x4d796f[_0x12865b(0x162)]=_0x12865b(0x1cc),_0x4d796f[_0x12865b(0x16f)]=_0x12865b(0x171),_0x4d796f[_0x12865b(0x1d4)]=_0x12865b(0x17c),_0x4d796f[_0x12865b(0x1c4)]=_0x12865b(0x1c9),_0x4d796f['ksNYM']=_0x12865b(0x196),_0x4d796f['CuNJB']=_0x12865b(0x1e0),_0x4d796f['nzlfh']='overridelocalInfo.localIdentifier',_0x4d796f[_0x12865b(0x164)]=_0x12865b(0x1b0),_0x4d796f[_0x12865b(0x19c)]=_0x12865b(0x1b3);var _0x1c70c5=_0x4d796f,_0x350983={};return _0x350983[_0x12865b(0x184)]=_0x1c70c5['JJcME'],_0x350983[_0x12865b(0x1c6)]=_0x1c70c5['EPSKZ'],_0x350983['os']='os',_0x350983['os_version']=_0x1c70c5[_0x12865b(0x16b)],_0x350983[_0x12865b(0x1a5)]=_0x1c70c5[_0x12865b(0x185)],_0x350983['browser_version']=_0x1c70c5[_0x12865b(0x16a)],_0x350983['browserstack.use_w3c']=_0x1c70c5[_0x12865b(0x170)],_0x350983['project']=_0x1c70c5[_0x12865b(0x1dc)],_0x350983[_0x12865b(0x166)]=_0x1c70c5[_0x12865b(0x1dd)],_0x350983[_0x12865b(0x1bf)]=_0x1c70c5[_0x12865b(0x187)],_0x350983['browserstack.local']=_0x1c70c5[_0x12865b(0x172)],_0x350983[_0x12865b(0x176)]=_0x1c70c5[_0x12865b(0x1e9)],_0x350983[_0x12865b(0x1d2)]=_0x1c70c5['XNDvr'],_0x350983[_0x12865b(0x195)]=_0x1c70c5['cofBI'],_0x350983[_0x12865b(0x1e5)]=_0x1c70c5[_0x12865b(0x1b2)],_0x350983[_0x12865b(0x1d6)]=_0x1c70c5[_0x12865b(0x1b9)],_0x350983['browserstack.appiumLogs']=_0x1c70c5[_0x12865b(0x197)],_0x350983[_0x12865b(0x189)]=_0x1c70c5[_0x12865b(0x1d0)],_0x350983[_0x12865b(0x1f0)]=_0x1c70c5[_0x12865b(0x17f)],_0x350983[_0x12865b(0x1d3)]=_0x1c70c5[_0x12865b(0x1ee)],_0x350983[_0x12865b(0x19b)]=_0x1c70c5[_0x12865b(0x1de)],_0x350983['browserstack.timezone']=_0x1c70c5[_0x12865b(0x19a)],_0x350983[_0x12865b(0x175)]=_0x1c70c5[_0x12865b(0x1ab)],_0x350983[_0x12865b(0x1cd)]=_0x1c70c5[_0x12865b(0x1ea)],_0x350983['browserstack.maskCommands']=_0x1c70c5['HEDMA'],_0x350983['browserstack.idleTimeout']=_0x1c70c5[_0x12865b(0x1d9)],_0x350983['browserstack.maskBasicAuth']=_0x1c70c5['JvvaR'],_0x350983[_0x12865b(0x1c5)]=_0x1c70c5['BLYCV'],_0x350983[_0x12865b(0x1a0)]=_0x1c70c5[_0x12865b(0x1ae)],_0x350983['browserstack.bfcache']=_0x1c70c5[_0x12865b(0x1cb)],_0x350983[_0x12865b(0x165)]=_0x1c70c5[_0x12865b(0x1a8)],_0x350983[_0x12865b(0x1a3)]=_0x1c70c5[_0x12865b(0x193)],_0x350983['device']=_0x1c70c5[_0x12865b(0x181)],_0x350983[_0x12865b(0x1d7)]=_0x1c70c5[_0x12865b(0x19d)],_0x350983[_0x12865b(0x179)]=_0x1c70c5['bHjpx'],_0x350983[_0x12865b(0x18a)]=_0x1c70c5[_0x12865b(0x1af)],_0x350983[_0x12865b(0x1cf)]=_0x1c70c5[_0x12865b(0x1b6)],_0x350983[_0x12865b(0x15f)]=_0x1c70c5['Xjuky'],_0x350983[_0x12865b(0x188)]=_0x1c70c5['HclTK'],_0x350983[_0x12865b(0x178)]=_0x1c70c5[_0x12865b(0x183)],_0x350983['browserstack.accessibility']=_0x1c70c5[_0x12865b(0x17e)],_0x350983[_0x12865b(0x1aa)]=_0x1c70c5[_0x12865b(0x1db)],_0x350983['browserstack.testhubBuildUuid']=_0x1c70c5[_0x12865b(0x167)],_0x350983[_0x12865b(0x168)]=_0x1c70c5[_0x12865b(0x15e)],_0x350983[_0x12865b(0x1ed)]=_0x1c70c5[_0x12865b(0x1e6)],_0x350983[_0x12865b(0x173)]=_0x1c70c5[_0x12865b(0x1a9)],_0x350983[_0x12865b(0x1df)]=_0x1c70c5[_0x12865b(0x1c7)],_0x350983[_0x12865b(0x174)]=_0x1c70c5['TnwXw'],_0x350983[_0x12865b(0x16c)]=_0x1c70c5[_0x12865b(0x162)],_0x350983[_0x12865b(0x169)]=_0x1c70c5[_0x12865b(0x16f)],_0x350983[_0x12865b(0x1ac)]=_0x1c70c5[_0x12865b(0x1d4)],_0x350983[_0x12865b(0x194)]=_0x1c70c5[_0x12865b(0x1c4)],_0x350983[_0x12865b(0x17d)]=_0x1c70c5['ksNYM'],_0x350983[_0x12865b(0x1c3)]=_0x1c70c5[_0x12865b(0x1bd)],_0x350983[_0x12865b(0x1e3)]=_0x1c70c5['nzlfh'],_0x350983['browserstack.headerParams']=_0x1c70c5[_0x12865b(0x164)],_0x350983[_0x12865b(0x19f)]=_0x1c70c5[_0x12865b(0x19c)],_0x350983;});function a173_0x1dd3(_0x258b54,_0x2b1bc5){var _0x2c2474=a173_0x2c24();return a173_0x1dd3=function(_0x1dd3b9,_0x5771d){_0x1dd3b9=_0x1dd3b9-0x15e;var _0x28c810=_0x2c2474[_0x1dd3b9];return _0x28c810;},a173_0x1dd3(_0x258b54,_0x2b1bc5);}function a173_0x2c24(){var _0x1f2fb5=['JRHPs','browserstack.buildIdentifier','browserstack.video','deviceOrientation','buildProductMap','consoleLogs','XNDvr','accessKey','testhubBuildUuid','osVersion','projectName','networkProfile','cTwzN','browserstack.simOptions','browserstack.console','playwrightVersion','UoeHd','networkLogs','376kmbWTs','Jvcuz','browserstack.geoLocation','HeKkj','pwLua','maskBasicAuth','browserstack.performance','browserstack.hosts','bHjpx','disableCorsRestrictions','browserstack.disableCorsRestrictions','geoLocation','browser','maskCommands','JvvaR','sBOKz','cSQHa','browserstack.buildProductMap','GykLR','browserstack.enableSim','accessibilityOptions.wcagVersion','CHAjG','tcSYS','headerParams','useW3c','mmoup','performance','722660hxvRBi','appiumLogs','mAXLS','accessibilityOptions.includeIssueType.bestPractice','browserVersion','BlJJg','localIdentifier','idleTimeout','sessionName','CuNJB','HclTK','name','32598eNaHXZ','W3CMapping','autoWait','browserstack.overridelocalInfo.userAuthToken','gEMQP','browserstack.autoWait','browserstack.key','ERKhB','video','simOptions','timezone','TQdVM','accessibilityOptions.authToken','browserstack.selenium_version','telemetryLogs','browserstack.customNetwork','XlBnF','buildName','browserstack.debug','browserstack.telemetryLogs','pgDZn','debug','browserstack.networkLogsOptions','realMobile','259oIGpzD','PkQdd','browserstackSDK','UXWgO','KkvbR','qrPbt','PzPAd','browserstack.accessibilityOptions.includeIssueType.bestPractice','overridelocalInfo.userAuthToken','726549HRsWTK','accessibilityOptions.scannerProcessingTimeout','browserstack.overridelocalInfo.localIdentifier','cofBI','browserstack.networkLogs','MmFyT','wsLocalSupport','buildIdentifier','hMAWP','XRlNE','hosts','customNetwork','browserstack.accessibilityOptions.scannerVersion','XRFgR','68312bmOvFP','browserstack.seleniumLogs','SknKI','browserstack.networkProfile','EPSKZ','1727865PbNpgt','nPomJ','userName','ZIpRT','browserstack.wsLocalSupport','build','lWGcj','browserstack.accessibilityOptions.wcagVersion','browserstack.uploadMedia','kkEPN','ZLEUd','browserstack.accessibilityOptions.authToken','HEDMA','TnwXw','txbhh','moZrG','uploadMedia','IGDmk','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.accessibilityOptions.includeIssueType.needsReview','resolution','browserstack.localIdentifier','Xjuky','browserstack.browserstackSDK','browserstack.appium_version','seleniumLogs','27WsQjxt','enableSim','browserstack.playwrightVersion','tLTlf','MVNfc','BLYCV','AxFve','JJcME','zeTvS','browserstack.user','Thpwu','129292pYdWzV'];a173_0x2c24=function(){return _0x1f2fb5;};return a173_0x2c24();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a174_0x2e4421=a174_0x37fa;function a174_0x4883(){const _0x4e7428=['FxFpC','resolve','wStBN','nodeRequest','has','all','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','hHZIc','VqALq','UERCW','qZadW','hostname','kfSMX','findLatency','pathname','nextHubs','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','setGlobal','catch','QjPcK','race','status','fulfilled','TLEfX','allocateHub','hubUrl','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','EOAUy','next_hubs','wbQQU','allSettled','RFxpl','mloEu','HUB_URL_MAP','eujSC','format','https://','uAtAq','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','NEAREST\x20HUBS\x20LIST:\x20','url','tSsYi','./helpers/helper','3952roaZdC','parse','1870856jHHcqu','util','YZhMC','debug','8953010MBVwRY','latency','TdRpM','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','edLlE','hubs','value','206241ecpdXw','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','getGlobal','winstonLogger','SotWE','ZrRbu','HUB\x20URL\x20SET\x20TO\x20-\x20','4bViCej','Ebrza','NiwGp','5DWxTLO','1082814scZDxd','length','Execution\x20time\x20for\x20','9709YKHCGi','/wd/hub','EnJtd','hash','sYsxw','448407rDoegQ','XaRXi','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','./bin/utils/constants','hubRegion','delete','bgSKn','path','check','search','now','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','nVwek','445584quDOWV','kogMk','then','data','newHubUrlBySession','GET','map','updateHubUrl','getRequestOptions','oSwXG'];a174_0x4883=function(){return _0x4e7428;};return a174_0x4883();}function a174_0x37fa(_0x1d9c6a,_0x52312b){const _0x4883e4=a174_0x4883();return a174_0x37fa=function(_0x37fa19,_0x1fe207){_0x37fa19=_0x37fa19-0x11f;let _0x960975=_0x4883e4[_0x37fa19];return _0x960975;},a174_0x37fa(_0x1d9c6a,_0x52312b);}(function(_0x4f796d,_0x1d7dbb){const _0x144546=a174_0x37fa,_0x295ea2=_0x4f796d();while(!![]){try{const _0x4bf58b=-parseInt(_0x144546(0x17b))/0x1+parseInt(_0x144546(0x120))/0x2*(parseInt(_0x144546(0x139))/0x3)+parseInt(_0x144546(0x170))/0x4+-parseInt(_0x144546(0x123))/0x5*(parseInt(_0x144546(0x124))/0x6)+-parseInt(_0x144546(0x127))/0x7*(parseInt(_0x144546(0x16e))/0x8)+parseInt(_0x144546(0x12c))/0x9+parseInt(_0x144546(0x174))/0xa;if(_0x4bf58b===_0x1d7dbb)break;else _0x295ea2['push'](_0x295ea2['shift']());}catch(_0x598eab){_0x295ea2['push'](_0x295ea2['shift']());}}}(a174_0x4883,0x9bc36));const url=require(a174_0x2e4421(0x16b)),util=require(a174_0x2e4421(0x171)),helper=require(a174_0x2e4421(0x16d)),logger=require('./helpers/logger')[a174_0x2e4421(0x17e)],constants=require(a174_0x2e4421(0x12f)),globals=require('./helpers/globals');global[a174_0x2e4421(0x13d)]=global[a174_0x2e4421(0x13d)]||new Map(),exports[a174_0x2e4421(0x141)]=_0x1b9e69=>{const _0x496496=a174_0x2e4421,_0x43bc0e={};_0x43bc0e['YZhMC']=function(_0x1022a1,_0x4c0cd8){return _0x1022a1+_0x4c0cd8;},_0x43bc0e['TdRpM']='Invalid\x20new\x20HUB\x20URL:\x20';const _0x3e1caf=_0x43bc0e,_0x25a0fb=url[_0x496496(0x16f)](_0x1b9e69);if(!_0x25a0fb[_0x496496(0x14e)])throw new Error(_0x3e1caf[_0x496496(0x172)](_0x3e1caf[_0x496496(0x176)],_0x1b9e69));return _0x25a0fb[_0x496496(0x135)]=null,_0x25a0fb[_0x496496(0x12a)]=null,_0x25a0fb[_0x496496(0x133)]=_0x25a0fb[_0x496496(0x151)],_0x25a0fb;},exports[a174_0x2e4421(0x140)]=(_0x655ce7,_0x3e9212)=>{const _0x1418ee=a174_0x2e4421,_0x3bac31={};_0x3bac31['ZrRbu']=_0x1418ee(0x15d);const _0x3329a3=_0x3bac31;if(!_0x3e9212){logger['debug'](_0x3329a3[_0x1418ee(0x180)]);return;}global[_0x1418ee(0x13d)]['set'](_0x3e9212,_0x655ce7);},exports['consumeHubUrlForSession']=_0x49aa27=>{const _0x3744fd=a174_0x2e4421;if(_0x49aa27&&global['newHubUrlBySession'][_0x3744fd(0x147)](_0x49aa27)){const _0x87b6f5=global['newHubUrlBySession']['get'](_0x49aa27);return global[_0x3744fd(0x13d)][_0x3744fd(0x131)](_0x49aa27),_0x87b6f5;}return'';},exports[a174_0x2e4421(0x15b)]=_0x3cce2c=>{const _0x347d41=a174_0x2e4421,_0x3b9c7a={'kfSMX':'_hubAllocationData','Ebrza':function(_0x5f245a,_0x3895ce){return _0x5f245a===_0x3895ce;},'NkgYs':_0x347d41(0x159),'RFxpl':function(_0x2b2f18,_0x193ac){return _0x2b2f18==_0x193ac;},'edLlE':function(_0x17f431,_0x28bc65){return _0x17f431===_0x28bc65;},'wbQQU':function(_0x266b8f){return _0x266b8f();},'xJYGt':function(_0x25c18f,_0x4ee1f0){return _0x25c18f!==_0x4ee1f0;},'EnJtd':function(_0x1a025a,_0x41ff10){return _0x1a025a+_0x41ff10;},'EOAUy':'https://','zNoBs':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','QjPcK':_0x347d41(0x128),'PzEhG':function(_0x33d347){return _0x33d347();},'xsEXd':function(_0x491b2a){return _0x491b2a();},'ssHHS':function(_0x59ae46){return _0x59ae46();}};return new Promise(_0x569bd8=>{const _0x437219=_0x347d41,_0x4f15c2={'mloEu':function(_0x588182,_0x86494e){return _0x3b9c7a['xJYGt'](_0x588182,_0x86494e);},'sYsxw':function(_0x28f358,_0x560892){const _0x2687b9=a174_0x37fa;return _0x3b9c7a[_0x2687b9(0x129)](_0x28f358,_0x560892);},'XhWBC':_0x3b9c7a[_0x437219(0x15e)],'uAtAq':_0x3b9c7a['zNoBs'],'TLEfX':_0x3b9c7a[_0x437219(0x14f)],'kogMk':function(_0x242a68,_0x5b4f17){return _0x3b9c7a['EnJtd'](_0x242a68,_0x5b4f17);},'SotWE':_0x3b9c7a[_0x437219(0x156)],'mnrxG':function(_0x1fce51){const _0x554fa3=_0x437219;return _0x3b9c7a[_0x554fa3(0x160)](_0x1fce51);},'hHZIc':function(_0x4e53db){return _0x3b9c7a['PzEhG'](_0x4e53db);},'UERCW':function(_0x66ef48){return _0x3b9c7a['xsEXd'](_0x66ef48);},'FxFpC':function(_0x1f4665){return _0x3b9c7a['xsEXd'](_0x1f4665);}};if(_0x3cce2c&&_0x3cce2c[_0x437219(0x130)]){const _0x2d1bc4=constants[_0x437219(0x164)][_0x3cce2c[_0x437219(0x130)]];if(_0x2d1bc4)return constants[_0x437219(0x15c)]=_0x2d1bc4,logger[_0x437219(0x173)](_0x437219(0x149)+_0x2d1bc4),globals['setGlobal'](_0x3b9c7a[_0x437219(0x14f)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x2d1bc4['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x437219(0x136)]()}),_0x3b9c7a['ssHHS'](_0x569bd8);logger[_0x437219(0x173)]('hubRegion\x20'+_0x3cce2c['hubRegion']+_0x437219(0x177));}Promise[_0x437219(0x144)](this[_0x437219(0x152)](_0x3cce2c))['then'](_0x2fa744=>{const _0x5d81da=_0x437219,_0xe148c8={'zvnqO':_0x3b9c7a[_0x5d81da(0x14f)],'NiwGp':function(_0x215a60,_0x37be3b){const _0x74e980=_0x5d81da;return _0x3b9c7a[_0x74e980(0x121)](_0x215a60,_0x37be3b);},'VqALq':_0x3b9c7a['NkgYs']};logger[_0x5d81da(0x173)](_0x5d81da(0x16a)+util[_0x5d81da(0x166)]('%j',_0x2fa744));if(_0x3b9c7a[_0x5d81da(0x162)](_0x2fa744,null)||_0x3b9c7a[_0x5d81da(0x178)](_0x2fa744[_0x5d81da(0x125)],0x0))return _0x3b9c7a['wbQQU'](_0x569bd8);const _0x8537e2=_0x2fa744[_0x5d81da(0x13f)](_0x496d32=>{const _0x339e35=_0x5d81da,_0xcf5bcf={'CNTzB':function(_0x33742b,_0x9b6c9a){const _0x3f9171=a174_0x37fa;return _0x4f15c2[_0x3f9171(0x163)](_0x33742b,_0x9b6c9a);}},_0x577a25=_0x4f15c2[_0x339e35(0x12b)](_0x4f15c2['XhWBC'],_0x496d32);return this[_0x339e35(0x150)](_0x3cce2c,_0x577a25)[_0x339e35(0x13b)](_0x1eda12=>{const _0x179452=_0x339e35;if(_0x1eda12&&_0x1eda12[_0x179452(0x15c)]&&_0xcf5bcf['CNTzB'](_0x1eda12[_0x179452(0x175)],undefined)){const _0x145c5a={};return _0x145c5a[_0x179452(0x15c)]=_0x1eda12['hubUrl'],_0x145c5a[_0x179452(0x175)]=_0x1eda12['latency'],_0x145c5a['ok']=!![],_0x145c5a;}const _0x571cd0={};return _0x571cd0[_0x179452(0x15c)]=_0x577a25,_0x571cd0[_0x179452(0x175)]=null,_0x571cd0['ok']=![],_0x571cd0;})[_0x339e35(0x155)](()=>({'hubUrl':_0x577a25,'latency':null,'ok':![]}));});Promise[_0x5d81da(0x157)](_0x8537e2['map'](_0x1aba66=>_0x1aba66[_0x5d81da(0x13b)](_0x5633e4=>_0x5633e4['ok']?_0x5633e4:null)))[_0x5d81da(0x13b)](_0x207a2b=>{const _0x49f21a=_0x5d81da;if(_0x207a2b)return _0x207a2b;return Promise[_0x49f21a(0x148)](_0x8537e2)['then'](()=>null);})['then'](_0x398c48=>{const _0x388b77=_0x5d81da;if(!_0x398c48){logger[_0x388b77(0x173)](_0x4f15c2[_0x388b77(0x168)]);const _0x808b3e=_0x4f15c2[_0x388b77(0x12b)](_0x4f15c2['XhWBC'],_0x2fa744[0x0]);return globals[_0x388b77(0x154)](_0x4f15c2['TLEfX'],{'nearestHubs':_0x2fa744[_0x388b77(0x13f)](_0x73adc4=>'https://'+_0x73adc4),'hubLatencies':{},'selectedHub':_0x808b3e,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x388b77(0x15c)]=_0x4f15c2[_0x388b77(0x13a)](_0x808b3e,_0x4f15c2[_0x388b77(0x17f)]),logger[_0x388b77(0x173)](_0x388b77(0x153)+_0x808b3e),_0x4f15c2['mnrxG'](_0x569bd8);}const _0x1fae05={[_0x398c48[_0x388b77(0x15c)]]:_0x398c48[_0x388b77(0x175)]},_0x34bc1d={'nearestHubs':_0x2fa744[_0x388b77(0x13f)](_0xcd2926=>_0x388b77(0x167)+_0xcd2926),'hubLatencies':_0x1fae05,'selectedHub':_0x398c48[_0x388b77(0x15c)],'selectedHubLatency':_0x398c48['latency'],'timestamp':Date[_0x388b77(0x136)]()};globals[_0x388b77(0x154)](_0x4f15c2[_0x388b77(0x15a)],_0x34bc1d),constants[_0x388b77(0x15c)]=_0x4f15c2[_0x388b77(0x12b)](_0x398c48['hubUrl'],_0x4f15c2[_0x388b77(0x17f)]),logger[_0x388b77(0x173)](_0x388b77(0x11f)+_0x398c48['hubUrl']),_0x4f15c2[_0x388b77(0x14a)](_0x569bd8),Promise[_0x388b77(0x161)](_0x8537e2)[_0x388b77(0x13b)](_0x2ae15a=>{const _0x3a7f7f=_0x388b77;try{const _0x533960=globals[_0x3a7f7f(0x17d)](_0xe148c8['zvnqO']);if(!_0x533960||_0x533960['skipped'])return;const _0x1b4886={};for(const _0x499517 of _0x2ae15a){_0xe148c8[_0x3a7f7f(0x122)](_0x499517[_0x3a7f7f(0x158)],_0xe148c8[_0x3a7f7f(0x14b)])&&_0x499517[_0x3a7f7f(0x17a)]&&_0x499517[_0x3a7f7f(0x17a)]['ok']&&(_0x1b4886[_0x499517[_0x3a7f7f(0x17a)][_0x3a7f7f(0x15c)]]=_0x499517[_0x3a7f7f(0x17a)][_0x3a7f7f(0x175)]);}_0x533960['hubLatencies']=_0x1b4886;}catch(_0x1800f0){logger[_0x3a7f7f(0x173)](_0x3a7f7f(0x169)+_0x1800f0);}})['catch'](_0x2b21df=>{const _0x499e73=_0x388b77;logger[_0x499e73(0x173)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x2b21df);});})[_0x5d81da(0x155)](_0x19c04d=>{const _0x311973=_0x5d81da;logger[_0x311973(0x173)]('ERROR\x20in\x20hub\x20selection:\x20'+_0x19c04d),_0x4f15c2[_0x311973(0x14c)](_0x569bd8);});})[_0x437219(0x155)](_0x2a50b8=>{const _0x20954b=_0x437219;logger[_0x20954b(0x173)](_0x20954b(0x137)+_0x2a50b8),_0x4f15c2[_0x20954b(0x143)](_0x569bd8);});});},exports['findLatency']=async(_0x5afbbc,_0x59e307)=>{const _0x65d60=a174_0x2e4421,_0x41c694={};_0x41c694[_0x65d60(0x138)]='GET',_0x41c694[_0x65d60(0x132)]=_0x65d60(0x134),_0x41c694[_0x65d60(0x142)]=function(_0x129345,_0x4b3b31){return _0x129345-_0x4b3b31;};const _0x3431ed=_0x41c694;try{const _0x168a2c=new Date();await helper[_0x65d60(0x146)](_0x3431ed['nVwek'],_0x3431ed[_0x65d60(0x132)],{},_0x5afbbc,_0x59e307,0x1388);const _0x3a1771=_0x3431ed[_0x65d60(0x142)](new Date(),_0x168a2c);logger[_0x65d60(0x173)](_0x65d60(0x126)+_0x59e307+'\x20is:\x20'+_0x3a1771+'ms');const _0x2528b3={};return _0x2528b3[_0x65d60(0x15c)]=_0x59e307,_0x2528b3[_0x65d60(0x175)]=_0x3a1771,_0x2528b3;}catch(_0x4d7624){return logger[_0x65d60(0x173)](_0x65d60(0x17c)+_0x59e307+'\x20HUB\x20-\x20'+_0x4d7624),{};}},exports[a174_0x2e4421(0x152)]=async _0x2676ab=>{const _0x26a3ce=a174_0x2e4421,_0x208c58={'tSsYi':function(_0x3ffecd,_0x3ea6f8){return _0x3ffecd(_0x3ea6f8);},'XaRXi':'./bin/utils/constants','wStBN':'/wd/hub','eujSC':_0x26a3ce(0x13e),'qZadW':_0x26a3ce(0x15f)};try{const _0x4fb2de=_0x208c58[_0x26a3ce(0x16c)](require,_0x208c58[_0x26a3ce(0x12d)])[_0x26a3ce(0x15c)]['replace'](_0x208c58[_0x26a3ce(0x145)],''),_0x7d08ab=await helper[_0x26a3ce(0x146)](_0x208c58[_0x26a3ce(0x165)],_0x208c58[_0x26a3ce(0x14d)],{},_0x2676ab,_0x4fb2de,0x1388),_0x1d4939=_0x7d08ab[_0x26a3ce(0x13c)];return logger[_0x26a3ce(0x173)]('Response:\x20'+util[_0x26a3ce(0x166)]('%j',_0x1d4939)),_0x1d4939[_0x26a3ce(0x179)];}catch(_0x123ece){logger[_0x26a3ce(0x173)](_0x26a3ce(0x12e)+_0x123ece);}return null;};
|
|
1
|
+
const a174_0x432328=a174_0x1a56;(function(_0x4e8348,_0x2b2ad8){const _0x349af2=a174_0x1a56,_0x2147a5=_0x4e8348();while(!![]){try{const _0x38f7fc=-parseInt(_0x349af2(0x99))/0x1+parseInt(_0x349af2(0xb6))/0x2+-parseInt(_0x349af2(0x8e))/0x3+parseInt(_0x349af2(0x8a))/0x4+parseInt(_0x349af2(0xbf))/0x5+-parseInt(_0x349af2(0xa2))/0x6+parseInt(_0x349af2(0xc5))/0x7;if(_0x38f7fc===_0x2b2ad8)break;else _0x2147a5['push'](_0x2147a5['shift']());}catch(_0x3e017d){_0x2147a5['push'](_0x2147a5['shift']());}}}(a174_0x2169,0x26b78));function a174_0x1a56(_0x8764c8,_0x2d69cd){const _0x21693e=a174_0x2169();return a174_0x1a56=function(_0x1a56f7,_0x835fd){_0x1a56f7=_0x1a56f7-0x6d;let _0x56df67=_0x21693e[_0x1a56f7];return _0x56df67;},a174_0x1a56(_0x8764c8,_0x2d69cd);}const url=require(a174_0x432328(0xa1)),util=require(a174_0x432328(0x77)),helper=require(a174_0x432328(0x70)),logger=require(a174_0x432328(0xb8))[a174_0x432328(0xce)],constants=require(a174_0x432328(0xcc)),globals=require(a174_0x432328(0xd3));function a174_0x2169(){const _0x4d9d57=['allSettled','then','REGzZ','Invalid\x20new\x20HUB\x20URL:\x20','length','./helpers/helper','nextHubs','yvFVo','CajrU','format','VLpSM','NpjtA','util','vnXjq','BFUfn','QrQmT','set','findLatency','Tjpag','hubUrl','delete','SJdNu','now','Qziuf','pathname','_hubAllocationData','parse','has','setGlobal','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','next_hubs','76520YMhfXt','getGlobal','AyAcC','hubRegion','922836mUhzPJ','lZbVQ','status','debug','ERROR\x20in\x20hub\x20selection:\x20','consumeHubUrlForSession','nodeRequest','replace','\x20is:\x20','nNEGU','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','176801pPdhIE','iXYZW','nOnXM','updateHubUrl','get','hubLatencies','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','HUB_URL_MAP','url','1866786YaXMWa','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','JvlZC','hostname','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','hubRegion\x20','race','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','LUvqf','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','DPSPf','ISSnj','cYQmd','HUB\x20URL\x20SET\x20TO\x20-\x20','map','GvJHb','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','value','lrEgV','\x20HUB\x20-\x20','274780SXMmms','data','./helpers/logger','path','/wd/hub','latency','Execution\x20time\x20for\x20','GZmxR','BoHUI','728445qSMKHe','cNjlA','skipped','nCmIe','https://','fulfilled','4563433tQhacd','CWlBZ','NEAREST\x20HUBS\x20LIST:\x20','allocateHub','catch','ovrPe','eQVuj','./bin/utils/constants','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','winstonLogger','resolve','qlBMg','check','xmHMF','./helpers/globals','wUVcX','GET','Vbpan','newHubUrlBySession'];a174_0x2169=function(){return _0x4d9d57;};return a174_0x2169();}global[a174_0x432328(0xd7)]=global[a174_0x432328(0xd7)]||new Map(),exports['getRequestOptions']=_0x4d7640=>{const _0x559430=a174_0x432328,_0x53ce29={};_0x53ce29['lZbVQ']=function(_0x5db452,_0x3387b5){return _0x5db452+_0x3387b5;},_0x53ce29[_0x559430(0xcb)]=_0x559430(0x6e);const _0x299150=_0x53ce29,_0x1199fa=url[_0x559430(0x85)](_0x4d7640);if(!_0x1199fa[_0x559430(0xa5)])throw new Error(_0x299150[_0x559430(0x8f)](_0x299150[_0x559430(0xcb)],_0x4d7640));return _0x1199fa['search']=null,_0x1199fa['hash']=null,_0x1199fa[_0x559430(0xb9)]=_0x1199fa[_0x559430(0x83)],_0x1199fa;},exports[a174_0x432328(0x9c)]=(_0x4a4f9f,_0x4d9f23)=>{const _0x256b2=a174_0x432328,_0x2dbeab={};_0x2dbeab[_0x256b2(0xb1)]=_0x256b2(0xa9);const _0x3e82fe=_0x2dbeab;if(!_0x4d9f23){logger[_0x256b2(0x91)](_0x3e82fe[_0x256b2(0xb1)]);return;}global['newHubUrlBySession'][_0x256b2(0x7b)](_0x4d9f23,_0x4a4f9f);},exports[a174_0x432328(0x93)]=_0x13d59f=>{const _0x135cba=a174_0x432328;if(_0x13d59f&&global[_0x135cba(0xd7)][_0x135cba(0x86)](_0x13d59f)){const _0x158d04=global[_0x135cba(0xd7)][_0x135cba(0x9d)](_0x13d59f);return global[_0x135cba(0xd7)][_0x135cba(0x7f)](_0x13d59f),_0x158d04;}return'';},exports[a174_0x432328(0xc8)]=_0x37c522=>{const _0x56d272=a174_0x432328,_0x2a1d18={'NUBhn':function(_0x464983,_0x4bb02c){return _0x464983!==_0x4bb02c;},'BoHUI':function(_0x545c23,_0x5d1e0b){return _0x545c23+_0x5d1e0b;},'LUvqf':'https://','qlBMg':_0x56d272(0x84),'Qziuf':function(_0x41ffd2,_0x3a249d){return _0x41ffd2===_0x3a249d;},'NNWVJ':_0x56d272(0xc4),'VRsPt':_0x56d272(0x98),'SJdNu':'/wd/hub','ovrPe':function(_0x13e472){return _0x13e472();},'Vbpan':function(_0x3d57fc,_0x5a5a1d){return _0x3d57fc+_0x5a5a1d;},'OiCrJ':function(_0x2b323f,_0x2202e8){return _0x2b323f==_0x2202e8;},'DPSPf':function(_0x3741ea){return _0x3741ea();}};return new Promise(_0x241458=>{const _0x4c8185=_0x56d272,_0x44fdc6={'zCZyt':function(_0x444562,_0x45d5f9){return _0x2a1d18['NUBhn'](_0x444562,_0x45d5f9);},'REGzZ':function(_0x35bf7f,_0x2327a9){const _0x6e34dd=a174_0x1a56;return _0x2a1d18[_0x6e34dd(0xbe)](_0x35bf7f,_0x2327a9);},'yvFVo':_0x2a1d18[_0x4c8185(0xaa)],'lrEgV':_0x2a1d18[_0x4c8185(0xd0)],'ISSnj':function(_0x47c16b,_0x5b7225){const _0xebe01b=_0x4c8185;return _0x2a1d18[_0xebe01b(0x82)](_0x47c16b,_0x5b7225);},'GZmxR':_0x2a1d18['NNWVJ'],'JvlZC':_0x2a1d18['VRsPt'],'FTERC':_0x2a1d18[_0x4c8185(0x80)],'nNEGU':function(_0x545557){const _0xe15236=_0x4c8185;return _0x2a1d18[_0xe15236(0xca)](_0x545557);},'CWlBZ':function(_0x558f2e,_0x2c19ec){const _0x437a57=_0x4c8185;return _0x2a1d18[_0x437a57(0xd6)](_0x558f2e,_0x2c19ec);},'lpgUO':function(_0x3f285a,_0x3e87cd){return _0x2a1d18['OiCrJ'](_0x3f285a,_0x3e87cd);},'jlIXW':function(_0x5524e7){return _0x2a1d18['ovrPe'](_0x5524e7);}};if(_0x37c522&&_0x37c522[_0x4c8185(0x8d)]){const _0x96a418=constants[_0x4c8185(0xa0)][_0x37c522[_0x4c8185(0x8d)]];if(_0x96a418)return constants[_0x4c8185(0x7e)]=_0x96a418,logger[_0x4c8185(0x91)](_0x4c8185(0xa3)+_0x96a418),globals[_0x4c8185(0x87)](_0x2a1d18[_0x4c8185(0xd0)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x96a418[_0x4c8185(0x95)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x4c8185(0x81)]()}),_0x2a1d18[_0x4c8185(0xac)](_0x241458);logger[_0x4c8185(0x91)](_0x4c8185(0xa7)+_0x37c522[_0x4c8185(0x8d)]+_0x4c8185(0xab));}Promise[_0x4c8185(0xcf)](this[_0x4c8185(0x71)](_0x37c522))[_0x4c8185(0xd9)](_0x5f58b0=>{const _0x244dd2=_0x4c8185,_0x2b75f5={'cYQmd':function(_0x24f73c,_0x5a6c5b){return _0x44fdc6['zCZyt'](_0x24f73c,_0x5a6c5b);},'cNjlA':function(_0x158a18,_0x4bb863){const _0x58a25a=a174_0x1a56;return _0x44fdc6[_0x58a25a(0x6d)](_0x158a18,_0x4bb863);},'AyAcC':_0x44fdc6[_0x244dd2(0x72)],'VLpSM':_0x44fdc6[_0x244dd2(0xb4)],'mSWEj':function(_0x509082,_0x5351d0){const _0x3abb45=_0x244dd2;return _0x44fdc6[_0x3abb45(0xad)](_0x509082,_0x5351d0);},'nriKd':_0x44fdc6[_0x244dd2(0xbd)],'Wkrnz':_0x44fdc6[_0x244dd2(0xa4)],'lLmAc':function(_0x129aa3,_0x4d173e){return _0x44fdc6['REGzZ'](_0x129aa3,_0x4d173e);},'vnXjq':_0x44fdc6['FTERC'],'nOnXM':function(_0x2ba81d){const _0x52813d=_0x244dd2;return _0x44fdc6[_0x52813d(0x97)](_0x2ba81d);},'NpjtA':function(_0x51c025,_0x13a04c){const _0x5cd316=_0x244dd2;return _0x44fdc6[_0x5cd316(0xc6)](_0x51c025,_0x13a04c);},'NGTWW':function(_0x420238){const _0x87aa21=_0x244dd2;return _0x44fdc6[_0x87aa21(0x97)](_0x420238);},'QrQmT':function(_0x1d4345){const _0x35fb1f=_0x244dd2;return _0x44fdc6[_0x35fb1f(0x97)](_0x1d4345);}};logger['debug'](_0x244dd2(0xc7)+util[_0x244dd2(0x74)]('%j',_0x5f58b0));if(_0x44fdc6['lpgUO'](_0x5f58b0,null)||_0x44fdc6['ISSnj'](_0x5f58b0[_0x244dd2(0x6f)],0x0))return _0x44fdc6['jlIXW'](_0x241458);const _0x6b9861=_0x5f58b0['map'](_0x264c96=>{const _0x1e0a96=_0x244dd2,_0x544609={'tGcpR':function(_0x7ae85e,_0x1c328b){const _0x29075f=a174_0x1a56;return _0x2b75f5[_0x29075f(0xae)](_0x7ae85e,_0x1c328b);}},_0x417774=_0x2b75f5['cNjlA'](_0x2b75f5[_0x1e0a96(0x8c)],_0x264c96);return this[_0x1e0a96(0x7c)](_0x37c522,_0x417774)[_0x1e0a96(0xd9)](_0x35ed77=>{const _0x83bffd=_0x1e0a96;if(_0x35ed77&&_0x35ed77['hubUrl']&&_0x544609['tGcpR'](_0x35ed77[_0x83bffd(0xbb)],undefined)){const _0x598522={};return _0x598522['hubUrl']=_0x35ed77['hubUrl'],_0x598522[_0x83bffd(0xbb)]=_0x35ed77[_0x83bffd(0xbb)],_0x598522['ok']=!![],_0x598522;}const _0x358c27={};return _0x358c27[_0x83bffd(0x7e)]=_0x417774,_0x358c27['latency']=null,_0x358c27['ok']=![],_0x358c27;})[_0x1e0a96(0xc9)](()=>({'hubUrl':_0x417774,'latency':null,'ok':![]}));});Promise[_0x244dd2(0xa8)](_0x6b9861[_0x244dd2(0xb0)](_0x257504=>_0x257504[_0x244dd2(0xd9)](_0x577d26=>_0x577d26['ok']?_0x577d26:null)))[_0x244dd2(0xd9)](_0x1b2912=>{const _0x48c642=_0x244dd2;if(_0x1b2912)return _0x1b2912;return Promise['all'](_0x6b9861)[_0x48c642(0xd9)](()=>null);})['then'](_0x488e40=>{const _0x4c965d=_0x244dd2,_0x13ee89={'xmHMF':_0x2b75f5[_0x4c965d(0x75)],'Krfqq':function(_0x11c5c2,_0x98f33b){return _0x2b75f5['mSWEj'](_0x11c5c2,_0x98f33b);},'CajrU':_0x2b75f5['nriKd']};if(!_0x488e40){logger[_0x4c965d(0x91)](_0x2b75f5['Wkrnz']);const _0x2a2659=_0x2b75f5['lLmAc'](_0x2b75f5['AyAcC'],_0x5f58b0[0x0]);return globals[_0x4c965d(0x87)](_0x2b75f5['VLpSM'],{'nearestHubs':_0x5f58b0[_0x4c965d(0xb0)](_0x23a47f=>_0x4c965d(0xc3)+_0x23a47f),'hubLatencies':{},'selectedHub':_0x2a2659,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x4c965d(0x7e)]=_0x2b75f5[_0x4c965d(0xc0)](_0x2a2659,_0x2b75f5[_0x4c965d(0x78)]),logger[_0x4c965d(0x91)](_0x4c965d(0x88)+_0x2a2659),_0x2b75f5[_0x4c965d(0x9b)](_0x241458);}const _0x2d83ef={[_0x488e40[_0x4c965d(0x7e)]]:_0x488e40['latency']},_0x2bdde7={'nearestHubs':_0x5f58b0[_0x4c965d(0xb0)](_0x5dbb31=>_0x4c965d(0xc3)+_0x5dbb31),'hubLatencies':_0x2d83ef,'selectedHub':_0x488e40[_0x4c965d(0x7e)],'selectedHubLatency':_0x488e40['latency'],'timestamp':Date[_0x4c965d(0x81)]()};globals[_0x4c965d(0x87)](_0x2b75f5[_0x4c965d(0x75)],_0x2bdde7),constants['hubUrl']=_0x2b75f5[_0x4c965d(0x76)](_0x488e40[_0x4c965d(0x7e)],_0x2b75f5[_0x4c965d(0x78)]),logger[_0x4c965d(0x91)](_0x4c965d(0xaf)+_0x488e40[_0x4c965d(0x7e)]),_0x2b75f5['NGTWW'](_0x241458),Promise[_0x4c965d(0xd8)](_0x6b9861)[_0x4c965d(0xd9)](_0xabe8ee=>{const _0x3eaf86=_0x4c965d;try{const _0x399d14=globals[_0x3eaf86(0x8b)](_0x13ee89[_0x3eaf86(0xd2)]);if(!_0x399d14||_0x399d14[_0x3eaf86(0xc1)])return;const _0x391aa9={};for(const _0x509d47 of _0xabe8ee){_0x13ee89['Krfqq'](_0x509d47[_0x3eaf86(0x90)],_0x13ee89[_0x3eaf86(0x73)])&&_0x509d47[_0x3eaf86(0xb3)]&&_0x509d47[_0x3eaf86(0xb3)]['ok']&&(_0x391aa9[_0x509d47[_0x3eaf86(0xb3)]['hubUrl']]=_0x509d47['value'][_0x3eaf86(0xbb)]);}_0x399d14[_0x3eaf86(0x9e)]=_0x391aa9;}catch(_0x3c5752){logger[_0x3eaf86(0x91)](_0x3eaf86(0xb2)+_0x3c5752);}})['catch'](_0x421e7b=>{const _0x3ca5c2=_0x4c965d;logger['debug'](_0x3ca5c2(0x9f)+_0x421e7b);});})[_0x244dd2(0xc9)](_0x632d75=>{const _0x16c215=_0x244dd2;logger[_0x16c215(0x91)](_0x16c215(0x92)+_0x632d75),_0x2b75f5[_0x16c215(0x7a)](_0x241458);});})[_0x4c8185(0xc9)](_0x56b30d=>{const _0x1958b3=_0x4c8185;logger[_0x1958b3(0x91)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x56b30d),_0x44fdc6[_0x1958b3(0x97)](_0x241458);});});},exports[a174_0x432328(0x7c)]=async(_0x50f1dc,_0x1f3f94)=>{const _0x492582=a174_0x432328,_0xfe7797={};_0xfe7797['BFUfn']=_0x492582(0xd5),_0xfe7797['zicYi']=_0x492582(0xd1),_0xfe7797[_0x492582(0xc2)]=function(_0x51a72a,_0x45077d){return _0x51a72a-_0x45077d;};const _0xd9a0fa=_0xfe7797;try{const _0x493480=new Date();await helper[_0x492582(0x94)](_0xd9a0fa[_0x492582(0x79)],_0xd9a0fa['zicYi'],{},_0x50f1dc,_0x1f3f94,0x1388);const _0x54dd8b=_0xd9a0fa[_0x492582(0xc2)](new Date(),_0x493480);logger[_0x492582(0x91)](_0x492582(0xbc)+_0x1f3f94+_0x492582(0x96)+_0x54dd8b+'ms');const _0x33b513={};return _0x33b513[_0x492582(0x7e)]=_0x1f3f94,_0x33b513[_0x492582(0xbb)]=_0x54dd8b,_0x33b513;}catch(_0x14b53a){return logger[_0x492582(0x91)](_0x492582(0xcd)+_0x1f3f94+_0x492582(0xb5)+_0x14b53a),{};}},exports['nextHubs']=async _0xaa6f76=>{const _0x33d43e=a174_0x432328,_0x2e5cd7={'wUVcX':function(_0x1827b7,_0x30f1ad){return _0x1827b7(_0x30f1ad);},'iXYZW':_0x33d43e(0xcc),'Tjpag':_0x33d43e(0xba),'SjDRB':_0x33d43e(0xd5),'iasLY':_0x33d43e(0x89)};try{const _0x25c930=_0x2e5cd7[_0x33d43e(0xd4)](require,_0x2e5cd7[_0x33d43e(0x9a)])[_0x33d43e(0x7e)][_0x33d43e(0x95)](_0x2e5cd7[_0x33d43e(0x7d)],''),_0x1acff0=await helper['nodeRequest'](_0x2e5cd7['SjDRB'],_0x2e5cd7['iasLY'],{},_0xaa6f76,_0x25c930,0x1388),_0x48d54e=_0x1acff0[_0x33d43e(0xb7)];return logger[_0x33d43e(0x91)]('Response:\x20'+util[_0x33d43e(0x74)]('%j',_0x48d54e)),_0x48d54e['hubs'];}catch(_0x4c7017){logger[_0x33d43e(0x91)](_0x33d43e(0xa6)+_0x4c7017);}return null;};
|