/*! 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. */ (window.discoverLogExplorer_bundle_jsonpfunction=window.discoverLogExplorer_bundle_jsonpfunction||[]).push([[7],{99:function(t,e,n){"use strict";n.r(e),n.d(e,"IntegrationsListStatus",(function(){return l})),n(2);var o=n(12),r=n(16),i=n(28),s=n(0);const l=({integrations:t,error:e,onRetry:n})=>{const l=null==t||t.length<=0;return null!==e?Object(s.jsx)(o.EuiEmptyPrompt,{"data-test-subj":"integrationsErrorPrompt",iconType:"warning",iconColor:"danger",paddingSize:"m",title:Object(s.jsx)("h2",null,i.l),titleSize:"s",body:Object(s.jsx)(r.FormattedMessage,{id:"xpack.discoverLogExplorer.datasetSelector.noIntegrationsError",defaultMessage:"An {error} occurred while getting your integrations. Please retry.",values:{error:Object(s.jsx)(o.EuiToolTip,{content:e.message},Object(s.jsx)(o.EuiText,{color:"danger"},i.f))}}),actions:[Object(s.jsx)(o.EuiButton,{onClick:n},i.h)]}):l?Object(s.jsx)(o.EuiEmptyPrompt,{iconType:"search",paddingSize:"s",title:Object(s.jsx)("h2",null,i.l),titleSize:"s",body:Object(s.jsx)("p",null,i.k)}):null};e.default=l}}]);