(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4279],{74279:function(o){function f(){}f.prototype={on:function(n,r,e){var t=this.e||(this.e={});return(t[n]||(t[n]=[])).push({fn:r,ctx:e}),this},once:function(n,r,e){var t=this;function s(){t.off(n,s),r.apply(e,arguments)}return s._=r,this.on(n,s,e)},emit:function(n){var r=[].slice.call(arguments,1),e=((this.e||(this.e={}))[n]||[]).slice(),t=0,s=e.length;for(t;t<s;t++)e[t].fn.apply(e[t].ctx,r);return this},off:function(n,r){var e=this.e||(this.e={}),t=e[n],s=[];if(t&&r)for(var i=0,h=t.length;i<h;i++)t[i].fn!==r&&t[i].fn._!==r&&s.push(t[i]);return s.length?e[n]=s:delete e[n],this}},o.exports=f,o.exports.TinyEmitter=f}}]);
