function e(){this.__e={}}function t(){this.variabler={},this.funcs={},this.rulas=[]}e.prototype.__e={},e.prototype.emit=function(e){var t=this,i=[].slice.call(arguments,1);return(this.__e[e]||[]).map(function(e){e.map(function(e){e.apply(t,i)})}),this},e.prototype.on=function(e){var t=[].slice.call(arguments,1);return this.__e[e]=this.__e[e]||[],this.__e[e].push(t),this},function e(t,i){function r(){}r.prototype=i.prototype,t.prototype=new r}(t,e),t.prototype.addVariabelSet=function(e,t){return this.variabler[e]=t,this},t.prototype.addVariableTable=function(e,t){return this},t.prototype.addFunction=function(e,t){return this.funcs[e]=t,this},t.prototype.addClause=function(){for(var e,t,i,r,s,n,o=[].slice.call(arguments);o.length;)e=o.shift(),t=Object.keys(e),this.variabler[t[0]]&&(i=Object.keys(this.variabler).indexOf(t[0])),this.variabler[t[1]]&&(r=Object.keys(this.variabler).indexOf(t[1])),s=[],-1t.length?1:e.length