Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 94c84a3..acd1e8f 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 _0x3f1a=['length','whatsappInteraction:','./whatsappInteraction.events','save','remove','emit','removeListener','register'];(function(_0x7e42a9,_0x30740d){var _0xe475b4=function(_0x40490f){while(--_0x40490f){_0x7e42a9['push'](_0x7e42a9['shift']());}};_0xe475b4(++_0x30740d);}(_0x3f1a,0x1c2));var _0xa3f1=function(_0x52a6b0,_0x85e24a){_0x52a6b0=_0x52a6b0-0x0;var _0x41241f=_0x3f1a[_0x52a6b0];return _0x41241f;};'use strict';var WhatsappInteractionEvents=require(_0xa3f1('0x0'));var events=[_0xa3f1('0x1'),_0xa3f1('0x2'),'update'];function createListener(_0x118f56,_0x1bb094){return function(_0x19b74f){_0x1bb094[_0xa3f1('0x3')](_0x118f56,_0x19b74f);};}function removeListener(_0x1a284a,_0x5e2567){return function(){WhatsappInteractionEvents[_0xa3f1('0x4')](_0x1a284a,_0x5e2567);};}exports[_0xa3f1('0x5')]=function(_0x5bed4b){for(var _0x1df176=0x0,_0x4d55e1=events[_0xa3f1('0x6')];_0x1df176<_0x4d55e1;_0x1df176++){var _0xa12d9e=events[_0x1df176];var _0x32d03e=createListener(_0xa3f1('0x7')+_0xa12d9e,_0x5bed4b);WhatsappInteractionEvents['on'](_0xa12d9e,_0x32d03e);}};
\ No newline at end of file