"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getLogExplorerDeepLink = void 0; var _public = require("@kbn/core/public"); var _i18n = require("@kbn/i18n"); var _constants = require("../common/constants"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const getLogExplorerDeepLink = ({ isVisible }) => ({ id: _constants.LOG_EXPLORER_PROFILE_ID, title: _i18n.i18n.translate('xpack.discoverLogExplorer.deepLink', { defaultMessage: 'Logs Explorer' }), path: `#/p/${_constants.LOG_EXPLORER_PROFILE_ID}`, category: _public.DEFAULT_APP_CATEGORIES.observability, euiIconType: 'logoObservability', navLinkStatus: isVisible ? _public.AppNavLinkStatus.visible : _public.AppNavLinkStatus.default }); exports.getLogExplorerDeepLink = getLogExplorerDeepLink;