const s=new class{constructor(){this.lister={},this.lister={}}on(s,t){this.lister[s]?this.lister[s].push(t):this.lister[s]=[t]}emit(s,...t){this.lister[s]&&this.lister[s].forEach((s=>s(...t)))}clear(s){this.lister[s]=[]}clearAll(){this.lister={}}};export{s as e};
