Built motion from commit 67e5df37.|2.0.65
[motion2.git] / server / api / cmList / cmList.socket.js
1 // xCALLY MOTION OBFUSCATOR 2.0.65
2 var _0x5d97=['./cmList.events','update','emit','removeListener','register','length'];(function(_0xec20ec,_0x30a956){var _0x9995c8=function(_0x1749c4){while(--_0x1749c4){_0xec20ec['push'](_0xec20ec['shift']());}};_0x9995c8(++_0x30a956);}(_0x5d97,0x19e));var _0x75d9=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x5d97[_0x321bb2];return _0x9c12ed;};'use strict';var CmListEvents=require(_0x75d9('0x0'));var events=['save','remove',_0x75d9('0x1')];function createListener(_0x4e7955,_0x8058b6){return function(_0x1fa751){_0x8058b6[_0x75d9('0x2')](_0x4e7955,_0x1fa751);};}function removeListener(_0x481118,_0x3f31b7){return function(){CmListEvents[_0x75d9('0x3')](_0x481118,_0x3f31b7);};}exports[_0x75d9('0x4')]=function(_0x4302e4){for(var _0x688b6f=0x0,_0x28a332=events[_0x75d9('0x5')];_0x688b6f<_0x28a332;_0x688b6f++){var _0x3d2524=events[_0x688b6f];var _0x3f3c14=createListener('cmList:'+_0x3d2524,_0x4302e4);CmListEvents['on'](_0x3d2524,_0x3f3c14);}};