var a=function(){var t=function(n,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var m in o)if(Object.prototype.hasOwnProperty.call(o,m))e[m]=o[m]};return t(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(n,r);function e(){this.constructor=n}n.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}}();var u=function(){function t(){}return t}();export{u as AbstractCommand};var c=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(u);export{c as UpdateCommand};var l=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(c);export{l as QueryUpdateCommand};var f=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(c);export{f as UpdateArrayCommand};var s=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(l);export{s as QueryUpdateArrayCommand};var i=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(u);export{i as QueryCommand};var y=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(i);export{y as LogicQueryCommand};var d=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(i);export{d as GeoCommand};var p=function(t){a(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(i);export{p as EvaluationQueryCommand};var h=function(t){a(n,t);function n(r,e){var o=t.call(this)||this;o.name="$"+r;o.value=e;return o}n.prototype.stringify=function(){var r;return r={},r[this.name]=this.value,r};return n}(u);export{h as AggregateCommand};var C=function(){function t(n){this.lastCmd=n}t.unchain=function(n){return n instanceof t?n.lastCmd:n};return t}();export{C as CommandChain};