browserstack-node-sdk 1.46.4 → 1.46.6
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/generated/sdk-messages_pb.d.ts +8 -0
- package/generated/sdk-messages_pb.js +73 -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/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/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/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 a117_0x3e28df=a117_0x5438;function a117_0x355b(){const _0x321acf=['sdk:testhub','AUTOMATE_EVENTS',':driver-performscan',':session-status','SDK_TEST_FRAMEWORK_EVENT','SDK_AUTOMATION_FRAMEWORK_START',':session-name','APP_AUOTMATE_EVENTS','SDK_CLI_START','sdk:driverInit','9XOPYtE','TESTHUB_EVENTS','SDK_PRE_INITIALIZE','A11Y_EVENTS','sdk:test','SDK_CLI_ON_STOP','804720REzcSS','sdk:testSessionEvent','SDK_DRIVER_INIT','SDK_APP_AUTOMATE','SDK_AUTOMATION_FRAMEWORK_STOP','KEEP_ALIVE',':download',':start','SDK_CLI_ON_BOOTSTRAP','sdk:cli:download','sdk:cli:start','exports','BEFORE_ALL','sdk:automate',':screenshot-app','SDK_START_BIN_SESSION','DOWNLOAD',':after-all',':snapshot','POST_EXECUTE','STOP','EVENTS',':quit','GET','GET_RESULTS_SUMMARY','6397245OYKdHb','APP_UPLOAD','SDK_FIND_NEAREST_HUB','SDK_AUTO_CAPTURE','96946hQzcla','sdk:cleanup','SDK_HOOK','sdk:aiSelfHealStep','sdk:cli:on-stop','DRIVER_MANAGE','SDK_ACCESSIBILITY_CONFIG','SDK_CLI_CHECK_UPDATE','sdk:cli:on-connect','sdk:turboscale','sdk:onStop','AFTER_ALL','SDK_AUTOMATE','SDK_ON_STOP','SDK_DRIVER',':stop','SDK_TURBOSCALE','SDK_PRE_TEST',':after-each','SDK_O11Y','sdk:cli:on-bootstrap','SESSION_ANNOTATION','sdk:app-automate','sdk:post-test','SDK_POST_INITIALIZE','HOOK_EVENTS','SDK_AUTOMATION_FRAMEWORK_INIT','2375132XKitbo','TAKE_SCREENSHOT','SESSION_STATUS','SDK_PERCY','sdk:findNearestHub','SDK_A11Y','HUB_MANAGEMENT',':local-stop','SDK_TEST_SESSION_EVENT','4872552EWXaSq','sdk:connectBinSession','DRIVER_EVENT','SDK_CLI_ON_CONNECT',':before','SDK_CLEANUP','6788184FCpFcc','PRINT_BUILDLINK',':after','GET_RESULTS','AFTER','TURBOSCALE_EVENTS','PRE_EXECUTE','LOCAL_START','SDK_CLI_DOWNLOAD','sdk:automationFrameworkStop','SDK_OBSERVABILITY_CONFIG','PERCY_EVENTS',':driver-manage',':save-results',':print-buildlink','sdk:cli:logCreatedEvent','sdk:aiSelfHealGetResult','sdk:startBinSession',':sync','SDK_TEST','SDK_SETUP','11153150VsRPUi','SCREENSHOT','sdk:proxy-setup',':local-start','O11y_EVENTS','sdk:auto-capture',':before-each',':hub-management','sdk:o11y','SDK_PROXY_SETUP','BEFORE','3IWszuo','LOCAL_STOP','sdk:cli:enqueueTestEvent',':app-upload','sdk:accessibilityConfig','sdk:percy',':session-annotation','SNAPSHOT',':before-all',':pre-execute',':ci-artifacts','1zipCtW','sdk:driver:pre-initialization','SDK_AI_SELF_HEAL_STEP','SDK_TESTHUB',':screenshot','QUIT','START'];a117_0x355b=function(){return _0x321acf;};return a117_0x355b();}(function(_0x476d29,_0x38d05c){const _0x462f42=a117_0x5438,_0xdb250e=_0x476d29();while(!![]){try{const _0x5a4941=parseInt(_0x462f42(0x14a))/0x1*(parseInt(_0x462f42(0x17e))/0x2)+-parseInt(_0x462f42(0x13f))/0x3*(-parseInt(_0x462f42(0x110))/0x4)+parseInt(_0x462f42(0x17a))/0x5+-parseInt(_0x462f42(0x119))/0x6+-parseInt(_0x462f42(0x161))/0x7+parseInt(_0x462f42(0x11f))/0x8*(parseInt(_0x462f42(0x15b))/0x9)+-parseInt(_0x462f42(0x134))/0xa;if(_0x5a4941===_0x38d05c)break;else _0xdb250e['push'](_0xdb250e['shift']());}catch(_0x5e25ac){_0xdb250e['push'](_0xdb250e['shift']());}}}(a117_0x355b,0xb1b35));const a117_0x140ebf={};function a117_0x5438(_0x63941f,_0x207bc7){const _0x355b7b=a117_0x355b();return a117_0x5438=function(_0x5438bc,_0x326570){_0x5438bc=_0x5438bc-0x109;let _0x51faf7=_0x355b7b[_0x5438bc];return _0x51faf7;},a117_0x5438(_0x63941f,_0x207bc7);}a117_0x140ebf[a117_0x3e28df(0x133)]='sdk:setup',a117_0x140ebf[a117_0x3e28df(0x11e)]=a117_0x3e28df(0x17f),a117_0x140ebf[a117_0x3e28df(0x18f)]='sdk:pre-test',a117_0x140ebf[a117_0x3e28df(0x132)]=a117_0x3e28df(0x15f),a117_0x140ebf['SDK_POST_TEST']=a117_0x3e28df(0x10c),a117_0x140ebf['SDK_HOOK']='sdk:hook',a117_0x140ebf[a117_0x3e28df(0x18c)]='sdk:driver',a117_0x140ebf[a117_0x3e28df(0x115)]='sdk:a11y',a117_0x140ebf[a117_0x3e28df(0x191)]=a117_0x3e28df(0x13c),a117_0x140ebf[a117_0x3e28df(0x17d)]=a117_0x3e28df(0x139),a117_0x140ebf[a117_0x3e28df(0x13d)]=a117_0x3e28df(0x136),a117_0x140ebf[a117_0x3e28df(0x14d)]=a117_0x3e28df(0x151),a117_0x140ebf[a117_0x3e28df(0x18a)]=a117_0x3e28df(0x16e),a117_0x140ebf[a117_0x3e28df(0x164)]=a117_0x3e28df(0x10b),a117_0x140ebf['SDK_TURBOSCALE']=a117_0x3e28df(0x187),a117_0x140ebf[a117_0x3e28df(0x113)]=a117_0x3e28df(0x144),a117_0x140ebf[a117_0x3e28df(0x15d)]=a117_0x3e28df(0x14b),a117_0x140ebf[a117_0x3e28df(0x10d)]='sdk:driver:post-initialization',a117_0x140ebf[a117_0x3e28df(0x159)]=a117_0x3e28df(0x16b),a117_0x140ebf[a117_0x3e28df(0x127)]=a117_0x3e28df(0x16a),a117_0x140ebf[a117_0x3e28df(0x185)]='sdk:cli:check-update',a117_0x140ebf[a117_0x3e28df(0x169)]=a117_0x3e28df(0x109),a117_0x140ebf[a117_0x3e28df(0x11c)]=a117_0x3e28df(0x186),a117_0x140ebf[a117_0x3e28df(0x160)]=a117_0x3e28df(0x182),a117_0x140ebf[a117_0x3e28df(0x170)]=a117_0x3e28df(0x130),a117_0x140ebf['SDK_CONNECT_BIN_SESSION']=a117_0x3e28df(0x11a),a117_0x140ebf[a117_0x3e28df(0x163)]=a117_0x3e28df(0x15a),a117_0x140ebf[a117_0x3e28df(0x17c)]=a117_0x3e28df(0x114),a117_0x140ebf[a117_0x3e28df(0x10f)]='sdk:automationFrameworkInit',a117_0x140ebf[a117_0x3e28df(0x156)]='sdk:automationFrameworkStart',a117_0x140ebf[a117_0x3e28df(0x184)]=a117_0x3e28df(0x143),a117_0x140ebf[a117_0x3e28df(0x129)]='sdk:observabilityConfig',a117_0x140ebf[a117_0x3e28df(0x14c)]=a117_0x3e28df(0x181),a117_0x140ebf['SDK_AI_SELF_HEAL_GET_RESULT']=a117_0x3e28df(0x12f),a117_0x140ebf[a117_0x3e28df(0x155)]='sdk:testFrameworkEvent',a117_0x140ebf[a117_0x3e28df(0x118)]=a117_0x3e28df(0x162),a117_0x140ebf['SDK_CLI_LOG_CREATED_EVENT']=a117_0x3e28df(0x12e),a117_0x140ebf['SDK_CLI_ENQUEUE_TEST_EVENT']=a117_0x3e28df(0x141),a117_0x140ebf[a117_0x3e28df(0x165)]=a117_0x3e28df(0x128),a117_0x140ebf[a117_0x3e28df(0x18b)]=a117_0x3e28df(0x188);const SDK_EVENTS=a117_0x140ebf,a117_0x326b2b={};a117_0x326b2b[a117_0x3e28df(0x176)]=SDK_EVENTS,a117_0x326b2b[a117_0x3e28df(0x15c)]={},a117_0x326b2b[a117_0x3e28df(0x152)]={},a117_0x326b2b[a117_0x3e28df(0x15e)]={},a117_0x326b2b[a117_0x3e28df(0x12a)]={},a117_0x326b2b[a117_0x3e28df(0x138)]={},a117_0x326b2b[a117_0x3e28df(0x10e)]={},a117_0x326b2b[a117_0x3e28df(0x124)]={},a117_0x326b2b[a117_0x3e28df(0x158)]={},a117_0x326b2b[a117_0x3e28df(0x11b)]={},a117_0x326b2b[a117_0x3e28df(0x15c)]['START']=SDK_EVENTS['SDK_TESTHUB']+a117_0x3e28df(0x168),a117_0x326b2b[a117_0x3e28df(0x15c)][a117_0x3e28df(0x175)]=SDK_EVENTS[a117_0x3e28df(0x14d)]+':stop',a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x166)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+':keep-alive',a117_0x326b2b[a117_0x3e28df(0x152)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_AUTOMATE']+':hub-management',a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x126)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x137),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x140)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x117),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x183)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x12b),a117_0x326b2b[a117_0x3e28df(0x152)]['SESSION_NAME']=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x157),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x112)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x154),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x10a)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x145),a117_0x326b2b[a117_0x3e28df(0x152)]['IDLE_TIMEOUT']=SDK_EVENTS[a117_0x3e28df(0x18a)]+':idle-timeout',a117_0x326b2b[a117_0x3e28df(0x152)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x149),a117_0x326b2b[a117_0x3e28df(0x152)]['PRINT_BUILDLINK']=SDK_EVENTS[a117_0x3e28df(0x18a)]+':print-buildlink',a117_0x326b2b[a117_0x3e28df(0x15e)]['PERFORM_SCAN']=SDK_EVENTS[a117_0x3e28df(0x115)]+a117_0x3e28df(0x153),a117_0x326b2b[a117_0x3e28df(0x15e)]['SAVE_RESULTS']=SDK_EVENTS[a117_0x3e28df(0x115)]+a117_0x3e28df(0x12c),a117_0x326b2b[a117_0x3e28df(0x15e)][a117_0x3e28df(0x122)]=SDK_EVENTS[a117_0x3e28df(0x115)]+':get-accessibility-results',a117_0x326b2b[a117_0x3e28df(0x15e)][a117_0x3e28df(0x179)]=SDK_EVENTS[a117_0x3e28df(0x115)]+':get-accessibility-results-summary',a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x171)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x167),a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x135)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x14e),a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x150)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x168),a117_0x326b2b[a117_0x3e28df(0x12a)]['STOP']=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x18d),a117_0x326b2b[a117_0x3e28df(0x12a)]['AUTO_CAPTURE']=SDK_EVENTS[a117_0x3e28df(0x113)]+':auto-capture',a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x146)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x173),a117_0x326b2b[a117_0x3e28df(0x12a)]['SCREENSHOT_APP']=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x16f),a117_0x326b2b[a117_0x3e28df(0x138)]['SYNC']=SDK_EVENTS[a117_0x3e28df(0x191)]+a117_0x3e28df(0x131),a117_0x326b2b[a117_0x3e28df(0x138)][a117_0x3e28df(0x111)]=SDK_EVENTS[a117_0x3e28df(0x191)]+':driver-takeScreenShot',a117_0x326b2b[a117_0x3e28df(0x138)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_O11Y']+a117_0x3e28df(0x12d),a117_0x326b2b[a117_0x3e28df(0x10e)]['BEFORE_EACH']=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x13a),a117_0x326b2b[a117_0x3e28df(0x10e)]['AFTER_EACH']=SDK_EVENTS['SDK_HOOK']+a117_0x3e28df(0x190),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x189)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x172),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x16d)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x147),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x13e)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x11d),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x123)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x121),a117_0x326b2b[a117_0x3e28df(0x124)][a117_0x3e28df(0x116)]=SDK_EVENTS[a117_0x3e28df(0x18e)]+a117_0x3e28df(0x13b),a117_0x326b2b[a117_0x3e28df(0x124)][a117_0x3e28df(0x120)]=SDK_EVENTS[a117_0x3e28df(0x18e)]+a117_0x3e28df(0x12d),a117_0x326b2b[a117_0x3e28df(0x158)][a117_0x3e28df(0x17b)]=SDK_EVENTS[a117_0x3e28df(0x164)]+a117_0x3e28df(0x142),a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x14f)]=SDK_EVENTS[a117_0x3e28df(0x18c)]+a117_0x3e28df(0x177),a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x178)]=SDK_EVENTS['SDK_DRIVER']+':get',a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x125)]=SDK_EVENTS['SDK_DRIVER']+a117_0x3e28df(0x148),a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x174)]=SDK_EVENTS[a117_0x3e28df(0x18c)]+':post-execute',module[a117_0x3e28df(0x16c)]=a117_0x326b2b;
|
|
1
|
+
const a117_0x9f51c8=a117_0x25c8;function a117_0x426b(){const _0x122953=['SDK_CLEANUP',':download','APP_UPLOAD',':sync','SDK_START_BIN_SESSION','sdk:cleanup','sdk:findNearestHub','SDK_AUTO_CAPTURE','PERFORM_SCAN','sdk:aiSelfHealStep',':hub-management','sdk:turboscale',':stop','3414250ktdQSh','TURBOSCALE_EVENTS','SDK_CLI_LOG_CREATED_EVENT','sdk:cli:download','SDK_FIND_NEAREST_HUB','SDK_A11Y',':driver-manage',':local-start','sdk:aiSelfHealGetResult','SESSION_ANNOTATION','486556OgnZHm','sdk:pre-test','SDK_POST_INITIALIZE','sdk:accessibilityConfig','sdk:testhub','GET_RESULTS',':print-buildlink',':before-all','sdk:cli:logCreatedEvent','sdk:cli:start',':before-each','HOOK_EVENTS','SDK_CLI_DOWNLOAD','sdk:automationFrameworkStart',':driver-takeScreenShot','SDK_DRIVER','SDK_SETUP','SDK_TEST_FRAMEWORK_EVENT',':get',':save-results','PERCY_EVENTS','SDK_TEST_SESSION_EVENT','sdk:hook','SDK_PROXY_SETUP','10500480WIsExt',':start','SDK_PERCY','sdk:auto-capture','SDK_APP_AUTOMATE','TAKE_SCREENSHOT','HUB_MANAGEMENT','KEEP_ALIVE','SDK_TURBOSCALE',':ci-artifacts','SDK_AUTOMATION_FRAMEWORK_START','sdk:o11y','SDK_O11Y','9SqatqV','SDK_AI_SELF_HEAL_STEP','SCREENSHOT','sdk:cli:on-stop','sdk:driverInit','AUTO_CAPTURE','SDK_AUTOMATE',':driver-performscan',':after-each','sdk:test','AFTER_ALL','STOP','SDK_AI_SELF_HEAL_GET_RESULT','SDK_CLI_ON_CONNECT','sdk:setup','SDK_OBSERVABILITY_CONFIG',':after-all',':app-upload','sdk:post-test','sdk:app-automate','O11y_EVENTS','LOCAL_START','2WZADZh','AUTOMATE_EVENTS','SDK_HOOK','SDK_POST_TEST','PRINT_BUILDLINK','BEFORE_ALL','SDK_DRIVER_INIT',':get-accessibility-results-summary',':post-execute','sdk:testSessionEvent','SDK_PRE_TEST','PRE_EXECUTE','sdk:automationFrameworkInit','BEFORE_EACH','TESTHUB_EVENTS',':screenshot-app',':snapshot',':keep-alive','DOWNLOAD','AFTER','sdk:testFrameworkEvent','96aErGdF','SCREENSHOT_APP','SDK_CLI_ENQUEUE_TEST_EVENT','QUIT','APP_AUOTMATE_EVENTS','SDK_AUTOMATION_FRAMEWORK_STOP','sdk:onStop',':idle-timeout','GET','AFTER_EACH','2959451SeMmmd','7612456sMTsJE','sdk:driver:pre-initialization','A11Y_EVENTS','sdk:driver','exports','SDK_CLI_ON_BOOTSTRAP',':get-accessibility-results','SDK_ACCESSIBILITY_CONFIG','sdk:cli:check-update','START','SDK_CLI_ON_STOP','SDK_CLI_START','DRIVER_MANAGE','15CkfMHe','sdk:a11y','SDK_TESTHUB','DRIVER_EVENT','1301525kzWqFb','SDK_ON_STOP','512183ffFjeW',':screenshot',':session-status','SESSION_NAME','sdk:proxy-setup','sdk:observabilityConfig'];a117_0x426b=function(){return _0x122953;};return a117_0x426b();}(function(_0x5cf580,_0x260971){const _0x4ec615=a117_0x25c8,_0x35c094=_0x5cf580();while(!![]){try{const _0xccb3d3=-parseInt(_0x4ec615(0x192))/0x1*(-parseInt(_0x4ec615(0x161))/0x2)+-parseInt(_0x4ec615(0x18e))/0x3*(parseInt(_0x4ec615(0x1b1))/0x4)+-parseInt(_0x4ec615(0x1a7))/0x5+parseInt(_0x4ec615(0x176))/0x6*(parseInt(_0x4ec615(0x194))/0x7)+parseInt(_0x4ec615(0x181))/0x8*(parseInt(_0x4ec615(0x1d6))/0x9)+-parseInt(_0x4ec615(0x1c9))/0xa+-parseInt(_0x4ec615(0x180))/0xb;if(_0xccb3d3===_0x260971)break;else _0x35c094['push'](_0x35c094['shift']());}catch(_0x5314fc){_0x35c094['push'](_0x35c094['shift']());}}}(a117_0x426b,0xc6a54));const a117_0x142b40={};function a117_0x25c8(_0x204a24,_0x2a0e81){const _0x426b80=a117_0x426b();return a117_0x25c8=function(_0x25c8dc,_0x18bc81){_0x25c8dc=_0x25c8dc-0x15c;let _0x150a67=_0x426b80[_0x25c8dc];return _0x150a67;},a117_0x25c8(_0x204a24,_0x2a0e81);}a117_0x142b40[a117_0x9f51c8(0x1c1)]=a117_0x9f51c8(0x1e4),a117_0x142b40[a117_0x9f51c8(0x19a)]=a117_0x9f51c8(0x19f),a117_0x142b40[a117_0x9f51c8(0x16b)]=a117_0x9f51c8(0x1b2),a117_0x142b40['SDK_TEST']=a117_0x9f51c8(0x1df),a117_0x142b40[a117_0x9f51c8(0x164)]=a117_0x9f51c8(0x15d),a117_0x142b40[a117_0x9f51c8(0x163)]=a117_0x9f51c8(0x1c7),a117_0x142b40[a117_0x9f51c8(0x1c0)]=a117_0x9f51c8(0x184),a117_0x142b40[a117_0x9f51c8(0x1ac)]=a117_0x9f51c8(0x18f),a117_0x142b40[a117_0x9f51c8(0x1d5)]=a117_0x9f51c8(0x1d4),a117_0x142b40[a117_0x9f51c8(0x1a1)]=a117_0x9f51c8(0x1cc),a117_0x142b40[a117_0x9f51c8(0x1c8)]=a117_0x9f51c8(0x198),a117_0x142b40[a117_0x9f51c8(0x190)]=a117_0x9f51c8(0x1b5),a117_0x142b40[a117_0x9f51c8(0x1dc)]='sdk:automate',a117_0x142b40[a117_0x9f51c8(0x1cd)]=a117_0x9f51c8(0x15e),a117_0x142b40[a117_0x9f51c8(0x1d1)]=a117_0x9f51c8(0x1a5),a117_0x142b40[a117_0x9f51c8(0x1cb)]='sdk:percy',a117_0x142b40['SDK_PRE_INITIALIZE']=a117_0x9f51c8(0x182),a117_0x142b40[a117_0x9f51c8(0x1b3)]='sdk:driver:post-initialization',a117_0x142b40[a117_0x9f51c8(0x18c)]=a117_0x9f51c8(0x1ba),a117_0x142b40[a117_0x9f51c8(0x1bd)]=a117_0x9f51c8(0x1aa),a117_0x142b40['SDK_CLI_CHECK_UPDATE']=a117_0x9f51c8(0x189),a117_0x142b40[a117_0x9f51c8(0x186)]='sdk:cli:on-bootstrap',a117_0x142b40[a117_0x9f51c8(0x1e3)]='sdk:cli:on-connect',a117_0x142b40[a117_0x9f51c8(0x18b)]=a117_0x9f51c8(0x1d9),a117_0x142b40[a117_0x9f51c8(0x19e)]='sdk:startBinSession',a117_0x142b40['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a117_0x142b40[a117_0x9f51c8(0x167)]=a117_0x9f51c8(0x1da),a117_0x142b40[a117_0x9f51c8(0x1ab)]=a117_0x9f51c8(0x1a0),a117_0x142b40['SDK_AUTOMATION_FRAMEWORK_INIT']=a117_0x9f51c8(0x16d),a117_0x142b40[a117_0x9f51c8(0x1d3)]=a117_0x9f51c8(0x1be),a117_0x142b40[a117_0x9f51c8(0x188)]=a117_0x9f51c8(0x1b4),a117_0x142b40[a117_0x9f51c8(0x1e5)]=a117_0x9f51c8(0x199),a117_0x142b40[a117_0x9f51c8(0x1d7)]=a117_0x9f51c8(0x1a3),a117_0x142b40[a117_0x9f51c8(0x1e2)]=a117_0x9f51c8(0x1af),a117_0x142b40[a117_0x9f51c8(0x1c2)]=a117_0x9f51c8(0x175),a117_0x142b40[a117_0x9f51c8(0x1c6)]=a117_0x9f51c8(0x16a),a117_0x142b40[a117_0x9f51c8(0x1a9)]=a117_0x9f51c8(0x1b9),a117_0x142b40[a117_0x9f51c8(0x178)]='sdk:cli:enqueueTestEvent',a117_0x142b40[a117_0x9f51c8(0x17b)]='sdk:automationFrameworkStop',a117_0x142b40[a117_0x9f51c8(0x193)]=a117_0x9f51c8(0x17c);const SDK_EVENTS=a117_0x142b40,a117_0x4fbf3d={};a117_0x4fbf3d['EVENTS']=SDK_EVENTS,a117_0x4fbf3d[a117_0x9f51c8(0x16f)]={},a117_0x4fbf3d[a117_0x9f51c8(0x162)]={},a117_0x4fbf3d[a117_0x9f51c8(0x183)]={},a117_0x4fbf3d[a117_0x9f51c8(0x1c5)]={},a117_0x4fbf3d[a117_0x9f51c8(0x15f)]={},a117_0x4fbf3d[a117_0x9f51c8(0x1bc)]={},a117_0x4fbf3d[a117_0x9f51c8(0x1a8)]={},a117_0x4fbf3d[a117_0x9f51c8(0x17a)]={},a117_0x4fbf3d[a117_0x9f51c8(0x191)]={},a117_0x4fbf3d[a117_0x9f51c8(0x16f)][a117_0x9f51c8(0x18a)]=SDK_EVENTS[a117_0x9f51c8(0x190)]+a117_0x9f51c8(0x1ca),a117_0x4fbf3d[a117_0x9f51c8(0x16f)][a117_0x9f51c8(0x1e1)]=SDK_EVENTS[a117_0x9f51c8(0x190)]+a117_0x9f51c8(0x1a6),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x1d0)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x172),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x1cf)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x9f51c8(0x1a4),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x160)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x9f51c8(0x1ae),a117_0x4fbf3d[a117_0x9f51c8(0x162)]['LOCAL_STOP']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+':local-stop',a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x18d)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x9f51c8(0x1ad),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x197)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+':session-name',a117_0x4fbf3d[a117_0x9f51c8(0x162)]['SESSION_STATUS']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x196),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x1b0)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+':session-annotation',a117_0x4fbf3d[a117_0x9f51c8(0x162)]['IDLE_TIMEOUT']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x17d),a117_0x4fbf3d[a117_0x9f51c8(0x162)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x1d2),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x165)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x1b7),a117_0x4fbf3d[a117_0x9f51c8(0x183)][a117_0x9f51c8(0x1a2)]=SDK_EVENTS[a117_0x9f51c8(0x1ac)]+a117_0x9f51c8(0x1dd),a117_0x4fbf3d[a117_0x9f51c8(0x183)]['SAVE_RESULTS']=SDK_EVENTS[a117_0x9f51c8(0x1ac)]+a117_0x9f51c8(0x1c4),a117_0x4fbf3d[a117_0x9f51c8(0x183)][a117_0x9f51c8(0x1b6)]=SDK_EVENTS['SDK_A11Y']+a117_0x9f51c8(0x187),a117_0x4fbf3d[a117_0x9f51c8(0x183)]['GET_RESULTS_SUMMARY']=SDK_EVENTS[a117_0x9f51c8(0x1ac)]+a117_0x9f51c8(0x168),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x173)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x19b),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x1d8)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x195),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x18a)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x1ca),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x1e1)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x1a6),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x1db)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+':auto-capture',a117_0x4fbf3d[a117_0x9f51c8(0x1c5)]['SNAPSHOT']=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x171),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x177)]=SDK_EVENTS['SDK_PERCY']+a117_0x9f51c8(0x170),a117_0x4fbf3d[a117_0x9f51c8(0x15f)]['SYNC']=SDK_EVENTS['SDK_O11Y']+a117_0x9f51c8(0x19d),a117_0x4fbf3d[a117_0x9f51c8(0x15f)][a117_0x9f51c8(0x1ce)]=SDK_EVENTS[a117_0x9f51c8(0x1d5)]+a117_0x9f51c8(0x1bf),a117_0x4fbf3d[a117_0x9f51c8(0x15f)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_O11Y']+':print-buildlink',a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x16e)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+a117_0x9f51c8(0x1bb),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x17f)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+a117_0x9f51c8(0x1de),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x1e0)]=SDK_EVENTS['SDK_HOOK']+a117_0x9f51c8(0x1e6),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x166)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+a117_0x9f51c8(0x1b8),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)]['BEFORE']=SDK_EVENTS[a117_0x9f51c8(0x163)]+':before',a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x174)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+':after',a117_0x4fbf3d[a117_0x9f51c8(0x1a8)][a117_0x9f51c8(0x1cf)]=SDK_EVENTS[a117_0x9f51c8(0x1d1)]+':hub-management',a117_0x4fbf3d[a117_0x9f51c8(0x1a8)]['PRINT_BUILDLINK']=SDK_EVENTS[a117_0x9f51c8(0x1d1)]+a117_0x9f51c8(0x1b7),a117_0x4fbf3d[a117_0x9f51c8(0x17a)][a117_0x9f51c8(0x19c)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a117_0x9f51c8(0x15c),a117_0x4fbf3d[a117_0x9f51c8(0x191)][a117_0x9f51c8(0x179)]=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+':quit',a117_0x4fbf3d[a117_0x9f51c8(0x191)][a117_0x9f51c8(0x17e)]=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+a117_0x9f51c8(0x1c3),a117_0x4fbf3d[a117_0x9f51c8(0x191)][a117_0x9f51c8(0x16c)]=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+':pre-execute',a117_0x4fbf3d[a117_0x9f51c8(0x191)]['POST_EXECUTE']=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+a117_0x9f51c8(0x169),module[a117_0x9f51c8(0x185)]=a117_0x4fbf3d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118_0x2441cc=a118_0x5710;(function(_0x2eba88,_0x455fe2){const _0x3f566c=a118_0x5710,_0x12aec5=_0x2eba88();while(!![]){try{const _0x4fa851=parseInt(_0x3f566c(0x1d5))/0x1*(parseInt(_0x3f566c(0x222))/0x2)+-parseInt(_0x3f566c(0x21b))/0x3*(parseInt(_0x3f566c(0x22a))/0x4)+-parseInt(_0x3f566c(0x1f8))/0x5+parseInt(_0x3f566c(0x199))/0x6*(parseInt(_0x3f566c(0x1b1))/0x7)+-parseInt(_0x3f566c(0x1c5))/0x8+-parseInt(_0x3f566c(0x201))/0x9*(parseInt(_0x3f566c(0x211))/0xa)+parseInt(_0x3f566c(0x20f))/0xb;if(_0x4fa851===_0x455fe2)break;else _0x12aec5['push'](_0x12aec5['shift']());}catch(_0x356b04){_0x12aec5['push'](_0x12aec5['shift']());}}}(a118_0x47fd,0x4c024));const fs=require('fs'),fsPromise=require(a118_0x2441cc(0x1c9)),{performance,PerformanceObserver}=require(a118_0x2441cc(0x224)),path=require(a118_0x2441cc(0x205)),util=require('util'),logger=require(a118_0x2441cc(0x21d))[a118_0x2441cc(0x1ed)],{getLogDir}=require(a118_0x2441cc(0x21d)),{getProcessId,sleep,debug,getTestName}=require(a118_0x2441cc(0x22d));function a118_0x5710(_0x4289d9,_0x5bd119){const _0x47fd29=a118_0x47fd();return a118_0x5710=function(_0x57108c,_0x5cd7ab){_0x57108c=_0x57108c-0x188;let _0xedf70e=_0x47fd29[_0x57108c];return _0xedf70e;},a118_0x5710(_0x4289d9,_0x5bd119);}class PerformanceTester{static [a118_0x2441cc(0x1f7)];static [a118_0x2441cc(0x1d6)]=[];static [a118_0x2441cc(0x1da)]=[];static [a118_0x2441cc(0x233)]=[];static [a118_0x2441cc(0x234)]=![];static [a118_0x2441cc(0x1e3)]=a118_0x2441cc(0x1a6);static [a118_0x2441cc(0x1f3)]=process[a118_0x2441cc(0x1ad)]['browserStackCwd']?path['join'](process['env'][a118_0x2441cc(0x1d1)],'error-report'):path[a118_0x2441cc(0x1e6)](process[a118_0x2441cc(0x18d)](),'error-report');static ['errorReportFileName']=this[a118_0x2441cc(0x1f3)]+'/error-report-'+getProcessId()+a118_0x2441cc(0x1ae);static ['details']={};static [a118_0x2441cc(0x208)]={};static[a118_0x2441cc(0x1aa)](_0x5bc154,_0x814e8d=this[a118_0x2441cc(0x1f3)]+a118_0x2441cc(0x1e5)+getProcessId()+a118_0x2441cc(0x1ae)){const _0x1109f3=a118_0x2441cc,_0x3968c2={'zgmJv':function(_0x54bde5,_0x5126ff){return _0x54bde5===_0x5126ff;},'cbKRf':'measure','vIWRP':function(_0x22f688){return _0x22f688();},'jWyJq':function(_0x585fb2,_0x2f42dc){return _0x585fb2+_0x2f42dc;},'jfIQB':_0x1109f3(0x1ee),'NgMZG':_0x1109f3(0x20c)};try{this['jsonReportDirPath']=path['join'](_0x3968c2[_0x1109f3(0x206)](getLogDir),this[_0x1109f3(0x1e3)]),!_0x5bc154&&(_0x5bc154=this[_0x1109f3(0x1c1)]+_0x1109f3(0x1d7)+_0x3968c2['vIWRP'](getProcessId)+_0x1109f3(0x1ae)),!fs[_0x1109f3(0x189)](this['jsonReportDirPath'])&&fs[_0x1109f3(0x231)](this[_0x1109f3(0x1c1)]);}catch(_0x4b1857){logger[_0x1109f3(0x22b)](_0x3968c2[_0x1109f3(0x1ff)](_0x3968c2[_0x1109f3(0x1e2)],_0x4b1857));}if(this[_0x1109f3(0x234)]||!this[_0x1109f3(0x1d3)]())return;this[_0x1109f3(0x1f7)]=new PerformanceObserver(_0x23e23b=>{const _0x22d4ad=_0x1109f3,_0x3ad8e3={'wgcYX':function(_0x323b0b,_0x2f144e){const _0x25dc4c=a118_0x5710;return _0x3968c2[_0x25dc4c(0x197)](_0x323b0b,_0x2f144e);},'oPjlp':_0x3968c2[_0x22d4ad(0x1d2)]};_0x23e23b[_0x22d4ad(0x1c8)]()['forEach'](_0x1e77f1=>{const _0x2b65b2=_0x22d4ad;if(_0x3ad8e3[_0x2b65b2(0x1a8)](_0x1e77f1['entryType'],_0x3ad8e3[_0x2b65b2(0x1fa)])){let _0x34a2c2={};if(_0x1e77f1[_0x2b65b2(0x1c6)])_0x34a2c2=_0x1e77f1[_0x2b65b2(0x1c6)]();else for(const _0x47f543 in _0x1e77f1){_0x34a2c2[_0x47f543]=_0x1e77f1[_0x47f543];}this[_0x2b65b2(0x19f)][_0x1e77f1[_0x2b65b2(0x202)]]&&(_0x34a2c2=Object[_0x2b65b2(0x1a5)](_0x34a2c2,this['details'][_0x1e77f1[_0x2b65b2(0x202)]])),delete this[_0x2b65b2(0x19f)][_0x1e77f1[_0x2b65b2(0x202)]],this[_0x2b65b2(0x1da)][_0x2b65b2(0x20e)](_0x34a2c2);}else this['_events'][_0x2b65b2(0x20e)](_0x1e77f1);});});const _0x15d57b={};_0x15d57b[_0x1109f3(0x1ef)]=!![],_0x15d57b['entryTypes']=[_0x3968c2[_0x1109f3(0x220)],_0x3968c2['cbKRf']],this[_0x1109f3(0x1f7)][_0x1109f3(0x20d)](_0x15d57b),this[_0x1109f3(0x234)]=!![],this[_0x1109f3(0x1e9)]=_0x5bc154,this['errorReportFileName']=_0x814e8d;}static['getPerformance'](){return performance;}static[a118_0x2441cc(0x1bf)](_0x3c1ba2,_0x1de9e8){const _0x105428=a118_0x2441cc,_0x44ccfa={};_0x44ccfa['uXMNk']=function(_0x22302f,_0x4d882f){return _0x22302f+_0x4d882f;},_0x44ccfa[_0x105428(0x1cc)]=function(_0xeda650,_0x33ab22){return _0xeda650||_0x33ab22;},_0x44ccfa[_0x105428(0x1a2)]=function(_0x46077b,_0x26d521){return _0x46077b===_0x26d521;};const _0xe525c=_0x44ccfa,_0x3d3923={};if(!_0x3c1ba2||_0xe525c[_0x105428(0x1a2)](_0x3c1ba2[_0x105428(0x1af)],0x0))return;_0x3c1ba2[_0x105428(0x1e8)](_0x4c75e7=>{const _0x18c420=_0x105428;!_0x3d3923[_0x4c75e7[_0x18c420(0x202)]]&&(_0x3d3923[_0x4c75e7[_0x18c420(0x202)]]=0x0),_0x3d3923[_0x4c75e7[_0x18c420(0x202)]]+=_0x4c75e7[_0x18c420(0x215)];});const _0x55ad7c=_0x1de9e8['reduce']((_0x35f934,_0x2590cd)=>{const _0x11e112=_0x105428;return _0xe525c[_0x11e112(0x1c4)](_0x3d3923[_0x2590cd],_0xe525c['KThTB'](_0x35f934,0x0));},0x0);return _0x55ad7c;}static async['calculateTimesFromMultipleFiles'](_0x4244cb,_0x512791){const _0x7c6ca7=a118_0x2441cc,_0x2f1b91={'BRxfO':function(_0x1ca916,_0x287659){return _0x1ca916+_0x287659;},'iZDWK':function(_0x715be5,_0x168b02){return _0x715be5||_0x168b02;},'DYdrZ':function(_0x3a4025,_0x29fd7e){return _0x3a4025===_0x29fd7e;},'DrmAh':function(_0x1db4ca,_0x2a8b82){return _0x1db4ca(_0x2a8b82);},'FjVdp':function(_0x3f871a,_0x386d36){return _0x3f871a(_0x386d36);}};if(!_0x4244cb||_0x2f1b91[_0x7c6ca7(0x190)](_0x4244cb['length'],0x0))return 0x0;const _0x3f6403=[];for(const _0x229546 of _0x4244cb){const _0x3d3fbc=path[_0x7c6ca7(0x1e6)]('.',_0x229546);try{const _0x1bda28=this[_0x7c6ca7(0x195)](_0x3d3fbc);_0x1bda28[_0x7c6ca7(0x1e8)](_0x537a0b=>{const _0x1ec8ab=_0x7c6ca7;!_0x3f6403[_0x537a0b[_0x1ec8ab(0x202)]]&&(_0x3f6403[_0x537a0b[_0x1ec8ab(0x202)]]=0x0),_0x3f6403[_0x537a0b['name']]+=_0x537a0b['duration'];});}catch(_0x518419){_0x2f1b91[_0x7c6ca7(0x1b7)](debug,_0x7c6ca7(0x1fc)+_0x518419[_0x7c6ca7(0x1d9)]());}}const _0x5609da=_0x512791[_0x7c6ca7(0x1cb)]((_0x2a6421,_0x19ef49)=>{const _0x2e8046=_0x7c6ca7;return _0x2f1b91[_0x2e8046(0x237)](_0x3f6403[_0x19ef49],_0x2f1b91[_0x2e8046(0x1f0)](_0x2a6421,0x0));},0x0);return _0x2f1b91['FjVdp'](debug,_0x7c6ca7(0x1b6)+_0x512791+'\x20for\x20all\x20processes\x20is\x20'+_0x5609da),_0x5609da;}static['getEventsFromJSON'](_0x2e2e7f){const _0xb82301=a118_0x2441cc;if(_0x2e2e7f){if(!fs[_0xb82301(0x189)](_0x2e2e7f))return[];return JSON['parse'](fs[_0xb82301(0x18c)](_0x2e2e7f)[_0xb82301(0x1d9)]());}}static async['stopAndGenerate'](_0x25fa08=a118_0x2441cc(0x18a),_0x435b86=null){const _0x257d56=a118_0x2441cc,_0x4302f9={'nqNcL':function(_0x19d20c,_0x1abf60){return _0x19d20c(_0x1abf60);},'Loomc':function(_0xccc431,_0x429a23){return _0xccc431(_0x429a23);},'RFcmz':function(_0x211830,_0x54ab09){return _0x211830(_0x54ab09);}};if(!this[_0x257d56(0x234)])return;await _0x4302f9[_0x257d56(0x219)](sleep,0x1e),this[_0x257d56(0x1f7)][_0x257d56(0x1c3)](),this[_0x257d56(0x234)]=![],this[_0x257d56(0x230)](this[_0x257d56(0x1d6)]);const _0x2a3ddf=this[_0x257d56(0x21f)](this[_0x257d56(0x1d6)]),_0x178953=path[_0x257d56(0x1e6)](process['cwd'](),_0x25fa08);fs['writeFile'](_0x178953,_0x2a3ddf,_0xca6625=>{const _0x198eaa=_0x257d56;if(_0xca6625){_0x4302f9[_0x198eaa(0x196)](debug,'Error\x20in\x20writing\x20html\x20'+_0xca6625['toString']());return;}_0x4302f9[_0x198eaa(0x1be)](debug,_0x198eaa(0x213)+_0x178953);});if(_0x435b86)return this[_0x257d56(0x1bf)](this[_0x257d56(0x1d6)],_0x435b86);}static[a118_0x2441cc(0x21f)](_0xe8f912){const _0x5a5377=a118_0x2441cc,_0x46f919={};_0x46f919[_0x5a5377(0x21e)]=_0x5a5377(0x18b),_0x46f919['Ekbrd']=_0x5a5377(0x192),_0x46f919[_0x5a5377(0x21a)]=_0x5a5377(0x239),_0x46f919[_0x5a5377(0x22f)]='</tbody></table></body></html>';const _0x480f4c=_0x46f919;let _0x5a5dcb=_0x480f4c[_0x5a5377(0x21e)];return _0x5a5dcb+=_0x480f4c[_0x5a5377(0x214)],_0x5a5dcb+=_0x480f4c[_0x5a5377(0x21a)],_0xe8f912[_0x5a5377(0x227)](_0x3c60a7=>{const _0x51ee22=_0x5a5377;_0x5a5dcb+='<tr><td>'+_0x3c60a7[_0x51ee22(0x202)]+_0x51ee22(0x1f1)+_0x3c60a7[_0x51ee22(0x215)]+'</td></tr>';}),_0x5a5dcb+=_0x480f4c[_0x5a5377(0x22f)],_0x5a5dcb;}static[a118_0x2441cc(0x230)](_0x46f39e){const _0x1ce1b7=a118_0x2441cc;if(!this[_0x1ce1b7(0x1e9)])return;const _0x2b8c0d={};_0x46f39e['map'](_0x11546d=>{const _0x5dba1a=_0x1ce1b7;!_0x2b8c0d[_0x11546d[_0x5dba1a(0x202)]]&&(_0x2b8c0d[_0x11546d[_0x5dba1a(0x202)]]=0x0),_0x2b8c0d[_0x11546d[_0x5dba1a(0x202)]]+=_0x11546d[_0x5dba1a(0x215)];});const _0x2681bb=Object[_0x1ce1b7(0x1df)](_0x2b8c0d)[_0x1ce1b7(0x1e8)](([_0x11675d,_0x357076])=>{const _0x18ca3a=_0x1ce1b7,_0x528b8c={};return _0x528b8c[_0x18ca3a(0x202)]=_0x11675d,_0x528b8c[_0x18ca3a(0x215)]=_0x357076,_0x528b8c;});fs[_0x1ce1b7(0x1b8)](this[_0x1ce1b7(0x1e9)],JSON[_0x1ce1b7(0x19c)](_0x2681bb));}static[a118_0x2441cc(0x1d3)](){const _0x2f61bf=a118_0x2441cc,_0x226e2e={};_0x226e2e[_0x2f61bf(0x19e)]=function(_0x2454bd,_0x3b46f4){return _0x2454bd===_0x3b46f4;},_0x226e2e['vAcnf']=_0x2f61bf(0x223);const _0x4610c8=_0x226e2e;return!_0x4610c8['UFHhI'](process[_0x2f61bf(0x1ad)][_0x2f61bf(0x1dd)],_0x4610c8[_0x2f61bf(0x1d0)]);}static[a118_0x2441cc(0x1f2)](_0x3b9109,_0x1f6aca,_0x1e2cc4=null,_0x39e6c4={},_0x371525=null){const _0x1eb48d=a118_0x2441cc,_0x2cb111={'iTZOV':function(_0x1c6de3,_0x48a5ac){return _0x1c6de3(_0x48a5ac);},'DmDBV':function(_0x53be2c,_0x3275c6){return _0x53be2c instanceof _0x3275c6;}};try{if(this['started']&&this[_0x1eb48d(0x1d3)]()){let _0x4e2104=_0x3b9109;_0x1e2cc4&&(_0x4e2104=_0x3b9109+'['+JSON[_0x1eb48d(0x19c)](_0x1e2cc4)+']');PerformanceTester[_0x1eb48d(0x22e)](_0x4e2104),this[_0x1eb48d(0x19f)]&&(this[_0x1eb48d(0x19f)][_0x4e2104]=_0x39e6c4);try{const _0x33b454=_0x1f6aca[_0x1eb48d(0x18f)](null,_0x371525);if(_0x2cb111[_0x1eb48d(0x1a7)](_0x33b454,Promise))return new Promise((_0x43ceb9,_0x11625e)=>{const _0x19785d=_0x1eb48d,_0x3df04a={'aZhBg':function(_0x5b93e2,_0x4dea63){return _0x2cb111['iTZOV'](_0x5b93e2,_0x4dea63);}};_0x33b454[_0x19785d(0x1e1)](_0x1cf3fa=>{const _0x5e3c15=_0x19785d;PerformanceTester[_0x5e3c15(0x20a)](_0x4e2104),_0x2cb111[_0x5e3c15(0x218)](_0x43ceb9,_0x1cf3fa);})['catch'](_0x5a8102=>{const _0x7875c2=_0x19785d;PerformanceTester[_0x7875c2(0x20a)](_0x4e2104,![],util[_0x7875c2(0x1eb)](_0x5a8102)),_0x3df04a[_0x7875c2(0x226)](_0x11625e,_0x5a8102);});});;return PerformanceTester['end'](_0x4e2104),_0x33b454;}catch(_0x5d02a1){PerformanceTester[_0x1eb48d(0x20a)](_0x4e2104,![],util[_0x1eb48d(0x1eb)](_0x5d02a1));throw _0x5d02a1;}};return _0x1f6aca[_0x1eb48d(0x18f)](null,_0x371525);}catch(_0x1c8dbc){return logger[_0x1eb48d(0x22b)](_0x1eb48d(0x1e0)+(_0x1c8dbc[_0x1eb48d(0x1ea)]||_0x1c8dbc[_0x1eb48d(0x203)]||_0x1c8dbc)),_0x1f6aca[_0x1eb48d(0x18f)](null,_0x371525);}}static['measureWrapper'](_0x23f51a,_0x557991,_0x5ce19a={}){const _0x2d6675=a118_0x2441cc,_0x24a3ea={'InegV':function(_0x22164d){return _0x22164d();}},_0x45a2ed=this;return _0x5ce19a[_0x2d6675(0x1ba)]=_0x24a3ea[_0x2d6675(0x1a1)](getProcessId),_0x5ce19a['testName']=_0x24a3ea[_0x2d6675(0x1a1)](getTestName),_0x5ce19a[_0x2d6675(0x238)]=global[_0x2d6675(0x19a)]&&global[_0x2d6675(0x19a)][_0x2d6675(0x1a9)],function(){const _0x3dfbae=_0x2d6675,_0x22a516=[_0x23f51a,_0x557991,null,_0x5ce19a][_0x3dfbae(0x1d8)](arguments);return _0x45a2ed[_0x3dfbae(0x1f2)][_0x3dfbae(0x18f)](_0x45a2ed,_0x22a516);};}static[a118_0x2441cc(0x1bd)](){const _0x473570=a118_0x2441cc,_0x89fdf5=/(^.*)\[(.*)\]$/,_0x2569d1={},_0x5bbe17={},_0x57267c=[],_0x419cd9=this['_measureEvents'][_0x473570(0x1b9)](0x0,this['_measureEvents']['length']);for(const _0x1d6f4f of _0x419cd9){const _0x4034e6=_0x1d6f4f[_0x473570(0x202)][_0x473570(0x212)](_0x89fdf5),_0x383850=Object[_0x473570(0x1a5)]({},_0x1d6f4f);_0x4034e6&&(_0x383850[_0x473570(0x202)]=_0x4034e6[0x1],_0x383850[_0x473570(0x1b5)]=JSON[_0x473570(0x1f9)](_0x4034e6[0x2])),_0x57267c[_0x473570(0x20e)](_0x383850);}return _0x57267c;}static[a118_0x2441cc(0x194)](){const _0x5c2132=a118_0x2441cc,_0xfc0f16={'GEMrC':function(_0x482c31){return _0x482c31();},'tMxPA':function(_0x18f1e4,_0x398016){return _0x18f1e4+_0x398016;},'ruNie':'Error\x20while\x20removing\x20files:\x20','aQCPX':function(_0x2c893e,_0x42ce4a){return _0x2c893e===_0x42ce4a;},'rEQib':function(_0x29ff8a,_0x199fe9){return _0x29ff8a+_0x199fe9;}};try{this[_0x5c2132(0x1c1)]=path[_0x5c2132(0x1e6)](_0xfc0f16[_0x5c2132(0x1f5)](getLogDir),this[_0x5c2132(0x1e3)]);if(fs[_0x5c2132(0x189)](this[_0x5c2132(0x1c1)])){const _0x457579=fs[_0x5c2132(0x221)](this[_0x5c2132(0x1c1)]);for(const _0x52cd1 of _0x457579){fs[_0x5c2132(0x19b)](path[_0x5c2132(0x1e6)](this[_0x5c2132(0x1c1)],_0x52cd1));}}}catch(_0x67b1e7){logger[_0x5c2132(0x22b)](_0xfc0f16['tMxPA'](_0xfc0f16['ruNie'],_0x67b1e7));}if(_0xfc0f16[_0x5c2132(0x1c7)](this[_0x5c2132(0x1da)][_0x5c2132(0x1af)],0x0))return;const _0x261cbc=this[_0x5c2132(0x1bd)](),_0x58217b=JSON['stringify'](_0x261cbc),_0x571c3d=_0xfc0f16[_0x5c2132(0x232)](_0x58217b[_0x5c2132(0x229)](0x1,-0x1),',');fs[_0x5c2132(0x1ec)](this['jsonReportFileName'],_0x571c3d);}static async[a118_0x2441cc(0x1ca)](){const _0x1e7ae7=a118_0x2441cc,_0x3f1d6e={'loizd':function(_0x7b946e){return _0x7b946e();},'cOwYk':function(_0x3660cb,_0x216b22){return _0x3660cb===_0x216b22;},'lLfRL':_0x1e7ae7(0x1bb),'vndPB':_0x1e7ae7(0x19d),'Rcxht':_0x1e7ae7(0x1fe),'USlRr':function(_0x30c7a6,_0x596422){return _0x30c7a6+_0x596422;},'SfEIX':_0x1e7ae7(0x21c),'chIXn':'key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','fPzLI':_0x1e7ae7(0x207),'adSXX':function(_0x577eea,_0x58795e){return _0x577eea>_0x58795e;}};this['jsonReportDirPath']=path[_0x1e7ae7(0x1e6)](_0x3f1d6e[_0x1e7ae7(0x1e4)](getLogDir),this[_0x1e7ae7(0x1e3)]);if(!this['started']||_0x3f1d6e[_0x1e7ae7(0x1cd)](this['_measureEvents'][_0x1e7ae7(0x1af)],0x0))return[];if(!fs[_0x1e7ae7(0x189)](this['jsonReportDirPath']))return this[_0x1e7ae7(0x1da)];const _0x4dab6b=(await fsPromise[_0x1e7ae7(0x1dc)](this[_0x1e7ae7(0x1c1)]))[_0x1e7ae7(0x1e8)](_0x50b4bf=>path[_0x1e7ae7(0x235)](this[_0x1e7ae7(0x1c1)],_0x50b4bf));try{const _0x2df1dc=path[_0x1e7ae7(0x1bc)](this[_0x1e7ae7(0x1c1)]),_0x231449=path['join'](_0x2df1dc,_0x3f1d6e[_0x1e7ae7(0x1fb)]);if(fs[_0x1e7ae7(0x189)](_0x231449))try{await fsPromise[_0x1e7ae7(0x1b2)](_0x231449,fs['constants'][_0x1e7ae7(0x236)]);const _0x43d2b8=await fsPromise[_0x1e7ae7(0x1f6)](_0x231449,_0x3f1d6e[_0x1e7ae7(0x1b0)]),_0x3c5133=JSON[_0x1e7ae7(0x1f9)](_0x43d2b8),_0x683b4e=path[_0x1e7ae7(0x1e6)](this[_0x1e7ae7(0x1c1)],_0x3f1d6e[_0x1e7ae7(0x20b)]);let _0xcfd5d3='';Array['isArray'](_0x3c5133)?_0xcfd5d3=_0x3f1d6e[_0x1e7ae7(0x1b3)](_0x3c5133['map'](_0x872636=>JSON[_0x1e7ae7(0x19c)](_0x872636))[_0x1e7ae7(0x1e6)](','),','):_0xcfd5d3=_0x3f1d6e[_0x1e7ae7(0x1b3)](JSON[_0x1e7ae7(0x19c)](_0x3c5133),','),await fsPromise['writeFile'](_0x683b4e,_0xcfd5d3),_0x4dab6b[_0x1e7ae7(0x20e)](_0x683b4e),await fsPromise[_0x1e7ae7(0x18e)](_0x231449);}catch(_0x3e3d94){logger['info'](util[_0x1e7ae7(0x1eb)](_0x3f1d6e['SfEIX'],_0x3e3d94[_0x1e7ae7(0x1ea)]||_0x3e3d94[_0x1e7ae7(0x203)]||_0x3e3d94));}else logger[_0x1e7ae7(0x1a3)](_0x3f1d6e['chIXn']);}catch(_0x433771){logger['info'](util[_0x1e7ae7(0x1eb)](_0x3f1d6e[_0x1e7ae7(0x1ac)],_0x433771[_0x1e7ae7(0x1ea)]||_0x433771['message']||_0x433771));}let _0x23be55=(await Promise[_0x1e7ae7(0x1ce)](_0x4dab6b['map'](_0x106455=>fsPromise[_0x1e7ae7(0x1f6)](_0x106455,'utf-8'))))[_0x1e7ae7(0x1e8)](_0x41e48e=>'['+_0x41e48e['slice'](0x0,-0x1)+']')['map'](_0x51062d=>JSON[_0x1e7ae7(0x1f9)](_0x51062d))['flat']();return _0x3f1d6e[_0x1e7ae7(0x191)](this[_0x1e7ae7(0x1da)][_0x1e7ae7(0x1af)],0x0)&&(_0x23be55=_0x23be55[_0x1e7ae7(0x1d8)](this[_0x1e7ae7(0x1bd)]())),this['_observer'][_0x1e7ae7(0x1c3)](),_0x23be55;}static['pushErrors'](){const _0x59632b=a118_0x2441cc,_0x10b30c={};_0x10b30c['pIHCY']=function(_0x5b4446,_0x2f82b3){return _0x5b4446===_0x2f82b3;},_0x10b30c[_0x59632b(0x1b4)]=function(_0xcac4af,_0x2bd768){return _0xcac4af+_0x2bd768;};const _0x59afa9=_0x10b30c;if(_0x59afa9[_0x59632b(0x217)](this[_0x59632b(0x233)][_0x59632b(0x1af)],0x0))return;const _0x4cd0a1=JSON[_0x59632b(0x19c)](this['_errorEvents']),_0x3b717f=_0x59afa9['veYsz'](_0x4cd0a1[_0x59632b(0x229)](0x1,-0x1),',');fs['appendFileSync'](this[_0x59632b(0x228)],_0x3b717f);}static['finalizeErrors'](){const _0x5a4e8f=a118_0x2441cc,_0x27faf4={};_0x27faf4['OPReP']=function(_0x377f60,_0x519665){return _0x377f60>_0x519665;};const _0x44b1ee=_0x27faf4;if(this['errorReportFileName']){if(!fs[_0x5a4e8f(0x189)](this[_0x5a4e8f(0x1d4)]))return this[_0x5a4e8f(0x233)];let _0x5ccf5b=fs['readFileSync'](this['errorReportFileName'])[_0x5a4e8f(0x1d9)]();_0x5ccf5b='['+_0x5ccf5b['slice'](0x0,-0x1)+']';let _0x13b8ff=JSON[_0x5a4e8f(0x1f9)](_0x5ccf5b);return _0x44b1ee[_0x5a4e8f(0x188)](this[_0x5a4e8f(0x233)]['length'],0x0)&&(_0x13b8ff=_0x13b8ff[_0x5a4e8f(0x1d8)](this[_0x5a4e8f(0x233)])),fs[_0x5a4e8f(0x19b)](this[_0x5a4e8f(0x1d4)]),_0x13b8ff;}}static[a118_0x2441cc(0x198)](_0x46beb7){const _0x334103=a118_0x2441cc;if(!this['isEnabled']())return;this[_0x334103(0x233)][_0x334103(0x20e)]({'message':_0x46beb7[_0x334103(0x203)],'trace':_0x46beb7[_0x334103(0x1ea)],'code':_0x46beb7[_0x334103(0x22c)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x1c2a98=a118_0x2441cc;try{if(!this['isEnabled']())return;this[_0x1c2a98(0x1f7)][_0x1c2a98(0x1c3)](),this[_0x1c2a98(0x194)](),this[_0x1c2a98(0x210)]();}catch(_0x422dd5){logger[_0x1c2a98(0x22b)](_0x1c2a98(0x1fd)+util[_0x1c2a98(0x1eb)](_0x422dd5));}}static async[a118_0x2441cc(0x225)](){const _0x269172=a118_0x2441cc,_0x29dd6d={'jwmyE':function(_0x1b9ac8,_0x2675c0){return _0x1b9ac8(_0x2675c0);}};await _0x29dd6d[_0x269172(0x1e7)](sleep,0x1e);const _0xd97512=await this[_0x269172(0x1ca)](),_0x5d4812=this[_0x269172(0x1c2)]();if(!this[_0x269172(0x1d3)]()){const _0x37d549={};return _0x37d549['measures']=[],_0x37d549['errors']=[],_0x37d549;}const _0x3ddfde={};return _0x3ddfde['measures']=_0xd97512,_0x3ddfde[_0x269172(0x1de)]=_0x5d4812,_0x3ddfde;}static[a118_0x2441cc(0x22e)](_0x41add5){const _0x709c82=a118_0x2441cc,_0x532479={};_0x532479['hWAwJ']=function(_0x16bae1,_0x27f5fd){return _0x16bae1+_0x27f5fd;},_0x532479[_0x709c82(0x193)]=_0x709c82(0x209);const _0x273f3f=_0x532479,_0x13851c=_0x273f3f['hWAwJ'](_0x41add5,_0x273f3f['aGpAq']);if(this[_0x709c82(0x208)][_0x13851c])return;performance[_0x709c82(0x1f4)](_0x13851c),this['eventsMap'][_0x13851c]=0x1;}static[a118_0x2441cc(0x20a)](_0x785c3b,_0x327158=!![],_0x5eff8d=null,_0x40356d={}){const _0xdbe652=a118_0x2441cc,_0x4216b3={'Hyzpw':function(_0x34e6d7,_0x2a5ae2){return _0x34e6d7+_0x2a5ae2;},'KTSrZ':_0xdbe652(0x1a4),'ryUIb':_0xdbe652(0x209),'wdItJ':function(_0x2b7643,_0x467e9a){return _0x2b7643+_0x467e9a;},'KvNVF':function(_0x488c44){return _0x488c44();}};performance[_0xdbe652(0x1f4)](_0x4216b3[_0xdbe652(0x204)](_0x785c3b,_0x4216b3[_0xdbe652(0x200)])),performance[_0xdbe652(0x1f2)](_0x785c3b,_0x4216b3[_0xdbe652(0x204)](_0x785c3b,_0x4216b3[_0xdbe652(0x1a0)]),_0x4216b3[_0xdbe652(0x1db)](_0x785c3b,_0x4216b3[_0xdbe652(0x200)]));const _0xf9fb79={};_0xf9fb79[_0xdbe652(0x1cf)]=_0x327158,_0xf9fb79[_0xdbe652(0x1c0)]=_0x5eff8d,this[_0xdbe652(0x19f)][_0x785c3b]=Object['assign'](_0xf9fb79,Object[_0xdbe652(0x1a5)](Object[_0xdbe652(0x1a5)]({'worker':_0x4216b3[_0xdbe652(0x1ab)](getProcessId),'platform':global[_0xdbe652(0x19a)]&&global[_0xdbe652(0x19a)][_0xdbe652(0x1a9)],'testName':_0x4216b3[_0xdbe652(0x1ab)](getTestName)},_0x40356d),this[_0xdbe652(0x19f)][_0x785c3b]||{}));}}function a118_0x47fd(){const _0x2380ef=['Hyzpw','path','vIWRP','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','eventsMap','-start','end','Rcxht','function','observe','push','6331611LHwXVq','pushErrors','10XIZHaj','match','Performance\x20report\x20is\x20at\x20','Ekbrd','duration','exports','pIHCY','iTZOV','RFcmz','BNLva','41892DHEZGi','Error\x20processing\x20key-metrics.json:\x20%s','../logger','GYXFb','generateHTMLReport','NgMZG','readdirSync','1078842SLWNzx','false','perf_hooks','finalize','aZhBg','forEach','errorFile','slice','32RWQrxX','debug','code','../processHelper','start','whdVn','generateJSON','mkdirSync','rEQib','_errorEvents','started','resolve','F_OK','BRxfO','platform','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','OPReP','existsSync','performance-own.html','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','readFileSync','cwd','unlink','apply','DYdrZ','adSXX','<h1>Performance\x20Report</h1>','aGpAq','pushPerfMeasures','getEventsFromJSON','nqNcL','zgmJv','captureError','18kApKKr','__platformCaps','unlinkSync','stringify','utf-8','UFHhI','details','ryUIb','InegV','KXcFr','info','-end','assign','performance-report','DmDBV','wgcYX','index','startMonitoring','KvNVF','fPzLI','env','.json','length','vndPB','1107995CGpZFA','access','USlRr','veYsz','meta','Time\x20for\x20','DrmAh','writeFileSync','splice','worker','key-metrics.json','dirname','getCleanedPerfEvents','Loomc','calculateTimeFromEvents','failure','jsonReportDirPath','finalizeErrors','disconnect','uXMNk','4519080nKBsWD','toJSON','aQCPX','getEntries','fs/promises','finalizePerfMeasures','reduce','KThTB','cOwYk','all','success','vAcnf','browserStackCwd','cbKRf','isEnabled','errorReportFileName','1yQbAbz','_events','/performance-report-','concat','toString','_measureEvents','wdItJ','readdir','BROWSERSTACK_SDK_INSTRUMENTATION','errors','entries','error\x20in\x20measure\x20','then','jfIQB','jsonReportDirName','loizd','/error-report-','join','jwmyE','map','jsonReportFileName','stack','format','appendFileSync','winstonLogger','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','buffered','iZDWK','</td><td>','measure','errorReportDirName','mark','GEMrC','readFile','_observer','961130ReErtL','parse','oPjlp','lLfRL','Error\x20in\x20doing\x20csv\x20operations:\x20','Error\x20stopping\x20monitoring\x20','modified-key-metrics.json','jWyJq','KTSrZ','3687498BuOrDQ','name','message'];a118_0x47fd=function(){return _0x2380ef;};return a118_0x47fd();}module[a118_0x2441cc(0x216)]=PerformanceTester;
|
|
1
|
+
const a118_0x41d617=a118_0xd02b;(function(_0x29c318,_0xbdf375){const _0x2e2b60=a118_0xd02b,_0x27084b=_0x29c318();while(!![]){try{const _0x2f1301=-parseInt(_0x2e2b60(0x1f4))/0x1*(-parseInt(_0x2e2b60(0x235))/0x2)+-parseInt(_0x2e2b60(0x22c))/0x3+parseInt(_0x2e2b60(0x210))/0x4*(parseInt(_0x2e2b60(0x24b))/0x5)+-parseInt(_0x2e2b60(0x1be))/0x6+-parseInt(_0x2e2b60(0x21b))/0x7*(-parseInt(_0x2e2b60(0x20f))/0x8)+-parseInt(_0x2e2b60(0x23e))/0x9+-parseInt(_0x2e2b60(0x1ed))/0xa*(-parseInt(_0x2e2b60(0x26a))/0xb);if(_0x2f1301===_0xbdf375)break;else _0x27084b['push'](_0x27084b['shift']());}catch(_0x103b81){_0x27084b['push'](_0x27084b['shift']());}}}(a118_0x2c05,0x503c7));function a118_0x2c05(){const _0x54a2ee=['RSCPp','WQYhs','iYPWk','apply','Error\x20while\x20removing\x20files:\x20','\x20for\x20all\x20processes\x20is\x20','347254EOiviG','unlink','name','false','join','xJnYN','writeFile','stringify','then','3492405vzPnVm','push','../logger','cwd','measure','eWHGA','readFile','fs/promises','path','pushErrors','_errorEvents','modified-key-metrics.json','error-report','18995ChxzNN','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','all','tCKTs','forEach','getCleanedPerfEvents','unlinkSync','entryType','Jvchj','BmJMR','generateJSON','msyek','.json','observe','resolve','flat','btrQh','wbIDu','gPHjr','browserStackCwd','success','rYhbc','-start','</td></tr>','concat','message','errorReportDirName','nYplU','info','assign','BLhFB','379841BioAKi','eventsMap','Uzrsd','rrRAq','gnGqz','toString','</td><td>','error\x20in\x20measure\x20','bsqTp','_events','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','perf_hooks','3691608ZCSdku','writeFileSync','errorFile','failure','start','errors','rFiHN','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','eLPho','gcbPf','generateHTMLReport','jsonReportDirName','utf-8','getPerformance','jsonReportDirPath','finalizePerfMeasures','splice','slice','oJuAc','mark','env','parse','FyicW','util','disconnect','debug','entries','measures','-end','reduce','readFileSync','testName','key-metrics.json','VYscZ','zDMxs','startMonitoring','gKLFU','<h1>Performance\x20Report</h1>','worker','match','_observer','qyTDe','F_OK','exports','isArray','started','Ifvpa','70mTRvvB','qRnco','performance-report','isEnabled','qKRtc','pushPerfMeasures','/error-report-','2NypQRL','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','siulo','Error\x20in\x20writing\x20html\x20','getEventsFromJSON','map','function','vQUYa','PBzKP','appendFileSync','FdBtI','finalize','AMAse','winstonLogger','details','readdirSync','constants','Error\x20stopping\x20monitoring\x20','__platformCaps','_measureEvents','captureError','jcqLJ','hLMbh','length','jsonReportFileName','GYbXb','EPNQI','2895112QcJTXb','512sIHKZB','finalizeErrors','errorReportFileName','stopMonitoring','FhLZe','cNrxA','format','toJSON','XAaPU','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','platform','7vZSiHO','entryTypes','existsSync','getEntries','end','catch','index','calculateTimeFromEvents','dirname','WkfJn','Error\x20in\x20doing\x20csv\x20operations:\x20','rgnpv','calculateTimesFromMultipleFiles','</tbody></table></body></html>','stack','gsqOa','duration','315516UDOzTk','hdlWx','aiQwj'];a118_0x2c05=function(){return _0x54a2ee;};return a118_0x2c05();}function a118_0xd02b(_0xa98902,_0x31b1bf){const _0x2c058=a118_0x2c05();return a118_0xd02b=function(_0xd02bc4,_0x165891){_0xd02bc4=_0xd02bc4-0x1bb;let _0x119e0c=_0x2c058[_0xd02bc4];return _0x119e0c;},a118_0xd02b(_0xa98902,_0x31b1bf);}const fs=require('fs'),fsPromise=require(a118_0x41d617(0x245)),{performance,PerformanceObserver}=require(a118_0x41d617(0x1bd)),path=require(a118_0x41d617(0x246)),util=require(a118_0x41d617(0x1d5)),logger=require(a118_0x41d617(0x240))[a118_0x41d617(0x201)],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a118_0x41d617(0x1e6)];static [a118_0x41d617(0x1bb)]=[];static [a118_0x41d617(0x207)]=[];static [a118_0x41d617(0x248)]=[];static ['started']=![];static [a118_0x41d617(0x1c9)]=a118_0x41d617(0x1ef);static [a118_0x41d617(0x265)]=process[a118_0x41d617(0x1d2)]['browserStackCwd']?path['join'](process['env'][a118_0x41d617(0x25e)],a118_0x41d617(0x24a)):path[a118_0x41d617(0x239)](process[a118_0x41d617(0x241)](),'error-report');static ['errorReportFileName']=this[a118_0x41d617(0x265)]+'/error-report-'+getProcessId()+'.json';static ['details']={};static [a118_0x41d617(0x26b)]={};static[a118_0x41d617(0x1e1)](_0x39e8f3,_0x258cfe=this[a118_0x41d617(0x265)]+a118_0x41d617(0x1f3)+getProcessId()+a118_0x41d617(0x257)){const _0x16ef17=a118_0x41d617,_0x5691f8={'Uzrsd':function(_0x3a450e,_0x5db087){return _0x3a450e===_0x5db087;},'gKLFU':_0x16ef17(0x242),'gnGqz':function(_0x123e2b){return _0x123e2b();},'msyek':function(_0x90e17c){return _0x90e17c();},'WQYhs':function(_0x3e9c5d,_0x139201){return _0x3e9c5d+_0x139201;},'iYPWk':_0x16ef17(0x219),'rgnpv':_0x16ef17(0x1fa)};try{this[_0x16ef17(0x1cc)]=path[_0x16ef17(0x239)](_0x5691f8[_0x16ef17(0x26e)](getLogDir),this[_0x16ef17(0x1c9)]),!_0x39e8f3&&(_0x39e8f3=this[_0x16ef17(0x1cc)]+'/performance-report-'+_0x5691f8[_0x16ef17(0x256)](getProcessId)+_0x16ef17(0x257)),!fs[_0x16ef17(0x21d)](this[_0x16ef17(0x1cc)])&&fs['mkdirSync'](this[_0x16ef17(0x1cc)]);}catch(_0x95b73f){logger[_0x16ef17(0x1d7)](_0x5691f8[_0x16ef17(0x230)](_0x5691f8[_0x16ef17(0x231)],_0x95b73f));}if(this[_0x16ef17(0x1eb)]||!this['isEnabled']())return;this[_0x16ef17(0x1e6)]=new PerformanceObserver(_0x44d872=>{const _0x3a75d1=_0x16ef17;_0x44d872[_0x3a75d1(0x21e)]()[_0x3a75d1(0x24f)](_0x444948=>{const _0xd6855=_0x3a75d1;if(_0x5691f8[_0xd6855(0x26c)](_0x444948[_0xd6855(0x252)],_0x5691f8[_0xd6855(0x1e2)])){let _0x55800e={};if(_0x444948[_0xd6855(0x217)])_0x55800e=_0x444948['toJSON']();else for(const _0x2487cb in _0x444948){_0x55800e[_0x2487cb]=_0x444948[_0x2487cb];}this['details'][_0x444948[_0xd6855(0x237)]]&&(_0x55800e=Object['assign'](_0x55800e,this[_0xd6855(0x202)][_0x444948['name']])),delete this['details'][_0x444948[_0xd6855(0x237)]],this[_0xd6855(0x207)][_0xd6855(0x23f)](_0x55800e);}else this[_0xd6855(0x1bb)][_0xd6855(0x23f)](_0x444948);});});const _0x94f9cf={};_0x94f9cf['buffered']=!![],_0x94f9cf[_0x16ef17(0x21c)]=[_0x5691f8[_0x16ef17(0x226)],_0x5691f8['gKLFU']],this['_observer'][_0x16ef17(0x258)](_0x94f9cf),this['started']=!![],this[_0x16ef17(0x20c)]=_0x39e8f3,this[_0x16ef17(0x212)]=_0x258cfe;}static[a118_0x41d617(0x1cb)](){return performance;}static[a118_0x41d617(0x222)](_0x24dcf4,_0x24c616){const _0x423439=a118_0x41d617,_0x41bf95={};_0x41bf95['qyTDe']=function(_0x53cc2b,_0x3d6cd4){return _0x53cc2b+_0x3d6cd4;},_0x41bf95[_0x423439(0x26d)]=function(_0x203691,_0x149163){return _0x203691||_0x149163;},_0x41bf95[_0x423439(0x25d)]=function(_0x68392b,_0x4dd4d2){return _0x68392b===_0x4dd4d2;};const _0x2d0b11=_0x41bf95,_0x53330b={};if(!_0x24dcf4||_0x2d0b11[_0x423439(0x25d)](_0x24dcf4[_0x423439(0x20b)],0x0))return;_0x24dcf4['map'](_0x29e378=>{const _0x45db63=_0x423439;!_0x53330b[_0x29e378[_0x45db63(0x237)]]&&(_0x53330b[_0x29e378['name']]=0x0),_0x53330b[_0x29e378[_0x45db63(0x237)]]+=_0x29e378['duration'];});const _0x44bd2e=_0x24c616[_0x423439(0x1db)]((_0x19d99d,_0x1d83f3)=>{const _0x5ddaeb=_0x423439;return _0x2d0b11[_0x5ddaeb(0x1e7)](_0x53330b[_0x1d83f3],_0x2d0b11[_0x5ddaeb(0x26d)](_0x19d99d,0x0));},0x0);return _0x44bd2e;}static async[a118_0x41d617(0x227)](_0x5eabc4,_0x33d43d){const _0x563e23=a118_0x41d617,_0x404351={'hLMbh':function(_0x497c9d,_0x24af11){return _0x497c9d+_0x24af11;},'bsqTp':function(_0x12f7f3,_0x22a92e){return _0x12f7f3||_0x22a92e;},'aiQwj':function(_0x30d99a,_0x59c9f3){return _0x30d99a===_0x59c9f3;},'zaIVf':function(_0x2c3edc,_0x7d2efb){return _0x2c3edc(_0x7d2efb);},'GxhYX':function(_0x2519c5,_0x351e4f){return _0x2519c5(_0x351e4f);}};if(!_0x5eabc4||_0x404351[_0x563e23(0x22e)](_0x5eabc4['length'],0x0))return 0x0;const _0x2b582f=[];for(const _0x39736b of _0x5eabc4){const _0x1d58b0=path[_0x563e23(0x239)]('.',_0x39736b);try{const _0x4e2a85=this[_0x563e23(0x1f8)](_0x1d58b0);_0x4e2a85['map'](_0x11a26b=>{const _0x3b58c4=_0x563e23;!_0x2b582f[_0x11a26b[_0x3b58c4(0x237)]]&&(_0x2b582f[_0x11a26b['name']]=0x0),_0x2b582f[_0x11a26b['name']]+=_0x11a26b[_0x3b58c4(0x22b)];});}catch(_0x1c8815){_0x404351['zaIVf'](debug,_0x563e23(0x225)+_0x1c8815[_0x563e23(0x26f)]());}}const _0x592e17=_0x33d43d['reduce']((_0x592dad,_0x40b14)=>{const _0xa9cbd1=_0x563e23;return _0x404351[_0xa9cbd1(0x20a)](_0x2b582f[_0x40b14],_0x404351[_0xa9cbd1(0x272)](_0x592dad,0x0));},0x0);return _0x404351['GxhYX'](debug,'Time\x20for\x20'+_0x33d43d+_0x563e23(0x234)+_0x592e17),_0x592e17;}static['getEventsFromJSON'](_0xc1ccba){const _0x930f76=a118_0x41d617;if(_0xc1ccba){if(!fs[_0x930f76(0x21d)](_0xc1ccba))return[];return JSON[_0x930f76(0x1d3)](fs[_0x930f76(0x1dc)](_0xc1ccba)[_0x930f76(0x26f)]());}}static async['stopAndGenerate'](_0x4e43e6='performance-own.html',_0x34e718=null){const _0xa0a19d=a118_0x41d617,_0x2bba74={'XAaPU':function(_0x4b0313,_0x5dea2a){return _0x4b0313(_0x5dea2a);},'YcOKU':function(_0x1d566f,_0x3854d9){return _0x1d566f(_0x3854d9);}};if(!this[_0xa0a19d(0x1eb)])return;await _0x2bba74['YcOKU'](sleep,0x1e),this[_0xa0a19d(0x1e6)][_0xa0a19d(0x1d6)](),this[_0xa0a19d(0x1eb)]=![],this['generateJSON'](this[_0xa0a19d(0x1bb)]);const _0x1d32ab=this[_0xa0a19d(0x1c8)](this[_0xa0a19d(0x1bb)]),_0x180b6f=path[_0xa0a19d(0x239)](process[_0xa0a19d(0x241)](),_0x4e43e6);fs[_0xa0a19d(0x23b)](_0x180b6f,_0x1d32ab,_0x5d3204=>{const _0x5cae7d=_0xa0a19d;if(_0x5d3204){_0x2bba74[_0x5cae7d(0x218)](debug,_0x5cae7d(0x1f7)+_0x5d3204[_0x5cae7d(0x26f)]());return;}_0x2bba74[_0x5cae7d(0x218)](debug,'Performance\x20report\x20is\x20at\x20'+_0x180b6f);});if(_0x34e718)return this[_0xa0a19d(0x222)](this[_0xa0a19d(0x1bb)],_0x34e718);}static[a118_0x41d617(0x1c8)](_0x12acb6){const _0x413a7f=a118_0x41d617,_0x1a1a11={};_0x1a1a11[_0x413a7f(0x25b)]=_0x413a7f(0x24c),_0x1a1a11[_0x413a7f(0x1c6)]=_0x413a7f(0x1e3),_0x1a1a11[_0x413a7f(0x22a)]=_0x413a7f(0x1f5),_0x1a1a11[_0x413a7f(0x1ee)]=_0x413a7f(0x228);const _0x289c21=_0x1a1a11;let _0x581024=_0x289c21[_0x413a7f(0x25b)];return _0x581024+=_0x289c21[_0x413a7f(0x1c6)],_0x581024+=_0x289c21['gsqOa'],_0x12acb6[_0x413a7f(0x24f)](_0x4e1ba0=>{const _0x1e2551=_0x413a7f;_0x581024+='<tr><td>'+_0x4e1ba0[_0x1e2551(0x237)]+_0x1e2551(0x270)+_0x4e1ba0[_0x1e2551(0x22b)]+_0x1e2551(0x262);}),_0x581024+=_0x289c21[_0x413a7f(0x1ee)],_0x581024;}static[a118_0x41d617(0x255)](_0x25f727){const _0x2e59c7=a118_0x41d617;if(!this[_0x2e59c7(0x20c)])return;const _0x1b26ec={};_0x25f727[_0x2e59c7(0x1f9)](_0x2d3a02=>{const _0x4fb0cd=_0x2e59c7;!_0x1b26ec[_0x2d3a02[_0x4fb0cd(0x237)]]&&(_0x1b26ec[_0x2d3a02[_0x4fb0cd(0x237)]]=0x0),_0x1b26ec[_0x2d3a02[_0x4fb0cd(0x237)]]+=_0x2d3a02[_0x4fb0cd(0x22b)];});const _0x3ab5f7=Object[_0x2e59c7(0x1d8)](_0x1b26ec)[_0x2e59c7(0x1f9)](([_0x54fb79,_0x280f77])=>{const _0x4c0409=_0x2e59c7,_0x3d0efd={};return _0x3d0efd['name']=_0x54fb79,_0x3d0efd[_0x4c0409(0x22b)]=_0x280f77,_0x3d0efd;});fs[_0x2e59c7(0x1bf)](this[_0x2e59c7(0x20c)],JSON[_0x2e59c7(0x23c)](_0x3ab5f7));}static['isEnabled'](){const _0x3cb642=a118_0x41d617,_0x248513={};_0x248513[_0x3cb642(0x215)]=function(_0x119b23,_0x21a89d){return _0x119b23===_0x21a89d;},_0x248513[_0x3cb642(0x209)]=_0x3cb642(0x238);const _0x2458e0=_0x248513;return!_0x2458e0[_0x3cb642(0x215)](process[_0x3cb642(0x1d2)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x2458e0['jcqLJ']);}static['measure'](_0x3a9ac1,_0x484cd4,_0x440a95=null,_0x8048f6={},_0x19838d=null){const _0x39d582=a118_0x41d617,_0x1af9dd={'hdlWx':function(_0x5ecc0e,_0x1dd110){return _0x5ecc0e(_0x1dd110);},'FhLZe':function(_0x4f4f23,_0x3f856e){return _0x4f4f23 instanceof _0x3f856e;}};try{if(this[_0x39d582(0x1eb)]&&this['isEnabled']()){let _0x3e5bac=_0x3a9ac1;_0x440a95&&(_0x3e5bac=_0x3a9ac1+'['+JSON[_0x39d582(0x23c)](_0x440a95)+']');PerformanceTester[_0x39d582(0x1c2)](_0x3e5bac),this['details']&&(this[_0x39d582(0x202)][_0x3e5bac]=_0x8048f6);try{const _0x5c6bfb=_0x484cd4[_0x39d582(0x232)](null,_0x19838d);if(_0x1af9dd[_0x39d582(0x214)](_0x5c6bfb,Promise))return new Promise((_0x420d9c,_0x1b26c0)=>{const _0x227b15=_0x39d582,_0x4c689e={'HsEDq':function(_0x3e787b,_0x42d6f9){const _0xeede3e=a118_0xd02b;return _0x1af9dd[_0xeede3e(0x22d)](_0x3e787b,_0x42d6f9);}};_0x5c6bfb[_0x227b15(0x23d)](_0x243fac=>{const _0x50b6f8=_0x227b15;PerformanceTester[_0x50b6f8(0x21f)](_0x3e5bac),_0x4c689e['HsEDq'](_0x420d9c,_0x243fac);})[_0x227b15(0x220)](_0x711ae0=>{const _0xf63672=_0x227b15;PerformanceTester[_0xf63672(0x21f)](_0x3e5bac,![],util['format'](_0x711ae0)),_0x1af9dd[_0xf63672(0x22d)](_0x1b26c0,_0x711ae0);});});;return PerformanceTester['end'](_0x3e5bac),_0x5c6bfb;}catch(_0x40558a){PerformanceTester['end'](_0x3e5bac,![],util[_0x39d582(0x216)](_0x40558a));throw _0x40558a;}};return _0x484cd4[_0x39d582(0x232)](null,_0x19838d);}catch(_0xc21033){return logger['debug'](_0x39d582(0x271)+(_0xc21033['stack']||_0xc21033[_0x39d582(0x264)]||_0xc21033)),_0x484cd4['apply'](null,_0x19838d);}}static['measureWrapper'](_0x22c74c,_0x300ee7,_0x4adf45={}){const _0x520e32=a118_0x41d617,_0x268353={'Jvchj':function(_0x1cf0f4){return _0x1cf0f4();}},_0x41890e=this;return _0x4adf45[_0x520e32(0x1e4)]=_0x268353['Jvchj'](getProcessId),_0x4adf45[_0x520e32(0x1dd)]=_0x268353[_0x520e32(0x253)](getTestName),_0x4adf45[_0x520e32(0x21a)]=global['__platformCaps']&&global[_0x520e32(0x206)][_0x520e32(0x221)],function(){const _0x461c35=_0x520e32,_0x9a2067=[_0x22c74c,_0x300ee7,null,_0x4adf45][_0x461c35(0x263)](arguments);return _0x41890e[_0x461c35(0x242)][_0x461c35(0x232)](_0x41890e,_0x9a2067);};}static[a118_0x41d617(0x250)](){const _0x2716ab=a118_0x41d617,_0x2475e0=/(^.*)\[(.*)\]$/,_0x3f6c0a={},_0x27f633={},_0x2c2b4b=[],_0x18c426=this[_0x2716ab(0x207)][_0x2716ab(0x1ce)](0x0,this[_0x2716ab(0x207)][_0x2716ab(0x20b)]);for(const _0x45479d of _0x18c426){const _0x51f8f7=_0x45479d[_0x2716ab(0x237)][_0x2716ab(0x1e5)](_0x2475e0),_0x1bc79f=Object['assign']({},_0x45479d);_0x51f8f7&&(_0x1bc79f[_0x2716ab(0x237)]=_0x51f8f7[0x1],_0x1bc79f['meta']=JSON['parse'](_0x51f8f7[0x2])),_0x2c2b4b[_0x2716ab(0x23f)](_0x1bc79f);}return _0x2c2b4b;}static[a118_0x41d617(0x1f2)](){const _0x29c56f=a118_0x41d617,_0x139477={'GYbXb':function(_0x3e874a){return _0x3e874a();},'siulo':function(_0x5e8ea0,_0x3a4497){return _0x5e8ea0+_0x3a4497;},'BLhFB':_0x29c56f(0x233),'RSCPp':function(_0x30e7c0,_0x372f94){return _0x30e7c0===_0x372f94;}};try{this['jsonReportDirPath']=path[_0x29c56f(0x239)](_0x139477[_0x29c56f(0x20d)](getLogDir),this[_0x29c56f(0x1c9)]);if(fs[_0x29c56f(0x21d)](this['jsonReportDirPath'])){const _0x4e5e91=fs[_0x29c56f(0x203)](this['jsonReportDirPath']);for(const _0x476100 of _0x4e5e91){fs[_0x29c56f(0x251)](path[_0x29c56f(0x239)](this[_0x29c56f(0x1cc)],_0x476100));}}}catch(_0x2d670d){logger[_0x29c56f(0x1d7)](_0x139477['siulo'](_0x139477[_0x29c56f(0x269)],_0x2d670d));}if(_0x139477[_0x29c56f(0x22f)](this[_0x29c56f(0x207)]['length'],0x0))return;const _0x16d46=this[_0x29c56f(0x250)](),_0x5865fc=JSON[_0x29c56f(0x23c)](_0x16d46),_0x416df3=_0x139477[_0x29c56f(0x1f6)](_0x5865fc[_0x29c56f(0x1cf)](0x1,-0x1),',');fs[_0x29c56f(0x1fd)](this['jsonReportFileName'],_0x416df3);}static async[a118_0x41d617(0x1cd)](){const _0x5187f5=a118_0x41d617,_0x1b59b3={'DiXyk':function(_0x3188a6){return _0x3188a6();},'AMAse':function(_0x36504e,_0x1894ba){return _0x36504e===_0x1894ba;},'qKRtc':_0x5187f5(0x1de),'Ifvpa':_0x5187f5(0x1ca),'eWHGA':_0x5187f5(0x249),'VYscZ':function(_0x479e1b,_0x1944f9){return _0x479e1b+_0x1944f9;},'EPNQI':function(_0x2ec2e0,_0x30c477){return _0x2ec2e0+_0x30c477;},'zDMxs':'Error\x20processing\x20key-metrics.json:\x20%s','gcbPf':_0x5187f5(0x1c5),'FyicW':_0x5187f5(0x1bc),'FdBtI':function(_0x171bd4,_0x2ed15f){return _0x171bd4>_0x2ed15f;}};this['jsonReportDirPath']=path[_0x5187f5(0x239)](_0x1b59b3['DiXyk'](getLogDir),this['jsonReportDirName']);if(!this['started']||_0x1b59b3[_0x5187f5(0x200)](this[_0x5187f5(0x207)][_0x5187f5(0x20b)],0x0))return[];if(!fs[_0x5187f5(0x21d)](this[_0x5187f5(0x1cc)]))return this['_measureEvents'];const _0x3e2130=(await fsPromise['readdir'](this[_0x5187f5(0x1cc)]))[_0x5187f5(0x1f9)](_0x58c9d6=>path[_0x5187f5(0x259)](this[_0x5187f5(0x1cc)],_0x58c9d6));try{const _0x4f254d=path[_0x5187f5(0x223)](this['jsonReportDirPath']),_0x3168e9=path[_0x5187f5(0x239)](_0x4f254d,_0x1b59b3[_0x5187f5(0x1f1)]);if(fs[_0x5187f5(0x21d)](_0x3168e9))try{await fsPromise['access'](_0x3168e9,fs[_0x5187f5(0x204)][_0x5187f5(0x1e8)]);const _0xa1f2a0=await fsPromise[_0x5187f5(0x244)](_0x3168e9,_0x1b59b3[_0x5187f5(0x1ec)]),_0x59bfaf=JSON[_0x5187f5(0x1d3)](_0xa1f2a0),_0xb3b549=path['join'](this[_0x5187f5(0x1cc)],_0x1b59b3[_0x5187f5(0x243)]);let _0x13b01d='';Array[_0x5187f5(0x1ea)](_0x59bfaf)?_0x13b01d=_0x1b59b3[_0x5187f5(0x1df)](_0x59bfaf[_0x5187f5(0x1f9)](_0x357a9c=>JSON[_0x5187f5(0x23c)](_0x357a9c))[_0x5187f5(0x239)](','),','):_0x13b01d=_0x1b59b3[_0x5187f5(0x20e)](JSON[_0x5187f5(0x23c)](_0x59bfaf),','),await fsPromise[_0x5187f5(0x23b)](_0xb3b549,_0x13b01d),_0x3e2130['push'](_0xb3b549),await fsPromise[_0x5187f5(0x236)](_0x3168e9);}catch(_0x207a5d){logger[_0x5187f5(0x267)](util[_0x5187f5(0x216)](_0x1b59b3[_0x5187f5(0x1e0)],_0x207a5d[_0x5187f5(0x229)]||_0x207a5d['message']||_0x207a5d));}else logger['info'](_0x1b59b3[_0x5187f5(0x1c7)]);}catch(_0x545df0){logger[_0x5187f5(0x267)](util['format'](_0x1b59b3[_0x5187f5(0x1d4)],_0x545df0[_0x5187f5(0x229)]||_0x545df0[_0x5187f5(0x264)]||_0x545df0));}let _0x5e1900=(await Promise[_0x5187f5(0x24d)](_0x3e2130['map'](_0x405885=>fsPromise['readFile'](_0x405885,_0x5187f5(0x1ca)))))['map'](_0x197a58=>'['+_0x197a58['slice'](0x0,-0x1)+']')[_0x5187f5(0x1f9)](_0x4544df=>JSON[_0x5187f5(0x1d3)](_0x4544df))[_0x5187f5(0x25a)]();return _0x1b59b3[_0x5187f5(0x1fe)](this[_0x5187f5(0x207)][_0x5187f5(0x20b)],0x0)&&(_0x5e1900=_0x5e1900[_0x5187f5(0x263)](this[_0x5187f5(0x250)]())),this[_0x5187f5(0x1e6)][_0x5187f5(0x1d6)](),_0x5e1900;}static['pushErrors'](){const _0x3f9529=a118_0x41d617,_0x367a12={};_0x367a12[_0x3f9529(0x260)]=function(_0x23f407,_0x4d2d15){return _0x23f407===_0x4d2d15;},_0x367a12['oJuAc']=function(_0x2f9697,_0x3493f6){return _0x2f9697+_0x3493f6;};const _0x2bafcd=_0x367a12;if(_0x2bafcd[_0x3f9529(0x260)](this['_errorEvents'][_0x3f9529(0x20b)],0x0))return;const _0x1ef729=JSON[_0x3f9529(0x23c)](this['_errorEvents']),_0x1c7e25=_0x2bafcd[_0x3f9529(0x1d0)](_0x1ef729[_0x3f9529(0x1cf)](0x1,-0x1),',');fs['appendFileSync'](this[_0x3f9529(0x1c0)],_0x1c7e25);}static['finalizeErrors'](){const _0x39536b=a118_0x41d617,_0x4c10fb={};_0x4c10fb[_0x39536b(0x23a)]=function(_0x2e3605,_0x2bf3d7){return _0x2e3605>_0x2bf3d7;};const _0x8736ab=_0x4c10fb;if(this['errorReportFileName']){if(!fs[_0x39536b(0x21d)](this[_0x39536b(0x212)]))return this['_errorEvents'];let _0x49c346=fs['readFileSync'](this[_0x39536b(0x212)])['toString']();_0x49c346='['+_0x49c346['slice'](0x0,-0x1)+']';let _0x474da1=JSON[_0x39536b(0x1d3)](_0x49c346);return _0x8736ab[_0x39536b(0x23a)](this['_errorEvents']['length'],0x0)&&(_0x474da1=_0x474da1[_0x39536b(0x263)](this[_0x39536b(0x248)])),fs[_0x39536b(0x251)](this[_0x39536b(0x212)]),_0x474da1;}}static[a118_0x41d617(0x208)](_0x42529b){const _0x53d5a1=a118_0x41d617;if(!this['isEnabled']())return;this['_errorEvents'][_0x53d5a1(0x23f)]({'message':_0x42529b[_0x53d5a1(0x264)],'trace':_0x42529b[_0x53d5a1(0x229)],'code':_0x42529b['code']||null,'time':new Date()});}static[a118_0x41d617(0x213)](){const _0x5303a7=a118_0x41d617;try{if(!this[_0x5303a7(0x1f0)]())return;this[_0x5303a7(0x1e6)]['disconnect'](),this[_0x5303a7(0x1f2)](),this[_0x5303a7(0x247)]();}catch(_0x5a56ae){logger[_0x5303a7(0x1d7)](_0x5303a7(0x205)+util['format'](_0x5a56ae));}}static async[a118_0x41d617(0x1ff)](){const _0x5b1a4b=a118_0x41d617,_0x484596={'BmJMR':function(_0x200e95,_0x3bedad){return _0x200e95(_0x3bedad);}};await _0x484596[_0x5b1a4b(0x254)](sleep,0x1e);const _0x375549=await this[_0x5b1a4b(0x1cd)](),_0x18f4b0=this[_0x5b1a4b(0x211)]();if(!this['isEnabled']()){const _0x1efb2f={};return _0x1efb2f[_0x5b1a4b(0x1d9)]=[],_0x1efb2f[_0x5b1a4b(0x1c3)]=[],_0x1efb2f;}const _0x466636={};return _0x466636[_0x5b1a4b(0x1d9)]=_0x375549,_0x466636[_0x5b1a4b(0x1c3)]=_0x18f4b0,_0x466636;}static[a118_0x41d617(0x1c2)](_0x55e138){const _0x854afe=a118_0x41d617,_0x34a57e={};_0x34a57e['wbIDu']=function(_0x253a02,_0x2b22df){return _0x253a02+_0x2b22df;},_0x34a57e[_0x854afe(0x1c4)]='-start';const _0x4b0b34=_0x34a57e,_0x492235=_0x4b0b34[_0x854afe(0x25c)](_0x55e138,_0x4b0b34[_0x854afe(0x1c4)]);if(this[_0x854afe(0x26b)][_0x492235])return;performance[_0x854afe(0x1d1)](_0x492235),this[_0x854afe(0x26b)][_0x492235]=0x1;}static[a118_0x41d617(0x21f)](_0x2d6ea6,_0x52452b=!![],_0x3e8d8c=null,_0x2f782a={}){const _0x4c557a=a118_0x41d617,_0x5c2a7b={'tCKTs':function(_0x4630ab,_0x42e183){return _0x4630ab+_0x42e183;},'WkfJn':_0x4c557a(0x1da),'nYplU':_0x4c557a(0x261),'vQUYa':function(_0x459ca4){return _0x459ca4();},'PBzKP':function(_0x10e822){return _0x10e822();}};performance[_0x4c557a(0x1d1)](_0x5c2a7b[_0x4c557a(0x24e)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x224)])),performance[_0x4c557a(0x242)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x24e)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x266)]),_0x5c2a7b[_0x4c557a(0x24e)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x224)]));const _0x4aa760={};_0x4aa760[_0x4c557a(0x25f)]=_0x52452b,_0x4aa760[_0x4c557a(0x1c1)]=_0x3e8d8c,this[_0x4c557a(0x202)][_0x2d6ea6]=Object[_0x4c557a(0x268)](_0x4aa760,Object[_0x4c557a(0x268)](Object[_0x4c557a(0x268)]({'worker':_0x5c2a7b[_0x4c557a(0x1fb)](getProcessId),'platform':global[_0x4c557a(0x206)]&&global[_0x4c557a(0x206)][_0x4c557a(0x221)],'testName':_0x5c2a7b[_0x4c557a(0x1fc)](getTestName)},_0x2f782a),this[_0x4c557a(0x202)][_0x2d6ea6]||{}));}}module[a118_0x41d617(0x1e9)]=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119_0x2248a3=a119_0x4ecb;(function(_0x5004f3,_0x35eec6){const _0x2884e1=a119_0x4ecb,_0xa36dec=_0x5004f3();while(!![]){try{const _0x337bac=parseInt(_0x2884e1(0x204))/0x1+parseInt(_0x2884e1(0x1c6))/0x2+parseInt(_0x2884e1(0x201))/0x3*(parseInt(_0x2884e1(0x1f3))/0x4)+parseInt(_0x2884e1(0x1b9))/0x5+-parseInt(_0x2884e1(0x1f0))/0x6+parseInt(_0x2884e1(0x20d))/0x7*(parseInt(_0x2884e1(0x20e))/0x8)+-parseInt(_0x2884e1(0x1e2))/0x9;if(_0x337bac===_0x35eec6)break;else _0xa36dec['push'](_0xa36dec['shift']());}catch(_0x3012b5){_0xa36dec['push'](_0xa36dec['shift']());}}}(a119_0x58b4,0x66e7b));function a119_0x58b4(){const _0x3d284b=['getPlaywrightModulePath','setBrowserstackConfig','4779ftTyaX','Could\x20not\x20import\x20GrpcClient:\x20','browserName','409130xMTmIh','bCQhp','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','browser','Qespd','entries','emEyu','No\x20modified\x20config\x20received\x20from\x20gRPC','setFrameworkDetail','42kMMtgb','181400sRpCnl','__accessibilityOptions','okwGJ','Detected\x20Playwright\x20version\x20','getPlaywrightConfig','client','mRKDb','browserstack.accessibilityOptions.wcagVersion','ubDpf','bstack:options','\x20for\x20','getConfig','Error\x20getting\x20Playwright\x20BrowserType:\x20','browserType.js','sRElp','projects','browserstack.accessibilityOptions.scannerVersion','BS_A11Y_JWT','3804430cACLny','message','../bin/utils/constants','Mdtlo','getPlaywrightBrowserType','env','exports','Received\x20modified\x20config\x20from\x20gRPC:\x20','asHSP','UQMNV','EIrKb','bootstrap','nhIEl','955898SjCsTH','format','chrome','\x20flow','browserstack.accessibilityOptions.scannerProcessingTimeout','iZXhW','framework','uKGlO','length','nwxcV','XmezS','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','BROWSERSTACK_PRODUCT_MAP','XfLLT','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','sENXo','cucumberjs-pw','Dzicp','getBrowserTypePath','PVGYM','W3CMapping','xpMcx','isArray','OyBcr','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','debug','TmdUL','platformCaps','17284608XMAqaJ','zvLcJ','Playwright\x20not\x20available:\x20','ghSZP','stringify','wcxBQ','./testhub/utils','./helper','capabilities','getInstance','__launchCaps','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','workers','./w3cMapping','1020030gPLqrw','browserstack.testhubBuildUuid','FeNtn','1828DOjlpd','PLAYWRIGHT','join','browserstack.accessibilityOptions.authToken','getModifiedConfigFromCLI','browserstack.buildProductMap','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','use','getBuildProductMap','importFileFromPWCore','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','config'];a119_0x58b4=function(){return _0x3d284b;};return a119_0x58b4();}const path=require('path'),util=require('util'),{importFileFromPWCore}=require('./helper'),helper=require(a119_0x2248a3(0x1e9)),logger=require('./logger')['winstonLogger'],W3CMapping=require(a119_0x2248a3(0x1ef))[a119_0x2248a3(0x1da)](),constants=require(a119_0x2248a3(0x1bb)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a119_0x498e71){logger[a119_0x2248a3(0x1df)](a119_0x2248a3(0x202)+a119_0x498e71[a119_0x2248a3(0x1ba)]),GrpcClient=null;}function a119_0x4ecb(_0x3350c5,_0x204250){const _0x58b4c0=a119_0x58b4();return a119_0x4ecb=function(_0x4ecb58,_0x18582c){_0x4ecb58=_0x4ecb58-0x1ac;let _0xad561b=_0x58b4c0[_0x4ecb58];return _0xad561b;},a119_0x4ecb(_0x3350c5,_0x204250);}const convertW3CToJsonWire=_0x107d4c=>{const _0x4381d2=a119_0x2248a3,_0x5013fa={};_0x5013fa[_0x4381d2(0x1dd)]=function(_0x4ffc66,_0x2d5fb1){return _0x4ffc66||_0x2d5fb1;},_0x5013fa[_0x4381d2(0x1d9)]=function(_0x35c114,_0x3dea7b){return _0x35c114===_0x3dea7b;},_0x5013fa[_0x4381d2(0x1cd)]=_0x4381d2(0x1b0),_0x5013fa[_0x4381d2(0x1db)]=function(_0x201f7b,_0x29f9f7){return _0x201f7b in _0x29f9f7;};const _0x2109f1=_0x5013fa,_0x1459f0={};for(const [_0x2f701a,_0x355e85]of Object[_0x4381d2(0x209)](_0x2109f1[_0x4381d2(0x1dd)](_0x107d4c,{}))){if(_0x2109f1[_0x4381d2(0x1d9)](_0x2f701a,_0x2109f1[_0x4381d2(0x1cd)]))continue;let _0x469132=![];for(const [_0x36d79d,_0x805130]of Object['entries'](W3CMapping)){if(_0x2109f1[_0x4381d2(0x1d9)](_0x2f701a,_0x805130)){_0x1459f0[_0x36d79d]=_0x355e85,_0x469132=!![];break;}}!_0x469132&&(_0x1459f0[_0x2f701a]=_0x355e85);}const _0x3eb7bf=_0x107d4c[_0x2109f1[_0x4381d2(0x1cd)]]||{};for(const [_0x2b0a2f,_0x46fd9e]of Object[_0x4381d2(0x209)](_0x3eb7bf)){let _0x432eb4=![];for(const [_0x42d034,_0x268bbc]of Object['entries'](W3CMapping)){if(_0x2109f1[_0x4381d2(0x1d9)](_0x2b0a2f,_0x268bbc)){_0x1459f0[_0x42d034]=_0x46fd9e,_0x432eb4=!![];break;}}!_0x432eb4&&!_0x2109f1['xpMcx'](_0x2b0a2f,_0x1459f0)&&(_0x1459f0[_0x2b0a2f]=_0x46fd9e);}return logger[_0x4381d2(0x1df)]('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0x4381d2(0x1e6)](_0x1459f0)),_0x1459f0;},getModifiedConfigFromCLI=async _0x49b483=>{const _0x30e4b7=a119_0x2248a3,_0x154628={};_0x154628[_0x30e4b7(0x1e3)]=_0x30e4b7(0x1de),_0x154628['DtOyH']=_0x30e4b7(0x1d6),_0x154628['gJOdB']=_0x30e4b7(0x206),_0x154628[_0x30e4b7(0x208)]=_0x30e4b7(0x20b),_0x154628['XfLLT']=function(_0x5013c4,_0x382590){return _0x5013c4>_0x382590;},_0x154628[_0x30e4b7(0x1c5)]=function(_0x4f00d0,_0x54e2bb){return _0x4f00d0>_0x54e2bb;},_0x154628[_0x30e4b7(0x1c1)]=_0x30e4b7(0x1f9);const _0x42a242=_0x154628;try{if(!GrpcClient)return logger[_0x30e4b7(0x1df)](_0x42a242[_0x30e4b7(0x1e3)]),null;const _0x5eb62f={};_0x5eb62f[_0x30e4b7(0x1ea)]=_0x49b483,_0x5eb62f[_0x30e4b7(0x1cc)]=_0x42a242['DtOyH'],_0x5eb62f[_0x30e4b7(0x1ee)]=0x1,_0x5eb62f['projects']=[];const _0x122083=_0x5eb62f;logger[_0x30e4b7(0x1df)](_0x42a242['gJOdB']);const _0x1b659b={};_0x1b659b['playwrightConfigObject']=_0x122083;const _0x569d69=await GrpcClient[_0x30e4b7(0x1eb)]()[_0x30e4b7(0x212)](_0x1b659b);if(!_0x569d69[_0x30e4b7(0x1b2)]())return logger[_0x30e4b7(0x1df)](_0x42a242[_0x30e4b7(0x208)]),null;const _0x111961=JSON['parse'](_0x569d69[_0x30e4b7(0x1b2)]());logger[_0x30e4b7(0x1df)](_0x30e4b7(0x1c0)+JSON['stringify'](_0x111961));if(_0x111961['capabilities']&&Array[_0x30e4b7(0x1dc)](_0x111961[_0x30e4b7(0x1ea)])&&_0x42a242[_0x30e4b7(0x1d3)](_0x111961[_0x30e4b7(0x1ea)][_0x30e4b7(0x1ce)],0x0))return _0x111961[_0x30e4b7(0x1ea)][0x0];else{if(_0x111961[_0x30e4b7(0x1b6)]&&Array[_0x30e4b7(0x1dc)](_0x111961[_0x30e4b7(0x1b6)])&&_0x42a242[_0x30e4b7(0x1c5)](_0x111961['projects'][_0x30e4b7(0x1ce)],0x0)){const _0x2301eb=_0x111961[_0x30e4b7(0x1b6)][0x0];if(_0x2301eb[_0x30e4b7(0x1fa)]&&_0x2301eb[_0x30e4b7(0x1fa)]['platformCaps'])return _0x2301eb['use'][_0x30e4b7(0x1e1)];}}return logger[_0x30e4b7(0x1df)](_0x42a242[_0x30e4b7(0x1c1)]),null;}catch(_0x54953a){logger['error'](_0x30e4b7(0x1d4)+_0x54953a['message']);throw _0x54953a;}},generatePlaywrightUrl=(_0x34fa4a,_0x38398c)=>{const _0x135eca=a119_0x2248a3,_0x591861={'Riedf':function(_0x13e417,_0x474ca8){return _0x13e417!==_0x474ca8;},'FeNtn':function(_0x23ef9c,_0x1b3469){return _0x23ef9c!==_0x1b3469;},'IxMtV':function(_0x4bb243,_0x28c918){return _0x4bb243!==_0x28c918;},'YqjCw':function(_0x11e75a,_0x163323){return _0x11e75a!==_0x163323;},'PNhNx':function(_0x269069,_0x3452aa){return _0x269069!==_0x3452aa;},'XmezS':function(_0x1efb30,_0x12547a){return _0x1efb30(_0x12547a);},'MxSud':function(_0x590205,_0x1a8105){return _0x590205||_0x1a8105;},'nwxcV':_0x135eca(0x1f6),'pwlUG':function(_0x45f593,_0x3a51d4){return _0x45f593(_0x3a51d4);},'sPwUQ':_0x135eca(0x1ae),'wcxBQ':function(_0x36dfd5,_0x26f8b8){return _0x36dfd5(_0x26f8b8);},'ghSZP':_0x135eca(0x1b7),'okwGJ':_0x135eca(0x1ca),'nngkM':_0x135eca(0x1f1),'TmdUL':_0x135eca(0x1f8),'mRKDb':function(_0x21e059,_0xb8fc43){return _0x21e059+_0xb8fc43;}},_0x5572e4=helper['getPlaywrightUrl'](_0x34fa4a),_0x113424=_0x591861[_0x135eca(0x1d0)](convertW3CToJsonWire,_0x38398c);try{const _0x468b1a=[_0x591861['MxSud'](_0x38398c,{}),global[_0x135eca(0x1ec)]||{},global['__platformCaps']||{},global[_0x135eca(0x20f)]||{}],_0x3ec3f4=_0x3b0af0=>{const _0x4491ed=_0x135eca;if(_0x591861['Riedf'](_0x113424[_0x3b0af0],undefined)&&_0x591861[_0x4491ed(0x1f2)](_0x113424[_0x3b0af0],null)&&_0x591861['IxMtV'](_0x113424[_0x3b0af0],''))return;for(const _0x150a5a of _0x468b1a){if(_0x150a5a&&_0x591861['IxMtV'](_0x150a5a[_0x3b0af0],undefined)&&_0x591861['YqjCw'](_0x150a5a[_0x3b0af0],null)&&_0x591861['PNhNx'](_0x150a5a[_0x3b0af0],'')){_0x113424[_0x3b0af0]=_0x150a5a[_0x3b0af0];return;}}};_0x591861[_0x135eca(0x1d0)](_0x3ec3f4,_0x591861['nwxcV']),_0x591861['pwlUG'](_0x3ec3f4,_0x591861['sPwUQ']),_0x591861[_0x135eca(0x1e7)](_0x3ec3f4,_0x591861[_0x135eca(0x1e5)]),_0x591861[_0x135eca(0x1d0)](_0x3ec3f4,_0x591861[_0x135eca(0x210)]),!_0x113424[_0x591861['nwxcV']]&&process[_0x135eca(0x1be)][_0x135eca(0x1b8)]&&(_0x113424[_0x591861[_0x135eca(0x1cf)]]=process[_0x135eca(0x1be)]['BS_A11Y_JWT']);}catch(_0xffaa37){logger[_0x135eca(0x1df)](_0x135eca(0x1ed)+util['format'](_0xffaa37));}return _0x113424[_0x591861['nngkM']]=process[_0x135eca(0x1be)]['BROWSERSTACK_TESTHUB_UUID'],_0x113424[_0x591861[_0x135eca(0x1e0)]]=helper[_0x135eca(0x1fb)](),_0x591861[_0x135eca(0x1ad)](_0x5572e4,_0x591861[_0x135eca(0x1d0)](encodeURIComponent,JSON['stringify'](_0x113424)));},getBrowserFromCaps=_0x2e9a60=>{const _0x36689e=a119_0x2248a3,_0x1a3be0={};_0x1a3be0[_0x36689e(0x1b5)]=_0x36689e(0x1c8);const _0x2f3210=_0x1a3be0;return _0x2e9a60[_0x36689e(0x203)]||_0x2e9a60[_0x36689e(0x207)]||_0x2f3210['sRElp'];},isPlaywrightAvailable=()=>{const _0x140222=a119_0x2248a3,_0x4b9def={'eCsQC':'lib','bCQhp':_0x140222(0x1ac),'EIrKb':_0x140222(0x1b4),'LwpIn':function(_0x58f214,_0x5bb383){return _0x58f214(_0x5bb383);}};try{const _0x873b0c=path['join'](_0x4b9def['eCsQC'],_0x4b9def[_0x140222(0x205)],_0x4b9def[_0x140222(0x1c3)]),_0x5047ac=_0x4b9def['LwpIn'](importFileFromPWCore,_0x873b0c);return!!_0x5047ac;}catch(_0x4572e7){return logger[_0x140222(0x1df)](_0x140222(0x1e4)+util[_0x140222(0x1c7)](_0x4572e7)),![];}},getPlaywrightBrowserType=()=>{const _0x51db98=a119_0x2248a3,_0x3e7953={'ypwaS':'lib','sENXo':'client','Mdtlo':_0x51db98(0x1b4),'ubDpf':function(_0x31ec72,_0x15add9){return _0x31ec72(_0x15add9);}};try{const _0x2e2fc3=path[_0x51db98(0x1f5)](_0x3e7953['ypwaS'],_0x3e7953[_0x51db98(0x1d5)],_0x3e7953[_0x51db98(0x1bc)]),_0x37f540=_0x3e7953[_0x51db98(0x1af)](importFileFromPWCore,_0x2e2fc3);return _0x37f540?_0x37f540['BrowserType']:null;}catch(_0x51c569){return logger['debug'](_0x51db98(0x1b3)+util[_0x51db98(0x1c7)](_0x51c569)),null;}},getPlaywrightModulePath=()=>{const _0x56f7d7=a119_0x2248a3,_0x169a21={};_0x169a21[_0x56f7d7(0x20a)]=_0x56f7d7(0x1fd);const _0x209735=_0x169a21;return logger[_0x56f7d7(0x1df)](_0x209735[_0x56f7d7(0x20a)]),null;},getBrowserTypePath=()=>{const _0x2a3157=a119_0x2248a3,_0x4b1319={};_0x4b1319[_0x2a3157(0x1c2)]=_0x2a3157(0x1d1);const _0x3ba70b=_0x4b1319;return logger[_0x2a3157(0x1df)](_0x3ba70b[_0x2a3157(0x1c2)]),null;},checkPwandBootstrapCli=async(_0x21313b,_0x2b7aa9,_0x398b46)=>{const _0x2fa0b9=a119_0x2248a3,_0xf36e61={'iZXhW':function(_0x126840,_0x25f37c){return _0x126840(_0x25f37c);},'Dzicp':_0x2fa0b9(0x1e8)};if(_0x21313b){const _0x3b3ae8=constants['FRAMEWORKS'][_0x2fa0b9(0x1f4)];logger[_0x2fa0b9(0x1df)](_0x2fa0b9(0x211)+_0x21313b+_0x2fa0b9(0x1b1)+_0x2b7aa9+_0x2fa0b9(0x1c9)),CLIUtils[_0x2fa0b9(0x20c)](_0x2b7aa9,_0x3b3ae8);const {getProductMap:_0x37d3e5}=_0xf36e61[_0x2fa0b9(0x1cb)](require,_0xf36e61[_0x2fa0b9(0x1d7)]);process[_0x2fa0b9(0x1be)][_0x2fa0b9(0x1d2)]=JSON[_0x2fa0b9(0x1e6)](_0xf36e61[_0x2fa0b9(0x1cb)](_0x37d3e5,_0x398b46[_0x2fa0b9(0x1fe)])),BrowserstackCLI[_0x2fa0b9(0x1eb)]()[_0x2fa0b9(0x200)](_0x398b46['config'],_0x398b46['cliConfig']),await BrowserstackCLI['getInstance']()[_0x2fa0b9(0x1c4)]();}},a119_0x4b9a31={};a119_0x4b9a31['convertW3CToJsonWire']=convertW3CToJsonWire,a119_0x4b9a31[a119_0x2248a3(0x1f7)]=getModifiedConfigFromCLI,a119_0x4b9a31['generatePlaywrightUrl']=generatePlaywrightUrl,a119_0x4b9a31['getBrowserFromCaps']=getBrowserFromCaps,a119_0x4b9a31['isPlaywrightAvailable']=isPlaywrightAvailable,a119_0x4b9a31[a119_0x2248a3(0x1bd)]=getPlaywrightBrowserType,a119_0x4b9a31[a119_0x2248a3(0x1ff)]=getPlaywrightModulePath,a119_0x4b9a31[a119_0x2248a3(0x1d8)]=getBrowserTypePath,a119_0x4b9a31[a119_0x2248a3(0x1fc)]=importFileFromPWCore,a119_0x4b9a31['checkPwandBootstrapCli']=checkPwandBootstrapCli,module[a119_0x2248a3(0x1bf)]=a119_0x4b9a31;
|
|
1
|
+
const a119_0x43b143=a119_0x4762;(function(_0x1755b3,_0x529f0d){const _0x5c220b=a119_0x4762,_0x2e3fba=_0x1755b3();while(!![]){try{const _0x24be39=-parseInt(_0x5c220b(0x10f))/0x1*(parseInt(_0x5c220b(0xde))/0x2)+-parseInt(_0x5c220b(0xa3))/0x3+parseInt(_0x5c220b(0xad))/0x4+-parseInt(_0x5c220b(0xb5))/0x5*(-parseInt(_0x5c220b(0xe5))/0x6)+-parseInt(_0x5c220b(0xd1))/0x7*(-parseInt(_0x5c220b(0xef))/0x8)+parseInt(_0x5c220b(0xc9))/0x9*(parseInt(_0x5c220b(0xe6))/0xa)+parseInt(_0x5c220b(0xf6))/0xb*(-parseInt(_0x5c220b(0xca))/0xc);if(_0x24be39===_0x529f0d)break;else _0x2e3fba['push'](_0x2e3fba['shift']());}catch(_0x5c4e9d){_0x2e3fba['push'](_0x2e3fba['shift']());}}}(a119_0x17e2,0x7f7b8));function a119_0x17e2(){const _0x255d90=['importFileFromPWCore','generatePlaywrightUrl','W3CMapping','__platformCaps','31129IiXlBg','getBrowserTypePath','exports','OAKDs','util','cliConfig','ihIzT','Playwright\x20not\x20available:\x20','Ryuns','use','browser','browserstack.accessibilityOptions.authToken','Detected\x20Playwright\x20version\x20','82LqpbnD','getConfig','qaHcG','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','config','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','MrtyN','5974686dKkKDd','9608130aSXuuN','debug','YOZOz','browserstack.accessibilityOptions.scannerProcessingTimeout','NdFGa','jUrTt','chrome','browserType.js','../bin/v2/cliUtils','40TOJIVo','checkPwandBootstrapCli','browserstack.testhubBuildUuid','playwrightConfigObject','isPlaywrightAvailable','zpPGH','length','188441BDutKL','parse','lib','BROWSERSTACK_PRODUCT_MAP','KowfK','bstack:options','./helper','__accessibilityOptions','Could\x20not\x20import\x20GrpcClient:\x20','bootstrap','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','rbeWY','__launchCaps','GlyZG','projects','ucmdc','getBrowserFromCaps','BS_A11Y_JWT','isArray','zncYd','getPlaywrightConfig','CPJBC','qvkGc','getPlaywrightBrowserType','entries','9699jiYGQe','browserstack.accessibilityOptions.wcagVersion','ClYop','workers','capabilities','1148934veKOgV','brfiD','./w3cMapping','path','aHmXF','framework','fxijV','WEpFX','\x20for\x20','../bin/utils/constants','516532aCJzNk','hTFhg','\x20flow','qwHWB','setBrowserstackConfig','FRAMEWORKS','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','zjLkn','5BXsHby','HuPhG','IOaQt','BROWSERSTACK_TESTHUB_UUID','./testhub/utils','getInstance','join','aFROU','lDMEL','PopJG','error','BrowserType','format','message','../bin/v2/grpcClient','env','Error\x20getting\x20Playwright\x20BrowserType:\x20','client','KkZYG','ZWtOz','9UXKcAF','564VmkYXL','stringify','fZfkQ'];a119_0x17e2=function(){return _0x255d90;};return a119_0x17e2();}const path=require(a119_0x43b143(0xa6)),util=require(a119_0x43b143(0xd5)),{importFileFromPWCore}=require(a119_0x43b143(0xfc)),helper=require('./helper'),logger=require('./logger')['winstonLogger'],W3CMapping=require(a119_0x43b143(0xa5))[a119_0x43b143(0xcf)](),constants=require(a119_0x43b143(0xac)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require(a119_0x43b143(0xee));function a119_0x4762(_0x20395d,_0x582184){const _0x17e289=a119_0x17e2();return a119_0x4762=function(_0x47627f,_0x5cc38d){_0x47627f=_0x47627f-0xa3;let _0x27f5b7=_0x17e289[_0x47627f];return _0x27f5b7;},a119_0x4762(_0x20395d,_0x582184);}let GrpcClient;try{GrpcClient=require(a119_0x43b143(0xc3));}catch(a119_0x135ae5){logger[a119_0x43b143(0xe7)](a119_0x43b143(0xfe)+a119_0x135ae5[a119_0x43b143(0xc2)]),GrpcClient=null;}const convertW3CToJsonWire=_0x1bf2c7=>{const _0x1f92b6=a119_0x43b143,_0x3390ff={};_0x3390ff['eCQge']=function(_0x310d6b,_0x3556ba){return _0x310d6b||_0x3556ba;},_0x3390ff['fxijV']=function(_0x164802,_0x27320d){return _0x164802===_0x27320d;},_0x3390ff['hTFhg']=_0x1f92b6(0xfb),_0x3390ff[_0x1f92b6(0x109)]=function(_0x26bcda,_0x581040){return _0x26bcda===_0x581040;},_0x3390ff[_0x1f92b6(0xbe)]=function(_0x18616a,_0xe621f2){return _0x18616a in _0xe621f2;};const _0x5edfc8=_0x3390ff,_0x31fffe={};for(const [_0x3c1c06,_0x36c793]of Object['entries'](_0x5edfc8['eCQge'](_0x1bf2c7,{}))){if(_0x5edfc8[_0x1f92b6(0xa9)](_0x3c1c06,_0x5edfc8[_0x1f92b6(0xae)]))continue;let _0x3bdd58=![];for(const [_0x1f3be2,_0x240513]of Object[_0x1f92b6(0x10e)](W3CMapping)){if(_0x5edfc8[_0x1f92b6(0x109)](_0x3c1c06,_0x240513)){_0x31fffe[_0x1f3be2]=_0x36c793,_0x3bdd58=!![];break;}}!_0x3bdd58&&(_0x31fffe[_0x3c1c06]=_0x36c793);}const _0x399ea5=_0x1bf2c7[_0x5edfc8[_0x1f92b6(0xae)]]||{};for(const [_0x50ea2c,_0x1cd803]of Object[_0x1f92b6(0x10e)](_0x399ea5)){let _0xf6bd04=![];for(const [_0x525b13,_0x278c1f]of Object[_0x1f92b6(0x10e)](W3CMapping)){if(_0x5edfc8[_0x1f92b6(0xa9)](_0x50ea2c,_0x278c1f)){_0x31fffe[_0x525b13]=_0x1cd803,_0xf6bd04=!![];break;}}!_0xf6bd04&&!_0x5edfc8[_0x1f92b6(0xbe)](_0x50ea2c,_0x31fffe)&&(_0x31fffe[_0x50ea2c]=_0x1cd803);}return logger['debug']('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0x1f92b6(0xcb)](_0x31fffe)),_0x31fffe;},getModifiedConfigFromCLI=async _0x14339d=>{const _0x526557=a119_0x43b143,_0xcd8071={};_0xcd8071[_0x526557(0xa7)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0xcd8071[_0x526557(0x105)]='cucumberjs-pw',_0xcd8071[_0x526557(0xfa)]=_0x526557(0x100),_0xcd8071[_0x526557(0x10c)]='No\x20modified\x20config\x20received\x20from\x20gRPC',_0xcd8071[_0x526557(0xaa)]=function(_0x206fa9,_0x26eb9b){return _0x206fa9>_0x26eb9b;},_0xcd8071[_0x526557(0x111)]=function(_0x205a14,_0x561f62){return _0x205a14>_0x561f62;},_0xcd8071[_0x526557(0xbd)]=_0x526557(0xe3);const _0x41d303=_0xcd8071;try{if(!GrpcClient)return logger[_0x526557(0xe7)](_0x41d303[_0x526557(0xa7)]),null;const _0x1cb83e={};_0x1cb83e['capabilities']=_0x14339d,_0x1cb83e[_0x526557(0xa8)]=_0x41d303[_0x526557(0x105)],_0x1cb83e[_0x526557(0x112)]=0x1,_0x1cb83e[_0x526557(0x104)]=[];const _0x3e4bb4=_0x1cb83e;logger[_0x526557(0xe7)](_0x41d303[_0x526557(0xfa)]);const _0x58a337={};_0x58a337[_0x526557(0xf2)]=_0x3e4bb4;const _0xd3b0c6=await GrpcClient['getInstance']()[_0x526557(0x10a)](_0x58a337);if(!_0xd3b0c6[_0x526557(0xdf)]())return logger[_0x526557(0xe7)](_0x41d303[_0x526557(0x10c)]),null;const _0x5e9498=JSON[_0x526557(0xf7)](_0xd3b0c6['getConfig']());logger['debug']('Received\x20modified\x20config\x20from\x20gRPC:\x20'+JSON[_0x526557(0xcb)](_0x5e9498));if(_0x5e9498['capabilities']&&Array['isArray'](_0x5e9498[_0x526557(0x113)])&&_0x41d303[_0x526557(0xaa)](_0x5e9498[_0x526557(0x113)][_0x526557(0xf5)],0x0))return _0x5e9498[_0x526557(0x113)][0x0];else{if(_0x5e9498[_0x526557(0x104)]&&Array[_0x526557(0x108)](_0x5e9498[_0x526557(0x104)])&&_0x41d303['ClYop'](_0x5e9498[_0x526557(0x104)][_0x526557(0xf5)],0x0)){const _0x3225cd=_0x5e9498[_0x526557(0x104)][0x0];if(_0x3225cd['use']&&_0x3225cd[_0x526557(0xda)]['platformCaps'])return _0x3225cd[_0x526557(0xda)]['platformCaps'];}}return logger[_0x526557(0xe7)](_0x41d303[_0x526557(0xbd)]),null;}catch(_0x1a80d6){logger[_0x526557(0xbf)]('Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20'+_0x1a80d6[_0x526557(0xc2)]);throw _0x1a80d6;}},generatePlaywrightUrl=(_0x13bf17,_0x3f2c47)=>{const _0x3122ed=a119_0x43b143,_0x24545a={'rbeWY':function(_0x4b7976,_0x28cb9f){return _0x4b7976!==_0x28cb9f;},'Ryuns':function(_0x2e2dcb,_0x5c973a){return _0x2e2dcb!==_0x5c973a;},'KkZYG':function(_0x8c387f,_0x13f793){return _0x8c387f!==_0x13f793;},'jUrTt':function(_0xa140c8,_0x52f384){return _0xa140c8(_0x52f384);},'kWFGF':function(_0x5b70ee,_0x1289f3){return _0x5b70ee||_0x1289f3;},'MrtyN':function(_0x31bb00,_0x181f81){return _0x31bb00(_0x181f81);},'GlyZG':_0x3122ed(0xdc),'XmPCO':function(_0x40e34c,_0x1fed73){return _0x40e34c(_0x1fed73);},'sjLxG':_0x3122ed(0x110),'CPJBC':'browserstack.accessibilityOptions.scannerVersion','kwGol':function(_0x29ed87,_0xddccf6){return _0x29ed87(_0xddccf6);},'zpPGH':_0x3122ed(0xe9),'dVexN':_0x3122ed(0xf1),'SPvrP':'browserstack.buildProductMap','qaHcG':function(_0x41db95,_0x33909c){return _0x41db95+_0x33909c;}},_0x435f0b=helper['getPlaywrightUrl'](_0x13bf17),_0x2fdfa4=_0x24545a[_0x3122ed(0xeb)](convertW3CToJsonWire,_0x3f2c47);try{const _0x543e77=[_0x24545a['kWFGF'](_0x3f2c47,{}),global[_0x3122ed(0x102)]||{},global[_0x3122ed(0xd0)]||{},global[_0x3122ed(0xfd)]||{}],_0x2dc779=_0x471245=>{const _0x42851e=_0x3122ed;if(_0x24545a['rbeWY'](_0x2fdfa4[_0x471245],undefined)&&_0x24545a[_0x42851e(0xd9)](_0x2fdfa4[_0x471245],null)&&_0x24545a[_0x42851e(0xc7)](_0x2fdfa4[_0x471245],''))return;for(const _0x2f5863 of _0x543e77){if(_0x2f5863&&_0x24545a['KkZYG'](_0x2f5863[_0x471245],undefined)&&_0x24545a[_0x42851e(0x101)](_0x2f5863[_0x471245],null)&&_0x24545a[_0x42851e(0xc7)](_0x2f5863[_0x471245],'')){_0x2fdfa4[_0x471245]=_0x2f5863[_0x471245];return;}}};_0x24545a['MrtyN'](_0x2dc779,_0x24545a[_0x3122ed(0x103)]),_0x24545a['XmPCO'](_0x2dc779,_0x24545a['sjLxG']),_0x24545a[_0x3122ed(0xe4)](_0x2dc779,_0x24545a[_0x3122ed(0x10b)]),_0x24545a['kwGol'](_0x2dc779,_0x24545a[_0x3122ed(0xf4)]),!_0x2fdfa4[_0x24545a[_0x3122ed(0x103)]]&&process['env'][_0x3122ed(0x107)]&&(_0x2fdfa4[_0x24545a['GlyZG']]=process[_0x3122ed(0xc4)]['BS_A11Y_JWT']);}catch(_0x36cfd6){logger[_0x3122ed(0xe7)](_0x3122ed(0xe1)+util[_0x3122ed(0xc1)](_0x36cfd6));}return _0x2fdfa4[_0x24545a['dVexN']]=process[_0x3122ed(0xc4)][_0x3122ed(0xb8)],_0x2fdfa4[_0x24545a['SPvrP']]=helper['getBuildProductMap'](),_0x24545a[_0x3122ed(0xe0)](_0x435f0b,_0x24545a['XmPCO'](encodeURIComponent,JSON['stringify'](_0x2fdfa4)));},getBrowserFromCaps=_0x258517=>{const _0x2040a7=a119_0x43b143,_0x65e84={};_0x65e84[_0x2040a7(0xd4)]=_0x2040a7(0xec);const _0xd77237=_0x65e84;return _0x258517['browserName']||_0x258517[_0x2040a7(0xdb)]||_0xd77237['OAKDs'];},isPlaywrightAvailable=()=>{const _0x144716=a119_0x43b143,_0x172218={'brfiD':_0x144716(0xf8),'HuPhG':'client','aFROU':_0x144716(0xed),'HgcLB':function(_0x5a03ed,_0x525e94){return _0x5a03ed(_0x525e94);}};try{const _0x524f0d=path[_0x144716(0xbb)](_0x172218[_0x144716(0xa4)],_0x172218[_0x144716(0xb6)],_0x172218[_0x144716(0xbc)]),_0x24529e=_0x172218['HgcLB'](importFileFromPWCore,_0x524f0d);return!!_0x24529e;}catch(_0x5a9ce9){return logger['debug'](_0x144716(0xd8)+util[_0x144716(0xc1)](_0x5a9ce9)),![];}},getPlaywrightBrowserType=()=>{const _0x54e800=a119_0x43b143,_0x5ce4fc={'YOZOz':_0x54e800(0xf8),'ihIzT':_0x54e800(0xc6),'fZfkQ':'browserType.js','qwHWB':function(_0x2a14cc,_0x3c1663){return _0x2a14cc(_0x3c1663);}};try{const _0x37715f=path[_0x54e800(0xbb)](_0x5ce4fc[_0x54e800(0xe8)],_0x5ce4fc[_0x54e800(0xd7)],_0x5ce4fc[_0x54e800(0xcc)]),_0x559803=_0x5ce4fc[_0x54e800(0xb0)](importFileFromPWCore,_0x37715f);return _0x559803?_0x559803[_0x54e800(0xc0)]:null;}catch(_0x3d768a){return logger['debug'](_0x54e800(0xc5)+util[_0x54e800(0xc1)](_0x3d768a)),null;}},getPlaywrightModulePath=()=>{const _0x106f25=a119_0x43b143,_0x38d1aa={};_0x38d1aa[_0x106f25(0xea)]='getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0x365a02=_0x38d1aa;return logger['debug'](_0x365a02[_0x106f25(0xea)]),null;},getBrowserTypePath=()=>{const _0x4a698e=a119_0x43b143,_0x2fab32={};_0x2fab32[_0x4a698e(0xc8)]=_0x4a698e(0xb3);const _0x491e92=_0x2fab32;return logger['debug'](_0x491e92[_0x4a698e(0xc8)]),null;},checkPwandBootstrapCli=async(_0x1d1020,_0xc91e66,_0x5da3ee)=>{const _0xc17e40=a119_0x43b143,_0x48baae={'zjLkn':function(_0x161f2c,_0x10cb19){return _0x161f2c(_0x10cb19);},'IOaQt':_0xc17e40(0xb9)};if(_0x1d1020){const _0x19e2e0=constants[_0xc17e40(0xb2)]['PLAYWRIGHT'];logger[_0xc17e40(0xe7)](_0xc17e40(0xdd)+_0x1d1020+_0xc17e40(0xab)+_0xc91e66+_0xc17e40(0xaf)),CLIUtils['setFrameworkDetail'](_0xc91e66,_0x19e2e0);const {getProductMap:_0xdc5eb9}=_0x48baae[_0xc17e40(0xb4)](require,_0x48baae[_0xc17e40(0xb7)]);process['env'][_0xc17e40(0xf9)]=JSON[_0xc17e40(0xcb)](_0x48baae[_0xc17e40(0xb4)](_0xdc5eb9,_0x5da3ee['config'])),BrowserstackCLI['getInstance']()[_0xc17e40(0xb1)](_0x5da3ee[_0xc17e40(0xe2)],_0x5da3ee[_0xc17e40(0xd6)]),await BrowserstackCLI[_0xc17e40(0xba)]()[_0xc17e40(0xff)]();}},a119_0xc067f7={};a119_0xc067f7['convertW3CToJsonWire']=convertW3CToJsonWire,a119_0xc067f7['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a119_0xc067f7[a119_0x43b143(0xce)]=generatePlaywrightUrl,a119_0xc067f7[a119_0x43b143(0x106)]=getBrowserFromCaps,a119_0xc067f7[a119_0x43b143(0xf3)]=isPlaywrightAvailable,a119_0xc067f7[a119_0x43b143(0x10d)]=getPlaywrightBrowserType,a119_0xc067f7['getPlaywrightModulePath']=getPlaywrightModulePath,a119_0xc067f7[a119_0x43b143(0xd2)]=getBrowserTypePath,a119_0xc067f7[a119_0x43b143(0xcd)]=importFileFromPWCore,a119_0xc067f7[a119_0x43b143(0xf0)]=checkPwandBootstrapCli,module[a119_0x43b143(0xd3)]=a119_0xc067f7;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120_0x1f4cb3=a120_0x424c;function a120_0x424c(_0x5b8e89,_0x285a18){const _0x5b0529=a120_0x5b05();return a120_0x424c=function(_0x424c88,_0x268a5a){_0x424c88=_0x424c88-0xb2;let _0x3fcd32=_0x5b0529[_0x424c88];return _0x3fcd32;},a120_0x424c(_0x5b8e89,_0x285a18);}function a120_0x5b05(){const _0x2983b6=['1939456fHItSt','KjbAo','BROWSERSTACK_OBSERVABILITY_DEBUG','getGlobal','debug','../bin/utils/constants','GIfnM','./logger','CikDF','6itlJpU','BROWSERSTACK_TEST_REPORTING_DEBUG','2kuadCC','255363aVcRqH','ZcppP','11bPEMmL','sleep','env','8221752GvkQWr','getTestName','40qsGGvo','worker_threads','47381AxMyQf','true','toISOString','fXtKt','3594495DnOIhO','3156769HGKWDs','\x20]\x20','28369480UQJNug','pid','./test-observability/constants','threadId','log','][\x20'];a120_0x5b05=function(){return _0x2983b6;};return a120_0x5b05();}(function(_0x2d0a96,_0x452217){const _0x29f56a=a120_0x424c,_0x3c53f8=_0x2d0a96();while(!![]){try{const _0x460424=parseInt(_0x29f56a(0xb3))/0x1*(parseInt(_0x29f56a(0xcb))/0x2)+parseInt(_0x29f56a(0xcc))/0x3*(-parseInt(_0x29f56a(0xd3))/0x4)+-parseInt(_0x29f56a(0xb7))/0x5+-parseInt(_0x29f56a(0xc9))/0x6*(-parseInt(_0x29f56a(0xb8))/0x7)+-parseInt(_0x29f56a(0xc0))/0x8+-parseInt(_0x29f56a(0xd1))/0x9+parseInt(_0x29f56a(0xba))/0xa*(parseInt(_0x29f56a(0xce))/0xb);if(_0x460424===_0x452217)break;else _0x3c53f8['push'](_0x3c53f8['shift']());}catch(_0x3cde90){_0x3c53f8['push'](_0x3c53f8['shift']());}}}(a120_0x5b05,0x94bcb));const worker=require(a120_0x1f4cb3(0xb2)),{fileLogger}=require(a120_0x1f4cb3(0xc7)),{consoleHolder}=require(a120_0x1f4cb3(0xbc)),globals=require('./globals'),constants=require(a120_0x1f4cb3(0xc5));exports['getProcessId']=()=>{const _0x2dba43=a120_0x1f4cb3;return process[_0x2dba43(0xbb)]+'-'+worker[_0x2dba43(0xbd)];},exports[a120_0x1f4cb3(0xd2)]=()=>{const _0x83f9ae=a120_0x1f4cb3,_0x217c7f={};_0x217c7f[_0x83f9ae(0xc6)]='browserstackTestName';const _0x561057=_0x217c7f;return globals[_0x83f9ae(0xc3)](_0x561057['GIfnM']);},exports[a120_0x1f4cb3(0xcf)]=(_0x31da6e=0x64)=>new Promise(_0x78ad20=>setTimeout(_0x78ad20,_0x31da6e)),exports['debug']=_0x256c5d=>{const _0x13a7cf=a120_0x1f4cb3,_0x570198={};_0x570198[_0x13a7cf(0xc8)]=function(_0x1fd021,_0xfcb3a6){return _0x1fd021===_0xfcb3a6;},_0x570198[_0x13a7cf(0xb6)]=_0x13a7cf(0xb4),_0x570198[_0x13a7cf(0xcd)]=function(_0x5aa4c5,_0xf1060c){return _0x5aa4c5===_0xf1060c;},_0x570198['KjbAo']=function(_0x418a04,_0x5beb0f){return _0x418a04===_0x5beb0f;};const _0x21d2b2=_0x570198;fileLogger[_0x13a7cf(0xc4)]('['+new Date()[_0x13a7cf(0xb5)]()+_0x13a7cf(0xbf)+constants['TEST_REPORTING_ANALYTICS']+_0x13a7cf(0xb9)+_0x256c5d),(_0x21d2b2['CikDF'](process[_0x13a7cf(0xd0)][_0x13a7cf(0xca)],_0x21d2b2['fXtKt'])||_0x21d2b2[_0x13a7cf(0xcd)](process['env'][_0x13a7cf(0xca)],'1')||_0x21d2b2[_0x13a7cf(0xc1)](process[_0x13a7cf(0xd0)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x21d2b2[_0x13a7cf(0xb6)])||_0x21d2b2[_0x13a7cf(0xcd)](process[_0x13a7cf(0xd0)][_0x13a7cf(0xc2)],'1'))&&consoleHolder[_0x13a7cf(0xbe)]('\x0a['+new Date()['toISOString']()+_0x13a7cf(0xbf)+constants['TEST_REPORTING_ANALYTICS']+_0x13a7cf(0xb9)+_0x256c5d+'\x0a');};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121_0x3b7434=a121_0x403f;(function(_0x578471,_0x4e7937){const _0x9e2eb1=a121_0x403f,_0x4ab031=_0x578471();while(!![]){try{const _0x2b01c5=parseInt(_0x9e2eb1(0xbd))/0x1+-parseInt(_0x9e2eb1(0xdb))/0x2*(-parseInt(_0x9e2eb1(0xd4))/0x3)+-parseInt(_0x9e2eb1(0xb4))/0x4*(parseInt(_0x9e2eb1(0xc0))/0x5)+parseInt(_0x9e2eb1(0xb0))/0x6*(-parseInt(_0x9e2eb1(0xcd))/0x7)+parseInt(_0x9e2eb1(0xd9))/0x8+parseInt(_0x9e2eb1(0xde))/0x9+-parseInt(_0x9e2eb1(0xbf))/0xa*(parseInt(_0x9e2eb1(0xda))/0xb);if(_0x2b01c5===_0x4e7937)break;else _0x4ab031['push'](_0x4ab031['shift']());}catch(_0x1d6d19){_0x4ab031['push'](_0x4ab031['shift']());}}}(a121_0x19d3,0x9d258));const http=require(a121_0x3b7434(0xae)),https=require(a121_0x3b7434(0xcf)),monkeypatch=require(a121_0x3b7434(0xb6));function a121_0x403f(_0x2220b8,_0x5bc6bc){const _0x19d334=a121_0x19d3();return a121_0x403f=function(_0x403f88,_0x259861){_0x403f88=_0x403f88-0xa9;let _0x291a64=_0x19d334[_0x403f88];return _0x291a64;},a121_0x403f(_0x2220b8,_0x5bc6bc);}function spy(_0x460c22){const _0x4aa231=a121_0x3b7434,_0x320d8e={'byKFk':function(_0x107d40,_0x234486){return _0x107d40-_0x234486;},'pIBez':function(_0x5e0c02,_0x477f9a,_0xe76840){return _0x5e0c02(_0x477f9a,_0xe76840);},'hcsTb':_0x4aa231(0xaa),'TdODO':function(_0x24cda,..._0x380b2d){return _0x24cda(..._0x380b2d);},'KkeIx':function(_0x49bf3f,_0x1c0742){return _0x49bf3f instanceof _0x1c0742;},'zbsur':function(_0x5e9af7,_0x7bfab9){return _0x5e9af7===_0x7bfab9;},'CMoEq':_0x4aa231(0xc3),'ZHuWA':function(_0x3f6bb9,_0x1c7a48,_0x11c4c6){return _0x3f6bb9(_0x1c7a48,_0x11c4c6);},'grsXZ':_0x4aa231(0xc7),'TAIMW':_0x4aa231(0xc6),'CmwXK':function(_0x57f883,_0x52ba95,_0x555582,_0x5a5a8b){return _0x57f883(_0x52ba95,_0x555582,_0x5a5a8b);},'yxOip':_0x4aa231(0xd3),'FTrXU':function(_0x4065c9,_0x363dd9,_0x2c5ede,_0x88788f){return _0x4065c9(_0x363dd9,_0x2c5ede,_0x88788f);},'UjzyI':_0x4aa231(0xb8),'oOkTL':function(_0x45e01f,_0xfabaac,_0x146554,_0x4f0408){return _0x45e01f(_0xfabaac,_0x146554,_0x4f0408);}},_0x153ef2=function(){const _0x3bd403=_0x4aa231,_0x1ffb9c={'UISBD':function(_0x5baf37,_0x127d5d){const _0x5c2160=a121_0x403f;return _0x320d8e[_0x5c2160(0xbb)](_0x5baf37,_0x127d5d);},'rJTQG':function(_0x4a5712,_0xc2ad34){const _0x1e1405=a121_0x403f;return _0x320d8e[_0x1e1405(0xb9)](_0x4a5712,_0xc2ad34);},'DCOok':_0x320d8e[_0x3bd403(0xad)],'XuZtC':function(_0x2761f9,_0x1110db,_0x5c77e5){const _0x57eae6=_0x3bd403;return _0x320d8e[_0x57eae6(0xc9)](_0x2761f9,_0x1110db,_0x5c77e5);},'eljCU':_0x320d8e['hcsTb']},_0x822c49=arguments[0x0],_0x4fa467=Array[_0x3bd403(0xba)][_0x3bd403(0xb7)]['call'](arguments,0x1),_0x3f7033=_0x822c49[_0x3bd403(0xab)](this,_0x4fa467);let _0x21cb9e=Date[_0x3bd403(0xd7)](),_0x211f96;const _0x115d95={};_0x4fa467[_0x3bd403(0xc2)](_0x1c3293=>{const _0x531005=_0x3bd403;if(_0x1ffb9c[_0x531005(0xb1)](_0x1c3293,URL)){const _0x2e1842={};_0x2e1842[_0x531005(0xaf)]=_0x1c3293,Object[_0x531005(0xc5)](_0x115d95,_0x2e1842);}else _0x1ffb9c[_0x531005(0xd6)](typeof _0x1c3293,_0x1ffb9c[_0x531005(0xca)])&&Object[_0x531005(0xc5)](_0x115d95,_0x1c3293);});const _0x359284=_0x276cd9=>{const _0x535989=_0x3bd403,_0x4a9c18={};_0x4a9c18['host']=_0x115d95['host']||_0x115d95[_0x535989(0xc4)]||_0x115d95[_0x535989(0xaf)]&&(_0x115d95[_0x535989(0xaf)][_0x535989(0xcb)]||_0x115d95['url'][_0x535989(0xc4)]),_0x4a9c18['path']=_0x115d95[_0x535989(0xb2)]||_0x115d95[_0x535989(0xaf)]&&_0x115d95[_0x535989(0xaf)]['pathname'],_0x4a9c18['method']=_0x115d95['method'],_0x4a9c18[_0x535989(0xa9)]=_0x115d95[_0x535989(0xa9)],_0x1ffb9c[_0x535989(0xac)](_0x460c22,_0x276cd9,_0x4a9c18);};return _0x3f7033['once'](_0x320d8e[_0x3bd403(0xbc)],_0xf88278=>{const _0x4d39b3=_0x3bd403,_0x1e57eb=_0x320d8e[_0x4d39b3(0xb3)](Date[_0x4d39b3(0xd7)](),_0x21cb9e),_0x1cafc0={};_0x1cafc0[_0x4d39b3(0xc4)]=_0x115d95[_0x4d39b3(0xcb)]||_0x115d95[_0x4d39b3(0xc4)]||_0x115d95[_0x4d39b3(0xaf)]&&(_0x115d95['url'][_0x4d39b3(0xcb)]||_0x115d95[_0x4d39b3(0xaf)][_0x4d39b3(0xc4)]),_0x1cafc0['path']=_0x115d95[_0x4d39b3(0xb2)]||_0x115d95['url']&&_0x115d95['url'][_0x4d39b3(0xd1)],_0x1cafc0[_0x4d39b3(0xd2)]=_0x115d95[_0x4d39b3(0xd2)],_0x1cafc0[_0x4d39b3(0xa9)]=_0x115d95[_0x4d39b3(0xa9)],_0x1cafc0[_0x4d39b3(0xbe)]=_0xf88278['statusCode'],_0x1cafc0['duration_ms']=_0x1e57eb,_0x320d8e['pIBez'](_0x460c22,null,_0x1cafc0),_0x211f96[_0x4d39b3(0xc1)](_0x320d8e[_0x4d39b3(0xcc)],_0x359284);}),_0x3f7033['on'](_0x320d8e[_0x3bd403(0xd5)],_0xb8ae49=>{const _0x288394=_0x3bd403;_0x211f96=_0xb8ae49,_0xb8ae49['once'](_0x1ffb9c[_0x288394(0xd8)],_0x359284);}),_0x320d8e[_0x3bd403(0xdd)](monkeypatch,_0x3f7033,_0x320d8e[_0x3bd403(0xd0)],(_0x687bd4,..._0x59d70f)=>{const _0x3baefe=_0x3bd403;_0x21cb9e=Date[_0x3baefe(0xd7)](),_0x320d8e[_0x3baefe(0xce)](_0x687bd4,..._0x59d70f);}),_0x3f7033;};_0x320d8e[_0x4aa231(0xdc)](monkeypatch,http,_0x320d8e[_0x4aa231(0xc8)],_0x153ef2),_0x320d8e['oOkTL'](monkeypatch,https,_0x320d8e[_0x4aa231(0xc8)],_0x153ef2);}function restore(){const _0x4e73f3=a121_0x3b7434;http[_0x4e73f3(0xb8)][_0x4e73f3(0xb5)](),https[_0x4e73f3(0xb8)][_0x4e73f3(0xb5)]();}const a121_0x2b9592={};a121_0x2b9592['spy']=spy,a121_0x2b9592['restore']=restore,module['exports']=a121_0x2b9592;function a121_0x19d3(){const _0x1ec237=['unpatch','monkeypatch','slice','request','zbsur','prototype','KkeIx','grsXZ','772659nqgNfc','status_code','40xahsHp','5NQStCy','removeListener','forEach','object','hostname','assign','socket','response','UjzyI','ZHuWA','DCOok','host','hcsTb','5910226WURoue','TdODO','https','yxOip','pathname','method','end','3NjGJkZ','TAIMW','rJTQG','now','eljCU','6648088wtgyET','3791084pKESrC','2056596dqUedt','FTrXU','CmwXK','8631315CsOxXK','headers','error','apply','XuZtC','CMoEq','http','url','6CUkFYN','UISBD','path','byKFk','2897748nGaktG'];a121_0x19d3=function(){return _0x1ec237;};return a121_0x19d3();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a122_0x3989(_0x36b0a7,_0x154a88){const _0x197225=a122_0x1972();return a122_0x3989=function(_0x39898c,_0x540e14){_0x39898c=_0x39898c-0x172;let _0x58496a=_0x197225[_0x39898c];return _0x58496a;},a122_0x3989(_0x36b0a7,_0x154a88);}function a122_0x1972(){const _0x142c86=['request','204RpPzSU','prototype','11288637xSTlCV','KEEP_ALIVE','521590OsJuev','ifYxq','FlYmN','https','keepAliveMsecs','Vlano','./performance/performance-tester','wEmTg','5370856HaHiYg','900248LfamKK','TcTOx','agent','oqeiU','SeyNL','2526105LVNEIM','EbmaP','429URZbmf','protocol','8nggbKb','globalAgent','XjQal','exports','hasOwnProperty','call','2pZbLra','OxOvq','Agent','keepAlive','./performance/constants','100688dlToUu','5290023OjmtGL'];a122_0x1972=function(){return _0x142c86;};return a122_0x1972();}const a122_0x1ad61c=a122_0x3989;(function(_0x2498fb,_0x2d6184){const _0x8d8318=a122_0x3989,_0x5094c7=_0x2498fb();while(!![]){try{const _0x4d78a8=-parseInt(_0x8d8318(0x175))/0x1+-parseInt(_0x8d8318(0x184))/0x2*(parseInt(_0x8d8318(0x18a))/0x3)+parseInt(_0x8d8318(0x174))/0x4+-parseInt(_0x8d8318(0x17a))/0x5+-parseInt(_0x8d8318(0x18c))/0x6*(parseInt(_0x8d8318(0x189))/0x7)+parseInt(_0x8d8318(0x17e))/0x8*(parseInt(_0x8d8318(0x18e))/0x9)+parseInt(_0x8d8318(0x190))/0xa*(parseInt(_0x8d8318(0x17c))/0xb);if(_0x4d78a8===_0x2d6184)break;else _0x5094c7['push'](_0x5094c7['shift']());}catch(_0x134994){_0x5094c7['push'](_0x5094c7['shift']());}}}(a122_0x1972,0xeda1e));const PerformanceTester=require(a122_0x1ad61c(0x172)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a122_0x1ad61c(0x188));module[a122_0x1ad61c(0x181)]=PerformanceTester['measureWrapper'](PerformanceEvents[a122_0x1ad61c(0x18f)],function(){const _0x6860b3=a122_0x1ad61c,_0x2c03e5={'XjQal':function(_0x475dff,_0x7dff01){return _0x475dff===_0x7dff01;},'zjRzW':'https:','FlYmN':_0x6860b3(0x177),'ifYxq':function(_0xcdafa1,_0x92edab,_0x44b46f){return _0xcdafa1(_0x92edab,_0x44b46f);},'Vlano':function(_0x32964e,_0x4c0f00,_0x191983){return _0x32964e(_0x4c0f00,_0x191983);},'wEmTg':function(_0x258e29,_0x2382c9){return _0x258e29(_0x2382c9);},'TcTOx':'http','SeyNL':function(_0xe30335,_0x438f72){return _0xe30335(_0x438f72);},'EbmaP':_0x6860b3(0x193),'oqeiU':function(_0x5e57c7,_0x2c66fd){return _0x5e57c7*_0x2c66fd;},'OxOvq':_0x6860b3(0x187)},_0x298888=_0x2c03e5[_0x6860b3(0x173)](require,_0x2c03e5[_0x6860b3(0x176)]),_0x3082b2=_0x2c03e5[_0x6860b3(0x179)](require,_0x2c03e5[_0x6860b3(0x17b)]),_0x43584f=_0x2c03e5[_0x6860b3(0x178)](0x1e,0x3e8);if(_0x298888[_0x6860b3(0x17f)]&&Object[_0x6860b3(0x18d)][_0x6860b3(0x182)][_0x6860b3(0x183)](_0x298888[_0x6860b3(0x17f)],_0x2c03e5[_0x6860b3(0x185)]))_0x298888[_0x6860b3(0x17f)][_0x6860b3(0x187)]=!![],_0x3082b2[_0x6860b3(0x17f)][_0x6860b3(0x187)]=!![],_0x298888[_0x6860b3(0x17f)][_0x6860b3(0x194)]=_0x43584f,_0x3082b2[_0x6860b3(0x17f)]['keepAliveMsecs']=_0x43584f;else{const _0x48d8da={};_0x48d8da[_0x6860b3(0x187)]=!![],_0x48d8da[_0x6860b3(0x194)]=_0x43584f;const _0x5d03a9=new _0x298888[(_0x6860b3(0x186))](_0x48d8da),_0x4d9aac={};_0x4d9aac[_0x6860b3(0x187)]=!![],_0x4d9aac[_0x6860b3(0x194)]=_0x43584f;const _0x3714c1=new _0x3082b2[(_0x6860b3(0x186))](_0x4d9aac),_0x443385=_0x298888[_0x6860b3(0x18b)],_0x373c0d=_0x3082b2[_0x6860b3(0x18b)];_0x298888[_0x6860b3(0x18b)]=function(_0x55d913,_0x2a8d0e){const _0x372be7=_0x6860b3;if(_0x2c03e5[_0x372be7(0x180)](_0x55d913[_0x372be7(0x17d)],_0x2c03e5['zjRzW']))return _0x55d913[_0x2c03e5['FlYmN']]=_0x3714c1,_0x2c03e5[_0x372be7(0x191)](_0x373c0d,_0x55d913,_0x2a8d0e);return _0x55d913[_0x2c03e5[_0x372be7(0x192)]]=_0x5d03a9,_0x2c03e5[_0x372be7(0x195)](_0x443385,_0x55d913,_0x2a8d0e);};}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a123_0x223f(_0x5d0811,_0x5bc9c3){const _0x1c5e82=a123_0x1c5e();return a123_0x223f=function(_0x223f8e,_0x165784){_0x223f8e=_0x223f8e-0x1a7;let _0x3edf9b=_0x1c5e82[_0x223f8e];return _0x3edf9b;},a123_0x223f(_0x5d0811,_0x5bc9c3);}const a123_0x2f5184=a123_0x223f;function a123_0x1c5e(){const _0x32cb2d=['https://upload-observability-preprod.bsstag.com','path','65322OhJjES','codeceptjs','../logger','755IrCoUn','toLowerCase','preprod','Playwright','520twjsAg','api/v1/event','assign','8832sQACsY','upload-attachments','28216mIhkTG','9756IcJXGH','pre-prod','CODECEPT','env','https://collector-observability.browserstack.com','8435889mDyHWR','codeceptjs-cucumber','2611VxjWqw','exports','10VvdAyV','47554CwFWRP','414idiSfy','https://collector-observability-devtestops.bsstag.com','API_URL','6209gLnCUd','OBSERVABILITY_UPLOAD_API_URL','CUCUMBER','CODECEPT_CUCUMBER','prod','api/v1/batch','https://upload-observability.browserstack.com','mocha','api/v1/screenshots','stag','9062537DQvbOw'];a123_0x1c5e=function(){return _0x32cb2d;};return a123_0x1c5e();}(function(_0x5af123,_0x4a6601){const _0x35deb9=a123_0x223f,_0x40f425=_0x5af123();while(!![]){try{const _0x151e3b=-parseInt(_0x35deb9(0x1c1))/0x1*(parseInt(_0x35deb9(0x1ad))/0x2)+-parseInt(_0x35deb9(0x1be))/0x3*(parseInt(_0x35deb9(0x1b0))/0x4)+parseInt(_0x35deb9(0x1a9))/0x5*(-parseInt(_0x35deb9(0x1ce))/0x6)+parseInt(_0x35deb9(0x1ba))/0x7*(parseInt(_0x35deb9(0x1b2))/0x8)+parseInt(_0x35deb9(0x1b8))/0x9+parseInt(_0x35deb9(0x1bc))/0xa*(-parseInt(_0x35deb9(0x1cb))/0xb)+-parseInt(_0x35deb9(0x1b3))/0xc*(-parseInt(_0x35deb9(0x1bd))/0xd);if(_0x151e3b===_0x4a6601)break;else _0x40f425['push'](_0x40f425['shift']());}catch(_0x4e414c){_0x40f425['push'](_0x40f425['shift']());}}}(a123_0x1c5e,0xcd13e));const path=require(a123_0x2f5184(0x1cd)),{logDir}=require(a123_0x2f5184(0x1a8)),a123_0x55b628={};a123_0x55b628['PLAYWRIGHT']=a123_0x2f5184(0x1ac),a123_0x55b628['MOCHA']=a123_0x2f5184(0x1c8),a123_0x55b628[a123_0x2f5184(0x1b5)]=a123_0x2f5184(0x1a7),a123_0x55b628[a123_0x2f5184(0x1c4)]=a123_0x2f5184(0x1b9),a123_0x55b628['JEST']='jest',a123_0x55b628[a123_0x2f5184(0x1c3)]='cucumber',module[a123_0x2f5184(0x1bb)]={'consoleHolder':Object[a123_0x2f5184(0x1af)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a123_0x2f5184(0x1b7),'OBSERVABILITY_UPLOAD_API_URL':a123_0x2f5184(0x1c7),'EVENT_ENDPOINT':a123_0x2f5184(0x1ae),'BATCH_ENDPOINT':a123_0x2f5184(0x1c6),'SCREENSHOT_ENDPOINT':a123_0x2f5184(0x1c9),'UPLOAD_ATTACHMENT_ENDPOINT':a123_0x2f5184(0x1b1),'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':a123_0x55b628};const _env=(process[a123_0x2f5184(0x1b6)]['BROWSERSTACK_ENV']||a123_0x2f5184(0x1c5))[a123_0x2f5184(0x1aa)]();if(_env==='staging'||_env===a123_0x2f5184(0x1ca))module['exports']['API_URL']=a123_0x2f5184(0x1bf),module[a123_0x2f5184(0x1bb)][a123_0x2f5184(0x1c2)]='https://upload-observability-devtestops-ssi.bsstag.com';else(_env===a123_0x2f5184(0x1ab)||_env===a123_0x2f5184(0x1b4))&&(module[a123_0x2f5184(0x1bb)][a123_0x2f5184(0x1c0)]='https://collector-observability-preprod.bsstag.com',module['exports'][a123_0x2f5184(0x1c2)]=a123_0x2f5184(0x1cc));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a124_0x3847(_0x22cf06,_0x354d54){const _0x58a6b9=a124_0x58a6();return a124_0x3847=function(_0x38474c,_0x35f43e){_0x38474c=_0x38474c-0x142;let _0x3ff45f=_0x58a6b9[_0x38474c];return _0x3ff45f;},a124_0x3847(_0x22cf06,_0x354d54);}const a124_0x2d72d1=a124_0x3847;(function(_0x502b8b,_0x468ac8){const _0x1cd826=a124_0x3847,_0x19ec83=_0x502b8b();while(!![]){try{const _0x2a11ff=parseInt(_0x1cd826(0x14b))/0x1+-parseInt(_0x1cd826(0x190))/0x2*(-parseInt(_0x1cd826(0x19f))/0x3)+parseInt(_0x1cd826(0x161))/0x4+parseInt(_0x1cd826(0x146))/0x5+-parseInt(_0x1cd826(0x14a))/0x6+-parseInt(_0x1cd826(0x15d))/0x7*(-parseInt(_0x1cd826(0x1a8))/0x8)+parseInt(_0x1cd826(0x149))/0x9*(-parseInt(_0x1cd826(0x148))/0xa);if(_0x2a11ff===_0x468ac8)break;else _0x19ec83['push'](_0x19ec83['shift']());}catch(_0x40e7ee){_0x19ec83['push'](_0x19ec83['shift']());}}}(a124_0x58a6,0xad201));const util=require(a124_0x2d72d1(0x18b)),PerformanceTester=require(a124_0x2d72d1(0x182)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require(a124_0x2d72d1(0x174)),o11yErrorHandler=(_0x27d3fa,_0x4c032e='',_0x5bf1c1=[''],_0x42a429=![])=>{const _0x321a2a={'TFfPE':function(_0x288e15,_0x4e8f23){return _0x288e15(_0x4e8f23);},'uLQRO':function(_0x4814ab,_0x4336f8,_0x2492f1){return _0x4814ab(_0x4336f8,_0x2492f1);},'VtDhl':function(_0x29d549,_0x222e97){return _0x29d549(_0x222e97);},'eixZU':function(_0x2909e6,_0x14fadc){return _0x2909e6 instanceof _0x14fadc;},'Phtzi':function(_0x1b1215,_0x591cc0,_0x4972cc,_0x10afb1,_0x43717f){return _0x1b1215(_0x591cc0,_0x4972cc,_0x10afb1,_0x43717f);}};return function(..._0x2d0381){const _0x4bb8be=a124_0x3847;try{let _0x3b44ab=_0x27d3fa;process[_0x4bb8be(0x170)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0x3b44ab=PerformanceTester[_0x4bb8be(0x183)]()[_0x4bb8be(0x155)](_0x3b44ab));_0x42a429&&_0x321a2a[_0x4bb8be(0x19d)](trace,_0x4bb8be(0x1a6)+_0x4c032e+',\x20PID\x20-\x20'+process[_0x4bb8be(0x15c)]+_0x4bb8be(0x196)+_0x321a2a['uLQRO'](nestedKeyValue,arguments[0x0],_0x5bf1c1));const _0x4464bb=_0x3b44ab[_0x4bb8be(0x1b1)](null,arguments);_0x42a429&&_0x321a2a[_0x4bb8be(0x189)](trace,_0x4bb8be(0x15f)+_0x4c032e+_0x4bb8be(0x150)+process[_0x4bb8be(0x15c)]+',\x20Argument\x20-\x20'+_0x321a2a[_0x4bb8be(0x177)](nestedKeyValue,arguments[0x0],_0x5bf1c1));if(_0x321a2a['eixZU'](_0x4464bb,Promise))return _0x4464bb[_0x4bb8be(0x145)](_0x1260bb=>processError(_0x1260bb,_0x27d3fa,_0x2d0381,_0x4c032e));return _0x4464bb;}catch(_0x2db01d){_0x321a2a[_0x4bb8be(0x159)](processError,_0x2db01d,_0x27d3fa,_0x2d0381,_0x4c032e);}};},o11yClassErrorHandler=(_0x5147c2,_0x3e6ca1,_0x2fa385='')=>{const _0x434e2e=a124_0x2d72d1,_0x2d5a95={'McqWX':function(_0x56bba2,_0xf7fe25){return _0x56bba2 instanceof _0xf7fe25;},'wzAkV':function(_0x9c4a9b,_0x3df870,_0x175f58,_0x21444d,_0x4ba9fa){return _0x9c4a9b(_0x3df870,_0x175f58,_0x21444d,_0x4ba9fa);},'SWBaJ':function(_0x2ea92e,_0x41c85f){return _0x2ea92e===_0x41c85f;},'obcud':_0x434e2e(0x1a0),'dbcrT':function(_0x1db34e,_0x19c81b){return _0x1db34e!==_0x19c81b;},'QlNad':'constructor','SLvRP':function(_0x7fb09a,_0x400acf){return _0x7fb09a<_0x400acf;}},_0xb3526c=_0x5147c2['prototype'];if(_0x2d5a95[_0x434e2e(0x171)](Object[_0x434e2e(0x1ae)](_0xb3526c)[_0x434e2e(0x15e)],0x2))return _0x5147c2;return Object[_0x434e2e(0x1ae)](_0xb3526c)['forEach'](_0x1cbea0=>{const _0x368959=_0x434e2e,_0x1d1a46={'Ytcxi':function(_0x5ce4d6,_0x54400f){const _0x4347bf=a124_0x3847;return _0x2d5a95[_0x4347bf(0x16e)](_0x5ce4d6,_0x54400f);},'PyqcG':function(_0x471b78,_0x14297b,_0x575731,_0x54afd5,_0x26eb0c){const _0x3ccf09=a124_0x3847;return _0x2d5a95[_0x3ccf09(0x15b)](_0x471b78,_0x14297b,_0x575731,_0x54afd5,_0x26eb0c);}};if(!(_0x3e6ca1&&_0x3e6ca1[_0x368959(0x172)](_0x1cbea0)))return;const _0x185eff=_0xb3526c[_0x1cbea0];_0x2d5a95[_0x368959(0x194)](typeof _0x185eff,_0x2d5a95[_0x368959(0x198)])&&_0x2d5a95[_0x368959(0x14c)](_0x1cbea0,_0x2d5a95[_0x368959(0x18d)])&&Object[_0x368959(0x18c)](_0xb3526c,_0x1cbea0,{'writable':!![],'value':function(..._0x3a5bf4){const _0x656ab2=_0x368959;try{const _0x511840=(process[_0x656ab2(0x170)][_0x656ab2(0x16c)]?PerformanceTester[_0x656ab2(0x183)]()[_0x656ab2(0x155)](_0x185eff):_0x185eff)[_0x656ab2(0x191)](this,..._0x3a5bf4);if(_0x1d1a46[_0x656ab2(0x19b)](_0x511840,Promise))return _0x511840[_0x656ab2(0x145)](_0x584120=>processError(_0x584120,_0x185eff,_0x3a5bf4,_0x2fa385));return _0x511840;}catch(_0xcf80df){_0x1d1a46[_0x656ab2(0x1ab)](processError,_0xcf80df,_0x185eff,_0x3a5bf4,_0x2fa385);}}});}),_0x5147c2;};function processError(_0x430aef,_0x543889,_0x2be9d1,_0x3facc3){const _0x4304d6=a124_0x2d72d1,_0x598109={'LPbom':function(_0x11aa30,_0x9b5ba6){return _0x11aa30(_0x9b5ba6);}};_0x598109[_0x4304d6(0x153)](debug,'Error\x20in\x20executing\x20'+_0x543889[_0x4304d6(0x1a1)]+_0x4304d6(0x181)+_0x3facc3+_0x4304d6(0x179)+util['format'](_0x430aef)+'.\x20Args\x20-\x20'+_0x2be9d1+'.'),PerformanceTester[_0x4304d6(0x18e)](_0x430aef);let _0x5adfb0;try{_0x5adfb0=JSON['stringify'](_0x2be9d1);}catch(_0x430c6b){const _0x56c348={};_0x56c348[_0x4304d6(0x15a)]=0x2,_0x5adfb0=util[_0x4304d6(0x1b3)](_0x2be9d1,_0x56c348);}CrashReporter[_0x4304d6(0x17c)](_0x4304d6(0x19e)+_0x543889[_0x4304d6(0x1a1)]+_0x4304d6(0x181)+_0x3facc3+_0x4304d6(0x179)+_0x430aef+_0x4304d6(0x180)+_0x5adfb0+'.',_0x430aef&&_0x430aef[_0x4304d6(0x188)]);}class CrashReporter{static [a124_0x2d72d1(0x173)]={};static [a124_0x2d72d1(0x14d)];static ['frameworkDetails']={};static[a124_0x2d72d1(0x199)](_0x39b5f2,_0x49852f,_0x1ef412=null){const _0x2ac849=a124_0x2d72d1,_0x417a39={'zCYJc':function(_0x2d309a,_0x2424f4){return _0x2d309a(_0x2424f4);},'txyQK':function(_0x23b480,_0x5e7b7d){return _0x23b480(_0x5e7b7d);}},_0x3a9c36=_0x39b5f2[_0x2ac849(0x184)],_0x54923f=_0x39b5f2['frameworkVersion'];!_0x1ef412&&(_0x1ef412=_0x417a39[_0x2ac849(0x154)](getBrowserStackConfig,_0x3a9c36));!_0x54923f&&_0x417a39[_0x2ac849(0x14e)](getFrameworkVersion,_0x3a9c36);const _0x405e5d={};_0x405e5d[_0x2ac849(0x184)]=_0x3a9c36,_0x405e5d[_0x2ac849(0x17b)]=_0x54923f,this[_0x2ac849(0x1a2)](_0x405e5d,_0x49852f,_0x417a39[_0x2ac849(0x14e)](getUserCredentials,_0x1ef412));}static[a124_0x2d72d1(0x157)](_0x15d16c,_0x46e7ce){const _0x468b35=a124_0x2d72d1,_0x358f9c={};_0x358f9c['username']=_0x15d16c,_0x358f9c[_0x468b35(0x1a9)]=_0x46e7ce,this[_0x468b35(0x14d)]=_0x358f9c,process[_0x468b35(0x170)][_0x468b35(0x16d)]=JSON[_0x468b35(0x144)](this[_0x468b35(0x14d)]);}static['getCredentials'](){const _0x41a45b=a124_0x2d72d1,_0x3fa478={'EOoVi':function(_0x3d13c3,_0x1ec3cb){return _0x3d13c3(_0x1ec3cb);}};if(!this['credentials']&&process['env']['CREDENTIALS_FOR_CRASH_REPORTING'])try{this[_0x41a45b(0x14d)]=JSON[_0x41a45b(0x176)](process['env'][_0x41a45b(0x16d)]);}catch(_0x3dd29f){_0x3fa478[_0x41a45b(0x143)](debug,_0x41a45b(0x1aa)+_0x3dd29f[_0x41a45b(0x166)]());}return this[_0x41a45b(0x14d)];}static['setConfigDetails'](_0x35ad21){const _0x2c40cf=a124_0x2d72d1;this[_0x2c40cf(0x173)]=this[_0x2c40cf(0x152)](_0x35ad21),process[_0x2c40cf(0x170)][_0x2c40cf(0x195)]=JSON[_0x2c40cf(0x144)](this[_0x2c40cf(0x173)]);}static[a124_0x2d72d1(0x185)](){const _0x15f75f=a124_0x2d72d1,_0x5fb14d={'bKaBm':function(_0x207bb8,_0x186faa){return _0x207bb8===_0x186faa;},'BGpKC':function(_0x5e134b,_0x59ad01){return _0x5e134b(_0x59ad01);}};if(_0x5fb14d['bKaBm'](Object['keys'](this[_0x15f75f(0x173)])['length'],0x0)&&process['env'][_0x15f75f(0x195)])try{this[_0x15f75f(0x173)]=JSON[_0x15f75f(0x176)](process['env'][_0x15f75f(0x195)]);}catch(_0x44678f){_0x5fb14d[_0x15f75f(0x1a5)](debug,_0x15f75f(0x16b)+_0x44678f[_0x15f75f(0x166)]()),this[_0x15f75f(0x173)]={};}return this[_0x15f75f(0x173)];}static[a124_0x2d72d1(0x156)](_0x43a51d){const _0xff8af8=a124_0x2d72d1;this['frameworkDetails']=_0x43a51d,process[_0xff8af8(0x170)][_0xff8af8(0x178)]=JSON[_0xff8af8(0x144)](this['frameworkDetails']);}static[a124_0x2d72d1(0x17f)](){const _0x520f27=a124_0x2d72d1,_0x323ff0={'UQXeC':function(_0x3b97be,_0x58f79a){return _0x3b97be===_0x58f79a;},'rEmPu':function(_0x3f5f0e,_0x4aef39){return _0x3f5f0e(_0x4aef39);}};if(_0x323ff0[_0x520f27(0x169)](Object[_0x520f27(0x1b4)](this[_0x520f27(0x16a)])['length'],0x0)&&process[_0x520f27(0x170)][_0x520f27(0x178)])try{this[_0x520f27(0x16a)]=JSON[_0x520f27(0x176)](process[_0x520f27(0x170)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x30b505){_0x323ff0[_0x520f27(0x168)](debug,_0x520f27(0x1aa)+_0x30b505['toString']());}return this[_0x520f27(0x16a)];}static[a124_0x2d72d1(0x1a2)](_0x287576,_0x511123,_0x2b5317){const _0x1e3b63=a124_0x2d72d1;_0x287576&&this['setFrameworkDetails'](_0x287576),_0x511123&&this['setConfigDetails'](_0x511123),_0x2b5317&&this[_0x1e3b63(0x157)](_0x2b5317['username'],_0x2b5317['accessKey']);}static async[a124_0x2d72d1(0x17c)](_0x4d6bb,_0x52f9e0){const _0x519afc=a124_0x2d72d1,_0xf2c76e={'nVzeH':function(_0x4a3de1,_0x4fbab8){return _0x4a3de1(_0x4fbab8);},'iskJv':function(_0x122f76,_0x43675e){return _0x122f76(_0x43675e);},'Nfbys':_0x519afc(0x142),'pBRQo':function(_0x144b1f){return _0x144b1f();},'UkfdF':_0x519afc(0x165),'pEZsR':_0x519afc(0x197),'JgHRt':'true','EjFjN':function(_0x139359,_0x6da647,_0x3dae02,_0x4c5014,_0x3d4156,_0x3fa225){return _0x139359(_0x6da647,_0x3dae02,_0x4c5014,_0x3d4156,_0x3fa225);},'GFUnJ':_0x519afc(0x18f)};this[_0x519afc(0x164)]();if(!this[_0x519afc(0x14d)])return _0xf2c76e['nVzeH'](debug,_0xf2c76e['Nfbys']);this[_0x519afc(0x185)](),this['getFramework']();const _0x47f63e={'hashed_id':process[_0x519afc(0x170)][_0x519afc(0x160)],'observability_version':{'sdkVersion':_0xf2c76e[_0x519afc(0x167)](getAgentVersion),'frameworkName':this[_0x519afc(0x16a)][_0x519afc(0x184)],'frameworkVersion':this[_0x519afc(0x16a)][_0x519afc(0x17b)]},'exception':{'error':_0x4d6bb[_0x519afc(0x166)](),'stackTrace':_0x52f9e0},'config':this[_0x519afc(0x173)]},_0x37f446=_0xf2c76e['UkfdF'],_0x4ba914={};_0x4ba914['username']=this[_0x519afc(0x14d)][_0x519afc(0x1af)],_0x4ba914[_0x519afc(0x19c)]=this[_0x519afc(0x14d)]['accessKey'];const _0x15dbaf={};_0x15dbaf[_0x519afc(0x17a)]=_0xf2c76e['pEZsR'],_0x15dbaf['X-BSTACK-TESTOPS']=_0xf2c76e[_0x519afc(0x1ad)];const _0x42471e={};_0x42471e[_0x519afc(0x17e)]=_0x4ba914,_0x42471e[_0x519afc(0x17d)]=_0x15dbaf;const _0x1170ff=_0x42471e;_0xf2c76e[_0x519afc(0x162)](nodeRequest,_0xf2c76e[_0x519afc(0x1ac)],_0x37f446,_0x47f63e,_0x1170ff,![])[_0x519afc(0x1a3)](_0x203df7=>{const _0xb312d2=_0x519afc;_0xf2c76e[_0xb312d2(0x151)](debug,_0xb312d2(0x175)+JSON[_0xb312d2(0x144)](_0x203df7));})['catch'](_0x5a10a3=>{const _0x49c330=_0x519afc;_0xf2c76e[_0x49c330(0x1a4)](debug,_0x49c330(0x163)+util[_0x49c330(0x18a)](_0x5a10a3));});}static[a124_0x2d72d1(0x147)](_0x2578ae){const _0x330851=a124_0x2d72d1,_0x1a55f2={};_0x1a55f2['sPHok']=_0x330851(0x1a7),_0x1a55f2[_0x330851(0x193)]=_0x330851(0x1af),_0x1a55f2[_0x330851(0x186)]='key',_0x1a55f2[_0x330851(0x19a)]=_0x330851(0x1a9),_0x1a55f2['IkZSi']='password',_0x1a55f2['bIWRE']=function(_0x56bc78,_0xcb5ab9){return _0x56bc78===_0xcb5ab9;},_0x1a55f2[_0x330851(0x192)]=_0x330851(0x158);const _0x4ab6e3=_0x1a55f2;if(!_0x2578ae)return;const _0x5a5813=[_0x4ab6e3[_0x330851(0x16f)],_0x4ab6e3['aLcho'],_0x4ab6e3[_0x330851(0x186)],_0x4ab6e3[_0x330851(0x19a)],_0x4ab6e3['IkZSi']];for(const _0x20132c in _0x2578ae){if(_0x5a5813[_0x330851(0x172)](_0x20132c[_0x330851(0x1b2)]()))delete _0x2578ae[_0x20132c];else _0x4ab6e3[_0x330851(0x1b0)](typeof _0x2578ae[_0x20132c],_0x4ab6e3[_0x330851(0x192)])&&this[_0x330851(0x147)](_0x2578ae[_0x20132c]);}}static[a124_0x2d72d1(0x152)](_0x325d0a){const _0x5102d9=a124_0x2d72d1,_0x147aa5=JSON[_0x5102d9(0x176)](JSON[_0x5102d9(0x144)](_0x325d0a));return this['recursivelyDeletePIIKeysFromObject'](_0x147aa5),_0x147aa5;}}function a124_0x58a6(){const _0x1c6d2e=['1392024krhZRc','dbcrT','credentials','txyQK','o11yErrorHandler',',\x20PID\x20-\x20','nVzeH','filterPII','LPbom','zCYJc','timerify','setFrameworkDetails','setCredentials','object','Phtzi','depth','wzAkV','pid','3104108jeRUia','length','Finished\x20::\x20','BS_TESTOPS_BUILD_HASHED_ID','5512872yHRYmH','EjFjN','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','getCredentials','/api/v1/analytics','toString','pBRQo','rEmPu','UQXeC','frameworkDetails','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','BROWSERSTACK_O11Y_PERF_MEASUREMENT','CREDENTIALS_FOR_CRASH_REPORTING','McqWX','sPHok','env','SLvRP','includes','userConfig','../helper','[Crash_Report_Upload]\x20Success\x20response:\x20','parse','uLQRO','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','.\x20Error\x20-\x20','Content-Type','frameworkVersion','uploadCrashReport','headers','auth','getFramework','.\x20Args\x20-\x20','\x20--\x20','../performance/performance-tester','getPerformance','frameworkName','getConfig','OHxIP','exports','stack','VtDhl','format','util','defineProperty','QlNad','captureError','POST','8rHJUqC','call','ZrGNo','aLcho','SWBaJ','USER_CONFIG_FOR_REPORTING',',\x20Argument\x20-\x20','application/json','obcud','initialize','CEjpz','Ytcxi','password','TFfPE','Error\x20in\x20executing\x20','86196OdYXxx','function','name','setAllDetails','then','iskJv','BGpKC','Started\x20::\x20','user','8fjYukk','accessKey','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','PyqcG','GFUnJ','JgHRt','getOwnPropertyNames','username','bIWRE','apply','toLowerCase','inspect','keys','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','EOoVi','stringify','catch','3541585CtkIFp','recursivelyDeletePIIKeysFromObject','7952390ZDBMPx','36SOCsnM','881124WsIfae'];a124_0x58a6=function(){return _0x1c6d2e;};return a124_0x58a6();}const a124_0x4cb8a3={};a124_0x4cb8a3[a124_0x2d72d1(0x14f)]=o11yErrorHandler,a124_0x4cb8a3['o11yClassErrorHandler']=o11yClassErrorHandler,a124_0x4cb8a3['CrashReporter']=CrashReporter,module[a124_0x2d72d1(0x187)]=a124_0x4cb8a3;
|
|
1
|
+
const a124_0x2bfa86=a124_0x16ff;(function(_0x2789a2,_0x2a8c34){const _0x95d636=a124_0x16ff,_0x6e6bc8=_0x2789a2();while(!![]){try{const _0x1b5e4f=parseInt(_0x95d636(0x1fa))/0x1+-parseInt(_0x95d636(0x213))/0x2+parseInt(_0x95d636(0x21e))/0x3+-parseInt(_0x95d636(0x200))/0x4*(-parseInt(_0x95d636(0x206))/0x5)+parseInt(_0x95d636(0x1e7))/0x6*(parseInt(_0x95d636(0x22d))/0x7)+-parseInt(_0x95d636(0x202))/0x8+-parseInt(_0x95d636(0x1fe))/0x9;if(_0x1b5e4f===_0x2a8c34)break;else _0x6e6bc8['push'](_0x6e6bc8['shift']());}catch(_0x4bb654){_0x6e6bc8['push'](_0x6e6bc8['shift']());}}}(a124_0x2463,0x58cf2));function a124_0x2463(){const _0x2307d6=['Tfkzx','85hgIaza','USER_CONFIG_FOR_REPORTING','frameworkVersion','KNBem','getOwnPropertyNames','frameworkName','GqKhc','forEach','haOoy','getCredentials','./utils','includes','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','351254mcNpjt','password','VhxRR','setCredentials','Finished\x20::\x20',',\x20Argument\x20-\x20','util','GFixI','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','BS_TESTOPS_BUILD_HASHED_ID','env','1463532THfAlW','BGCZY','oLSWi','otuyT','[Crash_Report_Upload]\x20Success\x20response:\x20','parse','yHfco','length','prototype','FVnTQ','timerify','qeLJG','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','username','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','317478LWWvaY','format','inspect','initialize','getConfig','eByXc','keys','setAllDetails','AvNkQ','zZeZO','FgOMS','auth','viXLX','key','ybjPL','true','\x20--\x20','object','jApdM','BROWSERSTACK_O11Y_PERF_MEASUREMENT','qnVMn','userConfig','stack','function','pid','yMzDJ','toString','filterPII','catch','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','then','setConfigDetails','OzHFo','Started\x20::\x20',',\x20PID\x20-\x20','../helper','defineProperty','toLowerCase','tvWAh','headers','constructor','Error\x20in\x20executing\x20','accessKey','frameworkDetails','12fYMQxP','credentials','user','ZWzJw','../performance/performance-tester','/api/v1/analytics','tavfk','depth','.\x20Error\x20-\x20','call','getPerformance','apply','name','stringify','exports','rGmCW','VdXPb','CREDENTIALS_FOR_CRASH_REPORTING','o11yClassErrorHandler','623433eiMgsW','setFrameworkDetails','getFramework','hXNyq','9187092JoQAaE','MVjmW','95176mJaGgR','.\x20Args\x20-\x20','370448QZVNJO','uploadCrashReport','ZjHHW'];a124_0x2463=function(){return _0x2307d6;};return a124_0x2463();}const util=require(a124_0x2bfa86(0x219)),PerformanceTester=require(a124_0x2bfa86(0x1eb)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a124_0x2bfa86(0x210)),{getAgentVersion,nestedKeyValue}=require(a124_0x2bfa86(0x1de)),o11yErrorHandler=(_0x822bee,_0x3b8e45='',_0x347972=[''],_0x58c4ae=![])=>{const _0x1e22d1={'VhxRR':function(_0x4d0b09,_0x563810){return _0x4d0b09(_0x563810);},'yMzDJ':function(_0x35f08a,_0x53cb89,_0x38b2cb){return _0x35f08a(_0x53cb89,_0x38b2cb);},'eByXc':function(_0x1c346d,_0xc7f7e1){return _0x1c346d(_0xc7f7e1);},'gqloI':function(_0x237f68,_0xd2d90d){return _0x237f68 instanceof _0xd2d90d;},'zZeZO':function(_0x657fde,_0x57f761,_0x325121,_0x296e1d,_0xf26c03){return _0x657fde(_0x57f761,_0x325121,_0x296e1d,_0xf26c03);}};return function(..._0x209a51){const _0x32eddd=a124_0x16ff;try{let _0x25818c=_0x822bee;process[_0x32eddd(0x21d)][_0x32eddd(0x1ce)]&&(_0x25818c=PerformanceTester[_0x32eddd(0x1f1)]()[_0x32eddd(0x228)](_0x25818c));_0x58c4ae&&_0x1e22d1[_0x32eddd(0x215)](trace,_0x32eddd(0x1dc)+_0x3b8e45+',\x20PID\x20-\x20'+process[_0x32eddd(0x1d3)]+',\x20Argument\x20-\x20'+_0x1e22d1[_0x32eddd(0x1d4)](nestedKeyValue,arguments[0x0],_0x347972));const _0x2c9393=_0x25818c[_0x32eddd(0x1f2)](null,arguments);_0x58c4ae&&_0x1e22d1[_0x32eddd(0x232)](trace,_0x32eddd(0x217)+_0x3b8e45+_0x32eddd(0x1dd)+process[_0x32eddd(0x1d3)]+_0x32eddd(0x218)+_0x1e22d1[_0x32eddd(0x1d4)](nestedKeyValue,arguments[0x0],_0x347972));if(_0x1e22d1['gqloI'](_0x2c9393,Promise))return _0x2c9393[_0x32eddd(0x1d7)](_0x4066dc=>processError(_0x4066dc,_0x822bee,_0x209a51,_0x3b8e45));return _0x2c9393;}catch(_0x2878b1){_0x1e22d1[_0x32eddd(0x236)](processError,_0x2878b1,_0x822bee,_0x209a51,_0x3b8e45);}};},o11yClassErrorHandler=(_0x142afc,_0x52d71d,_0x3a2dc4='')=>{const _0xd43a87=a124_0x2bfa86,_0x5c72f5={'tavfk':function(_0x26135d,_0x14d12c){return _0x26135d instanceof _0x14d12c;},'FsHve':function(_0x4a471e,_0x5e1dfe,_0x3044c0,_0x187ed2,_0x121fa4){return _0x4a471e(_0x5e1dfe,_0x3044c0,_0x187ed2,_0x121fa4);},'rGmCW':function(_0x3daad4,_0x8905d9){return _0x3daad4===_0x8905d9;},'OzHFo':_0xd43a87(0x1d2),'viXLX':function(_0x522f74,_0x1eef62){return _0x522f74!==_0x1eef62;},'KgbzW':_0xd43a87(0x1e3),'qeLJG':function(_0x471aae,_0x5d0fbe){return _0x471aae<_0x5d0fbe;}},_0xa009ad=_0x142afc[_0xd43a87(0x226)];if(_0x5c72f5[_0xd43a87(0x229)](Object[_0xd43a87(0x20a)](_0xa009ad)[_0xd43a87(0x225)],0x2))return _0x142afc;return Object[_0xd43a87(0x20a)](_0xa009ad)[_0xd43a87(0x20d)](_0xef883=>{const _0xca8db9=_0xd43a87,_0xf35c1d={'Tfkzx':function(_0x217479,_0xcadd39){const _0x4c6690=a124_0x16ff;return _0x5c72f5[_0x4c6690(0x1ed)](_0x217479,_0xcadd39);},'FgOMS':function(_0x5c4a5f,_0x733fb3,_0x367469,_0x525ff7,_0x1da3a3){return _0x5c72f5['FsHve'](_0x5c4a5f,_0x733fb3,_0x367469,_0x525ff7,_0x1da3a3);}};if(!(_0x52d71d&&_0x52d71d[_0xca8db9(0x211)](_0xef883)))return;const _0x22288f=_0xa009ad[_0xef883];_0x5c72f5[_0xca8db9(0x1f6)](typeof _0x22288f,_0x5c72f5[_0xca8db9(0x1db)])&&_0x5c72f5[_0xca8db9(0x1c7)](_0xef883,_0x5c72f5['KgbzW'])&&Object[_0xca8db9(0x1df)](_0xa009ad,_0xef883,{'writable':!![],'value':function(..._0x1af034){const _0xdf73d3=_0xca8db9;try{const _0x428d6c=(process[_0xdf73d3(0x21d)][_0xdf73d3(0x1ce)]?PerformanceTester[_0xdf73d3(0x1f1)]()[_0xdf73d3(0x228)](_0x22288f):_0x22288f)[_0xdf73d3(0x1f0)](this,..._0x1af034);if(_0xf35c1d[_0xdf73d3(0x205)](_0x428d6c,Promise))return _0x428d6c['catch'](_0x2ae06e=>processError(_0x2ae06e,_0x22288f,_0x1af034,_0x3a2dc4));return _0x428d6c;}catch(_0x27a630){_0xf35c1d[_0xdf73d3(0x1c5)](processError,_0x27a630,_0x22288f,_0x1af034,_0x3a2dc4);}}});}),_0x142afc;};function a124_0x16ff(_0x4bc71e,_0x25fb8e){const _0x246324=a124_0x2463();return a124_0x16ff=function(_0x16ff5e,_0xff7883){_0x16ff5e=_0x16ff5e-0x1c5;let _0x5aebc8=_0x246324[_0x16ff5e];return _0x5aebc8;},a124_0x16ff(_0x4bc71e,_0x25fb8e);}function processError(_0x5e71c5,_0x4ed013,_0xf6b68a,_0x13fb61){const _0x5b9595=a124_0x2bfa86,_0x42df69={'qnVMn':function(_0x4f6284,_0x3f3071){return _0x4f6284(_0x3f3071);}};_0x42df69[_0x5b9595(0x1cf)](debug,_0x5b9595(0x1e4)+_0x4ed013[_0x5b9595(0x1f3)]+'\x20--\x20'+_0x13fb61+_0x5b9595(0x1ef)+util[_0x5b9595(0x22e)](_0x5e71c5)+_0x5b9595(0x201)+_0xf6b68a+'.'),PerformanceTester['captureError'](_0x5e71c5);let _0x48d801;try{_0x48d801=JSON['stringify'](_0xf6b68a);}catch(_0x2c2010){const _0x320aaf={};_0x320aaf[_0x5b9595(0x1ee)]=0x2,_0x48d801=util[_0x5b9595(0x22f)](_0xf6b68a,_0x320aaf);}CrashReporter[_0x5b9595(0x203)]('Error\x20in\x20executing\x20'+_0x4ed013[_0x5b9595(0x1f3)]+_0x5b9595(0x1cb)+_0x13fb61+_0x5b9595(0x1ef)+_0x5e71c5+'.\x20Args\x20-\x20'+_0x48d801+'.',_0x5e71c5&&_0x5e71c5[_0x5b9595(0x1d1)]);}class CrashReporter{static [a124_0x2bfa86(0x1d0)]={};static [a124_0x2bfa86(0x1e8)];static [a124_0x2bfa86(0x1e6)]={};static[a124_0x2bfa86(0x230)](_0x3f701d,_0x37e6e2,_0xdccaec=null){const _0x11c635=a124_0x2bfa86,_0x550bc4={'tvWAh':function(_0x53d171,_0x3bb620){return _0x53d171(_0x3bb620);},'ZWzJw':function(_0x44dcfe,_0x12f89b){return _0x44dcfe(_0x12f89b);}},_0x51c0ca=_0x3f701d['frameworkName'],_0x160956=_0x3f701d['frameworkVersion'];!_0xdccaec&&(_0xdccaec=_0x550bc4[_0x11c635(0x1e1)](getBrowserStackConfig,_0x51c0ca));!_0x160956&&_0x550bc4[_0x11c635(0x1e1)](getFrameworkVersion,_0x51c0ca);const _0x313405={};_0x313405[_0x11c635(0x20b)]=_0x51c0ca,_0x313405[_0x11c635(0x208)]=_0x160956,this[_0x11c635(0x234)](_0x313405,_0x37e6e2,_0x550bc4[_0x11c635(0x1ea)](getUserCredentials,_0xdccaec));}static[a124_0x2bfa86(0x216)](_0x26ba8b,_0x5a4623){const _0x6062fd=a124_0x2bfa86,_0x53dcc5={};_0x53dcc5[_0x6062fd(0x22b)]=_0x26ba8b,_0x53dcc5[_0x6062fd(0x1e5)]=_0x5a4623,this[_0x6062fd(0x1e8)]=_0x53dcc5,process[_0x6062fd(0x21d)][_0x6062fd(0x1f8)]=JSON[_0x6062fd(0x1f4)](this[_0x6062fd(0x1e8)]);}static[a124_0x2bfa86(0x20f)](){const _0x4f3067=a124_0x2bfa86,_0x11ae3c={'FLhEk':function(_0xcab145,_0x1cf2df){return _0xcab145(_0x1cf2df);}};if(!this[_0x4f3067(0x1e8)]&&process[_0x4f3067(0x21d)][_0x4f3067(0x1f8)])try{this[_0x4f3067(0x1e8)]=JSON['parse'](process[_0x4f3067(0x21d)][_0x4f3067(0x1f8)]);}catch(_0x4fd857){_0x11ae3c['FLhEk'](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x4fd857['toString']());}return this[_0x4f3067(0x1e8)];}static[a124_0x2bfa86(0x1da)](_0xc31441){const _0x1bc444=a124_0x2bfa86;this[_0x1bc444(0x1d0)]=this[_0x1bc444(0x1d6)](_0xc31441),process['env'][_0x1bc444(0x207)]=JSON[_0x1bc444(0x1f4)](this[_0x1bc444(0x1d0)]);}static[a124_0x2bfa86(0x231)](){const _0x536dcc=a124_0x2bfa86,_0x4031ef={'MVjmW':function(_0x25cce8,_0x542d58){return _0x25cce8===_0x542d58;},'jApdM':function(_0x1710c5,_0x21e844){return _0x1710c5(_0x21e844);}};if(_0x4031ef[_0x536dcc(0x1ff)](Object[_0x536dcc(0x233)](this[_0x536dcc(0x1d0)])[_0x536dcc(0x225)],0x0)&&process[_0x536dcc(0x21d)][_0x536dcc(0x207)])try{this['userConfig']=JSON[_0x536dcc(0x223)](process['env']['USER_CONFIG_FOR_REPORTING']);}catch(_0x2de631){_0x4031ef[_0x536dcc(0x1cd)](debug,_0x536dcc(0x212)+_0x2de631[_0x536dcc(0x1d5)]()),this['userConfig']={};}return this[_0x536dcc(0x1d0)];}static[a124_0x2bfa86(0x1fb)](_0xf36851){const _0xde3fab=a124_0x2bfa86;this[_0xde3fab(0x1e6)]=_0xf36851,process['env'][_0xde3fab(0x22a)]=JSON[_0xde3fab(0x1f4)](this[_0xde3fab(0x1e6)]);}static[a124_0x2bfa86(0x1fc)](){const _0x268305=a124_0x2bfa86,_0x1b5622={'otuyT':function(_0xa267af,_0x303cb8){return _0xa267af===_0x303cb8;},'ybjPL':function(_0x1da9dd,_0x307ae6){return _0x1da9dd(_0x307ae6);}};if(_0x1b5622[_0x268305(0x221)](Object[_0x268305(0x233)](this[_0x268305(0x1e6)])[_0x268305(0x225)],0x0)&&process[_0x268305(0x21d)][_0x268305(0x22a)])try{this[_0x268305(0x1e6)]=JSON[_0x268305(0x223)](process['env']['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x97c0b4){_0x1b5622[_0x268305(0x1c9)](debug,_0x268305(0x21b)+_0x97c0b4['toString']());}return this[_0x268305(0x1e6)];}static[a124_0x2bfa86(0x234)](_0x332db5,_0x5c465a,_0x233404){const _0x4aa058=a124_0x2bfa86;_0x332db5&&this[_0x4aa058(0x1fb)](_0x332db5),_0x5c465a&&this[_0x4aa058(0x1da)](_0x5c465a),_0x233404&&this[_0x4aa058(0x216)](_0x233404[_0x4aa058(0x22b)],_0x233404['accessKey']);}static async[a124_0x2bfa86(0x203)](_0x512882,_0x21b007){const _0x30d80d=a124_0x2bfa86,_0x584ab1={'iQgbp':function(_0x8fc723,_0x28b317){return _0x8fc723(_0x28b317);},'FVnTQ':function(_0x4d4d50,_0xdea23){return _0x4d4d50(_0xdea23);},'dLEvi':_0x30d80d(0x1d8),'oLSWi':function(_0x99eb34){return _0x99eb34();},'BGCZY':_0x30d80d(0x1ec),'haOoy':'application/json','nQCey':_0x30d80d(0x1ca),'ZjHHW':function(_0x1d677b,_0x3b1b20,_0x2dfd8b,_0x281e5a,_0x4b1044,_0x7fe4f3){return _0x1d677b(_0x3b1b20,_0x2dfd8b,_0x281e5a,_0x4b1044,_0x7fe4f3);},'GFixI':'POST'};this[_0x30d80d(0x20f)]();if(!this[_0x30d80d(0x1e8)])return _0x584ab1[_0x30d80d(0x227)](debug,_0x584ab1['dLEvi']);this['getConfig'](),this[_0x30d80d(0x1fc)]();const _0x6a6ba2={'hashed_id':process[_0x30d80d(0x21d)][_0x30d80d(0x21c)],'observability_version':{'sdkVersion':_0x584ab1[_0x30d80d(0x220)](getAgentVersion),'frameworkName':this[_0x30d80d(0x1e6)]['frameworkName'],'frameworkVersion':this[_0x30d80d(0x1e6)][_0x30d80d(0x208)]},'exception':{'error':_0x512882['toString'](),'stackTrace':_0x21b007},'config':this[_0x30d80d(0x1d0)]},_0x4ec7f6=_0x584ab1[_0x30d80d(0x21f)],_0x5d7201={};_0x5d7201['username']=this[_0x30d80d(0x1e8)][_0x30d80d(0x22b)],_0x5d7201['password']=this[_0x30d80d(0x1e8)]['accessKey'];const _0x339e1b={};_0x339e1b['Content-Type']=_0x584ab1[_0x30d80d(0x20e)],_0x339e1b['X-BSTACK-TESTOPS']=_0x584ab1['nQCey'];const _0x22585f={};_0x22585f[_0x30d80d(0x1c6)]=_0x5d7201,_0x22585f[_0x30d80d(0x1e2)]=_0x339e1b;const _0x44bad5=_0x22585f;_0x584ab1[_0x30d80d(0x204)](nodeRequest,_0x584ab1[_0x30d80d(0x21a)],_0x4ec7f6,_0x6a6ba2,_0x44bad5,![])[_0x30d80d(0x1d9)](_0xdc3893=>{const _0x5aed4c=_0x30d80d;_0x584ab1['iQgbp'](debug,_0x5aed4c(0x222)+JSON[_0x5aed4c(0x1f4)](_0xdc3893));})[_0x30d80d(0x1d7)](_0x1ac78a=>{const _0x2a403a=_0x30d80d;_0x584ab1[_0x2a403a(0x227)](debug,_0x2a403a(0x22c)+util[_0x2a403a(0x22e)](_0x1ac78a));});}static['recursivelyDeletePIIKeysFromObject'](_0x2bdb8b){const _0x1513b3=a124_0x2bfa86,_0x16acba={};_0x16acba[_0x1513b3(0x1fd)]=_0x1513b3(0x1e9),_0x16acba[_0x1513b3(0x235)]=_0x1513b3(0x22b),_0x16acba[_0x1513b3(0x224)]=_0x1513b3(0x1c8),_0x16acba['VdXPb']=_0x1513b3(0x1e5),_0x16acba['zwKsf']=_0x1513b3(0x214),_0x16acba['GqKhc']=function(_0x3c05d2,_0x5401a7){return _0x3c05d2===_0x5401a7;},_0x16acba[_0x1513b3(0x209)]=_0x1513b3(0x1cc);const _0x15bb75=_0x16acba;if(!_0x2bdb8b)return;const _0xf383e5=[_0x15bb75['hXNyq'],_0x15bb75['AvNkQ'],_0x15bb75[_0x1513b3(0x224)],_0x15bb75[_0x1513b3(0x1f7)],_0x15bb75['zwKsf']];for(const _0x3c46d7 in _0x2bdb8b){if(_0xf383e5['includes'](_0x3c46d7[_0x1513b3(0x1e0)]()))delete _0x2bdb8b[_0x3c46d7];else _0x15bb75[_0x1513b3(0x20c)](typeof _0x2bdb8b[_0x3c46d7],_0x15bb75['KNBem'])&&this['recursivelyDeletePIIKeysFromObject'](_0x2bdb8b[_0x3c46d7]);}}static['filterPII'](_0x48af16){const _0x2191ed=a124_0x2bfa86,_0x3b4184=JSON[_0x2191ed(0x223)](JSON['stringify'](_0x48af16));return this['recursivelyDeletePIIKeysFromObject'](_0x3b4184),_0x3b4184;}}const a124_0x1cda84={};a124_0x1cda84['o11yErrorHandler']=o11yErrorHandler,a124_0x1cda84[a124_0x2bfa86(0x1f9)]=o11yClassErrorHandler,a124_0x1cda84['CrashReporter']=CrashReporter,module[a124_0x2bfa86(0x1f5)]=a124_0x1cda84;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125_0x5c0bd0=a125_0x3e57;function a125_0x3e57(_0x79ce3d,_0x993456){const _0x4a5055=a125_0x4a50();return a125_0x3e57=function(_0x3e575d,_0x45f796){_0x3e575d=_0x3e575d-0x169;let _0x36e3f1=_0x4a5055[_0x3e575d];return _0x36e3f1;},a125_0x3e57(_0x79ce3d,_0x993456);}(function(_0x4c9398,_0x395471){const _0x4cca21=a125_0x3e57,_0x3acd3e=_0x4c9398();while(!![]){try{const _0x4296c7=parseInt(_0x4cca21(0x1aa))/0x1+parseInt(_0x4cca21(0x16e))/0x2*(-parseInt(_0x4cca21(0x1d6))/0x3)+parseInt(_0x4cca21(0x17d))/0x4*(parseInt(_0x4cca21(0x181))/0x5)+parseInt(_0x4cca21(0x18a))/0x6+-parseInt(_0x4cca21(0x1c3))/0x7+-parseInt(_0x4cca21(0x175))/0x8+parseInt(_0x4cca21(0x186))/0x9*(-parseInt(_0x4cca21(0x16f))/0xa);if(_0x4296c7===_0x395471)break;else _0x3acd3e['push'](_0x3acd3e['shift']());}catch(_0x690ca3){_0x3acd3e['push'](_0x3acd3e['shift']());}}}(a125_0x4a50,0x76368));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a125_0x5c0bd0(0x17b)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a125_0x5c0bd0(0x1b4)),{nestedKeyValue}=require(a125_0x5c0bd0(0x185)),util=require(a125_0x5c0bd0(0x19b)),constants=require(a125_0x5c0bd0(0x1a8));class RequestQueueHandler{static [a125_0x5c0bd0(0x1bb)];[a125_0x5c0bd0(0x1d5)]=0x0;constructor(){const _0x45b291=a125_0x5c0bd0,_0x2c0c28={};_0x2c0c28[_0x45b291(0x16d)]=_0x45b291(0x1da),_0x2c0c28[_0x45b291(0x1a4)]=_0x45b291(0x179),_0x2c0c28[_0x45b291(0x1ab)]=_0x45b291(0x1bf),_0x2c0c28[_0x45b291(0x173)]=_0x45b291(0x1b3),_0x2c0c28[_0x45b291(0x17f)]='LogCreated',_0x2c0c28[_0x45b291(0x1be)]=_0x45b291(0x16c),_0x2c0c28[_0x45b291(0x1b1)]='TestRunFinished',_0x2c0c28['XPVbG']='TestRunSkipped',_0x2c0c28[_0x45b291(0x1a6)]=_0x45b291(0x16a),_0x2c0c28[_0x45b291(0x182)]=_0x45b291(0x180),_0x2c0c28[_0x45b291(0x1a3)]=_0x45b291(0x1b9);const _0xabdab9=_0x2c0c28,_0x3b2606=_0xabdab9['CTEwG']['split']('|');let _0x435ad8=0x0;while(!![]){switch(_0x3b2606[_0x435ad8++]){case'0':this[_0x45b291(0x193)]=_0xabdab9[_0x45b291(0x1a4)];continue;case'1':this[_0x45b291(0x1cf)]=_0xabdab9[_0x45b291(0x1ab)];continue;case'2':this['uploadAttachmentUrl']=_0xabdab9[_0x45b291(0x173)];continue;case'3':this[_0x45b291(0x1d1)]=![];continue;case'4':this['BATCH_EVENT_TYPES']=[_0xabdab9['KYeSg'],_0xabdab9[_0x45b291(0x1be)],_0xabdab9[_0x45b291(0x1b1)],_0xabdab9['XPVbG'],_0xabdab9['MdaGR'],_0xabdab9[_0x45b291(0x182)],_0xabdab9[_0x45b291(0x1a3)]];continue;case'5':this[_0x45b291(0x17c)]=null;continue;case'6':this[_0x45b291(0x1ae)]=[];continue;}break;}}static['getInstance'](){const _0x143026=a125_0x5c0bd0;return!RequestQueueHandler[_0x143026(0x1bb)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler[_0x143026(0x1bb)];}[a125_0x5c0bd0(0x169)]=()=>{const _0x677d=a125_0x5c0bd0;!this[_0x677d(0x1d1)]&&(this[_0x677d(0x1d1)]=!![],this['startEventBatchPolling']());};[a125_0x5c0bd0(0x191)]=_0x2321f6=>{const _0x1fa10a=a125_0x5c0bd0,_0x954eee={'zMHhy':function(_0x56b409,_0x21bafe){return _0x56b409===_0x21bafe;},'IQIpd':'TEST_SCREENSHOT','lAcaF':function(_0x536f32,_0x5e3c11){return _0x536f32>_0x5e3c11;},'aNdBM':function(_0x1a51c8,_0x49603d){return _0x1a51c8===_0x49603d;},'PjbTG':_0x1fa10a(0x171),'XDnMA':function(_0x172495,_0x595661){return _0x172495!==_0x595661;},'yirAq':'TestRunFinished','CPVJf':function(_0x4e32ec,_0x31213a){return _0x4e32ec(_0x31213a);},'SJQXQ':_0x1fa10a(0x1b0)};if(this[_0x1fa10a(0x189)][_0x1fa10a(0x199)](_0x2321f6['event_type'])){if(_0x2321f6[_0x1fa10a(0x1a7)]&&_0x2321f6[_0x1fa10a(0x1a7)][0x0]&&_0x954eee[_0x1fa10a(0x16b)](_0x2321f6[_0x1fa10a(0x1a7)][0x0][_0x1fa10a(0x1a0)],_0x954eee[_0x1fa10a(0x196)])){const _0x802eb6={};return _0x802eb6[_0x1fa10a(0x1bc)]=!![],_0x802eb6[_0x1fa10a(0x1c4)]=[_0x2321f6],_0x802eb6[_0x1fa10a(0x1c6)]=this[_0x1fa10a(0x1cf)],_0x802eb6;}if(_0x2321f6[_0x1fa10a(0x1a7)]&&_0x954eee[_0x1fa10a(0x1c1)](_0x2321f6[_0x1fa10a(0x1a7)][_0x1fa10a(0x198)],0x0)&&_0x954eee[_0x1fa10a(0x1a2)](_0x2321f6['logs'][0x0][_0x1fa10a(0x1a0)],_0x954eee['PjbTG'])&&_0x954eee['XDnMA'](_0x2321f6[_0x1fa10a(0x1ba)],_0x954eee[_0x1fa10a(0x1bd)])){const _0x54a13f={};return _0x54a13f[_0x1fa10a(0x1bc)]=!![],_0x54a13f[_0x1fa10a(0x1c4)]=[_0x2321f6],_0x54a13f[_0x1fa10a(0x1c6)]=this[_0x1fa10a(0x1ac)],_0x54a13f;}this[_0x1fa10a(0x1ae)][_0x1fa10a(0x18e)](_0x2321f6);let _0x55de93=null;const _0x3829a1=this[_0x1fa10a(0x1bc)]();_0x3829a1&&(_0x954eee[_0x1fa10a(0x1d3)](trace,_0x954eee[_0x1fa10a(0x197)]),_0x55de93=this[_0x1fa10a(0x1ae)]['slice'](0x0,BATCH_SIZE),this[_0x1fa10a(0x1ae)][_0x1fa10a(0x178)](0x0,BATCH_SIZE),this[_0x1fa10a(0x1cc)]());const _0x3f0a08={};return _0x3f0a08[_0x1fa10a(0x1bc)]=_0x3829a1,_0x3f0a08['proceedWithData']=_0x55de93,_0x3f0a08['proceedWithUrl']=this[_0x1fa10a(0x193)],_0x3f0a08;}const _0x377159={};return _0x377159[_0x1fa10a(0x1bc)]=!![],_0x377159;};[a125_0x5c0bd0(0x18f)]=async()=>{const _0x132b19=a125_0x5c0bd0,_0x35f961={'KgAMj':_0x132b19(0x176),'eyATZ':function(_0x1f2f6d,_0x3129c5){return _0x1f2f6d>_0x3129c5;},'MarKR':_0x132b19(0x1a1),'rfnHA':function(_0x49fa98,_0x11f434){return _0x49fa98(_0x11f434);}};await this[_0x132b19(0x183)](),this['removeEventBatchPolling'](_0x35f961[_0x132b19(0x1b6)]);while(_0x35f961[_0x132b19(0x1c5)](this[_0x132b19(0x1ae)][_0x132b19(0x198)],0x0)){const _0x254f44=this[_0x132b19(0x1ae)][_0x132b19(0x1c2)](0x0,BATCH_SIZE);this[_0x132b19(0x1ae)][_0x132b19(0x178)](0x0,BATCH_SIZE),await this[_0x132b19(0x1b5)](this['eventUrl'],_0x35f961['MarKR'],_0x254f44);}_0x35f961[_0x132b19(0x1c5)](this[_0x132b19(0x1d5)],0x0)&&_0x35f961['rfnHA'](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this['pendingUploads']);};['batchAndPostEvents']=async(_0x14816d,_0x486a4f,_0x52a161)=>{const _0x2af386=a125_0x5c0bd0,_0x462e94={'gTMxl':function(_0x1e2897,_0x4d08c8){return _0x1e2897(_0x4d08c8);},'hlsqb':_0x2af386(0x1ca),'sPuHk':function(_0x383b38){return _0x383b38();},'qEOdy':function(_0x245818,_0x4649d6,_0x3fbc48,_0x3870f9,_0x378d8b){return _0x245818(_0x4649d6,_0x3fbc48,_0x3870f9,_0x378d8b);},'KPlQy':_0x2af386(0x194),'HnkMX':function(_0x1de7d8,_0x13c6a5){return _0x1de7d8-_0x13c6a5;},'bYJBO':function(_0x5f2ab8,_0x1305da){return _0x5f2ab8(_0x1305da);},'YWJZB':function(_0x232919,_0x1d0070){return _0x232919-_0x1d0070;}};let _0x6c39de='';try{_0x6c39de=_0x52a161['map'](_0x35ddd0=>'\x27'+_0x35ddd0[_0x2af386(0x1ba)]+'\x27:'+(nestedKeyValue(_0x35ddd0,[_0x2af386(0x1af),_0x2af386(0x1c7)])||nestedKeyValue(_0x35ddd0,[_0x2af386(0x188),_0x2af386(0x1c7)])))[_0x2af386(0x192)](','),_0x462e94['gTMxl'](debug,'Processing\x20batch\x20events\x20for\x20'+_0x486a4f+_0x2af386(0x1d9)+Buffer[_0x2af386(0x1d7)](util[_0x2af386(0x170)]('%j',_0x52a161),_0x462e94[_0x2af386(0x184)])+'\x20bytes.\x20Events\x20are\x20'+_0x6c39de);}catch(_0x4d0292){_0x462e94[_0x2af386(0x190)](debug,'Exception\x20in\x20logging\x20batch\x20events\x20--\x20'+util['format'](_0x4d0292)+'}');}const _0x543e21={'headers':_0x462e94[_0x2af386(0x1c9)](getDefaultHeaders)};try{const _0x50cde4=await _0x462e94['qEOdy'](nodeRequest,_0x462e94[_0x2af386(0x187)],_0x14816d,_0x52a161,_0x543e21);if(_0x50cde4[_0x2af386(0x18b)][_0x2af386(0x1d0)]){const _0x50d24a={};_0x50d24a[_0x2af386(0x1c0)]=_0x50cde4[_0x2af386(0x18b)][_0x2af386(0x1d0)];throw _0x50d24a;}else _0x462e94[_0x2af386(0x190)](debug,_0x486a4f+_0x2af386(0x1d8)+_0x6c39de+_0x2af386(0x19a)+util[_0x2af386(0x170)]('%j',_0x50cde4['data'])),this[_0x2af386(0x1d5)]=Math[_0x2af386(0x1a5)](0x0,_0x462e94[_0x2af386(0x1ad)](this['pendingUploads'],_0x52a161['length']));}catch(_0x3bb1e4){_0x3bb1e4[_0x2af386(0x1a9)]?_0x462e94[_0x2af386(0x190)](debug,_0x2af386(0x177)+_0x486a4f+'\x20REQUEST\x20TO\x20'+constants[_0x2af386(0x1b7)]+'\x20:\x20'+_0x3bb1e4[_0x2af386(0x1a9)][_0x2af386(0x174)]+'\x20'+_0x3bb1e4['response'][_0x2af386(0x1b8)]+'\x20'+util[_0x2af386(0x170)]('%j',_0x3bb1e4[_0x2af386(0x1a9)])):_0x462e94['bYJBO'](debug,_0x2af386(0x177)+_0x486a4f+_0x2af386(0x19e)+constants[_0x2af386(0x1b7)]+_0x2af386(0x17a)+(_0x3bb1e4[_0x2af386(0x1c0)]||_0x3bb1e4)),this['pendingUploads']=Math[_0x2af386(0x1a5)](0x0,_0x462e94['YWJZB'](this['pendingUploads'],_0x52a161['length']));}};['startEventBatchPolling']=()=>{const _0x3ec844=a125_0x5c0bd0,_0x42dd9d={'QahOW':function(_0x51b3c8,_0x4cf1e8){return _0x51b3c8>_0x4cf1e8;},'iDyuh':function(_0x3a52dc,_0x4983e8){return _0x3a52dc(_0x4983e8);},'NBqyA':_0x3ec844(0x17e),'SDgav':function(_0x56bf16,_0x347cd2){return _0x56bf16(_0x347cd2);},'xRwYQ':function(_0x215ce3,_0x1c1929,_0x43d737){return _0x215ce3(_0x1c1929,_0x43d737);}};this[_0x3ec844(0x17c)]=_0x42dd9d[_0x3ec844(0x18d)](setInterval,async()=>{const _0x3cec08=_0x3ec844;if(_0x42dd9d[_0x3cec08(0x1ce)](this['queue']['length'],0x0)){_0x42dd9d['iDyuh'](trace,_0x3cec08(0x18c)+this[_0x3cec08(0x1ae)][_0x3cec08(0x198)]);const _0x411d57=this[_0x3cec08(0x1ae)][_0x3cec08(0x1c2)](0x0,BATCH_SIZE);this[_0x3cec08(0x1ae)][_0x3cec08(0x178)](0x0,BATCH_SIZE),await this[_0x3cec08(0x1b5)](this[_0x3cec08(0x193)],_0x42dd9d['NBqyA'],_0x411d57),_0x42dd9d[_0x3cec08(0x1b2)](trace,_0x3cec08(0x1c8)+this[_0x3cec08(0x1ae)][_0x3cec08(0x198)]);}},BATCH_INTERVAL);};[a125_0x5c0bd0(0x1cc)]=()=>{const _0xe07dbb=a125_0x5c0bd0,_0x223741={};_0x223741[_0xe07dbb(0x1db)]=_0xe07dbb(0x1d4);const _0x3b8239=_0x223741;this[_0xe07dbb(0x195)](_0x3b8239[_0xe07dbb(0x1db)]),this['startEventBatchPolling']();};[a125_0x5c0bd0(0x195)]=_0x586321=>{const _0x1164f1=a125_0x5c0bd0,_0x501213={'XMDip':function(_0x25044c,_0x37bd35){return _0x25044c(_0x37bd35);},'NRxSV':function(_0xb503f9,_0x27c627){return _0xb503f9===_0x27c627;},'hpGqR':_0x1164f1(0x176)};this[_0x1164f1(0x17c)]&&(_0x501213[_0x1164f1(0x19d)](clearInterval,this[_0x1164f1(0x17c)]),this[_0x1164f1(0x17c)]=null,_0x501213[_0x1164f1(0x19c)](_0x586321,_0x501213['hpGqR'])&&(this[_0x1164f1(0x1d1)]=![]));};['shouldProceed']=()=>{const _0x58d8c9=a125_0x5c0bd0,_0x30e95d={};_0x30e95d[_0x58d8c9(0x19f)]=function(_0x25980d,_0x5d2861){return _0x25980d>=_0x5d2861;};const _0x3d9874=_0x30e95d;return _0x3d9874[_0x58d8c9(0x19f)](this[_0x58d8c9(0x1ae)][_0x58d8c9(0x198)],BATCH_SIZE);};async[a125_0x5c0bd0(0x183)](_0x1772d5=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x1e72e4=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x2d1e72=a125_0x5c0bd0,_0x29bd56={'ENfnn':function(_0x2217b9,_0x1a1b18){return _0x2217b9<=_0x1a1b18;},'GxzEM':function(_0x4ddc11,_0x23efc3){return _0x4ddc11(_0x23efc3);},'OgzfY':function(_0x2feed2,_0x54b71c){return _0x2feed2-_0x54b71c;}};if(_0x29bd56[_0x2d1e72(0x172)](this[_0x2d1e72(0x1d5)],0x0)||_0x29bd56[_0x2d1e72(0x172)](_0x1772d5,0x0))return;return await _0x29bd56[_0x2d1e72(0x1d2)](sleep,_0x1e72e4),this[_0x2d1e72(0x183)](_0x29bd56[_0x2d1e72(0x1cd)](_0x1772d5,_0x1e72e4));}}module[a125_0x5c0bd0(0x1cb)]=RequestQueueHandler;function a125_0x4a50(){const _0x32e3b1=['screenshotEventUrl','error','started','GxzEM','CPVJf','RESETTING','pendingUploads','519ttECVA','byteLength','\x20event\x20successful\x20for\x20events\x20','.\x20Request\x20Size\x20-\x20','6|3|0|1|2|4|5','GkpYw','start','HookRunFinished','zMHhy','CBTSessionCreated','CTEwG','4366wGfLpl','30VPwaDz','format','TEST_ATTACHMENT','ENfnn','UyvMP','status','1158760hxLIRn','REMOVING','EXCEPTION\x20IN\x20','splice','api/v1/batch','\x20:\x20','./constants','pollEventBatchInterval','67556TmcxzV','Interval-Queue','KYeSg','TestRunStarted','285HvAfWU','HrxwG','uploadPending','hlsqb','../helper','73881fGuqyE','KPlQy','hook_run','BATCH_EVENT_TYPES','709860vCnIGr','data','Processing\x20events.\x20Queue\x20Length\x20-\x20','xRwYQ','push','shutdown','gTMxl','add','join','eventUrl','POST','removeEventBatchPolling','IQIpd','SJQXQ','length','includes','\x20--\x20','util','NRxSV','XMDip','\x20REQUEST\x20TO\x20','VspZj','kind','Shutdown-Queue','aNdBM','KahNu','RsWjs','max','MdaGR','logs','../../bin/utils/constants','response','757186rqhgBf','kbUbY','uploadAttachmentUrl','HnkMX','queue','test_run','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','HbSDT','SDgav','upload-attachments','./utils','batchAndPostEvents','KgAMj','TEST_REPORTING_ANALYTICS','statusText','HookRunStarted','event_type','instance','shouldProceed','yirAq','WqJhQ','api/v1/screenshots','message','lAcaF','slice','5647866QJFxLD','proceedWithData','eyATZ','proceedWithUrl','uuid','Remaining\x20Queue\x20Length\x20-\x20','sPuHk','utf8','exports','resetEventBatchPolling','OgzfY','QahOW'];a125_0x4a50=function(){return _0x32e3b1;};return a125_0x4a50();}
|
|
1
|
+
function a125_0x1932(_0x8404bf,_0x52a01e){const _0x4d6165=a125_0x4d61();return a125_0x1932=function(_0x193253,_0x550ca1){_0x193253=_0x193253-0x1c4;let _0x37960=_0x4d6165[_0x193253];return _0x37960;},a125_0x1932(_0x8404bf,_0x52a01e);}const a125_0x26183e=a125_0x1932;function a125_0x4d61(){const _0x26ab5f=['TEST_SCREENSHOT','GSmKR','JaIGO','shNNm','LogCreated','splice','FeYbF','add','TkdGI','TestRunFinished','pendingUploads','nPEsc','uploadPending','TEST_REPORTING_ANALYTICS','rQbRw','TestRunSkipped','Processing\x20batch\x20events\x20for\x20','GPZyu','fadfb','4eSaYLr','utf8','length','started','api/v1/batch','aBLOt','mFkyq','HookRunFinished','uploadAttachmentUrl','slice','2270750PDEAMW','shutdown','2113912fShDbC','zjIGO','EXCEPTION\x20IN\x20','HjLfw','19862JxATQx','UtVnf','\x20event\x20successful\x20for\x20events\x20','screenshotEventUrl','\x20bytes.\x20Events\x20are\x20','1656955PiIZRI','upload-attachments','proceedWithData','format','Remaining\x20Queue\x20Length\x20-\x20','resetEventBatchPolling','status','WGjBR','join','../helper','HWyuX','30dgSrzO','batchAndPostEvents','Shutdown-Queue','max','Processing\x20events.\x20Queue\x20Length\x20-\x20','ACSTW','proceedWithUrl','shouldProceed','AaTXd','uFhOo','response','logs','\x20--\x20','pcieb','event_type','map','TEST_ATTACHMENT','\x20REQUEST\x20TO\x20','exports','mCcOb','eventUrl','xTokb','ynLew','dAgPp','error','instance','mNLOL','vlkJC','removeEventBatchPolling','2942109erxluF','POST','531543wnWuZS','REMOVING','120qmxRSp','uFbtz','gIkUR','TlDkx','./constants','MkVaP','RESETTING','150899ZPpfbS','start','vtCXo','test_run','queue','pollEventBatchInterval','pKVuY','Interval-Queue','UukGS','data','TestRunStarted','util','startEventBatchPolling','PfVDx','split','kind','MRejg','WPpxO','message','zLrdD','NEkfv','QqREe','.\x20Request\x20Size\x20-\x20'];a125_0x4d61=function(){return _0x26ab5f;};return a125_0x4d61();}(function(_0x51df10,_0x50d328){const _0x5a3c99=a125_0x1932,_0x56c30f=_0x51df10();while(!![]){try{const _0x80020a=parseInt(_0x5a3c99(0x1c5))/0x1+-parseInt(_0x5a3c99(0x208))/0x2*(parseInt(_0x5a3c99(0x1c7))/0x3)+-parseInt(_0x5a3c99(0x1f8))/0x4*(-parseInt(_0x5a3c99(0x20d))/0x5)+-parseInt(_0x5a3c99(0x218))/0x6*(-parseInt(_0x5a3c99(0x1ce))/0x7)+parseInt(_0x5a3c99(0x204))/0x8+-parseInt(_0x5a3c99(0x235))/0x9+-parseInt(_0x5a3c99(0x202))/0xa;if(_0x80020a===_0x50d328)break;else _0x56c30f['push'](_0x56c30f['shift']());}catch(_0x18074f){_0x56c30f['push'](_0x56c30f['shift']());}}}(a125_0x4d61,0x4545e));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a125_0x26183e(0x1cb)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a125_0x26183e(0x216)),util=require(a125_0x26183e(0x1d9)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static [a125_0x26183e(0x231)];[a125_0x26183e(0x1ef)]=0x0;constructor(){const _0x1ce232=a125_0x26183e,_0x5c9bc7={};_0x5c9bc7[_0x1ce232(0x1e6)]='5|0|2|4|3|1|6',_0x5c9bc7[_0x1ce232(0x1db)]=_0x1ce232(0x1e9),_0x5c9bc7[_0x1ce232(0x1e3)]='CBTSessionCreated',_0x5c9bc7['bigvS']=_0x1ce232(0x1ee),_0x5c9bc7[_0x1ce232(0x1f3)]=_0x1ce232(0x1f4),_0x5c9bc7[_0x1ce232(0x220)]=_0x1ce232(0x1ff),_0x5c9bc7['HWyuX']=_0x1ce232(0x1d8),_0x5c9bc7[_0x1ce232(0x22e)]='HookRunStarted',_0x5c9bc7[_0x1ce232(0x1f0)]=_0x1ce232(0x1fc),_0x5c9bc7[_0x1ce232(0x1f6)]=_0x1ce232(0x20e),_0x5c9bc7[_0x1ce232(0x1fe)]='api/v1/screenshots';const _0x8d0a45=_0x5c9bc7,_0x1401d2=_0x8d0a45[_0x1ce232(0x1e6)][_0x1ce232(0x1dc)]('|');let _0x41dac1=0x0;while(!![]){switch(_0x1401d2[_0x41dac1++]){case'0':this[_0x1ce232(0x1fb)]=![];continue;case'1':this['BATCH_EVENT_TYPES']=[_0x8d0a45[_0x1ce232(0x1db)],_0x8d0a45[_0x1ce232(0x1e3)],_0x8d0a45['bigvS'],_0x8d0a45['rQbRw'],_0x8d0a45['AaTXd'],_0x8d0a45[_0x1ce232(0x217)],_0x8d0a45[_0x1ce232(0x22e)]];continue;case'2':this[_0x1ce232(0x22c)]=_0x8d0a45[_0x1ce232(0x1f0)];continue;case'3':this[_0x1ce232(0x200)]=_0x8d0a45[_0x1ce232(0x1f6)];continue;case'4':this[_0x1ce232(0x20b)]=_0x8d0a45[_0x1ce232(0x1fe)];continue;case'5':this[_0x1ce232(0x1d2)]=[];continue;case'6':this['pollEventBatchInterval']=null;continue;}break;}}static['getInstance'](){const _0x32db49=a125_0x26183e;return!RequestQueueHandler[_0x32db49(0x231)]&&(RequestQueueHandler[_0x32db49(0x231)]=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a125_0x26183e(0x1cf)]=()=>{const _0x4a398e=a125_0x26183e;!this[_0x4a398e(0x1fb)]&&(this[_0x4a398e(0x1fb)]=!![],this[_0x4a398e(0x1da)]());};[a125_0x26183e(0x1ec)]=_0x29dc27=>{const _0x361acc=a125_0x26183e,_0x36c49b={'uFbtz':function(_0x4b97c5,_0x59b05c){return _0x4b97c5===_0x59b05c;},'UukGS':_0x361acc(0x1e5),'WVdiO':function(_0x49a729,_0x1a9141){return _0x49a729>_0x1a9141;},'UtVnf':_0x361acc(0x228),'pcieb':function(_0xaf9f1a,_0x1e6383){return _0xaf9f1a!==_0x1e6383;},'gIkUR':_0x361acc(0x1ee),'mNLOL':function(_0xcc5c5c,_0x4b2e12){return _0xcc5c5c(_0x4b2e12);},'jtvcO':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this['BATCH_EVENT_TYPES']['includes'](_0x29dc27[_0x361acc(0x226)])){if(_0x29dc27['logs']&&_0x29dc27[_0x361acc(0x223)][0x0]&&_0x36c49b[_0x361acc(0x1c8)](_0x29dc27[_0x361acc(0x223)][0x0][_0x361acc(0x1dd)],_0x36c49b[_0x361acc(0x1d6)])){const _0x388c15={};return _0x388c15[_0x361acc(0x21f)]=!![],_0x388c15[_0x361acc(0x20f)]=[_0x29dc27],_0x388c15['proceedWithUrl']=this['screenshotEventUrl'],_0x388c15;}if(_0x29dc27[_0x361acc(0x223)]&&_0x36c49b['WVdiO'](_0x29dc27[_0x361acc(0x223)][_0x361acc(0x1fa)],0x0)&&_0x36c49b[_0x361acc(0x1c8)](_0x29dc27['logs'][0x0]['kind'],_0x36c49b[_0x361acc(0x209)])&&_0x36c49b[_0x361acc(0x225)](_0x29dc27[_0x361acc(0x226)],_0x36c49b[_0x361acc(0x1c9)])){const _0x2d8fa0={};return _0x2d8fa0['shouldProceed']=!![],_0x2d8fa0[_0x361acc(0x20f)]=[_0x29dc27],_0x2d8fa0['proceedWithUrl']=this[_0x361acc(0x200)],_0x2d8fa0;}this[_0x361acc(0x1d2)]['push'](_0x29dc27);let _0x1ae23e=null;const _0x4debb7=this[_0x361acc(0x21f)]();_0x4debb7&&(_0x36c49b[_0x361acc(0x232)](trace,_0x36c49b['jtvcO']),_0x1ae23e=this[_0x361acc(0x1d2)][_0x361acc(0x201)](0x0,BATCH_SIZE),this[_0x361acc(0x1d2)][_0x361acc(0x1ea)](0x0,BATCH_SIZE),this[_0x361acc(0x212)]());const _0x5dcc5d={};return _0x5dcc5d[_0x361acc(0x21f)]=_0x4debb7,_0x5dcc5d[_0x361acc(0x20f)]=_0x1ae23e,_0x5dcc5d[_0x361acc(0x21e)]=this['eventUrl'],_0x5dcc5d;}const _0x3861f7={};return _0x3861f7[_0x361acc(0x21f)]=!![],_0x3861f7;};[a125_0x26183e(0x203)]=async()=>{const _0x349ae4=a125_0x26183e,_0x42ca78={'uEfuW':_0x349ae4(0x1c6),'ACSTW':function(_0x4bb632,_0x2d9583){return _0x4bb632>_0x2d9583;},'TlDkx':_0x349ae4(0x21a),'MkVaP':function(_0x58fad0,_0xbd395){return _0x58fad0>_0xbd395;},'MRejg':function(_0x1db60c,_0x3ab3df){return _0x1db60c(_0x3ab3df);}};await this[_0x349ae4(0x1f1)](),this[_0x349ae4(0x234)](_0x42ca78['uEfuW']);while(_0x42ca78[_0x349ae4(0x21d)](this[_0x349ae4(0x1d2)][_0x349ae4(0x1fa)],0x0)){const _0x288a4e=this[_0x349ae4(0x1d2)][_0x349ae4(0x201)](0x0,BATCH_SIZE);this[_0x349ae4(0x1d2)][_0x349ae4(0x1ea)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x349ae4(0x22c)],_0x42ca78[_0x349ae4(0x1ca)],_0x288a4e);}_0x42ca78[_0x349ae4(0x1cc)](this[_0x349ae4(0x1ef)],0x0)&&_0x42ca78[_0x349ae4(0x1de)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this[_0x349ae4(0x1ef)]);};[a125_0x26183e(0x219)]=async(_0x75e17f,_0x4ced6b,_0x298e6e)=>{const _0x303d68=a125_0x26183e,_0x5b8e81={'fadfb':function(_0xf55cd,_0x395b69){return _0xf55cd(_0x395b69);},'zjIGO':_0x303d68(0x1f9),'WGjBR':function(_0x55c43d,_0x43418a){return _0x55c43d(_0x43418a);},'WPpxO':function(_0x4c7699){return _0x4c7699();},'aBLOt':function(_0x497da3,_0x391603,_0x298a49,_0x5d0926,_0x3a2a34){return _0x497da3(_0x391603,_0x298a49,_0x5d0926,_0x3a2a34);},'vtCXo':_0x303d68(0x1c4),'pKVuY':function(_0x4a562b,_0x3c31b2){return _0x4a562b(_0x3c31b2);},'JaIGO':function(_0x2da549,_0x4f4ab0){return _0x2da549-_0x4f4ab0;},'uFhOo':function(_0x18474b,_0x20d488){return _0x18474b(_0x20d488);}};let _0x462677='';try{_0x462677=_0x298e6e[_0x303d68(0x227)](_0x5b0a38=>'\x27'+_0x5b0a38[_0x303d68(0x226)]+'\x27:'+(nestedKeyValue(_0x5b0a38,[_0x303d68(0x1d1),'uuid'])||nestedKeyValue(_0x5b0a38,['hook_run','uuid'])))[_0x303d68(0x215)](','),_0x5b8e81[_0x303d68(0x1f7)](debug,_0x303d68(0x1f5)+_0x4ced6b+_0x303d68(0x1e4)+Buffer['byteLength'](util[_0x303d68(0x210)]('%j',_0x298e6e),_0x5b8e81[_0x303d68(0x205)])+_0x303d68(0x20c)+_0x462677);}catch(_0x1e119b){_0x5b8e81[_0x303d68(0x214)](debug,'Exception\x20in\x20logging\x20batch\x20events\x20--\x20'+util[_0x303d68(0x210)](_0x1e119b)+'}');}const _0x668988={'headers':_0x5b8e81[_0x303d68(0x1df)](getDefaultHeaders)};try{const _0x3d7d07=await _0x5b8e81[_0x303d68(0x1fd)](nodeRequest,_0x5b8e81[_0x303d68(0x1d0)],_0x75e17f,_0x298e6e,_0x668988);if(_0x3d7d07[_0x303d68(0x1d7)]['error']){const _0x139a70={};_0x139a70[_0x303d68(0x1e0)]=_0x3d7d07['data'][_0x303d68(0x230)];throw _0x139a70;}else _0x5b8e81[_0x303d68(0x1d4)](debug,_0x4ced6b+_0x303d68(0x20a)+_0x462677+_0x303d68(0x224)+util['format']('%j',_0x3d7d07[_0x303d68(0x1d7)])),this[_0x303d68(0x1ef)]=Math[_0x303d68(0x21b)](0x0,_0x5b8e81[_0x303d68(0x1e7)](this['pendingUploads'],_0x298e6e[_0x303d68(0x1fa)]));}catch(_0x376eb2){_0x376eb2[_0x303d68(0x222)]?_0x5b8e81[_0x303d68(0x1f7)](debug,_0x303d68(0x206)+_0x4ced6b+_0x303d68(0x229)+constants[_0x303d68(0x1f2)]+'\x20:\x20'+_0x376eb2[_0x303d68(0x222)][_0x303d68(0x213)]+'\x20'+_0x376eb2[_0x303d68(0x222)]['statusText']+'\x20'+util['format']('%j',_0x376eb2['response'])):_0x5b8e81[_0x303d68(0x221)](debug,_0x303d68(0x206)+_0x4ced6b+_0x303d68(0x229)+constants[_0x303d68(0x1f2)]+'\x20:\x20'+(_0x376eb2[_0x303d68(0x1e0)]||_0x376eb2)),this[_0x303d68(0x1ef)]=Math[_0x303d68(0x21b)](0x0,_0x5b8e81['JaIGO'](this[_0x303d68(0x1ef)],_0x298e6e[_0x303d68(0x1fa)]));}};[a125_0x26183e(0x1da)]=()=>{const _0x516f2b=a125_0x26183e,_0x2d1474={'TkdGI':function(_0x377fbf,_0x231e74){return _0x377fbf>_0x231e74;},'zLrdD':function(_0x559024,_0x1b3725){return _0x559024(_0x1b3725);},'HjLfw':_0x516f2b(0x1d5),'mCcOb':function(_0x385e08,_0x229b24,_0x32ea58){return _0x385e08(_0x229b24,_0x32ea58);}};this[_0x516f2b(0x1d3)]=_0x2d1474[_0x516f2b(0x22b)](setInterval,async()=>{const _0xadbc94=_0x516f2b;if(_0x2d1474[_0xadbc94(0x1ed)](this['queue']['length'],0x0)){_0x2d1474['zLrdD'](trace,_0xadbc94(0x21c)+this[_0xadbc94(0x1d2)][_0xadbc94(0x1fa)]);const _0x21afd5=this[_0xadbc94(0x1d2)][_0xadbc94(0x201)](0x0,BATCH_SIZE);this['queue'][_0xadbc94(0x1ea)](0x0,BATCH_SIZE),await this[_0xadbc94(0x219)](this['eventUrl'],_0x2d1474[_0xadbc94(0x207)],_0x21afd5),_0x2d1474[_0xadbc94(0x1e1)](trace,_0xadbc94(0x211)+this[_0xadbc94(0x1d2)][_0xadbc94(0x1fa)]);}},BATCH_INTERVAL);};[a125_0x26183e(0x212)]=()=>{const _0x3cc2f1=a125_0x26183e,_0x3cd87d={};_0x3cd87d[_0x3cc2f1(0x233)]=_0x3cc2f1(0x1cd);const _0x1a1bd8=_0x3cd87d;this[_0x3cc2f1(0x234)](_0x1a1bd8[_0x3cc2f1(0x233)]),this[_0x3cc2f1(0x1da)]();};[a125_0x26183e(0x234)]=_0x4faf1c=>{const _0xb168a=a125_0x26183e,_0x40433e={'ITIMQ':function(_0x122ee2,_0x500e55){return _0x122ee2(_0x500e55);},'shNNm':function(_0x291a76,_0x3f8a37){return _0x291a76===_0x3f8a37;},'xTokb':_0xb168a(0x1c6)};this['pollEventBatchInterval']&&(_0x40433e['ITIMQ'](clearInterval,this[_0xb168a(0x1d3)]),this['pollEventBatchInterval']=null,_0x40433e[_0xb168a(0x1e8)](_0x4faf1c,_0x40433e[_0xb168a(0x22d)])&&(this[_0xb168a(0x1fb)]=![]));};[a125_0x26183e(0x21f)]=()=>{const _0x2aa970=a125_0x26183e,_0x4be01e={};_0x4be01e[_0x2aa970(0x22f)]=function(_0xd2e70e,_0x48fddf){return _0xd2e70e>=_0x48fddf;};const _0x5b80e8=_0x4be01e;return _0x5b80e8[_0x2aa970(0x22f)](this[_0x2aa970(0x1d2)]['length'],BATCH_SIZE);};async[a125_0x26183e(0x1f1)](_0x23c063=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x5dda7b=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0xdff09c=a125_0x26183e,_0x20b21d={'FeYbF':function(_0x196a9f,_0x31ad1a){return _0x196a9f<=_0x31ad1a;},'NEkfv':function(_0x2b939f,_0x47d4f6){return _0x2b939f(_0x47d4f6);},'orXHV':function(_0x5eb498,_0x4b791b){return _0x5eb498-_0x4b791b;}};if(_0x20b21d[_0xdff09c(0x1eb)](this[_0xdff09c(0x1ef)],0x0)||_0x20b21d['FeYbF'](_0x23c063,0x0))return;return await _0x20b21d[_0xdff09c(0x1e2)](sleep,_0x5dda7b),this[_0xdff09c(0x1f1)](_0x20b21d['orXHV'](_0x23c063,_0x5dda7b));}}module[a125_0x26183e(0x22a)]=RequestQueueHandler;
|