Built motion from commit c49361c37b5f784889c8087ac6e0e91b7e6b561a. Version 3.0.0...
[motion-next.git] / server / api / user / user.socket.js
1 const a652_0x5daa=['length','save','./user.events','update','user:','register'];(function(_0x1dc257,_0x5daa85){const _0x6a763=function(_0x6a2b58){while(--_0x6a2b58){_0x1dc257['push'](_0x1dc257['shift']());}};_0x6a763(++_0x5daa85);}(a652_0x5daa,0x176));const a652_0x6a76=function(_0x1dc257,_0x5daa85){_0x1dc257=_0x1dc257-0x0;let _0x6a763=a652_0x5daa[_0x1dc257];return _0x6a763;};const _0x43f051=a652_0x6a76;'use strict';const UserEvents=require(_0x43f051('0x0')),events=[_0x43f051('0x5'),'remove',_0x43f051('0x1')];function createListener(_0x6a2b58,_0x1321a8){return function(_0x454ea7){_0x1321a8['emit'](_0x6a2b58,_0x454ea7);};}exports[_0x43f051('0x3')]=function(_0x28a0cb){const _0x481e2e=_0x43f051;for(let _0x18895c=0x0,_0x7c74a6=events[_0x481e2e('0x4')];_0x18895c<_0x7c74a6;_0x18895c++){const _0x1b7ad3=events[_0x18895c],_0x5a496c=createListener(_0x481e2e('0x2')+_0x1b7ad3,_0x28a0cb);UserEvents['on'](_0x1b7ad3,_0x5a496c);}};