Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index 689a795..c1b9934 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x036f=['remove','update','emit','register','length'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x036f,0x18b));var _0xf036=function(_0xfc7019,_0x277c9e){_0xfc7019=_0xfc7019-0x0;var _0x2af8f4=_0x036f[_0xfc7019];return _0x2af8f4;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=['save',_0xf036('0x0'),_0xf036('0x1')];function createListener(_0x12914b,_0x6c4ae8){return function(_0x336872){_0x6c4ae8[_0xf036('0x2')](_0x12914b,_0x336872);};}function removeListener(_0x53f901,_0x11f7a5){return function(){WhatsappAccountEvents['removeListener'](_0x53f901,_0x11f7a5);};}exports[_0xf036('0x3')]=function(_0x17954f){for(var _0x5e02b2=0x0,_0x3442f3=events[_0xf036('0x4')];_0x5e02b2<_0x3442f3;_0x5e02b2++){var _0x357805=events[_0x5e02b2];var _0x39bcca=createListener('whatsappAccount:'+_0x357805,_0x17954f);WhatsappAccountEvents['on'](_0x357805,_0x39bcca);}};
\ No newline at end of file
+var _0x7cf4=['whatsappAccount:','./whatsappAccount.events','remove','update','register'];(function(_0x4c7b20,_0x361515){var _0x4872bd=function(_0x358e19){while(--_0x358e19){_0x4c7b20['push'](_0x4c7b20['shift']());}};_0x4872bd(++_0x361515);}(_0x7cf4,0x1c8));var _0x47cf=function(_0x2c7a01,_0x478d98){_0x2c7a01=_0x2c7a01-0x0;var _0x5e7b47=_0x7cf4[_0x2c7a01];return _0x5e7b47;};'use strict';var WhatsappAccountEvents=require(_0x47cf('0x0'));var events=['save',_0x47cf('0x1'),_0x47cf('0x2')];function createListener(_0xc5b7e7,_0x1e9ee1){return function(_0x1edfd8){_0x1e9ee1['emit'](_0xc5b7e7,_0x1edfd8);};}function removeListener(_0x3fcf4f,_0x131dc2){return function(){WhatsappAccountEvents['removeListener'](_0x3fcf4f,_0x131dc2);};}exports[_0x47cf('0x3')]=function(_0x39531c){for(var _0x390ac8=0x0,_0x54b806=events['length'];_0x390ac8<_0x54b806;_0x390ac8++){var _0x3b3c4c=events[_0x390ac8];var _0x27bfe3=createListener(_0x47cf('0x4')+_0x3b3c4c,_0x39531c);WhatsappAccountEvents['on'](_0x3b3c4c,_0x27bfe3);}};
\ No newline at end of file