browserstack-node-sdk 1.49.3 → 1.49.5
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
|
-
const
|
|
3
|
+
const a49_0x1b0258=a49_0x4f3c;(function(_0x108b02,_0x19b2a4){const _0x3888f0=a49_0x4f3c,_0x2a143c=_0x108b02();while(!![]){try{const _0x4de78c=parseInt(_0x3888f0(0x1e5))/0x1+parseInt(_0x3888f0(0x1f9))/0x2*(-parseInt(_0x3888f0(0x1dc))/0x3)+parseInt(_0x3888f0(0x20b))/0x4*(parseInt(_0x3888f0(0x1e9))/0x5)+-parseInt(_0x3888f0(0x1e6))/0x6*(parseInt(_0x3888f0(0x1d6))/0x7)+-parseInt(_0x3888f0(0x220))/0x8*(parseInt(_0x3888f0(0x1fb))/0x9)+parseInt(_0x3888f0(0x1fc))/0xa+parseInt(_0x3888f0(0x224))/0xb;if(_0x4de78c===_0x19b2a4)break;else _0x2a143c['push'](_0x2a143c['shift']());}catch(_0x59e5ca){_0x2a143c['push'](_0x2a143c['shift']());}}}(a49_0x145a,0x29d8d));const fs=require('fs'),helper=require(a49_0x1b0258(0x1ec)),utilities=require(a49_0x1b0258(0x20f)),yaml=require(a49_0x1b0258(0x1ef)),yargs=require('yargs'),logger=require(a49_0x1b0258(0x1e4))[a49_0x1b0258(0x21d)],configFileTemplate=__dirname+a49_0x1b0258(0x209),configFileTemplatePW=__dirname+a49_0x1b0258(0x1d8),configFile=process[a49_0x1b0258(0x1dd)]()+a49_0x1b0258(0x1f7),packageFile=process['cwd']()+a49_0x1b0258(0x21a),frameworks=[a49_0x1b0258(0x1f8),'jest',a49_0x1b0258(0x205),a49_0x1b0258(0x210),a49_0x1b0258(0x1e8),'codeceptjs',a49_0x1b0258(0x213)];let config;logger[a49_0x1b0258(0x21f)](a49_0x1b0258(0x201)),createConfigurationFile(yargs['argv'][a49_0x1b0258(0x1e1)],yargs[a49_0x1b0258(0x206)][a49_0x1b0258(0x216)],yargs[a49_0x1b0258(0x206)]['playwright']);try{sdkSetup();}catch(a49_0x57c1cb){logger[a49_0x1b0258(0x1d9)](a49_0x1b0258(0x1da)+a49_0x57c1cb);}addScriptInPackageJson();function createConfigurationFile(_0x3111a3,_0x803d7d,_0x4a2b64=![]){const _0x483883=a49_0x1b0258,_0x329353={};_0x329353[_0x483883(0x207)]=_0x483883(0x218),_0x329353['HimnW']=_0x483883(0x219),_0x329353[_0x483883(0x1f5)]=_0x483883(0x1fd);const _0x311f6b=_0x329353;try{let _0x53130b=fs[_0x483883(0x1f2)](_0x4a2b64?configFileTemplatePW:configFileTemplate,_0x311f6b['pWRfd']);_0x3111a3&&(_0x53130b=_0x53130b[_0x483883(0x1fa)](_0x311f6b[_0x483883(0x1e3)],_0x3111a3)),_0x803d7d&&(_0x53130b=_0x53130b[_0x483883(0x1fa)](_0x311f6b['BvkCw'],_0x803d7d)),config=yaml['load'](_0x53130b),fs[_0x483883(0x20a)](configFile,_0x53130b,_0x139ef8=>{const _0x2eaa18=_0x483883;_0x139ef8&&logger[_0x2eaa18(0x1ed)](_0x139ef8);});}catch(_0x46b2f7){logger[_0x483883(0x1ed)](_0x46b2f7);}}function addPostInstallScript(_0x578136,_0x1c1e57){const _0x5ffdd=a49_0x1b0258,_0x2d2d21={};_0x2d2d21[_0x5ffdd(0x1f1)]=_0x5ffdd(0x1db),_0x2d2d21[_0x5ffdd(0x204)]=_0x5ffdd(0x1fe),_0x2d2d21['BJCfJ']=_0x5ffdd(0x202);const _0x4c9f89=_0x2d2d21;let _0x5d5f3c=_0x578136[_0x4c9f89[_0x5ffdd(0x1f1)]];if(_0x5d5f3c&&_0x5d5f3c[_0x5ffdd(0x21b)](_0x4c9f89[_0x5ffdd(0x204)]))return;!_0x5d5f3c?_0x5d5f3c=_0x4c9f89[_0x5ffdd(0x204)]:_0x5d5f3c+=_0x4c9f89[_0x5ffdd(0x222)],_0x1c1e57[_0x5ffdd(0x1de)]([_0x4c9f89[_0x5ffdd(0x1f1)],_0x5d5f3c]);}function addScriptInPackageJson(){const _0x23953f=a49_0x1b0258,_0x4a4e42={'QAycD':_0x23953f(0x218),'WFcDG':function(_0x29b87b,_0x477d2b){return _0x29b87b<_0x477d2b;},'TqOKW':function(_0x4ab650,_0xc08b34,_0x524c78){return _0x4ab650(_0xc08b34,_0x524c78);},'gcIpF':function(_0xda76a6,_0x3e3368){return _0xda76a6<_0x3e3368;},'WnFfs':function(_0x4eee32,_0x4442ec,_0x1dcffa){return _0x4eee32(_0x4442ec,_0x1dcffa);},'CjytH':function(_0x19003a,_0x53727b){return _0x19003a!==_0x53727b;},'fLnwh':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x24cd0d=JSON[_0x23953f(0x208)](fs[_0x23953f(0x1f2)](packageFile,_0x4a4e42[_0x23953f(0x1ea)])),_0x51203f=[];for(let _0x38e9f3=0x0;_0x4a4e42[_0x23953f(0x1f4)](_0x38e9f3,frameworks[_0x23953f(0x1ff)]);_0x38e9f3+=0x1){const _0x515882=_0x4a4e42[_0x23953f(0x20c)](findScriptsWithFramework,_0x24cd0d[_0x23953f(0x214)],frameworks[_0x38e9f3]);for(let _0x22c449=0x0;_0x4a4e42[_0x23953f(0x1f3)](_0x22c449,_0x515882['length']);_0x22c449+=0x1){_0x51203f[_0x23953f(0x1de)](_0x4a4e42['TqOKW'](getUpdatedCommand,_0x24cd0d[_0x23953f(0x214)],_0x515882[_0x22c449]));}_0x4a4e42[_0x23953f(0x1e0)](addPostInstallScript,_0x24cd0d[_0x23953f(0x214)],_0x51203f);}const _0x7087be={..._0x24cd0d[_0x23953f(0x214)]},_0xe4d173=_0x7087be;for(let _0x377e53=0x0;_0x4a4e42[_0x23953f(0x1f4)](_0x377e53,_0x51203f[_0x23953f(0x1ff)]);_0x377e53+=0x1){_0xe4d173[_0x51203f[_0x377e53][0x0]]=_0x51203f[_0x377e53][0x1];}_0x4a4e42[_0x23953f(0x203)](JSON[_0x23953f(0x20e)](_0x24cd0d['scripts']),JSON['stringify'](_0xe4d173))&&(logger[_0x23953f(0x21f)](_0x4a4e42['fLnwh']),_0x24cd0d['scripts']=_0xe4d173,fs[_0x23953f(0x20a)](packageFile,JSON[_0x23953f(0x20e)](_0x24cd0d,null,0x2),_0x4283ba=>{const _0x10155d=_0x23953f;_0x4283ba&&logger[_0x10155d(0x1ed)](_0x4283ba);}));};function a49_0x145a(){const _0x4c187a=['9063vlDCBJ','1673660rDiQrc','YOUR_ACCESS_KEY','npm\x20update\x20browserstack-node-sdk','length','eFuPL','Creating\x20configuration\x20file...','\x20&&\x20npm\x20update\x20browserstack-node-sdk','CjytH','nUlgJ','cucumber-js','argv','pWRfd','parse','/../../browserstack.yml.sample','writeFileSync','220oHqaPE','TqOKW','split','stringify','../helpers/utilities','node','indexOf','ePUlt','playwright','scripts','hZoKK','key','Setup\x20completed','utf8','YOUR_USERNAME','/package.json','includes','SYYvC','winstonLogger','browserstack-node-sdk','info','2248SzzPVd','-browserstack','BJCfJ','entries','4450325ApGDNl','619864JKEDsj','node-setup','/../../browserstack.pw.yml.sample','debug','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','postinstall','8247UHczJC','cwd','push','source','WnFfs','username','join','HimnW','../helpers/logger','32376ePvxth','6wvlTRs','splice','nightwatch','4915ERijqi','QAycD','fireFunnelTestEvent','../helpers/helper','error','isUndefined','js-yaml','CJjJl','sbXqV','readFileSync','gcIpF','WFcDG','BvkCw','cZrJa','/browserstack.yml','mocha','84NVZcqx','replace'];a49_0x145a=function(){return _0x4c187a;};return a49_0x145a();}function findScriptsWithFramework(_0xddd6db,_0x4b3f69){const _0x289c76=a49_0x1b0258,_0x46c908={};_0x46c908[_0x289c76(0x21c)]=function(_0x8e2fb9,_0x3b4d82){return _0x8e2fb9<_0x3b4d82;},_0x46c908[_0x289c76(0x200)]=_0x289c76(0x21e);const _0x264ced=_0x46c908,_0x9848e4=[],_0x12face=Object[_0x289c76(0x223)](_0xddd6db);for(let _0x18f0dd=0x0;_0x264ced['SYYvC'](_0x18f0dd,_0x12face[_0x289c76(0x1ff)]);_0x18f0dd+=0x1){_0x12face[_0x18f0dd][0x1][_0x289c76(0x21b)](_0x4b3f69)&&!_0x12face[_0x18f0dd][0x1][_0x289c76(0x21b)](_0x264ced[_0x289c76(0x200)])&&_0x9848e4[_0x289c76(0x1de)](_0x12face[_0x18f0dd][0x0]);}return _0x9848e4;}function getUpdatedCommand(_0x211ef4,_0x3e3cd0){const _0x19d9ba=a49_0x1b0258,_0xe67178={};_0xe67178[_0x19d9ba(0x215)]=function(_0x428810,_0x55518b){return _0x428810!==_0x55518b;},_0xe67178['CJjJl']='browserstack-node-sdk',_0xe67178['PkyjD']=function(_0x3d94a9,_0x128bee){return _0x3d94a9===_0x128bee;};const _0xd2bcdb=_0xe67178,_0x536d0f=_0x3e3cd0+_0x19d9ba(0x221),_0x63b8aa=_0x211ef4[_0x3e3cd0],_0x2f5389=_0x63b8aa[_0x19d9ba(0x20d)]('\x20');for(const _0x2f1219 of frameworks){if(_0xd2bcdb[_0x19d9ba(0x215)](_0x2f5389[_0x19d9ba(0x211)](_0x2f1219),-0x1)){_0x2f5389[_0x19d9ba(0x1e7)](_0x2f5389['indexOf'](_0x2f1219),0x0,_0xd2bcdb[_0x19d9ba(0x1f0)]);break;}}let _0x32d420=_0x2f5389[_0x19d9ba(0x1e2)]('\x20');return _0xd2bcdb['PkyjD'](_0x32d420,_0x63b8aa)&&(_0x32d420='browserstack-node-sdk\x20'+_0x63b8aa),[_0x536d0f,_0x32d420];}function a49_0x4f3c(_0x4c39ca,_0x2c35b1){const _0x145a3c=a49_0x145a();return a49_0x4f3c=function(_0x4f3ce9,_0x563730){_0x4f3ce9=_0x4f3ce9-0x1d6;let _0x57654b=_0x145a3c[_0x4f3ce9];return _0x57654b;},a49_0x4f3c(_0x4c39ca,_0x2c35b1);}function sdkSetup(){const _0x462e16=a49_0x1b0258,_0x50ef89={};_0x50ef89[_0x462e16(0x1f6)]=_0x462e16(0x1d7),_0x50ef89[_0x462e16(0x212)]='SDKSetup';const _0x16e4a4=_0x50ef89;if(helper[_0x462e16(0x1ee)](config))return;config[_0x462e16(0x1df)]=_0x16e4a4['cZrJa'];try{utilities[_0x462e16(0x1eb)](_0x16e4a4[_0x462e16(0x212)],{},config,'');}catch(_0x1fcbe5){logger[_0x462e16(0x1d9)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x1fcbe5);}}logger[a49_0x1b0258(0x21f)](a49_0x1b0258(0x217));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a50_0x426a(_0x3c7956,_0x281513){const _0x33a92c=a50_0x33a9();return a50_0x426a=function(_0x426ad9,_0x1a7568){_0x426ad9=_0x426ad9-0x175;let _0x267833=_0x33a92c[_0x426ad9];return _0x267833;},a50_0x426a(_0x3c7956,_0x281513);}const a50_0x4599ca=a50_0x426a;function a50_0x33a9(){const _0x57f4a5=['then','platforms','NEDEr','sDkPM','xBqsy','faUFo','worker_threads','test-file-success','CTRUz','Workers\x20failed\x20to\x20exit\x20gracefully','GOsOf','emit','4239580iEfsPR','results','SpiHb','platform-run-failure','send','push','info','platform','oWuBc','vanillaWorker','pipe','../../helpers/test-observability/utils','Worker','IWiOj','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','config','658068wuFMDm','failureCount','stdout','end','log','waitForExit','error','1171821ipNMna','postMessage','../../helpers/testhub/testhubHandler','iSLIT','FToKS','map','Pkhwh','stop','SrMnu','format','../../helpers/performance/performance-tester','caWlb','RYCvi','oFXkb','hlVbt','getStderr','5194650xuyUhi','hbGgl','Uwvlv','mDxYo','IboWJ','configuration','getStdout','mFwbw','TQAfb','Exception\x20in\x20sending\x20worker\x20message\x20','skFRl','11624824onREhE','exit','VyOIW','jest-worker','util','file','emittery','all','length','stderr','GLxKH','yPgUf','platform-run-start','_child','json','worker','SWjJm','./testWorker.js','p-limit','platformCaps','jVGNh','getWorkers','5oUsjEA','KQyKI','debug','jPYHN','../../helpers/performance/constants','test-file-failure','LttZK','parallelTestRun','TPasq','66298JLPrFw','2624805mlZnWE','winstonLogger','platform-run-success','exitCode','cucumberWorker','xsGnr','XJDle','resolve','FdsTc'];a50_0x33a9=function(){return _0x57f4a5;};return a50_0x33a9();}(function(_0x4a7506,_0x434ef0){const _0x390a06=a50_0x426a,_0x43283d=_0x4a7506();while(!![]){try{const _0x558320=-parseInt(_0x390a06(0x1bf))/0x1+-parseInt(_0x390a06(0x17e))/0x2+-parseInt(_0x390a06(0x1c0))/0x3+parseInt(_0x390a06(0x1d5))/0x4+-parseInt(_0x390a06(0x1b6))/0x5*(parseInt(_0x390a06(0x195))/0x6)+parseInt(_0x390a06(0x185))/0x7+parseInt(_0x390a06(0x1a0))/0x8;if(_0x558320===_0x434ef0)break;else _0x43283d['push'](_0x43283d['shift']());}catch(_0x401aff){_0x43283d['push'](_0x43283d['shift']());}}}(a50_0x33a9,0x84e67));const Worker=require(a50_0x4599ca(0x1a3))[a50_0x4599ca(0x17a)],Emittery=require(a50_0x4599ca(0x1a6)),pLimit=require(a50_0x4599ca(0x1b2)),{parentPort}=require(a50_0x4599ca(0x1cf)),util=require(a50_0x4599ca(0x1a4)),logger=require('../../helpers/logger')[a50_0x4599ca(0x1c1)],PerformanceTester=require(a50_0x4599ca(0x18f)),PerformanceEvents=require(a50_0x4599ca(0x1ba))['EVENTS'],{debug}=require(a50_0x4599ca(0x179)),TestHubHandler=require(a50_0x4599ca(0x187));exports[a50_0x4599ca(0x1bd)]=(_0x3c7263,_0x4a0c46,_0x15f820)=>new Promise(async _0x4dc6cf=>{const _0x5777b8=a50_0x4599ca,_0x2a025c={'SpiHb':_0x5777b8(0x17f),'VyOIW':function(_0x5bf793,_0x1bc5dd){return _0x5bf793+_0x1bc5dd;},'oWuBc':_0x5777b8(0x1d6),'hbGgl':_0x5777b8(0x1d2),'GLxKH':function(_0x2b2dbb,_0x3a54a8){return _0x2b2dbb(_0x3a54a8);},'CeFkW':'test-file-start','FdsTc':'./testWorker.js','xsGnr':_0x5777b8(0x1af),'CTRUz':_0x5777b8(0x1ae),'IWiOj':_0x5777b8(0x178),'caWlb':function(_0x334f70,_0x43966d){return _0x334f70*_0x43966d;},'hlVbt':_0x5777b8(0x1d0),'jrQBc':_0x5777b8(0x1bb),'XJDle':function(_0x40b773,_0x32e7c9){return _0x40b773(_0x32e7c9);}},_0x2fdc15=_0x15f820[_0x5777b8(0x17d)],_0x2c9618={},_0x2d5a5a=new Worker(require[_0x5777b8(0x1c7)](_0x2a025c[_0x5777b8(0x1c8)]),{'exposedMethods':[_0x2a025c[_0x5777b8(0x1c5)]],'forkOptions':{'serialization':_0x2a025c[_0x5777b8(0x1d1)],'stdio':_0x2a025c[_0x5777b8(0x17b)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x2a025c[_0x5777b8(0x190)](_0x4a0c46,0x1),'enableWorkerThreads':!![]}),_0x30e2c4=new Emittery();_0x30e2c4['on'](_0x2a025c[_0x5777b8(0x193)],_0x457484=>{const _0xa38830=_0x5777b8;_0x2c9618[_0x457484[0x0]]?(_0x2c9618[_0x457484[0x0]][_0x2a025c[_0xa38830(0x1d7)]]=_0x2a025c[_0xa38830(0x1a2)](_0x2c9618[_0x457484[0x0]][_0x2a025c['SpiHb']],_0x457484[0x1][_0x2a025c['SpiHb']]),_0x2c9618[_0x457484[0x0]][_0x2a025c[_0xa38830(0x176)]]=[..._0x2c9618[_0x457484[0x0]][_0x2a025c['oWuBc']],..._0x457484[0x1][_0x2a025c[_0xa38830(0x176)]]]):_0x2c9618[_0x457484[0x0]]={'failureCount':_0x457484[0x1][_0x2a025c[_0xa38830(0x1d7)]],'results':[..._0x457484[0x1][_0x2a025c['oWuBc']]]};}),_0x30e2c4['on'](_0x2a025c['jrQBc'],_0x385511=>console[_0x5777b8(0x182)](_0x385511[0x1]));_0x2d5a5a[_0x5777b8(0x19b)]()&&_0x2d5a5a[_0x5777b8(0x19b)]()[_0x5777b8(0x178)](process[_0x5777b8(0x180)]);_0x2d5a5a[_0x5777b8(0x194)]()&&_0x2d5a5a[_0x5777b8(0x194)]()[_0x5777b8(0x178)](process[_0x5777b8(0x1a9)]);const _0x36965a=async()=>{const _0x147e58=_0x5777b8,{forceExited:_0x274a09}=await _0x2d5a5a[_0x147e58(0x181)]();_0x274a09&&console['error'](_0x2a025c[_0x147e58(0x196)]);try{await TestHubHandler[_0x147e58(0x18c)]();}catch(_0x5e4422){_0x2a025c[_0x147e58(0x1aa)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x5e4422);}_0x2a025c['GLxKH'](_0x4dc6cf,_0x2c9618);},_0x5d5ca0=_0x2a025c[_0x5777b8(0x1c6)](pLimit,_0x2a025c[_0x5777b8(0x190)](_0x4a0c46,0x1)),_0x351e68=_0x47a97f=>_0x5d5ca0(async()=>{const _0x2eded0=_0x5777b8;await _0x30e2c4[_0x2eded0(0x1d4)](_0x2a025c['CeFkW'],_0x47a97f);const _0x111906=_0x2d5a5a[_0x2eded0(0x1af)](_0x47a97f,_0x2fdc15);try{parentPort&&_0x111906['UNSTABLE_onCustomMessage'](_0x19d638=>{const _0x1bd379=_0x2eded0;try{parentPort[_0x1bd379(0x186)](_0x19d638);}catch(_0x747054){logger[_0x1bd379(0x1b8)](_0x1bd379(0x19e)+util[_0x1bd379(0x18e)](_0x747054));}});}catch(_0xa1eb85){logger['debug'](_0x2eded0(0x17c)+util[_0x2eded0(0x18e)](_0xa1eb85));}return _0x111906;});PerformanceTester[_0x5777b8(0x181)](PerformanceEvents['SDK_SETUP']),Promise[_0x5777b8(0x1a7)](_0x3c7263[_0x5777b8(0x18a)](_0x52ae47=>_0x351e68(_0x52ae47)['then'](_0x56e881=>_0x30e2c4[_0x5777b8(0x1d4)](_0x5777b8(0x1d0),[_0x52ae47[_0x5777b8(0x19a)][_0x5777b8(0x175)],_0x56e881]),_0x425736=>_0x30e2c4[_0x5777b8(0x1d4)](_0x5777b8(0x1bb),[_0x52ae47,_0x425736]))))[_0x5777b8(0x1c9)](_0x36965a,_0x36965a);}),exports['parallelCucumberRun']=(_0x21c064,_0x3e9365,_0x34e568,_0x3825be,_0x260e51)=>{const _0x443290=a50_0x4599ca,_0x493e65={'skFRl':'Workers\x20failed\x20to\x20exit\x20gracefully','TPasq':function(_0x57aabd,_0x51a131){return _0x57aabd(_0x51a131);},'TQAfb':_0x443290(0x1ac),'yPgUf':'./testWorker.js','sDkPM':_0x443290(0x1c4),'GOsOf':_0x443290(0x1ae),'jVGNh':_0x443290(0x178),'jPYHN':_0x443290(0x1c2),'SrMnu':'platform-run-failure','faUFo':function(_0x44c79b,_0x3331eb){return _0x44c79b(_0x3331eb);}};return new Promise(_0xad42e7=>{const _0x480110=_0x443290,_0x3491da={'aSAhB':_0x493e65[_0x480110(0x19f)],'DKjEI':function(_0x295b2b,_0x56925b){const _0x3d065e=_0x480110;return _0x493e65[_0x3d065e(0x1be)](_0x295b2b,_0x56925b);},'oFXkb':_0x493e65[_0x480110(0x19d)]},_0x5a531a=[],_0x10f400=new Worker(require[_0x480110(0x1c7)](_0x493e65[_0x480110(0x1ab)]),{'exposedMethods':[_0x493e65[_0x480110(0x1cc)]],'forkOptions':{'serialization':_0x493e65[_0x480110(0x1d3)],'stdio':_0x493e65[_0x480110(0x1b4)]},'numWorkers':_0x21c064[_0x480110(0x1a8)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x3656fc=new Emittery();_0x3656fc['on'](_0x493e65[_0x480110(0x1b9)],_0x15c917=>{const _0x1caef0=_0x480110;_0x5a531a[_0x1caef0(0x1da)]([_0x15c917[0x0],_0x15c917[0x1]]);}),_0x3656fc['on'](_0x493e65[_0x480110(0x18d)],_0x3abeda=>console[_0x480110(0x182)](_0x3abeda[0x1]));_0x10f400[_0x480110(0x19b)]()&&_0x10f400['getStdout']()[_0x480110(0x178)](process[_0x480110(0x180)]);_0x10f400[_0x480110(0x194)]()&&_0x10f400[_0x480110(0x194)]()[_0x480110(0x178)](process[_0x480110(0x1a9)]);const _0x5ff23a=async()=>{const _0xa357cd=_0x480110,{forceExited:_0x3ac24c}=await _0x10f400[_0xa357cd(0x181)]();_0x3ac24c&&console[_0xa357cd(0x184)](_0x3491da['aSAhB']),_0x3491da['DKjEI'](_0xad42e7,_0x5a531a);},_0xf6f049=_0x493e65[_0x480110(0x1ce)](pLimit,_0x21c064[_0x480110(0x1a8)]||0x1),_0x3cfc7c=(_0x257458,_0x18385b)=>_0xf6f049(async()=>{const _0x3abad5=_0x480110;return await _0x3656fc[_0x3abad5(0x1d4)](_0x3491da[_0x3abad5(0x192)],_0x257458),_0x3e9365[_0x3abad5(0x1b3)]=_0x34e568[_0x3abad5(0x1ca)][_0x18385b],_0x10f400[_0x3abad5(0x1c4)](_0x257458,_0x3e9365,_0x34e568,_0x3825be,_0x260e51);});Promise[_0x480110(0x1a7)](_0x21c064['map']((_0x198103,_0x48a681)=>_0x3cfc7c(_0x198103,_0x48a681)[_0x480110(0x1c9)](_0x40e282=>_0x3656fc['emit']('platform-run-success',[_0x198103,_0x40e282]),_0x54e954=>_0x3656fc['emit'](_0x480110(0x1d8),[_0x198103,_0x54e954]))))[_0x480110(0x1c9)](_0x5ff23a,_0x5ff23a);});},exports['parallelVanillaRun']=(_0x4e1da8,_0x1b3574)=>new Promise(_0x22e008=>{const _0x61ce71=a50_0x4599ca,_0x2d502d={'Mrctk':function(_0xcfd6ed,_0x38312f){return _0xcfd6ed===_0x38312f;},'mFwbw':function(_0x19d66f,_0x1437d1){return _0x19d66f!==_0x1437d1;},'xBqsy':_0x61ce71(0x1a1),'RYCvi':'Workers\x20failed\x20to\x20exit\x20gracefully','Pkhwh':function(_0x463129,_0x57dc42){return _0x463129(_0x57dc42);},'FToKS':_0x61ce71(0x1b1),'IboWJ':_0x61ce71(0x177),'tFPEd':_0x61ce71(0x1ae),'mDxYo':_0x61ce71(0x178),'nEhim':'test-file-success','BYukX':'test-file-failure','iSLIT':function(_0x17ed60,_0x2a191d){return _0x17ed60(_0x2a191d);}},_0x50d865={},_0x57a010=new Worker(require['resolve'](_0x2d502d[_0x61ce71(0x189)]),{'exposedMethods':[_0x2d502d[_0x61ce71(0x199)]],'forkOptions':{'serialization':_0x2d502d['tFPEd'],'stdio':_0x2d502d[_0x61ce71(0x198)]},'numWorkers':_0x1b3574,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x941e2c=new Emittery();_0x941e2c['on'](_0x2d502d['nEhim'],_0x15c098=>{const _0x224f5e=_0x61ce71;_0x15c098[0x0]&&logger[_0x224f5e(0x1db)]('Running\x20'+_0x15c098[0x1]+'\x20for',_0x15c098[0x0]);}),_0x941e2c['on'](_0x2d502d['BYukX'],_0x3d83c6=>{const _0x4778f7=_0x61ce71;process[_0x4778f7(0x1c3)]=0x1;});_0x57a010[_0x61ce71(0x19b)]()&&_0x57a010[_0x61ce71(0x19b)]()['pipe'](process['stdout']);_0x57a010[_0x61ce71(0x194)]()&&_0x57a010[_0x61ce71(0x194)]()[_0x61ce71(0x178)](process['stderr']);const _0x2e9e0d=async()=>{const _0x18e305=_0x61ce71,_0x1242d6={'NEDEr':function(_0x1af9a5,_0x57ff65){return _0x2d502d['Mrctk'](_0x1af9a5,_0x57ff65);},'LttZK':function(_0x49345c,_0x30703b){const _0x44293c=a50_0x426a;return _0x2d502d[_0x44293c(0x19c)](_0x49345c,_0x30703b);},'KQyKI':_0x2d502d[_0x18e305(0x1cd)]};let _0x25eca0=0x0;const _0x35ef76=_0x57a010['_workerPool'][_0x18e305(0x1b5)](),_0xda15d0=()=>{},_0x37483a=_0x35ef76[_0x18e305(0x18a)](async _0x40ef42=>{const _0x475dfa=_0x18e305,_0x57ebb5={'Uwvlv':function(_0x12d7fb,_0x2cf8b8){const _0x20bb8f=a50_0x426a;return _0x1242d6[_0x20bb8f(0x1cb)](_0x12d7fb,_0x2cf8b8);},'SWjJm':function(_0x683bca,_0x11aa9c){const _0x1655dd=a50_0x426a;return _0x1242d6[_0x1655dd(0x1bc)](_0x683bca,_0x11aa9c);}};_0x40ef42[_0x475dfa(0x1d9)]([0x2,![]],_0xda15d0,_0xda15d0,_0xda15d0),_0x40ef42[_0x475dfa(0x1ad)]['on'](_0x1242d6[_0x475dfa(0x1b7)],_0x5baa22=>{const _0x322b1e=_0x475dfa;_0x57ebb5[_0x322b1e(0x197)](_0x25eca0,0x0)&&_0x57ebb5[_0x322b1e(0x1b0)](_0x5baa22,0x0)&&(_0x25eca0=_0x5baa22);}),await _0x40ef42[_0x475dfa(0x183)]();});await Promise[_0x18e305(0x1a7)](_0x37483a),process[_0x18e305(0x1c3)]=_0x25eca0;const {forceExited:_0x21ef27}=await _0x57a010['end']();_0x21ef27&&console[_0x18e305(0x184)](_0x2d502d[_0x18e305(0x191)]),_0x2d502d[_0x18e305(0x18b)](_0x22e008,_0x50d865);},_0x3c9449=_0x2d502d[_0x61ce71(0x188)](pLimit,_0x1b3574),_0x1ebd92=_0x2e7673=>_0x3c9449(async()=>{const _0x22eb12=_0x61ce71;return _0x57a010[_0x22eb12(0x177)](_0x2e7673);});Promise['all'](_0x4e1da8[_0x61ce71(0x18a)](_0x33222c=>_0x1ebd92(_0x33222c)[_0x61ce71(0x1c9)](_0x711df0=>_0x941e2c[_0x61ce71(0x1d4)]('test-file-success',[_0x33222c[_0x61ce71(0x19a)]['platform'],_0x33222c['configuration'][_0x61ce71(0x1a5)]]),_0x10c3a5=>_0x941e2c[_0x61ce71(0x1d4)](_0x61ce71(0x1bb),[_0x33222c,_0x10c3a5]))))[_0x61ce71(0x1c9)](_0x2e9e0d,_0x2e9e0d);});
|
|
1
|
+
function a50_0x252e(_0x258cac,_0x3f70be){const _0x493516=a50_0x4935();return a50_0x252e=function(_0x252ea9,_0x4d22cc){_0x252ea9=_0x252ea9-0x101;let _0x39993b=_0x493516[_0x252ea9];return _0x39993b;},a50_0x252e(_0x258cac,_0x3f70be);}const a50_0x2b40c1=a50_0x252e;(function(_0x1124bd,_0x3284ef){const _0x43e37e=a50_0x252e,_0x3b4c3b=_0x1124bd();while(!![]){try{const _0x538d8a=parseInt(_0x43e37e(0x128))/0x1*(parseInt(_0x43e37e(0x145))/0x2)+-parseInt(_0x43e37e(0x139))/0x3+parseInt(_0x43e37e(0x143))/0x4*(-parseInt(_0x43e37e(0x12a))/0x5)+-parseInt(_0x43e37e(0x15e))/0x6*(-parseInt(_0x43e37e(0x101))/0x7)+parseInt(_0x43e37e(0x11d))/0x8*(parseInt(_0x43e37e(0x14b))/0x9)+-parseInt(_0x43e37e(0x12e))/0xa*(-parseInt(_0x43e37e(0x12c))/0xb)+-parseInt(_0x43e37e(0x10c))/0xc;if(_0x538d8a===_0x3284ef)break;else _0x3b4c3b['push'](_0x3b4c3b['shift']());}catch(_0x94bfae){_0x3b4c3b['push'](_0x3b4c3b['shift']());}}}(a50_0x4935,0x48d78));const Worker=require(a50_0x2b40c1(0x11f))[a50_0x2b40c1(0x117)],Emittery=require(a50_0x2b40c1(0x155)),pLimit=require('p-limit'),{parentPort}=require(a50_0x2b40c1(0x15b)),util=require(a50_0x2b40c1(0x106)),logger=require(a50_0x2b40c1(0x12b))[a50_0x2b40c1(0x10b)],PerformanceTester=require(a50_0x2b40c1(0x149)),PerformanceEvents=require(a50_0x2b40c1(0x115))[a50_0x2b40c1(0x119)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a50_0x2b40c1(0x123));function a50_0x4935(){const _0x12f11b=['EVENTS','QtXOU','resolve','gQpxB','2775160xbgOSM','GVWRM','jest-worker','waitForExit','debug','Running\x20','../../helpers/testhub/testhubHandler','vanillaWorker','xZtVj','kSngt','AflcQ','144217QmrDfU','UkjiU','2565YivpfU','../../helpers/logger','220DUFNxG','IgkhT','10090VmXVQe','bXHMU','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','cucumberWorker','tSAgb','_workerPool','rHZag','send','test-file-failure','Quyts','dVcTM','532959YPeQJP','end','platform-run-success','Workers\x20failed\x20to\x20exit\x20gracefully','QbNOt','CdCdL','log','orbJc','getStdout','then','1304vYzNRs','bKgmK','2VsEPLW','json','VALrT','lyMAu','../../helpers/performance/performance-tester','HabIQ','9rwMJQH','results','platforms','cBpav','stderr','Exception\x20in\x20sending\x20worker\x20message\x20','./testWorker.js','platform','platform-run-start','xLmfO','emittery','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','wdRsw','gpKYX','postMessage','platform-run-failure','worker_threads','SDK_SETUP','parallelCucumberRun','504564nyGsZp','error','length','map','info','juXrl','config','test-file-success','mRmkU','pipe','49tZbQXZ','stdout','getStderr','rgJTz','push','util','configuration','_child','DXTnh','emit','winstonLogger','5480388fBvOfv','parallelVanillaRun','all','UNSTABLE_onCustomMessage','exitCode','JgYcq','toSlO','format','fjwmR','../../helpers/performance/constants','vWUaZ','Worker','test-file-start'];a50_0x4935=function(){return _0x12f11b;};return a50_0x4935();}exports['parallelTestRun']=(_0x402607,_0x83e20f,_0x406129)=>new Promise(async _0x249022=>{const _0x3f134c=a50_0x2b40c1,_0x4fcaa1={'DXTnh':'failureCount','rgJTz':function(_0x558b9f,_0x1ad46f){return _0x558b9f+_0x1ad46f;},'orbJc':_0x3f134c(0x14c),'dVcTM':_0x3f134c(0x13c),'gpKYX':function(_0x13f155,_0x4b7a6a){return _0x13f155(_0x4b7a6a);},'vWUaZ':_0x3f134c(0x118),'IfSEI':_0x3f134c(0x151),'HabIQ':'worker','xLmfO':_0x3f134c(0x146),'UkjiU':_0x3f134c(0x167),'rHZag':function(_0x38125f,_0x42c3fc){return _0x38125f*_0x42c3fc;},'xZtVj':_0x3f134c(0x165),'QbNOt':_0x3f134c(0x136)},_0x510f08=_0x406129[_0x3f134c(0x164)],_0x54b2d1={},_0x1e649d=new Worker(require['resolve'](_0x4fcaa1['IfSEI']),{'exposedMethods':[_0x4fcaa1[_0x3f134c(0x14a)]],'forkOptions':{'serialization':_0x4fcaa1[_0x3f134c(0x154)],'stdio':_0x4fcaa1[_0x3f134c(0x129)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x4fcaa1['rHZag'](_0x83e20f,0x1),'enableWorkerThreads':!![]}),_0x41e0df=new Emittery();_0x41e0df['on'](_0x4fcaa1[_0x3f134c(0x125)],_0x196e31=>{const _0x2ae1a2=_0x3f134c;_0x54b2d1[_0x196e31[0x0]]?(_0x54b2d1[_0x196e31[0x0]][_0x4fcaa1[_0x2ae1a2(0x109)]]=_0x4fcaa1[_0x2ae1a2(0x104)](_0x54b2d1[_0x196e31[0x0]][_0x4fcaa1[_0x2ae1a2(0x109)]],_0x196e31[0x1][_0x4fcaa1['DXTnh']]),_0x54b2d1[_0x196e31[0x0]][_0x4fcaa1[_0x2ae1a2(0x140)]]=[..._0x54b2d1[_0x196e31[0x0]][_0x4fcaa1[_0x2ae1a2(0x140)]],..._0x196e31[0x1][_0x4fcaa1[_0x2ae1a2(0x140)]]]):_0x54b2d1[_0x196e31[0x0]]={'failureCount':_0x196e31[0x1][_0x4fcaa1[_0x2ae1a2(0x109)]],'results':[..._0x196e31[0x1][_0x4fcaa1[_0x2ae1a2(0x140)]]]};}),_0x41e0df['on'](_0x4fcaa1[_0x3f134c(0x13d)],_0x4c9aed=>console[_0x3f134c(0x13f)](_0x4c9aed[0x1]));_0x1e649d[_0x3f134c(0x141)]()&&_0x1e649d[_0x3f134c(0x141)]()['pipe'](process[_0x3f134c(0x102)]);_0x1e649d[_0x3f134c(0x103)]()&&_0x1e649d[_0x3f134c(0x103)]()[_0x3f134c(0x167)](process[_0x3f134c(0x14f)]);const _0xcdfb4=async()=>{const _0x4f3700=_0x3f134c,{forceExited:_0x49f89b}=await _0x1e649d['end']();_0x49f89b&&console[_0x4f3700(0x15f)](_0x4fcaa1[_0x4f3700(0x138)]);try{await TestHubHandler['stop']();}catch(_0x424572){_0x4fcaa1['gpKYX'](debug,_0x4f3700(0x130)+_0x424572);}_0x4fcaa1[_0x4f3700(0x158)](_0x249022,_0x54b2d1);},_0x1387a6=_0x4fcaa1[_0x3f134c(0x158)](pLimit,_0x4fcaa1[_0x3f134c(0x134)](_0x83e20f,0x1)),_0x3d2f8=_0x3e349d=>_0x1387a6(async()=>{const _0x13dfc0=_0x3f134c;await _0x41e0df['emit'](_0x4fcaa1[_0x13dfc0(0x116)],_0x3e349d);const _0x43bb2e=_0x1e649d['worker'](_0x3e349d,_0x510f08);try{parentPort&&_0x43bb2e[_0x13dfc0(0x10f)](_0x1118ea=>{const _0x1e6083=_0x13dfc0;try{parentPort[_0x1e6083(0x159)](_0x1118ea);}catch(_0x11429a){logger[_0x1e6083(0x121)](_0x1e6083(0x150)+util['format'](_0x11429a));}});}catch(_0x217a89){logger[_0x13dfc0(0x121)](_0x13dfc0(0x156)+util[_0x13dfc0(0x113)](_0x217a89));}return _0x43bb2e;});PerformanceTester[_0x3f134c(0x13a)](PerformanceEvents[_0x3f134c(0x15c)]),Promise[_0x3f134c(0x10e)](_0x402607[_0x3f134c(0x161)](_0x26b335=>_0x3d2f8(_0x26b335)[_0x3f134c(0x142)](_0x58154b=>_0x41e0df[_0x3f134c(0x10a)](_0x3f134c(0x165),[_0x26b335[_0x3f134c(0x107)][_0x3f134c(0x152)],_0x58154b]),_0x58bf2b=>_0x41e0df['emit'](_0x3f134c(0x136),[_0x26b335,_0x58bf2b]))))[_0x3f134c(0x142)](_0xcdfb4,_0xcdfb4);}),exports[a50_0x2b40c1(0x15d)]=(_0x3ef7cf,_0x125809,_0x17d3c7,_0x2f143d,_0x12a850)=>{const _0x3069e0=a50_0x2b40c1,_0x6c1c0a={'GVWRM':_0x3069e0(0x13c),'QwwbL':function(_0x203f4f,_0x477fea){return _0x203f4f(_0x477fea);},'mRmkU':_0x3069e0(0x153),'AflcQ':_0x3069e0(0x151),'IgkhT':_0x3069e0(0x131),'lyMAu':_0x3069e0(0x146),'gQpxB':_0x3069e0(0x167),'kSngt':_0x3069e0(0x13b),'JgYcq':_0x3069e0(0x15a),'bKgmK':function(_0x4c8fc1,_0x11b13f){return _0x4c8fc1(_0x11b13f);}};return new Promise(_0xdedec5=>{const _0x3f1f45=_0x3069e0,_0x4779e9=[],_0x24a146=new Worker(require[_0x3f1f45(0x11b)](_0x6c1c0a[_0x3f1f45(0x127)]),{'exposedMethods':[_0x6c1c0a[_0x3f1f45(0x12d)]],'forkOptions':{'serialization':_0x6c1c0a[_0x3f1f45(0x148)],'stdio':_0x6c1c0a[_0x3f1f45(0x11c)]},'numWorkers':_0x3ef7cf['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x6e7f86=new Emittery();_0x6e7f86['on'](_0x6c1c0a[_0x3f1f45(0x126)],_0x41e8e2=>{const _0x3c7bed=_0x3f1f45;_0x4779e9[_0x3c7bed(0x105)]([_0x41e8e2[0x0],_0x41e8e2[0x1]]);}),_0x6e7f86['on'](_0x6c1c0a[_0x3f1f45(0x111)],_0x4a68ab=>console['log'](_0x4a68ab[0x1]));_0x24a146['getStdout']()&&_0x24a146[_0x3f1f45(0x141)]()[_0x3f1f45(0x167)](process['stdout']);_0x24a146[_0x3f1f45(0x103)]()&&_0x24a146['getStderr']()[_0x3f1f45(0x167)](process['stderr']);const _0x3358ba=async()=>{const _0x4ecbbf=_0x3f1f45,{forceExited:_0x2eafb3}=await _0x24a146[_0x4ecbbf(0x13a)]();_0x2eafb3&&console['error'](_0x6c1c0a[_0x4ecbbf(0x11e)]),_0x6c1c0a['QwwbL'](_0xdedec5,_0x4779e9);},_0x1aaf8e=_0x6c1c0a[_0x3f1f45(0x144)](pLimit,_0x3ef7cf[_0x3f1f45(0x160)]||0x1),_0x4aefa6=(_0x2dc86f,_0x441d07)=>_0x1aaf8e(async()=>{const _0x54b4ce=_0x3f1f45;return await _0x6e7f86[_0x54b4ce(0x10a)](_0x6c1c0a[_0x54b4ce(0x166)],_0x2dc86f),_0x125809['platformCaps']=_0x17d3c7[_0x54b4ce(0x14d)][_0x441d07],_0x24a146[_0x54b4ce(0x131)](_0x2dc86f,_0x125809,_0x17d3c7,_0x2f143d,_0x12a850);});Promise[_0x3f1f45(0x10e)](_0x3ef7cf[_0x3f1f45(0x161)]((_0x5cacff,_0x5a4ce8)=>_0x4aefa6(_0x5cacff,_0x5a4ce8)['then'](_0x191c49=>_0x6e7f86[_0x3f1f45(0x10a)](_0x3f1f45(0x13b),[_0x5cacff,_0x191c49]),_0x25e11a=>_0x6e7f86[_0x3f1f45(0x10a)](_0x3f1f45(0x15a),[_0x5cacff,_0x25e11a]))))[_0x3f1f45(0x142)](_0x3358ba,_0x3358ba);});},exports[a50_0x2b40c1(0x10d)]=(_0x4651ee,_0x4a6472)=>new Promise(_0x34ec18=>{const _0x2e9839=a50_0x2b40c1,_0x25dea4={'bXHMU':'exit','CdCdL':function(_0x3dd471,_0x3cc0d5){return _0x3dd471===_0x3cc0d5;},'juXrl':function(_0x4b676f,_0x309d8a){return _0x4b676f!==_0x309d8a;},'QtXOU':_0x2e9839(0x13c),'wdRsw':function(_0x177223,_0x42c9ba){return _0x177223(_0x42c9ba);},'UsPsr':_0x2e9839(0x151),'fjwmR':'vanillaWorker','VALrT':'json','ZzMTN':_0x2e9839(0x167),'cBpav':_0x2e9839(0x165),'tSAgb':_0x2e9839(0x136),'CySMu':function(_0x352510,_0x4ded1d){return _0x352510(_0x4ded1d);}},_0x4f4098={},_0x4a1b27=new Worker(require[_0x2e9839(0x11b)](_0x25dea4['UsPsr']),{'exposedMethods':[_0x25dea4[_0x2e9839(0x114)]],'forkOptions':{'serialization':_0x25dea4[_0x2e9839(0x147)],'stdio':_0x25dea4['ZzMTN']},'numWorkers':_0x4a6472,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3cb086=new Emittery();_0x3cb086['on'](_0x25dea4[_0x2e9839(0x14e)],_0x448ab2=>{const _0x3a3ffa=_0x2e9839;_0x448ab2[0x0]&&logger[_0x3a3ffa(0x162)](_0x3a3ffa(0x122)+_0x448ab2[0x1]+'\x20for',_0x448ab2[0x0]);}),_0x3cb086['on'](_0x25dea4[_0x2e9839(0x132)],_0x423e46=>{const _0x364b3e=_0x2e9839;process[_0x364b3e(0x110)]=0x1;});_0x4a1b27[_0x2e9839(0x141)]()&&_0x4a1b27['getStdout']()[_0x2e9839(0x167)](process[_0x2e9839(0x102)]);_0x4a1b27['getStderr']()&&_0x4a1b27[_0x2e9839(0x103)]()[_0x2e9839(0x167)](process[_0x2e9839(0x14f)]);const _0x2b8078=async()=>{const _0x5b9bfe=_0x2e9839,_0x59408a={'Quyts':function(_0x4af42d,_0x2fcc67){const _0x3e7d40=a50_0x252e;return _0x25dea4[_0x3e7d40(0x13e)](_0x4af42d,_0x2fcc67);},'toSlO':function(_0x368d61,_0x3bb559){const _0x41c495=a50_0x252e;return _0x25dea4[_0x41c495(0x163)](_0x368d61,_0x3bb559);}};let _0x3bc767=0x0;const _0x946e4a=_0x4a1b27[_0x5b9bfe(0x133)]['getWorkers'](),_0x4aa0ef=()=>{},_0x1ecc15=_0x946e4a[_0x5b9bfe(0x161)](async _0x2f97b1=>{const _0x3e2140=_0x5b9bfe;_0x2f97b1[_0x3e2140(0x135)]([0x2,![]],_0x4aa0ef,_0x4aa0ef,_0x4aa0ef),_0x2f97b1[_0x3e2140(0x108)]['on'](_0x25dea4[_0x3e2140(0x12f)],_0x54d377=>{const _0x5d492f=_0x3e2140;_0x59408a[_0x5d492f(0x137)](_0x3bc767,0x0)&&_0x59408a[_0x5d492f(0x112)](_0x54d377,0x0)&&(_0x3bc767=_0x54d377);}),await _0x2f97b1[_0x3e2140(0x120)]();});await Promise['all'](_0x1ecc15),process[_0x5b9bfe(0x110)]=_0x3bc767;const {forceExited:_0x2ef793}=await _0x4a1b27[_0x5b9bfe(0x13a)]();_0x2ef793&&console['error'](_0x25dea4[_0x5b9bfe(0x11a)]),_0x25dea4[_0x5b9bfe(0x157)](_0x34ec18,_0x4f4098);},_0x59e577=_0x25dea4['CySMu'](pLimit,_0x4a6472),_0x19389b=_0x33480e=>_0x59e577(async()=>{const _0xad38f5=_0x2e9839;return _0x4a1b27[_0xad38f5(0x124)](_0x33480e);});Promise[_0x2e9839(0x10e)](_0x4651ee[_0x2e9839(0x161)](_0x18f936=>_0x19389b(_0x18f936)[_0x2e9839(0x142)](_0x3fe3e9=>_0x3cb086[_0x2e9839(0x10a)](_0x2e9839(0x165),[_0x18f936[_0x2e9839(0x107)][_0x2e9839(0x152)],_0x18f936[_0x2e9839(0x107)]['file']]),_0x107b5a=>_0x3cb086[_0x2e9839(0x10a)](_0x2e9839(0x136),[_0x18f936,_0x107b5a]))))[_0x2e9839(0x142)](_0x2b8078,_0x2b8078);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a51_0x48d330=a51_0x411b;(function(_0x488dae,_0x2fe776){const _0x37d856=a51_0x411b,_0x42d6e8=_0x488dae();while(!![]){try{const _0x2a58ed=-parseInt(_0x37d856(0x1e5))/0x1+parseInt(_0x37d856(0x1de))/0x2*(parseInt(_0x37d856(0x1e4))/0x3)+parseInt(_0x37d856(0x1dd))/0x4*(-parseInt(_0x37d856(0x1f0))/0x5)+parseInt(_0x37d856(0x1eb))/0x6*(parseInt(_0x37d856(0x1e9))/0x7)+-parseInt(_0x37d856(0x1ea))/0x8+parseInt(_0x37d856(0x1f4))/0x9+-parseInt(_0x37d856(0x1e3))/0xa*(-parseInt(_0x37d856(0x1ec))/0xb);if(_0x2a58ed===_0x2fe776)break;else _0x42d6e8['push'](_0x42d6e8['shift']());}catch(_0x5c83ca){_0x42d6e8['push'](_0x42d6e8['shift']());}}}(a51_0x356f,0x9432a));const PerformanceEvents=require('../../helpers/performance/constants')[a51_0x48d330(0x1f2)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require('../../helpers/test-observability/utils');function a51_0x411b(_0x35cbb5,_0x485f47){const _0x356fa9=a51_0x356f();return a51_0x411b=function(_0x411b63,_0x5c9c75){_0x411b63=_0x411b63-0x1dd;let _0xbd8fe3=_0x356fa9[_0x411b63];return _0xbd8fe3;},a51_0x411b(_0x35cbb5,_0x485f47);}exports[a51_0x48d330(0x1f3)]=async(_0x519f51,_0x4ed9cd)=>{const _0x4d27ec=a51_0x48d330,_0x1be191={'JuHuQ':function(_0x347e15,_0x3522f3){return _0x347e15(_0x3522f3);},'hRaBq':_0x4d27ec(0x1e7),'UAuAc':_0x4d27ec(0x1ed)};PerformanceTester[_0x4d27ec(0x1f6)]();const _0x126807=_0x1be191[_0x4d27ec(0x1e1)](require,_0x1be191[_0x4d27ec(0x1ef)]),_0x1dbb64=new _0x126807(_0x1be191[_0x4d27ec(0x1e8)],_0x519f51,_0x4ed9cd),_0x58753a=await _0x1dbb64[_0x4d27ec(0x1e2)]();return PerformanceTester[_0x4d27ec(0x1f5)](PerformanceEvents['SDK_POST_TEST']),await _0x1be191['JuHuQ'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x58753a;},exports[a51_0x48d330(0x1e6)]=async(_0x173c45,_0x17493e,_0x58f477,_0xa450de,_0x3ac6d9)=>{const _0x51329c=a51_0x48d330,_0x81ff64={'gtcWi':function(_0x543dfe,_0x5783f1){return _0x543dfe(_0x5783f1);},'wtthy':_0x51329c(0x1e7),'xyiwQ':'cucumber-js'},_0x2d8394={'capability':_0x173c45,..._0x17493e},_0x1cd22d={};_0x1cd22d[_0x51329c(0x1f7)]=_0x2d8394,_0x1cd22d['formatter']=_0x3ac6d9;const _0x2675f2=_0x1cd22d,_0x51722a=_0x81ff64['gtcWi'](require,_0x81ff64['wtthy']),_0x3a3b2d=new _0x51722a(_0x81ff64[_0x51329c(0x1e0)],_0x2675f2,_0x58f477,_0xa450de);return await _0x3a3b2d['run']();},exports[a51_0x48d330(0x1df)]=async _0x3ec10c=>{const _0x35fb3b=a51_0x48d330,_0x3802be={'pzBpy':function(_0x1b81fd,_0x35f840){return _0x1b81fd(_0x35f840);},'scSGo':_0x35fb3b(0x1e7),'BxVJu':'vanilla'},_0x29f427=_0x3802be['pzBpy'](require,_0x3802be[_0x35fb3b(0x1ee)]),_0x5bc3d2=new _0x29f427(_0x3802be[_0x35fb3b(0x1f1)],_0x3ec10c);return await _0x5bc3d2['run']();};function a51_0x356f(){const _0x2372ad=['runVanillaTest','xyiwQ','JuHuQ','run','2945290ipzaWR','24372IMTifI','464516AGwjdx','runCucumberTest','../launcher/launcher','UAuAc','861602CYhHUP','5722368nSreie','18SoqhuD','11pNGWPw','mocha','scSGo','hRaBq','125055cYkKrh','BxVJu','EVENTS','runTest','5013918EKGulo','end','startMonitoring','configuration','68UJHKeT','244tmzBJi'];a51_0x356f=function(){return _0x2372ad;};return a51_0x356f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a52_0x11b7(_0x308991,_0x5c8713){const _0x3658e6=a52_0x3658();return a52_0x11b7=function(_0x11b724,_0x4a21ec){_0x11b724=_0x11b724-0xc9;let _0x361c24=_0x3658e6[_0x11b724];return _0x361c24;},a52_0x11b7(_0x308991,_0x5c8713);}const a52_0x3c504f=a52_0x11b7;(function(_0x3129c4,_0x548cfb){const _0x5b014a=a52_0x11b7,_0x4f03a7=_0x3129c4();while(!![]){try{const _0x425b32=-parseInt(_0x5b014a(0xd0))/0x1+parseInt(_0x5b014a(0xd8))/0x2*(parseInt(_0x5b014a(0xcf))/0x3)+parseInt(_0x5b014a(0xd1))/0x4*(parseInt(_0x5b014a(0xd2))/0x5)+-parseInt(_0x5b014a(0xca))/0x6*(parseInt(_0x5b014a(0xcb))/0x7)+parseInt(_0x5b014a(0xd9))/0x8*(-parseInt(_0x5b014a(0xd6))/0x9)+-parseInt(_0x5b014a(0xcc))/0xa+parseInt(_0x5b014a(0xd3))/0xb*(parseInt(_0x5b014a(0xd4))/0xc);if(_0x425b32===_0x548cfb)break;else _0x4f03a7['push'](_0x4f03a7['shift']());}catch(_0x5959e1){_0x4f03a7['push'](_0x4f03a7['shift']());}}}(a52_0x3658,0x803cc));function a52_0x3658(){const _0xbc69dd=['mnnzE','783EYhqoJ','cucumberWorker','2BWvEBZ','32160COpZnt','worker','8484uNdhtS','1141vhZwSJ','6193630KumaXy','HBGZk','./runTest','956343JBPrvH','163749UGFUqt','4PhvhQy','4506490FduYBn','55VfXUoU','1604436kzQuQv'];a52_0x3658=function(){return _0xbc69dd;};return a52_0x3658();}const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x3c504f(0xce));exports[a52_0x3c504f(0xc9)]=async(_0x360a6d,_0x4e921e)=>{const _0x2bb69e=a52_0x3c504f,_0x5d38dc={'mnnzE':function(_0x403b62,_0x20311e,_0x5db98a){return _0x403b62(_0x20311e,_0x5db98a);}};return await _0x5d38dc[_0x2bb69e(0xd5)](runTest,_0x360a6d,_0x4e921e);},exports[a52_0x3c504f(0xd7)]=async(_0x3e6e1f,_0x264fd1,_0x29fe1b,_0x5e3c8d,_0x418525)=>{const _0x4be591={'crKJa':function(_0x200a6a,_0x307c0b,_0xe7c821,_0x4c14a2,_0x2752b6,_0x49c49e){return _0x200a6a(_0x307c0b,_0xe7c821,_0x4c14a2,_0x2752b6,_0x49c49e);}};return await _0x4be591['crKJa'](runCucumberTest,_0x3e6e1f,_0x264fd1,_0x29fe1b,_0x5e3c8d,_0x418525);},exports['vanillaWorker']=async _0x1f45e1=>{const _0xbb0608=a52_0x3c504f,_0x3a073f={'HBGZk':function(_0x35d9d,_0x158991){return _0x35d9d(_0x158991);}};return await _0x3a073f[_0xbb0608(0xcd)](runVanillaTest,_0x1f45e1);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x1ed9(){const _0x5d2a5b=['getAppAutomateSessionNameAPIUrl','wGCNz','APP_UPLOAD_URL','SCKcl','./constants','eGtcb','NgGRS','4587464hJwAHJ','getEdsInstrumentationAPIUrl','1176BPtXYO','OkItp','getInstance','BROWSERSTACK_API_URL','rVFgQ','api','observability','MfOSI','ubmTn','toString','xkEGg','ACTQl','getConfig','UEQRf','rAZPU','heKZX','getAutomateSessionStatusAPIUrl','PLAYWRIGHT_HUB_URL','endsWith','exports','WCuSS','udeiT','KwzpQ','cmrFM','Kacuu','YZVnQ','EaqHB','463445eoIyjC','IKMjP','getAutoCaptureLogsAPIUrl','29281aYUrIL','CJjRE','flXNH','wss:','fLYzZ','getPlaywrightHubUrl','13933080PhLBJA','TSMFH','aKFHE','rzari','TTEaP','swFna','Ocrof','735051reOuWe','getAppAutomateSessionStatusAPIUrl','appAutomate','COghF','xoUEy','111729zBQpox','qjZAs','tTaBR','automate','mPrzn','upload','jDJVb','uxyao','BYxro','getAutomateSessionsListAPIUrl','2ytNLLY','RwvYW','TcCIG','jDUmW','137032gDIowI','nQxri','xkiWp','BpHHh','exGIv','sUeYU','jEWHC','getBStackAPIUrl','apis','qUvSb','xrSlG','wCOGc','FFbrR','nSPow','htrxj','OBSERVABILITY_UPLOAD_URL','replace','GQDBK'];a53_0x1ed9=function(){return _0x5d2a5b;};return a53_0x1ed9();}const a53_0x595047=a53_0x5c10;(function(_0x35756b,_0x45b11f){const _0x42da5e=a53_0x5c10,_0x44241b=_0x35756b();while(!![]){try{const _0x1f45a8=parseInt(_0x42da5e(0xec))/0x1*(parseInt(_0x42da5e(0xf6))/0x2)+parseInt(_0x42da5e(0xe7))/0x3+-parseInt(_0x42da5e(0xfa))/0x4+parseInt(_0x42da5e(0xd7))/0x5+parseInt(_0x42da5e(0x115))/0x6*(-parseInt(_0x42da5e(0xda))/0x7)+-parseInt(_0x42da5e(0x113))/0x8+parseInt(_0x42da5e(0xe0))/0x9;if(_0x1f45a8===_0x45b11f)break;else _0x44241b['push'](_0x44241b['shift']());}catch(_0x554923){_0x44241b['push'](_0x44241b['shift']());}}}(a53_0x1ed9,0x8b28c));const constants=require(a53_0x595047(0x110)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x54f1e6=a53_0x595047,_0x475d4f={'IKMjP':function(_0x356343,_0x573600){return _0x356343(_0x573600);},'nQxri':'../v2/browserstackCLI'};return _0x475d4f[_0x54f1e6(0xd8)](require,_0x475d4f[_0x54f1e6(0xfb)]);};function a53_0x5c10(_0x494592,_0x51897d){const _0x1ed9ad=a53_0x1ed9();return a53_0x5c10=function(_0x5c102f,_0x1d5196){_0x5c102f=_0x5c102f-0xbd;let _0x39372a=_0x1ed9ad[_0x5c102f];return _0x39372a;},a53_0x5c10(_0x494592,_0x51897d);}class APIUtilityMethods{static[a53_0x595047(0x101)](_0x3ad368){const _0x247f77=a53_0x595047,_0x1e7a0c={'FFbrR':function(_0x385fe2){return _0x385fe2();},'COghF':function(_0x2789ad,_0xcbed8a,_0x2171e5){return _0x2789ad(_0xcbed8a,_0x2171e5);},'TTEaP':_0x247f77(0x102),'sUeYU':_0x247f77(0xef),'rVFgQ':_0x247f77(0xc1),'zUjFB':function(_0x481cae,_0x1a67af){return _0x481cae===_0x1a67af;},'fmyug':function(_0x13b421,_0x5327cf){return _0x13b421+_0x5327cf;}},_0x1c243f=_0x1e7a0c[_0x247f77(0x106)](getBrowserstackCLI),_0x58006b=_0x1e7a0c[_0x247f77(0xea)](nestedKeyValue,_0x1c243f[_0x247f77(0xbe)]()[_0x247f77(0xc8)](),[_0x1e7a0c[_0x247f77(0xe4)],_0x1e7a0c[_0x247f77(0xff)],_0x1e7a0c[_0x247f77(0xc0)]])||constants['BROWSERSTACK_API_URL'];if(!_0x3ad368||_0x1e7a0c['zUjFB'](_0x3ad368,''))return _0x58006b;const _0x5349a8=_0x58006b['endsWith']('/')?_0x58006b:_0x1e7a0c['fmyug'](_0x58006b,'/');return new URL(_0x3ad368,_0x5349a8)[_0x247f77(0xc5)]();}static[a53_0x595047(0x114)](_0x212658){const _0x323d16=a53_0x595047,_0x51936d={'xkEGg':function(_0x4e4b88){return _0x4e4b88();},'wGCNz':function(_0x48fb82,_0x52cdfd,_0x5cfb77){return _0x48fb82(_0x52cdfd,_0x5cfb77);},'UEQRf':'apis','EaqHB':'edsInstrumentation','aKFHE':_0x323d16(0xc1),'jDJVb':function(_0x592546,_0x4c714f){return _0x592546===_0x4c714f;},'ubmTn':function(_0x3cdec7,_0x1d939e){return _0x3cdec7+_0x1d939e;}},_0x276830=_0x51936d[_0x323d16(0xc6)](getBrowserstackCLI),_0xe4d15a=_0x51936d[_0x323d16(0x10d)](nestedKeyValue,_0x276830['getInstance']()[_0x323d16(0xc8)](),[_0x51936d[_0x323d16(0xc9)],_0x51936d[_0x323d16(0xd6)],_0x51936d[_0x323d16(0xe2)]])||constants['EDS_URL'];if(!_0x212658||_0x51936d[_0x323d16(0xf2)](_0x212658,''))return _0xe4d15a;const _0x31e956=_0xe4d15a[_0x323d16(0xce)]('/')?_0xe4d15a:_0x51936d[_0x323d16(0xc4)](_0xe4d15a,'/');return new URL(_0x212658,_0x31e956)[_0x323d16(0xc5)]();}static[a53_0x595047(0xcc)](_0x3b1da4){const _0x2751a8=a53_0x595047,_0x53ea6f={'xoUEy':function(_0x4588bd){return _0x4588bd();},'NhNwp':function(_0x3eca2b,_0x2fe406,_0x6fcd25){return _0x3eca2b(_0x2fe406,_0x6fcd25);},'WCuSS':_0x2751a8(0x102),'nSPow':_0x2751a8(0xef),'jrKjc':_0x2751a8(0xc1),'JUocz':function(_0x26938b,_0x4b2e85){return _0x26938b===_0x4b2e85;},'eUcxg':function(_0x1f9134,_0x403c46){return _0x1f9134+_0x403c46;}},_0x4b84f0=_0x53ea6f[_0x2751a8(0xeb)](getBrowserstackCLI),_0x1cadbb=_0x53ea6f['NhNwp'](nestedKeyValue,_0x4b84f0[_0x2751a8(0xbe)]()[_0x2751a8(0xc8)](),[_0x53ea6f[_0x2751a8(0xd0)],_0x53ea6f[_0x2751a8(0x107)],_0x53ea6f['jrKjc']])||constants[_0x2751a8(0xbf)];if(!_0x3b1da4||_0x53ea6f['JUocz'](_0x3b1da4,''))return _0x1cadbb;const _0x15f271=_0x1cadbb[_0x2751a8(0xce)]('/')?_0x1cadbb:_0x53ea6f['eUcxg'](_0x1cadbb,'/');return new URL(_0x3b1da4,_0x15f271)[_0x2751a8(0xc5)]();}static[a53_0x595047(0xe8)](_0x23fd55){const _0x24edcd=a53_0x595047,_0x431888={'qUvSb':function(_0x825299){return _0x825299();},'tTaBR':function(_0x3b1262,_0x53270e,_0xdaafbe){return _0x3b1262(_0x53270e,_0xdaafbe);},'NgGRS':_0x24edcd(0x102),'cmrFM':'appAutomate','jDUmW':'api','exGIv':function(_0xbef0d2,_0x31e058){return _0xbef0d2===_0x31e058;},'xbTTT':function(_0x5992a6,_0x403956){return _0x5992a6+_0x403956;}},_0x5296b5=_0x431888[_0x24edcd(0x103)](getBrowserstackCLI),_0x5e6246=_0x431888[_0x24edcd(0xee)](nestedKeyValue,_0x5296b5[_0x24edcd(0xbe)]()[_0x24edcd(0xc8)](),[_0x431888[_0x24edcd(0x112)],_0x431888[_0x24edcd(0xd3)],_0x431888[_0x24edcd(0xf9)]])||constants[_0x24edcd(0xbf)];if(!_0x23fd55||_0x431888[_0x24edcd(0xfe)](_0x23fd55,''))return _0x5e6246;const _0x1af453=_0x5e6246[_0x24edcd(0xce)]('/')?_0x5e6246:_0x431888['xbTTT'](_0x5e6246,'/');return new URL(_0x23fd55,_0x1af453)[_0x24edcd(0xc5)]();}static['getAutomateSessionNameAPIUrl'](_0x2c1dd3){const _0x5d347b=a53_0x595047,_0x4398fb={'OkItp':function(_0x29cd79){return _0x29cd79();},'jEWHC':function(_0xe5529d,_0x475da8,_0x5765b9){return _0xe5529d(_0x475da8,_0x5765b9);},'ACTQl':_0x5d347b(0x102),'mPrzn':_0x5d347b(0xef),'Ocrof':_0x5d347b(0xc1),'RwvYW':function(_0x58f81f,_0x72aec3){return _0x58f81f===_0x72aec3;},'eGtcb':function(_0x19afee,_0x2b08b8){return _0x19afee+_0x2b08b8;}},_0x3db429=_0x4398fb[_0x5d347b(0xbd)](getBrowserstackCLI),_0x2f0569=_0x4398fb[_0x5d347b(0x100)](nestedKeyValue,_0x3db429[_0x5d347b(0xbe)]()[_0x5d347b(0xc8)](),[_0x4398fb[_0x5d347b(0xc7)],_0x4398fb[_0x5d347b(0xf0)],_0x4398fb[_0x5d347b(0xe6)]])||constants[_0x5d347b(0xbf)];if(!_0x2c1dd3||_0x4398fb[_0x5d347b(0xf7)](_0x2c1dd3,''))return _0x2f0569;const _0x3b7a43=_0x2f0569[_0x5d347b(0xce)]('/')?_0x2f0569:_0x4398fb[_0x5d347b(0x111)](_0x2f0569,'/');return new URL(_0x2c1dd3,_0x3b7a43)['toString']();}static[a53_0x595047(0x10c)](_0x431f05){const _0x4b6d04=a53_0x595047,_0x4de6a8={'MfOSI':function(_0x2c3e9e){return _0x2c3e9e();},'flXNH':function(_0x36f6de,_0x25e792,_0x2c0e77){return _0x36f6de(_0x25e792,_0x2c0e77);},'rzari':_0x4b6d04(0x102),'XwkwW':_0x4b6d04(0xe9),'swFna':'api','BpHHh':function(_0x351ef6,_0x224cf8){return _0x351ef6===_0x224cf8;},'htrxj':function(_0x1144c9,_0x526157){return _0x1144c9+_0x526157;}},_0x369b2c=_0x4de6a8[_0x4b6d04(0xc3)](getBrowserstackCLI),_0xb4eee5=_0x4de6a8[_0x4b6d04(0xdc)](nestedKeyValue,_0x369b2c['getInstance']()[_0x4b6d04(0xc8)](),[_0x4de6a8[_0x4b6d04(0xe3)],_0x4de6a8['XwkwW'],_0x4de6a8[_0x4b6d04(0xe5)]])||constants[_0x4b6d04(0xbf)];if(!_0x431f05||_0x4de6a8[_0x4b6d04(0xfd)](_0x431f05,''))return _0xb4eee5;const _0x4d0954=_0xb4eee5['endsWith']('/')?_0xb4eee5:_0x4de6a8[_0x4b6d04(0x108)](_0xb4eee5,'/');return new URL(_0x431f05,_0x4d0954)['toString']();}static[a53_0x595047(0xf5)](_0x3d6fc8){const _0x568bd5=a53_0x595047,_0x29f782={'YZVnQ':function(_0x443804){return _0x443804();},'fnnIZ':function(_0x53dd44,_0xfdf33b,_0x3115e9){return _0x53dd44(_0xfdf33b,_0x3115e9);},'TSMFH':_0x568bd5(0x102),'yoDsS':_0x568bd5(0xef),'eQCFz':_0x568bd5(0xc1),'CJjRE':function(_0x4d9f9a,_0x592083){return _0x4d9f9a===_0x592083;},'OmaAj':function(_0x191444,_0x337cdf){return _0x191444+_0x337cdf;}},_0x385290=_0x29f782[_0x568bd5(0xd5)](getBrowserstackCLI),_0x3aedf5=_0x29f782['fnnIZ'](nestedKeyValue,_0x385290[_0x568bd5(0xbe)]()[_0x568bd5(0xc8)](),[_0x29f782[_0x568bd5(0xe1)],_0x29f782['yoDsS'],_0x29f782['eQCFz']])||constants[_0x568bd5(0xbf)];if(!_0x3d6fc8||_0x29f782[_0x568bd5(0xdb)](_0x3d6fc8,''))return _0x3aedf5;const _0x1bc2ce=_0x3aedf5['endsWith']('/')?_0x3aedf5:_0x29f782['OmaAj'](_0x3aedf5,'/');return new URL(_0x3d6fc8,_0x1bc2ce)['toString']()[_0x568bd5(0x10a)](/^https?:\/\//,'');}static['getAppAutomateSessionsListAPIUrl'](_0x4d1d8e){const _0x38e533=a53_0x595047,_0x42ba4c={'HKdoS':function(_0x2cb9ce){return _0x2cb9ce();},'udeiT':function(_0x3faf27,_0x207e0d,_0x39d2a9){return _0x3faf27(_0x207e0d,_0x39d2a9);},'TcCIG':_0x38e533(0x102),'BYxro':_0x38e533(0xe9),'jMYiC':_0x38e533(0xc1),'DpoSF':function(_0x3d734a,_0x4480c9){return _0x3d734a===_0x4480c9;},'xrSlG':function(_0x33ab1a,_0x5c60af){return _0x33ab1a+_0x5c60af;}},_0x3ffc6b=_0x42ba4c['HKdoS'](getBrowserstackCLI),_0x4641c9=_0x42ba4c[_0x38e533(0xd1)](nestedKeyValue,_0x3ffc6b[_0x38e533(0xbe)]()[_0x38e533(0xc8)](),[_0x42ba4c[_0x38e533(0xf8)],_0x42ba4c[_0x38e533(0xf4)],_0x42ba4c['jMYiC']])||constants[_0x38e533(0x10e)];if(!_0x4d1d8e||_0x42ba4c['DpoSF'](_0x4d1d8e,''))return _0x4641c9;const _0x15ce5b=_0x4641c9[_0x38e533(0xce)]('/')?_0x4641c9:_0x42ba4c[_0x38e533(0x104)](_0x4641c9,'/');return new URL(_0x4d1d8e,_0x15ce5b)[_0x38e533(0xc5)]()[_0x38e533(0x10a)](/^https?:\/\//,'');}static[a53_0x595047(0xd9)](_0x4b100e){const _0x1b9f4a=a53_0x595047,_0x49242f={'mtUbB':function(_0x180655){return _0x180655();},'rCzNm':function(_0x283bbd,_0x2ca2e3,_0x3fc5f5){return _0x283bbd(_0x2ca2e3,_0x3fc5f5);},'xkiWp':_0x1b9f4a(0x102),'qjZAs':_0x1b9f4a(0xc2),'IxGDb':_0x1b9f4a(0xf1),'zMjUQ':function(_0x38f23d,_0x408da3){return _0x38f23d===_0x408da3;},'rAZPU':function(_0x1bf86f,_0x56a750){return _0x1bf86f+_0x56a750;}},_0xf1027f=_0x49242f['mtUbB'](getBrowserstackCLI),_0x2f9baa=_0x49242f['rCzNm'](nestedKeyValue,_0xf1027f[_0x1b9f4a(0xbe)]()[_0x1b9f4a(0xc8)](),[_0x49242f[_0x1b9f4a(0xfc)],_0x49242f[_0x1b9f4a(0xed)],_0x49242f['IxGDb']])||constants[_0x1b9f4a(0x109)];if(!_0x4b100e||_0x49242f['zMjUQ'](_0x4b100e,''))return _0x2f9baa;const _0x360f7c=_0x2f9baa['endsWith']('/')?_0x2f9baa:_0x49242f[_0x1b9f4a(0xca)](_0x2f9baa,'/');return new URL(_0x4b100e,_0x360f7c)['toString']();}static[a53_0x595047(0xdf)](_0x333856){const _0x2ac16b=a53_0x595047,_0x562ee9={'Kacuu':function(_0x37f05b){return _0x37f05b();},'wCOGc':function(_0x4f8c7e,_0x320826,_0x34c877){return _0x4f8c7e(_0x320826,_0x34c877);},'fLYzZ':_0x2ac16b(0x102),'GQDBK':_0x2ac16b(0xef),'rLlDf':'cdp','KwzpQ':_0x2ac16b(0xdd),'heKZX':function(_0x4caf12,_0x2f6792){return _0x4caf12===_0x2f6792;},'uxyao':function(_0x37921a,_0x551bfd){return _0x37921a+_0x551bfd;},'SCKcl':'/playwright?caps='},_0x41715b=_0x562ee9[_0x2ac16b(0xd4)](getBrowserstackCLI),_0x484019=_0x562ee9[_0x2ac16b(0x105)](nestedKeyValue,_0x41715b[_0x2ac16b(0xbe)]()[_0x2ac16b(0xc8)](),[_0x562ee9[_0x2ac16b(0xde)],_0x562ee9[_0x2ac16b(0x10b)],_0x562ee9['rLlDf']]),_0x342602=(_0x484019?_0x484019[_0x2ac16b(0x10a)](/^https:/,_0x562ee9[_0x2ac16b(0xd2)]):null)||constants[_0x2ac16b(0xcd)];let _0x21807b;if(!_0x333856||_0x562ee9[_0x2ac16b(0xcb)](_0x333856,''))_0x21807b=_0x342602;else{const _0x34658b=_0x342602[_0x2ac16b(0xce)]('/')?_0x342602:_0x562ee9[_0x2ac16b(0xf3)](_0x342602,'/');_0x21807b=new URL(_0x333856,_0x34658b)[_0x2ac16b(0xc5)]();}return!_0x21807b[_0x2ac16b(0xce)](_0x562ee9['SCKcl'])&&(_0x21807b+=_0x562ee9[_0x2ac16b(0x10f)]),_0x21807b;}}module[a53_0x595047(0xcf)]=APIUtilityMethods;
|
|
1
|
+
function a53_0x292c(_0xae7f1b,_0x168f17){const _0x60b44a=a53_0x60b4();return a53_0x292c=function(_0x292c4f,_0x5b31a7){_0x292c4f=_0x292c4f-0x95;let _0x1456dd=_0x60b44a[_0x292c4f];return _0x1456dd;},a53_0x292c(_0xae7f1b,_0x168f17);}function a53_0x60b4(){const _0x4000d6=['wss:','RYTbA','lEyXb','getEdsInstrumentationAPIUrl','KtXBN','getPlaywrightHubUrl','82068eoaDLC','1158155jYAWZk','sxVdj','appAutomate','upload','ZLKPx','KjHpa','endsWith','vBijE','jDxCQ','119tZPaYh','aqGnF','HsHqk','hRvEr','iGkBA','HDxYw','tbYUc','670996aKzWGd','pTOkW','APP_UPLOAD_URL','dzWbJ','qITJL','UaMgG','rFDhB','apis','5073957xyRXKC','PLAYWRIGHT_HUB_URL','321147QJWmag','1422344tPIfBg','PeGgz','getAutomateSessionNameAPIUrl','ZUWJY','BROWSERSTACK_API_URL','BiOSz','92DAdZKx','ytkVh','3236AdoWQS','automate','./sharedUtils','VKEpI','lknlR','xljvC','getConfig','observability','../v2/browserstackCLI','UgNnB','ThKPf','wluYx','edsInstrumentation','IempD','getAppAutomateSessionsListAPIUrl','UbcXQ','LyhdC','OBSERVABILITY_UPLOAD_URL','RpnWN','crWMq','ijRnW','./constants','getAppAutomateSessionStatusAPIUrl','Wdcke','EDS_URL','getAutomateSessionStatusAPIUrl','getAutomateSessionsListAPIUrl','cvgbz','arjur','api','BuXvM','EuQUy','getAutoCaptureLogsAPIUrl','eSGIb','oHsvx','lnQmd','toString','dapsc','symRg','JooKI','pvtUK','gPvAI','BfKcy','lUbBl','TpBdi','getBStackAPIUrl','AgDCZ','getInstance','replace','cNVIg','HBCTR','dVPrY','gbfQE','uiFTe','UzMuC','ZaaHH'];a53_0x60b4=function(){return _0x4000d6;};return a53_0x60b4();}const a53_0x26c8fa=a53_0x292c;(function(_0x16e21d,_0xf72c5c){const _0x69e2b1=a53_0x292c,_0x123883=_0x16e21d();while(!![]){try{const _0x58c81c=-parseInt(_0x69e2b1(0xda))/0x1*(-parseInt(_0x69e2b1(0xdc))/0x2)+-parseInt(_0x69e2b1(0xd3))/0x3+parseInt(_0x69e2b1(0xc9))/0x4+-parseInt(_0x69e2b1(0xb9))/0x5+-parseInt(_0x69e2b1(0xb8))/0x6*(parseInt(_0x69e2b1(0xc2))/0x7)+-parseInt(_0x69e2b1(0xd4))/0x8+parseInt(_0x69e2b1(0xd1))/0x9;if(_0x58c81c===_0xf72c5c)break;else _0x123883['push'](_0x123883['shift']());}catch(_0xef8e67){_0x123883['push'](_0x123883['shift']());}}}(a53_0x60b4,0x20133));const constants=require(a53_0x26c8fa(0xf1)),{nestedKeyValue}=require(a53_0x26c8fa(0xde)),getBrowserstackCLI=()=>{const _0x5b9660=a53_0x26c8fa,_0x2d3d17={'lknlR':function(_0x2e9387,_0x24062c){return _0x2e9387(_0x24062c);},'LdaFO':_0x5b9660(0xe4)};return _0x2d3d17[_0x5b9660(0xe0)](require,_0x2d3d17['LdaFO']);};class APIUtilityMethods{static[a53_0x26c8fa(0xa7)](_0xf72072){const _0x4c2c5d=a53_0x26c8fa,_0x31e974={'EuQUy':function(_0x3e193e){return _0x3e193e();},'JooKI':function(_0x511dde,_0x185dbe,_0x370287){return _0x511dde(_0x185dbe,_0x370287);},'vBijE':_0x4c2c5d(0xd0),'UgNnB':_0x4c2c5d(0xdd),'sxVdj':_0x4c2c5d(0x97),'gPvAI':function(_0x136318,_0x2cd9b7){return _0x136318===_0x2cd9b7;},'RpnWN':function(_0x4e8928,_0x1499d3){return _0x4e8928+_0x1499d3;}},_0x10e148=_0x31e974[_0x4c2c5d(0x99)](getBrowserstackCLI),_0x3a45c2=_0x31e974[_0x4c2c5d(0xa1)](nestedKeyValue,_0x10e148[_0x4c2c5d(0xa9)]()[_0x4c2c5d(0xe2)](),[_0x31e974[_0x4c2c5d(0xc0)],_0x31e974[_0x4c2c5d(0xe5)],_0x31e974[_0x4c2c5d(0xba)]])||constants[_0x4c2c5d(0xd8)];if(!_0xf72072||_0x31e974[_0x4c2c5d(0xa3)](_0xf72072,''))return _0x3a45c2;const _0x29a7d9=_0x3a45c2['endsWith']('/')?_0x3a45c2:_0x31e974[_0x4c2c5d(0xee)](_0x3a45c2,'/');return new URL(_0xf72072,_0x29a7d9)[_0x4c2c5d(0x9e)]();}static[a53_0x26c8fa(0xb5)](_0x534d26){const _0xed68a2=a53_0x26c8fa,_0x52464f={'pvtUK':function(_0x468442){return _0x468442();},'HDxYw':function(_0x369001,_0xf658b1,_0x40515a){return _0x369001(_0xf658b1,_0x40515a);},'ZaaHH':_0xed68a2(0xd0),'VKEpI':_0xed68a2(0xe8),'btXlH':_0xed68a2(0x97),'IempD':function(_0x33cd26,_0x89b6be){return _0x33cd26===_0x89b6be;},'kqIij':function(_0x61e300,_0x2e3df9){return _0x61e300+_0x2e3df9;}},_0x348775=_0x52464f[_0xed68a2(0xa2)](getBrowserstackCLI),_0x284fb2=_0x52464f[_0xed68a2(0xc7)](nestedKeyValue,_0x348775[_0xed68a2(0xa9)]()['getConfig'](),[_0x52464f[_0xed68a2(0xb1)],_0x52464f[_0xed68a2(0xdf)],_0x52464f['btXlH']])||constants[_0xed68a2(0xf4)];if(!_0x534d26||_0x52464f[_0xed68a2(0xe9)](_0x534d26,''))return _0x284fb2;const _0x4442d9=_0x284fb2[_0xed68a2(0xbf)]('/')?_0x284fb2:_0x52464f['kqIij'](_0x284fb2,'/');return new URL(_0x534d26,_0x4442d9)[_0xed68a2(0x9e)]();}static[a53_0x26c8fa(0xf5)](_0x801a3b){const _0x3303b7=a53_0x26c8fa,_0x4d8849={'zzQNa':function(_0x5f2d23){return _0x5f2d23();},'lEyXb':function(_0x4c3bcf,_0x54c138,_0x2dba2e){return _0x4c3bcf(_0x54c138,_0x2dba2e);},'ZUWJY':'apis','BuXvM':'automate','lUbBl':_0x3303b7(0x97),'lnQmd':function(_0x15ee2a,_0x11082c){return _0x15ee2a===_0x11082c;},'IDSRl':function(_0x54c1fd,_0x4fde85){return _0x54c1fd+_0x4fde85;}},_0x3cf624=_0x4d8849['zzQNa'](getBrowserstackCLI),_0x234429=_0x4d8849[_0x3303b7(0xb4)](nestedKeyValue,_0x3cf624['getInstance']()[_0x3303b7(0xe2)](),[_0x4d8849[_0x3303b7(0xd7)],_0x4d8849[_0x3303b7(0x98)],_0x4d8849[_0x3303b7(0xa5)]])||constants[_0x3303b7(0xd8)];if(!_0x801a3b||_0x4d8849[_0x3303b7(0x9d)](_0x801a3b,''))return _0x234429;const _0x1ae545=_0x234429[_0x3303b7(0xbf)]('/')?_0x234429:_0x4d8849['IDSRl'](_0x234429,'/');return new URL(_0x801a3b,_0x1ae545)[_0x3303b7(0x9e)]();}static[a53_0x26c8fa(0xf2)](_0x44b04d){const _0x1b97a7=a53_0x26c8fa,_0x38927b={'xljvC':function(_0x2efc52){return _0x2efc52();},'eSGIb':function(_0x3826b0,_0xfa2017,_0x3f2bf4){return _0x3826b0(_0xfa2017,_0x3f2bf4);},'TpBdi':_0x1b97a7(0xd0),'LyhdC':'appAutomate','iompz':'api','ZLKPx':function(_0x5b5f7b,_0x4b08cc){return _0x5b5f7b===_0x4b08cc;},'hRvEr':function(_0x5195b1,_0xd70d36){return _0x5195b1+_0xd70d36;}},_0x177fef=_0x38927b[_0x1b97a7(0xe1)](getBrowserstackCLI),_0x185497=_0x38927b[_0x1b97a7(0x9b)](nestedKeyValue,_0x177fef[_0x1b97a7(0xa9)]()[_0x1b97a7(0xe2)](),[_0x38927b[_0x1b97a7(0xa6)],_0x38927b[_0x1b97a7(0xec)],_0x38927b['iompz']])||constants['BROWSERSTACK_API_URL'];if(!_0x44b04d||_0x38927b[_0x1b97a7(0xbd)](_0x44b04d,''))return _0x185497;const _0x77297a=_0x185497['endsWith']('/')?_0x185497:_0x38927b[_0x1b97a7(0xc5)](_0x185497,'/');return new URL(_0x44b04d,_0x77297a)['toString']();}static[a53_0x26c8fa(0xd6)](_0x54a8a4){const _0x5b13e1=a53_0x26c8fa,_0x4d337d={'JHBzs':function(_0x3dd114){return _0x3dd114();},'dzWbJ':function(_0x3765a4,_0x2bb32b,_0x172379){return _0x3765a4(_0x2bb32b,_0x172379);},'dapsc':'apis','cQUmv':_0x5b13e1(0xdd),'qwcmc':_0x5b13e1(0x97),'UbcXQ':function(_0x5d5619,_0x4ebcc2){return _0x5d5619===_0x4ebcc2;},'BfKcy':function(_0x138f48,_0x3ef3bc){return _0x138f48+_0x3ef3bc;}},_0x130af9=_0x4d337d['JHBzs'](getBrowserstackCLI),_0x274ba9=_0x4d337d[_0x5b13e1(0xcc)](nestedKeyValue,_0x130af9['getInstance']()[_0x5b13e1(0xe2)](),[_0x4d337d[_0x5b13e1(0x9f)],_0x4d337d['cQUmv'],_0x4d337d['qwcmc']])||constants[_0x5b13e1(0xd8)];if(!_0x54a8a4||_0x4d337d[_0x5b13e1(0xeb)](_0x54a8a4,''))return _0x274ba9;const _0x178358=_0x274ba9['endsWith']('/')?_0x274ba9:_0x4d337d[_0x5b13e1(0xa4)](_0x274ba9,'/');return new URL(_0x54a8a4,_0x178358)[_0x5b13e1(0x9e)]();}static['getAppAutomateSessionNameAPIUrl'](_0x1dd3c5){const _0xff4bee=a53_0x26c8fa,_0x35c220={'ThKPf':function(_0x27b179){return _0x27b179();},'ypCDv':function(_0x570958,_0x3fe5e6,_0x3f90c0){return _0x570958(_0x3fe5e6,_0x3f90c0);},'rFDhB':_0xff4bee(0xd0),'HBCTR':_0xff4bee(0xbb),'oHsvx':_0xff4bee(0x97),'iPcbC':function(_0x22a3a6,_0x46fd78){return _0x22a3a6===_0x46fd78;},'wluYx':function(_0x2c7d29,_0x54c037){return _0x2c7d29+_0x54c037;}},_0x5c91c2=_0x35c220[_0xff4bee(0xe6)](getBrowserstackCLI),_0x2af411=_0x35c220['ypCDv'](nestedKeyValue,_0x5c91c2[_0xff4bee(0xa9)]()['getConfig'](),[_0x35c220[_0xff4bee(0xcf)],_0x35c220[_0xff4bee(0xac)],_0x35c220[_0xff4bee(0x9c)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1dd3c5||_0x35c220['iPcbC'](_0x1dd3c5,''))return _0x2af411;const _0xd769c0=_0x2af411['endsWith']('/')?_0x2af411:_0x35c220[_0xff4bee(0xe7)](_0x2af411,'/');return new URL(_0x1dd3c5,_0xd769c0)[_0xff4bee(0x9e)]();}static[a53_0x26c8fa(0xf6)](_0xb9be16){const _0x594aad=a53_0x26c8fa,_0x514266={'vdvSn':function(_0xdfc197){return _0xdfc197();},'jDxCQ':function(_0x7dc14a,_0x307178,_0x31c24b){return _0x7dc14a(_0x307178,_0x31c24b);},'ijRnW':_0x594aad(0xd0),'XzXVN':_0x594aad(0xdd),'ytkVh':_0x594aad(0x97),'UzMuC':function(_0x2e6beb,_0x40e2cb){return _0x2e6beb===_0x40e2cb;},'pTOkW':function(_0x27c2a6,_0x537193){return _0x27c2a6+_0x537193;}},_0xd5ca65=_0x514266['vdvSn'](getBrowserstackCLI),_0x2e9530=_0x514266[_0x594aad(0xc1)](nestedKeyValue,_0xd5ca65[_0x594aad(0xa9)]()['getConfig'](),[_0x514266[_0x594aad(0xf0)],_0x514266['XzXVN'],_0x514266[_0x594aad(0xdb)]])||constants[_0x594aad(0xd8)];if(!_0xb9be16||_0x514266[_0x594aad(0xb0)](_0xb9be16,''))return _0x2e9530;const _0x57c6aa=_0x2e9530[_0x594aad(0xbf)]('/')?_0x2e9530:_0x514266[_0x594aad(0xca)](_0x2e9530,'/');return new URL(_0xb9be16,_0x57c6aa)[_0x594aad(0x9e)]()[_0x594aad(0xaa)](/^https?:\/\//,'');}static[a53_0x26c8fa(0xea)](_0x58a62b){const _0x36729f=a53_0x26c8fa,_0x3a5c16={'ishhf':function(_0x366dab){return _0x366dab();},'UwwAC':function(_0x537efc,_0x4c0ca2,_0x203384){return _0x537efc(_0x4c0ca2,_0x203384);},'aqGnF':'apis','tbYUc':_0x36729f(0xbb),'KtXBN':_0x36729f(0x97),'gbfQE':function(_0x142d34,_0x428ffb){return _0x142d34===_0x428ffb;},'arjur':function(_0x11e6e4,_0x2586f0){return _0x11e6e4+_0x2586f0;}},_0x10805e=_0x3a5c16['ishhf'](getBrowserstackCLI),_0x51882e=_0x3a5c16['UwwAC'](nestedKeyValue,_0x10805e[_0x36729f(0xa9)]()[_0x36729f(0xe2)](),[_0x3a5c16[_0x36729f(0xc3)],_0x3a5c16[_0x36729f(0xc8)],_0x3a5c16[_0x36729f(0xb6)]])||constants[_0x36729f(0xcb)];if(!_0x58a62b||_0x3a5c16[_0x36729f(0xae)](_0x58a62b,''))return _0x51882e;const _0x2213e8=_0x51882e[_0x36729f(0xbf)]('/')?_0x51882e:_0x3a5c16[_0x36729f(0x96)](_0x51882e,'/');return new URL(_0x58a62b,_0x2213e8)['toString']()[_0x36729f(0xaa)](/^https?:\/\//,'');}static[a53_0x26c8fa(0x9a)](_0x4f133b){const _0xc49be=a53_0x26c8fa,_0x2b0937={'qITJL':function(_0x322516){return _0x322516();},'PeGgz':function(_0x3a3263,_0x4abc31,_0x31b7d5){return _0x3a3263(_0x4abc31,_0x31b7d5);},'cvgbz':'apis','crWMq':_0xc49be(0xe3),'UaMgG':_0xc49be(0xbc),'cNVIg':function(_0x148f27,_0x227108){return _0x148f27===_0x227108;},'AgDCZ':function(_0x49988e,_0x116269){return _0x49988e+_0x116269;}},_0x12032e=_0x2b0937[_0xc49be(0xcd)](getBrowserstackCLI),_0x2cabe8=_0x2b0937[_0xc49be(0xd5)](nestedKeyValue,_0x12032e['getInstance']()[_0xc49be(0xe2)](),[_0x2b0937[_0xc49be(0x95)],_0x2b0937[_0xc49be(0xef)],_0x2b0937[_0xc49be(0xce)]])||constants[_0xc49be(0xed)];if(!_0x4f133b||_0x2b0937[_0xc49be(0xab)](_0x4f133b,''))return _0x2cabe8;const _0x369bb2=_0x2cabe8[_0xc49be(0xbf)]('/')?_0x2cabe8:_0x2b0937[_0xc49be(0xa8)](_0x2cabe8,'/');return new URL(_0x4f133b,_0x369bb2)[_0xc49be(0x9e)]();}static[a53_0x26c8fa(0xb7)](_0x23e006){const _0x40b2f6=a53_0x26c8fa,_0x34ead4={'iGkBA':function(_0x582522){return _0x582522();},'symRg':function(_0x1b2b34,_0x151e30,_0xee6c41){return _0x1b2b34(_0x151e30,_0xee6c41);},'uiFTe':_0x40b2f6(0xd0),'dVPrY':_0x40b2f6(0xdd),'RYTbA':'cdp','HsHqk':_0x40b2f6(0xb2),'KjHpa':function(_0x549ab6,_0x96077d){return _0x549ab6===_0x96077d;},'BiOSz':function(_0x3151dc,_0x4a0540){return _0x3151dc+_0x4a0540;},'Wdcke':'/playwright?caps='},_0x2a01f7=_0x34ead4[_0x40b2f6(0xc6)](getBrowserstackCLI),_0x562c2f=_0x34ead4[_0x40b2f6(0xa0)](nestedKeyValue,_0x2a01f7['getInstance']()['getConfig'](),[_0x34ead4[_0x40b2f6(0xaf)],_0x34ead4[_0x40b2f6(0xad)],_0x34ead4[_0x40b2f6(0xb3)]]),_0x4d0409=(_0x562c2f?_0x562c2f[_0x40b2f6(0xaa)](/^https:/,_0x34ead4[_0x40b2f6(0xc4)]):null)||constants[_0x40b2f6(0xd2)];let _0x10590c;if(!_0x23e006||_0x34ead4[_0x40b2f6(0xbe)](_0x23e006,''))_0x10590c=_0x4d0409;else{const _0x423651=_0x4d0409[_0x40b2f6(0xbf)]('/')?_0x4d0409:_0x34ead4[_0x40b2f6(0xd9)](_0x4d0409,'/');_0x10590c=new URL(_0x23e006,_0x423651)[_0x40b2f6(0x9e)]();}return!_0x10590c[_0x40b2f6(0xbf)](_0x34ead4['Wdcke'])&&(_0x10590c+=_0x34ead4[_0x40b2f6(0xf3)]),_0x10590c;}}module['exports']=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x190117=a54_0x2c71;(function(_0x317ea5,_0x4e88cf){const _0x2425b2=a54_0x2c71,_0x3dfdee=_0x317ea5();while(!![]){try{const _0x50fdd2=parseInt(_0x2425b2(0x180))/0x1*(parseInt(_0x2425b2(0x1ab))/0x2)+-parseInt(_0x2425b2(0x1c8))/0x3+parseInt(_0x2425b2(0x1b0))/0x4*(-parseInt(_0x2425b2(0x175))/0x5)+parseInt(_0x2425b2(0x1a5))/0x6+-parseInt(_0x2425b2(0x1c6))/0x7*(-parseInt(_0x2425b2(0x17d))/0x8)+-parseInt(_0x2425b2(0x197))/0x9*(parseInt(_0x2425b2(0x16c))/0xa)+parseInt(_0x2425b2(0x19f))/0xb*(parseInt(_0x2425b2(0x1aa))/0xc);if(_0x50fdd2===_0x4e88cf)break;else _0x3dfdee['push'](_0x3dfdee['shift']());}catch(_0x5a3537){_0x3dfdee['push'](_0x3dfdee['shift']());}}}(a54_0x12dd,0x76427));const logger=require(a54_0x190117(0x1b3))['winstonLogger'],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a54_0x190117(0x1a0)),constants=require(a54_0x190117(0x1b8));function a54_0x12dd(){const _0x5b7679=['reportClientTroubleshootingError','xAIoh','Process\x20Interruption\x20details\x20not\x20found:','base64','parse','errorCodesOccurredWhenCLINotRunning','Error\x20in\x20getting\x20error\x20details\x20for\x20','9611173hTFRpz','../v2/grpcClient','jSJFS','join','[ClientTroubleShootingService]\x20','oStlx','2085840IFIFfF','getErrorCodesOccurredInCli','.browserstack\x20folder\x20not\x20accessible','reportConnectivityIssue','size','12FwByPH','208592xlyBBh','JtUmK','VyyYS','CLIENT_TROUBLESHOOTING_HASH','getCachedErrorCodes','20KYDFaJ','documentationLink','finalErrorMessage','../../helpers/logger','tetkY','reportFinalDetectionState','logSituation','errorMessage','./constants','conflicting\x20env\x20var\x20detected','PEnUP','TqjTv','warn','ZoRdP','Process\x20Interruption','logError','lSqkm','push','errorCode','getInstance','reportSessionLinkingIssue','tRccy','88851BwJSte','reportSSLCertIssue','1447884ofBnCo','DUjNS','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','zJoiz','dluiu','getAggregatedClientTroubleshootingErrors','checkForErrorsOccuredInCLI','stringify','ssl\x20cert\x20issue','error','kXMgL','reportConflictingEnvVarIssue','YPgUB','toString','3570200eFfKmC','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','TcXVw','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','OFWOK','errorCodes','kOjsl','cachedErrorCodes','HXSGK','529760xsgvpZ','Connectivity\x20Issue\x20details\x20not\x20found','keys','hmgln','{ERROR_CODES}','getSuccess','sZaXd','cuftd','32MiWAtA','getAggregatedErrorCodes','TvfRY','9JMJQXF','dEevQ','isRunning','iNBZm','xZuyR','{ENV_VAR}','replace','length','vGauh','getErrorMessage','browserstack\x20cloud\x20not\x20reachable','getDocumentationLink','JFAJz','errorCodesOccurredInCLI','JYUZA','AxwGb','sjSFF','getErrorDetails','RbJHW','Conflicting\x20Env\x20Var\x20details\x20not\x20found','getFinalErrorMessage','ZMlUJ','from','18BjJKkm'];a54_0x12dd=function(){return _0x5b7679;};return a54_0x12dd();}class ClientTroubleShootingService{static [a54_0x190117(0x173)]=null;static [a54_0x190117(0x19d)]=new Set();static async[a54_0x190117(0x191)](_0x1e893e){const _0x20b853=a54_0x190117,_0x4e7402={};_0x4e7402[_0x20b853(0x18f)]=function(_0x387490,_0xe637d8){return _0x387490!==_0xe637d8;};const _0x436756=_0x4e7402;try{if(BrowserstackCLI[_0x20b853(0x1c3)]()['isRunning']()){const _0x2404e3=await GrpcClient['getInstance']()[_0x20b853(0x198)](_0x1e893e);if(_0x436756[_0x20b853(0x18f)](_0x2404e3,null)&&_0x2404e3[_0x20b853(0x17a)]())return{'errorCode':_0x2404e3['getErrorCode'](),'errorMessage':_0x2404e3[_0x20b853(0x189)]()};return{};}}catch(_0x36e887){return this[_0x20b853(0x1bf)](_0x20b853(0x19e)+_0x1e893e+':',_0x36e887),{};}}static async['getAggregatedErrorCodes'](){const _0x2e776d=a54_0x190117,_0x14c722={};_0x14c722['dluiu']=function(_0x578db2,_0x45244e){return _0x578db2!==_0x45244e;},_0x14c722[_0x2e776d(0x195)]=_0x2e776d(0x19b),_0x14c722[_0x2e776d(0x184)]=_0x2e776d(0x1ca);const _0x22149a=_0x14c722;try{if(BrowserstackCLI['getInstance']()[_0x2e776d(0x182)]()){const _0x5e5ae4=await GrpcClient[_0x2e776d(0x1c3)]()[_0x2e776d(0x1cd)]();if(_0x22149a[_0x2e776d(0x1cc)](_0x5e5ae4,null)&&_0x5e5ae4[_0x2e776d(0x17a)]()){const _0x554532=Buffer['from'](_0x5e5ae4['getErrorCodes'](),_0x22149a[_0x2e776d(0x195)])['toString'](),_0x329fd2=_0x554532?JSON[_0x2e776d(0x19c)](_0x554532):[],_0x1ae76d=_0x5e5ae4[_0x2e776d(0x18b)](),_0x537d7f=_0x5e5ae4[_0x2e776d(0x194)](),_0x550a7e=Buffer[_0x2e776d(0x196)](_0x5e5ae4[_0x2e776d(0x1a6)](),_0x22149a[_0x2e776d(0x195)])[_0x2e776d(0x16b)](),_0x103b19=_0x550a7e?JSON[_0x2e776d(0x19c)](_0x550a7e):[],_0x101c1b={};return _0x101c1b[_0x2e776d(0x171)]=_0x329fd2,_0x101c1b[_0x2e776d(0x1b1)]=_0x1ae76d,_0x101c1b[_0x2e776d(0x1b2)]=_0x537d7f,_0x101c1b[_0x2e776d(0x18d)]=_0x103b19,_0x101c1b;}const _0x5b0222={};return _0x5b0222[_0x2e776d(0x171)]=[],_0x5b0222[_0x2e776d(0x1b1)]='',_0x5b0222[_0x2e776d(0x1b2)]='',_0x5b0222[_0x2e776d(0x18d)]=[],_0x5b0222;}const _0x2c0624={};return _0x2c0624['errorCodes']=[],_0x2c0624['documentationLink']='',_0x2c0624[_0x2e776d(0x1b2)]='',_0x2c0624[_0x2e776d(0x18d)]=[],_0x2c0624;}catch(_0x142d4d){this[_0x2e776d(0x1bf)](_0x22149a[_0x2e776d(0x184)],_0x142d4d);const _0x2f65bd={};return _0x2f65bd['errorCodes']=[],_0x2f65bd['documentationLink']='',_0x2f65bd[_0x2e776d(0x1b2)]='',_0x2f65bd[_0x2e776d(0x18d)]=[],_0x2f65bd;}}static[a54_0x190117(0x1b6)](_0x4da195,_0x17f368){const _0x32c1f8=a54_0x190117;logger[_0x32c1f8(0x1bc)](_0x4da195+':\x20'+_0x17f368);}static[a54_0x190117(0x1ce)](_0x40b06f){const _0x3e6886=a54_0x190117,_0x873660={};_0x873660[_0x3e6886(0x1c9)]=function(_0x2ce8fa,_0x1af475){return _0x2ce8fa!=_0x1af475;},_0x873660[_0x3e6886(0x1ac)]=function(_0x2debb0,_0x2fc1ff){return _0x2debb0!=_0x2fc1ff;},_0x873660['TvfRY']=function(_0x495b49,_0x37658e){return _0x495b49>_0x37658e;},_0x873660['TqjTv']=function(_0x210d38,_0x57db49){return _0x210d38!=_0x57db49;};const _0x3a0748=_0x873660,_0xa544c4=[];if(_0x3a0748[_0x3e6886(0x1c9)](_0x40b06f,null)&&_0x3a0748[_0x3e6886(0x1ac)](_0x40b06f[_0x3e6886(0x18d)],null)&&_0x3a0748[_0x3e6886(0x17f)](_0x40b06f[_0x3e6886(0x18d)]['length'],0x0))for(const _0x5439ff of _0x40b06f[_0x3e6886(0x18d)]){_0x3a0748[_0x3e6886(0x1c9)](_0x5439ff['errorCode'],null)&&_0x3a0748[_0x3e6886(0x1bb)](_0x5439ff[_0x3e6886(0x1b7)],null)&&(_0xa544c4[_0x3e6886(0x1c1)](_0x5439ff[_0x3e6886(0x1c2)]),this[_0x3e6886(0x1b6)](_0x5439ff[_0x3e6886(0x1c2)],_0x5439ff['errorMessage']));}return _0xa544c4;}static[a54_0x190117(0x1af)](){return this['cachedErrorCodes'];}static[a54_0x190117(0x1bf)](_0x2effb1,_0x139dd7){const _0x4d3b97=a54_0x190117,_0x3823c4={};_0x3823c4[_0x4d3b97(0x188)]=function(_0x1ede2e,_0x4ffc41){return _0x1ede2e===_0x4ffc41;},_0x3823c4[_0x4d3b97(0x16a)]='object';const _0x137a14=_0x3823c4;if(_0x137a14[_0x4d3b97(0x188)](typeof _0x139dd7,_0x137a14[_0x4d3b97(0x16a)]))try{logger['error']('[ClientTroubleShootingService]\x20'+_0x2effb1+'\x20'+JSON[_0x4d3b97(0x1cf)](_0x139dd7));}catch(_0x209c8d){logger[_0x4d3b97(0x1d1)](_0x4d3b97(0x1a3)+_0x2effb1+'\x20'+_0x139dd7);}else logger[_0x4d3b97(0x1d1)](_0x4d3b97(0x1a3)+_0x2effb1+'\x20'+_0x139dd7);}static async['reportProcessInterruptionSituation'](_0x339ac2){const _0x413c42=a54_0x190117,_0x4dede3={};_0x4dede3[_0x413c42(0x18e)]=_0x413c42(0x1be),_0x4dede3[_0x413c42(0x18c)]=function(_0x47af3c,_0x85485b){return _0x47af3c===_0x85485b;},_0x4dede3[_0x413c42(0x1bd)]=_0x413c42(0x19a),_0x4dede3['oStlx']='{SIGNAL}';const _0xba238=_0x4dede3,_0x516759=await this[_0x413c42(0x191)](_0xba238['JYUZA']);if(_0xba238['JFAJz'](Object[_0x413c42(0x177)](_0x516759)[_0x413c42(0x187)],0x0)){this[_0x413c42(0x1bf)](_0xba238[_0x413c42(0x1bd)],_0x516759);return;}this[_0x413c42(0x1b6)](_0x516759['errorCode'],_0x516759[_0x413c42(0x1b7)][_0x413c42(0x186)](_0xba238[_0x413c42(0x1a4)],_0x339ac2));}static async[a54_0x190117(0x1c4)](){const _0x377752=a54_0x190117,_0x33e6d0={};_0x33e6d0['VyyYS']='Session\x20Linking\x20Issue',_0x33e6d0[_0x377752(0x181)]=function(_0x4a565e,_0x291f09){return _0x4a565e===_0x291f09;},_0x33e6d0[_0x377752(0x190)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x3257c1=_0x33e6d0,_0x276722=await this[_0x377752(0x191)](_0x3257c1[_0x377752(0x1ad)]);if(_0x3257c1[_0x377752(0x181)](Object[_0x377752(0x177)](_0x276722)[_0x377752(0x187)],0x0)){this[_0x377752(0x1bf)](_0x3257c1[_0x377752(0x190)],_0x276722);return;}this['logSituation'](_0x276722[_0x377752(0x1c2)],_0x276722['errorMessage']);}static async[a54_0x190117(0x1a8)](){const _0x55b672=a54_0x190117,_0x17212b={};_0x17212b[_0x55b672(0x183)]=_0x55b672(0x18a),_0x17212b[_0x55b672(0x192)]=function(_0x43371f,_0x125632){return _0x43371f===_0x125632;},_0x17212b[_0x55b672(0x178)]=_0x55b672(0x176);const _0x5b5838=_0x17212b,_0x489480=await this['getErrorDetails'](_0x5b5838[_0x55b672(0x183)]);if(_0x5b5838[_0x55b672(0x192)](Object[_0x55b672(0x177)](_0x489480)[_0x55b672(0x187)],0x0)){this[_0x55b672(0x1bf)](_0x5b5838[_0x55b672(0x178)],_0x489480);return;}this['logSituation'](_0x489480[_0x55b672(0x1c2)],_0x489480[_0x55b672(0x1b7)]);}static async[a54_0x190117(0x1c7)](){const _0x52c716=a54_0x190117,_0x27fefa={};_0x27fefa[_0x52c716(0x168)]=_0x52c716(0x1d0),_0x27fefa[_0x52c716(0x1cb)]=function(_0x4ab963,_0x319255){return _0x4ab963===_0x319255;},_0x27fefa[_0x52c716(0x16e)]=_0x52c716(0x16f);const _0x2f59af=_0x27fefa,_0x4b361f=await this[_0x52c716(0x191)](_0x2f59af[_0x52c716(0x168)]);if(_0x2f59af['zJoiz'](Object[_0x52c716(0x177)](_0x4b361f)[_0x52c716(0x187)],0x0)){this['logError'](_0x2f59af[_0x52c716(0x16e)],_0x4b361f);return;}this[_0x52c716(0x1b6)](_0x4b361f[_0x52c716(0x1c2)],_0x4b361f[_0x52c716(0x1b7)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x420b08=a54_0x190117,_0x2a3dc9={};_0x2a3dc9[_0x420b08(0x17b)]=_0x420b08(0x1a7),_0x2a3dc9[_0x420b08(0x170)]=function(_0x6af6b1,_0x3a4c82){return _0x6af6b1===_0x3a4c82;},_0x2a3dc9[_0x420b08(0x17c)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x8666d7=_0x2a3dc9,_0x374f2b=constants[_0x420b08(0x1ae)][_0x8666d7[_0x420b08(0x17b)]];if(_0x8666d7[_0x420b08(0x170)](Object[_0x420b08(0x177)](_0x374f2b)[_0x420b08(0x187)],0x0)){this[_0x420b08(0x1bf)](_0x8666d7[_0x420b08(0x17c)],_0x374f2b);return;}this[_0x420b08(0x19d)]['add'](_0x374f2b[0x0]),this[_0x420b08(0x1b6)](_0x374f2b[0x0],_0x374f2b[0x1]);}static async[a54_0x190117(0x169)](_0x14ea3a){const _0x1f5580=a54_0x190117,_0x1607b2={};_0x1607b2['tetkY']=_0x1f5580(0x1b9),_0x1607b2[_0x1f5580(0x1a1)]=function(_0x5e9d63,_0x7a221a){return _0x5e9d63===_0x7a221a;},_0x1607b2[_0x1f5580(0x199)]=_0x1f5580(0x193),_0x1607b2[_0x1f5580(0x1c0)]=_0x1f5580(0x185);const _0x5ae3ce=_0x1607b2,_0x498882=await this['getErrorDetails'](_0x5ae3ce[_0x1f5580(0x1b4)]);if(_0x5ae3ce[_0x1f5580(0x1a1)](Object[_0x1f5580(0x177)](_0x498882)['length'],0x0)){this[_0x1f5580(0x1bf)](_0x5ae3ce['xAIoh'],_0x498882);return;}const _0x2f11c6=_0x498882['errorMessage']['replace'](_0x5ae3ce[_0x1f5580(0x1c0)],_0x14ea3a);this[_0x1f5580(0x1b6)](_0x498882[_0x1f5580(0x1c2)],_0x2f11c6);}static async[a54_0x190117(0x1b5)](){const _0x52e235=a54_0x190117,_0x3c3226={};_0x3c3226['kOjsl']=function(_0xaf5df3,_0x565627){return _0xaf5df3>_0x565627;},_0x3c3226[_0x52e235(0x1ba)]=function(_0x5794e5,_0xba1265){return _0x5794e5>_0xba1265;},_0x3c3226[_0x52e235(0x174)]=_0x52e235(0x179),_0x3c3226[_0x52e235(0x1c5)]=_0x52e235(0x16d);const _0x4ba1a3=_0x3c3226,_0x366054=await this[_0x52e235(0x17e)](),_0x31ac7c=this[_0x52e235(0x1ce)](_0x366054),_0x239c33=Array['isArray'](_0x366054['errorCodes'])?_0x366054['errorCodes']:[],_0x4d41fe=_0x4ba1a3[_0x52e235(0x172)](this[_0x52e235(0x19d)][_0x52e235(0x1a9)],0x0)?Array['from'](this[_0x52e235(0x19d)]):[],_0x4a86e2=new Set([..._0x239c33,..._0x31ac7c,..._0x4d41fe]),_0x41771c=Array[_0x52e235(0x196)](_0x4a86e2);if(_0x4ba1a3[_0x52e235(0x1ba)](_0x41771c[_0x52e235(0x187)],0x0)){const _0xe14787=_0x366054['finalErrorMessage']['replace'](_0x4ba1a3[_0x52e235(0x174)],_0x41771c[_0x52e235(0x1a2)](',\x20'))[_0x52e235(0x186)](_0x4ba1a3[_0x52e235(0x1c5)],_0x366054['documentationLink']);logger[_0x52e235(0x1bc)](_0xe14787),this[_0x52e235(0x173)]=_0x41771c;}}}function a54_0x2c71(_0x1de7b8,_0x4b0fc8){const _0x12ddc8=a54_0x12dd();return a54_0x2c71=function(_0x2c718b,_0x5d37af){_0x2c718b=_0x2c718b-0x168;let _0x2c2a34=_0x12ddc8[_0x2c718b];return _0x2c2a34;},a54_0x2c71(_0x1de7b8,_0x4b0fc8);}module['exports']=ClientTroubleShootingService;
|
|
1
|
+
function a54_0x3a8f(){const _0x4dba8d=['join','wUXUP','length','base64','exports','QJFJL','logError','documentationLink','error','errorCodesOccurredInCLI','{SIGNAL}','Error\x20in\x20getting\x20error\x20details\x20for\x20','./constants','isArray','errorCodesOccurredWhenCLINotRunning','uMOvm','stringify','winstonLogger','browserstack\x20cloud\x20not\x20reachable','7SEQfkF','nTlvl','.browserstack\x20folder\x20not\x20accessible','247cxCAcV','reportDotBrowserStackFolderNotAccessibleIssue','../v2/browserstackCLI','Process\x20Interruption\x20details\x20not\x20found:','cachedErrorCodes','replace','DnuxW','getAggregatedErrorCodes','PkhuU','6577659IGwPUb','LTxYV','dFDWf','reportClientTroubleshootingError','44ubSFHA','finalErrorMessage','6xTzdre','yfxat','IITAm','hUKiV','xgrhl','object','211893EXQulC','{ENV_VAR}','HTZlM','from','add','getErrorDetails','nPXWO','reportConnectivityIssue','reportFinalDetectionState','OzABE','5412671EhtHnu','reportSessionLinkingIssue','getErrorCodesOccurredInCli','keys','errorCodes','errorCode','vpfEm','HueAM','20ASWWxa','CLIENT_TROUBLESHOOTING_HASH','QhUsr','[ClientTroubleShootingService]\x20','{ERROR_CODES}','reportSSLCertIssue','2225832kTzLrn','getSuccess','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','AlmSQ','EZWWx','logSituation','Qjydb','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','toString','2PGfHfm','warn','1167925LcdvdV','getFinalErrorMessage','FOnHO','qDrrC','Session\x20Linking\x20Issue','368853YpLoYf','getCachedErrorCodes','getErrorCode','XVcpB','VzXyy','getInstance','isRunning','TVIRS','push','conflicting\x20env\x20var\x20detected','reportProcessInterruptionSituation','errorMessage','EHDTb','8665560fDWJKO','Connectivity\x20Issue\x20details\x20not\x20found','PWUim','Dryyv','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','efFcz','getErrorMessage','../v2/grpcClient','size','IqvZO','jzlxj'];a54_0x3a8f=function(){return _0x4dba8d;};return a54_0x3a8f();}const a54_0x2a5fd3=a54_0x5382;(function(_0x2121d4,_0x4855a2){const _0x23e9dc=a54_0x5382,_0x364fdb=_0x2121d4();while(!![]){try{const _0x2b8ae2=parseInt(_0x23e9dc(0x1c1))/0x1*(parseInt(_0x23e9dc(0x1ba))/0x2)+-parseInt(_0x23e9dc(0x199))/0x3*(parseInt(_0x23e9dc(0x191))/0x4)+-parseInt(_0x23e9dc(0x1bc))/0x5*(-parseInt(_0x23e9dc(0x193))/0x6)+parseInt(_0x23e9dc(0x181))/0x7*(-parseInt(_0x23e9dc(0x1ce))/0x8)+-parseInt(_0x23e9dc(0x18d))/0x9+-parseInt(_0x23e9dc(0x1ab))/0xa*(parseInt(_0x23e9dc(0x1a3))/0xb)+-parseInt(_0x23e9dc(0x1b1))/0xc*(-parseInt(_0x23e9dc(0x184))/0xd);if(_0x2b8ae2===_0x4855a2)break;else _0x364fdb['push'](_0x364fdb['shift']());}catch(_0x751b07){_0x364fdb['push'](_0x364fdb['shift']());}}}(a54_0x3a8f,0x86a8b));const logger=require('../../helpers/logger')[a54_0x2a5fd3(0x17f)],BrowserstackCLI=require(a54_0x2a5fd3(0x186)),GrpcClient=require(a54_0x2a5fd3(0x1d5)),constants=require(a54_0x2a5fd3(0x17a));class ClientTroubleShootingService{static [a54_0x2a5fd3(0x188)]=null;static [a54_0x2a5fd3(0x17c)]=new Set();static async[a54_0x2a5fd3(0x19e)](_0x5d46a2){const _0x304fcd=a54_0x2a5fd3,_0x226cda={};_0x226cda['PWUim']=function(_0x574558,_0x46c6a6){return _0x574558!==_0x46c6a6;};const _0x894fd7=_0x226cda;try{if(BrowserstackCLI[_0x304fcd(0x1c6)]()[_0x304fcd(0x1c7)]()){const _0x37d30d=await GrpcClient[_0x304fcd(0x1c6)]()[_0x304fcd(0x190)](_0x5d46a2);if(_0x894fd7[_0x304fcd(0x1d0)](_0x37d30d,null)&&_0x37d30d[_0x304fcd(0x1b2)]())return{'errorCode':_0x37d30d[_0x304fcd(0x1c3)](),'errorMessage':_0x37d30d[_0x304fcd(0x1d4)]()};return{};}}catch(_0x3c1ff3){return this[_0x304fcd(0x174)](_0x304fcd(0x179)+_0x5d46a2+':',_0x3c1ff3),{};}}static async[a54_0x2a5fd3(0x18b)](){const _0x3b1fa7=a54_0x2a5fd3,_0x3cee6d={};_0x3cee6d[_0x3b1fa7(0x18f)]=function(_0x5cac1a,_0x5cec56){return _0x5cac1a!==_0x5cec56;},_0x3cee6d[_0x3b1fa7(0x1be)]=_0x3b1fa7(0x1dc),_0x3cee6d[_0x3b1fa7(0x1b7)]=_0x3b1fa7(0x1b3);const _0x364123=_0x3cee6d;try{if(BrowserstackCLI[_0x3b1fa7(0x1c6)]()[_0x3b1fa7(0x1c7)]()){const _0x383702=await GrpcClient['getInstance']()['getAggregatedClientTroubleshootingErrors']();if(_0x364123['dFDWf'](_0x383702,null)&&_0x383702[_0x3b1fa7(0x1b2)]()){const _0x5c71c0=Buffer[_0x3b1fa7(0x19c)](_0x383702['getErrorCodes'](),_0x364123[_0x3b1fa7(0x1be)])['toString'](),_0x916ff4=_0x5c71c0?JSON['parse'](_0x5c71c0):[],_0x10fd86=_0x383702['getDocumentationLink'](),_0x24deb8=_0x383702[_0x3b1fa7(0x1bd)](),_0x85263d=Buffer[_0x3b1fa7(0x19c)](_0x383702[_0x3b1fa7(0x1a5)](),_0x364123[_0x3b1fa7(0x1be)])[_0x3b1fa7(0x1b9)](),_0x176395=_0x85263d?JSON['parse'](_0x85263d):[],_0x546fc2={};return _0x546fc2[_0x3b1fa7(0x1a7)]=_0x916ff4,_0x546fc2[_0x3b1fa7(0x175)]=_0x10fd86,_0x546fc2[_0x3b1fa7(0x192)]=_0x24deb8,_0x546fc2[_0x3b1fa7(0x177)]=_0x176395,_0x546fc2;}const _0x10335b={};return _0x10335b['errorCodes']=[],_0x10335b[_0x3b1fa7(0x175)]='',_0x10335b[_0x3b1fa7(0x192)]='',_0x10335b[_0x3b1fa7(0x177)]=[],_0x10335b;}const _0x4d33e4={};return _0x4d33e4[_0x3b1fa7(0x1a7)]=[],_0x4d33e4[_0x3b1fa7(0x175)]='',_0x4d33e4[_0x3b1fa7(0x192)]='',_0x4d33e4[_0x3b1fa7(0x177)]=[],_0x4d33e4;}catch(_0x1c8da8){this['logError'](_0x364123[_0x3b1fa7(0x1b7)],_0x1c8da8);const _0x318a42={};return _0x318a42[_0x3b1fa7(0x1a7)]=[],_0x318a42[_0x3b1fa7(0x175)]='',_0x318a42[_0x3b1fa7(0x192)]='',_0x318a42[_0x3b1fa7(0x177)]=[],_0x318a42;}}static[a54_0x2a5fd3(0x1b6)](_0x1fcd62,_0x32cb16){logger['warn'](_0x1fcd62+':\x20'+_0x32cb16);}static['checkForErrorsOccuredInCLI'](_0xd271){const _0x4d4dd5=a54_0x2a5fd3,_0xb4da4b={};_0xb4da4b[_0x4d4dd5(0x1a9)]=function(_0x5ceda1,_0x1ac660){return _0x5ceda1!=_0x1ac660;},_0xb4da4b[_0x4d4dd5(0x1a2)]=function(_0x3877a3,_0x216bb0){return _0x3877a3!=_0x216bb0;},_0xb4da4b[_0x4d4dd5(0x1c5)]=function(_0x474c0b,_0x29b989){return _0x474c0b>_0x29b989;},_0xb4da4b[_0x4d4dd5(0x19b)]=function(_0x555be2,_0x3ba42b){return _0x555be2!=_0x3ba42b;};const _0x2bd4d9=_0xb4da4b,_0x2fb47d=[];if(_0x2bd4d9[_0x4d4dd5(0x1a9)](_0xd271,null)&&_0x2bd4d9[_0x4d4dd5(0x1a2)](_0xd271[_0x4d4dd5(0x177)],null)&&_0x2bd4d9[_0x4d4dd5(0x1c5)](_0xd271[_0x4d4dd5(0x177)]['length'],0x0))for(const _0x2e8c39 of _0xd271['errorCodesOccurredInCLI']){_0x2bd4d9[_0x4d4dd5(0x19b)](_0x2e8c39[_0x4d4dd5(0x1a8)],null)&&_0x2bd4d9['HTZlM'](_0x2e8c39['errorMessage'],null)&&(_0x2fb47d[_0x4d4dd5(0x1c9)](_0x2e8c39[_0x4d4dd5(0x1a8)]),this[_0x4d4dd5(0x1b6)](_0x2e8c39[_0x4d4dd5(0x1a8)],_0x2e8c39[_0x4d4dd5(0x1cc)]));}return _0x2fb47d;}static[a54_0x2a5fd3(0x1c2)](){const _0x165578=a54_0x2a5fd3;return this[_0x165578(0x188)];}static[a54_0x2a5fd3(0x174)](_0x55e827,_0x2c4afc){const _0x29c825=a54_0x2a5fd3,_0x50db87={};_0x50db87[_0x29c825(0x1de)]=function(_0x4d6f68,_0x65ba0d){return _0x4d6f68===_0x65ba0d;},_0x50db87[_0x29c825(0x1c4)]=_0x29c825(0x198);const _0x3c6069=_0x50db87;if(_0x3c6069[_0x29c825(0x1de)](typeof _0x2c4afc,_0x3c6069[_0x29c825(0x1c4)]))try{logger[_0x29c825(0x176)]('[ClientTroubleShootingService]\x20'+_0x55e827+'\x20'+JSON[_0x29c825(0x17e)](_0x2c4afc));}catch(_0x3efb03){logger[_0x29c825(0x176)](_0x29c825(0x1ae)+_0x55e827+'\x20'+_0x2c4afc);}else logger[_0x29c825(0x176)]('[ClientTroubleShootingService]\x20'+_0x55e827+'\x20'+_0x2c4afc);}static async[a54_0x2a5fd3(0x1cb)](_0x145465){const _0x56641d=a54_0x2a5fd3,_0x19afbf={};_0x19afbf[_0x56641d(0x1ad)]='Process\x20Interruption',_0x19afbf[_0x56641d(0x1aa)]=function(_0x24a9e1,_0x5551c2){return _0x24a9e1===_0x5551c2;},_0x19afbf[_0x56641d(0x17d)]=_0x56641d(0x187),_0x19afbf[_0x56641d(0x18e)]=_0x56641d(0x178);const _0x4df9a1=_0x19afbf,_0x5a3575=await this[_0x56641d(0x19e)](_0x4df9a1[_0x56641d(0x1ad)]);if(_0x4df9a1[_0x56641d(0x1aa)](Object[_0x56641d(0x1a6)](_0x5a3575)[_0x56641d(0x1db)],0x0)){this[_0x56641d(0x174)](_0x4df9a1[_0x56641d(0x17d)],_0x5a3575);return;}this[_0x56641d(0x1b6)](_0x5a3575[_0x56641d(0x1a8)],_0x5a3575[_0x56641d(0x1cc)][_0x56641d(0x189)](_0x4df9a1[_0x56641d(0x18e)],_0x145465));}static async[a54_0x2a5fd3(0x1a4)](){const _0x1c671d=a54_0x2a5fd3,_0x1db4b4={};_0x1db4b4[_0x1c671d(0x182)]=_0x1c671d(0x1c0),_0x1db4b4[_0x1c671d(0x195)]=function(_0x44c67c,_0x1f969a){return _0x44c67c===_0x1f969a;},_0x1db4b4[_0x1c671d(0x194)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x1d7cd6=_0x1db4b4,_0x278d73=await this['getErrorDetails'](_0x1d7cd6[_0x1c671d(0x182)]);if(_0x1d7cd6['IITAm'](Object[_0x1c671d(0x1a6)](_0x278d73)[_0x1c671d(0x1db)],0x0)){this[_0x1c671d(0x174)](_0x1d7cd6[_0x1c671d(0x194)],_0x278d73);return;}this[_0x1c671d(0x1b6)](_0x278d73[_0x1c671d(0x1a8)],_0x278d73[_0x1c671d(0x1cc)]);}static async[a54_0x2a5fd3(0x1a0)](){const _0x2a3c90=a54_0x2a5fd3,_0x1f1795={};_0x1f1795['EaMOE']=_0x2a3c90(0x180),_0x1f1795['bwgwH']=function(_0x2182d5,_0x54dbc1){return _0x2182d5===_0x54dbc1;},_0x1f1795[_0x2a3c90(0x1b5)]=_0x2a3c90(0x1cf);const _0x3edb0d=_0x1f1795,_0x3f3595=await this[_0x2a3c90(0x19e)](_0x3edb0d['EaMOE']);if(_0x3edb0d['bwgwH'](Object['keys'](_0x3f3595)[_0x2a3c90(0x1db)],0x0)){this[_0x2a3c90(0x174)](_0x3edb0d['EZWWx'],_0x3f3595);return;}this[_0x2a3c90(0x1b6)](_0x3f3595[_0x2a3c90(0x1a8)],_0x3f3595['errorMessage']);}static async[a54_0x2a5fd3(0x1b0)](){const _0x474a93=a54_0x2a5fd3,_0x2e15d8={};_0x2e15d8[_0x474a93(0x18a)]='ssl\x20cert\x20issue',_0x2e15d8[_0x474a93(0x1d3)]=function(_0x29ab18,_0x249bb5){return _0x29ab18===_0x249bb5;},_0x2e15d8[_0x474a93(0x1b4)]='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0x50d202=_0x2e15d8,_0x21167c=await this['getErrorDetails'](_0x50d202[_0x474a93(0x18a)]);if(_0x50d202[_0x474a93(0x1d3)](Object[_0x474a93(0x1a6)](_0x21167c)[_0x474a93(0x1db)],0x0)){this['logError'](_0x50d202[_0x474a93(0x1b4)],_0x21167c);return;}this['logSituation'](_0x21167c[_0x474a93(0x1a8)],_0x21167c[_0x474a93(0x1cc)]);}static[a54_0x2a5fd3(0x185)](){const _0x587288=a54_0x2a5fd3,_0x7b0296={};_0x7b0296[_0x587288(0x1c8)]=_0x587288(0x183),_0x7b0296[_0x587288(0x1d7)]=function(_0x107208,_0x3e5321){return _0x107208===_0x3e5321;},_0x7b0296['jzlxj']=_0x587288(0x1b8);const _0x5ddf03=_0x7b0296,_0x1b0609=constants[_0x587288(0x1ac)][_0x5ddf03['TVIRS']];if(_0x5ddf03[_0x587288(0x1d7)](Object['keys'](_0x1b0609)['length'],0x0)){this[_0x587288(0x174)](_0x5ddf03[_0x587288(0x1d8)],_0x1b0609);return;}this['errorCodesOccurredWhenCLINotRunning'][_0x587288(0x19d)](_0x1b0609[0x0]),this[_0x587288(0x1b6)](_0x1b0609[0x0],_0x1b0609[0x1]);}static async['reportConflictingEnvVarIssue'](_0x59bc53){const _0x2430a7=a54_0x2a5fd3,_0x3c24c3={};_0x3c24c3[_0x2430a7(0x18c)]=_0x2430a7(0x1ca),_0x3c24c3[_0x2430a7(0x19f)]=function(_0x2b8c05,_0x507bab){return _0x2b8c05===_0x507bab;},_0x3c24c3[_0x2430a7(0x1bf)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x3c24c3[_0x2430a7(0x1d1)]=_0x2430a7(0x19a);const _0x379893=_0x3c24c3,_0x4e5612=await this[_0x2430a7(0x19e)](_0x379893[_0x2430a7(0x18c)]);if(_0x379893[_0x2430a7(0x19f)](Object[_0x2430a7(0x1a6)](_0x4e5612)[_0x2430a7(0x1db)],0x0)){this[_0x2430a7(0x174)](_0x379893[_0x2430a7(0x1bf)],_0x4e5612);return;}const _0x5bb541=_0x4e5612['errorMessage']['replace'](_0x379893[_0x2430a7(0x1d1)],_0x59bc53);this[_0x2430a7(0x1b6)](_0x4e5612['errorCode'],_0x5bb541);}static async[a54_0x2a5fd3(0x1a1)](){const _0x38cd64=a54_0x2a5fd3,_0x4b066e={};_0x4b066e['wUXUP']=function(_0x375a3d,_0x5578b9){return _0x375a3d>_0x5578b9;},_0x4b066e[_0x38cd64(0x196)]=function(_0x3db206,_0x47ca0c){return _0x3db206>_0x47ca0c;},_0x4b066e[_0x38cd64(0x197)]=_0x38cd64(0x1af),_0x4b066e[_0x38cd64(0x1cd)]=_0x38cd64(0x1d2);const _0x41c7d2=_0x4b066e,_0xf77cd=await this[_0x38cd64(0x18b)](),_0x20c967=this['checkForErrorsOccuredInCLI'](_0xf77cd),_0x525efb=Array[_0x38cd64(0x17b)](_0xf77cd[_0x38cd64(0x1a7)])?_0xf77cd[_0x38cd64(0x1a7)]:[],_0x10781b=_0x41c7d2[_0x38cd64(0x1da)](this['errorCodesOccurredWhenCLINotRunning'][_0x38cd64(0x1d6)],0x0)?Array[_0x38cd64(0x19c)](this[_0x38cd64(0x17c)]):[],_0x4f185e=new Set([..._0x525efb,..._0x20c967,..._0x10781b]),_0x1451bc=Array[_0x38cd64(0x19c)](_0x4f185e);if(_0x41c7d2[_0x38cd64(0x196)](_0x1451bc[_0x38cd64(0x1db)],0x0)){const _0x542356=_0xf77cd['finalErrorMessage'][_0x38cd64(0x189)](_0x41c7d2[_0x38cd64(0x197)],_0x1451bc[_0x38cd64(0x1d9)](',\x20'))[_0x38cd64(0x189)](_0x41c7d2[_0x38cd64(0x1cd)],_0xf77cd[_0x38cd64(0x175)]);logger[_0x38cd64(0x1bb)](_0x542356),this[_0x38cd64(0x188)]=_0x1451bc;}}}function a54_0x5382(_0x531146,_0x2e3554){const _0x3a8ff2=a54_0x3a8f();return a54_0x5382=function(_0x538239,_0x7501c5){_0x538239=_0x538239-0x174;let _0x12d084=_0x3a8ff2[_0x538239];return _0x12d084;},a54_0x5382(_0x531146,_0x2e3554);}module[a54_0x2a5fd3(0x1dd)]=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x417161=a55_0x2c3d;(function(_0x15a94b,_0x4de724){const _0x27136b=a55_0x2c3d,_0x363d7a=_0x15a94b();while(!![]){try{const _0x365bb2=parseInt(_0x27136b(0x270))/0x1*(parseInt(_0x27136b(0x1ee))/0x2)+parseInt(_0x27136b(0x24f))/0x3+parseInt(_0x27136b(0x23a))/0x4*(parseInt(_0x27136b(0x2a0))/0x5)+-parseInt(_0x27136b(0x248))/0x6+-parseInt(_0x27136b(0x2ba))/0x7+-parseInt(_0x27136b(0x1ff))/0x8*(-parseInt(_0x27136b(0x1dd))/0x9)+parseInt(_0x27136b(0x25f))/0xa;if(_0x365bb2===_0x4de724)break;else _0x363d7a['push'](_0x363d7a['shift']());}catch(_0x300ea5){_0x363d7a['push'](_0x363d7a['shift']());}}}(a55_0x4b1f,0x43730));const a55_0x61efa0={};a55_0x61efa0[a55_0x417161(0x21f)]=a55_0x417161(0x1f1),a55_0x61efa0[a55_0x417161(0x294)]=a55_0x417161(0x206);const a55_0x4d5c5a={};a55_0x4d5c5a[a55_0x417161(0x21f)]=a55_0x417161(0x277);const a55_0x45c189={};a55_0x45c189[a55_0x417161(0x21f)]=a55_0x417161(0x1ef);const a55_0x3426d4={};a55_0x3426d4[a55_0x417161(0x21f)]=a55_0x417161(0x287);const a55_0x1c855b={};a55_0x1c855b[a55_0x417161(0x21f)]=a55_0x417161(0x1f7);const a55_0xd1749b={};a55_0xd1749b[a55_0x417161(0x21f)]=a55_0x417161(0x29d);const a55_0x25673c={};a55_0x25673c[a55_0x417161(0x21f)]=a55_0x417161(0x299);const a55_0x5a784a={};a55_0x5a784a['INFO']=a55_0x417161(0x2af);const a55_0x3ef013={};a55_0x3ef013[a55_0x417161(0x21f)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a55_0x4affbd={};a55_0x4affbd[a55_0x417161(0x21f)]=a55_0x417161(0x245);const a55_0x96ce8d={};a55_0x96ce8d[a55_0x417161(0x2b7)]=a55_0x417161(0x2ae),a55_0x96ce8d[a55_0x417161(0x1db)]=a55_0x417161(0x22f),a55_0x96ce8d[a55_0x417161(0x2a5)]=a55_0x417161(0x280),a55_0x96ce8d['CODECEPT']=a55_0x417161(0x1e9),a55_0x96ce8d['CODECEPT_CUCUMBER']=a55_0x417161(0x228),a55_0x96ce8d[a55_0x417161(0x279)]='cucumber',a55_0x96ce8d['VANILLA']=a55_0x417161(0x242);const a55_0xa37d4a={};function a55_0x4b1f(){const _0x5d00a6=['A11Y_GET_RESULTS_SUMMARY','INFO','INTEGRATIONS','COMMONJS','SDKTestInitFailedResponse','O11Y_URL','browserstackAutomation','userName','ATS_WSS_URL_REGEX','turboScaleOptions','codeceptjs-cucumber','8|9|0|11|4|1|6|12|2|10|7|3|5','VANILLA','firefoxOptions','INVALID_INIT_RESP_WITH_USER_IMPACT','playwright','BSTACK_ATS_URL','mocha','USER_CONFIG_DETAILS_PATH','ERR_PROXY_CONNECTION_FAILED','SDKTestTcgDownResponse','turboScale','AI_PROXY_FAILURE','DEPTH_ZERO_SELF_SIGNED_CERT','ERR_FAILED','https://observability-devtestops.bsstag.com','ERR_CONNECTION_TIMED_OUT','Cucumber-JS','1076gIKATx','TCG_AUTH_FAILURE','ieOptions','proxySettings','bsstag.com','browserstackLocal','VALID_APP_EXTENSION','customVariables','vanilla','bsstag','NUDGE_LOCAL_ERRORS','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','MODULE','^[a-zA-Z0-9_.-]*$','2752092JZfwMK','localOptions','unable\x20to\x20verify\x20the\x20first\x20certificate','BROWSERSTACK_ENV','staging','SDKTestTcgProxyFailure','SHAREABLE_ID_REGEX','452586cvzitR','BINARY_BUSY_ERROR_CODES','Upgrade\x20required','ERR_NETWORK_CHANGED','TCG_DOWN','ERR_TIMED_OUT','unable\x20to\x20get\x20local\x20issuer\x20certificate','wss://cdp.browserstack.com/playwright?caps=','.aab','httpsProxy','UPGRADE_REQUIRED','edgeOptions','hubUrl','HEALING_FAILURE_TIMEOUT','APP_AUTOMATE_PRODUCTS','AUTOMATION_LOG_COMMANDS','1896100CJmOmQ','ERR_ADDRESS_UNREACHABLE','https://hub.browserstack.com/wd/hub','SDKTestTcgtInitSuccessful','percyScreenshot','https://api-cloud-devtestops.bsstag.com','pageLoadStrategy','BSTACK_URL','OBSERVABILITY_UPLOAD_URL','ERR_NAME_NOT_RESOLVED','framework','ETXTBSY','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','https://hub-preprod.bsstag.com/wd/hub','ERR_CONNECTION_REFUSED','ObservabilitySync','POLL_HEALING_RESULT_TIMEOUT','430yGzQOb','PERCY_SUPPORTED_FRAMEWORKS','ROOT_REGEX','testContextOptions','...[TRUNCATED]','SDK-GEN-001','CODECEPTJS','Run\x20jest\x20tests\x20on\x20browserstack','percyOptions','CUCUMBER','APP_UPLOAD_URL','TEST\x20REPORTING\x20AND\x20ANALYTICS','localProxyUser','browserstack.overridelocalInfo.userAuthToken','use','ERR_ADDRESS_INVALID','jest','testReportingOptions','HUB_URL_REGEX','TCG_REGION','AUTOMATE','INTERNALLY_USED_ENV_VARS','9|3|8|5|1|7|4|0|2|12|6|11|10','Run\x20cucumber-js\x20tests\x20on\x20browserstack','mandatoryDependency','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','httpProxy','BROWSERSTACK_APP_AUTOMATE_URL','Mocha','parallelsPerPlatform','GLOBAL_AGENT_NO_PROXY','localProxyPass','CI_ARTIFACTS_PATH','env','module','https://eds.browserstack.com','HELP','SDK_INSTRUMENTATION_CONFIG','browserStackLocalOptions','ROOT_CAPS','TCG_URL','Run\x20playwright\x20tests\x20on\x20Browserstack','AUTOLOGCAPTURE_NOTIFICATION','BROWSERSTACK_AUTOMATE_URL','toLowerCase','Run\x20nightwatch\x20tests\x20on\x20browserstack','testObservability','sdk/v1/update_cli','6085ZXeyBI','observability','ERR_CONNECTION_ABORTED','https://upload-observability-preprod.bsstag.com','BROWSERSTACK','JEST','pre-prod','accessibility','testReporting','EBUSY','FRAMEWORKS','acceptSslCerts','wss://cdp-preprod.bsstag.com/playwright?caps=','ATS_HUB_URL_REGEX','Playwright','Run\x20codeceptjs\x20tests\x20on\x20browserstack','percy','authToken','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','GIT_META_DATA_TRUNCATED','https://apidevtestops.bsstag.com','SDKTestInvalidTcgAuthResponseWithUserImpact','UNABLE_TO_VERIFY_LEAF_SIGNATURE','PLAYWRIGHT','AI_INIT_SUCCESSFUL','stag','1578332DWoVAc','PLAYWRIGHT_HUB_URL','automation','FUNNEL_INSTRUMENTATION_API_URL','ERR_TUNNEL_CONNECTION_FAILED','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','EDS_URL','https://api.browserstack.com','exports','A11Y_GET_RESULTS','AI_INIT_FAILURE','MOCHA','TEST_FRAMEWORK_HOOK_TIMEOUT','32841uaZLHJ','CUSTOM_ID_REGEX','https://app-automate.browserstack.com/dashboard/v2/builds/','testOrchestrationOptions','browserName','MAX_GIT_META_DATA_SIZE_IN_BYTES','percyCaptureMode','TEST_REPORTING_ANALYTICS','PACKAGE_TYPE','PRIVATE_DOMAIN_OR_IP_REGEX','https://automate-preprod.bsstag.com/dashboard/v2/builds/','ERR_SOCKET_NOT_CONNECTED','codeceptjs','browserstack.userName','./browserstack-artifacts/','CLI_SUPPORTED_FRAMEWORKS','browserstack.accessKey','1276TYzGbm','Run\x20mocha\x20tests\x20on\x20browserstack','AUTOMATE_PRODUCTS','shows\x20version\x20information','A11Y_SCAN','.apk','proxyUser','accessKey','proxyPassword','Run\x20js\x20tests\x20on\x20browserstack','commonjs','https://automation.browserstack.com','https://api-preprod.bsstag.com','https://tcg.bsstag.com','REDACTED_KEYS','strictFileInteractability','logLevel','40VmGPZK','chromeOptions','CONNECTIVITY_ISSUE_ERROR_CODES','testObservabilityOptions','TCG_AUTH_TIMEOUT','BROWSERSTACK_API_URL','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','Specify\x20--help\x20for\x20available\x20options','disableAutoCaptureLogs','ERR_CONNECTION_CLOSED','accessibilityOptions','split','invalidTestInputType','browserstack.com','SDKTestTcgAuthFailure','app-automate','https://edsstaging.bsstag.com','ERR_CONNECTION_RESET','ERR_TLS_CERT_ALTNAME_INVALID','PLAYWRIGHT_TRACE_LOGS','prod','sdk/v1/event','platforms','ERR_NAME_RESOLUTION_FAILED','DEBUG_LOG_FILE_NAME','HEALING_LOG_DATA_TIMEOUT','BSTACK_DELTA','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','wss://cdp-devtestops.bsstag.com/playwright?caps=','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','/usage-debug.log'];a55_0x4b1f=function(){return _0x5d00a6;};return a55_0x4b1f();}a55_0xa37d4a['invalidKeys']=a55_0x417161(0x21a),a55_0xa37d4a['uniqueDependency']=a55_0x417161(0x205),a55_0xa37d4a[a55_0x417161(0x288)]=a55_0x417161(0x2bf),a55_0xa37d4a[a55_0x417161(0x20b)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x54a00e={};a55_0x54a00e[a55_0x417161(0x221)]=a55_0x417161(0x1f8),a55_0x54a00e[a55_0x417161(0x246)]=a55_0x417161(0x292);const a55_0x51b26f={};a55_0x51b26f[a55_0x417161(0x28c)]=0xfde8,a55_0x51b26f[a55_0x417161(0x239)]=0xfde8,a55_0x51b26f['Jest']=0x186a0;const a55_0x36acfe={};a55_0x36acfe['root']=[a55_0x417161(0x225),a55_0x417161(0x1f5),'httpProxy',a55_0x417161(0x258),'customVariables',a55_0x417161(0x1ea),a55_0x417161(0x1ed),a55_0x417161(0x1f6),a55_0x417161(0x2b1),'proxyUrl',a55_0x417161(0x27d)],a55_0x36acfe[a55_0x417161(0x296)]=[a55_0x417161(0x1f4),'proxyPass',a55_0x417161(0x27c),a55_0x417161(0x28f)];const a55_0x53bf80={};a55_0x53bf80[a55_0x417161(0x23f)]=a55_0x417161(0x23f),a55_0x53bf80['browserStackLocalOptions']=a55_0x417161(0x296),a55_0x53bf80[a55_0x417161(0x249)]=a55_0x417161(0x296),a55_0x53bf80[a55_0x417161(0x28d)]='parallelsPerPlatform',a55_0x53bf80[a55_0x417161(0x215)]=a55_0x417161(0x215),a55_0x53bf80[a55_0x417161(0x1fe)]=a55_0x417161(0x1fe),a55_0x53bf80[a55_0x417161(0x28a)]='httpProxy',a55_0x53bf80['httpsProxy']=a55_0x417161(0x258),a55_0x53bf80['framework']=a55_0x417161(0x269),a55_0x53bf80[a55_0x417161(0x273)]='testContextOptions',a55_0x53bf80[a55_0x417161(0x29e)]=a55_0x417161(0x29e),a55_0x53bf80[a55_0x417161(0x2a8)]=a55_0x417161(0x2a8),a55_0x53bf80['testObservabilityOptions']=a55_0x417161(0x202),a55_0x53bf80[a55_0x417161(0x281)]=a55_0x417161(0x281),a55_0x53bf80[a55_0x417161(0x241)]=a55_0x417161(0x241),a55_0x53bf80[a55_0x417161(0x2bc)]=a55_0x417161(0x224),a55_0x53bf80[a55_0x417161(0x224)]='browserstackAutomation',a55_0x53bf80['rerunTests']='rerunTests',a55_0x53bf80[a55_0x417161(0x2b0)]=a55_0x417161(0x2b0),a55_0x53bf80[a55_0x417161(0x278)]=a55_0x417161(0x278),a55_0x53bf80[a55_0x417161(0x1e3)]=a55_0x417161(0x1e3),a55_0x53bf80[a55_0x417161(0x207)]='disableAutoCaptureLogs',a55_0x53bf80['accessibility']=a55_0x417161(0x2a7),a55_0x53bf80['accessibilityOptions']=a55_0x417161(0x209),a55_0x53bf80[a55_0x417161(0x233)]='turboScale',a55_0x53bf80[a55_0x417161(0x227)]='turboScaleOptions',a55_0x53bf80[a55_0x417161(0x23d)]=a55_0x417161(0x23d),a55_0x53bf80[a55_0x417161(0x1e0)]=a55_0x417161(0x1e0);function a55_0x2c3d(_0x127e20,_0x174935){const _0x4b1ff5=a55_0x4b1f();return a55_0x2c3d=function(_0x2c3d09,_0x31f989){_0x2c3d09=_0x2c3d09-0x1d7;let _0x39903d=_0x4b1ff5[_0x2c3d09];return _0x39903d;},a55_0x2c3d(_0x127e20,_0x174935);}const a55_0x5dad7c={};a55_0x5dad7c['.browserstack\x20folder\x20not\x20accessible']=[a55_0x417161(0x275),'[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_0x4b8761={};a55_0x4b8761['VERSION']=a55_0x61efa0,a55_0x4b8761[a55_0x417161(0x2a5)]=a55_0x4d5c5a,a55_0x4b8761[a55_0x417161(0x1db)]=a55_0x45c189,a55_0x4b8761[a55_0x417161(0x279)]=a55_0x3426d4,a55_0x4b8761[a55_0x417161(0x22a)]=a55_0x1c855b,a55_0x4b8761['NIGHTWATCH']=a55_0xd1749b,a55_0x4b8761[a55_0x417161(0x2b7)]=a55_0x25673c,a55_0x4b8761[a55_0x417161(0x276)]=a55_0x5a784a,a55_0x4b8761['HST']=a55_0x3ef013,a55_0x4b8761[a55_0x417161(0x220)]=a55_0x4affbd,a55_0x4b8761[a55_0x417161(0x219)]=0xf*0x3c*0x3e8,a55_0x4b8761[a55_0x417161(0x25b)]=a55_0x417161(0x261),a55_0x4b8761[a55_0x417161(0x298)]='https://tcg.browserstack.com',a55_0x4b8761[a55_0x417161(0x283)]=a55_0x417161(0x27e),a55_0x4b8761[a55_0x417161(0x282)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x4b8761[a55_0x417161(0x2ad)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x4b8761[a55_0x417161(0x226)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x4b8761[a55_0x417161(0x297)]=['acceptInsecureCerts',a55_0x417161(0x265),a55_0x417161(0x1fd),'unhandledPromptBehavior','timeouts',a55_0x417161(0x1e1),'browserVersion',a55_0x417161(0x2ab),'acceptSslCert',a55_0x417161(0x200),a55_0x417161(0x22b),a55_0x417161(0x25a),a55_0x417161(0x23c)],a55_0x4b8761[a55_0x417161(0x272)]=/^[\w-]+:.*$/,a55_0x4b8761[a55_0x417161(0x1e6)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x4b8761[a55_0x417161(0x2c0)]=a55_0x417161(0x293),a55_0x4b8761[a55_0x417161(0x204)]=a55_0x417161(0x1d7),a55_0x4b8761[a55_0x417161(0x27a)]='https://api-cloud.browserstack.com',a55_0x4b8761['UPDATED_CLI_ENDPOINT']=a55_0x417161(0x29f),a55_0x4b8761[a55_0x417161(0x2bd)]=a55_0x417161(0x214),a55_0x4b8761[a55_0x417161(0x1f0)]=['automate',a55_0x417161(0x2a1)],a55_0x4b8761[a55_0x417161(0x25d)]=[a55_0x417161(0x20e),a55_0x417161(0x2a1)],a55_0x4b8761['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a55_0x417161(0x2a1)],a55_0x4b8761['OBSERVABILITY_UPLOAD_URL']='https://upload-observability.browserstack.com',a55_0x4b8761['OBSERVABILITY_SUPPORTED_FWS']=['mocha',a55_0x417161(0x2ae)],a55_0x4b8761[a55_0x417161(0x284)]=['automate'],a55_0x4b8761[a55_0x417161(0x29b)]='https://automate.browserstack.com/dashboard/v2/builds/',a55_0x4b8761['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x417161(0x1df),a55_0x4b8761['APP_AUTOMATE']=['app-automate'],a55_0x4b8761[a55_0x417161(0x244)]=[a55_0x417161(0x236),a55_0x417161(0x254),'ERR_BLOCKED_BY_CLIENT',a55_0x417161(0x252),a55_0x417161(0x1e8),a55_0x417161(0x208),a55_0x417161(0x210),a55_0x417161(0x26d),a55_0x417161(0x2a2),'ERR_CONNECTION_FAILED',a55_0x417161(0x268),a55_0x417161(0x27f),a55_0x417161(0x260),a55_0x417161(0x2be),a55_0x417161(0x238),'ERR_SOCKS_CONNECTION_FAILED','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a55_0x417161(0x231),a55_0x417161(0x268),a55_0x417161(0x216),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a55_0x4b8761[a55_0x417161(0x240)]=[a55_0x417161(0x1f3),a55_0x417161(0x257),'.ipa'],a55_0x4b8761[a55_0x417161(0x1de)]=a55_0x417161(0x247),a55_0x4b8761[a55_0x417161(0x24e)]=a55_0x417161(0x289),a55_0x4b8761[a55_0x417161(0x290)]=a55_0x417161(0x1eb),a55_0x4b8761[a55_0x417161(0x2bb)]=a55_0x417161(0x256),a55_0x4b8761[a55_0x417161(0x2aa)]=a55_0x96ce8d,a55_0x4b8761[a55_0x417161(0x271)]=[a55_0x417161(0x280),a55_0x417161(0x22f)],a55_0x4b8761['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a55_0xa37d4a,a55_0x4b8761[a55_0x417161(0x29a)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a55_0x4b8761[a55_0x417161(0x1e5)]=a55_0x54a00e,a55_0x4b8761[a55_0x417161(0x1e2)]=0x40*0x400,a55_0x4b8761[a55_0x417161(0x2b3)]=a55_0x417161(0x274),a55_0x4b8761[a55_0x417161(0x259)]=a55_0x417161(0x251),a55_0x4b8761[a55_0x417161(0x253)]=a55_0x417161(0x232),a55_0x4b8761[a55_0x417161(0x22c)]=a55_0x417161(0x2b5),a55_0x4b8761[a55_0x417161(0x23b)]=a55_0x417161(0x20d),a55_0x4b8761[a55_0x417161(0x2b8)]=a55_0x417161(0x262),a55_0x4b8761[a55_0x417161(0x1da)]=a55_0x417161(0x222),a55_0x4b8761[a55_0x417161(0x234)]=a55_0x417161(0x24d),a55_0x4b8761[a55_0x417161(0x203)]=0x1388,a55_0x4b8761['SET_TCG_TOKEN_TIMEOUT']=0x1388,a55_0x4b8761[a55_0x417161(0x218)]=0x1388,a55_0x4b8761[a55_0x417161(0x25c)]=0x1388,a55_0x4b8761[a55_0x417161(0x26f)]=0xc350,a55_0x4b8761[a55_0x417161(0x1dc)]=a55_0x51b26f,a55_0x4b8761[a55_0x417161(0x1fc)]=a55_0x36acfe,a55_0x4b8761['AI_ENABLED_FRAMEWORK']=[a55_0x417161(0x242),a55_0x417161(0x1e9)],a55_0x4b8761[a55_0x417161(0x295)]=a55_0x53bf80,a55_0x4b8761['LOG_FILE_NAME']='/usage.log',a55_0x4b8761[a55_0x417161(0x217)]=a55_0x417161(0x21d),a55_0x4b8761[a55_0x417161(0x266)]=a55_0x417161(0x20c),a55_0x4b8761[a55_0x417161(0x22e)]='browserstack-ats.com',a55_0x4b8761[a55_0x417161(0x223)]=a55_0x417161(0x1f9),a55_0x4b8761[a55_0x417161(0x1e4)]=a55_0x417161(0x27b),a55_0x4b8761[a55_0x417161(0x2a4)]='browserstack',a55_0x4b8761[a55_0x417161(0x1ec)]=[a55_0x417161(0x22d),'cucumber',a55_0x417161(0x280)],a55_0x4b8761[a55_0x417161(0x25e)]=[a55_0x417161(0x1f2),a55_0x417161(0x21e),a55_0x417161(0x1d9),'A11Y_SAVE_RESULTS',a55_0x417161(0x263),a55_0x417161(0x26e)],a55_0x4b8761[a55_0x417161(0x212)]=a55_0x417161(0x212),a55_0x4b8761['SSL_ERROR_MESSAGES']=['self\x20signed\x20certificate',a55_0x417161(0x24a),'certificate\x20has\x20expired',a55_0x417161(0x255),'ERR_TLS_CERT_ALTNAME_INVALID','DEPTH_ZERO_SELF_SIGNED_CERT'],a55_0x4b8761['SSL_ERROR_CODES']=['SELF_SIGNED_CERT_IN_CHAIN',a55_0x417161(0x235),a55_0x417161(0x2b6),'CERT_HAS_EXPIRED',a55_0x417161(0x211),a55_0x417161(0x21c)],a55_0x4b8761[a55_0x417161(0x201)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x4b8761['CLIENT_TROUBLESHOOTING_HASH']=a55_0x5dad7c,a55_0x4b8761[a55_0x417161(0x285)]=['GLOBAL_AGENT_HTTP_PROXY',a55_0x417161(0x28e),a55_0x417161(0x230)],a55_0x4b8761[a55_0x417161(0x250)]=[a55_0x417161(0x26a),a55_0x417161(0x2a9)],module[a55_0x417161(0x1d8)]=a55_0x4b8761;const _env=(process[a55_0x417161(0x291)][a55_0x417161(0x24b)]||a55_0x417161(0x213))[a55_0x417161(0x29c)]();if(_env===a55_0x417161(0x24c)||_env===a55_0x417161(0x2b9)){const CvHLrT=a55_0x417161(0x286)[a55_0x417161(0x20a)]('|');let tKVgaX=0x0;while(!![]){switch(CvHLrT[tKVgaX++]){case'0':module[a55_0x417161(0x1d8)][a55_0x417161(0x2bb)]=a55_0x417161(0x21b);continue;case'1':module['exports'][a55_0x417161(0x29b)]=a55_0x417161(0x26b);continue;case'2':module['exports'][a55_0x417161(0x266)]=a55_0x417161(0x23e);continue;case'3':module[a55_0x417161(0x1d8)][a55_0x417161(0x204)]=a55_0x417161(0x2b4);continue;case'4':module[a55_0x417161(0x1d8)][a55_0x417161(0x27a)]=a55_0x417161(0x264);continue;case'5':module[a55_0x417161(0x1d8)]['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'6':module[a55_0x417161(0x1d8)][a55_0x417161(0x267)]='https://upload-observability-devtestops-ssi.bsstag.com';continue;case'7':module['exports'][a55_0x417161(0x28b)]='https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'8':module[a55_0x417161(0x1d8)][a55_0x417161(0x298)]=a55_0x417161(0x1fb);continue;case'9':module[a55_0x417161(0x1d8)][a55_0x417161(0x25b)]='https://hub-devtestops.bsstag.com/wd/hub';continue;case'10':module[a55_0x417161(0x1d8)]['BROWSERSTACK']=a55_0x417161(0x243);continue;case'11':module[a55_0x417161(0x1d8)]['EDS_URL']='https://edsstaging.bsstag.com';continue;case'12':module[a55_0x417161(0x1d8)]['O11Y_URL']=a55_0x417161(0x237);continue;}break;}}else{if(_env==='preprod'||_env===a55_0x417161(0x2a6)){const sCgxIq=a55_0x417161(0x229)[a55_0x417161(0x20a)]('|');let yOxYUP=0x0;while(!![]){switch(sCgxIq[yOxYUP++]){case'0':module[a55_0x417161(0x1d8)][a55_0x417161(0x298)]='https://tcg-preprod.bsstag.com';continue;case'1':module[a55_0x417161(0x1d8)]['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x417161(0x2b2);continue;case'2':module[a55_0x417161(0x1d8)]['BSTACK_URL']=a55_0x417161(0x23e);continue;case'3':module[a55_0x417161(0x1d8)]['EDS_URL']=a55_0x417161(0x20f);continue;case'4':module[a55_0x417161(0x1d8)][a55_0x417161(0x29b)]=a55_0x417161(0x1e7);continue;case'5':module[a55_0x417161(0x1d8)][a55_0x417161(0x2a4)]='bsstag';continue;case'6':module[a55_0x417161(0x1d8)][a55_0x417161(0x27a)]=a55_0x417161(0x1fa);continue;case'7':module['exports'][a55_0x417161(0x267)]=a55_0x417161(0x2a3);continue;case'8':module['exports'][a55_0x417161(0x25b)]=a55_0x417161(0x26c);continue;case'9':module[a55_0x417161(0x1d8)]['BROWSERSTACK_API_URL']=a55_0x417161(0x1fa);continue;case'10':module[a55_0x417161(0x1d8)][a55_0x417161(0x223)]='https://automation-preprod.bsstag.com';continue;case'11':module['exports'][a55_0x417161(0x282)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a55_0x417161(0x1d8)][a55_0x417161(0x2bb)]=a55_0x417161(0x2ac);continue;}break;}}}
|
|
1
|
+
const a55_0x594707=a55_0x4371;(function(_0x135c2f,_0x3b1ba5){const _0x2c341f=a55_0x4371,_0x50fd3a=_0x135c2f();while(!![]){try{const _0x3d5599=parseInt(_0x2c341f(0x215))/0x1*(-parseInt(_0x2c341f(0x1d6))/0x2)+-parseInt(_0x2c341f(0x17e))/0x3*(parseInt(_0x2c341f(0x229))/0x4)+parseInt(_0x2c341f(0x1dd))/0x5*(-parseInt(_0x2c341f(0x1e7))/0x6)+-parseInt(_0x2c341f(0x18e))/0x7*(parseInt(_0x2c341f(0x181))/0x8)+parseInt(_0x2c341f(0x205))/0x9*(-parseInt(_0x2c341f(0x1b2))/0xa)+-parseInt(_0x2c341f(0x217))/0xb+-parseInt(_0x2c341f(0x21d))/0xc*(-parseInt(_0x2c341f(0x207))/0xd);if(_0x3d5599===_0x3b1ba5)break;else _0x50fd3a['push'](_0x50fd3a['shift']());}catch(_0xe3b500){_0x50fd3a['push'](_0x50fd3a['shift']());}}}(a55_0x4c88,0x9886d));const a55_0x3a8e2e={};a55_0x3a8e2e[a55_0x594707(0x22b)]=a55_0x594707(0x21c),a55_0x3a8e2e[a55_0x594707(0x1aa)]=a55_0x594707(0x242);const a55_0x17a66a={};a55_0x17a66a[a55_0x594707(0x22b)]=a55_0x594707(0x184);const a55_0x2a41d2={};a55_0x2a41d2[a55_0x594707(0x22b)]=a55_0x594707(0x1ab);const a55_0x54fa99={};a55_0x54fa99[a55_0x594707(0x22b)]=a55_0x594707(0x204);const a55_0x57bf48={};a55_0x57bf48['INFO']=a55_0x594707(0x1fa);const a55_0x157ebc={};a55_0x157ebc[a55_0x594707(0x22b)]=a55_0x594707(0x178);function a55_0x4c88(){const _0x17948b=['name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','...[TRUNCATED]','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','edgeOptions','AI_PROXY_FAILURE','use','73208QdrTVq','rerunTests','INFO','toLowerCase','percyScreenshot','HEALING_FAILURE_TIMEOUT','httpProxy','logLevel','EBUSY','AUTOMATE_PRODUCTS','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','unable\x20to\x20verify\x20the\x20first\x20certificate','A11Y_SCAN','SSL_ERROR_CODES','mandatoryDependency','PLAYWRIGHT_CONFIG_OPTION_ERRORS','module','automation','env','browserstack.com','preprod','ERR_TUNNEL_CONNECTION_FAILED','CI_ARTIFACTS_PATH','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','wss://cdp.browserstack.com/playwright?caps=','Specify\x20--help\x20for\x20available\x20options','pageLoadStrategy','testReporting','AUTOMATE','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','SET_TCG_TOKEN_TIMEOUT','localProxyUser','NUDGE_LOCAL_ERRORS','ERR_SOCKS_CONNECTION_FAILED','https://apidevtestops.bsstag.com','VANILLA','cucumber','OBSERVABILITY_SUPPORTED_FWS','Run\x20codeceptjs\x20tests\x20on\x20browserstack','exports','BROWSERSTACK_API_URL','JEST','sdk/v1/update_cli','SDKTestInitFailedResponse','TEST_REPORTING_ANALYTICS','SDKTestTcgProxyFailure','ERR_CONNECTION_ABORTED','browserVersion','PLAYWRIGHT','app-automate','accessKey','.ipa','https://api.browserstack.com','.apk','Run\x20nightwatch\x20tests\x20on\x20browserstack','https://automation-preprod.bsstag.com','split','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','O11Y_URL','https://upload-observability.browserstack.com','33ZxlbFd','vanilla','chromeOptions','836656tzQylf','browserstack.overridelocalInfo.userAuthToken','UNABLE_TO_VERIFY_LEAF_SIGNATURE','Run\x20jest\x20tests\x20on\x20browserstack','CODECEPTJS','pre-prod','observability','acceptInsecureCerts','SDKTestTcgtInitSuccessful','browserStackLocalOptions','self\x20signed\x20certificate','https://app-automate.browserstack.com/dashboard/v2/builds/','https://automate-preprod.bsstag.com/dashboard/v2/builds/','49nncWmU','https://hub.browserstack.com/wd/hub','OBSERVABILITY_UPLOAD_URL','MOCHA','VERSION','ROOT_REGEX','percy','stag','https://observability-devtestops.bsstag.com','localOptions','BINARY_BUSY_ERROR_CODES','BROWSERSTACK_AUTOMATE_URL','strictFileInteractability','MODULE','PLAYWRIGHT_TRACE_LOGS','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_CONNECTION_FAILED','TCG_URL','browserstackLocal','CONNECTIVITY_ISSUE_ERROR_CODES','DEPTH_ZERO_SELF_SIGNED_CERT','proxyUrl','parallelsPerPlatform','certificate\x20has\x20expired','platforms','mocha','https://edsstaging.bsstag.com','BSTACK_URL','HELP','Run\x20mocha\x20tests\x20on\x20browserstack','GLOBAL_AGENT_NO_PROXY','ERR_NAME_NOT_RESOLVED','Run\x20playwright\x20tests\x20on\x20Browserstack','ERR_CONNECTION_CLOSED','HST','SHAREABLE_ID_REGEX','720lcehhh','HEALING_LOG_DATA_TIMEOUT','CUSTOM_ID_REGEX','browserstack.userName','turboScale','timeouts','browserName','DEBUG_LOG_FILE_NAME','https://upload-observability-devtestops-ssi.bsstag.com','BROWSERSTACK_APP_AUTOMATE_URL','./browserstack-artifacts/','AUTOMATION_LOG_COMMANDS','CODECEPT_CUCUMBER','proxyPassword','codeceptjs','invalidKeys','GIT_META_DATA_TRUNCATED','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','BSTACK_DELTA','APP_AUTOMATE','codeceptjs-cucumber','proxyUser','accessibility','invalidTestInputType','INTERNALLY_USED_ENV_VARS','PLAYWRIGHT_HUB_URL','ERR_CONNECTION_RESET','PERCY_SUPPORTED_FRAMEWORKS','EDS_URL','Mocha','BSTACK_ATS_URL','POLL_HEALING_RESULT_TIMEOUT','percyOptions','TCG_AUTH_FAILURE','ATS_WSS_URL_REGEX','ERR_SOCKET_NOT_CONNECTED','270YmCwml','disableAutoCaptureLogs','percyCaptureMode','bsstag','framework','https://automate.browserstack.com/dashboard/v2/builds/','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','5guxBHo','Upgrade\x20required','https://api-cloud.browserstack.com','LOG_FILE_NAME','testContextOptions','https://upload-observability-preprod.bsstag.com','ERR_TLS_CERT_ALTNAME_INVALID','HUB_URL_REGEX','jest','ETXTBSY','3120582yxZWkz','BROWSERSTACK','/usage.log','httpsProxy','APP_UPLOAD_URL','turboScaleOptions','Playwright','SDKTestTcgAuthFailure','testObservability','authToken','playwright','TEST\x20REPORTING\x20AND\x20ANALYTICS','SDKTestTcgDownResponse','ERR_NAME_RESOLUTION_FAILED','MAX_GIT_META_DATA_SIZE_IN_BYTES','testObservabilityOptions','proxySettings','UPGRADE_REQUIRED','hubUrl','Run\x20js\x20tests\x20on\x20browserstack','automate','UPDATED_CLI_ENDPOINT','INTEGRATIONS','accessibilityOptions','APP_AUTOMATE_PRODUCTS','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','^[a-zA-Z0-9_.-]*$','staging','PRIVATE_DOMAIN_OR_IP_REGEX','Run\x20cucumber-js\x20tests\x20on\x20browserstack','148977NeZmsv','browserstack.accessKey','12311377JBclwJ','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','sdk/v1/event','CUCUMBER','unable\x20to\x20get\x20local\x20issuer\x20certificate','.aab','TCG_REGION','bsstag.com','CLI_SUPPORTED_FRAMEWORKS','testReportingOptions','A11Y_GET_RESULTS_SUMMARY','ObservabilitySync','browserstackAutomation','BROWSERSTACK_ENV','8879VFiUKP','.browserstack\x20folder\x20not\x20accessible','13347961DMiFFq','A11Y_GET_RESULTS','testOrchestrationOptions','CODECEPT','FUNNEL_INSTRUMENTATION_API_URL','shows\x20version\x20information','72omtxvB','customVariables','USER_CONFIG_DETAILS_PATH','commonjs','browserstack'];a55_0x4c88=function(){return _0x17948b;};return a55_0x4c88();}const a55_0x365a6e={};function a55_0x4371(_0x40fd82,_0x54b435){const _0x4c8850=a55_0x4c88();return a55_0x4371=function(_0x4371ce,_0x2b9280){_0x4371ce=_0x4371ce-0x164;let _0x45631b=_0x4c8850[_0x4371ce];return _0x45631b;},a55_0x4371(_0x40fd82,_0x54b435);}a55_0x365a6e['INFO']=a55_0x594707(0x1ae);const a55_0xc7f061={};a55_0xc7f061[a55_0x594707(0x22b)]=a55_0x594707(0x168);const a55_0x4ea898={};a55_0x4ea898['INFO']=a55_0x594707(0x223);const a55_0x2f3bb0={};a55_0x2f3bb0[a55_0x594707(0x22b)]=a55_0x594707(0x246);const a55_0x1fe408={};a55_0x1fe408['PLAYWRIGHT']=a55_0x594707(0x1ed),a55_0x1fe408[a55_0x594707(0x191)]=a55_0x594707(0x1a7),a55_0x1fe408[a55_0x594707(0x16b)]='jest',a55_0x1fe408[a55_0x594707(0x21a)]='codeceptjs',a55_0x1fe408[a55_0x594707(0x1be)]=a55_0x594707(0x1c6),a55_0x1fe408[a55_0x594707(0x20a)]=a55_0x594707(0x166),a55_0x1fe408[a55_0x594707(0x165)]=a55_0x594707(0x17f);const a55_0x46c7a9={};a55_0x46c7a9[a55_0x594707(0x1c1)]=a55_0x594707(0x225),a55_0x46c7a9['uniqueDependency']=a55_0x594707(0x200),a55_0x46c7a9[a55_0x594707(0x237)]=a55_0x594707(0x222),a55_0x46c7a9[a55_0x594707(0x1c9)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x1e0ed1={};a55_0x1e0ed1['COMMONJS']=a55_0x594707(0x220),a55_0x1e0ed1[a55_0x594707(0x19b)]=a55_0x594707(0x239);const a55_0x4fb0db={};a55_0x4fb0db[a55_0x594707(0x1cf)]=0xfde8,a55_0x4fb0db['Cucumber-JS']=0xfde8,a55_0x4fb0db['Jest']=0x186a0;const a55_0x337840={};a55_0x337840['root']=['userName',a55_0x594707(0x174),'httpProxy',a55_0x594707(0x1ea),a55_0x594707(0x21e),a55_0x594707(0x1b5),a55_0x594707(0x206),a55_0x594707(0x1bf),a55_0x594707(0x1f0),a55_0x594707(0x1a3),a55_0x594707(0x182)],a55_0x337840['browserStackLocalOptions']=[a55_0x594707(0x1c7),'proxyPass',a55_0x594707(0x248),'localProxyPass'];const a55_0x4cd2c2={};a55_0x4cd2c2['browserstackLocal']=a55_0x594707(0x1a0),a55_0x4cd2c2[a55_0x594707(0x18a)]=a55_0x594707(0x18a),a55_0x4cd2c2[a55_0x594707(0x197)]='browserStackLocalOptions',a55_0x4cd2c2[a55_0x594707(0x1a4)]=a55_0x594707(0x1a4),a55_0x4cd2c2['platforms']=a55_0x594707(0x1a6),a55_0x4cd2c2[a55_0x594707(0x230)]=a55_0x594707(0x230),a55_0x4cd2c2[a55_0x594707(0x22f)]=a55_0x594707(0x22f),a55_0x4cd2c2[a55_0x594707(0x1ea)]=a55_0x594707(0x1ea),a55_0x4cd2c2[a55_0x594707(0x1da)]='framework',a55_0x4cd2c2[a55_0x594707(0x1e1)]=a55_0x594707(0x1e1),a55_0x4cd2c2[a55_0x594707(0x1ef)]='testObservability',a55_0x4cd2c2[a55_0x594707(0x244)]=a55_0x594707(0x244),a55_0x4cd2c2[a55_0x594707(0x1f6)]=a55_0x594707(0x1f6),a55_0x4cd2c2[a55_0x594707(0x210)]=a55_0x594707(0x210),a55_0x4cd2c2[a55_0x594707(0x21e)]=a55_0x594707(0x21e),a55_0x4cd2c2[a55_0x594707(0x23a)]=a55_0x594707(0x213),a55_0x4cd2c2[a55_0x594707(0x213)]=a55_0x594707(0x213),a55_0x4cd2c2[a55_0x594707(0x22a)]=a55_0x594707(0x22a),a55_0x4cd2c2[a55_0x594707(0x194)]=a55_0x594707(0x194),a55_0x4cd2c2['percyOptions']=a55_0x594707(0x1d2),a55_0x4cd2c2['percyCaptureMode']=a55_0x594707(0x1d8),a55_0x4cd2c2['disableAutoCaptureLogs']=a55_0x594707(0x1d7),a55_0x4cd2c2[a55_0x594707(0x1c8)]='accessibility',a55_0x4cd2c2[a55_0x594707(0x1fe)]=a55_0x594707(0x1fe),a55_0x4cd2c2[a55_0x594707(0x1b6)]=a55_0x594707(0x1b6),a55_0x4cd2c2[a55_0x594707(0x1ec)]=a55_0x594707(0x1ec),a55_0x4cd2c2[a55_0x594707(0x1f7)]=a55_0x594707(0x1f7),a55_0x4cd2c2[a55_0x594707(0x219)]=a55_0x594707(0x219);const a55_0x3173e6={};a55_0x3173e6[a55_0x594707(0x216)]=['SDK-GEN-001','[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_0x4b85fe={};a55_0x4b85fe[a55_0x594707(0x192)]=a55_0x3a8e2e,a55_0x4b85fe['JEST']=a55_0x17a66a,a55_0x4b85fe[a55_0x594707(0x191)]=a55_0x2a41d2,a55_0x4b85fe[a55_0x594707(0x20a)]=a55_0x54fa99,a55_0x4b85fe[a55_0x594707(0x165)]=a55_0x57bf48,a55_0x4b85fe['NIGHTWATCH']=a55_0x157ebc,a55_0x4b85fe[a55_0x594707(0x172)]=a55_0x365a6e,a55_0x4b85fe[a55_0x594707(0x185)]=a55_0xc7f061,a55_0x4b85fe[a55_0x594707(0x1b0)]=a55_0x4ea898,a55_0x4b85fe[a55_0x594707(0x1fd)]=a55_0x2f3bb0,a55_0x4b85fe[a55_0x594707(0x1c4)]=0xf*0x3c*0x3e8,a55_0x4b85fe[a55_0x594707(0x1f9)]=a55_0x594707(0x18f),a55_0x4b85fe[a55_0x594707(0x19f)]='https://tcg.browserstack.com',a55_0x4b85fe[a55_0x594707(0x20d)]=a55_0x594707(0x228),a55_0x4b85fe[a55_0x594707(0x1e4)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x4b85fe['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x4b85fe[a55_0x594707(0x1d4)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x4b85fe['ROOT_CAPS']=[a55_0x594707(0x188),a55_0x594707(0x243),a55_0x594707(0x19a),'unhandledPromptBehavior',a55_0x594707(0x1b7),a55_0x594707(0x1b8),a55_0x594707(0x171),'acceptSslCerts','acceptSslCert',a55_0x594707(0x180),'firefoxOptions',a55_0x594707(0x226),'ieOptions'],a55_0x4b85fe[a55_0x594707(0x193)]=/^[\w-]+:.*$/,a55_0x4b85fe[a55_0x594707(0x203)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x4b85fe['EDS_URL']='https://eds.browserstack.com',a55_0x4b85fe['BROWSERSTACK_API_URL']=a55_0x594707(0x176),a55_0x4b85fe[a55_0x594707(0x1eb)]=a55_0x594707(0x1df),a55_0x4b85fe[a55_0x594707(0x1fc)]=a55_0x594707(0x16c),a55_0x4b85fe[a55_0x594707(0x21b)]=a55_0x594707(0x209),a55_0x4b85fe[a55_0x594707(0x232)]=[a55_0x594707(0x1fb),a55_0x594707(0x187)],a55_0x4b85fe[a55_0x594707(0x1ff)]=[a55_0x594707(0x173),a55_0x594707(0x187)],a55_0x4b85fe[a55_0x594707(0x17b)]=[a55_0x594707(0x187)],a55_0x4b85fe[a55_0x594707(0x190)]=a55_0x594707(0x17d),a55_0x4b85fe[a55_0x594707(0x167)]=[a55_0x594707(0x1a7),a55_0x594707(0x1ed)],a55_0x4b85fe[a55_0x594707(0x245)]=[a55_0x594707(0x1fb)],a55_0x4b85fe[a55_0x594707(0x199)]=a55_0x594707(0x1db),a55_0x4b85fe[a55_0x594707(0x1bb)]=a55_0x594707(0x18c),a55_0x4b85fe[a55_0x594707(0x1c5)]=['app-automate'],a55_0x4b85fe[a55_0x594707(0x249)]=['ERR_FAILED','ERR_TIMED_OUT','ERR_BLOCKED_BY_CLIENT','ERR_NETWORK_CHANGED',a55_0x594707(0x1d5),a55_0x594707(0x1af),a55_0x594707(0x1cc),'ERR_CONNECTION_REFUSED',a55_0x594707(0x170),a55_0x594707(0x19e),a55_0x594707(0x1ad),'ERR_ADDRESS_INVALID','ERR_ADDRESS_UNREACHABLE',a55_0x594707(0x23e),'ERR_CONNECTION_TIMED_OUT',a55_0x594707(0x24a),a55_0x594707(0x19d),'ERR_PROXY_CONNECTION_FAILED',a55_0x594707(0x1ad),a55_0x594707(0x1f4),a55_0x594707(0x1dc)],a55_0x4b85fe['VALID_APP_EXTENSION']=[a55_0x594707(0x177),a55_0x594707(0x20c),a55_0x594707(0x175)],a55_0x4b85fe[a55_0x594707(0x1b4)]=a55_0x594707(0x201),a55_0x4b85fe[a55_0x594707(0x1b1)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a55_0x4b85fe[a55_0x594707(0x23f)]=a55_0x594707(0x1bc),a55_0x4b85fe['PLAYWRIGHT_HUB_URL']=a55_0x594707(0x241),a55_0x4b85fe['FRAMEWORKS']=a55_0x1fe408,a55_0x4b85fe[a55_0x594707(0x1cd)]=[a55_0x594707(0x1e5),'mocha'],a55_0x4b85fe[a55_0x594707(0x238)]=a55_0x46c7a9,a55_0x4b85fe['AUTOLOGCAPTURE_NOTIFICATION']=a55_0x594707(0x233),a55_0x4b85fe['PACKAGE_TYPE']=a55_0x1e0ed1,a55_0x4b85fe[a55_0x594707(0x1f5)]=0x40*0x400,a55_0x4b85fe[a55_0x594707(0x1c2)]=a55_0x594707(0x224),a55_0x4b85fe[a55_0x594707(0x1f8)]=a55_0x594707(0x1de),a55_0x4b85fe['TCG_DOWN']=a55_0x594707(0x1f3),a55_0x4b85fe['INVALID_INIT_RESP_WITH_USER_IMPACT']='SDKTestInvalidTcgAuthResponseWithUserImpact',a55_0x4b85fe[a55_0x594707(0x1d3)]=a55_0x594707(0x1ee),a55_0x4b85fe['AI_INIT_SUCCESSFUL']=a55_0x594707(0x189),a55_0x4b85fe['AI_INIT_FAILURE']=a55_0x594707(0x16d),a55_0x4b85fe[a55_0x594707(0x227)]=a55_0x594707(0x16f),a55_0x4b85fe['TCG_AUTH_TIMEOUT']=0x1388,a55_0x4b85fe[a55_0x594707(0x247)]=0x1388,a55_0x4b85fe[a55_0x594707(0x1b3)]=0x1388,a55_0x4b85fe[a55_0x594707(0x22e)]=0x1388,a55_0x4b85fe[a55_0x594707(0x1d1)]=0xc350,a55_0x4b85fe['TEST_FRAMEWORK_HOOK_TIMEOUT']=a55_0x4fb0db,a55_0x4b85fe['REDACTED_KEYS']=a55_0x337840,a55_0x4b85fe['AI_ENABLED_FRAMEWORK']=[a55_0x594707(0x17f),a55_0x594707(0x1c0)],a55_0x4b85fe['SDK_INSTRUMENTATION_CONFIG']=a55_0x4cd2c2,a55_0x4b85fe[a55_0x594707(0x1e0)]=a55_0x594707(0x1e9),a55_0x4b85fe[a55_0x594707(0x1b9)]='/usage-debug.log',a55_0x4b85fe['BSTACK_URL']=a55_0x594707(0x23c),a55_0x4b85fe[a55_0x594707(0x1d0)]='browserstack-ats.com',a55_0x4b85fe[a55_0x594707(0x17c)]='https://automation.browserstack.com',a55_0x4b85fe[a55_0x594707(0x16e)]=a55_0x594707(0x1f2),a55_0x4b85fe[a55_0x594707(0x1e8)]=a55_0x594707(0x221),a55_0x4b85fe[a55_0x594707(0x20f)]=[a55_0x594707(0x1f1),'cucumber','jest'],a55_0x4b85fe[a55_0x594707(0x1bd)]=[a55_0x594707(0x235),a55_0x594707(0x211),a55_0x594707(0x218),'A11Y_SAVE_RESULTS',a55_0x594707(0x22d),a55_0x594707(0x212)],a55_0x4b85fe[a55_0x594707(0x19c)]=a55_0x594707(0x19c),a55_0x4b85fe['SSL_ERROR_MESSAGES']=[a55_0x594707(0x18b),a55_0x594707(0x234),a55_0x594707(0x1a5),a55_0x594707(0x20b),'ERR_TLS_CERT_ALTNAME_INVALID',a55_0x594707(0x1a2)],a55_0x4b85fe[a55_0x594707(0x236)]=['SELF_SIGNED_CERT_IN_CHAIN',a55_0x594707(0x1a2),a55_0x594707(0x183),'CERT_HAS_EXPIRED',a55_0x594707(0x1e3),a55_0x594707(0x208)],a55_0x4b85fe[a55_0x594707(0x1a1)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x4b85fe['CLIENT_TROUBLESHOOTING_HASH']=a55_0x3173e6,a55_0x4b85fe[a55_0x594707(0x1ca)]=['GLOBAL_AGENT_HTTP_PROXY',a55_0x594707(0x1ac),a55_0x594707(0x21f)],a55_0x4b85fe[a55_0x594707(0x198)]=[a55_0x594707(0x1e6),a55_0x594707(0x231)],module[a55_0x594707(0x169)]=a55_0x4b85fe;const _env=(process[a55_0x594707(0x23b)][a55_0x594707(0x214)]||'prod')[a55_0x594707(0x22c)]();if(_env===a55_0x594707(0x202)||_env===a55_0x594707(0x195)){const hOfhva='9|5|4|1|11|10|6|12|7|3|8|2|0'[a55_0x594707(0x17a)]('|');let iowCne=0x0;while(!![]){switch(hOfhva[iowCne++]){case'0':module['exports']['BROWSERSTACK']=a55_0x594707(0x1d9);continue;case'1':module[a55_0x594707(0x169)][a55_0x594707(0x1e4)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'2':module[a55_0x594707(0x169)][a55_0x594707(0x1ce)]=a55_0x594707(0x1a8);continue;case'3':module[a55_0x594707(0x169)]['O11Y_URL']=a55_0x594707(0x196);continue;case'4':module[a55_0x594707(0x169)][a55_0x594707(0x19f)]='https://tcg.bsstag.com';continue;case'5':module[a55_0x594707(0x169)]['BROWSERSTACK_API_URL']=a55_0x594707(0x164);continue;case'6':module[a55_0x594707(0x169)]['APP_UPLOAD_URL']='https://api-cloud-devtestops.bsstag.com';continue;case'7':module[a55_0x594707(0x169)][a55_0x594707(0x1a9)]=a55_0x594707(0x20e);continue;case'8':module['exports'][a55_0x594707(0x190)]=a55_0x594707(0x1ba);continue;case'9':module['exports']['hubUrl']='https://hub-devtestops.bsstag.com/wd/hub';continue;case'10':module[a55_0x594707(0x169)][a55_0x594707(0x1bb)]='https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'11':module[a55_0x594707(0x169)][a55_0x594707(0x199)]=a55_0x594707(0x1c3);continue;case'12':module[a55_0x594707(0x169)][a55_0x594707(0x1cb)]='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;}break;}}else{if(_env===a55_0x594707(0x23d)||_env===a55_0x594707(0x186)){const aeqJDO='12|11|6|7|2|4|3|9|1|10|5|8|0'['split']('|');let etizsN=0x0;while(!![]){switch(aeqJDO[etizsN++]){case'0':module[a55_0x594707(0x169)][a55_0x594707(0x1e8)]=a55_0x594707(0x1d9);continue;case'1':module['exports'][a55_0x594707(0x1a9)]=a55_0x594707(0x20e);continue;case'2':module[a55_0x594707(0x169)][a55_0x594707(0x199)]=a55_0x594707(0x18d);continue;case'3':module['exports'][a55_0x594707(0x1eb)]='https://api-preprod.bsstag.com';continue;case'4':module['exports'][a55_0x594707(0x1bb)]=a55_0x594707(0x240);continue;case'5':module[a55_0x594707(0x169)][a55_0x594707(0x190)]=a55_0x594707(0x1e2);continue;case'6':module[a55_0x594707(0x169)]['TCG_URL']='https://tcg-preprod.bsstag.com';continue;case'7':module[a55_0x594707(0x169)][a55_0x594707(0x1e4)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'8':module[a55_0x594707(0x169)][a55_0x594707(0x1ce)]='https://edsstaging.bsstag.com';continue;case'9':module[a55_0x594707(0x169)][a55_0x594707(0x1cb)]='wss://cdp-preprod.bsstag.com/playwright?caps=';continue;case'10':module[a55_0x594707(0x169)][a55_0x594707(0x17c)]=a55_0x594707(0x179);continue;case'11':module[a55_0x594707(0x169)][a55_0x594707(0x16a)]='https://api-preprod.bsstag.com';continue;case'12':module[a55_0x594707(0x169)][a55_0x594707(0x1f9)]='https://hub-preprod.bsstag.com/wd/hub';continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a56_0x586c94=a56_0x2367;(function(_0xc871b8,_0xa696dc){const _0x4674ee=a56_0x2367,_0x52f58d=_0xc871b8();while(!![]){try{const _0x213960=-parseInt(_0x4674ee(0x7a))/0x1+-parseInt(_0x4674ee(0x6f))/0x2*(-parseInt(_0x4674ee(0x80))/0x3)+parseInt(_0x4674ee(0x7c))/0x4*(-parseInt(_0x4674ee(0x82))/0x5)+-parseInt(_0x4674ee(0x7f))/0x6*(parseInt(_0x4674ee(0x77))/0x7)+parseInt(_0x4674ee(0x74))/0x8*(-parseInt(_0x4674ee(0x72))/0x9)+parseInt(_0x4674ee(0x7e))/0xa+parseInt(_0x4674ee(0x6e))/0xb;if(_0x213960===_0xa696dc)break;else _0x52f58d['push'](_0x52f58d['shift']());}catch(_0x7630cd){_0x52f58d['push'](_0x52f58d['shift']());}}}(a56_0x45fc,0x28958));function a56_0x45fc(){const _0x5d3d25=['./logReportingAPI','5756311LqdiJp','91958hrAjiL','levelStr','join','59319iCHdJJ','timezoneOffset','8WGsjGU','configure','colouredLayout','7ujqZDQ','layout','log','39141doXgxA','level','1039924EJxhms','mOyvi','105790iIXBof','1475106KLXntR','12QhDyTF','type','5nsZkfS'];a56_0x45fc=function(){return _0x5d3d25;};return a56_0x45fc();}function a56_0x2367(_0x23436a,_0x1172a9){const _0x45fcff=a56_0x45fc();return a56_0x2367=function(_0x2367fe,_0x47bd03){_0x2367fe=_0x2367fe-0x6d;let _0xe56178=_0x45fcff[_0x2367fe];return _0xe56178;},a56_0x2367(_0x23436a,_0x1172a9);}const logReportingAPI=require(a56_0x586c94(0x6d)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x211342,_0x4204f5){return _0x248cf5=>{const _0x3b9d20=a56_0x2367;BSTestOpsLogger[_0x3b9d20(0x79)]({'level':_0x248cf5[_0x3b9d20(0x7b)]?_0x248cf5['level'][_0x3b9d20(0x70)]:null,'message':_0x248cf5['data']?_0x248cf5['data'][_0x3b9d20(0x71)]('\x20'):null});};}exports[a56_0x586c94(0x75)]=(_0xf62f77,_0x256485)=>{const _0x1e3154=a56_0x586c94,_0x1544a3={'mOyvi':function(_0x20147d,_0x32e57f,_0x2cd91a){return _0x20147d(_0x32e57f,_0x2cd91a);}};let _0x53625d=_0x256485[_0x1e3154(0x76)];return _0xf62f77[_0x1e3154(0x78)]&&(_0x53625d=_0x256485[_0x1e3154(0x78)](_0xf62f77[_0x1e3154(0x78)][_0x1e3154(0x81)],_0xf62f77[_0x1e3154(0x78)])),_0x1544a3[_0x1e3154(0x7d)](BSTestOpsLog4JSAppender,_0x53625d,_0xf62f77[_0x1e3154(0x73)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a57_0x435006=a57_0x5615;(function(_0x41fa3b,_0x1f1e95){const _0x434be6=a57_0x5615,_0x35e8f6=_0x41fa3b();while(!![]){try{const _0x2dfdc7=-parseInt(_0x434be6(0xd7))/0x1*(-parseInt(_0x434be6(0xdb))/0x2)+parseInt(_0x434be6(0xe1))/0x3*(parseInt(_0x434be6(0xdc))/0x4)+parseInt(_0x434be6(0xdf))/0x5*(-parseInt(_0x434be6(0xf4))/0x6)+-parseInt(_0x434be6(0xef))/0x7*(-parseInt(_0x434be6(0xec))/0x8)+-parseInt(_0x434be6(0xf1))/0x9+-parseInt(_0x434be6(0xde))/0xa*(parseInt(_0x434be6(0xeb))/0xb)+parseInt(_0x434be6(0xf3))/0xc;if(_0x2dfdc7===_0x1f1e95)break;else _0x35e8f6['push'](_0x35e8f6['shift']());}catch(_0x1086d0){_0x35e8f6['push'](_0x35e8f6['shift']());}}}(a57_0x1d0a,0xce59c));function a57_0x5615(_0x424a11,_0x1b2ddb){const _0x1d0a2d=a57_0x1d0a();return a57_0x5615=function(_0x5615e7,_0x38ec8c){_0x5615e7=_0x5615e7-0xd6;let _0x5a0eb0=_0x1d0a2d[_0x5615e7];return _0x5a0eb0;},a57_0x5615(_0x424a11,_0x1b2ddb);}const Transport=require(a57_0x435006(0xed)),{consoleHolder}=require(a57_0x435006(0xd6)),a57_0xd67d2d={};a57_0xd67d2d['INFO']='INFO',a57_0xd67d2d[a57_0x435006(0xd9)]='ERROR',a57_0xd67d2d[a57_0x435006(0xe2)]='DEBUG',a57_0xd67d2d[a57_0x435006(0xea)]=a57_0x435006(0xea),a57_0xd67d2d[a57_0x435006(0xe5)]='WARN';const LOG_LEVELS=a57_0xd67d2d;class logPatcher extends Transport{constructor(_0x4da0a8){super(_0x4da0a8);}['logToTestOps']=(_0x402589=LOG_LEVELS[a57_0x435006(0xe9)],_0x4fb79b=[''])=>{const _0x3c32e5=a57_0x435006,_0x28473b={};_0x28473b[_0x3c32e5(0xf0)]=_0x3c32e5(0xdd);const _0x3ebbb0=_0x28473b;consoleHolder[_0x402589[_0x3c32e5(0xda)]()](..._0x4fb79b),process[_0x3c32e5(0xe7)]('bs:addLog:'+process[_0x3c32e5(0xf2)],{'timestamp':new Date()[_0x3c32e5(0xe6)](),'level':_0x402589[_0x3c32e5(0xd8)](),'message':'\x22'+_0x4fb79b['join'](',\x20')+'\x22','kind':_0x3ebbb0[_0x3c32e5(0xf0)],'http_response':{}});};['trace']=(..._0x4324a7)=>{const _0x51978f=a57_0x435006;this[_0x51978f(0xe0)](LOG_LEVELS[_0x51978f(0xea)],_0x4324a7);};['debug']=(..._0x3420c2)=>{const _0x16cee6=a57_0x435006;this[_0x16cee6(0xe0)](LOG_LEVELS[_0x16cee6(0xe2)],_0x3420c2);};[a57_0x435006(0xee)]=(..._0x3ec071)=>{const _0x25deff=a57_0x435006;this[_0x25deff(0xe0)](LOG_LEVELS[_0x25deff(0xe9)],_0x3ec071);};[a57_0x435006(0xe4)]=(..._0x449e06)=>{const _0x43deed=a57_0x435006;this['logToTestOps'](LOG_LEVELS[_0x43deed(0xe5)],_0x449e06);};['error']=(..._0x300f4f)=>{const _0x1a229c=a57_0x435006;this[_0x1a229c(0xe0)](LOG_LEVELS['ERROR'],_0x300f4f);};[a57_0x435006(0xe3)]=(..._0x5c12be)=>{const _0xe0020d=a57_0x435006;this[_0xe0020d(0xe0)](LOG_LEVELS[_0xe0020d(0xe9)],_0x5c12be);};};function a57_0x1d0a(){const _0x5afb39=['390JTMhJh','logToTestOps','45SXTtij','DEBUG','log','warn','WARN','toISOString','emit','exports','INFO','TRACE','1524017cgcIwh','8oqNCnC','winston-transport','info','8709722EQMTmY','AujOq','3439422oNgEUZ','pid','2029716OAYcJR','80994FdxUsj','../../helpers/test-observability/constants','1Bofgch','toUpperCase','ERROR','toLowerCase','3069170HrQxYT','228356qjNNkU','TEST_LOG','110eOancM'];a57_0x1d0a=function(){return _0x5afb39;};return a57_0x1d0a();}module[a57_0x435006(0xe8)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x29f5d5=a58_0x176e;(function(_0x2ce0dc,_0x3a9a4b){const _0x4a3a1c=a58_0x176e,_0xadd0c5=_0x2ce0dc();while(!![]){try{const _0x3db192=-parseInt(_0x4a3a1c(0xbc))/0x1+parseInt(_0x4a3a1c(0xc8))/0x2+-parseInt(_0x4a3a1c(0xd0))/0x3+parseInt(_0x4a3a1c(0xb7))/0x4+-parseInt(_0x4a3a1c(0xc0))/0x5*(parseInt(_0x4a3a1c(0xc7))/0x6)+-parseInt(_0x4a3a1c(0xd1))/0x7+-parseInt(_0x4a3a1c(0xba))/0x8*(-parseInt(_0x4a3a1c(0xbd))/0x9);if(_0x3db192===_0x3a9a4b)break;else _0xadd0c5['push'](_0xadd0c5['shift']());}catch(_0x2384b2){_0xadd0c5['push'](_0xadd0c5['shift']());}}}(a58_0x3de8,0x57e30));const Transport=require(a58_0x29f5d5(0xb4)),{consoleHolder}=require(a58_0x29f5d5(0xb2)),a58_0x23dc9d={};a58_0x23dc9d[a58_0x29f5d5(0xc9)]=a58_0x29f5d5(0xc9),a58_0x23dc9d['ERROR']=a58_0x29f5d5(0xc5),a58_0x23dc9d['DEBUG']=a58_0x29f5d5(0xb1),a58_0x23dc9d[a58_0x29f5d5(0xd3)]='TRACE',a58_0x23dc9d[a58_0x29f5d5(0xbe)]=a58_0x29f5d5(0xbe);const LOG_LEVELS=a58_0x23dc9d;class logReportingAPI extends Transport{constructor(_0x390b61){super(_0x390b61);}[a58_0x29f5d5(0xce)](_0x567a9e,_0x84f939){const _0x16e9d3=a58_0x29f5d5,_0x2f9936={'hNZOl':'logged','nVTRZ':function(_0x21fea4,_0x9b788){return _0x21fea4(_0x9b788);},'QxiWX':function(_0x5cbffb,_0x3ebc05){return _0x5cbffb===_0x3ebc05;},'xaunL':_0x16e9d3(0xcc),'UsFHb':function(_0x5aa092){return _0x5aa092();}};_0x2f9936[_0x16e9d3(0xc4)](setImmediate,()=>{const _0x80573b=_0x16e9d3;this[_0x80573b(0xcf)](_0x2f9936[_0x80573b(0xc3)],_0x567a9e);}),_0x2f9936[_0x16e9d3(0xb9)](typeof _0x567a9e,_0x2f9936[_0x16e9d3(0xcb)])?this[_0x16e9d3(0xb5)](_0x567a9e[_0x16e9d3(0xd2)]||LOG_LEVELS[_0x16e9d3(0xc9)],_0x567a9e[_0x16e9d3(0xc2)],![]):this[_0x16e9d3(0xb5)](LOG_LEVELS[_0x16e9d3(0xc9)],_0x567a9e),_0x84f939&&_0x2f9936[_0x16e9d3(0xb6)](_0x84f939);}[a58_0x29f5d5(0xb5)]=(_0x54ef2b=LOG_LEVELS['INFO'],_0x17d826='',_0x5bc3ac=!![])=>{const _0x30c968=a58_0x29f5d5,_0x503eaa={};_0x503eaa['DpfTI']=_0x30c968(0xca);const _0x14e5c1=_0x503eaa;_0x5bc3ac&&consoleHolder[_0x54ef2b[_0x30c968(0xc6)]()](_0x17d826),process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x30c968(0xb0)](),'level':_0x54ef2b[_0x30c968(0xc1)](),'message':_0x17d826,'kind':_0x14e5c1[_0x30c968(0xb8)],'http_response':{}});};[a58_0x29f5d5(0xbb)]=(_0x4e910d,_0x59f17b)=>{const _0x5d1a78=a58_0x29f5d5;this[_0x5d1a78(0xb5)](LOG_LEVELS[_0x5d1a78(0xd3)],_0x4e910d);};[a58_0x29f5d5(0xd4)]=(_0x2380a2,_0x5a206e)=>{const _0x2ea73c=a58_0x29f5d5;this['logToTestOps'](LOG_LEVELS[_0x2ea73c(0xb1)],_0x2380a2);};['info']=(_0x1f0edc,_0x3811f1)=>{const _0x3858b9=a58_0x29f5d5;this[_0x3858b9(0xb5)](LOG_LEVELS[_0x3858b9(0xc9)],_0x1f0edc);};[a58_0x29f5d5(0xcd)]=(_0x3d42fa,_0x3e6e34)=>{const _0x383311=a58_0x29f5d5;this[_0x383311(0xb5)](LOG_LEVELS['WARN'],_0x3d42fa);};[a58_0x29f5d5(0xb3)]=(_0x295bfb,_0x2d9bdb)=>{const _0x14dd87=a58_0x29f5d5;this['logToTestOps'](LOG_LEVELS[_0x14dd87(0xc5)],_0x295bfb);};};function a58_0x176e(_0x1eddc7,_0x528c65){const _0x3de8db=a58_0x3de8();return a58_0x176e=function(_0x176e29,_0x296cc3){_0x176e29=_0x176e29-0xb0;let _0x44a6a2=_0x3de8db[_0x176e29];return _0x44a6a2;},a58_0x176e(_0x1eddc7,_0x528c65);}function a58_0x3de8(){const _0x34488a=['level','TRACE','debug','toISOString','DEBUG','../../helpers/test-observability/constants','error','winston-transport','logToTestOps','UsFHb','1662412jRoFdI','DpfTI','QxiWX','742312XODOJd','trace','26434qcjObA','18qwfSrh','WARN','exports','5ePDWVn','toUpperCase','message','hNZOl','nVTRZ','ERROR','toLowerCase','1840854ZBcnEV','1231928CntKNc','INFO','TEST_LOG','xaunL','object','warn','log','emit','1142439bgDbon','1001735deKVDb'];a58_0x3de8=function(){return _0x34488a;};return a58_0x3de8();}module[a58_0x29f5d5(0xbf)]=logReportingAPI;
|