browserstack-node-sdk 1.46.5 → 1.46.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.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/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/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/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a49_0x79c210=a49_0x1742;function a49_0x1742(_0x4bda91,_0x44c700){const _0x33bf29=a49_0x33bf();return a49_0x1742=function(_0x174286,_0x262f68){_0x174286=_0x174286-0x91;let _0x1b59c6=_0x33bf29[_0x174286];return _0x1b59c6;},a49_0x1742(_0x4bda91,_0x44c700);}(function(_0x3b7281,_0x1728a9){const _0x220057=a49_0x1742,_0x2c8e7f=_0x3b7281();while(!![]){try{const _0x34765b=parseInt(_0x220057(0xc4))/0x1+-parseInt(_0x220057(0xae))/0x2+-parseInt(_0x220057(0x99))/0x3*(parseInt(_0x220057(0xc6))/0x4)+-parseInt(_0x220057(0xdc))/0x5*(-parseInt(_0x220057(0xc3))/0x6)+-parseInt(_0x220057(0xd9))/0x7*(-parseInt(_0x220057(0xd0))/0x8)+parseInt(_0x220057(0x9c))/0x9+-parseInt(_0x220057(0x9e))/0xa;if(_0x34765b===_0x1728a9)break;else _0x2c8e7f['push'](_0x2c8e7f['shift']());}catch(_0x133a3e){_0x2c8e7f['push'](_0x2c8e7f['shift']());}}}(a49_0x33bf,0x6c857));const fs=require('fs'),helper=require(a49_0x79c210(0xbb)),utilities=require(a49_0x79c210(0xb3)),yaml=require(a49_0x79c210(0xcc)),yargs=require(a49_0x79c210(0xbc)),logger=require('../helpers/logger')[a49_0x79c210(0x9f)],configFileTemplate=__dirname+a49_0x79c210(0x95),configFileTemplatePW=__dirname+a49_0x79c210(0x93),configFile=process[a49_0x79c210(0xac)]()+a49_0x79c210(0xba),packageFile=process['cwd']()+a49_0x79c210(0xd8),frameworks=['mocha','jest',a49_0x79c210(0xa5),a49_0x79c210(0xa0),a49_0x79c210(0xc0),'codeceptjs',a49_0x79c210(0xde)];let config;function a49_0x33bf(){const _0x4aa22d=['scripts','PfLRP','mxGPS','info','cwd','xGiuS','749736nDeQBd','\x20&&\x20npm\x20update\x20browserstack-node-sdk','includes','push','debug','../helpers/utilities','join','isUndefined','iWLrs','writeFileSync','WVlVp','Btnfz','/browserstack.yml','../helpers/helper','yargs','UFVOd','YOUR_USERNAME','split','nightwatch','gzawP','IlrSd','6XWbIab','869852HsEtjI','TrhmZ','3021884SAhJnh','ewMyt','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','Fsjyo','fireFunnelTestEvent','entries','js-yaml','eObuH','Setup\x20completed','node-setup','24mGvJYQ','length','WopeX','browserstack-node-sdk','indexOf','LlAAh','gmvrB','load','/package.json','734307AsRkpU','SDKSetup','postinstall','2906055doacnr','oqmeN','playwright','stringify','parse','/../../browserstack.pw.yml.sample','source','/../../browserstack.yml.sample','HkgSG','browserstack-node-sdk\x20','WSimb','3WbOEwL','Creating\x20configuration\x20file...','splice','7046343iqWZGH','argv','9738510uUfefe','winstonLogger','node','username','YOUR_ACCESS_KEY','replace','npm\x20update\x20browserstack-node-sdk','cucumber-js','error','readFileSync'];a49_0x33bf=function(){return _0x4aa22d;};return a49_0x33bf();}logger[a49_0x79c210(0xab)](a49_0x79c210(0x9a)),createConfigurationFile(yargs[a49_0x79c210(0x9d)][a49_0x79c210(0xa1)],yargs['argv']['key'],yargs[a49_0x79c210(0x9d)][a49_0x79c210(0xde)]);try{sdkSetup();}catch(a49_0x467da4){logger[a49_0x79c210(0xb2)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a49_0x467da4);}addScriptInPackageJson();function createConfigurationFile(_0x20db98,_0x422bf3,_0x33ea38=![]){const _0x29f6f6=a49_0x79c210,_0x5ab59e={};_0x5ab59e[_0x29f6f6(0xd2)]='utf8',_0x5ab59e[_0x29f6f6(0xc7)]=_0x29f6f6(0xbe),_0x5ab59e[_0x29f6f6(0xd5)]=_0x29f6f6(0xa2);const _0x151306=_0x5ab59e;try{let _0xfa37f7=fs[_0x29f6f6(0xa7)](_0x33ea38?configFileTemplatePW:configFileTemplate,_0x151306['WopeX']);_0x20db98&&(_0xfa37f7=_0xfa37f7[_0x29f6f6(0xa3)](_0x151306[_0x29f6f6(0xc7)],_0x20db98)),_0x422bf3&&(_0xfa37f7=_0xfa37f7['replace'](_0x151306['LlAAh'],_0x422bf3)),config=yaml[_0x29f6f6(0xd7)](_0xfa37f7),fs['writeFileSync'](configFile,_0xfa37f7,_0x53205a=>{_0x53205a&&logger['error'](_0x53205a);});}catch(_0x212380){logger[_0x29f6f6(0xa6)](_0x212380);}}function addPostInstallScript(_0x2c473b,_0x53921e){const _0x2c772d=a49_0x79c210,_0x4e2845={};_0x4e2845[_0x2c772d(0x96)]=_0x2c772d(0xdb),_0x4e2845[_0x2c772d(0xc5)]=_0x2c772d(0xa4),_0x4e2845['oqmeN']=_0x2c772d(0xaf);const _0x5c439d=_0x4e2845;let _0x591dab=_0x2c473b[_0x5c439d['HkgSG']];if(_0x591dab&&_0x591dab[_0x2c772d(0xb0)](_0x5c439d[_0x2c772d(0xc5)]))return;!_0x591dab?_0x591dab=_0x5c439d[_0x2c772d(0xc5)]:_0x591dab+=_0x5c439d[_0x2c772d(0xdd)],_0x53921e[_0x2c772d(0xb1)]([_0x5c439d[_0x2c772d(0x96)],_0x591dab]);}function addScriptInPackageJson(){const _0x93d348=a49_0x79c210,_0x3c9a46={'xGiuS':'utf8','eObuH':function(_0x43339e,_0x5c457c){return _0x43339e<_0x5c457c;},'gzawP':function(_0x13373c,_0x5f3867,_0xa4bb18){return _0x13373c(_0x5f3867,_0xa4bb18);},'mxGPS':function(_0x5d76cb,_0x4cf880){return _0x5d76cb<_0x4cf880;},'fjglO':function(_0x5f31cc,_0x112641,_0x447ce2){return _0x5f31cc(_0x112641,_0x447ce2);},'UFVOd':function(_0x20980,_0x2862f4,_0x43f11c){return _0x20980(_0x2862f4,_0x43f11c);},'eKGuM':function(_0x3fc28b,_0x418a16){return _0x3fc28b<_0x418a16;},'iWLrs':function(_0xf75898,_0x3f7373){return _0xf75898!==_0x3f7373;},'IlrSd':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x225c4e=JSON[_0x93d348(0x92)](fs[_0x93d348(0xa7)](packageFile,_0x3c9a46[_0x93d348(0xad)])),_0x255cbd=[];for(let _0x463b31=0x0;_0x3c9a46[_0x93d348(0xcd)](_0x463b31,frameworks['length']);_0x463b31+=0x1){const _0x4ef236=_0x3c9a46[_0x93d348(0xc1)](findScriptsWithFramework,_0x225c4e[_0x93d348(0xa8)],frameworks[_0x463b31]);for(let _0x50dd02=0x0;_0x3c9a46[_0x93d348(0xaa)](_0x50dd02,_0x4ef236['length']);_0x50dd02+=0x1){_0x255cbd[_0x93d348(0xb1)](_0x3c9a46['fjglO'](getUpdatedCommand,_0x225c4e[_0x93d348(0xa8)],_0x4ef236[_0x50dd02]));}_0x3c9a46[_0x93d348(0xbd)](addPostInstallScript,_0x225c4e[_0x93d348(0xa8)],_0x255cbd);}const _0x204e31={..._0x225c4e[_0x93d348(0xa8)]},_0xf36174=_0x204e31;for(let _0x4f7525=0x0;_0x3c9a46['eKGuM'](_0x4f7525,_0x255cbd[_0x93d348(0xd1)]);_0x4f7525+=0x1){_0xf36174[_0x255cbd[_0x4f7525][0x0]]=_0x255cbd[_0x4f7525][0x1];}_0x3c9a46[_0x93d348(0xb6)](JSON[_0x93d348(0x91)](_0x225c4e['scripts']),JSON[_0x93d348(0x91)](_0xf36174))&&(logger[_0x93d348(0xab)](_0x3c9a46[_0x93d348(0xc2)]),_0x225c4e['scripts']=_0xf36174,fs[_0x93d348(0xb7)](packageFile,JSON[_0x93d348(0x91)](_0x225c4e,null,0x2),_0x4cef70=>{_0x4cef70&&logger['error'](_0x4cef70);}));};function findScriptsWithFramework(_0x259989,_0x4060ec){const _0x267456=a49_0x79c210,_0x5c164b={};_0x5c164b[_0x267456(0xd6)]=function(_0x473632,_0x57f7ff){return _0x473632<_0x57f7ff;},_0x5c164b[_0x267456(0xb8)]=_0x267456(0xd3);const _0x56fb8d=_0x5c164b,_0x3713ff=[],_0x3751d8=Object[_0x267456(0xcb)](_0x259989);for(let _0xa2cf33=0x0;_0x56fb8d[_0x267456(0xd6)](_0xa2cf33,_0x3751d8[_0x267456(0xd1)]);_0xa2cf33+=0x1){_0x3751d8[_0xa2cf33][0x1]['includes'](_0x4060ec)&&!_0x3751d8[_0xa2cf33][0x1][_0x267456(0xb0)](_0x56fb8d[_0x267456(0xb8)])&&_0x3713ff[_0x267456(0xb1)](_0x3751d8[_0xa2cf33][0x0]);}return _0x3713ff;}function getUpdatedCommand(_0x4661d1,_0x3a7c34){const _0x35c80a=a49_0x79c210,_0x3d88ed={};_0x3d88ed[_0x35c80a(0xb9)]=function(_0x3b307b,_0x366a90){return _0x3b307b!==_0x366a90;},_0x3d88ed[_0x35c80a(0xc9)]=_0x35c80a(0xd3),_0x3d88ed[_0x35c80a(0x98)]=function(_0x183040,_0x4a4efa){return _0x183040===_0x4a4efa;};const _0x4c472a=_0x3d88ed,_0x344f65=_0x3a7c34+'-browserstack',_0x5c0298=_0x4661d1[_0x3a7c34],_0x34d070=_0x5c0298[_0x35c80a(0xbf)]('\x20');for(const _0x5e2fb5 of frameworks){if(_0x4c472a['Btnfz'](_0x34d070['indexOf'](_0x5e2fb5),-0x1)){_0x34d070[_0x35c80a(0x9b)](_0x34d070[_0x35c80a(0xd4)](_0x5e2fb5),0x0,_0x4c472a[_0x35c80a(0xc9)]);break;}}let _0x4b1cb9=_0x34d070[_0x35c80a(0xb4)]('\x20');return _0x4c472a[_0x35c80a(0x98)](_0x4b1cb9,_0x5c0298)&&(_0x4b1cb9=_0x35c80a(0x97)+_0x5c0298),[_0x344f65,_0x4b1cb9];}function sdkSetup(){const _0x36d3ea=a49_0x79c210,_0x4216c6={};_0x4216c6[_0x36d3ea(0xa9)]=_0x36d3ea(0xcf),_0x4216c6['LVgqy']=_0x36d3ea(0xda);const _0x5c93ed=_0x4216c6;if(helper[_0x36d3ea(0xb5)](config))return;config[_0x36d3ea(0x94)]=_0x5c93ed['PfLRP'];try{utilities[_0x36d3ea(0xca)](_0x5c93ed['LVgqy'],{},config,'');}catch(_0x335c23){logger['debug'](_0x36d3ea(0xc8)+_0x335c23);}}logger[a49_0x79c210(0xab)](a49_0x79c210(0xce));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a50_0x1315(_0x31424c,_0x2a5de8){const _0xf13311=a50_0xf133();return a50_0x1315=function(_0x1315e5,_0x53d86d){_0x1315e5=_0x1315e5-0x1b7;let _0x1f0528=_0xf13311[_0x1315e5];return _0x1f0528;},a50_0x1315(_0x31424c,_0x2a5de8);}const a50_0xdbd38=a50_0x1315;function a50_0xf133(){const _0xc163d1=['results','platform-run-failure','../../helpers/performance/performance-tester','map','lOLhE','Zzwsa','winstonLogger','config','all','SDK_SETUP','length','end','jest-worker','p-limit','JMxCx','getWorkers','send','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','fuBCy','MspSE','Workers\x20failed\x20to\x20exit\x20gracefully','4386112DOgnql','configuration','format','vWllk','dmtqP','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','cudVe','stdout','YQGhO','PCokG','error','aQFjG','log','1890904gbudFu','failureCount','VknfM','getStderr','YRbAM','Worker','info','test-file-success','KpIsk','REvwY','KkzPc','test-file-failure','GkXJs','waitForExit','qWEJZ','cucumberWorker','push','worker','vanillaWorker','postMessage','4670435hGHIon','platform-run-success','platform','KbTxu','ENtyu','KGjJp','HSqQG','../../helpers/logger','Exception\x20in\x20sending\x20worker\x20message\x20','worker_threads','5007006jyxphP','../../helpers/test-observability/utils','pipe','stderr','parallelVanillaRun','FBxvr','rLTmE','QEQfD','stop','resolve','LyRYd','216686aBEPan','_child','GZlua','then','oyAHP','parallelCucumberRun','ZdCfO','json','572365eakMJi','emit','cKYwl','./testWorker.js','1225359BzNwTr','parallelTestRun','ECWZT','exitCode','platform-run-start','test-file-start','getStdout','6FpTrXe','mQcry','\x20for','debug'];a50_0xf133=function(){return _0xc163d1;};return a50_0xf133();}(function(_0x11e655,_0x139ccc){const _0x2ef58d=a50_0x1315,_0x7579e2=_0x11e655();while(!![]){try{const _0x2275db=-parseInt(_0x2ef58d(0x1ba))/0x1*(parseInt(_0x2ef58d(0x1cd))/0x2)+parseInt(_0x2ef58d(0x1c6))/0x3+parseInt(_0x2ef58d(0x1e6))/0x4+parseInt(_0x2ef58d(0x1c2))/0x5+-parseInt(_0x2ef58d(0x211))/0x6+parseInt(_0x2ef58d(0x207))/0x7+-parseInt(_0x2ef58d(0x1f3))/0x8;if(_0x2275db===_0x139ccc)break;else _0x7579e2['push'](_0x7579e2['shift']());}catch(_0x3dcb10){_0x7579e2['push'](_0x7579e2['shift']());}}}(a50_0xf133,0x8a1e9));const Worker=require(a50_0xdbd38(0x1dd))[a50_0xdbd38(0x1f8)],Emittery=require('emittery'),pLimit=require(a50_0xdbd38(0x1de)),{parentPort}=require(a50_0xdbd38(0x210)),util=require('util'),logger=require(a50_0xdbd38(0x20e))[a50_0xdbd38(0x1d7)],PerformanceTester=require(a50_0xdbd38(0x1d3)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],{debug}=require(a50_0xdbd38(0x212)),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a50_0xdbd38(0x1c7)]=(_0x2891e3,_0x249168,_0x3f3868)=>new Promise(async _0x53e71a=>{const _0x55544c=a50_0xdbd38,_0x4f5803={'MspSE':_0x55544c(0x1f4),'HSqQG':function(_0x319845,_0x55ff5f){return _0x319845+_0x55ff5f;},'dmtqP':_0x55544c(0x1d1),'GkXJs':'Workers\x20failed\x20to\x20exit\x20gracefully','fuBCy':function(_0x399766,_0x1b54e3){return _0x399766(_0x1b54e3);},'KkzPc':function(_0x42a2e3,_0xd0da68){return _0x42a2e3(_0xd0da68);},'KGjJp':_0x55544c(0x1cb),'Zzwsa':_0x55544c(0x1c5),'PCokG':_0x55544c(0x204),'YRbAM':_0x55544c(0x1c1),'REvwY':_0x55544c(0x213),'POWxB':function(_0x18b132,_0x3455e8){return _0x18b132*_0x3455e8;},'JMxCx':_0x55544c(0x1fa),'LyRYd':_0x55544c(0x1fe),'FBMks':function(_0x596c35,_0x431756){return _0x596c35(_0x431756);},'YQGhO':function(_0x3e8155,_0x471ffd){return _0x3e8155*_0x471ffd;}},_0x1e778d=_0x3f3868[_0x55544c(0x1d8)],_0x4a7987={},_0x4e3b7d=new Worker(require[_0x55544c(0x1b8)](_0x4f5803[_0x55544c(0x1d6)]),{'exposedMethods':[_0x4f5803[_0x55544c(0x1ef)]],'forkOptions':{'serialization':_0x4f5803[_0x55544c(0x1f7)],'stdio':_0x4f5803[_0x55544c(0x1fc)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x4f5803['POWxB'](_0x249168,0x1),'enableWorkerThreads':!![]}),_0x2e14fb=new Emittery();_0x2e14fb['on'](_0x4f5803[_0x55544c(0x1df)],_0x3a5750=>{const _0x24355e=_0x55544c;_0x4a7987[_0x3a5750[0x0]]?(_0x4a7987[_0x3a5750[0x0]][_0x4f5803[_0x24355e(0x1e4)]]=_0x4f5803[_0x24355e(0x20d)](_0x4a7987[_0x3a5750[0x0]][_0x4f5803[_0x24355e(0x1e4)]],_0x3a5750[0x1][_0x4f5803['MspSE']]),_0x4a7987[_0x3a5750[0x0]][_0x4f5803[_0x24355e(0x1ea)]]=[..._0x4a7987[_0x3a5750[0x0]][_0x4f5803[_0x24355e(0x1ea)]],..._0x3a5750[0x1][_0x4f5803[_0x24355e(0x1ea)]]]):_0x4a7987[_0x3a5750[0x0]]={'failureCount':_0x3a5750[0x1][_0x4f5803[_0x24355e(0x1e4)]],'results':[..._0x3a5750[0x1][_0x4f5803['dmtqP']]]};}),_0x2e14fb['on'](_0x4f5803[_0x55544c(0x1b9)],_0x4ceccf=>console['log'](_0x4ceccf[0x1]));_0x4e3b7d[_0x55544c(0x1cc)]()&&_0x4e3b7d[_0x55544c(0x1cc)]()[_0x55544c(0x213)](process['stdout']);_0x4e3b7d[_0x55544c(0x1f6)]()&&_0x4e3b7d[_0x55544c(0x1f6)]()[_0x55544c(0x213)](process[_0x55544c(0x214)]);const _0x26bfab=async()=>{const _0x46b0b0=_0x55544c,{forceExited:_0x246442}=await _0x4e3b7d[_0x46b0b0(0x1dc)]();_0x246442&&console[_0x46b0b0(0x1f0)](_0x4f5803[_0x46b0b0(0x1ff)]);try{await TestHubHandler[_0x46b0b0(0x1b7)]();}catch(_0xe84286){_0x4f5803[_0x46b0b0(0x1e3)](debug,_0x46b0b0(0x1eb)+_0xe84286);}_0x4f5803[_0x46b0b0(0x1fd)](_0x53e71a,_0x4a7987);},_0x35c310=_0x4f5803['FBMks'](pLimit,_0x4f5803[_0x55544c(0x1ee)](_0x249168,0x1)),_0x711f25=_0x5f2ee7=>_0x35c310(async()=>{const _0x26763b=_0x55544c;await _0x2e14fb[_0x26763b(0x1c3)](_0x4f5803[_0x26763b(0x20c)],_0x5f2ee7);const _0xbb0190=_0x4e3b7d[_0x26763b(0x204)](_0x5f2ee7,_0x1e778d);try{parentPort&&_0xbb0190['UNSTABLE_onCustomMessage'](_0x3e3dac=>{const _0x4f093f=_0x26763b;try{parentPort[_0x4f093f(0x206)](_0x3e3dac);}catch(_0x1d500b){logger[_0x4f093f(0x1d0)](_0x4f093f(0x20f)+util[_0x4f093f(0x1e8)](_0x1d500b));}});}catch(_0x176fe7){logger[_0x26763b(0x1d0)](_0x26763b(0x1e2)+util[_0x26763b(0x1e8)](_0x176fe7));}return _0xbb0190;});PerformanceTester[_0x55544c(0x1dc)](PerformanceEvents[_0x55544c(0x1da)]),Promise[_0x55544c(0x1d9)](_0x2891e3[_0x55544c(0x1d4)](_0xd285d8=>_0x711f25(_0xd285d8)['then'](_0x324e42=>_0x2e14fb[_0x55544c(0x1c3)]('test-file-success',[_0xd285d8[_0x55544c(0x1e7)]['platform'],_0x324e42]),_0x234d7f=>_0x2e14fb[_0x55544c(0x1c3)](_0x55544c(0x1fe),[_0xd285d8,_0x234d7f]))))[_0x55544c(0x1bd)](_0x26bfab,_0x26bfab);}),exports[a50_0xdbd38(0x1bf)]=(_0x4b3003,_0x7f555,_0x23250f,_0x583dba,_0x57d4df)=>{const _0xa6f4f5=a50_0xdbd38,_0x30755c={'mQcry':_0xa6f4f5(0x1e5),'FBxvr':function(_0x2baab3,_0x5757e1){return _0x2baab3(_0x5757e1);},'KaxJi':_0xa6f4f5(0x1ca),'vWllk':_0xa6f4f5(0x1c5),'cudVe':'cucumberWorker','ZdCfO':_0xa6f4f5(0x1c1),'QEQfD':_0xa6f4f5(0x213),'KpIsk':_0xa6f4f5(0x208),'lOLhE':_0xa6f4f5(0x1d2)};return new Promise(_0x271226=>{const _0x26bff5=_0xa6f4f5,_0x5cac96={};_0x5cac96['VknfM']=_0x30755c['KaxJi'];const _0x5af3fb=_0x5cac96,_0xfafe73=[],_0x12f7df=new Worker(require['resolve'](_0x30755c[_0x26bff5(0x1e9)]),{'exposedMethods':[_0x30755c[_0x26bff5(0x1ec)]],'forkOptions':{'serialization':_0x30755c[_0x26bff5(0x1c0)],'stdio':_0x30755c[_0x26bff5(0x218)]},'numWorkers':_0x4b3003[_0x26bff5(0x1db)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x533d5f=new Emittery();_0x533d5f['on'](_0x30755c[_0x26bff5(0x1fb)],_0x445a2e=>{const _0x34dba8=_0x26bff5;_0xfafe73[_0x34dba8(0x203)]([_0x445a2e[0x0],_0x445a2e[0x1]]);}),_0x533d5f['on'](_0x30755c[_0x26bff5(0x1d5)],_0x4905ad=>console[_0x26bff5(0x1f2)](_0x4905ad[0x1]));_0x12f7df[_0x26bff5(0x1cc)]()&&_0x12f7df[_0x26bff5(0x1cc)]()[_0x26bff5(0x213)](process[_0x26bff5(0x1ed)]);_0x12f7df[_0x26bff5(0x1f6)]()&&_0x12f7df[_0x26bff5(0x1f6)]()[_0x26bff5(0x213)](process[_0x26bff5(0x214)]);const _0xb33161=async()=>{const _0x338bff=_0x26bff5,{forceExited:_0x562bc9}=await _0x12f7df['end']();_0x562bc9&&console[_0x338bff(0x1f0)](_0x30755c[_0x338bff(0x1ce)]),_0x30755c[_0x338bff(0x216)](_0x271226,_0xfafe73);},_0x19ea1f=_0x30755c[_0x26bff5(0x216)](pLimit,_0x4b3003[_0x26bff5(0x1db)]||0x1),_0x5a92f4=(_0x521a1f,_0x1f7672)=>_0x19ea1f(async()=>{const _0x15fd57=_0x26bff5;return await _0x533d5f[_0x15fd57(0x1c3)](_0x5af3fb[_0x15fd57(0x1f5)],_0x521a1f),_0x7f555['platformCaps']=_0x23250f['platforms'][_0x1f7672],_0x12f7df[_0x15fd57(0x202)](_0x521a1f,_0x7f555,_0x23250f,_0x583dba,_0x57d4df);});Promise[_0x26bff5(0x1d9)](_0x4b3003[_0x26bff5(0x1d4)]((_0x470db0,_0x5798f1)=>_0x5a92f4(_0x470db0,_0x5798f1)[_0x26bff5(0x1bd)](_0x151a9b=>_0x533d5f[_0x26bff5(0x1c3)](_0x26bff5(0x208),[_0x470db0,_0x151a9b]),_0x4d4914=>_0x533d5f['emit']('platform-run-failure',[_0x470db0,_0x4d4914]))))['then'](_0xb33161,_0xb33161);});},exports[a50_0xdbd38(0x215)]=(_0x8fd026,_0xdfdbb)=>new Promise(_0x10b107=>{const _0x194278=a50_0xdbd38,_0x5825c4={'ENtyu':'exit','cKYwl':function(_0x29a08c,_0x40130e){return _0x29a08c===_0x40130e;},'UjblX':function(_0x20ea61,_0x5ec78a){return _0x20ea61!==_0x5ec78a;},'ECWZT':_0x194278(0x1e5),'uGlsO':function(_0x29fb5f,_0x245aea){return _0x29fb5f(_0x245aea);},'GZlua':_0x194278(0x1c5),'qWEJZ':_0x194278(0x205),'kxQMc':_0x194278(0x1c1),'oyAHP':'pipe','OCJDu':_0x194278(0x1fa),'aQFjG':_0x194278(0x1fe)},_0x17a389={},_0x451461=new Worker(require[_0x194278(0x1b8)](_0x5825c4[_0x194278(0x1bc)]),{'exposedMethods':[_0x5825c4[_0x194278(0x201)]],'forkOptions':{'serialization':_0x5825c4['kxQMc'],'stdio':_0x5825c4[_0x194278(0x1be)]},'numWorkers':_0xdfdbb,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0xe3fcd=new Emittery();_0xe3fcd['on'](_0x5825c4['OCJDu'],_0x4576b3=>{const _0x54398b=_0x194278;_0x4576b3[0x0]&&logger[_0x54398b(0x1f9)]('Running\x20'+_0x4576b3[0x1]+_0x54398b(0x1cf),_0x4576b3[0x0]);}),_0xe3fcd['on'](_0x5825c4[_0x194278(0x1f1)],_0x14e77e=>{const _0x58c219=_0x194278;process[_0x58c219(0x1c9)]=0x1;});_0x451461[_0x194278(0x1cc)]()&&_0x451461[_0x194278(0x1cc)]()[_0x194278(0x213)](process[_0x194278(0x1ed)]);_0x451461['getStderr']()&&_0x451461['getStderr']()[_0x194278(0x213)](process[_0x194278(0x214)]);const _0x26d51e=async()=>{const _0x597c18=_0x194278,_0x336cf7={'KbTxu':function(_0x3a17b6,_0x44dfcd){const _0xfc46f6=a50_0x1315;return _0x5825c4[_0xfc46f6(0x1c4)](_0x3a17b6,_0x44dfcd);},'rLTmE':function(_0x5d45c8,_0x283742){return _0x5825c4['UjblX'](_0x5d45c8,_0x283742);}};let _0x1ceb0e=0x0;const _0x1a2883=_0x451461['_workerPool'][_0x597c18(0x1e0)](),_0x39ed25=()=>{},_0x1c92e0=_0x1a2883[_0x597c18(0x1d4)](async _0x30f709=>{const _0x4312b7=_0x597c18;_0x30f709[_0x4312b7(0x1e1)]([0x2,![]],_0x39ed25,_0x39ed25,_0x39ed25),_0x30f709[_0x4312b7(0x1bb)]['on'](_0x5825c4[_0x4312b7(0x20b)],_0x2eb8b5=>{const _0x1ef102=_0x4312b7;_0x336cf7[_0x1ef102(0x20a)](_0x1ceb0e,0x0)&&_0x336cf7[_0x1ef102(0x217)](_0x2eb8b5,0x0)&&(_0x1ceb0e=_0x2eb8b5);}),await _0x30f709[_0x4312b7(0x200)]();});await Promise[_0x597c18(0x1d9)](_0x1c92e0),process[_0x597c18(0x1c9)]=_0x1ceb0e;const {forceExited:_0x544f6a}=await _0x451461[_0x597c18(0x1dc)]();_0x544f6a&&console[_0x597c18(0x1f0)](_0x5825c4[_0x597c18(0x1c8)]),_0x5825c4['uGlsO'](_0x10b107,_0x17a389);},_0x2d0fcc=_0x5825c4['uGlsO'](pLimit,_0xdfdbb),_0x461f6a=_0x121e07=>_0x2d0fcc(async()=>{const _0x434656=_0x194278;return _0x451461[_0x434656(0x205)](_0x121e07);});Promise[_0x194278(0x1d9)](_0x8fd026[_0x194278(0x1d4)](_0x56ed04=>_0x461f6a(_0x56ed04)[_0x194278(0x1bd)](_0x3b972b=>_0xe3fcd[_0x194278(0x1c3)](_0x194278(0x1fa),[_0x56ed04['configuration'][_0x194278(0x209)],_0x56ed04[_0x194278(0x1e7)]['file']]),_0x702c9c=>_0xe3fcd['emit']('test-file-failure',[_0x56ed04,_0x702c9c]))))[_0x194278(0x1bd)](_0x26d51e,_0x26d51e);});
|
|
1
|
+
function a50_0x8ec6(_0x34b247,_0x244cee){const _0xe52418=a50_0xe524();return a50_0x8ec6=function(_0x8ec67b,_0x1cb0de){_0x8ec67b=_0x8ec67b-0x85;let _0x31a342=_0xe52418[_0x8ec67b];return _0x31a342;},a50_0x8ec6(_0x34b247,_0x244cee);}const a50_0x4c4203=a50_0x8ec6;(function(_0x528a1d,_0x34ce28){const _0x453972=a50_0x8ec6,_0x2c94ba=_0x528a1d();while(!![]){try{const _0x12007a=-parseInt(_0x453972(0xb5))/0x1*(parseInt(_0x453972(0xea))/0x2)+parseInt(_0x453972(0xd0))/0x3*(parseInt(_0x453972(0xbc))/0x4)+parseInt(_0x453972(0xe3))/0x5+-parseInt(_0x453972(0xda))/0x6+parseInt(_0x453972(0xd4))/0x7*(parseInt(_0x453972(0xb9))/0x8)+-parseInt(_0x453972(0xde))/0x9+parseInt(_0x453972(0xa5))/0xa*(parseInt(_0x453972(0xdd))/0xb);if(_0x12007a===_0x34ce28)break;else _0x2c94ba['push'](_0x2c94ba['shift']());}catch(_0x7a3bb8){_0x2c94ba['push'](_0x2c94ba['shift']());}}}(a50_0xe524,0xc1e48));const Worker=require('jest-worker')['Worker'],Emittery=require(a50_0x4c4203(0xb3)),pLimit=require(a50_0x4c4203(0xe1)),{parentPort}=require(a50_0x4c4203(0xc7)),util=require(a50_0x4c4203(0xa9)),logger=require(a50_0x4c4203(0xb2))[a50_0x4c4203(0xc6)],PerformanceTester=require(a50_0x4c4203(0xba)),PerformanceEvents=require('../../helpers/performance/constants')[a50_0x4c4203(0xb0)],{debug}=require(a50_0x4c4203(0xaf)),TestHubHandler=require(a50_0x4c4203(0xe8));exports[a50_0x4c4203(0xca)]=(_0x58d1af,_0x2c88a8,_0x2a3994)=>new Promise(async _0x529164=>{const _0x1ec170=a50_0x4c4203,_0x347eb0={'ghNdp':'failureCount','vHnbw':function(_0x4a5a97,_0x1c67f9){return _0x4a5a97+_0x1c67f9;},'pjBIU':_0x1ec170(0xe4),'qbjfy':_0x1ec170(0xdb),'xuEmd':function(_0x4b48af,_0x553a92){return _0x4b48af(_0x553a92);},'aSgZv':function(_0x282d11,_0x6fc1e7){return _0x282d11(_0x6fc1e7);},'xZpaG':_0x1ec170(0x91),'Xwsyj':_0x1ec170(0xa7),'pCmSM':_0x1ec170(0x87),'MpUCE':_0x1ec170(0xcd),'iLgjt':_0x1ec170(0x92),'SWdAH':function(_0x49cfe4,_0x27770d){return _0x49cfe4*_0x27770d;},'ZMggW':_0x1ec170(0xb7),'gwBxX':'test-file-failure'},_0x542735=_0x2a3994['config'],_0x195eda={},_0x325f30=new Worker(require['resolve'](_0x347eb0['Xwsyj']),{'exposedMethods':[_0x347eb0[_0x1ec170(0xe6)]],'forkOptions':{'serialization':_0x347eb0['MpUCE'],'stdio':_0x347eb0['iLgjt']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x347eb0[_0x1ec170(0xdc)](_0x2c88a8,0x1),'enableWorkerThreads':!![]}),_0x1d7278=new Emittery();_0x1d7278['on'](_0x347eb0[_0x1ec170(0xc0)],_0xa46fc2=>{const _0x41a9e1=_0x1ec170;_0x195eda[_0xa46fc2[0x0]]?(_0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xe7)]]=_0x347eb0['vHnbw'](_0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xe7)]],_0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xe7)]]),_0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xaa)]]=[..._0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xaa)]],..._0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xaa)]]]):_0x195eda[_0xa46fc2[0x0]]={'failureCount':_0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xe7)]],'results':[..._0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xaa)]]]};}),_0x1d7278['on'](_0x347eb0['gwBxX'],_0x35a46c=>console[_0x1ec170(0xc5)](_0x35a46c[0x1]));_0x325f30[_0x1ec170(0xc9)]()&&_0x325f30[_0x1ec170(0xc9)]()[_0x1ec170(0x92)](process[_0x1ec170(0xe9)]);_0x325f30[_0x1ec170(0x8a)]()&&_0x325f30[_0x1ec170(0x8a)]()[_0x1ec170(0x92)](process[_0x1ec170(0x97)]);const _0xd6bae9=async()=>{const _0x840b45=_0x1ec170,{forceExited:_0x3df3ff}=await _0x325f30[_0x840b45(0xa1)]();_0x3df3ff&&console[_0x840b45(0xe2)](_0x347eb0[_0x840b45(0xab)]);try{await TestHubHandler[_0x840b45(0x94)]();}catch(_0xa26342){_0x347eb0[_0x840b45(0x86)](debug,_0x840b45(0xc3)+_0xa26342);}_0x347eb0['aSgZv'](_0x529164,_0x195eda);},_0x30a2d4=_0x347eb0[_0x1ec170(0x8d)](pLimit,_0x347eb0[_0x1ec170(0xdc)](_0x2c88a8,0x1)),_0x2c8f3b=_0x446966=>_0x30a2d4(async()=>{const _0x2bb0ee=_0x1ec170;await _0x1d7278[_0x2bb0ee(0x8e)](_0x347eb0[_0x2bb0ee(0xae)],_0x446966);const _0x3986d7=_0x325f30[_0x2bb0ee(0x87)](_0x446966,_0x542735);try{parentPort&&_0x3986d7[_0x2bb0ee(0x85)](_0x1f8dc6=>{const _0x3cd5b6=_0x2bb0ee;try{parentPort[_0x3cd5b6(0x9e)](_0x1f8dc6);}catch(_0x3dcbba){logger[_0x3cd5b6(0x9f)](_0x3cd5b6(0xe5)+util[_0x3cd5b6(0xb6)](_0x3dcbba));}});}catch(_0x5af94e){logger[_0x2bb0ee(0x9f)](_0x2bb0ee(0xd1)+util[_0x2bb0ee(0xb6)](_0x5af94e));}return _0x3986d7;});PerformanceTester[_0x1ec170(0xa1)](PerformanceEvents[_0x1ec170(0xa8)]),Promise['all'](_0x58d1af[_0x1ec170(0x88)](_0x181901=>_0x2c8f3b(_0x181901)['then'](_0x48d9f3=>_0x1d7278['emit'](_0x1ec170(0xb7),[_0x181901[_0x1ec170(0xbd)][_0x1ec170(0xa6)],_0x48d9f3]),_0x2e4ea4=>_0x1d7278[_0x1ec170(0x8e)](_0x1ec170(0x93),[_0x181901,_0x2e4ea4]))))['then'](_0xd6bae9,_0xd6bae9);}),exports[a50_0x4c4203(0xd5)]=(_0x2dd573,_0xa30a94,_0x2e8835,_0x45737b,_0x168212)=>{const _0x13e668=a50_0x4c4203,_0x4f868d={'WpOkO':_0x13e668(0xdb),'wKqgi':function(_0x9cd7cc,_0x3846aa){return _0x9cd7cc(_0x3846aa);},'JUAdS':_0x13e668(0xc8),'TCMDx':_0x13e668(0xa7),'MkEXE':'cucumberWorker','tImsJ':_0x13e668(0xcd),'cdbeb':_0x13e668(0x92),'XygCU':'platform-run-success','ufyBr':_0x13e668(0xcc),'tIMgW':function(_0x39d2d3,_0x321a16){return _0x39d2d3(_0x321a16);}};return new Promise(_0x62488b=>{const _0x55e49a=_0x13e668,_0x231757={'PsYPr':_0x4f868d[_0x55e49a(0x8c)],'DnytY':function(_0x146776,_0x209331){const _0x42a9bd=_0x55e49a;return _0x4f868d[_0x42a9bd(0x8b)](_0x146776,_0x209331);},'DJVxW':_0x4f868d[_0x55e49a(0x96)]},_0x16e3bc=[],_0x1cb45d=new Worker(require[_0x55e49a(0xa0)](_0x4f868d[_0x55e49a(0xad)]),{'exposedMethods':[_0x4f868d[_0x55e49a(0x9c)]],'forkOptions':{'serialization':_0x4f868d[_0x55e49a(0xbb)],'stdio':_0x4f868d[_0x55e49a(0xe0)]},'numWorkers':_0x2dd573[_0x55e49a(0xa3)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x3a79d9=new Emittery();_0x3a79d9['on'](_0x4f868d[_0x55e49a(0x89)],_0x42efa0=>{const _0x22aa02=_0x55e49a;_0x16e3bc[_0x22aa02(0xb8)]([_0x42efa0[0x0],_0x42efa0[0x1]]);}),_0x3a79d9['on'](_0x4f868d[_0x55e49a(0xa4)],_0x4e245f=>console[_0x55e49a(0xc5)](_0x4e245f[0x1]));_0x1cb45d['getStdout']()&&_0x1cb45d['getStdout']()['pipe'](process[_0x55e49a(0xe9)]);_0x1cb45d['getStderr']()&&_0x1cb45d[_0x55e49a(0x8a)]()[_0x55e49a(0x92)](process[_0x55e49a(0x97)]);const _0x45c0ab=async()=>{const _0x1871e7=_0x55e49a,{forceExited:_0x39c056}=await _0x1cb45d[_0x1871e7(0xa1)]();_0x39c056&&console[_0x1871e7(0xe2)](_0x231757[_0x1871e7(0xac)]),_0x231757['DnytY'](_0x62488b,_0x16e3bc);},_0x1079b1=_0x4f868d[_0x55e49a(0xc1)](pLimit,_0x2dd573[_0x55e49a(0xa3)]||0x1),_0x10a76b=(_0xcdc4ab,_0x7b13d7)=>_0x1079b1(async()=>{const _0x2d3e07=_0x55e49a;return await _0x3a79d9[_0x2d3e07(0x8e)](_0x231757[_0x2d3e07(0x90)],_0xcdc4ab),_0xa30a94[_0x2d3e07(0xbf)]=_0x2e8835[_0x2d3e07(0x9b)][_0x7b13d7],_0x1cb45d[_0x2d3e07(0x9d)](_0xcdc4ab,_0xa30a94,_0x2e8835,_0x45737b,_0x168212);});Promise[_0x55e49a(0xa2)](_0x2dd573[_0x55e49a(0x88)]((_0x34785a,_0x538771)=>_0x10a76b(_0x34785a,_0x538771)['then'](_0x208b8e=>_0x3a79d9['emit'](_0x55e49a(0xb1),[_0x34785a,_0x208b8e]),_0x2fb10f=>_0x3a79d9['emit'](_0x55e49a(0xcc),[_0x34785a,_0x2fb10f]))))[_0x55e49a(0xc4)](_0x45c0ab,_0x45c0ab);});},exports['parallelVanillaRun']=(_0x3e482,_0x8e0c68)=>new Promise(_0x31806e=>{const _0x51ea76=a50_0x4c4203,_0x31715f={'TSxkY':function(_0x27564d,_0x5d98d5){return _0x27564d===_0x5d98d5;},'qKEcD':function(_0x335988,_0x257e7c){return _0x335988!==_0x257e7c;},'bwsdo':_0x51ea76(0xeb),'cqFZx':'Workers\x20failed\x20to\x20exit\x20gracefully','UzMsz':function(_0x2bfff0,_0x1b3de7){return _0x2bfff0(_0x1b3de7);},'KsIRl':_0x51ea76(0xa7),'yvTQB':_0x51ea76(0xc2),'nucEk':_0x51ea76(0xcd),'WdhDq':_0x51ea76(0x92),'eIQRL':_0x51ea76(0xb7),'wKtVF':_0x51ea76(0x93)},_0x411ae4={},_0x3634da=new Worker(require[_0x51ea76(0xa0)](_0x31715f[_0x51ea76(0xd7)]),{'exposedMethods':[_0x31715f[_0x51ea76(0x98)]],'forkOptions':{'serialization':_0x31715f[_0x51ea76(0xd3)],'stdio':_0x31715f['WdhDq']},'numWorkers':_0x8e0c68,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x4fb196=new Emittery();_0x4fb196['on'](_0x31715f[_0x51ea76(0x9a)],_0x2728aa=>{const _0x2b579f=_0x51ea76;_0x2728aa[0x0]&&logger[_0x2b579f(0x8f)](_0x2b579f(0xd2)+_0x2728aa[0x1]+'\x20for',_0x2728aa[0x0]);}),_0x4fb196['on'](_0x31715f['wKtVF'],_0xee8a16=>{const _0x23686e=_0x51ea76;process[_0x23686e(0xb4)]=0x1;});_0x3634da['getStdout']()&&_0x3634da[_0x51ea76(0xc9)]()['pipe'](process['stdout']);_0x3634da['getStderr']()&&_0x3634da[_0x51ea76(0x8a)]()[_0x51ea76(0x92)](process[_0x51ea76(0x97)]);const _0x53b803=async()=>{const _0x400702=_0x51ea76,_0x197d02={'NbNcC':function(_0x493d60,_0x481f77){const _0x331a30=a50_0x8ec6;return _0x31715f[_0x331a30(0x99)](_0x493d60,_0x481f77);},'vWrvQ':function(_0x29ce31,_0x5a183f){const _0x4ebd38=a50_0x8ec6;return _0x31715f[_0x4ebd38(0xdf)](_0x29ce31,_0x5a183f);},'NeFsK':_0x31715f['bwsdo']};let _0x39f7ee=0x0;const _0x22e5db=_0x3634da['_workerPool'][_0x400702(0x95)](),_0x30e335=()=>{},_0x3ec858=_0x22e5db[_0x400702(0x88)](async _0x5db4c9=>{const _0x723422=_0x400702,_0x4fcafc={'lzFth':function(_0x3f6530,_0x37caae){return _0x197d02['NbNcC'](_0x3f6530,_0x37caae);},'Hcucl':function(_0x699578,_0x1fcb90){const _0x3f10b9=a50_0x8ec6;return _0x197d02[_0x3f10b9(0xcb)](_0x699578,_0x1fcb90);}};_0x5db4c9[_0x723422(0xd8)]([0x2,![]],_0x30e335,_0x30e335,_0x30e335),_0x5db4c9['_child']['on'](_0x197d02[_0x723422(0xd9)],_0x41c3fe=>{const _0x321360=_0x723422;_0x4fcafc['lzFth'](_0x39f7ee,0x0)&&_0x4fcafc[_0x321360(0xbe)](_0x41c3fe,0x0)&&(_0x39f7ee=_0x41c3fe);}),await _0x5db4c9['waitForExit']();});await Promise['all'](_0x3ec858),process[_0x400702(0xb4)]=_0x39f7ee;const {forceExited:_0x51e4fa}=await _0x3634da[_0x400702(0xa1)]();_0x51e4fa&&console[_0x400702(0xe2)](_0x31715f[_0x400702(0xce)]),_0x31715f[_0x400702(0xd6)](_0x31806e,_0x411ae4);},_0x22c1c3=_0x31715f[_0x51ea76(0xd6)](pLimit,_0x8e0c68),_0x3ff6a7=_0x390012=>_0x22c1c3(async()=>{const _0x434a51=_0x51ea76;return _0x3634da[_0x434a51(0xc2)](_0x390012);});Promise['all'](_0x3e482[_0x51ea76(0x88)](_0x5c2299=>_0x3ff6a7(_0x5c2299)[_0x51ea76(0xc4)](_0xf7e2e9=>_0x4fb196[_0x51ea76(0x8e)](_0x51ea76(0xb7),[_0x5c2299[_0x51ea76(0xbd)][_0x51ea76(0xa6)],_0x5c2299[_0x51ea76(0xbd)][_0x51ea76(0xcf)]]),_0x21c4f5=>_0x4fb196['emit'](_0x51ea76(0x93),[_0x5c2299,_0x21c4f5]))))[_0x51ea76(0xc4)](_0x53b803,_0x53b803);});function a50_0xe524(){const _0x541d24=['228142TGqGub','format','test-file-success','push','171576zhgnWA','../../helpers/performance/performance-tester','tImsJ','801968BENAeI','configuration','Hcucl','platformCaps','ZMggW','tIMgW','vanillaWorker','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','then','log','winstonLogger','worker_threads','platform-run-start','getStdout','parallelTestRun','vWrvQ','platform-run-failure','json','cqFZx','file','21zyTJlM','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','Running\x20','nucEk','21BRyKrM','parallelCucumberRun','UzMsz','KsIRl','send','NeFsK','1196352SGswNi','Workers\x20failed\x20to\x20exit\x20gracefully','SWdAH','3147111vXbWrg','11813031MzEVRJ','qKEcD','cdbeb','p-limit','error','2181655eRzDPE','results','Exception\x20in\x20sending\x20worker\x20message\x20','pCmSM','ghNdp','../../helpers/testhub/testhubHandler','stdout','4SwqyEQ','exit','UNSTABLE_onCustomMessage','xuEmd','worker','map','XygCU','getStderr','wKqgi','WpOkO','aSgZv','emit','info','DJVxW','test-file-start','pipe','test-file-failure','stop','getWorkers','JUAdS','stderr','yvTQB','TSxkY','eIQRL','platforms','MkEXE','cucumberWorker','postMessage','debug','resolve','end','all','length','ufyBr','30bZfsRy','platform','./testWorker.js','SDK_SETUP','util','pjBIU','qbjfy','PsYPr','TCMDx','xZpaG','../../helpers/test-observability/utils','EVENTS','platform-run-success','../../helpers/logger','emittery','exitCode'];a50_0xe524=function(){return _0x541d24;};return a50_0xe524();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51_0x359121=a51_0x9cdc;(function(_0x5dab70,_0x19126d){const _0x5b2335=a51_0x9cdc,_0x481a69=_0x5dab70();while(!![]){try{const _0xbbeab7=-parseInt(_0x5b2335(0x1cf))/0x1*(parseInt(_0x5b2335(0x1c9))/0x2)+-parseInt(_0x5b2335(0x1c4))/0x3*(parseInt(_0x5b2335(0x1bc))/0x4)+parseInt(_0x5b2335(0x1bb))/0x5*(-parseInt(_0x5b2335(0x1c3))/0x6)+-parseInt(_0x5b2335(0x1c8))/0x7+-parseInt(_0x5b2335(0x1c5))/0x8*(-parseInt(_0x5b2335(0x1d1))/0x9)+-parseInt(_0x5b2335(0x1b7))/0xa+parseInt(_0x5b2335(0x1ca))/0xb;if(_0xbbeab7===_0x19126d)break;else _0x481a69['push'](_0x481a69['shift']());}catch(_0x17a588){_0x481a69['push'](_0x481a69['shift']());}}}(a51_0x3cda,0xe5146));function a51_0x3cda(){const _0x3dbd53=['AjCio','1219910LIDDjV','10628TgmmUW','SDK_POST_TEST','wWtol','SEhSR','uVgFo','KtDdG','configuration','36ErmHzm','1059gpJtaj','2408680dCrIUF','runTest','../../helpers/test-observability/utils','10465252VHPxmf','2geNszR','61257548CiUhPr','EvGvn','vanilla','formatter','cucumber-js','1850369Ntfrmz','startMonitoring','45ZmQyMB','run','../../helpers/performance/constants','../launcher/launcher','../../helpers/performance/performance-tester','3887650ADuTlc','mocha','runCucumberTest'];a51_0x3cda=function(){return _0x3dbd53;};return a51_0x3cda();}const PerformanceEvents=require(a51_0x359121(0x1d3))['EVENTS'],PerformanceTester=require(a51_0x359121(0x1d5)),{sleep}=require(a51_0x359121(0x1c7));function a51_0x9cdc(_0x113fa2,_0x4cf780){const _0x3cdaab=a51_0x3cda();return a51_0x9cdc=function(_0x9cdc99,_0x4ec91d){_0x9cdc99=_0x9cdc99-0x1b7;let _0x4dda5a=_0x3cdaab[_0x9cdc99];return _0x4dda5a;},a51_0x9cdc(_0x113fa2,_0x4cf780);}exports[a51_0x359121(0x1c6)]=async(_0x2aa18f,_0x33db71)=>{const _0x49e7ce=a51_0x359121,_0x4cfcbe={'juesS':function(_0x4261e4,_0x401bb2){return _0x4261e4(_0x401bb2);},'KtDdG':_0x49e7ce(0x1d4),'SEhSR':_0x49e7ce(0x1b8),'pjXCY':function(_0x1b2100,_0x375e2f){return _0x1b2100(_0x375e2f);}};PerformanceTester[_0x49e7ce(0x1d0)]();const _0x383862=_0x4cfcbe['juesS'](require,_0x4cfcbe[_0x49e7ce(0x1c1)]),_0x5da214=new _0x383862(_0x4cfcbe[_0x49e7ce(0x1bf)],_0x2aa18f,_0x33db71),_0x6a3686=await _0x5da214[_0x49e7ce(0x1d2)]();return PerformanceTester['end'](PerformanceEvents[_0x49e7ce(0x1bd)]),await _0x4cfcbe['pjXCY'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x6a3686;},exports[a51_0x359121(0x1b9)]=async(_0x590aa4,_0x3b09d0,_0x3e67db,_0x4a4cf8,_0xd92507)=>{const _0x2de648=a51_0x359121,_0x55d762={'GYzHK':function(_0x26b2bf,_0x2eb0e1){return _0x26b2bf(_0x2eb0e1);},'AjCio':'../launcher/launcher','EvGvn':_0x2de648(0x1ce)},_0x3d86da={'capability':_0x590aa4,..._0x3b09d0},_0x40bee4={};_0x40bee4[_0x2de648(0x1c2)]=_0x3d86da,_0x40bee4[_0x2de648(0x1cd)]=_0xd92507;const _0x21ded0=_0x40bee4,_0x5d7833=_0x55d762['GYzHK'](require,_0x55d762[_0x2de648(0x1ba)]),_0x3b231f=new _0x5d7833(_0x55d762[_0x2de648(0x1cb)],_0x21ded0,_0x3e67db,_0x4a4cf8);return await _0x3b231f[_0x2de648(0x1d2)]();},exports['runVanillaTest']=async _0x56ac39=>{const _0x2f79d2=a51_0x359121,_0x14a11a={'wWtol':function(_0x40386f,_0x19ebeb){return _0x40386f(_0x19ebeb);},'BOeZg':_0x2f79d2(0x1d4),'uVgFo':_0x2f79d2(0x1cc)},_0x37b910=_0x14a11a[_0x2f79d2(0x1be)](require,_0x14a11a['BOeZg']),_0x13e521=new _0x37b910(_0x14a11a[_0x2f79d2(0x1c0)],_0x56ac39);return await _0x13e521['run']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x59aa1a=a52_0x4665;(function(_0x1cd9a6,_0x560e2){const _0x477246=a52_0x4665,_0x1f1593=_0x1cd9a6();while(!![]){try{const _0x48a359=-parseInt(_0x477246(0x99))/0x1+parseInt(_0x477246(0x9b))/0x2*(parseInt(_0x477246(0xa3))/0x3)+-parseInt(_0x477246(0x9d))/0x4+parseInt(_0x477246(0xa2))/0x5+-parseInt(_0x477246(0x9f))/0x6+-parseInt(_0x477246(0xa1))/0x7+parseInt(_0x477246(0xa4))/0x8;if(_0x48a359===_0x560e2)break;else _0x1f1593['push'](_0x1f1593['shift']());}catch(_0x4addbb){_0x1f1593['push'](_0x1f1593['shift']());}}}(a52_0x3bb4,0x42702));function a52_0x4665(_0x5d9450,_0x1db870){const _0x3bb4a9=a52_0x3bb4();return a52_0x4665=function(_0x466567,_0x588b5c){_0x466567=_0x466567-0x99;let _0x3439fc=_0x3bb4a9[_0x466567];return _0x3439fc;},a52_0x4665(_0x5d9450,_0x1db870);}const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x59aa1a(0x9c));function a52_0x3bb4(){const _0x4ba7ed=['3jJmJXX','8936744fIDUcN','worker','503125ECRHwq','hnQej','482978oJLlyn','./runTest','1666164SxqqTU','axCbI','1349838hAkOUK','vanillaWorker','2695490oDWdTO','2216285dDVhEq'];a52_0x3bb4=function(){return _0x4ba7ed;};return a52_0x3bb4();}exports[a52_0x59aa1a(0xa5)]=async(_0x2f31e1,_0x15ad72)=>{const _0x5ccc2c=a52_0x59aa1a,_0x59b138={'hnQej':function(_0x4e5182,_0x5b8b76,_0x4c6f16){return _0x4e5182(_0x5b8b76,_0x4c6f16);}};return await _0x59b138[_0x5ccc2c(0x9a)](runTest,_0x2f31e1,_0x15ad72);},exports['cucumberWorker']=async(_0x282bc3,_0x831eb9,_0x1e3be2,_0x302422,_0x6ab98)=>{const _0x23757d={'PucJn':function(_0xdb2aa5,_0x596b23,_0x2ea717,_0x53d816,_0xb42303,_0x4ed5df){return _0xdb2aa5(_0x596b23,_0x2ea717,_0x53d816,_0xb42303,_0x4ed5df);}};return await _0x23757d['PucJn'](runCucumberTest,_0x282bc3,_0x831eb9,_0x1e3be2,_0x302422,_0x6ab98);},exports[a52_0x59aa1a(0xa0)]=async _0x5bda51=>{const _0x3089a9=a52_0x59aa1a,_0x4a2ab3={'axCbI':function(_0x2d7fe1,_0x177fa2){return _0x2d7fe1(_0x177fa2);}};return await _0x4a2ab3[_0x3089a9(0x9e)](runVanillaTest,_0x5bda51);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x3d4a(_0x5f37df,_0x105f9a){const _0x266d87=a53_0x266d();return a53_0x3d4a=function(_0x3d4aa3,_0x21c34c){_0x3d4aa3=_0x3d4aa3-0xda;let _0x4091ef=_0x266d87[_0x3d4aa3];return _0x4091ef;},a53_0x3d4a(_0x5f37df,_0x105f9a);}const a53_0x5cc783=a53_0x3d4a;(function(_0x277d43,_0x9fd26b){const _0x39aba7=a53_0x3d4a,_0x455927=_0x277d43();while(!![]){try{const _0x413a1a=-parseInt(_0x39aba7(0x11a))/0x1*(parseInt(_0x39aba7(0x115))/0x2)+parseInt(_0x39aba7(0xff))/0x3+parseInt(_0x39aba7(0xfc))/0x4*(-parseInt(_0x39aba7(0x12d))/0x5)+-parseInt(_0x39aba7(0xed))/0x6*(-parseInt(_0x39aba7(0xe5))/0x7)+-parseInt(_0x39aba7(0x13a))/0x8*(-parseInt(_0x39aba7(0x132))/0x9)+-parseInt(_0x39aba7(0xe0))/0xa*(-parseInt(_0x39aba7(0xde))/0xb)+-parseInt(_0x39aba7(0x107))/0xc;if(_0x413a1a===_0x9fd26b)break;else _0x455927['push'](_0x455927['shift']());}catch(_0x1fbc62){_0x455927['push'](_0x455927['shift']());}}}(a53_0x266d,0x3b3c0));function a53_0x266d(){const _0x138611=['uGIAt','getInstance','getConfig','upload','getPlaywrightHubUrl','tXZVa','../v2/browserstackCLI','FqpyK','edsInstrumentation','81745yfOvMI','getEdsInstrumentationAPIUrl','nsXGT','IdMVl','GxuNB','5499vkcFIf','EDS_URL','BPNAl','yfNDS','APgea','getAutoCaptureLogsAPIUrl','PKNoH','damAF','1208cYcQbt','JfUVA','joBOq','replace','fsKwk','appAutomate','ybwmi','2950464MatxLo','RLypA','10JbsWka','VWqnm','goaeq','KreHM','getAutomateSessionsListAPIUrl','7GqMGFt','sQlAE','Utrgl','api','iUdgU','WYHQT','LXYxW','lLQbn','1286886jVksIM','/playwright?caps=','VqaAl','jufks','zBtUj','BHGnn','apis','GgQUZ','tTmBq','toString','gPETI','VhKOy','wss:','KSHEU','zppTm','40VaHesA','automate','THdxe','1074549ShmtBb','zIMbb','lkMLU','getAppAutomateSessionStatusAPIUrl','getAppAutomateSessionNameAPIUrl','wCkrY','BROWSERSTACK_API_URL','cdp','3104520mXWotZ','ePpLZ','GqQhr','EyoqC','vpbBy','endsWith','beRer','lzQCk','MHqsN','lkAlr','BSKTy','CmfzE','JAoEk','getAutomateSessionNameAPIUrl','536650BUrVOv','getAppAutomateSessionsListAPIUrl','pwnOL','observability','./constants','1OIkigB','GMvLG','ghcIS','VGRgc','XdadM','hjbJb','pZTxI','SzaRo','TqFDd','ssQhK'];a53_0x266d=function(){return _0x138611;};return a53_0x266d();}const constants=require(a53_0x5cc783(0x119)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x59fe03=a53_0x5cc783,_0x294dd9={'kHYBe':function(_0x3cc865,_0x390431){return _0x3cc865(_0x390431);},'hMppv':_0x59fe03(0x12a)};return _0x294dd9['kHYBe'](require,_0x294dd9['hMppv']);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x3a3910){const _0x39e443=a53_0x5cc783,_0x3f49b7={'joBOq':function(_0xe80388){return _0xe80388();},'tXZVa':function(_0x1e4dfe,_0xccb5c1,_0x11b6b9){return _0x1e4dfe(_0xccb5c1,_0x11b6b9);},'ePpLZ':_0x39e443(0xf3),'beRer':_0x39e443(0xfd),'CmfzE':_0x39e443(0xe8),'WYHQT':function(_0x25e742,_0x43098c){return _0x25e742===_0x43098c;},'ybwmi':function(_0x337641,_0x3f5676){return _0x337641+_0x3f5676;}},_0x197a65=_0x3f49b7[_0x39e443(0x13c)](getBrowserstackCLI),_0x54061b=_0x3f49b7[_0x39e443(0x129)](nestedKeyValue,_0x197a65[_0x39e443(0x125)]()[_0x39e443(0x126)](),[_0x3f49b7[_0x39e443(0x108)],_0x3f49b7[_0x39e443(0x10d)],_0x3f49b7[_0x39e443(0x112)]])||constants[_0x39e443(0x105)];if(!_0x3a3910||_0x3f49b7[_0x39e443(0xea)](_0x3a3910,''))return _0x54061b;const _0x1feda3=_0x54061b[_0x39e443(0x10c)]('/')?_0x54061b:_0x3f49b7[_0x39e443(0xdd)](_0x54061b,'/');return new URL(_0x3a3910,_0x1feda3)[_0x39e443(0xf6)]();}static[a53_0x5cc783(0x12e)](_0xd9b018){const _0x2b058b=a53_0x5cc783,_0x2c4af9={'jufks':function(_0x2e3c7c){return _0x2e3c7c();},'hQffP':function(_0x1e1de9,_0x408c9c,_0x35b00f){return _0x1e1de9(_0x408c9c,_0x35b00f);},'IdMVl':_0x2b058b(0xf3),'hjbJb':_0x2b058b(0x12c),'lzQCk':'api','lkAlr':function(_0x5e6fe0,_0x4d9759){return _0x5e6fe0===_0x4d9759;},'wAPPA':function(_0x3c726f,_0x4c8014){return _0x3c726f+_0x4c8014;}},_0x22c79a=_0x2c4af9[_0x2b058b(0xf0)](getBrowserstackCLI),_0x401809=_0x2c4af9['hQffP'](nestedKeyValue,_0x22c79a[_0x2b058b(0x125)]()['getConfig'](),[_0x2c4af9[_0x2b058b(0x130)],_0x2c4af9[_0x2b058b(0x11f)],_0x2c4af9[_0x2b058b(0x10e)]])||constants[_0x2b058b(0x133)];if(!_0xd9b018||_0x2c4af9[_0x2b058b(0x110)](_0xd9b018,''))return _0x401809;const _0x5ae56d=_0x401809[_0x2b058b(0x10c)]('/')?_0x401809:_0x2c4af9['wAPPA'](_0x401809,'/');return new URL(_0xd9b018,_0x5ae56d)[_0x2b058b(0xf6)]();}static['getAutomateSessionStatusAPIUrl'](_0x332f75){const _0x47c77d=a53_0x5cc783,_0x44993e={'zIMbb':function(_0x180e1e){return _0x180e1e();},'VqaAl':function(_0x1fc7be,_0x3bae10,_0x3d9f7c){return _0x1fc7be(_0x3bae10,_0x3d9f7c);},'KSHEU':_0x47c77d(0xf3),'SzaRo':_0x47c77d(0xfd),'pZTxI':_0x47c77d(0xe8),'EyoqC':function(_0x3622e6,_0x1b429a){return _0x3622e6===_0x1b429a;},'GqQhr':function(_0x103ef0,_0x1e5c6a){return _0x103ef0+_0x1e5c6a;}},_0xc84cf7=_0x44993e[_0x47c77d(0x100)](getBrowserstackCLI),_0x13c167=_0x44993e[_0x47c77d(0xef)](nestedKeyValue,_0xc84cf7['getInstance']()['getConfig'](),[_0x44993e[_0x47c77d(0xfa)],_0x44993e[_0x47c77d(0x121)],_0x44993e[_0x47c77d(0x120)]])||constants[_0x47c77d(0x105)];if(!_0x332f75||_0x44993e[_0x47c77d(0x10a)](_0x332f75,''))return _0x13c167;const _0x43dd92=_0x13c167['endsWith']('/')?_0x13c167:_0x44993e[_0x47c77d(0x109)](_0x13c167,'/');return new URL(_0x332f75,_0x43dd92)[_0x47c77d(0xf6)]();}static[a53_0x5cc783(0x102)](_0x4d6b1a){const _0x41ecc0=a53_0x5cc783,_0x4680b3={'bbRtx':function(_0x388d7b){return _0x388d7b();},'GMvLG':function(_0x586cba,_0x468843,_0x57b945){return _0x586cba(_0x468843,_0x57b945);},'pwnOL':_0x41ecc0(0xf3),'VWqnm':'appAutomate','EwMqm':_0x41ecc0(0xe8),'sQlAE':function(_0x58ce8a,_0x42120e){return _0x58ce8a===_0x42120e;},'APgea':function(_0x3d7dcc,_0x46ac6d){return _0x3d7dcc+_0x46ac6d;}},_0x1b5a91=_0x4680b3['bbRtx'](getBrowserstackCLI),_0x5125a8=_0x4680b3[_0x41ecc0(0x11b)](nestedKeyValue,_0x1b5a91['getInstance']()[_0x41ecc0(0x126)](),[_0x4680b3[_0x41ecc0(0x117)],_0x4680b3[_0x41ecc0(0xe1)],_0x4680b3['EwMqm']])||constants['BROWSERSTACK_API_URL'];if(!_0x4d6b1a||_0x4680b3[_0x41ecc0(0xe6)](_0x4d6b1a,''))return _0x5125a8;const _0x17af89=_0x5125a8[_0x41ecc0(0x10c)]('/')?_0x5125a8:_0x4680b3[_0x41ecc0(0x136)](_0x5125a8,'/');return new URL(_0x4d6b1a,_0x17af89)[_0x41ecc0(0xf6)]();}static[a53_0x5cc783(0x114)](_0x14307f){const _0x4cb07b=a53_0x5cc783,_0x58f329={'ghcIS':function(_0x416ee4){return _0x416ee4();},'ssQhK':function(_0x4cb3ee,_0x10aa65,_0x1ce4cd){return _0x4cb3ee(_0x10aa65,_0x1ce4cd);},'yfNDS':_0x4cb07b(0xf3),'PKNoH':'automate','iUGFs':_0x4cb07b(0xe8),'Utrgl':function(_0x4a0c76,_0x4f47c8){return _0x4a0c76===_0x4f47c8;},'iUdgU':function(_0x1cb0cf,_0x584867){return _0x1cb0cf+_0x584867;}},_0x4141a8=_0x58f329[_0x4cb07b(0x11c)](getBrowserstackCLI),_0x8203fc=_0x58f329[_0x4cb07b(0x123)](nestedKeyValue,_0x4141a8['getInstance']()[_0x4cb07b(0x126)](),[_0x58f329[_0x4cb07b(0x135)],_0x58f329[_0x4cb07b(0x138)],_0x58f329['iUGFs']])||constants[_0x4cb07b(0x105)];if(!_0x14307f||_0x58f329[_0x4cb07b(0xe7)](_0x14307f,''))return _0x8203fc;const _0x4a830a=_0x8203fc[_0x4cb07b(0x10c)]('/')?_0x8203fc:_0x58f329[_0x4cb07b(0xe9)](_0x8203fc,'/');return new URL(_0x14307f,_0x4a830a)[_0x4cb07b(0xf6)]();}static[a53_0x5cc783(0x103)](_0x1e79fc){const _0x22413b=a53_0x5cc783,_0x35fd3a={'MHqsN':function(_0x16488c){return _0x16488c();},'lkMLU':function(_0xb55415,_0x57c14d,_0x696765){return _0xb55415(_0x57c14d,_0x696765);},'BPNAl':_0x22413b(0xf3),'THdxe':_0x22413b(0xdc),'wCkrY':_0x22413b(0xe8),'gPETI':function(_0x2734af,_0x7af0ea){return _0x2734af===_0x7af0ea;},'GgQUZ':function(_0x52dcd9,_0x1916ce){return _0x52dcd9+_0x1916ce;}},_0x3c0d8b=_0x35fd3a[_0x22413b(0x10f)](getBrowserstackCLI),_0x2a2a21=_0x35fd3a[_0x22413b(0x101)](nestedKeyValue,_0x3c0d8b[_0x22413b(0x125)]()[_0x22413b(0x126)](),[_0x35fd3a[_0x22413b(0x134)],_0x35fd3a[_0x22413b(0xfe)],_0x35fd3a[_0x22413b(0x104)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1e79fc||_0x35fd3a[_0x22413b(0xf7)](_0x1e79fc,''))return _0x2a2a21;const _0x441b58=_0x2a2a21[_0x22413b(0x10c)]('/')?_0x2a2a21:_0x35fd3a[_0x22413b(0xf4)](_0x2a2a21,'/');return new URL(_0x1e79fc,_0x441b58)[_0x22413b(0xf6)]();}static[a53_0x5cc783(0xe4)](_0x45862e){const _0x56a01f=a53_0x5cc783,_0x979a7={'ftogw':function(_0x20b256){return _0x20b256();},'vpbBy':function(_0xff173,_0x267fc6,_0x322757){return _0xff173(_0x267fc6,_0x322757);},'rLnJj':_0x56a01f(0xf3),'FqpyK':_0x56a01f(0xfd),'VhKOy':_0x56a01f(0xe8),'XdadM':function(_0x8c3fe4,_0x1e1cb9){return _0x8c3fe4===_0x1e1cb9;},'zppTm':function(_0x27c2ad,_0x889fbf){return _0x27c2ad+_0x889fbf;}},_0x2621b7=_0x979a7['ftogw'](getBrowserstackCLI),_0x279f7b=_0x979a7[_0x56a01f(0x10b)](nestedKeyValue,_0x2621b7['getInstance']()[_0x56a01f(0x126)](),[_0x979a7['rLnJj'],_0x979a7[_0x56a01f(0x12b)],_0x979a7[_0x56a01f(0xf8)]])||constants[_0x56a01f(0x105)];if(!_0x45862e||_0x979a7[_0x56a01f(0x11e)](_0x45862e,''))return _0x279f7b;const _0x115e95=_0x279f7b['endsWith']('/')?_0x279f7b:_0x979a7[_0x56a01f(0xfb)](_0x279f7b,'/');return new URL(_0x45862e,_0x115e95)[_0x56a01f(0xf6)]()[_0x56a01f(0xda)](/^https?:\/\//,'');}static[a53_0x5cc783(0x116)](_0xdb92df){const _0x4953e7=a53_0x5cc783,_0x432096={'jBpFd':function(_0x53cb5f){return _0x53cb5f();},'nsXGT':function(_0x2336fb,_0x2e07db,_0x3481e9){return _0x2336fb(_0x2e07db,_0x3481e9);},'fsKwk':_0x4953e7(0xf3),'GxuNB':'appAutomate','VGRgc':_0x4953e7(0xe8),'RBDjw':function(_0xf5446a,_0x45fa6f){return _0xf5446a===_0x45fa6f;},'BSKTy':function(_0x11680a,_0x852050){return _0x11680a+_0x852050;}},_0x449c56=_0x432096['jBpFd'](getBrowserstackCLI),_0x205d63=_0x432096[_0x4953e7(0x12f)](nestedKeyValue,_0x449c56[_0x4953e7(0x125)]()[_0x4953e7(0x126)](),[_0x432096[_0x4953e7(0xdb)],_0x432096[_0x4953e7(0x131)],_0x432096[_0x4953e7(0x11d)]])||constants['APP_UPLOAD_URL'];if(!_0xdb92df||_0x432096['RBDjw'](_0xdb92df,''))return _0x205d63;const _0xecd7d8=_0x205d63[_0x4953e7(0x10c)]('/')?_0x205d63:_0x432096[_0x4953e7(0x111)](_0x205d63,'/');return new URL(_0xdb92df,_0xecd7d8)['toString']()['replace'](/^https?:\/\//,'');}static[a53_0x5cc783(0x137)](_0x2d8f76){const _0x32f56a=a53_0x5cc783,_0x23a333={'goaeq':function(_0x5c7602){return _0x5c7602();},'JAoEk':function(_0x54ce78,_0x3b58e7,_0x1466b5){return _0x54ce78(_0x3b58e7,_0x1466b5);},'TqFDd':'apis','UBHBe':_0x32f56a(0x118),'uGIAt':_0x32f56a(0x127),'LXYxW':function(_0x59b3d2,_0x1c12d7){return _0x59b3d2===_0x1c12d7;},'KreHM':function(_0x1ad106,_0x405a80){return _0x1ad106+_0x405a80;}},_0x4175e2=_0x23a333[_0x32f56a(0xe2)](getBrowserstackCLI),_0x86a0c2=_0x23a333[_0x32f56a(0x113)](nestedKeyValue,_0x4175e2[_0x32f56a(0x125)]()[_0x32f56a(0x126)](),[_0x23a333[_0x32f56a(0x122)],_0x23a333['UBHBe'],_0x23a333[_0x32f56a(0x124)]])||constants['OBSERVABILITY_UPLOAD_URL'];if(!_0x2d8f76||_0x23a333[_0x32f56a(0xeb)](_0x2d8f76,''))return _0x86a0c2;const _0x33618d=_0x86a0c2['endsWith']('/')?_0x86a0c2:_0x23a333[_0x32f56a(0xe3)](_0x86a0c2,'/');return new URL(_0x2d8f76,_0x33618d)[_0x32f56a(0xf6)]();}static[a53_0x5cc783(0x128)](_0x17d527){const _0x2baf9a=a53_0x5cc783,_0x4242a={'JfUVA':function(_0x482956){return _0x482956();},'axhGQ':function(_0x34d9a9,_0xe1f3f9,_0x1ed99c){return _0x34d9a9(_0xe1f3f9,_0x1ed99c);},'damAF':'apis','sdwYB':_0x2baf9a(0xfd),'RLypA':_0x2baf9a(0x106),'zBtUj':_0x2baf9a(0xf9),'tTmBq':function(_0x3d1b1e,_0x2a82e9){return _0x3d1b1e===_0x2a82e9;},'lLQbn':function(_0x3cc86b,_0x2fa7a0){return _0x3cc86b+_0x2fa7a0;},'BHGnn':_0x2baf9a(0xee)},_0x581243=_0x4242a[_0x2baf9a(0x13b)](getBrowserstackCLI),_0x5d55eb=_0x4242a['axhGQ'](nestedKeyValue,_0x581243[_0x2baf9a(0x125)]()[_0x2baf9a(0x126)](),[_0x4242a[_0x2baf9a(0x139)],_0x4242a['sdwYB'],_0x4242a[_0x2baf9a(0xdf)]]),_0x1a270f=(_0x5d55eb?_0x5d55eb[_0x2baf9a(0xda)](/^https:/,_0x4242a[_0x2baf9a(0xf1)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x15239c;if(!_0x17d527||_0x4242a[_0x2baf9a(0xf5)](_0x17d527,''))_0x15239c=_0x1a270f;else{const _0x37c687=_0x1a270f[_0x2baf9a(0x10c)]('/')?_0x1a270f:_0x4242a[_0x2baf9a(0xec)](_0x1a270f,'/');_0x15239c=new URL(_0x17d527,_0x37c687)[_0x2baf9a(0xf6)]();}return!_0x15239c[_0x2baf9a(0x10c)](_0x4242a[_0x2baf9a(0xf2)])&&(_0x15239c+=_0x4242a[_0x2baf9a(0xf2)]),_0x15239c;}}module['exports']=APIUtilityMethods;
|
|
1
|
+
const a53_0x19e602=a53_0x56f4;(function(_0x3042dd,_0x5df4c9){const _0x39ee61=a53_0x56f4,_0x110257=_0x3042dd();while(!![]){try{const _0x3de2cd=parseInt(_0x39ee61(0x14b))/0x1*(parseInt(_0x39ee61(0x13f))/0x2)+parseInt(_0x39ee61(0x11f))/0x3+-parseInt(_0x39ee61(0x121))/0x4+parseInt(_0x39ee61(0x16f))/0x5+-parseInt(_0x39ee61(0x131))/0x6*(-parseInt(_0x39ee61(0x142))/0x7)+parseInt(_0x39ee61(0x138))/0x8+-parseInt(_0x39ee61(0x14d))/0x9;if(_0x3de2cd===_0x5df4c9)break;else _0x110257['push'](_0x110257['shift']());}catch(_0x2fdf23){_0x110257['push'](_0x110257['shift']());}}}(a53_0x20c9,0xe7fe8));const constants=require(a53_0x19e602(0x14a)),{nestedKeyValue}=require(a53_0x19e602(0x13b)),getBrowserstackCLI=()=>{const _0x39a9b4=a53_0x19e602,_0x447b69={'fbIHA':function(_0x1f85c9,_0x16afdb){return _0x1f85c9(_0x16afdb);},'qBHVg':'../v2/browserstackCLI'};return _0x447b69[_0x39a9b4(0x12b)](require,_0x447b69['qBHVg']);};function a53_0x56f4(_0x5ba76a,_0x459baa){const _0x20c9e5=a53_0x20c9();return a53_0x56f4=function(_0x56f4e4,_0x2a50b4){_0x56f4e4=_0x56f4e4-0x117;let _0xae02c2=_0x20c9e5[_0x56f4e4];return _0xae02c2;},a53_0x56f4(_0x5ba76a,_0x459baa);}function a53_0x20c9(){const _0x495b2a=['ZgmjV','10542030PbReEk','getEdsInstrumentationAPIUrl','ydUEJ','ELbcc','ZLrRm','APP_UPLOAD_URL','kLXgb','6975008AJkHzm','eEHqM','btIjk','./sharedUtils','CRGPj','xUXGN','JtWkU','1148878MQambp','fjShs','kbvTl','7XNaggZ','AQCUv','ScJyb','FjKYL','replace','getAutomateSessionsListAPIUrl','appAutomate','getAppAutomateSessionStatusAPIUrl','./constants','2akhAlF','uXUBB','24647373pbMiPe','getConfig','suhUX','COjIc','getAppAutomateSessionsListAPIUrl','YOZqt','BVdFz','getAppAutomateSessionNameAPIUrl','PLAYWRIGHT_HUB_URL','observability','upload','zyGAC','PmahZ','ZVNtn','vwjPH','apis','qbgva','MlhCG','HiGVx','Lyahu','endsWith','VZPmZ','OfBac','HnNsu','getAutomateSessionStatusAPIUrl','BBQXv','getPlaywrightHubUrl','getInstance','WWDMS','PXJBR','IyHhq','cDZZo','PkNcZ','YMTsP','1845060ttRKBn','/playwright?caps=','FRaDi','mccHU','getAutomateSessionNameAPIUrl','TARSU','BROWSERSTACK_API_URL','mWAwU','zikwO','ObVQw','automate','xgatW','oQHRs','3815760KdGULZ','cdp','6919384eryjyn','feErV','HwvCw','CihVb','getBStackAPIUrl','biHAD','TJdzi','OBSERVABILITY_UPLOAD_URL','YPSfr','wss:','fbIHA','api','toString','bHzQm','uOdcc'];a53_0x20c9=function(){return _0x495b2a;};return a53_0x20c9();}class APIUtilityMethods{static[a53_0x19e602(0x125)](_0x547c0e){const _0x1297cf=a53_0x19e602,_0x313fba={'AQCUv':function(_0x33bf7c){return _0x33bf7c();},'CRGPj':function(_0x3a25a1,_0x3b5bb2,_0x199834){return _0x3a25a1(_0x3b5bb2,_0x199834);},'FjKYL':'apis','xUXGN':_0x1297cf(0x11c),'YPSfr':_0x1297cf(0x12c),'suhUX':function(_0x4eb6d7,_0x41af73){return _0x4eb6d7===_0x41af73;},'SzfFI':function(_0x19fffc,_0x1bf96d){return _0x19fffc+_0x1bf96d;}},_0x51daf5=_0x313fba[_0x1297cf(0x143)](getBrowserstackCLI),_0x3fac6a=_0x313fba[_0x1297cf(0x13c)](nestedKeyValue,_0x51daf5[_0x1297cf(0x168)]()[_0x1297cf(0x14e)](),[_0x313fba[_0x1297cf(0x145)],_0x313fba[_0x1297cf(0x13d)],_0x313fba[_0x1297cf(0x129)]])||constants[_0x1297cf(0x118)];if(!_0x547c0e||_0x313fba[_0x1297cf(0x14f)](_0x547c0e,''))return _0x3fac6a;const _0x46c88d=_0x3fac6a[_0x1297cf(0x161)]('/')?_0x3fac6a:_0x313fba['SzfFI'](_0x3fac6a,'/');return new URL(_0x547c0e,_0x46c88d)[_0x1297cf(0x12d)]();}static[a53_0x19e602(0x132)](_0xedbe10){const _0x4d1852=a53_0x19e602,_0x26aa47={'YMTsP':function(_0xa4f5e3){return _0xa4f5e3();},'HiGVx':function(_0x1d2ba5,_0x4e193a,_0x132cc9){return _0x1d2ba5(_0x4e193a,_0x132cc9);},'PkNcZ':'apis','COjIc':'edsInstrumentation','oQHRs':_0x4d1852(0x12c),'OfBac':function(_0x4cd094,_0x983bce){return _0x4cd094===_0x983bce;},'KHZJj':function(_0xd92032,_0x5e1bb7){return _0xd92032+_0x5e1bb7;}},_0x358d33=_0x26aa47[_0x4d1852(0x16e)](getBrowserstackCLI),_0x5acab3=_0x26aa47[_0x4d1852(0x15f)](nestedKeyValue,_0x358d33['getInstance']()[_0x4d1852(0x14e)](),[_0x26aa47[_0x4d1852(0x16d)],_0x26aa47[_0x4d1852(0x150)],_0x26aa47[_0x4d1852(0x11e)]])||constants['EDS_URL'];if(!_0xedbe10||_0x26aa47[_0x4d1852(0x163)](_0xedbe10,''))return _0x5acab3;const _0x3e137b=_0x5acab3[_0x4d1852(0x161)]('/')?_0x5acab3:_0x26aa47['KHZJj'](_0x5acab3,'/');return new URL(_0xedbe10,_0x3e137b)[_0x4d1852(0x12d)]();}static[a53_0x19e602(0x165)](_0xe13925){const _0x5a7984=a53_0x19e602,_0x4816ef={'zyGAC':function(_0x23bc24){return _0x23bc24();},'eEHqM':function(_0x5e4ae6,_0x5ccc2,_0x42aba5){return _0x5e4ae6(_0x5ccc2,_0x42aba5);},'IyHhq':_0x5a7984(0x15c),'ZLrRm':_0x5a7984(0x11c),'hsTWv':_0x5a7984(0x12c),'ZqQUT':function(_0x1bfb3b,_0x42b8b7){return _0x1bfb3b===_0x42b8b7;},'TJdzi':function(_0xb95c54,_0x1cf052){return _0xb95c54+_0x1cf052;}},_0x58a53b=_0x4816ef[_0x5a7984(0x158)](getBrowserstackCLI),_0x450ed3=_0x4816ef[_0x5a7984(0x139)](nestedKeyValue,_0x58a53b[_0x5a7984(0x168)]()[_0x5a7984(0x14e)](),[_0x4816ef[_0x5a7984(0x16b)],_0x4816ef[_0x5a7984(0x135)],_0x4816ef['hsTWv']])||constants['BROWSERSTACK_API_URL'];if(!_0xe13925||_0x4816ef['ZqQUT'](_0xe13925,''))return _0x450ed3;const _0x5c82b8=_0x450ed3['endsWith']('/')?_0x450ed3:_0x4816ef[_0x5a7984(0x127)](_0x450ed3,'/');return new URL(_0xe13925,_0x5c82b8)['toString']();}static[a53_0x19e602(0x149)](_0x1db3b8){const _0x1feeba=a53_0x19e602,_0x62e22d={'QQndp':function(_0x5d48a9){return _0x5d48a9();},'kLXgb':function(_0x2736af,_0x49fdc1,_0xbb9467){return _0x2736af(_0x49fdc1,_0xbb9467);},'PmahZ':_0x1feeba(0x15c),'ydUEJ':_0x1feeba(0x148),'YdQby':_0x1feeba(0x12c),'MnucI':function(_0x290fb1,_0x1e284e){return _0x290fb1===_0x1e284e;},'BBQXv':function(_0x5378a9,_0x588473){return _0x5378a9+_0x588473;}},_0x13f907=_0x62e22d['QQndp'](getBrowserstackCLI),_0x3024fc=_0x62e22d[_0x1feeba(0x137)](nestedKeyValue,_0x13f907['getInstance']()[_0x1feeba(0x14e)](),[_0x62e22d[_0x1feeba(0x159)],_0x62e22d[_0x1feeba(0x133)],_0x62e22d['YdQby']])||constants[_0x1feeba(0x118)];if(!_0x1db3b8||_0x62e22d['MnucI'](_0x1db3b8,''))return _0x3024fc;const _0x5068f8=_0x3024fc[_0x1feeba(0x161)]('/')?_0x3024fc:_0x62e22d[_0x1feeba(0x166)](_0x3024fc,'/');return new URL(_0x1db3b8,_0x5068f8)['toString']();}static[a53_0x19e602(0x173)](_0x42c508){const _0x20fb15=a53_0x19e602,_0x1b83d7={'YpdAe':function(_0x1abc07){return _0x1abc07();},'HnNsu':function(_0x7e8de1,_0x4d2449,_0x196937){return _0x7e8de1(_0x4d2449,_0x196937);},'CihVb':_0x20fb15(0x15c),'bHzQm':_0x20fb15(0x11c),'sshVo':_0x20fb15(0x12c),'cDZZo':function(_0x4486ad,_0x136885){return _0x4486ad===_0x136885;},'JtWkU':function(_0x433ba7,_0x38ad06){return _0x433ba7+_0x38ad06;}},_0x4c8b78=_0x1b83d7['YpdAe'](getBrowserstackCLI),_0x525850=_0x1b83d7[_0x20fb15(0x164)](nestedKeyValue,_0x4c8b78[_0x20fb15(0x168)]()[_0x20fb15(0x14e)](),[_0x1b83d7[_0x20fb15(0x124)],_0x1b83d7[_0x20fb15(0x12e)],_0x1b83d7['sshVo']])||constants[_0x20fb15(0x118)];if(!_0x42c508||_0x1b83d7[_0x20fb15(0x16c)](_0x42c508,''))return _0x525850;const _0x159f22=_0x525850['endsWith']('/')?_0x525850:_0x1b83d7[_0x20fb15(0x13e)](_0x525850,'/');return new URL(_0x42c508,_0x159f22)[_0x20fb15(0x12d)]();}static[a53_0x19e602(0x154)](_0x19ca47){const _0x1e23df=a53_0x19e602,_0x388940={'ScJyb':function(_0x45bc06){return _0x45bc06();},'ZVNtn':function(_0x51112a,_0x45ec4a,_0x3017c2){return _0x51112a(_0x45ec4a,_0x3017c2);},'MlhCG':_0x1e23df(0x15c),'fjShs':_0x1e23df(0x148),'mWAwU':_0x1e23df(0x12c),'VZPmZ':function(_0x5141b1,_0x457f38){return _0x5141b1===_0x457f38;},'Lyahu':function(_0x3c03fb,_0x50ab87){return _0x3c03fb+_0x50ab87;}},_0x46617a=_0x388940[_0x1e23df(0x144)](getBrowserstackCLI),_0x3c7908=_0x388940[_0x1e23df(0x15a)](nestedKeyValue,_0x46617a[_0x1e23df(0x168)]()[_0x1e23df(0x14e)](),[_0x388940[_0x1e23df(0x15e)],_0x388940[_0x1e23df(0x140)],_0x388940[_0x1e23df(0x119)]])||constants[_0x1e23df(0x118)];if(!_0x19ca47||_0x388940[_0x1e23df(0x162)](_0x19ca47,''))return _0x3c7908;const _0x3166cd=_0x3c7908[_0x1e23df(0x161)]('/')?_0x3c7908:_0x388940[_0x1e23df(0x160)](_0x3c7908,'/');return new URL(_0x19ca47,_0x3166cd)['toString']();}static[a53_0x19e602(0x147)](_0x1bfb8d){const _0x3552f8=a53_0x19e602,_0x1440fb={'ELbcc':function(_0x2060b6){return _0x2060b6();},'YOZqt':function(_0x518a97,_0x2f2d7d,_0x4cc409){return _0x518a97(_0x2f2d7d,_0x4cc409);},'feErV':_0x3552f8(0x15c),'uXUBB':'automate','btIjk':'api','TARSU':function(_0x5d5db3,_0x26e7af){return _0x5d5db3===_0x26e7af;},'pHxfR':function(_0x174fa4,_0x2ad2ea){return _0x174fa4+_0x2ad2ea;}},_0x2da022=_0x1440fb[_0x3552f8(0x134)](getBrowserstackCLI),_0x3168b8=_0x1440fb[_0x3552f8(0x152)](nestedKeyValue,_0x2da022[_0x3552f8(0x168)]()['getConfig'](),[_0x1440fb[_0x3552f8(0x122)],_0x1440fb[_0x3552f8(0x14c)],_0x1440fb[_0x3552f8(0x13a)]])||constants[_0x3552f8(0x118)];if(!_0x1bfb8d||_0x1440fb[_0x3552f8(0x117)](_0x1bfb8d,''))return _0x3168b8;const _0x1a7c99=_0x3168b8[_0x3552f8(0x161)]('/')?_0x3168b8:_0x1440fb['pHxfR'](_0x3168b8,'/');return new URL(_0x1bfb8d,_0x1a7c99)[_0x3552f8(0x12d)]()[_0x3552f8(0x146)](/^https?:\/\//,'');}static[a53_0x19e602(0x151)](_0x5a4eff){const _0x28be2f=a53_0x19e602,_0x5e455c={'uJYZK':function(_0x2b51f9){return _0x2b51f9();},'eLROt':function(_0x1472c8,_0xfcab29,_0x5ed5cc){return _0x1472c8(_0xfcab29,_0x5ed5cc);},'vwjPH':'apis','wQgpO':_0x28be2f(0x148),'ohATi':_0x28be2f(0x12c),'mccHU':function(_0x4e131d,_0x4fea7d){return _0x4e131d===_0x4fea7d;},'FRaDi':function(_0x3b2029,_0x4dac3d){return _0x3b2029+_0x4dac3d;}},_0x4d625f=_0x5e455c['uJYZK'](getBrowserstackCLI),_0x3c1ff4=_0x5e455c['eLROt'](nestedKeyValue,_0x4d625f['getInstance']()['getConfig'](),[_0x5e455c[_0x28be2f(0x15b)],_0x5e455c['wQgpO'],_0x5e455c['ohATi']])||constants[_0x28be2f(0x136)];if(!_0x5a4eff||_0x5e455c[_0x28be2f(0x172)](_0x5a4eff,''))return _0x3c1ff4;const _0x24a1a3=_0x3c1ff4[_0x28be2f(0x161)]('/')?_0x3c1ff4:_0x5e455c[_0x28be2f(0x171)](_0x3c1ff4,'/');return new URL(_0x5a4eff,_0x24a1a3)[_0x28be2f(0x12d)]()[_0x28be2f(0x146)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x25469c){const _0x9d527c=a53_0x19e602,_0xf13bb7={'vrqXn':function(_0x3d94d5){return _0x3d94d5();},'ZgmjV':function(_0x221b4e,_0x3ae2f6,_0x2588d3){return _0x221b4e(_0x3ae2f6,_0x2588d3);},'ObVQw':'apis','uOdcc':_0x9d527c(0x156),'biHAD':_0x9d527c(0x157),'WKbCV':function(_0x2aad60,_0x296fba){return _0x2aad60===_0x296fba;},'WWDMS':function(_0x29f560,_0x5801cd){return _0x29f560+_0x5801cd;}},_0x4b2146=_0xf13bb7['vrqXn'](getBrowserstackCLI),_0x103779=_0xf13bb7[_0x9d527c(0x130)](nestedKeyValue,_0x4b2146[_0x9d527c(0x168)]()[_0x9d527c(0x14e)](),[_0xf13bb7[_0x9d527c(0x11b)],_0xf13bb7[_0x9d527c(0x12f)],_0xf13bb7[_0x9d527c(0x126)]])||constants[_0x9d527c(0x128)];if(!_0x25469c||_0xf13bb7['WKbCV'](_0x25469c,''))return _0x103779;const _0x32280b=_0x103779['endsWith']('/')?_0x103779:_0xf13bb7[_0x9d527c(0x169)](_0x103779,'/');return new URL(_0x25469c,_0x32280b)['toString']();}static[a53_0x19e602(0x167)](_0x128fc1){const _0x3a8f11=a53_0x19e602,_0x45ac9a={'xgatW':function(_0x547adf){return _0x547adf();},'qbgva':function(_0x3fdb06,_0x3aba68,_0x5e47cc){return _0x3fdb06(_0x3aba68,_0x5e47cc);},'GzaMX':'apis','kbvTl':_0x3a8f11(0x11c),'HwvCw':_0x3a8f11(0x120),'mkgQw':_0x3a8f11(0x12a),'PXJBR':function(_0x2a86ba,_0x29fedf){return _0x2a86ba===_0x29fedf;},'BVdFz':function(_0x547183,_0x2ad911){return _0x547183+_0x2ad911;},'zikwO':_0x3a8f11(0x170)},_0xb9534=_0x45ac9a[_0x3a8f11(0x11d)](getBrowserstackCLI),_0x1175ac=_0x45ac9a[_0x3a8f11(0x15d)](nestedKeyValue,_0xb9534[_0x3a8f11(0x168)]()[_0x3a8f11(0x14e)](),[_0x45ac9a['GzaMX'],_0x45ac9a[_0x3a8f11(0x141)],_0x45ac9a[_0x3a8f11(0x123)]]),_0x180baa=(_0x1175ac?_0x1175ac[_0x3a8f11(0x146)](/^https:/,_0x45ac9a['mkgQw']):null)||constants[_0x3a8f11(0x155)];let _0x448c87;if(!_0x128fc1||_0x45ac9a[_0x3a8f11(0x16a)](_0x128fc1,''))_0x448c87=_0x180baa;else{const _0x2d029f=_0x180baa[_0x3a8f11(0x161)]('/')?_0x180baa:_0x45ac9a[_0x3a8f11(0x153)](_0x180baa,'/');_0x448c87=new URL(_0x128fc1,_0x2d029f)['toString']();}return!_0x448c87[_0x3a8f11(0x161)](_0x45ac9a[_0x3a8f11(0x11a)])&&(_0x448c87+=_0x45ac9a[_0x3a8f11(0x11a)]),_0x448c87;}}module['exports']=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a54_0x16a3(_0x5355c2,_0x33178f){const _0x110239=a54_0x1102();return a54_0x16a3=function(_0x16a3b5,_0xe224ab){_0x16a3b5=_0x16a3b5-0x65;let _0x2d3459=_0x110239[_0x16a3b5];return _0x2d3459;},a54_0x16a3(_0x5355c2,_0x33178f);}const a54_0x333b5f=a54_0x16a3;(function(_0x176cfe,_0x3225be){const _0x5e259d=a54_0x16a3,_0xc67a02=_0x176cfe();while(!![]){try{const _0x43603b=parseInt(_0x5e259d(0x65))/0x1*(-parseInt(_0x5e259d(0x94))/0x2)+-parseInt(_0x5e259d(0xb3))/0x3*(-parseInt(_0x5e259d(0x8f))/0x4)+-parseInt(_0x5e259d(0xb8))/0x5*(-parseInt(_0x5e259d(0x96))/0x6)+parseInt(_0x5e259d(0x82))/0x7+-parseInt(_0x5e259d(0xcd))/0x8*(parseInt(_0x5e259d(0xce))/0x9)+parseInt(_0x5e259d(0x89))/0xa+-parseInt(_0x5e259d(0xb7))/0xb;if(_0x43603b===_0x3225be)break;else _0xc67a02['push'](_0xc67a02['shift']());}catch(_0x229819){_0xc67a02['push'](_0xc67a02['shift']());}}}(a54_0x1102,0xd4af0));const logger=require(a54_0x333b5f(0xab))[a54_0x333b5f(0xcc)],BrowserstackCLI=require(a54_0x333b5f(0x78)),GrpcClient=require(a54_0x333b5f(0xac)),constants=require(a54_0x333b5f(0xb5));class ClientTroubleShootingService{static [a54_0x333b5f(0x8d)]=null;static [a54_0x333b5f(0xc3)]=new Set();static async[a54_0x333b5f(0xa4)](_0x47b709){const _0x514cac=a54_0x333b5f,_0x45f2e6={};_0x45f2e6[_0x514cac(0x9e)]=function(_0x1deadd,_0x2d2efd){return _0x1deadd!==_0x2d2efd;};const _0xbe3f4e=_0x45f2e6;try{if(BrowserstackCLI[_0x514cac(0x84)]()['isRunning']()){const _0x1b57ed=await GrpcClient[_0x514cac(0x84)]()[_0x514cac(0xca)](_0x47b709);if(_0xbe3f4e[_0x514cac(0x9e)](_0x1b57ed,null)&&_0x1b57ed[_0x514cac(0xa6)]())return{'errorCode':_0x1b57ed['getErrorCode'](),'errorMessage':_0x1b57ed['getErrorMessage']()};return{};}}catch(_0x25e62e){return this[_0x514cac(0x69)](_0x514cac(0x79)+_0x47b709+':',_0x25e62e),{};}}static async['getAggregatedErrorCodes'](){const _0x10bdba=a54_0x333b5f,_0x364699={};_0x364699[_0x10bdba(0xb1)]=function(_0x3bf242,_0x3a17c1){return _0x3bf242!==_0x3a17c1;},_0x364699['qMQGG']=_0x10bdba(0x90),_0x364699[_0x10bdba(0x6f)]=_0x10bdba(0x81);const _0x1f5d4f=_0x364699;try{if(BrowserstackCLI['getInstance']()[_0x10bdba(0x99)]()){const _0xfb8426=await GrpcClient['getInstance']()[_0x10bdba(0x8e)]();if(_0x1f5d4f[_0x10bdba(0xb1)](_0xfb8426,null)&&_0xfb8426[_0x10bdba(0xa6)]()){const _0x356a8a=Buffer[_0x10bdba(0xba)](_0xfb8426[_0x10bdba(0xb6)](),_0x1f5d4f[_0x10bdba(0x6b)])['toString'](),_0x17f464=_0x356a8a?JSON['parse'](_0x356a8a):[],_0x260744=_0xfb8426[_0x10bdba(0xc9)](),_0x3b3ba9=_0xfb8426[_0x10bdba(0xae)](),_0x2746bf=Buffer[_0x10bdba(0xba)](_0xfb8426['getErrorCodesOccurredInCli'](),_0x1f5d4f[_0x10bdba(0x6b)])[_0x10bdba(0xa8)](),_0x50b573=_0x2746bf?JSON[_0x10bdba(0x85)](_0x2746bf):[],_0x768c0c={};return _0x768c0c[_0x10bdba(0xb2)]=_0x17f464,_0x768c0c[_0x10bdba(0xaf)]=_0x260744,_0x768c0c[_0x10bdba(0xb9)]=_0x3b3ba9,_0x768c0c[_0x10bdba(0xbc)]=_0x50b573,_0x768c0c;}const _0x1414d5={};return _0x1414d5[_0x10bdba(0xb2)]=[],_0x1414d5[_0x10bdba(0xaf)]='',_0x1414d5['finalErrorMessage']='',_0x1414d5[_0x10bdba(0xbc)]=[],_0x1414d5;}const _0x128bc4={};return _0x128bc4['errorCodes']=[],_0x128bc4[_0x10bdba(0xaf)]='',_0x128bc4[_0x10bdba(0xb9)]='',_0x128bc4['errorCodesOccurredInCLI']=[],_0x128bc4;}catch(_0x582500){this[_0x10bdba(0x69)](_0x1f5d4f['Imhro'],_0x582500);const _0x36e0cf={};return _0x36e0cf['errorCodes']=[],_0x36e0cf['documentationLink']='',_0x36e0cf[_0x10bdba(0xb9)]='',_0x36e0cf[_0x10bdba(0xbc)]=[],_0x36e0cf;}}static[a54_0x333b5f(0x7a)](_0x46e76d,_0x5379a3){const _0x1da79e=a54_0x333b5f;logger[_0x1da79e(0x7b)](_0x46e76d+':\x20'+_0x5379a3);}static[a54_0x333b5f(0x74)](_0x593ec5){const _0x19cc5b=a54_0x333b5f,_0x4fc329={};_0x4fc329[_0x19cc5b(0x9a)]=function(_0x321f57,_0x1d0c74){return _0x321f57!=_0x1d0c74;},_0x4fc329[_0x19cc5b(0x6d)]=function(_0x3d6296,_0x5dd158){return _0x3d6296!=_0x5dd158;},_0x4fc329[_0x19cc5b(0x92)]=function(_0x339603,_0x329d6f){return _0x339603>_0x329d6f;},_0x4fc329['sgEkc']=function(_0x3a53eb,_0x22bfc0){return _0x3a53eb!=_0x22bfc0;};const _0x5a985c=_0x4fc329,_0x5459c5=[];if(_0x5a985c[_0x19cc5b(0x9a)](_0x593ec5,null)&&_0x5a985c[_0x19cc5b(0x6d)](_0x593ec5[_0x19cc5b(0xbc)],null)&&_0x5a985c[_0x19cc5b(0x92)](_0x593ec5[_0x19cc5b(0xbc)][_0x19cc5b(0x8a)],0x0))for(const _0x19be80 of _0x593ec5[_0x19cc5b(0xbc)]){_0x5a985c[_0x19cc5b(0x9a)](_0x19be80[_0x19cc5b(0x6e)],null)&&_0x5a985c[_0x19cc5b(0x7d)](_0x19be80[_0x19cc5b(0xa0)],null)&&(_0x5459c5[_0x19cc5b(0xa3)](_0x19be80['errorCode']),this['logSituation'](_0x19be80[_0x19cc5b(0x6e)],_0x19be80[_0x19cc5b(0xa0)]));}return _0x5459c5;}static[a54_0x333b5f(0xc7)](){const _0x38db85=a54_0x333b5f;return this[_0x38db85(0x8d)];}static[a54_0x333b5f(0x69)](_0xc1d686,_0x5ee4de){const _0x2e44af=a54_0x333b5f,_0x8fb376={};_0x8fb376[_0x2e44af(0x9d)]=function(_0x1e2c62,_0x105fd8){return _0x1e2c62===_0x105fd8;},_0x8fb376[_0x2e44af(0xa5)]=_0x2e44af(0xb0);const _0x4bfde6=_0x8fb376;if(_0x4bfde6[_0x2e44af(0x9d)](typeof _0x5ee4de,_0x4bfde6['FQfbx']))try{logger[_0x2e44af(0x68)]('[ClientTroubleShootingService]\x20'+_0xc1d686+'\x20'+JSON[_0x2e44af(0x66)](_0x5ee4de));}catch(_0x263834){logger['error']('[ClientTroubleShootingService]\x20'+_0xc1d686+'\x20'+_0x5ee4de);}else logger['error'](_0x2e44af(0x8b)+_0xc1d686+'\x20'+_0x5ee4de);}static async['reportProcessInterruptionSituation'](_0x480443){const _0x4eb043=a54_0x333b5f,_0x11fa75={};_0x11fa75[_0x4eb043(0x93)]=_0x4eb043(0xa1),_0x11fa75[_0x4eb043(0xa7)]=function(_0xac0f1,_0x312eca){return _0xac0f1===_0x312eca;},_0x11fa75['dloru']=_0x4eb043(0x87),_0x11fa75[_0x4eb043(0xcb)]=_0x4eb043(0xc1);const _0x36c576=_0x11fa75,_0x7d8b3f=await this[_0x4eb043(0xa4)](_0x36c576['FkgIq']);if(_0x36c576[_0x4eb043(0xa7)](Object[_0x4eb043(0xa2)](_0x7d8b3f)['length'],0x0)){this[_0x4eb043(0x69)](_0x36c576[_0x4eb043(0xa9)],_0x7d8b3f);return;}this[_0x4eb043(0x7a)](_0x7d8b3f['errorCode'],_0x7d8b3f['errorMessage'][_0x4eb043(0x77)](_0x36c576['uPJlI'],_0x480443));}static async[a54_0x333b5f(0xbd)](){const _0x2895a6=a54_0x333b5f,_0x57a1a3={};_0x57a1a3[_0x2895a6(0xbe)]=_0x2895a6(0x71),_0x57a1a3[_0x2895a6(0x7f)]=function(_0x4c48ba,_0x1d6091){return _0x4c48ba===_0x1d6091;},_0x57a1a3[_0x2895a6(0x98)]=_0x2895a6(0x95);const _0x5e4748=_0x57a1a3,_0x4669f1=await this[_0x2895a6(0xa4)](_0x5e4748['ZqtTB']);if(_0x5e4748[_0x2895a6(0x7f)](Object['keys'](_0x4669f1)['length'],0x0)){this[_0x2895a6(0x69)](_0x5e4748['ksvar'],_0x4669f1);return;}this[_0x2895a6(0x7a)](_0x4669f1[_0x2895a6(0x6e)],_0x4669f1[_0x2895a6(0xa0)]);}static async[a54_0x333b5f(0xaa)](){const _0x1eb50f=a54_0x333b5f,_0x4bd290={};_0x4bd290[_0x1eb50f(0xbf)]=_0x1eb50f(0x9b),_0x4bd290['mVISj']=function(_0x122cc6,_0x3730fa){return _0x122cc6===_0x3730fa;},_0x4bd290[_0x1eb50f(0x80)]='Connectivity\x20Issue\x20details\x20not\x20found';const _0x46eb0f=_0x4bd290,_0x2b2ca5=await this[_0x1eb50f(0xa4)](_0x46eb0f[_0x1eb50f(0xbf)]);if(_0x46eb0f[_0x1eb50f(0xc5)](Object[_0x1eb50f(0xa2)](_0x2b2ca5)[_0x1eb50f(0x8a)],0x0)){this[_0x1eb50f(0x69)](_0x46eb0f[_0x1eb50f(0x80)],_0x2b2ca5);return;}this[_0x1eb50f(0x7a)](_0x2b2ca5[_0x1eb50f(0x6e)],_0x2b2ca5[_0x1eb50f(0xa0)]);}static async['reportSSLCertIssue'](){const _0x2e001e=a54_0x333b5f,_0x1f633e={};_0x1f633e[_0x2e001e(0x75)]=_0x2e001e(0x6a),_0x1f633e[_0x2e001e(0x83)]=function(_0x4f7ac0,_0x231832){return _0x4f7ac0===_0x231832;},_0x1f633e[_0x2e001e(0x91)]='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0xfa2d3c=_0x1f633e,_0x491a3c=await this['getErrorDetails'](_0xfa2d3c[_0x2e001e(0x75)]);if(_0xfa2d3c[_0x2e001e(0x83)](Object['keys'](_0x491a3c)[_0x2e001e(0x8a)],0x0)){this[_0x2e001e(0x69)](_0xfa2d3c['QDdFw'],_0x491a3c);return;}this[_0x2e001e(0x7a)](_0x491a3c[_0x2e001e(0x6e)],_0x491a3c[_0x2e001e(0xa0)]);}static[a54_0x333b5f(0x9c)](){const _0x4f3ff=a54_0x333b5f,_0x167cdc={};_0x167cdc['yyDdK']='.browserstack\x20folder\x20not\x20accessible',_0x167cdc[_0x4f3ff(0x70)]=function(_0x36fa4d,_0x4ccaf0){return _0x36fa4d===_0x4ccaf0;},_0x167cdc['sizcB']=_0x4f3ff(0x76);const _0xd2f618=_0x167cdc,_0x56097d=constants[_0x4f3ff(0xbb)][_0xd2f618[_0x4f3ff(0xc6)]];if(_0xd2f618[_0x4f3ff(0x70)](Object[_0x4f3ff(0xa2)](_0x56097d)[_0x4f3ff(0x8a)],0x0)){this[_0x4f3ff(0x69)](_0xd2f618['sizcB'],_0x56097d);return;}this[_0x4f3ff(0xc3)]['add'](_0x56097d['errorCode']),this[_0x4f3ff(0x7a)](_0x56097d[_0x4f3ff(0x6e)],_0x56097d[_0x4f3ff(0xa0)]);}static async[a54_0x333b5f(0xc2)](_0x3ca42d){const _0x2022ed=a54_0x333b5f,_0x2ab683={};_0x2ab683[_0x2022ed(0x67)]=_0x2022ed(0xc4),_0x2ab683['chJSd']=function(_0x548a27,_0x23d23e){return _0x548a27===_0x23d23e;},_0x2ab683[_0x2022ed(0x7e)]=_0x2022ed(0xcf),_0x2ab683[_0x2022ed(0xb4)]='{ENV_VAR}';const _0x305f49=_0x2ab683,_0x3eb5f2=await this[_0x2022ed(0xa4)](_0x305f49[_0x2022ed(0x67)]);if(_0x305f49[_0x2022ed(0x86)](Object['keys'](_0x3eb5f2)['length'],0x0)){this['logError'](_0x305f49[_0x2022ed(0x7e)],_0x3eb5f2);return;}const _0x5efa1b=_0x3eb5f2[_0x2022ed(0xa0)]['replace'](_0x305f49[_0x2022ed(0xb4)],_0x3ca42d);this['logSituation'](_0x3eb5f2[_0x2022ed(0x6e)],_0x5efa1b);}static async[a54_0x333b5f(0x9f)](){const _0x4de5bb=a54_0x333b5f,_0x46171f={};_0x46171f['LzcWq']=function(_0x2a2249,_0xa2c5bf){return _0x2a2249>_0xa2c5bf;},_0x46171f[_0x4de5bb(0x8c)]=_0x4de5bb(0x73),_0x46171f[_0x4de5bb(0x88)]=_0x4de5bb(0x7c);const _0x10e399=_0x46171f,_0x5deb9b=await this[_0x4de5bb(0x6c)](),_0x3603b8=this[_0x4de5bb(0x74)](_0x5deb9b),_0x21b786=Array[_0x4de5bb(0x97)](_0x5deb9b['errorCodes'])?_0x5deb9b['errorCodes']:[],_0x1dd5f5=_0x10e399[_0x4de5bb(0xc0)](this[_0x4de5bb(0xc3)][_0x4de5bb(0xc8)],0x0)?Array[_0x4de5bb(0xba)](this[_0x4de5bb(0xc3)]):[],_0x1756a3=new Set([..._0x21b786,..._0x3603b8,..._0x1dd5f5]),_0x4851fb=Array[_0x4de5bb(0xba)](_0x1756a3);if(_0x10e399[_0x4de5bb(0xc0)](_0x4851fb['length'],0x0)){const _0x566443=_0x5deb9b[_0x4de5bb(0xb9)][_0x4de5bb(0x77)](_0x10e399[_0x4de5bb(0x8c)],_0x4851fb[_0x4de5bb(0xad)](',\x20'))[_0x4de5bb(0x77)](_0x10e399[_0x4de5bb(0x88)],_0x5deb9b[_0x4de5bb(0xaf)]);logger[_0x4de5bb(0x7b)](_0x566443),this[_0x4de5bb(0x8d)]=_0x4851fb;}}}module[a54_0x333b5f(0x72)]=ClientTroubleShootingService;function a54_0x1102(){const _0x3ab095=['../v2/grpcClient','join','getFinalErrorMessage','documentationLink','object','GaAXG','errorCodes','21TEuZOz','QLAmk','./constants','getErrorCodes','23837198AxhQVB','5TwMRxm','finalErrorMessage','from','CLIENT_TROUBLESHOOTING_HASH','errorCodesOccurredInCLI','reportSessionLinkingIssue','ZqtTB','FJdDd','LzcWq','{SIGNAL}','reportConflictingEnvVarIssue','errorCodesOccurredWhenCLINotRunning','conflicting\x20env\x20var\x20detected','mVISj','yyDdK','getCachedErrorCodes','size','getDocumentationLink','reportClientTroubleshootingError','uPJlI','winstonLogger','8oRrRIB','12820995YUkaVw','Conflicting\x20Env\x20Var\x20details\x20not\x20found','5eHNwaM','stringify','OpLqq','error','logError','ssl\x20cert\x20issue','qMQGG','getAggregatedErrorCodes','XBBqm','errorCode','Imhro','XDzVq','Session\x20Linking\x20Issue','exports','{ERROR_CODES}','checkForErrorsOccuredInCLI','QfIPc','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','replace','../v2/browserstackCLI','Error\x20in\x20getting\x20error\x20details\x20for\x20','logSituation','warn','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','sgEkc','ZHZaw','oxPXW','FWmQP','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','11757886EwEAQo','SxMez','getInstance','parse','chJSd','Process\x20Interruption\x20details\x20not\x20found:','QuMJu','7456550dCuDka','length','[ClientTroubleShootingService]\x20','ONxsw','cachedErrorCodes','getAggregatedClientTroubleshootingErrors','470828uFDhMS','base64','QDdFw','pllvF','FkgIq','18994nNAuJz','Session\x20Linking\x20Issue\x20details\x20not\x20found','7565448jsyAUL','isArray','ksvar','isRunning','SdiKe','browserstack\x20cloud\x20not\x20reachable','reportDotBrowserStackFolderNotAccessibleIssue','mvGZh','odisY','reportFinalDetectionState','errorMessage','Process\x20Interruption','keys','push','getErrorDetails','FQfbx','getSuccess','AhktF','toString','dloru','reportConnectivityIssue','../../helpers/logger'];a54_0x1102=function(){return _0x3ab095;};return a54_0x1102();}
|
|
1
|
+
const a54_0x389925=a54_0x1126;function a54_0x1126(_0x52292f,_0x40329b){const _0x38bfbe=a54_0x38bf();return a54_0x1126=function(_0x11269a,_0xc6733f){_0x11269a=_0x11269a-0x1a1;let _0x20266c=_0x38bfbe[_0x11269a];return _0x20266c;},a54_0x1126(_0x52292f,_0x40329b);}(function(_0x5bb676,_0x32442a){const _0x1780a9=a54_0x1126,_0x1299bd=_0x5bb676();while(!![]){try{const _0x4d94a=-parseInt(_0x1780a9(0x1ef))/0x1*(parseInt(_0x1780a9(0x1b5))/0x2)+parseInt(_0x1780a9(0x1a3))/0x3+parseInt(_0x1780a9(0x1ee))/0x4+parseInt(_0x1780a9(0x1d6))/0x5+parseInt(_0x1780a9(0x1b3))/0x6+-parseInt(_0x1780a9(0x1a7))/0x7*(-parseInt(_0x1780a9(0x1c0))/0x8)+-parseInt(_0x1780a9(0x1e5))/0x9;if(_0x4d94a===_0x32442a)break;else _0x1299bd['push'](_0x1299bd['shift']());}catch(_0x1ecb72){_0x1299bd['push'](_0x1299bd['shift']());}}}(a54_0x38bf,0xccb45));const logger=require(a54_0x389925(0x1cf))['winstonLogger'],BrowserstackCLI=require(a54_0x389925(0x1c5)),GrpcClient=require(a54_0x389925(0x1aa)),constants=require('./constants');function a54_0x38bf(){const _0xa7a460=['SSL\x20Certificate\x20Issue\x20details\x20not\x20found','QjwIq','getAggregatedErrorCodes','GPtIL','MzcSW','vUBsm','object','1718151pKFCPV','getFinalErrorMessage','getDocumentationLink','reportSessionLinkingIssue','4897340JgObEk','fXdWF','[ClientTroubleShootingService]\x20','../v2/grpcClient','error','isRunning','mDzMT','udcCp','sSLbc','fFPbF','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','YWwHs','1359804HUXciQ','Process\x20Interruption\x20details\x20not\x20found:','1402vnLLNL','join','.browserstack\x20folder\x20not\x20accessible','reportProcessInterruptionSituation','mMLQa','LvGkf','CHnfx','AcSHr','checkForErrorsOccuredInCLI','getErrorCodes','TDXTm','8zjqBDK','nXiCt','length','getErrorMessage','base64','../v2/browserstackCLI','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','keys','getAggregatedClientTroubleshootingErrors','mXbcR','browserstack\x20cloud\x20not\x20reachable','ptIua','conflicting\x20env\x20var\x20detected','getErrorCode','../../helpers/logger','parse','CLIENT_TROUBLESHOOTING_HASH','Error\x20in\x20getting\x20error\x20details\x20for\x20','errorCodes','jsAXR','PoECS','809570hFlPDA','warn','getSuccess','errorCodesOccurredWhenCLINotRunning','push','reportClientTroubleshootingError','iktqB','size','SwAli','ffYYC','Ddsmh','finalErrorMessage','Connectivity\x20Issue\x20details\x20not\x20found','replace','getErrorDetails','251343ZqcbJS','getInstance','cTABk','from','ssl\x20cert\x20issue','cachedErrorCodes','reportConnectivityIssue','qaRJX','errorCodesOccurredInCLI','1473880SOUWQQ','1659MQTCVT','tFrCb','KvxjR','logError','errorCode','logSituation','Conflicting\x20Env\x20Var\x20details\x20not\x20found','NcKUH','ZcpST','getErrorCodesOccurredInCli','errorMessage','documentationLink'];a54_0x38bf=function(){return _0xa7a460;};return a54_0x38bf();}class ClientTroubleShootingService{static [a54_0x389925(0x1ea)]=null;static [a54_0x389925(0x1d9)]=new Set();static async[a54_0x389925(0x1e4)](_0x5e56bb){const _0x48127e=a54_0x389925,_0x20c059={};_0x20c059[_0x48127e(0x1e0)]=function(_0x393542,_0x22bdb4){return _0x393542!==_0x22bdb4;};const _0x2054f9=_0x20c059;try{if(BrowserstackCLI[_0x48127e(0x1e6)]()[_0x48127e(0x1ac)]()){const _0x297f9f=await GrpcClient[_0x48127e(0x1e6)]()[_0x48127e(0x1db)](_0x5e56bb);if(_0x2054f9['Ddsmh'](_0x297f9f,null)&&_0x297f9f[_0x48127e(0x1d8)]())return{'errorCode':_0x297f9f[_0x48127e(0x1ce)](),'errorMessage':_0x297f9f[_0x48127e(0x1c3)]()};return{};}}catch(_0xe925a){return this[_0x48127e(0x1f2)](_0x48127e(0x1d2)+_0x5e56bb+':',_0xe925a),{};}}static async['getAggregatedErrorCodes'](){const _0x521915=a54_0x389925,_0x33ef7f={};_0x33ef7f[_0x521915(0x1fc)]=function(_0x1b4c0f,_0x3f3fa0){return _0x1b4c0f!==_0x3f3fa0;},_0x33ef7f['LvGkf']=_0x521915(0x1c4),_0x33ef7f[_0x521915(0x1bc)]=_0x521915(0x1c6);const _0x351bed=_0x33ef7f;try{if(BrowserstackCLI[_0x521915(0x1e6)]()[_0x521915(0x1ac)]()){const _0x28bdd0=await GrpcClient[_0x521915(0x1e6)]()[_0x521915(0x1c9)]();if(_0x351bed[_0x521915(0x1fc)](_0x28bdd0,null)&&_0x28bdd0[_0x521915(0x1d8)]()){const _0x290111=Buffer['from'](_0x28bdd0[_0x521915(0x1be)](),_0x351bed[_0x521915(0x1ba)])['toString'](),_0x40b7fb=_0x290111?JSON[_0x521915(0x1d0)](_0x290111):[],_0x528817=_0x28bdd0[_0x521915(0x1a5)](),_0x33a8a3=_0x28bdd0[_0x521915(0x1a4)](),_0x433059=Buffer[_0x521915(0x1e8)](_0x28bdd0[_0x521915(0x1f8)](),_0x351bed[_0x521915(0x1ba)])['toString'](),_0x3a8b8a=_0x433059?JSON['parse'](_0x433059):[],_0x1b122f={};return _0x1b122f[_0x521915(0x1d3)]=_0x40b7fb,_0x1b122f['documentationLink']=_0x528817,_0x1b122f[_0x521915(0x1e1)]=_0x33a8a3,_0x1b122f['errorCodesOccurredInCLI']=_0x3a8b8a,_0x1b122f;}const _0x3b90b9={};return _0x3b90b9['errorCodes']=[],_0x3b90b9[_0x521915(0x1fa)]='',_0x3b90b9['finalErrorMessage']='',_0x3b90b9[_0x521915(0x1ed)]=[],_0x3b90b9;}const _0x1accf8={};return _0x1accf8['errorCodes']=[],_0x1accf8['documentationLink']='',_0x1accf8[_0x521915(0x1e1)]='',_0x1accf8[_0x521915(0x1ed)]=[],_0x1accf8;}catch(_0x3a9a19){this[_0x521915(0x1f2)](_0x351bed[_0x521915(0x1bc)],_0x3a9a19);const _0xe41f63={};return _0xe41f63[_0x521915(0x1d3)]=[],_0xe41f63[_0x521915(0x1fa)]='',_0xe41f63['finalErrorMessage']='',_0xe41f63[_0x521915(0x1ed)]=[],_0xe41f63;}}static[a54_0x389925(0x1f4)](_0x513481,_0x5d3b13){const _0x1524d2=a54_0x389925;logger[_0x1524d2(0x1d7)](_0x513481+':\x20'+_0x5d3b13);}static[a54_0x389925(0x1bd)](_0x117aeb){const _0x1568a9=a54_0x389925,_0x2ccde0={};_0x2ccde0[_0x1568a9(0x1b2)]=function(_0x2659f5,_0x275fc0){return _0x2659f5!=_0x275fc0;},_0x2ccde0['TDXTm']=function(_0x42c93a,_0x1a393b){return _0x42c93a>_0x1a393b;},_0x2ccde0[_0x1568a9(0x1fe)]=function(_0x31c78b,_0x3c8ffd){return _0x31c78b!=_0x3c8ffd;},_0x2ccde0[_0x1568a9(0x1b0)]=function(_0x76567a,_0x2a0348){return _0x76567a!=_0x2a0348;};const _0xc5d7d0=_0x2ccde0,_0x13766f=[];if(_0xc5d7d0['YWwHs'](_0x117aeb,null)&&_0xc5d7d0[_0x1568a9(0x1b2)](_0x117aeb[_0x1568a9(0x1ed)],null)&&_0xc5d7d0[_0x1568a9(0x1bf)](_0x117aeb[_0x1568a9(0x1ed)][_0x1568a9(0x1c2)],0x0))for(const _0x1d0451 of _0x117aeb['errorCodesOccurredInCLI']){_0xc5d7d0[_0x1568a9(0x1fe)](_0x1d0451[_0x1568a9(0x1f3)],null)&&_0xc5d7d0[_0x1568a9(0x1b0)](_0x1d0451[_0x1568a9(0x1f9)],null)&&(_0x13766f[_0x1568a9(0x1da)](_0x1d0451[_0x1568a9(0x1f3)]),this[_0x1568a9(0x1f4)](_0x1d0451[_0x1568a9(0x1f3)],_0x1d0451[_0x1568a9(0x1f9)]));}return _0x13766f;}static['getCachedErrorCodes'](){return this['cachedErrorCodes'];}static[a54_0x389925(0x1f2)](_0x2fc27d,_0x15a36f){const _0x8a87ba=a54_0x389925,_0x468775={};_0x468775[_0x8a87ba(0x1f7)]=function(_0x39af47,_0x2b502d){return _0x39af47===_0x2b502d;},_0x468775[_0x8a87ba(0x1f6)]=_0x8a87ba(0x1a2);const _0xba91ad=_0x468775;if(_0xba91ad[_0x8a87ba(0x1f7)](typeof _0x15a36f,_0xba91ad[_0x8a87ba(0x1f6)]))try{logger[_0x8a87ba(0x1ab)](_0x8a87ba(0x1a9)+_0x2fc27d+'\x20'+JSON['stringify'](_0x15a36f));}catch(_0x3859c7){logger[_0x8a87ba(0x1ab)]('[ClientTroubleShootingService]\x20'+_0x2fc27d+'\x20'+_0x15a36f);}else logger[_0x8a87ba(0x1ab)](_0x8a87ba(0x1a9)+_0x2fc27d+'\x20'+_0x15a36f);}static async[a54_0x389925(0x1b8)](_0x255e1e){const _0x17e7d3=a54_0x389925,_0x518eda={};_0x518eda[_0x17e7d3(0x1ff)]='Process\x20Interruption',_0x518eda[_0x17e7d3(0x1df)]=function(_0x176f1b,_0x4666d6){return _0x176f1b===_0x4666d6;},_0x518eda['kufhV']=_0x17e7d3(0x1b4),_0x518eda[_0x17e7d3(0x1f1)]='{SIGNAL}';const _0x2c2f23=_0x518eda,_0x355fd2=await this[_0x17e7d3(0x1e4)](_0x2c2f23[_0x17e7d3(0x1ff)]);if(_0x2c2f23[_0x17e7d3(0x1df)](Object[_0x17e7d3(0x1c8)](_0x355fd2)[_0x17e7d3(0x1c2)],0x0)){this[_0x17e7d3(0x1f2)](_0x2c2f23['kufhV'],_0x355fd2);return;}this[_0x17e7d3(0x1f4)](_0x355fd2['errorCode'],_0x355fd2['errorMessage']['replace'](_0x2c2f23['KvxjR'],_0x255e1e));}static async[a54_0x389925(0x1a6)](){const _0x3cc79b=a54_0x389925,_0x40d7dd={};_0x40d7dd['rIYoh']='Session\x20Linking\x20Issue',_0x40d7dd[_0x3cc79b(0x1ec)]=function(_0x441219,_0x2fde03){return _0x441219===_0x2fde03;},_0x40d7dd[_0x3cc79b(0x1af)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x1ddf46=_0x40d7dd,_0x3cf7c5=await this['getErrorDetails'](_0x1ddf46['rIYoh']);if(_0x1ddf46['qaRJX'](Object['keys'](_0x3cf7c5)['length'],0x0)){this[_0x3cc79b(0x1f2)](_0x1ddf46[_0x3cc79b(0x1af)],_0x3cf7c5);return;}this[_0x3cc79b(0x1f4)](_0x3cf7c5[_0x3cc79b(0x1f3)],_0x3cf7c5[_0x3cc79b(0x1f9)]);}static async[a54_0x389925(0x1eb)](){const _0x81b99c=a54_0x389925,_0x489d02={};_0x489d02[_0x81b99c(0x1ca)]=_0x81b99c(0x1cb),_0x489d02[_0x81b99c(0x1ad)]=function(_0x373c6c,_0x53bb27){return _0x373c6c===_0x53bb27;},_0x489d02[_0x81b99c(0x1d4)]=_0x81b99c(0x1e2);const _0x435f25=_0x489d02,_0x3a92aa=await this[_0x81b99c(0x1e4)](_0x435f25['mXbcR']);if(_0x435f25[_0x81b99c(0x1ad)](Object[_0x81b99c(0x1c8)](_0x3a92aa)[_0x81b99c(0x1c2)],0x0)){this[_0x81b99c(0x1f2)](_0x435f25['jsAXR'],_0x3a92aa);return;}this['logSituation'](_0x3a92aa[_0x81b99c(0x1f3)],_0x3a92aa[_0x81b99c(0x1f9)]);}static async['reportSSLCertIssue'](){const _0x4385be=a54_0x389925,_0x282ede={};_0x282ede[_0x4385be(0x1bb)]=_0x4385be(0x1e9),_0x282ede['qsfbD']=function(_0xf025af,_0x4acaf2){return _0xf025af===_0x4acaf2;},_0x282ede[_0x4385be(0x1f0)]=_0x4385be(0x1fb);const _0x3150c6=_0x282ede,_0x57aa78=await this[_0x4385be(0x1e4)](_0x3150c6[_0x4385be(0x1bb)]);if(_0x3150c6['qsfbD'](Object['keys'](_0x57aa78)['length'],0x0)){this[_0x4385be(0x1f2)](_0x3150c6[_0x4385be(0x1f0)],_0x57aa78);return;}this['logSituation'](_0x57aa78[_0x4385be(0x1f3)],_0x57aa78['errorMessage']);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0xd6c943=a54_0x389925,_0x58f532={};_0x58f532[_0xd6c943(0x1de)]=_0xd6c943(0x1b7),_0x58f532[_0xd6c943(0x1b9)]=function(_0x4cf6d6,_0x2bd34a){return _0x4cf6d6===_0x2bd34a;},_0x58f532[_0xd6c943(0x1ae)]=_0xd6c943(0x1b1);const _0x1e0465=_0x58f532,_0x1d54e6=constants[_0xd6c943(0x1d1)][_0x1e0465['SwAli']];if(_0x1e0465[_0xd6c943(0x1b9)](Object[_0xd6c943(0x1c8)](_0x1d54e6)[_0xd6c943(0x1c2)],0x0)){this['logError'](_0x1e0465[_0xd6c943(0x1ae)],_0x1d54e6);return;}this[_0xd6c943(0x1d9)]['add'](_0x1d54e6[_0xd6c943(0x1f3)]),this[_0xd6c943(0x1f4)](_0x1d54e6['errorCode'],_0x1d54e6[_0xd6c943(0x1f9)]);}static async['reportConflictingEnvVarIssue'](_0x44e17d){const _0x25a830=a54_0x389925,_0x2c7165={};_0x2c7165['nXiCt']=_0x25a830(0x1cd),_0x2c7165[_0x25a830(0x1e7)]=function(_0x5984bd,_0xc1246d){return _0x5984bd===_0xc1246d;},_0x2c7165[_0x25a830(0x1a8)]=_0x25a830(0x1f5),_0x2c7165[_0x25a830(0x1cc)]='{ENV_VAR}';const _0x24112f=_0x2c7165,_0x4d9c9c=await this[_0x25a830(0x1e4)](_0x24112f[_0x25a830(0x1c1)]);if(_0x24112f[_0x25a830(0x1e7)](Object[_0x25a830(0x1c8)](_0x4d9c9c)[_0x25a830(0x1c2)],0x0)){this['logError'](_0x24112f['fXdWF'],_0x4d9c9c);return;}const _0x4727b4=_0x4d9c9c[_0x25a830(0x1f9)]['replace'](_0x24112f[_0x25a830(0x1cc)],_0x44e17d);this['logSituation'](_0x4d9c9c[_0x25a830(0x1f3)],_0x4727b4);}static async['reportFinalDetectionState'](){const _0x44b73b=a54_0x389925,_0x1290a1={};_0x1290a1['vUBsm']=function(_0x1399d2,_0x2c8b94){return _0x1399d2>_0x2c8b94;},_0x1290a1[_0x44b73b(0x1d5)]='{ERROR_CODES}',_0x1290a1['iktqB']=_0x44b73b(0x1c7);const _0x2cbd19=_0x1290a1,_0x5c7bb3=await this[_0x44b73b(0x1fd)](),_0x3dfe60=this[_0x44b73b(0x1bd)](_0x5c7bb3),_0x1106bd=Array['isArray'](_0x5c7bb3['errorCodes'])?_0x5c7bb3[_0x44b73b(0x1d3)]:[],_0x704314=_0x2cbd19[_0x44b73b(0x1a1)](this['errorCodesOccurredWhenCLINotRunning'][_0x44b73b(0x1dd)],0x0)?Array[_0x44b73b(0x1e8)](this['errorCodesOccurredWhenCLINotRunning']):[],_0x12438d=new Set([..._0x1106bd,..._0x3dfe60,..._0x704314]),_0x5576ca=Array[_0x44b73b(0x1e8)](_0x12438d);if(_0x2cbd19['vUBsm'](_0x5576ca[_0x44b73b(0x1c2)],0x0)){const _0x167ae7=_0x5c7bb3[_0x44b73b(0x1e1)][_0x44b73b(0x1e3)](_0x2cbd19[_0x44b73b(0x1d5)],_0x5576ca[_0x44b73b(0x1b6)](',\x20'))[_0x44b73b(0x1e3)](_0x2cbd19[_0x44b73b(0x1dc)],_0x5c7bb3[_0x44b73b(0x1fa)]);logger[_0x44b73b(0x1d7)](_0x167ae7),this[_0x44b73b(0x1ea)]=_0x5576ca;}}}module['exports']=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x43347b=a55_0x4d04;(function(_0x16eb4c,_0x5c80a6){const _0x1c93d8=a55_0x4d04,_0x33398d=_0x16eb4c();while(!![]){try{const _0x4bfdfc=parseInt(_0x1c93d8(0x216))/0x1+parseInt(_0x1c93d8(0x1fe))/0x2+-parseInt(_0x1c93d8(0x26d))/0x3+-parseInt(_0x1c93d8(0x1df))/0x4+-parseInt(_0x1c93d8(0x1fa))/0x5+-parseInt(_0x1c93d8(0x1d6))/0x6*(parseInt(_0x1c93d8(0x1bb))/0x7)+parseInt(_0x1c93d8(0x235))/0x8*(parseInt(_0x1c93d8(0x234))/0x9);if(_0x4bfdfc===_0x5c80a6)break;else _0x33398d['push'](_0x33398d['shift']());}catch(_0x2ad0d2){_0x33398d['push'](_0x33398d['shift']());}}}(a55_0x5ad5,0xd34f2));const a55_0x4c9598={};a55_0x4c9598['INFO']='shows\x20version\x20information',a55_0x4c9598[a55_0x43347b(0x267)]=a55_0x43347b(0x192);const a55_0x2dc247={};a55_0x2dc247[a55_0x43347b(0x20e)]='Run\x20jest\x20tests\x20on\x20browserstack';const a55_0x3a4ca4={};a55_0x3a4ca4[a55_0x43347b(0x20e)]=a55_0x43347b(0x20f);const a55_0x22b73b={};a55_0x22b73b[a55_0x43347b(0x20e)]=a55_0x43347b(0x242);const a55_0x386499={};a55_0x386499[a55_0x43347b(0x20e)]=a55_0x43347b(0x1a6);const a55_0xf8c5f7={};a55_0xf8c5f7[a55_0x43347b(0x20e)]=a55_0x43347b(0x223);const a55_0x305e59={};function a55_0x5ad5(){const _0x46beca=['jest','CLIENT_TROUBLESHOOTING_HASH','split','INTEGRATIONS','APP_AUTOMATE_PRODUCTS','PLAYWRIGHT_TRACE_LOGS','observability','INFO','Run\x20mocha\x20tests\x20on\x20browserstack','chromeOptions','AUTOMATE_PRODUCTS','ERR_NAME_NOT_RESOLVED','LOG_FILE_NAME','rerunTests','^[a-zA-Z0-9_.-]*$','511137IIYFpd','Upgrade\x20required','SDKTestTcgtInitSuccessful','https://api-cloud.browserstack.com','ROOT_REGEX','https://upload-observability-preprod.bsstag.com','AI_PROXY_FAILURE','TCG_REGION','ATS_HUB_URL_REGEX','strictFileInteractability','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','ERR_CONNECTION_RESET','ERR_PROXY_CONNECTION_FAILED','Run\x20nightwatch\x20tests\x20on\x20browserstack','parallelsPerPlatform','/usage-debug.log','ERR_CONNECTION_REFUSED','acceptSslCert','PRIVATE_DOMAIN_OR_IP_REGEX','INVALID_INIT_RESP_WITH_USER_IMPACT','proxySettings','BROWSERSTACK_APP_AUTOMATE_URL','TEST\x20REPORTING\x20AND\x20ANALYTICS','UNABLE_TO_VERIFY_LEAF_SIGNATURE','https://api-cloud-devtestops.bsstag.com','framework','.ipa','SDK-GE-001','prod','OBSERVABILITY_UPLOAD_URL','37036143MQyEHx','8LLnCBx','https://hub-devtestops.bsstag.com/wd/hub','https://automation-preprod.bsstag.com','SELF_SIGNED_CERT_IN_CHAIN','USER_CONFIG_DETAILS_PATH','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','browserstack.overridelocalInfo.userAuthToken','Run\x20codeceptjs\x20tests\x20on\x20browserstack','TCG_DOWN','pageLoadStrategy','SDK_INSTRUMENTATION_CONFIG','vanilla','exports','Run\x20cucumber-js\x20tests\x20on\x20browserstack','browserName','unable\x20to\x20get\x20local\x20issuer\x20certificate','automate','ERR_TUNNEL_CONNECTION_FAILED','staging','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','https://tcg.bsstag.com','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','Mocha','https://tcg.browserstack.com','proxyPassword','testReporting','self\x20signed\x20certificate','BROWSERSTACK_AUTOMATE_URL','TEST_REPORTING_ANALYTICS','VALID_APP_EXTENSION','.aab','httpsProxy','SHAREABLE_ID_REGEX','SSL_ERROR_MESSAGES','https://automate.browserstack.com/dashboard/v2/builds/','ERR_TIMED_OUT','accessibility','GLOBAL_AGENT_NO_PROXY','timeouts','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','UPDATED_CLI_ENDPOINT','SDKTestInvalidTcgAuthResponseWithUserImpact','ERR_CONNECTION_TIMED_OUT','NUDGE_LOCAL_ERRORS','AI_ENABLED_FRAMEWORK','TCG_URL','PLAYWRIGHT_CONFIG_OPTION_ERRORS','TCG_AUTH_TIMEOUT','https://automation.browserstack.com','CODECEPT_CUCUMBER','HELP','ROOT_CAPS','hubUrl','HUB_URL_REGEX','turboScaleOptions','PACKAGE_TYPE','2618910dvAonr','HEALING_LOG_DATA_TIMEOUT','customVariables','userName','[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.','testOrchestrationOptions','REDACTED_KEYS','accessibilityOptions','Cucumber-JS','testObservabilityOptions','browserstack.com','bsstag','Specify\x20--help\x20for\x20available\x20options','O11Y_URL','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','MODULE','https://api-preprod.bsstag.com','A11Y_GET_RESULTS_SUMMARY','BSTACK_URL','browserstack.accessKey','percyOptions','AUTOMATION_LOG_COMMANDS','ERR_FAILED','CI_ARTIFACTS_PATH','ieOptions','ERR_TLS_CERT_ALTNAME_INVALID','https://tcg-preprod.bsstag.com','SDKTestTcgProxyFailure','BROWSERSTACK','.browserstack\x20folder\x20not\x20accessible','OBSERVABILITY_SUPPORTED_FWS','MOCHA','Run\x20js\x20tests\x20on\x20browserstack','turboScale','VANILLA','ERR_CONNECTION_CLOSED','https://apidevtestops.bsstag.com','sdk/v1/update_cli','https://automate-preprod.bsstag.com/dashboard/v2/builds/','ObservabilitySync','unhandledPromptBehavior','logLevel','ERR_SOCKET_NOT_CONNECTED','COMMONJS','BROWSERSTACK_ENV','playwright','https://upload-observability-devtestops-ssi.bsstag.com','https://upload-observability.browserstack.com','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','APP_AUTOMATE','testObservability','wss://cdp-devtestops.bsstag.com/playwright?caps=','ATS_WSS_URL_REGEX','7glSWTK','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','POLL_HEALING_RESULT_TIMEOUT','UPGRADE_REQUIRED','GLOBAL_AGENT_HTTP_PROXY','percyScreenshot','proxyPass','percyCaptureMode','uniqueDependency','codeceptjs-cucumber','https://hub.browserstack.com/wd/hub','Playwright','CUSTOM_ID_REGEX','JEST','accessKey','bsstag.com','mandatoryDependency','root','cucumber','BROWSERSTACK_API_URL','automation','.apk','testReportingOptions','CODECEPT','codeceptjs','ERR_ADDRESS_UNREACHABLE','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','9974118nZdAkE','ERR_SOCKS_CONNECTION_FAILED','https://observability-devtestops.bsstag.com','mocha','AUTOMATE','browserstackAutomation','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','testContextOptions','...[TRUNCATED]','1781008FTkzzY','wss://cdp-preprod.bsstag.com/playwright?caps=','CERT_HAS_EXPIRED','BSTACK_ATS_URL','PLAYWRIGHT_HUB_URL','SDKTestTcgDownResponse','./browserstack-artifacts/','localOptions','/usage.log','localProxyUser','https://edsstaging.bsstag.com','browserstack','browserstack.userName','SET_TCG_TOKEN_TIMEOUT','httpProxy','A11Y_SAVE_RESULTS','invalidKeys','MAX_GIT_META_DATA_SIZE_IN_BYTES','percy','APP_UPLOAD_URL','PLAYWRIGHT','Jest','browserstackLocal','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','browserStackLocalOptions','https://hub-preprod.bsstag.com/wd/hub','invalidTestInputType','6505985WzUQZo','NIGHTWATCH','Run\x20playwright\x20tests\x20on\x20Browserstack','pre-prod','1042060hIVxjJ','CODECEPTJS','browserVersion','disableAutoCaptureLogs','platforms','CONNECTIVITY_ISSUE_ERROR_CODES','https://api.browserstack.com','TEST_FRAMEWORK_HOOK_TIMEOUT','SDKTestInitFailedResponse'];a55_0x5ad5=function(){return _0x46beca;};return a55_0x5ad5();}a55_0x305e59[a55_0x43347b(0x20e)]=a55_0x43347b(0x1fc);const a55_0x8b7d77={};a55_0x8b7d77[a55_0x43347b(0x20e)]=a55_0x43347b(0x23c);const a55_0x1f4241={};a55_0x1f4241[a55_0x43347b(0x20e)]=a55_0x43347b(0x248);const a55_0x16a135={};a55_0x16a135[a55_0x43347b(0x20e)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';const a55_0x5c8889={};a55_0x5c8889[a55_0x43347b(0x1f3)]=a55_0x43347b(0x1c6),a55_0x5c8889[a55_0x43347b(0x1a5)]=a55_0x43347b(0x1d9),a55_0x5c8889[a55_0x43347b(0x1c8)]=a55_0x43347b(0x207),a55_0x5c8889[a55_0x43347b(0x1d2)]='codeceptjs',a55_0x5c8889[a55_0x43347b(0x266)]=a55_0x43347b(0x1c4),a55_0x5c8889['CUCUMBER']='cucumber',a55_0x5c8889[a55_0x43347b(0x1a8)]='vanilla';const a55_0x5f0f5e={};a55_0x5f0f5e[a55_0x43347b(0x1ef)]=a55_0x43347b(0x194),a55_0x5f0f5e[a55_0x43347b(0x1c3)]=a55_0x43347b(0x220),a55_0x5f0f5e[a55_0x43347b(0x1cb)]=a55_0x43347b(0x1dc),a55_0x5f0f5e[a55_0x43347b(0x1f9)]=a55_0x43347b(0x1f6);const a55_0x4c101a={};a55_0x4c101a[a55_0x43347b(0x1b1)]='commonjs',a55_0x4c101a[a55_0x43347b(0x195)]='module';function a55_0x4d04(_0x468d96,_0x41f10f){const _0x5ad5f4=a55_0x5ad5();return a55_0x4d04=function(_0x4d0451,_0x233665){_0x4d0451=_0x4d0451-0x191;let _0x58d115=_0x5ad5f4[_0x4d0451];return _0x58d115;},a55_0x4d04(_0x468d96,_0x41f10f);}const a55_0x11aeca={};a55_0x11aeca[a55_0x43347b(0x24b)]=0xfde8,a55_0x11aeca[a55_0x43347b(0x275)]=0xfde8,a55_0x11aeca[a55_0x43347b(0x1f4)]=0x186a0;const a55_0x55b1b8={};a55_0x55b1b8[a55_0x43347b(0x1cc)]=[a55_0x43347b(0x270),a55_0x43347b(0x1c9),a55_0x43347b(0x1ed),'httpsProxy',a55_0x43347b(0x26f),a55_0x43347b(0x1eb),a55_0x43347b(0x199),a55_0x43347b(0x24d),'authToken','proxyUrl',a55_0x43347b(0x23b)],a55_0x55b1b8[a55_0x43347b(0x1f7)]=['proxyUser',a55_0x43347b(0x1c1),a55_0x43347b(0x1e8),'localProxyPass'];const a55_0xfe239a={};a55_0xfe239a[a55_0x43347b(0x1f5)]=a55_0x43347b(0x1f5),a55_0xfe239a['browserStackLocalOptions']=a55_0x43347b(0x1f7),a55_0xfe239a[a55_0x43347b(0x1e6)]=a55_0x43347b(0x1f7),a55_0xfe239a[a55_0x43347b(0x224)]=a55_0x43347b(0x224),a55_0xfe239a[a55_0x43347b(0x202)]='platforms',a55_0xfe239a['logLevel']=a55_0x43347b(0x1af),a55_0xfe239a['httpProxy']=a55_0x43347b(0x1ed),a55_0xfe239a[a55_0x43347b(0x254)]=a55_0x43347b(0x254),a55_0xfe239a[a55_0x43347b(0x22f)]=a55_0x43347b(0x22f),a55_0xfe239a[a55_0x43347b(0x1dd)]=a55_0x43347b(0x1dd),a55_0xfe239a[a55_0x43347b(0x1b8)]=a55_0x43347b(0x1b8),a55_0xfe239a['testReporting']=a55_0x43347b(0x24e),a55_0xfe239a[a55_0x43347b(0x276)]=a55_0x43347b(0x276),a55_0xfe239a[a55_0x43347b(0x1d1)]=a55_0x43347b(0x1d1),a55_0xfe239a[a55_0x43347b(0x26f)]='customVariables',a55_0xfe239a[a55_0x43347b(0x1cf)]=a55_0x43347b(0x1db),a55_0xfe239a['browserstackAutomation']=a55_0x43347b(0x1db),a55_0xfe239a[a55_0x43347b(0x214)]=a55_0x43347b(0x214),a55_0xfe239a[a55_0x43347b(0x1f1)]='percy',a55_0xfe239a[a55_0x43347b(0x19a)]=a55_0x43347b(0x19a),a55_0xfe239a[a55_0x43347b(0x1c2)]=a55_0x43347b(0x1c2),a55_0xfe239a['disableAutoCaptureLogs']=a55_0x43347b(0x201),a55_0xfe239a[a55_0x43347b(0x259)]=a55_0x43347b(0x259),a55_0xfe239a[a55_0x43347b(0x274)]=a55_0x43347b(0x274),a55_0xfe239a[a55_0x43347b(0x1a7)]='turboScale',a55_0xfe239a[a55_0x43347b(0x26b)]=a55_0x43347b(0x26b),a55_0xfe239a[a55_0x43347b(0x22a)]=a55_0x43347b(0x22a),a55_0xfe239a['testOrchestrationOptions']=a55_0x43347b(0x272);const a55_0x10e19f={};a55_0x10e19f[a55_0x43347b(0x1a3)]=[a55_0x43347b(0x231),a55_0x43347b(0x271)];const a55_0x28b1a4={};a55_0x28b1a4['VERSION']=a55_0x4c9598,a55_0x28b1a4[a55_0x43347b(0x1c8)]=a55_0x2dc247,a55_0x28b1a4[a55_0x43347b(0x1a5)]=a55_0x3a4ca4,a55_0x28b1a4['CUCUMBER']=a55_0x22b73b,a55_0x28b1a4[a55_0x43347b(0x1a8)]=a55_0x386499,a55_0x28b1a4[a55_0x43347b(0x1fb)]=a55_0xf8c5f7,a55_0x28b1a4[a55_0x43347b(0x1f3)]=a55_0x305e59,a55_0x28b1a4[a55_0x43347b(0x1ff)]=a55_0x8b7d77,a55_0x28b1a4['HST']=a55_0x1f4241,a55_0x28b1a4[a55_0x43347b(0x20a)]=a55_0x16a135,a55_0x28b1a4['BSTACK_DELTA']=0xf*0x3c*0x3e8,a55_0x28b1a4[a55_0x43347b(0x269)]=a55_0x43347b(0x1c5),a55_0x28b1a4[a55_0x43347b(0x262)]=a55_0x43347b(0x24c),a55_0x28b1a4[a55_0x43347b(0x21d)]='use',a55_0x28b1a4[a55_0x43347b(0x26a)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x28b1a4[a55_0x43347b(0x21e)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x28b1a4[a55_0x43347b(0x1ba)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x28b1a4[a55_0x43347b(0x268)]=['acceptInsecureCerts',a55_0x43347b(0x23e),a55_0x43347b(0x21f),a55_0x43347b(0x1ae),a55_0x43347b(0x25b),a55_0x43347b(0x243),a55_0x43347b(0x200),'acceptSslCerts',a55_0x43347b(0x227),a55_0x43347b(0x210),'firefoxOptions','edgeOptions',a55_0x43347b(0x19e)],a55_0x28b1a4[a55_0x43347b(0x21a)]=/^[\w-]+:.*$/,a55_0x28b1a4[a55_0x43347b(0x228)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x28b1a4['EDS_URL']='https://eds.browserstack.com',a55_0x28b1a4[a55_0x43347b(0x1ce)]=a55_0x43347b(0x204),a55_0x28b1a4[a55_0x43347b(0x1f2)]=a55_0x43347b(0x219),a55_0x28b1a4[a55_0x43347b(0x25d)]=a55_0x43347b(0x1ab),a55_0x28b1a4['FUNNEL_INSTRUMENTATION_API_URL']='sdk/v1/event',a55_0x28b1a4[a55_0x43347b(0x211)]=[a55_0x43347b(0x245),a55_0x43347b(0x20d)],a55_0x28b1a4[a55_0x43347b(0x20b)]=['app-automate',a55_0x43347b(0x20d)],a55_0x28b1a4[a55_0x43347b(0x23a)]=[a55_0x43347b(0x20d)],a55_0x28b1a4[a55_0x43347b(0x233)]=a55_0x43347b(0x1b5),a55_0x28b1a4[a55_0x43347b(0x1a4)]=[a55_0x43347b(0x1d9),a55_0x43347b(0x1c6)],a55_0x28b1a4[a55_0x43347b(0x1da)]=['automate'],a55_0x28b1a4[a55_0x43347b(0x250)]=a55_0x43347b(0x257),a55_0x28b1a4[a55_0x43347b(0x22b)]='https://app-automate.browserstack.com/dashboard/v2/builds/',a55_0x28b1a4[a55_0x43347b(0x1b7)]=['app-automate'],a55_0x28b1a4[a55_0x43347b(0x260)]=[a55_0x43347b(0x19c),a55_0x43347b(0x258),'ERR_BLOCKED_BY_CLIENT','ERR_NETWORK_CHANGED',a55_0x43347b(0x1b0),a55_0x43347b(0x1a9),a55_0x43347b(0x221),a55_0x43347b(0x226),'ERR_CONNECTION_ABORTED','ERR_CONNECTION_FAILED','ERR_NAME_NOT_RESOLVED','ERR_ADDRESS_INVALID',a55_0x43347b(0x1d4),a55_0x43347b(0x246),a55_0x43347b(0x25f),a55_0x43347b(0x1d7),a55_0x43347b(0x24a),a55_0x43347b(0x222),a55_0x43347b(0x212),'ERR_NAME_RESOLUTION_FAILED','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a55_0x28b1a4[a55_0x43347b(0x252)]=[a55_0x43347b(0x1d0),a55_0x43347b(0x253),a55_0x43347b(0x230)],a55_0x28b1a4[a55_0x43347b(0x1c7)]=a55_0x43347b(0x215),a55_0x28b1a4[a55_0x43347b(0x255)]=a55_0x43347b(0x1b6),a55_0x28b1a4[a55_0x43347b(0x19d)]=a55_0x43347b(0x1e5),a55_0x28b1a4[a55_0x43347b(0x1e3)]='wss://cdp.browserstack.com/playwright?caps=',a55_0x28b1a4['FRAMEWORKS']=a55_0x5c8889,a55_0x28b1a4['PERCY_SUPPORTED_FRAMEWORKS']=[a55_0x43347b(0x207),'mocha'],a55_0x28b1a4[a55_0x43347b(0x263)]=a55_0x5f0f5e,a55_0x28b1a4['AUTOLOGCAPTURE_NOTIFICATION']=a55_0x43347b(0x1bc),a55_0x28b1a4[a55_0x43347b(0x26c)]=a55_0x4c101a,a55_0x28b1a4[a55_0x43347b(0x1f0)]=0x40*0x400,a55_0x28b1a4['GIT_META_DATA_TRUNCATED']=a55_0x43347b(0x1de),a55_0x28b1a4[a55_0x43347b(0x1be)]=a55_0x43347b(0x217),a55_0x28b1a4[a55_0x43347b(0x23d)]=a55_0x43347b(0x1e4),a55_0x28b1a4[a55_0x43347b(0x229)]=a55_0x43347b(0x25e),a55_0x28b1a4['TCG_AUTH_FAILURE']='SDKTestTcgAuthFailure',a55_0x28b1a4['AI_INIT_SUCCESSFUL']=a55_0x43347b(0x218),a55_0x28b1a4['AI_INIT_FAILURE']=a55_0x43347b(0x206),a55_0x28b1a4[a55_0x43347b(0x21c)]=a55_0x43347b(0x1a1),a55_0x28b1a4[a55_0x43347b(0x264)]=0x1388,a55_0x28b1a4[a55_0x43347b(0x1ec)]=0x1388,a55_0x28b1a4[a55_0x43347b(0x26e)]=0x1388,a55_0x28b1a4['HEALING_FAILURE_TIMEOUT']=0x1388,a55_0x28b1a4[a55_0x43347b(0x1bd)]=0xc350,a55_0x28b1a4[a55_0x43347b(0x205)]=a55_0x11aeca,a55_0x28b1a4[a55_0x43347b(0x273)]=a55_0x55b1b8,a55_0x28b1a4[a55_0x43347b(0x261)]=[a55_0x43347b(0x240),a55_0x43347b(0x1d3)],a55_0x28b1a4[a55_0x43347b(0x23f)]=a55_0xfe239a,a55_0x28b1a4[a55_0x43347b(0x213)]=a55_0x43347b(0x1e7),a55_0x28b1a4['DEBUG_LOG_FILE_NAME']=a55_0x43347b(0x225),a55_0x28b1a4[a55_0x43347b(0x198)]=a55_0x43347b(0x277),a55_0x28b1a4[a55_0x43347b(0x1e2)]='browserstack-ats.com',a55_0x28b1a4[a55_0x43347b(0x193)]=a55_0x43347b(0x265),a55_0x28b1a4[a55_0x43347b(0x251)]=a55_0x43347b(0x22c),a55_0x28b1a4[a55_0x43347b(0x1a2)]=a55_0x43347b(0x1ea),a55_0x28b1a4['CLI_SUPPORTED_FRAMEWORKS']=[a55_0x43347b(0x1b3),a55_0x43347b(0x1cd),'jest'],a55_0x28b1a4[a55_0x43347b(0x19b)]=['A11Y_SCAN',a55_0x43347b(0x197),'A11Y_GET_RESULTS',a55_0x43347b(0x1ee),a55_0x43347b(0x1c0),a55_0x43347b(0x1ad)],a55_0x28b1a4[a55_0x43347b(0x20c)]='PLAYWRIGHT_TRACE_LOGS',a55_0x28b1a4[a55_0x43347b(0x256)]=[a55_0x43347b(0x24f),'unable\x20to\x20verify\x20the\x20first\x20certificate','certificate\x20has\x20expired',a55_0x43347b(0x244),a55_0x43347b(0x19f),'DEPTH_ZERO_SELF_SIGNED_CERT'],a55_0x28b1a4['SSL_ERROR_CODES']=[a55_0x43347b(0x238),'DEPTH_ZERO_SELF_SIGNED_CERT',a55_0x43347b(0x22d),a55_0x43347b(0x1e1),a55_0x43347b(0x19f),'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'],a55_0x28b1a4[a55_0x43347b(0x203)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x28b1a4[a55_0x43347b(0x208)]=a55_0x10e19f,a55_0x28b1a4['INTERNALLY_USED_ENV_VARS']=[a55_0x43347b(0x1bf),a55_0x43347b(0x25a),a55_0x43347b(0x239)],module[a55_0x43347b(0x241)]=a55_0x28b1a4;const _env=(process['env'][a55_0x43347b(0x1b2)]||a55_0x43347b(0x232))['toLowerCase']();if(_env===a55_0x43347b(0x247)||_env==='stag'){const pmhUyr='8|10|0|1|6|9|2|7|11|5|3|12|4'['split']('|');let SvSwGI=0x0;while(!![]){switch(pmhUyr[SvSwGI++]){case'0':module['exports'][a55_0x43347b(0x262)]=a55_0x43347b(0x249);continue;case'1':module[a55_0x43347b(0x241)][a55_0x43347b(0x26a)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'2':module[a55_0x43347b(0x241)][a55_0x43347b(0x1f2)]=a55_0x43347b(0x22e);continue;case'3':module[a55_0x43347b(0x241)][a55_0x43347b(0x233)]=a55_0x43347b(0x1b4);continue;case'4':module['exports']['BROWSERSTACK']=a55_0x43347b(0x191);continue;case'5':module[a55_0x43347b(0x241)]['O11Y_URL']=a55_0x43347b(0x1d8);continue;case'6':module[a55_0x43347b(0x241)][a55_0x43347b(0x250)]='https://automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'7':module[a55_0x43347b(0x241)][a55_0x43347b(0x1e3)]=a55_0x43347b(0x1b9);continue;case'8':module[a55_0x43347b(0x241)][a55_0x43347b(0x269)]=a55_0x43347b(0x236);continue;case'9':module['exports']['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x43347b(0x1d5);continue;case'10':module[a55_0x43347b(0x241)]['BROWSERSTACK_API_URL']=a55_0x43347b(0x1aa);continue;case'11':module['exports'][a55_0x43347b(0x198)]=a55_0x43347b(0x1ca);continue;case'12':module[a55_0x43347b(0x241)]['EDS_URL']=a55_0x43347b(0x1e9);continue;}break;}}else{if(_env==='preprod'||_env===a55_0x43347b(0x1fd)){const pDUaOB='8|10|5|4|9|0|3|6|1|12|11|7|2'[a55_0x43347b(0x209)]('|');let VQJNrn=0x0;while(!![]){switch(pDUaOB[VQJNrn++]){case'0':module[a55_0x43347b(0x241)][a55_0x43347b(0x22b)]=a55_0x43347b(0x25c);continue;case'1':module[a55_0x43347b(0x241)][a55_0x43347b(0x198)]=a55_0x43347b(0x1ca);continue;case'2':module[a55_0x43347b(0x241)]['BROWSERSTACK']=a55_0x43347b(0x191);continue;case'3':module[a55_0x43347b(0x241)][a55_0x43347b(0x1f2)]='https://api-preprod.bsstag.com';continue;case'4':module[a55_0x43347b(0x241)][a55_0x43347b(0x26a)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'5':module[a55_0x43347b(0x241)][a55_0x43347b(0x262)]=a55_0x43347b(0x1a0);continue;case'6':module[a55_0x43347b(0x241)][a55_0x43347b(0x1e3)]=a55_0x43347b(0x1e0);continue;case'7':module[a55_0x43347b(0x241)]['EDS_URL']=a55_0x43347b(0x1e9);continue;case'8':module[a55_0x43347b(0x241)]['hubUrl']=a55_0x43347b(0x1f8);continue;case'9':module['exports']['BROWSERSTACK_AUTOMATE_URL']=a55_0x43347b(0x1ac);continue;case'10':module[a55_0x43347b(0x241)]['BROWSERSTACK_API_URL']=a55_0x43347b(0x196);continue;case'11':module[a55_0x43347b(0x241)][a55_0x43347b(0x233)]=a55_0x43347b(0x21b);continue;case'12':module[a55_0x43347b(0x241)]['O11Y_URL']=a55_0x43347b(0x237);continue;}break;}}}
|
|
1
|
+
const a55_0x594751=a55_0x11dd;(function(_0x2777f8,_0x16751c){const _0x1fdaa3=a55_0x11dd,_0x347e3c=_0x2777f8();while(!![]){try{const _0xbdb891=-parseInt(_0x1fdaa3(0x163))/0x1+parseInt(_0x1fdaa3(0x118))/0x2+-parseInt(_0x1fdaa3(0xa2))/0x3+parseInt(_0x1fdaa3(0xb5))/0x4+-parseInt(_0x1fdaa3(0x132))/0x5*(-parseInt(_0x1fdaa3(0x147))/0x6)+parseInt(_0x1fdaa3(0xe4))/0x7*(parseInt(_0x1fdaa3(0xea))/0x8)+-parseInt(_0x1fdaa3(0x104))/0x9;if(_0xbdb891===_0x16751c)break;else _0x347e3c['push'](_0x347e3c['shift']());}catch(_0x934650){_0x347e3c['push'](_0x347e3c['shift']());}}}(a55_0x18a0,0x28a4e));const a55_0x15cb85={};a55_0x15cb85[a55_0x594751(0xd8)]=a55_0x594751(0xfd),a55_0x15cb85[a55_0x594751(0xd9)]='Specify\x20--help\x20for\x20available\x20options';const a55_0xa194d7={};a55_0xa194d7[a55_0x594751(0xd8)]=a55_0x594751(0x10c);const a55_0x181430={};a55_0x181430[a55_0x594751(0xd8)]=a55_0x594751(0x8f);const a55_0x164a76={};a55_0x164a76[a55_0x594751(0xd8)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';function a55_0x11dd(_0x10c42b,_0xf96855){const _0x18a01c=a55_0x18a0();return a55_0x11dd=function(_0x11dd2d,_0x3b723e){_0x11dd2d=_0x11dd2d-0x8b;let _0x21b93f=_0x18a01c[_0x11dd2d];return _0x21b93f;},a55_0x11dd(_0x10c42b,_0xf96855);}const a55_0x9409df={};a55_0x9409df[a55_0x594751(0xd8)]='Run\x20js\x20tests\x20on\x20browserstack';const a55_0x1dc6ea={};a55_0x1dc6ea[a55_0x594751(0xd8)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';function a55_0x18a0(){const _0x5c4533=['2850vPXYbN','AI_INIT_SUCCESSFUL','APP_UPLOAD_URL','automation','authToken','wss://cdp-preprod.bsstag.com/playwright?caps=','FRAMEWORKS','uniqueDependency','HUB_URL_REGEX','OBSERVABILITY_UPLOAD_URL','https://edsstaging.bsstag.com','exports','VANILLA','https://tcg-preprod.bsstag.com','platforms','APP_AUTOMATE_PRODUCTS','GLOBAL_AGENT_NO_PROXY','CODECEPT_CUCUMBER','DEBUG_LOG_FILE_NAME','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','BROWSERSTACK_AUTOMATE_URL','2094bgyuNr','DEPTH_ZERO_SELF_SIGNED_CERT','proxyUser','customVariables','localProxyPass','AI_INIT_FAILURE','accessKey','ERR_NAME_NOT_RESOLVED','browserstackAutomation','SDKTestTcgAuthFailure','MOCHA','TCG_URL','0|9|4|7|12|3|10|6|1|5|2|8|11','ERR_SOCKET_NOT_CONNECTED','logLevel','rerunTests','ERR_SOCKS_CONNECTION_FAILED','browserVersion','https://upload-observability.browserstack.com','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','JEST','TCG_DOWN','ERR_CONNECTION_ABORTED','GIT_META_DATA_TRUNCATED','ERR_CONNECTION_FAILED','GLOBAL_AGENT_HTTP_PROXY','automate','staging','291269ADdFyK','edgeOptions','SSL_ERROR_MESSAGES','https://hub.browserstack.com/wd/hub','localOptions','Run\x20mocha\x20tests\x20on\x20browserstack','AUTOLOGCAPTURE_NOTIFICATION','Mocha','percyCaptureMode','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','percy','browserstack.com','https://hub-preprod.bsstag.com/wd/hub','https://upload-observability-devtestops-ssi.bsstag.com','USER_CONFIG_DETAILS_PATH','ERR_BLOCKED_BY_CLIENT','SDK_INSTRUMENTATION_CONFIG','certificate\x20has\x20expired','pre-prod','BROWSERSTACK_APP_AUTOMATE_URL','self\x20signed\x20certificate','.ipa','PRIVATE_DOMAIN_OR_IP_REGEX','CLI_SUPPORTED_FRAMEWORKS','768810FfYQEV','vanilla','[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.','strictFileInteractability','HST','O11Y_URL','A11Y_GET_RESULTS','PLAYWRIGHT_TRACE_LOGS','browserstack.overridelocalInfo.userAuthToken','cucumber','INVALID_INIT_RESP_WITH_USER_IMPACT','https://automation-preprod.bsstag.com','MODULE','observability','BROWSERSTACK_ENV','AUTOMATION_LOG_COMMANDS','unable\x20to\x20verify\x20the\x20first\x20certificate','AUTOMATE_PRODUCTS','prod','1047360lLipfE','.aab','.browserstack\x20folder\x20not\x20accessible','BSTACK_ATS_URL','./browserstack-artifacts/','accessibilityOptions','CODECEPT','module','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','SDK-GEN-001','turboScale','TEST_FRAMEWORK_HOOK_TIMEOUT','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','hubUrl','TCG_REGION','unable\x20to\x20get\x20local\x20issuer\x20certificate','CI_ARTIFACTS_PATH','bsstag','browserStackLocalOptions','SDKTestTcgtInitSuccessful','wss://cdp-devtestops.bsstag.com/playwright?caps=','NUDGE_LOCAL_ERRORS','POLL_HEALING_RESULT_TIMEOUT','CLIENT_TROUBLESHOOTING_HASH','commonjs','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','https://tcg.bsstag.com','/usage.log','firefoxOptions','testReporting','httpProxy','Playwright','httpsProxy','Jest','COMMONJS','INFO','HELP','mocha','ATS_WSS_URL_REGEX','preprod','SELF_SIGNED_CERT_IN_CHAIN','sdk/v1/update_cli','EDS_URL','https://automate.browserstack.com/dashboard/v2/builds/','INTERNALLY_USED_ENV_VARS','https://eds.browserstack.com','browserstack','1247071BtESrI','testContextOptions','TEST\x20REPORTING\x20AND\x20ANALYTICS','UPDATED_CLI_ENDPOINT','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','testObservability','8KKDxqo','proxyPass','ObservabilitySync','testReportingOptions','AI_PROXY_FAILURE','ERR_NETWORK_CHANGED','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','browserstack-ats.com','browserName','...[TRUNCATED]','CUSTOM_ID_REGEX','ERR_PROXY_CONNECTION_FAILED','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ROOT_REGEX','unhandledPromptBehavior','split','SDKTestInitFailedResponse','TEST_REPORTING_ANALYTICS','jest','shows\x20version\x20information','turboScaleOptions','testOrchestrationOptions','mandatoryDependency','CONNECTIVITY_ISSUE_ERROR_CODES','ERR_CONNECTION_RESET','https://api-preprod.bsstag.com','1794195drgJyC','ERR_TLS_CERT_ALTNAME_INVALID','proxySettings','app-automate','AI_ENABLED_FRAMEWORK','A11Y_SAVE_RESULTS','accessibility','HEALING_LOG_DATA_TIMEOUT','Run\x20jest\x20tests\x20on\x20browserstack','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','UPGRADE_REQUIRED','https://apidevtestops.bsstag.com','FUNNEL_INSTRUMENTATION_API_URL','ERR_CONNECTION_TIMED_OUT','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','PLAYWRIGHT','REDACTED_KEYS','NIGHTWATCH','CUCUMBER','proxyPassword','548898ynPQzo','ETXTBSY','SDKTestInvalidTcgAuthResponseWithUserImpact','framework','wss://cdp.browserstack.com/playwright?caps=','EBUSY','PERCY_SUPPORTED_FRAMEWORKS','chromeOptions','bsstag.com','proxyUrl','codeceptjs-cucumber','PLAYWRIGHT_HUB_URL','acceptSslCert','HEALING_FAILURE_TIMEOUT','browserstack.userName','https://api-cloud-devtestops.bsstag.com','BSTACK_URL','invalidKeys','parallelsPerPlatform','APP_AUTOMATE','https://automate-preprod.bsstag.com/dashboard/v2/builds/','testObservabilityOptions','SET_TCG_TOKEN_TIMEOUT','BROWSERSTACK','BSTACK_DELTA','ERR_FAILED'];a55_0x18a0=function(){return _0x5c4533;};return a55_0x18a0();}const a55_0x484ccc={};a55_0x484ccc[a55_0x594751(0xd8)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a55_0x5c81d8={};a55_0x5c81d8[a55_0x594751(0xd8)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a55_0x2507bc={};a55_0x2507bc['INFO']=a55_0x594751(0x145);const a55_0x1af5f8={};a55_0x1af5f8[a55_0x594751(0xd8)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';const a55_0x524f11={};a55_0x524f11['PLAYWRIGHT']='Playwright',a55_0x524f11[a55_0x594751(0x151)]='mocha',a55_0x524f11[a55_0x594751(0x15b)]='jest',a55_0x524f11[a55_0x594751(0xbb)]='codeceptjs',a55_0x524f11[a55_0x594751(0x143)]=a55_0x594751(0x122),a55_0x524f11[a55_0x594751(0x116)]='cucumber',a55_0x524f11[a55_0x594751(0x13e)]=a55_0x594751(0xa3);const a55_0x49c3c5={};a55_0x49c3c5[a55_0x594751(0x129)]=a55_0x594751(0xce),a55_0x49c3c5[a55_0x594751(0x139)]=a55_0x594751(0x93),a55_0x49c3c5[a55_0x594751(0x100)]=a55_0x594751(0x112),a55_0x49c3c5['invalidTestInputType']='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x202532={};a55_0x202532[a55_0x594751(0xd7)]=a55_0x594751(0xcd),a55_0x202532[a55_0x594751(0xae)]=a55_0x594751(0xbc);const a55_0x141d70={};a55_0x141d70[a55_0x594751(0x91)]=0xfde8,a55_0x141d70['Cucumber-JS']=0xfde8,a55_0x141d70[a55_0x594751(0xd6)]=0x186a0;const a55_0x578080={};a55_0x578080['root']=['userName',a55_0x594751(0x14d),a55_0x594751(0xd3),a55_0x594751(0xd5),'customVariables',a55_0x594751(0x126),'browserstack.accessKey',a55_0x594751(0x117),a55_0x594751(0x136),a55_0x594751(0x121),a55_0x594751(0xaa)],a55_0x578080['browserStackLocalOptions']=[a55_0x594751(0x149),a55_0x594751(0xeb),'localProxyUser',a55_0x594751(0x14b)];const a55_0x484b90={};a55_0x484b90['browserstackLocal']='browserstackLocal',a55_0x484b90['browserStackLocalOptions']=a55_0x594751(0xc7),a55_0x484b90[a55_0x594751(0x8e)]=a55_0x594751(0xc7),a55_0x484b90[a55_0x594751(0x12a)]=a55_0x594751(0x12a),a55_0x484b90[a55_0x594751(0x140)]=a55_0x594751(0x140),a55_0x484b90[a55_0x594751(0x155)]=a55_0x594751(0x155),a55_0x484b90['httpProxy']=a55_0x594751(0xd3),a55_0x484b90[a55_0x594751(0xd5)]=a55_0x594751(0xd5),a55_0x484b90['framework']=a55_0x594751(0x11b),a55_0x484b90[a55_0x594751(0xe5)]='testContextOptions',a55_0x484b90[a55_0x594751(0xe9)]=a55_0x594751(0xe9),a55_0x484b90['testReporting']=a55_0x594751(0xd2),a55_0x484b90[a55_0x594751(0x12d)]=a55_0x594751(0x12d),a55_0x484b90[a55_0x594751(0xed)]='testReportingOptions',a55_0x484b90[a55_0x594751(0x14a)]='customVariables',a55_0x484b90[a55_0x594751(0x135)]=a55_0x594751(0x14f),a55_0x484b90['browserstackAutomation']=a55_0x594751(0x14f),a55_0x484b90[a55_0x594751(0x156)]='rerunTests',a55_0x484b90['percy']=a55_0x594751(0x94),a55_0x484b90['percyOptions']='percyOptions',a55_0x484b90[a55_0x594751(0x92)]=a55_0x594751(0x92),a55_0x484b90['disableAutoCaptureLogs']='disableAutoCaptureLogs',a55_0x484b90['accessibility']=a55_0x594751(0x10a),a55_0x484b90[a55_0x594751(0xba)]=a55_0x594751(0xba),a55_0x484b90[a55_0x594751(0xbf)]=a55_0x594751(0xbf),a55_0x484b90['turboScaleOptions']=a55_0x594751(0xfe),a55_0x484b90['proxySettings']=a55_0x594751(0x106),a55_0x484b90[a55_0x594751(0xff)]=a55_0x594751(0xff);const a55_0x37f36f={};a55_0x37f36f[a55_0x594751(0xb7)]=[a55_0x594751(0xbe),a55_0x594751(0xa4)];const a55_0x1d97e0={};a55_0x1d97e0['VERSION']=a55_0x15cb85,a55_0x1d97e0['JEST']=a55_0xa194d7,a55_0x1d97e0[a55_0x594751(0x151)]=a55_0x181430,a55_0x1d97e0[a55_0x594751(0x116)]=a55_0x164a76,a55_0x1d97e0[a55_0x594751(0x13e)]=a55_0x9409df,a55_0x1d97e0[a55_0x594751(0x115)]=a55_0x1dc6ea,a55_0x1d97e0[a55_0x594751(0x113)]=a55_0x484ccc,a55_0x1d97e0['CODECEPTJS']=a55_0x5c81d8,a55_0x1d97e0[a55_0x594751(0xa6)]=a55_0x2507bc,a55_0x1d97e0['INTEGRATIONS']=a55_0x1af5f8,a55_0x1d97e0[a55_0x594751(0x130)]=0xf*0x3c*0x3e8,a55_0x1d97e0[a55_0x594751(0xc2)]=a55_0x594751(0x8d),a55_0x1d97e0[a55_0x594751(0x152)]='https://tcg.browserstack.com',a55_0x1d97e0[a55_0x594751(0xc3)]='use',a55_0x1d97e0[a55_0x594751(0x13a)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x1d97e0['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x1d97e0[a55_0x594751(0xdb)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x1d97e0['ROOT_CAPS']=['acceptInsecureCerts','pageLoadStrategy',a55_0x594751(0xa5),a55_0x594751(0xf8),'timeouts',a55_0x594751(0xf2),a55_0x594751(0x158),'acceptSslCerts',a55_0x594751(0x124),a55_0x594751(0x11f),a55_0x594751(0xd1),a55_0x594751(0x8b),'ieOptions'],a55_0x1d97e0[a55_0x594751(0xf7)]=/^[\w-]+:.*$/,a55_0x1d97e0[a55_0x594751(0xa0)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x1d97e0[a55_0x594751(0xdf)]=a55_0x594751(0xe2),a55_0x1d97e0['BROWSERSTACK_API_URL']='https://api.browserstack.com',a55_0x1d97e0[a55_0x594751(0x134)]='https://api-cloud.browserstack.com',a55_0x1d97e0[a55_0x594751(0xe7)]=a55_0x594751(0xde),a55_0x1d97e0[a55_0x594751(0x110)]='sdk/v1/event',a55_0x1d97e0[a55_0x594751(0xb3)]=['automate',a55_0x594751(0xaf)],a55_0x1d97e0[a55_0x594751(0x141)]=[a55_0x594751(0x107),a55_0x594751(0xaf)],a55_0x1d97e0[a55_0x594751(0xe8)]=[a55_0x594751(0xaf)],a55_0x1d97e0['OBSERVABILITY_UPLOAD_URL']=a55_0x594751(0x159),a55_0x1d97e0['OBSERVABILITY_SUPPORTED_FWS']=[a55_0x594751(0xda),a55_0x594751(0xd4)],a55_0x1d97e0['AUTOMATE']=[a55_0x594751(0x161)],a55_0x1d97e0[a55_0x594751(0x146)]=a55_0x594751(0xe0),a55_0x1d97e0[a55_0x594751(0x9d)]='https://app-automate.browserstack.com/dashboard/v2/builds/',a55_0x1d97e0[a55_0x594751(0x12b)]=['app-automate'],a55_0x1d97e0[a55_0x594751(0xca)]=[a55_0x594751(0x131),'ERR_TIMED_OUT',a55_0x594751(0x99),a55_0x594751(0xef),a55_0x594751(0x154),'ERR_CONNECTION_CLOSED',a55_0x594751(0x102),'ERR_CONNECTION_REFUSED',a55_0x594751(0x15d),a55_0x594751(0x15f),a55_0x594751(0x14e),'ERR_ADDRESS_INVALID','ERR_ADDRESS_UNREACHABLE','ERR_TUNNEL_CONNECTION_FAILED',a55_0x594751(0x111),a55_0x594751(0x157),a55_0x594751(0xf6),a55_0x594751(0xf5),a55_0x594751(0x14e),'ERR_NAME_RESOLUTION_FAILED',a55_0x594751(0x10d)],a55_0x1d97e0['VALID_APP_EXTENSION']=['.apk',a55_0x594751(0xb6),a55_0x594751(0x9f)],a55_0x1d97e0[a55_0x594751(0xf4)]='^[a-zA-Z0-9_.-]*$',a55_0x1d97e0['SHAREABLE_ID_REGEX']=a55_0x594751(0xf0),a55_0x1d97e0[a55_0x594751(0xc5)]=a55_0x594751(0xb9),a55_0x1d97e0[a55_0x594751(0x123)]=a55_0x594751(0x11c),a55_0x1d97e0[a55_0x594751(0x138)]=a55_0x524f11,a55_0x1d97e0[a55_0x594751(0x11e)]=['jest',a55_0x594751(0xda)],a55_0x1d97e0['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a55_0x49c3c5,a55_0x1d97e0[a55_0x594751(0x90)]=a55_0x594751(0x15a),a55_0x1d97e0['PACKAGE_TYPE']=a55_0x202532,a55_0x1d97e0['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a55_0x1d97e0[a55_0x594751(0x15e)]=a55_0x594751(0xf3),a55_0x1d97e0[a55_0x594751(0x10e)]='Upgrade\x20required',a55_0x1d97e0[a55_0x594751(0x15c)]='SDKTestTcgDownResponse',a55_0x1d97e0[a55_0x594751(0xac)]=a55_0x594751(0x11a),a55_0x1d97e0['TCG_AUTH_FAILURE']=a55_0x594751(0x150),a55_0x1d97e0[a55_0x594751(0x133)]=a55_0x594751(0xc8),a55_0x1d97e0[a55_0x594751(0x14c)]=a55_0x594751(0xfa),a55_0x1d97e0[a55_0x594751(0xee)]='SDKTestTcgProxyFailure',a55_0x1d97e0['TCG_AUTH_TIMEOUT']=0x1388,a55_0x1d97e0[a55_0x594751(0x12e)]=0x1388,a55_0x1d97e0[a55_0x594751(0x10b)]=0x1388,a55_0x1d97e0[a55_0x594751(0x125)]=0x1388,a55_0x1d97e0[a55_0x594751(0xcb)]=0xc350,a55_0x1d97e0[a55_0x594751(0xc0)]=a55_0x141d70,a55_0x1d97e0[a55_0x594751(0x114)]=a55_0x578080,a55_0x1d97e0[a55_0x594751(0x108)]=[a55_0x594751(0xa3),'codeceptjs'],a55_0x1d97e0[a55_0x594751(0x9a)]=a55_0x484b90,a55_0x1d97e0['LOG_FILE_NAME']=a55_0x594751(0xd0),a55_0x1d97e0[a55_0x594751(0x144)]='/usage-debug.log',a55_0x1d97e0[a55_0x594751(0x128)]=a55_0x594751(0x95),a55_0x1d97e0[a55_0x594751(0xb8)]=a55_0x594751(0xf1),a55_0x1d97e0['O11Y_URL']='https://automation.browserstack.com',a55_0x1d97e0[a55_0x594751(0xfb)]=a55_0x594751(0xe6),a55_0x1d97e0[a55_0x594751(0x12f)]=a55_0x594751(0xe3),a55_0x1d97e0[a55_0x594751(0xa1)]=['playwright',a55_0x594751(0xab),a55_0x594751(0xfc)],a55_0x1d97e0[a55_0x594751(0xb1)]=['A11Y_SCAN','A11Y_GET_RESULTS_SUMMARY',a55_0x594751(0xa8),a55_0x594751(0x109),'percyScreenshot',a55_0x594751(0xec)],a55_0x1d97e0['PLAYWRIGHT_TRACE_LOGS']=a55_0x594751(0xa9),a55_0x1d97e0[a55_0x594751(0x8c)]=[a55_0x594751(0x9e),a55_0x594751(0xb2),a55_0x594751(0x9b),a55_0x594751(0xc4),a55_0x594751(0x105),'DEPTH_ZERO_SELF_SIGNED_CERT'],a55_0x1d97e0['SSL_ERROR_CODES']=[a55_0x594751(0xdd),a55_0x594751(0x148),'UNABLE_TO_VERIFY_LEAF_SIGNATURE','CERT_HAS_EXPIRED',a55_0x594751(0x105),'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'],a55_0x1d97e0[a55_0x594751(0x101)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x1d97e0[a55_0x594751(0xcc)]=a55_0x37f36f,a55_0x1d97e0[a55_0x594751(0xe1)]=[a55_0x594751(0x160),a55_0x594751(0x142),a55_0x594751(0x98)],a55_0x1d97e0['BINARY_BUSY_ERROR_CODES']=[a55_0x594751(0x119),a55_0x594751(0x11d)],module[a55_0x594751(0x13d)]=a55_0x1d97e0;const _env=(process['env'][a55_0x594751(0xb0)]||a55_0x594751(0xb4))['toLowerCase']();if(_env===a55_0x594751(0x162)||_env==='stag'){const KDDVJf=a55_0x594751(0x153)[a55_0x594751(0xf9)]('|');let KvikxE=0x0;while(!![]){switch(KDDVJf[KvikxE++]){case'0':module[a55_0x594751(0x13d)]['hubUrl']='https://hub-devtestops.bsstag.com/wd/hub';continue;case'1':module['exports'][a55_0x594751(0x128)]='bsstag.com';continue;case'2':module[a55_0x594751(0x13d)][a55_0x594751(0x13b)]=a55_0x594751(0x97);continue;case'3':module['exports'][a55_0x594751(0x9d)]=a55_0x594751(0xc1);continue;case'4':module[a55_0x594751(0x13d)][a55_0x594751(0x152)]=a55_0x594751(0xcf);continue;case'5':module['exports']['O11Y_URL']='https://observability-devtestops.bsstag.com';continue;case'6':module[a55_0x594751(0x13d)]['PLAYWRIGHT_HUB_URL']=a55_0x594751(0xc9);continue;case'7':module[a55_0x594751(0x13d)][a55_0x594751(0x13a)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'8':module[a55_0x594751(0x13d)][a55_0x594751(0xdf)]=a55_0x594751(0x13c);continue;case'9':module[a55_0x594751(0x13d)]['BROWSERSTACK_API_URL']=a55_0x594751(0x10f);continue;case'10':module[a55_0x594751(0x13d)][a55_0x594751(0x134)]=a55_0x594751(0x127);continue;case'11':module[a55_0x594751(0x13d)]['BROWSERSTACK']=a55_0x594751(0xc6);continue;case'12':module['exports']['BROWSERSTACK_AUTOMATE_URL']='https://automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;}break;}}else{if(_env===a55_0x594751(0xdc)||_env===a55_0x594751(0x9c)){const huODVc='3|10|9|8|7|1|5|0|11|6|2|4|12'[a55_0x594751(0xf9)]('|');let DKsYNw=0x0;while(!![]){switch(huODVc[DKsYNw++]){case'0':module[a55_0x594751(0x13d)][a55_0x594751(0x123)]=a55_0x594751(0x137);continue;case'1':module[a55_0x594751(0x13d)][a55_0x594751(0x9d)]=a55_0x594751(0xbd);continue;case'2':module[a55_0x594751(0x13d)][a55_0x594751(0x13b)]='https://upload-observability-preprod.bsstag.com';continue;case'3':module[a55_0x594751(0x13d)][a55_0x594751(0xc2)]=a55_0x594751(0x96);continue;case'4':module[a55_0x594751(0x13d)][a55_0x594751(0xdf)]=a55_0x594751(0x13c);continue;case'5':module['exports'][a55_0x594751(0x134)]=a55_0x594751(0x103);continue;case'6':module['exports'][a55_0x594751(0xa7)]=a55_0x594751(0xad);continue;case'7':module[a55_0x594751(0x13d)][a55_0x594751(0x146)]=a55_0x594751(0x12c);continue;case'8':module['exports'][a55_0x594751(0x13a)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'9':module[a55_0x594751(0x13d)][a55_0x594751(0x152)]=a55_0x594751(0x13f);continue;case'10':module[a55_0x594751(0x13d)]['BROWSERSTACK_API_URL']=a55_0x594751(0x103);continue;case'11':module['exports'][a55_0x594751(0x128)]=a55_0x594751(0x120);continue;case'12':module['exports'][a55_0x594751(0x12f)]='bsstag';continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a56_0x442f64=a56_0x3f27;(function(_0x18ec63,_0x51ac71){const _0x4cdb54=a56_0x3f27,_0x1edd03=_0x18ec63();while(!![]){try{const _0x777d7d=-parseInt(_0x4cdb54(0x7a))/0x1*(-parseInt(_0x4cdb54(0x89))/0x2)+-parseInt(_0x4cdb54(0x8a))/0x3+parseInt(_0x4cdb54(0x78))/0x4*(parseInt(_0x4cdb54(0x7e))/0x5)+-parseInt(_0x4cdb54(0x75))/0x6*(parseInt(_0x4cdb54(0x85))/0x7)+-parseInt(_0x4cdb54(0x86))/0x8*(parseInt(_0x4cdb54(0x88))/0x9)+-parseInt(_0x4cdb54(0x81))/0xa*(-parseInt(_0x4cdb54(0x87))/0xb)+-parseInt(_0x4cdb54(0x8b))/0xc*(-parseInt(_0x4cdb54(0x7c))/0xd);if(_0x777d7d===_0x51ac71)break;else _0x1edd03['push'](_0x1edd03['shift']());}catch(_0x208f8e){_0x1edd03['push'](_0x1edd03['shift']());}}}(a56_0x2a55,0x2eac3));function a56_0x2a55(){const _0x2867e4=['configure','328370QqRiSI','log','layout','53980MWvEVj','./logReportingAPI','tReuG','data','28HQIika','176104zQSmyL','506aWWUNT','81cPOPsk','28472DsdSIE','409431DZKOss','732yZSMUD','150888NixiHI','type','level','4jxcnEP','join','13JtYiHt','colouredLayout','27131HkczhH'];a56_0x2a55=function(){return _0x2867e4;};return a56_0x2a55();}function a56_0x3f27(_0x98d663,_0x20a3a9){const _0x2a5518=a56_0x2a55();return a56_0x3f27=function(_0x3f27ca,_0x1684eb){_0x3f27ca=_0x3f27ca-0x75;let _0x40aa97=_0x2a5518[_0x3f27ca];return _0x40aa97;},a56_0x3f27(_0x98d663,_0x20a3a9);}const logReportingAPI=require(a56_0x442f64(0x82)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x55d291,_0x421fbd){return _0x1ca4f7=>{const _0x5c795b=a56_0x3f27;BSTestOpsLogger[_0x5c795b(0x7f)]({'level':_0x1ca4f7[_0x5c795b(0x77)]?_0x1ca4f7[_0x5c795b(0x77)]['levelStr']:null,'message':_0x1ca4f7[_0x5c795b(0x84)]?_0x1ca4f7['data'][_0x5c795b(0x79)]('\x20'):null});};}exports[a56_0x442f64(0x7d)]=(_0x16bbd8,_0x5aaa02)=>{const _0x1243c1=a56_0x442f64,_0x1cf0c3={'tReuG':function(_0x24ac94,_0x1ecbec,_0x203ea9){return _0x24ac94(_0x1ecbec,_0x203ea9);}};let _0x22dfbf=_0x5aaa02[_0x1243c1(0x7b)];return _0x16bbd8[_0x1243c1(0x80)]&&(_0x22dfbf=_0x5aaa02['layout'](_0x16bbd8['layout'][_0x1243c1(0x76)],_0x16bbd8[_0x1243c1(0x80)])),_0x1cf0c3[_0x1243c1(0x83)](BSTestOpsLog4JSAppender,_0x22dfbf,_0x16bbd8['timezoneOffset']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x4f37b9=a57_0x5a37;(function(_0x2ab15a,_0x4f804a){const _0x4d5cf5=a57_0x5a37,_0x163a87=_0x2ab15a();while(!![]){try{const _0x3e9c02=parseInt(_0x4d5cf5(0xea))/0x1*(parseInt(_0x4d5cf5(0xec))/0x2)+parseInt(_0x4d5cf5(0xf7))/0x3*(parseInt(_0x4d5cf5(0xf0))/0x4)+-parseInt(_0x4d5cf5(0xf3))/0x5*(parseInt(_0x4d5cf5(0xf2))/0x6)+-parseInt(_0x4d5cf5(0xfc))/0x7+parseInt(_0x4d5cf5(0x102))/0x8+parseInt(_0x4d5cf5(0xe9))/0x9+-parseInt(_0x4d5cf5(0xf8))/0xa;if(_0x3e9c02===_0x4f804a)break;else _0x163a87['push'](_0x163a87['shift']());}catch(_0x333eab){_0x163a87['push'](_0x163a87['shift']());}}}(a57_0x51bf,0x91b82));const Transport=require(a57_0x4f37b9(0xfd)),{consoleHolder}=require(a57_0x4f37b9(0xf4)),a57_0x29e0f8={};a57_0x29e0f8['INFO']=a57_0x4f37b9(0x104),a57_0x29e0f8['ERROR']='ERROR',a57_0x29e0f8[a57_0x4f37b9(0xfa)]=a57_0x4f37b9(0xfa),a57_0x29e0f8[a57_0x4f37b9(0xee)]='TRACE',a57_0x29e0f8[a57_0x4f37b9(0xef)]='WARN';const LOG_LEVELS=a57_0x29e0f8;function a57_0x5a37(_0x921256,_0xf8b601){const _0x51bf48=a57_0x51bf();return a57_0x5a37=function(_0x5a3748,_0x428198){_0x5a3748=_0x5a3748-0xe6;let _0x3c432a=_0x51bf48[_0x5a3748];return _0x3c432a;},a57_0x5a37(_0x921256,_0xf8b601);}class logPatcher extends Transport{constructor(_0x24ae39){super(_0x24ae39);}[a57_0x4f37b9(0x103)]=(_0x423815=LOG_LEVELS['INFO'],_0x2c8559=[''])=>{const _0x5203c4=a57_0x4f37b9,_0x31bb31={};_0x31bb31['vDYMc']=_0x5203c4(0xfe);const _0x192e09=_0x31bb31;consoleHolder[_0x423815[_0x5203c4(0xf1)]()](..._0x2c8559),process[_0x5203c4(0xe6)](_0x5203c4(0x101)+process[_0x5203c4(0xe8)],{'timestamp':new Date()[_0x5203c4(0xfb)](),'level':_0x423815['toUpperCase'](),'message':'\x22'+_0x2c8559['join'](',\x20')+'\x22','kind':_0x192e09[_0x5203c4(0xf6)],'http_response':{}});};[a57_0x4f37b9(0xed)]=(..._0x575a11)=>{const _0xbe4be5=a57_0x4f37b9;this[_0xbe4be5(0x103)](LOG_LEVELS[_0xbe4be5(0xee)],_0x575a11);};[a57_0x4f37b9(0x100)]=(..._0xf05469)=>{const _0x2bd927=a57_0x4f37b9;this[_0x2bd927(0x103)](LOG_LEVELS['DEBUG'],_0xf05469);};[a57_0x4f37b9(0xeb)]=(..._0xfd90c3)=>{const _0x3b0125=a57_0x4f37b9;this[_0x3b0125(0x103)](LOG_LEVELS[_0x3b0125(0x104)],_0xfd90c3);};[a57_0x4f37b9(0xff)]=(..._0x44aa62)=>{const _0x5c0e2a=a57_0x4f37b9;this[_0x5c0e2a(0x103)](LOG_LEVELS[_0x5c0e2a(0xef)],_0x44aa62);};['error']=(..._0x5917b5)=>{const _0x5f05c5=a57_0x4f37b9;this['logToTestOps'](LOG_LEVELS[_0x5f05c5(0xf9)],_0x5917b5);};[a57_0x4f37b9(0xe7)]=(..._0x4aeec0)=>{const _0x18921b=a57_0x4f37b9;this[_0x18921b(0x103)](LOG_LEVELS[_0x18921b(0x104)],_0x4aeec0);};};function a57_0x51bf(){const _0x243588=['logToTestOps','INFO','emit','log','pid','4212594ZHkrBl','2mooCgE','info','859440upJBoT','trace','TRACE','WARN','233620XUBnFS','toLowerCase','4831878nJlYtW','5UJebHf','../../helpers/test-observability/constants','exports','vDYMc','57lleveW','18294330naUJYQ','ERROR','DEBUG','toISOString','1291290bElnvx','winston-transport','TEST_LOG','warn','debug','bs:addLog:','7831048kjpRhY'];a57_0x51bf=function(){return _0x243588;};return a57_0x51bf();}module[a57_0x4f37b9(0xf5)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x4f674f=a58_0x3b04;function a58_0x16c7(){const _0x4a9519=['info','debug','ERROR','WARN','2252684WuDdLh','asuba','toUpperCase','INFO','../../helpers/test-observability/constants','message','55716RXqQPU','DEBUG','3222lAMdSd','toLowerCase','57590EozTaF','exports','573438DqBttR','emit','error','1034xOOqdQ','hDeYq','6uDaUGS','pid','toISOString','level','3739200GxTkZH','bs:addLog:','19352AfprHE','TRACE','TEST_LOG','1134885SHaWBA','trace','KxzAs','4qCbRrl','logToTestOps'];a58_0x16c7=function(){return _0x4a9519;};return a58_0x16c7();}function a58_0x3b04(_0x864ab,_0x471ebb){const _0x16c702=a58_0x16c7();return a58_0x3b04=function(_0x3b0412,_0x553d48){_0x3b0412=_0x3b0412-0x91;let _0x50fb7b=_0x16c702[_0x3b0412];return _0x50fb7b;},a58_0x3b04(_0x864ab,_0x471ebb);}(function(_0xeb657,_0x4cecd5){const _0x599f9d=a58_0x3b04,_0x51e715=_0xeb657();while(!![]){try{const _0x318d33=-parseInt(_0x599f9d(0xb3))/0x1+parseInt(_0x599f9d(0xad))/0x2+parseInt(_0x599f9d(0x9e))/0x3*(-parseInt(_0x599f9d(0xa1))/0x4)+parseInt(_0x599f9d(0x99))/0x5+parseInt(_0x599f9d(0x95))/0x6*(parseInt(_0x599f9d(0xa7))/0x7)+-parseInt(_0x599f9d(0x9b))/0x8*(-parseInt(_0x599f9d(0xaf))/0x9)+parseInt(_0x599f9d(0xb1))/0xa*(-parseInt(_0x599f9d(0x93))/0xb);if(_0x318d33===_0x4cecd5)break;else _0x51e715['push'](_0x51e715['shift']());}catch(_0x41381f){_0x51e715['push'](_0x51e715['shift']());}}}(a58_0x16c7,0x72da1));const Transport=require('winston-transport'),{consoleHolder}=require(a58_0x4f674f(0xab)),a58_0x5e0695={};a58_0x5e0695[a58_0x4f674f(0xaa)]=a58_0x4f674f(0xaa),a58_0x5e0695[a58_0x4f674f(0xa5)]=a58_0x4f674f(0xa5),a58_0x5e0695[a58_0x4f674f(0xae)]=a58_0x4f674f(0xae),a58_0x5e0695[a58_0x4f674f(0x9c)]=a58_0x4f674f(0x9c),a58_0x5e0695[a58_0x4f674f(0xa6)]='WARN';const LOG_LEVELS=a58_0x5e0695;class logReportingAPI extends Transport{constructor(_0xa85c7c){super(_0xa85c7c);}['log'](_0x12a4b7,_0x450a34){const _0x83398f=a58_0x4f674f,_0x161e84={'LFEbW':'logged','KxzAs':function(_0x563311,_0x24ac19){return _0x563311(_0x24ac19);},'asuba':function(_0xcb4f60,_0x1bbab8){return _0xcb4f60===_0x1bbab8;},'UFPBt':'object','hDeYq':function(_0x176407){return _0x176407();}};_0x161e84[_0x83398f(0xa0)](setImmediate,()=>{this['emit'](_0x161e84['LFEbW'],_0x12a4b7);}),_0x161e84[_0x83398f(0xa8)](typeof _0x12a4b7,_0x161e84['UFPBt'])?this[_0x83398f(0xa2)](_0x12a4b7[_0x83398f(0x98)]||LOG_LEVELS[_0x83398f(0xaa)],_0x12a4b7[_0x83398f(0xac)],![]):this[_0x83398f(0xa2)](LOG_LEVELS['INFO'],_0x12a4b7),_0x450a34&&_0x161e84[_0x83398f(0x94)](_0x450a34);}['logToTestOps']=(_0x657ebc=LOG_LEVELS[a58_0x4f674f(0xaa)],_0x45be65='',_0x2ed853=!![])=>{const _0xd02baf=a58_0x4f674f,_0x501fea={};_0x501fea['DOQLw']=_0xd02baf(0x9d);const _0x31e54a=_0x501fea;_0x2ed853&&consoleHolder[_0x657ebc[_0xd02baf(0xb0)]()](_0x45be65),process[_0xd02baf(0x91)](_0xd02baf(0x9a)+process[_0xd02baf(0x96)],{'timestamp':new Date()[_0xd02baf(0x97)](),'level':_0x657ebc[_0xd02baf(0xa9)](),'message':_0x45be65,'kind':_0x31e54a['DOQLw'],'http_response':{}});};[a58_0x4f674f(0x9f)]=(_0x4bc700,_0x316b63)=>{const _0x579a00=a58_0x4f674f;this[_0x579a00(0xa2)](LOG_LEVELS[_0x579a00(0x9c)],_0x4bc700);};[a58_0x4f674f(0xa4)]=(_0x3fd1a4,_0x2b1606)=>{const _0x392712=a58_0x4f674f;this[_0x392712(0xa2)](LOG_LEVELS[_0x392712(0xae)],_0x3fd1a4);};[a58_0x4f674f(0xa3)]=(_0x6553ec,_0x4ebf56)=>{const _0x19703b=a58_0x4f674f;this[_0x19703b(0xa2)](LOG_LEVELS[_0x19703b(0xaa)],_0x6553ec);};['warn']=(_0x13b1d6,_0x3dc041)=>{const _0x509d40=a58_0x4f674f;this[_0x509d40(0xa2)](LOG_LEVELS['WARN'],_0x13b1d6);};[a58_0x4f674f(0x92)]=(_0x56fc99,_0x51ce57)=>{const _0x4717bc=a58_0x4f674f;this[_0x4717bc(0xa2)](LOG_LEVELS['ERROR'],_0x56fc99);};};module[a58_0x4f674f(0xb2)]=logReportingAPI;
|