Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
1 const a956_0x6e60=['emit','update','register','./whatsappInteraction.events'];(function(_0x5dd39a,_0x2beea2){const _0x6e60a9=function(_0x331b6e){while(--_0x331b6e){_0x5dd39a['push'](_0x5dd39a['shift']());}};_0x6e60a9(++_0x2beea2);}(a956_0x6e60,0x115));const a956_0x331b=function(_0x5dd39a,_0x2beea2){_0x5dd39a=_0x5dd39a-0x13d;let _0x6e60a9=a956_0x6e60[_0x5dd39a];return _0x6e60a9;};const a956_0x438451=a956_0x331b;'use strict';const WhatsappInteractionEvents=require(a956_0x438451(0x13f)),events=['save','remove',a956_0x438451(0x13d)];function createListener(_0x2be650,_0x3b2abb){return function(_0x3cf1d4){const _0x41a442=a956_0x331b;_0x3b2abb[_0x41a442(0x140)](_0x2be650,_0x3cf1d4);};}exports[a956_0x438451(0x13e)]=function(_0x8a49e6){for(let _0x2c67f1=0x0,_0xad4126=events['length'];_0x2c67f1<_0xad4126;_0x2c67f1++){const _0x20e428=events[_0x2c67f1],_0x31905f=createListener('whatsappInteraction:'+_0x20e428,_0x8a49e6);WhatsappInteractionEvents['on'](_0x20e428,_0x31905f);}};