e7658e7db5ca829f669eca5aad279d3d6c52aaf3
[motion.git] / server / api / template / template.socket.js
1 var _0xb93c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xb93c[0];const TemplateEvents=require(_0xb93c[1]);var events=[_0xb93c[2],_0xb93c[3]];exports[_0xb93c[4]]= function(_0x62a3x3){for(var _0x62a3x4=0,_0x62a3x5=events[_0xb93c[5]];_0x62a3x4< _0x62a3x5;_0x62a3x4++){var _0x62a3x6=events[_0x62a3x4];var _0x62a3x7=createListener(_0xb93c[6]+ _0x62a3x6,_0x62a3x3);TemplateEvents[_0xb93c[7]](_0x62a3x6,_0x62a3x7);_0x62a3x3[_0xb93c[7]](_0xb93c[8],removeListener(_0x62a3x6,_0x62a3x7))}};function createListener(_0x62a3x6,_0x62a3x3){return function(_0x62a3x9){_0x62a3x3[_0xb93c[9]](_0x62a3x6,_0x62a3x9)}}function removeListener(_0x62a3x6,_0x62a3x7){return function(){TemplateEvents[_0xb93c[10]](_0x62a3x6,_0x62a3x7)}}