Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / api / voicePrefix / voicePrefix.events.js
index 6d2966c..43ecc32 100644 (file)
@@ -1 +1 @@
-const a747_0x2f3b=['exports','emit','update','events','remove','setMaxListeners','../../mysqldb','save','undefined'];(function(_0x3ab1a6,_0x2f3b30){const _0x2f4e34=function(_0x396269){while(--_0x396269){_0x3ab1a6['push'](_0x3ab1a6['shift']());}};_0x2f4e34(++_0x2f3b30);}(a747_0x2f3b,0x116));const a747_0x2f4e=function(_0x3ab1a6,_0x2f3b30){_0x3ab1a6=_0x3ab1a6-0x0;let _0x2f4e34=a747_0x2f3b[_0x3ab1a6];return _0x2f4e34;};const _0x4f8607=a747_0x2f4e;'use strict';const EventEmitter=require(_0x4f8607('0x4')),VoicePrefix=require(_0x4f8607('0x7'))['db']['VoicePrefix'],VoicePrefixEvents=new EventEmitter();VoicePrefixEvents[_0x4f8607('0x6')](0x0);const events={'afterCreate':_0x4f8607('0x8'),'afterUpdate':_0x4f8607('0x3'),'afterDestroy':_0x4f8607('0x5')};function emitEvent(_0x396269){return function(_0x1a3800){const _0x433490=a747_0x2f4e;VoicePrefixEvents['emit'](_0x396269+':'+_0x1a3800['id'],_0x1a3800),VoicePrefixEvents[_0x433490('0x2')](_0x396269,_0x1a3800);};}for(const e in events){if(typeof events[e]!==_0x4f8607('0x0')){const event=events[e];VoicePrefix['addHook'](e,emitEvent(event));}}module[_0x4f8607('0x1')]=VoicePrefixEvents;
\ No newline at end of file
+const a896_0x2495=['update','emit','setMaxListeners','VoicePrefix','save','undefined','exports','events','remove'];(function(_0x57605a,_0x1f2d31){const _0x24951e=function(_0x3175a7){while(--_0x3175a7){_0x57605a['push'](_0x57605a['shift']());}};_0x24951e(++_0x1f2d31);}(a896_0x2495,0x1d4));const a896_0x3175=function(_0x57605a,_0x1f2d31){_0x57605a=_0x57605a-0xca;let _0x24951e=a896_0x2495[_0x57605a];return _0x24951e;};const a896_0x56147c=a896_0x3175;'use strict';const EventEmitter=require(a896_0x56147c(0xd1)),VoicePrefix=require('../../mysqldb')['db'][a896_0x56147c(0xcd)],VoicePrefixEvents=new EventEmitter();VoicePrefixEvents[a896_0x56147c(0xcc)](0x0);const events={'afterCreate':a896_0x56147c(0xce),'afterUpdate':a896_0x56147c(0xca),'afterDestroy':a896_0x56147c(0xd2)};function emitEvent(_0x38397a){return function(_0x5f1e67){const _0x1e16ab=a896_0x3175;VoicePrefixEvents[_0x1e16ab(0xcb)](_0x38397a+':'+_0x5f1e67['id'],_0x5f1e67),VoicePrefixEvents[_0x1e16ab(0xcb)](_0x38397a,_0x5f1e67);};}for(const e in events){if(typeof events[e]!==a896_0x56147c(0xcf)){const event=events[e];VoicePrefix['addHook'](e,emitEvent(event));}}module[a896_0x56147c(0xd0)]=VoicePrefixEvents;
\ No newline at end of file