browserstack-node-sdk 1.70.1 → 1.70.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a178_0x285c(_0x420820,_0x48fda2){const _0x1e36be=a178_0x1e36();return a178_0x285c=function(_0x285c43,_0x2de37a){_0x285c43=_0x285c43-0x1ca;let _0xbbdef7=_0x1e36be[_0x285c43];return _0xbbdef7;},a178_0x285c(_0x420820,_0x48fda2);}const a178_0x2b3f2f=a178_0x285c;(function(_0x39b0ad,_0x51d250){const _0x1d3de4=a178_0x285c,_0x2f6e99=_0x39b0ad();while(!![]){try{const _0x596325=parseInt(_0x1d3de4(0x28a))/0x1+-parseInt(_0x1d3de4(0x255))/0x2*(-parseInt(_0x1d3de4(0x22d))/0x3)+parseInt(_0x1d3de4(0x1e7))/0x4*(parseInt(_0x1d3de4(0x222))/0x5)+parseInt(_0x1d3de4(0x262))/0x6*(parseInt(_0x1d3de4(0x28d))/0x7)+-parseInt(_0x1d3de4(0x1ee))/0x8*(parseInt(_0x1d3de4(0x239))/0x9)+-parseInt(_0x1d3de4(0x23f))/0xa*(-parseInt(_0x1d3de4(0x293))/0xb)+-parseInt(_0x1d3de4(0x202))/0xc;if(_0x596325===_0x51d250)break;else _0x2f6e99['push'](_0x2f6e99['shift']());}catch(_0xf9dfbc){_0x2f6e99['push'](_0x2f6e99['shift']());}}}(a178_0x1e36,0x1d0bf));const bsSetupHelper=require(a178_0x2b3f2f(0x2a3)),LoadTestModule=require(a178_0x2b3f2f(0x20b)),{isTestObservabilitySession,getFrameworkVersion}=require(a178_0x2b3f2f(0x244)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require('../logger')['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a178_0x2b3f2f(0x2a4)),globals=require(a178_0x2b3f2f(0x24c)),testHubConstants=require(a178_0x2b3f2f(0x282)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a178_0x2b3f2f(0x1f2)),{FRAMEWORKS}=require(a178_0x2b3f2f(0x1ed)),{isTurboScaleSession}=require(a178_0x2b3f2f(0x1f0)),OrchestrationUtils=require(a178_0x2b3f2f(0x295)),constants=require('../../bin/utils/constants.js');let testData={};exports[a178_0x2b3f2f(0x246)]=_0x10f8a4=>{const _0x2bb4c6=a178_0x2b3f2f,_0x5397fd={'UtWFH':function(_0x346512){return _0x346512();},'csSBC':function(_0x2d62c0,_0x7cf2a1){return _0x2d62c0===_0x7cf2a1;},'laUui':_0x2bb4c6(0x289)};let _0x7248a9=![],_0x510488=![];if(bsSetupHelper[_0x2bb4c6(0x22c)]()&&bsSetupHelper['isAppAutomateSession'](_0x10f8a4))_0x510488=!![];else bsSetupHelper[_0x2bb4c6(0x22c)]()&&(_0x7248a9=!![]);return Object[_0x2bb4c6(0x1f4)]({'observability':_0x5397fd[_0x2bb4c6(0x212)](isTestObservabilitySession),'accessibility':exports[_0x2bb4c6(0x24b)](_0x10f8a4),'percy':_0x10f8a4['percy']||![],'sr_automation':_0x5397fd[_0x2bb4c6(0x1ff)](process['env'][_0x2bb4c6(0x249)],_0x5397fd[_0x2bb4c6(0x292)])||_0x10f8a4[_0x2bb4c6(0x1d2)]||![],'automate':_0x7248a9,'app_automate':_0x510488,'turboscale':bsSetupHelper[_0x2bb4c6(0x290)](_0x10f8a4),'lts':LoadTestModule[_0x2bb4c6(0x241)](_0x10f8a4)},bsSetupHelper[_0x2bb4c6(0x276)]());},exports['getFrameworkDetails']=(_0xc278f6,_0x492cc5)=>{const _0x1e493e=a178_0x2b3f2f,_0x2b1dbb={'JdvoT':function(_0x560b8d,_0x43316e){return _0x560b8d(_0x43316e);},'gCMjx':_0x1e493e(0x21d)},_0x49dc3a={'frameworkName':_0x492cc5,'frameworkVersion':_0x2b1dbb['JdvoT'](getFrameworkVersion,_0x492cc5),'sdkVersion':bsSetupHelper[_0x1e493e(0x1e2)](),'language':_0x2b1dbb[_0x1e493e(0x221)],'testFramework':bsSetupHelper[_0x1e493e(0x1f1)](_0xc278f6,_0x492cc5)};return process[_0x1e493e(0x219)]['FRAMEWORK_DETAILS']=JSON[_0x1e493e(0x243)](_0x49dc3a),_0x49dc3a;},exports[a178_0x2b3f2f(0x1d3)]=_0x2393c8=>{const _0x31e52c=a178_0x2b3f2f,_0x155040={};_0x155040['MMWsp']=_0x31e52c(0x1dc),_0x155040[_0x31e52c(0x22a)]='true';const _0x234417=_0x155040;process[_0x31e52c(0x219)][_0x31e52c(0x280)]=_0x234417[_0x31e52c(0x258)],bsSetupHelper['isTrue'](_0x2393c8[_0x31e52c(0x286)][_0x31e52c(0x209)])&&(!_0x2393c8[_0x31e52c(0x209)]||!_0x2393c8[_0x31e52c(0x209)][_0x31e52c(0x28b)]())&&(process[_0x31e52c(0x219)][_0x31e52c(0x280)]=_0x234417[_0x31e52c(0x22a)]);},exports['isPercyBuild']=()=>{const _0x2bf3cb=a178_0x2b3f2f;return bsSetupHelper[_0x2bf3cb(0x25f)](process[_0x2bf3cb(0x219)]['BROWSERSTACK_PERCY']);},exports[a178_0x2b3f2f(0x24b)]=(_0x32e519={})=>{const _0x4d5bf0=a178_0x2b3f2f,_0x16bbda={};_0x16bbda[_0x4d5bf0(0x1e0)]=function(_0x5c6c82,_0x27a80a){return _0x5c6c82!==_0x27a80a;},_0x16bbda[_0x4d5bf0(0x20e)]=function(_0x1e4ca2,_0x2b22bf){return _0x1e4ca2===_0x2b22bf;},_0x16bbda['eWvtp']='true',_0x16bbda['Wdval']=function(_0x4bc40e,_0xb25820){return _0x4bc40e>_0xb25820;},_0x16bbda[_0x4d5bf0(0x29f)]=function(_0x480311,_0xaf35fe){return _0x480311===_0xaf35fe;};const _0x26cc3f=_0x16bbda;if(_0x26cc3f[_0x4d5bf0(0x1e0)](process['env'][_0x4d5bf0(0x20c)],undefined))return bsSetupHelper[_0x4d5bf0(0x25f)](process[_0x4d5bf0(0x219)][_0x4d5bf0(0x20c)]);let _0x3d57a7=_0x26cc3f['YfSlI'](process[_0x4d5bf0(0x219)][_0x4d5bf0(0x1e4)],_0x26cc3f[_0x4d5bf0(0x27f)]);return _0x26cc3f[_0x4d5bf0(0x22b)](Object['keys'](_0x32e519)[_0x4d5bf0(0x21a)],0x0)&&(process[_0x4d5bf0(0x219)][_0x4d5bf0(0x21b)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x32e519)),_0x3d57a7=_0x3d57a7||_0x26cc3f[_0x4d5bf0(0x29f)](process[_0x4d5bf0(0x219)][_0x4d5bf0(0x21b)],_0x26cc3f[_0x4d5bf0(0x27f)]),_0x3d57a7;},exports['setTestObservabilityVariables']=(_0x1ad0c8,_0x18576e)=>{const _0x4aba69=a178_0x2b3f2f,_0x9405d={'gdaff':function(_0x292165){return _0x292165();},'tqelt':_0x4aba69(0x21e),'aowJP':function(_0x1edc93,_0xdb62c,_0x3d70ae){return _0x1edc93(_0xdb62c,_0x3d70ae);},'xIZRf':'observability','rNKED':_0x4aba69(0x1eb),'vriZH':_0x4aba69(0x289)};if(!_0x1ad0c8||!_0x1ad0c8[_0x4aba69(0x1cb)])return exports[_0x4aba69(0x29d)](),[null,null,null];if(!_0x1ad0c8[_0x4aba69(0x1cb)][_0x4aba69(0x251)])return exports['handleErrorForObservability'](_0x1ad0c8[_0x4aba69(0x1cb)]),[null,null,null];if(_0x9405d[_0x4aba69(0x228)](isTestObservabilitySession)){const _0x55c214=_0x9405d[_0x4aba69(0x1ec)][_0x4aba69(0x23d)]('|');let _0x2dfb45=0x0;while(!![]){switch(_0x55c214[_0x2dfb45++]){case'0':return[_0x1ad0c8[_0x4aba69(0x1dd)],_0x1ad0c8[_0x4aba69(0x1d6)],process['env'][_0x4aba69(0x1d7)]];case'1':if(_0x1ad0c8[_0x4aba69(0x1dd)]){process['env'][_0x4aba69(0x2a0)]=_0x1ad0c8['jwt'];const _0x5cdff2={};_0x5cdff2[_0x4aba69(0x298)]=_0x18576e['username'],_0x5cdff2['password']=_0x18576e[_0x4aba69(0x1d4)],process['env']['CREDENTIALS_FOR_CRASH_REPORTING']=JSON['stringify'](_0x5cdff2);}continue;case'2':logger[_0x4aba69(0x275)]('['+constants[_0x4aba69(0x1f8)]+_0x4aba69(0x1cd)+_0x1ad0c8['build_hashed_id']);continue;case'3':_0x1ad0c8[_0x4aba69(0x1d6)]&&(process[_0x4aba69(0x219)][_0x4aba69(0x226)]=_0x1ad0c8[_0x4aba69(0x1d6)]);continue;case'4':_0x9405d['aowJP'](nestedKeyValue,_0x1ad0c8,[_0x9405d[_0x4aba69(0x1da)],_0x9405d['rNKED']])&&(process[_0x4aba69(0x219)][_0x4aba69(0x1d7)]=_0x1ad0c8[_0x4aba69(0x1cb)]['options'][_0x4aba69(0x20d)][_0x4aba69(0x1f9)]());continue;case'5':process[_0x4aba69(0x219)][_0x4aba69(0x215)]=_0x9405d[_0x4aba69(0x242)];continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x1ef55a=>{const _0x126a7e=a178_0x2b3f2f,_0x5a2e1c={'oIVgD':function(_0x79eea4,_0x56ef2e,_0x46e961){return _0x79eea4(_0x56ef2e,_0x46e961);},'TXFuc':'accessibility','fNVtf':_0x126a7e(0x1eb),'EcCbA':function(_0xdb1f48,_0x521e6e,_0x5e0f23,_0x1e8fa7){return _0xdb1f48(_0x521e6e,_0x5e0f23,_0x1e8fa7);},'yJLVc':'name','mBRUM':_0x126a7e(0x260),'qdGZG':_0x126a7e(0x205),'qGySQ':'commands','nXwGX':function(_0x33aa46,_0x2ef5c3,_0x4074ac,_0x2af822){return _0x33aa46(_0x2ef5c3,_0x4074ac,_0x2af822);},'egOai':_0x126a7e(0x220),'NKELS':_0x126a7e(0x257),'gXlit':function(_0x283680,_0x3e3d03){return _0x283680(_0x3e3d03);},'FNsIe':function(_0x450db6,_0x51e593){return _0x450db6===_0x51e593;},'AAznE':function(_0x4c6763,_0x101d8d){return _0x4c6763===_0x101d8d;},'qTZsA':_0x126a7e(0x289),'vPalt':_0x126a7e(0x283)};if(!_0x1ef55a[_0x126a7e(0x1e1)])return exports[_0x126a7e(0x227)](),[null,null];if(!_0x1ef55a[_0x126a7e(0x1e1)]['success'])return exports['handleErrorForAccessibility'](_0x1ef55a[_0x126a7e(0x1e1)]),[null,null];if(_0x5a2e1c[_0x126a7e(0x263)](nestedKeyValue,_0x1ef55a,[_0x5a2e1c['TXFuc'],_0x5a2e1c[_0x126a7e(0x1f7)]])){const {accessibilityToken:_0x2d1e6b,scannerVersion:_0x16f112,scannerProcessingTimeout:_0x1b4af9,isMobileScanningEnabledForGroup:_0x22b82e}=_0x5a2e1c[_0x126a7e(0x1fa)](jsonifyAccessibilityArray,_0x1ef55a['accessibility']['options']['capabilities'],_0x5a2e1c[_0x126a7e(0x27e)],_0x5a2e1c[_0x126a7e(0x288)]),_0x4da18b={'scripts':_0x5a2e1c[_0x126a7e(0x1fa)](jsonifyAccessibilityArray,_0x1ef55a['accessibility']['options'][_0x126a7e(0x27d)],_0x5a2e1c['yJLVc'],_0x5a2e1c[_0x126a7e(0x28f)])};_0x4da18b[_0x5a2e1c[_0x126a7e(0x20f)]]=_0x1ef55a[_0x126a7e(0x1e1)][_0x126a7e(0x1eb)][_0x126a7e(0x248)][_0x126a7e(0x274)];const _0x18c87f=_0x5a2e1c[_0x126a7e(0x223)](jsonifyAccessibilityArray,_0x1ef55a['accessibility'][_0x126a7e(0x1eb)][_0x126a7e(0x299)],_0x5a2e1c[_0x126a7e(0x27e)],_0x5a2e1c[_0x126a7e(0x288)]);_0x4da18b[_0x5a2e1c[_0x126a7e(0x284)]]=_0x18c87f[_0x5a2e1c['NKELS']],scripts['parseFromJson'](_0x4da18b),scripts['toJson']();let _0x367a94=process[_0x126a7e(0x219)][_0x126a7e(0x200)];_0x367a94=!!_0x367a94?JSON[_0x126a7e(0x287)](_0x367a94):{},_0x367a94['scannerVersion']=_0x16f112,process[_0x126a7e(0x219)][_0x126a7e(0x200)]=JSON[_0x126a7e(0x243)](_0x367a94),process[_0x126a7e(0x219)][_0x126a7e(0x229)]=_0x2d1e6b,process[_0x126a7e(0x219)][_0x126a7e(0x236)]=_0x5a2e1c[_0x126a7e(0x1d9)](String,_0x5a2e1c[_0x126a7e(0x1d0)](_0x22b82e,!![])||_0x5a2e1c[_0x126a7e(0x224)](_0x22b82e,_0x5a2e1c['qTZsA'])),logger[_0x126a7e(0x275)](_0x126a7e(0x1e8)+_0x1ef55a['build_hashed_id']);const _0x586546=accessibilityHelper['parseA11yJwtPayload'](_0x2d1e6b);return _0x586546&&bsSetupHelper[_0x126a7e(0x25f)](_0x586546[_0x126a7e(0x26c)])&&(process[_0x126a7e(0x219)][_0x126a7e(0x252)]=!![],logger[_0x126a7e(0x275)](_0x5a2e1c[_0x126a7e(0x204)])),[_0x2d1e6b,_0x1ef55a['build_hashed_id'],_0x1b4af9];}return[null,null];},exports[a178_0x2b3f2f(0x29d)]=_0x3fd9be=>{const _0x22567f=a178_0x2b3f2f,_0x4b32b7={};_0x4b32b7['KilLk']=_0x22567f(0x1f3),_0x4b32b7['LTYXs']=_0x22567f(0x1dc),_0x4b32b7['uTJkH']=_0x22567f(0x1e3);const _0x46ce19=_0x4b32b7,_0x5131e1=_0x46ce19[_0x22567f(0x24d)]['split']('|');let _0x500116=0x0;while(!![]){switch(_0x5131e1[_0x500116++]){case'0':process[_0x22567f(0x219)][_0x22567f(0x215)]=_0x46ce19['LTYXs'];continue;case'1':process['env'][_0x22567f(0x1d7)]=_0x46ce19['uTJkH'];continue;case'2':process[_0x22567f(0x219)][_0x22567f(0x226)]=_0x46ce19['uTJkH'];continue;case'3':process['env'][_0x22567f(0x27c)]=_0x46ce19[_0x22567f(0x1fe)];continue;case'4':process[_0x22567f(0x219)]['BROWSERSTACK_TESTHUB_UUID']=_0x46ce19[_0x22567f(0x1fe)];continue;case'5':exports[_0x22567f(0x1e5)](_0x3fd9be,testHubConstants[_0x22567f(0x254)]);continue;case'6':process[_0x22567f(0x219)][_0x22567f(0x2a0)]=_0x46ce19['uTJkH'];continue;}break;}},exports[a178_0x2b3f2f(0x227)]=_0x2d5ac9=>{const _0x275543=a178_0x2b3f2f,_0x370cc1={};_0x370cc1[_0x275543(0x207)]=_0x275543(0x26e),_0x370cc1[_0x275543(0x25c)]=_0x275543(0x1e3),_0x370cc1['qverC']='false';const _0x4d9a2a=_0x370cc1,_0x9cd2da=_0x4d9a2a[_0x275543(0x207)]['split']('|');let _0x291145=0x0;while(!![]){switch(_0x9cd2da[_0x291145++]){case'0':process[_0x275543(0x219)][_0x275543(0x211)]=_0x4d9a2a[_0x275543(0x25c)];continue;case'1':process[_0x275543(0x219)][_0x275543(0x27c)]=_0x4d9a2a['rrcBy'];continue;case'2':exports['logBuildError'](_0x2d5ac9,testHubConstants['ACCESSIBILITY']);continue;case'3':process[_0x275543(0x219)][_0x275543(0x21b)]=_0x4d9a2a[_0x275543(0x234)];continue;case'4':process[_0x275543(0x219)][_0x275543(0x1e4)]=_0x4d9a2a[_0x275543(0x234)];continue;}break;}},exports[a178_0x2b3f2f(0x1e5)]=(_0x160485,_0x7f2dd8='')=>{const _0x4b8722=a178_0x2b3f2f,_0x3542fd={};_0x3542fd[_0x4b8722(0x267)]=function(_0x17809c,_0x3e4b1e){return _0x17809c===_0x3e4b1e;};const _0x7c8054=_0x3542fd;if(_0x7c8054[_0x4b8722(0x267)](_0x160485,undefined)){logger[_0x4b8722(0x208)](_0x7f2dd8[_0x4b8722(0x235)]()+_0x4b8722(0x2a1));return;}for(const _0x393362 of _0x160485[_0x4b8722(0x259)]){const _0x3ba3ad=_0x393362[_0x4b8722(0x272)],_0x44bf86=_0x393362['message'];if(_0x44bf86)switch(_0x3ba3ad){case testHubConstants[_0x4b8722(0x26a)][_0x4b8722(0x217)]:logger[_0x4b8722(0x208)](_0x44bf86);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger['info'](_0x44bf86);break;case testHubConstants[_0x4b8722(0x26a)][_0x4b8722(0x1f6)]:logger[_0x4b8722(0x208)](_0x44bf86);break;default:logger[_0x4b8722(0x208)](_0x44bf86);}}};const jsonifyAccessibilityArray=(_0x55574b,_0x1684be,_0x38da2e)=>{const _0x2136b7=a178_0x2b3f2f,_0x55b36d={};return _0x55574b[_0x2136b7(0x201)](_0xb3b68d=>{_0x55b36d[_0xb3b68d[_0x1684be]]=_0xb3b68d[_0x38da2e];}),_0x55b36d;};exports['setTestHubCommonMetaInfo']=_0x5ed6c5=>{const _0x2c8b3e=a178_0x2b3f2f;_0x5ed6c5['jwt']&&(process[_0x2c8b3e(0x219)]['BROWSERSTACK_TESTHUB_JWT']=_0x5ed6c5[_0x2c8b3e(0x1dd)]);_0x5ed6c5[_0x2c8b3e(0x1d6)]&&(process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x5ed6c5['build_hashed_id'],logger[_0x2c8b3e(0x275)](_0x2c8b3e(0x24f)+_0x5ed6c5[_0x2c8b3e(0x1d6)]));;},exports[a178_0x2b3f2f(0x216)]=(_0x206327='',_0x2a1a1f='')=>{const _0x453fba=a178_0x2b3f2f,_0x2a6bb6={'iWQrM':function(_0x9736cf){return _0x9736cf();},'ZXKKd':function(_0x3908c4,_0x262620){return _0x3908c4===_0x262620;},'nUXuS':'uploadEventData','BZxvz':_0x453fba(0x21c),'oImKm':'CBTSessionCreated','oAcCv':function(_0x279734){return _0x279734();},'YVMUS':_0x453fba(0x271),'iKTkd':_0x453fba(0x24e),'luMog':function(_0x557cac){return _0x557cac();}};if(exports[_0x453fba(0x26f)]()&&!exports[_0x453fba(0x24b)]()&&!_0x2a6bb6[_0x453fba(0x29e)](isTestObservabilitySession)){if(_0x2a6bb6['ZXKKd'](_0x2a1a1f,_0x2a6bb6['nUXuS']))return![];if([_0x2a6bb6[_0x453fba(0x25d)],_0x2a6bb6[_0x453fba(0x28c)]][_0x453fba(0x296)](_0x206327))return![];return!![];}if(exports[_0x453fba(0x24b)]()&&!_0x2a6bb6['oAcCv'](isTestObservabilitySession)){if([_0x2a6bb6['YVMUS'],_0x2a6bb6[_0x453fba(0x22e)],_0x2a6bb6['BZxvz']]['includes'](_0x206327))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x2a6bb6[_0x453fba(0x253)](isTestObservabilitySession)||exports[_0x453fba(0x26f)]();},exports[a178_0x2b3f2f(0x285)]=(_0x23ba19,_0x38de0b,_0x25d5ee='',_0x3a6d45)=>{const _0x406374=a178_0x2b3f2f,_0x259797={'ATXwV':_0x406374(0x271),'miXWS':_0x406374(0x24e),'waAeA':function(_0x19cd3,_0x55bae2){return _0x19cd3===_0x55bae2;},'jUpmP':_0x406374(0x297),'vbysm':_0x406374(0x230),'mXqPr':_0x406374(0x1e1),'LxeKe':function(_0xc416e7,_0x479d37){return _0xc416e7&&_0x479d37;},'UYAwG':function(_0x4992b7,_0x261b91){return _0x4992b7===_0x261b91;},'lAviJ':function(_0x1d32e4,_0x5de0bb){return _0x1d32e4+_0x5de0bb;},'EeMlN':function(_0x2ce20a,_0x4d3796){return _0x2ce20a&&_0x4d3796;},'SKaaM':function(_0x56137a,_0x3dbec2){return _0x56137a(_0x3dbec2);},'aPjjn':_0x406374(0x29a),'AySCx':function(_0x54017c,_0x4c34c2){return _0x54017c+_0x4c34c2;},'kPMzk':function(_0x54e46b,_0x186996){return _0x54e46b===_0x186996;},'rmTAO':function(_0x9dbfb2,_0x23e4cd){return _0x9dbfb2!==_0x23e4cd;},'ZUtxE':_0x406374(0x1df),'AFYxZ':function(_0x393c17,_0x28a1a8){return _0x393c17===_0x28a1a8;},'HFXfA':function(_0x17be00,_0x5df626){return _0x17be00&&_0x5df626;},'JKIJk':function(_0x30f822,_0xada6f){return _0x30f822===_0xada6f;},'MmdFt':'product_map'};if([_0x259797[_0x406374(0x278)],_0x259797['miXWS']][_0x406374(0x296)](_0x38de0b))return;let _0x56cd38={};try{process[_0x406374(0x219)][_0x406374(0x264)]&&(_0x56cd38=JSON[_0x406374(0x287)](process[_0x406374(0x219)][_0x406374(0x264)])||{});}catch(_0x16d669){logger['debug'](_0x406374(0x210)+_0x16d669),_0x56cd38={};}if(exports[_0x406374(0x24b)]()){if(_0x259797[_0x406374(0x231)](_0x3a6d45,FRAMEWORKS['MOCHA'])){const _0x2a9a4d=globals[_0x406374(0x1cf)](_0x259797['jUpmP'])||accessibilityHelper[_0x406374(0x277)](_0x25d5ee[_0x406374(0x281)](),!![]),_0x5615a2=globals[_0x406374(0x1cf)](_0x259797[_0x406374(0x233)]);_0x56cd38[_0x259797[_0x406374(0x261)]]=_0x259797['LxeKe'](_0x5615a2,_0x2a9a4d);}if(_0x259797['UYAwG'](_0x3a6d45,FRAMEWORKS[_0x406374(0x273)])){const _0x49dfef=_0x259797['lAviJ'](_0x259797[_0x406374(0x256)](_0x23ba19[_0x406374(0x26d)][_0x406374(0x27b)]('\x20'),'\x20'),_0x25d5ee[_0x406374(0x1e9)]),_0x567d35=globals[_0x406374(0x1cf)](_0x259797[_0x406374(0x23c)])||accessibilityHelper[_0x406374(0x277)](_0x49dfef,![]),_0x307ce9=browserStackGlobals['isAccessibilityPlatform'];_0x56cd38[_0x259797[_0x406374(0x261)]]=_0x259797[_0x406374(0x214)](_0x307ce9,_0x567d35);}if(_0x259797[_0x406374(0x1e6)](_0x3a6d45,FRAMEWORKS[_0x406374(0x29b)])){const _0x3bcf1e=_0x259797[_0x406374(0x2a2)](require,_0x259797[_0x406374(0x250)]),_0x237c65=_0x25d5ee&&_0x3bcf1e[_0x406374(0x265)](_0x25d5ee['id'])||_0x23ba19[_0x406374(0x279)];_0x237c65&&(_0x23ba19[_0x406374(0x279)]=_0x237c65);const _0x44d920=_0x259797[_0x406374(0x256)](_0x259797['AySCx'](_0x23ba19[_0x406374(0x26d)][_0x406374(0x27b)]('\x20'),'\x20'),_0x25d5ee[_0x406374(0x238)]||_0x23ba19[_0x406374(0x1e9)]),_0x2a1827=globals['getGlobal'](_0x259797[_0x406374(0x23c)])||accessibilityHelper[_0x406374(0x277)](_0x44d920,![]),_0x2d160e=globals[_0x406374(0x1cf)](_0x259797[_0x406374(0x233)]);_0x56cd38[_0x259797[_0x406374(0x261)]]=_0x259797[_0x406374(0x23a)](_0x2d160e,_0x2a1827);}_0x259797[_0x406374(0x294)](_0x3a6d45,FRAMEWORKS[_0x406374(0x268)])&&_0x259797[_0x406374(0x232)](_0x38de0b,_0x259797['ZUtxE'])&&(_0x56cd38[_0x259797[_0x406374(0x261)]]=PWTestDetails[_0x406374(0x22f)](_0x23ba19[_0x406374(0x279)]));if(_0x259797[_0x406374(0x29c)](_0x3a6d45,FRAMEWORKS['CODECEPT'])){const _0x1e5d40=accessibilityHelper[_0x406374(0x277)](_0x25d5ee[_0x406374(0x281)](),!![]),_0x3dc446=global['accessibilityPlatform'];_0x56cd38[_0x259797[_0x406374(0x261)]]=_0x259797[_0x406374(0x1ce)](_0x3dc446,_0x1e5d40);}if(_0x259797['JKIJk'](_0x3a6d45,FRAMEWORKS[_0x406374(0x237)])){const _0x3d8584=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x23ba19[_0x406374(0x269)]),_0x596518=globals['getGlobal'](_0x259797['vbysm']);_0x56cd38[_0x259797[_0x406374(0x261)]]=_0x259797[_0x406374(0x214)](_0x596518,_0x3d8584);}}_0x23ba19[_0x259797[_0x406374(0x225)]]=_0x56cd38;},exports[a178_0x2b3f2f(0x21f)]=_0x379ded=>{const _0x3c75a4=a178_0x2b3f2f,_0x3c0d12={};_0x3c0d12[_0x3c75a4(0x213)]=function(_0x590f65,_0x1bdc56){return _0x590f65>_0x1bdc56;},_0x3c0d12['KuHee']=function(_0x24fdd2,_0x11a501){return _0x24fdd2>_0x11a501;};const _0x37fb4c=_0x3c0d12;let _0xc8c9bc={};if(_0x37fb4c[_0x3c75a4(0x213)](Object[_0x3c75a4(0x1ca)](testData)[_0x3c75a4(0x21a)],0x0))return testData;_0xc8c9bc=JestTestDetails['getTestData']();if(_0x37fb4c[_0x3c75a4(0x206)](Object[_0x3c75a4(0x1ca)](_0xc8c9bc)[_0x3c75a4(0x21a)],0x0))return _0xc8c9bc;return _0xc8c9bc;},exports[a178_0x2b3f2f(0x218)]=(_0x72f073,_0x393f29={})=>{const _0x4c7779=a178_0x2b3f2f;if(bsSetupHelper['isUndefined'](_0x393f29['test_run']))return;switch(_0x72f073){case FRAMEWORKS[_0x4c7779(0x291)]:testData=_0x393f29['test_run'];break;case FRAMEWORKS[_0x4c7779(0x273)]:JestTestDetails['setTestData'](_0x393f29[_0x4c7779(0x1db)]);break;case FRAMEWORKS[_0x4c7779(0x29b)]:testData=_0x393f29[_0x4c7779(0x1db)];break;default:break;}},exports[a178_0x2b3f2f(0x26b)]=_0x3acb79=>{const _0x5399df=a178_0x2b3f2f,_0x19e47f={};_0x19e47f['feqmF']=function(_0x3cce83,_0x1913ec){return _0x3cce83!==_0x1913ec;},_0x19e47f['Trvsp']=function(_0x11d437,_0x45bb38){return _0x11d437!==_0x45bb38;};const _0x1b9cc3=_0x19e47f;if(_0x1b9cc3[_0x5399df(0x25a)](_0x3acb79[_0x5399df(0x1e1)],null)&&_0x1b9cc3['feqmF'](_0x3acb79[_0x5399df(0x1e1)],undefined))return _0x3acb79['accessibility'];let _0x2bb1c8=![],_0xad488c=![];if(_0x3acb79['platforms'])for(const _0x33199c of _0x3acb79['platforms']){_0x1b9cc3[_0x5399df(0x25a)](_0x33199c[_0x5399df(0x1e1)],null)&&_0x1b9cc3[_0x5399df(0x1d8)](_0x33199c[_0x5399df(0x1e1)],undefined)&&(_0x2bb1c8=_0x2bb1c8||bsSetupHelper['isTrue'](_0x33199c[_0x5399df(0x1e1)]),_0xad488c=!![]);}if(_0xad488c)return _0x2bb1c8;return null;},exports[a178_0x2b3f2f(0x23b)]=_0x782006=>{const _0x253cdd=a178_0x2b3f2f;if(!_0x782006)return{};const _0x5cbaa6=new OrchestrationUtils(_0x782006);return _0x5cbaa6[_0x253cdd(0x240)]();},exports[a178_0x2b3f2f(0x1fb)]=_0x46d594=>{const _0x2304fe=a178_0x2b3f2f,_0x54cf6b={'cGTkR':function(_0x582c75){return _0x582c75();},'xsxfU':function(_0x2408d3,_0x39f2d1){return _0x2408d3===_0x39f2d1;},'Eqzdy':_0x2304fe(0x289)};let _0xf44b51=![],_0x147549=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x2304fe(0x266)](_0x46d594))_0x147549=!![];else bsSetupHelper[_0x2304fe(0x22c)]()&&(_0xf44b51=!![]);return Object[_0x2304fe(0x1f4)]({'observability':_0x54cf6b[_0x2304fe(0x203)](isTestObservabilitySession),'accessibility':exports[_0x2304fe(0x26b)](_0x46d594),'percy':_0x46d594[_0x2304fe(0x209)]||![],'sr_automation':_0x54cf6b[_0x2304fe(0x245)](process[_0x2304fe(0x219)][_0x2304fe(0x249)],_0x54cf6b['Eqzdy'])||_0x46d594[_0x2304fe(0x1d2)]||![],'automate':_0xf44b51,'app_automate':_0x147549,'turboscale':bsSetupHelper[_0x2304fe(0x290)](_0x46d594),'lts':LoadTestModule[_0x2304fe(0x241)](_0x46d594)},bsSetupHelper[_0x2304fe(0x276)]());};function a178_0x1e36(){const _0x45c14b=['null','BROWSERSTACK_TEST_ACCESSIBILITY_YML','logBuildError','UYAwG','180504smDUTT','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','name','testManagementOptions','options','tqelt','../test-observability/constants.js','2248IkoyxY','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','../ats/helper','getTestFrameworkDetails','../../bin/jest/test-observability/test-details.js','4|3|0|6|2|1|5','assign','startsWith','DEPRECATED','fNVtf','TEST_REPORTING_ANALYTICS','toString','EcCbA','getProductMapForBuildStartCall','message','MptvK','uTJkH','csSBC','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','forEach','5197668wQYUvW','cGTkR','vPalt','command','KuHee','FrwGJ','error','percy','getTestPlanId','../../bin/v2/modules/loadTestModule','BROWSERSTACK_ACCESSIBILITY','allow_screenshots','YfSlI','qGySQ','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','BROWSERSTACK_TESTHUB_UUID','UtWFH','OlFhL','EeMlN','BS_TESTOPS_BUILD_COMPLETED','shouldProcessEventForTesthub','INVALID_CREDENTIALS','setCurrentTestData','env','length','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','LogCreated','javascript','5|1|3|4|2|0','getCurrentTestData','nonBStackInfraA11yChromeOptions','gCMjx','10YDkegL','nXwGX','AAznE','MmdFt','BS_TESTOPS_BUILD_HASHED_ID','handleErrorForAccessibility','gdaff','BS_A11Y_JWT','WjBtI','Wdval','isBrowserstackInfra','5286CxXRmz','iKTkd','getAccessibilityPlatformValidation','isAccessibilityPlatform','waAeA','rmTAO','vbysm','qverC','toUpperCase','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','CUCUMBER','description','2079aAfAaw','LxeKe','getTestOrchestrationBuildStartData','jUpmP','split','KXDTH','44070USgMwJ','getBuildStartData','isLTSSession','vriZH','stringify','../test-observability/utils','xsxfU','getProductMap','trim','commandsToWrap','BROWSERSTACK_SR_AUTOMATION','ENV_VAR','isAccessibilityEnabled','../globals.js','KilLk','HookRunFinished','BROWSERSTACK_TESTHUB_UUID:\x20','aPjjn','success','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','luMog','OBSERVABILITY','242XQkPqq','lAviJ','goog:chromeOptions','MMWsp','errors','feqmF','tNhiv','rrcBy','BZxvz','kahrZ','isTrue','value','mXqPr','5790cchiwe','oIVgD','BROWSERSTACK_PRODUCT_MAP','get','isAppAutomateSession','YUTdF','PLAYWRIGHT','tags','ERROR','getAccessibilityValueFromYml','skipCDPConnectOverride','scopes','0|1|4|3|2','isPercyBuild','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','HookRunStarted','key','JEST','commands','debug','getCentralUser','shouldScanTestForAccessibility','ATXwV','uuid','KGzCz','join','BROWSERSTACK_TESTHUB_JWT','scripts','yJLVc','eWvtp','BROWSERSTACK_PERCY','titlePath','./constants.js','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','egOai','appendTesthubParams','config','parse','mBRUM','true','31239mEKeOO','isRunning','oImKm','1057cxMoZU','YVWjw','qdGZG','isTurboScaleSession','MOCHA','laUui','341KwAlxK','kPMzk','../test-orchestration/orchestrationUtils.js','includes','bstackA11yShouldScan','username','capabilities','../../bin/jasmine/testRunMap.js','JASMINE','AFYxZ','handleErrorForObservability','iWQrM','GDvDW','BS_TESTOPS_JWT','\x20Build\x20creation\x20failed','SKaaM','../helper','../accessibility-automation/scripts.js','keys','observability','ZVcka',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','HFXfA','getGlobal','FNsIe','argv','sr_automation','setPercyFlag','password','OXwJB','build_hashed_id','BS_TESTOPS_ALLOW_SCREENSHOTS','Trvsp','gXlit','xIZRf','test_run','false','jwt','BROWSERSTACK_TEST_PLAN_ID','TestRunStarted','QbeAE','accessibility','getAgentVersion'];a178_0x1e36=function(){return _0x45c14b;};return a178_0x1e36();}const normalizeTestPlanId=_0x1c5eff=>{const _0xf9dee2=a178_0x2b3f2f,_0x552684={};_0x552684[_0xf9dee2(0x1d5)]=function(_0x5df87e,_0x4ee6da){return _0x5df87e!==_0x4ee6da;},_0x552684['kahrZ']='string',_0x552684[_0xf9dee2(0x23e)]=function(_0x2a21c9,_0x3793ba){return _0x2a21c9>_0x3793ba;};const _0x54892b=_0x552684;if(_0x54892b[_0xf9dee2(0x1d5)](typeof _0x1c5eff,_0x54892b[_0xf9dee2(0x25e)]))return undefined;const _0x4afa32=_0x1c5eff[_0xf9dee2(0x247)]();return _0x54892b[_0xf9dee2(0x23e)](_0x4afa32[_0xf9dee2(0x21a)],0x0)?_0x4afa32:undefined;},readTestPlanIdFromCliArgs=(_0x13ca29=process['argv'])=>{const _0xbddff=a178_0x2b3f2f,_0x3a4a1c={};_0x3a4a1c[_0xbddff(0x1cc)]=function(_0x3fc95a,_0x34bac8){return _0x3fc95a<_0x34bac8;},_0x3a4a1c[_0xbddff(0x28e)]=function(_0xd00ec1,_0x45c44f){return _0xd00ec1===_0x45c44f;},_0x3a4a1c[_0xbddff(0x1fd)]=function(_0x53b2e5,_0x225fae){return _0x53b2e5+_0x225fae;},_0x3a4a1c['KGzCz']=function(_0x4d0d18,_0x27800d){return _0x4d0d18+_0x27800d;};const _0x45a0a1=_0x3a4a1c,_0x196781='--'+testHubConstants[_0xbddff(0x1ef)];for(let _0x2988d4=0x0;_0x45a0a1[_0xbddff(0x1cc)](_0x2988d4,_0x13ca29[_0xbddff(0x21a)]);_0x2988d4+=0x1){const _0x24f32b=_0x13ca29[_0x2988d4];if(_0x45a0a1['YVWjw'](_0x24f32b,_0x196781)){const _0x19e2e5=_0x13ca29[_0x45a0a1[_0xbddff(0x1fd)](_0x2988d4,0x1)];if(!_0x19e2e5||_0x19e2e5[_0xbddff(0x1f5)]('--'))return undefined;return _0x19e2e5;}if(_0x24f32b[_0xbddff(0x1f5)](_0x196781+'='))return _0x24f32b['slice'](_0x45a0a1[_0xbddff(0x27a)](_0x196781['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x25273f={})=>{const _0x1e1ec1=a178_0x2b3f2f,_0x48ad5b={'xxjoP':function(_0x248ecf,_0x2a99a0){return _0x248ecf(_0x2a99a0);}};return _0x48ad5b['xxjoP'](normalizeTestPlanId,_0x25273f&&_0x25273f[_0x1e1ec1(0x1ea)]&&_0x25273f[_0x1e1ec1(0x1ea)]['testPlanId']);};exports[a178_0x2b3f2f(0x20a)]=(_0x3aaa53={},_0x39922b=process[a178_0x2b3f2f(0x1d1)],_0x2127c2=process[a178_0x2b3f2f(0x219)])=>{const _0x3fe8f8=a178_0x2b3f2f,_0x70eed2={'tNhiv':function(_0x3f4bd4,_0x4793ee){return _0x3f4bd4(_0x4793ee);}};try{const _0x286db0=_0x70eed2['tNhiv'](normalizeTestPlanId,_0x70eed2['tNhiv'](readTestPlanIdFromCliArgs,_0x39922b));if(_0x286db0)return _0x286db0;const _0x147733=_0x70eed2[_0x3fe8f8(0x25b)](normalizeTestPlanId,_0x2127c2&&_0x2127c2[testHubConstants[_0x3fe8f8(0x24a)][_0x3fe8f8(0x1de)]]);if(_0x147733)return _0x147733;return _0x70eed2[_0x3fe8f8(0x25b)](readTestPlanIdFromConfig,_0x3aaa53);}catch(_0x3fee81){return logger[_0x3fe8f8(0x275)](_0x3fe8f8(0x270)+(_0x3fee81&&_0x3fee81[_0x3fe8f8(0x1fc)]?_0x3fee81[_0x3fe8f8(0x1fc)]:_0x3fee81)),undefined;}};
|
|
1
|
+
const a178_0x4068dd=a178_0xc1fa;(function(_0x41be13,_0xd92d2f){const _0x165b6b=a178_0xc1fa,_0x45647f=_0x41be13();while(!![]){try{const _0x111d5e=-parseInt(_0x165b6b(0x114))/0x1*(-parseInt(_0x165b6b(0x11f))/0x2)+-parseInt(_0x165b6b(0xf8))/0x3+-parseInt(_0x165b6b(0x190))/0x4+-parseInt(_0x165b6b(0xfe))/0x5*(-parseInt(_0x165b6b(0x1a7))/0x6)+-parseInt(_0x165b6b(0x197))/0x7*(parseInt(_0x165b6b(0x17f))/0x8)+parseInt(_0x165b6b(0x127))/0x9*(-parseInt(_0x165b6b(0x102))/0xa)+parseInt(_0x165b6b(0xea))/0xb;if(_0x111d5e===_0xd92d2f)break;else _0x45647f['push'](_0x45647f['shift']());}catch(_0x318f72){_0x45647f['push'](_0x45647f['shift']());}}}(a178_0x255c,0x4ced0));const bsSetupHelper=require(a178_0x4068dd(0x105)),LoadTestModule=require(a178_0x4068dd(0x14c)),{isTestObservabilitySession,getFrameworkVersion}=require(a178_0x4068dd(0x17b)),accessibilityHelper=require(a178_0x4068dd(0xfc)),logger=require(a178_0x4068dd(0x18b))[a178_0x4068dd(0x18e)],{nestedKeyValue}=require(a178_0x4068dd(0xe5)),scripts=require(a178_0x4068dd(0xdf)),globals=require('../globals.js'),testHubConstants=require(a178_0x4068dd(0x1a1)),PWTestDetails=require(a178_0x4068dd(0x14e)),JestTestDetails=require(a178_0x4068dd(0x16c)),{FRAMEWORKS}=require(a178_0x4068dd(0x19b)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a178_0x4068dd(0x11a)),constants=require('../../bin/utils/constants.js');let testData={};exports[a178_0x4068dd(0x121)]=_0x15b53c=>{const _0x29a1ae=a178_0x4068dd,_0x1bd9b2={'qMSNU':function(_0x370683){return _0x370683();},'dUpJM':function(_0x5558a4,_0x1eb42){return _0x5558a4===_0x1eb42;},'AskED':_0x29a1ae(0x1a2)};let _0x3349dd=![],_0x3820e7=![];if(bsSetupHelper[_0x29a1ae(0x15d)]()&&bsSetupHelper[_0x29a1ae(0x1a6)](_0x15b53c))_0x3820e7=!![];else bsSetupHelper[_0x29a1ae(0x15d)]()&&(_0x3349dd=!![]);return Object[_0x29a1ae(0x14b)]({'observability':_0x1bd9b2[_0x29a1ae(0x13c)](isTestObservabilitySession),'accessibility':exports[_0x29a1ae(0xff)](_0x15b53c),'percy':_0x15b53c[_0x29a1ae(0xe2)]||![],'sr_automation':_0x1bd9b2[_0x29a1ae(0xdd)](process[_0x29a1ae(0x187)][_0x29a1ae(0x178)],_0x1bd9b2[_0x29a1ae(0x165)])||_0x15b53c[_0x29a1ae(0x146)]||![],'automate':_0x3349dd,'app_automate':_0x3820e7,'turboscale':bsSetupHelper[_0x29a1ae(0x10e)](_0x15b53c),'lts':LoadTestModule[_0x29a1ae(0x183)](_0x15b53c)},bsSetupHelper[_0x29a1ae(0x148)]());},exports[a178_0x4068dd(0x175)]=(_0x372be4,_0x1a62ed)=>{const _0x37d93c=a178_0x4068dd,_0x3ab247={'YmpVe':function(_0x262dc3,_0x171984){return _0x262dc3(_0x171984);},'CvXzS':_0x37d93c(0xe0)},_0x1e96b5={'frameworkName':_0x1a62ed,'frameworkVersion':_0x3ab247[_0x37d93c(0x1a4)](getFrameworkVersion,_0x1a62ed),'sdkVersion':bsSetupHelper[_0x37d93c(0x108)](),'language':_0x3ab247['CvXzS'],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x372be4,_0x1a62ed)};return process[_0x37d93c(0x187)][_0x37d93c(0xf5)]=JSON['stringify'](_0x1e96b5),_0x1e96b5;},exports[a178_0x4068dd(0x188)]=_0x295fb2=>{const _0x40cd06=a178_0x4068dd,_0x23fc17={};_0x23fc17[_0x40cd06(0x154)]=_0x40cd06(0x1ad),_0x23fc17['qxKjn']=_0x40cd06(0x1a2);const _0x356cd6=_0x23fc17;process[_0x40cd06(0x187)][_0x40cd06(0x10c)]=_0x356cd6[_0x40cd06(0x154)],bsSetupHelper[_0x40cd06(0xeb)](_0x295fb2[_0x40cd06(0x1b3)][_0x40cd06(0xe2)])&&(!_0x295fb2['percy']||!_0x295fb2['percy'][_0x40cd06(0x10a)]())&&(process[_0x40cd06(0x187)][_0x40cd06(0x10c)]=_0x356cd6[_0x40cd06(0x115)]);},exports[a178_0x4068dd(0x1ac)]=()=>{const _0x173f9a=a178_0x4068dd;return bsSetupHelper[_0x173f9a(0xeb)](process[_0x173f9a(0x187)][_0x173f9a(0x10c)]);},exports[a178_0x4068dd(0xff)]=(_0x28134b={})=>{const _0x1d700b=a178_0x4068dd,_0x23bd76={};_0x23bd76[_0x1d700b(0x1ab)]=function(_0x53ab7a,_0x59cd11){return _0x53ab7a!==_0x59cd11;},_0x23bd76['lGytL']=function(_0x497c06,_0x24ed9a){return _0x497c06===_0x24ed9a;},_0x23bd76[_0x1d700b(0x13b)]=_0x1d700b(0x1a2),_0x23bd76['umHnH']=function(_0x382289,_0x4c6134){return _0x382289>_0x4c6134;},_0x23bd76['cfBpK']=function(_0x1a88f7,_0x5c7ab8){return _0x1a88f7===_0x5c7ab8;};const _0x27139e=_0x23bd76;if(_0x27139e[_0x1d700b(0x1ab)](process[_0x1d700b(0x187)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper['isTrue'](process[_0x1d700b(0x187)]['BROWSERSTACK_ACCESSIBILITY']);let _0x482898=_0x27139e['lGytL'](process[_0x1d700b(0x187)][_0x1d700b(0x1b1)],_0x27139e['Dyrjq']);return _0x27139e[_0x1d700b(0x16d)](Object[_0x1d700b(0x19e)](_0x28134b)[_0x1d700b(0x191)],0x0)&&(process[_0x1d700b(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x1d700b(0xef)](_0x28134b)),_0x482898=_0x482898||_0x27139e[_0x1d700b(0x103)](process[_0x1d700b(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x27139e[_0x1d700b(0x13b)]),_0x482898;},exports[a178_0x4068dd(0x16e)]=(_0x16593b,_0x409963)=>{const _0x1f7100=a178_0x4068dd,_0x4c5649={'JrPXU':function(_0x5ef363){return _0x5ef363();},'HZBNR':_0x1f7100(0xdc),'yrJTG':function(_0xf7badd,_0x516cb8,_0x25ac60){return _0xf7badd(_0x516cb8,_0x25ac60);},'usVtf':'observability','WJVmL':_0x1f7100(0x174),'COkNw':_0x1f7100(0x1a2)};if(!_0x16593b||!_0x16593b['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x16593b[_0x1f7100(0x144)][_0x1f7100(0x1af)])return exports[_0x1f7100(0x101)](_0x16593b['observability']),[null,null,null];if(_0x4c5649[_0x1f7100(0x116)](isTestObservabilitySession)){const _0x18b398=_0x4c5649['HZBNR'][_0x1f7100(0x167)]('|');let _0x5a216d=0x0;while(!![]){switch(_0x18b398[_0x5a216d++]){case'0':if(_0x16593b[_0x1f7100(0xf0)]){process[_0x1f7100(0x187)]['BS_TESTOPS_JWT']=_0x16593b['jwt'];const _0x490987={};_0x490987['username']=_0x409963['username'],_0x490987[_0x1f7100(0x156)]=_0x409963[_0x1f7100(0x156)],process['env'][_0x1f7100(0xf4)]=JSON[_0x1f7100(0x12c)](_0x490987);}continue;case'1':_0x4c5649[_0x1f7100(0x179)](nestedKeyValue,_0x16593b,[_0x4c5649[_0x1f7100(0x1ae)],_0x4c5649[_0x1f7100(0xe9)]])&&(process[_0x1f7100(0x187)][_0x1f7100(0x147)]=_0x16593b['observability']['options'][_0x1f7100(0x13d)]['toString']());continue;case'2':_0x16593b[_0x1f7100(0x130)]&&(process[_0x1f7100(0x187)][_0x1f7100(0x164)]=_0x16593b['build_hashed_id']);continue;case'3':logger[_0x1f7100(0x11b)]('['+constants['TEST_REPORTING_ANALYTICS']+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x16593b['build_hashed_id']);continue;case'4':process[_0x1f7100(0x187)][_0x1f7100(0x1b6)]=_0x4c5649[_0x1f7100(0xe6)];continue;case'5':return[_0x16593b[_0x1f7100(0xf0)],_0x16593b[_0x1f7100(0x130)],process[_0x1f7100(0x187)][_0x1f7100(0x147)]];}break;}}return[null,null,null];},exports[a178_0x4068dd(0x151)]=_0x910638=>{const _0x1fd0e4=a178_0x4068dd,_0x3111e5={'vTgKG':function(_0x2ec134,_0x3b2643,_0xa880f8){return _0x2ec134(_0x3b2643,_0xa880f8);},'vtUsw':_0x1fd0e4(0x120),'ZBvRC':_0x1fd0e4(0x174),'AdLtw':function(_0x49c87f,_0x2f6a57,_0x30c38d,_0x15f259){return _0x49c87f(_0x2f6a57,_0x30c38d,_0x15f259);},'UoYns':_0x1fd0e4(0x117),'eKjMz':_0x1fd0e4(0x1a0),'yjiWC':_0x1fd0e4(0x1aa),'hwTGp':_0x1fd0e4(0xde),'fihRN':_0x1fd0e4(0x16b),'gHmUx':_0x1fd0e4(0xe8),'XCyNQ':function(_0x228348,_0x3ebfc3){return _0x228348(_0x3ebfc3);},'ppqAz':function(_0x4879a2,_0x3b69f4){return _0x4879a2===_0x3b69f4;},'vZPrI':'true','BxIkd':_0x1fd0e4(0x168)};if(!_0x910638[_0x1fd0e4(0x120)])return exports[_0x1fd0e4(0x123)](),[null,null];if(!_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x1af)])return exports[_0x1fd0e4(0x123)](_0x910638[_0x1fd0e4(0x120)]),[null,null];if(_0x3111e5[_0x1fd0e4(0xfa)](nestedKeyValue,_0x910638,[_0x3111e5[_0x1fd0e4(0xf3)],_0x3111e5['ZBvRC']])){const {accessibilityToken:_0x2644fc,scannerVersion:_0x485d14,scannerProcessingTimeout:_0xe75da,isMobileScanningEnabledForGroup:_0xb2b55}=_0x3111e5['AdLtw'](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x174)][_0x1fd0e4(0x173)],_0x3111e5['UoYns'],_0x3111e5[_0x1fd0e4(0x18c)]),_0x4f1362={'scripts':_0x3111e5[_0x1fd0e4(0x189)](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)]['options'][_0x1fd0e4(0x195)],_0x3111e5['UoYns'],_0x3111e5['yjiWC'])};_0x4f1362[_0x3111e5[_0x1fd0e4(0x140)]]=_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x174)][_0x1fd0e4(0x169)][_0x1fd0e4(0xde)];const _0x158197=_0x3111e5[_0x1fd0e4(0x189)](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)]['options'][_0x1fd0e4(0x173)],_0x3111e5[_0x1fd0e4(0x19c)],_0x3111e5[_0x1fd0e4(0x18c)]);_0x4f1362[_0x3111e5[_0x1fd0e4(0x12f)]]=_0x158197[_0x3111e5['gHmUx']],scripts[_0x1fd0e4(0x13a)](_0x4f1362),scripts['toJson']();let _0x20a756=process[_0x1fd0e4(0x187)][_0x1fd0e4(0x185)];_0x20a756=!!_0x20a756?JSON[_0x1fd0e4(0x135)](_0x20a756):{},_0x20a756['scannerVersion']=_0x485d14,process[_0x1fd0e4(0x187)][_0x1fd0e4(0x185)]=JSON[_0x1fd0e4(0x12c)](_0x20a756),process[_0x1fd0e4(0x187)][_0x1fd0e4(0x14f)]=_0x2644fc,process[_0x1fd0e4(0x187)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x3111e5[_0x1fd0e4(0xf6)](String,_0x3111e5['ppqAz'](_0xb2b55,!![])||_0x3111e5['ppqAz'](_0xb2b55,_0x3111e5[_0x1fd0e4(0xf9)])),logger[_0x1fd0e4(0x11b)](_0x1fd0e4(0x133)+_0x910638[_0x1fd0e4(0x130)]);const _0x18f965=accessibilityHelper[_0x1fd0e4(0x139)](_0x2644fc);return _0x18f965&&bsSetupHelper[_0x1fd0e4(0xeb)](_0x18f965[_0x1fd0e4(0x13f)])&&(process[_0x1fd0e4(0x187)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x1fd0e4(0x11b)](_0x3111e5['BxIkd'])),[_0x2644fc,_0x910638[_0x1fd0e4(0x130)],_0xe75da];}return[null,null];},exports[a178_0x4068dd(0x101)]=_0x35a365=>{const _0x79ea09=a178_0x4068dd,_0x579935={};_0x579935[_0x79ea09(0xe7)]=_0x79ea09(0x19a),_0x579935['DLGMm']='null',_0x579935['LHOgw']=_0x79ea09(0x1ad);const _0x4b39ad=_0x579935,_0x406ebf=_0x4b39ad['mTxeL'][_0x79ea09(0x167)]('|');let _0x12898e=0x0;while(!![]){switch(_0x406ebf[_0x12898e++]){case'0':process[_0x79ea09(0x187)][_0x79ea09(0x136)]=_0x4b39ad['DLGMm'];continue;case'1':process[_0x79ea09(0x187)][_0x79ea09(0x15e)]=_0x4b39ad[_0x79ea09(0x16a)];continue;case'2':process[_0x79ea09(0x187)][_0x79ea09(0x1b6)]=_0x4b39ad[_0x79ea09(0x196)];continue;case'3':exports[_0x79ea09(0x1b2)](_0x35a365,testHubConstants[_0x79ea09(0xfb)]);continue;case'4':process[_0x79ea09(0x187)][_0x79ea09(0x164)]=_0x4b39ad[_0x79ea09(0x16a)];continue;case'5':process[_0x79ea09(0x187)][_0x79ea09(0x11e)]=_0x4b39ad['DLGMm'];continue;case'6':process['env'][_0x79ea09(0x147)]=_0x4b39ad['DLGMm'];continue;}break;}},exports[a178_0x4068dd(0x123)]=_0x75ec97=>{const _0x5bfa38=a178_0x4068dd,_0x144288={};_0x144288[_0x5bfa38(0x180)]=_0x5bfa38(0x14a),_0x144288[_0x5bfa38(0x158)]=_0x5bfa38(0x15a),_0x144288[_0x5bfa38(0x172)]=_0x5bfa38(0x1ad);const _0x9f8b36=_0x144288,_0x5c8608=_0x9f8b36[_0x5bfa38(0x180)][_0x5bfa38(0x167)]('|');let _0xe40247=0x0;while(!![]){switch(_0x5c8608[_0xe40247++]){case'0':process['env'][_0x5bfa38(0x15e)]=_0x9f8b36['zAQDb'];continue;case'1':process[_0x5bfa38(0x187)][_0x5bfa38(0x1b1)]=_0x9f8b36[_0x5bfa38(0x172)];continue;case'2':exports[_0x5bfa38(0x1b2)](_0x75ec97,testHubConstants['ACCESSIBILITY']);continue;case'3':process[_0x5bfa38(0x187)][_0x5bfa38(0x141)]=_0x9f8b36[_0x5bfa38(0x172)];continue;case'4':process[_0x5bfa38(0x187)][_0x5bfa38(0x11e)]=_0x9f8b36[_0x5bfa38(0x158)];continue;}break;}},exports[a178_0x4068dd(0x1b2)]=(_0xe9be7d,_0x4a76b2='')=>{const _0x1566c4=a178_0x4068dd,_0x243519={};_0x243519[_0x1566c4(0x137)]=function(_0x224f7c,_0x76b972){return _0x224f7c===_0x76b972;};const _0x2d4e4a=_0x243519;if(_0x2d4e4a[_0x1566c4(0x137)](_0xe9be7d,undefined)){logger['error'](_0x4a76b2[_0x1566c4(0x177)]()+_0x1566c4(0x159));return;}for(const _0x4a0148 of _0xe9be7d[_0x1566c4(0x128)]){const _0xc6a23=_0x4a0148[_0x1566c4(0x171)],_0x5d60f2=_0x4a0148['message'];if(_0x5d60f2)switch(_0xc6a23){case testHubConstants['ERROR']['INVALID_CREDENTIALS']:logger['error'](_0x5d60f2);break;case testHubConstants[_0x1566c4(0x107)]['ACCESS_DENIED']:logger[_0x1566c4(0x153)](_0x5d60f2);break;case testHubConstants[_0x1566c4(0x107)]['DEPRECATED']:logger[_0x1566c4(0x142)](_0x5d60f2);break;default:logger['error'](_0x5d60f2);}}};const jsonifyAccessibilityArray=(_0x54c524,_0x5b030d,_0x2c8b23)=>{const _0x4aad12=a178_0x4068dd,_0x212125={};return _0x54c524[_0x4aad12(0x182)](_0x2c4cbb=>{_0x212125[_0x2c4cbb[_0x5b030d]]=_0x2c4cbb[_0x2c8b23];}),_0x212125;};function a178_0xc1fa(_0x4b426e,_0x3bc8aa){const _0x255c53=a178_0x255c();return a178_0xc1fa=function(_0xc1fa01,_0x4f9411){_0xc1fa01=_0xc1fa01-0xdc;let _0x27c142=_0x255c53[_0xc1fa01];return _0x27c142;},a178_0xc1fa(_0x4b426e,_0x3bc8aa);}exports[a178_0x4068dd(0x13e)]=_0xe817e0=>{const _0x3c8fb9=a178_0x4068dd;_0xe817e0['jwt']&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0xe817e0[_0x3c8fb9(0xf0)]);_0xe817e0[_0x3c8fb9(0x130)]&&(process[_0x3c8fb9(0x187)][_0x3c8fb9(0x15e)]=_0xe817e0[_0x3c8fb9(0x130)],logger[_0x3c8fb9(0x11b)](_0x3c8fb9(0x1b0)+_0xe817e0[_0x3c8fb9(0x130)]));;},exports[a178_0x4068dd(0x113)]=(_0x2488f0='',_0x1c7c8a='')=>{const _0x2260a1=a178_0x4068dd,_0x10224f={'BHGSU':function(_0x222111){return _0x222111();},'upYJe':function(_0x2aacc3,_0x9b2ad5){return _0x2aacc3===_0x9b2ad5;},'DkdKr':'uploadEventData','lVeLy':_0x2260a1(0x10d),'ixEQM':_0x2260a1(0x126),'gIDLC':_0x2260a1(0xe3),'vMrJq':_0x2260a1(0xee),'cpqzI':function(_0x197dd4){return _0x197dd4();}};if(exports[_0x2260a1(0x1ac)]()&&!exports[_0x2260a1(0xff)]()&&!_0x10224f['BHGSU'](isTestObservabilitySession)){if(_0x10224f[_0x2260a1(0xe1)](_0x1c7c8a,_0x10224f[_0x2260a1(0x15c)]))return![];if([_0x10224f[_0x2260a1(0x199)],_0x10224f[_0x2260a1(0xf2)]]['includes'](_0x2488f0))return![];return!![];}if(exports[_0x2260a1(0xff)]()&&!_0x10224f[_0x2260a1(0x18a)](isTestObservabilitySession)){if([_0x10224f[_0x2260a1(0x12b)],_0x10224f[_0x2260a1(0x184)],_0x10224f['lVeLy']][_0x2260a1(0x16f)](_0x2488f0))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x10224f[_0x2260a1(0x15f)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a178_0x4068dd(0x170)]=(_0x698da7,_0x49deeb,_0xa8d8c5='',_0x4abb55)=>{const _0x310c50=a178_0x4068dd,_0x3db416={'jcayf':_0x310c50(0xe3),'SUoaq':_0x310c50(0xee),'JEQGI':function(_0x1924dd,_0x17a2c6){return _0x1924dd===_0x17a2c6;},'XVdMT':_0x310c50(0x193),'kWOgW':_0x310c50(0x149),'ObYMF':_0x310c50(0x120),'isNeJ':function(_0x25b964,_0x2d6758){return _0x25b964&&_0x2d6758;},'IUFOM':function(_0x367f8f,_0x4ff2ba){return _0x367f8f===_0x4ff2ba;},'sSayc':function(_0x220d8d,_0x34d2c8){return _0x220d8d+_0x34d2c8;},'FBMXv':function(_0x2ca09b,_0x31d40d){return _0x2ca09b+_0x31d40d;},'DgurA':function(_0x1f7942,_0x5360f9){return _0x1f7942(_0x5360f9);},'gwZem':'../../bin/jasmine/testRunMap.js','HMZuu':function(_0x5905ba,_0x147631){return _0x5905ba+_0x147631;},'oIcex':function(_0x290967,_0x163c0b){return _0x290967+_0x163c0b;},'efKya':function(_0x563ed4,_0x59111f){return _0x563ed4&&_0x59111f;},'NimTW':function(_0x4f1e4d,_0x3f3399){return _0x4f1e4d===_0x3f3399;},'IgxFp':function(_0x2a5cfd,_0x44dde8){return _0x2a5cfd!==_0x44dde8;},'SApgG':_0x310c50(0x17d),'DISHn':function(_0x1c1efb,_0x1eb5b1){return _0x1c1efb&&_0x1eb5b1;},'HfTmb':function(_0x1968b2,_0x3e0883){return _0x1968b2===_0x3e0883;},'xuplj':function(_0x18e9d6,_0x4516d9){return _0x18e9d6&&_0x4516d9;},'GOpVR':_0x310c50(0x157)};if([_0x3db416[_0x310c50(0x181)],_0x3db416[_0x310c50(0x1b4)]][_0x310c50(0x16f)](_0x49deeb))return;let _0x1c5aab={};try{process[_0x310c50(0x187)][_0x310c50(0x10f)]&&(_0x1c5aab=JSON[_0x310c50(0x135)](process['env'][_0x310c50(0x10f)])||{});}catch(_0x5ef2a5){logger[_0x310c50(0x11b)](_0x310c50(0x18f)+_0x5ef2a5),_0x1c5aab={};}if(exports[_0x310c50(0xff)]()){if(_0x3db416[_0x310c50(0x11c)](_0x4abb55,FRAMEWORKS[_0x310c50(0x119)])){const _0x19f678=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0xa8d8c5[_0x310c50(0x150)](),!![]),_0x5b2e55=globals[_0x310c50(0x112)](_0x3db416['kWOgW']);_0x1c5aab[_0x3db416['ObYMF']]=_0x3db416[_0x310c50(0x186)](_0x5b2e55,_0x19f678);}if(_0x3db416['IUFOM'](_0x4abb55,FRAMEWORKS['JEST'])){const _0x240550=_0x3db416[_0x310c50(0xed)](_0x3db416[_0x310c50(0x132)](_0x698da7[_0x310c50(0x100)]['join']('\x20'),'\x20'),_0xa8d8c5['name']),_0x1000d5=globals['getGlobal'](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0x240550,![]),_0xf31260=browserStackGlobals[_0x310c50(0x149)];_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416[_0x310c50(0x186)](_0xf31260,_0x1000d5);}if(_0x3db416['IUFOM'](_0x4abb55,FRAMEWORKS[_0x310c50(0x138)])){const _0x2f022f=_0x3db416['DgurA'](require,_0x3db416[_0x310c50(0x118)]),_0x26b609=_0xa8d8c5&&_0x2f022f[_0x310c50(0x124)](_0xa8d8c5['id'])||_0x698da7[_0x310c50(0x17e)];_0x26b609&&(_0x698da7[_0x310c50(0x17e)]=_0x26b609);const _0x3392cd=_0x3db416[_0x310c50(0x122)](_0x3db416[_0x310c50(0xfd)](_0x698da7['scopes'][_0x310c50(0x134)]('\x20'),'\x20'),_0xa8d8c5[_0x310c50(0x106)]||_0x698da7[_0x310c50(0x117)]),_0x1535a8=globals['getGlobal'](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0x3392cd,![]),_0x6705f3=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x163)]);_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416['efKya'](_0x6705f3,_0x1535a8);}_0x3db416['NimTW'](_0x4abb55,FRAMEWORKS['PLAYWRIGHT'])&&_0x3db416['IgxFp'](_0x49deeb,_0x3db416['SApgG'])&&(_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x698da7[_0x310c50(0x17e)]));if(_0x3db416[_0x310c50(0x11c)](_0x4abb55,FRAMEWORKS[_0x310c50(0x111)])){const _0x4f65be=accessibilityHelper[_0x310c50(0x1a5)](_0xa8d8c5[_0x310c50(0x150)](),!![]),_0x396e20=global[_0x310c50(0x198)];_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416['DISHn'](_0x396e20,_0x4f65be);}if(_0x3db416['HfTmb'](_0x4abb55,FRAMEWORKS[_0x310c50(0xf7)])){const _0x32732e=accessibilityHelper[_0x310c50(0x1a5)](null,![],_0x698da7[_0x310c50(0x162)]),_0x1027a7=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x163)]);_0x1c5aab[_0x3db416['ObYMF']]=_0x3db416[_0x310c50(0x15b)](_0x1027a7,_0x32732e);}}_0x698da7[_0x3db416['GOpVR']]=_0x1c5aab;},exports[a178_0x4068dd(0x12e)]=_0xee89ae=>{const _0x4a7540=a178_0x4068dd,_0x451ba5={};_0x451ba5[_0x4a7540(0x11d)]=function(_0x1195ec,_0x517a50){return _0x1195ec>_0x517a50;};const _0x54b2a7=_0x451ba5;let _0x4cb6df={};if(_0x54b2a7[_0x4a7540(0x11d)](Object[_0x4a7540(0x19e)](testData)[_0x4a7540(0x191)],0x0))return testData;_0x4cb6df=JestTestDetails[_0x4a7540(0x155)]();if(_0x54b2a7['hAqpv'](Object['keys'](_0x4cb6df)['length'],0x0))return _0x4cb6df;return _0x4cb6df;},exports['setCurrentTestData']=(_0x496572,_0x550240={})=>{const _0x498037=a178_0x4068dd;if(bsSetupHelper[_0x498037(0x104)](_0x550240[_0x498037(0x192)]))return;switch(_0x496572){case FRAMEWORKS[_0x498037(0x119)]:testData=_0x550240[_0x498037(0x192)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x498037(0x131)](_0x550240[_0x498037(0x192)]);break;case FRAMEWORKS[_0x498037(0x138)]:testData=_0x550240[_0x498037(0x192)];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x2fb7ff=>{const _0x2f527f=a178_0x4068dd,_0xee8066={};_0xee8066[_0x2f527f(0x160)]=function(_0x447c57,_0x49eecf){return _0x447c57!==_0x49eecf;},_0xee8066[_0x2f527f(0x18d)]=function(_0x53785d,_0x12b1ab){return _0x53785d!==_0x12b1ab;},_0xee8066[_0x2f527f(0x19f)]=function(_0x24a645,_0x460dee){return _0x24a645!==_0x460dee;};const _0xd27eda=_0xee8066;if(_0xd27eda[_0x2f527f(0x160)](_0x2fb7ff[_0x2f527f(0x120)],null)&&_0xd27eda[_0x2f527f(0x18d)](_0x2fb7ff[_0x2f527f(0x120)],undefined))return _0x2fb7ff[_0x2f527f(0x120)];let _0xbe1065=![],_0x5e1a39=![];if(_0x2fb7ff[_0x2f527f(0xe4)])for(const _0x3b5a31 of _0x2fb7ff[_0x2f527f(0xe4)]){_0xd27eda[_0x2f527f(0x18d)](_0x3b5a31[_0x2f527f(0x120)],null)&&_0xd27eda[_0x2f527f(0x19f)](_0x3b5a31[_0x2f527f(0x120)],undefined)&&(_0xbe1065=_0xbe1065||bsSetupHelper['isTrue'](_0x3b5a31[_0x2f527f(0x120)]),_0x5e1a39=!![]);}if(_0x5e1a39)return _0xbe1065;return null;},exports['getTestOrchestrationBuildStartData']=_0x2a629d=>{const _0x424859=a178_0x4068dd;if(!_0x2a629d)return{};const _0x79a3a5=new OrchestrationUtils(_0x2a629d);return _0x79a3a5[_0x424859(0xec)]();},exports[a178_0x4068dd(0x1a8)]=_0x2a580b=>{const _0x17df52=a178_0x4068dd,_0x30baa0={'Okufm':function(_0x1899e2){return _0x1899e2();},'TpvTG':function(_0x417107,_0xfbe0f9){return _0x417107===_0xfbe0f9;},'DgMvr':_0x17df52(0x1a2)};let _0x518c03=![],_0x327095=![];if(bsSetupHelper[_0x17df52(0x15d)]()&&bsSetupHelper[_0x17df52(0x1a6)](_0x2a580b))_0x327095=!![];else bsSetupHelper[_0x17df52(0x15d)]()&&(_0x518c03=!![]);return Object[_0x17df52(0x14b)]({'observability':_0x30baa0[_0x17df52(0x1a9)](isTestObservabilitySession),'accessibility':exports[_0x17df52(0x125)](_0x2a580b),'percy':_0x2a580b[_0x17df52(0xe2)]||![],'sr_automation':_0x30baa0['TpvTG'](process[_0x17df52(0x187)]['BROWSERSTACK_SR_AUTOMATION'],_0x30baa0[_0x17df52(0x17a)])||_0x2a580b['sr_automation']||![],'automate':_0x518c03,'app_automate':_0x327095,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2a580b),'lts':LoadTestModule[_0x17df52(0x183)](_0x2a580b)},bsSetupHelper[_0x17df52(0x148)]());};function a178_0x255c(){const _0x51ad9c=['password','product_map','zAQDb','\x20Build\x20creation\x20failed','null','xuplj','DkdKr','isBrowserstackInfra','BROWSERSTACK_TESTHUB_UUID','cpqzI','ZQUwN','WSGxz','tags','kWOgW','BS_TESTOPS_BUILD_HASHED_ID','AskED','AuZfr','split','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','commandsToWrap','DLGMm','nonBStackInfraA11yChromeOptions','../../bin/jest/test-observability/test-details.js','umHnH','setTestObservabilityVariables','includes','appendTesthubParams','key','JpMko','capabilities','options','getFrameworkDetails','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','toUpperCase','BROWSERSTACK_SR_AUTOMATION','yrJTG','DgMvr','../test-observability/utils','testPlanId','TestRunStarted','uuid','8vRezxx','pkYvj','jcayf','forEach','isLTSSession','vMrJq','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isNeJ','env','setPercyFlag','AdLtw','BHGSU','../logger','eKjMz','fyXnk','winstonLogger','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','1392648fRcXmx','length','test_run','bstackA11yShouldScan','argv','scripts','LHOgw','897554ngzbNo','accessibilityPlatform','lVeLy','1|5|2|0|4|6|3','../test-observability/constants.js','UoYns','slice','keys','ZzuMf','value','./constants.js','true','ObYMF','YmpVe','shouldScanTestForAccessibility','isAppAutomateSession','3691902eyHuIc','getProductMapForBuildStartCall','Okufm','command','PXHLT','isPercyBuild','false','usVtf','success','BROWSERSTACK_TESTHUB_UUID:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','logBuildError','config','SUoaq','aZpxU','BS_TESTOPS_BUILD_COMPLETED','4|0|2|1|3|5','dUpJM','commands','../accessibility-automation/scripts.js','javascript','upYJe','percy','HookRunStarted','platforms','../helper.js','COkNw','mTxeL','goog:chromeOptions','WJVmL','2676828PiVxwy','isTrue','getBuildStartData','sSayc','HookRunFinished','checkAccessibilityPlatformConfig','jwt','jnwox','ixEQM','vtUsw','CREDENTIALS_FOR_CRASH_REPORTING','FRAMEWORK_DETAILS','XCyNQ','CUCUMBER','330732ZUvqpw','vZPrI','vTgKG','OBSERVABILITY','../accessibility-automation/helper','oIcex','5bKvMCI','isAccessibilityEnabled','scopes','handleErrorForObservability','20plZQGy','cfBpK','isUndefined','../helper','description','ERROR','getAgentVersion','xfoEy','isRunning','BROWSERSTACK_TEST_PLAN_ID','BROWSERSTACK_PERCY','LogCreated','isTurboScaleSession','BROWSERSTACK_PRODUCT_MAP','message','CODECEPT','getGlobal','shouldProcessEventForTesthub','1tnWfNm','qxKjn','JrPXU','name','gwZem','MOCHA','../test-orchestration/orchestrationUtils.js','debug','JEQGI','hAqpv','BROWSERSTACK_TESTHUB_JWT','114066EISCHF','accessibility','getProductMap','HMZuu','handleErrorForAccessibility','get','getAccessibilityValueFromYml','CBTSessionCreated','62919IlssJq','errors','testManagementOptions','trim','gIDLC','stringify','getTestPlanId','getCurrentTestData','fihRN','build_hashed_id','setTestData','FBMXv','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','join','parse','BS_TESTOPS_JWT','oYuFR','JASMINE','parseA11yJwtPayload','parseFromJson','Dyrjq','qMSNU','allow_screenshots','setTestHubCommonMetaInfo','skipCDPConnectOverride','hwTGp','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','error','GHnck','observability','noUHw','sr_automation','BS_TESTOPS_ALLOW_SCREENSHOTS','getCentralUser','isAccessibilityPlatform','0|4|1|3|2','assign','../../bin/v2/modules/loadTestModule','XVdMT','../../bin/playwright/reporter/test-details.js','BS_A11Y_JWT','titlePath','setAccessibilityVariables','KbXNZ','info','WsNzA','getTestData'];a178_0x255c=function(){return _0x51ad9c;};return a178_0x255c();}const normalizeTestPlanId=_0x2ac09e=>{const _0x25e75e=a178_0x4068dd,_0x5db2f3={};_0x5db2f3['kHgjy']=function(_0x2fa4ad,_0x3ea993){return _0x2fa4ad!==_0x3ea993;},_0x5db2f3['WSGxz']='string',_0x5db2f3[_0x25e75e(0x109)]=function(_0x2b760a,_0x34e417){return _0x2b760a>_0x34e417;};const _0x5df2ec=_0x5db2f3;if(_0x5df2ec['kHgjy'](typeof _0x2ac09e,_0x5df2ec[_0x25e75e(0x161)]))return undefined;const _0x4fc4bc=_0x2ac09e[_0x25e75e(0x12a)]();return _0x5df2ec[_0x25e75e(0x109)](_0x4fc4bc[_0x25e75e(0x191)],0x0)?_0x4fc4bc:undefined;},readTestPlanIdFromCliArgs=(_0x403105=process[a178_0x4068dd(0x194)])=>{const _0x289e34=a178_0x4068dd,_0xca0ee5={};_0xca0ee5[_0x289e34(0x166)]=function(_0x770a8b,_0x5d64d9){return _0x770a8b<_0x5d64d9;},_0xca0ee5[_0x289e34(0x145)]=function(_0x2f48b3,_0x4102c6){return _0x2f48b3===_0x4102c6;},_0xca0ee5[_0x289e34(0x143)]=function(_0x22b763,_0x45c641){return _0x22b763+_0x45c641;};const _0x1d8c06=_0xca0ee5,_0x167c9a='--'+testHubConstants[_0x289e34(0x176)];for(let _0x7e80c=0x0;_0x1d8c06[_0x289e34(0x166)](_0x7e80c,_0x403105[_0x289e34(0x191)]);_0x7e80c+=0x1){const _0x78a681=_0x403105[_0x7e80c];if(_0x1d8c06[_0x289e34(0x145)](_0x78a681,_0x167c9a)){const _0x5ce2f0=_0x403105[_0x1d8c06[_0x289e34(0x143)](_0x7e80c,0x1)];if(!_0x5ce2f0||_0x5ce2f0['startsWith']('--'))return undefined;return _0x5ce2f0;}if(_0x78a681['startsWith'](_0x167c9a+'='))return _0x78a681[_0x289e34(0x19d)](_0x1d8c06[_0x289e34(0x143)](_0x167c9a[_0x289e34(0x191)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x47d6e1={})=>{const _0x538e86=a178_0x4068dd,_0x14d68f={'aZpxU':function(_0x13b8eb,_0x318f90){return _0x13b8eb(_0x318f90);}};return _0x14d68f[_0x538e86(0x1b5)](normalizeTestPlanId,_0x47d6e1&&_0x47d6e1[_0x538e86(0x129)]&&_0x47d6e1[_0x538e86(0x129)][_0x538e86(0x17c)]);};exports[a178_0x4068dd(0x12d)]=(_0x102e21={},_0x150695=process[a178_0x4068dd(0x194)],_0x23e49c=process[a178_0x4068dd(0x187)])=>{const _0x5370b9=a178_0x4068dd,_0x35fb6e={'jnwox':function(_0x24ad6a,_0x4469b1){return _0x24ad6a(_0x4469b1);},'KbXNZ':function(_0x3d16bc,_0x104c55){return _0x3d16bc(_0x104c55);}};try{const _0x40f55b=_0x35fb6e['jnwox'](normalizeTestPlanId,_0x35fb6e[_0x5370b9(0x152)](readTestPlanIdFromCliArgs,_0x150695));if(_0x40f55b)return _0x40f55b;const _0x3e71bf=_0x35fb6e[_0x5370b9(0xf1)](normalizeTestPlanId,_0x23e49c&&_0x23e49c[testHubConstants['ENV_VAR'][_0x5370b9(0x10b)]]);if(_0x3e71bf)return _0x3e71bf;return _0x35fb6e[_0x5370b9(0x152)](readTestPlanIdFromConfig,_0x102e21);}catch(_0x434bd7){return logger[_0x5370b9(0x11b)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x434bd7&&_0x434bd7[_0x5370b9(0x110)]?_0x434bd7['message']:_0x434bd7)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a179_0x2482d6=a179_0x15ba;function a179_0x54c7(){const _0x245f69=['errorMessage','version','X_OK','stack','FNWUT','buildName','nodejs','71808ldlOII','EvVlk','codeceptjs','all','finalExecutionRan','APP_AUTOMATE_PRODUCTS','nodeRequest','content-type','PyLeD','getUserName','assign','213256tFBBNx','playwrightVersion','KYTmV','bzHfw','KDMII','GaRhj','8745234uYDhjx','getTurboScaleBuildLink','10CAasqK','yzZgp','accessSync','Directory\x20','hubAllocation','fPVMf','getStackTraceAsString','format','error','qDwJy','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','buildIdentifier','gtqHV','./performance/performance-tester','browserStackConfig','user_killed','osVersion','91ZVKTWg','lOzZi','body','notifyUpdate','split','320xOgSqA','isBrowserstackInfra','fireFunnelTestEvent','ztQuv','./test-observability/utils','../helpers/testhub/constants','replace','SoVzx','iOJys','framework','values','object','getAccessKey',',\x20testhub\x20id:\x20','deviceName','PgTHN','isNullOrEmpty','every','[REDACTED]','VUUjP','qnOKX','SDK\x20run\x20ended\x20for\x20id:\x20','trim','length','ZPyOs','AUTOMATE','getTestFrameworkDetails','./helper','reduce','name','undefined','./globals','PPimu','WsDcP','ENV_VAR','_hubAllocationData','event_properties','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','KESow','sdkRunId','isTurboScaleSession','isAppAutomateSession','../bin/utils/constants','join','seleniumVersion','\x20has\x20now\x20read/write/execute\x20permissions.','qNSdq','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','4368141LtGHdU','Failed\x20to\x20set\x20directory\x20access:\x20','UdoWa','../bin/playwright/reporter/pwUtils','BROWSERSTACK_TESTHUB_UUID','forEach','3024264NlrWqs','env','browser','setReadWriteExecuteAccess','debug','source','API\x20Event\x20','AUTOMATE_PRODUCTS','tbyNY','toString','isModifiable','getSessionsList','getBuildLink','sendLogs','finalExecution','getFrameworkVersion','Playwright','winstonLogger','getGlobal','killSignal','getNodeAgent','74450CHvwTu','MxGih','5eYMpPz','ZAZox','DUyDT','unknown','XviYM','./logger','keys','type','stopPercy','browserVersion','parse','RqFJb','chmodSync','config','\x20:\x20','getTurboScaleSessionsList','HBrXd','FWOQz','_buildHashedId','W_OK','null','\x20response\x20-\x20','tDNFr','getOptimalHubUrl','2423036YznAVk','globalException','constants'];a179_0x54c7=function(){return _0x245f69;};return a179_0x54c7();}(function(_0x5180ba,_0x39b861){const _0xe4d7d0=a179_0x15ba,_0xe927c3=_0x5180ba();while(!![]){try{const _0x119efd=-parseInt(_0xe4d7d0(0x27a))/0x1*(parseInt(_0xe4d7d0(0x243))/0x2)+parseInt(_0xe4d7d0(0x22e))/0x3+parseInt(_0xe4d7d0(0x25d))/0x4+parseInt(_0xe4d7d0(0x245))/0x5*(-parseInt(_0xe4d7d0(0x278))/0x6)+parseInt(_0xe4d7d0(0x1f3))/0x7*(parseInt(_0xe4d7d0(0x272))/0x8)+parseInt(_0xe4d7d0(0x228))/0x9+parseInt(_0xe4d7d0(0x1f8))/0xa*(parseInt(_0xe4d7d0(0x267))/0xb);if(_0x119efd===_0x39b861)break;else _0xe927c3['push'](_0xe927c3['shift']());}catch(_0x174b70){_0xe927c3['push'](_0xe927c3['shift']());}}}(a179_0x54c7,0xc960c));function a179_0x15ba(_0x1da0a3,_0x1e2923){const _0x54c784=a179_0x54c7();return a179_0x15ba=function(_0x15ba9a,_0x4f6cb1){_0x15ba9a=_0x15ba9a-0x1e8;let _0x517231=_0x54c784[_0x15ba9a];return _0x517231;},a179_0x15ba(_0x1da0a3,_0x1e2923);}const os=require('os'),util=require('util'),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a179_0x2482d6(0x24a))[a179_0x2482d6(0x23f)],constants=require(a179_0x2482d6(0x222)),testHubConstants=require(a179_0x2482d6(0x1fd)),{getTransformPath}=require(a179_0x2482d6(0x22b)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a179_0x2482d6(0x222)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a179_0x2482d6(0x213)),PerformanceTester=require(a179_0x2482d6(0x1ef)),globals=require(a179_0x2482d6(0x217)),helper=require(a179_0x2482d6(0x213)),{isTestObservabilitySession}=require(a179_0x2482d6(0x1fc));let unhandledErrors='';exports[a179_0x2482d6(0x1fa)]=async(_0x4db7c4,_0x1f6325={},_0x599bb3,_0x2ecf59,_0x9474ca=![])=>{const _0x2f1c15=a179_0x2482d6,_0x3493df={'KDMII':function(_0x59d105,_0x21519a){return _0x59d105===_0x21519a;},'gtqHV':_0x2f1c15(0x203),'yrjFm':function(_0x2d7198,_0x3d9f0f){return _0x2d7198>_0x3d9f0f;},'ZPyOs':'tests','KYTmV':function(_0x9953aa){return _0x9953aa();},'tbyNY':function(_0x4108ef,_0x428eba){return _0x4108ef==_0x428eba;},'GFdHH':_0x2f1c15(0x259),'WsDcP':function(_0x49791c,_0x488d55){return _0x49791c===_0x488d55;},'PPimu':_0x2f1c15(0x216),'qDwJy':function(_0x20dbb1,_0x45297a){return _0x20dbb1>_0x45297a;},'MxGih':_0x2f1c15(0x269),'DUyDT':function(_0x29456a,_0x2bd2f7){return _0x29456a!==_0x2bd2f7;},'PyLeD':_0x2f1c15(0x23e),'UdoWa':_0x2f1c15(0x1ea),'tDNFr':function(_0x542654,_0x2d81f3){return _0x542654>_0x2d81f3;},'PgTHN':function(_0x32332b,_0x1b5aaf){return _0x32332b+_0x1b5aaf;},'yzZgp':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','bzHfw':_0x2f1c15(0x257),'VUUjP':function(_0x25acaa,_0x3d6a3a){return _0x25acaa(_0x3d6a3a);},'XviYM':_0x2f1c15(0x248),'ztQuv':_0x2f1c15(0x266),'iOJys':function(_0xcb0f22,_0x56dfbd){return _0xcb0f22===_0x56dfbd;},'FWOQz':'SDKTestSuccessful','MpAJU':'selenium-webdriver','NeYdx':'application/json','RqFJb':_0x2f1c15(0x20a),'KESow':'POST'};let _0x12d3a6=[];if(helper['isBrowserstackInfra']()&&_0x3493df[_0x2f1c15(0x274)](isTestObservabilitySession))_0x12d3a6=helper[_0x2f1c15(0x221)](_0x599bb3)?constants[_0x2f1c15(0x26c)]:constants[_0x2f1c15(0x235)];else{if(_0x3493df[_0x2f1c15(0x274)](isTestObservabilitySession))_0x12d3a6=constants[_0x2f1c15(0x1ec)];else helper[_0x2f1c15(0x1f9)]()&&(_0x12d3a6=helper['isAppAutomateSession'](_0x599bb3)?constants['APP_AUTOMATE']:constants[_0x2f1c15(0x211)]);}let _0x1c5af0=_0x599bb3[_0x2f1c15(0x1ed)];if(_0x3493df[_0x2f1c15(0x236)](_0x1c5af0,null))_0x1c5af0=_0x3493df['GFdHH'];else _0x3493df[_0x2f1c15(0x219)](_0x1c5af0,undefined)&&(_0x1c5af0=_0x3493df[_0x2f1c15(0x218)]);unhandledErrors&&_0x3493df[_0x2f1c15(0x1eb)](unhandledErrors[_0x2f1c15(0x20f)],0x0)&&(_0x1f6325[_0x2f1c15(0x25e)]=unhandledErrors);global[_0x2f1c15(0x21f)]&&(_0x1f6325[_0x2f1c15(0x21f)]=global[_0x2f1c15(0x21f)]);try{if(_0x1f6325[_0x2f1c15(0x1ea)]){if(_0x3493df['WsDcP'](_0x2ecf59,_0x3493df[_0x2f1c15(0x244)])&&_0x3493df[_0x2f1c15(0x1eb)](_0x1f6325[_0x2f1c15(0x1ea)][_0x2f1c15(0x20f)],0x0)){const _0x9c01e8={};_0x9c01e8['os']='',_0x9c01e8['osVersion']='',_0x9c01e8[_0x2f1c15(0x230)]='',_0x9c01e8[_0x2f1c15(0x24e)]='';const _0x58dc0=_0x9c01e8;let _0x51eec7={};const _0x6e428a=_0x1f6325[_0x2f1c15(0x1ea)];_0x51eec7=_0x6e428a[_0x2f1c15(0x214)]((_0x9c698b,_0x4ab065)=>{for(const _0x2dfc5a in _0x4ab065){_0x9c698b[_0x2dfc5a]=_0x4ab065[_0x2dfc5a];}return _0x9c698b;},{});const _0x6a56d={};_0x6a56d['tests']=_0x51eec7,_0x1f6325[_0x2f1c15(0x1ea)]=[Object[_0x2f1c15(0x271)]({},_0x58dc0,_0x6a56d)];}else{let _0x5c4adb=0x0;const _0x30bb3b=_0x3493df[_0x2f1c15(0x247)](_0x2ecf59,_0x3493df[_0x2f1c15(0x26f)])?JSON[_0x2f1c15(0x24f)](_0x1f6325['error']):_0x1f6325[_0x2f1c15(0x1ea)],_0x3427ee=Object[_0x2f1c15(0x202)](_0x30bb3b);_0x3427ee[_0x2f1c15(0x22d)](_0x96a532=>{const _0x500166=_0x2f1c15;if(_0x3493df[_0x500166(0x276)](typeof _0x96a532,_0x3493df[_0x500166(0x1ee)])){const _0x16ff9b=Object[_0x500166(0x202)](_0x96a532);!_0x16ff9b[_0x500166(0x209)](_0x2b0495=>_0x2b0495===null||_0x2b0495===undefined||_0x2b0495==='')&&(_0x5c4adb+=0x1);}});if(_0x3493df['WsDcP'](_0x5c4adb,0x0))delete _0x1f6325[_0x3493df[_0x2f1c15(0x22a)]];else{const _0x10f7af=[];Object['keys'](_0x30bb3b)['forEach'](_0x165dbd=>{const _0x4311d7=_0x2f1c15,_0x33ea9e={'ykiGo':function(_0x37d962,_0x577e81){return _0x3493df['yrjFm'](_0x37d962,_0x577e81);}},[_0x367205,_0x20502d,_0x5dd4ce,_0x477bed]=_0x165dbd[_0x4311d7(0x1f7)](',\x20');let _0x21680e={};if(!_0x477bed){const _0x3321b3={};_0x3321b3[_0x4311d7(0x206)]=_0x367205,_0x3321b3['osVersion']=_0x20502d,_0x3321b3[_0x4311d7(0x230)]=_0x5dd4ce,_0x21680e=_0x3321b3;}else{const _0xe11ed={};_0xe11ed['os']=_0x367205,_0xe11ed[_0x4311d7(0x1f2)]=_0x20502d,_0xe11ed['browser']=_0x5dd4ce,_0xe11ed[_0x4311d7(0x24e)]=_0x477bed,_0x21680e=_0xe11ed;}const _0x2784e5={},_0x265ede=_0x30bb3b[_0x165dbd];Object['keys'](_0x265ede)[_0x4311d7(0x22d)](_0x8806ca=>{_0x33ea9e['ykiGo'](_0x265ede[_0x8806ca]['length'],0x0)&&(_0x2784e5[_0x8806ca]=_0x265ede[_0x8806ca]);}),_0x3493df['yrjFm'](Object[_0x4311d7(0x24b)](_0x2784e5)[_0x4311d7(0x20f)],0x0)&&(_0x21680e[_0x3493df[_0x4311d7(0x210)]]=_0x2784e5,_0x10f7af['push'](_0x21680e));}),_0x3493df[_0x2f1c15(0x25b)](_0x10f7af[_0x2f1c15(0x20f)],0x0)?_0x1f6325['error']=_0x10f7af:delete _0x1f6325[_0x3493df[_0x2f1c15(0x22a)]];}}}}catch(_0x255fca){delete _0x1f6325[_0x3493df[_0x2f1c15(0x22a)]],logger[_0x2f1c15(0x232)](_0x3493df[_0x2f1c15(0x207)](_0x3493df[_0x2f1c15(0x27b)],_0x255fca));}const _0xfd7b29=helper[_0x2f1c15(0x212)](_0x599bb3,_0x599bb3[_0x2f1c15(0x201)]),_0xfd06a9={'userName':helper[_0x2f1c15(0x270)](_0x599bb3),'accessKey':helper['getAccessKey'](_0x599bb3),'event_type':_0x4db7c4,'detectedFramework':_0x2ecf59,'buildHashedId':globals['getGlobal'](_0x3493df[_0x2f1c15(0x275)]),'optimalHubUrl':helper[_0x2f1c15(0x25c)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x2f1c15(0x21a)][_0x2f1c15(0x22c)]]||'','sdkRunId':global[_0x2f1c15(0x21f)],'product_map':_0x3493df[_0x2f1c15(0x20b)](getProductMap,_0x599bb3),'productMap':_0x3493df[_0x2f1c15(0x20b)](getProductMap,_0x599bb3),'language_framework':_0x599bb3[_0x2f1c15(0x233)]||_0x3493df['XviYM'],'referrer':helper[_0x2f1c15(0x242)](_0x2ecf59),'framework':_0x599bb3[_0x2f1c15(0x201)],'frameworkVersion':helper[_0x2f1c15(0x23d)](_0x2ecf59),'automationFramework':_0xfd7b29[_0x2f1c15(0x215)],'automationFrameworkVersion':_0xfd7b29[_0x2f1c15(0x261)],'language':_0x3493df[_0x2f1c15(0x1fb)],'languageVersion':process[_0x2f1c15(0x261)],'product':_0x12d3a6,'buildName':_0x599bb3[_0x2f1c15(0x265)]||_0x3493df['PPimu'],'buildIdentifier':_0x1c5af0,'os':os[_0x2f1c15(0x24c)]()||_0x3493df['XviYM'],'hostname':os['hostname']()||_0x3493df[_0x2f1c15(0x249)],..._0x1f6325,'isCLIEnabled':_0x9474ca}};try{_0x3493df[_0x2f1c15(0x200)](_0x4db7c4,_0x3493df[_0x2f1c15(0x256)])&&(_0xfd06a9['event_properties'][_0x2f1c15(0x1f0)]=helper['sanitizeBrowserStackConfig'](_0x599bb3)),_0x3493df[_0x2f1c15(0x219)](_0x2ecf59,_0x3493df[_0x2f1c15(0x26f)])?_0xfd06a9['event_properties'][_0x2f1c15(0x273)]=helper['requirePWModule']['apply'](null,_0x3493df[_0x2f1c15(0x274)](getTransformPath),!![]):_0xfd06a9[_0x2f1c15(0x21c)][_0x2f1c15(0x224)]=helper['getPackageVersion'](_0x3493df['MpAJU']);}catch(_0x18deb3){logger[_0x2f1c15(0x232)](_0x2f1c15(0x227)+_0x18deb3);}const _0x34aed0={};_0x34aed0[_0x2f1c15(0x26e)]=_0x3493df['NeYdx'];const _0xc7aab6={'headers':_0x34aed0,'body':_0xfd06a9,'auth':{'user':helper['getUserName'](_0x599bb3),'pass':helper['getAccessKey'](_0x599bb3)},'json':!![]};logger[_0x2f1c15(0x232)](_0x2f1c15(0x21d)+JSON['stringify'](_0xc7aab6[_0x2f1c15(0x1f5)])[_0x2f1c15(0x1fe)](new RegExp(helper[_0x2f1c15(0x270)](_0x599bb3),'g'),_0x3493df[_0x2f1c15(0x250)])['replace'](new RegExp(helper[_0x2f1c15(0x204)](_0x599bb3),'g'),_0x3493df[_0x2f1c15(0x250)]));try{const _0x4eaa29=await helper[_0x2f1c15(0x26d)](_0x3493df[_0x2f1c15(0x21e)],FUNNEL_INSTRUMENTATION_API_URL,_0xc7aab6,_0x599bb3);logger['debug'](_0x2f1c15(0x234)+_0x4db7c4+_0x2f1c15(0x25a)+util[_0x2f1c15(0x1e9)]('%j',_0x4eaa29));}catch(_0x272461){logger['debug']('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x2f1c15(0x253)+util[_0x2f1c15(0x1e9)](_0x272461));}},exports[a179_0x2482d6(0x23c)]=async(_0x1c3861,_0xaf7cb4=![])=>{const _0x31402c=a179_0x2482d6,_0x4495ef={'VmhgU':function(_0x5385c6){return _0x5385c6();},'fPVMf':_0x31402c(0x21b),'qNSdq':'finishedMetadata','HBrXd':_0x31402c(0x1f1),'GaRhj':'SDKTestSuccessful','qnOKX':function(_0x77bdd8,_0x4038fe,_0x44f3e4){return _0x77bdd8(_0x4038fe,_0x44f3e4);},'lOzZi':function(_0x37f7b9,_0x487544){return _0x37f7b9+_0x487544;},'ZAZox':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0x1c3861[_0x31402c(0x26b)])return;_0x1c3861['finalExecutionRan']=!![];try{await _0x1c3861[_0x31402c(0x24d)](),_0x4495ef['VmhgU'](printNudgeLocalNotSetError);const _0x5e7251={};_0x5e7251[_0x31402c(0x1ea)]=_0x1c3861[_0x31402c(0x260)]?_0x1c3861[_0x31402c(0x260)]:'{}';const _0x26c810=_0x5e7251,_0xbee8a3=Object[_0x31402c(0x271)]({},_0x26c810),_0x4e9fc2=globals[_0x31402c(0x240)](_0x4495ef[_0x31402c(0x27f)]);_0x4e9fc2&&(_0xbee8a3[_0x31402c(0x27e)]=_0x4e9fc2);!!_0x1c3861[_0x31402c(0x241)]&&(_0xbee8a3[_0x4495ef[_0x31402c(0x226)]]={'reason':_0x4495ef[_0x31402c(0x255)],'signal':_0x1c3861[_0x31402c(0x241)]});unhandledErrors=_0x1c3861['unhandledErrors'][_0x31402c(0x223)]('\x0a');let _0x4094ff,_0x556aa9,_0x87e255;helper[_0x31402c(0x220)](_0x1c3861[_0x31402c(0x252)])?([_0x4094ff,_0x556aa9]=await helper[_0x31402c(0x279)](_0x1c3861['config']),[_0x87e255]=await Promise[_0x31402c(0x26a)]([helper[_0x31402c(0x254)](_0x4094ff,_0x1c3861[_0x31402c(0x252)]),exports[_0x31402c(0x1fa)](_0x4495ef['GaRhj'],_0xbee8a3,_0x1c3861[_0x31402c(0x252)],_0x1c3861[_0x31402c(0x201)],_0xaf7cb4)])):([_0x4094ff,_0x556aa9]=await helper[_0x31402c(0x23a)](_0x1c3861[_0x31402c(0x252)]),[_0x87e255]=await Promise[_0x31402c(0x26a)]([helper[_0x31402c(0x239)](_0x4094ff,_0x1c3861['config']),exports[_0x31402c(0x1fa)](_0x4495ef[_0x31402c(0x277)],_0xbee8a3,_0x1c3861[_0x31402c(0x252)],_0x1c3861[_0x31402c(0x201)],_0xaf7cb4)])),_0x87e255&&await _0x4495ef[_0x31402c(0x20c)](generateCIArtifacts,_0x87e255,_0x556aa9),logger['info'](_0x31402c(0x20d)+_0x1c3861[_0x31402c(0x21f)]+_0x31402c(0x205)+process[_0x31402c(0x22f)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x31402c(0x23b)](_0x1c3861[_0x31402c(0x252)]);}catch(_0x51dde3){logger[_0x31402c(0x232)](_0x4495ef[_0x31402c(0x1f4)](_0x4495ef[_0x31402c(0x246)],_0x51dde3));}helper[_0x31402c(0x1f6)]();},exports[a179_0x2482d6(0x1e8)]=_0x588392=>{const _0xd3a232=a179_0x2482d6,_0x48181b={'EvVlk':function(_0x13cf09,_0x7aa115){return _0x13cf09 instanceof _0x7aa115;},'FVjcX':function(_0x2178e0,_0x4fd1d8){return _0x2178e0(_0x4fd1d8);}};try{if(_0x48181b[_0xd3a232(0x268)](_0x588392,Error))return _0x588392[_0xd3a232(0x263)]||_0x588392[_0xd3a232(0x237)]();return _0x48181b['FVjcX'](String,_0x588392);}catch(_0xf8c58e){return _0x588392?_0x588392[_0xd3a232(0x237)]():'';}},exports[a179_0x2482d6(0x208)]=_0x47d0c7=>{const _0x5affb5=a179_0x2482d6,_0x158019={};_0x158019[_0x5affb5(0x264)]=function(_0x13f090,_0x3cce22){return _0x13f090===_0x3cce22;};const _0x3aecfa=_0x158019;return!_0x47d0c7||_0x3aecfa['FNWUT'](_0x47d0c7[_0x5affb5(0x20e)](),'');},exports[a179_0x2482d6(0x238)]=_0x2ee495=>{const _0x8cb679=a179_0x2482d6,_0x100467={};_0x100467[_0x8cb679(0x1ff)]=function(_0x35185d,_0x35d113){return _0x35185d|_0x35d113;};const _0x3093bc=_0x100467;try{return fs[_0x8cb679(0x27c)](_0x2ee495,_0x3093bc[_0x8cb679(0x1ff)](fs[_0x8cb679(0x25f)][_0x8cb679(0x258)],fs[_0x8cb679(0x25f)][_0x8cb679(0x262)])),!![];}catch(_0x1e5037){return![];}},exports[a179_0x2482d6(0x231)]=_0x1566ea=>{const _0x277d7c=a179_0x2482d6;try{fs[_0x277d7c(0x251)](_0x1566ea,0x1ff),logger[_0x277d7c(0x232)](_0x277d7c(0x27d)+_0x1566ea+_0x277d7c(0x225));}catch(_0x4446da){logger[_0x277d7c(0x1ea)](_0x277d7c(0x229)+exports[_0x277d7c(0x1e8)](_0x4446da));}};
|
|
1
|
+
function a179_0x2552(){const _0x4ebd0f=['262sgJjko','length','forEach','\x20has\x20now\x20read/write/execute\x20permissions.','killSignal','qCIQs','isModifiable','UPXYP','RNHPy','seleniumVersion','../helpers/testhub/constants','POST','./helper','push','RGibk','Zaolr','body','fireFunnelTestEvent','event_properties','format','parse','xDsWv','yLQVM','W_OK','getAccessKey','info','hmHbo','getPackageVersion','winstonLogger','VJNdX','./logger','../bin/utils/constants','getTestFrameworkDetails','nodejs','env','getStackTraceAsString','HauJm','hostname','sRaaZ','util','sCNID','tests','chmodSync','ivPek','playwrightVersion','deviceName','unhandledErrors','debug','buildIdentifier','24uLYeSr','setReadWriteExecuteAccess','source','notifyUpdate','47166BnZbNP','YNcky','accessSync','ENV_VAR','all','312oUyRts','unknown','reduce','AUTOMATE_PRODUCTS','xyiWS','eElrq','NmhdQ','undefined','name','gTLRM','object','YEseb','stopPercy','X_OK','replace','Failed\x20to\x20set\x20directory\x20access:\x20','type','[REDACTED]','45yDXNJu','error','browserVersion','oaOgx','join','\x20:\x20','getSessionsList','framework','getGlobal','../bin/playwright/reporter/pwUtils','getUserName','fZIXl','Error\x20in\x20firing\x20request\x20to\x20','keys','config','selenium-webdriver','TyHcB','BROWSERSTACK_TESTHUB_UUID','isAppAutomateSession','9176SYyBwF','LNYAR','tHJgr','finalExecution','GBcoy','gaDyy','getFrameworkVersion','kYQdk',',\x20testhub\x20id:\x20','gWaph','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','every','1282589WKsXJX','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','values','289768jdqcys','sdkRunId','691550RJWETj','hEeWw','assign','browser','MMXtx','Playwright','application/json','constants','kaUsN','osVersion','API\x20Event\x20','3343esPnPD','APP_AUTOMATE','isNullOrEmpty','getTurboScaleSessionsList','getBuildLink','split','rgkFm','errorMessage','LJVCr','nodeRequest','AUTOMATE','finishedMetadata','browserStackConfig','stringify','toString','finalExecutionRan','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','version','null','910YLXZpj','requirePWModule','_buildHashedId','stack','user_killed','1080876fzkqxC','isBrowserstackInfra','hubAllocation','FhSDD','sendLogs','trim'];a179_0x2552=function(){return _0x4ebd0f;};return a179_0x2552();}const a179_0x48f5e6=a179_0x4305;(function(_0x1c9836,_0x415b1b){const _0x4166a1=a179_0x4305,_0x1a71ef=_0x1c9836();while(!![]){try{const _0x3bee21=parseInt(_0x4166a1(0x1aa))/0x1*(-parseInt(_0x4166a1(0x1c8))/0x2)+parseInt(_0x4166a1(0x1c2))/0x3+parseInt(_0x4166a1(0x18e))/0x4*(parseInt(_0x4166a1(0x1bd))/0x5)+parseInt(_0x4166a1(0x169))/0x6*(-parseInt(_0x4166a1(0x164))/0x7)+-parseInt(_0x4166a1(0x19d))/0x8*(-parseInt(_0x4166a1(0x17b))/0x9)+-parseInt(_0x4166a1(0x19f))/0xa+parseInt(_0x4166a1(0x19a))/0xb*(parseInt(_0x4166a1(0x160))/0xc);if(_0x3bee21===_0x415b1b)break;else _0x1a71ef['push'](_0x1a71ef['shift']());}catch(_0xd7ed58){_0x1a71ef['push'](_0x1a71ef['shift']());}}}(a179_0x2552,0x51b2f));const os=require('os'),util=require(a179_0x48f5e6(0x156)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a179_0x48f5e6(0x1e6))[a179_0x48f5e6(0x1e4)],constants=require('../bin/utils/constants'),testHubConstants=require(a179_0x48f5e6(0x1d2)),{getTransformPath}=require(a179_0x48f5e6(0x184)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a179_0x48f5e6(0x1e7)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a179_0x48f5e6(0x1d4)),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';function a179_0x4305(_0x358208,_0x5b416b){const _0x2552ab=a179_0x2552();return a179_0x4305=function(_0x43058c,_0x5b658e){_0x43058c=_0x43058c-0x153;let _0x43cff4=_0x2552ab[_0x43058c];return _0x43cff4;},a179_0x4305(_0x358208,_0x5b416b);}exports['fireFunnelTestEvent']=async(_0x259214,_0x45dc11={},_0x3b9c23,_0x4fe190,_0x4c5031=![])=>{const _0x224da3=a179_0x48f5e6,_0x3f6c95={'LJVCr':function(_0x176940,_0x5cdfcc){return _0x176940===_0x5cdfcc;},'xyiWS':_0x224da3(0x173),'FhSDD':function(_0x4f9ba8,_0x44c24a){return _0x4f9ba8>_0x44c24a;},'KCiuH':function(_0x36845a,_0x31fc4e){return _0x36845a>_0x31fc4e;},'eElrq':_0x224da3(0x158),'hmHbo':function(_0x2e3dcc){return _0x2e3dcc();},'YNcky':function(_0x300a30,_0x2fbe06){return _0x300a30==_0x2fbe06;},'VJNdX':_0x224da3(0x1bc),'sRaaZ':_0x224da3(0x170),'tHJgr':function(_0x422b88,_0x344cc2){return _0x422b88>_0x344cc2;},'gTLRM':function(_0x4c13b8,_0x413e8c){return _0x4c13b8===_0x413e8c;},'RNHPy':'codeceptjs','toSWe':function(_0x161743,_0x16e1e6){return _0x161743!==_0x16e1e6;},'NmhdQ':_0x224da3(0x1a4),'MMXtx':_0x224da3(0x17c),'hEeWw':function(_0x189c03,_0x395a53){return _0x189c03>_0x395a53;},'QEZmH':function(_0x2fc843,_0x1c3ba6){return _0x2fc843+_0x1c3ba6;},'gWaph':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','UPXYP':_0x224da3(0x1bf),'fZIXl':function(_0x4e64f7,_0x4c8bbe){return _0x4e64f7(_0x4c8bbe);},'yLQVM':_0x224da3(0x16a),'xDsWv':_0x224da3(0x1e9),'TyHcB':'SDKTestSuccessful','HauJm':function(_0x2deb2f,_0x249b12){return _0x2deb2f===_0x249b12;},'kaUsN':function(_0x168afd){return _0x168afd();},'GBcoy':_0x224da3(0x18a),'oaOgx':_0x224da3(0x1a5),'sCNID':_0x224da3(0x17a),'IVdMO':_0x224da3(0x1d3)};let _0x189426=[];if(helper[_0x224da3(0x1c3)]()&&_0x3f6c95[_0x224da3(0x1e2)](isTestObservabilitySession))_0x189426=helper[_0x224da3(0x18d)](_0x3b9c23)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x224da3(0x16c)];else{if(_0x3f6c95[_0x224da3(0x1e2)](isTestObservabilitySession))_0x189426=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x224da3(0x1c3)]()&&(_0x189426=helper[_0x224da3(0x18d)](_0x3b9c23)?constants[_0x224da3(0x1ab)]:constants[_0x224da3(0x1b4)]);}let _0x40da86=_0x3b9c23[_0x224da3(0x15f)];if(_0x3f6c95[_0x224da3(0x165)](_0x40da86,null))_0x40da86=_0x3f6c95[_0x224da3(0x1e5)];else _0x3f6c95['LJVCr'](_0x40da86,undefined)&&(_0x40da86=_0x3f6c95[_0x224da3(0x155)]);unhandledErrors&&_0x3f6c95[_0x224da3(0x190)](unhandledErrors[_0x224da3(0x1c9)],0x0)&&(_0x45dc11['globalException']=unhandledErrors);global[_0x224da3(0x19e)]&&(_0x45dc11[_0x224da3(0x19e)]=global[_0x224da3(0x19e)]);try{if(_0x45dc11[_0x224da3(0x17c)]){if(_0x3f6c95[_0x224da3(0x172)](_0x4fe190,_0x3f6c95[_0x224da3(0x1d0)])&&_0x3f6c95[_0x224da3(0x190)](_0x45dc11[_0x224da3(0x17c)][_0x224da3(0x1c9)],0x0)){const _0x240e35={};_0x240e35['os']='',_0x240e35[_0x224da3(0x1a8)]='',_0x240e35[_0x224da3(0x1a2)]='',_0x240e35[_0x224da3(0x17d)]='';const _0x2ed397=_0x240e35;let _0x1a7586={};const _0x142e28=_0x45dc11['error'];_0x1a7586=_0x142e28[_0x224da3(0x16b)]((_0xcccf66,_0x45a657)=>{for(const _0x502e33 in _0x45a657){_0xcccf66[_0x502e33]=_0x45a657[_0x502e33];}return _0xcccf66;},{});const _0x25b248={};_0x25b248[_0x224da3(0x158)]=_0x1a7586,_0x45dc11[_0x224da3(0x17c)]=[Object[_0x224da3(0x1a1)]({},_0x2ed397,_0x25b248)];}else{let _0x1ac01f=0x0;const _0xffd78=_0x3f6c95['toSWe'](_0x4fe190,_0x3f6c95[_0x224da3(0x16f)])?JSON[_0x224da3(0x1dc)](_0x45dc11[_0x224da3(0x17c)]):_0x45dc11['error'],_0xd8e867=Object[_0x224da3(0x19c)](_0xffd78);_0xd8e867[_0x224da3(0x1ca)](_0x8e87c9=>{const _0x459278=_0x224da3;if(_0x3f6c95[_0x459278(0x1b2)](typeof _0x8e87c9,_0x3f6c95[_0x459278(0x16d)])){const _0x1a2604=Object[_0x459278(0x19c)](_0x8e87c9);!_0x1a2604[_0x459278(0x199)](_0x544cde=>_0x544cde===null||_0x544cde===undefined||_0x544cde==='')&&(_0x1ac01f+=0x1);}});if(_0x3f6c95[_0x224da3(0x172)](_0x1ac01f,0x0))delete _0x45dc11[_0x3f6c95[_0x224da3(0x1a3)]];else{const _0x2cb0b0=[];Object[_0x224da3(0x188)](_0xffd78)[_0x224da3(0x1ca)](_0x225cc3=>{const _0x1b7d2f=_0x224da3,[_0x23f86e,_0x4a77d6,_0x407765,_0x312a53]=_0x225cc3[_0x1b7d2f(0x1af)](',\x20');let _0x21b773={};if(!_0x312a53){const _0x4aff74={};_0x4aff74[_0x1b7d2f(0x15c)]=_0x23f86e,_0x4aff74[_0x1b7d2f(0x1a8)]=_0x4a77d6,_0x4aff74[_0x1b7d2f(0x1a2)]=_0x407765,_0x21b773=_0x4aff74;}else{const _0x80d7dd={};_0x80d7dd['os']=_0x23f86e,_0x80d7dd[_0x1b7d2f(0x1a8)]=_0x4a77d6,_0x80d7dd['browser']=_0x407765,_0x80d7dd[_0x1b7d2f(0x17d)]=_0x312a53,_0x21b773=_0x80d7dd;}const _0x3cb944={},_0x2e2867=_0xffd78[_0x225cc3];Object[_0x1b7d2f(0x188)](_0x2e2867)[_0x1b7d2f(0x1ca)](_0x33917c=>{const _0x17f55b=_0x1b7d2f;_0x3f6c95[_0x17f55b(0x1c5)](_0x2e2867[_0x33917c][_0x17f55b(0x1c9)],0x0)&&(_0x3cb944[_0x33917c]=_0x2e2867[_0x33917c]);}),_0x3f6c95['KCiuH'](Object[_0x1b7d2f(0x188)](_0x3cb944)[_0x1b7d2f(0x1c9)],0x0)&&(_0x21b773[_0x3f6c95[_0x1b7d2f(0x16e)]]=_0x3cb944,_0x2cb0b0[_0x1b7d2f(0x1d5)](_0x21b773));}),_0x3f6c95[_0x224da3(0x1a0)](_0x2cb0b0['length'],0x0)?_0x45dc11[_0x224da3(0x17c)]=_0x2cb0b0:delete _0x45dc11[_0x3f6c95[_0x224da3(0x1a3)]];}}}}catch(_0x21bc44){delete _0x45dc11[_0x3f6c95['MMXtx']],logger[_0x224da3(0x15e)](_0x3f6c95['QEZmH'](_0x3f6c95[_0x224da3(0x197)],_0x21bc44));}const _0x568b46=helper[_0x224da3(0x1e8)](_0x3b9c23,_0x3b9c23[_0x224da3(0x182)]),_0x3b1aa0={'userName':helper[_0x224da3(0x185)](_0x3b9c23),'accessKey':helper['getAccessKey'](_0x3b9c23),'event_type':_0x259214,'detectedFramework':_0x4fe190,'buildHashedId':globals[_0x224da3(0x183)](_0x3f6c95[_0x224da3(0x1cf)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x224da3(0x167)][_0x224da3(0x18c)]]||'','sdkRunId':global[_0x224da3(0x19e)],'product_map':_0x3f6c95[_0x224da3(0x186)](getProductMap,_0x3b9c23),'productMap':_0x3f6c95[_0x224da3(0x186)](getProductMap,_0x3b9c23),'language_framework':_0x3b9c23[_0x224da3(0x162)]||_0x3f6c95[_0x224da3(0x1de)],'referrer':helper['getNodeAgent'](_0x4fe190),'framework':_0x3b9c23[_0x224da3(0x182)],'frameworkVersion':helper[_0x224da3(0x194)](_0x4fe190),'automationFramework':_0x568b46[_0x224da3(0x171)],'automationFrameworkVersion':_0x568b46[_0x224da3(0x1bb)],'language':_0x3f6c95[_0x224da3(0x1dd)],'languageVersion':process['version'],'product':_0x189426,'buildName':_0x3b9c23['buildName']||_0x3f6c95['sRaaZ'],'buildIdentifier':_0x40da86,'os':os[_0x224da3(0x179)]()||_0x3f6c95[_0x224da3(0x1de)],'hostname':os[_0x224da3(0x154)]()||_0x3f6c95[_0x224da3(0x1de)],..._0x45dc11,'isCLIEnabled':_0x4c5031}};try{_0x3f6c95[_0x224da3(0x1b2)](_0x259214,_0x3f6c95[_0x224da3(0x18b)])&&(_0x3b1aa0[_0x224da3(0x1da)][_0x224da3(0x1b6)]=helper['sanitizeBrowserStackConfig'](_0x3b9c23)),_0x3f6c95[_0x224da3(0x153)](_0x4fe190,_0x3f6c95[_0x224da3(0x16f)])?_0x3b1aa0[_0x224da3(0x1da)][_0x224da3(0x15b)]=helper[_0x224da3(0x1be)]['apply'](null,_0x3f6c95[_0x224da3(0x1a7)](getTransformPath),!![]):_0x3b1aa0['event_properties'][_0x224da3(0x1d1)]=helper[_0x224da3(0x1e3)](_0x3f6c95[_0x224da3(0x192)]);}catch(_0x4a288e){logger[_0x224da3(0x15e)](_0x224da3(0x19b)+_0x4a288e);}const _0x4b12a7={};_0x4b12a7['content-type']=_0x3f6c95[_0x224da3(0x17e)];const _0x214600={'headers':_0x4b12a7,'body':_0x3b1aa0,'auth':{'user':helper[_0x224da3(0x185)](_0x3b9c23),'pass':helper['getAccessKey'](_0x3b9c23)},'json':!![]};logger[_0x224da3(0x15e)](_0x224da3(0x1ba)+JSON[_0x224da3(0x1b7)](_0x214600[_0x224da3(0x1d8)])['replace'](new RegExp(helper[_0x224da3(0x185)](_0x3b9c23),'g'),_0x3f6c95[_0x224da3(0x157)])[_0x224da3(0x177)](new RegExp(helper[_0x224da3(0x1e0)](_0x3b9c23),'g'),_0x3f6c95[_0x224da3(0x157)]));try{const _0x23eb12=await helper[_0x224da3(0x1b3)](_0x3f6c95['IVdMO'],FUNNEL_INSTRUMENTATION_API_URL,_0x214600,_0x3b9c23);logger[_0x224da3(0x15e)](_0x224da3(0x1a9)+_0x259214+'\x20response\x20-\x20'+util['format']('%j',_0x23eb12));}catch(_0x4eb92a){logger[_0x224da3(0x15e)](_0x224da3(0x187)+FUNNEL_INSTRUMENTATION_API_URL+_0x224da3(0x180)+util[_0x224da3(0x1db)](_0x4eb92a));}},exports[a179_0x48f5e6(0x191)]=async(_0x94d0f3,_0x5c3430=![])=>{const _0x16301a=a179_0x48f5e6,_0x31c2a3={'Zaolr':function(_0x4eb1c1){return _0x4eb1c1();},'OKkmx':'_hubAllocationData','bziuL':_0x16301a(0x1b5),'ivPek':_0x16301a(0x1c1),'RGibk':'SDKTestSuccessful','gFKNv':function(_0x11a433,_0x74620,_0x249f99){return _0x11a433(_0x74620,_0x249f99);},'kYQdk':function(_0x2d9904,_0x3bb8af){return _0x2d9904+_0x3bb8af;},'qCIQs':_0x16301a(0x198)};if(_0x94d0f3[_0x16301a(0x1b9)])return;_0x94d0f3['finalExecutionRan']=!![];try{await _0x94d0f3[_0x16301a(0x175)](),_0x31c2a3[_0x16301a(0x1d7)](printNudgeLocalNotSetError);const _0x1debb4={};_0x1debb4[_0x16301a(0x17c)]=_0x94d0f3['errorMessage']?_0x94d0f3[_0x16301a(0x1b1)]:'{}';const _0x43ba1d=_0x1debb4,_0x1cf91f=Object[_0x16301a(0x1a1)]({},_0x43ba1d),_0x317094=globals[_0x16301a(0x183)](_0x31c2a3['OKkmx']);_0x317094&&(_0x1cf91f[_0x16301a(0x1c4)]=_0x317094);!!_0x94d0f3[_0x16301a(0x1cc)]&&(_0x1cf91f[_0x31c2a3['bziuL']]={'reason':_0x31c2a3[_0x16301a(0x15a)],'signal':_0x94d0f3['killSignal']});unhandledErrors=_0x94d0f3[_0x16301a(0x15d)][_0x16301a(0x17f)]('\x0a');let _0x5153f0,_0x585ae4,_0x2adc8f;helper['isTurboScaleSession'](_0x94d0f3[_0x16301a(0x189)])?([_0x5153f0,_0x585ae4]=await helper['getTurboScaleBuildLink'](_0x94d0f3[_0x16301a(0x189)]),[_0x2adc8f]=await Promise[_0x16301a(0x168)]([helper[_0x16301a(0x1ad)](_0x5153f0,_0x94d0f3[_0x16301a(0x189)]),exports[_0x16301a(0x1d9)](_0x31c2a3[_0x16301a(0x1d6)],_0x1cf91f,_0x94d0f3[_0x16301a(0x189)],_0x94d0f3[_0x16301a(0x182)],_0x5c3430)])):([_0x5153f0,_0x585ae4]=await helper[_0x16301a(0x1ae)](_0x94d0f3[_0x16301a(0x189)]),[_0x2adc8f]=await Promise['all']([helper[_0x16301a(0x181)](_0x5153f0,_0x94d0f3[_0x16301a(0x189)]),exports[_0x16301a(0x1d9)](_0x31c2a3['RGibk'],_0x1cf91f,_0x94d0f3['config'],_0x94d0f3[_0x16301a(0x182)],_0x5c3430)])),_0x2adc8f&&await _0x31c2a3['gFKNv'](generateCIArtifacts,_0x2adc8f,_0x585ae4),logger[_0x16301a(0x1e1)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x94d0f3[_0x16301a(0x19e)]+_0x16301a(0x196)+process[_0x16301a(0x1ea)][_0x16301a(0x18c)]),await helper[_0x16301a(0x1c6)](_0x94d0f3['config']);}catch(_0x5b1bcd){logger[_0x16301a(0x15e)](_0x31c2a3[_0x16301a(0x195)](_0x31c2a3[_0x16301a(0x1cd)],_0x5b1bcd));}helper[_0x16301a(0x163)]();},exports['getStackTraceAsString']=_0x4e0cce=>{const _0x377b4b=a179_0x48f5e6,_0x14a5e={'rgkFm':function(_0x408967,_0x50c58b){return _0x408967 instanceof _0x50c58b;},'YEseb':function(_0x7d3c21,_0x1e0eed){return _0x7d3c21(_0x1e0eed);}};try{if(_0x14a5e[_0x377b4b(0x1b0)](_0x4e0cce,Error))return _0x4e0cce[_0x377b4b(0x1c0)]||_0x4e0cce[_0x377b4b(0x1b8)]();return _0x14a5e[_0x377b4b(0x174)](String,_0x4e0cce);}catch(_0x3bf72a){return _0x4e0cce?_0x4e0cce[_0x377b4b(0x1b8)]():'';}},exports[a179_0x48f5e6(0x1ac)]=_0x22e577=>{const _0x1b0a74=a179_0x48f5e6,_0x4c5cd8={};_0x4c5cd8[_0x1b0a74(0x18f)]=function(_0x438b04,_0x31b3e1){return _0x438b04===_0x31b3e1;};const _0x11ffe1=_0x4c5cd8;return!_0x22e577||_0x11ffe1[_0x1b0a74(0x18f)](_0x22e577[_0x1b0a74(0x1c7)](),'');},exports[a179_0x48f5e6(0x1ce)]=_0x1c7cbf=>{const _0x4d9c0b=a179_0x48f5e6,_0x8b8f8e={};_0x8b8f8e['gaDyy']=function(_0x2ea757,_0x4a1164){return _0x2ea757|_0x4a1164;};const _0x489101=_0x8b8f8e;try{return fs[_0x4d9c0b(0x166)](_0x1c7cbf,_0x489101[_0x4d9c0b(0x193)](fs[_0x4d9c0b(0x1a6)][_0x4d9c0b(0x1df)],fs[_0x4d9c0b(0x1a6)][_0x4d9c0b(0x176)])),!![];}catch(_0x16a9ba){return![];}},exports[a179_0x48f5e6(0x161)]=_0x2d3575=>{const _0x471920=a179_0x48f5e6;try{fs[_0x471920(0x159)](_0x2d3575,0x1ff),logger[_0x471920(0x15e)]('Directory\x20'+_0x2d3575+_0x471920(0x1cb));}catch(_0x5a39f1){logger[_0x471920(0x17c)](_0x471920(0x178)+exports[_0x471920(0x1eb)](_0x5a39f1));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a180_0x293e(_0x52994e,_0xf2ed5){var _0x4d49fd=a180_0x4d49();return a180_0x293e=function(_0x293e0c,_0x5c1abd){_0x293e0c=_0x293e0c-0x1d5;var _0xa19c16=_0x4d49fd[_0x293e0c];return _0xa19c16;},a180_0x293e(_0x52994e,_0xf2ed5);}var a180_0x3e76ab=a180_0x293e;function a180_0x4d49(){var _0x44535a=['pHbGM','browserstack.idleTimeout','jEQJj','browserstack.networkProfile','pLoFn','seleniumVersion','accessibilityOptions.wcagVersion','hosts','maskCommands','performance','Klwzi','nDVlN','tweFU','browserstack.testhubBuildUuid','device','browserstack.appium_version','MBZTN','QBcGr','XblOT','realMobile','RAzeS','poUcI','buildName','browserstack.enableSim','testhubBuildUuid','accessKey','qdIVS','os_version','eLqUz','geoLocation','25rjvtBA','browserstackSDK','browserstack.buildProductMap','TpWMI','browserstack.autoWait','browserstack.customNetwork','41751pduUWp','buildProductMap','browserstack.accessibilityOptions.includeIssueType.needsReview','OtKTL','CscGI','browserstack.geoLocation','browserstack.overridelocalInfo.localIdentifier','NCgGr','15908750czXMli','appiumVersion','yDcAw','local','browser_version','W3CMapping','xtXDg','browserstack.uploadMedia','byOGG','giVaF','2510SLHNpD','disableCorsRestrictions','owMsC','Vqyoo','browserstack.accessibilityOptions.scannerProcessingTimeout','consoleLogs','browserstack.bfcache','RMtAC','NpFgG','browserstack.buildIdentifier','bpyPC','seleniumLogs','qMRbK','jeNdO','userName','cufSz','name','sessionName','iUQkx','wsLocalSupport','8423961EyaVim','252WbzekX','browserstack.local','aZwqG','autoWait','projectName','eEqDY','118uXkiVJ','RwScG','browserstack.video','enableSim','QrkEU','browserstack.browserstackSDK','dVlXi','rFdij','browserstack.disableCorsRestrictions','resolution','accessibilityOptions.scannerProcessingTimeout','browserstack.performance','accessibilityOptions.authToken','snDad','browser','kadCN','TLXHW','15377552uIVNgc','networkProfile','localIdentifier','browserstack.user','telemetryLogs','browserstack.wsLocalSupport','browserstack.networkLogs','browserstack.use_w3c','FuWzo','221046Bxahow','headerParams','browserstack.debug','accessibilityOptions.includeIssueType.needsReview','iBXLr','gqNsk','MksDR','idleTimeout','browserstack.accessibilityOptions.authToken','deviceOrientation','browserstack.accessibilityOptions.includeIssueType.bestPractice','project','browserstack.timezone','browserstack.accessibilityOptions.scannerVersion','debug','WxhKF','23557lueHmm','browserstack.console','LZZRB','networkLogs','browserstack.headerParams','maskBasicAuth','73206GfkNNn','MjHCE','build','uOdzN','accessibilityOptions.scannerVersion','PQcMr','KJiZE','appiumLogs','HQHEK','EqXJm','HDeEL','mXSVa','playwrightVersion','uploadMedia','browserstack.selenium_version','OLbZp'];a180_0x4d49=function(){return _0x44535a;};return a180_0x4d49();}(function(_0x9df3c2,_0x52e62f){var _0x153767=a180_0x293e,_0x54dcbf=_0x9df3c2();while(!![]){try{var _0xea8b8b=parseInt(_0x153767(0x230))/0x1*(-parseInt(_0x153767(0x206))/0x2)+-parseInt(_0x153767(0x236))/0x3*(-parseInt(_0x153767(0x200))/0x4)+-parseInt(_0x153767(0x264))/0x5*(parseInt(_0x153767(0x220))/0x6)+-parseInt(_0x153767(0x1ff))/0x7+parseInt(_0x153767(0x217))/0x8+-parseInt(_0x153767(0x1d9))/0x9*(parseInt(_0x153767(0x1eb))/0xa)+parseInt(_0x153767(0x1e1))/0xb;if(_0xea8b8b===_0x52e62f)break;else _0x54dcbf['push'](_0x54dcbf['shift']());}catch(_0x243c9c){_0x54dcbf['push'](_0x54dcbf['shift']());}}}(a180_0x4d49,0xeb532),exports[a180_0x3e76ab(0x1e6)]=()=>{var _0x3695ac=a180_0x3e76ab,_0x59d4b5={};_0x59d4b5[_0x3695ac(0x1fd)]=_0x3695ac(0x1f9),_0x59d4b5[_0x3695ac(0x215)]=_0x3695ac(0x25f),_0x59d4b5[_0x3695ac(0x1ea)]='osVersion',_0x59d4b5[_0x3695ac(0x213)]=_0x3695ac(0x214),_0x59d4b5[_0x3695ac(0x232)]='browserVersion',_0x59d4b5[_0x3695ac(0x224)]='useW3c',_0x59d4b5[_0x3695ac(0x240)]=_0x3695ac(0x204),_0x59d4b5[_0x3695ac(0x262)]=_0x3695ac(0x25c),_0x59d4b5[_0x3695ac(0x23c)]=_0x3695ac(0x1fc),_0x59d4b5[_0x3695ac(0x23e)]=_0x3695ac(0x1e4),_0x59d4b5[_0x3695ac(0x20c)]=_0x3695ac(0x219),_0x59d4b5[_0x3695ac(0x24a)]=_0x3695ac(0x22e),_0x59d4b5[_0x3695ac(0x260)]=_0x3695ac(0x1f0),_0x59d4b5[_0x3695ac(0x225)]=_0x3695ac(0x233),_0x59d4b5[_0x3695ac(0x1dc)]='networkLogsOptions',_0x59d4b5[_0x3695ac(0x239)]=_0x3695ac(0x23d),_0x59d4b5['CscGI']='video',_0x59d4b5[_0x3695ac(0x1f2)]=_0x3695ac(0x1f6),_0x59d4b5[_0x3695ac(0x1f5)]=_0x3695ac(0x21b),_0x59d4b5[_0x3695ac(0x25b)]=_0x3695ac(0x263),_0x59d4b5['RwScG']='timezone',_0x59d4b5['Klwzi']=_0x3695ac(0x20f),_0x59d4b5['MjHCE']=_0x3695ac(0x24b),_0x59d4b5[_0x3695ac(0x20a)]=_0x3695ac(0x24e),_0x59d4b5[_0x3695ac(0x246)]=_0x3695ac(0x227),_0x59d4b5[_0x3695ac(0x1fa)]=_0x3695ac(0x235),_0x59d4b5[_0x3695ac(0x202)]=_0x3695ac(0x203),_0x59d4b5[_0x3695ac(0x1f8)]=_0x3695ac(0x24d),_0x59d4b5[_0x3695ac(0x226)]='bfcache',_0x59d4b5['byOGG']=_0x3695ac(0x1fe),_0x59d4b5[_0x3695ac(0x1f3)]=_0x3695ac(0x1ec),_0x59d4b5['qMRbK']='deviceName',_0x59d4b5[_0x3695ac(0x1e3)]=_0x3695ac(0x259),_0x59d4b5[_0x3695ac(0x25a)]=_0x3695ac(0x1e2),_0x59d4b5[_0x3695ac(0x1d6)]=_0x3695ac(0x229),_0x59d4b5[_0x3695ac(0x1e7)]='customNetwork',_0x59d4b5[_0x3695ac(0x252)]=_0x3695ac(0x218),_0x59d4b5[_0x3695ac(0x1e0)]='buildIdentifier',_0x59d4b5[_0x3695ac(0x241)]=_0x3695ac(0x265),_0x59d4b5['kdwMO']='accessibility',_0x59d4b5['PRzmP']=_0x3695ac(0x1da),_0x59d4b5[_0x3695ac(0x257)]=_0x3695ac(0x25e),_0x59d4b5[_0x3695ac(0x245)]=_0x3695ac(0x24c),_0x59d4b5[_0x3695ac(0x23b)]=_0x3695ac(0x23a),_0x59d4b5[_0x3695ac(0x258)]=_0x3695ac(0x210),_0x59d4b5[_0x3695ac(0x23f)]='accessibilityOptions.includeIssueType.bestPractice',_0x59d4b5['rFdij']=_0x3695ac(0x223),_0x59d4b5[_0x3695ac(0x1ed)]=_0x3695ac(0x212),_0x59d4b5[_0x3695ac(0x1ee)]=_0x3695ac(0x243),_0x59d4b5['nDVlN']=_0x3695ac(0x209),_0x59d4b5[_0x3695ac(0x256)]='simOptions',_0x59d4b5[_0x3695ac(0x22f)]=_0x3695ac(0x242),_0x59d4b5[_0x3695ac(0x248)]='overridelocalInfo.userAuthToken',_0x59d4b5[_0x3695ac(0x216)]='overridelocalInfo.localIdentifier',_0x59d4b5['eEqDY']=_0x3695ac(0x221),_0x59d4b5[_0x3695ac(0x21f)]=_0x3695ac(0x24f);var _0xe8f6f7=_0x59d4b5,_0x46f084={};return _0x46f084[_0x3695ac(0x21a)]=_0xe8f6f7[_0x3695ac(0x1fd)],_0x46f084['browserstack.key']=_0xe8f6f7[_0x3695ac(0x215)],_0x46f084['os']='os',_0x46f084[_0x3695ac(0x261)]=_0xe8f6f7[_0x3695ac(0x1ea)],_0x46f084['browser']=_0xe8f6f7[_0x3695ac(0x213)],_0x46f084[_0x3695ac(0x1e5)]=_0xe8f6f7[_0x3695ac(0x232)],_0x46f084[_0x3695ac(0x21e)]=_0xe8f6f7['iBXLr'],_0x46f084[_0x3695ac(0x22b)]=_0xe8f6f7[_0x3695ac(0x240)],_0x46f084[_0x3695ac(0x238)]=_0xe8f6f7[_0x3695ac(0x262)],_0x46f084[_0x3695ac(0x1fb)]=_0xe8f6f7[_0x3695ac(0x23c)],_0x46f084[_0x3695ac(0x201)]=_0xe8f6f7[_0x3695ac(0x23e)],_0x46f084['browserstack.localIdentifier']=_0xe8f6f7[_0x3695ac(0x20c)],_0x46f084[_0x3695ac(0x222)]=_0xe8f6f7['pLoFn'],_0x46f084[_0x3695ac(0x231)]=_0xe8f6f7['qdIVS'],_0x46f084[_0x3695ac(0x21d)]=_0xe8f6f7['gqNsk'],_0x46f084['browserstack.networkLogsOptions']=_0xe8f6f7[_0x3695ac(0x1dc)],_0x46f084['browserstack.appiumLogs']=_0xe8f6f7[_0x3695ac(0x239)],_0x46f084[_0x3695ac(0x208)]=_0xe8f6f7[_0x3695ac(0x1dd)],_0x46f084['browserstack.seleniumLogs']=_0xe8f6f7['RMtAC'],_0x46f084['browserstack.telemetryLogs']=_0xe8f6f7[_0x3695ac(0x1f5)],_0x46f084[_0x3695ac(0x1de)]=_0xe8f6f7[_0x3695ac(0x25b)],_0x46f084[_0x3695ac(0x22c)]=_0xe8f6f7[_0x3695ac(0x207)],_0x46f084[_0x3695ac(0x20f)]=_0xe8f6f7[_0x3695ac(0x250)],_0x46f084[_0x3695ac(0x244)]=_0xe8f6f7[_0x3695ac(0x237)],_0x46f084['browserstack.maskCommands']=_0xe8f6f7[_0x3695ac(0x20a)],_0x46f084[_0x3695ac(0x247)]=_0xe8f6f7['pHbGM'],_0x46f084['browserstack.maskBasicAuth']=_0xe8f6f7[_0x3695ac(0x1fa)],_0x46f084[_0x3695ac(0x1d7)]=_0xe8f6f7[_0x3695ac(0x202)],_0x46f084['browserstack.hosts']=_0xe8f6f7[_0x3695ac(0x1f8)],_0x46f084[_0x3695ac(0x1f1)]=_0xe8f6f7['MksDR'],_0x46f084[_0x3695ac(0x21c)]=_0xe8f6f7[_0x3695ac(0x1e9)],_0x46f084[_0x3695ac(0x20e)]=_0xe8f6f7[_0x3695ac(0x1f3)],_0x46f084[_0x3695ac(0x254)]=_0xe8f6f7[_0x3695ac(0x1f7)],_0x46f084[_0x3695ac(0x259)]=_0xe8f6f7[_0x3695ac(0x1e3)],_0x46f084[_0x3695ac(0x255)]=_0xe8f6f7[_0x3695ac(0x25a)],_0x46f084['deviceOrientation']=_0xe8f6f7['TpWMI'],_0x46f084[_0x3695ac(0x1d8)]=_0xe8f6f7[_0x3695ac(0x1e7)],_0x46f084[_0x3695ac(0x249)]=_0xe8f6f7[_0x3695ac(0x252)],_0x46f084[_0x3695ac(0x1f4)]=_0xe8f6f7[_0x3695ac(0x1e0)],_0x46f084[_0x3695ac(0x20b)]=_0xe8f6f7['mXSVa'],_0x46f084['browserstack.accessibility']=_0xe8f6f7['kdwMO'],_0x46f084[_0x3695ac(0x1d5)]=_0xe8f6f7['PRzmP'],_0x46f084[_0x3695ac(0x253)]=_0xe8f6f7[_0x3695ac(0x257)],_0x46f084['browserstack.accessibilityOptions.wcagVersion']=_0xe8f6f7[_0x3695ac(0x245)],_0x46f084[_0x3695ac(0x22d)]=_0xe8f6f7[_0x3695ac(0x23b)],_0x46f084[_0x3695ac(0x1ef)]=_0xe8f6f7['XblOT'],_0x46f084[_0x3695ac(0x22a)]=_0xe8f6f7[_0x3695ac(0x23f)],_0x46f084[_0x3695ac(0x1db)]=_0xe8f6f7[_0x3695ac(0x20d)],_0x46f084[_0x3695ac(0x228)]=_0xe8f6f7[_0x3695ac(0x1ed)],_0x46f084[_0x3695ac(0x1e8)]=_0xe8f6f7[_0x3695ac(0x1ee)],_0x46f084[_0x3695ac(0x25d)]=_0xe8f6f7[_0x3695ac(0x251)],_0x46f084['browserstack.simOptions']=_0xe8f6f7['MBZTN'],_0x46f084['browserstack.playwrightVersion']=_0xe8f6f7['WxhKF'],_0x46f084['browserstack.overridelocalInfo.userAuthToken']=_0xe8f6f7[_0x3695ac(0x248)],_0x46f084[_0x3695ac(0x1df)]=_0xe8f6f7[_0x3695ac(0x216)],_0x46f084[_0x3695ac(0x234)]=_0xe8f6f7[_0x3695ac(0x205)],_0x46f084[_0x3695ac(0x211)]=_0xe8f6f7[_0x3695ac(0x21f)],_0x46f084;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a181_0x27c4(_0x4913e4,_0x44ec4c){const _0x1d7310=a181_0x1d73();return a181_0x27c4=function(_0x27c469,_0x29c5f2){_0x27c469=_0x27c469-0x1be;let _0x7ce0f7=_0x1d7310[_0x27c469];return _0x7ce0f7;},a181_0x27c4(_0x4913e4,_0x44ec4c);}const a181_0x17384f=a181_0x27c4;function a181_0x1d73(){const _0x538997=['next_hubs','nPRZo','HiYTZ','2184484ctxHaH','hVzZS','PZOWH','hubs','util','allocateHub','AcFYG','efDwt','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','5cMUElZ','9ovMEXp','hash','getGlobal','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','hubRegion','all','gDpGG','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','Execution\x20time\x20for\x20','./bin/utils/constants','QRlwX','GET','pPPmi','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','get','21833570GzTFYu','gRief','findLatency','hubRegion\x20','set','3111798HXJaAJ','updateHubUrl','length','tIYTZ','64vbbFrj','KbPoe','/wd/hub','map','HsSPu','LCQDL','status','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','xEaAk','8936060YLwWzv','url','NEAREST\x20HUBS\x20LIST:\x20','search','path','setGlobal','format','Response:\x20','436560MwcQGL','dQQVr','replace','129073pZfpsl','has','OKdMu','NubDT','wSKja','allSettled','skipped','hubUrl','now','./helpers/helper','wFtcY','Wqotl','consumeHubUrlForSession','MLiNr','nextHubs','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','HUB_URL_MAP','latency','LBWcy','catch','newHubUrlBySession','MIHvV','pathname','check','zlmeg','winstonLogger','HUB\x20URL\x20SET\x20TO\x20-\x20','then','\x20is:\x20','https://','debug','YLSxd','JMpMg','./helpers/globals','cKysu','wLiUB','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','hubLatencies','24eGcuzY','data','eJjqv','nodeRequest','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','Invalid\x20new\x20HUB\x20URL:\x20','290878nhAWlz','cJPBG'];a181_0x1d73=function(){return _0x538997;};return a181_0x1d73();}(function(_0x59bb90,_0x1b03c9){const _0x1883b6=a181_0x27c4,_0xa73883=_0x59bb90();while(!![]){try{const _0x93d7c7=-parseInt(_0x1883b6(0x216))/0x1+-parseInt(_0x1883b6(0x1df))/0x2+parseInt(_0x1883b6(0x213))/0x3*(parseInt(_0x1883b6(0x1d4))/0x4)+-parseInt(_0x1883b6(0x1e8))/0x5*(parseInt(_0x1883b6(0x1fd))/0x6)+-parseInt(_0x1883b6(0x1da))/0x7*(-parseInt(_0x1883b6(0x201))/0x8)+parseInt(_0x1883b6(0x1e9))/0x9*(-parseInt(_0x1883b6(0x20b))/0xa)+parseInt(_0x1883b6(0x1f8))/0xb;if(_0x93d7c7===_0x1b03c9)break;else _0xa73883['push'](_0xa73883['shift']());}catch(_0x8a88cc){_0xa73883['push'](_0xa73883['shift']());}}}(a181_0x1d73,0x87f44));const url=require(a181_0x17384f(0x20c)),util=require(a181_0x17384f(0x1e3)),helper=require(a181_0x17384f(0x21f)),logger=require('./helpers/logger')[a181_0x17384f(0x1c7)],constants=require(a181_0x17384f(0x1f2)),globals=require(a181_0x17384f(0x1cf));global['newHubUrlBySession']=global[a181_0x17384f(0x1c2)]||new Map(),exports['getRequestOptions']=_0x926b08=>{const _0x3e571a=a181_0x17384f,_0x5e281b={};_0x5e281b[_0x3e571a(0x1c0)]=function(_0x290604,_0x5d235d){return _0x290604+_0x5d235d;},_0x5e281b[_0x3e571a(0x1f5)]=_0x3e571a(0x1d9);const _0xdb37df=_0x5e281b,_0x2b8bbf=url['parse'](_0x926b08);if(!_0x2b8bbf['hostname'])throw new Error(_0xdb37df['LBWcy'](_0xdb37df[_0x3e571a(0x1f5)],_0x926b08));return _0x2b8bbf[_0x3e571a(0x20e)]=null,_0x2b8bbf[_0x3e571a(0x1ea)]=null,_0x2b8bbf[_0x3e571a(0x20f)]=_0x2b8bbf[_0x3e571a(0x1c4)],_0x2b8bbf;},exports[a181_0x17384f(0x1fe)]=(_0x5d3d53,_0x48fd1b)=>{const _0x33365d=a181_0x17384f,_0x1a530d={};_0x1a530d[_0x33365d(0x1dd)]=_0x33365d(0x208);const _0x41934b=_0x1a530d;if(!_0x48fd1b){logger[_0x33365d(0x1cc)](_0x41934b['nPRZo']);return;}global['newHubUrlBySession'][_0x33365d(0x1fc)](_0x48fd1b,_0x5d3d53);},exports[a181_0x17384f(0x222)]=_0x16dcb4=>{const _0x518bb1=a181_0x17384f;if(_0x16dcb4&&global[_0x518bb1(0x1c2)][_0x518bb1(0x217)](_0x16dcb4)){const _0x3914b4=global['newHubUrlBySession'][_0x518bb1(0x1f7)](_0x16dcb4);return global[_0x518bb1(0x1c2)]['delete'](_0x16dcb4),_0x3914b4;}return'';},exports[a181_0x17384f(0x1e4)]=_0x5f759c=>{const _0x3cbca5=a181_0x17384f,_0x4437e2={'DloAN':function(_0x16c870,_0x1875d5){return _0x16c870==_0x1875d5;},'zlmeg':function(_0x1f8a4c,_0x5a12b1){return _0x1f8a4c===_0x5a12b1;},'JMpMg':function(_0x57f75c){return _0x57f75c();},'gRief':function(_0x178689,_0x554aed){return _0x178689!==_0x554aed;},'wLiUB':function(_0x314fed,_0x3fe7d2){return _0x314fed+_0x3fe7d2;},'gDpGG':_0x3cbca5(0x1cb),'QRlwX':'_hubAllocationData','PZOWH':'fulfilled','OKdMu':_0x3cbca5(0x1f0),'cRrQQ':_0x3cbca5(0x203),'zInCJ':function(_0x3aff90){return _0x3aff90();}};return new Promise(_0x68985b=>{const _0x321704=_0x3cbca5,_0x437396={'xgNXY':function(_0x27db53,_0x5990e8){const _0x5c481e=a181_0x27c4;return _0x4437e2[_0x5c481e(0x1f9)](_0x27db53,_0x5990e8);},'efDwt':function(_0x5efb95,_0x2d153e){const _0x5d5ceb=a181_0x27c4;return _0x4437e2[_0x5d5ceb(0x1d1)](_0x5efb95,_0x2d153e);},'cJPBG':_0x4437e2[_0x321704(0x1ef)],'Wqotl':_0x4437e2[_0x321704(0x1f3)],'NubDT':function(_0x4e7c5d,_0x28eda0){return _0x4437e2['zlmeg'](_0x4e7c5d,_0x28eda0);},'HsSPu':_0x4437e2[_0x321704(0x1e1)],'YLSxd':_0x4437e2[_0x321704(0x218)],'wFtcY':_0x4437e2['cRrQQ'],'MIHvV':function(_0x599da1){const _0x165e67=_0x321704;return _0x4437e2[_0x165e67(0x1ce)](_0x599da1);},'MLiNr':function(_0x48330e){return _0x4437e2['zInCJ'](_0x48330e);}};if(_0x5f759c&&_0x5f759c[_0x321704(0x1ed)]){const _0x1c6df7=constants[_0x321704(0x1be)][_0x5f759c[_0x321704(0x1ed)]];if(_0x1c6df7)return constants[_0x321704(0x21d)]=_0x1c6df7,logger[_0x321704(0x1cc)](_0x321704(0x1ec)+_0x1c6df7),globals[_0x321704(0x210)](_0x4437e2['QRlwX'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x1c6df7[_0x321704(0x215)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x321704(0x21e)]()}),_0x4437e2[_0x321704(0x1ce)](_0x68985b);logger[_0x321704(0x1cc)](_0x321704(0x1fb)+_0x5f759c[_0x321704(0x1ed)]+_0x321704(0x1d8));}Promise['resolve'](this[_0x321704(0x224)](_0x5f759c))[_0x321704(0x1c9)](_0x45fea5=>{const _0x5af2db=_0x321704;logger[_0x5af2db(0x1cc)](_0x5af2db(0x20d)+util[_0x5af2db(0x211)]('%j',_0x45fea5));if(_0x4437e2['DloAN'](_0x45fea5,null)||_0x4437e2[_0x5af2db(0x1c6)](_0x45fea5[_0x5af2db(0x1ff)],0x0))return _0x4437e2[_0x5af2db(0x1ce)](_0x68985b);const _0x1c1803=_0x45fea5['map'](_0x2d749d=>{const _0x507ece=_0x5af2db,_0x13143d={'HiYTZ':function(_0x197e86,_0x4d3223){return _0x437396['xgNXY'](_0x197e86,_0x4d3223);}},_0x4b9254=_0x437396[_0x507ece(0x1e6)](_0x437396['cJPBG'],_0x2d749d);return this[_0x507ece(0x1fa)](_0x5f759c,_0x4b9254)['then'](_0x4e5747=>{const _0x4a4a94=_0x507ece;if(_0x4e5747&&_0x4e5747['hubUrl']&&_0x13143d[_0x4a4a94(0x1de)](_0x4e5747['latency'],undefined)){const _0x2663ef={};return _0x2663ef[_0x4a4a94(0x21d)]=_0x4e5747[_0x4a4a94(0x21d)],_0x2663ef[_0x4a4a94(0x1bf)]=_0x4e5747[_0x4a4a94(0x1bf)],_0x2663ef['ok']=!![],_0x2663ef;}const _0x4a18e5={};return _0x4a18e5[_0x4a4a94(0x21d)]=_0x4b9254,_0x4a18e5[_0x4a4a94(0x1bf)]=null,_0x4a18e5['ok']=![],_0x4a18e5;})[_0x507ece(0x1c1)](()=>({'hubUrl':_0x4b9254,'latency':null,'ok':![]}));});Promise['race'](_0x1c1803['map'](_0x4fcfe5=>_0x4fcfe5[_0x5af2db(0x1c9)](_0x487a87=>_0x487a87['ok']?_0x487a87:null)))[_0x5af2db(0x1c9)](_0x1199f2=>{const _0x52da34=_0x5af2db;if(_0x1199f2)return _0x1199f2;return Promise[_0x52da34(0x1ee)](_0x1c1803)[_0x52da34(0x1c9)](()=>null);})[_0x5af2db(0x1c9)](_0xf5b7dc=>{const _0x401647=_0x5af2db,_0x4ae6a5={'cKysu':_0x437396[_0x401647(0x221)],'hVzZS':function(_0x4d7dd0,_0x589dd0){const _0x18d38b=_0x401647;return _0x437396[_0x18d38b(0x219)](_0x4d7dd0,_0x589dd0);},'eJjqv':_0x437396[_0x401647(0x205)]};if(!_0xf5b7dc){logger['debug'](_0x437396[_0x401647(0x1cd)]);const _0x1fc9d4=_0x437396[_0x401647(0x1e6)](_0x437396[_0x401647(0x1db)],_0x45fea5[0x0]);return globals[_0x401647(0x210)](_0x437396[_0x401647(0x221)],{'nearestHubs':_0x45fea5['map'](_0x36e37a=>'https://'+_0x36e37a),'hubLatencies':{},'selectedHub':_0x1fc9d4,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x401647(0x21e)]()}),constants[_0x401647(0x21d)]=_0x437396[_0x401647(0x1e6)](_0x1fc9d4,_0x437396[_0x401647(0x220)]),logger[_0x401647(0x1cc)](_0x401647(0x225)+_0x1fc9d4),_0x437396[_0x401647(0x1c3)](_0x68985b);}const _0x411e56={[_0xf5b7dc[_0x401647(0x21d)]]:_0xf5b7dc[_0x401647(0x1bf)]},_0x33318d={'nearestHubs':_0x45fea5[_0x401647(0x204)](_0x4a5df6=>_0x401647(0x1cb)+_0x4a5df6),'hubLatencies':_0x411e56,'selectedHub':_0xf5b7dc[_0x401647(0x21d)],'selectedHubLatency':_0xf5b7dc[_0x401647(0x1bf)],'timestamp':Date[_0x401647(0x21e)]()};globals[_0x401647(0x210)](_0x437396[_0x401647(0x221)],_0x33318d),constants[_0x401647(0x21d)]=_0x437396['efDwt'](_0xf5b7dc[_0x401647(0x21d)],_0x437396[_0x401647(0x220)]),logger[_0x401647(0x1cc)](_0x401647(0x1c8)+_0xf5b7dc[_0x401647(0x21d)]),_0x437396[_0x401647(0x1c3)](_0x68985b),Promise[_0x401647(0x21b)](_0x1c1803)[_0x401647(0x1c9)](_0x505300=>{const _0x52fe82=_0x401647;try{const _0xe06dcc=globals[_0x52fe82(0x1eb)](_0x4ae6a5[_0x52fe82(0x1d0)]);if(!_0xe06dcc||_0xe06dcc[_0x52fe82(0x21c)])return;const _0x213173={};for(const _0x229eda of _0x505300){_0x4ae6a5[_0x52fe82(0x1e0)](_0x229eda[_0x52fe82(0x207)],_0x4ae6a5[_0x52fe82(0x1d6)])&&_0x229eda['value']&&_0x229eda['value']['ok']&&(_0x213173[_0x229eda['value'][_0x52fe82(0x21d)]]=_0x229eda['value'][_0x52fe82(0x1bf)]);}_0xe06dcc[_0x52fe82(0x1d3)]=_0x213173;}catch(_0x45e584){logger[_0x52fe82(0x1cc)](_0x52fe82(0x209)+_0x45e584);}})[_0x401647(0x1c1)](_0x58795d=>{const _0x2ed148=_0x401647;logger[_0x2ed148(0x1cc)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x58795d);});})[_0x5af2db(0x1c1)](_0x5670cb=>{const _0x2b1035=_0x5af2db;logger[_0x2b1035(0x1cc)]('ERROR\x20in\x20hub\x20selection:\x20'+_0x5670cb),_0x437396[_0x2b1035(0x223)](_0x68985b);});})['catch'](_0x58e9e9=>{const _0x58cd5b=_0x321704;logger[_0x58cd5b(0x1cc)](_0x58cd5b(0x1e7)+_0x58e9e9),_0x4437e2[_0x58cd5b(0x1ce)](_0x68985b);});});},exports[a181_0x17384f(0x1fa)]=async(_0x3e4937,_0x3d3f01)=>{const _0x2e3809=a181_0x17384f,_0x2d4c82={};_0x2d4c82[_0x2e3809(0x1e5)]='GET',_0x2d4c82['ZJPFj']=_0x2e3809(0x1c5),_0x2d4c82['dQQVr']=function(_0x4bfd14,_0x3307dd){return _0x4bfd14-_0x3307dd;};const _0xb9c655=_0x2d4c82;try{const _0xc741ff=new Date();await helper[_0x2e3809(0x1d7)](_0xb9c655[_0x2e3809(0x1e5)],_0xb9c655['ZJPFj'],{},_0x3e4937,_0x3d3f01,0x1388);const _0x2d2cf6=_0xb9c655[_0x2e3809(0x214)](new Date(),_0xc741ff);logger['debug'](_0x2e3809(0x1f1)+_0x3d3f01+_0x2e3809(0x1ca)+_0x2d2cf6+'ms');const _0x4e164c={};return _0x4e164c[_0x2e3809(0x21d)]=_0x3d3f01,_0x4e164c['latency']=_0x2d2cf6,_0x4e164c;}catch(_0xee511){return logger[_0x2e3809(0x1cc)](_0x2e3809(0x1d2)+_0x3d3f01+'\x20HUB\x20-\x20'+_0xee511),{};}},exports[a181_0x17384f(0x224)]=async _0x158e6d=>{const _0x3e7814=a181_0x17384f,_0x1b0c19={'LCQDL':function(_0x568a0a,_0xa4baab){return _0x568a0a(_0xa4baab);},'KbPoe':_0x3e7814(0x1f2),'xEaAk':'/wd/hub','wSKja':_0x3e7814(0x1f4),'tIYTZ':_0x3e7814(0x1dc)};try{const _0x5a64b0=_0x1b0c19[_0x3e7814(0x206)](require,_0x1b0c19[_0x3e7814(0x202)])[_0x3e7814(0x21d)][_0x3e7814(0x215)](_0x1b0c19[_0x3e7814(0x20a)],''),_0x2b0360=await helper['nodeRequest'](_0x1b0c19[_0x3e7814(0x21a)],_0x1b0c19[_0x3e7814(0x200)],{},_0x158e6d,_0x5a64b0,0x1388),_0x578df0=_0x2b0360[_0x3e7814(0x1d5)];return logger[_0x3e7814(0x1cc)](_0x3e7814(0x212)+util[_0x3e7814(0x211)]('%j',_0x578df0)),_0x578df0[_0x3e7814(0x1e2)];}catch(_0x3fa625){logger[_0x3e7814(0x1cc)](_0x3e7814(0x1f6)+_0x3fa625);}return null;};
|
|
1
|
+
const a181_0x55ccbf=a181_0x51e8;function a181_0x1f48(){const _0x9d5951=['newHubUrlBySession','length','981064tlYivN','GET','check','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','GzxGr','gifmB','map','6uglgmq','kBFHa','format','FkYMI','fNEZO','yRxPn','XKnPF','uLzhH','cDyDR','4ENKBFi','hubRegion\x20','YLLYq','findLatency','37351668rjmNRi','./bin/utils/constants','data','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','now','nextHubs','hubRegion','SJmjk','hubs','\x20is:\x20','set','debug','status','util','fQwkL','uvGCn','znZkN','then','ZjwNB','Execution\x20time\x20for\x20','setGlobal','value','./helpers/helper','3789198mdXxYS','pathname','VPGjI','qOsxK','hash','8704akBgRS','next_hubs','gsyqt','244SfHSUU','wQonf','delete','MqMRK','getGlobal','has','1289690tcnaGn','72gToMlP','get','getRequestOptions','IUFhx','updateHubUrl','mxjWw','catch','url','/wd/hub','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','kUlkA','hubLatencies','resolve','JtnXa','Invalid\x20new\x20HUB\x20URL:\x20','parse','path','skipped','RatYn','nodeRequest','DvaBy','11alPlYp','7686010xRnsBh','https://','ERROR\x20in\x20hub\x20selection:\x20','winstonLogger','HUB\x20URL\x20SET\x20TO\x20-\x20','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','\x20HUB\x20-\x20','qShtB','latency','eHmIu','hubUrl','HUB_URL_MAP','GYVdJ','race','./helpers/logger','replace','LWriC','557082aINICt','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','all','CLECL','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','search','allSettled','SKrYv','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'];a181_0x1f48=function(){return _0x9d5951;};return a181_0x1f48();}(function(_0x5aaa43,_0x8c6535){const _0xc7b340=a181_0x51e8,_0xb3cdb0=_0x5aaa43();while(!![]){try{const _0x2daf6d=parseInt(_0xc7b340(0x10b))/0x1*(-parseInt(_0xc7b340(0x10e))/0x2)+parseInt(_0xc7b340(0xd0))/0x3*(-parseInt(_0xc7b340(0xeb))/0x4)+-parseInt(_0xc7b340(0x114))/0x5*(parseInt(_0xc7b340(0xe2))/0x6)+-parseInt(_0xc7b340(0x106))/0x7+-parseInt(_0xc7b340(0xdb))/0x8*(parseInt(_0xc7b340(0x115))/0x9)+parseInt(_0xc7b340(0x12b))/0xa*(parseInt(_0xc7b340(0x12a))/0xb)+parseInt(_0xc7b340(0xef))/0xc;if(_0x2daf6d===_0x8c6535)break;else _0xb3cdb0['push'](_0xb3cdb0['shift']());}catch(_0x12871f){_0xb3cdb0['push'](_0xb3cdb0['shift']());}}}(a181_0x1f48,0xd055e));const url=require(a181_0x55ccbf(0x11c)),util=require(a181_0x55ccbf(0xfc)),helper=require(a181_0x55ccbf(0x105)),logger=require(a181_0x55ccbf(0x139))[a181_0x55ccbf(0x12e)],constants=require('./bin/utils/constants'),globals=require('./helpers/globals');function a181_0x51e8(_0x5dcb2f,_0x3ee5e7){const _0x1f4811=a181_0x1f48();return a181_0x51e8=function(_0x51e836,_0x5938dc){_0x51e836=_0x51e836-0xd0;let _0x359256=_0x1f4811[_0x51e836];return _0x359256;},a181_0x51e8(_0x5dcb2f,_0x3ee5e7);}global[a181_0x55ccbf(0xd9)]=global['newHubUrlBySession']||new Map(),exports[a181_0x55ccbf(0x117)]=_0x3b7e4d=>{const _0x44327a=a181_0x55ccbf,_0x2ba78a={};_0x2ba78a[_0x44327a(0x11f)]=function(_0x169d19,_0x110d78){return _0x169d19+_0x110d78;},_0x2ba78a[_0x44327a(0x129)]=_0x44327a(0x123);const _0x322b2d=_0x2ba78a,_0x207390=url[_0x44327a(0x124)](_0x3b7e4d);if(!_0x207390['hostname'])throw new Error(_0x322b2d[_0x44327a(0x11f)](_0x322b2d[_0x44327a(0x129)],_0x3b7e4d));return _0x207390[_0x44327a(0xd5)]=null,_0x207390[_0x44327a(0x10a)]=null,_0x207390[_0x44327a(0x125)]=_0x207390[_0x44327a(0x107)],_0x207390;},exports[a181_0x55ccbf(0x119)]=(_0x1dc4cf,_0x2abd10)=>{const _0x203604=a181_0x55ccbf,_0x1d9f33={};_0x1d9f33[_0x203604(0xd7)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x5f4ffd=_0x1d9f33;if(!_0x2abd10){logger[_0x203604(0xfa)](_0x5f4ffd['SKrYv']);return;}global[_0x203604(0xd9)][_0x203604(0xf9)](_0x2abd10,_0x1dc4cf);},exports['consumeHubUrlForSession']=_0x4f2d89=>{const _0x5e659d=a181_0x55ccbf;if(_0x4f2d89&&global[_0x5e659d(0xd9)][_0x5e659d(0x113)](_0x4f2d89)){const _0x46a40a=global[_0x5e659d(0xd9)][_0x5e659d(0x116)](_0x4f2d89);return global[_0x5e659d(0xd9)][_0x5e659d(0x110)](_0x4f2d89),_0x46a40a;}return'';},exports['allocateHub']=_0x3622c8=>{const _0x1a0825=a181_0x55ccbf,_0x52b990={'kezKO':function(_0xd8c31f,_0x45893c){return _0xd8c31f!==_0x45893c;},'JtnXa':function(_0x239baf,_0x5a3380){return _0x239baf+_0x5a3380;},'MqMRK':_0x1a0825(0x12c),'eHmIu':'_hubAllocationData','qShtB':function(_0x390fb5,_0x419815){return _0x390fb5===_0x419815;},'gLLQL':'fulfilled','CeKBH':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','yyqFd':function(_0x2e4452,_0x4ecfc4){return _0x2e4452+_0x4ecfc4;},'YLLYq':_0x1a0825(0x11d),'znZkN':function(_0x511a3e){return _0x511a3e();},'cDyDR':function(_0x3b6c8f,_0x4bd3ed){return _0x3b6c8f==_0x4bd3ed;},'SJmjk':function(_0x5ba528){return _0x5ba528();},'JBuqK':function(_0x521941){return _0x521941();}};return new Promise(_0x487a82=>{const _0x4444ac=_0x1a0825,_0x215e63={'IUFhx':function(_0x6ce46e){return _0x52b990['znZkN'](_0x6ce46e);}};if(_0x3622c8&&_0x3622c8[_0x4444ac(0xf5)]){const _0x201f4=constants[_0x4444ac(0x136)][_0x3622c8[_0x4444ac(0xf5)]];if(_0x201f4)return constants[_0x4444ac(0x135)]=_0x201f4,logger[_0x4444ac(0xfa)](_0x4444ac(0x11e)+_0x201f4),globals[_0x4444ac(0x103)](_0x52b990[_0x4444ac(0x134)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x201f4[_0x4444ac(0x13a)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x4444ac(0xf3)]()}),_0x52b990['JBuqK'](_0x487a82);logger[_0x4444ac(0xfa)](_0x4444ac(0xec)+_0x3622c8[_0x4444ac(0xf5)]+_0x4444ac(0xde));}Promise[_0x4444ac(0x121)](this['nextHubs'](_0x3622c8))[_0x4444ac(0x100)](_0x74fbc5=>{const _0x569914=_0x4444ac,_0x277a9e={'uLzhH':function(_0x42eaa1,_0x31ce0a){return _0x52b990['kezKO'](_0x42eaa1,_0x31ce0a);},'uvGCn':function(_0x2c6dc1,_0x7ba147){return _0x52b990['JtnXa'](_0x2c6dc1,_0x7ba147);},'kBFHa':_0x52b990[_0x569914(0x111)],'FkYMI':_0x52b990['eHmIu'],'gsyqt':function(_0x22c7e3,_0x3e3cbd){const _0x16de98=_0x569914;return _0x52b990[_0x16de98(0x132)](_0x22c7e3,_0x3e3cbd);},'gifmB':_0x52b990['gLLQL'],'qOsxK':_0x52b990['CeKBH'],'mxjWw':function(_0x3fead0,_0x42bebc){return _0x52b990['yyqFd'](_0x3fead0,_0x42bebc);},'wQonf':_0x52b990[_0x569914(0xed)],'LWriC':function(_0x583d46){const _0x171651=_0x569914;return _0x52b990[_0x171651(0xff)](_0x583d46);},'fQwkL':function(_0xebf71f,_0xec5f1b){const _0x17d443=_0x569914;return _0x52b990[_0x17d443(0x122)](_0xebf71f,_0xec5f1b);}};logger['debug']('NEAREST\x20HUBS\x20LIST:\x20'+util[_0x569914(0xe4)]('%j',_0x74fbc5));if(_0x52b990[_0x569914(0xea)](_0x74fbc5,null)||_0x52b990[_0x569914(0x132)](_0x74fbc5[_0x569914(0xda)],0x0))return _0x52b990[_0x569914(0xff)](_0x487a82);const _0x2d08c0=_0x74fbc5['map'](_0x14f403=>{const _0x3314bf=_0x569914,_0x15477a=_0x277a9e[_0x3314bf(0xfe)](_0x277a9e[_0x3314bf(0xe3)],_0x14f403);return this[_0x3314bf(0xee)](_0x3622c8,_0x15477a)['then'](_0x39ce80=>{const _0x117f14=_0x3314bf;if(_0x39ce80&&_0x39ce80[_0x117f14(0x135)]&&_0x277a9e[_0x117f14(0xe9)](_0x39ce80['latency'],undefined)){const _0x1ad2be={};return _0x1ad2be[_0x117f14(0x135)]=_0x39ce80[_0x117f14(0x135)],_0x1ad2be['latency']=_0x39ce80[_0x117f14(0x133)],_0x1ad2be['ok']=!![],_0x1ad2be;}const _0x802388={};return _0x802388[_0x117f14(0x135)]=_0x15477a,_0x802388[_0x117f14(0x133)]=null,_0x802388['ok']=![],_0x802388;})[_0x3314bf(0x11b)](()=>({'hubUrl':_0x15477a,'latency':null,'ok':![]}));});Promise[_0x569914(0x138)](_0x2d08c0[_0x569914(0xe1)](_0x1071b0=>_0x1071b0[_0x569914(0x100)](_0x29f3d9=>_0x29f3d9['ok']?_0x29f3d9:null)))[_0x569914(0x100)](_0x1bd405=>{const _0x31afca=_0x569914;if(_0x1bd405)return _0x1bd405;return Promise[_0x31afca(0xd2)](_0x2d08c0)[_0x31afca(0x100)](()=>null);})[_0x569914(0x100)](_0x51ad16=>{const _0x4181ca=_0x569914,_0x4674c4={'XKnPF':_0x277a9e[_0x4181ca(0xe5)],'RatYn':function(_0x154a96,_0x48f186){const _0x4360be=_0x4181ca;return _0x277a9e[_0x4360be(0x10d)](_0x154a96,_0x48f186);},'yRxPn':_0x277a9e[_0x4181ca(0xe0)]};if(!_0x51ad16){logger[_0x4181ca(0xfa)](_0x277a9e[_0x4181ca(0x109)]);const _0x3525eb=_0x277a9e[_0x4181ca(0x11a)](_0x277a9e[_0x4181ca(0xe3)],_0x74fbc5[0x0]);return globals[_0x4181ca(0x103)](_0x277a9e[_0x4181ca(0xe5)],{'nearestHubs':_0x74fbc5[_0x4181ca(0xe1)](_0xf2d566=>_0x4181ca(0x12c)+_0xf2d566),'hubLatencies':{},'selectedHub':_0x3525eb,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x4181ca(0xf3)]()}),constants[_0x4181ca(0x135)]=_0x277a9e[_0x4181ca(0x11a)](_0x3525eb,_0x277a9e[_0x4181ca(0x10f)]),logger[_0x4181ca(0xfa)](_0x4181ca(0xf2)+_0x3525eb),_0x277a9e[_0x4181ca(0x13b)](_0x487a82);}const _0x3e8a03={[_0x51ad16[_0x4181ca(0x135)]]:_0x51ad16[_0x4181ca(0x133)]},_0x2aba54={'nearestHubs':_0x74fbc5[_0x4181ca(0xe1)](_0x3c2f94=>_0x4181ca(0x12c)+_0x3c2f94),'hubLatencies':_0x3e8a03,'selectedHub':_0x51ad16[_0x4181ca(0x135)],'selectedHubLatency':_0x51ad16['latency'],'timestamp':Date[_0x4181ca(0xf3)]()};globals[_0x4181ca(0x103)](_0x277a9e[_0x4181ca(0xe5)],_0x2aba54),constants[_0x4181ca(0x135)]=_0x277a9e[_0x4181ca(0xfd)](_0x51ad16[_0x4181ca(0x135)],_0x277a9e[_0x4181ca(0x10f)]),logger['debug'](_0x4181ca(0x12f)+_0x51ad16[_0x4181ca(0x135)]),_0x277a9e[_0x4181ca(0x13b)](_0x487a82),Promise[_0x4181ca(0xd6)](_0x2d08c0)[_0x4181ca(0x100)](_0x553c6e=>{const _0x77e826=_0x4181ca;try{const _0x528407=globals[_0x77e826(0x112)](_0x4674c4[_0x77e826(0xe8)]);if(!_0x528407||_0x528407[_0x77e826(0x126)])return;const _0x6509b1={};for(const _0x3269f8 of _0x553c6e){_0x4674c4[_0x77e826(0x127)](_0x3269f8[_0x77e826(0xfb)],_0x4674c4[_0x77e826(0xe7)])&&_0x3269f8[_0x77e826(0x104)]&&_0x3269f8['value']['ok']&&(_0x6509b1[_0x3269f8[_0x77e826(0x104)][_0x77e826(0x135)]]=_0x3269f8['value'][_0x77e826(0x133)]);}_0x528407[_0x77e826(0x120)]=_0x6509b1;}catch(_0xec5d03){logger[_0x77e826(0xfa)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xec5d03);}})[_0x4181ca(0x11b)](_0x5c6ca8=>{const _0x269fec=_0x4181ca;logger[_0x269fec(0xfa)](_0x269fec(0xd1)+_0x5c6ca8);});})['catch'](_0x17e491=>{const _0x212fc8=_0x569914;logger['debug'](_0x212fc8(0x12d)+_0x17e491),_0x215e63[_0x212fc8(0x118)](_0x487a82);});})[_0x4444ac(0x11b)](_0x3c1635=>{const _0x1bb3d3=_0x4444ac;logger['debug'](_0x1bb3d3(0xd4)+_0x3c1635),_0x52b990[_0x1bb3d3(0xf6)](_0x487a82);});});},exports[a181_0x55ccbf(0xee)]=async(_0x15d511,_0x3d7dd)=>{const _0x24074f=a181_0x55ccbf,_0x30e826={};_0x30e826[_0x24074f(0xdf)]=_0x24074f(0xdc),_0x30e826[_0x24074f(0xd3)]=_0x24074f(0xdd),_0x30e826[_0x24074f(0x137)]=function(_0x6b02e5,_0x37a1d3){return _0x6b02e5-_0x37a1d3;};const _0x4dcc52=_0x30e826;try{const _0x40a3a6=new Date();await helper['nodeRequest'](_0x4dcc52['GzxGr'],_0x4dcc52['CLECL'],{},_0x15d511,_0x3d7dd,0x1388);const _0x7a9dbf=_0x4dcc52[_0x24074f(0x137)](new Date(),_0x40a3a6);logger[_0x24074f(0xfa)](_0x24074f(0x102)+_0x3d7dd+_0x24074f(0xf8)+_0x7a9dbf+'ms');const _0x31d781={};return _0x31d781[_0x24074f(0x135)]=_0x3d7dd,_0x31d781[_0x24074f(0x133)]=_0x7a9dbf,_0x31d781;}catch(_0x3fdc1c){return logger[_0x24074f(0xfa)](_0x24074f(0xd8)+_0x3d7dd+_0x24074f(0x131)+_0x3fdc1c),{};}},exports[a181_0x55ccbf(0xf4)]=async _0x3018d0=>{const _0x59f9e6=a181_0x55ccbf,_0x35a718={'VPGjI':function(_0x348d5a,_0x36c528){return _0x348d5a(_0x36c528);},'fNEZO':_0x59f9e6(0xf0),'wgroA':_0x59f9e6(0x11d),'hQDeb':_0x59f9e6(0xdc),'ZjwNB':_0x59f9e6(0x10c)};try{const _0x53f652=_0x35a718[_0x59f9e6(0x108)](require,_0x35a718[_0x59f9e6(0xe6)])[_0x59f9e6(0x135)]['replace'](_0x35a718['wgroA'],''),_0x18066b=await helper[_0x59f9e6(0x128)](_0x35a718['hQDeb'],_0x35a718[_0x59f9e6(0x101)],{},_0x3018d0,_0x53f652,0x1388),_0xf99107=_0x18066b[_0x59f9e6(0xf1)];return logger['debug']('Response:\x20'+util[_0x59f9e6(0xe4)]('%j',_0xf99107)),_0xf99107[_0x59f9e6(0xf7)];}catch(_0x3ad86e){logger['debug'](_0x59f9e6(0x130)+_0x3ad86e);}return null;};
|