browserstack-node-sdk 1.54.2 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -3
- 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/newman/command.js +2 -0
- package/src/bin/newman/helper.js +1 -0
- package/src/bin/newman/reporter/index.js +1 -0
- package/src/bin/newman/scriptRunner.js +2 -0
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/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/puppeteer-helper.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
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a53_0xd88eb=a53_0xdb4f;(function(_0xa763cf,_0xd60b3f){const _0x45d2f4=a53_0xdb4f,_0x125692=_0xa763cf();while(!![]){try{const _0x16f1c5=-parseInt(_0x45d2f4(0x1f6))/0x1*(parseInt(_0x45d2f4(0x1ae))/0x2)+-parseInt(_0x45d2f4(0x1df))/0x3*(-parseInt(_0x45d2f4(0x1c4))/0x4)+parseInt(_0x45d2f4(0x1dd))/0x5+-parseInt(_0x45d2f4(0x1bf))/0x6+-parseInt(_0x45d2f4(0x1c6))/0x7+-parseInt(_0x45d2f4(0x1d7))/0x8+-parseInt(_0x45d2f4(0x1f5))/0x9*(-parseInt(_0x45d2f4(0x1db))/0xa);if(_0x16f1c5===_0xd60b3f)break;else _0x125692['push'](_0x125692['shift']());}catch(_0x527306){_0x125692['push'](_0x125692['shift']());}}}(a53_0x8dfc,0x88dc4));const path=require(a53_0xd88eb(0x1f4)),url=require('url'),util=require(a53_0xd88eb(0x1da)),{nestedKeyValue,isFalse}=require(a53_0xd88eb(0x1ab)),{debug,getPlatformDetails}=require(a53_0xd88eb(0x1bd)),logger=require(a53_0xd88eb(0x1d0))[a53_0xd88eb(0x1f2)],constants=require('../utils/constants'),BrowserstackCLI=require(a53_0xd88eb(0x1b7)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a53_0xd88eb(0x1d9)),getBrowserFromWSEndpoint=_0x332f20=>{const _0x45cc97=a53_0xd88eb,_0x282f1f={'oLTHl':_0x45cc97(0x1a6),'GKdwn':function(_0x42d858,_0x2044b0){return _0x42d858(_0x2044b0);}};try{const _0x55c575=url[_0x45cc97(0x1bc)](_0x332f20),_0x14169f=new URLSearchParams(_0x55c575[_0x45cc97(0x1cc)]),_0x50c592=Object[_0x45cc97(0x1f9)](_0x14169f[_0x45cc97(0x1a8)]()),_0x293edd=JSON[_0x45cc97(0x1bc)](_0x50c592[_0x45cc97(0x1be)]);if(_0x293edd&&(_0x293edd[_0x45cc97(0x1d6)]||_0x293edd[_0x45cc97(0x1f1)]))return _0x293edd['browser']||_0x293edd[_0x45cc97(0x1f1)];return _0x282f1f[_0x45cc97(0x1e6)];}catch(_0x7585b0){_0x282f1f[_0x45cc97(0x1ef)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x7585b0[_0x45cc97(0x1b9)]());}},getCloudProviderFromWsEndpoint=_0x4af327=>{const _0x537e89=a53_0xd88eb,_0x57911a={};_0x57911a['VVtUP']=_0x537e89(0x1fb),_0x57911a['Gqjly']='unknown_grid';const _0x4766db=_0x57911a;if(_0x4af327['includes'](constants['BSTACK_URL'])||_0x4af327[_0x537e89(0x1b0)](constants['BSTACK_ATS_URL']))return _0x4766db[_0x537e89(0x1e2)];return _0x4766db[_0x537e89(0x1ce)];},a53_0x21c92c={};a53_0x21c92c[a53_0xd88eb(0x1eb)]=undefined,a53_0x21c92c['bsSessionId']=undefined,a53_0x21c92c[a53_0xd88eb(0x1d6)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1c5)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1d4)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1e3)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1b1)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1ad)]={};class PuppeteerSessionDetails{static [a53_0xd88eb(0x1b2)]=a53_0x21c92c;constructor(){const _0x5c3173=a53_0xd88eb,_0x2036d7={};_0x2036d7[_0x5c3173(0x1af)]=_0x5c3173(0x1e0);const _0x4fefc8=_0x2036d7;throw new Error(_0x4fefc8['yqkYu']);}static [a53_0xd88eb(0x1e8)]=null;static async[a53_0xd88eb(0x1e5)](_0x3dc66f,_0x27739a){const _0x181d9f=a53_0xd88eb,_0x258e57={'mBruz':_0x181d9f(0x1a6),'ItnsD':function(_0x339201,_0x29acf2){return _0x339201===_0x29acf2;},'PbiWu':_0x181d9f(0x1cf),'FofMe':'local_grid','tyNtH':function(_0x408366,_0x28655c){return _0x408366(_0x28655c);},'QetNr':_0x181d9f(0x1fb),'pZIhR':'turboscale','WGNWw':_0x181d9f(0x1de),'ScsdM':function(_0x17d3a0){return _0x17d3a0();},'lYpSz':function(_0x7d5ab9){return _0x7d5ab9();}};try{let _0x17f119=_0x258e57[_0x181d9f(0x1aa)],_0x280509=null;_0x3dc66f&&_0x258e57[_0x181d9f(0x1b6)](typeof _0x3dc66f[_0x181d9f(0x1d2)],_0x258e57['PbiWu'])&&(_0x280509=await _0x3dc66f[_0x181d9f(0x1d2)]());let _0x1f81f4=null,_0x26a8e3=null,_0xeb5056=null,_0x4a2d13=_0x258e57[_0x181d9f(0x1a9)];if(_0x27739a){_0x4a2d13=_0x258e57[_0x181d9f(0x1ed)](getCloudProviderFromWsEndpoint,_0x27739a);if(_0x258e57[_0x181d9f(0x1b6)](_0x4a2d13,_0x258e57['QetNr']))_0xeb5056=constants[_0x181d9f(0x1f0)]?constants[_0x181d9f(0x1f0)][_0x181d9f(0x1c8)](_0x27739a)?_0x258e57[_0x181d9f(0x1c9)]:_0x258e57[_0x181d9f(0x1c1)]:_0x258e57[_0x181d9f(0x1c1)],_0x17f119=_0x258e57[_0x181d9f(0x1ed)](getBrowserFromWSEndpoint,_0x27739a)||_0x17f119,_0x1f81f4=this[_0x181d9f(0x1b2)][_0x181d9f(0x1d4)],_0x26a8e3=this['currentSessionDetails'][_0x181d9f(0x1e3)];else{const _0x2d6663=await _0x258e57[_0x181d9f(0x1e1)](getPlatformDetails);_0x1f81f4=_0x2d6663['platformName'],_0x26a8e3=_0x2d6663[_0x181d9f(0x1ea)];}}else{const _0x452b02=await _0x258e57[_0x181d9f(0x1e9)](getPlatformDetails);_0x1f81f4=_0x452b02[_0x181d9f(0x1c0)],_0x26a8e3=_0x452b02['platformVersion'];}const _0x205310={};_0x205310[_0x181d9f(0x1d6)]=_0x17f119,_0x205310[_0x181d9f(0x1c5)]=_0x280509,_0x205310[_0x181d9f(0x1ad)]={},_0x205310[_0x181d9f(0x1d4)]=_0x1f81f4,_0x205310[_0x181d9f(0x1e3)]=_0x26a8e3,_0x205310[_0x181d9f(0x1b1)]=_0xeb5056;const _0x4a579a=_0x205310,_0x47ff1e={};_0x47ff1e['cloudProvider']=_0x4a2d13,this[_0x181d9f(0x1b2)]=Object['assign']({},this[_0x181d9f(0x1b2)],_0x47ff1e,_0x4a579a);}catch(_0x3ddd98){_0x258e57[_0x181d9f(0x1ed)](debug,_0x181d9f(0x1ca)+util[_0x181d9f(0x1c3)](_0x3ddd98)),this[_0x181d9f(0x1e8)]=_0x3ddd98[_0x181d9f(0x1b9)]();}}static[a53_0xd88eb(0x1cb)](_0x13b4a8){const _0x2e3aef=a53_0xd88eb,_0x4c39c5={'hKeBe':function(_0x5ddad6,_0x386586){return _0x5ddad6===_0x386586;},'sjNEp':_0x2e3aef(0x1fc),'wDIOQ':function(_0x5953b9,_0x45d986){return _0x5953b9(_0x45d986);},'haIBT':function(_0x2bce55,_0xf80825){return _0x2bce55===_0xf80825;},'mdyuU':_0x2e3aef(0x1ec)},_0xc27f35=this;try{const _0x31aeaf=_0x13b4a8['_connection']||_0x13b4a8[_0x2e3aef(0x1b8)];if(!_0x31aeaf||_0x31aeaf['_bstackPatched'])return;const _0x3d5ef1=_0x31aeaf[_0x2e3aef(0x1d3)];_0x31aeaf[_0x2e3aef(0x1d3)]=function(_0x3b5937){const _0x14d07c=_0x2e3aef;try{const _0x5439ef=_0x4c39c5[_0x14d07c(0x1ee)](typeof _0x3b5937,_0x4c39c5[_0x14d07c(0x1dc)])?JSON[_0x14d07c(0x1bc)](_0x3b5937):_0x3b5937,_0x568f4f=_0x5439ef?.[_0x14d07c(0x1ac)]||_0x5439ef?.[_0x14d07c(0x1d1)]||_0x5439ef?.['params']?.[_0x14d07c(0x1d1)]||_0x5439ef?.['params']?.[_0x14d07c(0x1ac)]||_0x5439ef?.[_0x14d07c(0x1f3)]?.[_0x14d07c(0x1d1)]||_0x5439ef?.[_0x14d07c(0x1f3)]?.[_0x14d07c(0x1ac)];if(_0x568f4f){if(BrowserstackCLI['getInstance']()[_0x14d07c(0x1b4)]()){const _0x797deb={};_0x797deb['message']=_0x5439ef,BrowserstackCLI[_0x14d07c(0x1b5)]()['getAutomationFramework']()[_0x14d07c(0x1ba)](AutomationFrameworkState[_0x14d07c(0x1c2)],HookState['POST'],_0x797deb);}else{const _0x53916f=_0x568f4f['sessionId'],_0x1b6dd9=_0x568f4f[_0x14d07c(0x1bb)];_0x1b6dd9&&(_0x4c39c5[_0x14d07c(0x1d5)](debug,_0x14d07c(0x1f8)+JSON[_0x14d07c(0x1c7)](_0x1b6dd9)),_0xc27f35['currentSessionDetails'][_0x14d07c(0x1d4)]=_0x1b6dd9[_0x14d07c(0x1c0)],_0xc27f35[_0x14d07c(0x1b2)][_0x14d07c(0x1e3)]=_0x1b6dd9[_0x14d07c(0x1ea)]),_0x53916f&&(_0x4c39c5[_0x14d07c(0x1d5)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x53916f),_0xc27f35['currentSessionDetails'][_0x14d07c(0x1fa)]=_0x53916f);}_0x4c39c5[_0x14d07c(0x1e7)](typeof _0x3b5937,_0x4c39c5[_0x14d07c(0x1dc)])&&(delete _0x5439ef['bStackParams'],delete _0x5439ef[_0x14d07c(0x1d1)],_0x5439ef[_0x14d07c(0x1a7)]&&(delete _0x5439ef[_0x14d07c(0x1a7)][_0x14d07c(0x1d1)],delete _0x5439ef[_0x14d07c(0x1a7)]['bStackParams']),_0x5439ef['result']&&(delete _0x5439ef[_0x14d07c(0x1f3)]['bsParams'],delete _0x5439ef[_0x14d07c(0x1f3)][_0x14d07c(0x1ac)]));}}catch(_0x58865a){_0x4c39c5[_0x14d07c(0x1d5)](debug,_0x14d07c(0x1f7)+_0x58865a[_0x14d07c(0x1d8)]);}return _0x3d5ef1?.['apply'](this,arguments);},_0x31aeaf['_bstackPatched']=!![],logger[_0x2e3aef(0x1e4)](_0x4c39c5[_0x2e3aef(0x1a5)]);}catch(_0x421cd1){_0x4c39c5['wDIOQ'](debug,_0x2e3aef(0x1b3)+util[_0x2e3aef(0x1c3)](_0x421cd1)),_0xc27f35[_0x2e3aef(0x1e8)]=_0x421cd1[_0x2e3aef(0x1b9)]();}}static[a53_0xd88eb(0x1cd)](){const _0x4507d0=a53_0xd88eb;return this[_0x4507d0(0x1b2)];}}function a53_0xdb4f(_0x2eb2c7,_0x4c1a07){const _0x8dfc08=a53_0x8dfc();return a53_0xdb4f=function(_0xdb4f4f,_0x163e36){_0xdb4f4f=_0xdb4f4f-0x1a4;let _0x180f39=_0x8dfc08[_0xdb4f4f];return _0x180f39;},a53_0xdb4f(_0x2eb2c7,_0x4c1a07);}module[a53_0xd88eb(0x1a4)]=PuppeteerSessionDetails;function a53_0x8dfc(){const _0x59282d=['mdyuU','chrome','params','entries','FofMe','mBruz','../../helpers/helper','bStackParams','capabilities','56172fjRyEV','yqkYu','includes','product','currentSessionDetails','Error\x20in\x20patchConnection:\x20','isRunning','getInstance','ItnsD','../v2/browserstackCLI','connection','toString','trackEvent','platformDetails','parse','../../helpers/test-observability/utils','caps','636006IpRXuq','platformName','WGNWw','PLAYWRIGHT_DISPATCH','format','12ljUTMr','browser_version','7431914bkkBIZ','stringify','test','pZIhR','Error\x20in\x20setupBrowserDetails:\x20','patchConnection','query','getDetails','Gqjly','function','../../helpers/logger','bsParams','version','onmessage','platform','wDIOQ','browser','8542480WGQygy','message','../v2/state/hookState.js','util','110IYYzSU','sjNEp','3286700anDgxT','automate','653694ezLGgr','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','ScsdM','VVtUP','platform_version','debug','setupBrowserDetails','oLTHl','haIBT','sessionError','lYpSz','platformVersion','cloudProvider','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','tyNtH','hKeBe','GKdwn','ATS_WSS_URL_REGEX','browserName','winstonLogger','result','path','1605699BQiobQ','17hUJYsq','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','fromEntries','bsSessionId','browserstack','string','exports'];a53_0x8dfc=function(){return _0x59282d;};return a53_0x8dfc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a54_0x446884=a54_0x556d;(function(_0x1781c3,_0x14138a){const _0x1e200b=a54_0x556d,_0xa81fe6=_0x1781c3();while(!![]){try{const _0x4e8a29=-parseInt(_0x1e200b(0x111))/0x1*(parseInt(_0x1e200b(0x11a))/0x2)+parseInt(_0x1e200b(0x124))/0x3*(-parseInt(_0x1e200b(0x10a))/0x4)+parseInt(_0x1e200b(0x112))/0x5+-parseInt(_0x1e200b(0x128))/0x6*(-parseInt(_0x1e200b(0x116))/0x7)+parseInt(_0x1e200b(0x107))/0x8+parseInt(_0x1e200b(0x123))/0x9*(-parseInt(_0x1e200b(0x127))/0xa)+parseInt(_0x1e200b(0x110))/0xb*(parseInt(_0x1e200b(0x121))/0xc);if(_0x4e8a29===_0x14138a)break;else _0xa81fe6['push'](_0xa81fe6['shift']());}catch(_0x48cda9){_0xa81fe6['push'](_0xa81fe6['shift']());}}}(a54_0x1d36,0x1d0c5));function a54_0x1d36(){const _0x54fc29=['[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','../utils/constants','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','catch','workerInfo','264xaILNt','../../helpers/logger','54NiuhaN','21xTkehh','debug','initializePuppeteerPatching','247090KVKYzf','60aqpCat','getInstance','../../helpers/testhub/utils','__skipSessionName','__workerDetails','../../helpers/setKeepAlive','../utils/puppeteer-patcher','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','winstonLogger','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','__skipSessionStatus','env','o11ySyncDone','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','util','../v2/browserstackCLI','pwPage','921560YeqACA','getPackageVersion','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','27932OLuOgd','puppeteer-core','setFrameworkDetail','isPageFixture','jestConfig','format','38302asFcbk','939jGgKhs','627865fYVaOd','bootstrap','currentTest','BROWSERSTACK_PUPPETEER','1750qxGwYv','../v2/cliUtils','isCliEnabled','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','8OPjyDB','../../helpers/helper'];a54_0x1d36=function(){return _0x54fc29;};return a54_0x1d36();}const {isTrue,isBrowserstackInfra}=require(a54_0x446884(0x11b)),setKeepAlive=require(a54_0x446884(0xfb)),util=require(a54_0x446884(0x104)),logger=require(a54_0x446884(0x122))[a54_0x446884(0xfe)],{shouldProcessEventForTesthub}=require(a54_0x446884(0x12a)),{addRequestSpy}=require('../../helpers/test-observability/utils'),a54_0x2f5ba7={};a54_0x2f5ba7[a54_0x446884(0x120)]=undefined,a54_0x2f5ba7[a54_0x446884(0x114)]={},a54_0x2f5ba7[a54_0x446884(0x102)]=![],a54_0x2f5ba7[a54_0x446884(0x106)]=null,a54_0x2f5ba7[a54_0x446884(0x10d)]=![],a54_0x2f5ba7[a54_0x446884(0x114)]['id']=undefined,a54_0x2f5ba7[a54_0x446884(0x114)]['testInfo']=undefined;function a54_0x556d(_0x467e52,_0x44054d){const _0x1d3636=a54_0x1d36();return a54_0x556d=function(_0x556d4f,_0x9ef73){_0x556d4f=_0x556d4f-0xfa;let _0x22d018=_0x1d3636[_0x556d4f];return _0x22d018;},a54_0x556d(_0x467e52,_0x44054d);}const workerDetails=a54_0x2f5ba7;global[a54_0x446884(0xfa)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a54_0x446884(0x10e)])try{isBrowserstackInfra()?(global[a54_0x446884(0x12b)]=isTrue(global[a54_0x446884(0x10e)]?.['skipSessionName']),global[a54_0x446884(0x100)]=isTrue(global[a54_0x446884(0x10e)]?.['skipSessionStatus'])):(global[a54_0x446884(0x12b)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a54_0x446884(0x11b)),puppeteerVersion=helper[a54_0x446884(0x108)]('puppeteer')||helper[a54_0x446884(0x108)](a54_0x446884(0x10b));if(puppeteerVersion)try{logger[a54_0x446884(0x125)](a54_0x446884(0x119)),puppeteerPatcher=require(a54_0x446884(0xfc)),puppeteerPatcher[a54_0x446884(0x126)](global['jestConfig']),logger['debug'](a54_0x446884(0x103));}catch(a54_0x42e51d){logger['debug'](a54_0x446884(0xff)+util[a54_0x446884(0x10f)](a54_0x42e51d));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a54_0x446884(0x105)),CLIUtils=require(a54_0x446884(0x117)),{FRAMEWORKS}=require(a54_0x446884(0x11d));BrowserstackCLI[a54_0x446884(0x129)]()[a54_0x446884(0x118)]()&&(logger[a54_0x446884(0x125)](a54_0x446884(0x11c)),process[a54_0x446884(0x101)][a54_0x446884(0x115)]='true',CLIUtils[a54_0x446884(0x10c)](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']),BrowserstackCLI[a54_0x446884(0x129)]()[a54_0x446884(0x113)]()[a54_0x446884(0x11f)](_0x2ace44=>{const _0x36f0c4=a54_0x446884;logger[_0x36f0c4(0x125)](_0x36f0c4(0xfd)+util['format'](_0x2ace44));}));}catch(a54_0x548e3b){logger[a54_0x446884(0x125)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a54_0x446884(0x10f)](a54_0x548e3b));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a54_0xf09787){logger[a54_0x446884(0x125)](a54_0x446884(0x11e)+util[a54_0x446884(0x10f)](a54_0xf09787));}logger[a54_0x446884(0x125)](a54_0x446884(0x109));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a51_0x4a87c8=a51_0x2e92;(function(_0x2eaf47,_0x27d47e){const _0x5afeb9=a51_0x2e92,_0x5300cc=_0x2eaf47();while(!![]){try{const _0x31c695=-parseInt(_0x5afeb9(0x112))/0x1*(parseInt(_0x5afeb9(0xea))/0x2)+-parseInt(_0x5afeb9(0xc7))/0x3*(parseInt(_0x5afeb9(0x135))/0x4)+parseInt(_0x5afeb9(0x13a))/0x5*(parseInt(_0x5afeb9(0x145))/0x6)+parseInt(_0x5afeb9(0xbc))/0x7+parseInt(_0x5afeb9(0xda))/0x8*(parseInt(_0x5afeb9(0x134))/0x9)+-parseInt(_0x5afeb9(0xfc))/0xa+parseInt(_0x5afeb9(0xe1))/0xb;if(_0x31c695===_0x27d47e)break;else _0x5300cc['push'](_0x5300cc['shift']());}catch(_0xe92a94){_0x5300cc['push'](_0x5300cc['shift']());}}}(a51_0x48ea,0x2e1d3));function a51_0x2e92(_0x2c058d,_0x1dc975){const _0x48ea2a=a51_0x48ea();return a51_0x2e92=function(_0x2e92dc,_0x416a53){_0x2e92dc=_0x2e92dc-0xa9;let _0xcf84e5=_0x48ea2a[_0x2e92dc];return _0xcf84e5;},a51_0x2e92(_0x2c058d,_0x1dc975);}const fs=require('fs'),path=require(a51_0x4a87c8(0xe2)),util=require('util'),spawn=require(a51_0x4a87c8(0xb8))['spawn'],{requireModule}=require('../helpers/helper'),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a51_0x4a87c8(0x108))[a51_0x4a87c8(0xc5)],helper=require('../helpers/helper'),utilities=require(a51_0x4a87c8(0xff)),{default:BrowserStackSetup}=require(a51_0x4a87c8(0x12a)),{FRAMEWORKS}=require(a51_0x4a87c8(0xe4)),runIntegrations=require(a51_0x4a87c8(0x110)),yargs=require(a51_0x4a87c8(0x125)),Constants=require(a51_0x4a87c8(0xe8)),BrowserstackCLI=require(a51_0x4a87c8(0x144)),logger=require(a51_0x4a87c8(0x139))[a51_0x4a87c8(0x11e)],origArgs=Object[a51_0x4a87c8(0x106)]([],process[a51_0x4a87c8(0x13c)]),captureError=async(_0xaced13,_0x30f7f4,_0x1487c5,_0xe9f5=null,_0x498e3b=![])=>{const _0x2a2fd0=a51_0x4a87c8,_0x517e4f={'geMKI':function(_0x3f5237,_0x3a05c7,_0x3f8b89,_0x57d841){return _0x3f5237(_0x3a05c7,_0x3f8b89,_0x57d841);},'YrQru':_0x2a2fd0(0x118)};try{logger[_0x2a2fd0(0xaa)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x2a2fd0(0xc4)]('\x20')),await _0x517e4f[_0x2a2fd0(0x124)](_0xaced13,_0x30f7f4,_0xe9f5,_0x1487c5);}catch(_0x468908){process[_0x2a2fd0(0xae)]=0x1,logger['error'](util['format'](_0x468908));const _0xc91bed={'globalException':util['format']('%j',_0x468908)};PerformanceTester[_0x2a2fd0(0x11a)](PerformanceEvents['SDK_SETUP'],![],util[_0x2a2fd0(0xf4)](_0x468908));if(helper['isUndefined'](global[_0x2a2fd0(0xf2)])&&helper[_0x2a2fd0(0xe0)](global[_0x2a2fd0(0xb7)]))return;try{utilities[_0x2a2fd0(0xd3)](_0x517e4f['YrQru'],_0xc91bed,global[_0x2a2fd0(0xf2)],global[_0x2a2fd0(0xb7)]);}catch(_0x119761){logger[_0x2a2fd0(0xba)](_0x2a2fd0(0xeb)+_0x119761[_0x2a2fd0(0xed)]);}try{await helper[_0x2a2fd0(0xce)](global['config']);}catch(_0xa65e65){logger['debug'](_0x2a2fd0(0xe6)+_0xa65e65[_0x2a2fd0(0xed)]);}PerformanceTester[_0x2a2fd0(0x11a)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x468908));}finally{!_0x498e3b&&await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x2a2fd0(0xd5)](PerformanceEvents[_0x2a2fd0(0x119)]);}};function a51_0x48ea(){const _0x49e07f=['unlinkSync','getPwChannelLogPath','.browserstack','assign','--no-package','../helpers/performance/constants','MOCHA','NIGHTWATCH','vuHGB','--package','cucumber-js','playwright','run','./integrations/command','load\x20[subcommand]','38mJraYI','suqoF','some','env','disableAutoCaptureLogs','tkzrE','SDKTestSuccessful','SDK_CLEANUP','end','uMlwZ','WNiww','VERSION','winstonLogger','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','PLAYWRIGHT','node','ZayPD','ats','geMKI','yargs','INFO','./nightwatch/command','VANILLA','CODECEPTJS','../helpers/BrowserStackSetup','SDK_SETUP','error','../../ats/src/index','FtLyo','filter','INTEGRATIONS','wxfqk','mocha/lib/cli/commands.js','EcTYy','162vsmLrI','22408TQpqjA','eyJhV','DBTuQ','pw:*','../helpers/logger','10RYJzOQ','./playwright/command','argv','Show\x20help','DEBUG','CxXOm','DMMnX','DEBUG_FILE','bZpDZ','--no-opts','./v2/browserstackCLI','168108EzrSQm','trim','ZqPPV','dThKc','slice','message','info','pw:channel','wrap','includes','exitCode','VZFUE','handler','dREmQ','JEST','./load/index','tDmFK','zSgFC','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','framework','child_process','existsSync','debug','version','1779036aALPYS','cUjFn','dot-notation','command','push','QVYJS','ynJeH','-pw:channel','join','EVENTS','BROWSERSTACK_CONFIG_FILE_PATH','3VXCcyJ','setTestObservabilityDisable','ZOJUF','setBrowserStackAutomationDisable','OYLTj','Runs\x20the\x20binary\x20with\x20load\x20command','demandCommand','sendLogs','HST','HFrAb','jest','FQzZU','fireFunnelTestEvent','boolean','start','./cucumber-js/command','option','bUDho','yPNhs','150896QbJclN','--opts','nightwatch','find','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','KQyOb','isUndefined','471559mToblK','path','split','../helpers/test-observability/constants','.local-not-set.json','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','Kmazs','./utils/constants','Deczx','11858JnihYj','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','CUCUMBER','stack','pw:channel\x20auto-capture\x20seed\x20failed:\x20','showHelpOnFail','mocha','uAGGm','config','LvvoP','format','mocha/lib/cli/run.js','findAndReplace','./mocha/command','help','parserConfiguration','codeceptjs','./codeceptjs/command','2727820nFrzNe','strict','-pw:*','../helpers/utilities','map','homedir','./vanilla-js/command'];a51_0x48ea=function(){return _0x49e07f;};return a51_0x48ea();}try{const browserstackFolderPath=path[a51_0x4a87c8(0xc4)](helper[a51_0x4a87c8(0x101)](),a51_0x4a87c8(0x105));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a51_0x4a87c8(0xc4)](browserstackFolderPath,a51_0x4a87c8(0xe5));fs[a51_0x4a87c8(0xb9)](filePath)&&fs[a51_0x4a87c8(0x103)](filePath);}}catch(a51_0x701fd8){logger[a51_0x4a87c8(0xba)](a51_0x4a87c8(0xde)+a51_0x701fd8[a51_0x4a87c8(0xa9)]);}process['argv']['includes'](a51_0x4a87c8(0xf0))&&(!process[a51_0x4a87c8(0x13c)][a51_0x4a87c8(0xad)](a51_0x4a87c8(0xdb))&&process[a51_0x4a87c8(0x13c)][a51_0x4a87c8(0xc0)](a51_0x4a87c8(0x143)),!process[a51_0x4a87c8(0x13c)][a51_0x4a87c8(0xdd)](_0x5b7c8b=>_0x5b7c8b[a51_0x4a87c8(0xad)]('--config'))&&process[a51_0x4a87c8(0x13c)][a51_0x4a87c8(0xc0)]('--no-config'),!process['argv'][a51_0x4a87c8(0xad)](a51_0x4a87c8(0x10c))&&process['argv'][a51_0x4a87c8(0xc0)](a51_0x4a87c8(0x107)),helper[a51_0x4a87c8(0xf6)](process[a51_0x4a87c8(0x13c)],'--require','--mochaRequire'));PerformanceTester[a51_0x4a87c8(0xd5)](PerformanceEvents[a51_0x4a87c8(0x12b)]);const a51_0x4657a6={};a51_0x4657a6[a51_0x4a87c8(0xbe)]=![];const argv=yargs[a51_0x4a87c8(0xf9)](a51_0x4657a6)['usage']('usage:\x20$0\x20<command>\x20[args]')['alias']('v',a51_0x4a87c8(0xbb))['describe']('v')['alias']('h',a51_0x4a87c8(0xf8))['help'](a51_0x4a87c8(0xf8))[a51_0x4a87c8(0xef)](!![],Constants[a51_0x4a87c8(0x11d)]['HELP'])[a51_0x4a87c8(0xbf)](a51_0x4a87c8(0xd1),Constants[a51_0x4a87c8(0xb2)]['INFO'],function(_0x3137b3){const _0x3abec6=a51_0x4a87c8,_0x3e7423={'FtLyo':_0x3abec6(0xd1),'CxXOm':function(_0xeb8d0c,_0x896e41,_0x2fb34c,_0x581375,_0x56c549,_0x51838b){return _0xeb8d0c(_0x896e41,_0x2fb34c,_0x581375,_0x56c549,_0x51838b);},'eyJhV':function(_0x4b3d42,_0x28ed6c){return _0x4b3d42(_0x28ed6c);},'DypNX':'./jest/command'},_0x214519=process[_0x3abec6(0x13c)][_0x3abec6(0x149)](0x2);helper[_0x3abec6(0xc8)](),helper['setBrowserStackAutomationDisable'](),_0x3137b3[_0x3abec6(0xfd)](![]);const _0x147c66=new BrowserStackSetup(_0x3137b3['argv'],_0x3e7423[_0x3abec6(0x12e)]);return _0x3e7423[_0x3abec6(0x13f)](captureError,_0x3e7423[_0x3abec6(0x136)](require,_0x3e7423['DypNX']),_0x3137b3[_0x3abec6(0x13c)],_0x147c66,_0x214519,!![]);})[a51_0x4a87c8(0xbf)](a51_0x4a87c8(0xf0),Constants[a51_0x4a87c8(0x109)][a51_0x4a87c8(0x126)],_0x3eb77d=>{const _0x4dcacc=a51_0x4a87c8,_0x440125={'TzrIH':function(_0x5664ea,_0xaaf430,_0x29d8ac,_0x59e999){return _0x5664ea(_0xaaf430,_0x29d8ac,_0x59e999);},'FGWYw':function(_0x364f52,_0x156169){return _0x364f52(_0x156169);},'tkzrE':_0x4dcacc(0xf7),'bUDho':'mocha','IEpPq':'Parsing\x20command\x20line\x20arguments','dREmQ':function(_0x3236fb,_0x1dbd2e,_0x257cbd){return _0x3236fb(_0x1dbd2e,_0x257cbd);},'cUjFn':_0x4dcacc(0xf5),'uMlwZ':function(_0xe554e0,_0x553bfd,_0x590002){return _0xe554e0(_0x553bfd,_0x590002);},'LvvoP':_0x4dcacc(0x132),'DBTuQ':function(_0x4e1d77,_0x584f0c,_0x1df998){return _0x4e1d77(_0x584f0c,_0x1df998);},'DMMnX':'mocha/lib/cli/cli.js','JAbpH':function(_0x60caaf){return _0x60caaf();}};process[_0x4dcacc(0x13c)]=process['argv'][_0x4dcacc(0x149)](0x1),helper[_0x4dcacc(0xc8)](),helper[_0x4dcacc(0xca)]();const _0x1dc1f8=new BrowserStackSetup(_0x3eb77d['argv'],_0x440125[_0x4dcacc(0xd8)]);logger[_0x4dcacc(0xba)](_0x440125['IEpPq']);const _0x2406f4=_0x440125[_0x4dcacc(0xb1)](requireModule,_0x440125[_0x4dcacc(0xbd)],_0x440125[_0x4dcacc(0xd8)]),_0x1ccd8e=_0x440125[_0x4dcacc(0x11b)](requireModule,_0x440125[_0x4dcacc(0xf3)],_0x440125[_0x4dcacc(0xd8)]);delete _0x2406f4[_0x4dcacc(0xb0)],_0x2406f4['handler']=function(_0x3e4cda){const _0x34bb38=_0x4dcacc;return _0x440125['TzrIH'](captureError,_0x440125['FGWYw'](require,_0x440125[_0x34bb38(0x117)]),_0x3e4cda,_0x1dc1f8);},_0x1ccd8e[_0x4dcacc(0x10f)]=_0x2406f4;const {main:_0x277496}=_0x440125[_0x4dcacc(0x137)](requireModule,_0x440125[_0x4dcacc(0x140)],_0x440125[_0x4dcacc(0xd8)]);_0x440125['JAbpH'](_0x277496);})[a51_0x4a87c8(0xbf)](a51_0x4a87c8(0x10d),Constants[a51_0x4a87c8(0xec)][a51_0x4a87c8(0x126)],function(_0x36d2b4){const _0x42f758=a51_0x4a87c8,_0x1d94e4={'dThKc':_0x42f758(0x10d),'HFrAb':function(_0x2f882c,_0x2ae821,_0x19532b,_0x512806,_0x4f8148,_0x20da40){return _0x2f882c(_0x2ae821,_0x19532b,_0x512806,_0x4f8148,_0x20da40);},'EcTYy':function(_0x54023b,_0x1b09cd){return _0x54023b(_0x1b09cd);},'suqoF':_0x42f758(0xd6)},_0x1cee97=process[_0x42f758(0x13c)][_0x42f758(0x149)](0x2),_0x47ca92=new BrowserStackSetup(_0x36d2b4[_0x42f758(0x13c)],_0x1d94e4[_0x42f758(0x148)]);return _0x1d94e4[_0x42f758(0xd0)](captureError,_0x1d94e4[_0x42f758(0x133)](require,_0x1d94e4[_0x42f758(0x113)]),_0x36d2b4[_0x42f758(0x13c)],_0x47ca92,_0x1cee97,!![]);})['command'](a51_0x4a87c8(0x121),Constants[a51_0x4a87c8(0x128)]['INFO'],function(_0xd95bdf){const _0x6b8d8=a51_0x4a87c8,_0x458014={'Kmazs':'vanilla','CJgmP':function(_0x268c20,_0x1c1a0d,_0x126f4b,_0x197e61,_0x4eb2b2){return _0x268c20(_0x1c1a0d,_0x126f4b,_0x197e61,_0x4eb2b2);},'vHivN':function(_0x551850,_0x3accbf){return _0x551850(_0x3accbf);},'FQzZU':_0x6b8d8(0x102)},_0x6866fb=process[_0x6b8d8(0x13c)]['slice'](0x2),_0xfefd05=new BrowserStackSetup(_0xd95bdf['argv'],_0x458014[_0x6b8d8(0xe7)]);return _0x458014['CJgmP'](captureError,_0x458014['vHivN'](require,_0x458014[_0x6b8d8(0xd2)]),_0xd95bdf[_0x6b8d8(0x13c)],_0xfefd05,_0x6866fb);})[a51_0x4a87c8(0xbf)](a51_0x4a87c8(0xdc),Constants[a51_0x4a87c8(0x10a)]['INFO'],function(_0x1bf35f){const _0x180c0d=a51_0x4a87c8,_0x227fb2={'WNiww':function(_0x3500a1,_0x49c684,_0x5129b3,_0x2bebc7,_0x5cca80){return _0x3500a1(_0x49c684,_0x5129b3,_0x2bebc7,_0x5cca80);},'mNDgV':function(_0x5a2f97,_0x343bc5){return _0x5a2f97(_0x343bc5);},'RqWQk':_0x180c0d(0x127)},_0x3cef4b=process[_0x180c0d(0x13c)]['slice'](0x2),_0x36b351=new BrowserStackSetup(_0x1bf35f['argv']);return _0x227fb2[_0x180c0d(0x11c)](captureError,_0x227fb2['mNDgV'](require,_0x227fb2['RqWQk']),_0x1bf35f[_0x180c0d(0x13c)],_0x36b351,_0x3cef4b);})[a51_0x4a87c8(0xbf)](a51_0x4a87c8(0xfa),Constants[a51_0x4a87c8(0x129)][a51_0x4a87c8(0x126)],function(_0x1edd12){const _0x1c8ba6=a51_0x4a87c8,_0x525eae={'zSgFC':_0x1c8ba6(0xfa),'VZFUE':function(_0xe84dad,_0xa8cf8e,_0x4ac9ff,_0x2b986a,_0x402d5a){return _0xe84dad(_0xa8cf8e,_0x4ac9ff,_0x2b986a,_0x402d5a);},'VvcAu':function(_0x4a0f4c,_0x108c1a){return _0x4a0f4c(_0x108c1a);},'yPNhs':_0x1c8ba6(0xfb)},_0x36ef3b=process['argv'][_0x1c8ba6(0x149)](0x2),_0x5434f6=new BrowserStackSetup(_0x1edd12[_0x1c8ba6(0x13c)],_0x525eae[_0x1c8ba6(0xb5)]);return _0x525eae[_0x1c8ba6(0xaf)](captureError,_0x525eae['VvcAu'](require,_0x525eae[_0x1c8ba6(0xd9)]),_0x1edd12['argv'],_0x5434f6,_0x36ef3b);})[a51_0x4a87c8(0xbf)](a51_0x4a87c8(0x123),Constants[a51_0x4a87c8(0xcf)][a51_0x4a87c8(0x126)],function(_0x11f340){const _0xb3ae8a=a51_0x4a87c8,_0x127e65={'Deczx':function(_0x4f15df,_0x2d482a,_0x25e3a6){return _0x4f15df(_0x2d482a,_0x25e3a6);},'ZqPPV':function(_0xd7decf,_0x58c825){return _0xd7decf(_0x58c825);},'KQyOb':_0xb3ae8a(0x12d)},_0x27e74f=process[_0xb3ae8a(0x13c)][_0xb3ae8a(0x149)](0x2);return _0x127e65[_0xb3ae8a(0xe9)](captureError,_0x127e65[_0xb3ae8a(0x147)](require,_0x127e65[_0xb3ae8a(0xdf)]),_0x11f340);})[a51_0x4a87c8(0xbf)]('integrations',Constants[a51_0x4a87c8(0x130)]['INFO'],function(_0x2ef396){const _0x2a7ae5=a51_0x4a87c8,_0x25f85b={'OYLTj':function(_0x3fa40a,_0x29b853){return _0x3fa40a(_0x29b853);}};return _0x25f85b[_0x2a7ae5(0xcb)](runIntegrations,_0x2ef396);})['command'](a51_0x4a87c8(0x10e),Constants[a51_0x4a87c8(0x120)][a51_0x4a87c8(0x126)],function(_0x53368e){const _0x404085=a51_0x4a87c8,_0x56c0e5={'ZOJUF':_0x404085(0xab),'vuHGB':function(_0x1f4664,_0x34d3f1){return _0x1f4664&&_0x34d3f1;},'tDmFK':function(_0x16f43e,_0x42b4a7,_0x2544c6,_0x28d0d6,_0x3ee565,_0x1e1269){return _0x16f43e(_0x42b4a7,_0x2544c6,_0x28d0d6,_0x3ee565,_0x1e1269);},'wxfqk':function(_0x57f934,_0x27a6d1){return _0x57f934(_0x27a6d1);},'QVYJS':_0x404085(0x13b)},_0x1c9c9d=process[_0x404085(0x13c)][_0x404085(0x149)](0x2);helper['getConfigPath'](process['argv'])&&(process[_0x404085(0x115)][_0x404085(0xc6)]=helper['getConfigPath'](process[_0x404085(0x13c)]));helper[_0x404085(0xc8)](),helper['setBrowserStackAutomationDisable']();const _0x398ab3=new BrowserStackSetup(_0x53368e[_0x404085(0x13c)],FRAMEWORKS[_0x404085(0x120)]);try{if(!_0x398ab3[_0x404085(0xf2)]||!_0x398ab3[_0x404085(0xf2)][_0x404085(0x116)]){const _0x1e5734=_0x56c0e5[_0x404085(0xc9)],_0x43f7cb=process[_0x404085(0x115)]['DEBUG']||'',_0x20c02a=_0x43f7cb[_0x404085(0xe3)](',')[_0x404085(0x100)](_0x3908c8=>_0x3908c8[_0x404085(0x146)]())[_0x404085(0x12f)](Boolean),_0x1c4815=_0x20c02a['some'](_0x235341=>_0x235341===_0x404085(0xc3)||_0x235341===_0x404085(0xfe)||_0x235341==='-*'),_0x595804=_0x20c02a[_0x404085(0x114)](_0x546b3a=>_0x546b3a===_0x1e5734||_0x546b3a===_0x404085(0x138)||_0x546b3a==='*');if(_0x56c0e5[_0x404085(0x10b)](!_0x1c4815,!_0x595804)){const _0x3423a9=helper[_0x404085(0x104)]();_0x3423a9&&(process['env'][_0x404085(0x13e)]=_0x43f7cb?_0x43f7cb+','+_0x1e5734:_0x1e5734,!process[_0x404085(0x115)][_0x404085(0x141)]&&(process[_0x404085(0x115)][_0x404085(0x141)]=_0x3423a9));}}}catch(_0x4d33da){logger[_0x404085(0xba)](_0x404085(0xee)+util[_0x404085(0xf4)](_0x4d33da));}return _0x56c0e5[_0x404085(0xb4)](captureError,_0x56c0e5[_0x404085(0x131)](require,_0x56c0e5[_0x404085(0xc1)]),_0x53368e[_0x404085(0x13c)],_0x398ab3,_0x1c9c9d,!![]);})[a51_0x4a87c8(0xbf)](a51_0x4a87c8(0x111),a51_0x4a87c8(0xcc),function(_0x369313){const _0x236b5e=a51_0x4a87c8,_0x541367={};_0x541367[_0x236b5e(0xf1)]=_0x236b5e(0xf8),_0x541367['ynJeH']=_0x236b5e(0xd4),_0x541367['ZayPD']=_0x236b5e(0x13d);const _0x2ddd58=_0x541367;return _0x369313[_0x236b5e(0xf8)](![])[_0x236b5e(0xd7)](_0x2ddd58[_0x236b5e(0xf1)],{'alias':'h','type':_0x2ddd58[_0x236b5e(0xc2)],'describe':_0x2ddd58[_0x236b5e(0x122)]})[_0x236b5e(0xfd)](![])['exitProcess'](![]);},function(_0x1a4970){const _0x14ef79=a51_0x4a87c8,_0x217405={'bZpDZ':function(_0x203934,_0x131b60,_0x3bf4d1){return _0x203934(_0x131b60,_0x3bf4d1);},'sWjsm':function(_0x43d3ed,_0x13735a){return _0x43d3ed(_0x13735a);},'PSQNj':_0x14ef79(0xb3)},_0x269bdf={};return _0x269bdf[_0x14ef79(0x13c)]=_0x1a4970,_0x217405[_0x14ef79(0x142)](captureError,_0x217405['sWjsm'](require,_0x217405['PSQNj']),_0x269bdf);})[a51_0x4a87c8(0xcd)](0x1,a51_0x4a87c8(0xb6))[a51_0x4a87c8(0xac)](null)['argv'];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x4a87c8(0x123)&&console[a51_0x4a87c8(0x12c)](a51_0x4a87c8(0x11f));
|
|
2
|
+
'use strict';const a55_0x52190a=a55_0x4276;(function(_0x4a8e14,_0x5b4db0){const _0x3d27e2=a55_0x4276,_0x13a7c7=_0x4a8e14();while(!![]){try{const _0x287f09=-parseInt(_0x3d27e2(0x15f))/0x1*(parseInt(_0x3d27e2(0x172))/0x2)+-parseInt(_0x3d27e2(0x121))/0x3*(parseInt(_0x3d27e2(0x147))/0x4)+parseInt(_0x3d27e2(0x18c))/0x5+parseInt(_0x3d27e2(0x170))/0x6*(-parseInt(_0x3d27e2(0x177))/0x7)+-parseInt(_0x3d27e2(0x179))/0x8+parseInt(_0x3d27e2(0x190))/0x9+parseInt(_0x3d27e2(0x123))/0xa;if(_0x287f09===_0x5b4db0)break;else _0x13a7c7['push'](_0x13a7c7['shift']());}catch(_0x4eb8e0){_0x13a7c7['push'](_0x13a7c7['shift']());}}}(a55_0x25d4,0x86f01));const fs=require('fs'),path=require('path'),util=require(a55_0x52190a(0x12a)),spawn=require(a55_0x52190a(0x127))['spawn'],{requireModule}=require(a55_0x52190a(0x14b)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a55_0x52190a(0x195))[a55_0x52190a(0x192)],helper=require(a55_0x52190a(0x14b)),utilities=require(a55_0x52190a(0x144)),{default:BrowserStackSetup}=require(a55_0x52190a(0x1a8)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require('./integrations/command'),yargs=require(a55_0x52190a(0x119)),Constants=require(a55_0x52190a(0x13d)),BrowserstackCLI=require(a55_0x52190a(0x193)),{isNewman}=require('./newman/helper'),logger=require('../helpers/logger')[a55_0x52190a(0x156)],origArgs=Object[a55_0x52190a(0x164)]([],process['argv']),captureError=async(_0x2d25a1,_0x2062e6,_0x1bf3a3,_0x342873=null,_0x59199a=![])=>{const _0x13b7dd=a55_0x52190a,_0x39ceb3={'MwoaE':function(_0x12ef7f,_0x5ea0b8,_0x3e5691,_0x499bd6){return _0x12ef7f(_0x5ea0b8,_0x3e5691,_0x499bd6);},'MRBdF':_0x13b7dd(0x130)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x39ceb3[_0x13b7dd(0x122)](_0x2d25a1,_0x2062e6,_0x342873,_0x1bf3a3);}catch(_0x33ff7c){process[_0x13b7dd(0x185)]=0x1,logger[_0x13b7dd(0x1a5)](util[_0x13b7dd(0x134)](_0x33ff7c));const _0x35701b={'globalException':util[_0x13b7dd(0x134)]('%j',_0x33ff7c)};PerformanceTester[_0x13b7dd(0x14d)](PerformanceEvents[_0x13b7dd(0x1ae)],![],util['format'](_0x33ff7c));if(helper[_0x13b7dd(0x1b8)](global[_0x13b7dd(0x131)])&&helper['isUndefined'](global[_0x13b7dd(0x18f)]))return;try{utilities[_0x13b7dd(0x13a)](_0x39ceb3[_0x13b7dd(0x139)],_0x35701b,global[_0x13b7dd(0x131)],global[_0x13b7dd(0x18f)]);}catch(_0x47ace6){logger[_0x13b7dd(0x167)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x47ace6['stack']);}try{await helper[_0x13b7dd(0x173)](global[_0x13b7dd(0x131)]);}catch(_0x44a0bc){logger[_0x13b7dd(0x167)](_0x13b7dd(0x187)+_0x44a0bc[_0x13b7dd(0x159)]);}PerformanceTester[_0x13b7dd(0x14d)](PerformanceEvents[_0x13b7dd(0x1ae)],![],util[_0x13b7dd(0x134)](_0x33ff7c));}finally{!_0x59199a&&await BrowserstackCLI['getInstance']()[_0x13b7dd(0x18a)](),PerformanceTester[_0x13b7dd(0x141)](PerformanceEvents[_0x13b7dd(0x11a)]);}};try{const browserstackFolderPath=path[a55_0x52190a(0x15a)](helper[a55_0x52190a(0x13e)](),a55_0x52190a(0x14a));if(fs[a55_0x52190a(0x118)](browserstackFolderPath)){const filePath=path[a55_0x52190a(0x15a)](browserstackFolderPath,'.local-not-set.json');fs[a55_0x52190a(0x118)](filePath)&&fs[a55_0x52190a(0x1ab)](filePath);}}catch(a55_0x15d53a){logger['debug']('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a55_0x15d53a[a55_0x52190a(0x17d)]);}process[a55_0x52190a(0x15e)][a55_0x52190a(0x132)](a55_0x52190a(0x11d))&&(!process[a55_0x52190a(0x15e)]['includes']('--opts')&&process[a55_0x52190a(0x15e)][a55_0x52190a(0x19f)]('--no-opts'),!process[a55_0x52190a(0x15e)][a55_0x52190a(0x163)](_0xc2153f=>_0xc2153f[a55_0x52190a(0x132)]('--config'))&&process[a55_0x52190a(0x15e)][a55_0x52190a(0x19f)]('--no-config'),!process[a55_0x52190a(0x15e)]['includes']('--package')&&process[a55_0x52190a(0x15e)][a55_0x52190a(0x19f)](a55_0x52190a(0x19b)),helper[a55_0x52190a(0x138)](process[a55_0x52190a(0x15e)],a55_0x52190a(0x1a9),a55_0x52190a(0x191)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a55_0x15dbc1={};function a55_0x25d4(){const _0x4b9653=['OhYDb','end','oFRBz','filter','wrap','showHelpOnFail','HST','./nightwatch/command','version','NIGHTWATCH','winstonLogger','getPwChannelLogPath','AcszQ','stack','join','pkkCC','setBrowserStackAutomationDisable','codeceptjs','argv','563501MTyFai','command','CUCUMBER','OIGxY','find','assign','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','PLAYWRIGHT','debug','-pw:channel','./cucumber-js/command','eaKlQ','PjxMj','pxrvR','pw:channel','CODECEPTJS','EZKYn','1665078hTpxDZ','Gkgpm','2SXFbcc','sendLogs','HzKBh','some','WBuTe','21KIboDw','load\x20[subcommand]','3644064YwqKjS','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','nightwatch','fjtvS','message','run','CRaBt','setTestObservabilityDisable','INTEGRATIONS','usage','TivFv','mocha/lib/cli/commands.js','exitCode','node','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','Runs\x20the\x20binary\x20with\x20load\x20command','vanilla','stop','disableAutoCaptureLogs','4067235kpMayE','exitProcess','mocha/lib/cli/cli.js','framework','1770975zLWYAB','--mochaRequire','EVENTS','./v2/browserstackCLI','./mocha/command','../helpers/performance/constants','cucumber-js','newman','AAama','HELP','ufSiv','--no-package','-pw:*','boolean','./playwright/command','push','DEBUG','TFENV','./newman/command','option','EKbfs','error','vxMXa','pOxpX','../helpers/BrowserStackSetup','--require','xABCS','unlinkSync','./vanilla-js/command','demandCommand','SDK_SETUP','YAhcx','gSBYV','env','xrlvd','INFO','MOCHA','split','describe','playwright','isUndefined','jest','fSUBz','handler','KwJoT','VERSION','existsSync','yargs','SDK_CLEANUP','strict','NEWMAN','mocha','dot-notation','JEST','Parsing\x20command\x20line\x20arguments','3RcIfII','MwoaE','17961200BcgJKn','jdsRO','../../ats/src/index','tixIu','child_process','getConfigPath','help','util','cOAcT','gyxmD','tsOLa','DEBUG_FILE','yibmF','SDKTestSuccessful','config','includes','alias','format','VANILLA','XbluW','WKTZm','findAndReplace','MRBdF','fireFunnelTestEvent','gbZZd','pw:channel\x20auto-capture\x20seed\x20failed:\x20','./utils/constants','homedir','vqrsS','WoIAS','start','slice','LKYEI','../helpers/utilities','pw:*','TCDQi','1608356nlbQrI','Vvpzq','mocha/lib/cli/run.js','.browserstack','../helpers/helper'];a55_0x25d4=function(){return _0x4b9653;};return a55_0x25d4();}a55_0x15dbc1[a55_0x52190a(0x11e)]=![];const argv=yargs['parserConfiguration'](a55_0x15dbc1)[a55_0x52190a(0x182)]('usage:\x20$0\x20<command>\x20[args]')[a55_0x52190a(0x133)]('v',a55_0x52190a(0x154))[a55_0x52190a(0x1b6)]('v')[a55_0x52190a(0x133)]('h',a55_0x52190a(0x129))[a55_0x52190a(0x129)](a55_0x52190a(0x129))[a55_0x52190a(0x151)](!![],Constants[a55_0x52190a(0x1bd)][a55_0x52190a(0x199)])[a55_0x52190a(0x160)]('jest',Constants[a55_0x52190a(0x11f)][a55_0x52190a(0x1b3)],function(_0x18ed4f){const _0x55d51c=a55_0x52190a,_0x5e1b8d={'Vvpzq':_0x55d51c(0x1b9),'xvYQL':function(_0x31c5d7,_0x3adc01,_0x1a11af,_0x43ac40,_0x4fbed0,_0x5f0534){return _0x31c5d7(_0x3adc01,_0x1a11af,_0x43ac40,_0x4fbed0,_0x5f0534);},'jdsRO':function(_0x37f061,_0xf570f3){return _0x37f061(_0xf570f3);},'EZKYn':'./jest/command'},_0x17156f=process[_0x55d51c(0x15e)][_0x55d51c(0x142)](0x2);helper[_0x55d51c(0x180)](),helper[_0x55d51c(0x15c)](),_0x18ed4f['strict'](![]);const _0x55c7ba=new BrowserStackSetup(_0x18ed4f[_0x55d51c(0x15e)],_0x5e1b8d[_0x55d51c(0x148)]);return _0x5e1b8d['xvYQL'](captureError,_0x5e1b8d[_0x55d51c(0x124)](require,_0x5e1b8d[_0x55d51c(0x16f)]),_0x18ed4f[_0x55d51c(0x15e)],_0x55c7ba,_0x17156f,!![]);})[a55_0x52190a(0x160)]('mocha',Constants[a55_0x52190a(0x1b4)][a55_0x52190a(0x1b3)],_0x5ca204=>{const _0x37107e=a55_0x52190a,_0x4ed67e={'TGuTa':function(_0x3ff5b0,_0x1ff274,_0x3ad72f,_0x4d558d){return _0x3ff5b0(_0x1ff274,_0x3ad72f,_0x4d558d);},'lItCm':function(_0x342d34,_0x4e618e){return _0x342d34(_0x4e618e);},'tsOLa':_0x37107e(0x194),'OIGxY':'mocha','tEDnl':_0x37107e(0x120),'AcszQ':function(_0x41a55f,_0x4bc5eb,_0x29110a){return _0x41a55f(_0x4bc5eb,_0x29110a);},'fjtvS':_0x37107e(0x149),'CbFzt':function(_0x320b84,_0x18c8fb,_0x1873c3){return _0x320b84(_0x18c8fb,_0x1873c3);},'YAhcx':_0x37107e(0x184),'EKbfs':_0x37107e(0x18e),'LKYEI':function(_0x5abade){return _0x5abade();}};process[_0x37107e(0x15e)]=process[_0x37107e(0x15e)][_0x37107e(0x142)](0x1),helper[_0x37107e(0x180)](),helper[_0x37107e(0x15c)]();const _0x5bcb44=new BrowserStackSetup(_0x5ca204[_0x37107e(0x15e)],_0x4ed67e[_0x37107e(0x162)]);logger[_0x37107e(0x167)](_0x4ed67e['tEDnl']);const _0x3440f2=_0x4ed67e[_0x37107e(0x158)](requireModule,_0x4ed67e[_0x37107e(0x17c)],_0x4ed67e[_0x37107e(0x162)]),_0xdb5094=_0x4ed67e['CbFzt'](requireModule,_0x4ed67e[_0x37107e(0x1af)],_0x4ed67e[_0x37107e(0x162)]);delete _0x3440f2[_0x37107e(0x1bb)],_0x3440f2[_0x37107e(0x1bb)]=function(_0x4f678c){const _0x58ecc1=_0x37107e;return _0x4ed67e['TGuTa'](captureError,_0x4ed67e['lItCm'](require,_0x4ed67e[_0x58ecc1(0x12d)]),_0x4f678c,_0x5bcb44);},_0xdb5094[_0x37107e(0x17e)]=_0x3440f2;const {main:_0x1ea4e8}=_0x4ed67e['AcszQ'](requireModule,_0x4ed67e[_0x37107e(0x1a4)],_0x4ed67e[_0x37107e(0x162)]);_0x4ed67e[_0x37107e(0x143)](_0x1ea4e8);})[a55_0x52190a(0x160)](a55_0x52190a(0x196),Constants[a55_0x52190a(0x161)][a55_0x52190a(0x1b3)],function(_0x299fc4){const _0x3db549=a55_0x52190a,_0x418db9={'PjxMj':'cucumber-js','xrlvd':function(_0x598409,_0x1bae60,_0x35612f,_0xac7132,_0x57fc89,_0x5100ed){return _0x598409(_0x1bae60,_0x35612f,_0xac7132,_0x57fc89,_0x5100ed);},'gyxmD':function(_0x24fb1e,_0x5a193c){return _0x24fb1e(_0x5a193c);},'vxMXa':_0x3db549(0x169)},_0x42f485=process[_0x3db549(0x15e)][_0x3db549(0x142)](0x2),_0x55730c=new BrowserStackSetup(_0x299fc4[_0x3db549(0x15e)],_0x418db9[_0x3db549(0x16b)]);return _0x418db9[_0x3db549(0x1b2)](captureError,_0x418db9[_0x3db549(0x12c)](require,_0x418db9[_0x3db549(0x1a6)]),_0x299fc4[_0x3db549(0x15e)],_0x55730c,_0x42f485,!![]);})['command'](a55_0x52190a(0x186),Constants[a55_0x52190a(0x135)][a55_0x52190a(0x1b3)],function(_0x5d919d){const _0x108594=a55_0x52190a,_0x1a3214={'tixIu':_0x108594(0x189),'cOAcT':function(_0x383c2f,_0x193eb2){return _0x383c2f(_0x193eb2);},'KwJoT':_0x108594(0x197),'NWyAn':function(_0x1031f1,_0x295bb0,_0x1d6aba,_0x54af8b,_0x478bfa){return _0x1031f1(_0x295bb0,_0x1d6aba,_0x54af8b,_0x478bfa);},'vqrsS':function(_0xdbd64f,_0x3998d3){return _0xdbd64f(_0x3998d3);},'fSUBz':'./newman/command','CRaBt':function(_0x30500a,_0x23afc9){return _0x30500a(_0x23afc9);},'TivFv':_0x108594(0x1ac)},_0x2cd2c8=process['argv'][_0x108594(0x142)](0x2),_0x5c9515=new BrowserStackSetup(_0x5d919d[_0x108594(0x15e)],_0x1a3214[_0x108594(0x126)]),_0x178950=_0x5c9515?_0x5c9515[_0x108594(0x131)]:null;if(_0x1a3214[_0x108594(0x12b)](isNewman,_0x178950))return _0x5c9515[_0x108594(0x18f)]=_0x1a3214[_0x108594(0x1bc)],global[_0x108594(0x18f)]=_0x1a3214[_0x108594(0x1bc)],_0x1a3214['NWyAn'](captureError,_0x1a3214[_0x108594(0x13f)](require,_0x1a3214[_0x108594(0x1ba)]),_0x5d919d[_0x108594(0x15e)],_0x5c9515,_0x2cd2c8);return _0x1a3214['NWyAn'](captureError,_0x1a3214[_0x108594(0x17f)](require,_0x1a3214[_0x108594(0x183)]),_0x5d919d[_0x108594(0x15e)],_0x5c9515,_0x2cd2c8);})[a55_0x52190a(0x160)](a55_0x52190a(0x17b),Constants[a55_0x52190a(0x155)]['INFO'],function(_0x30b6ef){const _0x5c3151=a55_0x52190a,_0x1d8ca3={'XbluW':function(_0x349e4e,_0x3221c4,_0x4e2aa8,_0x19774f,_0x3da2e6){return _0x349e4e(_0x3221c4,_0x4e2aa8,_0x19774f,_0x3da2e6);},'pOxpX':function(_0x20b14d,_0x459ee4){return _0x20b14d(_0x459ee4);},'pxrvR':_0x5c3151(0x153)},_0x186482=process[_0x5c3151(0x15e)]['slice'](0x2),_0x5f117b=new BrowserStackSetup(_0x30b6ef['argv']);return _0x1d8ca3[_0x5c3151(0x136)](captureError,_0x1d8ca3[_0x5c3151(0x1a7)](require,_0x1d8ca3[_0x5c3151(0x16c)]),_0x30b6ef[_0x5c3151(0x15e)],_0x5f117b,_0x186482);})[a55_0x52190a(0x160)]('codeceptjs',Constants[a55_0x52190a(0x16e)][a55_0x52190a(0x1b3)],function(_0x465b24){const _0xac7d33=a55_0x52190a,_0x2634ab={'UvCIB':_0xac7d33(0x15d),'pkkCC':function(_0x1d64e5,_0xd958dc,_0xde7add,_0x3eb20d,_0x1f24cd){return _0x1d64e5(_0xd958dc,_0xde7add,_0x3eb20d,_0x1f24cd);},'gbZZd':function(_0x3c6d81,_0x5a12ba){return _0x3c6d81(_0x5a12ba);},'TCDQi':'./codeceptjs/command'},_0xcd4b95=process[_0xac7d33(0x15e)][_0xac7d33(0x142)](0x2),_0x49c84c=new BrowserStackSetup(_0x465b24[_0xac7d33(0x15e)],_0x2634ab['UvCIB']);return _0x2634ab[_0xac7d33(0x15b)](captureError,_0x2634ab[_0xac7d33(0x13b)](require,_0x2634ab[_0xac7d33(0x146)]),_0x465b24[_0xac7d33(0x15e)],_0x49c84c,_0xcd4b95);})[a55_0x52190a(0x160)]('ats',Constants[a55_0x52190a(0x152)][a55_0x52190a(0x1b3)],function(_0x4604b8){const _0xc9358a=a55_0x52190a,_0x169cc2={'HzKBh':function(_0x153adf,_0x5d0437,_0x4337e0){return _0x153adf(_0x5d0437,_0x4337e0);},'OhYDb':function(_0x467e10,_0x439120){return _0x467e10(_0x439120);},'TFENV':_0xc9358a(0x125)},_0x11262a=process['argv'][_0xc9358a(0x142)](0x2);return _0x169cc2[_0xc9358a(0x174)](captureError,_0x169cc2[_0xc9358a(0x14c)](require,_0x169cc2[_0xc9358a(0x1a1)]),_0x4604b8);})[a55_0x52190a(0x160)]('integrations',Constants[a55_0x52190a(0x181)][a55_0x52190a(0x1b3)],function(_0x36feed){const _0x43d30f=a55_0x52190a,_0x5ac946={'eaKlQ':function(_0x43dbe1,_0x56e1c5){return _0x43dbe1(_0x56e1c5);}};return _0x5ac946[_0x43d30f(0x16a)](runIntegrations,_0x36feed);})['command'](a55_0x52190a(0x1b7),Constants[a55_0x52190a(0x166)][a55_0x52190a(0x1b3)],function(_0x671fbd){const _0x1f9227=a55_0x52190a,_0x20e9e0={'nUUgU':_0x1f9227(0x16d),'yibmF':function(_0x542631,_0x5c1a77){return _0x542631&&_0x5c1a77;},'WBuTe':function(_0x2b1fd8,_0x2b2963,_0x217931,_0x3a5f02,_0x3189ad,_0xf43914){return _0x2b1fd8(_0x2b2963,_0x217931,_0x3a5f02,_0x3189ad,_0xf43914);},'WKTZm':function(_0x53717e,_0x33f279){return _0x53717e(_0x33f279);},'Gkgpm':_0x1f9227(0x19e)},_0x3dd197=process['argv'][_0x1f9227(0x142)](0x2);helper[_0x1f9227(0x128)](process['argv'])&&(process['env']['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x1f9227(0x128)](process['argv']));helper[_0x1f9227(0x180)](),helper['setBrowserStackAutomationDisable']();const _0x733f70=new BrowserStackSetup(_0x671fbd[_0x1f9227(0x15e)],FRAMEWORKS[_0x1f9227(0x166)]);try{if(!_0x733f70[_0x1f9227(0x131)]||!_0x733f70[_0x1f9227(0x131)][_0x1f9227(0x18b)]){const _0x30e743=_0x20e9e0['nUUgU'],_0x4542b8=process[_0x1f9227(0x1b1)][_0x1f9227(0x1a0)]||'',_0x424668=_0x4542b8[_0x1f9227(0x1b5)](',')['map'](_0x4f3213=>_0x4f3213['trim']())[_0x1f9227(0x14f)](Boolean),_0x4142f7=_0x424668[_0x1f9227(0x175)](_0x3b934b=>_0x3b934b===_0x1f9227(0x168)||_0x3b934b===_0x1f9227(0x19c)||_0x3b934b==='-*'),_0x36c8f5=_0x424668[_0x1f9227(0x175)](_0x2da52d=>_0x2da52d===_0x30e743||_0x2da52d===_0x1f9227(0x145)||_0x2da52d==='*');if(_0x20e9e0[_0x1f9227(0x12f)](!_0x4142f7,!_0x36c8f5)){const _0x4b9f7b=helper[_0x1f9227(0x157)]();_0x4b9f7b&&(process[_0x1f9227(0x1b1)][_0x1f9227(0x1a0)]=_0x4542b8?_0x4542b8+','+_0x30e743:_0x30e743,!process[_0x1f9227(0x1b1)][_0x1f9227(0x12e)]&&(process['env'][_0x1f9227(0x12e)]=_0x4b9f7b));}}}catch(_0x111186){logger['debug'](_0x1f9227(0x13c)+util[_0x1f9227(0x134)](_0x111186));}return _0x20e9e0[_0x1f9227(0x176)](captureError,_0x20e9e0[_0x1f9227(0x137)](require,_0x20e9e0[_0x1f9227(0x171)]),_0x671fbd[_0x1f9227(0x15e)],_0x733f70,_0x3dd197,!![]);})[a55_0x52190a(0x160)](a55_0x52190a(0x178),a55_0x52190a(0x188),function(_0x446a27){const _0x4db8e1=a55_0x52190a,_0x37c9dd={};_0x37c9dd[_0x4db8e1(0x140)]=_0x4db8e1(0x129),_0x37c9dd[_0x4db8e1(0x19a)]=_0x4db8e1(0x19d),_0x37c9dd['WUNtb']='Show\x20help';const _0x650990=_0x37c9dd;return _0x446a27[_0x4db8e1(0x129)](![])[_0x4db8e1(0x1a3)](_0x650990['WoIAS'],{'alias':'h','type':_0x650990[_0x4db8e1(0x19a)],'describe':_0x650990['WUNtb']})[_0x4db8e1(0x11b)](![])[_0x4db8e1(0x18d)](![]);},function(_0x1bf6c1){const _0x4b6f3b=a55_0x52190a,_0x4513c6={'oFRBz':function(_0x1cd16d,_0x282e68,_0xb4048d){return _0x1cd16d(_0x282e68,_0xb4048d);},'AAama':function(_0x30ecb2,_0x4bf48e){return _0x30ecb2(_0x4bf48e);},'smoWs':'./load/index'},_0x454bf0={};return _0x454bf0['argv']=_0x1bf6c1,_0x4513c6[_0x4b6f3b(0x14e)](captureError,_0x4513c6[_0x4b6f3b(0x198)](require,_0x4513c6['smoWs']),_0x454bf0);})['command']('newman',Constants[a55_0x52190a(0x11c)][a55_0x52190a(0x1b3)],function(_0xc6e964){const _0x27347f=a55_0x52190a,_0x82694d={'aBlkS':_0x27347f(0x197),'HqzSD':function(_0x47bcde,_0x26341e,_0xcbe305,_0x428118,_0x589beb){return _0x47bcde(_0x26341e,_0xcbe305,_0x428118,_0x589beb);},'xABCS':function(_0x4b3457,_0x276652){return _0x4b3457(_0x276652);},'gSBYV':_0x27347f(0x1a2)},_0x33250e=process[_0x27347f(0x15e)][_0x27347f(0x142)](0x2);helper[_0x27347f(0x180)](),helper[_0x27347f(0x15c)](),_0xc6e964[_0x27347f(0x11b)](![]);const _0xdb9b90=new BrowserStackSetup(_0xc6e964['argv'],_0x82694d['aBlkS']);return _0x82694d['HqzSD'](captureError,_0x82694d[_0x27347f(0x1aa)](require,_0x82694d[_0x27347f(0x1b0)]),_0xc6e964['argv'],_0xdb9b90,_0x33250e);})[a55_0x52190a(0x1ad)](0x1,a55_0x52190a(0x165))[a55_0x52190a(0x150)](null)[a55_0x52190a(0x15e)];function a55_0x4276(_0xd03621,_0x509199){const _0x25d4de=a55_0x25d4();return a55_0x4276=function(_0x427657,_0x4c970a){_0x427657=_0x427657-0x118;let _0x35b3f3=_0x25d4de[_0x427657];return _0x35b3f3;},a55_0x4276(_0xd03621,_0x509199);}!helper[a55_0x52190a(0x1b8)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a55_0x52190a(0x1a5)](a55_0x52190a(0x17a));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a56_0x1381e7=a56_0x40a9;function a56_0x40a9(_0x32df34,_0x1244ed){const _0x554858=a56_0x5548();return a56_0x40a9=function(_0x40a949,_0x3d508d){_0x40a949=_0x40a949-0x1c9;let _0x47823d=_0x554858[_0x40a949];return _0x47823d;},a56_0x40a9(_0x32df34,_0x1244ed);}(function(_0x163a9a,_0x402213){const _0x5e767d=a56_0x40a9,_0x357b2c=_0x163a9a();while(!![]){try{const _0x145dfe=parseInt(_0x5e767d(0x1cb))/0x1*(parseInt(_0x5e767d(0x1e8))/0x2)+parseInt(_0x5e767d(0x20b))/0x3+parseInt(_0x5e767d(0x20e))/0x4*(-parseInt(_0x5e767d(0x1de))/0x5)+parseInt(_0x5e767d(0x1ff))/0x6+-parseInt(_0x5e767d(0x1f1))/0x7*(-parseInt(_0x5e767d(0x1f3))/0x8)+parseInt(_0x5e767d(0x1cf))/0x9*(parseInt(_0x5e767d(0x1eb))/0xa)+-parseInt(_0x5e767d(0x207))/0xb*(parseInt(_0x5e767d(0x1e3))/0xc);if(_0x145dfe===_0x402213)break;else _0x357b2c['push'](_0x357b2c['shift']());}catch(_0x43cd11){_0x357b2c['push'](_0x357b2c['shift']());}}}(a56_0x5548,0xc5c3c));const fs=require('fs'),helper=require(a56_0x1381e7(0x1ce)),utilities=require('../helpers/utilities'),yaml=require(a56_0x1381e7(0x1d7)),yargs=require('yargs'),logger=require(a56_0x1381e7(0x20d))['winstonLogger'],configFileTemplate=__dirname+a56_0x1381e7(0x1e5),configFileTemplatePW=__dirname+a56_0x1381e7(0x1f7),configFile=process[a56_0x1381e7(0x208)]()+a56_0x1381e7(0x1d0),packageFile=process[a56_0x1381e7(0x208)]()+a56_0x1381e7(0x1d8),frameworks=[a56_0x1381e7(0x1fa),a56_0x1381e7(0x1db),'cucumber-js',a56_0x1381e7(0x1dd),'nightwatch','codeceptjs',a56_0x1381e7(0x206)];let config;logger['info'](a56_0x1381e7(0x1f8)),createConfigurationFile(yargs[a56_0x1381e7(0x1f5)]['username'],yargs[a56_0x1381e7(0x1f5)][a56_0x1381e7(0x1dc)],yargs[a56_0x1381e7(0x1f5)][a56_0x1381e7(0x206)]);try{sdkSetup();}catch(a56_0x3159ac){logger[a56_0x1381e7(0x1ef)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a56_0x3159ac);}function a56_0x5548(){const _0x368380=['BrmxD','load','js-yaml','/package.json','length','browserstack-node-sdk\x20','jest','key','node','1691785ahzFWU','vAfau','zJQYp','writeFileSync','browserstack-node-sdk','19296iwnQrw','utf8','/../../browserstack.yml.sample','indexOf','KghMr','1293244nPNaZd','xtDOm','renWi','10OTFXfL','SDKSetup','error','YOUR_ACCESS_KEY','debug','bxBIa','7nmklkg','includes','720152btzWWT','info','argv','QtVIC','/../../browserstack.pw.yml.sample','Creating\x20configuration\x20file...','vHbis','mocha','NZixN','YxSDN','isUndefined','nYtkw','9261186HNkYLq','scripts','entries','push','\x20&&\x20npm\x20update\x20browserstack-node-sdk','mboae','YOUR_USERNAME','playwright','10670FoYsHx','cwd','join','UFQUq','397074CwoiMw','xPbfC','../helpers/logger','16OdMEbA','LqARy','node-setup','1WTcsBq','postinstall','replace','../helpers/helper','11796318EjqyDQ','/browserstack.yml','lvzek','IdMIf','stringify','vlXgG'];a56_0x5548=function(){return _0x368380;};return a56_0x5548();}addScriptInPackageJson();function createConfigurationFile(_0x513f9a,_0x323207,_0x15b31f=![]){const _0x15f860=a56_0x1381e7,_0x21e38e={};_0x21e38e[_0x15f860(0x20a)]='utf8',_0x21e38e[_0x15f860(0x1e7)]=_0x15f860(0x205),_0x21e38e[_0x15f860(0x1df)]=_0x15f860(0x1ee);const _0x30f1d7=_0x21e38e;try{let _0xa359f=fs['readFileSync'](_0x15b31f?configFileTemplatePW:configFileTemplate,_0x30f1d7[_0x15f860(0x20a)]);_0x513f9a&&(_0xa359f=_0xa359f[_0x15f860(0x1cd)](_0x30f1d7[_0x15f860(0x1e7)],_0x513f9a)),_0x323207&&(_0xa359f=_0xa359f[_0x15f860(0x1cd)](_0x30f1d7[_0x15f860(0x1df)],_0x323207)),config=yaml[_0x15f860(0x1d6)](_0xa359f),fs[_0x15f860(0x1e1)](configFile,_0xa359f,_0x29c677=>{const _0x4bce55=_0x15f860;_0x29c677&&logger[_0x4bce55(0x1ed)](_0x29c677);});}catch(_0x2da269){logger[_0x15f860(0x1ed)](_0x2da269);}}function addPostInstallScript(_0x2d33bb,_0x2377bd){const _0x1629f3=a56_0x1381e7,_0x197aaa={};_0x197aaa[_0x1629f3(0x204)]=_0x1629f3(0x1cc),_0x197aaa[_0x1629f3(0x1f6)]='npm\x20update\x20browserstack-node-sdk',_0x197aaa[_0x1629f3(0x1fe)]=_0x1629f3(0x203);const _0x37b00a=_0x197aaa;let _0x48624c=_0x2d33bb[_0x37b00a[_0x1629f3(0x204)]];if(_0x48624c&&_0x48624c[_0x1629f3(0x1f2)](_0x37b00a[_0x1629f3(0x1f6)]))return;!_0x48624c?_0x48624c=_0x37b00a[_0x1629f3(0x1f6)]:_0x48624c+=_0x37b00a[_0x1629f3(0x1fe)],_0x2377bd[_0x1629f3(0x202)]([_0x37b00a['mboae'],_0x48624c]);}function addScriptInPackageJson(){const _0x2f8fc0=a56_0x1381e7,_0x4dfa33={'AWVNz':_0x2f8fc0(0x1e4),'renWi':function(_0x1739ff,_0x1ba038){return _0x1739ff<_0x1ba038;},'BrmxD':function(_0x303353,_0x5304e8,_0x3be256){return _0x303353(_0x5304e8,_0x3be256);},'NZixN':function(_0x3672a6,_0x351335,_0x5639ee){return _0x3672a6(_0x351335,_0x5639ee);},'zJQYp':function(_0x52a2c7,_0xac3eaf,_0x5bf9ef){return _0x52a2c7(_0xac3eaf,_0x5bf9ef);},'xtDOm':function(_0x292c7e,_0x4dd44b){return _0x292c7e!==_0x4dd44b;},'IdMIf':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x65498b=JSON['parse'](fs['readFileSync'](packageFile,_0x4dfa33['AWVNz'])),_0x39db7d=[];for(let _0x6514f6=0x0;_0x4dfa33['renWi'](_0x6514f6,frameworks['length']);_0x6514f6+=0x1){const _0x166b9b=_0x4dfa33[_0x2f8fc0(0x1d5)](findScriptsWithFramework,_0x65498b[_0x2f8fc0(0x200)],frameworks[_0x6514f6]);for(let _0x2264ee=0x0;_0x4dfa33[_0x2f8fc0(0x1ea)](_0x2264ee,_0x166b9b[_0x2f8fc0(0x1d9)]);_0x2264ee+=0x1){_0x39db7d[_0x2f8fc0(0x202)](_0x4dfa33[_0x2f8fc0(0x1fb)](getUpdatedCommand,_0x65498b[_0x2f8fc0(0x200)],_0x166b9b[_0x2264ee]));}_0x4dfa33[_0x2f8fc0(0x1e0)](addPostInstallScript,_0x65498b[_0x2f8fc0(0x200)],_0x39db7d);}const _0x1174bc={..._0x65498b[_0x2f8fc0(0x200)]},_0x53a829=_0x1174bc;for(let _0x12b7ff=0x0;_0x4dfa33['renWi'](_0x12b7ff,_0x39db7d[_0x2f8fc0(0x1d9)]);_0x12b7ff+=0x1){_0x53a829[_0x39db7d[_0x12b7ff][0x0]]=_0x39db7d[_0x12b7ff][0x1];}_0x4dfa33[_0x2f8fc0(0x1e9)](JSON[_0x2f8fc0(0x1d3)](_0x65498b[_0x2f8fc0(0x200)]),JSON[_0x2f8fc0(0x1d3)](_0x53a829))&&(logger['info'](_0x4dfa33[_0x2f8fc0(0x1d2)]),_0x65498b[_0x2f8fc0(0x200)]=_0x53a829,fs[_0x2f8fc0(0x1e1)](packageFile,JSON[_0x2f8fc0(0x1d3)](_0x65498b,null,0x2),_0x1bc2d2=>{const _0x52e335=_0x2f8fc0;_0x1bc2d2&&logger[_0x52e335(0x1ed)](_0x1bc2d2);}));};function findScriptsWithFramework(_0x362781,_0x1d2c0f){const _0x5060b4=a56_0x1381e7,_0x47fb0e={};_0x47fb0e[_0x5060b4(0x1d4)]=function(_0x5395dd,_0x540910){return _0x5395dd<_0x540910;},_0x47fb0e[_0x5060b4(0x1d1)]=_0x5060b4(0x1e2);const _0x3770cf=_0x47fb0e,_0x361cfa=[],_0x323f6a=Object[_0x5060b4(0x201)](_0x362781);for(let _0x174d6d=0x0;_0x3770cf[_0x5060b4(0x1d4)](_0x174d6d,_0x323f6a['length']);_0x174d6d+=0x1){_0x323f6a[_0x174d6d][0x1][_0x5060b4(0x1f2)](_0x1d2c0f)&&!_0x323f6a[_0x174d6d][0x1][_0x5060b4(0x1f2)](_0x3770cf[_0x5060b4(0x1d1)])&&_0x361cfa['push'](_0x323f6a[_0x174d6d][0x0]);}return _0x361cfa;}function getUpdatedCommand(_0x257602,_0x4c1692){const _0x302be6=a56_0x1381e7,_0x4822d0={};_0x4822d0['YxSDN']=function(_0x10fade,_0x233ea2){return _0x10fade!==_0x233ea2;},_0x4822d0[_0x302be6(0x1f9)]=_0x302be6(0x1e2),_0x4822d0['LqARy']=function(_0x268d0f,_0x252186){return _0x268d0f===_0x252186;};const _0x5d5ce2=_0x4822d0,_0x37919b=_0x4c1692+'-browserstack',_0x435cd8=_0x257602[_0x4c1692],_0x547fdc=_0x435cd8['split']('\x20');for(const _0x190392 of frameworks){if(_0x5d5ce2[_0x302be6(0x1fc)](_0x547fdc['indexOf'](_0x190392),-0x1)){_0x547fdc['splice'](_0x547fdc[_0x302be6(0x1e6)](_0x190392),0x0,_0x5d5ce2['vHbis']);break;}}let _0x978bd6=_0x547fdc[_0x302be6(0x209)]('\x20');return _0x5d5ce2[_0x302be6(0x1c9)](_0x978bd6,_0x435cd8)&&(_0x978bd6=_0x302be6(0x1da)+_0x435cd8),[_0x37919b,_0x978bd6];}function sdkSetup(){const _0x35ca50=a56_0x1381e7,_0x34d86f={};_0x34d86f['xPbfC']=_0x35ca50(0x1ca),_0x34d86f['bxBIa']=_0x35ca50(0x1ec);const _0x27f457=_0x34d86f;if(helper[_0x35ca50(0x1fd)](config))return;config['source']=_0x27f457[_0x35ca50(0x20c)];try{utilities['fireFunnelTestEvent'](_0x27f457[_0x35ca50(0x1f0)],{},config,'');}catch(_0x5dbd35){logger[_0x35ca50(0x1ef)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x5dbd35);}}logger[a56_0x1381e7(0x1f4)]('Setup\x20completed');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x56ac(_0x3c05ea,_0x2883c0){const _0x3f1d5e=a53_0x3f1d();return a53_0x56ac=function(_0x56ac97,_0x45123b){_0x56ac97=_0x56ac97-0x13c;let _0x2a49c4=_0x3f1d5e[_0x56ac97];return _0x2a49c4;},a53_0x56ac(_0x3c05ea,_0x2883c0);}function a53_0x3f1d(){const _0x3fc065=['xMQhY','winstonLogger','Workers\x20failed\x20to\x20exit\x20gracefully','twMPT','nDrWK','test-file-start','then','wnBZw','uPFBl','getStdout','../../helpers/performance/constants','resolve','format','all','4465VlbhmQ','_child','343IOsYhN','TZavZ','xMcdo','file','ADTaz','2533572BvPPRj','postMessage','platform-run-success','../../helpers/testhub/testhubHandler','SwbtZ','getWorkers','CTlFb','neEKn','2096793AtHpOO','length','test-file-failure','platform-run-start','parallelCucumberRun','YHWaB','UiekJ','info','json','error','Worker','UrVET','22346850AlzaGE','push','configuration','25365vATEbH','parallelTestRun','102584JTocBe','stderr','tWgqN','send','platform-run-failure','map','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','./testWorker.js','SDK_SETUP','test-file-success','stdout','end','gnLyV','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','DabFS','dHFxK','../../helpers/logger','\x20for','mSnSi','geIZl','ZACzv','debug','platformIndex','pipe','cucumberWorker','getStderr','EVENTS','544XlvnUs','FYsiA','platforms','PvDHm','util','PVkUM','worker_threads','platformCaps','Mwbrc','emit','worker','exitCode','vanillaWorker','dWAjZ','exit','FqeJP','log','_workerPool','36kdXGxS','results','3739470OQfdcm','platform','LjZOg','sfEIJ','CqjwI','failureCount'];a53_0x3f1d=function(){return _0x3fc065;};return a53_0x3f1d();}const a53_0x1440db=a53_0x56ac;(function(_0x3c8f7b,_0x2b5680){const _0x5d4bba=a53_0x56ac,_0x40fd9b=_0x3c8f7b();while(!![]){try{const _0x2a4531=parseInt(_0x5d4bba(0x142))/0x1*(-parseInt(_0x5d4bba(0x18f))/0x2)+-parseInt(_0x5d4bba(0x191))/0x3+parseInt(_0x5d4bba(0x17d))/0x4*(-parseInt(_0x5d4bba(0x160))/0x5)+-parseInt(_0x5d4bba(0x149))/0x6+parseInt(_0x5d4bba(0x144))/0x7*(parseInt(_0x5d4bba(0x162))/0x8)+parseInt(_0x5d4bba(0x151))/0x9+parseInt(_0x5d4bba(0x15d))/0xa;if(_0x2a4531===_0x2b5680)break;else _0x40fd9b['push'](_0x40fd9b['shift']());}catch(_0x3348af){_0x40fd9b['push'](_0x40fd9b['shift']());}}}(a53_0x3f1d,0xa062b));const Worker=require('jest-worker')[a53_0x1440db(0x15b)],Emittery=require('emittery'),pLimit=require('p-limit'),{parentPort}=require(a53_0x1440db(0x183)),util=require(a53_0x1440db(0x181)),logger=require(a53_0x1440db(0x172))[a53_0x1440db(0x198)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a53_0x1440db(0x13e))[a53_0x1440db(0x17c)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a53_0x1440db(0x14c));exports[a53_0x1440db(0x161)]=(_0xe339fd,_0x400599,_0x39994e)=>new Promise(async _0x1ab0a6=>{const _0x48c90f=a53_0x1440db,_0x56ae57={'UiekJ':_0x48c90f(0x196),'dHFxK':function(_0x5cedfb,_0x306f02){return _0x5cedfb+_0x306f02;},'dWAjZ':_0x48c90f(0x190),'EabQI':_0x48c90f(0x199),'wnBZw':function(_0x288a10,_0x2fda59){return _0x288a10(_0x2fda59);},'xMcdo':function(_0x506752,_0x106433){return _0x506752(_0x106433);},'sfEIJ':_0x48c90f(0x19c),'twMPT':_0x48c90f(0x169),'gnLyV':_0x48c90f(0x187),'onQci':_0x48c90f(0x159),'ZACzv':_0x48c90f(0x179),'UrVET':function(_0xe5fa11,_0x1704b9){return _0xe5fa11*_0x1704b9;},'tWgqN':'test-file-success','CvpKR':'test-file-failure','xMQhY':function(_0x5666ca,_0x465b5f){return _0x5666ca(_0x465b5f);},'SwbtZ':function(_0x25dc57,_0x44d35d){return _0x25dc57*_0x44d35d;}},_0x43f749=_0x39994e['config'],_0x2a87b3={},_0x2420ff=new Worker(require[_0x48c90f(0x13f)](_0x56ae57[_0x48c90f(0x19a)]),{'exposedMethods':[_0x56ae57[_0x48c90f(0x16e)]],'forkOptions':{'serialization':_0x56ae57['onQci'],'stdio':_0x56ae57[_0x48c90f(0x176)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x56ae57[_0x48c90f(0x15c)](_0x400599,0x1),'enableWorkerThreads':!![]}),_0x5779e6=new Emittery();_0x5779e6['on'](_0x56ae57[_0x48c90f(0x164)],_0x18e589=>{const _0x2fd26d=_0x48c90f;_0x2a87b3[_0x18e589[0x0]]?(_0x2a87b3[_0x18e589[0x0]][_0x56ae57[_0x2fd26d(0x157)]]=_0x56ae57[_0x2fd26d(0x171)](_0x2a87b3[_0x18e589[0x0]][_0x56ae57[_0x2fd26d(0x157)]],_0x18e589[0x1][_0x56ae57['UiekJ']]),_0x2a87b3[_0x18e589[0x0]][_0x56ae57[_0x2fd26d(0x18a)]]=[..._0x2a87b3[_0x18e589[0x0]][_0x56ae57[_0x2fd26d(0x18a)]],..._0x18e589[0x1][_0x56ae57[_0x2fd26d(0x18a)]]]):_0x2a87b3[_0x18e589[0x0]]={'failureCount':_0x18e589[0x1][_0x56ae57[_0x2fd26d(0x157)]],'results':[..._0x18e589[0x1][_0x56ae57['dWAjZ']]]};}),_0x5779e6['on'](_0x56ae57['CvpKR'],_0x41d943=>console[_0x48c90f(0x18d)](_0x41d943[0x1]));_0x2420ff[_0x48c90f(0x13d)]()&&_0x2420ff['getStdout']()[_0x48c90f(0x179)](process[_0x48c90f(0x16c)]);_0x2420ff[_0x48c90f(0x17b)]()&&_0x2420ff[_0x48c90f(0x17b)]()[_0x48c90f(0x179)](process[_0x48c90f(0x163)]);const _0xd5e6a9=async()=>{const _0x17e671=_0x48c90f,{forceExited:_0x42a940}=await _0x2420ff[_0x17e671(0x16d)]();_0x42a940&&console[_0x17e671(0x15a)](_0x56ae57['EabQI']);try{await TestHubHandler['stop']();}catch(_0x1a0f1c){_0x56ae57[_0x17e671(0x19e)](debug,_0x17e671(0x168)+_0x1a0f1c);}_0x56ae57[_0x17e671(0x146)](_0x1ab0a6,_0x2a87b3);},_0x4a1984=_0x56ae57[_0x48c90f(0x197)](pLimit,_0x56ae57[_0x48c90f(0x14d)](_0x400599,0x1)),_0x3429fa=_0x4f5a3b=>_0x4a1984(async()=>{const _0x16ca49=_0x48c90f;await _0x5779e6[_0x16ca49(0x186)](_0x56ae57[_0x16ca49(0x194)],_0x4f5a3b);const _0x906eb=_0x2420ff[_0x16ca49(0x187)](_0x4f5a3b,_0x43f749);try{parentPort&&_0x906eb['UNSTABLE_onCustomMessage'](_0x25f61a=>{const _0x281598=_0x16ca49;try{parentPort[_0x281598(0x14a)](_0x25f61a);}catch(_0x313f6b){logger[_0x281598(0x177)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x281598(0x140)](_0x313f6b));}});}catch(_0x312c88){logger[_0x16ca49(0x177)](_0x16ca49(0x16f)+util[_0x16ca49(0x140)](_0x312c88));}return _0x906eb;});PerformanceTester[_0x48c90f(0x16d)](PerformanceEvents[_0x48c90f(0x16a)]),Promise['all'](_0xe339fd[_0x48c90f(0x167)](_0x475d8b=>_0x3429fa(_0x475d8b)['then'](_0x4cb8e8=>_0x5779e6[_0x48c90f(0x186)](_0x48c90f(0x16b),[_0x475d8b[_0x48c90f(0x15f)][_0x48c90f(0x192)],_0x4cb8e8]),_0x3151ba=>_0x5779e6[_0x48c90f(0x186)]('test-file-failure',[_0x475d8b,_0x3151ba]))))[_0x48c90f(0x19d)](_0xd5e6a9,_0xd5e6a9);}),exports[a53_0x1440db(0x155)]=(_0x4a176e,_0x4ccba7,_0x4da047,_0x42156b,_0x5284e2)=>{const _0x5be710=a53_0x1440db,_0x23dabd={'neEKn':_0x5be710(0x154),'uPFBl':_0x5be710(0x199),'geIZl':function(_0x3e2ebf,_0x14eb6f){return _0x3e2ebf(_0x14eb6f);},'DabFS':_0x5be710(0x169),'FqeJP':_0x5be710(0x17a),'tlzXn':'json','TZavZ':'pipe','PVkUM':_0x5be710(0x14b),'ujPgJ':_0x5be710(0x166),'FYsiA':function(_0x1d8567,_0x3d3b94){return _0x1d8567(_0x3d3b94);}};return new Promise(_0x5b6902=>{const _0x3c1e5f=_0x5be710,_0x7f58ab={'WpeTJ':_0x23dabd[_0x3c1e5f(0x13c)],'nuRXc':function(_0x1d9cbf,_0x5b33ab){const _0x4373d1=_0x3c1e5f;return _0x23dabd[_0x4373d1(0x175)](_0x1d9cbf,_0x5b33ab);}},_0x5e60e8=[],_0x4626a1=new Worker(require[_0x3c1e5f(0x13f)](_0x23dabd[_0x3c1e5f(0x170)]),{'exposedMethods':[_0x23dabd[_0x3c1e5f(0x18c)]],'forkOptions':{'serialization':_0x23dabd['tlzXn'],'stdio':_0x23dabd[_0x3c1e5f(0x145)]},'numWorkers':_0x4a176e['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x409160=new Emittery();_0x409160['on'](_0x23dabd[_0x3c1e5f(0x182)],_0x3cca5a=>{const _0x5cff51=_0x3c1e5f;_0x5e60e8[_0x5cff51(0x15e)]([_0x3cca5a[0x0],_0x3cca5a[0x1]]);}),_0x409160['on'](_0x23dabd['ujPgJ'],_0x1a6102=>console[_0x3c1e5f(0x18d)](_0x1a6102[0x1]));_0x4626a1[_0x3c1e5f(0x13d)]()&&_0x4626a1[_0x3c1e5f(0x13d)]()['pipe'](process[_0x3c1e5f(0x16c)]);_0x4626a1['getStderr']()&&_0x4626a1[_0x3c1e5f(0x17b)]()['pipe'](process[_0x3c1e5f(0x163)]);const _0x19133e=async()=>{const _0x26c54c=_0x3c1e5f,{forceExited:_0x412d30}=await _0x4626a1[_0x26c54c(0x16d)]();_0x412d30&&console['error'](_0x7f58ab['WpeTJ']),_0x7f58ab['nuRXc'](_0x5b6902,_0x5e60e8);},_0x209371=_0x23dabd[_0x3c1e5f(0x17e)](pLimit,_0x4a176e[_0x3c1e5f(0x152)]||0x1),_0x43de67=(_0x3e3f3c,_0x2bee18)=>_0x209371(async()=>{const _0x26fb09=_0x3c1e5f;return await _0x409160[_0x26fb09(0x186)](_0x23dabd[_0x26fb09(0x150)],_0x3e3f3c),_0x4ccba7[_0x26fb09(0x184)]=_0x4da047[_0x26fb09(0x17f)][_0x2bee18],_0x4ccba7[_0x26fb09(0x178)]=_0x2bee18,_0x4626a1[_0x26fb09(0x17a)](_0x3e3f3c,_0x4ccba7,_0x4da047,_0x42156b,_0x5284e2);});Promise[_0x3c1e5f(0x141)](_0x4a176e[_0x3c1e5f(0x167)]((_0x82c570,_0x4d184a)=>_0x43de67(_0x82c570,_0x4d184a)['then'](_0x287c67=>_0x409160['emit'](_0x3c1e5f(0x14b),[_0x82c570,_0x287c67]),_0x534407=>_0x409160[_0x3c1e5f(0x186)](_0x3c1e5f(0x166),[_0x82c570,_0x534407]))))[_0x3c1e5f(0x19d)](_0x19133e,_0x19133e);});},exports['parallelVanillaRun']=(_0x10158d,_0x521450)=>new Promise(_0x4675f4=>{const _0x4add88=a53_0x1440db,_0xcc2efe={'UCXSw':function(_0x3145db,_0x4628ea){return _0x3145db===_0x4628ea;},'nDrWK':function(_0xe452d2,_0x56dfe6){return _0xe452d2!==_0x56dfe6;},'CTlFb':_0x4add88(0x18b),'YHWaB':_0x4add88(0x199),'Mwbrc':function(_0xf06858,_0x59a1b2){return _0xf06858(_0x59a1b2);},'mSnSi':_0x4add88(0x169),'LjZOg':_0x4add88(0x189),'nlHae':'json','tiHiC':_0x4add88(0x179),'CqjwI':_0x4add88(0x16b),'tEZEe':'test-file-failure'},_0x2d930f={},_0x3015c7=new Worker(require['resolve'](_0xcc2efe[_0x4add88(0x174)]),{'exposedMethods':[_0xcc2efe[_0x4add88(0x193)]],'forkOptions':{'serialization':_0xcc2efe['nlHae'],'stdio':_0xcc2efe['tiHiC']},'numWorkers':_0x521450,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x234130=new Emittery();_0x234130['on'](_0xcc2efe[_0x4add88(0x195)],_0xa8c3fe=>{const _0x23c19c=_0x4add88;_0xa8c3fe[0x0]&&logger[_0x23c19c(0x158)]('Running\x20'+_0xa8c3fe[0x1]+_0x23c19c(0x173),_0xa8c3fe[0x0]);}),_0x234130['on'](_0xcc2efe['tEZEe'],_0x17f729=>{process['exitCode']=0x1;});_0x3015c7[_0x4add88(0x13d)]()&&_0x3015c7[_0x4add88(0x13d)]()['pipe'](process[_0x4add88(0x16c)]);_0x3015c7['getStderr']()&&_0x3015c7[_0x4add88(0x17b)]()[_0x4add88(0x179)](process[_0x4add88(0x163)]);const _0x2c17ae=async()=>{const _0x2d7cd4=_0x4add88,_0x393ce0={'QIHYQ':function(_0x42afca,_0x2bc489){return _0xcc2efe['UCXSw'](_0x42afca,_0x2bc489);},'PvDHm':function(_0x215e77,_0x111b55){const _0x851ddb=a53_0x56ac;return _0xcc2efe[_0x851ddb(0x19b)](_0x215e77,_0x111b55);},'ADTaz':_0xcc2efe[_0x2d7cd4(0x14f)]};let _0x2c613b=0x0;const _0x1c1855=_0x3015c7[_0x2d7cd4(0x18e)][_0x2d7cd4(0x14e)](),_0x44da01=()=>{},_0x586314=_0x1c1855['map'](async _0x1b6250=>{const _0x4788ed=_0x2d7cd4;_0x1b6250[_0x4788ed(0x165)]([0x2,![]],_0x44da01,_0x44da01,_0x44da01),_0x1b6250[_0x4788ed(0x143)]['on'](_0x393ce0[_0x4788ed(0x148)],_0x1aafcf=>{const _0x1201bc=_0x4788ed;_0x393ce0['QIHYQ'](_0x2c613b,0x0)&&_0x393ce0[_0x1201bc(0x180)](_0x1aafcf,0x0)&&(_0x2c613b=_0x1aafcf);}),await _0x1b6250['waitForExit']();});await Promise[_0x2d7cd4(0x141)](_0x586314),process[_0x2d7cd4(0x188)]=_0x2c613b;const {forceExited:_0x3a4425}=await _0x3015c7[_0x2d7cd4(0x16d)]();_0x3a4425&&console[_0x2d7cd4(0x15a)](_0xcc2efe[_0x2d7cd4(0x156)]),_0xcc2efe['Mwbrc'](_0x4675f4,_0x2d930f);},_0x4f8733=_0xcc2efe[_0x4add88(0x185)](pLimit,_0x521450),_0x50e8dc=_0x47b61e=>_0x4f8733(async()=>{const _0x378109=_0x4add88;return _0x3015c7[_0x378109(0x189)](_0x47b61e);});Promise['all'](_0x10158d[_0x4add88(0x167)](_0x580034=>_0x50e8dc(_0x580034)[_0x4add88(0x19d)](_0x25447a=>_0x234130[_0x4add88(0x186)]('test-file-success',[_0x580034[_0x4add88(0x15f)][_0x4add88(0x192)],_0x580034[_0x4add88(0x15f)][_0x4add88(0x147)]]),_0x3b4a0b=>_0x234130[_0x4add88(0x186)](_0x4add88(0x153),[_0x580034,_0x3b4a0b]))))[_0x4add88(0x19d)](_0x2c17ae,_0x2c17ae);});
|
|
1
|
+
function a57_0x899f(){const _0x2cb176=['akRIQ','results','debug','stdout','exitCode','./testWorker.js','../../helpers/testhub/testhubHandler','fKEVT','exit','emittery','winstonLogger','InojX','platform','UcGZW','then','platform-run-failure','LdtiF','WTutN','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','all','stderr','tyDND','itvRV','parallelVanillaRun','SZvzh','GclUn','log','wZwwD','map','parallelTestRun','test-file-failure','PDwUa','hUjvv','length','ljocY','test-file-success','cucumberWorker','push','failureCount','parallelCucumberRun','gqmnC','1782460VJpFgs','send','KvEeS','getStdout','Qdihj','4065384BqGlcv','cYOZW','worker_threads','WPciS','ksjyY','pipe','resolve','configuration','_child','7311378jIRMgq','prfwZ','5185112lVBubm','IzdMR','DuflO','Jplpf','NATES','worker','end','../../helpers/performance/performance-tester','iSmMs','21077742nYRUWG','Workers\x20failed\x20to\x20exit\x20gracefully','668508QeTAdW','emit','kASwn','1156509aoLSpi','Exception\x20in\x20sending\x20worker\x20message\x20','p-limit','info','test-file-start','platformIndex','reZjk','platforms','json','UPZph','vanillaWorker','../../helpers/test-observability/utils','jest-worker','postMessage','getStderr','format','error','config','platform-run-start','../../helpers/performance/constants','stop'];a57_0x899f=function(){return _0x2cb176;};return a57_0x899f();}const a57_0xeb97b2=a57_0x5236;(function(_0x2d11f1,_0x58afe0){const _0x140ee8=a57_0x5236,_0x522ffa=_0x2d11f1();while(!![]){try{const _0x57dc22=-parseInt(_0x140ee8(0x1ec))/0x1+-parseInt(_0x140ee8(0x1e9))/0x2+parseInt(_0x140ee8(0x1d3))/0x3+-parseInt(_0x140ee8(0x1de))/0x4+parseInt(_0x140ee8(0x1ce))/0x5+-parseInt(_0x140ee8(0x1dc))/0x6+parseInt(_0x140ee8(0x1e7))/0x7;if(_0x57dc22===_0x58afe0)break;else _0x522ffa['push'](_0x522ffa['shift']());}catch(_0x5728e3){_0x522ffa['push'](_0x522ffa['shift']());}}}(a57_0x899f,0xaf142));const Worker=require(a57_0xeb97b2(0x1f8))['Worker'],Emittery=require(a57_0xeb97b2(0x20a)),pLimit=require(a57_0xeb97b2(0x1ee)),{parentPort}=require(a57_0xeb97b2(0x1d5)),util=require('util'),logger=require('../../helpers/logger')[a57_0xeb97b2(0x20b)],PerformanceTester=require(a57_0xeb97b2(0x1e5)),PerformanceEvents=require(a57_0xeb97b2(0x1ff))['EVENTS'],{debug}=require(a57_0xeb97b2(0x1f7)),TestHubHandler=require(a57_0xeb97b2(0x207));function a57_0x5236(_0x232e72,_0x34de03){const _0x899fb0=a57_0x899f();return a57_0x5236=function(_0x5236cf,_0x27e54f){_0x5236cf=_0x5236cf-0x1b9;let _0x105760=_0x899fb0[_0x5236cf];return _0x105760;},a57_0x5236(_0x232e72,_0x34de03);}exports[a57_0xeb97b2(0x1c2)]=(_0x153851,_0x755828,_0x16873d)=>new Promise(async _0x214fdc=>{const _0xdb8328=a57_0xeb97b2,_0x3f5005={'prfwZ':_0xdb8328(0x1cb),'GclUn':function(_0x2d6b2b,_0x2313ba){return _0x2d6b2b+_0x2313ba;},'ksjyY':_0xdb8328(0x202),'ZIDrk':_0xdb8328(0x1e8),'reZjk':function(_0x5f1567,_0xa3c20c){return _0x5f1567(_0xa3c20c);},'itvRV':_0xdb8328(0x1f0),'JFMdN':_0xdb8328(0x206),'SZvzh':_0xdb8328(0x1e3),'fnBZU':_0xdb8328(0x1f4),'lINBc':_0xdb8328(0x1d8),'fKEVT':function(_0x17dace,_0x50bf2e){return _0x17dace*_0x50bf2e;},'vUtGa':_0xdb8328(0x1c8),'hUjvv':_0xdb8328(0x1c3)},_0x500ddb=_0x16873d[_0xdb8328(0x1fd)],_0x1d34ab={},_0x2c24af=new Worker(require['resolve'](_0x3f5005['JFMdN']),{'exposedMethods':[_0x3f5005[_0xdb8328(0x1bd)]],'forkOptions':{'serialization':_0x3f5005['fnBZU'],'stdio':_0x3f5005['lINBc']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x3f5005[_0xdb8328(0x208)](_0x755828,0x1),'enableWorkerThreads':!![]}),_0x5b90a3=new Emittery();_0x5b90a3['on'](_0x3f5005['vUtGa'],_0x598040=>{const _0x176de9=_0xdb8328;_0x1d34ab[_0x598040[0x0]]?(_0x1d34ab[_0x598040[0x0]][_0x3f5005['prfwZ']]=_0x3f5005[_0x176de9(0x1be)](_0x1d34ab[_0x598040[0x0]][_0x3f5005[_0x176de9(0x1dd)]],_0x598040[0x1][_0x3f5005[_0x176de9(0x1dd)]]),_0x1d34ab[_0x598040[0x0]][_0x3f5005[_0x176de9(0x1d7)]]=[..._0x1d34ab[_0x598040[0x0]][_0x3f5005[_0x176de9(0x1d7)]],..._0x598040[0x1][_0x3f5005[_0x176de9(0x1d7)]]]):_0x1d34ab[_0x598040[0x0]]={'failureCount':_0x598040[0x1][_0x3f5005[_0x176de9(0x1dd)]],'results':[..._0x598040[0x1][_0x3f5005[_0x176de9(0x1d7)]]]};}),_0x5b90a3['on'](_0x3f5005[_0xdb8328(0x1c5)],_0x1fe926=>console[_0xdb8328(0x1bf)](_0x1fe926[0x1]));_0x2c24af[_0xdb8328(0x1d1)]()&&_0x2c24af[_0xdb8328(0x1d1)]()[_0xdb8328(0x1d8)](process['stdout']);_0x2c24af['getStderr']()&&_0x2c24af[_0xdb8328(0x1fa)]()['pipe'](process[_0xdb8328(0x1b9)]);const _0x48ce81=async()=>{const _0x456173=_0xdb8328,{forceExited:_0x24bd5f}=await _0x2c24af['end']();_0x24bd5f&&console[_0x456173(0x1fc)](_0x3f5005['ZIDrk']);try{await TestHubHandler[_0x456173(0x200)]();}catch(_0x4831bc){_0x3f5005[_0x456173(0x1f2)](debug,_0x456173(0x213)+_0x4831bc);}_0x3f5005[_0x456173(0x1f2)](_0x214fdc,_0x1d34ab);},_0x467f97=_0x3f5005[_0xdb8328(0x1f2)](pLimit,_0x3f5005['fKEVT'](_0x755828,0x1)),_0x374af2=_0x3305dc=>_0x467f97(async()=>{const _0x1a624b=_0xdb8328;await _0x5b90a3['emit'](_0x3f5005[_0x1a624b(0x1bb)],_0x3305dc);const _0x21747a=_0x2c24af['worker'](_0x3305dc,_0x500ddb);try{parentPort&&_0x21747a['UNSTABLE_onCustomMessage'](_0x21c4a5=>{const _0x5e3d72=_0x1a624b;try{parentPort[_0x5e3d72(0x1f9)](_0x21c4a5);}catch(_0x45b21b){logger['debug'](_0x5e3d72(0x1ed)+util[_0x5e3d72(0x1fb)](_0x45b21b));}});}catch(_0x515847){logger[_0x1a624b(0x203)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x515847));}return _0x21747a;});PerformanceTester[_0xdb8328(0x1e4)](PerformanceEvents['SDK_SETUP']),Promise[_0xdb8328(0x214)](_0x153851[_0xdb8328(0x1c1)](_0x3ecb18=>_0x374af2(_0x3ecb18)[_0xdb8328(0x20f)](_0x21ec84=>_0x5b90a3[_0xdb8328(0x1ea)](_0xdb8328(0x1c8),[_0x3ecb18[_0xdb8328(0x1da)][_0xdb8328(0x20d)],_0x21ec84]),_0x558c40=>_0x5b90a3['emit'](_0xdb8328(0x1c3),[_0x3ecb18,_0x558c40]))))[_0xdb8328(0x20f)](_0x48ce81,_0x48ce81);}),exports[a57_0xeb97b2(0x1cc)]=(_0x54964a,_0xef3e,_0x122ac2,_0x22b51b,_0x2cdee9)=>{const _0x59b868=a57_0xeb97b2,_0x439d5c={'uFHQz':_0x59b868(0x1fe),'iSmMs':_0x59b868(0x1e8),'gqmnC':function(_0x1ff264,_0x37ed39){return _0x1ff264(_0x37ed39);},'eChhp':'./testWorker.js','akRIQ':_0x59b868(0x1c9),'IzdMR':_0x59b868(0x1f4),'WPciS':_0x59b868(0x1d8),'PDwUa':'platform-run-success','Qdihj':_0x59b868(0x210),'UcGZW':function(_0x27bdd3,_0x33706d){return _0x27bdd3(_0x33706d);}};return new Promise(_0x3ed0c1=>{const _0x1b8731=_0x59b868,_0x1bc00e={'wZwwD':_0x439d5c[_0x1b8731(0x1e6)],'DuflO':function(_0x43a81a,_0x7435e2){const _0x5e470f=_0x1b8731;return _0x439d5c[_0x5e470f(0x1cd)](_0x43a81a,_0x7435e2);}},_0xbd4a1f=[],_0x15b942=new Worker(require[_0x1b8731(0x1d9)](_0x439d5c['eChhp']),{'exposedMethods':[_0x439d5c[_0x1b8731(0x201)]],'forkOptions':{'serialization':_0x439d5c[_0x1b8731(0x1df)],'stdio':_0x439d5c[_0x1b8731(0x1d6)]},'numWorkers':_0x54964a[_0x1b8731(0x1c6)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x242e4a=new Emittery();_0x242e4a['on'](_0x439d5c[_0x1b8731(0x1c4)],_0x134b3f=>{const _0x393008=_0x1b8731;_0xbd4a1f[_0x393008(0x1ca)]([_0x134b3f[0x0],_0x134b3f[0x1]]);}),_0x242e4a['on'](_0x439d5c[_0x1b8731(0x1d2)],_0x3bde11=>console[_0x1b8731(0x1bf)](_0x3bde11[0x1]));_0x15b942[_0x1b8731(0x1d1)]()&&_0x15b942[_0x1b8731(0x1d1)]()[_0x1b8731(0x1d8)](process[_0x1b8731(0x204)]);_0x15b942[_0x1b8731(0x1fa)]()&&_0x15b942[_0x1b8731(0x1fa)]()['pipe'](process['stderr']);const _0x55c927=async()=>{const _0x47b400=_0x1b8731,{forceExited:_0x3198e7}=await _0x15b942['end']();_0x3198e7&&console[_0x47b400(0x1fc)](_0x1bc00e[_0x47b400(0x1c0)]),_0x1bc00e[_0x47b400(0x1e0)](_0x3ed0c1,_0xbd4a1f);},_0x46f1d3=_0x439d5c[_0x1b8731(0x20e)](pLimit,_0x54964a[_0x1b8731(0x1c6)]||0x1),_0x16fd5e=(_0x4c2a62,_0x2b353f)=>_0x46f1d3(async()=>{const _0x538672=_0x1b8731;return await _0x242e4a[_0x538672(0x1ea)](_0x439d5c['uFHQz'],_0x4c2a62),_0xef3e['platformCaps']=_0x122ac2[_0x538672(0x1f3)][_0x2b353f],_0xef3e[_0x538672(0x1f1)]=_0x2b353f,_0x15b942[_0x538672(0x1c9)](_0x4c2a62,_0xef3e,_0x122ac2,_0x22b51b,_0x2cdee9);});Promise[_0x1b8731(0x214)](_0x54964a[_0x1b8731(0x1c1)]((_0x275818,_0x5527c5)=>_0x16fd5e(_0x275818,_0x5527c5)['then'](_0x392b0c=>_0x242e4a[_0x1b8731(0x1ea)]('platform-run-success',[_0x275818,_0x392b0c]),_0x3e14b7=>_0x242e4a['emit']('platform-run-failure',[_0x275818,_0x3e14b7]))))['then'](_0x55c927,_0x55c927);});},exports[a57_0xeb97b2(0x1bc)]=(_0x5c43ed,_0x1455db)=>new Promise(_0x33fa9e=>{const _0x31b596=a57_0xeb97b2,_0x2839dd={'InojX':function(_0x59f3c7,_0x1cc8e4){return _0x59f3c7===_0x1cc8e4;},'ljocY':function(_0x1b3116,_0x57998f){return _0x1b3116!==_0x57998f;},'cYOZW':_0x31b596(0x209),'tyDND':_0x31b596(0x1e8),'UPZph':function(_0x258989,_0x289c16){return _0x258989(_0x289c16);},'Jplpf':_0x31b596(0x206),'FHFho':_0x31b596(0x1f6),'kASwn':_0x31b596(0x1f4),'KvEeS':_0x31b596(0x1d8),'WTutN':_0x31b596(0x1c8),'LdtiF':'test-file-failure','PpCyF':function(_0x123bd7,_0x429d3b){return _0x123bd7(_0x429d3b);}},_0x208ae6={},_0x5d2b43=new Worker(require[_0x31b596(0x1d9)](_0x2839dd[_0x31b596(0x1e1)]),{'exposedMethods':[_0x2839dd['FHFho']],'forkOptions':{'serialization':_0x2839dd[_0x31b596(0x1eb)],'stdio':_0x2839dd[_0x31b596(0x1d0)]},'numWorkers':_0x1455db,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x105235=new Emittery();_0x105235['on'](_0x2839dd[_0x31b596(0x212)],_0x11fd3a=>{const _0x3654a8=_0x31b596;_0x11fd3a[0x0]&&logger[_0x3654a8(0x1ef)]('Running\x20'+_0x11fd3a[0x1]+'\x20for',_0x11fd3a[0x0]);}),_0x105235['on'](_0x2839dd[_0x31b596(0x211)],_0x34fb19=>{const _0x591237=_0x31b596;process[_0x591237(0x205)]=0x1;});_0x5d2b43[_0x31b596(0x1d1)]()&&_0x5d2b43[_0x31b596(0x1d1)]()[_0x31b596(0x1d8)](process[_0x31b596(0x204)]);_0x5d2b43[_0x31b596(0x1fa)]()&&_0x5d2b43[_0x31b596(0x1fa)]()['pipe'](process['stderr']);const _0xbaa012=async()=>{const _0x12dbd2=_0x31b596;let _0x3b5eb=0x0;const _0x254ecb=_0x5d2b43['_workerPool']['getWorkers'](),_0x37e0cc=()=>{},_0xc19932=_0x254ecb['map'](async _0x10c15e=>{const _0x3cc81f=a57_0x5236,_0x3e29e8={'NATES':function(_0x5bbe5a,_0x48b4d9){const _0x3eca6d=a57_0x5236;return _0x2839dd[_0x3eca6d(0x20c)](_0x5bbe5a,_0x48b4d9);},'SawtJ':function(_0x5dfe68,_0x62882c){const _0x2531e2=a57_0x5236;return _0x2839dd[_0x2531e2(0x1c7)](_0x5dfe68,_0x62882c);}};_0x10c15e[_0x3cc81f(0x1cf)]([0x2,![]],_0x37e0cc,_0x37e0cc,_0x37e0cc),_0x10c15e[_0x3cc81f(0x1db)]['on'](_0x2839dd[_0x3cc81f(0x1d4)],_0x538a9d=>{const _0xd6db5a=_0x3cc81f;_0x3e29e8[_0xd6db5a(0x1e2)](_0x3b5eb,0x0)&&_0x3e29e8['SawtJ'](_0x538a9d,0x0)&&(_0x3b5eb=_0x538a9d);}),await _0x10c15e['waitForExit']();});await Promise[_0x12dbd2(0x214)](_0xc19932),process[_0x12dbd2(0x205)]=_0x3b5eb;const {forceExited:_0x46370e}=await _0x5d2b43['end']();_0x46370e&&console[_0x12dbd2(0x1fc)](_0x2839dd[_0x12dbd2(0x1ba)]),_0x2839dd[_0x12dbd2(0x1f5)](_0x33fa9e,_0x208ae6);},_0x18e4c8=_0x2839dd['PpCyF'](pLimit,_0x1455db),_0x27237b=_0x12971a=>_0x18e4c8(async()=>{const _0x2036e2=_0x31b596;return _0x5d2b43[_0x2036e2(0x1f6)](_0x12971a);});Promise[_0x31b596(0x214)](_0x5c43ed[_0x31b596(0x1c1)](_0x27af2f=>_0x27237b(_0x27af2f)[_0x31b596(0x20f)](_0xe82922=>_0x105235[_0x31b596(0x1ea)]('test-file-success',[_0x27af2f[_0x31b596(0x1da)]['platform'],_0x27af2f[_0x31b596(0x1da)]['file']]),_0x1ab03c=>_0x105235[_0x31b596(0x1ea)](_0x31b596(0x1c3),[_0x27af2f,_0x1ab03c]))))[_0x31b596(0x20f)](_0xbaa012,_0xbaa012);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x1575b5=a58_0x2b5c;function a58_0x3326(){const _0x5b22d0=['VtSzN','BwDYv','formatter','jyHgL','875464RnzXqh','runVanillaTest','end','vanilla','XEOnz','2950801DefyVA','625402hoGswo','SDK_POST_TEST','../../helpers/performance/constants','../launcher/launcher','539230lxSisC','lbjKV','whwPz','44084hOtOrR','8njmKoQ','2502580qCljbk','stopMonitoring','configuration','261FkvkyZ','run','EVENTS','3tfHTLH','runCucumberTest','startMonitoring','cucumber-js','EmULV','5581488IgLwFh'];a58_0x3326=function(){return _0x5b22d0;};return a58_0x3326();}(function(_0x42fd00,_0x2426a9){const _0x48cf5b=a58_0x2b5c,_0x1f8926=_0x42fd00();while(!![]){try{const _0x2971a6=-parseInt(_0x48cf5b(0x98))/0x1+-parseInt(_0x48cf5b(0x92))/0x2+-parseInt(_0x48cf5b(0x88))/0x3*(-parseInt(_0x48cf5b(0x9f))/0x4)+parseInt(_0x48cf5b(0xa1))/0x5+-parseInt(_0x48cf5b(0x8d))/0x6+parseInt(_0x48cf5b(0x97))/0x7*(parseInt(_0x48cf5b(0xa0))/0x8)+-parseInt(_0x48cf5b(0xa4))/0x9*(-parseInt(_0x48cf5b(0x9c))/0xa);if(_0x2971a6===_0x2426a9)break;else _0x1f8926['push'](_0x1f8926['shift']());}catch(_0x1d81ab){_0x1f8926['push'](_0x1f8926['shift']());}}}(a58_0x3326,0x7aea9));const PerformanceEvents=require(a58_0x1575b5(0x9a))[a58_0x1575b5(0x87)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require('../../helpers/test-observability/utils');function a58_0x2b5c(_0x1aab02,_0x1da3e5){const _0x332694=a58_0x3326();return a58_0x2b5c=function(_0x2b5c41,_0x1358f4){_0x2b5c41=_0x2b5c41-0x87;let _0x4c07fe=_0x332694[_0x2b5c41];return _0x4c07fe;},a58_0x2b5c(_0x1aab02,_0x1da3e5);}exports['runTest']=async(_0x1d33e1,_0x15f4fd)=>{const _0x41768a=a58_0x1575b5,_0x4d2907={'jyHgL':function(_0x1fdbd9,_0x5cbeb1){return _0x1fdbd9(_0x5cbeb1);},'VtSzN':_0x41768a(0x9b),'BwDYv':'mocha'};PerformanceTester[_0x41768a(0x8a)]();const _0x3ffcc=_0x4d2907[_0x41768a(0x91)](require,_0x4d2907[_0x41768a(0x8e)]),_0x3312ba=new _0x3ffcc(_0x4d2907[_0x41768a(0x8f)],_0x1d33e1,_0x15f4fd),_0x309589=await _0x3312ba[_0x41768a(0xa5)]();return PerformanceTester[_0x41768a(0x94)](PerformanceEvents[_0x41768a(0x99)]),await _0x4d2907[_0x41768a(0x91)](sleep,0x3e8),PerformanceTester[_0x41768a(0xa2)](),_0x309589;},exports[a58_0x1575b5(0x89)]=async(_0x3a28bf,_0x27334d,_0x21abef,_0x24d1e4,_0x2fb701)=>{const _0x34a14c=a58_0x1575b5,_0x41119c={'EmULV':function(_0x4ab817,_0x21bb27){return _0x4ab817(_0x21bb27);},'rIhIv':_0x34a14c(0x9b),'Hyghg':_0x34a14c(0x8b)},_0x18bf34={'capability':_0x3a28bf,..._0x27334d},_0x53cb53={};_0x53cb53[_0x34a14c(0xa3)]=_0x18bf34,_0x53cb53[_0x34a14c(0x90)]=_0x2fb701;const _0x15cf50=_0x53cb53,_0x1f384d=_0x41119c[_0x34a14c(0x8c)](require,_0x41119c['rIhIv']),_0x1cf411=new _0x1f384d(_0x41119c['Hyghg'],_0x15cf50,_0x21abef,_0x24d1e4);return await _0x1cf411[_0x34a14c(0xa5)]();},exports[a58_0x1575b5(0x93)]=async _0x33563b=>{const _0x2a1ebb=a58_0x1575b5,_0x13e160={'lbjKV':function(_0x322a07,_0x475fbd){return _0x322a07(_0x475fbd);},'XEOnz':_0x2a1ebb(0x9b),'whwPz':_0x2a1ebb(0x95)},_0x5f5925=_0x13e160[_0x2a1ebb(0x9d)](require,_0x13e160[_0x2a1ebb(0x96)]),_0x1d178b=new _0x5f5925(_0x13e160[_0x2a1ebb(0x9e)],_0x33563b);return await _0x1d178b[_0x2a1ebb(0xa5)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a59_0x535206=a59_0x3650;function a59_0x3650(_0x41c192,_0x3e11ff){const _0x44ada9=a59_0x44ad();return a59_0x3650=function(_0x3650dc,_0x2055ba){_0x3650dc=_0x3650dc-0x1da;let _0x21232a=_0x44ada9[_0x3650dc];return _0x21232a;},a59_0x3650(_0x41c192,_0x3e11ff);}(function(_0x1b602c,_0x2ede06){const _0x97f72e=a59_0x3650,_0x459b8a=_0x1b602c();while(!![]){try{const _0x1677bf=-parseInt(_0x97f72e(0x1e4))/0x1+-parseInt(_0x97f72e(0x1de))/0x2*(parseInt(_0x97f72e(0x1e1))/0x3)+parseInt(_0x97f72e(0x1dc))/0x4*(parseInt(_0x97f72e(0x1dd))/0x5)+parseInt(_0x97f72e(0x1e3))/0x6*(parseInt(_0x97f72e(0x1e0))/0x7)+parseInt(_0x97f72e(0x1da))/0x8*(parseInt(_0x97f72e(0x1e8))/0x9)+-parseInt(_0x97f72e(0x1db))/0xa+-parseInt(_0x97f72e(0x1e5))/0xb*(-parseInt(_0x97f72e(0x1e6))/0xc);if(_0x1677bf===_0x2ede06)break;else _0x459b8a['push'](_0x459b8a['shift']());}catch(_0x162066){_0x459b8a['push'](_0x459b8a['shift']());}}}(a59_0x44ad,0x2c9d8));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');exports[a59_0x535206(0x1df)]=async(_0xf30303,_0x4392cd)=>{const _0x3cb57e={'Uzpmn':function(_0x219dcf,_0x3d4147,_0x133ee9){return _0x219dcf(_0x3d4147,_0x133ee9);}};return await _0x3cb57e['Uzpmn'](runTest,_0xf30303,_0x4392cd);},exports['cucumberWorker']=async(_0x5486eb,_0xf3aea5,_0x5f045b,_0x1eb49a,_0x4cd0fb)=>{const _0x40f6b2=a59_0x535206,_0x597bed={'FSaNA':function(_0x27d4e1,_0x39e62b,_0xf56b6f,_0x1d1593,_0xeaa72c,_0x42993e){return _0x27d4e1(_0x39e62b,_0xf56b6f,_0x1d1593,_0xeaa72c,_0x42993e);}};return await _0x597bed[_0x40f6b2(0x1e2)](runCucumberTest,_0x5486eb,_0xf3aea5,_0x5f045b,_0x1eb49a,_0x4cd0fb);},exports[a59_0x535206(0x1e9)]=async _0x177396=>{const _0x2849b9=a59_0x535206,_0x538e62={'vctUs':function(_0x30712e,_0x14b309){return _0x30712e(_0x14b309);}};return await _0x538e62[_0x2849b9(0x1e7)](runVanillaTest,_0x177396);};function a59_0x44ad(){const _0x87601b=['45NufABA','2pLFeEi','worker','903Phjpdt','763839Jxjikb','FSaNA','1866kiPvZV','191224zuSkNF','11OaawXE','5406804XLFIlK','vctUs','9oOYoNi','vanillaWorker','1179112FeOWmm','95840FViOcQ','40hjxXhY'];a59_0x44ad=function(){return _0x87601b;};return a59_0x44ad();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x29e138=a56_0xa4c6;(function(_0x168697,_0x3909f2){const _0x5b85d4=a56_0xa4c6,_0x37fdb2=_0x168697();while(!![]){try{const _0x50ccc9=-parseInt(_0x5b85d4(0x18c))/0x1*(-parseInt(_0x5b85d4(0x15f))/0x2)+parseInt(_0x5b85d4(0x139))/0x3*(parseInt(_0x5b85d4(0x12e))/0x4)+-parseInt(_0x5b85d4(0x16f))/0x5*(-parseInt(_0x5b85d4(0x15c))/0x6)+-parseInt(_0x5b85d4(0x14e))/0x7+-parseInt(_0x5b85d4(0x16e))/0x8+parseInt(_0x5b85d4(0x15d))/0x9+-parseInt(_0x5b85d4(0x13e))/0xa*(parseInt(_0x5b85d4(0x156))/0xb);if(_0x50ccc9===_0x3909f2)break;else _0x37fdb2['push'](_0x37fdb2['shift']());}catch(_0x3c7168){_0x37fdb2['push'](_0x37fdb2['shift']());}}}(a56_0x2e2f,0x1cc6f));function a56_0xa4c6(_0x252713,_0xf0c601){const _0x2e2ff7=a56_0x2e2f();return a56_0xa4c6=function(_0xa4c61a,_0x3b7eaf){_0xa4c61a=_0xa4c61a-0x12d;let _0x342ce1=_0x2e2ff7[_0xa4c61a];return _0x342ce1;},a56_0xa4c6(_0x252713,_0xf0c601);}const constants=require(a56_0x29e138(0x159)),{nestedKeyValue}=require(a56_0x29e138(0x13b)),getBrowserstackCLI=()=>{const _0x2d4ef7=a56_0x29e138,_0x1c1faa={'ueLYt':function(_0x162ddb,_0xf24dfc){return _0x162ddb(_0xf24dfc);},'eLmju':_0x2d4ef7(0x17b)};return _0x1c1faa[_0x2d4ef7(0x14c)](require,_0x1c1faa['eLmju']);};class APIUtilityMethods{static[a56_0x29e138(0x178)](_0x15461a){const _0x35b2c8=a56_0x29e138,_0x331fe1={'AebMO':function(_0x4fff19){return _0x4fff19();},'tGwyE':function(_0xfc3e78,_0x4e50dd,_0x5bb303){return _0xfc3e78(_0x4e50dd,_0x5bb303);},'FRnGr':_0x35b2c8(0x17e),'UHisM':_0x35b2c8(0x16d),'ZczJx':_0x35b2c8(0x135),'vXJZy':function(_0x33e6ba,_0x26acc4){return _0x33e6ba===_0x26acc4;},'iFQKA':function(_0x2339ab,_0xd1b3d){return _0x2339ab+_0xd1b3d;}},_0x4fdd0e=_0x331fe1[_0x35b2c8(0x138)](getBrowserstackCLI),_0xdc17=_0x331fe1[_0x35b2c8(0x177)](nestedKeyValue,_0x4fdd0e[_0x35b2c8(0x173)]()[_0x35b2c8(0x130)](),[_0x331fe1[_0x35b2c8(0x167)],_0x331fe1['UHisM'],_0x331fe1[_0x35b2c8(0x175)]])||constants['BROWSERSTACK_API_URL'];if(!_0x15461a||_0x331fe1['vXJZy'](_0x15461a,''))return _0xdc17;const _0x36786b=_0xdc17['endsWith']('/')?_0xdc17:_0x331fe1[_0x35b2c8(0x163)](_0xdc17,'/');return new URL(_0x15461a,_0x36786b)[_0x35b2c8(0x150)]();}static[a56_0x29e138(0x172)](_0x4bfdb7){const _0x1f733f=a56_0x29e138,_0x25bfe7={'hhdQj':function(_0x1608ad){return _0x1608ad();},'ZWSeV':function(_0x10116f,_0x4a8c56,_0xfd1944){return _0x10116f(_0x4a8c56,_0xfd1944);},'vGQIW':_0x1f733f(0x17e),'kPmne':'edsInstrumentation','swBrt':_0x1f733f(0x135),'DosxD':function(_0x48ec9f,_0x41d099){return _0x48ec9f===_0x41d099;},'vROOx':function(_0x116691,_0x342803){return _0x116691+_0x342803;}},_0x531781=_0x25bfe7['hhdQj'](getBrowserstackCLI),_0x23b52a=_0x25bfe7[_0x1f733f(0x182)](nestedKeyValue,_0x531781[_0x1f733f(0x173)]()[_0x1f733f(0x130)](),[_0x25bfe7[_0x1f733f(0x16c)],_0x25bfe7[_0x1f733f(0x12d)],_0x25bfe7[_0x1f733f(0x153)]])||constants[_0x1f733f(0x157)];if(!_0x4bfdb7||_0x25bfe7[_0x1f733f(0x162)](_0x4bfdb7,''))return _0x23b52a;const _0x170cf2=_0x23b52a[_0x1f733f(0x134)]('/')?_0x23b52a:_0x25bfe7['vROOx'](_0x23b52a,'/');return new URL(_0x4bfdb7,_0x170cf2)[_0x1f733f(0x150)]();}static['getAutomateSessionStatusAPIUrl'](_0x14ab70){const _0xa76890=a56_0x29e138,_0x3a4623={'BugUb':function(_0x26e706){return _0x26e706();},'LcNne':function(_0x1e9a7e,_0x281ebd,_0x556af2){return _0x1e9a7e(_0x281ebd,_0x556af2);},'rRlIk':_0xa76890(0x17e),'vLcGK':'automate','hfXon':'api','KWPAv':function(_0x3e74cf,_0x36c9d2){return _0x3e74cf===_0x36c9d2;},'DQuKe':function(_0x3eaf90,_0xf8dfe7){return _0x3eaf90+_0xf8dfe7;}},_0x409b3c=_0x3a4623['BugUb'](getBrowserstackCLI),_0x520fb5=_0x3a4623[_0xa76890(0x18e)](nestedKeyValue,_0x409b3c[_0xa76890(0x173)]()[_0xa76890(0x130)](),[_0x3a4623[_0xa76890(0x188)],_0x3a4623[_0xa76890(0x136)],_0x3a4623[_0xa76890(0x151)]])||constants[_0xa76890(0x183)];if(!_0x14ab70||_0x3a4623[_0xa76890(0x186)](_0x14ab70,''))return _0x520fb5;const _0x2c09c2=_0x520fb5['endsWith']('/')?_0x520fb5:_0x3a4623[_0xa76890(0x12f)](_0x520fb5,'/');return new URL(_0x14ab70,_0x2c09c2)[_0xa76890(0x150)]();}static['getAppAutomateSessionStatusAPIUrl'](_0x3b5315){const _0x57c7ea=a56_0x29e138,_0x1d9b45={'gMoPw':function(_0x522dd8){return _0x522dd8();},'cJgOX':function(_0x203755,_0x344cc8,_0x55324a){return _0x203755(_0x344cc8,_0x55324a);},'BwUbr':_0x57c7ea(0x17e),'MtOcQ':_0x57c7ea(0x18a),'TaFGy':_0x57c7ea(0x135),'XSEqe':function(_0x27a939,_0x4b6064){return _0x27a939===_0x4b6064;},'BlbOO':function(_0x4df154,_0x140768){return _0x4df154+_0x140768;}},_0x137955=_0x1d9b45[_0x57c7ea(0x185)](getBrowserstackCLI),_0x16c1c6=_0x1d9b45[_0x57c7ea(0x179)](nestedKeyValue,_0x137955[_0x57c7ea(0x173)]()['getConfig'](),[_0x1d9b45[_0x57c7ea(0x149)],_0x1d9b45[_0x57c7ea(0x18b)],_0x1d9b45[_0x57c7ea(0x187)]])||constants[_0x57c7ea(0x183)];if(!_0x3b5315||_0x1d9b45[_0x57c7ea(0x184)](_0x3b5315,''))return _0x16c1c6;const _0x47406a=_0x16c1c6['endsWith']('/')?_0x16c1c6:_0x1d9b45['BlbOO'](_0x16c1c6,'/');return new URL(_0x3b5315,_0x47406a)[_0x57c7ea(0x150)]();}static[a56_0x29e138(0x154)](_0x472e47){const _0x2ac0e8=a56_0x29e138,_0x5a1193={'FnDEZ':function(_0xfbec5c){return _0xfbec5c();},'mJhxC':function(_0x3b0e57,_0x360f57,_0x5d236f){return _0x3b0e57(_0x360f57,_0x5d236f);},'cBaER':_0x2ac0e8(0x17e),'YHKpB':_0x2ac0e8(0x16d),'sOQND':_0x2ac0e8(0x135),'JDnYa':function(_0x2b582c,_0x39be15){return _0x2b582c===_0x39be15;},'AhQAU':function(_0x7f11a3,_0x53f756){return _0x7f11a3+_0x53f756;}},_0x5cb01a=_0x5a1193['FnDEZ'](getBrowserstackCLI),_0x23f411=_0x5a1193[_0x2ac0e8(0x15a)](nestedKeyValue,_0x5cb01a[_0x2ac0e8(0x173)]()['getConfig'](),[_0x5a1193[_0x2ac0e8(0x165)],_0x5a1193['YHKpB'],_0x5a1193[_0x2ac0e8(0x145)]])||constants['BROWSERSTACK_API_URL'];if(!_0x472e47||_0x5a1193['JDnYa'](_0x472e47,''))return _0x23f411;const _0x3ae2ed=_0x23f411[_0x2ac0e8(0x134)]('/')?_0x23f411:_0x5a1193['AhQAU'](_0x23f411,'/');return new URL(_0x472e47,_0x3ae2ed)[_0x2ac0e8(0x150)]();}static['getAppAutomateSessionNameAPIUrl'](_0x34d2c3){const _0x354eda=a56_0x29e138,_0x18b545={'zlRhZ':function(_0x28bd9a){return _0x28bd9a();},'RMcTW':function(_0x3f0b55,_0x2cc7b7,_0x362953){return _0x3f0b55(_0x2cc7b7,_0x362953);},'ChHUu':'apis','aQqRf':_0x354eda(0x18a),'hBdMj':_0x354eda(0x135),'jyxji':function(_0x56ec32,_0x222d08){return _0x56ec32===_0x222d08;},'gDVbT':function(_0x7233d,_0x389b7b){return _0x7233d+_0x389b7b;}},_0x52ccb1=_0x18b545[_0x354eda(0x158)](getBrowserstackCLI),_0x9c5886=_0x18b545[_0x354eda(0x16a)](nestedKeyValue,_0x52ccb1[_0x354eda(0x173)]()['getConfig'](),[_0x18b545[_0x354eda(0x13d)],_0x18b545['aQqRf'],_0x18b545[_0x354eda(0x17f)]])||constants[_0x354eda(0x183)];if(!_0x34d2c3||_0x18b545[_0x354eda(0x15b)](_0x34d2c3,''))return _0x9c5886;const _0x3aa133=_0x9c5886[_0x354eda(0x134)]('/')?_0x9c5886:_0x18b545[_0x354eda(0x18d)](_0x9c5886,'/');return new URL(_0x34d2c3,_0x3aa133)[_0x354eda(0x150)]();}static['getAutomateSessionsListAPIUrl'](_0x1398de){const _0x5964d0=a56_0x29e138,_0x196932={'POBek':function(_0xf4c38b){return _0xf4c38b();},'bxkKG':function(_0x58aaa7,_0x528901,_0x29acdb){return _0x58aaa7(_0x528901,_0x29acdb);},'brfBp':_0x5964d0(0x17e),'Qmlea':_0x5964d0(0x16d),'mMjHb':_0x5964d0(0x135),'KtSpi':function(_0x36d68e,_0x2fb008){return _0x36d68e===_0x2fb008;},'WIQtw':function(_0x58dfe9,_0x1bb769){return _0x58dfe9+_0x1bb769;}},_0x5edfb3=_0x196932[_0x5964d0(0x16b)](getBrowserstackCLI),_0x499076=_0x196932[_0x5964d0(0x152)](nestedKeyValue,_0x5edfb3[_0x5964d0(0x173)]()['getConfig'](),[_0x196932[_0x5964d0(0x181)],_0x196932[_0x5964d0(0x14f)],_0x196932[_0x5964d0(0x174)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1398de||_0x196932[_0x5964d0(0x13c)](_0x1398de,''))return _0x499076;const _0x599adf=_0x499076[_0x5964d0(0x134)]('/')?_0x499076:_0x196932[_0x5964d0(0x13a)](_0x499076,'/');return new URL(_0x1398de,_0x599adf)[_0x5964d0(0x150)]()['replace'](/^https?:\/\//,'');}static['getAppAutomateSessionsListAPIUrl'](_0x10acf9){const _0x30b36f=a56_0x29e138,_0x475c6a={'rGWXZ':function(_0x1e03e5){return _0x1e03e5();},'atVJe':function(_0x5d6bce,_0x4ada42,_0x3a6698){return _0x5d6bce(_0x4ada42,_0x3a6698);},'fKTjE':_0x30b36f(0x17e),'RCEKO':_0x30b36f(0x18a),'iBeNP':_0x30b36f(0x135),'qWFJK':function(_0x5c1e48,_0x411693){return _0x5c1e48===_0x411693;},'eCoab':function(_0x9bcb3f,_0x1ec692){return _0x9bcb3f+_0x1ec692;}},_0xe12bb6=_0x475c6a[_0x30b36f(0x131)](getBrowserstackCLI),_0x336d56=_0x475c6a['atVJe'](nestedKeyValue,_0xe12bb6[_0x30b36f(0x173)]()[_0x30b36f(0x130)](),[_0x475c6a['fKTjE'],_0x475c6a[_0x30b36f(0x160)],_0x475c6a['iBeNP']])||constants['APP_UPLOAD_URL'];if(!_0x10acf9||_0x475c6a[_0x30b36f(0x144)](_0x10acf9,''))return _0x336d56;const _0x2d7701=_0x336d56[_0x30b36f(0x134)]('/')?_0x336d56:_0x475c6a[_0x30b36f(0x168)](_0x336d56,'/');return new URL(_0x10acf9,_0x2d7701)[_0x30b36f(0x150)]()[_0x30b36f(0x189)](/^https?:\/\//,'');}static[a56_0x29e138(0x190)](_0x4d5353){const _0x308680=a56_0x29e138,_0x1cd92c={'RdOpt':function(_0xba0980){return _0xba0980();},'WguRp':function(_0x14a7b2,_0x2fcec3,_0x41ac38){return _0x14a7b2(_0x2fcec3,_0x41ac38);},'rPHMt':_0x308680(0x17e),'QdvqW':_0x308680(0x17d),'zhiNe':_0x308680(0x147),'frVIA':function(_0x3f33e7,_0x17cfa6){return _0x3f33e7===_0x17cfa6;},'cATIc':function(_0x2daffc,_0x3a4ec2){return _0x2daffc+_0x3a4ec2;}},_0x24ff77=_0x1cd92c[_0x308680(0x13f)](getBrowserstackCLI),_0x1fe462=_0x1cd92c['WguRp'](nestedKeyValue,_0x24ff77['getInstance']()[_0x308680(0x130)](),[_0x1cd92c[_0x308680(0x142)],_0x1cd92c['QdvqW'],_0x1cd92c[_0x308680(0x170)]])||constants[_0x308680(0x176)];if(!_0x4d5353||_0x1cd92c['frVIA'](_0x4d5353,''))return _0x1fe462;const _0x59aef8=_0x1fe462[_0x308680(0x134)]('/')?_0x1fe462:_0x1cd92c['cATIc'](_0x1fe462,'/');return new URL(_0x4d5353,_0x59aef8)[_0x308680(0x150)]();}static[a56_0x29e138(0x18f)](_0x5f5030){const _0x5de12f=a56_0x29e138,_0x40ec1e={'XZbss':function(_0xda3a6b){return _0xda3a6b();},'rJUlN':function(_0x362773,_0x3e9e8b,_0x5bbf50){return _0x362773(_0x3e9e8b,_0x5bbf50);},'OEKub':_0x5de12f(0x17e),'ouPkL':_0x5de12f(0x16d),'irjtc':'cdp','WGcVP':'wss:','lQCMF':function(_0x20c343,_0x3c0d67){return _0x20c343===_0x3c0d67;},'XhFpD':function(_0x5170b2,_0x3f4607){return _0x5170b2+_0x3f4607;},'lnmpS':_0x5de12f(0x166)},_0x4293f1=_0x40ec1e[_0x5de12f(0x132)](getBrowserstackCLI),_0x4a6663=_0x40ec1e[_0x5de12f(0x180)](nestedKeyValue,_0x4293f1[_0x5de12f(0x173)]()[_0x5de12f(0x130)](),[_0x40ec1e['OEKub'],_0x40ec1e[_0x5de12f(0x143)],_0x40ec1e['irjtc']]),_0x1df9a8=(_0x4a6663?_0x4a6663['replace'](/^https:/,_0x40ec1e[_0x5de12f(0x141)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x1bdb4e;if(!_0x5f5030||_0x40ec1e[_0x5de12f(0x148)](_0x5f5030,''))_0x1bdb4e=_0x1df9a8;else{const _0x5dc771=_0x1df9a8[_0x5de12f(0x134)]('/')?_0x1df9a8:_0x40ec1e[_0x5de12f(0x133)](_0x1df9a8,'/');_0x1bdb4e=new URL(_0x5f5030,_0x5dc771)[_0x5de12f(0x150)]();}return!_0x1bdb4e[_0x5de12f(0x134)](_0x40ec1e[_0x5de12f(0x140)])&&(_0x1bdb4e+=_0x40ec1e[_0x5de12f(0x140)]),_0x1bdb4e;}static['getPuppeteerHubUrl'](_0x35b6b3){const _0x9481d7=a56_0x29e138,_0x14e2f9={'yNrCS':function(_0x1341ef){return _0x1341ef();},'sEvDj':function(_0x3c6727,_0x2e46dc,_0x210664){return _0x3c6727(_0x2e46dc,_0x210664);},'LOKrW':'apis','BtEaS':_0x9481d7(0x16d),'KWWBw':'cdp','cxqhh':_0x9481d7(0x14b),'Kgryd':function(_0x3fcc9c,_0x3c1b47){return _0x3fcc9c===_0x3c1b47;},'ItmSB':function(_0x4db552,_0x2e5951){return _0x4db552+_0x2e5951;},'FUdar':_0x9481d7(0x155)},_0x303bc1=_0x14e2f9[_0x9481d7(0x161)](getBrowserstackCLI),_0x58d3de=_0x14e2f9[_0x9481d7(0x146)](nestedKeyValue,_0x303bc1['getInstance']()[_0x9481d7(0x130)](),[_0x14e2f9[_0x9481d7(0x14d)],_0x14e2f9[_0x9481d7(0x137)],_0x14e2f9[_0x9481d7(0x17a)]]),_0x278b5f=(_0x58d3de?_0x58d3de[_0x9481d7(0x189)](/^https:/,_0x14e2f9[_0x9481d7(0x14a)]):null)||constants[_0x9481d7(0x15e)];let _0x345e63;if(!_0x35b6b3||_0x14e2f9[_0x9481d7(0x171)](_0x35b6b3,''))_0x345e63=_0x278b5f;else{const _0x21d9b7=_0x278b5f[_0x9481d7(0x134)]('/')?_0x278b5f:_0x14e2f9[_0x9481d7(0x164)](_0x278b5f,'/');_0x345e63=new URL(_0x35b6b3,_0x21d9b7)[_0x9481d7(0x150)]();}return!_0x345e63[_0x9481d7(0x134)](_0x14e2f9['FUdar'])&&(_0x345e63+=_0x14e2f9[_0x9481d7(0x17c)]),_0x345e63;}}module[a56_0x29e138(0x169)]=APIUtilityMethods;function a56_0x2e2f(){const _0x27dea8=['tGwyE','getBStackAPIUrl','cJgOX','KWWBw','../v2/browserstackCLI','FUdar','observability','apis','hBdMj','rJUlN','brfBp','ZWSeV','BROWSERSTACK_API_URL','XSEqe','gMoPw','KWPAv','TaFGy','rRlIk','replace','appAutomate','MtOcQ','47rUgBjD','gDVbT','LcNne','getPlaywrightHubUrl','getAutoCaptureLogsAPIUrl','kPmne','36gEmnXq','DQuKe','getConfig','rGWXZ','XZbss','XhFpD','endsWith','api','vLcGK','BtEaS','AebMO','57rrFkiW','WIQtw','./sharedUtils','KtSpi','ChHUu','1010URYrQg','RdOpt','lnmpS','WGcVP','rPHMt','ouPkL','qWFJK','sOQND','sEvDj','upload','lQCMF','BwUbr','cxqhh','wss:','ueLYt','LOKrW','388640duBnNI','Qmlea','toString','hfXon','bxkKG','swBrt','getAutomateSessionNameAPIUrl','/puppeteer?caps=','18414JhvrIU','EDS_URL','zlRhZ','./constants','mJhxC','jyxji','429018yDXdTe','127197ZZaIPp','PUPPETEER_HUB_URL','8882LpAGGN','RCEKO','yNrCS','DosxD','iFQKA','ItmSB','cBaER','/playwright?caps=','FRnGr','eCoab','exports','RMcTW','POBek','vGQIW','automate','760600zxrWdG','15bVAWIH','zhiNe','Kgryd','getEdsInstrumentationAPIUrl','getInstance','mMjHb','ZczJx','OBSERVABILITY_UPLOAD_URL'];a56_0x2e2f=function(){return _0x27dea8;};return a56_0x2e2f();}
|
|
1
|
+
const a60_0x160bbc=a60_0x298a;function a60_0x298a(_0x4682f4,_0x2d4e11){const _0x5ec36d=a60_0x5ec3();return a60_0x298a=function(_0x298a73,_0x54ae3a){_0x298a73=_0x298a73-0x81;let _0x55ca80=_0x5ec36d[_0x298a73];return _0x55ca80;},a60_0x298a(_0x4682f4,_0x2d4e11);}(function(_0x214a6a,_0x50b909){const _0x3ff7f4=a60_0x298a,_0x375eb2=_0x214a6a();while(!![]){try{const _0x5d9c42=-parseInt(_0x3ff7f4(0xa3))/0x1*(parseInt(_0x3ff7f4(0xde))/0x2)+-parseInt(_0x3ff7f4(0xc3))/0x3+-parseInt(_0x3ff7f4(0xcc))/0x4+parseInt(_0x3ff7f4(0x8c))/0x5+-parseInt(_0x3ff7f4(0xb3))/0x6*(-parseInt(_0x3ff7f4(0x8b))/0x7)+-parseInt(_0x3ff7f4(0xd9))/0x8+-parseInt(_0x3ff7f4(0x86))/0x9*(-parseInt(_0x3ff7f4(0x94))/0xa);if(_0x5d9c42===_0x50b909)break;else _0x375eb2['push'](_0x375eb2['shift']());}catch(_0x34b597){_0x375eb2['push'](_0x375eb2['shift']());}}}(a60_0x5ec3,0x64f6e));const constants=require(a60_0x160bbc(0xc0)),{nestedKeyValue}=require(a60_0x160bbc(0xa9)),getBrowserstackCLI=()=>{const _0x357581=a60_0x160bbc,_0xbfa54a={'PVbzR':function(_0x5c16d9,_0x1be261){return _0x5c16d9(_0x1be261);},'GeRVP':_0x357581(0x9a)};return _0xbfa54a['PVbzR'](require,_0xbfa54a[_0x357581(0xa1)]);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x2c3b34){const _0x35da2b=a60_0x160bbc,_0x113391={'ZmPDC':function(_0x37ae4e){return _0x37ae4e();},'GWYMY':function(_0x3e5d1c,_0x2eaf6d,_0x12ac3b){return _0x3e5d1c(_0x2eaf6d,_0x12ac3b);},'DeJdf':_0x35da2b(0xb6),'vMCJp':_0x35da2b(0x8f),'rApiT':'api','hMFeH':function(_0x1e7647,_0x2f3913){return _0x1e7647===_0x2f3913;},'YTzeA':function(_0x5c9352,_0x41df06){return _0x5c9352+_0x41df06;}},_0x27b183=_0x113391[_0x35da2b(0xe3)](getBrowserstackCLI),_0x5548e4=_0x113391[_0x35da2b(0xad)](nestedKeyValue,_0x27b183[_0x35da2b(0x8a)]()[_0x35da2b(0x93)](),[_0x113391['DeJdf'],_0x113391[_0x35da2b(0xbe)],_0x113391['rApiT']])||constants[_0x35da2b(0xb2)];if(!_0x2c3b34||_0x113391[_0x35da2b(0xb7)](_0x2c3b34,''))return _0x5548e4;const _0x84bb07=_0x5548e4[_0x35da2b(0xd1)]('/')?_0x5548e4:_0x113391[_0x35da2b(0xd5)](_0x5548e4,'/');return new URL(_0x2c3b34,_0x84bb07)[_0x35da2b(0x9b)]();}static['getEdsInstrumentationAPIUrl'](_0x41fd70){const _0x5cb77=a60_0x160bbc,_0x2d9f16={'GMtMJ':function(_0x18d41e){return _0x18d41e();},'GnRZl':function(_0x4879aa,_0xd253a6,_0x507501){return _0x4879aa(_0xd253a6,_0x507501);},'mlTkJ':'apis','raZjz':_0x5cb77(0x84),'MCjEX':_0x5cb77(0x99),'JmYYB':function(_0x5cf6b8,_0x4a6f90){return _0x5cf6b8===_0x4a6f90;},'ZytRm':function(_0x2ff43c,_0x2d484a){return _0x2ff43c+_0x2d484a;}},_0x5370b2=_0x2d9f16['GMtMJ'](getBrowserstackCLI),_0x3fbf22=_0x2d9f16[_0x5cb77(0xc7)](nestedKeyValue,_0x5370b2[_0x5cb77(0x8a)]()['getConfig'](),[_0x2d9f16[_0x5cb77(0x91)],_0x2d9f16['raZjz'],_0x2d9f16['MCjEX']])||constants['EDS_URL'];if(!_0x41fd70||_0x2d9f16[_0x5cb77(0xa7)](_0x41fd70,''))return _0x3fbf22;const _0x40823d=_0x3fbf22['endsWith']('/')?_0x3fbf22:_0x2d9f16[_0x5cb77(0xe1)](_0x3fbf22,'/');return new URL(_0x41fd70,_0x40823d)[_0x5cb77(0x9b)]();}static[a60_0x160bbc(0x8e)](_0x54f3ac){const _0x3d8b0f=a60_0x160bbc,_0x1a1efe={'oHJsU':function(_0x4a0c78){return _0x4a0c78();},'uWTAs':function(_0x1e11e4,_0x45b5ad,_0x2da421){return _0x1e11e4(_0x45b5ad,_0x2da421);},'nKWCa':_0x3d8b0f(0xb6),'snWtC':_0x3d8b0f(0x8f),'NBKeD':_0x3d8b0f(0x99),'sQcmf':function(_0x4be7cd,_0x144cac){return _0x4be7cd===_0x144cac;},'GlhRQ':function(_0x3f6166,_0x2252ab){return _0x3f6166+_0x2252ab;}},_0x3c91d7=_0x1a1efe[_0x3d8b0f(0xa0)](getBrowserstackCLI),_0x3cc059=_0x1a1efe[_0x3d8b0f(0xe4)](nestedKeyValue,_0x3c91d7[_0x3d8b0f(0x8a)]()[_0x3d8b0f(0x93)](),[_0x1a1efe[_0x3d8b0f(0xaf)],_0x1a1efe['snWtC'],_0x1a1efe[_0x3d8b0f(0xd3)]])||constants[_0x3d8b0f(0xb2)];if(!_0x54f3ac||_0x1a1efe[_0x3d8b0f(0xc9)](_0x54f3ac,''))return _0x3cc059;const _0xd0c4b4=_0x3cc059[_0x3d8b0f(0xd1)]('/')?_0x3cc059:_0x1a1efe[_0x3d8b0f(0xb8)](_0x3cc059,'/');return new URL(_0x54f3ac,_0xd0c4b4)['toString']();}static[a60_0x160bbc(0xc5)](_0x4d9008){const _0x53ca77=a60_0x160bbc,_0x533cb4={'EPgjs':function(_0x421a3c){return _0x421a3c();},'QSlbc':function(_0x3addca,_0x3ffc69,_0x3b59fc){return _0x3addca(_0x3ffc69,_0x3b59fc);},'FYgSI':_0x53ca77(0xb6),'pAwMF':_0x53ca77(0x9e),'YiGbW':'api','xBslz':function(_0x1bf81b,_0x16d441){return _0x1bf81b===_0x16d441;},'XUmpE':function(_0x5f29dd,_0x43a26a){return _0x5f29dd+_0x43a26a;}},_0x48697a=_0x533cb4[_0x53ca77(0x88)](getBrowserstackCLI),_0x9ae94f=_0x533cb4[_0x53ca77(0xc1)](nestedKeyValue,_0x48697a[_0x53ca77(0x8a)]()[_0x53ca77(0x93)](),[_0x533cb4[_0x53ca77(0xbc)],_0x533cb4['pAwMF'],_0x533cb4[_0x53ca77(0xc4)]])||constants[_0x53ca77(0xb2)];if(!_0x4d9008||_0x533cb4[_0x53ca77(0xc8)](_0x4d9008,''))return _0x9ae94f;const _0xd834b2=_0x9ae94f[_0x53ca77(0xd1)]('/')?_0x9ae94f:_0x533cb4[_0x53ca77(0xe2)](_0x9ae94f,'/');return new URL(_0x4d9008,_0xd834b2)['toString']();}static[a60_0x160bbc(0xe5)](_0x57ccb5){const _0x21aca9=a60_0x160bbc,_0x2c34c9={'TbAnu':function(_0x1ede27){return _0x1ede27();},'YcqNR':function(_0x580098,_0x4d905c,_0x44626d){return _0x580098(_0x4d905c,_0x44626d);},'IICUw':_0x21aca9(0xb6),'MarSo':_0x21aca9(0x8f),'NwhlZ':_0x21aca9(0x99),'soBvm':function(_0x451b65,_0x5a1cf9){return _0x451b65===_0x5a1cf9;},'FgoTG':function(_0x370438,_0x4874ea){return _0x370438+_0x4874ea;}},_0x160789=_0x2c34c9[_0x21aca9(0x92)](getBrowserstackCLI),_0x359d93=_0x2c34c9[_0x21aca9(0xd8)](nestedKeyValue,_0x160789[_0x21aca9(0x8a)]()[_0x21aca9(0x93)](),[_0x2c34c9[_0x21aca9(0x97)],_0x2c34c9[_0x21aca9(0x87)],_0x2c34c9[_0x21aca9(0xca)]])||constants[_0x21aca9(0xb2)];if(!_0x57ccb5||_0x2c34c9['soBvm'](_0x57ccb5,''))return _0x359d93;const _0x37e6d1=_0x359d93[_0x21aca9(0xd1)]('/')?_0x359d93:_0x2c34c9[_0x21aca9(0xcb)](_0x359d93,'/');return new URL(_0x57ccb5,_0x37e6d1)[_0x21aca9(0x9b)]();}static[a60_0x160bbc(0x89)](_0x32e57e){const _0x51f9f3=a60_0x160bbc,_0x431be1={'fAIBR':function(_0x15c108){return _0x15c108();},'sEkPX':function(_0x190fba,_0x14aa1a,_0xe7a274){return _0x190fba(_0x14aa1a,_0xe7a274);},'ZQVgf':_0x51f9f3(0xb6),'SVGlj':'appAutomate','OeQDN':_0x51f9f3(0x99),'tEHnE':function(_0x58e867,_0x5abadc){return _0x58e867===_0x5abadc;},'XhaqU':function(_0x539134,_0x4818f7){return _0x539134+_0x4818f7;}},_0x3eb11a=_0x431be1[_0x51f9f3(0xdf)](getBrowserstackCLI),_0x3b7ff3=_0x431be1['sEkPX'](nestedKeyValue,_0x3eb11a[_0x51f9f3(0x8a)]()[_0x51f9f3(0x93)](),[_0x431be1['ZQVgf'],_0x431be1[_0x51f9f3(0xe8)],_0x431be1[_0x51f9f3(0xc2)]])||constants[_0x51f9f3(0xb2)];if(!_0x32e57e||_0x431be1[_0x51f9f3(0xac)](_0x32e57e,''))return _0x3b7ff3;const _0x47e208=_0x3b7ff3[_0x51f9f3(0xd1)]('/')?_0x3b7ff3:_0x431be1[_0x51f9f3(0x9c)](_0x3b7ff3,'/');return new URL(_0x32e57e,_0x47e208)[_0x51f9f3(0x9b)]();}static[a60_0x160bbc(0xb0)](_0x19f86e){const _0x46d211=a60_0x160bbc,_0x9dcbc4={'sPfyP':function(_0x4011d1){return _0x4011d1();},'tOxAF':function(_0x403167,_0x2b0d07,_0x4afd30){return _0x403167(_0x2b0d07,_0x4afd30);},'EFEcp':_0x46d211(0xb6),'fGzWW':'automate','isvEB':_0x46d211(0x99),'sCbFm':function(_0x40320f,_0x501c0c){return _0x40320f===_0x501c0c;},'PDFFJ':function(_0x4404ad,_0x5078c0){return _0x4404ad+_0x5078c0;}},_0x35c873=_0x9dcbc4[_0x46d211(0xce)](getBrowserstackCLI),_0x1debe6=_0x9dcbc4[_0x46d211(0xbf)](nestedKeyValue,_0x35c873[_0x46d211(0x8a)]()[_0x46d211(0x93)](),[_0x9dcbc4[_0x46d211(0x95)],_0x9dcbc4[_0x46d211(0xbd)],_0x9dcbc4[_0x46d211(0xbb)]])||constants['BROWSERSTACK_API_URL'];if(!_0x19f86e||_0x9dcbc4['sCbFm'](_0x19f86e,''))return _0x1debe6;const _0x561842=_0x1debe6['endsWith']('/')?_0x1debe6:_0x9dcbc4[_0x46d211(0x9d)](_0x1debe6,'/');return new URL(_0x19f86e,_0x561842)[_0x46d211(0x9b)]()[_0x46d211(0xb9)](/^https?:\/\//,'');}static[a60_0x160bbc(0xd7)](_0x361c72){const _0x366c98=a60_0x160bbc,_0x44dd0a={'QQthN':function(_0x4c0980){return _0x4c0980();},'LFeAo':function(_0x3f9ed7,_0x9b354,_0x162db7){return _0x3f9ed7(_0x9b354,_0x162db7);},'rjAGv':'apis','hQNDV':_0x366c98(0x9e),'yvzXs':_0x366c98(0x99),'eYRKg':function(_0x30a250,_0x2501ab){return _0x30a250===_0x2501ab;},'bCjgA':function(_0x53a6f4,_0x234c5a){return _0x53a6f4+_0x234c5a;}},_0x9c8132=_0x44dd0a[_0x366c98(0xaa)](getBrowserstackCLI),_0xde240b=_0x44dd0a['LFeAo'](nestedKeyValue,_0x9c8132[_0x366c98(0x8a)]()[_0x366c98(0x93)](),[_0x44dd0a[_0x366c98(0xd2)],_0x44dd0a[_0x366c98(0xa4)],_0x44dd0a['yvzXs']])||constants[_0x366c98(0xe0)];if(!_0x361c72||_0x44dd0a['eYRKg'](_0x361c72,''))return _0xde240b;const _0x3e09bb=_0xde240b[_0x366c98(0xd1)]('/')?_0xde240b:_0x44dd0a[_0x366c98(0x96)](_0xde240b,'/');return new URL(_0x361c72,_0x3e09bb)[_0x366c98(0x9b)]()[_0x366c98(0xb9)](/^https?:\/\//,'');}static[a60_0x160bbc(0xdc)](_0x60cb6d){const _0x1d0e69=a60_0x160bbc,_0x429f84={'ROeKB':function(_0x4f4299){return _0x4f4299();},'XRMcL':function(_0x4f5d35,_0x521fdd,_0x5a91c3){return _0x4f5d35(_0x521fdd,_0x5a91c3);},'cwhIZ':_0x1d0e69(0xb6),'uyiCU':'observability','cJetN':_0x1d0e69(0x83),'DXdZG':function(_0x4ef720,_0xf7301d){return _0x4ef720===_0xf7301d;},'JKiTl':function(_0xb95bed,_0x240d42){return _0xb95bed+_0x240d42;}},_0x3e6718=_0x429f84[_0x1d0e69(0x8d)](getBrowserstackCLI),_0x1a7fa7=_0x429f84[_0x1d0e69(0x9f)](nestedKeyValue,_0x3e6718[_0x1d0e69(0x8a)]()[_0x1d0e69(0x93)](),[_0x429f84[_0x1d0e69(0xa8)],_0x429f84[_0x1d0e69(0xae)],_0x429f84[_0x1d0e69(0xd4)]])||constants[_0x1d0e69(0xdd)];if(!_0x60cb6d||_0x429f84[_0x1d0e69(0x98)](_0x60cb6d,''))return _0x1a7fa7;const _0x2b8eaa=_0x1a7fa7[_0x1d0e69(0xd1)]('/')?_0x1a7fa7:_0x429f84[_0x1d0e69(0xcf)](_0x1a7fa7,'/');return new URL(_0x60cb6d,_0x2b8eaa)['toString']();}static[a60_0x160bbc(0x81)](_0x532e02){const _0x1d8ac6=a60_0x160bbc,_0x14dd2d={'tTfTn':function(_0x19bec8){return _0x19bec8();},'NyhsE':function(_0x38ed08,_0x460474,_0x1dba7a){return _0x38ed08(_0x460474,_0x1dba7a);},'qxuzL':'apis','hzzNS':'automate','ggVAG':'cdp','kGjOk':'wss:','Mjjwk':function(_0x4fa394,_0x544645){return _0x4fa394===_0x544645;},'vFtPL':function(_0x29da34,_0x53453c){return _0x29da34+_0x53453c;},'hqBKP':'/playwright?caps='},_0x37d32c=_0x14dd2d[_0x1d8ac6(0xe7)](getBrowserstackCLI),_0x1f5417=_0x14dd2d[_0x1d8ac6(0xab)](nestedKeyValue,_0x37d32c[_0x1d8ac6(0x8a)]()['getConfig'](),[_0x14dd2d['qxuzL'],_0x14dd2d[_0x1d8ac6(0xa6)],_0x14dd2d[_0x1d8ac6(0xd6)]]),_0xe4d4f5=(_0x1f5417?_0x1f5417[_0x1d8ac6(0xb9)](/^https:/,_0x14dd2d[_0x1d8ac6(0x90)]):null)||constants[_0x1d8ac6(0xd0)];let _0xb81096;if(!_0x532e02||_0x14dd2d[_0x1d8ac6(0xba)](_0x532e02,''))_0xb81096=_0xe4d4f5;else{const _0x15dab1=_0xe4d4f5[_0x1d8ac6(0xd1)]('/')?_0xe4d4f5:_0x14dd2d['vFtPL'](_0xe4d4f5,'/');_0xb81096=new URL(_0x532e02,_0x15dab1)['toString']();}return!_0xb81096['endsWith'](_0x14dd2d['hqBKP'])&&(_0xb81096+=_0x14dd2d[_0x1d8ac6(0xda)]),_0xb81096;}static[a60_0x160bbc(0x85)](_0x366b3d){const _0x78904d=a60_0x160bbc,_0x46265e={'GRGhZ':function(_0x498026){return _0x498026();},'bVYzd':function(_0x44df7d,_0x8aa486,_0x5eb8a2){return _0x44df7d(_0x8aa486,_0x5eb8a2);},'fkgOJ':_0x78904d(0xb6),'OjnjI':_0x78904d(0x8f),'PDBXW':_0x78904d(0xb5),'WIPMm':'wss:','FXISR':function(_0x4d5ac9,_0x1606e4){return _0x4d5ac9===_0x1606e4;},'YkKwm':function(_0x3c4048,_0x5978c9){return _0x3c4048+_0x5978c9;},'XyEHW':_0x78904d(0xa2)},_0x62dd84=_0x46265e[_0x78904d(0xe6)](getBrowserstackCLI),_0x545e34=_0x46265e['bVYzd'](nestedKeyValue,_0x62dd84['getInstance']()['getConfig'](),[_0x46265e[_0x78904d(0x82)],_0x46265e['OjnjI'],_0x46265e[_0x78904d(0xdb)]]),_0x2e0f36=(_0x545e34?_0x545e34[_0x78904d(0xb9)](/^https:/,_0x46265e[_0x78904d(0xc6)]):null)||constants[_0x78904d(0xb1)];let _0x3b8770;if(!_0x366b3d||_0x46265e['FXISR'](_0x366b3d,''))_0x3b8770=_0x2e0f36;else{const _0x2c4881=_0x2e0f36[_0x78904d(0xd1)]('/')?_0x2e0f36:_0x46265e[_0x78904d(0xb4)](_0x2e0f36,'/');_0x3b8770=new URL(_0x366b3d,_0x2c4881)['toString']();}return!_0x3b8770[_0x78904d(0xd1)](_0x46265e[_0x78904d(0xa5)])&&(_0x3b8770+=_0x46265e[_0x78904d(0xa5)]),_0x3b8770;}}module[a60_0x160bbc(0xcd)]=APIUtilityMethods;function a60_0x5ec3(){const _0x113272=['XhaqU','PDFFJ','appAutomate','XRMcL','oHJsU','GeRVP','/puppeteer?caps=','556Kivjjh','hQNDV','XyEHW','hzzNS','JmYYB','cwhIZ','./sharedUtils','QQthN','NyhsE','tEHnE','GWYMY','uyiCU','nKWCa','getAutomateSessionsListAPIUrl','PUPPETEER_HUB_URL','BROWSERSTACK_API_URL','399732DPDtbu','YkKwm','cdp','apis','hMFeH','GlhRQ','replace','Mjjwk','isvEB','FYgSI','fGzWW','vMCJp','tOxAF','./constants','QSlbc','OeQDN','2459331Cpxtib','YiGbW','getAppAutomateSessionStatusAPIUrl','WIPMm','GnRZl','xBslz','sQcmf','NwhlZ','FgoTG','746356iuAOdO','exports','sPfyP','JKiTl','PLAYWRIGHT_HUB_URL','endsWith','rjAGv','NBKeD','cJetN','YTzeA','ggVAG','getAppAutomateSessionsListAPIUrl','YcqNR','1367848eCSiDz','hqBKP','PDBXW','getAutoCaptureLogsAPIUrl','OBSERVABILITY_UPLOAD_URL','488ckcQhF','fAIBR','APP_UPLOAD_URL','ZytRm','XUmpE','ZmPDC','uWTAs','getAutomateSessionNameAPIUrl','GRGhZ','tTfTn','SVGlj','getPlaywrightHubUrl','fkgOJ','upload','edsInstrumentation','getPuppeteerHubUrl','717039piyMDQ','MarSo','EPgjs','getAppAutomateSessionNameAPIUrl','getInstance','70DmHquo','3708285pZVuzy','ROeKB','getAutomateSessionStatusAPIUrl','automate','kGjOk','mlTkJ','TbAnu','getConfig','40eWjpwJ','EFEcp','bCjgA','IICUw','DXdZG','api','../v2/browserstackCLI','toString'];a60_0x5ec3=function(){return _0x113272;};return a60_0x5ec3();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57_0x15f3aa=a57_0x1629;(function(_0xab169,_0x19c593){const _0x5d1733=a57_0x1629,_0x1103e7=_0xab169();while(!![]){try{const _0x21fac6=-parseInt(_0x5d1733(0x198))/0x1*(-parseInt(_0x5d1733(0x18e))/0x2)+parseInt(_0x5d1733(0x17a))/0x3+-parseInt(_0x5d1733(0x165))/0x4+-parseInt(_0x5d1733(0x15a))/0x5*(-parseInt(_0x5d1733(0x181))/0x6)+-parseInt(_0x5d1733(0x16c))/0x7*(parseInt(_0x5d1733(0x15d))/0x8)+-parseInt(_0x5d1733(0x180))/0x9*(-parseInt(_0x5d1733(0x14c))/0xa)+-parseInt(_0x5d1733(0x19d))/0xb;if(_0x21fac6===_0x19c593)break;else _0x1103e7['push'](_0x1103e7['shift']());}catch(_0x5ca45e){_0x1103e7['push'](_0x1103e7['shift']());}}}(a57_0x34bd,0xd5c87));function a57_0x34bd(){const _0x3f675d=['object','Error\x20in\x20getting\x20error\x20details\x20for\x20','9sIGJEO','45558HejFLI','reportSessionLinkingIssue','getErrorDetails','[ClientTroubleShootingService]\x20','BMPmW','Session\x20Linking\x20Issue','from','CLIENT_TROUBLESHOOTING_HASH','join','Ahbee','getDocumentationLink','replace','reportClientTroubleshootingError','3028374TgCJux','finalErrorMessage','reportConnectivityIssue','stringify','errorCodes','XMTAr','getErrorCode','vBMAD','getAggregatedErrorCodes','errorCode','1ZkPrwk','WCpOc','getErrorCodesOccurredInCli','warn','Process\x20Interruption\x20details\x20not\x20found:','11718410zhGgKY','VVZLP','push','sSwfs','guWFx','add','WqatA','xYAlk','mtHOr','errorCodesOccurredWhenCLINotRunning','yPhtZ','errorMessage','conflicting\x20env\x20var\x20detected','../../helpers/logger','lvTrA','TmOMe','documentationLink','isRunning','Conflicting\x20Env\x20Var\x20details\x20not\x20found','SzqdK','ssl\x20cert\x20issue','error','peYCi','mBfGa','getSuccess','checkForErrorsOccuredInCLI','DMQkX','9174610uAgUQH','toString','exports','size','getCachedErrorCodes','FuDpN','keys','BdFvc','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','length','dscPF','parse','browserstack\x20cloud\x20not\x20reachable','logError','415tmPhWZ','{ENV_VAR}','bgVtc','8xJcGoW','reportProcessInterruptionSituation','{SIGNAL}','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','base64','getErrorMessage','../v2/browserstackCLI','getInstance','6507264DnZmvR','daYRH','winstonLogger','cachedErrorCodes','Connectivity\x20Issue\x20details\x20not\x20found','vWqJZ','okpSi','7070021Nsdbno','QtjKw','errorCodesOccurredInCLI','ZXbOr','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','yXHuW','reportDotBrowserStackFolderNotAccessibleIssue','QTCaY','reportFinalDetectionState','logSituation','../v2/grpcClient','reportSSLCertIssue','{ERROR_CODES}','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','4547751wwvmqy','mcmRt','./constants','rjflQ'];a57_0x34bd=function(){return _0x3f675d;};return a57_0x34bd();}const logger=require(a57_0x15f3aa(0x13e))[a57_0x15f3aa(0x167)],BrowserstackCLI=require(a57_0x15f3aa(0x163)),GrpcClient=require(a57_0x15f3aa(0x176)),constants=require(a57_0x15f3aa(0x17c));class ClientTroubleShootingService{static ['cachedErrorCodes']=null;static [a57_0x15f3aa(0x13a)]=new Set();static async[a57_0x15f3aa(0x183)](_0x13771a){const _0x191630=a57_0x15f3aa,_0xec252d={};_0xec252d[_0x191630(0x19e)]=function(_0x46487a,_0x496ae8){return _0x46487a!==_0x496ae8;};const _0x4944d7=_0xec252d;try{if(BrowserstackCLI[_0x191630(0x164)]()['isRunning']()){const _0x442567=await GrpcClient[_0x191630(0x164)]()[_0x191630(0x18d)](_0x13771a);if(_0x4944d7[_0x191630(0x19e)](_0x442567,null)&&_0x442567[_0x191630(0x149)]())return{'errorCode':_0x442567[_0x191630(0x194)](),'errorMessage':_0x442567[_0x191630(0x162)]()};return{};}return{};}catch(_0x92992){return this[_0x191630(0x159)](_0x191630(0x17f)+_0x13771a+':',_0x92992),{};}}static async[a57_0x15f3aa(0x196)](){const _0x169d80=a57_0x15f3aa,_0x558da4={};_0x558da4['beByO']=function(_0x4d577a,_0x1d260d){return _0x4d577a!==_0x1d260d;},_0x558da4[_0x169d80(0x173)]=_0x169d80(0x161),_0x558da4[_0x169d80(0x151)]=_0x169d80(0x160);const _0x3ef119=_0x558da4;try{if(BrowserstackCLI[_0x169d80(0x164)]()[_0x169d80(0x142)]()){const _0x39e941=await GrpcClient[_0x169d80(0x164)]()['getAggregatedClientTroubleshootingErrors']();if(_0x3ef119['beByO'](_0x39e941,null)&&_0x39e941[_0x169d80(0x149)]()){const _0x4aba91=Buffer[_0x169d80(0x187)](_0x39e941['getErrorCodes'](),_0x3ef119[_0x169d80(0x173)])[_0x169d80(0x14d)](),_0x5e5083=_0x4aba91?JSON[_0x169d80(0x157)](_0x4aba91):[],_0x5e9243=_0x39e941[_0x169d80(0x18b)](),_0x2cc8b0=_0x39e941['getFinalErrorMessage'](),_0x1baf05=Buffer[_0x169d80(0x187)](_0x39e941[_0x169d80(0x19a)](),_0x3ef119[_0x169d80(0x173)])['toString'](),_0x4d0ac0=_0x1baf05?JSON['parse'](_0x1baf05):[],_0x1b5692={};return _0x1b5692[_0x169d80(0x192)]=_0x5e5083,_0x1b5692[_0x169d80(0x141)]=_0x5e9243,_0x1b5692[_0x169d80(0x18f)]=_0x2cc8b0,_0x1b5692['errorCodesOccurredInCLI']=_0x4d0ac0,_0x1b5692;}const _0x19c6d6={};return _0x19c6d6[_0x169d80(0x192)]=[],_0x19c6d6[_0x169d80(0x141)]='',_0x19c6d6[_0x169d80(0x18f)]='',_0x19c6d6[_0x169d80(0x16e)]=[],_0x19c6d6;}const _0xa6188c={};return _0xa6188c[_0x169d80(0x192)]=[],_0xa6188c[_0x169d80(0x141)]='',_0xa6188c[_0x169d80(0x18f)]='',_0xa6188c[_0x169d80(0x16e)]=[],_0xa6188c;}catch(_0x3dd79d){this['logError'](_0x3ef119['FuDpN'],_0x3dd79d);const _0x21aa21={};return _0x21aa21[_0x169d80(0x192)]=[],_0x21aa21[_0x169d80(0x141)]='',_0x21aa21['finalErrorMessage']='',_0x21aa21['errorCodesOccurredInCLI']=[],_0x21aa21;}}static[a57_0x15f3aa(0x175)](_0x45fdd6,_0x21afbd){const _0x47c8a5=a57_0x15f3aa;logger[_0x47c8a5(0x19b)](_0x45fdd6+':\x20'+_0x21afbd);}static[a57_0x15f3aa(0x14a)](_0x141c17){const _0x267006=a57_0x15f3aa,_0x5b0b2b={};_0x5b0b2b['xYAlk']=function(_0x3cc5e4,_0x4a3609){return _0x3cc5e4!=_0x4a3609;},_0x5b0b2b[_0x267006(0x13f)]=function(_0x3aeead,_0x4a0268){return _0x3aeead!=_0x4a0268;},_0x5b0b2b[_0x267006(0x171)]=function(_0x4a5933,_0x3dfede){return _0x4a5933>_0x3dfede;};const _0x5cf6ea=_0x5b0b2b,_0xc1d95=[];if(_0x5cf6ea[_0x267006(0x138)](_0x141c17,null)&&_0x5cf6ea[_0x267006(0x13f)](_0x141c17[_0x267006(0x16e)],null)&&_0x5cf6ea[_0x267006(0x171)](_0x141c17['errorCodesOccurredInCLI']['length'],0x0))for(const _0x167c32 of _0x141c17[_0x267006(0x16e)]){_0x5cf6ea[_0x267006(0x13f)](_0x167c32['errorCode'],null)&&_0x5cf6ea[_0x267006(0x138)](_0x167c32[_0x267006(0x13c)],null)&&(_0xc1d95[_0x267006(0x19f)](_0x167c32['errorCode']),this[_0x267006(0x175)](_0x167c32[_0x267006(0x197)],_0x167c32[_0x267006(0x13c)]));}return _0xc1d95;}static[a57_0x15f3aa(0x150)](){return this['cachedErrorCodes'];}static[a57_0x15f3aa(0x159)](_0x3491a6,_0x220a6f){const _0x46495a=a57_0x15f3aa,_0x585b0f={};_0x585b0f[_0x46495a(0x199)]=function(_0x2a9616,_0x3c85cf){return _0x2a9616===_0x3c85cf;},_0x585b0f[_0x46495a(0x14b)]=_0x46495a(0x17e);const _0x278ba9=_0x585b0f;if(_0x278ba9[_0x46495a(0x199)](typeof _0x220a6f,_0x278ba9['DMQkX']))try{logger['error']('[ClientTroubleShootingService]\x20'+_0x3491a6+'\x20'+JSON[_0x46495a(0x191)](_0x220a6f));}catch(_0x15e683){logger[_0x46495a(0x146)](_0x46495a(0x184)+_0x3491a6+'\x20'+_0x220a6f);}else logger['error'](_0x46495a(0x184)+_0x3491a6+'\x20'+_0x220a6f);}static async[a57_0x15f3aa(0x15e)](_0x5c1bf1){const _0x4a975d=a57_0x15f3aa,_0x7456ac={};_0x7456ac[_0x4a975d(0x144)]='Process\x20Interruption',_0x7456ac[_0x4a975d(0x185)]=function(_0x5ed256,_0x1b1dfd){return _0x5ed256===_0x1b1dfd;},_0x7456ac[_0x4a975d(0x140)]=_0x4a975d(0x19c),_0x7456ac['bgVtc']=_0x4a975d(0x15f);const _0x3a170e=_0x7456ac,_0x5c397c=await this[_0x4a975d(0x183)](_0x3a170e['SzqdK']);if(!_0x5c397c||_0x3a170e[_0x4a975d(0x185)](Object[_0x4a975d(0x152)](_0x5c397c)['length'],0x0)){this['logError'](_0x3a170e[_0x4a975d(0x140)],_0x5c397c);return;}this['logSituation'](_0x5c397c[_0x4a975d(0x197)],_0x5c397c['errorMessage']['replace'](_0x3a170e[_0x4a975d(0x15c)],_0x5c1bf1));}static async[a57_0x15f3aa(0x182)](){const _0x5b3f5e=a57_0x15f3aa,_0x5ca0b4={};_0x5ca0b4[_0x5b3f5e(0x1a0)]=_0x5b3f5e(0x186),_0x5ca0b4[_0x5b3f5e(0x137)]=function(_0x3ba815,_0x5dcede){return _0x3ba815===_0x5dcede;},_0x5ca0b4[_0x5b3f5e(0x153)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x56bf29=_0x5ca0b4,_0xe8b6d7=await this['getErrorDetails'](_0x56bf29['sSwfs']);if(!_0xe8b6d7||_0x56bf29[_0x5b3f5e(0x137)](Object[_0x5b3f5e(0x152)](_0xe8b6d7)[_0x5b3f5e(0x155)],0x0)){this['logError'](_0x56bf29[_0x5b3f5e(0x153)],_0xe8b6d7);return;}this['logSituation'](_0xe8b6d7[_0x5b3f5e(0x197)],_0xe8b6d7[_0x5b3f5e(0x13c)]);}static async[a57_0x15f3aa(0x190)](){const _0x2e0d8e=a57_0x15f3aa,_0x321792={};_0x321792[_0x2e0d8e(0x193)]=_0x2e0d8e(0x158),_0x321792[_0x2e0d8e(0x13b)]=function(_0x51b421,_0x8e4462){return _0x51b421===_0x8e4462;},_0x321792[_0x2e0d8e(0x147)]=_0x2e0d8e(0x169);const _0x32b2be=_0x321792,_0x17f213=await this['getErrorDetails'](_0x32b2be[_0x2e0d8e(0x193)]);if(!_0x17f213||_0x32b2be[_0x2e0d8e(0x13b)](Object[_0x2e0d8e(0x152)](_0x17f213)[_0x2e0d8e(0x155)],0x0)){this[_0x2e0d8e(0x159)](_0x32b2be[_0x2e0d8e(0x147)],_0x17f213);return;}this['logSituation'](_0x17f213[_0x2e0d8e(0x197)],_0x17f213[_0x2e0d8e(0x13c)]);}static async[a57_0x15f3aa(0x177)](){const _0x587004=a57_0x15f3aa,_0x342609={};_0x342609[_0x587004(0x148)]=_0x587004(0x145),_0x342609['kLnJV']=function(_0x55f4b1,_0x33512b){return _0x55f4b1===_0x33512b;},_0x342609[_0x587004(0x139)]=_0x587004(0x170);const _0x17b571=_0x342609,_0x565f4c=await this[_0x587004(0x183)](_0x17b571[_0x587004(0x148)]);if(!_0x565f4c||_0x17b571['kLnJV'](Object[_0x587004(0x152)](_0x565f4c)['length'],0x0)){this[_0x587004(0x159)](_0x17b571[_0x587004(0x139)],_0x565f4c);return;}this['logSituation'](_0x565f4c[_0x587004(0x197)],_0x565f4c['errorMessage']);}static[a57_0x15f3aa(0x172)](){const _0x50f256=a57_0x15f3aa,_0x25c17e={};_0x25c17e[_0x50f256(0x135)]='.browserstack\x20folder\x20not\x20accessible',_0x25c17e[_0x50f256(0x16f)]=function(_0x1aeadc,_0x1dcea2){return _0x1aeadc===_0x1dcea2;},_0x25c17e['dscPF']=_0x50f256(0x179);const _0x327923=_0x25c17e,_0x1db4bf=constants[_0x50f256(0x188)][_0x327923[_0x50f256(0x135)]];if(!_0x1db4bf||_0x327923['ZXbOr'](Object[_0x50f256(0x152)](_0x1db4bf)[_0x50f256(0x155)],0x0)){this[_0x50f256(0x159)](_0x327923[_0x50f256(0x156)],_0x1db4bf);return;}this[_0x50f256(0x13a)][_0x50f256(0x136)](_0x1db4bf[0x0]),this['logSituation'](_0x1db4bf[0x0],_0x1db4bf[0x1]);}static async['reportConflictingEnvVarIssue'](_0x293d02){const _0x15b195=a57_0x15f3aa,_0x2d358b={};_0x2d358b['daYRH']=_0x15b195(0x13d),_0x2d358b[_0x15b195(0x195)]=function(_0x3c20fa,_0x337a29){return _0x3c20fa===_0x337a29;},_0x2d358b['okpSi']=_0x15b195(0x143),_0x2d358b[_0x15b195(0x16a)]=_0x15b195(0x15b);const _0x3c5b42=_0x2d358b,_0x4403bd=await this[_0x15b195(0x183)](_0x3c5b42[_0x15b195(0x166)]);if(!_0x4403bd||_0x3c5b42['vBMAD'](Object[_0x15b195(0x152)](_0x4403bd)['length'],0x0)){this[_0x15b195(0x159)](_0x3c5b42[_0x15b195(0x16b)],_0x4403bd);return;}const _0x1c2f9a=_0x4403bd[_0x15b195(0x13c)][_0x15b195(0x18c)](_0x3c5b42['vWqJZ'],_0x293d02);this['logSituation'](_0x4403bd[_0x15b195(0x197)],_0x1c2f9a);}static async[a57_0x15f3aa(0x174)](){const _0x18bdc6=a57_0x15f3aa,_0xb477f6={};_0xb477f6[_0x18bdc6(0x17b)]=function(_0x354425,_0x4c1c40){return _0x354425>_0x4c1c40;},_0xb477f6[_0x18bdc6(0x16d)]=function(_0x59f547,_0x1e4cc6){return _0x59f547>_0x1e4cc6;},_0xb477f6[_0x18bdc6(0x17d)]=_0x18bdc6(0x178),_0xb477f6[_0x18bdc6(0x18a)]=_0x18bdc6(0x154);const _0x166e5a=_0xb477f6,_0x3cf6dc=await this['getAggregatedErrorCodes'](),_0x5795c6=this['checkForErrorsOccuredInCLI'](_0x3cf6dc),_0x454e9b=Array['isArray'](_0x3cf6dc[_0x18bdc6(0x192)])?_0x3cf6dc['errorCodes']:[],_0x305012=_0x166e5a[_0x18bdc6(0x17b)](this[_0x18bdc6(0x13a)][_0x18bdc6(0x14f)],0x0)?Array[_0x18bdc6(0x187)](this[_0x18bdc6(0x13a)]):[],_0x2f377f=new Set([..._0x454e9b,..._0x5795c6,..._0x305012]),_0x566858=Array[_0x18bdc6(0x187)](_0x2f377f);if(_0x166e5a[_0x18bdc6(0x16d)](_0x566858['length'],0x0)){const _0x34eab8=_0x3cf6dc['finalErrorMessage']['replace'](_0x166e5a[_0x18bdc6(0x17d)],_0x566858[_0x18bdc6(0x189)](',\x20'))[_0x18bdc6(0x18c)](_0x166e5a[_0x18bdc6(0x18a)],_0x3cf6dc[_0x18bdc6(0x141)]);logger['warn'](_0x34eab8),this[_0x18bdc6(0x168)]=_0x566858;}}}function a57_0x1629(_0x1a5c21,_0x23a4bd){const _0x34bdaf=a57_0x34bd();return a57_0x1629=function(_0x162903,_0x31fd74){_0x162903=_0x162903-0x135;let _0x442cd3=_0x34bdaf[_0x162903];return _0x442cd3;},a57_0x1629(_0x1a5c21,_0x23a4bd);}module[a57_0x15f3aa(0x14e)]=ClientTroubleShootingService;
|
|
1
|
+
function a61_0x5e02(){const _0x2746c6=['reportConnectivityIssue','Error\x20in\x20getting\x20error\x20details\x20for\x20','jQcnh','3994404VWvUgv','anPmS','Process\x20Interruption\x20details\x20not\x20found:','FWyvg','.browserstack\x20folder\x20not\x20accessible','parse','NktLk','reportProcessInterruptionSituation','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','SeEtT','getErrorDetails','Conflicting\x20Env\x20Var\x20details\x20not\x20found','getAggregatedClientTroubleshootingErrors','lafZL','getCachedErrorCodes','{ENV_VAR}','isArray','checkForErrorsOccuredInCLI','nxtqo','exports','join','getAggregatedErrorCodes','getErrorCodesOccurredInCli','zvUrN','zghrb','bbwIo','getErrorMessage','errorCodes','errorCode','length','toString','logError','replace','logSituation','UUHcO','errorCodesOccurredWhenCLINotRunning','reportSSLCertIssue','reportClientTroubleshootingError','3511137JkRvlQ','Teugz','warn','cachedErrorCodes','ckOSW','keys','getErrorCodes','fYIcm','getSuccess','conflicting\x20env\x20var\x20detected','base64','UfkKr','60468CScvQK','gmvBl','YUqoB','YgHnQ','32jXniGU','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','reportConflictingEnvVarIssue','object','3574928gnLHXH','from','add','getInstance','Process\x20Interruption','TOpqE','reportSessionLinkingIssue','YsYBZ','errorCodesOccurredInCLI','ssl\x20cert\x20issue','documentationLink','SVrrB','vDXRh','2501849JpVlxx','ChemQ','1674944DwxYft','../../helpers/logger','./constants','stringify','fFtuv','rrLjU','browserstack\x20cloud\x20not\x20reachable','inMHT','reportDotBrowserStackFolderNotAccessibleIssue','CLIENT_TROUBLESHOOTING_HASH','160eSCSoM','tSqmI','winstonLogger','finalErrorMessage','errorMessage','vHNLG','../v2/browserstackCLI','Mjnvf','error','31117644EUfJWQ','GipTi','push','size','[ClientTroubleShootingService]\x20','reportFinalDetectionState','getFinalErrorMessage','../v2/grpcClient'];a61_0x5e02=function(){return _0x2746c6;};return a61_0x5e02();}const a61_0x5cae29=a61_0x4398;(function(_0x4ec64c,_0x5515b5){const _0x4e7279=a61_0x4398,_0x22a770=_0x4ec64c();while(!![]){try{const _0x596fd4=parseInt(_0x4e7279(0x151))/0x1+-parseInt(_0x4e7279(0x142))/0x2+-parseInt(_0x4e7279(0x12e))/0x3+-parseInt(_0x4e7279(0x13a))/0x4*(parseInt(_0x4e7279(0xf4))/0x5)+parseInt(_0x4e7279(0x108))/0x6+parseInt(_0x4e7279(0x14f))/0x7*(-parseInt(_0x4e7279(0x13e))/0x8)+parseInt(_0x4e7279(0xfd))/0x9;if(_0x596fd4===_0x5515b5)break;else _0x22a770['push'](_0x22a770['shift']());}catch(_0x10c1e6){_0x22a770['push'](_0x22a770['shift']());}}}(a61_0x5e02,0xe2503));const logger=require(a61_0x5cae29(0x152))[a61_0x5cae29(0xf6)],BrowserstackCLI=require(a61_0x5cae29(0xfa)),GrpcClient=require(a61_0x5cae29(0x104)),constants=require(a61_0x5cae29(0x153));function a61_0x4398(_0x31fb76,_0x743be5){const _0x5e024e=a61_0x5e02();return a61_0x4398=function(_0x4398ce,_0x8e29){_0x4398ce=_0x4398ce-0xef;let _0xf6d7cd=_0x5e024e[_0x4398ce];return _0xf6d7cd;},a61_0x4398(_0x31fb76,_0x743be5);}class ClientTroubleShootingService{static ['cachedErrorCodes']=null;static [a61_0x5cae29(0x12b)]=new Set();static async[a61_0x5cae29(0x112)](_0x1d9aed){const _0x182979=a61_0x5cae29,_0x320fae={};_0x320fae[_0x182979(0x121)]=function(_0xeb3b4f,_0xaca710){return _0xeb3b4f!==_0xaca710;};const _0x5a3933=_0x320fae;try{if(BrowserstackCLI[_0x182979(0x145)]()['isRunning']()){const _0x12a805=await GrpcClient[_0x182979(0x145)]()[_0x182979(0x12d)](_0x1d9aed);if(_0x5a3933['bbwIo'](_0x12a805,null)&&_0x12a805[_0x182979(0x136)]())return{'errorCode':_0x12a805['getErrorCode'](),'errorMessage':_0x12a805[_0x182979(0x122)]()};return{};}return{};}catch(_0x4a6eb5){return this[_0x182979(0x127)](_0x182979(0x106)+_0x1d9aed+':',_0x4a6eb5),{};}}static async['getAggregatedErrorCodes'](){const _0x994e28=a61_0x5cae29,_0xdfc611={};_0xdfc611[_0x994e28(0x13c)]=function(_0x1d3737,_0x15a40f){return _0x1d3737!==_0x15a40f;},_0xdfc611[_0x994e28(0x12f)]=_0x994e28(0x138),_0xdfc611['SeEtT']=_0x994e28(0x110);const _0x38bd3c=_0xdfc611;try{if(BrowserstackCLI[_0x994e28(0x145)]()['isRunning']()){const _0x3ec1ce=await GrpcClient[_0x994e28(0x145)]()[_0x994e28(0x114)]();if(_0x38bd3c[_0x994e28(0x13c)](_0x3ec1ce,null)&&_0x3ec1ce['getSuccess']()){const _0x899d82=Buffer['from'](_0x3ec1ce[_0x994e28(0x134)](),_0x38bd3c['Teugz'])[_0x994e28(0x126)](),_0x35d075=_0x899d82?JSON[_0x994e28(0x10d)](_0x899d82):[],_0x2d9e24=_0x3ec1ce['getDocumentationLink'](),_0x524610=_0x3ec1ce[_0x994e28(0x103)](),_0x4cb518=Buffer['from'](_0x3ec1ce[_0x994e28(0x11e)](),_0x38bd3c[_0x994e28(0x12f)])[_0x994e28(0x126)](),_0x5b8763=_0x4cb518?JSON[_0x994e28(0x10d)](_0x4cb518):[],_0x38429f={};return _0x38429f[_0x994e28(0x123)]=_0x35d075,_0x38429f['documentationLink']=_0x2d9e24,_0x38429f['finalErrorMessage']=_0x524610,_0x38429f['errorCodesOccurredInCLI']=_0x5b8763,_0x38429f;}const _0x187a4c={};return _0x187a4c['errorCodes']=[],_0x187a4c[_0x994e28(0x14c)]='',_0x187a4c[_0x994e28(0xf7)]='',_0x187a4c[_0x994e28(0x14a)]=[],_0x187a4c;}const _0x5ef32e={};return _0x5ef32e['errorCodes']=[],_0x5ef32e['documentationLink']='',_0x5ef32e[_0x994e28(0xf7)]='',_0x5ef32e[_0x994e28(0x14a)]=[],_0x5ef32e;}catch(_0x143725){this[_0x994e28(0x127)](_0x38bd3c[_0x994e28(0x111)],_0x143725);const _0x1a102e={};return _0x1a102e[_0x994e28(0x123)]=[],_0x1a102e['documentationLink']='',_0x1a102e[_0x994e28(0xf7)]='',_0x1a102e[_0x994e28(0x14a)]=[],_0x1a102e;}}static[a61_0x5cae29(0x129)](_0x5d41f2,_0x541342){const _0x4587e2=a61_0x5cae29;logger[_0x4587e2(0x130)](_0x5d41f2+':\x20'+_0x541342);}static['checkForErrorsOccuredInCLI'](_0x4ddb68){const _0x27610=a61_0x5cae29,_0x6801b1={};_0x6801b1[_0x27610(0x12a)]=function(_0x370fcc,_0x17a3a4){return _0x370fcc!=_0x17a3a4;},_0x6801b1['oosGj']=function(_0x2b4f44,_0x30b5be){return _0x2b4f44!=_0x30b5be;},_0x6801b1[_0x27610(0x10e)]=function(_0x128e14,_0x588606){return _0x128e14>_0x588606;};const _0x4b456f=_0x6801b1,_0xb15e8=[];if(_0x4b456f['UUHcO'](_0x4ddb68,null)&&_0x4b456f['oosGj'](_0x4ddb68[_0x27610(0x14a)],null)&&_0x4b456f[_0x27610(0x10e)](_0x4ddb68[_0x27610(0x14a)][_0x27610(0x125)],0x0))for(const _0x490b94 of _0x4ddb68[_0x27610(0x14a)]){_0x4b456f['UUHcO'](_0x490b94[_0x27610(0x124)],null)&&_0x4b456f['UUHcO'](_0x490b94[_0x27610(0xf8)],null)&&(_0xb15e8[_0x27610(0xff)](_0x490b94['errorCode']),this[_0x27610(0x129)](_0x490b94[_0x27610(0x124)],_0x490b94[_0x27610(0xf8)]));}return _0xb15e8;}static[a61_0x5cae29(0x116)](){return this['cachedErrorCodes'];}static[a61_0x5cae29(0x127)](_0x5dd283,_0x4b7882){const _0x4d60d0=a61_0x5cae29,_0x605a37={};_0x605a37['fYdgG']=function(_0x586e37,_0x4d4e90){return _0x586e37===_0x4d4e90;},_0x605a37[_0x4d60d0(0x132)]=_0x4d60d0(0x141);const _0x1d1902=_0x605a37;if(_0x1d1902['fYdgG'](typeof _0x4b7882,_0x1d1902[_0x4d60d0(0x132)]))try{logger[_0x4d60d0(0xfc)](_0x4d60d0(0x101)+_0x5dd283+'\x20'+JSON[_0x4d60d0(0x154)](_0x4b7882));}catch(_0x1aa4a0){logger[_0x4d60d0(0xfc)]('[ClientTroubleShootingService]\x20'+_0x5dd283+'\x20'+_0x4b7882);}else logger['error'](_0x4d60d0(0x101)+_0x5dd283+'\x20'+_0x4b7882);}static async[a61_0x5cae29(0x10f)](_0x3ab911){const _0x2ac9e4=a61_0x5cae29,_0x1109b3={};_0x1109b3[_0x2ac9e4(0x11a)]=_0x2ac9e4(0x146),_0x1109b3[_0x2ac9e4(0x155)]=function(_0x523f17,_0x1c74b7){return _0x523f17===_0x1c74b7;},_0x1109b3['inMHT']=_0x2ac9e4(0x10a),_0x1109b3[_0x2ac9e4(0x135)]='{SIGNAL}';const _0xbefd26=_0x1109b3,_0x1d21d6=await this['getErrorDetails'](_0xbefd26[_0x2ac9e4(0x11a)]);if(!_0x1d21d6||_0xbefd26[_0x2ac9e4(0x155)](Object[_0x2ac9e4(0x133)](_0x1d21d6)['length'],0x0)){this['logError'](_0xbefd26[_0x2ac9e4(0xf1)],_0x1d21d6);return;}this['logSituation'](_0x1d21d6[_0x2ac9e4(0x124)],_0x1d21d6[_0x2ac9e4(0xf8)]['replace'](_0xbefd26['fYIcm'],_0x3ab911));}static async[a61_0x5cae29(0x148)](){const _0x59eae8=a61_0x5cae29,_0x188d24={};_0x188d24[_0x59eae8(0x10b)]='Session\x20Linking\x20Issue',_0x188d24[_0x59eae8(0x149)]=function(_0x4faac4,_0x2dfde5){return _0x4faac4===_0x2dfde5;},_0x188d24[_0x59eae8(0x14e)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x2019a7=_0x188d24,_0x439b80=await this[_0x59eae8(0x112)](_0x2019a7['FWyvg']);if(!_0x439b80||_0x2019a7[_0x59eae8(0x149)](Object[_0x59eae8(0x133)](_0x439b80)[_0x59eae8(0x125)],0x0)){this[_0x59eae8(0x127)](_0x2019a7[_0x59eae8(0x14e)],_0x439b80);return;}this['logSituation'](_0x439b80[_0x59eae8(0x124)],_0x439b80[_0x59eae8(0xf8)]);}static async[a61_0x5cae29(0x105)](){const _0x124e0c=a61_0x5cae29,_0x5b58bb={};_0x5b58bb['SVrrB']=_0x124e0c(0xf0),_0x5b58bb[_0x124e0c(0x150)]=function(_0x2739f2,_0x30245d){return _0x2739f2===_0x30245d;},_0x5b58bb['zvUrN']='Connectivity\x20Issue\x20details\x20not\x20found';const _0x3ec0be=_0x5b58bb,_0x4cf795=await this[_0x124e0c(0x112)](_0x3ec0be[_0x124e0c(0x14d)]);if(!_0x4cf795||_0x3ec0be['ChemQ'](Object[_0x124e0c(0x133)](_0x4cf795)[_0x124e0c(0x125)],0x0)){this[_0x124e0c(0x127)](_0x3ec0be[_0x124e0c(0x11f)],_0x4cf795);return;}this[_0x124e0c(0x129)](_0x4cf795['errorCode'],_0x4cf795[_0x124e0c(0xf8)]);}static async[a61_0x5cae29(0x12c)](){const _0x2c33c2=a61_0x5cae29,_0xf02a0a={};_0xf02a0a['TOpqE']=_0x2c33c2(0x14b),_0xf02a0a[_0x2c33c2(0x139)]=function(_0x2d19e1,_0x51e483){return _0x2d19e1===_0x51e483;},_0xf02a0a[_0x2c33c2(0xfb)]='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0x5cb9a8=_0xf02a0a,_0x52c686=await this['getErrorDetails'](_0x5cb9a8[_0x2c33c2(0x147)]);if(!_0x52c686||_0x5cb9a8[_0x2c33c2(0x139)](Object['keys'](_0x52c686)['length'],0x0)){this[_0x2c33c2(0x127)](_0x5cb9a8[_0x2c33c2(0xfb)],_0x52c686);return;}this[_0x2c33c2(0x129)](_0x52c686[_0x2c33c2(0x124)],_0x52c686['errorMessage']);}static[a61_0x5cae29(0xf2)](){const _0x411d55=a61_0x5cae29,_0x2518e6={};_0x2518e6[_0x411d55(0x120)]=_0x411d55(0x10c),_0x2518e6[_0x411d55(0xef)]=function(_0x3060c9,_0x2f322e){return _0x3060c9===_0x2f322e;},_0x2518e6[_0x411d55(0x13d)]=_0x411d55(0x13f);const _0x36cded=_0x2518e6,_0x3d0838=constants[_0x411d55(0xf3)][_0x36cded[_0x411d55(0x120)]];if(!_0x3d0838||_0x36cded['rrLjU'](Object['keys'](_0x3d0838)['length'],0x0)){this[_0x411d55(0x127)](_0x36cded[_0x411d55(0x13d)],_0x3d0838);return;}this['errorCodesOccurredWhenCLINotRunning'][_0x411d55(0x144)](_0x3d0838[0x0]),this['logSituation'](_0x3d0838[0x0],_0x3d0838[0x1]);}static async[a61_0x5cae29(0x140)](_0x1d0f18){const _0x2bc5fb=a61_0x5cae29,_0x594130={};_0x594130[_0x2bc5fb(0xf9)]=_0x2bc5fb(0x137),_0x594130[_0x2bc5fb(0x107)]=function(_0x1c6a92,_0xde5121){return _0x1c6a92===_0xde5121;},_0x594130[_0x2bc5fb(0xfe)]=_0x2bc5fb(0x113),_0x594130[_0x2bc5fb(0x13b)]=_0x2bc5fb(0x117);const _0x3f107a=_0x594130,_0xaca0c2=await this[_0x2bc5fb(0x112)](_0x3f107a[_0x2bc5fb(0xf9)]);if(!_0xaca0c2||_0x3f107a[_0x2bc5fb(0x107)](Object[_0x2bc5fb(0x133)](_0xaca0c2)[_0x2bc5fb(0x125)],0x0)){this[_0x2bc5fb(0x127)](_0x3f107a[_0x2bc5fb(0xfe)],_0xaca0c2);return;}const _0x3b22a7=_0xaca0c2[_0x2bc5fb(0xf8)]['replace'](_0x3f107a[_0x2bc5fb(0x13b)],_0x1d0f18);this[_0x2bc5fb(0x129)](_0xaca0c2[_0x2bc5fb(0x124)],_0x3b22a7);}static async[a61_0x5cae29(0x102)](){const _0x35f6d4=a61_0x5cae29,_0x422c8d={};_0x422c8d[_0x35f6d4(0x109)]=function(_0x497d1f,_0x19d85d){return _0x497d1f>_0x19d85d;},_0x422c8d['tSqmI']='{ERROR_CODES}',_0x422c8d[_0x35f6d4(0x115)]='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x2ffe37=_0x422c8d,_0x1ee181=await this[_0x35f6d4(0x11d)](),_0x4f279f=this[_0x35f6d4(0x119)](_0x1ee181),_0x4c16f6=Array[_0x35f6d4(0x118)](_0x1ee181[_0x35f6d4(0x123)])?_0x1ee181[_0x35f6d4(0x123)]:[],_0x5edf9c=_0x2ffe37[_0x35f6d4(0x109)](this['errorCodesOccurredWhenCLINotRunning'][_0x35f6d4(0x100)],0x0)?Array[_0x35f6d4(0x143)](this[_0x35f6d4(0x12b)]):[],_0x185d87=new Set([..._0x4c16f6,..._0x4f279f,..._0x5edf9c]),_0xa408eb=Array['from'](_0x185d87);if(_0x2ffe37[_0x35f6d4(0x109)](_0xa408eb[_0x35f6d4(0x125)],0x0)){const _0x223a59=_0x1ee181[_0x35f6d4(0xf7)][_0x35f6d4(0x128)](_0x2ffe37[_0x35f6d4(0xf5)],_0xa408eb[_0x35f6d4(0x11c)](',\x20'))[_0x35f6d4(0x128)](_0x2ffe37[_0x35f6d4(0x115)],_0x1ee181[_0x35f6d4(0x14c)]);logger['warn'](_0x223a59),this[_0x35f6d4(0x131)]=_0xa408eb;}}}module[a61_0x5cae29(0x11b)]=ClientTroubleShootingService;
|