browserstack-node-sdk 1.63.2 → 1.63.3
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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/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 a151_0x29b02c=a151_0x21d6;(function(_0x1dce82,_0x429bba){const _0x3c86d4=a151_0x21d6,_0x15baec=_0x1dce82();while(!![]){try{const _0x2d1c2d=-parseInt(_0x3c86d4(0x103))/0x1*(-parseInt(_0x3c86d4(0x12d))/0x2)+-parseInt(_0x3c86d4(0xb7))/0x3*(parseInt(_0x3c86d4(0xfa))/0x4)+-parseInt(_0x3c86d4(0x107))/0x5+parseInt(_0x3c86d4(0xb3))/0x6+-parseInt(_0x3c86d4(0x117))/0x7+-parseInt(_0x3c86d4(0x123))/0x8*(parseInt(_0x3c86d4(0xb9))/0x9)+parseInt(_0x3c86d4(0xb4))/0xa;if(_0x2d1c2d===_0x429bba)break;else _0x15baec['push'](_0x15baec['shift']());}catch(_0x4e5d53){_0x15baec['push'](_0x15baec['shift']());}}}(a151_0x1620,0xc8760));const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a151_0x29b02c(0xde)),path=require('path'),util=require(a151_0x29b02c(0xc8)),logger=require(a151_0x29b02c(0x129))[a151_0x29b02c(0xf0)],{getLogDir}=require(a151_0x29b02c(0x129)),{getProcessId,sleep,debug,getTestName}=require(a151_0x29b02c(0xe4));function a151_0x1620(){const _0x5af438=['catch','push','errorReportDirName','modified-key-metrics.json','platform','928200dWBFIJ','25334140dpwwbB','existsSync','zaivy','471fwEPzp','measure','703719xGzuPQ','disconnect','hEhDu','reduce','\x20for\x20all\x20processes\x20is\x20','oAdHz','join','calculateTimeFromEvents','bCVCS','exports','cEsrw','fLePw','errorFile','start','UfHgl','util','writeFileSync','info','slice','mKYWX','readFile','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','Error\x20in\x20doing\x20csv\x20operations:\x20','dSyDv','meta','debug','hWTdj','performance-report','entryType','nYiie','unlinkSync','oupvR','YXZKg','ULbgl','bRsKX','dirname','code','perf_hooks','calculateTimesFromMultipleFiles','</td><td>','FRXTP','zWVfo','pushPerfMeasures','../processHelper','captureError','all','jsonReportDirName','Error\x20stopping\x20monitoring\x20','length','errorReportFileName','gSNIO','cwd','key-metrics.json','details','false','winstonLogger','IkyQj','_observer','pTmPC','pagTF','apply','name','finalizePerfMeasures','EWeJd','toJSON','38116GuEyzf','format','finalize','Error\x20processing\x20key-metrics.json:\x20%s','nFYZJ','forEach','iBBug','startMonitoring','getEventsFromJSON','812opIMEK','end','__platformCaps','ukxbk','4441045zwGbEh','failure','toString','SqgZh','error-report','worker','VeAXe','Fzbqh','yPhqn','appendFileSync','assign','yujcG','YhXFr','parse','splice','measures','3721403xwtABH','EsjOg','message','YWiCA','generateJSON','aslUi','testName','index','performance-own.html','_errorEvents','function','stopAndGenerate','8vXAuRe','-start','</td></tr>','isEnabled','browserStackCwd','entries','../logger','hHqng','readFileSync','PtTzw','2776tZqfwl','writeFile','Performance\x20report\x20is\x20at\x20','WbYPS','eventsMap','getPerformance','then','1|4|0|3|2','match','stack','nZixN','/error-report-','jsonReportDirPath','access','VKNjX','env','stringify','constants','entryTypes','<h1>Performance\x20Report</h1>','Error\x20in\x20writing\x20html\x20','isArray','_events','errors','measureWrapper','mkdirSync','jsonReportFileName','started','mark','utf-8','ShoHJ','resolve','IgDTz','_measureEvents','generateHTMLReport','ExERc','observe','yakDz','flat','duration','getCleanedPerfEvents','Yauoj','kZbFE','.json','map','concat','NaeFu','bcbOQ'];a151_0x1620=function(){return _0x5af438;};return a151_0x1620();}function a151_0x21d6(_0x59f66e,_0x1b76fa){const _0x1620d7=a151_0x1620();return a151_0x21d6=function(_0x21d649,_0x17d453){_0x21d649=_0x21d649-0xac;let _0x4d4e39=_0x1620d7[_0x21d649];return _0x4d4e39;},a151_0x21d6(_0x59f66e,_0x1b76fa);}class PerformanceTester{static [a151_0x29b02c(0xf2)];static [a151_0x29b02c(0x143)]=[];static [a151_0x29b02c(0x14e)]=[];static [a151_0x29b02c(0x120)]=[];static ['started']=![];static [a151_0x29b02c(0xe7)]=a151_0x29b02c(0xd4);static [a151_0x29b02c(0xb0)]=process[a151_0x29b02c(0x13c)][a151_0x29b02c(0x127)]?path['join'](process[a151_0x29b02c(0x13c)]['browserStackCwd'],a151_0x29b02c(0x10b)):path[a151_0x29b02c(0xbf)](process[a151_0x29b02c(0xec)](),a151_0x29b02c(0x10b));static ['errorReportFileName']=this['errorReportDirName']+'/error-report-'+getProcessId()+a151_0x29b02c(0x158);static [a151_0x29b02c(0xee)]={};static ['eventsMap']={};static[a151_0x29b02c(0x101)](_0x4d7b30,_0x45e352=this[a151_0x29b02c(0xb0)]+a151_0x29b02c(0x138)+getProcessId()+'.json'){const _0x47d382=a151_0x29b02c,_0x547077={'SqgZh':function(_0x100e4b,_0x46acd6){return _0x100e4b===_0x46acd6;},'fLePw':'measure','dSyDv':function(_0xb7454f){return _0xb7454f();},'mKYWX':function(_0x3f29c0){return _0x3f29c0();},'nYiie':function(_0x3932a2,_0x431f55){return _0x3932a2+_0x431f55;},'hHqng':'Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','iBBug':_0x47d382(0x121)};try{this[_0x47d382(0x139)]=path[_0x47d382(0xbf)](_0x547077[_0x47d382(0xd0)](getLogDir),this[_0x47d382(0xe7)]),!_0x4d7b30&&(_0x4d7b30=this[_0x47d382(0x139)]+'/performance-report-'+_0x547077[_0x47d382(0xcc)](getProcessId)+'.json'),!fs[_0x47d382(0xb5)](this[_0x47d382(0x139)])&&fs[_0x47d382(0x146)](this['jsonReportDirPath']);}catch(_0x28d7d3){logger[_0x47d382(0xd2)](_0x547077[_0x47d382(0xd6)](_0x547077[_0x47d382(0x12a)],_0x28d7d3));}if(this[_0x47d382(0x148)]||!this[_0x47d382(0x126)]())return;this[_0x47d382(0xf2)]=new PerformanceObserver(_0x3c5091=>{const _0x6770f7=_0x47d382;_0x3c5091['getEntries']()[_0x6770f7(0xff)](_0x44f089=>{const _0x2e5e4e=_0x6770f7;if(_0x547077[_0x2e5e4e(0x10a)](_0x44f089[_0x2e5e4e(0xd5)],_0x547077[_0x2e5e4e(0xc4)])){let _0x32217e={};if(_0x44f089[_0x2e5e4e(0xf9)])_0x32217e=_0x44f089[_0x2e5e4e(0xf9)]();else for(const _0x379e57 in _0x44f089){_0x32217e[_0x379e57]=_0x44f089[_0x379e57];}this[_0x2e5e4e(0xee)][_0x44f089['name']]&&(_0x32217e=Object[_0x2e5e4e(0x111)](_0x32217e,this[_0x2e5e4e(0xee)][_0x44f089[_0x2e5e4e(0xf6)]])),delete this[_0x2e5e4e(0xee)][_0x44f089['name']],this[_0x2e5e4e(0x14e)][_0x2e5e4e(0xaf)](_0x32217e);}else this[_0x2e5e4e(0x143)][_0x2e5e4e(0xaf)](_0x44f089);});});const _0x26f09c={};_0x26f09c['buffered']=!![],_0x26f09c[_0x47d382(0x13f)]=[_0x547077[_0x47d382(0x100)],_0x547077[_0x47d382(0xc4)]],this[_0x47d382(0xf2)][_0x47d382(0x151)](_0x26f09c),this[_0x47d382(0x148)]=!![],this[_0x47d382(0x147)]=_0x4d7b30,this[_0x47d382(0xea)]=_0x45e352;}static[a151_0x29b02c(0x132)](){return performance;}static[a151_0x29b02c(0xc0)](_0x3b386e,_0x40d254){const _0x104a6c=a151_0x29b02c,_0x5235cf={};_0x5235cf[_0x104a6c(0x113)]=function(_0x1f6250,_0x11fe3e){return _0x1f6250+_0x11fe3e;},_0x5235cf[_0x104a6c(0xac)]=function(_0x4ccbdb,_0x49ce3e){return _0x4ccbdb||_0x49ce3e;},_0x5235cf[_0x104a6c(0x130)]=function(_0x5e994a,_0x554f0b){return _0x5e994a===_0x554f0b;};const _0x327ad6=_0x5235cf,_0x4102b3={};if(!_0x3b386e||_0x327ad6[_0x104a6c(0x130)](_0x3b386e['length'],0x0))return;_0x3b386e['map'](_0x294447=>{const _0x28892d=_0x104a6c;!_0x4102b3[_0x294447[_0x28892d(0xf6)]]&&(_0x4102b3[_0x294447[_0x28892d(0xf6)]]=0x0),_0x4102b3[_0x294447[_0x28892d(0xf6)]]+=_0x294447[_0x28892d(0x154)];});const _0x5642fa=_0x40d254[_0x104a6c(0xbc)]((_0x2c0bf8,_0x3ef664)=>{const _0x99551f=_0x104a6c;return _0x327ad6[_0x99551f(0x113)](_0x4102b3[_0x3ef664],_0x327ad6[_0x99551f(0xac)](_0x2c0bf8,0x0));},0x0);return _0x5642fa;}static async[a151_0x29b02c(0xdf)](_0x1589ca,_0x166a8b){const _0x1d25c0=a151_0x29b02c,_0x5b15ab={'IgDTz':function(_0x503390,_0x50bc05){return _0x503390+_0x50bc05;},'YXZKg':function(_0x5335cc,_0x422c3b){return _0x5335cc||_0x422c3b;},'YWiCA':function(_0x195593,_0x275bd9){return _0x195593===_0x275bd9;},'EWeJd':function(_0xdc826d,_0x4a64f8){return _0xdc826d(_0x4a64f8);}};if(!_0x1589ca||_0x5b15ab[_0x1d25c0(0x11a)](_0x1589ca['length'],0x0))return 0x0;const _0x2d5e98=[];for(const _0x1d636a of _0x1589ca){const _0x3ee438=path[_0x1d25c0(0xbf)]('.',_0x1d636a);try{const _0xf3abc6=this[_0x1d25c0(0x102)](_0x3ee438);_0xf3abc6[_0x1d25c0(0x159)](_0xf634c=>{const _0x3e4366=_0x1d25c0;!_0x2d5e98[_0xf634c[_0x3e4366(0xf6)]]&&(_0x2d5e98[_0xf634c[_0x3e4366(0xf6)]]=0x0),_0x2d5e98[_0xf634c[_0x3e4366(0xf6)]]+=_0xf634c[_0x3e4366(0x154)];});}catch(_0x4b368f){_0x5b15ab[_0x1d25c0(0xf8)](debug,_0x1d25c0(0xcf)+_0x4b368f['toString']());}}const _0x3b27dd=_0x166a8b[_0x1d25c0(0xbc)]((_0x8c91db,_0x54b36b)=>{const _0x4fca65=_0x1d25c0;return _0x5b15ab[_0x4fca65(0x14d)](_0x2d5e98[_0x54b36b],_0x5b15ab[_0x4fca65(0xd9)](_0x8c91db,0x0));},0x0);return _0x5b15ab[_0x1d25c0(0xf8)](debug,'Time\x20for\x20'+_0x166a8b+_0x1d25c0(0xbd)+_0x3b27dd),_0x3b27dd;}static[a151_0x29b02c(0x102)](_0x17b4d1){const _0x1954d2=a151_0x29b02c;if(_0x17b4d1){if(!fs[_0x1954d2(0xb5)](_0x17b4d1))return[];return JSON[_0x1954d2(0x114)](fs['readFileSync'](_0x17b4d1)[_0x1954d2(0x109)]());}}static async[a151_0x29b02c(0x122)](_0x345c3d=a151_0x29b02c(0x11f),_0x3a3693=null){const _0x3d762d=a151_0x29b02c,_0x172177={'ukxbk':function(_0x4aa5bf,_0x380970){return _0x4aa5bf(_0x380970);}};if(!this[_0x3d762d(0x148)])return;await _0x172177[_0x3d762d(0x106)](sleep,0x1e),this[_0x3d762d(0xf2)][_0x3d762d(0xba)](),this['started']=![],this[_0x3d762d(0x11b)](this[_0x3d762d(0x143)]);const _0x251b7b=this[_0x3d762d(0x14f)](this[_0x3d762d(0x143)]),_0x14bb37=path['join'](process[_0x3d762d(0xec)](),_0x345c3d);fs['writeFile'](_0x14bb37,_0x251b7b,_0x5c1ebe=>{const _0x16474c=_0x3d762d;if(_0x5c1ebe){_0x172177[_0x16474c(0x106)](debug,_0x16474c(0x141)+_0x5c1ebe[_0x16474c(0x109)]());return;}_0x172177['ukxbk'](debug,_0x16474c(0x12f)+_0x14bb37);});if(_0x3a3693)return this['calculateTimeFromEvents'](this['_events'],_0x3a3693);}static[a151_0x29b02c(0x14f)](_0x1d528a){const _0x33ff92=a151_0x29b02c,_0x2c111f={};_0x2c111f[_0x33ff92(0xeb)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x2c111f[_0x33ff92(0x118)]=_0x33ff92(0x140),_0x2c111f['Yauoj']=_0x33ff92(0xce),_0x2c111f[_0x33ff92(0x10d)]='</tbody></table></body></html>';const _0x148885=_0x2c111f;let _0x3fdce6=_0x148885[_0x33ff92(0xeb)];return _0x3fdce6+=_0x148885[_0x33ff92(0x118)],_0x3fdce6+=_0x148885[_0x33ff92(0x156)],_0x1d528a['forEach'](_0x2cc91a=>{const _0x2347a9=_0x33ff92;_0x3fdce6+='<tr><td>'+_0x2cc91a['name']+_0x2347a9(0xe0)+_0x2cc91a[_0x2347a9(0x154)]+_0x2347a9(0x125);}),_0x3fdce6+=_0x148885[_0x33ff92(0x10d)],_0x3fdce6;}static[a151_0x29b02c(0x11b)](_0x32d841){const _0x5e6da9=a151_0x29b02c;if(!this['jsonReportFileName'])return;const _0x46756b={};_0x32d841['map'](_0x43eaf5=>{const _0x658e76=a151_0x21d6;!_0x46756b[_0x43eaf5[_0x658e76(0xf6)]]&&(_0x46756b[_0x43eaf5[_0x658e76(0xf6)]]=0x0),_0x46756b[_0x43eaf5[_0x658e76(0xf6)]]+=_0x43eaf5[_0x658e76(0x154)];});const _0x1f929f=Object[_0x5e6da9(0x128)](_0x46756b)['map'](([_0xb91bdb,_0x473d0d])=>{const _0xe8d463=_0x5e6da9,_0x26094d={};return _0x26094d[_0xe8d463(0xf6)]=_0xb91bdb,_0x26094d['duration']=_0x473d0d,_0x26094d;});fs[_0x5e6da9(0xc9)](this['jsonReportFileName'],JSON['stringify'](_0x1f929f));}static[a151_0x29b02c(0x126)](){const _0x1b3c7d=a151_0x29b02c,_0x1af308={};_0x1af308[_0x1b3c7d(0x12c)]=function(_0x46b716,_0x32a362){return _0x46b716===_0x32a362;},_0x1af308[_0x1b3c7d(0x137)]=_0x1b3c7d(0xef);const _0x4406e1=_0x1af308;return!_0x4406e1[_0x1b3c7d(0x12c)](process[_0x1b3c7d(0x13c)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x4406e1[_0x1b3c7d(0x137)]);}static[a151_0x29b02c(0xb8)](_0x57ee0a,_0x2f7aff,_0x400314=null,_0x104ee6={},_0x2968ba=null){const _0x2b50c5=a151_0x29b02c,_0x5306f2={'ShoHJ':function(_0x35395e,_0x576b98){return _0x35395e(_0x576b98);},'bNvJv':function(_0x4bc524,_0x3fc4e2){return _0x4bc524 instanceof _0x3fc4e2;}};try{if(this[_0x2b50c5(0x148)]&&this[_0x2b50c5(0x126)]()){let _0x42babd=_0x57ee0a;_0x400314&&(_0x42babd=_0x57ee0a+'['+JSON[_0x2b50c5(0x13d)](_0x400314)+']');PerformanceTester[_0x2b50c5(0xc6)](_0x42babd),this['details']&&(this[_0x2b50c5(0xee)][_0x42babd]=_0x104ee6);try{const _0xc4403f=_0x2f7aff[_0x2b50c5(0xf5)](null,_0x2968ba);if(_0x5306f2['bNvJv'](_0xc4403f,Promise))return new Promise((_0x12b18e,_0x41c883)=>{const _0x289807=_0x2b50c5,_0x169a1f={'VKNjX':function(_0x597847,_0x3f38dd){const _0x52c6a4=a151_0x21d6;return _0x5306f2[_0x52c6a4(0x14b)](_0x597847,_0x3f38dd);}};_0xc4403f[_0x289807(0x133)](_0x40833e=>{const _0x28ded2=_0x289807;PerformanceTester[_0x28ded2(0x104)](_0x42babd),_0x169a1f[_0x28ded2(0x13b)](_0x12b18e,_0x40833e);})[_0x289807(0xae)](_0x4f8bea=>{const _0x37b4a4=_0x289807;PerformanceTester[_0x37b4a4(0x104)](_0x42babd,![],util['format'](_0x4f8bea)),_0x5306f2[_0x37b4a4(0x14b)](_0x41c883,_0x4f8bea);});});;return PerformanceTester[_0x2b50c5(0x104)](_0x42babd),_0xc4403f;}catch(_0x291d4d){PerformanceTester[_0x2b50c5(0x104)](_0x42babd,![],util[_0x2b50c5(0xfb)](_0x291d4d));throw _0x291d4d;}};return _0x2f7aff[_0x2b50c5(0xf5)](null,_0x2968ba);}catch(_0x9ad4a9){return logger[_0x2b50c5(0xd2)]('error\x20in\x20measure\x20'+(_0x9ad4a9[_0x2b50c5(0x136)]||_0x9ad4a9[_0x2b50c5(0x119)]||_0x9ad4a9)),_0x2f7aff[_0x2b50c5(0xf5)](null,_0x2968ba);}}static[a151_0x29b02c(0x145)](_0x4b6a3d,_0x5cc28d,_0x15e36b={}){const _0x45dd92=a151_0x29b02c,_0x4c9579={'yPhqn':function(_0x111924){return _0x111924();}},_0xf1fa30=this;return _0x15e36b[_0x45dd92(0x10c)]=_0x4c9579[_0x45dd92(0x10f)](getProcessId),_0x15e36b[_0x45dd92(0x11d)]=_0x4c9579['yPhqn'](getTestName),_0x15e36b[_0x45dd92(0xb2)]=global['__platformCaps']&&global['__platformCaps'][_0x45dd92(0x11e)],function(){const _0x3c2a2a=_0x45dd92,_0x23ecad=[_0x4b6a3d,_0x5cc28d,null,_0x15e36b]['concat'](arguments);return _0xf1fa30['measure'][_0x3c2a2a(0xf5)](_0xf1fa30,_0x23ecad);};}static['getCleanedPerfEvents'](){const _0x4673de=a151_0x29b02c,_0x54c42d=/(^.*)\[(.*)\]$/,_0x3dbba8={},_0x5e1675={},_0x2ac62e=[],_0xb65eb0=this['_measureEvents'][_0x4673de(0x115)](0x0,this[_0x4673de(0x14e)][_0x4673de(0xe9)]);for(const _0x3f7eff of _0xb65eb0){const _0x5cfd8d=_0x3f7eff[_0x4673de(0xf6)][_0x4673de(0x135)](_0x54c42d),_0x304bfd=Object[_0x4673de(0x111)]({},_0x3f7eff);_0x5cfd8d&&(_0x304bfd['name']=_0x5cfd8d[0x1],_0x304bfd[_0x4673de(0xd1)]=JSON[_0x4673de(0x114)](_0x5cfd8d[0x2])),_0x2ac62e[_0x4673de(0xaf)](_0x304bfd);}return _0x2ac62e;}static[a151_0x29b02c(0xe3)](){const _0x1d8d03=a151_0x29b02c,_0x3d0df0={'yakDz':function(_0x24b9cd){return _0x24b9cd();},'hEhDu':function(_0x51b917,_0x4f0c58){return _0x51b917+_0x4f0c58;},'bRsKX':'Error\x20while\x20removing\x20files:\x20','bCVCS':function(_0x2cba24,_0x502ffd){return _0x2cba24===_0x502ffd;}};try{this['jsonReportDirPath']=path[_0x1d8d03(0xbf)](_0x3d0df0[_0x1d8d03(0x152)](getLogDir),this[_0x1d8d03(0xe7)]);if(fs[_0x1d8d03(0xb5)](this[_0x1d8d03(0x139)])){const _0x4060fc=fs['readdirSync'](this[_0x1d8d03(0x139)]);for(const _0x109455 of _0x4060fc){fs[_0x1d8d03(0xd7)](path[_0x1d8d03(0xbf)](this[_0x1d8d03(0x139)],_0x109455));}}}catch(_0x396239){logger[_0x1d8d03(0xd2)](_0x3d0df0['hEhDu'](_0x3d0df0[_0x1d8d03(0xdb)],_0x396239));}if(_0x3d0df0[_0x1d8d03(0xc1)](this[_0x1d8d03(0x14e)]['length'],0x0))return;const _0x12f554=this['getCleanedPerfEvents'](),_0x50cff6=JSON[_0x1d8d03(0x13d)](_0x12f554),_0x50d31d=_0x3d0df0[_0x1d8d03(0xbb)](_0x50cff6[_0x1d8d03(0xcb)](0x1,-0x1),',');fs[_0x1d8d03(0x110)](this[_0x1d8d03(0x147)],_0x50d31d);}static async['finalizePerfMeasures'](){const _0x18763d=a151_0x29b02c,_0x557282={'zWVfo':function(_0x4ea405){return _0x4ea405();},'pTmPC':function(_0x2644ee,_0x1c81e4){return _0x2644ee===_0x1c81e4;},'UfHgl':_0x18763d(0xed),'Fzbqh':_0x18763d(0x14a),'kZbFE':_0x18763d(0xb1),'oAdHz':function(_0x1dc52b,_0x3d103f){return _0x1dc52b+_0x3d103f;},'IkyQj':function(_0x592a42,_0x35277b){return _0x592a42+_0x35277b;},'DfRZq':_0x18763d(0xfd),'cEsrw':'key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','YbHhU':'Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','FRXTP':function(_0x12e8f3,_0x4eedac){return _0x12e8f3>_0x4eedac;}};this[_0x18763d(0x139)]=path[_0x18763d(0xbf)](_0x557282[_0x18763d(0xe2)](getLogDir),this['jsonReportDirName']);if(!this[_0x18763d(0x148)]||_0x557282[_0x18763d(0xf3)](this['_measureEvents'][_0x18763d(0xe9)],0x0))return[];if(!fs[_0x18763d(0xb5)](this[_0x18763d(0x139)]))return this[_0x18763d(0x14e)];const _0x12b0a2=(await fsPromise['readdir'](this['jsonReportDirPath']))[_0x18763d(0x159)](_0x496f91=>path[_0x18763d(0x14c)](this[_0x18763d(0x139)],_0x496f91));try{const _0x535be7=path[_0x18763d(0xdc)](this['jsonReportDirPath']),_0x486daa=path['join'](_0x535be7,_0x557282[_0x18763d(0xc7)]);if(fs[_0x18763d(0xb5)](_0x486daa))try{await fsPromise[_0x18763d(0x13a)](_0x486daa,fs[_0x18763d(0x13e)]['F_OK']);const _0x3a55fd=await fsPromise[_0x18763d(0xcd)](_0x486daa,_0x557282[_0x18763d(0x10e)]),_0x549ac3=JSON[_0x18763d(0x114)](_0x3a55fd),_0x54b9ab=path['join'](this[_0x18763d(0x139)],_0x557282[_0x18763d(0x157)]);let _0x28c7ee='';Array[_0x18763d(0x142)](_0x549ac3)?_0x28c7ee=_0x557282[_0x18763d(0xbe)](_0x549ac3[_0x18763d(0x159)](_0x378389=>JSON[_0x18763d(0x13d)](_0x378389))[_0x18763d(0xbf)](','),','):_0x28c7ee=_0x557282[_0x18763d(0xf1)](JSON[_0x18763d(0x13d)](_0x549ac3),','),await fsPromise[_0x18763d(0x12e)](_0x54b9ab,_0x28c7ee),_0x12b0a2[_0x18763d(0xaf)](_0x54b9ab),await fsPromise['unlink'](_0x486daa);}catch(_0x7fb457){logger[_0x18763d(0xca)](util[_0x18763d(0xfb)](_0x557282['DfRZq'],_0x7fb457[_0x18763d(0x136)]||_0x7fb457[_0x18763d(0x119)]||_0x7fb457));}else logger[_0x18763d(0xca)](_0x557282[_0x18763d(0xc3)]);}catch(_0x320170){logger['info'](util[_0x18763d(0xfb)](_0x557282['YbHhU'],_0x320170['stack']||_0x320170[_0x18763d(0x119)]||_0x320170));}let _0xbd4f08=(await Promise[_0x18763d(0xe6)](_0x12b0a2[_0x18763d(0x159)](_0x26f3d5=>fsPromise[_0x18763d(0xcd)](_0x26f3d5,'utf-8'))))['map'](_0x24e593=>'['+_0x24e593[_0x18763d(0xcb)](0x0,-0x1)+']')['map'](_0x26255a=>JSON[_0x18763d(0x114)](_0x26255a))[_0x18763d(0x153)]();return _0x557282[_0x18763d(0xe1)](this[_0x18763d(0x14e)][_0x18763d(0xe9)],0x0)&&(_0xbd4f08=_0xbd4f08[_0x18763d(0x15a)](this[_0x18763d(0x155)]())),this[_0x18763d(0xf2)][_0x18763d(0xba)](),_0xbd4f08;}static['pushErrors'](){const _0x221a09=a151_0x29b02c,_0x122b73={};_0x122b73[_0x221a09(0xfe)]=function(_0x1714e7,_0xa72d98){return _0x1714e7===_0xa72d98;},_0x122b73[_0x221a09(0xb6)]=function(_0x21d2ef,_0x3afa3d){return _0x21d2ef+_0x3afa3d;};const _0x4b6e69=_0x122b73;if(_0x4b6e69[_0x221a09(0xfe)](this['_errorEvents'][_0x221a09(0xe9)],0x0))return;const _0x399229=JSON[_0x221a09(0x13d)](this[_0x221a09(0x120)]),_0x323050=_0x4b6e69[_0x221a09(0xb6)](_0x399229[_0x221a09(0xcb)](0x1,-0x1),',');fs['appendFileSync'](this[_0x221a09(0xc5)],_0x323050);}static['finalizeErrors'](){const _0x5ae5e8=a151_0x29b02c,_0x4436fd={};_0x4436fd['oupvR']=function(_0x37067e,_0x16df4a){return _0x37067e>_0x16df4a;};const _0x2ebd2a=_0x4436fd;if(this[_0x5ae5e8(0xea)]){if(!fs[_0x5ae5e8(0xb5)](this[_0x5ae5e8(0xea)]))return this[_0x5ae5e8(0x120)];let _0x48f0a3=fs[_0x5ae5e8(0x12b)](this[_0x5ae5e8(0xea)])[_0x5ae5e8(0x109)]();_0x48f0a3='['+_0x48f0a3['slice'](0x0,-0x1)+']';let _0x15f884=JSON['parse'](_0x48f0a3);return _0x2ebd2a[_0x5ae5e8(0xd8)](this[_0x5ae5e8(0x120)][_0x5ae5e8(0xe9)],0x0)&&(_0x15f884=_0x15f884[_0x5ae5e8(0x15a)](this['_errorEvents'])),fs[_0x5ae5e8(0xd7)](this[_0x5ae5e8(0xea)]),_0x15f884;}}static[a151_0x29b02c(0xe5)](_0x412150){const _0x121040=a151_0x29b02c;if(!this[_0x121040(0x126)]())return;this['_errorEvents']['push']({'message':_0x412150[_0x121040(0x119)],'trace':_0x412150['stack'],'code':_0x412150[_0x121040(0xdd)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x34297c=a151_0x29b02c;try{if(!this[_0x34297c(0x126)]())return;this[_0x34297c(0xf2)]['disconnect'](),this[_0x34297c(0xe3)](),this['pushErrors']();}catch(_0x38f63f){logger['debug'](_0x34297c(0xe8)+util[_0x34297c(0xfb)](_0x38f63f));}}static async[a151_0x29b02c(0xfc)](){const _0x80ae32=a151_0x29b02c,_0x11ec10={'ExERc':function(_0x4e9c71,_0x2491e3){return _0x4e9c71(_0x2491e3);}};await _0x11ec10[_0x80ae32(0x150)](sleep,0x1e);const _0x37bc5b=await this[_0x80ae32(0xf7)](),_0x3bc49a=this['finalizeErrors']();if(!this[_0x80ae32(0x126)]()){const _0x34e21d={};return _0x34e21d[_0x80ae32(0x116)]=[],_0x34e21d[_0x80ae32(0x144)]=[],_0x34e21d;}const _0x2e8fc9={};return _0x2e8fc9['measures']=_0x37bc5b,_0x2e8fc9[_0x80ae32(0x144)]=_0x3bc49a,_0x2e8fc9;}static[a151_0x29b02c(0xc6)](_0x4460a5){const _0x59ea84=a151_0x29b02c,_0x58a81d={};_0x58a81d['aslUi']=function(_0x1e5e91,_0x5c94b8){return _0x1e5e91+_0x5c94b8;},_0x58a81d[_0x59ea84(0xd3)]=_0x59ea84(0x124);const _0x5065b8=_0x58a81d,_0x1fcf3a=_0x5065b8[_0x59ea84(0x11c)](_0x4460a5,_0x5065b8['hWTdj']);if(this[_0x59ea84(0x131)][_0x1fcf3a])return;performance[_0x59ea84(0x149)](_0x1fcf3a),this[_0x59ea84(0x131)][_0x1fcf3a]=0x1;}static[a151_0x29b02c(0x104)](_0x541ef7,_0xb368bd=!![],_0x4cee95=null,_0x3a764c={}){const _0x49f790=a151_0x29b02c,_0x5187f0={'iKcAS':_0x49f790(0x134),'pagTF':function(_0x103a24,_0x3a7eb0){return _0x103a24+_0x3a7eb0;},'ULbgl':_0x49f790(0x124),'bcbOQ':'-end','yujcG':function(_0x234a23){return _0x234a23();},'EljGW':function(_0x36eb43,_0x114c2e){return _0x36eb43+_0x114c2e;}},_0x2b8f2e=_0x5187f0['iKcAS']['split']('|');let _0x10bee0=0x0;while(!![]){switch(_0x2b8f2e[_0x10bee0++]){case'0':this[_0x49f790(0x131)][_0x5187f0[_0x49f790(0xf4)](_0x541ef7,_0x5187f0[_0x49f790(0xda)])]&&performance['measure'](_0x541ef7,_0x5187f0[_0x49f790(0xf4)](_0x541ef7,_0x5187f0[_0x49f790(0xda)]),_0x5187f0[_0x49f790(0xf4)](_0x541ef7,_0x5187f0[_0x49f790(0xad)]));continue;case'1':if(!this[_0x49f790(0x131)][_0x5187f0[_0x49f790(0xf4)](_0x541ef7,_0x5187f0[_0x49f790(0xda)])])return;continue;case'2':const _0x341edc={};_0x341edc['success']=_0xb368bd,_0x341edc[_0x49f790(0x108)]=_0x4cee95,this['details'][_0x541ef7]=Object[_0x49f790(0x111)](_0x341edc,Object[_0x49f790(0x111)](Object[_0x49f790(0x111)]({'worker':_0x5187f0[_0x49f790(0x112)](getProcessId),'platform':global[_0x49f790(0x105)]&&global[_0x49f790(0x105)]['index'],'testName':_0x5187f0[_0x49f790(0x112)](getTestName)},_0x3a764c),this['details'][_0x541ef7]||{}));continue;case'3':delete this[_0x49f790(0x131)][_0x5187f0['EljGW'](_0x541ef7,_0x5187f0[_0x49f790(0xda)])];continue;case'4':performance[_0x49f790(0x149)](_0x5187f0['pagTF'](_0x541ef7,_0x5187f0[_0x49f790(0xad)]));continue;}break;}}}module[a151_0x29b02c(0xc2)]=PerformanceTester;
|
|
1
|
+
const a151_0x494c4b=a151_0x4cff;(function(_0x736c94,_0x2b0829){const _0x2b715b=a151_0x4cff,_0xb56cc4=_0x736c94();while(!![]){try{const _0x375ea1=parseInt(_0x2b715b(0x154))/0x1*(-parseInt(_0x2b715b(0x1e2))/0x2)+-parseInt(_0x2b715b(0x1ce))/0x3*(parseInt(_0x2b715b(0x198))/0x4)+parseInt(_0x2b715b(0x14b))/0x5+parseInt(_0x2b715b(0x12e))/0x6+parseInt(_0x2b715b(0x158))/0x7+-parseInt(_0x2b715b(0x1ca))/0x8+parseInt(_0x2b715b(0x157))/0x9;if(_0x375ea1===_0x2b0829)break;else _0xb56cc4['push'](_0xb56cc4['shift']());}catch(_0x37458f){_0xb56cc4['push'](_0xb56cc4['shift']());}}}(a151_0x1dbd,0x7f9cc));function a151_0x1dbd(){const _0x1db5e4=['/error-report-','function','iTnsO','captureError','start','stopAndGenerate','__platformCaps','generateHTMLReport','PgksH','2013720irAPbP','readdir','apply','jsonReportDirPath','format','</td></tr>','/performance-report-','map','disconnect','862604vvLtOZ','BROWSERSTACK_SDK_INSTRUMENTATION','DcTLI','3339918DfmTXa','2766253BfKGuf','measure','HhtgP','finalize','errorReportDirName','woEso','\x20for\x20all\x20processes\x20is\x20','_events','duration','catch','key-metrics.json','ZNyyT','xZPBw','mark','LmKSh','mTtTv','exports','observe','push','resolve','getPerformance','assign','TkBXO','4|3|2|1|0','entryTypes','CgNAZ','reduce','match','name','browserStackCwd','errorFile','TUcQP','failure','platform','isEnabled','performance-own.html','VcMXs','error-report','all','sTmfH','parse','Error\x20processing\x20key-metrics.json:\x20%s','success','slice','UiXbg','existsSync','join','flat','lPTiM','eventsMap','QUaHa','XDLHB','readFile','-end','stringify','BhseJ','</td><td>','XBOWE','yxlxm','message','errorReportFileName','performance-report','cOKRf','FrnQS','4qxEoUK','finalizeErrors','_measureEvents','entryType','</tbody></table></body></html>','woVjo','unlinkSync','errors','code','writeFileSync','access','-start','egeSL','testName','_errorEvents','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','readdirSync','ZxwwP','info','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','constants','jsonReportFileName','ZWeqR','Performance\x20report\x20is\x20at\x20','<h1>Performance\x20Report</h1>','getEventsFromJSON','buffered','gxNiZ','debug','jsonReportDirName','.json','LspXq','dirname','started','YykpS','COoME','startMonitoring','getEntries','concat','splice','measures','pushPerfMeasures','toString','calculateTimeFromEvents','HeOeT','aFuMI','error\x20in\x20measure\x20','eEYZx','env','purrL','630920RsilbW','lIRae','jRrkf','pzrjS','711567UFDXlk','calculateTimesFromMultipleFiles','xgmvh','ReLNJ','PUfMJ','stack','util','writeFile','pushErrors','rjDNa','getCleanedPerfEvents','generateJSON','fs/promises','finalizePerfMeasures','Time\x20for\x20','cwd','utf-8','end','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','stopMonitoring','2yHQHSv','sAIkH','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','3193998VyqNas','Error\x20while\x20removing\x20files:\x20','index','kKwXb','fODRx','Error\x20in\x20writing\x20html\x20','Error\x20in\x20doing\x20csv\x20operations:\x20','details','toJSON','false','_observer','forEach','RQDjy','BaJyI','winstonLogger','worker','readFileSync','length','F_OK','../logger'];a151_0x1dbd=function(){return _0x1db5e4;};return a151_0x1dbd();}const fs=require('fs'),fsPromise=require(a151_0x494c4b(0x1da)),{performance,PerformanceObserver}=require('perf_hooks'),path=require('path'),util=require(a151_0x494c4b(0x1d4)),logger=require(a151_0x494c4b(0x141))[a151_0x494c4b(0x13c)],{getLogDir}=require(a151_0x494c4b(0x141)),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a151_0x494c4b(0x138)];static [a151_0x494c4b(0x15f)]=[];static [a151_0x494c4b(0x19a)]=[];static [a151_0x494c4b(0x1a6)]=[];static ['started']=![];static [a151_0x494c4b(0x1b5)]=a151_0x494c4b(0x195);static [a151_0x494c4b(0x15c)]=process[a151_0x494c4b(0x1c8)]['browserStackCwd']?path[a151_0x494c4b(0x186)](process[a151_0x494c4b(0x1c8)][a151_0x494c4b(0x175)],a151_0x494c4b(0x17d)):path[a151_0x494c4b(0x186)](process[a151_0x494c4b(0x1dd)](),'error-report');static ['errorReportFileName']=this[a151_0x494c4b(0x15c)]+a151_0x494c4b(0x142)+getProcessId()+a151_0x494c4b(0x1b6);static ['details']={};static [a151_0x494c4b(0x189)]={};static[a151_0x494c4b(0x1bc)](_0x5cee46,_0x32baae=this[a151_0x494c4b(0x15c)]+a151_0x494c4b(0x142)+getProcessId()+a151_0x494c4b(0x1b6)){const _0x2bb6c4=a151_0x494c4b,_0x401f8e={'OVYiB':function(_0x15026e,_0x6011e4){return _0x15026e===_0x6011e4;},'woEso':'measure','ZxwwP':function(_0x5421b6){return _0x5421b6();},'zGSzX':function(_0x4c554c){return _0x4c554c();},'JdJlM':function(_0x2aa316,_0x3b5f82){return _0x2aa316+_0x3b5f82;},'UiXbg':_0x2bb6c4(0x1a7),'BUvWT':_0x2bb6c4(0x143)};try{this['jsonReportDirPath']=path[_0x2bb6c4(0x186)](_0x401f8e[_0x2bb6c4(0x1a9)](getLogDir),this[_0x2bb6c4(0x1b5)]),!_0x5cee46&&(_0x5cee46=this[_0x2bb6c4(0x14e)]+_0x2bb6c4(0x151)+_0x401f8e['zGSzX'](getProcessId)+_0x2bb6c4(0x1b6)),!fs['existsSync'](this[_0x2bb6c4(0x14e)])&&fs['mkdirSync'](this['jsonReportDirPath']);}catch(_0x45cc48){logger[_0x2bb6c4(0x1b4)](_0x401f8e['JdJlM'](_0x401f8e[_0x2bb6c4(0x184)],_0x45cc48));}if(this[_0x2bb6c4(0x1b9)]||!this[_0x2bb6c4(0x17a)]())return;this['_observer']=new PerformanceObserver(_0xd8cd25=>{const _0x346cb7=_0x2bb6c4,_0x5502fa={'ZNyyT':function(_0x44ec3e,_0x448550){return _0x401f8e['OVYiB'](_0x44ec3e,_0x448550);},'COoME':_0x401f8e['woEso']};_0xd8cd25[_0x346cb7(0x1bd)]()[_0x346cb7(0x139)](_0x143954=>{const _0x5939d5=_0x346cb7;if(_0x5502fa[_0x5939d5(0x163)](_0x143954[_0x5939d5(0x19b)],_0x5502fa[_0x5939d5(0x1bb)])){let _0x316d09={};if(_0x143954[_0x5939d5(0x136)])_0x316d09=_0x143954[_0x5939d5(0x136)]();else for(const _0x32a9ba in _0x143954){_0x316d09[_0x32a9ba]=_0x143954[_0x32a9ba];}this[_0x5939d5(0x135)][_0x143954[_0x5939d5(0x174)]]&&(_0x316d09=Object[_0x5939d5(0x16d)](_0x316d09,this['details'][_0x143954['name']])),delete this['details'][_0x143954[_0x5939d5(0x174)]],this[_0x5939d5(0x19a)][_0x5939d5(0x16a)](_0x316d09);}else this[_0x5939d5(0x15f)][_0x5939d5(0x16a)](_0x143954);});});const _0x2b6f81={};_0x2b6f81[_0x2bb6c4(0x1b2)]=!![],_0x2b6f81[_0x2bb6c4(0x170)]=[_0x401f8e['BUvWT'],_0x401f8e[_0x2bb6c4(0x15d)]],this['_observer'][_0x2bb6c4(0x169)](_0x2b6f81),this['started']=!![],this[_0x2bb6c4(0x1ad)]=_0x5cee46,this[_0x2bb6c4(0x194)]=_0x32baae;}static[a151_0x494c4b(0x16c)](){return performance;}static[a151_0x494c4b(0x1c3)](_0x2ddd64,_0x2d2fc1){const _0x4db159=a151_0x494c4b,_0xa416d3={};_0xa416d3[_0x4db159(0x131)]=function(_0xb14cf1,_0x1f6dc0){return _0xb14cf1+_0x1f6dc0;},_0xa416d3['woVjo']=function(_0x28342a,_0x3db770){return _0x28342a||_0x3db770;},_0xa416d3[_0x4db159(0x17c)]=function(_0x8d8b6b,_0x101eda){return _0x8d8b6b===_0x101eda;};const _0x5cdbab=_0xa416d3,_0x232a36={};if(!_0x2ddd64||_0x5cdbab['VcMXs'](_0x2ddd64['length'],0x0))return;_0x2ddd64[_0x4db159(0x152)](_0x442150=>{const _0x2ebb16=_0x4db159;!_0x232a36[_0x442150['name']]&&(_0x232a36[_0x442150[_0x2ebb16(0x174)]]=0x0),_0x232a36[_0x442150[_0x2ebb16(0x174)]]+=_0x442150[_0x2ebb16(0x160)];});const _0x537ced=_0x2d2fc1[_0x4db159(0x172)]((_0x301fa9,_0x15358d)=>{const _0x25dc8d=_0x4db159;return _0x5cdbab[_0x25dc8d(0x131)](_0x232a36[_0x15358d],_0x5cdbab[_0x25dc8d(0x19d)](_0x301fa9,0x0));},0x0);return _0x537ced;}static async[a151_0x494c4b(0x1cf)](_0xc2606f,_0x1f3564){const _0x23a45b=a151_0x494c4b,_0x52b922={'YykpS':function(_0x2c3d22,_0xfce3c7){return _0x2c3d22+_0xfce3c7;},'sAIkH':function(_0x56a29a,_0x14b740){return _0x56a29a||_0x14b740;},'PUfMJ':function(_0x59da4e,_0x32c3b6){return _0x59da4e===_0x32c3b6;},'lPTiM':function(_0x1b2a93,_0x57c8ee){return _0x1b2a93(_0x57c8ee);},'KmYMW':function(_0x10c3f3,_0x47cbee){return _0x10c3f3(_0x47cbee);}};if(!_0xc2606f||_0x52b922[_0x23a45b(0x1d2)](_0xc2606f[_0x23a45b(0x13f)],0x0))return 0x0;const _0x2636aa=[];for(const _0x12c1b1 of _0xc2606f){const _0x10bea7=path[_0x23a45b(0x186)]('.',_0x12c1b1);try{const _0x4113ea=this[_0x23a45b(0x1b1)](_0x10bea7);_0x4113ea[_0x23a45b(0x152)](_0x534414=>{const _0x509a32=_0x23a45b;!_0x2636aa[_0x534414[_0x509a32(0x174)]]&&(_0x2636aa[_0x534414[_0x509a32(0x174)]]=0x0),_0x2636aa[_0x534414[_0x509a32(0x174)]]+=_0x534414[_0x509a32(0x160)];});}catch(_0x2de77a){_0x52b922[_0x23a45b(0x188)](debug,_0x23a45b(0x134)+_0x2de77a[_0x23a45b(0x1c2)]());}}const _0x4a8aac=_0x1f3564['reduce']((_0x5728be,_0x1f8a0f)=>{const _0x2a5026=_0x23a45b;return _0x52b922[_0x2a5026(0x1ba)](_0x2636aa[_0x1f8a0f],_0x52b922[_0x2a5026(0x12c)](_0x5728be,0x0));},0x0);return _0x52b922['KmYMW'](debug,_0x23a45b(0x1dc)+_0x1f3564+_0x23a45b(0x15e)+_0x4a8aac),_0x4a8aac;}static[a151_0x494c4b(0x1b1)](_0x590456){const _0xb85d16=a151_0x494c4b;if(_0x590456){if(!fs['existsSync'](_0x590456))return[];return JSON[_0xb85d16(0x180)](fs[_0xb85d16(0x13e)](_0x590456)[_0xb85d16(0x1c2)]());}}static async[a151_0x494c4b(0x147)](_0x488381=a151_0x494c4b(0x17b),_0x44ecdc=null){const _0x169720=a151_0x494c4b,_0x2a2bd2={'QUaHa':function(_0x4afe91,_0xac5885){return _0x4afe91(_0xac5885);},'ZWeqR':function(_0x2aa23a,_0x52fed5){return _0x2aa23a(_0x52fed5);}};if(!this['started'])return;await _0x2a2bd2[_0x169720(0x1ae)](sleep,0x1e),this[_0x169720(0x138)][_0x169720(0x153)](),this[_0x169720(0x1b9)]=![],this['generateJSON'](this[_0x169720(0x15f)]);const _0xc77669=this[_0x169720(0x149)](this[_0x169720(0x15f)]),_0x109d14=path[_0x169720(0x186)](process[_0x169720(0x1dd)](),_0x488381);fs[_0x169720(0x1d5)](_0x109d14,_0xc77669,_0x1d506c=>{const _0x32fa97=_0x169720;if(_0x1d506c){_0x2a2bd2[_0x32fa97(0x18a)](debug,_0x32fa97(0x133)+_0x1d506c[_0x32fa97(0x1c2)]());return;}_0x2a2bd2['QUaHa'](debug,_0x32fa97(0x1af)+_0x109d14);});if(_0x44ecdc)return this[_0x169720(0x1c3)](this[_0x169720(0x15f)],_0x44ecdc);}static[a151_0x494c4b(0x149)](_0xb7d774){const _0x32acc1=a151_0x494c4b,_0x5dc621={};_0x5dc621[_0x32acc1(0x1c9)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x5dc621['wHcKD']=_0x32acc1(0x1b0),_0x5dc621[_0x32acc1(0x1cc)]=_0x32acc1(0x1ab),_0x5dc621['cOKRf']=_0x32acc1(0x19c);const _0x22a29e=_0x5dc621;let _0x4a0bd0=_0x22a29e[_0x32acc1(0x1c9)];return _0x4a0bd0+=_0x22a29e['wHcKD'],_0x4a0bd0+=_0x22a29e[_0x32acc1(0x1cc)],_0xb7d774[_0x32acc1(0x139)](_0x21e21f=>{const _0x271fa3=_0x32acc1;_0x4a0bd0+='<tr><td>'+_0x21e21f[_0x271fa3(0x174)]+_0x271fa3(0x190)+_0x21e21f['duration']+_0x271fa3(0x150);}),_0x4a0bd0+=_0x22a29e[_0x32acc1(0x196)],_0x4a0bd0;}static[a151_0x494c4b(0x1d9)](_0x214384){const _0x904e80=a151_0x494c4b;if(!this[_0x904e80(0x1ad)])return;const _0x3a2f6c={};_0x214384[_0x904e80(0x152)](_0x4fcb80=>{const _0x4b3ab5=_0x904e80;!_0x3a2f6c[_0x4fcb80[_0x4b3ab5(0x174)]]&&(_0x3a2f6c[_0x4fcb80[_0x4b3ab5(0x174)]]=0x0),_0x3a2f6c[_0x4fcb80[_0x4b3ab5(0x174)]]+=_0x4fcb80[_0x4b3ab5(0x160)];});const _0xf67b5=Object['entries'](_0x3a2f6c)['map'](([_0x152761,_0x145927])=>{const _0x2bf32d=_0x904e80,_0x40554a={};return _0x40554a[_0x2bf32d(0x174)]=_0x152761,_0x40554a[_0x2bf32d(0x160)]=_0x145927,_0x40554a;});fs[_0x904e80(0x1a1)](this[_0x904e80(0x1ad)],JSON[_0x904e80(0x18e)](_0xf67b5));}static[a151_0x494c4b(0x17a)](){const _0x9db264=a151_0x494c4b,_0x330846={};_0x330846[_0x9db264(0x13b)]=function(_0xa18fc3,_0x583893){return _0xa18fc3===_0x583893;},_0x330846[_0x9db264(0x1b3)]=_0x9db264(0x137);const _0x11bfb2=_0x330846;return!_0x11bfb2['BaJyI'](process[_0x9db264(0x1c8)][_0x9db264(0x155)],_0x11bfb2['gxNiZ']);}static[a151_0x494c4b(0x159)](_0x15c000,_0x2f4c28,_0x1bae31=null,_0x1f8ae3={},_0xe0bd2b=null){const _0x1bd359=a151_0x494c4b,_0x4b91c1={'iTnsO':function(_0x2ffabd,_0x3ed185){return _0x2ffabd(_0x3ed185);},'XBOWE':function(_0x5df0e5,_0x44f941){return _0x5df0e5 instanceof _0x44f941;}};try{if(this[_0x1bd359(0x1b9)]&&this['isEnabled']()){let _0x2e583f=_0x15c000;_0x1bae31&&(_0x2e583f=_0x15c000+'['+JSON[_0x1bd359(0x18e)](_0x1bae31)+']');PerformanceTester['start'](_0x2e583f),this[_0x1bd359(0x135)]&&(this[_0x1bd359(0x135)][_0x2e583f]=_0x1f8ae3);try{const _0x47c0f0=_0x2f4c28[_0x1bd359(0x14d)](null,_0xe0bd2b);if(_0x4b91c1[_0x1bd359(0x191)](_0x47c0f0,Promise))return new Promise((_0x4236cc,_0x34b016)=>{const _0x1ac53e=_0x1bd359,_0x10212f={'CpSmq':function(_0x19f2ab,_0xdd1549){return _0x4b91c1['iTnsO'](_0x19f2ab,_0xdd1549);}};_0x47c0f0['then'](_0x5ddcbd=>{const _0x3dab49=a151_0x4cff;PerformanceTester[_0x3dab49(0x1df)](_0x2e583f),_0x4b91c1[_0x3dab49(0x144)](_0x4236cc,_0x5ddcbd);})[_0x1ac53e(0x161)](_0x12d08c=>{const _0x17ee4c=_0x1ac53e;PerformanceTester[_0x17ee4c(0x1df)](_0x2e583f,![],util['format'](_0x12d08c)),_0x10212f['CpSmq'](_0x34b016,_0x12d08c);});});;return PerformanceTester[_0x1bd359(0x1df)](_0x2e583f),_0x47c0f0;}catch(_0x494540){PerformanceTester['end'](_0x2e583f,![],util['format'](_0x494540));throw _0x494540;}};return _0x2f4c28['apply'](null,_0xe0bd2b);}catch(_0x49166d){return logger[_0x1bd359(0x1b4)](_0x1bd359(0x1c6)+(_0x49166d[_0x1bd359(0x1d3)]||_0x49166d[_0x1bd359(0x193)]||_0x49166d)),_0x2f4c28[_0x1bd359(0x14d)](null,_0xe0bd2b);}}static['measureWrapper'](_0x1349f6,_0x7a22d2,_0x169276={}){const _0x40ba93=a151_0x494c4b,_0x3a6c8c={'CgNAZ':function(_0x41b5ea){return _0x41b5ea();}},_0x507e55=this;return _0x169276[_0x40ba93(0x13d)]=_0x3a6c8c[_0x40ba93(0x171)](getProcessId),_0x169276[_0x40ba93(0x1a5)]=_0x3a6c8c[_0x40ba93(0x171)](getTestName),_0x169276[_0x40ba93(0x179)]=global['__platformCaps']&&global[_0x40ba93(0x148)][_0x40ba93(0x130)],function(){const _0x591602=_0x40ba93,_0x2bdecb=[_0x1349f6,_0x7a22d2,null,_0x169276]['concat'](arguments);return _0x507e55[_0x591602(0x159)]['apply'](_0x507e55,_0x2bdecb);};}static['getCleanedPerfEvents'](){const _0x1aa66f=a151_0x494c4b,_0x44edc3=/(^.*)\[(.*)\]$/,_0x331e63={},_0x3afedc={},_0x2413a3=[],_0x1d31c1=this[_0x1aa66f(0x19a)][_0x1aa66f(0x1bf)](0x0,this[_0x1aa66f(0x19a)]['length']);for(const _0x4b945c of _0x1d31c1){const _0x3f149c=_0x4b945c[_0x1aa66f(0x174)][_0x1aa66f(0x173)](_0x44edc3),_0xfc1468=Object[_0x1aa66f(0x16d)]({},_0x4b945c);_0x3f149c&&(_0xfc1468['name']=_0x3f149c[0x1],_0xfc1468['meta']=JSON['parse'](_0x3f149c[0x2])),_0x2413a3[_0x1aa66f(0x16a)](_0xfc1468);}return _0x2413a3;}static[a151_0x494c4b(0x1c1)](){const _0x1c2b98=a151_0x494c4b,_0x41c756={'lIRae':function(_0x1dbf91){return _0x1dbf91();},'XDLHB':function(_0x477e3e,_0xff8c5d){return _0x477e3e+_0xff8c5d;},'TkBXO':_0x1c2b98(0x12f),'egeSL':function(_0x3b31a4,_0x2d95ab){return _0x3b31a4===_0x2d95ab;}};try{this[_0x1c2b98(0x14e)]=path[_0x1c2b98(0x186)](_0x41c756[_0x1c2b98(0x1cb)](getLogDir),this[_0x1c2b98(0x1b5)]);if(fs[_0x1c2b98(0x185)](this[_0x1c2b98(0x14e)])){const _0x5b9e82=fs[_0x1c2b98(0x1a8)](this[_0x1c2b98(0x14e)]);for(const _0x421435 of _0x5b9e82){fs['unlinkSync'](path[_0x1c2b98(0x186)](this['jsonReportDirPath'],_0x421435));}}}catch(_0xe0c338){logger['debug'](_0x41c756[_0x1c2b98(0x18b)](_0x41c756[_0x1c2b98(0x16e)],_0xe0c338));}if(_0x41c756[_0x1c2b98(0x1a4)](this[_0x1c2b98(0x19a)][_0x1c2b98(0x13f)],0x0))return;const _0x19e362=this['getCleanedPerfEvents'](),_0x424043=JSON[_0x1c2b98(0x18e)](_0x19e362),_0x1d1bdc=_0x41c756[_0x1c2b98(0x18b)](_0x424043[_0x1c2b98(0x183)](0x1,-0x1),',');fs['appendFileSync'](this[_0x1c2b98(0x1ad)],_0x1d1bdc);}static async[a151_0x494c4b(0x1db)](){const _0xbf8087=a151_0x494c4b,_0x53ed15={'LmKSh':function(_0x3f4215){return _0x3f4215();},'aFuMI':function(_0x5d7b4d,_0x2c45f8){return _0x5d7b4d===_0x2c45f8;},'xPDrI':_0xbf8087(0x162),'ogtyo':'utf-8','sTmfH':'modified-key-metrics.json','HTzYa':function(_0x589a1c,_0x20050c){return _0x589a1c+_0x20050c;},'RQDjy':function(_0x575122,_0x4c885b){return _0x575122+_0x4c885b;},'mTtTv':_0xbf8087(0x181),'rjDNa':_0xbf8087(0x12d),'LspXq':_0xbf8087(0x1e0),'eEYZx':function(_0x1837fb,_0x14e5b3){return _0x1837fb>_0x14e5b3;}};this[_0xbf8087(0x14e)]=path[_0xbf8087(0x186)](_0x53ed15[_0xbf8087(0x166)](getLogDir),this[_0xbf8087(0x1b5)]);if(!this[_0xbf8087(0x1b9)]||_0x53ed15[_0xbf8087(0x1c5)](this[_0xbf8087(0x19a)][_0xbf8087(0x13f)],0x0))return[];if(!fs['existsSync'](this[_0xbf8087(0x14e)]))return this[_0xbf8087(0x19a)];const _0x19f635=(await fsPromise[_0xbf8087(0x14c)](this[_0xbf8087(0x14e)]))[_0xbf8087(0x152)](_0x4e8afc=>path[_0xbf8087(0x16b)](this[_0xbf8087(0x14e)],_0x4e8afc));try{const _0x2ab0c1=path[_0xbf8087(0x1b8)](this['jsonReportDirPath']),_0x58d2ad=path[_0xbf8087(0x186)](_0x2ab0c1,_0x53ed15['xPDrI']);if(fs[_0xbf8087(0x185)](_0x58d2ad))try{await fsPromise[_0xbf8087(0x1a2)](_0x58d2ad,fs[_0xbf8087(0x1ac)][_0xbf8087(0x140)]);const _0x39e097=await fsPromise['readFile'](_0x58d2ad,_0x53ed15['ogtyo']),_0xde61f7=JSON[_0xbf8087(0x180)](_0x39e097),_0x422708=path['join'](this[_0xbf8087(0x14e)],_0x53ed15[_0xbf8087(0x17f)]);let _0x217d43='';Array['isArray'](_0xde61f7)?_0x217d43=_0x53ed15['HTzYa'](_0xde61f7[_0xbf8087(0x152)](_0x5dfe6e=>JSON[_0xbf8087(0x18e)](_0x5dfe6e))[_0xbf8087(0x186)](','),','):_0x217d43=_0x53ed15[_0xbf8087(0x13a)](JSON['stringify'](_0xde61f7),','),await fsPromise[_0xbf8087(0x1d5)](_0x422708,_0x217d43),_0x19f635[_0xbf8087(0x16a)](_0x422708),await fsPromise['unlink'](_0x58d2ad);}catch(_0x49876f){logger[_0xbf8087(0x1aa)](util[_0xbf8087(0x14f)](_0x53ed15[_0xbf8087(0x167)],_0x49876f[_0xbf8087(0x1d3)]||_0x49876f['message']||_0x49876f));}else logger[_0xbf8087(0x1aa)](_0x53ed15[_0xbf8087(0x1d7)]);}catch(_0x4b0cc6){logger[_0xbf8087(0x1aa)](util['format'](_0x53ed15[_0xbf8087(0x1b7)],_0x4b0cc6[_0xbf8087(0x1d3)]||_0x4b0cc6[_0xbf8087(0x193)]||_0x4b0cc6));}let _0x5d191d=(await Promise[_0xbf8087(0x17e)](_0x19f635['map'](_0x253917=>fsPromise[_0xbf8087(0x18c)](_0x253917,_0xbf8087(0x1de)))))[_0xbf8087(0x152)](_0x3425dc=>'['+_0x3425dc['slice'](0x0,-0x1)+']')[_0xbf8087(0x152)](_0x12b372=>JSON[_0xbf8087(0x180)](_0x12b372))[_0xbf8087(0x187)]();return _0x53ed15[_0xbf8087(0x1c7)](this[_0xbf8087(0x19a)][_0xbf8087(0x13f)],0x0)&&(_0x5d191d=_0x5d191d['concat'](this[_0xbf8087(0x1d8)]())),this[_0xbf8087(0x138)]['disconnect'](),_0x5d191d;}static[a151_0x494c4b(0x1d6)](){const _0x452bdc=a151_0x494c4b,_0x324914={};_0x324914['pzrjS']=function(_0x4157f3,_0x44b0fb){return _0x4157f3===_0x44b0fb;},_0x324914[_0x452bdc(0x1c4)]=function(_0x690c81,_0x1251c8){return _0x690c81+_0x1251c8;};const _0x1d0a83=_0x324914;if(_0x1d0a83[_0x452bdc(0x1cd)](this[_0x452bdc(0x1a6)][_0x452bdc(0x13f)],0x0))return;const _0x32ca4e=JSON[_0x452bdc(0x18e)](this['_errorEvents']),_0x4536f0=_0x1d0a83[_0x452bdc(0x1c4)](_0x32ca4e['slice'](0x1,-0x1),',');fs['appendFileSync'](this[_0x452bdc(0x176)],_0x4536f0);}static['finalizeErrors'](){const _0x1f7905=a151_0x494c4b,_0x560e72={};_0x560e72['MZkju']=function(_0x366451,_0x4a7d77){return _0x366451>_0x4a7d77;};const _0x264d4d=_0x560e72;if(this['errorReportFileName']){if(!fs[_0x1f7905(0x185)](this['errorReportFileName']))return this[_0x1f7905(0x1a6)];let _0x54ef19=fs['readFileSync'](this[_0x1f7905(0x194)])['toString']();_0x54ef19='['+_0x54ef19['slice'](0x0,-0x1)+']';let _0x1ed126=JSON[_0x1f7905(0x180)](_0x54ef19);return _0x264d4d['MZkju'](this[_0x1f7905(0x1a6)]['length'],0x0)&&(_0x1ed126=_0x1ed126[_0x1f7905(0x1be)](this['_errorEvents'])),fs[_0x1f7905(0x19e)](this[_0x1f7905(0x194)]),_0x1ed126;}}static[a151_0x494c4b(0x145)](_0x501be1){const _0x18f239=a151_0x494c4b;if(!this['isEnabled']())return;this[_0x18f239(0x1a6)]['push']({'message':_0x501be1['message'],'trace':_0x501be1[_0x18f239(0x1d3)],'code':_0x501be1[_0x18f239(0x1a0)]||null,'time':new Date()});}static[a151_0x494c4b(0x1e1)](){const _0x3bbe3a=a151_0x494c4b;try{if(!this[_0x3bbe3a(0x17a)]())return;this['_observer'][_0x3bbe3a(0x153)](),this[_0x3bbe3a(0x1c1)](),this[_0x3bbe3a(0x1d6)]();}catch(_0x437426){logger[_0x3bbe3a(0x1b4)]('Error\x20stopping\x20monitoring\x20'+util['format'](_0x437426));}}static async[a151_0x494c4b(0x15b)](){const _0xa1f815=a151_0x494c4b,_0x3842a1={'xZPBw':function(_0x306ce0,_0x2e53a9){return _0x306ce0(_0x2e53a9);}};await _0x3842a1[_0xa1f815(0x164)](sleep,0x1e);const _0x10d03b=await this[_0xa1f815(0x1db)](),_0x586319=this[_0xa1f815(0x199)]();if(!this['isEnabled']()){const _0x46dc33={};return _0x46dc33['measures']=[],_0x46dc33[_0xa1f815(0x19f)]=[],_0x46dc33;}const _0xbe1e25={};return _0xbe1e25[_0xa1f815(0x1c0)]=_0x10d03b,_0xbe1e25[_0xa1f815(0x19f)]=_0x586319,_0xbe1e25;}static[a151_0x494c4b(0x146)](_0x9fce27){const _0xce7925=a151_0x494c4b,_0x44173a={};_0x44173a[_0xce7925(0x156)]=function(_0x2c278c,_0x41f8ad){return _0x2c278c+_0x41f8ad;},_0x44173a[_0xce7925(0x1d0)]=_0xce7925(0x1a3);const _0x3e0787=_0x44173a,_0x36ea81=_0x3e0787[_0xce7925(0x156)](_0x9fce27,_0x3e0787[_0xce7925(0x1d0)]);if(this['eventsMap'][_0x36ea81])return;performance[_0xce7925(0x165)](_0x36ea81),this[_0xce7925(0x189)][_0x36ea81]=0x1;}static[a151_0x494c4b(0x1df)](_0x4826a1,_0x13d956=!![],_0x311c8d=null,_0x3877c3={}){const _0x21ad5c=a151_0x494c4b,_0x3ebec3={'yxlxm':_0x21ad5c(0x16f),'FrnQS':function(_0x417b3c){return _0x417b3c();},'fODRx':function(_0x17f9e0){return _0x17f9e0();},'PgksH':function(_0x5ec1ab,_0x23ce39){return _0x5ec1ab+_0x23ce39;},'TUcQP':'-start','ReLNJ':function(_0x993227,_0x2b6d7f){return _0x993227+_0x2b6d7f;},'BhseJ':_0x21ad5c(0x18d),'HhtgP':function(_0x52c6c7,_0x52c7a6){return _0x52c6c7+_0x52c7a6;}},_0xd78558=_0x3ebec3[_0x21ad5c(0x192)]['split']('|');let _0x4b7852=0x0;while(!![]){switch(_0xd78558[_0x4b7852++]){case'0':const _0x4b056d={};_0x4b056d[_0x21ad5c(0x182)]=_0x13d956,_0x4b056d[_0x21ad5c(0x178)]=_0x311c8d,this[_0x21ad5c(0x135)][_0x4826a1]=Object[_0x21ad5c(0x16d)](_0x4b056d,Object[_0x21ad5c(0x16d)](Object[_0x21ad5c(0x16d)]({'worker':_0x3ebec3[_0x21ad5c(0x197)](getProcessId),'platform':global[_0x21ad5c(0x148)]&&global[_0x21ad5c(0x148)][_0x21ad5c(0x130)],'testName':_0x3ebec3[_0x21ad5c(0x132)](getTestName)},_0x3877c3),this[_0x21ad5c(0x135)][_0x4826a1]||{}));continue;case'1':delete this[_0x21ad5c(0x189)][_0x3ebec3[_0x21ad5c(0x14a)](_0x4826a1,_0x3ebec3['TUcQP'])];continue;case'2':this[_0x21ad5c(0x189)][_0x3ebec3['ReLNJ'](_0x4826a1,_0x3ebec3['TUcQP'])]&&performance[_0x21ad5c(0x159)](_0x4826a1,_0x3ebec3[_0x21ad5c(0x14a)](_0x4826a1,_0x3ebec3[_0x21ad5c(0x177)]),_0x3ebec3[_0x21ad5c(0x1d1)](_0x4826a1,_0x3ebec3[_0x21ad5c(0x18f)]));continue;case'3':performance[_0x21ad5c(0x165)](_0x3ebec3[_0x21ad5c(0x15a)](_0x4826a1,_0x3ebec3[_0x21ad5c(0x18f)]));continue;case'4':if(!this[_0x21ad5c(0x189)][_0x3ebec3[_0x21ad5c(0x1d1)](_0x4826a1,_0x3ebec3[_0x21ad5c(0x177)])])return;continue;}break;}}}function a151_0x4cff(_0x5d0dc8,_0x5a85ae){const _0x1dbd63=a151_0x1dbd();return a151_0x4cff=function(_0x4cff69,_0x103bf8){_0x4cff69=_0x4cff69-0x12c;let _0x409efc=_0x1dbd63[_0x4cff69];return _0x409efc;},a151_0x4cff(_0x5d0dc8,_0x5a85ae);}module[a151_0x494c4b(0x168)]=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a152_0xefe89b=a152_0x5184;(function(_0x3eb5ce,_0x333a96){const _0x3153bc=a152_0x5184,_0x4ef523=_0x3eb5ce();while(!![]){try{const _0x10caca=-parseInt(_0x3153bc(0x280))/0x1*(parseInt(_0x3153bc(0x262))/0x2)+-parseInt(_0x3153bc(0x21d))/0x3*(parseInt(_0x3153bc(0x236))/0x4)+parseInt(_0x3153bc(0x23c))/0x5*(-parseInt(_0x3153bc(0x288))/0x6)+-parseInt(_0x3153bc(0x24c))/0x7+-parseInt(_0x3153bc(0x28c))/0x8*(-parseInt(_0x3153bc(0x296))/0x9)+parseInt(_0x3153bc(0x24e))/0xa*(parseInt(_0x3153bc(0x28f))/0xb)+parseInt(_0x3153bc(0x245))/0xc;if(_0x10caca===_0x333a96)break;else _0x4ef523['push'](_0x4ef523['shift']());}catch(_0x46b502){_0x4ef523['push'](_0x4ef523['shift']());}}}(a152_0x1da5,0x29a02));function a152_0x5184(_0x43a012,_0x601beb){const _0x1da5a6=a152_0x1da5();return a152_0x5184=function(_0x5184b5,_0x369105){_0x5184b5=_0x5184b5-0x1f4;let _0x46a476=_0x1da5a6[_0x5184b5];return _0x46a476;},a152_0x5184(_0x43a012,_0x601beb);}function a152_0x1da5(){const _0x40c1df=['constructor','apply','RuCqu','bstack:options','DZUyu','getPlaywrightConfig','5nJukkH','cjlfx','lOsae','QEuAx','connectOverCDPWithRetry','browserstack.accessibilityOptions.scannerVersion','./w3cMapping','Error\x20getting\x20Playwright\x20BrowserType:\x20','1742442XHEooW','ECONNRESET','ESMte','SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null','2608bqHQcr','zdElR','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','8613mZtxAx','getBrowserFromCaps','isArray','cliConfig','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','apiJg','BS_A11Y_JWT','99ZqolhI','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','\x20failed\x20(','aWPlo','Hewjj','FARhk','UorMr','Timeout','format','importFileFromPWCore','rFOdl','LwsWN','ECONNREFUSED','connectOverCDP','warn','getModifiedConfigFromCLI','eZOob','browserstack.accessibilityOptions.authToken','NAXBg','includes','xNGDr','./testhub/utils','sOlMd','JafZW','TknaF','resolveBrowserTypeClass','[A11Y]\x20connectOverCDP\x20attempt\x20','browserstack.accessibilityOptions.scannerProcessingTimeout','hTbMY','HFIOG','MRxfJ','sFKXp','util','waESP','WebSocket\x20error','No\x20modified\x20config\x20received\x20from\x20gRPC','FfFKo','[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20','chromium','VXWMe','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserstack.testhubBuildUuid','getBuildProductMap','getPlaywrightUrl','nBnXZ','61755jrLtrJ','SjPED','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','getPlaywrightModulePath','DRcTA','PwVOp','bootstrap','cucumberjs-pw','UwetP','capabilities','rzcXu','entries','NhkXc','getPWCorePath','swByT','configPath','./helper','projects','zoVCz','connectWithRetry','SLjSU','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','Fftdd','ldvks','__platformCaps','64qysJHt','aqnQT','bebwk','vwGZC','\x20attempts\x20—\x20surfacing\x20error:\x20','NLwJG','5EUbwou','ayUdI','Detected\x20Playwright\x20version\x20','use','[Playwright]\x20connect\x20gave\x20up\x20after\x20','error','Socket\x20idle\x20from\x20a\x20long\x20time','setFrameworkDetail','getPlaywrightBrowserType','11776848pFNQRz','OsoMg','EUeHm','Unable\x20to\x20get\x20the\x20websocket\x20connection','generatePlaywrightUrl','checkPwandBootstrapCli','isPlaywrightAvailable','791931FbeLGg','debug','60DqRZZV','PLAYWRIGHT','vDISi','playwrightConfigObject','message','chrome','firefox','webkit','_connection','SIfkj','HOWee','zdIMP','Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed','nEXbQ','SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20','platformCaps','length','__launchCaps','browserstack.accessibilityOptions.wcagVersion','__accessibilityOptions','34516DdRZBh','config','.\x20Session\x20may\x20be\x20reported\x20unlinked\x20(device\x20name\x20missing\x20on\x20dashboard).','OsCmF','getConfig','Could\x20not\x20import\x20GrpcClient:\x20','browserstack.buildProductMap','rvJrs','env','toLowerCase','browserName','../bin/v2/grpcClient','getInstance','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','dJQpA','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','LofEd','[Playwright]\x20connect\x20attempt\x20','jGTbV','exports','aYJMk','setBrowserstackConfig','stringify','convertW3CToJsonWire'];a152_0x1da5=function(){return _0x40c1df;};return a152_0x1da5();}const util=require(a152_0xefe89b(0x210)),{importFileFromPWCore}=require(a152_0xefe89b(0x22d)),helper=require(a152_0xefe89b(0x22d)),logger=require('./logger')['winstonLogger'],W3CMapping=require(a152_0xefe89b(0x286))['W3CMapping'](),constants=require('../bin/utils/constants'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;try{GrpcClient=require(a152_0xefe89b(0x26d));}catch(a152_0x2bb49c){logger['debug'](a152_0xefe89b(0x267)+a152_0x2bb49c[a152_0xefe89b(0x252)]),GrpcClient=null;}const convertW3CToJsonWire=_0x58bf26=>{const _0x5f6fdc=a152_0xefe89b,_0x4f118c={};_0x4f118c[_0x5f6fdc(0x27e)]=function(_0x44f74d,_0x3daf36){return _0x44f74d||_0x3daf36;},_0x4f118c['vDISi']=function(_0x535f21,_0x1817f8){return _0x535f21===_0x1817f8;},_0x4f118c[_0x5f6fdc(0x202)]=_0x5f6fdc(0x27d),_0x4f118c['aYJMk']=function(_0x4a72aa,_0x4294db){return _0x4a72aa===_0x4294db;},_0x4f118c[_0x5f6fdc(0x283)]=function(_0x4be29d,_0x46df26){return _0x4be29d in _0x46df26;};const _0x3d8ada=_0x4f118c,_0x45e22c={};for(const [_0x587fdc,_0x9e17c]of Object['entries'](_0x3d8ada['DZUyu'](_0x58bf26,{}))){if(_0x3d8ada[_0x5f6fdc(0x250)](_0x587fdc,_0x3d8ada[_0x5f6fdc(0x202)]))continue;let _0x4cab1d=![];for(const [_0x6b68b8,_0x93e500]of Object[_0x5f6fdc(0x228)](W3CMapping)){if(_0x3d8ada[_0x5f6fdc(0x276)](_0x587fdc,_0x93e500)){_0x45e22c[_0x6b68b8]=_0x9e17c,_0x4cab1d=!![];break;}}!_0x4cab1d&&(_0x45e22c[_0x587fdc]=_0x9e17c);}const _0x42cf84=_0x58bf26[_0x3d8ada[_0x5f6fdc(0x202)]]||{};for(const [_0x1143d2,_0x411274]of Object[_0x5f6fdc(0x228)](_0x42cf84)){let _0xd2d182=![];for(const [_0xb63a64,_0x3be3d4]of Object[_0x5f6fdc(0x228)](W3CMapping)){if(_0x3d8ada[_0x5f6fdc(0x250)](_0x1143d2,_0x3be3d4)){_0x45e22c[_0xb63a64]=_0x411274,_0xd2d182=!![];break;}}!_0xd2d182&&!_0x3d8ada[_0x5f6fdc(0x283)](_0x1143d2,_0x45e22c)&&(_0x45e22c[_0x1143d2]=_0x411274);}return logger[_0x5f6fdc(0x24d)](_0x5f6fdc(0x26f)+JSON['stringify'](_0x45e22c)),_0x45e22c;},getModifiedConfigFromCLI=async _0x4bebf6=>{const _0x3bf390=a152_0xefe89b,_0xaead86={};_0xaead86[_0x3bf390(0x214)]=_0x3bf390(0x232),_0xaead86[_0x3bf390(0x1fb)]=_0x3bf390(0x224),_0xaead86['PwVOp']='Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw',_0xaead86[_0x3bf390(0x270)]=_0x3bf390(0x213),_0xaead86[_0x3bf390(0x20c)]=function(_0x12cb9e,_0x582ccf){return _0x12cb9e>_0x582ccf;},_0xaead86['NLwJG']=function(_0x390428,_0x1bfbe4){return _0x390428>_0x1bfbe4;},_0xaead86[_0x3bf390(0x217)]=_0x3bf390(0x271);const _0x2c0368=_0xaead86;try{if(!GrpcClient)return logger[_0x3bf390(0x24d)](_0x2c0368[_0x3bf390(0x214)]),null;const _0x3fa41e={};_0x3fa41e[_0x3bf390(0x226)]=_0x4bebf6,_0x3fa41e['framework']=_0x2c0368[_0x3bf390(0x1fb)],_0x3fa41e['workers']=0x1,_0x3fa41e[_0x3bf390(0x22e)]=[];const _0x1dda26=_0x3fa41e;logger['debug'](_0x2c0368[_0x3bf390(0x222)]);const _0x20cd4e={};_0x20cd4e[_0x3bf390(0x251)]=_0x1dda26;const _0x4f8126=await GrpcClient[_0x3bf390(0x26e)]()[_0x3bf390(0x27f)](_0x20cd4e);if(!_0x4f8126[_0x3bf390(0x266)]())return logger[_0x3bf390(0x24d)](_0x2c0368[_0x3bf390(0x270)]),null;const _0x3c10a9=JSON['parse'](_0x4f8126[_0x3bf390(0x266)]());logger[_0x3bf390(0x24d)]('Received\x20modified\x20config\x20from\x20gRPC:\x20'+JSON[_0x3bf390(0x278)](_0x3c10a9));if(_0x3c10a9[_0x3bf390(0x226)]&&Array['isArray'](_0x3c10a9[_0x3bf390(0x226)])&&_0x2c0368[_0x3bf390(0x20c)](_0x3c10a9[_0x3bf390(0x226)][_0x3bf390(0x25e)],0x0))return _0x3c10a9['capabilities'][0x0];else{if(_0x3c10a9[_0x3bf390(0x22e)]&&Array[_0x3bf390(0x291)](_0x3c10a9['projects'])&&_0x2c0368[_0x3bf390(0x23b)](_0x3c10a9[_0x3bf390(0x22e)][_0x3bf390(0x25e)],0x0)){const _0x1a5d92=_0x3c10a9['projects'][0x0];if(_0x1a5d92[_0x3bf390(0x23f)]&&_0x1a5d92[_0x3bf390(0x23f)][_0x3bf390(0x25d)])return _0x1a5d92[_0x3bf390(0x23f)][_0x3bf390(0x25d)];}}return logger[_0x3bf390(0x24d)](_0x2c0368[_0x3bf390(0x217)]),null;}catch(_0x3b6e06){logger[_0x3bf390(0x241)](_0x3bf390(0x28e)+_0x3b6e06[_0x3bf390(0x252)]);throw _0x3b6e06;}},generatePlaywrightUrl=(_0x5da923,_0x553bb4)=>{const _0xe9a730=a152_0xefe89b,_0x32cb9c={'SqwEP':function(_0xf26f96,_0x22331e){return _0xf26f96!==_0x22331e;},'RuCqu':function(_0xf3c0c4,_0x2b45a9){return _0xf3c0c4!==_0x2b45a9;},'ESMte':function(_0xc47bf3,_0x303291){return _0xc47bf3!==_0x303291;},'obaJz':function(_0x583710,_0x247f88){return _0x583710!==_0x247f88;},'Fftdd':function(_0x3cc1e8,_0x340462){return _0x3cc1e8(_0x340462);},'rFOdl':function(_0x474957,_0x345507){return _0x474957||_0x345507;},'lOsae':function(_0x5c8a5f,_0x142793){return _0x5c8a5f(_0x142793);},'HOWee':'browserstack.accessibility','swByT':function(_0x35d958,_0x4a4664){return _0x35d958(_0x4a4664);},'sOlMd':_0xe9a730(0x201),'waESP':_0xe9a730(0x260),'TknaF':function(_0x32fa7c,_0x5cb6c6){return _0x32fa7c(_0x5cb6c6);},'EUeHm':_0xe9a730(0x285),'rzcXu':function(_0x41798e,_0x1c2af9){return _0x41798e(_0x1c2af9);},'bSLpM':_0xe9a730(0x20b),'rvJrs':function(_0xb39d1,_0x3f03ab){return _0xb39d1===_0x3f03ab;},'HFIOG':function(_0x29a0b4,_0xea7aa9){return _0x29a0b4(_0xea7aa9);},'vwGZC':'true','LofEd':_0xe9a730(0x219),'nBnXZ':_0xe9a730(0x268),'yEyWw':function(_0x4e9e49,_0x28d387){return _0x4e9e49+_0x28d387;}},_0x1de458=helper[_0xe9a730(0x21b)](_0x5da923),_0x4b449a=_0x32cb9c[_0xe9a730(0x233)](convertW3CToJsonWire,_0x553bb4);try{const _0xd7714=[_0x32cb9c[_0xe9a730(0x1fa)](_0x553bb4,{}),global[_0xe9a730(0x25f)]||{},global[_0xe9a730(0x235)]||{},global[_0xe9a730(0x261)]||{}],_0x1c9307=_0xbd82b9=>{const _0x1a894b=_0xe9a730;if(_0x32cb9c['SqwEP'](_0x4b449a[_0xbd82b9],undefined)&&_0x32cb9c[_0x1a894b(0x27c)](_0x4b449a[_0xbd82b9],null)&&_0x32cb9c[_0x1a894b(0x28a)](_0x4b449a[_0xbd82b9],''))return;for(const _0x34acde of _0xd7714){if(_0x34acde&&_0x32cb9c['ESMte'](_0x34acde[_0xbd82b9],undefined)&&_0x32cb9c[_0x1a894b(0x27c)](_0x34acde[_0xbd82b9],null)&&_0x32cb9c['obaJz'](_0x34acde[_0xbd82b9],'')){_0x4b449a[_0xbd82b9]=_0x34acde[_0xbd82b9];return;}}};_0x32cb9c[_0xe9a730(0x282)](_0x1c9307,_0x32cb9c['HOWee']),_0x32cb9c[_0xe9a730(0x22b)](_0x1c9307,_0x32cb9c['sOlMd']),_0x32cb9c['Fftdd'](_0x1c9307,_0x32cb9c[_0xe9a730(0x211)]),_0x32cb9c[_0xe9a730(0x208)](_0x1c9307,_0x32cb9c[_0xe9a730(0x247)]),_0x32cb9c[_0xe9a730(0x227)](_0x1c9307,_0x32cb9c['bSLpM']),!_0x4b449a[_0x32cb9c[_0xe9a730(0x206)]]&&process['env'][_0xe9a730(0x295)]&&(_0x4b449a[_0x32cb9c[_0xe9a730(0x206)]]=process[_0xe9a730(0x26a)][_0xe9a730(0x295)]),_0x32cb9c[_0xe9a730(0x269)](_0x4b449a[_0x32cb9c[_0xe9a730(0x258)]],undefined)&&process[_0xe9a730(0x26a)][_0xe9a730(0x218)]&&_0x32cb9c[_0xe9a730(0x269)](_0x32cb9c[_0xe9a730(0x20d)](String,process[_0xe9a730(0x26a)][_0xe9a730(0x218)])[_0xe9a730(0x26b)](),_0x32cb9c[_0xe9a730(0x239)])&&(_0x4b449a[_0x32cb9c['HOWee']]=!![]);}catch(_0x2d40ba){logger[_0xe9a730(0x24d)](_0xe9a730(0x21f)+util[_0xe9a730(0x1f8)](_0x2d40ba));}return _0x4b449a[_0x32cb9c[_0xe9a730(0x272)]]=process[_0xe9a730(0x26a)]['BROWSERSTACK_TESTHUB_UUID'],_0x4b449a[_0x32cb9c[_0xe9a730(0x21c)]]=helper[_0xe9a730(0x21a)](),_0x32cb9c['yEyWw'](_0x1de458,_0x32cb9c[_0xe9a730(0x227)](encodeURIComponent,JSON[_0xe9a730(0x278)](_0x4b449a)));},getBrowserFromCaps=_0xcaf878=>{const _0x7b9829=a152_0xefe89b,_0x22f928={};_0x22f928[_0x7b9829(0x20f)]=_0x7b9829(0x253);const _0xab60ff=_0x22f928;return _0xcaf878[_0x7b9829(0x26c)]||_0xcaf878['browser']||_0xab60ff[_0x7b9829(0x20f)];},getBundledConnectionClass=()=>{const _0x261272=a152_0xefe89b,_0x27ae90={};_0x27ae90[_0x261272(0x229)]=_0x261272(0x28b);const _0x4c7045=_0x27ae90;try{const _0x34dae8=helper[_0x261272(0x22a)]();if(!_0x34dae8)return null;const _0x647807=helper['requirePWModule'](_0x34dae8),_0x3c59da=_0x647807&&(_0x647807[_0x261272(0x216)]||_0x647807[_0x261272(0x254)]||_0x647807[_0x261272(0x255)]);if(!_0x3c59da)return null;if(!_0x3c59da['_connection'])return logger[_0x261272(0x24d)](_0x4c7045['NhkXc']),null;if(!_0x3c59da[_0x261272(0x256)][_0x261272(0x27a)])return null;return _0x3c59da[_0x261272(0x256)][_0x261272(0x27a)];}catch(_0x4873ed){return logger['debug'](_0x261272(0x25c)+util['format'](_0x4873ed)),null;}},isPlaywrightAvailable=()=>{const _0x2d5b07=a152_0xefe89b;try{return!!helper[_0x2d5b07(0x209)]();}catch(_0x387660){return logger[_0x2d5b07(0x24d)]('Playwright\x20not\x20available:\x20'+util[_0x2d5b07(0x1f8)](_0x387660)),![];}},getPlaywrightBrowserType=()=>{const _0x27e9b3=a152_0xefe89b;try{return helper['resolveBrowserTypeClass']();}catch(_0x4ea1d0){return logger[_0x27e9b3(0x24d)](_0x27e9b3(0x287)+util['format'](_0x4ea1d0)),null;}},getPlaywrightModulePath=()=>{const _0x48a48f=a152_0xefe89b,_0x16ce27={};_0x16ce27[_0x48a48f(0x23d)]=_0x48a48f(0x293);const _0x31c45b=_0x16ce27;return logger['debug'](_0x31c45b[_0x48a48f(0x23d)]),null;},getBrowserTypePath=()=>{const _0x546477=a152_0xefe89b,_0x1ee6c9={};_0x1ee6c9[_0x546477(0x22f)]=_0x546477(0x297);const _0x17a4f0=_0x1ee6c9;return logger['debug'](_0x17a4f0[_0x546477(0x22f)]),null;},checkPwandBootstrapCli=async(_0x2ae4f5,_0x2f7f66,_0x13cb12)=>{const _0x5b269c=a152_0xefe89b,_0x2d4d76={'JBeLA':function(_0x2f5817,_0xca679b){return _0x2f5817(_0xca679b);},'DRcTA':_0x5b269c(0x205)};if(_0x2ae4f5){const _0x4cac75=constants['FRAMEWORKS'][_0x5b269c(0x24f)];logger[_0x5b269c(0x24d)](_0x5b269c(0x23e)+_0x2ae4f5+'\x20for\x20'+_0x2f7f66+'\x20flow'),CLIUtils[_0x5b269c(0x243)](_0x2f7f66,_0x4cac75);const {getProductMap:_0xdf0d6}=_0x2d4d76['JBeLA'](require,_0x2d4d76[_0x5b269c(0x221)]);process[_0x5b269c(0x26a)]['BROWSERSTACK_PRODUCT_MAP']=JSON['stringify'](_0x2d4d76['JBeLA'](_0xdf0d6,_0x13cb12[_0x5b269c(0x263)])),BrowserstackCLI['getInstance']()[_0x5b269c(0x277)](_0x13cb12[_0x5b269c(0x263)],_0x13cb12[_0x5b269c(0x22c)],_0x13cb12[_0x5b269c(0x292)]),await BrowserstackCLI['getInstance']()[_0x5b269c(0x223)]();}},connectOverCDPWithRetry=async(_0x2f0388,_0x5e71aa,_0x292556,_0x3923e7=0x3,_0xf1e7ed=0x1f4)=>{const _0x29309d=a152_0xefe89b,_0x55b2cd={};_0x55b2cd[_0x29309d(0x1f6)]=function(_0x24378e,_0x57e673){return _0x24378e<=_0x57e673;},_0x55b2cd[_0x29309d(0x299)]=_0x29309d(0x25a),_0x55b2cd[_0x29309d(0x207)]=_0x29309d(0x1f7),_0x55b2cd[_0x29309d(0x21e)]=_0x29309d(0x212),_0x55b2cd[_0x29309d(0x238)]='connectOverCDP:\x20CDPSession',_0x55b2cd['nEXbQ']='ECONNRESET',_0x55b2cd[_0x29309d(0x237)]=_0x29309d(0x1fc),_0x55b2cd[_0x29309d(0x1f4)]=function(_0x1c2b69,_0x1c2cf7){return _0x1c2b69===_0x1c2cf7;},_0x55b2cd['zdElR']=function(_0x257e86,_0x2c18f4){return _0x257e86+_0x2c18f4;},_0x55b2cd[_0x29309d(0x274)]=function(_0x4dd310,_0x5e44f2){return _0x4dd310*_0x5e44f2;},_0x55b2cd[_0x29309d(0x225)]=function(_0x15517c,_0x32a76e){return _0x15517c+_0x32a76e;},_0x55b2cd[_0x29309d(0x265)]=function(_0x16c2b4,_0x4330e3){return _0x16c2b4+_0x4330e3;};const _0x4d3e1f=_0x55b2cd;let _0x36e3c2;for(let _0x42fd71=0x0;_0x4d3e1f['UorMr'](_0x42fd71,_0x3923e7);_0x42fd71++){try{return await _0x2f0388[_0x29309d(0x1fd)]['apply'](_0x5e71aa,_0x292556);}catch(_0x22e93e){_0x36e3c2=_0x22e93e;const _0x431558=_0x22e93e&&_0x22e93e['message']||'',_0x1daa28=_0x431558[_0x29309d(0x203)](_0x4d3e1f[_0x29309d(0x299)])||_0x431558[_0x29309d(0x203)](_0x4d3e1f[_0x29309d(0x207)])||_0x431558[_0x29309d(0x203)](_0x4d3e1f['SjPED'])||_0x431558['includes'](_0x4d3e1f[_0x29309d(0x238)])||_0x431558[_0x29309d(0x203)](_0x4d3e1f[_0x29309d(0x25b)])||_0x431558[_0x29309d(0x203)](_0x4d3e1f[_0x29309d(0x237)]);if(!_0x1daa28||_0x4d3e1f[_0x29309d(0x1f4)](_0x42fd71,_0x3923e7)){_0x1daa28&&logger[_0x29309d(0x1fe)](_0x29309d(0x215)+_0x4d3e1f[_0x29309d(0x28d)](_0x42fd71,0x1)+_0x29309d(0x23a)+_0x431558);throw _0x22e93e;}const _0x3fca7b=_0x4d3e1f['jGTbV'](_0xf1e7ed,_0x4d3e1f[_0x29309d(0x225)](_0x42fd71,0x1));logger[_0x29309d(0x1fe)](_0x29309d(0x20a)+_0x4d3e1f[_0x29309d(0x225)](_0x42fd71,0x1)+'/'+_0x4d3e1f[_0x29309d(0x265)](_0x3923e7,0x1)+_0x29309d(0x298)+_0x431558+'),\x20retrying\x20in\x20'+_0x3fca7b+'ms'),await new Promise(_0x5a9045=>setTimeout(_0x5a9045,_0x3fca7b));}}throw _0x36e3c2;},connectWithRetry=async(_0x25efce,_0x17480b,_0x38e957,_0x123f20=0x3,_0x5b0e3f=0x3e8)=>{const _0x43be62=a152_0xefe89b,_0x4f968b={};_0x4f968b[_0x43be62(0x257)]=function(_0x531796,_0xb484a0){return _0x531796<=_0xb484a0;},_0x4f968b[_0x43be62(0x294)]=_0x43be62(0x242),_0x4f968b[_0x43be62(0x204)]=_0x43be62(0x248),_0x4f968b[_0x43be62(0x281)]='Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed',_0x4f968b['BTVya']=_0x43be62(0x1f7),_0x4f968b[_0x43be62(0x246)]=_0x43be62(0x212),_0x4f968b[_0x43be62(0x1f5)]=_0x43be62(0x289),_0x4f968b[_0x43be62(0x259)]=_0x43be62(0x1fc),_0x4f968b[_0x43be62(0x231)]=function(_0x51a2f4,_0x4228ee){return _0x51a2f4===_0x4228ee;},_0x4f968b[_0x43be62(0x234)]=function(_0x1390fe,_0xdba52f){return _0x1390fe+_0xdba52f;},_0x4f968b[_0x43be62(0x20e)]=function(_0x175ed3,_0x2af40f){return _0x175ed3*_0x2af40f;},_0x4f968b['eZOob']=function(_0x238ea5,_0x119dac){return _0x238ea5+_0x119dac;};const _0x157d0f=_0x4f968b;let _0x3d4221;for(let _0x3e54e9=0x0;_0x157d0f[_0x43be62(0x257)](_0x3e54e9,_0x123f20);_0x3e54e9++){try{return await _0x25efce[_0x43be62(0x27b)](_0x17480b,_0x38e957);}catch(_0x4d6992){_0x3d4221=_0x4d6992;const _0x14cce0=_0x4d6992&&_0x4d6992['message']||'',_0x218c91=_0x14cce0[_0x43be62(0x203)](_0x157d0f[_0x43be62(0x294)])||_0x14cce0['includes'](_0x157d0f['xNGDr'])||_0x14cce0[_0x43be62(0x203)](_0x157d0f[_0x43be62(0x281)])||_0x14cce0[_0x43be62(0x203)](_0x157d0f['BTVya'])||_0x14cce0[_0x43be62(0x203)](_0x157d0f['OsoMg'])||_0x14cce0[_0x43be62(0x203)](_0x157d0f[_0x43be62(0x1f5)])||_0x14cce0[_0x43be62(0x203)](_0x157d0f[_0x43be62(0x259)]);if(!_0x218c91||_0x157d0f[_0x43be62(0x231)](_0x3e54e9,_0x123f20)){_0x218c91&&logger[_0x43be62(0x1fe)](_0x43be62(0x240)+_0x157d0f['ldvks'](_0x3e54e9,0x1)+_0x43be62(0x23a)+_0x14cce0+_0x43be62(0x264));throw _0x4d6992;}const _0x16d327=_0x157d0f['MRxfJ'](_0x5b0e3f,_0x157d0f['ldvks'](_0x3e54e9,0x1));logger[_0x43be62(0x1fe)](_0x43be62(0x273)+_0x157d0f[_0x43be62(0x200)](_0x3e54e9,0x1)+'/'+_0x157d0f['ldvks'](_0x123f20,0x1)+'\x20failed\x20('+_0x14cce0+'),\x20retrying\x20in\x20'+_0x16d327+'ms'),await new Promise(_0x4c53ab=>setTimeout(_0x4c53ab,_0x16d327));}}throw _0x3d4221;},a152_0x479876={};a152_0x479876[a152_0xefe89b(0x279)]=convertW3CToJsonWire,a152_0x479876[a152_0xefe89b(0x1ff)]=getModifiedConfigFromCLI,a152_0x479876[a152_0xefe89b(0x249)]=generatePlaywrightUrl,a152_0x479876[a152_0xefe89b(0x290)]=getBrowserFromCaps,a152_0x479876[a152_0xefe89b(0x24b)]=isPlaywrightAvailable,a152_0x479876[a152_0xefe89b(0x244)]=getPlaywrightBrowserType,a152_0x479876[a152_0xefe89b(0x220)]=getPlaywrightModulePath,a152_0x479876['getBrowserTypePath']=getBrowserTypePath,a152_0x479876[a152_0xefe89b(0x1f9)]=importFileFromPWCore,a152_0x479876[a152_0xefe89b(0x24a)]=checkPwandBootstrapCli,a152_0x479876[a152_0xefe89b(0x284)]=connectOverCDPWithRetry,a152_0x479876[a152_0xefe89b(0x230)]=connectWithRetry,a152_0x479876['getBundledConnectionClass']=getBundledConnectionClass,module[a152_0xefe89b(0x275)]=a152_0x479876;
|
|
1
|
+
const a152_0x305b92=a152_0x47ed;(function(_0x255a3b,_0x2f4f76){const _0x3abd8c=a152_0x47ed,_0x42642f=_0x255a3b();while(!![]){try{const _0x1954d9=parseInt(_0x3abd8c(0x18b))/0x1+parseInt(_0x3abd8c(0x1a1))/0x2*(parseInt(_0x3abd8c(0x1be))/0x3)+parseInt(_0x3abd8c(0x1d1))/0x4*(-parseInt(_0x3abd8c(0x168))/0x5)+-parseInt(_0x3abd8c(0x158))/0x6*(-parseInt(_0x3abd8c(0x1e8))/0x7)+parseInt(_0x3abd8c(0x1f1))/0x8*(-parseInt(_0x3abd8c(0x1b0))/0x9)+parseInt(_0x3abd8c(0x191))/0xa+-parseInt(_0x3abd8c(0x183))/0xb;if(_0x1954d9===_0x2f4f76)break;else _0x42642f['push'](_0x42642f['shift']());}catch(_0x3011cd){_0x42642f['push'](_0x42642f['shift']());}}}(a152_0x2616,0xe1d31));function a152_0x47ed(_0x5cde89,_0x553eec){const _0x2616d9=a152_0x2616();return a152_0x47ed=function(_0x47edf9,_0x40fa9b){_0x47edf9=_0x47edf9-0x153;let _0x23621d=_0x2616d9[_0x47edf9];return _0x23621d;},a152_0x47ed(_0x5cde89,_0x553eec);}const util=require(a152_0x305b92(0x1ae)),{importFileFromPWCore}=require(a152_0x305b92(0x167)),helper=require('./helper'),logger=require(a152_0x305b92(0x1b6))[a152_0x305b92(0x18f)],W3CMapping=require(a152_0x305b92(0x1bf))[a152_0x305b92(0x19d)](),constants=require(a152_0x305b92(0x1ba)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require(a152_0x305b92(0x1ed));let GrpcClient;try{GrpcClient=require(a152_0x305b92(0x154));}catch(a152_0x62be87){logger['debug']('Could\x20not\x20import\x20GrpcClient:\x20'+a152_0x62be87[a152_0x305b92(0x160)]),GrpcClient=null;}const convertW3CToJsonWire=_0x5404e4=>{const _0x29f279=a152_0x305b92,_0x307279={};_0x307279[_0x29f279(0x1d3)]=function(_0x48b7a0,_0x2184bc){return _0x48b7a0||_0x2184bc;},_0x307279['MVBtm']=function(_0x586c88,_0x1ce914){return _0x586c88===_0x1ce914;},_0x307279[_0x29f279(0x18a)]=_0x29f279(0x179),_0x307279['fqdPA']=function(_0x4ffc13,_0x5b4f0f){return _0x4ffc13 in _0x5b4f0f;};const _0x5828f6=_0x307279,_0xd7c6b4={};for(const [_0x149de8,_0x50553d]of Object['entries'](_0x5828f6[_0x29f279(0x1d3)](_0x5404e4,{}))){if(_0x5828f6[_0x29f279(0x1f0)](_0x149de8,_0x5828f6['jLQqH']))continue;let _0x521523=![];for(const [_0x378adf,_0x2f6516]of Object[_0x29f279(0x182)](W3CMapping)){if(_0x5828f6['MVBtm'](_0x149de8,_0x2f6516)){_0xd7c6b4[_0x378adf]=_0x50553d,_0x521523=!![];break;}}!_0x521523&&(_0xd7c6b4[_0x149de8]=_0x50553d);}const _0x365a22=_0x5404e4[_0x5828f6[_0x29f279(0x18a)]]||{};for(const [_0x58391e,_0x26ada7]of Object[_0x29f279(0x182)](_0x365a22)){let _0xd1e0a8=![];for(const [_0x3e8773,_0x419936]of Object['entries'](W3CMapping)){if(_0x5828f6['MVBtm'](_0x58391e,_0x419936)){_0xd7c6b4[_0x3e8773]=_0x26ada7,_0xd1e0a8=!![];break;}}!_0xd1e0a8&&!_0x5828f6['fqdPA'](_0x58391e,_0xd7c6b4)&&(_0xd7c6b4[_0x58391e]=_0x26ada7);}return logger[_0x29f279(0x19b)](_0x29f279(0x1a3)+JSON[_0x29f279(0x1bc)](_0xd7c6b4)),_0xd7c6b4;},getModifiedConfigFromCLI=async _0x7b7c11=>{const _0x78d4df=a152_0x305b92,_0x41c946={};_0x41c946[_0x78d4df(0x1db)]=_0x78d4df(0x169),_0x41c946[_0x78d4df(0x161)]='cucumberjs-pw',_0x41c946['kUSgn']=_0x78d4df(0x1a2),_0x41c946[_0x78d4df(0x1c7)]='No\x20modified\x20config\x20received\x20from\x20gRPC',_0x41c946[_0x78d4df(0x1c8)]=function(_0x34b1b0,_0x38dc0c){return _0x34b1b0>_0x38dc0c;},_0x41c946['GqMvA']=_0x78d4df(0x1a5);const _0x513b95=_0x41c946;try{if(!GrpcClient)return logger[_0x78d4df(0x19b)](_0x513b95[_0x78d4df(0x1db)]),null;const _0x3a1cb5={};_0x3a1cb5['capabilities']=_0x7b7c11,_0x3a1cb5['framework']=_0x513b95[_0x78d4df(0x161)],_0x3a1cb5['workers']=0x1,_0x3a1cb5[_0x78d4df(0x18c)]=[];const _0x159201=_0x3a1cb5;logger[_0x78d4df(0x19b)](_0x513b95[_0x78d4df(0x19f)]);const _0x1e26b8={};_0x1e26b8[_0x78d4df(0x1d0)]=_0x159201;const _0x43994b=await GrpcClient[_0x78d4df(0x1ec)]()[_0x78d4df(0x1c0)](_0x1e26b8);if(!_0x43994b[_0x78d4df(0x1ab)]())return logger[_0x78d4df(0x19b)](_0x513b95[_0x78d4df(0x1c7)]),null;const _0x2ace38=JSON[_0x78d4df(0x172)](_0x43994b[_0x78d4df(0x1ab)]());logger[_0x78d4df(0x19b)](_0x78d4df(0x157)+JSON[_0x78d4df(0x1bc)](_0x2ace38));if(_0x2ace38[_0x78d4df(0x190)]&&Array['isArray'](_0x2ace38[_0x78d4df(0x190)])&&_0x513b95[_0x78d4df(0x1c8)](_0x2ace38['capabilities']['length'],0x0))return _0x2ace38['capabilities'][0x0];else{if(_0x2ace38['projects']&&Array[_0x78d4df(0x193)](_0x2ace38[_0x78d4df(0x18c)])&&_0x513b95[_0x78d4df(0x1c8)](_0x2ace38[_0x78d4df(0x18c)]['length'],0x0)){const _0x4b57fd=_0x2ace38[_0x78d4df(0x18c)][0x0];if(_0x4b57fd[_0x78d4df(0x194)]&&_0x4b57fd[_0x78d4df(0x194)][_0x78d4df(0x181)])return _0x4b57fd['use'][_0x78d4df(0x181)];}}return logger[_0x78d4df(0x19b)](_0x513b95[_0x78d4df(0x15c)]),null;}catch(_0x16e455){logger['error'](_0x78d4df(0x192)+_0x16e455['message']);throw _0x16e455;}},generatePlaywrightUrl=(_0x3f149a,_0x3762a7)=>{const _0x5e9a3d=a152_0x305b92,_0x40675d={'CixMs':function(_0x3262a0,_0x32d634){return _0x3262a0!==_0x32d634;},'dCjLW':function(_0x2657e8,_0x353986){return _0x2657e8!==_0x353986;},'srnTP':function(_0x4ca832,_0x5c3950){return _0x4ca832!==_0x5c3950;},'uWElp':function(_0x16ee77,_0x30727e){return _0x16ee77(_0x30727e);},'pWXRf':function(_0x114366,_0x5ecb0e){return _0x114366||_0x5ecb0e;},'kmgVf':function(_0x177e78,_0x3a7ce8){return _0x177e78(_0x3a7ce8);},'DThzO':_0x5e9a3d(0x1f3),'eBjnn':'browserstack.accessibilityOptions.authToken','FhPRM':function(_0x52c0b2,_0x15988b){return _0x52c0b2(_0x15988b);},'ogVEC':_0x5e9a3d(0x1a8),'flVKy':function(_0x232c52,_0x5025c1){return _0x232c52(_0x5025c1);},'AQZDA':'browserstack.accessibilityOptions.scannerVersion','zWbBy':function(_0x1517f1,_0x1c72e5){return _0x1517f1(_0x1c72e5);},'objfp':_0x5e9a3d(0x1e9),'JXjAT':function(_0x4d84b0,_0x3fc950){return _0x4d84b0===_0x3fc950;},'ViKZB':_0x5e9a3d(0x17b),'utZhn':'browserstack.testhubBuildUuid','smbwD':_0x5e9a3d(0x199),'UZDRu':function(_0x3c62ae,_0x4a152a){return _0x3c62ae+_0x4a152a;}},_0x55417a=helper[_0x5e9a3d(0x1c9)](_0x3f149a),_0x725187=_0x40675d[_0x5e9a3d(0x1ad)](convertW3CToJsonWire,_0x3762a7);try{const _0x3c65ac=[_0x40675d[_0x5e9a3d(0x1a7)](_0x3762a7,{}),global['__launchCaps']||{},global[_0x5e9a3d(0x184)]||{},global[_0x5e9a3d(0x1de)]||{}],_0x385155=_0x50bba1=>{const _0x3a9191=_0x5e9a3d;if(_0x40675d[_0x3a9191(0x176)](_0x725187[_0x50bba1],undefined)&&_0x40675d[_0x3a9191(0x176)](_0x725187[_0x50bba1],null)&&_0x40675d['dCjLW'](_0x725187[_0x50bba1],''))return;for(const _0x144466 of _0x3c65ac){if(_0x144466&&_0x40675d['srnTP'](_0x144466[_0x50bba1],undefined)&&_0x40675d[_0x3a9191(0x17a)](_0x144466[_0x50bba1],null)&&_0x40675d[_0x3a9191(0x176)](_0x144466[_0x50bba1],'')){_0x725187[_0x50bba1]=_0x144466[_0x50bba1];return;}}};_0x40675d[_0x5e9a3d(0x165)](_0x385155,_0x40675d['DThzO']),_0x40675d['uWElp'](_0x385155,_0x40675d['eBjnn']),_0x40675d[_0x5e9a3d(0x18e)](_0x385155,_0x40675d[_0x5e9a3d(0x1bb)]),_0x40675d['flVKy'](_0x385155,_0x40675d[_0x5e9a3d(0x164)]),_0x40675d['zWbBy'](_0x385155,_0x40675d[_0x5e9a3d(0x1b5)]),!_0x725187[_0x40675d['eBjnn']]&&process[_0x5e9a3d(0x1ef)][_0x5e9a3d(0x1e2)]&&(_0x725187[_0x40675d[_0x5e9a3d(0x1e3)]]=process[_0x5e9a3d(0x1ef)]['BS_A11Y_JWT']),_0x40675d['JXjAT'](_0x725187[_0x40675d[_0x5e9a3d(0x1d4)]],undefined)&&process[_0x5e9a3d(0x1ef)][_0x5e9a3d(0x19a)]&&_0x40675d[_0x5e9a3d(0x1b7)](_0x40675d['flVKy'](String,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])['toLowerCase'](),_0x40675d['ViKZB'])&&(_0x725187[_0x40675d[_0x5e9a3d(0x1d4)]]=!![]);}catch(_0x75dbfd){logger[_0x5e9a3d(0x19b)](_0x5e9a3d(0x189)+util['format'](_0x75dbfd));}return _0x725187[_0x40675d[_0x5e9a3d(0x180)]]=process[_0x5e9a3d(0x1ef)][_0x5e9a3d(0x1e5)],_0x725187[_0x40675d['smbwD']]=helper['getBuildProductMap'](),_0x40675d[_0x5e9a3d(0x1e6)](_0x55417a,_0x40675d[_0x5e9a3d(0x171)](encodeURIComponent,JSON[_0x5e9a3d(0x1bc)](_0x725187)));},getBrowserFromCaps=_0x1e308e=>{const _0x10011a=a152_0x305b92,_0x8e169e={};_0x8e169e[_0x10011a(0x1ee)]=_0x10011a(0x187);const _0x6920ce=_0x8e169e;return _0x1e308e[_0x10011a(0x1c1)]||_0x1e308e[_0x10011a(0x195)]||_0x6920ce[_0x10011a(0x1ee)];},getBundledConnectionClass=()=>{const _0x99ce43=a152_0x305b92,_0x6ceb97={};_0x6ceb97['RPCEy']=_0x99ce43(0x17d);const _0x3c463a=_0x6ceb97;try{const _0xfd2e27=helper[_0x99ce43(0x1c3)]();if(!_0xfd2e27)return null;const _0x1d806e=helper[_0x99ce43(0x186)](_0xfd2e27),_0x2a0596=_0x1d806e&&(_0x1d806e[_0x99ce43(0x1df)]||_0x1d806e[_0x99ce43(0x1ce)]||_0x1d806e[_0x99ce43(0x197)]);if(!_0x2a0596)return null;if(!_0x2a0596[_0x99ce43(0x17c)])return logger[_0x99ce43(0x19b)](_0x3c463a['RPCEy']),null;if(!_0x2a0596[_0x99ce43(0x17c)]['constructor'])return null;return _0x2a0596[_0x99ce43(0x17c)][_0x99ce43(0x1d7)];}catch(_0x27f8bd){return logger[_0x99ce43(0x19b)]('SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20'+util[_0x99ce43(0x1cb)](_0x27f8bd)),null;}},isPlaywrightAvailable=()=>{const _0x5972e9=a152_0x305b92;try{return!!helper[_0x5972e9(0x1e7)]();}catch(_0x3e3fd4){return logger[_0x5972e9(0x19b)](_0x5972e9(0x16a)+util[_0x5972e9(0x1cb)](_0x3e3fd4)),![];}},getPlaywrightBrowserType=()=>{const _0x4bd594=a152_0x305b92;try{return helper[_0x4bd594(0x1e7)]();}catch(_0xa58ade){return logger[_0x4bd594(0x19b)](_0x4bd594(0x1a6)+util[_0x4bd594(0x1cb)](_0xa58ade)),null;}},getPlaywrightModulePath=()=>{const _0x378397=a152_0x305b92,_0x3380ef={};_0x3380ef[_0x378397(0x1c4)]=_0x378397(0x1dd);const _0x5a9a29=_0x3380ef;return logger['debug'](_0x5a9a29[_0x378397(0x1c4)]),null;},getBrowserTypePath=()=>{const _0x56823e=a152_0x305b92,_0x31b5ec={};_0x31b5ec[_0x56823e(0x178)]=_0x56823e(0x15d);const _0x34154f=_0x31b5ec;return logger[_0x56823e(0x19b)](_0x34154f['hggLo']),null;},checkPwandBootstrapCli=async(_0x44b274,_0x3eb544,_0x49522a)=>{const _0x13d3d8=a152_0x305b92,_0x180e7d={'OpRuD':function(_0x59d084,_0x33d83c){return _0x59d084(_0x33d83c);},'gWZJP':_0x13d3d8(0x15b),'TXlmn':function(_0x458dde,_0x43c5e6){return _0x458dde(_0x43c5e6);}};if(_0x44b274){const _0x372510=constants[_0x13d3d8(0x1a0)][_0x13d3d8(0x162)];logger['debug'](_0x13d3d8(0x1d5)+_0x44b274+'\x20for\x20'+_0x3eb544+_0x13d3d8(0x1b3)),CLIUtils[_0x13d3d8(0x156)](_0x3eb544,_0x372510);const {getProductMap:_0x11dc41}=_0x180e7d[_0x13d3d8(0x15a)](require,_0x180e7d['gWZJP']);process[_0x13d3d8(0x1ef)]['BROWSERSTACK_PRODUCT_MAP']=JSON['stringify'](_0x180e7d[_0x13d3d8(0x18d)](_0x11dc41,_0x49522a[_0x13d3d8(0x17f)])),BrowserstackCLI[_0x13d3d8(0x1ec)]()[_0x13d3d8(0x174)](_0x49522a[_0x13d3d8(0x17f)],_0x49522a[_0x13d3d8(0x185)],_0x49522a['cliConfig']),await BrowserstackCLI[_0x13d3d8(0x1ec)]()['bootstrap']();}},connectOverCDPWithRetry=async(_0x195cc7,_0x511522,_0x4a8c6a,_0x632ecd=0x3,_0x1b5fa3=0x1f4)=>{const _0x19230b=a152_0x305b92,_0x4649f6={};_0x4649f6[_0x19230b(0x15f)]=function(_0x23f297,_0x2b6547){return _0x23f297<=_0x2b6547;},_0x4649f6[_0x19230b(0x153)]=_0x19230b(0x1ca),_0x4649f6[_0x19230b(0x198)]=_0x19230b(0x1b9),_0x4649f6['hRjYU']=_0x19230b(0x1c2),_0x4649f6[_0x19230b(0x1c6)]=_0x19230b(0x1aa),_0x4649f6[_0x19230b(0x159)]='ECONNRESET',_0x4649f6[_0x19230b(0x177)]=_0x19230b(0x155),_0x4649f6['MKlit']=function(_0x4ec6c0,_0x12f819){return _0x4ec6c0===_0x12f819;},_0x4649f6[_0x19230b(0x17e)]=function(_0xbfecbd,_0x23e1f4){return _0xbfecbd+_0x23e1f4;},_0x4649f6[_0x19230b(0x16f)]=function(_0x7013,_0x178737){return _0x7013*_0x178737;};const _0x5ac509=_0x4649f6;let _0x4c1ac6;for(let _0x21de3b=0x0;_0x5ac509[_0x19230b(0x15f)](_0x21de3b,_0x632ecd);_0x21de3b++){try{return await _0x195cc7[_0x19230b(0x1c5)][_0x19230b(0x16c)](_0x511522,_0x4a8c6a);}catch(_0x2b220e){_0x4c1ac6=_0x2b220e;const _0xc2f1b6=_0x2b220e&&_0x2b220e['message']||'',_0x52a07e=_0xc2f1b6[_0x19230b(0x175)](_0x5ac509['GJyTt'])||_0xc2f1b6[_0x19230b(0x175)](_0x5ac509[_0x19230b(0x198)])||_0xc2f1b6[_0x19230b(0x175)](_0x5ac509[_0x19230b(0x1e1)])||_0xc2f1b6[_0x19230b(0x175)](_0x5ac509[_0x19230b(0x1c6)])||_0xc2f1b6['includes'](_0x5ac509[_0x19230b(0x159)])||_0xc2f1b6[_0x19230b(0x175)](_0x5ac509[_0x19230b(0x177)]);if(!_0x52a07e||_0x5ac509[_0x19230b(0x1ea)](_0x21de3b,_0x632ecd)){_0x52a07e&&logger[_0x19230b(0x1bd)](_0x19230b(0x163)+_0x5ac509[_0x19230b(0x17e)](_0x21de3b,0x1)+_0x19230b(0x1d2)+_0xc2f1b6);throw _0x2b220e;}const _0x518281=_0x5ac509[_0x19230b(0x16f)](_0x1b5fa3,_0x5ac509['JEARk'](_0x21de3b,0x1));logger[_0x19230b(0x1bd)](_0x19230b(0x15e)+_0x5ac509[_0x19230b(0x17e)](_0x21de3b,0x1)+'/'+_0x5ac509[_0x19230b(0x17e)](_0x632ecd,0x1)+_0x19230b(0x1e0)+_0xc2f1b6+_0x19230b(0x1d9)+_0x518281+'ms'),await new Promise(_0x2f4581=>setTimeout(_0x2f4581,_0x518281));}}throw _0x4c1ac6;},connectWithRetry=async(_0x547ca4,_0x555baa,_0x487de0,_0x1a1e30=0x3,_0x5ac76e=0x3e8)=>{const _0x23a71c=a152_0x305b92,_0x599685={};_0x599685[_0x23a71c(0x1d8)]=function(_0x23dac9,_0x157f4c){return _0x23dac9<=_0x157f4c;},_0x599685[_0x23a71c(0x1a9)]=_0x23a71c(0x1d6),_0x599685[_0x23a71c(0x1a4)]=_0x23a71c(0x1da),_0x599685[_0x23a71c(0x19c)]=_0x23a71c(0x1ca),_0x599685[_0x23a71c(0x1b8)]=_0x23a71c(0x1b9),_0x599685[_0x23a71c(0x1cd)]=_0x23a71c(0x1c2),_0x599685[_0x23a71c(0x173)]=_0x23a71c(0x1dc),_0x599685['rOSdA']=_0x23a71c(0x155),_0x599685['bTllh']=function(_0x1e5241,_0x27b78a){return _0x1e5241===_0x27b78a;},_0x599685[_0x23a71c(0x1ac)]=function(_0x212fb2,_0x7b8e69){return _0x212fb2+_0x7b8e69;},_0x599685[_0x23a71c(0x1e4)]=function(_0x326ac8,_0x4dff19){return _0x326ac8*_0x4dff19;},_0x599685[_0x23a71c(0x1b1)]=function(_0x4398a9,_0x3731ff){return _0x4398a9+_0x3731ff;},_0x599685[_0x23a71c(0x19e)]=function(_0x453c7,_0x1bf726){return _0x453c7+_0x1bf726;};const _0x110107=_0x599685;let _0x23b555;for(let _0x3173a4=0x0;_0x110107[_0x23a71c(0x1d8)](_0x3173a4,_0x1a1e30);_0x3173a4++){try{return await _0x547ca4[_0x23a71c(0x16c)](_0x555baa,_0x487de0);}catch(_0x54cd47){_0x23b555=_0x54cd47;const _0x1d535f=_0x54cd47&&_0x54cd47[_0x23a71c(0x160)]||'',_0x37a910=_0x1d535f[_0x23a71c(0x175)](_0x110107[_0x23a71c(0x1a9)])||_0x1d535f['includes'](_0x110107[_0x23a71c(0x1a4)])||_0x1d535f[_0x23a71c(0x175)](_0x110107[_0x23a71c(0x19c)])||_0x1d535f[_0x23a71c(0x175)](_0x110107['ZjIcz'])||_0x1d535f[_0x23a71c(0x175)](_0x110107[_0x23a71c(0x1cd)])||_0x1d535f[_0x23a71c(0x175)](_0x110107[_0x23a71c(0x173)])||_0x1d535f['includes'](_0x110107[_0x23a71c(0x1b4)]);if(!_0x37a910||_0x110107[_0x23a71c(0x16d)](_0x3173a4,_0x1a1e30)){_0x37a910&&logger[_0x23a71c(0x1bd)](_0x23a71c(0x196)+_0x110107['LMmoH'](_0x3173a4,0x1)+'\x20attempts\x20—\x20surfacing\x20error:\x20'+_0x1d535f+_0x23a71c(0x1f2));throw _0x54cd47;}const _0x5c7bc3=_0x110107[_0x23a71c(0x1e4)](_0x5ac76e,_0x110107[_0x23a71c(0x1ac)](_0x3173a4,0x1));logger[_0x23a71c(0x1bd)](_0x23a71c(0x1af)+_0x110107['sNDNE'](_0x3173a4,0x1)+'/'+_0x110107[_0x23a71c(0x19e)](_0x1a1e30,0x1)+'\x20failed\x20('+_0x1d535f+_0x23a71c(0x1d9)+_0x5c7bc3+'ms'),await new Promise(_0x279e0f=>setTimeout(_0x279e0f,_0x5c7bc3));}}throw _0x23b555;},a152_0x363713={};a152_0x363713['convertW3CToJsonWire']=convertW3CToJsonWire,a152_0x363713[a152_0x305b92(0x1cc)]=getModifiedConfigFromCLI,a152_0x363713[a152_0x305b92(0x170)]=generatePlaywrightUrl,a152_0x363713[a152_0x305b92(0x1cf)]=getBrowserFromCaps,a152_0x363713['isPlaywrightAvailable']=isPlaywrightAvailable,a152_0x363713[a152_0x305b92(0x1eb)]=getPlaywrightBrowserType,a152_0x363713['getPlaywrightModulePath']=getPlaywrightModulePath,a152_0x363713[a152_0x305b92(0x1b2)]=getBrowserTypePath,a152_0x363713['importFileFromPWCore']=importFileFromPWCore,a152_0x363713[a152_0x305b92(0x16e)]=checkPwandBootstrapCli,a152_0x363713['connectOverCDPWithRetry']=connectOverCDPWithRetry,a152_0x363713[a152_0x305b92(0x166)]=connectWithRetry,a152_0x363713[a152_0x305b92(0x188)]=getBundledConnectionClass,module[a152_0x305b92(0x16b)]=a152_0x363713;function a152_0x2616(){const _0x968412=['urPyn','),\x20retrying\x20in\x20','Unable\x20to\x20get\x20the\x20websocket\x20connection','ZZysd','ECONNRESET','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','__accessibilityOptions','chromium','\x20failed\x20(','hRjYU','BS_A11Y_JWT','eBjnn','tCpJe','BROWSERSTACK_TESTHUB_UUID','UZDRu','resolveBrowserTypeClass','900739pDqZex','browserstack.accessibilityOptions.scannerProcessingTimeout','MKlit','getPlaywrightBrowserType','getInstance','../bin/v2/cliUtils','HuWlr','env','MVBtm','3530176zIvYVI','.\x20Session\x20may\x20be\x20reported\x20unlinked\x20(device\x20name\x20missing\x20on\x20dashboard).','browserstack.accessibility','GJyTt','../bin/v2/grpcClient','ECONNREFUSED','setFrameworkDetail','Received\x20modified\x20config\x20from\x20gRPC:\x20','18vULSdQ','fPthD','OpRuD','./testhub/utils','GqMvA','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','[A11Y]\x20connectOverCDP\x20attempt\x20','JTrnS','message','JYjHZ','PLAYWRIGHT','[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20','AQZDA','kmgVf','connectWithRetry','./helper','3920kXpzUC','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','Playwright\x20not\x20available:\x20','exports','apply','bTllh','checkPwandBootstrapCli','UvDLM','generatePlaywrightUrl','zWbBy','parse','qDidF','setBrowserstackConfig','includes','CixMs','jsuja','hggLo','bstack:options','dCjLW','true','_connection','SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null','JEARk','config','utZhn','platformCaps','entries','23728199pjBsSg','__platformCaps','configPath','requirePWModule','chrome','getBundledConnectionClass','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','jLQqH','1458910TXVPuN','projects','TXlmn','FhPRM','winstonLogger','capabilities','9022920gyvmPz','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','isArray','use','browser','[Playwright]\x20connect\x20gave\x20up\x20after\x20','webkit','bcgfU','browserstack.buildProductMap','BROWSERSTACK_TEST_ACCESSIBILITY_YML','debug','cCqwv','W3CMapping','SHVoV','kUSgn','FRAMEWORKS','7682aPfbXf','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','giDJO','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','Error\x20getting\x20Playwright\x20BrowserType:\x20','pWXRf','browserstack.accessibilityOptions.wcagVersion','RkMGG','connectOverCDP:\x20CDPSession','getConfig','LMmoH','uWElp','util','[Playwright]\x20connect\x20attempt\x20','18fYzaiD','sNDNE','getBrowserTypePath','\x20flow','rOSdA','objfp','./logger','JXjAT','ZjIcz','Timeout','../bin/utils/constants','ogVEC','stringify','warn','1167unSAcn','./w3cMapping','getPlaywrightConfig','browserName','WebSocket\x20error','getPWCorePath','yLOly','connectOverCDP','IGAkm','yKHuJ','fSLBD','getPlaywrightUrl','Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed','format','getModifiedConfigFromCLI','QfTJI','firefox','getBrowserFromCaps','playwrightConfigObject','1412NzeMJt','\x20attempts\x20—\x20surfacing\x20error:\x20','sKTzs','DThzO','Detected\x20Playwright\x20version\x20','Socket\x20idle\x20from\x20a\x20long\x20time','constructor'];a152_0x2616=function(){return _0x968412;};return a152_0x2616();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a153_0x54cc57=a153_0x1324;(function(_0x44c1ec,_0x3f06a7){const _0x510cc2=a153_0x1324,_0x63182b=_0x44c1ec();while(!![]){try{const _0x84fe7d=parseInt(_0x510cc2(0x1c0))/0x1*(parseInt(_0x510cc2(0x1be))/0x2)+parseInt(_0x510cc2(0x1aa))/0x3*(parseInt(_0x510cc2(0x1bf))/0x4)+parseInt(_0x510cc2(0x1b4))/0x5*(parseInt(_0x510cc2(0x1ab))/0x6)+parseInt(_0x510cc2(0x1a6))/0x7*(-parseInt(_0x510cc2(0x1a4))/0x8)+-parseInt(_0x510cc2(0x1bb))/0x9*(parseInt(_0x510cc2(0x1a1))/0xa)+parseInt(_0x510cc2(0x1b3))/0xb*(parseInt(_0x510cc2(0x1b8))/0xc)+-parseInt(_0x510cc2(0x1a5))/0xd*(parseInt(_0x510cc2(0x1b6))/0xe);if(_0x84fe7d===_0x3f06a7)break;else _0x63182b['push'](_0x63182b['shift']());}catch(_0x2458b0){_0x63182b['push'](_0x63182b['shift']());}}}(a153_0x1858,0x47bf9));const worker=require(a153_0x54cc57(0x1b9)),{fileLogger}=require(a153_0x54cc57(0x1ac)),{consoleHolder}=require(a153_0x54cc57(0x1b1)),globals=require('./globals'),constants=require('../bin/utils/constants');function a153_0x1324(_0x15217a,_0x33c260){const _0x18582c=a153_0x1858();return a153_0x1324=function(_0x13248e,_0x186f59){_0x13248e=_0x13248e-0x19f;let _0x124ab4=_0x18582c[_0x13248e];return _0x124ab4;},a153_0x1324(_0x15217a,_0x33c260);}exports[a153_0x54cc57(0x1bc)]=()=>{const _0x1628b3=a153_0x54cc57;return process[_0x1628b3(0x1b7)]+'-'+worker[_0x1628b3(0x19f)];},exports['getTestName']=()=>{const _0x5c3e09=a153_0x54cc57,_0x206ef8={};_0x206ef8[_0x5c3e09(0x1c1)]=_0x5c3e09(0x1a7);const _0x4117d4=_0x206ef8;return globals[_0x5c3e09(0x1ad)](_0x4117d4[_0x5c3e09(0x1c1)]);},exports['sleep']=(_0x40a23f=0x64)=>new Promise(_0x5efafa=>setTimeout(_0x5efafa,_0x40a23f)),exports[a153_0x54cc57(0x1a2)]=_0x28a791=>{const _0x3d703c=a153_0x54cc57,_0xfc8194={};_0xfc8194['GvHRo']=function(_0x13b871,_0x55905e){return _0x13b871===_0x55905e;},_0xfc8194['GrKMt']='true',_0xfc8194[_0x3d703c(0x1a9)]=function(_0x269824,_0x5ec490){return _0x269824===_0x5ec490;};const _0x14b17e=_0xfc8194;fileLogger[_0x3d703c(0x1a2)]('['+new Date()[_0x3d703c(0x1b0)]()+_0x3d703c(0x1b2)+constants[_0x3d703c(0x1ae)]+'\x20]\x20'+_0x28a791),(_0x14b17e[_0x3d703c(0x1bd)](process[_0x3d703c(0x1b5)][_0x3d703c(0x1a8)],_0x14b17e[_0x3d703c(0x1ba)])||_0x14b17e[_0x3d703c(0x1a9)](process[_0x3d703c(0x1b5)][_0x3d703c(0x1a8)],'1')||_0x14b17e[_0x3d703c(0x1a9)](process[_0x3d703c(0x1b5)][_0x3d703c(0x1a0)],_0x14b17e[_0x3d703c(0x1ba)])||_0x14b17e[_0x3d703c(0x1a9)](process['env']['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x3d703c(0x1a3)]('\x0a['+new Date()['toISOString']()+_0x3d703c(0x1b2)+constants['TEST_REPORTING_ANALYTICS']+_0x3d703c(0x1af)+_0x28a791+'\x0a');};function a153_0x1858(){const _0x4be241=['GvHRo','660394BRzPWJ','20lBsMEH','1hNRmXs','RsziH','threadId','BROWSERSTACK_OBSERVABILITY_DEBUG','539270tvdHou','debug','log','406328pTlfmz','3183141wOipCL','49fenFYB','browserstackTestName','BROWSERSTACK_TEST_REPORTING_DEBUG','LdovB','215799DgBBNh','42cVPgza','./logger','getGlobal','TEST_REPORTING_ANALYTICS','\x20]\x20','toISOString','./test-observability/constants','][\x20','11OLNKaT','240660HkYEPu','env','42uwFDYj','pid','6227808zSLdmq','worker_threads','GrKMt','27JPIYir','getProcessId'];a153_0x1858=function(){return _0x4be241;};return a153_0x1858();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a154_0x195101=a154_0x4acd;(function(_0x4fe721,_0x42bc3b){const _0x1acf0b=a154_0x4acd,_0x2c79c2=_0x4fe721();while(!![]){try{const _0x453c03=parseInt(_0x1acf0b(0x116))/0x1*(parseInt(_0x1acf0b(0x135))/0x2)+parseInt(_0x1acf0b(0x156))/0x3+-parseInt(_0x1acf0b(0x138))/0x4+-parseInt(_0x1acf0b(0x11e))/0x5*(-parseInt(_0x1acf0b(0x122))/0x6)+parseInt(_0x1acf0b(0x11f))/0x7*(parseInt(_0x1acf0b(0x11d))/0x8)+parseInt(_0x1acf0b(0x128))/0x9+-parseInt(_0x1acf0b(0x153))/0xa*(parseInt(_0x1acf0b(0x142))/0xb);if(_0x453c03===_0x42bc3b)break;else _0x2c79c2['push'](_0x2c79c2['shift']());}catch(_0x13a800){_0x2c79c2['push'](_0x2c79c2['shift']());}}}(a154_0x4e83,0x33fef));const util=require(a154_0x195101(0x139)),helper=require(a154_0x195101(0x13d)),logger=require(a154_0x195101(0x14d))[a154_0x195101(0x11c)],W3CMapping=require('./w3cMapping')[a154_0x195101(0x124)](),constants=require(a154_0x195101(0x11b)),BrowserstackCLI=require(a154_0x195101(0x136)),CLIUtils=require(a154_0x195101(0x147)),getAPIUtilityMethods=()=>{const _0x1cc1f4=a154_0x195101,_0x1fe54d={'uhILc':function(_0x148eb0,_0x2521a2){return _0x148eb0(_0x2521a2);},'DyfET':'../bin/utils/apiUtilityMethods'};return _0x1fe54d[_0x1cc1f4(0x13f)](require,_0x1fe54d[_0x1cc1f4(0x125)]);},getPuppeteerUrl=_0x4776ec=>{const _0x95d74c=a154_0x195101,_0x10d66c={'BMHEr':function(_0x6af8bb){return _0x6af8bb();}};if(_0x4776ec[_0x95d74c(0x130)])return _0x4776ec['turboScaleUrl'];const _0x4ba421=_0x10d66c[_0x95d74c(0x126)](getAPIUtilityMethods);return _0x4ba421[_0x95d74c(0x141)]('');},convertW3CToJsonWire=_0x4281b8=>{const _0x4fb758=a154_0x195101,_0x3b260b={};_0x3b260b[_0x4fb758(0x14e)]=function(_0x1c0e30,_0x597265){return _0x1c0e30||_0x597265;},_0x3b260b[_0x4fb758(0x143)]=function(_0x5deb35,_0x3b8a7d){return _0x5deb35===_0x3b8a7d;},_0x3b260b[_0x4fb758(0x140)]=_0x4fb758(0x14c),_0x3b260b['mYSST']=function(_0x4458b3,_0xfe500a){return _0x4458b3===_0xfe500a;},_0x3b260b[_0x4fb758(0x14b)]=function(_0x4d83bd,_0x42b451){return _0x4d83bd in _0x42b451;};const _0x46d5c8=_0x3b260b,_0x593daf={};for(const [_0x447ad5,_0x5b966e]of Object[_0x4fb758(0x123)](_0x46d5c8['OCUTr'](_0x4281b8,{}))){if(_0x46d5c8[_0x4fb758(0x143)](_0x447ad5,_0x46d5c8[_0x4fb758(0x140)]))continue;let _0x5d20b1=![];for(const [_0x19e4d8,_0x4ca44d]of Object['entries'](W3CMapping)){if(_0x46d5c8['mYSST'](_0x447ad5,_0x4ca44d)){_0x593daf[_0x19e4d8]=_0x5b966e,_0x5d20b1=!![];break;}}!_0x5d20b1&&(_0x593daf[_0x447ad5]=_0x5b966e);}const _0x1051c3=_0x4281b8[_0x46d5c8[_0x4fb758(0x140)]]||{};for(const [_0x267e1a,_0x2645d5]of Object['entries'](_0x1051c3)){let _0x5894bf=![];for(const [_0x3da05a,_0x10d263]of Object[_0x4fb758(0x123)](W3CMapping)){if(_0x46d5c8[_0x4fb758(0x143)](_0x267e1a,_0x10d263)){_0x593daf[_0x3da05a]=_0x2645d5,_0x5894bf=!![];break;}}!_0x5894bf&&!_0x46d5c8[_0x4fb758(0x14b)](_0x267e1a,_0x593daf)&&(_0x593daf[_0x267e1a]=_0x2645d5);}return logger[_0x4fb758(0x12e)](_0x4fb758(0x119)+JSON[_0x4fb758(0x148)](_0x593daf)),_0x593daf;},generatePuppeteerUrl=(_0x57a9f1,_0xd1ec71)=>{const _0x1d92a3=a154_0x195101,_0x57bb23={'nvWPl':function(_0x52b224,_0xbc3226){return _0x52b224(_0xbc3226);},'RVANM':function(_0x58ee30,_0x3ae9e8){return _0x58ee30(_0x3ae9e8);},'KddCf':'browserstack.testhubBuildUuid','urKLU':_0x1d92a3(0x151),'QyVFq':function(_0x5a85a,_0x108148){return _0x5a85a+_0x108148;},'HRcEG':function(_0x3af34a,_0x5316c7){return _0x3af34a(_0x5316c7);}},_0x1448fa=_0x57bb23[_0x1d92a3(0x158)](getPuppeteerUrl,_0x57a9f1),_0x173cd4=_0x57bb23[_0x1d92a3(0x14f)](convertW3CToJsonWire,_0xd1ec71);return _0x173cd4[_0x57bb23['KddCf']]=process[_0x1d92a3(0x12f)][_0x1d92a3(0x157)],_0x173cd4[_0x57bb23[_0x1d92a3(0x133)]]=helper['getBuildProductMap'](),_0x57bb23[_0x1d92a3(0x127)](_0x1448fa,_0x57bb23['HRcEG'](encodeURIComponent,JSON[_0x1d92a3(0x148)](_0x173cd4)));},isPuppeteerAvailable=()=>{const _0x46e54a=a154_0x195101,_0x354e01={};_0x354e01[_0x46e54a(0x120)]=_0x46e54a(0x155),_0x354e01[_0x46e54a(0x12b)]='puppeteer';const _0xaaba2c=_0x354e01;try{return require[_0x46e54a(0x12a)](_0xaaba2c[_0x46e54a(0x120)]),!![];}catch{try{return require[_0x46e54a(0x12a)](_0xaaba2c[_0x46e54a(0x12b)]),!![];}catch{return![];}}},getPuppeteerVersion=()=>{const _0x1d80b4=a154_0x195101,_0x50b281={};_0x50b281[_0x1d80b4(0x14a)]=_0x1d80b4(0x155),_0x50b281['vHgQr']='puppeteer';const _0x50766d=_0x50b281;return helper[_0x1d80b4(0x13b)](_0x50766d[_0x1d80b4(0x14a)])||helper[_0x1d80b4(0x13b)](_0x50766d['vHgQr']);},checkPuppeteerAndBootstrapCli=async(_0x272130,_0x1d52d3,_0x3144e0)=>{const _0x33d1c0=a154_0x195101,_0x588edf={'rnmjX':_0x33d1c0(0x11a),'VyQfH':function(_0x349f47,_0xb80749){return _0x349f47(_0xb80749);},'TUMRq':_0x33d1c0(0x121)};if(_0x272130){const _0x20c52b=constants[_0x33d1c0(0x150)][_0x33d1c0(0x149)];logger[_0x33d1c0(0x12e)]('[PuppeteerHelper]\x20Detected\x20Puppeteer\x20version\x20'+_0x272130+'\x20for\x20'+_0x1d52d3+_0x33d1c0(0x134)),process[_0x33d1c0(0x12f)][_0x33d1c0(0x117)]=_0x588edf[_0x33d1c0(0x152)],CLIUtils[_0x33d1c0(0x129)](_0x1d52d3,_0x20c52b);const {getProductMap:_0x32e136}=_0x588edf['VyQfH'](require,_0x588edf[_0x33d1c0(0x137)]);process[_0x33d1c0(0x12f)][_0x33d1c0(0x154)]=JSON[_0x33d1c0(0x148)](_0x588edf['VyQfH'](_0x32e136,_0x3144e0[_0x33d1c0(0x131)])),BrowserstackCLI[_0x33d1c0(0x145)]()[_0x33d1c0(0x12c)](_0x3144e0['config'],_0x3144e0[_0x33d1c0(0x144)],_0x3144e0['cliConfig']),await BrowserstackCLI['getInstance']()[_0x33d1c0(0x146)]();}},a154_0x506812={};function a154_0x4e83(){const _0x35fdd0=['getPuppeteerUrl','getPackageVersion','generatePuppeteerUrl','./helper','convertW3CToJsonWire','uhILc','ASGKr','getPuppeteerHubUrl','109549BHQBKx','rGgTy','configPath','getInstance','bootstrap','../bin/v2/cliUtils','stringify','PUPPETEER','pZpvp','LYpTL','bstack:options','./logger','OCUTr','RVANM','FRAMEWORKS','browserstack.buildProductMap','rnmjX','500ZcBaoI','BROWSERSTACK_PRODUCT_MAP','puppeteer-core','926904kMRFdj','BROWSERSTACK_TESTHUB_UUID','nvWPl','902SQsAXg','BROWSERSTACK_PUPPETEER','getPuppeteerVersion','[PuppeteerHelper]\x20Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','true','../bin/utils/constants','winstonLogger','1009464eUKZim','10kmfWXQ','7wKWRSL','dwFRD','./testhub/utils','321834OMuWrG','entries','W3CMapping','DyfET','BMHEr','QyVFq','1430973epzRow','setFrameworkDetail','resolve','Iaeig','setBrowserstackConfig','checkPuppeteerAndBootstrapCli','debug','env','turboScaleUrl','config','isPuppeteerAvailable','urKLU','\x20flow','552HFnzvf','../bin/v2/browserstackCLI','TUMRq','957812pWdEhQ','util'];a154_0x4e83=function(){return _0x35fdd0;};return a154_0x4e83();}function a154_0x4acd(_0x58942c,_0x1f39d1){const _0x4e8398=a154_0x4e83();return a154_0x4acd=function(_0x4acdce,_0x3ed075){_0x4acdce=_0x4acdce-0x116;let _0x55ee3a=_0x4e8398[_0x4acdce];return _0x55ee3a;},a154_0x4acd(_0x58942c,_0x1f39d1);}a154_0x506812[a154_0x195101(0x13a)]=getPuppeteerUrl,a154_0x506812[a154_0x195101(0x13e)]=convertW3CToJsonWire,a154_0x506812[a154_0x195101(0x13c)]=generatePuppeteerUrl,a154_0x506812[a154_0x195101(0x132)]=isPuppeteerAvailable,a154_0x506812[a154_0x195101(0x118)]=getPuppeteerVersion,a154_0x506812[a154_0x195101(0x12d)]=checkPuppeteerAndBootstrapCli,module['exports']=a154_0x506812;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a155_0x106580=a155_0xfcb0;(function(_0x4c0e8e,_0x45c8fe){const _0x355c86=a155_0xfcb0,_0xb220f1=_0x4c0e8e();while(!![]){try{const _0x308110=-parseInt(_0x355c86(0x78))/0x1+-parseInt(_0x355c86(0x74))/0x2+-parseInt(_0x355c86(0x7a))/0x3*(-parseInt(_0x355c86(0x7d))/0x4)+parseInt(_0x355c86(0x79))/0x5+-parseInt(_0x355c86(0x90))/0x6*(-parseInt(_0x355c86(0x99))/0x7)+parseInt(_0x355c86(0x8c))/0x8*(parseInt(_0x355c86(0x83))/0x9)+parseInt(_0x355c86(0x95))/0xa;if(_0x308110===_0x45c8fe)break;else _0xb220f1['push'](_0xb220f1['shift']());}catch(_0x50d4e5){_0xb220f1['push'](_0xb220f1['shift']());}}}(a155_0x4861,0x25167));const http=require('http'),https=require(a155_0x106580(0x73)),monkeypatch=require(a155_0x106580(0x87));function a155_0xfcb0(_0xa73617,_0x4f6cf2){const _0x48619c=a155_0x4861();return a155_0xfcb0=function(_0xfcb038,_0x110bf0){_0xfcb038=_0xfcb038-0x70;let _0x4907c9=_0x48619c[_0xfcb038];return _0x4907c9;},a155_0xfcb0(_0xa73617,_0x4f6cf2);}function spy(_0x4a8c45){const _0x270b1e=a155_0x106580,_0x5630b5={'boviy':function(_0x212f0a,_0x4d1d57){return _0x212f0a instanceof _0x4d1d57;},'yfjaL':function(_0x39e18a,_0x465530){return _0x39e18a===_0x465530;},'oMOUJ':_0x270b1e(0x93),'wPzCP':function(_0x1d2dc0,_0x2fdf67,_0x1c6944){return _0x1d2dc0(_0x2fdf67,_0x1c6944);},'jFhhW':function(_0x50d830,_0x58fecf){return _0x50d830-_0x58fecf;},'CLjLC':_0x270b1e(0x8f),'fTkin':function(_0x18ecde,..._0x4feaac){return _0x18ecde(..._0x4feaac);},'XFGjO':_0x270b1e(0x86),'CfzfT':_0x270b1e(0x92),'iMAQz':function(_0x3162a8,_0x1d0958,_0x376398,_0x4cdf59){return _0x3162a8(_0x1d0958,_0x376398,_0x4cdf59);},'NsqQr':'end','DEzPn':function(_0x5b717e,_0x574415,_0x3cdc5d,_0x511e88){return _0x5b717e(_0x574415,_0x3cdc5d,_0x511e88);},'cwbil':_0x270b1e(0x72),'dkQcy':function(_0x1fe6ea,_0x3ccbb7,_0x2bc0c2,_0x11bb64){return _0x1fe6ea(_0x3ccbb7,_0x2bc0c2,_0x11bb64);}},_0x279692=function(){const _0x18fb97=_0x270b1e,_0x50fd11={'dMiuS':function(_0x2102f1,..._0x166932){return _0x5630b5['fTkin'](_0x2102f1,..._0x166932);}},_0x24202b=arguments[0x0],_0x5ab612=Array[_0x18fb97(0x85)]['slice']['call'](arguments,0x1),_0xe6d2fe=_0x24202b['apply'](this,_0x5ab612);let _0x2b8118=Date[_0x18fb97(0x89)](),_0x3b18c0;const _0x9600d5={};_0x5ab612[_0x18fb97(0x9b)](_0x2f2618=>{const _0x329a9d=_0x18fb97;if(_0x5630b5[_0x329a9d(0x70)](_0x2f2618,URL)){const _0x3fce6e={};_0x3fce6e[_0x329a9d(0x88)]=_0x2f2618,Object['assign'](_0x9600d5,_0x3fce6e);}else _0x5630b5[_0x329a9d(0x76)](typeof _0x2f2618,_0x5630b5[_0x329a9d(0x84)])&&Object['assign'](_0x9600d5,_0x2f2618);});const _0x78a405=_0x2279fe=>{const _0x186744=_0x18fb97,_0x14cc95={};_0x14cc95[_0x186744(0x75)]=_0x9600d5[_0x186744(0x75)]||_0x9600d5[_0x186744(0x80)]||_0x9600d5[_0x186744(0x88)]&&(_0x9600d5[_0x186744(0x88)]['host']||_0x9600d5[_0x186744(0x88)]['hostname']),_0x14cc95[_0x186744(0x7e)]=_0x9600d5['path']||_0x9600d5[_0x186744(0x88)]&&_0x9600d5[_0x186744(0x88)][_0x186744(0x8e)],_0x14cc95[_0x186744(0x77)]=_0x9600d5[_0x186744(0x77)],_0x14cc95[_0x186744(0x7b)]=_0x9600d5[_0x186744(0x7b)],_0x5630b5[_0x186744(0x9a)](_0x4a8c45,_0x2279fe,_0x14cc95);};return _0xe6d2fe['once'](_0x5630b5['XFGjO'],_0xb899c2=>{const _0x1abfa4=_0x18fb97,_0x56b017=_0x5630b5[_0x1abfa4(0x8a)](Date[_0x1abfa4(0x89)](),_0x2b8118),_0x3cdee4={};_0x3cdee4['hostname']=_0x9600d5[_0x1abfa4(0x75)]||_0x9600d5[_0x1abfa4(0x80)]||_0x9600d5[_0x1abfa4(0x88)]&&(_0x9600d5[_0x1abfa4(0x88)][_0x1abfa4(0x75)]||_0x9600d5['url'][_0x1abfa4(0x80)]),_0x3cdee4[_0x1abfa4(0x7e)]=_0x9600d5[_0x1abfa4(0x7e)]||_0x9600d5[_0x1abfa4(0x88)]&&_0x9600d5[_0x1abfa4(0x88)][_0x1abfa4(0x8e)],_0x3cdee4['method']=_0x9600d5[_0x1abfa4(0x77)],_0x3cdee4[_0x1abfa4(0x7b)]=_0x9600d5[_0x1abfa4(0x7b)],_0x3cdee4[_0x1abfa4(0x8b)]=_0xb899c2[_0x1abfa4(0x7c)],_0x3cdee4[_0x1abfa4(0x91)]=_0x56b017,_0x5630b5[_0x1abfa4(0x9a)](_0x4a8c45,null,_0x3cdee4),_0x3b18c0[_0x1abfa4(0x97)](_0x5630b5[_0x1abfa4(0x71)],_0x78a405);}),_0xe6d2fe['on'](_0x5630b5[_0x18fb97(0x94)],_0x18b73b=>{const _0x4a416b=_0x18fb97;_0x3b18c0=_0x18b73b,_0x18b73b[_0x4a416b(0x82)](_0x5630b5[_0x4a416b(0x71)],_0x78a405);}),_0x5630b5['iMAQz'](monkeypatch,_0xe6d2fe,_0x5630b5['NsqQr'],(_0x2565c1,..._0x613f9)=>{const _0x19ac4a=_0x18fb97;_0x2b8118=Date[_0x19ac4a(0x89)](),_0x50fd11['dMiuS'](_0x2565c1,..._0x613f9);}),_0xe6d2fe;};_0x5630b5['DEzPn'](monkeypatch,http,_0x5630b5[_0x270b1e(0x81)],_0x279692),_0x5630b5['dkQcy'](monkeypatch,https,_0x5630b5[_0x270b1e(0x81)],_0x279692);}function restore(){const _0x4fb139=a155_0x106580;http['request'][_0x4fb139(0x98)](),https[_0x4fb139(0x72)][_0x4fb139(0x98)]();}const a155_0x43b3ef={};function a155_0x4861(){const _0x39035d=['method','141927Qivilm','733820GiLrRj','3pBEfJP','headers','statusCode','624916TfLuak','path','exports','hostname','cwbil','once','74196Tvnkfk','oMOUJ','prototype','response','monkeypatch','url','now','jFhhW','status_code','8bFHqxn','spy','pathname','error','330978KnqJDX','duration_ms','socket','object','CfzfT','18720ghTNWY','restore','removeListener','unpatch','7NlsEOY','wPzCP','forEach','boviy','CLjLC','request','https','148868boIYTw','host','yfjaL'];a155_0x4861=function(){return _0x39035d;};return a155_0x4861();}a155_0x43b3ef[a155_0x106580(0x8d)]=spy,a155_0x43b3ef[a155_0x106580(0x96)]=restore,module[a155_0x106580(0x7f)]=a155_0x43b3ef;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a156_0x3ab119=a156_0x3e42;(function(_0x45c5ea,_0x2ebd49){const _0x13b311=a156_0x3e42,_0xd6e544=_0x45c5ea();while(!![]){try{const _0x330212=parseInt(_0x13b311(0x120))/0x1+parseInt(_0x13b311(0x116))/0x2*(-parseInt(_0x13b311(0x11b))/0x3)+parseInt(_0x13b311(0x10c))/0x4+parseInt(_0x13b311(0x10e))/0x5*(-parseInt(_0x13b311(0x123))/0x6)+parseInt(_0x13b311(0x12a))/0x7*(parseInt(_0x13b311(0x119))/0x8)+parseInt(_0x13b311(0x125))/0x9*(parseInt(_0x13b311(0x122))/0xa)+-parseInt(_0x13b311(0x112))/0xb*(parseInt(_0x13b311(0x128))/0xc);if(_0x330212===_0x2ebd49)break;else _0xd6e544['push'](_0xd6e544['shift']());}catch(_0x106a5d){_0xd6e544['push'](_0xd6e544['shift']());}}}(a156_0x1e55,0x42a50));function a156_0x1e55(){const _0x562b35=['11pBueQm','http','call','keepAliveMsecs','267336gjwfHt','aKvJU','khGJM','2832NgpysX','globalAgent','3OnwGZg','https','KEEP_ALIVE','dpSgK','keepAlive','408009XbSYjc','iattY','16410GceQqL','3582zcNiPL','gLLbr','171RpAOiS','McrPc','USxqt','3488976oHbVqG','Agent','3031LMXqyg','request','1764132buNNjj','HCAsU','2815ChntNC','protocol','hasOwnProperty','agent'];a156_0x1e55=function(){return _0x562b35;};return a156_0x1e55();}function a156_0x3e42(_0x4b059b,_0x139cc9){const _0x1e55d0=a156_0x1e55();return a156_0x3e42=function(_0x3e423f,_0x3f8ea4){_0x3e423f=_0x3e423f-0x10c;let _0x72af61=_0x1e55d0[_0x3e423f];return _0x72af61;},a156_0x3e42(_0x4b059b,_0x139cc9);}const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');module['exports']=PerformanceTester['measureWrapper'](PerformanceEvents[a156_0x3ab119(0x11d)],function(){const _0x355d97=a156_0x3ab119,_0x47f483={'McrPc':function(_0x5079d3,_0x217757){return _0x5079d3===_0x217757;},'UWRAz':'https:','aKvJU':_0x355d97(0x111),'iattY':function(_0x380bf9,_0x1e229b,_0x3ad488){return _0x380bf9(_0x1e229b,_0x3ad488);},'dpSgK':function(_0x1f6ab0,_0x4bb94f,_0x4c9c75){return _0x1f6ab0(_0x4bb94f,_0x4c9c75);},'HCAsU':function(_0x39cf3f,_0x156de1){return _0x39cf3f(_0x156de1);},'khGJM':_0x355d97(0x113),'USxqt':_0x355d97(0x11c),'gLLbr':function(_0x4260f1,_0x339498){return _0x4260f1*_0x339498;},'uTKjS':_0x355d97(0x11f)},_0x5873e5=_0x47f483[_0x355d97(0x10d)](require,_0x47f483[_0x355d97(0x118)]),_0x55d225=_0x47f483[_0x355d97(0x10d)](require,_0x47f483[_0x355d97(0x127)]),_0x5ad16d=_0x47f483[_0x355d97(0x124)](0x1e,0x3e8);if(_0x5873e5[_0x355d97(0x11a)]&&Object['prototype'][_0x355d97(0x110)][_0x355d97(0x114)](_0x5873e5['globalAgent'],_0x47f483['uTKjS']))_0x5873e5[_0x355d97(0x11a)]['keepAlive']=!![],_0x55d225[_0x355d97(0x11a)][_0x355d97(0x11f)]=!![],_0x5873e5[_0x355d97(0x11a)][_0x355d97(0x115)]=_0x5ad16d,_0x55d225[_0x355d97(0x11a)][_0x355d97(0x115)]=_0x5ad16d;else{const _0x5f5b82={};_0x5f5b82[_0x355d97(0x11f)]=!![],_0x5f5b82['keepAliveMsecs']=_0x5ad16d;const _0x3bef15=new _0x5873e5[(_0x355d97(0x129))](_0x5f5b82),_0x2322df={};_0x2322df[_0x355d97(0x11f)]=!![],_0x2322df['keepAliveMsecs']=_0x5ad16d;const _0x4ac901=new _0x55d225[(_0x355d97(0x129))](_0x2322df),_0x4ee8b1=_0x5873e5[_0x355d97(0x12b)],_0x1671e4=_0x55d225[_0x355d97(0x12b)];_0x5873e5['request']=function(_0xbab10d,_0x941fcb){const _0x4f598a=_0x355d97;if(_0x47f483[_0x4f598a(0x126)](_0xbab10d[_0x4f598a(0x10f)],_0x47f483['UWRAz']))return _0xbab10d[_0x47f483[_0x4f598a(0x117)]]=_0x4ac901,_0x47f483[_0x4f598a(0x121)](_0x1671e4,_0xbab10d,_0x941fcb);return _0xbab10d[_0x47f483[_0x4f598a(0x117)]]=_0x3bef15,_0x47f483[_0x4f598a(0x11e)](_0x4ee8b1,_0xbab10d,_0x941fcb);};}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a157_0x127492=a157_0x3b79;(function(_0x2b35c1,_0x413178){const _0x13af9f=a157_0x3b79,_0xc3c5b5=_0x2b35c1();while(!![]){try{const _0x2bc5d4=parseInt(_0x13af9f(0x201))/0x1*(-parseInt(_0x13af9f(0x208))/0x2)+-parseInt(_0x13af9f(0x206))/0x3*(-parseInt(_0x13af9f(0x204))/0x4)+-parseInt(_0x13af9f(0x1f5))/0x5+-parseInt(_0x13af9f(0x20c))/0x6*(parseInt(_0x13af9f(0x1f8))/0x7)+parseInt(_0x13af9f(0x1f9))/0x8+parseInt(_0x13af9f(0x1ff))/0x9*(-parseInt(_0x13af9f(0x200))/0xa)+parseInt(_0x13af9f(0x20b))/0xb*(parseInt(_0x13af9f(0x1fa))/0xc);if(_0x2bc5d4===_0x413178)break;else _0xc3c5b5['push'](_0xc3c5b5['shift']());}catch(_0x16003d){_0xc3c5b5['push'](_0xc3c5b5['shift']());}}}(a157_0x226a,0x9b607));function isInternalFrameFile(_0x263400){const _0x557937=a157_0x3b79,_0x29f572={};_0x29f572[_0x557937(0x1fb)]=_0x557937(0x20e),_0x29f572[_0x557937(0x1f4)]=_0x557937(0x1f7),_0x29f572['XCzNj']=_0x557937(0x1f6),_0x29f572['YhBmi']=_0x557937(0x209),_0x29f572[_0x557937(0x20d)]=_0x557937(0x20f);const _0xf8cb10=_0x29f572,_0x1ab6fd=_0xf8cb10[_0x557937(0x1fb)][_0x557937(0x203)]('|');let _0x3f6f3a=0x0;while(!![]){switch(_0x1ab6fd[_0x3f6f3a++]){case'0':if(_0x263400[_0x557937(0x211)](_0xf8cb10[_0x557937(0x1f4)]))return!![];continue;case'1':if(!_0x263400)return!![];continue;case'2':if(_0x263400[_0x557937(0x211)](_0xf8cb10[_0x557937(0x202)]))return!![];continue;case'3':return![];case'4':if(_0x263400[_0x557937(0x1fd)](_0xf8cb10[_0x557937(0x1fe)])||_0x263400[_0x557937(0x1fd)](_0xf8cb10[_0x557937(0x20d)]))return!![];continue;}break;}}function a157_0x3b79(_0x21df6f,_0x3dc97a){const _0x226a70=a157_0x226a();return a157_0x3b79=function(_0x3b799b,_0x3fbe64){_0x3b799b=_0x3b799b-0x1f4;let _0x6ebc34=_0x226a70[_0x3b799b];return _0x6ebc34;},a157_0x3b79(_0x21df6f,_0x3dc97a);}function a157_0x226a(){const _0x15c78d=['13149252AUEwcY','KqNHq','exports','startsWith','YhBmi','11142882GGuNuz','10WXUTuY','143457MUhpNI','XCzNj','split','480yvSdpq','function','3237KouMGv','pickUserFrameFile','2WYQqoS','node:','sxPOy','22uZiqoy','7248vQsBhY','ZSSCh','1|0|4|2|3','internal/','getFileName','includes','heulG','3580575HKasmK','<anonymous>','node_modules','560UKPuvp','4077688hJdDYR'];a157_0x226a=function(){return _0x15c78d;};return a157_0x226a();}function pickUserFrameFile(_0x5b723a){const _0x49c792=a157_0x3b79,_0x27db17={'ihVtT':function(_0xb77598,_0x5de504){return _0xb77598!==_0x5de504;},'eYImY':_0x49c792(0x205),'sxPOy':function(_0x46e673,_0x422725){return _0x46e673(_0x422725);}};if(!Array['isArray'](_0x5b723a))return null;for(const _0x1a4429 of _0x5b723a){if(!_0x1a4429||_0x27db17['ihVtT'](typeof _0x1a4429[_0x49c792(0x210)],_0x27db17['eYImY']))continue;const _0x5a9fec=_0x1a4429['getFileName']();if(!_0x27db17[_0x49c792(0x20a)](isInternalFrameFile,_0x5a9fec))return _0x5a9fec;}return null;}const a157_0x1efda6={};a157_0x1efda6['isInternalFrameFile']=isInternalFrameFile,a157_0x1efda6[a157_0x127492(0x207)]=pickUserFrameFile,module[a157_0x127492(0x1fc)]=a157_0x1efda6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a158_0x5672dd=a158_0x4a9a;(function(_0x2b4e26,_0x55faea){const _0x442e9f=a158_0x4a9a,_0x3eeed2=_0x2b4e26();while(!![]){try{const _0xd85772=parseInt(_0x442e9f(0x181))/0x1+-parseInt(_0x442e9f(0x15e))/0x2+parseInt(_0x442e9f(0x186))/0x3+parseInt(_0x442e9f(0x172))/0x4+-parseInt(_0x442e9f(0x176))/0x5*(-parseInt(_0x442e9f(0x178))/0x6)+parseInt(_0x442e9f(0x17b))/0x7*(-parseInt(_0x442e9f(0x169))/0x8)+parseInt(_0x442e9f(0x16b))/0x9*(-parseInt(_0x442e9f(0x16a))/0xa);if(_0xd85772===_0x55faea)break;else _0x3eeed2['push'](_0x3eeed2['shift']());}catch(_0x174420){_0x3eeed2['push'](_0x3eeed2['shift']());}}}(a158_0xd8c1,0x3e94e));const path=require('path'),{logDir}=require(a158_0x5672dd(0x17e)),a158_0x182ce2={};a158_0x182ce2[a158_0x5672dd(0x16d)]=a158_0x5672dd(0x165),a158_0x182ce2[a158_0x5672dd(0x182)]=a158_0x5672dd(0x160),a158_0x182ce2[a158_0x5672dd(0x16c)]=a158_0x5672dd(0x17a),a158_0x182ce2[a158_0x5672dd(0x167)]=a158_0x5672dd(0x18c),a158_0x182ce2[a158_0x5672dd(0x187)]=a158_0x5672dd(0x17f),a158_0x182ce2[a158_0x5672dd(0x177)]=a158_0x5672dd(0x16f),a158_0x182ce2[a158_0x5672dd(0x15f)]='puppeteer',a158_0x182ce2[a158_0x5672dd(0x171)]='testcafe',a158_0x182ce2[a158_0x5672dd(0x188)]=a158_0x5672dd(0x183),a158_0x182ce2['JASMINE']=a158_0x5672dd(0x173),module[a158_0x5672dd(0x180)]={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a158_0x5672dd(0x161),'OBSERVABILITY_UPLOAD_API_URL':a158_0x5672dd(0x166),'EVENT_ENDPOINT':a158_0x5672dd(0x189),'BATCH_ENDPOINT':a158_0x5672dd(0x163),'SCREENSHOT_ENDPOINT':a158_0x5672dd(0x164),'UPLOAD_ATTACHMENT_ENDPOINT':a158_0x5672dd(0x168),'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[a158_0x5672dd(0x184)](logDir,a158_0x5672dd(0x170)),'FRAMEWORKS':a158_0x182ce2};function a158_0x4a9a(_0x19b940,_0x460e30){const _0xd8c11=a158_0xd8c1();return a158_0x4a9a=function(_0x4a9a78,_0x232b46){_0x4a9a78=_0x4a9a78-0x15e;let _0xad46=_0xd8c11[_0x4a9a78];return _0xad46;},a158_0x4a9a(_0x19b940,_0x460e30);}const _env=(process['env']['BROWSERSTACK_ENV']||a158_0x5672dd(0x185))[a158_0x5672dd(0x18a)]();if(_env===a158_0x5672dd(0x174)||_env===a158_0x5672dd(0x162))module[a158_0x5672dd(0x180)][a158_0x5672dd(0x16e)]='https://collector-observability-devtestops.bsstag.com',module[a158_0x5672dd(0x180)][a158_0x5672dd(0x175)]=a158_0x5672dd(0x17c);else(_env===a158_0x5672dd(0x18b)||_env===a158_0x5672dd(0x179))&&(module[a158_0x5672dd(0x180)][a158_0x5672dd(0x16e)]=a158_0x5672dd(0x17d),module[a158_0x5672dd(0x180)]['OBSERVABILITY_UPLOAD_API_URL']=a158_0x5672dd(0x18d));function a158_0xd8c1(){const _0x16a5ec=['JEST','NEWMAN','api/v1/event','toLowerCase','preprod','codeceptjs-cucumber','https://upload-observability-preprod.bsstag.com','320500chlcYJ','PUPPETEER','mocha','https://collector-observability.browserstack.com','stag','api/v1/batch','api/v1/screenshots','Playwright','https://upload-observability.browserstack.com','CODECEPT_CUCUMBER','upload-attachments','1185040lfwVMg','1653680rMsOud','18AilaUb','CODECEPT','PLAYWRIGHT','API_URL','cucumber','.obs_test_details','TESTCAFE','582980poeNkI','jasmine','staging','OBSERVABILITY_UPLOAD_API_URL','5ROPldr','CUCUMBER','2780238PIzHGg','pre-prod','codeceptjs','21OxkDoF','https://upload-observability-devtestops-ssi.bsstag.com','https://collector-observability-preprod.bsstag.com','../logger','jest','exports','238140oNmGgM','MOCHA','newman','join','prod','1033356YwOpwX'];a158_0xd8c1=function(){return _0x16a5ec;};return a158_0xd8c1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a159_0x162f(_0x56547f,_0x1ae42c){const _0x2e38f2=a159_0x2e38();return a159_0x162f=function(_0x162f4c,_0x3f76c6){_0x162f4c=_0x162f4c-0x13e;let _0x3e7c2d=_0x2e38f2[_0x162f4c];return _0x3e7c2d;},a159_0x162f(_0x56547f,_0x1ae42c);}const a159_0x15b14d=a159_0x162f;(function(_0x3081a9,_0x5ad891){const _0x3bdd5e=a159_0x162f,_0x22912a=_0x3081a9();while(!![]){try{const _0x540a97=parseInt(_0x3bdd5e(0x167))/0x1*(parseInt(_0x3bdd5e(0x192))/0x2)+-parseInt(_0x3bdd5e(0x187))/0x3+parseInt(_0x3bdd5e(0x19c))/0x4+parseInt(_0x3bdd5e(0x15a))/0x5+parseInt(_0x3bdd5e(0x18d))/0x6*(parseInt(_0x3bdd5e(0x18c))/0x7)+-parseInt(_0x3bdd5e(0x14e))/0x8*(-parseInt(_0x3bdd5e(0x1a7))/0x9)+parseInt(_0x3bdd5e(0x19f))/0xa*(-parseInt(_0x3bdd5e(0x150))/0xb);if(_0x540a97===_0x5ad891)break;else _0x22912a['push'](_0x22912a['shift']());}catch(_0x2eee94){_0x22912a['push'](_0x22912a['shift']());}}}(a159_0x2e38,0x72ec1));const util=require(a159_0x15b14d(0x1a2)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a159_0x15b14d(0x143)),{getAgentVersion,nestedKeyValue}=require(a159_0x15b14d(0x141)),o11yErrorHandler=(_0x209a19,_0x1bcd08='',_0x41c87e=[''],_0x27293c=![])=>{const _0x394c36={'PAkus':function(_0x4ce5cd,_0x4ec144){return _0x4ce5cd(_0x4ec144);},'frFZv':function(_0x36c0b8,_0x4f19d3,_0x6ee09a){return _0x36c0b8(_0x4f19d3,_0x6ee09a);},'ZHnCa':function(_0xee9f4d,_0x46b869){return _0xee9f4d instanceof _0x46b869;},'mJRAW':function(_0x4fa54d,_0x339cae,_0x5861d1,_0x37fb0c,_0x358dc1){return _0x4fa54d(_0x339cae,_0x5861d1,_0x37fb0c,_0x358dc1);}};return function(..._0x3bce39){const _0x3dfacf=a159_0x162f;try{let _0x522f0c=_0x209a19;process[_0x3dfacf(0x18f)][_0x3dfacf(0x183)]&&(_0x522f0c=PerformanceTester['getPerformance']()[_0x3dfacf(0x17c)](_0x522f0c));_0x27293c&&_0x394c36['PAkus'](trace,'Started\x20::\x20'+_0x1bcd08+',\x20PID\x20-\x20'+process[_0x3dfacf(0x17b)]+_0x3dfacf(0x196)+_0x394c36['frFZv'](nestedKeyValue,arguments[0x0],_0x41c87e));const _0x1db663=_0x522f0c[_0x3dfacf(0x152)](null,arguments);_0x27293c&&_0x394c36['PAkus'](trace,_0x3dfacf(0x146)+_0x1bcd08+_0x3dfacf(0x1a1)+process[_0x3dfacf(0x17b)]+_0x3dfacf(0x196)+_0x394c36['frFZv'](nestedKeyValue,arguments[0x0],_0x41c87e));if(_0x394c36['ZHnCa'](_0x1db663,Promise))return _0x1db663[_0x3dfacf(0x17a)](_0x58514a=>processError(_0x58514a,_0x209a19,_0x3bce39,_0x1bcd08));return _0x1db663;}catch(_0x3651a5){_0x394c36[_0x3dfacf(0x1aa)](processError,_0x3651a5,_0x209a19,_0x3bce39,_0x1bcd08);}};},o11yClassErrorHandler=(_0x55550d,_0xe1ce25,_0x322789='')=>{const _0x38d158=a159_0x15b14d,_0xa374d3={'PEeFY':function(_0x2a0273,_0x58b691){return _0x2a0273 instanceof _0x58b691;},'HmEWj':function(_0xb6c7ce,_0x45c589,_0x417b87,_0x94fa91,_0x37b4ec){return _0xb6c7ce(_0x45c589,_0x417b87,_0x94fa91,_0x37b4ec);},'WgomQ':function(_0x198966,_0x1b155c){return _0x198966===_0x1b155c;},'vHPsI':'function','lcOxw':function(_0xde0219,_0x2fb612){return _0xde0219!==_0x2fb612;},'blSqc':_0x38d158(0x168),'IJnJt':function(_0x2de027,_0x2bbd91){return _0x2de027<_0x2bbd91;}},_0x1c884e=_0x55550d[_0x38d158(0x18e)];if(_0xa374d3[_0x38d158(0x1a0)](Object['getOwnPropertyNames'](_0x1c884e)['length'],0x2))return _0x55550d;return Object['getOwnPropertyNames'](_0x1c884e)[_0x38d158(0x147)](_0x539e2b=>{const _0x448c62=_0x38d158;if(!(_0xe1ce25&&_0xe1ce25['includes'](_0x539e2b)))return;const _0x200edc=_0x1c884e[_0x539e2b];_0xa374d3[_0x448c62(0x14b)](typeof _0x200edc,_0xa374d3[_0x448c62(0x149)])&&_0xa374d3[_0x448c62(0x15c)](_0x539e2b,_0xa374d3[_0x448c62(0x1a6)])&&Object[_0x448c62(0x15d)](_0x1c884e,_0x539e2b,{'writable':!![],'value':function(..._0x2f6580){const _0x57f1d3=_0x448c62;try{const _0x3fd49e=(process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x57f1d3(0x162)]()[_0x57f1d3(0x17c)](_0x200edc):_0x200edc)[_0x57f1d3(0x164)](this,..._0x2f6580);if(_0xa374d3[_0x57f1d3(0x179)](_0x3fd49e,Promise))return _0x3fd49e[_0x57f1d3(0x17a)](_0x20c3d9=>processError(_0x20c3d9,_0x200edc,_0x2f6580,_0x322789));return _0x3fd49e;}catch(_0x4b9144){_0xa374d3[_0x57f1d3(0x193)](processError,_0x4b9144,_0x200edc,_0x2f6580,_0x322789);}}});}),_0x55550d;};function processError(_0x1eba0b,_0x1c8f1a,_0x11aebf,_0x4dbadb){const _0xa4f7ce=a159_0x15b14d,_0x2d062c={'baYPW':function(_0x3801da,_0x3e9075){return _0x3801da(_0x3e9075);}};_0x2d062c['baYPW'](debug,_0xa4f7ce(0x17d)+_0x1c8f1a[_0xa4f7ce(0x198)]+'\x20--\x20'+_0x4dbadb+_0xa4f7ce(0x19d)+util[_0xa4f7ce(0x18a)](_0x1eba0b)+_0xa4f7ce(0x181)+_0x11aebf+'.'),PerformanceTester[_0xa4f7ce(0x19e)](_0x1eba0b);let _0x3ca4a0;try{_0x3ca4a0=JSON['stringify'](_0x11aebf);}catch(_0x2d9ffe){const _0x48aeff={};_0x48aeff[_0xa4f7ce(0x190)]=0x2,_0x3ca4a0=util[_0xa4f7ce(0x184)](_0x11aebf,_0x48aeff);}CrashReporter[_0xa4f7ce(0x165)]('Error\x20in\x20executing\x20'+_0x1c8f1a['name']+_0xa4f7ce(0x16e)+_0x4dbadb+_0xa4f7ce(0x19d)+_0x1eba0b+_0xa4f7ce(0x181)+_0x3ca4a0+'.',_0x1eba0b&&_0x1eba0b[_0xa4f7ce(0x1a5)]);}function a159_0x2e38(){const _0x12fe22=['1524630NGtwKj','prototype','env','depth','xqUrX','7554iWrLXt','HmEWj','hjWhx','PEuRn',',\x20Argument\x20-\x20','CREDENTIALS_FOR_CRASH_REPORTING','name','AGVZD','CrashReporter','getConfig','839616qkwUwZ','.\x20Error\x20-\x20','captureError','7713520XtzutC','IJnJt',',\x20PID\x20-\x20','util','o11yErrorHandler','recursivelyDeletePIIKeysFromObject','stack','blSqc','117VrWRtt','includes','length','mJRAW','POST','true','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','../helper','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','./utils','sVdbj','frameworkName','Finished\x20::\x20','forEach','fDUAe','vHPsI','frameworkVersion','WgomQ','stringify','UvjuO','492144weKhOV','credentials','22uTddAu','exports','apply','Ejjva','QFPtO','/api/v1/analytics','accessKey','getCredentials','BS_TESTOPS_BUILD_HASHED_ID','X-BSTACK-TESTOPS','3311665GHxYuL','object','lcOxw','defineProperty','IscXs','frameworkDetails','toString','userConfig','getPerformance','key','call','uploadCrashReport','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','61LBhyCy','constructor','UXQEd','headers','setAllDetails','USER_CONFIG_FOR_REPORTING','bkOuI','\x20--\x20','mTzzo','setFrameworkDetails','jZpCU','uhdvf','then','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','username','parse','filterPII','o11yClassErrorHandler','PEeFY','catch','pid','timerify','Error\x20in\x20executing\x20','initialize','getFramework','SBbjC','.\x20Args\x20-\x20','setConfigDetails','BROWSERSTACK_O11Y_PERF_MEASUREMENT','inspect','voVWE','vYFUC','429144lBkcAA','rKiMR','ckSeN','format','keys','7kLnZjO'];a159_0x2e38=function(){return _0x12fe22;};return a159_0x2e38();}class CrashReporter{static ['userConfig']={};static [a159_0x15b14d(0x14f)];static [a159_0x15b14d(0x15f)]={};static[a159_0x15b14d(0x17e)](_0x426606,_0x15e101,_0x508f6e=null){const _0x327f3c=a159_0x15b14d,_0x44c37f={'UXQEd':function(_0x2a8b42,_0x5f5a9e){return _0x2a8b42(_0x5f5a9e);},'IdCGq':function(_0x21cb83,_0x49b795){return _0x21cb83(_0x49b795);}},_0x27f8a9=_0x426606[_0x327f3c(0x145)],_0x3bd130=_0x426606[_0x327f3c(0x14a)];!_0x508f6e&&(_0x508f6e=_0x44c37f[_0x327f3c(0x169)](getBrowserStackConfig,_0x27f8a9));!_0x3bd130&&_0x44c37f[_0x327f3c(0x169)](getFrameworkVersion,_0x27f8a9);const _0x12bf0b={};_0x12bf0b[_0x327f3c(0x145)]=_0x27f8a9,_0x12bf0b[_0x327f3c(0x14a)]=_0x3bd130,this['setAllDetails'](_0x12bf0b,_0x15e101,_0x44c37f['IdCGq'](getUserCredentials,_0x508f6e));}static['setCredentials'](_0x3b88c6,_0x10258b){const _0x5d5bd7=a159_0x15b14d,_0x56b113={};_0x56b113[_0x5d5bd7(0x175)]=_0x3b88c6,_0x56b113[_0x5d5bd7(0x156)]=_0x10258b,this[_0x5d5bd7(0x14f)]=_0x56b113,process[_0x5d5bd7(0x18f)][_0x5d5bd7(0x197)]=JSON['stringify'](this['credentials']);}static[a159_0x15b14d(0x157)](){const _0x35e82a=a159_0x15b14d,_0xab5e61={'UvjuO':function(_0x107fcf,_0x16c62c){return _0x107fcf(_0x16c62c);}};if(!this['credentials']&&process['env']['CREDENTIALS_FOR_CRASH_REPORTING'])try{this[_0x35e82a(0x14f)]=JSON[_0x35e82a(0x176)](process[_0x35e82a(0x18f)][_0x35e82a(0x197)]);}catch(_0x29e5b4){_0xab5e61[_0x35e82a(0x14d)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x29e5b4['toString']());}return this['credentials'];}static[a159_0x15b14d(0x182)](_0x69d8ba){const _0x1b6eb8=a159_0x15b14d;this[_0x1b6eb8(0x161)]=this[_0x1b6eb8(0x177)](_0x69d8ba),process[_0x1b6eb8(0x18f)][_0x1b6eb8(0x16c)]=JSON[_0x1b6eb8(0x14c)](this[_0x1b6eb8(0x161)]);}static[a159_0x15b14d(0x19b)](){const _0x54f081=a159_0x15b14d,_0x50ba0b={'Pdhgs':function(_0x57d948,_0x54ed80){return _0x57d948===_0x54ed80;},'xqUrX':function(_0x13d77d,_0x3f026c){return _0x13d77d(_0x3f026c);}};if(_0x50ba0b['Pdhgs'](Object['keys'](this[_0x54f081(0x161)])[_0x54f081(0x1a9)],0x0)&&process['env'][_0x54f081(0x16c)])try{this['userConfig']=JSON[_0x54f081(0x176)](process[_0x54f081(0x18f)][_0x54f081(0x16c)]);}catch(_0x52de70){_0x50ba0b[_0x54f081(0x191)](debug,_0x54f081(0x142)+_0x52de70[_0x54f081(0x160)]()),this[_0x54f081(0x161)]={};}return this[_0x54f081(0x161)];}static[a159_0x15b14d(0x170)](_0x2e8b9b){const _0x4ea488=a159_0x15b14d;this[_0x4ea488(0x15f)]=_0x2e8b9b,process['env'][_0x4ea488(0x140)]=JSON['stringify'](this[_0x4ea488(0x15f)]);}static['getFramework'](){const _0x460d8f=a159_0x15b14d,_0x3fc002={'IscXs':function(_0x219f65,_0x56496e){return _0x219f65===_0x56496e;},'PEuRn':function(_0x7779fa,_0x344e27){return _0x7779fa(_0x344e27);}};if(_0x3fc002[_0x460d8f(0x15e)](Object[_0x460d8f(0x18b)](this['frameworkDetails'])[_0x460d8f(0x1a9)],0x0)&&process[_0x460d8f(0x18f)][_0x460d8f(0x140)])try{this[_0x460d8f(0x15f)]=JSON[_0x460d8f(0x176)](process[_0x460d8f(0x18f)][_0x460d8f(0x140)]);}catch(_0x3fffd5){_0x3fc002[_0x460d8f(0x195)](debug,_0x460d8f(0x174)+_0x3fffd5[_0x460d8f(0x160)]());}return this[_0x460d8f(0x15f)];}static[a159_0x15b14d(0x16b)](_0x143f3a,_0x439591,_0x143b4a){const _0x1550bf=a159_0x15b14d;_0x143f3a&&this[_0x1550bf(0x170)](_0x143f3a),_0x439591&&this[_0x1550bf(0x182)](_0x439591),_0x143b4a&&this['setCredentials'](_0x143b4a['username'],_0x143b4a[_0x1550bf(0x156)]);}static async[a159_0x15b14d(0x165)](_0x33ee23,_0x54d4c7){const _0x56240c=a159_0x15b14d,_0x29bb7d={'hjWhx':function(_0x188ee5,_0x4a057c){return _0x188ee5(_0x4a057c);},'Ejjva':function(_0x1897b4,_0x4f4620){return _0x1897b4(_0x4f4620);},'ckSeN':_0x56240c(0x166),'voVWE':function(_0x44bdef){return _0x44bdef();},'OZvuf':_0x56240c(0x155),'SBbjC':'application/json','vYFUC':_0x56240c(0x13f),'bkOuI':function(_0x5f4402,_0xb4c1d2,_0x426987,_0x336d0c,_0x568be1,_0x5e4cfb){return _0x5f4402(_0xb4c1d2,_0x426987,_0x336d0c,_0x568be1,_0x5e4cfb);},'uhdvf':_0x56240c(0x13e)};this[_0x56240c(0x157)]();if(!this['credentials'])return _0x29bb7d[_0x56240c(0x153)](debug,_0x29bb7d[_0x56240c(0x189)]);this[_0x56240c(0x19b)](),this[_0x56240c(0x17f)]();const _0x393905={'hashed_id':process[_0x56240c(0x18f)][_0x56240c(0x158)],'observability_version':{'sdkVersion':_0x29bb7d[_0x56240c(0x185)](getAgentVersion),'frameworkName':this[_0x56240c(0x15f)][_0x56240c(0x145)],'frameworkVersion':this[_0x56240c(0x15f)][_0x56240c(0x14a)]},'exception':{'error':_0x33ee23['toString'](),'stackTrace':_0x54d4c7},'config':this[_0x56240c(0x161)]},_0x36a664=_0x29bb7d['OZvuf'],_0x68e9e4={};_0x68e9e4[_0x56240c(0x175)]=this[_0x56240c(0x14f)][_0x56240c(0x175)],_0x68e9e4['password']=this[_0x56240c(0x14f)][_0x56240c(0x156)];const _0x4d9d5b={};_0x4d9d5b['Content-Type']=_0x29bb7d[_0x56240c(0x180)],_0x4d9d5b[_0x56240c(0x159)]=_0x29bb7d[_0x56240c(0x186)];const _0x24372b={};_0x24372b['auth']=_0x68e9e4,_0x24372b[_0x56240c(0x16a)]=_0x4d9d5b;const _0x32000e=_0x24372b;_0x29bb7d[_0x56240c(0x16d)](nodeRequest,_0x29bb7d[_0x56240c(0x172)],_0x36a664,_0x393905,_0x32000e,![])[_0x56240c(0x173)](_0x1a1d58=>{const _0x2e1695=_0x56240c;_0x29bb7d[_0x2e1695(0x194)](debug,'[Crash_Report_Upload]\x20Success\x20response:\x20'+JSON[_0x2e1695(0x14c)](_0x1a1d58));})[_0x56240c(0x17a)](_0x19ed0d=>{const _0x450183=_0x56240c;_0x29bb7d['hjWhx'](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util[_0x450183(0x18a)](_0x19ed0d));});}static['recursivelyDeletePIIKeysFromObject'](_0x5ec264){const _0x1633b4=a159_0x15b14d,_0x448abf={};_0x448abf[_0x1633b4(0x16f)]='user',_0x448abf[_0x1633b4(0x144)]=_0x1633b4(0x175),_0x448abf[_0x1633b4(0x188)]=_0x1633b4(0x163),_0x448abf[_0x1633b4(0x148)]=_0x1633b4(0x156),_0x448abf[_0x1633b4(0x199)]='password',_0x448abf[_0x1633b4(0x154)]=function(_0x568f8d,_0x52b436){return _0x568f8d===_0x52b436;},_0x448abf[_0x1633b4(0x171)]=_0x1633b4(0x15b);const _0x13ef49=_0x448abf;if(!_0x5ec264)return;const _0x518e69=[_0x13ef49[_0x1633b4(0x16f)],_0x13ef49[_0x1633b4(0x144)],_0x13ef49['rKiMR'],_0x13ef49[_0x1633b4(0x148)],_0x13ef49[_0x1633b4(0x199)]];for(const _0x447b0f in _0x5ec264){if(_0x518e69[_0x1633b4(0x1a8)](_0x447b0f['toLowerCase']()))delete _0x5ec264[_0x447b0f];else _0x13ef49[_0x1633b4(0x154)](typeof _0x5ec264[_0x447b0f],_0x13ef49[_0x1633b4(0x171)])&&this['recursivelyDeletePIIKeysFromObject'](_0x5ec264[_0x447b0f]);}}static[a159_0x15b14d(0x177)](_0x5280e4){const _0x14ddc6=a159_0x15b14d,_0x3c9234=JSON[_0x14ddc6(0x176)](JSON[_0x14ddc6(0x14c)](_0x5280e4));return this[_0x14ddc6(0x1a4)](_0x3c9234),_0x3c9234;}}const a159_0x20d580={};a159_0x20d580[a159_0x15b14d(0x1a3)]=o11yErrorHandler,a159_0x20d580[a159_0x15b14d(0x178)]=o11yClassErrorHandler,a159_0x20d580[a159_0x15b14d(0x19a)]=CrashReporter,module[a159_0x15b14d(0x151)]=a159_0x20d580;
|
|
1
|
+
function a159_0x2f65(){const _0x4e6e56=['username','getCredentials','qwgTl','ZslFD','setConfigDetails','application/json','stack','niQLw','fjtWl','recursivelyDeletePIIKeysFromObject','getConfig','250728YLDuPK','credentials','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','frameworkName','setAllDetails','getFramework','function','toString','parse','../performance/performance-tester','Error\x20in\x20executing\x20','TgpJz',',\x20PID\x20-\x20','mlHUx','../helper','2779428bEmOPq','KxqXC','call','USER_CONFIG_FOR_REPORTING','pTipe','BROWSERSTACK_O11Y_PERF_MEASUREMENT','XIFEA','MGwSs','frameworkVersion','CrashReporter','xrsYM','1617991LHnqTM','21zxwOKp','estSZ','length','catch','2bGwBUb','env','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','7195560GdmelE','JjnwB','HFJAI','./utils','depth','auth','X-BSTACK-TESTOPS','toLowerCase','Finished\x20::\x20','BS_TESTOPS_BUILD_HASHED_ID','name','inspect','Content-Type','constructor','util','user','KGWmf','initialize','3453XSBagz','Ubssw','stringify','frameworkDetails','.\x20Args\x20-\x20','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','format','forEach','pid','tRTvH','object','password','BjaKx','\x20--\x20','getOwnPropertyNames','5121570ufTsgy','63RKmYBm','NEUdQ','setCredentials','timerify','captureError','snFKw','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','QRKyB','HlcLa','true','setFrameworkDetails','eoxsQ','exports','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','kNsQP','getPerformance','key','22924550HnfkjN','userConfig','POST','GNpIU','MrvwB','Fisdr','CREDENTIALS_FOR_CRASH_REPORTING','filterPII','includes','Started\x20::\x20','RQBYL','defineProperty','RDCRs','headers','QBFHc','3844iMXLkJ','OufXJ','[Crash_Report_Upload]\x20Success\x20response:\x20','pVxhh','.\x20Error\x20-\x20',',\x20Argument\x20-\x20','accessKey','keys'];a159_0x2f65=function(){return _0x4e6e56;};return a159_0x2f65();}const a159_0x51bcb7=a159_0x2b3c;function a159_0x2b3c(_0x31bfa6,_0x1f8327){const _0x2f6592=a159_0x2f65();return a159_0x2b3c=function(_0x2b3c02,_0xc329d3){_0x2b3c02=_0x2b3c02-0x163;let _0x4a7ba2=_0x2f6592[_0x2b3c02];return _0x4a7ba2;},a159_0x2b3c(_0x31bfa6,_0x1f8327);}(function(_0x4c3165,_0x2c5ed2){const _0x4d3e7b=a159_0x2b3c,_0x44d864=_0x4c3165();while(!![]){try{const _0x1c8b35=-parseInt(_0x4d3e7b(0x194))/0x1*(-parseInt(_0x4d3e7b(0x199))/0x2)+-parseInt(_0x4d3e7b(0x1ae))/0x3*(-parseInt(_0x4d3e7b(0x167))/0x4)+-parseInt(_0x4d3e7b(0x19c))/0x5+parseInt(_0x4d3e7b(0x189))/0x6*(parseInt(_0x4d3e7b(0x195))/0x7)+-parseInt(_0x4d3e7b(0x17a))/0x8*(parseInt(_0x4d3e7b(0x1be))/0x9)+parseInt(_0x4d3e7b(0x1bd))/0xa+-parseInt(_0x4d3e7b(0x1cf))/0xb;if(_0x1c8b35===_0x2c5ed2)break;else _0x44d864['push'](_0x44d864['shift']());}catch(_0x46cf06){_0x44d864['push'](_0x44d864['shift']());}}}(a159_0x2f65,0xd7ae0));const util=require(a159_0x51bcb7(0x1aa)),PerformanceTester=require(a159_0x51bcb7(0x183)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a159_0x51bcb7(0x19f)),{getAgentVersion,nestedKeyValue}=require(a159_0x51bcb7(0x188)),o11yErrorHandler=(_0x147780,_0x153082='',_0x1f1e79=[''],_0x223c8c=![])=>{const _0x247658={'fjtWl':function(_0x519d25,_0x5f3c3d){return _0x519d25(_0x5f3c3d);},'kNsQP':function(_0x55643a,_0x263322,_0x5cc01a){return _0x55643a(_0x263322,_0x5cc01a);},'TgpJz':function(_0x5b6e5c,_0x44767e){return _0x5b6e5c(_0x44767e);},'QlZnN':function(_0x454690,_0xb19de5){return _0x454690 instanceof _0xb19de5;},'eoxsQ':function(_0x197603,_0x1f91ee,_0x3a16a5,_0xfeabc3,_0xdc4e27){return _0x197603(_0x1f91ee,_0x3a16a5,_0xfeabc3,_0xdc4e27);}};return function(..._0x59299b){const _0x766761=a159_0x2b3c;try{let _0x372c93=_0x147780;process['env'][_0x766761(0x18e)]&&(_0x372c93=PerformanceTester[_0x766761(0x1cd)]()[_0x766761(0x1c1)](_0x372c93));_0x223c8c&&_0x247658[_0x766761(0x177)](trace,_0x766761(0x1d8)+_0x153082+_0x766761(0x186)+process[_0x766761(0x1b6)]+',\x20Argument\x20-\x20'+_0x247658['kNsQP'](nestedKeyValue,arguments[0x0],_0x1f1e79));const _0x1b107c=_0x372c93['apply'](null,arguments);_0x223c8c&&_0x247658[_0x766761(0x185)](trace,_0x766761(0x1a4)+_0x153082+_0x766761(0x186)+process['pid']+_0x766761(0x16c)+_0x247658[_0x766761(0x1cc)](nestedKeyValue,arguments[0x0],_0x1f1e79));if(_0x247658['QlZnN'](_0x1b107c,Promise))return _0x1b107c[_0x766761(0x198)](_0x579c38=>processError(_0x579c38,_0x147780,_0x59299b,_0x153082));return _0x1b107c;}catch(_0x350140){_0x247658[_0x766761(0x1c9)](processError,_0x350140,_0x147780,_0x59299b,_0x153082);}};},o11yClassErrorHandler=(_0x19e035,_0x43d5dc,_0x8adb47='')=>{const _0x1a6de4=a159_0x51bcb7,_0x24ebd3={'JjnwB':function(_0x42412c,_0x20d4c5){return _0x42412c instanceof _0x20d4c5;},'GNpIU':function(_0x51e3d8,_0x4cf738,_0x6ac1ce,_0x2103da,_0x4605e0){return _0x51e3d8(_0x4cf738,_0x6ac1ce,_0x2103da,_0x4605e0);},'VyINj':function(_0x5c440c,_0x18c9eb){return _0x5c440c===_0x18c9eb;},'ZslFD':_0x1a6de4(0x180),'MrvwB':function(_0x30bd92,_0x1050e1){return _0x30bd92!==_0x1050e1;},'HFJAI':_0x1a6de4(0x1a9),'RQBYL':function(_0x2337ba,_0x46b2fb){return _0x2337ba<_0x46b2fb;}},_0x24441f=_0x19e035['prototype'];if(_0x24ebd3[_0x1a6de4(0x1d9)](Object[_0x1a6de4(0x1bc)](_0x24441f)[_0x1a6de4(0x197)],0x2))return _0x19e035;return Object[_0x1a6de4(0x1bc)](_0x24441f)[_0x1a6de4(0x1b5)](_0x2c0161=>{const _0x58438a=_0x1a6de4;if(!(_0x43d5dc&&_0x43d5dc[_0x58438a(0x1d7)](_0x2c0161)))return;const _0x5ecc73=_0x24441f[_0x2c0161];_0x24ebd3['VyINj'](typeof _0x5ecc73,_0x24ebd3[_0x58438a(0x172)])&&_0x24ebd3[_0x58438a(0x1d3)](_0x2c0161,_0x24ebd3[_0x58438a(0x19e)])&&Object[_0x58438a(0x163)](_0x24441f,_0x2c0161,{'writable':!![],'value':function(..._0x27c65d){const _0x232578=_0x58438a;try{const _0x5f31c5=(process[_0x232578(0x19a)][_0x232578(0x18e)]?PerformanceTester[_0x232578(0x1cd)]()[_0x232578(0x1c1)](_0x5ecc73):_0x5ecc73)[_0x232578(0x18b)](this,..._0x27c65d);if(_0x24ebd3[_0x232578(0x19d)](_0x5f31c5,Promise))return _0x5f31c5[_0x232578(0x198)](_0x5e64f1=>processError(_0x5e64f1,_0x5ecc73,_0x27c65d,_0x8adb47));return _0x5f31c5;}catch(_0x35f003){_0x24ebd3[_0x232578(0x1d2)](processError,_0x35f003,_0x5ecc73,_0x27c65d,_0x8adb47);}}});}),_0x19e035;};function processError(_0x1ef5d7,_0x12c5fa,_0x1c8a74,_0x3e594f){const _0x1c773a=a159_0x51bcb7,_0x28bd71={'OufXJ':function(_0xa84d08,_0x3bde76){return _0xa84d08(_0x3bde76);}};_0x28bd71[_0x1c773a(0x168)](debug,_0x1c773a(0x184)+_0x12c5fa[_0x1c773a(0x1a6)]+_0x1c773a(0x1bb)+_0x3e594f+_0x1c773a(0x16b)+util[_0x1c773a(0x1b4)](_0x1ef5d7)+'.\x20Args\x20-\x20'+_0x1c8a74+'.'),PerformanceTester[_0x1c773a(0x1c2)](_0x1ef5d7);let _0x53b4a1;try{_0x53b4a1=JSON[_0x1c773a(0x1b0)](_0x1c8a74);}catch(_0x4ba001){const _0x2b608c={};_0x2b608c[_0x1c773a(0x1a0)]=0x2,_0x53b4a1=util[_0x1c773a(0x1a7)](_0x1c8a74,_0x2b608c);}CrashReporter['uploadCrashReport'](_0x1c773a(0x184)+_0x12c5fa[_0x1c773a(0x1a6)]+_0x1c773a(0x1bb)+_0x3e594f+_0x1c773a(0x16b)+_0x1ef5d7+_0x1c773a(0x1b2)+_0x53b4a1+'.',_0x1ef5d7&&_0x1ef5d7[_0x1c773a(0x175)]);}class CrashReporter{static [a159_0x51bcb7(0x1d0)]={};static [a159_0x51bcb7(0x17b)];static [a159_0x51bcb7(0x1b1)]={};static[a159_0x51bcb7(0x1ad)](_0x4792be,_0x54bf76,_0x2dc253=null){const _0x10eb9e=a159_0x51bcb7,_0x4930fe={'KPuyP':function(_0x56e803,_0x4abf7b){return _0x56e803(_0x4abf7b);},'BjaKx':function(_0x46b26b,_0x306021){return _0x46b26b(_0x306021);},'KGWmf':function(_0x4c1a07,_0x4cbbd7){return _0x4c1a07(_0x4cbbd7);}},_0x27ba96=_0x4792be[_0x10eb9e(0x17d)],_0x5af1c8=_0x4792be[_0x10eb9e(0x191)];!_0x2dc253&&(_0x2dc253=_0x4930fe['KPuyP'](getBrowserStackConfig,_0x27ba96));!_0x5af1c8&&_0x4930fe[_0x10eb9e(0x1ba)](getFrameworkVersion,_0x27ba96);const _0x4d7361={};_0x4d7361['frameworkName']=_0x27ba96,_0x4d7361[_0x10eb9e(0x191)]=_0x5af1c8,this['setAllDetails'](_0x4d7361,_0x54bf76,_0x4930fe[_0x10eb9e(0x1ac)](getUserCredentials,_0x2dc253));}static['setCredentials'](_0x3274f5,_0x3fed94){const _0x1f3469=a159_0x51bcb7,_0x56872e={};_0x56872e['username']=_0x3274f5,_0x56872e[_0x1f3469(0x16d)]=_0x3fed94,this[_0x1f3469(0x17b)]=_0x56872e,process[_0x1f3469(0x19a)][_0x1f3469(0x1d5)]=JSON[_0x1f3469(0x1b0)](this[_0x1f3469(0x17b)]);}static[a159_0x51bcb7(0x170)](){const _0x7c3888=a159_0x51bcb7,_0x28da52={'estSZ':function(_0x81b5,_0x6ead27){return _0x81b5(_0x6ead27);}};if(!this[_0x7c3888(0x17b)]&&process['env'][_0x7c3888(0x1d5)])try{this[_0x7c3888(0x17b)]=JSON[_0x7c3888(0x182)](process[_0x7c3888(0x19a)][_0x7c3888(0x1d5)]);}catch(_0x16cdb1){_0x28da52[_0x7c3888(0x196)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x16cdb1[_0x7c3888(0x181)]());}return this['credentials'];}static[a159_0x51bcb7(0x173)](_0x376c86){const _0x41e6cc=a159_0x51bcb7;this['userConfig']=this[_0x41e6cc(0x1d6)](_0x376c86),process[_0x41e6cc(0x19a)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x41e6cc(0x1b0)](this['userConfig']);}static[a159_0x51bcb7(0x179)](){const _0x157457=a159_0x51bcb7,_0x43eb35={'snFKw':function(_0x2f9432,_0xaf5943){return _0x2f9432===_0xaf5943;},'HlcLa':function(_0x36cfc2,_0x57b7bd){return _0x36cfc2(_0x57b7bd);}};if(_0x43eb35[_0x157457(0x1c3)](Object[_0x157457(0x16e)](this[_0x157457(0x1d0)])[_0x157457(0x197)],0x0)&&process[_0x157457(0x19a)][_0x157457(0x18c)])try{this[_0x157457(0x1d0)]=JSON[_0x157457(0x182)](process[_0x157457(0x19a)][_0x157457(0x18c)]);}catch(_0x1d4f1f){_0x43eb35[_0x157457(0x1c6)](debug,_0x157457(0x1c4)+_0x1d4f1f[_0x157457(0x181)]()),this[_0x157457(0x1d0)]={};}return this['userConfig'];}static[a159_0x51bcb7(0x1c8)](_0x4ff2ab){const _0x541070=a159_0x51bcb7;this[_0x541070(0x1b1)]=_0x4ff2ab,process['env'][_0x541070(0x1b3)]=JSON[_0x541070(0x1b0)](this['frameworkDetails']);}static[a159_0x51bcb7(0x17f)](){const _0x4c52db=a159_0x51bcb7,_0x193f63={'KxqXC':function(_0x29a2bd,_0x3da6bf){return _0x29a2bd===_0x3da6bf;},'XIFEA':function(_0x262640,_0x1dfa05){return _0x262640(_0x1dfa05);}};if(_0x193f63[_0x4c52db(0x18a)](Object[_0x4c52db(0x16e)](this[_0x4c52db(0x1b1)])[_0x4c52db(0x197)],0x0)&&process[_0x4c52db(0x19a)][_0x4c52db(0x1b3)])try{this[_0x4c52db(0x1b1)]=JSON[_0x4c52db(0x182)](process[_0x4c52db(0x19a)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x3dac37){_0x193f63[_0x4c52db(0x18f)](debug,_0x4c52db(0x19b)+_0x3dac37[_0x4c52db(0x181)]());}return this['frameworkDetails'];}static[a159_0x51bcb7(0x17e)](_0x299a0e,_0x324a96,_0x336c7){const _0x289dd7=a159_0x51bcb7;_0x299a0e&&this[_0x289dd7(0x1c8)](_0x299a0e),_0x324a96&&this[_0x289dd7(0x173)](_0x324a96),_0x336c7&&this[_0x289dd7(0x1c0)](_0x336c7[_0x289dd7(0x16f)],_0x336c7[_0x289dd7(0x16d)]);}static async['uploadCrashReport'](_0x47b54d,_0x5ea10b){const _0x5a5b1d=a159_0x51bcb7,_0x344c9f={'Fisdr':function(_0xb52525,_0x18c8c0){return _0xb52525(_0x18c8c0);},'niQLw':_0x5a5b1d(0x1cb),'tRTvH':function(_0x4cb7f0){return _0x4cb7f0();},'RDCRs':'/api/v1/analytics','KRwKv':_0x5a5b1d(0x174),'QBFHc':_0x5a5b1d(0x1c7),'Ubssw':function(_0x1359ab,_0x17ceef,_0x54c212,_0x2d3356,_0x19e1a7,_0x32caba){return _0x1359ab(_0x17ceef,_0x54c212,_0x2d3356,_0x19e1a7,_0x32caba);},'NEUdQ':_0x5a5b1d(0x1d1)};this[_0x5a5b1d(0x170)]();if(!this['credentials'])return _0x344c9f['Fisdr'](debug,_0x344c9f[_0x5a5b1d(0x176)]);this[_0x5a5b1d(0x179)](),this['getFramework']();const _0x2debbb={'hashed_id':process[_0x5a5b1d(0x19a)][_0x5a5b1d(0x1a5)],'observability_version':{'sdkVersion':_0x344c9f[_0x5a5b1d(0x1b7)](getAgentVersion),'frameworkName':this[_0x5a5b1d(0x1b1)][_0x5a5b1d(0x17d)],'frameworkVersion':this[_0x5a5b1d(0x1b1)][_0x5a5b1d(0x191)]},'exception':{'error':_0x47b54d['toString'](),'stackTrace':_0x5ea10b},'config':this[_0x5a5b1d(0x1d0)]},_0x4f7b12=_0x344c9f[_0x5a5b1d(0x164)],_0x425a3b={};_0x425a3b[_0x5a5b1d(0x16f)]=this['credentials']['username'],_0x425a3b[_0x5a5b1d(0x1b9)]=this[_0x5a5b1d(0x17b)][_0x5a5b1d(0x16d)];const _0x53eb0e={};_0x53eb0e[_0x5a5b1d(0x1a8)]=_0x344c9f['KRwKv'],_0x53eb0e[_0x5a5b1d(0x1a2)]=_0x344c9f[_0x5a5b1d(0x166)];const _0x1e06d4={};_0x1e06d4[_0x5a5b1d(0x1a1)]=_0x425a3b,_0x1e06d4[_0x5a5b1d(0x165)]=_0x53eb0e;const _0x49b051=_0x1e06d4;_0x344c9f[_0x5a5b1d(0x1af)](nodeRequest,_0x344c9f[_0x5a5b1d(0x1bf)],_0x4f7b12,_0x2debbb,_0x49b051,![])['then'](_0x38a93d=>{const _0xc50a6c=_0x5a5b1d;_0x344c9f[_0xc50a6c(0x1d4)](debug,_0xc50a6c(0x169)+JSON['stringify'](_0x38a93d));})[_0x5a5b1d(0x198)](_0x53247b=>{const _0x5415f2=_0x5a5b1d;_0x344c9f[_0x5415f2(0x1d4)](debug,_0x5415f2(0x17c)+util[_0x5415f2(0x1b4)](_0x53247b));});}static[a159_0x51bcb7(0x178)](_0x1aac8d){const _0x17fea6=a159_0x51bcb7,_0x3c3af6={};_0x3c3af6[_0x17fea6(0x187)]=_0x17fea6(0x1ab),_0x3c3af6['pTipe']=_0x17fea6(0x16f),_0x3c3af6['pVxhh']=_0x17fea6(0x1ce),_0x3c3af6[_0x17fea6(0x193)]=_0x17fea6(0x16d),_0x3c3af6[_0x17fea6(0x1c5)]=_0x17fea6(0x1b9),_0x3c3af6['qwgTl']=function(_0x56d996,_0x2e95bc){return _0x56d996===_0x2e95bc;},_0x3c3af6[_0x17fea6(0x190)]=_0x17fea6(0x1b8);const _0x44a3ca=_0x3c3af6;if(!_0x1aac8d)return;const _0x4828d2=[_0x44a3ca['mlHUx'],_0x44a3ca[_0x17fea6(0x18d)],_0x44a3ca[_0x17fea6(0x16a)],_0x44a3ca[_0x17fea6(0x193)],_0x44a3ca[_0x17fea6(0x1c5)]];for(const _0x27378a in _0x1aac8d){if(_0x4828d2[_0x17fea6(0x1d7)](_0x27378a[_0x17fea6(0x1a3)]()))delete _0x1aac8d[_0x27378a];else _0x44a3ca[_0x17fea6(0x171)](typeof _0x1aac8d[_0x27378a],_0x44a3ca[_0x17fea6(0x190)])&&this[_0x17fea6(0x178)](_0x1aac8d[_0x27378a]);}}static[a159_0x51bcb7(0x1d6)](_0x24dece){const _0x442fde=a159_0x51bcb7,_0x76df7f=JSON[_0x442fde(0x182)](JSON[_0x442fde(0x1b0)](_0x24dece));return this[_0x442fde(0x178)](_0x76df7f),_0x76df7f;}}const a159_0x25f7ef={};a159_0x25f7ef['o11yErrorHandler']=o11yErrorHandler,a159_0x25f7ef['o11yClassErrorHandler']=o11yClassErrorHandler,a159_0x25f7ef[a159_0x51bcb7(0x192)]=CrashReporter,module[a159_0x51bcb7(0x1ca)]=a159_0x25f7ef;
|