var a=function(){var o=function(e,t){o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i))n[i]=r[i]};return o(e,t)};return function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();import{GeoCommand as s}from"../AbstractCommand";var f=function(o){a(e,o);function e(t){var n=o.call(this)||this;n.val=t;return n}e.prototype.stringify=function(){var t={};if(typeof this.val.centerSphere!=="undefined"){t.$centerSphere=this.val.centerSphere}if(typeof this.val.geometry!=="undefined"){t.$geometry=this.val.geometry.toJSON()}return{$geoWithin:t}};return e}(s);export{f as GeoWithinCommand};var c=function(o){a(e,o);function e(t){var n=o.call(this)||this;n.val=t;return n}e.prototype.stringify=function(){var t={};if(typeof this.val.geometry!=="undefined"){t.$geometry=this.val.geometry.toJSON()}if(typeof this.val.maxDistance!=="undefined"){t.$maxDistance=this.val.maxDistance}if(typeof this.val.minDistance!=="undefined"){t.$minDistance=this.val.minDistance}return{$nearSphere:t}};return e}(s);export{c as GeoNearCommand};var u=function(o){a(e,o);function e(t){var n=o.call(this)||this;n.val=t;return n}e.prototype.stringify=function(){var t={};if(typeof this.val.geometry!=="undefined"){t.$geometry=this.val.geometry.toJSON()}return{$geoIntersects:t}};return e}(s);export{u as GeoIntersectsCommand};