Built motion from commit 362b9399b4d0ed5560fbb795af995925d345fc38. Version 3.0.0...
[motion-next.git] / server / api / cmContact / cmContact.socket.js
1 const a156_0x9693=['cmContact:','length','emit','register','save','./cmContact.events'];(function(_0x59aac2,_0x1e57cd){const _0x96932=function(_0xa400cf){while(--_0xa400cf){_0x59aac2['push'](_0x59aac2['shift']());}};_0x96932(++_0x1e57cd);}(a156_0x9693,0x19e));const a156_0xa400=function(_0x59aac2,_0x1e57cd){_0x59aac2=_0x59aac2-0x127;let _0x96932=a156_0x9693[_0x59aac2];return _0x96932;};const a156_0x14e425=a156_0xa400;'use strict';const CmContactEvents=require(a156_0x14e425(0x12c)),events=[a156_0x14e425(0x12b),'remove','update'];function createListener(_0x26bf97,_0x495b22){return function(_0x3f58d2){const _0x59118b=a156_0xa400;_0x495b22[_0x59118b(0x129)](_0x26bf97,_0x3f58d2);};}exports[a156_0x14e425(0x12a)]=function(_0x16ed91){const _0x5111ed=a156_0x14e425;for(let _0x579d09=0x0,_0x216af7=events[_0x5111ed(0x128)];_0x579d09<_0x216af7;_0x579d09++){const _0x237a23=events[_0x579d09],_0x32fd6e=createListener(_0x5111ed(0x127)+_0x237a23,_0x16ed91);CmContactEvents['on'](_0x237a23,_0x32fd6e);}};