"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.POLLING_ERROR_TITLE = exports.POLLING_ERROR_TEXT = exports.POLLING_DURATION = void 0; var _i18n = require("@kbn/i18n"); /* * 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 POLLING_DURATION = 5000; exports.POLLING_DURATION = POLLING_DURATION; const POLLING_ERROR_TITLE = _i18n.i18n.translate('xpack.enterpriseSearch.appSearch.engine.pollingErrorMessage', { defaultMessage: 'Could not fetch engine data' }); exports.POLLING_ERROR_TITLE = POLLING_ERROR_TITLE; const POLLING_ERROR_TEXT = _i18n.i18n.translate('xpack.enterpriseSearch.appSearch.engine.pollingErrorDescription', { defaultMessage: 'Please check your connection or manually reload the page.' }); exports.POLLING_ERROR_TEXT = POLLING_ERROR_TEXT;