Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index b6e54a7..d4740a3 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 _0x1f59=['emit','removeListener','register','whatsappInteraction:','./whatsappInteraction.events','save','remove','update'];(function(_0x246e98,_0x2fbb91){var _0x53721b=function(_0xa61a2d){while(--_0xa61a2d){_0x246e98['push'](_0x246e98['shift']());}};_0x53721b(++_0x2fbb91);}(_0x1f59,0x184));var _0x91f5=function(_0xbc38cd,_0x5c87d3){_0xbc38cd=_0xbc38cd-0x0;var _0x3f031f=_0x1f59[_0xbc38cd];return _0x3f031f;};'use strict';var WhatsappInteractionEvents=require(_0x91f5('0x0'));var events=[_0x91f5('0x1'),_0x91f5('0x2'),_0x91f5('0x3')];function createListener(_0x21f64c,_0xcfe8d2){return function(_0x482b38){_0xcfe8d2[_0x91f5('0x4')](_0x21f64c,_0x482b38);};}function removeListener(_0xdb2fe0,_0x141b6c){return function(){WhatsappInteractionEvents[_0x91f5('0x5')](_0xdb2fe0,_0x141b6c);};}exports[_0x91f5('0x6')]=function(_0x4b2fd0){for(var _0x140c3f=0x0,_0x39ebd3=events['length'];_0x140c3f<_0x39ebd3;_0x140c3f++){var _0x7cb509=events[_0x140c3f];var _0x135745=createListener(_0x91f5('0x7')+_0x7cb509,_0x4b2fd0);WhatsappInteractionEvents['on'](_0x7cb509,_0x135745);}};
\ No newline at end of file