Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index 49ec411..dc5b7b8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2320=['removeListener','whatsappAccount:','save','remove','update'];(function(_0x172206,_0x13a362){var _0x5738da=function(_0xa4e490){while(--_0xa4e490){_0x172206['push'](_0x172206['shift']());}};_0x5738da(++_0x13a362);}(_0x2320,0x101));var _0x0232=function(_0xdee5b3,_0x3e7500){_0xdee5b3=_0xdee5b3-0x0;var _0x30ed5f=_0x2320[_0xdee5b3];return _0x30ed5f;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=[_0x0232('0x0'),_0x0232('0x1'),_0x0232('0x2')];function createListener(_0xf120f0,_0x4db79c){return function(_0x51cda5){_0x4db79c['emit'](_0xf120f0,_0x51cda5);};}function removeListener(_0x144f36,_0x13bc50){return function(){WhatsappAccountEvents[_0x0232('0x3')](_0x144f36,_0x13bc50);};}exports['register']=function(_0x355936){for(var _0x136212=0x0,_0x5eb7f4=events['length'];_0x136212<_0x5eb7f4;_0x136212++){var _0x571d4f=events[_0x136212];var _0x48cc52=createListener(_0x0232('0x4')+_0x571d4f,_0x355936);WhatsappAccountEvents['on'](_0x571d4f,_0x48cc52);}};
\ No newline at end of file
+var _0xd146=['save','remove','update','emit','length','whatsappAccount:','./whatsappAccount.events'];(function(_0x110c3d,_0x12ee06){var _0x226d67=function(_0x1fb6e1){while(--_0x1fb6e1){_0x110c3d['push'](_0x110c3d['shift']());}};_0x226d67(++_0x12ee06);}(_0xd146,0x99));var _0x6d14=function(_0xe45c34,_0x45c8e1){_0xe45c34=_0xe45c34-0x0;var _0x432df2=_0xd146[_0xe45c34];return _0x432df2;};'use strict';var WhatsappAccountEvents=require(_0x6d14('0x0'));var events=[_0x6d14('0x1'),_0x6d14('0x2'),_0x6d14('0x3')];function createListener(_0xf22960,_0x16c580){return function(_0xc378fd){_0x16c580[_0x6d14('0x4')](_0xf22960,_0xc378fd);};}function removeListener(_0xbb8a97,_0x583908){return function(){WhatsappAccountEvents['removeListener'](_0xbb8a97,_0x583908);};}exports['register']=function(_0x4c3c50){for(var _0x2bb545=0x0,_0x3fa464=events[_0x6d14('0x5')];_0x2bb545<_0x3fa464;_0x2bb545++){var _0x55ba5d=events[_0x2bb545];var _0x3b4dfe=createListener(_0x6d14('0x6')+_0x55ba5d,_0x4c3c50);WhatsappAccountEvents['on'](_0x55ba5d,_0x3b4dfe);}};
\ No newline at end of file