/*! 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. */!function(e){function n(n){for(var t,o,i=n[0],s=n[1],c=0,a=[];c{const n={...e};return Object(s.jsx)(u,{factory:r,input:n})}}function u({factory:e,input:n}){const[t,i,c]=Object(r.useEmbeddableFactory)({factory:e,input:n});return i?Object(s.jsx)(o.EuiLoadingChart,null):Object(s.jsx)(r.EmbeddableRoot,{embeddable:t,loading:i,error:c,input:n})}},function(e,n,t){"use strict";t.r(n),t.d(n,"PLUGIN_ID",(function(){return r})),t.d(n,"PLUGIN_NAME",(function(){return o})),t.d(n,"CHANGE_POINT_DETECTION_ENABLED",(function(){return i}));const r="aiops",o="AIOps",i=!0},function(e,n,t){t(9),__kbnBundles__.define("plugin/aiops/public",t,10),__kbnBundles__.define("plugin/aiops/common",t,7)},function(e,n,t){t.p=window.__kbnPublicPath__.aiops},function(e,n,t){"use strict";t.r(n),t.d(n,"plugin",(function(){return O})),t.d(n,"LogRateAnalysis",(function(){return _})),t.d(n,"LogRateAnalysisContent",(function(){return b})),t.d(n,"LogCategorization",(function(){return f})),t.d(n,"ChangePointDetection",(function(){return h}));var r=t(3),o=t(6);class plugin_AiopsPlugin{setup(e,{embeddable:n,cases:o,licensing:i,uiActions:s}){Object(r.firstValueFrom)(i.license$).then((async r=>{if(r.hasAtLeast("platinum")){if(n){const{registerEmbeddable:r}=await Promise.all([t.e(0),t.e(4),t.e(17)]).then(t.bind(null,171));r(e,n)}if(s){const{registerAiopsUiActions:n}=await t.e(18).then(t.bind(null,173));n(s,e)}if(o){const[n,r]=await e.getStartServices(),{registerChangePointChartsAttachment:i}=await t.e(14).then(t.bind(null,166));i(o,n,r)}}}))}start(e,n){return Promise.all([Promise.resolve().then(t.t.bind(null,31,7)),Promise.all([t.e(0),t.e(1),t.e(5)]).then(t.bind(null,168)),Object(r.firstValueFrom)(n.licensing.license$)]).then((([t,{categorizeFieldAction:r},o])=>{if(o.hasAtLeast("platinum")){const{ACTION_CATEGORIZE_FIELD:o,CATEGORIZE_FIELD_TRIGGER:i}=t;n.uiActions.hasAction(o)&&n.uiActions.unregisterAction(o),n.uiActions.addTriggerAction(i,r(e,n))}})),{EmbeddableChangePointChart:Object(o.a)(e,n)}}stop(){}}var i=t(1),s=t.n(i),c=t(2),u=t(0);const a=s.a.lazy((()=>Promise.all([t.e(0),t.e(1),t.e(3),t.e(8)]).then(t.bind(null,172)))),l=s.a.lazy((()=>Promise.all([t.e(0),t.e(1),t.e(3),t.e(15)]).then(t.bind(null,174)))),p=({children:e})=>Object(u.jsx)(c.EuiErrorBoundary,null,Object(u.jsx)(i.Suspense,{fallback:Object(u.jsx)(c.EuiSkeletonText,{lines:3})},e)),_=e=>Object(u.jsx)(p,null,Object(u.jsx)(a,e)),b=e=>Object(u.jsx)(p,null,Object(u.jsx)(l,e)),d=s.a.lazy((()=>Promise.all([t.e(0),t.e(1),t.e(5)]).then(t.bind(null,168)))),f=e=>Object(u.jsx)(p,null,Object(u.jsx)(d,e)),g=s.a.lazy((()=>Promise.all([t.e(0),t.e(2),t.e(4),t.e(9)]).then(t.bind(null,169)))),h=e=>Object(u.jsx)(p,null,Object(u.jsx)(g,e));function O(){return new plugin_AiopsPlugin}},function(e,n){e.exports=__kbnSharedDeps__.KbnI18n},function(e,n){e.exports=__kbnSharedDeps__.Lodash},function(e,n){e.exports=__kbnSharedDeps__.KbnI18nReact},function(e,n){e.exports=__kbnSharedDeps__.Moment},function(e,n){e.exports=__kbnSharedDeps_npm__},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/data/common");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n){e.exports=__kbnSharedDeps__.KbnEsQuery},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/data/public");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n){e.exports=__kbnSharedDeps__.RxjsOperators},function(e,n){e.exports=__kbnSharedDeps__.KbnDatemath},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/kibanaUtils/public");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n){e.exports=__kbnSharedDeps__.ElasticCharts},function(e,n){e.exports=__kbnSharedDeps__.ReactDom},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/kibanaReact/public");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n){e.exports=__kbnSharedDeps__.TsLib},function(e,n){e.exports=__kbnSharedDeps__.KbnRison},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/fieldFormats/common");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n){e.exports=__kbnSharedDeps__.ReactRouterDom},function(e,n){e.exports=__kbnSharedDeps__.EmotionCache},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/embeddable/common");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/uiActions/public");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n){e.exports=__kbnSharedDeps__.KbnUiTheme},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/charts/common");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n){e.exports=__kbnSharedDeps__.ElasticEuiLibServicesFormat},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/kibanaReact/common");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/presentationUtil/public");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))},function(e,n,t){t.r(n);var r=__kbnBundles__.get("plugin/cases/common");Object.defineProperties(n,Object.getOwnPropertyDescriptors(r))}]);