Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 94c84a3..6b8f651 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb5d7=['emit','removeListener','length','./whatsappInteraction.events','save','remove','update'];(function(_0x34ec72,_0x3c254a){var _0x749b21=function(_0x2af816){while(--_0x2af816){_0x34ec72['push'](_0x34ec72['shift']());}};_0x749b21(++_0x3c254a);}(_0xb5d7,0x73));var _0x7b5d=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xb5d7[_0x3b380d];return _0x54502b;};'use strict';var WhatsappInteractionEvents=require(_0x7b5d('0x0'));var events=[_0x7b5d('0x1'),_0x7b5d('0x2'),_0x7b5d('0x3')];function createListener(_0x299e51,_0x110f0e){return function(_0x73f3d2){_0x110f0e[_0x7b5d('0x4')](_0x299e51,_0x73f3d2);};}function removeListener(_0x5a0509,_0x2a9566){return function(){WhatsappInteractionEvents[_0x7b5d('0x5')](_0x5a0509,_0x2a9566);};}exports['register']=function(_0x42bd6a){for(var _0x3a8b7e=0x0,_0x1c0eb9=events[_0x7b5d('0x6')];_0x3a8b7e<_0x1c0eb9;_0x3a8b7e++){var _0x18c1e4=events[_0x3a8b7e];var _0x597a28=createListener('whatsappInteraction:'+_0x18c1e4,_0x42bd6a);WhatsappInteractionEvents['on'](_0x18c1e4,_0x597a28);}};
\ No newline at end of file
+var _0x315d=['remove','removeListener','register','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x1f9f37,_0x18776e){var _0x21c080=function(_0x4acb93){while(--_0x4acb93){_0x1f9f37['push'](_0x1f9f37['shift']());}};_0x21c080(++_0x18776e);}(_0x315d,0x13f));var _0xd315=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x315d[_0x3dd15e];return _0x231fd0;};'use strict';var WhatsappInteractionEvents=require(_0xd315('0x0'));var events=['save',_0xd315('0x1'),'update'];function createListener(_0x19e3fb,_0x41b033){return function(_0x18d144){_0x41b033['emit'](_0x19e3fb,_0x18d144);};}function removeListener(_0x5e6a1a,_0x1da5fd){return function(){WhatsappInteractionEvents[_0xd315('0x2')](_0x5e6a1a,_0x1da5fd);};}exports[_0xd315('0x3')]=function(_0x229c12){for(var _0x55a62=0x0,_0x389cb2=events['length'];_0x55a62<_0x389cb2;_0x55a62++){var _0xe86b73=events[_0x55a62];var _0x5054bc=createListener(_0xd315('0x4')+_0xe86b73,_0x229c12);WhatsappInteractionEvents['on'](_0xe86b73,_0x5054bc);}};
\ No newline at end of file