/*! 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.observability_bundle_jsonpfunction=window.observability_bundle_jsonpfunction||[]).push([[0],{100:function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.apS=n.apSW=n.bind=n.bindW=n.bindTo=n.exists=n.elem=n.toError=n.either=n.getValidationMonoid=n.MonadThrow=n.ChainRec=n.Extend=n.Alt=n.Bifunctor=n.Traversable=n.Foldable=n.Monad=n.Applicative=n.Functor=n.getValidationSemigroup=n.getValidation=n.getAltValidation=n.getApplicativeValidation=n.getWitherable=n.getFilterable=n.getApplyMonoid=n.getApplySemigroup=n.getSemigroup=n.getEq=n.getShow=n.URI=n.throwError=n.sequence=n.traverse=n.reduceRight=n.foldMap=n.reduce=n.duplicate=n.extend=n.alt=n.flatten=n.chainFirst=n.chainFirstW=n.chain=n.chainW=n.of=n.apSecond=n.apFirst=n.ap=n.apW=n.mapLeft=n.bimap=n.map=n.filterOrElse=n.orElse=n.swap=n.getOrElse=n.getOrElseW=n.fold=n.fromPredicate=n.fromOption=n.stringifyJSON=n.parseJSON=n.tryCatch=n.fromNullable=n.right=n.left=n.isRight=n.isLeft=void 0;var e=r(141),i=r(112);function u(t,r){try{return n.right(t())}catch(t){return n.left(r(t))}}n.isLeft=function(t){return"Left"===t._tag},n.isRight=function(t){return"Right"===t._tag},n.left=function(t){return{_tag:"Left",left:t}},n.right=function(t){return{_tag:"Right",right:t}},n.fromNullable=function(t){return function(r){return null==r?n.left(t):n.right(r)}},n.tryCatch=u,n.parseJSON=function(t,n){return u((function(){return JSON.parse(t)}),n)},n.stringifyJSON=function(t,n){return u((function(){return JSON.stringify(t)}),n)},n.fromOption=function(t){return function(r){return"None"===r._tag?n.left(t()):n.right(r.value)}},n.fromPredicate=function(t,r){return function(e){return t(e)?n.right(e):n.left(r(e))}},n.fold=function(t,r){return function(e){return n.isLeft(e)?t(e.left):r(e.right)}},n.getOrElseW=function(t){return function(r){return n.isLeft(r)?t(r.left):r.right}},n.getOrElse=n.getOrElseW,n.swap=function(t){return n.isLeft(t)?n.right(t.left):n.left(t.right)},n.orElse=function(t){return function(r){return n.isLeft(r)?t(r.left):r}},n.filterOrElse=function(t,r){return n.chain((function(e){return t(e)?n.right(e):n.left(r(e))}))};var o=function(t,r){return i.pipe(t,n.map(r))},f=function(t,r){return i.pipe(t,n.ap(r))},c=function(t,r){return i.pipe(t,n.chain(r))},a=function(t,r,e){return i.pipe(t,n.reduce(r,e))},l=function(t){return function(r,e){var u=n.foldMap(t);return i.pipe(r,u(e))}},p=function(t,r,e){return i.pipe(t,n.reduceRight(r,e))},s=function(t){var r=n.traverse(t);return function(t,n){return i.pipe(t,r(n))}},h=function(t,r,e){return i.pipe(t,n.bimap(r,e))},g=function(t,r){return i.pipe(t,n.mapLeft(r))},d=function(t,r){return i.pipe(t,n.alt(r))},m=function(t,r){return i.pipe(t,n.extend(r))},R=function(t,r){return e.tailRec(r(t),(function(t){return n.isLeft(t)?n.right(n.left(t.left)):n.isLeft(t.right)?n.left(r(t.right.left)):n.right(n.right(t.right.right))}))};function L(t){return{concat:function(r,e){return n.isLeft(r)?r:n.isLeft(e)?e:n.right(t.concat(r.right,e.right))}}}function v(t){var r=n.left(t.empty);return{URI:n.URI,_E:void 0,map:o,compact:function(t){return n.isLeft(t)?t:"None"===t.right._tag?r:n.right(t.right.value)},separate:function(t){return n.isLeft(t)?{left:t,right:t}:n.isLeft(t.right)?{left:n.right(t.right.left),right:r}:{left:r,right:n.right(t.right.right)}},filter:function(t,e){return n.isLeft(t)||e(t.right)?t:r},filterMap:function(t,e){if(n.isLeft(t))return t;var i=e(t.right);return"None"===i._tag?r:n.right(i.value)},partition:function(t,e){return n.isLeft(t)?{left:t,right:t}:e(t.right)?{left:r,right:n.right(t.right)}:{left:n.right(t.right),right:r}},partitionMap:function(t,e){if(n.isLeft(t))return{left:t,right:t};var i=e(t.right);return n.isLeft(i)?{left:n.right(i.left),right:r}:{left:r,right:n.right(i.right)}}}}function b(t){return{URI:n.URI,_E:void 0,map:o,ap:function(r,e){return n.isLeft(r)?n.isLeft(e)?n.left(t.concat(r.left,e.left)):r:n.isLeft(e)?e:n.right(r.right(e.right))},of:n.of}}function U(t){return{URI:n.URI,_E:void 0,map:o,alt:function(r,e){if(n.isRight(r))return r;var i=e();return n.isLeft(i)?n.left(t.concat(r.left,i.left)):i}}}function w(t,r){return{concat:function(e,i){return n.isLeft(e)?n.isLeft(i)?n.left(t.concat(e.left,i.left)):e:n.isLeft(i)?i:n.right(r.concat(e.right,i.right))}}}n.map=function(t){return function(r){return n.isLeft(r)?r:n.right(t(r.right))}},n.bimap=function(t,r){return function(e){return n.isLeft(e)?n.left(t(e.left)):n.right(r(e.right))}},n.mapLeft=function(t){return function(r){return n.isLeft(r)?n.left(t(r.left)):r}},n.apW=function(t){return function(r){return n.isLeft(r)?r:n.isLeft(t)?t:n.right(r.right(t.right))}},n.ap=n.apW,n.apFirst=function(t){return i.flow(n.map((function(t){return function(){return t}})),n.ap(t))},n.apSecond=function(t){return i.flow(n.map((function(){return function(t){return t}})),n.ap(t))},n.of=n.right,n.chainW=function(t){return function(r){return n.isLeft(r)?r:t(r.right)}},n.chain=n.chainW,n.chainFirstW=function(t){return function(r){return i.pipe(r,n.chainW((function(r){return i.pipe(t(r),n.map((function(){return r})))})))}},n.chainFirst=n.chainFirstW,n.flatten=n.chain(i.identity),n.alt=function(t){return function(r){return n.isLeft(r)?t():r}},n.extend=function(t){return function(r){return n.isLeft(r)?r:n.right(t(r))}},n.duplicate=n.extend(i.identity),n.reduce=function(t,r){return function(e){return n.isLeft(e)?t:r(t,e.right)}},n.foldMap=function(t){return function(r){return function(e){return n.isLeft(e)?t.empty:r(e.right)}}},n.reduceRight=function(t,r){return function(e){return n.isLeft(e)?t:r(e.right,t)}},n.traverse=function(t){return function(r){return function(e){return n.isLeft(e)?t.of(n.left(e.left)):t.map(r(e.right),n.right)}}},n.sequence=function(t){return function(r){return n.isLeft(r)?t.of(n.left(r.left)):t.map(r.right,n.right)}},n.throwError=n.left,n.URI="Either",n.getShow=function(t,r){return{show:function(e){return n.isLeft(e)?"left("+t.show(e.left)+")":"right("+r.show(e.right)+")"}}},n.getEq=function(t,r){return{equals:function(e,i){return e===i||(n.isLeft(e)?n.isLeft(i)&&t.equals(e.left,i.left):n.isRight(i)&&r.equals(e.right,i.right))}}},n.getSemigroup=function(t){return{concat:function(r,e){return n.isLeft(e)?r:n.isLeft(r)?e:n.right(t.concat(r.right,e.right))}}},n.getApplySemigroup=L,n.getApplyMonoid=function(t){return{concat:L(t).concat,empty:n.right(t.empty)}},n.getFilterable=v,n.getWitherable=function(t){var r=v(t);return{URI:n.URI,_E:void 0,map:o,compact:r.compact,separate:r.separate,filter:r.filter,filterMap:r.filterMap,partition:r.partition,partitionMap:r.partitionMap,traverse:s,sequence:n.sequence,reduce:a,foldMap:l,reduceRight:p,wither:function(t){var n=s(t);return function(e,i){return t.map(n(e,i),r.compact)}},wilt:function(t){var n=s(t);return function(e,i){return t.map(n(e,i),r.separate)}}}},n.getApplicativeValidation=b,n.getAltValidation=U,n.getValidation=function(t){var r=b(t),e=U(t);return{URI:n.URI,_E:void 0,map:o,of:n.of,chain:c,bimap:h,mapLeft:g,reduce:a,foldMap:l,reduceRight:p,extend:m,traverse:s,sequence:n.sequence,chainRec:R,throwError:n.throwError,ap:r.ap,alt:e.alt}},n.getValidationSemigroup=w,n.Functor={URI:n.URI,map:o},n.Applicative={URI:n.URI,map:o,ap:f,of:n.of},n.Monad={URI:n.URI,map:o,ap:f,of:n.of,chain:c},n.Foldable={URI:n.URI,reduce:a,foldMap:l,reduceRight:p},n.Traversable={URI:n.URI,map:o,reduce:a,foldMap:l,reduceRight:p,traverse:s,sequence:n.sequence},n.Bifunctor={URI:n.URI,bimap:h,mapLeft:g},n.Alt={URI:n.URI,map:o,alt:d},n.Extend={URI:n.URI,map:o,extend:m},n.ChainRec={URI:n.URI,map:o,ap:f,chain:c,chainRec:R},n.MonadThrow={URI:n.URI,map:o,ap:f,of:n.of,chain:c,throwError:n.throwError},n.getValidationMonoid=function(t,r){return{concat:w(t,r).concat,empty:n.right(r.empty)}},n.either={URI:n.URI,map:o,of:n.of,ap:f,chain:c,reduce:a,foldMap:l,reduceRight:p,traverse:s,sequence:n.sequence,bimap:h,mapLeft:g,alt:d,extend:m,chainRec:R,throwError:n.throwError},n.toError=function(t){return t instanceof Error?t:new Error(String(t))},n.elem=function(t){return function(r,e){return!n.isLeft(e)&&t.equals(r,e.right)}},n.exists=function(t){return function(r){return!n.isLeft(r)&&t(r.right)}},n.bindTo=function(t){return n.map(i.bindTo_(t))},n.bindW=function(t,r){return n.chainW((function(e){return i.pipe(r(e),n.map((function(n){return i.bind_(e,t,n)})))}))},n.bind=n.bindW,n.apSW=function(t,r){return i.flow(n.map((function(n){return function(r){return i.bind_(n,t,r)}})),n.apW(r))},n.apS=n.apSW},112:function(t,n,r){"use strict";function e(t){return t}function i(t){throw new Error("Called `absurd` function which should be uncallable")}Object.defineProperty(n,"__esModule",{value:!0}),n.bindTo_=n.bind_=n.hole=n.pipe=n.untupled=n.tupled=n.absurd=n.decrement=n.increment=n.tuple=n.flow=n.flip=n.constVoid=n.constUndefined=n.constNull=n.constFalse=n.constTrue=n.constant=n.not=n.unsafeCoerce=n.identity=void 0,n.identity=e,n.unsafeCoerce=e,n.not=function(t){return function(n){return!t(n)}},n.constant=function(t){return function(){return t}},n.constTrue=function(){return!0},n.constFalse=function(){return!1},n.constNull=function(){return null},n.constUndefined=function(){},n.constVoid=function(){},n.flip=function(t){return function(n,r){return t(r,n)}},n.flow=function(t,n,r,e,i,u,o,f,c){switch(arguments.length){case 1:return t;case 2:return function(){return n(t.apply(this,arguments))};case 3:return function(){return r(n(t.apply(this,arguments)))};case 4:return function(){return e(r(n(t.apply(this,arguments))))};case 5:return function(){return i(e(r(n(t.apply(this,arguments)))))};case 6:return function(){return u(i(e(r(n(t.apply(this,arguments))))))};case 7:return function(){return o(u(i(e(r(n(t.apply(this,arguments)))))))};case 8:return function(){return f(o(u(i(e(r(n(t.apply(this,arguments))))))))};case 9:return function(){return c(f(o(u(i(e(r(n(t.apply(this,arguments)))))))))}}},n.tuple=function(){for(var t=[],n=0;n