browserstack-node-sdk 1.50.3 → 1.50.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a48_0x4745(_0x15c97a,_0x8130fc){const _0x2946e7=a48_0x2946();return a48_0x4745=function(_0x474522,_0x1355f8){_0x474522=_0x474522-0xb3;let _0x370210=_0x2946e7[_0x474522];return _0x370210;},a48_0x4745(_0x15c97a,_0x8130fc);}const a48_0x5eb507=a48_0x4745;(function(_0x2b3afd,_0x2a4bb5){const _0x93e1a3=a48_0x4745,_0x565f7f=_0x2b3afd();while(!![]){try{const _0x19d617=-parseInt(_0x93e1a3(0xbb))/0x1*(-parseInt(_0x93e1a3(0x125))/0x2)+parseInt(_0x93e1a3(0xcc))/0x3*(parseInt(_0x93e1a3(0x102))/0x4)+parseInt(_0x93e1a3(0x11e))/0x5+parseInt(_0x93e1a3(0x11f))/0x6+-parseInt(_0x93e1a3(0xfc))/0x7*(-parseInt(_0x93e1a3(0x116))/0x8)+-parseInt(_0x93e1a3(0xe2))/0x9+-parseInt(_0x93e1a3(0xf0))/0xa;if(_0x19d617===_0x2a4bb5)break;else _0x565f7f['push'](_0x565f7f['shift']());}catch(_0x13baba){_0x565f7f['push'](_0x565f7f['shift']());}}}(a48_0x2946,0xc6629));const fs=require('fs'),path=require('path'),util=require(a48_0x5eb507(0xba)),spawn=require(a48_0x5eb507(0x109))[a48_0x5eb507(0xd1)],{requireModule}=require(a48_0x5eb507(0x112)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a48_0x5eb507(0xd6))[a48_0x5eb507(0xc7)],helper=require(a48_0x5eb507(0x112)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a48_0x5eb507(0xfe)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a48_0x5eb507(0xce)),yargs=require(a48_0x5eb507(0xf2)),Constants=require('./utils/constants'),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a48_0x5eb507(0xb4))[a48_0x5eb507(0x115)],origArgs=Object[a48_0x5eb507(0xda)]([],process['argv']),captureError=async(_0x310445,_0x8844fc,_0x3d4ec9,_0x86c004=null)=>{const _0x214e6=a48_0x5eb507,_0x3e7591={'lznQC':function(_0x367f3b,_0x309411,_0x312091,_0x5ad5e3){return _0x367f3b(_0x309411,_0x312091,_0x5ad5e3);},'tdLSy':_0x214e6(0xc0)};try{logger[_0x214e6(0x117)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x214e6(0xe0)]('\x20')),await _0x3e7591[_0x214e6(0x135)](_0x310445,_0x8844fc,_0x86c004,_0x3d4ec9);}catch(_0x2399bc){process['exitCode']=0x1,logger[_0x214e6(0xd9)](util[_0x214e6(0xed)](_0x2399bc));const _0x5c162a={'globalException':util['format']('%j',_0x2399bc)};PerformanceTester[_0x214e6(0x111)](PerformanceEvents['SDK_SETUP'],![],util[_0x214e6(0xed)](_0x2399bc));if(helper['isUndefined'](global[_0x214e6(0xdb)])&&helper['isUndefined'](global[_0x214e6(0x126)]))return;try{utilities[_0x214e6(0x10b)](_0x3e7591[_0x214e6(0xe6)],_0x5c162a,global[_0x214e6(0xdb)],global[_0x214e6(0x126)]);}catch(_0x50388d){logger[_0x214e6(0x11b)](_0x214e6(0xbf)+_0x50388d[_0x214e6(0x141)]);}try{await helper[_0x214e6(0xc6)](global[_0x214e6(0xdb)]);}catch(_0x3af571){logger[_0x214e6(0x11b)](_0x214e6(0xe9)+_0x3af571[_0x214e6(0x141)]);}await BrowserstackCLI[_0x214e6(0xc1)]()[_0x214e6(0xf8)](),PerformanceTester[_0x214e6(0x111)](PerformanceEvents[_0x214e6(0xc9)],![],util[_0x214e6(0xed)](_0x2399bc));}finally{PerformanceTester[_0x214e6(0x127)](PerformanceEvents[_0x214e6(0xc8)]);}};try{const browserstackFolderPath=path[a48_0x5eb507(0xe0)](helper['homedir'](),'.browserstack');if(fs[a48_0x5eb507(0xb8)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a48_0x5eb507(0xd7));fs['existsSync'](filePath)&&fs[a48_0x5eb507(0x10d)](filePath);}}catch(a48_0x177ab9){logger[a48_0x5eb507(0x11b)](a48_0x5eb507(0x132)+a48_0x177ab9[a48_0x5eb507(0x123)]);}process[a48_0x5eb507(0xf4)][a48_0x5eb507(0xca)]('mocha')&&(!process['argv'][a48_0x5eb507(0xca)]('--opts')&&process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x108)](a48_0x5eb507(0x107)),!process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x136)](_0x58156e=>_0x58156e[a48_0x5eb507(0xca)]('--config'))&&process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x108)](a48_0x5eb507(0xdc)),!process[a48_0x5eb507(0xf4)][a48_0x5eb507(0xca)](a48_0x5eb507(0x110))&&process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x108)](a48_0x5eb507(0xd3)),helper[a48_0x5eb507(0xee)](process[a48_0x5eb507(0xf4)],a48_0x5eb507(0xde),a48_0x5eb507(0xc5)));PerformanceTester['start'](PerformanceEvents[a48_0x5eb507(0xc9)]);const a48_0x57a6dc={};a48_0x57a6dc[a48_0x5eb507(0x12a)]=![];const argv=yargs['parserConfiguration'](a48_0x57a6dc)['usage'](a48_0x5eb507(0x128))[a48_0x5eb507(0x13b)]('v','version')[a48_0x5eb507(0xb5)]('v')[a48_0x5eb507(0x13b)]('h',a48_0x5eb507(0x10c))[a48_0x5eb507(0x10c)](a48_0x5eb507(0x10c))[a48_0x5eb507(0x12d)](!![],Constants[a48_0x5eb507(0xbd)]['HELP'])[a48_0x5eb507(0x12f)](a48_0x5eb507(0x114),Constants['JEST'][a48_0x5eb507(0x113)],function(_0x1e073a){const _0x1cf8f3=a48_0x5eb507,_0x93fd57={'uiWLv':_0x1cf8f3(0x114),'JIXYq':function(_0x20ec46,_0x12d77a,_0x296ea0,_0xbf1d9,_0x4ea135){return _0x20ec46(_0x12d77a,_0x296ea0,_0xbf1d9,_0x4ea135);},'feFzv':function(_0x5ab5d5,_0x34d1c5){return _0x5ab5d5(_0x34d1c5);},'LjccP':_0x1cf8f3(0x11a)},_0x3b048a=process[_0x1cf8f3(0xf4)][_0x1cf8f3(0xd4)](0x2);helper[_0x1cf8f3(0xe4)](),helper[_0x1cf8f3(0x134)]();const _0x260b54=new BrowserStackSetup(_0x1e073a[_0x1cf8f3(0xf4)],_0x93fd57[_0x1cf8f3(0xdd)]);return _0x93fd57[_0x1cf8f3(0xdf)](captureError,_0x93fd57[_0x1cf8f3(0x118)](require,_0x93fd57['LjccP']),_0x1e073a[_0x1cf8f3(0xf4)],_0x260b54,_0x3b048a);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0xcf),Constants['MOCHA']['INFO'],_0x467e80=>{const _0x3caef2=a48_0x5eb507,_0x4fa4f7={'OmiOC':function(_0x45fc5a,_0x3658c8,_0x3f0af5,_0x2069e7){return _0x45fc5a(_0x3658c8,_0x3f0af5,_0x2069e7);},'Hwizf':function(_0x1ce00e,_0x150106){return _0x1ce00e(_0x150106);},'uNhhj':_0x3caef2(0x122),'xohSA':_0x3caef2(0xcf),'GkZMK':'Parsing\x20command\x20line\x20arguments','CFuzX':function(_0x1690ed,_0x3ac540,_0x236e68){return _0x1690ed(_0x3ac540,_0x236e68);},'SAvft':'mocha/lib/cli/run.js','EYRpp':function(_0xf3fa5f,_0x34e67a,_0x4ba723){return _0xf3fa5f(_0x34e67a,_0x4ba723);},'eIzJk':'mocha/lib/cli/commands.js','MfXlL':_0x3caef2(0xf9),'MeaTy':function(_0x479a60){return _0x479a60();}};process[_0x3caef2(0xf4)]=process[_0x3caef2(0xf4)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x547230=new BrowserStackSetup(_0x467e80[_0x3caef2(0xf4)],_0x4fa4f7[_0x3caef2(0x140)]);logger[_0x3caef2(0x11b)](_0x4fa4f7[_0x3caef2(0x12b)]);const _0x63cdc7=_0x4fa4f7[_0x3caef2(0xb6)](requireModule,_0x4fa4f7[_0x3caef2(0x101)],_0x4fa4f7[_0x3caef2(0x140)]),_0x345bb4=_0x4fa4f7[_0x3caef2(0x119)](requireModule,_0x4fa4f7[_0x3caef2(0x129)],_0x4fa4f7['xohSA']);delete _0x63cdc7[_0x3caef2(0x11d)],_0x63cdc7[_0x3caef2(0x11d)]=function(_0x2e6af4){const _0x5a59f6=_0x3caef2;return _0x4fa4f7[_0x5a59f6(0xb9)](captureError,_0x4fa4f7[_0x5a59f6(0xc3)](require,_0x4fa4f7[_0x5a59f6(0x105)]),_0x2e6af4,_0x547230);},_0x345bb4[_0x3caef2(0xfd)]=_0x63cdc7;const {main:_0x126095}=_0x4fa4f7[_0x3caef2(0x119)](requireModule,_0x4fa4f7['MfXlL'],_0x4fa4f7[_0x3caef2(0x140)]);_0x4fa4f7[_0x3caef2(0x12e)](_0x126095);})[a48_0x5eb507(0x12f)]('cucumber-js',Constants[a48_0x5eb507(0xb7)][a48_0x5eb507(0x113)],function(_0x594f32){const _0x35f3d2=a48_0x5eb507,_0x677f5c={'JPUaJ':_0x35f3d2(0xea),'dyIwK':function(_0x71112b,_0xb68ac2,_0x4d193d,_0x1c641f,_0x5841a9){return _0x71112b(_0xb68ac2,_0x4d193d,_0x1c641f,_0x5841a9);},'fhOon':function(_0x31e070,_0x5c0705){return _0x31e070(_0x5c0705);},'ggsAH':_0x35f3d2(0xf5)},_0x1723a7=process[_0x35f3d2(0xf4)][_0x35f3d2(0xd4)](0x2),_0x145b71=new BrowserStackSetup(_0x594f32[_0x35f3d2(0xf4)],_0x677f5c[_0x35f3d2(0xbc)]);return _0x677f5c['dyIwK'](captureError,_0x677f5c['fhOon'](require,_0x677f5c[_0x35f3d2(0xc4)]),_0x594f32[_0x35f3d2(0xf4)],_0x145b71,_0x1723a7);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0x133),Constants[a48_0x5eb507(0xeb)][a48_0x5eb507(0x113)],function(_0x34086d){const _0x1b874e=a48_0x5eb507,_0x2d7561={'GTxzG':_0x1b874e(0x100),'gXtoG':function(_0x494aa3,_0x291de9,_0x30c6dc,_0x1ae379,_0x36ebbb){return _0x494aa3(_0x291de9,_0x30c6dc,_0x1ae379,_0x36ebbb);},'syzGl':function(_0x1006db,_0xf54e30){return _0x1006db(_0xf54e30);},'DyeBB':'./vanilla-js/command'},_0xf58100=process['argv'][_0x1b874e(0xd4)](0x2),_0x197aa5=new BrowserStackSetup(_0x34086d['argv'],_0x2d7561[_0x1b874e(0xd8)]);return _0x2d7561['gXtoG'](captureError,_0x2d7561[_0x1b874e(0xf1)](require,_0x2d7561[_0x1b874e(0x12c)]),_0x34086d[_0x1b874e(0xf4)],_0x197aa5,_0xf58100);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0xe7),Constants[a48_0x5eb507(0xd0)][a48_0x5eb507(0x113)],function(_0xd5cb26){const _0xfeb9a0=a48_0x5eb507,_0x20d30a={'OMUmq':function(_0x8a9702,_0x209252,_0x258cdb,_0x350fe8,_0x1cd58e){return _0x8a9702(_0x209252,_0x258cdb,_0x350fe8,_0x1cd58e);},'pLiWI':function(_0x4c989c,_0x461624){return _0x4c989c(_0x461624);},'ASCUd':_0xfeb9a0(0x10e)},_0x918359=process[_0xfeb9a0(0xf4)][_0xfeb9a0(0xd4)](0x2),_0x5ee226=new BrowserStackSetup(_0xd5cb26['argv']);return _0x20d30a[_0xfeb9a0(0x10a)](captureError,_0x20d30a['pLiWI'](require,_0x20d30a[_0xfeb9a0(0x10f)]),_0xd5cb26[_0xfeb9a0(0xf4)],_0x5ee226,_0x918359);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0x137),Constants[a48_0x5eb507(0x131)]['INFO'],function(_0x5c8b1c){const _0x3f6932=a48_0x5eb507,_0x3e1b3a={'iHRjy':_0x3f6932(0x137),'BvLra':function(_0x457b5e,_0x26e36f,_0x3c5220,_0x5ba692,_0x2baa1e){return _0x457b5e(_0x26e36f,_0x3c5220,_0x5ba692,_0x2baa1e);},'pbbsO':function(_0x1411b6,_0x4a1887){return _0x1411b6(_0x4a1887);},'hizWs':_0x3f6932(0xd5)},_0x21185f=process[_0x3f6932(0xf4)][_0x3f6932(0xd4)](0x2),_0x4c718a=new BrowserStackSetup(_0x5c8b1c[_0x3f6932(0xf4)],_0x3e1b3a['iHRjy']);return _0x3e1b3a[_0x3f6932(0x139)](captureError,_0x3e1b3a[_0x3f6932(0xb3)](require,_0x3e1b3a['hizWs']),_0x5c8b1c[_0x3f6932(0xf4)],_0x4c718a,_0x21185f);})['command']('ats',Constants['HST'][a48_0x5eb507(0x113)],function(_0x1dc997){const _0x4caeb2=a48_0x5eb507,_0xb05ef7={'zcAWd':function(_0x4c2046,_0x3391d0,_0x10cf7f){return _0x4c2046(_0x3391d0,_0x10cf7f);},'VoVqM':function(_0x3f4378,_0x43d0cf){return _0x3f4378(_0x43d0cf);},'BYiuV':_0x4caeb2(0xcb)},_0x39215a=process['argv'][_0x4caeb2(0xd4)](0x2);return _0xb05ef7['zcAWd'](captureError,_0xb05ef7[_0x4caeb2(0xef)](require,_0xb05ef7[_0x4caeb2(0x121)]),_0x1dc997);})['command']('integrations',Constants[a48_0x5eb507(0x13f)]['INFO'],function(_0x12764b){const _0x33369f=a48_0x5eb507,_0x1fef3b={'LKXRw':function(_0x271759,_0x1a8ac1){return _0x271759(_0x1a8ac1);}};return _0x1fef3b[_0x33369f(0x120)](runIntegrations,_0x12764b);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0x104),Constants[a48_0x5eb507(0xec)][a48_0x5eb507(0x113)],function(_0x45a125){const _0x2a3e08=a48_0x5eb507,_0x56cd9f={'vVOeY':function(_0x2600fb,_0x2fbe85,_0x191efe,_0x168381,_0xc9a542){return _0x2600fb(_0x2fbe85,_0x191efe,_0x168381,_0xc9a542);},'RZCnN':function(_0x34c356,_0xa3cbe6){return _0x34c356(_0xa3cbe6);},'unGFx':_0x2a3e08(0xcd)},_0x58bf76=process['argv'][_0x2a3e08(0xd4)](0x2);helper[_0x2a3e08(0xfa)](process[_0x2a3e08(0xf4)])&&(process[_0x2a3e08(0x103)][_0x2a3e08(0xd2)]=helper[_0x2a3e08(0xfa)](process[_0x2a3e08(0xf4)]));helper[_0x2a3e08(0xe4)](),helper[_0x2a3e08(0x134)]();const _0x132678=new BrowserStackSetup(_0x45a125[_0x2a3e08(0xf4)],FRAMEWORKS[_0x2a3e08(0xec)]);return _0x56cd9f[_0x2a3e08(0xff)](captureError,_0x56cd9f[_0x2a3e08(0x13d)](require,_0x56cd9f[_0x2a3e08(0xf3)]),_0x45a125[_0x2a3e08(0xf4)],_0x132678,_0x58bf76);})[a48_0x5eb507(0x12f)]('load\x20[subcommand]',a48_0x5eb507(0x11c),function(_0xa1bbc6){const _0x76e27c=a48_0x5eb507,_0x59e80b={};_0x59e80b['IZULa']=_0x76e27c(0x10c),_0x59e80b[_0x76e27c(0xe8)]=_0x76e27c(0x130),_0x59e80b[_0x76e27c(0xbe)]=_0x76e27c(0xf6);const _0x27660a=_0x59e80b;return _0xa1bbc6[_0x76e27c(0x10c)](![])[_0x76e27c(0x13a)](_0x27660a['IZULa'],{'alias':'h','type':_0x27660a[_0x76e27c(0xe8)],'describe':_0x27660a['ygwNH']})[_0x76e27c(0x13c)](![])[_0x76e27c(0x13e)](![]);},function(_0xc33fca){const _0x1b342=a48_0x5eb507,_0xdd5b4={'hipMz':function(_0x342d51,_0x38c7b4,_0x51f4ce){return _0x342d51(_0x38c7b4,_0x51f4ce);},'EToYs':function(_0x3c44b0,_0x2d3c42){return _0x3c44b0(_0x2d3c42);},'LpgAD':_0x1b342(0xe1)},_0x46cd5f={};return _0x46cd5f['argv']=_0xc33fca,_0xdd5b4[_0x1b342(0xfb)](captureError,_0xdd5b4[_0x1b342(0x106)](require,_0xdd5b4[_0x1b342(0xc2)]),_0x46cd5f);})[a48_0x5eb507(0xe5)](0x1,a48_0x5eb507(0xe3))['wrap'](null)[a48_0x5eb507(0xf4)];function a48_0x2946(){const _0xd16f8d=['GkZMK','DyeBB','showHelpOnFail','MeaTy','command','boolean','CODECEPTJS','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','node','setBrowserStackAutomationDisable','lznQC','find','codeceptjs','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','BvLra','option','alias','strict','RZCnN','exitProcess','INTEGRATIONS','xohSA','stack','pbbsO','../helpers/logger','describe','CFuzX','CUCUMBER','existsSync','OmiOC','util','128WLcliU','JPUaJ','VERSION','ygwNH','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','SDKTestSuccessful','getInstance','LpgAD','Hwizf','ggsAH','--mochaRequire','sendLogs','EVENTS','SDK_CLEANUP','SDK_SETUP','includes','../../ats/src/index','1271508bIlcdX','./playwright/command','./integrations/command','mocha','NIGHTWATCH','spawn','BROWSERSTACK_CONFIG_FILE_PATH','--no-package','slice','./codeceptjs/command','../helpers/performance/constants','.local-not-set.json','GTxzG','error','assign','config','--no-config','uiWLv','--require','JIXYq','join','./load/index','10438056yQwJSz','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','setTestObservabilityDisable','demandCommand','tdLSy','nightwatch','BjkmN','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','cucumber-js','VANILLA','PLAYWRIGHT','format','findAndReplace','VoVqM','32413150ebpsVF','syzGl','yargs','unGFx','argv','./cucumber-js/command','Show\x20help','ats','stop','mocha/lib/cli/cli.js','getConfigPath','hipMz','57561NHRzuo','run','../helpers/BrowserStackSetup','vVOeY','vanilla','SAvft','12twBsKm','env','playwright','uNhhj','EToYs','--no-opts','push','child_process','OMUmq','fireFunnelTestEvent','help','unlinkSync','./nightwatch/command','ASCUd','--package','end','../helpers/helper','INFO','jest','winstonLogger','248YbVrJF','info','feFzv','EYRpp','./jest/command','debug','Runs\x20the\x20binary\x20with\x20load\x20command','handler','4513640skpPNW','9548682ckeErp','LKXRw','BYiuV','./mocha/command','message','isUndefined','18642pQumrH','framework','start','usage:\x20$0\x20<command>\x20[args]','eIzJk','dot-notation'];a48_0x2946=function(){return _0xd16f8d;};return a48_0x2946();}!helper[a48_0x5eb507(0x124)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x5eb507(0xf7)&&console[a48_0x5eb507(0xd9)](a48_0x5eb507(0x138));
|
|
2
|
+
'use strict';const a48_0x1dd747=a48_0x2fea;(function(_0x4dba92,_0x18d0fd){const _0x2e7e68=a48_0x2fea,_0x50d815=_0x4dba92();while(!![]){try{const _0x17eeab=parseInt(_0x2e7e68(0x1ae))/0x1*(parseInt(_0x2e7e68(0x1a5))/0x2)+parseInt(_0x2e7e68(0x134))/0x3+parseInt(_0x2e7e68(0x1ab))/0x4+-parseInt(_0x2e7e68(0x13f))/0x5*(-parseInt(_0x2e7e68(0x14a))/0x6)+parseInt(_0x2e7e68(0x18b))/0x7+parseInt(_0x2e7e68(0x139))/0x8*(parseInt(_0x2e7e68(0x19c))/0x9)+-parseInt(_0x2e7e68(0x14f))/0xa;if(_0x17eeab===_0x18d0fd)break;else _0x50d815['push'](_0x50d815['shift']());}catch(_0x17e5db){_0x50d815['push'](_0x50d815['shift']());}}}(a48_0x32a4,0xd3d3d));const fs=require('fs'),path=require(a48_0x1dd747(0x13b)),util=require(a48_0x1dd747(0x172)),spawn=require(a48_0x1dd747(0x1af))[a48_0x1dd747(0x15d)],{requireModule}=require(a48_0x1dd747(0x170)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a48_0x1dd747(0x18a))[a48_0x1dd747(0x19f)],helper=require(a48_0x1dd747(0x170)),utilities=require(a48_0x1dd747(0x153)),{default:BrowserStackSetup}=require(a48_0x1dd747(0x1a7)),{FRAMEWORKS}=require(a48_0x1dd747(0x19e)),runIntegrations=require(a48_0x1dd747(0x130)),yargs=require(a48_0x1dd747(0x174)),Constants=require(a48_0x1dd747(0x141)),BrowserstackCLI=require(a48_0x1dd747(0x12a)),logger=require('../helpers/logger')[a48_0x1dd747(0x14d)],origArgs=Object[a48_0x1dd747(0x189)]([],process['argv']),captureError=async(_0x4fe490,_0x2b5986,_0x1e5f9d,_0x1d67bb=null)=>{const _0x546385=a48_0x1dd747,_0xfdb4f2={'qVAZN':function(_0x4c340c,_0x201f1c,_0x52c6e0,_0x403905){return _0x4c340c(_0x201f1c,_0x52c6e0,_0x403905);},'XRwEa':_0x546385(0x191)};try{logger[_0x546385(0x143)](_0x546385(0x192)+origArgs[_0x546385(0x175)]('\x20')),await _0xfdb4f2[_0x546385(0x1b1)](_0x4fe490,_0x2b5986,_0x1d67bb,_0x1e5f9d);}catch(_0x458710){process['exitCode']=0x1,logger[_0x546385(0x149)](util[_0x546385(0x12f)](_0x458710));const _0x480498={'globalException':util['format']('%j',_0x458710)};PerformanceTester[_0x546385(0x168)](PerformanceEvents[_0x546385(0x17b)],![],util[_0x546385(0x12f)](_0x458710));if(helper['isUndefined'](global[_0x546385(0x179)])&&helper['isUndefined'](global[_0x546385(0x186)]))return;try{utilities[_0x546385(0x14b)](_0xfdb4f2[_0x546385(0x136)],_0x480498,global['config'],global[_0x546385(0x186)]);}catch(_0x480278){logger[_0x546385(0x1a6)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x480278[_0x546385(0x183)]);}try{await helper[_0x546385(0x187)](global[_0x546385(0x179)]);}catch(_0x32bea2){logger[_0x546385(0x1a6)](_0x546385(0x1b3)+_0x32bea2[_0x546385(0x183)]);}await BrowserstackCLI['getInstance']()[_0x546385(0x145)](),PerformanceTester[_0x546385(0x168)](PerformanceEvents[_0x546385(0x17b)],![],util['format'](_0x458710));}finally{PerformanceTester[_0x546385(0x1b2)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a48_0x1dd747(0x175)](helper[a48_0x1dd747(0x196)](),a48_0x1dd747(0x1ad));if(fs[a48_0x1dd747(0x16c)](browserstackFolderPath)){const filePath=path[a48_0x1dd747(0x175)](browserstackFolderPath,a48_0x1dd747(0x17f));fs[a48_0x1dd747(0x16c)](filePath)&&fs[a48_0x1dd747(0x12c)](filePath);}}catch(a48_0x1ed88d){logger['debug'](a48_0x1dd747(0x140)+a48_0x1ed88d[a48_0x1dd747(0x17e)]);}process[a48_0x1dd747(0x19b)]['includes']('mocha')&&(!process['argv'][a48_0x1dd747(0x180)]('--opts')&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x12b)),!process['argv'][a48_0x1dd747(0x182)](_0x264cc7=>_0x264cc7[a48_0x1dd747(0x180)](a48_0x1dd747(0x16f)))&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x164)),!process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x180)](a48_0x1dd747(0x16e))&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x1a1)),helper[a48_0x1dd747(0x181)](process[a48_0x1dd747(0x19b)],a48_0x1dd747(0x142),a48_0x1dd747(0x18e)));PerformanceTester[a48_0x1dd747(0x1b2)](PerformanceEvents[a48_0x1dd747(0x17b)]);const a48_0x5b9f42={};a48_0x5b9f42[a48_0x1dd747(0x15f)]=![];function a48_0x2fea(_0x33e087,_0x454c6b){const _0x32a471=a48_0x32a4();return a48_0x2fea=function(_0x2feaba,_0xd1e7df){_0x2feaba=_0x2feaba-0x127;let _0x570ffb=_0x32a471[_0x2feaba];return _0x570ffb;},a48_0x2fea(_0x33e087,_0x454c6b);}const argv=yargs['parserConfiguration'](a48_0x5b9f42)[a48_0x1dd747(0x15a)](a48_0x1dd747(0x17d))['alias']('v',a48_0x1dd747(0x167))[a48_0x1dd747(0x1b7)]('v')['alias']('h',a48_0x1dd747(0x157))['help'](a48_0x1dd747(0x157))[a48_0x1dd747(0x1b6)](!![],Constants[a48_0x1dd747(0x131)][a48_0x1dd747(0x199)])[a48_0x1dd747(0x129)](a48_0x1dd747(0x177),Constants[a48_0x1dd747(0x137)]['INFO'],function(_0x31cbc3){const _0x20a106=a48_0x1dd747,_0x1c4c02={'zdigV':_0x20a106(0x177),'OafIY':function(_0x2a95c8,_0x2de36e,_0x5c6d5d,_0x2f6e65,_0x11ed07){return _0x2a95c8(_0x2de36e,_0x5c6d5d,_0x2f6e65,_0x11ed07);},'MEwDo':function(_0x1ea03c,_0x2143b8){return _0x1ea03c(_0x2143b8);},'vrDUK':'./jest/command'},_0x2321c6=process['argv'][_0x20a106(0x1a4)](0x2);helper[_0x20a106(0x198)](),helper['setBrowserStackAutomationDisable']();const _0x7d83f6=new BrowserStackSetup(_0x31cbc3[_0x20a106(0x19b)],_0x1c4c02['zdigV']);return _0x1c4c02['OafIY'](captureError,_0x1c4c02[_0x20a106(0x12e)](require,_0x1c4c02[_0x20a106(0x1a0)]),_0x31cbc3['argv'],_0x7d83f6,_0x2321c6);})['command'](a48_0x1dd747(0x132),Constants[a48_0x1dd747(0x197)][a48_0x1dd747(0x156)],_0x27155b=>{const _0x7f195a=a48_0x1dd747,_0xf11859={'DzEEf':function(_0x2ff690,_0x3f3ba5,_0x378ba4,_0x23cf26){return _0x2ff690(_0x3f3ba5,_0x378ba4,_0x23cf26);},'WFyoI':function(_0x47bcbb,_0x138ea7){return _0x47bcbb(_0x138ea7);},'AkWmG':'./mocha/command','bCAMk':'mocha','alBTP':_0x7f195a(0x16b),'SCLYV':function(_0x17a0b8,_0x51ef84,_0x40354a){return _0x17a0b8(_0x51ef84,_0x40354a);},'CebIt':_0x7f195a(0x169),'EDbyB':function(_0x3e10de,_0x5b5954,_0x1b8fc2){return _0x3e10de(_0x5b5954,_0x1b8fc2);},'zeAPS':_0x7f195a(0x190),'eTxvT':function(_0x4bf357,_0x4779ab,_0x13a33f){return _0x4bf357(_0x4779ab,_0x13a33f);},'ifbDG':_0x7f195a(0x159),'nUuxb':function(_0x1a738e){return _0x1a738e();}};process[_0x7f195a(0x19b)]=process['argv'][_0x7f195a(0x1a4)](0x1),helper['setTestObservabilityDisable'](),helper[_0x7f195a(0x1b4)]();const _0x4e655d=new BrowserStackSetup(_0x27155b[_0x7f195a(0x19b)],_0xf11859[_0x7f195a(0x195)]);logger[_0x7f195a(0x1a6)](_0xf11859['alBTP']);const _0x3e0794=_0xf11859[_0x7f195a(0x152)](requireModule,_0xf11859[_0x7f195a(0x176)],_0xf11859[_0x7f195a(0x195)]),_0x40bbd2=_0xf11859[_0x7f195a(0x1a2)](requireModule,_0xf11859['zeAPS'],_0xf11859[_0x7f195a(0x195)]);delete _0x3e0794[_0x7f195a(0x185)],_0x3e0794[_0x7f195a(0x185)]=function(_0x4ee156){const _0x1b35ce=_0x7f195a;return _0xf11859[_0x1b35ce(0x151)](captureError,_0xf11859[_0x1b35ce(0x155)](require,_0xf11859[_0x1b35ce(0x16d)]),_0x4ee156,_0x4e655d);},_0x40bbd2[_0x7f195a(0x144)]=_0x3e0794;const {main:_0x5c4ebe}=_0xf11859['eTxvT'](requireModule,_0xf11859[_0x7f195a(0x128)],_0xf11859[_0x7f195a(0x195)]);_0xf11859[_0x7f195a(0x1ac)](_0x5c4ebe);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x15c),Constants['CUCUMBER'][a48_0x1dd747(0x156)],function(_0x338066){const _0x5dbbb9=a48_0x1dd747,_0x494cfa={'bcGsI':'cucumber-js','VlfPK':function(_0xe6daea,_0x8c2560,_0x9cccf3,_0xffaeed,_0x3b4468){return _0xe6daea(_0x8c2560,_0x9cccf3,_0xffaeed,_0x3b4468);},'lBVlr':function(_0x2c6650,_0x1fee05){return _0x2c6650(_0x1fee05);},'YkWbd':_0x5dbbb9(0x194)},_0x50b18a=process[_0x5dbbb9(0x19b)][_0x5dbbb9(0x1a4)](0x2),_0x27efb6=new BrowserStackSetup(_0x338066['argv'],_0x494cfa[_0x5dbbb9(0x173)]);return _0x494cfa[_0x5dbbb9(0x135)](captureError,_0x494cfa[_0x5dbbb9(0x1b5)](require,_0x494cfa[_0x5dbbb9(0x158)]),_0x338066[_0x5dbbb9(0x19b)],_0x27efb6,_0x50b18a);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x138),Constants['VANILLA']['INFO'],function(_0x5eb1c4){const _0x1589dc=a48_0x1dd747,_0x38291b={'kNJOP':_0x1589dc(0x1aa),'BWOoJ':function(_0x186a0d,_0x390171,_0x58294d,_0x5eda7f,_0x703e3f){return _0x186a0d(_0x390171,_0x58294d,_0x5eda7f,_0x703e3f);},'ZrfMP':function(_0x6b5a25,_0x253047){return _0x6b5a25(_0x253047);},'rxuie':'./vanilla-js/command'},_0x3be3b7=process[_0x1589dc(0x19b)][_0x1589dc(0x1a4)](0x2),_0x406969=new BrowserStackSetup(_0x5eb1c4[_0x1589dc(0x19b)],_0x38291b[_0x1589dc(0x160)]);return _0x38291b[_0x1589dc(0x17a)](captureError,_0x38291b['ZrfMP'](require,_0x38291b['rxuie']),_0x5eb1c4[_0x1589dc(0x19b)],_0x406969,_0x3be3b7);})[a48_0x1dd747(0x129)]('nightwatch',Constants['NIGHTWATCH']['INFO'],function(_0x34618d){const _0x511f3f=a48_0x1dd747,_0x2ad0d1={'ZHqFQ':function(_0x1db577,_0x7cb9b5,_0x2e9fbd,_0x3cd292,_0x206ffa){return _0x1db577(_0x7cb9b5,_0x2e9fbd,_0x3cd292,_0x206ffa);},'PKOcL':function(_0x5b16ba,_0x2a5bb0){return _0x5b16ba(_0x2a5bb0);},'MBqgE':'./nightwatch/command'},_0x42ac81=process[_0x511f3f(0x19b)]['slice'](0x2),_0x451b3e=new BrowserStackSetup(_0x34618d[_0x511f3f(0x19b)]);return _0x2ad0d1[_0x511f3f(0x18f)](captureError,_0x2ad0d1[_0x511f3f(0x154)](require,_0x2ad0d1[_0x511f3f(0x16a)]),_0x34618d['argv'],_0x451b3e,_0x42ac81);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x17c),Constants[a48_0x1dd747(0x161)][a48_0x1dd747(0x156)],function(_0xb9bfb9){const _0x4e68e2=a48_0x1dd747,_0x478891={'Zvqar':_0x4e68e2(0x17c),'Whxda':function(_0x5a5744,_0x349712,_0x1bb567,_0x28d6a0,_0x37affd){return _0x5a5744(_0x349712,_0x1bb567,_0x28d6a0,_0x37affd);},'PxPEu':function(_0x4f5f5f,_0x1eb3f4){return _0x4f5f5f(_0x1eb3f4);},'xxvHk':_0x4e68e2(0x193)},_0x3b957d=process['argv']['slice'](0x2),_0x36ae7a=new BrowserStackSetup(_0xb9bfb9[_0x4e68e2(0x19b)],_0x478891['Zvqar']);return _0x478891[_0x4e68e2(0x18c)](captureError,_0x478891['PxPEu'](require,_0x478891[_0x4e68e2(0x133)]),_0xb9bfb9[_0x4e68e2(0x19b)],_0x36ae7a,_0x3b957d);})[a48_0x1dd747(0x129)]('ats',Constants['HST'][a48_0x1dd747(0x156)],function(_0x40e410){const _0x45bff5=a48_0x1dd747,_0x182638={'dYokD':function(_0x21881c,_0x5703ea,_0x18c37a){return _0x21881c(_0x5703ea,_0x18c37a);},'axGeY':function(_0x3f566d,_0x57d586){return _0x3f566d(_0x57d586);},'XwGsM':_0x45bff5(0x166)},_0x4e0115=process[_0x45bff5(0x19b)][_0x45bff5(0x1a4)](0x2);return _0x182638[_0x45bff5(0x1a8)](captureError,_0x182638[_0x45bff5(0x13a)](require,_0x182638['XwGsM']),_0x40e410);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x150),Constants[a48_0x1dd747(0x178)][a48_0x1dd747(0x156)],function(_0xbc7b8c){const _0x5e77f4=a48_0x1dd747,_0x530998={'QEuue':function(_0xd3438e,_0x5d82a6){return _0xd3438e(_0x5d82a6);}};return _0x530998[_0x5e77f4(0x147)](runIntegrations,_0xbc7b8c);})['command'](a48_0x1dd747(0x13d),Constants[a48_0x1dd747(0x146)][a48_0x1dd747(0x156)],function(_0x1274d5){const _0x454afb=a48_0x1dd747,_0x5b520d={'gkziy':function(_0x21ecdc,_0x59d7ce,_0x42a6ce,_0x1f60ae,_0x5eb40c){return _0x21ecdc(_0x59d7ce,_0x42a6ce,_0x1f60ae,_0x5eb40c);},'GrxVF':function(_0x1007a4,_0x693d76){return _0x1007a4(_0x693d76);},'uQtUT':_0x454afb(0x1b0)},_0x10e50b=process['argv']['slice'](0x2);helper[_0x454afb(0x15e)](process['argv'])&&(process[_0x454afb(0x127)][_0x454afb(0x13c)]=helper['getConfigPath'](process[_0x454afb(0x19b)]));helper[_0x454afb(0x198)](),helper[_0x454afb(0x1b4)]();const _0x160210=new BrowserStackSetup(_0x1274d5[_0x454afb(0x19b)],FRAMEWORKS['PLAYWRIGHT']);return _0x5b520d['gkziy'](captureError,_0x5b520d[_0x454afb(0x1b8)](require,_0x5b520d['uQtUT']),_0x1274d5[_0x454afb(0x19b)],_0x160210,_0x10e50b);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x13e),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x2b17ef){const _0x24c504=a48_0x1dd747,_0x407d7b={};_0x407d7b[_0x24c504(0x163)]=_0x24c504(0x157),_0x407d7b[_0x24c504(0x19d)]=_0x24c504(0x12d),_0x407d7b[_0x24c504(0x1a3)]=_0x24c504(0x19a);const _0x239bb4=_0x407d7b;return _0x2b17ef[_0x24c504(0x157)](![])['option'](_0x239bb4['XHDfP'],{'alias':'h','type':_0x239bb4[_0x24c504(0x19d)],'describe':_0x239bb4[_0x24c504(0x1a3)]})[_0x24c504(0x14e)](![])[_0x24c504(0x18d)](![]);},function(_0x1e6d48){const _0x340ad9=a48_0x1dd747,_0x42d6a7={'IHBHS':function(_0x460066,_0x256c15,_0x3f5fa4){return _0x460066(_0x256c15,_0x3f5fa4);},'lzzLb':function(_0x427f4c,_0x49045b){return _0x427f4c(_0x49045b);},'jtlil':_0x340ad9(0x1a9)},_0x2ccb47={};return _0x2ccb47[_0x340ad9(0x19b)]=_0x1e6d48,_0x42d6a7[_0x340ad9(0x188)](captureError,_0x42d6a7[_0x340ad9(0x184)](require,_0x42d6a7[_0x340ad9(0x162)]),_0x2ccb47);})[a48_0x1dd747(0x165)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x1dd747(0x171)](null)[a48_0x1dd747(0x19b)];function a48_0x32a4(){const _0x6cf58c=['nUuxb','.browserstack','1LjzrzO','child_process','./playwright/command','qVAZN','start','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','setBrowserStackAutomationDisable','lBVlr','showHelpOnFail','describe','GrxVF','env','ifbDG','command','./v2/browserstackCLI','--no-opts','unlinkSync','boolean','MEwDo','format','./integrations/command','VERSION','mocha','xxvHk','3955344jsjTEO','VlfPK','XRwEa','JEST','node','4616louCEk','axGeY','path','BROWSERSTACK_CONFIG_FILE_PATH','playwright','load\x20[subcommand]','310asVIyt','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./utils/constants','--require','info','run','stop','PLAYWRIGHT','QEuue','ats','error','115530LGesXQ','fireFunnelTestEvent','push','winstonLogger','strict','54677190UkHTBn','integrations','DzEEf','SCLYV','../helpers/utilities','PKOcL','WFyoI','INFO','help','YkWbd','mocha/lib/cli/cli.js','usage','isUndefined','cucumber-js','spawn','getConfigPath','dot-notation','kNJOP','CODECEPTJS','jtlil','XHDfP','--no-config','demandCommand','../../ats/src/index','version','end','mocha/lib/cli/run.js','MBqgE','Parsing\x20command\x20line\x20arguments','existsSync','AkWmG','--package','--config','../helpers/helper','wrap','util','bcGsI','yargs','join','CebIt','jest','INTEGRATIONS','config','BWOoJ','SDK_SETUP','codeceptjs','usage:\x20$0\x20<command>\x20[args]','message','.local-not-set.json','includes','findAndReplace','find','stack','lzzLb','handler','framework','sendLogs','IHBHS','assign','../helpers/performance/constants','10862964JGxAtm','Whxda','exitProcess','--mochaRequire','ZHqFQ','mocha/lib/cli/commands.js','SDKTestSuccessful','Running\x20SDK\x20with\x20args\x20','./codeceptjs/command','./cucumber-js/command','bCAMk','homedir','MOCHA','setTestObservabilityDisable','HELP','Show\x20help','argv','7335Ckbpdi','BrIcz','../helpers/test-observability/constants','EVENTS','vrDUK','--no-package','EDbyB','wOygb','slice','2896958UptOKf','debug','../helpers/BrowserStackSetup','dYokD','./load/index','vanilla','1410080ebvDos'];a48_0x32a4=function(){return _0x6cf58c;};return a48_0x32a4();}!helper[a48_0x1dd747(0x15b)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x1dd747(0x148)&&console[a48_0x1dd747(0x149)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a49_0x3cda28=a49_0x58ff;(function(_0x33f95f,_0x414e9d){const _0x15c486=a49_0x58ff,_0xdd8511=_0x33f95f();while(!![]){try{const _0x4779dd=parseInt(_0x15c486(0x1f2))/0x1+parseInt(_0x15c486(0x1f5))/0x2*(parseInt(_0x15c486(0x210))/0x3)+parseInt(_0x15c486(0x215))/0x4*(-parseInt(_0x15c486(0x208))/0x5)+-parseInt(_0x15c486(0x207))/0x6*(-parseInt(_0x15c486(0x1fa))/0x7)+parseInt(_0x15c486(0x21b))/0x8+parseInt(_0x15c486(0x209))/0x9+-parseInt(_0x15c486(0x1e9))/0xa;if(_0x4779dd===_0x414e9d)break;else _0xdd8511['push'](_0xdd8511['shift']());}catch(_0x5758ca){_0xdd8511['push'](_0xdd8511['shift']());}}}(a49_0x5aef,0xc1434));const fs=require('fs'),helper=require(a49_0x3cda28(0x1fc)),utilities=require(a49_0x3cda28(0x21d)),yaml=require(a49_0x3cda28(0x20e)),yargs=require('yargs'),logger=require('../helpers/logger')[a49_0x3cda28(0x21e)],configFileTemplate=__dirname+a49_0x3cda28(0x214),configFileTemplatePW=__dirname+a49_0x3cda28(0x1fe),configFile=process['cwd']()+a49_0x3cda28(0x1dd),packageFile=process[a49_0x3cda28(0x1e8)]()+a49_0x3cda28(0x1e7),frameworks=[a49_0x3cda28(0x206),a49_0x3cda28(0x1d8),a49_0x3cda28(0x20b),'node',a49_0x3cda28(0x216),'codeceptjs',a49_0x3cda28(0x1de)];let config;logger[a49_0x3cda28(0x20c)](a49_0x3cda28(0x213)),createConfigurationFile(yargs[a49_0x3cda28(0x1d9)][a49_0x3cda28(0x1e6)],yargs[a49_0x3cda28(0x1d9)][a49_0x3cda28(0x204)],yargs[a49_0x3cda28(0x1d9)][a49_0x3cda28(0x1de)]);try{sdkSetup();}catch(a49_0x5b8710){logger[a49_0x3cda28(0x1d7)](a49_0x3cda28(0x1f7)+a49_0x5b8710);}addScriptInPackageJson();function a49_0x58ff(_0x9b69a1,_0x2abcd2){const _0x5aefe3=a49_0x5aef();return a49_0x58ff=function(_0x58ff84,_0x18410f){_0x58ff84=_0x58ff84-0x1d3;let _0xe85582=_0x5aefe3[_0x58ff84];return _0xe85582;},a49_0x58ff(_0x9b69a1,_0x2abcd2);}function createConfigurationFile(_0x599179,_0x102bb7,_0x575f22=![]){const _0x1a3e75=a49_0x3cda28,_0x510457={};_0x510457[_0x1a3e75(0x21a)]=_0x1a3e75(0x218),_0x510457[_0x1a3e75(0x202)]=_0x1a3e75(0x1ea),_0x510457[_0x1a3e75(0x21c)]=_0x1a3e75(0x1df);const _0x1daaa8=_0x510457;try{let _0x4aef36=fs[_0x1a3e75(0x20a)](_0x575f22?configFileTemplatePW:configFileTemplate,_0x1daaa8[_0x1a3e75(0x21a)]);_0x599179&&(_0x4aef36=_0x4aef36[_0x1a3e75(0x1d3)](_0x1daaa8[_0x1a3e75(0x202)],_0x599179)),_0x102bb7&&(_0x4aef36=_0x4aef36[_0x1a3e75(0x1d3)](_0x1daaa8['Xtvnw'],_0x102bb7)),config=yaml[_0x1a3e75(0x203)](_0x4aef36),fs['writeFileSync'](configFile,_0x4aef36,_0x4028fd=>{_0x4028fd&&logger['error'](_0x4028fd);});}catch(_0x290825){logger[_0x1a3e75(0x1ed)](_0x290825);}}function addPostInstallScript(_0x135353,_0x232911){const _0x4c2226=a49_0x3cda28,_0x1baada={};_0x1baada[_0x4c2226(0x217)]=_0x4c2226(0x1fb),_0x1baada[_0x4c2226(0x1e2)]=_0x4c2226(0x1f6),_0x1baada[_0x4c2226(0x212)]=_0x4c2226(0x1ee);const _0x64618f=_0x1baada;let _0x5e493b=_0x135353[_0x64618f[_0x4c2226(0x217)]];if(_0x5e493b&&_0x5e493b['includes'](_0x64618f[_0x4c2226(0x1e2)]))return;!_0x5e493b?_0x5e493b=_0x64618f['LXWoz']:_0x5e493b+=_0x64618f[_0x4c2226(0x212)],_0x232911['push']([_0x64618f[_0x4c2226(0x217)],_0x5e493b]);}function a49_0x5aef(){const _0x114ffa=['YOUR_ACCESS_KEY','writeFileSync','scripts','LXWoz','length','VBYIO','YXdkm','username','/package.json','cwd','23695030KtOKfr','YOUR_USERNAME','indexOf','DNEhl','error','\x20&&\x20npm\x20update\x20browserstack-node-sdk','dgULq','parse','onaOi','851356nWUOFs','stringify','push','2180838CbFidn','npm\x20update\x20browserstack-node-sdk','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','splice','split','7UtpCGH','postinstall','../helpers/helper','isUndefined','/../../browserstack.pw.yml.sample','jRdLw','rOjMH','aePef','fXHAx','load','key','bqpZW','mocha','2812182DTwEQH','1179390jAEeNv','4594275LUVrms','readFileSync','cucumber-js','info','JPPFJ','js-yaml','Setup\x20completed','3xHhmxF','SDKSetup','cTtRD','Creating\x20configuration\x20file...','/../../browserstack.yml.sample','4iynbPn','nightwatch','ZuZKC','utf8','node-setup','AoYDA','3808304redMNg','Xtvnw','../helpers/utilities','winstonLogger','browserstack-node-sdk\x20','replace','-browserstack','PazvS','pzAmy','debug','jest','argv','OoqBO','includes','grcAi','/browserstack.yml','playwright'];a49_0x5aef=function(){return _0x114ffa;};return a49_0x5aef();}function addScriptInPackageJson(){const _0x4e6f1d=a49_0x3cda28,_0x2fb75d={'DNEhl':_0x4e6f1d(0x218),'rOjMH':function(_0x2fb623,_0x12bc01){return _0x2fb623<_0x12bc01;},'grcAi':function(_0x1f082f,_0x1d2620,_0xe12a01){return _0x1f082f(_0x1d2620,_0xe12a01);},'JjWwV':function(_0x115efb,_0x144d8e,_0xfc91cc){return _0x115efb(_0x144d8e,_0xfc91cc);},'JPPFJ':function(_0xc2784d,_0x5ab319,_0x418ec9){return _0xc2784d(_0x5ab319,_0x418ec9);},'pzAmy':function(_0x4fb2a0,_0x54c87b){return _0x4fb2a0<_0x54c87b;},'dgULq':function(_0x31ecca,_0x87991){return _0x31ecca!==_0x87991;},'OoqBO':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x438d37=JSON[_0x4e6f1d(0x1f0)](fs[_0x4e6f1d(0x20a)](packageFile,_0x2fb75d[_0x4e6f1d(0x1ec)])),_0x110c7d=[];for(let _0x382917=0x0;_0x2fb75d[_0x4e6f1d(0x200)](_0x382917,frameworks[_0x4e6f1d(0x1e3)]);_0x382917+=0x1){const _0x48bb12=_0x2fb75d[_0x4e6f1d(0x1dc)](findScriptsWithFramework,_0x438d37[_0x4e6f1d(0x1e1)],frameworks[_0x382917]);for(let _0x336c82=0x0;_0x2fb75d['rOjMH'](_0x336c82,_0x48bb12[_0x4e6f1d(0x1e3)]);_0x336c82+=0x1){_0x110c7d[_0x4e6f1d(0x1f4)](_0x2fb75d['JjWwV'](getUpdatedCommand,_0x438d37[_0x4e6f1d(0x1e1)],_0x48bb12[_0x336c82]));}_0x2fb75d[_0x4e6f1d(0x20d)](addPostInstallScript,_0x438d37['scripts'],_0x110c7d);}const _0x10b29c={..._0x438d37['scripts']},_0x5475d9=_0x10b29c;for(let _0x4989f5=0x0;_0x2fb75d[_0x4e6f1d(0x1d6)](_0x4989f5,_0x110c7d[_0x4e6f1d(0x1e3)]);_0x4989f5+=0x1){_0x5475d9[_0x110c7d[_0x4989f5][0x0]]=_0x110c7d[_0x4989f5][0x1];}_0x2fb75d[_0x4e6f1d(0x1ef)](JSON[_0x4e6f1d(0x1f3)](_0x438d37['scripts']),JSON[_0x4e6f1d(0x1f3)](_0x5475d9))&&(logger['info'](_0x2fb75d[_0x4e6f1d(0x1da)]),_0x438d37[_0x4e6f1d(0x1e1)]=_0x5475d9,fs[_0x4e6f1d(0x1e0)](packageFile,JSON[_0x4e6f1d(0x1f3)](_0x438d37,null,0x2),_0x5d9fca=>{const _0xd4f052=_0x4e6f1d;_0x5d9fca&&logger[_0xd4f052(0x1ed)](_0x5d9fca);}));};function findScriptsWithFramework(_0x509be9,_0x1f65a5){const _0x258d66=a49_0x3cda28,_0x2b0c2b={};_0x2b0c2b[_0x258d66(0x1ff)]=function(_0x4abd0c,_0x3025a7){return _0x4abd0c<_0x3025a7;},_0x2b0c2b[_0x258d66(0x201)]='browserstack-node-sdk';const _0x38aa92=_0x2b0c2b,_0x2b859b=[],_0x364f14=Object['entries'](_0x509be9);for(let _0x153257=0x0;_0x38aa92[_0x258d66(0x1ff)](_0x153257,_0x364f14[_0x258d66(0x1e3)]);_0x153257+=0x1){_0x364f14[_0x153257][0x1]['includes'](_0x1f65a5)&&!_0x364f14[_0x153257][0x1][_0x258d66(0x1db)](_0x38aa92[_0x258d66(0x201)])&&_0x2b859b[_0x258d66(0x1f4)](_0x364f14[_0x153257][0x0]);}return _0x2b859b;}function getUpdatedCommand(_0x40bdab,_0x1ccf87){const _0x24bd14=a49_0x3cda28,_0x190238={};_0x190238[_0x24bd14(0x1f1)]=function(_0x12eeac,_0x42cd3b){return _0x12eeac!==_0x42cd3b;},_0x190238[_0x24bd14(0x205)]='browserstack-node-sdk',_0x190238[_0x24bd14(0x1d5)]=function(_0xc028b5,_0x3c5a80){return _0xc028b5===_0x3c5a80;};const _0x493bba=_0x190238,_0x970fcc=_0x1ccf87+_0x24bd14(0x1d4),_0x715fb7=_0x40bdab[_0x1ccf87],_0xe7419d=_0x715fb7[_0x24bd14(0x1f9)]('\x20');for(const _0x3e7340 of frameworks){if(_0x493bba[_0x24bd14(0x1f1)](_0xe7419d[_0x24bd14(0x1eb)](_0x3e7340),-0x1)){_0xe7419d[_0x24bd14(0x1f8)](_0xe7419d[_0x24bd14(0x1eb)](_0x3e7340),0x0,_0x493bba[_0x24bd14(0x205)]);break;}}let _0x10f4b0=_0xe7419d['join']('\x20');return _0x493bba[_0x24bd14(0x1d5)](_0x10f4b0,_0x715fb7)&&(_0x10f4b0=_0x24bd14(0x21f)+_0x715fb7),[_0x970fcc,_0x10f4b0];}function sdkSetup(){const _0x3c6c6d=a49_0x3cda28,_0x322e67={};_0x322e67[_0x3c6c6d(0x1e5)]=_0x3c6c6d(0x219),_0x322e67['VBYIO']=_0x3c6c6d(0x211);const _0xe36a46=_0x322e67;if(helper[_0x3c6c6d(0x1fd)](config))return;config['source']=_0xe36a46['YXdkm'];try{utilities['fireFunnelTestEvent'](_0xe36a46[_0x3c6c6d(0x1e4)],{},config,'');}catch(_0x2ac9e6){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x2ac9e6);}}logger['info'](a49_0x3cda28(0x20f));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50_0xadbe8d=a50_0x5bb1;(function(_0x400989,_0x317092){const _0x5ae3f2=a50_0x5bb1,_0x214026=_0x400989();while(!![]){try{const _0x13aa9f=-parseInt(_0x5ae3f2(0x152))/0x1*(parseInt(_0x5ae3f2(0x157))/0x2)+parseInt(_0x5ae3f2(0x13a))/0x3+parseInt(_0x5ae3f2(0x12c))/0x4+parseInt(_0x5ae3f2(0x125))/0x5+parseInt(_0x5ae3f2(0x115))/0x6*(parseInt(_0x5ae3f2(0x130))/0x7)+parseInt(_0x5ae3f2(0x156))/0x8*(parseInt(_0x5ae3f2(0x139))/0x9)+parseInt(_0x5ae3f2(0x10b))/0xa*(-parseInt(_0x5ae3f2(0x15b))/0xb);if(_0x13aa9f===_0x317092)break;else _0x214026['push'](_0x214026['shift']());}catch(_0x9a3d7){_0x214026['push'](_0x214026['shift']());}}}(a50_0x3b8f,0x6bc25));const Worker=require(a50_0xadbe8d(0x119))[a50_0xadbe8d(0x136)],Emittery=require('emittery'),pLimit=require(a50_0xadbe8d(0x154)),{parentPort}=require('worker_threads'),util=require(a50_0xadbe8d(0x124)),logger=require('../../helpers/logger')['winstonLogger'],PerformanceTester=require(a50_0xadbe8d(0x109)),PerformanceEvents=require('../../helpers/performance/constants')[a50_0xadbe8d(0x11e)],{debug}=require(a50_0xadbe8d(0x14f)),TestHubHandler=require(a50_0xadbe8d(0x113));function a50_0x3b8f(){const _0x2d83c3=['\x20for','Dlwho','resolve','vtVmP','QgngC','eeNuX','Nncej','SDK_SETUP','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','aQnhY','cXAYU','test-file-success','../../helpers/test-observability/utils','iumdG','cucumberWorker','3848FdQpOV','Exception\x20in\x20sending\x20worker\x20message\x20','p-limit','RGtsE','30344cwOVci','26TwwQaO','length','pNmaY','xZjng','81301pDoZDI','PxakJ','EFGCq','info','AigZH','platform-run-failure','dGvsX','ZfeEL','exitCode','map','emit','parallelVanillaRun','EQZCP','getStdout','../../helpers/performance/performance-tester','stderr','4010XXjBDF','worker','all','test-file-start','failureCount','json','cNQtv','slXcw','../../helpers/testhub/testhubHandler','end','198liSDKi','format','vanillaWorker','platform-run-start','jest-worker','stop','getStderr','getWorkers','configuration','EVENTS','WUHcS','send','EWrpc','parallelTestRun','Workers\x20failed\x20to\x20exit\x20gracefully','util','3257880fIZDKU','_child','tirtb','vOCNs','AkEcW','stdout','./testWorker.js','3157588wdMEer','then','platform','Running\x20','164073TAsdOB','exit','error','test-file-failure','file','pipe','Worker','FSYRT','VgJGu','1359ovMHbJ','2003979pYoXJA','platforms','gqPwz','platformCaps','log','push','BLfxD','WgnVQ','BJNUx'];a50_0x3b8f=function(){return _0x2d83c3;};return a50_0x3b8f();}function a50_0x5bb1(_0x4b26db,_0x3c88a4){const _0x3b8f73=a50_0x3b8f();return a50_0x5bb1=function(_0x5bb18b,_0x248873){_0x5bb18b=_0x5bb18b-0x101;let _0x479880=_0x3b8f73[_0x5bb18b];return _0x479880;},a50_0x5bb1(_0x4b26db,_0x3c88a4);}exports[a50_0xadbe8d(0x122)]=(_0x49ce53,_0x201af6,_0x44cc79)=>new Promise(async _0x58ff1b=>{const _0x3ad74e=a50_0xadbe8d,_0x5e2263={'cXAYU':_0x3ad74e(0x10f),'FSYRT':function(_0x49fb2b,_0x4c1c53){return _0x49fb2b+_0x4c1c53;},'iumdG':'results','QgngC':'Workers\x20failed\x20to\x20exit\x20gracefully','vOCNs':function(_0x4423be,_0x4b5adc){return _0x4423be(_0x4b5adc);},'EQZCP':_0x3ad74e(0x10e),'LbwtS':_0x3ad74e(0x12b),'ZfeEL':_0x3ad74e(0x10c),'vqgBX':_0x3ad74e(0x110),'EWrpc':_0x3ad74e(0x135),'pNmaY':function(_0x4fb23c,_0x583f97){return _0x4fb23c*_0x583f97;},'BLfxD':'test-file-success','Nncej':_0x3ad74e(0x133)},_0x13b88c=_0x44cc79['config'],_0x4afa2b={},_0x194a03=new Worker(require[_0x3ad74e(0x145)](_0x5e2263['LbwtS']),{'exposedMethods':[_0x5e2263[_0x3ad74e(0x102)]],'forkOptions':{'serialization':_0x5e2263['vqgBX'],'stdio':_0x5e2263[_0x3ad74e(0x121)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5e2263[_0x3ad74e(0x159)](_0x201af6,0x1),'enableWorkerThreads':!![]}),_0x3015c5=new Emittery();_0x3015c5['on'](_0x5e2263[_0x3ad74e(0x140)],_0x5e33fc=>{const _0x56a2b3=_0x3ad74e;_0x4afa2b[_0x5e33fc[0x0]]?(_0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x14d)]]=_0x5e2263[_0x56a2b3(0x137)](_0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x14d)]],_0x5e33fc[0x1][_0x5e2263['cXAYU']]),_0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x150)]]=[..._0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x150)]],..._0x5e33fc[0x1][_0x5e2263['iumdG']]]):_0x4afa2b[_0x5e33fc[0x0]]={'failureCount':_0x5e33fc[0x1][_0x5e2263['cXAYU']],'results':[..._0x5e33fc[0x1][_0x5e2263[_0x56a2b3(0x150)]]]};}),_0x3015c5['on'](_0x5e2263[_0x3ad74e(0x149)],_0xfc6a22=>console[_0x3ad74e(0x13e)](_0xfc6a22[0x1]));_0x194a03[_0x3ad74e(0x108)]()&&_0x194a03[_0x3ad74e(0x108)]()[_0x3ad74e(0x135)](process[_0x3ad74e(0x12a)]);_0x194a03[_0x3ad74e(0x11b)]()&&_0x194a03[_0x3ad74e(0x11b)]()[_0x3ad74e(0x135)](process[_0x3ad74e(0x10a)]);const _0x2ba935=async()=>{const _0x154d88=_0x3ad74e,{forceExited:_0x5941e7}=await _0x194a03[_0x154d88(0x114)]();_0x5941e7&&console[_0x154d88(0x132)](_0x5e2263[_0x154d88(0x147)]);try{await TestHubHandler[_0x154d88(0x11a)]();}catch(_0x11edbe){_0x5e2263[_0x154d88(0x128)](debug,_0x154d88(0x14b)+_0x11edbe);}_0x5e2263[_0x154d88(0x128)](_0x58ff1b,_0x4afa2b);},_0x30ecc5=_0x5e2263[_0x3ad74e(0x128)](pLimit,_0x5e2263[_0x3ad74e(0x159)](_0x201af6,0x1)),_0x4f2ab5=_0x409899=>_0x30ecc5(async()=>{const _0x5276d2=_0x3ad74e;await _0x3015c5[_0x5276d2(0x105)](_0x5e2263[_0x5276d2(0x107)],_0x409899);const _0x2e544f=_0x194a03[_0x5276d2(0x10c)](_0x409899,_0x13b88c);try{parentPort&&_0x2e544f['UNSTABLE_onCustomMessage'](_0x15471b=>{const _0x16be0c=_0x5276d2;try{parentPort['postMessage'](_0x15471b);}catch(_0x39c981){logger['debug'](_0x16be0c(0x153)+util['format'](_0x39c981));}});}catch(_0x3d2215){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x5276d2(0x116)](_0x3d2215));}return _0x2e544f;});PerformanceTester[_0x3ad74e(0x114)](PerformanceEvents[_0x3ad74e(0x14a)]),Promise[_0x3ad74e(0x10d)](_0x49ce53[_0x3ad74e(0x104)](_0x11efb9=>_0x4f2ab5(_0x11efb9)['then'](_0x2c1c19=>_0x3015c5[_0x3ad74e(0x105)]('test-file-success',[_0x11efb9['configuration'][_0x3ad74e(0x12e)],_0x2c1c19]),_0x48da0c=>_0x3015c5[_0x3ad74e(0x105)]('test-file-failure',[_0x11efb9,_0x48da0c]))))[_0x3ad74e(0x12d)](_0x2ba935,_0x2ba935);}),exports['parallelCucumberRun']=(_0x5ccacf,_0x1068c3,_0x347536,_0x1bd4a9,_0x14155d)=>{const _0x4c56ee=a50_0xadbe8d,_0x1b9814={'slXcw':_0x4c56ee(0x123),'VgJGu':function(_0x332c6a,_0x410243){return _0x332c6a(_0x410243);},'gqPwz':_0x4c56ee(0x118),'jsbnY':'./testWorker.js','AigZH':'cucumberWorker','vtVmP':_0x4c56ee(0x110),'NWzqT':'pipe','dGvsX':'platform-run-success','BJNUx':'platform-run-failure'};return new Promise(_0x430a35=>{const _0x56b981=_0x4c56ee,_0x3c0279=[],_0xb13f03=new Worker(require[_0x56b981(0x145)](_0x1b9814['jsbnY']),{'exposedMethods':[_0x1b9814[_0x56b981(0x15f)]],'forkOptions':{'serialization':_0x1b9814[_0x56b981(0x146)],'stdio':_0x1b9814['NWzqT']},'numWorkers':_0x5ccacf[_0x56b981(0x158)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2ec2ea=new Emittery();_0x2ec2ea['on'](_0x1b9814[_0x56b981(0x101)],_0x5d23ce=>{const _0x188c1c=_0x56b981;_0x3c0279[_0x188c1c(0x13f)]([_0x5d23ce[0x0],_0x5d23ce[0x1]]);}),_0x2ec2ea['on'](_0x1b9814[_0x56b981(0x142)],_0x3b2da5=>console['log'](_0x3b2da5[0x1]));_0xb13f03[_0x56b981(0x108)]()&&_0xb13f03[_0x56b981(0x108)]()['pipe'](process[_0x56b981(0x12a)]);_0xb13f03[_0x56b981(0x11b)]()&&_0xb13f03[_0x56b981(0x11b)]()['pipe'](process['stderr']);const _0x13c928=async()=>{const _0x3d81c1=_0x56b981,{forceExited:_0x1dfa56}=await _0xb13f03[_0x3d81c1(0x114)]();_0x1dfa56&&console[_0x3d81c1(0x132)](_0x1b9814[_0x3d81c1(0x112)]),_0x1b9814['VgJGu'](_0x430a35,_0x3c0279);},_0x279ed5=_0x1b9814[_0x56b981(0x138)](pLimit,_0x5ccacf[_0x56b981(0x158)]||0x1),_0xb5be4f=(_0x2b78bd,_0x2cb363)=>_0x279ed5(async()=>{const _0x26d796=_0x56b981;return await _0x2ec2ea[_0x26d796(0x105)](_0x1b9814[_0x26d796(0x13c)],_0x2b78bd),_0x1068c3[_0x26d796(0x13d)]=_0x347536[_0x26d796(0x13b)][_0x2cb363],_0xb13f03[_0x26d796(0x151)](_0x2b78bd,_0x1068c3,_0x347536,_0x1bd4a9,_0x14155d);});Promise[_0x56b981(0x10d)](_0x5ccacf['map']((_0x28376a,_0x52c633)=>_0xb5be4f(_0x28376a,_0x52c633)['then'](_0x1e7dbe=>_0x2ec2ea[_0x56b981(0x105)]('platform-run-success',[_0x28376a,_0x1e7dbe]),_0x185dc5=>_0x2ec2ea[_0x56b981(0x105)](_0x56b981(0x160),[_0x28376a,_0x185dc5]))))[_0x56b981(0x12d)](_0x13c928,_0x13c928);});},exports[a50_0xadbe8d(0x106)]=(_0x409351,_0xd9a26e)=>new Promise(_0x5600ca=>{const _0x37ab0d=a50_0xadbe8d,_0x54a65e={'EFGCq':function(_0x5aeb77,_0x3cb070){return _0x5aeb77===_0x3cb070;},'aQnhY':function(_0x593789,_0x4bb3c9){return _0x593789!==_0x4bb3c9;},'xZjng':_0x37ab0d(0x131),'WUHcS':_0x37ab0d(0x123),'WgnVQ':function(_0x5e07dc,_0x16dbd9){return _0x5e07dc(_0x16dbd9);},'eeNuX':_0x37ab0d(0x12b),'tirtb':_0x37ab0d(0x117),'Dlwho':'json','AkEcW':'pipe','aEjZO':_0x37ab0d(0x14e),'PxakJ':_0x37ab0d(0x133),'cNQtv':function(_0xf757ef,_0x32a1cd){return _0xf757ef(_0x32a1cd);}},_0x3d3286={},_0x327627=new Worker(require[_0x37ab0d(0x145)](_0x54a65e[_0x37ab0d(0x148)]),{'exposedMethods':[_0x54a65e[_0x37ab0d(0x127)]],'forkOptions':{'serialization':_0x54a65e[_0x37ab0d(0x144)],'stdio':_0x54a65e[_0x37ab0d(0x129)]},'numWorkers':_0xd9a26e,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3414b1=new Emittery();_0x3414b1['on'](_0x54a65e['aEjZO'],_0x39403d=>{const _0x322469=_0x37ab0d;_0x39403d[0x0]&&logger[_0x322469(0x15e)](_0x322469(0x12f)+_0x39403d[0x1]+_0x322469(0x143),_0x39403d[0x0]);}),_0x3414b1['on'](_0x54a65e[_0x37ab0d(0x15c)],_0x4b5aca=>{const _0x287442=_0x37ab0d;process[_0x287442(0x103)]=0x1;});_0x327627[_0x37ab0d(0x108)]()&&_0x327627[_0x37ab0d(0x108)]()['pipe'](process[_0x37ab0d(0x12a)]);_0x327627[_0x37ab0d(0x11b)]()&&_0x327627['getStderr']()[_0x37ab0d(0x135)](process[_0x37ab0d(0x10a)]);const _0x5a97aa=async()=>{const _0x43ea48=_0x37ab0d;let _0xdaead7=0x0;const _0xce962a=_0x327627['_workerPool'][_0x43ea48(0x11c)](),_0x54c708=()=>{},_0x8e72b9=_0xce962a[_0x43ea48(0x104)](async _0x55d57e=>{const _0x1b8347=_0x43ea48,_0x3431d3={'Haknm':function(_0x515c9a,_0x10f91f){const _0x45675b=a50_0x5bb1;return _0x54a65e[_0x45675b(0x15d)](_0x515c9a,_0x10f91f);},'RGtsE':function(_0xfa9b8e,_0x340583){const _0x71b523=a50_0x5bb1;return _0x54a65e[_0x71b523(0x14c)](_0xfa9b8e,_0x340583);}};_0x55d57e[_0x1b8347(0x120)]([0x2,![]],_0x54c708,_0x54c708,_0x54c708),_0x55d57e[_0x1b8347(0x126)]['on'](_0x54a65e[_0x1b8347(0x15a)],_0x472008=>{const _0x232274=_0x1b8347;_0x3431d3['Haknm'](_0xdaead7,0x0)&&_0x3431d3[_0x232274(0x155)](_0x472008,0x0)&&(_0xdaead7=_0x472008);}),await _0x55d57e['waitForExit']();});await Promise[_0x43ea48(0x10d)](_0x8e72b9),process[_0x43ea48(0x103)]=_0xdaead7;const {forceExited:_0x1cd4cf}=await _0x327627['end']();_0x1cd4cf&&console[_0x43ea48(0x132)](_0x54a65e[_0x43ea48(0x11f)]),_0x54a65e[_0x43ea48(0x141)](_0x5600ca,_0x3d3286);},_0x1edba1=_0x54a65e[_0x37ab0d(0x111)](pLimit,_0xd9a26e),_0x53a5dd=_0x28aa43=>_0x1edba1(async()=>{return _0x327627['vanillaWorker'](_0x28aa43);});Promise[_0x37ab0d(0x10d)](_0x409351[_0x37ab0d(0x104)](_0x5e3738=>_0x53a5dd(_0x5e3738)[_0x37ab0d(0x12d)](_0x1d40c6=>_0x3414b1[_0x37ab0d(0x105)]('test-file-success',[_0x5e3738[_0x37ab0d(0x11d)][_0x37ab0d(0x12e)],_0x5e3738['configuration'][_0x37ab0d(0x134)]]),_0x2985b6=>_0x3414b1['emit'](_0x37ab0d(0x133),[_0x5e3738,_0x2985b6]))))['then'](_0x5a97aa,_0x5a97aa);});
|
|
1
|
+
function a50_0x26ec(_0x118c74,_0xaab940){const _0x52a4a9=a50_0x52a4();return a50_0x26ec=function(_0x26ecf5,_0x909b1b){_0x26ecf5=_0x26ecf5-0x117;let _0x4d9571=_0x52a4a9[_0x26ecf5];return _0x4d9571;},a50_0x26ec(_0x118c74,_0xaab940);}const a50_0x5c86ea=a50_0x26ec;(function(_0x5488bd,_0xcc3ea3){const _0xa0a575=a50_0x26ec,_0x30177d=_0x5488bd();while(!![]){try{const _0xba04c8=-parseInt(_0xa0a575(0x168))/0x1*(parseInt(_0xa0a575(0x153))/0x2)+-parseInt(_0xa0a575(0x149))/0x3*(-parseInt(_0xa0a575(0x178))/0x4)+parseInt(_0xa0a575(0x11f))/0x5*(parseInt(_0xa0a575(0x15e))/0x6)+-parseInt(_0xa0a575(0x12c))/0x7*(-parseInt(_0xa0a575(0x133))/0x8)+-parseInt(_0xa0a575(0x14d))/0x9*(-parseInt(_0xa0a575(0x151))/0xa)+parseInt(_0xa0a575(0x13c))/0xb*(-parseInt(_0xa0a575(0x167))/0xc)+-parseInt(_0xa0a575(0x16a))/0xd;if(_0xba04c8===_0xcc3ea3)break;else _0x30177d['push'](_0x30177d['shift']());}catch(_0x4e396a){_0x30177d['push'](_0x30177d['shift']());}}}(a50_0x52a4,0xcdc2b));const Worker=require(a50_0x5c86ea(0x14f))['Worker'],Emittery=require(a50_0x5c86ea(0x135)),pLimit=require(a50_0x5c86ea(0x15b)),{parentPort}=require(a50_0x5c86ea(0x16c)),util=require(a50_0x5c86ea(0x17c)),logger=require(a50_0x5c86ea(0x163))[a50_0x5c86ea(0x13a)],PerformanceTester=require(a50_0x5c86ea(0x136)),PerformanceEvents=require(a50_0x5c86ea(0x143))[a50_0x5c86ea(0x12d)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a50_0x5c86ea(0x16b));function a50_0x52a4(){const _0x5c349b=['OFoxh','waitForExit','QZLmn','27MnoFVY','kNcqP','jest-worker','DgtjN','231320zKOiMs','UNSTABLE_onCustomMessage','890178NDnwoo','parallelCucumberRun','xqyzg','./testWorker.js','getWorkers','LHANR','format','FKNHv','p-limit','\x20for','platform-run-success','1806726ecVPOd','_child','test-file-failure','pipe','configuration','../../helpers/logger','debug','sEvSz','getStdout','4920828tgzTlH','1cQvNzo','platformCaps','10556650vnFsrV','../../helpers/testhub/testhubHandler','worker_threads','WEGCW','exit','exitCode','getStderr','error','json','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','emit','all','dBZFI','test-file-success','4olgrEu','parallelTestRun','platform-run-failure','map','util','Running\x20','cucumberWorker','gqlmM','HWxyg','XYrau','push','stdout','platform','cEnmj','length','aFEZE','AQuQA','QUswM','failureCount','config','5AaRgdI','results','EVgrk','Exception\x20in\x20sending\x20worker\x20message\x20','leYWw','vxxQt','worker','info','stderr','Workers\x20failed\x20to\x20exit\x20gracefully','resolve','fdOwV','ntkoy','322MYWCBA','EVENTS','lXqAh','SDK_SETUP','Fqwwe','then','log','244376MkRjFy','parallelVanillaRun','emittery','../../helpers/performance/performance-tester','ijegc','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','platforms','winstonLogger','HsnUZ','22BGmgMB','postMessage','end','platform-run-start','etcmI','test-file-start','DrFAM','../../helpers/performance/constants','vanillaWorker','HKOQi','IdigQ','QCspU','ieCOI','3433179xOwnnf'];a50_0x52a4=function(){return _0x5c349b;};return a50_0x52a4();}exports[a50_0x5c86ea(0x179)]=(_0x34e4f6,_0xae2d4f,_0x16f3a8)=>new Promise(async _0x5678ab=>{const _0x3515fb=a50_0x5c86ea,_0x578f9d={'cEnmj':_0x3515fb(0x11d),'HWxyg':function(_0x2357bb,_0x5034fd){return _0x2357bb+_0x5034fd;},'OFoxh':_0x3515fb(0x120),'kNcqP':_0x3515fb(0x128),'DrFAM':function(_0x3d42a2,_0xdc9f8e){return _0x3d42a2(_0xdc9f8e);},'HKOQi':function(_0x44bd7f,_0x2547d0){return _0x44bd7f(_0x2547d0);},'QZLmn':_0x3515fb(0x141),'NKIbg':'./testWorker.js','dGKZJ':_0x3515fb(0x125),'AQuQA':_0x3515fb(0x172),'LHANR':_0x3515fb(0x161),'sEvSz':function(_0x3ee976,_0x1b797c){return _0x3ee976*_0x1b797c;},'xqyzg':_0x3515fb(0x177),'ijegc':_0x3515fb(0x160),'DLYkQ':function(_0x24de7a,_0x240249){return _0x24de7a*_0x240249;}},_0x116ad2=_0x16f3a8[_0x3515fb(0x11e)],_0x34d37e={},_0x2e174b=new Worker(require[_0x3515fb(0x129)](_0x578f9d['NKIbg']),{'exposedMethods':[_0x578f9d['dGKZJ']],'forkOptions':{'serialization':_0x578f9d[_0x3515fb(0x11b)],'stdio':_0x578f9d[_0x3515fb(0x158)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x578f9d[_0x3515fb(0x165)](_0xae2d4f,0x1),'enableWorkerThreads':!![]}),_0x24a214=new Emittery();_0x24a214['on'](_0x578f9d[_0x3515fb(0x155)],_0x5d784e=>{const _0x2a0e3f=_0x3515fb;_0x34d37e[_0x5d784e[0x0]]?(_0x34d37e[_0x5d784e[0x0]][_0x578f9d['cEnmj']]=_0x578f9d[_0x2a0e3f(0x180)](_0x34d37e[_0x5d784e[0x0]][_0x578f9d[_0x2a0e3f(0x118)]],_0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x118)]]),_0x34d37e[_0x5d784e[0x0]][_0x578f9d[_0x2a0e3f(0x14a)]]=[..._0x34d37e[_0x5d784e[0x0]][_0x578f9d['OFoxh']],..._0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x14a)]]]):_0x34d37e[_0x5d784e[0x0]]={'failureCount':_0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x118)]],'results':[..._0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x14a)]]]};}),_0x24a214['on'](_0x578f9d[_0x3515fb(0x137)],_0x43aa39=>console['log'](_0x43aa39[0x1]));_0x2e174b[_0x3515fb(0x166)]()&&_0x2e174b[_0x3515fb(0x166)]()[_0x3515fb(0x161)](process[_0x3515fb(0x183)]);_0x2e174b[_0x3515fb(0x170)]()&&_0x2e174b[_0x3515fb(0x170)]()[_0x3515fb(0x161)](process[_0x3515fb(0x127)]);const _0x28cd3c=async()=>{const _0x37d5b5=_0x3515fb,{forceExited:_0x21605e}=await _0x2e174b[_0x37d5b5(0x13e)]();_0x21605e&&console[_0x37d5b5(0x171)](_0x578f9d[_0x37d5b5(0x14e)]);try{await TestHubHandler['stop']();}catch(_0x18b940){_0x578f9d[_0x37d5b5(0x142)](debug,_0x37d5b5(0x173)+_0x18b940);}_0x578f9d[_0x37d5b5(0x145)](_0x5678ab,_0x34d37e);},_0x1ccdf4=_0x578f9d[_0x3515fb(0x142)](pLimit,_0x578f9d['DLYkQ'](_0xae2d4f,0x1)),_0x472292=_0x3f50fc=>_0x1ccdf4(async()=>{const _0x3d94b4=_0x3515fb;await _0x24a214['emit'](_0x578f9d[_0x3d94b4(0x14c)],_0x3f50fc);const _0x539974=_0x2e174b['worker'](_0x3f50fc,_0x116ad2);try{parentPort&&_0x539974[_0x3d94b4(0x152)](_0xf2eaed=>{const _0x351c0a=_0x3d94b4;try{parentPort[_0x351c0a(0x13d)](_0xf2eaed);}catch(_0x572eff){logger['debug'](_0x351c0a(0x122)+util[_0x351c0a(0x159)](_0x572eff));}});}catch(_0x57965c){logger[_0x3d94b4(0x164)](_0x3d94b4(0x138)+util[_0x3d94b4(0x159)](_0x57965c));}return _0x539974;});PerformanceTester[_0x3515fb(0x13e)](PerformanceEvents[_0x3515fb(0x12f)]),Promise['all'](_0x34e4f6[_0x3515fb(0x17b)](_0x40d386=>_0x472292(_0x40d386)[_0x3515fb(0x131)](_0x38be73=>_0x24a214[_0x3515fb(0x174)](_0x3515fb(0x177),[_0x40d386[_0x3515fb(0x162)]['platform'],_0x38be73]),_0x1d6a34=>_0x24a214[_0x3515fb(0x174)](_0x3515fb(0x160),[_0x40d386,_0x1d6a34]))))[_0x3515fb(0x131)](_0x28cd3c,_0x28cd3c);}),exports[a50_0x5c86ea(0x154)]=(_0x3cc7a6,_0x51fb23,_0x12f500,_0xd26adf,_0x26e79b)=>{const _0x112391=a50_0x5c86ea,_0x211568={'vxxQt':'Workers\x20failed\x20to\x20exit\x20gracefully','Fqwwe':function(_0x4f1644,_0x258868){return _0x4f1644(_0x258868);},'gqlmM':_0x112391(0x13f),'AICrs':'./testWorker.js','fdOwV':_0x112391(0x17e),'FTMzk':'json','gQYCl':_0x112391(0x161),'IdigQ':'platform-run-success','dBZFI':_0x112391(0x17a)};return new Promise(_0x2a443c=>{const _0x2e63d0=_0x112391,_0x3febf1={};_0x3febf1[_0x2e63d0(0x150)]=_0x211568[_0x2e63d0(0x17f)];const _0x21c15e=_0x3febf1,_0x454e1d=[],_0x39f9e4=new Worker(require[_0x2e63d0(0x129)](_0x211568['AICrs']),{'exposedMethods':[_0x211568[_0x2e63d0(0x12a)]],'forkOptions':{'serialization':_0x211568['FTMzk'],'stdio':_0x211568['gQYCl']},'numWorkers':_0x3cc7a6['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2b9f79=new Emittery();_0x2b9f79['on'](_0x211568[_0x2e63d0(0x146)],_0x1a0224=>{const _0x4c9d51=_0x2e63d0;_0x454e1d[_0x4c9d51(0x182)]([_0x1a0224[0x0],_0x1a0224[0x1]]);}),_0x2b9f79['on'](_0x211568[_0x2e63d0(0x176)],_0x521c07=>console[_0x2e63d0(0x132)](_0x521c07[0x1]));_0x39f9e4[_0x2e63d0(0x166)]()&&_0x39f9e4[_0x2e63d0(0x166)]()[_0x2e63d0(0x161)](process['stdout']);_0x39f9e4['getStderr']()&&_0x39f9e4[_0x2e63d0(0x170)]()[_0x2e63d0(0x161)](process[_0x2e63d0(0x127)]);const _0x3d736e=async()=>{const _0x1cbf57=_0x2e63d0,{forceExited:_0x33fa2f}=await _0x39f9e4[_0x1cbf57(0x13e)]();_0x33fa2f&&console[_0x1cbf57(0x171)](_0x211568[_0x1cbf57(0x124)]),_0x211568[_0x1cbf57(0x130)](_0x2a443c,_0x454e1d);},_0x3d565a=_0x211568['Fqwwe'](pLimit,_0x3cc7a6[_0x2e63d0(0x119)]||0x1),_0x115f84=(_0x3a88ba,_0x303f20)=>_0x3d565a(async()=>{const _0x1d5490=_0x2e63d0;return await _0x2b9f79['emit'](_0x21c15e['DgtjN'],_0x3a88ba),_0x51fb23[_0x1d5490(0x169)]=_0x12f500[_0x1d5490(0x139)][_0x303f20],_0x39f9e4[_0x1d5490(0x17e)](_0x3a88ba,_0x51fb23,_0x12f500,_0xd26adf,_0x26e79b);});Promise[_0x2e63d0(0x175)](_0x3cc7a6[_0x2e63d0(0x17b)]((_0x11705a,_0x19acef)=>_0x115f84(_0x11705a,_0x19acef)[_0x2e63d0(0x131)](_0x3d8206=>_0x2b9f79[_0x2e63d0(0x174)](_0x2e63d0(0x15d),[_0x11705a,_0x3d8206]),_0x33740c=>_0x2b9f79[_0x2e63d0(0x174)](_0x2e63d0(0x17a),[_0x11705a,_0x33740c]))))['then'](_0x3d736e,_0x3d736e);});},exports[a50_0x5c86ea(0x134)]=(_0x5f2484,_0x182713)=>new Promise(_0x46dddc=>{const _0x59fa90=a50_0x5c86ea,_0x11629c={'QUswM':function(_0x137456,_0x2ea167){return _0x137456===_0x2ea167;},'vTXAY':function(_0x4afc1a,_0x55e766){return _0x4afc1a!==_0x55e766;},'QCspU':_0x59fa90(0x16e),'EVgrk':_0x59fa90(0x128),'ieCOI':function(_0x13b669,_0x2ad832){return _0x13b669(_0x2ad832);},'ntkoy':_0x59fa90(0x156),'FKNHv':_0x59fa90(0x144),'aFEZE':_0x59fa90(0x172),'aZwMr':_0x59fa90(0x161),'XYrau':'test-file-success','DkdVD':_0x59fa90(0x160),'IbncG':function(_0x467ccb,_0x44743c){return _0x467ccb(_0x44743c);}},_0x4911e9={},_0x1dd882=new Worker(require[_0x59fa90(0x129)](_0x11629c[_0x59fa90(0x12b)]),{'exposedMethods':[_0x11629c[_0x59fa90(0x15a)]],'forkOptions':{'serialization':_0x11629c[_0x59fa90(0x11a)],'stdio':_0x11629c['aZwMr']},'numWorkers':_0x182713,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x50b3dc=new Emittery();_0x50b3dc['on'](_0x11629c[_0x59fa90(0x181)],_0x273d77=>{const _0x1c6d97=_0x59fa90;_0x273d77[0x0]&&logger[_0x1c6d97(0x126)](_0x1c6d97(0x17d)+_0x273d77[0x1]+_0x1c6d97(0x15c),_0x273d77[0x0]);}),_0x50b3dc['on'](_0x11629c['DkdVD'],_0xcbb17=>{const _0x4cc883=_0x59fa90;process[_0x4cc883(0x16f)]=0x1;});_0x1dd882[_0x59fa90(0x166)]()&&_0x1dd882[_0x59fa90(0x166)]()[_0x59fa90(0x161)](process[_0x59fa90(0x183)]);_0x1dd882[_0x59fa90(0x170)]()&&_0x1dd882[_0x59fa90(0x170)]()['pipe'](process['stderr']);const _0x355eb3=async()=>{const _0x559e19=_0x59fa90,_0x115007={'leYWw':function(_0x50e987,_0x5a229a){const _0x19706d=a50_0x26ec;return _0x11629c[_0x19706d(0x11c)](_0x50e987,_0x5a229a);},'lXqAh':function(_0x4224c4,_0x3147c0){return _0x11629c['vTXAY'](_0x4224c4,_0x3147c0);},'HsnUZ':_0x11629c[_0x559e19(0x147)]};let _0x3b84f2=0x0;const _0x13feda=_0x1dd882['_workerPool'][_0x559e19(0x157)](),_0x2b6cfc=()=>{},_0x156764=_0x13feda['map'](async _0x52ac44=>{const _0x45cdff=_0x559e19,_0x44bb62={'etcmI':function(_0x5be33d,_0x9ad54a){const _0x4984ae=a50_0x26ec;return _0x115007[_0x4984ae(0x123)](_0x5be33d,_0x9ad54a);},'WEGCW':function(_0x1b49cb,_0x4b963c){const _0x44ecc7=a50_0x26ec;return _0x115007[_0x44ecc7(0x12e)](_0x1b49cb,_0x4b963c);}};_0x52ac44['send']([0x2,![]],_0x2b6cfc,_0x2b6cfc,_0x2b6cfc),_0x52ac44[_0x45cdff(0x15f)]['on'](_0x115007[_0x45cdff(0x13b)],_0x189ea8=>{const _0x118098=_0x45cdff;_0x44bb62[_0x118098(0x140)](_0x3b84f2,0x0)&&_0x44bb62[_0x118098(0x16d)](_0x189ea8,0x0)&&(_0x3b84f2=_0x189ea8);}),await _0x52ac44[_0x45cdff(0x14b)]();});await Promise[_0x559e19(0x175)](_0x156764),process[_0x559e19(0x16f)]=_0x3b84f2;const {forceExited:_0x2ff8fd}=await _0x1dd882[_0x559e19(0x13e)]();_0x2ff8fd&&console[_0x559e19(0x171)](_0x11629c[_0x559e19(0x121)]),_0x11629c[_0x559e19(0x148)](_0x46dddc,_0x4911e9);},_0x1b4cb6=_0x11629c['IbncG'](pLimit,_0x182713),_0x294a25=_0x162f57=>_0x1b4cb6(async()=>{return _0x1dd882['vanillaWorker'](_0x162f57);});Promise[_0x59fa90(0x175)](_0x5f2484[_0x59fa90(0x17b)](_0x1f5acf=>_0x294a25(_0x1f5acf)[_0x59fa90(0x131)](_0x2b6c76=>_0x50b3dc[_0x59fa90(0x174)](_0x59fa90(0x177),[_0x1f5acf[_0x59fa90(0x162)][_0x59fa90(0x117)],_0x1f5acf[_0x59fa90(0x162)]['file']]),_0x5791c3=>_0x50b3dc[_0x59fa90(0x174)](_0x59fa90(0x160),[_0x1f5acf,_0x5791c3]))))[_0x59fa90(0x131)](_0x355eb3,_0x355eb3);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a51_0x1873(){const _0x5dca14=['Vtssm','runCucumberTest','runVanillaTest','EUbUf','NKExk','SDK_POST_TEST','dsBpH','525rYEnPO','35johzjc','../../helpers/performance/performance-tester','../launcher/launcher','12476032yYhwrk','end','XhYYm','2734358UKQCQA','5851908COwmJh','runTest','formatter','../../helpers/performance/constants','mocha','EzzYW','stopMonitoring','YZJbt','vanilla','1077660kCNyVB','1411052CGnReI','14884ZdrmMm','run','6QUKqNx','startMonitoring','10UvaOuy','1792842qkRcAu'];a51_0x1873=function(){return _0x5dca14;};return a51_0x1873();}const a51_0x55078f=a51_0x1b14;(function(_0x328980,_0x51c6f4){const _0x308d5f=a51_0x1b14,_0x227d70=_0x328980();while(!![]){try{const _0x2d557e=parseInt(_0x308d5f(0x171))/0x1+parseInt(_0x308d5f(0x172))/0x2*(-parseInt(_0x308d5f(0x175))/0x3)+parseInt(_0x308d5f(0x173))/0x4*(parseInt(_0x308d5f(0x180))/0x5)+parseInt(_0x308d5f(0x178))/0x6*(parseInt(_0x308d5f(0x181))/0x7)+-parseInt(_0x308d5f(0x184))/0x8+-parseInt(_0x308d5f(0x188))/0x9*(-parseInt(_0x308d5f(0x177))/0xa)+parseInt(_0x308d5f(0x187))/0xb;if(_0x2d557e===_0x51c6f4)break;else _0x227d70['push'](_0x227d70['shift']());}catch(_0x422013){_0x227d70['push'](_0x227d70['shift']());}}}(a51_0x1873,0xd970a));const PerformanceEvents=require(a51_0x55078f(0x18b))['EVENTS'],PerformanceTester=require(a51_0x55078f(0x182)),{sleep}=require('../../helpers/test-observability/utils');function a51_0x1b14(_0x47442b,_0x28d5d0){const _0x18735d=a51_0x1873();return a51_0x1b14=function(_0x1b1411,_0x18b0ae){_0x1b1411=_0x1b1411-0x16d;let _0x57a035=_0x18735d[_0x1b1411];return _0x57a035;},a51_0x1b14(_0x47442b,_0x28d5d0);}exports[a51_0x55078f(0x189)]=async(_0x299828,_0x5a5794)=>{const _0x266e4c=a51_0x55078f,_0xe39007={'Vtssm':function(_0x40dfa5,_0x5da974){return _0x40dfa5(_0x5da974);},'EzzYW':_0x266e4c(0x183),'XhYYm':_0x266e4c(0x18c)};PerformanceTester[_0x266e4c(0x176)]();const _0xbcbf45=_0xe39007[_0x266e4c(0x179)](require,_0xe39007[_0x266e4c(0x16d)]),_0x5e2ba1=new _0xbcbf45(_0xe39007[_0x266e4c(0x186)],_0x299828,_0x5a5794),_0x5c5de0=await _0x5e2ba1['run']();return PerformanceTester[_0x266e4c(0x185)](PerformanceEvents[_0x266e4c(0x17e)]),await _0xe39007['Vtssm'](sleep,0x3e8),PerformanceTester[_0x266e4c(0x16e)](),_0x5c5de0;},exports[a51_0x55078f(0x17a)]=async(_0x54e957,_0x5854fa,_0x2f3f81,_0xac8009,_0x35e306)=>{const _0x2ce3dc=a51_0x55078f,_0x3c5a8f={'KalrM':function(_0x26d888,_0x3a74c4){return _0x26d888(_0x3a74c4);},'dsBpH':'../launcher/launcher','NKExk':'cucumber-js'},_0x44c70b={'capability':_0x54e957,..._0x5854fa},_0xeab977={};_0xeab977['configuration']=_0x44c70b,_0xeab977[_0x2ce3dc(0x18a)]=_0x35e306;const _0x1e5e45=_0xeab977,_0x13d0a3=_0x3c5a8f['KalrM'](require,_0x3c5a8f[_0x2ce3dc(0x17f)]),_0x14744c=new _0x13d0a3(_0x3c5a8f[_0x2ce3dc(0x17d)],_0x1e5e45,_0x2f3f81,_0xac8009);return await _0x14744c[_0x2ce3dc(0x174)]();},exports[a51_0x55078f(0x17b)]=async _0x22a0fb=>{const _0x76f659=a51_0x55078f,_0x500cf2={'HcjKN':function(_0x46f040,_0x101a95){return _0x46f040(_0x101a95);},'YZJbt':_0x76f659(0x183),'EUbUf':_0x76f659(0x170)},_0xba4832=_0x500cf2['HcjKN'](require,_0x500cf2[_0x76f659(0x16f)]),_0x1d464a=new _0xba4832(_0x500cf2[_0x76f659(0x17c)],_0x22a0fb);return await _0x1d464a[_0x76f659(0x174)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x58f591=a52_0x59b1;(function(_0x5367af,_0x4e9f4b){const _0x18bc02=a52_0x59b1,_0x3d350f=_0x5367af();while(!![]){try{const _0x594cfb=parseInt(_0x18bc02(0x7a))/0x1+-parseInt(_0x18bc02(0x7b))/0x2+parseInt(_0x18bc02(0x77))/0x3*(-parseInt(_0x18bc02(0x7c))/0x4)+-parseInt(_0x18bc02(0x7e))/0x5*(-parseInt(_0x18bc02(0x76))/0x6)+parseInt(_0x18bc02(0x78))/0x7+parseInt(_0x18bc02(0x74))/0x8+-parseInt(_0x18bc02(0x7d))/0x9*(parseInt(_0x18bc02(0x7f))/0xa);if(_0x594cfb===_0x4e9f4b)break;else _0x3d350f['push'](_0x3d350f['shift']());}catch(_0xf56ffa){_0x3d350f['push'](_0x3d350f['shift']());}}}(a52_0x10ea,0xb61b2));function a52_0x10ea(){const _0x271faa=['15564IPhOBp','8598079VGxeyq','./runTest','881031pLPbne','1382166BkTMLJ','460vTdUAO','553257WFiVtr','15HuNTQO','310dYhFXx','wBQmn','cucumberWorker','11652104iVTqAW','pdoXg','746862TkArRt'];a52_0x10ea=function(){return _0x271faa;};return a52_0x10ea();}function a52_0x59b1(_0x40df77,_0x177a65){const _0x10ea80=a52_0x10ea();return a52_0x59b1=function(_0x59b198,_0x46e0a6){_0x59b198=_0x59b198-0x72;let _0x2ca0dd=_0x10ea80[_0x59b198];return _0x2ca0dd;},a52_0x59b1(_0x40df77,_0x177a65);}const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x58f591(0x79));exports['worker']=async(_0x174ddb,_0xdf15fd)=>{const _0x1509d8={'LBRVb':function(_0x366695,_0x552bda,_0x3edddd){return _0x366695(_0x552bda,_0x3edddd);}};return await _0x1509d8['LBRVb'](runTest,_0x174ddb,_0xdf15fd);},exports[a52_0x58f591(0x73)]=async(_0xdbade1,_0x3d4826,_0x3b0881,_0x2d4f7b,_0x40e6b9)=>{const _0x39e2e6=a52_0x58f591,_0x5f2a3b={'pdoXg':function(_0x484781,_0x12c3e8,_0x1eea5b,_0x536c6a,_0x134847,_0xefb132){return _0x484781(_0x12c3e8,_0x1eea5b,_0x536c6a,_0x134847,_0xefb132);}};return await _0x5f2a3b[_0x39e2e6(0x75)](runCucumberTest,_0xdbade1,_0x3d4826,_0x3b0881,_0x2d4f7b,_0x40e6b9);},exports['vanillaWorker']=async _0x56b02b=>{const _0x3bb5ad=a52_0x58f591,_0x39c015={'wBQmn':function(_0x2fc16f,_0x276241){return _0x2fc16f(_0x276241);}};return await _0x39c015[_0x3bb5ad(0x72)](runVanillaTest,_0x56b02b);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x46e1(_0x3ec1ca,_0x2184d2){const _0x2fbffa=a53_0x2fbf();return a53_0x46e1=function(_0x46e144,_0x42cd5a){_0x46e144=_0x46e144-0x9c;let _0x3d1214=_0x2fbffa[_0x46e144];return _0x3d1214;},a53_0x46e1(_0x3ec1ca,_0x2184d2);}const a53_0x120e10=a53_0x46e1;(function(_0x29643d,_0x48ff31){const _0x5dbf94=a53_0x46e1,_0x5480a8=_0x29643d();while(!![]){try{const _0x6884b2=parseInt(_0x5dbf94(0xbe))/0x1*(parseInt(_0x5dbf94(0xe9))/0x2)+parseInt(_0x5dbf94(0xc6))/0x3*(-parseInt(_0x5dbf94(0xec))/0x4)+parseInt(_0x5dbf94(0xa6))/0x5*(parseInt(_0x5dbf94(0xf2))/0x6)+parseInt(_0x5dbf94(0xd4))/0x7*(parseInt(_0x5dbf94(0xab))/0x8)+parseInt(_0x5dbf94(0xca))/0x9+parseInt(_0x5dbf94(0xa7))/0xa+parseInt(_0x5dbf94(0xb6))/0xb;if(_0x6884b2===_0x48ff31)break;else _0x5480a8['push'](_0x5480a8['shift']());}catch(_0x4715b1){_0x5480a8['push'](_0x5480a8['shift']());}}}(a53_0x2fbf,0x71192));const constants=require(a53_0x120e10(0xbd)),{nestedKeyValue}=require(a53_0x120e10(0xc9)),getBrowserstackCLI=()=>{const _0x17e7a8=a53_0x120e10,_0x207492={'puQvg':function(_0x1e6642,_0x168f46){return _0x1e6642(_0x168f46);},'zkbNJ':'../v2/browserstackCLI'};return _0x207492[_0x17e7a8(0xa0)](require,_0x207492[_0x17e7a8(0xa1)]);};class APIUtilityMethods{static[a53_0x120e10(0xdb)](_0x130ada){const _0x75f4b1=a53_0x120e10,_0x56723f={'lTBcA':function(_0x399901){return _0x399901();},'WiOFv':function(_0x17456a,_0x4641e9,_0x5e7289){return _0x17456a(_0x4641e9,_0x5e7289);},'GOJEd':_0x75f4b1(0xf4),'UahpT':_0x75f4b1(0xd6),'AHRgY':'api','CgHKg':function(_0x4f00ba,_0x44457d){return _0x4f00ba===_0x44457d;},'waXIV':function(_0x4463c0,_0x2b71fa){return _0x4463c0+_0x2b71fa;}},_0x2f16c3=_0x56723f['lTBcA'](getBrowserstackCLI),_0x188ecb=_0x56723f[_0x75f4b1(0xdc)](nestedKeyValue,_0x2f16c3[_0x75f4b1(0xc2)]()[_0x75f4b1(0xe8)](),[_0x56723f[_0x75f4b1(0xf6)],_0x56723f[_0x75f4b1(0xa8)],_0x56723f[_0x75f4b1(0x9f)]])||constants[_0x75f4b1(0xc4)];if(!_0x130ada||_0x56723f[_0x75f4b1(0xe6)](_0x130ada,''))return _0x188ecb;const _0x5159bf=_0x188ecb[_0x75f4b1(0xb0)]('/')?_0x188ecb:_0x56723f[_0x75f4b1(0xf3)](_0x188ecb,'/');return new URL(_0x130ada,_0x5159bf)[_0x75f4b1(0xce)]();}static[a53_0x120e10(0xcd)](_0x3cd5f8){const _0x16d58d=a53_0x120e10,_0x5a6250={'cQjwH':function(_0x1dc767){return _0x1dc767();},'gBzUN':function(_0x55a79b,_0x2f2ca4,_0x1f09cb){return _0x55a79b(_0x2f2ca4,_0x1f09cb);},'LDGfJ':_0x16d58d(0xf4),'nqomR':_0x16d58d(0xcc),'QWigt':'api','UrMiN':function(_0x16fdd2,_0x306f61){return _0x16fdd2===_0x306f61;},'dOuRD':function(_0x1bef73,_0x9a4f92){return _0x1bef73+_0x9a4f92;}},_0x33b8c0=_0x5a6250[_0x16d58d(0xc1)](getBrowserstackCLI),_0x44bd05=_0x5a6250[_0x16d58d(0xd7)](nestedKeyValue,_0x33b8c0[_0x16d58d(0xc2)]()[_0x16d58d(0xe8)](),[_0x5a6250[_0x16d58d(0xb9)],_0x5a6250[_0x16d58d(0xbf)],_0x5a6250['QWigt']])||constants[_0x16d58d(0xb3)];if(!_0x3cd5f8||_0x5a6250[_0x16d58d(0xf7)](_0x3cd5f8,''))return _0x44bd05;const _0x5aa27e=_0x44bd05[_0x16d58d(0xb0)]('/')?_0x44bd05:_0x5a6250['dOuRD'](_0x44bd05,'/');return new URL(_0x3cd5f8,_0x5aa27e)[_0x16d58d(0xce)]();}static[a53_0x120e10(0xa4)](_0x43f210){const _0x1c04e3=a53_0x120e10,_0x4c7de9={'iSkTq':function(_0x9f2641){return _0x9f2641();},'lvwuU':function(_0x1bae6e,_0x3bce78,_0x4defaf){return _0x1bae6e(_0x3bce78,_0x4defaf);},'DgXjo':'apis','tRILQ':_0x1c04e3(0xd6),'iXkcz':_0x1c04e3(0xdf),'guvtv':function(_0x5379e1,_0x3fc657){return _0x5379e1===_0x3fc657;},'oUmQn':function(_0xeaaf0d,_0x553952){return _0xeaaf0d+_0x553952;}},_0x1d3b2e=_0x4c7de9[_0x1c04e3(0xd5)](getBrowserstackCLI),_0x5ec260=_0x4c7de9['lvwuU'](nestedKeyValue,_0x1d3b2e[_0x1c04e3(0xc2)]()[_0x1c04e3(0xe8)](),[_0x4c7de9[_0x1c04e3(0x9e)],_0x4c7de9[_0x1c04e3(0xe4)],_0x4c7de9[_0x1c04e3(0xe2)]])||constants[_0x1c04e3(0xc4)];if(!_0x43f210||_0x4c7de9['guvtv'](_0x43f210,''))return _0x5ec260;const _0x3d782c=_0x5ec260['endsWith']('/')?_0x5ec260:_0x4c7de9[_0x1c04e3(0xe7)](_0x5ec260,'/');return new URL(_0x43f210,_0x3d782c)['toString']();}static['getAppAutomateSessionStatusAPIUrl'](_0x499093){const _0x2f8499=a53_0x120e10,_0x2bdc5d={'VpvHA':function(_0x2759f8){return _0x2759f8();},'GGfsZ':function(_0x2a5569,_0x22194e,_0x45364a){return _0x2a5569(_0x22194e,_0x45364a);},'dFlOT':'apis','nPsAj':'appAutomate','kxgTx':_0x2f8499(0xdf),'vabSz':function(_0x414cb6,_0x3b135f){return _0x414cb6===_0x3b135f;},'vtQQp':function(_0x52aa2e,_0x48394b){return _0x52aa2e+_0x48394b;}},_0x492b0c=_0x2bdc5d['VpvHA'](getBrowserstackCLI),_0x2016dc=_0x2bdc5d[_0x2f8499(0xb2)](nestedKeyValue,_0x492b0c['getInstance']()[_0x2f8499(0xe8)](),[_0x2bdc5d[_0x2f8499(0xe5)],_0x2bdc5d[_0x2f8499(0xb8)],_0x2bdc5d[_0x2f8499(0xb1)]])||constants['BROWSERSTACK_API_URL'];if(!_0x499093||_0x2bdc5d[_0x2f8499(0xd0)](_0x499093,''))return _0x2016dc;const _0x2d24fc=_0x2016dc['endsWith']('/')?_0x2016dc:_0x2bdc5d['vtQQp'](_0x2016dc,'/');return new URL(_0x499093,_0x2d24fc)[_0x2f8499(0xce)]();}static[a53_0x120e10(0xe1)](_0x13d82d){const _0x38408e=a53_0x120e10,_0x45384e={'kkSNR':function(_0x564f8a){return _0x564f8a();},'LZlPD':function(_0x58a774,_0xb60a3f,_0x373f09){return _0x58a774(_0xb60a3f,_0x373f09);},'Fiiqr':_0x38408e(0xf4),'fbJDz':_0x38408e(0xd6),'YjJIk':_0x38408e(0xdf),'fvbbf':function(_0x2dc343,_0x39a72d){return _0x2dc343===_0x39a72d;},'gNwvG':function(_0x201d06,_0x57f6b3){return _0x201d06+_0x57f6b3;}},_0x221dc0=_0x45384e['kkSNR'](getBrowserstackCLI),_0x420166=_0x45384e[_0x38408e(0xea)](nestedKeyValue,_0x221dc0[_0x38408e(0xc2)]()[_0x38408e(0xe8)](),[_0x45384e[_0x38408e(0xeb)],_0x45384e['fbJDz'],_0x45384e['YjJIk']])||constants[_0x38408e(0xc4)];if(!_0x13d82d||_0x45384e['fvbbf'](_0x13d82d,''))return _0x420166;const _0x11a17a=_0x420166[_0x38408e(0xb0)]('/')?_0x420166:_0x45384e[_0x38408e(0x9d)](_0x420166,'/');return new URL(_0x13d82d,_0x11a17a)['toString']();}static[a53_0x120e10(0xae)](_0x1c36e2){const _0x24b500=a53_0x120e10,_0xb4b036={'iwILw':function(_0xe00889){return _0xe00889();},'NuJuz':function(_0x2b326f,_0x599347,_0x540831){return _0x2b326f(_0x599347,_0x540831);},'heHUK':_0x24b500(0xf4),'ZttuI':_0x24b500(0xcb),'BUJso':'api','aGhoZ':function(_0x3c84d1,_0x31bd85){return _0x3c84d1===_0x31bd85;},'Kxbpc':function(_0x498773,_0x44b2b2){return _0x498773+_0x44b2b2;}},_0x1bf46d=_0xb4b036[_0x24b500(0xee)](getBrowserstackCLI),_0x24670e=_0xb4b036[_0x24b500(0xc8)](nestedKeyValue,_0x1bf46d[_0x24b500(0xc2)]()[_0x24b500(0xe8)](),[_0xb4b036[_0x24b500(0xaf)],_0xb4b036[_0x24b500(0xde)],_0xb4b036[_0x24b500(0x9c)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1c36e2||_0xb4b036[_0x24b500(0xad)](_0x1c36e2,''))return _0x24670e;const _0x5f4c3f=_0x24670e[_0x24b500(0xb0)]('/')?_0x24670e:_0xb4b036[_0x24b500(0xda)](_0x24670e,'/');return new URL(_0x1c36e2,_0x5f4c3f)[_0x24b500(0xce)]();}static[a53_0x120e10(0xa5)](_0x19488c){const _0x26c590=a53_0x120e10,_0x138403={'VaPsH':function(_0x5f2dca){return _0x5f2dca();},'FkAXl':function(_0x39ed,_0x312400,_0x2f40f6){return _0x39ed(_0x312400,_0x2f40f6);},'LkdLU':_0x26c590(0xf4),'RmYOX':_0x26c590(0xd6),'EtYyA':_0x26c590(0xdf),'xBpkX':function(_0x314d90,_0x40cfba){return _0x314d90===_0x40cfba;},'srFHG':function(_0x51c57b,_0x978f1c){return _0x51c57b+_0x978f1c;}},_0x35ef6a=_0x138403[_0x26c590(0xf0)](getBrowserstackCLI),_0x3be728=_0x138403[_0x26c590(0xc5)](nestedKeyValue,_0x35ef6a[_0x26c590(0xc2)]()['getConfig'](),[_0x138403[_0x26c590(0xf5)],_0x138403[_0x26c590(0xc3)],_0x138403[_0x26c590(0xb4)]])||constants['BROWSERSTACK_API_URL'];if(!_0x19488c||_0x138403[_0x26c590(0xac)](_0x19488c,''))return _0x3be728;const _0x54c345=_0x3be728[_0x26c590(0xb0)]('/')?_0x3be728:_0x138403[_0x26c590(0xd3)](_0x3be728,'/');return new URL(_0x19488c,_0x54c345)['toString']()['replace'](/^https?:\/\//,'');}static[a53_0x120e10(0xdd)](_0x26b129){const _0x45973e=a53_0x120e10,_0x1c6f7a={'aYaks':function(_0x280c5a){return _0x280c5a();},'OvgVu':function(_0x4ab70a,_0x2e80ba,_0x2c18bf){return _0x4ab70a(_0x2e80ba,_0x2c18bf);},'WhIVB':_0x45973e(0xf4),'Vubqc':_0x45973e(0xcb),'caEYl':_0x45973e(0xdf),'txoXq':function(_0x3d0370,_0x3b83e5){return _0x3d0370===_0x3b83e5;},'ICgnk':function(_0x5c300f,_0x746e81){return _0x5c300f+_0x746e81;}},_0x176589=_0x1c6f7a[_0x45973e(0xe0)](getBrowserstackCLI),_0xad61e8=_0x1c6f7a[_0x45973e(0xbb)](nestedKeyValue,_0x176589[_0x45973e(0xc2)]()[_0x45973e(0xe8)](),[_0x1c6f7a[_0x45973e(0xb5)],_0x1c6f7a[_0x45973e(0xa3)],_0x1c6f7a[_0x45973e(0xd2)]])||constants['APP_UPLOAD_URL'];if(!_0x26b129||_0x1c6f7a[_0x45973e(0xbc)](_0x26b129,''))return _0xad61e8;const _0x1491e5=_0xad61e8[_0x45973e(0xb0)]('/')?_0xad61e8:_0x1c6f7a[_0x45973e(0xef)](_0xad61e8,'/');return new URL(_0x26b129,_0x1491e5)[_0x45973e(0xce)]()[_0x45973e(0xd8)](/^https?:\/\//,'');}static[a53_0x120e10(0xd9)](_0x350ade){const _0x48c2ae=a53_0x120e10,_0x4cf2e9={'LujEl':function(_0x4495de){return _0x4495de();},'WQKpv':function(_0x3c860b,_0x118360,_0x453fa9){return _0x3c860b(_0x118360,_0x453fa9);},'PbCFG':'apis','QByFk':_0x48c2ae(0xed),'rXkLk':'upload','TLoJD':function(_0x1bc440,_0x33a032){return _0x1bc440===_0x33a032;},'JvnRs':function(_0x3bb648,_0x268a5c){return _0x3bb648+_0x268a5c;}},_0x16c23f=_0x4cf2e9['LujEl'](getBrowserstackCLI),_0x1905e6=_0x4cf2e9['WQKpv'](nestedKeyValue,_0x16c23f['getInstance']()[_0x48c2ae(0xe8)](),[_0x4cf2e9[_0x48c2ae(0xb7)],_0x4cf2e9['QByFk'],_0x4cf2e9[_0x48c2ae(0xd1)]])||constants['OBSERVABILITY_UPLOAD_URL'];if(!_0x350ade||_0x4cf2e9[_0x48c2ae(0xba)](_0x350ade,''))return _0x1905e6;const _0x20b08e=_0x1905e6[_0x48c2ae(0xb0)]('/')?_0x1905e6:_0x4cf2e9[_0x48c2ae(0xaa)](_0x1905e6,'/');return new URL(_0x350ade,_0x20b08e)[_0x48c2ae(0xce)]();}static['getPlaywrightHubUrl'](_0x40ca0a){const _0x5bed6e=a53_0x120e10,_0x3faab6={'mGWwQ':function(_0x165e79){return _0x165e79();},'fZVIo':function(_0x24cee3,_0x2fbdfb,_0x4c2123){return _0x24cee3(_0x2fbdfb,_0x4c2123);},'AgEuO':_0x5bed6e(0xf4),'cOaPo':_0x5bed6e(0xd6),'MXpCn':_0x5bed6e(0xa9),'SHzlQ':'wss:','UwlMD':function(_0x3517aa,_0x2cf582){return _0x3517aa===_0x2cf582;},'upfVP':function(_0x7bcca,_0x331d11){return _0x7bcca+_0x331d11;},'Hjmjt':'/playwright?caps='},_0x23312b=_0x3faab6['mGWwQ'](getBrowserstackCLI),_0x490d6d=_0x3faab6[_0x5bed6e(0xa2)](nestedKeyValue,_0x23312b[_0x5bed6e(0xc2)]()[_0x5bed6e(0xe8)](),[_0x3faab6[_0x5bed6e(0xcf)],_0x3faab6['cOaPo'],_0x3faab6['MXpCn']]),_0x1075dc=(_0x490d6d?_0x490d6d[_0x5bed6e(0xd8)](/^https:/,_0x3faab6[_0x5bed6e(0xc0)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x4675e8;if(!_0x40ca0a||_0x3faab6[_0x5bed6e(0xf1)](_0x40ca0a,''))_0x4675e8=_0x1075dc;else{const _0x3403f5=_0x1075dc[_0x5bed6e(0xb0)]('/')?_0x1075dc:_0x3faab6['upfVP'](_0x1075dc,'/');_0x4675e8=new URL(_0x40ca0a,_0x3403f5)[_0x5bed6e(0xce)]();}return!_0x4675e8[_0x5bed6e(0xb0)](_0x3faab6['Hjmjt'])&&(_0x4675e8+=_0x3faab6[_0x5bed6e(0xe3)]),_0x4675e8;}}function a53_0x2fbf(){const _0x5b3ed6=['DgXjo','AHRgY','puQvg','zkbNJ','fZVIo','Vubqc','getAutomateSessionStatusAPIUrl','getAutomateSessionsListAPIUrl','124530JlBesL','495440aBmczW','UahpT','cdp','JvnRs','40WXLRat','xBpkX','aGhoZ','getAppAutomateSessionNameAPIUrl','heHUK','endsWith','kxgTx','GGfsZ','EDS_URL','EtYyA','WhIVB','5601695wJoyDo','PbCFG','nPsAj','LDGfJ','TLoJD','OvgVu','txoXq','./constants','2974kUhGWB','nqomR','SHzlQ','cQjwH','getInstance','RmYOX','BROWSERSTACK_API_URL','FkAXl','36042ZbzSFa','exports','NuJuz','./sharedUtils','17388qAngmR','appAutomate','edsInstrumentation','getEdsInstrumentationAPIUrl','toString','AgEuO','vabSz','rXkLk','caEYl','srFHG','758317LUxORZ','iSkTq','automate','gBzUN','replace','getAutoCaptureLogsAPIUrl','Kxbpc','getBStackAPIUrl','WiOFv','getAppAutomateSessionsListAPIUrl','ZttuI','api','aYaks','getAutomateSessionNameAPIUrl','iXkcz','Hjmjt','tRILQ','dFlOT','CgHKg','oUmQn','getConfig','52lhznBj','LZlPD','Fiiqr','280hACZEI','observability','iwILw','ICgnk','VaPsH','UwlMD','30qWlawx','waXIV','apis','LkdLU','GOJEd','UrMiN','BUJso','gNwvG'];a53_0x2fbf=function(){return _0x5b3ed6;};return a53_0x2fbf();}module[a53_0x120e10(0xc7)]=APIUtilityMethods;
|
|
1
|
+
function a53_0x2b89(){const _0x851c25=['jnkwU','fsHNk','qUiIg','yxtMm','kITCn','fWtPn','PApMu','QVkdN','GZUif','api','automate','drmnd','296HcexPF','JOuqV','upload','appAutomate','99080tJesDe','JJZdz','EDS_URL','OXpgp','rflLX','qnyWA','Ndnid','CAqAn','replace','vnRvl','OHxLS','VGeUa','YEAIh','wss:','getInstance','BcEqS','getAppAutomateSessionNameAPIUrl','AXEHx','getAutomateSessionNameAPIUrl','iQFxG','kSKPn','PAeyy','cdp','UbpwK','exports','5061YaIbTm','nsbYj','WZfsJ','LEwdc','toString','4951OjETzk','qzYYc','endsWith','OBSERVABILITY_UPLOAD_URL','APP_UPLOAD_URL','SvRYF','99wJUyEl','cBHiU','fYayE','BROWSERSTACK_API_URL','AtIEp','psQlx','apis','observability','getConfig','GevRG','PLAYWRIGHT_HUB_URL','sWgHK','35MaktPE','6773vVReoV','ZHFNw','66sFeFnl','./constants','AlXri','10572ukvKhZ','GKWSx','SZkZA','getAppAutomateSessionsListAPIUrl','snsir','5990kFdVNA','3047MaYPhN','AeMEY','kGUEE','mJcQJ','bECmC','1686JKCPtu','55480XPvXIR','TKwki','sgVmN','EjRFT','YhciW','zDvOh','getAppAutomateSessionStatusAPIUrl','buTzL','acRYA'];a53_0x2b89=function(){return _0x851c25;};return a53_0x2b89();}const a53_0x2af812=a53_0x3c88;function a53_0x3c88(_0x4eba0d,_0x4c0d9a){const _0x2b893f=a53_0x2b89();return a53_0x3c88=function(_0x3c8810,_0x98ef81){_0x3c8810=_0x3c8810-0x66;let _0xb728a9=_0x2b893f[_0x3c8810];return _0xb728a9;},a53_0x3c88(_0x4eba0d,_0x4c0d9a);}(function(_0x4892f5,_0x2fcd36){const _0x477917=a53_0x3c88,_0x1d2020=_0x4892f5();while(!![]){try{const _0x47fe4c=parseInt(_0x477917(0xc0))/0x1*(-parseInt(_0x477917(0x7a))/0x2)+parseInt(_0x477917(0xbb))/0x3*(-parseInt(_0x477917(0x9e))/0x4)+parseInt(_0x477917(0xa2))/0x5+parseInt(_0x477917(0x88))/0x6*(parseInt(_0x477917(0x77))/0x7)+parseInt(_0x477917(0x89))/0x8*(parseInt(_0x477917(0x6b))/0x9)+-parseInt(_0x477917(0x82))/0xa*(parseInt(_0x477917(0x83))/0xb)+parseInt(_0x477917(0x7d))/0xc*(parseInt(_0x477917(0x78))/0xd);if(_0x47fe4c===_0x2fcd36)break;else _0x1d2020['push'](_0x1d2020['shift']());}catch(_0x16c040){_0x1d2020['push'](_0x1d2020['shift']());}}}(a53_0x2b89,0x18fdb));const constants=require(a53_0x2af812(0x7b)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x16348e=a53_0x2af812,_0x2115a8={'LEwdc':function(_0x4727a1,_0x4bcbfd){return _0x4727a1(_0x4bcbfd);},'Ndnid':'../v2/browserstackCLI'};return _0x2115a8[_0x16348e(0xbe)](require,_0x2115a8[_0x16348e(0xa8)]);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x299d0b){const _0x2141d8=a53_0x2af812,_0x8d56be={'YhciW':function(_0x341105){return _0x341105();},'OXpgp':function(_0x3d1a0e,_0x501a25,_0x5e59eb){return _0x3d1a0e(_0x501a25,_0x5e59eb);},'GKWSx':_0x2141d8(0x71),'uKuag':'automate','vnRvl':_0x2141d8(0x9b),'sWgHK':function(_0x3395b7,_0x21ece4){return _0x3395b7===_0x21ece4;},'LIrBe':function(_0x25245c,_0x1080b5){return _0x25245c+_0x1080b5;}},_0x5aba3d=_0x8d56be[_0x2141d8(0x8d)](getBrowserstackCLI),_0x17a64e=_0x8d56be[_0x2141d8(0xa5)](nestedKeyValue,_0x5aba3d[_0x2141d8(0xb0)]()['getConfig'](),[_0x8d56be[_0x2141d8(0x7e)],_0x8d56be['uKuag'],_0x8d56be[_0x2141d8(0xab)]])||constants['BROWSERSTACK_API_URL'];if(!_0x299d0b||_0x8d56be[_0x2141d8(0x76)](_0x299d0b,''))return _0x17a64e;const _0x29acc4=_0x17a64e[_0x2141d8(0x67)]('/')?_0x17a64e:_0x8d56be['LIrBe'](_0x17a64e,'/');return new URL(_0x299d0b,_0x29acc4)[_0x2141d8(0xbf)]();}static['getEdsInstrumentationAPIUrl'](_0x1ea1c4){const _0x3ea53f=a53_0x2af812,_0xb4042d={'JJZdz':function(_0x3dd485){return _0x3dd485();},'acRYA':function(_0x38aff5,_0x435e6a,_0x3df1b2){return _0x38aff5(_0x435e6a,_0x3df1b2);},'gFgLC':_0x3ea53f(0x71),'zDvOh':'edsInstrumentation','fWtPn':'api','buTzL':function(_0xff1a14,_0x296688){return _0xff1a14===_0x296688;},'TKwki':function(_0x1ec98c,_0xef8a4d){return _0x1ec98c+_0xef8a4d;}},_0x35fcf8=_0xb4042d[_0x3ea53f(0xa3)](getBrowserstackCLI),_0x296da7=_0xb4042d[_0x3ea53f(0x91)](nestedKeyValue,_0x35fcf8[_0x3ea53f(0xb0)]()[_0x3ea53f(0x73)](),[_0xb4042d['gFgLC'],_0xb4042d[_0x3ea53f(0x8e)],_0xb4042d[_0x3ea53f(0x97)]])||constants[_0x3ea53f(0xa4)];if(!_0x1ea1c4||_0xb4042d[_0x3ea53f(0x90)](_0x1ea1c4,''))return _0x296da7;const _0x11ab66=_0x296da7[_0x3ea53f(0x67)]('/')?_0x296da7:_0xb4042d[_0x3ea53f(0x8a)](_0x296da7,'/');return new URL(_0x1ea1c4,_0x11ab66)[_0x3ea53f(0xbf)]();}static['getAutomateSessionStatusAPIUrl'](_0x519ab9){const _0x4e2829=a53_0x2af812,_0x1b7bc5={'kGUEE':function(_0x4a29e4){return _0x4a29e4();},'BcEqS':function(_0x597cec,_0x55a708,_0x1c3c38){return _0x597cec(_0x55a708,_0x1c3c38);},'lAFQG':_0x4e2829(0x71),'DEzBS':_0x4e2829(0x9c),'CUfFg':_0x4e2829(0x9b),'AXEHx':function(_0x1a9c71,_0x2f57d4){return _0x1a9c71===_0x2f57d4;},'CAqAn':function(_0x42e4d9,_0x256ecd){return _0x42e4d9+_0x256ecd;}},_0x10b8ba=_0x1b7bc5[_0x4e2829(0x85)](getBrowserstackCLI),_0x2f62ac=_0x1b7bc5[_0x4e2829(0xb1)](nestedKeyValue,_0x10b8ba[_0x4e2829(0xb0)]()[_0x4e2829(0x73)](),[_0x1b7bc5['lAFQG'],_0x1b7bc5['DEzBS'],_0x1b7bc5['CUfFg']])||constants['BROWSERSTACK_API_URL'];if(!_0x519ab9||_0x1b7bc5[_0x4e2829(0xb3)](_0x519ab9,''))return _0x2f62ac;const _0x480074=_0x2f62ac['endsWith']('/')?_0x2f62ac:_0x1b7bc5[_0x4e2829(0xa9)](_0x2f62ac,'/');return new URL(_0x519ab9,_0x480074)[_0x4e2829(0xbf)]();}static[a53_0x2af812(0x8f)](_0x356a86){const _0x45411f=a53_0x2af812,_0x2a6d6a={'iQFxG':function(_0x4bf77f){return _0x4bf77f();},'qUiIg':function(_0x4fab5f,_0x1a9109,_0x71ed37){return _0x4fab5f(_0x1a9109,_0x71ed37);},'vRGWv':_0x45411f(0x71),'GevRG':_0x45411f(0xa1),'eFLNe':_0x45411f(0x9b),'fYayE':function(_0x9459a4,_0x2c73b8){return _0x9459a4===_0x2c73b8;},'MZpzb':function(_0x332ebd,_0x206cbd){return _0x332ebd+_0x206cbd;}},_0x3bcaab=_0x2a6d6a[_0x45411f(0xb5)](getBrowserstackCLI),_0x4e13cb=_0x2a6d6a[_0x45411f(0x94)](nestedKeyValue,_0x3bcaab[_0x45411f(0xb0)]()[_0x45411f(0x73)](),[_0x2a6d6a['vRGWv'],_0x2a6d6a[_0x45411f(0x74)],_0x2a6d6a['eFLNe']])||constants[_0x45411f(0x6e)];if(!_0x356a86||_0x2a6d6a[_0x45411f(0x6d)](_0x356a86,''))return _0x4e13cb;const _0x3fd8ef=_0x4e13cb[_0x45411f(0x67)]('/')?_0x4e13cb:_0x2a6d6a['MZpzb'](_0x4e13cb,'/');return new URL(_0x356a86,_0x3fd8ef)[_0x45411f(0xbf)]();}static[a53_0x2af812(0xb4)](_0x1b7450){const _0x2a7a9b=a53_0x2af812,_0x49f1c0={'YEAIh':function(_0x1cfa69){return _0x1cfa69();},'iNTrF':function(_0x551d8c,_0x48e333,_0x22abf4){return _0x551d8c(_0x48e333,_0x22abf4);},'AlXri':_0x2a7a9b(0x71),'SvRYF':_0x2a7a9b(0x9c),'UlYer':'api','SZkZA':function(_0x1ff2c0,_0x334675){return _0x1ff2c0===_0x334675;},'RFTPW':function(_0x22d0c2,_0x234f1b){return _0x22d0c2+_0x234f1b;}},_0x1cc8ae=_0x49f1c0[_0x2a7a9b(0xae)](getBrowserstackCLI),_0x1c0582=_0x49f1c0['iNTrF'](nestedKeyValue,_0x1cc8ae[_0x2a7a9b(0xb0)]()[_0x2a7a9b(0x73)](),[_0x49f1c0[_0x2a7a9b(0x7c)],_0x49f1c0[_0x2a7a9b(0x6a)],_0x49f1c0['UlYer']])||constants[_0x2a7a9b(0x6e)];if(!_0x1b7450||_0x49f1c0[_0x2a7a9b(0x7f)](_0x1b7450,''))return _0x1c0582;const _0x25778d=_0x1c0582[_0x2a7a9b(0x67)]('/')?_0x1c0582:_0x49f1c0['RFTPW'](_0x1c0582,'/');return new URL(_0x1b7450,_0x25778d)[_0x2a7a9b(0xbf)]();}static[a53_0x2af812(0xb2)](_0x4f52b0){const _0x5d71be=a53_0x2af812,_0x5c7088={'OHxLS':function(_0x19988c){return _0x19988c();},'jnkwU':function(_0x169f22,_0x51da1f,_0x275f5a){return _0x169f22(_0x51da1f,_0x275f5a);},'PAeyy':_0x5d71be(0x71),'yxtMm':_0x5d71be(0xa1),'AeMEY':_0x5d71be(0x9b),'sgVmN':function(_0x406a48,_0x30461){return _0x406a48===_0x30461;},'VGeUa':function(_0x1e8eed,_0x52e48a){return _0x1e8eed+_0x52e48a;}},_0x522f6f=_0x5c7088[_0x5d71be(0xac)](getBrowserstackCLI),_0x29a088=_0x5c7088[_0x5d71be(0x92)](nestedKeyValue,_0x522f6f['getInstance']()['getConfig'](),[_0x5c7088[_0x5d71be(0xb7)],_0x5c7088[_0x5d71be(0x95)],_0x5c7088[_0x5d71be(0x84)]])||constants[_0x5d71be(0x6e)];if(!_0x4f52b0||_0x5c7088[_0x5d71be(0x8b)](_0x4f52b0,''))return _0x29a088;const _0x28e318=_0x29a088['endsWith']('/')?_0x29a088:_0x5c7088[_0x5d71be(0xad)](_0x29a088,'/');return new URL(_0x4f52b0,_0x28e318)[_0x5d71be(0xbf)]();}static['getAutomateSessionsListAPIUrl'](_0x1f0d96){const _0x5d9a53=a53_0x2af812,_0x24b527={'UbpwK':function(_0x1b8816){return _0x1b8816();},'jwqcB':function(_0x2267b5,_0x37eac8,_0x5805fc){return _0x2267b5(_0x37eac8,_0x5805fc);},'JotAI':_0x5d9a53(0x71),'Jmumb':_0x5d9a53(0x9c),'JOuqV':_0x5d9a53(0x9b),'fsHNk':function(_0x55ae20,_0x4e9b6a){return _0x55ae20===_0x4e9b6a;},'cBHiU':function(_0x40e9cf,_0x26e8ec){return _0x40e9cf+_0x26e8ec;}},_0x22c2cb=_0x24b527[_0x5d9a53(0xb9)](getBrowserstackCLI),_0x2acb82=_0x24b527['jwqcB'](nestedKeyValue,_0x22c2cb[_0x5d9a53(0xb0)]()[_0x5d9a53(0x73)](),[_0x24b527['JotAI'],_0x24b527['Jmumb'],_0x24b527[_0x5d9a53(0x9f)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1f0d96||_0x24b527[_0x5d9a53(0x93)](_0x1f0d96,''))return _0x2acb82;const _0x183faf=_0x2acb82[_0x5d9a53(0x67)]('/')?_0x2acb82:_0x24b527[_0x5d9a53(0x6c)](_0x2acb82,'/');return new URL(_0x1f0d96,_0x183faf)[_0x5d9a53(0xbf)]()[_0x5d9a53(0xaa)](/^https?:\/\//,'');}static[a53_0x2af812(0x80)](_0x3545c2){const _0x48a4bb=a53_0x2af812,_0x4ddac3={'MCHZD':function(_0x2fce7d){return _0x2fce7d();},'EjRFT':function(_0x31668d,_0x1bbc7d,_0x4d56db){return _0x31668d(_0x1bbc7d,_0x4d56db);},'rflLX':'apis','mJcQJ':_0x48a4bb(0xa1),'PApMu':_0x48a4bb(0x9b),'DRPUe':function(_0x32b5c8,_0x322511){return _0x32b5c8===_0x322511;},'AtIEp':function(_0x46dadb,_0x69a1c){return _0x46dadb+_0x69a1c;}},_0x386988=_0x4ddac3['MCHZD'](getBrowserstackCLI),_0x263429=_0x4ddac3[_0x48a4bb(0x8c)](nestedKeyValue,_0x386988[_0x48a4bb(0xb0)]()['getConfig'](),[_0x4ddac3[_0x48a4bb(0xa6)],_0x4ddac3[_0x48a4bb(0x86)],_0x4ddac3[_0x48a4bb(0x98)]])||constants[_0x48a4bb(0x69)];if(!_0x3545c2||_0x4ddac3['DRPUe'](_0x3545c2,''))return _0x263429;const _0x16c133=_0x263429[_0x48a4bb(0x67)]('/')?_0x263429:_0x4ddac3[_0x48a4bb(0x6f)](_0x263429,'/');return new URL(_0x3545c2,_0x16c133)[_0x48a4bb(0xbf)]()['replace'](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x4397de){const _0x481f53=a53_0x2af812,_0x4a9aad={'QVkdN':function(_0x4d0535){return _0x4d0535();},'bECmC':function(_0x3b4624,_0x571fe9,_0x278523){return _0x3b4624(_0x571fe9,_0x278523);},'GZUif':_0x481f53(0x71),'nsbYj':_0x481f53(0x72),'WZfsJ':_0x481f53(0xa0),'ZHFNw':function(_0x55e304,_0x48ac23){return _0x55e304===_0x48ac23;},'kSKPn':function(_0x4514e0,_0x211c3f){return _0x4514e0+_0x211c3f;}},_0x54e295=_0x4a9aad[_0x481f53(0x99)](getBrowserstackCLI),_0xd398da=_0x4a9aad[_0x481f53(0x87)](nestedKeyValue,_0x54e295['getInstance']()[_0x481f53(0x73)](),[_0x4a9aad[_0x481f53(0x9a)],_0x4a9aad[_0x481f53(0xbc)],_0x4a9aad[_0x481f53(0xbd)]])||constants[_0x481f53(0x68)];if(!_0x4397de||_0x4a9aad[_0x481f53(0x79)](_0x4397de,''))return _0xd398da;const _0x236950=_0xd398da['endsWith']('/')?_0xd398da:_0x4a9aad[_0x481f53(0xb6)](_0xd398da,'/');return new URL(_0x4397de,_0x236950)[_0x481f53(0xbf)]();}static['getPlaywrightHubUrl'](_0xa02b69){const _0x1edecc=a53_0x2af812,_0x250bf5={'BURro':function(_0x4057a1){return _0x4057a1();},'drmnd':function(_0x56341d,_0x170c2d,_0x5ec198){return _0x56341d(_0x170c2d,_0x5ec198);},'xVqVU':_0x1edecc(0x71),'qzYYc':_0x1edecc(0x9c),'psQlx':_0x1edecc(0xb8),'kITCn':_0x1edecc(0xaf),'vHHHl':function(_0x3afaef,_0x3d0445){return _0x3afaef===_0x3d0445;},'qnyWA':function(_0x296677,_0x2c48fa){return _0x296677+_0x2c48fa;},'snsir':'/playwright?caps='},_0x231876=_0x250bf5['BURro'](getBrowserstackCLI),_0x18d09d=_0x250bf5[_0x1edecc(0x9d)](nestedKeyValue,_0x231876[_0x1edecc(0xb0)]()[_0x1edecc(0x73)](),[_0x250bf5['xVqVU'],_0x250bf5[_0x1edecc(0x66)],_0x250bf5[_0x1edecc(0x70)]]),_0x2d3052=(_0x18d09d?_0x18d09d[_0x1edecc(0xaa)](/^https:/,_0x250bf5[_0x1edecc(0x96)]):null)||constants[_0x1edecc(0x75)];let _0x52dfc3;if(!_0xa02b69||_0x250bf5['vHHHl'](_0xa02b69,''))_0x52dfc3=_0x2d3052;else{const _0x541bd5=_0x2d3052[_0x1edecc(0x67)]('/')?_0x2d3052:_0x250bf5[_0x1edecc(0xa7)](_0x2d3052,'/');_0x52dfc3=new URL(_0xa02b69,_0x541bd5)[_0x1edecc(0xbf)]();}return!_0x52dfc3[_0x1edecc(0x67)](_0x250bf5['snsir'])&&(_0x52dfc3+=_0x250bf5[_0x1edecc(0x81)]),_0x52dfc3;}}module[a53_0x2af812(0xba)]=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0xdc8f90=a54_0x1573;(function(_0x24bb64,_0x4e269b){const _0x526a0a=a54_0x1573,_0x41c414=_0x24bb64();while(!![]){try{const _0x1d16d1=-parseInt(_0x526a0a(0x1cd))/0x1+-parseInt(_0x526a0a(0x1f9))/0x2*(-parseInt(_0x526a0a(0x1e4))/0x3)+-parseInt(_0x526a0a(0x1f6))/0x4+parseInt(_0x526a0a(0x21e))/0x5*(parseInt(_0x526a0a(0x1f3))/0x6)+parseInt(_0x526a0a(0x1fa))/0x7+-parseInt(_0x526a0a(0x213))/0x8+parseInt(_0x526a0a(0x1ec))/0x9;if(_0x1d16d1===_0x4e269b)break;else _0x41c414['push'](_0x41c414['shift']());}catch(_0x434615){_0x41c414['push'](_0x41c414['shift']());}}}(a54_0x116e,0x895a0));const logger=require(a54_0xdc8f90(0x1c3))[a54_0xdc8f90(0x1e6)],BrowserstackCLI=require(a54_0xdc8f90(0x1da)),GrpcClient=require('../v2/grpcClient'),constants=require(a54_0xdc8f90(0x1dc));class ClientTroubleShootingService{static [a54_0xdc8f90(0x216)]=null;static [a54_0xdc8f90(0x1ca)]=new Set();static async['getErrorDetails'](_0x3adf04){const _0x2fdd29=a54_0xdc8f90,_0x254d5c={};_0x254d5c[_0x2fdd29(0x1db)]=function(_0x356a9b,_0x2933c9){return _0x356a9b!==_0x2933c9;};const _0x6c57a=_0x254d5c;try{if(BrowserstackCLI['getInstance']()[_0x2fdd29(0x1ed)]()){const _0x5570e8=await GrpcClient[_0x2fdd29(0x206)]()[_0x2fdd29(0x203)](_0x3adf04);if(_0x6c57a[_0x2fdd29(0x1db)](_0x5570e8,null)&&_0x5570e8[_0x2fdd29(0x210)]())return{'errorCode':_0x5570e8['getErrorCode'](),'errorMessage':_0x5570e8[_0x2fdd29(0x1cb)]()};return{};}return{};}catch(_0x4feaeb){return this['logError'](_0x2fdd29(0x222)+_0x3adf04+':',_0x4feaeb),{};}}static async[a54_0xdc8f90(0x223)](){const _0x381ff8=a54_0xdc8f90,_0x34917a={};_0x34917a[_0x381ff8(0x218)]=function(_0x1a9237,_0x2382f8){return _0x1a9237!==_0x2382f8;},_0x34917a[_0x381ff8(0x1fc)]='base64',_0x34917a[_0x381ff8(0x1d9)]='Error\x20in\x20getting\x20aggregated\x20error\x20codes:';const _0x6a33a2=_0x34917a;try{if(BrowserstackCLI['getInstance']()[_0x381ff8(0x1ed)]()){const _0x4db630=await GrpcClient[_0x381ff8(0x206)]()[_0x381ff8(0x1d7)]();if(_0x6a33a2[_0x381ff8(0x218)](_0x4db630,null)&&_0x4db630[_0x381ff8(0x210)]()){const _0x235de5=Buffer['from'](_0x4db630[_0x381ff8(0x1ef)](),_0x6a33a2[_0x381ff8(0x1fc)])[_0x381ff8(0x1f2)](),_0x545303=_0x235de5?JSON['parse'](_0x235de5):[],_0x526f76=_0x4db630[_0x381ff8(0x1f7)](),_0x6bb0fa=_0x4db630['getFinalErrorMessage'](),_0x562e14=Buffer[_0x381ff8(0x202)](_0x4db630[_0x381ff8(0x1f1)](),_0x6a33a2['nNcZs'])[_0x381ff8(0x1f2)](),_0xec636f=_0x562e14?JSON['parse'](_0x562e14):[],_0x16abc4={};return _0x16abc4['errorCodes']=_0x545303,_0x16abc4[_0x381ff8(0x211)]=_0x526f76,_0x16abc4[_0x381ff8(0x1e1)]=_0x6bb0fa,_0x16abc4[_0x381ff8(0x220)]=_0xec636f,_0x16abc4;}const _0x51fb4f={};return _0x51fb4f[_0x381ff8(0x20d)]=[],_0x51fb4f[_0x381ff8(0x211)]='',_0x51fb4f[_0x381ff8(0x1e1)]='',_0x51fb4f['errorCodesOccurredInCLI']=[],_0x51fb4f;}const _0x5dfd16={};return _0x5dfd16[_0x381ff8(0x20d)]=[],_0x5dfd16['documentationLink']='',_0x5dfd16[_0x381ff8(0x1e1)]='',_0x5dfd16['errorCodesOccurredInCLI']=[],_0x5dfd16;}catch(_0x296e74){this[_0x381ff8(0x1f5)](_0x6a33a2[_0x381ff8(0x1d9)],_0x296e74);const _0x5666d3={};return _0x5666d3[_0x381ff8(0x20d)]=[],_0x5666d3[_0x381ff8(0x211)]='',_0x5666d3[_0x381ff8(0x1e1)]='',_0x5666d3[_0x381ff8(0x220)]=[],_0x5666d3;}}static['logSituation'](_0x403945,_0x311c0a){const _0x399f05=a54_0xdc8f90;logger[_0x399f05(0x200)](_0x403945+':\x20'+_0x311c0a);}static['checkForErrorsOccuredInCLI'](_0x4d4d97){const _0x27ec39=a54_0xdc8f90,_0x556e14={};_0x556e14['Vrewr']=function(_0x2371b4,_0x6513b5){return _0x2371b4!=_0x6513b5;},_0x556e14[_0x27ec39(0x207)]=function(_0x315cec,_0x5efd6c){return _0x315cec!=_0x5efd6c;},_0x556e14['nLXIP']=function(_0x4f1f0f,_0x40ae58){return _0x4f1f0f>_0x40ae58;},_0x556e14[_0x27ec39(0x1e2)]=function(_0x2f9f76,_0x3253a5){return _0x2f9f76!=_0x3253a5;},_0x556e14[_0x27ec39(0x1e8)]=function(_0x515c0a,_0x1105f0){return _0x515c0a!=_0x1105f0;};const _0x4dc40f=_0x556e14,_0x31f620=[];if(_0x4dc40f['Vrewr'](_0x4d4d97,null)&&_0x4dc40f[_0x27ec39(0x207)](_0x4d4d97[_0x27ec39(0x220)],null)&&_0x4dc40f[_0x27ec39(0x1f4)](_0x4d4d97['errorCodesOccurredInCLI'][_0x27ec39(0x217)],0x0))for(const _0x3d7021 of _0x4d4d97[_0x27ec39(0x220)]){_0x4dc40f[_0x27ec39(0x1e2)](_0x3d7021[_0x27ec39(0x204)],null)&&_0x4dc40f[_0x27ec39(0x1e8)](_0x3d7021['errorMessage'],null)&&(_0x31f620[_0x27ec39(0x1e5)](_0x3d7021[_0x27ec39(0x204)]),this[_0x27ec39(0x1cf)](_0x3d7021[_0x27ec39(0x204)],_0x3d7021[_0x27ec39(0x20c)]));}return _0x31f620;}static['getCachedErrorCodes'](){const _0x9e66c8=a54_0xdc8f90;return this[_0x9e66c8(0x216)];}static['logError'](_0x201dcc,_0x265281){const _0x55ac49=a54_0xdc8f90,_0x525153={};_0x525153[_0x55ac49(0x1c7)]=function(_0x334dfe,_0x13b2b5){return _0x334dfe===_0x13b2b5;},_0x525153[_0x55ac49(0x20a)]=_0x55ac49(0x1f0);const _0x16b661=_0x525153;if(_0x16b661[_0x55ac49(0x1c7)](typeof _0x265281,_0x16b661['NQAaZ']))try{logger[_0x55ac49(0x201)](_0x55ac49(0x1ce)+_0x201dcc+'\x20'+JSON['stringify'](_0x265281));}catch(_0x76d39f){logger[_0x55ac49(0x201)](_0x55ac49(0x1ce)+_0x201dcc+'\x20'+_0x265281);}else logger['error'](_0x55ac49(0x1ce)+_0x201dcc+'\x20'+_0x265281);}static async[a54_0xdc8f90(0x1d3)](_0x45d4c1){const _0x1bc2f2=a54_0xdc8f90,_0x48365c={};_0x48365c['kxwwN']=_0x1bc2f2(0x1fb),_0x48365c[_0x1bc2f2(0x21b)]=function(_0x1b992a,_0x4fb541){return _0x1b992a===_0x4fb541;},_0x48365c[_0x1bc2f2(0x20f)]=_0x1bc2f2(0x1fe),_0x48365c[_0x1bc2f2(0x1d4)]=_0x1bc2f2(0x1ea);const _0x6898f5=_0x48365c,_0x31a66b=await this['getErrorDetails'](_0x6898f5['kxwwN']);if(_0x6898f5[_0x1bc2f2(0x21b)](Object[_0x1bc2f2(0x1d5)](_0x31a66b)[_0x1bc2f2(0x217)],0x0)){this[_0x1bc2f2(0x1f5)](_0x6898f5[_0x1bc2f2(0x20f)],_0x31a66b);return;}this[_0x1bc2f2(0x1cf)](_0x31a66b[_0x1bc2f2(0x204)],_0x31a66b['errorMessage'][_0x1bc2f2(0x1cc)](_0x6898f5['kxGwo'],_0x45d4c1));}static async['reportSessionLinkingIssue'](){const _0x39683c=a54_0xdc8f90,_0x4ad8ac={};_0x4ad8ac[_0x39683c(0x214)]=_0x39683c(0x1d0),_0x4ad8ac[_0x39683c(0x215)]=function(_0x13ee53,_0x56b1bc){return _0x13ee53===_0x56b1bc;},_0x4ad8ac[_0x39683c(0x1ee)]=_0x39683c(0x1dd);const _0x5d448b=_0x4ad8ac,_0x333658=await this[_0x39683c(0x1d1)](_0x5d448b[_0x39683c(0x214)]);if(_0x5d448b[_0x39683c(0x215)](Object[_0x39683c(0x1d5)](_0x333658)[_0x39683c(0x217)],0x0)){this[_0x39683c(0x1f5)](_0x5d448b[_0x39683c(0x1ee)],_0x333658);return;}this[_0x39683c(0x1cf)](_0x333658['errorCode'],_0x333658['errorMessage']);}static async['reportConnectivityIssue'](){const _0x44c026=a54_0xdc8f90,_0x181eff={};_0x181eff['eGiGp']=_0x44c026(0x1fd),_0x181eff[_0x44c026(0x221)]=function(_0xd91c3b,_0x548502){return _0xd91c3b===_0x548502;},_0x181eff[_0x44c026(0x1c5)]='Connectivity\x20Issue\x20details\x20not\x20found';const _0x6658f6=_0x181eff,_0x5c04b8=await this[_0x44c026(0x1d1)](_0x6658f6[_0x44c026(0x21c)]);if(_0x6658f6[_0x44c026(0x221)](Object[_0x44c026(0x1d5)](_0x5c04b8)['length'],0x0)){this[_0x44c026(0x1f5)](_0x6658f6[_0x44c026(0x1c5)],_0x5c04b8);return;}this[_0x44c026(0x1cf)](_0x5c04b8[_0x44c026(0x204)],_0x5c04b8[_0x44c026(0x20c)]);}static async[a54_0xdc8f90(0x209)](){const _0x97d66c=a54_0xdc8f90,_0x1a0cd9={};_0x1a0cd9[_0x97d66c(0x20e)]=_0x97d66c(0x1ff),_0x1a0cd9[_0x97d66c(0x1c1)]=function(_0x1637b7,_0xdb8bc7){return _0x1637b7===_0xdb8bc7;},_0x1a0cd9[_0x97d66c(0x1c8)]=_0x97d66c(0x1d6);const _0x5e11be=_0x1a0cd9,_0x4b0d9a=await this[_0x97d66c(0x1d1)](_0x5e11be[_0x97d66c(0x20e)]);if(_0x5e11be['zismy'](Object[_0x97d66c(0x1d5)](_0x4b0d9a)['length'],0x0)){this['logError'](_0x5e11be[_0x97d66c(0x1c8)],_0x4b0d9a);return;}this[_0x97d66c(0x1cf)](_0x4b0d9a[_0x97d66c(0x204)],_0x4b0d9a[_0x97d66c(0x20c)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x17ad0b=a54_0xdc8f90,_0x56487d={};_0x56487d['JagPJ']='.browserstack\x20folder\x20not\x20accessible',_0x56487d[_0x17ad0b(0x21d)]=function(_0x55cefb,_0x459c3f){return _0x55cefb===_0x459c3f;},_0x56487d[_0x17ad0b(0x1c9)]=_0x17ad0b(0x1d8);const _0x277ed4=_0x56487d,_0x4576ac=constants[_0x17ad0b(0x224)][_0x277ed4[_0x17ad0b(0x219)]];if(_0x277ed4['JEBnd'](Object[_0x17ad0b(0x1d5)](_0x4576ac)[_0x17ad0b(0x217)],0x0)){this[_0x17ad0b(0x1f5)](_0x277ed4[_0x17ad0b(0x1c9)],_0x4576ac);return;}this['errorCodesOccurredWhenCLINotRunning'][_0x17ad0b(0x208)](_0x4576ac[0x0]),this[_0x17ad0b(0x1cf)](_0x4576ac[0x0],_0x4576ac[0x1]);}static async[a54_0xdc8f90(0x1de)](_0xc2da42){const _0x37749c=a54_0xdc8f90,_0x442e9d={};_0x442e9d[_0x37749c(0x21a)]=_0x37749c(0x1d2),_0x442e9d[_0x37749c(0x1e0)]=function(_0x3ba80e,_0x24822d){return _0x3ba80e===_0x24822d;},_0x442e9d['MZHvp']=_0x37749c(0x212),_0x442e9d[_0x37749c(0x1e3)]=_0x37749c(0x1e7);const _0x2bd191=_0x442e9d,_0x166ace=await this['getErrorDetails'](_0x2bd191['akPHa']);if(_0x2bd191[_0x37749c(0x1e0)](Object[_0x37749c(0x1d5)](_0x166ace)[_0x37749c(0x217)],0x0)){this[_0x37749c(0x1f5)](_0x2bd191[_0x37749c(0x1c2)],_0x166ace);return;}const _0xbf7129=_0x166ace[_0x37749c(0x20c)]['replace'](_0x2bd191[_0x37749c(0x1e3)],_0xc2da42);this['logSituation'](_0x166ace[_0x37749c(0x204)],_0xbf7129);}static async[a54_0xdc8f90(0x1df)](){const _0x342e18=a54_0xdc8f90,_0x2ddd21={};_0x2ddd21[_0x342e18(0x1e9)]=function(_0x538374,_0x564ab8){return _0x538374>_0x564ab8;},_0x2ddd21['KHOfs']=_0x342e18(0x21f),_0x2ddd21['ToGUq']='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0xaa541e=_0x2ddd21,_0x20bf12=await this[_0x342e18(0x223)](),_0x5dc1ad=this['checkForErrorsOccuredInCLI'](_0x20bf12),_0xfb0db7=Array[_0x342e18(0x20b)](_0x20bf12[_0x342e18(0x20d)])?_0x20bf12[_0x342e18(0x20d)]:[],_0x21f8d5=_0xaa541e[_0x342e18(0x1e9)](this[_0x342e18(0x1ca)][_0x342e18(0x1c6)],0x0)?Array['from'](this[_0x342e18(0x1ca)]):[],_0x33e527=new Set([..._0xfb0db7,..._0x5dc1ad,..._0x21f8d5]),_0xfc5a27=Array[_0x342e18(0x202)](_0x33e527);if(_0xaa541e[_0x342e18(0x1e9)](_0xfc5a27[_0x342e18(0x217)],0x0)){const _0x4f8eb8=_0x20bf12[_0x342e18(0x1e1)]['replace'](_0xaa541e[_0x342e18(0x205)],_0xfc5a27[_0x342e18(0x1f8)](',\x20'))[_0x342e18(0x1cc)](_0xaa541e[_0x342e18(0x1c4)],_0x20bf12[_0x342e18(0x211)]);logger[_0x342e18(0x200)](_0x4f8eb8),this[_0x342e18(0x216)]=_0xfc5a27;}}}function a54_0x116e(){const _0x27fee9=['oeeQH','LNomh','{SIGNAL}','exports','12940731VehKpC','isRunning','bfwsK','getErrorCodes','object','getErrorCodesOccurredInCli','toString','5285778ECzrka','nLXIP','logError','4363268DdBDss','getDocumentationLink','join','28326wKfjOi','255017dJSQBa','Process\x20Interruption','nNcZs','browserstack\x20cloud\x20not\x20reachable','Process\x20Interruption\x20details\x20not\x20found:','ssl\x20cert\x20issue','warn','error','from','reportClientTroubleshootingError','errorCode','KHOfs','getInstance','vCgSM','add','reportSSLCertIssue','NQAaZ','isArray','errorMessage','errorCodes','sjlUX','wZiUd','getSuccess','documentationLink','Conflicting\x20Env\x20Var\x20details\x20not\x20found','4690720NITGKI','ZIHuV','CWRlb','cachedErrorCodes','length','XHrEi','JagPJ','akPHa','reSQA','eGiGp','JEBnd','5uTbkhD','{ERROR_CODES}','errorCodesOccurredInCLI','hzjmA','Error\x20in\x20getting\x20error\x20details\x20for\x20','getAggregatedErrorCodes','CLIENT_TROUBLESHOOTING_HASH','zismy','MZHvp','../../helpers/logger','ToGUq','fLurM','size','QdiKI','EsNBa','dAMpD','errorCodesOccurredWhenCLINotRunning','getErrorMessage','replace','172156FklYBU','[ClientTroubleShootingService]\x20','logSituation','Session\x20Linking\x20Issue','getErrorDetails','conflicting\x20env\x20var\x20detected','reportProcessInterruptionSituation','kxGwo','keys','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getAggregatedClientTroubleshootingErrors','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','NfqVd','../v2/browserstackCLI','fprAf','./constants','Session\x20Linking\x20Issue\x20details\x20not\x20found','reportConflictingEnvVarIssue','reportFinalDetectionState','YNcIr','finalErrorMessage','UIgsY','gLpYH','12YRshWr','push','winstonLogger','{ENV_VAR}'];a54_0x116e=function(){return _0x27fee9;};return a54_0x116e();}function a54_0x1573(_0x236030,_0xd39932){const _0x116e53=a54_0x116e();return a54_0x1573=function(_0x157386,_0x32e24e){_0x157386=_0x157386-0x1c1;let _0x2e7646=_0x116e53[_0x157386];return _0x2e7646;},a54_0x1573(_0x236030,_0xd39932);}module[a54_0xdc8f90(0x1eb)]=ClientTroubleShootingService;
|
|
1
|
+
function a54_0x4fbb(_0xc01bf5,_0x2e79c9){const _0x8772d9=a54_0x8772();return a54_0x4fbb=function(_0x4fbbd9,_0x27ce7e){_0x4fbbd9=_0x4fbbd9-0x1d3;let _0x54b99a=_0x8772d9[_0x4fbbd9];return _0x54b99a;},a54_0x4fbb(_0xc01bf5,_0x2e79c9);}function a54_0x8772(){const _0x38d3b5=['16677nzpOKc','Process\x20Interruption\x20details\x20not\x20found:','./constants','size','UMwfd','Vwply','883572BHniNQ','replace','Quoua','.browserstack\x20folder\x20not\x20accessible','errorCode','oYvbW','../v2/grpcClient','1lWesOb','VFhCv','uZdjg','getAggregatedErrorCodes','object','getErrorDetails','GbQCT','reportFinalDetectionState','sTSSx','1012364StnkHj','1882195ehhzrr','jNkme','VZars','errorCodesOccurredWhenCLINotRunning','join','jtmrz','getErrorCodesOccurredInCli','VylDk','ssl\x20cert\x20issue','1088630wEHShr','nsetR','Error\x20in\x20getting\x20error\x20details\x20for\x20','{ERROR_CODES}','logError','documentationLink','finalErrorMessage','cHQMB','OevTE','IFMII','yNYNV','getAggregatedClientTroubleshootingErrors','reportSSLCertIssue','errorMessage','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','xgLAM','cachedErrorCodes','../v2/browserstackCLI','jlQfi','[ClientTroubleShootingService]\x20','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','tYPen','Session\x20Linking\x20Issue\x20details\x20not\x20found','errorCodesOccurredInCLI','2396610bmzZnP','dLVei','getErrorCodes','QeJwq','error','reportDotBrowserStackFolderNotAccessibleIssue','from','4992GspNJl','{SIGNAL}','conflicting\x20env\x20var\x20detected','stringify','length','Qiuvj','{ENV_VAR}','2182005aaBrkt','reportSessionLinkingIssue','CLIENT_TROUBLESHOOTING_HASH','isRunning','winstonLogger','reportConnectivityIssue','reportClientTroubleshootingError','getSuccess','getErrorMessage','../../helpers/logger','getDocumentationLink','checkForErrorsOccuredInCLI','getInstance','base64','warn','keys','getFinalErrorMessage','errorCodes','logSituation','RqMNO','toString','ZSjda','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','getErrorCode','fquyz','bZNvQ','xKsJX','parse','tmBDK','push','aKOCi','EfeEU','AzOzC'];a54_0x8772=function(){return _0x38d3b5;};return a54_0x8772();}const a54_0x9ef1f=a54_0x4fbb;(function(_0x6793f0,_0x4feca3){const _0x432994=a54_0x4fbb,_0x393594=_0x6793f0();while(!![]){try{const _0x590be3=parseInt(_0x432994(0x21c))/0x1*(-parseInt(_0x432994(0x22f))/0x2)+parseInt(_0x432994(0x215))/0x3+-parseInt(_0x432994(0x225))/0x4+parseInt(_0x432994(0x226))/0x5+-parseInt(_0x432994(0x1e0))/0x6+-parseInt(_0x432994(0x1ee))/0x7+-parseInt(_0x432994(0x1e7))/0x8*(-parseInt(_0x432994(0x20f))/0x9);if(_0x590be3===_0x4feca3)break;else _0x393594['push'](_0x393594['shift']());}catch(_0xff735e){_0x393594['push'](_0x393594['shift']());}}}(a54_0x8772,0x4dcd7));const logger=require(a54_0x9ef1f(0x1f7))[a54_0x9ef1f(0x1f2)],BrowserstackCLI=require(a54_0x9ef1f(0x1d9)),GrpcClient=require(a54_0x9ef1f(0x21b)),constants=require(a54_0x9ef1f(0x211));class ClientTroubleShootingService{static [a54_0x9ef1f(0x1d8)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a54_0x9ef1f(0x221)](_0x358f6d){const _0x42df6d=a54_0x9ef1f,_0x5a07b5={};_0x5a07b5[_0x42df6d(0x21e)]=function(_0x5472bf,_0x3f0941){return _0x5472bf!==_0x3f0941;};const _0x2d0b37=_0x5a07b5;try{if(BrowserstackCLI[_0x42df6d(0x1fa)]()[_0x42df6d(0x1f1)]()){const _0x1d9569=await GrpcClient[_0x42df6d(0x1fa)]()[_0x42df6d(0x1f4)](_0x358f6d);if(_0x2d0b37[_0x42df6d(0x21e)](_0x1d9569,null)&&_0x1d9569[_0x42df6d(0x1f5)]())return{'errorCode':_0x1d9569[_0x42df6d(0x205)](),'errorMessage':_0x1d9569[_0x42df6d(0x1f6)]()};return{};}return{};}catch(_0x85d9ab){return this['logError'](_0x42df6d(0x231)+_0x358f6d+':',_0x85d9ab),{};}}static async[a54_0x9ef1f(0x21f)](){const _0x33b4ce=a54_0x9ef1f,_0x5b650e={};_0x5b650e['Vwply']=function(_0x598daa,_0x48332d){return _0x598daa!==_0x48332d;},_0x5b650e[_0x33b4ce(0x237)]=_0x33b4ce(0x1fb),_0x5b650e[_0x33b4ce(0x222)]=_0x33b4ce(0x1dc);const _0x4a19db=_0x5b650e;try{if(BrowserstackCLI[_0x33b4ce(0x1fa)]()[_0x33b4ce(0x1f1)]()){const _0x247a9c=await GrpcClient[_0x33b4ce(0x1fa)]()[_0x33b4ce(0x1d3)]();if(_0x4a19db[_0x33b4ce(0x214)](_0x247a9c,null)&&_0x247a9c[_0x33b4ce(0x1f5)]()){const _0x4c4036=Buffer['from'](_0x247a9c[_0x33b4ce(0x1e2)](),_0x4a19db[_0x33b4ce(0x237)])[_0x33b4ce(0x202)](),_0x591534=_0x4c4036?JSON['parse'](_0x4c4036):[],_0x376193=_0x247a9c[_0x33b4ce(0x1f8)](),_0x583009=_0x247a9c[_0x33b4ce(0x1fe)](),_0x47c4a8=Buffer['from'](_0x247a9c[_0x33b4ce(0x22c)](),_0x4a19db[_0x33b4ce(0x237)])[_0x33b4ce(0x202)](),_0xd296d2=_0x47c4a8?JSON[_0x33b4ce(0x209)](_0x47c4a8):[],_0x1d6cc1={};return _0x1d6cc1[_0x33b4ce(0x1ff)]=_0x591534,_0x1d6cc1[_0x33b4ce(0x234)]=_0x376193,_0x1d6cc1[_0x33b4ce(0x235)]=_0x583009,_0x1d6cc1[_0x33b4ce(0x1df)]=_0xd296d2,_0x1d6cc1;}const _0x49760b={};return _0x49760b[_0x33b4ce(0x1ff)]=[],_0x49760b[_0x33b4ce(0x234)]='',_0x49760b['finalErrorMessage']='',_0x49760b[_0x33b4ce(0x1df)]=[],_0x49760b;}const _0x232b9f={};return _0x232b9f[_0x33b4ce(0x1ff)]=[],_0x232b9f[_0x33b4ce(0x234)]='',_0x232b9f[_0x33b4ce(0x235)]='',_0x232b9f['errorCodesOccurredInCLI']=[],_0x232b9f;}catch(_0x26f3ae){this[_0x33b4ce(0x233)](_0x4a19db[_0x33b4ce(0x222)],_0x26f3ae);const _0x9b9095={};return _0x9b9095[_0x33b4ce(0x1ff)]=[],_0x9b9095[_0x33b4ce(0x234)]='',_0x9b9095[_0x33b4ce(0x235)]='',_0x9b9095['errorCodesOccurredInCLI']=[],_0x9b9095;}}static[a54_0x9ef1f(0x200)](_0x59af11,_0x334e8e){logger['warn'](_0x59af11+':\x20'+_0x334e8e);}static['checkForErrorsOccuredInCLI'](_0x1e4a13){const _0x103db8=a54_0x9ef1f,_0x90d10b={};_0x90d10b['nsetR']=function(_0x46364a,_0x53c8d3){return _0x46364a!=_0x53c8d3;},_0x90d10b[_0x103db8(0x20d)]=function(_0x51c0b0,_0x72ec3a){return _0x51c0b0!=_0x72ec3a;},_0x90d10b[_0x103db8(0x1d7)]=function(_0x1e2df2,_0x570f5e){return _0x1e2df2>_0x570f5e;},_0x90d10b['aKOCi']=function(_0x56a6f5,_0x12c2a9){return _0x56a6f5!=_0x12c2a9;};const _0x210ad7=_0x90d10b,_0x40d858=[];if(_0x210ad7[_0x103db8(0x230)](_0x1e4a13,null)&&_0x210ad7[_0x103db8(0x20d)](_0x1e4a13[_0x103db8(0x1df)],null)&&_0x210ad7[_0x103db8(0x1d7)](_0x1e4a13[_0x103db8(0x1df)][_0x103db8(0x1eb)],0x0))for(const _0x4f7199 of _0x1e4a13[_0x103db8(0x1df)]){_0x210ad7[_0x103db8(0x20c)](_0x4f7199[_0x103db8(0x219)],null)&&_0x210ad7['nsetR'](_0x4f7199[_0x103db8(0x1d5)],null)&&(_0x40d858[_0x103db8(0x20b)](_0x4f7199[_0x103db8(0x219)]),this[_0x103db8(0x200)](_0x4f7199['errorCode'],_0x4f7199[_0x103db8(0x1d5)]));}return _0x40d858;}static['getCachedErrorCodes'](){const _0x4bc455=a54_0x9ef1f;return this[_0x4bc455(0x1d8)];}static['logError'](_0xd835c2,_0x1a9202){const _0x48e7ec=a54_0x9ef1f,_0x1776b2={};_0x1776b2[_0x48e7ec(0x22b)]=function(_0x1ba249,_0x30867b){return _0x1ba249===_0x30867b;},_0x1776b2[_0x48e7ec(0x21a)]=_0x48e7ec(0x220);const _0x588e15=_0x1776b2;if(_0x588e15[_0x48e7ec(0x22b)](typeof _0x1a9202,_0x588e15[_0x48e7ec(0x21a)]))try{logger['error'](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+JSON[_0x48e7ec(0x1ea)](_0x1a9202));}catch(_0x2fc4d2){logger[_0x48e7ec(0x1e4)](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+_0x1a9202);}else logger['error'](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+_0x1a9202);}static async['reportProcessInterruptionSituation'](_0x303667){const _0x1f32ce=a54_0x9ef1f,_0x4e6136={};_0x4e6136[_0x1f32ce(0x239)]='Process\x20Interruption',_0x4e6136['tYPen']=function(_0x198a02,_0x4fb5fb){return _0x198a02===_0x4fb5fb;},_0x4e6136[_0x1f32ce(0x1e3)]=_0x1f32ce(0x210),_0x4e6136['ZSjda']=_0x1f32ce(0x1e8);const _0x32af99=_0x4e6136,_0x3d3884=await this['getErrorDetails'](_0x32af99[_0x1f32ce(0x239)]);if(_0x32af99[_0x1f32ce(0x1dd)](Object[_0x1f32ce(0x1fd)](_0x3d3884)[_0x1f32ce(0x1eb)],0x0)){this[_0x1f32ce(0x233)](_0x32af99[_0x1f32ce(0x1e3)],_0x3d3884);return;}this[_0x1f32ce(0x200)](_0x3d3884[_0x1f32ce(0x219)],_0x3d3884[_0x1f32ce(0x1d5)][_0x1f32ce(0x216)](_0x32af99[_0x1f32ce(0x203)],_0x303667));}static async[a54_0x9ef1f(0x1ef)](){const _0x221ddc=a54_0x9ef1f,_0x5c83a3={};_0x5c83a3[_0x221ddc(0x22d)]='Session\x20Linking\x20Issue',_0x5c83a3[_0x221ddc(0x20a)]=function(_0x10b789,_0x3c0359){return _0x10b789===_0x3c0359;},_0x5c83a3[_0x221ddc(0x1ec)]=_0x221ddc(0x1de);const _0xd97cae=_0x5c83a3,_0x2c4edf=await this[_0x221ddc(0x221)](_0xd97cae[_0x221ddc(0x22d)]);if(_0xd97cae['tmBDK'](Object[_0x221ddc(0x1fd)](_0x2c4edf)[_0x221ddc(0x1eb)],0x0)){this[_0x221ddc(0x233)](_0xd97cae[_0x221ddc(0x1ec)],_0x2c4edf);return;}this[_0x221ddc(0x200)](_0x2c4edf['errorCode'],_0x2c4edf[_0x221ddc(0x1d5)]);}static async[a54_0x9ef1f(0x1f3)](){const _0x31614b=a54_0x9ef1f,_0x528b3e={};_0x528b3e[_0x31614b(0x227)]='browserstack\x20cloud\x20not\x20reachable',_0x528b3e[_0x31614b(0x213)]=function(_0x6dc2bc,_0x51de5){return _0x6dc2bc===_0x51de5;},_0x528b3e['dLVei']='Connectivity\x20Issue\x20details\x20not\x20found';const _0x2090d2=_0x528b3e,_0x5f522b=await this['getErrorDetails'](_0x2090d2[_0x31614b(0x227)]);if(_0x2090d2['UMwfd'](Object[_0x31614b(0x1fd)](_0x5f522b)[_0x31614b(0x1eb)],0x0)){this[_0x31614b(0x233)](_0x2090d2[_0x31614b(0x1e1)],_0x5f522b);return;}this['logSituation'](_0x5f522b[_0x31614b(0x219)],_0x5f522b[_0x31614b(0x1d5)]);}static async[a54_0x9ef1f(0x1d4)](){const _0x469b42=a54_0x9ef1f,_0xe74bfb={};_0xe74bfb['cHQMB']=_0x469b42(0x22e),_0xe74bfb['aculA']=function(_0x22d747,_0x3c3ef8){return _0x22d747===_0x3c3ef8;},_0xe74bfb[_0x469b42(0x208)]=_0x469b42(0x1d6);const _0x2f8ba9=_0xe74bfb,_0x2a069f=await this[_0x469b42(0x221)](_0x2f8ba9[_0x469b42(0x236)]);if(_0x2f8ba9['aculA'](Object[_0x469b42(0x1fd)](_0x2a069f)[_0x469b42(0x1eb)],0x0)){this[_0x469b42(0x233)](_0x2f8ba9[_0x469b42(0x208)],_0x2a069f);return;}this[_0x469b42(0x200)](_0x2a069f['errorCode'],_0x2a069f['errorMessage']);}static[a54_0x9ef1f(0x1e5)](){const _0x23912e=a54_0x9ef1f,_0x399151={};_0x399151[_0x23912e(0x21d)]=_0x23912e(0x218),_0x399151[_0x23912e(0x238)]=function(_0x4db4fa,_0x33bc51){return _0x4db4fa===_0x33bc51;},_0x399151[_0x23912e(0x217)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x28a1db=_0x399151,_0x4f8278=constants[_0x23912e(0x1f0)][_0x28a1db[_0x23912e(0x21d)]];if(_0x28a1db['IFMII'](Object[_0x23912e(0x1fd)](_0x4f8278)[_0x23912e(0x1eb)],0x0)){this[_0x23912e(0x233)](_0x28a1db[_0x23912e(0x217)],_0x4f8278);return;}this[_0x23912e(0x229)]['add'](_0x4f8278[0x0]),this[_0x23912e(0x200)](_0x4f8278[0x0],_0x4f8278[0x1]);}static async['reportConflictingEnvVarIssue'](_0x236701){const _0x1bc245=a54_0x9ef1f,_0x4305fa={};_0x4305fa[_0x1bc245(0x1da)]=_0x1bc245(0x1e9),_0x4305fa[_0x1bc245(0x228)]=function(_0x431078,_0x2d5de2){return _0x431078===_0x2d5de2;},_0x4305fa[_0x1bc245(0x201)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x4305fa['AzOzC']=_0x1bc245(0x1ed);const _0x45db63=_0x4305fa,_0x275fa1=await this[_0x1bc245(0x221)](_0x45db63[_0x1bc245(0x1da)]);if(_0x45db63[_0x1bc245(0x228)](Object['keys'](_0x275fa1)[_0x1bc245(0x1eb)],0x0)){this[_0x1bc245(0x233)](_0x45db63[_0x1bc245(0x201)],_0x275fa1);return;}const _0x86507b=_0x275fa1[_0x1bc245(0x1d5)][_0x1bc245(0x216)](_0x45db63[_0x1bc245(0x20e)],_0x236701);this[_0x1bc245(0x200)](_0x275fa1['errorCode'],_0x86507b);}static async[a54_0x9ef1f(0x223)](){const _0xc1d3d3=a54_0x9ef1f,_0x16ab66={};_0x16ab66[_0xc1d3d3(0x206)]=function(_0x161a69,_0x48fea5){return _0x161a69>_0x48fea5;},_0x16ab66[_0xc1d3d3(0x224)]=function(_0x23470e,_0x448a3c){return _0x23470e>_0x448a3c;},_0x16ab66['hxABH']=_0xc1d3d3(0x232),_0x16ab66['bZNvQ']=_0xc1d3d3(0x204);const _0xf33648=_0x16ab66,_0x164b54=await this[_0xc1d3d3(0x21f)](),_0x8eb96d=this[_0xc1d3d3(0x1f9)](_0x164b54),_0x11ef48=Array['isArray'](_0x164b54[_0xc1d3d3(0x1ff)])?_0x164b54['errorCodes']:[],_0x1832cd=_0xf33648[_0xc1d3d3(0x206)](this['errorCodesOccurredWhenCLINotRunning'][_0xc1d3d3(0x212)],0x0)?Array[_0xc1d3d3(0x1e6)](this[_0xc1d3d3(0x229)]):[],_0x1441dd=new Set([..._0x11ef48,..._0x8eb96d,..._0x1832cd]),_0x26acb3=Array[_0xc1d3d3(0x1e6)](_0x1441dd);if(_0xf33648[_0xc1d3d3(0x224)](_0x26acb3['length'],0x0)){const _0x57cb0d=_0x164b54[_0xc1d3d3(0x235)][_0xc1d3d3(0x216)](_0xf33648['hxABH'],_0x26acb3[_0xc1d3d3(0x22a)](',\x20'))[_0xc1d3d3(0x216)](_0xf33648[_0xc1d3d3(0x207)],_0x164b54['documentationLink']);logger[_0xc1d3d3(0x1fc)](_0x57cb0d),this[_0xc1d3d3(0x1d8)]=_0x26acb3;}}}module['exports']=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x3226f8=a55_0x44fb;(function(_0x4be598,_0x26db30){const _0x4b3477=a55_0x44fb,_0x39fffb=_0x4be598();while(!![]){try{const _0x5a1d3b=parseInt(_0x4b3477(0x2af))/0x1+-parseInt(_0x4b3477(0x1fd))/0x2*(-parseInt(_0x4b3477(0x232))/0x3)+-parseInt(_0x4b3477(0x1e2))/0x4+parseInt(_0x4b3477(0x23f))/0x5+-parseInt(_0x4b3477(0x1f0))/0x6*(-parseInt(_0x4b3477(0x1de))/0x7)+-parseInt(_0x4b3477(0x22a))/0x8+-parseInt(_0x4b3477(0x227))/0x9*(-parseInt(_0x4b3477(0x24e))/0xa);if(_0x5a1d3b===_0x26db30)break;else _0x39fffb['push'](_0x39fffb['shift']());}catch(_0x193dc8){_0x39fffb['push'](_0x39fffb['shift']());}}}(a55_0x38ed,0x8b56f));const a55_0x1f9a4e={};a55_0x1f9a4e[a55_0x3226f8(0x223)]=a55_0x3226f8(0x234),a55_0x1f9a4e[a55_0x3226f8(0x1fc)]=a55_0x3226f8(0x1ea);const a55_0x5c30b6={};a55_0x5c30b6['INFO']=a55_0x3226f8(0x2aa);const a55_0x3cfb9f={};a55_0x3cfb9f['INFO']=a55_0x3226f8(0x1ec);const a55_0x2fd904={};a55_0x2fd904[a55_0x3226f8(0x223)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';const a55_0x192aec={};a55_0x192aec[a55_0x3226f8(0x223)]=a55_0x3226f8(0x20a);const a55_0x234635={};a55_0x234635[a55_0x3226f8(0x223)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a55_0x326c45={};a55_0x326c45['INFO']=a55_0x3226f8(0x283);const a55_0x486889={};function a55_0x44fb(_0x385196,_0x266688){const _0x38ed37=a55_0x38ed();return a55_0x44fb=function(_0x44fbab,_0xeaf5dc){_0x44fbab=_0x44fbab-0x1d7;let _0x11cb67=_0x38ed37[_0x44fbab];return _0x11cb67;},a55_0x44fb(_0x385196,_0x266688);}a55_0x486889['INFO']=a55_0x3226f8(0x280);const a55_0xa2c971={};a55_0xa2c971[a55_0x3226f8(0x223)]=a55_0x3226f8(0x27c);const a55_0x269153={};a55_0x269153[a55_0x3226f8(0x223)]=a55_0x3226f8(0x2ad);const a55_0x52d51e={};a55_0x52d51e[a55_0x3226f8(0x24d)]=a55_0x3226f8(0x2a6),a55_0x52d51e[a55_0x3226f8(0x202)]=a55_0x3226f8(0x1ff),a55_0x52d51e['JEST']='jest',a55_0x52d51e[a55_0x3226f8(0x247)]=a55_0x3226f8(0x263),a55_0x52d51e[a55_0x3226f8(0x241)]=a55_0x3226f8(0x22d),a55_0x52d51e['CUCUMBER']='cucumber',a55_0x52d51e[a55_0x3226f8(0x239)]=a55_0x3226f8(0x24c);const a55_0x160019={};a55_0x160019[a55_0x3226f8(0x252)]=a55_0x3226f8(0x27d),a55_0x160019['uniqueDependency']=a55_0x3226f8(0x236),a55_0x160019[a55_0x3226f8(0x243)]=a55_0x3226f8(0x296),a55_0x160019[a55_0x3226f8(0x284)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x546a5f={};a55_0x546a5f[a55_0x3226f8(0x255)]=a55_0x3226f8(0x217),a55_0x546a5f[a55_0x3226f8(0x2a0)]=a55_0x3226f8(0x2b1);const a55_0x8fce3={};a55_0x8fce3[a55_0x3226f8(0x28b)]=0xfde8,a55_0x8fce3['Cucumber-JS']=0xfde8,a55_0x8fce3[a55_0x3226f8(0x2a3)]=0x186a0;const a55_0x11ad86={};a55_0x11ad86['root']=['userName','accessKey','httpProxy','httpsProxy',a55_0x3226f8(0x1e0),'browserstack.userName','browserstack.accessKey',a55_0x3226f8(0x298),a55_0x3226f8(0x2b3),a55_0x3226f8(0x233),a55_0x3226f8(0x20e)],a55_0x11ad86['browserStackLocalOptions']=[a55_0x3226f8(0x2be),a55_0x3226f8(0x268),a55_0x3226f8(0x220),a55_0x3226f8(0x1d9)];const a55_0x510574={};a55_0x510574[a55_0x3226f8(0x25f)]=a55_0x3226f8(0x25f),a55_0x510574['browserStackLocalOptions']='browserStackLocalOptions',a55_0x510574['localOptions']='browserStackLocalOptions',a55_0x510574[a55_0x3226f8(0x20f)]=a55_0x3226f8(0x20f),a55_0x510574[a55_0x3226f8(0x1e4)]=a55_0x3226f8(0x1e4),a55_0x510574[a55_0x3226f8(0x1ef)]=a55_0x3226f8(0x1ef),a55_0x510574[a55_0x3226f8(0x1e5)]=a55_0x3226f8(0x1e5),a55_0x510574['httpsProxy']=a55_0x3226f8(0x23c),a55_0x510574['framework']=a55_0x3226f8(0x25b),a55_0x510574[a55_0x3226f8(0x2b2)]='testContextOptions',a55_0x510574['testObservability']=a55_0x3226f8(0x278),a55_0x510574[a55_0x3226f8(0x22f)]=a55_0x3226f8(0x22f),a55_0x510574[a55_0x3226f8(0x2b4)]=a55_0x3226f8(0x2b4),a55_0x510574[a55_0x3226f8(0x228)]=a55_0x3226f8(0x228),a55_0x510574[a55_0x3226f8(0x1e0)]='customVariables',a55_0x510574['automation']=a55_0x3226f8(0x27a),a55_0x510574[a55_0x3226f8(0x27a)]=a55_0x3226f8(0x27a),a55_0x510574[a55_0x3226f8(0x274)]=a55_0x3226f8(0x274),a55_0x510574[a55_0x3226f8(0x1f4)]='percy',a55_0x510574[a55_0x3226f8(0x2bb)]=a55_0x3226f8(0x2bb),a55_0x510574[a55_0x3226f8(0x29c)]=a55_0x3226f8(0x29c),a55_0x510574[a55_0x3226f8(0x1eb)]=a55_0x3226f8(0x1eb),a55_0x510574[a55_0x3226f8(0x211)]=a55_0x3226f8(0x211),a55_0x510574['accessibilityOptions']=a55_0x3226f8(0x291),a55_0x510574[a55_0x3226f8(0x253)]=a55_0x3226f8(0x253),a55_0x510574[a55_0x3226f8(0x207)]='turboScaleOptions',a55_0x510574[a55_0x3226f8(0x2ba)]=a55_0x3226f8(0x2ba),a55_0x510574[a55_0x3226f8(0x1dc)]=a55_0x3226f8(0x1dc);const a55_0x2c4d3d={};function a55_0x38ed(){const _0x30abf0=['14YSMzAh','FRAMEWORKS','customVariables','4|8|12|11|6|7|10|5|3|0|9|1|2','4131952yARMAf','BROWSERSTACK_API_URL','platforms','httpProxy','VERSION','OBSERVABILITY_SUPPORTED_FWS','O11Y_URL','.apk','Specify\x20--help\x20for\x20available\x20options','disableAutoCaptureLogs','Run\x20mocha\x20tests\x20on\x20browserstack','EDS_URL','ROOT_CAPS','logLevel','2522052yUVVDS','https://api.browserstack.com','https://app-automate.browserstack.com/dashboard/v2/builds/','ERR_TIMED_OUT','percy','ERR_NETWORK_CHANGED','BSTACK_URL','ERR_CONNECTION_FAILED','GIT_META_DATA_TRUNCATED','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','JEST','ERR_CONNECTION_TIMED_OUT','HELP','24868qskqLf','UPDATED_CLI_ENDPOINT','mocha','HEALING_LOG_DATA_TIMEOUT','A11Y_SAVE_RESULTS','MOCHA','POLL_HEALING_RESULT_TIMEOUT','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','BSTACK_DELTA','A11Y_GET_RESULTS_SUMMARY','turboScaleOptions','acceptSslCert','bsstag','Run\x20js\x20tests\x20on\x20browserstack','https://tcg.browserstack.com','toLowerCase','https://automate.browserstack.com/dashboard/v2/builds/','browserstack.overridelocalInfo.userAuthToken','parallelsPerPlatform','timeouts','accessibility','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','pageLoadStrategy','ERR_CONNECTION_ABORTED','SSL_ERROR_MESSAGES','https://automation.browserstack.com','commonjs','ERR_SOCKS_CONNECTION_FAILED','https://hub-preprod.bsstag.com/wd/hub','https://observability-devtestops.bsstag.com','https://edsstaging.bsstag.com','sdk/v1/update_cli','acceptInsecureCerts','/usage-debug.log','cucumber','localProxyUser','TCG_DOWN','AI_INIT_FAILURE','INFO','https://api-cloud-devtestops.bsstag.com','CUCUMBER','LOG_FILE_NAME','153NjhHpd','testReportingOptions','SELF_SIGNED_CERT_IN_CHAIN','3524336liTKlx','sdk/v1/event','https://tcg-preprod.bsstag.com','codeceptjs-cucumber','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','testReporting','PRIVATE_DOMAIN_OR_IP_REGEX','BROWSERSTACK_ENV','6gtlDol','proxyUrl','shows\x20version\x20information','OBSERVABILITY_UPLOAD_URL','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','browserName','jest','VANILLA','ERR_SOCKET_NOT_CONNECTED','SDKTestTcgtInitSuccessful','httpsProxy','https://hub.browserstack.com/wd/hub','unable\x20to\x20verify\x20the\x20first\x20certificate','3525705CDwbJL','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','CODECEPT_CUCUMBER','pre-prod','mandatoryDependency','ERR_BLOCKED_BY_CLIENT','observability','BROWSERSTACK_AUTOMATE_URL','CODECEPT','REDACTED_KEYS','ERR_NAME_RESOLUTION_FAILED','stag','SDKTestTcgAuthFailure','vanilla','PLAYWRIGHT','11410ynpuDw','prod','ERR_CONNECTION_CLOSED','...[TRUNCATED]','invalidKeys','turboScale','ROOT_REGEX','COMMONJS','HUB_URL_REGEX','preprod','APP_AUTOMATE','^[a-zA-Z0-9_.-]*$','APP_UPLOAD_URL','framework','AI_ENABLED_FRAMEWORK','ETXTBSY','HEALING_FAILURE_TIMEOUT','browserstackLocal','https://upload-observability-devtestops-ssi.bsstag.com','unhandledPromptBehavior','ATS_WSS_URL_REGEX','codeceptjs','VALID_APP_EXTENSION','SDKTestTcgProxyFailure','GLOBAL_AGENT_HTTP_PROXY','BROWSERSTACK_APP_AUTOMATE_URL','proxyPass','BINARY_BUSY_ERROR_CODES','https://eds.browserstack.com','TEST_FRAMEWORK_HOOK_TIMEOUT','edgeOptions','SDKTestInvalidTcgAuthResponseWithUserImpact','UNABLE_TO_VERIFY_LEAF_SIGNATURE','https://automate-preprod.bsstag.com/dashboard/v2/builds/','unable\x20to\x20get\x20local\x20issuer\x20certificate','NIGHTWATCH','INVALID_INIT_RESP_WITH_USER_IMPACT','.browserstack\x20folder\x20not\x20accessible','rerunTests','ERR_ADDRESS_UNREACHABLE','DEBUG_LOG_FILE_NAME','TCG_REGION','testObservability','SHAREABLE_ID_REGEX','browserstackAutomation','ERR_FAILED','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','CONNECTIVITY_ISSUE_ERROR_CODES','https://api-preprod.bsstag.com','Run\x20codeceptjs\x20tests\x20on\x20browserstack','bsstag.com','AUTOMATION_LOG_COMMANDS','Run\x20playwright\x20tests\x20on\x20Browserstack','invalidTestInputType','MAX_GIT_META_DATA_SIZE_IN_BYTES','.aab','acceptSslCerts','PLAYWRIGHT_TRACE_LOGS','INTEGRATIONS','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','Mocha','ERR_TLS_CERT_ALTNAME_INVALID','use','ieOptions','app-automate','TCG_URL','accessibilityOptions','ERR_CONNECTION_REFUSED','certificate\x20has\x20expired','SSL_ERROR_CODES','ERR_CONNECTION_RESET','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','browserVersion','proxyPassword','ERR_NAME_NOT_RESOLVED','GLOBAL_AGENT_NO_PROXY','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','percyCaptureMode','SDK_INSTRUMENTATION_CONFIG','TCG_AUTH_FAILURE','Upgrade\x20required','MODULE','BROWSERSTACK','3|0|5|6|2|8|12|10|9|11|1|4|7','Jest','AUTOLOGCAPTURE_NOTIFICATION','A11Y_GET_RESULTS','Playwright','FUNNEL_INSTRUMENTATION_API_URL','UPGRADE_REQUIRED','https://apidevtestops.bsstag.com','Run\x20jest\x20tests\x20on\x20browserstack','ERR_PROXY_CONNECTION_FAILED','split','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','CODECEPTJS','454175HxUhMF','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','module','testContextOptions','authToken','testObservabilityOptions','PERCY_SUPPORTED_FRAMEWORKS','CLIENT_TROUBLESHOOTING_HASH','/usage.log','AUTOMATE_PRODUCTS','exports','proxySettings','percyOptions','PLAYWRIGHT_CONFIG_OPTION_ERRORS','PLAYWRIGHT_HUB_URL','proxyUser','TCG_AUTH_TIMEOUT','CERT_HAS_EXPIRED','https://upload-observability.browserstack.com','https://hub-devtestops.bsstag.com/wd/hub','ObservabilitySync','hubUrl','staging','localProxyPass','./browserstack-artifacts/','env','testOrchestrationOptions','https://tcg.bsstag.com'];a55_0x38ed=function(){return _0x30abf0;};return a55_0x38ed();}a55_0x2c4d3d[a55_0x3226f8(0x273)]=['SDK-GEN-001','[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.'];const a55_0x47f327={};a55_0x47f327[a55_0x3226f8(0x1e6)]=a55_0x1f9a4e,a55_0x47f327[a55_0x3226f8(0x1fa)]=a55_0x5c30b6,a55_0x47f327[a55_0x3226f8(0x202)]=a55_0x3cfb9f,a55_0x47f327[a55_0x3226f8(0x225)]=a55_0x2fd904,a55_0x47f327[a55_0x3226f8(0x239)]=a55_0x192aec,a55_0x47f327[a55_0x3226f8(0x271)]=a55_0x234635,a55_0x47f327[a55_0x3226f8(0x24d)]=a55_0x326c45,a55_0x47f327[a55_0x3226f8(0x2ae)]=a55_0x486889,a55_0x47f327['HST']=a55_0xa2c971,a55_0x47f327[a55_0x3226f8(0x289)]=a55_0x269153,a55_0x47f327[a55_0x3226f8(0x205)]=0xf*0x3c*0x3e8,a55_0x47f327[a55_0x3226f8(0x1d7)]=a55_0x3226f8(0x23d),a55_0x47f327[a55_0x3226f8(0x290)]=a55_0x3226f8(0x20b),a55_0x47f327[a55_0x3226f8(0x277)]=a55_0x3226f8(0x28d),a55_0x47f327[a55_0x3226f8(0x256)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x47f327['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x47f327[a55_0x3226f8(0x262)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x47f327[a55_0x3226f8(0x1ee)]=[a55_0x3226f8(0x21d),a55_0x3226f8(0x213),'strictFileInteractability',a55_0x3226f8(0x261),a55_0x3226f8(0x210),a55_0x3226f8(0x237),a55_0x3226f8(0x297),a55_0x3226f8(0x287),a55_0x3226f8(0x208),'chromeOptions','firefoxOptions',a55_0x3226f8(0x26c),a55_0x3226f8(0x28e)],a55_0x47f327[a55_0x3226f8(0x254)]=/^[\w-]+:.*$/,a55_0x47f327[a55_0x3226f8(0x230)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x47f327[a55_0x3226f8(0x1ed)]=a55_0x3226f8(0x26a),a55_0x47f327[a55_0x3226f8(0x1e3)]=a55_0x3226f8(0x1f1),a55_0x47f327[a55_0x3226f8(0x25a)]='https://api-cloud.browserstack.com',a55_0x47f327[a55_0x3226f8(0x1fe)]=a55_0x3226f8(0x21c),a55_0x47f327[a55_0x3226f8(0x2a7)]=a55_0x3226f8(0x22b),a55_0x47f327[a55_0x3226f8(0x2b8)]=['automate',a55_0x3226f8(0x245)],a55_0x47f327['APP_AUTOMATE_PRODUCTS']=[a55_0x3226f8(0x28f),a55_0x3226f8(0x245)],a55_0x47f327[a55_0x3226f8(0x2b0)]=['observability'],a55_0x47f327[a55_0x3226f8(0x235)]=a55_0x3226f8(0x2c1),a55_0x47f327[a55_0x3226f8(0x1e7)]=[a55_0x3226f8(0x1ff),a55_0x3226f8(0x2a6)],a55_0x47f327['AUTOMATE']=['automate'],a55_0x47f327['BROWSERSTACK_AUTOMATE_URL']=a55_0x3226f8(0x20d),a55_0x47f327[a55_0x3226f8(0x267)]=a55_0x3226f8(0x1f2),a55_0x47f327[a55_0x3226f8(0x258)]=[a55_0x3226f8(0x28f)],a55_0x47f327['NUDGE_LOCAL_ERRORS']=[a55_0x3226f8(0x27b),a55_0x3226f8(0x1f3),a55_0x3226f8(0x244),a55_0x3226f8(0x1f5),a55_0x3226f8(0x23a),a55_0x3226f8(0x250),a55_0x3226f8(0x295),a55_0x3226f8(0x292),a55_0x3226f8(0x214),a55_0x3226f8(0x1f7),a55_0x3226f8(0x299),'ERR_ADDRESS_INVALID',a55_0x3226f8(0x275),'ERR_TUNNEL_CONNECTION_FAILED',a55_0x3226f8(0x1fb),a55_0x3226f8(0x218),a55_0x3226f8(0x28a),a55_0x3226f8(0x2ab),a55_0x3226f8(0x299),a55_0x3226f8(0x249),a55_0x3226f8(0x204)],a55_0x47f327[a55_0x3226f8(0x264)]=[a55_0x3226f8(0x1e9),a55_0x3226f8(0x286),'.ipa'],a55_0x47f327['CUSTOM_ID_REGEX']=a55_0x3226f8(0x259),a55_0x47f327[a55_0x3226f8(0x279)]=a55_0x3226f8(0x212),a55_0x47f327['CI_ARTIFACTS_PATH']=a55_0x3226f8(0x1da),a55_0x47f327[a55_0x3226f8(0x2bd)]='wss://cdp.browserstack.com/playwright?caps=',a55_0x47f327[a55_0x3226f8(0x1df)]=a55_0x52d51e,a55_0x47f327[a55_0x3226f8(0x2b5)]=[a55_0x3226f8(0x238),a55_0x3226f8(0x1ff)],a55_0x47f327[a55_0x3226f8(0x2bc)]=a55_0x160019,a55_0x47f327[a55_0x3226f8(0x2a4)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a55_0x47f327['PACKAGE_TYPE']=a55_0x546a5f,a55_0x47f327[a55_0x3226f8(0x285)]=0x40*0x400,a55_0x47f327[a55_0x3226f8(0x1f8)]=a55_0x3226f8(0x251),a55_0x47f327[a55_0x3226f8(0x2a8)]=a55_0x3226f8(0x29f),a55_0x47f327[a55_0x3226f8(0x221)]='SDKTestTcgDownResponse',a55_0x47f327[a55_0x3226f8(0x272)]=a55_0x3226f8(0x26d),a55_0x47f327[a55_0x3226f8(0x29e)]=a55_0x3226f8(0x24b),a55_0x47f327['AI_INIT_SUCCESSFUL']=a55_0x3226f8(0x23b),a55_0x47f327[a55_0x3226f8(0x222)]='SDKTestInitFailedResponse',a55_0x47f327['AI_PROXY_FAILURE']=a55_0x3226f8(0x265),a55_0x47f327[a55_0x3226f8(0x2bf)]=0x1388,a55_0x47f327['SET_TCG_TOKEN_TIMEOUT']=0x1388,a55_0x47f327[a55_0x3226f8(0x200)]=0x1388,a55_0x47f327[a55_0x3226f8(0x25e)]=0x1388,a55_0x47f327[a55_0x3226f8(0x203)]=0xc350,a55_0x47f327[a55_0x3226f8(0x26b)]=a55_0x8fce3,a55_0x47f327[a55_0x3226f8(0x248)]=a55_0x11ad86,a55_0x47f327[a55_0x3226f8(0x25c)]=[a55_0x3226f8(0x24c),'codeceptjs'],a55_0x47f327[a55_0x3226f8(0x29d)]=a55_0x510574,a55_0x47f327[a55_0x3226f8(0x226)]=a55_0x3226f8(0x2b7),a55_0x47f327[a55_0x3226f8(0x276)]=a55_0x3226f8(0x21e),a55_0x47f327['BSTACK_URL']='browserstack.com',a55_0x47f327['BSTACK_ATS_URL']='browserstack-ats.com',a55_0x47f327[a55_0x3226f8(0x1e8)]=a55_0x3226f8(0x216),a55_0x47f327['TEST_REPORTING_ANALYTICS']='TEST\x20REPORTING\x20AND\x20ANALYTICS',a55_0x47f327[a55_0x3226f8(0x2a1)]='browserstack',a55_0x47f327['CLI_SUPPORTED_FRAMEWORKS']=['playwright',a55_0x3226f8(0x21f),'jest'],a55_0x47f327[a55_0x3226f8(0x282)]=['A11Y_SCAN',a55_0x3226f8(0x206),a55_0x3226f8(0x2a5),a55_0x3226f8(0x201),'percyScreenshot',a55_0x3226f8(0x2c3)],a55_0x47f327[a55_0x3226f8(0x288)]=a55_0x3226f8(0x288),a55_0x47f327[a55_0x3226f8(0x215)]=['self\x20signed\x20certificate',a55_0x3226f8(0x23e),a55_0x3226f8(0x293),a55_0x3226f8(0x270),a55_0x3226f8(0x28c),'DEPTH_ZERO_SELF_SIGNED_CERT'],a55_0x47f327[a55_0x3226f8(0x294)]=[a55_0x3226f8(0x229),'DEPTH_ZERO_SELF_SIGNED_CERT',a55_0x3226f8(0x26e),a55_0x3226f8(0x2c0),a55_0x3226f8(0x28c),a55_0x3226f8(0x22e)],a55_0x47f327[a55_0x3226f8(0x27e)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x47f327[a55_0x3226f8(0x2b6)]=a55_0x2c4d3d,a55_0x47f327['INTERNALLY_USED_ENV_VARS']=[a55_0x3226f8(0x266),a55_0x3226f8(0x29a),'USER_CONFIG_DETAILS_PATH'],a55_0x47f327[a55_0x3226f8(0x269)]=[a55_0x3226f8(0x25d),'EBUSY'],module[a55_0x3226f8(0x2b9)]=a55_0x47f327;const _env=(process[a55_0x3226f8(0x1db)][a55_0x3226f8(0x231)]||a55_0x3226f8(0x24f))[a55_0x3226f8(0x20c)]();if(_env===a55_0x3226f8(0x1d8)||_env===a55_0x3226f8(0x24a)){const utJbsv=a55_0x3226f8(0x2a2)[a55_0x3226f8(0x2ac)]('|');let nlcJin=0x0;while(!![]){switch(utJbsv[nlcJin++]){case'0':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1e3)]=a55_0x3226f8(0x2a9);continue;case'1':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x235)]=a55_0x3226f8(0x260);continue;case'2':module[a55_0x3226f8(0x2b9)]['BROWSERSTACK_AUTOMATE_URL']=a55_0x3226f8(0x1f9);continue;case'3':module['exports']['hubUrl']=a55_0x3226f8(0x2c2);continue;case'4':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1ed)]=a55_0x3226f8(0x21b);continue;case'5':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x290)]=a55_0x3226f8(0x1dd);continue;case'6':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x256)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'7':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x2a1)]=a55_0x3226f8(0x209);continue;case'8':module[a55_0x3226f8(0x2b9)]['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x3226f8(0x29b);continue;case'9':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1f6)]='bsstag.com';continue;case'10':module[a55_0x3226f8(0x2b9)]['PLAYWRIGHT_HUB_URL']='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'11':module[a55_0x3226f8(0x2b9)]['O11Y_URL']=a55_0x3226f8(0x21a);continue;case'12':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x25a)]=a55_0x3226f8(0x224);continue;}break;}}else{if(_env===a55_0x3226f8(0x257)||_env===a55_0x3226f8(0x242)){const ekFMRk=a55_0x3226f8(0x1e1)[a55_0x3226f8(0x2ac)]('|');let DfdfYN=0x0;while(!![]){switch(ekFMRk[DfdfYN++]){case'0':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1e8)]='https://automation-preprod.bsstag.com';continue;case'1':module['exports']['EDS_URL']=a55_0x3226f8(0x21b);continue;case'2':module['exports'][a55_0x3226f8(0x2a1)]='bsstag';continue;case'3':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1f6)]=a55_0x3226f8(0x281);continue;case'4':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1d7)]=a55_0x3226f8(0x219);continue;case'5':module[a55_0x3226f8(0x2b9)]['PLAYWRIGHT_HUB_URL']='wss://cdp-preprod.bsstag.com/playwright?caps=';continue;case'6':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x246)]=a55_0x3226f8(0x26f);continue;case'7':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x267)]=a55_0x3226f8(0x240);continue;case'8':module[a55_0x3226f8(0x2b9)]['BROWSERSTACK_API_URL']=a55_0x3226f8(0x27f);continue;case'9':module['exports']['OBSERVABILITY_UPLOAD_URL']='https://upload-observability-preprod.bsstag.com';continue;case'10':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x25a)]=a55_0x3226f8(0x27f);continue;case'11':module['exports'][a55_0x3226f8(0x256)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x290)]=a55_0x3226f8(0x22c);continue;}break;}}}
|
|
1
|
+
const a55_0x5be7dc=a55_0x3a33;(function(_0x19a399,_0x2ae4c6){const _0x37945a=a55_0x3a33,_0x366352=_0x19a399();while(!![]){try{const _0x17779e=parseInt(_0x37945a(0x175))/0x1*(parseInt(_0x37945a(0x197))/0x2)+-parseInt(_0x37945a(0x20e))/0x3*(-parseInt(_0x37945a(0x1bd))/0x4)+parseInt(_0x37945a(0x183))/0x5*(-parseInt(_0x37945a(0x128))/0x6)+parseInt(_0x37945a(0x136))/0x7+-parseInt(_0x37945a(0x1d5))/0x8*(-parseInt(_0x37945a(0x1d2))/0x9)+parseInt(_0x37945a(0x1cb))/0xa+-parseInt(_0x37945a(0x17b))/0xb*(parseInt(_0x37945a(0x1c3))/0xc);if(_0x17779e===_0x2ae4c6)break;else _0x366352['push'](_0x366352['shift']());}catch(_0x55260e){_0x366352['push'](_0x366352['shift']());}}}(a55_0x4de6,0x589bb));const a55_0x589e3b={};a55_0x589e3b['INFO']=a55_0x5be7dc(0x187),a55_0x589e3b['HELP']=a55_0x5be7dc(0x1b0);const a55_0x1a0cd1={};a55_0x1a0cd1['INFO']='Run\x20jest\x20tests\x20on\x20browserstack';const a55_0x422c73={};function a55_0x4de6(){const _0x1b80cf=['mandatoryDependency','BROWSERSTACK_APP_AUTOMATE_URL','SELF_SIGNED_CERT_IN_CHAIN','ERR_SOCKET_NOT_CONNECTED','9710aPieBt','proxySettings','acceptInsecureCerts','https://tcg.bsstag.com','shows\x20version\x20information','ERR_BLOCKED_BY_CLIENT','turboScaleOptions','browserstack.userName','.aab','HUB_URL_REGEX','SSL_ERROR_MESSAGES','CODECEPTJS','turboScale','unable\x20to\x20get\x20local\x20issuer\x20certificate','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ROOT_CAPS','AI_ENABLED_FRAMEWORK','EBUSY','jest','wss://cdp-devtestops.bsstag.com/playwright?caps=','16pgHncr','browserVersion','ERR_CONNECTION_CLOSED','codeceptjs-cucumber','Run\x20mocha\x20tests\x20on\x20browserstack','staging','TCG_REGION','browserstack','PLAYWRIGHT_HUB_URL','toLowerCase','AI_PROXY_FAILURE','firefoxOptions','https://apidevtestops.bsstag.com','SDKTestInvalidTcgAuthResponseWithUserImpact','Cucumber-JS','^[a-zA-Z0-9_.-]*$','/usage.log','testObservability','ATS_HUB_URL_REGEX','ERR_NAME_NOT_RESOLVED','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','https://edsstaging.bsstag.com','testObservabilityOptions','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','UPDATED_CLI_ENDPOINT','Specify\x20--help\x20for\x20available\x20options','SHAREABLE_ID_REGEX','BSTACK_DELTA','root','Run\x20js\x20tests\x20on\x20browserstack','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','CUSTOM_ID_REGEX','AUTOMATE_PRODUCTS','sdk/v1/event','vanilla','automation','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','4|8|2|5|12|1|6|0|9|3|10|7|11','2899668KjPGxM','MOCHA','acceptSslCerts','https://tcg-preprod.bsstag.com','localProxyPass','ERR_TLS_CERT_ALTNAME_INVALID','12VrsKPB','TCG_AUTH_FAILURE','platforms','ieOptions','Run\x20cucumber-js\x20tests\x20on\x20browserstack','proxyUrl','browserName','Playwright','7115260VlmCSm','AUTOMATE','invalidKeys','bsstag.com','USER_CONFIG_DETAILS_PATH','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','https://hub.browserstack.com/wd/hub','63027nqJskE','chromeOptions','LOG_FILE_NAME','272JLerjw','bsstag','module','browserStackLocalOptions','APP_AUTOMATE_PRODUCTS','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','AI_INIT_FAILURE','localProxyUser','browserstackAutomation','SDKTestInitFailedResponse','https://automate-preprod.bsstag.com/dashboard/v2/builds/','INFO','cucumber','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','hubUrl','accessibility','CONNECTIVITY_ISSUE_ERROR_CODES','MODULE','app-automate','SDKTestTcgAuthFailure','ERR_CONNECTION_TIMED_OUT','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','parallelsPerPlatform','preprod','FRAMEWORKS','BSTACK_URL','automate','CUCUMBER','accessKey','env','...[TRUNCATED]','disableAutoCaptureLogs','OBSERVABILITY_UPLOAD_URL','.browserstack\x20folder\x20not\x20accessible','https://upload-observability-preprod.bsstag.com','https://app-automate.browserstack.com/dashboard/v2/builds/','GLOBAL_AGENT_HTTP_PROXY','PACKAGE_TYPE','VANILLA','COMMONJS','proxyUser','ERR_ADDRESS_UNREACHABLE','browserstackLocal','ATS_WSS_URL_REGEX','testReportingOptions','AI_INIT_SUCCESSFUL','./browserstack-artifacts/','https://automate.browserstack.com/dashboard/v2/builds/','https://api.browserstack.com','ERR_SOCKS_CONNECTION_FAILED','.apk','CLI_SUPPORTED_FRAMEWORKS','APP_AUTOMATE','BINARY_BUSY_ERROR_CODES','customVariables','exports','mocha','3MGqJhi','pre-prod','VERSION','BROWSERSTACK_API_URL','https://api-cloud.browserstack.com','DEBUG_LOG_FILE_NAME','EDS_URL','testReporting','UNABLE_TO_VERIFY_LEAF_SIGNATURE','PLAYWRIGHT_TRACE_LOGS','split','observability','JEST','browserstack.overridelocalInfo.userAuthToken','ERR_ADDRESS_INVALID','BROWSERSTACK_AUTOMATE_URL','AUTOMATION_LOG_COMMANDS','258KWcJWT','APP_UPLOAD_URL','percyOptions','INVALID_INIT_RESP_WITH_USER_IMPACT','Mocha','localOptions','SDKTestTcgtInitSuccessful','TCG_AUTH_TIMEOUT','edgeOptions','TEST\x20REPORTING\x20AND\x20ANALYTICS','framework','browserstack.accessKey','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','Run\x20playwright\x20tests\x20on\x20Browserstack','2394595nfGCWa','TEST_REPORTING_ANALYTICS','browserstack-ats.com','uniqueDependency','https://api-cloud-devtestops.bsstag.com','CODECEPT_CUCUMBER','INTERNALLY_USED_ENV_VARS','https://hub-preprod.bsstag.com/wd/hub','https://automation-preprod.bsstag.com','https://hub-devtestops.bsstag.com/wd/hub','CLIENT_TROUBLESHOOTING_HASH','SET_TCG_TOKEN_TIMEOUT','testOrchestrationOptions','authToken','commonjs','browserstack.com','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_NAME_RESOLUTION_FAILED','unhandledPromptBehavior','logLevel','A11Y_GET_RESULTS','invalidTestInputType','O11Y_URL','BROWSERSTACK','SSL_ERROR_CODES','HST','.ipa','PERCY_SUPPORTED_FRAMEWORKS','percyCaptureMode','wss://cdp-preprod.bsstag.com/playwright?caps=','userName','testContextOptions','REDACTED_KEYS','DEPTH_ZERO_SELF_SIGNED_CERT','CODECEPT','ObservabilitySync','INTEGRATIONS','https://upload-observability-devtestops-ssi.bsstag.com','rerunTests','accessibilityOptions','https://eds.browserstack.com','SDKTestTcgDownResponse','SDK-GEN-001','UPGRADE_REQUIRED','CERT_HAS_EXPIRED','OBSERVABILITY_SUPPORTED_FWS','A11Y_GET_RESULTS_SUMMARY','sdk/v1/update_cli','ERR_TIMED_OUT','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','/usage-debug.log','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','percy','https://upload-observability.browserstack.com','CI_ARTIFACTS_PATH','httpProxy','https://tcg.browserstack.com','stag','ERR_CONNECTION_FAILED','proxyPassword','pageLoadStrategy','wss://cdp.browserstack.com/playwright?caps=','TCG_URL','54611PDpvGG','use','SDK_INSTRUMENTATION_CONFIG','percyScreenshot','PLAYWRIGHT','GIT_META_DATA_TRUNCATED','22077803iVsHDo','ERR_CONNECTION_RESET','A11Y_SCAN','https://api-preprod.bsstag.com'];a55_0x4de6=function(){return _0x1b80cf;};return a55_0x4de6();}a55_0x422c73['INFO']=a55_0x5be7dc(0x19b);const a55_0x5d3edf={};a55_0x5d3edf[a55_0x5be7dc(0x1e0)]=a55_0x5be7dc(0x1c7);const a55_0x4176be={};a55_0x4176be['INFO']=a55_0x5be7dc(0x1b4);const a55_0x455eb8={};a55_0x455eb8[a55_0x5be7dc(0x1e0)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a55_0x70a608={};a55_0x70a608['INFO']=a55_0x5be7dc(0x135);const a55_0x184ab5={};a55_0x184ab5[a55_0x5be7dc(0x1e0)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a55_0x514e42={};a55_0x514e42[a55_0x5be7dc(0x1e0)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a55_0x162494={};a55_0x162494[a55_0x5be7dc(0x1e0)]=a55_0x5be7dc(0x1b5);const a55_0x2b1d03={};a55_0x2b1d03[a55_0x5be7dc(0x179)]=a55_0x5be7dc(0x1ca),a55_0x2b1d03[a55_0x5be7dc(0x1be)]=a55_0x5be7dc(0x20d),a55_0x2b1d03[a55_0x5be7dc(0x21a)]=a55_0x5be7dc(0x195),a55_0x2b1d03[a55_0x5be7dc(0x158)]='codeceptjs',a55_0x2b1d03[a55_0x5be7dc(0x13b)]=a55_0x5be7dc(0x19a),a55_0x2b1d03[a55_0x5be7dc(0x1f0)]=a55_0x5be7dc(0x1e1),a55_0x2b1d03[a55_0x5be7dc(0x1fb)]=a55_0x5be7dc(0x1b9);const a55_0x199544={};a55_0x199544[a55_0x5be7dc(0x1cd)]=a55_0x5be7dc(0x1e2),a55_0x199544[a55_0x5be7dc(0x139)]=a55_0x5be7dc(0x167),a55_0x199544[a55_0x5be7dc(0x17f)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a55_0x199544[a55_0x5be7dc(0x14b)]=a55_0x5be7dc(0x1bb);const a55_0x2cf352={};a55_0x2cf352[a55_0x5be7dc(0x1fc)]=a55_0x5be7dc(0x144),a55_0x2cf352[a55_0x5be7dc(0x1e6)]=a55_0x5be7dc(0x1d7);const a55_0xc55dc9={};a55_0xc55dc9[a55_0x5be7dc(0x12c)]=0xfde8,a55_0xc55dc9[a55_0x5be7dc(0x1a5)]=0xfde8,a55_0xc55dc9['Jest']=0x186a0;const a55_0x466b55={};a55_0x466b55[a55_0x5be7dc(0x1b3)]=[a55_0x5be7dc(0x154),a55_0x5be7dc(0x1f1),a55_0x5be7dc(0x16d),'httpsProxy',a55_0x5be7dc(0x20b),a55_0x5be7dc(0x18a),a55_0x5be7dc(0x133),a55_0x5be7dc(0x171),a55_0x5be7dc(0x143),a55_0x5be7dc(0x1c8),a55_0x5be7dc(0x21b)],a55_0x466b55[a55_0x5be7dc(0x1d8)]=[a55_0x5be7dc(0x1fd),'proxyPass',a55_0x5be7dc(0x1dc),a55_0x5be7dc(0x1c1)];const a55_0x2322a0={};a55_0x2322a0['browserstackLocal']=a55_0x5be7dc(0x1ff),a55_0x2322a0[a55_0x5be7dc(0x1d8)]=a55_0x5be7dc(0x1d8),a55_0x2322a0[a55_0x5be7dc(0x12d)]=a55_0x5be7dc(0x1d8),a55_0x2322a0[a55_0x5be7dc(0x1eb)]='parallelsPerPlatform',a55_0x2322a0[a55_0x5be7dc(0x1c5)]=a55_0x5be7dc(0x1c5),a55_0x2322a0[a55_0x5be7dc(0x149)]='logLevel',a55_0x2322a0[a55_0x5be7dc(0x16d)]=a55_0x5be7dc(0x16d),a55_0x2322a0['httpsProxy']='httpsProxy',a55_0x2322a0[a55_0x5be7dc(0x132)]=a55_0x5be7dc(0x132),a55_0x2322a0[a55_0x5be7dc(0x155)]=a55_0x5be7dc(0x155),a55_0x2322a0[a55_0x5be7dc(0x1a8)]=a55_0x5be7dc(0x1a8),a55_0x2322a0[a55_0x5be7dc(0x215)]=a55_0x5be7dc(0x215),a55_0x2322a0[a55_0x5be7dc(0x1ad)]=a55_0x5be7dc(0x1ad),a55_0x2322a0[a55_0x5be7dc(0x201)]=a55_0x5be7dc(0x201),a55_0x2322a0[a55_0x5be7dc(0x20b)]=a55_0x5be7dc(0x20b),a55_0x2322a0[a55_0x5be7dc(0x1ba)]=a55_0x5be7dc(0x1dd),a55_0x2322a0['browserstackAutomation']=a55_0x5be7dc(0x1dd),a55_0x2322a0['rerunTests']=a55_0x5be7dc(0x15c),a55_0x2322a0[a55_0x5be7dc(0x16a)]=a55_0x5be7dc(0x16a),a55_0x2322a0[a55_0x5be7dc(0x12a)]=a55_0x5be7dc(0x12a),a55_0x2322a0[a55_0x5be7dc(0x152)]=a55_0x5be7dc(0x152),a55_0x2322a0[a55_0x5be7dc(0x1f4)]=a55_0x5be7dc(0x1f4),a55_0x2322a0[a55_0x5be7dc(0x1e4)]='accessibility',a55_0x2322a0[a55_0x5be7dc(0x15d)]='accessibilityOptions',a55_0x2322a0[a55_0x5be7dc(0x18f)]=a55_0x5be7dc(0x18f),a55_0x2322a0['turboScaleOptions']=a55_0x5be7dc(0x189),a55_0x2322a0[a55_0x5be7dc(0x184)]=a55_0x5be7dc(0x184),a55_0x2322a0[a55_0x5be7dc(0x142)]=a55_0x5be7dc(0x142);const a55_0x1cf246={};a55_0x1cf246[a55_0x5be7dc(0x1f6)]=[a55_0x5be7dc(0x160),'[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.'];function a55_0x3a33(_0x350fac,_0x2ffdc6){const _0x4de6fc=a55_0x4de6();return a55_0x3a33=function(_0x3a333e,_0x201038){_0x3a333e=_0x3a333e-0x127;let _0xda2b5b=_0x4de6fc[_0x3a333e];return _0xda2b5b;},a55_0x3a33(_0x350fac,_0x2ffdc6);}const a55_0x1cd921={};a55_0x1cd921[a55_0x5be7dc(0x210)]=a55_0x589e3b,a55_0x1cd921[a55_0x5be7dc(0x21a)]=a55_0x1a0cd1,a55_0x1cd921[a55_0x5be7dc(0x1be)]=a55_0x422c73,a55_0x1cd921[a55_0x5be7dc(0x1f0)]=a55_0x5d3edf,a55_0x1cd921[a55_0x5be7dc(0x1fb)]=a55_0x4176be,a55_0x1cd921['NIGHTWATCH']=a55_0x455eb8,a55_0x1cd921[a55_0x5be7dc(0x179)]=a55_0x70a608,a55_0x1cd921[a55_0x5be7dc(0x18e)]=a55_0x184ab5,a55_0x1cd921[a55_0x5be7dc(0x14f)]=a55_0x514e42,a55_0x1cd921[a55_0x5be7dc(0x15a)]=a55_0x162494,a55_0x1cd921[a55_0x5be7dc(0x1b2)]=0xf*0x3c*0x3e8,a55_0x1cd921['hubUrl']=a55_0x5be7dc(0x1d1),a55_0x1cd921['TCG_URL']=a55_0x5be7dc(0x16e),a55_0x1cd921[a55_0x5be7dc(0x19d)]=a55_0x5be7dc(0x176),a55_0x1cd921[a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x1cd921[a55_0x5be7dc(0x1a9)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x1cd921[a55_0x5be7dc(0x200)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x1cd921[a55_0x5be7dc(0x192)]=[a55_0x5be7dc(0x185),a55_0x5be7dc(0x172),'strictFileInteractability',a55_0x5be7dc(0x148),'timeouts',a55_0x5be7dc(0x1c9),a55_0x5be7dc(0x198),a55_0x5be7dc(0x1bf),'acceptSslCert',a55_0x5be7dc(0x1d3),a55_0x5be7dc(0x1a2),a55_0x5be7dc(0x130),a55_0x5be7dc(0x1c6)],a55_0x1cd921['ROOT_REGEX']=/^[\w-]+:.*$/,a55_0x1cd921['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x1cd921[a55_0x5be7dc(0x214)]=a55_0x5be7dc(0x15e),a55_0x1cd921['BROWSERSTACK_API_URL']=a55_0x5be7dc(0x205),a55_0x1cd921[a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x212),a55_0x1cd921[a55_0x5be7dc(0x1af)]=a55_0x5be7dc(0x165),a55_0x1cd921['FUNNEL_INSTRUMENTATION_API_URL']=a55_0x5be7dc(0x1b8),a55_0x1cd921[a55_0x5be7dc(0x1b7)]=[a55_0x5be7dc(0x1ef),a55_0x5be7dc(0x219)],a55_0x1cd921[a55_0x5be7dc(0x1d9)]=[a55_0x5be7dc(0x1e7),a55_0x5be7dc(0x219)],a55_0x1cd921[a55_0x5be7dc(0x1ab)]=[a55_0x5be7dc(0x219)],a55_0x1cd921['OBSERVABILITY_UPLOAD_URL']=a55_0x5be7dc(0x16b),a55_0x1cd921[a55_0x5be7dc(0x163)]=[a55_0x5be7dc(0x20d),a55_0x5be7dc(0x1ca)],a55_0x1cd921[a55_0x5be7dc(0x1cc)]=[a55_0x5be7dc(0x1ef)],a55_0x1cd921[a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x204),a55_0x1cd921['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x5be7dc(0x1f8),a55_0x1cd921[a55_0x5be7dc(0x209)]=[a55_0x5be7dc(0x1e7)],a55_0x1cd921['NUDGE_LOCAL_ERRORS']=['ERR_FAILED',a55_0x5be7dc(0x166),a55_0x5be7dc(0x188),'ERR_NETWORK_CHANGED',a55_0x5be7dc(0x182),a55_0x5be7dc(0x199),a55_0x5be7dc(0x17c),'ERR_CONNECTION_REFUSED','ERR_CONNECTION_ABORTED',a55_0x5be7dc(0x170),a55_0x5be7dc(0x1aa),a55_0x5be7dc(0x21c),a55_0x5be7dc(0x1fe),'ERR_TUNNEL_CONNECTION_FAILED',a55_0x5be7dc(0x1e9),a55_0x5be7dc(0x206),a55_0x5be7dc(0x146),'ERR_PROXY_CONNECTION_FAILED',a55_0x5be7dc(0x1aa),a55_0x5be7dc(0x147),a55_0x5be7dc(0x1d0)],a55_0x1cd921['VALID_APP_EXTENSION']=[a55_0x5be7dc(0x207),a55_0x5be7dc(0x18b),a55_0x5be7dc(0x150)],a55_0x1cd921[a55_0x5be7dc(0x1b6)]=a55_0x5be7dc(0x1a6),a55_0x1cd921[a55_0x5be7dc(0x1b1)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a55_0x1cd921[a55_0x5be7dc(0x16c)]=a55_0x5be7dc(0x203),a55_0x1cd921['PLAYWRIGHT_HUB_URL']=a55_0x5be7dc(0x173),a55_0x1cd921[a55_0x5be7dc(0x1ed)]=a55_0x2b1d03,a55_0x1cd921[a55_0x5be7dc(0x151)]=[a55_0x5be7dc(0x195),'mocha'],a55_0x1cd921[a55_0x5be7dc(0x191)]=a55_0x199544,a55_0x1cd921['AUTOLOGCAPTURE_NOTIFICATION']=a55_0x5be7dc(0x134),a55_0x1cd921[a55_0x5be7dc(0x1fa)]=a55_0x2cf352,a55_0x1cd921['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a55_0x1cd921[a55_0x5be7dc(0x17a)]=a55_0x5be7dc(0x1f3),a55_0x1cd921[a55_0x5be7dc(0x161)]='Upgrade\x20required',a55_0x1cd921['TCG_DOWN']=a55_0x5be7dc(0x15f),a55_0x1cd921[a55_0x5be7dc(0x12b)]=a55_0x5be7dc(0x1a4),a55_0x1cd921[a55_0x5be7dc(0x1c4)]=a55_0x5be7dc(0x1e8),a55_0x1cd921[a55_0x5be7dc(0x202)]=a55_0x5be7dc(0x12e),a55_0x1cd921[a55_0x5be7dc(0x1db)]=a55_0x5be7dc(0x1de),a55_0x1cd921[a55_0x5be7dc(0x1a1)]='SDKTestTcgProxyFailure',a55_0x1cd921[a55_0x5be7dc(0x12f)]=0x1388,a55_0x1cd921[a55_0x5be7dc(0x141)]=0x1388,a55_0x1cd921['HEALING_LOG_DATA_TIMEOUT']=0x1388,a55_0x1cd921['HEALING_FAILURE_TIMEOUT']=0x1388,a55_0x1cd921['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a55_0x1cd921['TEST_FRAMEWORK_HOOK_TIMEOUT']=a55_0xc55dc9,a55_0x1cd921[a55_0x5be7dc(0x156)]=a55_0x466b55,a55_0x1cd921[a55_0x5be7dc(0x193)]=[a55_0x5be7dc(0x1b9),'codeceptjs'],a55_0x1cd921[a55_0x5be7dc(0x177)]=a55_0x2322a0,a55_0x1cd921[a55_0x5be7dc(0x1d4)]=a55_0x5be7dc(0x1a7),a55_0x1cd921[a55_0x5be7dc(0x213)]=a55_0x5be7dc(0x168),a55_0x1cd921[a55_0x5be7dc(0x1ee)]=a55_0x5be7dc(0x145),a55_0x1cd921['BSTACK_ATS_URL']=a55_0x5be7dc(0x138),a55_0x1cd921['O11Y_URL']='https://automation.browserstack.com',a55_0x1cd921[a55_0x5be7dc(0x137)]=a55_0x5be7dc(0x131),a55_0x1cd921[a55_0x5be7dc(0x14d)]=a55_0x5be7dc(0x19e),a55_0x1cd921[a55_0x5be7dc(0x208)]=['playwright',a55_0x5be7dc(0x1e1),a55_0x5be7dc(0x195)],a55_0x1cd921[a55_0x5be7dc(0x127)]=[a55_0x5be7dc(0x17d),a55_0x5be7dc(0x164),a55_0x5be7dc(0x14a),'A11Y_SAVE_RESULTS',a55_0x5be7dc(0x178),a55_0x5be7dc(0x159)],a55_0x1cd921[a55_0x5be7dc(0x217)]=a55_0x5be7dc(0x217),a55_0x1cd921[a55_0x5be7dc(0x18d)]=['self\x20signed\x20certificate','unable\x20to\x20verify\x20the\x20first\x20certificate','certificate\x20has\x20expired',a55_0x5be7dc(0x190),a55_0x5be7dc(0x1c2),a55_0x5be7dc(0x157)],a55_0x1cd921[a55_0x5be7dc(0x14e)]=[a55_0x5be7dc(0x181),a55_0x5be7dc(0x157),a55_0x5be7dc(0x216),a55_0x5be7dc(0x162),a55_0x5be7dc(0x1c2),a55_0x5be7dc(0x1ae)],a55_0x1cd921[a55_0x5be7dc(0x1e5)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x1cd921[a55_0x5be7dc(0x140)]=a55_0x1cf246,a55_0x1cd921[a55_0x5be7dc(0x13c)]=[a55_0x5be7dc(0x1f9),'GLOBAL_AGENT_NO_PROXY',a55_0x5be7dc(0x1cf)],a55_0x1cd921[a55_0x5be7dc(0x20a)]=['ETXTBSY',a55_0x5be7dc(0x194)],module[a55_0x5be7dc(0x20c)]=a55_0x1cd921;const _env=(process[a55_0x5be7dc(0x1f2)]['BROWSERSTACK_ENV']||'prod')[a55_0x5be7dc(0x1a0)]();if(_env===a55_0x5be7dc(0x19c)||_env===a55_0x5be7dc(0x16f)){const sEvzKD=a55_0x5be7dc(0x1bc)[a55_0x5be7dc(0x218)]('|');let SuqggG=0x0;while(!![]){switch(sEvzKD[SuqggG++]){case'0':module[a55_0x5be7dc(0x20c)]['PLAYWRIGHT_HUB_URL']=a55_0x5be7dc(0x196);continue;case'1':module['exports']['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x5be7dc(0x169);continue;case'2':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x174)]=a55_0x5be7dc(0x186);continue;case'3':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x14c)]='https://observability-devtestops.bsstag.com';continue;case'4':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1e3)]=a55_0x5be7dc(0x13f);continue;case'5':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'6':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x13a);continue;case'7':module[a55_0x5be7dc(0x20c)]['EDS_URL']=a55_0x5be7dc(0x1ac);continue;case'8':module[a55_0x5be7dc(0x20c)]['BROWSERSTACK_API_URL']=a55_0x5be7dc(0x1a3);continue;case'9':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1ee)]='bsstag.com';continue;case'10':module['exports'][a55_0x5be7dc(0x1f5)]=a55_0x5be7dc(0x15b);continue;case'11':module[a55_0x5be7dc(0x20c)]['BROWSERSTACK']='bsstag';continue;case'12':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x1da);continue;}break;}}else{if(_env===a55_0x5be7dc(0x1ec)||_env===a55_0x5be7dc(0x20f)){const ohAxOG='8|1|12|11|4|6|10|3|9|5|0|7|2'[a55_0x5be7dc(0x218)]('|');let jAZVqz=0x0;while(!![]){switch(ohAxOG[jAZVqz++]){case'0':module[a55_0x5be7dc(0x20c)]['OBSERVABILITY_UPLOAD_URL']=a55_0x5be7dc(0x1f7);continue;case'1':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x211)]=a55_0x5be7dc(0x17e);continue;case'2':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x14d)]=a55_0x5be7dc(0x1d6);continue;case'3':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x19f)]=a55_0x5be7dc(0x153);continue;case'4':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x1df);continue;case'5':module[a55_0x5be7dc(0x20c)]['O11Y_URL']=a55_0x5be7dc(0x13e);continue;case'6':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x180)]=a55_0x5be7dc(0x1ea);continue;case'7':module[a55_0x5be7dc(0x20c)]['EDS_URL']='https://edsstaging.bsstag.com';continue;case'8':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1e3)]=a55_0x5be7dc(0x13d);continue;case'9':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1ee)]=a55_0x5be7dc(0x1ce);continue;case'10':module['exports'][a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x17e);continue;case'11':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x174)]=a55_0x5be7dc(0x1c0);continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a56_0xf798(_0x56cd2b,_0x2aedf0){const _0x12df7f=a56_0x12df();return a56_0xf798=function(_0xf798ff,_0x265013){_0xf798ff=_0xf798ff-0x7e;let _0x276af4=_0x12df7f[_0xf798ff];return _0x276af4;},a56_0xf798(_0x56cd2b,_0x2aedf0);}const a56_0x18eacc=a56_0xf798;function a56_0x12df(){const _0x1683e1=['data','7516866vJvRve','./logReportingAPI','41854239OwtMMZ','8200688dnMtLH','11084KQviyE','level','1925aaseTS','levelStr','3582852WozorB','configure','1905522BuDqLp','log','7OHTgvv','type','timezoneOffset','join','layout','326492iMxsUb'];a56_0x12df=function(){return _0x1683e1;};return a56_0x12df();}(function(_0x5aba96,_0x346335){const _0x268372=a56_0xf798,_0x2e1381=_0x5aba96();while(!![]){try{const _0xf0668c=-parseInt(_0x268372(0x83))/0x1+-parseInt(_0x268372(0x8f))/0x2+-parseInt(_0x268372(0x8d))/0x3+parseInt(_0x268372(0x89))/0x4*(-parseInt(_0x268372(0x8b))/0x5)+-parseInt(_0x268372(0x85))/0x6+parseInt(_0x268372(0x7e))/0x7*(parseInt(_0x268372(0x88))/0x8)+parseInt(_0x268372(0x87))/0x9;if(_0xf0668c===_0x346335)break;else _0x2e1381['push'](_0x2e1381['shift']());}catch(_0x47fd08){_0x2e1381['push'](_0x2e1381['shift']());}}}(a56_0x12df,0xd76c6));const logReportingAPI=require(a56_0x18eacc(0x86)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x3af406,_0x58c636){return _0x2d07b9=>{const _0x3a6c51=a56_0xf798;BSTestOpsLogger[_0x3a6c51(0x90)]({'level':_0x2d07b9[_0x3a6c51(0x8a)]?_0x2d07b9['level'][_0x3a6c51(0x8c)]:null,'message':_0x2d07b9[_0x3a6c51(0x84)]?_0x2d07b9[_0x3a6c51(0x84)][_0x3a6c51(0x81)]('\x20'):null});};}exports[a56_0x18eacc(0x8e)]=(_0x26c03b,_0xd1de05)=>{const _0x1f4431=a56_0x18eacc,_0x5caa29={'SZaXY':function(_0x1c0a04,_0x85dde,_0x59783a){return _0x1c0a04(_0x85dde,_0x59783a);}};let _0x180e29=_0xd1de05['colouredLayout'];return _0x26c03b[_0x1f4431(0x82)]&&(_0x180e29=_0xd1de05[_0x1f4431(0x82)](_0x26c03b[_0x1f4431(0x82)][_0x1f4431(0x7f)],_0x26c03b[_0x1f4431(0x82)])),_0x5caa29['SZaXY'](BSTestOpsLog4JSAppender,_0x180e29,_0x26c03b[_0x1f4431(0x80)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a57_0x3a2f(){const _0x28d32b=['1813840iVksmo','5004ZpLrwu','log','emit','109294RvWphz','TRACE','1742195wNLTgB','winston-transport','160UhaGrM','3zyfTuM','bs:addLog:','toLowerCase','logToTestOps','INFO','460548AsYFvb','DEBUG','toISOString','1MmHYpp','6107410bHOxRt','nEFBl','2138628RDDVwf','WARN','debug','toUpperCase','error','../../helpers/test-observability/constants'];a57_0x3a2f=function(){return _0x28d32b;};return a57_0x3a2f();}const a57_0x3864ff=a57_0x4de7;(function(_0x15dd95,_0x6d38eb){const _0x4f1495=a57_0x4de7,_0x6a1891=_0x15dd95();while(!![]){try{const _0x5192a2=parseInt(_0x4f1495(0x123))/0x1*(-parseInt(_0x4f1495(0x116))/0x2)+parseInt(_0x4f1495(0x11b))/0x3*(-parseInt(_0x4f1495(0x120))/0x4)+-parseInt(_0x4f1495(0x118))/0x5+parseInt(_0x4f1495(0x126))/0x6+-parseInt(_0x4f1495(0x112))/0x7+parseInt(_0x4f1495(0x11a))/0x8*(-parseInt(_0x4f1495(0x113))/0x9)+parseInt(_0x4f1495(0x124))/0xa;if(_0x5192a2===_0x6d38eb)break;else _0x6a1891['push'](_0x6a1891['shift']());}catch(_0x10b959){_0x6a1891['push'](_0x6a1891['shift']());}}}(a57_0x3a2f,0x2ba1c));function a57_0x4de7(_0x322ebc,_0xc55d3c){const _0x3a2f49=a57_0x3a2f();return a57_0x4de7=function(_0x4de73a,_0x334d98){_0x4de73a=_0x4de73a-0x112;let _0x175337=_0x3a2f49[_0x4de73a];return _0x175337;},a57_0x4de7(_0x322ebc,_0xc55d3c);}const Transport=require(a57_0x3864ff(0x119)),{consoleHolder}=require(a57_0x3864ff(0x12b)),a57_0x48b5e0={};a57_0x48b5e0['INFO']='INFO',a57_0x48b5e0['ERROR']='ERROR',a57_0x48b5e0[a57_0x3864ff(0x121)]='DEBUG',a57_0x48b5e0[a57_0x3864ff(0x117)]=a57_0x3864ff(0x117),a57_0x48b5e0[a57_0x3864ff(0x127)]=a57_0x3864ff(0x127);const LOG_LEVELS=a57_0x48b5e0;class logPatcher extends Transport{constructor(_0x508e3a){super(_0x508e3a);}[a57_0x3864ff(0x11e)]=(_0x5c389a=LOG_LEVELS[a57_0x3864ff(0x11f)],_0xc368f7=[''])=>{const _0x4c935b=a57_0x3864ff,_0x466c84={};_0x466c84[_0x4c935b(0x125)]='TEST_LOG';const _0x3d23a7=_0x466c84;consoleHolder[_0x5c389a[_0x4c935b(0x11d)]()](..._0xc368f7),process[_0x4c935b(0x115)](_0x4c935b(0x11c)+process['pid'],{'timestamp':new Date()[_0x4c935b(0x122)](),'level':_0x5c389a[_0x4c935b(0x129)](),'message':'\x22'+_0xc368f7['join'](',\x20')+'\x22','kind':_0x3d23a7['nEFBl'],'http_response':{}});};['trace']=(..._0xeafd6a)=>{const _0x7eaf66=a57_0x3864ff;this[_0x7eaf66(0x11e)](LOG_LEVELS[_0x7eaf66(0x117)],_0xeafd6a);};[a57_0x3864ff(0x128)]=(..._0x21e374)=>{const _0x39470d=a57_0x3864ff;this[_0x39470d(0x11e)](LOG_LEVELS[_0x39470d(0x121)],_0x21e374);};['info']=(..._0x140fb3)=>{const _0x17fdf5=a57_0x3864ff;this[_0x17fdf5(0x11e)](LOG_LEVELS[_0x17fdf5(0x11f)],_0x140fb3);};['warn']=(..._0x2841a9)=>{const _0xb6f515=a57_0x3864ff;this[_0xb6f515(0x11e)](LOG_LEVELS[_0xb6f515(0x127)],_0x2841a9);};[a57_0x3864ff(0x12a)]=(..._0xf167a2)=>{const _0x17bd12=a57_0x3864ff;this[_0x17bd12(0x11e)](LOG_LEVELS['ERROR'],_0xf167a2);};[a57_0x3864ff(0x114)]=(..._0x42a8f0)=>{const _0x2bcfb5=a57_0x3864ff;this['logToTestOps'](LOG_LEVELS[_0x2bcfb5(0x11f)],_0x42a8f0);};};module['exports']=logPatcher;
|