/*! 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.ml_bundle_jsonpfunction=window.ml_bundle_jsonpfunction||[]).push([[9],{668:function(e,t,i){"use strict";i.r(t),i.d(t,"AnomalyDetectorService",(function(){return AnomalyDetectorService}));var o=i(5),n=i.n(o),r=i(11),c=i(12);class AnomalyDetectorService{constructor(e){n()(this,"mlApiServices",void 0),this.mlApiServices=Object(c.mlApiServicesProvider)(e)}getJobById$(e){return this.getJobs$([e]).pipe(Object(r.map)((e=>e[0])))}getJobs$(e){return this.mlApiServices.getJobs$({jobId:e.join(",")}).pipe(Object(r.map)((e=>e.jobs)))}}}}]);