Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index b6e54a7..042471b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x363e=['removeListener','save','remove','update','emit'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x363e,0x187));var _0xe363=function(_0x4a7d2e,_0x5ceb37){_0x4a7d2e=_0x4a7d2e-0x0;var _0x47f5ad=_0x363e[_0x4a7d2e];return _0x47f5ad;};'use strict';var WhatsappInteractionEvents=require('./whatsappInteraction.events');var events=[_0xe363('0x0'),_0xe363('0x1'),_0xe363('0x2')];function createListener(_0x486203,_0x2f90d3){return function(_0x3960fc){_0x2f90d3[_0xe363('0x3')](_0x486203,_0x3960fc);};}function removeListener(_0x1a817f,_0x1ec86a){return function(){WhatsappInteractionEvents[_0xe363('0x4')](_0x1a817f,_0x1ec86a);};}exports['register']=function(_0x34180b){for(var _0x53580e=0x0,_0x30e8cb=events['length'];_0x53580e<_0x30e8cb;_0x53580e++){var _0x7ac6a4=events[_0x53580e];var _0x31eb10=createListener('whatsappInteraction:'+_0x7ac6a4,_0x34180b);WhatsappInteractionEvents['on'](_0x7ac6a4,_0x31eb10);}};
\ No newline at end of file
+var _0x1e99=['remove','update','emit','removeListener','length','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x47604d,_0x15a014){var _0x388e4c=function(_0x42a446){while(--_0x42a446){_0x47604d['push'](_0x47604d['shift']());}};_0x388e4c(++_0x15a014);}(_0x1e99,0x16b));var _0x91e9=function(_0x5b9dcc,_0x47f5e0){_0x5b9dcc=_0x5b9dcc-0x0;var _0x30dc49=_0x1e99[_0x5b9dcc];return _0x30dc49;};'use strict';var WhatsappInteractionEvents=require(_0x91e9('0x0'));var events=['save',_0x91e9('0x1'),_0x91e9('0x2')];function createListener(_0xbbfc29,_0x38252a){return function(_0x50270c){_0x38252a[_0x91e9('0x3')](_0xbbfc29,_0x50270c);};}function removeListener(_0x1a9bc4,_0x5ef602){return function(){WhatsappInteractionEvents[_0x91e9('0x4')](_0x1a9bc4,_0x5ef602);};}exports['register']=function(_0x35635d){for(var _0x33f200=0x0,_0xf64939=events[_0x91e9('0x5')];_0x33f200<_0xf64939;_0x33f200++){var _0x1957cc=events[_0x33f200];var _0x1a3d40=createListener(_0x91e9('0x6')+_0x1957cc,_0x35635d);WhatsappInteractionEvents['on'](_0x1957cc,_0x1a3d40);}};
\ No newline at end of file