"use strict";var __extends=this&&this.__extends||function(){var e=function(o,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a))r[a]=n[a]};return e(o,t)};return function(o,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(o,t);function r(){this.constructor=o}o.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();Object.defineProperty(exports,"__esModule",{value:true});exports.PopCommand=void 0;var AbstractCommand_1=require("../AbstractCommand");var PopCommand=function(e){__extends(o,e);function o(t){var r=e.call(this)||this;r.value=t;return r}Object.defineProperty(o.prototype,"operator",{get:function(){return"$pop"},enumerable:false,configurable:true});o.prototype.stringify=function(){return this.value||1};return o}(AbstractCommand_1.UpdateArrayCommand);exports.PopCommand=PopCommand;