browserstack-node-sdk 1.56.0 → 1.56.2
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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.js +1 -0
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133_0x2dd813=a133_0x59bf;(function(_0x5540c4,_0x3d5c3c){const _0x25af12=a133_0x59bf,_0xcbce33=_0x5540c4();while(!![]){try{const _0xdf2d14=parseInt(_0x25af12(0x142))/0x1+parseInt(_0x25af12(0x179))/0x2*(-parseInt(_0x25af12(0x12e))/0x3)+-parseInt(_0x25af12(0xf0))/0x4+parseInt(_0x25af12(0xde))/0x5*(-parseInt(_0x25af12(0x167))/0x6)+-parseInt(_0x25af12(0x11c))/0x7*(parseInt(_0x25af12(0x106))/0x8)+parseInt(_0x25af12(0x174))/0x9+parseInt(_0x25af12(0xe6))/0xa*(parseInt(_0x25af12(0x12a))/0xb);if(_0xdf2d14===_0x3d5c3c)break;else _0xcbce33['push'](_0xcbce33['shift']());}catch(_0x463624){_0xcbce33['push'](_0xcbce33['shift']());}}}(a133_0x52bb,0x1948b));const fs=require('fs'),fsPromise=require(a133_0x2dd813(0x158)),{performance,PerformanceObserver}=require('perf_hooks'),path=require('path'),util=require(a133_0x2dd813(0x16b)),logger=require(a133_0x2dd813(0x14c))[a133_0x2dd813(0x147)],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static ['_observer'];static [a133_0x2dd813(0x141)]=[];static [a133_0x2dd813(0x100)]=[];static ['_errorEvents']=[];static [a133_0x2dd813(0xd8)]=![];static [a133_0x2dd813(0x16e)]='performance-report';static [a133_0x2dd813(0x115)]=process[a133_0x2dd813(0xe5)][a133_0x2dd813(0xf9)]?path[a133_0x2dd813(0x123)](process[a133_0x2dd813(0xe5)][a133_0x2dd813(0xf9)],a133_0x2dd813(0x159)):path[a133_0x2dd813(0x123)](process[a133_0x2dd813(0x17d)](),'error-report');static [a133_0x2dd813(0xf3)]=this[a133_0x2dd813(0x115)]+'/error-report-'+getProcessId()+'.json';static [a133_0x2dd813(0x105)]={};static [a133_0x2dd813(0xe1)]={};static[a133_0x2dd813(0xf2)](_0x1a46e8,_0x3078f3=this[a133_0x2dd813(0x115)]+a133_0x2dd813(0x176)+getProcessId()+'.json'){const _0x769ad2=a133_0x2dd813,_0x35e1c8={'BAUYt':function(_0x5270ce,_0x337645){return _0x5270ce===_0x337645;},'Cnzrl':_0x769ad2(0xe0),'AzOWM':function(_0x49aa27){return _0x49aa27();},'mBbSX':function(_0x5cd31e){return _0x5cd31e();},'ygGCN':function(_0x2ae84e,_0x14e575){return _0x2ae84e+_0x14e575;},'taiAU':_0x769ad2(0x165),'clVPp':'function'};try{this[_0x769ad2(0x139)]=path[_0x769ad2(0x123)](_0x35e1c8['AzOWM'](getLogDir),this[_0x769ad2(0x16e)]),!_0x1a46e8&&(_0x1a46e8=this['jsonReportDirPath']+'/performance-report-'+_0x35e1c8[_0x769ad2(0x138)](getProcessId)+'.json'),!fs['existsSync'](this['jsonReportDirPath'])&&fs[_0x769ad2(0xed)](this[_0x769ad2(0x139)]);}catch(_0x125699){logger[_0x769ad2(0x107)](_0x35e1c8[_0x769ad2(0x17c)](_0x35e1c8[_0x769ad2(0x12f)],_0x125699));}if(this[_0x769ad2(0xd8)]||!this[_0x769ad2(0x146)]())return;this[_0x769ad2(0x150)]=new PerformanceObserver(_0x31b10f=>{const _0x4ce8bc=_0x769ad2,_0x5ab37c={'ISnxW':function(_0x4f2aeb,_0x2335ec){const _0xd96f9f=a133_0x59bf;return _0x35e1c8[_0xd96f9f(0x149)](_0x4f2aeb,_0x2335ec);},'HDPZE':_0x35e1c8['Cnzrl']};_0x31b10f[_0x4ce8bc(0x127)]()[_0x4ce8bc(0x17a)](_0x533363=>{const _0x1b2612=_0x4ce8bc;if(_0x5ab37c['ISnxW'](_0x533363['entryType'],_0x5ab37c[_0x1b2612(0x12d)])){let _0x4f4d56={};if(_0x533363[_0x1b2612(0x13d)])_0x4f4d56=_0x533363[_0x1b2612(0x13d)]();else for(const _0x3451c2 in _0x533363){_0x4f4d56[_0x3451c2]=_0x533363[_0x3451c2];}this[_0x1b2612(0x105)][_0x533363[_0x1b2612(0x113)]]&&(_0x4f4d56=Object[_0x1b2612(0x16a)](_0x4f4d56,this[_0x1b2612(0x105)][_0x533363['name']])),delete this[_0x1b2612(0x105)][_0x533363[_0x1b2612(0x113)]],this[_0x1b2612(0x100)]['push'](_0x4f4d56);}else this[_0x1b2612(0x141)][_0x1b2612(0xf1)](_0x533363);});});const _0x4555a7={};_0x4555a7[_0x769ad2(0x169)]=!![],_0x4555a7['entryTypes']=[_0x35e1c8['clVPp'],_0x35e1c8[_0x769ad2(0x160)]],this['_observer'][_0x769ad2(0x171)](_0x4555a7),this[_0x769ad2(0xd8)]=!![],this[_0x769ad2(0x14f)]=_0x1a46e8,this[_0x769ad2(0xf3)]=_0x3078f3;}static[a133_0x2dd813(0xda)](){return performance;}static['calculateTimeFromEvents'](_0x3f4fdc,_0x4f98ac){const _0x59d430=a133_0x2dd813,_0x4df666={};_0x4df666[_0x59d430(0x15b)]=function(_0x3740d1,_0x628e7c){return _0x3740d1+_0x628e7c;},_0x4df666[_0x59d430(0x164)]=function(_0x4c2bc4,_0x28d551){return _0x4c2bc4||_0x28d551;},_0x4df666[_0x59d430(0xef)]=function(_0x4d4d20,_0x4093e6){return _0x4d4d20===_0x4093e6;};const _0x469610=_0x4df666,_0x510242={};if(!_0x3f4fdc||_0x469610[_0x59d430(0xef)](_0x3f4fdc['length'],0x0))return;_0x3f4fdc[_0x59d430(0xf8)](_0x1b0012=>{const _0x3185de=_0x59d430;!_0x510242[_0x1b0012['name']]&&(_0x510242[_0x1b0012['name']]=0x0),_0x510242[_0x1b0012[_0x3185de(0x113)]]+=_0x1b0012[_0x3185de(0xfe)];});const _0x3576af=_0x4f98ac[_0x59d430(0x154)]((_0x1477b9,_0x41e523)=>{const _0x573a0f=_0x59d430;return _0x469610[_0x573a0f(0x15b)](_0x510242[_0x41e523],_0x469610[_0x573a0f(0x164)](_0x1477b9,0x0));},0x0);return _0x3576af;}static async[a133_0x2dd813(0x140)](_0x4b559b,_0x45948c){const _0x481c23=a133_0x2dd813,_0x24ec1a={'yoNfB':function(_0x33af5b,_0x3f099a){return _0x33af5b+_0x3f099a;},'qMpxO':function(_0x359f69,_0x1c537c){return _0x359f69||_0x1c537c;},'kRPMX':function(_0x5d3c3d,_0x3767a5){return _0x5d3c3d===_0x3767a5;},'ZFlrx':function(_0x10c440,_0x585699){return _0x10c440(_0x585699);},'mykqd':function(_0x148aa3,_0x47d5a1){return _0x148aa3(_0x47d5a1);}};if(!_0x4b559b||_0x24ec1a[_0x481c23(0x152)](_0x4b559b[_0x481c23(0x12c)],0x0))return 0x0;const _0x92fc71=[];for(const _0x229874 of _0x4b559b){const _0x385b78=path[_0x481c23(0x123)]('.',_0x229874);try{const _0x3068b1=this[_0x481c23(0x11d)](_0x385b78);_0x3068b1['map'](_0x1aef27=>{const _0x108804=_0x481c23;!_0x92fc71[_0x1aef27['name']]&&(_0x92fc71[_0x1aef27[_0x108804(0x113)]]=0x0),_0x92fc71[_0x1aef27[_0x108804(0x113)]]+=_0x1aef27[_0x108804(0xfe)];});}catch(_0x1626da){_0x24ec1a[_0x481c23(0x14b)](debug,_0x481c23(0xdc)+_0x1626da['toString']());}}const _0x346989=_0x45948c['reduce']((_0x2f33b7,_0x4baa8b)=>{const _0x504e7e=_0x481c23;return _0x24ec1a[_0x504e7e(0x131)](_0x92fc71[_0x4baa8b],_0x24ec1a[_0x504e7e(0x170)](_0x2f33b7,0x0));},0x0);return _0x24ec1a['mykqd'](debug,'Time\x20for\x20'+_0x45948c+_0x481c23(0x175)+_0x346989),_0x346989;}static[a133_0x2dd813(0x11d)](_0x569d3e){const _0x257fa3=a133_0x2dd813;if(_0x569d3e){if(!fs[_0x257fa3(0x103)](_0x569d3e))return[];return JSON[_0x257fa3(0xe4)](fs[_0x257fa3(0x130)](_0x569d3e)[_0x257fa3(0x124)]());}}static async[a133_0x2dd813(0x14d)](_0x3b9b6b=a133_0x2dd813(0xd4),_0x1af0df=null){const _0x22a814=a133_0x2dd813,_0x41e7e3={'EekAe':function(_0x1fb5b5,_0x98e5e5){return _0x1fb5b5(_0x98e5e5);}};if(!this[_0x22a814(0xd8)])return;await _0x41e7e3['EekAe'](sleep,0x1e),this[_0x22a814(0x150)][_0x22a814(0x116)](),this[_0x22a814(0xd8)]=![],this[_0x22a814(0xee)](this[_0x22a814(0x141)]);const _0x5e8b6e=this[_0x22a814(0x122)](this[_0x22a814(0x141)]),_0x115694=path[_0x22a814(0x123)](process[_0x22a814(0x17d)](),_0x3b9b6b);fs[_0x22a814(0x117)](_0x115694,_0x5e8b6e,_0x157376=>{const _0x23631a=_0x22a814;if(_0x157376){_0x41e7e3[_0x23631a(0x11f)](debug,_0x23631a(0x13b)+_0x157376[_0x23631a(0x124)]());return;}_0x41e7e3['EekAe'](debug,_0x23631a(0xd7)+_0x115694);});if(_0x1af0df)return this[_0x22a814(0x148)](this['_events'],_0x1af0df);}static[a133_0x2dd813(0x122)](_0x15bd12){const _0x42662c=a133_0x2dd813,_0x2cbdd4={};_0x2cbdd4['iEYjr']='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x2cbdd4['nSqrv']=_0x42662c(0xf4),_0x2cbdd4[_0x42662c(0x145)]=_0x42662c(0x111),_0x2cbdd4['OARdT']=_0x42662c(0x17b);const _0x39ff8a=_0x2cbdd4;let _0x427e71=_0x39ff8a[_0x42662c(0xdd)];return _0x427e71+=_0x39ff8a[_0x42662c(0xcf)],_0x427e71+=_0x39ff8a[_0x42662c(0x145)],_0x15bd12['forEach'](_0x3e4779=>{const _0x5f3648=_0x42662c;_0x427e71+=_0x5f3648(0x13f)+_0x3e4779[_0x5f3648(0x113)]+_0x5f3648(0x155)+_0x3e4779[_0x5f3648(0xfe)]+_0x5f3648(0x133);}),_0x427e71+=_0x39ff8a[_0x42662c(0x114)],_0x427e71;}static[a133_0x2dd813(0xee)](_0x2b0e7b){const _0x37a20b=a133_0x2dd813;if(!this[_0x37a20b(0x14f)])return;const _0x9c3f63={};_0x2b0e7b[_0x37a20b(0xf8)](_0x357a89=>{const _0x3467ff=_0x37a20b;!_0x9c3f63[_0x357a89['name']]&&(_0x9c3f63[_0x357a89['name']]=0x0),_0x9c3f63[_0x357a89[_0x3467ff(0x113)]]+=_0x357a89[_0x3467ff(0xfe)];});const _0x37428e=Object[_0x37a20b(0xfa)](_0x9c3f63)[_0x37a20b(0xf8)](([_0x51acf6,_0x10a192])=>{const _0x456b3e=_0x37a20b,_0x2b1201={};return _0x2b1201[_0x456b3e(0x113)]=_0x51acf6,_0x2b1201[_0x456b3e(0xfe)]=_0x10a192,_0x2b1201;});fs[_0x37a20b(0x134)](this[_0x37a20b(0x14f)],JSON[_0x37a20b(0x172)](_0x37428e));}static[a133_0x2dd813(0x146)](){const _0x43e5c5=a133_0x2dd813,_0x2a1a59={};_0x2a1a59['xXycx']=function(_0x50bd68,_0x19ffc8){return _0x50bd68===_0x19ffc8;},_0x2a1a59['nFHxg']=_0x43e5c5(0x11b);const _0x2bfa52=_0x2a1a59;return!_0x2bfa52[_0x43e5c5(0x10e)](process[_0x43e5c5(0xe5)][_0x43e5c5(0x151)],_0x2bfa52[_0x43e5c5(0x166)]);}static[a133_0x2dd813(0xe0)](_0x4a015e,_0xf01154,_0x3e9e79=null,_0x207804={},_0x4cb942=null){const _0x225c90=a133_0x2dd813,_0x4b4e84={'utbnc':function(_0x5ddfa4,_0xe8f6be){return _0x5ddfa4(_0xe8f6be);},'Uhsar':function(_0xc57f91,_0x1aee22){return _0xc57f91 instanceof _0x1aee22;}};try{if(this[_0x225c90(0xd8)]&&this[_0x225c90(0x146)]()){let _0x50a8b4=_0x4a015e;_0x3e9e79&&(_0x50a8b4=_0x4a015e+'['+JSON[_0x225c90(0x172)](_0x3e9e79)+']');PerformanceTester[_0x225c90(0xd9)](_0x50a8b4),this[_0x225c90(0x105)]&&(this['details'][_0x50a8b4]=_0x207804);try{const _0x1cb4e5=_0xf01154[_0x225c90(0xe7)](null,_0x4cb942);if(_0x4b4e84['Uhsar'](_0x1cb4e5,Promise))return new Promise((_0x3da834,_0x18aaa0)=>{const _0x5dd525=_0x225c90,_0x34f2bd={'JQKiX':function(_0x16394d,_0x54b67e){const _0x4afd01=a133_0x59bf;return _0x4b4e84[_0x4afd01(0x14a)](_0x16394d,_0x54b67e);}};_0x1cb4e5[_0x5dd525(0x144)](_0x172c82=>{const _0x1764d5=_0x5dd525;PerformanceTester[_0x1764d5(0x10f)](_0x50a8b4),_0x34f2bd['JQKiX'](_0x3da834,_0x172c82);})[_0x5dd525(0x14e)](_0x25c038=>{const _0x306fb1=_0x5dd525;PerformanceTester[_0x306fb1(0x10f)](_0x50a8b4,![],util[_0x306fb1(0x16f)](_0x25c038)),_0x34f2bd[_0x306fb1(0xec)](_0x18aaa0,_0x25c038);});});;return PerformanceTester[_0x225c90(0x10f)](_0x50a8b4),_0x1cb4e5;}catch(_0x13e8e4){PerformanceTester[_0x225c90(0x10f)](_0x50a8b4,![],util[_0x225c90(0x16f)](_0x13e8e4));throw _0x13e8e4;}};return _0xf01154[_0x225c90(0xe7)](null,_0x4cb942);}catch(_0x563a3a){return logger['debug']('error\x20in\x20measure\x20'+(_0x563a3a[_0x225c90(0xff)]||_0x563a3a[_0x225c90(0x161)]||_0x563a3a)),_0xf01154[_0x225c90(0xe7)](null,_0x4cb942);}}static['measureWrapper'](_0x58fb6c,_0x56c5ec,_0x27f66b={}){const _0x459347=a133_0x2dd813,_0x1f4bb4={'AIPsz':function(_0xe59b40){return _0xe59b40();}},_0x38b225=this;return _0x27f66b[_0x459347(0x143)]=_0x1f4bb4[_0x459347(0x12b)](getProcessId),_0x27f66b[_0x459347(0x16d)]=_0x1f4bb4[_0x459347(0x12b)](getTestName),_0x27f66b[_0x459347(0x10c)]=global['__platformCaps']&&global['__platformCaps'][_0x459347(0x13c)],function(){const _0x209e7c=_0x459347,_0x19ed71=[_0x58fb6c,_0x56c5ec,null,_0x27f66b][_0x209e7c(0x137)](arguments);return _0x38b225['measure']['apply'](_0x38b225,_0x19ed71);};}static['getCleanedPerfEvents'](){const _0x2c256d=a133_0x2dd813,_0x178bfb=/(^.*)\[(.*)\]$/,_0x2d7c8c={},_0x31ffa5={},_0x283816=[],_0x18936c=this[_0x2c256d(0x100)][_0x2c256d(0x13e)](0x0,this['_measureEvents']['length']);for(const _0x4bf475 of _0x18936c){const _0x29c313=_0x4bf475[_0x2c256d(0x113)][_0x2c256d(0x10d)](_0x178bfb),_0x1b58e6=Object[_0x2c256d(0x16a)]({},_0x4bf475);_0x29c313&&(_0x1b58e6['name']=_0x29c313[0x1],_0x1b58e6['meta']=JSON[_0x2c256d(0xe4)](_0x29c313[0x2])),_0x283816[_0x2c256d(0xf1)](_0x1b58e6);}return _0x283816;}static['pushPerfMeasures'](){const _0x2101ab=a133_0x2dd813,_0xb42b74={'qaker':function(_0x4f93f2){return _0x4f93f2();},'KzetJ':function(_0x96e1f6,_0x7d3c48){return _0x96e1f6+_0x7d3c48;},'OtDaS':'Error\x20while\x20removing\x20files:\x20','ijczw':function(_0x57838b,_0x5501db){return _0x57838b===_0x5501db;}};try{this[_0x2101ab(0x139)]=path['join'](_0xb42b74[_0x2101ab(0x177)](getLogDir),this[_0x2101ab(0x16e)]);if(fs[_0x2101ab(0x103)](this[_0x2101ab(0x139)])){const _0x1a6510=fs[_0x2101ab(0xf5)](this[_0x2101ab(0x139)]);for(const _0x685252 of _0x1a6510){fs[_0x2101ab(0xe2)](path[_0x2101ab(0x123)](this['jsonReportDirPath'],_0x685252));}}}catch(_0x190b52){logger[_0x2101ab(0x107)](_0xb42b74[_0x2101ab(0xea)](_0xb42b74['OtDaS'],_0x190b52));}if(_0xb42b74[_0x2101ab(0xe9)](this[_0x2101ab(0x100)][_0x2101ab(0x12c)],0x0))return;const _0x31193b=this[_0x2101ab(0x102)](),_0x274617=JSON['stringify'](_0x31193b),_0x1709d2=_0xb42b74[_0x2101ab(0xea)](_0x274617[_0x2101ab(0x132)](0x1,-0x1),',');fs[_0x2101ab(0x162)](this['jsonReportFileName'],_0x1709d2);}static async['finalizePerfMeasures'](){const _0x16404c=a133_0x2dd813,_0x2dca8a={'NhaTk':function(_0x2a57b0){return _0x2a57b0();},'mDdYQ':function(_0x14d777,_0x140837){return _0x14d777===_0x140837;},'mbHQn':_0x16404c(0x16c),'iXrHC':_0x16404c(0x118),'thrAd':_0x16404c(0xce),'xYCzK':function(_0x367a28,_0x18a5d6){return _0x367a28+_0x18a5d6;},'QIeIc':function(_0x39a636,_0x3b80af){return _0x39a636+_0x3b80af;},'sBOvn':_0x16404c(0xfb),'ECpEo':_0x16404c(0x101),'LGchW':_0x16404c(0x125),'QSkSL':function(_0x5255b5,_0x5ba2b0){return _0x5255b5>_0x5ba2b0;}};this[_0x16404c(0x139)]=path['join'](_0x2dca8a[_0x16404c(0x120)](getLogDir),this[_0x16404c(0x16e)]);if(!this['started']||_0x2dca8a[_0x16404c(0x15f)](this[_0x16404c(0x100)]['length'],0x0))return[];if(!fs['existsSync'](this[_0x16404c(0x139)]))return this[_0x16404c(0x100)];const _0x2a1ff4=(await fsPromise[_0x16404c(0x121)](this[_0x16404c(0x139)]))[_0x16404c(0xf8)](_0x3e4a90=>path['resolve'](this[_0x16404c(0x139)],_0x3e4a90));try{const _0x268132=path[_0x16404c(0x15e)](this['jsonReportDirPath']),_0x1bdac2=path[_0x16404c(0x123)](_0x268132,_0x2dca8a['mbHQn']);if(fs['existsSync'](_0x1bdac2))try{await fsPromise['access'](_0x1bdac2,fs['constants'][_0x16404c(0x108)]);const _0x68d8fa=await fsPromise['readFile'](_0x1bdac2,_0x2dca8a[_0x16404c(0x153)]),_0x292ffd=JSON[_0x16404c(0xe4)](_0x68d8fa),_0x201e6f=path[_0x16404c(0x123)](this[_0x16404c(0x139)],_0x2dca8a[_0x16404c(0x119)]);let _0x1d1a61='';Array['isArray'](_0x292ffd)?_0x1d1a61=_0x2dca8a[_0x16404c(0xe3)](_0x292ffd[_0x16404c(0xf8)](_0x3944cc=>JSON['stringify'](_0x3944cc))[_0x16404c(0x123)](','),','):_0x1d1a61=_0x2dca8a['QIeIc'](JSON['stringify'](_0x292ffd),','),await fsPromise[_0x16404c(0x117)](_0x201e6f,_0x1d1a61),_0x2a1ff4['push'](_0x201e6f),await fsPromise[_0x16404c(0x136)](_0x1bdac2);}catch(_0x340584){logger[_0x16404c(0xf6)](util[_0x16404c(0x16f)](_0x2dca8a[_0x16404c(0x173)],_0x340584[_0x16404c(0xff)]||_0x340584[_0x16404c(0x161)]||_0x340584));}else logger[_0x16404c(0xf6)](_0x2dca8a[_0x16404c(0x10a)]);}catch(_0x173f95){logger[_0x16404c(0xf6)](util[_0x16404c(0x16f)](_0x2dca8a['LGchW'],_0x173f95[_0x16404c(0xff)]||_0x173f95[_0x16404c(0x161)]||_0x173f95));}let _0xd8e85=(await Promise[_0x16404c(0x104)](_0x2a1ff4[_0x16404c(0xf8)](_0x575961=>fsPromise[_0x16404c(0xe8)](_0x575961,_0x16404c(0x118)))))[_0x16404c(0xf8)](_0x55c1ab=>'['+_0x55c1ab[_0x16404c(0x132)](0x0,-0x1)+']')['map'](_0xae1295=>JSON[_0x16404c(0xe4)](_0xae1295))[_0x16404c(0xfc)]();return _0x2dca8a[_0x16404c(0x15d)](this[_0x16404c(0x100)][_0x16404c(0x12c)],0x0)&&(_0xd8e85=_0xd8e85[_0x16404c(0x137)](this['getCleanedPerfEvents']())),this['_observer'][_0x16404c(0x116)](),_0xd8e85;}static[a133_0x2dd813(0x112)](){const _0x39de5f=a133_0x2dd813,_0x3a256c={};_0x3a256c[_0x39de5f(0x126)]=function(_0x1826ff,_0x4f9512){return _0x1826ff===_0x4f9512;},_0x3a256c[_0x39de5f(0xd1)]=function(_0x4f073b,_0xc529c6){return _0x4f073b+_0xc529c6;};const _0x1a13d0=_0x3a256c;if(_0x1a13d0['VsymG'](this[_0x39de5f(0x10b)][_0x39de5f(0x12c)],0x0))return;const _0x399de7=JSON[_0x39de5f(0x172)](this['_errorEvents']),_0x41a5d7=_0x1a13d0[_0x39de5f(0xd1)](_0x399de7['slice'](0x1,-0x1),',');fs[_0x39de5f(0x162)](this[_0x39de5f(0xd3)],_0x41a5d7);}static[a133_0x2dd813(0xd0)](){const _0x4bc402=a133_0x2dd813,_0x14d13f={};_0x14d13f[_0x4bc402(0xd2)]=function(_0x30cf98,_0x15043f){return _0x30cf98>_0x15043f;};const _0x1d74ad=_0x14d13f;if(this[_0x4bc402(0xf3)]){if(!fs[_0x4bc402(0x103)](this[_0x4bc402(0xf3)]))return this[_0x4bc402(0x10b)];let _0x3b831b=fs[_0x4bc402(0x130)](this[_0x4bc402(0xf3)])[_0x4bc402(0x124)]();_0x3b831b='['+_0x3b831b[_0x4bc402(0x132)](0x0,-0x1)+']';let _0x517377=JSON[_0x4bc402(0xe4)](_0x3b831b);return _0x1d74ad[_0x4bc402(0xd2)](this[_0x4bc402(0x10b)][_0x4bc402(0x12c)],0x0)&&(_0x517377=_0x517377[_0x4bc402(0x137)](this[_0x4bc402(0x10b)])),fs[_0x4bc402(0xe2)](this[_0x4bc402(0xf3)]),_0x517377;}}static['captureError'](_0x484425){const _0x4e35f7=a133_0x2dd813;if(!this[_0x4e35f7(0x146)]())return;this[_0x4e35f7(0x10b)][_0x4e35f7(0xf1)]({'message':_0x484425['message'],'trace':_0x484425[_0x4e35f7(0xff)],'code':_0x484425['code']||null,'time':new Date()});}static['stopMonitoring'](){const _0x3fbf7c=a133_0x2dd813;try{if(!this[_0x3fbf7c(0x146)]())return;this[_0x3fbf7c(0x150)][_0x3fbf7c(0x116)](),this[_0x3fbf7c(0x135)](),this[_0x3fbf7c(0x112)]();}catch(_0x5a1202){logger[_0x3fbf7c(0x107)](_0x3fbf7c(0xd5)+util[_0x3fbf7c(0x16f)](_0x5a1202));}}static async[a133_0x2dd813(0x156)](){const _0x5aa27f=a133_0x2dd813,_0x3653be={'GVdvE':function(_0x4949c4,_0x3d251d){return _0x4949c4(_0x3d251d);}};await _0x3653be[_0x5aa27f(0x109)](sleep,0x1e);const _0x31c61f=await this[_0x5aa27f(0x15c)](),_0x107226=this[_0x5aa27f(0xd0)]();if(!this['isEnabled']()){const _0x7d3039={};return _0x7d3039[_0x5aa27f(0x11e)]=[],_0x7d3039[_0x5aa27f(0x129)]=[],_0x7d3039;}const _0x44f32c={};return _0x44f32c[_0x5aa27f(0x11e)]=_0x31c61f,_0x44f32c[_0x5aa27f(0x129)]=_0x107226,_0x44f32c;}static[a133_0x2dd813(0xd9)](_0x210aac){const _0x511ce6=a133_0x2dd813,_0x4702c5={};_0x4702c5[_0x511ce6(0x11a)]=function(_0x49466b,_0x53471f){return _0x49466b+_0x53471f;},_0x4702c5['wksTz']='-start';const _0x1947ba=_0x4702c5,_0x154612=_0x1947ba[_0x511ce6(0x11a)](_0x210aac,_0x1947ba[_0x511ce6(0x157)]);if(this[_0x511ce6(0xe1)][_0x154612])return;performance[_0x511ce6(0x128)](_0x154612),this[_0x511ce6(0xe1)][_0x154612]=0x1;}static[a133_0x2dd813(0x10f)](_0x4a7cd7,_0x517f8d=!![],_0x587bdd=null,_0x2447e1={}){const _0x2be1bd=a133_0x2dd813,_0x35e6aa={'sstsM':function(_0x2b42e5,_0x32a61a){return _0x2b42e5+_0x32a61a;},'aELHo':_0x2be1bd(0xdb),'JsaQp':_0x2be1bd(0x178),'MZMqG':function(_0x156734,_0x2a80bb){return _0x156734+_0x2a80bb;},'UisQN':function(_0x5c1b1e,_0x3e3f94){return _0x5c1b1e+_0x3e3f94;},'hMPxJ':function(_0x26af5a){return _0x26af5a();},'VkIUD':function(_0x52b87d){return _0x52b87d();}};performance['mark'](_0x35e6aa[_0x2be1bd(0x15a)](_0x4a7cd7,_0x35e6aa[_0x2be1bd(0xd6)])),performance[_0x2be1bd(0xe0)](_0x4a7cd7,_0x35e6aa[_0x2be1bd(0x15a)](_0x4a7cd7,_0x35e6aa[_0x2be1bd(0xf7)]),_0x35e6aa[_0x2be1bd(0x110)](_0x4a7cd7,_0x35e6aa[_0x2be1bd(0xd6)])),delete this[_0x2be1bd(0xe1)][_0x35e6aa[_0x2be1bd(0xfd)](_0x4a7cd7,_0x35e6aa[_0x2be1bd(0xf7)])];const _0x435781={};_0x435781[_0x2be1bd(0x13a)]=_0x517f8d,_0x435781[_0x2be1bd(0xeb)]=_0x587bdd,this[_0x2be1bd(0x105)][_0x4a7cd7]=Object[_0x2be1bd(0x16a)](_0x435781,Object[_0x2be1bd(0x16a)](Object[_0x2be1bd(0x16a)]({'worker':_0x35e6aa[_0x2be1bd(0x163)](getProcessId),'platform':global[_0x2be1bd(0x168)]&&global[_0x2be1bd(0x168)]['index'],'testName':_0x35e6aa[_0x2be1bd(0xdf)](getTestName)},_0x2447e1),this[_0x2be1bd(0x105)][_0x4a7cd7]||{}));}}function a133_0x59bf(_0x108ca0,_0x14e60d){const _0x52bbf7=a133_0x52bb();return a133_0x59bf=function(_0x59bfbd,_0x37f713){_0x59bfbd=_0x59bfbd-0xce;let _0x20a9e7=_0x52bbf7[_0x59bfbd];return _0x20a9e7;},a133_0x59bf(_0x108ca0,_0x14e60d);}function a133_0x52bb(){const _0x463116=['Error\x20in\x20doing\x20csv\x20operations:\x20','iEYjr','53015VItVDl','VkIUD','measure','eventsMap','unlinkSync','xYCzK','parse','env','199610vXOEKB','apply','readFile','ijczw','KzetJ','failure','JQKiX','mkdirSync','generateJSON','CyMnt','165828Gfjsns','push','startMonitoring','errorReportFileName','<h1>Performance\x20Report</h1>','readdirSync','info','JsaQp','map','browserStackCwd','entries','Error\x20processing\x20key-metrics.json:\x20%s','flat','UisQN','duration','stack','_measureEvents','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','getCleanedPerfEvents','existsSync','all','details','176pIZLEv','debug','F_OK','GVdvE','ECpEo','_errorEvents','platform','match','xXycx','end','MZMqG','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','pushErrors','name','OARdT','errorReportDirName','disconnect','writeFile','utf-8','thrAd','jMUzs','false','12579ySEPHS','getEventsFromJSON','measures','EekAe','NhaTk','readdir','generateHTMLReport','join','toString','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','VsymG','getEntries','mark','errors','55rrummb','AIPsz','length','HDPZE','1149RYVUyl','taiAU','readFileSync','yoNfB','slice','</td></tr>','writeFileSync','pushPerfMeasures','unlink','concat','mBbSX','jsonReportDirPath','success','Error\x20in\x20writing\x20html\x20','index','toJSON','splice','<tr><td>','calculateTimesFromMultipleFiles','_events','150493qSwkyS','worker','then','mrNqq','isEnabled','winstonLogger','calculateTimeFromEvents','BAUYt','utbnc','ZFlrx','../logger','stopAndGenerate','catch','jsonReportFileName','_observer','BROWSERSTACK_SDK_INSTRUMENTATION','kRPMX','iXrHC','reduce','</td><td>','finalize','wksTz','fs/promises','error-report','sstsM','rjBbM','finalizePerfMeasures','QSkSL','dirname','mDdYQ','Cnzrl','message','appendFileSync','hMPxJ','BsdCN','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','nFHxg','6JYhVOB','__platformCaps','buffered','assign','util','key-metrics.json','testName','jsonReportDirName','format','qMpxO','observe','stringify','sBOvn','1058328bCnKmz','\x20for\x20all\x20processes\x20is\x20','/error-report-','qaker','-start','902lXJjYL','forEach','</tbody></table></body></html>','ygGCN','cwd','modified-key-metrics.json','nSqrv','finalizeErrors','UIXhS','BaGii','errorFile','performance-own.html','Error\x20stopping\x20monitoring\x20','aELHo','Performance\x20report\x20is\x20at\x20','started','start','getPerformance','-end'];a133_0x52bb=function(){return _0x463116;};return a133_0x52bb();}module['exports']=PerformanceTester;
|
|
1
|
+
function a134_0x3670(_0x314092,_0x213273){const _0x456f97=a134_0x456f();return a134_0x3670=function(_0x3670e9,_0x511bbf){_0x3670e9=_0x3670e9-0xfa;let _0x28d26f=_0x456f97[_0x3670e9];return _0x28d26f;},a134_0x3670(_0x314092,_0x213273);}const a134_0x42d310=a134_0x3670;(function(_0x43e96b,_0x3c5518){const _0x5c3042=a134_0x3670,_0x3afc6b=_0x43e96b();while(!![]){try{const _0x44b67c=-parseInt(_0x5c3042(0x146))/0x1*(parseInt(_0x5c3042(0x169))/0x2)+-parseInt(_0x5c3042(0x101))/0x3+-parseInt(_0x5c3042(0x17d))/0x4+-parseInt(_0x5c3042(0x174))/0x5*(parseInt(_0x5c3042(0xfe))/0x6)+-parseInt(_0x5c3042(0x12a))/0x7+-parseInt(_0x5c3042(0x172))/0x8*(-parseInt(_0x5c3042(0x18e))/0x9)+parseInt(_0x5c3042(0x112))/0xa;if(_0x44b67c===_0x3c5518)break;else _0x3afc6b['push'](_0x3afc6b['shift']());}catch(_0x1b61a8){_0x3afc6b['push'](_0x3afc6b['shift']());}}}(a134_0x456f,0xef369));const fs=require('fs'),fsPromise=require(a134_0x42d310(0x171)),{performance,PerformanceObserver}=require(a134_0x42d310(0x18b)),path=require(a134_0x42d310(0x144)),util=require(a134_0x42d310(0x151)),logger=require(a134_0x42d310(0x156))[a134_0x42d310(0x1a1)],{getLogDir}=require(a134_0x42d310(0x156)),{getProcessId,sleep,debug,getTestName}=require(a134_0x42d310(0x13d));function a134_0x456f(){const _0x4c5644=['stack','performance-report','length','tdKMw','splice','MdmPz','niaIO','finalize','duration','mark','appendFileSync','env','ZzhJd','failure','winstonLogger','platform','cwd','errorReportDirName','UXOHT','toString','BROWSERSTACK_SDK_INSTRUMENTATION','174yJovwa','error-report','hgMSv','3126759jXnyKP','success','readdirSync','details','debug','/error-report-','_observer','GOwhG','slice','readFileSync','getCleanedPerfEvents','icqoB','mRoJh','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','ERxXb','FcSVU','YsyXP','49103420xrZsWg','concat','aHYOh','ypRkR','errors','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','IIeoo','generateJSON','startMonitoring','index','join','XSkFY','qxHLt','MqiCt','testName','utf-8','qWQmt','Error\x20in\x20writing\x20html\x20','wLdar','dirname','Performance\x20report\x20is\x20at\x20','vRoHz','measures','false','12457417tYrSyH','_events','_errorEvents','XFgrq','eventsMap','jsonReportFileName','bGmkX','EbZDg','finalizePerfMeasures','toJSON','flat','jsonReportDirName','match','gHrMy','NFIoM','access','stringify','name','then','../processHelper','</td><td>','format','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','F_OK','HOPfQ','cDYbg','path','calculateTimeFromEvents','2rvQGeY','WFIQe','VhJzv','meta','measure','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','uSVqM','uYhJq','browserStackCwd','end','resolve','util','_measureEvents','NGZOS','aBynl','disconnect','../logger','NeZJs','stopMonitoring','\x20for\x20all\x20processes\x20is\x20','getEventsFromJSON','<h1>Performance\x20Report</h1>','QwYzD','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','writeFile','cVVqo','Time\x20for\x20','YgHeN','isEnabled','entryType','map','message','apply','readdir','readFile','707338yXDmGr','getEntries','THfzk','jsonReportDirPath','.json','qbMYJ','existsSync','pushPerfMeasures','fs/promises','56PNKLIE','HZSry','13735GhMPwT','key-metrics.json','mkdirSync','parse','eSkWx','unlinkSync','assign','info','forEach','1718236wedrWL','worker','reduce','finalizeErrors','constants','errorReportFileName','entries','4|1|0|3|2','RMRlx','writeFileSync','Error\x20while\x20removing\x20files:\x20','SnEoE','started','-end','perf_hooks','agaCh','<tr><td>','138753kWDwkJ','pushErrors','__platformCaps','start','generateHTMLReport'];a134_0x456f=function(){return _0x4c5644;};return a134_0x456f();}class PerformanceTester{static [a134_0x42d310(0x107)];static [a134_0x42d310(0x12b)]=[];static [a134_0x42d310(0x152)]=[];static [a134_0x42d310(0x12c)]=[];static [a134_0x42d310(0x189)]=![];static [a134_0x42d310(0x135)]=a134_0x42d310(0x194);static [a134_0x42d310(0xfa)]=process['env'][a134_0x42d310(0x14e)]?path[a134_0x42d310(0x11c)](process[a134_0x42d310(0x19e)][a134_0x42d310(0x14e)],a134_0x42d310(0xff)):path[a134_0x42d310(0x11c)](process['cwd'](),'error-report');static ['errorReportFileName']=this[a134_0x42d310(0xfa)]+a134_0x42d310(0x106)+getProcessId()+a134_0x42d310(0x16d);static [a134_0x42d310(0x104)]={};static [a134_0x42d310(0x12e)]={};static[a134_0x42d310(0x11a)](_0xac4020,_0x324c40=this[a134_0x42d310(0xfa)]+a134_0x42d310(0x106)+getProcessId()+a134_0x42d310(0x16d)){const _0x29589f=a134_0x42d310,_0x15d770={'vRoHz':function(_0xde2633,_0x235839){return _0xde2633===_0x235839;},'cDYbg':_0x29589f(0x14a),'HOPfQ':function(_0x2396c6){return _0x2396c6();},'ORLWI':function(_0x280a78,_0x5888cc){return _0x280a78+_0x5888cc;},'wLdar':_0x29589f(0x140),'GOwhG':'function'};try{this['jsonReportDirPath']=path[_0x29589f(0x11c)](_0x15d770[_0x29589f(0x142)](getLogDir),this['jsonReportDirName']),!_0xac4020&&(_0xac4020=this['jsonReportDirPath']+'/performance-report-'+_0x15d770[_0x29589f(0x142)](getProcessId)+_0x29589f(0x16d)),!fs[_0x29589f(0x16f)](this[_0x29589f(0x16c)])&&fs[_0x29589f(0x176)](this[_0x29589f(0x16c)]);}catch(_0x2feebe){logger[_0x29589f(0x105)](_0x15d770['ORLWI'](_0x15d770[_0x29589f(0x124)],_0x2feebe));}if(this['started']||!this[_0x29589f(0x162)]())return;this['_observer']=new PerformanceObserver(_0x34acee=>{const _0x3c00f4=_0x29589f,_0x350ed0={'ZzhJd':function(_0x44d279,_0x46f740){const _0x28f3d2=a134_0x3670;return _0x15d770[_0x28f3d2(0x127)](_0x44d279,_0x46f740);},'FcSVU':_0x15d770[_0x3c00f4(0x143)]};_0x34acee[_0x3c00f4(0x16a)]()['forEach'](_0x35772c=>{const _0x22c284=_0x3c00f4;if(_0x350ed0[_0x22c284(0x19f)](_0x35772c[_0x22c284(0x163)],_0x350ed0[_0x22c284(0x110)])){let _0x234036={};if(_0x35772c['toJSON'])_0x234036=_0x35772c[_0x22c284(0x133)]();else for(const _0x40ef50 in _0x35772c){_0x234036[_0x40ef50]=_0x35772c[_0x40ef50];}this['details'][_0x35772c[_0x22c284(0x13b)]]&&(_0x234036=Object[_0x22c284(0x17a)](_0x234036,this[_0x22c284(0x104)][_0x35772c[_0x22c284(0x13b)]])),delete this[_0x22c284(0x104)][_0x35772c['name']],this[_0x22c284(0x152)]['push'](_0x234036);}else this[_0x22c284(0x12b)]['push'](_0x35772c);});});const _0x1560d4={};_0x1560d4['buffered']=!![],_0x1560d4['entryTypes']=[_0x15d770[_0x29589f(0x108)],_0x15d770['cDYbg']],this[_0x29589f(0x107)]['observe'](_0x1560d4),this[_0x29589f(0x189)]=!![],this[_0x29589f(0x12f)]=_0xac4020,this[_0x29589f(0x182)]=_0x324c40;}static['getPerformance'](){return performance;}static[a134_0x42d310(0x145)](_0x46cf5a,_0x2e3eb6){const _0x27cd19=a134_0x42d310,_0x17f68b={};_0x17f68b[_0x27cd19(0x138)]=function(_0x3e191f,_0x3e43f7){return _0x3e191f+_0x3e43f7;},_0x17f68b[_0x27cd19(0x11f)]=function(_0x19b2f4,_0x518700){return _0x19b2f4||_0x518700;},_0x17f68b['QwYzD']=function(_0x512bc9,_0x1f4d9a){return _0x512bc9===_0x1f4d9a;};const _0x20b543=_0x17f68b,_0x7b695f={};if(!_0x46cf5a||_0x20b543[_0x27cd19(0x15c)](_0x46cf5a[_0x27cd19(0x195)],0x0))return;_0x46cf5a['map'](_0xf4a5dc=>{const _0x47fe74=_0x27cd19;!_0x7b695f[_0xf4a5dc['name']]&&(_0x7b695f[_0xf4a5dc[_0x47fe74(0x13b)]]=0x0),_0x7b695f[_0xf4a5dc[_0x47fe74(0x13b)]]+=_0xf4a5dc['duration'];});const _0x2517a3=_0x2e3eb6[_0x27cd19(0x17f)]((_0x316266,_0x40f27d)=>{const _0x21c7c3=_0x27cd19;return _0x20b543['NFIoM'](_0x7b695f[_0x40f27d],_0x20b543[_0x21c7c3(0x11f)](_0x316266,0x0));},0x0);return _0x2517a3;}static async['calculateTimesFromMultipleFiles'](_0x49e546,_0x8f149){const _0xe7df5f=a134_0x42d310,_0x1be23b={'FgCio':function(_0x469bd2,_0x433c77){return _0x469bd2+_0x433c77;},'ERxXb':function(_0x5d8671,_0x51e8c6){return _0x5d8671||_0x51e8c6;},'UJmiS':function(_0x346ce3,_0x236bc0){return _0x346ce3===_0x236bc0;},'uYhJq':function(_0x2f134f,_0x52af75){return _0x2f134f(_0x52af75);},'UXOHT':function(_0x523c03,_0x37e73e){return _0x523c03(_0x37e73e);}};if(!_0x49e546||_0x1be23b['UJmiS'](_0x49e546[_0xe7df5f(0x195)],0x0))return 0x0;const _0x4f2eee=[];for(const _0x43940e of _0x49e546){const _0x29da5f=path[_0xe7df5f(0x11c)]('.',_0x43940e);try{const _0x724465=this[_0xe7df5f(0x15a)](_0x29da5f);_0x724465[_0xe7df5f(0x164)](_0x4b14f4=>{const _0x3bb80f=_0xe7df5f;!_0x4f2eee[_0x4b14f4[_0x3bb80f(0x13b)]]&&(_0x4f2eee[_0x4b14f4['name']]=0x0),_0x4f2eee[_0x4b14f4[_0x3bb80f(0x13b)]]+=_0x4b14f4['duration'];});}catch(_0x568192){_0x1be23b[_0xe7df5f(0x14d)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x568192[_0xe7df5f(0xfc)]());}}const _0x4f9525=_0x8f149[_0xe7df5f(0x17f)]((_0x5b23d6,_0x5dfd3e)=>{const _0x31073f=_0xe7df5f;return _0x1be23b['FgCio'](_0x4f2eee[_0x5dfd3e],_0x1be23b[_0x31073f(0x10f)](_0x5b23d6,0x0));},0x0);return _0x1be23b[_0xe7df5f(0xfb)](debug,_0xe7df5f(0x160)+_0x8f149+_0xe7df5f(0x159)+_0x4f9525),_0x4f9525;}static['getEventsFromJSON'](_0x51a4b3){const _0x425097=a134_0x42d310;if(_0x51a4b3){if(!fs[_0x425097(0x16f)](_0x51a4b3))return[];return JSON[_0x425097(0x177)](fs['readFileSync'](_0x51a4b3)[_0x425097(0xfc)]());}}static async['stopAndGenerate'](_0x4d8018='performance-own.html',_0x3026d3=null){const _0x49a8d9=a134_0x42d310,_0x5bfe7b={'VhJzv':function(_0x10c578,_0x46bd91){return _0x10c578(_0x46bd91);},'MdmPz':function(_0x36383c,_0x549804){return _0x36383c(_0x549804);}};if(!this['started'])return;await _0x5bfe7b[_0x49a8d9(0x198)](sleep,0x1e),this[_0x49a8d9(0x107)][_0x49a8d9(0x155)](),this['started']=![],this[_0x49a8d9(0x119)](this[_0x49a8d9(0x12b)]);const _0x364c35=this['generateHTMLReport'](this[_0x49a8d9(0x12b)]),_0x56b272=path[_0x49a8d9(0x11c)](process[_0x49a8d9(0x1a3)](),_0x4d8018);fs[_0x49a8d9(0x15e)](_0x56b272,_0x364c35,_0x5b6c11=>{const _0x37156f=_0x49a8d9;if(_0x5b6c11){_0x5bfe7b[_0x37156f(0x148)](debug,_0x37156f(0x123)+_0x5b6c11[_0x37156f(0xfc)]());return;}_0x5bfe7b[_0x37156f(0x148)](debug,_0x37156f(0x126)+_0x56b272);});if(_0x3026d3)return this[_0x49a8d9(0x145)](this[_0x49a8d9(0x12b)],_0x3026d3);}static[a134_0x42d310(0x192)](_0x315623){const _0x5f4979=a134_0x42d310,_0x4affe7={};_0x4affe7['HGVrA']=_0x5f4979(0x14b),_0x4affe7['mRoJh']=_0x5f4979(0x15b),_0x4affe7[_0x5f4979(0x185)]=_0x5f4979(0x15d),_0x4affe7[_0x5f4979(0x196)]='</tbody></table></body></html>';const _0x6f8c=_0x4affe7;let _0xafaf48=_0x6f8c['HGVrA'];return _0xafaf48+=_0x6f8c[_0x5f4979(0x10d)],_0xafaf48+=_0x6f8c[_0x5f4979(0x185)],_0x315623[_0x5f4979(0x17c)](_0x506f4a=>{const _0x41469f=_0x5f4979;_0xafaf48+=_0x41469f(0x18d)+_0x506f4a[_0x41469f(0x13b)]+_0x41469f(0x13e)+_0x506f4a[_0x41469f(0x19b)]+'</td></tr>';}),_0xafaf48+=_0x6f8c['tdKMw'],_0xafaf48;}static['generateJSON'](_0x1538cf){const _0x52e645=a134_0x42d310;if(!this[_0x52e645(0x12f)])return;const _0x61e2f9={};_0x1538cf[_0x52e645(0x164)](_0x52ae7a=>{const _0x1cad35=_0x52e645;!_0x61e2f9[_0x52ae7a['name']]&&(_0x61e2f9[_0x52ae7a[_0x1cad35(0x13b)]]=0x0),_0x61e2f9[_0x52ae7a[_0x1cad35(0x13b)]]+=_0x52ae7a[_0x1cad35(0x19b)];});const _0x2dc0da=Object[_0x52e645(0x183)](_0x61e2f9)[_0x52e645(0x164)](([_0x35d929,_0x4bc22f])=>{const _0x348328=_0x52e645,_0x505c2f={};return _0x505c2f[_0x348328(0x13b)]=_0x35d929,_0x505c2f[_0x348328(0x19b)]=_0x4bc22f,_0x505c2f;});fs[_0x52e645(0x186)](this['jsonReportFileName'],JSON[_0x52e645(0x13a)](_0x2dc0da));}static[a134_0x42d310(0x162)](){const _0x791cad=a134_0x42d310,_0x58df8c={};_0x58df8c[_0x791cad(0x199)]=function(_0x107f80,_0x2226fa){return _0x107f80===_0x2226fa;},_0x58df8c[_0x791cad(0x18c)]=_0x791cad(0x129);const _0x49ee39=_0x58df8c;return!_0x49ee39['niaIO'](process[_0x791cad(0x19e)][_0x791cad(0xfd)],_0x49ee39[_0x791cad(0x18c)]);}static['measure'](_0x4771b8,_0x338da3,_0x29e3f5=null,_0x272cd4={},_0x412354=null){const _0x3e6ad5=a134_0x42d310,_0xc71623={'cVVqo':function(_0x96a7e7,_0x2fb6f5){return _0x96a7e7(_0x2fb6f5);},'ggSVn':function(_0x4f74e3,_0x133291){return _0x4f74e3(_0x133291);},'vLDWn':function(_0x4a577d,_0x5b4d01){return _0x4a577d instanceof _0x5b4d01;}};try{if(this['started']&&this[_0x3e6ad5(0x162)]()){let _0x23e3f3=_0x4771b8;_0x29e3f5&&(_0x23e3f3=_0x4771b8+'['+JSON[_0x3e6ad5(0x13a)](_0x29e3f5)+']');PerformanceTester[_0x3e6ad5(0x191)](_0x23e3f3),this[_0x3e6ad5(0x104)]&&(this['details'][_0x23e3f3]=_0x272cd4);try{const _0x34ede4=_0x338da3[_0x3e6ad5(0x166)](null,_0x412354);if(_0xc71623['vLDWn'](_0x34ede4,Promise))return new Promise((_0x38074c,_0x234150)=>{const _0x1bf657=_0x3e6ad5,_0x3efaea={'icqoB':function(_0x5b1a6e,_0x8a8236){return _0xc71623['ggSVn'](_0x5b1a6e,_0x8a8236);}};_0x34ede4[_0x1bf657(0x13c)](_0x5ee250=>{const _0x3621c2=_0x1bf657;PerformanceTester[_0x3621c2(0x14f)](_0x23e3f3),_0x3efaea[_0x3621c2(0x10c)](_0x38074c,_0x5ee250);})['catch'](_0x842ffc=>{const _0x26a72a=_0x1bf657;PerformanceTester['end'](_0x23e3f3,![],util[_0x26a72a(0x13f)](_0x842ffc)),_0xc71623[_0x26a72a(0x15f)](_0x234150,_0x842ffc);});});;return PerformanceTester['end'](_0x23e3f3),_0x34ede4;}catch(_0x28680b){PerformanceTester[_0x3e6ad5(0x14f)](_0x23e3f3,![],util[_0x3e6ad5(0x13f)](_0x28680b));throw _0x28680b;}};return _0x338da3[_0x3e6ad5(0x166)](null,_0x412354);}catch(_0x4d68b6){return logger[_0x3e6ad5(0x105)]('error\x20in\x20measure\x20'+(_0x4d68b6['stack']||_0x4d68b6[_0x3e6ad5(0x165)]||_0x4d68b6)),_0x338da3['apply'](null,_0x412354);}}static['measureWrapper'](_0x566a0e,_0x633cba,_0x25f19c={}){const _0x154b71=a134_0x42d310,_0xcfd04a={'qbMYJ':function(_0x36137b){return _0x36137b();}},_0x146cf9=this;return _0x25f19c[_0x154b71(0x17e)]=_0xcfd04a[_0x154b71(0x16e)](getProcessId),_0x25f19c[_0x154b71(0x120)]=_0xcfd04a[_0x154b71(0x16e)](getTestName),_0x25f19c[_0x154b71(0x1a2)]=global[_0x154b71(0x190)]&&global[_0x154b71(0x190)][_0x154b71(0x11b)],function(){const _0x2a9300=_0x154b71,_0x50c784=[_0x566a0e,_0x633cba,null,_0x25f19c]['concat'](arguments);return _0x146cf9[_0x2a9300(0x14a)]['apply'](_0x146cf9,_0x50c784);};}static[a134_0x42d310(0x10b)](){const _0x54a02e=a134_0x42d310,_0x3cca07=/(^.*)\[(.*)\]$/,_0x16887c={},_0x59b2bb={},_0x3a3e32=[],_0x39b038=this['_measureEvents'][_0x54a02e(0x197)](0x0,this[_0x54a02e(0x152)][_0x54a02e(0x195)]);for(const _0x3afe4e of _0x39b038){const _0x35e468=_0x3afe4e['name'][_0x54a02e(0x136)](_0x3cca07),_0x250c59=Object['assign']({},_0x3afe4e);_0x35e468&&(_0x250c59[_0x54a02e(0x13b)]=_0x35e468[0x1],_0x250c59[_0x54a02e(0x149)]=JSON[_0x54a02e(0x177)](_0x35e468[0x2])),_0x3a3e32['push'](_0x250c59);}return _0x3a3e32;}static[a134_0x42d310(0x170)](){const _0x494581=a134_0x42d310,_0x356cb={'THfzk':function(_0x203ecd){return _0x203ecd();},'XFgrq':function(_0x7d77c7,_0x448d48){return _0x7d77c7+_0x448d48;},'bGmkX':_0x494581(0x187),'XSkFY':function(_0x213489,_0x826ec4){return _0x213489===_0x826ec4;}};try{this[_0x494581(0x16c)]=path['join'](_0x356cb[_0x494581(0x16b)](getLogDir),this[_0x494581(0x135)]);if(fs[_0x494581(0x16f)](this['jsonReportDirPath'])){const _0x37bf0e=fs[_0x494581(0x103)](this[_0x494581(0x16c)]);for(const _0x2f389f of _0x37bf0e){fs['unlinkSync'](path[_0x494581(0x11c)](this[_0x494581(0x16c)],_0x2f389f));}}}catch(_0x10631a){logger[_0x494581(0x105)](_0x356cb[_0x494581(0x12d)](_0x356cb[_0x494581(0x130)],_0x10631a));}if(_0x356cb[_0x494581(0x11d)](this[_0x494581(0x152)][_0x494581(0x195)],0x0))return;const _0x27addf=this[_0x494581(0x10b)](),_0x5bd178=JSON[_0x494581(0x13a)](_0x27addf),_0x528fc3=_0x356cb['XFgrq'](_0x5bd178[_0x494581(0x109)](0x1,-0x1),',');fs[_0x494581(0x19d)](this['jsonReportFileName'],_0x528fc3);}static async[a134_0x42d310(0x132)](){const _0x5c0007=a134_0x42d310,_0x2d2c64={'UlzVK':function(_0x5de995){return _0x5de995();},'iarSB':function(_0xe867a2,_0x4abf4f){return _0xe867a2===_0x4abf4f;},'SzPWH':_0x5c0007(0x175),'gHrMy':_0x5c0007(0x121),'WBJRh':'modified-key-metrics.json','ypRkR':function(_0xd0b6f6,_0x414efa){return _0xd0b6f6+_0x414efa;},'SnEoE':function(_0x286f26,_0x8c5dd5){return _0x286f26+_0x8c5dd5;},'hgMSv':'Error\x20processing\x20key-metrics.json:\x20%s','HZSry':_0x5c0007(0x117),'qWQmt':_0x5c0007(0x10e),'UIDpY':function(_0x1b96f7,_0xba2d9){return _0x1b96f7>_0xba2d9;}};this[_0x5c0007(0x16c)]=path['join'](_0x2d2c64['UlzVK'](getLogDir),this[_0x5c0007(0x135)]);if(!this[_0x5c0007(0x189)]||_0x2d2c64['iarSB'](this[_0x5c0007(0x152)][_0x5c0007(0x195)],0x0))return[];if(!fs['existsSync'](this['jsonReportDirPath']))return this['_measureEvents'];const _0x240463=(await fsPromise[_0x5c0007(0x167)](this[_0x5c0007(0x16c)]))[_0x5c0007(0x164)](_0x4bc170=>path[_0x5c0007(0x150)](this[_0x5c0007(0x16c)],_0x4bc170));try{const _0x105fd2=path[_0x5c0007(0x125)](this[_0x5c0007(0x16c)]),_0x2128e8=path[_0x5c0007(0x11c)](_0x105fd2,_0x2d2c64['SzPWH']);if(fs[_0x5c0007(0x16f)](_0x2128e8))try{await fsPromise[_0x5c0007(0x139)](_0x2128e8,fs[_0x5c0007(0x181)][_0x5c0007(0x141)]);const _0x38703f=await fsPromise[_0x5c0007(0x168)](_0x2128e8,_0x2d2c64[_0x5c0007(0x137)]),_0x1bd9ff=JSON[_0x5c0007(0x177)](_0x38703f),_0x394015=path['join'](this[_0x5c0007(0x16c)],_0x2d2c64['WBJRh']);let _0x5dfb34='';Array['isArray'](_0x1bd9ff)?_0x5dfb34=_0x2d2c64[_0x5c0007(0x115)](_0x1bd9ff[_0x5c0007(0x164)](_0x208b40=>JSON[_0x5c0007(0x13a)](_0x208b40))[_0x5c0007(0x11c)](','),','):_0x5dfb34=_0x2d2c64[_0x5c0007(0x188)](JSON[_0x5c0007(0x13a)](_0x1bd9ff),','),await fsPromise[_0x5c0007(0x15e)](_0x394015,_0x5dfb34),_0x240463['push'](_0x394015),await fsPromise['unlink'](_0x2128e8);}catch(_0x4e1c1f){logger['info'](util['format'](_0x2d2c64[_0x5c0007(0x100)],_0x4e1c1f[_0x5c0007(0x193)]||_0x4e1c1f[_0x5c0007(0x165)]||_0x4e1c1f));}else logger[_0x5c0007(0x17b)](_0x2d2c64[_0x5c0007(0x173)]);}catch(_0x271e56){logger[_0x5c0007(0x17b)](util[_0x5c0007(0x13f)](_0x2d2c64[_0x5c0007(0x122)],_0x271e56[_0x5c0007(0x193)]||_0x271e56[_0x5c0007(0x165)]||_0x271e56));}let _0x1ec253=(await Promise['all'](_0x240463[_0x5c0007(0x164)](_0x190196=>fsPromise[_0x5c0007(0x168)](_0x190196,_0x5c0007(0x121)))))[_0x5c0007(0x164)](_0x5769f8=>'['+_0x5769f8[_0x5c0007(0x109)](0x0,-0x1)+']')[_0x5c0007(0x164)](_0x2eaaa5=>JSON[_0x5c0007(0x177)](_0x2eaaa5))[_0x5c0007(0x134)]();return _0x2d2c64['UIDpY'](this[_0x5c0007(0x152)]['length'],0x0)&&(_0x1ec253=_0x1ec253[_0x5c0007(0x113)](this[_0x5c0007(0x10b)]())),this[_0x5c0007(0x107)]['disconnect'](),_0x1ec253;}static[a134_0x42d310(0x18f)](){const _0x1c2d35=a134_0x42d310,_0x374f6c={};_0x374f6c[_0x1c2d35(0x161)]=function(_0x152d93,_0x4f56a6){return _0x152d93===_0x4f56a6;},_0x374f6c[_0x1c2d35(0x147)]=function(_0x219b00,_0x50faae){return _0x219b00+_0x50faae;};const _0x4bd4dc=_0x374f6c;if(_0x4bd4dc[_0x1c2d35(0x161)](this[_0x1c2d35(0x12c)][_0x1c2d35(0x195)],0x0))return;const _0x2d39cd=JSON[_0x1c2d35(0x13a)](this[_0x1c2d35(0x12c)]),_0x208263=_0x4bd4dc[_0x1c2d35(0x147)](_0x2d39cd['slice'](0x1,-0x1),',');fs[_0x1c2d35(0x19d)](this['errorFile'],_0x208263);}static[a134_0x42d310(0x180)](){const _0x3bc3c0=a134_0x42d310,_0x4b51a2={};_0x4b51a2[_0x3bc3c0(0x157)]=function(_0x3f93f2,_0x5c34f0){return _0x3f93f2>_0x5c34f0;};const _0x549559=_0x4b51a2;if(this[_0x3bc3c0(0x182)]){if(!fs['existsSync'](this[_0x3bc3c0(0x182)]))return this[_0x3bc3c0(0x12c)];let _0x154559=fs[_0x3bc3c0(0x10a)](this[_0x3bc3c0(0x182)])[_0x3bc3c0(0xfc)]();_0x154559='['+_0x154559[_0x3bc3c0(0x109)](0x0,-0x1)+']';let _0x5efb5d=JSON[_0x3bc3c0(0x177)](_0x154559);return _0x549559[_0x3bc3c0(0x157)](this[_0x3bc3c0(0x12c)][_0x3bc3c0(0x195)],0x0)&&(_0x5efb5d=_0x5efb5d['concat'](this['_errorEvents'])),fs[_0x3bc3c0(0x179)](this[_0x3bc3c0(0x182)]),_0x5efb5d;}}static['captureError'](_0x405080){const _0x2f393c=a134_0x42d310;if(!this[_0x2f393c(0x162)]())return;this[_0x2f393c(0x12c)]['push']({'message':_0x405080[_0x2f393c(0x165)],'trace':_0x405080[_0x2f393c(0x193)],'code':_0x405080['code']||null,'time':new Date()});}static[a134_0x42d310(0x158)](){const _0x1c14dd=a134_0x42d310;try{if(!this['isEnabled']())return;this[_0x1c14dd(0x107)][_0x1c14dd(0x155)](),this[_0x1c14dd(0x170)](),this[_0x1c14dd(0x18f)]();}catch(_0x5ad872){logger[_0x1c14dd(0x105)]('Error\x20stopping\x20monitoring\x20'+util[_0x1c14dd(0x13f)](_0x5ad872));}}static async[a134_0x42d310(0x19a)](){const _0x21a73a=a134_0x42d310,_0x431336={'aBynl':function(_0x3974d8,_0xaeb179){return _0x3974d8(_0xaeb179);}};await _0x431336[_0x21a73a(0x154)](sleep,0x1e);const _0x1eabb6=await this[_0x21a73a(0x132)](),_0x10600b=this[_0x21a73a(0x180)]();if(!this[_0x21a73a(0x162)]()){const _0x413bb3={};return _0x413bb3[_0x21a73a(0x128)]=[],_0x413bb3[_0x21a73a(0x116)]=[],_0x413bb3;}const _0x5abd25={};return _0x5abd25[_0x21a73a(0x128)]=_0x1eabb6,_0x5abd25['errors']=_0x10600b,_0x5abd25;}static[a134_0x42d310(0x191)](_0x3d5a58){const _0x3c42ca=a134_0x42d310,_0x4690c4={};_0x4690c4[_0x3c42ca(0x153)]=function(_0x37761b,_0x460b6d){return _0x37761b+_0x460b6d;},_0x4690c4['uSVqM']='-start';const _0x274820=_0x4690c4,_0x41091a=_0x274820[_0x3c42ca(0x153)](_0x3d5a58,_0x274820[_0x3c42ca(0x14c)]);if(this['eventsMap'][_0x41091a])return;performance[_0x3c42ca(0x19c)](_0x41091a),this[_0x3c42ca(0x12e)][_0x41091a]=0x1;}static['end'](_0x26b4fe,_0x262915=!![],_0x11cd55=null,_0x895ba={}){const _0x476fd3=a134_0x42d310,_0x360a61={'KVBKc':_0x476fd3(0x184),'qxHLt':function(_0x4bd696,_0x4bf5cb){return _0x4bd696+_0x4bf5cb;},'IIeoo':'-start','aHYOh':function(_0x3a9308,_0x1dd573){return _0x3a9308+_0x1dd573;},'eSkWx':_0x476fd3(0x18a),'EbZDg':function(_0x4a0e7a){return _0x4a0e7a();},'YsyXP':function(_0x119f90,_0x529110){return _0x119f90+_0x529110;}},_0xcde3a5=_0x360a61['KVBKc']['split']('|');let _0xccfffd=0x0;while(!![]){switch(_0xcde3a5[_0xccfffd++]){case'0':this[_0x476fd3(0x12e)][_0x360a61[_0x476fd3(0x11e)](_0x26b4fe,_0x360a61[_0x476fd3(0x118)])]&&performance[_0x476fd3(0x14a)](_0x26b4fe,_0x360a61[_0x476fd3(0x11e)](_0x26b4fe,_0x360a61[_0x476fd3(0x118)]),_0x360a61[_0x476fd3(0x114)](_0x26b4fe,_0x360a61['eSkWx']));continue;case'1':performance[_0x476fd3(0x19c)](_0x360a61[_0x476fd3(0x11e)](_0x26b4fe,_0x360a61[_0x476fd3(0x178)]));continue;case'2':const _0x1b2447={};_0x1b2447[_0x476fd3(0x102)]=_0x262915,_0x1b2447[_0x476fd3(0x1a0)]=_0x11cd55,this[_0x476fd3(0x104)][_0x26b4fe]=Object[_0x476fd3(0x17a)](_0x1b2447,Object[_0x476fd3(0x17a)](Object[_0x476fd3(0x17a)]({'worker':_0x360a61[_0x476fd3(0x131)](getProcessId),'platform':global[_0x476fd3(0x190)]&&global[_0x476fd3(0x190)][_0x476fd3(0x11b)],'testName':_0x360a61[_0x476fd3(0x131)](getTestName)},_0x895ba),this[_0x476fd3(0x104)][_0x26b4fe]||{}));continue;case'3':delete this[_0x476fd3(0x12e)][_0x360a61[_0x476fd3(0x11e)](_0x26b4fe,_0x360a61[_0x476fd3(0x118)])];continue;case'4':if(!this[_0x476fd3(0x12e)][_0x360a61[_0x476fd3(0x111)](_0x26b4fe,_0x360a61[_0x476fd3(0x118)])])return;continue;}break;}}}module['exports']=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134_0x563901=a134_0x26dc;(function(_0x5a974b,_0x8319ed){const _0x19e142=a134_0x26dc,_0x371352=_0x5a974b();while(!![]){try{const _0x587f5b=-parseInt(_0x19e142(0xa9))/0x1+-parseInt(_0x19e142(0xbc))/0x2*(parseInt(_0x19e142(0x11a))/0x3)+-parseInt(_0x19e142(0x104))/0x4+parseInt(_0x19e142(0xc2))/0x5+parseInt(_0x19e142(0xfb))/0x6+parseInt(_0x19e142(0xb3))/0x7*(-parseInt(_0x19e142(0xaf))/0x8)+parseInt(_0x19e142(0xa6))/0x9*(parseInt(_0x19e142(0x9a))/0xa);if(_0x587f5b===_0x8319ed)break;else _0x371352['push'](_0x371352['shift']());}catch(_0x4e7b32){_0x371352['push'](_0x371352['shift']());}}}(a134_0x2d22,0xf22c6));function a134_0x26dc(_0x3912e3,_0x144dca){const _0x2d220c=a134_0x2d22();return a134_0x26dc=function(_0x26dcd8,_0x5e9a0f){_0x26dcd8=_0x26dcd8-0x8a;let _0x35304b=_0x2d220c[_0x26dcd8];return _0x35304b;},a134_0x26dc(_0x3912e3,_0x144dca);}function a134_0x2d22(){const _0x2a528c=['brUEs','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','ECONNRESET','getConfig','vVwru','JfEGX','chromium','./w3cMapping','MLAmk','join','format','workers','includes','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','message','../bin/v2/browserstackCLI','SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null','cucumberjs-pw','yVfPV','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','chrome','WsYti','uTFtl','AXhZW','getModifiedConfigFromCLI','Fmmvs','yhClc','browserType.js','[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20','BS_A11Y_JWT','setFrameworkDetail','nccNb','qQKap','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','toLowerCase','No\x20modified\x20config\x20received\x20from\x20gRPC','getPlaywrightUrl','HyziB','stringify','convertW3CToJsonWire','config','importFileFromPWCore','cliConfig','\x20attempts\x20—\x20surfacing\x20error:\x20','fgxFd','\x20for\x20','Could\x20not\x20import\x20GrpcClient:\x20','7038600cXjkXj','WebSocket\x20error','__platformCaps','env','SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20','browser','constructor','mmkVi','capabilities','1570764yHrzGz','dFDrV','bootstrap','RYGXj','getInstance','roDth','),\x20retrying\x20in\x20','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','ChsAX','Timeout','Error\x20loading\x20bundled\x20Playwright\x20entry:\x20','EjipD','util','isArray','iOndb','exports','getPlaywrightConfig','parse','LZaEL','ugNTd','getPWCorePath','Error\x20getting\x20Playwright\x20BrowserType:\x20','108eVwrFz','client','qurqj','apply','W3CMapping','framework','length','lvUBA','_connection','pjJNL','RtCOl','connectOverCDP:\x20CDPSession','KfowI','setBrowserstackConfig','kgcmN','BROWSERSTACK_TESTHUB_UUID','../bin/utils/constants','flGkP','entries','RhozA','[A11Y]\x20connectOverCDP\x20attempt\x20','__accessibilityOptions','winstonLogger','yZwaj','273490vgzZoP','OpOcM','webkit','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','../bin/v2/grpcClient','Exfat','requirePWModule','DBper','rxmBy','\x20failed\x20(','YhLiu','PLAYWRIGHT','693ChkvnV','browserstack.accessibilityOptions.wcagVersion','BZsHz','1863968PWHWVI','lib','true','AWmuo','TjaPt','debug','22480PIEahs','projects','getPlaywrightBrowserType','browserName','2296WHIAOl','firefox','BOYSm','error','EIfnZ','Aqebu','browserstack.accessibility','browserstack.testhubBuildUuid','JLXvV','46132rYnNTE','vmaKo','XQzMt','platformCaps','browserstack.accessibilityOptions.authToken','FRAMEWORKS','8608420uFFKqk','browserstack.accessibilityOptions.scannerProcessingTimeout','use','GFbmv','STlmY','browserstack.buildProductMap','wussi','\x20flow','mRGba'];a134_0x2d22=function(){return _0x2a528c;};return a134_0x2d22();}const path=require('path'),util=require(a134_0x563901(0x110)),{importFileFromPWCore}=require('./helper'),helper=require('./helper'),logger=require('./logger')[a134_0x563901(0x98)],W3CMapping=require(a134_0x563901(0xd2))[a134_0x563901(0x11e)](),constants=require(a134_0x563901(0x92)),BrowserstackCLI=require(a134_0x563901(0xdb)),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;try{GrpcClient=require(a134_0x563901(0x9e));}catch(a134_0x4d3b02){logger[a134_0x563901(0xae)](a134_0x563901(0xfa)+a134_0x4d3b02[a134_0x563901(0xda)]),GrpcClient=null;}const convertW3CToJsonWire=_0x1a7811=>{const _0x59835f=a134_0x563901,_0x6466b6={};_0x6466b6[_0x59835f(0x121)]=function(_0xec4ce,_0x33993d){return _0xec4ce||_0x33993d;},_0x6466b6[_0x59835f(0xd0)]=function(_0xe0aa35,_0x37ec60){return _0xe0aa35===_0x37ec60;},_0x6466b6[_0x59835f(0xe1)]='bstack:options',_0x6466b6['vVwru']=function(_0x15dce2,_0xd35956){return _0x15dce2 in _0xd35956;};const _0x5d57cd=_0x6466b6,_0x25f475={};for(const [_0x1ac1a3,_0x1dabd2]of Object[_0x59835f(0x94)](_0x5d57cd[_0x59835f(0x121)](_0x1a7811,{}))){if(_0x5d57cd[_0x59835f(0xd0)](_0x1ac1a3,_0x5d57cd['WsYti']))continue;let _0x318d78=![];for(const [_0xa9b503,_0xe85cf8]of Object['entries'](W3CMapping)){if(_0x5d57cd['JfEGX'](_0x1ac1a3,_0xe85cf8)){_0x25f475[_0xa9b503]=_0x1dabd2,_0x318d78=!![];break;}}!_0x318d78&&(_0x25f475[_0x1ac1a3]=_0x1dabd2);}const _0x303c2c=_0x1a7811[_0x5d57cd[_0x59835f(0xe1)]]||{};for(const [_0x5dc682,_0x219099]of Object['entries'](_0x303c2c)){let _0x5054fe=![];for(const [_0x57ec29,_0x5461a9]of Object[_0x59835f(0x94)](W3CMapping)){if(_0x5d57cd[_0x59835f(0xd0)](_0x5dc682,_0x5461a9)){_0x25f475[_0x57ec29]=_0x219099,_0x5054fe=!![];break;}}!_0x5054fe&&!_0x5d57cd[_0x59835f(0xcf)](_0x5dc682,_0x25f475)&&(_0x25f475[_0x5dc682]=_0x219099);}return logger[_0x59835f(0xae)](_0x59835f(0x9d)+JSON['stringify'](_0x25f475)),_0x25f475;},getModifiedConfigFromCLI=async _0x479818=>{const _0x8c2f0f=a134_0x563901,_0x2a9e02={};_0x2a9e02[_0x8c2f0f(0xa8)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x2a9e02[_0x8c2f0f(0x99)]=_0x8c2f0f(0xdd),_0x2a9e02['MLAmk']='Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw',_0x2a9e02[_0x8c2f0f(0x90)]=_0x8c2f0f(0xef),_0x2a9e02['mmkVi']=function(_0xd976de,_0x1a786d){return _0xd976de>_0x1a786d;},_0x2a9e02['Fmmvs']=_0x8c2f0f(0xdf);const _0x81a374=_0x2a9e02;try{if(!GrpcClient)return logger['debug'](_0x81a374['BZsHz']),null;const _0x517313={};_0x517313[_0x8c2f0f(0x103)]=_0x479818,_0x517313[_0x8c2f0f(0x11f)]=_0x81a374[_0x8c2f0f(0x99)],_0x517313[_0x8c2f0f(0xd6)]=0x1,_0x517313[_0x8c2f0f(0xb0)]=[];const _0x575ada=_0x517313;logger[_0x8c2f0f(0xae)](_0x81a374[_0x8c2f0f(0xd3)]);const _0x30512e={};_0x30512e['playwrightConfigObject']=_0x575ada;const _0x32c5d7=await GrpcClient['getInstance']()[_0x8c2f0f(0x114)](_0x30512e);if(!_0x32c5d7['getConfig']())return logger[_0x8c2f0f(0xae)](_0x81a374[_0x8c2f0f(0x90)]),null;const _0x5965c2=JSON[_0x8c2f0f(0x115)](_0x32c5d7[_0x8c2f0f(0xce)]());logger[_0x8c2f0f(0xae)]('Received\x20modified\x20config\x20from\x20gRPC:\x20'+JSON[_0x8c2f0f(0xf2)](_0x5965c2));if(_0x5965c2[_0x8c2f0f(0x103)]&&Array[_0x8c2f0f(0x111)](_0x5965c2['capabilities'])&&_0x81a374[_0x8c2f0f(0x102)](_0x5965c2['capabilities'][_0x8c2f0f(0x120)],0x0))return _0x5965c2[_0x8c2f0f(0x103)][0x0];else{if(_0x5965c2[_0x8c2f0f(0xb0)]&&Array[_0x8c2f0f(0x111)](_0x5965c2[_0x8c2f0f(0xb0)])&&_0x81a374[_0x8c2f0f(0x102)](_0x5965c2[_0x8c2f0f(0xb0)][_0x8c2f0f(0x120)],0x0)){const _0x3dec24=_0x5965c2['projects'][0x0];if(_0x3dec24['use']&&_0x3dec24[_0x8c2f0f(0xc4)][_0x8c2f0f(0xbf)])return _0x3dec24['use'][_0x8c2f0f(0xbf)];}}return logger[_0x8c2f0f(0xae)](_0x81a374[_0x8c2f0f(0xe5)]),null;}catch(_0xd6a9f6){logger[_0x8c2f0f(0xb6)](_0x8c2f0f(0xcc)+_0xd6a9f6[_0x8c2f0f(0xda)]);throw _0xd6a9f6;}},generatePlaywrightUrl=(_0x4f5e23,_0x3ec85c)=>{const _0x371801=a134_0x563901,_0x1b2867={'BOYSm':function(_0x5d1331,_0x3da67b){return _0x5d1331!==_0x3da67b;},'nBQwU':function(_0x2c634e,_0x19ff88){return _0x2c634e!==_0x19ff88;},'wussi':function(_0x35e67f,_0x5e6032){return _0x35e67f!==_0x5e6032;},'rxmBy':function(_0x51dd08,_0x539c29){return _0x51dd08!==_0x539c29;},'DBper':function(_0x4340cf,_0x2f5154){return _0x4340cf(_0x2f5154);},'roDth':function(_0x500435,_0x58138f){return _0x500435||_0x58138f;},'GFbmv':_0x371801(0xb9),'RhozA':function(_0xb75610,_0x34db2d){return _0xb75610(_0x34db2d);},'RYGXj':_0x371801(0xc0),'QEDyw':function(_0x3e58dd,_0x389dc0){return _0x3e58dd(_0x389dc0);},'flGkP':_0x371801(0xa7),'nFDgG':'browserstack.accessibilityOptions.scannerVersion','ChsAX':function(_0x30e234,_0x43a0f2){return _0x30e234(_0x43a0f2);},'STlmY':_0x371801(0xc3),'NHsql':function(_0xac5bc7,_0x2c26b5){return _0xac5bc7===_0x2c26b5;},'EjipD':function(_0xc04608,_0x129216){return _0xc04608===_0x129216;},'pjJNL':function(_0x43e316,_0x22bdb3){return _0x43e316(_0x22bdb3);},'brUEs':_0x371801(0xab),'uTFtl':_0x371801(0xba),'fgxFd':_0x371801(0xc7),'RtCOl':function(_0x29086c,_0x364cda){return _0x29086c+_0x364cda;}},_0xb8a5d3=helper[_0x371801(0xf0)](_0x4f5e23),_0x596d57=_0x1b2867[_0x371801(0xa1)](convertW3CToJsonWire,_0x3ec85c);try{const _0x41881c=[_0x1b2867[_0x371801(0x109)](_0x3ec85c,{}),global['__launchCaps']||{},global[_0x371801(0xfd)]||{},global[_0x371801(0x97)]||{}],_0x4260db=_0x4eb025=>{const _0x30268f=_0x371801;if(_0x1b2867[_0x30268f(0xb5)](_0x596d57[_0x4eb025],undefined)&&_0x1b2867['BOYSm'](_0x596d57[_0x4eb025],null)&&_0x1b2867['BOYSm'](_0x596d57[_0x4eb025],''))return;for(const _0x1eef48 of _0x41881c){if(_0x1eef48&&_0x1b2867['nBQwU'](_0x1eef48[_0x4eb025],undefined)&&_0x1b2867[_0x30268f(0xc8)](_0x1eef48[_0x4eb025],null)&&_0x1b2867[_0x30268f(0xa2)](_0x1eef48[_0x4eb025],'')){_0x596d57[_0x4eb025]=_0x1eef48[_0x4eb025];return;}}};_0x1b2867[_0x371801(0xa1)](_0x4260db,_0x1b2867[_0x371801(0xc5)]),_0x1b2867[_0x371801(0x95)](_0x4260db,_0x1b2867[_0x371801(0x107)]),_0x1b2867['QEDyw'](_0x4260db,_0x1b2867[_0x371801(0x93)]),_0x1b2867[_0x371801(0x95)](_0x4260db,_0x1b2867['nFDgG']),_0x1b2867[_0x371801(0x10c)](_0x4260db,_0x1b2867[_0x371801(0xc6)]),!_0x596d57[_0x1b2867[_0x371801(0x107)]]&&process['env'][_0x371801(0xe9)]&&(_0x596d57[_0x1b2867[_0x371801(0x107)]]=process[_0x371801(0xfe)][_0x371801(0xe9)]),_0x1b2867['NHsql'](_0x596d57[_0x1b2867['GFbmv']],undefined)&&process['env'][_0x371801(0xd8)]&&_0x1b2867[_0x371801(0x10f)](_0x1b2867[_0x371801(0x8b)](String,process['env'][_0x371801(0xd8)])[_0x371801(0xee)](),_0x1b2867[_0x371801(0xcb)])&&(_0x596d57[_0x1b2867[_0x371801(0xc5)]]=!![]);}catch(_0x576d70){logger[_0x371801(0xae)](_0x371801(0xd9)+util[_0x371801(0xd5)](_0x576d70));}return _0x596d57[_0x1b2867[_0x371801(0xe2)]]=process[_0x371801(0xfe)][_0x371801(0x91)],_0x596d57[_0x1b2867[_0x371801(0xf8)]]=helper['getBuildProductMap'](),_0x1b2867[_0x371801(0x8c)](_0xb8a5d3,_0x1b2867[_0x371801(0x95)](encodeURIComponent,JSON[_0x371801(0xf2)](_0x596d57)));},getBrowserFromCaps=_0x480b07=>{const _0x5b9337=a134_0x563901,_0xae9b0d={};_0xae9b0d['OpOcM']=_0x5b9337(0xe0);const _0x8ff355=_0xae9b0d;return _0x480b07[_0x5b9337(0xb2)]||_0x480b07[_0x5b9337(0x100)]||_0x8ff355[_0x5b9337(0x9b)];},getBrowserTypeFromBundledPlaywright=()=>{const _0xa26b15=a134_0x563901;try{const _0x491e87=helper[_0xa26b15(0x118)]();if(!_0x491e87)return null;const _0x4f01cc=helper[_0xa26b15(0xa0)](_0x491e87),_0x5405be=_0x4f01cc&&(_0x4f01cc[_0xa26b15(0xd1)]||_0x4f01cc[_0xa26b15(0xb4)]||_0x4f01cc[_0xa26b15(0x9c)]);if(!_0x5405be)return null;return _0x5405be[_0xa26b15(0x101)]||null;}catch(_0x28f45f){return logger[_0xa26b15(0xae)](_0xa26b15(0x10e)+util['format'](_0x28f45f)),null;}},getBundledConnectionClass=()=>{const _0x1bcc07=a134_0x563901,_0xaa0bef={};_0xaa0bef['LZaEL']=_0x1bcc07(0xdc);const _0x3c147e=_0xaa0bef;try{const _0x51956a=helper[_0x1bcc07(0x118)]();if(!_0x51956a)return null;const _0x49257d=helper['requirePWModule'](_0x51956a),_0x22b7ad=_0x49257d&&(_0x49257d[_0x1bcc07(0xd1)]||_0x49257d[_0x1bcc07(0xb4)]||_0x49257d['webkit']);if(!_0x22b7ad)return null;if(!_0x22b7ad[_0x1bcc07(0x8a)])return logger[_0x1bcc07(0xae)](_0x3c147e[_0x1bcc07(0x116)]),null;if(!_0x22b7ad[_0x1bcc07(0x8a)]['constructor'])return null;return _0x22b7ad[_0x1bcc07(0x8a)][_0x1bcc07(0x101)];}catch(_0x4aeb3c){return logger[_0x1bcc07(0xae)](_0x1bcc07(0xff)+util['format'](_0x4aeb3c)),null;}},isPlaywrightAvailable=()=>{const _0x2ad0bc=a134_0x563901,_0x2da9c1={'tulPW':_0x2ad0bc(0xaa),'Aqebu':_0x2ad0bc(0x11b),'LvLzR':_0x2ad0bc(0xe7),'AWmuo':function(_0x9c1e30,_0x44d96a){return _0x9c1e30(_0x44d96a);},'XQzMt':function(_0x189cc3){return _0x189cc3();}};try{const _0x365509=path['join'](_0x2da9c1['tulPW'],_0x2da9c1[_0x2ad0bc(0xb8)],_0x2da9c1['LvLzR']),_0x53cea3=_0x2da9c1[_0x2ad0bc(0xac)](importFileFromPWCore,_0x365509);if(_0x53cea3)return!![];return!!_0x2da9c1[_0x2ad0bc(0xbe)](getBrowserTypeFromBundledPlaywright);}catch(_0x3e7be8){return logger[_0x2ad0bc(0xae)]('Playwright\x20not\x20available:\x20'+util[_0x2ad0bc(0xd5)](_0x3e7be8)),![];}},getPlaywrightBrowserType=()=>{const _0xbb93f7=a134_0x563901,_0x1a6af1={'dFDrV':_0xbb93f7(0xaa),'QGbeR':_0xbb93f7(0x11b),'TjaPt':_0xbb93f7(0xe7),'MCWwv':function(_0x1ef728,_0x2835d0){return _0x1ef728(_0x2835d0);},'qQKap':function(_0x273aad){return _0x273aad();}};try{const _0x497e5d=path[_0xbb93f7(0xd4)](_0x1a6af1[_0xbb93f7(0x105)],_0x1a6af1['QGbeR'],_0x1a6af1[_0xbb93f7(0xad)]),_0x2d5c7f=_0x1a6af1['MCWwv'](importFileFromPWCore,_0x497e5d);if(_0x2d5c7f&&_0x2d5c7f['BrowserType'])return _0x2d5c7f['BrowserType'];return _0x1a6af1[_0xbb93f7(0xec)](getBrowserTypeFromBundledPlaywright);}catch(_0x37ca0d){return logger[_0xbb93f7(0xae)](_0xbb93f7(0x119)+util[_0xbb93f7(0xd5)](_0x37ca0d)),null;}},getPlaywrightModulePath=()=>{const _0x34a334=a134_0x563901,_0xa66d42={};_0xa66d42[_0x34a334(0x8e)]=_0x34a334(0x10b);const _0x3f359d=_0xa66d42;return logger[_0x34a334(0xae)](_0x3f359d['KfowI']),null;},getBrowserTypePath=()=>{const _0x554e3e=a134_0x563901,_0x58f191={};_0x58f191[_0x554e3e(0x112)]=_0x554e3e(0xed);const _0x8104ab=_0x58f191;return logger[_0x554e3e(0xae)](_0x8104ab[_0x554e3e(0x112)]),null;},checkPwandBootstrapCli=async(_0x2131a2,_0x45ff40,_0x30b507)=>{const _0x30e73f=a134_0x563901,_0x4c4273={'Rqvng':function(_0x35da4f,_0x89a02){return _0x35da4f(_0x89a02);},'qtgba':'./testhub/utils','vmaKo':function(_0x301af7,_0x138979){return _0x301af7(_0x138979);}};if(_0x2131a2){const _0x329126=constants[_0x30e73f(0xc1)][_0x30e73f(0xa5)];logger[_0x30e73f(0xae)]('Detected\x20Playwright\x20version\x20'+_0x2131a2+_0x30e73f(0xf9)+_0x45ff40+_0x30e73f(0xc9)),CLIUtils[_0x30e73f(0xea)](_0x45ff40,_0x329126);const {getProductMap:_0x4fd24c}=_0x4c4273['Rqvng'](require,_0x4c4273['qtgba']);process[_0x30e73f(0xfe)]['BROWSERSTACK_PRODUCT_MAP']=JSON[_0x30e73f(0xf2)](_0x4c4273[_0x30e73f(0xbd)](_0x4fd24c,_0x30b507['config'])),BrowserstackCLI['getInstance']()[_0x30e73f(0x8f)](_0x30b507[_0x30e73f(0xf4)],_0x30b507['configPath'],_0x30b507[_0x30e73f(0xf6)]),await BrowserstackCLI[_0x30e73f(0x108)]()[_0x30e73f(0x106)]();}},connectOverCDPWithRetry=async(_0x100b0f,_0x21db2b,_0x1f044d,_0x3004ff=0x3,_0x34c068=0x1f4)=>{const _0x3cc39e=a134_0x563901,_0x2c136d={};_0x2c136d['yhClc']=function(_0x5c8c03,_0x51df73){return _0x5c8c03<=_0x51df73;},_0x2c136d[_0x3cc39e(0xbb)]='Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed',_0x2c136d[_0x3cc39e(0xe3)]=_0x3cc39e(0x10d),_0x2c136d[_0x3cc39e(0xde)]=_0x3cc39e(0xfc),_0x2c136d[_0x3cc39e(0xa4)]=_0x3cc39e(0x8d),_0x2c136d[_0x3cc39e(0x9f)]=_0x3cc39e(0xcd),_0x2c136d[_0x3cc39e(0x117)]='ECONNREFUSED',_0x2c136d[_0x3cc39e(0xeb)]=function(_0x3c66f8,_0x147040){return _0x3c66f8===_0x147040;},_0x2c136d[_0x3cc39e(0xca)]=function(_0x17e443,_0x513322){return _0x17e443+_0x513322;},_0x2c136d[_0x3cc39e(0x11c)]=function(_0x15aeef,_0x258bb1){return _0x15aeef*_0x258bb1;},_0x2c136d[_0x3cc39e(0xf1)]=function(_0x455e2e,_0x399df9){return _0x455e2e+_0x399df9;},_0x2c136d['EIfnZ']=function(_0x4161a0,_0x4bed21){return _0x4161a0+_0x4bed21;};const _0x386504=_0x2c136d;let _0x417d05;for(let _0x1060ae=0x0;_0x386504[_0x3cc39e(0xe6)](_0x1060ae,_0x3004ff);_0x1060ae++){try{return await _0x100b0f['connectOverCDP'][_0x3cc39e(0x11d)](_0x21db2b,_0x1f044d);}catch(_0x246250){_0x417d05=_0x246250;const _0x25c0fa=_0x246250&&_0x246250[_0x3cc39e(0xda)]||'',_0x3328dd=_0x25c0fa[_0x3cc39e(0xd7)](_0x386504[_0x3cc39e(0xbb)])||_0x25c0fa[_0x3cc39e(0xd7)](_0x386504[_0x3cc39e(0xe3)])||_0x25c0fa[_0x3cc39e(0xd7)](_0x386504[_0x3cc39e(0xde)])||_0x25c0fa[_0x3cc39e(0xd7)](_0x386504['YhLiu'])||_0x25c0fa[_0x3cc39e(0xd7)](_0x386504[_0x3cc39e(0x9f)])||_0x25c0fa[_0x3cc39e(0xd7)](_0x386504[_0x3cc39e(0x117)]);if(!_0x3328dd||_0x386504[_0x3cc39e(0xeb)](_0x1060ae,_0x3004ff)){_0x3328dd&&logger['warn'](_0x3cc39e(0xe8)+_0x386504[_0x3cc39e(0xca)](_0x1060ae,0x1)+_0x3cc39e(0xf7)+_0x25c0fa);throw _0x246250;}const _0xfde642=_0x386504[_0x3cc39e(0x11c)](_0x34c068,_0x386504[_0x3cc39e(0xf1)](_0x1060ae,0x1));logger['warn'](_0x3cc39e(0x96)+_0x386504[_0x3cc39e(0xca)](_0x1060ae,0x1)+'/'+_0x386504[_0x3cc39e(0xb7)](_0x3004ff,0x1)+_0x3cc39e(0xa3)+_0x25c0fa+_0x3cc39e(0x10a)+_0xfde642+'ms'),await new Promise(_0x516757=>setTimeout(_0x516757,_0xfde642));}}throw _0x417d05;},a134_0x296e62={};a134_0x296e62[a134_0x563901(0xf3)]=convertW3CToJsonWire,a134_0x296e62[a134_0x563901(0xe4)]=getModifiedConfigFromCLI,a134_0x296e62['generatePlaywrightUrl']=generatePlaywrightUrl,a134_0x296e62['getBrowserFromCaps']=getBrowserFromCaps,a134_0x296e62['isPlaywrightAvailable']=isPlaywrightAvailable,a134_0x296e62[a134_0x563901(0xb1)]=getPlaywrightBrowserType,a134_0x296e62['getPlaywrightModulePath']=getPlaywrightModulePath,a134_0x296e62['getBrowserTypePath']=getBrowserTypePath,a134_0x296e62[a134_0x563901(0xf5)]=importFileFromPWCore,a134_0x296e62['checkPwandBootstrapCli']=checkPwandBootstrapCli,a134_0x296e62['connectOverCDPWithRetry']=connectOverCDPWithRetry,a134_0x296e62['getBundledConnectionClass']=getBundledConnectionClass,module[a134_0x563901(0x113)]=a134_0x296e62;
|
|
1
|
+
const a135_0xf7a7d0=a135_0x5353;(function(_0x5859ac,_0x82a422){const _0x43ad0e=a135_0x5353,_0x3fdff9=_0x5859ac();while(!![]){try{const _0x1b74d2=parseInt(_0x43ad0e(0x158))/0x1*(-parseInt(_0x43ad0e(0x161))/0x2)+-parseInt(_0x43ad0e(0x16c))/0x3*(-parseInt(_0x43ad0e(0x137))/0x4)+parseInt(_0x43ad0e(0x11b))/0x5+parseInt(_0x43ad0e(0x131))/0x6+parseInt(_0x43ad0e(0xf0))/0x7+-parseInt(_0x43ad0e(0x14b))/0x8*(parseInt(_0x43ad0e(0x154))/0x9)+parseInt(_0x43ad0e(0x18c))/0xa*(-parseInt(_0x43ad0e(0x15e))/0xb);if(_0x1b74d2===_0x82a422)break;else _0x3fdff9['push'](_0x3fdff9['shift']());}catch(_0x41a596){_0x3fdff9['push'](_0x3fdff9['shift']());}}}(a135_0x1c42,0x754d9));const path=require(a135_0xf7a7d0(0x16a)),util=require('util'),{importFileFromPWCore}=require(a135_0xf7a7d0(0x17a)),helper=require(a135_0xf7a7d0(0x17a)),logger=require(a135_0xf7a7d0(0x13b))[a135_0xf7a7d0(0x135)],W3CMapping=require(a135_0xf7a7d0(0x177))[a135_0xf7a7d0(0xf5)](),constants=require('../bin/utils/constants'),BrowserstackCLI=require(a135_0xf7a7d0(0x145)),CLIUtils=require(a135_0xf7a7d0(0x15b));let GrpcClient;try{GrpcClient=require(a135_0xf7a7d0(0xfd));}catch(a135_0x5427a2){logger[a135_0xf7a7d0(0x13a)](a135_0xf7a7d0(0xe1)+a135_0x5427a2[a135_0xf7a7d0(0x125)]),GrpcClient=null;}function a135_0x1c42(){const _0x108d94=['RdHIr','BROWSERSTACK_TEST_ACCESSIBILITY_YML','EBeiQ','_connection','\x20flow','ECONNREFUSED','./testhub/utils','nfLfF','browserstack.accessibility','3849425pypYQw','pIZMe','rsKrn','FRAMEWORKS','SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20','client','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','browserType.js','OFrUI','stringify','message','cliConfig','Aygxn','BkpPx','.\x20Session\x20may\x20be\x20reported\x20unlinked\x20(device\x20name\x20missing\x20on\x20dashboard).','BAZbw','setBrowserstackConfig','length','cucumberjs-pw','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','workers','browserstack.accessibilityOptions.scannerVersion','5255736NqBNRz','true','QYZmu','eQZGT','winstonLogger','getBuildProductMap','4vetexZ','checkPwandBootstrapCli','requirePWModule','debug','./logger','getBrowserFromCaps','getConfig','JYaXH','cREbJ','[Playwright]\x20connect\x20attempt\x20','DIejf','viPoS','SlXBG','entries','../bin/v2/browserstackCLI','\x20failed\x20(','Qvuxr','SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null','gPpwf','isArray','104pHGpuP','platformCaps','connectWithRetry','apply','FJsru','DDTXb','\x20attempts\x20—\x20surfacing\x20error:\x20','gTujb','wDiOt','70281aaWdQY','TKuPo','getPWCorePath','BrowserType','236281Xymsto','mCUYj','__launchCaps','../bin/v2/cliUtils','BROWSERSTACK_PRODUCT_MAP','CfxbJ','14982zCMBqh','chromium','bootstrap','6zhyMoZ','config','Error\x20loading\x20bundled\x20Playwright\x20entry:\x20','getPlaywrightUrl','browser','MIbEx','jksPG','Socket\x20idle\x20from\x20a\x20long\x20time','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','path','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','2467371QnHeMH','env','SRKNS','firefox','join','Received\x20modified\x20config\x20from\x20gRPC:\x20','QEIZP','[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20','generatePlaywrightUrl','jWfsN','getPlaywrightModulePath','./w3cMapping','warn','browserName','./helper','BeqaS','SOYMH','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','sFETM','browserstack.buildProductMap','connectOverCDPWithRetry','browserstack.accessibilityOptions.authToken','ECONNRESET','DUrHx','getPlaywrightConfig','),\x20retrying\x20in\x20','zODCO','bstack:options','framework','mrgmh','webkit','playwrightConfigObject','11570SNYPJv','swLQS','connectOverCDP:\x20CDPSession','Could\x20not\x20import\x20GrpcClient:\x20','lib','constructor','WebSocket\x20error','projects','use','Gwuni','sHnrz','JCZGq','dqMvI','includes','\x20for\x20','toLowerCase','__accessibilityOptions','Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed','2788583NzMxlM','gfqvq','CqBTz','BcpIh','BS_A11Y_JWT','W3CMapping','thwUY','No\x20modified\x20config\x20received\x20from\x20gRPC','format','getModifiedConfigFromCLI','RhlMz','lXYtQ','uSHZh','../bin/v2/grpcClient','getPlaywrightBrowserType','Timeout','browserstack.testhubBuildUuid','Detected\x20Playwright\x20version\x20','gGQUe','TbrBR','LBtRd','error','exports','capabilities','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','MTKsa','ZMGgW','Unable\x20to\x20get\x20the\x20websocket\x20connection','getBrowserTypePath','TAlSj','uZVfQ','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','oXYaQ','getInstance'];a135_0x1c42=function(){return _0x108d94;};return a135_0x1c42();}const convertW3CToJsonWire=_0x47d366=>{const _0x33ea63=a135_0xf7a7d0,_0x3b566f={};_0x3b566f['dcavB']=function(_0x32636e,_0x89eb15){return _0x32636e||_0x89eb15;},_0x3b566f[_0x33ea63(0xfb)]=function(_0x20cf1b,_0x17b6a1){return _0x20cf1b===_0x17b6a1;},_0x3b566f[_0x33ea63(0x12a)]=_0x33ea63(0x187),_0x3b566f['bpgoE']=function(_0x2bef43,_0x13d8a4){return _0x2bef43===_0x13d8a4;},_0x3b566f[_0x33ea63(0x123)]=function(_0x37b13a,_0x3fedb4){return _0x37b13a in _0x3fedb4;};const _0xc2de56=_0x3b566f,_0x5c249d={};for(const [_0x216105,_0x17149d]of Object[_0x33ea63(0x144)](_0xc2de56['dcavB'](_0x47d366,{}))){if(_0xc2de56[_0x33ea63(0xfb)](_0x216105,_0xc2de56[_0x33ea63(0x12a)]))continue;let _0x119ad2=![];for(const [_0x4f4caa,_0xe6d9f]of Object[_0x33ea63(0x144)](W3CMapping)){if(_0xc2de56[_0x33ea63(0xfb)](_0x216105,_0xe6d9f)){_0x5c249d[_0x4f4caa]=_0x17149d,_0x119ad2=!![];break;}}!_0x119ad2&&(_0x5c249d[_0x216105]=_0x17149d);}const _0x2058a7=_0x47d366[_0xc2de56[_0x33ea63(0x12a)]]||{};for(const [_0x1e4817,_0x52c00f]of Object[_0x33ea63(0x144)](_0x2058a7)){let _0x2c93fe=![];for(const [_0x3c4b99,_0x185ea7]of Object[_0x33ea63(0x144)](W3CMapping)){if(_0xc2de56['bpgoE'](_0x1e4817,_0x185ea7)){_0x5c249d[_0x3c4b99]=_0x52c00f,_0x2c93fe=!![];break;}}!_0x2c93fe&&!_0xc2de56[_0x33ea63(0x123)](_0x1e4817,_0x5c249d)&&(_0x5c249d[_0x1e4817]=_0x52c00f);}return logger['debug'](_0x33ea63(0x108)+JSON['stringify'](_0x5c249d)),_0x5c249d;},getModifiedConfigFromCLI=async _0x7ecc7=>{const _0x1139bd=a135_0xf7a7d0,_0x171df5={};_0x171df5[_0x1139bd(0xf3)]=_0x1139bd(0x16b),_0x171df5['asquS']=_0x1139bd(0x12d),_0x171df5[_0x1139bd(0x10d)]=_0x1139bd(0x12e),_0x171df5[_0x1139bd(0x11d)]=_0x1139bd(0xf7),_0x171df5[_0x1139bd(0x134)]=function(_0x1bf6d8,_0x3a9964){return _0x1bf6d8>_0x3a9964;},_0x171df5[_0x1139bd(0xfc)]=_0x1139bd(0x121);const _0x36b8e8=_0x171df5;try{if(!GrpcClient)return logger['debug'](_0x36b8e8[_0x1139bd(0xf3)]),null;const _0x52aea1={};_0x52aea1['capabilities']=_0x7ecc7,_0x52aea1[_0x1139bd(0x188)]=_0x36b8e8['asquS'],_0x52aea1[_0x1139bd(0x12f)]=0x1,_0x52aea1[_0x1139bd(0xe5)]=[];const _0x541317=_0x52aea1;logger[_0x1139bd(0x13a)](_0x36b8e8[_0x1139bd(0x10d)]);const _0x25bf88={};_0x25bf88[_0x1139bd(0x18b)]=_0x541317;const _0x5b11bf=await GrpcClient['getInstance']()[_0x1139bd(0x184)](_0x25bf88);if(!_0x5b11bf[_0x1139bd(0x13d)]())return logger[_0x1139bd(0x13a)](_0x36b8e8['rsKrn']),null;const _0x25a32b=JSON['parse'](_0x5b11bf[_0x1139bd(0x13d)]());logger[_0x1139bd(0x13a)](_0x1139bd(0x171)+JSON[_0x1139bd(0x124)](_0x25a32b));if(_0x25a32b[_0x1139bd(0x107)]&&Array[_0x1139bd(0x14a)](_0x25a32b['capabilities'])&&_0x36b8e8['eQZGT'](_0x25a32b['capabilities'][_0x1139bd(0x12c)],0x0))return _0x25a32b[_0x1139bd(0x107)][0x0];else{if(_0x25a32b[_0x1139bd(0xe5)]&&Array[_0x1139bd(0x14a)](_0x25a32b['projects'])&&_0x36b8e8['eQZGT'](_0x25a32b['projects']['length'],0x0)){const _0x547c59=_0x25a32b[_0x1139bd(0xe5)][0x0];if(_0x547c59[_0x1139bd(0xe6)]&&_0x547c59['use'][_0x1139bd(0x14c)])return _0x547c59[_0x1139bd(0xe6)]['platformCaps'];}}return logger[_0x1139bd(0x13a)](_0x36b8e8[_0x1139bd(0xfc)]),null;}catch(_0x1d7c11){logger[_0x1139bd(0x105)](_0x1139bd(0x10f)+_0x1d7c11[_0x1139bd(0x125)]);throw _0x1d7c11;}},generatePlaywrightUrl=(_0x5a1e5d,_0x1ea985)=>{const _0xb0e9c3=a135_0xf7a7d0,_0x30858a={'SRKNS':function(_0x1230e9,_0x128a0a){return _0x1230e9!==_0x128a0a;},'gGQUe':function(_0x44dd09,_0x3ec39c){return _0x44dd09!==_0x3ec39c;},'jWfsN':function(_0xe16ad5,_0x156d6d){return _0xe16ad5!==_0x156d6d;},'Qvuxr':function(_0x4b3224,_0x2776a5){return _0x4b3224!==_0x2776a5;},'RdHIr':function(_0x38af82,_0x4a177b){return _0x38af82!==_0x4a177b;},'SKhdN':function(_0x4a88c4,_0x58291a){return _0x4a88c4!==_0x58291a;},'Gwuni':function(_0xf841a0,_0x51ff32){return _0xf841a0(_0x51ff32);},'vNqEZ':function(_0x1f358b,_0x34a8c4){return _0x1f358b||_0x34a8c4;},'dqMvI':_0xb0e9c3(0x11a),'ZMGgW':_0xb0e9c3(0x181),'cUlHh':function(_0x204e65,_0x7039f7){return _0x204e65(_0x7039f7);},'sHnrz':'browserstack.accessibilityOptions.wcagVersion','DDTXb':_0xb0e9c3(0x130),'MTKsa':function(_0x34fd80,_0x259497){return _0x34fd80(_0x259497);},'swLQS':'browserstack.accessibilityOptions.scannerProcessingTimeout','FyRou':function(_0xa5c608,_0x1a01e1){return _0xa5c608===_0x1a01e1;},'JCZGq':function(_0xdb10bb,_0x4e8a8f){return _0xdb10bb===_0x4e8a8f;},'nfLfF':function(_0x513b99,_0x563ca5){return _0x513b99(_0x563ca5);},'yfCuk':_0xb0e9c3(0x132),'TodCm':_0xb0e9c3(0x100),'WhRml':_0xb0e9c3(0x17f),'SOYMH':function(_0xd8609c,_0x584069){return _0xd8609c+_0x584069;},'BshcU':function(_0x469790,_0x1b7fb7){return _0x469790(_0x1b7fb7);}},_0x761d50=helper[_0xb0e9c3(0x164)](_0x5a1e5d),_0x43975d=_0x30858a[_0xb0e9c3(0xe7)](convertW3CToJsonWire,_0x1ea985);try{const _0x48bb80=[_0x30858a['vNqEZ'](_0x1ea985,{}),global[_0xb0e9c3(0x15a)]||{},global['__platformCaps']||{},global[_0xb0e9c3(0xee)]||{}],_0x54e33c=_0x538c85=>{const _0xf5f706=_0xb0e9c3;if(_0x30858a[_0xf5f706(0x16e)](_0x43975d[_0x538c85],undefined)&&_0x30858a[_0xf5f706(0x102)](_0x43975d[_0x538c85],null)&&_0x30858a[_0xf5f706(0x175)](_0x43975d[_0x538c85],''))return;for(const _0x43fe10 of _0x48bb80){if(_0x43fe10&&_0x30858a[_0xf5f706(0x147)](_0x43fe10[_0x538c85],undefined)&&_0x30858a[_0xf5f706(0x112)](_0x43fe10[_0x538c85],null)&&_0x30858a['SKhdN'](_0x43fe10[_0x538c85],'')){_0x43975d[_0x538c85]=_0x43fe10[_0x538c85];return;}}};_0x30858a[_0xb0e9c3(0xe7)](_0x54e33c,_0x30858a[_0xb0e9c3(0xea)]),_0x30858a[_0xb0e9c3(0xe7)](_0x54e33c,_0x30858a[_0xb0e9c3(0x10a)]),_0x30858a['cUlHh'](_0x54e33c,_0x30858a[_0xb0e9c3(0xe8)]),_0x30858a[_0xb0e9c3(0xe7)](_0x54e33c,_0x30858a[_0xb0e9c3(0x150)]),_0x30858a[_0xb0e9c3(0x109)](_0x54e33c,_0x30858a[_0xb0e9c3(0xdf)]),!_0x43975d[_0x30858a[_0xb0e9c3(0x10a)]]&&process['env'][_0xb0e9c3(0xf4)]&&(_0x43975d[_0x30858a[_0xb0e9c3(0x10a)]]=process[_0xb0e9c3(0x16d)]['BS_A11Y_JWT']),_0x30858a['FyRou'](_0x43975d[_0x30858a['dqMvI']],undefined)&&process[_0xb0e9c3(0x16d)][_0xb0e9c3(0x113)]&&_0x30858a[_0xb0e9c3(0xe9)](_0x30858a[_0xb0e9c3(0x119)](String,process[_0xb0e9c3(0x16d)][_0xb0e9c3(0x113)])[_0xb0e9c3(0xed)](),_0x30858a['yfCuk'])&&(_0x43975d[_0x30858a['dqMvI']]=!![]);}catch(_0x3c1996){logger[_0xb0e9c3(0x13a)](_0xb0e9c3(0x169)+util['format'](_0x3c1996));}return _0x43975d[_0x30858a['TodCm']]=process['env']['BROWSERSTACK_TESTHUB_UUID'],_0x43975d[_0x30858a['WhRml']]=helper[_0xb0e9c3(0x136)](),_0x30858a[_0xb0e9c3(0x17c)](_0x761d50,_0x30858a['BshcU'](encodeURIComponent,JSON[_0xb0e9c3(0x124)](_0x43975d)));},getBrowserFromCaps=_0x3f1966=>{const _0x3491fb=a135_0xf7a7d0,_0x2a16a3={};_0x2a16a3[_0x3491fb(0x155)]='chrome';const _0x3385aa=_0x2a16a3;return _0x3f1966[_0x3491fb(0x179)]||_0x3f1966[_0x3491fb(0x165)]||_0x3385aa[_0x3491fb(0x155)];},getBrowserTypeFromBundledPlaywright=()=>{const _0x41400e=a135_0xf7a7d0;try{const _0x4e86d0=helper[_0x41400e(0x156)]();if(!_0x4e86d0)return null;const _0x2a4241=helper[_0x41400e(0x139)](_0x4e86d0),_0xf3bab7=_0x2a4241&&(_0x2a4241[_0x41400e(0x15f)]||_0x2a4241[_0x41400e(0x16f)]||_0x2a4241[_0x41400e(0x18a)]);if(!_0xf3bab7)return null;return _0xf3bab7[_0x41400e(0xe3)]||null;}catch(_0x4904c3){return logger[_0x41400e(0x13a)](_0x41400e(0x163)+util[_0x41400e(0xf8)](_0x4904c3)),null;}},getBundledConnectionClass=()=>{const _0x3e4698=a135_0xf7a7d0,_0x717a52={};_0x717a52[_0x3e4698(0x149)]=_0x3e4698(0x148);const _0x5b2895=_0x717a52;try{const _0xebda04=helper['getPWCorePath']();if(!_0xebda04)return null;const _0xfe318f=helper[_0x3e4698(0x139)](_0xebda04),_0x37a7ce=_0xfe318f&&(_0xfe318f[_0x3e4698(0x15f)]||_0xfe318f[_0x3e4698(0x16f)]||_0xfe318f[_0x3e4698(0x18a)]);if(!_0x37a7ce)return null;if(!_0x37a7ce[_0x3e4698(0x115)])return logger[_0x3e4698(0x13a)](_0x5b2895[_0x3e4698(0x149)]),null;if(!_0x37a7ce[_0x3e4698(0x115)][_0x3e4698(0xe3)])return null;return _0x37a7ce[_0x3e4698(0x115)]['constructor'];}catch(_0x354f54){return logger[_0x3e4698(0x13a)](_0x3e4698(0x11f)+util[_0x3e4698(0xf8)](_0x354f54)),null;}},isPlaywrightAvailable=()=>{const _0x3bc4e6=a135_0xf7a7d0,_0x31ee7f={'EMQaI':_0x3bc4e6(0xe2),'CfxbJ':_0x3bc4e6(0x120),'BkpPx':_0x3bc4e6(0x122),'mCUYj':function(_0x12054a,_0x112d31){return _0x12054a(_0x112d31);},'rjqwx':function(_0x151de7){return _0x151de7();}};try{const _0x2fcf47=path['join'](_0x31ee7f['EMQaI'],_0x31ee7f[_0x3bc4e6(0x15d)],_0x31ee7f[_0x3bc4e6(0x128)]),_0x41b4b4=_0x31ee7f[_0x3bc4e6(0x159)](importFileFromPWCore,_0x2fcf47);if(_0x41b4b4)return!![];return!!_0x31ee7f['rjqwx'](getBrowserTypeFromBundledPlaywright);}catch(_0x52bd0c){return logger['debug']('Playwright\x20not\x20available:\x20'+util['format'](_0x52bd0c)),![];}},getPlaywrightBrowserType=()=>{const _0x47e144=a135_0xf7a7d0,_0xb7b6cb={'aoJWj':_0x47e144(0xe2),'DUrHx':'client','FJsru':_0x47e144(0x122),'LBtRd':function(_0x1c1345,_0xb0d0bd){return _0x1c1345(_0xb0d0bd);},'gTujb':function(_0x3c1759){return _0x3c1759();}};try{const _0x4e1da1=path[_0x47e144(0x170)](_0xb7b6cb['aoJWj'],_0xb7b6cb[_0x47e144(0x183)],_0xb7b6cb[_0x47e144(0x14f)]),_0x3a501a=_0xb7b6cb[_0x47e144(0x104)](importFileFromPWCore,_0x4e1da1);if(_0x3a501a&&_0x3a501a[_0x47e144(0x157)])return _0x3a501a[_0x47e144(0x157)];return _0xb7b6cb[_0x47e144(0x152)](getBrowserTypeFromBundledPlaywright);}catch(_0x39df39){return logger[_0x47e144(0x13a)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x47e144(0xf8)](_0x39df39)),null;}},getPlaywrightModulePath=()=>{const _0x319253=a135_0xf7a7d0,_0x52bfde={};_0x52bfde[_0x319253(0x153)]=_0x319253(0x17d);const _0x5726c3=_0x52bfde;return logger[_0x319253(0x13a)](_0x5726c3[_0x319253(0x153)]),null;},getBrowserTypePath=()=>{const _0x11fc9a=a135_0xf7a7d0,_0xac9699={};_0xac9699[_0x11fc9a(0x17e)]='getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0x3b0174=_0xac9699;return logger['debug'](_0x3b0174[_0x11fc9a(0x17e)]),null;},checkPwandBootstrapCli=async(_0x592f51,_0x1aae45,_0xa908ea)=>{const _0x4a3017=a135_0xf7a7d0,_0x331b6b={'EBeiQ':function(_0x51d309,_0x47f1f2){return _0x51d309(_0x47f1f2);},'WUJSU':_0x4a3017(0x118)};if(_0x592f51){const _0x2d8295=constants[_0x4a3017(0x11e)]['PLAYWRIGHT'];logger['debug'](_0x4a3017(0x101)+_0x592f51+_0x4a3017(0xec)+_0x1aae45+_0x4a3017(0x116)),CLIUtils['setFrameworkDetail'](_0x1aae45,_0x2d8295);const {getProductMap:_0x24dc82}=_0x331b6b['EBeiQ'](require,_0x331b6b['WUJSU']);process[_0x4a3017(0x16d)][_0x4a3017(0x15c)]=JSON[_0x4a3017(0x124)](_0x331b6b[_0x4a3017(0x114)](_0x24dc82,_0xa908ea['config'])),BrowserstackCLI[_0x4a3017(0x111)]()[_0x4a3017(0x12b)](_0xa908ea[_0x4a3017(0x162)],_0xa908ea['configPath'],_0xa908ea[_0x4a3017(0x126)]),await BrowserstackCLI[_0x4a3017(0x111)]()[_0x4a3017(0x160)]();}},connectOverCDPWithRetry=async(_0x215fcd,_0x3c6ce3,_0x463bec,_0x3bfb25=0x3,_0x45fea4=0x1f4)=>{const _0x2edc8f=a135_0xf7a7d0,_0x2dc50d={};_0x2dc50d[_0x2edc8f(0x103)]=function(_0x21a987,_0xbba033){return _0x21a987<=_0xbba033;},_0x2dc50d[_0x2edc8f(0xf6)]='Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed',_0x2dc50d[_0x2edc8f(0x189)]=_0x2edc8f(0xff),_0x2dc50d[_0x2edc8f(0x143)]=_0x2edc8f(0xe4),_0x2dc50d['oXYaQ']=_0x2edc8f(0xe0),_0x2dc50d[_0x2edc8f(0x13f)]=_0x2edc8f(0x182),_0x2dc50d['zODCO']=_0x2edc8f(0x117),_0x2dc50d['biwdY']=function(_0x436459,_0x47b565){return _0x436459===_0x47b565;},_0x2dc50d[_0x2edc8f(0x11c)]=function(_0x3fcf4a,_0x598536){return _0x3fcf4a+_0x598536;},_0x2dc50d[_0x2edc8f(0x167)]=function(_0x8c4062,_0x9a42fb){return _0x8c4062*_0x9a42fb;},_0x2dc50d['MIbEx']=function(_0x2373a5,_0x155923){return _0x2373a5+_0x155923;};const _0x2383ff=_0x2dc50d;let _0x469d37;for(let _0x4e0b8b=0x0;_0x2383ff[_0x2edc8f(0x103)](_0x4e0b8b,_0x3bfb25);_0x4e0b8b++){try{return await _0x215fcd['connectOverCDP'][_0x2edc8f(0x14e)](_0x3c6ce3,_0x463bec);}catch(_0x210ce5){_0x469d37=_0x210ce5;const _0x202b29=_0x210ce5&&_0x210ce5[_0x2edc8f(0x125)]||'',_0x324b28=_0x202b29[_0x2edc8f(0xeb)](_0x2383ff[_0x2edc8f(0xf6)])||_0x202b29[_0x2edc8f(0xeb)](_0x2383ff[_0x2edc8f(0x189)])||_0x202b29['includes'](_0x2383ff[_0x2edc8f(0x143)])||_0x202b29[_0x2edc8f(0xeb)](_0x2383ff[_0x2edc8f(0x110)])||_0x202b29[_0x2edc8f(0xeb)](_0x2383ff[_0x2edc8f(0x13f)])||_0x202b29[_0x2edc8f(0xeb)](_0x2383ff[_0x2edc8f(0x186)]);if(!_0x324b28||_0x2383ff['biwdY'](_0x4e0b8b,_0x3bfb25)){_0x324b28&&logger[_0x2edc8f(0x178)](_0x2edc8f(0x173)+_0x2383ff[_0x2edc8f(0x11c)](_0x4e0b8b,0x1)+_0x2edc8f(0x151)+_0x202b29);throw _0x210ce5;}const _0x2abaa2=_0x2383ff[_0x2edc8f(0x167)](_0x45fea4,_0x2383ff['MIbEx'](_0x4e0b8b,0x1));logger[_0x2edc8f(0x178)]('[A11Y]\x20connectOverCDP\x20attempt\x20'+_0x2383ff[_0x2edc8f(0x166)](_0x4e0b8b,0x1)+'/'+_0x2383ff[_0x2edc8f(0x166)](_0x3bfb25,0x1)+_0x2edc8f(0x146)+_0x202b29+_0x2edc8f(0x185)+_0x2abaa2+'ms'),await new Promise(_0x2cff4c=>setTimeout(_0x2cff4c,_0x2abaa2));}}throw _0x469d37;},connectWithRetry=async(_0x34fd1c,_0x4cb032,_0xe78038,_0x374190=0x3,_0x2d2972=0x3e8)=>{const _0x13c183=a135_0xf7a7d0,_0x2e5bbb={};_0x2e5bbb[_0x13c183(0x141)]=function(_0x1ccd9d,_0x3ec6b4){return _0x1ccd9d<=_0x3ec6b4;},_0x2e5bbb['RhlMz']=_0x13c183(0x168),_0x2e5bbb['tMzKA']=_0x13c183(0x10b),_0x2e5bbb[_0x13c183(0xf1)]=_0x13c183(0xef),_0x2e5bbb[_0x13c183(0x10e)]=_0x13c183(0xff),_0x2e5bbb[_0x13c183(0x142)]=_0x13c183(0xe4),_0x2e5bbb[_0x13c183(0x17b)]=_0x13c183(0x182),_0x2e5bbb[_0x13c183(0x127)]='ECONNREFUSED',_0x2e5bbb[_0x13c183(0xf2)]=function(_0x42be7f,_0x443973){return _0x42be7f===_0x443973;},_0x2e5bbb[_0x13c183(0x133)]=function(_0x19dbaf,_0x567960){return _0x19dbaf+_0x567960;},_0x2e5bbb[_0x13c183(0x172)]=function(_0x286cc7,_0x2fc2b7){return _0x286cc7*_0x2fc2b7;},_0x2e5bbb['JYaXH']=function(_0x45fa39,_0x1452cc){return _0x45fa39+_0x1452cc;};const _0x425159=_0x2e5bbb;let _0x2607cd;for(let _0x7255e2=0x0;_0x425159[_0x13c183(0x141)](_0x7255e2,_0x374190);_0x7255e2++){try{return await _0x34fd1c[_0x13c183(0x14e)](_0x4cb032,_0xe78038);}catch(_0x1e2487){_0x2607cd=_0x1e2487;const _0x5028e7=_0x1e2487&&_0x1e2487[_0x13c183(0x125)]||'',_0x5ba4c0=_0x5028e7['includes'](_0x425159[_0x13c183(0xfa)])||_0x5028e7[_0x13c183(0xeb)](_0x425159['tMzKA'])||_0x5028e7[_0x13c183(0xeb)](_0x425159[_0x13c183(0xf1)])||_0x5028e7[_0x13c183(0xeb)](_0x425159[_0x13c183(0x10e)])||_0x5028e7['includes'](_0x425159[_0x13c183(0x142)])||_0x5028e7[_0x13c183(0xeb)](_0x425159[_0x13c183(0x17b)])||_0x5028e7[_0x13c183(0xeb)](_0x425159[_0x13c183(0x127)]);if(!_0x5ba4c0||_0x425159[_0x13c183(0xf2)](_0x7255e2,_0x374190)){_0x5ba4c0&&logger[_0x13c183(0x178)]('[Playwright]\x20connect\x20gave\x20up\x20after\x20'+_0x425159['QYZmu'](_0x7255e2,0x1)+_0x13c183(0x151)+_0x5028e7+_0x13c183(0x129));throw _0x1e2487;}const _0x187479=_0x425159[_0x13c183(0x172)](_0x2d2972,_0x425159[_0x13c183(0x13e)](_0x7255e2,0x1));logger[_0x13c183(0x178)](_0x13c183(0x140)+_0x425159[_0x13c183(0x13e)](_0x7255e2,0x1)+'/'+_0x425159[_0x13c183(0x13e)](_0x374190,0x1)+'\x20failed\x20('+_0x5028e7+_0x13c183(0x185)+_0x187479+'ms'),await new Promise(_0xb45517=>setTimeout(_0xb45517,_0x187479));}}throw _0x2607cd;},a135_0x5cbace={};function a135_0x5353(_0xba9ad9,_0x5a6b9f){const _0x1c4208=a135_0x1c42();return a135_0x5353=function(_0x535324,_0x58d3c3){_0x535324=_0x535324-0xdf;let _0x5b2b76=_0x1c4208[_0x535324];return _0x5b2b76;},a135_0x5353(_0xba9ad9,_0x5a6b9f);}a135_0x5cbace['convertW3CToJsonWire']=convertW3CToJsonWire,a135_0x5cbace[a135_0xf7a7d0(0xf9)]=getModifiedConfigFromCLI,a135_0x5cbace[a135_0xf7a7d0(0x174)]=generatePlaywrightUrl,a135_0x5cbace[a135_0xf7a7d0(0x13c)]=getBrowserFromCaps,a135_0x5cbace['isPlaywrightAvailable']=isPlaywrightAvailable,a135_0x5cbace[a135_0xf7a7d0(0xfe)]=getPlaywrightBrowserType,a135_0x5cbace[a135_0xf7a7d0(0x176)]=getPlaywrightModulePath,a135_0x5cbace[a135_0xf7a7d0(0x10c)]=getBrowserTypePath,a135_0x5cbace['importFileFromPWCore']=importFileFromPWCore,a135_0x5cbace[a135_0xf7a7d0(0x138)]=checkPwandBootstrapCli,a135_0x5cbace[a135_0xf7a7d0(0x180)]=connectOverCDPWithRetry,a135_0x5cbace[a135_0xf7a7d0(0x14d)]=connectWithRetry,a135_0x5cbace['getBundledConnectionClass']=getBundledConnectionClass,module[a135_0xf7a7d0(0x106)]=a135_0x5cbace;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136_0x21ca52=a136_0x10ff;(function(_0x3256c8,_0x5c953f){const _0x777812=a136_0x10ff,_0x564e60=_0x3256c8();while(!![]){try{const _0x2e9cec=parseInt(_0x777812(0x1c2))/0x1*(parseInt(_0x777812(0x1bc))/0x2)+-parseInt(_0x777812(0x1c6))/0x3+parseInt(_0x777812(0x1cb))/0x4*(-parseInt(_0x777812(0x1bf))/0x5)+-parseInt(_0x777812(0x1c8))/0x6+-parseInt(_0x777812(0x1db))/0x7*(parseInt(_0x777812(0x1dc))/0x8)+-parseInt(_0x777812(0x1d6))/0x9*(-parseInt(_0x777812(0x1d8))/0xa)+parseInt(_0x777812(0x1d2))/0xb;if(_0x2e9cec===_0x5c953f)break;else _0x564e60['push'](_0x564e60['shift']());}catch(_0x6d51be){_0x564e60['push'](_0x564e60['shift']());}}}(a136_0x2c43,0xb48f6));function a136_0x2c43(){const _0x7ad342=['env','5117364xikKYy','getTestName','worker_threads','228AVOCsZ','CwjsO','hWysH','../bin/utils/constants','getGlobal','toISOString','browserstackTestName','19012631MLSzff','BROWSERSTACK_OBSERVABILITY_DEBUG','][\x20','true','1979001getVbG','BROWSERSTACK_TEST_REPORTING_DEBUG','20FesXnR','\x20]\x20','debug','7SkHKJk','2159200KicAJE','sleep','2JPzanO','pid','TEST_REPORTING_ANALYTICS','128970oxQBsp','ZUySW','./globals','1228287tcLDZj','getProcessId','HZyaE','rOVsC','191580WuxhEN'];a136_0x2c43=function(){return _0x7ad342;};return a136_0x2c43();}function a136_0x10ff(_0x4d364d,_0x1dd6b9){const _0x2c439c=a136_0x2c43();return a136_0x10ff=function(_0x10ff44,_0x70bbfa){_0x10ff44=_0x10ff44-0x1bc;let _0x40ab2a=_0x2c439c[_0x10ff44];return _0x40ab2a;},a136_0x10ff(_0x4d364d,_0x1dd6b9);}const worker=require(a136_0x21ca52(0x1ca)),{fileLogger}=require('./logger'),{consoleHolder}=require('./test-observability/constants'),globals=require(a136_0x21ca52(0x1c1)),constants=require(a136_0x21ca52(0x1ce));exports[a136_0x21ca52(0x1c3)]=()=>{const _0x7a3c9=a136_0x21ca52;return process[_0x7a3c9(0x1bd)]+'-'+worker['threadId'];},exports[a136_0x21ca52(0x1c9)]=()=>{const _0x132adb=a136_0x21ca52,_0x210c4a={};_0x210c4a['CwjsO']=_0x132adb(0x1d1);const _0x3f0bb2=_0x210c4a;return globals[_0x132adb(0x1cf)](_0x3f0bb2[_0x132adb(0x1cc)]);},exports[a136_0x21ca52(0x1dd)]=(_0xa5d932=0x64)=>new Promise(_0x547d2d=>setTimeout(_0x547d2d,_0xa5d932)),exports[a136_0x21ca52(0x1da)]=_0x50001c=>{const _0x4a3f6e=a136_0x21ca52,_0x20ef59={};_0x20ef59[_0x4a3f6e(0x1c5)]=function(_0xb14746,_0x409b80){return _0xb14746===_0x409b80;},_0x20ef59[_0x4a3f6e(0x1c4)]=_0x4a3f6e(0x1d5),_0x20ef59[_0x4a3f6e(0x1c0)]=function(_0x5ce44e,_0x3a10b5){return _0x5ce44e===_0x3a10b5;},_0x20ef59[_0x4a3f6e(0x1cd)]=function(_0x38576c,_0xd62551){return _0x38576c===_0xd62551;};const _0x1c8f6a=_0x20ef59;fileLogger['debug']('['+new Date()[_0x4a3f6e(0x1d0)]()+_0x4a3f6e(0x1d4)+constants['TEST_REPORTING_ANALYTICS']+_0x4a3f6e(0x1d9)+_0x50001c),(_0x1c8f6a['rOVsC'](process[_0x4a3f6e(0x1c7)]['BROWSERSTACK_TEST_REPORTING_DEBUG'],_0x1c8f6a[_0x4a3f6e(0x1c4)])||_0x1c8f6a['rOVsC'](process['env'][_0x4a3f6e(0x1d7)],'1')||_0x1c8f6a[_0x4a3f6e(0x1c0)](process[_0x4a3f6e(0x1c7)][_0x4a3f6e(0x1d3)],_0x1c8f6a['HZyaE'])||_0x1c8f6a['hWysH'](process['env'][_0x4a3f6e(0x1d3)],'1'))&&consoleHolder['log']('\x0a['+new Date()['toISOString']()+_0x4a3f6e(0x1d4)+constants[_0x4a3f6e(0x1be)]+_0x4a3f6e(0x1d9)+_0x50001c+'\x0a');};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a137_0x1a63(_0x27d2df,_0x4fb11f){const _0x4a2016=a137_0x4a20();return a137_0x1a63=function(_0x1a63cc,_0x3609fb){_0x1a63cc=_0x1a63cc-0xf5;let _0x5355ad=_0x4a2016[_0x1a63cc];return _0x5355ad;},a137_0x1a63(_0x27d2df,_0x4fb11f);}const a137_0x1bfb5c=a137_0x1a63;(function(_0x5341e0,_0x206877){const _0x447e1d=a137_0x1a63,_0x7e68bf=_0x5341e0();while(!![]){try{const _0x259173=parseInt(_0x447e1d(0x10f))/0x1*(-parseInt(_0x447e1d(0x107))/0x2)+parseInt(_0x447e1d(0x112))/0x3+parseInt(_0x447e1d(0x137))/0x4+-parseInt(_0x447e1d(0x12e))/0x5+parseInt(_0x447e1d(0x138))/0x6*(-parseInt(_0x447e1d(0x10d))/0x7)+parseInt(_0x447e1d(0x111))/0x8+-parseInt(_0x447e1d(0x135))/0x9*(parseInt(_0x447e1d(0x102))/0xa);if(_0x259173===_0x206877)break;else _0x7e68bf['push'](_0x7e68bf['shift']());}catch(_0x4818bc){_0x7e68bf['push'](_0x7e68bf['shift']());}}}(a137_0x4a20,0x51ed6));const util=require(a137_0x1bfb5c(0x12c)),helper=require(a137_0x1bfb5c(0x139)),logger=require(a137_0x1bfb5c(0x131))[a137_0x1bfb5c(0xf7)],W3CMapping=require(a137_0x1bfb5c(0x106))['W3CMapping'](),constants=require('../bin/utils/constants'),BrowserstackCLI=require(a137_0x1bfb5c(0x105)),CLIUtils=require(a137_0x1bfb5c(0x10c)),getAPIUtilityMethods=()=>{const _0x26a6ba=a137_0x1bfb5c,_0x4aaab9={'vvGEK':function(_0x104056,_0x58d13c){return _0x104056(_0x58d13c);},'IgOQc':_0x26a6ba(0x127)};return _0x4aaab9[_0x26a6ba(0x100)](require,_0x4aaab9[_0x26a6ba(0xf9)]);},getPuppeteerUrl=_0x13c350=>{const _0xa9177d=a137_0x1bfb5c,_0x3afe3a={'BBrOz':function(_0x33ae03){return _0x33ae03();}};if(_0x13c350[_0xa9177d(0x110)])return _0x13c350[_0xa9177d(0x110)];const _0x92bb00=_0x3afe3a[_0xa9177d(0x122)](getAPIUtilityMethods);return _0x92bb00['getPuppeteerHubUrl']('');},convertW3CToJsonWire=_0x167713=>{const _0x48ef4f=a137_0x1bfb5c,_0x3a8b41={};_0x3a8b41[_0x48ef4f(0x12b)]=function(_0xfe49d,_0x399459){return _0xfe49d||_0x399459;},_0x3a8b41[_0x48ef4f(0xf6)]=function(_0x409aed,_0x29d72c){return _0x409aed===_0x29d72c;},_0x3a8b41[_0x48ef4f(0x13a)]=_0x48ef4f(0x125),_0x3a8b41[_0x48ef4f(0x114)]=function(_0x422c2d,_0x267226){return _0x422c2d===_0x267226;},_0x3a8b41[_0x48ef4f(0x130)]=function(_0x3fc699,_0x43646c){return _0x3fc699===_0x43646c;},_0x3a8b41[_0x48ef4f(0x12a)]=function(_0x885f4,_0x1514e0){return _0x885f4 in _0x1514e0;};const _0x1131ab=_0x3a8b41,_0x329aad={};for(const [_0x63e9bf,_0x209965]of Object[_0x48ef4f(0xfa)](_0x1131ab['UWjIY'](_0x167713,{}))){if(_0x1131ab[_0x48ef4f(0xf6)](_0x63e9bf,_0x1131ab[_0x48ef4f(0x13a)]))continue;let _0x40a25e=![];for(const [_0x1f709c,_0x53407f]of Object['entries'](W3CMapping)){if(_0x1131ab[_0x48ef4f(0x114)](_0x63e9bf,_0x53407f)){_0x329aad[_0x1f709c]=_0x209965,_0x40a25e=!![];break;}}!_0x40a25e&&(_0x329aad[_0x63e9bf]=_0x209965);}const _0x149796=_0x167713[_0x1131ab['xSMmY']]||{};for(const [_0x583a34,_0x3a7e80]of Object['entries'](_0x149796)){let _0x17d0e6=![];for(const [_0x3e5952,_0x442e6b]of Object['entries'](W3CMapping)){if(_0x1131ab[_0x48ef4f(0x130)](_0x583a34,_0x442e6b)){_0x329aad[_0x3e5952]=_0x3a7e80,_0x17d0e6=!![];break;}}!_0x17d0e6&&!_0x1131ab[_0x48ef4f(0x12a)](_0x583a34,_0x329aad)&&(_0x329aad[_0x583a34]=_0x3a7e80);}return logger[_0x48ef4f(0x12d)](_0x48ef4f(0xfc)+JSON[_0x48ef4f(0x11d)](_0x329aad)),_0x329aad;},generatePuppeteerUrl=(_0x373805,_0x4f6d67)=>{const _0xc0270e=a137_0x1bfb5c,_0xd84b18={'niRDr':function(_0x2adb42,_0x510476){return _0x2adb42(_0x510476);},'ilnJp':_0xc0270e(0xfb),'ASrYL':'browserstack.buildProductMap','CQVpl':function(_0x518522,_0x38b063){return _0x518522+_0x38b063;}},_0x106ecf=_0xd84b18[_0xc0270e(0x132)](getPuppeteerUrl,_0x373805),_0x1fc2d7=_0xd84b18['niRDr'](convertW3CToJsonWire,_0x4f6d67);return _0x1fc2d7[_0xd84b18[_0xc0270e(0x115)]]=process[_0xc0270e(0x133)][_0xc0270e(0x12f)],_0x1fc2d7[_0xd84b18['ASrYL']]=helper['getBuildProductMap'](),_0xd84b18[_0xc0270e(0x120)](_0x106ecf,_0xd84b18[_0xc0270e(0x132)](encodeURIComponent,JSON[_0xc0270e(0x11d)](_0x1fc2d7)));},isPuppeteerAvailable=()=>{const _0x5a299a=a137_0x1bfb5c,_0x5d9e39={};_0x5d9e39[_0x5a299a(0x134)]=_0x5a299a(0x118),_0x5d9e39[_0x5a299a(0xf8)]=_0x5a299a(0x121);const _0xaa3954=_0x5d9e39;try{return require[_0x5a299a(0x10e)](_0xaa3954['XDtIn']),!![];}catch{try{return require[_0x5a299a(0x10e)](_0xaa3954[_0x5a299a(0xf8)]),!![];}catch{return![];}}},getPuppeteerVersion=()=>{const _0x17ff97=a137_0x1bfb5c,_0x2408f8={};_0x2408f8[_0x17ff97(0xfe)]=_0x17ff97(0x118),_0x2408f8['gtWID']=_0x17ff97(0x121);const _0x163c4e=_0x2408f8;return helper[_0x17ff97(0x103)](_0x163c4e[_0x17ff97(0xfe)])||helper['getPackageVersion'](_0x163c4e[_0x17ff97(0x101)]);},checkPuppeteerAndBootstrapCli=async(_0x1a663c,_0x3e3b79,_0x195ce6)=>{const _0x4b1e21=a137_0x1bfb5c,_0x12234d={'XpLro':_0x4b1e21(0x104),'hORvY':function(_0x19990c,_0x4f9b95){return _0x19990c(_0x4f9b95);},'GnZPH':_0x4b1e21(0x126)};if(_0x1a663c){const _0x3a8a07=constants[_0x4b1e21(0x10a)][_0x4b1e21(0xfd)];logger[_0x4b1e21(0x12d)](_0x4b1e21(0x11b)+_0x1a663c+_0x4b1e21(0x10b)+_0x3e3b79+'\x20flow'),process['env'][_0x4b1e21(0x116)]=_0x12234d['XpLro'],CLIUtils['setFrameworkDetail'](_0x3e3b79,_0x3a8a07);const {getProductMap:_0x5cdc0e}=_0x12234d[_0x4b1e21(0x11e)](require,_0x12234d[_0x4b1e21(0x129)]);process['env'][_0x4b1e21(0x11a)]=JSON[_0x4b1e21(0x11d)](_0x12234d[_0x4b1e21(0x11e)](_0x5cdc0e,_0x195ce6['config'])),BrowserstackCLI['getInstance']()[_0x4b1e21(0x117)](_0x195ce6[_0x4b1e21(0xf5)],_0x195ce6[_0x4b1e21(0x113)],_0x195ce6[_0x4b1e21(0x108)]),await BrowserstackCLI[_0x4b1e21(0x109)]()[_0x4b1e21(0x136)]();}},a137_0x3a52f7={};function a137_0x4a20(){const _0x2eafea=['puppeteer-core','generatePuppeteerUrl','BROWSERSTACK_PRODUCT_MAP','[PuppeteerHelper]\x20Detected\x20Puppeteer\x20version\x20','checkPuppeteerAndBootstrapCli','stringify','hORvY','getPuppeteerVersion','CQVpl','puppeteer','BBrOz','exports','getPuppeteerUrl','bstack:options','./testhub/utils','../bin/utils/apiUtilityMethods','convertW3CToJsonWire','GnZPH','FnsFZ','UWjIY','util','debug','380675dezoij','BROWSERSTACK_TESTHUB_UUID','iGpTQ','./logger','niRDr','env','XDtIn','81yNAWve','bootstrap','566148ovEBzA','70104ODVzDj','./helper','xSMmY','config','ZqIZH','winstonLogger','TJTbe','IgOQc','entries','browserstack.testhubBuildUuid','[PuppeteerHelper]\x20Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','PUPPETEER','fNOTK','isPuppeteerAvailable','vvGEK','gtWID','124290jCFpYq','getPackageVersion','true','../bin/v2/browserstackCLI','./w3cMapping','2dtQdxu','cliConfig','getInstance','FRAMEWORKS','\x20for\x20','../bin/v2/cliUtils','49bcvozs','resolve','564424cEJAFK','turboScaleUrl','3666528ZXvPSw','1709787mkULwo','configPath','KdUAP','ilnJp','BROWSERSTACK_PUPPETEER','setBrowserstackConfig'];a137_0x4a20=function(){return _0x2eafea;};return a137_0x4a20();}a137_0x3a52f7[a137_0x1bfb5c(0x124)]=getPuppeteerUrl,a137_0x3a52f7[a137_0x1bfb5c(0x128)]=convertW3CToJsonWire,a137_0x3a52f7[a137_0x1bfb5c(0x119)]=generatePuppeteerUrl,a137_0x3a52f7[a137_0x1bfb5c(0xff)]=isPuppeteerAvailable,a137_0x3a52f7[a137_0x1bfb5c(0x11f)]=getPuppeteerVersion,a137_0x3a52f7[a137_0x1bfb5c(0x11c)]=checkPuppeteerAndBootstrapCli,module[a137_0x1bfb5c(0x123)]=a137_0x3a52f7;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a138_0x4fdcb4=a138_0x2342;function a138_0x2342(_0x481159,_0x3f15de){const _0x9fac06=a138_0x9fac();return a138_0x2342=function(_0x2342a0,_0x3d7946){_0x2342a0=_0x2342a0-0x122;let _0x37d8bf=_0x9fac06[_0x2342a0];return _0x37d8bf;},a138_0x2342(_0x481159,_0x3f15de);}function a138_0x9fac(){const _0x1f0b76=['path','TUgJN','exports','ItTRI','htxKC','YulYy','host','assign','error','request','status_code','unpatch','YznfI','removeListener','spy','MIWmH','1241598jbNwtJ','pathname','object','WCDRP','Pceju','https','forEach','18zDlaMh','method','statusCode','9569659JgGvkc','call','834834JUpAuq','http','5PGNkcE','413497ITnXsu','headers','slice','response','hostname','ZErPY','once','apply','duration_ms','gYYOS','72396UmpmtO','4SoiTuw','url','JFukF','qnUDP','zDzbs','16jMQIYQ','lrYup','522804VlEeZj','2832920WXZqjH','now','restore'];a138_0x9fac=function(){return _0x1f0b76;};return a138_0x9fac();}(function(_0x343a43,_0x263df0){const _0x5a5566=a138_0x2342,_0x59e640=_0x343a43();while(!![]){try{const _0x197cbc=-parseInt(_0x5a5566(0x122))/0x1+-parseInt(_0x5a5566(0x14f))/0x2+-parseInt(_0x5a5566(0x136))/0x3*(parseInt(_0x5a5566(0x150))/0x4)+-parseInt(_0x5a5566(0x144))/0x5*(parseInt(_0x5a5566(0x142))/0x6)+parseInt(_0x5a5566(0x145))/0x7*(parseInt(_0x5a5566(0x155))/0x8)+-parseInt(_0x5a5566(0x13d))/0x9*(-parseInt(_0x5a5566(0x123))/0xa)+parseInt(_0x5a5566(0x140))/0xb;if(_0x197cbc===_0x263df0)break;else _0x59e640['push'](_0x59e640['shift']());}catch(_0x3788a4){_0x59e640['push'](_0x59e640['shift']());}}}(a138_0x9fac,0x6c140));const http=require(a138_0x4fdcb4(0x143)),https=require(a138_0x4fdcb4(0x13b)),monkeypatch=require('monkeypatch');function spy(_0x1f269e){const _0x25a36d=a138_0x4fdcb4,_0x43387b={'gYYOS':function(_0x1722e4,_0x38f363){return _0x1722e4 instanceof _0x38f363;},'WCDRP':function(_0x435f14,_0x541754){return _0x435f14===_0x541754;},'qnUDP':_0x25a36d(0x138),'JFukF':function(_0x40e12a,_0x3af732){return _0x40e12a-_0x3af732;},'DOLjy':function(_0x24a417,_0x2f246d,_0x41695f){return _0x24a417(_0x2f246d,_0x41695f);},'zDzbs':_0x25a36d(0x12e),'TUgJN':function(_0x4a5b41,_0x214972,_0x1695d3){return _0x4a5b41(_0x214972,_0x1695d3);},'lrYup':function(_0x2bbb91,..._0x4dd3cd){return _0x2bbb91(..._0x4dd3cd);},'ItTRI':_0x25a36d(0x148),'MIWmH':'socket','YznfI':function(_0x8dbc5c,_0x212ac4,_0xbf8589,_0x191bd5){return _0x8dbc5c(_0x212ac4,_0xbf8589,_0x191bd5);},'Pceju':'end','YulYy':function(_0x1c14ac,_0x55737c,_0x14e2ba,_0x2142eb){return _0x1c14ac(_0x55737c,_0x14e2ba,_0x2142eb);},'htxKC':_0x25a36d(0x12f)},_0x2a1e76=function(){const _0x1a5899=_0x25a36d,_0x55cd09={'ZErPY':function(_0x3ee5d2,_0x30c306,_0x328d09){const _0x1b43a0=a138_0x2342;return _0x43387b[_0x1b43a0(0x127)](_0x3ee5d2,_0x30c306,_0x328d09);},'proDd':function(_0x656720,..._0xab05d4){const _0x2cf812=a138_0x2342;return _0x43387b[_0x2cf812(0x156)](_0x656720,..._0xab05d4);}},_0x2067ac=arguments[0x0],_0x284898=Array['prototype'][_0x1a5899(0x147)][_0x1a5899(0x141)](arguments,0x1),_0x14abe7=_0x2067ac[_0x1a5899(0x14c)](this,_0x284898);let _0x52937e=Date['now'](),_0x4c68d9;const _0x32d121={};_0x284898[_0x1a5899(0x13c)](_0x477a74=>{const _0x4a23ad=_0x1a5899;if(_0x43387b[_0x4a23ad(0x14e)](_0x477a74,URL)){const _0x33f7ca={};_0x33f7ca[_0x4a23ad(0x151)]=_0x477a74,Object[_0x4a23ad(0x12d)](_0x32d121,_0x33f7ca);}else _0x43387b[_0x4a23ad(0x139)](typeof _0x477a74,_0x43387b[_0x4a23ad(0x153)])&&Object[_0x4a23ad(0x12d)](_0x32d121,_0x477a74);});const _0x50bd37=_0x2736b6=>{const _0x444a70=_0x1a5899,_0x2d8600={};_0x2d8600[_0x444a70(0x12c)]=_0x32d121[_0x444a70(0x12c)]||_0x32d121[_0x444a70(0x149)]||_0x32d121[_0x444a70(0x151)]&&(_0x32d121[_0x444a70(0x151)]['host']||_0x32d121[_0x444a70(0x151)][_0x444a70(0x149)]),_0x2d8600[_0x444a70(0x126)]=_0x32d121[_0x444a70(0x126)]||_0x32d121[_0x444a70(0x151)]&&_0x32d121[_0x444a70(0x151)][_0x444a70(0x137)],_0x2d8600[_0x444a70(0x13e)]=_0x32d121[_0x444a70(0x13e)],_0x2d8600[_0x444a70(0x146)]=_0x32d121[_0x444a70(0x146)],_0x55cd09[_0x444a70(0x14a)](_0x1f269e,_0x2736b6,_0x2d8600);};return _0x14abe7[_0x1a5899(0x14b)](_0x43387b[_0x1a5899(0x129)],_0x407fb6=>{const _0x4e6bb5=_0x1a5899,_0x4b7ad6=_0x43387b[_0x4e6bb5(0x152)](Date['now'](),_0x52937e),_0x4335e0={};_0x4335e0['hostname']=_0x32d121['host']||_0x32d121[_0x4e6bb5(0x149)]||_0x32d121['url']&&(_0x32d121[_0x4e6bb5(0x151)][_0x4e6bb5(0x12c)]||_0x32d121[_0x4e6bb5(0x151)][_0x4e6bb5(0x149)]),_0x4335e0['path']=_0x32d121[_0x4e6bb5(0x126)]||_0x32d121[_0x4e6bb5(0x151)]&&_0x32d121[_0x4e6bb5(0x151)][_0x4e6bb5(0x137)],_0x4335e0[_0x4e6bb5(0x13e)]=_0x32d121[_0x4e6bb5(0x13e)],_0x4335e0[_0x4e6bb5(0x146)]=_0x32d121[_0x4e6bb5(0x146)],_0x4335e0[_0x4e6bb5(0x130)]=_0x407fb6[_0x4e6bb5(0x13f)],_0x4335e0[_0x4e6bb5(0x14d)]=_0x4b7ad6,_0x43387b['DOLjy'](_0x1f269e,null,_0x4335e0),_0x4c68d9[_0x4e6bb5(0x133)](_0x43387b[_0x4e6bb5(0x154)],_0x50bd37);}),_0x14abe7['on'](_0x43387b[_0x1a5899(0x135)],_0x4d4869=>{const _0x1ae86a=_0x1a5899;_0x4c68d9=_0x4d4869,_0x4d4869[_0x1ae86a(0x14b)](_0x43387b[_0x1ae86a(0x154)],_0x50bd37);}),_0x43387b[_0x1a5899(0x132)](monkeypatch,_0x14abe7,_0x43387b[_0x1a5899(0x13a)],(_0x4abd9d,..._0x4c3dc7)=>{const _0x3203f3=_0x1a5899;_0x52937e=Date[_0x3203f3(0x124)](),_0x55cd09['proDd'](_0x4abd9d,..._0x4c3dc7);}),_0x14abe7;};_0x43387b[_0x25a36d(0x12b)](monkeypatch,http,_0x43387b[_0x25a36d(0x12a)],_0x2a1e76),_0x43387b[_0x25a36d(0x12b)](monkeypatch,https,_0x43387b['htxKC'],_0x2a1e76);}function restore(){const _0x3b23b6=a138_0x4fdcb4;http[_0x3b23b6(0x12f)][_0x3b23b6(0x131)](),https[_0x3b23b6(0x12f)][_0x3b23b6(0x131)]();}const a138_0x4f774a={};a138_0x4f774a[a138_0x4fdcb4(0x134)]=spy,a138_0x4f774a[a138_0x4fdcb4(0x125)]=restore,module[a138_0x4fdcb4(0x128)]=a138_0x4f774a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a139_0x28f9e9=a139_0xbe91;(function(_0x259c56,_0x19a009){const _0x5552e6=a139_0xbe91,_0xf7f13a=_0x259c56();while(!![]){try{const _0x258701=parseInt(_0x5552e6(0x18b))/0x1+-parseInt(_0x5552e6(0x183))/0x2*(-parseInt(_0x5552e6(0x18a))/0x3)+-parseInt(_0x5552e6(0x17e))/0x4*(-parseInt(_0x5552e6(0x184))/0x5)+-parseInt(_0x5552e6(0x198))/0x6+-parseInt(_0x5552e6(0x186))/0x7*(parseInt(_0x5552e6(0x18d))/0x8)+-parseInt(_0x5552e6(0x17f))/0x9*(parseInt(_0x5552e6(0x182))/0xa)+-parseInt(_0x5552e6(0x17a))/0xb*(-parseInt(_0x5552e6(0x17d))/0xc);if(_0x258701===_0x19a009)break;else _0xf7f13a['push'](_0xf7f13a['shift']());}catch(_0x4ce079){_0xf7f13a['push'](_0xf7f13a['shift']());}}}(a139_0x5b1a,0xed159));function a139_0xbe91(_0x4b0223,_0x44b246){const _0x5b1a69=a139_0x5b1a();return a139_0xbe91=function(_0xbe9108,_0x52daf4){_0xbe9108=_0xbe9108-0x178;let _0x4fb25a=_0x5b1a69[_0xbe9108];return _0x4fb25a;},a139_0xbe91(_0x4b0223,_0x44b246);}const PerformanceTester=require(a139_0x28f9e9(0x190)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a139_0x28f9e9(0x192));function a139_0x5b1a(){const _0x11146c=['klasK','1282855oXBtpb','keepAlive','agent','request','2309232SXYqOS','1664495ryGyry','RHZAM','56ffWkQw','KEEP_ALIVE','keepAliveMsecs','./performance/performance-tester','iisAX','./performance/constants','https','VCIrg','XbnvN','ihygn','http','8821152fzMWXK','WVkTQ','hasOwnProperty','exports','prototype','protocol','11FfDxTx','https:','globalAgent','9897504EbYErc','100ducYkP','27yMZoYF','lzkIv','pqZPf','1881040SdwePA','2qXWpQA','205885LhZcHF'];a139_0x5b1a=function(){return _0x11146c;};return a139_0x5b1a();}module[a139_0x28f9e9(0x19b)]=PerformanceTester['measureWrapper'](PerformanceEvents[a139_0x28f9e9(0x18e)],function(){const _0x538c93=a139_0x28f9e9,_0x403c4d={'pqZPf':function(_0x5b7030,_0x4a383f){return _0x5b7030===_0x4a383f;},'iisAX':_0x538c93(0x17b),'lzkIv':_0x538c93(0x188),'RHZAM':function(_0x46245f,_0x35282c,_0x4dc035){return _0x46245f(_0x35282c,_0x4dc035);},'ihygn':function(_0x1f5697,_0x51d9a6,_0x3ec3ee){return _0x1f5697(_0x51d9a6,_0x3ec3ee);},'XbnvN':function(_0x9e5edc,_0x4d9033){return _0x9e5edc(_0x4d9033);},'WVkTQ':_0x538c93(0x197),'VCIrg':function(_0x2e8501,_0x3945f6){return _0x2e8501(_0x3945f6);},'klasK':_0x538c93(0x193),'wqdpq':function(_0x4d9412,_0x438d21){return _0x4d9412*_0x438d21;},'URKMW':_0x538c93(0x187)},_0x53562e=_0x403c4d[_0x538c93(0x195)](require,_0x403c4d[_0x538c93(0x199)]),_0x2c02ee=_0x403c4d[_0x538c93(0x194)](require,_0x403c4d[_0x538c93(0x185)]),_0x62cff1=_0x403c4d['wqdpq'](0x1e,0x3e8);if(_0x53562e['globalAgent']&&Object[_0x538c93(0x178)][_0x538c93(0x19a)]['call'](_0x53562e[_0x538c93(0x17c)],_0x403c4d['URKMW']))_0x53562e[_0x538c93(0x17c)][_0x538c93(0x187)]=!![],_0x2c02ee[_0x538c93(0x17c)][_0x538c93(0x187)]=!![],_0x53562e['globalAgent'][_0x538c93(0x18f)]=_0x62cff1,_0x2c02ee['globalAgent'][_0x538c93(0x18f)]=_0x62cff1;else{const _0x5dc320={};_0x5dc320[_0x538c93(0x187)]=!![],_0x5dc320[_0x538c93(0x18f)]=_0x62cff1;const _0x366f26=new _0x53562e['Agent'](_0x5dc320),_0x273e3e={};_0x273e3e[_0x538c93(0x187)]=!![],_0x273e3e[_0x538c93(0x18f)]=_0x62cff1;const _0x74b6ac=new _0x2c02ee['Agent'](_0x273e3e),_0x1245c9=_0x53562e[_0x538c93(0x189)],_0xa00c58=_0x2c02ee[_0x538c93(0x189)];_0x53562e[_0x538c93(0x189)]=function(_0x460a2b,_0x449a1c){const _0x4e2826=_0x538c93;if(_0x403c4d[_0x4e2826(0x181)](_0x460a2b[_0x4e2826(0x179)],_0x403c4d[_0x4e2826(0x191)]))return _0x460a2b[_0x403c4d[_0x4e2826(0x180)]]=_0x74b6ac,_0x403c4d[_0x4e2826(0x18c)](_0xa00c58,_0x460a2b,_0x449a1c);return _0x460a2b[_0x403c4d[_0x4e2826(0x180)]]=_0x366f26,_0x403c4d[_0x4e2826(0x196)](_0x1245c9,_0x460a2b,_0x449a1c);};}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a140_0x4b9b39=a140_0x4026;(function(_0x54c29b,_0x4169de){const _0x287f7c=a140_0x4026,_0x589c6d=_0x54c29b();while(!![]){try{const _0x451577=-parseInt(_0x287f7c(0xc0))/0x1*(parseInt(_0x287f7c(0xcb))/0x2)+-parseInt(_0x287f7c(0xba))/0x3+-parseInt(_0x287f7c(0xc1))/0x4+parseInt(_0x287f7c(0xc4))/0x5*(-parseInt(_0x287f7c(0xca))/0x6)+-parseInt(_0x287f7c(0xbc))/0x7+-parseInt(_0x287f7c(0xc3))/0x8+-parseInt(_0x287f7c(0xb7))/0x9*(-parseInt(_0x287f7c(0xc7))/0xa);if(_0x451577===_0x4169de)break;else _0x589c6d['push'](_0x589c6d['shift']());}catch(_0x15ec37){_0x589c6d['push'](_0x589c6d['shift']());}}}(a140_0x32fe,0x4428b));function a140_0x4026(_0x4e31af,_0x4b242d){const _0x32fe4b=a140_0x32fe();return a140_0x4026=function(_0x40260d,_0x5d0acc){_0x40260d=_0x40260d-0xb4;let _0x434cbf=_0x32fe4b[_0x40260d];return _0x434cbf;},a140_0x4026(_0x4e31af,_0x4b242d);}function a140_0x32fe(){const _0x65f7d4=['9469AjFiBM','2041312rCTcLm','exports','3533992wxHlfP','20uSWkFr','node_modules','IZwRs','30axAhsP','<anonymous>','startsWith','226944jmkLGY','36yJboux','iZLyQ','function','4|0|3|1|2','ciKEA','RYghB','5446503SELFKT','getFileName','HSqKi','90795IvdrkG','UmhRD','1625694cYiOkd','YzylA','includes','isArray'];a140_0x32fe=function(){return _0x65f7d4;};return a140_0x32fe();}function isInternalFrameFile(_0x5bfd42){const _0x1139cd=a140_0x4026,_0x18423e={};_0x18423e[_0x1139cd(0xc6)]=_0x1139cd(0xb4),_0x18423e[_0x1139cd(0xb6)]=_0x1139cd(0xc5),_0x18423e['YzylA']=_0x1139cd(0xc8),_0x18423e[_0x1139cd(0xcc)]='node:',_0x18423e[_0x1139cd(0xb9)]='internal/';const _0x3204a8=_0x18423e,_0x541937=_0x3204a8[_0x1139cd(0xc6)]['split']('|');let _0xce0cf2=0x0;while(!![]){switch(_0x541937[_0xce0cf2++]){case'0':if(_0x5bfd42[_0x1139cd(0xbe)](_0x3204a8[_0x1139cd(0xb6)]))return!![];continue;case'1':if(_0x5bfd42[_0x1139cd(0xbe)](_0x3204a8[_0x1139cd(0xbd)]))return!![];continue;case'2':return![];case'3':if(_0x5bfd42[_0x1139cd(0xc9)](_0x3204a8[_0x1139cd(0xcc)])||_0x5bfd42['startsWith'](_0x3204a8[_0x1139cd(0xb9)]))return!![];continue;case'4':if(!_0x5bfd42)return!![];continue;}break;}}function pickUserFrameFile(_0x16dbb6){const _0x3c3d10=a140_0x4026,_0x11dbb8={'UmhRD':function(_0x7e01ff,_0x13e444){return _0x7e01ff!==_0x13e444;},'JDdhX':_0x3c3d10(0xcd),'ciKEA':function(_0x4a2cf1,_0x287d69){return _0x4a2cf1(_0x287d69);}};if(!Array[_0x3c3d10(0xbf)](_0x16dbb6))return null;for(const _0x16782a of _0x16dbb6){if(!_0x16782a||_0x11dbb8[_0x3c3d10(0xbb)](typeof _0x16782a[_0x3c3d10(0xb8)],_0x11dbb8['JDdhX']))continue;const _0x3f8908=_0x16782a[_0x3c3d10(0xb8)]();if(!_0x11dbb8[_0x3c3d10(0xb5)](isInternalFrameFile,_0x3f8908))return _0x3f8908;}return null;}const a140_0x1e676a={};a140_0x1e676a['isInternalFrameFile']=isInternalFrameFile,a140_0x1e676a['pickUserFrameFile']=pickUserFrameFile,module[a140_0x4b9b39(0xc2)]=a140_0x1e676a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a141_0x188af4=a141_0x1a91;(function(_0x4c7668,_0x43fce3){const _0x4152f5=a141_0x1a91,_0x3d557b=_0x4c7668();while(!![]){try{const _0x4d6e1f=parseInt(_0x4152f5(0x174))/0x1+-parseInt(_0x4152f5(0x182))/0x2*(-parseInt(_0x4152f5(0x15e))/0x3)+-parseInt(_0x4152f5(0x188))/0x4+parseInt(_0x4152f5(0x17b))/0x5+parseInt(_0x4152f5(0x171))/0x6+-parseInt(_0x4152f5(0x16e))/0x7*(-parseInt(_0x4152f5(0x181))/0x8)+parseInt(_0x4152f5(0x177))/0x9*(-parseInt(_0x4152f5(0x172))/0xa);if(_0x4d6e1f===_0x43fce3)break;else _0x3d557b['push'](_0x3d557b['shift']());}catch(_0x1323c7){_0x3d557b['push'](_0x3d557b['shift']());}}}(a141_0x488d,0x3add4));const path=require(a141_0x188af4(0x175)),{logDir}=require(a141_0x188af4(0x167)),a141_0x5445db={};a141_0x5445db[a141_0x188af4(0x179)]=a141_0x188af4(0x187),a141_0x5445db[a141_0x188af4(0x178)]=a141_0x188af4(0x180),a141_0x5445db[a141_0x188af4(0x15f)]='codeceptjs',a141_0x5445db[a141_0x188af4(0x163)]=a141_0x188af4(0x161),a141_0x5445db['JEST']=a141_0x188af4(0x184),a141_0x5445db[a141_0x188af4(0x16b)]=a141_0x188af4(0x16a),a141_0x5445db[a141_0x188af4(0x164)]=a141_0x188af4(0x17f),a141_0x5445db[a141_0x188af4(0x17d)]='newman',module[a141_0x188af4(0x160)]={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a141_0x188af4(0x173),'OBSERVABILITY_UPLOAD_API_URL':a141_0x188af4(0x183),'EVENT_ENDPOINT':a141_0x188af4(0x186),'BATCH_ENDPOINT':a141_0x188af4(0x169),'SCREENSHOT_ENDPOINT':a141_0x188af4(0x162),'UPLOAD_ATTACHMENT_ENDPOINT':a141_0x188af4(0x166),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path['join'](logDir,a141_0x188af4(0x17c)),'FRAMEWORKS':a141_0x5445db};const _env=(process['env']['BROWSERSTACK_ENV']||a141_0x188af4(0x165))[a141_0x188af4(0x168)]();if(_env==='staging'||_env===a141_0x188af4(0x16d))module['exports'][a141_0x188af4(0x170)]='https://collector-observability-devtestops.bsstag.com',module[a141_0x188af4(0x160)][a141_0x188af4(0x17a)]=a141_0x188af4(0x185);else(_env===a141_0x188af4(0x176)||_env===a141_0x188af4(0x16c))&&(module[a141_0x188af4(0x160)]['API_URL']=a141_0x188af4(0x16f),module[a141_0x188af4(0x160)][a141_0x188af4(0x17a)]=a141_0x188af4(0x17e));function a141_0x1a91(_0x1525c1,_0x513621){const _0x488d19=a141_0x488d();return a141_0x1a91=function(_0x1a9160,_0x206d35){_0x1a9160=_0x1a9160-0x15e;let _0x3984e2=_0x488d19[_0x1a9160];return _0x3984e2;},a141_0x1a91(_0x1525c1,_0x513621);}function a141_0x488d(){const _0x96addc=['OBSERVABILITY_UPLOAD_API_URL','2256945YtHlLV','.obs_test_details','NEWMAN','https://upload-observability-preprod.bsstag.com','puppeteer','mocha','40fjGCPx','782318iDgIib','https://upload-observability.browserstack.com','jest','https://upload-observability-devtestops-ssi.bsstag.com','api/v1/event','Playwright','924820bLbEAG','3EwKqMb','CODECEPT','exports','codeceptjs-cucumber','api/v1/screenshots','CODECEPT_CUCUMBER','PUPPETEER','prod','upload-attachments','../logger','toLowerCase','api/v1/batch','cucumber','CUCUMBER','pre-prod','stag','388262myGxOj','https://collector-observability-preprod.bsstag.com','API_URL','2608050MiztXv','12174780XaXmSp','https://collector-observability.browserstack.com','135238gLHBWY','path','preprod','9SJLLCI','MOCHA','PLAYWRIGHT'];a141_0x488d=function(){return _0x96addc;};return a141_0x488d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a141_0x2390a6=a141_0xde6d;(function(_0x10f834,_0x3d6e6d){const _0x399f66=a141_0xde6d,_0x2dbd7f=_0x10f834();while(!![]){try{const _0x3e7ad2=-parseInt(_0x399f66(0x153))/0x1*(-parseInt(_0x399f66(0x177))/0x2)+-parseInt(_0x399f66(0x157))/0x3*(parseInt(_0x399f66(0x1b2))/0x4)+-parseInt(_0x399f66(0x1b8))/0x5*(-parseInt(_0x399f66(0x183))/0x6)+parseInt(_0x399f66(0x14e))/0x7*(parseInt(_0x399f66(0x163))/0x8)+-parseInt(_0x399f66(0x179))/0x9+parseInt(_0x399f66(0x171))/0xa*(-parseInt(_0x399f66(0x15d))/0xb)+parseInt(_0x399f66(0x17e))/0xc*(parseInt(_0x399f66(0x18e))/0xd);if(_0x3e7ad2===_0x3d6e6d)break;else _0x2dbd7f['push'](_0x2dbd7f['shift']());}catch(_0x264a5b){_0x2dbd7f['push'](_0x2dbd7f['shift']());}}}(a141_0x56c7,0x6dd97));const util=require(a141_0x2390a6(0x1b0)),PerformanceTester=require(a141_0x2390a6(0x155)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a141_0x2390a6(0x1a8)),{getAgentVersion,nestedKeyValue}=require(a141_0x2390a6(0x16b)),o11yErrorHandler=(_0x2f30b5,_0x3fde7a='',_0x26236f=[''],_0x338225=![])=>{const _0x1786a0={'jNraR':function(_0x8d2c8d,_0x27f316){return _0x8d2c8d(_0x27f316);},'ezvhr':function(_0x50f54a,_0x33a48c,_0x5e4ae1){return _0x50f54a(_0x33a48c,_0x5e4ae1);},'jzBLM':function(_0x5d236e,_0x38e4e8){return _0x5d236e(_0x38e4e8);},'prPoe':function(_0xef7f77,_0xd62fe5,_0x470b66){return _0xef7f77(_0xd62fe5,_0x470b66);},'SxLmN':function(_0x4d0d28,_0x3d21cd){return _0x4d0d28 instanceof _0x3d21cd;},'XzqLy':function(_0x463f09,_0x30b137,_0x19745d,_0xd8f932,_0x24179f){return _0x463f09(_0x30b137,_0x19745d,_0xd8f932,_0x24179f);}};return function(..._0x2c43f5){const _0x311b6d=a141_0xde6d;try{let _0x2595ae=_0x2f30b5;process[_0x311b6d(0x170)][_0x311b6d(0x188)]&&(_0x2595ae=PerformanceTester[_0x311b6d(0x149)]()['timerify'](_0x2595ae));_0x338225&&_0x1786a0[_0x311b6d(0x14a)](trace,'Started\x20::\x20'+_0x3fde7a+_0x311b6d(0x187)+process[_0x311b6d(0x1b5)]+_0x311b6d(0x1ae)+_0x1786a0[_0x311b6d(0x193)](nestedKeyValue,arguments[0x0],_0x26236f));const _0x2b3cf7=_0x2595ae[_0x311b6d(0x1ab)](null,arguments);_0x338225&&_0x1786a0['jzBLM'](trace,_0x311b6d(0x16c)+_0x3fde7a+_0x311b6d(0x187)+process[_0x311b6d(0x1b5)]+_0x311b6d(0x1ae)+_0x1786a0[_0x311b6d(0x152)](nestedKeyValue,arguments[0x0],_0x26236f));if(_0x1786a0[_0x311b6d(0x189)](_0x2b3cf7,Promise))return _0x2b3cf7['catch'](_0x3b9b74=>processError(_0x3b9b74,_0x2f30b5,_0x2c43f5,_0x3fde7a));return _0x2b3cf7;}catch(_0x38a717){_0x1786a0[_0x311b6d(0x165)](processError,_0x38a717,_0x2f30b5,_0x2c43f5,_0x3fde7a);}};},o11yClassErrorHandler=(_0x184943,_0x546bbd,_0x40e04d='')=>{const _0xad67ea=a141_0x2390a6,_0x12d74a={'Hksrq':function(_0xb3acc5,_0x263114){return _0xb3acc5 instanceof _0x263114;},'BvuGD':function(_0x2a7dd2,_0x487fa3,_0x8c8806,_0x4c9ac0,_0x5b90fc){return _0x2a7dd2(_0x487fa3,_0x8c8806,_0x4c9ac0,_0x5b90fc);},'fyysm':function(_0x166fec,_0x4694ad){return _0x166fec===_0x4694ad;},'RwCsp':_0xad67ea(0x160),'ZqtrN':function(_0x2e108c,_0x508adc){return _0x2e108c!==_0x508adc;},'frSwK':_0xad67ea(0x190),'XWGjQ':function(_0x89382f,_0x42e1fa){return _0x89382f<_0x42e1fa;}},_0x4ab261=_0x184943[_0xad67ea(0x17f)];if(_0x12d74a[_0xad67ea(0x1a0)](Object[_0xad67ea(0x1ad)](_0x4ab261)[_0xad67ea(0x195)],0x2))return _0x184943;return Object[_0xad67ea(0x1ad)](_0x4ab261)[_0xad67ea(0x1aa)](_0xbe9712=>{const _0x2ed5dd=_0xad67ea,_0x3e082e={'rsaVA':function(_0x55a8fd,_0x51de09){const _0x2ad1f2=a141_0xde6d;return _0x12d74a[_0x2ad1f2(0x164)](_0x55a8fd,_0x51de09);},'JAFbm':function(_0x1e0589,_0x17a942,_0x5d3ef7,_0x36bfb3,_0x54d3e0){const _0x385fe0=a141_0xde6d;return _0x12d74a[_0x385fe0(0x1b7)](_0x1e0589,_0x17a942,_0x5d3ef7,_0x36bfb3,_0x54d3e0);}};if(!(_0x546bbd&&_0x546bbd[_0x2ed5dd(0x18f)](_0xbe9712)))return;const _0x48d54c=_0x4ab261[_0xbe9712];_0x12d74a['fyysm'](typeof _0x48d54c,_0x12d74a['RwCsp'])&&_0x12d74a['ZqtrN'](_0xbe9712,_0x12d74a[_0x2ed5dd(0x161)])&&Object[_0x2ed5dd(0x1ac)](_0x4ab261,_0xbe9712,{'writable':!![],'value':function(..._0x2078d0){const _0x475d53=_0x2ed5dd;try{const _0x1326b0=(process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x475d53(0x149)]()[_0x475d53(0x15a)](_0x48d54c):_0x48d54c)[_0x475d53(0x17a)](this,..._0x2078d0);if(_0x3e082e[_0x475d53(0x1a9)](_0x1326b0,Promise))return _0x1326b0[_0x475d53(0x1a1)](_0x361519=>processError(_0x361519,_0x48d54c,_0x2078d0,_0x40e04d));return _0x1326b0;}catch(_0x2020f4){_0x3e082e[_0x475d53(0x185)](processError,_0x2020f4,_0x48d54c,_0x2078d0,_0x40e04d);}}});}),_0x184943;};function a141_0xde6d(_0x360f83,_0xfb63d8){const _0x56c72a=a141_0x56c7();return a141_0xde6d=function(_0xde6db0,_0x5d6758){_0xde6db0=_0xde6db0-0x149;let _0x38340d=_0x56c72a[_0xde6db0];return _0x38340d;},a141_0xde6d(_0x360f83,_0xfb63d8);}function processError(_0x543cc1,_0xb77cc2,_0x24b638,_0x7da43){const _0x5a58f4=a141_0x2390a6,_0xc94f53={'pPtXz':function(_0x3e4c4d,_0x46e5cc){return _0x3e4c4d(_0x46e5cc);}};_0xc94f53[_0x5a58f4(0x1af)](debug,_0x5a58f4(0x1bb)+_0xb77cc2[_0x5a58f4(0x154)]+_0x5a58f4(0x175)+_0x7da43+'.\x20Error\x20-\x20'+util[_0x5a58f4(0x1bc)](_0x543cc1)+_0x5a58f4(0x1b3)+_0x24b638+'.'),PerformanceTester[_0x5a58f4(0x1b9)](_0x543cc1);let _0x4cd4b3;try{_0x4cd4b3=JSON[_0x5a58f4(0x15c)](_0x24b638);}catch(_0xd5767d){const _0x538514={};_0x538514[_0x5a58f4(0x1bd)]=0x2,_0x4cd4b3=util[_0x5a58f4(0x1b1)](_0x24b638,_0x538514);}CrashReporter[_0x5a58f4(0x151)]('Error\x20in\x20executing\x20'+_0xb77cc2['name']+'\x20--\x20'+_0x7da43+_0x5a58f4(0x181)+_0x543cc1+'.\x20Args\x20-\x20'+_0x4cd4b3+'.',_0x543cc1&&_0x543cc1[_0x5a58f4(0x176)]);}function a141_0x56c7(){const _0xbf6372=['toString','Error\x20in\x20executing\x20','format','depth','ycwbW','OeJlz','getPerformance','jNraR','frameworkDetails','nwrgb','X-BSTACK-TESTOPS','7vetbjt','toLowerCase','Content-Type','uploadCrashReport','prPoe','38714ZGUlkH','name','../performance/performance-tester','filterPII','671865DgFYWE','DWEro','then','timerify','object','stringify','54549cnMcnS','QwILP','BS_TESTOPS_BUILD_HASHED_ID','function','frSwK','headers','4140352waJhSr','Hksrq','XzqLy','credentials','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','getCredentials','[Crash_Report_Upload]\x20Success\x20response:\x20','vrBHO','../helper','Finished\x20::\x20','CREDENTIALS_FOR_CRASH_REPORTING','AGRjj','frameworkName','env','940hXTytR','setCredentials','mIEgj','pubNW','\x20--\x20','stack','26dEsTEy','RAwIR','1842948nRrPoX','call','USER_CONFIG_FOR_REPORTING','zesTV','password','271944LmbNNq','prototype','CUqpF','.\x20Error\x20-\x20','frameworkVersion','703914QjLiLm','username','JAFbm','mSADN',',\x20PID\x20-\x20','BROWSERSTACK_O11Y_PERF_MEASUREMENT','SxLmN','getFramework','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','tpjWu','setAllDetails','39fDaqCR','includes','constructor','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','ezvhr','/api/v1/analytics','length','exports','goUGd','keys','setFrameworkDetails','MPyEm','userConfig','thOOs','setConfigDetails','o11yClassErrorHandler','yJJqg','XWGjQ','catch','parse','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','initialize','accessKey','recursivelyDeletePIIKeysFromObject','ghPsO','./utils','rsaVA','forEach','apply','defineProperty','getOwnPropertyNames',',\x20Argument\x20-\x20','pPtXz','util','inspect','12YOblaa','.\x20Args\x20-\x20','key','pid','nTWeH','BvuGD','30TDrOJG','captureError'];a141_0x56c7=function(){return _0xbf6372;};return a141_0x56c7();}class CrashReporter{static ['userConfig']={};static [a141_0x2390a6(0x166)];static ['frameworkDetails']={};static[a141_0x2390a6(0x1a4)](_0x3748dd,_0x6389f,_0x2b15c0=null){const _0x590319=a141_0x2390a6,_0x299dbb={'DWEro':function(_0x2233d8,_0x45067a){return _0x2233d8(_0x45067a);},'bNYpJ':function(_0x109e2d,_0x302680){return _0x109e2d(_0x302680);},'aYRjf':function(_0x526c5d,_0x122fb6){return _0x526c5d(_0x122fb6);}},_0x25fc89=_0x3748dd[_0x590319(0x16f)],_0x158a2a=_0x3748dd['frameworkVersion'];!_0x2b15c0&&(_0x2b15c0=_0x299dbb[_0x590319(0x158)](getBrowserStackConfig,_0x25fc89));!_0x158a2a&&_0x299dbb['bNYpJ'](getFrameworkVersion,_0x25fc89);const _0xcd86c={};_0xcd86c[_0x590319(0x16f)]=_0x25fc89,_0xcd86c[_0x590319(0x182)]=_0x158a2a,this[_0x590319(0x18d)](_0xcd86c,_0x6389f,_0x299dbb['aYRjf'](getUserCredentials,_0x2b15c0));}static['setCredentials'](_0x5a83fc,_0x1812fc){const _0x5ae157=a141_0x2390a6,_0x1f7c43={};_0x1f7c43[_0x5ae157(0x184)]=_0x5a83fc,_0x1f7c43[_0x5ae157(0x1a5)]=_0x1812fc,this[_0x5ae157(0x166)]=_0x1f7c43,process[_0x5ae157(0x170)][_0x5ae157(0x16d)]=JSON['stringify'](this['credentials']);}static[a141_0x2390a6(0x168)](){const _0x44659f=a141_0x2390a6,_0x3d5276={'CUqpF':function(_0x1bd5df,_0x2e3775){return _0x1bd5df(_0x2e3775);}};if(!this[_0x44659f(0x166)]&&process[_0x44659f(0x170)][_0x44659f(0x16d)])try{this[_0x44659f(0x166)]=JSON[_0x44659f(0x1a2)](process[_0x44659f(0x170)][_0x44659f(0x16d)]);}catch(_0x47de14){_0x3d5276[_0x44659f(0x180)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x47de14['toString']());}return this[_0x44659f(0x166)];}static[a141_0x2390a6(0x19d)](_0x40010d){const _0x151750=a141_0x2390a6;this['userConfig']=this[_0x151750(0x156)](_0x40010d),process['env'][_0x151750(0x17b)]=JSON[_0x151750(0x15c)](this[_0x151750(0x19b)]);}static['getConfig'](){const _0x21007d=a141_0x2390a6,_0x15c973={'tpjWu':function(_0x504900,_0x49cef2){return _0x504900===_0x49cef2;},'pubNW':function(_0x4cd23f,_0x3e8716){return _0x4cd23f(_0x3e8716);}};if(_0x15c973[_0x21007d(0x18c)](Object[_0x21007d(0x198)](this['userConfig'])['length'],0x0)&&process[_0x21007d(0x170)][_0x21007d(0x17b)])try{this['userConfig']=JSON[_0x21007d(0x1a2)](process['env'][_0x21007d(0x17b)]);}catch(_0x2652a2){_0x15c973[_0x21007d(0x174)](debug,_0x21007d(0x1a3)+_0x2652a2[_0x21007d(0x1ba)]()),this[_0x21007d(0x19b)]={};}return this[_0x21007d(0x19b)];}static[a141_0x2390a6(0x199)](_0x1e7eb2){const _0x59339d=a141_0x2390a6;this[_0x59339d(0x14b)]=_0x1e7eb2,process[_0x59339d(0x170)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']=JSON[_0x59339d(0x15c)](this[_0x59339d(0x14b)]);}static[a141_0x2390a6(0x18a)](){const _0x5b7424=a141_0x2390a6,_0x2ffcfe={'OeJlz':function(_0x458e47,_0x4087d3){return _0x458e47===_0x4087d3;},'RAwIR':function(_0x4d2b5b,_0x5e4ac3){return _0x4d2b5b(_0x5e4ac3);}};if(_0x2ffcfe[_0x5b7424(0x1bf)](Object[_0x5b7424(0x198)](this[_0x5b7424(0x14b)])[_0x5b7424(0x195)],0x0)&&process[_0x5b7424(0x170)][_0x5b7424(0x167)])try{this[_0x5b7424(0x14b)]=JSON[_0x5b7424(0x1a2)](process[_0x5b7424(0x170)][_0x5b7424(0x167)]);}catch(_0x4a0197){_0x2ffcfe[_0x5b7424(0x178)](debug,_0x5b7424(0x191)+_0x4a0197[_0x5b7424(0x1ba)]());}return this[_0x5b7424(0x14b)];}static[a141_0x2390a6(0x18d)](_0x1149c8,_0x40de10,_0x980d64){const _0x39c4dc=a141_0x2390a6;_0x1149c8&&this[_0x39c4dc(0x199)](_0x1149c8),_0x40de10&&this[_0x39c4dc(0x19d)](_0x40de10),_0x980d64&&this[_0x39c4dc(0x172)](_0x980d64[_0x39c4dc(0x184)],_0x980d64[_0x39c4dc(0x1a5)]);}static async[a141_0x2390a6(0x151)](_0xc28b3b,_0xbdf57a){const _0x5f1227=a141_0x2390a6,_0x4553fd={'vrBHO':function(_0x30e4fc,_0x59bae2){return _0x30e4fc(_0x59bae2);},'ZKHBg':function(_0x50c315,_0x37a040){return _0x50c315(_0x37a040);},'nTWeH':_0x5f1227(0x192),'mSADN':function(_0x51d787){return _0x51d787();},'QwILP':_0x5f1227(0x194),'zesTV':'application/json','nwrgb':'true','thOOs':function(_0xbbb3f9,_0x123ac0,_0x5a2091,_0x3e6ddc,_0x38c84a,_0x1d5f1f){return _0xbbb3f9(_0x123ac0,_0x5a2091,_0x3e6ddc,_0x38c84a,_0x1d5f1f);},'mIEgj':'POST'};this[_0x5f1227(0x168)]();if(!this[_0x5f1227(0x166)])return _0x4553fd['ZKHBg'](debug,_0x4553fd[_0x5f1227(0x1b6)]);this['getConfig'](),this[_0x5f1227(0x18a)]();const _0x43cf1c={'hashed_id':process[_0x5f1227(0x170)][_0x5f1227(0x15f)],'observability_version':{'sdkVersion':_0x4553fd[_0x5f1227(0x186)](getAgentVersion),'frameworkName':this[_0x5f1227(0x14b)][_0x5f1227(0x16f)],'frameworkVersion':this['frameworkDetails'][_0x5f1227(0x182)]},'exception':{'error':_0xc28b3b[_0x5f1227(0x1ba)](),'stackTrace':_0xbdf57a},'config':this[_0x5f1227(0x19b)]},_0x1f2092=_0x4553fd[_0x5f1227(0x15e)],_0x91e9a7={};_0x91e9a7[_0x5f1227(0x184)]=this['credentials'][_0x5f1227(0x184)],_0x91e9a7['password']=this[_0x5f1227(0x166)][_0x5f1227(0x1a5)];const _0x47d521={};_0x47d521[_0x5f1227(0x150)]=_0x4553fd[_0x5f1227(0x17c)],_0x47d521[_0x5f1227(0x14d)]=_0x4553fd[_0x5f1227(0x14c)];const _0x2949ab={};_0x2949ab['auth']=_0x91e9a7,_0x2949ab[_0x5f1227(0x162)]=_0x47d521;const _0x3ecbd7=_0x2949ab;_0x4553fd[_0x5f1227(0x19c)](nodeRequest,_0x4553fd[_0x5f1227(0x173)],_0x1f2092,_0x43cf1c,_0x3ecbd7,![])[_0x5f1227(0x159)](_0x39b89b=>{const _0x3a26d7=_0x5f1227;_0x4553fd[_0x3a26d7(0x16a)](debug,_0x3a26d7(0x169)+JSON['stringify'](_0x39b89b));})[_0x5f1227(0x1a1)](_0x18cf26=>{const _0xec80ca=_0x5f1227;_0x4553fd[_0xec80ca(0x16a)](debug,_0xec80ca(0x18b)+util[_0xec80ca(0x1bc)](_0x18cf26));});}static[a141_0x2390a6(0x1a6)](_0x1444b1){const _0x5d87f7=a141_0x2390a6,_0x19437a={};_0x19437a[_0x5d87f7(0x1a7)]='user',_0x19437a['MPyEm']=_0x5d87f7(0x184),_0x19437a[_0x5d87f7(0x16e)]=_0x5d87f7(0x1b4),_0x19437a[_0x5d87f7(0x1be)]='accessKey',_0x19437a['fdCNW']=_0x5d87f7(0x17d),_0x19437a[_0x5d87f7(0x197)]=function(_0x1cbfd9,_0x1f0a9a){return _0x1cbfd9===_0x1f0a9a;},_0x19437a[_0x5d87f7(0x19f)]=_0x5d87f7(0x15b);const _0x274e5a=_0x19437a;if(!_0x1444b1)return;const _0x560afe=[_0x274e5a[_0x5d87f7(0x1a7)],_0x274e5a[_0x5d87f7(0x19a)],_0x274e5a['AGRjj'],_0x274e5a[_0x5d87f7(0x1be)],_0x274e5a['fdCNW']];for(const _0x896727 in _0x1444b1){if(_0x560afe[_0x5d87f7(0x18f)](_0x896727[_0x5d87f7(0x14f)]()))delete _0x1444b1[_0x896727];else _0x274e5a[_0x5d87f7(0x197)](typeof _0x1444b1[_0x896727],_0x274e5a[_0x5d87f7(0x19f)])&&this[_0x5d87f7(0x1a6)](_0x1444b1[_0x896727]);}}static[a141_0x2390a6(0x156)](_0x3a05f4){const _0x3f4781=a141_0x2390a6,_0x24fdc4=JSON[_0x3f4781(0x1a2)](JSON[_0x3f4781(0x15c)](_0x3a05f4));return this['recursivelyDeletePIIKeysFromObject'](_0x24fdc4),_0x24fdc4;}}const a141_0x386e3c={};a141_0x386e3c['o11yErrorHandler']=o11yErrorHandler,a141_0x386e3c[a141_0x2390a6(0x19e)]=o11yClassErrorHandler,a141_0x386e3c['CrashReporter']=CrashReporter,module[a141_0x2390a6(0x196)]=a141_0x386e3c;
|
|
1
|
+
function a142_0x1224(_0x1ce962,_0x12ac0f){const _0x5b81d6=a142_0x5b81();return a142_0x1224=function(_0x122496,_0x5d9d15){_0x122496=_0x122496-0x97;let _0x27e1a5=_0x5b81d6[_0x122496];return _0x27e1a5;},a142_0x1224(_0x1ce962,_0x12ac0f);}const a142_0x169e24=a142_0x1224;(function(_0x36bce3,_0x4c1830){const _0x2e25b7=a142_0x1224,_0x3f6652=_0x36bce3();while(!![]){try{const _0x4a7adf=parseInt(_0x2e25b7(0xc2))/0x1+parseInt(_0x2e25b7(0xb4))/0x2+parseInt(_0x2e25b7(0xa0))/0x3+-parseInt(_0x2e25b7(0xd7))/0x4+parseInt(_0x2e25b7(0x100))/0x5*(parseInt(_0x2e25b7(0xa6))/0x6)+-parseInt(_0x2e25b7(0xd9))/0x7*(parseInt(_0x2e25b7(0xf7))/0x8)+parseInt(_0x2e25b7(0xc0))/0x9*(parseInt(_0x2e25b7(0xc3))/0xa);if(_0x4a7adf===_0x4c1830)break;else _0x3f6652['push'](_0x3f6652['shift']());}catch(_0x14b19d){_0x3f6652['push'](_0x3f6652['shift']());}}}(a142_0x5b81,0xb452c));const util=require(a142_0x169e24(0xe8)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a142_0x169e24(0xf3)),{getAgentVersion,nestedKeyValue}=require(a142_0x169e24(0xd1)),o11yErrorHandler=(_0x90da87,_0x39ebd8='',_0x3ac375=[''],_0x43d858=![])=>{const _0x2a4504={'HuhCG':function(_0x4edb0c,_0x27020b){return _0x4edb0c(_0x27020b);},'sFzqh':function(_0x4e53ba,_0x493ea8,_0x5b9d41){return _0x4e53ba(_0x493ea8,_0x5b9d41);},'GTJYQ':function(_0x75b61a,_0x12bdc6){return _0x75b61a(_0x12bdc6);},'mWPes':function(_0x450d78,_0x5ceb3a,_0x1c1cc9){return _0x450d78(_0x5ceb3a,_0x1c1cc9);},'tyeTe':function(_0x59d766,_0x4af643){return _0x59d766 instanceof _0x4af643;},'rLjRn':function(_0x488d3e,_0x115c8a,_0x198d5f,_0x3a1a79,_0x8fd97a){return _0x488d3e(_0x115c8a,_0x198d5f,_0x3a1a79,_0x8fd97a);}};return function(..._0x2d3efb){const _0x5b4fef=a142_0x1224;try{let _0x4e2d13=_0x90da87;process['env'][_0x5b4fef(0xde)]&&(_0x4e2d13=PerformanceTester[_0x5b4fef(0xaf)]()[_0x5b4fef(0xea)](_0x4e2d13));_0x43d858&&_0x2a4504[_0x5b4fef(0xcb)](trace,'Started\x20::\x20'+_0x39ebd8+_0x5b4fef(0xbe)+process['pid']+',\x20Argument\x20-\x20'+_0x2a4504['sFzqh'](nestedKeyValue,arguments[0x0],_0x3ac375));const _0x3ddab9=_0x4e2d13[_0x5b4fef(0xbf)](null,arguments);_0x43d858&&_0x2a4504[_0x5b4fef(0xb6)](trace,_0x5b4fef(0xfb)+_0x39ebd8+_0x5b4fef(0xbe)+process[_0x5b4fef(0xef)]+_0x5b4fef(0xfa)+_0x2a4504['mWPes'](nestedKeyValue,arguments[0x0],_0x3ac375));if(_0x2a4504[_0x5b4fef(0xd5)](_0x3ddab9,Promise))return _0x3ddab9[_0x5b4fef(0xb3)](_0x338acf=>processError(_0x338acf,_0x90da87,_0x2d3efb,_0x39ebd8));return _0x3ddab9;}catch(_0x1dcb8e){_0x2a4504[_0x5b4fef(0xd6)](processError,_0x1dcb8e,_0x90da87,_0x2d3efb,_0x39ebd8);}};},o11yClassErrorHandler=(_0x4ed766,_0x731a63,_0x2c3f12='')=>{const _0xe8880=a142_0x169e24,_0x1a51e1={'rASGH':function(_0x5c4445,_0x59568b){return _0x5c4445 instanceof _0x59568b;},'CPLpd':function(_0x39547c,_0x246386,_0x7fc1c6,_0x5c263a,_0x10513c){return _0x39547c(_0x246386,_0x7fc1c6,_0x5c263a,_0x10513c);},'BMxRV':function(_0xee413a,_0x2d0752){return _0xee413a===_0x2d0752;},'wrsMY':_0xe8880(0x9d),'UFeyv':function(_0x4240e3,_0x2ad2f4){return _0x4240e3!==_0x2ad2f4;},'CVoFl':_0xe8880(0xc4),'XdadG':function(_0x4f12e0,_0x21f3a0){return _0x4f12e0<_0x21f3a0;}},_0x4af017=_0x4ed766[_0xe8880(0x9a)];if(_0x1a51e1['XdadG'](Object[_0xe8880(0x9f)](_0x4af017)['length'],0x2))return _0x4ed766;return Object['getOwnPropertyNames'](_0x4af017)['forEach'](_0x44aa13=>{const _0x1abeeb=_0xe8880;if(!(_0x731a63&&_0x731a63[_0x1abeeb(0xa9)](_0x44aa13)))return;const _0x3cfd88=_0x4af017[_0x44aa13];_0x1a51e1['BMxRV'](typeof _0x3cfd88,_0x1a51e1[_0x1abeeb(0xf5)])&&_0x1a51e1[_0x1abeeb(0xdd)](_0x44aa13,_0x1a51e1['CVoFl'])&&Object['defineProperty'](_0x4af017,_0x44aa13,{'writable':!![],'value':function(..._0xec2f06){const _0x24ab82=_0x1abeeb;try{const _0x1710d5=(process[_0x24ab82(0xeb)][_0x24ab82(0xde)]?PerformanceTester[_0x24ab82(0xaf)]()[_0x24ab82(0xea)](_0x3cfd88):_0x3cfd88)[_0x24ab82(0xa2)](this,..._0xec2f06);if(_0x1a51e1[_0x24ab82(0xb0)](_0x1710d5,Promise))return _0x1710d5[_0x24ab82(0xb3)](_0x37af9b=>processError(_0x37af9b,_0x3cfd88,_0xec2f06,_0x2c3f12));return _0x1710d5;}catch(_0xb3a996){_0x1a51e1[_0x24ab82(0xe5)](processError,_0xb3a996,_0x3cfd88,_0xec2f06,_0x2c3f12);}}});}),_0x4ed766;};function a142_0x5b81(){const _0x4532e5=['getPerformance','rASGH','yKXVS','XPLIY','catch','219330UnEqsf','o11yErrorHandler','GTJYQ','uploadCrashReport','getFramework','.\x20Args\x20-\x20','password','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','format','username',',\x20PID\x20-\x20','apply','3060zbwBlG','getCredentials','1354721SqtciK','4490IHTKvI','constructor','setCredentials','NaAjl','USER_CONFIG_FOR_REPORTING','captureError','EDDkN','exports','HuhCG','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','.\x20Error\x20-\x20','yaiMy','zlPAO','MylMn','../helper','zkVye','stringify','getConfig','tyeTe','rLjRn','5152456SXBqly','frameworkDetails','2561489dGCdbM','filterPII','parse','Error\x20in\x20executing\x20','UFeyv','BROWSERSTACK_O11Y_PERF_MEASUREMENT','auth','OCdYM','user','PWkDJ','Content-Type','VPyZr','CPLpd','initialize','BmAzm','util','WDegt','timerify','env','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','YJjzm','vEjPv','pid','object','headers','setAllDetails','./utils','o11yClassErrorHandler','wrsMY','gFChy','8rFDbwU','bouua','credentials',',\x20Argument\x20-\x20','Finished\x20::\x20','length','frameworkVersion','setConfigDetails','CrashReporter','822775NGGNnE','setFrameworkDetails','depth','hpTig','prototype','BS_TESTOPS_BUILD_HASHED_ID','CMWfe','function','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','getOwnPropertyNames','1339467ROOuGJ','toString','call','SMUyC','then','frameworkName','12uYTylU','recursivelyDeletePIIKeysFromObject','accessKey','includes','CREDENTIALS_FOR_CRASH_REPORTING','[Crash_Report_Upload]\x20Success\x20response:\x20','userConfig','RDcTV','name'];a142_0x5b81=function(){return _0x4532e5;};return a142_0x5b81();}function processError(_0x5655b7,_0x14967e,_0x324772,_0x6f0e5e){const _0x287e3c=a142_0x169e24,_0x3ff059={'SMUyC':function(_0x4ac364,_0x2d84c0){return _0x4ac364(_0x2d84c0);}};_0x3ff059[_0x287e3c(0xa3)](debug,'Error\x20in\x20executing\x20'+_0x14967e[_0x287e3c(0xae)]+'\x20--\x20'+_0x6f0e5e+_0x287e3c(0xcd)+util[_0x287e3c(0xbc)](_0x5655b7)+'.\x20Args\x20-\x20'+_0x324772+'.'),PerformanceTester[_0x287e3c(0xc8)](_0x5655b7);let _0x7606c4;try{_0x7606c4=JSON[_0x287e3c(0xd3)](_0x324772);}catch(_0x54d761){const _0x7fb017={};_0x7fb017[_0x287e3c(0x98)]=0x2,_0x7606c4=util['inspect'](_0x324772,_0x7fb017);}CrashReporter[_0x287e3c(0xb7)](_0x287e3c(0xdc)+_0x14967e[_0x287e3c(0xae)]+'\x20--\x20'+_0x6f0e5e+_0x287e3c(0xcd)+_0x5655b7+_0x287e3c(0xb9)+_0x7606c4+'.',_0x5655b7&&_0x5655b7['stack']);}class CrashReporter{static [a142_0x169e24(0xac)]={};static [a142_0x169e24(0xf9)];static ['frameworkDetails']={};static[a142_0x169e24(0xe6)](_0x2150bf,_0x4e8613,_0x41a534=null){const _0x25ae1f=a142_0x169e24,_0x5040d3={'bouua':function(_0x445663,_0x37d66f){return _0x445663(_0x37d66f);},'EDDkN':function(_0x2c698f,_0x3cbc39){return _0x2c698f(_0x3cbc39);},'OCdYM':function(_0x278306,_0x2ebe2e){return _0x278306(_0x2ebe2e);}},_0x17f324=_0x2150bf[_0x25ae1f(0xa5)],_0x31da8f=_0x2150bf['frameworkVersion'];!_0x41a534&&(_0x41a534=_0x5040d3[_0x25ae1f(0xf8)](getBrowserStackConfig,_0x17f324));!_0x31da8f&&_0x5040d3[_0x25ae1f(0xc9)](getFrameworkVersion,_0x17f324);const _0x444644={};_0x444644[_0x25ae1f(0xa5)]=_0x17f324,_0x444644[_0x25ae1f(0xfd)]=_0x31da8f,this[_0x25ae1f(0xf2)](_0x444644,_0x4e8613,_0x5040d3[_0x25ae1f(0xe0)](getUserCredentials,_0x41a534));}static[a142_0x169e24(0xc5)](_0x23282b,_0x5deb5a){const _0x5233ad=a142_0x169e24,_0x581870={};_0x581870[_0x5233ad(0xbd)]=_0x23282b,_0x581870[_0x5233ad(0xa8)]=_0x5deb5a,this[_0x5233ad(0xf9)]=_0x581870,process[_0x5233ad(0xeb)][_0x5233ad(0xaa)]=JSON[_0x5233ad(0xd3)](this['credentials']);}static[a142_0x169e24(0xc1)](){const _0x1f8517=a142_0x169e24,_0x38eda0={'PRRDW':function(_0x750451,_0x3351ba){return _0x750451(_0x3351ba);}};if(!this[_0x1f8517(0xf9)]&&process[_0x1f8517(0xeb)][_0x1f8517(0xaa)])try{this[_0x1f8517(0xf9)]=JSON['parse'](process[_0x1f8517(0xeb)][_0x1f8517(0xaa)]);}catch(_0x49c2c3){_0x38eda0['PRRDW'](debug,_0x1f8517(0xcc)+_0x49c2c3[_0x1f8517(0xa1)]());}return this[_0x1f8517(0xf9)];}static[a142_0x169e24(0xfe)](_0x32acaa){const _0x38da6f=a142_0x169e24;this['userConfig']=this[_0x38da6f(0xda)](_0x32acaa),process[_0x38da6f(0xeb)][_0x38da6f(0xc7)]=JSON['stringify'](this[_0x38da6f(0xac)]);}static[a142_0x169e24(0xd4)](){const _0x3831b5=a142_0x169e24,_0x2f571a={'BmAzm':function(_0x38253c,_0xae1675){return _0x38253c===_0xae1675;},'YJjzm':function(_0x4c3728,_0x4cebed){return _0x4c3728(_0x4cebed);}};if(_0x2f571a[_0x3831b5(0xe7)](Object['keys'](this[_0x3831b5(0xac)])[_0x3831b5(0xfc)],0x0)&&process[_0x3831b5(0xeb)][_0x3831b5(0xc7)])try{this[_0x3831b5(0xac)]=JSON[_0x3831b5(0xdb)](process[_0x3831b5(0xeb)][_0x3831b5(0xc7)]);}catch(_0x392b82){_0x2f571a[_0x3831b5(0xed)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x392b82[_0x3831b5(0xa1)]()),this[_0x3831b5(0xac)]={};}return this[_0x3831b5(0xac)];}static['setFrameworkDetails'](_0x9e0cbe){const _0x527752=a142_0x169e24;this[_0x527752(0xd8)]=_0x9e0cbe,process['env'][_0x527752(0xec)]=JSON[_0x527752(0xd3)](this[_0x527752(0xd8)]);}static[a142_0x169e24(0xb8)](){const _0x16fb30=a142_0x169e24,_0x4069a0={'yKXVS':function(_0x841e54,_0x569edd){return _0x841e54===_0x569edd;},'WDegt':function(_0x5e4cfd,_0x2024b8){return _0x5e4cfd(_0x2024b8);}};if(_0x4069a0[_0x16fb30(0xb1)](Object['keys'](this[_0x16fb30(0xd8)])[_0x16fb30(0xfc)],0x0)&&process[_0x16fb30(0xeb)][_0x16fb30(0xec)])try{this[_0x16fb30(0xd8)]=JSON['parse'](process[_0x16fb30(0xeb)][_0x16fb30(0xec)]);}catch(_0x2cfff0){_0x4069a0[_0x16fb30(0xe9)](debug,_0x16fb30(0xcc)+_0x2cfff0[_0x16fb30(0xa1)]());}return this['frameworkDetails'];}static[a142_0x169e24(0xf2)](_0x4213ac,_0x2bc46e,_0xeb8ad){const _0x2056d1=a142_0x169e24;_0x4213ac&&this[_0x2056d1(0x97)](_0x4213ac),_0x2bc46e&&this[_0x2056d1(0xfe)](_0x2bc46e),_0xeb8ad&&this[_0x2056d1(0xc5)](_0xeb8ad[_0x2056d1(0xbd)],_0xeb8ad[_0x2056d1(0xa8)]);}static async[a142_0x169e24(0xb7)](_0xb61c16,_0x2ed426){const _0x5db288=a142_0x169e24,_0x5bc4e6={'NaAjl':function(_0x148f34,_0x402b44){return _0x148f34(_0x402b44);},'MylMn':function(_0x2d9b91,_0x4e6514){return _0x2d9b91(_0x4e6514);},'RDcTV':_0x5db288(0xbb),'hpTig':function(_0x4227a1){return _0x4227a1();},'zXQLT':'/api/v1/analytics','XPLIY':'application/json','CMWfe':'true','kJEZa':function(_0x487d04,_0x269eeb,_0x4d09c3,_0x1f7d8e,_0x15e512,_0x410563){return _0x487d04(_0x269eeb,_0x4d09c3,_0x1f7d8e,_0x15e512,_0x410563);},'vEjPv':'POST'};this[_0x5db288(0xc1)]();if(!this['credentials'])return _0x5bc4e6[_0x5db288(0xd0)](debug,_0x5bc4e6[_0x5db288(0xad)]);this['getConfig'](),this[_0x5db288(0xb8)]();const _0x1c82d7={'hashed_id':process[_0x5db288(0xeb)][_0x5db288(0x9b)],'observability_version':{'sdkVersion':_0x5bc4e6[_0x5db288(0x99)](getAgentVersion),'frameworkName':this[_0x5db288(0xd8)][_0x5db288(0xa5)],'frameworkVersion':this[_0x5db288(0xd8)]['frameworkVersion']},'exception':{'error':_0xb61c16[_0x5db288(0xa1)](),'stackTrace':_0x2ed426},'config':this['userConfig']},_0x4c6d21=_0x5bc4e6['zXQLT'],_0x405e93={};_0x405e93[_0x5db288(0xbd)]=this[_0x5db288(0xf9)][_0x5db288(0xbd)],_0x405e93['password']=this[_0x5db288(0xf9)][_0x5db288(0xa8)];const _0x2158d0={};_0x2158d0[_0x5db288(0xe3)]=_0x5bc4e6[_0x5db288(0xb2)],_0x2158d0['X-BSTACK-TESTOPS']=_0x5bc4e6[_0x5db288(0x9c)];const _0x3c27f5={};_0x3c27f5[_0x5db288(0xdf)]=_0x405e93,_0x3c27f5[_0x5db288(0xf1)]=_0x2158d0;const _0x43ee78=_0x3c27f5;_0x5bc4e6['kJEZa'](nodeRequest,_0x5bc4e6[_0x5db288(0xee)],_0x4c6d21,_0x1c82d7,_0x43ee78,![])[_0x5db288(0xa4)](_0x3ede9e=>{const _0x5babee=_0x5db288;_0x5bc4e6[_0x5babee(0xc6)](debug,_0x5babee(0xab)+JSON[_0x5babee(0xd3)](_0x3ede9e));})[_0x5db288(0xb3)](_0x22304c=>{const _0x46337a=_0x5db288;_0x5bc4e6[_0x46337a(0xc6)](debug,_0x46337a(0x9e)+util[_0x46337a(0xbc)](_0x22304c));});}static[a142_0x169e24(0xa7)](_0x385ccd){const _0x331b78=a142_0x169e24,_0x2e2a74={};_0x2e2a74[_0x331b78(0xe2)]=_0x331b78(0xe1),_0x2e2a74['VPyZr']=_0x331b78(0xbd),_0x2e2a74[_0x331b78(0xf6)]='key',_0x2e2a74[_0x331b78(0xcf)]=_0x331b78(0xa8),_0x2e2a74['zkVye']=_0x331b78(0xba),_0x2e2a74['yaiMy']=function(_0x4990f4,_0x5ae881){return _0x4990f4===_0x5ae881;},_0x2e2a74['pCIfS']=_0x331b78(0xf0);const _0x11c934=_0x2e2a74;if(!_0x385ccd)return;const _0x2e26d5=[_0x11c934['PWkDJ'],_0x11c934[_0x331b78(0xe4)],_0x11c934[_0x331b78(0xf6)],_0x11c934[_0x331b78(0xcf)],_0x11c934[_0x331b78(0xd2)]];for(const _0x4f0993 in _0x385ccd){if(_0x2e26d5[_0x331b78(0xa9)](_0x4f0993['toLowerCase']()))delete _0x385ccd[_0x4f0993];else _0x11c934[_0x331b78(0xce)](typeof _0x385ccd[_0x4f0993],_0x11c934['pCIfS'])&&this[_0x331b78(0xa7)](_0x385ccd[_0x4f0993]);}}static[a142_0x169e24(0xda)](_0x3d0f8d){const _0xc580ff=a142_0x169e24,_0x23ee4e=JSON['parse'](JSON[_0xc580ff(0xd3)](_0x3d0f8d));return this[_0xc580ff(0xa7)](_0x23ee4e),_0x23ee4e;}}const a142_0x3055be={};a142_0x3055be[a142_0x169e24(0xb5)]=o11yErrorHandler,a142_0x3055be[a142_0x169e24(0xf4)]=o11yClassErrorHandler,a142_0x3055be[a142_0x169e24(0xff)]=CrashReporter,module[a142_0x169e24(0xca)]=a142_0x3055be;
|