Built motion from commit 1cfc41f6.|2.5.41
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 9431619..f00de56 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdb96=['register','whatsappInteraction:','save','remove','emit','removeListener'];(function(_0x51a461,_0x3aabbe){var _0x5275ae=function(_0x243539){while(--_0x243539){_0x51a461['push'](_0x51a461['shift']());}};_0x5275ae(++_0x3aabbe);}(_0xdb96,0x1ee));var _0x6db9=function(_0x255021,_0x4a7b8f){_0x255021=_0x255021-0x0;var _0x431921=_0xdb96[_0x255021];return _0x431921;};'use strict';var WhatsappInteractionEvents=require('./whatsappInteraction.events');var events=[_0x6db9('0x0'),_0x6db9('0x1'),'update'];function createListener(_0x4154ba,_0x281ef9){return function(_0x4b88c8){_0x281ef9[_0x6db9('0x2')](_0x4154ba,_0x4b88c8);};}function removeListener(_0x1add56,_0x4c4b0c){return function(){WhatsappInteractionEvents[_0x6db9('0x3')](_0x1add56,_0x4c4b0c);};}exports[_0x6db9('0x4')]=function(_0x35cea5){for(var _0x5d2426=0x0,_0xb57827=events['length'];_0x5d2426<_0xb57827;_0x5d2426++){var _0x546705=events[_0x5d2426];var _0x189bf0=createListener(_0x6db9('0x5')+_0x546705,_0x35cea5);WhatsappInteractionEvents['on'](_0x546705,_0x189bf0);}};
\ No newline at end of file
+var _0x77d6=['whatsappInteraction:','./whatsappInteraction.events','remove','update','register','length'];(function(_0x3089f6,_0x45d432){var _0x4bb031=function(_0xc34d16){while(--_0xc34d16){_0x3089f6['push'](_0x3089f6['shift']());}};_0x4bb031(++_0x45d432);}(_0x77d6,0x10f));var _0x677d=function(_0x2c2838,_0x334032){_0x2c2838=_0x2c2838-0x0;var _0x24899a=_0x77d6[_0x2c2838];return _0x24899a;};'use strict';var WhatsappInteractionEvents=require(_0x677d('0x0'));var events=['save',_0x677d('0x1'),_0x677d('0x2')];function createListener(_0x59653d,_0x4963b1){return function(_0x30e1af){_0x4963b1['emit'](_0x59653d,_0x30e1af);};}function removeListener(_0x2a11ec,_0x37d0a6){return function(){WhatsappInteractionEvents['removeListener'](_0x2a11ec,_0x37d0a6);};}exports[_0x677d('0x3')]=function(_0x156294){for(var _0x38b24f=0x0,_0x450cb2=events[_0x677d('0x4')];_0x38b24f<_0x450cb2;_0x38b24f++){var _0x3b1529=events[_0x38b24f];var _0x19a570=createListener(_0x677d('0x5')+_0x3b1529,_0x156294);WhatsappInteractionEvents['on'](_0x3b1529,_0x19a570);}};
\ No newline at end of file