X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappInteraction%2FwhatsappInteraction.socket.js;h=164d37f2b28afb516b6972abc348957f5057d1cb;hb=ed368fdfe923471c0749d5720e7df57649e4ed09;hp=705da097a324e2f66487a1ceafcec4bc000e4535;hpb=91492537a7b94b14914d0db658458118de1ea819;p=motion2.git diff --git a/server/api/whatsappInteraction/whatsappInteraction.socket.js b/server/api/whatsappInteraction/whatsappInteraction.socket.js index 705da09..164d37f 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 _0x3d25=['save','remove','emit','removeListener','register','length','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x131947,_0xcd4c15){var _0x5301e6=function(_0x2dd77c){while(--_0x2dd77c){_0x131947['push'](_0x131947['shift']());}};_0x5301e6(++_0xcd4c15);}(_0x3d25,0x1af));var _0x53d2=function(_0x826bbc,_0x396589){_0x826bbc=_0x826bbc-0x0;var _0x2edd14=_0x3d25[_0x826bbc];return _0x2edd14;};'use strict';var WhatsappInteractionEvents=require(_0x53d2('0x0'));var events=[_0x53d2('0x1'),_0x53d2('0x2'),'update'];function createListener(_0x29be21,_0x4f115b){return function(_0x387a46){_0x4f115b[_0x53d2('0x3')](_0x29be21,_0x387a46);};}function removeListener(_0xb354ca,_0x5aa701){return function(){WhatsappInteractionEvents[_0x53d2('0x4')](_0xb354ca,_0x5aa701);};}exports[_0x53d2('0x5')]=function(_0x24b792){for(var _0x25ade3=0x0,_0x158acc=events[_0x53d2('0x6')];_0x25ade3<_0x158acc;_0x25ade3++){var _0x3b5d3a=events[_0x25ade3];var _0x2d0eb3=createListener(_0x53d2('0x7')+_0x3b5d3a,_0x24b792);WhatsappInteractionEvents['on'](_0x3b5d3a,_0x2d0eb3);}}; \ No newline at end of file +var _0xb3fd=['register','length','./whatsappInteraction.events','remove','update','emit','removeListener'];(function(_0xd0a847,_0x72562b){var _0x2536ec=function(_0x20e4db){while(--_0x20e4db){_0xd0a847['push'](_0xd0a847['shift']());}};_0x2536ec(++_0x72562b);}(_0xb3fd,0x152));var _0xdb3f=function(_0x4fdbe9,_0x3234f4){_0x4fdbe9=_0x4fdbe9-0x0;var _0x2e2be2=_0xb3fd[_0x4fdbe9];return _0x2e2be2;};'use strict';var WhatsappInteractionEvents=require(_0xdb3f('0x0'));var events=['save',_0xdb3f('0x1'),_0xdb3f('0x2')];function createListener(_0x2cd1c2,_0x2162e9){return function(_0x367fac){_0x2162e9[_0xdb3f('0x3')](_0x2cd1c2,_0x367fac);};}function removeListener(_0x376480,_0x239a3b){return function(){WhatsappInteractionEvents[_0xdb3f('0x4')](_0x376480,_0x239a3b);};}exports[_0xdb3f('0x5')]=function(_0x3632e7){for(var _0x4913aa=0x0,_0x353a48=events[_0xdb3f('0x6')];_0x4913aa<_0x353a48;_0x4913aa++){var _0x5c27ad=events[_0x4913aa];var _0x113aba=createListener('whatsappInteraction:'+_0x5c27ad,_0x3632e7);WhatsappInteractionEvents['on'](_0x5c27ad,_0x113aba);}}; \ No newline at end of file