Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index 2f1914f..c1b9934 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x59f6=['emit','removeListener','update'];(function(_0x1096f3,_0x4a7d3d){var _0x15727d=function(_0x1b0b92){while(--_0x1b0b92){_0x1096f3['push'](_0x1096f3['shift']());}};_0x15727d(++_0x4a7d3d);}(_0x59f6,0x1d0));var _0x659f=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x59f6[_0x465a0c];return _0x1e202e;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=['save','remove',_0x659f('0x0')];function createListener(_0x4fe47c,_0x5a89fe){return function(_0x12a4bf){_0x5a89fe[_0x659f('0x1')](_0x4fe47c,_0x12a4bf);};}function removeListener(_0x2fad79,_0x1ce75d){return function(){WhatsappAccountEvents[_0x659f('0x2')](_0x2fad79,_0x1ce75d);};}exports['register']=function(_0x27735d){for(var _0x70ff80=0x0,_0x2de6f2=events['length'];_0x70ff80<_0x2de6f2;_0x70ff80++){var _0x13554c=events[_0x70ff80];var _0x2ac29a=createListener('whatsappAccount:'+_0x13554c,_0x27735d);WhatsappAccountEvents['on'](_0x13554c,_0x2ac29a);}};
\ 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