(function(){var e,t,n,o;o=require("../Types/TextTypes"),t=require("../HistoryBuffer"),e=require("../Engine"),n=function(){function n(n,r){var i,u,s,p,c;this.HB=new t(n),p=o(this.HB),c=p.types,this.engine=new e(this.HB,p.parser),this.connector=new r(this.engine,this.HB,p.execution_listener,this),i=this.HB.addOperation(new c.Delimiter({creator:"_",op_number:"_beginning"},void 0,void 0)),u=this.HB.addOperation(new c.Delimiter({creator:"_",op_number:"_end"},i,void 0)),i.next_cl=u,i.execute(),u.execute(),s=new p.types.Word({creator:"_",op_number:"_"},i,u),this.HB.addOperation(s).execute(),this.root_element=s}return n.prototype.getRootElement=function(){return this.root_element},n.prototype.getEngine=function(){return this.engine},n.prototype.getConnector=function(){return this.connector},n.prototype.getHistoryBuffer=function(){return this.HB},n.prototype.getUserId=function(){return this.HB.getUserId()},n.prototype.val=function(){return this.root_element.val()},n.prototype.insertText=function(e,t){return this.root_element.insertText(e,t)},n.prototype.deleteText=function(e,t){return this.root_element.deleteText(e,t)},n.prototype.bind=function(e){return this.root_element.bind(e)},n.prototype.replaceText=function(e){return this.root_element.replaceText(e)},n}(),module.exports=n,"undefined"!=typeof window&&null!==window&&(null==window.Y&&(window.Y={}),window.Y.TextYatta=n)}).call(this);
//# sourceMappingURL=../Frameworks/TextYatta.js.map