browserstack-node-sdk 1.50.6 → 1.50.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120_0x4f8478=a120_0x1c39;(function(_0x5d1065,_0x3cdedf){const _0x4046a4=a120_0x1c39,_0x11aa4d=_0x5d1065();while(!![]){try{const _0x572299=-parseInt(_0x4046a4(0x222))/0x1*(-parseInt(_0x4046a4(0x213))/0x2)+-parseInt(_0x4046a4(0x1e8))/0x3+-parseInt(_0x4046a4(0x1e6))/0x4*(parseInt(_0x4046a4(0x262))/0x5)+-parseInt(_0x4046a4(0x1ed))/0x6+parseInt(_0x4046a4(0x271))/0x7+parseInt(_0x4046a4(0x23f))/0x8*(parseInt(_0x4046a4(0x24b))/0x9)+parseInt(_0x4046a4(0x1ee))/0xa;if(_0x572299===_0x3cdedf)break;else _0x11aa4d['push'](_0x11aa4d['shift']());}catch(_0x272ae1){_0x11aa4d['push'](_0x11aa4d['shift']());}}}(a120_0xae52,0x6efcd));const a120_0x3db425={};a120_0x3db425['SDK_SETUP']=a120_0x4f8478(0x245),a120_0x3db425[a120_0x4f8478(0x21d)]=a120_0x4f8478(0x221),a120_0x3db425['SDK_PRE_TEST']=a120_0x4f8478(0x267),a120_0x3db425['SDK_TEST']='sdk:test',a120_0x3db425[a120_0x4f8478(0x1f9)]=a120_0x4f8478(0x244),a120_0x3db425[a120_0x4f8478(0x233)]=a120_0x4f8478(0x21a),a120_0x3db425['SDK_DRIVER']=a120_0x4f8478(0x22c),a120_0x3db425[a120_0x4f8478(0x26c)]=a120_0x4f8478(0x204),a120_0x3db425[a120_0x4f8478(0x1f4)]=a120_0x4f8478(0x25e),a120_0x3db425[a120_0x4f8478(0x1f8)]=a120_0x4f8478(0x20f),a120_0x3db425[a120_0x4f8478(0x26d)]=a120_0x4f8478(0x21b),a120_0x3db425[a120_0x4f8478(0x25a)]='sdk:testhub',a120_0x3db425['SDK_AUTOMATE']=a120_0x4f8478(0x1f6),a120_0x3db425['SDK_APP_AUTOMATE']='sdk:app-automate',a120_0x3db425[a120_0x4f8478(0x206)]=a120_0x4f8478(0x24d),a120_0x3db425[a120_0x4f8478(0x200)]=a120_0x4f8478(0x22d),a120_0x3db425[a120_0x4f8478(0x1f0)]='sdk:driver:pre-initialization',a120_0x3db425[a120_0x4f8478(0x1fe)]='sdk:driver:post-initialization',a120_0x3db425[a120_0x4f8478(0x25f)]='sdk:cli:start',a120_0x3db425['SDK_CLI_DOWNLOAD']=a120_0x4f8478(0x23e),a120_0x3db425[a120_0x4f8478(0x251)]='sdk:cli:check-update',a120_0x3db425['SDK_CLI_ON_BOOTSTRAP']=a120_0x4f8478(0x24c),a120_0x3db425[a120_0x4f8478(0x256)]=a120_0x4f8478(0x217),a120_0x3db425[a120_0x4f8478(0x1e4)]=a120_0x4f8478(0x210),a120_0x3db425[a120_0x4f8478(0x235)]=a120_0x4f8478(0x26b),a120_0x3db425[a120_0x4f8478(0x257)]=a120_0x4f8478(0x22b),a120_0x3db425[a120_0x4f8478(0x1fd)]=a120_0x4f8478(0x218),a120_0x3db425[a120_0x4f8478(0x225)]=a120_0x4f8478(0x20d),a120_0x3db425[a120_0x4f8478(0x1fb)]=a120_0x4f8478(0x247),a120_0x3db425[a120_0x4f8478(0x260)]='sdk:automationFrameworkStart',a120_0x3db425[a120_0x4f8478(0x243)]=a120_0x4f8478(0x231),a120_0x3db425[a120_0x4f8478(0x226)]=a120_0x4f8478(0x26f),a120_0x3db425[a120_0x4f8478(0x24e)]=a120_0x4f8478(0x1f5),a120_0x3db425[a120_0x4f8478(0x1fa)]=a120_0x4f8478(0x234),a120_0x3db425[a120_0x4f8478(0x224)]='sdk:testFrameworkEvent',a120_0x3db425[a120_0x4f8478(0x241)]='sdk:testSessionEvent',a120_0x3db425[a120_0x4f8478(0x1e5)]='sdk:cli:logCreatedEvent',a120_0x3db425[a120_0x4f8478(0x1ea)]=a120_0x4f8478(0x20e),a120_0x3db425[a120_0x4f8478(0x236)]=a120_0x4f8478(0x1ff),a120_0x3db425[a120_0x4f8478(0x23d)]=a120_0x4f8478(0x269);function a120_0x1c39(_0x26865a,_0x34ca0e){const _0xae5245=a120_0xae52();return a120_0x1c39=function(_0x1c392f,_0x15a13b){_0x1c392f=_0x1c392f-0x1e4;let _0x1c8ba2=_0xae5245[_0x1c392f];return _0x1c8ba2;},a120_0x1c39(_0x26865a,_0x34ca0e);}const SDK_EVENTS=a120_0x3db425,a120_0x279e32={};function a120_0xae52(){const _0x390fa1=['sdk:automate',':stop','SDK_AUTO_CAPTURE','SDK_POST_TEST','SDK_AI_SELF_HEAL_GET_RESULT','SDK_AUTOMATION_FRAMEWORK_INIT','GET','SDK_DRIVER_INIT','SDK_POST_INITIALIZE','sdk:automationFrameworkStop','SDK_PERCY',':keep-alive','LOCAL_START',':before-each','sdk:a11y','SESSION_NAME','SDK_TURBOSCALE',':auto-capture',':get-accessibility-results','SNAPSHOT',':driver-performscan',':before','START','sdk:findNearestHub','sdk:cli:enqueueTestEvent','sdk:auto-capture','sdk:cli:on-stop',':app-upload','BEFORE_ALL','788388pPOdgM','QUIT','HOOK_EVENTS','SAVE_RESULTS','sdk:cli:on-connect','sdk:driverInit',':screenshot-app','sdk:hook','sdk:proxy-setup',':snapshot','SDK_CLEANUP',':local-start','DRIVER_EVENT','SDK_AUTOMATE','sdk:cleanup','2ZtpWcG','DRIVER_MANAGE','SDK_TEST_FRAMEWORK_EVENT','SDK_FIND_NEAREST_HUB','SDK_OBSERVABILITY_CONFIG',':print-buildlink',':screenshot','TESTHUB_EVENTS',':driver-manage','sdk:connectBinSession','sdk:driver','sdk:percy','EVENTS',':after-all','AUTO_CAPTURE','sdk:accessibilityConfig','POST_EXECUTE','SDK_HOOK','sdk:aiSelfHealGetResult','SDK_START_BIN_SESSION','SDK_AUTOMATION_FRAMEWORK_STOP','AUTOMATE_EVENTS','PRE_EXECUTE',':save-results','STOP','GENERATE_CI_ARTIFACT','IDLE_TIMEOUT','SDK_ON_STOP','sdk:cli:download','32zyjXvR','GET_RESULTS_SUMMARY','SDK_TEST_SESSION_EVENT','LOCAL_STOP','SDK_ACCESSIBILITY_CONFIG','sdk:post-test','sdk:setup','SYNC','sdk:automationFrameworkInit',':ci-artifacts','SDK_DRIVER',':pre-execute','546876cxjMRK','sdk:cli:on-bootstrap','sdk:turboscale','SDK_AI_SELF_HEAL_STEP','AFTER','SESSION_ANNOTATION','SDK_CLI_CHECK_UPDATE','PRINT_BUILDLINK','PERCY_EVENTS','HUB_MANAGEMENT','BEFORE','SDK_CLI_ON_CONNECT','SDK_CONNECT_BIN_SESSION','A11Y_EVENTS',':post-execute','SDK_TESTHUB','SCREENSHOT_APP',':idle-timeout',':local-stop','sdk:o11y','SDK_CLI_START','SDK_AUTOMATION_FRAMEWORK_START',':quit','335wwlKdM',':get-accessibility-results-summary',':session-annotation','DOWNLOAD','APP_AUOTMATE_EVENTS','sdk:pre-test',':session-name','sdk:onStop','TAKE_SCREENSHOT','sdk:startBinSession','SDK_A11Y','SDK_PROXY_SETUP','O11y_EVENTS','sdk:observabilityConfig','TURBOSCALE_EVENTS','1955912iumivg','SDK_CLI_ON_STOP','SDK_CLI_LOG_CREATED_EVENT','52376dcTaxb','SESSION_STATUS','754335ALcbfT',':hub-management','SDK_CLI_ENQUEUE_TEST_EVENT',':after',':start','956058dTKIlN','4318310VPwoRz',':get','SDK_PRE_INITIALIZE',':sync','AFTER_ALL',':download','SDK_O11Y','sdk:aiSelfHealStep'];a120_0xae52=function(){return _0x390fa1;};return a120_0xae52();}a120_0x279e32[a120_0x4f8478(0x22e)]=SDK_EVENTS,a120_0x279e32[a120_0x4f8478(0x229)]={},a120_0x279e32[a120_0x4f8478(0x237)]={},a120_0x279e32[a120_0x4f8478(0x258)]={},a120_0x279e32[a120_0x4f8478(0x253)]={},a120_0x279e32[a120_0x4f8478(0x26e)]={},a120_0x279e32[a120_0x4f8478(0x215)]={},a120_0x279e32[a120_0x4f8478(0x270)]={},a120_0x279e32[a120_0x4f8478(0x266)]={},a120_0x279e32[a120_0x4f8478(0x21f)]={},a120_0x279e32[a120_0x4f8478(0x229)][a120_0x4f8478(0x20c)]=SDK_EVENTS[a120_0x4f8478(0x25a)]+':start',a120_0x279e32[a120_0x4f8478(0x229)][a120_0x4f8478(0x23a)]=SDK_EVENTS[a120_0x4f8478(0x25a)]+a120_0x4f8478(0x1f7),a120_0x279e32[a120_0x4f8478(0x237)]['KEEP_ALIVE']=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x201),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x254)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x4f8478(0x1e9),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x202)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x21e),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x242)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x25d),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x223)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x22a),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x205)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x268),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x1e7)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x250)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x264),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x23c)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x25c),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x23b)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x4f8478(0x248),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x252)]=SDK_EVENTS[a120_0x4f8478(0x220)]+':print-buildlink',a120_0x279e32[a120_0x4f8478(0x258)]['PERFORM_SCAN']=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x20a),a120_0x279e32[a120_0x4f8478(0x258)][a120_0x4f8478(0x216)]=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x239),a120_0x279e32[a120_0x4f8478(0x258)]['GET_RESULTS']=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x208),a120_0x279e32[a120_0x4f8478(0x258)][a120_0x4f8478(0x240)]=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x263),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x265)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1f3),a120_0x279e32[a120_0x4f8478(0x253)]['SCREENSHOT']=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x228),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x20c)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1ec),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x23a)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1f7),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x230)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x207),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x209)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x21c),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x25b)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x219),a120_0x279e32[a120_0x4f8478(0x26e)][a120_0x4f8478(0x246)]=SDK_EVENTS[a120_0x4f8478(0x1f4)]+a120_0x4f8478(0x1f1),a120_0x279e32[a120_0x4f8478(0x26e)][a120_0x4f8478(0x26a)]=SDK_EVENTS[a120_0x4f8478(0x1f4)]+':driver-takeScreenShot',a120_0x279e32[a120_0x4f8478(0x26e)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0x4f8478(0x1f4)]+':print-buildlink',a120_0x279e32[a120_0x4f8478(0x215)]['BEFORE_EACH']=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x203),a120_0x279e32[a120_0x4f8478(0x215)]['AFTER_EACH']=SDK_EVENTS[a120_0x4f8478(0x233)]+':after-each',a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x1f2)]=SDK_EVENTS[a120_0x4f8478(0x233)]+a120_0x4f8478(0x22f),a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x212)]=SDK_EVENTS[a120_0x4f8478(0x233)]+':before-all',a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x255)]=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x20b),a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x24f)]=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x1eb),a120_0x279e32[a120_0x4f8478(0x270)][a120_0x4f8478(0x254)]=SDK_EVENTS[a120_0x4f8478(0x206)]+a120_0x4f8478(0x1e9),a120_0x279e32[a120_0x4f8478(0x270)][a120_0x4f8478(0x252)]=SDK_EVENTS['SDK_TURBOSCALE']+a120_0x4f8478(0x227),a120_0x279e32[a120_0x4f8478(0x266)]['APP_UPLOAD']=SDK_EVENTS['SDK_APP_AUTOMATE']+a120_0x4f8478(0x211),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x214)]=SDK_EVENTS['SDK_DRIVER']+a120_0x4f8478(0x261),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x1fc)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x1ef),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x238)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x24a),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x232)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x259),module['exports']=a120_0x279e32;
|
|
1
|
+
const a120_0x3f511a=a120_0x3e14;(function(_0x40caff,_0x5064f5){const _0x1eb494=a120_0x3e14,_0x262eed=_0x40caff();while(!![]){try{const _0x1f6e2f=parseInt(_0x1eb494(0x238))/0x1+parseInt(_0x1eb494(0x242))/0x2+-parseInt(_0x1eb494(0x1e2))/0x3*(parseInt(_0x1eb494(0x1cb))/0x4)+parseInt(_0x1eb494(0x1ca))/0x5*(parseInt(_0x1eb494(0x230))/0x6)+-parseInt(_0x1eb494(0x255))/0x7*(parseInt(_0x1eb494(0x23c))/0x8)+-parseInt(_0x1eb494(0x250))/0x9*(-parseInt(_0x1eb494(0x1e1))/0xa)+parseInt(_0x1eb494(0x1e3))/0xb*(parseInt(_0x1eb494(0x1c8))/0xc);if(_0x1f6e2f===_0x5064f5)break;else _0x262eed['push'](_0x262eed['shift']());}catch(_0x3cdd9e){_0x262eed['push'](_0x262eed['shift']());}}}(a120_0xc58d,0x89a1e));const a120_0x295cf4={};a120_0x295cf4[a120_0x3f511a(0x228)]=a120_0x3f511a(0x215),a120_0x295cf4[a120_0x3f511a(0x208)]=a120_0x3f511a(0x212),a120_0x295cf4['SDK_PRE_TEST']='sdk:pre-test',a120_0x295cf4[a120_0x3f511a(0x219)]='sdk:test',a120_0x295cf4[a120_0x3f511a(0x240)]=a120_0x3f511a(0x23a),a120_0x295cf4[a120_0x3f511a(0x1e9)]=a120_0x3f511a(0x241),a120_0x295cf4[a120_0x3f511a(0x231)]=a120_0x3f511a(0x1d2),a120_0x295cf4['SDK_A11Y']=a120_0x3f511a(0x1ce),a120_0x295cf4[a120_0x3f511a(0x1eb)]=a120_0x3f511a(0x1db),a120_0x295cf4[a120_0x3f511a(0x252)]=a120_0x3f511a(0x20e),a120_0x295cf4[a120_0x3f511a(0x224)]=a120_0x3f511a(0x201),a120_0x295cf4[a120_0x3f511a(0x1fe)]='sdk:testhub',a120_0x295cf4[a120_0x3f511a(0x21c)]=a120_0x3f511a(0x1cf),a120_0x295cf4['SDK_APP_AUTOMATE']=a120_0x3f511a(0x1ea),a120_0x295cf4[a120_0x3f511a(0x254)]=a120_0x3f511a(0x21e),a120_0x295cf4[a120_0x3f511a(0x1f6)]='sdk:percy',a120_0x295cf4['SDK_PRE_INITIALIZE']='sdk:driver:pre-initialization',a120_0x295cf4[a120_0x3f511a(0x221)]=a120_0x3f511a(0x1fc),a120_0x295cf4[a120_0x3f511a(0x229)]=a120_0x3f511a(0x1e4),a120_0x295cf4[a120_0x3f511a(0x243)]='sdk:cli:download',a120_0x295cf4['SDK_CLI_CHECK_UPDATE']=a120_0x3f511a(0x1ef),a120_0x295cf4[a120_0x3f511a(0x249)]=a120_0x3f511a(0x235),a120_0x295cf4[a120_0x3f511a(0x216)]=a120_0x3f511a(0x20b),a120_0x295cf4['SDK_CLI_ON_STOP']=a120_0x3f511a(0x24f),a120_0x295cf4['SDK_START_BIN_SESSION']=a120_0x3f511a(0x1e5),a120_0x295cf4['SDK_CONNECT_BIN_SESSION']=a120_0x3f511a(0x248),a120_0x295cf4['SDK_DRIVER_INIT']=a120_0x3f511a(0x20a),a120_0x295cf4['SDK_FIND_NEAREST_HUB']=a120_0x3f511a(0x1cd),a120_0x295cf4[a120_0x3f511a(0x22d)]=a120_0x3f511a(0x207),a120_0x295cf4[a120_0x3f511a(0x21f)]=a120_0x3f511a(0x213),a120_0x295cf4[a120_0x3f511a(0x1d7)]='sdk:accessibilityConfig',a120_0x295cf4[a120_0x3f511a(0x205)]=a120_0x3f511a(0x246),a120_0x295cf4[a120_0x3f511a(0x237)]='sdk:aiSelfHealStep',a120_0x295cf4[a120_0x3f511a(0x1f8)]='sdk:aiSelfHealGetResult',a120_0x295cf4[a120_0x3f511a(0x1ee)]='sdk:testFrameworkEvent',a120_0x295cf4[a120_0x3f511a(0x222)]=a120_0x3f511a(0x22f),a120_0x295cf4[a120_0x3f511a(0x1de)]=a120_0x3f511a(0x236),a120_0x295cf4['SDK_CLI_ENQUEUE_TEST_EVENT']='sdk:cli:enqueueTestEvent',a120_0x295cf4[a120_0x3f511a(0x1f2)]=a120_0x3f511a(0x20f),a120_0x295cf4[a120_0x3f511a(0x20c)]='sdk:onStop';const SDK_EVENTS=a120_0x295cf4,a120_0x48baa6={};function a120_0xc58d(){const _0x48dac3=['EVENTS',':pre-execute','POST_EXECUTE','START','SDK_ACCESSIBILITY_CONFIG','exports','PRINT_BUILDLINK',':local-stop','sdk:o11y','LOCAL_START',':get','SDK_CLI_LOG_CREATED_EVENT','BEFORE_EACH',':hub-management','10rmxand','1882821pOqYvc','106084IKdJSp','sdk:cli:start','sdk:startBinSession',':local-start',':driver-takeScreenShot',':download','SDK_HOOK','sdk:app-automate','SDK_O11Y','DRIVER_MANAGE','A11Y_EVENTS','SDK_TEST_FRAMEWORK_EVENT','sdk:cli:check-update',':driver-manage',':sync','SDK_AUTOMATION_FRAMEWORK_STOP',':before','GET_RESULTS_SUMMARY',':driver-performscan','SDK_PERCY','AUTOMATE_EVENTS','SDK_AI_SELF_HEAL_GET_RESULT','O11y_EVENTS','HOOK_EVENTS','PERFORM_SCAN','sdk:driver:post-initialization',':ci-artifacts','SDK_TESTHUB',':before-each',':auto-capture','sdk:proxy-setup',':after-each','AFTER','KEEP_ALIVE','SDK_OBSERVABILITY_CONFIG',':session-status','sdk:automationFrameworkInit','SDK_CLEANUP','AFTER_ALL','sdk:driverInit','sdk:cli:on-connect','SDK_ON_STOP','PRE_EXECUTE','sdk:auto-capture','sdk:automationFrameworkStop','SESSION_NAME','LOCAL_STOP','sdk:cleanup','sdk:automationFrameworkStart','BEFORE','sdk:setup','SDK_CLI_ON_CONNECT',':stop','HUB_MANAGEMENT','SDK_TEST','SCREENSHOT',':snapshot','SDK_AUTOMATE','SESSION_STATUS','sdk:turboscale','SDK_AUTOMATION_FRAMEWORK_START','SNAPSHOT','SDK_POST_INITIALIZE','SDK_TEST_SESSION_EVENT',':keep-alive','SDK_PROXY_SETUP','DRIVER_EVENT','PERCY_EVENTS','SDK_APP_AUTOMATE','SDK_SETUP','SDK_CLI_START','GET',':get-accessibility-results',':after','SDK_AUTOMATION_FRAMEWORK_INIT','STOP','sdk:testSessionEvent','123096GHAyMD','SDK_DRIVER','TURBOSCALE_EVENTS','AFTER_EACH','QUIT','sdk:cli:on-bootstrap','sdk:cli:logCreatedEvent','SDK_AI_SELF_HEAL_STEP','170179bHVthS','GET_RESULTS','sdk:post-test','SDK_A11Y','7656kowVHV',':print-buildlink',':app-upload','TAKE_SCREENSHOT','SDK_POST_TEST','sdk:hook','1523554CthkfZ','SDK_CLI_DOWNLOAD','APP_UPLOAD',':get-accessibility-results-summary','sdk:observabilityConfig','APP_AUOTMATE_EVENTS','sdk:connectBinSession','SDK_CLI_ON_BOOTSTRAP','TESTHUB_EVENTS',':session-annotation',':before-all',':save-results',':start','sdk:cli:on-stop','2148642wEqknw','GENERATE_CI_ARTIFACT','SDK_AUTO_CAPTURE',':post-execute','SDK_TURBOSCALE','7819idOAIf','156thBmeY','DOWNLOAD','235UcDyBz','4YfcBoq',':screenshot','sdk:findNearestHub','sdk:a11y','sdk:automate','SESSION_ANNOTATION',':after-all','sdk:driver'];a120_0xc58d=function(){return _0x48dac3;};return a120_0xc58d();}function a120_0x3e14(_0x1df811,_0x5c0560){const _0xc58d19=a120_0xc58d();return a120_0x3e14=function(_0x3e1403,_0x11369e){_0x3e1403=_0x3e1403-0x1c8;let _0x33ff78=_0xc58d19[_0x3e1403];return _0x33ff78;},a120_0x3e14(_0x1df811,_0x5c0560);}a120_0x48baa6[a120_0x3f511a(0x1d3)]=SDK_EVENTS,a120_0x48baa6[a120_0x3f511a(0x24a)]={},a120_0x48baa6[a120_0x3f511a(0x1f7)]={},a120_0x48baa6[a120_0x3f511a(0x1ed)]={},a120_0x48baa6[a120_0x3f511a(0x226)]={},a120_0x48baa6[a120_0x3f511a(0x1f9)]={},a120_0x48baa6[a120_0x3f511a(0x1fa)]={},a120_0x48baa6[a120_0x3f511a(0x232)]={},a120_0x48baa6[a120_0x3f511a(0x247)]={},a120_0x48baa6[a120_0x3f511a(0x225)]={},a120_0x48baa6[a120_0x3f511a(0x24a)][a120_0x3f511a(0x1d6)]=SDK_EVENTS['SDK_TESTHUB']+a120_0x3f511a(0x24e),a120_0x48baa6[a120_0x3f511a(0x24a)][a120_0x3f511a(0x22e)]=SDK_EVENTS['SDK_TESTHUB']+a120_0x3f511a(0x217),a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x204)]=SDK_EVENTS[a120_0x3f511a(0x21c)]+a120_0x3f511a(0x223),a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x218)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x3f511a(0x1e0),a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x1dc)]=SDK_EVENTS[a120_0x3f511a(0x21c)]+a120_0x3f511a(0x1e6),a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x211)]=SDK_EVENTS[a120_0x3f511a(0x21c)]+a120_0x3f511a(0x1da),a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x1ec)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x3f511a(0x1f0),a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x210)]=SDK_EVENTS['SDK_AUTOMATE']+':session-name',a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x21d)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x3f511a(0x206),a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x1d0)]=SDK_EVENTS[a120_0x3f511a(0x21c)]+a120_0x3f511a(0x24b),a120_0x48baa6[a120_0x3f511a(0x1f7)]['IDLE_TIMEOUT']=SDK_EVENTS['SDK_AUTOMATE']+':idle-timeout',a120_0x48baa6[a120_0x3f511a(0x1f7)][a120_0x3f511a(0x251)]=SDK_EVENTS[a120_0x3f511a(0x21c)]+a120_0x3f511a(0x1fd),a120_0x48baa6[a120_0x3f511a(0x1f7)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0x3f511a(0x21c)]+a120_0x3f511a(0x23d),a120_0x48baa6[a120_0x3f511a(0x1ed)][a120_0x3f511a(0x1fb)]=SDK_EVENTS[a120_0x3f511a(0x23b)]+a120_0x3f511a(0x1f5),a120_0x48baa6[a120_0x3f511a(0x1ed)]['SAVE_RESULTS']=SDK_EVENTS['SDK_A11Y']+a120_0x3f511a(0x24d),a120_0x48baa6[a120_0x3f511a(0x1ed)][a120_0x3f511a(0x239)]=SDK_EVENTS[a120_0x3f511a(0x23b)]+a120_0x3f511a(0x22b),a120_0x48baa6[a120_0x3f511a(0x1ed)][a120_0x3f511a(0x1f4)]=SDK_EVENTS[a120_0x3f511a(0x23b)]+a120_0x3f511a(0x245),a120_0x48baa6[a120_0x3f511a(0x226)][a120_0x3f511a(0x1c9)]=SDK_EVENTS[a120_0x3f511a(0x1f6)]+a120_0x3f511a(0x1e8),a120_0x48baa6[a120_0x3f511a(0x226)][a120_0x3f511a(0x21a)]=SDK_EVENTS[a120_0x3f511a(0x1f6)]+a120_0x3f511a(0x1cc),a120_0x48baa6[a120_0x3f511a(0x226)][a120_0x3f511a(0x1d6)]=SDK_EVENTS[a120_0x3f511a(0x1f6)]+a120_0x3f511a(0x24e),a120_0x48baa6[a120_0x3f511a(0x226)][a120_0x3f511a(0x22e)]=SDK_EVENTS[a120_0x3f511a(0x1f6)]+a120_0x3f511a(0x217),a120_0x48baa6[a120_0x3f511a(0x226)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a120_0x3f511a(0x200),a120_0x48baa6[a120_0x3f511a(0x226)][a120_0x3f511a(0x220)]=SDK_EVENTS[a120_0x3f511a(0x1f6)]+a120_0x3f511a(0x21b),a120_0x48baa6[a120_0x3f511a(0x226)]['SCREENSHOT_APP']=SDK_EVENTS[a120_0x3f511a(0x1f6)]+':screenshot-app',a120_0x48baa6[a120_0x3f511a(0x1f9)]['SYNC']=SDK_EVENTS[a120_0x3f511a(0x1eb)]+a120_0x3f511a(0x1f1),a120_0x48baa6[a120_0x3f511a(0x1f9)][a120_0x3f511a(0x23f)]=SDK_EVENTS[a120_0x3f511a(0x1eb)]+a120_0x3f511a(0x1e7),a120_0x48baa6[a120_0x3f511a(0x1f9)][a120_0x3f511a(0x1d9)]=SDK_EVENTS['SDK_O11Y']+a120_0x3f511a(0x23d),a120_0x48baa6[a120_0x3f511a(0x1fa)][a120_0x3f511a(0x1df)]=SDK_EVENTS[a120_0x3f511a(0x1e9)]+a120_0x3f511a(0x1ff),a120_0x48baa6[a120_0x3f511a(0x1fa)][a120_0x3f511a(0x233)]=SDK_EVENTS[a120_0x3f511a(0x1e9)]+a120_0x3f511a(0x202),a120_0x48baa6[a120_0x3f511a(0x1fa)][a120_0x3f511a(0x209)]=SDK_EVENTS['SDK_HOOK']+a120_0x3f511a(0x1d1),a120_0x48baa6[a120_0x3f511a(0x1fa)]['BEFORE_ALL']=SDK_EVENTS['SDK_HOOK']+a120_0x3f511a(0x24c),a120_0x48baa6[a120_0x3f511a(0x1fa)][a120_0x3f511a(0x214)]=SDK_EVENTS[a120_0x3f511a(0x1e9)]+a120_0x3f511a(0x1f3),a120_0x48baa6[a120_0x3f511a(0x1fa)][a120_0x3f511a(0x203)]=SDK_EVENTS[a120_0x3f511a(0x1e9)]+a120_0x3f511a(0x22c),a120_0x48baa6[a120_0x3f511a(0x232)][a120_0x3f511a(0x218)]=SDK_EVENTS[a120_0x3f511a(0x254)]+':hub-management',a120_0x48baa6[a120_0x3f511a(0x232)][a120_0x3f511a(0x1d9)]=SDK_EVENTS[a120_0x3f511a(0x254)]+':print-buildlink',a120_0x48baa6[a120_0x3f511a(0x247)][a120_0x3f511a(0x244)]=SDK_EVENTS[a120_0x3f511a(0x227)]+a120_0x3f511a(0x23e),a120_0x48baa6[a120_0x3f511a(0x225)][a120_0x3f511a(0x234)]=SDK_EVENTS['SDK_DRIVER']+':quit',a120_0x48baa6[a120_0x3f511a(0x225)][a120_0x3f511a(0x22a)]=SDK_EVENTS['SDK_DRIVER']+a120_0x3f511a(0x1dd),a120_0x48baa6[a120_0x3f511a(0x225)][a120_0x3f511a(0x20d)]=SDK_EVENTS[a120_0x3f511a(0x231)]+a120_0x3f511a(0x1d4),a120_0x48baa6[a120_0x3f511a(0x225)][a120_0x3f511a(0x1d5)]=SDK_EVENTS[a120_0x3f511a(0x231)]+a120_0x3f511a(0x253),module[a120_0x3f511a(0x1d8)]=a120_0x48baa6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a121_0x1ce6(){const _0x4f0458=['eFLTN','IuWGK','gYiGF','cgNDC','diwhB','9576fKgegO','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','Ldikh','eventsMap','forEach','apply','stringify','ycsOo','message','BjsjM','__platformCaps','mark','-end','modified-key-metrics.json','writeFile','/error-report-','_errorEvents','BROWSERSTACK_SDK_INSTRUMENTATION','assign','319Rqsjxo','SNwWI','length','duration','constants','concat','index','Error\x20while\x20removing\x20files:\x20','error\x20in\x20measure\x20','end','_events','dFstz','fs/promises','<h1>Performance\x20Report</h1>','IqfQX','8469wBEmJh','env','existsSync','fZfyx','measureWrapper','92472rxsuuI','code','worker','debug','\x20for\x20all\x20processes\x20is\x20','resolve','dirname','gyGIf','xmDep','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','generateHTMLReport','getEventsFromJSON','push','7214506ALwxVK','11pSKGvX','mkdirSync','117992qFUkRF','658yPcuVG','899996gEUKKh','start','appendFileSync','vkjEA','</td></tr>','cwd','365OxmdrC','_observer','qumYK','tJqNV','BZTdU','errors','startMonitoring','xmjjq','Performance\x20report\x20is\x20at\x20','success','measures','.json','OQCEr','JySiG','name','Abzmj','failure','function','stopAndGenerate','_measureEvents','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','stopMonitoring','match','-start','reduce','slice','ytzvz','started','pushErrors','ltxcn','writeFileSync','all','toJSON','join','VSYBV','XgVUB','MrCxu','gafLp','splice','jsonReportDirName','generateJSON','oflQH','F_OK','KKyQW','observe','calculateTimeFromEvents','jsonReportFileName','../logger','TTATh','isEnabled','WGrvd','info','error-report','CYagN','qAEgc','format','OHHVE','OjgkA','qvdOn','entryTypes','194852yEOcgX','utf-8','finalizeErrors','map','unlink','iLjpo','hnxWJ','errorReportFileName','toString','jEhGC','parse','/performance-report-','pushPerfMeasures','1330kCrvYk','testName','platform','FGACU','winstonLogger','12LDfJye','readFileSync','captureError','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','Error\x20processing\x20key-metrics.json:\x20%s','disconnect','util','browserStackCwd','readFile','Time\x20for\x20','key-metrics.json','path','ZXPPd','performance-report','jsonReportDirPath','urlyZ','errorReportDirName','measure','stack','getEntries','rihbr','details','<tr><td>','flat','getCleanedPerfEvents','Hkepk','meta','finalizePerfMeasures'];a121_0x1ce6=function(){return _0x4f0458;};return a121_0x1ce6();}function a121_0x7e00(_0x2a754f,_0x351d8d){const _0x1ce6e6=a121_0x1ce6();return a121_0x7e00=function(_0x7e0063,_0x195f6b){_0x7e0063=_0x7e0063-0xca;let _0x1c1532=_0x1ce6e6[_0x7e0063];return _0x1c1532;},a121_0x7e00(_0x2a754f,_0x351d8d);}const a121_0x3f8c87=a121_0x7e00;(function(_0x1e2616,_0x2e90bb){const _0x5211f0=a121_0x7e00,_0x44ce61=_0x1e2616();while(!![]){try{const _0x22bec5=-parseInt(_0x5211f0(0xfd))/0x1*(parseInt(_0x5211f0(0x143))/0x2)+parseInt(_0x5211f0(0x155))/0x3*(parseInt(_0x5211f0(0x101))/0x4)+-parseInt(_0x5211f0(0x107))/0x5*(parseInt(_0x5211f0(0x176))/0x6)+parseInt(_0x5211f0(0x100))/0x7*(parseInt(_0x5211f0(0xff))/0x8)+parseInt(_0x5211f0(0xe9))/0x9*(parseInt(_0x5211f0(0x150))/0xa)+parseInt(_0x5211f0(0xda))/0xb*(parseInt(_0x5211f0(0xee))/0xc)+-parseInt(_0x5211f0(0xfc))/0xd;if(_0x22bec5===_0x2e90bb)break;else _0x44ce61['push'](_0x44ce61['shift']());}catch(_0x5b1229){_0x44ce61['push'](_0x44ce61['shift']());}}}(a121_0x1ce6,0xd9be1));const fs=require('fs'),fsPromise=require(a121_0x3f8c87(0xe6)),{performance,PerformanceObserver}=require('perf_hooks'),path=require(a121_0x3f8c87(0x160)),util=require(a121_0x3f8c87(0x15b)),logger=require(a121_0x3f8c87(0x136))[a121_0x3f8c87(0x154)],{getLogDir}=require(a121_0x3f8c87(0x136)),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a121_0x3f8c87(0x108)];static [a121_0x3f8c87(0xe4)]=[];static [a121_0x3f8c87(0x11a)]=[];static [a121_0x3f8c87(0xd7)]=[];static [a121_0x3f8c87(0x122)]=![];static [a121_0x3f8c87(0x12e)]=a121_0x3f8c87(0x162);static ['errorReportDirName']=process['env'][a121_0x3f8c87(0x15c)]?path['join'](process[a121_0x3f8c87(0xea)][a121_0x3f8c87(0x15c)],a121_0x3f8c87(0x13b)):path[a121_0x3f8c87(0x128)](process['cwd'](),'error-report');static [a121_0x3f8c87(0x14a)]=this['errorReportDirName']+a121_0x3f8c87(0xd6)+getProcessId()+a121_0x3f8c87(0x112);static ['details']={};static [a121_0x3f8c87(0xca)]={};static[a121_0x3f8c87(0x10d)](_0x350ac9,_0x44cf75=this[a121_0x3f8c87(0x165)]+a121_0x3f8c87(0xd6)+getProcessId()+a121_0x3f8c87(0x112)){const _0x6beac9=a121_0x3f8c87,_0x56b30e={'SNwWI':function(_0x1c8149,_0x190f76){return _0x1c8149===_0x190f76;},'CYagN':_0x6beac9(0x166),'iSYKZ':function(_0xfe1948){return _0xfe1948();},'IuWGK':function(_0x5adebb){return _0x5adebb();},'JySiG':function(_0x44de90,_0x2102f8){return _0x44de90+_0x2102f8;},'gyGIf':_0x6beac9(0x11b),'dKZzD':_0x6beac9(0x118)};try{this[_0x6beac9(0x163)]=path[_0x6beac9(0x128)](_0x56b30e['iSYKZ'](getLogDir),this[_0x6beac9(0x12e)]),!_0x350ac9&&(_0x350ac9=this[_0x6beac9(0x163)]+_0x6beac9(0x14e)+_0x56b30e[_0x6beac9(0x172)](getProcessId)+_0x6beac9(0x112)),!fs[_0x6beac9(0xeb)](this['jsonReportDirPath'])&&fs[_0x6beac9(0xfe)](this['jsonReportDirPath']);}catch(_0x1c7cc2){logger[_0x6beac9(0xf1)](_0x56b30e[_0x6beac9(0x114)](_0x56b30e[_0x6beac9(0xf5)],_0x1c7cc2));}if(this['started']||!this['isEnabled']())return;this['_observer']=new PerformanceObserver(_0x53d4f7=>{const _0x3e8437=_0x6beac9;_0x53d4f7[_0x3e8437(0x168)]()[_0x3e8437(0xcb)](_0x169f95=>{const _0x3cc64e=_0x3e8437;if(_0x56b30e[_0x3cc64e(0xdb)](_0x169f95['entryType'],_0x56b30e[_0x3cc64e(0x13c)])){let _0x5cfbbb={};if(_0x169f95[_0x3cc64e(0x127)])_0x5cfbbb=_0x169f95[_0x3cc64e(0x127)]();else for(const _0x5acbaa in _0x169f95){_0x5cfbbb[_0x5acbaa]=_0x169f95[_0x5acbaa];}this['details'][_0x169f95['name']]&&(_0x5cfbbb=Object[_0x3cc64e(0xd9)](_0x5cfbbb,this[_0x3cc64e(0x16a)][_0x169f95[_0x3cc64e(0x115)]])),delete this[_0x3cc64e(0x16a)][_0x169f95[_0x3cc64e(0x115)]],this[_0x3cc64e(0x11a)]['push'](_0x5cfbbb);}else this[_0x3cc64e(0xe4)][_0x3cc64e(0xfb)](_0x169f95);});});const _0x4020ab={};_0x4020ab['buffered']=!![],_0x4020ab[_0x6beac9(0x142)]=[_0x56b30e['dKZzD'],_0x56b30e[_0x6beac9(0x13c)]],this[_0x6beac9(0x108)][_0x6beac9(0x133)](_0x4020ab),this['started']=!![],this[_0x6beac9(0x135)]=_0x350ac9,this[_0x6beac9(0x14a)]=_0x44cf75;}static['getPerformance'](){return performance;}static[a121_0x3f8c87(0x134)](_0xacb994,_0x5a1fa8){const _0x118ede=a121_0x3f8c87,_0x480c14={};_0x480c14[_0x118ede(0x121)]=function(_0x2814c2,_0x30a647){return _0x2814c2+_0x30a647;},_0x480c14[_0x118ede(0x10b)]=function(_0x46514c,_0x598736){return _0x46514c||_0x598736;},_0x480c14[_0x118ede(0x137)]=function(_0x4fa71b,_0x513920){return _0x4fa71b===_0x513920;};const _0x9052cf=_0x480c14,_0x40270a={};if(!_0xacb994||_0x9052cf['TTATh'](_0xacb994[_0x118ede(0xdc)],0x0))return;_0xacb994[_0x118ede(0x146)](_0x3ee70a=>{const _0x5e1c34=_0x118ede;!_0x40270a[_0x3ee70a[_0x5e1c34(0x115)]]&&(_0x40270a[_0x3ee70a[_0x5e1c34(0x115)]]=0x0),_0x40270a[_0x3ee70a['name']]+=_0x3ee70a[_0x5e1c34(0xdd)];});const _0x13fdd8=_0x5a1fa8[_0x118ede(0x11f)]((_0x36caac,_0x2197bc)=>{const _0x322107=_0x118ede;return _0x9052cf['ytzvz'](_0x40270a[_0x2197bc],_0x9052cf[_0x322107(0x10b)](_0x36caac,0x0));},0x0);return _0x13fdd8;}static async['calculateTimesFromMultipleFiles'](_0x56716d,_0x232b1c){const _0x5be3ef=a121_0x3f8c87,_0x22772a={'ZXPPd':function(_0x5ca7ba,_0x41b3c8){return _0x5ca7ba+_0x41b3c8;},'HVFNM':function(_0x16ffbe,_0xa0344d){return _0x16ffbe||_0xa0344d;},'diwhB':function(_0x29bbe6,_0x5cd274){return _0x29bbe6===_0x5cd274;},'xmjjq':function(_0x56630b,_0xb5adbb){return _0x56630b(_0xb5adbb);}};if(!_0x56716d||_0x22772a[_0x5be3ef(0x175)](_0x56716d[_0x5be3ef(0xdc)],0x0))return 0x0;const _0x48be86=[];for(const _0x50f473 of _0x56716d){const _0x138379=path[_0x5be3ef(0x128)]('.',_0x50f473);try{const _0x342c22=this[_0x5be3ef(0xfa)](_0x138379);_0x342c22[_0x5be3ef(0x146)](_0x5987c0=>{const _0x15a32b=_0x5be3ef;!_0x48be86[_0x5987c0['name']]&&(_0x48be86[_0x5987c0[_0x15a32b(0x115)]]=0x0),_0x48be86[_0x5987c0[_0x15a32b(0x115)]]+=_0x5987c0['duration'];});}catch(_0xe9c157){_0x22772a[_0x5be3ef(0x10e)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0xe9c157['toString']());}}const _0x20766c=_0x232b1c[_0x5be3ef(0x11f)]((_0x5ddbd7,_0x103da3)=>{const _0x13e656=_0x5be3ef;return _0x22772a[_0x13e656(0x161)](_0x48be86[_0x103da3],_0x22772a['HVFNM'](_0x5ddbd7,0x0));},0x0);return _0x22772a[_0x5be3ef(0x10e)](debug,_0x5be3ef(0x15e)+_0x232b1c+_0x5be3ef(0xf2)+_0x20766c),_0x20766c;}static[a121_0x3f8c87(0xfa)](_0x2cf15b){const _0x227b87=a121_0x3f8c87;if(_0x2cf15b){if(!fs['existsSync'](_0x2cf15b))return[];return JSON[_0x227b87(0x14d)](fs[_0x227b87(0x156)](_0x2cf15b)[_0x227b87(0x14b)]());}}static async[a121_0x3f8c87(0x119)](_0x1b161d='performance-own.html',_0x12eb7f=null){const _0x119dee=a121_0x3f8c87,_0x1f94ed={'KKyQW':function(_0x26d249,_0x548f3d){return _0x26d249(_0x548f3d);}};if(!this[_0x119dee(0x122)])return;await _0x1f94ed[_0x119dee(0x132)](sleep,0x1e),this['_observer'][_0x119dee(0x15a)](),this[_0x119dee(0x122)]=![],this[_0x119dee(0x12f)](this[_0x119dee(0xe4)]);const _0x86aca4=this['generateHTMLReport'](this[_0x119dee(0xe4)]),_0x1acc2b=path[_0x119dee(0x128)](process[_0x119dee(0x106)](),_0x1b161d);fs[_0x119dee(0xd5)](_0x1acc2b,_0x86aca4,_0x2bf2b7=>{const _0x3b3317=_0x119dee;if(_0x2bf2b7){_0x1f94ed[_0x3b3317(0x132)](debug,'Error\x20in\x20writing\x20html\x20'+_0x2bf2b7['toString']());return;}_0x1f94ed[_0x3b3317(0x132)](debug,_0x3b3317(0x10f)+_0x1acc2b);});if(_0x12eb7f)return this[_0x119dee(0x134)](this[_0x119dee(0xe4)],_0x12eb7f);}static[a121_0x3f8c87(0xf9)](_0x586dda){const _0x1a85f6=a121_0x3f8c87,_0x57f5cc={};_0x57f5cc[_0x1a85f6(0x12b)]=_0x1a85f6(0xf7),_0x57f5cc[_0x1a85f6(0xd0)]=_0x1a85f6(0xe7),_0x57f5cc[_0x1a85f6(0xce)]=_0x1a85f6(0x177),_0x57f5cc[_0x1a85f6(0x139)]='</tbody></table></body></html>';const _0x5c4cfd=_0x57f5cc;let _0x54f918=_0x5c4cfd[_0x1a85f6(0x12b)];return _0x54f918+=_0x5c4cfd[_0x1a85f6(0xd0)],_0x54f918+=_0x5c4cfd[_0x1a85f6(0xce)],_0x586dda[_0x1a85f6(0xcb)](_0xfda936=>{const _0x397b4f=_0x1a85f6;_0x54f918+=_0x397b4f(0x16b)+_0xfda936[_0x397b4f(0x115)]+'</td><td>'+_0xfda936[_0x397b4f(0xdd)]+_0x397b4f(0x105);}),_0x54f918+=_0x5c4cfd[_0x1a85f6(0x139)],_0x54f918;}static['generateJSON'](_0x5e1ec7){const _0x1d38c6=a121_0x3f8c87;if(!this['jsonReportFileName'])return;const _0x13ac57={};_0x5e1ec7['map'](_0x9b76e5=>{const _0x535517=a121_0x7e00;!_0x13ac57[_0x9b76e5[_0x535517(0x115)]]&&(_0x13ac57[_0x9b76e5[_0x535517(0x115)]]=0x0),_0x13ac57[_0x9b76e5[_0x535517(0x115)]]+=_0x9b76e5['duration'];});const _0x3d8272=Object['entries'](_0x13ac57)[_0x1d38c6(0x146)](([_0x20bead,_0x22e381])=>{const _0x5ed8a1=_0x1d38c6,_0x41d096={};return _0x41d096[_0x5ed8a1(0x115)]=_0x20bead,_0x41d096['duration']=_0x22e381,_0x41d096;});fs[_0x1d38c6(0x125)](this['jsonReportFileName'],JSON[_0x1d38c6(0xcd)](_0x3d8272));}static[a121_0x3f8c87(0x138)](){const _0x51cf8c=a121_0x3f8c87,_0x5d7c1a={};_0x5d7c1a['cgNDC']=function(_0x4787a4,_0x221dab){return _0x4787a4===_0x221dab;},_0x5d7c1a[_0x51cf8c(0x173)]='false';const _0x4d1bd1=_0x5d7c1a;return!_0x4d1bd1[_0x51cf8c(0x174)](process[_0x51cf8c(0xea)][_0x51cf8c(0xd8)],_0x4d1bd1[_0x51cf8c(0x173)]);}static['measure'](_0x2b592b,_0x32ddf4,_0x3eeb8c=null,_0x36bd20={},_0x2010d2=null){const _0x504188=a121_0x3f8c87,_0x11f67f={'dFstz':function(_0x12fa49,_0x196072){return _0x12fa49(_0x196072);},'gafLp':function(_0x10c205,_0x402746){return _0x10c205 instanceof _0x402746;}};try{if(this['started']&&this['isEnabled']()){let _0x40eb65=_0x2b592b;_0x3eeb8c&&(_0x40eb65=_0x2b592b+'['+JSON[_0x504188(0xcd)](_0x3eeb8c)+']');PerformanceTester[_0x504188(0x102)](_0x40eb65),this['details']&&(this['details'][_0x40eb65]=_0x36bd20);try{const _0x4b9527=_0x32ddf4[_0x504188(0xcc)](null,_0x2010d2);if(_0x11f67f[_0x504188(0x12c)](_0x4b9527,Promise))return new Promise((_0x366b17,_0x74dc79)=>{_0x4b9527['then'](_0xf3f778=>{const _0x3c20de=a121_0x7e00;PerformanceTester['end'](_0x40eb65),_0x11f67f[_0x3c20de(0xe5)](_0x366b17,_0xf3f778);})['catch'](_0x4b5c31=>{const _0x1cd356=a121_0x7e00;PerformanceTester[_0x1cd356(0xe3)](_0x40eb65,![],util['format'](_0x4b5c31)),_0x11f67f[_0x1cd356(0xe5)](_0x74dc79,_0x4b5c31);});});;return PerformanceTester['end'](_0x40eb65),_0x4b9527;}catch(_0x157889){PerformanceTester[_0x504188(0xe3)](_0x40eb65,![],util[_0x504188(0x13e)](_0x157889));throw _0x157889;}};return _0x32ddf4['apply'](null,_0x2010d2);}catch(_0x58f6a4){return logger[_0x504188(0xf1)](_0x504188(0xe2)+(_0x58f6a4[_0x504188(0x167)]||_0x58f6a4[_0x504188(0xcf)]||_0x58f6a4)),_0x32ddf4['apply'](null,_0x2010d2);}}static[a121_0x3f8c87(0xed)](_0x2397f9,_0x456b4e,_0x163f9b={}){const _0x2fa5ad=a121_0x3f8c87,_0x23eefb={'oflQH':function(_0x5b55e2){return _0x5b55e2();},'qumYK':function(_0xe70000){return _0xe70000();}},_0x36b6ae=this;return _0x163f9b[_0x2fa5ad(0xf0)]=_0x23eefb[_0x2fa5ad(0x130)](getProcessId),_0x163f9b[_0x2fa5ad(0x151)]=_0x23eefb[_0x2fa5ad(0x109)](getTestName),_0x163f9b[_0x2fa5ad(0x152)]=global[_0x2fa5ad(0xd1)]&&global[_0x2fa5ad(0xd1)][_0x2fa5ad(0xe0)],function(){const _0x5098a0=_0x2fa5ad,_0x57e544=[_0x2397f9,_0x456b4e,null,_0x163f9b][_0x5098a0(0xdf)](arguments);return _0x36b6ae[_0x5098a0(0x166)][_0x5098a0(0xcc)](_0x36b6ae,_0x57e544);};}static[a121_0x3f8c87(0x16d)](){const _0xf5b05d=a121_0x3f8c87,_0x45bd6a=/(^.*)\[(.*)\]$/,_0x4eabc3={},_0x128a17={},_0x3b4b8d=[],_0x569214=this['_measureEvents'][_0xf5b05d(0x12d)](0x0,this[_0xf5b05d(0x11a)][_0xf5b05d(0xdc)]);for(const _0x2bc140 of _0x569214){const _0x2eddd4=_0x2bc140[_0xf5b05d(0x115)][_0xf5b05d(0x11d)](_0x45bd6a),_0x31d63a=Object[_0xf5b05d(0xd9)]({},_0x2bc140);_0x2eddd4&&(_0x31d63a['name']=_0x2eddd4[0x1],_0x31d63a[_0xf5b05d(0x16f)]=JSON[_0xf5b05d(0x14d)](_0x2eddd4[0x2])),_0x3b4b8d[_0xf5b05d(0xfb)](_0x31d63a);}return _0x3b4b8d;}static[a121_0x3f8c87(0x14f)](){const _0x34fa60=a121_0x3f8c87,_0x11b89e={'IqfQX':function(_0x143fce){return _0x143fce();},'urlyZ':function(_0x30f291,_0x564dcf){return _0x30f291+_0x564dcf;},'skHhj':_0x34fa60(0xe1),'FSPcX':function(_0x5bfc8e,_0x26f20b){return _0x5bfc8e===_0x26f20b;},'OHHVE':function(_0x23a854,_0x3aedc7){return _0x23a854+_0x3aedc7;}};try{this['jsonReportDirPath']=path[_0x34fa60(0x128)](_0x11b89e[_0x34fa60(0xe8)](getLogDir),this[_0x34fa60(0x12e)]);if(fs[_0x34fa60(0xeb)](this[_0x34fa60(0x163)])){const _0x3af896=fs['readdirSync'](this['jsonReportDirPath']);for(const _0x2704bb of _0x3af896){fs['unlinkSync'](path[_0x34fa60(0x128)](this[_0x34fa60(0x163)],_0x2704bb));}}}catch(_0x130880){logger['debug'](_0x11b89e[_0x34fa60(0x164)](_0x11b89e['skHhj'],_0x130880));}if(_0x11b89e['FSPcX'](this[_0x34fa60(0x11a)][_0x34fa60(0xdc)],0x0))return;const _0x4597f9=this[_0x34fa60(0x16d)](),_0x1447f2=JSON[_0x34fa60(0xcd)](_0x4597f9),_0x273fbf=_0x11b89e[_0x34fa60(0x13f)](_0x1447f2['slice'](0x1,-0x1),',');fs[_0x34fa60(0x103)](this['jsonReportFileName'],_0x273fbf);}static async[a121_0x3f8c87(0x170)](){const _0x5c28bd=a121_0x3f8c87,_0x10bf18={'OjgkA':function(_0x2d5adb){return _0x2d5adb();},'vkjEA':function(_0x311a22,_0x2b10c4){return _0x311a22===_0x2b10c4;},'Hkepk':_0x5c28bd(0x15f),'gSgAZ':_0x5c28bd(0x144),'ltxcn':_0x5c28bd(0xd4),'qAEgc':function(_0x148d99,_0x344770){return _0x148d99+_0x344770;},'qvdOn':_0x5c28bd(0x159),'Ldikh':_0x5c28bd(0xf8),'xmDep':_0x5c28bd(0x158),'iLjpo':function(_0x2efe7a,_0x18946d){return _0x2efe7a>_0x18946d;}};this[_0x5c28bd(0x163)]=path[_0x5c28bd(0x128)](_0x10bf18[_0x5c28bd(0x140)](getLogDir),this[_0x5c28bd(0x12e)]);if(!this[_0x5c28bd(0x122)]||_0x10bf18[_0x5c28bd(0x104)](this['_measureEvents']['length'],0x0))return[];if(!fs[_0x5c28bd(0xeb)](this[_0x5c28bd(0x163)]))return this['_measureEvents'];const _0x22e4d6=(await fsPromise['readdir'](this[_0x5c28bd(0x163)]))[_0x5c28bd(0x146)](_0x356794=>path[_0x5c28bd(0xf3)](this['jsonReportDirPath'],_0x356794));try{const _0x3913a8=path[_0x5c28bd(0xf4)](this[_0x5c28bd(0x163)]),_0x4fd7c5=path[_0x5c28bd(0x128)](_0x3913a8,_0x10bf18[_0x5c28bd(0x16e)]);if(fs[_0x5c28bd(0xeb)](_0x4fd7c5))try{await fsPromise['access'](_0x4fd7c5,fs[_0x5c28bd(0xde)][_0x5c28bd(0x131)]);const _0x5a680f=await fsPromise[_0x5c28bd(0x15d)](_0x4fd7c5,_0x10bf18['gSgAZ']),_0x41b8f2=JSON[_0x5c28bd(0x14d)](_0x5a680f),_0x59daa2=path[_0x5c28bd(0x128)](this[_0x5c28bd(0x163)],_0x10bf18[_0x5c28bd(0x124)]);let _0x58e4b1='';Array['isArray'](_0x41b8f2)?_0x58e4b1=_0x10bf18['qAEgc'](_0x41b8f2[_0x5c28bd(0x146)](_0x263440=>JSON[_0x5c28bd(0xcd)](_0x263440))['join'](','),','):_0x58e4b1=_0x10bf18[_0x5c28bd(0x13d)](JSON[_0x5c28bd(0xcd)](_0x41b8f2),','),await fsPromise[_0x5c28bd(0xd5)](_0x59daa2,_0x58e4b1),_0x22e4d6[_0x5c28bd(0xfb)](_0x59daa2),await fsPromise[_0x5c28bd(0x147)](_0x4fd7c5);}catch(_0x2840b5){logger['info'](util[_0x5c28bd(0x13e)](_0x10bf18[_0x5c28bd(0x141)],_0x2840b5[_0x5c28bd(0x167)]||_0x2840b5['message']||_0x2840b5));}else logger[_0x5c28bd(0x13a)](_0x10bf18[_0x5c28bd(0x178)]);}catch(_0x8297d1){logger['info'](util[_0x5c28bd(0x13e)](_0x10bf18[_0x5c28bd(0xf6)],_0x8297d1['stack']||_0x8297d1[_0x5c28bd(0xcf)]||_0x8297d1));}let _0x221d4c=(await Promise[_0x5c28bd(0x126)](_0x22e4d6['map'](_0x5c93a3=>fsPromise[_0x5c28bd(0x15d)](_0x5c93a3,_0x5c28bd(0x144)))))[_0x5c28bd(0x146)](_0x3d099d=>'['+_0x3d099d[_0x5c28bd(0x120)](0x0,-0x1)+']')[_0x5c28bd(0x146)](_0x101a12=>JSON[_0x5c28bd(0x14d)](_0x101a12))[_0x5c28bd(0x16c)]();return _0x10bf18[_0x5c28bd(0x148)](this[_0x5c28bd(0x11a)][_0x5c28bd(0xdc)],0x0)&&(_0x221d4c=_0x221d4c[_0x5c28bd(0xdf)](this[_0x5c28bd(0x16d)]())),this[_0x5c28bd(0x108)][_0x5c28bd(0x15a)](),_0x221d4c;}static[a121_0x3f8c87(0x123)](){const _0x145b11=a121_0x3f8c87,_0x3d51f0={};_0x3d51f0[_0x145b11(0x171)]=function(_0x49ac04,_0x5161d8){return _0x49ac04===_0x5161d8;},_0x3d51f0[_0x145b11(0x10a)]=function(_0xfa8ed5,_0x39a7ed){return _0xfa8ed5+_0x39a7ed;};const _0x39698b=_0x3d51f0;if(_0x39698b['eFLTN'](this[_0x145b11(0xd7)]['length'],0x0))return;const _0xb2d8ea=JSON[_0x145b11(0xcd)](this[_0x145b11(0xd7)]),_0x136c30=_0x39698b['tJqNV'](_0xb2d8ea[_0x145b11(0x120)](0x1,-0x1),',');fs['appendFileSync'](this['errorFile'],_0x136c30);}static['finalizeErrors'](){const _0x27627e=a121_0x3f8c87,_0x1c0e53={};_0x1c0e53[_0x27627e(0x129)]=function(_0x518723,_0x4f29bd){return _0x518723>_0x4f29bd;};const _0x2c4049=_0x1c0e53;if(this[_0x27627e(0x14a)]){if(!fs[_0x27627e(0xeb)](this[_0x27627e(0x14a)]))return this[_0x27627e(0xd7)];let _0x1c07be=fs[_0x27627e(0x156)](this['errorReportFileName'])[_0x27627e(0x14b)]();_0x1c07be='['+_0x1c07be[_0x27627e(0x120)](0x0,-0x1)+']';let _0x18a081=JSON[_0x27627e(0x14d)](_0x1c07be);return _0x2c4049[_0x27627e(0x129)](this[_0x27627e(0xd7)][_0x27627e(0xdc)],0x0)&&(_0x18a081=_0x18a081['concat'](this[_0x27627e(0xd7)])),fs['unlinkSync'](this[_0x27627e(0x14a)]),_0x18a081;}}static[a121_0x3f8c87(0x157)](_0x2aaee6){const _0x4daba2=a121_0x3f8c87;if(!this['isEnabled']())return;this[_0x4daba2(0xd7)][_0x4daba2(0xfb)]({'message':_0x2aaee6[_0x4daba2(0xcf)],'trace':_0x2aaee6['stack'],'code':_0x2aaee6[_0x4daba2(0xef)]||null,'time':new Date()});}static[a121_0x3f8c87(0x11c)](){const _0x1a668a=a121_0x3f8c87;try{if(!this[_0x1a668a(0x138)]())return;this[_0x1a668a(0x108)][_0x1a668a(0x15a)](),this[_0x1a668a(0x14f)](),this[_0x1a668a(0x123)]();}catch(_0x1993f6){logger[_0x1a668a(0xf1)]('Error\x20stopping\x20monitoring\x20'+util[_0x1a668a(0x13e)](_0x1993f6));}}static async['finalize'](){const _0x5ba7e9=a121_0x3f8c87,_0x5c4b55={'hnxWJ':function(_0x3a068f,_0x48c0f7){return _0x3a068f(_0x48c0f7);}};await _0x5c4b55[_0x5ba7e9(0x149)](sleep,0x1e);const _0x2a07a1=await this[_0x5ba7e9(0x170)](),_0x28c9b7=this[_0x5ba7e9(0x145)]();if(!this[_0x5ba7e9(0x138)]()){const _0x3698fc={};return _0x3698fc[_0x5ba7e9(0x111)]=[],_0x3698fc[_0x5ba7e9(0x10c)]=[],_0x3698fc;}const _0x276991={};return _0x276991['measures']=_0x2a07a1,_0x276991[_0x5ba7e9(0x10c)]=_0x28c9b7,_0x276991;}static[a121_0x3f8c87(0x102)](_0x1a0182){const _0x69eacb=a121_0x3f8c87,_0x13cd78={};_0x13cd78[_0x69eacb(0x169)]=function(_0x5688b6,_0x2380cd){return _0x5688b6+_0x2380cd;},_0x13cd78[_0x69eacb(0x12a)]=_0x69eacb(0x11e);const _0x5b28cb=_0x13cd78,_0x403d98=_0x5b28cb[_0x69eacb(0x169)](_0x1a0182,_0x5b28cb[_0x69eacb(0x12a)]);if(this[_0x69eacb(0xca)][_0x403d98])return;performance[_0x69eacb(0xd2)](_0x403d98),this[_0x69eacb(0xca)][_0x403d98]=0x1;}static[a121_0x3f8c87(0xe3)](_0x38a393,_0x2783e4=!![],_0x4e9d3f=null,_0x2841d3={}){const _0x293652=a121_0x3f8c87,_0x1f77f3={'fZfyx':function(_0x1e82e1,_0x25c8dd){return _0x1e82e1+_0x25c8dd;},'FGACU':_0x293652(0xd3),'urUBo':function(_0x351cc0,_0x376758){return _0x351cc0+_0x376758;},'OQCEr':_0x293652(0x11e),'Abzmj':function(_0x424161){return _0x424161();},'jEhGC':function(_0x75ad73){return _0x75ad73();}};performance[_0x293652(0xd2)](_0x1f77f3[_0x293652(0xec)](_0x38a393,_0x1f77f3[_0x293652(0x153)])),performance[_0x293652(0x166)](_0x38a393,_0x1f77f3['urUBo'](_0x38a393,_0x1f77f3[_0x293652(0x113)]),_0x1f77f3[_0x293652(0xec)](_0x38a393,_0x1f77f3['FGACU']));const _0x4064c7={};_0x4064c7[_0x293652(0x110)]=_0x2783e4,_0x4064c7[_0x293652(0x117)]=_0x4e9d3f,this[_0x293652(0x16a)][_0x38a393]=Object[_0x293652(0xd9)](_0x4064c7,Object[_0x293652(0xd9)](Object[_0x293652(0xd9)]({'worker':_0x1f77f3[_0x293652(0x116)](getProcessId),'platform':global['__platformCaps']&&global[_0x293652(0xd1)]['index'],'testName':_0x1f77f3[_0x293652(0x14c)](getTestName)},_0x2841d3),this['details'][_0x38a393]||{}));}}module['exports']=PerformanceTester;
|
|
1
|
+
const a121_0x33ad26=a121_0x101b;(function(_0xba3d43,_0xfc4a2){const _0x3ad613=a121_0x101b,_0x4824a2=_0xba3d43();while(!![]){try{const _0x4da6ae=parseInt(_0x3ad613(0x1d5))/0x1+-parseInt(_0x3ad613(0x220))/0x2+parseInt(_0x3ad613(0x22e))/0x3*(-parseInt(_0x3ad613(0x268))/0x4)+parseInt(_0x3ad613(0x255))/0x5*(-parseInt(_0x3ad613(0x201))/0x6)+parseInt(_0x3ad613(0x248))/0x7+-parseInt(_0x3ad613(0x22f))/0x8+parseInt(_0x3ad613(0x253))/0x9*(parseInt(_0x3ad613(0x20c))/0xa);if(_0x4da6ae===_0xfc4a2)break;else _0x4824a2['push'](_0x4824a2['shift']());}catch(_0x1e27a7){_0x4824a2['push'](_0x4824a2['shift']());}}}(a121_0x55c6,0x62cac));function a121_0x55c6(){const _0x2017be=['pcPbm','OAuEe','debug','details','unlinkSync','measures','BGmUN','getCleanedPerfEvents','performance-report','start','rrOro','mkdirSync','uBRMQ','wKMav','appendFileSync','Time\x20for\x20','pushPerfMeasures','error\x20in\x20measure\x20','_events','getPerformance','parse','APLFk','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','fs/promises','observe','all','jsonReportDirName','\x20for\x20all\x20processes\x20is\x20','jsonReportFileName','stack','httFH','Error\x20stopping\x20monitoring\x20','cwd','end','474GsMqCh','meta','finalizeErrors','readdirSync','PPPTY','_observer','rlJNE','rVLqv','code','isEnabled','qjACr','2718580MBZeHR','startMonitoring','BROWSERSTACK_SDK_INSTRUMENTATION','then','SGjAL','splice','duration','assign','Performance\x20report\x20is\x20at\x20','EkQSk','eventsMap','forEach','match','UhdDN','_errorEvents','iPhMw','</td><td>','../logger','utf-8','getEventsFromJSON','754026yjMlDm','browserStackCwd','fZPOu','EhzuJ','</td></tr>','isArray','buffered','apply','started','YYBIU','toString','platform','concat','yZiGc','2559FWxvrf','4403248WvtyLD','function','KTsVU','stopAndGenerate','SwJwg','map','hENet','name','vMDzq','pDYEo','info','stopMonitoring','index','reduce','readFileSync','measure','captureError','calculateTimeFromEvents','<tr><td>','jsonReportDirPath','measureWrapper','errorReportDirName','failure','false','Pijus','5087376hGblfL','generateHTMLReport','format','_measureEvents','env','NfCWS','RNeIv','stringify','access','UctZw','ESCaP','27Zokoml','push','2005YKLiuJ','writeFileSync','winstonLogger','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','existsSync','message','finalizePerfMeasures','hagTs','length','generateJSON','finalize','__platformCaps','performance-own.html','bjWFi','Error\x20processing\x20key-metrics.json:\x20%s','toJSON','BwYsU','TvfLk','-start','3148JszBOe','readFile','.json','aGzeD','</tbody></table></body></html>','error-report','dirname','errorReportFileName','RHomQ','Error\x20while\x20removing\x20files:\x20','modified-key-metrics.json','QtpTX','Qyekk','JXtnR','upzJk','entryType','calculateTimesFromMultipleFiles','<h1>Performance\x20Report</h1>','perf_hooks','RnUog','mark','writeFile','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','slice','disconnect','492719KRBtJy','unlink','constants','GcRYO','pushErrors','join','worker','getEntries','catch','entryTypes'];a121_0x55c6=function(){return _0x2017be;};return a121_0x55c6();}function a121_0x101b(_0x40560c,_0x390db2){const _0x55c6d1=a121_0x55c6();return a121_0x101b=function(_0x101bf5,_0x89c34b){_0x101bf5=_0x101bf5-0x1d5;let _0x553f68=_0x55c6d1[_0x101bf5];return _0x553f68;},a121_0x101b(_0x40560c,_0x390db2);}const fs=require('fs'),fsPromise=require(a121_0x33ad26(0x1f6)),{performance,PerformanceObserver}=require(a121_0x33ad26(0x27a)),path=require('path'),util=require('util'),logger=require('../logger')[a121_0x33ad26(0x257)],{getLogDir}=require(a121_0x33ad26(0x21d)),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a121_0x33ad26(0x206)];static [a121_0x33ad26(0x1f1)]=[];static [a121_0x33ad26(0x24b)]=[];static [a121_0x33ad26(0x21a)]=[];static [a121_0x33ad26(0x228)]=![];static [a121_0x33ad26(0x1f9)]=a121_0x33ad26(0x1e7);static [a121_0x33ad26(0x244)]=process[a121_0x33ad26(0x24c)][a121_0x33ad26(0x221)]?path[a121_0x33ad26(0x1da)](process[a121_0x33ad26(0x24c)][a121_0x33ad26(0x221)],'error-report'):path['join'](process[a121_0x33ad26(0x1ff)](),a121_0x33ad26(0x26d));static ['errorReportFileName']=this[a121_0x33ad26(0x244)]+'/error-report-'+getProcessId()+a121_0x33ad26(0x26a);static [a121_0x33ad26(0x1e2)]={};static [a121_0x33ad26(0x216)]={};static[a121_0x33ad26(0x20d)](_0x15fca6,_0x23d1ce=this[a121_0x33ad26(0x244)]+'/error-report-'+getProcessId()+a121_0x33ad26(0x26a)){const _0x33b7a9=a121_0x33ad26,_0x50965e={'wKMav':function(_0x151b93,_0x51b596){return _0x151b93===_0x51b596;},'TRnMy':_0x33b7a9(0x23e),'YYBIU':function(_0x19aac3){return _0x19aac3();},'SwJwg':function(_0x3bc711,_0x3c49fa){return _0x3bc711+_0x3c49fa;},'rVLqv':'Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','zocMF':_0x33b7a9(0x230)};try{this[_0x33b7a9(0x242)]=path[_0x33b7a9(0x1da)](_0x50965e['YYBIU'](getLogDir),this[_0x33b7a9(0x1f9)]),!_0x15fca6&&(_0x15fca6=this[_0x33b7a9(0x242)]+'/performance-report-'+_0x50965e[_0x33b7a9(0x229)](getProcessId)+_0x33b7a9(0x26a)),!fs[_0x33b7a9(0x259)](this[_0x33b7a9(0x242)])&&fs[_0x33b7a9(0x1ea)](this[_0x33b7a9(0x242)]);}catch(_0x3a4b9e){logger[_0x33b7a9(0x1e1)](_0x50965e[_0x33b7a9(0x233)](_0x50965e[_0x33b7a9(0x208)],_0x3a4b9e));}if(this[_0x33b7a9(0x228)]||!this[_0x33b7a9(0x20a)]())return;this[_0x33b7a9(0x206)]=new PerformanceObserver(_0x4b9a0f=>{const _0x8049b2=_0x33b7a9,_0x397e22={'Qyekk':function(_0x20b286,_0x1e2afa){const _0x5650d6=a121_0x101b;return _0x50965e[_0x5650d6(0x1ec)](_0x20b286,_0x1e2afa);},'UctZw':_0x50965e['TRnMy']};_0x4b9a0f[_0x8049b2(0x1dc)]()['forEach'](_0xf47e02=>{const _0xe8dfa7=_0x8049b2;if(_0x397e22[_0xe8dfa7(0x274)](_0xf47e02[_0xe8dfa7(0x277)],_0x397e22[_0xe8dfa7(0x251)])){let _0x5931cc={};if(_0xf47e02[_0xe8dfa7(0x264)])_0x5931cc=_0xf47e02[_0xe8dfa7(0x264)]();else for(const _0x4da0f7 in _0xf47e02){_0x5931cc[_0x4da0f7]=_0xf47e02[_0x4da0f7];}this[_0xe8dfa7(0x1e2)][_0xf47e02[_0xe8dfa7(0x236)]]&&(_0x5931cc=Object[_0xe8dfa7(0x213)](_0x5931cc,this[_0xe8dfa7(0x1e2)][_0xf47e02[_0xe8dfa7(0x236)]])),delete this[_0xe8dfa7(0x1e2)][_0xf47e02[_0xe8dfa7(0x236)]],this['_measureEvents'][_0xe8dfa7(0x254)](_0x5931cc);}else this['_events']['push'](_0xf47e02);});});const _0x2057ef={};_0x2057ef[_0x33b7a9(0x226)]=!![],_0x2057ef[_0x33b7a9(0x1de)]=[_0x50965e['zocMF'],_0x50965e['TRnMy']],this['_observer'][_0x33b7a9(0x1f7)](_0x2057ef),this[_0x33b7a9(0x228)]=!![],this[_0x33b7a9(0x1fb)]=_0x15fca6,this[_0x33b7a9(0x26f)]=_0x23d1ce;}static[a121_0x33ad26(0x1f2)](){return performance;}static[a121_0x33ad26(0x240)](_0x3a36fe,_0x34af39){const _0x438f4d=a121_0x33ad26,_0x7ffc79={};_0x7ffc79[_0x438f4d(0x252)]=function(_0x37bf05,_0x3cf31d){return _0x37bf05+_0x3cf31d;},_0x7ffc79['TPReN']=function(_0x211f5b,_0x117ccc){return _0x211f5b||_0x117ccc;},_0x7ffc79[_0x438f4d(0x1e0)]=function(_0x3b19f8,_0x198552){return _0x3b19f8===_0x198552;};const _0x37329d=_0x7ffc79,_0x2d9e29={};if(!_0x3a36fe||_0x37329d[_0x438f4d(0x1e0)](_0x3a36fe[_0x438f4d(0x25d)],0x0))return;_0x3a36fe['map'](_0x106337=>{const _0x1d3d5b=_0x438f4d;!_0x2d9e29[_0x106337[_0x1d3d5b(0x236)]]&&(_0x2d9e29[_0x106337['name']]=0x0),_0x2d9e29[_0x106337[_0x1d3d5b(0x236)]]+=_0x106337[_0x1d3d5b(0x212)];});const _0x331327=_0x34af39[_0x438f4d(0x23c)]((_0x4e411a,_0x24061d)=>{const _0x555818=_0x438f4d;return _0x37329d[_0x555818(0x252)](_0x2d9e29[_0x24061d],_0x37329d['TPReN'](_0x4e411a,0x0));},0x0);return _0x331327;}static async[a121_0x33ad26(0x278)](_0x696ff1,_0xd264e6){const _0x58d83a=a121_0x33ad26,_0x31f29e={'pcPbm':function(_0x15c3c6,_0x121571){return _0x15c3c6+_0x121571;},'iPhMw':function(_0x46051,_0x522f0d){return _0x46051||_0x522f0d;},'gEkHt':function(_0x10271f,_0x864a3a){return _0x10271f===_0x864a3a;},'vxrGd':function(_0x54cf65,_0x31d08d){return _0x54cf65(_0x31d08d);},'KTsVU':function(_0x1d938d,_0xd90bc0){return _0x1d938d(_0xd90bc0);}};if(!_0x696ff1||_0x31f29e['gEkHt'](_0x696ff1[_0x58d83a(0x25d)],0x0))return 0x0;const _0x572d79=[];for(const _0x1a360b of _0x696ff1){const _0x4959c1=path['join']('.',_0x1a360b);try{const _0x56a5c4=this[_0x58d83a(0x21f)](_0x4959c1);_0x56a5c4[_0x58d83a(0x234)](_0x179c8e=>{const _0x55c55c=_0x58d83a;!_0x572d79[_0x179c8e[_0x55c55c(0x236)]]&&(_0x572d79[_0x179c8e[_0x55c55c(0x236)]]=0x0),_0x572d79[_0x179c8e[_0x55c55c(0x236)]]+=_0x179c8e[_0x55c55c(0x212)];});}catch(_0x49ff87){_0x31f29e['vxrGd'](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x49ff87[_0x58d83a(0x22a)]());}}const _0x409938=_0xd264e6[_0x58d83a(0x23c)]((_0xd7f944,_0x3066ea)=>{const _0x2596d4=_0x58d83a;return _0x31f29e[_0x2596d4(0x1df)](_0x572d79[_0x3066ea],_0x31f29e[_0x2596d4(0x21b)](_0xd7f944,0x0));},0x0);return _0x31f29e[_0x58d83a(0x231)](debug,_0x58d83a(0x1ee)+_0xd264e6+_0x58d83a(0x1fa)+_0x409938),_0x409938;}static[a121_0x33ad26(0x21f)](_0x51cccc){const _0x425446=a121_0x33ad26;if(_0x51cccc){if(!fs['existsSync'](_0x51cccc))return[];return JSON[_0x425446(0x1f3)](fs[_0x425446(0x23d)](_0x51cccc)['toString']());}}static async[a121_0x33ad26(0x232)](_0x4d4894=a121_0x33ad26(0x261),_0xc6c380=null){const _0x1c89c1=a121_0x33ad26,_0x5e6423={'pDYEo':function(_0x243b14,_0x5b1b94){return _0x243b14(_0x5b1b94);},'OczIc':function(_0x7c687f,_0x87178e){return _0x7c687f(_0x87178e);}};if(!this[_0x1c89c1(0x228)])return;await _0x5e6423['OczIc'](sleep,0x1e),this['_observer']['disconnect'](),this[_0x1c89c1(0x228)]=![],this[_0x1c89c1(0x25e)](this['_events']);const _0x167b70=this[_0x1c89c1(0x249)](this[_0x1c89c1(0x1f1)]),_0x1b5be5=path[_0x1c89c1(0x1da)](process[_0x1c89c1(0x1ff)](),_0x4d4894);fs[_0x1c89c1(0x27d)](_0x1b5be5,_0x167b70,_0x35b870=>{const _0x2c2986=_0x1c89c1;if(_0x35b870){_0x5e6423[_0x2c2986(0x238)](debug,'Error\x20in\x20writing\x20html\x20'+_0x35b870[_0x2c2986(0x22a)]());return;}_0x5e6423[_0x2c2986(0x238)](debug,_0x2c2986(0x214)+_0x1b5be5);});if(_0xc6c380)return this[_0x1c89c1(0x240)](this[_0x1c89c1(0x1f1)],_0xc6c380);}static[a121_0x33ad26(0x249)](_0x264713){const _0x39730d=a121_0x33ad26,_0x37b502={};_0x37b502['vMDzq']=_0x39730d(0x1f5),_0x37b502['fZPOu']=_0x39730d(0x279),_0x37b502['QtpTX']='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x37b502[_0x39730d(0x247)]=_0x39730d(0x26c);const _0x917116=_0x37b502;let _0x57e077=_0x917116[_0x39730d(0x237)];return _0x57e077+=_0x917116[_0x39730d(0x222)],_0x57e077+=_0x917116[_0x39730d(0x273)],_0x264713[_0x39730d(0x217)](_0x19eef8=>{const _0x3028ba=_0x39730d;_0x57e077+=_0x3028ba(0x241)+_0x19eef8[_0x3028ba(0x236)]+_0x3028ba(0x21c)+_0x19eef8[_0x3028ba(0x212)]+_0x3028ba(0x224);}),_0x57e077+=_0x917116[_0x39730d(0x247)],_0x57e077;}static[a121_0x33ad26(0x25e)](_0x4ebb01){const _0x3e222c=a121_0x33ad26;if(!this[_0x3e222c(0x1fb)])return;const _0x5be05f={};_0x4ebb01['map'](_0x45669d=>{const _0x22be20=_0x3e222c;!_0x5be05f[_0x45669d[_0x22be20(0x236)]]&&(_0x5be05f[_0x45669d[_0x22be20(0x236)]]=0x0),_0x5be05f[_0x45669d['name']]+=_0x45669d[_0x22be20(0x212)];});const _0x2287b7=Object['entries'](_0x5be05f)['map'](([_0x5dcb98,_0x1b02cd])=>{const _0x1ffaff=_0x3e222c,_0x2cb88f={};return _0x2cb88f['name']=_0x5dcb98,_0x2cb88f[_0x1ffaff(0x212)]=_0x1b02cd,_0x2cb88f;});fs[_0x3e222c(0x256)](this[_0x3e222c(0x1fb)],JSON[_0x3e222c(0x24f)](_0x2287b7));}static[a121_0x33ad26(0x20a)](){const _0xb62c2a=a121_0x33ad26,_0x2f13b9={};_0x2f13b9[_0xb62c2a(0x270)]=function(_0x1f3e9d,_0x53578c){return _0x1f3e9d===_0x53578c;},_0x2f13b9[_0xb62c2a(0x275)]=_0xb62c2a(0x246);const _0x5b8d51=_0x2f13b9;return!_0x5b8d51['RHomQ'](process[_0xb62c2a(0x24c)][_0xb62c2a(0x20e)],_0x5b8d51[_0xb62c2a(0x275)]);}static[a121_0x33ad26(0x23e)](_0x5734fc,_0xa22c68,_0x339992=null,_0x4e1ac5={},_0x2092a8=null){const _0x460950=a121_0x33ad26,_0x113991={'rrOro':function(_0x5bfa17,_0x4aae0e){return _0x5bfa17(_0x4aae0e);},'TvfLk':function(_0x51f85b,_0x43036a){return _0x51f85b instanceof _0x43036a;}};try{if(this[_0x460950(0x228)]&&this[_0x460950(0x20a)]()){let _0x7d93a4=_0x5734fc;_0x339992&&(_0x7d93a4=_0x5734fc+'['+JSON[_0x460950(0x24f)](_0x339992)+']');PerformanceTester['start'](_0x7d93a4),this[_0x460950(0x1e2)]&&(this[_0x460950(0x1e2)][_0x7d93a4]=_0x4e1ac5);try{const _0x49b58e=_0xa22c68[_0x460950(0x227)](null,_0x2092a8);if(_0x113991[_0x460950(0x266)](_0x49b58e,Promise))return new Promise((_0x1a438c,_0x31b884)=>{const _0x445ebf=_0x460950;_0x49b58e[_0x445ebf(0x20f)](_0x1a0876=>{PerformanceTester['end'](_0x7d93a4),_0x113991['rrOro'](_0x1a438c,_0x1a0876);})[_0x445ebf(0x1dd)](_0x24aa3f=>{const _0x35d74f=_0x445ebf;PerformanceTester[_0x35d74f(0x200)](_0x7d93a4,![],util[_0x35d74f(0x24a)](_0x24aa3f)),_0x113991[_0x35d74f(0x1e9)](_0x31b884,_0x24aa3f);});});;return PerformanceTester['end'](_0x7d93a4),_0x49b58e;}catch(_0x33ac50){PerformanceTester[_0x460950(0x200)](_0x7d93a4,![],util[_0x460950(0x24a)](_0x33ac50));throw _0x33ac50;}};return _0xa22c68[_0x460950(0x227)](null,_0x2092a8);}catch(_0x196e04){return logger[_0x460950(0x1e1)](_0x460950(0x1f0)+(_0x196e04[_0x460950(0x1fc)]||_0x196e04[_0x460950(0x25a)]||_0x196e04)),_0xa22c68[_0x460950(0x227)](null,_0x2092a8);}}static[a121_0x33ad26(0x243)](_0x437699,_0x420f6e,_0x25698f={}){const _0x3dfc1e=a121_0x33ad26,_0x14815b={'upzJk':function(_0x54838a){return _0x54838a();}},_0x3773b9=this;return _0x25698f[_0x3dfc1e(0x1db)]=_0x14815b[_0x3dfc1e(0x276)](getProcessId),_0x25698f['testName']=_0x14815b[_0x3dfc1e(0x276)](getTestName),_0x25698f[_0x3dfc1e(0x22b)]=global[_0x3dfc1e(0x260)]&&global[_0x3dfc1e(0x260)][_0x3dfc1e(0x23b)],function(){const _0xcd8b56=_0x3dfc1e,_0x374058=[_0x437699,_0x420f6e,null,_0x25698f][_0xcd8b56(0x22c)](arguments);return _0x3773b9['measure'][_0xcd8b56(0x227)](_0x3773b9,_0x374058);};}static[a121_0x33ad26(0x1e6)](){const _0x313642=a121_0x33ad26,_0x458aca=/(^.*)\[(.*)\]$/,_0x543460={},_0x4ae2d7={},_0x47fdb9=[],_0x369095=this[_0x313642(0x24b)][_0x313642(0x211)](0x0,this['_measureEvents'][_0x313642(0x25d)]);for(const _0x47f87e of _0x369095){const _0x272c88=_0x47f87e[_0x313642(0x236)][_0x313642(0x218)](_0x458aca),_0x39a026=Object['assign']({},_0x47f87e);_0x272c88&&(_0x39a026[_0x313642(0x236)]=_0x272c88[0x1],_0x39a026[_0x313642(0x202)]=JSON[_0x313642(0x1f3)](_0x272c88[0x2])),_0x47fdb9[_0x313642(0x254)](_0x39a026);}return _0x47fdb9;}static['pushPerfMeasures'](){const _0xcc0d11=a121_0x33ad26,_0x32b314={'uBRMQ':function(_0x2db338){return _0x2db338();},'GcRYO':function(_0x5e705c,_0x516e7d){return _0x5e705c+_0x516e7d;},'eryYZ':_0xcc0d11(0x271),'aGzeD':function(_0x29e7a5,_0x3978b8){return _0x29e7a5===_0x3978b8;},'httFH':function(_0x7cca69,_0x46988a){return _0x7cca69+_0x46988a;}};try{this[_0xcc0d11(0x242)]=path[_0xcc0d11(0x1da)](_0x32b314[_0xcc0d11(0x1eb)](getLogDir),this['jsonReportDirName']);if(fs[_0xcc0d11(0x259)](this[_0xcc0d11(0x242)])){const _0x3e66cd=fs[_0xcc0d11(0x204)](this[_0xcc0d11(0x242)]);for(const _0x4cec2c of _0x3e66cd){fs[_0xcc0d11(0x1e3)](path['join'](this[_0xcc0d11(0x242)],_0x4cec2c));}}}catch(_0x28d5d3){logger['debug'](_0x32b314[_0xcc0d11(0x1d8)](_0x32b314['eryYZ'],_0x28d5d3));}if(_0x32b314[_0xcc0d11(0x26b)](this[_0xcc0d11(0x24b)][_0xcc0d11(0x25d)],0x0))return;const _0x48adc2=this[_0xcc0d11(0x1e6)](),_0x4891e7=JSON['stringify'](_0x48adc2),_0x34a056=_0x32b314[_0xcc0d11(0x1fd)](_0x4891e7[_0xcc0d11(0x27f)](0x1,-0x1),',');fs[_0xcc0d11(0x1ed)](this[_0xcc0d11(0x1fb)],_0x34a056);}static async[a121_0x33ad26(0x25b)](){const _0x492856=a121_0x33ad26,_0x4883da={'PPPTY':function(_0x3de7eb){return _0x3de7eb();},'SGjAL':function(_0xf3565c,_0x5257fd){return _0xf3565c===_0x5257fd;},'OsOIc':'key-metrics.json','frnzl':_0x492856(0x21e),'NfCWS':_0x492856(0x272),'hENet':function(_0x5f2fc9,_0x4c20da){return _0x5f2fc9+_0x4c20da;},'RNeIv':function(_0x44963f,_0x552a45){return _0x44963f+_0x552a45;},'BwYsU':_0x492856(0x263),'EkQSk':_0x492856(0x258),'oIAwk':_0x492856(0x27e),'bQzIl':function(_0x21fc3e,_0x2f3db0){return _0x21fc3e>_0x2f3db0;}};this[_0x492856(0x242)]=path['join'](_0x4883da[_0x492856(0x205)](getLogDir),this['jsonReportDirName']);if(!this[_0x492856(0x228)]||_0x4883da[_0x492856(0x210)](this['_measureEvents'][_0x492856(0x25d)],0x0))return[];if(!fs[_0x492856(0x259)](this[_0x492856(0x242)]))return this[_0x492856(0x24b)];const _0x53cfc4=(await fsPromise['readdir'](this[_0x492856(0x242)]))['map'](_0x3d0cec=>path['resolve'](this['jsonReportDirPath'],_0x3d0cec));try{const _0x2f6b4c=path[_0x492856(0x26e)](this[_0x492856(0x242)]),_0x1f3c09=path[_0x492856(0x1da)](_0x2f6b4c,_0x4883da['OsOIc']);if(fs['existsSync'](_0x1f3c09))try{await fsPromise[_0x492856(0x250)](_0x1f3c09,fs[_0x492856(0x1d7)]['F_OK']);const _0x2794b3=await fsPromise[_0x492856(0x269)](_0x1f3c09,_0x4883da['frnzl']),_0xc0c32b=JSON[_0x492856(0x1f3)](_0x2794b3),_0x56c027=path[_0x492856(0x1da)](this[_0x492856(0x242)],_0x4883da[_0x492856(0x24d)]);let _0x27cf9e='';Array[_0x492856(0x225)](_0xc0c32b)?_0x27cf9e=_0x4883da[_0x492856(0x235)](_0xc0c32b[_0x492856(0x234)](_0x4d1155=>JSON[_0x492856(0x24f)](_0x4d1155))[_0x492856(0x1da)](','),','):_0x27cf9e=_0x4883da[_0x492856(0x24e)](JSON[_0x492856(0x24f)](_0xc0c32b),','),await fsPromise[_0x492856(0x27d)](_0x56c027,_0x27cf9e),_0x53cfc4[_0x492856(0x254)](_0x56c027),await fsPromise[_0x492856(0x1d6)](_0x1f3c09);}catch(_0x48eca0){logger[_0x492856(0x239)](util['format'](_0x4883da[_0x492856(0x265)],_0x48eca0[_0x492856(0x1fc)]||_0x48eca0[_0x492856(0x25a)]||_0x48eca0));}else logger[_0x492856(0x239)](_0x4883da[_0x492856(0x215)]);}catch(_0x344b28){logger['info'](util['format'](_0x4883da['oIAwk'],_0x344b28[_0x492856(0x1fc)]||_0x344b28[_0x492856(0x25a)]||_0x344b28));}let _0x412cee=(await Promise[_0x492856(0x1f8)](_0x53cfc4[_0x492856(0x234)](_0x2bc5c5=>fsPromise['readFile'](_0x2bc5c5,'utf-8'))))[_0x492856(0x234)](_0x4898fd=>'['+_0x4898fd['slice'](0x0,-0x1)+']')['map'](_0x3ba7e1=>JSON[_0x492856(0x1f3)](_0x3ba7e1))['flat']();return _0x4883da['bQzIl'](this['_measureEvents'][_0x492856(0x25d)],0x0)&&(_0x412cee=_0x412cee['concat'](this[_0x492856(0x1e6)]())),this[_0x492856(0x206)][_0x492856(0x280)](),_0x412cee;}static[a121_0x33ad26(0x1d9)](){const _0x5d3fbb=a121_0x33ad26,_0x3daf60={};_0x3daf60[_0x5d3fbb(0x262)]=function(_0x2a93b6,_0x30d9ab){return _0x2a93b6===_0x30d9ab;},_0x3daf60['dSFhn']=function(_0x4c13f5,_0x22bad2){return _0x4c13f5+_0x22bad2;};const _0x5d7660=_0x3daf60;if(_0x5d7660[_0x5d3fbb(0x262)](this[_0x5d3fbb(0x21a)][_0x5d3fbb(0x25d)],0x0))return;const _0xee2d2=JSON[_0x5d3fbb(0x24f)](this[_0x5d3fbb(0x21a)]),_0x342405=_0x5d7660['dSFhn'](_0xee2d2[_0x5d3fbb(0x27f)](0x1,-0x1),',');fs[_0x5d3fbb(0x1ed)](this['errorFile'],_0x342405);}static[a121_0x33ad26(0x203)](){const _0x3b1676=a121_0x33ad26,_0x3481d8={};_0x3481d8[_0x3b1676(0x219)]=function(_0x1ccad5,_0x4e2329){return _0x1ccad5>_0x4e2329;};const _0x49228a=_0x3481d8;if(this[_0x3b1676(0x26f)]){if(!fs['existsSync'](this['errorReportFileName']))return this[_0x3b1676(0x21a)];let _0x19b4cc=fs['readFileSync'](this[_0x3b1676(0x26f)])[_0x3b1676(0x22a)]();_0x19b4cc='['+_0x19b4cc[_0x3b1676(0x27f)](0x0,-0x1)+']';let _0x5add3d=JSON[_0x3b1676(0x1f3)](_0x19b4cc);return _0x49228a[_0x3b1676(0x219)](this['_errorEvents']['length'],0x0)&&(_0x5add3d=_0x5add3d[_0x3b1676(0x22c)](this[_0x3b1676(0x21a)])),fs[_0x3b1676(0x1e3)](this[_0x3b1676(0x26f)]),_0x5add3d;}}static[a121_0x33ad26(0x23f)](_0x4dbe8f){const _0x19f4ae=a121_0x33ad26;if(!this[_0x19f4ae(0x20a)]())return;this[_0x19f4ae(0x21a)][_0x19f4ae(0x254)]({'message':_0x4dbe8f[_0x19f4ae(0x25a)],'trace':_0x4dbe8f[_0x19f4ae(0x1fc)],'code':_0x4dbe8f[_0x19f4ae(0x209)]||null,'time':new Date()});}static[a121_0x33ad26(0x23a)](){const _0x33ce02=a121_0x33ad26;try{if(!this[_0x33ce02(0x20a)]())return;this[_0x33ce02(0x206)][_0x33ce02(0x280)](),this[_0x33ce02(0x1ef)](),this[_0x33ce02(0x1d9)]();}catch(_0x210a52){logger['debug'](_0x33ce02(0x1fe)+util[_0x33ce02(0x24a)](_0x210a52));}}static async[a121_0x33ad26(0x25f)](){const _0x3c91b3=a121_0x33ad26,_0x29e5de={'tqyZp':function(_0x6e0d4d,_0x1116cb){return _0x6e0d4d(_0x1116cb);}};await _0x29e5de['tqyZp'](sleep,0x1e);const _0x2e63b7=await this[_0x3c91b3(0x25b)](),_0x5b5a16=this[_0x3c91b3(0x203)]();if(!this[_0x3c91b3(0x20a)]()){const _0x30d440={};return _0x30d440['measures']=[],_0x30d440['errors']=[],_0x30d440;}const _0x5106ed={};return _0x5106ed[_0x3c91b3(0x1e4)]=_0x2e63b7,_0x5106ed['errors']=_0x5b5a16,_0x5106ed;}static[a121_0x33ad26(0x1e8)](_0x1ca0a6){const _0x3bf12f=a121_0x33ad26,_0x55fb4a={};_0x55fb4a[_0x3bf12f(0x207)]=function(_0x1649a5,_0x2001af){return _0x1649a5+_0x2001af;},_0x55fb4a[_0x3bf12f(0x1f4)]=_0x3bf12f(0x267);const _0x49a650=_0x55fb4a,_0x306871=_0x49a650[_0x3bf12f(0x207)](_0x1ca0a6,_0x49a650[_0x3bf12f(0x1f4)]);if(this[_0x3bf12f(0x216)][_0x306871])return;performance[_0x3bf12f(0x27c)](_0x306871),this['eventsMap'][_0x306871]=0x1;}static['end'](_0x32b36a,_0x3f5637=!![],_0x1dc01c=null,_0x26a1c3={}){const _0x5280a8=a121_0x33ad26,_0xfcc95b={'yZiGc':function(_0xde3d9c,_0x286d6c){return _0xde3d9c+_0x286d6c;},'BGmUN':'-end','qjACr':function(_0x399afe,_0x1defa2){return _0x399afe+_0x1defa2;},'RnUog':_0x5280a8(0x267),'EhzuJ':function(_0xbdfd5d){return _0xbdfd5d();},'hagTs':function(_0x3f5c09){return _0x3f5c09();}};performance['mark'](_0xfcc95b[_0x5280a8(0x22d)](_0x32b36a,_0xfcc95b[_0x5280a8(0x1e5)])),performance[_0x5280a8(0x23e)](_0x32b36a,_0xfcc95b[_0x5280a8(0x20b)](_0x32b36a,_0xfcc95b[_0x5280a8(0x27b)]),_0xfcc95b[_0x5280a8(0x22d)](_0x32b36a,_0xfcc95b[_0x5280a8(0x1e5)]));const _0x33fc89={};_0x33fc89['success']=_0x3f5637,_0x33fc89[_0x5280a8(0x245)]=_0x1dc01c,this[_0x5280a8(0x1e2)][_0x32b36a]=Object[_0x5280a8(0x213)](_0x33fc89,Object[_0x5280a8(0x213)](Object[_0x5280a8(0x213)]({'worker':_0xfcc95b[_0x5280a8(0x223)](getProcessId),'platform':global[_0x5280a8(0x260)]&&global[_0x5280a8(0x260)]['index'],'testName':_0xfcc95b[_0x5280a8(0x25c)](getTestName)},_0x26a1c3),this[_0x5280a8(0x1e2)][_0x32b36a]||{}));}}module['exports']=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122_0xee3bf0=a122_0x56d2;(function(_0x2bdf26,_0xdfa4d3){const _0x5a8708=a122_0x56d2,_0x28a261=_0x2bdf26();while(!![]){try{const _0x42a8fb=-parseInt(_0x5a8708(0x101))/0x1+-parseInt(_0x5a8708(0xf1))/0x2*(-parseInt(_0x5a8708(0xfe))/0x3)+-parseInt(_0x5a8708(0xf9))/0x4*(-parseInt(_0x5a8708(0xcc))/0x5)+parseInt(_0x5a8708(0x115))/0x6*(parseInt(_0x5a8708(0xf6))/0x7)+-parseInt(_0x5a8708(0xd9))/0x8+parseInt(_0x5a8708(0xef))/0x9+parseInt(_0x5a8708(0x110))/0xa;if(_0x42a8fb===_0xdfa4d3)break;else _0x28a261['push'](_0x28a261['shift']());}catch(_0x347530){_0x28a261['push'](_0x28a261['shift']());}}}(a122_0x6fe4,0xb7b3e));function a122_0x56d2(_0x12c6c0,_0xc741b){const _0x6fe4f4=a122_0x6fe4();return a122_0x56d2=function(_0x56d26c,_0x3ed5ae){_0x56d26c=_0x56d26c-0xb7;let _0x827a87=_0x6fe4f4[_0x56d26c];return _0x827a87;},a122_0x56d2(_0x12c6c0,_0xc741b);}const path=require(a122_0xee3bf0(0x11c)),util=require('util'),{importFileFromPWCore}=require(a122_0xee3bf0(0x102)),helper=require(a122_0xee3bf0(0x102)),logger=require(a122_0xee3bf0(0xb9))[a122_0xee3bf0(0xd5)],W3CMapping=require(a122_0xee3bf0(0xe2))[a122_0xee3bf0(0x12d)](),constants=require(a122_0xee3bf0(0xbb)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;function a122_0x6fe4(){const _0x1eaf21=['getInstance','Playwright\x20not\x20available:\x20','bfpTM','getBrowserFromCaps','Shvyk','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','CeCUh','BROWSERSTACK_PRODUCT_MAP','4459890CuBNBj','AUzsJ','platformCaps','OgOFD','bZToZ','2941218rHErNo','importFileFromPWCore','BkWfJ','ZFpym','No\x20modified\x20config\x20received\x20from\x20gRPC','AUnCu','TUuCr','path','getConfig','./testhub/utils','generatePlaywrightUrl','format','getPlaywrightBrowserType','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','YbspI','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','__platformCaps','__launchCaps','projects','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','debug','join','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','bootstrap','W3CMapping','zruUC','rTPfl','./logger','browser','../bin/utils/constants','client','setBrowserstackConfig','../bin/v2/grpcClient','PPFRC','BROWSERSTACK_TESTHUB_UUID','browserType.js','PWvWH','hqaWF','isArray','browserName','VJYCf','Could\x20not\x20import\x20GrpcClient:\x20','getBuildProductMap','nuGPa','__accessibilityOptions','length','11945HhTSIs','lib','browserstack.testhubBuildUuid','browserstack.accessibilityOptions.scannerVersion','tFMwi','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','DUMEP','stringify','MuRbz','winstonLogger','ixEWr','tveFt','\x20flow','5443824vNdfcs','setFrameworkDetail','getBrowserTypePath','browserstack.accessibilityOptions.wcagVersion','BS_A11Y_JWT','browserstack.accessibilityOptions.authToken','Received\x20modified\x20config\x20from\x20gRPC:\x20','Detected\x20Playwright\x20version\x20','config','./w3cMapping','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','isPlaywrightAvailable','WcRrh','hDSVx','lutQU','error','sYZjF','capabilities','exports','configPath','FRAMEWORKS','8941752vuAqXt','getPlaywrightUrl','268784otlXGz','cliConfig','zPbmY','browserstack.buildProductMap','XZzNR','7GzMjhx','entries','checkPwandBootstrapCli','1252NJWfwR','wwdca','getPlaywrightConfig','message','chrome','3MwBdHl','bhrqf','env','1378945nLeIkK','./helper','workers','use','framework','NKkTp','BrowserType'];a122_0x6fe4=function(){return _0x1eaf21;};return a122_0x6fe4();}try{GrpcClient=require(a122_0xee3bf0(0xbe));}catch(a122_0x41d504){logger[a122_0xee3bf0(0x129)](a122_0xee3bf0(0xc7)+a122_0x41d504['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x1cfab4=>{const _0x3642e0=a122_0xee3bf0,_0x1edeae={};_0x1edeae['hqaWF']=function(_0x43a412,_0x2a7646){return _0x43a412||_0x2a7646;},_0x1edeae[_0x3642e0(0x118)]=function(_0x175187,_0x132c75){return _0x175187===_0x132c75;},_0x1edeae['bfpTM']='bstack:options',_0x1edeae['rTPfl']=function(_0x9d9a39,_0x20097a){return _0x9d9a39 in _0x20097a;};const _0x586dc2=_0x1edeae,_0x22eaa0={};for(const [_0x26e827,_0x3c473d]of Object[_0x3642e0(0xf7)](_0x586dc2[_0x3642e0(0xc3)](_0x1cfab4,{}))){if(_0x586dc2['ZFpym'](_0x26e827,_0x586dc2[_0x3642e0(0x10a)]))continue;let _0x13e355=![];for(const [_0x17de74,_0x30610c]of Object[_0x3642e0(0xf7)](W3CMapping)){if(_0x586dc2['ZFpym'](_0x26e827,_0x30610c)){_0x22eaa0[_0x17de74]=_0x3c473d,_0x13e355=!![];break;}}!_0x13e355&&(_0x22eaa0[_0x26e827]=_0x3c473d);}const _0x585139=_0x1cfab4[_0x586dc2['bfpTM']]||{};for(const [_0x1dcd05,_0xee4d4c]of Object[_0x3642e0(0xf7)](_0x585139)){let _0x965a55=![];for(const [_0x150219,_0x467fd1]of Object[_0x3642e0(0xf7)](W3CMapping)){if(_0x586dc2['ZFpym'](_0x1dcd05,_0x467fd1)){_0x22eaa0[_0x150219]=_0xee4d4c,_0x965a55=!![];break;}}!_0x965a55&&!_0x586dc2[_0x3642e0(0xb8)](_0x1dcd05,_0x22eaa0)&&(_0x22eaa0[_0x1dcd05]=_0xee4d4c);}return logger[_0x3642e0(0x129)](_0x3642e0(0x12b)+JSON[_0x3642e0(0xd3)](_0x22eaa0)),_0x22eaa0;},getModifiedConfigFromCLI=async _0x1ef167=>{const _0x489e06=a122_0xee3bf0,_0x14e031={};_0x14e031[_0x489e06(0xe6)]=_0x489e06(0x128),_0x14e031[_0x489e06(0x113)]='cucumberjs-pw',_0x14e031['MuRbz']=_0x489e06(0xe4),_0x14e031[_0x489e06(0xc6)]=_0x489e06(0x119),_0x14e031['bZToZ']=function(_0x2a36a5,_0x312631){return _0x2a36a5>_0x312631;},_0x14e031[_0x489e06(0xf3)]=_0x489e06(0xd1);const _0x56fa0a=_0x14e031;try{if(!GrpcClient)return logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xe6)]),null;const _0x52a620={};_0x52a620[_0x489e06(0xeb)]=_0x1ef167,_0x52a620[_0x489e06(0x105)]=_0x56fa0a[_0x489e06(0x113)],_0x52a620[_0x489e06(0x103)]=0x1,_0x52a620['projects']=[];const _0x180828=_0x52a620;logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xd4)]);const _0x1e865b={};_0x1e865b['playwrightConfigObject']=_0x180828;const _0x490126=await GrpcClient[_0x489e06(0x108)]()[_0x489e06(0xfb)](_0x1e865b);if(!_0x490126[_0x489e06(0x11d)]())return logger['debug'](_0x56fa0a[_0x489e06(0xc6)]),null;const _0x4801bd=JSON['parse'](_0x490126[_0x489e06(0x11d)]());logger['debug'](_0x489e06(0xdf)+JSON[_0x489e06(0xd3)](_0x4801bd));if(_0x4801bd['capabilities']&&Array[_0x489e06(0xc4)](_0x4801bd[_0x489e06(0xeb)])&&_0x56fa0a['bZToZ'](_0x4801bd[_0x489e06(0xeb)][_0x489e06(0xcb)],0x0))return _0x4801bd['capabilities'][0x0];else{if(_0x4801bd[_0x489e06(0x127)]&&Array[_0x489e06(0xc4)](_0x4801bd[_0x489e06(0x127)])&&_0x56fa0a[_0x489e06(0x114)](_0x4801bd['projects']['length'],0x0)){const _0x48a3ee=_0x4801bd['projects'][0x0];if(_0x48a3ee[_0x489e06(0x104)]&&_0x48a3ee['use'][_0x489e06(0x112)])return _0x48a3ee['use'][_0x489e06(0x112)];}}return logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xf3)]),null;}catch(_0x3a1615){logger[_0x489e06(0xe9)](_0x489e06(0x124)+_0x3a1615[_0x489e06(0xfc)]);throw _0x3a1615;}},generatePlaywrightUrl=(_0x1b4e85,_0x388766)=>{const _0x56abfa=a122_0xee3bf0,_0x3f210e={'BkWfJ':function(_0xf36e17,_0x34b4cc){return _0xf36e17!==_0x34b4cc;},'TUuCr':function(_0x4c3cd4,_0x2378ad){return _0x4c3cd4!==_0x2378ad;},'thUPj':function(_0x197fce,_0x1f2dc5){return _0x197fce!==_0x1f2dc5;},'NKkTp':function(_0x3b6693,_0x1749f7){return _0x3b6693!==_0x1749f7;},'ewyDc':function(_0x1ac632,_0x2b5787){return _0x1ac632!==_0x2b5787;},'bhrqf':function(_0x17a896,_0x5f0749){return _0x17a896(_0x5f0749);},'sRLuW':function(_0x484add,_0x9a5e6b){return _0x484add||_0x9a5e6b;},'nuGPa':_0x56abfa(0xde),'Shvyk':function(_0x516eaa,_0x3e8364){return _0x516eaa(_0x3e8364);},'ixEWr':_0x56abfa(0xdc),'fWjjD':function(_0x48d970,_0x3281d7){return _0x48d970(_0x3281d7);},'PWvWH':_0x56abfa(0xcf),'RCNJm':function(_0xc06e38,_0x29a7ce){return _0xc06e38(_0x29a7ce);},'pmOsP':'browserstack.accessibilityOptions.scannerProcessingTimeout','hDSVx':_0x56abfa(0xce),'zruUC':_0x56abfa(0xf4),'sYZjF':function(_0x3ccc2e,_0x4a960d){return _0x3ccc2e+_0x4a960d;},'RmtGq':function(_0x22b189,_0x4eaf9f){return _0x22b189(_0x4eaf9f);}},_0x556bd1=helper[_0x56abfa(0xf0)](_0x1b4e85),_0x221ac7=_0x3f210e[_0x56abfa(0xff)](convertW3CToJsonWire,_0x388766);try{const _0x46389a=[_0x3f210e['sRLuW'](_0x388766,{}),global[_0x56abfa(0x126)]||{},global[_0x56abfa(0x125)]||{},global[_0x56abfa(0xca)]||{}],_0x49ad2a=_0x91c9f3=>{const _0x3ed48b=_0x56abfa;if(_0x3f210e[_0x3ed48b(0x117)](_0x221ac7[_0x91c9f3],undefined)&&_0x3f210e['TUuCr'](_0x221ac7[_0x91c9f3],null)&&_0x3f210e['thUPj'](_0x221ac7[_0x91c9f3],''))return;for(const _0x424ffd of _0x46389a){if(_0x424ffd&&_0x3f210e[_0x3ed48b(0x106)](_0x424ffd[_0x91c9f3],undefined)&&_0x3f210e['ewyDc'](_0x424ffd[_0x91c9f3],null)&&_0x3f210e[_0x3ed48b(0x11b)](_0x424ffd[_0x91c9f3],'')){_0x221ac7[_0x91c9f3]=_0x424ffd[_0x91c9f3];return;}}};_0x3f210e[_0x56abfa(0xff)](_0x49ad2a,_0x3f210e[_0x56abfa(0xc9)]),_0x3f210e[_0x56abfa(0x10c)](_0x49ad2a,_0x3f210e[_0x56abfa(0xd6)]),_0x3f210e['fWjjD'](_0x49ad2a,_0x3f210e[_0x56abfa(0xc2)]),_0x3f210e['RCNJm'](_0x49ad2a,_0x3f210e['pmOsP']),!_0x221ac7[_0x3f210e[_0x56abfa(0xc9)]]&&process[_0x56abfa(0x100)][_0x56abfa(0xdd)]&&(_0x221ac7[_0x3f210e[_0x56abfa(0xc9)]]=process[_0x56abfa(0x100)][_0x56abfa(0xdd)]);}catch(_0x253ae4){logger['debug'](_0x56abfa(0xe3)+util[_0x56abfa(0x120)](_0x253ae4));}return _0x221ac7[_0x3f210e[_0x56abfa(0xe7)]]=process['env'][_0x56abfa(0xc0)],_0x221ac7[_0x3f210e[_0x56abfa(0xb7)]]=helper[_0x56abfa(0xc8)](),_0x3f210e[_0x56abfa(0xea)](_0x556bd1,_0x3f210e['RmtGq'](encodeURIComponent,JSON[_0x56abfa(0xd3)](_0x221ac7)));},getBrowserFromCaps=_0x5e6604=>{const _0x17e4a2=a122_0xee3bf0,_0x30b4e3={};_0x30b4e3[_0x17e4a2(0xd0)]=_0x17e4a2(0xfd);const _0x422bba=_0x30b4e3;return _0x5e6604[_0x17e4a2(0xc5)]||_0x5e6604[_0x17e4a2(0xba)]||_0x422bba[_0x17e4a2(0xd0)];},isPlaywrightAvailable=()=>{const _0x3a9cb6=a122_0xee3bf0,_0x38dd36={'YbspI':'lib','bxscz':_0x3a9cb6(0xbc),'PPFRC':_0x3a9cb6(0xc1),'wwdca':function(_0x52d03d,_0x35fc87){return _0x52d03d(_0x35fc87);}};try{const _0x18d84d=path[_0x3a9cb6(0x12a)](_0x38dd36[_0x3a9cb6(0x123)],_0x38dd36['bxscz'],_0x38dd36[_0x3a9cb6(0xbf)]),_0x1e4c85=_0x38dd36[_0x3a9cb6(0xfa)](importFileFromPWCore,_0x18d84d);return!!_0x1e4c85;}catch(_0x526749){return logger[_0x3a9cb6(0x129)](_0x3a9cb6(0x109)+util[_0x3a9cb6(0x120)](_0x526749)),![];}},getPlaywrightBrowserType=()=>{const _0x2c90d6=a122_0xee3bf0,_0x421051={'CeCUh':_0x2c90d6(0xcd),'tveFt':_0x2c90d6(0xbc),'DUMEP':_0x2c90d6(0xc1),'lutQU':function(_0x4d2e66,_0x29ef3f){return _0x4d2e66(_0x29ef3f);}};try{const _0x4af4b0=path[_0x2c90d6(0x12a)](_0x421051[_0x2c90d6(0x10e)],_0x421051[_0x2c90d6(0xd7)],_0x421051[_0x2c90d6(0xd2)]),_0x53da7d=_0x421051[_0x2c90d6(0xe8)](importFileFromPWCore,_0x4af4b0);return _0x53da7d?_0x53da7d[_0x2c90d6(0x107)]:null;}catch(_0x166b08){return logger[_0x2c90d6(0x129)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x2c90d6(0x120)](_0x166b08)),null;}},getPlaywrightModulePath=()=>{const _0x38dbcf=a122_0xee3bf0,_0x2f33fd={};_0x2f33fd[_0x38dbcf(0x111)]=_0x38dbcf(0x122);const _0x364194=_0x2f33fd;return logger['debug'](_0x364194[_0x38dbcf(0x111)]),null;},getBrowserTypePath=()=>{const _0x5e9297=a122_0xee3bf0,_0x5f3114={};_0x5f3114[_0x5e9297(0x11a)]=_0x5e9297(0x10d);const _0x1372fd=_0x5f3114;return logger[_0x5e9297(0x129)](_0x1372fd['AUnCu']),null;},checkPwandBootstrapCli=async(_0x3ff5ee,_0x1cef58,_0x2b37a5)=>{const _0xa07e30=a122_0xee3bf0,_0x3da77b={'XZzNR':function(_0x1878ec,_0x5d8ad){return _0x1878ec(_0x5d8ad);},'QLlcX':_0xa07e30(0x11e)};if(_0x3ff5ee){const _0xb958b0=constants[_0xa07e30(0xee)]['PLAYWRIGHT'];logger['debug'](_0xa07e30(0xe0)+_0x3ff5ee+'\x20for\x20'+_0x1cef58+_0xa07e30(0xd8)),CLIUtils[_0xa07e30(0xda)](_0x1cef58,_0xb958b0);const {getProductMap:_0x938854}=_0x3da77b[_0xa07e30(0xf5)](require,_0x3da77b['QLlcX']);process[_0xa07e30(0x100)][_0xa07e30(0x10f)]=JSON['stringify'](_0x3da77b['XZzNR'](_0x938854,_0x2b37a5[_0xa07e30(0xe1)])),BrowserstackCLI[_0xa07e30(0x108)]()[_0xa07e30(0xbd)](_0x2b37a5[_0xa07e30(0xe1)],_0x2b37a5[_0xa07e30(0xed)],_0x2b37a5[_0xa07e30(0xf2)]),await BrowserstackCLI['getInstance']()[_0xa07e30(0x12c)]();}},a122_0x1f454a={};a122_0x1f454a['convertW3CToJsonWire']=convertW3CToJsonWire,a122_0x1f454a['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a122_0x1f454a[a122_0xee3bf0(0x11f)]=generatePlaywrightUrl,a122_0x1f454a[a122_0xee3bf0(0x10b)]=getBrowserFromCaps,a122_0x1f454a[a122_0xee3bf0(0xe5)]=isPlaywrightAvailable,a122_0x1f454a[a122_0xee3bf0(0x121)]=getPlaywrightBrowserType,a122_0x1f454a['getPlaywrightModulePath']=getPlaywrightModulePath,a122_0x1f454a[a122_0xee3bf0(0xdb)]=getBrowserTypePath,a122_0x1f454a[a122_0xee3bf0(0x116)]=importFileFromPWCore,a122_0x1f454a[a122_0xee3bf0(0xf8)]=checkPwandBootstrapCli,module[a122_0xee3bf0(0xec)]=a122_0x1f454a;
|
|
1
|
+
const a122_0x2ff3b5=a122_0x57f4;(function(_0x32fce4,_0x5c82b9){const _0x60152a=a122_0x57f4,_0x253c46=_0x32fce4();while(!![]){try{const _0x2c0864=parseInt(_0x60152a(0x158))/0x1+parseInt(_0x60152a(0x15d))/0x2*(-parseInt(_0x60152a(0x15f))/0x3)+-parseInt(_0x60152a(0x17e))/0x4*(parseInt(_0x60152a(0x141))/0x5)+parseInt(_0x60152a(0x16c))/0x6*(parseInt(_0x60152a(0x13d))/0x7)+parseInt(_0x60152a(0x18b))/0x8*(-parseInt(_0x60152a(0x17d))/0x9)+-parseInt(_0x60152a(0x172))/0xa*(-parseInt(_0x60152a(0x1a6))/0xb)+-parseInt(_0x60152a(0x16b))/0xc*(-parseInt(_0x60152a(0x175))/0xd);if(_0x2c0864===_0x5c82b9)break;else _0x253c46['push'](_0x253c46['shift']());}catch(_0x3a4dd0){_0x253c46['push'](_0x253c46['shift']());}}}(a122_0x3acc,0x68210));const path=require(a122_0x2ff3b5(0x184)),util=require(a122_0x2ff3b5(0x148)),{importFileFromPWCore}=require(a122_0x2ff3b5(0x1ab)),helper=require('./helper'),logger=require(a122_0x2ff3b5(0x192))[a122_0x2ff3b5(0x143)],W3CMapping=require(a122_0x2ff3b5(0x19a))[a122_0x2ff3b5(0x188)](),constants=require(a122_0x2ff3b5(0x1a2)),BrowserstackCLI=require(a122_0x2ff3b5(0x139)),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;function a122_0x57f4(_0x415d84,_0x7e4509){const _0x3acc75=a122_0x3acc();return a122_0x57f4=function(_0x57f4e6,_0x300884){_0x57f4e6=_0x57f4e6-0x135;let _0x4776d3=_0x3acc75[_0x57f4e6];return _0x4776d3;},a122_0x57f4(_0x415d84,_0x7e4509);}try{GrpcClient=require('../bin/v2/grpcClient');}catch(a122_0x191e50){logger[a122_0x2ff3b5(0x14b)](a122_0x2ff3b5(0x15a)+a122_0x191e50['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x47bf77=>{const _0x6cc6b6=a122_0x2ff3b5,_0x23e920={};_0x23e920[_0x6cc6b6(0x179)]=function(_0x474285,_0x3c3ed2){return _0x474285||_0x3c3ed2;},_0x23e920['fVmXN']=function(_0x2fb77a,_0x3d1389){return _0x2fb77a===_0x3d1389;},_0x23e920[_0x6cc6b6(0x19f)]=_0x6cc6b6(0x15c),_0x23e920[_0x6cc6b6(0x1a8)]=function(_0x99b4c,_0x3e4a62){return _0x99b4c===_0x3e4a62;},_0x23e920[_0x6cc6b6(0x191)]=function(_0x27c875,_0x43de08){return _0x27c875===_0x43de08;},_0x23e920['aybqs']=function(_0x5968e5,_0x4b7b5f){return _0x5968e5 in _0x4b7b5f;};const _0x3e8b85=_0x23e920,_0x223c82={};for(const [_0x135b38,_0x2dd287]of Object['entries'](_0x3e8b85[_0x6cc6b6(0x179)](_0x47bf77,{}))){if(_0x3e8b85[_0x6cc6b6(0x15e)](_0x135b38,_0x3e8b85[_0x6cc6b6(0x19f)]))continue;let _0x21b24=![];for(const [_0x2b3748,_0x5732b7]of Object['entries'](W3CMapping)){if(_0x3e8b85[_0x6cc6b6(0x1a8)](_0x135b38,_0x5732b7)){_0x223c82[_0x2b3748]=_0x2dd287,_0x21b24=!![];break;}}!_0x21b24&&(_0x223c82[_0x135b38]=_0x2dd287);}const _0xbfdfd6=_0x47bf77[_0x3e8b85['YXSsP']]||{};for(const [_0x15528c,_0x2a0a95]of Object[_0x6cc6b6(0x16d)](_0xbfdfd6)){let _0x47c5d8=![];for(const [_0x59f497,_0x5899bf]of Object[_0x6cc6b6(0x16d)](W3CMapping)){if(_0x3e8b85[_0x6cc6b6(0x191)](_0x15528c,_0x5899bf)){_0x223c82[_0x59f497]=_0x2a0a95,_0x47c5d8=!![];break;}}!_0x47c5d8&&!_0x3e8b85[_0x6cc6b6(0x14e)](_0x15528c,_0x223c82)&&(_0x223c82[_0x15528c]=_0x2a0a95);}return logger['debug']('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON['stringify'](_0x223c82)),_0x223c82;},getModifiedConfigFromCLI=async _0x41d100=>{const _0x55c3d2=a122_0x2ff3b5,_0x5af7e3={};_0x5af7e3[_0x55c3d2(0x153)]=_0x55c3d2(0x14d),_0x5af7e3[_0x55c3d2(0x181)]=_0x55c3d2(0x194),_0x5af7e3['ZXYel']=_0x55c3d2(0x151),_0x5af7e3['QsRkC']=_0x55c3d2(0x178),_0x5af7e3[_0x55c3d2(0x144)]=function(_0x5ce078,_0x396980){return _0x5ce078>_0x396980;},_0x5af7e3['mHZBl']=_0x55c3d2(0x187);const _0xeb2de6=_0x5af7e3;try{if(!GrpcClient)return logger[_0x55c3d2(0x14b)](_0xeb2de6[_0x55c3d2(0x153)]),null;const _0x2cb201={};_0x2cb201['capabilities']=_0x41d100,_0x2cb201['framework']=_0xeb2de6['DBKhy'],_0x2cb201[_0x55c3d2(0x159)]=0x1,_0x2cb201[_0x55c3d2(0x135)]=[];const _0x3b1f0b=_0x2cb201;logger[_0x55c3d2(0x14b)](_0xeb2de6['ZXYel']);const _0x5dead6={};_0x5dead6['playwrightConfigObject']=_0x3b1f0b;const _0x20dc3d=await GrpcClient[_0x55c3d2(0x165)]()[_0x55c3d2(0x171)](_0x5dead6);if(!_0x20dc3d[_0x55c3d2(0x150)]())return logger[_0x55c3d2(0x14b)](_0xeb2de6[_0x55c3d2(0x183)]),null;const _0x30d718=JSON[_0x55c3d2(0x1a4)](_0x20dc3d[_0x55c3d2(0x150)]());logger[_0x55c3d2(0x14b)](_0x55c3d2(0x1a1)+JSON[_0x55c3d2(0x155)](_0x30d718));if(_0x30d718[_0x55c3d2(0x14c)]&&Array[_0x55c3d2(0x177)](_0x30d718[_0x55c3d2(0x14c)])&&_0xeb2de6[_0x55c3d2(0x144)](_0x30d718[_0x55c3d2(0x14c)][_0x55c3d2(0x140)],0x0))return _0x30d718['capabilities'][0x0];else{if(_0x30d718[_0x55c3d2(0x135)]&&Array[_0x55c3d2(0x177)](_0x30d718[_0x55c3d2(0x135)])&&_0xeb2de6[_0x55c3d2(0x144)](_0x30d718[_0x55c3d2(0x135)][_0x55c3d2(0x140)],0x0)){const _0x1571ea=_0x30d718[_0x55c3d2(0x135)][0x0];if(_0x1571ea[_0x55c3d2(0x18f)]&&_0x1571ea['use'][_0x55c3d2(0x16a)])return _0x1571ea[_0x55c3d2(0x18f)][_0x55c3d2(0x16a)];}}return logger[_0x55c3d2(0x14b)](_0xeb2de6['mHZBl']),null;}catch(_0x548e42){logger[_0x55c3d2(0x15b)]('Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20'+_0x548e42['message']);throw _0x548e42;}},generatePlaywrightUrl=(_0x32a19a,_0x107ba5)=>{const _0x1e149b=a122_0x2ff3b5,_0x47acf2={'wpxFg':function(_0x48e9eb,_0x3fbd0a){return _0x48e9eb!==_0x3fbd0a;},'kVkpD':function(_0x8ff0e6,_0x5c3ca8){return _0x8ff0e6!==_0x5c3ca8;},'WsMrg':function(_0x2c0a3f,_0x547505){return _0x2c0a3f!==_0x547505;},'WSmke':function(_0x7068de,_0x2d10fa){return _0x7068de!==_0x2d10fa;},'rgaQC':function(_0x46c8eb,_0x2290b0){return _0x46c8eb!==_0x2290b0;},'DnTOf':function(_0x1323b8,_0x3da03e){return _0x1323b8(_0x3da03e);},'QPQLK':function(_0x21febb,_0x4abade){return _0x21febb||_0x4abade;},'jZzSp':_0x1e149b(0x169),'SOkqS':function(_0x506ad4,_0x434d97){return _0x506ad4(_0x434d97);},'kUcxl':_0x1e149b(0x16e),'aqdIX':'browserstack.accessibilityOptions.scannerVersion','nuIGx':_0x1e149b(0x1ad),'XMgrU':_0x1e149b(0x199),'WXJVk':_0x1e149b(0x189),'XcHhc':function(_0x2c0ad2,_0x40497f){return _0x2c0ad2+_0x40497f;}},_0x15d98b=helper[_0x1e149b(0x1ac)](_0x32a19a),_0x4ea6eb=_0x47acf2[_0x1e149b(0x18c)](convertW3CToJsonWire,_0x107ba5);try{const _0x48562b=[_0x47acf2[_0x1e149b(0x161)](_0x107ba5,{}),global[_0x1e149b(0x193)]||{},global[_0x1e149b(0x167)]||{},global['__accessibilityOptions']||{}],_0x2662f1=_0xde6776=>{const _0x5940f3=_0x1e149b;if(_0x47acf2[_0x5940f3(0x13c)](_0x4ea6eb[_0xde6776],undefined)&&_0x47acf2[_0x5940f3(0x1a3)](_0x4ea6eb[_0xde6776],null)&&_0x47acf2[_0x5940f3(0x198)](_0x4ea6eb[_0xde6776],''))return;for(const _0x1e8560 of _0x48562b){if(_0x1e8560&&_0x47acf2[_0x5940f3(0x146)](_0x1e8560[_0xde6776],undefined)&&_0x47acf2[_0x5940f3(0x16f)](_0x1e8560[_0xde6776],null)&&_0x47acf2[_0x5940f3(0x1a3)](_0x1e8560[_0xde6776],'')){_0x4ea6eb[_0xde6776]=_0x1e8560[_0xde6776];return;}}};_0x47acf2[_0x1e149b(0x18c)](_0x2662f1,_0x47acf2[_0x1e149b(0x1a5)]),_0x47acf2[_0x1e149b(0x173)](_0x2662f1,_0x47acf2[_0x1e149b(0x162)]),_0x47acf2[_0x1e149b(0x173)](_0x2662f1,_0x47acf2[_0x1e149b(0x1a7)]),_0x47acf2['DnTOf'](_0x2662f1,_0x47acf2['nuIGx']),!_0x4ea6eb[_0x47acf2[_0x1e149b(0x1a5)]]&&process[_0x1e149b(0x170)]['BS_A11Y_JWT']&&(_0x4ea6eb[_0x47acf2[_0x1e149b(0x1a5)]]=process[_0x1e149b(0x170)]['BS_A11Y_JWT']);}catch(_0x591edd){logger[_0x1e149b(0x14b)](_0x1e149b(0x137)+util[_0x1e149b(0x18a)](_0x591edd));}return _0x4ea6eb[_0x47acf2[_0x1e149b(0x1a9)]]=process[_0x1e149b(0x170)][_0x1e149b(0x163)],_0x4ea6eb[_0x47acf2[_0x1e149b(0x185)]]=helper['getBuildProductMap'](),_0x47acf2[_0x1e149b(0x182)](_0x15d98b,_0x47acf2[_0x1e149b(0x18c)](encodeURIComponent,JSON['stringify'](_0x4ea6eb)));},getBrowserFromCaps=_0xa292d9=>{const _0x4fb886=a122_0x2ff3b5,_0x1f72a6={};_0x1f72a6[_0x4fb886(0x14a)]=_0x4fb886(0x197);const _0x898f7e=_0x1f72a6;return _0xa292d9[_0x4fb886(0x154)]||_0xa292d9['browser']||_0x898f7e[_0x4fb886(0x14a)];},isPlaywrightAvailable=()=>{const _0x1758c9=a122_0x2ff3b5,_0x1432e4={'SEpdm':_0x1758c9(0x17f),'twmUm':'client','nRKBX':_0x1758c9(0x166),'nGXgn':function(_0x4797d1,_0xeb760e){return _0x4797d1(_0xeb760e);}};try{const _0x22d3f4=path[_0x1758c9(0x13e)](_0x1432e4[_0x1758c9(0x17c)],_0x1432e4[_0x1758c9(0x147)],_0x1432e4[_0x1758c9(0x1a0)]),_0x591173=_0x1432e4[_0x1758c9(0x168)](importFileFromPWCore,_0x22d3f4);return!!_0x591173;}catch(_0x4ad5d7){return logger[_0x1758c9(0x14b)](_0x1758c9(0x164)+util[_0x1758c9(0x18a)](_0x4ad5d7)),![];}},getPlaywrightBrowserType=()=>{const _0x1fdde6=a122_0x2ff3b5,_0x28d758={'qFAWn':_0x1fdde6(0x17f),'TycWO':'client','KVxGO':_0x1fdde6(0x166),'QpgSM':function(_0x26dddd,_0x24732b){return _0x26dddd(_0x24732b);}};try{const _0x349f2d=path['join'](_0x28d758[_0x1fdde6(0x13b)],_0x28d758[_0x1fdde6(0x19e)],_0x28d758['KVxGO']),_0x521452=_0x28d758[_0x1fdde6(0x136)](importFileFromPWCore,_0x349f2d);return _0x521452?_0x521452[_0x1fdde6(0x190)]:null;}catch(_0x5cfa8a){return logger[_0x1fdde6(0x14b)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util['format'](_0x5cfa8a)),null;}},getPlaywrightModulePath=()=>{const _0x5a65dd=a122_0x2ff3b5,_0x3d348d={};_0x3d348d['tGzCJ']=_0x5a65dd(0x19d);const _0x52ba56=_0x3d348d;return logger[_0x5a65dd(0x14b)](_0x52ba56[_0x5a65dd(0x13f)]),null;},getBrowserTypePath=()=>{const _0x4d67fd=a122_0x2ff3b5,_0x2eabe2={};_0x2eabe2[_0x4d67fd(0x156)]='getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0xcb948f=_0x2eabe2;return logger[_0x4d67fd(0x14b)](_0xcb948f[_0x4d67fd(0x156)]),null;},checkPwandBootstrapCli=async(_0x5bd614,_0x3cf312,_0x48d854)=>{const _0x2acb17=a122_0x2ff3b5,_0x2fcf32={'dwepj':function(_0x2481ff,_0x26e6f4){return _0x2481ff(_0x26e6f4);},'aVhQz':_0x2acb17(0x17b)};if(_0x5bd614){const _0x14c1ca=constants[_0x2acb17(0x138)][_0x2acb17(0x18d)];logger[_0x2acb17(0x14b)](_0x2acb17(0x19c)+_0x5bd614+_0x2acb17(0x160)+_0x3cf312+_0x2acb17(0x152)),CLIUtils[_0x2acb17(0x149)](_0x3cf312,_0x14c1ca);const {getProductMap:_0x57b262}=_0x2fcf32[_0x2acb17(0x180)](require,_0x2fcf32[_0x2acb17(0x17a)]);process['env'][_0x2acb17(0x186)]=JSON[_0x2acb17(0x155)](_0x2fcf32[_0x2acb17(0x180)](_0x57b262,_0x48d854[_0x2acb17(0x19b)])),BrowserstackCLI[_0x2acb17(0x165)]()[_0x2acb17(0x157)](_0x48d854[_0x2acb17(0x19b)],_0x48d854[_0x2acb17(0x145)],_0x48d854[_0x2acb17(0x174)]),await BrowserstackCLI[_0x2acb17(0x165)]()[_0x2acb17(0x142)]();}},a122_0x542fb9={};function a122_0x3acc(){const _0x1f678c=['setFrameworkDetail','orUYc','debug','capabilities','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','aybqs','isPlaywrightAvailable','getConfig','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','\x20flow','mBqIO','browserName','stringify','ZgJzv','setBrowserstackConfig','264389kTUzAP','workers','Could\x20not\x20import\x20GrpcClient:\x20','error','bstack:options','30894tggSlD','fVmXN','33OppBvO','\x20for\x20','QPQLK','kUcxl','BROWSERSTACK_TESTHUB_UUID','Playwright\x20not\x20available:\x20','getInstance','browserType.js','__platformCaps','nGXgn','browserstack.accessibilityOptions.authToken','platformCaps','6645144TlTJTe','6NgoXfk','entries','browserstack.accessibilityOptions.wcagVersion','rgaQC','env','getPlaywrightConfig','1890fbvYRu','SOkqS','cliConfig','26bBVaLT','checkPwandBootstrapCli','isArray','No\x20modified\x20config\x20received\x20from\x20gRPC','QhDJW','aVhQz','./testhub/utils','SEpdm','586035rSEiLe','148TQSLzC','lib','dwepj','DBKhy','XcHhc','QsRkC','path','WXJVk','BROWSERSTACK_PRODUCT_MAP','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','W3CMapping','browserstack.buildProductMap','format','104YzIscb','DnTOf','PLAYWRIGHT','getPlaywrightBrowserType','use','BrowserType','Thtjo','./logger','__launchCaps','cucumberjs-pw','generatePlaywrightUrl','convertW3CToJsonWire','chrome','WsMrg','browserstack.testhubBuildUuid','./w3cMapping','config','Detected\x20Playwright\x20version\x20','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','TycWO','YXSsP','nRKBX','Received\x20modified\x20config\x20from\x20gRPC:\x20','../bin/utils/constants','kVkpD','parse','jZzSp','42559bcDjtt','aqdIX','BLlCE','XMgrU','getPlaywrightModulePath','./helper','getPlaywrightUrl','browserstack.accessibilityOptions.scannerProcessingTimeout','projects','QpgSM','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','FRAMEWORKS','../bin/v2/browserstackCLI','exports','qFAWn','wpxFg','829563hPFJpq','join','tGzCJ','length','105235AhGIit','bootstrap','winstonLogger','WgWng','configPath','WSmke','twmUm','util'];a122_0x3acc=function(){return _0x1f678c;};return a122_0x3acc();}a122_0x542fb9[a122_0x2ff3b5(0x196)]=convertW3CToJsonWire,a122_0x542fb9['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a122_0x542fb9[a122_0x2ff3b5(0x195)]=generatePlaywrightUrl,a122_0x542fb9['getBrowserFromCaps']=getBrowserFromCaps,a122_0x542fb9[a122_0x2ff3b5(0x14f)]=isPlaywrightAvailable,a122_0x542fb9[a122_0x2ff3b5(0x18e)]=getPlaywrightBrowserType,a122_0x542fb9[a122_0x2ff3b5(0x1aa)]=getPlaywrightModulePath,a122_0x542fb9['getBrowserTypePath']=getBrowserTypePath,a122_0x542fb9['importFileFromPWCore']=importFileFromPWCore,a122_0x542fb9[a122_0x2ff3b5(0x176)]=checkPwandBootstrapCli,module[a122_0x2ff3b5(0x13a)]=a122_0x542fb9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a123_0xb8cb33=a123_0x4eb1;(function(_0x10b73a,_0x2a232b){const _0x4b5110=a123_0x4eb1,_0x47a35b=_0x10b73a();while(!![]){try{const _0x38fe4a=parseInt(_0x4b5110(0x117))/0x1*(-parseInt(_0x4b5110(0x116))/0x2)+-parseInt(_0x4b5110(0x10a))/0x3+-parseInt(_0x4b5110(0x11d))/0x4*(-parseInt(_0x4b5110(0x125))/0x5)+-parseInt(_0x4b5110(0x107))/0x6+parseInt(_0x4b5110(0x10f))/0x7+parseInt(_0x4b5110(0x10b))/0x8+-parseInt(_0x4b5110(0x11a))/0x9*(-parseInt(_0x4b5110(0x10d))/0xa);if(_0x38fe4a===_0x2a232b)break;else _0x47a35b['push'](_0x47a35b['shift']());}catch(_0xcab203){_0x47a35b['push'](_0x47a35b['shift']());}}}(a123_0x56b2,0x5993b));function a123_0x4eb1(_0x559ea6,_0x28d632){const _0x56b210=a123_0x56b2();return a123_0x4eb1=function(_0x4eb17f,_0x2170e5){_0x4eb17f=_0x4eb17f-0x103;let _0x46beb5=_0x56b210[_0x4eb17f];return _0x46beb5;},a123_0x4eb1(_0x559ea6,_0x28d632);}function a123_0x56b2(){const _0x44d502=['1576376ovlaJR','YBANZ','150WONfXF','threadId','2341640LDJygM','BROWSERSTACK_TEST_REPORTING_DEBUG','getGlobal','\x20]\x20','env','./logger','true','576nPijYr','853bWgDqm','getProcessId','BROWSERSTACK_OBSERVABILITY_DEBUG','235017tIRRgB','pid','../bin/utils/constants','192hRrqaH','browserstackTestName','debug','sleep','][\x20','TEST_REPORTING_ANALYTICS','worker_threads','./test-observability/constants','49150LYmSRl','RtcxE','FKekM','TnLLS','toISOString','1669824tvNvGH','./globals','KQEJr','1512681uQqRyy'];a123_0x56b2=function(){return _0x44d502;};return a123_0x56b2();}const worker=require(a123_0xb8cb33(0x123)),{fileLogger}=require(a123_0xb8cb33(0x114)),{consoleHolder}=require(a123_0xb8cb33(0x124)),globals=require(a123_0xb8cb33(0x108)),constants=require(a123_0xb8cb33(0x11c));exports[a123_0xb8cb33(0x118)]=()=>{const _0x2d7574=a123_0xb8cb33;return process[_0x2d7574(0x11b)]+'-'+worker[_0x2d7574(0x10e)];},exports['getTestName']=()=>{const _0x11dc93=a123_0xb8cb33,_0x59b03b={};_0x59b03b['TnLLS']=_0x11dc93(0x11e);const _0x5e8197=_0x59b03b;return globals[_0x11dc93(0x111)](_0x5e8197[_0x11dc93(0x105)]);},exports[a123_0xb8cb33(0x120)]=(_0x21d23e=0x64)=>new Promise(_0x2b93d4=>setTimeout(_0x2b93d4,_0x21d23e)),exports[a123_0xb8cb33(0x11f)]=_0x438d82=>{const _0x495f8c=a123_0xb8cb33,_0x1f84b5={};_0x1f84b5[_0x495f8c(0x109)]=function(_0x286db6,_0x506f3a){return _0x286db6===_0x506f3a;},_0x1f84b5[_0x495f8c(0x104)]=_0x495f8c(0x115),_0x1f84b5[_0x495f8c(0x103)]=function(_0x58628e,_0x1cc6fe){return _0x58628e===_0x1cc6fe;},_0x1f84b5[_0x495f8c(0x10c)]=function(_0x30ad62,_0xd2c3ff){return _0x30ad62===_0xd2c3ff;};const _0x2ad927=_0x1f84b5;fileLogger[_0x495f8c(0x11f)]('['+new Date()[_0x495f8c(0x106)]()+_0x495f8c(0x121)+constants[_0x495f8c(0x122)]+_0x495f8c(0x112)+_0x438d82),(_0x2ad927[_0x495f8c(0x109)](process[_0x495f8c(0x113)][_0x495f8c(0x110)],_0x2ad927['FKekM'])||_0x2ad927[_0x495f8c(0x103)](process[_0x495f8c(0x113)]['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x2ad927[_0x495f8c(0x103)](process[_0x495f8c(0x113)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x2ad927[_0x495f8c(0x104)])||_0x2ad927[_0x495f8c(0x10c)](process[_0x495f8c(0x113)][_0x495f8c(0x119)],'1'))&&consoleHolder['log']('\x0a['+new Date()['toISOString']()+_0x495f8c(0x121)+constants['TEST_REPORTING_ANALYTICS']+_0x495f8c(0x112)+_0x438d82+'\x0a');};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a124_0x29b8(){const _0x17281a=['host','24125iMDFPt','nLbdd','4643193CJeXMM','9887928YOtdsi','eJqXu','NVMcO','RPcCa','call','FeriF','dcBsg','url','28NQokQW','IZOHe','path','GckcW','484GYaIcY','request','fCnaG','95687owqGcp','AcUGF','CRHgZ','frwox','headers','forEach','DkMQk','http','65256yXSKiq','method','hostname','189jldfda','IhQjB','once','end','assign','response','WNryt','restore','removeListener','19778060zbqzWo','pathname','status_code','prototype','hWHRS','now','gmtMw','4699716ReFOiJ','monkeypatch','slice','statusCode','error','object','qYKUf'];a124_0x29b8=function(){return _0x17281a;};return a124_0x29b8();}const a124_0x2f4e7a=a124_0x504a;(function(_0x4f72f0,_0x717caf){const _0x34cc1=a124_0x504a,_0x347c3d=_0x4f72f0();while(!![]){try{const _0x521eb1=-parseInt(_0x34cc1(0xd3))/0x1*(parseInt(_0x34cc1(0xcc))/0x2)+-parseInt(_0x34cc1(0xc3))/0x3+-parseInt(_0x34cc1(0xd0))/0x4*(parseInt(_0x34cc1(0xc1))/0x5)+parseInt(_0x34cc1(0xc4))/0x6+parseInt(_0x34cc1(0xb9))/0x7+parseInt(_0x34cc1(0xdb))/0x8*(parseInt(_0x34cc1(0xde))/0x9)+parseInt(_0x34cc1(0xb2))/0xa;if(_0x521eb1===_0x717caf)break;else _0x347c3d['push'](_0x347c3d['shift']());}catch(_0x409a56){_0x347c3d['push'](_0x347c3d['shift']());}}}(a124_0x29b8,0xf37b9));const http=require(a124_0x2f4e7a(0xda)),https=require('https'),monkeypatch=require(a124_0x2f4e7a(0xba));function spy(_0x130725){const _0x437fe0=a124_0x2f4e7a,_0x5c8c4b={'nLbdd':function(_0x2c3b65,_0x2a7e91,_0x282d72){return _0x2c3b65(_0x2a7e91,_0x282d72);},'eJqXu':function(_0x357b58,_0x17837e){return _0x357b58 instanceof _0x17837e;},'gmtMw':function(_0x182ab7,_0x53bb28){return _0x182ab7===_0x53bb28;},'DkMQk':_0x437fe0(0xbe),'XWysB':function(_0x155df4,_0x123306){return _0x155df4-_0x123306;},'FeriF':function(_0x5b3ac0,_0xe1308b,_0x2e5d4c){return _0x5b3ac0(_0xe1308b,_0x2e5d4c);},'NVMcO':_0x437fe0(0xbd),'WNryt':function(_0x12086f,..._0x40473a){return _0x12086f(..._0x40473a);},'hWHRS':_0x437fe0(0xe3),'xQSPS':'socket','fCnaG':function(_0x342a00,_0xd3878a,_0x3c34f5,_0x8701a5){return _0x342a00(_0xd3878a,_0x3c34f5,_0x8701a5);},'IhQjB':_0x437fe0(0xe1),'IZOHe':_0x437fe0(0xd1),'dcBsg':function(_0x3fc4fc,_0x1c3b9a,_0x3c81a4,_0x5a50d9){return _0x3fc4fc(_0x1c3b9a,_0x3c81a4,_0x5a50d9);}},_0x232c64=function(){const _0x4cbfca=_0x437fe0,_0x246c9d={'SqGrA':function(_0x325e09,_0x3319ef){const _0x401a3e=a124_0x504a;return _0x5c8c4b[_0x401a3e(0xc5)](_0x325e09,_0x3319ef);},'frwox':function(_0x1c377b,_0x4be483){const _0x305e45=a124_0x504a;return _0x5c8c4b[_0x305e45(0xb8)](_0x1c377b,_0x4be483);},'CRHgZ':_0x5c8c4b[_0x4cbfca(0xd9)],'RPcCa':function(_0xf07e4a,_0x53632e){return _0x5c8c4b['XWysB'](_0xf07e4a,_0x53632e);},'AcUGF':function(_0x53cd5b,_0x4928be,_0x111460){const _0x5900ab=_0x4cbfca;return _0x5c8c4b[_0x5900ab(0xc9)](_0x53cd5b,_0x4928be,_0x111460);},'qYKUf':_0x5c8c4b[_0x4cbfca(0xc6)],'GckcW':function(_0x40ee31,..._0x2c5744){const _0x3e2188=_0x4cbfca;return _0x5c8c4b[_0x3e2188(0xe4)](_0x40ee31,..._0x2c5744);}},_0x322c75=arguments[0x0],_0x1324d8=Array[_0x4cbfca(0xb5)][_0x4cbfca(0xbb)][_0x4cbfca(0xc8)](arguments,0x1),_0x14d1e6=_0x322c75['apply'](this,_0x1324d8);let _0x19d07b=Date[_0x4cbfca(0xb7)](),_0x1ae9a7;const _0x38f439={};_0x1324d8[_0x4cbfca(0xd8)](_0x4df94d=>{const _0x475b2f=_0x4cbfca;if(_0x246c9d['SqGrA'](_0x4df94d,URL)){const _0x4c6e8f={};_0x4c6e8f[_0x475b2f(0xcb)]=_0x4df94d,Object[_0x475b2f(0xe2)](_0x38f439,_0x4c6e8f);}else _0x246c9d[_0x475b2f(0xd6)](typeof _0x4df94d,_0x246c9d[_0x475b2f(0xd5)])&&Object[_0x475b2f(0xe2)](_0x38f439,_0x4df94d);});const _0x4dfbbc=_0x367e6d=>{const _0x52b6b2=_0x4cbfca,_0x587d84={};_0x587d84[_0x52b6b2(0xc0)]=_0x38f439[_0x52b6b2(0xc0)]||_0x38f439[_0x52b6b2(0xdd)]||_0x38f439['url']&&(_0x38f439[_0x52b6b2(0xcb)][_0x52b6b2(0xc0)]||_0x38f439[_0x52b6b2(0xcb)][_0x52b6b2(0xdd)]),_0x587d84['path']=_0x38f439[_0x52b6b2(0xce)]||_0x38f439[_0x52b6b2(0xcb)]&&_0x38f439[_0x52b6b2(0xcb)][_0x52b6b2(0xb3)],_0x587d84[_0x52b6b2(0xdc)]=_0x38f439['method'],_0x587d84['headers']=_0x38f439[_0x52b6b2(0xd7)],_0x5c8c4b[_0x52b6b2(0xc2)](_0x130725,_0x367e6d,_0x587d84);};return _0x14d1e6['once'](_0x5c8c4b[_0x4cbfca(0xb6)],_0x3ee0ca=>{const _0x95bd13=_0x4cbfca,_0x5239d1=_0x246c9d[_0x95bd13(0xc7)](Date[_0x95bd13(0xb7)](),_0x19d07b),_0x49f56e={};_0x49f56e[_0x95bd13(0xdd)]=_0x38f439[_0x95bd13(0xc0)]||_0x38f439['hostname']||_0x38f439[_0x95bd13(0xcb)]&&(_0x38f439[_0x95bd13(0xcb)][_0x95bd13(0xc0)]||_0x38f439[_0x95bd13(0xcb)][_0x95bd13(0xdd)]),_0x49f56e[_0x95bd13(0xce)]=_0x38f439[_0x95bd13(0xce)]||_0x38f439[_0x95bd13(0xcb)]&&_0x38f439[_0x95bd13(0xcb)][_0x95bd13(0xb3)],_0x49f56e['method']=_0x38f439[_0x95bd13(0xdc)],_0x49f56e['headers']=_0x38f439['headers'],_0x49f56e[_0x95bd13(0xb4)]=_0x3ee0ca[_0x95bd13(0xbc)],_0x49f56e['duration_ms']=_0x5239d1,_0x246c9d[_0x95bd13(0xd4)](_0x130725,null,_0x49f56e),_0x1ae9a7[_0x95bd13(0xb1)](_0x246c9d[_0x95bd13(0xbf)],_0x4dfbbc);}),_0x14d1e6['on'](_0x5c8c4b['xQSPS'],_0x39cb8b=>{const _0x2f923f=_0x4cbfca;_0x1ae9a7=_0x39cb8b,_0x39cb8b[_0x2f923f(0xe0)](_0x246c9d[_0x2f923f(0xbf)],_0x4dfbbc);}),_0x5c8c4b[_0x4cbfca(0xd2)](monkeypatch,_0x14d1e6,_0x5c8c4b[_0x4cbfca(0xdf)],(_0x2007ad,..._0x27a95e)=>{const _0x409376=_0x4cbfca;_0x19d07b=Date[_0x409376(0xb7)](),_0x246c9d[_0x409376(0xcf)](_0x2007ad,..._0x27a95e);}),_0x14d1e6;};_0x5c8c4b[_0x437fe0(0xd2)](monkeypatch,http,_0x5c8c4b[_0x437fe0(0xcd)],_0x232c64),_0x5c8c4b[_0x437fe0(0xca)](monkeypatch,https,_0x5c8c4b[_0x437fe0(0xcd)],_0x232c64);}function a124_0x504a(_0x109e9e,_0x921c52){const _0x29b86b=a124_0x29b8();return a124_0x504a=function(_0x504a88,_0x126f2f){_0x504a88=_0x504a88-0xb0;let _0x56dc87=_0x29b86b[_0x504a88];return _0x56dc87;},a124_0x504a(_0x109e9e,_0x921c52);}function restore(){const _0x269147=a124_0x2f4e7a;http[_0x269147(0xd1)]['unpatch'](),https['request']['unpatch']();}const a124_0x1834f2={};a124_0x1834f2['spy']=spy,a124_0x1834f2[a124_0x2f4e7a(0xb0)]=restore,module['exports']=a124_0x1834f2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a125_0x2a25(){const _0x3d5b15=['1307944oPomWk','KEEP_ALIVE','HACFH','Agent','362253FMOwNi','./performance/performance-tester','1004076SOBiBG','globalAgent','9BrZMxH','rzzdL','675908erqtZM','sfNdp','https','hasOwnProperty','keepAliveMsecs','5890980BoESlk','5EpfMef','keepAlive','./performance/constants','9XhNtjR','aWCsA','measureWrapper','JUgdX','63082CnnDwU','kCfTB','1977234oXcCON','WBxvZ','obroQ','http','https:'];a125_0x2a25=function(){return _0x3d5b15;};return a125_0x2a25();}const a125_0x5a7e91=a125_0x1817;function a125_0x1817(_0x4a3c72,_0x213b3f){const _0x2a25f9=a125_0x2a25();return a125_0x1817=function(_0x1817e0,_0x4d740c){_0x1817e0=_0x1817e0-0xee;let _0x32a772=_0x2a25f9[_0x1817e0];return _0x32a772;},a125_0x1817(_0x4a3c72,_0x213b3f);}(function(_0x13f194,_0x4a17c7){const _0x4f3d32=a125_0x1817,_0x9cc86d=_0x13f194();while(!![]){try{const _0x486882=-parseInt(_0x4f3d32(0xfa))/0x1+-parseInt(_0x4f3d32(0xef))/0x2*(-parseInt(_0x4f3d32(0x109))/0x3)+parseInt(_0x4f3d32(0x100))/0x4+parseInt(_0x4f3d32(0x106))/0x5*(-parseInt(_0x4f3d32(0xfc))/0x6)+-parseInt(_0x4f3d32(0xf1))/0x7+parseInt(_0x4f3d32(0xf6))/0x8*(parseInt(_0x4f3d32(0xfe))/0x9)+parseInt(_0x4f3d32(0x105))/0xa;if(_0x486882===_0x4a17c7)break;else _0x9cc86d['push'](_0x9cc86d['shift']());}catch(_0x66ce4c){_0x9cc86d['push'](_0x9cc86d['shift']());}}}(a125_0x2a25,0x31d62));const PerformanceTester=require(a125_0x5a7e91(0xfb)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0x5a7e91(0x108));module['exports']=PerformanceTester[a125_0x5a7e91(0x10b)](PerformanceEvents[a125_0x5a7e91(0xf7)],function(){const _0x574e42=a125_0x5a7e91,_0x142789={'obroQ':function(_0x5ad662,_0x2abf25){return _0x5ad662===_0x2abf25;},'sfNdp':_0x574e42(0xf5),'JUgdX':'agent','HACFH':function(_0x26f65a,_0x506dae,_0x4f0c30){return _0x26f65a(_0x506dae,_0x4f0c30);},'WBxvZ':function(_0x430b6f,_0x22918a){return _0x430b6f(_0x22918a);},'levRo':_0x574e42(0xf4),'kCfTB':_0x574e42(0x102),'aWCsA':function(_0x14746a,_0x506b94){return _0x14746a*_0x506b94;},'rzzdL':_0x574e42(0x107)},_0x30d4b8=_0x142789['WBxvZ'](require,_0x142789['levRo']),_0x425e28=_0x142789[_0x574e42(0xf2)](require,_0x142789[_0x574e42(0xf0)]),_0x3599c8=_0x142789[_0x574e42(0x10a)](0x1e,0x3e8);if(_0x30d4b8[_0x574e42(0xfd)]&&Object['prototype'][_0x574e42(0x103)]['call'](_0x30d4b8[_0x574e42(0xfd)],_0x142789[_0x574e42(0xff)]))_0x30d4b8[_0x574e42(0xfd)]['keepAlive']=!![],_0x425e28[_0x574e42(0xfd)]['keepAlive']=!![],_0x30d4b8[_0x574e42(0xfd)][_0x574e42(0x104)]=_0x3599c8,_0x425e28[_0x574e42(0xfd)][_0x574e42(0x104)]=_0x3599c8;else{const _0x54b605={};_0x54b605[_0x574e42(0x107)]=!![],_0x54b605[_0x574e42(0x104)]=_0x3599c8;const _0x263864=new _0x30d4b8[(_0x574e42(0xf9))](_0x54b605),_0xe14fca={};_0xe14fca['keepAlive']=!![],_0xe14fca[_0x574e42(0x104)]=_0x3599c8;const _0x5220f6=new _0x425e28['Agent'](_0xe14fca),_0x468c61=_0x30d4b8['request'],_0x30e6b2=_0x425e28['request'];_0x30d4b8['request']=function(_0x18e5a3,_0x5f3060){const _0x213092=_0x574e42;if(_0x142789[_0x213092(0xf3)](_0x18e5a3['protocol'],_0x142789[_0x213092(0x101)]))return _0x18e5a3[_0x142789[_0x213092(0xee)]]=_0x5220f6,_0x142789[_0x213092(0xf8)](_0x30e6b2,_0x18e5a3,_0x5f3060);return _0x18e5a3[_0x142789[_0x213092(0xee)]]=_0x263864,_0x142789[_0x213092(0xf8)](_0x468c61,_0x18e5a3,_0x5f3060);};}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a126_0x3735(){const _0x146375=['env','4163936thyiTP','CODECEPT','staging','prod','api/v1/event','mocha','api/v1/batch','stag','CODECEPT_CUCUMBER','API_URL','OBSERVABILITY_UPLOAD_API_URL','jest','PLAYWRIGHT','upload-attachments','JEST','https://collector-observability-devtestops.bsstag.com','path','1419210NoZdmw','cucumber','CUCUMBER','codeceptjs','https://upload-observability-devtestops-ssi.bsstag.com','3755PwXAEz','https://upload-observability.browserstack.com','pre-prod','516Jihhhn','https://upload-observability-preprod.bsstag.com','218611EZqRkk','17742230bqEPGG','4026noGnSn','exports','1744722GwMyPK','https://collector-observability-preprod.bsstag.com','BROWSERSTACK_ENV','204AIrCCN','4AKbCIa','preprod','https://collector-observability.browserstack.com'];a126_0x3735=function(){return _0x146375;};return a126_0x3735();}const a126_0x36cf8a=a126_0x4654;(function(_0x3f77ea,_0x1548b5){const _0x2db262=a126_0x4654,_0x25d54e=_0x3f77ea();while(!![]){try{const _0x225f85=parseInt(_0x2db262(0x155))/0x1*(-parseInt(_0x2db262(0x15d))/0x2)+-parseInt(_0x2db262(0x157))/0x3*(parseInt(_0x2db262(0x15c))/0x4)+-parseInt(_0x2db262(0x150))/0x5*(parseInt(_0x2db262(0x153))/0x6)+-parseInt(_0x2db262(0x159))/0x7+-parseInt(_0x2db262(0x161))/0x8+-parseInt(_0x2db262(0x14b))/0x9+parseInt(_0x2db262(0x156))/0xa;if(_0x225f85===_0x1548b5)break;else _0x25d54e['push'](_0x25d54e['shift']());}catch(_0x28465c){_0x25d54e['push'](_0x25d54e['shift']());}}}(a126_0x3735,0x43841));const path=require(a126_0x36cf8a(0x14a)),{logDir}=require('../logger'),a126_0x14b354={};a126_0x14b354[a126_0x36cf8a(0x16d)]='Playwright',a126_0x14b354['MOCHA']=a126_0x36cf8a(0x166),a126_0x14b354[a126_0x36cf8a(0x162)]=a126_0x36cf8a(0x14e),a126_0x14b354[a126_0x36cf8a(0x169)]='codeceptjs-cucumber',a126_0x14b354[a126_0x36cf8a(0x148)]=a126_0x36cf8a(0x16c),a126_0x14b354[a126_0x36cf8a(0x14d)]=a126_0x36cf8a(0x14c),module['exports']={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x36cf8a(0x15f),'OBSERVABILITY_UPLOAD_API_URL':a126_0x36cf8a(0x151),'EVENT_ENDPOINT':a126_0x36cf8a(0x165),'BATCH_ENDPOINT':a126_0x36cf8a(0x167),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','UPLOAD_ATTACHMENT_ENDPOINT':a126_0x36cf8a(0x16e),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path['join'](logDir,'.obs_test_details'),'FRAMEWORKS':a126_0x14b354};function a126_0x4654(_0x1933c1,_0x4f00c8){const _0x373503=a126_0x3735();return a126_0x4654=function(_0x465402,_0x20af64){_0x465402=_0x465402-0x148;let _0x5db9c8=_0x373503[_0x465402];return _0x5db9c8;},a126_0x4654(_0x1933c1,_0x4f00c8);}const _env=(process[a126_0x36cf8a(0x160)][a126_0x36cf8a(0x15b)]||a126_0x36cf8a(0x164))['toLowerCase']();if(_env===a126_0x36cf8a(0x163)||_env===a126_0x36cf8a(0x168))module[a126_0x36cf8a(0x158)][a126_0x36cf8a(0x16a)]=a126_0x36cf8a(0x149),module['exports'][a126_0x36cf8a(0x16b)]=a126_0x36cf8a(0x14f);else(_env===a126_0x36cf8a(0x15e)||_env===a126_0x36cf8a(0x152))&&(module['exports'][a126_0x36cf8a(0x16a)]=a126_0x36cf8a(0x15a),module[a126_0x36cf8a(0x158)][a126_0x36cf8a(0x16b)]=a126_0x36cf8a(0x154));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127_0x17c85f=a127_0x25de;(function(_0x235d0c,_0x3261ad){const _0x29732f=a127_0x25de,_0x1613f5=_0x235d0c();while(!![]){try{const _0x21240d=-parseInt(_0x29732f(0x13f))/0x1*(-parseInt(_0x29732f(0x161))/0x2)+parseInt(_0x29732f(0x166))/0x3*(parseInt(_0x29732f(0x144))/0x4)+-parseInt(_0x29732f(0x110))/0x5*(-parseInt(_0x29732f(0x154))/0x6)+-parseInt(_0x29732f(0x15a))/0x7+parseInt(_0x29732f(0x177))/0x8*(parseInt(_0x29732f(0x131))/0x9)+parseInt(_0x29732f(0x113))/0xa*(parseInt(_0x29732f(0x137))/0xb)+-parseInt(_0x29732f(0x16e))/0xc;if(_0x21240d===_0x3261ad)break;else _0x1613f5['push'](_0x1613f5['shift']());}catch(_0x5ac58a){_0x1613f5['push'](_0x1613f5['shift']());}}}(a127_0x438d,0x4a510));const util=require(a127_0x17c85f(0x16b)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a127_0x17c85f(0x10d)),{getAgentVersion,nestedKeyValue}=require(a127_0x17c85f(0x11e)),o11yErrorHandler=(_0xcfe21d,_0x5e0aa0='',_0x5e5ef2=[''],_0x48ce61=![])=>{const _0x56f15b={'KHXem':function(_0x393128,_0x52b17d){return _0x393128(_0x52b17d);},'wLmoQ':function(_0x228068,_0x11352d,_0x1f2683){return _0x228068(_0x11352d,_0x1f2683);},'skkRC':function(_0x16d2a5,_0xbfcb7e){return _0x16d2a5(_0xbfcb7e);},'rxLOU':function(_0x220f20,_0x15278f,_0x439947){return _0x220f20(_0x15278f,_0x439947);},'CYLLi':function(_0x50e848,_0x4621bc){return _0x50e848 instanceof _0x4621bc;},'wMBnD':function(_0x172fb7,_0x412901,_0x55629e,_0x2d6b2c,_0x5dce8b){return _0x172fb7(_0x412901,_0x55629e,_0x2d6b2c,_0x5dce8b);}};return function(..._0x445777){const _0x54f7cd=a127_0x25de;try{let _0x24c5c2=_0xcfe21d;process['env'][_0x54f7cd(0x10c)]&&(_0x24c5c2=PerformanceTester['getPerformance']()['timerify'](_0x24c5c2));_0x48ce61&&_0x56f15b['KHXem'](trace,_0x54f7cd(0x13c)+_0x5e0aa0+',\x20PID\x20-\x20'+process['pid']+',\x20Argument\x20-\x20'+_0x56f15b[_0x54f7cd(0x139)](nestedKeyValue,arguments[0x0],_0x5e5ef2));const _0x27832b=_0x24c5c2[_0x54f7cd(0x12e)](null,arguments);_0x48ce61&&_0x56f15b[_0x54f7cd(0x12d)](trace,_0x54f7cd(0x142)+_0x5e0aa0+_0x54f7cd(0x167)+process[_0x54f7cd(0x171)]+_0x54f7cd(0x178)+_0x56f15b[_0x54f7cd(0x119)](nestedKeyValue,arguments[0x0],_0x5e5ef2));if(_0x56f15b['CYLLi'](_0x27832b,Promise))return _0x27832b[_0x54f7cd(0x16a)](_0x468cd4=>processError(_0x468cd4,_0xcfe21d,_0x445777,_0x5e0aa0));return _0x27832b;}catch(_0x5992bb){_0x56f15b[_0x54f7cd(0x14a)](processError,_0x5992bb,_0xcfe21d,_0x445777,_0x5e0aa0);}};},o11yClassErrorHandler=(_0x1892ba,_0x3fb7b5,_0x2bcc1d='')=>{const _0x3a98cc=a127_0x17c85f,_0x1f1152={'xXgHJ':function(_0x153b8d,_0x18b364){return _0x153b8d instanceof _0x18b364;},'jglDW':function(_0x5252a5,_0x10f1c4,_0xe5da88,_0x13a72c,_0x4ea836){return _0x5252a5(_0x10f1c4,_0xe5da88,_0x13a72c,_0x4ea836);},'cNfda':function(_0x8cc42b,_0x26801b){return _0x8cc42b===_0x26801b;},'mzsUZ':'function','yVTcg':function(_0x1a1f06,_0x4e1338){return _0x1a1f06!==_0x4e1338;},'KXBBn':_0x3a98cc(0x11f),'syxni':function(_0x1accea,_0x443963){return _0x1accea<_0x443963;}},_0x2bb821=_0x1892ba['prototype'];if(_0x1f1152[_0x3a98cc(0x124)](Object['getOwnPropertyNames'](_0x2bb821)['length'],0x2))return _0x1892ba;return Object[_0x3a98cc(0x135)](_0x2bb821)['forEach'](_0x2644f2=>{const _0x45a1a6=_0x3a98cc;if(!(_0x3fb7b5&&_0x3fb7b5['includes'](_0x2644f2)))return;const _0x210630=_0x2bb821[_0x2644f2];_0x1f1152[_0x45a1a6(0x14e)](typeof _0x210630,_0x1f1152[_0x45a1a6(0x109)])&&_0x1f1152[_0x45a1a6(0x153)](_0x2644f2,_0x1f1152[_0x45a1a6(0x148)])&&Object[_0x45a1a6(0x176)](_0x2bb821,_0x2644f2,{'writable':!![],'value':function(..._0x1100c0){const _0x218e24=_0x45a1a6;try{const _0x52d5e6=(process[_0x218e24(0x149)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x218e24(0x168)]()['timerify'](_0x210630):_0x210630)[_0x218e24(0x138)](this,..._0x1100c0);if(_0x1f1152['xXgHJ'](_0x52d5e6,Promise))return _0x52d5e6[_0x218e24(0x16a)](_0x3d0b07=>processError(_0x3d0b07,_0x210630,_0x1100c0,_0x2bcc1d));return _0x52d5e6;}catch(_0x568e18){_0x1f1152['jglDW'](processError,_0x568e18,_0x210630,_0x1100c0,_0x2bcc1d);}}});}),_0x1892ba;};function processError(_0x3363ce,_0x40476e,_0x2bd3cc,_0x9c9cce){const _0x560081=a127_0x17c85f,_0x531dee={'Lcukt':function(_0x218e6c,_0x120fa6){return _0x218e6c(_0x120fa6);}};_0x531dee['Lcukt'](debug,'Error\x20in\x20executing\x20'+_0x40476e['name']+_0x560081(0x140)+_0x9c9cce+_0x560081(0x172)+util[_0x560081(0x116)](_0x3363ce)+_0x560081(0x129)+_0x2bd3cc+'.'),PerformanceTester[_0x560081(0x17b)](_0x3363ce);let _0x54e0f9;try{_0x54e0f9=JSON[_0x560081(0x114)](_0x2bd3cc);}catch(_0x20032a){const _0x2efe6f={};_0x2efe6f['depth']=0x2,_0x54e0f9=util['inspect'](_0x2bd3cc,_0x2efe6f);}CrashReporter[_0x560081(0x179)](_0x560081(0x15b)+_0x40476e[_0x560081(0x133)]+_0x560081(0x140)+_0x9c9cce+_0x560081(0x172)+_0x3363ce+_0x560081(0x129)+_0x54e0f9+'.',_0x3363ce&&_0x3363ce[_0x560081(0x14d)]);}function a127_0x25de(_0x4f88f9,_0x1d94da){const _0x438de8=a127_0x438d();return a127_0x25de=function(_0x25de1e,_0x4f3473){_0x25de1e=_0x25de1e-0x108;let _0x35c15b=_0x438de8[_0x25de1e];return _0x35c15b;},a127_0x25de(_0x4f88f9,_0x1d94da);}class CrashReporter{static [a127_0x17c85f(0x120)]={};static [a127_0x17c85f(0x16f)];static [a127_0x17c85f(0x156)]={};static[a127_0x17c85f(0x117)](_0x1c7e27,_0x29102c,_0x3d9bff=null){const _0x25d204=a127_0x17c85f,_0x6bc279={'lGJkK':function(_0x43c7dc,_0x2c8e8c){return _0x43c7dc(_0x2c8e8c);},'lBtJf':function(_0x373b78,_0x191cdc){return _0x373b78(_0x191cdc);},'xGPge':function(_0x343283,_0x49e959){return _0x343283(_0x49e959);}},_0x3d3172=_0x1c7e27['frameworkName'],_0x2f3aaf=_0x1c7e27[_0x25d204(0x12c)];!_0x3d9bff&&(_0x3d9bff=_0x6bc279[_0x25d204(0x14f)](getBrowserStackConfig,_0x3d3172));!_0x2f3aaf&&_0x6bc279['lBtJf'](getFrameworkVersion,_0x3d3172);const _0x4e2b6e={};_0x4e2b6e[_0x25d204(0x17a)]=_0x3d3172,_0x4e2b6e[_0x25d204(0x12c)]=_0x2f3aaf,this[_0x25d204(0x130)](_0x4e2b6e,_0x29102c,_0x6bc279[_0x25d204(0x175)](getUserCredentials,_0x3d9bff));}static[a127_0x17c85f(0x125)](_0x4aa66e,_0x3b0996){const _0x94fd2f=a127_0x17c85f,_0x23ef80={};_0x23ef80['username']=_0x4aa66e,_0x23ef80[_0x94fd2f(0x170)]=_0x3b0996,this['credentials']=_0x23ef80,process[_0x94fd2f(0x149)][_0x94fd2f(0x155)]=JSON[_0x94fd2f(0x114)](this['credentials']);}static[a127_0x17c85f(0x15f)](){const _0x2e7a60=a127_0x17c85f,_0x1712e6={'VitZK':function(_0x3fe6ae,_0x444267){return _0x3fe6ae(_0x444267);}};if(!this['credentials']&&process[_0x2e7a60(0x149)][_0x2e7a60(0x155)])try{this[_0x2e7a60(0x16f)]=JSON['parse'](process[_0x2e7a60(0x149)]['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x1511fc){_0x1712e6[_0x2e7a60(0x15c)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x1511fc[_0x2e7a60(0x14c)]());}return this[_0x2e7a60(0x16f)];}static[a127_0x17c85f(0x164)](_0xf521d){const _0x1c9131=a127_0x17c85f;this[_0x1c9131(0x120)]=this[_0x1c9131(0x121)](_0xf521d),process[_0x1c9131(0x149)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x1c9131(0x114)](this[_0x1c9131(0x120)]);}static[a127_0x17c85f(0x151)](){const _0x1f3291=a127_0x17c85f,_0x27aa56={'npICq':function(_0x31300f,_0x2b2d5b){return _0x31300f===_0x2b2d5b;},'CAOzC':function(_0xddc85f,_0x3ccb2a){return _0xddc85f(_0x3ccb2a);}};if(_0x27aa56[_0x1f3291(0x132)](Object[_0x1f3291(0x13e)](this[_0x1f3291(0x120)])[_0x1f3291(0x10a)],0x0)&&process[_0x1f3291(0x149)]['USER_CONFIG_FOR_REPORTING'])try{this['userConfig']=JSON[_0x1f3291(0x10f)](process[_0x1f3291(0x149)][_0x1f3291(0x152)]);}catch(_0x2e06aa){_0x27aa56[_0x1f3291(0x16d)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x2e06aa[_0x1f3291(0x14c)]()),this[_0x1f3291(0x120)]={};}return this[_0x1f3291(0x120)];}static[a127_0x17c85f(0x14b)](_0xdd49a7){const _0x128f19=a127_0x17c85f;this['frameworkDetails']=_0xdd49a7,process[_0x128f19(0x149)][_0x128f19(0x126)]=JSON[_0x128f19(0x114)](this[_0x128f19(0x156)]);}static[a127_0x17c85f(0x12b)](){const _0x4dbe5e=a127_0x17c85f,_0x548395={'KvveR':function(_0x85d050,_0x4d1d07){return _0x85d050===_0x4d1d07;},'pbkUp':function(_0x880007,_0x2ddcb5){return _0x880007(_0x2ddcb5);}};if(_0x548395[_0x4dbe5e(0x165)](Object[_0x4dbe5e(0x13e)](this[_0x4dbe5e(0x156)])[_0x4dbe5e(0x10a)],0x0)&&process[_0x4dbe5e(0x149)][_0x4dbe5e(0x126)])try{this['frameworkDetails']=JSON[_0x4dbe5e(0x10f)](process[_0x4dbe5e(0x149)][_0x4dbe5e(0x126)]);}catch(_0x5d1354){_0x548395['pbkUp'](debug,_0x4dbe5e(0x16c)+_0x5d1354['toString']());}return this['frameworkDetails'];}static['setAllDetails'](_0x249125,_0x3712ae,_0x284e5b){const _0x4041c5=a127_0x17c85f;_0x249125&&this[_0x4041c5(0x14b)](_0x249125),_0x3712ae&&this[_0x4041c5(0x164)](_0x3712ae),_0x284e5b&&this[_0x4041c5(0x125)](_0x284e5b[_0x4041c5(0x11c)],_0x284e5b['accessKey']);}static async[a127_0x17c85f(0x179)](_0x3ba566,_0x3645bd){const _0x1f2429=a127_0x17c85f,_0x3b924a={'hdoAv':function(_0x418c7b,_0x4660d4){return _0x418c7b(_0x4660d4);},'IFucP':function(_0x42e70d,_0x49eace){return _0x42e70d(_0x49eace);},'sVOKH':function(_0x4b839a,_0x17a5b9){return _0x4b839a(_0x17a5b9);},'cvdzQ':_0x1f2429(0x134),'jOqAT':function(_0x102bf3){return _0x102bf3();},'GRswI':_0x1f2429(0x160),'kYEQj':_0x1f2429(0x13b),'sEqti':_0x1f2429(0x173),'zxgJz':function(_0x2d35b6,_0x2025ca,_0x50032c,_0x351ae6,_0x289159,_0x5a718e){return _0x2d35b6(_0x2025ca,_0x50032c,_0x351ae6,_0x289159,_0x5a718e);},'iwrEu':_0x1f2429(0x13a)};this[_0x1f2429(0x15f)]();if(!this['credentials'])return _0x3b924a[_0x1f2429(0x145)](debug,_0x3b924a[_0x1f2429(0x12a)]);this['getConfig'](),this[_0x1f2429(0x12b)]();const _0x42db03={'hashed_id':process[_0x1f2429(0x149)][_0x1f2429(0x162)],'observability_version':{'sdkVersion':_0x3b924a[_0x1f2429(0x15d)](getAgentVersion),'frameworkName':this[_0x1f2429(0x156)][_0x1f2429(0x17a)],'frameworkVersion':this[_0x1f2429(0x156)]['frameworkVersion']},'exception':{'error':_0x3ba566[_0x1f2429(0x14c)](),'stackTrace':_0x3645bd},'config':this[_0x1f2429(0x120)]},_0x562abc=_0x3b924a['GRswI'],_0x4d86bf={};_0x4d86bf[_0x1f2429(0x11c)]=this[_0x1f2429(0x16f)][_0x1f2429(0x11c)],_0x4d86bf[_0x1f2429(0x169)]=this[_0x1f2429(0x16f)][_0x1f2429(0x170)];const _0x1d55de={};_0x1d55de[_0x1f2429(0x157)]=_0x3b924a[_0x1f2429(0x111)],_0x1d55de[_0x1f2429(0x141)]=_0x3b924a[_0x1f2429(0x112)];const _0x155ed9={};_0x155ed9[_0x1f2429(0x150)]=_0x4d86bf,_0x155ed9['headers']=_0x1d55de;const _0x4839e9=_0x155ed9;_0x3b924a[_0x1f2429(0x163)](nodeRequest,_0x3b924a[_0x1f2429(0x159)],_0x562abc,_0x42db03,_0x4839e9,![])[_0x1f2429(0x174)](_0x228c53=>{const _0x58f8c3=_0x1f2429;_0x3b924a[_0x58f8c3(0x10e)](debug,_0x58f8c3(0x136)+JSON[_0x58f8c3(0x114)](_0x228c53));})['catch'](_0xb494a0=>{const _0x7a6e7c=_0x1f2429;_0x3b924a[_0x7a6e7c(0x11d)](debug,_0x7a6e7c(0x12f)+util[_0x7a6e7c(0x116)](_0xb494a0));});}static[a127_0x17c85f(0x123)](_0x5f16ba){const _0xad9b81=a127_0x17c85f,_0x55ed3a={};_0x55ed3a[_0xad9b81(0x128)]=_0xad9b81(0x13d),_0x55ed3a[_0xad9b81(0x115)]=_0xad9b81(0x11c),_0x55ed3a[_0xad9b81(0x146)]=_0xad9b81(0x108),_0x55ed3a[_0xad9b81(0x122)]='accessKey',_0x55ed3a[_0xad9b81(0x11b)]=_0xad9b81(0x169),_0x55ed3a[_0xad9b81(0x15e)]=function(_0x2feb3d,_0x34cdc2){return _0x2feb3d===_0x34cdc2;},_0x55ed3a[_0xad9b81(0x158)]=_0xad9b81(0x11a);const _0xa05d76=_0x55ed3a;if(!_0x5f16ba)return;const _0x51b61e=[_0xa05d76[_0xad9b81(0x128)],_0xa05d76[_0xad9b81(0x115)],_0xa05d76[_0xad9b81(0x146)],_0xa05d76[_0xad9b81(0x122)],_0xa05d76[_0xad9b81(0x11b)]];for(const _0x3dc011 in _0x5f16ba){if(_0x51b61e[_0xad9b81(0x127)](_0x3dc011['toLowerCase']()))delete _0x5f16ba[_0x3dc011];else _0xa05d76[_0xad9b81(0x15e)](typeof _0x5f16ba[_0x3dc011],_0xa05d76[_0xad9b81(0x158)])&&this['recursivelyDeletePIIKeysFromObject'](_0x5f16ba[_0x3dc011]);}}static[a127_0x17c85f(0x121)](_0x4c7612){const _0x118ce0=a127_0x17c85f,_0x31312c=JSON[_0x118ce0(0x10f)](JSON[_0x118ce0(0x114)](_0x4c7612));return this[_0x118ce0(0x123)](_0x31312c),_0x31312c;}}const a127_0xb8c79d={};a127_0xb8c79d[a127_0x17c85f(0x147)]=o11yErrorHandler,a127_0xb8c79d[a127_0x17c85f(0x118)]=o11yClassErrorHandler,a127_0xb8c79d[a127_0x17c85f(0x143)]=CrashReporter,module[a127_0x17c85f(0x10b)]=a127_0xb8c79d;function a127_0x438d(){const _0x4d37f1=['auth','getConfig','USER_CONFIG_FOR_REPORTING','yVTcg','12yPgbLx','CREDENTIALS_FOR_CRASH_REPORTING','frameworkDetails','Content-Type','LqkZn','iwrEu','3869817aPfiKP','Error\x20in\x20executing\x20','VitZK','jOqAT','fLMHH','getCredentials','/api/v1/analytics','461866wVQCgH','BS_TESTOPS_BUILD_HASHED_ID','zxgJz','setConfigDetails','KvveR','3cLEFCX',',\x20PID\x20-\x20','getPerformance','password','catch','util','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','CAOzC','8304996vccsDt','credentials','accessKey','pid','.\x20Error\x20-\x20','true','then','xGPge','defineProperty','40TiOlAy',',\x20Argument\x20-\x20','uploadCrashReport','frameworkName','captureError','key','mzsUZ','length','exports','BROWSERSTACK_O11Y_PERF_MEASUREMENT','./utils','hdoAv','parse','405595RUBYZP','kYEQj','sEqti','80aTgVLQ','stringify','mVTJJ','format','initialize','o11yClassErrorHandler','rxLOU','object','vuODl','username','IFucP','../helper','constructor','userConfig','filterPII','ehAWy','recursivelyDeletePIIKeysFromObject','syxni','setCredentials','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','includes','LYprp','.\x20Args\x20-\x20','cvdzQ','getFramework','frameworkVersion','skkRC','apply','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','setAllDetails','11250RcKdma','npICq','name','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','getOwnPropertyNames','[Crash_Report_Upload]\x20Success\x20response:\x20','688391tDwbce','call','wLmoQ','POST','application/json','Started\x20::\x20','user','keys','2bWmEkk','\x20--\x20','X-BSTACK-TESTOPS','Finished\x20::\x20','CrashReporter','1673248fDTgyR','sVOKH','iWUYH','o11yErrorHandler','KXBBn','env','wMBnD','setFrameworkDetails','toString','stack','cNfda','lGJkK'];a127_0x438d=function(){return _0x4d37f1;};return a127_0x438d();}
|
|
1
|
+
function a127_0x47d2(_0x1e72bb,_0xbd8f72){const _0x3f7441=a127_0x3f74();return a127_0x47d2=function(_0x47d253,_0x39eef0){_0x47d253=_0x47d253-0x115;let _0x10e1f6=_0x3f7441[_0x47d253];return _0x10e1f6;},a127_0x47d2(_0x1e72bb,_0xbd8f72);}function a127_0x3f74(){const _0x74dd6=['.\x20Args\x20-\x20','QjklK','OfxbL','exports','key','USER_CONFIG_FOR_REPORTING','true','tPnUo','egZVF','eySaf','1710rUbMrv','application/json','stack','filterPII','frameworkVersion','o11yErrorHandler','1873746rcOUtm','MiDVz','XFYjM','3212988GjatlT','env','fgUDT','keys','accessKey','UQiJw','length','../helper','parse','inspect','format','stringify','Error\x20in\x20executing\x20','depth','gpJvD','.\x20Error\x20-\x20','VPvcY','6FMVZZT','tBfEK','10934190kGDgrz','getOwnPropertyNames','apply','catch','1058PVZaIp','initialize','uIoXN','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','Finished\x20::\x20','NhWbT','toString','waukx','o11yClassErrorHandler','password','util','defineProperty','QmDQU','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','headers','3zTTuoW','XGGFV','mVfCu','Txzaj',',\x20PID\x20-\x20','EcDLB','/api/v1/analytics','vQstw','YBpuS','1682504sANGfw','object','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','frameworkDetails','constructor','X-BSTACK-TESTOPS','setCredentials','pid','includes','frameworkName','\x20--\x20','forEach','credentials','12328620EfNgYz','getConfig','CREDENTIALS_FOR_CRASH_REPORTING','JFeDo','voHeK','user','memyj','xpMwx','CrashReporter','username','BS_TESTOPS_BUILD_HASHED_ID','EQwle','getCredentials','recursivelyDeletePIIKeysFromObject','aJUBz','getFramework','auth','name','kDuXL','toLowerCase','timerify','[Crash_Report_Upload]\x20Success\x20response:\x20','setAllDetails','IRYuA','5515410eVqOtD','setConfigDetails','Content-Type','./utils','tdJWJ','BROWSERSTACK_O11Y_PERF_MEASUREMENT','getPerformance','userConfig'];a127_0x3f74=function(){return _0x74dd6;};return a127_0x3f74();}const a127_0x549746=a127_0x47d2;(function(_0x1deaec,_0x566494){const _0x56a0bf=a127_0x47d2,_0x492d9a=_0x1deaec();while(!![]){try{const _0x4c59cb=parseInt(_0x56a0bf(0x177))/0x1*(parseInt(_0x56a0bf(0x157))/0x2)+parseInt(_0x56a0bf(0x117))/0x3*(parseInt(_0x56a0bf(0x160))/0x4)+parseInt(_0x56a0bf(0x145))/0x5*(parseInt(_0x56a0bf(0x171))/0x6)+parseInt(_0x56a0bf(0x15d))/0x7+parseInt(_0x56a0bf(0x120))/0x8+-parseInt(_0x56a0bf(0x173))/0x9+-parseInt(_0x56a0bf(0x12d))/0xa;if(_0x4c59cb===_0x566494)break;else _0x492d9a['push'](_0x492d9a['shift']());}catch(_0x42d296){_0x492d9a['push'](_0x492d9a['shift']());}}}(a127_0x3f74,0xcd5b2));const util=require(a127_0x549746(0x181)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a127_0x549746(0x148)),{getAgentVersion,nestedKeyValue}=require(a127_0x549746(0x167)),o11yErrorHandler=(_0x4c8f82,_0x13e2ae='',_0x3c2e94=[''],_0x51b4fa=![])=>{const _0x333c1a={'XFYjM':function(_0xd59baf,_0x2b2402){return _0xd59baf(_0x2b2402);},'egZVF':function(_0x26d433,_0x3cec1f,_0x4e155c){return _0x26d433(_0x3cec1f,_0x4e155c);},'QjklK':function(_0x76268c,_0x172938){return _0x76268c(_0x172938);},'Arohj':function(_0x5b99fc,_0x306d65,_0x2d2d88){return _0x5b99fc(_0x306d65,_0x2d2d88);},'rEJOc':function(_0x4ae5c3,_0x3e51c2){return _0x4ae5c3 instanceof _0x3e51c2;},'xpMwx':function(_0x4b8128,_0xda963b,_0x1644e5,_0xdb30bf,_0x5d4564){return _0x4b8128(_0xda963b,_0x1644e5,_0xdb30bf,_0x5d4564);}};return function(..._0x17cf6b){const _0x54ae0c=a127_0x47d2;try{let _0x33292a=_0x4c8f82;process['env'][_0x54ae0c(0x14a)]&&(_0x33292a=PerformanceTester[_0x54ae0c(0x14b)]()['timerify'](_0x33292a));_0x51b4fa&&_0x333c1a[_0x54ae0c(0x15f)](trace,'Started\x20::\x20'+_0x13e2ae+',\x20PID\x20-\x20'+process[_0x54ae0c(0x127)]+',\x20Argument\x20-\x20'+_0x333c1a[_0x54ae0c(0x155)](nestedKeyValue,arguments[0x0],_0x3c2e94));const _0xc969f2=_0x33292a[_0x54ae0c(0x175)](null,arguments);_0x51b4fa&&_0x333c1a[_0x54ae0c(0x14e)](trace,_0x54ae0c(0x17b)+_0x13e2ae+_0x54ae0c(0x11b)+process[_0x54ae0c(0x127)]+',\x20Argument\x20-\x20'+_0x333c1a['Arohj'](nestedKeyValue,arguments[0x0],_0x3c2e94));if(_0x333c1a['rEJOc'](_0xc969f2,Promise))return _0xc969f2[_0x54ae0c(0x176)](_0x2fb0e6=>processError(_0x2fb0e6,_0x4c8f82,_0x17cf6b,_0x13e2ae));return _0xc969f2;}catch(_0x4a069d){_0x333c1a[_0x54ae0c(0x134)](processError,_0x4a069d,_0x4c8f82,_0x17cf6b,_0x13e2ae);}};},o11yClassErrorHandler=(_0x43fbb9,_0x590ff9,_0x418f12='')=>{const _0x3f94a9=a127_0x549746,_0x7dc181={'tBfEK':function(_0x395ae3,_0x2ac55b){return _0x395ae3 instanceof _0x2ac55b;},'zWJWz':function(_0x11285d,_0x4d42e3,_0x31b616,_0x264de9,_0x40916f){return _0x11285d(_0x4d42e3,_0x31b616,_0x264de9,_0x40916f);},'uIoXN':function(_0x46ed41,_0x24fd91){return _0x46ed41===_0x24fd91;},'NhWbT':'function','Txzaj':function(_0x4ffced,_0x1a4536){return _0x4ffced!==_0x1a4536;},'eySaf':_0x3f94a9(0x124),'EcDLB':function(_0x5e903b,_0x156670){return _0x5e903b<_0x156670;}},_0x4c2060=_0x43fbb9['prototype'];if(_0x7dc181[_0x3f94a9(0x11c)](Object[_0x3f94a9(0x174)](_0x4c2060)[_0x3f94a9(0x166)],0x2))return _0x43fbb9;return Object['getOwnPropertyNames'](_0x4c2060)[_0x3f94a9(0x12b)](_0x79932b=>{const _0x33838a=_0x3f94a9,_0xc0a86c={'IRYuA':function(_0x40b6b5,_0x2551f4){const _0x9135c1=a127_0x47d2;return _0x7dc181[_0x9135c1(0x172)](_0x40b6b5,_0x2551f4);},'VPvcY':function(_0x5511d8,_0x388ed0,_0x1d76c8,_0x475b40,_0x41dc1f){return _0x7dc181['zWJWz'](_0x5511d8,_0x388ed0,_0x1d76c8,_0x475b40,_0x41dc1f);}};if(!(_0x590ff9&&_0x590ff9[_0x33838a(0x128)](_0x79932b)))return;const _0x30337f=_0x4c2060[_0x79932b];_0x7dc181[_0x33838a(0x179)](typeof _0x30337f,_0x7dc181[_0x33838a(0x17c)])&&_0x7dc181[_0x33838a(0x11a)](_0x79932b,_0x7dc181[_0x33838a(0x156)])&&Object[_0x33838a(0x182)](_0x4c2060,_0x79932b,{'writable':!![],'value':function(..._0x9e68ea){const _0x443754=_0x33838a;try{const _0x3fa168=(process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester['getPerformance']()[_0x443754(0x141)](_0x30337f):_0x30337f)['call'](this,..._0x9e68ea);if(_0xc0a86c[_0x443754(0x144)](_0x3fa168,Promise))return _0x3fa168[_0x443754(0x176)](_0x432281=>processError(_0x432281,_0x30337f,_0x9e68ea,_0x418f12));return _0x3fa168;}catch(_0x32107f){_0xc0a86c[_0x443754(0x170)](processError,_0x32107f,_0x30337f,_0x9e68ea,_0x418f12);}}});}),_0x43fbb9;};function processError(_0x556e8b,_0x183648,_0x235464,_0x8e1c3c){const _0x3a13be=a127_0x549746,_0x39195c={'QmDQU':function(_0xc05ff5,_0xa17f33){return _0xc05ff5(_0xa17f33);}};_0x39195c[_0x3a13be(0x183)](debug,_0x3a13be(0x16c)+_0x183648[_0x3a13be(0x13e)]+_0x3a13be(0x12a)+_0x8e1c3c+_0x3a13be(0x16f)+util[_0x3a13be(0x16a)](_0x556e8b)+'.\x20Args\x20-\x20'+_0x235464+'.'),PerformanceTester['captureError'](_0x556e8b);let _0x25f646;try{_0x25f646=JSON['stringify'](_0x235464);}catch(_0x466b61){const _0x20d6db={};_0x20d6db[_0x3a13be(0x16d)]=0x2,_0x25f646=util[_0x3a13be(0x169)](_0x235464,_0x20d6db);}CrashReporter['uploadCrashReport']('Error\x20in\x20executing\x20'+_0x183648[_0x3a13be(0x13e)]+_0x3a13be(0x12a)+_0x8e1c3c+_0x3a13be(0x16f)+_0x556e8b+_0x3a13be(0x14d)+_0x25f646+'.',_0x556e8b&&_0x556e8b[_0x3a13be(0x159)]);}class CrashReporter{static ['userConfig']={};static [a127_0x549746(0x12c)];static [a127_0x549746(0x123)]={};static[a127_0x549746(0x178)](_0x42ccef,_0x58055e,_0x1e7473=null){const _0x28429c=a127_0x549746,_0x2b44cf={'XGGFV':function(_0x1d0d44,_0x153fbb){return _0x1d0d44(_0x153fbb);},'waukx':function(_0x28c392,_0x4f1250){return _0x28c392(_0x4f1250);}},_0x1a1277=_0x42ccef[_0x28429c(0x129)],_0x1ae78d=_0x42ccef[_0x28429c(0x15b)];!_0x1e7473&&(_0x1e7473=_0x2b44cf[_0x28429c(0x118)](getBrowserStackConfig,_0x1a1277));!_0x1ae78d&&_0x2b44cf[_0x28429c(0x17e)](getFrameworkVersion,_0x1a1277);const _0x487c0a={};_0x487c0a[_0x28429c(0x129)]=_0x1a1277,_0x487c0a[_0x28429c(0x15b)]=_0x1ae78d,this[_0x28429c(0x143)](_0x487c0a,_0x58055e,_0x2b44cf['XGGFV'](getUserCredentials,_0x1e7473));}static[a127_0x549746(0x126)](_0x311358,_0x58a0c2){const _0xd70a0b=a127_0x549746,_0x28134d={};_0x28134d['username']=_0x311358,_0x28134d[_0xd70a0b(0x164)]=_0x58a0c2,this['credentials']=_0x28134d,process[_0xd70a0b(0x161)][_0xd70a0b(0x12f)]=JSON[_0xd70a0b(0x16b)](this[_0xd70a0b(0x12c)]);}static[a127_0x549746(0x139)](){const _0xecc472=a127_0x549746,_0x19ea5d={'voHeK':function(_0x26ba06,_0x5f2730){return _0x26ba06(_0x5f2730);}};if(!this['credentials']&&process[_0xecc472(0x161)][_0xecc472(0x12f)])try{this[_0xecc472(0x12c)]=JSON[_0xecc472(0x168)](process[_0xecc472(0x161)][_0xecc472(0x12f)]);}catch(_0x3fcc3a){_0x19ea5d[_0xecc472(0x131)](debug,_0xecc472(0x115)+_0x3fcc3a[_0xecc472(0x17d)]());}return this[_0xecc472(0x12c)];}static[a127_0x549746(0x146)](_0x101221){const _0x546618=a127_0x549746;this[_0x546618(0x14c)]=this[_0x546618(0x15a)](_0x101221),process[_0x546618(0x161)][_0x546618(0x152)]=JSON[_0x546618(0x16b)](this[_0x546618(0x14c)]);}static[a127_0x549746(0x12e)](){const _0x1bbeb7=a127_0x549746,_0x18fa20={'qmgIg':function(_0x4e2ebe,_0x421f2e){return _0x4e2ebe===_0x421f2e;},'OfxbL':function(_0x4410c1,_0x56eba0){return _0x4410c1(_0x56eba0);}};if(_0x18fa20['qmgIg'](Object['keys'](this[_0x1bbeb7(0x14c)])[_0x1bbeb7(0x166)],0x0)&&process['env'][_0x1bbeb7(0x152)])try{this['userConfig']=JSON[_0x1bbeb7(0x168)](process[_0x1bbeb7(0x161)]['USER_CONFIG_FOR_REPORTING']);}catch(_0x1ffd93){_0x18fa20[_0x1bbeb7(0x14f)](debug,_0x1bbeb7(0x17a)+_0x1ffd93[_0x1bbeb7(0x17d)]()),this[_0x1bbeb7(0x14c)]={};}return this[_0x1bbeb7(0x14c)];}static['setFrameworkDetails'](_0x23e3fa){const _0x247b9a=a127_0x549746;this[_0x247b9a(0x123)]=_0x23e3fa,process[_0x247b9a(0x161)][_0x247b9a(0x122)]=JSON[_0x247b9a(0x16b)](this[_0x247b9a(0x123)]);}static[a127_0x549746(0x13c)](){const _0x46e252=a127_0x549746,_0x48bf5e={'kDuXL':function(_0x20f142,_0x42970d){return _0x20f142===_0x42970d;},'tdJWJ':function(_0x1ef187,_0x1a170c){return _0x1ef187(_0x1a170c);}};if(_0x48bf5e[_0x46e252(0x13f)](Object[_0x46e252(0x163)](this['frameworkDetails'])['length'],0x0)&&process['env']['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x46e252(0x123)]=JSON[_0x46e252(0x168)](process['env'][_0x46e252(0x122)]);}catch(_0x5280fd){_0x48bf5e[_0x46e252(0x149)](debug,_0x46e252(0x115)+_0x5280fd[_0x46e252(0x17d)]());}return this['frameworkDetails'];}static[a127_0x549746(0x143)](_0x45b838,_0x5025e9,_0x1962a9){const _0x171837=a127_0x549746;_0x45b838&&this['setFrameworkDetails'](_0x45b838),_0x5025e9&&this['setConfigDetails'](_0x5025e9),_0x1962a9&&this[_0x171837(0x126)](_0x1962a9[_0x171837(0x136)],_0x1962a9[_0x171837(0x164)]);}static async['uploadCrashReport'](_0x5be347,_0x1ce145){const _0x3ec2ce=a127_0x549746,_0x149722={'JFeDo':function(_0x2a22fa,_0xaa36f7){return _0x2a22fa(_0xaa36f7);},'aJUBz':'[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','mVfCu':function(_0x39e1bf){return _0x39e1bf();},'tIkEG':_0x3ec2ce(0x11d),'YBpuS':_0x3ec2ce(0x158),'ASgpu':_0x3ec2ce(0x153),'memyj':function(_0x39d80f,_0x34d949,_0x456a38,_0x4605ee,_0x2de788,_0x3b2a4c){return _0x39d80f(_0x34d949,_0x456a38,_0x4605ee,_0x2de788,_0x3b2a4c);},'HPpfp':'POST'};this[_0x3ec2ce(0x139)]();if(!this[_0x3ec2ce(0x12c)])return _0x149722[_0x3ec2ce(0x130)](debug,_0x149722[_0x3ec2ce(0x13b)]);this[_0x3ec2ce(0x12e)](),this[_0x3ec2ce(0x13c)]();const _0x1863c3={'hashed_id':process[_0x3ec2ce(0x161)][_0x3ec2ce(0x137)],'observability_version':{'sdkVersion':_0x149722[_0x3ec2ce(0x119)](getAgentVersion),'frameworkName':this[_0x3ec2ce(0x123)][_0x3ec2ce(0x129)],'frameworkVersion':this['frameworkDetails'][_0x3ec2ce(0x15b)]},'exception':{'error':_0x5be347[_0x3ec2ce(0x17d)](),'stackTrace':_0x1ce145},'config':this[_0x3ec2ce(0x14c)]},_0x20a805=_0x149722['tIkEG'],_0x377a52={};_0x377a52['username']=this[_0x3ec2ce(0x12c)][_0x3ec2ce(0x136)],_0x377a52[_0x3ec2ce(0x180)]=this[_0x3ec2ce(0x12c)][_0x3ec2ce(0x164)];const _0x523aed={};_0x523aed[_0x3ec2ce(0x147)]=_0x149722[_0x3ec2ce(0x11f)],_0x523aed[_0x3ec2ce(0x125)]=_0x149722['ASgpu'];const _0x2fc2f3={};_0x2fc2f3[_0x3ec2ce(0x13d)]=_0x377a52,_0x2fc2f3[_0x3ec2ce(0x116)]=_0x523aed;const _0x4394a6=_0x2fc2f3;_0x149722[_0x3ec2ce(0x133)](nodeRequest,_0x149722['HPpfp'],_0x20a805,_0x1863c3,_0x4394a6,![])['then'](_0x53e98a=>{const _0x240020=_0x3ec2ce;_0x149722[_0x240020(0x130)](debug,_0x240020(0x142)+JSON[_0x240020(0x16b)](_0x53e98a));})['catch'](_0x3bb46f=>{const _0x4ee01c=_0x3ec2ce;_0x149722[_0x4ee01c(0x130)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util[_0x4ee01c(0x16a)](_0x3bb46f));});}static[a127_0x549746(0x13a)](_0x497d85){const _0x25f5e2=a127_0x549746,_0xae5b8f={};_0xae5b8f[_0x25f5e2(0x15e)]=_0x25f5e2(0x132),_0xae5b8f[_0x25f5e2(0x138)]=_0x25f5e2(0x136),_0xae5b8f['gpJvD']=_0x25f5e2(0x151),_0xae5b8f[_0x25f5e2(0x154)]='accessKey',_0xae5b8f[_0x25f5e2(0x165)]=_0x25f5e2(0x180),_0xae5b8f[_0x25f5e2(0x11e)]=function(_0x46890e,_0x310da2){return _0x46890e===_0x310da2;},_0xae5b8f[_0x25f5e2(0x162)]=_0x25f5e2(0x121);const _0x3ca29d=_0xae5b8f;if(!_0x497d85)return;const _0x2f35fd=[_0x3ca29d[_0x25f5e2(0x15e)],_0x3ca29d[_0x25f5e2(0x138)],_0x3ca29d[_0x25f5e2(0x16e)],_0x3ca29d[_0x25f5e2(0x154)],_0x3ca29d[_0x25f5e2(0x165)]];for(const _0x389230 in _0x497d85){if(_0x2f35fd[_0x25f5e2(0x128)](_0x389230[_0x25f5e2(0x140)]()))delete _0x497d85[_0x389230];else _0x3ca29d[_0x25f5e2(0x11e)](typeof _0x497d85[_0x389230],_0x3ca29d[_0x25f5e2(0x162)])&&this[_0x25f5e2(0x13a)](_0x497d85[_0x389230]);}}static[a127_0x549746(0x15a)](_0x2b8b93){const _0x484d75=a127_0x549746,_0x250c87=JSON[_0x484d75(0x168)](JSON['stringify'](_0x2b8b93));return this[_0x484d75(0x13a)](_0x250c87),_0x250c87;}}const a127_0x5d7d6e={};a127_0x5d7d6e[a127_0x549746(0x15c)]=o11yErrorHandler,a127_0x5d7d6e[a127_0x549746(0x17f)]=o11yClassErrorHandler,a127_0x5d7d6e[a127_0x549746(0x135)]=CrashReporter,module[a127_0x549746(0x150)]=a127_0x5d7d6e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128_0x16ff3b=a128_0x581d;function a128_0x581d(_0x3eac93,_0x45c659){const _0xcc1ea5=a128_0xcc1e();return a128_0x581d=function(_0x581d11,_0xeb1401){_0x581d11=_0x581d11-0x1bc;let _0x37c004=_0xcc1ea5[_0x581d11];return _0x37c004;},a128_0x581d(_0x3eac93,_0x45c659);}(function(_0x2045e8,_0x483980){const _0x42b3f9=a128_0x581d,_0x50790c=_0x2045e8();while(!![]){try{const _0x10832b=-parseInt(_0x42b3f9(0x214))/0x1*(parseInt(_0x42b3f9(0x1f2))/0x2)+-parseInt(_0x42b3f9(0x1ff))/0x3*(-parseInt(_0x42b3f9(0x20c))/0x4)+-parseInt(_0x42b3f9(0x1c0))/0x5*(-parseInt(_0x42b3f9(0x1cd))/0x6)+parseInt(_0x42b3f9(0x1f9))/0x7*(-parseInt(_0x42b3f9(0x22c))/0x8)+-parseInt(_0x42b3f9(0x219))/0x9*(parseInt(_0x42b3f9(0x1c3))/0xa)+-parseInt(_0x42b3f9(0x1fe))/0xb+parseInt(_0x42b3f9(0x228))/0xc;if(_0x10832b===_0x483980)break;else _0x50790c['push'](_0x50790c['shift']());}catch(_0x3b380a){_0x50790c['push'](_0x50790c['shift']());}}}(a128_0xcc1e,0x7f85f));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x16ff3b(0x1f3)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a128_0x16ff3b(0x1f6)),{nestedKeyValue}=require(a128_0x16ff3b(0x1e0)),util=require(a128_0x16ff3b(0x1ca)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static ['instance'];[a128_0x16ff3b(0x1c6)]=0x0;constructor(){const _0x2cec6f=a128_0x16ff3b,_0x1f6f6d={};_0x1f6f6d[_0x2cec6f(0x224)]=_0x2cec6f(0x1e4),_0x1f6f6d[_0x2cec6f(0x1e1)]=_0x2cec6f(0x204),_0x1f6f6d[_0x2cec6f(0x212)]=_0x2cec6f(0x211),_0x1f6f6d[_0x2cec6f(0x1ee)]=_0x2cec6f(0x1e5),_0x1f6f6d[_0x2cec6f(0x1be)]='LogCreated',_0x1f6f6d[_0x2cec6f(0x1df)]=_0x2cec6f(0x1e3),_0x1f6f6d['qGojm']=_0x2cec6f(0x1da),_0x1f6f6d[_0x2cec6f(0x1bc)]=_0x2cec6f(0x230),_0x1f6f6d[_0x2cec6f(0x229)]='HookRunFinished',_0x1f6f6d[_0x2cec6f(0x1f0)]=_0x2cec6f(0x1c5),_0x1f6f6d[_0x2cec6f(0x1dd)]=_0x2cec6f(0x1ed);const _0x26a9e0=_0x1f6f6d,_0x956672=_0x26a9e0[_0x2cec6f(0x224)]['split']('|');let _0x42378c=0x0;while(!![]){switch(_0x956672[_0x42378c++]){case'0':this[_0x2cec6f(0x21d)]=null;continue;case'1':this[_0x2cec6f(0x1eb)]=_0x26a9e0['XDaCb'];continue;case'2':this[_0x2cec6f(0x20f)]=![];continue;case'3':this[_0x2cec6f(0x1fd)]=_0x26a9e0[_0x2cec6f(0x212)];continue;case'4':this['queue']=[];continue;case'5':this['uploadAttachmentUrl']=_0x26a9e0[_0x2cec6f(0x1ee)];continue;case'6':this[_0x2cec6f(0x208)]=[_0x26a9e0[_0x2cec6f(0x1be)],_0x26a9e0[_0x2cec6f(0x1df)],_0x26a9e0[_0x2cec6f(0x1f1)],_0x26a9e0['CMcAv'],_0x26a9e0[_0x2cec6f(0x229)],_0x26a9e0[_0x2cec6f(0x1f0)],_0x26a9e0[_0x2cec6f(0x1dd)]];continue;}break;}}static[a128_0x16ff3b(0x1ce)](){const _0x316ce2=a128_0x16ff3b;return!RequestQueueHandler[_0x316ce2(0x1dc)]&&(RequestQueueHandler[_0x316ce2(0x1dc)]=new RequestQueueHandler()),RequestQueueHandler[_0x316ce2(0x1dc)];}[a128_0x16ff3b(0x1ef)]=()=>{const _0x4b9f4f=a128_0x16ff3b;!this['started']&&(this[_0x4b9f4f(0x20f)]=!![],this['startEventBatchPolling']());};[a128_0x16ff3b(0x227)]=_0x208c43=>{const _0x30df42=a128_0x16ff3b,_0x507a6a={'zOvxX':function(_0x5dc8ce,_0x565015){return _0x5dc8ce===_0x565015;},'XWMHG':_0x30df42(0x1f4),'KXimq':function(_0xa1122d,_0x1dc6dd){return _0xa1122d>_0x1dc6dd;},'HEnhO':_0x30df42(0x222),'fewhW':function(_0x151216,_0x355b10){return _0x151216!==_0x355b10;},'nSEYJ':_0x30df42(0x1da),'iXeYs':function(_0x5dceee,_0x335922){return _0x5dceee(_0x335922);},'szVyd':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this[_0x30df42(0x208)][_0x30df42(0x225)](_0x208c43['event_type'])){if(_0x208c43[_0x30df42(0x203)]&&_0x208c43[_0x30df42(0x203)][0x0]&&_0x507a6a['zOvxX'](_0x208c43['logs'][0x0][_0x30df42(0x21b)],_0x507a6a[_0x30df42(0x1fb)])){const _0x56fe88={};return _0x56fe88['shouldProceed']=!![],_0x56fe88[_0x30df42(0x1cb)]=[_0x208c43],_0x56fe88[_0x30df42(0x21a)]=this[_0x30df42(0x1fd)],_0x56fe88;}if(_0x208c43[_0x30df42(0x203)]&&_0x507a6a['KXimq'](_0x208c43[_0x30df42(0x203)][_0x30df42(0x1e8)],0x0)&&_0x507a6a[_0x30df42(0x201)](_0x208c43['logs'][0x0][_0x30df42(0x21b)],_0x507a6a['HEnhO'])&&_0x507a6a[_0x30df42(0x1d9)](_0x208c43[_0x30df42(0x20a)],_0x507a6a[_0x30df42(0x220)])){const _0x2b7d19={};return _0x2b7d19[_0x30df42(0x1bf)]=!![],_0x2b7d19[_0x30df42(0x1cb)]=[_0x208c43],_0x2b7d19[_0x30df42(0x21a)]=this[_0x30df42(0x1fa)],_0x2b7d19;}this[_0x30df42(0x1c1)]['push'](_0x208c43);let _0x4bee33=null;const _0x592dca=this[_0x30df42(0x1bf)]();_0x592dca&&(_0x507a6a[_0x30df42(0x1d0)](trace,_0x507a6a[_0x30df42(0x235)]),_0x4bee33=this[_0x30df42(0x1c1)][_0x30df42(0x21e)](0x0,BATCH_SIZE),this[_0x30df42(0x1c1)][_0x30df42(0x232)](0x0,BATCH_SIZE),this['resetEventBatchPolling']());const _0x177759={};return _0x177759[_0x30df42(0x1bf)]=_0x592dca,_0x177759[_0x30df42(0x1cb)]=_0x4bee33,_0x177759[_0x30df42(0x21a)]=this[_0x30df42(0x1eb)],_0x177759;}const _0xda140d={};return _0xda140d[_0x30df42(0x1bf)]=!![],_0xda140d;};[a128_0x16ff3b(0x231)]=async()=>{const _0x33d603=a128_0x16ff3b,_0x3b826c={'btFbG':_0x33d603(0x1d5),'eKTtk':function(_0x2f76ea,_0x45c051){return _0x2f76ea>_0x45c051;},'MDKWA':_0x33d603(0x1c2),'CfWdE':function(_0x4041cf,_0x123c97){return _0x4041cf>_0x123c97;},'ADIXW':function(_0x10b5de,_0x8f0fac){return _0x10b5de(_0x8f0fac);}};await this[_0x33d603(0x209)](),this[_0x33d603(0x1de)](_0x3b826c['btFbG']);while(_0x3b826c[_0x33d603(0x1ea)](this[_0x33d603(0x1c1)][_0x33d603(0x1e8)],0x0)){const _0x22670a=this[_0x33d603(0x1c1)][_0x33d603(0x21e)](0x0,BATCH_SIZE);this[_0x33d603(0x1c1)][_0x33d603(0x232)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x33d603(0x1eb)],_0x3b826c['MDKWA'],_0x22670a);}_0x3b826c['CfWdE'](this['pendingUploads'],0x0)&&_0x3b826c[_0x33d603(0x206)](debug,_0x33d603(0x1ec)+this[_0x33d603(0x1c6)]);};[a128_0x16ff3b(0x1cf)]=async(_0xef062d,_0x1ebcfc,_0x5f21e9)=>{const _0xccd44d=a128_0x16ff3b,_0x2de550={'yzNtT':function(_0x1ff8e2,_0x386d5e){return _0x1ff8e2(_0x386d5e);},'edazi':_0xccd44d(0x234),'phwQO':function(_0xe2ef83,_0x3bb0e4){return _0xe2ef83(_0x3bb0e4);},'sycEP':function(_0x12dea1){return _0x12dea1();},'BtOkb':function(_0xa36635,_0xfb5dc7,_0x1f21b5,_0x43b3c8,_0x156c62){return _0xa36635(_0xfb5dc7,_0x1f21b5,_0x43b3c8,_0x156c62);},'HNHwb':'POST','cBjvQ':function(_0x1f24f5,_0x1e8dd8){return _0x1f24f5(_0x1e8dd8);},'BEGYi':function(_0x40c72f,_0x3d3c26){return _0x40c72f-_0x3d3c26;},'XkzCz':function(_0x47b6b0,_0x35fff6){return _0x47b6b0(_0x35fff6);}};let _0x5a85ae='';try{_0x5a85ae=_0x5f21e9[_0xccd44d(0x21c)](_0x9d70af=>'\x27'+_0x9d70af[_0xccd44d(0x20a)]+'\x27:'+(nestedKeyValue(_0x9d70af,[_0xccd44d(0x1f5),_0xccd44d(0x233)])||nestedKeyValue(_0x9d70af,[_0xccd44d(0x1bd),'uuid'])))[_0xccd44d(0x1d8)](','),_0x2de550[_0xccd44d(0x1e7)](debug,_0xccd44d(0x22a)+_0x1ebcfc+_0xccd44d(0x1f7)+Buffer[_0xccd44d(0x223)](util[_0xccd44d(0x1cc)]('%j',_0x5f21e9),_0x2de550[_0xccd44d(0x202)])+_0xccd44d(0x1d1)+_0x5a85ae);}catch(_0xcb6fd){_0x2de550[_0xccd44d(0x1c7)](debug,_0xccd44d(0x1db)+util['format'](_0xcb6fd)+'}');}const _0x5b506d={'headers':_0x2de550['sycEP'](getDefaultHeaders)};try{const _0x31d665=await _0x2de550[_0xccd44d(0x217)](nodeRequest,_0x2de550[_0xccd44d(0x1fc)],_0xef062d,_0x5f21e9,_0x5b506d);if(_0x31d665['data'][_0xccd44d(0x215)]){const _0xa3208a={};_0xa3208a[_0xccd44d(0x1d6)]=_0x31d665[_0xccd44d(0x205)]['error'];throw _0xa3208a;}else _0x2de550[_0xccd44d(0x22b)](debug,_0x1ebcfc+_0xccd44d(0x210)+_0x5a85ae+'\x20--\x20'+util[_0xccd44d(0x1cc)]('%j',_0x31d665['data'])),this['pendingUploads']=Math[_0xccd44d(0x1e2)](0x0,_0x2de550[_0xccd44d(0x200)](this['pendingUploads'],_0x5f21e9[_0xccd44d(0x1e8)]));}catch(_0x5575f9){_0x5575f9[_0xccd44d(0x213)]?_0x2de550['XkzCz'](debug,_0xccd44d(0x1c9)+_0x1ebcfc+_0xccd44d(0x20d)+constants[_0xccd44d(0x1d4)]+_0xccd44d(0x20b)+_0x5575f9[_0xccd44d(0x213)][_0xccd44d(0x22f)]+'\x20'+_0x5575f9[_0xccd44d(0x213)][_0xccd44d(0x226)]+'\x20'+util[_0xccd44d(0x1cc)]('%j',_0x5575f9['response'])):_0x2de550[_0xccd44d(0x22b)](debug,_0xccd44d(0x1c9)+_0x1ebcfc+_0xccd44d(0x20d)+constants['TEST_REPORTING_ANALYTICS']+_0xccd44d(0x20b)+(_0x5575f9[_0xccd44d(0x1d6)]||_0x5575f9)),this[_0xccd44d(0x1c6)]=Math['max'](0x0,_0x2de550[_0xccd44d(0x200)](this[_0xccd44d(0x1c6)],_0x5f21e9[_0xccd44d(0x1e8)]));}};[a128_0x16ff3b(0x1d3)]=()=>{const _0x21dcae=a128_0x16ff3b,_0x1d387c={'wvHMR':function(_0x403503,_0x4a84c6){return _0x403503>_0x4a84c6;},'VzpQM':function(_0x3c0770,_0x1d48b8){return _0x3c0770(_0x1d48b8);},'LcLQn':'Interval-Queue','zeVzI':function(_0x2da5f1,_0x2945ea){return _0x2da5f1(_0x2945ea);},'buGCG':function(_0x49bfe7,_0x4c8187,_0x3a88cb){return _0x49bfe7(_0x4c8187,_0x3a88cb);}};this[_0x21dcae(0x21d)]=_0x1d387c['buGCG'](setInterval,async()=>{const _0x4ed72c=_0x21dcae;if(_0x1d387c[_0x4ed72c(0x1c8)](this[_0x4ed72c(0x1c1)]['length'],0x0)){_0x1d387c[_0x4ed72c(0x1e9)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x4ed72c(0x1c1)][_0x4ed72c(0x1e8)]);const _0x56e1a9=this[_0x4ed72c(0x1c1)][_0x4ed72c(0x21e)](0x0,BATCH_SIZE);this['queue'][_0x4ed72c(0x232)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x4ed72c(0x1eb)],_0x1d387c['LcLQn'],_0x56e1a9),_0x1d387c[_0x4ed72c(0x21f)](trace,_0x4ed72c(0x216)+this[_0x4ed72c(0x1c1)]['length']);}},BATCH_INTERVAL);};[a128_0x16ff3b(0x22e)]=()=>{const _0xd0052e=a128_0x16ff3b,_0x89562d={};_0x89562d[_0xd0052e(0x1d2)]=_0xd0052e(0x221);const _0x2f96bd=_0x89562d;this['removeEventBatchPolling'](_0x2f96bd[_0xd0052e(0x1d2)]),this[_0xd0052e(0x1d3)]();};['removeEventBatchPolling']=_0x5ab519=>{const _0x1a6b8e=a128_0x16ff3b,_0x1a2429={'IOgpD':function(_0x42a0f4,_0xccbd00){return _0x42a0f4(_0xccbd00);},'KJxvC':function(_0x70def0,_0x509441){return _0x70def0===_0x509441;},'rcnxB':_0x1a6b8e(0x1d5)};this[_0x1a6b8e(0x21d)]&&(_0x1a2429[_0x1a6b8e(0x1d7)](clearInterval,this['pollEventBatchInterval']),this[_0x1a6b8e(0x21d)]=null,_0x1a2429[_0x1a6b8e(0x22d)](_0x5ab519,_0x1a2429[_0x1a6b8e(0x1e6)])&&(this[_0x1a6b8e(0x20f)]=![]));};[a128_0x16ff3b(0x1bf)]=()=>{const _0x13e7fe=a128_0x16ff3b,_0x3fb2f6={};_0x3fb2f6[_0x13e7fe(0x20e)]=function(_0x208770,_0x527e07){return _0x208770>=_0x527e07;};const _0x51cf67=_0x3fb2f6;return _0x51cf67[_0x13e7fe(0x20e)](this[_0x13e7fe(0x1c1)]['length'],BATCH_SIZE);};async['uploadPending'](_0x42128f=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x133935=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x553708=a128_0x16ff3b,_0x91bc3e={'mSfxV':function(_0x15222b,_0x41fe02){return _0x15222b<=_0x41fe02;},'PuEYu':function(_0x558c31,_0x552a55){return _0x558c31<=_0x552a55;},'VRGRq':function(_0x1567d5,_0x52a907){return _0x1567d5(_0x52a907);},'qotwa':function(_0x7cbe00,_0x27e163){return _0x7cbe00-_0x27e163;}};if(_0x91bc3e[_0x553708(0x1f8)](this[_0x553708(0x1c6)],0x0)||_0x91bc3e[_0x553708(0x218)](_0x42128f,0x0))return;return await _0x91bc3e[_0x553708(0x1c4)](sleep,_0x133935),this[_0x553708(0x209)](_0x91bc3e['qotwa'](_0x42128f,_0x133935));}}function a128_0xcc1e(){const _0x4ec7a2=['779714jOFyNW','error','Remaining\x20Queue\x20Length\x20-\x20','BtOkb','PuEYu','108549XSYVdX','proceedWithUrl','kind','map','pollEventBatchInterval','slice','zeVzI','nSEYJ','RESETTING','TEST_ATTACHMENT','byteLength','udnSe','includes','statusText','add','18707592PeZuvL','sXsaY','Processing\x20batch\x20events\x20for\x20','cBjvQ','7224mvGrgi','KJxvC','resetEventBatchPolling','status','TestRunSkipped','shutdown','splice','uuid','utf8','szVyd','CMcAv','hook_run','SOeHc','shouldProceed','15NrtCMp','queue','Shutdown-Queue','30WBbYjw','VRGRq','TestRunStarted','pendingUploads','phwQO','wvHMR','EXCEPTION\x20IN\x20','util','proceedWithData','format','914682ohpdHd','getInstance','batchAndPostEvents','iXeYs','\x20bytes.\x20Events\x20are\x20','nQaGQ','startEventBatchPolling','TEST_REPORTING_ANALYTICS','REMOVING','message','IOgpD','join','fewhW','TestRunFinished','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','instance','iQdJV','removeEventBatchPolling','dShsZ','../helper','XDaCb','max','CBTSessionCreated','4|2|1|3|5|6|0','upload-attachments','rcnxB','yzNtT','length','VzpQM','eKTtk','eventUrl','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','HookRunStarted','abRyk','start','XSIqv','qGojm','2PFkkWG','./constants','TEST_SCREENSHOT','test_run','./utils','.\x20Request\x20Size\x20-\x20','mSfxV','5089WwbCIA','uploadAttachmentUrl','XWMHG','HNHwb','screenshotEventUrl','10593748pjoaWA','366gMkPFE','BEGYi','zOvxX','edazi','logs','api/v1/batch','data','ADIXW','exports','BATCH_EVENT_TYPES','uploadPending','event_type','\x20:\x20','30868VdLufX','\x20REQUEST\x20TO\x20','NaJRK','started','\x20event\x20successful\x20for\x20events\x20','api/v1/screenshots','CyFUw','response'];a128_0xcc1e=function(){return _0x4ec7a2;};return a128_0xcc1e();}module[a128_0x16ff3b(0x207)]=RequestQueueHandler;
|
|
1
|
+
const a128_0x520289=a128_0x5848;(function(_0x39831d,_0x4ae093){const _0x3b2fd1=a128_0x5848,_0x235357=_0x39831d();while(!![]){try{const _0x5d592b=-parseInt(_0x3b2fd1(0x19f))/0x1*(-parseInt(_0x3b2fd1(0x1ab))/0x2)+parseInt(_0x3b2fd1(0x1b8))/0x3*(parseInt(_0x3b2fd1(0x1b3))/0x4)+parseInt(_0x3b2fd1(0x1d5))/0x5*(parseInt(_0x3b2fd1(0x1e2))/0x6)+-parseInt(_0x3b2fd1(0x1ae))/0x7+parseInt(_0x3b2fd1(0x1bb))/0x8*(parseInt(_0x3b2fd1(0x216))/0x9)+-parseInt(_0x3b2fd1(0x1f8))/0xa*(parseInt(_0x3b2fd1(0x1c9))/0xb)+-parseInt(_0x3b2fd1(0x1f9))/0xc;if(_0x5d592b===_0x4ae093)break;else _0x235357['push'](_0x235357['shift']());}catch(_0x308827){_0x235357['push'](_0x235357['shift']());}}}(a128_0x1e28,0xa4d75));function a128_0x5848(_0xb32d05,_0x4a9e74){const _0x1e28ce=a128_0x1e28();return a128_0x5848=function(_0x58484c,_0x4dc07e){_0x58484c=_0x58484c-0x19c;let _0x3860d3=_0x1e28ce[_0x58484c];return _0x3860d3;},a128_0x5848(_0xb32d05,_0x4a9e74);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x520289(0x1bc)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a128_0x520289(0x1a8)),util=require(a128_0x520289(0x1a3)),constants=require(a128_0x520289(0x1cf));class RequestQueueHandler{static ['instance'];[a128_0x520289(0x1ff)]=0x0;constructor(){const _0x3ea9b3=a128_0x520289,_0x11d893={};_0x11d893[_0x3ea9b3(0x1e6)]=_0x3ea9b3(0x1ca),_0x11d893['XwcdS']=_0x3ea9b3(0x1da),_0x11d893[_0x3ea9b3(0x1f7)]=_0x3ea9b3(0x1f4),_0x11d893[_0x3ea9b3(0x1dd)]=_0x3ea9b3(0x1cc),_0x11d893[_0x3ea9b3(0x1c1)]=_0x3ea9b3(0x214),_0x11d893[_0x3ea9b3(0x19c)]=_0x3ea9b3(0x1ce),_0x11d893['EHyGu']=_0x3ea9b3(0x1af),_0x11d893[_0x3ea9b3(0x1e1)]=_0x3ea9b3(0x1d0),_0x11d893[_0x3ea9b3(0x1c4)]=_0x3ea9b3(0x1e5),_0x11d893['rgupD']='upload-attachments',_0x11d893[_0x3ea9b3(0x1eb)]=_0x3ea9b3(0x1d7);const _0x450ea1=_0x11d893,_0x5d522b=_0x450ea1[_0x3ea9b3(0x1e6)]['split']('|');let _0x124d05=0x0;while(!![]){switch(_0x5d522b[_0x124d05++]){case'0':this[_0x3ea9b3(0x1a5)]=_0x450ea1[_0x3ea9b3(0x1e9)];continue;case'1':this[_0x3ea9b3(0x20f)]=[_0x450ea1['NGCFe'],_0x450ea1[_0x3ea9b3(0x1dd)],_0x450ea1[_0x3ea9b3(0x1c1)],_0x450ea1['Vnwkt'],_0x450ea1[_0x3ea9b3(0x1e3)],_0x450ea1['ORSMc'],_0x450ea1[_0x3ea9b3(0x1c4)]];continue;case'2':this[_0x3ea9b3(0x211)]=![];continue;case'3':this[_0x3ea9b3(0x1a2)]=_0x450ea1[_0x3ea9b3(0x1f5)];continue;case'4':this[_0x3ea9b3(0x1ea)]=[];continue;case'5':this[_0x3ea9b3(0x1fe)]=_0x450ea1[_0x3ea9b3(0x1eb)];continue;case'6':this['pollEventBatchInterval']=null;continue;}break;}}static[a128_0x520289(0x217)](){const _0x124a34=a128_0x520289;return!RequestQueueHandler[_0x124a34(0x200)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a128_0x520289(0x1d6)]=()=>{const _0x8bcd42=a128_0x520289;!this['started']&&(this[_0x8bcd42(0x211)]=!![],this[_0x8bcd42(0x1e8)]());};[a128_0x520289(0x1e4)]=_0x494fe3=>{const _0x679481=a128_0x520289,_0x5b9bc1={'UDqFk':function(_0x3e0f6b,_0x124355){return _0x3e0f6b===_0x124355;},'JjXka':'TEST_SCREENSHOT','yuXHj':function(_0x32bc5a,_0x561c38){return _0x32bc5a>_0x561c38;},'snogP':function(_0x581869,_0x1e3110){return _0x581869===_0x1e3110;},'Plzoj':_0x679481(0x203),'whseW':function(_0x299637,_0x524c45){return _0x299637!==_0x524c45;},'hPaiV':_0x679481(0x214),'plBps':function(_0x4061b6,_0x22c737){return _0x4061b6(_0x22c737);},'iOlFg':_0x679481(0x1de)};if(this[_0x679481(0x20f)]['includes'](_0x494fe3[_0x679481(0x1a1)])){if(_0x494fe3[_0x679481(0x209)]&&_0x494fe3[_0x679481(0x209)][0x0]&&_0x5b9bc1['UDqFk'](_0x494fe3[_0x679481(0x209)][0x0][_0x679481(0x1cb)],_0x5b9bc1[_0x679481(0x1fa)])){const _0x54db33={};return _0x54db33['shouldProceed']=!![],_0x54db33[_0x679481(0x1b9)]=[_0x494fe3],_0x54db33[_0x679481(0x1c5)]=this[_0x679481(0x1fe)],_0x54db33;}if(_0x494fe3[_0x679481(0x209)]&&_0x5b9bc1[_0x679481(0x1cd)](_0x494fe3[_0x679481(0x209)][_0x679481(0x1db)],0x0)&&_0x5b9bc1[_0x679481(0x1b5)](_0x494fe3[_0x679481(0x209)][0x0][_0x679481(0x1cb)],_0x5b9bc1[_0x679481(0x1f3)])&&_0x5b9bc1[_0x679481(0x20e)](_0x494fe3[_0x679481(0x1a1)],_0x5b9bc1[_0x679481(0x20b)])){const _0x32977a={};return _0x32977a[_0x679481(0x1df)]=!![],_0x32977a[_0x679481(0x1b9)]=[_0x494fe3],_0x32977a[_0x679481(0x1c5)]=this[_0x679481(0x1a2)],_0x32977a;}this[_0x679481(0x1ea)][_0x679481(0x210)](_0x494fe3);let _0x343563=null;const _0x652a51=this[_0x679481(0x1df)]();_0x652a51&&(_0x5b9bc1[_0x679481(0x1a9)](trace,_0x5b9bc1['iOlFg']),_0x343563=this[_0x679481(0x1ea)][_0x679481(0x1a4)](0x0,BATCH_SIZE),this['queue'][_0x679481(0x1d4)](0x0,BATCH_SIZE),this[_0x679481(0x1fc)]());const _0x4dd04d={};return _0x4dd04d['shouldProceed']=_0x652a51,_0x4dd04d['proceedWithData']=_0x343563,_0x4dd04d[_0x679481(0x1c5)]=this[_0x679481(0x1a5)],_0x4dd04d;}const _0x5d0fd0={};return _0x5d0fd0['shouldProceed']=!![],_0x5d0fd0;};[a128_0x520289(0x1c2)]=async()=>{const _0x2d03c3=a128_0x520289,_0x2f841b={'LtCKA':_0x2d03c3(0x20c),'iQsfM':function(_0x43e460,_0x1c3a62){return _0x43e460>_0x1c3a62;},'pnNrQ':_0x2d03c3(0x205),'subgn':function(_0x36d281,_0x2af12d){return _0x36d281(_0x2af12d);}};await this[_0x2d03c3(0x1bf)](),this[_0x2d03c3(0x1fb)](_0x2f841b[_0x2d03c3(0x1ec)]);while(_0x2f841b[_0x2d03c3(0x19e)](this[_0x2d03c3(0x1ea)]['length'],0x0)){const _0x12e053=this[_0x2d03c3(0x1ea)][_0x2d03c3(0x1a4)](0x0,BATCH_SIZE);this[_0x2d03c3(0x1ea)][_0x2d03c3(0x1d4)](0x0,BATCH_SIZE),await this[_0x2d03c3(0x1ef)](this[_0x2d03c3(0x1a5)],_0x2f841b[_0x2d03c3(0x1c6)],_0x12e053);}_0x2f841b['iQsfM'](this[_0x2d03c3(0x1ff)],0x0)&&_0x2f841b[_0x2d03c3(0x1b7)](debug,_0x2d03c3(0x204)+this[_0x2d03c3(0x1ff)]);};[a128_0x520289(0x1ef)]=async(_0x164925,_0x158c6a,_0x489dea)=>{const _0x251bd1=a128_0x520289,_0xa67e99={'vOeEy':function(_0x3e3c11,_0x3969d4){return _0x3e3c11(_0x3969d4);},'fnftH':_0x251bd1(0x1b4),'aBnjv':function(_0x18c25e){return _0x18c25e();},'ESugj':function(_0x3c5c49,_0x4a8dc1,_0x467783,_0x3ceb97,_0x263384){return _0x3c5c49(_0x4a8dc1,_0x467783,_0x3ceb97,_0x263384);},'pPEmD':_0x251bd1(0x202),'hcvpu':function(_0xeb489b,_0x3d90c7){return _0xeb489b-_0x3d90c7;},'ZqiIg':function(_0x3f9e13,_0x3c9dcb){return _0x3f9e13(_0x3c9dcb);},'TtMOH':function(_0x227132,_0x3fabc1){return _0x227132-_0x3fabc1;}};let _0x50a933='';try{_0x50a933=_0x489dea[_0x251bd1(0x1f6)](_0x5af95a=>'\x27'+_0x5af95a['event_type']+'\x27:'+(nestedKeyValue(_0x5af95a,['test_run',_0x251bd1(0x1c8)])||nestedKeyValue(_0x5af95a,[_0x251bd1(0x1d8),_0x251bd1(0x1c8)])))[_0x251bd1(0x1ad)](','),_0xa67e99[_0x251bd1(0x1bd)](debug,'Processing\x20batch\x20events\x20for\x20'+_0x158c6a+_0x251bd1(0x1b1)+Buffer['byteLength'](util['format']('%j',_0x489dea),_0xa67e99[_0x251bd1(0x1fd)])+_0x251bd1(0x1aa)+_0x50a933);}catch(_0x3bf8e2){_0xa67e99[_0x251bd1(0x1bd)](debug,_0x251bd1(0x1e7)+util[_0x251bd1(0x1d9)](_0x3bf8e2)+'}');}const _0x834040={'headers':_0xa67e99[_0x251bd1(0x1c7)](getDefaultHeaders)};try{const _0x547202=await _0xa67e99[_0x251bd1(0x1b2)](nodeRequest,_0xa67e99[_0x251bd1(0x1c3)],_0x164925,_0x489dea,_0x834040);if(_0x547202[_0x251bd1(0x1e0)][_0x251bd1(0x1a6)]){const _0xa5b9f7={};_0xa5b9f7[_0x251bd1(0x1d2)]=_0x547202['data']['error'];throw _0xa5b9f7;}else _0xa67e99['vOeEy'](debug,_0x158c6a+_0x251bd1(0x208)+_0x50a933+_0x251bd1(0x1dc)+util[_0x251bd1(0x1d9)]('%j',_0x547202[_0x251bd1(0x1e0)])),this[_0x251bd1(0x1ff)]=Math[_0x251bd1(0x213)](0x0,_0xa67e99[_0x251bd1(0x212)](this[_0x251bd1(0x1ff)],_0x489dea[_0x251bd1(0x1db)]));}catch(_0x41406d){_0x41406d['response']?_0xa67e99[_0x251bd1(0x1bd)](debug,_0x251bd1(0x219)+_0x158c6a+'\x20REQUEST\x20TO\x20'+constants[_0x251bd1(0x201)]+'\x20:\x20'+_0x41406d[_0x251bd1(0x1ee)][_0x251bd1(0x1c0)]+'\x20'+_0x41406d[_0x251bd1(0x1ee)][_0x251bd1(0x20a)]+'\x20'+util['format']('%j',_0x41406d['response'])):_0xa67e99[_0x251bd1(0x1ac)](debug,_0x251bd1(0x219)+_0x158c6a+_0x251bd1(0x1be)+constants[_0x251bd1(0x201)]+'\x20:\x20'+(_0x41406d[_0x251bd1(0x1d2)]||_0x41406d)),this[_0x251bd1(0x1ff)]=Math[_0x251bd1(0x213)](0x0,_0xa67e99[_0x251bd1(0x1b0)](this['pendingUploads'],_0x489dea[_0x251bd1(0x1db)]));}};[a128_0x520289(0x1e8)]=()=>{const _0x3cf815=a128_0x520289,_0x25a4ae={'UIDvC':function(_0xb6ca01,_0x7f3c75){return _0xb6ca01>_0x7f3c75;},'JpPUV':function(_0x487057,_0xe630a9){return _0x487057(_0xe630a9);},'BGSXd':_0x3cf815(0x1a0),'WpxSx':function(_0x5a7bf3,_0xccbe63){return _0x5a7bf3(_0xccbe63);},'CNDSv':function(_0x26219f,_0x1ef077,_0xb0407e){return _0x26219f(_0x1ef077,_0xb0407e);}};this[_0x3cf815(0x1d1)]=_0x25a4ae['CNDSv'](setInterval,async()=>{const _0x218038=_0x3cf815;if(_0x25a4ae[_0x218038(0x207)](this[_0x218038(0x1ea)][_0x218038(0x1db)],0x0)){_0x25a4ae[_0x218038(0x218)](trace,_0x218038(0x1f1)+this[_0x218038(0x1ea)]['length']);const _0x1b1a25=this[_0x218038(0x1ea)][_0x218038(0x1a4)](0x0,BATCH_SIZE);this[_0x218038(0x1ea)][_0x218038(0x1d4)](0x0,BATCH_SIZE),await this[_0x218038(0x1ef)](this[_0x218038(0x1a5)],_0x25a4ae[_0x218038(0x19d)],_0x1b1a25),_0x25a4ae[_0x218038(0x20d)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x218038(0x1ea)]['length']);}},BATCH_INTERVAL);};[a128_0x520289(0x1fc)]=()=>{const _0x188e50=a128_0x520289,_0x3261f9={};_0x3261f9[_0x188e50(0x1a7)]='RESETTING';const _0x571211=_0x3261f9;this[_0x188e50(0x1fb)](_0x571211[_0x188e50(0x1a7)]),this[_0x188e50(0x1e8)]();};[a128_0x520289(0x1fb)]=_0x5f3f3e=>{const _0x55785a=a128_0x520289,_0x14b795={'MImWd':function(_0x3943e0,_0x42c84f){return _0x3943e0(_0x42c84f);},'qnNzU':function(_0x583b6f,_0x46c193){return _0x583b6f===_0x46c193;},'zKaNn':_0x55785a(0x20c)};this[_0x55785a(0x1d1)]&&(_0x14b795[_0x55785a(0x1f2)](clearInterval,this[_0x55785a(0x1d1)]),this[_0x55785a(0x1d1)]=null,_0x14b795[_0x55785a(0x1f0)](_0x5f3f3e,_0x14b795[_0x55785a(0x1d3)])&&(this[_0x55785a(0x211)]=![]));};[a128_0x520289(0x1df)]=()=>{const _0x344254=a128_0x520289,_0x45bff1={};_0x45bff1[_0x344254(0x215)]=function(_0xd1f87f,_0x1966bc){return _0xd1f87f>=_0x1966bc;};const _0x2d3534=_0x45bff1;return _0x2d3534['zxSej'](this['queue'][_0x344254(0x1db)],BATCH_SIZE);};async[a128_0x520289(0x1bf)](_0x1b4441=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x48a329=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x252b0f=a128_0x520289,_0x171b16={'zywXg':function(_0x5af41b,_0x408e12){return _0x5af41b<=_0x408e12;},'PlboL':function(_0x530edf,_0xe0b5b6){return _0x530edf(_0xe0b5b6);},'PnHRk':function(_0x4e75a8,_0x1934f2){return _0x4e75a8-_0x1934f2;}};if(_0x171b16[_0x252b0f(0x1ed)](this['pendingUploads'],0x0)||_0x171b16[_0x252b0f(0x1ed)](_0x1b4441,0x0))return;return await _0x171b16[_0x252b0f(0x206)](sleep,_0x48a329),this[_0x252b0f(0x1bf)](_0x171b16[_0x252b0f(0x1ba)](_0x1b4441,_0x48a329));}}module[a128_0x520289(0x1b6)]=RequestQueueHandler;function a128_0x1e28(){const _0x47d64e=['logs','statusText','hPaiV','REMOVING','WpxSx','whseW','BATCH_EVENT_TYPES','push','started','hcvpu','max','TestRunFinished','zxSej','9eHuRCy','getInstance','JpPUV','EXCEPTION\x20IN\x20','Vnwkt','BGSXd','iQsfM','13921zEBWtD','Interval-Queue','event_type','uploadAttachmentUrl','util','slice','eventUrl','error','OSQDG','../helper','plBps','\x20bytes.\x20Events\x20are\x20','164FaVJbl','ZqiIg','join','2664452oPlbGQ','HookRunFinished','TtMOH','.\x20Request\x20Size\x20-\x20','ESugj','53224AbFqlU','utf8','snogP','exports','subgn','12CotXUT','proceedWithData','PnHRk','9408920QUviuA','./constants','vOeEy','\x20REQUEST\x20TO\x20','uploadPending','status','YhZsw','shutdown','pPEmD','ErHsf','proceedWithUrl','pnNrQ','aBnjv','uuid','244849OHGnBJ','4|2|0|5|3|1|6','kind','CBTSessionCreated','yuXHj','TestRunSkipped','../../bin/utils/constants','TestRunStarted','pollEventBatchInterval','message','zKaNn','splice','749730wbnvMv','start','api/v1/screenshots','hook_run','format','api/v1/batch','length','\x20--\x20','VjIbl','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','shouldProceed','data','ORSMc','12SigWZL','EHyGu','add','HookRunStarted','YCBOX','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','startEventBatchPolling','XwcdS','queue','FxVAF','LtCKA','zywXg','response','batchAndPostEvents','qnNzU','Processing\x20events.\x20Queue\x20Length\x20-\x20','MImWd','Plzoj','LogCreated','rgupD','map','NGCFe','170KAfnsk','14838300SUQxFN','JjXka','removeEventBatchPolling','resetEventBatchPolling','fnftH','screenshotEventUrl','pendingUploads','instance','TEST_REPORTING_ANALYTICS','POST','TEST_ATTACHMENT','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','Shutdown-Queue','PlboL','UIDvC','\x20event\x20successful\x20for\x20events\x20'];a128_0x1e28=function(){return _0x47d64e;};return a128_0x1e28();}
|