Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / api / chatGroup / chatGroup.events.js
index 7053f71..e753d0b 100644 (file)
@@ -1 +1 @@
-'use strict';const a73_0x1d0f=['647ntpFOq','2341cxYRnr','1464552uncQKM','1eQsfpt','events','732735hZGrmS','1450619IxZNFZ','796331chOhxC','exports','save','setMaxListeners','615071nkdAtF','ChatGroup','addHook','3045283Qqslqd','@mysqldb','remove','emit'];const a73_0xe9c2=function(_0x432870,_0x503004){_0x432870=_0x432870-0x180;let _0x1d0fb6=a73_0x1d0f[_0x432870];return _0x1d0fb6;};const a73_0x201358=a73_0xe9c2;(function(_0x1c7be3,_0x33fa59){const _0x4a1365=a73_0xe9c2;while(!![]){try{const _0x3a3372=parseInt(_0x4a1365(0x188))+parseInt(_0x4a1365(0x18c))+parseInt(_0x4a1365(0x189))*-parseInt(_0x4a1365(0x191))+parseInt(_0x4a1365(0x18d))+-parseInt(_0x4a1365(0x18b))+-parseInt(_0x4a1365(0x186))*-parseInt(_0x4a1365(0x187))+-parseInt(_0x4a1365(0x182));if(_0x3a3372===_0x33fa59)break;else _0x1c7be3['push'](_0x1c7be3['shift']());}catch(_0x1deab9){_0x1c7be3['push'](_0x1c7be3['shift']());}}}(a73_0x1d0f,0xcb610));const EventEmitter=require(a73_0x201358(0x18a)),ChatGroup=require(a73_0x201358(0x183))['db'][a73_0x201358(0x180)],ChatGroupEvents=new EventEmitter();ChatGroupEvents[a73_0x201358(0x190)](0x0);const events={'afterCreate':a73_0x201358(0x18f),'afterUpdate':'update','afterDestroy':a73_0x201358(0x184)};function emitEvent(_0x39c3f2){return function(_0x4c5d68){const _0x11c1ea=a73_0xe9c2;ChatGroupEvents[_0x11c1ea(0x185)](_0x39c3f2+':'+_0x4c5d68['id'],_0x4c5d68),ChatGroupEvents[_0x11c1ea(0x185)](_0x39c3f2,_0x4c5d68);};}for(const e in events){if(typeof events[e]!=='undefined'){const event=events[e];ChatGroup[a73_0x201358(0x181)](e,emitEvent(event));}}module[a73_0x201358(0x18e)]=ChatGroupEvents;
\ No newline at end of file
+'use strict';const a73_0x3d5e=['@mysqldb','10261ozWuRL','621628gmlSJH','1451093SusXzA','136kanRTJ','emit','save','334rMxfrI','1085683qKLrqw','update','undefined','1224073CCpHhX','2rrnKbW','setMaxListeners','1328207ninynW','3739LIeEKL','1NhXqTL','ChatGroup'];const a73_0x4486=function(_0x295bf1,_0x5b5d5a){_0x295bf1=_0x295bf1-0x1ed;let _0x3d5efe=a73_0x3d5e[_0x295bf1];return _0x3d5efe;};const a73_0x395ef1=a73_0x4486;(function(_0x404552,_0x22ee92){const _0x3d33a2=a73_0x4486;while(!![]){try{const _0x8195fa=parseInt(_0x3d33a2(0x1f4))*-parseInt(_0x3d33a2(0x1f7))+-parseInt(_0x3d33a2(0x1f1))*-parseInt(_0x3d33a2(0x1fb))+parseInt(_0x3d33a2(0x1fa))*-parseInt(_0x3d33a2(0x1f0))+-parseInt(_0x3d33a2(0x1f5))*-parseInt(_0x3d33a2(0x1ed))+-parseInt(_0x3d33a2(0x1f6))+parseInt(_0x3d33a2(0x1fe))+parseInt(_0x3d33a2(0x1ef));if(_0x8195fa===_0x22ee92)break;else _0x404552['push'](_0x404552['shift']());}catch(_0x444d0e){_0x404552['push'](_0x404552['shift']());}}}(a73_0x3d5e,0xbfd8c));const EventEmitter=require('events'),ChatGroup=require(a73_0x395ef1(0x1f3))['db'][a73_0x395ef1(0x1f2)],ChatGroupEvents=new EventEmitter();ChatGroupEvents[a73_0x395ef1(0x1ee)](0x0);const events={'afterCreate':a73_0x395ef1(0x1f9),'afterUpdate':a73_0x395ef1(0x1fc),'afterDestroy':'remove'};function emitEvent(_0xaea34f){return function(_0x5a8849){const _0x51d60e=a73_0x4486;ChatGroupEvents[_0x51d60e(0x1f8)](_0xaea34f+':'+_0x5a8849['id'],_0x5a8849),ChatGroupEvents[_0x51d60e(0x1f8)](_0xaea34f,_0x5a8849);};}for(const e in events){if(typeof events[e]!==a73_0x395ef1(0x1fd)){const event=events[e];ChatGroup['addHook'](e,emitEvent(event));}}module['exports']=ChatGroupEvents;
\ No newline at end of file