@anncic-api/event 3.7.9 → 3.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var a0_0x1f22b6=a0_0x11c8;(function(_0x194b1d,_0x3248f8){var _0xe5980e=a0_0x11c8,_0x54804a=_0x194b1d();while(!![]){try{var _0x1b47cb=-parseInt(_0xe5980e(0x9c))/0x1*(-parseInt(_0xe5980e(0x96))/0x2)+parseInt(_0xe5980e(0xa6))/0x3+-parseInt(_0xe5980e(0x8d))/0x4+-parseInt(_0xe5980e(0x98))/0x5*(-parseInt(_0xe5980e(0x9f))/0x6)+-parseInt(_0xe5980e(0x8e))/0x7*(-parseInt(_0xe5980e(0x92))/0x8)+-parseInt(_0xe5980e(0xa5))/0x9+parseInt(_0xe5980e(0x99))/0xa;if(_0x1b47cb===_0x3248f8)break;else _0x54804a['push'](_0x54804a['shift']());}catch(_0x477c37){_0x54804a['push'](_0x54804a['shift']());}}}(a0_0x278c,0xd734f));function a0_0x11c8(_0x807bc,_0x4737d7){var _0x1e9190=a0_0x278c();return a0_0x11c8=function(_0x2b80fc,_0x40f382){_0x2b80fc=_0x2b80fc-0x8d;var _0x278c9d=_0x1e9190[_0x2b80fc];return _0x278c9d;},a0_0x11c8(_0x807bc,_0x4737d7);}function a0_0x278c(){var _0x1578c1=['metadata','Configuration','7TTYFoI','apply','config','14466QVEtnc','CustomConfiguration','toString','constructor','MidwayConfigService','function','13282884fJBaNK','102384xSdluW','object','__metadata','@midwayjs/core','anncic-api:event','search','design:type','length','4216220VJonQt','7ktYWAZ','__esModule','__decorate','(((.+)+)+)+$','8147768ClUEjt','Inject','decorate','defineProperty','82634lIuSlf','prototype','2455XOszIj','8857990LvnnFX'];a0_0x278c=function(){return _0x1578c1;};return a0_0x278c();}var a0_0x40f382=(function(){var _0x3dc0be=!![];return function(_0x51ad77,_0x437c41){var _0x36bac2=_0x3dc0be?function(){var _0x57b527=a0_0x11c8;if(_0x437c41){var _0x28aeef=_0x437c41[_0x57b527(0x9d)](_0x51ad77,arguments);return _0x437c41=null,_0x28aeef;}}:function(){};return _0x3dc0be=![],_0x36bac2;};}()),a0_0x2b80fc=a0_0x40f382(this,function(){var _0xc0846b=a0_0x11c8;return a0_0x2b80fc[_0xc0846b(0xa1)]()[_0xc0846b(0xab)](_0xc0846b(0x91))['toString']()[_0xc0846b(0xa2)](a0_0x2b80fc)[_0xc0846b(0xab)]('(((.+)+)+)+$');});a0_0x2b80fc();'use strict';var __decorate=this&&this[a0_0x1f22b6(0x90)]||function(_0x5c2d80,_0x408c58,_0x320aad,_0x5f4e48){var _0x2a60b2=a0_0x1f22b6,_0x2fc83f=arguments[_0x2a60b2(0xad)],_0xae28d3=_0x2fc83f<0x3?_0x408c58:_0x5f4e48===null?_0x5f4e48=Object['getOwnPropertyDescriptor'](_0x408c58,_0x320aad):_0x5f4e48,_0x324673;if(typeof Reflect===_0x2a60b2(0xa7)&&typeof Reflect['decorate']===_0x2a60b2(0xa4))_0xae28d3=Reflect[_0x2a60b2(0x94)](_0x5c2d80,_0x408c58,_0x320aad,_0x5f4e48);else{for(var _0x5a80fb=_0x5c2d80['length']-0x1;_0x5a80fb>=0x0;_0x5a80fb--)if(_0x324673=_0x5c2d80[_0x5a80fb])_0xae28d3=(_0x2fc83f<0x3?_0x324673(_0xae28d3):_0x2fc83f>0x3?_0x324673(_0x408c58,_0x320aad,_0xae28d3):_0x324673(_0x408c58,_0x320aad))||_0xae28d3;}return _0x2fc83f>0x3&&_0xae28d3&&Object[_0x2a60b2(0x95)](_0x408c58,_0x320aad,_0xae28d3),_0xae28d3;},__metadata=this&&this[a0_0x1f22b6(0xa8)]||function(_0x5800db,_0x116b6a){var _0x3b7971=a0_0x1f22b6;if(typeof Reflect===_0x3b7971(0xa7)&&typeof Reflect[_0x3b7971(0x9a)]==='function')return Reflect[_0x3b7971(0x9a)](_0x5800db,_0x116b6a);};Object[a0_0x1f22b6(0x95)](exports,a0_0x1f22b6(0x8f),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x1f22b6(0xa9)),core_2=require(a0_0x1f22b6(0xa9));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};exports[a0_0x1f22b6(0xa0)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x1f22b6(0x93)])(),__metadata(a0_0x1f22b6(0xac),core_2[a0_0x1f22b6(0xa3)])],CustomConfiguration[a0_0x1f22b6(0x97)],a0_0x1f22b6(0x9e),void 0x0),__decorate([(0x0,core_1[a0_0x1f22b6(0x93)])(),__metadata(a0_0x1f22b6(0xac),core_2['MidwayDecoratorService'])],CustomConfiguration[a0_0x1f22b6(0x97)],'decorator',void 0x0),exports[a0_0x1f22b6(0xa0)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x1f22b6(0x9b)])({'conflictCheck':![],'namespace':a0_0x1f22b6(0xaa)})],CustomConfiguration);
1
+ var a0_0x4cc75d=a0_0x13cf;(function(_0x13715b,_0x5bb015){var _0x2211ca=a0_0x13cf,_0x565728=_0x13715b();while(!![]){try{var _0x39d931=parseInt(_0x2211ca(0xd0))/0x1*(parseInt(_0x2211ca(0xd7))/0x2)+-parseInt(_0x2211ca(0xe3))/0x3*(-parseInt(_0x2211ca(0xd2))/0x4)+parseInt(_0x2211ca(0xce))/0x5*(-parseInt(_0x2211ca(0xdf))/0x6)+parseInt(_0x2211ca(0xd3))/0x7*(-parseInt(_0x2211ca(0xc8))/0x8)+parseInt(_0x2211ca(0xcc))/0x9*(parseInt(_0x2211ca(0xe0))/0xa)+-parseInt(_0x2211ca(0xe8))/0xb+parseInt(_0x2211ca(0xde))/0xc;if(_0x39d931===_0x5bb015)break;else _0x565728['push'](_0x565728['shift']());}catch(_0x365837){_0x565728['push'](_0x565728['shift']());}}}(a0_0x1fe8,0x536c4));var a0_0x1853e3=(function(){var _0x1b146=!![];return function(_0x50202f,_0x57ff5d){var _0x5ee722=_0x1b146?function(){if(_0x57ff5d){var _0x108371=_0x57ff5d['apply'](_0x50202f,arguments);return _0x57ff5d=null,_0x108371;}}:function(){};return _0x1b146=![],_0x5ee722;};}()),a0_0x1292ee=a0_0x1853e3(this,function(){var _0x5b6aa5=a0_0x13cf;return a0_0x1292ee[_0x5b6aa5(0xd9)]()['search'](_0x5b6aa5(0xcf))[_0x5b6aa5(0xd9)]()[_0x5b6aa5(0xd1)](a0_0x1292ee)[_0x5b6aa5(0xc9)]('(((.+)+)+)+$');});a0_0x1292ee();function a0_0x1fe8(){var _0x445397=['(((.+)+)+)+$','1nZdBch','constructor','125796MwsrvB','39683EWuwIM','decorate','anncic-api:event','config','254692tIfGNs','object','toString','Inject','design:type','MidwayConfigService','length','888768JkODGv','12228GjCQZo','9850wTCbjN','MidwayDecoratorService','__esModule','3lZeciN','__decorate','CustomConfiguration','prototype','@midwayjs/core','3348785RVYQDt','onReady','128IdcDgE','search','function','defineProperty','4698tNNgRv','Configuration','25dNYxYZ'];a0_0x1fe8=function(){return _0x445397;};return a0_0x1fe8();}function a0_0x13cf(_0x81d94e,_0x5dcd4c){var _0x227b3a=a0_0x1fe8();return a0_0x13cf=function(_0x1292ee,_0x1853e3){_0x1292ee=_0x1292ee-0xc7;var _0x1fe8d6=_0x227b3a[_0x1292ee];return _0x1fe8d6;},a0_0x13cf(_0x81d94e,_0x5dcd4c);}'use strict';var __decorate=this&&this[a0_0x4cc75d(0xe4)]||function(_0x105c21,_0x5a4846,_0x546f3f,_0x4164e3){var _0x3553a9=a0_0x4cc75d,_0x268993=arguments[_0x3553a9(0xdd)],_0x462a9d=_0x268993<0x3?_0x5a4846:_0x4164e3===null?_0x4164e3=Object['getOwnPropertyDescriptor'](_0x5a4846,_0x546f3f):_0x4164e3,_0x37c313;if(typeof Reflect==='object'&&typeof Reflect[_0x3553a9(0xd4)]===_0x3553a9(0xca))_0x462a9d=Reflect[_0x3553a9(0xd4)](_0x105c21,_0x5a4846,_0x546f3f,_0x4164e3);else{for(var _0x55ab90=_0x105c21[_0x3553a9(0xdd)]-0x1;_0x55ab90>=0x0;_0x55ab90--)if(_0x37c313=_0x105c21[_0x55ab90])_0x462a9d=(_0x268993<0x3?_0x37c313(_0x462a9d):_0x268993>0x3?_0x37c313(_0x5a4846,_0x546f3f,_0x462a9d):_0x37c313(_0x5a4846,_0x546f3f))||_0x462a9d;}return _0x268993>0x3&&_0x462a9d&&Object[_0x3553a9(0xcb)](_0x5a4846,_0x546f3f,_0x462a9d),_0x462a9d;},__metadata=this&&this['__metadata']||function(_0x39dadd,_0xc2b6e7){var _0x2b88d0=a0_0x4cc75d;if(typeof Reflect===_0x2b88d0(0xd8)&&typeof Reflect['metadata']===_0x2b88d0(0xca))return Reflect['metadata'](_0x39dadd,_0xc2b6e7);};Object[a0_0x4cc75d(0xcb)](exports,a0_0x4cc75d(0xe2),{'value':!![]}),exports[a0_0x4cc75d(0xe5)]=void 0x0;const core_1=require(a0_0x4cc75d(0xe7)),core_2=require(a0_0x4cc75d(0xe7));let CustomConfiguration=class CustomConfiguration{async[a0_0x4cc75d(0xc7)](){}};exports[a0_0x4cc75d(0xe5)]=CustomConfiguration,__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x4cc75d(0xdb),core_2[a0_0x4cc75d(0xdc)])],CustomConfiguration[a0_0x4cc75d(0xe6)],a0_0x4cc75d(0xd6),void 0x0),__decorate([(0x0,core_1[a0_0x4cc75d(0xda)])(),__metadata(a0_0x4cc75d(0xdb),core_2[a0_0x4cc75d(0xe1)])],CustomConfiguration['prototype'],'decorator',void 0x0),exports[a0_0x4cc75d(0xe5)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x4cc75d(0xcd)])({'conflictCheck':![],'namespace':a0_0x4cc75d(0xd5)})],CustomConfiguration);
@@ -1 +1 @@
1
- const a1_0x2ddcbb=a1_0x1431;(function(_0x106c3d,_0x333b82){const _0xf20c38=a1_0x1431,_0x4ade9a=_0x106c3d();while(!![]){try{const _0x578ecd=parseInt(_0xf20c38(0x104))/0x1*(-parseInt(_0xf20c38(0x10c))/0x2)+-parseInt(_0xf20c38(0x10d))/0x3+parseInt(_0xf20c38(0x114))/0x4*(parseInt(_0xf20c38(0x102))/0x5)+parseInt(_0xf20c38(0x103))/0x6+-parseInt(_0xf20c38(0x110))/0x7*(parseInt(_0xf20c38(0xfe))/0x8)+parseInt(_0xf20c38(0x115))/0x9*(parseInt(_0xf20c38(0x111))/0xa)+parseInt(_0xf20c38(0x10a))/0xb;if(_0x578ecd===_0x333b82)break;else _0x4ade9a['push'](_0x4ade9a['shift']());}catch(_0x1c098e){_0x4ade9a['push'](_0x4ade9a['shift']());}}}(a1_0x3da6,0xdf9e3));function a1_0x1431(_0x4e7651,_0x3b5078){const _0x57b17c=a1_0x3da6();return a1_0x1431=function(_0x145780,_0x69047e){_0x145780=_0x145780-0xfe;let _0x3da69b=_0x57b17c[_0x145780];return _0x3da69b;},a1_0x1431(_0x4e7651,_0x3b5078);}const a1_0x69047e=(function(){let _0x2bbf51=!![];return function(_0x591f6b,_0x5c78e0){const _0xdc83d2=_0x2bbf51?function(){if(_0x5c78e0){const _0x34fa20=_0x5c78e0['apply'](_0x591f6b,arguments);return _0x5c78e0=null,_0x34fa20;}}:function(){};return _0x2bbf51=![],_0xdc83d2;};}()),a1_0x145780=a1_0x69047e(this,function(){const _0x1b5755=a1_0x1431;return a1_0x145780['toString']()['search'](_0x1b5755(0x101))[_0x1b5755(0x106)]()['constructor'](a1_0x145780)['search'](_0x1b5755(0x101));});function a1_0x3da6(){const _0x1debd5=['Scope','Event','20300731WxcXaq','__esModule','2868584iFVlOz','2445954YhXwhB','Request','EVENT_KEY','35JEQDMY','6760940jCKYIY','attachClassMetadata','EVENT_ON_KEY','32CPEzuo','9NLgKso','1424576wTXQaM','defineProperty','@midwayjs/core','(((.+)+)+)+$','617490ijHMeg','3277860elmZVD','1qnQCjt','ScopeEnum','toString','Provide'];a1_0x3da6=function(){return _0x1debd5;};return a1_0x3da6();}a1_0x145780();'use strict';Object[a1_0x2ddcbb(0xff)](exports,a1_0x2ddcbb(0x10b),{'value':!![]}),exports[a1_0x2ddcbb(0x109)]=Event;const core_1=require(a1_0x2ddcbb(0x100)),interface_1=require('../interface');function Event(){return _0x415d18=>{const _0xf42efa=a1_0x1431;(0x0,core_1[_0xf42efa(0x107)])()(_0x415d18),(0x0,core_1['saveModule'])(interface_1[_0xf42efa(0x10f)],_0x415d18),(0x0,core_1[_0xf42efa(0x108)])(core_1[_0xf42efa(0x105)][_0xf42efa(0x10e)],{'allowDowngrade':!![]})(_0x415d18);};}Event['On']=function(_0x5beb07,_0x56df8b=0x0,_0x5df804=0x1f4){return(_0x9e370d,_0x40d965,_0x287def)=>{const _0x59ed07=a1_0x1431;return(0x0,core_1[_0x59ed07(0x112)])(interface_1[_0x59ed07(0x113)],{'name':_0x5beb07,'priority':_0x56df8b,'propertyKey':_0x40d965,'descriptor':_0x287def,'throttle':_0x5df804},_0x9e370d),_0x287def;};};
1
+ function a1_0x1188(_0x3eae9c,_0x387b96){const _0x14b0f7=a1_0x2c30();return a1_0x1188=function(_0x45b5ae,_0x2c0e23){_0x45b5ae=_0x45b5ae-0x14c;let _0x2c30e3=_0x14b0f7[_0x45b5ae];return _0x2c30e3;},a1_0x1188(_0x3eae9c,_0x387b96);}const a1_0x1ecb97=a1_0x1188;(function(_0x5bcc46,_0x58c571){const _0x2a01e7=a1_0x1188,_0x4b43cf=_0x5bcc46();while(!![]){try{const _0x4b3ca5=parseInt(_0x2a01e7(0x14c))/0x1+parseInt(_0x2a01e7(0x161))/0x2+-parseInt(_0x2a01e7(0x154))/0x3+parseInt(_0x2a01e7(0x15e))/0x4+parseInt(_0x2a01e7(0x152))/0x5+-parseInt(_0x2a01e7(0x158))/0x6+parseInt(_0x2a01e7(0x159))/0x7*(-parseInt(_0x2a01e7(0x150))/0x8);if(_0x4b3ca5===_0x58c571)break;else _0x4b43cf['push'](_0x4b43cf['shift']());}catch(_0x4682c2){_0x4b43cf['push'](_0x4b43cf['shift']());}}}(a1_0x2c30,0x7cd42));const a1_0x2c0e23=(function(){let _0x4b7807=!![];return function(_0x40342b,_0xb396e5){const _0x5cf471=_0x4b7807?function(){if(_0xb396e5){const _0x57f1b0=_0xb396e5['apply'](_0x40342b,arguments);return _0xb396e5=null,_0x57f1b0;}}:function(){};return _0x4b7807=![],_0x5cf471;};}()),a1_0x45b5ae=a1_0x2c0e23(this,function(){const _0x4674bb=a1_0x1188;return a1_0x45b5ae[_0x4674bb(0x156)]()['search']('(((.+)+)+)+$')['toString']()[_0x4674bb(0x15a)](a1_0x45b5ae)['search'](_0x4674bb(0x15f));});a1_0x45b5ae();'use strict';Object[a1_0x1ecb97(0x14e)](exports,'__esModule',{'value':!![]}),exports[a1_0x1ecb97(0x151)]=Event;const core_1=require(a1_0x1ecb97(0x15c)),interface_1=require(a1_0x1ecb97(0x157));function Event(){return _0x78d951=>{const _0x205758=a1_0x1188;(0x0,core_1[_0x205758(0x153)])()(_0x78d951),(0x0,core_1[_0x205758(0x14f)])(interface_1[_0x205758(0x14d)],_0x78d951),(0x0,core_1['Scope'])(core_1[_0x205758(0x155)][_0x205758(0x15b)],{'allowDowngrade':!![]})(_0x78d951);};}Event['On']=function(_0x2fe563,_0x254e9f=0x0,_0x17c298=0x1f4){return(_0x2b6f80,_0x36c401,_0x5afa60)=>{const _0x154e7d=a1_0x1188;return(0x0,core_1[_0x154e7d(0x160)])(interface_1[_0x154e7d(0x15d)],{'name':_0x2fe563,'priority':_0x254e9f,'propertyKey':_0x36c401,'descriptor':_0x5afa60,'throttle':_0x17c298},_0x2b6f80),_0x5afa60;};};function a1_0x2c30(){const _0x2429c3=['Request','@midwayjs/core','EVENT_ON_KEY','499832GKoqfS','(((.+)+)+)+$','attachClassMetadata','1991878NIiAxe','91374LWvKvQ','EVENT_KEY','defineProperty','saveModule','104pVZWiz','Event','3950705DtueZr','Provide','1728429YPYuKc','ScopeEnum','toString','../interface','4175136HMPJZF','117985SiPeZz','constructor'];a1_0x2c30=function(){return _0x2429c3;};return a1_0x2c30();}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x2e3fa4=a2_0x2188;(function(_0x2ef161,_0x4bde58){var _0x2d8f57=a2_0x2188,_0x26f344=_0x2ef161();while(!![]){try{var _0x397ec0=-parseInt(_0x2d8f57(0x120))/0x1*(-parseInt(_0x2d8f57(0x126))/0x2)+parseInt(_0x2d8f57(0x122))/0x3+-parseInt(_0x2d8f57(0x11b))/0x4+parseInt(_0x2d8f57(0x123))/0x5+-parseInt(_0x2d8f57(0x119))/0x6+parseInt(_0x2d8f57(0x117))/0x7+-parseInt(_0x2d8f57(0x127))/0x8*(parseInt(_0x2d8f57(0x11d))/0x9);if(_0x397ec0===_0x4bde58)break;else _0x26f344['push'](_0x26f344['shift']());}catch(_0x2b052f){_0x26f344['push'](_0x26f344['shift']());}}}(a2_0x5af9,0x6d365));var a2_0x221502=(function(){var _0x118f76=!![];return function(_0x59f638,_0x1255d8){var _0x1c6a81=_0x118f76?function(){var _0x27e1d7=a2_0x2188;if(_0x1255d8){var _0x21e138=_0x1255d8[_0x27e1d7(0x115)](_0x59f638,arguments);return _0x1255d8=null,_0x21e138;}}:function(){};return _0x118f76=![],_0x1c6a81;};}()),a2_0x22c520=a2_0x221502(this,function(){var _0x2eee81=a2_0x2188;return a2_0x22c520['toString']()[_0x2eee81(0x113)]('(((.+)+)+)+$')[_0x2eee81(0x11a)]()[_0x2eee81(0x124)](a2_0x22c520)[_0x2eee81(0x113)](_0x2eee81(0x114));});a2_0x22c520();'use strict';Object[a2_0x2e3fa4(0x11f)](exports,a2_0x2e3fa4(0x11c),{'value':!![]}),exports[a2_0x2e3fa4(0x112)]=exports[a2_0x2e3fa4(0x116)]=exports['Event']=void 0x0;var Event_1=require(a2_0x2e3fa4(0x128));Object['defineProperty'](exports,a2_0x2e3fa4(0x125),{'enumerable':!![],'get':function(){var _0x34064a=a2_0x2e3fa4;return Event_1[_0x34064a(0x125)];}});function a2_0x2188(_0x4c4c6c,_0x4fc602){var _0x464a71=a2_0x5af9();return a2_0x2188=function(_0x22c520,_0x221502){_0x22c520=_0x22c520-0x112;var _0x5af953=_0x464a71[_0x22c520];return _0x5af953;},a2_0x2188(_0x4c4c6c,_0x4fc602);}var EventService_1=require(a2_0x2e3fa4(0x121));Object['defineProperty'](exports,a2_0x2e3fa4(0x116),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x2e3fa4(0x11e));function a2_0x5af9(){var _0x5aaf87=['23632uNDSlm','2605736vRZszr','./decorator/Event','Configuration','search','(((.+)+)+)+$','apply','EventService','5209610ZDpJlP','CustomConfiguration','763242ZPJTAi','toString','1537356glwQQP','__esModule','18IXdqas','./configuration','defineProperty','57nIBMQj','./service/EventService','89115VexfhY','814330RtRYdr','constructor','Event'];a2_0x5af9=function(){return _0x5aaf87;};return a2_0x5af9();}Object[a2_0x2e3fa4(0x11f)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x52bf68=a2_0x2e3fa4;return configuration_1[_0x52bf68(0x118)];}});
1
+ var a2_0x47f879=a2_0x312f;(function(_0x3f6198,_0x42f33f){var _0x7f9a2a=a2_0x312f,_0x217b11=_0x3f6198();while(!![]){try{var _0x307895=parseInt(_0x7f9a2a(0x1cf))/0x1+parseInt(_0x7f9a2a(0x1c9))/0x2*(parseInt(_0x7f9a2a(0x1c5))/0x3)+-parseInt(_0x7f9a2a(0x1d5))/0x4+parseInt(_0x7f9a2a(0x1d2))/0x5*(-parseInt(_0x7f9a2a(0x1c8))/0x6)+-parseInt(_0x7f9a2a(0x1ca))/0x7*(-parseInt(_0x7f9a2a(0x1c7))/0x8)+parseInt(_0x7f9a2a(0x1c1))/0x9+-parseInt(_0x7f9a2a(0x1c2))/0xa*(parseInt(_0x7f9a2a(0x1ce))/0xb);if(_0x307895===_0x42f33f)break;else _0x217b11['push'](_0x217b11['shift']());}catch(_0x526c8f){_0x217b11['push'](_0x217b11['shift']());}}}(a2_0x4323,0xa705a));var a2_0x4d88c0=(function(){var _0x278a94=!![];return function(_0x5a03ba,_0x410d5f){var _0x460d07=_0x278a94?function(){if(_0x410d5f){var _0x42192d=_0x410d5f['apply'](_0x5a03ba,arguments);return _0x410d5f=null,_0x42192d;}}:function(){};return _0x278a94=![],_0x460d07;};}()),a2_0x3b2567=a2_0x4d88c0(this,function(){var _0x1c2a6b=a2_0x312f;return a2_0x3b2567[_0x1c2a6b(0x1d0)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a2_0x3b2567)[_0x1c2a6b(0x1cd)](_0x1c2a6b(0x1c3));});a2_0x3b2567();'use strict';Object[a2_0x47f879(0x1cb)](exports,a2_0x47f879(0x1d3),{'value':!![]}),exports[a2_0x47f879(0x1cc)]=exports[a2_0x47f879(0x1d1)]=exports[a2_0x47f879(0x1d4)]=void 0x0;var Event_1=require(a2_0x47f879(0x1d6));Object[a2_0x47f879(0x1cb)](exports,a2_0x47f879(0x1d4),{'enumerable':!![],'get':function(){var _0x14a152=a2_0x47f879;return Event_1[_0x14a152(0x1d4)];}});function a2_0x4323(){var _0x20e838=['18lEwOlq','70DEQalr','7GtasDA','defineProperty','Configuration','search','88jNQNga','263094qDxKEb','toString','EventService','590905wYxAsm','__esModule','Event','803060rHKEQf','./decorator/Event','10320462aauUuy','1336910gqxnKu','(((.+)+)+)+$','./service/EventService','32919Rnjxok','./configuration','4120728TQWeSu'];a2_0x4323=function(){return _0x20e838;};return a2_0x4323();}var EventService_1=require(a2_0x47f879(0x1c4));function a2_0x312f(_0x269a48,_0x231f12){var _0xbdd373=a2_0x4323();return a2_0x312f=function(_0x3b2567,_0x4d88c0){_0x3b2567=_0x3b2567-0x1c1;var _0x43230c=_0xbdd373[_0x3b2567];return _0x43230c;},a2_0x312f(_0x269a48,_0x231f12);}Object[a2_0x47f879(0x1cb)](exports,a2_0x47f879(0x1d1),{'enumerable':!![],'get':function(){var _0x532f9f=a2_0x47f879;return EventService_1[_0x532f9f(0x1d1)];}});var configuration_1=require(a2_0x47f879(0x1c6));Object[a2_0x47f879(0x1cb)](exports,a2_0x47f879(0x1cc),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a3_0xc4b182=a3_0xbb8d;function a3_0x191b(){var _0x36adb8=['search','__esModule','11032461gglTta','constructor','13196032cjdRQR','4625907bJJUwj','anncic-api:event:on','258trOMqc','13090210CRcOtL','EVENT_KEY','2nrBSfD','EVENT_ON_KEY','196006bvvtVY','39011lMZHfb','(((.+)+)+)+$','9SCmOUE','toString','5709908JIolYQ','5khaeYt','defineProperty'];a3_0x191b=function(){return _0x36adb8;};return a3_0x191b();}function a3_0xbb8d(_0x3e1e0d,_0x1695c5){var _0xd51199=a3_0x191b();return a3_0xbb8d=function(_0x237bf2,_0x20d143){_0x237bf2=_0x237bf2-0x7d;var _0x191b05=_0xd51199[_0x237bf2];return _0x191b05;},a3_0xbb8d(_0x3e1e0d,_0x1695c5);}(function(_0x5b37f3,_0xaf64b6){var _0x6f8941=a3_0xbb8d,_0x437d33=_0x5b37f3();while(!![]){try{var _0x1d0553=parseInt(_0x6f8941(0x7e))/0x1*(parseInt(_0x6f8941(0x80))/0x2)+parseInt(_0x6f8941(0x8d))/0x3+parseInt(_0x6f8941(0x85))/0x4*(parseInt(_0x6f8941(0x86))/0x5)+parseInt(_0x6f8941(0x8f))/0x6*(-parseInt(_0x6f8941(0x81))/0x7)+-parseInt(_0x6f8941(0x8c))/0x8+-parseInt(_0x6f8941(0x83))/0x9*(parseInt(_0x6f8941(0x90))/0xa)+parseInt(_0x6f8941(0x8a))/0xb;if(_0x1d0553===_0xaf64b6)break;else _0x437d33['push'](_0x437d33['shift']());}catch(_0x141716){_0x437d33['push'](_0x437d33['shift']());}}}(a3_0x191b,0xecdff));var a3_0x20d143=(function(){var _0x196c1b=!![];return function(_0x5073e3,_0x38b4dc){var _0x474ef7=_0x196c1b?function(){if(_0x38b4dc){var _0x445168=_0x38b4dc['apply'](_0x5073e3,arguments);return _0x38b4dc=null,_0x445168;}}:function(){};return _0x196c1b=![],_0x474ef7;};}()),a3_0x237bf2=a3_0x20d143(this,function(){var _0x4b75b3=a3_0xbb8d;return a3_0x237bf2[_0x4b75b3(0x84)]()[_0x4b75b3(0x88)](_0x4b75b3(0x82))[_0x4b75b3(0x84)]()[_0x4b75b3(0x8b)](a3_0x237bf2)[_0x4b75b3(0x88)](_0x4b75b3(0x82));});a3_0x237bf2();'use strict';Object[a3_0xc4b182(0x87)](exports,a3_0xc4b182(0x89),{'value':!![]}),exports[a3_0xc4b182(0x7f)]=exports[a3_0xc4b182(0x7d)]=void 0x0,exports[a3_0xc4b182(0x7d)]='anncic-api:event',exports['EVENT_ON_KEY']=a3_0xc4b182(0x8e);
1
+ var a3_0x431087=a3_0x59fb;(function(_0x34408d,_0x35b690){var _0x29b7e7=a3_0x59fb,_0x2c81dc=_0x34408d();while(!![]){try{var _0x52e4e0=parseInt(_0x29b7e7(0xf9))/0x1*(-parseInt(_0x29b7e7(0xeb))/0x2)+parseInt(_0x29b7e7(0xe7))/0x3*(-parseInt(_0x29b7e7(0xfd))/0x4)+parseInt(_0x29b7e7(0xea))/0x5+-parseInt(_0x29b7e7(0xe9))/0x6+-parseInt(_0x29b7e7(0xf0))/0x7*(-parseInt(_0x29b7e7(0xf6))/0x8)+-parseInt(_0x29b7e7(0xe8))/0x9*(parseInt(_0x29b7e7(0xf7))/0xa)+parseInt(_0x29b7e7(0xf1))/0xb*(parseInt(_0x29b7e7(0xfb))/0xc);if(_0x52e4e0===_0x35b690)break;else _0x2c81dc['push'](_0x2c81dc['shift']());}catch(_0x340a11){_0x2c81dc['push'](_0x2c81dc['shift']());}}}(a3_0x30c3,0x1d3af));var a3_0x11698d=(function(){var _0x4358fc=!![];return function(_0x19ebd0,_0x2b2047){var _0x16c89b=_0x4358fc?function(){var _0x3bb41f=a3_0x59fb;if(_0x2b2047){var _0x1afb62=_0x2b2047[_0x3bb41f(0xed)](_0x19ebd0,arguments);return _0x2b2047=null,_0x1afb62;}}:function(){};return _0x4358fc=![],_0x16c89b;};}()),a3_0xb74cb=a3_0x11698d(this,function(){var _0x226368=a3_0x59fb;return a3_0xb74cb[_0x226368(0xef)]()[_0x226368(0xf3)](_0x226368(0xfa))[_0x226368(0xef)]()[_0x226368(0xf5)](a3_0xb74cb)[_0x226368(0xf3)](_0x226368(0xfa));});a3_0xb74cb();'use strict';function a3_0x30c3(){var _0x4266cc=['search','anncic-api:event','constructor','4792foBzlh','273430dYHsva','__esModule','9ooMxtw','(((.+)+)+)+$','5323848Xubziw','EVENT_KEY','6084rgWDnD','159aWjzKi','45tDFlsr','1122384yxvYxY','587405DGyXyD','26462ycJxnS','anncic-api:event:on','apply','defineProperty','toString','959ArCTmt','11BBKdtQ','EVENT_ON_KEY'];a3_0x30c3=function(){return _0x4266cc;};return a3_0x30c3();}function a3_0x59fb(_0x1bd77d,_0x597d0e){var _0x35b0e0=a3_0x30c3();return a3_0x59fb=function(_0xb74cb,_0x11698d){_0xb74cb=_0xb74cb-0xe7;var _0x30c31f=_0x35b0e0[_0xb74cb];return _0x30c31f;},a3_0x59fb(_0x1bd77d,_0x597d0e);}Object[a3_0x431087(0xee)](exports,a3_0x431087(0xf8),{'value':!![]}),exports[a3_0x431087(0xf2)]=exports[a3_0x431087(0xfc)]=void 0x0,exports[a3_0x431087(0xfc)]=a3_0x431087(0xf4),exports['EVENT_ON_KEY']=a3_0x431087(0xec);
@@ -1 +1 @@
1
- const a4_0x3011be=a4_0x1398;(function(_0x12051b,_0x2f1782){const _0x379ab7=a4_0x1398,_0xd4892e=_0x12051b();while(!![]){try{const _0x56e6a7=-parseInt(_0x379ab7(0x1cb))/0x1*(-parseInt(_0x379ab7(0x1ca))/0x2)+parseInt(_0x379ab7(0x1d5))/0x3*(-parseInt(_0x379ab7(0x1c3))/0x4)+parseInt(_0x379ab7(0x1f2))/0x5+parseInt(_0x379ab7(0x1ed))/0x6*(-parseInt(_0x379ab7(0x1d3))/0x7)+parseInt(_0x379ab7(0x1ea))/0x8*(parseInt(_0x379ab7(0x1c1))/0x9)+-parseInt(_0x379ab7(0x1c2))/0xa+parseInt(_0x379ab7(0x1de))/0xb;if(_0x56e6a7===_0x2f1782)break;else _0xd4892e['push'](_0xd4892e['shift']());}catch(_0x5c43ff){_0xd4892e['push'](_0xd4892e['shift']());}}}(a4_0x3a10,0xc8b4a));const a4_0x4560c8=(function(){let _0x58cead=!![];return function(_0x2cdaf8,_0x157f67){const _0x50fe9a=_0x58cead?function(){const _0x10a832=a4_0x1398;if(_0x157f67){const _0x5a6f2c=_0x157f67[_0x10a832(0x1d6)](_0x2cdaf8,arguments);return _0x157f67=null,_0x5a6f2c;}}:function(){};return _0x58cead=![],_0x50fe9a;};}()),a4_0x42c09e=a4_0x4560c8(this,function(){const _0x3668fa=a4_0x1398;return a4_0x42c09e[_0x3668fa(0x1db)]()[_0x3668fa(0x1bb)]('(((.+)+)+)+$')[_0x3668fa(0x1db)]()[_0x3668fa(0x1e8)](a4_0x42c09e)[_0x3668fa(0x1bb)]('(((.+)+)+)+$');});a4_0x42c09e();function a4_0x3a10(){const _0x540e79=['7EGQQzw','@midwayjs/core','3364953SuSItT','apply','throttle','off','propertyKey','getClassMetadata','toString','EventService','EVENT_KEY','15539920HwKoaN','resolve','EVENT_ON_KEY','name','emit','Singleton','function','Scope','getListevent','app','constructor','push','200bXituA','listModule','listevent_throttle','5988030RmCtHy','getApplicationContext','__esModule','init','Provide','1119790RxYeEG','priority','all','search','now','default','App','bind','once','290259kpqeWF','9434600BwGKHE','4gUSnNs','object','length','event','decorate','__metadata','defineProperty','6hvVVSE','480751nCLCKH','stringify','getOwnPropertyDescriptor','ScopeEnum','prototype','metadata','listevent','getAsync'];a4_0x3a10=function(){return _0x540e79;};return a4_0x3a10();}function a4_0x1398(_0x4d8cb9,_0x475370){const _0x393b7e=a4_0x3a10();return a4_0x1398=function(_0x42c09e,_0x4560c8){_0x42c09e=_0x42c09e-0x1ba;let _0x3a1084=_0x393b7e[_0x42c09e];return _0x3a1084;},a4_0x1398(_0x4d8cb9,_0x475370);}'use strict';var __decorate=this&&this['__decorate']||function(_0x3be2d7,_0x3032bb,_0x3f773e,_0x483ebf){const _0x2ed89f=a4_0x1398;var _0x15a06b=arguments[_0x2ed89f(0x1c5)],_0xa99aad=_0x15a06b<0x3?_0x3032bb:_0x483ebf===null?_0x483ebf=Object[_0x2ed89f(0x1cd)](_0x3032bb,_0x3f773e):_0x483ebf,_0x5ee468;if(typeof Reflect===_0x2ed89f(0x1c4)&&typeof Reflect['decorate']===_0x2ed89f(0x1e4))_0xa99aad=Reflect[_0x2ed89f(0x1c7)](_0x3be2d7,_0x3032bb,_0x3f773e,_0x483ebf);else{for(var _0x135d91=_0x3be2d7[_0x2ed89f(0x1c5)]-0x1;_0x135d91>=0x0;_0x135d91--)if(_0x5ee468=_0x3be2d7[_0x135d91])_0xa99aad=(_0x15a06b<0x3?_0x5ee468(_0xa99aad):_0x15a06b>0x3?_0x5ee468(_0x3032bb,_0x3f773e,_0xa99aad):_0x5ee468(_0x3032bb,_0x3f773e))||_0xa99aad;}return _0x15a06b>0x3&&_0xa99aad&&Object[_0x2ed89f(0x1c9)](_0x3032bb,_0x3f773e,_0xa99aad),_0xa99aad;},__metadata=this&&this[a4_0x3011be(0x1c8)]||function(_0x14d763,_0x5eb23f){const _0x303de0=a4_0x3011be;if(typeof Reflect===_0x303de0(0x1c4)&&typeof Reflect[_0x303de0(0x1d0)]==='function')return Reflect[_0x303de0(0x1d0)](_0x14d763,_0x5eb23f);};Object[a4_0x3011be(0x1c9)](exports,a4_0x3011be(0x1ef),{'value':!![]}),exports[a4_0x3011be(0x1dc)]=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x3011be(0x1d4)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x299d7d=a4_0x3011be;this[_0x299d7d(0x1f0)]=![];}async[a4_0x3011be(0x1e6)](_0x5dd908){const _0x13c31c=a4_0x3011be;if(!this['init']){this[_0x13c31c(0x1f0)]=!![],this[_0x13c31c(0x1d1)]={};for(const _0x1b064a of(0x0,core_1[_0x13c31c(0x1eb)])(interface_1[_0x13c31c(0x1dd)])||[]){const _0x47d811=await this['app'][_0x13c31c(0x1ee)]()[_0x13c31c(0x1d2)](_0x1b064a);for(const _0x2e5f3c of(0x0,core_1[_0x13c31c(0x1da)])(interface_1[_0x13c31c(0x1e0)],_0x1b064a)||[]){typeof(_0x47d811[_0x2e5f3c[_0x13c31c(0x1d9)]]==_0x13c31c(0x1e4))&&(!this['listevent'][_0x2e5f3c[_0x13c31c(0x1e1)]]&&(this[_0x13c31c(0x1d1)][_0x2e5f3c[_0x13c31c(0x1e1)]]=[]),this[_0x13c31c(0x1d1)][_0x2e5f3c['name']][_0x13c31c(0x1e9)]({'priority':(_0x2e5f3c===null||_0x2e5f3c===void 0x0?void 0x0:_0x2e5f3c[_0x13c31c(0x1f3)])||0x0,'throttle':(_0x2e5f3c===null||_0x2e5f3c===void 0x0?void 0x0:_0x2e5f3c[_0x13c31c(0x1d7)])||0x1f4,'resolve':_0x47d811[_0x2e5f3c[_0x13c31c(0x1d9)]][_0x13c31c(0x1bf)](_0x47d811),'propertyKey':_0x1b064a['name']+'@'+_0x2e5f3c[_0x13c31c(0x1d9)]}));}}for(const _0x400093 in this[_0x13c31c(0x1d1)]){this[_0x13c31c(0x1d1)][_0x400093]=(0x0,collect_js_1[_0x13c31c(0x1bd)])(this[_0x13c31c(0x1d1)][_0x400093])['sortByDesc'](_0x13c31c(0x1f3))[_0x13c31c(0x1ba)]();}}return _0x5dd908?this[_0x13c31c(0x1d1)][_0x5dd908]||[]:this['listevent'];}async[a4_0x3011be(0x1e2)](_0x438cf3,..._0x36487d){const _0x549886=a4_0x3011be;var _0x398096,_0x4e3668,_0x51478b,_0x420efd,_0x5b2620;const _0x5eb1d6=''+JSON[_0x549886(0x1cc)](_0x36487d),_0x567b18=Date[_0x549886(0x1bc)]();await this['getListevent']();for(let _0x18381a in this['listevent_throttle']){this[_0x549886(0x1ec)][_0x18381a]<_0x567b18&&delete this[_0x549886(0x1ec)][_0x18381a];}for(let _0x5283d1 in(_0x398096=this[_0x549886(0x1d1)])===null||_0x398096===void 0x0?void 0x0:_0x398096[_0x438cf3]){if(((_0x4e3668=this[_0x549886(0x1d1)][_0x438cf3])===null||_0x4e3668===void 0x0?void 0x0:_0x4e3668[_0x5283d1])&&typeof((_0x420efd=(_0x51478b=this[_0x549886(0x1d1)][_0x438cf3])===null||_0x51478b===void 0x0?void 0x0:_0x51478b[_0x5283d1])===null||_0x420efd===void 0x0?void 0x0:_0x420efd[_0x549886(0x1df)])==_0x549886(0x1e4)){const _0x595491=_0x438cf3+'_'+_0x5283d1+'@'+_0x5eb1d6;(!this[_0x549886(0x1ec)]||this[_0x549886(0x1ec)][_0x595491]<_0x567b18)&&(this[_0x549886(0x1ec)][_0x595491]=_0x567b18+(((_0x5b2620=this[_0x549886(0x1d1)][_0x438cf3][_0x5283d1])===null||_0x5b2620===void 0x0?void 0x0:_0x5b2620['throttle'])||0x1f4),await this[_0x549886(0x1d1)][_0x438cf3][_0x5283d1][_0x549886(0x1df)](..._0x36487d));}}}async[a4_0x3011be(0x1c0)](_0x32b120,..._0xd67717){const _0x2e057c=a4_0x3011be;return await this['getListevent'](),await this['emit'](_0x32b120,..._0xd67717),this[_0x2e057c(0x1d8)](_0x32b120);}async[a4_0x3011be(0x1d8)](_0x44a1f7){const _0x47a490=a4_0x3011be;return await this[_0x47a490(0x1e6)](),this[_0x47a490(0x1d1)][_0x44a1f7]&&delete this[_0x47a490(0x1d1)][_0x44a1f7],!!this[_0x47a490(0x1d1)][_0x44a1f7];}};exports[a4_0x3011be(0x1dc)]=EventService,__decorate([(0x0,core_1[a4_0x3011be(0x1be)])(),__metadata('design:type',Object)],EventService[a4_0x3011be(0x1cf)],a4_0x3011be(0x1e7),void 0x0),exports[a4_0x3011be(0x1dc)]=EventService=__decorate([(0x0,core_1[a4_0x3011be(0x1f1)])(a4_0x3011be(0x1c6)),(0x0,core_1[a4_0x3011be(0x1e5)])(core_1[a4_0x3011be(0x1ce)][a4_0x3011be(0x1e3)])],EventService);
1
+ const a4_0x55d261=a4_0x5067;function a4_0x5067(_0x35ac41,_0xfab5e5){const _0x2557ca=a4_0x18f1();return a4_0x5067=function(_0x29dacf,_0x518245){_0x29dacf=_0x29dacf-0x193;let _0x18f168=_0x2557ca[_0x29dacf];return _0x18f168;},a4_0x5067(_0x35ac41,_0xfab5e5);}(function(_0x4492a1,_0x38b915){const _0x5e28f8=a4_0x5067,_0x4177d3=_0x4492a1();while(!![]){try{const _0x510969=parseInt(_0x5e28f8(0x1b6))/0x1+-parseInt(_0x5e28f8(0x1a3))/0x2+parseInt(_0x5e28f8(0x1af))/0x3+-parseInt(_0x5e28f8(0x1bb))/0x4+parseInt(_0x5e28f8(0x1ae))/0x5+parseInt(_0x5e28f8(0x199))/0x6*(-parseInt(_0x5e28f8(0x19f))/0x7)+-parseInt(_0x5e28f8(0x1a1))/0x8*(-parseInt(_0x5e28f8(0x1a5))/0x9);if(_0x510969===_0x38b915)break;else _0x4177d3['push'](_0x4177d3['shift']());}catch(_0x125a89){_0x4177d3['push'](_0x4177d3['shift']());}}}(a4_0x18f1,0xf3e64));const a4_0x518245=(function(){let _0x4b73e6=!![];return function(_0x46684b,_0x558a81){const _0x2df8f2=_0x4b73e6?function(){const _0x236336=a4_0x5067;if(_0x558a81){const _0x4322bb=_0x558a81[_0x236336(0x195)](_0x46684b,arguments);return _0x558a81=null,_0x4322bb;}}:function(){};return _0x4b73e6=![],_0x2df8f2;};}()),a4_0x29dacf=a4_0x518245(this,function(){const _0x109b2d=a4_0x5067;return a4_0x29dacf['toString']()[_0x109b2d(0x1b8)](_0x109b2d(0x1a4))['toString']()[_0x109b2d(0x1a6)](a4_0x29dacf)[_0x109b2d(0x1b8)]('(((.+)+)+)+$');});a4_0x29dacf();function a4_0x18f1(){const _0x17554a=['@midwayjs/core','name','stringify','App','bind','event','emit','metadata','apply','ScopeEnum','priority','function','66kcwoZr','defineProperty','init','EVENT_KEY','getClassMetadata','Scope','690991owPlHa','Provide','24TPYcVu','listevent','1282028qICdUf','(((.+)+)+)+$','3040443QPyums','constructor','object','length','app','listModule','default','listevent_throttle','__esModule','4608255FpxvNU','677214mXjxyj','now','EventService','propertyKey','decorate','once','__metadata','744932QjzHUS','throttle','search','off','sortByDesc','719732WfkGnc','prototype','getListevent'];a4_0x18f1=function(){return _0x17554a;};return a4_0x18f1();}'use strict';var __decorate=this&&this['__decorate']||function(_0x39e0fe,_0x2de161,_0xed29fb,_0x382348){const _0x4f2ad1=a4_0x5067;var _0x237445=arguments[_0x4f2ad1(0x1a8)],_0x3dcd79=_0x237445<0x3?_0x2de161:_0x382348===null?_0x382348=Object['getOwnPropertyDescriptor'](_0x2de161,_0xed29fb):_0x382348,_0x1f646a;if(typeof Reflect===_0x4f2ad1(0x1a7)&&typeof Reflect['decorate']===_0x4f2ad1(0x198))_0x3dcd79=Reflect[_0x4f2ad1(0x1b3)](_0x39e0fe,_0x2de161,_0xed29fb,_0x382348);else{for(var _0x425721=_0x39e0fe[_0x4f2ad1(0x1a8)]-0x1;_0x425721>=0x0;_0x425721--)if(_0x1f646a=_0x39e0fe[_0x425721])_0x3dcd79=(_0x237445<0x3?_0x1f646a(_0x3dcd79):_0x237445>0x3?_0x1f646a(_0x2de161,_0xed29fb,_0x3dcd79):_0x1f646a(_0x2de161,_0xed29fb))||_0x3dcd79;}return _0x237445>0x3&&_0x3dcd79&&Object['defineProperty'](_0x2de161,_0xed29fb,_0x3dcd79),_0x3dcd79;},__metadata=this&&this[a4_0x55d261(0x1b5)]||function(_0x2a0468,_0x22c338){const _0xfa70bb=a4_0x55d261;if(typeof Reflect===_0xfa70bb(0x1a7)&&typeof Reflect[_0xfa70bb(0x194)]===_0xfa70bb(0x198))return Reflect[_0xfa70bb(0x194)](_0x2a0468,_0x22c338);};Object[a4_0x55d261(0x19a)](exports,a4_0x55d261(0x1ad),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x55d261(0x1be)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x3382bd=a4_0x55d261;this[_0x3382bd(0x19b)]=![];}async[a4_0x55d261(0x1bd)](_0xad4ef9){const _0x1d45f1=a4_0x55d261;if(!this[_0x1d45f1(0x19b)]){this[_0x1d45f1(0x19b)]=!![],this['listevent']={};for(const _0x3f7590 of(0x0,core_1[_0x1d45f1(0x1aa)])(interface_1[_0x1d45f1(0x19c)])||[]){const _0x215e52=await this[_0x1d45f1(0x1a9)]['getApplicationContext']()['getAsync'](_0x3f7590);for(const _0x5d00a2 of(0x0,core_1[_0x1d45f1(0x19d)])(interface_1['EVENT_ON_KEY'],_0x3f7590)||[]){typeof(_0x215e52[_0x5d00a2[_0x1d45f1(0x1b2)]]==_0x1d45f1(0x198))&&(!this[_0x1d45f1(0x1a2)][_0x5d00a2[_0x1d45f1(0x1bf)]]&&(this[_0x1d45f1(0x1a2)][_0x5d00a2['name']]=[]),this[_0x1d45f1(0x1a2)][_0x5d00a2[_0x1d45f1(0x1bf)]]['push']({'priority':(_0x5d00a2===null||_0x5d00a2===void 0x0?void 0x0:_0x5d00a2['priority'])||0x0,'throttle':(_0x5d00a2===null||_0x5d00a2===void 0x0?void 0x0:_0x5d00a2[_0x1d45f1(0x1b7)])||0x1f4,'resolve':_0x215e52[_0x5d00a2[_0x1d45f1(0x1b2)]][_0x1d45f1(0x1c2)](_0x215e52),'propertyKey':_0x3f7590[_0x1d45f1(0x1bf)]+'@'+_0x5d00a2['propertyKey']}));}}for(const _0xa0b38 in this['listevent']){this[_0x1d45f1(0x1a2)][_0xa0b38]=(0x0,collect_js_1[_0x1d45f1(0x1ab)])(this[_0x1d45f1(0x1a2)][_0xa0b38])[_0x1d45f1(0x1ba)](_0x1d45f1(0x197))['all']();}}return _0xad4ef9?this['listevent'][_0xad4ef9]||[]:this[_0x1d45f1(0x1a2)];}async['emit'](_0x525ebb,..._0x4a82d7){const _0x426a6f=a4_0x55d261;var _0x24e630,_0x272288,_0x265009,_0x333bf3,_0x2c22e3;const _0x2bb035=''+JSON[_0x426a6f(0x1c0)](_0x4a82d7),_0x2df59b=Date[_0x426a6f(0x1b0)]();await this[_0x426a6f(0x1bd)]();for(let _0x5a7442 in this[_0x426a6f(0x1ac)]){this[_0x426a6f(0x1ac)][_0x5a7442]<_0x2df59b&&delete this[_0x426a6f(0x1ac)][_0x5a7442];}for(let _0x25d05a in(_0x24e630=this[_0x426a6f(0x1a2)])===null||_0x24e630===void 0x0?void 0x0:_0x24e630[_0x525ebb]){if(((_0x272288=this[_0x426a6f(0x1a2)][_0x525ebb])===null||_0x272288===void 0x0?void 0x0:_0x272288[_0x25d05a])&&typeof((_0x333bf3=(_0x265009=this[_0x426a6f(0x1a2)][_0x525ebb])===null||_0x265009===void 0x0?void 0x0:_0x265009[_0x25d05a])===null||_0x333bf3===void 0x0?void 0x0:_0x333bf3['resolve'])==_0x426a6f(0x198)){const _0x240228=_0x525ebb+'_'+_0x25d05a+'@'+_0x2bb035;(!this['listevent_throttle']||this[_0x426a6f(0x1ac)][_0x240228]<_0x2df59b)&&(this[_0x426a6f(0x1ac)][_0x240228]=_0x2df59b+(((_0x2c22e3=this[_0x426a6f(0x1a2)][_0x525ebb][_0x25d05a])===null||_0x2c22e3===void 0x0?void 0x0:_0x2c22e3[_0x426a6f(0x1b7)])||0x1f4),await this['listevent'][_0x525ebb][_0x25d05a]['resolve'](..._0x4a82d7));}}}async[a4_0x55d261(0x1b4)](_0x1efa91,..._0x100550){const _0x49bdb0=a4_0x55d261;return await this[_0x49bdb0(0x1bd)](),await this[_0x49bdb0(0x193)](_0x1efa91,..._0x100550),this[_0x49bdb0(0x1b9)](_0x1efa91);}async[a4_0x55d261(0x1b9)](_0x5c569c){const _0x2f7094=a4_0x55d261;return await this['getListevent'](),this['listevent'][_0x5c569c]&&delete this[_0x2f7094(0x1a2)][_0x5c569c],!!this[_0x2f7094(0x1a2)][_0x5c569c];}};exports[a4_0x55d261(0x1b1)]=EventService,__decorate([(0x0,core_1[a4_0x55d261(0x1c1)])(),__metadata('design:type',Object)],EventService[a4_0x55d261(0x1bc)],a4_0x55d261(0x1a9),void 0x0),exports[a4_0x55d261(0x1b1)]=EventService=__decorate([(0x0,core_1[a4_0x55d261(0x1a0)])(a4_0x55d261(0x1c3)),(0x0,core_1[a4_0x55d261(0x19e)])(core_1[a4_0x55d261(0x196)]['Singleton'])],EventService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "3.7.9",
3
+ "version": "3.7.10",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -22,5 +22,5 @@
22
22
  "javascript-obfuscator": "^4.0.2",
23
23
  "typescript": "^5.5.4"
24
24
  },
25
- "gitHead": "fcd2598c69931b57b3b0e7a944db30b529988689"
25
+ "gitHead": "b8dae3f92737b85f4f053f694d4ed019c30e3bdc"
26
26
  }