Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / api / faxInteraction / faxInteraction.socket.js
1 const a202_0xeafe=['faxInteraction:','update','save','length','emit'];(function(_0x1065d1,_0xeafe16){const _0x581b66=function(_0x487078){while(--_0x487078){_0x1065d1['push'](_0x1065d1['shift']());}};_0x581b66(++_0xeafe16);}(a202_0xeafe,0x180));const a202_0x581b=function(_0x1065d1,_0xeafe16){_0x1065d1=_0x1065d1-0x0;let _0x581b66=a202_0xeafe[_0x1065d1];return _0x581b66;};const _0x4d3bfe=a202_0x581b;'use strict';const FaxInteractionEvents=require('./faxInteraction.events'),events=[_0x4d3bfe('0x3'),'remove',_0x4d3bfe('0x2')];function createListener(_0x487078,_0x37d809){return function(_0x265f85){const _0x268e55=a202_0x581b;_0x37d809[_0x268e55('0x0')](_0x487078,_0x265f85);};}exports['register']=function(_0x25c97d){const _0x1dd9a0=_0x4d3bfe;for(let _0x1c8d43=0x0,_0x2571c1=events[_0x1dd9a0('0x4')];_0x1c8d43<_0x2571c1;_0x1c8d43++){const _0x42be2c=events[_0x1c8d43],_0x4a5a4b=createListener(_0x1dd9a0('0x1')+_0x42be2c,_0x25c97d);FaxInteractionEvents['on'](_0x42be2c,_0x4a5a4b);}};