browserstack-node-sdk 1.49.0 → 1.49.1
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/jestTestFramework.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/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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
|
-
|
|
3
|
+
const a49_0x21b906=a49_0x4c67;(function(_0x1d8569,_0xad5f91){const _0x443c58=a49_0x4c67,_0xefcc8d=_0x1d8569();while(!![]){try{const _0x4fc91a=parseInt(_0x443c58(0x1dd))/0x1*(parseInt(_0x443c58(0x1b7))/0x2)+-parseInt(_0x443c58(0x1bf))/0x3+-parseInt(_0x443c58(0x1cd))/0x4+-parseInt(_0x443c58(0x1f5))/0x5*(parseInt(_0x443c58(0x1fb))/0x6)+-parseInt(_0x443c58(0x1cf))/0x7*(parseInt(_0x443c58(0x1df))/0x8)+parseInt(_0x443c58(0x1fe))/0x9+parseInt(_0x443c58(0x1d1))/0xa;if(_0x4fc91a===_0xad5f91)break;else _0xefcc8d['push'](_0xefcc8d['shift']());}catch(_0x283383){_0xefcc8d['push'](_0xefcc8d['shift']());}}}(a49_0x1075,0xe369b));const fs=require('fs'),helper=require(a49_0x21b906(0x1c3)),utilities=require(a49_0x21b906(0x1e5)),yaml=require('js-yaml'),yargs=require('yargs'),logger=require('../helpers/logger')[a49_0x21b906(0x1f3)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a49_0x21b906(0x1f8)]()+a49_0x21b906(0x1de),packageFile=process[a49_0x21b906(0x1f8)]()+'/package.json',frameworks=[a49_0x21b906(0x1d0),a49_0x21b906(0x1e2),'cucumber-js',a49_0x21b906(0x1ba),a49_0x21b906(0x1c9),a49_0x21b906(0x1f2),a49_0x21b906(0x1b8)];let config;logger[a49_0x21b906(0x1b5)](a49_0x21b906(0x1e7)),createConfigurationFile(yargs[a49_0x21b906(0x1d6)][a49_0x21b906(0x1cc)],yargs[a49_0x21b906(0x1d6)]['key'],yargs[a49_0x21b906(0x1d6)][a49_0x21b906(0x1b8)]);try{sdkSetup();}catch(a49_0x457252){logger[a49_0x21b906(0x1f9)](a49_0x21b906(0x1da)+a49_0x457252);}addScriptInPackageJson();function a49_0x1075(){const _0xbaa32b=['../helpers/utilities','BSAvh','Creating\x20configuration\x20file...','-browserstack','indexOf','source','splice','npLos','AkBXC','VtIge','push','join','npm\x20update\x20browserstack-node-sdk','codeceptjs','winstonLogger','scripts','280580HuZYuM','cjkFW','error','cwd','debug','ZYtxr','6WlIxob','vdZIU','Adding\x20new\x20script(s)\x20in\x20package.json...','12744864KsJxYS','nTENp','info','WLSxL','2beDWoS','playwright','yRPVE','node','utf8','split','length','load','2247945fqLXFJ','writeFileSync','sZoYs','stringify','../helpers/helper','browserstack-node-sdk','readFileSync','UYPai','parse','YOUR_USERNAME','nightwatch','YIIxA','bYcQh','username','4467684jmErfD','node-setup','2270940YjuQmO','mocha','5637350QrhmrU','oKZGs','aWYMW','PmkyG','fireFunnelTestEvent','argv','seThn','Setup\x20completed','aBFpG','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','includes','browserstack-node-sdk\x20','1522844kZRdbs','/browserstack.yml','16NfWypw','isUndefined','replace','jest','entries','YOUR_ACCESS_KEY'];a49_0x1075=function(){return _0xbaa32b;};return a49_0x1075();}function createConfigurationFile(_0x5a7ea2,_0x577476,_0x5efc74=![]){const _0x1bcdec=a49_0x21b906,_0x31e6ee={};_0x31e6ee[_0x1bcdec(0x1d2)]=_0x1bcdec(0x1bb),_0x31e6ee[_0x1bcdec(0x1fc)]=_0x1bcdec(0x1c8),_0x31e6ee[_0x1bcdec(0x1ca)]=_0x1bcdec(0x1e4);const _0x114109=_0x31e6ee;try{let _0x3a82ad=fs[_0x1bcdec(0x1c5)](_0x5efc74?configFileTemplatePW:configFileTemplate,_0x114109[_0x1bcdec(0x1d2)]);_0x5a7ea2&&(_0x3a82ad=_0x3a82ad[_0x1bcdec(0x1e1)](_0x114109['vdZIU'],_0x5a7ea2)),_0x577476&&(_0x3a82ad=_0x3a82ad['replace'](_0x114109[_0x1bcdec(0x1ca)],_0x577476)),config=yaml[_0x1bcdec(0x1be)](_0x3a82ad),fs[_0x1bcdec(0x1c0)](configFile,_0x3a82ad,_0x5ceea3=>{_0x5ceea3&&logger['error'](_0x5ceea3);});}catch(_0x19122e){logger['error'](_0x19122e);}}function addPostInstallScript(_0x285bd1,_0x2ead75){const _0x495fc1=a49_0x21b906,_0x8b4536={};_0x8b4536['BSAvh']='postinstall',_0x8b4536[_0x495fc1(0x1b4)]=_0x495fc1(0x1f1),_0x8b4536[_0x495fc1(0x1c1)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0xc22fa7=_0x8b4536;let _0x368fc4=_0x285bd1[_0xc22fa7[_0x495fc1(0x1e6)]];if(_0x368fc4&&_0x368fc4[_0x495fc1(0x1db)](_0xc22fa7['nTENp']))return;!_0x368fc4?_0x368fc4=_0xc22fa7[_0x495fc1(0x1b4)]:_0x368fc4+=_0xc22fa7[_0x495fc1(0x1c1)],_0x2ead75['push']([_0xc22fa7['BSAvh'],_0x368fc4]);}function addScriptInPackageJson(){const _0x2dd709=a49_0x21b906,_0xc4cf6c={'seThn':_0x2dd709(0x1bb),'npLos':function(_0x6db65c,_0x50d0dc){return _0x6db65c<_0x50d0dc;},'PmkyG':function(_0x28a54d,_0x4929f5,_0x26af28){return _0x28a54d(_0x4929f5,_0x26af28);},'aBFpG':function(_0xfdf7f5,_0x293b50,_0x7d2534){return _0xfdf7f5(_0x293b50,_0x7d2534);},'cjkFW':function(_0x322801,_0x99706c){return _0x322801<_0x99706c;},'bYcQh':function(_0x5828aa,_0x1fd9af){return _0x5828aa!==_0x1fd9af;},'oALhB':_0x2dd709(0x1fd)},_0x5f3764=JSON[_0x2dd709(0x1c7)](fs[_0x2dd709(0x1c5)](packageFile,_0xc4cf6c[_0x2dd709(0x1d7)])),_0x370d4c=[];for(let _0xfc5469=0x0;_0xc4cf6c[_0x2dd709(0x1ec)](_0xfc5469,frameworks[_0x2dd709(0x1bd)]);_0xfc5469+=0x1){const _0x1e51ff=_0xc4cf6c[_0x2dd709(0x1d4)](findScriptsWithFramework,_0x5f3764['scripts'],frameworks[_0xfc5469]);for(let _0x4992c4=0x0;_0xc4cf6c[_0x2dd709(0x1ec)](_0x4992c4,_0x1e51ff['length']);_0x4992c4+=0x1){_0x370d4c[_0x2dd709(0x1ef)](_0xc4cf6c[_0x2dd709(0x1d9)](getUpdatedCommand,_0x5f3764['scripts'],_0x1e51ff[_0x4992c4]));}_0xc4cf6c[_0x2dd709(0x1d4)](addPostInstallScript,_0x5f3764['scripts'],_0x370d4c);}const _0x101710={..._0x5f3764[_0x2dd709(0x1f4)]},_0x51840e=_0x101710;for(let _0x2a6357=0x0;_0xc4cf6c[_0x2dd709(0x1f6)](_0x2a6357,_0x370d4c[_0x2dd709(0x1bd)]);_0x2a6357+=0x1){_0x51840e[_0x370d4c[_0x2a6357][0x0]]=_0x370d4c[_0x2a6357][0x1];}_0xc4cf6c[_0x2dd709(0x1cb)](JSON[_0x2dd709(0x1c2)](_0x5f3764[_0x2dd709(0x1f4)]),JSON['stringify'](_0x51840e))&&(logger[_0x2dd709(0x1b5)](_0xc4cf6c['oALhB']),_0x5f3764[_0x2dd709(0x1f4)]=_0x51840e,fs[_0x2dd709(0x1c0)](packageFile,JSON[_0x2dd709(0x1c2)](_0x5f3764,null,0x2),_0x3ad63d=>{const _0x4d5100=_0x2dd709;_0x3ad63d&&logger[_0x4d5100(0x1f7)](_0x3ad63d);}));}function a49_0x4c67(_0x5776d5,_0x1d7a82){const _0x10758e=a49_0x1075();return a49_0x4c67=function(_0x4c67e8,_0x19d603){_0x4c67e8=_0x4c67e8-0x1b4;let _0x5319d6=_0x10758e[_0x4c67e8];return _0x5319d6;},a49_0x4c67(_0x5776d5,_0x1d7a82);};function findScriptsWithFramework(_0xfb21b7,_0x33a17a){const _0x136f67=a49_0x21b906,_0x5bcbf7={};_0x5bcbf7['AkBXC']=function(_0x3e83a6,_0x557304){return _0x3e83a6<_0x557304;},_0x5bcbf7[_0x136f67(0x1b9)]=_0x136f67(0x1c4);const _0x473a55=_0x5bcbf7,_0x4d33ae=[],_0x18ad13=Object[_0x136f67(0x1e3)](_0xfb21b7);for(let _0x3a091c=0x0;_0x473a55[_0x136f67(0x1ed)](_0x3a091c,_0x18ad13[_0x136f67(0x1bd)]);_0x3a091c+=0x1){_0x18ad13[_0x3a091c][0x1]['includes'](_0x33a17a)&&!_0x18ad13[_0x3a091c][0x1][_0x136f67(0x1db)](_0x473a55['yRPVE'])&&_0x4d33ae[_0x136f67(0x1ef)](_0x18ad13[_0x3a091c][0x0]);}return _0x4d33ae;}function getUpdatedCommand(_0x5f55e6,_0x41e2b4){const _0x26bdaf=a49_0x21b906,_0x26fcd5={};_0x26fcd5[_0x26bdaf(0x1fa)]=function(_0x391c21,_0x4d7450){return _0x391c21!==_0x4d7450;},_0x26fcd5[_0x26bdaf(0x1d3)]=_0x26bdaf(0x1c4),_0x26fcd5['WLSxL']=function(_0x390e22,_0x599f97){return _0x390e22===_0x599f97;};const _0xeea5ef=_0x26fcd5,_0x14a844=_0x41e2b4+_0x26bdaf(0x1e8),_0x79eeda=_0x5f55e6[_0x41e2b4],_0x4fc266=_0x79eeda[_0x26bdaf(0x1bc)]('\x20');for(const _0x214c76 of frameworks){if(_0xeea5ef[_0x26bdaf(0x1fa)](_0x4fc266[_0x26bdaf(0x1e9)](_0x214c76),-0x1)){_0x4fc266[_0x26bdaf(0x1eb)](_0x4fc266[_0x26bdaf(0x1e9)](_0x214c76),0x0,_0xeea5ef[_0x26bdaf(0x1d3)]);break;}}let _0x4e3032=_0x4fc266[_0x26bdaf(0x1f0)]('\x20');return _0xeea5ef[_0x26bdaf(0x1b6)](_0x4e3032,_0x79eeda)&&(_0x4e3032=_0x26bdaf(0x1dc)+_0x79eeda),[_0x14a844,_0x4e3032];}function sdkSetup(){const _0x13c0fd=a49_0x21b906,_0x3a2461={};_0x3a2461[_0x13c0fd(0x1c6)]=_0x13c0fd(0x1ce),_0x3a2461[_0x13c0fd(0x1ee)]='SDKSetup';const _0x5201aa=_0x3a2461;if(helper[_0x13c0fd(0x1e0)](config))return;config[_0x13c0fd(0x1ea)]=_0x5201aa['UYPai'];try{utilities[_0x13c0fd(0x1d5)](_0x5201aa['VtIge'],{},config,'');}catch(_0x2bfb35){logger['debug'](_0x13c0fd(0x1da)+_0x2bfb35);}}logger[a49_0x21b906(0x1b5)](a49_0x21b906(0x1d8));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50_0x40a6dc=a50_0x405d;function a50_0x21a2(){const _0x212d50=['util','configuration','platformCaps','XSOus','../../helpers/test-observability/utils','_workerPool','pipe','ruSJP','worker_threads','send','aHWuI','REYCS','MGdvs','soEwd','QBwly','winstonLogger','Exception\x20in\x20sending\x20worker\x20message\x20','1329396SilpqA','vtGcB','stop','error','map','failureCount','XecVn','fHbpR','test-file-start','../../helpers/performance/performance-tester','emit','debug','platforms','HVrpI','test-file-failure','uhypm','log','wEVqj','vanillaWorker','info','parallelCucumberRun','eVtmi','stdout','7sUVuSz','test-file-success','p-limit','PBpOw','Ccgts','aQSVj','platform','then','end','SGite','../../helpers/performance/constants','cucumberWorker','Worker','getStdout','ejcVu','../../helpers/testhub/testhubHandler','postMessage','dmEBZ','./testWorker.js','304373GRFBjj','1006030WXjamD','platform-run-success','file','HmNko','kzyxf','4162956JreSoi','length','sWaDq','getStderr','format','rKekk','Omvqo','resolve','config','nFDQo','bZukn','TeIzX','1113mIDyoF','CSrwq','1322CuEjNN','BUBwF','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','results','stderr','jest-worker','exit','json','_child','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','2075824hwDnyD','mDDhx','2980116HQmHCc','all','parallelVanillaRun','XonTh','gMsFF','Running\x20','SDK_SETUP'];a50_0x21a2=function(){return _0x212d50;};return a50_0x21a2();}function a50_0x405d(_0x32efc3,_0x22ceb0){const _0x21a275=a50_0x21a2();return a50_0x405d=function(_0x405dfb,_0x30955f){_0x405dfb=_0x405dfb-0x114;let _0x104646=_0x21a275[_0x405dfb];return _0x104646;},a50_0x405d(_0x32efc3,_0x22ceb0);}(function(_0x290780,_0x297a77){const _0x424261=a50_0x405d,_0x4dc6f8=_0x290780();while(!![]){try{const _0x5167cb=parseInt(_0x424261(0x160))/0x1+parseInt(_0x424261(0x174))/0x2*(-parseInt(_0x424261(0x172))/0x3)+parseInt(_0x424261(0x166))/0x4+-parseInt(_0x424261(0x161))/0x5+parseInt(_0x424261(0x136))/0x6*(parseInt(_0x424261(0x14d))/0x7)+-parseInt(_0x424261(0x11c))/0x8+-parseInt(_0x424261(0x11e))/0x9;if(_0x5167cb===_0x297a77)break;else _0x4dc6f8['push'](_0x4dc6f8['shift']());}catch(_0x45806b){_0x4dc6f8['push'](_0x4dc6f8['shift']());}}}(a50_0x21a2,0x814e7));const Worker=require(a50_0x40a6dc(0x117))[a50_0x40a6dc(0x159)],Emittery=require('emittery'),pLimit=require(a50_0x40a6dc(0x14f)),{parentPort}=require(a50_0x40a6dc(0x12d)),util=require(a50_0x40a6dc(0x125)),logger=require('../../helpers/logger')[a50_0x40a6dc(0x134)],PerformanceTester=require(a50_0x40a6dc(0x13f)),PerformanceEvents=require(a50_0x40a6dc(0x157))['EVENTS'],{debug}=require(a50_0x40a6dc(0x129)),TestHubHandler=require(a50_0x40a6dc(0x15c));exports['parallelTestRun']=(_0x5becab,_0x6cddbd,_0x521e53)=>new Promise(async _0x2ff5e9=>{const _0x40ef66=a50_0x40a6dc,_0x21eea4={'SGite':_0x40ef66(0x13b),'uhypm':function(_0xe6fbdc,_0x137eb5){return _0xe6fbdc+_0x137eb5;},'gMsFF':_0x40ef66(0x115),'vtGcB':'Workers\x20failed\x20to\x20exit\x20gracefully','DuPir':function(_0x131b92,_0x31b6bd){return _0x131b92(_0x31b6bd);},'soEwd':_0x40ef66(0x13e),'MGdvs':'./testWorker.js','HmNko':'worker','wEVqj':'json','eVtmi':_0x40ef66(0x12b),'fHbpR':function(_0x348360,_0x5de31d){return _0x348360*_0x5de31d;},'XecVn':_0x40ef66(0x14e),'TeIzX':_0x40ef66(0x144),'CSrwq':function(_0x13f592,_0x1336d0){return _0x13f592(_0x1336d0);}},_0x44a892=_0x521e53[_0x40ef66(0x16e)],_0x5d625c={},_0x4b9a01=new Worker(require['resolve'](_0x21eea4[_0x40ef66(0x131)]),{'exposedMethods':[_0x21eea4[_0x40ef66(0x164)]],'forkOptions':{'serialization':_0x21eea4[_0x40ef66(0x147)],'stdio':_0x21eea4[_0x40ef66(0x14b)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x21eea4[_0x40ef66(0x13d)](_0x6cddbd,0x1),'enableWorkerThreads':!![]}),_0x12ea2f=new Emittery();_0x12ea2f['on'](_0x21eea4[_0x40ef66(0x13c)],_0xce51b2=>{const _0x18c79a=_0x40ef66;_0x5d625c[_0xce51b2[0x0]]?(_0x5d625c[_0xce51b2[0x0]][_0x21eea4['SGite']]=_0x21eea4[_0x18c79a(0x145)](_0x5d625c[_0xce51b2[0x0]][_0x21eea4[_0x18c79a(0x156)]],_0xce51b2[0x1][_0x21eea4[_0x18c79a(0x156)]]),_0x5d625c[_0xce51b2[0x0]][_0x21eea4[_0x18c79a(0x122)]]=[..._0x5d625c[_0xce51b2[0x0]][_0x21eea4[_0x18c79a(0x122)]],..._0xce51b2[0x1][_0x21eea4[_0x18c79a(0x122)]]]):_0x5d625c[_0xce51b2[0x0]]={'failureCount':_0xce51b2[0x1][_0x21eea4['SGite']],'results':[..._0xce51b2[0x1][_0x21eea4[_0x18c79a(0x122)]]]};}),_0x12ea2f['on'](_0x21eea4[_0x40ef66(0x171)],_0x4b7f30=>console[_0x40ef66(0x146)](_0x4b7f30[0x1]));_0x4b9a01[_0x40ef66(0x15a)]()&&_0x4b9a01[_0x40ef66(0x15a)]()[_0x40ef66(0x12b)](process[_0x40ef66(0x14c)]);_0x4b9a01['getStderr']()&&_0x4b9a01['getStderr']()[_0x40ef66(0x12b)](process['stderr']);const _0x2fda33=async()=>{const _0x52e949=_0x40ef66,{forceExited:_0x1128f9}=await _0x4b9a01[_0x52e949(0x155)]();_0x1128f9&&console[_0x52e949(0x139)](_0x21eea4[_0x52e949(0x137)]);try{await TestHubHandler[_0x52e949(0x138)]();}catch(_0x4ecc27){_0x21eea4['DuPir'](debug,_0x52e949(0x114)+_0x4ecc27);}_0x21eea4['DuPir'](_0x2ff5e9,_0x5d625c);},_0x62cf67=_0x21eea4[_0x40ef66(0x173)](pLimit,_0x21eea4[_0x40ef66(0x13d)](_0x6cddbd,0x1)),_0x3c2e3d=_0x1060ce=>_0x62cf67(async()=>{const _0x413085=_0x40ef66;await _0x12ea2f['emit'](_0x21eea4[_0x413085(0x132)],_0x1060ce);const _0x12b77b=_0x4b9a01['worker'](_0x1060ce,_0x44a892);try{parentPort&&_0x12b77b['UNSTABLE_onCustomMessage'](_0x550b04=>{const _0x443b18=_0x413085;try{parentPort[_0x443b18(0x15d)](_0x550b04);}catch(_0x53e23b){logger[_0x443b18(0x141)](_0x443b18(0x135)+util['format'](_0x53e23b));}});}catch(_0x111137){logger[_0x413085(0x141)](_0x413085(0x11b)+util[_0x413085(0x16a)](_0x111137));}return _0x12b77b;});PerformanceTester[_0x40ef66(0x155)](PerformanceEvents[_0x40ef66(0x124)]),Promise[_0x40ef66(0x11f)](_0x5becab[_0x40ef66(0x13a)](_0x5b46a5=>_0x3c2e3d(_0x5b46a5)[_0x40ef66(0x154)](_0x37739b=>_0x12ea2f[_0x40ef66(0x140)](_0x40ef66(0x14e),[_0x5b46a5['configuration'][_0x40ef66(0x153)],_0x37739b]),_0x1f6047=>_0x12ea2f[_0x40ef66(0x140)](_0x40ef66(0x144),[_0x5b46a5,_0x1f6047]))))[_0x40ef66(0x154)](_0x2fda33,_0x2fda33);}),exports[a50_0x40a6dc(0x14a)]=(_0x3a1acb,_0x3a8561,_0x291725,_0x487d62,_0x41881e)=>{const _0x53d7aa=a50_0x40a6dc,_0x73aa51={'WPybJ':'Workers\x20failed\x20to\x20exit\x20gracefully','BUBwF':function(_0xad1f01,_0x3197de){return _0xad1f01(_0x3197de);},'nFDQo':'platform-run-start','QBwly':_0x53d7aa(0x15f),'sWaDq':_0x53d7aa(0x158),'mDDhx':'json','ejcVu':_0x53d7aa(0x12b),'HVrpI':'platform-run-success','kzyxf':_0x53d7aa(0x177),'dmEBZ':function(_0x4e4cff,_0x32d1fb){return _0x4e4cff(_0x32d1fb);}};return new Promise(_0x2107b9=>{const _0x7b6298=_0x53d7aa,_0x253741={'XSOus':_0x73aa51['WPybJ'],'ruSJP':function(_0x22c3c8,_0x4e5ed1){const _0x173266=a50_0x405d;return _0x73aa51[_0x173266(0x175)](_0x22c3c8,_0x4e5ed1);},'bZukn':_0x73aa51[_0x7b6298(0x16f)]},_0x514780=[],_0x458499=new Worker(require[_0x7b6298(0x16d)](_0x73aa51[_0x7b6298(0x133)]),{'exposedMethods':[_0x73aa51[_0x7b6298(0x168)]],'forkOptions':{'serialization':_0x73aa51[_0x7b6298(0x11d)],'stdio':_0x73aa51[_0x7b6298(0x15b)]},'numWorkers':_0x3a1acb['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x73f5da=new Emittery();_0x73f5da['on'](_0x73aa51[_0x7b6298(0x143)],_0x139ac1=>{_0x514780['push']([_0x139ac1[0x0],_0x139ac1[0x1]]);}),_0x73f5da['on'](_0x73aa51[_0x7b6298(0x165)],_0x566d93=>console['log'](_0x566d93[0x1]));_0x458499[_0x7b6298(0x15a)]()&&_0x458499[_0x7b6298(0x15a)]()[_0x7b6298(0x12b)](process[_0x7b6298(0x14c)]);_0x458499[_0x7b6298(0x169)]()&&_0x458499[_0x7b6298(0x169)]()[_0x7b6298(0x12b)](process[_0x7b6298(0x116)]);const _0x4909a9=async()=>{const _0x1edb74=_0x7b6298,{forceExited:_0x31d4b9}=await _0x458499[_0x1edb74(0x155)]();_0x31d4b9&&console[_0x1edb74(0x139)](_0x253741[_0x1edb74(0x128)]),_0x253741[_0x1edb74(0x12c)](_0x2107b9,_0x514780);},_0x586984=_0x73aa51[_0x7b6298(0x15e)](pLimit,_0x3a1acb[_0x7b6298(0x167)]||0x1),_0x2d7173=(_0x43a4d7,_0x2ec9f3)=>_0x586984(async()=>{const _0x337cc6=_0x7b6298;return await _0x73f5da[_0x337cc6(0x140)](_0x253741[_0x337cc6(0x170)],_0x43a4d7),_0x3a8561[_0x337cc6(0x127)]=_0x291725[_0x337cc6(0x142)][_0x2ec9f3],_0x458499[_0x337cc6(0x158)](_0x43a4d7,_0x3a8561,_0x291725,_0x487d62,_0x41881e);});Promise[_0x7b6298(0x11f)](_0x3a1acb['map']((_0x4a66fb,_0x21cfea)=>_0x2d7173(_0x4a66fb,_0x21cfea)['then'](_0x2020f1=>_0x73f5da['emit'](_0x7b6298(0x162),[_0x4a66fb,_0x2020f1]),_0x18239a=>_0x73f5da[_0x7b6298(0x140)](_0x7b6298(0x177),[_0x4a66fb,_0x18239a]))))[_0x7b6298(0x154)](_0x4909a9,_0x4909a9);});},exports[a50_0x40a6dc(0x120)]=(_0x4342e8,_0x24d4dc)=>new Promise(_0xdfbd1b=>{const _0x15a41b=a50_0x40a6dc,_0x1e11c5={'BbPcJ':function(_0x473cfd,_0x34a68e){return _0x473cfd===_0x34a68e;},'iXItj':function(_0x2ec99f,_0x491875){return _0x2ec99f!==_0x491875;},'XoPRE':_0x15a41b(0x118),'aQSVj':_0x15a41b(0x176),'Omvqo':function(_0x4ea5f8,_0x804df5){return _0x4ea5f8(_0x804df5);},'rKekk':_0x15a41b(0x15f),'Ccgts':'vanillaWorker','ekXzw':_0x15a41b(0x119),'AanbG':_0x15a41b(0x12b),'aHWuI':_0x15a41b(0x14e),'XonTh':_0x15a41b(0x144)},_0x24c8f5={},_0x14d918=new Worker(require[_0x15a41b(0x16d)](_0x1e11c5[_0x15a41b(0x16b)]),{'exposedMethods':[_0x1e11c5[_0x15a41b(0x151)]],'forkOptions':{'serialization':_0x1e11c5['ekXzw'],'stdio':_0x1e11c5['AanbG']},'numWorkers':_0x24d4dc,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x43d7d4=new Emittery();_0x43d7d4['on'](_0x1e11c5[_0x15a41b(0x12f)],_0x33c161=>{const _0x8014af=_0x15a41b;_0x33c161[0x0]&&logger[_0x8014af(0x149)](_0x8014af(0x123)+_0x33c161[0x1]+'\x20for',_0x33c161[0x0]);}),_0x43d7d4['on'](_0x1e11c5[_0x15a41b(0x121)],_0x382ced=>{process['exitCode']=0x1;});_0x14d918[_0x15a41b(0x15a)]()&&_0x14d918['getStdout']()[_0x15a41b(0x12b)](process[_0x15a41b(0x14c)]);_0x14d918[_0x15a41b(0x169)]()&&_0x14d918[_0x15a41b(0x169)]()['pipe'](process[_0x15a41b(0x116)]);const _0x5e3599=async()=>{const _0x556c47=_0x15a41b,_0x513105={'PBpOw':function(_0x3676c2,_0x2c5e4d){return _0x1e11c5['BbPcJ'](_0x3676c2,_0x2c5e4d);},'REYCS':function(_0x25ba7c,_0x2c105f){return _0x1e11c5['iXItj'](_0x25ba7c,_0x2c105f);},'JpaDR':_0x1e11c5['XoPRE']};let _0xc35c59=0x0;const _0x297b31=_0x14d918[_0x556c47(0x12a)]['getWorkers'](),_0x1e5c23=()=>{},_0x4ef33c=_0x297b31[_0x556c47(0x13a)](async _0x13faf7=>{const _0x4b7595=_0x556c47;_0x13faf7[_0x4b7595(0x12e)]([0x2,![]],_0x1e5c23,_0x1e5c23,_0x1e5c23),_0x13faf7[_0x4b7595(0x11a)]['on'](_0x513105['JpaDR'],_0x5e6d5b=>{const _0x1abffd=_0x4b7595;_0x513105[_0x1abffd(0x150)](_0xc35c59,0x0)&&_0x513105[_0x1abffd(0x130)](_0x5e6d5b,0x0)&&(_0xc35c59=_0x5e6d5b);}),await _0x13faf7['waitForExit']();});await Promise['all'](_0x4ef33c),process['exitCode']=_0xc35c59;const {forceExited:_0x2c01d9}=await _0x14d918[_0x556c47(0x155)]();_0x2c01d9&&console['error'](_0x1e11c5[_0x556c47(0x152)]),_0x1e11c5[_0x556c47(0x16c)](_0xdfbd1b,_0x24c8f5);},_0x1e4acc=_0x1e11c5['Omvqo'](pLimit,_0x24d4dc),_0xc9d8ff=_0x2dfcd2=>_0x1e4acc(async()=>{const _0x25ec70=_0x15a41b;return _0x14d918[_0x25ec70(0x148)](_0x2dfcd2);});Promise[_0x15a41b(0x11f)](_0x4342e8['map'](_0x49f4f2=>_0xc9d8ff(_0x49f4f2)[_0x15a41b(0x154)](_0xc895c6=>_0x43d7d4[_0x15a41b(0x140)](_0x15a41b(0x14e),[_0x49f4f2[_0x15a41b(0x126)][_0x15a41b(0x153)],_0x49f4f2['configuration'][_0x15a41b(0x163)]]),_0x61ee73=>_0x43d7d4['emit'](_0x15a41b(0x144),[_0x49f4f2,_0x61ee73]))))[_0x15a41b(0x154)](_0x5e3599,_0x5e3599);});
|
|
1
|
+
const a50_0x80a0b5=a50_0x585f;function a50_0x585f(_0x577041,_0x4bc99f){const _0x575dd2=a50_0x575d();return a50_0x585f=function(_0x585f70,_0x2d0d12){_0x585f70=_0x585f70-0xdd;let _0x493268=_0x575dd2[_0x585f70];return _0x493268;},a50_0x585f(_0x577041,_0x4bc99f);}(function(_0x314a08,_0x4c1b78){const _0xfb7d34=a50_0x585f,_0x3d7fb6=_0x314a08();while(!![]){try{const _0x3433f3=-parseInt(_0xfb7d34(0x128))/0x1*(-parseInt(_0xfb7d34(0x11a))/0x2)+-parseInt(_0xfb7d34(0xe1))/0x3+-parseInt(_0xfb7d34(0xe0))/0x4+-parseInt(_0xfb7d34(0xed))/0x5+-parseInt(_0xfb7d34(0x11e))/0x6*(parseInt(_0xfb7d34(0xf0))/0x7)+parseInt(_0xfb7d34(0xe2))/0x8+parseInt(_0xfb7d34(0x12e))/0x9*(parseInt(_0xfb7d34(0xe3))/0xa);if(_0x3433f3===_0x4c1b78)break;else _0x3d7fb6['push'](_0x3d7fb6['shift']());}catch(_0x24077b){_0x3d7fb6['push'](_0x3d7fb6['shift']());}}}(a50_0x575d,0xdf17f));function a50_0x575d(){const _0x52acea=['format','qcWtq','CwSrJ','worker','platform-run-failure','platforms','222748EiFVWq','PDNhO','yhoCI','yminI','lviJO','CDKsF','24945885qNdSjL','EVENTS','HHNUz','jlxGc','../../helpers/logger','json','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','test-file-start','bqhOZ','util','platform','./testWorker.js','file','exitCode','oYANc','test-file-failure','Running\x20','6660716wxzjiM','1337430SCHDBo','5784880VOaLFS','10zuzGKk','Workers\x20failed\x20to\x20exit\x20gracefully','exit','length','debug','stderr','getStdout','p-limit','configuration','vanillaWorker','5970105VmGUqv','info','all','602yryvMH','push','oCTgO','getStderr','mEAhC','GhwVf','platform-run-success','test-file-success','error','iLUdx','resolve','kepHp','lIVsh','stdout','LbGtk','parallelCucumberRun','parallelTestRun','zRSbL','pipe','waitForExit','log','mWvjg','BMEwx','FOjVs','_child','MIBVt','parallelVanillaRun','end','xqkqA','qipEZ','lDyYc','XkPft','piaZG','platformCaps','worker_threads','cucumberWorker','failureCount','../../helpers/performance/constants','then','emit','tMwpf','../../helpers/testhub/testhubHandler','16JsVHaB','kEcPG','uzMqx','emittery','73818pywCAl','results','map','IoSoq'];a50_0x575d=function(){return _0x52acea;};return a50_0x575d();}const Worker=require('jest-worker')['Worker'],Emittery=require(a50_0x80a0b5(0x11d)),pLimit=require(a50_0x80a0b5(0xea)),{parentPort}=require(a50_0x80a0b5(0x112)),util=require(a50_0x80a0b5(0x137)),logger=require(a50_0x80a0b5(0x132))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a50_0x80a0b5(0x115))[a50_0x80a0b5(0x12f)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a50_0x80a0b5(0x119));exports[a50_0x80a0b5(0x100)]=(_0xe23ab0,_0x1ac541,_0x9e99b6)=>new Promise(async _0x11c8da=>{const _0x5c91d4=a50_0x80a0b5,_0x1984d6={'mWvjg':_0x5c91d4(0x114),'CwSrJ':function(_0x51ae0a,_0x33faba){return _0x51ae0a+_0x33faba;},'XkPft':_0x5c91d4(0x11f),'lDyYc':'Workers\x20failed\x20to\x20exit\x20gracefully','BTEkY':function(_0x53b6ea,_0x298a87){return _0x53b6ea(_0x298a87);},'GVNCD':function(_0x3b8d6b,_0x5a2747){return _0x3b8d6b(_0x5a2747);},'qcWtq':_0x5c91d4(0x135),'zRSbL':_0x5c91d4(0x139),'GhwVf':_0x5c91d4(0x125),'oYANc':_0x5c91d4(0x133),'iLUdx':_0x5c91d4(0x102),'qipEZ':function(_0x40c4c9,_0x183294){return _0x40c4c9*_0x183294;},'PomAi':_0x5c91d4(0xf7),'HHNUz':_0x5c91d4(0xde),'MIBVt':function(_0x4109ee,_0x5a7e5f){return _0x4109ee(_0x5a7e5f);},'kepHp':function(_0x55edea,_0x5a889e){return _0x55edea*_0x5a889e;}},_0x4bf470=_0x9e99b6['config'],_0x408ac5={},_0x3f65be=new Worker(require[_0x5c91d4(0xfa)](_0x1984d6[_0x5c91d4(0x101)]),{'exposedMethods':[_0x1984d6[_0x5c91d4(0xf5)]],'forkOptions':{'serialization':_0x1984d6[_0x5c91d4(0xdd)],'stdio':_0x1984d6[_0x5c91d4(0xf9)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x1984d6[_0x5c91d4(0x10d)](_0x1ac541,0x1),'enableWorkerThreads':!![]}),_0x36604c=new Emittery();_0x36604c['on'](_0x1984d6['PomAi'],_0x12f90d=>{const _0x56acf2=_0x5c91d4;_0x408ac5[_0x12f90d[0x0]]?(_0x408ac5[_0x12f90d[0x0]][_0x1984d6[_0x56acf2(0x105)]]=_0x1984d6[_0x56acf2(0x124)](_0x408ac5[_0x12f90d[0x0]][_0x1984d6[_0x56acf2(0x105)]],_0x12f90d[0x1][_0x1984d6[_0x56acf2(0x105)]]),_0x408ac5[_0x12f90d[0x0]][_0x1984d6[_0x56acf2(0x10f)]]=[..._0x408ac5[_0x12f90d[0x0]][_0x1984d6['XkPft']],..._0x12f90d[0x1][_0x1984d6[_0x56acf2(0x10f)]]]):_0x408ac5[_0x12f90d[0x0]]={'failureCount':_0x12f90d[0x1][_0x1984d6['mWvjg']],'results':[..._0x12f90d[0x1][_0x1984d6[_0x56acf2(0x10f)]]]};}),_0x36604c['on'](_0x1984d6[_0x5c91d4(0x130)],_0x4fa10f=>console[_0x5c91d4(0x104)](_0x4fa10f[0x1]));_0x3f65be[_0x5c91d4(0xe9)]()&&_0x3f65be[_0x5c91d4(0xe9)]()['pipe'](process['stdout']);_0x3f65be['getStderr']()&&_0x3f65be[_0x5c91d4(0xf3)]()[_0x5c91d4(0x102)](process['stderr']);const _0x15c05a=async()=>{const _0x5dcdcb=_0x5c91d4,{forceExited:_0x2f83be}=await _0x3f65be[_0x5dcdcb(0x10b)]();_0x2f83be&&console['error'](_0x1984d6[_0x5dcdcb(0x10e)]);try{await TestHubHandler['stop']();}catch(_0x9e784c){_0x1984d6['BTEkY'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x9e784c);}_0x1984d6['GVNCD'](_0x11c8da,_0x408ac5);},_0x27f95e=_0x1984d6[_0x5c91d4(0x109)](pLimit,_0x1984d6[_0x5c91d4(0xfb)](_0x1ac541,0x1)),_0x589e47=_0x3745f0=>_0x27f95e(async()=>{const _0x79b36=_0x5c91d4;await _0x36604c['emit'](_0x1984d6[_0x79b36(0x123)],_0x3745f0);const _0x4a59f7=_0x3f65be['worker'](_0x3745f0,_0x4bf470);try{parentPort&&_0x4a59f7['UNSTABLE_onCustomMessage'](_0x3db147=>{const _0x44cffe=_0x79b36;try{parentPort['postMessage'](_0x3db147);}catch(_0x4678aa){logger[_0x44cffe(0xe7)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x44cffe(0x122)](_0x4678aa));}});}catch(_0x2d3f10){logger[_0x79b36(0xe7)](_0x79b36(0x134)+util[_0x79b36(0x122)](_0x2d3f10));}return _0x4a59f7;});PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),Promise[_0x5c91d4(0xef)](_0xe23ab0[_0x5c91d4(0x120)](_0x4602c1=>_0x589e47(_0x4602c1)['then'](_0x45cf02=>_0x36604c[_0x5c91d4(0x117)]('test-file-success',[_0x4602c1[_0x5c91d4(0xeb)][_0x5c91d4(0x138)],_0x45cf02]),_0x4de232=>_0x36604c[_0x5c91d4(0x117)](_0x5c91d4(0xde),[_0x4602c1,_0x4de232]))))[_0x5c91d4(0x116)](_0x15c05a,_0x15c05a);}),exports[a50_0x80a0b5(0xff)]=(_0x1d29a0,_0x21c01c,_0x37d0b6,_0x7a104a,_0x284f1e)=>{const _0xb22aa1=a50_0x80a0b5,_0x2cfd1f={'BMEwx':_0xb22aa1(0xe4),'fZcEz':function(_0x2a8bdc,_0x2f11e1){return _0x2a8bdc(_0x2f11e1);},'jlxGc':'platform-run-start','piaZG':'./testWorker.js','LbGtk':_0xb22aa1(0x113),'mEAhC':'json','xqkqA':_0xb22aa1(0x102),'CbxtB':_0xb22aa1(0xf6),'yhoCI':'platform-run-failure','yminI':function(_0x368ce9,_0xc218b7){return _0x368ce9(_0xc218b7);}};return new Promise(_0x3b8a4a=>{const _0x3b2aba=_0xb22aa1,_0x4e464a=[],_0x583406=new Worker(require['resolve'](_0x2cfd1f[_0x3b2aba(0x110)]),{'exposedMethods':[_0x2cfd1f[_0x3b2aba(0xfe)]],'forkOptions':{'serialization':_0x2cfd1f[_0x3b2aba(0xf4)],'stdio':_0x2cfd1f[_0x3b2aba(0x10c)]},'numWorkers':_0x1d29a0[_0x3b2aba(0xe6)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x1ffd24=new Emittery();_0x1ffd24['on'](_0x2cfd1f['CbxtB'],_0x347150=>{const _0x2d325e=_0x3b2aba;_0x4e464a[_0x2d325e(0xf1)]([_0x347150[0x0],_0x347150[0x1]]);}),_0x1ffd24['on'](_0x2cfd1f[_0x3b2aba(0x12a)],_0x5b5b24=>console[_0x3b2aba(0x104)](_0x5b5b24[0x1]));_0x583406[_0x3b2aba(0xe9)]()&&_0x583406[_0x3b2aba(0xe9)]()['pipe'](process[_0x3b2aba(0xfd)]);_0x583406[_0x3b2aba(0xf3)]()&&_0x583406[_0x3b2aba(0xf3)]()[_0x3b2aba(0x102)](process[_0x3b2aba(0xe8)]);const _0x44f959=async()=>{const _0x1de783=_0x3b2aba,{forceExited:_0x4f91b7}=await _0x583406[_0x1de783(0x10b)]();_0x4f91b7&&console[_0x1de783(0xf8)](_0x2cfd1f[_0x1de783(0x106)]),_0x2cfd1f['fZcEz'](_0x3b8a4a,_0x4e464a);},_0x5dea19=_0x2cfd1f[_0x3b2aba(0x12b)](pLimit,_0x1d29a0[_0x3b2aba(0xe6)]||0x1),_0x6f9b76=(_0x203591,_0x2b0a72)=>_0x5dea19(async()=>{const _0x42e89c=_0x3b2aba;return await _0x1ffd24[_0x42e89c(0x117)](_0x2cfd1f[_0x42e89c(0x131)],_0x203591),_0x21c01c[_0x42e89c(0x111)]=_0x37d0b6[_0x42e89c(0x127)][_0x2b0a72],_0x583406[_0x42e89c(0x113)](_0x203591,_0x21c01c,_0x37d0b6,_0x7a104a,_0x284f1e);});Promise[_0x3b2aba(0xef)](_0x1d29a0['map']((_0x309827,_0x3bfc21)=>_0x6f9b76(_0x309827,_0x3bfc21)['then'](_0x1fea3f=>_0x1ffd24[_0x3b2aba(0x117)](_0x3b2aba(0xf6),[_0x309827,_0x1fea3f]),_0x1fffde=>_0x1ffd24[_0x3b2aba(0x117)](_0x3b2aba(0x126),[_0x309827,_0x1fffde]))))[_0x3b2aba(0x116)](_0x44f959,_0x44f959);});},exports[a50_0x80a0b5(0x10a)]=(_0xeb49d9,_0x470d2e)=>new Promise(_0x2dbe93=>{const _0x1aa7da=a50_0x80a0b5,_0x5d6f5e={'tMwpf':function(_0x3f15c3,_0x4a0ea1){return _0x3f15c3===_0x4a0ea1;},'oCTgO':function(_0x3c2d69,_0x11e361){return _0x3c2d69!==_0x11e361;},'PDNhO':_0x1aa7da(0xe5),'lviJO':_0x1aa7da(0xe4),'Qmvlz':function(_0x391aa1,_0x1f1fc9){return _0x391aa1(_0x1f1fc9);},'bqhOZ':_0x1aa7da(0x139),'iJUKf':_0x1aa7da(0xec),'lIVsh':_0x1aa7da(0x133),'FOjVs':_0x1aa7da(0x102),'IoSoq':_0x1aa7da(0xf7),'CDKsF':'test-file-failure'},_0x10b6b6={},_0x5c3caf=new Worker(require[_0x1aa7da(0xfa)](_0x5d6f5e[_0x1aa7da(0x136)]),{'exposedMethods':[_0x5d6f5e['iJUKf']],'forkOptions':{'serialization':_0x5d6f5e[_0x1aa7da(0xfc)],'stdio':_0x5d6f5e[_0x1aa7da(0x107)]},'numWorkers':_0x470d2e,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x171c5c=new Emittery();_0x171c5c['on'](_0x5d6f5e[_0x1aa7da(0x121)],_0x54f4ef=>{const _0x42ffe6=_0x1aa7da;_0x54f4ef[0x0]&&logger[_0x42ffe6(0xee)](_0x42ffe6(0xdf)+_0x54f4ef[0x1]+'\x20for',_0x54f4ef[0x0]);}),_0x171c5c['on'](_0x5d6f5e[_0x1aa7da(0x12d)],_0x4367e7=>{process['exitCode']=0x1;});_0x5c3caf[_0x1aa7da(0xe9)]()&&_0x5c3caf['getStdout']()[_0x1aa7da(0x102)](process[_0x1aa7da(0xfd)]);_0x5c3caf['getStderr']()&&_0x5c3caf[_0x1aa7da(0xf3)]()[_0x1aa7da(0x102)](process[_0x1aa7da(0xe8)]);const _0x84cff1=async()=>{const _0x3d71b2=_0x1aa7da;let _0x153d6a=0x0;const _0x50b84b=_0x5c3caf['_workerPool']['getWorkers'](),_0x578832=()=>{},_0x5656da=_0x50b84b[_0x3d71b2(0x120)](async _0x46e1a9=>{const _0x456ec4=_0x3d71b2,_0x3079b3={'uzMqx':function(_0xa44adc,_0x41e03f){const _0x5056ea=a50_0x585f;return _0x5d6f5e[_0x5056ea(0x118)](_0xa44adc,_0x41e03f);},'kEcPG':function(_0xc00c41,_0x5bb6b9){const _0x3c79dd=a50_0x585f;return _0x5d6f5e[_0x3c79dd(0xf2)](_0xc00c41,_0x5bb6b9);}};_0x46e1a9['send']([0x2,![]],_0x578832,_0x578832,_0x578832),_0x46e1a9[_0x456ec4(0x108)]['on'](_0x5d6f5e[_0x456ec4(0x129)],_0xf88a69=>{const _0x1d1757=_0x456ec4;_0x3079b3[_0x1d1757(0x11c)](_0x153d6a,0x0)&&_0x3079b3[_0x1d1757(0x11b)](_0xf88a69,0x0)&&(_0x153d6a=_0xf88a69);}),await _0x46e1a9[_0x456ec4(0x103)]();});await Promise[_0x3d71b2(0xef)](_0x5656da),process[_0x3d71b2(0x13b)]=_0x153d6a;const {forceExited:_0x3e498b}=await _0x5c3caf[_0x3d71b2(0x10b)]();_0x3e498b&&console[_0x3d71b2(0xf8)](_0x5d6f5e[_0x3d71b2(0x12c)]),_0x5d6f5e['Qmvlz'](_0x2dbe93,_0x10b6b6);},_0x5ce948=_0x5d6f5e['Qmvlz'](pLimit,_0x470d2e),_0x4bda5c=_0x5cdf1a=>_0x5ce948(async()=>{const _0x48d03e=_0x1aa7da;return _0x5c3caf[_0x48d03e(0xec)](_0x5cdf1a);});Promise[_0x1aa7da(0xef)](_0xeb49d9[_0x1aa7da(0x120)](_0x577c0e=>_0x4bda5c(_0x577c0e)[_0x1aa7da(0x116)](_0x5f2393=>_0x171c5c[_0x1aa7da(0x117)]('test-file-success',[_0x577c0e[_0x1aa7da(0xeb)]['platform'],_0x577c0e[_0x1aa7da(0xeb)][_0x1aa7da(0x13a)]]),_0x1d1f48=>_0x171c5c[_0x1aa7da(0x117)](_0x1aa7da(0xde),[_0x577c0e,_0x1d1f48]))))['then'](_0x84cff1,_0x84cff1);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a51_0x5b66f4=a51_0x5cd8;(function(_0x30e50b,_0x52d527){const _0x36767d=a51_0x5cd8,_0x3d5577=_0x30e50b();while(!![]){try{const _0x5c1e60=-parseInt(_0x36767d(0x11d))/0x1+parseInt(_0x36767d(0x125))/0x2+parseInt(_0x36767d(0x11c))/0x3*(parseInt(_0x36767d(0x11a))/0x4)+-parseInt(_0x36767d(0x128))/0x5*(parseInt(_0x36767d(0x124))/0x6)+-parseInt(_0x36767d(0x123))/0x7+-parseInt(_0x36767d(0x118))/0x8*(parseInt(_0x36767d(0x122))/0x9)+parseInt(_0x36767d(0x130))/0xa;if(_0x5c1e60===_0x52d527)break;else _0x3d5577['push'](_0x3d5577['shift']());}catch(_0x341c88){_0x3d5577['push'](_0x3d5577['shift']());}}}(a51_0x5589,0xe2d23));const PerformanceEvents=require('../../helpers/performance/constants')[a51_0x5b66f4(0x11e)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require(a51_0x5b66f4(0x120));function a51_0x5589(){const _0x2caaad=['DXXWq','6bdMpYy','1352914iDUOsG','EVENTS','end','../../helpers/test-observability/utils','../launcher/launcher','9xDkNgZ','6155499ivIgKf','246qYxeTg','118836BkYPQx','HtpQm','ZpYUN','15835zajoUo','formatter','runTest','stopMonitoring','mocha','aPGWX','WDQIg','VQcvQ','26202840fQUXro','pdKlM','cucumber-js','vanilla','runCucumberTest','run','Qgwzq','runVanillaTest','9646824gnhDsr','SDK_POST_TEST','3634656odWlPN'];a51_0x5589=function(){return _0x2caaad;};return a51_0x5589();}function a51_0x5cd8(_0x2c26b6,_0x4bdf74){const _0x5589e0=a51_0x5589();return a51_0x5cd8=function(_0x5cd858,_0x427383){_0x5cd858=_0x5cd858-0x113;let _0x1f7d0e=_0x5589e0[_0x5cd858];return _0x1f7d0e;},a51_0x5cd8(_0x2c26b6,_0x4bdf74);}exports[a51_0x5b66f4(0x12a)]=async(_0x4f417c,_0x31aa4a)=>{const _0x2fc4f1=a51_0x5b66f4,_0x96507b={'WDQIg':function(_0x23d8e1,_0x444932){return _0x23d8e1(_0x444932);},'Qgwzq':_0x2fc4f1(0x121),'nPhyi':_0x2fc4f1(0x12c)};PerformanceTester['startMonitoring']();const _0x1a1d57=_0x96507b[_0x2fc4f1(0x12e)](require,_0x96507b[_0x2fc4f1(0x116)]),_0x1897e3=new _0x1a1d57(_0x96507b['nPhyi'],_0x4f417c,_0x31aa4a),_0x39739f=await _0x1897e3[_0x2fc4f1(0x115)]();return PerformanceTester[_0x2fc4f1(0x11f)](PerformanceEvents[_0x2fc4f1(0x119)]),await _0x96507b['WDQIg'](sleep,0x3e8),PerformanceTester[_0x2fc4f1(0x12b)](),_0x39739f;},exports[a51_0x5b66f4(0x114)]=async(_0x3feb65,_0x16f430,_0x197297,_0x173f80,_0x359d56)=>{const _0x1dc912=a51_0x5b66f4,_0x24219f={'VQcvQ':function(_0x15f7d3,_0x1d9f83){return _0x15f7d3(_0x1d9f83);},'HtpQm':_0x1dc912(0x121),'pdKlM':_0x1dc912(0x132)},_0xcfbc4e={'capability':_0x3feb65,..._0x16f430},_0xdb6011={};_0xdb6011['configuration']=_0xcfbc4e,_0xdb6011[_0x1dc912(0x129)]=_0x359d56;const _0xee498d=_0xdb6011,_0x19d411=_0x24219f[_0x1dc912(0x12f)](require,_0x24219f[_0x1dc912(0x126)]),_0x5746fd=new _0x19d411(_0x24219f[_0x1dc912(0x131)],_0xee498d,_0x197297,_0x173f80);return await _0x5746fd[_0x1dc912(0x115)]();},exports[a51_0x5b66f4(0x117)]=async _0x5527ca=>{const _0x1bc298=a51_0x5b66f4,_0x35628c={'aPGWX':function(_0x8821b5,_0x53c3ba){return _0x8821b5(_0x53c3ba);},'DXXWq':_0x1bc298(0x121),'ZpYUN':_0x1bc298(0x113)},_0x5b64b3=_0x35628c[_0x1bc298(0x12d)](require,_0x35628c[_0x1bc298(0x11b)]),_0x27a474=new _0x5b64b3(_0x35628c[_0x1bc298(0x127)],_0x5527ca);return await _0x27a474[_0x1bc298(0x115)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x3d5b7c=a52_0x354b;function a52_0x5a42(){const _0x494b17=['worker','yvEPa','201991evmfAQ','70086qVQUGr','837604zwHAbn','vanillaWorker','24EmzLDv','30DjRYYq','350442cOHFpF','cucumberWorker','./runTest','729090QQPbQJ','563886QsPnsr','2060980GUaync','7sQvgux'];a52_0x5a42=function(){return _0x494b17;};return a52_0x5a42();}(function(_0x4d6731,_0x21a645){const _0x348a12=a52_0x354b,_0x31c872=_0x4d6731();while(!![]){try{const _0x440439=-parseInt(_0x348a12(0xf9))/0x1+parseInt(_0x348a12(0xfe))/0x2*(parseInt(_0x348a12(0xfa))/0x3)+-parseInt(_0x348a12(0xfb))/0x4+-parseInt(_0x348a12(0x102))/0x5+-parseInt(_0x348a12(0x103))/0x6*(-parseInt(_0x348a12(0xf6))/0x7)+-parseInt(_0x348a12(0xfd))/0x8*(-parseInt(_0x348a12(0xff))/0x9)+parseInt(_0x348a12(0xf5))/0xa;if(_0x440439===_0x21a645)break;else _0x31c872['push'](_0x31c872['shift']());}catch(_0x16fe36){_0x31c872['push'](_0x31c872['shift']());}}}(a52_0x5a42,0x334c1));const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x3d5b7c(0x101));function a52_0x354b(_0x1eb3d0,_0x2d43cd){const _0x5a427b=a52_0x5a42();return a52_0x354b=function(_0x354bd1,_0x56db5c){_0x354bd1=_0x354bd1-0xf5;let _0x295b8e=_0x5a427b[_0x354bd1];return _0x295b8e;},a52_0x354b(_0x1eb3d0,_0x2d43cd);}exports[a52_0x3d5b7c(0xf7)]=async(_0x3242bd,_0x577349)=>{const _0xda2d5e=a52_0x3d5b7c,_0x527077={'yvEPa':function(_0x392213,_0x59226d,_0x1a267f){return _0x392213(_0x59226d,_0x1a267f);}};return await _0x527077[_0xda2d5e(0xf8)](runTest,_0x3242bd,_0x577349);},exports[a52_0x3d5b7c(0x100)]=async(_0x45a0ac,_0x2d4f5f,_0x49ddaa,_0xffd3a2,_0x5570d6)=>{const _0x50ff04={'roNDM':function(_0x44f300,_0xbc7c02,_0x35f7d0,_0x40c87b,_0x283089,_0x4e0e05){return _0x44f300(_0xbc7c02,_0x35f7d0,_0x40c87b,_0x283089,_0x4e0e05);}};return await _0x50ff04['roNDM'](runCucumberTest,_0x45a0ac,_0x2d4f5f,_0x49ddaa,_0xffd3a2,_0x5570d6);},exports[a52_0x3d5b7c(0xfc)]=async _0x401092=>{const _0x222752={'SjRwQ':function(_0x17e288,_0x13f3c4){return _0x17e288(_0x13f3c4);}};return await _0x222752['SjRwQ'](runVanillaTest,_0x401092);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x3037(){const _0x1cac9a=['igcXm','225242nHhQMb','xPuSA','upload','BlpXD','BtkhS','13336320YdqjKt','getAutomateSessionsListAPIUrl','CdiBZ','wss:','3526636OjgSsw','OvkkD','cFeEi','XMOxc','bPQrw','YeANU','udEXe','apis','eDrlT','wdYao','CWDtM','stNJM','LAVcA','sKDgs','eIdKN','FStYr','pZZjr','getAutomateSessionNameAPIUrl','endsWith','../v2/browserstackCLI','BROWSERSTACK_API_URL','653145TGLFmZ','1006645RoQujM','iVtUw','cdp','bRrsC','AKELM','imPJH','hvJRQ','APP_UPLOAD_URL','indoE','kZIiR','tLoXZ','Svxvc','CgjjC','ZUmqg','yhfLL','SldsZ','edsInstrumentation','KCpZn','DEbOK','PJpEv','ZiolF','TbzRX','30LvnHNF','dpyLZ','getPlaywrightHubUrl','api','584360tmIUQz','zDTHA','getAppAutomateSessionStatusAPIUrl','getBStackAPIUrl','toString','lZnEn','FHazK','awvae','bOlCJ','automate','oFQtb','observability','replace','wpGNu','getAutoCaptureLogsAPIUrl','UNxZQ','frLUA','SRMaz','getAutomateSessionStatusAPIUrl','Ntpoh','NXOVB','Ussvy','OjtXs','OBSERVABILITY_UPLOAD_URL','Lkvlc','EDS_URL','RGrRX','getInstance','appAutomate','lekoj','PLAYWRIGHT_HUB_URL','LctRO','113046VuIVZr','getConfig','viWlX','dQFhZ','wHASW','EBYan'];a53_0x3037=function(){return _0x1cac9a;};return a53_0x3037();}const a53_0x5bc79a=a53_0x2130;function a53_0x2130(_0x1f83e1,_0x529422){const _0x303793=a53_0x3037();return a53_0x2130=function(_0x21309b,_0x1651fa){_0x21309b=_0x21309b-0x9d;let _0x5058e=_0x303793[_0x21309b];return _0x5058e;},a53_0x2130(_0x1f83e1,_0x529422);}(function(_0x192119,_0x30c2a1){const _0x3a08f9=a53_0x2130,_0x30e229=_0x192119();while(!![]){try{const _0x39bf1e=parseInt(_0x3a08f9(0xf2))/0x1+-parseInt(_0x3a08f9(0xeb))/0x2+parseInt(_0x3a08f9(0xb0))/0x3+parseInt(_0x3a08f9(0xfb))/0x4+parseInt(_0x3a08f9(0xb1))/0x5*(parseInt(_0x3a08f9(0xc7))/0x6)+-parseInt(_0x3a08f9(0xcb))/0x7+-parseInt(_0x3a08f9(0xf7))/0x8;if(_0x39bf1e===_0x30c2a1)break;else _0x30e229['push'](_0x30e229['shift']());}catch(_0x261f6d){_0x30e229['push'](_0x30e229['shift']());}}}(a53_0x3037,0x7ffba));const constants=require('./constants'),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x5c038b=a53_0x2130,_0x3ebfdc={'lekoj':function(_0x84ba85,_0x296ece){return _0x84ba85(_0x296ece);},'CdiBZ':_0x5c038b(0xae)};return _0x3ebfdc[_0x5c038b(0xe8)](require,_0x3ebfdc[_0x5c038b(0xf9)]);};class APIUtilityMethods{static[a53_0x5bc79a(0xce)](_0x278813){const _0x31dbfd=a53_0x5bc79a,_0x7970a2={'Ussvy':function(_0x38e247){return _0x38e247();},'FHazK':function(_0x1012c8,_0x1a232e,_0x1dfb0d){return _0x1012c8(_0x1a232e,_0x1dfb0d);},'HoOdA':_0x31dbfd(0xa2),'LAVcA':_0x31dbfd(0xd4),'hvJRQ':_0x31dbfd(0xca),'zDTHA':function(_0x443208,_0x1d23c2){return _0x443208===_0x1d23c2;},'Lkvlc':function(_0x1658bc,_0x677771){return _0x1658bc+_0x677771;}},_0x59b179=_0x7970a2[_0x31dbfd(0xe0)](getBrowserstackCLI),_0x57524e=_0x7970a2[_0x31dbfd(0xd1)](nestedKeyValue,_0x59b179[_0x31dbfd(0xe6)]()[_0x31dbfd(0xec)](),[_0x7970a2['HoOdA'],_0x7970a2[_0x31dbfd(0xa7)],_0x7970a2[_0x31dbfd(0xb7)]])||constants[_0x31dbfd(0xaf)];if(!_0x278813||_0x7970a2[_0x31dbfd(0xcc)](_0x278813,''))return _0x57524e;const _0xaed6b1=_0x57524e['endsWith']('/')?_0x57524e:_0x7970a2[_0x31dbfd(0xe3)](_0x57524e,'/');return new URL(_0x278813,_0xaed6b1)['toString']();}static['getEdsInstrumentationAPIUrl'](_0x2c695a){const _0x16dd98=a53_0x5bc79a,_0x2f6313={'uVFoi':function(_0x4d73f4){return _0x4d73f4();},'wHASW':function(_0x17b423,_0x1980ce,_0x4d3fa6){return _0x17b423(_0x1980ce,_0x4d3fa6);},'PJpEv':_0x16dd98(0xa2),'frLUA':_0x16dd98(0xc1),'wpGNu':'api','VPVbt':function(_0x54790c,_0x3c419b){return _0x54790c===_0x3c419b;},'Svxvc':function(_0x2d0d34,_0x1e6ac0){return _0x2d0d34+_0x1e6ac0;}},_0x1aeb42=_0x2f6313['uVFoi'](getBrowserstackCLI),_0x4c15a9=_0x2f6313[_0x16dd98(0xef)](nestedKeyValue,_0x1aeb42[_0x16dd98(0xe6)]()[_0x16dd98(0xec)](),[_0x2f6313[_0x16dd98(0xc4)],_0x2f6313[_0x16dd98(0xdb)],_0x2f6313[_0x16dd98(0xd8)]])||constants[_0x16dd98(0xe4)];if(!_0x2c695a||_0x2f6313['VPVbt'](_0x2c695a,''))return _0x4c15a9;const _0x292d55=_0x4c15a9[_0x16dd98(0xad)]('/')?_0x4c15a9:_0x2f6313[_0x16dd98(0xbc)](_0x4c15a9,'/');return new URL(_0x2c695a,_0x292d55)[_0x16dd98(0xcf)]();}static[a53_0x5bc79a(0xdd)](_0x1eada3){const _0x187fcb=a53_0x5bc79a,_0x115272={'CgjjC':function(_0x367b80){return _0x367b80();},'lZnEn':function(_0xefea80,_0x2b88b8,_0x1e3023){return _0xefea80(_0x2b88b8,_0x1e3023);},'SRMaz':'apis','OvkkD':_0x187fcb(0xd4),'OjtXs':'api','LctRO':function(_0x1effcf,_0x525c04){return _0x1effcf===_0x525c04;},'kZIiR':function(_0x12a024,_0x42c85c){return _0x12a024+_0x42c85c;}},_0x144e6d=_0x115272[_0x187fcb(0xbd)](getBrowserstackCLI),_0x2e5b13=_0x115272[_0x187fcb(0xd0)](nestedKeyValue,_0x144e6d['getInstance']()[_0x187fcb(0xec)](),[_0x115272[_0x187fcb(0xdc)],_0x115272[_0x187fcb(0xfc)],_0x115272[_0x187fcb(0xe1)]])||constants[_0x187fcb(0xaf)];if(!_0x1eada3||_0x115272[_0x187fcb(0xea)](_0x1eada3,''))return _0x2e5b13;const _0xe45d05=_0x2e5b13[_0x187fcb(0xad)]('/')?_0x2e5b13:_0x115272[_0x187fcb(0xba)](_0x2e5b13,'/');return new URL(_0x1eada3,_0xe45d05)[_0x187fcb(0xcf)]();}static[a53_0x5bc79a(0xcd)](_0x479e7d){const _0xb286f3=a53_0x5bc79a,_0x4d1b1f={'mERRM':function(_0x17cf2a){return _0x17cf2a();},'xPuSA':function(_0x4f8041,_0x1ba6d8,_0x50a885){return _0x4f8041(_0x1ba6d8,_0x50a885);},'TfjmS':'apis','nzRxY':'appAutomate','mgVRr':_0xb286f3(0xca),'XMOxc':function(_0x37ba6a,_0x5e81ce){return _0x37ba6a===_0x5e81ce;},'iVtUw':function(_0x4f543e,_0x24fd1b){return _0x4f543e+_0x24fd1b;}},_0x4ee24c=_0x4d1b1f['mERRM'](getBrowserstackCLI),_0x149016=_0x4d1b1f[_0xb286f3(0xf3)](nestedKeyValue,_0x4ee24c['getInstance']()[_0xb286f3(0xec)](),[_0x4d1b1f['TfjmS'],_0x4d1b1f['nzRxY'],_0x4d1b1f['mgVRr']])||constants[_0xb286f3(0xaf)];if(!_0x479e7d||_0x4d1b1f[_0xb286f3(0x9e)](_0x479e7d,''))return _0x149016;const _0x2315fd=_0x149016[_0xb286f3(0xad)]('/')?_0x149016:_0x4d1b1f[_0xb286f3(0xb2)](_0x149016,'/');return new URL(_0x479e7d,_0x2315fd)[_0xb286f3(0xcf)]();}static[a53_0x5bc79a(0xac)](_0x181c0f){const _0x2a2c81=a53_0x5bc79a,_0x1bf053={'stNJM':function(_0x3afe00){return _0x3afe00();},'dQFhZ':function(_0x156344,_0x5afab3,_0x2a9cfb){return _0x156344(_0x5afab3,_0x2a9cfb);},'BlpXD':'apis','pZZjr':_0x2a2c81(0xd4),'wdYao':_0x2a2c81(0xca),'ZiolF':function(_0x2f9652,_0x220389){return _0x2f9652===_0x220389;},'bOlCJ':function(_0x446729,_0x2fe847){return _0x446729+_0x2fe847;}},_0x1316c9=_0x1bf053[_0x2a2c81(0xa6)](getBrowserstackCLI),_0x2e74e7=_0x1bf053[_0x2a2c81(0xee)](nestedKeyValue,_0x1316c9[_0x2a2c81(0xe6)]()['getConfig'](),[_0x1bf053[_0x2a2c81(0xf5)],_0x1bf053[_0x2a2c81(0xab)],_0x1bf053[_0x2a2c81(0xa4)]])||constants['BROWSERSTACK_API_URL'];if(!_0x181c0f||_0x1bf053[_0x2a2c81(0xc5)](_0x181c0f,''))return _0x2e74e7;const _0x1cf11b=_0x2e74e7[_0x2a2c81(0xad)]('/')?_0x2e74e7:_0x1bf053[_0x2a2c81(0xd3)](_0x2e74e7,'/');return new URL(_0x181c0f,_0x1cf11b)[_0x2a2c81(0xcf)]();}static['getAppAutomateSessionNameAPIUrl'](_0x277e03){const _0x2bb907=a53_0x5bc79a,_0x1d68f={'sKDgs':function(_0x66b4ad){return _0x66b4ad();},'AKELM':function(_0x89c06,_0x3db981,_0x34e50f){return _0x89c06(_0x3db981,_0x34e50f);},'KCpZn':_0x2bb907(0xa2),'bRrsC':_0x2bb907(0xe7),'viWlX':_0x2bb907(0xca),'GIMjo':function(_0x4b53aa,_0x1a849f){return _0x4b53aa===_0x1a849f;},'RGrRX':function(_0x278655,_0x1ad514){return _0x278655+_0x1ad514;}},_0x4f9f7a=_0x1d68f[_0x2bb907(0xa8)](getBrowserstackCLI),_0x32a860=_0x1d68f[_0x2bb907(0xb5)](nestedKeyValue,_0x4f9f7a[_0x2bb907(0xe6)]()[_0x2bb907(0xec)](),[_0x1d68f[_0x2bb907(0xc2)],_0x1d68f[_0x2bb907(0xb4)],_0x1d68f[_0x2bb907(0xed)]])||constants['BROWSERSTACK_API_URL'];if(!_0x277e03||_0x1d68f['GIMjo'](_0x277e03,''))return _0x32a860;const _0x42b802=_0x32a860[_0x2bb907(0xad)]('/')?_0x32a860:_0x1d68f[_0x2bb907(0xe5)](_0x32a860,'/');return new URL(_0x277e03,_0x42b802)[_0x2bb907(0xcf)]();}static[a53_0x5bc79a(0xf8)](_0x11501f){const _0x4f54f1=a53_0x5bc79a,_0x3c8ead={'FStYr':function(_0x54fc6c){return _0x54fc6c();},'cFeEi':function(_0x2d2974,_0x3ef8a1,_0xf47476){return _0x2d2974(_0x3ef8a1,_0xf47476);},'igcXm':'apis','dpyLZ':_0x4f54f1(0xd4),'udEXe':_0x4f54f1(0xca),'NXOVB':function(_0x201902,_0x4450d5){return _0x201902===_0x4450d5;},'indoE':function(_0x382fb9,_0x4cb7ec){return _0x382fb9+_0x4cb7ec;}},_0x49fd8a=_0x3c8ead[_0x4f54f1(0xaa)](getBrowserstackCLI),_0x33b1cd=_0x3c8ead[_0x4f54f1(0x9d)](nestedKeyValue,_0x49fd8a[_0x4f54f1(0xe6)]()['getConfig'](),[_0x3c8ead[_0x4f54f1(0xf1)],_0x3c8ead[_0x4f54f1(0xc8)],_0x3c8ead[_0x4f54f1(0xa1)]])||constants[_0x4f54f1(0xaf)];if(!_0x11501f||_0x3c8ead[_0x4f54f1(0xdf)](_0x11501f,''))return _0x33b1cd;const _0x3bf9f0=_0x33b1cd[_0x4f54f1(0xad)]('/')?_0x33b1cd:_0x3c8ead[_0x4f54f1(0xb9)](_0x33b1cd,'/');return new URL(_0x11501f,_0x3bf9f0)[_0x4f54f1(0xcf)]()['replace'](/^https?:\/\//,'');}static['getAppAutomateSessionsListAPIUrl'](_0x37206a){const _0x14ce56=a53_0x5bc79a,_0x1947f8={'imPJH':function(_0x3ac002){return _0x3ac002();},'TbzRX':function(_0x579029,_0x89bb46,_0x50a836){return _0x579029(_0x89bb46,_0x50a836);},'DEbOK':_0x14ce56(0xa2),'eIdKN':_0x14ce56(0xe7),'BtkhS':_0x14ce56(0xca),'bPQrw':function(_0x533634,_0x51460b){return _0x533634===_0x51460b;},'oFQtb':function(_0x41fa13,_0x5ba02b){return _0x41fa13+_0x5ba02b;}},_0x5eebb7=_0x1947f8[_0x14ce56(0xb6)](getBrowserstackCLI),_0x5eb51c=_0x1947f8[_0x14ce56(0xc6)](nestedKeyValue,_0x5eebb7[_0x14ce56(0xe6)]()[_0x14ce56(0xec)](),[_0x1947f8[_0x14ce56(0xc3)],_0x1947f8[_0x14ce56(0xa9)],_0x1947f8[_0x14ce56(0xf6)]])||constants[_0x14ce56(0xb8)];if(!_0x37206a||_0x1947f8[_0x14ce56(0x9f)](_0x37206a,''))return _0x5eb51c;const _0x1fabc3=_0x5eb51c['endsWith']('/')?_0x5eb51c:_0x1947f8[_0x14ce56(0xd5)](_0x5eb51c,'/');return new URL(_0x37206a,_0x1fabc3)[_0x14ce56(0xcf)]()['replace'](/^https?:\/\//,'');}static[a53_0x5bc79a(0xd9)](_0x16c335){const _0x52c6dc=a53_0x5bc79a,_0x4a4525={'yhfLL':function(_0x55e41b){return _0x55e41b();},'awvae':function(_0x5edbbe,_0x45b1b8,_0x2884d5){return _0x5edbbe(_0x45b1b8,_0x2884d5);},'CWDtM':_0x52c6dc(0xa2),'vUoCc':_0x52c6dc(0xd6),'xyQMp':_0x52c6dc(0xf4),'EBYan':function(_0x5a98d2,_0xcae278){return _0x5a98d2===_0xcae278;},'BdVzb':function(_0x56406a,_0x29e4d2){return _0x56406a+_0x29e4d2;}},_0x5af14a=_0x4a4525[_0x52c6dc(0xbf)](getBrowserstackCLI),_0x54302b=_0x4a4525[_0x52c6dc(0xd2)](nestedKeyValue,_0x5af14a[_0x52c6dc(0xe6)]()[_0x52c6dc(0xec)](),[_0x4a4525[_0x52c6dc(0xa5)],_0x4a4525['vUoCc'],_0x4a4525['xyQMp']])||constants[_0x52c6dc(0xe2)];if(!_0x16c335||_0x4a4525[_0x52c6dc(0xf0)](_0x16c335,''))return _0x54302b;const _0x1062b1=_0x54302b[_0x52c6dc(0xad)]('/')?_0x54302b:_0x4a4525['BdVzb'](_0x54302b,'/');return new URL(_0x16c335,_0x1062b1)[_0x52c6dc(0xcf)]();}static[a53_0x5bc79a(0xc9)](_0x378d7c){const _0x471d08=a53_0x5bc79a,_0x2f6c2c={'ZUmqg':function(_0x3928af){return _0x3928af();},'CTFVt':function(_0x4a33fa,_0x348fc5,_0x21064a){return _0x4a33fa(_0x348fc5,_0x21064a);},'YeANU':_0x471d08(0xa2),'Ntpoh':_0x471d08(0xd4),'eDrlT':_0x471d08(0xb3),'tLoXZ':_0x471d08(0xfa),'ycRzP':function(_0x348b29,_0x48f365){return _0x348b29===_0x48f365;},'UNxZQ':function(_0x59161c,_0x4888be){return _0x59161c+_0x4888be;},'SldsZ':'/playwright?caps='},_0x4558be=_0x2f6c2c[_0x471d08(0xbe)](getBrowserstackCLI),_0x46522b=_0x2f6c2c['CTFVt'](nestedKeyValue,_0x4558be[_0x471d08(0xe6)]()[_0x471d08(0xec)](),[_0x2f6c2c[_0x471d08(0xa0)],_0x2f6c2c[_0x471d08(0xde)],_0x2f6c2c[_0x471d08(0xa3)]]),_0xee12e1=(_0x46522b?_0x46522b[_0x471d08(0xd7)](/^https:/,_0x2f6c2c[_0x471d08(0xbb)]):null)||constants[_0x471d08(0xe9)];let _0x2d14f8;if(!_0x378d7c||_0x2f6c2c['ycRzP'](_0x378d7c,''))_0x2d14f8=_0xee12e1;else{const _0x1277db=_0xee12e1[_0x471d08(0xad)]('/')?_0xee12e1:_0x2f6c2c[_0x471d08(0xda)](_0xee12e1,'/');_0x2d14f8=new URL(_0x378d7c,_0x1277db)[_0x471d08(0xcf)]();}return!_0x2d14f8[_0x471d08(0xad)](_0x2f6c2c[_0x471d08(0xc0)])&&(_0x2d14f8+=_0x2f6c2c[_0x471d08(0xc0)]),_0x2d14f8;}}module['exports']=APIUtilityMethods;
|
|
1
|
+
const a53_0x165730=a53_0xdfa2;(function(_0x3424b7,_0x5b4c46){const _0x15ca67=a53_0xdfa2,_0x4b3303=_0x3424b7();while(!![]){try{const _0xf350da=-parseInt(_0x15ca67(0x1bb))/0x1*(-parseInt(_0x15ca67(0x1c9))/0x2)+parseInt(_0x15ca67(0x187))/0x3+parseInt(_0x15ca67(0x19a))/0x4*(-parseInt(_0x15ca67(0x1af))/0x5)+parseInt(_0x15ca67(0x196))/0x6+-parseInt(_0x15ca67(0x1ab))/0x7+-parseInt(_0x15ca67(0x189))/0x8+-parseInt(_0x15ca67(0x1a5))/0x9*(parseInt(_0x15ca67(0x1a0))/0xa);if(_0xf350da===_0x5b4c46)break;else _0x4b3303['push'](_0x4b3303['shift']());}catch(_0x1dbf3d){_0x4b3303['push'](_0x4b3303['shift']());}}}(a53_0x9904,0xbc387));const constants=require(a53_0x165730(0x1c4)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x26a858=a53_0x165730,_0x492713={'TKujM':function(_0x1f3b82,_0x2bb1a7){return _0x1f3b82(_0x2bb1a7);},'gZkZW':_0x26a858(0x18a)};return _0x492713[_0x26a858(0x17f)](require,_0x492713[_0x26a858(0x17e)]);};function a53_0x9904(){const _0x215cef=['toString','WuHqI','doFVs','NKyly','4349160HQFRGw','getBStackAPIUrl','edsInstrumentation','EnGKF','96XaKmog','lhOuN','ZTRBT','mIObx','getEdsInstrumentationAPIUrl','BROWSERSTACK_API_URL','320KMByqK','UTocL','HOxTa','OBSERVABILITY_UPLOAD_URL','waxmp','6237XXcItE','endsWith','observability','YLDyp','aooFk','jrLmK','10016027wshWyD','getAutoCaptureLogsAPIUrl','ZjejF','getAppAutomateSessionNameAPIUrl','218870dTMAoX','BkaZc','rfBKo','wNptV','sDQcR','getPlaywrightHubUrl','qSqVB','ltUnf','vfzmh','appAutomate','getAppAutomateSessionStatusAPIUrl','XizkZ','29cmaHJc','Pcicf','CEpCs','PLAYWRIGHT_HUB_URL','exports','zPtjR','wss:','Ccckv','frEDz','./constants','EDS_URL','getAutomateSessionStatusAPIUrl','ZtKHq','cHRnl','80200XWFQNq','lGAZf','VaiwN','automate','qxkUq','ffRmF','getInstance','ZSaGU','upload','api','zwqoW','DzvOd','yNbru','CgTKw','replace','SNHHC','kwvhx','wAHuf','LqAoY','gZkZW','TKujM','getAppAutomateSessionsListAPIUrl','ieLFi','vribn','Ayzwc','awkxy','getConfig','ajSlF','4488417oAQUkr','ApvvW','874680wohznD','../v2/browserstackCLI','apis','INTBZ','LaDri','/playwright?caps=','TsLFS','QSXct','ceAIi'];a53_0x9904=function(){return _0x215cef;};return a53_0x9904();}class APIUtilityMethods{static[a53_0x165730(0x197)](_0x4d6df3){const _0xb3c7df=a53_0x165730,_0x2e2d4a={'Pcicf':function(_0x108676){return _0x108676();},'ybFQB':function(_0x2ae4cb,_0x4ef8fb,_0x4066da){return _0x2ae4cb(_0x4ef8fb,_0x4066da);},'QSXct':_0xb3c7df(0x18b),'cHRnl':_0xb3c7df(0x1cc),'rfBKo':_0xb3c7df(0x1d2),'aooFk':function(_0x114a06,_0x2a926c){return _0x114a06===_0x2a926c;},'WuHqI':function(_0x20112a,_0x90e7b6){return _0x20112a+_0x90e7b6;}},_0x1022c8=_0x2e2d4a[_0xb3c7df(0x1bc)](getBrowserstackCLI),_0x50651a=_0x2e2d4a['ybFQB'](nestedKeyValue,_0x1022c8['getInstance']()[_0xb3c7df(0x185)](),[_0x2e2d4a[_0xb3c7df(0x190)],_0x2e2d4a[_0xb3c7df(0x1c8)],_0x2e2d4a[_0xb3c7df(0x1b1)]])||constants[_0xb3c7df(0x19f)];if(!_0x4d6df3||_0x2e2d4a[_0xb3c7df(0x1a9)](_0x4d6df3,''))return _0x50651a;const _0x2996ea=_0x50651a[_0xb3c7df(0x1a6)]('/')?_0x50651a:_0x2e2d4a[_0xb3c7df(0x193)](_0x50651a,'/');return new URL(_0x4d6df3,_0x2996ea)[_0xb3c7df(0x192)]();}static[a53_0x165730(0x19e)](_0x840d74){const _0x4f6fed=a53_0x165730,_0x166b21={'EnGKF':function(_0x523165){return _0x523165();},'lvWAJ':function(_0x182c4d,_0x36cae4,_0x41fa05){return _0x182c4d(_0x36cae4,_0x41fa05);},'CEpCs':_0x4f6fed(0x18b),'vfzmh':_0x4f6fed(0x198),'qxkUq':_0x4f6fed(0x1d2),'ajSlF':function(_0xb3680,_0x2b3579){return _0xb3680===_0x2b3579;},'ieLFi':function(_0x11256c,_0x2bc184){return _0x11256c+_0x2bc184;}},_0x2c4acb=_0x166b21[_0x4f6fed(0x199)](getBrowserstackCLI),_0x3b6598=_0x166b21['lvWAJ'](nestedKeyValue,_0x2c4acb['getInstance']()[_0x4f6fed(0x185)](),[_0x166b21[_0x4f6fed(0x1bd)],_0x166b21[_0x4f6fed(0x1b7)],_0x166b21[_0x4f6fed(0x1cd)]])||constants[_0x4f6fed(0x1c5)];if(!_0x840d74||_0x166b21[_0x4f6fed(0x186)](_0x840d74,''))return _0x3b6598;const _0x842b6c=_0x3b6598[_0x4f6fed(0x1a6)]('/')?_0x3b6598:_0x166b21[_0x4f6fed(0x181)](_0x3b6598,'/');return new URL(_0x840d74,_0x842b6c)[_0x4f6fed(0x192)]();}static[a53_0x165730(0x1c6)](_0x5e6bb1){const _0x36b90e=a53_0x165730,_0x5e739f={'gqoga':function(_0x446af0){return _0x446af0();},'XizkZ':function(_0x254fa1,_0x4c2a7f,_0x3c31a5){return _0x254fa1(_0x4c2a7f,_0x3c31a5);},'nFKmp':'apis','khOrM':'automate','wAHuf':'api','TjePU':function(_0x3bd740,_0x3b3c43){return _0x3bd740===_0x3b3c43;},'eZAJO':function(_0x483d0b,_0xc5bac9){return _0x483d0b+_0xc5bac9;}},_0xc909ab=_0x5e739f['gqoga'](getBrowserstackCLI),_0x17303b=_0x5e739f[_0x36b90e(0x1ba)](nestedKeyValue,_0xc909ab[_0x36b90e(0x1cf)]()[_0x36b90e(0x185)](),[_0x5e739f['nFKmp'],_0x5e739f['khOrM'],_0x5e739f[_0x36b90e(0x17c)]])||constants[_0x36b90e(0x19f)];if(!_0x5e6bb1||_0x5e739f['TjePU'](_0x5e6bb1,''))return _0x17303b;const _0x2e1c95=_0x17303b['endsWith']('/')?_0x17303b:_0x5e739f['eZAJO'](_0x17303b,'/');return new URL(_0x5e6bb1,_0x2e1c95)[_0x36b90e(0x192)]();}static[a53_0x165730(0x1b9)](_0x147bd3){const _0x43718a=a53_0x165730,_0x3deffc={'wNptV':function(_0x195939){return _0x195939();},'iIRpv':function(_0x487dd5,_0xdca3a6,_0x24c42b){return _0x487dd5(_0xdca3a6,_0x24c42b);},'waxmp':_0x43718a(0x18b),'sDQcR':_0x43718a(0x1b8),'Ayzwc':_0x43718a(0x1d2),'HOxTa':function(_0x58b24e,_0x11a0b9){return _0x58b24e===_0x11a0b9;},'cEwJD':function(_0x295750,_0x58d987){return _0x295750+_0x58d987;}},_0x13ec49=_0x3deffc[_0x43718a(0x1b2)](getBrowserstackCLI),_0x5d2764=_0x3deffc['iIRpv'](nestedKeyValue,_0x13ec49[_0x43718a(0x1cf)]()[_0x43718a(0x185)](),[_0x3deffc[_0x43718a(0x1a4)],_0x3deffc[_0x43718a(0x1b3)],_0x3deffc[_0x43718a(0x183)]])||constants[_0x43718a(0x19f)];if(!_0x147bd3||_0x3deffc[_0x43718a(0x1a2)](_0x147bd3,''))return _0x5d2764;const _0x4942a8=_0x5d2764['endsWith']('/')?_0x5d2764:_0x3deffc['cEwJD'](_0x5d2764,'/');return new URL(_0x147bd3,_0x4942a8)[_0x43718a(0x192)]();}static['getAutomateSessionNameAPIUrl'](_0x4330e1){const _0x2ac01a=a53_0x165730,_0x13b609={'bnpXY':function(_0x65a4cd){return _0x65a4cd();},'mIObx':function(_0x2300b3,_0x5a16d5,_0xb2beba){return _0x2300b3(_0x5a16d5,_0xb2beba);},'INTBZ':_0x2ac01a(0x18b),'frEDz':_0x2ac01a(0x1cc),'vpMyU':_0x2ac01a(0x1d2),'TsLFS':function(_0x3042d5,_0x4f20fa){return _0x3042d5===_0x4f20fa;},'MzjGg':function(_0x47a337,_0x27ad52){return _0x47a337+_0x27ad52;}},_0x2b63e1=_0x13b609['bnpXY'](getBrowserstackCLI),_0x5a559a=_0x13b609[_0x2ac01a(0x19d)](nestedKeyValue,_0x2b63e1[_0x2ac01a(0x1cf)]()[_0x2ac01a(0x185)](),[_0x13b609[_0x2ac01a(0x18c)],_0x13b609[_0x2ac01a(0x1c3)],_0x13b609['vpMyU']])||constants[_0x2ac01a(0x19f)];if(!_0x4330e1||_0x13b609[_0x2ac01a(0x18f)](_0x4330e1,''))return _0x5a559a;const _0x18537b=_0x5a559a[_0x2ac01a(0x1a6)]('/')?_0x5a559a:_0x13b609['MzjGg'](_0x5a559a,'/');return new URL(_0x4330e1,_0x18537b)[_0x2ac01a(0x192)]();}static[a53_0x165730(0x1ae)](_0xa8dab5){const _0x5a4c25=a53_0x165730,_0x1a3b5b={'EQRzE':function(_0x1b03aa){return _0x1b03aa();},'NKyly':function(_0x284549,_0x156d72,_0x4dffb6){return _0x284549(_0x156d72,_0x4dffb6);},'UTocL':_0x5a4c25(0x18b),'lhOuN':'appAutomate','AMcNl':'api','ApvvW':function(_0xc3a48c,_0xdeac04){return _0xc3a48c===_0xdeac04;},'VaiwN':function(_0x3a9900,_0x1520c8){return _0x3a9900+_0x1520c8;}},_0x28eb55=_0x1a3b5b['EQRzE'](getBrowserstackCLI),_0x442294=_0x1a3b5b[_0x5a4c25(0x195)](nestedKeyValue,_0x28eb55[_0x5a4c25(0x1cf)]()[_0x5a4c25(0x185)](),[_0x1a3b5b[_0x5a4c25(0x1a1)],_0x1a3b5b[_0x5a4c25(0x19b)],_0x1a3b5b['AMcNl']])||constants[_0x5a4c25(0x19f)];if(!_0xa8dab5||_0x1a3b5b[_0x5a4c25(0x188)](_0xa8dab5,''))return _0x442294;const _0x5217d4=_0x442294[_0x5a4c25(0x1a6)]('/')?_0x442294:_0x1a3b5b[_0x5a4c25(0x1cb)](_0x442294,'/');return new URL(_0xa8dab5,_0x5217d4)[_0x5a4c25(0x192)]();}static['getAutomateSessionsListAPIUrl'](_0x48f22d){const _0x49980f=a53_0x165730,_0x863ed9={'aIBAD':function(_0x288b5c){return _0x288b5c();},'CgTKw':function(_0x7ae575,_0x547ade,_0x13d010){return _0x7ae575(_0x547ade,_0x13d010);},'ZTRBT':_0x49980f(0x18b),'LqAoY':_0x49980f(0x1cc),'BkaZc':_0x49980f(0x1d2),'zPtjR':function(_0x5c9def,_0x2dd6f9){return _0x5c9def===_0x2dd6f9;},'qSqVB':function(_0x42ab7f,_0x18c204){return _0x42ab7f+_0x18c204;}},_0x3197e7=_0x863ed9['aIBAD'](getBrowserstackCLI),_0x5bc5c6=_0x863ed9[_0x49980f(0x1d6)](nestedKeyValue,_0x3197e7[_0x49980f(0x1cf)]()[_0x49980f(0x185)](),[_0x863ed9[_0x49980f(0x19c)],_0x863ed9[_0x49980f(0x17d)],_0x863ed9[_0x49980f(0x1b0)]])||constants[_0x49980f(0x19f)];if(!_0x48f22d||_0x863ed9[_0x49980f(0x1c0)](_0x48f22d,''))return _0x5bc5c6;const _0x215ce8=_0x5bc5c6['endsWith']('/')?_0x5bc5c6:_0x863ed9[_0x49980f(0x1b5)](_0x5bc5c6,'/');return new URL(_0x48f22d,_0x215ce8)[_0x49980f(0x192)]()[_0x49980f(0x179)](/^https?:\/\//,'');}static[a53_0x165730(0x180)](_0x243fbd){const _0x2e5f18=a53_0x165730,_0x4e0a8f={'awkxy':function(_0x3c9caa){return _0x3c9caa();},'kwvhx':function(_0x3b46b8,_0x10d861,_0x2c9ae1){return _0x3b46b8(_0x10d861,_0x2c9ae1);},'hdCuE':'apis','jrLmK':'appAutomate','ZjejF':'api','vribn':function(_0x1426d2,_0x4fe765){return _0x1426d2===_0x4fe765;},'sYAkM':function(_0x10f371,_0x8d1d3e){return _0x10f371+_0x8d1d3e;}},_0x56e87e=_0x4e0a8f[_0x2e5f18(0x184)](getBrowserstackCLI),_0x50b936=_0x4e0a8f[_0x2e5f18(0x17b)](nestedKeyValue,_0x56e87e['getInstance']()[_0x2e5f18(0x185)](),[_0x4e0a8f['hdCuE'],_0x4e0a8f[_0x2e5f18(0x1aa)],_0x4e0a8f[_0x2e5f18(0x1ad)]])||constants['APP_UPLOAD_URL'];if(!_0x243fbd||_0x4e0a8f[_0x2e5f18(0x182)](_0x243fbd,''))return _0x50b936;const _0x5d74be=_0x50b936[_0x2e5f18(0x1a6)]('/')?_0x50b936:_0x4e0a8f['sYAkM'](_0x50b936,'/');return new URL(_0x243fbd,_0x5d74be)['toString']()[_0x2e5f18(0x179)](/^https?:\/\//,'');}static[a53_0x165730(0x1ac)](_0x21029b){const _0x500061=a53_0x165730,_0x53f892={'ltUnf':function(_0x2a8a3c){return _0x2a8a3c();},'lGAZf':function(_0x19e823,_0x2fc79f,_0x24c743){return _0x19e823(_0x2fc79f,_0x24c743);},'ffRmF':_0x500061(0x18b),'YLDyp':_0x500061(0x1a7),'zwqoW':_0x500061(0x1d1),'yNbru':function(_0x553088,_0x387aa0){return _0x553088===_0x387aa0;},'doFVs':function(_0x16b197,_0x1eac1a){return _0x16b197+_0x1eac1a;}},_0x12c3d6=_0x53f892[_0x500061(0x1b6)](getBrowserstackCLI),_0x25d5a0=_0x53f892[_0x500061(0x1ca)](nestedKeyValue,_0x12c3d6[_0x500061(0x1cf)]()[_0x500061(0x185)](),[_0x53f892[_0x500061(0x1ce)],_0x53f892[_0x500061(0x1a8)],_0x53f892[_0x500061(0x1d3)]])||constants[_0x500061(0x1a3)];if(!_0x21029b||_0x53f892[_0x500061(0x1d5)](_0x21029b,''))return _0x25d5a0;const _0x1e2812=_0x25d5a0['endsWith']('/')?_0x25d5a0:_0x53f892[_0x500061(0x194)](_0x25d5a0,'/');return new URL(_0x21029b,_0x1e2812)[_0x500061(0x192)]();}static[a53_0x165730(0x1b4)](_0x1e2b77){const _0x31c0b3=a53_0x165730,_0xfb75b4={'LaDri':function(_0x8864ff){return _0x8864ff();},'ZSaGU':function(_0x34ca0e,_0x4e4e81,_0x3c099c){return _0x34ca0e(_0x4e4e81,_0x3c099c);},'ZtKHq':_0x31c0b3(0x18b),'ceAIi':_0x31c0b3(0x1cc),'HArKt':'cdp','DzvOd':_0x31c0b3(0x1c1),'SNHHC':function(_0x45fc2b,_0x463551){return _0x45fc2b===_0x463551;},'zZaze':function(_0x1a9c51,_0x357715){return _0x1a9c51+_0x357715;},'Ccckv':_0x31c0b3(0x18e)},_0x42f085=_0xfb75b4[_0x31c0b3(0x18d)](getBrowserstackCLI),_0x5608d4=_0xfb75b4[_0x31c0b3(0x1d0)](nestedKeyValue,_0x42f085[_0x31c0b3(0x1cf)]()[_0x31c0b3(0x185)](),[_0xfb75b4[_0x31c0b3(0x1c7)],_0xfb75b4[_0x31c0b3(0x191)],_0xfb75b4['HArKt']]),_0x3833c8=(_0x5608d4?_0x5608d4[_0x31c0b3(0x179)](/^https:/,_0xfb75b4[_0x31c0b3(0x1d4)]):null)||constants[_0x31c0b3(0x1be)];let _0x56fcb1;if(!_0x1e2b77||_0xfb75b4[_0x31c0b3(0x17a)](_0x1e2b77,''))_0x56fcb1=_0x3833c8;else{const _0x42c59c=_0x3833c8[_0x31c0b3(0x1a6)]('/')?_0x3833c8:_0xfb75b4['zZaze'](_0x3833c8,'/');_0x56fcb1=new URL(_0x1e2b77,_0x42c59c)['toString']();}return!_0x56fcb1[_0x31c0b3(0x1a6)](_0xfb75b4[_0x31c0b3(0x1c2)])&&(_0x56fcb1+=_0xfb75b4['Ccckv']),_0x56fcb1;}}function a53_0xdfa2(_0x231ac3,_0x16cd37){const _0x9904f=a53_0x9904();return a53_0xdfa2=function(_0xdfa28,_0x344f65){_0xdfa28=_0xdfa28-0x179;let _0x2279b1=_0x9904f[_0xdfa28];return _0x2279b1;},a53_0xdfa2(_0x231ac3,_0x16cd37);}module[a53_0x165730(0x1bf)]=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a54_0x2c8e(_0x141e18,_0x33fa4a){const _0x5d805d=a54_0x5d80();return a54_0x2c8e=function(_0x2c8ea5,_0x3009bd){_0x2c8ea5=_0x2c8ea5-0xf5;let _0x3c27f1=_0x5d805d[_0x2c8ea5];return _0x3c27f1;},a54_0x2c8e(_0x141e18,_0x33fa4a);}const a54_0xb7d824=a54_0x2c8e;(function(_0x361d4c,_0x52bd44){const _0x26e911=a54_0x2c8e,_0x1327e9=_0x361d4c();while(!![]){try{const _0x285c79=parseInt(_0x26e911(0x15b))/0x1+-parseInt(_0x26e911(0xff))/0x2+parseInt(_0x26e911(0x12a))/0x3*(-parseInt(_0x26e911(0x14e))/0x4)+-parseInt(_0x26e911(0xfa))/0x5+-parseInt(_0x26e911(0x14c))/0x6+parseInt(_0x26e911(0x12c))/0x7*(parseInt(_0x26e911(0x153))/0x8)+parseInt(_0x26e911(0x113))/0x9*(parseInt(_0x26e911(0x149))/0xa);if(_0x285c79===_0x52bd44)break;else _0x1327e9['push'](_0x1327e9['shift']());}catch(_0x10d24c){_0x1327e9['push'](_0x1327e9['shift']());}}}(a54_0x5d80,0x5bd12));const logger=require('../../helpers/logger')[a54_0xb7d824(0x140)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a54_0xb7d824(0x122)),constants=require(a54_0xb7d824(0xf6));class ClientTroubleShootingService{static [a54_0xb7d824(0x123)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a54_0xb7d824(0xfe)](_0x408085){const _0x2c8e1f=a54_0xb7d824,_0xbd756c={};_0xbd756c['MfvHl']=function(_0x44f3df,_0x29ea0d){return _0x44f3df!==_0x29ea0d;};const _0x21a7a8=_0xbd756c;try{if(BrowserstackCLI[_0x2c8e1f(0x150)]()[_0x2c8e1f(0x157)]()){const _0x52ca3e=await GrpcClient[_0x2c8e1f(0x150)]()[_0x2c8e1f(0x110)](_0x408085);if(_0x21a7a8[_0x2c8e1f(0x148)](_0x52ca3e,null)&&_0x52ca3e['getSuccess']())return{'errorCode':_0x52ca3e[_0x2c8e1f(0x11b)](),'errorMessage':_0x52ca3e['getErrorMessage']()};return{};}}catch(_0x2806f7){return this[_0x2c8e1f(0x120)](_0x2c8e1f(0x11d)+_0x408085+':',_0x2806f7),{};}}static async['getAggregatedErrorCodes'](){const _0x538856=a54_0xb7d824,_0x5ab285={};_0x5ab285[_0x538856(0xfb)]=function(_0x30c917,_0x196b6f){return _0x30c917!==_0x196b6f;},_0x5ab285[_0x538856(0x12b)]=_0x538856(0x13c),_0x5ab285[_0x538856(0x124)]=_0x538856(0x14a);const _0x549413=_0x5ab285;try{if(BrowserstackCLI[_0x538856(0x150)]()['isRunning']()){const _0x43085f=await GrpcClient['getInstance']()['getAggregatedClientTroubleshootingErrors']();if(_0x549413['VpWBL'](_0x43085f,null)&&_0x43085f['getSuccess']()){const _0x1a615a=Buffer[_0x538856(0xfc)](_0x43085f[_0x538856(0x116)](),_0x549413[_0x538856(0x12b)])[_0x538856(0x139)](),_0xe30e21=_0x1a615a?JSON['parse'](_0x1a615a):[],_0x3c0e46=_0x43085f[_0x538856(0x102)](),_0x5afced=_0x43085f['getFinalErrorMessage'](),_0x375fc9=Buffer[_0x538856(0xfc)](_0x43085f['getErrorCodesOccurredInCli'](),_0x549413[_0x538856(0x12b)])['toString'](),_0x14e721=_0x375fc9?JSON['parse'](_0x375fc9):[],_0x187ec4={};return _0x187ec4['errorCodes']=_0xe30e21,_0x187ec4[_0x538856(0x134)]=_0x3c0e46,_0x187ec4[_0x538856(0x14f)]=_0x5afced,_0x187ec4[_0x538856(0x11a)]=_0x14e721,_0x187ec4;}const _0x516265={};return _0x516265['errorCodes']=[],_0x516265['documentationLink']='',_0x516265[_0x538856(0x14f)]='',_0x516265[_0x538856(0x11a)]=[],_0x516265;}const _0x4fad0c={};return _0x4fad0c['errorCodes']=[],_0x4fad0c['documentationLink']='',_0x4fad0c[_0x538856(0x14f)]='',_0x4fad0c[_0x538856(0x11a)]=[],_0x4fad0c;}catch(_0x1a5e96){this[_0x538856(0x120)](_0x549413[_0x538856(0x124)],_0x1a5e96);const _0x293e27={};return _0x293e27[_0x538856(0x13f)]=[],_0x293e27[_0x538856(0x134)]='',_0x293e27[_0x538856(0x14f)]='',_0x293e27[_0x538856(0x11a)]=[],_0x293e27;}}static[a54_0xb7d824(0x146)](_0x503efd,_0x58fbfe){const _0x11374a=a54_0xb7d824;logger[_0x11374a(0x106)](_0x503efd+':\x20'+_0x58fbfe);}static[a54_0xb7d824(0x133)](_0x438e85){const _0x2697ec=a54_0xb7d824,_0x4b1239={};_0x4b1239[_0x2697ec(0x118)]=function(_0x234222,_0x8342ee){return _0x234222!=_0x8342ee;},_0x4b1239[_0x2697ec(0x11f)]=function(_0x50ea69,_0x3dc12d){return _0x50ea69>_0x3dc12d;};const _0x2faca3=_0x4b1239,_0xc44421=[];if(_0x2faca3['sDtVs'](_0x438e85,null)&&_0x2faca3[_0x2697ec(0x118)](_0x438e85[_0x2697ec(0x11a)],null)&&_0x2faca3[_0x2697ec(0x11f)](_0x438e85[_0x2697ec(0x11a)][_0x2697ec(0x111)],0x0))for(const _0x375027 of _0x438e85[_0x2697ec(0x11a)]){_0x2faca3['sDtVs'](_0x375027[_0x2697ec(0x13b)],null)&&_0x2faca3[_0x2697ec(0x118)](_0x375027['errorMessage'],null)&&(_0xc44421[_0x2697ec(0x12f)](_0x375027['errorCode']),this['logSituation'](_0x375027[_0x2697ec(0x13b)],_0x375027[_0x2697ec(0x105)]));}return _0xc44421;}static[a54_0xb7d824(0x131)](){const _0x424c7c=a54_0xb7d824;return this[_0x424c7c(0x123)];}static[a54_0xb7d824(0x120)](_0x39ad83,_0x3633a9){const _0x362f4b=a54_0xb7d824,_0x641667={};_0x641667['bzsgw']=function(_0x566481,_0x30449c){return _0x566481===_0x30449c;},_0x641667[_0x362f4b(0x156)]=_0x362f4b(0x152);const _0x43b854=_0x641667;if(_0x43b854[_0x362f4b(0xfd)](typeof _0x3633a9,_0x43b854['gBkXE']))try{logger[_0x362f4b(0xf9)](_0x362f4b(0x10c)+_0x39ad83+'\x20'+JSON[_0x362f4b(0xf5)](_0x3633a9));}catch(_0x4008aa){logger[_0x362f4b(0xf9)](_0x362f4b(0x10c)+_0x39ad83+'\x20'+_0x3633a9);}else logger[_0x362f4b(0xf9)](_0x362f4b(0x10c)+_0x39ad83+'\x20'+_0x3633a9);}static async[a54_0xb7d824(0x107)](_0x58f4b5){const _0x398d09=a54_0xb7d824,_0x3b02c2={};_0x3b02c2[_0x398d09(0x155)]=_0x398d09(0x130),_0x3b02c2[_0x398d09(0x117)]=function(_0x1ed260,_0x212ea1){return _0x1ed260===_0x212ea1;},_0x3b02c2[_0x398d09(0x137)]=_0x398d09(0x10a),_0x3b02c2['ABpwR']=_0x398d09(0x132);const _0x35f5b1=_0x3b02c2,_0x3d5f2a=await this['getErrorDetails'](_0x35f5b1[_0x398d09(0x155)]);if(_0x35f5b1[_0x398d09(0x117)](Object[_0x398d09(0x138)](_0x3d5f2a)[_0x398d09(0x111)],0x0)){this[_0x398d09(0x120)](_0x35f5b1[_0x398d09(0x137)],_0x3d5f2a);return;}this['logSituation'](_0x3d5f2a[_0x398d09(0x13b)],_0x3d5f2a[_0x398d09(0x105)]['replace'](_0x35f5b1[_0x398d09(0x126)],_0x58f4b5));}static async['reportSessionLinkingIssue'](){const _0xf75186=a54_0xb7d824,_0x1873b8={};_0x1873b8[_0xf75186(0x12e)]=_0xf75186(0x100),_0x1873b8['iaHzh']=function(_0x19b64d,_0x527e4b){return _0x19b64d===_0x527e4b;},_0x1873b8['JGRNC']=_0xf75186(0x10b);const _0x56ed03=_0x1873b8,_0x199020=await this[_0xf75186(0xfe)](_0x56ed03[_0xf75186(0x12e)]);if(_0x56ed03[_0xf75186(0x125)](Object[_0xf75186(0x138)](_0x199020)[_0xf75186(0x111)],0x0)){this[_0xf75186(0x120)](_0x56ed03[_0xf75186(0x10f)],_0x199020);return;}this['logSituation'](_0x199020[_0xf75186(0x13b)],_0x199020[_0xf75186(0x105)]);}static async[a54_0xb7d824(0x127)](){const _0x206f90=a54_0xb7d824,_0x30307d={};_0x30307d[_0x206f90(0x15a)]=_0x206f90(0x147),_0x30307d[_0x206f90(0x14d)]=function(_0x3365f5,_0x5b190b){return _0x3365f5===_0x5b190b;},_0x30307d[_0x206f90(0x109)]=_0x206f90(0x10e);const _0x5207db=_0x30307d,_0x132177=await this[_0x206f90(0xfe)](_0x5207db[_0x206f90(0x15a)]);if(_0x5207db[_0x206f90(0x14d)](Object[_0x206f90(0x138)](_0x132177)[_0x206f90(0x111)],0x0)){this[_0x206f90(0x120)](_0x5207db['CjewW'],_0x132177);return;}this[_0x206f90(0x146)](_0x132177[_0x206f90(0x13b)],_0x132177[_0x206f90(0x105)]);}static async[a54_0xb7d824(0x135)](){const _0x40b2e5=a54_0xb7d824,_0x278007={};_0x278007['FJBPv']=_0x40b2e5(0x10d),_0x278007['FIaXu']=function(_0x25a6ae,_0x23e5b7){return _0x25a6ae===_0x23e5b7;},_0x278007[_0x40b2e5(0x142)]=_0x40b2e5(0x115);const _0xa87b1e=_0x278007,_0x2697cb=await this[_0x40b2e5(0xfe)](_0xa87b1e[_0x40b2e5(0x108)]);if(_0xa87b1e[_0x40b2e5(0x13a)](Object['keys'](_0x2697cb)[_0x40b2e5(0x111)],0x0)){this[_0x40b2e5(0x120)](_0xa87b1e[_0x40b2e5(0x142)],_0x2697cb);return;}this[_0x40b2e5(0x146)](_0x2697cb[_0x40b2e5(0x13b)],_0x2697cb['errorMessage']);}static[a54_0xb7d824(0x13d)](){const _0x50b67b=a54_0xb7d824,_0x29c213={};_0x29c213[_0x50b67b(0x136)]=_0x50b67b(0x119),_0x29c213['pCwPO']=function(_0x58ae5c,_0x5ee164){return _0x58ae5c===_0x5ee164;},_0x29c213['rQPFV']=_0x50b67b(0x141);const _0x19e4f7=_0x29c213,_0x337589=constants[_0x50b67b(0xf7)][_0x19e4f7[_0x50b67b(0x136)]];if(_0x19e4f7[_0x50b67b(0x128)](Object['keys'](_0x337589)[_0x50b67b(0x111)],0x0)){this['logError'](_0x19e4f7[_0x50b67b(0x151)],_0x337589);return;}this[_0x50b67b(0x154)]['add'](_0x337589[0x0]),this[_0x50b67b(0x146)](_0x337589[0x0],_0x337589[0x1]);}static async[a54_0xb7d824(0x158)](_0x3fa787){const _0x4929e1=a54_0xb7d824,_0x362c0d={};_0x362c0d[_0x4929e1(0x11e)]=_0x4929e1(0x103),_0x362c0d['HAYlO']=function(_0x2b4f2e,_0x35a368){return _0x2b4f2e===_0x35a368;},_0x362c0d[_0x4929e1(0xf8)]=_0x4929e1(0x112),_0x362c0d[_0x4929e1(0x144)]='{ENV_VAR}';const _0x58ab2e=_0x362c0d,_0x5b69e9=await this[_0x4929e1(0xfe)](_0x58ab2e[_0x4929e1(0x11e)]);if(_0x58ab2e['HAYlO'](Object[_0x4929e1(0x138)](_0x5b69e9)[_0x4929e1(0x111)],0x0)){this[_0x4929e1(0x120)](_0x58ab2e[_0x4929e1(0xf8)],_0x5b69e9);return;}const _0x2a0645=_0x5b69e9[_0x4929e1(0x105)]['replace'](_0x58ab2e['Pahzc'],_0x3fa787);this[_0x4929e1(0x146)](_0x5b69e9['errorCode'],_0x2a0645);}static async[a54_0xb7d824(0x12d)](){const _0x2e8cd3=a54_0xb7d824,_0x21be28={};_0x21be28[_0x2e8cd3(0x11c)]=function(_0x127b94,_0x266664){return _0x127b94>_0x266664;},_0x21be28[_0x2e8cd3(0x145)]=function(_0x13d620,_0x34ab99){return _0x13d620>_0x34ab99;},_0x21be28[_0x2e8cd3(0x114)]=_0x2e8cd3(0x159),_0x21be28[_0x2e8cd3(0x121)]='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0xa5ae3f=_0x21be28,_0x2601c2=await this[_0x2e8cd3(0x13e)](),_0x16b1c3=this['checkForErrorsOccuredInCLI'](_0x2601c2),_0x4da692=Array[_0x2e8cd3(0x104)](_0x2601c2['errorCodes'])?_0x2601c2[_0x2e8cd3(0x13f)]:[],_0x3d358a=_0xa5ae3f['jpitt'](this[_0x2e8cd3(0x154)][_0x2e8cd3(0x143)],0x0)?Array[_0x2e8cd3(0xfc)](this[_0x2e8cd3(0x154)]):[],_0x2ab933=new Set([..._0x4da692,..._0x16b1c3,..._0x3d358a]),_0x598980=Array['from'](_0x2ab933);if(_0xa5ae3f['dbrod'](_0x598980['length'],0x0)){const _0x38d409=_0x2601c2[_0x2e8cd3(0x14f)][_0x2e8cd3(0x14b)](_0xa5ae3f[_0x2e8cd3(0x114)],_0x598980[_0x2e8cd3(0x129)](',\x20'))[_0x2e8cd3(0x14b)](_0xa5ae3f['ggPsC'],_0x2601c2['documentationLink']);logger[_0x2e8cd3(0x106)](_0x38d409),this[_0x2e8cd3(0x123)]=_0x598980;}}}function a54_0x5d80(){const _0x3aa9bc=['ABpwR','reportConnectivityIssue','pCwPO','join','96liyrmY','RlZmX','7wBdAtb','reportFinalDetectionState','Zaoac','push','Process\x20Interruption','getCachedErrorCodes','{SIGNAL}','checkForErrorsOccuredInCLI','documentationLink','reportSSLCertIssue','QaNNe','NAAFg','keys','toString','FIaXu','errorCode','base64','reportDotBrowserStackFolderNotAccessibleIssue','getAggregatedErrorCodes','errorCodes','winstonLogger','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','pDNIc','size','Pahzc','dbrod','logSituation','browserstack\x20cloud\x20not\x20reachable','MfvHl','11144370bQfDxS','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','replace','4376460GlxFcR','omRAB','19048olJbNf','finalErrorMessage','getInstance','rQPFV','object','3797104MGMmzq','errorCodesOccurredWhenCLINotRunning','XfJAq','gBkXE','isRunning','reportConflictingEnvVarIssue','{ERROR_CODES}','uQowD','260770vPsyKh','stringify','./constants','CLIENT_TROUBLESHOOTING_HASH','EpmOC','error','2741080SGIbIh','VpWBL','from','bzsgw','getErrorDetails','87506kRQLRd','Session\x20Linking\x20Issue','exports','getDocumentationLink','conflicting\x20env\x20var\x20detected','isArray','errorMessage','warn','reportProcessInterruptionSituation','FJBPv','CjewW','Process\x20Interruption\x20details\x20not\x20found:','Session\x20Linking\x20Issue\x20details\x20not\x20found','[ClientTroubleShootingService]\x20','ssl\x20cert\x20issue','Connectivity\x20Issue\x20details\x20not\x20found','JGRNC','reportClientTroubleshootingError','length','Conflicting\x20Env\x20Var\x20details\x20not\x20found','9hfWKYx','kEWlB','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getErrorCodes','wErmZ','sDtVs','.browserstack\x20folder\x20not\x20accessible','errorCodesOccurredInCLI','getErrorCode','jpitt','Error\x20in\x20getting\x20error\x20details\x20for\x20','rLToz','YyCAm','logError','ggPsC','../v2/grpcClient','cachedErrorCodes','zEKoh','iaHzh'];a54_0x5d80=function(){return _0x3aa9bc;};return a54_0x5d80();}module[a54_0xb7d824(0x101)]=ClientTroubleShootingService;
|
|
1
|
+
function a54_0x17ec(){const _0x3a759d=['../../helpers/logger','finalErrorMessage','length','join','checkForErrorsOccuredInCLI','3YFsZyb','bkQAq','reportConflictingEnvVarIssue','errorCodes','QpHIO','CLIENT_TROUBLESHOOTING_HASH','dUDMd','MJsVz','logSituation','hTyxd','errorCodesOccurredInCLI','DZyWL','getDocumentationLink','Session\x20Linking\x20Issue\x20details\x20not\x20found','LAcRh','1843970hjrwoe','toString','getInstance','cMgvJ','../v2/browserstackCLI','exports','{ERROR_CODES}','push','otifB','jEmil','214793GRcrPg','reportSSLCertIssue','browserstack\x20cloud\x20not\x20reachable','replace','xniZK','reportClientTroubleshootingError','sErtQ','getErrorMessage','{ENV_VAR}','getErrorCodesOccurredInCli','logError','Conflicting\x20Env\x20Var\x20details\x20not\x20found','WXvqb','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','[ClientTroubleShootingService]\x20','getErrorDetails','73936xRNjBQ','../v2/grpcClient','getAggregatedErrorCodes','yaeqZ','getAggregatedClientTroubleshootingErrors','keys','object','aGbVP','reportSessionLinkingIssue','Process\x20Interruption\x20details\x20not\x20found:','qHMpo','Xfeyb','135DthIJg','qgOxL','MzSok','285388rcpams','561676sOGdeY','ssl\x20cert\x20issue','error','errorCodesOccurredWhenCLINotRunning','Djywj','Process\x20Interruption','winstonLogger','getFinalErrorMessage','parse','1578282hWQPiB','Error\x20in\x20getting\x20error\x20details\x20for\x20','getErrorCodes','LudzL','./constants','add','size','documentationLink','fnFTR','reportProcessInterruptionSituation','SatVW','cachedErrorCodes','14qGkcAi','kvsLj','errorCode','getErrorCode','warn','BkPbl','conflicting\x20env\x20var\x20detected','reportConnectivityIssue','wLNkr','getSuccess','from','Session\x20Linking\x20Issue','HjODr','isRunning','.browserstack\x20folder\x20not\x20accessible','IovBJ','MIyUM','AdeGZ','2948655EwVqGt','{SIGNAL}','isArray','errorMessage','getCachedErrorCodes','reportFinalDetectionState'];a54_0x17ec=function(){return _0x3a759d;};return a54_0x17ec();}function a54_0x293b(_0x57397e,_0xf0f246){const _0x17ec4a=a54_0x17ec();return a54_0x293b=function(_0x293b28,_0x49630c){_0x293b28=_0x293b28-0x197;let _0x38d159=_0x17ec4a[_0x293b28];return _0x38d159;},a54_0x293b(_0x57397e,_0xf0f246);}const a54_0x2acb82=a54_0x293b;(function(_0x5b20cd,_0x120181){const _0x93d59c=a54_0x293b,_0x295f55=_0x5b20cd();while(!![]){try{const _0x4aaaeb=parseInt(_0x93d59c(0x200))/0x1+parseInt(_0x93d59c(0x1b5))/0x2+-parseInt(_0x93d59c(0x1e7))/0x3*(-parseInt(_0x93d59c(0x1b4))/0x4)+parseInt(_0x93d59c(0x1dc))/0x5+-parseInt(_0x93d59c(0x1be))/0x6*(parseInt(_0x93d59c(0x1ca))/0x7)+-parseInt(_0x93d59c(0x1a5))/0x8*(parseInt(_0x93d59c(0x1b1))/0x9)+-parseInt(_0x93d59c(0x1f6))/0xa;if(_0x4aaaeb===_0x120181)break;else _0x295f55['push'](_0x295f55['shift']());}catch(_0x104367){_0x295f55['push'](_0x295f55['shift']());}}}(a54_0x17ec,0x4b184));const logger=require(a54_0x2acb82(0x1e2))[a54_0x2acb82(0x1bb)],BrowserstackCLI=require(a54_0x2acb82(0x1fa)),GrpcClient=require(a54_0x2acb82(0x1a6)),constants=require(a54_0x2acb82(0x1c2));class ClientTroubleShootingService{static ['cachedErrorCodes']=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a54_0x2acb82(0x1a4)](_0x4507e3){const _0x4fc365=a54_0x2acb82,_0x64d0a2={};_0x64d0a2[_0x4fc365(0x1a1)]=function(_0x585678,_0x392231){return _0x585678!==_0x392231;};const _0x5e61df=_0x64d0a2;try{if(BrowserstackCLI[_0x4fc365(0x1f8)]()[_0x4fc365(0x1d7)]()){const _0x2f9496=await GrpcClient[_0x4fc365(0x1f8)]()[_0x4fc365(0x19a)](_0x4507e3);if(_0x5e61df[_0x4fc365(0x1a1)](_0x2f9496,null)&&_0x2f9496['getSuccess']())return{'errorCode':_0x2f9496[_0x4fc365(0x1cd)](),'errorMessage':_0x2f9496[_0x4fc365(0x19c)]()};return{};}}catch(_0x722c8f){return this[_0x4fc365(0x19f)](_0x4fc365(0x1bf)+_0x4507e3+':',_0x722c8f),{};}}static async[a54_0x2acb82(0x1a7)](){const _0x541a5d=a54_0x2acb82,_0x582639={};_0x582639['HjODr']=function(_0x52de92,_0x5128a2){return _0x52de92!==_0x5128a2;},_0x582639['BkPbl']='base64',_0x582639[_0x541a5d(0x1f5)]='Error\x20in\x20getting\x20aggregated\x20error\x20codes:';const _0x32c0e6=_0x582639;try{if(BrowserstackCLI[_0x541a5d(0x1f8)]()[_0x541a5d(0x1d7)]()){const _0x1b41c5=await GrpcClient[_0x541a5d(0x1f8)]()[_0x541a5d(0x1a9)]();if(_0x32c0e6[_0x541a5d(0x1d6)](_0x1b41c5,null)&&_0x1b41c5[_0x541a5d(0x1d3)]()){const _0x30342d=Buffer[_0x541a5d(0x1d4)](_0x1b41c5[_0x541a5d(0x1c0)](),_0x32c0e6[_0x541a5d(0x1cf)])[_0x541a5d(0x1f7)](),_0x23a5a4=_0x30342d?JSON[_0x541a5d(0x1bd)](_0x30342d):[],_0x159032=_0x1b41c5[_0x541a5d(0x1f3)](),_0x1729ac=_0x1b41c5[_0x541a5d(0x1bc)](),_0x82e09b=Buffer[_0x541a5d(0x1d4)](_0x1b41c5[_0x541a5d(0x19e)](),_0x32c0e6[_0x541a5d(0x1cf)])[_0x541a5d(0x1f7)](),_0x5cdbaf=_0x82e09b?JSON['parse'](_0x82e09b):[],_0x432544={};return _0x432544[_0x541a5d(0x1ea)]=_0x23a5a4,_0x432544[_0x541a5d(0x1c5)]=_0x159032,_0x432544[_0x541a5d(0x1e3)]=_0x1729ac,_0x432544[_0x541a5d(0x1f1)]=_0x5cdbaf,_0x432544;}const _0x25cba2={};return _0x25cba2[_0x541a5d(0x1ea)]=[],_0x25cba2['documentationLink']='',_0x25cba2[_0x541a5d(0x1e3)]='',_0x25cba2[_0x541a5d(0x1f1)]=[],_0x25cba2;}const _0x23345c={};return _0x23345c[_0x541a5d(0x1ea)]=[],_0x23345c['documentationLink']='',_0x23345c[_0x541a5d(0x1e3)]='',_0x23345c['errorCodesOccurredInCLI']=[],_0x23345c;}catch(_0x11bf44){this[_0x541a5d(0x19f)](_0x32c0e6[_0x541a5d(0x1f5)],_0x11bf44);const _0x2c5d56={};return _0x2c5d56['errorCodes']=[],_0x2c5d56[_0x541a5d(0x1c5)]='',_0x2c5d56['finalErrorMessage']='',_0x2c5d56[_0x541a5d(0x1f1)]=[],_0x2c5d56;}}static[a54_0x2acb82(0x1ef)](_0x17235d,_0x551537){const _0x1dedaf=a54_0x2acb82;logger[_0x1dedaf(0x1ce)](_0x17235d+':\x20'+_0x551537);}static[a54_0x2acb82(0x1e6)](_0x2f64fd){const _0x34aff9=a54_0x2acb82,_0x5ceb9e={};_0x5ceb9e[_0x34aff9(0x199)]=function(_0x3ac2b0,_0x5764c3){return _0x3ac2b0!=_0x5764c3;},_0x5ceb9e[_0x34aff9(0x1eb)]=function(_0x4f060b,_0x3273b0){return _0x4f060b>_0x3273b0;},_0x5ceb9e[_0x34aff9(0x1f0)]=function(_0x54d4fd,_0x585574){return _0x54d4fd!=_0x585574;};const _0x31aa77=_0x5ceb9e,_0x3a17ba=[];if(_0x31aa77[_0x34aff9(0x199)](_0x2f64fd,null)&&_0x31aa77[_0x34aff9(0x199)](_0x2f64fd[_0x34aff9(0x1f1)],null)&&_0x31aa77[_0x34aff9(0x1eb)](_0x2f64fd[_0x34aff9(0x1f1)][_0x34aff9(0x1e4)],0x0))for(const _0x5ebe08 of _0x2f64fd['errorCodesOccurredInCLI']){_0x31aa77['hTyxd'](_0x5ebe08[_0x34aff9(0x1cc)],null)&&_0x31aa77[_0x34aff9(0x1f0)](_0x5ebe08[_0x34aff9(0x1df)],null)&&(_0x3a17ba[_0x34aff9(0x1fd)](_0x5ebe08[_0x34aff9(0x1cc)]),this[_0x34aff9(0x1ef)](_0x5ebe08[_0x34aff9(0x1cc)],_0x5ebe08['errorMessage']));}return _0x3a17ba;}static[a54_0x2acb82(0x1e0)](){const _0x31194d=a54_0x2acb82;return this[_0x31194d(0x1c9)];}static[a54_0x2acb82(0x19f)](_0x19e3dc,_0x6eb688){const _0x446501=a54_0x2acb82,_0x7136d4={};_0x7136d4['cMgvJ']=function(_0x44feb4,_0x5e9110){return _0x44feb4===_0x5e9110;},_0x7136d4[_0x446501(0x1f2)]=_0x446501(0x1ab);const _0xfc9302=_0x7136d4;if(_0xfc9302[_0x446501(0x1f9)](typeof _0x6eb688,_0xfc9302[_0x446501(0x1f2)]))try{logger[_0x446501(0x1b7)](_0x446501(0x1a3)+_0x19e3dc+'\x20'+JSON['stringify'](_0x6eb688));}catch(_0x448a13){logger[_0x446501(0x1b7)](_0x446501(0x1a3)+_0x19e3dc+'\x20'+_0x6eb688);}else logger[_0x446501(0x1b7)](_0x446501(0x1a3)+_0x19e3dc+'\x20'+_0x6eb688);}static async[a54_0x2acb82(0x1c7)](_0x5bcbee){const _0x2e41d5=a54_0x2acb82,_0xfe39e1={};_0xfe39e1['AdeGZ']=_0x2e41d5(0x1ba),_0xfe39e1['aGbVP']=function(_0x4114ab,_0x46cd63){return _0x4114ab===_0x46cd63;},_0xfe39e1[_0x2e41d5(0x1b0)]=_0x2e41d5(0x1ae),_0xfe39e1[_0x2e41d5(0x19b)]=_0x2e41d5(0x1dd);const _0x26b014=_0xfe39e1,_0x2ee39b=await this[_0x2e41d5(0x1a4)](_0x26b014[_0x2e41d5(0x1db)]);if(_0x26b014[_0x2e41d5(0x1ac)](Object[_0x2e41d5(0x1aa)](_0x2ee39b)[_0x2e41d5(0x1e4)],0x0)){this[_0x2e41d5(0x19f)](_0x26b014[_0x2e41d5(0x1b0)],_0x2ee39b);return;}this['logSituation'](_0x2ee39b[_0x2e41d5(0x1cc)],_0x2ee39b[_0x2e41d5(0x1df)][_0x2e41d5(0x198)](_0x26b014[_0x2e41d5(0x19b)],_0x5bcbee));}static async[a54_0x2acb82(0x1ad)](){const _0x23b4a7=a54_0x2acb82,_0x2f0114={};_0x2f0114[_0x23b4a7(0x1ee)]=_0x23b4a7(0x1d5),_0x2f0114[_0x23b4a7(0x1a8)]=function(_0x2e5855,_0x1734cb){return _0x2e5855===_0x1734cb;},_0x2f0114['BHJBK']=_0x23b4a7(0x1f4);const _0x97270=_0x2f0114,_0xe5a504=await this[_0x23b4a7(0x1a4)](_0x97270['MJsVz']);if(_0x97270['yaeqZ'](Object['keys'](_0xe5a504)[_0x23b4a7(0x1e4)],0x0)){this[_0x23b4a7(0x19f)](_0x97270['BHJBK'],_0xe5a504);return;}this[_0x23b4a7(0x1ef)](_0xe5a504[_0x23b4a7(0x1cc)],_0xe5a504['errorMessage']);}static async[a54_0x2acb82(0x1d1)](){const _0x5311c2=a54_0x2acb82,_0x10e5e7={};_0x10e5e7[_0x5311c2(0x1b2)]=_0x5311c2(0x197),_0x10e5e7['bkQAq']=function(_0x374933,_0x2f8a56){return _0x374933===_0x2f8a56;},_0x10e5e7[_0x5311c2(0x1b9)]='Connectivity\x20Issue\x20details\x20not\x20found';const _0x5ec847=_0x10e5e7,_0x59f227=await this[_0x5311c2(0x1a4)](_0x5ec847['qgOxL']);if(_0x5ec847[_0x5311c2(0x1e8)](Object[_0x5311c2(0x1aa)](_0x59f227)[_0x5311c2(0x1e4)],0x0)){this['logError'](_0x5ec847[_0x5311c2(0x1b9)],_0x59f227);return;}this[_0x5311c2(0x1ef)](_0x59f227['errorCode'],_0x59f227[_0x5311c2(0x1df)]);}static async[a54_0x2acb82(0x201)](){const _0x107957=a54_0x2acb82,_0x5b4972={};_0x5b4972[_0x107957(0x1fe)]=_0x107957(0x1b6),_0x5b4972[_0x107957(0x1d2)]=function(_0x5538cd,_0xd29202){return _0x5538cd===_0xd29202;},_0x5b4972['tmznH']='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0x3714eb=_0x5b4972,_0x25842b=await this[_0x107957(0x1a4)](_0x3714eb[_0x107957(0x1fe)]);if(_0x3714eb[_0x107957(0x1d2)](Object[_0x107957(0x1aa)](_0x25842b)['length'],0x0)){this[_0x107957(0x19f)](_0x3714eb['tmznH'],_0x25842b);return;}this[_0x107957(0x1ef)](_0x25842b[_0x107957(0x1cc)],_0x25842b['errorMessage']);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0xafca9=a54_0x2acb82,_0x3287b1={};_0x3287b1[_0xafca9(0x1ed)]=_0xafca9(0x1d8),_0x3287b1[_0xafca9(0x1c8)]=function(_0x2d9542,_0x17c154){return _0x2d9542===_0x17c154;},_0x3287b1['IovBJ']=_0xafca9(0x1a2);const _0x3b0d76=_0x3287b1,_0x5c5729=constants[_0xafca9(0x1ec)][_0x3b0d76[_0xafca9(0x1ed)]];if(_0x3b0d76[_0xafca9(0x1c8)](Object[_0xafca9(0x1aa)](_0x5c5729)[_0xafca9(0x1e4)],0x0)){this[_0xafca9(0x19f)](_0x3b0d76[_0xafca9(0x1d9)],_0x5c5729);return;}this[_0xafca9(0x1b8)][_0xafca9(0x1c3)](_0x5c5729[0x0]),this[_0xafca9(0x1ef)](_0x5c5729[0x0],_0x5c5729[0x1]);}static async[a54_0x2acb82(0x1e9)](_0x1334fa){const _0xd36e9d=a54_0x2acb82,_0x42a422={};_0x42a422['fnFTR']=_0xd36e9d(0x1d0),_0x42a422['jEmil']=function(_0x52c314,_0xac386c){return _0x52c314===_0xac386c;},_0x42a422[_0xd36e9d(0x1cb)]=_0xd36e9d(0x1a0),_0x42a422['MIyUM']=_0xd36e9d(0x19d);const _0x2dfc6e=_0x42a422,_0x2fad20=await this['getErrorDetails'](_0x2dfc6e[_0xd36e9d(0x1c6)]);if(_0x2dfc6e[_0xd36e9d(0x1ff)](Object['keys'](_0x2fad20)['length'],0x0)){this[_0xd36e9d(0x19f)](_0x2dfc6e['kvsLj'],_0x2fad20);return;}const _0x330f57=_0x2fad20['errorMessage'][_0xd36e9d(0x198)](_0x2dfc6e[_0xd36e9d(0x1da)],_0x1334fa);this['logSituation'](_0x2fad20[_0xd36e9d(0x1cc)],_0x330f57);}static async[a54_0x2acb82(0x1e1)](){const _0x4369d7=a54_0x2acb82,_0x2d657e={};_0x2d657e['qHMpo']=function(_0x16a1d9,_0x1b4485){return _0x16a1d9>_0x1b4485;},_0x2d657e['MzSok']=_0x4369d7(0x1fc),_0x2d657e[_0x4369d7(0x1c1)]='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x42af80=_0x2d657e,_0x251fa1=await this['getAggregatedErrorCodes'](),_0x57e1c1=this['checkForErrorsOccuredInCLI'](_0x251fa1),_0x461eee=Array[_0x4369d7(0x1de)](_0x251fa1[_0x4369d7(0x1ea)])?_0x251fa1[_0x4369d7(0x1ea)]:[],_0x4365bf=_0x42af80[_0x4369d7(0x1af)](this[_0x4369d7(0x1b8)][_0x4369d7(0x1c4)],0x0)?Array['from'](this[_0x4369d7(0x1b8)]):[],_0x355da5=new Set([..._0x461eee,..._0x57e1c1,..._0x4365bf]),_0x3f5e38=Array[_0x4369d7(0x1d4)](_0x355da5);if(_0x42af80[_0x4369d7(0x1af)](_0x3f5e38[_0x4369d7(0x1e4)],0x0)){const _0x2ce640=_0x251fa1['finalErrorMessage'][_0x4369d7(0x198)](_0x42af80[_0x4369d7(0x1b3)],_0x3f5e38[_0x4369d7(0x1e5)](',\x20'))['replace'](_0x42af80[_0x4369d7(0x1c1)],_0x251fa1['documentationLink']);logger[_0x4369d7(0x1ce)](_0x2ce640),this[_0x4369d7(0x1c9)]=_0x3f5e38;}}}module[a54_0x2acb82(0x1fb)]=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x123dce=a55_0x4fbe;(function(_0x196c00,_0x32f0b4){const _0x2195af=a55_0x4fbe,_0xdfe28a=_0x196c00();while(!![]){try{const _0x291d3a=-parseInt(_0x2195af(0x143))/0x1+-parseInt(_0x2195af(0xaa))/0x2+parseInt(_0x2195af(0x138))/0x3+-parseInt(_0x2195af(0x9d))/0x4*(-parseInt(_0x2195af(0xdb))/0x5)+parseInt(_0x2195af(0x112))/0x6*(-parseInt(_0x2195af(0xe7))/0x7)+-parseInt(_0x2195af(0x117))/0x8+parseInt(_0x2195af(0xb4))/0x9;if(_0x291d3a===_0x32f0b4)break;else _0xdfe28a['push'](_0xdfe28a['shift']());}catch(_0x33c38d){_0xdfe28a['push'](_0xdfe28a['shift']());}}}(a55_0x2c3e,0x68839));const a55_0x5bb700={};a55_0x5bb700['INFO']=a55_0x123dce(0x97),a55_0x5bb700[a55_0x123dce(0x162)]=a55_0x123dce(0xe5);const a55_0x43b350={};a55_0x43b350[a55_0x123dce(0x14e)]=a55_0x123dce(0x161);function a55_0x2c3e(){const _0xee9eb2=['jest','FRAMEWORKS','ERR_SOCKS_CONNECTION_FAILED','percyCaptureMode','A11Y_SAVE_RESULTS','BROWSERSTACK_APP_AUTOMATE_URL','TEST\x20REPORTING\x20AND\x20ANALYTICS','.ipa','https://automate-preprod.bsstag.com/dashboard/v2/builds/','TCG_DOWN','AUTOLOGCAPTURE_NOTIFICATION','ERR_CONNECTION_TIMED_OUT','firefoxOptions','browserName','testReporting','7|12|11|5|1|8|9|10|6|3|2|4|0','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','proxyUrl','SDKTestInitFailedResponse','BROWSERSTACK','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_SOCKET_NOT_CONNECTED','ERR_CONNECTION_FAILED','authToken','.aab','exports','TCG_AUTH_TIMEOUT','2417733NUGwgG','OBSERVABILITY_UPLOAD_URL','browserstackLocal','USER_CONFIG_DETAILS_PATH','app-automate','https://app-automate.browserstack.com/dashboard/v2/builds/','browserstack.overridelocalInfo.userAuthToken','turboScale','self\x20signed\x20certificate','SELF_SIGNED_CERT_IN_CHAIN','unable\x20to\x20verify\x20the\x20first\x20certificate','767121rCpDgG','https://edsstaging.bsstag.com','platforms','ROOT_REGEX','observability','A11Y_GET_RESULTS','https://automation-preprod.bsstag.com','turboScaleOptions','prod','CLI_SUPPORTED_FRAMEWORKS','SDKTestTcgAuthFailure','INFO','proxyPass','localOptions','codeceptjs-cucumber','SDKTestInvalidTcgAuthResponseWithUserImpact','Cucumber-JS','testObservabilityOptions','wss://cdp.browserstack.com/playwright?caps=','CERT_HAS_EXPIRED','PLAYWRIGHT_HUB_URL','https://automate.browserstack.com/dashboard/v2/builds/','APP_UPLOAD_URL','percy','httpsProxy','testOrchestrationOptions','split','BROWSERSTACK_API_URL','O11Y_URL','BSTACK_DELTA','Run\x20jest\x20tests\x20on\x20browserstack','HELP','OBSERVABILITY_SUPPORTED_FWS','Playwright','BSTACK_URL','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','unable\x20to\x20get\x20local\x20issuer\x20certificate','DEBUG_LOG_FILE_NAME','PLAYWRIGHT_CONFIG_OPTION_ERRORS','https://tcg.bsstag.com','CODECEPTJS','PACKAGE_TYPE','hubUrl','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','browserstack.userName','.apk','percyScreenshot','automate','preprod','codeceptjs','wss://cdp-preprod.bsstag.com/playwright?caps=','AI_PROXY_FAILURE','browserstackAutomation','A11Y_GET_RESULTS_SUMMARY','cucumber','TEST_FRAMEWORK_HOOK_TIMEOUT','env','A11Y_SCAN','CUCUMBER','CLIENT_TROUBLESHOOTING_HASH','shows\x20version\x20information','https://api-preprod.bsstag.com','SDKTestTcgProxyFailure','SET_TCG_TOKEN_TIMEOUT','acceptSslCerts','parallelsPerPlatform','4RCqsMz','https://upload-observability-preprod.bsstag.com','accessibilityOptions','commonjs','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','ROOT_CAPS','ERR_CONNECTION_ABORTED','Run\x20codeceptjs\x20tests\x20on\x20browserstack','strictFileInteractability','SHAREABLE_ID_REGEX','userName','percyOptions','VANILLA','366648EpcOhP','https://upload-observability.browserstack.com','SDKTestTcgtInitSuccessful','localProxyPass','AUTOMATE_PRODUCTS','PRIVATE_DOMAIN_OR_IP_REGEX','INTERNALLY_USED_ENV_VARS','proxySettings','...[TRUNCATED]','MAX_GIT_META_DATA_SIZE_IN_BYTES','16581231wmDyhl','https://api.browserstack.com','AUTOMATION_LOG_COMMANDS','TEST_REPORTING_ANALYTICS','https://tcg.browserstack.com','sdk/v1/event','ERR_ADDRESS_INVALID','playwright','ETXTBSY','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','vanilla','LOG_FILE_NAME','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','invalidTestInputType','DEPTH_ZERO_SELF_SIGNED_CERT','use','CODECEPT_CUCUMBER','TCG_REGION','browserstack-ats.com','localProxyUser','AI_INIT_SUCCESSFUL','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','module','/usage-debug.log','^[a-zA-Z0-9_.-]*$','TCG_URL','CUSTOM_ID_REGEX','https://api-cloud.browserstack.com','https://api-cloud-devtestops.bsstag.com','ATS_WSS_URL_REGEX','JEST','PLAYWRIGHT','ieOptions','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','3|5|2|7|9|6|4|10|0|11|1|8|12','HST','testContextOptions','EDS_URL','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','440710EpkOfQ','ERR_CONNECTION_CLOSED','GIT_META_DATA_TRUNCATED','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','SDK-GEN-001','MODULE','UPGRADE_REQUIRED','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','accessibility','testReportingOptions','Specify\x20--help\x20for\x20available\x20options','httpProxy','5134241TZRqEi','logLevel','ERR_CONNECTION_RESET','rerunTests','ERR_NAME_RESOLUTION_FAILED','HUB_URL_REGEX','POLL_HEALING_RESULT_TIMEOUT','customVariables','HEALING_FAILURE_TIMEOUT','timeouts','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','AI_INIT_FAILURE','NIGHTWATCH','unhandledPromptBehavior','MOCHA','APP_AUTOMATE_PRODUCTS','browserstack.accessKey','framework','BROWSERSTACK_ENV','ERR_FAILED','CODECEPT','ERR_NAME_NOT_RESOLVED','FUNNEL_INSTRUMENTATION_API_URL','GLOBAL_AGENT_NO_PROXY','ERR_ADDRESS_UNREACHABLE','https://upload-observability-devtestops-ssi.bsstag.com','https://hub.browserstack.com/wd/hub','browserVersion','https://apidevtestops.bsstag.com','ObservabilitySync','ERR_TUNNEL_CONNECTION_FAILED','SDKTestTcgDownResponse','UNABLE_TO_VERIFY_LEAF_SIGNATURE','ATS_HUB_URL_REGEX','mocha','testObservability','disableAutoCaptureLogs','PERCY_SUPPORTED_FRAMEWORKS','AI_ENABLED_FRAMEWORK','browserStackLocalOptions','HEALING_LOG_DATA_TIMEOUT','root','VALID_APP_EXTENSION','6pwhyhH','TCG_AUTH_FAILURE','proxyUser','bsstag','BROWSERSTACK_AUTOMATE_URL','4995320BVvgdE','PLAYWRIGHT_TRACE_LOGS','toLowerCase','acceptInsecureCerts','chromeOptions','VERSION'];a55_0x2c3e=function(){return _0xee9eb2;};return a55_0x2c3e();}const a55_0x4f6a9b={};a55_0x4f6a9b['INFO']='Run\x20mocha\x20tests\x20on\x20browserstack';const a55_0xdde9af={};a55_0xdde9af['INFO']='Run\x20cucumber-js\x20tests\x20on\x20browserstack';const a55_0x393987={};a55_0x393987[a55_0x123dce(0x14e)]='Run\x20js\x20tests\x20on\x20browserstack';const a55_0x2b2d13={};a55_0x2b2d13[a55_0x123dce(0x14e)]=a55_0x123dce(0x131);const a55_0x2e0959={};a55_0x2e0959[a55_0x123dce(0x14e)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a55_0x3248dc={};a55_0x3248dc[a55_0x123dce(0x14e)]=a55_0x123dce(0xa4);const a55_0x466462={};a55_0x466462[a55_0x123dce(0x14e)]=a55_0x123dce(0x16e);const a55_0x1a8f12={};a55_0x1a8f12[a55_0x123dce(0x14e)]=a55_0x123dce(0xda);const a55_0x3e2f0f={};a55_0x3e2f0f[a55_0x123dce(0xd3)]='Playwright',a55_0x3e2f0f[a55_0x123dce(0xf5)]=a55_0x123dce(0x109),a55_0x3e2f0f[a55_0x123dce(0xd2)]=a55_0x123dce(0x11d),a55_0x3e2f0f[a55_0x123dce(0xfb)]='codeceptjs',a55_0x3e2f0f[a55_0x123dce(0xc4)]=a55_0x123dce(0x151),a55_0x3e2f0f[a55_0x123dce(0x95)]=a55_0x123dce(0x179),a55_0x3e2f0f[a55_0x123dce(0xa9)]=a55_0x123dce(0xbe);const a55_0x542bb2={};a55_0x542bb2['invalidKeys']=a55_0x123dce(0xe2),a55_0x542bb2['uniqueDependency']=a55_0x123dce(0xde),a55_0x542bb2['mandatoryDependency']=a55_0x123dce(0xc9),a55_0x542bb2[a55_0x123dce(0xc1)]=a55_0x123dce(0xbd);function a55_0x4fbe(_0x59efe2,_0x26aa18){const _0x2c3e95=a55_0x2c3e();return a55_0x4fbe=function(_0x4fbe7a,_0x4caf61){_0x4fbe7a=_0x4fbe7a-0x95;let _0x372009=_0x2c3e95[_0x4fbe7a];return _0x372009;},a55_0x4fbe(_0x59efe2,_0x26aa18);}const a55_0x23da68={};a55_0x23da68['COMMONJS']=a55_0x123dce(0xa0),a55_0x23da68[a55_0x123dce(0xe0)]=a55_0x123dce(0xca);const a55_0xd6c3aa={};a55_0xd6c3aa['Mocha']=0xfde8,a55_0xd6c3aa[a55_0x123dce(0x153)]=0xfde8,a55_0xd6c3aa['Jest']=0x186a0;const a55_0x52dad4={};a55_0x52dad4[a55_0x123dce(0x110)]=[a55_0x123dce(0xa7),'accessKey',a55_0x123dce(0xe6),'httpsProxy','customVariables',a55_0x123dce(0x16f),a55_0x123dce(0xf7),'proxyPassword',a55_0x123dce(0x134),a55_0x123dce(0x12e),a55_0x123dce(0x13e)],a55_0x52dad4['browserStackLocalOptions']=[a55_0x123dce(0x114),a55_0x123dce(0x14f),a55_0x123dce(0xc7),a55_0x123dce(0xad)];const a55_0x5e1ebc={};a55_0x5e1ebc[a55_0x123dce(0x13a)]=a55_0x123dce(0x13a),a55_0x5e1ebc['browserStackLocalOptions']=a55_0x123dce(0x10e),a55_0x5e1ebc[a55_0x123dce(0x150)]=a55_0x123dce(0x10e),a55_0x5e1ebc[a55_0x123dce(0x9c)]=a55_0x123dce(0x9c),a55_0x5e1ebc[a55_0x123dce(0x145)]=a55_0x123dce(0x145),a55_0x5e1ebc[a55_0x123dce(0xe8)]=a55_0x123dce(0xe8),a55_0x5e1ebc['httpProxy']='httpProxy',a55_0x5e1ebc[a55_0x123dce(0x15b)]=a55_0x123dce(0x15b),a55_0x5e1ebc[a55_0x123dce(0xf8)]=a55_0x123dce(0xf8),a55_0x5e1ebc['testContextOptions']=a55_0x123dce(0xd8),a55_0x5e1ebc[a55_0x123dce(0x10a)]=a55_0x123dce(0x10a),a55_0x5e1ebc[a55_0x123dce(0x12b)]=a55_0x123dce(0x12b),a55_0x5e1ebc[a55_0x123dce(0x154)]=a55_0x123dce(0x154),a55_0x5e1ebc[a55_0x123dce(0xe4)]=a55_0x123dce(0xe4),a55_0x5e1ebc[a55_0x123dce(0xee)]=a55_0x123dce(0xee),a55_0x5e1ebc['automation']=a55_0x123dce(0x177),a55_0x5e1ebc[a55_0x123dce(0x177)]=a55_0x123dce(0x177),a55_0x5e1ebc[a55_0x123dce(0xea)]=a55_0x123dce(0xea),a55_0x5e1ebc[a55_0x123dce(0x15a)]=a55_0x123dce(0x15a),a55_0x5e1ebc[a55_0x123dce(0xa8)]=a55_0x123dce(0xa8),a55_0x5e1ebc['percyCaptureMode']=a55_0x123dce(0x120),a55_0x5e1ebc[a55_0x123dce(0x10b)]=a55_0x123dce(0x10b),a55_0x5e1ebc['accessibility']=a55_0x123dce(0xe3),a55_0x5e1ebc[a55_0x123dce(0x9f)]=a55_0x123dce(0x9f),a55_0x5e1ebc['turboScale']=a55_0x123dce(0x13f),a55_0x5e1ebc[a55_0x123dce(0x14a)]='turboScaleOptions',a55_0x5e1ebc[a55_0x123dce(0xb1)]=a55_0x123dce(0xb1),a55_0x5e1ebc[a55_0x123dce(0x15c)]=a55_0x123dce(0x15c);const a55_0x25c0ac={};a55_0x25c0ac['.browserstack\x20folder\x20not\x20accessible']=[a55_0x123dce(0xdf),'[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.'];const a55_0x9eb535={};a55_0x9eb535[a55_0x123dce(0x11c)]=a55_0x5bb700,a55_0x9eb535[a55_0x123dce(0xd2)]=a55_0x43b350,a55_0x9eb535[a55_0x123dce(0xf5)]=a55_0x4f6a9b,a55_0x9eb535[a55_0x123dce(0x95)]=a55_0xdde9af,a55_0x9eb535[a55_0x123dce(0xa9)]=a55_0x393987,a55_0x9eb535[a55_0x123dce(0xf3)]=a55_0x2b2d13,a55_0x9eb535[a55_0x123dce(0xd3)]=a55_0x2e0959,a55_0x9eb535[a55_0x123dce(0x16b)]=a55_0x3248dc,a55_0x9eb535[a55_0x123dce(0xd7)]=a55_0x466462,a55_0x9eb535['INTEGRATIONS']=a55_0x1a8f12,a55_0x9eb535[a55_0x123dce(0x160)]=0xf*0x3c*0x3e8,a55_0x9eb535[a55_0x123dce(0x16d)]=a55_0x123dce(0x101),a55_0x9eb535[a55_0x123dce(0xcd)]=a55_0x123dce(0xb8),a55_0x9eb535[a55_0x123dce(0xc5)]=a55_0x123dce(0xc3),a55_0x9eb535['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x9eb535[a55_0x123dce(0x108)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x9eb535[a55_0x123dce(0xd1)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x9eb535[a55_0x123dce(0xa2)]=[a55_0x123dce(0x11a),'pageLoadStrategy',a55_0x123dce(0xa5),a55_0x123dce(0xf4),a55_0x123dce(0xf0),a55_0x123dce(0x12a),a55_0x123dce(0x102),a55_0x123dce(0x9b),'acceptSslCert',a55_0x123dce(0x11b),a55_0x123dce(0x129),'edgeOptions',a55_0x123dce(0xd4)],a55_0x9eb535[a55_0x123dce(0x146)]=/^[\w-]+:.*$/,a55_0x9eb535[a55_0x123dce(0xaf)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x9eb535[a55_0x123dce(0xd9)]='https://eds.browserstack.com',a55_0x9eb535[a55_0x123dce(0x15e)]=a55_0x123dce(0xb5),a55_0x9eb535['APP_UPLOAD_URL']=a55_0x123dce(0xcf),a55_0x9eb535['UPDATED_CLI_ENDPOINT']='sdk/v1/update_cli',a55_0x9eb535[a55_0x123dce(0xfd)]=a55_0x123dce(0xb9),a55_0x9eb535[a55_0x123dce(0xae)]=[a55_0x123dce(0x172),a55_0x123dce(0x147)],a55_0x9eb535[a55_0x123dce(0xf6)]=[a55_0x123dce(0x13c),'observability'],a55_0x9eb535['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a55_0x123dce(0x147)],a55_0x9eb535['OBSERVABILITY_UPLOAD_URL']=a55_0x123dce(0xab),a55_0x9eb535[a55_0x123dce(0x163)]=[a55_0x123dce(0x109),a55_0x123dce(0x164)],a55_0x9eb535['AUTOMATE']=[a55_0x123dce(0x172)],a55_0x9eb535[a55_0x123dce(0x116)]=a55_0x123dce(0x158),a55_0x9eb535['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x123dce(0x13d),a55_0x9eb535['APP_AUTOMATE']=[a55_0x123dce(0x13c)],a55_0x9eb535['NUDGE_LOCAL_ERRORS']=[a55_0x123dce(0xfa),'ERR_TIMED_OUT','ERR_BLOCKED_BY_CLIENT','ERR_NETWORK_CHANGED',a55_0x123dce(0x132),a55_0x123dce(0xdc),a55_0x123dce(0xe9),'ERR_CONNECTION_REFUSED',a55_0x123dce(0xa3),a55_0x123dce(0x133),a55_0x123dce(0xfc),a55_0x123dce(0xba),a55_0x123dce(0xff),a55_0x123dce(0x105),a55_0x123dce(0x128),a55_0x123dce(0x11f),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_PROXY_CONNECTION_FAILED',a55_0x123dce(0xfc),a55_0x123dce(0xeb),a55_0x123dce(0x166)],a55_0x9eb535[a55_0x123dce(0x111)]=[a55_0x123dce(0x170),a55_0x123dce(0x135),a55_0x123dce(0x124)],a55_0x9eb535[a55_0x123dce(0xce)]=a55_0x123dce(0xcc),a55_0x9eb535[a55_0x123dce(0xa6)]=a55_0x123dce(0xf1),a55_0x9eb535['CI_ARTIFACTS_PATH']='./browserstack-artifacts/',a55_0x9eb535[a55_0x123dce(0x157)]=a55_0x123dce(0x155),a55_0x9eb535[a55_0x123dce(0x11e)]=a55_0x3e2f0f,a55_0x9eb535[a55_0x123dce(0x10c)]=[a55_0x123dce(0x11d),a55_0x123dce(0x109)],a55_0x9eb535[a55_0x123dce(0x169)]=a55_0x542bb2,a55_0x9eb535[a55_0x123dce(0x127)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a55_0x9eb535[a55_0x123dce(0x16c)]=a55_0x23da68,a55_0x9eb535[a55_0x123dce(0xb3)]=0x40*0x400,a55_0x9eb535[a55_0x123dce(0xdd)]=a55_0x123dce(0xb2),a55_0x9eb535[a55_0x123dce(0xe1)]='Upgrade\x20required',a55_0x9eb535[a55_0x123dce(0x126)]=a55_0x123dce(0x106),a55_0x9eb535['INVALID_INIT_RESP_WITH_USER_IMPACT']=a55_0x123dce(0x152),a55_0x9eb535[a55_0x123dce(0x113)]=a55_0x123dce(0x14d),a55_0x9eb535[a55_0x123dce(0xc8)]=a55_0x123dce(0xac),a55_0x9eb535[a55_0x123dce(0xf2)]=a55_0x123dce(0x12f),a55_0x9eb535[a55_0x123dce(0x176)]=a55_0x123dce(0x99),a55_0x9eb535[a55_0x123dce(0x137)]=0x1388,a55_0x9eb535[a55_0x123dce(0x9a)]=0x1388,a55_0x9eb535[a55_0x123dce(0x10f)]=0x1388,a55_0x9eb535[a55_0x123dce(0xef)]=0x1388,a55_0x9eb535[a55_0x123dce(0xed)]=0xc350,a55_0x9eb535[a55_0x123dce(0x17a)]=a55_0xd6c3aa,a55_0x9eb535['REDACTED_KEYS']=a55_0x52dad4,a55_0x9eb535[a55_0x123dce(0x10d)]=['vanilla',a55_0x123dce(0x174)],a55_0x9eb535['SDK_INSTRUMENTATION_CONFIG']=a55_0x5e1ebc,a55_0x9eb535[a55_0x123dce(0xbf)]='/usage.log',a55_0x9eb535[a55_0x123dce(0x168)]=a55_0x123dce(0xcb),a55_0x9eb535[a55_0x123dce(0x165)]='browserstack.com',a55_0x9eb535['BSTACK_ATS_URL']=a55_0x123dce(0xc6),a55_0x9eb535[a55_0x123dce(0x15f)]='https://automation.browserstack.com',a55_0x9eb535[a55_0x123dce(0xb7)]=a55_0x123dce(0x123),a55_0x9eb535[a55_0x123dce(0x130)]='browserstack',a55_0x9eb535[a55_0x123dce(0x14c)]=[a55_0x123dce(0xbb),a55_0x123dce(0x179),a55_0x123dce(0x11d)],a55_0x9eb535[a55_0x123dce(0xb6)]=[a55_0x123dce(0x17c),a55_0x123dce(0x178),a55_0x123dce(0x148),a55_0x123dce(0x121),a55_0x123dce(0x171),a55_0x123dce(0x104)],a55_0x9eb535[a55_0x123dce(0x118)]='PLAYWRIGHT_TRACE_LOGS',a55_0x9eb535['SSL_ERROR_MESSAGES']=[a55_0x123dce(0x140),a55_0x123dce(0x142),'certificate\x20has\x20expired',a55_0x123dce(0x167),'ERR_TLS_CERT_ALTNAME_INVALID',a55_0x123dce(0xc2)],a55_0x9eb535['SSL_ERROR_CODES']=[a55_0x123dce(0x141),a55_0x123dce(0xc2),a55_0x123dce(0x107),a55_0x123dce(0x156),'ERR_TLS_CERT_ALTNAME_INVALID',a55_0x123dce(0xd5)],a55_0x9eb535['CONNECTIVITY_ISSUE_ERROR_CODES']=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x9eb535[a55_0x123dce(0x96)]=a55_0x25c0ac,a55_0x9eb535[a55_0x123dce(0xb0)]=['GLOBAL_AGENT_HTTP_PROXY',a55_0x123dce(0xfe),a55_0x123dce(0x13b)],a55_0x9eb535['BINARY_BUSY_ERROR_CODES']=[a55_0x123dce(0xbc),'EBUSY'],module[a55_0x123dce(0x136)]=a55_0x9eb535;const _env=(process[a55_0x123dce(0x17b)][a55_0x123dce(0xf9)]||a55_0x123dce(0x14b))[a55_0x123dce(0x119)]();if(_env==='staging'||_env==='stag'){const IJsdoT=a55_0x123dce(0xd6)[a55_0x123dce(0x15d)]('|');let YIazSV=0x0;while(!![]){switch(IJsdoT[YIazSV++]){case'0':module[a55_0x123dce(0x136)][a55_0x123dce(0x165)]='bsstag.com';continue;case'1':module['exports'][a55_0x123dce(0x139)]=a55_0x123dce(0x100);continue;case'2':module[a55_0x123dce(0x136)][a55_0x123dce(0xcd)]=a55_0x123dce(0x16a);continue;case'3':module[a55_0x123dce(0x136)]['hubUrl']='https://hub-devtestops.bsstag.com/wd/hub';continue;case'4':module[a55_0x123dce(0x136)][a55_0x123dce(0x159)]=a55_0x123dce(0xd0);continue;case'5':module['exports'][a55_0x123dce(0x15e)]=a55_0x123dce(0x103);continue;case'6':module[a55_0x123dce(0x136)]['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x123dce(0xa1);continue;case'7':module[a55_0x123dce(0x136)][a55_0x123dce(0xec)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'8':module[a55_0x123dce(0x136)][a55_0x123dce(0xd9)]=a55_0x123dce(0x144);continue;case'9':module[a55_0x123dce(0x136)][a55_0x123dce(0x116)]=a55_0x123dce(0xc0);continue;case'10':module[a55_0x123dce(0x136)][a55_0x123dce(0x157)]='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'11':module[a55_0x123dce(0x136)][a55_0x123dce(0x15f)]='https://observability-devtestops.bsstag.com';continue;case'12':module['exports'][a55_0x123dce(0x130)]='bsstag';continue;}break;}}else{if(_env===a55_0x123dce(0x173)||_env==='pre-prod'){const dlRZTn=a55_0x123dce(0x12c)[a55_0x123dce(0x15d)]('|');let dtBGkf=0x0;while(!![]){switch(dlRZTn[dtBGkf++]){case'0':module['exports']['BROWSERSTACK']=a55_0x123dce(0x115);continue;case'1':module[a55_0x123dce(0x136)]['BROWSERSTACK_AUTOMATE_URL']=a55_0x123dce(0x125);continue;case'2':module[a55_0x123dce(0x136)]['OBSERVABILITY_UPLOAD_URL']=a55_0x123dce(0x9e);continue;case'3':module['exports']['O11Y_URL']=a55_0x123dce(0x149);continue;case'4':module[a55_0x123dce(0x136)][a55_0x123dce(0xd9)]=a55_0x123dce(0x144);continue;case'5':module[a55_0x123dce(0x136)][a55_0x123dce(0xec)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'6':module['exports']['BSTACK_URL']='bsstag.com';continue;case'7':module[a55_0x123dce(0x136)][a55_0x123dce(0x16d)]='https://hub-preprod.bsstag.com/wd/hub';continue;case'8':module[a55_0x123dce(0x136)][a55_0x123dce(0x122)]=a55_0x123dce(0x12d);continue;case'9':module[a55_0x123dce(0x136)][a55_0x123dce(0x159)]=a55_0x123dce(0x98);continue;case'10':module[a55_0x123dce(0x136)][a55_0x123dce(0x157)]=a55_0x123dce(0x175);continue;case'11':module[a55_0x123dce(0x136)][a55_0x123dce(0xcd)]='https://tcg-preprod.bsstag.com';continue;case'12':module[a55_0x123dce(0x136)]['BROWSERSTACK_API_URL']=a55_0x123dce(0x98);continue;}break;}}}
|
|
1
|
+
const a55_0x50e520=a55_0x1560;(function(_0xba5ff5,_0xaa0e1a){const _0x45aa68=a55_0x1560,_0x143ff6=_0xba5ff5();while(!![]){try{const _0x492049=parseInt(_0x45aa68(0x177))/0x1*(parseInt(_0x45aa68(0x229))/0x2)+parseInt(_0x45aa68(0x24e))/0x3+-parseInt(_0x45aa68(0x23d))/0x4*(parseInt(_0x45aa68(0x198))/0x5)+parseInt(_0x45aa68(0x1d4))/0x6+-parseInt(_0x45aa68(0x248))/0x7*(parseInt(_0x45aa68(0x17b))/0x8)+-parseInt(_0x45aa68(0x1bd))/0x9+parseInt(_0x45aa68(0x22c))/0xa*(parseInt(_0x45aa68(0x23e))/0xb);if(_0x492049===_0xaa0e1a)break;else _0x143ff6['push'](_0x143ff6['shift']());}catch(_0x2ff7e5){_0x143ff6['push'](_0x143ff6['shift']());}}}(a55_0x4c75,0x59565));const a55_0x34dc1d={};a55_0x34dc1d['INFO']=a55_0x50e520(0x23a),a55_0x34dc1d[a55_0x50e520(0x1cd)]=a55_0x50e520(0x1a1);const a55_0x1cace7={};a55_0x1cace7[a55_0x50e520(0x1e7)]=a55_0x50e520(0x1ae);const a55_0x48e313={};a55_0x48e313[a55_0x50e520(0x1e7)]=a55_0x50e520(0x21a);const a55_0x5c59ed={};a55_0x5c59ed[a55_0x50e520(0x1e7)]=a55_0x50e520(0x230);const a55_0x2833b3={};a55_0x2833b3[a55_0x50e520(0x1e7)]=a55_0x50e520(0x19f);const a55_0x66d053={};a55_0x66d053['INFO']=a55_0x50e520(0x241);const a55_0x21749f={};a55_0x21749f[a55_0x50e520(0x1e7)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a55_0xea0374={};a55_0xea0374[a55_0x50e520(0x1e7)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a55_0x432140={};a55_0x432140[a55_0x50e520(0x1e7)]=a55_0x50e520(0x205);const a55_0x56798f={};a55_0x56798f[a55_0x50e520(0x1e7)]=a55_0x50e520(0x1fa);const a55_0xe3f0fb={};a55_0xe3f0fb['PLAYWRIGHT']='Playwright',a55_0xe3f0fb[a55_0x50e520(0x19c)]=a55_0x50e520(0x1ec),a55_0xe3f0fb['JEST']=a55_0x50e520(0x201),a55_0xe3f0fb[a55_0x50e520(0x249)]=a55_0x50e520(0x1e2),a55_0xe3f0fb['CODECEPT_CUCUMBER']=a55_0x50e520(0x1cf),a55_0xe3f0fb[a55_0x50e520(0x17a)]=a55_0x50e520(0x20c),a55_0xe3f0fb[a55_0x50e520(0x1f8)]=a55_0x50e520(0x180);const a55_0x8a1b57={};a55_0x8a1b57['invalidKeys']=a55_0x50e520(0x197),a55_0x8a1b57['uniqueDependency']='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a55_0x8a1b57['mandatoryDependency']='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a55_0x8a1b57[a55_0x50e520(0x188)]=a55_0x50e520(0x1fd);const a55_0x2091a9={};a55_0x2091a9[a55_0x50e520(0x1c4)]=a55_0x50e520(0x245),a55_0x2091a9[a55_0x50e520(0x250)]=a55_0x50e520(0x1ad);const a55_0x6fe685={};a55_0x6fe685[a55_0x50e520(0x1f2)]=0xfde8,a55_0x6fe685['Cucumber-JS']=0xfde8,a55_0x6fe685[a55_0x50e520(0x172)]=0x186a0;const a55_0x4888d9={};a55_0x4888d9[a55_0x50e520(0x235)]=[a55_0x50e520(0x217),a55_0x50e520(0x238),'httpProxy',a55_0x50e520(0x17c),a55_0x50e520(0x1c9),a55_0x50e520(0x173),'browserstack.accessKey',a55_0x50e520(0x1a5),'authToken',a55_0x50e520(0x1df),a55_0x50e520(0x24a)],a55_0x4888d9[a55_0x50e520(0x207)]=['proxyUser','proxyPass','localProxyUser','localProxyPass'];const a55_0x1e6193={};a55_0x1e6193[a55_0x50e520(0x18f)]=a55_0x50e520(0x18f),a55_0x1e6193['browserStackLocalOptions']=a55_0x50e520(0x207),a55_0x1e6193['localOptions']='browserStackLocalOptions',a55_0x1e6193['parallelsPerPlatform']=a55_0x50e520(0x1fe),a55_0x1e6193[a55_0x50e520(0x1e9)]=a55_0x50e520(0x1e9),a55_0x1e6193[a55_0x50e520(0x19e)]=a55_0x50e520(0x19e),a55_0x1e6193['httpProxy']=a55_0x50e520(0x1eb),a55_0x1e6193[a55_0x50e520(0x17c)]=a55_0x50e520(0x17c),a55_0x1e6193[a55_0x50e520(0x192)]=a55_0x50e520(0x192),a55_0x1e6193[a55_0x50e520(0x1ab)]=a55_0x50e520(0x1ab),a55_0x1e6193[a55_0x50e520(0x1a9)]=a55_0x50e520(0x1a9),a55_0x1e6193['testReporting']=a55_0x50e520(0x1ce),a55_0x1e6193['testObservabilityOptions']=a55_0x50e520(0x219),a55_0x1e6193[a55_0x50e520(0x1d0)]='testReportingOptions',a55_0x1e6193[a55_0x50e520(0x1c9)]=a55_0x50e520(0x1c9),a55_0x1e6193[a55_0x50e520(0x1b0)]=a55_0x50e520(0x23b),a55_0x1e6193[a55_0x50e520(0x23b)]=a55_0x50e520(0x23b),a55_0x1e6193[a55_0x50e520(0x22b)]=a55_0x50e520(0x22b),a55_0x1e6193[a55_0x50e520(0x1a0)]=a55_0x50e520(0x1a0),a55_0x1e6193[a55_0x50e520(0x1fc)]=a55_0x50e520(0x1fc),a55_0x1e6193[a55_0x50e520(0x1b7)]='percyCaptureMode',a55_0x1e6193[a55_0x50e520(0x1e1)]=a55_0x50e520(0x1e1),a55_0x1e6193[a55_0x50e520(0x1f1)]='accessibility',a55_0x1e6193[a55_0x50e520(0x220)]=a55_0x50e520(0x220),a55_0x1e6193[a55_0x50e520(0x1f0)]=a55_0x50e520(0x1f0),a55_0x1e6193[a55_0x50e520(0x176)]=a55_0x50e520(0x176),a55_0x1e6193[a55_0x50e520(0x1d5)]=a55_0x50e520(0x1d5),a55_0x1e6193[a55_0x50e520(0x1ca)]=a55_0x50e520(0x1ca);function a55_0x4c75(){const _0x1f22ff=['VERSION','https://automation-preprod.bsstag.com','sdk/v1/event','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','browserstack','browserStackLocalOptions','.apk','ROOT_REGEX','edgeOptions','AUTOMATE','cucumber','prod','ERR_ADDRESS_INVALID','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','OBSERVABILITY_UPLOAD_URL','APP_UPLOAD_URL','AUTOLOGCAPTURE_NOTIFICATION','PRIVATE_DOMAIN_OR_IP_REGEX','unable\x20to\x20get\x20local\x20issuer\x20certificate','split','CI_ARTIFACTS_PATH','userName','app-automate','testObservabilityOptions','Run\x20mocha\x20tests\x20on\x20browserstack','PERCY_SUPPORTED_FRAMEWORKS','AI_PROXY_FAILURE','self\x20signed\x20certificate','acceptSslCert','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','accessibilityOptions','SDKTestTcgAuthFailure','ERR_ADDRESS_UNREACHABLE','CONNECTIVITY_ISSUE_ERROR_CODES','percyScreenshot','BSTACK_ATS_URL','INTERNALLY_USED_ENV_VARS','^[a-zA-Z0-9_.-]*$','PLAYWRIGHT','1240658TRBCTg','TCG_AUTH_TIMEOUT','rerunTests','4858360OdlSoa','BINARY_BUSY_ERROR_CODES','CODECEPTJS','BSTACK_URL','Run\x20cucumber-js\x20tests\x20on\x20browserstack','https://automate.browserstack.com/dashboard/v2/builds/','BROWSERSTACK_AUTOMATE_URL','ERR_PROXY_CONNECTION_FAILED','UPDATED_CLI_ENDPOINT','root','bsstag','APP_AUTOMATE','accessKey','MAX_GIT_META_DATA_SIZE_IN_BYTES','shows\x20version\x20information','browserstackAutomation','https://tcg-preprod.bsstag.com','125216UgrssE','11svxnxP','A11Y_SAVE_RESULTS','SDKTestTcgDownResponse','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_SOCKET_NOT_CONNECTED','https://apidevtestops.bsstag.com','HUB_URL_REGEX','commonjs','TEST_REPORTING_ANALYTICS','ERR_NETWORK_CHANGED','17773ojobnu','CODECEPT','browserstack.overridelocalInfo.userAuthToken','https://observability-devtestops.bsstag.com','https://hub-preprod.bsstag.com/wd/hub','ERR_TLS_CERT_ALTNAME_INVALID','150390glJvMs','TCG_DOWN','MODULE','https://app-automate.browserstack.com/dashboard/v2/builds/','Jest','browserstack.userName','SELF_SIGNED_CERT_IN_CHAIN','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','turboScaleOptions','1PVsvaD','CLI_SUPPORTED_FRAMEWORKS','TEST\x20REPORTING\x20AND\x20ANALYTICS','CUCUMBER','504XIWHQF','httpsProxy','SDKTestInitFailedResponse','APP_AUTOMATE_PRODUCTS','https://eds.browserstack.com','vanilla','ERR_CONNECTION_ABORTED','ERR_TIMED_OUT','SDKTestTcgProxyFailure','[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.','hubUrl','exports','AI_ENABLED_FRAMEWORK','invalidTestInputType','DEPTH_ZERO_SELF_SIGNED_CERT','chromeOptions','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','ERR_CONNECTION_TIMED_OUT','PACKAGE_TYPE','https://upload-observability-preprod.bsstag.com','browserstackLocal','.ipa','INVALID_INIT_RESP_WITH_USER_IMPACT','framework','GLOBAL_AGENT_HTTP_PROXY','ERR_NAME_RESOLUTION_FAILED','TCG_AUTH_FAILURE','ObservabilitySync','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','40ZeGThf','SSL_ERROR_CODES','SDKTestTcgtInitSuccessful','BSTACK_DELTA','MOCHA','https://upload-observability.browserstack.com','logLevel','Run\x20js\x20tests\x20on\x20browserstack','percy','Specify\x20--help\x20for\x20available\x20options','./browserstack-artifacts/','https://api-cloud-devtestops.bsstag.com','wss://cdp-devtestops.bsstag.com/playwright?caps=','proxyPassword','use','VALID_APP_EXTENSION','stag','testObservability','sdk/v1/update_cli','testContextOptions','SHAREABLE_ID_REGEX','module','Run\x20jest\x20tests\x20on\x20browserstack','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','automation','pre-prod','ROOT_CAPS','EDS_URL','PLAYWRIGHT_HUB_URL','BROWSERSTACK_APP_AUTOMATE_URL','Upgrade\x20required','percyCaptureMode','BROWSERSTACK','O11Y_URL','acceptSslCerts','https://api.browserstack.com','timeouts','4676913vdgvnV','toLowerCase','ERR_SOCKS_CONNECTION_FAILED','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_CONNECTION_REFUSED','certificate\x20has\x20expired','bsstag.com','COMMONJS','strictFileInteractability','TCG_REGION','SDK-GEN-001','https://edsstaging.bsstag.com','customVariables','testOrchestrationOptions','TCG_URL','FRAMEWORKS','HELP','testReporting','codeceptjs-cucumber','testReportingOptions','ERR_FAILED','browserName','FUNNEL_INSTRUMENTATION_API_URL','838056RAcWJS','proxySettings','ERR_NAME_NOT_RESOLVED','preprod','SDKTestInvalidTcgAuthResponseWithUserImpact','GLOBAL_AGENT_NO_PROXY','SSL_ERROR_MESSAGES','BROWSERSTACK_API_URL','/usage-debug.log','ETXTBSY','https://hub-devtestops.bsstag.com/wd/hub','proxyUrl','HEALING_LOG_DATA_TIMEOUT','disableAutoCaptureLogs','codeceptjs','TEST_FRAMEWORK_HOOK_TIMEOUT','HST','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','A11Y_SCAN','INFO','ERR_CONNECTION_CLOSED','platforms','https://api-cloud.browserstack.com','httpProxy','mocha','automate','https://api-preprod.bsstag.com','unable\x20to\x20verify\x20the\x20first\x20certificate','turboScale','accessibility','Mocha','observability','INTEGRATIONS','https://tcg.browserstack.com','CUSTOM_ID_REGEX','USER_CONFIG_DETAILS_PATH','VANILLA','https://automate-preprod.bsstag.com/dashboard/v2/builds/','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','unhandledPromptBehavior','percyOptions','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','parallelsPerPlatform','A11Y_GET_RESULTS','ERR_BLOCKED_BY_CLIENT','jest'];a55_0x4c75=function(){return _0x1f22ff;};return a55_0x4c75();}const a55_0x3b2ac0={};function a55_0x1560(_0x477a10,_0x51b56d){const _0x4c755d=a55_0x4c75();return a55_0x1560=function(_0x156042,_0x374aaf){_0x156042=_0x156042-0x172;let _0x2f813f=_0x4c755d[_0x156042];return _0x2f813f;},a55_0x1560(_0x477a10,_0x51b56d);}a55_0x3b2ac0['.browserstack\x20folder\x20not\x20accessible']=[a55_0x50e520(0x1c7),a55_0x50e520(0x184)];const a55_0x254c4a={};a55_0x254c4a[a55_0x50e520(0x202)]=a55_0x34dc1d,a55_0x254c4a['JEST']=a55_0x1cace7,a55_0x254c4a[a55_0x50e520(0x19c)]=a55_0x48e313,a55_0x254c4a[a55_0x50e520(0x17a)]=a55_0x5c59ed,a55_0x254c4a[a55_0x50e520(0x1f8)]=a55_0x2833b3,a55_0x254c4a['NIGHTWATCH']=a55_0x66d053,a55_0x254c4a[a55_0x50e520(0x228)]=a55_0x21749f,a55_0x254c4a[a55_0x50e520(0x22e)]=a55_0xea0374,a55_0x254c4a[a55_0x50e520(0x1e4)]=a55_0x432140,a55_0x254c4a[a55_0x50e520(0x1f4)]=a55_0x56798f,a55_0x254c4a[a55_0x50e520(0x19b)]=0xf*0x3c*0x3e8,a55_0x254c4a[a55_0x50e520(0x185)]='https://hub.browserstack.com/wd/hub',a55_0x254c4a[a55_0x50e520(0x1cb)]=a55_0x50e520(0x1f5),a55_0x254c4a[a55_0x50e520(0x1c6)]=a55_0x50e520(0x1a6),a55_0x254c4a[a55_0x50e520(0x244)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x254c4a['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x254c4a['ATS_WSS_URL_REGEX']=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x254c4a[a55_0x50e520(0x1b2)]=['acceptInsecureCerts','pageLoadStrategy',a55_0x50e520(0x1c5),a55_0x50e520(0x1fb),a55_0x50e520(0x1bc),a55_0x50e520(0x1d2),'browserVersion',a55_0x50e520(0x1ba),a55_0x50e520(0x21e),a55_0x50e520(0x18a),'firefoxOptions',a55_0x50e520(0x20a),'ieOptions'],a55_0x254c4a[a55_0x50e520(0x209)]=/^[\w-]+:.*$/,a55_0x254c4a[a55_0x50e520(0x213)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x254c4a['EDS_URL']=a55_0x50e520(0x17f),a55_0x254c4a[a55_0x50e520(0x1db)]=a55_0x50e520(0x1bb),a55_0x254c4a[a55_0x50e520(0x211)]=a55_0x50e520(0x1ea),a55_0x254c4a[a55_0x50e520(0x234)]=a55_0x50e520(0x1aa),a55_0x254c4a[a55_0x50e520(0x1d3)]=a55_0x50e520(0x204),a55_0x254c4a['AUTOMATE_PRODUCTS']=[a55_0x50e520(0x1ed),'observability'],a55_0x254c4a[a55_0x50e520(0x17e)]=[a55_0x50e520(0x218),a55_0x50e520(0x1f3)],a55_0x254c4a[a55_0x50e520(0x21f)]=[a55_0x50e520(0x1f3)],a55_0x254c4a[a55_0x50e520(0x210)]=a55_0x50e520(0x19d),a55_0x254c4a['OBSERVABILITY_SUPPORTED_FWS']=[a55_0x50e520(0x1ec),'Playwright'],a55_0x254c4a[a55_0x50e520(0x20b)]=['automate'],a55_0x254c4a['BROWSERSTACK_AUTOMATE_URL']=a55_0x50e520(0x231),a55_0x254c4a['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x50e520(0x251),a55_0x254c4a[a55_0x50e520(0x237)]=[a55_0x50e520(0x218)],a55_0x254c4a['NUDGE_LOCAL_ERRORS']=[a55_0x50e520(0x1d1),a55_0x50e520(0x182),a55_0x50e520(0x200),a55_0x50e520(0x247),a55_0x50e520(0x242),a55_0x50e520(0x1e8),'ERR_CONNECTION_RESET',a55_0x50e520(0x1c1),a55_0x50e520(0x181),'ERR_CONNECTION_FAILED','ERR_NAME_NOT_RESOLVED',a55_0x50e520(0x20e),a55_0x50e520(0x222),'ERR_TUNNEL_CONNECTION_FAILED',a55_0x50e520(0x18c),a55_0x50e520(0x1bf),a55_0x50e520(0x1c0),a55_0x50e520(0x233),a55_0x50e520(0x1d6),a55_0x50e520(0x194),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a55_0x254c4a[a55_0x50e520(0x1a7)]=[a55_0x50e520(0x208),'.aab',a55_0x50e520(0x190)],a55_0x254c4a[a55_0x50e520(0x1f6)]=a55_0x50e520(0x227),a55_0x254c4a[a55_0x50e520(0x1ac)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a55_0x254c4a[a55_0x50e520(0x216)]=a55_0x50e520(0x1a2),a55_0x254c4a[a55_0x50e520(0x1b4)]='wss://cdp.browserstack.com/playwright?caps=',a55_0x254c4a[a55_0x50e520(0x1cc)]=a55_0xe3f0fb,a55_0x254c4a[a55_0x50e520(0x21b)]=['jest',a55_0x50e520(0x1ec)],a55_0x254c4a['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a55_0x8a1b57,a55_0x254c4a[a55_0x50e520(0x212)]=a55_0x50e520(0x175),a55_0x254c4a[a55_0x50e520(0x18d)]=a55_0x2091a9,a55_0x254c4a[a55_0x50e520(0x239)]=0x40*0x400,a55_0x254c4a['GIT_META_DATA_TRUNCATED']='...[TRUNCATED]',a55_0x254c4a['UPGRADE_REQUIRED']=a55_0x50e520(0x1b6),a55_0x254c4a[a55_0x50e520(0x24f)]=a55_0x50e520(0x240),a55_0x254c4a[a55_0x50e520(0x191)]=a55_0x50e520(0x1d8),a55_0x254c4a[a55_0x50e520(0x195)]=a55_0x50e520(0x221),a55_0x254c4a['AI_INIT_SUCCESSFUL']=a55_0x50e520(0x19a),a55_0x254c4a['AI_INIT_FAILURE']=a55_0x50e520(0x17d),a55_0x254c4a[a55_0x50e520(0x21c)]=a55_0x50e520(0x183),a55_0x254c4a[a55_0x50e520(0x22a)]=0x1388,a55_0x254c4a['SET_TCG_TOKEN_TIMEOUT']=0x1388,a55_0x254c4a[a55_0x50e520(0x1e0)]=0x1388,a55_0x254c4a['HEALING_FAILURE_TIMEOUT']=0x1388,a55_0x254c4a['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a55_0x254c4a[a55_0x50e520(0x1e3)]=a55_0x6fe685,a55_0x254c4a['REDACTED_KEYS']=a55_0x4888d9,a55_0x254c4a[a55_0x50e520(0x187)]=[a55_0x50e520(0x180),'codeceptjs'],a55_0x254c4a['SDK_INSTRUMENTATION_CONFIG']=a55_0x1e6193,a55_0x254c4a['LOG_FILE_NAME']='/usage.log',a55_0x254c4a['DEBUG_LOG_FILE_NAME']=a55_0x50e520(0x1dc),a55_0x254c4a[a55_0x50e520(0x22f)]='browserstack.com',a55_0x254c4a[a55_0x50e520(0x225)]='browserstack-ats.com',a55_0x254c4a[a55_0x50e520(0x1b9)]='https://automation.browserstack.com',a55_0x254c4a[a55_0x50e520(0x246)]=a55_0x50e520(0x179),a55_0x254c4a[a55_0x50e520(0x1b8)]=a55_0x50e520(0x206),a55_0x254c4a[a55_0x50e520(0x178)]=['playwright',a55_0x50e520(0x20c),'jest'],a55_0x254c4a['AUTOMATION_LOG_COMMANDS']=[a55_0x50e520(0x1e6),'A11Y_GET_RESULTS_SUMMARY',a55_0x50e520(0x1ff),a55_0x50e520(0x23f),a55_0x50e520(0x224),a55_0x50e520(0x196)],a55_0x254c4a['PLAYWRIGHT_TRACE_LOGS']='PLAYWRIGHT_TRACE_LOGS',a55_0x254c4a[a55_0x50e520(0x1da)]=[a55_0x50e520(0x21d),a55_0x50e520(0x1ef),a55_0x50e520(0x1c2),a55_0x50e520(0x214),'ERR_TLS_CERT_ALTNAME_INVALID',a55_0x50e520(0x189)],a55_0x254c4a[a55_0x50e520(0x199)]=[a55_0x50e520(0x174),a55_0x50e520(0x189),'UNABLE_TO_VERIFY_LEAF_SIGNATURE','CERT_HAS_EXPIRED',a55_0x50e520(0x24d),a55_0x50e520(0x20f)],a55_0x254c4a[a55_0x50e520(0x223)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x254c4a['CLIENT_TROUBLESHOOTING_HASH']=a55_0x3b2ac0,a55_0x254c4a[a55_0x50e520(0x226)]=[a55_0x50e520(0x193),a55_0x50e520(0x1d9),a55_0x50e520(0x1f7)],a55_0x254c4a[a55_0x50e520(0x22d)]=[a55_0x50e520(0x1dd),'EBUSY'],module[a55_0x50e520(0x186)]=a55_0x254c4a;const _env=(process['env']['BROWSERSTACK_ENV']||a55_0x50e520(0x20d))[a55_0x50e520(0x1be)]();if(_env==='staging'||_env===a55_0x50e520(0x1a8)){const VFByvO='10|9|5|12|2|3|8|6|11|4|1|7|0'['split']('|');let XaUktb=0x0;while(!![]){switch(VFByvO[XaUktb++]){case'0':module[a55_0x50e520(0x186)][a55_0x50e520(0x1b8)]=a55_0x50e520(0x236);continue;case'1':module[a55_0x50e520(0x186)][a55_0x50e520(0x210)]='https://upload-observability-devtestops-ssi.bsstag.com';continue;case'2':module[a55_0x50e520(0x186)][a55_0x50e520(0x232)]=a55_0x50e520(0x18b);continue;case'3':module[a55_0x50e520(0x186)][a55_0x50e520(0x1b5)]=a55_0x50e520(0x1e5);continue;case'4':module[a55_0x50e520(0x186)][a55_0x50e520(0x1b9)]=a55_0x50e520(0x24b);continue;case'5':module[a55_0x50e520(0x186)][a55_0x50e520(0x1cb)]='https://tcg.bsstag.com';continue;case'6':module[a55_0x50e520(0x186)]['PLAYWRIGHT_HUB_URL']=a55_0x50e520(0x1a4);continue;case'7':module[a55_0x50e520(0x186)][a55_0x50e520(0x1b3)]=a55_0x50e520(0x1c8);continue;case'8':module[a55_0x50e520(0x186)][a55_0x50e520(0x211)]=a55_0x50e520(0x1a3);continue;case'9':module[a55_0x50e520(0x186)][a55_0x50e520(0x1db)]=a55_0x50e520(0x243);continue;case'10':module[a55_0x50e520(0x186)][a55_0x50e520(0x185)]=a55_0x50e520(0x1de);continue;case'11':module['exports'][a55_0x50e520(0x22f)]=a55_0x50e520(0x1c3);continue;case'12':module[a55_0x50e520(0x186)]['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;}break;}}else{if(_env===a55_0x50e520(0x1d7)||_env===a55_0x50e520(0x1b1)){const uNaaEw='9|4|10|1|0|6|5|12|8|3|7|2|11'[a55_0x50e520(0x215)]('|');let WmdJNg=0x0;while(!![]){switch(uNaaEw[WmdJNg++]){case'0':module[a55_0x50e520(0x186)][a55_0x50e520(0x232)]=a55_0x50e520(0x1f9);continue;case'1':module[a55_0x50e520(0x186)][a55_0x50e520(0x244)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'2':module[a55_0x50e520(0x186)][a55_0x50e520(0x1b3)]=a55_0x50e520(0x1c8);continue;case'3':module[a55_0x50e520(0x186)][a55_0x50e520(0x1b9)]=a55_0x50e520(0x203);continue;case'4':module[a55_0x50e520(0x186)][a55_0x50e520(0x1db)]=a55_0x50e520(0x1ee);continue;case'5':module['exports'][a55_0x50e520(0x211)]='https://api-preprod.bsstag.com';continue;case'6':module[a55_0x50e520(0x186)]['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x50e520(0x1af);continue;case'7':module[a55_0x50e520(0x186)][a55_0x50e520(0x210)]=a55_0x50e520(0x18e);continue;case'8':module['exports']['BSTACK_URL']=a55_0x50e520(0x1c3);continue;case'9':module[a55_0x50e520(0x186)][a55_0x50e520(0x185)]=a55_0x50e520(0x24c);continue;case'10':module[a55_0x50e520(0x186)][a55_0x50e520(0x1cb)]=a55_0x50e520(0x23c);continue;case'11':module['exports']['BROWSERSTACK']=a55_0x50e520(0x236);continue;case'12':module[a55_0x50e520(0x186)][a55_0x50e520(0x1b4)]='wss://cdp-preprod.bsstag.com/playwright?caps=';continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x4828ed=a56_0x3222;(function(_0xa30248,_0x5c3758){const _0x2a35d9=a56_0x3222,_0x23c1d9=_0xa30248();while(!![]){try{const _0x446de5=parseInt(_0x2a35d9(0x1a7))/0x1*(-parseInt(_0x2a35d9(0x1a8))/0x2)+parseInt(_0x2a35d9(0x1a1))/0x3+parseInt(_0x2a35d9(0x19c))/0x4+parseInt(_0x2a35d9(0x19e))/0x5+-parseInt(_0x2a35d9(0x1a5))/0x6+parseInt(_0x2a35d9(0x19d))/0x7*(-parseInt(_0x2a35d9(0x1a3))/0x8)+-parseInt(_0x2a35d9(0x1a2))/0x9*(-parseInt(_0x2a35d9(0x1a0))/0xa);if(_0x446de5===_0x5c3758)break;else _0x23c1d9['push'](_0x23c1d9['shift']());}catch(_0x4b7f4c){_0x23c1d9['push'](_0x23c1d9['shift']());}}}(a56_0x5236,0x1d660));const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x20593f,_0x183c5e){return _0x5de057=>{const _0x59db4a=a56_0x3222;BSTestOpsLogger['log']({'level':_0x5de057[_0x59db4a(0x1a4)]?_0x5de057[_0x59db4a(0x1a4)]['levelStr']:null,'message':_0x5de057[_0x59db4a(0x19f)]?_0x5de057[_0x59db4a(0x19f)][_0x59db4a(0x199)]('\x20'):null});};}function a56_0x5236(){const _0x5682d7=['data','158230jcfLLt','393333hAIwCV','81kCmMpA','16qkjMOI','level','733302HeVHOA','TisrT','90QpORbI','1296GwJkdv','join','configure','layout','209076zFkQxk','135394GlbKeL','69250huxnDq'];a56_0x5236=function(){return _0x5682d7;};return a56_0x5236();}function a56_0x3222(_0x11de09,_0x4341f4){const _0x5236c7=a56_0x5236();return a56_0x3222=function(_0x3222c8,_0xc8d030){_0x3222c8=_0x3222c8-0x199;let _0x214735=_0x5236c7[_0x3222c8];return _0x214735;},a56_0x3222(_0x11de09,_0x4341f4);}exports[a56_0x4828ed(0x19a)]=(_0x71a33a,_0x19e3c1)=>{const _0x3a7110=a56_0x4828ed,_0xc79f87={'TisrT':function(_0x4e3fe8,_0x245979,_0x24f909){return _0x4e3fe8(_0x245979,_0x24f909);}};let _0x2a3553=_0x19e3c1['colouredLayout'];return _0x71a33a['layout']&&(_0x2a3553=_0x19e3c1['layout'](_0x71a33a[_0x3a7110(0x19b)]['type'],_0x71a33a[_0x3a7110(0x19b)])),_0xc79f87[_0x3a7110(0x1a6)](BSTestOpsLog4JSAppender,_0x2a3553,_0x71a33a['timezoneOffset']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0xe56551=a57_0x4d37;(function(_0x7116f0,_0x1d08c3){const _0x36b9a6=a57_0x4d37,_0x6d1123=_0x7116f0();while(!![]){try{const _0x13e049=-parseInt(_0x36b9a6(0x73))/0x1+-parseInt(_0x36b9a6(0x78))/0x2*(-parseInt(_0x36b9a6(0x67))/0x3)+-parseInt(_0x36b9a6(0x83))/0x4*(parseInt(_0x36b9a6(0x6d))/0x5)+parseInt(_0x36b9a6(0x7a))/0x6+parseInt(_0x36b9a6(0x7e))/0x7*(parseInt(_0x36b9a6(0x68))/0x8)+parseInt(_0x36b9a6(0x75))/0x9+-parseInt(_0x36b9a6(0x6c))/0xa*(parseInt(_0x36b9a6(0x72))/0xb);if(_0x13e049===_0x1d08c3)break;else _0x6d1123['push'](_0x6d1123['shift']());}catch(_0x45b652){_0x6d1123['push'](_0x6d1123['shift']());}}}(a57_0x4b2e,0xd9d1b));function a57_0x4d37(_0x4aea84,_0x3c2ee3){const _0x4b2e8d=a57_0x4b2e();return a57_0x4d37=function(_0x4d377b,_0x2273fe){_0x4d377b=_0x4d377b-0x67;let _0x5aa912=_0x4b2e8d[_0x4d377b];return _0x5aa912;},a57_0x4d37(_0x4aea84,_0x3c2ee3);}const Transport=require(a57_0xe56551(0x6e)),{consoleHolder}=require(a57_0xe56551(0x77)),a57_0x37425d={};a57_0x37425d['INFO']='INFO',a57_0x37425d['ERROR']=a57_0xe56551(0x76),a57_0x37425d[a57_0xe56551(0x87)]=a57_0xe56551(0x87),a57_0x37425d[a57_0xe56551(0x7b)]=a57_0xe56551(0x7b),a57_0x37425d[a57_0xe56551(0x6f)]=a57_0xe56551(0x6f);const LOG_LEVELS=a57_0x37425d;class logPatcher extends Transport{constructor(_0x4885e6){super(_0x4885e6);}['logToTestOps']=(_0x3852ea=LOG_LEVELS[a57_0xe56551(0x81)],_0x5de5bb=[''])=>{const _0x43c972=a57_0xe56551,_0x2d537e={};_0x2d537e['gEaQt']='TEST_LOG';const _0x4ede1e=_0x2d537e;consoleHolder[_0x3852ea[_0x43c972(0x7d)]()](..._0x5de5bb),process[_0x43c972(0x69)](_0x43c972(0x70)+process[_0x43c972(0x6b)],{'timestamp':new Date()[_0x43c972(0x82)](),'level':_0x3852ea[_0x43c972(0x6a)](),'message':'\x22'+_0x5de5bb[_0x43c972(0x88)](',\x20')+'\x22','kind':_0x4ede1e[_0x43c972(0x80)],'http_response':{}});};[a57_0xe56551(0x85)]=(..._0x29ae77)=>{const _0x2c959f=a57_0xe56551;this[_0x2c959f(0x74)](LOG_LEVELS[_0x2c959f(0x7b)],_0x29ae77);};[a57_0xe56551(0x79)]=(..._0x2f0b66)=>{const _0x49172c=a57_0xe56551;this[_0x49172c(0x74)](LOG_LEVELS[_0x49172c(0x87)],_0x2f0b66);};[a57_0xe56551(0x7f)]=(..._0xf72cc9)=>{const _0x4cd16e=a57_0xe56551;this['logToTestOps'](LOG_LEVELS[_0x4cd16e(0x81)],_0xf72cc9);};[a57_0xe56551(0x86)]=(..._0xd2809a)=>{const _0x2011bb=a57_0xe56551;this[_0x2011bb(0x74)](LOG_LEVELS['WARN'],_0xd2809a);};[a57_0xe56551(0x7c)]=(..._0xddf6b5)=>{const _0x4f3d83=a57_0xe56551;this[_0x4f3d83(0x74)](LOG_LEVELS[_0x4f3d83(0x76)],_0xddf6b5);};[a57_0xe56551(0x84)]=(..._0xa3d7a4)=>{const _0x39626f=a57_0xe56551;this[_0x39626f(0x74)](LOG_LEVELS[_0x39626f(0x81)],_0xa3d7a4);};};function a57_0x4b2e(){const _0x89b4dc=['11KBacJY','1227454hYHgWp','logToTestOps','5343660CFLJzF','ERROR','../../helpers/test-observability/constants','18KFpMkF','debug','8855358gOvjiq','TRACE','error','toLowerCase','21pWrDbe','info','gEaQt','INFO','toISOString','12612bcLLJP','log','trace','warn','DEBUG','join','115707TjMOTC','4188176FgRvWN','emit','toUpperCase','pid','3353210gAyEmd','2430PJDOmc','winston-transport','WARN','bs:addLog:','exports'];a57_0x4b2e=function(){return _0x89b4dc;};return a57_0x4b2e();}module[a57_0xe56551(0x71)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a58_0x2399b4=a58_0x238e;(function(_0x346f19,_0x8377cb){const _0x465be2=a58_0x238e,_0x5b3b9b=_0x346f19();while(!![]){try{const _0x1d410d=-parseInt(_0x465be2(0x1f1))/0x1*(-parseInt(_0x465be2(0x1fe))/0x2)+-parseInt(_0x465be2(0x1fc))/0x3*(-parseInt(_0x465be2(0x1ee))/0x4)+-parseInt(_0x465be2(0x205))/0x5*(parseInt(_0x465be2(0x1ef))/0x6)+-parseInt(_0x465be2(0x1f2))/0x7+parseInt(_0x465be2(0x1ed))/0x8+-parseInt(_0x465be2(0x202))/0x9+parseInt(_0x465be2(0x1ff))/0xa;if(_0x1d410d===_0x8377cb)break;else _0x5b3b9b['push'](_0x5b3b9b['shift']());}catch(_0x38a843){_0x5b3b9b['push'](_0x5b3b9b['shift']());}}}(a58_0xd514,0xb1a03));const Transport=require(a58_0x2399b4(0x1f3)),{consoleHolder}=require('../../helpers/test-observability/constants'),a58_0x42715e={};function a58_0xd514(){const _0x8555b9=['emit','logToTestOps','67341JtMfcD','pid','44hdrfKg','2380520djQAdm','trace','debug','4323042NcMNPu','WARN','drUJa','145355fmdtvh','TRACE','bs:addLog:','object','DEBUG','TEST_LOG','toUpperCase','INFO','toISOString','message','logged','info','5860464LkvvZT','36MtbOtC','162CERmEz','rXNeS','47720uQVdxG','1607641YqMkWB','winston-transport','toLowerCase','ddmOp','bpDnT','level','error','ERROR'];a58_0xd514=function(){return _0x8555b9;};return a58_0xd514();}a58_0x42715e[a58_0x2399b4(0x20c)]=a58_0x2399b4(0x20c),a58_0x42715e[a58_0x2399b4(0x1f9)]=a58_0x2399b4(0x1f9),a58_0x42715e[a58_0x2399b4(0x209)]=a58_0x2399b4(0x209),a58_0x42715e[a58_0x2399b4(0x206)]=a58_0x2399b4(0x206),a58_0x42715e['WARN']=a58_0x2399b4(0x203);const LOG_LEVELS=a58_0x42715e;function a58_0x238e(_0xcf211c,_0x503d4e){const _0xd514c6=a58_0xd514();return a58_0x238e=function(_0x238e87,_0x1b9e18){_0x238e87=_0x238e87-0x1eb;let _0x30c547=_0xd514c6[_0x238e87];return _0x30c547;},a58_0x238e(_0xcf211c,_0x503d4e);}class logReportingAPI extends Transport{constructor(_0x276443){super(_0x276443);}['log'](_0x5253bb,_0x1141c4){const _0x2cc4fc=a58_0x2399b4,_0x5bf25d={'gmNOi':_0x2cc4fc(0x1eb),'bpDnT':function(_0x4edd37,_0x6586d9){return _0x4edd37(_0x6586d9);},'drUJa':function(_0x3b9ba7,_0x55a4a3){return _0x3b9ba7===_0x55a4a3;},'VlFYt':_0x2cc4fc(0x208),'ddmOp':function(_0x5e0da1){return _0x5e0da1();}};_0x5bf25d[_0x2cc4fc(0x1f6)](setImmediate,()=>{const _0xb7c8d2=_0x2cc4fc;this[_0xb7c8d2(0x1fa)](_0x5bf25d['gmNOi'],_0x5253bb);}),_0x5bf25d[_0x2cc4fc(0x204)](typeof _0x5253bb,_0x5bf25d['VlFYt'])?this[_0x2cc4fc(0x1fb)](_0x5253bb[_0x2cc4fc(0x1f7)]||LOG_LEVELS[_0x2cc4fc(0x20c)],_0x5253bb[_0x2cc4fc(0x20e)],![]):this[_0x2cc4fc(0x1fb)](LOG_LEVELS['INFO'],_0x5253bb),_0x1141c4&&_0x5bf25d[_0x2cc4fc(0x1f5)](_0x1141c4);}[a58_0x2399b4(0x1fb)]=(_0x9968de=LOG_LEVELS['INFO'],_0x34f8f4='',_0x57fd30=!![])=>{const _0x332f14=a58_0x2399b4,_0x374330={};_0x374330[_0x332f14(0x1f0)]=_0x332f14(0x20a);const _0x1e7793=_0x374330;_0x57fd30&&consoleHolder[_0x9968de[_0x332f14(0x1f4)]()](_0x34f8f4),process['emit'](_0x332f14(0x207)+process[_0x332f14(0x1fd)],{'timestamp':new Date()[_0x332f14(0x20d)](),'level':_0x9968de[_0x332f14(0x20b)](),'message':_0x34f8f4,'kind':_0x1e7793[_0x332f14(0x1f0)],'http_response':{}});};[a58_0x2399b4(0x200)]=(_0x235c5e,_0x194f3e)=>{const _0x2b6019=a58_0x2399b4;this[_0x2b6019(0x1fb)](LOG_LEVELS[_0x2b6019(0x206)],_0x235c5e);};[a58_0x2399b4(0x201)]=(_0x310f76,_0x5003aa)=>{const _0x424134=a58_0x2399b4;this['logToTestOps'](LOG_LEVELS[_0x424134(0x209)],_0x310f76);};[a58_0x2399b4(0x1ec)]=(_0x124f44,_0x35bac4)=>{const _0xa7bad1=a58_0x2399b4;this['logToTestOps'](LOG_LEVELS[_0xa7bad1(0x20c)],_0x124f44);};['warn']=(_0x1264d9,_0x1835d2)=>{const _0x73360d=a58_0x2399b4;this[_0x73360d(0x1fb)](LOG_LEVELS[_0x73360d(0x203)],_0x1264d9);};[a58_0x2399b4(0x1f8)]=(_0x2a83bd,_0x2d256f)=>{const _0x2437a9=a58_0x2399b4;this['logToTestOps'](LOG_LEVELS[_0x2437a9(0x1f9)],_0x2a83bd);};};module['exports']=logReportingAPI;
|