browserstack-node-sdk 1.55.6 → 1.55.7
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 +2 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -0
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/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 a131_0x1e1f5e=a131_0x5056;function a131_0x5056(_0x270e9f,_0x1add3b){const _0x4da428=a131_0x4da4();return a131_0x5056=function(_0x505607,_0x299d81){_0x505607=_0x505607-0x1a1;let _0x30d67a=_0x4da428[_0x505607];return _0x30d67a;},a131_0x5056(_0x270e9f,_0x1add3b);}(function(_0x20fc07,_0x170fa5){const _0x28168a=a131_0x5056,_0x459688=_0x20fc07();while(!![]){try{const _0x56a54f=-parseInt(_0x28168a(0x1b7))/0x1*(-parseInt(_0x28168a(0x1f3))/0x2)+parseInt(_0x28168a(0x1e7))/0x3*(-parseInt(_0x28168a(0x221))/0x4)+-parseInt(_0x28168a(0x20a))/0x5*(-parseInt(_0x28168a(0x1eb))/0x6)+parseInt(_0x28168a(0x1ca))/0x7+parseInt(_0x28168a(0x1f9))/0x8*(-parseInt(_0x28168a(0x208))/0x9)+parseInt(_0x28168a(0x1a5))/0xa*(parseInt(_0x28168a(0x1e9))/0xb)+-parseInt(_0x28168a(0x1e5))/0xc;if(_0x56a54f===_0x170fa5)break;else _0x459688['push'](_0x459688['shift']());}catch(_0x12dade){_0x459688['push'](_0x459688['shift']());}}}(a131_0x4da4,0x3dced));const a131_0x6e61a6={};a131_0x6e61a6[a131_0x1e1f5e(0x1bc)]='sdk:setup',a131_0x6e61a6[a131_0x1e1f5e(0x1c0)]='sdk:cleanup',a131_0x6e61a6[a131_0x1e1f5e(0x222)]='sdk:pre-test',a131_0x6e61a6['SDK_TEST']=a131_0x1e1f5e(0x1bd),a131_0x6e61a6[a131_0x1e1f5e(0x227)]=a131_0x1e1f5e(0x1cb),a131_0x6e61a6['SDK_HOOK']=a131_0x1e1f5e(0x21f),a131_0x6e61a6['SDK_DRIVER']=a131_0x1e1f5e(0x225),a131_0x6e61a6[a131_0x1e1f5e(0x228)]='sdk:a11y',a131_0x6e61a6[a131_0x1e1f5e(0x1a9)]=a131_0x1e1f5e(0x20d),a131_0x6e61a6[a131_0x1e1f5e(0x1cf)]='sdk:auto-capture',a131_0x6e61a6[a131_0x1e1f5e(0x1b6)]=a131_0x1e1f5e(0x21c),a131_0x6e61a6[a131_0x1e1f5e(0x1f8)]=a131_0x1e1f5e(0x201),a131_0x6e61a6[a131_0x1e1f5e(0x1fc)]=a131_0x1e1f5e(0x1cd),a131_0x6e61a6[a131_0x1e1f5e(0x212)]=a131_0x1e1f5e(0x1fe),a131_0x6e61a6[a131_0x1e1f5e(0x214)]=a131_0x1e1f5e(0x1ef),a131_0x6e61a6[a131_0x1e1f5e(0x1c2)]=a131_0x1e1f5e(0x1ab),a131_0x6e61a6[a131_0x1e1f5e(0x22a)]=a131_0x1e1f5e(0x1a8),a131_0x6e61a6['SDK_POST_INITIALIZE']=a131_0x1e1f5e(0x1cc),a131_0x6e61a6[a131_0x1e1f5e(0x1be)]=a131_0x1e1f5e(0x223),a131_0x6e61a6['SDK_CLI_DOWNLOAD']=a131_0x1e1f5e(0x1dd),a131_0x6e61a6[a131_0x1e1f5e(0x1ff)]=a131_0x1e1f5e(0x1af),a131_0x6e61a6[a131_0x1e1f5e(0x21d)]=a131_0x1e1f5e(0x1de),a131_0x6e61a6[a131_0x1e1f5e(0x1f1)]=a131_0x1e1f5e(0x1b1),a131_0x6e61a6['SDK_CLI_ON_STOP']=a131_0x1e1f5e(0x20c),a131_0x6e61a6[a131_0x1e1f5e(0x1d6)]=a131_0x1e1f5e(0x1e8),a131_0x6e61a6[a131_0x1e1f5e(0x1f6)]=a131_0x1e1f5e(0x206),a131_0x6e61a6[a131_0x1e1f5e(0x1ba)]='sdk:driverInit',a131_0x6e61a6[a131_0x1e1f5e(0x1c9)]=a131_0x1e1f5e(0x1fd),a131_0x6e61a6['SDK_AUTOMATION_FRAMEWORK_INIT']=a131_0x1e1f5e(0x1a4),a131_0x6e61a6[a131_0x1e1f5e(0x209)]=a131_0x1e1f5e(0x1c3),a131_0x6e61a6['SDK_ACCESSIBILITY_CONFIG']=a131_0x1e1f5e(0x1df),a131_0x6e61a6['SDK_OBSERVABILITY_CONFIG']=a131_0x1e1f5e(0x1ec),a131_0x6e61a6[a131_0x1e1f5e(0x204)]=a131_0x1e1f5e(0x1da),a131_0x6e61a6[a131_0x1e1f5e(0x220)]=a131_0x1e1f5e(0x1ce),a131_0x6e61a6['SDK_TEST_FRAMEWORK_EVENT']=a131_0x1e1f5e(0x1e1),a131_0x6e61a6['SDK_TEST_SESSION_EVENT']=a131_0x1e1f5e(0x20f),a131_0x6e61a6[a131_0x1e1f5e(0x1d1)]=a131_0x1e1f5e(0x1d8),a131_0x6e61a6[a131_0x1e1f5e(0x1b3)]='sdk:cli:enqueueTestEvent',a131_0x6e61a6['SDK_AUTOMATION_FRAMEWORK_STOP']=a131_0x1e1f5e(0x1aa),a131_0x6e61a6[a131_0x1e1f5e(0x1b9)]=a131_0x1e1f5e(0x1b2);function a131_0x4da4(){const _0x5802ff=['4968430yHGiSi','SDK_HOOK','QUIT','sdk:driver:pre-initialization','SDK_O11Y','sdk:automationFrameworkStop','sdk:percy','GENERATE_CI_ARTIFACT',':driver-manage','AFTER_ALL','sdk:cli:check-update',':post-execute','sdk:cli:on-connect','sdk:onStop','SDK_CLI_ENQUEUE_TEST_EVENT',':auto-capture',':after-all','SDK_PROXY_SETUP','1yHHhwo',':pre-execute','SDK_ON_STOP','SDK_DRIVER_INIT',':get','SDK_SETUP','sdk:test','SDK_CLI_START',':screenshot','SDK_CLEANUP','BEFORE_EACH','SDK_PERCY','sdk:automationFrameworkStart','TESTHUB_EVENTS','SESSION_STATUS','SDK_DRIVER','STOP','exports','SDK_FIND_NEAREST_HUB','207347arJbFZ','sdk:post-test','sdk:driver:post-initialization','sdk:automate','sdk:aiSelfHealGetResult','SDK_AUTO_CAPTURE','HOOK_EVENTS','SDK_CLI_LOG_CREATED_EVENT',':app-upload',':driver-takeScreenShot',':local-start','DRIVER_EVENT','SDK_START_BIN_SESSION','GET','sdk:cli:logCreatedEvent','SCREENSHOT','sdk:aiSelfHealStep','APP_UPLOAD',':get-accessibility-results','sdk:cli:download','sdk:cli:on-bootstrap','sdk:accessibilityConfig','BEFORE_ALL','sdk:testFrameworkEvent','DRIVER_MANAGE',':quit','AFTER_EACH','2154324XUvfWl','PRINT_BUILDLINK','3iKkhGh','sdk:startBinSession','11gmfOzH',':before-each','1285338bOFWVk','sdk:observabilityConfig','AUTO_CAPTURE','SNAPSHOT','sdk:turboscale','START','SDK_CLI_ON_CONNECT',':get-accessibility-results-summary','754662MdZpIG',':stop','PERCY_EVENTS','SDK_CONNECT_BIN_SESSION',':save-results','SDK_TESTHUB','8MthHPO',':session-name',':session-status','SDK_AUTOMATE','sdk:findNearestHub','sdk:app-automate','SDK_CLI_CHECK_UPDATE',':idle-timeout','sdk:testhub',':ci-artifacts','POST_EXECUTE','SDK_AI_SELF_HEAL_STEP','HUB_MANAGEMENT','sdk:connectBinSession',':sync','4057731giCXIq','SDK_AUTOMATION_FRAMEWORK_START','5xSOWkd',':download','sdk:cli:on-stop','sdk:o11y',':hub-management','sdk:testSessionEvent',':after','AUTOMATE_EVENTS','SDK_APP_AUTOMATE','LOCAL_START','SDK_TURBOSCALE','A11Y_EVENTS',':print-buildlink','TURBOSCALE_EVENTS','APP_AUOTMATE_EVENTS',':local-stop',':start','DOWNLOAD','sdk:proxy-setup','SDK_CLI_ON_BOOTSTRAP','GET_RESULTS','sdk:hook','SDK_AI_SELF_HEAL_GET_RESULT','937868iUaraM','SDK_PRE_TEST','sdk:cli:start','PRE_EXECUTE','sdk:driver',':session-annotation','SDK_POST_TEST','SDK_A11Y','O11y_EVENTS','SDK_PRE_INITIALIZE',':driver-performscan','SYNC','AFTER','sdk:automationFrameworkInit'];a131_0x4da4=function(){return _0x5802ff;};return a131_0x4da4();}const SDK_EVENTS=a131_0x6e61a6,a131_0x1ad063={};a131_0x1ad063['EVENTS']=SDK_EVENTS,a131_0x1ad063[a131_0x1e1f5e(0x1c4)]={},a131_0x1ad063[a131_0x1e1f5e(0x211)]={},a131_0x1ad063[a131_0x1e1f5e(0x215)]={},a131_0x1ad063[a131_0x1e1f5e(0x1f5)]={},a131_0x1ad063[a131_0x1e1f5e(0x229)]={},a131_0x1ad063[a131_0x1e1f5e(0x1d0)]={},a131_0x1ad063[a131_0x1e1f5e(0x217)]={},a131_0x1ad063[a131_0x1e1f5e(0x218)]={},a131_0x1ad063[a131_0x1e1f5e(0x1d5)]={},a131_0x1ad063[a131_0x1e1f5e(0x1c4)][a131_0x1e1f5e(0x1f0)]=SDK_EVENTS['SDK_TESTHUB']+a131_0x1e1f5e(0x21a),a131_0x1ad063[a131_0x1e1f5e(0x1c4)][a131_0x1e1f5e(0x1c7)]=SDK_EVENTS[a131_0x1e1f5e(0x1f8)]+a131_0x1e1f5e(0x1f4),a131_0x1ad063[a131_0x1e1f5e(0x211)]['KEEP_ALIVE']=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+':keep-alive',a131_0x1ad063[a131_0x1e1f5e(0x211)][a131_0x1e1f5e(0x205)]=SDK_EVENTS['SDK_AUTOMATE']+a131_0x1e1f5e(0x20e),a131_0x1ad063[a131_0x1e1f5e(0x211)][a131_0x1e1f5e(0x213)]=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+a131_0x1e1f5e(0x1d4),a131_0x1ad063[a131_0x1e1f5e(0x211)]['LOCAL_STOP']=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+a131_0x1e1f5e(0x219),a131_0x1ad063[a131_0x1e1f5e(0x211)][a131_0x1e1f5e(0x1e2)]=SDK_EVENTS['SDK_AUTOMATE']+a131_0x1e1f5e(0x1ad),a131_0x1ad063[a131_0x1e1f5e(0x211)]['SESSION_NAME']=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+a131_0x1e1f5e(0x1fa),a131_0x1ad063[a131_0x1e1f5e(0x211)][a131_0x1e1f5e(0x1c5)]=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+a131_0x1e1f5e(0x1fb),a131_0x1ad063[a131_0x1e1f5e(0x211)]['SESSION_ANNOTATION']=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+a131_0x1e1f5e(0x226),a131_0x1ad063[a131_0x1e1f5e(0x211)]['IDLE_TIMEOUT']=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+a131_0x1e1f5e(0x200),a131_0x1ad063[a131_0x1e1f5e(0x211)][a131_0x1e1f5e(0x1ac)]=SDK_EVENTS['SDK_AUTOMATE']+a131_0x1e1f5e(0x202),a131_0x1ad063[a131_0x1e1f5e(0x211)][a131_0x1e1f5e(0x1e6)]=SDK_EVENTS[a131_0x1e1f5e(0x1fc)]+a131_0x1e1f5e(0x216),a131_0x1ad063[a131_0x1e1f5e(0x215)]['PERFORM_SCAN']=SDK_EVENTS[a131_0x1e1f5e(0x228)]+a131_0x1e1f5e(0x1a1),a131_0x1ad063[a131_0x1e1f5e(0x215)]['SAVE_RESULTS']=SDK_EVENTS['SDK_A11Y']+a131_0x1e1f5e(0x1f7),a131_0x1ad063[a131_0x1e1f5e(0x215)][a131_0x1e1f5e(0x21e)]=SDK_EVENTS[a131_0x1e1f5e(0x228)]+a131_0x1e1f5e(0x1dc),a131_0x1ad063[a131_0x1e1f5e(0x215)]['GET_RESULTS_SUMMARY']=SDK_EVENTS[a131_0x1e1f5e(0x228)]+a131_0x1e1f5e(0x1f2),a131_0x1ad063[a131_0x1e1f5e(0x1f5)][a131_0x1e1f5e(0x21b)]=SDK_EVENTS['SDK_PERCY']+a131_0x1e1f5e(0x20b),a131_0x1ad063[a131_0x1e1f5e(0x1f5)][a131_0x1e1f5e(0x1d9)]=SDK_EVENTS[a131_0x1e1f5e(0x1c2)]+a131_0x1e1f5e(0x1bf),a131_0x1ad063[a131_0x1e1f5e(0x1f5)][a131_0x1e1f5e(0x1f0)]=SDK_EVENTS['SDK_PERCY']+a131_0x1e1f5e(0x21a),a131_0x1ad063[a131_0x1e1f5e(0x1f5)][a131_0x1e1f5e(0x1c7)]=SDK_EVENTS[a131_0x1e1f5e(0x1c2)]+':stop',a131_0x1ad063[a131_0x1e1f5e(0x1f5)][a131_0x1e1f5e(0x1ed)]=SDK_EVENTS[a131_0x1e1f5e(0x1c2)]+a131_0x1e1f5e(0x1b4),a131_0x1ad063[a131_0x1e1f5e(0x1f5)][a131_0x1e1f5e(0x1ee)]=SDK_EVENTS['SDK_PERCY']+':snapshot',a131_0x1ad063[a131_0x1e1f5e(0x1f5)]['SCREENSHOT_APP']=SDK_EVENTS[a131_0x1e1f5e(0x1c2)]+':screenshot-app',a131_0x1ad063[a131_0x1e1f5e(0x229)][a131_0x1e1f5e(0x1a2)]=SDK_EVENTS[a131_0x1e1f5e(0x1a9)]+a131_0x1e1f5e(0x207),a131_0x1ad063[a131_0x1e1f5e(0x229)]['TAKE_SCREENSHOT']=SDK_EVENTS['SDK_O11Y']+a131_0x1e1f5e(0x1d3),a131_0x1ad063[a131_0x1e1f5e(0x229)]['PRINT_BUILDLINK']=SDK_EVENTS[a131_0x1e1f5e(0x1a9)]+a131_0x1e1f5e(0x216),a131_0x1ad063[a131_0x1e1f5e(0x1d0)][a131_0x1e1f5e(0x1c1)]=SDK_EVENTS[a131_0x1e1f5e(0x1a6)]+a131_0x1e1f5e(0x1ea),a131_0x1ad063[a131_0x1e1f5e(0x1d0)][a131_0x1e1f5e(0x1e4)]=SDK_EVENTS[a131_0x1e1f5e(0x1a6)]+':after-each',a131_0x1ad063[a131_0x1e1f5e(0x1d0)][a131_0x1e1f5e(0x1ae)]=SDK_EVENTS['SDK_HOOK']+a131_0x1e1f5e(0x1b5),a131_0x1ad063[a131_0x1e1f5e(0x1d0)][a131_0x1e1f5e(0x1e0)]=SDK_EVENTS[a131_0x1e1f5e(0x1a6)]+':before-all',a131_0x1ad063[a131_0x1e1f5e(0x1d0)]['BEFORE']=SDK_EVENTS['SDK_HOOK']+':before',a131_0x1ad063[a131_0x1e1f5e(0x1d0)][a131_0x1e1f5e(0x1a3)]=SDK_EVENTS[a131_0x1e1f5e(0x1a6)]+a131_0x1e1f5e(0x210),a131_0x1ad063[a131_0x1e1f5e(0x217)]['HUB_MANAGEMENT']=SDK_EVENTS[a131_0x1e1f5e(0x214)]+a131_0x1e1f5e(0x20e),a131_0x1ad063[a131_0x1e1f5e(0x217)][a131_0x1e1f5e(0x1e6)]=SDK_EVENTS[a131_0x1e1f5e(0x214)]+a131_0x1e1f5e(0x216),a131_0x1ad063[a131_0x1e1f5e(0x218)][a131_0x1e1f5e(0x1db)]=SDK_EVENTS[a131_0x1e1f5e(0x212)]+a131_0x1e1f5e(0x1d2),a131_0x1ad063[a131_0x1e1f5e(0x1d5)][a131_0x1e1f5e(0x1a7)]=SDK_EVENTS[a131_0x1e1f5e(0x1c6)]+a131_0x1e1f5e(0x1e3),a131_0x1ad063[a131_0x1e1f5e(0x1d5)][a131_0x1e1f5e(0x1d7)]=SDK_EVENTS[a131_0x1e1f5e(0x1c6)]+a131_0x1e1f5e(0x1bb),a131_0x1ad063[a131_0x1e1f5e(0x1d5)][a131_0x1e1f5e(0x224)]=SDK_EVENTS[a131_0x1e1f5e(0x1c6)]+a131_0x1e1f5e(0x1b8),a131_0x1ad063[a131_0x1e1f5e(0x1d5)][a131_0x1e1f5e(0x203)]=SDK_EVENTS['SDK_DRIVER']+a131_0x1e1f5e(0x1b0),module[a131_0x1e1f5e(0x1c8)]=a131_0x1ad063;
|
|
1
|
+
const a132_0x13db15=a132_0x1092;(function(_0x266f7d,_0x2a19d1){const _0x48bfe0=a132_0x1092,_0x252b3f=_0x266f7d();while(!![]){try{const _0x5edf7e=-parseInt(_0x48bfe0(0x22a))/0x1+parseInt(_0x48bfe0(0x204))/0x2*(parseInt(_0x48bfe0(0x200))/0x3)+-parseInt(_0x48bfe0(0x21c))/0x4*(-parseInt(_0x48bfe0(0x23a))/0x5)+-parseInt(_0x48bfe0(0x225))/0x6*(parseInt(_0x48bfe0(0x1ed))/0x7)+parseInt(_0x48bfe0(0x224))/0x8*(parseInt(_0x48bfe0(0x1ca))/0x9)+-parseInt(_0x48bfe0(0x1fd))/0xa+parseInt(_0x48bfe0(0x232))/0xb*(-parseInt(_0x48bfe0(0x1fa))/0xc);if(_0x5edf7e===_0x2a19d1)break;else _0x252b3f['push'](_0x252b3f['shift']());}catch(_0x5b20f0){_0x252b3f['push'](_0x252b3f['shift']());}}}(a132_0x33d4,0xc2e9c));function a132_0x33d4(){const _0x189796=['SDK_PERCY','APP_AUOTMATE_EVENTS','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_TURBOSCALE','28nTuOME','SDK_TEST','DRIVER_EVENT','GET','sdk:cli:start',':get-accessibility-results-summary','A11Y_EVENTS','SDK_CLI_ENQUEUE_TEST_EVENT','6877272WfZWLy','1686pFItdb','sdk:setup','sdk:a11y','sdk:observabilityConfig','HUB_MANAGEMENT','15585GfyIET','DRIVER_MANAGE','sdk:automationFrameworkInit','sdk:driver:post-initialization','SCREENSHOT','SDK_POST_TEST','AFTER',':hub-management','22LKcRHh',':before-each','BEFORE_EACH','sdk:cli:on-bootstrap','APP_UPLOAD','SDK_TEST_SESSION_EVENT',':print-buildlink','SDK_AUTO_CAPTURE','887575HHUOdW','SDK_CLI_LOG_CREATED_EVENT','sdk:auto-capture','sdk:hook','SDK_HOOK',':before-all','sdk:turboscale','SDK_POST_INITIALIZE','SDK_TESTHUB','sdk:connectBinSession',':keep-alive','sdk:proxy-setup',':session-annotation','SDK_CLI_DOWNLOAD',':start',':get-accessibility-results','AFTER_ALL','SDK_OBSERVABILITY_CONFIG','BEFORE_ALL',':idle-timeout','9sVOCca','SDK_FIND_NEAREST_HUB','SESSION_NAME','sdk:driverInit',':auto-capture','STOP','GET_RESULTS','TESTHUB_EVENTS','EVENTS','SDK_CLI_START','HOOK_EVENTS',':screenshot-app','SDK_START_BIN_SESSION',':driver-manage','PRINT_BUILDLINK','O11y_EVENTS',':before','AFTER_EACH',':driver-takeScreenShot','SDK_DRIVER_INIT',':app-upload','sdk:driver:pre-initialization','PERCY_EVENTS','DOWNLOAD','sdk:automationFrameworkStart','SDK_CONNECT_BIN_SESSION',':screenshot','POST_EXECUTE','SDK_CLI_ON_STOP','SDK_O11Y','SESSION_ANNOTATION','sdk:app-automate','SDK_A11Y',':ci-artifacts','TAKE_SCREENSHOT','11837qtfeEe','SDK_ON_STOP','SDK_SETUP','sdk:driver','SDK_TEST_FRAMEWORK_EVENT','SDK_AI_SELF_HEAL_STEP','SDK_ACCESSIBILITY_CONFIG','SESSION_STATUS','sdk:findNearestHub',':session-status','GET_RESULTS_SUMMARY','sdk:cli:on-connect','sdk:aiSelfHealGetResult','5227788pmITjb','sdk:aiSelfHealStep','LOCAL_STOP','3350070fquOXC','SDK_AUTOMATE','sdk:pre-test','3fIRnvX','SDK_APP_AUTOMATE','sdk:post-test','TURBOSCALE_EVENTS','786322CddZgJ',':stop',':post-execute','sdk:cli:logCreatedEvent','SAVE_RESULTS',':sync','LOCAL_START','SDK_CLEANUP','AUTOMATE_EVENTS','SDK_PRE_TEST','KEEP_ALIVE','SDK_DRIVER','sdk:test',':session-name','SCREENSHOT_APP','SNAPSHOT','sdk:cli:on-stop','SDK_AUTOMATION_FRAMEWORK_START',':save-results',':driver-performscan'];a132_0x33d4=function(){return _0x189796;};return a132_0x33d4();}function a132_0x1092(_0x24a42a,_0x4060ec){const _0x33d4bc=a132_0x33d4();return a132_0x1092=function(_0x1092a1,_0x4912d9){_0x1092a1=_0x1092a1-0x1c4;let _0x34816c=_0x33d4bc[_0x1092a1];return _0x34816c;},a132_0x1092(_0x24a42a,_0x4060ec);}const a132_0x130fdd={};a132_0x130fdd[a132_0x13db15(0x1ef)]=a132_0x13db15(0x226),a132_0x130fdd[a132_0x13db15(0x20b)]='sdk:cleanup',a132_0x130fdd[a132_0x13db15(0x20d)]=a132_0x13db15(0x1ff),a132_0x130fdd[a132_0x13db15(0x21d)]=a132_0x13db15(0x210),a132_0x130fdd[a132_0x13db15(0x22f)]=a132_0x13db15(0x202),a132_0x130fdd[a132_0x13db15(0x23e)]=a132_0x13db15(0x23d),a132_0x130fdd[a132_0x13db15(0x20f)]=a132_0x13db15(0x1f0),a132_0x130fdd[a132_0x13db15(0x1ea)]=a132_0x13db15(0x227),a132_0x130fdd[a132_0x13db15(0x1e7)]='sdk:o11y',a132_0x130fdd[a132_0x13db15(0x239)]=a132_0x13db15(0x23c),a132_0x130fdd['SDK_PROXY_SETUP']=a132_0x13db15(0x245),a132_0x130fdd[a132_0x13db15(0x242)]='sdk:testhub',a132_0x130fdd['SDK_AUTOMATE']='sdk:automate',a132_0x130fdd[a132_0x13db15(0x201)]=a132_0x13db15(0x1e9),a132_0x130fdd[a132_0x13db15(0x21b)]=a132_0x13db15(0x240),a132_0x130fdd[a132_0x13db15(0x218)]='sdk:percy',a132_0x130fdd['SDK_PRE_INITIALIZE']=a132_0x13db15(0x1df),a132_0x130fdd[a132_0x13db15(0x241)]=a132_0x13db15(0x22d),a132_0x130fdd[a132_0x13db15(0x1d3)]=a132_0x13db15(0x220),a132_0x130fdd[a132_0x13db15(0x247)]='sdk:cli:download',a132_0x130fdd['SDK_CLI_CHECK_UPDATE']='sdk:cli:check-update',a132_0x130fdd['SDK_CLI_ON_BOOTSTRAP']=a132_0x13db15(0x235),a132_0x130fdd['SDK_CLI_ON_CONNECT']=a132_0x13db15(0x1f8),a132_0x130fdd[a132_0x13db15(0x1e6)]=a132_0x13db15(0x214),a132_0x130fdd[a132_0x13db15(0x1d6)]='sdk:startBinSession',a132_0x130fdd[a132_0x13db15(0x1e3)]=a132_0x13db15(0x243),a132_0x130fdd[a132_0x13db15(0x1dd)]=a132_0x13db15(0x1cd),a132_0x130fdd[a132_0x13db15(0x1cb)]=a132_0x13db15(0x1f5),a132_0x130fdd['SDK_AUTOMATION_FRAMEWORK_INIT']=a132_0x13db15(0x22c),a132_0x130fdd[a132_0x13db15(0x215)]=a132_0x13db15(0x1e2),a132_0x130fdd[a132_0x13db15(0x1f3)]='sdk:accessibilityConfig',a132_0x130fdd[a132_0x13db15(0x1c7)]=a132_0x13db15(0x228),a132_0x130fdd[a132_0x13db15(0x1f2)]=a132_0x13db15(0x1fb),a132_0x130fdd['SDK_AI_SELF_HEAL_GET_RESULT']=a132_0x13db15(0x1f9),a132_0x130fdd[a132_0x13db15(0x1f1)]='sdk:testFrameworkEvent',a132_0x130fdd[a132_0x13db15(0x237)]='sdk:testSessionEvent',a132_0x130fdd[a132_0x13db15(0x23b)]=a132_0x13db15(0x207),a132_0x130fdd[a132_0x13db15(0x223)]='sdk:cli:enqueueTestEvent',a132_0x130fdd[a132_0x13db15(0x21a)]='sdk:automationFrameworkStop',a132_0x130fdd[a132_0x13db15(0x1ee)]='sdk:onStop';const SDK_EVENTS=a132_0x130fdd,a132_0x225deb={};a132_0x225deb[a132_0x13db15(0x1d2)]=SDK_EVENTS,a132_0x225deb[a132_0x13db15(0x1d1)]={},a132_0x225deb[a132_0x13db15(0x20c)]={},a132_0x225deb[a132_0x13db15(0x222)]={},a132_0x225deb[a132_0x13db15(0x1e0)]={},a132_0x225deb[a132_0x13db15(0x1d9)]={},a132_0x225deb[a132_0x13db15(0x1d4)]={},a132_0x225deb[a132_0x13db15(0x203)]={},a132_0x225deb[a132_0x13db15(0x219)]={},a132_0x225deb[a132_0x13db15(0x21e)]={},a132_0x225deb[a132_0x13db15(0x1d1)]['START']=SDK_EVENTS[a132_0x13db15(0x242)]+a132_0x13db15(0x1c4),a132_0x225deb[a132_0x13db15(0x1d1)][a132_0x13db15(0x1cf)]=SDK_EVENTS[a132_0x13db15(0x242)]+a132_0x13db15(0x205),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x20e)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x13db15(0x244),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x229)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x231),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x20a)]=SDK_EVENTS['SDK_AUTOMATE']+':local-start',a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1fc)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+':local-stop',a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x22b)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x13db15(0x1d7),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1cc)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x211),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1f4)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x1f6),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1e8)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x246),a132_0x225deb[a132_0x13db15(0x20c)]['IDLE_TIMEOUT']=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x1c9),a132_0x225deb[a132_0x13db15(0x20c)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x1eb),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1d8)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x238),a132_0x225deb[a132_0x13db15(0x222)]['PERFORM_SCAN']=SDK_EVENTS[a132_0x13db15(0x1ea)]+a132_0x13db15(0x217),a132_0x225deb[a132_0x13db15(0x222)][a132_0x13db15(0x208)]=SDK_EVENTS[a132_0x13db15(0x1ea)]+a132_0x13db15(0x216),a132_0x225deb[a132_0x13db15(0x222)][a132_0x13db15(0x1d0)]=SDK_EVENTS['SDK_A11Y']+a132_0x13db15(0x1c5),a132_0x225deb[a132_0x13db15(0x222)][a132_0x13db15(0x1f7)]=SDK_EVENTS[a132_0x13db15(0x1ea)]+a132_0x13db15(0x221),a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x1e1)]=SDK_EVENTS[a132_0x13db15(0x218)]+':download',a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x22e)]=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x1e4),a132_0x225deb[a132_0x13db15(0x1e0)]['START']=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x1c4),a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x1cf)]=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x205),a132_0x225deb[a132_0x13db15(0x1e0)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a132_0x13db15(0x1ce),a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x213)]=SDK_EVENTS[a132_0x13db15(0x218)]+':snapshot',a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x212)]=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x1d5),a132_0x225deb[a132_0x13db15(0x1d9)]['SYNC']=SDK_EVENTS[a132_0x13db15(0x1e7)]+a132_0x13db15(0x209),a132_0x225deb[a132_0x13db15(0x1d9)][a132_0x13db15(0x1ec)]=SDK_EVENTS[a132_0x13db15(0x1e7)]+a132_0x13db15(0x1dc),a132_0x225deb[a132_0x13db15(0x1d9)][a132_0x13db15(0x1d8)]=SDK_EVENTS[a132_0x13db15(0x1e7)]+a132_0x13db15(0x238),a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x234)]=SDK_EVENTS[a132_0x13db15(0x23e)]+a132_0x13db15(0x233),a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x1db)]=SDK_EVENTS[a132_0x13db15(0x23e)]+':after-each',a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x1c6)]=SDK_EVENTS[a132_0x13db15(0x23e)]+':after-all',a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x1c8)]=SDK_EVENTS[a132_0x13db15(0x23e)]+a132_0x13db15(0x23f),a132_0x225deb[a132_0x13db15(0x1d4)]['BEFORE']=SDK_EVENTS[a132_0x13db15(0x23e)]+a132_0x13db15(0x1da),a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x230)]=SDK_EVENTS[a132_0x13db15(0x23e)]+':after',a132_0x225deb[a132_0x13db15(0x203)][a132_0x13db15(0x229)]=SDK_EVENTS['SDK_TURBOSCALE']+a132_0x13db15(0x231),a132_0x225deb[a132_0x13db15(0x203)][a132_0x13db15(0x1d8)]=SDK_EVENTS[a132_0x13db15(0x21b)]+a132_0x13db15(0x238),a132_0x225deb[a132_0x13db15(0x219)][a132_0x13db15(0x236)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a132_0x13db15(0x1de),a132_0x225deb[a132_0x13db15(0x21e)]['QUIT']=SDK_EVENTS[a132_0x13db15(0x20f)]+':quit',a132_0x225deb[a132_0x13db15(0x21e)][a132_0x13db15(0x21f)]=SDK_EVENTS[a132_0x13db15(0x20f)]+':get',a132_0x225deb[a132_0x13db15(0x21e)]['PRE_EXECUTE']=SDK_EVENTS['SDK_DRIVER']+':pre-execute',a132_0x225deb[a132_0x13db15(0x21e)][a132_0x13db15(0x1e5)]=SDK_EVENTS[a132_0x13db15(0x20f)]+a132_0x13db15(0x206),module['exports']=a132_0x225deb;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a132_0x3be8(_0x2084be,_0x53805e){const _0x4bf81e=a132_0x4bf8();return a132_0x3be8=function(_0x3be83a,_0x4ff544){_0x3be83a=_0x3be83a-0x120;let _0x1b8259=_0x4bf81e[_0x3be83a];return _0x1b8259;},a132_0x3be8(_0x2084be,_0x53805e);}function a132_0x4bf8(){const _0x27202f=['__platformCaps','OTGSp','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','entryTypes','</td></tr>','errorReportDirName','readFile','push','errors','resolve','JZjeY','../logger','start','splice','evdsK','914316afiEDn','dKGCH','finalizeErrors','false','length','all','kNpAi','fs/promises','WBYCw','disconnect','CQLUH','calculateTimesFromMultipleFiles','browserStackCwd','calculateTimeFromEvents','189LrKqzw','reduce','gXpLX','pushErrors','error-report','flat','327126izxkTW','existsSync','measure','observe','MbUXz','access','NHkfd','12QghXcX','XTvfR','44uOdqJr','85DoHZjf','<tr><td>','Error\x20in\x20doing\x20csv\x20operations:\x20','match','GDbkN','../processHelper','Yjnft','HYsqi','utf-8','readdirSync','eventsMap','slice','orMxO','isArray','getEntries','started','env','kihGJ','bDXit','catch','</td><td>','Time\x20for\x20','sDYQj','failure','modified-key-metrics.json','entries','eNElj','/error-report-','qBgru','tCVRY','hhImd','Error\x20in\x20writing\x20html\x20','duration','uNmFh','generateJSON','writeFile','entryType','-start','_events','fVbgw','assign','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','cwd','finalizePerfMeasures','dirname','74804TdWCie','parse','appendFileSync','_measureEvents','_errorEvents','debug','mkdirSync','lKLlh','then','<h1>Performance\x20Report</h1>','jsonReportFileName','startMonitoring','AwXNK','apply','mark','.json','success','kpWBv','isEnabled','443226wOOdvW','jsonReportDirPath','details','taVET','pushPerfMeasures','stopAndGenerate','2922760ZiWVix','xueKk','getPerformance','xwFSL','-end','1312549bLXZBe','key-metrics.json','Xsqae','Performance\x20report\x20is\x20at\x20','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','Veqck','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','XZdBh','LMVoa','TFDIx','measures','Error\x20while\x20removing\x20files:\x20','meta','MDTUl','mSKoa','CECPl','jsonReportDirName','finalize','exports','platform','CbXYg','SzeTB','getCleanedPerfEvents','buffered','94170kBPpAI','stringify','map','readFileSync','index','toString','concat','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','unlink','name','winstonLogger','testName','format','EMsgI','writeFileSync','GJrBj','</tbody></table></body></html>','join','generateHTMLReport','TEjxL','EPHkY','hEbcZ','vVoZe','_observer','message','WDgUc','info','getEventsFromJSON','unlinkSync','end','1HxwNgp','constants','function','code','bNdvX','errorReportFileName','stack','toJSON','wpAXk','fgjGH','measureWrapper'];a132_0x4bf8=function(){return _0x27202f;};return a132_0x4bf8();}const a132_0x2fc40c=a132_0x3be8;(function(_0x3797a3,_0x490f11){const _0xf58c29=a132_0x3be8,_0x1f2fa9=_0x3797a3();while(!![]){try{const _0x51b120=-parseInt(_0xf58c29(0x13b))/0x1*(-parseInt(_0xf58c29(0x169))/0x2)+-parseInt(_0xf58c29(0x1b3))/0x3+-parseInt(_0xf58c29(0x1a0))/0x4*(parseInt(_0xf58c29(0x173))/0x5)+-parseInt(_0xf58c29(0x170))/0x6*(-parseInt(_0xf58c29(0x1be))/0x7)+-parseInt(_0xf58c29(0x1b9))/0x8+parseInt(_0xf58c29(0x163))/0x9*(parseInt(_0xf58c29(0x1d6))/0xa)+parseInt(_0xf58c29(0x172))/0xb*(parseInt(_0xf58c29(0x155))/0xc);if(_0x51b120===_0x490f11)break;else _0x1f2fa9['push'](_0x1f2fa9['shift']());}catch(_0x4587c6){_0x1f2fa9['push'](_0x1f2fa9['shift']());}}}(a132_0x4bf8,0x334b6));const fs=require('fs'),fsPromise=require(a132_0x2fc40c(0x15c)),{performance,PerformanceObserver}=require('perf_hooks'),path=require('path'),util=require('util'),logger=require('../logger')[a132_0x2fc40c(0x127)],{getLogDir}=require(a132_0x2fc40c(0x151)),{getProcessId,sleep,debug,getTestName}=require(a132_0x2fc40c(0x178));class PerformanceTester{static [a132_0x2fc40c(0x134)];static [a132_0x2fc40c(0x199)]=[];static [a132_0x2fc40c(0x1a3)]=[];static ['_errorEvents']=[];static [a132_0x2fc40c(0x182)]=![];static ['jsonReportDirName']='performance-report';static ['errorReportDirName']=process[a132_0x2fc40c(0x183)][a132_0x2fc40c(0x161)]?path['join'](process[a132_0x2fc40c(0x183)]['browserStackCwd'],a132_0x2fc40c(0x167)):path[a132_0x2fc40c(0x12e)](process[a132_0x2fc40c(0x19d)](),'error-report');static [a132_0x2fc40c(0x140)]=this[a132_0x2fc40c(0x14b)]+a132_0x2fc40c(0x18e)+getProcessId()+a132_0x2fc40c(0x1af);static [a132_0x2fc40c(0x1b5)]={};static [a132_0x2fc40c(0x17d)]={};static[a132_0x2fc40c(0x1ab)](_0x401043,_0x2c11a3=this[a132_0x2fc40c(0x14b)]+'/error-report-'+getProcessId()+'.json'){const _0x1dd260=a132_0x2fc40c,_0x3b111b={'LMVoa':function(_0x284e14,_0x4a8d50){return _0x284e14===_0x4a8d50;},'OkLJV':_0x1dd260(0x16b),'kNpAi':function(_0x2d28ab){return _0x2d28ab();},'vAPIk':function(_0x413efa){return _0x413efa();},'taVET':function(_0x120f22,_0x4ad835){return _0x120f22+_0x4ad835;},'xwFSL':_0x1dd260(0x19c),'orMxO':_0x1dd260(0x13d)};try{this[_0x1dd260(0x1b4)]=path[_0x1dd260(0x12e)](_0x3b111b[_0x1dd260(0x15b)](getLogDir),this['jsonReportDirName']),!_0x401043&&(_0x401043=this[_0x1dd260(0x1b4)]+'/performance-report-'+_0x3b111b['vAPIk'](getProcessId)+'.json'),!fs[_0x1dd260(0x16a)](this[_0x1dd260(0x1b4)])&&fs[_0x1dd260(0x1a6)](this[_0x1dd260(0x1b4)]);}catch(_0x4dec8d){logger[_0x1dd260(0x1a5)](_0x3b111b[_0x1dd260(0x1b6)](_0x3b111b[_0x1dd260(0x1bc)],_0x4dec8d));}if(this[_0x1dd260(0x182)]||!this[_0x1dd260(0x1b2)]())return;this[_0x1dd260(0x134)]=new PerformanceObserver(_0x295fc8=>{const _0x31fd12=_0x1dd260,_0x153cf1={'hEbcZ':function(_0x1d9fd5,_0x40eb48){const _0x5d267f=a132_0x3be8;return _0x3b111b[_0x5d267f(0x1c6)](_0x1d9fd5,_0x40eb48);},'kihGJ':_0x3b111b['OkLJV']};_0x295fc8[_0x31fd12(0x181)]()['forEach'](_0xb8d32b=>{const _0x36c00f=_0x31fd12;if(_0x153cf1[_0x36c00f(0x132)](_0xb8d32b[_0x36c00f(0x197)],_0x153cf1[_0x36c00f(0x184)])){let _0xb3c881={};if(_0xb8d32b['toJSON'])_0xb3c881=_0xb8d32b[_0x36c00f(0x142)]();else for(const _0x3dd04f in _0xb8d32b){_0xb3c881[_0x3dd04f]=_0xb8d32b[_0x3dd04f];}this['details'][_0xb8d32b[_0x36c00f(0x126)]]&&(_0xb3c881=Object[_0x36c00f(0x19b)](_0xb3c881,this[_0x36c00f(0x1b5)][_0xb8d32b['name']])),delete this[_0x36c00f(0x1b5)][_0xb8d32b['name']],this['_measureEvents'][_0x36c00f(0x14d)](_0xb3c881);}else this['_events']['push'](_0xb8d32b);});});const _0x4ebfbf={};_0x4ebfbf[_0x1dd260(0x1d5)]=!![],_0x4ebfbf[_0x1dd260(0x149)]=[_0x3b111b[_0x1dd260(0x17f)],_0x3b111b['OkLJV']],this[_0x1dd260(0x134)][_0x1dd260(0x16c)](_0x4ebfbf),this[_0x1dd260(0x182)]=!![],this[_0x1dd260(0x1aa)]=_0x401043,this[_0x1dd260(0x140)]=_0x2c11a3;}static[a132_0x2fc40c(0x1bb)](){return performance;}static[a132_0x2fc40c(0x162)](_0x49d838,_0x56188f){const _0x275693=a132_0x2fc40c,_0x5bebc5={};_0x5bebc5['TFDIx']=function(_0x5e2db1,_0x59d89c){return _0x5e2db1+_0x59d89c;},_0x5bebc5['ZMVTu']=function(_0x53eaf0,_0x5076e6){return _0x53eaf0||_0x5076e6;},_0x5bebc5[_0x275693(0x154)]=function(_0xc44c1e,_0x569071){return _0xc44c1e===_0x569071;};const _0x2fa017=_0x5bebc5,_0x4e97aa={};if(!_0x49d838||_0x2fa017[_0x275693(0x154)](_0x49d838['length'],0x0))return;_0x49d838[_0x275693(0x1d8)](_0x12265d=>{const _0x2845f8=_0x275693;!_0x4e97aa[_0x12265d[_0x2845f8(0x126)]]&&(_0x4e97aa[_0x12265d[_0x2845f8(0x126)]]=0x0),_0x4e97aa[_0x12265d[_0x2845f8(0x126)]]+=_0x12265d[_0x2845f8(0x193)];});const _0x1d49af=_0x56188f['reduce']((_0x495513,_0x846625)=>{const _0xb3934=_0x275693;return _0x2fa017[_0xb3934(0x1c7)](_0x4e97aa[_0x846625],_0x2fa017['ZMVTu'](_0x495513,0x0));},0x0);return _0x1d49af;}static async[a132_0x2fc40c(0x160)](_0xc7f0c7,_0x55fc9e){const _0xa1f137=a132_0x2fc40c,_0xe7766f={'SzeTB':function(_0x49cd65,_0x15870f){return _0x49cd65+_0x15870f;},'gXpLX':function(_0xb3033e,_0x260f56){return _0xb3033e||_0x260f56;},'vVoZe':function(_0xb0afa,_0xf0d46c){return _0xb0afa===_0xf0d46c;},'lKLlh':function(_0x5a5bac,_0x1d6d2f){return _0x5a5bac(_0x1d6d2f);},'TEjxL':function(_0x2d605a,_0x5a84b6){return _0x2d605a(_0x5a84b6);}};if(!_0xc7f0c7||_0xe7766f[_0xa1f137(0x133)](_0xc7f0c7[_0xa1f137(0x159)],0x0))return 0x0;const _0x3df627=[];for(const _0x222578 of _0xc7f0c7){const _0x32898e=path[_0xa1f137(0x12e)]('.',_0x222578);try{const _0x263dc0=this[_0xa1f137(0x138)](_0x32898e);_0x263dc0[_0xa1f137(0x1d8)](_0x324ad2=>{const _0x216a09=_0xa1f137;!_0x3df627[_0x324ad2['name']]&&(_0x3df627[_0x324ad2[_0x216a09(0x126)]]=0x0),_0x3df627[_0x324ad2[_0x216a09(0x126)]]+=_0x324ad2[_0x216a09(0x193)];});}catch(_0x1a7e77){_0xe7766f[_0xa1f137(0x1a7)](debug,_0xa1f137(0x175)+_0x1a7e77[_0xa1f137(0x122)]());}}const _0x52c02b=_0x55fc9e[_0xa1f137(0x164)]((_0x243cad,_0x58600b)=>{const _0x18c5ef=_0xa1f137;return _0xe7766f[_0x18c5ef(0x1d3)](_0x3df627[_0x58600b],_0xe7766f[_0x18c5ef(0x165)](_0x243cad,0x0));},0x0);return _0xe7766f[_0xa1f137(0x130)](debug,_0xa1f137(0x188)+_0x55fc9e+'\x20for\x20all\x20processes\x20is\x20'+_0x52c02b),_0x52c02b;}static[a132_0x2fc40c(0x138)](_0xfdb6fa){const _0x594dc8=a132_0x2fc40c;if(_0xfdb6fa){if(!fs['existsSync'](_0xfdb6fa))return[];return JSON[_0x594dc8(0x1a1)](fs[_0x594dc8(0x120)](_0xfdb6fa)[_0x594dc8(0x122)]());}}static async[a132_0x2fc40c(0x1b8)](_0x888950='performance-own.html',_0x417671=null){const _0x1d2fc4=a132_0x2fc40c,_0x3cbc6a={'MbUXz':function(_0x3d5f97,_0x395e69){return _0x3d5f97(_0x395e69);},'fVbgw':function(_0x4ea3d2,_0x4818dd){return _0x4ea3d2(_0x4818dd);}};if(!this[_0x1d2fc4(0x182)])return;await _0x3cbc6a[_0x1d2fc4(0x19a)](sleep,0x1e),this[_0x1d2fc4(0x134)][_0x1d2fc4(0x15e)](),this[_0x1d2fc4(0x182)]=![],this[_0x1d2fc4(0x195)](this[_0x1d2fc4(0x199)]);const _0x3ceadd=this[_0x1d2fc4(0x12f)](this[_0x1d2fc4(0x199)]),_0x4e5042=path['join'](process[_0x1d2fc4(0x19d)](),_0x888950);fs[_0x1d2fc4(0x196)](_0x4e5042,_0x3ceadd,_0x5ec309=>{const _0x4f633e=_0x1d2fc4;if(_0x5ec309){_0x3cbc6a[_0x4f633e(0x16d)](debug,_0x4f633e(0x192)+_0x5ec309[_0x4f633e(0x122)]());return;}_0x3cbc6a[_0x4f633e(0x19a)](debug,_0x4f633e(0x1c1)+_0x4e5042);});if(_0x417671)return this[_0x1d2fc4(0x162)](this['_events'],_0x417671);}static[a132_0x2fc40c(0x12f)](_0xecc701){const _0x13d8f6=a132_0x2fc40c,_0x1daa5a={};_0x1daa5a[_0x13d8f6(0x143)]=_0x13d8f6(0x1c2),_0x1daa5a['MDTUl']=_0x13d8f6(0x1a9),_0x1daa5a['XTvfR']=_0x13d8f6(0x148),_0x1daa5a[_0x13d8f6(0x1d2)]=_0x13d8f6(0x12d);const _0x614850=_0x1daa5a;let _0x2df4ee=_0x614850[_0x13d8f6(0x143)];return _0x2df4ee+=_0x614850[_0x13d8f6(0x1cb)],_0x2df4ee+=_0x614850[_0x13d8f6(0x171)],_0xecc701['forEach'](_0x1fc371=>{const _0x50ada5=_0x13d8f6;_0x2df4ee+=_0x50ada5(0x174)+_0x1fc371['name']+_0x50ada5(0x187)+_0x1fc371['duration']+_0x50ada5(0x14a);}),_0x2df4ee+=_0x614850['CbXYg'],_0x2df4ee;}static[a132_0x2fc40c(0x195)](_0x3d9de6){const _0x532a72=a132_0x2fc40c;if(!this[_0x532a72(0x1aa)])return;const _0x5cc512={};_0x3d9de6['map'](_0x41a081=>{const _0x4f464e=_0x532a72;!_0x5cc512[_0x41a081[_0x4f464e(0x126)]]&&(_0x5cc512[_0x41a081[_0x4f464e(0x126)]]=0x0),_0x5cc512[_0x41a081[_0x4f464e(0x126)]]+=_0x41a081[_0x4f464e(0x193)];});const _0x4de33b=Object[_0x532a72(0x18c)](_0x5cc512)[_0x532a72(0x1d8)](([_0x3d37ec,_0x1619e2])=>{const _0x114cde={};return _0x114cde['name']=_0x3d37ec,_0x114cde['duration']=_0x1619e2,_0x114cde;});fs[_0x532a72(0x12b)](this[_0x532a72(0x1aa)],JSON['stringify'](_0x4de33b));}static[a132_0x2fc40c(0x1b2)](){const _0x440554=a132_0x2fc40c,_0x3cfb66={};_0x3cfb66[_0x440554(0x147)]=function(_0x5f4a56,_0x1bb269){return _0x5f4a56===_0x1bb269;},_0x3cfb66[_0x440554(0x1ac)]=_0x440554(0x158);const _0x46bf88=_0x3cfb66;return!_0x46bf88[_0x440554(0x147)](process['env']['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x46bf88['AwXNK']);}static[a132_0x2fc40c(0x16b)](_0x5815b8,_0x514b4d,_0xe139f2=null,_0x4f1562={},_0x105e11=null){const _0x1bd774=a132_0x2fc40c,_0x125377={'dKGCH':function(_0x4f63f2,_0x2f4613){return _0x4f63f2(_0x2f4613);},'GDbkN':function(_0x5bbae4,_0x173570){return _0x5bbae4 instanceof _0x173570;}};try{if(this[_0x1bd774(0x182)]&&this[_0x1bd774(0x1b2)]()){let _0x860f13=_0x5815b8;_0xe139f2&&(_0x860f13=_0x5815b8+'['+JSON['stringify'](_0xe139f2)+']');PerformanceTester['start'](_0x860f13),this[_0x1bd774(0x1b5)]&&(this[_0x1bd774(0x1b5)][_0x860f13]=_0x4f1562);try{const _0x56874a=_0x514b4d[_0x1bd774(0x1ad)](null,_0x105e11);if(_0x125377[_0x1bd774(0x177)](_0x56874a,Promise))return new Promise((_0x4bf459,_0x5ca30b)=>{const _0x2bfea7=_0x1bd774,_0x334449={'eNElj':function(_0x3f4c43,_0x4c10f4){return _0x125377['dKGCH'](_0x3f4c43,_0x4c10f4);}};_0x56874a[_0x2bfea7(0x1a8)](_0x3301ea=>{const _0xb644f=_0x2bfea7;PerformanceTester['end'](_0x860f13),_0x125377[_0xb644f(0x156)](_0x4bf459,_0x3301ea);})[_0x2bfea7(0x186)](_0x96e01a=>{const _0x4bb5b6=_0x2bfea7;PerformanceTester[_0x4bb5b6(0x13a)](_0x860f13,![],util[_0x4bb5b6(0x129)](_0x96e01a)),_0x334449[_0x4bb5b6(0x18d)](_0x5ca30b,_0x96e01a);});});;return PerformanceTester[_0x1bd774(0x13a)](_0x860f13),_0x56874a;}catch(_0x12b966){PerformanceTester[_0x1bd774(0x13a)](_0x860f13,![],util[_0x1bd774(0x129)](_0x12b966));throw _0x12b966;}};return _0x514b4d[_0x1bd774(0x1ad)](null,_0x105e11);}catch(_0x106842){return logger[_0x1bd774(0x1a5)]('error\x20in\x20measure\x20'+(_0x106842[_0x1bd774(0x141)]||_0x106842[_0x1bd774(0x135)]||_0x106842)),_0x514b4d[_0x1bd774(0x1ad)](null,_0x105e11);}}static[a132_0x2fc40c(0x145)](_0x116243,_0x1d8f2d,_0x4e9a2c={}){const _0x53d6b9=a132_0x2fc40c,_0xaab54d={'WDgUc':function(_0x36d2be){return _0x36d2be();},'uNmFh':function(_0x4307c2){return _0x4307c2();}},_0x1f3526=this;return _0x4e9a2c['worker']=_0xaab54d[_0x53d6b9(0x136)](getProcessId),_0x4e9a2c[_0x53d6b9(0x128)]=_0xaab54d[_0x53d6b9(0x194)](getTestName),_0x4e9a2c[_0x53d6b9(0x1d1)]=global[_0x53d6b9(0x146)]&&global['__platformCaps'][_0x53d6b9(0x121)],function(){const _0x16dc87=_0x53d6b9,_0x323bbd=[_0x116243,_0x1d8f2d,null,_0x4e9a2c][_0x16dc87(0x123)](arguments);return _0x1f3526['measure'][_0x16dc87(0x1ad)](_0x1f3526,_0x323bbd);};}static['getCleanedPerfEvents'](){const _0x274e85=a132_0x2fc40c,_0xe14d56=/(^.*)\[(.*)\]$/,_0x417154={},_0x25b4ae={},_0x4cab39=[],_0x1bfb1a=this[_0x274e85(0x1a3)][_0x274e85(0x153)](0x0,this[_0x274e85(0x1a3)][_0x274e85(0x159)]);for(const _0x294343 of _0x1bfb1a){const _0x57d19f=_0x294343[_0x274e85(0x126)][_0x274e85(0x176)](_0xe14d56),_0x344f29=Object[_0x274e85(0x19b)]({},_0x294343);_0x57d19f&&(_0x344f29['name']=_0x57d19f[0x1],_0x344f29[_0x274e85(0x1ca)]=JSON[_0x274e85(0x1a1)](_0x57d19f[0x2])),_0x4cab39[_0x274e85(0x14d)](_0x344f29);}return _0x4cab39;}static[a132_0x2fc40c(0x1b7)](){const _0x4b519a=a132_0x2fc40c,_0x269543={'tCVRY':function(_0x5a5e40){return _0x5a5e40();},'qBgru':function(_0x5e35b4,_0x5962e2){return _0x5e35b4+_0x5962e2;},'XZdBh':_0x4b519a(0x1c9),'CECPl':function(_0x189861,_0x19390e){return _0x189861===_0x19390e;}};try{this[_0x4b519a(0x1b4)]=path[_0x4b519a(0x12e)](_0x269543[_0x4b519a(0x190)](getLogDir),this[_0x4b519a(0x1ce)]);if(fs['existsSync'](this[_0x4b519a(0x1b4)])){const _0x381e6f=fs[_0x4b519a(0x17c)](this[_0x4b519a(0x1b4)]);for(const _0x44dcfe of _0x381e6f){fs[_0x4b519a(0x139)](path[_0x4b519a(0x12e)](this[_0x4b519a(0x1b4)],_0x44dcfe));}}}catch(_0xf34a80){logger['debug'](_0x269543['qBgru'](_0x269543[_0x4b519a(0x1c5)],_0xf34a80));}if(_0x269543[_0x4b519a(0x1cd)](this[_0x4b519a(0x1a3)][_0x4b519a(0x159)],0x0))return;const _0x286ce6=this[_0x4b519a(0x1d4)](),_0x5bd08b=JSON[_0x4b519a(0x1d7)](_0x286ce6),_0xb9b70f=_0x269543[_0x4b519a(0x18f)](_0x5bd08b[_0x4b519a(0x17e)](0x1,-0x1),',');fs[_0x4b519a(0x1a2)](this[_0x4b519a(0x1aa)],_0xb9b70f);}static async[a132_0x2fc40c(0x19e)](){const _0x172258=a132_0x2fc40c,_0x36f4ca={'LZmEH':function(_0x1a40ae){return _0x1a40ae();},'bNdvX':function(_0x3b73c3,_0x5195c7){return _0x3b73c3===_0x5195c7;},'UlPlL':_0x172258(0x1bf),'bDXit':_0x172258(0x17b),'HYsqi':_0x172258(0x18b),'MZGwL':function(_0x45d5d4,_0xabae2d){return _0x45d5d4+_0xabae2d;},'EMsgI':function(_0x529df0,_0x4b6f95){return _0x529df0+_0x4b6f95;},'Xsqae':'Error\x20processing\x20key-metrics.json:\x20%s','sDYQj':_0x172258(0x124),'Veqck':_0x172258(0x1c4),'EPHkY':function(_0x22d3e3,_0x2c7294){return _0x22d3e3>_0x2c7294;}};this[_0x172258(0x1b4)]=path[_0x172258(0x12e)](_0x36f4ca['LZmEH'](getLogDir),this[_0x172258(0x1ce)]);if(!this[_0x172258(0x182)]||_0x36f4ca[_0x172258(0x13f)](this[_0x172258(0x1a3)][_0x172258(0x159)],0x0))return[];if(!fs[_0x172258(0x16a)](this[_0x172258(0x1b4)]))return this[_0x172258(0x1a3)];const _0x17e0de=(await fsPromise['readdir'](this[_0x172258(0x1b4)]))[_0x172258(0x1d8)](_0x2cf942=>path[_0x172258(0x14f)](this[_0x172258(0x1b4)],_0x2cf942));try{const _0x14e3c9=path[_0x172258(0x19f)](this[_0x172258(0x1b4)]),_0x21df37=path[_0x172258(0x12e)](_0x14e3c9,_0x36f4ca['UlPlL']);if(fs['existsSync'](_0x21df37))try{await fsPromise[_0x172258(0x16e)](_0x21df37,fs[_0x172258(0x13c)]['F_OK']);const _0x13afe6=await fsPromise['readFile'](_0x21df37,_0x36f4ca[_0x172258(0x185)]),_0x285b84=JSON[_0x172258(0x1a1)](_0x13afe6),_0x530917=path[_0x172258(0x12e)](this[_0x172258(0x1b4)],_0x36f4ca[_0x172258(0x17a)]);let _0x37e482='';Array[_0x172258(0x180)](_0x285b84)?_0x37e482=_0x36f4ca['MZGwL'](_0x285b84[_0x172258(0x1d8)](_0x2dd4f1=>JSON[_0x172258(0x1d7)](_0x2dd4f1))[_0x172258(0x12e)](','),','):_0x37e482=_0x36f4ca[_0x172258(0x12a)](JSON[_0x172258(0x1d7)](_0x285b84),','),await fsPromise[_0x172258(0x196)](_0x530917,_0x37e482),_0x17e0de['push'](_0x530917),await fsPromise[_0x172258(0x125)](_0x21df37);}catch(_0x11872e){logger[_0x172258(0x137)](util[_0x172258(0x129)](_0x36f4ca[_0x172258(0x1c0)],_0x11872e[_0x172258(0x141)]||_0x11872e['message']||_0x11872e));}else logger[_0x172258(0x137)](_0x36f4ca[_0x172258(0x189)]);}catch(_0x5edc79){logger[_0x172258(0x137)](util[_0x172258(0x129)](_0x36f4ca[_0x172258(0x1c3)],_0x5edc79[_0x172258(0x141)]||_0x5edc79[_0x172258(0x135)]||_0x5edc79));}let _0x20809b=(await Promise[_0x172258(0x15a)](_0x17e0de[_0x172258(0x1d8)](_0x103c3b=>fsPromise[_0x172258(0x14c)](_0x103c3b,_0x172258(0x17b)))))[_0x172258(0x1d8)](_0xf7a657=>'['+_0xf7a657[_0x172258(0x17e)](0x0,-0x1)+']')['map'](_0x59df8=>JSON[_0x172258(0x1a1)](_0x59df8))[_0x172258(0x168)]();return _0x36f4ca[_0x172258(0x131)](this[_0x172258(0x1a3)][_0x172258(0x159)],0x0)&&(_0x20809b=_0x20809b[_0x172258(0x123)](this[_0x172258(0x1d4)]())),this[_0x172258(0x134)]['disconnect'](),_0x20809b;}static[a132_0x2fc40c(0x166)](){const _0x1a5573=a132_0x2fc40c,_0x195c50={};_0x195c50[_0x1a5573(0x16f)]=function(_0x1fd684,_0x3d7694){return _0x1fd684===_0x3d7694;},_0x195c50[_0x1a5573(0x191)]=function(_0x120a0d,_0x5a4add){return _0x120a0d+_0x5a4add;};const _0xda1d75=_0x195c50;if(_0xda1d75[_0x1a5573(0x16f)](this[_0x1a5573(0x1a4)]['length'],0x0))return;const _0x163cba=JSON[_0x1a5573(0x1d7)](this['_errorEvents']),_0x12b0b9=_0xda1d75[_0x1a5573(0x191)](_0x163cba[_0x1a5573(0x17e)](0x1,-0x1),',');fs['appendFileSync'](this['errorFile'],_0x12b0b9);}static[a132_0x2fc40c(0x157)](){const _0x557d4d=a132_0x2fc40c,_0x3ef3da={};_0x3ef3da['mSKoa']=function(_0x3e3c4c,_0x4be121){return _0x3e3c4c>_0x4be121;};const _0x4dc17c=_0x3ef3da;if(this[_0x557d4d(0x140)]){if(!fs[_0x557d4d(0x16a)](this[_0x557d4d(0x140)]))return this[_0x557d4d(0x1a4)];let _0x114007=fs[_0x557d4d(0x120)](this[_0x557d4d(0x140)])['toString']();_0x114007='['+_0x114007[_0x557d4d(0x17e)](0x0,-0x1)+']';let _0x122f89=JSON[_0x557d4d(0x1a1)](_0x114007);return _0x4dc17c[_0x557d4d(0x1cc)](this[_0x557d4d(0x1a4)][_0x557d4d(0x159)],0x0)&&(_0x122f89=_0x122f89['concat'](this['_errorEvents'])),fs['unlinkSync'](this[_0x557d4d(0x140)]),_0x122f89;}}static['captureError'](_0x29e243){const _0xe3ecd0=a132_0x2fc40c;if(!this[_0xe3ecd0(0x1b2)]())return;this[_0xe3ecd0(0x1a4)]['push']({'message':_0x29e243['message'],'trace':_0x29e243['stack'],'code':_0x29e243[_0xe3ecd0(0x13e)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x7d64f2=a132_0x2fc40c;try{if(!this[_0x7d64f2(0x1b2)]())return;this[_0x7d64f2(0x134)]['disconnect'](),this[_0x7d64f2(0x1b7)](),this[_0x7d64f2(0x166)]();}catch(_0x3a0ca9){logger['debug']('Error\x20stopping\x20monitoring\x20'+util[_0x7d64f2(0x129)](_0x3a0ca9));}}static async[a132_0x2fc40c(0x1cf)](){const _0x541506=a132_0x2fc40c,_0x4c2032={'JZjeY':function(_0x48aa49,_0x229d8e){return _0x48aa49(_0x229d8e);}};await _0x4c2032[_0x541506(0x150)](sleep,0x1e);const _0x5f20ae=await this[_0x541506(0x19e)](),_0x5bc266=this[_0x541506(0x157)]();if(!this[_0x541506(0x1b2)]()){const _0x7d6145={};return _0x7d6145['measures']=[],_0x7d6145['errors']=[],_0x7d6145;}const _0x3df89c={};return _0x3df89c[_0x541506(0x1c8)]=_0x5f20ae,_0x3df89c[_0x541506(0x14e)]=_0x5bc266,_0x3df89c;}static[a132_0x2fc40c(0x152)](_0x1a923c){const _0x3a9d2b=a132_0x2fc40c,_0x5826f9={};_0x5826f9[_0x3a9d2b(0x179)]=function(_0x514930,_0x5368ce){return _0x514930+_0x5368ce;},_0x5826f9['WBYCw']=_0x3a9d2b(0x198);const _0x398b76=_0x5826f9,_0x367123=_0x398b76[_0x3a9d2b(0x179)](_0x1a923c,_0x398b76[_0x3a9d2b(0x15d)]);if(this[_0x3a9d2b(0x17d)][_0x367123])return;performance[_0x3a9d2b(0x1ae)](_0x367123),this['eventsMap'][_0x367123]=0x1;}static[a132_0x2fc40c(0x13a)](_0x43f231,_0x42b5d8=!![],_0x99b285=null,_0x441938={}){const _0xac11a=a132_0x2fc40c,_0x58e396={'fgjGH':function(_0x15c710,_0x18bb8e){return _0x15c710+_0x18bb8e;},'GJrBj':_0xac11a(0x1bd),'xueKk':'-start','CQLUH':function(_0x230d41,_0xe384b7){return _0x230d41+_0xe384b7;},'kpWBv':function(_0x3c620a){return _0x3c620a();},'KQPMd':function(_0x315366){return _0x315366();}};performance['mark'](_0x58e396[_0xac11a(0x144)](_0x43f231,_0x58e396[_0xac11a(0x12c)])),performance[_0xac11a(0x16b)](_0x43f231,_0x58e396['fgjGH'](_0x43f231,_0x58e396[_0xac11a(0x1ba)]),_0x58e396[_0xac11a(0x144)](_0x43f231,_0x58e396[_0xac11a(0x12c)])),delete this[_0xac11a(0x17d)][_0x58e396[_0xac11a(0x15f)](_0x43f231,_0x58e396[_0xac11a(0x1ba)])];const _0x4b9c15={};_0x4b9c15[_0xac11a(0x1b0)]=_0x42b5d8,_0x4b9c15[_0xac11a(0x18a)]=_0x99b285,this['details'][_0x43f231]=Object['assign'](_0x4b9c15,Object[_0xac11a(0x19b)](Object[_0xac11a(0x19b)]({'worker':_0x58e396[_0xac11a(0x1b1)](getProcessId),'platform':global[_0xac11a(0x146)]&&global[_0xac11a(0x146)][_0xac11a(0x121)],'testName':_0x58e396['KQPMd'](getTestName)},_0x441938),this['details'][_0x43f231]||{}));}}module[a132_0x2fc40c(0x1d0)]=PerformanceTester;
|
|
1
|
+
const a133_0x19726e=a133_0x4f70;function a133_0x2b12(){const _0x767d9=['unlinkSync','Bggfi','match','GKphA','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','KSZwj','readdir','measures','Time\x20for\x20','index','apply','zKIqx','Error\x20while\x20removing\x20files:\x20','bVKkS','meta','generateHTMLReport','_observer','pmlAi','started','duration','errorReportFileName','EMdEg','WuemE','qTWoP','jycUL','292JJEPtN','toString','writeFile','testName','finalize','LnjJq','</tbody></table></body></html>','info','appendFileSync','GURGm','concat','F_OK','WBmvH','pushErrors','1087191lhrpOX','fs/promises','getEntries','calculateTimesFromMultipleFiles','isArray','error-report','function','Performance\x20report\x20is\x20at\x20','UOQpR','jsonReportDirName','12710jQOrIa','errors','stringify','RyaOr','path','buffered','aLVIU','name','getCleanedPerfEvents','errorFile','finalizeErrors','worker','_events','CQHUj','ucXkI','24251pOPCcZ','BULDa','Error\x20stopping\x20monitoring\x20','then','8zYYECJ','MlkBg','stopMonitoring','pushPerfMeasures','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','NtVhC','lnYCH','\x20for\x20all\x20processes\x20is\x20','assign','browserStackCwd','-start','mkdirSync','format','yKPzF','constants','util','vtwjq','isEnabled','4189380lbhgRm','mark','readFile','start','end','oUnDK','env','oZyPz','eHIze','resolve','fkNby','ypvGp','reduce','push','SNfpO','pttYG','rXkeS','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','getEventsFromJSON','message','_errorEvents','startMonitoring','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','URVnV','CNtGq','Error\x20processing\x20key-metrics.json:\x20%s','646818PyRwnm','errorReportDirName','bvSBR','readdirSync','jsonReportFileName','disconnect','dwEOg','success','calculateTimeFromEvents','XYxIc','measureWrapper','debug','<tr><td>','length','slice','2071269YvcjUi','performance-own.html','</td></tr>','oAxFm','map','NYiRd','../logger','flat','stopAndGenerate','__platformCaps','unlink','key-metrics.json','modified-key-metrics.json','generateJSON','code','eventsMap','ovqOA','exports','vCqHj','_measureEvents','vZbGg','parse','entries','sgtwj','details','writeFileSync','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','/error-report-','<h1>Performance\x20Report</h1>','Error\x20in\x20writing\x20html\x20','2tpwaOh','catch','jsonReportDirPath','stack','join','ghhcu','1394970bIzmLz','forEach','PNYuw','failure','toJSON','false','.json','splice','existsSync','</td><td>','entryTypes','measure','DozkX','fEVGy'];a133_0x2b12=function(){return _0x767d9;};return a133_0x2b12();}(function(_0x4be98c,_0x2ebbe9){const _0x2c21f6=a133_0x4f70,_0x3d1ac4=_0x4be98c();while(!![]){try{const _0x108877=-parseInt(_0x2c21f6(0x260))/0x1*(parseInt(_0x2c21f6(0x20c))/0x2)+-parseInt(_0x2c21f6(0x1df))/0x3+parseInt(_0x2c21f6(0x239))/0x4*(parseInt(_0x2c21f6(0x251))/0x5)+parseInt(_0x2c21f6(0x212))/0x6+parseInt(_0x2c21f6(0x247))/0x7+parseInt(_0x2c21f6(0x264))/0x8*(parseInt(_0x2c21f6(0x1ee))/0x9)+-parseInt(_0x2c21f6(0x276))/0xa;if(_0x108877===_0x2ebbe9)break;else _0x3d1ac4['push'](_0x3d1ac4['shift']());}catch(_0x1c5a2e){_0x3d1ac4['push'](_0x3d1ac4['shift']());}}}(a133_0x2b12,0x23550));const fs=require('fs'),fsPromise=require(a133_0x19726e(0x248)),{performance,PerformanceObserver}=require('perf_hooks'),path=require(a133_0x19726e(0x255)),util=require(a133_0x19726e(0x273)),logger=require(a133_0x19726e(0x1f4))['winstonLogger'],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a133_0x19726e(0x230)];static [a133_0x19726e(0x25d)]=[];static [a133_0x19726e(0x201)]=[];static [a133_0x19726e(0x1d9)]=[];static ['started']=![];static [a133_0x19726e(0x250)]='performance-report';static ['errorReportDirName']=process[a133_0x19726e(0x27c)][a133_0x19726e(0x26d)]?path['join'](process[a133_0x19726e(0x27c)][a133_0x19726e(0x26d)],a133_0x19726e(0x24c)):path['join'](process['cwd'](),a133_0x19726e(0x24c));static [a133_0x19726e(0x234)]=this[a133_0x19726e(0x1e0)]+a133_0x19726e(0x209)+getProcessId()+'.json';static [a133_0x19726e(0x206)]={};static [a133_0x19726e(0x1fd)]={};static[a133_0x19726e(0x1da)](_0x1295ea,_0x2bc396=this[a133_0x19726e(0x1e0)]+a133_0x19726e(0x209)+getProcessId()+a133_0x19726e(0x218)){const _0x1fc1c2=a133_0x19726e,_0x21ab92={'vCqHj':function(_0xda5ee5,_0x58a182){return _0xda5ee5===_0x58a182;},'eHIze':_0x1fc1c2(0x21d),'puCkw':function(_0x1b387f){return _0x1b387f();},'XYxIc':function(_0x5d82b7){return _0x5d82b7();},'rXkeS':function(_0x55986e,_0x1ae2be){return _0x55986e+_0x1ae2be;},'Bggfi':_0x1fc1c2(0x1db),'MlkBg':_0x1fc1c2(0x24d)};try{this['jsonReportDirPath']=path['join'](_0x21ab92['puCkw'](getLogDir),this['jsonReportDirName']),!_0x1295ea&&(_0x1295ea=this[_0x1fc1c2(0x20e)]+'/performance-report-'+_0x21ab92[_0x1fc1c2(0x1e8)](getProcessId)+_0x1fc1c2(0x218)),!fs['existsSync'](this['jsonReportDirPath'])&&fs[_0x1fc1c2(0x26f)](this[_0x1fc1c2(0x20e)]);}catch(_0x548860){logger[_0x1fc1c2(0x1ea)](_0x21ab92[_0x1fc1c2(0x286)](_0x21ab92[_0x1fc1c2(0x221)],_0x548860));}if(this['started']||!this[_0x1fc1c2(0x275)]())return;this[_0x1fc1c2(0x230)]=new PerformanceObserver(_0x155f96=>{const _0x36cf7a=_0x1fc1c2;_0x155f96[_0x36cf7a(0x249)]()[_0x36cf7a(0x213)](_0x1e9a4f=>{const _0x4e7e1f=_0x36cf7a;if(_0x21ab92[_0x4e7e1f(0x200)](_0x1e9a4f['entryType'],_0x21ab92[_0x4e7e1f(0x27e)])){let _0x234f92={};if(_0x1e9a4f[_0x4e7e1f(0x216)])_0x234f92=_0x1e9a4f[_0x4e7e1f(0x216)]();else for(const _0x43cc1d in _0x1e9a4f){_0x234f92[_0x43cc1d]=_0x1e9a4f[_0x43cc1d];}this['details'][_0x1e9a4f['name']]&&(_0x234f92=Object[_0x4e7e1f(0x26c)](_0x234f92,this[_0x4e7e1f(0x206)][_0x1e9a4f[_0x4e7e1f(0x258)]])),delete this['details'][_0x1e9a4f[_0x4e7e1f(0x258)]],this[_0x4e7e1f(0x201)][_0x4e7e1f(0x283)](_0x234f92);}else this[_0x4e7e1f(0x25d)][_0x4e7e1f(0x283)](_0x1e9a4f);});});const _0x15b9dd={};_0x15b9dd[_0x1fc1c2(0x256)]=!![],_0x15b9dd[_0x1fc1c2(0x21c)]=[_0x21ab92[_0x1fc1c2(0x265)],_0x21ab92['eHIze']],this['_observer']['observe'](_0x15b9dd),this[_0x1fc1c2(0x232)]=!![],this[_0x1fc1c2(0x1e3)]=_0x1295ea,this['errorReportFileName']=_0x2bc396;}static['getPerformance'](){return performance;}static[a133_0x19726e(0x1e7)](_0x12104b,_0x3d5824){const _0xb51e6e=a133_0x19726e,_0x373a6a={};_0x373a6a['ucXkI']=function(_0x1fbf55,_0x1cb44a){return _0x1fbf55+_0x1cb44a;},_0x373a6a[_0xb51e6e(0x214)]=function(_0x2263c3,_0x38285c){return _0x2263c3||_0x38285c;},_0x373a6a[_0xb51e6e(0x237)]=function(_0x41fbbc,_0x5e85dd){return _0x41fbbc===_0x5e85dd;};const _0x2403ec=_0x373a6a,_0x12ae76={};if(!_0x12104b||_0x2403ec[_0xb51e6e(0x237)](_0x12104b[_0xb51e6e(0x1ec)],0x0))return;_0x12104b[_0xb51e6e(0x1f2)](_0x57a252=>{const _0x317dd3=_0xb51e6e;!_0x12ae76[_0x57a252['name']]&&(_0x12ae76[_0x57a252[_0x317dd3(0x258)]]=0x0),_0x12ae76[_0x57a252[_0x317dd3(0x258)]]+=_0x57a252[_0x317dd3(0x233)];});const _0xf76268=_0x3d5824['reduce']((_0x5e90f1,_0x4b2ace)=>{const _0x4f2aa1=_0xb51e6e;return _0x2403ec[_0x4f2aa1(0x25f)](_0x12ae76[_0x4b2ace],_0x2403ec[_0x4f2aa1(0x214)](_0x5e90f1,0x0));},0x0);return _0xf76268;}static async[a133_0x19726e(0x24a)](_0xb9f916,_0x1754dd){const _0x4ade22=a133_0x19726e,_0xdb7297={'oZyPz':function(_0x31b5d3,_0x2cc233){return _0x31b5d3+_0x2cc233;},'xqxNt':function(_0x1ba51b,_0xfd38d6){return _0x1ba51b||_0xfd38d6;},'WpDNg':function(_0x3355a7,_0x55f779){return _0x3355a7===_0x55f779;},'GURGm':function(_0x346959,_0x1fccc0){return _0x346959(_0x1fccc0);}};if(!_0xb9f916||_0xdb7297['WpDNg'](_0xb9f916[_0x4ade22(0x1ec)],0x0))return 0x0;const _0x5da539=[];for(const _0x5cd817 of _0xb9f916){const _0x2fb5a=path['join']('.',_0x5cd817);try{const _0x5296c0=this[_0x4ade22(0x1d7)](_0x2fb5a);_0x5296c0['map'](_0x1d9805=>{const _0x4f642b=_0x4ade22;!_0x5da539[_0x1d9805[_0x4f642b(0x258)]]&&(_0x5da539[_0x1d9805[_0x4f642b(0x258)]]=0x0),_0x5da539[_0x1d9805[_0x4f642b(0x258)]]+=_0x1d9805[_0x4f642b(0x233)];});}catch(_0x511f3f){_0xdb7297[_0x4ade22(0x242)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x511f3f[_0x4ade22(0x23a)]());}}const _0x13fe1d=_0x1754dd[_0x4ade22(0x282)]((_0xfae181,_0x474b18)=>{const _0x3f2e65=_0x4ade22;return _0xdb7297[_0x3f2e65(0x27d)](_0x5da539[_0x474b18],_0xdb7297['xqxNt'](_0xfae181,0x0));},0x0);return _0xdb7297[_0x4ade22(0x242)](debug,_0x4ade22(0x228)+_0x1754dd+_0x4ade22(0x26b)+_0x13fe1d),_0x13fe1d;}static[a133_0x19726e(0x1d7)](_0x4a7da4){const _0x130235=a133_0x19726e;if(_0x4a7da4){if(!fs[_0x130235(0x21a)](_0x4a7da4))return[];return JSON['parse'](fs['readFileSync'](_0x4a7da4)[_0x130235(0x23a)]());}}static async[a133_0x19726e(0x1f6)](_0x1e3689=a133_0x19726e(0x1ef),_0x37ddb0=null){const _0xc01f41=a133_0x19726e,_0x3185a1={'vFvLC':function(_0x2b3687,_0x420709){return _0x2b3687(_0x420709);},'vZbGg':function(_0x179e8c,_0x179cf6){return _0x179e8c(_0x179cf6);},'WuemE':function(_0x2eb461,_0x2d29ac){return _0x2eb461(_0x2d29ac);}};if(!this[_0xc01f41(0x232)])return;await _0x3185a1[_0xc01f41(0x236)](sleep,0x1e),this[_0xc01f41(0x230)][_0xc01f41(0x1e4)](),this[_0xc01f41(0x232)]=![],this[_0xc01f41(0x1fb)](this[_0xc01f41(0x25d)]);const _0x8f0fa6=this[_0xc01f41(0x22f)](this[_0xc01f41(0x25d)]),_0x3cc663=path[_0xc01f41(0x210)](process['cwd'](),_0x1e3689);fs[_0xc01f41(0x23b)](_0x3cc663,_0x8f0fa6,_0x1478e9=>{const _0x2dddd3=_0xc01f41;if(_0x1478e9){_0x3185a1['vFvLC'](debug,_0x2dddd3(0x20b)+_0x1478e9[_0x2dddd3(0x23a)]());return;}_0x3185a1[_0x2dddd3(0x202)](debug,_0x2dddd3(0x24e)+_0x3cc663);});if(_0x37ddb0)return this[_0xc01f41(0x1e7)](this['_events'],_0x37ddb0);}static[a133_0x19726e(0x22f)](_0x47a20c){const _0x391e02=a133_0x19726e,_0x318484={};_0x318484[_0x391e02(0x26a)]=_0x391e02(0x224),_0x318484[_0x391e02(0x1f1)]=_0x391e02(0x20a),_0x318484[_0x391e02(0x22b)]=_0x391e02(0x268),_0x318484['bVKkS']=_0x391e02(0x23f);const _0x3d110c=_0x318484;let _0x13a8cb=_0x3d110c[_0x391e02(0x26a)];return _0x13a8cb+=_0x3d110c[_0x391e02(0x1f1)],_0x13a8cb+=_0x3d110c[_0x391e02(0x22b)],_0x47a20c[_0x391e02(0x213)](_0x382221=>{const _0x214be4=_0x391e02;_0x13a8cb+=_0x214be4(0x1eb)+_0x382221[_0x214be4(0x258)]+_0x214be4(0x21b)+_0x382221[_0x214be4(0x233)]+_0x214be4(0x1f0);}),_0x13a8cb+=_0x3d110c[_0x391e02(0x22d)],_0x13a8cb;}static[a133_0x19726e(0x1fb)](_0x5700ad){const _0xa26363=a133_0x19726e;if(!this['jsonReportFileName'])return;const _0x1958cd={};_0x5700ad[_0xa26363(0x1f2)](_0x21535d=>{const _0x3dcb02=_0xa26363;!_0x1958cd[_0x21535d['name']]&&(_0x1958cd[_0x21535d['name']]=0x0),_0x1958cd[_0x21535d[_0x3dcb02(0x258)]]+=_0x21535d[_0x3dcb02(0x233)];});const _0x56b3ff=Object[_0xa26363(0x204)](_0x1958cd)[_0xa26363(0x1f2)](([_0x198ab0,_0x2a34cc])=>{const _0x2c8a4d=_0xa26363,_0x408368={};return _0x408368[_0x2c8a4d(0x258)]=_0x198ab0,_0x408368[_0x2c8a4d(0x233)]=_0x2a34cc,_0x408368;});fs[_0xa26363(0x207)](this['jsonReportFileName'],JSON[_0xa26363(0x253)](_0x56b3ff));}static[a133_0x19726e(0x275)](){const _0xe206f=a133_0x19726e,_0xcf253b={};_0xcf253b[_0xe206f(0x245)]=function(_0x247510,_0x4e198b){return _0x247510===_0x4e198b;},_0xcf253b[_0xe206f(0x1fe)]=_0xe206f(0x217);const _0xcceb93=_0xcf253b;return!_0xcceb93['WBmvH'](process[_0xe206f(0x27c)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0xcceb93[_0xe206f(0x1fe)]);}static[a133_0x19726e(0x21d)](_0x1348f0,_0x16125f,_0x1763e3=null,_0x3c4cc8={},_0x277dcd=null){const _0x409dc2=a133_0x19726e,_0x8b5563={'SNfpO':function(_0x49bc2f,_0x1a7c88){return _0x49bc2f(_0x1a7c88);},'Wsrag':function(_0x348897,_0x577acd){return _0x348897 instanceof _0x577acd;}};try{if(this[_0x409dc2(0x232)]&&this[_0x409dc2(0x275)]()){let _0x5825ad=_0x1348f0;_0x1763e3&&(_0x5825ad=_0x1348f0+'['+JSON[_0x409dc2(0x253)](_0x1763e3)+']');PerformanceTester[_0x409dc2(0x279)](_0x5825ad),this['details']&&(this[_0x409dc2(0x206)][_0x5825ad]=_0x3c4cc8);try{const _0x4cde2f=_0x16125f[_0x409dc2(0x22a)](null,_0x277dcd);if(_0x8b5563['Wsrag'](_0x4cde2f,Promise))return new Promise((_0x1caa6f,_0x3e419f)=>{const _0x23897b=_0x409dc2,_0x2a87af={'RyaOr':function(_0x4e0348,_0x2ed898){const _0x205295=a133_0x4f70;return _0x8b5563[_0x205295(0x284)](_0x4e0348,_0x2ed898);}};_0x4cde2f[_0x23897b(0x263)](_0x5e7f30=>{const _0x49c972=_0x23897b;PerformanceTester[_0x49c972(0x27a)](_0x5825ad),_0x8b5563[_0x49c972(0x284)](_0x1caa6f,_0x5e7f30);})[_0x23897b(0x20d)](_0x560fcb=>{const _0xacdb81=_0x23897b;PerformanceTester[_0xacdb81(0x27a)](_0x5825ad,![],util['format'](_0x560fcb)),_0x2a87af[_0xacdb81(0x254)](_0x3e419f,_0x560fcb);});});;return PerformanceTester[_0x409dc2(0x27a)](_0x5825ad),_0x4cde2f;}catch(_0x193ea9){PerformanceTester[_0x409dc2(0x27a)](_0x5825ad,![],util[_0x409dc2(0x270)](_0x193ea9));throw _0x193ea9;}};return _0x16125f[_0x409dc2(0x22a)](null,_0x277dcd);}catch(_0x3e61e7){return logger[_0x409dc2(0x1ea)]('error\x20in\x20measure\x20'+(_0x3e61e7['stack']||_0x3e61e7[_0x409dc2(0x1d8)]||_0x3e61e7)),_0x16125f['apply'](null,_0x277dcd);}}static[a133_0x19726e(0x1e9)](_0x13ce5e,_0x466bb8,_0x2ec8e1={}){const _0x35759a=a133_0x19726e,_0x2ac6c3={'UOQpR':function(_0x4a5e41){return _0x4a5e41();},'CQHUj':function(_0x10b984){return _0x10b984();}},_0xbd6477=this;return _0x2ec8e1[_0x35759a(0x25c)]=_0x2ac6c3[_0x35759a(0x24f)](getProcessId),_0x2ec8e1[_0x35759a(0x23c)]=_0x2ac6c3[_0x35759a(0x25e)](getTestName),_0x2ec8e1['platform']=global['__platformCaps']&&global[_0x35759a(0x1f7)][_0x35759a(0x229)],function(){const _0x2d2da1=_0x35759a,_0x4b76c3=[_0x13ce5e,_0x466bb8,null,_0x2ec8e1]['concat'](arguments);return _0xbd6477[_0x2d2da1(0x21d)]['apply'](_0xbd6477,_0x4b76c3);};}static[a133_0x19726e(0x259)](){const _0x3056b5=a133_0x19726e,_0x775c3a=/(^.*)\[(.*)\]$/,_0x177bdb={},_0x815ea9={},_0xf1c685=[],_0x4fe079=this[_0x3056b5(0x201)][_0x3056b5(0x219)](0x0,this[_0x3056b5(0x201)][_0x3056b5(0x1ec)]);for(const _0x2e7d00 of _0x4fe079){const _0x13a463=_0x2e7d00['name'][_0x3056b5(0x222)](_0x775c3a),_0x4c94c1=Object[_0x3056b5(0x26c)]({},_0x2e7d00);_0x13a463&&(_0x4c94c1[_0x3056b5(0x258)]=_0x13a463[0x1],_0x4c94c1[_0x3056b5(0x22e)]=JSON[_0x3056b5(0x203)](_0x13a463[0x2])),_0xf1c685[_0x3056b5(0x283)](_0x4c94c1);}return _0xf1c685;}static[a133_0x19726e(0x267)](){const _0x540a3c=a133_0x19726e,_0x4f7403={'EMdEg':function(_0x145846){return _0x145846();},'jycUL':function(_0x14ada4,_0x259039){return _0x14ada4+_0x259039;},'aLVIU':_0x540a3c(0x22c),'ypvGp':function(_0x797637,_0x4596a2){return _0x797637===_0x4596a2;},'bvSBR':function(_0x4b3420,_0x516e33){return _0x4b3420+_0x516e33;}};try{this[_0x540a3c(0x20e)]=path['join'](_0x4f7403[_0x540a3c(0x235)](getLogDir),this[_0x540a3c(0x250)]);if(fs[_0x540a3c(0x21a)](this[_0x540a3c(0x20e)])){const _0x1243c4=fs[_0x540a3c(0x1e2)](this['jsonReportDirPath']);for(const _0x570692 of _0x1243c4){fs[_0x540a3c(0x220)](path['join'](this['jsonReportDirPath'],_0x570692));}}}catch(_0x449f33){logger['debug'](_0x4f7403[_0x540a3c(0x238)](_0x4f7403[_0x540a3c(0x257)],_0x449f33));}if(_0x4f7403[_0x540a3c(0x281)](this['_measureEvents'][_0x540a3c(0x1ec)],0x0))return;const _0x5289d1=this[_0x540a3c(0x259)](),_0x5415d1=JSON['stringify'](_0x5289d1),_0x53d4c7=_0x4f7403[_0x540a3c(0x1e1)](_0x5415d1[_0x540a3c(0x1ed)](0x1,-0x1),',');fs[_0x540a3c(0x241)](this[_0x540a3c(0x1e3)],_0x53d4c7);}static async['finalizePerfMeasures'](){const _0x5e3598=a133_0x19726e,_0x13ae27={'URVnV':function(_0x8432b7){return _0x8432b7();},'fEVGy':function(_0x4d2946,_0x285522){return _0x4d2946===_0x285522;},'KSZwj':_0x5e3598(0x1f9),'DozkX':'utf-8','GKphA':_0x5e3598(0x1fa),'NtVhC':function(_0x18960a,_0x3e9e2c){return _0x18960a+_0x3e9e2c;},'CNtGq':_0x5e3598(0x1de),'fkNby':_0x5e3598(0x1d6),'NYiRd':_0x5e3598(0x208),'PlQgl':function(_0x27f315,_0x250d08){return _0x27f315>_0x250d08;}};this['jsonReportDirPath']=path[_0x5e3598(0x210)](_0x13ae27[_0x5e3598(0x1dc)](getLogDir),this[_0x5e3598(0x250)]);if(!this[_0x5e3598(0x232)]||_0x13ae27[_0x5e3598(0x21f)](this['_measureEvents'][_0x5e3598(0x1ec)],0x0))return[];if(!fs[_0x5e3598(0x21a)](this['jsonReportDirPath']))return this[_0x5e3598(0x201)];const _0x23d3ac=(await fsPromise[_0x5e3598(0x226)](this['jsonReportDirPath']))[_0x5e3598(0x1f2)](_0x843f56=>path[_0x5e3598(0x27f)](this[_0x5e3598(0x20e)],_0x843f56));try{const _0x54d95e=path['dirname'](this['jsonReportDirPath']),_0x2ee057=path['join'](_0x54d95e,_0x13ae27[_0x5e3598(0x225)]);if(fs[_0x5e3598(0x21a)](_0x2ee057))try{await fsPromise['access'](_0x2ee057,fs[_0x5e3598(0x272)][_0x5e3598(0x244)]);const _0x1678e5=await fsPromise[_0x5e3598(0x278)](_0x2ee057,_0x13ae27[_0x5e3598(0x21e)]),_0x57db83=JSON['parse'](_0x1678e5),_0x85c20b=path[_0x5e3598(0x210)](this[_0x5e3598(0x20e)],_0x13ae27[_0x5e3598(0x223)]);let _0x5a289a='';Array[_0x5e3598(0x24b)](_0x57db83)?_0x5a289a=_0x13ae27['NtVhC'](_0x57db83['map'](_0x4f9167=>JSON[_0x5e3598(0x253)](_0x4f9167))[_0x5e3598(0x210)](','),','):_0x5a289a=_0x13ae27[_0x5e3598(0x269)](JSON['stringify'](_0x57db83),','),await fsPromise[_0x5e3598(0x23b)](_0x85c20b,_0x5a289a),_0x23d3ac['push'](_0x85c20b),await fsPromise[_0x5e3598(0x1f8)](_0x2ee057);}catch(_0x2c12d4){logger[_0x5e3598(0x240)](util[_0x5e3598(0x270)](_0x13ae27[_0x5e3598(0x1dd)],_0x2c12d4[_0x5e3598(0x20f)]||_0x2c12d4['message']||_0x2c12d4));}else logger[_0x5e3598(0x240)](_0x13ae27[_0x5e3598(0x280)]);}catch(_0x238928){logger[_0x5e3598(0x240)](util[_0x5e3598(0x270)](_0x13ae27[_0x5e3598(0x1f3)],_0x238928[_0x5e3598(0x20f)]||_0x238928[_0x5e3598(0x1d8)]||_0x238928));}let _0x596fa5=(await Promise['all'](_0x23d3ac['map'](_0x39ff52=>fsPromise[_0x5e3598(0x278)](_0x39ff52,'utf-8'))))[_0x5e3598(0x1f2)](_0x175b30=>'['+_0x175b30['slice'](0x0,-0x1)+']')[_0x5e3598(0x1f2)](_0x5a6f11=>JSON[_0x5e3598(0x203)](_0x5a6f11))[_0x5e3598(0x1f5)]();return _0x13ae27['PlQgl'](this[_0x5e3598(0x201)]['length'],0x0)&&(_0x596fa5=_0x596fa5['concat'](this[_0x5e3598(0x259)]())),this[_0x5e3598(0x230)]['disconnect'](),_0x596fa5;}static[a133_0x19726e(0x246)](){const _0x29ba85=a133_0x19726e,_0x2bdb1a={};_0x2bdb1a['pttYG']=function(_0x20f63c,_0xb0ef1b){return _0x20f63c===_0xb0ef1b;},_0x2bdb1a['vtwjq']=function(_0x2b4671,_0x555fae){return _0x2b4671+_0x555fae;};const _0x11cc34=_0x2bdb1a;if(_0x11cc34[_0x29ba85(0x285)](this['_errorEvents'][_0x29ba85(0x1ec)],0x0))return;const _0x534d58=JSON['stringify'](this[_0x29ba85(0x1d9)]),_0x1d6d3a=_0x11cc34[_0x29ba85(0x274)](_0x534d58[_0x29ba85(0x1ed)](0x1,-0x1),',');fs[_0x29ba85(0x241)](this[_0x29ba85(0x25a)],_0x1d6d3a);}static[a133_0x19726e(0x25b)](){const _0x57976a=a133_0x19726e,_0x370303={};_0x370303[_0x57976a(0x231)]=function(_0x3e533e,_0x569e79){return _0x3e533e>_0x569e79;};const _0xa4f860=_0x370303;if(this[_0x57976a(0x234)]){if(!fs[_0x57976a(0x21a)](this[_0x57976a(0x234)]))return this[_0x57976a(0x1d9)];let _0x7cb2c5=fs['readFileSync'](this['errorReportFileName'])['toString']();_0x7cb2c5='['+_0x7cb2c5[_0x57976a(0x1ed)](0x0,-0x1)+']';let _0x46c49d=JSON[_0x57976a(0x203)](_0x7cb2c5);return _0xa4f860[_0x57976a(0x231)](this[_0x57976a(0x1d9)]['length'],0x0)&&(_0x46c49d=_0x46c49d[_0x57976a(0x243)](this['_errorEvents'])),fs[_0x57976a(0x220)](this[_0x57976a(0x234)]),_0x46c49d;}}static['captureError'](_0x50b5c6){const _0xeed8cd=a133_0x19726e;if(!this[_0xeed8cd(0x275)]())return;this['_errorEvents']['push']({'message':_0x50b5c6[_0xeed8cd(0x1d8)],'trace':_0x50b5c6['stack'],'code':_0x50b5c6[_0xeed8cd(0x1fc)]||null,'time':new Date()});}static[a133_0x19726e(0x266)](){const _0x3673a9=a133_0x19726e;try{if(!this[_0x3673a9(0x275)]())return;this[_0x3673a9(0x230)][_0x3673a9(0x1e4)](),this['pushPerfMeasures'](),this[_0x3673a9(0x246)]();}catch(_0x52e4d1){logger[_0x3673a9(0x1ea)](_0x3673a9(0x262)+util[_0x3673a9(0x270)](_0x52e4d1));}}static async[a133_0x19726e(0x23d)](){const _0x5ec03d=a133_0x19726e,_0x440e5d={'sgtwj':function(_0x5b3e27,_0x169a65){return _0x5b3e27(_0x169a65);}};await _0x440e5d[_0x5ec03d(0x205)](sleep,0x1e);const _0x49a784=await this['finalizePerfMeasures'](),_0x40fc38=this[_0x5ec03d(0x25b)]();if(!this['isEnabled']()){const _0x5047eb={};return _0x5047eb[_0x5ec03d(0x227)]=[],_0x5047eb[_0x5ec03d(0x252)]=[],_0x5047eb;}const _0x3f1fc6={};return _0x3f1fc6[_0x5ec03d(0x227)]=_0x49a784,_0x3f1fc6[_0x5ec03d(0x252)]=_0x40fc38,_0x3f1fc6;}static[a133_0x19726e(0x279)](_0x1a04b0){const _0x119bb2=a133_0x19726e,_0x22719a={};_0x22719a[_0x119bb2(0x271)]=function(_0x536b6a,_0x8b6b16){return _0x536b6a+_0x8b6b16;},_0x22719a['JOCMR']=_0x119bb2(0x26e);const _0x443fef=_0x22719a,_0xc1e10b=_0x443fef['yKPzF'](_0x1a04b0,_0x443fef['JOCMR']);if(this[_0x119bb2(0x1fd)][_0xc1e10b])return;performance[_0x119bb2(0x277)](_0xc1e10b),this[_0x119bb2(0x1fd)][_0xc1e10b]=0x1;}static[a133_0x19726e(0x27a)](_0x3d8abe,_0x158fff=!![],_0x1c3bbb=null,_0x1acc34={}){const _0x52a21d=a133_0x19726e,_0x5ced1f={'LnjJq':function(_0x272913,_0x154d2c){return _0x272913+_0x154d2c;},'BULDa':'-end','oUnDK':function(_0x3318b6,_0x402c47){return _0x3318b6+_0x402c47;},'YfXuP':'-start','dwEOg':function(_0x31274b,_0x3c2837){return _0x31274b+_0x3c2837;},'ghhcu':function(_0xd410e6){return _0xd410e6();}};performance['mark'](_0x5ced1f[_0x52a21d(0x23e)](_0x3d8abe,_0x5ced1f[_0x52a21d(0x261)])),performance[_0x52a21d(0x21d)](_0x3d8abe,_0x5ced1f[_0x52a21d(0x27b)](_0x3d8abe,_0x5ced1f['YfXuP']),_0x5ced1f[_0x52a21d(0x1e5)](_0x3d8abe,_0x5ced1f[_0x52a21d(0x261)])),delete this[_0x52a21d(0x1fd)][_0x5ced1f[_0x52a21d(0x1e5)](_0x3d8abe,_0x5ced1f['YfXuP'])];const _0x168bc6={};_0x168bc6[_0x52a21d(0x1e6)]=_0x158fff,_0x168bc6[_0x52a21d(0x215)]=_0x1c3bbb,this['details'][_0x3d8abe]=Object[_0x52a21d(0x26c)](_0x168bc6,Object[_0x52a21d(0x26c)](Object[_0x52a21d(0x26c)]({'worker':_0x5ced1f[_0x52a21d(0x211)](getProcessId),'platform':global['__platformCaps']&&global[_0x52a21d(0x1f7)][_0x52a21d(0x229)],'testName':_0x5ced1f[_0x52a21d(0x211)](getTestName)},_0x1acc34),this['details'][_0x3d8abe]||{}));}}function a133_0x4f70(_0x2e3491,_0x4dfcb4){const _0x2b1257=a133_0x2b12();return a133_0x4f70=function(_0x4f70f4,_0x3e43e5){_0x4f70f4=_0x4f70f4-0x1d6;let _0x59e0ba=_0x2b1257[_0x4f70f4];return _0x59e0ba;},a133_0x4f70(_0x2e3491,_0x4dfcb4);}module[a133_0x19726e(0x1ff)]=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133_0x42066e=a133_0x5954;(function(_0x93eab5,_0x543c14){const _0x375ca8=a133_0x5954,_0x315fa5=_0x93eab5();while(!![]){try{const _0x40e808=parseInt(_0x375ca8(0x21c))/0x1*(-parseInt(_0x375ca8(0x22a))/0x2)+parseInt(_0x375ca8(0x205))/0x3*(-parseInt(_0x375ca8(0x25d))/0x4)+parseInt(_0x375ca8(0x21d))/0x5*(parseInt(_0x375ca8(0x228))/0x6)+parseInt(_0x375ca8(0x25e))/0x7*(-parseInt(_0x375ca8(0x1e2))/0x8)+-parseInt(_0x375ca8(0x26c))/0x9+-parseInt(_0x375ca8(0x253))/0xa*(parseInt(_0x375ca8(0x223))/0xb)+parseInt(_0x375ca8(0x264))/0xc*(parseInt(_0x375ca8(0x272))/0xd);if(_0x40e808===_0x543c14)break;else _0x315fa5['push'](_0x315fa5['shift']());}catch(_0x182f7b){_0x315fa5['push'](_0x315fa5['shift']());}}}(a133_0x1a67,0xe2af7));const path=require(a133_0x42066e(0x221)),util=require(a133_0x42066e(0x233)),{importFileFromPWCore}=require(a133_0x42066e(0x24e)),helper=require(a133_0x42066e(0x24e)),logger=require(a133_0x42066e(0x215))[a133_0x42066e(0x217)],W3CMapping=require(a133_0x42066e(0x26d))[a133_0x42066e(0x1ec)](),constants=require('../bin/utils/constants'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;function a133_0x5954(_0x4d29cf,_0x4b3c9d){const _0x1a67e0=a133_0x1a67();return a133_0x5954=function(_0x5954ba,_0xd0f6d6){_0x5954ba=_0x5954ba-0x1de;let _0x47e823=_0x1a67e0[_0x5954ba];return _0x47e823;},a133_0x5954(_0x4d29cf,_0x4b3c9d);}function a133_0x1a67(){const _0x59836b=['join','./testhub/utils','qmsTm','browserstack.accessibilityOptions.scannerVersion','PsDgw','_connection','IXXaV','convertW3CToJsonWire','Playwright\x20not\x20available:\x20','eZuvf','getPlaywrightModulePath','WiLvG','setBrowserstackConfig','warn','./logger','cucumberjs-pw','winstonLogger','ECONNRESET','cliConfig','lib','[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20','1pJObyF','2020oozxOb','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','ECONNREFUSED','WjXZY','path','No\x20modified\x20config\x20received\x20from\x20gRPC','1943975GfANdq','mEZTK','CPnQW','requirePWModule','message','6gSsCUY','platformCaps','3220586ttIllb','ioNIE','aDuHO','__accessibilityOptions','error','yhlXJ','projects','XFUPy','XoOqR','util','browserstack.buildProductMap','browserType.js','browserName','\x20failed\x20(','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','getBrowserFromCaps','ooHWH','browser','getPlaywrightBrowserType','Received\x20modified\x20config\x20from\x20gRPC:\x20','LsLzC','../bin/v2/grpcClient','mSicD','firefox','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','CZayA','sSqEa','browserstack.accessibilityOptions.scannerProcessingTimeout','tKkkQ','setFrameworkDetail','rCZpr','PLAYWRIGHT','FRAMEWORKS','getBundledConnectionClass','kIHBr','YCZBh','./helper','Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed','includes','importFileFromPWCore','ndvVC','20XVzfpy','CwJfn','connectOverCDPWithRetry','use','uYfBO','Could\x20not\x20import\x20GrpcClient:\x20','constructor','SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20','connectOverCDP:\x20CDPSession','generatePlaywrightUrl','4QgkVlP','952623QxzJKj','lQFkm','zjMxw','chromium','lcrUj','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','23883492VrsXcH','getPlaywrightConfig','workers','Detected\x20Playwright\x20version\x20','checkPwandBootstrapCli','getBuildProductMap','ZULdc','BuvhS','11643417vhTEwq','./w3cMapping','BrowserType','ZWomk','entries','PVkFR','39rxXJsB','browserstack.accessibilityOptions.wcagVersion','fawiJ','debug','capabilities','BROWSERSTACK_TESTHUB_UUID','rmmUE','client','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','getInstance','Timeout','ZIkZb','Error\x20loading\x20bundled\x20Playwright\x20entry:\x20','bootstrap','connectOverCDP','96EtCjFx','isArray','XVuMJ','bywfm','stringify','exports','getPWCorePath','env','bstack:options','),\x20retrying\x20in\x20','W3CMapping','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','browserstack.testhubBuildUuid','BS_A11Y_JWT','\x20for\x20','vPXyk','OWuRS','length','tTfBM','\x20flow','GOQde','config','parse','pgqMr','xQzYs','getConfig','\x20attempts\x20—\x20surfacing\x20error:\x20','getPlaywrightUrl','getBrowserTypePath','webkit','IyuLa','configPath','NGzhc','vxbMB','format','456750UWXVfF','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw'];a133_0x1a67=function(){return _0x59836b;};return a133_0x1a67();}try{GrpcClient=require(a133_0x42066e(0x23f));}catch(a133_0x239298){logger[a133_0x42066e(0x275)](a133_0x42066e(0x258)+a133_0x239298[a133_0x42066e(0x227)]),GrpcClient=null;}const convertW3CToJsonWire=_0x22a439=>{const _0x4cd7bb=a133_0x42066e,_0x322a94={};_0x322a94[_0x4cd7bb(0x1f4)]=function(_0x2fe6ca,_0x245066){return _0x2fe6ca||_0x245066;},_0x322a94[_0x4cd7bb(0x210)]=function(_0x261cd0,_0x55c6fc){return _0x261cd0===_0x55c6fc;},_0x322a94['rmmUE']=_0x4cd7bb(0x1ea),_0x322a94[_0x4cd7bb(0x220)]=function(_0xd22715,_0x56382d){return _0xd22715===_0x56382d;},_0x322a94[_0x4cd7bb(0x203)]=function(_0x100076,_0x5b5cae){return _0x100076 in _0x5b5cae;};const _0x5a419e=_0x322a94,_0x35da01={};for(const [_0x847f98,_0x3f7c58]of Object[_0x4cd7bb(0x270)](_0x5a419e[_0x4cd7bb(0x1f4)](_0x22a439,{}))){if(_0x5a419e[_0x4cd7bb(0x210)](_0x847f98,_0x5a419e[_0x4cd7bb(0x278)]))continue;let _0x258510=![];for(const [_0x10003b,_0x3429f5]of Object[_0x4cd7bb(0x270)](W3CMapping)){if(_0x5a419e[_0x4cd7bb(0x210)](_0x847f98,_0x3429f5)){_0x35da01[_0x10003b]=_0x3f7c58,_0x258510=!![];break;}}!_0x258510&&(_0x35da01[_0x847f98]=_0x3f7c58);}const _0xeec80a=_0x22a439[_0x5a419e[_0x4cd7bb(0x278)]]||{};for(const [_0x188a02,_0x43cae9]of Object['entries'](_0xeec80a)){let _0x112091=![];for(const [_0x296ac9,_0x670e78]of Object[_0x4cd7bb(0x270)](W3CMapping)){if(_0x5a419e['WjXZY'](_0x188a02,_0x670e78)){_0x35da01[_0x296ac9]=_0x43cae9,_0x112091=!![];break;}}!_0x112091&&!_0x5a419e[_0x4cd7bb(0x203)](_0x188a02,_0x35da01)&&(_0x35da01[_0x188a02]=_0x43cae9);}return logger[_0x4cd7bb(0x275)](_0x4cd7bb(0x1ed)+JSON[_0x4cd7bb(0x1e6)](_0x35da01)),_0x35da01;},getModifiedConfigFromCLI=async _0x27456e=>{const _0x5c0c49=a133_0x42066e,_0x412676={};_0x412676[_0x5c0c49(0x202)]=_0x5c0c49(0x263),_0x412676['BuvhS']=_0x5c0c49(0x216),_0x412676[_0x5c0c49(0x25f)]=_0x5c0c49(0x206),_0x412676['vPXyk']=_0x5c0c49(0x222),_0x412676[_0x5c0c49(0x246)]=function(_0x36467e,_0x45ea37){return _0x36467e>_0x45ea37;},_0x412676[_0x5c0c49(0x231)]=function(_0xa66b6a,_0xfefd91){return _0xa66b6a>_0xfefd91;},_0x412676[_0x5c0c49(0x254)]=_0x5c0c49(0x21e);const _0x522c94=_0x412676;try{if(!GrpcClient)return logger[_0x5c0c49(0x275)](_0x522c94[_0x5c0c49(0x202)]),null;const _0x3d79d8={};_0x3d79d8[_0x5c0c49(0x276)]=_0x27456e,_0x3d79d8['framework']=_0x522c94[_0x5c0c49(0x26b)],_0x3d79d8[_0x5c0c49(0x266)]=0x1,_0x3d79d8[_0x5c0c49(0x230)]=[];const _0x22326e=_0x3d79d8;logger[_0x5c0c49(0x275)](_0x522c94[_0x5c0c49(0x25f)]);const _0x20217b={};_0x20217b['playwrightConfigObject']=_0x22326e;const _0x5e3e82=await GrpcClient[_0x5c0c49(0x27b)]()[_0x5c0c49(0x265)](_0x20217b);if(!_0x5e3e82[_0x5c0c49(0x1fb)]())return logger[_0x5c0c49(0x275)](_0x522c94[_0x5c0c49(0x1f1)]),null;const _0x533f2e=JSON[_0x5c0c49(0x1f8)](_0x5e3e82[_0x5c0c49(0x1fb)]());logger[_0x5c0c49(0x275)](_0x5c0c49(0x23d)+JSON[_0x5c0c49(0x1e6)](_0x533f2e));if(_0x533f2e[_0x5c0c49(0x276)]&&Array['isArray'](_0x533f2e[_0x5c0c49(0x276)])&&_0x522c94[_0x5c0c49(0x246)](_0x533f2e[_0x5c0c49(0x276)][_0x5c0c49(0x1f3)],0x0))return _0x533f2e['capabilities'][0x0];else{if(_0x533f2e[_0x5c0c49(0x230)]&&Array[_0x5c0c49(0x1e3)](_0x533f2e[_0x5c0c49(0x230)])&&_0x522c94[_0x5c0c49(0x231)](_0x533f2e[_0x5c0c49(0x230)][_0x5c0c49(0x1f3)],0x0)){const _0x563887=_0x533f2e['projects'][0x0];if(_0x563887[_0x5c0c49(0x256)]&&_0x563887['use']['platformCaps'])return _0x563887['use'][_0x5c0c49(0x229)];}}return logger[_0x5c0c49(0x275)](_0x522c94['CwJfn']),null;}catch(_0x4145f0){logger[_0x5c0c49(0x22e)](_0x5c0c49(0x238)+_0x4145f0['message']);throw _0x4145f0;}},generatePlaywrightUrl=(_0x5c95c4,_0x3312af)=>{const _0x1f2553=a133_0x42066e,_0xfd979d={'ndvVC':function(_0x4ca018,_0x103fa2){return _0x4ca018!==_0x103fa2;},'IYCJj':function(_0x490908,_0x13eec8){return _0x490908!==_0x13eec8;},'IyuLa':function(_0x21b07d,_0x44d725){return _0x21b07d!==_0x44d725;},'oZfDi':function(_0x3d20e2,_0x5ae631){return _0x3d20e2(_0x5ae631);},'ooHWH':function(_0x3c8406,_0x2d3820){return _0x3c8406||_0x2d3820;},'LsLzC':function(_0x18ff64,_0x2648a0){return _0x18ff64(_0x2648a0);},'rCZpr':'browserstack.accessibilityOptions.authToken','qmsTm':function(_0x3b3e69,_0x4e10ed){return _0x3b3e69(_0x4e10ed);},'aDuHO':_0x1f2553(0x273),'XZSrF':function(_0x185d46,_0x1616bd){return _0x185d46(_0x1616bd);},'BPPNo':_0x1f2553(0x20a),'xKXcX':_0x1f2553(0x245),'RKAqQ':_0x1f2553(0x1ee),'FtbMs':_0x1f2553(0x234),'WiLvG':function(_0x42f5cf,_0x59d903){return _0x42f5cf+_0x59d903;},'pgqMr':function(_0x5c0bd5,_0x4d0c6d){return _0x5c0bd5(_0x4d0c6d);}},_0x224ed1=helper[_0x1f2553(0x1fd)](_0x5c95c4),_0x14ebe0=_0xfd979d['oZfDi'](convertW3CToJsonWire,_0x3312af);try{const _0x2718d7=[_0xfd979d[_0x1f2553(0x23a)](_0x3312af,{}),global['__launchCaps']||{},global['__platformCaps']||{},global[_0x1f2553(0x22d)]||{}],_0x16ed7b=_0x1eb216=>{const _0x3bf676=_0x1f2553;if(_0xfd979d[_0x3bf676(0x252)](_0x14ebe0[_0x1eb216],undefined)&&_0xfd979d[_0x3bf676(0x252)](_0x14ebe0[_0x1eb216],null)&&_0xfd979d['IYCJj'](_0x14ebe0[_0x1eb216],''))return;for(const _0x3ade8 of _0x2718d7){if(_0x3ade8&&_0xfd979d[_0x3bf676(0x252)](_0x3ade8[_0x1eb216],undefined)&&_0xfd979d[_0x3bf676(0x200)](_0x3ade8[_0x1eb216],null)&&_0xfd979d[_0x3bf676(0x252)](_0x3ade8[_0x1eb216],'')){_0x14ebe0[_0x1eb216]=_0x3ade8[_0x1eb216];return;}}};_0xfd979d['LsLzC'](_0x16ed7b,_0xfd979d[_0x1f2553(0x248)]),_0xfd979d[_0x1f2553(0x209)](_0x16ed7b,_0xfd979d[_0x1f2553(0x22c)]),_0xfd979d['XZSrF'](_0x16ed7b,_0xfd979d['BPPNo']),_0xfd979d[_0x1f2553(0x23e)](_0x16ed7b,_0xfd979d['xKXcX']),!_0x14ebe0[_0xfd979d[_0x1f2553(0x248)]]&&process[_0x1f2553(0x1e9)][_0x1f2553(0x1ef)]&&(_0x14ebe0[_0xfd979d[_0x1f2553(0x248)]]=process[_0x1f2553(0x1e9)][_0x1f2553(0x1ef)]);}catch(_0x16d50c){logger[_0x1f2553(0x275)]('Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20'+util[_0x1f2553(0x204)](_0x16d50c));}return _0x14ebe0[_0xfd979d['RKAqQ']]=process[_0x1f2553(0x1e9)][_0x1f2553(0x277)],_0x14ebe0[_0xfd979d['FtbMs']]=helper[_0x1f2553(0x269)](),_0xfd979d[_0x1f2553(0x212)](_0x224ed1,_0xfd979d[_0x1f2553(0x1f9)](encodeURIComponent,JSON['stringify'](_0x14ebe0)));},getBrowserFromCaps=_0x44d485=>{const _0x153748=a133_0x42066e,_0xe47131={};_0xe47131[_0x153748(0x262)]='chrome';const _0x4f8528=_0xe47131;return _0x44d485[_0x153748(0x236)]||_0x44d485[_0x153748(0x23b)]||_0x4f8528[_0x153748(0x262)];},getBrowserTypeFromBundledPlaywright=()=>{const _0x4acee8=a133_0x42066e;try{const _0x5f018a=helper[_0x4acee8(0x1e8)]();if(!_0x5f018a)return null;const _0x458787=helper['requirePWModule'](_0x5f018a),_0x1ab4b4=_0x458787&&(_0x458787[_0x4acee8(0x261)]||_0x458787['firefox']||_0x458787[_0x4acee8(0x1ff)]);if(!_0x1ab4b4)return null;return _0x1ab4b4['constructor']||null;}catch(_0x38d366){return logger[_0x4acee8(0x275)](_0x4acee8(0x1df)+util['format'](_0x38d366)),null;}},getBundledConnectionClass=()=>{const _0x1d5468=a133_0x42066e,_0x338604={};_0x338604[_0x1d5468(0x24c)]='SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null';const _0x160fbd=_0x338604;try{const _0x397b6a=helper[_0x1d5468(0x1e8)]();if(!_0x397b6a)return null;const _0x3a7854=helper[_0x1d5468(0x226)](_0x397b6a),_0x28b745=_0x3a7854&&(_0x3a7854[_0x1d5468(0x261)]||_0x3a7854[_0x1d5468(0x241)]||_0x3a7854[_0x1d5468(0x1ff)]);if(!_0x28b745)return null;if(!_0x28b745[_0x1d5468(0x20c)])return logger[_0x1d5468(0x275)](_0x160fbd[_0x1d5468(0x24c)]),null;if(!_0x28b745[_0x1d5468(0x20c)][_0x1d5468(0x259)])return null;return _0x28b745['_connection'][_0x1d5468(0x259)];}catch(_0x52b401){return logger[_0x1d5468(0x275)](_0x1d5468(0x25a)+util[_0x1d5468(0x204)](_0x52b401)),null;}},isPlaywrightAvailable=()=>{const _0x457d4c=a133_0x42066e,_0x58262d={'xQzYs':_0x457d4c(0x21a),'dLCll':'client','ZWomk':'browserType.js','uYfBO':function(_0x2977da,_0x1c3e10){return _0x2977da(_0x1c3e10);},'OWuRS':function(_0x46c20e){return _0x46c20e();}};try{const _0x51cc=path[_0x457d4c(0x207)](_0x58262d[_0x457d4c(0x1fa)],_0x58262d['dLCll'],_0x58262d[_0x457d4c(0x26f)]),_0xcb607b=_0x58262d[_0x457d4c(0x257)](importFileFromPWCore,_0x51cc);if(_0xcb607b)return!![];return!!_0x58262d[_0x457d4c(0x1f2)](getBrowserTypeFromBundledPlaywright);}catch(_0x4400ef){return logger[_0x457d4c(0x275)](_0x457d4c(0x20f)+util[_0x457d4c(0x204)](_0x4400ef)),![];}},getPlaywrightBrowserType=()=>{const _0x41df5a=a133_0x42066e,_0x4756e9={'GOQde':_0x41df5a(0x21a),'yhlXJ':_0x41df5a(0x279),'IXXaV':_0x41df5a(0x235),'OAquR':function(_0x35b192,_0x574213){return _0x35b192(_0x574213);},'ioNIE':function(_0x16b47c){return _0x16b47c();}};try{const _0x2bb2f0=path['join'](_0x4756e9[_0x41df5a(0x1f6)],_0x4756e9[_0x41df5a(0x22f)],_0x4756e9[_0x41df5a(0x20d)]),_0x4de54c=_0x4756e9['OAquR'](importFileFromPWCore,_0x2bb2f0);if(_0x4de54c&&_0x4de54c['BrowserType'])return _0x4de54c[_0x41df5a(0x26e)];return _0x4756e9[_0x41df5a(0x22b)](getBrowserTypeFromBundledPlaywright);}catch(_0x1a0cb0){return logger['debug']('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x41df5a(0x204)](_0x1a0cb0)),null;}},getPlaywrightModulePath=()=>{const _0x2d48c2=a133_0x42066e,_0x4c3506={};_0x4c3506[_0x2d48c2(0x244)]=_0x2d48c2(0x242);const _0x351b0=_0x4c3506;return logger[_0x2d48c2(0x275)](_0x351b0['sSqEa']),null;},getBrowserTypePath=()=>{const _0x109e3c=a133_0x42066e,_0x101996={};_0x101996[_0x109e3c(0x1de)]=_0x109e3c(0x27a);const _0x1641e6=_0x101996;return logger[_0x109e3c(0x275)](_0x1641e6['ZIkZb']),null;},checkPwandBootstrapCli=async(_0x16dc10,_0x2e4bfe,_0x22f842)=>{const _0x25c2d1=a133_0x42066e,_0x12642e={'iIbjW':function(_0x4e0dc6,_0x2ebde5){return _0x4e0dc6(_0x2ebde5);},'CPnQW':_0x25c2d1(0x208)};if(_0x16dc10){const _0x637df9=constants[_0x25c2d1(0x24a)][_0x25c2d1(0x249)];logger[_0x25c2d1(0x275)](_0x25c2d1(0x267)+_0x16dc10+_0x25c2d1(0x1f0)+_0x2e4bfe+_0x25c2d1(0x1f5)),CLIUtils[_0x25c2d1(0x247)](_0x2e4bfe,_0x637df9);const {getProductMap:_0x2c645b}=_0x12642e['iIbjW'](require,_0x12642e[_0x25c2d1(0x225)]);process[_0x25c2d1(0x1e9)]['BROWSERSTACK_PRODUCT_MAP']=JSON[_0x25c2d1(0x1e6)](_0x12642e['iIbjW'](_0x2c645b,_0x22f842[_0x25c2d1(0x1f7)])),BrowserstackCLI[_0x25c2d1(0x27b)]()[_0x25c2d1(0x213)](_0x22f842[_0x25c2d1(0x1f7)],_0x22f842[_0x25c2d1(0x201)],_0x22f842[_0x25c2d1(0x219)]),await BrowserstackCLI[_0x25c2d1(0x27b)]()[_0x25c2d1(0x1e0)]();}},connectOverCDPWithRetry=async(_0x4848d6,_0x340763,_0x2e8296,_0x524d9d=0x3,_0x447950=0x1f4)=>{const _0x355d6d=a133_0x42066e,_0x2357a0={};_0x2357a0['mSicD']=function(_0x3a132b,_0x83bbf5){return _0x3a132b<=_0x83bbf5;},_0x2357a0[_0x355d6d(0x243)]=_0x355d6d(0x24f),_0x2357a0[_0x355d6d(0x1e5)]=_0x355d6d(0x27c),_0x2357a0[_0x355d6d(0x1e4)]='WebSocket\x20error',_0x2357a0[_0x355d6d(0x232)]=_0x355d6d(0x25b),_0x2357a0[_0x355d6d(0x20b)]=_0x355d6d(0x218),_0x2357a0[_0x355d6d(0x271)]=_0x355d6d(0x21f),_0x2357a0[_0x355d6d(0x224)]=function(_0x266d2b,_0x4eb14c){return _0x266d2b===_0x4eb14c;},_0x2357a0[_0x355d6d(0x260)]=function(_0x196a56,_0x51b08f){return _0x196a56+_0x51b08f;},_0x2357a0[_0x355d6d(0x24d)]=function(_0xa88c3a,_0x3b323a){return _0xa88c3a*_0x3b323a;},_0x2357a0[_0x355d6d(0x274)]=function(_0x51b059,_0x2d5a26){return _0x51b059+_0x2d5a26;},_0x2357a0['ZULdc']=function(_0xa8e38c,_0x223947){return _0xa8e38c+_0x223947;};const _0x48bf93=_0x2357a0;let _0x122c6f;for(let _0x35a11a=0x0;_0x48bf93[_0x355d6d(0x240)](_0x35a11a,_0x524d9d);_0x35a11a++){try{return await _0x4848d6[_0x355d6d(0x1e1)]['apply'](_0x340763,_0x2e8296);}catch(_0x2cec56){_0x122c6f=_0x2cec56;const _0x16fac6=_0x2cec56&&_0x2cec56[_0x355d6d(0x227)]||'',_0x5c9a0c=_0x16fac6['includes'](_0x48bf93[_0x355d6d(0x243)])||_0x16fac6['includes'](_0x48bf93[_0x355d6d(0x1e5)])||_0x16fac6[_0x355d6d(0x250)](_0x48bf93[_0x355d6d(0x1e4)])||_0x16fac6[_0x355d6d(0x250)](_0x48bf93[_0x355d6d(0x232)])||_0x16fac6['includes'](_0x48bf93['PsDgw'])||_0x16fac6['includes'](_0x48bf93[_0x355d6d(0x271)]);if(!_0x5c9a0c||_0x48bf93['mEZTK'](_0x35a11a,_0x524d9d)){_0x5c9a0c&&logger[_0x355d6d(0x214)](_0x355d6d(0x21b)+_0x48bf93[_0x355d6d(0x260)](_0x35a11a,0x1)+_0x355d6d(0x1fc)+_0x16fac6);throw _0x2cec56;}const _0x2349f7=_0x48bf93[_0x355d6d(0x24d)](_0x447950,_0x48bf93[_0x355d6d(0x260)](_0x35a11a,0x1));logger[_0x355d6d(0x214)]('[A11Y]\x20connectOverCDP\x20attempt\x20'+_0x48bf93[_0x355d6d(0x274)](_0x35a11a,0x1)+'/'+_0x48bf93[_0x355d6d(0x26a)](_0x524d9d,0x1)+_0x355d6d(0x237)+_0x16fac6+_0x355d6d(0x1eb)+_0x2349f7+'ms'),await new Promise(_0x314440=>setTimeout(_0x314440,_0x2349f7));}}throw _0x122c6f;},a133_0xd8be97={};a133_0xd8be97[a133_0x42066e(0x20e)]=convertW3CToJsonWire,a133_0xd8be97['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a133_0xd8be97[a133_0x42066e(0x25c)]=generatePlaywrightUrl,a133_0xd8be97[a133_0x42066e(0x239)]=getBrowserFromCaps,a133_0xd8be97['isPlaywrightAvailable']=isPlaywrightAvailable,a133_0xd8be97[a133_0x42066e(0x23c)]=getPlaywrightBrowserType,a133_0xd8be97[a133_0x42066e(0x211)]=getPlaywrightModulePath,a133_0xd8be97[a133_0x42066e(0x1fe)]=getBrowserTypePath,a133_0xd8be97[a133_0x42066e(0x251)]=importFileFromPWCore,a133_0xd8be97[a133_0x42066e(0x268)]=checkPwandBootstrapCli,a133_0xd8be97[a133_0x42066e(0x255)]=connectOverCDPWithRetry,a133_0xd8be97[a133_0x42066e(0x24b)]=getBundledConnectionClass,module[a133_0x42066e(0x1e7)]=a133_0xd8be97;
|
|
1
|
+
function a134_0x1cfc(_0x42a96a,_0x463570){const _0x2d2b7f=a134_0x2d2b();return a134_0x1cfc=function(_0x1cfcca,_0x244747){_0x1cfcca=_0x1cfcca-0xe7;let _0x375074=_0x2d2b7f[_0x1cfcca];return _0x375074;},a134_0x1cfc(_0x42a96a,_0x463570);}function a134_0x2d2b(){const _0x58e978=['./w3cMapping','./testhub/utils','error','FIGEU','FRAMEWORKS','browserstack.buildProductMap','UIuAT','Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed','ymYYP','join','zYthk','VdeMR','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','getPlaywrightModulePath','bootstrap','../bin/utils/constants','llGmo','\x20flow','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','isArray','897016HUwfyB','GfvzM','env','getPlaywrightBrowserType','stringify','QxRLT','message','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','QSLOs','connectOverCDPWithRetry','format','projects','debug','browserstack.accessibilityOptions.authToken','browserstack.accessibilityOptions.wcagVersion','parse','util','jqDEr','Playwright\x20not\x20available:\x20','[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20','ECONNRESET','WebSocket\x20error','setFrameworkDetail','SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null','length','copSN','BgVIq','ECONNREFUSED','playwrightConfigObject','BROWSERSTACK_PRODUCT_MAP','),\x20retrying\x20in\x20','getPlaywrightUrl','pwTZF','apply','getInstance','903588Mcetfz','webkit','__accessibilityOptions','UcQPX','\x20failed\x20(','Vxkam','SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20','capabilities','ubBzs','connectOverCDP:\x20CDPSession','../bin/v2/grpcClient','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','129VUpNaO','browserType.js','BROWSERSTACK_TESTHUB_UUID','getConfig','getBrowserFromCaps','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','chromium','yqqmJ','133988sAWyre','getBuildProductMap','Timeout','PLAYWRIGHT','firefox','use','ZhqjL','OCBHH','constructor','vApjW','getPWCorePath','requirePWModule','SkKHR','aZWhs','BrowserType','lhCsQ','Error\x20loading\x20bundled\x20Playwright\x20entry:\x20','entries','chrome','setBrowserstackConfig','BS_A11Y_JWT','platformCaps','[A11Y]\x20connectOverCDP\x20attempt\x20','IZaCe','W3CMapping','../bin/v2/cliUtils','lib','RQKoN','nlAsE','configPath','IPlcu','530UVmaEv','84642nnVeGz','SbgIN','includes','idTfH','unDUd','16972329opTgQi','NPTxB','getBundledConnectionClass','AvyVa','\x20for\x20','PKrlo','bstack:options','wtcdZ','browser','getBrowserTypePath','1328BctTYf','browserstack.testhubBuildUuid','../bin/v2/browserstackCLI','getPlaywrightConfig','__platformCaps','config','aZvby','BaWDV','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','91cgoYoZ','fcajL','27MKsJtG','10jlSCsM','workers','2091792ASkiWK','kltZG','sfssn','./helper','2298nMFeNX','OFeSd','oyGqf','cliConfig','bteAS','getModifiedConfigFromCLI','beAsD','framework','_connection','./logger','client','LVWPO'];a134_0x2d2b=function(){return _0x58e978;};return a134_0x2d2b();}const a134_0x322310=a134_0x1cfc;(function(_0x17bc9b,_0xf85efa){const _0x55f7e3=a134_0x1cfc,_0x5e3154=_0x17bc9b();while(!![]){try{const _0x1011d3=-parseInt(_0x55f7e3(0x15d))/0x1*(parseInt(_0x55f7e3(0x14b))/0x2)+-parseInt(_0x55f7e3(0x114))/0x3*(-parseInt(_0x55f7e3(0x11c))/0x4)+parseInt(_0x55f7e3(0x13b))/0x5*(parseInt(_0x55f7e3(0x13c))/0x6)+parseInt(_0x55f7e3(0x108))/0x7+parseInt(_0x55f7e3(0x17d))/0x8*(-parseInt(_0x55f7e3(0x156))/0x9)+parseInt(_0x55f7e3(0x157))/0xa*(-parseInt(_0x55f7e3(0x141))/0xb)+-parseInt(_0x55f7e3(0x159))/0xc*(-parseInt(_0x55f7e3(0x154))/0xd);if(_0x1011d3===_0xf85efa)break;else _0x5e3154['push'](_0x5e3154['shift']());}catch(_0xff7aaa){_0x5e3154['push'](_0x5e3154['shift']());}}}(a134_0x2d2b,0xd6cc9));const path=require('path'),util=require(a134_0x322310(0xf5)),{importFileFromPWCore}=require('./helper'),helper=require(a134_0x322310(0x15c)),logger=require(a134_0x322310(0x166))['winstonLogger'],W3CMapping=require(a134_0x322310(0x169))[a134_0x322310(0x134)](),constants=require(a134_0x322310(0x178)),BrowserstackCLI=require(a134_0x322310(0x14d)),CLIUtils=require(a134_0x322310(0x135));let GrpcClient;try{GrpcClient=require(a134_0x322310(0x112));}catch(a134_0x293bec){logger[a134_0x322310(0xf1)]('Could\x20not\x20import\x20GrpcClient:\x20'+a134_0x293bec[a134_0x322310(0xeb)]),GrpcClient=null;}const convertW3CToJsonWire=_0x213161=>{const _0x3676cb=a134_0x322310,_0x4485fa={};_0x4485fa[_0x3676cb(0x142)]=function(_0x40ab5b,_0x239430){return _0x40ab5b||_0x239430;},_0x4485fa[_0x3676cb(0x168)]=function(_0x437592,_0x500920){return _0x437592===_0x500920;},_0x4485fa[_0x3676cb(0xea)]=_0x3676cb(0x147),_0x4485fa[_0x3676cb(0xff)]=function(_0x414adf,_0x205ac4){return _0x414adf in _0x205ac4;};const _0x5557c8=_0x4485fa,_0x57b8b7={};for(const [_0x1ad007,_0xd3642b]of Object[_0x3676cb(0x12d)](_0x5557c8['NPTxB'](_0x213161,{}))){if(_0x5557c8['LVWPO'](_0x1ad007,_0x5557c8[_0x3676cb(0xea)]))continue;let _0x218249=![];for(const [_0x30da15,_0x4f218c]of Object[_0x3676cb(0x12d)](W3CMapping)){if(_0x5557c8[_0x3676cb(0x168)](_0x1ad007,_0x4f218c)){_0x57b8b7[_0x30da15]=_0xd3642b,_0x218249=!![];break;}}!_0x218249&&(_0x57b8b7[_0x1ad007]=_0xd3642b);}const _0x2c9efa=_0x213161[_0x5557c8[_0x3676cb(0xea)]]||{};for(const [_0x26f2e1,_0x52d772]of Object['entries'](_0x2c9efa)){let _0x24ef2c=![];for(const [_0x3b8e10,_0x53f864]of Object['entries'](W3CMapping)){if(_0x5557c8[_0x3676cb(0x168)](_0x26f2e1,_0x53f864)){_0x57b8b7[_0x3b8e10]=_0x52d772,_0x24ef2c=!![];break;}}!_0x24ef2c&&!_0x5557c8[_0x3676cb(0xff)](_0x26f2e1,_0x57b8b7)&&(_0x57b8b7[_0x26f2e1]=_0x52d772);}return logger[_0x3676cb(0xf1)](_0x3676cb(0xec)+JSON[_0x3676cb(0xe9)](_0x57b8b7)),_0x57b8b7;},getModifiedConfigFromCLI=async _0x5b1071=>{const _0x552312=a134_0x322310,_0x1602ad={};_0x1602ad[_0x552312(0x10b)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x1602ad['DmDic']='cucumberjs-pw',_0x1602ad[_0x552312(0x16f)]=_0x552312(0x119),_0x1602ad[_0x552312(0xed)]='No\x20modified\x20config\x20received\x20from\x20gRPC',_0x1602ad[_0x552312(0x10d)]=function(_0x592b15,_0x202e22){return _0x592b15>_0x202e22;},_0x1602ad['lhCsQ']=function(_0x35b83f,_0x3106e8){return _0x35b83f>_0x3106e8;},_0x1602ad[_0x552312(0x15a)]=_0x552312(0x153);const _0x5cc275=_0x1602ad;try{if(!GrpcClient)return logger['debug'](_0x5cc275['UcQPX']),null;const _0xecd149={};_0xecd149[_0x552312(0x10f)]=_0x5b1071,_0xecd149[_0x552312(0x164)]=_0x5cc275['DmDic'],_0xecd149[_0x552312(0x158)]=0x1,_0xecd149[_0x552312(0xf0)]=[];const _0x4a37b0=_0xecd149;logger[_0x552312(0xf1)](_0x5cc275[_0x552312(0x16f)]);const _0x180a6d={};_0x180a6d[_0x552312(0x101)]=_0x4a37b0;const _0x4134c4=await GrpcClient[_0x552312(0x107)]()[_0x552312(0x14e)](_0x180a6d);if(!_0x4134c4[_0x552312(0x117)]())return logger[_0x552312(0xf1)](_0x5cc275[_0x552312(0xed)]),null;const _0x56ff72=JSON[_0x552312(0xf4)](_0x4134c4[_0x552312(0x117)]());logger['debug']('Received\x20modified\x20config\x20from\x20gRPC:\x20'+JSON['stringify'](_0x56ff72));if(_0x56ff72[_0x552312(0x10f)]&&Array['isArray'](_0x56ff72[_0x552312(0x10f)])&&_0x5cc275[_0x552312(0x10d)](_0x56ff72[_0x552312(0x10f)][_0x552312(0xfd)],0x0))return _0x56ff72[_0x552312(0x10f)][0x0];else{if(_0x56ff72[_0x552312(0xf0)]&&Array[_0x552312(0x17c)](_0x56ff72[_0x552312(0xf0)])&&_0x5cc275[_0x552312(0x12b)](_0x56ff72[_0x552312(0xf0)][_0x552312(0xfd)],0x0)){const _0x3c9df5=_0x56ff72[_0x552312(0xf0)][0x0];if(_0x3c9df5[_0x552312(0x121)]&&_0x3c9df5[_0x552312(0x121)][_0x552312(0x131)])return _0x3c9df5[_0x552312(0x121)][_0x552312(0x131)];}}return logger[_0x552312(0xf1)](_0x5cc275[_0x552312(0x15a)]),null;}catch(_0x30fd59){logger[_0x552312(0x16b)]('Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20'+_0x30fd59[_0x552312(0xeb)]);throw _0x30fd59;}},generatePlaywrightUrl=(_0x37cfa4,_0xcc4bfe)=>{const _0x1f1c3d=a134_0x322310,_0x260445={'FIGEU':function(_0x454c5f,_0x464788){return _0x454c5f!==_0x464788;},'yqqmJ':function(_0x415d91,_0x2d25ab){return _0x415d91!==_0x2d25ab;},'sfssn':function(_0x3d157a,_0x2d2fda){return _0x3d157a!==_0x2d2fda;},'SkKHR':function(_0x38e444,_0x4cc385){return _0x38e444(_0x4cc385);},'unDUd':function(_0x3e70b2,_0x36e9bd){return _0x3e70b2||_0x36e9bd;},'ubBzs':function(_0x5d6dbc,_0x581dba){return _0x5d6dbc(_0x581dba);},'ZhqjL':_0x1f1c3d(0xf2),'BaWDV':function(_0x18c0f1,_0xa398b){return _0x18c0f1(_0xa398b);},'RQKoN':_0x1f1c3d(0xf3),'nlAsE':'browserstack.accessibilityOptions.scannerVersion','zYthk':'browserstack.accessibilityOptions.scannerProcessingTimeout','aZWhs':_0x1f1c3d(0x14c),'bteAS':_0x1f1c3d(0x16e),'llGmo':function(_0x3392f3,_0x424b98){return _0x3392f3+_0x424b98;},'ZYsPe':function(_0x3ef5a3,_0x43f21f){return _0x3ef5a3(_0x43f21f);}},_0x2b8069=helper[_0x1f1c3d(0x104)](_0x37cfa4),_0x2ef4d3=_0x260445[_0x1f1c3d(0x128)](convertW3CToJsonWire,_0xcc4bfe);try{const _0x29bb31=[_0x260445[_0x1f1c3d(0x140)](_0xcc4bfe,{}),global['__launchCaps']||{},global[_0x1f1c3d(0x14f)]||{},global[_0x1f1c3d(0x10a)]||{}],_0x37bb85=_0x47d410=>{const _0x4b73ba=_0x1f1c3d;if(_0x260445[_0x4b73ba(0x16c)](_0x2ef4d3[_0x47d410],undefined)&&_0x260445['FIGEU'](_0x2ef4d3[_0x47d410],null)&&_0x260445[_0x4b73ba(0x11b)](_0x2ef4d3[_0x47d410],''))return;for(const _0x25a3e7 of _0x29bb31){if(_0x25a3e7&&_0x260445[_0x4b73ba(0x11b)](_0x25a3e7[_0x47d410],undefined)&&_0x260445[_0x4b73ba(0x11b)](_0x25a3e7[_0x47d410],null)&&_0x260445[_0x4b73ba(0x15b)](_0x25a3e7[_0x47d410],'')){_0x2ef4d3[_0x47d410]=_0x25a3e7[_0x47d410];return;}}};_0x260445[_0x1f1c3d(0x110)](_0x37bb85,_0x260445['ZhqjL']),_0x260445[_0x1f1c3d(0x152)](_0x37bb85,_0x260445[_0x1f1c3d(0x137)]),_0x260445['BaWDV'](_0x37bb85,_0x260445[_0x1f1c3d(0x138)]),_0x260445['ubBzs'](_0x37bb85,_0x260445[_0x1f1c3d(0x173)]),!_0x2ef4d3[_0x260445[_0x1f1c3d(0x122)]]&&process[_0x1f1c3d(0xe7)][_0x1f1c3d(0x130)]&&(_0x2ef4d3[_0x260445[_0x1f1c3d(0x122)]]=process['env'][_0x1f1c3d(0x130)]);}catch(_0x254195){logger['debug'](_0x1f1c3d(0x113)+util[_0x1f1c3d(0xef)](_0x254195));}return _0x2ef4d3[_0x260445[_0x1f1c3d(0x129)]]=process[_0x1f1c3d(0xe7)][_0x1f1c3d(0x116)],_0x2ef4d3[_0x260445[_0x1f1c3d(0x161)]]=helper[_0x1f1c3d(0x11d)](),_0x260445[_0x1f1c3d(0x179)](_0x2b8069,_0x260445['ZYsPe'](encodeURIComponent,JSON[_0x1f1c3d(0xe9)](_0x2ef4d3)));},getBrowserFromCaps=_0x13233f=>{const _0x6aafed=a134_0x322310,_0x3e0581={};_0x3e0581[_0x6aafed(0xfe)]=_0x6aafed(0x12e);const _0x2b359c=_0x3e0581;return _0x13233f['browserName']||_0x13233f[_0x6aafed(0x149)]||_0x2b359c['copSN'];},getBrowserTypeFromBundledPlaywright=()=>{const _0x17bcd0=a134_0x322310;try{const _0x58b441=helper[_0x17bcd0(0x126)]();if(!_0x58b441)return null;const _0x3057cc=helper[_0x17bcd0(0x127)](_0x58b441),_0x1559b3=_0x3057cc&&(_0x3057cc[_0x17bcd0(0x11a)]||_0x3057cc['firefox']||_0x3057cc[_0x17bcd0(0x109)]);if(!_0x1559b3)return null;return _0x1559b3[_0x17bcd0(0x124)]||null;}catch(_0x4f6b79){return logger[_0x17bcd0(0xf1)](_0x17bcd0(0x12c)+util[_0x17bcd0(0xef)](_0x4f6b79)),null;}},getBundledConnectionClass=()=>{const _0x13470d=a134_0x322310,_0x149681={};_0x149681[_0x13470d(0x17e)]=_0x13470d(0xfc);const _0x55e2f6=_0x149681;try{const _0x131931=helper[_0x13470d(0x126)]();if(!_0x131931)return null;const _0x1a0db7=helper['requirePWModule'](_0x131931),_0x116b03=_0x1a0db7&&(_0x1a0db7[_0x13470d(0x11a)]||_0x1a0db7[_0x13470d(0x120)]||_0x1a0db7[_0x13470d(0x109)]);if(!_0x116b03)return null;if(!_0x116b03[_0x13470d(0x165)])return logger[_0x13470d(0xf1)](_0x55e2f6[_0x13470d(0x17e)]),null;if(!_0x116b03[_0x13470d(0x165)][_0x13470d(0x124)])return null;return _0x116b03[_0x13470d(0x165)][_0x13470d(0x124)];}catch(_0x515c7b){return logger[_0x13470d(0xf1)](_0x13470d(0x10e)+util[_0x13470d(0xef)](_0x515c7b)),null;}},isPlaywrightAvailable=()=>{const _0xdd5938=a134_0x322310,_0x4571b1={'ymYYP':_0xdd5938(0x136),'VdeMR':_0xdd5938(0x167),'KhzkU':_0xdd5938(0x115),'ySxnW':function(_0x13bad9,_0x44c0e0){return _0x13bad9(_0x44c0e0);},'tXRMS':function(_0x431266){return _0x431266();}};try{const _0xba6589=path[_0xdd5938(0x172)](_0x4571b1[_0xdd5938(0x171)],_0x4571b1[_0xdd5938(0x174)],_0x4571b1['KhzkU']),_0x3072db=_0x4571b1['ySxnW'](importFileFromPWCore,_0xba6589);if(_0x3072db)return!![];return!!_0x4571b1['tXRMS'](getBrowserTypeFromBundledPlaywright);}catch(_0x2422d8){return logger[_0xdd5938(0xf1)](_0xdd5938(0xf7)+util[_0xdd5938(0xef)](_0x2422d8)),![];}},getPlaywrightBrowserType=()=>{const _0x1e657e=a134_0x322310,_0x380bda={'AvHyK':'lib','Hgoje':_0x1e657e(0x167),'RLOGx':_0x1e657e(0x115),'vNvBF':function(_0x4b0b46,_0x51bb0a){return _0x4b0b46(_0x51bb0a);},'IPlcu':function(_0x24f3c0){return _0x24f3c0();}};try{const _0x124d10=path[_0x1e657e(0x172)](_0x380bda['AvHyK'],_0x380bda['Hgoje'],_0x380bda['RLOGx']),_0x20667b=_0x380bda['vNvBF'](importFileFromPWCore,_0x124d10);if(_0x20667b&&_0x20667b[_0x1e657e(0x12a)])return _0x20667b[_0x1e657e(0x12a)];return _0x380bda[_0x1e657e(0x13a)](getBrowserTypeFromBundledPlaywright);}catch(_0x2f1989){return logger[_0x1e657e(0xf1)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x1e657e(0xef)](_0x2f1989)),null;}},getPlaywrightModulePath=()=>{const _0x52b822=a134_0x322310,_0x52af7f={};_0x52af7f['aZvby']=_0x52b822(0x175);const _0x126fa4=_0x52af7f;return logger[_0x52b822(0xf1)](_0x126fa4[_0x52b822(0x151)]),null;},getBrowserTypePath=()=>{const _0x4974cd=a134_0x322310,_0x10c3ef={};_0x10c3ef[_0x4974cd(0x133)]=_0x4974cd(0x17b);const _0x66b7ba=_0x10c3ef;return logger[_0x4974cd(0xf1)](_0x66b7ba['IZaCe']),null;},checkPwandBootstrapCli=async(_0x157327,_0x562126,_0x22499c)=>{const _0x1abe08=a134_0x322310,_0x496205={'beAsD':function(_0x476f7e,_0x55b3ad){return _0x476f7e(_0x55b3ad);},'pwTZF':_0x1abe08(0x16a)};if(_0x157327){const _0x19cb8c=constants[_0x1abe08(0x16d)][_0x1abe08(0x11f)];logger[_0x1abe08(0xf1)]('Detected\x20Playwright\x20version\x20'+_0x157327+_0x1abe08(0x145)+_0x562126+_0x1abe08(0x17a)),CLIUtils[_0x1abe08(0xfb)](_0x562126,_0x19cb8c);const {getProductMap:_0x4d8588}=_0x496205[_0x1abe08(0x163)](require,_0x496205[_0x1abe08(0x105)]);process[_0x1abe08(0xe7)][_0x1abe08(0x102)]=JSON[_0x1abe08(0xe9)](_0x496205[_0x1abe08(0x163)](_0x4d8588,_0x22499c[_0x1abe08(0x150)])),BrowserstackCLI[_0x1abe08(0x107)]()[_0x1abe08(0x12f)](_0x22499c[_0x1abe08(0x150)],_0x22499c[_0x1abe08(0x139)],_0x22499c[_0x1abe08(0x160)]),await BrowserstackCLI[_0x1abe08(0x107)]()[_0x1abe08(0x177)]();}},connectOverCDPWithRetry=async(_0x5eb61c,_0x646dd5,_0x11540b,_0x278878=0x3,_0x47af2a=0x1f4)=>{const _0x2d6a8f=a134_0x322310,_0x4b8a7c={};_0x4b8a7c['OCBHH']=function(_0x2e8553,_0x501bb2){return _0x2e8553<=_0x501bb2;},_0x4b8a7c['NjXdy']=_0x2d6a8f(0x170),_0x4b8a7c[_0x2d6a8f(0xf6)]=_0x2d6a8f(0x11e),_0x4b8a7c[_0x2d6a8f(0x13d)]=_0x2d6a8f(0xfa),_0x4b8a7c[_0x2d6a8f(0x13f)]=_0x2d6a8f(0x111),_0x4b8a7c[_0x2d6a8f(0x155)]=_0x2d6a8f(0xf9),_0x4b8a7c['wtcdZ']=_0x2d6a8f(0x100),_0x4b8a7c[_0x2d6a8f(0x15f)]=function(_0x34303c,_0x20733f){return _0x34303c===_0x20733f;},_0x4b8a7c[_0x2d6a8f(0x146)]=function(_0xa41b33,_0x1f46bb){return _0xa41b33+_0x1f46bb;},_0x4b8a7c['vApjW']=function(_0x5812c3,_0x58a718){return _0x5812c3*_0x58a718;},_0x4b8a7c[_0x2d6a8f(0x15e)]=function(_0x24bdd3,_0x3c6fe2){return _0x24bdd3+_0x3c6fe2;},_0x4b8a7c[_0x2d6a8f(0x144)]=function(_0x34e051,_0x1b1d7e){return _0x34e051+_0x1b1d7e;};const _0x4d0b2d=_0x4b8a7c;let _0x5d6297;for(let _0x11e326=0x0;_0x4d0b2d[_0x2d6a8f(0x123)](_0x11e326,_0x278878);_0x11e326++){try{return await _0x5eb61c['connectOverCDP'][_0x2d6a8f(0x106)](_0x646dd5,_0x11540b);}catch(_0x321a33){_0x5d6297=_0x321a33;const _0x3e93bc=_0x321a33&&_0x321a33[_0x2d6a8f(0xeb)]||'',_0x176fe3=_0x3e93bc[_0x2d6a8f(0x13e)](_0x4d0b2d['NjXdy'])||_0x3e93bc[_0x2d6a8f(0x13e)](_0x4d0b2d['jqDEr'])||_0x3e93bc['includes'](_0x4d0b2d[_0x2d6a8f(0x13d)])||_0x3e93bc['includes'](_0x4d0b2d[_0x2d6a8f(0x13f)])||_0x3e93bc[_0x2d6a8f(0x13e)](_0x4d0b2d[_0x2d6a8f(0x155)])||_0x3e93bc[_0x2d6a8f(0x13e)](_0x4d0b2d[_0x2d6a8f(0x148)]);if(!_0x176fe3||_0x4d0b2d[_0x2d6a8f(0x15f)](_0x11e326,_0x278878)){_0x176fe3&&logger['warn'](_0x2d6a8f(0xf8)+_0x4d0b2d[_0x2d6a8f(0x146)](_0x11e326,0x1)+'\x20attempts\x20—\x20surfacing\x20error:\x20'+_0x3e93bc);throw _0x321a33;}const _0x530770=_0x4d0b2d[_0x2d6a8f(0x125)](_0x47af2a,_0x4d0b2d[_0x2d6a8f(0x146)](_0x11e326,0x1));logger['warn'](_0x2d6a8f(0x132)+_0x4d0b2d[_0x2d6a8f(0x15e)](_0x11e326,0x1)+'/'+_0x4d0b2d['AvyVa'](_0x278878,0x1)+_0x2d6a8f(0x10c)+_0x3e93bc+_0x2d6a8f(0x103)+_0x530770+'ms'),await new Promise(_0x14205a=>setTimeout(_0x14205a,_0x530770));}}throw _0x5d6297;},a134_0x55390e={};a134_0x55390e['convertW3CToJsonWire']=convertW3CToJsonWire,a134_0x55390e[a134_0x322310(0x162)]=getModifiedConfigFromCLI,a134_0x55390e['generatePlaywrightUrl']=generatePlaywrightUrl,a134_0x55390e[a134_0x322310(0x118)]=getBrowserFromCaps,a134_0x55390e['isPlaywrightAvailable']=isPlaywrightAvailable,a134_0x55390e[a134_0x322310(0xe8)]=getPlaywrightBrowserType,a134_0x55390e[a134_0x322310(0x176)]=getPlaywrightModulePath,a134_0x55390e[a134_0x322310(0x14a)]=getBrowserTypePath,a134_0x55390e['importFileFromPWCore']=importFileFromPWCore,a134_0x55390e['checkPwandBootstrapCli']=checkPwandBootstrapCli,a134_0x55390e[a134_0x322310(0xee)]=connectOverCDPWithRetry,a134_0x55390e[a134_0x322310(0x143)]=getBundledConnectionClass,module['exports']=a134_0x55390e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135_0x207db1=a135_0x1aa7;function a135_0x3e3f(){const _0x1acab9=['RuaxY','176756cFHegG','1cZaojk','toISOString','99AhczLE','275ZEIBnl','browserstackTestName','172HVfxXi','NXRMR','getGlobal','sleep','\x20]\x20','1363360TyJYdg','9852lLrAxd','TgUxp','./globals','env','160260QHvdKa','TEST_REPORTING_ANALYTICS','./logger','getTestName','BROWSERSTACK_TEST_REPORTING_DEBUG','250455xploSt','6JtXYii','uVPhj','1494262sOgxrN','5984rQLXbA','BROWSERSTACK_OBSERVABILITY_DEBUG','../bin/utils/constants','getProcessId','debug','./test-observability/constants'];a135_0x3e3f=function(){return _0x1acab9;};return a135_0x3e3f();}function a135_0x1aa7(_0x38d012,_0x321efd){const _0x3e3f97=a135_0x3e3f();return a135_0x1aa7=function(_0x1aa71b,_0x1d3ac9){_0x1aa71b=_0x1aa71b-0x1b7;let _0x11de36=_0x3e3f97[_0x1aa71b];return _0x11de36;},a135_0x1aa7(_0x38d012,_0x321efd);}(function(_0x4e655e,_0x213e32){const _0x5b2f91=a135_0x1aa7,_0x4ce162=_0x4e655e();while(!![]){try{const _0x34096f=-parseInt(_0x5b2f91(0x1c0))/0x1*(parseInt(_0x5b2f91(0x1bf))/0x2)+-parseInt(_0x5b2f91(0x1cb))/0x3*(-parseInt(_0x5b2f91(0x1c5))/0x4)+-parseInt(_0x5b2f91(0x1d4))/0x5*(-parseInt(_0x5b2f91(0x1d5))/0x6)+parseInt(_0x5b2f91(0x1b7))/0x7+-parseInt(_0x5b2f91(0x1b8))/0x8*(-parseInt(_0x5b2f91(0x1c2))/0x9)+parseInt(_0x5b2f91(0x1ca))/0xa+-parseInt(_0x5b2f91(0x1c3))/0xb*(parseInt(_0x5b2f91(0x1cf))/0xc);if(_0x34096f===_0x213e32)break;else _0x4ce162['push'](_0x4ce162['shift']());}catch(_0x49d4fb){_0x4ce162['push'](_0x4ce162['shift']());}}}(a135_0x3e3f,0x1f068));const worker=require('worker_threads'),{fileLogger}=require(a135_0x207db1(0x1d1)),{consoleHolder}=require(a135_0x207db1(0x1bd)),globals=require(a135_0x207db1(0x1cd)),constants=require(a135_0x207db1(0x1ba));exports[a135_0x207db1(0x1bb)]=()=>{return process['pid']+'-'+worker['threadId'];},exports[a135_0x207db1(0x1d2)]=()=>{const _0x31046d=a135_0x207db1,_0x33eba0={};_0x33eba0[_0x31046d(0x1c6)]=_0x31046d(0x1c4);const _0x31406c=_0x33eba0;return globals[_0x31046d(0x1c7)](_0x31406c[_0x31046d(0x1c6)]);},exports[a135_0x207db1(0x1c8)]=(_0x2da0ed=0x64)=>new Promise(_0x5aecb2=>setTimeout(_0x5aecb2,_0x2da0ed)),exports[a135_0x207db1(0x1bc)]=_0x532d20=>{const _0x3ec5f6=a135_0x207db1,_0x5259a0={};_0x5259a0[_0x3ec5f6(0x1d6)]=function(_0x401a8f,_0x1bf062){return _0x401a8f===_0x1bf062;},_0x5259a0['RuaxY']='true',_0x5259a0[_0x3ec5f6(0x1cc)]=function(_0x137608,_0x3262f6){return _0x137608===_0x3262f6;};const _0x5d731d=_0x5259a0;fileLogger[_0x3ec5f6(0x1bc)]('['+new Date()['toISOString']()+'][\x20'+constants[_0x3ec5f6(0x1d0)]+'\x20]\x20'+_0x532d20),(_0x5d731d[_0x3ec5f6(0x1d6)](process['env'][_0x3ec5f6(0x1d3)],_0x5d731d[_0x3ec5f6(0x1be)])||_0x5d731d[_0x3ec5f6(0x1cc)](process[_0x3ec5f6(0x1ce)][_0x3ec5f6(0x1d3)],'1')||_0x5d731d['uVPhj'](process[_0x3ec5f6(0x1ce)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x5d731d[_0x3ec5f6(0x1be)])||_0x5d731d[_0x3ec5f6(0x1d6)](process[_0x3ec5f6(0x1ce)][_0x3ec5f6(0x1b9)],'1'))&&consoleHolder['log']('\x0a['+new Date()[_0x3ec5f6(0x1c1)]()+'][\x20'+constants[_0x3ec5f6(0x1d0)]+_0x3ec5f6(0x1c9)+_0x532d20+'\x0a');};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136_0x52397e=a136_0xf7d7;(function(_0x538744,_0x277300){const _0x4f3a82=a136_0xf7d7,_0xf599ba=_0x538744();while(!![]){try{const _0x5f2d66=-parseInt(_0x4f3a82(0x19a))/0x1+-parseInt(_0x4f3a82(0x19d))/0x2+parseInt(_0x4f3a82(0x1ab))/0x3*(parseInt(_0x4f3a82(0x187))/0x4)+-parseInt(_0x4f3a82(0x188))/0x5+-parseInt(_0x4f3a82(0x1ac))/0x6*(parseInt(_0x4f3a82(0x198))/0x7)+-parseInt(_0x4f3a82(0x184))/0x8*(parseInt(_0x4f3a82(0x1a8))/0x9)+parseInt(_0x4f3a82(0x17c))/0xa;if(_0x5f2d66===_0x277300)break;else _0xf599ba['push'](_0xf599ba['shift']());}catch(_0x5e72be){_0xf599ba['push'](_0xf599ba['shift']());}}}(a136_0x324f,0x8b2b5));const util=require(a136_0x52397e(0x1ba)),helper=require(a136_0x52397e(0x1a5)),logger=require('./logger')['winstonLogger'],W3CMapping=require('./w3cMapping')['W3CMapping'](),constants=require(a136_0x52397e(0x1a2)),BrowserstackCLI=require(a136_0x52397e(0x1b2)),CLIUtils=require('../bin/v2/cliUtils'),getAPIUtilityMethods=()=>{const _0x2e5872=a136_0x52397e,_0x429343={'diRVI':function(_0x286aeb,_0x5782df){return _0x286aeb(_0x5782df);},'jLkNr':_0x2e5872(0x1b7)};return _0x429343['diRVI'](require,_0x429343['jLkNr']);},getPuppeteerUrl=_0x1e07f8=>{const _0x247622=a136_0x52397e,_0x22324c={'oNNqP':function(_0x9c37f6){return _0x9c37f6();}};if(_0x1e07f8['turboScaleUrl'])return _0x1e07f8[_0x247622(0x191)];const _0x35731a=_0x22324c[_0x247622(0x195)](getAPIUtilityMethods);return _0x35731a[_0x247622(0x181)]('');},convertW3CToJsonWire=_0x378e13=>{const _0x5694d6=a136_0x52397e,_0x31b702={};_0x31b702[_0x5694d6(0x1aa)]=function(_0x1f00ff,_0x365261){return _0x1f00ff||_0x365261;},_0x31b702[_0x5694d6(0x189)]=function(_0x407907,_0x347160){return _0x407907===_0x347160;},_0x31b702[_0x5694d6(0x186)]=_0x5694d6(0x1b1),_0x31b702['YkkAa']=function(_0x7ed13a,_0x5bd2d1){return _0x7ed13a===_0x5bd2d1;},_0x31b702[_0x5694d6(0x1b6)]=function(_0x116ce0,_0x2c850a){return _0x116ce0===_0x2c850a;},_0x31b702[_0x5694d6(0x17e)]=function(_0xec2418,_0x14c0bc){return _0xec2418 in _0x14c0bc;};const _0x292b00=_0x31b702,_0x436e72={};for(const [_0x1adee1,_0x7d2e64]of Object[_0x5694d6(0x17d)](_0x292b00[_0x5694d6(0x1aa)](_0x378e13,{}))){if(_0x292b00['zJmOD'](_0x1adee1,_0x292b00[_0x5694d6(0x186)]))continue;let _0x125dad=![];for(const [_0x146394,_0x168a1f]of Object['entries'](W3CMapping)){if(_0x292b00[_0x5694d6(0x18f)](_0x1adee1,_0x168a1f)){_0x436e72[_0x146394]=_0x7d2e64,_0x125dad=!![];break;}}!_0x125dad&&(_0x436e72[_0x1adee1]=_0x7d2e64);}const _0x4d0442=_0x378e13[_0x292b00[_0x5694d6(0x186)]]||{};for(const [_0x5562b2,_0xdfec54]of Object[_0x5694d6(0x17d)](_0x4d0442)){let _0x3d34a8=![];for(const [_0x977c63,_0x2ec4c1]of Object[_0x5694d6(0x17d)](W3CMapping)){if(_0x292b00[_0x5694d6(0x1b6)](_0x5562b2,_0x2ec4c1)){_0x436e72[_0x977c63]=_0xdfec54,_0x3d34a8=!![];break;}}!_0x3d34a8&&!_0x292b00[_0x5694d6(0x17e)](_0x5562b2,_0x436e72)&&(_0x436e72[_0x5562b2]=_0xdfec54);}return logger[_0x5694d6(0x18b)]('[PuppeteerHelper]\x20Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0x5694d6(0x190)](_0x436e72)),_0x436e72;},generatePuppeteerUrl=(_0x54cb7c,_0x2bf212)=>{const _0x4d7dca=a136_0x52397e,_0x5da7fc={'LIjVs':function(_0xb29236,_0x33e56a){return _0xb29236(_0x33e56a);},'eDgAY':function(_0x13e3bc,_0x1651ac){return _0x13e3bc(_0x1651ac);},'KzRxj':_0x4d7dca(0x1a4),'FDcPB':_0x4d7dca(0x1a1),'hSMhL':function(_0x3aba31,_0x3dbdb4){return _0x3aba31+_0x3dbdb4;},'ZsUYA':function(_0x97b5a6,_0x647acc){return _0x97b5a6(_0x647acc);}},_0x33b4bd=_0x5da7fc['LIjVs'](getPuppeteerUrl,_0x54cb7c),_0x493e36=_0x5da7fc[_0x4d7dca(0x1a0)](convertW3CToJsonWire,_0x2bf212);return _0x493e36[_0x5da7fc[_0x4d7dca(0x19c)]]=process[_0x4d7dca(0x185)][_0x4d7dca(0x18d)],_0x493e36[_0x5da7fc[_0x4d7dca(0x17f)]]=helper['getBuildProductMap'](),_0x5da7fc['hSMhL'](_0x33b4bd,_0x5da7fc[_0x4d7dca(0x197)](encodeURIComponent,JSON[_0x4d7dca(0x190)](_0x493e36)));},isPuppeteerAvailable=()=>{const _0x5de938=a136_0x52397e,_0x3e6343={};_0x3e6343[_0x5de938(0x19e)]=_0x5de938(0x19f),_0x3e6343['cmwon']=_0x5de938(0x1b9);const _0x31a150=_0x3e6343;try{return require[_0x5de938(0x199)](_0x31a150[_0x5de938(0x19e)]),!![];}catch{try{return require['resolve'](_0x31a150[_0x5de938(0x1ad)]),!![];}catch{return![];}}},getPuppeteerVersion=()=>{const _0x43457c=a136_0x52397e,_0x484da0={};_0x484da0[_0x43457c(0x192)]=_0x43457c(0x19f),_0x484da0['cUXqM']='puppeteer';const _0x469f0d=_0x484da0;return helper[_0x43457c(0x1b5)](_0x469f0d[_0x43457c(0x192)])||helper[_0x43457c(0x1b5)](_0x469f0d[_0x43457c(0x182)]);},checkPuppeteerAndBootstrapCli=async(_0x3c48a3,_0x495cbe,_0x128d3e)=>{const _0x28e09b=a136_0x52397e,_0x44ca5d={'pWHqk':_0x28e09b(0x1a6),'deHUf':function(_0x1e5418,_0x1255d7){return _0x1e5418(_0x1255d7);},'KoHXl':'./testhub/utils'};if(_0x3c48a3){const _0x5371bb=constants['FRAMEWORKS'][_0x28e09b(0x1bb)];logger[_0x28e09b(0x18b)](_0x28e09b(0x193)+_0x3c48a3+_0x28e09b(0x1b8)+_0x495cbe+_0x28e09b(0x183)),process[_0x28e09b(0x185)][_0x28e09b(0x1ae)]=_0x44ca5d['pWHqk'],CLIUtils[_0x28e09b(0x1bc)](_0x495cbe,_0x5371bb);const {getProductMap:_0x49cadd}=_0x44ca5d[_0x28e09b(0x19b)](require,_0x44ca5d[_0x28e09b(0x18a)]);process[_0x28e09b(0x185)]['BROWSERSTACK_PRODUCT_MAP']=JSON['stringify'](_0x44ca5d[_0x28e09b(0x19b)](_0x49cadd,_0x128d3e[_0x28e09b(0x1af)])),BrowserstackCLI[_0x28e09b(0x18e)]()[_0x28e09b(0x1b3)](_0x128d3e[_0x28e09b(0x1af)],_0x128d3e[_0x28e09b(0x196)],_0x128d3e[_0x28e09b(0x1b0)]),await BrowserstackCLI[_0x28e09b(0x18e)]()[_0x28e09b(0x1b4)]();}},a136_0x3778a9={};function a136_0xf7d7(_0x39e61c,_0x138b40){const _0x324f5b=a136_0x324f();return a136_0xf7d7=function(_0xf7d7cf,_0x199c85){_0xf7d7cf=_0xf7d7cf-0x17c;let _0x1b733b=_0x324f5b[_0xf7d7cf];return _0x1b733b;},a136_0xf7d7(_0x39e61c,_0x138b40);}a136_0x3778a9[a136_0x52397e(0x18c)]=getPuppeteerUrl,a136_0x3778a9[a136_0x52397e(0x180)]=convertW3CToJsonWire,a136_0x3778a9['generatePuppeteerUrl']=generatePuppeteerUrl,a136_0x3778a9[a136_0x52397e(0x194)]=isPuppeteerAvailable,a136_0x3778a9[a136_0x52397e(0x1a9)]=getPuppeteerVersion,a136_0x3778a9[a136_0x52397e(0x1a7)]=checkPuppeteerAndBootstrapCli,module[a136_0x52397e(0x1a3)]=a136_0x3778a9;function a136_0x324f(){const _0x3b4537=['1207128OtttuY','dQSnR','puppeteer-core','eDgAY','browserstack.buildProductMap','../bin/utils/constants','exports','browserstack.testhubBuildUuid','./helper','true','checkPuppeteerAndBootstrapCli','9LfUCXk','getPuppeteerVersion','nCfWD','73572KtoXsY','19284aJaLbB','cmwon','BROWSERSTACK_PUPPETEER','config','cliConfig','bstack:options','../bin/v2/browserstackCLI','setBrowserstackConfig','bootstrap','getPackageVersion','CDCWD','../bin/utils/apiUtilityMethods','\x20for\x20','puppeteer','util','PUPPETEER','setFrameworkDetail','38849000HEFfwz','entries','fipsQ','FDcPB','convertW3CToJsonWire','getPuppeteerHubUrl','cUXqM','\x20flow','792144UHAwWx','env','HdJDW','4ggpRpc','4768555IPBSbR','zJmOD','KoHXl','debug','getPuppeteerUrl','BROWSERSTACK_TESTHUB_UUID','getInstance','YkkAa','stringify','turboScaleUrl','aEmnT','[PuppeteerHelper]\x20Detected\x20Puppeteer\x20version\x20','isPuppeteerAvailable','oNNqP','configPath','ZsUYA','1722RDQblZ','resolve','892450RijDXT','deHUf','KzRxj'];a136_0x324f=function(){return _0x3b4537;};return a136_0x324f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a137_0x1cf184=a137_0x1224;(function(_0x131599,_0x5eebca){const _0x2f5482=a137_0x1224,_0x2cb818=_0x131599();while(!![]){try{const _0x4ec3c6=-parseInt(_0x2f5482(0xe5))/0x1*(parseInt(_0x2f5482(0xf4))/0x2)+-parseInt(_0x2f5482(0xfd))/0x3*(parseInt(_0x2f5482(0xf1))/0x4)+-parseInt(_0x2f5482(0xeb))/0x5*(-parseInt(_0x2f5482(0x105))/0x6)+-parseInt(_0x2f5482(0xf8))/0x7*(-parseInt(_0x2f5482(0x116))/0x8)+parseInt(_0x2f5482(0x10a))/0x9+-parseInt(_0x2f5482(0x115))/0xa*(-parseInt(_0x2f5482(0xe6))/0xb)+-parseInt(_0x2f5482(0x102))/0xc;if(_0x4ec3c6===_0x5eebca)break;else _0x2cb818['push'](_0x2cb818['shift']());}catch(_0x401a2d){_0x2cb818['push'](_0x2cb818['shift']());}}}(a137_0x559b,0xf0107));function a137_0x559b(){const _0x1d7d92=['status_code','request','headers','1651460rhSbrm','url','sXgGN','2czTQCZ','monkeypatch','assign','hostname','1737799lUJVSw','pathname','yBlad','path','znkFa','3jnnmtp','http','TzFYi','call','GHYTH','14074632DqRqxk','EiVzp','end','13866RfqUZw','EtLFE','prototype','pQsst','zocNI','4869747ZnkKwG','exports','removeListener','RBwnQ','slice','unpatch','response','method','statusCode','once','now','7160RxDPvL','32RGPqZR','restore','error','https','wlvPa','1024163Jtmlpi','29007QqADfO','rNSwV','socket','lYken','object','370ysbuAN','BFBWV','host'];a137_0x559b=function(){return _0x1d7d92;};return a137_0x559b();}const http=require(a137_0x1cf184(0xfe)),https=require(a137_0x1cf184(0xe3)),monkeypatch=require(a137_0x1cf184(0xf5));function spy(_0x1a26cc){const _0x215ea6=a137_0x1cf184,_0x176c89={'EiVzp':function(_0x381a85,_0x3571ba){return _0x381a85-_0x3571ba;},'GHYTH':function(_0x459628,_0x524f65,_0x53053c){return _0x459628(_0x524f65,_0x53053c);},'yBlad':_0x215ea6(0xe2),'RBwnQ':function(_0x52dd2e,..._0x38e948){return _0x52dd2e(..._0x38e948);},'sXgGN':function(_0x295f11,_0x3f0dc8){return _0x295f11 instanceof _0x3f0dc8;},'TzFYi':function(_0x5acd29,_0x8f9928){return _0x5acd29===_0x8f9928;},'wdfQn':_0x215ea6(0xea),'lYken':_0x215ea6(0x110),'qJdYT':_0x215ea6(0xe8),'BFBWV':function(_0x57e003,_0x53f101,_0x405195,_0x3ebb7f){return _0x57e003(_0x53f101,_0x405195,_0x3ebb7f);},'znkFa':_0x215ea6(0x104),'rNSwV':function(_0x3f814b,_0x66ee,_0x21770a,_0x329843){return _0x3f814b(_0x66ee,_0x21770a,_0x329843);},'pQsst':_0x215ea6(0xef)},_0x3aa718=function(){const _0x22f2a1=_0x215ea6,_0x41edf8={'wlvPa':function(_0x5bab23,_0x132c75){const _0x50fb06=a137_0x1224;return _0x176c89[_0x50fb06(0xf3)](_0x5bab23,_0x132c75);},'uDBBo':function(_0x18b7e0,_0x261c20){const _0x5f4976=a137_0x1224;return _0x176c89[_0x5f4976(0xff)](_0x18b7e0,_0x261c20);},'zocNI':_0x176c89['wdfQn'],'EtLFE':function(_0x2dd051,_0x12775d,_0x2ccbb){const _0x4994ef=a137_0x1224;return _0x176c89[_0x4994ef(0x101)](_0x2dd051,_0x12775d,_0x2ccbb);}},_0x51be93=arguments[0x0],_0x37693c=Array[_0x22f2a1(0x107)][_0x22f2a1(0x10e)][_0x22f2a1(0x100)](arguments,0x1),_0x2c2948=_0x51be93['apply'](this,_0x37693c);let _0x54d292=Date[_0x22f2a1(0x114)](),_0x2b7998;const _0x522b5d={};_0x37693c['forEach'](_0x55d1a0=>{const _0x1eaefe=_0x22f2a1;if(_0x41edf8[_0x1eaefe(0xe4)](_0x55d1a0,URL)){const _0x54fb7f={};_0x54fb7f['url']=_0x55d1a0,Object[_0x1eaefe(0xf6)](_0x522b5d,_0x54fb7f);}else _0x41edf8['uDBBo'](typeof _0x55d1a0,_0x41edf8[_0x1eaefe(0x109)])&&Object[_0x1eaefe(0xf6)](_0x522b5d,_0x55d1a0);});const _0x5cb58f=_0x2fca0e=>{const _0x2bd7e2=_0x22f2a1,_0x2c6d39={};_0x2c6d39[_0x2bd7e2(0xed)]=_0x522b5d[_0x2bd7e2(0xed)]||_0x522b5d[_0x2bd7e2(0xf7)]||_0x522b5d['url']&&(_0x522b5d[_0x2bd7e2(0xf2)]['host']||_0x522b5d[_0x2bd7e2(0xf2)][_0x2bd7e2(0xf7)]),_0x2c6d39[_0x2bd7e2(0xfb)]=_0x522b5d[_0x2bd7e2(0xfb)]||_0x522b5d[_0x2bd7e2(0xf2)]&&_0x522b5d[_0x2bd7e2(0xf2)][_0x2bd7e2(0xf9)],_0x2c6d39[_0x2bd7e2(0x111)]=_0x522b5d[_0x2bd7e2(0x111)],_0x2c6d39[_0x2bd7e2(0xf0)]=_0x522b5d['headers'],_0x41edf8[_0x2bd7e2(0x106)](_0x1a26cc,_0x2fca0e,_0x2c6d39);};return _0x2c2948[_0x22f2a1(0x113)](_0x176c89[_0x22f2a1(0xe9)],_0xcbd92b=>{const _0x2b46e8=_0x22f2a1,_0x2b9b24=_0x176c89[_0x2b46e8(0x103)](Date[_0x2b46e8(0x114)](),_0x54d292),_0xdb17e={};_0xdb17e[_0x2b46e8(0xf7)]=_0x522b5d['host']||_0x522b5d[_0x2b46e8(0xf7)]||_0x522b5d[_0x2b46e8(0xf2)]&&(_0x522b5d['url']['host']||_0x522b5d['url'][_0x2b46e8(0xf7)]),_0xdb17e[_0x2b46e8(0xfb)]=_0x522b5d['path']||_0x522b5d[_0x2b46e8(0xf2)]&&_0x522b5d[_0x2b46e8(0xf2)][_0x2b46e8(0xf9)],_0xdb17e[_0x2b46e8(0x111)]=_0x522b5d[_0x2b46e8(0x111)],_0xdb17e[_0x2b46e8(0xf0)]=_0x522b5d[_0x2b46e8(0xf0)],_0xdb17e[_0x2b46e8(0xee)]=_0xcbd92b[_0x2b46e8(0x112)],_0xdb17e['duration_ms']=_0x2b9b24,_0x176c89['GHYTH'](_0x1a26cc,null,_0xdb17e),_0x2b7998[_0x2b46e8(0x10c)](_0x176c89[_0x2b46e8(0xfa)],_0x5cb58f);}),_0x2c2948['on'](_0x176c89['qJdYT'],_0x341ed8=>{const _0x31c457=_0x22f2a1;_0x2b7998=_0x341ed8,_0x341ed8[_0x31c457(0x113)](_0x176c89['yBlad'],_0x5cb58f);}),_0x176c89[_0x22f2a1(0xec)](monkeypatch,_0x2c2948,_0x176c89[_0x22f2a1(0xfc)],(_0x360df0,..._0x482a44)=>{const _0x1d3409=_0x22f2a1;_0x54d292=Date['now'](),_0x176c89[_0x1d3409(0x10d)](_0x360df0,..._0x482a44);}),_0x2c2948;};_0x176c89['rNSwV'](monkeypatch,http,_0x176c89[_0x215ea6(0x108)],_0x3aa718),_0x176c89[_0x215ea6(0xe7)](monkeypatch,https,_0x176c89[_0x215ea6(0x108)],_0x3aa718);}function a137_0x1224(_0x101238,_0x4c1fbb){const _0x559bd0=a137_0x559b();return a137_0x1224=function(_0x12240c,_0x2fb70b){_0x12240c=_0x12240c-0xe1;let _0x60a6f8=_0x559bd0[_0x12240c];return _0x60a6f8;},a137_0x1224(_0x101238,_0x4c1fbb);}function restore(){const _0x2f394f=a137_0x1cf184;http['request'][_0x2f394f(0x10f)](),https['request']['unpatch']();}const a137_0x51cf23={};a137_0x51cf23['spy']=spy,a137_0x51cf23[a137_0x1cf184(0xe1)]=restore,module[a137_0x1cf184(0x10b)]=a137_0x51cf23;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a138_0x24cc(_0x2c1c98,_0x39e176){const _0x57257c=a138_0x5725();return a138_0x24cc=function(_0x24cc45,_0x5b523){_0x24cc45=_0x24cc45-0x1d1;let _0x36aa5f=_0x57257c[_0x24cc45];return _0x36aa5f;},a138_0x24cc(_0x2c1c98,_0x39e176);}function a138_0x5725(){const _0x502622=['fDnDj','./performance/performance-tester','9hctNtH','5639160qLdWgz','497873HOjJlG','keepAliveMsecs','EvQKf','387863OkGuTR','PbTHp','agent','prototype','LdUyr','4NXqYxy','./performance/constants','Agent','577209QxBGrr','protocol','6vJfcWF','503545VrNckf','TjsGh','4075672FYdGNV','NoeFH','globalAgent','CxWVp','request','CWjBh','hasOwnProperty','keepAlive','https','http','KEEP_ALIVE','cCxcx','https:','measureWrapper','920016FCqzCB'];a138_0x5725=function(){return _0x502622;};return a138_0x5725();}const a138_0x46a46d=a138_0x24cc;(function(_0x4b419b,_0x387393){const _0x3612fd=a138_0x24cc,_0x23b6ba=_0x4b419b();while(!![]){try{const _0x5acb0a=-parseInt(_0x3612fd(0x1d3))/0x1+parseInt(_0x3612fd(0x1f1))/0x2+-parseInt(_0x3612fd(0x1de))/0x3*(-parseInt(_0x3612fd(0x1db))/0x4)+-parseInt(_0x3612fd(0x1e1))/0x5*(-parseInt(_0x3612fd(0x1e0))/0x6)+parseInt(_0x3612fd(0x1d6))/0x7+-parseInt(_0x3612fd(0x1e3))/0x8*(-parseInt(_0x3612fd(0x1d1))/0x9)+-parseInt(_0x3612fd(0x1d2))/0xa;if(_0x5acb0a===_0x387393)break;else _0x23b6ba['push'](_0x23b6ba['shift']());}catch(_0x1b04f4){_0x23b6ba['push'](_0x23b6ba['shift']());}}}(a138_0x5725,0x3e8c7));const PerformanceTester=require(a138_0x46a46d(0x1f3)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a138_0x46a46d(0x1dc));module['exports']=PerformanceTester[a138_0x46a46d(0x1f0)](PerformanceEvents[a138_0x46a46d(0x1ed)],function(){const _0x4f0171=a138_0x46a46d,_0x1796d2={'LdUyr':function(_0x37aae4,_0x2817bc){return _0x37aae4===_0x2817bc;},'fDnDj':_0x4f0171(0x1ef),'NoeFH':_0x4f0171(0x1d8),'cCxcx':function(_0x46e582,_0xae4e41,_0x50db08){return _0x46e582(_0xae4e41,_0x50db08);},'CWjBh':function(_0x43fcab,_0x488b46,_0x1a5a6f){return _0x43fcab(_0x488b46,_0x1a5a6f);},'TjsGh':function(_0x5d93ac,_0x4dbba7){return _0x5d93ac(_0x4dbba7);},'EtHHw':_0x4f0171(0x1ec),'PbTHp':function(_0x3284dd,_0x40a4a8){return _0x3284dd(_0x40a4a8);},'EvQKf':_0x4f0171(0x1eb),'CxWVp':function(_0x18707f,_0x71d869){return _0x18707f*_0x71d869;},'cCWuo':_0x4f0171(0x1ea)},_0x490bda=_0x1796d2[_0x4f0171(0x1e2)](require,_0x1796d2['EtHHw']),_0x59d8a3=_0x1796d2[_0x4f0171(0x1d7)](require,_0x1796d2[_0x4f0171(0x1d5)]),_0x331fa7=_0x1796d2[_0x4f0171(0x1e6)](0x1e,0x3e8);if(_0x490bda['globalAgent']&&Object[_0x4f0171(0x1d9)][_0x4f0171(0x1e9)]['call'](_0x490bda[_0x4f0171(0x1e5)],_0x1796d2['cCWuo']))_0x490bda['globalAgent'][_0x4f0171(0x1ea)]=!![],_0x59d8a3['globalAgent']['keepAlive']=!![],_0x490bda[_0x4f0171(0x1e5)][_0x4f0171(0x1d4)]=_0x331fa7,_0x59d8a3[_0x4f0171(0x1e5)][_0x4f0171(0x1d4)]=_0x331fa7;else{const _0x3f4926={};_0x3f4926['keepAlive']=!![],_0x3f4926[_0x4f0171(0x1d4)]=_0x331fa7;const _0x5cc2fe=new _0x490bda[(_0x4f0171(0x1dd))](_0x3f4926),_0x23a280={};_0x23a280[_0x4f0171(0x1ea)]=!![],_0x23a280[_0x4f0171(0x1d4)]=_0x331fa7;const _0xddfa52=new _0x59d8a3[(_0x4f0171(0x1dd))](_0x23a280),_0x2ecb11=_0x490bda[_0x4f0171(0x1e7)],_0x2eaba8=_0x59d8a3[_0x4f0171(0x1e7)];_0x490bda[_0x4f0171(0x1e7)]=function(_0xe14ad8,_0x2af24f){const _0x2773b4=_0x4f0171;if(_0x1796d2[_0x2773b4(0x1da)](_0xe14ad8[_0x2773b4(0x1df)],_0x1796d2[_0x2773b4(0x1f2)]))return _0xe14ad8[_0x1796d2[_0x2773b4(0x1e4)]]=_0xddfa52,_0x1796d2[_0x2773b4(0x1ee)](_0x2eaba8,_0xe14ad8,_0x2af24f);return _0xe14ad8[_0x1796d2[_0x2773b4(0x1e4)]]=_0x5cc2fe,_0x1796d2[_0x2773b4(0x1e8)](_0x2ecb11,_0xe14ad8,_0x2af24f);};}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a139_0x1ec3(_0x4dc8f2,_0x44785e){const _0x371ab2=a139_0x371a();return a139_0x1ec3=function(_0x1ec340,_0x57c231){_0x1ec340=_0x1ec340-0x1dd;let _0x4e3363=_0x371ab2[_0x1ec340];return _0x4e3363;},a139_0x1ec3(_0x4dc8f2,_0x44785e);}const a139_0x204803=a139_0x1ec3;(function(_0x522724,_0x461b62){const _0xae2497=a139_0x1ec3,_0x18740e=_0x522724();while(!![]){try{const _0x253274=parseInt(_0xae2497(0x1eb))/0x1+parseInt(_0xae2497(0x1ee))/0x2*(parseInt(_0xae2497(0x1dd))/0x3)+-parseInt(_0xae2497(0x1ec))/0x4*(-parseInt(_0xae2497(0x1e4))/0x5)+parseInt(_0xae2497(0x1e9))/0x6*(parseInt(_0xae2497(0x1de))/0x7)+-parseInt(_0xae2497(0x1f7))/0x8*(parseInt(_0xae2497(0x1ea))/0x9)+-parseInt(_0xae2497(0x1ef))/0xa*(-parseInt(_0xae2497(0x1e7))/0xb)+-parseInt(_0xae2497(0x1f6))/0xc*(parseInt(_0xae2497(0x1e3))/0xd);if(_0x253274===_0x461b62)break;else _0x18740e['push'](_0x18740e['shift']());}catch(_0x4acd6f){_0x18740e['push'](_0x18740e['shift']());}}}(a139_0x371a,0xcf844));function isInternalFrameFile(_0xb61963){const _0x1bad59=a139_0x1ec3,_0x493c68={};_0x493c68[_0x1bad59(0x1f4)]=_0x1bad59(0x1e2),_0x493c68[_0x1bad59(0x1fb)]=_0x1bad59(0x1f3),_0x493c68['Qbjcc']=_0x1bad59(0x1f0),_0x493c68[_0x1bad59(0x1e0)]=_0x1bad59(0x1e8),_0x493c68[_0x1bad59(0x1f5)]='internal/';const _0x3271d0=_0x493c68,_0x28b028=_0x3271d0[_0x1bad59(0x1f4)]['split']('|');let _0x470168=0x0;while(!![]){switch(_0x28b028[_0x470168++]){case'0':if(_0xb61963[_0x1bad59(0x1e6)](_0x3271d0['yQode']))return!![];continue;case'1':if(_0xb61963[_0x1bad59(0x1e6)](_0x3271d0[_0x1bad59(0x1e1)]))return!![];continue;case'2':if(!_0xb61963)return!![];continue;case'3':if(_0xb61963[_0x1bad59(0x1fa)](_0x3271d0[_0x1bad59(0x1e0)])||_0xb61963[_0x1bad59(0x1fa)](_0x3271d0[_0x1bad59(0x1f5)]))return!![];continue;case'4':return![];}break;}}function pickUserFrameFile(_0x4f4b9b){const _0xd7f2e1=a139_0x1ec3,_0x117da1={'DJxSK':function(_0x7a4fa1,_0xebb8f9){return _0x7a4fa1!==_0xebb8f9;},'VgXML':'function','pYDBq':function(_0x15c0d6,_0x4db9c7){return _0x15c0d6(_0x4db9c7);}};if(!Array[_0xd7f2e1(0x1e5)](_0x4f4b9b))return null;for(const _0x3f7997 of _0x4f4b9b){if(!_0x3f7997||_0x117da1[_0xd7f2e1(0x1f8)](typeof _0x3f7997[_0xd7f2e1(0x1f9)],_0x117da1[_0xd7f2e1(0x1df)]))continue;const _0x438f16=_0x3f7997[_0xd7f2e1(0x1f9)]();if(!_0x117da1[_0xd7f2e1(0x1f2)](isInternalFrameFile,_0x438f16))return _0x438f16;}return null;}function a139_0x371a(){const _0x1a0bdc=['node_modules','isInternalFrameFile','pYDBq','<anonymous>','qgBfL','HUjpu','21180iBOHqz','84264DZphcf','DJxSK','getFileName','startsWith','yQode','375YEmFMO','10446709NHfAqf','VgXML','bzhSW','Qbjcc','2|1|3|0|4','24128bPbNpD','581810jmvOWA','isArray','includes','363egpXht','node:','6fTJZpx','747kFjjFS','1055600wQwFKZ','4aKhQFE','pickUserFrameFile','22286XylKWN','285710DtrGHf'];a139_0x371a=function(){return _0x1a0bdc;};return a139_0x371a();}const a139_0x35db65={};a139_0x35db65[a139_0x204803(0x1f1)]=isInternalFrameFile,a139_0x35db65[a139_0x204803(0x1ed)]=pickUserFrameFile,module['exports']=a139_0x35db65;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a140_0x301c(_0x55d805,_0x55b067){const _0x423dbb=a140_0x423d();return a140_0x301c=function(_0x301c75,_0x5e752e){_0x301c75=_0x301c75-0xa3;let _0x5d859f=_0x423dbb[_0x301c75];return _0x5d859f;},a140_0x301c(_0x55d805,_0x55b067);}const a140_0x5e2c21=a140_0x301c;(function(_0xaf2044,_0x4cc03c){const _0x40b580=a140_0x301c,_0x337064=_0xaf2044();while(!![]){try{const _0x40c2b0=parseInt(_0x40b580(0xba))/0x1+-parseInt(_0x40b580(0xad))/0x2*(parseInt(_0x40b580(0xa8))/0x3)+-parseInt(_0x40b580(0xb7))/0x4*(parseInt(_0x40b580(0xab))/0x5)+parseInt(_0x40b580(0xc4))/0x6*(-parseInt(_0x40b580(0xa6))/0x7)+parseInt(_0x40b580(0xa3))/0x8*(parseInt(_0x40b580(0xa7))/0x9)+parseInt(_0x40b580(0xc9))/0xa+parseInt(_0x40b580(0xbc))/0xb;if(_0x40c2b0===_0x4cc03c)break;else _0x337064['push'](_0x337064['shift']());}catch(_0x132509){_0x337064['push'](_0x337064['shift']());}}}(a140_0x423d,0x52bc9));const path=require(a140_0x5e2c21(0xb1)),{logDir}=require('../logger'),a140_0x868cb7={};a140_0x868cb7[a140_0x5e2c21(0xb9)]='Playwright',a140_0x868cb7[a140_0x5e2c21(0xb0)]=a140_0x5e2c21(0xc0),a140_0x868cb7['CODECEPT']='codeceptjs',a140_0x868cb7[a140_0x5e2c21(0xc2)]=a140_0x5e2c21(0xb6),a140_0x868cb7['JEST']='jest',a140_0x868cb7[a140_0x5e2c21(0xbe)]='cucumber',a140_0x868cb7[a140_0x5e2c21(0xca)]='puppeteer',a140_0x868cb7[a140_0x5e2c21(0xa9)]=a140_0x5e2c21(0xae),module[a140_0x5e2c21(0xa5)]={'consoleHolder':Object[a140_0x5e2c21(0xb2)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a140_0x5e2c21(0xaa),'OBSERVABILITY_UPLOAD_API_URL':'https://upload-observability.browserstack.com','EVENT_ENDPOINT':a140_0x5e2c21(0xc3),'BATCH_ENDPOINT':'api/v1/batch','SCREENSHOT_ENDPOINT':a140_0x5e2c21(0xc8),'UPLOAD_ATTACHMENT_ENDPOINT':a140_0x5e2c21(0xbb),'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[a140_0x5e2c21(0xbf)](logDir,a140_0x5e2c21(0xb3)),'FRAMEWORKS':a140_0x868cb7};function a140_0x423d(){const _0x261cbc=['stag','MOCHA','path','assign','.obs_test_details','https://upload-observability-preprod.bsstag.com','BROWSERSTACK_ENV','codeceptjs-cucumber','101672KrtHST','https://collector-observability-devtestops.bsstag.com','PLAYWRIGHT','463742aooYWG','upload-attachments','4233405pdbJMs','https://upload-observability-devtestops-ssi.bsstag.com','CUCUMBER','join','mocha','OBSERVABILITY_UPLOAD_API_URL','CODECEPT_CUCUMBER','api/v1/event','6GsjImM','prod','pre-prod','env','api/v1/screenshots','5923650aHdVtU','PUPPETEER','1435160AeKodv','https://collector-observability-preprod.bsstag.com','exports','3792005XYjzyt','9EjNNtI','21MpsEIn','NEWMAN','https://collector-observability.browserstack.com','35cJAezg','staging','160522TNWPrn','newman'];a140_0x423d=function(){return _0x261cbc;};return a140_0x423d();}const _env=(process[a140_0x5e2c21(0xc7)][a140_0x5e2c21(0xb5)]||a140_0x5e2c21(0xc5))['toLowerCase']();if(_env===a140_0x5e2c21(0xac)||_env===a140_0x5e2c21(0xaf))module[a140_0x5e2c21(0xa5)]['API_URL']=a140_0x5e2c21(0xb8),module[a140_0x5e2c21(0xa5)][a140_0x5e2c21(0xc1)]=a140_0x5e2c21(0xbd);else(_env==='preprod'||_env===a140_0x5e2c21(0xc6))&&(module[a140_0x5e2c21(0xa5)]['API_URL']=a140_0x5e2c21(0xa4),module[a140_0x5e2c21(0xa5)][a140_0x5e2c21(0xc1)]=a140_0x5e2c21(0xb4));
|