X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappInteraction%2FwhatsappInteraction.socket.js;h=d4740a3ddfc09e76e3da1b892e248e4af2b0a77d;hb=ebe00679b2d367c1cf2b2b91609ee1ce4bd8fb94;hp=2ab3b761a330bde417092fecce139628fc7b5639;hpb=fb34d7d7b73e912de94d572e15e1910ea03e3516;p=motion2.git diff --git a/server/api/whatsappInteraction/whatsappInteraction.socket.js b/server/api/whatsappInteraction/whatsappInteraction.socket.js index 2ab3b76..d4740a3 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.socket.js +++ b/server/api/whatsappInteraction/whatsappInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8472=['whatsappInteraction:','./whatsappInteraction.events','removeListener','length'];(function(_0x2b04eb,_0x496171){var _0x1ec29b=function(_0x54480f){while(--_0x54480f){_0x2b04eb['push'](_0x2b04eb['shift']());}};_0x1ec29b(++_0x496171);}(_0x8472,0xf5));var _0x2847=function(_0x200fda,_0x4ae957){_0x200fda=_0x200fda-0x0;var _0x56a31c=_0x8472[_0x200fda];return _0x56a31c;};'use strict';var WhatsappInteractionEvents=require(_0x2847('0x0'));var events=['save','remove','update'];function createListener(_0xb34b78,_0x37231c){return function(_0x265857){_0x37231c['emit'](_0xb34b78,_0x265857);};}function removeListener(_0x2820ac,_0x2da171){return function(){WhatsappInteractionEvents[_0x2847('0x1')](_0x2820ac,_0x2da171);};}exports['register']=function(_0x2f4477){for(var _0xef5db1=0x0,_0x1d91bd=events[_0x2847('0x2')];_0xef5db1<_0x1d91bd;_0xef5db1++){var _0x21d21c=events[_0xef5db1];var _0x51c7a9=createListener(_0x2847('0x3')+_0x21d21c,_0x2f4477);WhatsappInteractionEvents['on'](_0x21d21c,_0x51c7a9);}}; \ 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