Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index f224338..7914797 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf688=['removeListener','register','length','whatsappQueue:','remove','update'];(function(_0x3abe6a,_0xdd7b1a){var _0x2fc39e=function(_0x13911e){while(--_0x13911e){_0x3abe6a['push'](_0x3abe6a['shift']());}};_0x2fc39e(++_0xdd7b1a);}(_0xf688,0x1d2));var _0x8f68=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf688[_0x14add3];return _0x4a174f;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=['save',_0x8f68('0x0'),_0x8f68('0x1')];function createListener(_0xfe8fcb,_0x125822){return function(_0x345a75){_0x125822['emit'](_0xfe8fcb,_0x345a75);};}function removeListener(_0x3b5c44,_0x409ce0){return function(){WhatsappQueueEvents[_0x8f68('0x2')](_0x3b5c44,_0x409ce0);};}exports[_0x8f68('0x3')]=function(_0x1eea12){for(var _0x234d75=0x0,_0x3c4cf0=events[_0x8f68('0x4')];_0x234d75<_0x3c4cf0;_0x234d75++){var _0x4370ef=events[_0x234d75];var _0x20b6e2=createListener(_0x8f68('0x5')+_0x4370ef,_0x1eea12);WhatsappQueueEvents['on'](_0x4370ef,_0x20b6e2);}};
\ No newline at end of file
+var _0x786a=['length','whatsappQueue:','./whatsappQueue.events','update','emit','removeListener','register'];(function(_0x5052fa,_0x2c1d45){var _0x2ad655=function(_0x119598){while(--_0x119598){_0x5052fa['push'](_0x5052fa['shift']());}};_0x2ad655(++_0x2c1d45);}(_0x786a,0xc6));var _0xa786=function(_0x9d9bda,_0x89670b){_0x9d9bda=_0x9d9bda-0x0;var _0x1c0425=_0x786a[_0x9d9bda];return _0x1c0425;};'use strict';var WhatsappQueueEvents=require(_0xa786('0x0'));var events=['save','remove',_0xa786('0x1')];function createListener(_0x22f659,_0x394cba){return function(_0x165356){_0x394cba[_0xa786('0x2')](_0x22f659,_0x165356);};}function removeListener(_0x248022,_0x24e198){return function(){WhatsappQueueEvents[_0xa786('0x3')](_0x248022,_0x24e198);};}exports[_0xa786('0x4')]=function(_0x51ce88){for(var _0x558715=0x0,_0x575c5e=events[_0xa786('0x5')];_0x558715<_0x575c5e;_0x558715++){var _0x355d46=events[_0x558715];var _0x4d907e=createListener(_0xa786('0x6')+_0x355d46,_0x51ce88);WhatsappQueueEvents['on'](_0x355d46,_0x4d907e);}};
\ No newline at end of file