From efd8879e0749213e5fe7315bffd16e7d6a6b9ac6 Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Tue, 18 Apr 2017 20:59:02 +0530 Subject: [PATCH] Commit built files --- browser/elastic-builder.min.js | 2 +- docs/index.html | 2066 ++++++++++++++++---------------- 2 files changed, 1034 insertions(+), 1034 deletions(-) diff --git a/browser/elastic-builder.min.js b/browser/elastic-builder.min.js index 81e5e06a..408bdf19 100644 --- a/browser/elastic-builder.min.js +++ b/browser/elastic-builder.min.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.bob=t():e.bob=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=98)}([function(e,t,r){"use strict";t.RequestBodySearch=r(97),t.Aggregation=r(28),t.Query=r(15),t.Script=r(31),t.Highlight=r(22),t.GeoPoint=r(94),t.GeoShape=r(95),t.IndexedShape=r(96),t.Sort=r(23),t.Rescore=r(30),t.InnerHits=r(29),t.consts=r(21),t.util=r(6)},function(e,t){function r(e){return null==e}e.exports=r},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r-1}function g(e,t){var r=this.__data__,n=m(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function _(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Z}function G(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return!!e&&"object"==typeof e}function H(e){return"symbol"==typeof e||$(e)&&be.call(e)==te}function J(e){return null==e?"":P(e)}function U(e,t){return null!=e&&x(e,t,j)}var W="Expected a function",V="__lodash_hash_undefined__",K=1/0,Z=9007199254740991,X="[object Arguments]",Y="[object Function]",ee="[object GeneratorFunction]",te="[object Symbol]",re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,oe=/^\./,ie=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,ce="object"==typeof t&&t&&t.Object===Object&&t,ae="object"==typeof self&&self&&self.Object===Object&&self,se=ce||ae||Function("return this")(),fe=Array.prototype,le=Function.prototype,pe=Object.prototype,he=se["__core-js_shared__"],ye=function(){var e=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ge=le.toString,_e=pe.hasOwnProperty,be=pe.toString,ve=RegExp("^"+ge.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),de=se.Symbol,we=pe.propertyIsEnumerable,Oe=fe.splice,me=T(se,"Map"),je=T(Object,"create"),ke=de?de.prototype:void 0,Pe=ke?ke.toString:void 0;o.prototype.clear=i,o.prototype.delete=u,o.prototype.get=c,o.prototype.has=a,o.prototype.set=s,f.prototype.clear=l,f.prototype.delete=p,f.prototype.get=h,f.prototype.has=y,f.prototype.set=g,_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=d,_.prototype.has=w,_.prototype.set=O;var Ee=M(function(e){e=J(e);var t=[];return oe.test(e)&&t.push(""),e.replace(/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,function(e,r,n,o){t.push(n?o.replace(/\\(\\)?/g,"$1"):r||e)}),t});M.Cache=_;var Se=Array.isArray;e.exports=U}).call(t,r(8))},function(e,t,r){"use strict";function n(e,t,r){return e>=t&&e<=r}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(41),u=i.inspect,c=r(10),a=r(39),s=r(27),f=r(156),l=r(154);t.checkType=function(e,t){if(!(e instanceof t))throw console.warn(u(e)+" is of the type "+(void 0===e?"undefined":o(e))),new TypeError("Argument must be an instance of "+t.name)},t.constructorWrapper=function(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:e;o&&console.log("See "+o),console.warn("Got '"+t+"' - '"+n+"'");var i=a(r)?r:u(r);throw new Error("The '"+t+"' parameter should be one of "+i)}}},function(e,t){function r(e,t){for(var r=-1,n=e?e.length:0;++r-1&&e%1==0&&e-1&&e%1==0&&e<=d}function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){return!!e&&"object"==typeof e}function b(e){return l(e)?o(e):u(e)}function v(e){return e}var d=9007199254740991,w="[object Arguments]",O="[object Function]",m="[object GeneratorFunction]",j=/^(?:0|[1-9]\d*)$/,k=Object.prototype,P=k.hasOwnProperty,E=k.toString,S=k.propertyIsEnumerable,T=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),x=function(e,t){return function(r,n){if(null==r)return r;if(!l(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i-1&&e%1==0&&e<=w}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){return!!e&&"object"==typeof e}function d(){return!1}var w=9007199254740991,O="[object Arguments]",m="[object Function]",j="[object GeneratorFunction]",k="[object Map]",P="[object Set]",E=/^\[object .+?Constructor\]$/,S="object"==typeof e&&e&&e.Object===Object&&e,T="object"==typeof self&&self&&self.Object===Object&&self,x=S||T||Function("return this")(),A="object"==typeof t&&t&&!t.nodeType&&t,q=A&&"object"==typeof r&&r&&!r.nodeType&&r,C=q&&q.exports===A,Q=Function.prototype,R=Object.prototype,D=x["__core-js_shared__"],M=function(){var e=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),F=Q.toString,z=R.hasOwnProperty,N=R.toString,B=RegExp("^"+F.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=C?x.Buffer:void 0,I=R.propertyIsEnumerable,G=L?L.isBuffer:void 0,$=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),H=c(x,"DataView"),J=c(x,"Map"),U=c(x,"Promise"),W=c(x,"Set"),V=c(x,"WeakMap"),K=!I.call({valueOf:1},"valueOf"),Z=f(H),X=f(J),Y=f(U),ee=f(W),te=f(V),re=i;(H&&"[object DataView]"!=re(new H(new ArrayBuffer(1)))||J&&re(new J)!=k||U&&"[object Promise]"!=re(U.resolve())||W&&re(new W)!=P||V&&"[object WeakMap]"!=re(new V))&&(re=function(e){var t=N.call(e),r="[object Object]"==t?e.constructor:void 0,n=r?f(r):void 0;if(n)switch(n){case Z:return"[object DataView]";case X:return k;case Y:return"[object Promise]";case ee:return P;case te:return"[object WeakMap]"}return t});var ne=Array.isArray,oe=G||d;r.exports=y}).call(t,r(8),r(18)(e))},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var r=0;r0&&o(f)?t>1?n(f,t-1,o,u,c):r(c,f):u||(c[c.length]=f)}return c}function o(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r-1&&e%1==0&&e<=y}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){return!!e&&"object"==typeof e}var y=9007199254740991,g="[object Arguments]",_="[object Function]",b="[object GeneratorFunction]",v="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,w=v||d||Function("return this")(),O=Object.prototype,m=O.hasOwnProperty,j=O.toString,k=w.Symbol,P=O.propertyIsEnumerable,E=k?k.isConcatSpreadable:void 0,S=Array.isArray;e.exports=u}).call(t,r(8))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"desc";a(t)&&p(t);var r=t.toLowerCase();return"asc"!==r&&"desc"!==r&&p(t),this._aggsDef.order=n({},e,r),this}},{key:"minDocCount",value:function(e){return this._aggsDef.min_doc_count=e,this}},{key:"extendedBounds",value:function(e,t){return this._aggsDef.extended_bounds={min:e,max:t},this}},{key:"missing",value:function(e){return this._aggsDef.missing=e,this}},{key:"keyed",value:function(e){return this._aggsDef.keyed=e,this}}]),t}(l);e.exports=h},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r-1}function o(e,t,r){for(var n=-1,o=e?e.length:0;++n-1}function S(e,t){var r=this.__data__,n=z(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function T(e){var t=-1,r=e?e.length:0;for(this.clear();++t=ye&&(a=p,s=!1,t=new R(t));e:for(;++c0&&r(a)?t>1?B(a,t-1,r,n,o):u(o,a):n||(o[o.length]=a)}return o}function L(e,t,r){var n=t(e);return Ue(e)?n:u(n,r(e))}function I(e){return!(!se(e)||X(e))&&(ce(e)||y(e)?De:me).test(re(e))}function G(e){if(!se(e))return ee(e);var t=Y(e),r=[];for(var n in e)("constructor"!=n||!t&&Qe.call(e,n))&&r.push(n);return r}function $(e,t){return e=Object(e),H(e,t,function(t,r){return r in e})}function H(e,t,r){for(var n=-1,o=t.length,i={};++n-1&&e%1==0&&e-1&&e%1==0&&e<=be}function se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==typeof e}function le(e){return"symbol"==typeof e||fe(e)&&Re.call(e)==Oe}function pe(e){return ie(e)?F(e,!0):G(e)}function he(){return[]}var ye=200,ge="__lodash_hash_undefined__",_e=1/0,be=9007199254740991,ve="[object Arguments]",de="[object Function]",we="[object GeneratorFunction]",Oe="[object Symbol]",me=/^\[object .+?Constructor\]$/,je=/^(?:0|[1-9]\d*)$/,ke="object"==typeof t&&t&&t.Object===Object&&t,Pe="object"==typeof self&&self&&self.Object===Object&&self,Ee=ke||Pe||Function("return this")(),Se=Array.prototype,Te=Function.prototype,xe=Object.prototype,Ae=Ee["__core-js_shared__"],qe=function(){var e=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ce=Te.toString,Qe=xe.hasOwnProperty,Re=xe.toString,De=RegExp("^"+Ce.call(Qe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=Ee.Symbol,Fe=g(Object.getPrototypeOf,Object),ze=xe.propertyIsEnumerable,Ne=Se.splice,Be=Me?Me.isConcatSpreadable:void 0,Le=Object.getOwnPropertySymbols,Ie=Math.max,Ge=W(Ee,"Map"),$e=W(Object,"create");_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=d,_.prototype.has=w,_.prototype.set=O,m.prototype.clear=j,m.prototype.delete=k,m.prototype.get=P,m.prototype.has=E,m.prototype.set=S,T.prototype.clear=x,T.prototype.delete=A,T.prototype.get=q,T.prototype.has=C,T.prototype.set=Q,R.prototype.add=R.prototype.push=D,R.prototype.has=M;var He=Le?g(Le,Object):he,Je=Le?function(e){for(var t=[];e;)u(t,He(e)),e=Fe(e);return t}:he,Ue=Array.isArray,We=function(e,t){return t=Ie(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=Ie(n.length-t,0),u=Array(i);++o=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),O(n.showHidden)&&(n.showHidden=!1),O(n.depth)&&(n.depth=2),O(n.colors)&&(n.colors=!1),O(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),a(n,e,n.depth)}function i(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function c(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function a(e,r,n){if(e.customInspect&&r&&E(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return d(o)||(o=a(e,o,n)),o}var i=s(e,r);if(i)return i;var u=Object.keys(r),g=c(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),P(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return f(r);if(0===u.length){if(E(r)){var _=r.name?": "+r.name:"";return e.stylize("[Function"+_+"]","special")}if(m(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(P(r))return f(r)}var b="",v=!1,w=["{","}"];if(y(r)&&(v=!0,w=["[","]"]),E(r)){b=" [Function"+(r.name?": "+r.name:"")+"]"}if(m(r)&&(b=" "+RegExp.prototype.toString.call(r)),k(r)&&(b=" "+Date.prototype.toUTCString.call(r)),P(r)&&(b=" "+f(r)),0===u.length&&(!v||0==r.length))return w[0]+b+w[1];if(n<0)return m(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var O;return O=v?l(e,r,n,g,u):u.map(function(t){return p(e,r,n,g,t,v)}),e.seen.pop(),h(O,b,w)}function s(e,t){if(O(t))return e.stylize("undefined","undefined");if(d(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):_(t)?e.stylize("null","null"):void 0}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,r,n,o){for(var i=[],u=0,c=t.length;u-1&&(c=i?c.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+c.split("\n").map(function(e){return" "+e}).join("\n"))):c=e.stylize("[Circular]","special")),O(u)){if(i&&o.match(/^\d+$/))return c;u=JSON.stringify(""+o),u.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+c}function h(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function _(e){return null===e}function b(e){return null==e}function v(e){return"number"==typeof e}function d(e){return"string"==typeof e}function w(e){return"symbol"==typeof e}function O(e){return void 0===e}function m(e){return j(e)&&"[object RegExp]"===T(e)}function j(e){return"object"==typeof e&&null!==e}function k(e){return j(e)&&"[object Date]"===T(e)}function P(e){return j(e)&&("[object Error]"===T(e)||e instanceof Error)}function E(e){return"function"==typeof e}function S(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function T(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}function A(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.format=function(e){if(!d(e)){for(var t=[],r=0;r=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),c=n[r];r12)throw new Error("`precision` can only be value from 1 to 12.");return this._aggsDef.precision=e,this}},{key:"size",value:function(e){return this._aggsDef.size=e,this}},{key:"shardSize",value:function(e){return this._aggsDef.shard_size=e,this}}]),t}(a);e.exports=f},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._aggsDef.mutual_information={include_negatives:e,background_is_superset:t},this}},{key:"chiSquare",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._aggsDef.chi_square={include_negatives:e,background_is_superset:t},this}},{key:"gnd",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._aggsDef.gnd={background_is_superset:e},this}},{key:"percentage",value:function(){return this._aggsDef.percentage={},this}},{key:"scriptHeuristic",value:function(e){return f(e,s),this._aggsDef.script_heuristic={script:e},this}},{key:"backgroundFilter",value:function(e){return f(e,a),this._aggsDef.background_filter=e,this}}]),t}(l);e.exports=h},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"desc";a(t)&&h(t);var r=t.toLowerCase();return"asc"!==r&&"desc"!==r&&h(t),this._aggsDef.order=n({},e,r),this}}]),t}(l);e.exports=g},function(e,t,r){"use strict";t.MatrixStatsAggregation=r(64)},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"gauss",r=arguments[1];o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a(r)||(n._field=r),n}return u(t,e),c(t,[{key:"mode",value:function(e){a(e)&&y(e);var t=e.toLowerCase();return"linear"!==t&&"exp"!==t&&"gauss"!==t&&y(e),this.name=e,this}},{key:"linear",value:function(){return this.name="linear",this}},{key:"exp",value:function(){return this.name="exp",this}},{key:"gauss",value:function(){return this.name="gauss",this}},{key:"field",value:function(e){return this._field=e,this}},{key:"origin",value:function(e){return this._opts.origin=e,this}},{key:"scale",value:function(e){return this._opts.scale=e,this}},{key:"offset",value:function(e){return this._opts.offset=e,this}},{key:"decay",value:function(e){return this._opts.decay=e,this}},{key:"toJSON",value:function(){var e=Object.assign(n({},this.name,n({},this._field,this._opts)),this._body);return p(e)}}]),t}(h);e.exports=g},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r-1}function m(e,t){var r=this.__data__,n=N(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function j(e){var t=-1,r=e?e.length:0;for(this.clear();++ta))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var l=-1,p=!0,h=i&Ne?new x:void 0;for(u.set(e,t),u.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=Ie}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Te(e){return!!e&&"object"==typeof e}function xe(e){return"symbol"==typeof e||Te(e)&&St.call(e)==rt}function Ae(e){return null==e?"":te(e)}function qe(e,t,r){var n=null==e?void 0:I(e,t);return void 0===n?r:n}function Ce(e,t){return null!=e&&se(e,t,$)}function Qe(e){return je(e)?z(e):Z(e)}function Re(e){return e}function De(e){return le(e)?i(be(e)):ee(e)}var Me=200,Fe="Expected a function",ze="__lodash_hash_undefined__",Ne=1,Be=2,Le=1/0,Ie=9007199254740991,Ge="[object Arguments]",$e="[object Array]",He="[object Boolean]",Je="[object Date]",Ue="[object Error]",We="[object Function]",Ve="[object GeneratorFunction]",Ke="[object Map]",Ze="[object Number]",Xe="[object Object]",Ye="[object RegExp]",et="[object Set]",tt="[object String]",rt="[object Symbol]",nt="[object ArrayBuffer]",ot="[object DataView]",it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,ct=/^\./,at=/^\[object .+?Constructor\]$/,st=/^(?:0|[1-9]\d*)$/,ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft[Ge]=ft[$e]=ft[nt]=ft[He]=ft[ot]=ft[Je]=ft[Ue]=ft[We]=ft[Ke]=ft[Ze]=ft[Xe]=ft[Ye]=ft[et]=ft[tt]=ft["[object WeakMap]"]=!1;var lt="object"==typeof e&&e&&e.Object===Object&&e,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=lt||pt||Function("return this")(),yt="object"==typeof t&&t&&!t.nodeType&&t,gt=yt&&"object"==typeof r&&r&&!r.nodeType&&r,_t=gt&>.exports===yt,bt=_t&<.process,vt=function(){try{return bt&&bt.binding("util")}catch(e){}}(),dt=vt&&vt.isTypedArray,wt=Array.prototype,Ot=Function.prototype,mt=Object.prototype,jt=ht["__core-js_shared__"],kt=function(){var e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pt=Ot.toString,Et=mt.hasOwnProperty,St=mt.toString,Tt=RegExp("^"+Pt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=ht.Symbol,At=ht.Uint8Array,qt=mt.propertyIsEnumerable,Ct=wt.splice,Qt=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Rt=ae(ht,"DataView"),Dt=ae(ht,"Map"),Mt=ae(ht,"Promise"),Ft=ae(ht,"Set"),zt=ae(ht,"WeakMap"),Nt=ae(Object,"create"),Bt=ve(Rt),Lt=ve(Dt),It=ve(Mt),Gt=ve(Ft),$t=ve(zt),Ht=xt?xt.prototype:void 0,Jt=Ht?Ht.valueOf:void 0,Ut=Ht?Ht.toString:void 0;l.prototype.clear=p,l.prototype.delete=h,l.prototype.get=y,l.prototype.has=g,l.prototype.set=_,b.prototype.clear=v,b.prototype.delete=d,b.prototype.get=w,b.prototype.has=O,b.prototype.set=m,j.prototype.clear=k,j.prototype.delete=P,j.prototype.get=E,j.prototype.has=S,j.prototype.set=T,x.prototype.add=x.prototype.push=A,x.prototype.has=q,C.prototype.clear=Q,C.prototype.delete=R,C.prototype.get=D,C.prototype.has=M,C.prototype.set=F;var Wt=function(e,t){return function(r,n){if(null==r)return r;if(!je(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i-1}function g(e,t){var r=this.__data__,n=m(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function _(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Z}function G(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return!!e&&"object"==typeof e}function H(e){return"symbol"==typeof e||$(e)&&be.call(e)==te}function J(e){return null==e?"":P(e)}function U(e,t){return null!=e&&x(e,t,j)}var W="Expected a function",V="__lodash_hash_undefined__",K=1/0,Z=9007199254740991,X="[object Arguments]",Y="[object Function]",ee="[object GeneratorFunction]",te="[object Symbol]",re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,oe=/^\./,ie=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,ce="object"==typeof t&&t&&t.Object===Object&&t,ae="object"==typeof self&&self&&self.Object===Object&&self,se=ce||ae||Function("return this")(),fe=Array.prototype,le=Function.prototype,pe=Object.prototype,he=se["__core-js_shared__"],ye=function(){var e=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ge=le.toString,_e=pe.hasOwnProperty,be=pe.toString,ve=RegExp("^"+ge.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),de=se.Symbol,we=pe.propertyIsEnumerable,Oe=fe.splice,me=T(se,"Map"),je=T(Object,"create"),ke=de?de.prototype:void 0,Pe=ke?ke.toString:void 0;o.prototype.clear=i,o.prototype.delete=u,o.prototype.get=c,o.prototype.has=a,o.prototype.set=s,f.prototype.clear=l,f.prototype.delete=p,f.prototype.get=h,f.prototype.has=y,f.prototype.set=g,_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=d,_.prototype.has=w,_.prototype.set=O;var Ee=M(function(e){e=J(e);var t=[];return oe.test(e)&&t.push(""),e.replace(/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,function(e,r,n,o){t.push(n?o.replace(/\\(\\)?/g,"$1"):r||e)}),t});M.Cache=_;var Se=Array.isArray;e.exports=U}).call(t,r(8))},function(e,t){function r(e){return null==e}e.exports=r},function(e,t,r){(function(e,r){function n(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r-1}function m(e,t){var r=this.__data__,n=N(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function j(e){var t=-1,r=e?e.length:0;for(this.clear();++ta))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var l=-1,p=!0,h=i&Ne?new x:void 0;for(u.set(e,t),u.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=Ie}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Te(e){return!!e&&"object"==typeof e}function xe(e){return"symbol"==typeof e||Te(e)&&St.call(e)==rt}function Ae(e){return null==e?"":te(e)}function qe(e,t,r){var n=null==e?void 0:L(e,t);return void 0===n?r:n}function Ce(e,t){return null!=e&&se(e,t,G)}function Qe(e){return je(e)?z(e):K(e)}function Re(e){return e}function De(e){return le(e)?i(be(e)):ee(e)}var Me=200,Fe="Expected a function",ze="__lodash_hash_undefined__",Ne=1,Be=2,Le=1/0,Ie=9007199254740991,Ge="[object Arguments]",$e="[object Array]",He="[object Boolean]",Je="[object Date]",Ue="[object Error]",We="[object Function]",Ve="[object GeneratorFunction]",Ke="[object Map]",Ze="[object Number]",Xe="[object Object]",Ye="[object RegExp]",et="[object Set]",tt="[object String]",rt="[object Symbol]",nt="[object ArrayBuffer]",ot="[object DataView]",it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,ct=/^\./,at=/^\[object .+?Constructor\]$/,st=/^(?:0|[1-9]\d*)$/,ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft[Ge]=ft[$e]=ft[nt]=ft[He]=ft[ot]=ft[Je]=ft[Ue]=ft[We]=ft[Ke]=ft[Ze]=ft[Xe]=ft[Ye]=ft[et]=ft[tt]=ft["[object WeakMap]"]=!1;var lt="object"==typeof e&&e&&e.Object===Object&&e,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=lt||pt||Function("return this")(),yt="object"==typeof t&&t&&!t.nodeType&&t,gt=yt&&"object"==typeof r&&r&&!r.nodeType&&r,_t=gt&>.exports===yt,bt=_t&<.process,vt=function(){try{return bt&&bt.binding("util")}catch(e){}}(),dt=vt&&vt.isTypedArray,wt=Array.prototype,Ot=Function.prototype,mt=Object.prototype,jt=ht["__core-js_shared__"],kt=function(){var e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pt=Ot.toString,Et=mt.hasOwnProperty,St=mt.toString,Tt=RegExp("^"+Pt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=ht.Symbol,At=ht.Uint8Array,qt=mt.propertyIsEnumerable,Ct=wt.splice,Qt=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Rt=ae(ht,"DataView"),Dt=ae(ht,"Map"),Mt=ae(ht,"Promise"),Ft=ae(ht,"Set"),zt=ae(ht,"WeakMap"),Nt=ae(Object,"create"),Bt=ve(Rt),Lt=ve(Dt),It=ve(Mt),Gt=ve(Ft),$t=ve(zt),Ht=xt?xt.prototype:void 0,Jt=Ht?Ht.valueOf:void 0,Ut=Ht?Ht.toString:void 0;l.prototype.clear=p,l.prototype.delete=h,l.prototype.get=y,l.prototype.has=g,l.prototype.set=_,b.prototype.clear=v,b.prototype.delete=d,b.prototype.get=w,b.prototype.has=O,b.prototype.set=m,j.prototype.clear=k,j.prototype.delete=P,j.prototype.get=E,j.prototype.has=S,j.prototype.set=T,x.prototype.add=x.prototype.push=A,x.prototype.has=q,C.prototype.clear=Q,C.prototype.delete=R,C.prototype.get=D,C.prototype.has=M,C.prototype.set=F;var Wt=function(e,t){return function(r,n){if(null==r)return r;if(!je(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i-1}function j(e,t){var r=this.__data__,n=B(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function k(e){var t=-1,r=e?e.length:0;for(this.clear();++ta))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var l=-1,p=!0,h=i&Ne?new A:void 0;for(u.set(e,t),u.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=Ie}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Te(e){return!!e&&"object"==typeof e}function xe(e){return"symbol"==typeof e||Te(e)&&St.call(e)==rt}function Ae(e){return null==e?"":te(e)}function qe(e,t,r){var n=null==e?void 0:I(e,t);return void 0===n?r:n}function Ce(e,t){return null!=e&&se(e,t,$)}function Qe(e){return je(e)?N(e):Z(e)}function Re(e){return e}function De(e){return le(e)?i(be(e)):ee(e)}var Me=200,Fe="Expected a function",ze="__lodash_hash_undefined__",Ne=1,Be=2,Le=1/0,Ie=9007199254740991,Ge="[object Arguments]",$e="[object Array]",He="[object Boolean]",Je="[object Date]",Ue="[object Error]",We="[object Function]",Ve="[object GeneratorFunction]",Ke="[object Map]",Ze="[object Number]",Xe="[object Object]",Ye="[object RegExp]",et="[object Set]",tt="[object String]",rt="[object Symbol]",nt="[object ArrayBuffer]",ot="[object DataView]",it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,ct=/^\./,at=/^\[object .+?Constructor\]$/,st=/^(?:0|[1-9]\d*)$/,ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft[Ge]=ft[$e]=ft[nt]=ft[He]=ft[ot]=ft[Je]=ft[Ue]=ft[We]=ft[Ke]=ft[Ze]=ft[Xe]=ft[Ye]=ft[et]=ft[tt]=ft["[object WeakMap]"]=!1;var lt="object"==typeof e&&e&&e.Object===Object&&e,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=lt||pt||Function("return this")(),yt="object"==typeof t&&t&&!t.nodeType&&t,gt=yt&&"object"==typeof r&&r&&!r.nodeType&&r,_t=gt&>.exports===yt,bt=_t&<.process,vt=function(){try{return bt&&bt.binding("util")}catch(e){}}(),dt=vt&&vt.isTypedArray,wt=Array.prototype,Ot=Function.prototype,mt=Object.prototype,jt=ht["__core-js_shared__"],kt=function(){var e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pt=Ot.toString,Et=mt.hasOwnProperty,St=mt.toString,Tt=RegExp("^"+Pt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=ht.Symbol,At=ht.Uint8Array,qt=mt.propertyIsEnumerable,Ct=wt.splice,Qt=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Rt=ae(ht,"DataView"),Dt=ae(ht,"Map"),Mt=ae(ht,"Promise"),Ft=ae(ht,"Set"),zt=ae(ht,"WeakMap"),Nt=ae(Object,"create"),Bt=ve(Rt),Lt=ve(Dt),It=ve(Mt),Gt=ve(Ft),$t=ve(zt),Ht=xt?xt.prototype:void 0,Jt=Ht?Ht.valueOf:void 0,Ut=Ht?Ht.toString:void 0;p.prototype.clear=h,p.prototype.delete=y,p.prototype.get=g,p.prototype.has=_,p.prototype.set=b,v.prototype.clear=d,v.prototype.delete=w,v.prototype.get=O,v.prototype.has=m,v.prototype.set=j,k.prototype.clear=P,k.prototype.delete=E,k.prototype.get=S,k.prototype.has=T,k.prototype.set=x,A.prototype.add=A.prototype.push=q,A.prototype.has=C,Q.prototype.clear=R,Q.prototype.delete=D,Q.prototype.get=M,Q.prototype.has=F,Q.prototype.set=z;var Wt=function(e,t){return function(r,n){if(null==r)return r;if(!je(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i1)for(var r=1;r-1}function g(e,t){var r=this.__data__,n=m(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function _(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Z}function G(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return!!e&&"object"==typeof e}function H(e){return"symbol"==typeof e||$(e)&&be.call(e)==te}function J(e){return null==e?"":P(e)}function U(e,t){return null!=e&&x(e,t,j)}var W="Expected a function",V="__lodash_hash_undefined__",K=1/0,Z=9007199254740991,X="[object Arguments]",Y="[object Function]",ee="[object GeneratorFunction]",te="[object Symbol]",re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,oe=/^\./,ie=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,ce="object"==typeof t&&t&&t.Object===Object&&t,ae="object"==typeof self&&self&&self.Object===Object&&self,se=ce||ae||Function("return this")(),fe=Array.prototype,le=Function.prototype,pe=Object.prototype,he=se["__core-js_shared__"],ye=function(){var e=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ge=le.toString,_e=pe.hasOwnProperty,be=pe.toString,ve=RegExp("^"+ge.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),de=se.Symbol,we=pe.propertyIsEnumerable,Oe=fe.splice,me=T(se,"Map"),je=T(Object,"create"),ke=de?de.prototype:void 0,Pe=ke?ke.toString:void 0;o.prototype.clear=i,o.prototype.delete=u,o.prototype.get=c,o.prototype.has=a,o.prototype.set=s,f.prototype.clear=l,f.prototype.delete=p,f.prototype.get=h,f.prototype.has=y,f.prototype.set=g,_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=d,_.prototype.has=w,_.prototype.set=O;var Ee=M(function(e){e=J(e);var t=[];return oe.test(e)&&t.push(""),e.replace(/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,function(e,r,n,o){t.push(n?o.replace(/\\(\\)?/g,"$1"):r||e)}),t});M.Cache=_;var Se=Array.isArray;e.exports=U}).call(t,r(8))},function(e,t,r){"use strict";function n(e,t,r){return e>=t&&e<=r}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(41),u=i.inspect,c=r(10),a=r(39),s=r(27),f=r(155),l=r(154);t.checkType=function(e,t){if(!(e instanceof t))throw console.warn(u(e)+" is of the type "+(void 0===e?"undefined":o(e))),new TypeError("Argument must be an instance of "+t.name)},t.constructorWrapper=function(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:e;o&&console.log("See "+o),console.warn("Got '"+t+"' - '"+n+"'");var i=a(r)?r:u(r);throw new Error("The '"+t+"' parameter should be one of "+i)}}},function(e,t){function r(e,t){for(var r=-1,n=e?e.length:0;++r-1&&e%1==0&&e-1&&e%1==0&&e<=d}function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){return!!e&&"object"==typeof e}function b(e){return l(e)?o(e):u(e)}function v(e){return e}var d=9007199254740991,w="[object Arguments]",O="[object Function]",m="[object GeneratorFunction]",j=/^(?:0|[1-9]\d*)$/,k=Object.prototype,P=k.hasOwnProperty,E=k.toString,S=k.propertyIsEnumerable,T=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),x=function(e,t){return function(r,n){if(null==r)return r;if(!l(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i-1&&e%1==0&&e<=w}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){return!!e&&"object"==typeof e}function d(){return!1}var w=9007199254740991,O="[object Arguments]",m="[object Function]",j="[object GeneratorFunction]",k="[object Map]",P="[object Set]",E=/^\[object .+?Constructor\]$/,S="object"==typeof e&&e&&e.Object===Object&&e,T="object"==typeof self&&self&&self.Object===Object&&self,x=S||T||Function("return this")(),A="object"==typeof t&&t&&!t.nodeType&&t,q=A&&"object"==typeof r&&r&&!r.nodeType&&r,C=q&&q.exports===A,Q=Function.prototype,R=Object.prototype,D=x["__core-js_shared__"],M=function(){var e=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),F=Q.toString,z=R.hasOwnProperty,N=R.toString,B=RegExp("^"+F.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=C?x.Buffer:void 0,I=R.propertyIsEnumerable,G=L?L.isBuffer:void 0,$=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),H=c(x,"DataView"),J=c(x,"Map"),U=c(x,"Promise"),W=c(x,"Set"),V=c(x,"WeakMap"),K=!I.call({valueOf:1},"valueOf"),Z=f(H),X=f(J),Y=f(U),ee=f(W),te=f(V),re=i;(H&&"[object DataView]"!=re(new H(new ArrayBuffer(1)))||J&&re(new J)!=k||U&&"[object Promise]"!=re(U.resolve())||W&&re(new W)!=P||V&&"[object WeakMap]"!=re(new V))&&(re=function(e){var t=N.call(e),r="[object Object]"==t?e.constructor:void 0,n=r?f(r):void 0;if(n)switch(n){case Z:return"[object DataView]";case X:return k;case Y:return"[object Promise]";case ee:return P;case te:return"[object WeakMap]"}return t});var ne=Array.isArray,oe=G||d;r.exports=y}).call(t,r(8),r(18)(e))},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var r=0;r0&&o(f)?t>1?n(f,t-1,o,u,c):r(c,f):u||(c[c.length]=f)}return c}function o(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r-1&&e%1==0&&e<=y}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){return!!e&&"object"==typeof e}var y=9007199254740991,g="[object Arguments]",_="[object Function]",b="[object GeneratorFunction]",v="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,w=v||d||Function("return this")(),O=Object.prototype,m=O.hasOwnProperty,j=O.toString,k=w.Symbol,P=O.propertyIsEnumerable,E=k?k.isConcatSpreadable:void 0,S=Array.isArray;e.exports=u}).call(t,r(8))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"desc";a(t)&&p(t);var r=t.toLowerCase();return"asc"!==r&&"desc"!==r&&p(t),this._aggsDef.order=n({},e,r),this}},{key:"minDocCount",value:function(e){return this._aggsDef.min_doc_count=e,this}},{key:"extendedBounds",value:function(e,t){return this._aggsDef.extended_bounds={min:e,max:t},this}},{key:"missing",value:function(e){return this._aggsDef.missing=e,this}},{key:"keyed",value:function(e){return this._aggsDef.keyed=e,this}}]),t}(l);e.exports=h},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r-1}function o(e,t,r){for(var n=-1,o=e?e.length:0;++n-1}function S(e,t){var r=this.__data__,n=z(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function T(e){var t=-1,r=e?e.length:0;for(this.clear();++t=ye&&(a=p,s=!1,t=new R(t));e:for(;++c0&&r(a)?t>1?B(a,t-1,r,n,o):u(o,a):n||(o[o.length]=a)}return o}function L(e,t,r){var n=t(e);return Ue(e)?n:u(n,r(e))}function I(e){return!(!se(e)||X(e))&&(ce(e)||y(e)?De:me).test(re(e))}function G(e){if(!se(e))return ee(e);var t=Y(e),r=[];for(var n in e)("constructor"!=n||!t&&Qe.call(e,n))&&r.push(n);return r}function $(e,t){return e=Object(e),H(e,t,function(t,r){return r in e})}function H(e,t,r){for(var n=-1,o=t.length,i={};++n-1&&e%1==0&&e-1&&e%1==0&&e<=be}function se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==typeof e}function le(e){return"symbol"==typeof e||fe(e)&&Re.call(e)==Oe}function pe(e){return ie(e)?F(e,!0):G(e)}function he(){return[]}var ye=200,ge="__lodash_hash_undefined__",_e=1/0,be=9007199254740991,ve="[object Arguments]",de="[object Function]",we="[object GeneratorFunction]",Oe="[object Symbol]",me=/^\[object .+?Constructor\]$/,je=/^(?:0|[1-9]\d*)$/,ke="object"==typeof t&&t&&t.Object===Object&&t,Pe="object"==typeof self&&self&&self.Object===Object&&self,Ee=ke||Pe||Function("return this")(),Se=Array.prototype,Te=Function.prototype,xe=Object.prototype,Ae=Ee["__core-js_shared__"],qe=function(){var e=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ce=Te.toString,Qe=xe.hasOwnProperty,Re=xe.toString,De=RegExp("^"+Ce.call(Qe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=Ee.Symbol,Fe=g(Object.getPrototypeOf,Object),ze=xe.propertyIsEnumerable,Ne=Se.splice,Be=Me?Me.isConcatSpreadable:void 0,Le=Object.getOwnPropertySymbols,Ie=Math.max,Ge=W(Ee,"Map"),$e=W(Object,"create");_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=d,_.prototype.has=w,_.prototype.set=O,m.prototype.clear=j,m.prototype.delete=k,m.prototype.get=P,m.prototype.has=E,m.prototype.set=S,T.prototype.clear=x,T.prototype.delete=A,T.prototype.get=q,T.prototype.has=C,T.prototype.set=Q,R.prototype.add=R.prototype.push=D,R.prototype.has=M;var He=Le?g(Le,Object):he,Je=Le?function(e){for(var t=[];e;)u(t,He(e)),e=Fe(e);return t}:he,Ue=Array.isArray,We=function(e,t){return t=Ie(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=Ie(n.length-t,0),u=Array(i);++o=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),O(n.showHidden)&&(n.showHidden=!1),O(n.depth)&&(n.depth=2),O(n.colors)&&(n.colors=!1),O(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),a(n,e,n.depth)}function i(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function c(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function a(e,r,n){if(e.customInspect&&r&&E(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return d(o)||(o=a(e,o,n)),o}var i=s(e,r);if(i)return i;var u=Object.keys(r),g=c(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),P(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return f(r);if(0===u.length){if(E(r)){var _=r.name?": "+r.name:"";return e.stylize("[Function"+_+"]","special")}if(m(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(P(r))return f(r)}var b="",v=!1,w=["{","}"];if(y(r)&&(v=!0,w=["[","]"]),E(r)){b=" [Function"+(r.name?": "+r.name:"")+"]"}if(m(r)&&(b=" "+RegExp.prototype.toString.call(r)),k(r)&&(b=" "+Date.prototype.toUTCString.call(r)),P(r)&&(b=" "+f(r)),0===u.length&&(!v||0==r.length))return w[0]+b+w[1];if(n<0)return m(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var O;return O=v?l(e,r,n,g,u):u.map(function(t){return p(e,r,n,g,t,v)}),e.seen.pop(),h(O,b,w)}function s(e,t){if(O(t))return e.stylize("undefined","undefined");if(d(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):_(t)?e.stylize("null","null"):void 0}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,r,n,o){for(var i=[],u=0,c=t.length;u-1&&(c=i?c.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+c.split("\n").map(function(e){return" "+e}).join("\n"))):c=e.stylize("[Circular]","special")),O(u)){if(i&&o.match(/^\d+$/))return c;u=JSON.stringify(""+o),u.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+c}function h(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function _(e){return null===e}function b(e){return null==e}function v(e){return"number"==typeof e}function d(e){return"string"==typeof e}function w(e){return"symbol"==typeof e}function O(e){return void 0===e}function m(e){return j(e)&&"[object RegExp]"===T(e)}function j(e){return"object"==typeof e&&null!==e}function k(e){return j(e)&&"[object Date]"===T(e)}function P(e){return j(e)&&("[object Error]"===T(e)||e instanceof Error)}function E(e){return"function"==typeof e}function S(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function T(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}function A(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.format=function(e){if(!d(e)){for(var t=[],r=0;r=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),c=n[r];r12)throw new Error("`precision` can only be value from 1 to 12.");return this._aggsDef.precision=e,this}},{key:"size",value:function(e){return this._aggsDef.size=e,this}},{key:"shardSize",value:function(e){return this._aggsDef.shard_size=e,this}}]),t}(a);e.exports=f},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._aggsDef.mutual_information={include_negatives:e,background_is_superset:t},this}},{key:"chiSquare",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._aggsDef.chi_square={include_negatives:e,background_is_superset:t},this}},{key:"gnd",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._aggsDef.gnd={background_is_superset:e},this}},{key:"percentage",value:function(){return this._aggsDef.percentage={},this}},{key:"scriptHeuristic",value:function(e){return f(e,s),this._aggsDef.script_heuristic={script:e},this}},{key:"backgroundFilter",value:function(e){return f(e,a),this._aggsDef.background_filter=e,this}}]),t}(l);e.exports=h},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"desc";a(t)&&h(t);var r=t.toLowerCase();return"asc"!==r&&"desc"!==r&&h(t),this._aggsDef.order=n({},e,r),this}}]),t}(l);e.exports=g},function(e,t,r){"use strict";t.MatrixStatsAggregation=r(64)},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"gauss",r=arguments[1];o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a(r)||(n._field=r),n}return u(t,e),c(t,[{key:"mode",value:function(e){a(e)&&y(e);var t=e.toLowerCase();return"linear"!==t&&"exp"!==t&&"gauss"!==t&&y(e),this.name=e,this}},{key:"linear",value:function(){return this.name="linear",this}},{key:"exp",value:function(){return this.name="exp",this}},{key:"gauss",value:function(){return this.name="gauss",this}},{key:"field",value:function(e){return this._field=e,this}},{key:"origin",value:function(e){return this._opts.origin=e,this}},{key:"scale",value:function(e){return this._opts.scale=e,this}},{key:"offset",value:function(e){return this._opts.offset=e,this}},{key:"decay",value:function(e){return this._opts.decay=e,this}},{key:"toJSON",value:function(){var e=Object.assign(n({},this.name,n({},this._field,this._opts)),this._body);return p(e)}}]),t}(h);e.exports=g},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r-1}function m(e,t){var r=this.__data__,n=N(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function j(e){var t=-1,r=e?e.length:0;for(this.clear();++ta))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var l=-1,p=!0,h=i&Ne?new x:void 0;for(u.set(e,t),u.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=Ie}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Te(e){return!!e&&"object"==typeof e}function xe(e){return"symbol"==typeof e||Te(e)&&St.call(e)==rt}function Ae(e){return null==e?"":te(e)}function qe(e,t,r){var n=null==e?void 0:I(e,t);return void 0===n?r:n}function Ce(e,t){return null!=e&&se(e,t,$)}function Qe(e){return je(e)?z(e):Z(e)}function Re(e){return e}function De(e){return le(e)?i(be(e)):ee(e)}var Me=200,Fe="Expected a function",ze="__lodash_hash_undefined__",Ne=1,Be=2,Le=1/0,Ie=9007199254740991,Ge="[object Arguments]",$e="[object Array]",He="[object Boolean]",Je="[object Date]",Ue="[object Error]",We="[object Function]",Ve="[object GeneratorFunction]",Ke="[object Map]",Ze="[object Number]",Xe="[object Object]",Ye="[object RegExp]",et="[object Set]",tt="[object String]",rt="[object Symbol]",nt="[object ArrayBuffer]",ot="[object DataView]",it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,ct=/^\./,at=/^\[object .+?Constructor\]$/,st=/^(?:0|[1-9]\d*)$/,ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft[Ge]=ft[$e]=ft[nt]=ft[He]=ft[ot]=ft[Je]=ft[Ue]=ft[We]=ft[Ke]=ft[Ze]=ft[Xe]=ft[Ye]=ft[et]=ft[tt]=ft["[object WeakMap]"]=!1;var lt="object"==typeof e&&e&&e.Object===Object&&e,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=lt||pt||Function("return this")(),yt="object"==typeof t&&t&&!t.nodeType&&t,gt=yt&&"object"==typeof r&&r&&!r.nodeType&&r,_t=gt&>.exports===yt,bt=_t&<.process,vt=function(){try{return bt&&bt.binding("util")}catch(e){}}(),dt=vt&&vt.isTypedArray,wt=Array.prototype,Ot=Function.prototype,mt=Object.prototype,jt=ht["__core-js_shared__"],kt=function(){var e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pt=Ot.toString,Et=mt.hasOwnProperty,St=mt.toString,Tt=RegExp("^"+Pt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=ht.Symbol,At=ht.Uint8Array,qt=mt.propertyIsEnumerable,Ct=wt.splice,Qt=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Rt=ae(ht,"DataView"),Dt=ae(ht,"Map"),Mt=ae(ht,"Promise"),Ft=ae(ht,"Set"),zt=ae(ht,"WeakMap"),Nt=ae(Object,"create"),Bt=ve(Rt),Lt=ve(Dt),It=ve(Mt),Gt=ve(Ft),$t=ve(zt),Ht=xt?xt.prototype:void 0,Jt=Ht?Ht.valueOf:void 0,Ut=Ht?Ht.toString:void 0;l.prototype.clear=p,l.prototype.delete=h,l.prototype.get=y,l.prototype.has=g,l.prototype.set=_,b.prototype.clear=v,b.prototype.delete=d,b.prototype.get=w,b.prototype.has=O,b.prototype.set=m,j.prototype.clear=k,j.prototype.delete=P,j.prototype.get=E,j.prototype.has=S,j.prototype.set=T,x.prototype.add=x.prototype.push=A,x.prototype.has=q,C.prototype.clear=Q,C.prototype.delete=R,C.prototype.get=D,C.prototype.has=M,C.prototype.set=F;var Wt=function(e,t){return function(r,n){if(null==r)return r;if(!je(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i-1}function g(e,t){var r=this.__data__,n=m(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function _(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Z}function G(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return!!e&&"object"==typeof e}function H(e){return"symbol"==typeof e||$(e)&&be.call(e)==te}function J(e){return null==e?"":P(e)}function U(e,t){return null!=e&&x(e,t,j)}var W="Expected a function",V="__lodash_hash_undefined__",K=1/0,Z=9007199254740991,X="[object Arguments]",Y="[object Function]",ee="[object GeneratorFunction]",te="[object Symbol]",re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,oe=/^\./,ie=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,ce="object"==typeof t&&t&&t.Object===Object&&t,ae="object"==typeof self&&self&&self.Object===Object&&self,se=ce||ae||Function("return this")(),fe=Array.prototype,le=Function.prototype,pe=Object.prototype,he=se["__core-js_shared__"],ye=function(){var e=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ge=le.toString,_e=pe.hasOwnProperty,be=pe.toString,ve=RegExp("^"+ge.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),de=se.Symbol,we=pe.propertyIsEnumerable,Oe=fe.splice,me=T(se,"Map"),je=T(Object,"create"),ke=de?de.prototype:void 0,Pe=ke?ke.toString:void 0;o.prototype.clear=i,o.prototype.delete=u,o.prototype.get=c,o.prototype.has=a,o.prototype.set=s,f.prototype.clear=l,f.prototype.delete=p,f.prototype.get=h,f.prototype.has=y,f.prototype.set=g,_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=d,_.prototype.has=w,_.prototype.set=O;var Ee=M(function(e){e=J(e);var t=[];return oe.test(e)&&t.push(""),e.replace(/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,function(e,r,n,o){t.push(n?o.replace(/\\(\\)?/g,"$1"):r||e)}),t});M.Cache=_;var Se=Array.isArray;e.exports=U}).call(t,r(8))},function(e,t,r){(function(e,r){function n(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r-1}function m(e,t){var r=this.__data__,n=N(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function j(e){var t=-1,r=e?e.length:0;for(this.clear();++ta))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var l=-1,p=!0,h=i&Ne?new x:void 0;for(u.set(e,t),u.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=Ie}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Te(e){return!!e&&"object"==typeof e}function xe(e){return"symbol"==typeof e||Te(e)&&St.call(e)==rt}function Ae(e){return null==e?"":te(e)}function qe(e,t,r){var n=null==e?void 0:L(e,t);return void 0===n?r:n}function Ce(e,t){return null!=e&&se(e,t,G)}function Qe(e){return je(e)?z(e):K(e)}function Re(e){return e}function De(e){return le(e)?i(be(e)):ee(e)}var Me=200,Fe="Expected a function",ze="__lodash_hash_undefined__",Ne=1,Be=2,Le=1/0,Ie=9007199254740991,Ge="[object Arguments]",$e="[object Array]",He="[object Boolean]",Je="[object Date]",Ue="[object Error]",We="[object Function]",Ve="[object GeneratorFunction]",Ke="[object Map]",Ze="[object Number]",Xe="[object Object]",Ye="[object RegExp]",et="[object Set]",tt="[object String]",rt="[object Symbol]",nt="[object ArrayBuffer]",ot="[object DataView]",it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,ct=/^\./,at=/^\[object .+?Constructor\]$/,st=/^(?:0|[1-9]\d*)$/,ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft[Ge]=ft[$e]=ft[nt]=ft[He]=ft[ot]=ft[Je]=ft[Ue]=ft[We]=ft[Ke]=ft[Ze]=ft[Xe]=ft[Ye]=ft[et]=ft[tt]=ft["[object WeakMap]"]=!1;var lt="object"==typeof e&&e&&e.Object===Object&&e,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=lt||pt||Function("return this")(),yt="object"==typeof t&&t&&!t.nodeType&&t,gt=yt&&"object"==typeof r&&r&&!r.nodeType&&r,_t=gt&>.exports===yt,bt=_t&<.process,vt=function(){try{return bt&&bt.binding("util")}catch(e){}}(),dt=vt&&vt.isTypedArray,wt=Array.prototype,Ot=Function.prototype,mt=Object.prototype,jt=ht["__core-js_shared__"],kt=function(){var e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pt=Ot.toString,Et=mt.hasOwnProperty,St=mt.toString,Tt=RegExp("^"+Pt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=ht.Symbol,At=ht.Uint8Array,qt=mt.propertyIsEnumerable,Ct=wt.splice,Qt=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Rt=ae(ht,"DataView"),Dt=ae(ht,"Map"),Mt=ae(ht,"Promise"),Ft=ae(ht,"Set"),zt=ae(ht,"WeakMap"),Nt=ae(Object,"create"),Bt=ve(Rt),Lt=ve(Dt),It=ve(Mt),Gt=ve(Ft),$t=ve(zt),Ht=xt?xt.prototype:void 0,Jt=Ht?Ht.valueOf:void 0,Ut=Ht?Ht.toString:void 0;l.prototype.clear=p,l.prototype.delete=h,l.prototype.get=y,l.prototype.has=g,l.prototype.set=_,b.prototype.clear=v,b.prototype.delete=d,b.prototype.get=w,b.prototype.has=O,b.prototype.set=m,j.prototype.clear=k,j.prototype.delete=P,j.prototype.get=E,j.prototype.has=S,j.prototype.set=T,x.prototype.add=x.prototype.push=A,x.prototype.has=q,C.prototype.clear=Q,C.prototype.delete=R,C.prototype.get=D,C.prototype.has=M,C.prototype.set=F;var Wt=function(e,t){return function(r,n){if(null==r)return r;if(!je(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i-1}function j(e,t){var r=this.__data__,n=B(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function k(e){var t=-1,r=e?e.length:0;for(this.clear();++ta))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var l=-1,p=!0,h=i&Ne?new A:void 0;for(u.set(e,t),u.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=Ie}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Te(e){return!!e&&"object"==typeof e}function xe(e){return"symbol"==typeof e||Te(e)&&St.call(e)==rt}function Ae(e){return null==e?"":te(e)}function qe(e,t,r){var n=null==e?void 0:I(e,t);return void 0===n?r:n}function Ce(e,t){return null!=e&&se(e,t,$)}function Qe(e){return je(e)?N(e):Z(e)}function Re(e){return e}function De(e){return le(e)?i(be(e)):ee(e)}var Me=200,Fe="Expected a function",ze="__lodash_hash_undefined__",Ne=1,Be=2,Le=1/0,Ie=9007199254740991,Ge="[object Arguments]",$e="[object Array]",He="[object Boolean]",Je="[object Date]",Ue="[object Error]",We="[object Function]",Ve="[object GeneratorFunction]",Ke="[object Map]",Ze="[object Number]",Xe="[object Object]",Ye="[object RegExp]",et="[object Set]",tt="[object String]",rt="[object Symbol]",nt="[object ArrayBuffer]",ot="[object DataView]",it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,ct=/^\./,at=/^\[object .+?Constructor\]$/,st=/^(?:0|[1-9]\d*)$/,ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft[Ge]=ft[$e]=ft[nt]=ft[He]=ft[ot]=ft[Je]=ft[Ue]=ft[We]=ft[Ke]=ft[Ze]=ft[Xe]=ft[Ye]=ft[et]=ft[tt]=ft["[object WeakMap]"]=!1;var lt="object"==typeof e&&e&&e.Object===Object&&e,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=lt||pt||Function("return this")(),yt="object"==typeof t&&t&&!t.nodeType&&t,gt=yt&&"object"==typeof r&&r&&!r.nodeType&&r,_t=gt&>.exports===yt,bt=_t&<.process,vt=function(){try{return bt&&bt.binding("util")}catch(e){}}(),dt=vt&&vt.isTypedArray,wt=Array.prototype,Ot=Function.prototype,mt=Object.prototype,jt=ht["__core-js_shared__"],kt=function(){var e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pt=Ot.toString,Et=mt.hasOwnProperty,St=mt.toString,Tt=RegExp("^"+Pt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=ht.Symbol,At=ht.Uint8Array,qt=mt.propertyIsEnumerable,Ct=wt.splice,Qt=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Rt=ae(ht,"DataView"),Dt=ae(ht,"Map"),Mt=ae(ht,"Promise"),Ft=ae(ht,"Set"),zt=ae(ht,"WeakMap"),Nt=ae(Object,"create"),Bt=ve(Rt),Lt=ve(Dt),It=ve(Mt),Gt=ve(Ft),$t=ve(zt),Ht=xt?xt.prototype:void 0,Jt=Ht?Ht.valueOf:void 0,Ut=Ht?Ht.toString:void 0;p.prototype.clear=h,p.prototype.delete=y,p.prototype.get=g,p.prototype.has=_,p.prototype.set=b,v.prototype.clear=d,v.prototype.delete=w,v.prototype.get=O,v.prototype.has=m,v.prototype.set=j,k.prototype.clear=P,k.prototype.delete=E,k.prototype.get=S,k.prototype.has=T,k.prototype.set=x,A.prototype.add=A.prototype.push=q,A.prototype.has=C,Q.prototype.clear=R,Q.prototype.delete=D,Q.prototype.get=M,Q.prototype.has=F,Q.prototype.set=z;var Wt=function(e,t){return function(r,n){if(null==r)return r;if(!je(r))return e(r,n);for(var o=r.length,i=t?o:-1,u=Object(r);(t?i--:++i1)for(var r=1;r - elastic-builder 0.1.2 | Documentation + elastic-builder 0.1.3 | Documentation @@ -14,7 +14,7 @@

elastic-builder

-
0.1.2
+
0.1.3
elastic-builder +
+ + + + +
  • + SimpleQueryStringQuery + + + +
  • @@ -1683,9 +1717,19 @@

    elastic-builder

  • + MultiTermQueryBase + + + +
  • + + +
  • - SimpleQueryStringQuery + TermQuery @@ -1696,17 +1740,11 @@

    elastic-builder

  • Instance members
  • #constructor
  • -
  • - #flags -
  • - @@ -1716,16 +1754,6 @@

    elastic-builder

    -
  • - MultiTermQueryBase - - - -
  • - -
  • @@ -1767,34 +1795,6 @@

    elastic-builder

    -
  • - - - - -
  • - TermQuery - - - -
  • @@ -2847,9 +2847,9 @@

    elastic-builder

  • - HasChildQuery + JoiningQueryBase @@ -2860,33 +2860,33 @@

    elastic-builder

  • Instance members
  • #constructor
  • - #type + #query
  • - #childType + #scoreMode
  • - #minChildren + #ignoreUnmapped
  • - #maxChildren + #innerHits
  • @@ -2899,9 +2899,9 @@

    elastic-builder

  • - JoiningQueryBase + HasChildQuery @@ -2912,33 +2912,33 @@

    elastic-builder

  • Instance members
  • #constructor
  • - #query + #type
  • - #scoreMode + #childType
  • - #ignoreUnmapped + #minChildren
  • - #innerHits + #maxChildren
  • @@ -3606,6 +3606,16 @@

    elastic-builder

    +
  • + SpanQueryBase + + + +
  • + +
  • @@ -3640,16 +3650,6 @@

    elastic-builder

  • -
  • - SpanQueryBase - - - -
  • - -
  • @@ -3987,9 +3987,9 @@

    elastic-builder

  • - CardinalityAggregation + MetricsAggregationBase @@ -4000,21 +4000,33 @@

    elastic-builder

  • Instance members
  • #constructor
  • - #format + #field
  • - #precisionThreshold + #script +
  • + +
  • + #missing +
  • + +
  • + #format
  • @@ -4027,9 +4039,9 @@

    elastic-builder

  • - MetricsAggregationBase + CardinalityAggregation @@ -4040,33 +4052,21 @@

    elastic-builder

  • Instance members
  • #constructor
  • - #field -
  • - -
  • - #script -
  • - -
  • - #missing + #format
  • - #format + #precisionThreshold
  • @@ -5761,9 +5761,9 @@

    elastic-builder

  • - PipelineAggregationBase + DerivativeAggregation @@ -5774,27 +5774,15 @@

    elastic-builder

  • Instance members
  • #constructor
  • - #bucketsPath -
  • - -
  • - #gapPolicy -
  • - -
  • - #format + #unit
  • @@ -5807,9 +5795,9 @@

    elastic-builder

  • - DerivativeAggregation + PipelineAggregationBase @@ -5820,15 +5808,27 @@

    elastic-builder

  • Instance members
  • #constructor
  • - #unit + #bucketsPath +
  • + +
  • + #gapPolicy +
  • + +
  • + #format
  • @@ -22665,8 +22665,8 @@

    -

    - QueryStringQueryBase +

    + SimpleQueryStringQuery

    @@ -22677,19 +22677,19 @@

    -

    The MonoFieldQueryBase provides support for common options used across -full text query implementations QueryStringQuery and SimpleQueryStringQuery. -A query that uses a query parser in order to parse its content.

    -

    Elasticsearch reference

    +

    A query that uses the SimpleQueryParser to parse its context. +Unlike the regular query_string query, the simple_query_string query +will never throw an exception, and discards invalid parts of the query.

    +

    Elasticsearch reference

    -
    new QueryStringQueryBase()
    +
    new SimpleQueryStringQuery()

    Extends - FullTextQueryBase + QueryStringQueryBase

    @@ -22717,11 +22717,11 @@

    Instance Members
    -
    +
    - constructor(queryType, refUrl, queryString?) + constructor(queryString?)
    -

    Creates an instance of QueryStringQueryBase

    +

    Creates an instance of SimpleQueryStringQuery

    -
    constructor(queryType: string, refUrl: string, queryString: string?)
    +
    constructor(queryString: string?)
    @@ -22756,26 +22756,10 @@

    Parameters
    -
    -
    - queryType (string) - -
    - -
    - -
    -
    - refUrl (string) - -
    - -
    -
    queryString (string?) - The actual query to be parsed. + The query string
    @@ -22802,11 +22786,11 @@

    -
    +
    - field(field) + flags(flags)
    -

    Appends given field to the list of fields to search against. -Fields can be specified with wildcards. -Individual fields can be boosted with the caret (^) notation. -Example - "subject^3"

    +

    simple_query_string support multiple flags to specify which parsing features +should be enabled. It is specified as a |-delimited string.

    - + @@ -22846,8 +22828,37 @@

    - field (string) - One of the fields to be queried + flags (string) + | + delimited string. The available flags are: +ALL +, +NONE +, + +AND +, +OR +, +NOT +, +PREFIX +, +PHRASE +, +PRECEDENCE +, +ESCAPE +, +WHITESPACE +, + +FUZZY +, +NEAR +, and +SLOP +.
    @@ -22861,7 +22872,7 @@

    Returns
    - QueryStringQueryBase: + SimpleQueryStringQuery: returns this so that calls can be chained. @@ -22884,11 +22895,78 @@

    -
    +
    + + + + + + + + + +
    + + +
    + +

    + QueryStringQueryBase +

    + + + + + + +
    + + +

    The MonoFieldQueryBase provides support for common options used across +full text query implementations QueryStringQuery and SimpleQueryStringQuery. +A query that uses a query parser in order to parse its content.

    +

    Elasticsearch reference

    + + +
    new QueryStringQueryBase()
    + + +

    + Extends + + FullTextQueryBase + +

    + + + + + + + + + + + + + + + + + + + + + + +
    Instance Members
    +
    + +
    - fields(fields) + constructor(queryType, refUrl, queryString?)
    -

    Appends givven fields to the list of fields to search against. -Fields can be specified with wildcards. -Individual fields can be boosted with the caret (^) notation. -Example - [ "subject^3", "message" ]

    +

    Creates an instance of QueryStringQueryBase

    - +
    constructor(queryType: string, refUrl: string, queryString: string?)
    @@ -22928,8 +23003,24 @@

    - fields (Array<string>) - The fields to be queried + queryType (string) + +
    + +
    + +
    +
    + refUrl (string) + +
    + +
    + +
    +
    + queryString (string?) + The actual query to be parsed.
    @@ -22941,16 +23032,6 @@

    - -
    Returns
    - QueryStringQueryBase: - returns -this - so that calls can be chained. - - - - @@ -22966,11 +23047,11 @@

    -
    +
    - defaultOperator(operator) + field(field)
    -

    The default operator used if no explicit operator is specified. -For example, with a default operator of OR, the query capital of Hungary -is translated to capital OR of OR Hungary, and with default operator of AND, -the same query is translated to capital AND of AND Hungary. -The default value is OR.

    +

    Appends given field to the list of fields to search against. +Fields can be specified with wildcards. +Individual fields can be boosted with the caret (^) notation. +Example - "subject^3"

    -
    defaultOperator(operator: string): QueryStringQueryBase
    + @@ -23011,14 +23091,8 @@

    - operator (string) - Can be -AND -/ -OR -. Default is -OR -. + field (string) + One of the fields to be queried
    @@ -23055,11 +23129,11 @@

    -
    +
    - analyzeWildcard(enable) + fields(fields)
    -

    By default, wildcards terms in a query string are not analyzed. -By setting this value to true, a best effort will be made to analyze those as well.

    +

    Appends givven fields to the list of fields to search against. +Fields can be specified with wildcards. +Individual fields can be boosted with the caret (^) notation. +Example - [ "subject^3", "message" ]

    -
    analyzeWildcard(enable: boolean): QueryStringQueryBase
    + @@ -23097,8 +23173,9 @@

    - enable (boolean) - + fields (Array<string>) + The fields to be queried +
    @@ -23134,11 +23211,11 @@

    -
    +
    - lenient(enable) + defaultOperator(operator)
    -

    Sets the lenient parameter which allows to ignore exceptions caused -by data-type mismatches such as trying to query a numeric field with a -text query string when set to true.

    +

    The default operator used if no explicit operator is specified. +For example, with a default operator of OR, the query capital of Hungary +is translated to capital OR of OR Hungary, and with default operator of AND, +the same query is translated to capital AND of AND Hungary. +The default value is OR.

    -
    lenient(enable: boolean): QueryStringQueryBase
    +
    defaultOperator(operator: string): QueryStringQueryBase
    @@ -23177,9 +23256,14 @@

    - enable (boolean) - Defaules to -false + operator (string) + Can be +AND +/ +OR +. Default is +OR +.
    @@ -23216,11 +23300,11 @@

    -
    +
    - quoteFieldSuffix(suffix) + analyzeWildcard(enable)
    -

    A suffix to append to fields for quoted parts of the query string. -This allows to use a field that has a different analysis chain for exact matching.

    +

    By default, wildcards terms in a query string are not analyzed. +By setting this value to true, a best effort will be made to analyze those as well.

    -
    quoteFieldSuffix(suffix: string): QueryStringQueryBase
    +
    analyzeWildcard(enable: boolean): QueryStringQueryBase
    @@ -23258,7 +23342,7 @@

    - suffix (string) + enable (boolean)
    @@ -23295,11 +23379,11 @@

    -
    +
    - allFields(enable) + lenient(enable)
    -

    Perform the query on all fields detected in the mapping that can be queried. -Will be used by default when the _all field is disabled and -no default_field is specified (either in the index settings or -in the request body) and no fields are specified.

    +

    Sets the lenient parameter which allows to ignore exceptions caused +by data-type mismatches such as trying to query a numeric field with a +text query string when set to true.

    -
    allFields(enable: boolean): QueryStringQueryBase
    +
    lenient(enable: boolean): QueryStringQueryBase
    @@ -23340,7 +23423,9 @@

    enable (boolean) - + Defaules to +false +
    @@ -23376,78 +23461,11 @@

    -
    - - - - -
    - - - - -
    - - -
    - -

    - SimpleQueryStringQuery -

    - - - - - - -
    - - -

    A query that uses the SimpleQueryParser to parse its context. -Unlike the regular query_string query, the simple_query_string query -will never throw an exception, and discards invalid parts of the query.

    -

    Elasticsearch reference

    - - -
    new SimpleQueryStringQuery()
    - - -

    - Extends - - QueryStringQueryBase - -

    - - - - - - - - - - - - - - - - - - - - - - -
    Instance Members
    -
    - -
    +
    - constructor(queryString?) + quoteFieldSuffix(suffix)
    -

    Creates an instance of SimpleQueryStringQuery

    +

    A suffix to append to fields for quoted parts of the query string. +This allows to use a field that has a different analysis chain for exact matching.

    -
    constructor(queryString: string?)
    +
    quoteFieldSuffix(suffix: string): QueryStringQueryBase
    @@ -23484,9 +23503,8 @@

    - queryString (string?) - The query string - + suffix (string) +
    @@ -23497,6 +23515,16 @@

    + +
    Returns
    + QueryStringQueryBase: + returns +this + so that calls can be chained. + + + + @@ -23512,11 +23540,11 @@

    -
    +
    - flags(flags) + allFields(enable)
    -

    simple_query_string support multiple flags to specify which parsing features -should be enabled. It is specified as a |-delimited string.

    +

    Perform the query on all fields detected in the mapping that can be queried. +Will be used by default when the _all field is disabled and +no default_field is specified (either in the index settings or +in the request body) and no fields are specified.

    - +
    allFields(enable: boolean): QueryStringQueryBase
    @@ -23554,38 +23584,8 @@

    - flags (string) - | - delimited string. The available flags are: -ALL -, -NONE -, - -AND -, -OR -, -NOT -, -PREFIX -, -PHRASE -, -PRECEDENCE -, -ESCAPE -, -WHITESPACE -, - -FUZZY -, -NEAR -, and -SLOP -. - + enable (boolean) +
    @@ -23598,7 +23598,7 @@

    Returns
    - SimpleQueryStringQuery: + QueryStringQueryBase: returns this so that calls can be chained. @@ -23688,6 +23688,154 @@

    + + + + +

    + + + + +
    + + +
    + +

    + TermQuery +

    + + + + + + +
    + + +

    The term query finds documents that contain the exact term specified +in the inverted index.

    +

    Elasticsearch reference

    + + +
    new TermQuery()
    + + +

    + Extends + + ValueTermQueryBase + +

    + + + + + + + + + + + + + + + + + + +
    Example
    + + +
    const termQry = bob.termQuery('user', 'Kimchy');
    + + + + + + +
    Instance Members
    +
    + +
    +
    +
    + + constructor(field?, queryVal?) +
    +
    + +
    + +
    @@ -24053,154 +24201,6 @@

    -

    - -
    -

    - -
    - - - - - - - - - -
    - - -
    - -

    - TermQuery -

    - - - - - - -
    - - -

    The term query finds documents that contain the exact term specified -in the inverted index.

    -

    Elasticsearch reference

    - - -
    new TermQuery()
    - - -

    - Extends - - ValueTermQueryBase - -

    - - - - - - - - - - - - - - - - - - -
    Example
    - - -
    const termQry = bob.termQuery('user', 'Kimchy');
    - - - - - - -
    Instance Members
    -
    - -
    -
    -
    - - constructor(field?, queryVal?) -
    -
    - @@ -33583,8 +33583,8 @@

    -

    - HasChildQuery +

    + JoiningQueryBase

    @@ -33595,18 +33595,17 @@

    -

    The has_child filter accepts a query and the child type to run against, and -results in parent documents that have child docs matching the query.

    -

    Elasticsearch reference

    +

    The JoiningQueryBase class provides support for common options used across +various joining query implementations.

    -
    new HasChildQuery()
    +
    new JoiningQueryBase()

    Extends - JoiningQueryBase + Query

    @@ -33634,11 +33633,11 @@

    Instance Members
    -
    +
    - constructor(qry?, type?) + constructor(queryType, refUrl, qry?)
    -

    Creates an instance of HasChildQuery

    +

    Creates an instance of JoiningQueryBase

    -
    constructor(qry: Query?, type: string?)
    +
    constructor(queryType: string, refUrl: string, qry: Query?)
    @@ -33675,19 +33674,26 @@

    - qry (Query?) - A valid -Query - object - + queryType (string) +
    - type (string?) - The child type + refUrl (string) + +
    + +
    + +
    +
    + qry (Query?) + A valid +Query + object
    @@ -33714,11 +33720,11 @@

    -
    +
    - type(type) + query(qry)
    -

    Sets the child document type to search against. -Alias for method childType.

    +

    Sets the nested query to be executed.

    -
    type(type: string): HasChildQuery
    +
    query(qry: Query): JoiningQueryBase
    @@ -33756,8 +33761,10 @@

    - type (string) - A valid doc type name + qry (Query) + A valid +Query + object
    @@ -33771,7 +33778,7 @@

    Returns
    - HasChildQuery: + JoiningQueryBase: returns this so that calls can be chained. @@ -33794,11 +33801,11 @@

    -
    +
    - childType(type) + scoreMode(mode)
    -

    Sets the child document type to search against

    +

    Sets the scoring method.

    +

    Valid values are:

    +
      +
    • none - no scoring
    • +
    • max - the highest score of all matched child documents is used
    • +
    • min - the lowest score of all matched child documents is used
    • +
    • sum - the sum the all the matched child documents is used
    • +
    • avg - the default, the average of all matched child documents is used
    • +
    -
    childType(type: string): HasChildQuery
    +
    scoreMode(mode: string): JoiningQueryBase
    @@ -33835,8 +33850,27 @@

    - type (string) - A valid doc type name + mode (string) + Can be one of +none +, +sum +, +min +, +max +, +avg +. +Defaults to +avg + for +NestedQuery +, +none + for +HasChildQuery +.
    @@ -33850,7 +33884,7 @@

    Returns
    - HasChildQuery: + JoiningQueryBase: returns this so that calls can be chained. @@ -33873,11 +33907,11 @@

    -
    +
    - minChildren(limit) + ignoreUnmapped(enable)
    -

    Specify the minimum number of children are required to match -for the parent doc to be considered a match

    +

    When set to true will ignore an unmapped path and will not match any +documents for this query. When set to false (the default value) the query +will throw an exception if the path is not mapped.

    -
    minChildren(limit: number): NestedQuery
    +
    ignoreUnmapped(enable: boolean): JoiningQueryBase
    @@ -33915,10 +33950,13 @@

    - limit (number) - A positive -integer - value. + enable (boolean) + true + or +false +, +false + by default.
    @@ -33932,7 +33970,7 @@

    Returns
    - NestedQuery: + JoiningQueryBase: returns this so that calls can be chained. @@ -33955,11 +33993,11 @@

    -
    +
    - maxChildren(limit) + innerHits(innerHits)
    -

    Specify the maximum number of children are required to match -for the parent doc to be considered a match

    +

    Sets the inner hits options

    -
    maxChildren(limit: number): NestedQuery
    +
    innerHits(innerHits: InnerHits): JoiningQueryBase
    @@ -33997,10 +34034,10 @@

    - limit (number) - A positive -integer - value. + innerHits (InnerHits) + A valid +InnerHits + object
    @@ -34014,7 +34051,7 @@

    Returns
    - NestedQuery: + JoiningQueryBase: returns this so that calls can be chained. @@ -34052,8 +34089,8 @@

    -

    - JoiningQueryBase +

    + HasChildQuery

    @@ -34064,17 +34101,18 @@

    -

    The JoiningQueryBase class provides support for common options used across -various joining query implementations.

    +

    The has_child filter accepts a query and the child type to run against, and +results in parent documents that have child docs matching the query.

    +

    Elasticsearch reference

    -
    new JoiningQueryBase()
    +
    new HasChildQuery()

    Extends - Query + JoiningQueryBase

    @@ -34102,11 +34140,11 @@

    Instance Members
    -
    +
    - constructor(queryType, refUrl, qry?) + constructor(qry?, type?)
    -

    Creates an instance of JoiningQueryBase

    +

    Creates an instance of HasChildQuery

    -
    constructor(queryType: string, refUrl: string, qry: Query?)
    +
    constructor(qry: Query?, type: string?)
    @@ -34143,26 +34181,19 @@

    - queryType (string) - -
    - -
    - -
    -
    - refUrl (string) - + qry (Query?) + A valid +Query + object +
    - qry (Query?) - A valid -Query - object + type (string?) + The child type
    @@ -34189,11 +34220,11 @@

    -
    +
    - query(qry) + type(type)
    -

    Sets the nested query to be executed.

    +

    Sets the child document type to search against. +Alias for method childType.

    -
    query(qry: Query): JoiningQueryBase
    +
    type(type: string): HasChildQuery
    @@ -34230,10 +34262,8 @@

    - qry (Query) - A valid -Query - object + type (string) + A valid doc type name
    @@ -34247,7 +34277,7 @@

    Returns
    - JoiningQueryBase: + HasChildQuery: returns this so that calls can be chained. @@ -34270,11 +34300,11 @@

    -
    +
    - scoreMode(mode) + childType(type)
    -

    Sets the scoring method.

    -

    Valid values are:

    -
      -
    • none - no scoring
    • -
    • max - the highest score of all matched child documents is used
    • -
    • min - the lowest score of all matched child documents is used
    • -
    • sum - the sum the all the matched child documents is used
    • -
    • avg - the default, the average of all matched child documents is used
    • -
    +

    Sets the child document type to search against

    -
    scoreMode(mode: string): JoiningQueryBase
    +
    childType(type: string): HasChildQuery
    @@ -34319,27 +34341,8 @@

    - mode (string) - Can be one of -none -, -sum -, -min -, -max -, -avg -. -Defaults to -avg - for -NestedQuery -, -none - for -HasChildQuery -. + type (string) + A valid doc type name
    @@ -34353,7 +34356,7 @@

    Returns
    - JoiningQueryBase: + HasChildQuery: returns this so that calls can be chained. @@ -34376,11 +34379,11 @@

    -
    +
    - ignoreUnmapped(enable) + minChildren(limit)
    -

    When set to true will ignore an unmapped path and will not match any -documents for this query. When set to false (the default value) the query -will throw an exception if the path is not mapped.

    +

    Specify the minimum number of children are required to match +for the parent doc to be considered a match

    -
    ignoreUnmapped(enable: boolean): JoiningQueryBase
    +
    minChildren(limit: number): NestedQuery
    @@ -34419,13 +34421,10 @@

    - enable (boolean) - true - or -false -, -false - by default. + limit (number) + A positive +integer + value.
    @@ -34439,7 +34438,7 @@

    Returns
    - JoiningQueryBase: + NestedQuery: returns this so that calls can be chained. @@ -34462,11 +34461,11 @@

    -
    +
    - innerHits(innerHits) + maxChildren(limit)
    -

    Sets the inner hits options

    +

    Specify the maximum number of children are required to match +for the parent doc to be considered a match

    -
    innerHits(innerHits: InnerHits): JoiningQueryBase
    +
    maxChildren(limit: number): NestedQuery
    @@ -34503,10 +34503,10 @@

    - innerHits (InnerHits) - A valid -InnerHits - object + limit (number) + A positive +integer + value.
    @@ -34520,7 +34520,7 @@

    Returns
    - JoiningQueryBase: + NestedQuery: returns this so that calls can be chained. @@ -40889,6 +40889,64 @@

    + + + + +

    + + + + +
    + + +
    + +

    + SpanQueryBase +

    + + + + + + +
    + + +

    Interface-like class used to group and identify various implementations of Span queries.

    + + +
    new SpanQueryBase()
    + + +

    + Extends + + Query + +

    + + + + + + + + + + + + + + + + + + + + @@ -41110,64 +41168,6 @@

    - - - - - - - - - -
    - - -
    - -

    - SpanQueryBase -

    - - - - - - -
    - - -

    Interface-like class used to group and identify various implementations of Span queries.

    - - -
    new SpanQueryBase()
    - - -

    - Extends - - Query - -

    - - - - - - - - - - - - - - - - - - - - @@ -43576,8 +43576,8 @@

    -

    - CardinalityAggregation +

    + MetricsAggregationBase

    @@ -43588,20 +43588,17 @@

    -

    A single-value metrics aggregation that calculates an approximate count of -distinct values. Values can be extracted either from specific fields in the -document or generated by a script.

    -

    Elasticsearch reference

    -

    Aggregation that calculates an approximate count of distinct values.

    +

    The MetricsAggregationBase provides support for common options used across +various metrics Aggregation implementations.

    -
    new CardinalityAggregation()
    +
    new MetricsAggregationBase()

    Extends - MetricsAggregationBase + Aggregation

    @@ -43629,11 +43626,11 @@

    Instance Members
    -
    +
    - constructor(name, field?) + constructor(name, aggType, field?)
    -

    Creates an instance of CardinalityAggregation

    +

    Creates an instance of MetricsAggregationBase

    -
    constructor(name: string, field: string?)
    +
    constructor(name: string, aggType: string, field: string?)
    @@ -43671,7 +43668,16 @@

    name (string) - The name which will be used to refer to this aggregation. + a valid aggregation name + +
    + +
    + +
    +
    + aggType (string) + type of aggregation
    @@ -43707,11 +43713,11 @@

    -
    +
    - format() + field(field)
    - +

    Sets field to run aggregation on.

    -
    format()
    + + @@ -43742,19 +43749,35 @@

    +
    Parameters
    +
    + +
    +
    + field (string) + a valid field name +
    + +
    + +
    -
    Throws
    -
      - -
    • Error: This method cannot be called on CardinalityAggregation -
    • + +
      Returns
      + MetricsAggregationBase: + returns +this + so that calls can be chained + -
    + + + @@ -43769,11 +43792,11 @@

    -
    +
    - precisionThreshold(threshold) + script(script)
    -

    The precision_threshold options allows to trade memory for accuracy, -and defines a unique count below which counts are expected to be close to accurate.

    +

    Sets script parameter for aggregation.

    -
    precisionThreshold(threshold: number): CardinalityAggregation
    + @@ -43811,11 +43833,8 @@

    - threshold (number) - The threshold value. -The maximum supported value is 40000, thresholds above this number -will have the same effect as a threshold of 40000. The default values is 3000. - + script (Script) +
    @@ -43828,7 +43847,7 @@

    Returns
    - CardinalityAggregation: + MetricsAggregationBase: returns this so that calls can be chained @@ -43838,6 +43857,17 @@

    +
    Throws
    +
      + +
    • TypeError: If +script + is not an instance of +Script +
    • + +
    + @@ -43851,25 +43881,19 @@

    -
    - - - - -

    - - - - -
    +
    +
    +
    + + missing(value) +
    +
    + +
    -
    +
    - constructor(name, aggType, field?) + format(fmt)
    -

    Creates an instance of MetricsAggregationBase

    +

    Sets the format expression if applicable.

    -
    constructor(name: string, aggType: string, field: string?)
    + @@ -43957,26 +44001,8 @@

    - name (string) - a valid aggregation name - -
    - -
    - -
    -
    - aggType (string) - type of aggregation - -
    - -
    - -
    -
    - field (string?) - The field to aggregate on + fmt (string) + Format mask to apply on aggregation response. Example: ####.00
    @@ -43988,6 +44014,16 @@

    + +
    Returns
    + MetricsAggregationBase: + returns +this + so that calls can be chained + + + + @@ -44003,19 +44039,25 @@

    -
    -
    -
    - - field(field) -
    -
    - + + + + +
    + + + + +
    +

    + CardinalityAggregation +

    + @@ -44024,48 +44066,33 @@

    -

    Sets field to run aggregation on.

    - +

    A single-value metrics aggregation that calculates an approximate count of +distinct values. Values can be extracted either from specific fields in the +document or generated by a script.

    +

    Elasticsearch reference

    +

    Aggregation that calculates an approximate count of distinct values.

    - - - +
    new CardinalityAggregation()
    +

    + Extends + + MetricsAggregationBase + +

    + - -
    Parameters
    -
    - -
    -
    - field (string) - a valid field name - -
    - -
    - -
    - - -
    Returns
    - MetricsAggregationBase: - returns -this - so that calls can be chained - - @@ -44077,16 +44104,14 @@

    -

    - - - +
    Instance Members
    +
    -
    +
    - script(script) + constructor(name, field?)
    -

    Sets script parameter for aggregation.

    +

    Creates an instance of CardinalityAggregation

    - +
    constructor(name: string, field: string?)
    @@ -44123,8 +44148,18 @@

    - script (Script) - + name (string) + The name which will be used to refer to this aggregation. + +
    + +
    + +
    +
    + field (string?) + The field to aggregate on +
    @@ -44135,28 +44170,7 @@

    - -
    Returns
    - MetricsAggregationBase: - returns -this - so that calls can be chained - - - - - -
    Throws
    -
      - -
    • TypeError: If -script - is not an instance of -Script -
    • - -
    @@ -44171,11 +44185,11 @@

    -
    +
    - missing(value) + format()
    -

    Sets the missing parameter ehich defines how documents -that are missing a value should be treated.

    - + - +
    format()
    @@ -44208,34 +44220,19 @@

    -
    Parameters
    -
    - -
    -
    - value (string) - -
    - -
    - -
    - - -
    Returns
    - MetricsAggregationBase: - returns -this - so that calls can be chained - - - +
    Throws
    +
      + +
    • Error: This method cannot be called on CardinalityAggregation +
    • + +
    @@ -44250,11 +44247,11 @@

    -
    +
    - format(fmt) + precisionThreshold(threshold)
    -

    Sets the format expression if applicable.

    +

    The precision_threshold options allows to trade memory for accuracy, +and defines a unique count below which counts are expected to be close to accurate.

    - +
    precisionThreshold(threshold: number): CardinalityAggregation
    @@ -44291,8 +44289,10 @@

    - fmt (string) - Format mask to apply on aggregation response. Example: ####.00 + threshold (number) + The threshold value. +The maximum supported value is 40000, thresholds above this number +will have the same effect as a threshold of 40000. The default values is 3000.
    @@ -44306,7 +44306,7 @@

    Returns
    - MetricsAggregationBase: + CardinalityAggregation: returns this so that calls can be chained @@ -58655,8 +58655,8 @@

    -

    - PipelineAggregationBase +

    + DerivativeAggregation

    @@ -58667,21 +58667,20 @@

    -

    The PipelineAggregationBase provides support for common options used across -various pipeline Aggregation implementations.

    -

    Pipeline aggregations cannot have sub-aggregations but depending on the type -it can reference another pipeline in the buckets_path allowing pipeline -aggregations to be chained. For example, you can chain together two derivatives -to calculate the second derivative (i.e. a derivative of a derivative).

    +

    A parent pipeline aggregation which calculates the derivative of a +specified metric in a parent histogram (or date_histogram) aggregation. +The specified metric must be numeric and the enclosing histogram must +have min_doc_count set to 0 (default for histogram aggregations).

    +

    Elasticsearch reference

    -
    new PipelineAggregationBase()
    +
    new DerivativeAggregation()

    Extends - Aggregation + PipelineAggregationBase

    @@ -58709,11 +58708,11 @@

    Instance Members
    -
    +
    - constructor(name, aggType, bucketsPath?) + constructor(name, bucketsPath?)
    -

    Creates an instance of PipelineAggregationBase

    +

    Creates an instance of DerivativeAggregation

    -
    constructor(name: string, aggType: string, bucketsPath: (string | Object)?)
    +
    constructor(name: string, bucketsPath: string?)
    @@ -58751,16 +58750,7 @@

    name (string) - a valid aggregation name - -
    - -
    - -
    -
    - aggType (string) - type of aggregation + The name which will be used to refer to this aggregation.
    @@ -58768,7 +58758,7 @@

    - bucketsPath ((string | Object)?) + bucketsPath (string?) The relative path of metric to aggregate over
    @@ -58796,11 +58786,11 @@

    -
    +
    - bucketsPath(path) + unit(unit)
    -

    Sets the relative path, buckets_path, which refers to the metric to aggregate over. -Required.

    -

    Elasticsearch reference

    +

    Set the units of the derivative values. unit specifies what unit to use for +the x-axis of the derivative calculation

    -
    bucketsPath(path: (string | Object)): PipelineAggregationBase
    + @@ -58839,8 +58828,11 @@

    - path ((string | Object)) - + unit (string) + unit + specifies what unit to use for +the x-axis of the derivative calculation +
    @@ -58853,7 +58845,7 @@

    Returns
    - PipelineAggregationBase: + DerivativeAggregation: returns this so that calls can be chained @@ -58876,19 +58868,25 @@

    -
    -
    -
    - - gapPolicy(policy) -
    -
    - + + + + + + + + + +
    +

    + PipelineAggregationBase +

    + @@ -58897,13 +58895,24 @@

    -

    Set policy for missing data. Optional.

    -

    Elasticsearch reference

    +

    The PipelineAggregationBase provides support for common options used across +various pipeline Aggregation implementations.

    +

    Pipeline aggregations cannot have sub-aggregations but depending on the type +it can reference another pipeline in the buckets_path allowing pipeline +aggregations to be chained. For example, you can chain together two derivatives +to calculate the second derivative (i.e. a derivative of a derivative).

    -
    gapPolicy(policy: string): PipelineAggregationBase
    +
    new PipelineAggregationBase()
    +

    + Extends + + Aggregation + +

    + @@ -58913,57 +58922,26 @@

    -
    Parameters
    -
    - -
    -
    - policy (string) - Can be -skip - or -insert_zeros -
    - -
    - -
    - -
    Returns
    - PipelineAggregationBase: - returns -this - so that calls can be chained - - - - - - - - -

    - -
    -

    +
    Instance Members
    +
    -
    +
    - format(fmt) + constructor(name, aggType, bucketsPath?)
    -

    Sets the format expression if applicable. Optional.

    +

    Creates an instance of PipelineAggregationBase

    - +
    constructor(name: string, aggType: string, bucketsPath: (string | Object)?)
    @@ -59000,28 +58978,36 @@

    - fmt (string) - Format mask to apply on aggregation response. Example: ####.00 + name (string) + a valid aggregation name
    -

    - +
    +
    + aggType (string) + type of aggregation +
    + +
    + +
    +
    + bucketsPath ((string | Object)?) + The relative path of metric to aggregate over + +
    + +
    + +
    - -
    Returns
    - PipelineAggregationBase: - returns -this - so that calls can be chained - - @@ -59038,25 +59024,19 @@

    -
    - - - - - - - - - -
    +
    +
    +
    + + bucketsPath(path) +
    +
    + +
    -
    +
    - constructor(name, bucketsPath?) + gapPolicy(policy)
    -

    Creates an instance of DerivativeAggregation

    +

    Set policy for missing data. Optional.

    +

    Elasticsearch reference

    -
    constructor(name: string, bucketsPath: string?)
    +
    gapPolicy(policy: string): PipelineAggregationBase
    @@ -59147,17 +59146,11 @@

    - name (string) - The name which will be used to refer to this aggregation. - -
    - -
    - -
    -
    - bucketsPath (string?) - The relative path of metric to aggregate over + policy (string) + Can be +skip + or +insert_zeros
    @@ -59169,6 +59162,16 @@

    + +
    Returns
    + PipelineAggregationBase: + returns +this + so that calls can be chained + + + + @@ -59184,11 +59187,11 @@

    -
    +
    - unit(unit) + format(fmt)
    -

    Set the units of the derivative values. unit specifies what unit to use for -the x-axis of the derivative calculation

    +

    Sets the format expression if applicable. Optional.

    - + @@ -59226,10 +59228,8 @@

    - unit (string) - unit - specifies what unit to use for -the x-axis of the derivative calculation + fmt (string) + Format mask to apply on aggregation response. Example: ####.00
    @@ -59243,7 +59243,7 @@

    Returns
    - DerivativeAggregation: + PipelineAggregationBase: returns this so that calls can be chained