From a2896c2f2dcde58cbd81db5206544b9251f57f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sat, 1 Jun 2024 12:10:50 +0800 Subject: [PATCH] refactor: re groupList --- src/common/utils/EventTask.ts | 2 +- src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.d.ts | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- src/core.lib/src/listeners/NodeIKernelBuddyListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelGroupListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelLoginListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelMsgListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelProfileListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelRobotListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelSessionListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 42 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/common/utils/EventTask.ts b/src/common/utils/EventTask.ts index 917b9dfd..8734ddba 100644 --- a/src/common/utils/EventTask.ts +++ b/src/common/utils/EventTask.ts @@ -109,7 +109,7 @@ export class NTEventWrapper { }); } async CallNormalEvent Promise, ListenerType extends (...args: any[]) => void>(EventName = '', ListenerName = '', waitTimes = 1, timeout: number = 3000, ...args: Parameters) { - return new Promise>, ...Parameters]>>(async (resolve, reject) => { + return new Promise<[EventRet: Awaited>, ...Parameters]>(async (resolve, reject) => { const id = randomUUID(); let complete = 0; let retData: ArrayLike> | undefined = undefined; diff --git a/src/core b/src/core index cc65c9d7..541008ed 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit cc65c9d7f9e24b9f50fcf8e0a028780ed214bc5b +Subproject commit 541008ed02575529a42ff106820911d17c1e5e29 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 234bdd9e..e1af7747 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x62b2bd=_0x2142;(function(_0x4f3a04,_0x2c517e){var _0x2c6e5f=_0x2142,_0x375f31=_0x4f3a04();while(!![]){try{var _0x429122=parseInt(_0x2c6e5f(0xe9))/0x1*(-parseInt(_0x2c6e5f(0xe8))/0x2)+-parseInt(_0x2c6e5f(0xed))/0x3+parseInt(_0x2c6e5f(0xe4))/0x4*(parseInt(_0x2c6e5f(0xe5))/0x5)+-parseInt(_0x2c6e5f(0xea))/0x6*(-parseInt(_0x2c6e5f(0xee))/0x7)+parseInt(_0x2c6e5f(0xec))/0x8*(parseInt(_0x2c6e5f(0xe6))/0x9)+parseInt(_0x2c6e5f(0xeb))/0xa+-parseInt(_0x2c6e5f(0xe2))/0xb*(parseInt(_0x2c6e5f(0xe0))/0xc);if(_0x429122===_0x2c517e)break;else _0x375f31['push'](_0x375f31['shift']());}catch(_0x3362fc){_0x375f31['push'](_0x375f31['shift']());}}}(_0x48f9,0x735d8));function _0x48f9(){var _0x5f5bed=['getGroupCode','714JrMmTx','1277zWPsuD','2493708FdsWsg','4146070Uidukq','96ybBraE','2476083xTyPph','14VsGLNC','12sBuYWJ','onMSFStatusChange','9403405fwqQNr','onMSFSsoError','11640qIyHLc','1025JGPGDG','574686tTALjz'];_0x48f9=function(){return _0x5f5bed;};return _0x48f9();}function _0x2142(_0x436061,_0x139ec3){var _0x48f908=_0x48f9();return _0x2142=function(_0x2142fa,_0x168b3c){_0x2142fa=_0x2142fa-0xe0;var _0xe51323=_0x48f908[_0x2142fa];return _0xe51323;},_0x2142(_0x436061,_0x139ec3);}export class DependsAdapter{[_0x62b2bd(0xe1)](_0x801762,_0x256593){}[_0x62b2bd(0xe3)](_0x5f5741){}[_0x62b2bd(0xe7)](_0x9c3873){}} \ No newline at end of file +var _0x289110=_0x313c;(function(_0x16b609,_0x1c63a2){var _0x23dacb=_0x313c,_0x164f62=_0x16b609();while(!![]){try{var _0x3219ad=parseInt(_0x23dacb(0xfe))/0x1+-parseInt(_0x23dacb(0xf7))/0x2+-parseInt(_0x23dacb(0xf9))/0x3+-parseInt(_0x23dacb(0xff))/0x4+parseInt(_0x23dacb(0xfc))/0x5+parseInt(_0x23dacb(0x100))/0x6*(-parseInt(_0x23dacb(0xfa))/0x7)+parseInt(_0x23dacb(0xfd))/0x8;if(_0x3219ad===_0x1c63a2)break;else _0x164f62['push'](_0x164f62['shift']());}catch(_0x140765){_0x164f62['push'](_0x164f62['shift']());}}}(_0x4343,0x3172e));function _0x313c(_0x56030e,_0x72363a){var _0x43435c=_0x4343();return _0x313c=function(_0x313cc4,_0x1cd686){_0x313cc4=_0x313cc4-0xf7;var _0x12ec22=_0x43435c[_0x313cc4];return _0x12ec22;},_0x313c(_0x56030e,_0x72363a);}export class DependsAdapter{[_0x289110(0xfb)](_0x798819,_0x4907b7){}[_0x289110(0xf8)](_0x5cea02){}['getGroupCode'](_0xef95b4){}}function _0x4343(){var _0x3f1339=['80760TcOxmY','2326290ZxbzAV','615826PxZviH','onMSFSsoError','557112wwXgme','7EGqMZU','onMSFStatusChange','1340310cEmQSM','4310808EjduMS','297151DlPCFH'];_0x4343=function(){return _0x3f1339;};return _0x4343();} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index dd8db6da..d1a0d60f 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x206d(){var _0x23bdd8=['102FpJevs','9305hSOhux','135702FjFbbu','2712lpJUKq','2053513IsxWsG','27853dvEtyJ','dispatchCallWithJson','2xoEvZP','dispatchCall','2668oZGUSE','728415eZTZFd','dispatchRequest','10424080mGakDA','5859VCgSlS'];_0x206d=function(){return _0x23bdd8;};return _0x206d();}function _0x5cb0(_0x3c63e6,_0xab1a38){var _0x206d2e=_0x206d();return _0x5cb0=function(_0x5cb0c6,_0x289cea){_0x5cb0c6=_0x5cb0c6-0x196;var _0x26ae25=_0x206d2e[_0x5cb0c6];return _0x26ae25;},_0x5cb0(_0x3c63e6,_0xab1a38);}var _0x4826c7=_0x5cb0;(function(_0x3bb31e,_0x1869b6){var _0x1bd7f2=_0x5cb0,_0x193856=_0x3bb31e();while(!![]){try{var _0x2d6d4c=parseInt(_0x1bd7f2(0x197))/0x1+-parseInt(_0x1bd7f2(0x199))/0x2*(-parseInt(_0x1bd7f2(0x19c))/0x3)+-parseInt(_0x1bd7f2(0x19b))/0x4*(-parseInt(_0x1bd7f2(0x1a1))/0x5)+parseInt(_0x1bd7f2(0x1a0))/0x6*(parseInt(_0x1bd7f2(0x1a2))/0x7)+parseInt(_0x1bd7f2(0x1a3))/0x8*(parseInt(_0x1bd7f2(0x19f))/0x9)+-parseInt(_0x1bd7f2(0x19e))/0xa+-parseInt(_0x1bd7f2(0x196))/0xb;if(_0x2d6d4c===_0x1869b6)break;else _0x193856['push'](_0x193856['shift']());}catch(_0x2632f3){_0x193856['push'](_0x193856['shift']());}}}(_0x206d,0xcb651));export class DispatcherAdapter{[_0x4826c7(0x19d)](_0x26ddd4){}[_0x4826c7(0x19a)](_0x287d40){}[_0x4826c7(0x198)](_0x246805){}} \ No newline at end of file +var _0x47f11d=_0x5b72;(function(_0x76549c,_0x4a4f29){var _0x344f31=_0x5b72,_0x545ffb=_0x76549c();while(!![]){try{var _0x50155d=parseInt(_0x344f31(0x73))/0x1+-parseInt(_0x344f31(0x6f))/0x2+parseInt(_0x344f31(0x70))/0x3*(parseInt(_0x344f31(0x72))/0x4)+-parseInt(_0x344f31(0x74))/0x5+parseInt(_0x344f31(0x71))/0x6*(parseInt(_0x344f31(0x75))/0x7)+parseInt(_0x344f31(0x77))/0x8+-parseInt(_0x344f31(0x78))/0x9;if(_0x50155d===_0x4a4f29)break;else _0x545ffb['push'](_0x545ffb['shift']());}catch(_0x3b1386){_0x545ffb['push'](_0x545ffb['shift']());}}}(_0x3d5e,0xc75bb));function _0x3d5e(){var _0xedd58=['44kLKfzy','1461009fOOrNq','8124850oyKtdu','1598513uzINkO','dispatchCallWithJson','10581880tXtgLh','138591zouwnm','dispatchRequest','1586888SXLclZ','2706KmqCjY','12VGvsVC'];_0x3d5e=function(){return _0xedd58;};return _0x3d5e();}function _0x5b72(_0x1b2f23,_0x18aa01){var _0x3d5e6e=_0x3d5e();return _0x5b72=function(_0x5b725c,_0x3df75b){_0x5b725c=_0x5b725c-0x6e;var _0x4f8f9b=_0x3d5e6e[_0x5b725c];return _0x4f8f9b;},_0x5b72(_0x1b2f23,_0x18aa01);}export class DispatcherAdapter{[_0x47f11d(0x6e)](_0x203434){}['dispatchCall'](_0x3ccab5){}[_0x47f11d(0x76)](_0x248106){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index 8d5ad9b1..a0f95c43 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x1d8b72=_0x3b92;(function(_0x2a47de,_0x1fb71a){var _0x587d35=_0x3b92,_0x4941af=_0x2a47de();while(!![]){try{var _0x178f8a=parseInt(_0x587d35(0xc3))/0x1*(parseInt(_0x587d35(0xc5))/0x2)+parseInt(_0x587d35(0xbd))/0x3*(-parseInt(_0x587d35(0xbe))/0x4)+parseInt(_0x587d35(0xc2))/0x5+-parseInt(_0x587d35(0xc1))/0x6+-parseInt(_0x587d35(0xc4))/0x7+-parseInt(_0x587d35(0xc7))/0x8*(parseInt(_0x587d35(0xc0))/0x9)+parseInt(_0x587d35(0xbb))/0xa;if(_0x178f8a===_0x1fb71a)break;else _0x4941af['push'](_0x4941af['shift']());}catch(_0x3dcb46){_0x4941af['push'](_0x4941af['shift']());}}}(_0x323e,0x9c432));function _0x3b92(_0x3e3bb2,_0x23d9d5){var _0x323e93=_0x323e();return _0x3b92=function(_0x3b9281,_0x4fd5a3){_0x3b9281=_0x3b9281-0xbb;var _0x317e58=_0x323e93[_0x3b9281];return _0x317e58;},_0x3b92(_0x3e3bb2,_0x23d9d5);}export class GlobalAdapter{[_0x1d8b72(0xbc)](..._0x120cc0){}[_0x1d8b72(0xc6)](..._0x1ae244){}['onShowErrUITips'](..._0x3f2454){}[_0x1d8b72(0xbf)](..._0x438268){}['getAppSetting'](..._0x389f30){}['onInstallFinished'](..._0x457b7b){}['onUpdateGeneralFlag'](..._0x4151a6){}['onGetOfflineMsg'](..._0x4a58fa){}}function _0x323e(){var _0x2aeed0=['2HOauen','onGetSrvCalTime','322264FVIddR','15552630kOVFXG','onLog','1080210nNGYGC','4vaYcHA','fixPicImgType','27nNkINB','5544360CDCfox','1278500qXohgg','787907OplQhF','3876887WIQDpz'];_0x323e=function(){return _0x2aeed0;};return _0x323e();} \ No newline at end of file +var _0x5bf63a=_0x505a;function _0x505a(_0x25974a,_0x51e508){var _0x767249=_0x7672();return _0x505a=function(_0x505ab1,_0x53f3b4){_0x505ab1=_0x505ab1-0x16b;var _0x8eb964=_0x767249[_0x505ab1];return _0x8eb964;},_0x505a(_0x25974a,_0x51e508);}function _0x7672(){var _0x582db0=['34068DoGmRM','6TmncpP','27207qzMLmF','getAppSetting','onLog','260AKEDTL','onGetOfflineMsg','2065ycSrhx','10SuTYgR','fixPicImgType','24841TeoaUO','5126YDCcSH','2050048MdaBcZ','onShowErrUITips','onInstallFinished','2421762PSNjRe','onGetSrvCalTime','512547lwmEFZ','onUpdateGeneralFlag','8icOOwR'];_0x7672=function(){return _0x582db0;};return _0x7672();}(function(_0x576853,_0x4db877){var _0x5e3f29=_0x505a,_0x1a34fb=_0x576853();while(!![]){try{var _0x523e6b=-parseInt(_0x5e3f29(0x171))/0x1*(parseInt(_0x5e3f29(0x16f))/0x2)+-parseInt(_0x5e3f29(0x178))/0x3*(parseInt(_0x5e3f29(0x17a))/0x4)+parseInt(_0x5e3f29(0x16e))/0x5*(-parseInt(_0x5e3f29(0x17c))/0x6)+-parseInt(_0x5e3f29(0x176))/0x7+-parseInt(_0x5e3f29(0x173))/0x8+parseInt(_0x5e3f29(0x17d))/0x9*(-parseInt(_0x5e3f29(0x16c))/0xa)+-parseInt(_0x5e3f29(0x172))/0xb*(-parseInt(_0x5e3f29(0x17b))/0xc);if(_0x523e6b===_0x4db877)break;else _0x1a34fb['push'](_0x1a34fb['shift']());}catch(_0x482fbf){_0x1a34fb['push'](_0x1a34fb['shift']());}}}(_0x7672,0x2aede));export class GlobalAdapter{[_0x5bf63a(0x16b)](..._0x2b6b02){}[_0x5bf63a(0x177)](..._0x21bcbc){}[_0x5bf63a(0x174)](..._0x4f10dc){}[_0x5bf63a(0x170)](..._0xb2427b){}[_0x5bf63a(0x17e)](..._0x290d3f){}[_0x5bf63a(0x175)](..._0x28ad1){}[_0x5bf63a(0x179)](..._0x40c8db){}[_0x5bf63a(0x16d)](..._0x2d0c2a){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index 67c8b69b..c2ba884e 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x5bbc47,_0x19c40a){var _0x3a3fab=_0x19e0,_0x27b1d5=_0x5bbc47();while(!![]){try{var _0x547184=-parseInt(_0x3a3fab(0x1e0))/0x1*(-parseInt(_0x3a3fab(0x1dc))/0x2)+-parseInt(_0x3a3fab(0x1d8))/0x3+-parseInt(_0x3a3fab(0x1d9))/0x4*(parseInt(_0x3a3fab(0x1df))/0x5)+-parseInt(_0x3a3fab(0x1de))/0x6*(-parseInt(_0x3a3fab(0x1dd))/0x7)+parseInt(_0x3a3fab(0x1db))/0x8+parseInt(_0x3a3fab(0x1da))/0x9+-parseInt(_0x3a3fab(0x1e2))/0xa*(parseInt(_0x3a3fab(0x1e1))/0xb);if(_0x547184===_0x19c40a)break;else _0x27b1d5['push'](_0x27b1d5['shift']());}catch(_0x237cf7){_0x27b1d5['push'](_0x27b1d5['shift']());}}}(_0x617e,0xe57cb));export*from'./NodeIDependsAdapter';function _0x617e(){var _0x201b36=['49WUsVum','111450uRXLkT','5568175OPnmDp','20SAlCHu','220ToNVYY','323890SxlWSG','1828884YNnYHU','4xoUeSF','11169567xneDuL','11499152cwXkHv','50254QWFpiV'];_0x617e=function(){return _0x201b36;};return _0x617e();}function _0x19e0(_0x4606ac,_0x1241e3){var _0x617e13=_0x617e();return _0x19e0=function(_0x19e006,_0x56659c){_0x19e006=_0x19e006-0x1d8;var _0x637dc1=_0x617e13[_0x19e006];return _0x637dc1;},_0x19e0(_0x4606ac,_0x1241e3);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x5a85c8,_0xc66f94){var _0x3762ff=_0xa841,_0x30cd4d=_0x5a85c8();while(!![]){try{var _0x4cd67d=-parseInt(_0x3762ff(0x9f))/0x1*(parseInt(_0x3762ff(0x9e))/0x2)+parseInt(_0x3762ff(0x99))/0x3+-parseInt(_0x3762ff(0x9b))/0x4*(parseInt(_0x3762ff(0x9d))/0x5)+parseInt(_0x3762ff(0x9c))/0x6*(-parseInt(_0x3762ff(0xa0))/0x7)+parseInt(_0x3762ff(0x98))/0x8+parseInt(_0x3762ff(0x9a))/0x9+-parseInt(_0x3762ff(0xa1))/0xa;if(_0x4cd67d===_0xc66f94)break;else _0x30cd4d['push'](_0x30cd4d['shift']());}catch(_0x57b860){_0x30cd4d['push'](_0x30cd4d['shift']());}}}(_0x1148,0x24a60));function _0xa841(_0x1a1cde,_0x54d6e5){var _0x1148eb=_0x1148();return _0xa841=function(_0xa84189,_0x5abb1e){_0xa84189=_0xa84189-0x98;var _0x5cbc8f=_0x1148eb[_0xa84189];return _0x5cbc8f;},_0xa841(_0x1a1cde,_0x54d6e5);}function _0x1148(){var _0x4bd6bc=['210OjHDSj','9198lxeHAY','13PhSWUB','77vQbKzn','1082090dQNQAz','1680848WCtSwf','145023PWPKmG','1849968jnwWQH','2468MbOyNO','65442LWGHpy'];_0x1148=function(){return _0x4bd6bc;};return _0x1148();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 80f46efe..ba0c5130 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x382dbd=_0x1eae;(function(_0x223dcd,_0x24dcc8){const _0x6084b=_0x1eae,_0x2c54b9=_0x223dcd();while(!![]){try{const _0x52e920=-parseInt(_0x6084b(0xde))/0x1+-parseInt(_0x6084b(0x110))/0x2*(parseInt(_0x6084b(0x11e))/0x3)+parseInt(_0x6084b(0xdc))/0x4+-parseInt(_0x6084b(0xed))/0x5*(-parseInt(_0x6084b(0xe6))/0x6)+parseInt(_0x6084b(0xf1))/0x7*(parseInt(_0x6084b(0xfc))/0x8)+-parseInt(_0x6084b(0xe2))/0x9+parseInt(_0x6084b(0xea))/0xa*(parseInt(_0x6084b(0xdf))/0xb);if(_0x52e920===_0x24dcc8)break;else _0x2c54b9['push'](_0x2c54b9['shift']());}catch(_0x26ec9b){_0x2c54b9['push'](_0x2c54b9['shift']());}}}(_0x2d6c,0x4aa99));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';function _0x2d6c(){const _0x3676f9=['clearChatCacheInfo','getImageUrl','indexOf','图片url获取失败','66018aipjEB','ext','util','qCPpj','horwe','originImageUrl','fileTypeFromFile','addCacheScanedPaths','WcJCW','copyFile','PIC','getDesktopTmpPath','getFileType','md5HexStr','54xJTkyi','private_rkey','eaUJh','uploadFile','1736004NSHMfF','/gchatpic_new/0/0-0-','547429ezWqej','11308xuBmEP','addCacheScannedPaths','getFileSize','4968657hPZAGI','tmp','zwMfb','getStorageCleanService','19698hYCYtM','mPQIg','filePath','clearCache','8540AQlrrg','basename','DXMvw','845tQuoBg','&rkey=','clearChatCache','setCacheSilentScan','301VKLzUU','getRkey','join','defaultFileDownloadPath','getImageSize','set','RQAjn','QWkAG','downloadRichMedia','fileUuid','getChatCacheList','24696lqRltO','includes','toUpperCase','addListener','session','delete','startsWith','getHotUpdateCachePath','getRichMediaFilePathForGuild','lwUeD','getCacheSessionPathList','/download','scanCache','OIIIR','QkJag','hotUpdate'];_0x2d6c=function(){return _0x3676f9;};return _0x2d6c();}import _0x5d28e4 from'path';import _0x3c762f from'fs';import _0x1950a5 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4e0ff from'file-type';import{MsgListener}from'@/core/listeners';import _0x10df56 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x1eae(_0x36f998,_0x56cd42){const _0x2d6c34=_0x2d6c();return _0x1eae=function(_0x1eae9f,_0x46028b){_0x1eae9f=_0x1eae9f-0xda;let _0x125cbf=_0x2d6c34[_0x1eae9f];return _0x125cbf;},_0x1eae(_0x36f998,_0x56cd42);}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x350c21=>{const _0x3147bc=_0x1eae,_0x17c6c7={'HXoUd':function(_0x55116,_0x2b8b69){return _0x55116(_0x2b8b69);}};for(const [_0x2e65ef,_0x52b334]of downloadMediaTasks){_0x17c6c7['HXoUd'](_0x52b334,_0x350c21),downloadMediaTasks[_0x3147bc(0x101)](_0x2e65ef);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x409477=_0x1eae;napCatCore[_0x409477(0xff)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x382dbd(0x11c)](_0x1527e8){const _0x56a713=_0x382dbd;return _0x4e0ff[_0x56a713(0x116)](_0x1527e8);}static async[_0x382dbd(0x119)](_0x425be2,_0xf75185){const _0x3566bb=_0x382dbd;await napCatCore[_0x3566bb(0x112)][_0x3566bb(0x119)](_0x425be2,_0xf75185);}static async[_0x382dbd(0xe1)](_0x38c7fc){const _0x4d7bba=_0x382dbd;return await napCatCore['util'][_0x4d7bba(0xe1)](_0x38c7fc);}static async[_0x382dbd(0xdb)](_0x535a35,_0x1e7318=ElementType[_0x382dbd(0x11a)],_0x4486b5=0x0){const _0x337548=_0x382dbd,_0x381fed={'jpxUt':function(_0x524810,_0x34a60b){return _0x524810(_0x34a60b);},'iarze':function(_0x2d45b1,_0x1dbc76){return _0x2d45b1+_0x1dbc76;}},_0x3abf2a=await _0x381fed['jpxUt'](calculateFileMD5,_0x535a35);let _0x227004=(await NTQQFileApi['getFileType'](_0x535a35))?.[_0x337548(0x111)]||'';_0x227004&&(_0x227004=_0x381fed['iarze']('.',_0x227004));let _0x5d8819=''+_0x5d28e4[_0x337548(0xeb)](_0x535a35);_0x5d8819[_0x337548(0x10e)]('.')===-0x1&&(_0x5d8819+=_0x227004);const _0x268926=napCatCore['session']['getMsgService']()[_0x337548(0x104)]({'md5HexStr':_0x3abf2a,'fileName':_0x5d8819,'elementType':_0x1e7318,'elementSubType':_0x4486b5,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x535a35,_0x268926);const _0x11c30f=await NTQQFileApi[_0x337548(0xe1)](_0x535a35);return{'md5':_0x3abf2a,'fileName':_0x5d8819,'path':_0x268926,'fileSize':_0x11c30f,'ext':_0x227004};}static async['downloadMedia'](_0x12c6b4,_0x34422c,_0x224058,_0x41ae43,_0x4728c1,_0x2ffdea,_0x16cccf=0x3e8*0x3c*0x2,_0x2bb33c=![]){const _0x465da1={'NtRYT':function(_0x3e03e8,_0x1ba109){return _0x3e03e8===_0x1ba109;},'horwe':function(_0x481fdd,_0x57bf17){return _0x481fdd(_0x57bf17);},'lwUeD':function(_0x2170d0,_0x378e32){return _0x2170d0(_0x378e32);},'mPQIg':'下载超时','DXMvw':function(_0x107431){return _0x107431();},'WcJCW':function(_0x43767e,_0x4acf83,_0x26a1aa){return _0x43767e(_0x4acf83,_0x26a1aa);}};if(_0x2ffdea&&_0x3c762f['existsSync'](_0x2ffdea)){if(_0x2bb33c)try{await _0x1950a5['unlink'](_0x2ffdea);}catch(_0x42f4cb){}else return _0x2ffdea;}return new Promise((_0x4b0f60,_0x278100)=>{const _0x20572e=_0x1eae;let _0x4600fd=![];const _0x426088=_0x1b1885=>{const _0x1e65e2=_0x1eae;if(_0x465da1['NtRYT'](_0x1b1885['msgId'],_0x12c6b4)){_0x4600fd=!![];let _0x35a2ad=_0x1b1885[_0x1e65e2(0xe8)];if(_0x35a2ad[_0x1e65e2(0x102)]('\x5c')){const _0x38a06a=sessionConfig[_0x1e65e2(0xf4)];_0x35a2ad=_0x5d28e4[_0x1e65e2(0xf3)](_0x38a06a,_0x35a2ad);}_0x465da1[_0x1e65e2(0x114)](_0x4b0f60,_0x35a2ad);}};downloadMediaTasks[_0x20572e(0xf6)](_0x465da1[_0x20572e(0xec)](randomUUID),_0x426088),_0x465da1[_0x20572e(0x118)](setTimeout,()=>{const _0x245104=_0x20572e;!_0x4600fd&&_0x465da1[_0x245104(0x105)](_0x278100,_0x465da1[_0x245104(0xe7)]);},_0x16cccf),napCatCore['session']['getMsgService']()[_0x20572e(0xf9)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x12c6b4,'chatType':_0x34422c,'peerUid':_0x224058,'elementId':_0x41ae43,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4728c1});});}static async[_0x382dbd(0xf5)](_0x576dab){const _0x5dee74={'OIIIR':function(_0x1810c8,_0x1401e0){return _0x1810c8(_0x1401e0);},'RQAjn':function(_0x104da7,_0x284736,_0x381476){return _0x104da7(_0x284736,_0x381476);}};return new Promise((_0x17a5a7,_0x5ec162)=>{const _0x4253f5=_0x1eae;_0x5dee74[_0x4253f5(0xf7)](_0x10df56,_0x576dab,(_0x39bc74,_0x5bdc28)=>{const _0x52a096=_0x4253f5;_0x39bc74?_0x5dee74[_0x52a096(0x109)](_0x5ec162,_0x39bc74):_0x5dee74[_0x52a096(0x109)](_0x17a5a7,_0x5bdc28);});});}static async[_0x382dbd(0x10d)](_0x2074ba,_0x11ec40){const _0x554ba6=_0x382dbd,_0x466391={'QWkAG':_0x554ba6(0x107),'qCPpj':_0x554ba6(0xee),'zwMfb':function(_0xeb5fc0,_0x3aef44){return _0xeb5fc0+_0x3aef44;},'eaUJh':function(_0x41bbeb,_0x4ddf9e){return _0x41bbeb+_0x4ddf9e;},'hFoOV':function(_0x303111,_0xda928){return _0x303111||_0xda928;},'QkJag':function(_0x358ffa,_0x443b78,_0x966a){return _0x358ffa(_0x443b78,_0x966a);}};if(!_0x2074ba)return'';const _0x39faff=_0x2074ba[_0x554ba6(0x115)],_0x117db9=_0x2074ba[_0x554ba6(0x11d)],_0x2d277b=_0x2074ba[_0x554ba6(0x11d)],_0x37c4f6=_0x2074ba[_0x554ba6(0xfa)];if(_0x39faff){if(_0x39faff[_0x554ba6(0x102)](_0x466391[_0x554ba6(0xf8)])){if(_0x39faff[_0x554ba6(0xfd)](_0x466391[_0x554ba6(0x113)]))return _0x466391[_0x554ba6(0xe4)](IMAGE_HTTP_HOST_NT,_0x39faff);const _0x4fd705=await rkeyManager[_0x554ba6(0xf2)](),_0x2c1320=_0x11ec40?_0x4fd705[_0x554ba6(0x11f)]:_0x4fd705['group_rkey'];return IMAGE_HTTP_HOST_NT+_0x39faff+(''+_0x2c1320);}else return _0x466391[_0x554ba6(0xda)](IMAGE_HTTP_HOST,_0x39faff);}else{if(_0x2d277b||_0x117db9)return IMAGE_HTTP_HOST+_0x554ba6(0xdd)+_0x466391['hFoOV'](_0x2d277b,_0x117db9)[_0x554ba6(0xfe)]()+'/0';}return _0x466391[_0x554ba6(0x10a)](logDebug,_0x554ba6(0x10f),_0x2074ba),'';}}export class NTQQFileCacheApi{static async[_0x382dbd(0xf0)](_0x557a6c=!![]){return'';}static[_0x382dbd(0x106)](){return'';}static[_0x382dbd(0xe9)](_0x16de93=[_0x382dbd(0xe3),_0x382dbd(0x10b)]){const _0x2fe4ea=_0x382dbd;return napCatCore[_0x2fe4ea(0x100)][_0x2fe4ea(0xe5)]()['clearCacheDataByKeys'](_0x16de93);}static[_0x382dbd(0xe0)](_0x21f8ab={}){const _0x4d128d=_0x382dbd;return napCatCore[_0x4d128d(0x100)]['getStorageCleanService']()[_0x4d128d(0x117)](_0x21f8ab);}static[_0x382dbd(0x108)](){const _0x49dfc3=_0x382dbd;return napCatCore[_0x49dfc3(0x100)][_0x49dfc3(0xe5)]()[_0x49dfc3(0x108)]();}static[_0x382dbd(0x103)](){return'';}static[_0x382dbd(0x11b)](){return'';}static[_0x382dbd(0xfb)](_0x435831,_0x1b5fa9=0x3e8,_0x373f39=0x0){const _0x517c87=_0x382dbd;return napCatCore[_0x517c87(0x100)][_0x517c87(0xe5)]()['getChatCacheInfo'](_0x435831,_0x1b5fa9,0x1,_0x373f39);}static['getFileCacheInfo'](_0x26e5e4,_0x4ff271=0x3e8,_0x48436b){const _0xecac10=_0x48436b?_0x48436b:{'fileType':_0x26e5e4};}static async[_0x382dbd(0xef)](_0x746b74=[],_0xe05fb0=[]){const _0x361633=_0x382dbd;return napCatCore[_0x361633(0x100)][_0x361633(0xe5)]()[_0x361633(0x10c)](_0x746b74,_0xe05fb0);}} \ No newline at end of file +function _0xf342(_0x1ba534,_0x5321e0){const _0xe321e7=_0xe321();return _0xf342=function(_0xf3428a,_0x4f953d){_0xf3428a=_0xf3428a-0x167;let _0x3ba2b1=_0xe321e7[_0xf3428a];return _0x3ba2b1;},_0xf342(_0x1ba534,_0x5321e0);}const _0x40d7a0=_0xf342;(function(_0x26c3cc,_0x2af59b){const _0x1659af=_0xf342,_0x102626=_0x26c3cc();while(!![]){try{const _0x38fbdd=-parseInt(_0x1659af(0x192))/0x1*(-parseInt(_0x1659af(0x17f))/0x2)+parseInt(_0x1659af(0x187))/0x3*(parseInt(_0x1659af(0x191))/0x4)+-parseInt(_0x1659af(0x18a))/0x5+-parseInt(_0x1659af(0x16f))/0x6*(-parseInt(_0x1659af(0x199))/0x7)+parseInt(_0x1659af(0x169))/0x8+parseInt(_0x1659af(0x1a4))/0x9*(-parseInt(_0x1659af(0x174))/0xa)+parseInt(_0x1659af(0x18e))/0xb*(-parseInt(_0x1659af(0x193))/0xc);if(_0x38fbdd===_0x2af59b)break;else _0x102626['push'](_0x102626['shift']());}catch(_0x318b1d){_0x102626['push'](_0x102626['shift']());}}}(_0xe321,0xf23ca));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4a3dd3 from'path';import _0x38b095 from'fs';import _0x309a96 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4bf983 from'file-type';import{MsgListener}from'@/core/listeners';import _0x3cbc54 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x40d7a0(0x16b)]=_0x5fc3dc=>{for(const [_0x91ad9e,_0xc4ded6]of downloadMediaTasks){_0xc4ded6(_0x5fc3dc),downloadMediaTasks['delete'](_0x91ad9e);}},setTimeout(()=>{const _0x3e87a2=_0x40d7a0;napCatCore[_0x3e87a2(0x1a9)](()=>{const _0x4de440=_0x3e87a2;napCatCore[_0x4de440(0x1ac)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x255ad2){const _0x24fbbc=_0x40d7a0;return _0x4bf983[_0x24fbbc(0x19a)](_0x255ad2);}static async[_0x40d7a0(0x180)](_0x3f4ad2,_0x6a9289){const _0x278f19=_0x40d7a0;await napCatCore[_0x278f19(0x1a6)][_0x278f19(0x180)](_0x3f4ad2,_0x6a9289);}static async[_0x40d7a0(0x196)](_0x224d90){const _0x372181=_0x40d7a0;return await napCatCore[_0x372181(0x1a6)][_0x372181(0x196)](_0x224d90);}static async[_0x40d7a0(0x185)](_0x2aeda3,_0x4788e0=ElementType[_0x40d7a0(0x17d)],_0x58beeb=0x0){const _0x27cf42=_0x40d7a0,_0x4b6854={'TsciD':function(_0x38e24b,_0x4c51d6){return _0x38e24b(_0x4c51d6);},'IGYJM':function(_0x4e5588,_0x2bcd85){return _0x4e5588+_0x2bcd85;},'eLHct':function(_0x1635cf,_0x4013ac){return _0x1635cf===_0x4013ac;}},_0xc0cda7=await _0x4b6854['TsciD'](calculateFileMD5,_0x2aeda3);let _0x1074de=(await NTQQFileApi[_0x27cf42(0x178)](_0x2aeda3))?.[_0x27cf42(0x17e)]||'';_0x1074de&&(_0x1074de=_0x4b6854[_0x27cf42(0x168)]('.',_0x1074de));let _0x1344fc=''+_0x4a3dd3[_0x27cf42(0x19c)](_0x2aeda3);_0x4b6854[_0x27cf42(0x1ab)](_0x1344fc['indexOf']('.'),-0x1)&&(_0x1344fc+=_0x1074de);const _0x4abd7b=napCatCore[_0x27cf42(0x197)][_0x27cf42(0x18b)]()[_0x27cf42(0x18d)]({'md5HexStr':_0xc0cda7,'fileName':_0x1344fc,'elementType':_0x4788e0,'elementSubType':_0x58beeb,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x27cf42(0x180)](_0x2aeda3,_0x4abd7b);const _0x119e96=await NTQQFileApi['getFileSize'](_0x2aeda3);return{'md5':_0xc0cda7,'fileName':_0x1344fc,'path':_0x4abd7b,'fileSize':_0x119e96,'ext':_0x1074de};}static async[_0x40d7a0(0x188)](_0x575f78,_0x72290b,_0x3d412a,_0x417df4,_0x1e2a48,_0x2802af,_0x5b16fb=0x3e8*0x3c*0x2,_0x5c52d9=![]){const _0x6ca5a7=_0x40d7a0,_0x157e29={'oFOzh':function(_0x15ae1e,_0x67ce59){return _0x15ae1e(_0x67ce59);},'SBryG':function(_0x39d732,_0x11a772){return _0x39d732===_0x11a772;},'Oqnra':function(_0x290508){return _0x290508();},'IOCmb':function(_0x28bd3d,_0x48c1b4,_0x3fb55b){return _0x28bd3d(_0x48c1b4,_0x3fb55b);}};if(_0x2802af&&_0x38b095[_0x6ca5a7(0x16c)](_0x2802af)){if(_0x5c52d9)try{await _0x309a96[_0x6ca5a7(0x17b)](_0x2802af);}catch(_0x5d090a){}else return _0x2802af;}return new Promise((_0x3f0323,_0x28f1a6)=>{const _0x43a66b=_0x6ca5a7,_0x1e311a={'tGtNn':function(_0x353feb,_0x50467a){const _0x97fb42=_0xf342;return _0x157e29[_0x97fb42(0x1a3)](_0x353feb,_0x50467a);},'FIrcn':function(_0x4a1062,_0x38b630){const _0x360d76=_0xf342;return _0x157e29[_0x360d76(0x184)](_0x4a1062,_0x38b630);}};let _0x427dcf=![];const _0x52d055=_0x1ffc77=>{const _0x4fda50=_0xf342;if(_0x1e311a[_0x4fda50(0x190)](_0x1ffc77[_0x4fda50(0x1a2)],_0x575f78)){_0x427dcf=!![];let _0x33dfbb=_0x1ffc77['filePath'];if(_0x33dfbb[_0x4fda50(0x1a0)]('\x5c')){const _0x7e5132=sessionConfig[_0x4fda50(0x1a1)];_0x33dfbb=_0x4a3dd3[_0x4fda50(0x173)](_0x7e5132,_0x33dfbb);}_0x1e311a[_0x4fda50(0x172)](_0x3f0323,_0x33dfbb);}};downloadMediaTasks[_0x43a66b(0x194)](_0x157e29['Oqnra'](randomUUID),_0x52d055),_0x157e29[_0x43a66b(0x19e)](setTimeout,()=>{const _0x17abf2=_0x43a66b;!_0x427dcf&&_0x157e29[_0x17abf2(0x184)](_0x28f1a6,_0x17abf2(0x189));},_0x5b16fb),napCatCore[_0x43a66b(0x197)]['getMsgService']()[_0x43a66b(0x17c)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x575f78,'chatType':_0x72290b,'peerUid':_0x3d412a,'elementId':_0x417df4,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1e2a48});});}static async[_0x40d7a0(0x176)](_0xa26c62){const _0x327c78={'OotVv':function(_0x5b52c3,_0x25b446,_0x10cee2){return _0x5b52c3(_0x25b446,_0x10cee2);}};return new Promise((_0x4f426c,_0x131c7b)=>{const _0x2fad7f=_0xf342,_0x5b9904={'kkzoE':function(_0x280a69,_0x2fb788){return _0x280a69(_0x2fb788);}};_0x327c78[_0x2fad7f(0x1a7)](_0x3cbc54,_0xa26c62,(_0x4e83b5,_0x4e2780)=>{const _0x457302=_0x2fad7f;_0x4e83b5?_0x5b9904[_0x457302(0x171)](_0x131c7b,_0x4e83b5):_0x5b9904[_0x457302(0x171)](_0x4f426c,_0x4e2780);});});}static async[_0x40d7a0(0x18f)](_0x24ce8c,_0x4b2ec7){const _0x52eacf=_0x40d7a0,_0x34d8a1={'hBHgd':_0x52eacf(0x19d),'puUBO':'&rkey=','dZhaw':function(_0x23d44b,_0x3a82d2){return _0x23d44b+_0x3a82d2;},'CuuAx':function(_0x405077,_0x12e424){return _0x405077+_0x12e424;},'wLLnS':function(_0x2c91ae,_0x92b154){return _0x2c91ae||_0x92b154;},'yhuzF':function(_0x7ef983,_0x42e294,_0x12ea0e){return _0x7ef983(_0x42e294,_0x12ea0e);}};if(!_0x24ce8c)return'';const _0x34040d=_0x24ce8c[_0x52eacf(0x18c)],_0x2c1f2b=_0x24ce8c[_0x52eacf(0x17a)],_0x249db3=_0x24ce8c[_0x52eacf(0x17a)],_0x54fc64=_0x24ce8c[_0x52eacf(0x179)];if(_0x34040d){if(_0x34040d[_0x52eacf(0x1a0)](_0x34d8a1[_0x52eacf(0x167)])){if(_0x34040d[_0x52eacf(0x186)](_0x34d8a1[_0x52eacf(0x183)]))return IMAGE_HTTP_HOST_NT+_0x34040d;const _0x1669a1=await rkeyManager[_0x52eacf(0x16a)](),_0xb4daf7=_0x4b2ec7?_0x1669a1['private_rkey']:_0x1669a1[_0x52eacf(0x181)];return _0x34d8a1[_0x52eacf(0x198)](_0x34d8a1['dZhaw'](IMAGE_HTTP_HOST_NT,_0x34040d),''+_0xb4daf7);}else return _0x34d8a1[_0x52eacf(0x1a8)](IMAGE_HTTP_HOST,_0x34040d);}else{if(_0x34d8a1[_0x52eacf(0x16d)](_0x249db3,_0x2c1f2b))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x34d8a1['wLLnS'](_0x249db3,_0x2c1f2b)[_0x52eacf(0x1a5)]()+'/0';}return _0x34d8a1['yhuzF'](logDebug,_0x52eacf(0x177),_0x24ce8c),'';}}function _0xe321(){const _0x52c7e1=['puUBO','oFOzh','uploadFile','includes','18YdOjxM','downloadMedia','下载超时','6968865fbERNz','getMsgService','originImageUrl','getRichMediaFilePathForGuild','33059367xWRbZv','getImageUrl','tGtNn','1265620rgEYfZ','130nOSaHQ','12AxXXUC','set','getStorageCleanService','getFileSize','session','dZhaw','469opxZCk','fileTypeFromFile','clearCache','basename','/download','IOCmb','scanCache','startsWith','defaultFileDownloadPath','msgId','SBryG','9KqxlfH','toUpperCase','util','OotVv','CuuAx','onLoginSuccess','clearChatCache','eLHct','addListener','tmp','hBHgd','IGYJM','14087072cLxZVo','getRkey','onRichMediaDownloadComplete','existsSync','wLLnS','addCacheScannedPaths','86046jJpeSp','clearChatCacheInfo','kkzoE','FIrcn','join','10729690UsVBNg','addCacheScanedPaths','getImageSize','图片url获取失败','getFileType','fileUuid','md5HexStr','unlink','downloadRichMedia','PIC','ext','28372nNpTuv','copyFile','group_rkey','getFileCacheInfo'];_0xe321=function(){return _0x52c7e1;};return _0xe321();}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x143dee=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x40d7a0(0x19b)](_0x55f8da=[_0x40d7a0(0x1ad),'hotUpdate']){const _0x3f74f1=_0x40d7a0;return napCatCore['session'][_0x3f74f1(0x195)]()['clearCacheDataByKeys'](_0x55f8da);}static[_0x40d7a0(0x16e)](_0x4493a8={}){const _0x92d9a1=_0x40d7a0;return napCatCore[_0x92d9a1(0x197)][_0x92d9a1(0x195)]()[_0x92d9a1(0x175)](_0x4493a8);}static[_0x40d7a0(0x19f)](){const _0x568f6a=_0x40d7a0;return napCatCore[_0x568f6a(0x197)][_0x568f6a(0x195)]()[_0x568f6a(0x19f)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static['getChatCacheList'](_0x588049,_0x8d3c25=0x3e8,_0x207943=0x0){const _0x3f238b=_0x40d7a0;return napCatCore[_0x3f238b(0x197)][_0x3f238b(0x195)]()['getChatCacheInfo'](_0x588049,_0x8d3c25,0x1,_0x207943);}static[_0x40d7a0(0x182)](_0x3a0e0b,_0x329d47=0x3e8,_0x5f4aba){const _0x13aa90=_0x5f4aba?_0x5f4aba:{'fileType':_0x3a0e0b};}static async[_0x40d7a0(0x1aa)](_0x12fa03=[],_0xe8ed3d=[]){const _0x34f4cd=_0x40d7a0;return napCatCore[_0x34f4cd(0x197)][_0x34f4cd(0x195)]()[_0x34f4cd(0x170)](_0x12fa03,_0xe8ed3d);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 6bf9022a..cae3bcd7 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x25502f=_0xbe03;(function(_0x66409f,_0x54f3bb){const _0x525bb5=_0xbe03,_0xe1d4d6=_0x66409f();while(!![]){try{const _0x2399bc=-parseInt(_0x525bb5(0x1ae))/0x1+parseInt(_0x525bb5(0x1b8))/0x2*(-parseInt(_0x525bb5(0x1b5))/0x3)+-parseInt(_0x525bb5(0x1c7))/0x4+-parseInt(_0x525bb5(0x1bc))/0x5*(parseInt(_0x525bb5(0x1c0))/0x6)+-parseInt(_0x525bb5(0x1bb))/0x7*(-parseInt(_0x525bb5(0x1c8))/0x8)+-parseInt(_0x525bb5(0x1ba))/0x9*(parseInt(_0x525bb5(0x1b1))/0xa)+parseInt(_0x525bb5(0x1b0))/0xb;if(_0x2399bc===_0x54f3bb)break;else _0xe1d4d6['push'](_0xe1d4d6['shift']());}catch(_0x1669dd){_0xe1d4d6['push'](_0xe1d4d6['shift']());}}}(_0x435c,0xd3f83));import{BuddyListener,napCatCore}from'@/core';function _0x435c(){const _0x37af8c=['266094fLrtgX','then','27710441IQQOod','1220lhejxm','getFriends','reqTime','JVBgB','229893UrxdJD','addListener','friendUid','10pdPfcj','session','53901dSaWpY','2342578Wzsfxb','500GlKVZf','开始获取好友列表','approvalFriendRequest','KVfsl','10452ENBCmk','uid','uin','DHUpV','buddyList','RumPZ','set','4403036QAqBdO','24UmayIR','getBuddyService','push','getBuddyList','VJzvo','delete'];_0x435c=function(){return _0x37af8c;};return _0x435c();}import{logDebug}from'@/common/utils/log';function _0xbe03(_0x1c4a44,_0x37cda5){const _0x435c59=_0x435c();return _0xbe03=function(_0xbe035f,_0x597ebf){_0xbe035f=_0xbe035f-0x1ab;let _0xc810ef=_0x435c59[_0xbe035f];return _0xc810ef;},_0xbe03(_0x1c4a44,_0x37cda5);}import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x3f1c04=>{const _0x3a4ea3=_0xbe03,_0x2ab4a1={'KVfsl':function(_0x1106ac,_0x406661){return _0x1106ac(_0x406661);}};for(const [_0x19c712,_0x559d18]of buddyChangeTasks){_0x2ab4a1[_0x3a4ea3(0x1bf)](_0x559d18,_0x3f1c04),buddyChangeTasks[_0x3a4ea3(0x1ad)](_0x19c712);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x44c323=_0xbe03;napCatCore[_0x44c323(0x1b6)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x25502f(0x1b2)](_0x350b8d=![]){const _0x1c9cb9=_0x25502f,_0x53c32c={'AioMT':_0x1c9cb9(0x1bd),'JVBgB':function(_0x46bfdc,_0x37f7bf,_0x5f6409){return _0x46bfdc(_0x37f7bf,_0x5f6409);},'RhhPN':function(_0x19dd48){return _0x19dd48();}};return new Promise((_0x59f8d6,_0x2165a5)=>{const _0x359743=_0x1c9cb9,_0x16a5c4={'gCrib':function(_0x52f3fd,_0x120a82){return _0x52f3fd(_0x120a82);},'DHUpV':'获取好友列表超时','VJzvo':function(_0x15e19f,_0x5d5b84,_0x30b185){return _0x15e19f(_0x5d5b84,_0x30b185);},'RumPZ':_0x53c32c['AioMT']};let _0x7f159b=![];_0x53c32c[_0x359743(0x1b4)](setTimeout,()=>{const _0x52837a=_0x359743;!_0x7f159b&&(_0x16a5c4['gCrib'](logDebug,_0x16a5c4[_0x52837a(0x1c3)]),_0x2165a5('获取好友列表超时'));},0x1388);const _0x117b30=[],_0x2097f0=_0x195657=>{const _0x53a8ba=_0x359743;for(const _0x411113 of _0x195657){for(const _0x8d420b of _0x411113[_0x53a8ba(0x1c4)]){_0x117b30[_0x53a8ba(0x1ca)](_0x8d420b),uid2UinMap[_0x8d420b[_0x53a8ba(0x1c1)]]=_0x8d420b[_0x53a8ba(0x1c2)];}}_0x7f159b=!![],_0x59f8d6(_0x117b30);};buddyChangeTasks[_0x359743(0x1c6)](_0x53c32c['RhhPN'](randomUUID),_0x2097f0),napCatCore[_0x359743(0x1b9)][_0x359743(0x1c9)]()[_0x359743(0x1ab)](_0x350b8d)[_0x359743(0x1af)](_0x114df6=>{const _0x5e4782=_0x359743;_0x16a5c4[_0x5e4782(0x1ac)](logDebug,_0x16a5c4[_0x5e4782(0x1c5)],_0x114df6);});});}static async['handleFriendRequest'](_0x4920e4,_0x5b9a77){const _0x2c4d5d=_0x25502f;napCatCore[_0x2c4d5d(0x1b9)][_0x2c4d5d(0x1c9)]()?.[_0x2c4d5d(0x1be)]({'friendUid':_0x4920e4[_0x2c4d5d(0x1b7)],'reqTime':_0x4920e4[_0x2c4d5d(0x1b3)],'accept':_0x5b9a77});}} \ No newline at end of file +const _0x17a35a=_0x5ae6;(function(_0x21185b,_0x47fd3a){const _0x17addb=_0x5ae6,_0x3687cc=_0x21185b();while(!![]){try{const _0x5b4614=parseInt(_0x17addb(0xa4))/0x1*(parseInt(_0x17addb(0xb6))/0x2)+-parseInt(_0x17addb(0xa6))/0x3+-parseInt(_0x17addb(0x9e))/0x4*(parseInt(_0x17addb(0xaa))/0x5)+parseInt(_0x17addb(0xa1))/0x6*(parseInt(_0x17addb(0xb7))/0x7)+parseInt(_0x17addb(0xa2))/0x8*(-parseInt(_0x17addb(0x9f))/0x9)+parseInt(_0x17addb(0xa0))/0xa*(-parseInt(_0x17addb(0xa8))/0xb)+parseInt(_0x17addb(0x9b))/0xc*(parseInt(_0x17addb(0xb5))/0xd);if(_0x5b4614===_0x47fd3a)break;else _0x3687cc['push'](_0x3687cc['shift']());}catch(_0x560158){_0x3687cc['push'](_0x3687cc['shift']());}}}(_0x5d6c,0x8758b));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x17a35a(0xae)]=_0x9859c=>{const _0x1c677b=_0x17a35a,_0xc955e4={'iFNSB':function(_0x558cc8,_0x1d750b){return _0x558cc8(_0x1d750b);}};for(const [_0x49f466,_0x200257]of buddyChangeTasks){_0xc955e4[_0x1c677b(0x9c)](_0x200257,_0x9859c),buddyChangeTasks[_0x1c677b(0xa9)](_0x49f466);}},setTimeout(()=>{const _0xbb0e70=_0x17a35a;napCatCore[_0xbb0e70(0xab)](()=>{const _0x5427ec=_0xbb0e70;napCatCore[_0x5427ec(0x94)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x17a35a(0xa5)](_0x21b358=![]){const _0x3aa972={'EpEGX':function(_0x536873,_0x55e8e1){return _0x536873(_0x55e8e1);},'nOiUQ':function(_0x2fbb02,_0x244c3b){return _0x2fbb02(_0x244c3b);},'kwWYE':'获取好友列表超时','RMmUl':function(_0x43267b,_0x4ab9d4,_0x51ba75){return _0x43267b(_0x4ab9d4,_0x51ba75);},'hGYom':function(_0x27e70c,_0x277e7a){return _0x27e70c(_0x277e7a);},'kCsyX':function(_0x16358a){return _0x16358a();}};return new Promise((_0x1b4fcc,_0x5edf7a)=>{const _0x15e5fc=_0x5ae6,_0x429b11={'Oxbca':function(_0x2d2090,_0x5cdc16){const _0xece814=_0x5ae6;return _0x3aa972[_0xece814(0xa7)](_0x2d2090,_0x5cdc16);}};let _0x2e32ad=![];setTimeout(()=>{const _0x5d2eff=_0x5ae6;!_0x2e32ad&&(_0x3aa972[_0x5d2eff(0x95)](logDebug,_0x5d2eff(0x9d)),_0x3aa972[_0x5d2eff(0xb2)](_0x5edf7a,_0x3aa972[_0x5d2eff(0x96)]));},0x1388);const _0x220e0c=[],_0x45e91b=_0x313fbb=>{const _0x25d835=_0x5ae6;for(const _0x339d27 of _0x313fbb){for(const _0x19a54b of _0x339d27['buddyList']){_0x220e0c[_0x25d835(0xb1)](_0x19a54b),uid2UinMap[_0x19a54b['uid']]=_0x19a54b[_0x25d835(0xad)];}}_0x2e32ad=!![],_0x429b11['Oxbca'](_0x1b4fcc,_0x220e0c);};buddyChangeTasks[_0x15e5fc(0xa3)](_0x3aa972['kCsyX'](randomUUID),_0x45e91b),napCatCore['session'][_0x15e5fc(0xb4)]()[_0x15e5fc(0x9a)](_0x21b358)[_0x15e5fc(0xaf)](_0x4c6089=>{const _0x11435a=_0x15e5fc;_0x3aa972[_0x11435a(0x98)](logDebug,_0x11435a(0x99),_0x4c6089);});});}static async[_0x17a35a(0xb0)](_0x503449,_0x22a834){const _0x4936bb=_0x17a35a;napCatCore[_0x4936bb(0x97)][_0x4936bb(0xb4)]()?.[_0x4936bb(0xb3)]({'friendUid':_0x503449['friendUid'],'reqTime':_0x503449[_0x4936bb(0xac)],'accept':_0x22a834});}}function _0x5ae6(_0x2c1d45,_0x549caf){const _0x5d6cd1=_0x5d6c();return _0x5ae6=function(_0x5ae62a,_0x5a3afe){_0x5ae62a=_0x5ae62a-0x94;let _0x232e2d=_0x5d6cd1[_0x5ae62a];return _0x232e2d;},_0x5ae6(_0x2c1d45,_0x549caf);}function _0x5d6c(){const _0x4af6c0=['2922yYpxfn','1880752jSkklv','set','1OyXkTq','getFriends','2233680gmavEP','hGYom','11epUBIq','delete','226005BiVCVA','onLoginSuccess','reqTime','uin','onBuddyListChange','then','handleFriendRequest','push','nOiUQ','approvalFriendRequest','getBuddyService','475579UzaXqG','1126956EfmAOH','2471ugjNre','addListener','EpEGX','kwWYE','session','RMmUl','开始获取好友列表','getBuddyList','708HEjZKb','iFNSB','获取好友列表超时','40wvzsOJ','9WugYmZ','9077430DktAWn'];_0x5d6c=function(){return _0x4af6c0;};return _0x5d6c();} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index 40ba9b17..4a7a54e5 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -1,6 +1,6 @@ import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Group } from '../entities'; export declare class NTQQGroupApi { - static getGroups(forced?: boolean): Promise<[EventRet: any, updateType: number, groupList: Group[]]>; + static getGroups(forced?: boolean): Promise; static CreatGroupFileFolder(groupCode: string, folderName: string): Promise{const _0x4f6f29=_0x4a39,_0x412caa={'cHJzH':function(_0x279a2a,_0x47554a,_0x4d6466,_0x5c7c0e){return _0x279a2a(_0x47554a,_0x4d6466,_0x5c7c0e);}};for(const [_0x22cd40,_0x56c2ed]of SingleScreenNotifiesTasks){_0x412caa[_0x4f6f29(0x209)](_0x56c2ed,_0x28b440,_0x17c1d5,_0x5a7705),SingleScreenNotifiesTasks[_0x4f6f29(0x212)](_0x22cd40);}},groupListener[_0x203cac(0x228)]=(_0x1b24c7,_0x321a4b)=>{const _0x5996fd=_0x203cac,_0x33c258={'TpOXV':function(_0x4dffd4,_0x780b83,_0x597113){return _0x4dffd4(_0x780b83,_0x597113);}};for(const [_0x4d30dd,_0x1d6b4a]of groupMemberTasks){_0x33c258['TpOXV'](_0x1d6b4a,_0x1b24c7,_0x321a4b),groupMemberTasks[_0x5996fd(0x212)](_0x4d30dd);}},setTimeout(()=>{const _0x155681=_0x203cac;napCatCore[_0x155681(0x1f9)](()=>{const _0x5eb220=_0x155681;napCatCore[_0x5eb220(0x208)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x203cac(0x215)](_0x1f78e2=![]){const _0x57e114=_0x203cac,_0xf78cd7={'mnhxl':_0x57e114(0x21e),'nKgFM':_0x57e114(0x221)};let _0x3ba832=await NTEventDispatch[_0x57e114(0x225)](_0xf78cd7[_0x57e114(0x1fa)],_0xf78cd7['nKgFM'],0x1,0x3a98,!![]);return _0x3ba832[0x2];}static async[_0x203cac(0x202)](_0x500ac2,_0x196eee){const _0x47bbad=_0x203cac;return napCatCore[_0x47bbad(0x217)]['getRichMediaService']()['createGroupFolder'](_0x500ac2,_0x196eee);}static async[_0x203cac(0x22f)](_0x2f13d4,_0x10901f){const _0x1fc8e3=_0x203cac;return napCatCore['session'][_0x1fc8e3(0x20b)]()[_0x1fc8e3(0x21d)](_0x2f13d4,[0x66],_0x10901f);}static async['DelGroupFileFolder'](_0x1a97a8,_0x29f73b){const _0xb36b41=_0x203cac;return napCatCore[_0xb36b41(0x217)]['getRichMediaService']()[_0xb36b41(0x229)](_0x1a97a8,_0x29f73b);}static async['getSingleScreenNotifies'](_0x356d95){const _0x415809=_0x203cac,_0x318552={'FyCnI':function(_0x5dfd3f,_0x435903){return _0x5dfd3f(_0x435903);},'jFbxp':_0x415809(0x20d),'NMfXS':function(_0x50cd9e,_0x59e4f6,_0xfe5afe){return _0x50cd9e(_0x59e4f6,_0xfe5afe);},'Zskbh':function(_0x2fcc3f){return _0x2fcc3f();}},_0x385589=napCatCore[_0x415809(0x217)][_0x415809(0x20f)]();return new Promise((_0x3c2d76,_0x43eb67)=>{const _0xd656b6=_0x415809;let _0x72d680=![];_0x318552[_0xd656b6(0x211)](setTimeout,()=>{const _0x36019b=_0xd656b6;!_0x72d680&&_0x318552['FyCnI'](_0x43eb67,_0x318552[_0x36019b(0x223)]);},0x1388);const _0x4cb400=(_0x5bca19,_0x4f7010,_0x34669e)=>{_0x72d680=!![],_0x3c2d76(_0x34669e);};SingleScreenNotifiesTasks['set'](_0x318552[_0xd656b6(0x203)](randomUUID),_0x4cb400),_0x385589[_0xd656b6(0x206)](![],'',_0x356d95);});}static async['getGroupMembers'](_0x63a3b5,_0x366edf=0xbb8){const _0x145b11=_0x203cac,_0x26247e={'qkvBB':'groupMemberList_MainWindow','dOYzb':function(_0x2bc14a,_0x4a7c31){return _0x2bc14a!==_0x4a7c31;},'wVChn':function(_0x392842,_0xad750){return _0x392842+_0xad750;}},_0x544c28=napCatCore[_0x145b11(0x217)][_0x145b11(0x20f)](),_0x5a64a5=_0x544c28[_0x145b11(0x1ef)](_0x63a3b5,_0x26247e['qkvBB']),_0x3ed4d5=await _0x544c28['getNextMemberList'](_0x5a64a5,undefined,_0x366edf);if(_0x26247e[_0x145b11(0x204)](_0x3ed4d5['errCode'],0x0))throw _0x26247e[_0x145b11(0x21a)](_0x145b11(0x201),_0x3ed4d5['errMsg']);return _0x3ed4d5[_0x145b11(0x22e)][_0x145b11(0x207)]['forEach'](_0x22f719=>{const _0xd12556=_0x145b11;uid2UinMap[_0x22f719[_0xd12556(0x1fe)]]=_0x22f719[_0xd12556(0x220)];}),_0x3ed4d5[_0x145b11(0x22e)][_0x145b11(0x207)];}static async[_0x203cac(0x205)](){}static async[_0x203cac(0x1f7)](_0x762a58){const _0x40b763=_0x203cac;return napCatCore[_0x40b763(0x217)][_0x40b763(0x20b)]()[_0x40b763(0x1f6)](_0x762a58);}static async['getGroupIgnoreNotifies'](){}static async['uploadGroupBulletinPic'](_0x3341cd,_0x59693d){const _0x41722a=_0x203cac,_0x5addc8={'iDyNK':_0x41722a(0x219)},_0x584d88=(await NTQQUserApi[_0x41722a(0x1f8)]([_0x5addc8[_0x41722a(0x22b)]]))[_0x41722a(0x219)];return napCatCore[_0x41722a(0x217)][_0x41722a(0x20f)]()[_0x41722a(0x226)](_0x3341cd,_0x584d88,_0x59693d);}static async[_0x203cac(0x230)](_0x8a061e,_0x127f1a,_0x4f9189){const _0x57e1b0=_0x203cac,_0x30fbbd={'GbDbW':function(_0xf7f825,_0xe79d95){return _0xf7f825||_0xe79d95;}};return napCatCore['session'][_0x57e1b0(0x20f)]()[_0x57e1b0(0x214)](![],{'operateType':_0x127f1a,'targetMsg':{'seq':_0x8a061e[_0x57e1b0(0x213)],'type':_0x8a061e[_0x57e1b0(0x1fb)],'groupCode':_0x8a061e[_0x57e1b0(0x200)][_0x57e1b0(0x22c)],'postscript':_0x30fbbd[_0x57e1b0(0x1ff)](_0x4f9189,'')}});}static async['quitGroup'](_0x54bcb9){const _0x33e3c5=_0x203cac;return napCatCore[_0x33e3c5(0x217)][_0x33e3c5(0x20f)]()[_0x33e3c5(0x21b)](_0x54bcb9);}static async[_0x203cac(0x1f4)](_0x1b2a58,_0x4d02c4,_0x250192=![],_0x5d424f=''){const _0x53643b=_0x203cac;return napCatCore[_0x53643b(0x217)]['getGroupService']()['kickMember'](_0x1b2a58,_0x4d02c4,_0x250192,_0x5d424f);}static async[_0x203cac(0x222)](_0x2e9a0f,_0x4a47be){const _0x56ba6=_0x203cac;return napCatCore[_0x56ba6(0x217)][_0x56ba6(0x20f)]()['setMemberShutUp'](_0x2e9a0f,_0x4a47be);}static async[_0x203cac(0x22a)](_0x19a751,_0x4ac2d8){const _0x53984e=_0x203cac;return napCatCore[_0x53984e(0x217)][_0x53984e(0x20f)]()[_0x53984e(0x22d)](_0x19a751,_0x4ac2d8);}static async['setMemberCard'](_0x460648,_0x2cba5c,_0x1cebf6){const _0x2c7fb2=_0x203cac;return napCatCore[_0x2c7fb2(0x217)][_0x2c7fb2(0x20f)]()[_0x2c7fb2(0x210)](_0x460648,_0x2cba5c,_0x1cebf6);}static async['setMemberRole'](_0x5ab848,_0x32531d,_0x3cc624){const _0x1efcbc=_0x203cac;return napCatCore[_0x1efcbc(0x217)][_0x1efcbc(0x20f)]()['modifyMemberRole'](_0x5ab848,_0x32531d,_0x3cc624);}static async[_0x203cac(0x1f2)](_0x14d15d,_0x289bd5){const _0x272def=_0x203cac;return napCatCore[_0x272def(0x217)][_0x272def(0x20f)]()['modifyGroupName'](_0x14d15d,_0x289bd5,![]);}static async[_0x203cac(0x20c)](_0x220c99,_0x135c77,_0x3f6027){}static async[_0x203cac(0x1f3)](_0x46543d,_0x594c00,_0x5a9b0f=undefined,_0x57f4f9=0x0,_0x33722a=0x0){const _0x4ff04a=_0x203cac,_0x46a439={'VJTYD':'qun.qq.com'},_0x176153=(await NTQQUserApi[_0x4ff04a(0x1f8)]([_0x46a439[_0x4ff04a(0x21f)]]))[_0x4ff04a(0x219)];let _0x13ea43={'text':encodeURI(_0x594c00),'picInfo':_0x5a9b0f,'oldFeedsId':'','pinned':_0x57f4f9,'confirmRequired':_0x33722a};return napCatCore[_0x4ff04a(0x217)]['getGroupService']()[_0x4ff04a(0x1f3)](_0x46543d,_0x176153,_0x13ea43);}} \ No newline at end of file +const _0x3a0887=_0x3ad7;(function(_0x3152ce,_0x4a73bb){const _0x11774e=_0x3ad7,_0x2de9a4=_0x3152ce();while(!![]){try{const _0x385972=parseInt(_0x11774e(0x19a))/0x1+parseInt(_0x11774e(0x1a2))/0x2*(-parseInt(_0x11774e(0x1ac))/0x3)+-parseInt(_0x11774e(0x1a4))/0x4+parseInt(_0x11774e(0x1c5))/0x5+parseInt(_0x11774e(0x1a3))/0x6+-parseInt(_0x11774e(0x1cb))/0x7*(parseInt(_0x11774e(0x190))/0x8)+-parseInt(_0x11774e(0x1c9))/0x9*(-parseInt(_0x11774e(0x1b3))/0xa);if(_0x385972===_0x4a73bb)break;else _0x2de9a4['push'](_0x2de9a4['shift']());}catch(_0x41e84d){_0x2de9a4['push'](_0x2de9a4['shift']());}}}(_0x13ea,0x9c92b));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3ad7(_0x164ef4,_0x544979){const _0x13eaa1=_0x13ea();return _0x3ad7=function(_0x3ad7a9,_0x1f462a){_0x3ad7a9=_0x3ad7a9-0x18f;let _0x46abba=_0x13eaa1[_0x3ad7a9];return _0x46abba;},_0x3ad7(_0x164ef4,_0x544979);}function _0x13ea(){const _0x43e7c2=['QWaYE','3033260kmLDRT','session','publishGroupBulletin','uid','qun.qq.com','getGroupService','addListener','modifyMemberRole','handleGroupRequest','NodeIKernelGroupService/getGroupList','result','getPSkey','vINHx','createMemberListScene','batchGetGroupFileCount','RyCSS','setGroupTitle','seq','375625uoACaO','setMemberRole','onGroupSingleScreenNotifies','setMemberShutUp','27BeanSk','createGroupFolder','1631gMSBDr','type','AFOrb','ckCHY','delete','3736ajbbCr','zBSOy','setGroupName','setMemberCard','wqaeO','quitGroup','SzWtX','errMsg','DelGroupFileFolder','CreatGroupFileFolder','247134LKVwCz','groupCode','UWlXX','getRichMediaService','infos','getGroupIgnoreNotifies','oJzRG','NodeIKernelGroupListener/onGroupListUpdate','5854BycxTk','3578412QmOmfC','110848BihRXP','set','operateSysNotify','banMember','ONQQT','kickMember','getSingleScreenNotifies','Lbhrq','1077noEZnz','CallNormalEvent','tttVs','uploadGroupBulletinPic','getGroupMembers','GetGroupFileCount'];_0x13ea=function(){return _0x43e7c2;};return _0x13ea();}const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x3a0887(0x1c7)]=(_0x21148c,_0x37b856,_0xf2f70b)=>{for(const [_0x4cf2ef,_0x2935f9]of SingleScreenNotifiesTasks){_0x2935f9(_0x21148c,_0x37b856,_0xf2f70b),SingleScreenNotifiesTasks['delete'](_0x4cf2ef);}},groupListener['onGroupListUpdate']=(_0x529b62,_0x3cb873)=>{const _0x2fd59c=_0x3a0887,_0x37c661={'ONQQT':function(_0x490b30,_0x5c8b9e,_0x29fd7c){return _0x490b30(_0x5c8b9e,_0x29fd7c);}};for(const [_0xeba588,_0x39450e]of groupMemberTasks){_0x37c661[_0x2fd59c(0x1a8)](_0x39450e,_0x529b62,_0x3cb873),groupMemberTasks[_0x2fd59c(0x18f)](_0xeba588);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x32330c=_0x3ad7;napCatCore[_0x32330c(0x1b9)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x40d322=![]){const _0x29105d=_0x3a0887,_0x2e0401={'Lbhrq':_0x29105d(0x1bc),'Eihmo':_0x29105d(0x1a1)};let [_0xc78cc8,_0x388124,_0xf3ff09]=await NTEventDispatch[_0x29105d(0x1ad)](_0x2e0401[_0x29105d(0x1ab)],_0x2e0401['Eihmo'],0x1,0x3a98,_0x40d322);return _0xf3ff09;}static async[_0x3a0887(0x199)](_0x2b5822,_0x4f6347){const _0x28bfbd=_0x3a0887;return napCatCore[_0x28bfbd(0x1b4)][_0x28bfbd(0x19d)]()[_0x28bfbd(0x1ca)](_0x2b5822,_0x4f6347);}static async['DelGroupFile'](_0x1214ca,_0x478230){const _0x59d367=_0x3a0887;return napCatCore[_0x59d367(0x1b4)][_0x59d367(0x19d)]()['deleteGroupFile'](_0x1214ca,[0x66],_0x478230);}static async[_0x3a0887(0x198)](_0xe1c67b,_0x4a19db){return napCatCore['session']['getRichMediaService']()['deleteGroupFolder'](_0xe1c67b,_0x4a19db);}static async[_0x3a0887(0x1aa)](_0x40092b){const _0x40286a=_0x3a0887,_0x25035c={'AFOrb':function(_0xad6d19,_0x4b5799){return _0xad6d19(_0x4b5799);},'oJzRG':function(_0x3b69a5,_0x39e7f0,_0x47da4f){return _0x3b69a5(_0x39e7f0,_0x47da4f);},'tttVs':function(_0x3b3348){return _0x3b3348();}},_0x2dbb8b=napCatCore[_0x40286a(0x1b4)][_0x40286a(0x1b8)]();return new Promise((_0x4c4f2e,_0x2c366d)=>{const _0x10e119=_0x40286a,_0x4f52c1={'RyCSS':function(_0x38094f,_0x46ccc1){const _0xbae33c=_0x3ad7;return _0x25035c[_0xbae33c(0x1cd)](_0x38094f,_0x46ccc1);}};let _0x3234cf=![];_0x25035c[_0x10e119(0x1a0)](setTimeout,()=>{const _0x3a1983=_0x10e119;!_0x3234cf&&_0x4f52c1[_0x3a1983(0x1c2)](_0x2c366d,'获取群系统消息列表超时');},0x1388);const _0x54fed1=(_0x243396,_0x4651be,_0x177532)=>{_0x3234cf=!![],_0x25035c['AFOrb'](_0x4c4f2e,_0x177532);};SingleScreenNotifiesTasks[_0x10e119(0x1a5)](_0x25035c[_0x10e119(0x1ae)](randomUUID),_0x54fed1),_0x2dbb8b[_0x10e119(0x1aa)](![],'',_0x40092b);});}static async[_0x3a0887(0x1b0)](_0x3728e2,_0x19e5e0=0xbb8){const _0x1bef46=_0x3a0887,_0x1a4dd8={'UWlXX':'groupMemberList_MainWindow','SzWtX':function(_0x433150,_0x92855f){return _0x433150!==_0x92855f;},'QWaYE':function(_0x4e1994,_0x23273c){return _0x4e1994+_0x23273c;},'SozUZ':'获取群成员列表出错,'},_0x381321=napCatCore[_0x1bef46(0x1b4)]['getGroupService'](),_0x2c438c=_0x381321[_0x1bef46(0x1c0)](_0x3728e2,_0x1a4dd8[_0x1bef46(0x19c)]),_0x579712=await _0x381321['getNextMemberList'](_0x2c438c,undefined,_0x19e5e0);if(_0x1a4dd8[_0x1bef46(0x196)](_0x579712['errCode'],0x0))throw _0x1a4dd8[_0x1bef46(0x1b2)](_0x1a4dd8['SozUZ'],_0x579712[_0x1bef46(0x197)]);return _0x579712[_0x1bef46(0x1bd)][_0x1bef46(0x19e)]['forEach'](_0x433f84=>{const _0x34fcce=_0x1bef46;uid2UinMap[_0x433f84[_0x34fcce(0x1b6)]]=_0x433f84['uin'];}),_0x579712[_0x1bef46(0x1bd)][_0x1bef46(0x19e)];}static async['getGroupNotifies'](){}static async[_0x3a0887(0x1b1)](_0x3073e8){const _0x37d937=_0x3a0887;return napCatCore[_0x37d937(0x1b4)]['getRichMediaService']()[_0x37d937(0x1c1)](_0x3073e8);}static async[_0x3a0887(0x19f)](){}static async[_0x3a0887(0x1af)](_0x581403,_0x355f4c){const _0x21526d=_0x3a0887,_0x4839dd={'vINHx':'qun.qq.com'},_0x4f74d6=(await NTQQUserApi[_0x21526d(0x1be)]([_0x4839dd[_0x21526d(0x1bf)]]))[_0x4839dd[_0x21526d(0x1bf)]];return napCatCore[_0x21526d(0x1b4)][_0x21526d(0x1b8)]()[_0x21526d(0x1af)](_0x581403,_0x4f74d6,_0x355f4c);}static async[_0x3a0887(0x1bb)](_0xfd0ba,_0x595582,_0x26c1c0){const _0x3f0f87=_0x3a0887,_0x32d63c={'zBSOy':function(_0x4e5602,_0x29e700){return _0x4e5602||_0x29e700;}};return napCatCore['session'][_0x3f0f87(0x1b8)]()[_0x3f0f87(0x1a6)](![],{'operateType':_0x595582,'targetMsg':{'seq':_0xfd0ba[_0x3f0f87(0x1c4)],'type':_0xfd0ba[_0x3f0f87(0x1cc)],'groupCode':_0xfd0ba['group'][_0x3f0f87(0x19b)],'postscript':_0x32d63c[_0x3f0f87(0x191)](_0x26c1c0,'')}});}static async[_0x3a0887(0x195)](_0x3fbd0d){const _0x32368a=_0x3a0887;return napCatCore[_0x32368a(0x1b4)][_0x32368a(0x1b8)]()[_0x32368a(0x195)](_0x3fbd0d);}static async['kickMember'](_0x337a54,_0x2931ae,_0x217ddf=![],_0x59128f=''){const _0x41b1bc=_0x3a0887;return napCatCore['session'][_0x41b1bc(0x1b8)]()[_0x41b1bc(0x1a9)](_0x337a54,_0x2931ae,_0x217ddf,_0x59128f);}static async[_0x3a0887(0x1a7)](_0x5a999c,_0x4f732f){const _0x14ed13=_0x3a0887;return napCatCore[_0x14ed13(0x1b4)][_0x14ed13(0x1b8)]()[_0x14ed13(0x1c8)](_0x5a999c,_0x4f732f);}static async['banGroup'](_0x5e275d,_0x58a1ac){return napCatCore['session']['getGroupService']()['setGroupShutUp'](_0x5e275d,_0x58a1ac);}static async[_0x3a0887(0x193)](_0x302c0d,_0x1a0287,_0x362d6d){const _0x543aff=_0x3a0887;return napCatCore[_0x543aff(0x1b4)][_0x543aff(0x1b8)]()['modifyMemberCardName'](_0x302c0d,_0x1a0287,_0x362d6d);}static async[_0x3a0887(0x1c6)](_0x2157d4,_0x5b40a5,_0x43cb87){const _0xac720=_0x3a0887;return napCatCore[_0xac720(0x1b4)][_0xac720(0x1b8)]()[_0xac720(0x1ba)](_0x2157d4,_0x5b40a5,_0x43cb87);}static async[_0x3a0887(0x192)](_0x1fdd62,_0x19e5ca){const _0x10cf67=_0x3a0887;return napCatCore['session'][_0x10cf67(0x1b8)]()['modifyGroupName'](_0x1fdd62,_0x19e5ca,![]);}static async[_0x3a0887(0x1c3)](_0x3973ec,_0x54d02b,_0x11ee87){}static async[_0x3a0887(0x1b5)](_0x5402be,_0x41544b,_0x5becb8=undefined,_0x57b961=0x0,_0x41a39b=0x0){const _0x30013e=_0x3a0887,_0x26b444={'wqaeO':_0x30013e(0x1b7),'ckCHY':function(_0x43abbc,_0x56d8ab){return _0x43abbc(_0x56d8ab);}},_0x51b713=(await NTQQUserApi[_0x30013e(0x1be)]([_0x26b444[_0x30013e(0x194)]]))[_0x30013e(0x1b7)];let _0x548ef4={'text':_0x26b444[_0x30013e(0x1ce)](encodeURI,_0x41544b),'picInfo':_0x5becb8,'oldFeedsId':'','pinned':_0x57b961,'confirmRequired':_0x41a39b};return napCatCore[_0x30013e(0x1b4)][_0x30013e(0x1b8)]()[_0x30013e(0x1b5)](_0x5402be,_0x51b713,_0x548ef4);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 5c295547..50deea23 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x637d05,_0x33019){var _0x233b6f=_0x4c4e,_0x37dbd0=_0x637d05();while(!![]){try{var _0x59eec9=parseInt(_0x233b6f(0x114))/0x1*(-parseInt(_0x233b6f(0x10c))/0x2)+parseInt(_0x233b6f(0x116))/0x3+-parseInt(_0x233b6f(0x110))/0x4*(parseInt(_0x233b6f(0x10d))/0x5)+-parseInt(_0x233b6f(0x113))/0x6+-parseInt(_0x233b6f(0x115))/0x7+-parseInt(_0x233b6f(0x10f))/0x8*(-parseInt(_0x233b6f(0x111))/0x9)+parseInt(_0x233b6f(0x112))/0xa*(parseInt(_0x233b6f(0x10e))/0xb);if(_0x59eec9===_0x33019)break;else _0x37dbd0['push'](_0x37dbd0['shift']());}catch(_0x5dda2c){_0x37dbd0['push'](_0x37dbd0['shift']());}}}(_0x19f8,0xdac6e));export*from'./file';export*from'./friend';function _0x19f8(){var _0x36f3eb=['1294827IuXhPR','54716qXyklD','95ulfMfW','10079399yOKVDx','8SfnEYQ','261200qtFWzm','793116QOuuhT','40ECKdHg','2042814bhQirA','53zMIjdX','1804012jluOUD'];_0x19f8=function(){return _0x36f3eb;};return _0x19f8();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x4c4e(_0x112ac3,_0x2cb2e7){var _0x19f8a7=_0x19f8();return _0x4c4e=function(_0x4c4eb6,_0x13b6c7){_0x4c4eb6=_0x4c4eb6-0x10c;var _0x1b42a6=_0x19f8a7[_0x4c4eb6];return _0x1b42a6;},_0x4c4e(_0x112ac3,_0x2cb2e7);}export*from'./system'; \ No newline at end of file +(function(_0x5d62b3,_0x3e031c){var _0x484042=_0x3cdb,_0x47ffe2=_0x5d62b3();while(!![]){try{var _0x2196b2=parseInt(_0x484042(0x19f))/0x1*(-parseInt(_0x484042(0x1a1))/0x2)+-parseInt(_0x484042(0x19d))/0x3*(-parseInt(_0x484042(0x1a2))/0x4)+-parseInt(_0x484042(0x198))/0x5*(-parseInt(_0x484042(0x1a3))/0x6)+-parseInt(_0x484042(0x19c))/0x7+parseInt(_0x484042(0x19a))/0x8*(parseInt(_0x484042(0x199))/0x9)+parseInt(_0x484042(0x1a0))/0xa+parseInt(_0x484042(0x19b))/0xb*(-parseInt(_0x484042(0x19e))/0xc);if(_0x2196b2===_0x3e031c)break;else _0x47ffe2['push'](_0x47ffe2['shift']());}catch(_0x3502d2){_0x47ffe2['push'](_0x47ffe2['shift']());}}}(_0x2898,0x4b6be));export*from'./file';export*from'./friend';export*from'./group';function _0x3cdb(_0x53c142,_0x3799b1){var _0x28984c=_0x2898();return _0x3cdb=function(_0x3cdb40,_0x35768e){_0x3cdb40=_0x3cdb40-0x198;var _0x12e3f0=_0x28984c[_0x3cdb40];return _0x12e3f0;},_0x3cdb(_0x53c142,_0x3799b1);}export*from'./msg';export*from'./user';function _0x2898(){var _0x2f302a=['2331575fvSpca','1059183KHwGpW','24JlbHFP','11EgKjIE','3535735NfABAC','9hxdxpW','7607412JBQter','19NtPWTs','3912410HOLMwX','3644ZuHTPT','362644ZWnjGf','6FwoBbV'];_0x2898=function(){return _0x2f302a;};return _0x2898();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 1f7c6a41..256cc559 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x1e86(_0x410a96,_0x3564eb){const _0x47b397=_0x47b3();return _0x1e86=function(_0x1e8664,_0xe5abb9){_0x1e8664=_0x1e8664-0x138;let _0x119600=_0x47b397[_0x1e8664];return _0x119600;},_0x1e86(_0x410a96,_0x3564eb);}const _0x22b153=_0x1e86;(function(_0x16a936,_0x13f225){const _0x4c4910=_0x1e86,_0x39d0c5=_0x16a936();while(!![]){try{const _0x208787=parseInt(_0x4c4910(0x157))/0x1+-parseInt(_0x4c4910(0x173))/0x2+parseInt(_0x4c4910(0x162))/0x3+-parseInt(_0x4c4910(0x13f))/0x4+parseInt(_0x4c4910(0x15a))/0x5*(-parseInt(_0x4c4910(0x171))/0x6)+parseInt(_0x4c4910(0x152))/0x7+parseInt(_0x4c4910(0x174))/0x8*(parseInt(_0x4c4910(0x156))/0x9);if(_0x208787===_0x13f225)break;else _0x39d0c5['push'](_0x39d0c5['shift']());}catch(_0x1cef9a){_0x39d0c5['push'](_0x39d0c5['shift']());}}}(_0x47b3,0xba471));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x47b3(){const _0x3bb437=['rNoXE','multiForwardMsgWithComment','6633bObSgF','1237241UOSmHQ','set','IFtZi','5fJbQdk','senderUid','hoJAe','RluZB','session','bytesData','peerUid','LVJAt','4326837EGKUav','XFcfP','setMsgRead','iFfaT','swjwl','getMsgsByMsgId','Vegzb','转发消息超时','nick','parse','获取群文件列表超时','jkOXv','addListener','getRichMediaService','forEach','1265886UNqIhj','arkElement','2970780REzYcB','7904pRdhDr','msgId','gNIzb','getMsgService','com.tencent.multimsg','onGroupFileInfoUpdate','sendMsg','sendStatus','kROni','LwCpH','activateChatAndGetHistory','getGroupFileList','elements','map','app','qwAFR','forwardMsg','find','then','delete','4403296zcLxgJ','cIExX','setEmojiLike','FhMWP','OqwLW','multiForwardMsg','getMsgsIncludeSelf','fetchRecentContact','getMsgHistory','toString','KsYVg','onLoginSuccess','getMultiMsg','onMsgInfoListUpdate','recallMsg','bEZNa','catch','uid','getMsgsBySeqAndCount','1067584fFiCGk','activateChat'];_0x47b3=function(){return _0x3bb437;};return _0x47b3();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x22b153(0x179)]=_0x485c0a=>{const _0x2b17d7=_0x22b153,_0x2c1afd={'hoJAe':function(_0x58e43f,_0xa4ab8){return _0x58e43f(_0xa4ab8);}};for(const [_0x2e5ff8,_0xe79880]of GroupFileInfoUpdateTasks){_0x2c1afd[_0x2b17d7(0x15c)](_0xe79880,_0x485c0a),GroupFileInfoUpdateTasks[_0x2b17d7(0x13e)](_0x2e5ff8);}},msgListener['onAddSendMsg']=_0x29644d=>{const _0x581798=_0x22b153,_0x49d175={'rNoXE':function(_0x300eac,_0x31887b){return _0x300eac(_0x31887b);},'FhMWP':function(_0x448815,_0x2c00ac){return _0x448815 instanceof _0x2c00ac;}};for(const [_0x44a31f,_0x14ccca]of sentMsgTasks){_0x49d175[_0x581798(0x154)](_0x14ccca,_0x29644d),sentMsgTasks[_0x581798(0x13e)](_0x44a31f);}if(sendMessagePool[_0x29644d[_0x581798(0x160)]]){const _0x2b77e8=sendMessagePool[_0x29644d[_0x581798(0x160)]]?.(_0x29644d);_0x49d175[_0x581798(0x142)](_0x2b77e8,Promise)&&_0x2b77e8['then']()[_0x581798(0x14f)](logError);}},msgListener[_0x22b153(0x14c)]=_0x5401f4=>{const _0x130952=_0x22b153,_0x17201f={'qwAFR':function(_0x4d0e60,_0x568e68){return _0x4d0e60(_0x568e68);}};_0x5401f4[_0x130952(0x170)](_0x321f78=>{const _0x123ae4=_0x130952,_0x4330a9={'OqwLW':function(_0x40a04a,_0xf831dd){const _0x23efce=_0x1e86;return _0x17201f[_0x23efce(0x13a)](_0x40a04a,_0xf831dd);},'LVJAt':function(_0x21f32f,_0x40127c){return _0x21f32f(_0x40127c);}};new Promise((_0x1e8ecc,_0x521a97)=>{const _0x2aa431=_0x1e86;for(const _0x916571 in sendSuccessCBMap){const _0x56ce38=sendSuccessCBMap[_0x916571],_0x118993=_0x4330a9[_0x2aa431(0x143)](_0x56ce38,_0x321f78),_0x3e1a95=_0x174828=>{_0x174828&&delete sendSuccessCBMap[_0x916571];};_0x118993 instanceof Promise?_0x118993[_0x2aa431(0x13d)](_0x3e1a95):_0x4330a9[_0x2aa431(0x161)](_0x3e1a95,_0x118993);}})[_0x123ae4(0x13d)]()[_0x123ae4(0x14f)](log);});},setTimeout(()=>{const _0x2164dc=_0x22b153;napCatCore[_0x2164dc(0x14a)](()=>{const _0x11c336=_0x2164dc;napCatCore[_0x11c336(0x16e)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x22b153(0x141)](_0x4b1960,_0x35f8c6,_0x1b35d6,_0x2a452d=!![]){const _0x3f5028=_0x22b153;return _0x1b35d6=_0x1b35d6[_0x3f5028(0x148)](),napCatCore[_0x3f5028(0x15e)][_0x3f5028(0x177)]()['setMsgEmojiLikes'](_0x4b1960,_0x35f8c6,_0x1b35d6,_0x1b35d6['length']>0x3?'2':'1',_0x2a452d);}static async[_0x22b153(0x14b)](_0x51f2a8,_0x59d430,_0x32e22a){const _0xf38d23=_0x22b153;return napCatCore[_0xf38d23(0x15e)][_0xf38d23(0x177)]()['getMultiMsg'](_0x51f2a8,_0x59d430,_0x32e22a);}static async['getMsgsByMsgId'](_0x265b3a,_0xe444de){const _0x63d75f=_0x22b153;return await napCatCore[_0x63d75f(0x15e)][_0x63d75f(0x177)]()[_0x63d75f(0x167)](_0x265b3a,_0xe444de);}static async[_0x22b153(0x151)](_0x553b51,_0x46f98b,_0x292f70,_0x2c97b1,_0x25693c){const _0x1cd1d7=_0x22b153;return await napCatCore[_0x1cd1d7(0x15e)][_0x1cd1d7(0x177)]()[_0x1cd1d7(0x151)](_0x553b51,_0x46f98b,_0x292f70,_0x2c97b1,_0x25693c);}static async[_0x22b153(0x153)](_0x8b3435){}static async[_0x22b153(0x17e)](_0x18856f){}static async[_0x22b153(0x164)](_0x221c1a){const _0xf6cfc4=_0x22b153;return napCatCore[_0xf6cfc4(0x15e)][_0xf6cfc4(0x177)]()[_0xf6cfc4(0x164)](_0x221c1a);}static async[_0x22b153(0x17f)](_0x16506d,_0x1e346e){const _0x5c0f15=_0x22b153,_0x1cb633={'Vegzb':function(_0x4fcb60,_0x3d1925){return _0x4fcb60(_0x3d1925);},'iFfaT':_0x5c0f15(0x16c),'aYIdh':function(_0x3ba354,_0x1cee80,_0x55cf2b){return _0x3ba354(_0x1cee80,_0x55cf2b);}};return new Promise(async(_0x45b071,_0x26b396)=>{const _0x5ccaf3=_0x5c0f15,_0x1e7a3d={'kROni':function(_0x32d436,_0x3a0a6f){const _0x1db462=_0x1e86;return _0x1cb633[_0x1db462(0x168)](_0x32d436,_0x3a0a6f);}};let _0x11928a=![];_0x1cb633['aYIdh'](setTimeout,()=>{const _0x14fb91=_0x1e86;!_0x11928a&&_0x1cb633[_0x14fb91(0x168)](_0x26b396,_0x1cb633[_0x14fb91(0x165)]);},0x1388);const _0x1ace28=_0x25ef4b=>{const _0x5818bb=_0x1e86;_0x11928a=!![],_0x1e7a3d[_0x5818bb(0x17c)](_0x45b071,_0x25ef4b['item']);};GroupFileInfoUpdateTasks[_0x5ccaf3(0x158)](randomUUID(),_0x1ace28),await napCatCore[_0x5ccaf3(0x15e)][_0x5ccaf3(0x16f)]()[_0x5ccaf3(0x17f)](_0x16506d,_0x1e346e);});}static async[_0x22b153(0x147)](_0xaf3482,_0x37acfa,_0x1b7c7d){const _0x254c01=_0x22b153;return napCatCore[_0x254c01(0x15e)][_0x254c01(0x177)]()[_0x254c01(0x145)](_0xaf3482,_0x37acfa,_0x1b7c7d,!![]);}static async[_0x22b153(0x146)](){}static async[_0x22b153(0x14d)](_0x1d7590,_0x2e2802){const _0x4179ac=_0x22b153;await napCatCore[_0x4179ac(0x15e)][_0x4179ac(0x177)]()[_0x4179ac(0x14d)]({'chatType':_0x1d7590['chatType'],'peerUid':_0x1d7590[_0x4179ac(0x160)]},_0x2e2802);}static async[_0x22b153(0x17a)](_0x2925a1,_0x315125,_0x93b60=!![],_0x493de5=0x2710){const _0x113fa2=_0x22b153,_0x218229={'cIExX':function(_0x14a2e9,_0x160efb){return _0x14a2e9>_0x160efb;},'gNIzb':'发送超时','uPLTT':function(_0x3bac15,_0x30ca31){return _0x3bac15(_0x30ca31);},'LwCpH':function(_0x45e7d3,_0x27e523){return _0x45e7d3(_0x27e523);},'TVClj':function(_0x2e40c8){return _0x2e40c8();},'GysaC':function(_0x3d0d92,_0x1f79b1,_0x3118b4){return _0x3d0d92(_0x1f79b1,_0x3118b4);}},_0x200897=_0x2925a1[_0x113fa2(0x160)];let _0x384cbd=0x0;const _0x497671=async()=>{const _0x121e2d=_0x113fa2;if(_0x218229[_0x121e2d(0x140)](_0x384cbd,_0x493de5))throw _0x218229[_0x121e2d(0x176)];const _0x200d59=sendMessagePool[_0x2925a1['peerUid']];if(_0x200d59)return await _0x218229['uPLTT'](sleep,0x1f4),_0x384cbd+=0x1f4,await _0x497671();else return;};return await _0x497671(),new Promise((_0x19e3cf,_0x1fe055)=>{const _0x282037=_0x113fa2,_0x5432e3={'IFtZi':function(_0x51efea,_0x2af213){const _0x19b77f=_0x1e86;return _0x218229[_0x19b77f(0x17d)](_0x51efea,_0x2af213);},'LMvze':_0x218229[_0x282037(0x176)]};let _0x1affd7=![],_0x284323=null;const _0x4db963=_0x218229['TVClj'](randomUUID);sendSuccessCBMap[_0x4db963]=_0x229523=>{const _0x4f799d=_0x282037;if(_0x229523['msgId']===_0x284323?.[_0x4f799d(0x175)]){if(_0x229523[_0x4f799d(0x17b)]===0x2)return delete sendSuccessCBMap[_0x4db963],_0x1affd7=!![],_0x5432e3[_0x4f799d(0x159)](_0x19e3cf,_0x229523),!![];return![];}return![];},sendMessagePool[_0x200897]=async _0x4b4b73=>{delete sendMessagePool[_0x200897],_0x284323=_0x4b4b73;},_0x218229['GysaC'](setTimeout,()=>{const _0x3a040b=_0x282037;if(_0x1affd7)return;delete sendMessagePool[_0x200897],delete sendSuccessCBMap[_0x4db963],_0x5432e3[_0x3a040b(0x159)](_0x1fe055,_0x5432e3['LMvze']);},_0x493de5);const _0x47f934=napCatCore[_0x282037(0x15e)][_0x282037(0x177)]()[_0x282037(0x17a)]('0',_0x2925a1,_0x315125,new Map());});}static async[_0x22b153(0x13b)](_0x1d08c4,_0x469a73,_0x11ac6b){const _0x915c51=_0x22b153;return napCatCore['session'][_0x915c51(0x177)]()[_0x915c51(0x13b)](_0x11ac6b,_0x1d08c4,[_0x469a73],new Map());}static async[_0x22b153(0x144)](_0x37ee3c,_0x4c08b2,_0x15aab1){const _0x4975aa=_0x22b153,_0x1d816c={'KsYVg':function(_0x2d4629,_0x1ecfb5){return _0x2d4629(_0x1ecfb5);},'RluZB':_0x4975aa(0x169),'XFcfP':function(_0x2b47c5,_0x47ca8b){return _0x2b47c5==_0x47ca8b;},'jkOXv':function(_0xf081d7,_0x176adb,_0x50c175){return _0xf081d7(_0x176adb,_0x50c175);}},_0x22db6a=_0x15aab1[_0x4975aa(0x138)](_0x55a2cd=>{const _0x59742f=_0x4975aa;return{'msgId':_0x55a2cd,'senderShowName':selfInfo[_0x59742f(0x16a)]};});return new Promise((_0x3c4c6c,_0x579591)=>{const _0x3d2851=_0x4975aa,_0x466f1a={'nbvkO':_0x3d2851(0x178),'swjwl':function(_0x222df4,_0x5a9ff6){const _0x4d7050=_0x3d2851;return _0x1d816c[_0x4d7050(0x163)](_0x222df4,_0x5a9ff6);},'bEZNa':function(_0x7e8e17,_0x448a4a){return _0x1d816c['KsYVg'](_0x7e8e17,_0x448a4a);}};let _0x5aa8ec=![];const _0x2a7a52=_0x1c4161=>{const _0x2c37f9=_0x3d2851,_0x46a6c4=_0x1c4161[_0x2c37f9(0x180)][_0x2c37f9(0x13c)](_0x1be448=>_0x1be448['arkElement']);if(!_0x46a6c4)return;const _0x468f80=JSON[_0x2c37f9(0x16b)](_0x46a6c4[_0x2c37f9(0x172)][_0x2c37f9(0x15f)]);if(_0x468f80[_0x2c37f9(0x139)]!=_0x466f1a['nbvkO'])return;_0x466f1a[_0x2c37f9(0x166)](_0x1c4161['peerUid'],_0x4c08b2[_0x2c37f9(0x160)])&&_0x1c4161[_0x2c37f9(0x15b)]==selfInfo[_0x2c37f9(0x150)]&&(_0x5aa8ec=!![],_0x466f1a[_0x2c37f9(0x14e)](_0x3c4c6c,_0x1c4161));};sentMsgTasks[_0x3d2851(0x158)](randomUUID(),_0x2a7a52),_0x1d816c[_0x3d2851(0x16d)](setTimeout,()=>{const _0x4ffa09=_0x3d2851;!_0x5aa8ec&&_0x1d816c[_0x4ffa09(0x149)](_0x579591,_0x1d816c[_0x4ffa09(0x15d)]);},0x1388),napCatCore[_0x3d2851(0x15e)]['getMsgService']()[_0x3d2851(0x155)](_0x22db6a,_0x37ee3c,_0x4c08b2,[],new Map());});}} \ No newline at end of file +const _0x2ecb22=_0x52d1;(function(_0xa3f3a9,_0xb5919d){const _0x832015=_0x52d1,_0x351f1d=_0xa3f3a9();while(!![]){try{const _0x1a72d9=-parseInt(_0x832015(0x12a))/0x1*(parseInt(_0x832015(0x123))/0x2)+-parseInt(_0x832015(0x15b))/0x3*(-parseInt(_0x832015(0x11e))/0x4)+-parseInt(_0x832015(0x136))/0x5+parseInt(_0x832015(0x14d))/0x6*(parseInt(_0x832015(0x15a))/0x7)+parseInt(_0x832015(0x149))/0x8*(-parseInt(_0x832015(0x15c))/0x9)+parseInt(_0x832015(0x133))/0xa+parseInt(_0x832015(0x15d))/0xb;if(_0x1a72d9===_0xb5919d)break;else _0x351f1d['push'](_0x351f1d['shift']());}catch(_0x56d72e){_0x351f1d['push'](_0x351f1d['shift']());}}}(_0x1258,0x40e06));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x2ecb22(0x118)]=_0x12711f=>{const _0x5325e6=_0x2ecb22,_0x50fa01={'Vrrbr':function(_0x2a709a,_0x3cc9c8){return _0x2a709a(_0x3cc9c8);}};for(const [_0x5b5150,_0x42fd25]of GroupFileInfoUpdateTasks){_0x50fa01['Vrrbr'](_0x42fd25,_0x12711f),GroupFileInfoUpdateTasks[_0x5325e6(0x116)](_0x5b5150);}},msgListener[_0x2ecb22(0x119)]=_0x8662f8=>{const _0x54e7df=_0x2ecb22,_0x239267={'gLvZk':function(_0x170e58,_0x46fae2){return _0x170e58(_0x46fae2);},'fDMnD':function(_0x2ba8bf,_0x1a02fc){return _0x2ba8bf instanceof _0x1a02fc;}};for(const [_0x535cd8,_0x5be72d]of sentMsgTasks){_0x239267[_0x54e7df(0x148)](_0x5be72d,_0x8662f8),sentMsgTasks[_0x54e7df(0x116)](_0x535cd8);}if(sendMessagePool[_0x8662f8['peerUid']]){const _0x11983c=sendMessagePool[_0x8662f8[_0x54e7df(0x13c)]]?.(_0x8662f8);_0x239267[_0x54e7df(0x13d)](_0x11983c,Promise)&&_0x11983c[_0x54e7df(0x132)]()[_0x54e7df(0x159)](logError);}},msgListener['onMsgInfoListUpdate']=_0x22c617=>{const _0x18195d=_0x2ecb22,_0x28cee1={'BpdxZ':function(_0x519c43,_0x289945){return _0x519c43(_0x289945);},'hocRA':function(_0x322df6,_0x2e6da6){return _0x322df6 instanceof _0x2e6da6;}};_0x22c617[_0x18195d(0x130)](_0x477586=>{const _0x1902cf=_0x18195d;new Promise((_0x50b3f2,_0x56ff14)=>{const _0xf89935=_0x52d1;for(const _0x3b55b8 in sendSuccessCBMap){const _0x51a923=sendSuccessCBMap[_0x3b55b8],_0x4c2823=_0x28cee1[_0xf89935(0x14f)](_0x51a923,_0x477586),_0x34a19=_0x20ed88=>{_0x20ed88&&delete sendSuccessCBMap[_0x3b55b8];};_0x28cee1[_0xf89935(0x12f)](_0x4c2823,Promise)?_0x4c2823['then'](_0x34a19):_0x34a19(_0x4c2823);}})['then']()[_0x1902cf(0x159)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x394ce4=_0x52d1;napCatCore[_0x394ce4(0x12b)](msgListener);});},0x64);function _0x52d1(_0x556c30,_0x1faa0c){const _0x1258eb=_0x1258();return _0x52d1=function(_0x52d1fb,_0x2a5683){_0x52d1fb=_0x52d1fb-0x116;let _0x44d810=_0x1258eb[_0x52d1fb];return _0x44d810;},_0x52d1(_0x556c30,_0x1faa0c);}export class NTQQMsgApi{static async['setEmojiLike'](_0x409632,_0x3ac884,_0xb4016a,_0x293070=!![]){const _0x34a82b=_0x2ecb22,_0x51bcd2={'FgYIq':function(_0x163185,_0x22f452){return _0x163185>_0x22f452;}};return _0xb4016a=_0xb4016a[_0x34a82b(0x142)](),napCatCore['session']['getMsgService']()[_0x34a82b(0x128)](_0x409632,_0x3ac884,_0xb4016a,_0x51bcd2[_0x34a82b(0x14a)](_0xb4016a[_0x34a82b(0x14b)],0x3)?'2':'1',_0x293070);}static async[_0x2ecb22(0x156)](_0x3ed1f0,_0x4cd9af,_0x3b0fc3){const _0x1e46ba=_0x2ecb22;return napCatCore['session'][_0x1e46ba(0x129)]()['getMultiMsg'](_0x3ed1f0,_0x4cd9af,_0x3b0fc3);}static async[_0x2ecb22(0x12e)](_0x373808,_0x34e871){const _0xb42680=_0x2ecb22;return await napCatCore[_0xb42680(0x13f)][_0xb42680(0x129)]()[_0xb42680(0x12e)](_0x373808,_0x34e871);}static async[_0x2ecb22(0x143)](_0x2516d5,_0x4331f8,_0x5d67a3,_0x55d7b2,_0x2b162f){const _0x362b8d=_0x2ecb22;return await napCatCore[_0x362b8d(0x13f)][_0x362b8d(0x129)]()[_0x362b8d(0x143)](_0x2516d5,_0x4331f8,_0x5d67a3,_0x55d7b2,_0x2b162f);}static async['activateChat'](_0x5989be){}static async[_0x2ecb22(0x124)](_0x211872){}static async[_0x2ecb22(0x146)](_0x564317){const _0x33fcc8=_0x2ecb22;return napCatCore[_0x33fcc8(0x13f)][_0x33fcc8(0x129)]()[_0x33fcc8(0x146)](_0x564317);}static async[_0x2ecb22(0x121)](_0x1929c7,_0x4e9682){const _0x83fd5a=_0x2ecb22,_0x2aa6b={'JMpmy':function(_0x49ff8b,_0x3158f6){return _0x49ff8b(_0x3158f6);},'VUWvS':_0x83fd5a(0x14c),'HEItR':function(_0x55ead6,_0x1d7f8f,_0x2aee3a){return _0x55ead6(_0x1d7f8f,_0x2aee3a);},'dHHfz':function(_0x171af4){return _0x171af4();}};return new Promise(async(_0xd3fc3b,_0x273698)=>{const _0x15ed7b=_0x83fd5a;let _0x381e04=![];_0x2aa6b[_0x15ed7b(0x126)](setTimeout,()=>{const _0x1ab83b=_0x15ed7b;!_0x381e04&&_0x2aa6b[_0x1ab83b(0x153)](_0x273698,_0x2aa6b[_0x1ab83b(0x117)]);},0x1388);const _0x491e2a=_0x10442b=>{const _0x4f4bce=_0x15ed7b;_0x381e04=!![],_0x2aa6b[_0x4f4bce(0x153)](_0xd3fc3b,_0x10442b[_0x4f4bce(0x11c)]);};GroupFileInfoUpdateTasks['set'](_0x2aa6b[_0x15ed7b(0x13a)](randomUUID),_0x491e2a),await napCatCore[_0x15ed7b(0x13f)][_0x15ed7b(0x150)]()[_0x15ed7b(0x121)](_0x1929c7,_0x4e9682);});}static async['getMsgHistory'](_0x15b168,_0x472929,_0x1d22dc){const _0x4592e1=_0x2ecb22;return napCatCore[_0x4592e1(0x13f)][_0x4592e1(0x129)]()[_0x4592e1(0x120)](_0x15b168,_0x472929,_0x1d22dc,!![]);}static async[_0x2ecb22(0x141)](){}static async[_0x2ecb22(0x157)](_0x4e7951,_0x39f495){const _0x512b59=_0x2ecb22;await napCatCore[_0x512b59(0x13f)][_0x512b59(0x129)]()[_0x512b59(0x157)]({'chatType':_0x4e7951[_0x512b59(0x12d)],'peerUid':_0x4e7951['peerUid']},_0x39f495);}static async['sendMsg'](_0x143930,_0x509ef1,_0x3d5df9=!![],_0x5d5ecf=0x2710){const _0x1d46b1=_0x2ecb22,_0x4b5e5e={'Gxtnr':function(_0x50bbc6,_0x467a2a){return _0x50bbc6>_0x467a2a;},'ivPwv':_0x1d46b1(0x145),'dvCAm':function(_0xed706a,_0x1abd15){return _0xed706a(_0x1abd15);},'JrIlT':function(_0x3f6c5e){return _0x3f6c5e();},'XnZRu':function(_0x4ebd83,_0x22eef7){return _0x4ebd83===_0x22eef7;},'Gllxd':function(_0x16850b,_0x4dd377){return _0x16850b(_0x4dd377);},'TUMcy':function(_0x546125,_0x19350f,_0x49e2fb){return _0x546125(_0x19350f,_0x49e2fb);}},_0x447f2c=_0x143930['peerUid'];let _0x10fcbd=0x0;const _0x30ab4c=async()=>{const _0x5ea8da=_0x1d46b1;if(_0x4b5e5e[_0x5ea8da(0x122)](_0x10fcbd,_0x5d5ecf))throw _0x4b5e5e[_0x5ea8da(0x12c)];const _0x5bc647=sendMessagePool[_0x143930[_0x5ea8da(0x13c)]];if(_0x5bc647)return await _0x4b5e5e[_0x5ea8da(0x138)](sleep,0x1f4),_0x10fcbd+=0x1f4,await _0x4b5e5e[_0x5ea8da(0x139)](_0x30ab4c);else return;};return await _0x4b5e5e['JrIlT'](_0x30ab4c),new Promise((_0x548634,_0x5d6b37)=>{const _0x273cb1=_0x1d46b1;let _0x23fd80=![],_0x384274=null;const _0x5a4d0a=_0x4b5e5e[_0x273cb1(0x139)](randomUUID);sendSuccessCBMap[_0x5a4d0a]=_0x266945=>{const _0x2dc752=_0x273cb1;if(_0x4b5e5e['XnZRu'](_0x266945[_0x2dc752(0x134)],_0x384274?.['msgId'])){if(_0x4b5e5e[_0x2dc752(0x140)](_0x266945[_0x2dc752(0x154)],0x2))return delete sendSuccessCBMap[_0x5a4d0a],_0x23fd80=!![],_0x4b5e5e[_0x2dc752(0x11a)](_0x548634,_0x266945),!![];return![];}return![];},sendMessagePool[_0x447f2c]=async _0x482e79=>{delete sendMessagePool[_0x447f2c],_0x384274=_0x482e79;},_0x4b5e5e['TUMcy'](setTimeout,()=>{const _0x40d229=_0x273cb1;if(_0x23fd80)return;delete sendMessagePool[_0x447f2c],delete sendSuccessCBMap[_0x5a4d0a],_0x5d6b37(_0x40d229(0x145));},_0x5d5ecf);const _0x5e15bc=napCatCore[_0x273cb1(0x13f)][_0x273cb1(0x129)]()[_0x273cb1(0x152)]('0',_0x143930,_0x509ef1,new Map());});}static async['forwardMsg'](_0x3c6225,_0x52bbfe,_0x1327e1){const _0x42ecc1=_0x2ecb22;return napCatCore[_0x42ecc1(0x13f)][_0x42ecc1(0x129)]()[_0x42ecc1(0x11d)](_0x1327e1,_0x3c6225,[_0x52bbfe],new Map());}static async['multiForwardMsg'](_0x1e9b54,_0x58bb41,_0x2415d0){const _0x5c0336=_0x2ecb22,_0x5b7c1b={'IIjNu':'转发消息超时','ekHIa':function(_0x21285c,_0x34db78){return _0x21285c==_0x34db78;},'EMeqx':function(_0x47f253,_0x1784b8){return _0x47f253(_0x1784b8);},'vKgld':function(_0x4b1c02){return _0x4b1c02();},'QFVCw':function(_0x947d64,_0x2ade95,_0x2124b9){return _0x947d64(_0x2ade95,_0x2124b9);}},_0x1c65ee=_0x2415d0[_0x5c0336(0x135)](_0x56e992=>{const _0x52df97=_0x5c0336;return{'msgId':_0x56e992,'senderShowName':selfInfo[_0x52df97(0x13e)]};});return new Promise((_0x342b74,_0x1ad586)=>{const _0x278d0e=_0x5c0336,_0x220769={'NhRxv':'com.tencent.multimsg','LiLdX':function(_0x12032f,_0x591b3e){const _0x3eecec=_0x52d1;return _0x5b7c1b[_0x3eecec(0x11b)](_0x12032f,_0x591b3e);},'IOvrR':function(_0x1db2c5,_0x15c75c){return _0x5b7c1b['EMeqx'](_0x1db2c5,_0x15c75c);}};let _0xca57d6=![];const _0x537a5b=_0x246c09=>{const _0x557b62=_0x52d1,_0x5ca559=_0x246c09['elements'][_0x557b62(0x125)](_0x232825=>_0x232825[_0x557b62(0x131)]);if(!_0x5ca559)return;const _0xedcc92=JSON[_0x557b62(0x127)](_0x5ca559[_0x557b62(0x131)][_0x557b62(0x137)]);if(_0xedcc92[_0x557b62(0x144)]!=_0x220769[_0x557b62(0x11f)])return;_0x246c09[_0x557b62(0x13c)]==_0x58bb41[_0x557b62(0x13c)]&&_0x220769[_0x557b62(0x14e)](_0x246c09['senderUid'],selfInfo[_0x557b62(0x155)])&&(_0xca57d6=!![],_0x220769[_0x557b62(0x151)](_0x342b74,_0x246c09));};sentMsgTasks[_0x278d0e(0x13b)](_0x5b7c1b[_0x278d0e(0x147)](randomUUID),_0x537a5b),_0x5b7c1b[_0x278d0e(0x158)](setTimeout,()=>{!_0xca57d6&&_0x1ad586(_0x5b7c1b['IIjNu']);},0x1388),napCatCore['session']['getMsgService']()[_0x278d0e(0x15e)](_0x1c65ee,_0x1e9b54,_0x58bb41,[],new Map());});}}function _0x1258(){const _0x148d91=['onGroupFileInfoUpdate','onAddSendMsg','Gllxd','ekHIa','item','forwardMsg','30944pkFuXA','NhRxv','getMsgsIncludeSelf','getGroupFileList','Gxtnr','158vsSAPY','activateChatAndGetHistory','find','HEItR','parse','setMsgEmojiLikes','getMsgService','4278dhmmeI','addListener','ivPwv','chatType','getMsgsByMsgId','hocRA','forEach','arkElement','then','4464540SBsePv','msgId','map','457165JwpIdP','bytesData','dvCAm','JrIlT','dHHfz','set','peerUid','fDMnD','nick','session','XnZRu','fetchRecentContact','toString','getMsgsBySeqAndCount','app','发送超时','setMsgRead','vKgld','gLvZk','368lakOsu','FgYIq','length','获取群文件列表超时','6NqhfYC','LiLdX','BpdxZ','getRichMediaService','IOvrR','sendMsg','JMpmy','sendStatus','uid','getMultiMsg','recallMsg','QFVCw','catch','334586QyCyTe','3iGLBiP','82989GfyYfN','6790377pwkykI','multiForwardMsgWithComment','delete','VUWvS'];_0x1258=function(){return _0x148d91;};return _0x1258();} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index d1db2812..2db74858 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x2d3247,_0x22a1ab){const _0x3e748c=_0x1b1e,_0x45472a=_0x2d3247();while(!![]){try{const _0x1931cf=-parseInt(_0x3e748c(0xd5))/0x1+-parseInt(_0x3e748c(0xf0))/0x2+parseInt(_0x3e748c(0xd2))/0x3+-parseInt(_0x3e748c(0xe0))/0x4+-parseInt(_0x3e748c(0xf3))/0x5+-parseInt(_0x3e748c(0xd1))/0x6+-parseInt(_0x3e748c(0xee))/0x7*(-parseInt(_0x3e748c(0xe4))/0x8);if(_0x1931cf===_0x22a1ab)break;else _0x45472a['push'](_0x45472a['shift']());}catch(_0x3b6507){_0x45472a['push'](_0x45472a['shift']());}}}(_0x32ef,0xbebcd));function _0x1b1e(_0x13afa6,_0x232514){const _0x32ef82=_0x32ef();return _0x1b1e=function(_0x1b1e89,_0x53016c){_0x1b1e89=_0x1b1e89-0xd1;let _0x2ab8e9=_0x32ef82[_0x1b1e89];return _0x2ab8e9;},_0x1b1e(_0x13afa6,_0x232514);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x32ef(){const _0x971ac0=['2944368lGhJvZ','kZXfP','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','3385245LuInQB','wPbGS','tianxuan.imgJumpArk','stringify','source',';\x20skey=','getSkey','jumpUrl','400866TamlWk','2760792nQPvqG','data','signed_ark','1057821SbnmIW','genBkn','title','p_skey=','uin','prompt','replace','&ark=','zvfiU','tag','CtZcK','5314840DLSwuu','MiniApp\x20JSON\x20消息生成失败','com.tencent.miniapp.lua','skey','830432wJDhDn','miniapp','zvBbo','\x5c/\x5c/','feQeF','RvWms','tMhUc',';\x20uin=o','p_skey','xhrqs','301HbHGDb','VsxvU'];_0x32ef=function(){return _0x971ac0;};return _0x32ef();}export async function SignMiniApp(_0x46f202){const _0x1a2677=_0x1b1e,_0xae8fa6={'wPbGS':_0x1a2677(0xe2),'zvBbo':_0x1a2677(0xe5),'zvfiU':'normal','CtZcK':_0x1a2677(0xe7),'tMhUc':function(_0x45d948,_0x58aaa0){return _0x45d948+_0x58aaa0;},'xhrqs':function(_0x55f5ec,_0x586677){return _0x55f5ec+_0x586677;},'hvXvH':function(_0x22c2fc,_0x2cb32e){return _0x22c2fc+_0x2cb32e;},'feQeF':_0x1a2677(0xd8),'kZXfP':_0x1a2677(0xf8),'eCkAb':';\x20p_uin=o','VsxvU':_0x1a2677(0xeb),'ZIfzK':_0x1a2677(0xdc),'lfxpX':function(_0x56b35d,_0xfa170d){return _0x56b35d(_0xfa170d);},'RvWms':'GET','zkLMT':function(_0x5212e6,_0x389248,_0x45dafd){return _0x5212e6(_0x389248,_0x45dafd);}};let _0x457e51={'app':_0xae8fa6[_0x1a2677(0xf4)],'bizsrc':_0x1a2677(0xf5),'view':_0xae8fa6[_0x1a2677(0xe6)],'prompt':_0x46f202[_0x1a2677(0xda)],'config':{'type':_0xae8fa6[_0x1a2677(0xdd)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x46f202[_0x1a2677(0xd7)],'preview':_0x46f202['preview'][_0x1a2677(0xdb)](/\\/g,_0xae8fa6[_0x1a2677(0xdf)]),'jumpUrl':_0x46f202[_0x1a2677(0xfa)]['replace'](/\\/g,_0xae8fa6['CtZcK']),'tag':_0x46f202[_0x1a2677(0xde)],'tagIcon':_0x46f202['tagIcon'][_0x1a2677(0xdb)](/\\/g,_0xae8fa6[_0x1a2677(0xdf)]),'source':_0x46f202[_0x1a2677(0xf7)],'sourcelogo':_0x46f202['sourcelogo'][_0x1a2677(0xdb)](/\\/g,'\x5c/\x5c/')}}};const _0x51d31e=await NTQQUserApi[_0x1a2677(0xf9)]();let _0x18e4a8=await NTQQUserApi['getQzoneCookies']();const _0x3c8b9d=WebApi[_0x1a2677(0xd6)](_0x18e4a8[_0x1a2677(0xec)]),_0x3c8329=_0xae8fa6[_0x1a2677(0xea)](_0xae8fa6[_0x1a2677(0xed)](_0xae8fa6[_0x1a2677(0xea)](_0xae8fa6[_0x1a2677(0xea)](_0xae8fa6['hvXvH'](_0xae8fa6[_0x1a2677(0xe8)],_0x18e4a8[_0x1a2677(0xec)]),_0xae8fa6[_0x1a2677(0xf1)]),_0x18e4a8[_0x1a2677(0xe3)]),_0xae8fa6['eCkAb'])+selfInfo[_0x1a2677(0xd9)]+_0xae8fa6[_0x1a2677(0xef)],selfInfo[_0x1a2677(0xd9)]);let _0x5cd9d8=_0xae8fa6[_0x1a2677(0xea)](_0x1a2677(0xf2)+_0x3c8b9d+_0xae8fa6['ZIfzK'],_0xae8fa6['lfxpX'](encodeURIComponent,JSON[_0x1a2677(0xf6)](_0x457e51))),_0x5ee7d2='';try{let _0x45284a=await RequestUtil['HttpGetJson'](_0x5cd9d8,_0xae8fa6[_0x1a2677(0xe9)],undefined,{'Cookie':_0x3c8329});_0x5ee7d2=_0x45284a[_0x1a2677(0xd3)][_0x1a2677(0xd4)];}catch(_0x5229db){_0xae8fa6['zkLMT'](logDebug,_0x1a2677(0xe1),_0x5229db);}return _0x5ee7d2;} \ No newline at end of file +function _0xdc12(_0x471746,_0x310d2e){const _0x48607d=_0x4860();return _0xdc12=function(_0xdc12c,_0xda3fb6){_0xdc12c=_0xdc12c-0x66;let _0x483135=_0x48607d[_0xdc12c];return _0x483135;},_0xdc12(_0x471746,_0x310d2e);}(function(_0x5bdbb1,_0x654bfe){const _0x318b4f=_0xdc12,_0x37836c=_0x5bdbb1();while(!![]){try{const _0x1b2278=parseInt(_0x318b4f(0x86))/0x1*(parseInt(_0x318b4f(0x84))/0x2)+-parseInt(_0x318b4f(0x97))/0x3+parseInt(_0x318b4f(0x96))/0x4*(-parseInt(_0x318b4f(0x71))/0x5)+parseInt(_0x318b4f(0x73))/0x6+-parseInt(_0x318b4f(0x7a))/0x7+parseInt(_0x318b4f(0x80))/0x8*(parseInt(_0x318b4f(0x76))/0x9)+-parseInt(_0x318b4f(0x8b))/0xa*(-parseInt(_0x318b4f(0x69))/0xb);if(_0x1b2278===_0x654bfe)break;else _0x37836c['push'](_0x37836c['shift']());}catch(_0x2a034d){_0x37836c['push'](_0x37836c['shift']());}}}(_0x4860,0xe9c3a));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x4860(){const _0xde957a=['data','208640IwzilM','tianxuan.imgJumpArk','skey','EwPgz','8VIiGAM','HttpGetJson','7763TmrSyh','title','BQYnC','ahUWW','UZPfD','317820StLnmX','EkZiu','OFFRN','VLFhL','YAEsD','aPykr','preview','pmSot','GET','cVkbR','signed_ark','20KzYCAl','3257049CgAShd','p_skey=','uin','EdqFj','484AVFRAU','GfdxM','genBkn','&ark=','prompt','tagIcon','sourcelogo','replace','798935RKRvhu','tag','2096568IoHBSS','MiniApp\x20JSON\x20消息生成失败','NFXLq','522IcWTdk','getQzoneCookies',';\x20p_uin=o','normal','3145884hYCtSm','miniapp','stringify','tMSvl','p_skey'];_0x4860=function(){return _0xde957a;};return _0x4860();}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x35aa00){const _0x4fcd43=_0xdc12,_0x10d0a1={'EkZiu':'com.tencent.miniapp.lua','DvzRX':_0x4fcd43(0x81),'pmSot':_0x4fcd43(0x7b),'tMSvl':_0x4fcd43(0x79),'OFFRN':'\x5c/\x5c/','VLFhL':function(_0x539bdf,_0x2b9b2f){return _0x539bdf+_0x2b9b2f;},'NFXLq':function(_0x26c33f,_0x18027f){return _0x26c33f+_0x18027f;},'EdqFj':function(_0x4820b7,_0xc5fb6e){return _0x4820b7+_0xc5fb6e;},'GfdxM':_0x4fcd43(0x66),'YAEsD':';\x20skey=','cVkbR':_0x4fcd43(0x78),'vRUCM':';\x20uin=o','BQYnC':'https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','ahUWW':function(_0x309415,_0x3bb064){return _0x309415(_0x3bb064);},'UZPfD':_0x4fcd43(0x93),'aPykr':function(_0x2e7b8c,_0x362afd,_0x4b3cd2){return _0x2e7b8c(_0x362afd,_0x4b3cd2);},'EwPgz':_0x4fcd43(0x74)};let _0x5b0481={'app':_0x10d0a1[_0x4fcd43(0x8c)],'bizsrc':_0x10d0a1['DvzRX'],'view':_0x10d0a1[_0x4fcd43(0x92)],'prompt':_0x35aa00[_0x4fcd43(0x6d)],'config':{'type':_0x10d0a1[_0x4fcd43(0x7d)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x35aa00[_0x4fcd43(0x87)],'preview':_0x35aa00[_0x4fcd43(0x91)][_0x4fcd43(0x70)](/\\/g,_0x10d0a1[_0x4fcd43(0x8d)]),'jumpUrl':_0x35aa00['jumpUrl'][_0x4fcd43(0x70)](/\\/g,_0x10d0a1[_0x4fcd43(0x8d)]),'tag':_0x35aa00[_0x4fcd43(0x72)],'tagIcon':_0x35aa00[_0x4fcd43(0x6e)][_0x4fcd43(0x70)](/\\/g,_0x10d0a1['OFFRN']),'source':_0x35aa00['source'],'sourcelogo':_0x35aa00[_0x4fcd43(0x6f)][_0x4fcd43(0x70)](/\\/g,_0x10d0a1[_0x4fcd43(0x8d)])}}};const _0x5b2363=await NTQQUserApi['getSkey']();let _0x125e1b=await NTQQUserApi[_0x4fcd43(0x77)]();const _0x10e665=WebApi[_0x4fcd43(0x6b)](_0x125e1b[_0x4fcd43(0x7e)]),_0x403652=_0x10d0a1[_0x4fcd43(0x8e)](_0x10d0a1['VLFhL'](_0x10d0a1['VLFhL'](_0x10d0a1[_0x4fcd43(0x75)](_0x10d0a1[_0x4fcd43(0x75)](_0x10d0a1[_0x4fcd43(0x8e)](_0x10d0a1['EdqFj'](_0x10d0a1[_0x4fcd43(0x6a)],_0x125e1b[_0x4fcd43(0x7e)]),_0x10d0a1[_0x4fcd43(0x8f)]),_0x125e1b[_0x4fcd43(0x82)]),_0x10d0a1[_0x4fcd43(0x94)]),selfInfo['uin']),_0x10d0a1['vRUCM']),selfInfo[_0x4fcd43(0x67)]);let _0x38d5c6=_0x10d0a1[_0x4fcd43(0x8e)](_0x10d0a1[_0x4fcd43(0x68)](_0x10d0a1[_0x4fcd43(0x88)],_0x10e665),_0x4fcd43(0x6c))+_0x10d0a1[_0x4fcd43(0x89)](encodeURIComponent,JSON[_0x4fcd43(0x7c)](_0x5b0481)),_0x5259f6='';try{let _0x5dbcf7=await RequestUtil[_0x4fcd43(0x85)](_0x38d5c6,_0x10d0a1[_0x4fcd43(0x8a)],undefined,{'Cookie':_0x403652});_0x5259f6=_0x5dbcf7[_0x4fcd43(0x7f)][_0x4fcd43(0x95)];}catch(_0x1c238a){_0x10d0a1[_0x4fcd43(0x90)](logDebug,_0x10d0a1[_0x4fcd43(0x83)],_0x1c238a);}return _0x5259f6;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 2972f039..4902be83 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x3861ed=_0x1ed8;(function(_0x49f3ce,_0x5b7a3d){var _0x8f4da2=_0x1ed8,_0xe130b9=_0x49f3ce();while(!![]){try{var _0x3fc944=-parseInt(_0x8f4da2(0x115))/0x1*(-parseInt(_0x8f4da2(0x11f))/0x2)+parseInt(_0x8f4da2(0x11a))/0x3*(parseInt(_0x8f4da2(0x117))/0x4)+parseInt(_0x8f4da2(0x110))/0x5*(-parseInt(_0x8f4da2(0x113))/0x6)+parseInt(_0x8f4da2(0x116))/0x7*(-parseInt(_0x8f4da2(0x120))/0x8)+-parseInt(_0x8f4da2(0x118))/0x9+parseInt(_0x8f4da2(0x11d))/0xa+parseInt(_0x8f4da2(0x11b))/0xb;if(_0x3fc944===_0x5b7a3d)break;else _0xe130b9['push'](_0xe130b9['shift']());}catch(_0x123074){_0xe130b9['push'](_0xe130b9['shift']());}}}(_0x3e9b,0x7803d));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x2ee962=_0x1ed8;return napCatCore['util'][_0x2ee962(0x11c)]();}static async[_0x3861ed(0x119)](_0x4baf64){var _0x5debd9=_0x3861ed;return napCatCore[_0x5debd9(0x112)][_0x5debd9(0x114)]()[_0x5debd9(0x111)](_0x4baf64);}static async[_0x3861ed(0x10f)](_0x2e521b){var _0x2ce00c=_0x3861ed;return napCatCore['session'][_0x2ce00c(0x11e)]()[_0x2ce00c(0x10f)](_0x2e521b);}}function _0x1ed8(_0x4c53d5,_0x62cda1){var _0x3e9b94=_0x3e9b();return _0x1ed8=function(_0x1ed8b6,_0x442bae){_0x1ed8b6=_0x1ed8b6-0x10f;var _0x1bf5b8=_0x3e9b94[_0x1ed8b6];return _0x1bf5b8;},_0x1ed8(_0x4c53d5,_0x62cda1);}function _0x3e9b(){var _0x54832f=['293780DpImRW','wantWinScreenOCR','session','78qVejMO','getNodeMiscService','2gvEwyh','7vXmSgK','4tkNrvv','5284782ijjUuQ','ORCImage','1599441lUujej','6891863oyafFX','hasOtherRunningQQProcess','7238350MsPUFN','getRichMediaService','926734IhwGdZ','7741136EmQLYG','translateEnWordToZn'];_0x3e9b=function(){return _0x54832f;};return _0x3e9b();} \ No newline at end of file +function _0xba7f(){var _0x53ba1e=['ORCImage','4139802fgbYXu','235qkVPSA','5323960fNnktr','util','translateEnWordToZn','17647630HXDSfj','session','getRichMediaService','hasOtherRunningQQProcess','33692rCmCwm','3vGklIv','4635234RxjaDw','942GoTdem','53186nOStDt','888394THDxGD'];_0xba7f=function(){return _0x53ba1e;};return _0xba7f();}var _0x2245cd=_0x1f55;(function(_0x280d9d,_0x177afd){var _0x5a7b6e=_0x1f55,_0x45682f=_0x280d9d();while(!![]){try{var _0x1f89d8=parseInt(_0x5a7b6e(0x116))/0x1*(parseInt(_0x5a7b6e(0x11a))/0x2)+-parseInt(_0x5a7b6e(0x10c))/0x3+parseInt(_0x5a7b6e(0x115))/0x4*(parseInt(_0x5a7b6e(0x10d))/0x5)+-parseInt(_0x5a7b6e(0x118))/0x6*(parseInt(_0x5a7b6e(0x119))/0x7)+-parseInt(_0x5a7b6e(0x10e))/0x8+parseInt(_0x5a7b6e(0x117))/0x9+parseInt(_0x5a7b6e(0x111))/0xa;if(_0x1f89d8===_0x177afd)break;else _0x45682f['push'](_0x45682f['shift']());}catch(_0x427988){_0x45682f['push'](_0x45682f['shift']());}}}(_0xba7f,0xbbf9a));function _0x1f55(_0x358fff,_0x3dfc52){var _0xba7f91=_0xba7f();return _0x1f55=function(_0x1f5547,_0x38d3d5){_0x1f5547=_0x1f5547-0x10c;var _0x3ef8a0=_0xba7f91[_0x1f5547];return _0x3ef8a0;},_0x1f55(_0x358fff,_0x3dfc52);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x2245cd(0x114)](){var _0x3c6e17=_0x2245cd;return napCatCore[_0x3c6e17(0x10f)][_0x3c6e17(0x114)]();}static async[_0x2245cd(0x11b)](_0x49d6fa){var _0x4e90f8=_0x2245cd;return napCatCore[_0x4e90f8(0x112)]['getNodeMiscService']()['wantWinScreenOCR'](_0x49d6fa);}static async[_0x2245cd(0x110)](_0x23796e){var _0xe1c5b5=_0x2245cd;return napCatCore['session'][_0xe1c5b5(0x113)]()[_0xe1c5b5(0x110)](_0x23796e);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 2f7767aa..d502ffa9 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x1e558e=_0x5382;(function(_0x5b545a,_0x2d1fd7){const _0x2d9b38=_0x5382,_0x2f751a=_0x5b545a();while(!![]){try{const _0x199c8e=parseInt(_0x2d9b38(0x9a))/0x1+parseInt(_0x2d9b38(0xcb))/0x2*(-parseInt(_0x2d9b38(0xc3))/0x3)+-parseInt(_0x2d9b38(0xd7))/0x4+-parseInt(_0x2d9b38(0xca))/0x5+-parseInt(_0x2d9b38(0x9f))/0x6*(parseInt(_0x2d9b38(0xbc))/0x7)+-parseInt(_0x2d9b38(0xad))/0x8*(parseInt(_0x2d9b38(0xa5))/0x9)+-parseInt(_0x2d9b38(0xda))/0xa*(-parseInt(_0x2d9b38(0xde))/0xb);if(_0x199c8e===_0x2d1fd7)break;else _0x2f751a['push'](_0x2f751a['shift']());}catch(_0x5928d3){_0x2f751a['push'](_0x2f751a['shift']());}}}(_0x2c24,0x8bd3c));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x2c24(){const _0x9cf25=['get','146290vosGpV','domainPskeyMap','uin','keyIndex','1133CPuKkb','URZjs','getProfileLikeService','iBYFj','VeqnK','result','errMsg','请求获取Cookies时失败','zutvE','LvjoV','setHeader','getUserInfo','uid','83847kOOFrm','ClientKey','&clientkey=','length','yceaB','3648IhAKig','getRobotService','getRobotUinRange','session','entries','EvfQG','1217925gUvjLb','getUserDetailInfoWithBizInfo','getMsgService','fromEntries','RyhoV','PskeyData','skey','getQzoneCookies','24OPtmAI','assign','lFIUp','HtNcy','neKEf','Xogkm','akfbh','CreatTime','onLoginSuccess','forEach','PskeyTime','mmDPK','now','getSelfInfo','KeyIndex','154KnLdgw','getSkey','getTipOffService','getPSkey','wbFDM','setBuddyProfileLike','getUserDetailInfo','6BLzznS','pFZkK','gnIqR','RONPt','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','setQQAvatar','431655HzGhHG','179356liYIrJ','set','hrHxt','like','forceFetchClientKey','rkPkS','push','onProfileDetailInfoChanged','then','%2Finfocenter&keyindex=19%27','getProfileService','HttpsGetCookies','1331456VjHFXB','fMFPS'];_0x2c24=function(){return _0x9cf25;};return _0x2c24();}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x5382(_0x485b13,_0x43369b){const _0x2c2475=_0x2c24();return _0x5382=function(_0x53824b,_0x467e1c){_0x53824b=_0x53824b-0x98;let _0x4d5a16=_0x2c2475[_0x53824b];return _0x4d5a16;},_0x5382(_0x485b13,_0x43369b);}profileListener[_0x1e558e(0xd2)]=_0x1e2f43=>{const _0x398ecb=_0x1e558e;userInfoCache[_0x1e2f43[_0x398ecb(0x99)]]=_0x1e2f43,userDetailHandlers[_0x398ecb(0xb6)](_0x1705c2=>_0x1705c2(_0x1e2f43));},setTimeout(()=>{const _0x5b958c=_0x1e558e;napCatCore[_0x5b958c(0xb5)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0xcdd3e7,_0x521dbb,_0x373176){const _0x45c486=_0x1e558e;return napCatCore[_0x45c486(0xa2)][_0x45c486(0xa7)]()['setStatus']({'status':_0xcdd3e7,'extStatus':_0x521dbb,'batteryStatus':_0x373176});}static async[_0x1e558e(0xce)](_0x18adcb,_0x5aa341=0x1){const _0x46101c=_0x1e558e;return napCatCore[_0x46101c(0xa2)][_0x46101c(0xe0)]()[_0x46101c(0xc1)]({'friendUid':_0x18adcb,'sourceId':0x47,'doLikeCount':_0x5aa341,'doLikeTollCount':0x0});}static async[_0x1e558e(0xc9)](_0x246431){const _0x4b2190=_0x1e558e,_0x29ff8d=napCatCore[_0x4b2190(0xa2)][_0x4b2190(0xd5)]()[_0x4b2190(0xe8)](_0x246431);return{'result':_0x29ff8d?.[_0x4b2190(0xe3)],'errMsg':_0x29ff8d?.[_0x4b2190(0xe4)]};}static async[_0x1e558e(0xba)](){}static async[_0x1e558e(0x98)](_0x511c09){}static async[_0x1e558e(0xc2)](_0x29dfc9){const _0x3279fe=_0x1e558e,_0x5a4235={'iBYFj':function(_0x35e293,_0x40685d){return _0x35e293(_0x40685d);},'RyhoV':function(_0x111fa8,_0x5c9dbf){return _0x111fa8(_0x5c9dbf);},'clKfm':'getUserDetailInfo\x20timeout','XFmkf':function(_0x563658,_0x200b89){return _0x563658===_0x200b89;},'LvjoV':function(_0x2ae78e){return _0x2ae78e();}},_0x424b11=napCatCore['session'][_0x3279fe(0xd5)]();return new Promise((_0x306108,_0x3ade23)=>{const _0x2dbbae=_0x3279fe,_0x379c1a={'gnIqR':function(_0x117fbc,_0x329f8c){return _0x5a4235['XFmkf'](_0x117fbc,_0x329f8c);},'zutvE':function(_0x4b5a83,_0xa85120){const _0x4e07ba=_0x5382;return _0x5a4235[_0x4e07ba(0xa9)](_0x4b5a83,_0xa85120);}},_0x519ed5=_0x5a4235[_0x2dbbae(0xe7)](randomUUID);let _0x39ff2f=![],_0x18c010=undefined,_0x1dce50=!![];setTimeout(()=>{const _0x2cc8ad=_0x2dbbae;!_0x39ff2f&&(_0x18c010?_0x5a4235[_0x2cc8ad(0xe1)](_0x306108,_0x18c010):_0x5a4235['RyhoV'](_0x3ade23,_0x5a4235['clKfm'])),userDetailHandlers['delete'](_0x519ed5);},0x1388),userDetailHandlers[_0x2dbbae(0xcc)](_0x519ed5,_0x18f1ee=>{const _0x39c1b7=_0x2dbbae;_0x379c1a[_0x39c1b7(0xc5)](_0x18f1ee[_0x39c1b7(0x99)],_0x29dfc9)&&(uid2UinMap[_0x29dfc9]=_0x18f1ee['uin'],_0x1dce50?(_0x18c010=_0x18f1ee,_0x1dce50=![]):(_0x39ff2f=!![],_0x379c1a[_0x39c1b7(0xe6)](_0x306108,_0x18f1ee)));}),_0x424b11[_0x2dbbae(0xa6)](_0x29dfc9,[0x0])[_0x2dbbae(0xd3)](_0x558ed4=>{});});}static async[_0x1e558e(0xbf)](_0xc76c4e,_0x2c593a=!![]){const _0xb3d56f=_0x1e558e,_0x4ad39e={'lFIUp':function(_0xbe92f1,_0x41fe38){return _0xbe92f1||_0x41fe38;},'hrHxt':function(_0x21c1f2,_0x5309b3){return _0x21c1f2>_0x5309b3;},'EvfQG':function(_0x3160e7,_0x180a21){return _0x3160e7-_0x180a21;},'rkPkS':function(_0x27c216,_0xbe8faa){return _0x27c216*_0xbe8faa;},'fMFPS':function(_0x1cafc0,_0x2a50b5){return _0x1cafc0>_0x2a50b5;},'nQZZk':function(_0x4dcd40,_0x1f6326,_0x4bbf64){return _0x4dcd40(_0x1f6326,_0x4bbf64);},'pFZkK':'获取Pskey失败'},_0x59f21e=[],_0x355ee2={};for(const _0x220896 in _0xc76c4e){const _0x14cb98=Credentials['PskeyData']['get'](_0xc76c4e[_0x220896]),_0xa457f=Credentials[_0xb3d56f(0xb7)][_0xb3d56f(0xd9)](_0xc76c4e[_0x220896]);_0x4ad39e[_0xb3d56f(0xaf)](!_0x14cb98,!_0xa457f)||_0x4ad39e[_0xb3d56f(0xcd)](_0x4ad39e[_0xb3d56f(0xa4)](Date[_0xb3d56f(0xb9)](),_0xa457f),_0x4ad39e[_0xb3d56f(0xd0)](0x708,0x3e8))||!_0x2c593a?_0x59f21e[_0xb3d56f(0xd1)](_0xc76c4e[_0x220896]):_0x355ee2[_0xc76c4e[_0x220896]]=_0x14cb98;}let _0x9801b4={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4ad39e[_0xb3d56f(0xd8)](_0x59f21e[_0xb3d56f(0x9d)],0x0)&&(_0x9801b4=await napCatCore[_0xb3d56f(0xa2)][_0xb3d56f(0xbe)]()['getPskey'](_0x59f21e,!![]));const _0x23efd1=_0x9801b4[_0xb3d56f(0xdb)];for(const _0xb6a9fe of _0x23efd1[_0xb3d56f(0xa3)]()){Credentials[_0xb3d56f(0xaa)]['set'](_0xb6a9fe[0x0],_0xb6a9fe[0x1]),Credentials['PskeyTime'][_0xb3d56f(0xcc)](_0xb6a9fe[0x0],Date[_0xb3d56f(0xb9)]());}const _0x4868d5=Object[_0xb3d56f(0xae)](Object[_0xb3d56f(0xa8)](_0x23efd1),_0x355ee2);if(_0x9801b4[_0xb3d56f(0xe3)]===0x0)return _0x4868d5;else _0x4ad39e['nQZZk'](logError,_0x4ad39e[_0xb3d56f(0xc4)],_0x9801b4[_0xb3d56f(0xe4)]);return{};}static async[_0x1e558e(0xa1)](){const _0x3422bf=_0x1e558e,_0x404459=await napCatCore[_0x3422bf(0xa2)][_0x3422bf(0xa0)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x404459?.['response']?.['robotUinRanges'];}static async[_0x1e558e(0xac)](){const _0x43ee22=_0x1e558e,_0x11a1cc={'yceaB':function(_0x5e559d,_0x170334){return _0x5e559d+_0x170334;},'ixKgS':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','mmDPK':_0x43ee22(0x9c),'HtNcy':_0x43ee22(0xd4),'neKEf':function(_0x3f8b3f,_0x3aba1f,_0x448d45){return _0x3f8b3f(_0x3aba1f,_0x448d45);},'wbFDM':_0x43ee22(0xe5)},_0xdc5edd=_0x11a1cc['yceaB'](_0x11a1cc[_0x43ee22(0x9e)](_0x11a1cc['yceaB'](_0x11a1cc['yceaB'](_0x11a1cc[_0x43ee22(0x9e)](_0x11a1cc['ixKgS'],selfInfo[_0x43ee22(0xdc)]),_0x11a1cc[_0x43ee22(0xb8)]),Credentials[_0x43ee22(0x9b)])+_0x43ee22(0xc7),selfInfo[_0x43ee22(0xdc)]),_0x11a1cc[_0x43ee22(0xb0)]);let _0x743b04={};try{_0x743b04=await RequestUtil[_0x43ee22(0xd6)](_0xdc5edd);}catch(_0x6f4db7){_0x11a1cc[_0x43ee22(0xb1)](logDebug,_0x11a1cc[_0x43ee22(0xc0)],_0x6f4db7),_0x743b04={};}return _0x743b04;}static async[_0x1e558e(0xbd)](_0x19c6a1=!![]){const _0x3b0282=_0x1e558e,_0x5085bf={'Pzcum':function(_0x6d0758,_0x2d84f4){return _0x6d0758==_0x2d84f4;},'ReyeA':function(_0x23f093,_0x154da0){return _0x23f093-_0x154da0;},'Xogkm':function(_0x13f670,_0x497268){return _0x13f670!==_0x497268;},'URZjs':function(_0xc18b31,_0xab2a6d){return _0xc18b31+_0xab2a6d;},'KYwog':_0x3b0282(0xc8),'akfbh':'&clientkey=','VeqnK':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','RONPt':function(_0x502728,_0x239fbd,_0x15e6cb){return _0x502728(_0x239fbd,_0x15e6cb);},'bbcXm':'请求获取Skey时失败'};try{if(_0x5085bf['Pzcum'](Credentials[_0x3b0282(0xb4)],0x0)||_0x5085bf['ReyeA'](Date[_0x3b0282(0xb9)](),Credentials[_0x3b0282(0xb4)])>0x3e8*0xe10||!_0x19c6a1){const _0xe6e656=await napCatCore[_0x3b0282(0xa2)]['getTicketService']()[_0x3b0282(0xcf)]('');if(_0x5085bf[_0x3b0282(0xb2)](_0xe6e656[_0x3b0282(0xe3)],0x0))return'';const _0x3c1ab8=_0xe6e656['clientKey'],_0x4e0cfc=_0xe6e656[_0x3b0282(0xdd)],_0x48c160=_0x5085bf[_0x3b0282(0xdf)](_0x5085bf[_0x3b0282(0xdf)](_0x5085bf[_0x3b0282(0xdf)](_0x5085bf['URZjs'](_0x5085bf['KYwog'],selfInfo['uin']),_0x5085bf[_0x3b0282(0xb3)]),_0x3c1ab8),_0x5085bf[_0x3b0282(0xe2)])+_0x4e0cfc;let _0x58238d={};try{_0x58238d=await RequestUtil[_0x3b0282(0xd6)](_0x48c160);}catch(_0x8dae6e){_0x5085bf[_0x3b0282(0xc6)](logDebug,_0x5085bf['bbcXm'],_0x8dae6e),_0x58238d={};}const _0x2a0efb=_0x58238d[_0x3b0282(0xab)];if(!_0x2a0efb)return'';return Credentials[_0x3b0282(0x9b)]=_0x3c1ab8,Credentials[_0x3b0282(0xbb)]=_0x4e0cfc,Credentials['CreatTime']=Date['now'](),Credentials['Skey']=_0x2a0efb,_0x2a0efb;}return Credentials['Skey'];}catch(_0x421672){}return undefined;}} \ No newline at end of file +function _0x2d01(_0x519e30,_0x25ea07){const _0x30825d=_0x3082();return _0x2d01=function(_0x2d0147,_0x1913fd){_0x2d0147=_0x2d0147-0x1e3;let _0x45e5c5=_0x30825d[_0x2d0147];return _0x45e5c5;},_0x2d01(_0x519e30,_0x25ea07);}const _0x42953d=_0x2d01;(function(_0x5dd3e4,_0x44af2d){const _0x13a76d=_0x2d01,_0x1d36b9=_0x5dd3e4();while(!![]){try{const _0x696405=-parseInt(_0x13a76d(0x206))/0x1*(-parseInt(_0x13a76d(0x21b))/0x2)+parseInt(_0x13a76d(0x1f7))/0x3+-parseInt(_0x13a76d(0x1e5))/0x4*(parseInt(_0x13a76d(0x1f0))/0x5)+parseInt(_0x13a76d(0x1ec))/0x6*(parseInt(_0x13a76d(0x1fd))/0x7)+-parseInt(_0x13a76d(0x1fa))/0x8*(-parseInt(_0x13a76d(0x200))/0x9)+-parseInt(_0x13a76d(0x22a))/0xa+-parseInt(_0x13a76d(0x21c))/0xb*(-parseInt(_0x13a76d(0x204))/0xc);if(_0x696405===_0x44af2d)break;else _0x1d36b9['push'](_0x1d36b9['shift']());}catch(_0x239941){_0x1d36b9['push'](_0x1d36b9['shift']());}}}(_0x3082,0x50301));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x42953d(0x1f5)]=_0xb263a3=>{const _0x236bbe=_0x42953d;userInfoCache[_0xb263a3['uid']]=_0xb263a3,userDetailHandlers[_0x236bbe(0x209)](_0x2e53a7=>_0x2e53a7(_0xb263a3));},setTimeout(()=>{const _0x832f77=_0x42953d;napCatCore[_0x832f77(0x22d)](()=>{const _0x3265cc=_0x832f77;napCatCore[_0x3265cc(0x227)](profileListener);});},0x64);function _0x3082(){const _0x263733=['getUserDetailInfo','result','CreatTime','getTipOffService','8rxSgDj','11xbWZHE','YjnCM','getPskey','GbUNS','poKGd','fromEntries','robotUinRanges','获取Pskey失败','FbYPy','forceFetchClientKey','ClientKey','addListener','getPSkey','vzvce','5030280zlSZuc','&clientkey=','session','onLoginSuccess','Skey','set','JhXno','setSelfOnlineStatus','64rXMNDn','getSelfInfo','YPaqv','getProfileService','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','getProfileLikeService','uid','936018btJzhY','PskeyData','oGgfD','getRobotUinRange','94330adfkpe','gRvIA','getRobotService','LCgUd','请求获取Skey时失败','onProfileDetailInfoChanged','uECMR','37473tMMqzr','errMsg','keyIndex','856gqCrbT','uin','HRKii','14bpAJts','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','OCrYs','23301TWVpQQ','getTicketService','XdgCM','请求获取Cookies时失败','1655916nneIzD','clientKey','98455fMXFRM','then','get','forEach','PvWmW','HttpsGetCookies','aoaYW','entries','getUserDetailInfoWithBizInfo','pbYMY','now','getUserDetailInfo\x20timeout','domainPskeyMap','assign','zBXRV','skey','KeyIndex'];_0x3082=function(){return _0x263733;};return _0x3082();}export class NTQQUserApi{static async[_0x42953d(0x1e4)](_0x413ca6,_0x52d957,_0x5c1f04){return napCatCore['session']['getMsgService']()['setStatus']({'status':_0x413ca6,'extStatus':_0x52d957,'batteryStatus':_0x5c1f04});}static async['like'](_0x171e5c,_0x1461fb=0x1){const _0x6a22=_0x42953d;return napCatCore[_0x6a22(0x22c)][_0x6a22(0x1ea)]()['setBuddyProfileLike']({'friendUid':_0x171e5c,'sourceId':0x47,'doLikeCount':_0x1461fb,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x1af29a){const _0x31916c=_0x42953d,_0x313341=napCatCore['session'][_0x31916c(0x1e8)]()['setHeader'](_0x1af29a);return{'result':_0x313341?.[_0x31916c(0x218)],'errMsg':_0x313341?.[_0x31916c(0x1f8)]};}static async[_0x42953d(0x1e6)](){}static async['getUserInfo'](_0x17c909){}static async[_0x42953d(0x217)](_0x419079){const _0x33c2e6=_0x42953d,_0x9f406d={'uECMR':function(_0x2d08f8,_0x2644f3){return _0x2d08f8(_0x2644f3);},'YPaqv':function(_0x3f72f2,_0x5a978f,_0x2f0a28){return _0x3f72f2(_0x5a978f,_0x2f0a28);}},_0x4f8921=napCatCore[_0x33c2e6(0x22c)]['getProfileService']();return new Promise((_0x2ed50a,_0x20c962)=>{const _0x239a3b=_0x33c2e6,_0x2987b5={'FbYPy':function(_0x2dba5a,_0x35fc63){return _0x2dba5a(_0x35fc63);}},_0x19c307=randomUUID();let _0x366c50=![],_0x2b4ff2=undefined,_0x1972cb=!![];_0x9f406d[_0x239a3b(0x1e7)](setTimeout,()=>{const _0xa18b1f=_0x239a3b;!_0x366c50&&(_0x2b4ff2?_0x9f406d[_0xa18b1f(0x1f6)](_0x2ed50a,_0x2b4ff2):_0x9f406d[_0xa18b1f(0x1f6)](_0x20c962,_0xa18b1f(0x211))),userDetailHandlers['delete'](_0x19c307);},0x1388),userDetailHandlers[_0x239a3b(0x22f)](_0x19c307,_0x41211f=>{const _0x9360ed=_0x239a3b;_0x41211f[_0x9360ed(0x1eb)]===_0x419079&&(uid2UinMap[_0x419079]=_0x41211f[_0x9360ed(0x1fb)],_0x1972cb?(_0x2b4ff2=_0x41211f,_0x1972cb=![]):(_0x366c50=!![],_0x2987b5[_0x9360ed(0x224)](_0x2ed50a,_0x41211f)));}),_0x4f8921[_0x239a3b(0x20e)](_0x419079,[0x0])[_0x239a3b(0x207)](_0x415b6d=>{});});}static async[_0x42953d(0x228)](_0x4fb98d,_0x23f94b=!![]){const _0x6db7c1=_0x42953d,_0x293d81={'luHlD':function(_0x2f1506,_0x3a7e98){return _0x2f1506>_0x3a7e98;},'GbUNS':function(_0x2c8515,_0x400125){return _0x2c8515>_0x400125;},'zBXRV':function(_0x198772,_0x434f6e){return _0x198772===_0x434f6e;},'UJTlS':_0x6db7c1(0x223)},_0x284442=[],_0x2e253e={};for(const _0x4eb8f8 in _0x4fb98d){const _0x35f70f=Credentials[_0x6db7c1(0x1ed)][_0x6db7c1(0x208)](_0x4fb98d[_0x4eb8f8]),_0x39a368=Credentials['PskeyTime'][_0x6db7c1(0x208)](_0x4fb98d[_0x4eb8f8]);!_0x35f70f||!_0x39a368||_0x293d81['luHlD'](Date[_0x6db7c1(0x210)]()-_0x39a368,0x708*0x3e8)||!_0x23f94b?_0x284442['push'](_0x4fb98d[_0x4eb8f8]):_0x2e253e[_0x4fb98d[_0x4eb8f8]]=_0x35f70f;}let _0x31ad9c={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x293d81[_0x6db7c1(0x21f)](_0x284442['length'],0x0)&&(_0x31ad9c=await napCatCore[_0x6db7c1(0x22c)][_0x6db7c1(0x21a)]()[_0x6db7c1(0x21e)](_0x284442,!![]));const _0x50981a=_0x31ad9c[_0x6db7c1(0x212)];for(const _0x27c768 of _0x50981a[_0x6db7c1(0x20d)]()){Credentials[_0x6db7c1(0x1ed)]['set'](_0x27c768[0x0],_0x27c768[0x1]),Credentials['PskeyTime'][_0x6db7c1(0x22f)](_0x27c768[0x0],Date['now']());}const _0x4e208c=Object[_0x6db7c1(0x213)](Object[_0x6db7c1(0x221)](_0x50981a),_0x2e253e);if(_0x293d81[_0x6db7c1(0x214)](_0x31ad9c['result'],0x0))return _0x4e208c;else logError(_0x293d81['UJTlS'],_0x31ad9c[_0x6db7c1(0x1f8)]);return{};}static async[_0x42953d(0x1ef)](){const _0x36232d=_0x42953d,_0x418c3b=await napCatCore[_0x36232d(0x22c)][_0x36232d(0x1f2)]()[_0x36232d(0x1ef)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x418c3b?.['response']?.[_0x36232d(0x222)];}static async['getQzoneCookies'](){const _0x633ec0=_0x42953d,_0x50b78d={'gRvIA':function(_0x496912,_0x4ad259){return _0x496912+_0x4ad259;},'pjWwX':function(_0x3a25f4,_0x479895){return _0x3a25f4+_0x479895;},'PvWmW':function(_0x2e9e1c,_0x1e7ac4){return _0x2e9e1c+_0x1e7ac4;},'LUhuN':_0x633ec0(0x22b),'JhXno':_0x633ec0(0x1e9),'oGgfD':function(_0x3ff9d6,_0x40a09c,_0x2cfdca){return _0x3ff9d6(_0x40a09c,_0x2cfdca);},'vzvce':_0x633ec0(0x203)},_0x4ff41f=_0x50b78d[_0x633ec0(0x1f1)](_0x50b78d['gRvIA'](_0x50b78d['gRvIA'](_0x50b78d['gRvIA'](_0x50b78d['pjWwX'](_0x50b78d[_0x633ec0(0x20a)](_0x633ec0(0x1fe),selfInfo['uin']),_0x50b78d['LUhuN']),Credentials[_0x633ec0(0x226)]),_0x50b78d[_0x633ec0(0x1e3)]),selfInfo[_0x633ec0(0x1fb)]),'%2Finfocenter&keyindex=19%27');let _0x56d94e={};try{_0x56d94e=await RequestUtil['HttpsGetCookies'](_0x4ff41f);}catch(_0x139b2c){_0x50b78d[_0x633ec0(0x1ee)](logDebug,_0x50b78d[_0x633ec0(0x229)],_0x139b2c),_0x56d94e={};}return _0x56d94e;}static async['getSkey'](_0x46f967=!![]){const _0x1d860c=_0x42953d,_0x508e2a={'RORyT':function(_0x26cace,_0x3255b7){return _0x26cace-_0x3255b7;},'zAHbx':function(_0x6f3d7,_0x24a86){return _0x6f3d7*_0x24a86;},'yDGOi':function(_0x1c6a59,_0x2c9244){return _0x1c6a59!==_0x2c9244;},'poKGd':function(_0x47792e,_0x3400c0){return _0x47792e+_0x3400c0;},'OCrYs':function(_0x284ff5,_0x745712){return _0x284ff5+_0x745712;},'aoaYW':function(_0x4da865,_0x2e4760){return _0x4da865+_0x2e4760;},'pbYMY':function(_0x372cca,_0x4d24e3){return _0x372cca+_0x4d24e3;},'LCgUd':_0x1d860c(0x1fe),'HRKii':_0x1d860c(0x22b),'YjnCM':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','QZlDL':function(_0x3daac5,_0x54b621,_0x1e173c){return _0x3daac5(_0x54b621,_0x1e173c);},'XdgCM':_0x1d860c(0x215)};try{if(Credentials[_0x1d860c(0x219)]==0x0||_0x508e2a['RORyT'](Date['now'](),Credentials[_0x1d860c(0x219)])>_0x508e2a['zAHbx'](0x3e8,0xe10)||!_0x46f967){const _0x5c3c80=await napCatCore[_0x1d860c(0x22c)][_0x1d860c(0x201)]()[_0x1d860c(0x225)]('');if(_0x508e2a['yDGOi'](_0x5c3c80[_0x1d860c(0x218)],0x0))return'';const _0x2707df=_0x5c3c80[_0x1d860c(0x205)],_0x1ce78f=_0x5c3c80[_0x1d860c(0x1f9)],_0x548669=_0x508e2a[_0x1d860c(0x220)](_0x508e2a[_0x1d860c(0x220)](_0x508e2a[_0x1d860c(0x1ff)](_0x508e2a[_0x1d860c(0x20c)](_0x508e2a[_0x1d860c(0x20f)](_0x508e2a[_0x1d860c(0x1f3)],selfInfo[_0x1d860c(0x1fb)]),_0x508e2a[_0x1d860c(0x1fc)]),_0x2707df),_0x508e2a[_0x1d860c(0x21d)]),_0x1ce78f);let _0x3dcb9e={};try{_0x3dcb9e=await RequestUtil[_0x1d860c(0x20b)](_0x548669);}catch(_0x4d322e){_0x508e2a['QZlDL'](logDebug,_0x1d860c(0x1f4),_0x4d322e),_0x3dcb9e={};}const _0x59119e=_0x3dcb9e[_0x508e2a[_0x1d860c(0x202)]];if(!_0x59119e)return'';return Credentials[_0x1d860c(0x226)]=_0x2707df,Credentials[_0x1d860c(0x216)]=_0x1ce78f,Credentials['CreatTime']=Date[_0x1d860c(0x210)](),Credentials[_0x1d860c(0x22e)]=_0x59119e,_0x59119e;}return Credentials[_0x1d860c(0x22e)];}catch(_0x3c6a82){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 779f1051..c17f75b3 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x46e534=_0xb1e9;(function(_0x617899,_0x56bd7b){const _0x20ea30=_0xb1e9,_0x559386=_0x617899();while(!![]){try{const _0x509348=-parseInt(_0x20ea30(0x249))/0x1*(parseInt(_0x20ea30(0x270))/0x2)+-parseInt(_0x20ea30(0x219))/0x3+parseInt(_0x20ea30(0x248))/0x4*(parseInt(_0x20ea30(0x276))/0x5)+-parseInt(_0x20ea30(0x23b))/0x6*(-parseInt(_0x20ea30(0x235))/0x7)+parseInt(_0x20ea30(0x24c))/0x8+-parseInt(_0x20ea30(0x26b))/0x9+parseInt(_0x20ea30(0x25e))/0xa;if(_0x509348===_0x56bd7b)break;else _0x559386['push'](_0x559386['shift']());}catch(_0x23047c){_0x559386['push'](_0x559386['shift']());}}}(_0x1863,0x992ed));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0xb1e9(_0x377f4f,_0xffacc){const _0x1863ce=_0x1863();return _0xb1e9=function(_0xb1e91c,_0x35117c){_0xb1e91c=_0xb1e91c-0x1ec;let _0x166228=_0x1863ce[_0xb1e91c];return _0x166228;},_0xb1e9(_0x377f4f,_0xffacc);}export var WebHonorType;(function(_0x27b4cc){const _0x3872ff=_0xb1e9,_0x1b96c7={'JwOkf':_0x3872ff(0x230),'IqJCy':_0x3872ff(0x20e),'YPmVN':_0x3872ff(0x1fd),'LAImE':_0x3872ff(0x1f7),'BvRIx':_0x3872ff(0x214),'HQIVt':'legend','VgktU':'STORONGE_NEWBI','LDhCB':_0x3872ff(0x204),'shJQk':_0x3872ff(0x261)};_0x27b4cc[_0x3872ff(0x215)]=_0x1b96c7['JwOkf'],_0x27b4cc[_0x1b96c7['IqJCy']]=_0x1b96c7[_0x3872ff(0x208)],_0x27b4cc[_0x1b96c7[_0x3872ff(0x22e)]]=_0x3872ff(0x234),_0x27b4cc[_0x1b96c7[_0x3872ff(0x22a)]]=_0x1b96c7['HQIVt'],_0x27b4cc[_0x1b96c7['VgktU']]=_0x1b96c7['LDhCB'],_0x27b4cc[_0x1b96c7[_0x3872ff(0x21f)]]=_0x3872ff(0x22f);}(WebHonorType||(WebHonorType={})));function _0x1863(){const _0x408292=['NEriF','EMOTION','sGhLs','获取龙王信息失败','kiKAG','获取当前群荣耀失败','VtxwA','AbUAi','p_skey=','Hvtrj','xIMJA','3277377Lyesql','JQxZs','charCodeAt','&qid=','errcode','10ZoxEwn','setGroupNotice','getGroupMembers','aLhpp','ykluI','description','310045YpwGJr','GET','SDYJw','name','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','wrGzy','ceil','FNlKE','mems','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','pFMPV','uiLMV','vviTk',';\x20skey=','mzSiJ','get','FLHLx','HttpGetJson','HzFUW','LWPkU','BrcNH','tAnhb','kmVKD','qUYdP','JSsnI','PERFROMER',';\x20uin=o','OgRWo','DNWAx','GyDNr','tbyES','talkative','&bkn=','&end=','rOTPk','uzRUW','getGrouptNotice','HKwTL','strong_newbie','ZaIdC','strong_newbie_list','XGjBr','YPmVN','MWKpY','emotion_list','Mzbyb','&page_limit=20',';\x20p_uin=o','TALKACTIVE','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','jSKID','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','yCLuH','getPSkey','LEGEND','ALL','legend_list','getSkey','ONuJS','2675343VccGLu','Mxufb','retcode','hAgfq','tFlfg','push','shJQk','AHhli','YDMLs','ZhmhA','cKmij','UCoOV','wJdBd','lDguV','VHOcJ','zRwql','QEqiA','BvRIx','获取群聊炽焰失败','Muytf','HttpGetText','LAImE','emotion','all','nHeuV','ahaxb','desc','performer','7742bDmSfK','JXqaa','oXFqO','getGroupHonorInfo','BzqWi','qun.qq.com','768oipiVW','VynrW','GvTOz','uin','CIpfY','avatar','trim','suJiv','&group_code=','https://qun.qq.com/interactive/honorlist?gc=','bRSQC','current_talkative','talkative_list','32sipbAe','85097VDVjSB','orAPH','rOSZK','6622296tkySfY','jqOHe','set','PoMrp','talkativeList','actorList','now','qid=','kYFBn','genBkn','PxeEh','pieiU','MZksp','GroupTime','vyNGu','wrcCW','Pkplq','FYXRu','8434290rqmTLg','count'];_0x1863=function(){return _0x408292;};return _0x1863();}export class WebApi{static async['getGroupEssenceMsg'](_0xe9ccad,_0x4d6577){const _0x9771e0=_0xb1e9,_0x1060fc={'wrGzy':'qun.qq.com','yCLuH':function(_0x3f4098,_0x3f37c9){return _0x3f4098+_0x3f37c9;},'Hvtrj':function(_0x2d9184,_0x13fa8a){return _0x2d9184+_0x13fa8a;},'LWPkU':_0x9771e0(0x268),'ykluI':_0x9771e0(0x283),'GvTOz':_0x9771e0(0x20d),'raneV':_0x9771e0(0x1f8),'bRSQC':function(_0x24d35a,_0x407751){return _0x24d35a||_0x407751;},'Pkplq':function(_0x10443b,_0x45e073){return _0x10443b+_0x45e073;},'kYFBn':function(_0x337701,_0xeb8391){return _0x337701+_0xeb8391;},'HzFUW':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','Owoyp':_0x9771e0(0x243),'nHeuV':'&page_start=','FLHLx':_0x9771e0(0x20c),'HKwTL':_0x9771e0(0x277),'VHOcJ':function(_0x4a3972,_0x23d1de){return _0x4a3972!==_0x23d1de;}},_0x366457=(await NTQQUserApi[_0x9771e0(0x213)]([_0x9771e0(0x23a)]))[_0x1060fc[_0x9771e0(0x27b)]],_0x5b25a4=await NTQQUserApi[_0x9771e0(0x217)](),_0xd5825=_0x1060fc[_0x9771e0(0x212)](_0x1060fc['yCLuH'](_0x1060fc[_0x9771e0(0x212)](_0x1060fc[_0x9771e0(0x212)](_0x1060fc['Hvtrj'](_0x1060fc[_0x9771e0(0x212)](_0x1060fc[_0x9771e0(0x1f1)]+_0x366457,_0x1060fc[_0x9771e0(0x274)]),_0x5b25a4),_0x1060fc[_0x9771e0(0x23d)]),selfInfo[_0x9771e0(0x23e)]),_0x1060fc['raneV']),selfInfo[_0x9771e0(0x23e)]);if(_0x1060fc[_0x9771e0(0x245)](!_0x5b25a4,!_0x366457))return undefined;const _0x1465f3=WebApi['genBkn'](_0x5b25a4),_0x3b1de1=_0x1060fc[_0x9771e0(0x25c)](_0x1060fc[_0x9771e0(0x269)](_0x1060fc[_0x9771e0(0x269)](_0x1060fc[_0x9771e0(0x254)](_0x1060fc[_0x9771e0(0x1f0)],_0x1465f3),_0x1060fc['Owoyp'])+_0xe9ccad,_0x1060fc[_0x9771e0(0x231)]),_0x4d6577)+_0x1060fc[_0x9771e0(0x1ee)];let _0x5438a3;try{_0x5438a3=await RequestUtil[_0x9771e0(0x1ef)](_0x3b1de1,_0x1060fc[_0x9771e0(0x203)],'',{'Cookie':_0xd5825});}catch{return undefined;}if(_0x1060fc[_0x9771e0(0x227)](_0x5438a3[_0x9771e0(0x21b)],0x0))return undefined;return _0x5438a3;}static async[_0x46e534(0x272)](_0x421899,_0x4eb224=!![]){const _0x25e2b0=_0x46e534,_0x4e08f1={'FNlKE':function(_0xdcd0d8,_0xd685d7){return _0xdcd0d8-_0xd685d7;},'YDMLs':_0x25e2b0(0x23a),'uiLMV':function(_0x2fe731,_0x5b57b3){return _0x2fe731+_0x5b57b3;},'lDguV':_0x25e2b0(0x268),'VtxwA':function(_0x377afb,_0x2ec377){return _0x377afb||_0x2ec377;},'JXqaa':function(_0x551da1,_0x1ec3b7){return _0x551da1+_0x1ec3b7;},'XGjBr':_0x25e2b0(0x1fe),'rOTPk':'POST','pieiU':function(_0x3c3058,_0x113652){return _0x3c3058!==_0x113652;},'wLHgh':function(_0x499738,_0x339ca6){return _0x499738/_0x339ca6;},'AHhli':function(_0x58d845,_0x3ae4cf){return _0x58d845<=_0x3ae4cf;},'oXFqO':function(_0x12e9ef,_0xfcbb49){return _0x12e9ef+_0xfcbb49;},'MWKpY':function(_0x4b75f0,_0x449686){return _0x4b75f0+_0x449686;},'Mxufb':function(_0xc3b654,_0x460308){return _0xc3b654+_0x460308;},'JQxZs':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','SDYJw':_0x25e2b0(0x1ff),'OgRWo':function(_0x12ac4f,_0x9334ed){return _0x12ac4f*_0x9334ed;},'pFMPV':'&sort=1&gc='};let _0x1e118c=new Array();try{let _0x174e11=WebGroupData['GroupData'][_0x25e2b0(0x1ed)](_0x421899),_0xbeab49=WebGroupData[_0x25e2b0(0x259)]['get'](_0x421899);if(!_0xbeab49||_0x4e08f1[_0x25e2b0(0x27d)](Date[_0x25e2b0(0x252)](),_0xbeab49)>0x708*0x3e8||!_0x4eb224){const _0x9be534=(await NTQQUserApi[_0x25e2b0(0x213)]([_0x4e08f1[_0x25e2b0(0x221)]]))[_0x4e08f1[_0x25e2b0(0x221)]],_0x223fec=await NTQQUserApi[_0x25e2b0(0x217)](),_0x2e14df=_0x4e08f1['uiLMV'](_0x4e08f1['uiLMV'](_0x4e08f1[_0x25e2b0(0x281)](_0x4e08f1[_0x25e2b0(0x281)](_0x4e08f1[_0x25e2b0(0x226)]+_0x9be534,_0x25e2b0(0x283)),_0x223fec),_0x25e2b0(0x20d)),selfInfo[_0x25e2b0(0x23e)]);if(_0x4e08f1[_0x25e2b0(0x266)](!_0x223fec,!_0x9be534))return _0x1e118c;const _0x23630e=WebApi[_0x25e2b0(0x255)](_0x223fec),_0x555f84=[],_0x224d9b=await RequestUtil[_0x25e2b0(0x1ef)](_0x4e08f1[_0x25e2b0(0x281)](_0x4e08f1[_0x25e2b0(0x236)](_0x25e2b0(0x20f)+_0x421899,_0x4e08f1[_0x25e2b0(0x207)]),_0x23630e),_0x4e08f1[_0x25e2b0(0x200)],'',{'Cookie':_0x2e14df});if(!_0x224d9b?.[_0x25e2b0(0x25f)]||_0x4e08f1[_0x25e2b0(0x257)](_0x224d9b?.[_0x25e2b0(0x26f)],0x0)||!_0x224d9b?.['mems'])return[];else for(const _0x37f41e in _0x224d9b[_0x25e2b0(0x27e)]){_0x1e118c[_0x25e2b0(0x21e)](_0x224d9b[_0x25e2b0(0x27e)][_0x37f41e]);}const _0x21ba05=Math[_0x25e2b0(0x27c)](_0x4e08f1['wLHgh'](_0x224d9b['count'],0x28));for(let _0x5bb141=0x2;_0x4e08f1['AHhli'](_0x5bb141,_0x21ba05);_0x5bb141++){const _0x399eb3=RequestUtil[_0x25e2b0(0x1ef)](_0x4e08f1['JXqaa'](_0x4e08f1[_0x25e2b0(0x237)](_0x4e08f1[_0x25e2b0(0x237)](_0x4e08f1['uiLMV'](_0x4e08f1[_0x25e2b0(0x209)](_0x4e08f1[_0x25e2b0(0x21a)](_0x4e08f1[_0x25e2b0(0x209)](_0x4e08f1[_0x25e2b0(0x26c)],(_0x5bb141-0x1)*0x28),_0x4e08f1[_0x25e2b0(0x278)]),_0x4e08f1[_0x25e2b0(0x1f9)](_0x5bb141,0x28)),_0x4e08f1[_0x25e2b0(0x280)]),_0x421899),_0x25e2b0(0x1fe)),_0x23630e),_0x4e08f1[_0x25e2b0(0x200)],'',{'Cookie':_0x2e14df});_0x555f84[_0x25e2b0(0x21e)](_0x399eb3);}for(let _0x1e5de6=0x1;_0x4e08f1[_0x25e2b0(0x220)](_0x1e5de6,_0x21ba05);_0x1e5de6++){const _0x33c5ba=await _0x555f84[_0x1e5de6];if(!_0x33c5ba?.[_0x25e2b0(0x25f)]||_0x33c5ba?.['errcode']!==0x0||!_0x33c5ba?.[_0x25e2b0(0x27e)])continue;for(const _0x112a3a in _0x33c5ba[_0x25e2b0(0x27e)]){_0x1e118c[_0x25e2b0(0x21e)](_0x33c5ba[_0x25e2b0(0x27e)][_0x112a3a]);}}WebGroupData['GroupData']['set'](_0x421899,_0x1e118c),WebGroupData['GroupTime'][_0x25e2b0(0x24e)](_0x421899,Date[_0x25e2b0(0x252)]());}else _0x1e118c=_0x174e11;}catch{return _0x1e118c;}return _0x1e118c;}static async[_0x46e534(0x271)](_0x1dd356,_0x2fb508=''){const _0x23bf9a=_0x46e534,_0x30e6bb={'rOSZK':'qun.qq.com','tFlfg':function(_0x4c6ab2,_0x5203dd){return _0x4c6ab2+_0x5203dd;},'PxeEh':_0x23bf9a(0x268),'ONuJS':';\x20p_uin=o','cKmij':function(_0x29960b,_0x30b529){return _0x29960b+_0x30b529;},'mzSiJ':_0x23bf9a(0x253),'PoMrp':'&bkn=','VynrW':'&text=','JXRQb':_0x23bf9a(0x211),'kmVKD':function(_0x728538,_0x430079){return _0x728538+_0x430079;},'MZksp':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x5d8e21=(await NTQQUserApi[_0x23bf9a(0x213)]([_0x30e6bb['rOSZK']]))[_0x30e6bb[_0x23bf9a(0x24b)]],_0x3d9c19=await NTQQUserApi[_0x23bf9a(0x217)](),_0x37c700=_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x256)]+_0x5d8e21,_0x23bf9a(0x283))+_0x3d9c19+_0x30e6bb[_0x23bf9a(0x218)],selfInfo[_0x23bf9a(0x23e)]);let _0x10d088=undefined;if(!_0x3d9c19||!_0x5d8e21)return undefined;const _0x57c7cf=WebApi[_0x23bf9a(0x255)](_0x3d9c19),_0x150edf=_0x30e6bb['tFlfg'](_0x30e6bb[_0x23bf9a(0x223)](_0x30e6bb[_0x23bf9a(0x223)](_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x1ec)]+_0x1dd356,_0x30e6bb[_0x23bf9a(0x24f)]),_0x57c7cf),_0x30e6bb[_0x23bf9a(0x23c)]),_0x2fb508),_0x30e6bb['JXRQb']),_0x27d775=_0x30e6bb[_0x23bf9a(0x1f4)](_0x30e6bb[_0x23bf9a(0x258)],_0x57c7cf);try{return _0x10d088=await RequestUtil[_0x23bf9a(0x1ef)](_0x27d775,'GET','',{'Cookie':_0x37c700}),_0x10d088;}catch(_0x39dba0){return undefined;}return undefined;}static async[_0x46e534(0x202)](_0x5567a4){const _0x49aa54=_0x46e534,_0x53852c={'qUYdP':_0x49aa54(0x23a),'ahaxb':function(_0x55cb46,_0x4681d4){return _0x55cb46+_0x4681d4;},'uzRUW':function(_0x572dd7,_0x5a468d){return _0x572dd7+_0x5a468d;},'BzqWi':function(_0x5305d4,_0x216f9f){return _0x5305d4+_0x216f9f;},'pilnX':function(_0x39c797,_0x5498e5){return _0x39c797+_0x5498e5;},'ZaIdC':_0x49aa54(0x268),'QEqiA':_0x49aa54(0x20d),'tbyES':function(_0x3da152,_0x2ffeae){return _0x3da152+_0x2ffeae;},'kiKAG':_0x49aa54(0x27a),'BrcNH':_0x49aa54(0x26e),'orAPH':function(_0x5b68db,_0x295099){return _0x5b68db!==_0x295099;}},_0x244f21=(await NTQQUserApi[_0x49aa54(0x213)]([_0x53852c[_0x49aa54(0x1f5)]]))[_0x53852c['qUYdP']],_0x39b64c=await NTQQUserApi[_0x49aa54(0x217)](),_0x499be2=_0x53852c[_0x49aa54(0x232)](_0x53852c[_0x49aa54(0x201)](_0x53852c[_0x49aa54(0x239)](_0x53852c['pilnX'](_0x53852c['BzqWi'](_0x53852c[_0x49aa54(0x205)],_0x244f21),_0x49aa54(0x283)),_0x39b64c),_0x53852c[_0x49aa54(0x229)]),selfInfo[_0x49aa54(0x23e)]);let _0x5d8b85=undefined;if(!_0x39b64c||!_0x244f21)return undefined;const _0x35ea5e=WebApi[_0x49aa54(0x255)](_0x39b64c),_0x1c5863=_0x53852c[_0x49aa54(0x239)](_0x53852c[_0x49aa54(0x232)](_0x53852c[_0x49aa54(0x1fc)](_0x53852c[_0x49aa54(0x264)],_0x35ea5e),_0x53852c[_0x49aa54(0x1f2)]),_0x5567a4)+_0x49aa54(0x27f);try{_0x5d8b85=await RequestUtil[_0x49aa54(0x1ef)](_0x1c5863,_0x49aa54(0x277),'',{'Cookie':_0x499be2});if(_0x53852c[_0x49aa54(0x24a)](_0x5d8b85?.['ec'],0x0))return undefined;return _0x5d8b85;}catch(_0x5082fa){return undefined;}return undefined;}static[_0x46e534(0x255)](_0x4a7f16){const _0x2261c5=_0x46e534,_0x39221b={'FYXRu':function(_0x26077c,_0x467f12){return _0x26077c||_0x467f12;},'DNWAx':function(_0x141e85,_0x1e793d){return _0x141e85+_0x1e793d;},'CIpfY':function(_0x3e9385,_0x518ef5){return _0x3e9385<<_0x518ef5;},'GyDNr':function(_0x559cbb,_0x5e2b79){return _0x559cbb&_0x5e2b79;}};_0x4a7f16=_0x39221b[_0x2261c5(0x25d)](_0x4a7f16,'');let _0x1e3c33=0x1505;for(let _0x14b4eb=0x0;_0x14b4eb<_0x4a7f16['length'];_0x14b4eb++){const _0x3879e4=_0x4a7f16[_0x2261c5(0x26d)](_0x14b4eb);_0x1e3c33=_0x39221b[_0x2261c5(0x1fa)](_0x39221b[_0x2261c5(0x1fa)](_0x1e3c33,_0x39221b[_0x2261c5(0x23f)](_0x1e3c33,0x5)),_0x3879e4);}return _0x39221b[_0x2261c5(0x1fb)](_0x1e3c33,0x7fffffff)['toString']();}static async[_0x46e534(0x238)](_0x56e8d0,_0x7aebc7){const _0xb9accb=_0x46e534,_0x32bd13={'AbUAi':function(_0x2e3bc2,_0x3ea905){return _0x2e3bc2+_0x3ea905;},'SwSQQ':'&type=','sGhLs':function(_0x3cd32a,_0x290bb4){return _0x3cd32a===_0x290bb4;},'tHGYP':function(_0x25ea8b,_0x829290,_0x231ac2,_0x497664){return _0x25ea8b(_0x829290,_0x231ac2,_0x497664);},'vviTk':_0xb9accb(0x265),'tAnhb':_0xb9accb(0x23a),'vyNGu':function(_0x4d2ab4,_0x4b6da1){return _0x4d2ab4||_0x4b6da1;},'xIMJA':function(_0x4da2ac,_0x37adea){return _0x4da2ac+_0x37adea;},'Muytf':function(_0x2d5d9c,_0x4b5a46){return _0x2d5d9c+_0x4b5a46;},'FYRGI':_0xb9accb(0x268),'JSsnI':_0xb9accb(0x283),'jqOHe':';\x20p_uin=o','ggTAB':';\x20uin=o','UCoOV':function(_0x4a2501,_0x5727db){return _0x4a2501===_0x5727db;},'hAgfq':function(_0x3fabae,_0x1812a7,_0x52a7dd){return _0x3fabae(_0x1812a7,_0x52a7dd);},'ZhmhA':_0xb9accb(0x263),'zRwql':function(_0x204a78,_0x5a6522){return _0x204a78(_0x5a6522);},'suJiv':'获取群聊之火失败','wrcCW':function(_0x1a2362,_0x5601c2){return _0x1a2362===_0x5601c2;},'NEriF':function(_0x1246fd,_0xf8a653){return _0x1246fd===_0xf8a653;},'Mzbyb':function(_0x44fd4c,_0x3722b1,_0x3ebdc0){return _0x44fd4c(_0x3722b1,_0x3ebdc0);},'NNoIX':_0xb9accb(0x22b),'Sdxhx':function(_0x4b67e3,_0x59cfb4,_0x34402d){return _0x4b67e3(_0x59cfb4,_0x34402d);},'aLhpp':'获取快乐源泉失败','jSKID':function(_0x597c47,_0x87f00,_0x7c2ab0){return _0x597c47(_0x87f00,_0x7c2ab0);},'wJdBd':function(_0x3a44d6,_0x1c6576){return _0x3a44d6===_0x1c6576;}},_0x34827a=(await NTQQUserApi[_0xb9accb(0x213)](['qun.qq.com']))[_0x32bd13[_0xb9accb(0x1f3)]],_0x1ff3b6=await NTQQUserApi['getSkey']();if(_0x32bd13[_0xb9accb(0x25a)](!_0x1ff3b6,!_0x34827a))return undefined;async function _0x5dc18b(_0x1a96ec,_0x1ebff5){const _0xb43164=_0xb9accb;let _0x179dae=_0x32bd13['AbUAi'](_0x32bd13[_0xb43164(0x267)](_0xb43164(0x244),_0x1a96ec),_0x32bd13['SwSQQ'])+_0x1ebff5['toString'](),_0x2cdd82='',_0x280b07;try{_0x2cdd82=await RequestUtil[_0xb43164(0x22d)](_0x179dae,_0xb43164(0x277),'',{'Cookie':_0x16efc9});const _0x5a6138=_0x2cdd82['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x5a6138&&(_0x280b07=JSON['parse'](_0x5a6138[0x1][_0xb43164(0x241)]())),_0x32bd13[_0xb43164(0x262)](_0x1ebff5,0x1)?_0x280b07?.[_0xb43164(0x250)]:_0x280b07?.[_0xb43164(0x251)];}catch(_0x2c5b26){_0x32bd13['tHGYP'](logDebug,_0x32bd13[_0xb43164(0x282)],_0x179dae,_0x2c5b26);}return undefined;}let _0x356a94={'group_id':_0x56e8d0};const _0x16efc9=_0x32bd13['xIMJA'](_0x32bd13['xIMJA'](_0x32bd13[_0xb9accb(0x22c)](_0x32bd13[_0xb9accb(0x26a)](_0x32bd13[_0xb9accb(0x26a)](_0x32bd13['FYRGI']+_0x34827a,_0x32bd13[_0xb9accb(0x1f6)]),_0x1ff3b6),_0x32bd13[_0xb9accb(0x24d)]),selfInfo[_0xb9accb(0x23e)])+_0x32bd13['ggTAB'],selfInfo[_0xb9accb(0x23e)]);if(_0x32bd13[_0xb9accb(0x262)](_0x7aebc7,WebHonorType[_0xb9accb(0x20e)])||_0x32bd13[_0xb9accb(0x224)](_0x7aebc7,WebHonorType[_0xb9accb(0x215)]))try{let _0x1b17ba=await _0x32bd13[_0xb9accb(0x21c)](_0x5dc18b,_0x56e8d0,0x1);if(!_0x1b17ba)throw new Error(_0x32bd13[_0xb9accb(0x222)]);_0x356a94[_0xb9accb(0x246)]={'user_id':_0x1b17ba[0x0]?.[_0xb9accb(0x23e)],'avatar':_0x1b17ba[0x0]?.[_0xb9accb(0x240)],'nickname':_0x1b17ba[0x0]?.[_0xb9accb(0x279)],'day_count':0x0,'description':_0x1b17ba[0x0]?.[_0xb9accb(0x233)]},_0x356a94[_0xb9accb(0x247)]=[];for(const _0x4a55d3 of _0x1b17ba){_0x356a94[_0xb9accb(0x247)][_0xb9accb(0x21e)]({'user_id':_0x4a55d3?.['uin'],'avatar':_0x4a55d3?.[_0xb9accb(0x240)],'description':_0x4a55d3?.[_0xb9accb(0x233)],'day_count':0x0,'nickname':_0x4a55d3?.['name']});}}catch(_0xdfcb16){_0x32bd13[_0xb9accb(0x228)](logDebug,_0xdfcb16);}if(_0x32bd13[_0xb9accb(0x262)](_0x7aebc7,WebHonorType[_0xb9accb(0x1f7)])||_0x32bd13[_0xb9accb(0x224)](_0x7aebc7,WebHonorType[_0xb9accb(0x215)]))try{let _0x41b0fa=await _0x5dc18b(_0x56e8d0,0x2);if(!_0x41b0fa)throw new Error(_0x32bd13[_0xb9accb(0x242)]);_0x356a94['performer_list']=[];for(const _0x585102 of _0x41b0fa){_0x356a94['performer_list'][_0xb9accb(0x21e)]({'user_id':_0x585102?.[_0xb9accb(0x23e)],'nickname':_0x585102?.[_0xb9accb(0x279)],'avatar':_0x585102?.['avatar'],'description':_0x585102?.[_0xb9accb(0x233)]});}}catch(_0x28c521){_0x32bd13[_0xb9accb(0x228)](logDebug,_0x28c521);}if(_0x32bd13['wrcCW'](_0x7aebc7,WebHonorType[_0xb9accb(0x1f7)])||_0x32bd13[_0xb9accb(0x260)](_0x7aebc7,WebHonorType['ALL']))try{let _0x545f48=await _0x5dc18b(_0x56e8d0,0x3);if(!_0x545f48)throw new Error(_0xb9accb(0x22b));_0x356a94[_0xb9accb(0x216)]=[];for(const _0x3abe97 of _0x545f48){_0x356a94[_0xb9accb(0x216)][_0xb9accb(0x21e)]({'user_id':_0x3abe97?.['uin'],'nickname':_0x3abe97?.[_0xb9accb(0x279)],'avatar':_0x3abe97?.[_0xb9accb(0x240)],'desc':_0x3abe97?.[_0xb9accb(0x275)]});}}catch(_0x5516fb){_0x32bd13[_0xb9accb(0x20b)](logDebug,_0x32bd13['NNoIX'],_0x5516fb);}if(_0x7aebc7===WebHonorType[_0xb9accb(0x261)]||_0x32bd13[_0xb9accb(0x25b)](_0x7aebc7,WebHonorType[_0xb9accb(0x215)]))try{let _0x5aa30f=await _0x32bd13['Sdxhx'](_0x5dc18b,_0x56e8d0,0x6);if(!_0x5aa30f)throw new Error(_0x32bd13[_0xb9accb(0x273)]);_0x356a94[_0xb9accb(0x20a)]=[];for(const _0x2d18a9 of _0x5aa30f){_0x356a94[_0xb9accb(0x20a)][_0xb9accb(0x21e)]({'user_id':_0x2d18a9?.[_0xb9accb(0x23e)],'nickname':_0x2d18a9?.[_0xb9accb(0x279)],'avatar':_0x2d18a9?.[_0xb9accb(0x240)],'desc':_0x2d18a9?.['description']});}}catch(_0x412344){_0x32bd13[_0xb9accb(0x210)](logDebug,_0x32bd13[_0xb9accb(0x273)],_0x412344);}return(_0x32bd13[_0xb9accb(0x25b)](_0x7aebc7,WebHonorType[_0xb9accb(0x261)])||_0x32bd13[_0xb9accb(0x225)](_0x7aebc7,WebHonorType['ALL']))&&(_0x356a94[_0xb9accb(0x206)]=[]),_0x356a94;}} \ No newline at end of file +const _0x3ff975=_0x2e01;(function(_0x14b8b1,_0x819c77){const _0x5f213d=_0x2e01,_0x123adb=_0x14b8b1();while(!![]){try{const _0xc0a2b7=parseInt(_0x5f213d(0x212))/0x1*(-parseInt(_0x5f213d(0x237))/0x2)+-parseInt(_0x5f213d(0x26f))/0x3+-parseInt(_0x5f213d(0x206))/0x4+parseInt(_0x5f213d(0x247))/0x5+parseInt(_0x5f213d(0x20b))/0x6+-parseInt(_0x5f213d(0x243))/0x7+parseInt(_0x5f213d(0x1e7))/0x8*(parseInt(_0x5f213d(0x277))/0x9);if(_0xc0a2b7===_0x819c77)break;else _0x123adb['push'](_0x123adb['shift']());}catch(_0x48a02b){_0x123adb['push'](_0x123adb['shift']());}}}(_0x1f51,0x6a73e));function _0x2e01(_0x3eb7c3,_0x433859){const _0x1f5172=_0x1f51();return _0x2e01=function(_0x2e0184,_0x121096){_0x2e0184=_0x2e0184-0x1d2;let _0x3ba548=_0x1f5172[_0x2e0184];return _0x3ba548;},_0x2e01(_0x3eb7c3,_0x433859);}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x1f51(){const _0x497080=['jyDus','ARcTT','yJOFD','ZNjgh','aElqa',';\x20p_uin=o','lLPQw','push','FWrUT','tnIFh','avatar','getPSkey','hfGOe','ACIpN','getGroupHonorInfo','TJCoQ','getGrouptNotice','ANLsQ','getSkey','rRIFd','SdqdT','QHOhS','&group_code=','2gpNvTx','SGIsH','jpbal','PERFROMER','Rdldx','current_talkative','qjKEo','talkative_list','UERDg','mTuBa','uRiAy','charCodeAt','512981hCkSul','all',';\x20uin=o','kWbmb','548015VICAZY','legend','ALL','bHRJe','TWEcz','vhkfl','VQlxe','jXeSK','IFSSq','DOtzQ','&page_start=','BSeQZ','Gibli','legend_list','HttpGetJson','Bnnck','hlmRK','performer_list','2|5|3|0|1|4','ZOpED','&qid=','RhNDg','talkative','获取当前群荣耀失败','DiNUP','xoGNv','agTxr','tHejt','pxGwF','qun.qq.com','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','mems','getGroupEssenceMsg','count','VXzkO','NPimV','desc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','SKWPT','nguDc','255021WXulCo','split','&type=','qEIRo','uin','qid=','TgEgt','performer','9MzIqVb','OHcSl','qhBMx','PwLgy','HttpGetText','paDMe','STORONGE_NEWBI','IXmOW','XFJOm','ceil','pYIRK','NvwmF','qygcG','now','https://qun.qq.com/interactive/honorlist?gc=','&page_limit=20','DHVSk','kMIke','LEGEND','CekHk','description','UbROB','UCfcN','9562768noXXkq','huZyq','emotion','PoJzx','TLpwg','jePjB','wiDwe','dKhmw','errcode','&bkn=','OmBQf','PgIeb','length','emotion_list','GET','Gbecl','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ZHdTE','actorList','genBkn','egcun','XEfTk','TALKACTIVE','GroupData',';\x20skey=','YYxxM','获取龙王信息失败','mXJew','get','GroupTime','tfsvf','3276488uJceAc','TTwIA','setGroupNotice','name','TPcub','4945704FRoeIn','retcode','zyIct','zFdyk','match','eRkJu','toString','715791qlhjXL','MDmfL','获取快乐源泉失败','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','trim','CXXOS','vimiu','McTEd','EMOTION','FZOeI','dKbeV','KEAeE','QHvJh','p_skey='];_0x1f51=function(){return _0x497080;};return _0x1f51();}(function(_0x39eec8){const _0x40bdb2=_0x2e01,_0x350af5={'ACIpN':_0x40bdb2(0x259),'OmBQf':_0x40bdb2(0x1e2),'uyale':_0x40bdb2(0x248),'McTEd':_0x40bdb2(0x1d6),'TWEcz':'strong_newbie','MDmfL':_0x40bdb2(0x249),'paDMe':_0x40bdb2(0x244),'eRkJu':_0x40bdb2(0x276),'ZHdTE':'EMOTION','zyIct':_0x40bdb2(0x1e9),'qjKEo':_0x40bdb2(0x25d)},_0x70db9f=_0x350af5[_0x40bdb2(0x22d)][_0x40bdb2(0x270)]('|');let _0x243bba=0x0;while(!![]){switch(_0x70db9f[_0x243bba++]){case'0':_0x39eec8[_0x350af5[_0x40bdb2(0x1f1)]]=_0x350af5['uyale'];continue;case'1':_0x39eec8[_0x350af5[_0x40bdb2(0x219)]]=_0x350af5[_0x40bdb2(0x24b)];continue;case'2':_0x39eec8[_0x350af5[_0x40bdb2(0x213)]]=_0x350af5[_0x40bdb2(0x1d5)];continue;case'3':_0x39eec8[_0x40bdb2(0x23a)]=_0x350af5[_0x40bdb2(0x210)];continue;case'4':_0x39eec8[_0x350af5[_0x40bdb2(0x1f8)]]=_0x350af5[_0x40bdb2(0x20d)];continue;case'5':_0x39eec8[_0x40bdb2(0x1fd)]=_0x350af5[_0x40bdb2(0x23d)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3ff975(0x267)](_0x125c22,_0x593a24){const _0x4b9c7b=_0x3ff975,_0x597f30={'YYxxM':_0x4b9c7b(0x264),'PoJzx':function(_0x1c40b8,_0x5d9445){return _0x1c40b8+_0x5d9445;},'yJOFD':function(_0x44604d,_0x36daec){return _0x44604d+_0x36daec;},'Bnnck':function(_0x265c3b,_0x3dfbfc){return _0x265c3b+_0x3dfbfc;},'DOtzQ':function(_0x290100,_0x260874){return _0x290100+_0x260874;},'hfGOe':';\x20skey=','BSeQZ':';\x20p_uin=o','QHOhS':_0x4b9c7b(0x245),'zFdyk':function(_0x2a60a1,_0x4c0371){return _0x2a60a1||_0x4c0371;},'Rdldx':function(_0xcddc6e,_0x4277fd){return _0xcddc6e+_0x4277fd;},'tHesg':function(_0x187166,_0xeb1ba7){return _0x187166+_0xeb1ba7;},'XEfTk':function(_0x2cd6ab,_0x4d50f6){return _0x2cd6ab+_0x4d50f6;},'RAFre':_0x4b9c7b(0x215),'CGhya':_0x4b9c7b(0x1df),'NPimV':_0x4b9c7b(0x1f5),'PgIeb':function(_0x32cfc3,_0x11d23d){return _0x32cfc3!==_0x11d23d;}},_0x4c0a0a=(await NTQQUserApi[_0x4b9c7b(0x22b)]([_0x597f30[_0x4b9c7b(0x200)]]))[_0x4b9c7b(0x264)],_0x114347=await NTQQUserApi[_0x4b9c7b(0x232)](),_0x13bdc0=_0x597f30[_0x4b9c7b(0x1ea)](_0x597f30[_0x4b9c7b(0x222)](_0x597f30[_0x4b9c7b(0x256)](_0x597f30[_0x4b9c7b(0x1ea)](_0x597f30[_0x4b9c7b(0x250)](_0x4b9c7b(0x21f),_0x4c0a0a)+_0x597f30[_0x4b9c7b(0x22c)],_0x114347),_0x597f30[_0x4b9c7b(0x252)])+selfInfo[_0x4b9c7b(0x273)],_0x597f30[_0x4b9c7b(0x235)]),selfInfo[_0x4b9c7b(0x273)]);if(_0x597f30[_0x4b9c7b(0x20e)](!_0x114347,!_0x4c0a0a))return undefined;const _0x3b9e1f=WebApi[_0x4b9c7b(0x1fa)](_0x114347),_0x8d174b=_0x597f30[_0x4b9c7b(0x23b)](_0x597f30['tHesg'](_0x597f30['DOtzQ'](_0x597f30[_0x4b9c7b(0x1fc)](_0x597f30['PoJzx'](_0x597f30['PoJzx'](_0x597f30['RAFre'],_0x3b9e1f),_0x4b9c7b(0x236)),_0x125c22),_0x4b9c7b(0x251)),_0x593a24),_0x597f30['CGhya']);let _0x348e29;try{_0x348e29=await RequestUtil['HttpGetJson'](_0x8d174b,_0x597f30[_0x4b9c7b(0x26a)],'',{'Cookie':_0x13bdc0});}catch{return undefined;}if(_0x597f30[_0x4b9c7b(0x1f2)](_0x348e29[_0x4b9c7b(0x20c)],0x0))return undefined;return _0x348e29;}static async['getGroupMembers'](_0x37df0b,_0x331a5f=!![]){const _0x4d1ccc=_0x3ff975,_0x5e6ef0={'QHvJh':function(_0x40c7f7,_0x46c051){return _0x40c7f7*_0x46c051;},'EiliN':_0x4d1ccc(0x264),'SGIsH':function(_0x41f966,_0x1c8e2c){return _0x41f966+_0x1c8e2c;},'Gibli':function(_0x442e3f,_0x5d6ba6){return _0x442e3f+_0x5d6ba6;},'wiDwe':function(_0x2b2323,_0x2a920c){return _0x2b2323+_0x2a920c;},'qEIRo':_0x4d1ccc(0x21f),'DHVSk':';\x20skey=','jpbal':_0x4d1ccc(0x225),'pxGwF':function(_0x1cd6ee,_0x588dec){return _0x1cd6ee||_0x588dec;},'vhkfl':function(_0x422c0a,_0x4208d9){return _0x422c0a+_0x4208d9;},'TJCoQ':_0x4d1ccc(0x26c),'CekHk':'&bkn=','ANLsQ':'POST','SdqdT':function(_0x2eed09,_0x1f0d33){return _0x2eed09<=_0x1f0d33;},'CXXOS':function(_0x1ba432,_0x582bb9){return _0x1ba432+_0x582bb9;},'VXzkO':function(_0x419469,_0x26a85d){return _0x419469+_0x26a85d;},'tnIFh':'&end=','OHcSl':'&sort=1&gc=','kMIke':function(_0x5d342f,_0x7cd5cb){return _0x5d342f<=_0x7cd5cb;},'FZOeI':function(_0x53f1e8,_0x5b1e3c){return _0x53f1e8!==_0x5b1e3c;}};let _0x536960=new Array();try{let _0x5c111f=WebGroupData[_0x4d1ccc(0x1fe)][_0x4d1ccc(0x203)](_0x37df0b),_0x2a3d04=WebGroupData[_0x4d1ccc(0x204)]['get'](_0x37df0b);if(!_0x2a3d04||Date['now']()-_0x2a3d04>_0x5e6ef0[_0x4d1ccc(0x21e)](0x708,0x3e8)||!_0x331a5f){const _0x30e999=(await NTQQUserApi[_0x4d1ccc(0x22b)]([_0x4d1ccc(0x264)]))[_0x5e6ef0['EiliN']],_0x15cdeb=await NTQQUserApi[_0x4d1ccc(0x232)](),_0x361607=_0x5e6ef0[_0x4d1ccc(0x238)](_0x5e6ef0[_0x4d1ccc(0x238)](_0x5e6ef0[_0x4d1ccc(0x253)](_0x5e6ef0[_0x4d1ccc(0x1ed)](_0x5e6ef0[_0x4d1ccc(0x238)](_0x5e6ef0[_0x4d1ccc(0x272)],_0x30e999),_0x5e6ef0[_0x4d1ccc(0x1e0)]),_0x15cdeb),_0x5e6ef0[_0x4d1ccc(0x239)]),selfInfo[_0x4d1ccc(0x273)]);if(_0x5e6ef0[_0x4d1ccc(0x263)](!_0x15cdeb,!_0x30e999))return _0x536960;const _0x4b5db2=WebApi[_0x4d1ccc(0x1fa)](_0x15cdeb),_0x26ace4=[],_0x24a3b6=await RequestUtil[_0x4d1ccc(0x255)](_0x5e6ef0['SGIsH'](_0x5e6ef0['vhkfl'](_0x5e6ef0[_0x4d1ccc(0x22f)],_0x37df0b)+_0x5e6ef0[_0x4d1ccc(0x1e3)],_0x4b5db2),_0x5e6ef0[_0x4d1ccc(0x231)],'',{'Cookie':_0x361607});if(!_0x24a3b6?.[_0x4d1ccc(0x268)]||_0x24a3b6?.[_0x4d1ccc(0x1ef)]!==0x0||!_0x24a3b6?.[_0x4d1ccc(0x266)])return[];else for(const _0x5165a5 in _0x24a3b6[_0x4d1ccc(0x266)]){_0x536960[_0x4d1ccc(0x227)](_0x24a3b6[_0x4d1ccc(0x266)][_0x5165a5]);}const _0x159462=Math[_0x4d1ccc(0x1d9)](_0x24a3b6[_0x4d1ccc(0x268)]/0x28);for(let _0x13074c=0x2;_0x5e6ef0[_0x4d1ccc(0x234)](_0x13074c,_0x159462);_0x13074c++){const _0x38c8f9=RequestUtil[_0x4d1ccc(0x255)](_0x5e6ef0[_0x4d1ccc(0x217)](_0x5e6ef0[_0x4d1ccc(0x269)](_0x5e6ef0[_0x4d1ccc(0x24c)](_0x4d1ccc(0x265)+_0x5e6ef0[_0x4d1ccc(0x21e)](_0x13074c-0x1,0x28)+_0x5e6ef0[_0x4d1ccc(0x229)],_0x5e6ef0[_0x4d1ccc(0x21e)](_0x13074c,0x28))+_0x5e6ef0[_0x4d1ccc(0x278)]+_0x37df0b,'&bkn='),_0x4b5db2),'POST','',{'Cookie':_0x361607});_0x26ace4[_0x4d1ccc(0x227)](_0x38c8f9);}for(let _0x3b80f=0x1;_0x5e6ef0[_0x4d1ccc(0x1e1)](_0x3b80f,_0x159462);_0x3b80f++){const _0x19f62b=await _0x26ace4[_0x3b80f];if(!_0x19f62b?.[_0x4d1ccc(0x268)]||_0x5e6ef0[_0x4d1ccc(0x21b)](_0x19f62b?.['errcode'],0x0)||!_0x19f62b?.['mems'])continue;for(const _0xb379c5 in _0x19f62b['mems']){_0x536960['push'](_0x19f62b['mems'][_0xb379c5]);}}WebGroupData['GroupData']['set'](_0x37df0b,_0x536960),WebGroupData[_0x4d1ccc(0x204)]['set'](_0x37df0b,Date[_0x4d1ccc(0x1dd)]());}else _0x536960=_0x5c111f;}catch{return _0x536960;}return _0x536960;}static async[_0x3ff975(0x208)](_0xc9c564,_0x1f7ebf=''){const _0x486154=_0x3ff975,_0x6927fa={'RbMZQ':'qun.qq.com','Gbecl':function(_0x2d6232,_0x57c1af){return _0x2d6232+_0x57c1af;},'TLpwg':function(_0x155bab,_0x52a2cd){return _0x155bab+_0x52a2cd;},'IFSSq':function(_0x14e3c7,_0x46ec14){return _0x14e3c7+_0x46ec14;},'rRIFd':_0x486154(0x21f),'bHRJe':_0x486154(0x1ff),'uRiAy':function(_0x4d12fa,_0x53333a){return _0x4d12fa+_0x53333a;},'ZOpED':function(_0x398af6,_0x413e9e){return _0x398af6+_0x413e9e;},'qygcG':function(_0x7ecc38,_0xd82271){return _0x7ecc38+_0xd82271;},'vimiu':_0x486154(0x274),'TTwIA':'&text=','tHejt':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','agTxr':function(_0x362993,_0x103de2){return _0x362993+_0x103de2;},'UERDg':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x529c4a=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x6927fa['RbMZQ']],_0x4b50b9=await NTQQUserApi[_0x486154(0x232)](),_0x19b367=_0x6927fa[_0x486154(0x1f6)](_0x6927fa[_0x486154(0x1eb)](_0x6927fa[_0x486154(0x1eb)](_0x6927fa[_0x486154(0x24f)](_0x6927fa[_0x486154(0x24f)](_0x6927fa[_0x486154(0x233)],_0x529c4a),_0x6927fa[_0x486154(0x24a)]),_0x4b50b9),_0x486154(0x225)),selfInfo[_0x486154(0x273)]);let _0x5eba3e=undefined;if(!_0x4b50b9||!_0x529c4a)return undefined;const _0x51ec12=WebApi[_0x486154(0x1fa)](_0x4b50b9),_0x213469=_0x6927fa[_0x486154(0x24f)](_0x6927fa[_0x486154(0x1f6)](_0x6927fa[_0x486154(0x241)](_0x6927fa[_0x486154(0x25a)](_0x6927fa[_0x486154(0x1dc)](_0x6927fa[_0x486154(0x1f6)](_0x6927fa[_0x486154(0x218)],_0xc9c564),_0x486154(0x1f0)),_0x51ec12),_0x6927fa[_0x486154(0x207)]),_0x1f7ebf),_0x6927fa[_0x486154(0x262)]),_0x174979=_0x6927fa[_0x486154(0x261)](_0x6927fa[_0x486154(0x23f)],_0x51ec12);try{return _0x5eba3e=await RequestUtil[_0x486154(0x255)](_0x174979,_0x486154(0x1f5),'',{'Cookie':_0x19b367}),_0x5eba3e;}catch(_0x4286d9){return undefined;}return undefined;}static async[_0x3ff975(0x230)](_0x249b9a){const _0x28f95d=_0x3ff975,_0x258893={'hlmRK':_0x28f95d(0x264),'SKWPT':function(_0x377e2f,_0x35ebe2){return _0x377e2f+_0x35ebe2;},'egcun':function(_0x401ab7,_0x3799e5){return _0x401ab7+_0x3799e5;},'xzuzc':_0x28f95d(0x21f),'lLPQw':_0x28f95d(0x1ff),'DmbXt':function(_0x1f7462,_0x4ce054){return _0x1f7462||_0x4ce054;},'mTuBa':function(_0x102b90,_0x229136){return _0x102b90+_0x229136;},'ggiOz':function(_0x39c731,_0x136add){return _0x39c731+_0x136add;},'qhBMx':_0x28f95d(0x25b),'XFJOm':_0x28f95d(0x1f7),'dKbeV':_0x28f95d(0x1f5),'UCfcN':function(_0x2c9f53,_0x3906fe){return _0x2c9f53!==_0x3906fe;}},_0x4b7ef9=(await NTQQUserApi[_0x28f95d(0x22b)]([_0x258893[_0x28f95d(0x257)]]))[_0x258893[_0x28f95d(0x257)]],_0x576297=await NTQQUserApi['getSkey'](),_0x9d5775=_0x258893[_0x28f95d(0x26d)](_0x258893[_0x28f95d(0x26d)](_0x258893[_0x28f95d(0x1fb)](_0x258893[_0x28f95d(0x26d)](_0x258893['xzuzc'],_0x4b7ef9),_0x258893[_0x28f95d(0x226)]),_0x576297)+';\x20p_uin=o',selfInfo[_0x28f95d(0x273)]);let _0x422a35=undefined;if(_0x258893['DmbXt'](!_0x576297,!_0x4b7ef9))return undefined;const _0x44a1c5=WebApi['genBkn'](_0x576297),_0x52ec36=_0x258893[_0x28f95d(0x1fb)](_0x258893['SKWPT'](_0x258893[_0x28f95d(0x240)](_0x258893['ggiOz']('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',_0x44a1c5),_0x258893[_0x28f95d(0x1d2)]),_0x249b9a),_0x258893[_0x28f95d(0x1d8)]);try{_0x422a35=await RequestUtil[_0x28f95d(0x255)](_0x52ec36,_0x258893[_0x28f95d(0x21c)],'',{'Cookie':_0x9d5775});if(_0x258893[_0x28f95d(0x1e6)](_0x422a35?.['ec'],0x0))return undefined;return _0x422a35;}catch(_0x4e899){return undefined;}return undefined;}static[_0x3ff975(0x1fa)](_0x350fd3){const _0x3f5781=_0x3ff975,_0x1b8ddb={'kwGHP':function(_0x2e5ab4,_0x3f57b1){return _0x2e5ab4||_0x3f57b1;},'jyDus':function(_0x1ee93a,_0x5075b9){return _0x1ee93a+_0x5075b9;},'IXmOW':function(_0x38b99a,_0x17397c){return _0x38b99a+_0x17397c;},'jSzbK':function(_0x2436d2,_0x752182){return _0x2436d2&_0x752182;}};_0x350fd3=_0x1b8ddb['kwGHP'](_0x350fd3,'');let _0x19926f=0x1505;for(let _0x4065ee=0x0;_0x4065ee<_0x350fd3[_0x3f5781(0x1f3)];_0x4065ee++){const _0xb7f69b=_0x350fd3[_0x3f5781(0x242)](_0x4065ee);_0x19926f=_0x1b8ddb[_0x3f5781(0x220)](_0x1b8ddb[_0x3f5781(0x1d7)](_0x19926f,_0x19926f<<0x5),_0xb7f69b);}return _0x1b8ddb['jSzbK'](_0x19926f,0x7fffffff)[_0x3f5781(0x211)]();}static async[_0x3ff975(0x22e)](_0x4e0ecc,_0x42e53f){const _0x1aec71=_0x3ff975,_0x3c9ac7={'aElqa':function(_0x5cc042,_0x4e75b2){return _0x5cc042+_0x4e75b2;},'ARcTT':_0x1aec71(0x1de),'RhNDg':_0x1aec71(0x271),'pYIRK':_0x1aec71(0x1f5),'PwLgy':function(_0x18d825,_0x16010a){return _0x18d825===_0x16010a;},'TPcub':function(_0x5ead77,_0x12ab51,_0x5a1745,_0x7cd56b){return _0x5ead77(_0x12ab51,_0x5a1745,_0x7cd56b);},'NvwmF':_0x1aec71(0x264),'UbROB':function(_0x5c4818,_0xe7c850){return _0x5c4818||_0xe7c850;},'ypMhb':function(_0x140bbf,_0x504c75){return _0x140bbf+_0x504c75;},'FWrUT':function(_0x6d9af4,_0x190e72){return _0x6d9af4+_0x190e72;},'KEAeE':function(_0x337a16,_0x1187ee){return _0x337a16+_0x1187ee;},'VQlxe':function(_0x47ddfa,_0x3a7b97){return _0x47ddfa+_0x3a7b97;},'ZNjgh':_0x1aec71(0x1ff),'aRrWB':';\x20p_uin=o','tfsvf':_0x1aec71(0x245),'nguDc':function(_0x5cffc7,_0x1cd35a){return _0x5cffc7===_0x1cd35a;},'xoGNv':function(_0x33a22e,_0x5959a9){return _0x33a22e===_0x5959a9;},'jXeSK':function(_0x2577cd,_0x18ee03,_0x3cc136){return _0x2577cd(_0x18ee03,_0x3cc136);},'XydVw':_0x1aec71(0x201),'jePjB':function(_0x4e6db4,_0x12925f,_0x429d6b){return _0x4e6db4(_0x12925f,_0x429d6b);},'TgEgt':'获取群聊之火失败','DiNUP':function(_0x1bee2b,_0x3e4e4c){return _0x1bee2b===_0x3e4e4c;},'kWbmb':function(_0x5f4ad6,_0x13368f){return _0x5f4ad6===_0x13368f;},'huZyq':'获取群聊炽焰失败','mXJew':_0x1aec71(0x214),'dKhmw':function(_0x594d8c,_0x5e390d,_0x161b78){return _0x594d8c(_0x5e390d,_0x161b78);}},_0xe38506=(await NTQQUserApi['getPSkey']([_0x3c9ac7['NvwmF']]))[_0x3c9ac7[_0x1aec71(0x1db)]],_0x4dcc62=await NTQQUserApi['getSkey']();if(_0x3c9ac7[_0x1aec71(0x1e5)](!_0x4dcc62,!_0xe38506))return undefined;async function _0x162b88(_0x351f19,_0xb6b994){const _0x1bc454=_0x1aec71;let _0x444453=_0x3c9ac7['aElqa'](_0x3c9ac7[_0x1bc454(0x224)](_0x3c9ac7['aElqa'](_0x3c9ac7[_0x1bc454(0x221)],_0x351f19),_0x3c9ac7[_0x1bc454(0x25c)]),_0xb6b994[_0x1bc454(0x211)]()),_0x59baa0='',_0x222a84;try{_0x59baa0=await RequestUtil[_0x1bc454(0x1d4)](_0x444453,_0x3c9ac7[_0x1bc454(0x1da)],'',{'Cookie':_0xc851cc});const _0x223445=_0x59baa0[_0x1bc454(0x20f)](/window\.__INITIAL_STATE__=(.*?);/);return _0x223445&&(_0x222a84=JSON['parse'](_0x223445[0x1][_0x1bc454(0x216)]())),_0x3c9ac7['PwLgy'](_0xb6b994,0x1)?_0x222a84?.['talkativeList']:_0x222a84?.[_0x1bc454(0x1f9)];}catch(_0xfad4ac){_0x3c9ac7[_0x1bc454(0x20a)](logDebug,_0x1bc454(0x25e),_0x444453,_0xfad4ac);}return undefined;}let _0x184589={'group_id':_0x4e0ecc};const _0xc851cc=_0x3c9ac7[_0x1aec71(0x224)](_0x3c9ac7['ypMhb'](_0x3c9ac7[_0x1aec71(0x228)](_0x3c9ac7[_0x1aec71(0x21d)](_0x3c9ac7[_0x1aec71(0x24d)](_0x1aec71(0x21f),_0xe38506),_0x3c9ac7[_0x1aec71(0x223)])+_0x4dcc62,_0x3c9ac7['aRrWB'])+selfInfo[_0x1aec71(0x273)],_0x3c9ac7[_0x1aec71(0x205)]),selfInfo[_0x1aec71(0x273)]);if(_0x3c9ac7[_0x1aec71(0x26e)](_0x42e53f,WebHonorType[_0x1aec71(0x1fd)])||_0x3c9ac7[_0x1aec71(0x260)](_0x42e53f,WebHonorType[_0x1aec71(0x249)]))try{let _0x31ce3c=await _0x3c9ac7[_0x1aec71(0x24e)](_0x162b88,_0x4e0ecc,0x1);if(!_0x31ce3c)throw new Error(_0x3c9ac7['XydVw']);_0x184589[_0x1aec71(0x23c)]={'user_id':_0x31ce3c[0x0]?.['uin'],'avatar':_0x31ce3c[0x0]?.[_0x1aec71(0x22a)],'nickname':_0x31ce3c[0x0]?.['name'],'day_count':0x0,'description':_0x31ce3c[0x0]?.[_0x1aec71(0x26b)]},_0x184589[_0x1aec71(0x23e)]=[];for(const _0x3151e0 of _0x31ce3c){_0x184589[_0x1aec71(0x23e)][_0x1aec71(0x227)]({'user_id':_0x3151e0?.[_0x1aec71(0x273)],'avatar':_0x3151e0?.[_0x1aec71(0x22a)],'description':_0x3151e0?.[_0x1aec71(0x26b)],'day_count':0x0,'nickname':_0x3151e0?.[_0x1aec71(0x209)]});}}catch(_0x438497){logDebug(_0x438497);}if(_0x3c9ac7[_0x1aec71(0x1d3)](_0x42e53f,WebHonorType[_0x1aec71(0x23a)])||_0x3c9ac7[_0x1aec71(0x1d3)](_0x42e53f,WebHonorType[_0x1aec71(0x249)]))try{let _0x160688=await _0x3c9ac7[_0x1aec71(0x1ec)](_0x162b88,_0x4e0ecc,0x2);if(!_0x160688)throw new Error(_0x3c9ac7[_0x1aec71(0x275)]);_0x184589[_0x1aec71(0x258)]=[];for(const _0x39115b of _0x160688){_0x184589[_0x1aec71(0x258)][_0x1aec71(0x227)]({'user_id':_0x39115b?.[_0x1aec71(0x273)],'nickname':_0x39115b?.[_0x1aec71(0x209)],'avatar':_0x39115b?.[_0x1aec71(0x22a)],'description':_0x39115b?.['desc']});}}catch(_0x518a10){logDebug(_0x518a10);}if(_0x3c9ac7[_0x1aec71(0x25f)](_0x42e53f,WebHonorType[_0x1aec71(0x23a)])||_0x3c9ac7[_0x1aec71(0x246)](_0x42e53f,WebHonorType['ALL']))try{let _0xcaaaad=await _0x162b88(_0x4e0ecc,0x3);if(!_0xcaaaad)throw new Error(_0x3c9ac7[_0x1aec71(0x1e8)]);_0x184589[_0x1aec71(0x254)]=[];for(const _0x13c485 of _0xcaaaad){_0x184589[_0x1aec71(0x254)][_0x1aec71(0x227)]({'user_id':_0x13c485?.[_0x1aec71(0x273)],'nickname':_0x13c485?.[_0x1aec71(0x209)],'avatar':_0x13c485?.[_0x1aec71(0x22a)],'desc':_0x13c485?.[_0x1aec71(0x1e4)]});}}catch(_0xd5db8){_0x3c9ac7[_0x1aec71(0x1ec)](logDebug,_0x3c9ac7[_0x1aec71(0x1e8)],_0xd5db8);}if(_0x42e53f===WebHonorType[_0x1aec71(0x21a)]||_0x3c9ac7[_0x1aec71(0x26e)](_0x42e53f,WebHonorType[_0x1aec71(0x249)]))try{let _0x249635=await _0x162b88(_0x4e0ecc,0x6);if(!_0x249635)throw new Error(_0x3c9ac7[_0x1aec71(0x202)]);_0x184589[_0x1aec71(0x1f4)]=[];for(const _0x43eefa of _0x249635){_0x184589[_0x1aec71(0x1f4)][_0x1aec71(0x227)]({'user_id':_0x43eefa?.['uin'],'nickname':_0x43eefa?.[_0x1aec71(0x209)],'avatar':_0x43eefa?.[_0x1aec71(0x22a)],'desc':_0x43eefa?.[_0x1aec71(0x1e4)]});}}catch(_0x3b0850){_0x3c9ac7[_0x1aec71(0x1ee)](logDebug,_0x1aec71(0x214),_0x3b0850);}return(_0x3c9ac7[_0x1aec71(0x246)](_0x42e53f,WebHonorType[_0x1aec71(0x21a)])||_0x42e53f===WebHonorType[_0x1aec71(0x249)])&&(_0x184589['strong_newbie_list']=[]),_0x184589;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 3f0b3490..faee8f5c 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x4e661f=_0x5bd4;(function(_0x2d4590,_0x19d872){const _0x35cb14=_0x5bd4,_0x582353=_0x2d4590();while(!![]){try{const _0x4dc31c=-parseInt(_0x35cb14(0x211))/0x1*(-parseInt(_0x35cb14(0x205))/0x2)+-parseInt(_0x35cb14(0x15e))/0x3*(-parseInt(_0x35cb14(0x17f))/0x4)+parseInt(_0x35cb14(0x1c5))/0x5+-parseInt(_0x35cb14(0x162))/0x6*(-parseInt(_0x35cb14(0x19b))/0x7)+-parseInt(_0x35cb14(0x1db))/0x8+parseInt(_0x35cb14(0x204))/0x9+-parseInt(_0x35cb14(0x1c9))/0xa;if(_0x4dc31c===_0x19d872)break;else _0x582353['push'](_0x582353['shift']());}catch(_0x440dac){_0x582353['push'](_0x582353['shift']());}}}(_0x2e4d,0x198b3));import _0x2beeba from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x30471a from'node:path';import _0x5be5ac from'node:os';import _0x42e82e from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x5bd4(_0x458082,_0x29f580){const _0x2e4dd5=_0x2e4d();return _0x5bd4=function(_0x5bd422,_0x4fd5a3){_0x5bd422=_0x5bd422-0x15a;let _0x44e620=_0x2e4dd5[_0x5bd422];return _0x44e620;},_0x5bd4(_0x458082,_0x29f580);}import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x2e4d(){const _0x53327c=['createHash','quickLoginWithUin','NBmiR','engine','message_sent','memberCount','onRecvSysMsg','from','addKernelBuddyListener','result','当前账号(','catch','buddyList','353544qHlqEM','onLoginSuccessFuncList','packet_received','NodeQQNTWrapperUtil','dataPathGlobal','createMemberListScene','UfpAG','util','[KickedOffLine]\x20[','sceneId','NodeIKernelGroupListener','update','NodeIQQNTWrapperSession','addKernelGroupListener','initDataListener','hex','GroupListener','onQRCodeLoginSucceed','uin','devUid','getNextMemberList','map','KlHvX','loginService',')已登录,无法重复登录','qpMjH','startNT','then','getQuickLoginList','NodeIKernelMsgListener','mkdirSync','XCxQD','uid','floor','MsgListener','push','getBuddyList','Zrfsh','initSession\x20failed','init','has','1291923hbAyaE','2mwwfCR','RqbfE','now','tipsDesc','addListener','tllWZ','NYTOq','awoMv','EBWEv','getProfileService','loginListener','-v2.db','137635nDZPlD','getMsgService','digest','getLoginList','140022008','NodeIGlobalAdapter','34458zooAFf','onSelfStatusChanged','Proec','yHQqv','711006KsaFvC','140022013','initSession','BJYHt','curVersion','NQHXx','get','_GW_B','NodeIDispatcherAdapter','CQciT','phIqg','length','dataPath','onProfileDetailInfoChanged','登录失败','quickLogin','xbIQf','NodeIKernelBuddyListener','onMsgInfoListUpdate','data:image/png;base64,','recallTime','updateMsg','saNih','consoleLogLevel','BuddyListener','find','oAGCY','infos','set','60DDJoUt','consoleLog','proxyHandler','loginErrorInfo','initWithDeskTopConfig','base64','BrYNE','name','QzSgz','forEach','Vxtux','msgId','md5','cmxxw','passwordLogin','Vfldz','assign','delete','mnHST','isQuickLogin','tipsTitle','cJhsI','getQRCodePicture','数据库初始化失败','./nt_qq/global','pngBase64QrcodeData','快速登录不可用','message_received','7taPUdI','zQXVd','isDelete','onRecvMsg','onLineDev','hGNvP','resolve','groupCode','VngWD','qrLogin','NodeIDependsAdapter','zKYJz','getMsgByLongId','onQRCodeSessionFailed','last_message_time','onGroupListUpdate','ViSSo','replace','addMsg','jdCzd','fileLog','addKernelProfileListener','LjHRh','mQvcE','packet_sent','split','session','stringify','onAddSendMsg','fileLogLevel','read','undefined','zAomt','onLoginFailed','clientType','LWNQr','IJZPa','initConfig','constructor','uLQKh','HJMPE','qrcodeUrl','476305WrqYWO','LocalLoginInfoList','FfXCH','NodeIKernelProfileListener','5184140AiAsrK','homedir','getGroupService','getBuddyService','fXtZP'];_0x2e4d=function(){return _0x53327c;};return _0x2e4d();}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x24e44c from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x4e661f(0x1b5)];[_0x4e661f(0x1e2)];[_0x4e661f(0x1d1)];['loginListener'];[_0x4e661f(0x1f2)];[_0x4e661f(0x1dc)]=[];[_0x4e661f(0x181)]={'get'(target,prop,receiver){const _0x12f658=_0x4e661f,fKpFtW={'cmxxw':function(x,y){return x===y;},'KlHvX':_0x12f658(0x1ba)};if(fKpFtW[_0x12f658(0x18c)](typeof target[prop],fKpFtW[_0x12f658(0x1f1)]))return(...args)=>{const _0x4db6ed=_0x12f658;logDebug(target['constructor'][_0x4db6ed(0x186)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x12f658(0x168)](target,prop,receiver);}};constructor(){const _0x40fd3f=_0x4e661f,_0x2cbbfc={'FfXCH':_0x40fd3f(0x1d8),'hGNvP':_0x40fd3f(0x1f3),'mnHST':function(_0x1a1695,_0x50ddc4){return _0x1a1695 instanceof _0x50ddc4;},'AzwdN':function(_0x1cb444,_0x3d9c5b,_0x4d792a){return _0x1cb444(_0x3d9c5b,_0x4d792a);},'LsfPX':'./NapCat/data','LWNQr':function(_0x32361b,_0x31d085,_0x1e7957){return _0x32361b(_0x31d085,_0x1e7957);},'QzSgz':'本账号数据/缓存目录:','XCxQD':_0x40fd3f(0x201),'Proec':_0x40fd3f(0x170),'LjHRh':function(_0x2e1963,_0x226b5b){return _0x2e1963==_0x226b5b;},'bYRtv':function(_0x577b9b,_0x34b04e,_0x999605){return _0x577b9b(_0x34b04e,_0x999605);}};this[_0x40fd3f(0x1d1)]=new _0x2beeba['NodeIQQNTWrapperEngine'](),this[_0x40fd3f(0x1e2)]=new _0x2beeba[(_0x40fd3f(0x1de))](),this['loginService']=new _0x2beeba['NodeIKernelLoginService'](),this[_0x40fd3f(0x1b5)]=new _0x2beeba[(_0x40fd3f(0x1e7))](),this['loginListener']=new LoginListener(),this[_0x40fd3f(0x20f)]['onUserLoggedIn']=_0x64ecfd=>{const _0x4085e4=_0x40fd3f;logError(_0x2cbbfc[_0x4085e4(0x1c7)]+_0x64ecfd+_0x2cbbfc[_0x4085e4(0x1a0)]);},this[_0x40fd3f(0x20f)][_0x40fd3f(0x1ec)]=_0x9a80e1=>{const _0x4204c9=_0x40fd3f,_0x30b477={'awoMv':function(_0x310861,_0x5bd964,_0x182262){return _0x2cbbfc['AzwdN'](_0x310861,_0x5bd964,_0x182262);},'DvpKl':_0x4204c9(0x196),'cgVka':_0x2cbbfc[_0x4204c9(0x1fa)]};this['initSession'](_0x9a80e1[_0x4204c9(0x1ed)],_0x9a80e1['uid'])['then'](_0xea0505=>{const _0x15e2e2=_0x4204c9,_0x2d90a6={'yHQqv':function(_0x42d5d0,_0x5147cd,_0x2180bb){return _0x42d5d0(_0x5147cd,_0x2180bb);},'tllWZ':function(_0x5cb744,_0x17691c){const _0xfda61c=_0x5bd4;return _0x2cbbfc[_0xfda61c(0x191)](_0x5cb744,_0x17691c);}};selfInfo[_0x15e2e2(0x1ed)]=_0x9a80e1[_0x15e2e2(0x1ed)],selfInfo[_0x15e2e2(0x1fb)]=_0x9a80e1['uid'],napCatConfig[_0x15e2e2(0x1b9)](),_0x2cbbfc['AzwdN'](setLogLevel,napCatConfig[_0x15e2e2(0x1b8)],napCatConfig[_0x15e2e2(0x179)]),enableFileLog(napCatConfig[_0x15e2e2(0x1af)]),enableConsoleLog(napCatConfig[_0x15e2e2(0x180)]),setLogSelfInfo(selfInfo);const _0x35f905=_0x30471a[_0x15e2e2(0x1a1)](this['dataPath'],_0x2cbbfc['LsfPX']);_0x42e82e[_0x15e2e2(0x1f9)](_0x35f905,{'recursive':!![]}),_0x2cbbfc[_0x15e2e2(0x1be)](logDebug,_0x2cbbfc[_0x15e2e2(0x187)],_0x35f905),dbUtil['init'](_0x30471a[_0x15e2e2(0x1a1)](_0x35f905,'./'+_0x9a80e1[_0x15e2e2(0x1ed)]+_0x15e2e2(0x210)))[_0x15e2e2(0x1f6)](()=>{const _0x238524=_0x15e2e2,_0xd28811={'EBWEv':function(_0x1c9172,_0x3c1b10,_0x461f5e){const _0x2c38c5=_0x5bd4;return _0x2d90a6[_0x2c38c5(0x161)](_0x1c9172,_0x3c1b10,_0x461f5e);},'BrYNE':function(_0x2066f4,_0x593873){const _0x26750c=_0x5bd4;return _0x2d90a6[_0x26750c(0x20a)](_0x2066f4,_0x593873);}};this['initDataListener'](),this[_0x238524(0x1dc)][_0x238524(0x1f0)](_0xf6dd6e=>{const _0x8269b7=_0x238524,_0x411a31={'phIqg':function(_0x215ffa,_0x2cbfc9,_0xee4370){const _0x300377=_0x5bd4;return _0xd28811[_0x300377(0x20d)](_0x215ffa,_0x2cbfc9,_0xee4370);},'Uawqo':function(_0x57910e,_0x284cfa){const _0x4ed983=_0x5bd4;return _0xd28811[_0x4ed983(0x185)](_0x57910e,_0x284cfa);}};new Promise((_0x55574c,_0x574cfe)=>{const _0x3ed674=_0x5bd4,_0x57909a=_0x411a31[_0x3ed674(0x16c)](_0xf6dd6e,_0x9a80e1[_0x3ed674(0x1ed)],_0x9a80e1[_0x3ed674(0x1fb)]);_0x411a31['Uawqo'](_0x57909a,Promise)&&_0x57909a[_0x3ed674(0x1f6)](_0x55574c)[_0x3ed674(0x1d9)](_0x574cfe);})[_0x8269b7(0x1f6)]();});})[_0x15e2e2(0x1d9)](_0x36ff5a=>{const _0x4494b9=_0x15e2e2;_0x30b477[_0x4494b9(0x20c)](logError,_0x30b477['DvpKl'],_0x36ff5a);});})[_0x4204c9(0x1d9)](_0x1ab4ca=>{const _0x4f0f59=_0x4204c9;logError(_0x30b477['cgVka'],_0x1ab4ca);throw new Error('启动失败:\x20'+JSON[_0x4f0f59(0x1b6)](_0x1ab4ca));});},this[_0x40fd3f(0x20f)][_0x40fd3f(0x1a8)]=(_0x27254e,_0x34e485,_0x282ff5)=>{const _0x372e9d=_0x40fd3f;_0x2cbbfc[_0x372e9d(0x1be)](logError,_0x2cbbfc[_0x372e9d(0x160)],_0x282ff5),_0x2cbbfc[_0x372e9d(0x1b1)](_0x27254e,0x1)&&_0x2cbbfc[_0x372e9d(0x1b1)](_0x34e485,0x3)&&this[_0x372e9d(0x1f2)][_0x372e9d(0x195)]();},this['loginListener'][_0x40fd3f(0x1bc)]=_0x2eda82=>{const _0x517cc1=_0x40fd3f;_0x2cbbfc['bYRtv'](logError,_0x2cbbfc[_0x517cc1(0x160)],_0x2eda82);},this['loginListener']=new Proxy(this[_0x40fd3f(0x20f)],this[_0x40fd3f(0x181)]),this['loginService']['addKernelLoginListener'](new _0x2beeba['NodeIKernelLoginListener'](this[_0x40fd3f(0x20f)])),this[_0x40fd3f(0x1c0)]();}get[_0x4e661f(0x16e)](){const _0x5b24f4=_0x4e661f;let _0x1b2bd4=this['util']['getNTUserDataInfoConfig']();return!_0x1b2bd4&&(_0x1b2bd4=_0x30471a['resolve'](_0x5be5ac[_0x5b24f4(0x1ca)](),'./.config/QQ'),_0x42e82e[_0x5b24f4(0x1f9)](_0x1b2bd4,{'recursive':!![]})),_0x1b2bd4;}get[_0x4e661f(0x1df)](){const _0x1dce5d=_0x4e661f,_0x2b9de4={'IJZPa':_0x1dce5d(0x197)};return _0x30471a['resolve'](this['dataPath'],_0x2b9de4[_0x1dce5d(0x1bf)]);}[_0x4e661f(0x1c0)](){const _0x32c25b=_0x4e661f,_0x87c62a={'SOjMS':'Windows\x2010\x20Pro'};this[_0x32c25b(0x1d1)][_0x32c25b(0x183)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x32c25b(0x166)],'os_version':_0x87c62a['SOjMS'],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x32c25b(0x1ac)]('-','_')+_0x32c25b(0x169),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x2beeba[(_0x32c25b(0x15d))](new GlobalAdapter())),this[_0x32c25b(0x1f2)][_0x32c25b(0x1c0)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x32c25b(0x1df)],'clientVer':qqVersionConfigInfo[_0x32c25b(0x166)],'hostName':hostname});}[_0x4e661f(0x164)](_0x5e8cfb,_0x2e57bf){const _0x3a4540={'VngWD':function(_0x5c73af,_0x15f78a){return _0x5c73af===_0x15f78a;},'mQvcE':function(_0x3f5d52,_0x43089e){return _0x3f5d52(_0x43089e);},'jJFOj':function(_0x268e22,_0x5714b1){return _0x268e22(_0x5714b1);},'Vfldz':function(_0x26c208,_0x25f963){return _0x26c208+_0x25f963;},'qpMjH':'init\x20failed\x20'};return new Promise((_0x10a4f1,_0xfed45b)=>{const _0x4698fb=_0x5bd4,_0x5f3d78=genSessionConfig(_0x5e8cfb,_0x2e57bf,this[_0x4698fb(0x16e)]),_0x369a77=new SessionListener();_0x369a77['onSessionInitComplete']=_0x2746ac=>{const _0x563dd4=_0x4698fb;if(_0x3a4540[_0x563dd4(0x1a3)](_0x2746ac,0x0))return _0x3a4540[_0x563dd4(0x1b2)](_0x10a4f1,0x0);_0x3a4540['jJFOj'](_0xfed45b,_0x2746ac);},this['session'][_0x4698fb(0x202)](_0x5f3d78,new _0x2beeba[(_0x4698fb(0x1a5))](new DependsAdapter()),new _0x2beeba[(_0x4698fb(0x16a))](new DispatcherAdapter()),new _0x2beeba['NodeIKernelSessionListener'](_0x369a77));try{this[_0x4698fb(0x1b5)][_0x4698fb(0x1f5)](0x0);}catch(_0x38cc2b){try{this[_0x4698fb(0x1b5)][_0x4698fb(0x1f5)]();}catch(_0x1737a2){_0x3a4540['jJFOj'](_0xfed45b,_0x3a4540[_0x4698fb(0x18e)](_0x3a4540[_0x4698fb(0x1f4)],_0x1737a2));}}});}[_0x4e661f(0x1e9)](){const _0x278709=_0x4e661f,_0x51b472={'NYTOq':function(_0x57eee1,_0x493ba5){return _0x57eee1(_0x493ba5);},'uLQKh':function(_0x498052,_0x42965d){return _0x498052+_0x42965d;},'UfpAG':function(_0x35ac24,_0x5f58a0){return _0x35ac24+_0x5f58a0;},'hBkTO':'账号设备(','zAomt':')\x20在线状态变更','jdCzd':_0x278709(0x1e3),'BJYHt':function(_0x5e9905,_0x326c6c){return _0x5e9905/_0x326c6c;},'fXtZP':function(_0x254ef0,_0x24be2a){return _0x254ef0/_0x24be2a;},'Vxtux':function(_0x25c623,_0x37eca0){return _0x25c623===_0x37eca0;},'oAGCY':function(_0x4d9139,_0x155804){return _0x4d9139===_0x155804;},'CQciT':function(_0x4a3045,_0x525eee,_0x908bfb){return _0x4a3045(_0x525eee,_0x908bfb);}},_0x247dfe=new MsgListener();_0x247dfe[_0x278709(0x19f)]=_0x5b5088=>{_0x5b5088['map'](_0x450b35=>{const _0x523b79=_0x5bd4;_0x450b35[_0x523b79(0x1bd)]===0x2&&_0x51b472[_0x523b79(0x20b)](log,_0x51b472[_0x523b79(0x1c2)](_0x51b472['UfpAG'](_0x51b472['hBkTO'],_0x450b35[_0x523b79(0x1ee)]),_0x51b472[_0x523b79(0x1bb)]));});},_0x247dfe['onKickedOffLine']=_0x1d07b7=>{const _0xf87253=_0x278709;_0x51b472['NYTOq'](log,_0x51b472[_0xf87253(0x1e1)](_0x51b472[_0xf87253(0x1e1)](_0x51b472[_0xf87253(0x1c2)](_0x51b472[_0xf87253(0x1ae)],_0x1d07b7[_0xf87253(0x193)]),']\x20'),_0x1d07b7[_0xf87253(0x208)]));},_0x247dfe[_0x278709(0x174)]=_0x5341d8=>{const _0x1f65c1=_0x278709;stat[_0x1f65c1(0x1dd)]+=0x1,_0x5341d8[_0x1f65c1(0x1f0)](_0xd348f4=>{const _0x4b9f13=_0x1f65c1;_0xd348f4[_0x4b9f13(0x176)]==='0'?dbUtil[_0x4b9f13(0x1ad)](_0xd348f4)[_0x4b9f13(0x1f6)]()[_0x4b9f13(0x1d9)]():dbUtil[_0x4b9f13(0x1a7)](_0xd348f4[_0x4b9f13(0x18a)])[_0x4b9f13(0x1f6)](_0x990697=>{const _0x3582cb=_0x4b9f13;_0x990697&&(_0x990697['recallTime']=_0xd348f4[_0x3582cb(0x176)],dbUtil[_0x3582cb(0x177)](_0x990697)['then']());});});},_0x247dfe[_0x278709(0x1b7)]=_0x44f3b2=>{const _0x1a2147=_0x278709;stat[_0x1a2147(0x1b3)]+=0x1,stat[_0x1a2147(0x1d2)]+=0x1,stat['last_message_time']=Math[_0x1a2147(0x1fc)](_0x51b472[_0x1a2147(0x165)](Date[_0x1a2147(0x207)](),0x3e8));},_0x247dfe[_0x278709(0x19e)]=_0x461f1b=>{const _0x39d36a=_0x278709;stat[_0x39d36a(0x1dd)]+=0x1,stat[_0x39d36a(0x19a)]+=_0x461f1b[_0x39d36a(0x16d)],stat[_0x39d36a(0x1a9)]=Math[_0x39d36a(0x1fc)](_0x51b472[_0x39d36a(0x1cd)](Date[_0x39d36a(0x207)](),0x3e8));},_0x247dfe[_0x278709(0x1d4)]=(..._0x512b1a)=>{const _0x175ded=_0x278709;stat[_0x175ded(0x1dd)]+=0x1;},this[_0x278709(0x209)](_0x247dfe);const _0x27c4f5=new BuddyListener();_0x27c4f5['onBuddyListChange']=_0x17451c=>{const _0x304edd=_0x278709;rawFriends[_0x304edd(0x16d)]=0x0,rawFriends['push'](..._0x17451c);for(const _0x21385c of _0x17451c){for(const _0x5ad585 of _0x21385c[_0x304edd(0x1da)]){const _0xd98e36=friends['get'](_0x5ad585['uid']);uid2UinMap[_0x5ad585['uid']]=_0x5ad585[_0x304edd(0x1ed)],_0xd98e36?Object[_0x304edd(0x18f)](_0xd98e36,_0x5ad585):friends[_0x304edd(0x17e)](_0x5ad585[_0x304edd(0x1fb)],_0x5ad585);}}},this[_0x278709(0x209)](_0x27c4f5),this['session'][_0x278709(0x1cc)]()[_0x278709(0x1ff)](!![])[_0x278709(0x1f6)](_0x34bb71=>{});const _0x1e273c=new ProfileListener();_0x1e273c[_0x278709(0x16f)]=_0x4b1878=>{const _0x1d67d0=_0x278709;_0x51b472[_0x1d67d0(0x189)](_0x4b1878[_0x1d67d0(0x1fb)],selfInfo['uid'])&&Object[_0x1d67d0(0x18f)](selfInfo,_0x4b1878);},_0x1e273c[_0x278709(0x15f)]=_0x26a88a=>{},this[_0x278709(0x209)](_0x1e273c);const _0x4853a9=new GroupListener();_0x4853a9[_0x278709(0x1aa)]=(_0x57866d,_0x40f57d)=>{const _0x58afdb=_0x278709;_0x40f57d[_0x58afdb(0x1f0)](_0x22dc7a=>{const _0x32f25e=_0x58afdb,_0x231060=groups[_0x32f25e(0x168)](_0x22dc7a[_0x32f25e(0x1a2)]);_0x231060&&_0x22dc7a[_0x32f25e(0x1d3)]===_0x231060[_0x32f25e(0x1d3)]?Object[_0x32f25e(0x18f)](_0x231060,_0x22dc7a):groups[_0x32f25e(0x17e)](_0x22dc7a[_0x32f25e(0x1a2)],_0x22dc7a);const _0x5141ba=this[_0x32f25e(0x1b5)][_0x32f25e(0x1cb)]()[_0x32f25e(0x1e0)](_0x22dc7a[_0x32f25e(0x1a2)],'groupMemberList_MainWindow');this[_0x32f25e(0x1b5)][_0x32f25e(0x1cb)]()[_0x32f25e(0x1ef)](_0x5141ba,undefined,0xbb8)[_0x32f25e(0x1f6)](_0x1eb9f3=>{});});},_0x4853a9['onMemberListChange']=_0x1d5af5=>{const _0x2beacc=_0x278709,_0x3fa146=_0x1d5af5[_0x2beacc(0x1e4)][_0x2beacc(0x1b4)]('_')[0x0];if(groupMembers[_0x2beacc(0x203)](_0x3fa146)){const _0x1349d3=groupMembers[_0x2beacc(0x168)](_0x3fa146);_0x1d5af5[_0x2beacc(0x17d)][_0x2beacc(0x188)]((_0x230a53,_0x36642d)=>{const _0x5664f7=_0x2beacc,_0x47c556=_0x1349d3['get'](_0x36642d);_0x47c556?Object[_0x5664f7(0x18f)](_0x47c556,_0x230a53):_0x1349d3[_0x5664f7(0x17e)](_0x36642d,_0x230a53);});}else groupMembers[_0x2beacc(0x17e)](_0x3fa146,_0x1d5af5['infos']);},_0x4853a9['onMemberInfoChange']=(_0x652e88,_0x388776,_0x2527b9)=>{const _0x34b807=_0x278709;_0x51b472[_0x34b807(0x17c)](_0x388776,0x0)&&_0x2527b9[_0x34b807(0x168)](selfInfo['uid'])&&_0x2527b9['get'](selfInfo[_0x34b807(0x1fb)])?.[_0x34b807(0x19d)]&&_0x51b472[_0x34b807(0x16b)](setTimeout,()=>{const _0x107200=_0x34b807;groups[_0x107200(0x190)](_0x652e88);},0x1388);_0x2527b9[_0x34b807(0x188)]((_0x432175,_0x135846)=>{const _0x182506=_0x34b807;uid2UinMap[_0x135846]=_0x432175[_0x182506(0x1ed)];});const _0x1d8462=groupMembers['get'](_0x652e88);_0x1d8462?_0x2527b9[_0x34b807(0x188)]((_0x16c5ae,_0x973d5c)=>{const _0x37a9c4=_0x34b807,_0x9f5150=_0x1d8462[_0x37a9c4(0x168)](_0x973d5c);_0x9f5150?Object[_0x37a9c4(0x18f)](_0x9f5150,_0x16c5ae):_0x1d8462[_0x37a9c4(0x17e)](_0x973d5c,_0x16c5ae);}):groupMembers[_0x34b807(0x17e)](_0x652e88,_0x2527b9);},this['addListener'](_0x4853a9);}[_0x4e661f(0x209)](_0x5526ff){const _0x2b29e2=_0x4e661f,_0xd082d7={'WVqAr':_0x2b29e2(0x17a),'uSHpy':_0x2b29e2(0x1eb),'zQXVd':'ProfileListener'};_0x5526ff=new Proxy(_0x5526ff,this[_0x2b29e2(0x181)]);switch(_0x5526ff[_0x2b29e2(0x1c1)][_0x2b29e2(0x186)]){case _0xd082d7['WVqAr']:{return this['session']['getBuddyService']()[_0x2b29e2(0x1d6)](new _0x2beeba[(_0x2b29e2(0x173))](_0x5526ff));}case _0xd082d7['uSHpy']:{return this[_0x2b29e2(0x1b5)]['getGroupService']()[_0x2b29e2(0x1e8)](new _0x2beeba[(_0x2b29e2(0x1e5))](_0x5526ff));}case _0x2b29e2(0x1fd):{return this['session'][_0x2b29e2(0x212)]()['addKernelMsgListener'](new _0x2beeba[(_0x2b29e2(0x1f8))](_0x5526ff));}case _0xd082d7[_0x2b29e2(0x19c)]:{return this[_0x2b29e2(0x1b5)][_0x2b29e2(0x20e)]()[_0x2b29e2(0x1b0)](new _0x2beeba[(_0x2b29e2(0x1c8))](_0x5526ff));}default:return-0x1;}}['onLoginSuccess'](_0xc61ea8){const _0x4ff4e1=_0x4e661f;NTEventDispatch[_0x4ff4e1(0x202)]({'ListenerMap':_0x2beeba,'WrapperSession':this[_0x4ff4e1(0x1b5)]}),this[_0x4ff4e1(0x1dc)][_0x4ff4e1(0x1fe)](_0xc61ea8);}async[_0x4e661f(0x171)](_0x5ef95a){const _0x2c7def=_0x4e661f,_0x5231f9={'xbIQf':function(_0x4bca8e,_0x251424){return _0x4bca8e(_0x251424);},'NQHXx':function(_0x4b9220,_0x5217fc){return _0x4b9220+_0x5217fc;},'RqbfE':'快速登录失败\x20'},_0x1a6fa2=await this['loginService']['getLoginList']();if(_0x1a6fa2[_0x2c7def(0x1d7)]!==0x0)throw new Error('没有可快速登录的QQ号');const _0x2ff17e=_0x1a6fa2[_0x2c7def(0x1c6)][_0x2c7def(0x17b)](_0x475244=>_0x475244['uin']===_0x5ef95a);if(!_0x2ff17e||!_0x2ff17e?.[_0x2c7def(0x192)])throw new Error(_0x5ef95a+_0x2c7def(0x199));await _0x5231f9[_0x2c7def(0x172)](sleep,0x3e8);const _0x2dc35c=await this['loginService'][_0x2c7def(0x1cf)](_0x5ef95a);if(!_0x2dc35c[_0x2c7def(0x1d7)])throw new Error(_0x5231f9[_0x2c7def(0x167)](_0x5231f9[_0x2c7def(0x206)],_0x2dc35c[_0x2c7def(0x182)]['errMsg']));return _0x2dc35c;}async[_0x4e661f(0x1a4)](_0x197b87){const _0x105b48=_0x4e661f,_0x2ef18e={'IPOaI':_0x105b48(0x184)};return new Promise((_0x39aa48,_0x207158)=>{const _0x11dadd=_0x105b48,_0x170508={'HJMPE':_0x2ef18e['IPOaI']};this[_0x11dadd(0x20f)]['onQRCodeGetPicture']=_0xe6600a=>{const _0x19b9f7=_0x11dadd,_0x493cdd=_0xe6600a['pngBase64QrcodeData'][_0x19b9f7(0x1b4)](_0x19b9f7(0x175))[0x1],_0x2252c6=Buffer[_0x19b9f7(0x1d5)](_0x493cdd,_0x170508[_0x19b9f7(0x1c3)]);_0x197b87(_0xe6600a[_0x19b9f7(0x1c4)],_0xe6600a[_0x19b9f7(0x198)],_0x2252c6);},this[_0x11dadd(0x1f2)]['getQRCodePicture']();});}async[_0x4e661f(0x18d)](_0x2ddcf4,_0x335428,_0x27565e,_0x577fa4,_0x5d6050){const _0x53c7fb=_0x4e661f,_0x29bf6a={'iWeXJ':_0x53c7fb(0x18b),'cJhsI':_0x53c7fb(0x1ea),'Zrfsh':function(_0x2926de,_0x1cd4b5){return _0x2926de&&_0x1cd4b5;},'zKYJz':function(_0x57060c,_0x50563e){return _0x57060c||_0x50563e;},'JlVAZ':function(_0x25fd1b,_0x1d895a){return _0x25fd1b||_0x1d895a;},'NBmiR':function(_0x3701f9,_0x1b8b49){return _0x3701f9(_0x1b8b49);},'saNih':_0x53c7fb(0x15c),'ViSSo':_0x53c7fb(0x163)},_0x29d8da=_0x24e44c[_0x53c7fb(0x1ce)](_0x29bf6a['iWeXJ'])[_0x53c7fb(0x1e6)](_0x335428)[_0x53c7fb(0x15a)](_0x29bf6a[_0x53c7fb(0x194)]),_0x5740d8={'uin':_0x2ddcf4,'passwordMd5':_0x29d8da,'step':_0x29bf6a[_0x53c7fb(0x200)](_0x27565e,_0x577fa4)&&_0x5d6050?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x29bf6a[_0x53c7fb(0x1a6)](_0x27565e,''),'proofWaterRand':_0x29bf6a['zKYJz'](_0x577fa4,''),'proofWaterSid':_0x29bf6a['JlVAZ'](_0x5d6050,'')};await this[_0x53c7fb(0x1f2)][_0x53c7fb(0x15b)](),await _0x29bf6a[_0x53c7fb(0x1d0)](sleep,0x3e8);const _0x2f79a2=await this['loginService'][_0x53c7fb(0x18d)](_0x5740d8);switch(_0x2f79a2[_0x53c7fb(0x1d7)]){case'0':{break;}case _0x29bf6a[_0x53c7fb(0x178)]:{break;}case'4':case _0x29bf6a[_0x53c7fb(0x1ab)]:default:}}async[_0x4e661f(0x1f7)](){const _0x24628c=_0x4e661f,_0x211e58=await this[_0x24628c(0x1f2)]['getLoginList']();return _0x211e58;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x4b3abe=_0x2449;(function(_0x20b741,_0x2a67cf){const _0x48b6b4=_0x2449,_0x1e988c=_0x20b741();while(!![]){try{const _0x443249=-parseInt(_0x48b6b4(0x24e))/0x1+parseInt(_0x48b6b4(0x1d6))/0x2*(parseInt(_0x48b6b4(0x207))/0x3)+parseInt(_0x48b6b4(0x22e))/0x4+parseInt(_0x48b6b4(0x212))/0x5+parseInt(_0x48b6b4(0x213))/0x6+parseInt(_0x48b6b4(0x263))/0x7*(-parseInt(_0x48b6b4(0x23f))/0x8)+-parseInt(_0x48b6b4(0x24a))/0x9;if(_0x443249===_0x2a67cf)break;else _0x1e988c['push'](_0x1e988c['shift']());}catch(_0x36beab){_0x1e988c['push'](_0x1e988c['shift']());}}}(_0xaa47,0xf1793));import _0x36b2a8 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x54f808 from'node:path';import _0x177217 from'node:os';import _0x570f9c from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0xaa47(){const _0x12b733=['140022008','onRecvSysMsg','VlFde','没有可快速登录的QQ号','initDataListener','MsgListener','NodeIQQNTWrapperSession','./.config/QQ','mkdirSync','wiVUI','session','NodeIKernelBuddyListener','NodeIKernelLoginService','NodeIDependsAdapter','onMemberListChange','sLcKs','./nt_qq/global','onBuddyListChange','JhYRm','pzeNr','VNvEl','数据库初始化失败','initWithDeskTopConfig','\x20has\x20no\x20method\x20','isQuickLogin','loginErrorInfo','6695560lQkhGr','util','NEKeC','assign','EGXnX','replace','initSession\x20failed','getNTUserDataInfoConfig','onProfileDetailInfoChanged','VdpuG',')已登录,无法重复登录','dataPath','onSessionInitComplete','Windows\x2010\x20Pro','NodeIDispatcherAdapter','result','uHaZA','27856gNzVjA','tipsTitle','addKernelProfileListener','name','EXmaE','gCvyU','getLoginList','base64','uid','onLoginSuccessFuncList','recallTime','21576159bNTqDF','getQuickLoginList','XDbeU','proxyHandler','877250onNyIR','resolve','message_sent','infos','hHXDZ','loginService','md5','UQpBN','createMemberListScene','catch','xovOf','yiXjS','getBuddyList','map','PsLdf','qrcodeUrl','consoleLog','data:image/png;base64,','onRecvMsg','has','now','2191ttyFWv','digest','onQRCodeSessionFailed','nHzvA','tkwpT','homedir','addMsg','TrAXU','curVersion','addKernelBuddyListener','LJUzs','lOvXE','UuZTF','TMsvg','undefined','split','LocalLoginInfoList','update','VSLfA','UNnCS','fileLog','uin','ZHoZV','quickLoginWithUin','tipsDesc','clientType','NodeIKernelSessionListener','init','UILzd','QVsIf','from','启动失败:\x20','aFaWj','getQRCodePicture','errMsg','getGroupService','groupMemberList_MainWindow','loginListener','NodeIGlobalAdapter','startNT','addKernelMsgListener','delete','EfYXR','set','onGroupListUpdate','pngBase64QrcodeData','passwordLogin','length','609150wpVQWA','addListener','dataPathGlobal','ySfth','onQRCodeGetPicture','isDelete','本账号数据/缓存目录:','当前账号(','sceneId','packet_received','WjITR','IBvjO','message_received','updateMsg','aFfYY','floor','hNnNt','onAddSendMsg','pWbBS','hWFMH','[KickedOffLine]\x20[','then','qrLogin','onSelfStatusChanged','msgId','EGXtG','ULjda','onQRCodeLoginSucceed','lFktd','engine','登录失败','onUserLoggedIn','forEach','快速登录失败\x20','VaIHk','constructor','getMsgService','getBuddyService','hex','addKernelLoginListener','NodeIQQNTWrapperEngine','initConfig','getNextMemberList','get','DVTRp','groupCode','onMemberInfoChange','NodeIKernelGroupListener','140022013','12iwEkOV','onLoginFailed','OCcpr','addKernelGroupListener','push','eLseI','devUid','last_message_time','NodeIKernelLoginListener','onMsgInfoListUpdate','BuddyListener','7804180HWsWKy','5403096AivvPC'];_0xaa47=function(){return _0x12b733;};return _0xaa47();}function _0x2449(_0x220191,_0x7c8178){const _0xaa47be=_0xaa47();return _0x2449=function(_0x2449d5,_0x475e08){_0x2449d5=_0x2449d5-0x1cd;let _0x177026=_0xaa47be[_0x2449d5];return _0x177026;},_0x2449(_0x220191,_0x7c8178);}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0xb997e7 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];['util'];[_0x4b3abe(0x1f3)];['loginListener'];[_0x4b3abe(0x253)];[_0x4b3abe(0x248)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x1cb94c=_0x4b3abe,zCYLdf={'EGXnX':function(x,y){return x===y;},'AaeTf':_0x1cb94c(0x271)};if(zCYLdf[_0x1cb94c(0x232)](typeof target[prop],zCYLdf['AaeTf']))return(...args)=>{const _0x5bf368=_0x1cb94c;logDebug(target[_0x5bf368(0x1f9)][_0x5bf368(0x242)]+_0x5bf368(0x22b)+prop);};return Reflect[_0x1cb94c(0x201)](target,prop,receiver);}};constructor(){const _0x41df3d=_0x4b3abe,_0x5c87eb={'OCcpr':function(_0x2ed48e,_0x4fa783){return _0x2ed48e+_0x4fa783;},'mwggg':_0x41df3d(0x1dd),'EGXtG':_0x41df3d(0x238),'JhYRm':function(_0x5b9331,_0x19d50a,_0x4e0004){return _0x5b9331(_0x19d50a,_0x4e0004);},'gCvyU':'./NapCat/data','wiVUI':function(_0x5dae58,_0x21487a,_0x48db7b){return _0x5dae58(_0x21487a,_0x48db7b);},'aFaWj':_0x41df3d(0x1dc),'NEKeC':function(_0x4cbc56,_0xc45b3,_0x54c19b){return _0x4cbc56(_0xc45b3,_0x54c19b);},'fKjvo':_0x41df3d(0x234),'QVsIf':function(_0x5e6287,_0x4549b4,_0x44bd41){return _0x5e6287(_0x4549b4,_0x44bd41);},'LJUzs':_0x41df3d(0x1f4),'yiXjS':function(_0x3be11f,_0x415d75){return _0x3be11f==_0x415d75;}};this[_0x41df3d(0x1f3)]=new _0x36b2a8[(_0x41df3d(0x1fe))](),this[_0x41df3d(0x22f)]=new _0x36b2a8['NodeQQNTWrapperUtil'](),this[_0x41df3d(0x253)]=new _0x36b2a8[(_0x41df3d(0x220))](),this[_0x41df3d(0x21e)]=new _0x36b2a8[(_0x41df3d(0x21a))](),this[_0x41df3d(0x288)]=new LoginListener(),this['loginListener'][_0x41df3d(0x1f5)]=_0x163668=>{const _0x5dba88=_0x41df3d;logError(_0x5c87eb[_0x5dba88(0x209)](_0x5c87eb['mwggg'],_0x163668)+_0x5c87eb[_0x5dba88(0x1ef)]);},this['loginListener'][_0x41df3d(0x1f1)]=_0x10cfeb=>{const _0x35a38b=_0x41df3d,_0x257fc0={'eLseI':function(_0x45129e,_0xda28f8,_0x4c9c38){const _0x2a2866=_0x2449;return _0x5c87eb[_0x2a2866(0x280)](_0x45129e,_0xda28f8,_0x4c9c38);}};this['initSession'](_0x10cfeb['uin'],_0x10cfeb[_0x35a38b(0x247)])['then'](_0x4a126a=>{const _0x2c9658=_0x35a38b,_0x2eb12e={'bBFeE':function(_0x37bd7a,_0x319f1b){return _0x37bd7a instanceof _0x319f1b;}};selfInfo['uin']=_0x10cfeb['uin'],selfInfo[_0x2c9658(0x247)]=_0x10cfeb[_0x2c9658(0x247)],napCatConfig['read'](),_0x5c87eb[_0x2c9658(0x226)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig[_0x2c9658(0x277)]),enableConsoleLog(napCatConfig[_0x2c9658(0x25e)]),setLogSelfInfo(selfInfo);const _0x56358d=_0x54f808['resolve'](this[_0x2c9658(0x239)],_0x5c87eb[_0x2c9658(0x244)]);_0x570f9c[_0x2c9658(0x21c)](_0x56358d,{'recursive':!![]}),_0x5c87eb[_0x2c9658(0x21d)](logDebug,_0x5c87eb[_0x2c9658(0x283)],_0x56358d),dbUtil[_0x2c9658(0x27e)](_0x54f808['resolve'](_0x56358d,'./'+_0x10cfeb[_0x2c9658(0x278)]+'-v2.db'))[_0x2c9658(0x1eb)](()=>{const _0x38be4c=_0x2c9658;this[_0x38be4c(0x218)](),this[_0x38be4c(0x248)][_0x38be4c(0x25b)](_0x4a0b72=>{const _0x1f60bd=_0x38be4c,_0xfbf69f={'lOvXE':function(_0x23ca6f,_0x41c6ac){return _0x2eb12e['bBFeE'](_0x23ca6f,_0x41c6ac);}};new Promise((_0x3338f6,_0x210e7d)=>{const _0x510f7f=_0x2449,_0x2c641c=_0x4a0b72(_0x10cfeb['uin'],_0x10cfeb[_0x510f7f(0x247)]);_0xfbf69f[_0x510f7f(0x26e)](_0x2c641c,Promise)&&_0x2c641c[_0x510f7f(0x1eb)](_0x3338f6)[_0x510f7f(0x257)](_0x210e7d);})[_0x1f60bd(0x1eb)]();});})['catch'](_0x413171=>{const _0x21c89e=_0x2c9658;_0x257fc0[_0x21c89e(0x20c)](logError,_0x21c89e(0x229),_0x413171);});})[_0x35a38b(0x257)](_0x4c934d=>{const _0x17cc3f=_0x35a38b;_0x5c87eb[_0x17cc3f(0x230)](logError,_0x5c87eb['fKjvo'],_0x4c934d);throw new Error(_0x17cc3f(0x282)+JSON['stringify'](_0x4c934d));});},this['loginListener'][_0x41df3d(0x265)]=(_0x7347c7,_0x585d8d,_0x3e8d09)=>{const _0x326124=_0x41df3d;_0x5c87eb[_0x326124(0x226)](logError,_0x5c87eb[_0x326124(0x26d)],_0x3e8d09),_0x5c87eb[_0x326124(0x259)](_0x7347c7,0x1)&&_0x5c87eb[_0x326124(0x259)](_0x585d8d,0x3)&&this['loginService'][_0x326124(0x284)]();},this['loginListener'][_0x41df3d(0x208)]=_0x4d2ec6=>{const _0x330609=_0x41df3d;logError(_0x5c87eb[_0x330609(0x26d)],_0x4d2ec6);},this[_0x41df3d(0x288)]=new Proxy(this[_0x41df3d(0x288)],this['proxyHandler']),this[_0x41df3d(0x253)][_0x41df3d(0x1fd)](new _0x36b2a8[(_0x41df3d(0x20f))](this['loginListener'])),this[_0x41df3d(0x1ff)]();}get['dataPath'](){const _0x3daf35=_0x4b3abe,_0x19af8f={'VdpuG':_0x3daf35(0x21b)};let _0x5054f3=this[_0x3daf35(0x22f)][_0x3daf35(0x235)]();return!_0x5054f3&&(_0x5054f3=_0x54f808[_0x3daf35(0x24f)](_0x177217[_0x3daf35(0x268)](),_0x19af8f[_0x3daf35(0x237)]),_0x570f9c[_0x3daf35(0x21c)](_0x5054f3,{'recursive':!![]})),_0x5054f3;}get[_0x4b3abe(0x1d8)](){const _0x31c310=_0x4b3abe,_0xfda0a={'sLcKs':_0x31c310(0x224)};return _0x54f808[_0x31c310(0x24f)](this[_0x31c310(0x239)],_0xfda0a[_0x31c310(0x223)]);}[_0x4b3abe(0x1ff)](){const _0x9ad99a=_0x4b3abe,_0x50be82={'uHaZA':_0x9ad99a(0x23b)};this[_0x9ad99a(0x1f3)][_0x9ad99a(0x22a)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x50be82[_0x9ad99a(0x23e)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x9ad99a(0x233)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x36b2a8[(_0x9ad99a(0x289))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x9ad99a(0x1d8)],'clientVer':qqVersionConfigInfo[_0x9ad99a(0x26b)],'hostName':hostname});}['initSession'](_0x1e57ea,_0xdd4f9e){const _0x21f389={'VlFde':function(_0x24fb59,_0x38c7aa){return _0x24fb59===_0x38c7aa;},'UNnCS':function(_0x5e2f5a,_0x47f7e9){return _0x5e2f5a(_0x47f7e9);},'KQhkW':function(_0xe4ea5d,_0x52ee0f,_0x2f640c,_0x307013){return _0xe4ea5d(_0x52ee0f,_0x2f640c,_0x307013);},'xovOf':function(_0x4015ec,_0x40d385){return _0x4015ec(_0x40d385);},'DVTRp':function(_0x4f1e99,_0x191339){return _0x4f1e99+_0x191339;},'PsLdf':'init\x20failed\x20'};return new Promise((_0x58ee3c,_0x1d9899)=>{const _0x1a6ed5=_0x2449,_0x4cb5b4=_0x21f389['KQhkW'](genSessionConfig,_0x1e57ea,_0xdd4f9e,this[_0x1a6ed5(0x239)]),_0x573d15=new SessionListener();_0x573d15[_0x1a6ed5(0x23a)]=_0x4ca479=>{const _0x50e42a=_0x1a6ed5;if(_0x21f389[_0x50e42a(0x216)](_0x4ca479,0x0))return _0x21f389[_0x50e42a(0x276)](_0x58ee3c,0x0);_0x1d9899(_0x4ca479);},this[_0x1a6ed5(0x21e)][_0x1a6ed5(0x27e)](_0x4cb5b4,new _0x36b2a8[(_0x1a6ed5(0x221))](new DependsAdapter()),new _0x36b2a8[(_0x1a6ed5(0x23c))](new DispatcherAdapter()),new _0x36b2a8[(_0x1a6ed5(0x27d))](_0x573d15));try{this[_0x1a6ed5(0x21e)][_0x1a6ed5(0x1cd)](0x0);}catch(_0x543375){try{this[_0x1a6ed5(0x21e)][_0x1a6ed5(0x1cd)]();}catch(_0x31df94){_0x21f389[_0x1a6ed5(0x258)](_0x1d9899,_0x21f389[_0x1a6ed5(0x202)](_0x21f389[_0x1a6ed5(0x25c)],_0x31df94));}}});}[_0x4b3abe(0x218)](){const _0xc3c355=_0x4b3abe,_0x3d9937={'GrzLx':function(_0x33848,_0x252799){return _0x33848===_0x252799;},'VSLfA':function(_0x56e7bc,_0x4ebb39){return _0x56e7bc(_0x4ebb39);},'ULjda':function(_0x234d6d,_0x5d9218){return _0x234d6d+_0x5d9218;},'VaIHk':function(_0x5e0fae,_0x29b864){return _0x5e0fae(_0x29b864);},'VNvEl':_0xc3c355(0x1ea),'hWFMH':function(_0x1fc1b2,_0x32905c){return _0x1fc1b2===_0x32905c;},'EXmaE':function(_0x1b42d9,_0x27caba){return _0x1b42d9/_0x27caba;},'UuZTF':function(_0x283893,_0x4e9fcb){return _0x283893===_0x4e9fcb;},'ZHoZV':_0xc3c355(0x287),'lFktd':function(_0x347642,_0x261c9e,_0x1b3eef){return _0x347642(_0x261c9e,_0x1b3eef);}},_0x396a3a=new MsgListener();_0x396a3a['onLineDev']=_0x5301e9=>{const _0xafcd31=_0xc3c355;_0x5301e9[_0xafcd31(0x25b)](_0xf78d15=>{const _0x37c49c=_0xafcd31;_0x3d9937['GrzLx'](_0xf78d15[_0x37c49c(0x27c)],0x2)&&_0x3d9937[_0x37c49c(0x275)](log,_0x3d9937[_0x37c49c(0x1f0)](_0x3d9937[_0x37c49c(0x1f0)]('账号设备(',_0xf78d15[_0x37c49c(0x20d)]),')\x20在线状态变更'));});},_0x396a3a['onKickedOffLine']=_0x51176a=>{const _0x3660cf=_0xc3c355;_0x3d9937[_0x3660cf(0x1f8)](log,_0x3d9937[_0x3660cf(0x1f0)](_0x3d9937[_0x3660cf(0x1f0)](_0x3d9937[_0x3660cf(0x1f0)](_0x3d9937[_0x3660cf(0x228)],_0x51176a[_0x3660cf(0x240)]),']\x20'),_0x51176a[_0x3660cf(0x27b)]));},_0x396a3a[_0xc3c355(0x210)]=_0x3dfbab=>{const _0x5a4beb=_0xc3c355;stat[_0x5a4beb(0x1df)]+=0x1,_0x3dfbab['map'](_0x318567=>{const _0x2b7ee9=_0x5a4beb;_0x3d9937[_0x2b7ee9(0x1e9)](_0x318567[_0x2b7ee9(0x249)],'0')?dbUtil[_0x2b7ee9(0x269)](_0x318567)[_0x2b7ee9(0x1eb)]()[_0x2b7ee9(0x257)]():dbUtil['getMsgByLongId'](_0x318567[_0x2b7ee9(0x1ee)])[_0x2b7ee9(0x1eb)](_0x465e66=>{const _0x590383=_0x2b7ee9;_0x465e66&&(_0x465e66[_0x590383(0x249)]=_0x318567[_0x590383(0x249)],dbUtil[_0x590383(0x1e3)](_0x465e66)[_0x590383(0x1eb)]());});});},_0x396a3a[_0xc3c355(0x1e7)]=_0x377cd2=>{const _0x30436c=_0xc3c355;stat['packet_sent']+=0x1,stat[_0x30436c(0x250)]+=0x1,stat[_0x30436c(0x20e)]=Math[_0x30436c(0x1e5)](_0x3d9937['EXmaE'](Date[_0x30436c(0x262)](),0x3e8));},_0x396a3a[_0xc3c355(0x260)]=_0x8f3294=>{const _0x42711c=_0xc3c355;stat[_0x42711c(0x1df)]+=0x1,stat[_0x42711c(0x1e2)]+=_0x8f3294[_0x42711c(0x1d5)],stat[_0x42711c(0x20e)]=Math['floor'](_0x3d9937[_0x42711c(0x243)](Date['now'](),0x3e8));},_0x396a3a[_0xc3c355(0x215)]=(..._0x6936f1)=>{const _0xe2e7bc=_0xc3c355;stat[_0xe2e7bc(0x1df)]+=0x1;},this[_0xc3c355(0x1d7)](_0x396a3a);const _0x3f6494=new BuddyListener();_0x3f6494[_0xc3c355(0x225)]=_0x572742=>{const _0x54ab26=_0xc3c355;rawFriends['length']=0x0,rawFriends[_0x54ab26(0x20b)](..._0x572742);for(const _0x3a89ec of _0x572742){for(const _0x2734e2 of _0x3a89ec['buddyList']){const _0x416fd7=friends[_0x54ab26(0x201)](_0x2734e2[_0x54ab26(0x247)]);uid2UinMap[_0x2734e2[_0x54ab26(0x247)]]=_0x2734e2[_0x54ab26(0x278)],_0x416fd7?Object[_0x54ab26(0x231)](_0x416fd7,_0x2734e2):friends[_0x54ab26(0x1d1)](_0x2734e2['uid'],_0x2734e2);}}},this[_0xc3c355(0x1d7)](_0x3f6494),this[_0xc3c355(0x21e)]['getBuddyService']()[_0xc3c355(0x25a)](!![])[_0xc3c355(0x1eb)](_0xa2e2b1=>{});const _0x30de06=new ProfileListener();_0x30de06[_0xc3c355(0x236)]=_0x209f21=>{const _0x1d8014=_0xc3c355;_0x3d9937[_0x1d8014(0x26f)](_0x209f21[_0x1d8014(0x247)],selfInfo[_0x1d8014(0x247)])&&Object[_0x1d8014(0x231)](selfInfo,_0x209f21);},_0x30de06[_0xc3c355(0x1ed)]=_0x5d4c6c=>{},this[_0xc3c355(0x1d7)](_0x30de06);const _0x4ea9ad=new GroupListener();_0x4ea9ad[_0xc3c355(0x1d2)]=(_0xecf07e,_0x545f3d)=>{_0x545f3d['map'](_0x41defe=>{const _0x5b894e=_0x2449,_0x4460c8=groups[_0x5b894e(0x201)](_0x41defe[_0x5b894e(0x203)]);_0x4460c8&&_0x41defe['memberCount']===_0x4460c8['memberCount']?Object[_0x5b894e(0x231)](_0x4460c8,_0x41defe):groups[_0x5b894e(0x1d1)](_0x41defe[_0x5b894e(0x203)],_0x41defe);const _0x42fd71=this[_0x5b894e(0x21e)]['getGroupService']()[_0x5b894e(0x256)](_0x41defe[_0x5b894e(0x203)],_0x3d9937[_0x5b894e(0x279)]);this['session'][_0x5b894e(0x286)]()[_0x5b894e(0x200)](_0x42fd71,undefined,0xbb8)['then'](_0x47a476=>{});});},_0x4ea9ad[_0xc3c355(0x222)]=_0x986a7c=>{const _0x2d943e=_0xc3c355,_0x3f3079=_0x986a7c[_0x2d943e(0x1de)]['split']('_')[0x0];if(groupMembers[_0x2d943e(0x261)](_0x3f3079)){const _0x27e567=groupMembers[_0x2d943e(0x201)](_0x3f3079);_0x986a7c[_0x2d943e(0x251)][_0x2d943e(0x1f6)]((_0x415b76,_0x568c06)=>{const _0x568d58=_0x2d943e,_0x3ce3c6=_0x27e567[_0x568d58(0x201)](_0x568c06);_0x3ce3c6?Object[_0x568d58(0x231)](_0x3ce3c6,_0x415b76):_0x27e567['set'](_0x568c06,_0x415b76);});}else groupMembers[_0x2d943e(0x1d1)](_0x3f3079,_0x986a7c[_0x2d943e(0x251)]);},_0x4ea9ad[_0xc3c355(0x204)]=(_0x141ad6,_0x166a4d,_0x2deb21)=>{const _0x113916=_0xc3c355;_0x166a4d===0x0&&_0x2deb21[_0x113916(0x201)](selfInfo[_0x113916(0x247)])&&_0x2deb21[_0x113916(0x201)](selfInfo[_0x113916(0x247)])?.[_0x113916(0x1db)]&&_0x3d9937[_0x113916(0x1f2)](setTimeout,()=>{const _0x5b5c09=_0x113916;groups[_0x5b5c09(0x1cf)](_0x141ad6);},0x1388);_0x2deb21[_0x113916(0x1f6)]((_0xcc7f02,_0x3d7f34)=>{uid2UinMap[_0x3d7f34]=_0xcc7f02['uin'];});const _0x260f85=groupMembers['get'](_0x141ad6);_0x260f85?_0x2deb21[_0x113916(0x1f6)]((_0x164a8f,_0x11496d)=>{const _0x597c2f=_0x113916,_0x57f9bb=_0x260f85['get'](_0x11496d);_0x57f9bb?Object[_0x597c2f(0x231)](_0x57f9bb,_0x164a8f):_0x260f85[_0x597c2f(0x1d1)](_0x11496d,_0x164a8f);}):groupMembers[_0x113916(0x1d1)](_0x141ad6,_0x2deb21);},this[_0xc3c355(0x1d7)](_0x4ea9ad);}['addListener'](_0x248a89){const _0x2c28ff=_0x4b3abe,_0x42b2f2={'hHXDZ':_0x2c28ff(0x211)};_0x248a89=new Proxy(_0x248a89,this[_0x2c28ff(0x24d)]);switch(_0x248a89[_0x2c28ff(0x1f9)][_0x2c28ff(0x242)]){case _0x42b2f2[_0x2c28ff(0x252)]:{return this[_0x2c28ff(0x21e)][_0x2c28ff(0x1fb)]()[_0x2c28ff(0x26c)](new _0x36b2a8[(_0x2c28ff(0x21f))](_0x248a89));}case'GroupListener':{return this[_0x2c28ff(0x21e)][_0x2c28ff(0x286)]()[_0x2c28ff(0x20a)](new _0x36b2a8[(_0x2c28ff(0x205))](_0x248a89));}case _0x2c28ff(0x219):{return this['session'][_0x2c28ff(0x1fa)]()[_0x2c28ff(0x1ce)](new _0x36b2a8['NodeIKernelMsgListener'](_0x248a89));}case'ProfileListener':{return this['session']['getProfileService']()[_0x2c28ff(0x241)](new _0x36b2a8['NodeIKernelProfileListener'](_0x248a89));}default:return-0x1;}}['onLoginSuccess'](_0x2282f2){const _0x1b5746=_0x4b3abe;NTEventDispatch[_0x1b5746(0x27e)]({'ListenerMap':_0x36b2a8,'WrapperSession':this[_0x1b5746(0x21e)]}),this[_0x1b5746(0x248)][_0x1b5746(0x20b)](_0x2282f2);}async['quickLogin'](_0x4fd428){const _0x3a9161=_0x4b3abe,_0x45f1fe={'UQpBN':function(_0x290bb2,_0x1e0d10){return _0x290bb2!==_0x1e0d10;},'TrAXU':_0x3a9161(0x217),'HGvgG':function(_0x113cf2,_0x3d57ce){return _0x113cf2(_0x3d57ce);},'XDbeU':_0x3a9161(0x1f7)},_0x2c8a40=await this['loginService'][_0x3a9161(0x245)]();if(_0x45f1fe[_0x3a9161(0x255)](_0x2c8a40[_0x3a9161(0x23d)],0x0))throw new Error(_0x45f1fe[_0x3a9161(0x26a)]);const _0x47acf3=_0x2c8a40[_0x3a9161(0x273)]['find'](_0x4b0e2a=>_0x4b0e2a[_0x3a9161(0x278)]===_0x4fd428);if(!_0x47acf3||!_0x47acf3?.[_0x3a9161(0x22c)])throw new Error(_0x4fd428+'快速登录不可用');await _0x45f1fe['HGvgG'](sleep,0x3e8);const _0x125c65=await this['loginService'][_0x3a9161(0x27a)](_0x4fd428);if(!_0x125c65[_0x3a9161(0x23d)])throw new Error(_0x45f1fe[_0x3a9161(0x24c)]+_0x125c65[_0x3a9161(0x22d)][_0x3a9161(0x285)]);return _0x125c65;}async[_0x4b3abe(0x1ec)](_0x30fab5){const _0x228eb1=_0x4b3abe,_0x45e19c={'TMsvg':_0x228eb1(0x25f),'pWbBS':_0x228eb1(0x246),'UILzd':function(_0x16794f,_0x423c8e,_0x55b4df,_0x3b27f9){return _0x16794f(_0x423c8e,_0x55b4df,_0x3b27f9);}};return new Promise((_0x181b68,_0x54c049)=>{const _0x918afe=_0x228eb1,_0x2667f1={'ySfth':_0x45e19c[_0x918afe(0x270)],'aFfYY':_0x45e19c[_0x918afe(0x1e8)],'nHzvA':function(_0x1b4e14,_0x8ad89e,_0x5d0110,_0x1d3e66){const _0x187081=_0x918afe;return _0x45e19c[_0x187081(0x27f)](_0x1b4e14,_0x8ad89e,_0x5d0110,_0x1d3e66);}};this[_0x918afe(0x288)][_0x918afe(0x1da)]=_0x461a0c=>{const _0x454721=_0x918afe,_0x538b3f=_0x461a0c[_0x454721(0x1d3)][_0x454721(0x272)](_0x2667f1[_0x454721(0x1d9)])[0x1],_0x34e15f=Buffer[_0x454721(0x281)](_0x538b3f,_0x2667f1[_0x454721(0x1e4)]);_0x2667f1[_0x454721(0x266)](_0x30fab5,_0x461a0c[_0x454721(0x25d)],_0x461a0c['pngBase64QrcodeData'],_0x34e15f);},this['loginService'][_0x918afe(0x284)]();});}async[_0x4b3abe(0x1d4)](_0x34ec60,_0x13d762,_0x2cd7bc,_0x2f5956,_0x4f906c){const _0x16ab9d=_0x4b3abe,_0x14e915={'pzeNr':_0x16ab9d(0x254),'tadVk':_0x16ab9d(0x1fc),'hNnNt':function(_0x288d17,_0xde85de){return _0x288d17&&_0xde85de;},'WjITR':function(_0x2cf42d,_0x20ce4f){return _0x2cf42d||_0x20ce4f;},'EfYXR':function(_0x33aa0f,_0x1ffdc5){return _0x33aa0f||_0x1ffdc5;},'IBvjO':_0x16ab9d(0x214),'tkwpT':_0x16ab9d(0x206)},_0x446c6c=_0xb997e7['createHash'](_0x14e915[_0x16ab9d(0x227)])[_0x16ab9d(0x274)](_0x13d762)[_0x16ab9d(0x264)](_0x14e915['tadVk']),_0x54a782={'uin':_0x34ec60,'passwordMd5':_0x446c6c,'step':_0x14e915[_0x16ab9d(0x1e6)](_0x2cd7bc,_0x2f5956)&&_0x4f906c?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x14e915[_0x16ab9d(0x1e0)](_0x2cd7bc,''),'proofWaterRand':_0x14e915[_0x16ab9d(0x1e0)](_0x2f5956,''),'proofWaterSid':_0x14e915[_0x16ab9d(0x1d0)](_0x4f906c,'')};await this[_0x16ab9d(0x253)][_0x16ab9d(0x245)](),await sleep(0x3e8);const _0x58dcb1=await this[_0x16ab9d(0x253)]['passwordLogin'](_0x54a782);switch(_0x58dcb1[_0x16ab9d(0x23d)]){case'0':{break;}case _0x14e915[_0x16ab9d(0x1e1)]:{break;}case'4':case _0x14e915[_0x16ab9d(0x267)]:default:}}async[_0x4b3abe(0x24b)](){const _0x5e4fd0=_0x4b3abe,_0x331d63=await this[_0x5e4fd0(0x253)][_0x5e4fd0(0x245)]();return _0x331d63;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 0854d9f4..986eef0f 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x1af961=_0x5577;(function(_0x13488c,_0x526b3b){const _0x5810b5=_0x5577,_0x3fbf88=_0x13488c();while(!![]){try{const _0x44be6f=-parseInt(_0x5810b5(0x12e))/0x1+-parseInt(_0x5810b5(0x133))/0x2+parseInt(_0x5810b5(0x122))/0x3+parseInt(_0x5810b5(0x12b))/0x4+parseInt(_0x5810b5(0x123))/0x5+-parseInt(_0x5810b5(0x12f))/0x6+parseInt(_0x5810b5(0x138))/0x7*(-parseInt(_0x5810b5(0x136))/0x8);if(_0x44be6f===_0x526b3b)break;else _0x3fbf88['push'](_0x3fbf88['shift']());}catch(_0x38b35b){_0x3fbf88['push'](_0x3fbf88['shift']());}}}(_0x4dee,0x9ef00));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x465df9){groups['delete'](_0x465df9),groupMembers['delete'](_0x465df9);}function _0x4dee(){const _0x44992e=['getGroups','NapCat未能正常启动,请检查日志查看错误','find','1511312Uccgtc','from','toString','101418HklAdh','6477984xmTloK','set','getGroupMembers','forEach','409134ufQzZa','values','uin','16ncskUU','length','369859zAWdsh','2948859vjhQzC','3907750LdyhYn','get','IeNzG','SCWzz','QteaK'];_0x4dee=function(){return _0x44992e;};return _0x4dee();}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x1af961(0x129)};export async function getFriend(_0xf066c3){const _0x56fc55=_0x1af961,_0x2eecc6={'IeNzG':function(_0x5144e3,_0x5b2621){return _0x5144e3(_0x5b2621);}};_0xf066c3=_0xf066c3[_0x56fc55(0x12d)]();if(_0x2eecc6[_0x56fc55(0x125)](isNumeric,_0xf066c3)){const _0x561fa3=Array[_0x56fc55(0x12c)](friends[_0x56fc55(0x134)]());return _0x561fa3[_0x56fc55(0x12a)](_0x20c8d8=>_0x20c8d8[_0x56fc55(0x135)]===_0xf066c3);}else return friends['get'](_0xf066c3);}export async function getGroup(_0x1d64e9){const _0x590206=_0x1af961;let _0x189209=groups['get'](_0x1d64e9[_0x590206(0x12d)]());if(!_0x189209)try{const _0x447462=await NTQQGroupApi[_0x590206(0x128)]();_0x447462[_0x590206(0x137)]&&_0x447462[_0x590206(0x132)](_0x2174aa=>{const _0x1e6a37=_0x590206;groups[_0x1e6a37(0x130)](_0x2174aa['groupCode'],_0x2174aa);});}catch(_0x3c329f){return undefined;}return _0x189209=groups[_0x590206(0x124)](_0x1d64e9[_0x590206(0x12d)]()),_0x189209;}export async function getGroupMember(_0x244cc0,_0x3db2a2){const _0xcd3bfd=_0x1af961,_0x34d451={'SCWzz':function(_0x38164c,_0x3206c6){return _0x38164c(_0x3206c6);},'rqFTV':function(_0x1ee764){return _0x1ee764();},'Mbfqs':function(_0x2007c4){return _0x2007c4();}};_0x244cc0=_0x244cc0[_0xcd3bfd(0x12d)](),_0x3db2a2=_0x3db2a2[_0xcd3bfd(0x12d)]();let _0x484d79=groupMembers['get'](_0x244cc0);if(!_0x484d79)try{_0x484d79=await NTQQGroupApi['getGroupMembers'](_0x244cc0),groupMembers['set'](_0x244cc0,_0x484d79);}catch(_0x3a759e){return null;}const _0x2444cd=()=>{const _0x57dbab=_0xcd3bfd;let _0x239f08=undefined;return _0x34d451[_0x57dbab(0x126)](isNumeric,_0x3db2a2)?_0x239f08=Array[_0x57dbab(0x12c)](_0x484d79[_0x57dbab(0x134)]())['find'](_0x348246=>_0x348246[_0x57dbab(0x135)]===_0x3db2a2):_0x239f08=_0x484d79[_0x57dbab(0x124)](_0x3db2a2),_0x239f08;};let _0x28bd73=_0x34d451['rqFTV'](_0x2444cd);return!_0x28bd73&&(_0x484d79=await NTQQGroupApi[_0xcd3bfd(0x131)](_0x244cc0),_0x28bd73=_0x34d451['Mbfqs'](_0x2444cd)),_0x28bd73;}export const uid2UinMap={};export function getUidByUin(_0x41ac43){const _0x4e009f=_0x1af961,_0x659b33={'QteaK':function(_0x225bee,_0x2fbf61){return _0x225bee===_0x2fbf61;}};for(const _0x11a6f9 in uid2UinMap){if(_0x659b33[_0x4e009f(0x127)](uid2UinMap[_0x11a6f9],_0x41ac43))return _0x11a6f9;}}export const tempGroupCodeMap={};export const rawFriends=[];function _0x5577(_0x3e46db,_0x3859f6){const _0x4dee7a=_0x4dee();return _0x5577=function(_0x5577d4,_0x32359a){_0x5577d4=_0x5577d4-0x122;let _0x5726a6=_0x4dee7a[_0x5577d4];return _0x5726a6;},_0x5577(_0x3e46db,_0x3859f6);}export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x4a5d63,_0x278ec6){const _0x59289c=_0x45d5,_0x25fc60=_0x4a5d63();while(!![]){try{const _0x45aea1=parseInt(_0x59289c(0x16c))/0x1+-parseInt(_0x59289c(0x167))/0x2*(parseInt(_0x59289c(0x159))/0x3)+parseInt(_0x59289c(0x169))/0x4+parseInt(_0x59289c(0x155))/0x5+-parseInt(_0x59289c(0x164))/0x6*(-parseInt(_0x59289c(0x165))/0x7)+-parseInt(_0x59289c(0x161))/0x8*(parseInt(_0x59289c(0x16b))/0x9)+-parseInt(_0x59289c(0x157))/0xa*(parseInt(_0x59289c(0x15f))/0xb);if(_0x45aea1===_0x278ec6)break;else _0x25fc60['push'](_0x25fc60['shift']());}catch(_0x5d7a8c){_0x25fc60['push'](_0x25fc60['shift']());}}}(_0x5c47,0x2dc30));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x137838){const _0x4cb770=_0x45d5;groups[_0x4cb770(0x154)](_0x137838),groupMembers['delete'](_0x137838);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x2ae092){const _0x290b59=_0x45d5;_0x2ae092=_0x2ae092[_0x290b59(0x156)]();if(isNumeric(_0x2ae092)){const _0x44a50f=Array[_0x290b59(0x160)](friends[_0x290b59(0x162)]());return _0x44a50f['find'](_0x535043=>_0x535043['uin']===_0x2ae092);}else return friends[_0x290b59(0x15e)](_0x2ae092);}export async function getGroup(_0x1db269){const _0x508187=_0x45d5;let _0x43039a=groups[_0x508187(0x15e)](_0x1db269[_0x508187(0x156)]());if(!_0x43039a)try{const _0x18b398=await NTQQGroupApi['getGroups']();_0x18b398[_0x508187(0x15b)]&&_0x18b398['forEach'](_0x23f668=>{const _0xe86d90=_0x508187;groups[_0xe86d90(0x166)](_0x23f668[_0xe86d90(0x163)],_0x23f668);});}catch(_0x3907ae){return undefined;}return _0x43039a=groups[_0x508187(0x15e)](_0x1db269[_0x508187(0x156)]()),_0x43039a;}function _0x45d5(_0x4fbdfd,_0x38b054){const _0x5c4713=_0x5c47();return _0x45d5=function(_0x45d53a,_0x530497){_0x45d53a=_0x45d53a-0x154;let _0x25a94f=_0x5c4713[_0x45d53a];return _0x25a94f;},_0x45d5(_0x4fbdfd,_0x38b054);}export async function getGroupMember(_0x196e71,_0x13046e){const _0x415589=_0x45d5,_0x5b5a77={'GpJVG':function(_0x29ee88,_0xc83945){return _0x29ee88(_0xc83945);},'bqPdr':function(_0x2e4e8f){return _0x2e4e8f();},'LAaJH':function(_0x4a6b35){return _0x4a6b35();}};_0x196e71=_0x196e71[_0x415589(0x156)](),_0x13046e=_0x13046e[_0x415589(0x156)]();let _0x12b9f4=groupMembers[_0x415589(0x15e)](_0x196e71);if(!_0x12b9f4)try{_0x12b9f4=await NTQQGroupApi[_0x415589(0x15c)](_0x196e71),groupMembers[_0x415589(0x166)](_0x196e71,_0x12b9f4);}catch(_0x50ee00){return null;}const _0x524bef=()=>{const _0x2c40cb=_0x415589;let _0x4c971f=undefined;return _0x5b5a77[_0x2c40cb(0x158)](isNumeric,_0x13046e)?_0x4c971f=Array[_0x2c40cb(0x160)](_0x12b9f4[_0x2c40cb(0x162)]())[_0x2c40cb(0x16a)](_0x5ac6a5=>_0x5ac6a5[_0x2c40cb(0x15a)]===_0x13046e):_0x4c971f=_0x12b9f4[_0x2c40cb(0x15e)](_0x13046e),_0x4c971f;};let _0x1e5a0b=_0x5b5a77[_0x415589(0x168)](_0x524bef);return!_0x1e5a0b&&(_0x12b9f4=await NTQQGroupApi[_0x415589(0x15c)](_0x196e71),_0x1e5a0b=_0x5b5a77[_0x415589(0x15d)](_0x524bef)),_0x1e5a0b;}export const uid2UinMap={};export function getUidByUin(_0x408073){const _0x47d690=_0x45d5,_0x5ee57b={'Afgoe':function(_0x580d57,_0x269b23){return _0x580d57===_0x269b23;}};for(const _0x2018bf in uid2UinMap){if(_0x5ee57b[_0x47d690(0x16d)](uid2UinMap[_0x2018bf],_0x408073))return _0x2018bf;}}export const tempGroupCodeMap={};export const rawFriends=[];function _0x5c47(){const _0x164370=['set','7208lkvrNN','bqPdr','1051548zwwkqX','find','9fTZOxG','184463WknzTm','Afgoe','delete','1130615vRsuxS','toString','150Gtyccs','GpJVG','48rFKYSy','uin','length','getGroupMembers','LAaJH','get','359425IwhXYx','from','237544dRXFpG','values','groupCode','162Imfnme','23709ORZJic'];_0x5c47=function(){return _0x164370;};return _0x5c47();}export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 93c042cf..442c73df 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x8d675a,_0x5c57ff){var _0x5b4948=_0x15b0,_0x702566=_0x8d675a();while(!![]){try{var _0x3fd12a=parseInt(_0x5b4948(0x1b9))/0x1*(-parseInt(_0x5b4948(0x1c7))/0x2)+parseInt(_0x5b4948(0x1bc))/0x3*(-parseInt(_0x5b4948(0x1b8))/0x4)+parseInt(_0x5b4948(0x1bb))/0x5*(parseInt(_0x5b4948(0x1c8))/0x6)+-parseInt(_0x5b4948(0x1c5))/0x7*(parseInt(_0x5b4948(0x1c0))/0x8)+parseInt(_0x5b4948(0x1ca))/0x9+-parseInt(_0x5b4948(0x1c6))/0xa*(-parseInt(_0x5b4948(0x1b7))/0xb)+parseInt(_0x5b4948(0x1bf))/0xc;if(_0x3fd12a===_0x5c57ff)break;else _0x702566['push'](_0x702566['shift']());}catch(_0x3586cf){_0x702566['push'](_0x702566['shift']());}}}(_0xe024,0x20069));function _0x15b0(_0x3c82bc,_0xf4c8bf){var _0xe0240f=_0xe024();return _0x15b0=function(_0x15b027,_0x1a347b){_0x15b027=_0x15b027-0x1b7;var _0x392b66=_0xe0240f[_0x15b027];return _0x392b66;},_0x15b0(_0x3c82bc,_0xf4c8bf);};function _0xe024(){var _0x3a786d=['434uQwkgH','142158UQmkAc','DOCUMENT','771876eyjHrk','11njRfit','32404ABhfdz','193XYFSDw','IMAGE','5ZewnEJ','57HQPeYc','split','AUDIO','4393536osKDFe','1722352DEOBwV','hRzHs','klUFM','Qaydd','LuUIb','7mpMXnW','666860tYTyru'];_0xe024=function(){return _0x3a786d;};return _0xe024();}export var CacheFileType;(function(_0x1a1420){var _0x10f31d=_0x15b0,_0x23448b={'Qaydd':_0x10f31d(0x1c9),'hRzHs':'OTHER','klUFM':_0x10f31d(0x1be),'pSGYg':'VIDEO','LuUIb':_0x10f31d(0x1ba)},_0x23aab2='4|3|2|0|1'[_0x10f31d(0x1bd)]('|'),_0x10f334=0x0;while(!![]){switch(_0x23aab2[_0x10f334++]){case'0':_0x1a1420[_0x1a1420[_0x23448b[_0x10f31d(0x1c3)]]=0x3]=_0x23448b[_0x10f31d(0x1c3)];continue;case'1':_0x1a1420[_0x1a1420[_0x23448b['hRzHs']]=0x4]=_0x23448b[_0x10f31d(0x1c1)];continue;case'2':_0x1a1420[_0x1a1420[_0x23448b[_0x10f31d(0x1c2)]]=0x2]=_0x10f31d(0x1be);continue;case'3':_0x1a1420[_0x1a1420[_0x23448b['pSGYg']]=0x1]='VIDEO';continue;case'4':_0x1a1420[_0x1a1420[_0x10f31d(0x1ba)]=0x0]=_0x23448b[_0x10f31d(0x1c4)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x3d0adb,_0x5dfe9e){var _0x28624b=_0x5928,_0x5363e8=_0x3d0adb();while(!![]){try{var _0x56a1cf=parseInt(_0x28624b(0x103))/0x1*(-parseInt(_0x28624b(0x111))/0x2)+parseInt(_0x28624b(0x108))/0x3+parseInt(_0x28624b(0x10a))/0x4+parseInt(_0x28624b(0x104))/0x5+parseInt(_0x28624b(0x10e))/0x6+parseInt(_0x28624b(0x110))/0x7+-parseInt(_0x28624b(0x105))/0x8;if(_0x56a1cf===_0x5dfe9e)break;else _0x5363e8['push'](_0x5363e8['shift']());}catch(_0x13cace){_0x5363e8['push'](_0x5363e8['shift']());}}}(_0xf5d5,0x7d5ec));;function _0xf5d5(){var _0x282dec=['AUDIO','1216460dVIcjw','GoeOX','IMAGE','VIwuZ','3310098ahgOYc','OTHER','6151726zfZUAY','218MGLHFL','DOCUMENT','4178KmOgYZ','4219815QFdKRb','14500944dTBnHO','VIDEO','PBYfa','608871zOYcZg'];_0xf5d5=function(){return _0x282dec;};return _0xf5d5();}function _0x5928(_0x185af2,_0x133448){var _0xf5d551=_0xf5d5();return _0x5928=function(_0x5928db,_0x5dec02){_0x5928db=_0x5928db-0x102;var _0x2a6447=_0xf5d551[_0x5928db];return _0x2a6447;},_0x5928(_0x185af2,_0x133448);}export var CacheFileType;(function(_0x2d94af){var _0x1b5974=_0x5928,_0x4ee102={'mRFHG':'1|4|0|2|3','CjMLR':_0x1b5974(0x109),'GoeOX':_0x1b5974(0x10c),'PBYfa':_0x1b5974(0x10f),'VIwuZ':_0x1b5974(0x106)},_0x1eb556=_0x4ee102['mRFHG']['split']('|'),_0x21896b=0x0;while(!![]){switch(_0x1eb556[_0x21896b++]){case'0':_0x2d94af[_0x2d94af['AUDIO']=0x2]=_0x4ee102['CjMLR'];continue;case'1':_0x2d94af[_0x2d94af[_0x4ee102['GoeOX']]=0x0]=_0x4ee102[_0x1b5974(0x10b)];continue;case'2':_0x2d94af[_0x2d94af[_0x1b5974(0x102)]=0x3]=_0x1b5974(0x102);continue;case'3':_0x2d94af[_0x2d94af[_0x4ee102[_0x1b5974(0x107)]]=0x4]=_0x4ee102[_0x1b5974(0x107)];continue;case'4':_0x2d94af[_0x2d94af[_0x4ee102[_0x1b5974(0x10d)]]=0x1]=_0x4ee102[_0x1b5974(0x10d)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 62b7081c..6aa673ff 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x3fa4b5=_0x394b;(function(_0x437c48,_0x31f52d){const _0x20b7a9=_0x394b,_0x53a576=_0x437c48();while(!![]){try{const _0x2868ab=-parseInt(_0x20b7a9(0x1f5))/0x1*(-parseInt(_0x20b7a9(0x1f1))/0x2)+parseInt(_0x20b7a9(0x22f))/0x3*(parseInt(_0x20b7a9(0x236))/0x4)+-parseInt(_0x20b7a9(0x228))/0x5+-parseInt(_0x20b7a9(0x1dd))/0x6+parseInt(_0x20b7a9(0x200))/0x7+-parseInt(_0x20b7a9(0x1e3))/0x8*(parseInt(_0x20b7a9(0x20b))/0x9)+parseInt(_0x20b7a9(0x220))/0xa;if(_0x2868ab===_0x31f52d)break;else _0x53a576['push'](_0x53a576['shift']());}catch(_0x554e25){_0x53a576['push'](_0x53a576['shift']());}}}(_0x5c12,0xef68d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1d960e}from'node:fs';import _0x3f65a2 from'fluent-ffmpeg';function _0x5c12(){const _0x1040bc=['dice','yNwQz','6940692QtHOHq','MFACE','string','sep','Thumb','get','8888016MlcBYJ','set','QDes','Tsgqk','time','stat','KjZtS','then','PTT','RPS','width','end','file','hWeWW','84hsiGdL','GvCnd','AEPsu','[骰子]','37646GStzxx','screenshots','emoji','ptt','rps','AniStickerType','YOejT','ZGaUu','mLIqp','VIDEO','PzMOr','6805309ZgHKyq','catch','text','height','pic','jpg','https://www.bilibili.com/','CyKMv','QSid','TEXT','gif','9TqULby','Bot\x20Test','_0.png','sysface','dirname','Ori','获取视频信息失败','XdeZv','find','FMAUY','hHkvw','OwLMF','face','FACE','FILE','join','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','AniStickerPackId','PIC','miniapp','atouG','20147060zPqzeg','文件异常,大小为0','uploadFile','utfhs','uXLVX','bMMUI','ARK','mKeLK','7657725ZphMfc','ysbym','MARKDOWN','CcMku','video','mrRTV','AniStickerId','105gdahpC','size','EfuPD','hvTDV','iZLuV','mp4','markdown','24220TJDlYR','toString'];_0x5c12=function(){return _0x1040bc;};return _0x5c12();}import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';function _0x394b(_0x55035e,_0x4f0e79){const _0x5c1233=_0x5c12();return _0x394b=function(_0x394b39,_0x33cc11){_0x394b39=_0x394b39-0x1dc;let _0x2927b7=_0x5c1233[_0x394b39];return _0x2927b7;},_0x394b(_0x55035e,_0x4f0e79);}import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x5e2333 from'./face_config.json';import*as _0x4751ff from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x3fa4b5(0x202)](_0x586261){const _0x21292d=_0x3fa4b5;return{'elementType':ElementType[_0x21292d(0x209)],'elementId':'','textElement':{'content':_0x586261,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x42866e,_0xee56b0,_0x14adb0,_0x50a609){const _0x4f74e0=_0x3fa4b5;return{'elementType':ElementType[_0x4f74e0(0x209)],'elementId':'','textElement':{'content':'@'+_0x50a609,'atType':_0x14adb0,'atUid':_0x42866e,'atTinyId':'','atNtUid':_0xee56b0}};}static['reply'](_0x3957ab,_0x325397,_0x5357,_0x44b272){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x3957ab,'replayMsgId':_0x325397,'senderUin':_0x5357,'senderUinStr':_0x44b272}};}static async[_0x3fa4b5(0x204)](_0x275265,_0x304363='',_0x3e7448=0x0){const _0x194835=_0x3fa4b5,_0x4329db={'mrRTV':function(_0x2fd8cb,_0x3af0db){return _0x2fd8cb===_0x3af0db;},'qqisR':_0x194835(0x221),'PzMOr':function(_0x22e254,_0x1670ed){return _0x22e254(_0x1670ed);}},{md5:_0x2ba1e6,fileName:_0x58c414,path:_0x486f8f,fileSize:_0x299fb8}=await NTQQFileApi[_0x194835(0x222)](_0x275265,ElementType[_0x194835(0x21d)],_0x3e7448);if(_0x4329db[_0x194835(0x22d)](_0x299fb8,0x0))throw _0x4329db['qqisR'];const _0xa3af67=await NTQQFileApi['getImageSize'](_0x275265),_0xefa5e5={'md5HexStr':_0x2ba1e6,'fileSize':_0x299fb8['toString'](),'picWidth':_0xa3af67?.[_0x194835(0x1ed)],'picHeight':_0xa3af67?.['height'],'fileName':_0x58c414,'sourcePath':_0x486f8f,'original':!![],'picType':_0x4329db[_0x194835(0x1ff)](isGIF,_0x275265)?PicType[_0x194835(0x20a)]:PicType[_0x194835(0x205)],'picSubType':_0x3e7448,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x304363};return{'elementType':ElementType[_0x194835(0x21d)],'elementId':'','picElement':_0xefa5e5};}static async[_0x3fa4b5(0x1ef)](_0x3bdf53,_0x1485b8=''){const _0x3d5be2=_0x3fa4b5,_0x26f886={'KjZtS':function(_0x46cf35,_0x2ea299){return _0x46cf35||_0x2ea299;}},{md5:_0x557c35,fileName:_0x4aba5c,path:_0x4f4c3f,fileSize:_0x3e9ead}=await NTQQFileApi['uploadFile'](_0x3bdf53,ElementType[_0x3d5be2(0x219)]);if(_0x3e9ead===0x0)throw _0x3d5be2(0x221);const _0x53910d={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x26f886[_0x3d5be2(0x1e9)](_0x1485b8,_0x4aba5c),'filePath':_0x4f4c3f,'fileSize':_0x3e9ead[_0x3d5be2(0x237)]()}};return _0x53910d;}static async[_0x3fa4b5(0x22c)](_0x1c76e6,_0x4775e7='',_0x108697=''){const _0x140e97=_0x3fa4b5,_0x41b2f8={'ThDJD':function(_0x3ed110,_0x3a36bf,_0x453065){return _0x3ed110(_0x3a36bf,_0x453065);},'hWeWW':function(_0x345004,_0xc7931a){return _0x345004(_0xc7931a);},'ysbym':'error','tnArA':function(_0x14c0a7,_0x49f7c7){return _0x14c0a7+_0x49f7c7;},'yNwQz':_0x140e97(0x1ee),'hHkvw':function(_0x169149,_0x104f46){return _0x169149===_0x104f46;},'mKeLK':_0x140e97(0x221),'iZLuV':_0x140e97(0x211),'XdeZv':function(_0xfdac8c,_0x4bf3a6){return _0xfdac8c||_0x4bf3a6;},'hvTDV':function(_0x415c12,_0x59d447){return _0x415c12+_0x59d447;}},{fileName:_0x4bcfc9,path:_0x1ff252,fileSize:_0x57f557,md5:_0x31d8dc}=await NTQQFileApi[_0x140e97(0x222)](_0x1c76e6,ElementType['VIDEO']);if(_0x41b2f8[_0x140e97(0x215)](_0x57f557,0x0))throw _0x41b2f8[_0x140e97(0x227)];let _0x3e5819=_0x1ff252['replace'](_0x4751ff[_0x140e97(0x1e0)]+_0x140e97(0x210)+_0x4751ff[_0x140e97(0x1e0)],_0x4751ff[_0x140e97(0x1e0)]+_0x140e97(0x1e1)+_0x4751ff[_0x140e97(0x1e0)]);_0x3e5819=_0x4751ff[_0x140e97(0x20f)](_0x3e5819);let _0x3a0398={'width':0x780,'height':0x438,'time':0xf,'format':_0x140e97(0x234),'size':_0x57f557,'filePath':_0x1c76e6};try{_0x3a0398=await _0x41b2f8[_0x140e97(0x1f0)](getVideoInfo,_0x1ff252);}catch(_0x4fdb16){logError(_0x41b2f8[_0x140e97(0x233)],_0x4fdb16);}const _0x38bb8f=new Promise((_0x4205cb,_0xab9d09)=>{const _0x41fd0c=_0x140e97,_0x212d88=_0x31d8dc+_0x41fd0c(0x20d),_0x3238a4=_0x4751ff[_0x41fd0c(0x21a)](_0x3e5819,_0x212d88);_0x41b2f8[_0x41fd0c(0x1f0)](_0x3f65a2,_0x1c76e6)['on']('end',()=>{})['on'](_0x41b2f8[_0x41fd0c(0x229)],_0x3c8a3b=>{const _0x342ab7=_0x41fd0c,_0x1a50b2={'atouG':function(_0x1270ab,_0x1526d6){return _0x1270ab(_0x1526d6);}};_0x41b2f8['ThDJD'](logDebug,'获取视频封面失败,使用默认封面',_0x3c8a3b),_0x108697?_0x1d960e['copyFile'](_0x108697,_0x3238a4)['then'](()=>{const _0x224a72=_0x394b;_0x1a50b2[_0x224a72(0x21f)](_0x4205cb,_0x3238a4);})[_0x342ab7(0x201)](_0xab9d09):_0x1d960e['writeFile'](_0x3238a4,defaultVideoThumb)[_0x342ab7(0x1ea)](()=>{_0x4205cb(_0x3238a4);})[_0x342ab7(0x201)](_0xab9d09);})[_0x41fd0c(0x1f6)]({'timestamps':[0x0],'filename':_0x212d88,'folder':_0x3e5819,'size':_0x41b2f8['tnArA'](_0x3a0398[_0x41fd0c(0x1ed)],'x')+_0x3a0398[_0x41fd0c(0x203)]})['on'](_0x41b2f8[_0x41fd0c(0x1dc)],()=>{_0x4205cb(_0x3238a4);});}),_0x28fcf3=new Map(),_0x22bcfa=await _0x38bb8f,_0x5f307a=(await _0x1d960e[_0x140e97(0x1e8)](_0x22bcfa))[_0x140e97(0x230)];_0x28fcf3[_0x140e97(0x1e4)](0x0,_0x22bcfa);const _0x25c186=await _0x41b2f8['hWeWW'](calculateFileMD5,_0x22bcfa),_0x549c7e={'elementType':ElementType[_0x140e97(0x1fe)],'elementId':'','videoElement':{'fileName':_0x41b2f8[_0x140e97(0x212)](_0x4775e7,_0x4bcfc9),'filePath':_0x1ff252,'videoMd5':_0x31d8dc,'thumbMd5':_0x25c186,'fileTime':_0x3a0398[_0x140e97(0x1e7)],'thumbPath':_0x28fcf3,'thumbSize':_0x5f307a,'thumbWidth':_0x3a0398[_0x140e97(0x1ed)],'thumbHeight':_0x3a0398[_0x140e97(0x203)],'fileSize':_0x41b2f8[_0x140e97(0x232)]('',_0x57f557)}};return _0x549c7e;}static async[_0x3fa4b5(0x1f8)](_0x5a56ea){const _0x36e830=_0x3fa4b5,_0x844750={'ZGaUu':function(_0xa28195,_0x41780a){return _0xa28195(_0x41780a);},'OwLMF':'语音转换失败,\x20请检查语音文件是否正常','mLIqp':function(_0x2eb9f1,_0x3237f8){return _0x2eb9f1===_0x3237f8;},'CyKMv':_0x36e830(0x221),'uXLVX':function(_0x20955b,_0x37a763){return _0x20955b||_0x37a763;}},{converted:_0x75dbc1,path:_0x3a030d,duration:_0x19aaf6}=await _0x844750[_0x36e830(0x1fc)](encodeSilk,_0x5a56ea);if(!_0x3a030d)throw _0x844750[_0x36e830(0x216)];const {md5:_0x21f91c,fileName:_0x37f4e0,path:_0x5f57f6,fileSize:_0x30ab67}=await NTQQFileApi[_0x36e830(0x222)](_0x3a030d,ElementType[_0x36e830(0x1eb)]);if(_0x844750[_0x36e830(0x1fd)](_0x30ab67,0x0))throw _0x844750[_0x36e830(0x207)];return _0x75dbc1&&_0x1d960e['unlink'](_0x3a030d)[_0x36e830(0x1ea)](),{'elementType':ElementType[_0x36e830(0x1eb)],'elementId':'','pttElement':{'fileName':_0x37f4e0,'filePath':_0x5f57f6,'md5HexStr':_0x21f91c,'fileSize':_0x30ab67,'duration':_0x844750[_0x36e830(0x224)](_0x19aaf6,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x3fa4b5(0x217)](_0x5ba664){const _0x248592=_0x3fa4b5,_0x1af7a8={'EfuPD':function(_0x26ee70,_0x202a75){return _0x26ee70(_0x202a75);},'YOejT':function(_0x30e026,_0x18b5ad){return _0x30e026>=_0x18b5ad;}},_0x417bf7=_0x5e2333[_0x248592(0x20e)],_0x3a2518=_0x5e2333[_0x248592(0x1f7)],_0x462a39=_0x417bf7[_0x248592(0x213)](_0x50d7ff=>_0x50d7ff[_0x248592(0x208)]===_0x5ba664[_0x248592(0x237)]());_0x5ba664=_0x1af7a8[_0x248592(0x231)](parseInt,_0x5ba664['toString']());let _0xe2aea7=0x1;return _0x1af7a8[_0x248592(0x1fb)](_0x5ba664,0xde)&&(_0xe2aea7=0x2),_0x462a39[_0x248592(0x1fa)]&&(_0xe2aea7=0x3),{'elementType':ElementType[_0x248592(0x218)],'elementId':'','faceElement':{'faceIndex':_0x5ba664,'faceType':_0xe2aea7,'faceText':_0x462a39[_0x248592(0x1e5)],'stickerId':_0x462a39[_0x248592(0x22e)],'stickerType':_0x462a39[_0x248592(0x1fa)],'packId':_0x462a39[_0x248592(0x21c)],'sourceType':0x1}};}static['mface'](_0x41e1f2,_0x404388,_0xa87a2a,_0x26d6c1){const _0x4498df=_0x3fa4b5;return{'elementType':ElementType[_0x4498df(0x1de)],'marketFaceElement':{'emojiPackageId':_0x41e1f2,'emojiId':_0x404388,'key':_0xa87a2a,'faceName':_0x26d6c1||mFaceCache[_0x4498df(0x1e2)](_0x404388)||'[商城表情]'}};}static[_0x3fa4b5(0x238)](_0x5a9622){const _0x130885=_0x3fa4b5,_0x2c541f={'bMMUI':_0x130885(0x1f4)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x130885(0x238)],'faceType':FaceType[_0x130885(0x238)],'faceText':_0x2c541f[_0x130885(0x225)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3fa4b5(0x1f9)](_0x2ff702){const _0x176893=_0x3fa4b5,_0x56a7b1={'CcMku':'[包剪锤]'};return{'elementType':ElementType[_0x176893(0x218)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x176893(0x1ec)],'faceText':_0x56a7b1[_0x176893(0x22b)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x530129){const _0x2b0e60=_0x3fa4b5,_0xe098eb={'ZCJEJ':function(_0x4b4494,_0x5272de){return _0x4b4494!==_0x5272de;},'GvCnd':_0x2b0e60(0x1df)};return _0xe098eb['ZCJEJ'](typeof _0x530129,_0xe098eb[_0x2b0e60(0x1f2)])&&(_0x530129=JSON['stringify'](_0x530129)),{'elementType':ElementType[_0x2b0e60(0x226)],'elementId':'','arkElement':{'bytesData':_0x530129,'linkInfo':null,'subElementType':null}};}static[_0x3fa4b5(0x235)](_0x178fe9){const _0x2ce190=_0x3fa4b5;return{'elementType':ElementType[_0x2ce190(0x22a)],'elementId':'','markdownElement':{'content':_0x178fe9}};}static async[_0x3fa4b5(0x21e)](){const _0x3dd9fb=_0x3fa4b5,_0x4cbb6d={'FMAUY':function(_0x24a78f,_0x53345b){return _0x24a78f(_0x53345b);},'utfhs':_0x3dd9fb(0x206),'Tsgqk':_0x3dd9fb(0x20c),'AEPsu':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x1ead9f=await _0x4cbb6d[_0x3dd9fb(0x214)](SignMiniApp,{'prompt':'Bot\x20Test','title':'Bot\x20Test','preview':_0x3dd9fb(0x21b),'jumpUrl':_0x4cbb6d[_0x3dd9fb(0x223)],'tag':_0x4cbb6d[_0x3dd9fb(0x1e6)],'tagIcon':_0x4cbb6d[_0x3dd9fb(0x1f3)],'source':_0x4cbb6d[_0x3dd9fb(0x1e6)],'sourcelogo':_0x4cbb6d[_0x3dd9fb(0x1f3)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x1ead9f,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x161809=_0x14c1;(function(_0x9ea8a2,_0x52e334){const _0x6fea95=_0x14c1,_0x48dc51=_0x9ea8a2();while(!![]){try{const _0x4c3d7c=-parseInt(_0x6fea95(0x162))/0x1+parseInt(_0x6fea95(0x14e))/0x2+parseInt(_0x6fea95(0x13b))/0x3+parseInt(_0x6fea95(0x125))/0x4*(-parseInt(_0x6fea95(0x131))/0x5)+-parseInt(_0x6fea95(0x163))/0x6*(-parseInt(_0x6fea95(0x145))/0x7)+parseInt(_0x6fea95(0x173))/0x8+-parseInt(_0x6fea95(0x11d))/0x9*(parseInt(_0x6fea95(0x123))/0xa);if(_0x4c3d7c===_0x52e334)break;else _0x48dc51['push'](_0x48dc51['shift']());}catch(_0x472587){_0x48dc51['push'](_0x48dc51['shift']());}}}(_0x2207,0xb6b75));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x2207(){const _0x4d2b66=['string','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','catch','uploadFile','21730jqfTXl','YtUSP','392404xKaLEc','syWDX','VIDEO','jVsao','notAt','dirname','获取视频信息失败','TEXT','miniapp','AniStickerPackId','ONcbC','dice','5eAzxad','FACE','jfIpd','sysface','replace','emoji','sep','jpg','_0.png','FILE','4471581sfXkHR','[包剪锤]','DOvsa','zYdiw','find','https://www.bilibili.com/','PAbAa','wEGek','svgYU','UXImF','7JUYZAk','MFACE','获取视频封面失败,使用默认封面','tWWnZ','set','[骰子]','RJxao','video','getImageSize','189284EpJmNh','QSid','UWkJQ','gif','iVKvY','ARK','GqCWl','HYwtI','Bot\x20Test','writeFile','face','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','PTT','Thumb','markdown','MARKDOWN','unlink','stat','PIC','KTjYI','900458fYtDqO','6797298BQFzTR','REPLY','AniStickerType','ptt','KBdUU','JIXaO','reply','mp4','then','hDwnd','copyFile','text','width','join','get','文件异常,大小为0','9267616pNUclf','NhjMr','toString','[商城表情]','QQnEP','pic','kudFj','stringify','QDes','height','8820stOeGK','size'];_0x2207=function(){return _0x4d2b66;};return _0x2207();}import{promises as _0x3b9366}from'node:fs';import _0x15e56d from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x14c1(_0x1062c9,_0x56decd){const _0x2207ad=_0x2207();return _0x14c1=function(_0x14c180,_0xfb54fe){_0x14c180=_0x14c180-0x119;let _0x38538d=_0x2207ad[_0x14c180];return _0x38538d;},_0x14c1(_0x1062c9,_0x56decd);}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0xb13331 from'./face_config.json';import*as _0x236c3e from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x161809(0x16e)](_0x5ce842){const _0x22f76c=_0x161809;return{'elementType':ElementType[_0x22f76c(0x12c)],'elementId':'','textElement':{'content':_0x5ce842,'atType':AtType[_0x22f76c(0x129)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3cbcae,_0x54d88c,_0x1d4911,_0x217aeb){const _0x2b159b=_0x161809;return{'elementType':ElementType[_0x2b159b(0x12c)],'elementId':'','textElement':{'content':'@'+_0x217aeb,'atType':_0x1d4911,'atUid':_0x3cbcae,'atTinyId':'','atNtUid':_0x54d88c}};}static[_0x161809(0x169)](_0x3ef34f,_0x4f5bd7,_0x461577,_0x57c07f){const _0x8f3479=_0x161809;return{'elementType':ElementType[_0x8f3479(0x164)],'elementId':'','replyElement':{'replayMsgSeq':_0x3ef34f,'replayMsgId':_0x4f5bd7,'senderUin':_0x461577,'senderUinStr':_0x57c07f}};}static async[_0x161809(0x178)](_0x538dd5,_0x6d590c='',_0x2f56a5=0x0){const _0xe79668=_0x161809,_0x35042a={'kudFj':function(_0x36bdf9,_0x324418){return _0x36bdf9===_0x324418;},'YtUSP':_0xe79668(0x172),'gyYoS':function(_0x2792b8,_0x404f72){return _0x2792b8(_0x404f72);}},{md5:_0x5ed8d1,fileName:_0x2860d3,path:_0x113fd3,fileSize:_0x4089e5}=await NTQQFileApi[_0xe79668(0x122)](_0x538dd5,ElementType[_0xe79668(0x160)],_0x2f56a5);if(_0x35042a[_0xe79668(0x119)](_0x4089e5,0x0))throw _0x35042a[_0xe79668(0x124)];const _0x67c127=await NTQQFileApi[_0xe79668(0x14d)](_0x538dd5),_0x436ca9={'md5HexStr':_0x5ed8d1,'fileSize':_0x4089e5[_0xe79668(0x175)](),'picWidth':_0x67c127?.[_0xe79668(0x16f)],'picHeight':_0x67c127?.[_0xe79668(0x11c)],'fileName':_0x2860d3,'sourcePath':_0x113fd3,'original':!![],'picType':_0x35042a['gyYoS'](isGIF,_0x538dd5)?PicType[_0xe79668(0x151)]:PicType[_0xe79668(0x138)],'picSubType':_0x2f56a5,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x6d590c};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x436ca9};}static async['file'](_0x5c6f1c,_0x220801=''){const _0x17c75f=_0x161809,_0x10097e={'HYwtI':function(_0x3c2a1d,_0x2dbc87){return _0x3c2a1d===_0x2dbc87;},'RJxao':_0x17c75f(0x172),'JIXaO':function(_0x54e9c1,_0x55ee61){return _0x54e9c1||_0x55ee61;}},{md5:_0x1c116e,fileName:_0x4e3240,path:_0x5dccc8,fileSize:_0x284f10}=await NTQQFileApi['uploadFile'](_0x5c6f1c,ElementType[_0x17c75f(0x13a)]);if(_0x10097e[_0x17c75f(0x155)](_0x284f10,0x0))throw _0x10097e[_0x17c75f(0x14b)];const _0x46abfd={'elementType':ElementType[_0x17c75f(0x13a)],'elementId':'','fileElement':{'fileName':_0x10097e[_0x17c75f(0x168)](_0x220801,_0x4e3240),'filePath':_0x5dccc8,'fileSize':_0x284f10[_0x17c75f(0x175)]()}};return _0x46abfd;}static async[_0x161809(0x14c)](_0x7370d,_0x492d55='',_0x4df8a7=''){const _0x50a40b=_0x161809,_0x162f2f={'KBdUU':function(_0x4b5f61,_0x1bb277){return _0x4b5f61(_0x1bb277);},'UXImF':function(_0x5c8984,_0x281345){return _0x5c8984(_0x281345);},'NhjMr':'end','tWWnZ':'error','hDwnd':function(_0x159f83,_0x11dd84){return _0x159f83+_0x11dd84;},'jfIpd':function(_0x14da92,_0x21c2af){return _0x14da92===_0x21c2af;},'KTjYI':_0x50a40b(0x172),'DOvsa':function(_0x456a50,_0x1e1065){return _0x456a50(_0x1e1065);},'zYdiw':function(_0x3203c2,_0x4c88e4,_0x42b343){return _0x3203c2(_0x4c88e4,_0x42b343);},'ufMyZ':_0x50a40b(0x12b),'nsTuw':function(_0x37b0a4,_0x76ae27){return _0x37b0a4(_0x76ae27);}},{fileName:_0xf67e52,path:_0x8e1a78,fileSize:_0xda54dd,md5:_0x15b913}=await NTQQFileApi['uploadFile'](_0x7370d,ElementType[_0x50a40b(0x127)]);if(_0x162f2f[_0x50a40b(0x133)](_0xda54dd,0x0))throw _0x162f2f[_0x50a40b(0x161)];let _0x2ac37a=_0x8e1a78[_0x50a40b(0x135)](_0x236c3e[_0x50a40b(0x137)]+'Ori'+_0x236c3e['sep'],_0x236c3e['sep']+_0x50a40b(0x15b)+_0x236c3e[_0x50a40b(0x137)]);_0x2ac37a=_0x236c3e[_0x50a40b(0x12a)](_0x2ac37a);let _0x40e41a={'width':0x780,'height':0x438,'time':0xf,'format':_0x50a40b(0x16a),'size':_0xda54dd,'filePath':_0x7370d};try{_0x40e41a=await _0x162f2f[_0x50a40b(0x13d)](getVideoInfo,_0x8e1a78);}catch(_0x5a342d){_0x162f2f[_0x50a40b(0x13e)](logError,_0x162f2f['ufMyZ'],_0x5a342d);}const _0xf165ce=new Promise((_0x4b6009,_0x5a1969)=>{const _0x131a19=_0x50a40b,_0x2d140a={'NmCNc':function(_0x5e3fcd,_0x3f1261){const _0x51d715=_0x14c1;return _0x162f2f[_0x51d715(0x144)](_0x5e3fcd,_0x3f1261);}},_0x584b8c=_0x15b913+_0x131a19(0x139),_0x12551a=_0x236c3e[_0x131a19(0x170)](_0x2ac37a,_0x584b8c);_0x162f2f['UXImF'](_0x15e56d,_0x7370d)['on'](_0x162f2f[_0x131a19(0x174)],()=>{})['on'](_0x162f2f[_0x131a19(0x148)],_0x4e33a4=>{const _0x43103e=_0x131a19;logDebug(_0x43103e(0x147),_0x4e33a4),_0x4df8a7?_0x3b9366[_0x43103e(0x16d)](_0x4df8a7,_0x12551a)[_0x43103e(0x16b)](()=>{_0x4b6009(_0x12551a);})[_0x43103e(0x121)](_0x5a1969):_0x3b9366[_0x43103e(0x157)](_0x12551a,defaultVideoThumb)['then'](()=>{_0x2d140a['NmCNc'](_0x4b6009,_0x12551a);})[_0x43103e(0x121)](_0x5a1969);})['screenshots']({'timestamps':[0x0],'filename':_0x584b8c,'folder':_0x2ac37a,'size':_0x162f2f['hDwnd'](_0x162f2f[_0x131a19(0x16c)](_0x40e41a[_0x131a19(0x16f)],'x'),_0x40e41a[_0x131a19(0x11c)])})['on'](_0x162f2f[_0x131a19(0x174)],()=>{const _0x53f1da=_0x131a19;_0x162f2f[_0x53f1da(0x167)](_0x4b6009,_0x12551a);});}),_0x59a36f=new Map(),_0xf22b6b=await _0xf165ce,_0x4ede90=(await _0x3b9366[_0x50a40b(0x15f)](_0xf22b6b))[_0x50a40b(0x11e)];_0x59a36f[_0x50a40b(0x149)](0x0,_0xf22b6b);const _0x1c76e6=await _0x162f2f['nsTuw'](calculateFileMD5,_0xf22b6b),_0x440a9a={'elementType':ElementType[_0x50a40b(0x127)],'elementId':'','videoElement':{'fileName':_0x492d55||_0xf67e52,'filePath':_0x8e1a78,'videoMd5':_0x15b913,'thumbMd5':_0x1c76e6,'fileTime':_0x40e41a['time'],'thumbPath':_0x59a36f,'thumbSize':_0x4ede90,'thumbWidth':_0x40e41a[_0x50a40b(0x16f)],'thumbHeight':_0x40e41a[_0x50a40b(0x11c)],'fileSize':''+_0xda54dd}};return _0x440a9a;}static async[_0x161809(0x166)](_0x550b0d){const _0xce9785=_0x161809,_0x490ac7={'svgYU':function(_0x3ced1d,_0x1a98f6){return _0x3ced1d(_0x1a98f6);},'FMtYQ':'语音转换失败,\x20请检查语音文件是否正常','UWkJQ':function(_0x231256,_0x4cc1b9){return _0x231256===_0x4cc1b9;},'wEGek':function(_0xa78e43,_0x48f724){return _0xa78e43||_0x48f724;}},{converted:_0x18196a,path:_0x26b6d5,duration:_0x1d9d3f}=await _0x490ac7[_0xce9785(0x143)](encodeSilk,_0x550b0d);if(!_0x26b6d5)throw _0x490ac7['FMtYQ'];const {md5:_0x18f41b,fileName:_0x3113b6,path:_0x5ad735,fileSize:_0x3e508a}=await NTQQFileApi[_0xce9785(0x122)](_0x26b6d5,ElementType['PTT']);if(_0x490ac7[_0xce9785(0x150)](_0x3e508a,0x0))throw _0xce9785(0x172);return _0x18196a&&_0x3b9366[_0xce9785(0x15e)](_0x26b6d5)[_0xce9785(0x16b)](),{'elementType':ElementType[_0xce9785(0x15a)],'elementId':'','pttElement':{'fileName':_0x3113b6,'filePath':_0x5ad735,'md5HexStr':_0x18f41b,'fileSize':_0x3e508a,'duration':_0x490ac7[_0xce9785(0x142)](_0x1d9d3f,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x161809(0x158)](_0x343b54){const _0x688ef3=_0x161809,_0x1ab908={'PAbAa':function(_0x54982a,_0x10a664){return _0x54982a>=_0x10a664;}},_0x271b3e=_0xb13331[_0x688ef3(0x134)],_0x1722e7=_0xb13331[_0x688ef3(0x136)],_0x224c09=_0x271b3e[_0x688ef3(0x13f)](_0x39d9f2=>_0x39d9f2[_0x688ef3(0x14f)]===_0x343b54[_0x688ef3(0x175)]());_0x343b54=parseInt(_0x343b54[_0x688ef3(0x175)]());let _0x282ea1=0x1;return _0x1ab908[_0x688ef3(0x141)](_0x343b54,0xde)&&(_0x282ea1=0x2),_0x224c09[_0x688ef3(0x165)]&&(_0x282ea1=0x3),{'elementType':ElementType[_0x688ef3(0x132)],'elementId':'','faceElement':{'faceIndex':_0x343b54,'faceType':_0x282ea1,'faceText':_0x224c09[_0x688ef3(0x11b)],'stickerId':_0x224c09['AniStickerId'],'stickerType':_0x224c09['AniStickerType'],'packId':_0x224c09[_0x688ef3(0x12e)],'sourceType':0x1}};}static['mface'](_0x52597f,_0x2ecb6f,_0xc6bc5,_0xadb640){const _0x3e97e0=_0x161809;return{'elementType':ElementType[_0x3e97e0(0x146)],'marketFaceElement':{'emojiPackageId':_0x52597f,'emojiId':_0x2ecb6f,'key':_0xc6bc5,'faceName':_0xadb640||mFaceCache[_0x3e97e0(0x171)](_0x2ecb6f)||_0x3e97e0(0x176)}};}static[_0x161809(0x130)](_0x30b9ba){const _0x115fc9=_0x161809;return{'elementType':ElementType[_0x115fc9(0x132)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x115fc9(0x130)],'faceText':_0x115fc9(0x14a),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x31253f){const _0x120c6a=_0x161809,_0x5f267b={'iVKvY':_0x120c6a(0x13c)};return{'elementType':ElementType[_0x120c6a(0x132)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x5f267b[_0x120c6a(0x152)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x30a6df){const _0x298da4=_0x161809,_0x18a57f={'syWDX':_0x298da4(0x11f)};return typeof _0x30a6df!==_0x18a57f[_0x298da4(0x126)]&&(_0x30a6df=JSON[_0x298da4(0x11a)](_0x30a6df)),{'elementType':ElementType[_0x298da4(0x153)],'elementId':'','arkElement':{'bytesData':_0x30a6df,'linkInfo':null,'subElementType':null}};}static[_0x161809(0x15c)](_0x570a07){const _0x3f01a5=_0x161809;return{'elementType':ElementType[_0x3f01a5(0x15d)],'elementId':'','markdownElement':{'content':_0x570a07}};}static async[_0x161809(0x12d)](){const _0x19e046=_0x161809,_0x20369b={'QQnEP':function(_0x413b22,_0x29c5ad){return _0x413b22(_0x29c5ad);},'ONcbC':_0x19e046(0x156),'jVsao':_0x19e046(0x159),'tRKfE':_0x19e046(0x140),'GqCWl':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x4be3e9=await _0x20369b[_0x19e046(0x177)](SignMiniApp,{'prompt':_0x19e046(0x156),'title':_0x20369b['ONcbC'],'preview':_0x20369b[_0x19e046(0x128)],'jumpUrl':_0x20369b['tRKfE'],'tag':_0x20369b[_0x19e046(0x12f)],'tagIcon':_0x19e046(0x120),'source':_0x20369b[_0x19e046(0x12f)],'sourcelogo':_0x20369b[_0x19e046(0x154)]});return{'elementType':ElementType[_0x19e046(0x153)],'elementId':'','arkElement':{'bytesData':_0x4be3e9,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 1caadfd4..6a6262ee 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0xa151e4,_0xdcd527){var _0x471498=_0x577b,_0x24f235=_0xa151e4();while(!![]){try{var _0x1bd627=-parseInt(_0x471498(0x18c))/0x1*(-parseInt(_0x471498(0x182))/0x2)+parseInt(_0x471498(0x185))/0x3*(parseInt(_0x471498(0x188))/0x4)+-parseInt(_0x471498(0x183))/0x5+-parseInt(_0x471498(0x189))/0x6+parseInt(_0x471498(0x180))/0x7+parseInt(_0x471498(0x18f))/0x8*(parseInt(_0x471498(0x187))/0x9)+parseInt(_0x471498(0x18d))/0xa*(parseInt(_0x471498(0x18e))/0xb);if(_0x1bd627===_0xdcd527)break;else _0x24f235['push'](_0x24f235['shift']());}catch(_0x41a730){_0x24f235['push'](_0x24f235['shift']());}}}(_0x8d90,0xca362));export var GroupMemberRole;(function(_0xe15937){var _0x3eeb8b=_0x577b,_0x1fda75={'MSadl':_0x3eeb8b(0x186),'UKdcZ':_0x3eeb8b(0x18a),'JzyMP':_0x3eeb8b(0x18b)};_0xe15937[_0xe15937[_0x1fda75[_0x3eeb8b(0x184)]]=0x2]='normal',_0xe15937[_0xe15937[_0x1fda75[_0x3eeb8b(0x17f)]]=0x3]=_0x1fda75[_0x3eeb8b(0x17f)],_0xe15937[_0xe15937[_0x1fda75['JzyMP']]=0x4]=_0x1fda75[_0x3eeb8b(0x181)];}(GroupMemberRole||(GroupMemberRole={})));function _0x577b(_0x1cf08e,_0x5d0f90){var _0x8d9069=_0x8d90();return _0x577b=function(_0x577baf,_0x374f20){_0x577baf=_0x577baf-0x17f;var _0x16a7de=_0x8d9069[_0x577baf];return _0x16a7de;},_0x577b(_0x1cf08e,_0x5d0f90);}function _0x8d90(){var _0x12b4ff=['187NFtVqf','3793288QQhRQy','UKdcZ','2223851YTmXTV','JzyMP','61532kFGpfL','2947430yAsmlO','MSadl','238182VHPFtN','normal','9kGsOuE','4RMIoXn','9220542qvbBMR','admin','owner','3ICKYnz','1171150vlSSJg'];_0x8d90=function(){return _0x12b4ff;};return _0x8d90();} \ No newline at end of file +function _0x46e2(_0x19cc40,_0x29736c){var _0x18f8f6=_0x18f8();return _0x46e2=function(_0x46e27f,_0x37c927){_0x46e27f=_0x46e27f-0x88;var _0x537b51=_0x18f8f6[_0x46e27f];return _0x537b51;},_0x46e2(_0x19cc40,_0x29736c);}function _0x18f8(){var _0x5d2959=['gDxTc','11SeXzrc','1894vokZLY','6ZLrYOd','3004mwsDwQ','31ABxvDj','18kdsJsE','720KVOiYF','xsfvx','3108931yKLyHM','3gTWcfa','4144860VnoaAL','532632VRQXuZ','admin','owner','817090tlBxFX','IsoBF','141193MhOcpD','normal'];_0x18f8=function(){return _0x5d2959;};return _0x18f8();}(function(_0x3a48b7,_0x4e0867){var _0x8fd9ad=_0x46e2,_0x34e967=_0x3a48b7();while(!![]){try{var _0x5ca655=-parseInt(_0x8fd9ad(0x8b))/0x1*(parseInt(_0x8fd9ad(0x88))/0x2)+parseInt(_0x8fd9ad(0x90))/0x3*(-parseInt(_0x8fd9ad(0x8a))/0x4)+-parseInt(_0x8fd9ad(0x95))/0x5+parseInt(_0x8fd9ad(0x89))/0x6*(parseInt(_0x8fd9ad(0x8f))/0x7)+-parseInt(_0x8fd9ad(0x92))/0x8*(parseInt(_0x8fd9ad(0x8c))/0x9)+-parseInt(_0x8fd9ad(0x91))/0xa*(parseInt(_0x8fd9ad(0x9a))/0xb)+-parseInt(_0x8fd9ad(0x8d))/0xc*(-parseInt(_0x8fd9ad(0x97))/0xd);if(_0x5ca655===_0x4e0867)break;else _0x34e967['push'](_0x34e967['shift']());}catch(_0x32d181){_0x34e967['push'](_0x34e967['shift']());}}}(_0x18f8,0x5693f));export var GroupMemberRole;(function(_0xcad264){var _0xde262e=_0x46e2,_0x4fa1fd={'gDxTc':_0xde262e(0x98),'IsoBF':'admin','xsfvx':_0xde262e(0x94)};_0xcad264[_0xcad264[_0x4fa1fd[_0xde262e(0x99)]]=0x2]=_0x4fa1fd[_0xde262e(0x99)],_0xcad264[_0xcad264[_0xde262e(0x93)]=0x3]=_0x4fa1fd[_0xde262e(0x96)],_0xcad264[_0xcad264[_0x4fa1fd[_0xde262e(0x8e)]]=0x4]=_0x4fa1fd['xsfvx'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 6370536a..362be634 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3aa231,_0x423156){var _0x18cb28=_0x2c29,_0x23581c=_0x3aa231();while(!![]){try{var _0x3b9ac2=parseInt(_0x18cb28(0x7a))/0x1+parseInt(_0x18cb28(0x7d))/0x2*(parseInt(_0x18cb28(0x7f))/0x3)+parseInt(_0x18cb28(0x79))/0x4+-parseInt(_0x18cb28(0x80))/0x5+-parseInt(_0x18cb28(0x7b))/0x6+parseInt(_0x18cb28(0x78))/0x7+-parseInt(_0x18cb28(0x7c))/0x8*(parseInt(_0x18cb28(0x7e))/0x9);if(_0x3b9ac2===_0x423156)break;else _0x23581c['push'](_0x23581c['shift']());}catch(_0x1e7c53){_0x23581c['push'](_0x23581c['shift']());}}}(_0x29ae,0xbb4db));export*from'./user';export*from'./group';export*from'./msg';function _0x29ae(){var _0x46823a=['37222OHwsqc','9YFfyVP','132akGTtA','211280sHtnNu','1379609OtqrHt','4292244khgLRL','586570kRqICv','1534446FHZhDh','12883280ushuQC'];_0x29ae=function(){return _0x46823a;};return _0x29ae();}function _0x2c29(_0x1f90c5,_0x11d256){var _0x29aeef=_0x29ae();return _0x2c29=function(_0x2c292a,_0x26f103){_0x2c292a=_0x2c292a-0x78;var _0x40c346=_0x29aeef[_0x2c292a];return _0x40c346;},_0x2c29(_0x1f90c5,_0x11d256);}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x5af2ad,_0x4046c6){var _0x1df9e3=_0x1244,_0x36bb4d=_0x5af2ad();while(!![]){try{var _0x3b94f5=-parseInt(_0x1df9e3(0x1a6))/0x1+-parseInt(_0x1df9e3(0x1a1))/0x2*(parseInt(_0x1df9e3(0x1a5))/0x3)+-parseInt(_0x1df9e3(0x1a9))/0x4*(-parseInt(_0x1df9e3(0x1a3))/0x5)+-parseInt(_0x1df9e3(0x1a7))/0x6+-parseInt(_0x1df9e3(0x1a2))/0x7*(parseInt(_0x1df9e3(0x1a8))/0x8)+-parseInt(_0x1df9e3(0x1a0))/0x9+parseInt(_0x1df9e3(0x1a4))/0xa;if(_0x3b94f5===_0x4046c6)break;else _0x36bb4d['push'](_0x36bb4d['shift']());}catch(_0x2bcf95){_0x36bb4d['push'](_0x36bb4d['shift']());}}}(_0x4320,0xccc5e));export*from'./user';function _0x4320(){var _0x347572=['72VubvUo','4815652HFeWzK','5574006oljGVK','2IbbqTz','271033lBlhqt','5SrQXON','44435530oEzEYG','3443007mRCoGO','1224720gGEvBW','8811132IAYGoT'];_0x4320=function(){return _0x347572;};return _0x4320();}export*from'./group';export*from'./msg';export*from'./notify';function _0x1244(_0x23c341,_0x5d4b0a){var _0x432093=_0x4320();return _0x1244=function(_0x1244b2,_0x29ae7e){_0x1244b2=_0x1244b2-0x1a0;var _0x236a87=_0x432093[_0x1244b2];return _0x236a87;},_0x1244(_0x23c341,_0x5d4b0a);}export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 88e3b3cf..f756eedd 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x9bb1a9=_0x279c;(function(_0x2205c4,_0x3c32f0){var _0x4767ff=_0x279c,_0x1575af=_0x2205c4();while(!![]){try{var _0x200f29=parseInt(_0x4767ff(0x12b))/0x1+parseInt(_0x4767ff(0x139))/0x2+parseInt(_0x4767ff(0x129))/0x3*(parseInt(_0x4767ff(0x122))/0x4)+-parseInt(_0x4767ff(0x10c))/0x5*(parseInt(_0x4767ff(0x133))/0x6)+parseInt(_0x4767ff(0x134))/0x7*(parseInt(_0x4767ff(0x12e))/0x8)+-parseInt(_0x4767ff(0x10e))/0x9*(-parseInt(_0x4767ff(0x125))/0xa)+parseInt(_0x4767ff(0x12d))/0xb*(-parseInt(_0x4767ff(0x104))/0xc);if(_0x200f29===_0x3c32f0)break;else _0x1575af['push'](_0x1575af['shift']());}catch(_0x18310d){_0x1575af['push'](_0x1575af['shift']());}}}(_0x1966,0x83362));export var ElementType;function _0x279c(_0x167937,_0x1b9bbd){var _0x196622=_0x1966();return _0x279c=function(_0x279cca,_0xd12146){_0x279cca=_0x279cca-0xf8;var _0x489cb1=_0x196622[_0x279cca];return _0x489cb1;},_0x279c(_0x167937,_0x1b9bbd);}(function(_0x310c9a){var _0x8e0d9b=_0x279c,_0x594df6={'mPFfE':_0x8e0d9b(0x136),'fLsBH':_0x8e0d9b(0x10d),'bvzaS':_0x8e0d9b(0x10f),'liOMw':_0x8e0d9b(0x110),'hhNZv':_0x8e0d9b(0x120),'wUcsL':_0x8e0d9b(0xff),'CxueW':_0x8e0d9b(0x123),'klbww':'REPLY','jvtfr':_0x8e0d9b(0x131),'MfqmS':_0x8e0d9b(0x106)},_0x489391=_0x594df6[_0x8e0d9b(0xfb)]['split']('|'),_0x4e9609=0x0;while(!![]){switch(_0x489391[_0x4e9609++]){case'0':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x127)]]=0x5]=_0x594df6[_0x8e0d9b(0x127)];continue;case'1':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x130)]]=0xa]=_0x594df6[_0x8e0d9b(0x130)];continue;case'2':_0x310c9a[_0x310c9a[_0x594df6['liOMw']]=0x2]=_0x594df6[_0x8e0d9b(0x108)];continue;case'3':_0x310c9a[_0x310c9a[_0x594df6['hhNZv']]=0xb]=_0x594df6[_0x8e0d9b(0x11d)];continue;case'4':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x11c)]]=0xe]=_0x594df6[_0x8e0d9b(0x11c)];continue;case'5':_0x310c9a[_0x310c9a[_0x8e0d9b(0x123)]=0x1]=_0x594df6[_0x8e0d9b(0x113)];continue;case'6':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x118)]]=0x7]=_0x594df6[_0x8e0d9b(0x118)];continue;case'7':_0x310c9a[_0x310c9a['FILE']=0x3]=_0x594df6[_0x8e0d9b(0x12a)];continue;case'8':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x114)]]=0x6]=_0x594df6['MfqmS'];continue;case'9':_0x310c9a[_0x310c9a[_0x8e0d9b(0x111)]=0x4]='PTT';continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x12bdc1){var _0x260c31=_0x279c,_0xb46234={'aBifw':_0x260c31(0x101),'OOpHM':_0x260c31(0x115)};_0x12bdc1[_0x12bdc1[_0xb46234[_0x260c31(0xf8)]]=0x7d0]=_0x260c31(0x101),_0x12bdc1[_0x12bdc1[_0xb46234['OOpHM']]=0x3e8]=_0xb46234[_0x260c31(0x11b)];}(PicType||(PicType={})));export var PicSubType;(function(_0x1a7fc2){var _0x10c48d=_0x279c,_0x81405e={'YbrBk':_0x10c48d(0x100),'ONCsp':_0x10c48d(0x121)};_0x1a7fc2[_0x1a7fc2[_0x10c48d(0x100)]=0x0]=_0x81405e[_0x10c48d(0x116)],_0x1a7fc2[_0x1a7fc2[_0x81405e[_0x10c48d(0xfc)]]=0x1]=_0x81405e[_0x10c48d(0xfc)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x955e78){var _0x4f766e=_0x279c,_0x1aa3dd={'csFNP':'atAll','rfYMf':'atUser'};_0x955e78[_0x955e78[_0x4f766e(0x11a)]=0x0]=_0x4f766e(0x11a),_0x955e78[_0x955e78[_0x4f766e(0xfd)]=0x1]=_0x1aa3dd[_0x4f766e(0xfe)],_0x955e78[_0x955e78[_0x1aa3dd[_0x4f766e(0x132)]]=0x2]=_0x1aa3dd[_0x4f766e(0x132)];}(AtType||(AtType={})));export var ChatType;(function(_0x5b7b0d){var _0x2540eb=_0x279c,_0x5d2ad6={'QKnwb':_0x2540eb(0x124),'ghkdJ':'group','SioOB':'chatDevice','AcLYJ':_0x2540eb(0x128)};_0x5b7b0d[_0x5b7b0d[_0x5d2ad6[_0x2540eb(0x10a)]]=0x1]=_0x5d2ad6[_0x2540eb(0x10a)],_0x5b7b0d[_0x5b7b0d[_0x5d2ad6['ghkdJ']]=0x2]=_0x5d2ad6[_0x2540eb(0x102)],_0x5b7b0d[_0x5b7b0d[_0x5d2ad6['SioOB']]=0x8]=_0x5d2ad6['SioOB'],_0x5b7b0d[_0x5b7b0d[_0x5d2ad6[_0x2540eb(0x107)]]=0x64]=_0x5d2ad6[_0x2540eb(0x107)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x9bb1a9(0x112);export const IMAGE_HTTP_HOST_NT=_0x9bb1a9(0x119);export var GrayTipElementSubType;(function(_0x3854ae){var _0x51cc20=_0x9bb1a9,_0x28ff5c={'DyUbb':_0x51cc20(0x103),'Eqjer':_0x51cc20(0x11e)};_0x3854ae[_0x3854ae[_0x28ff5c[_0x51cc20(0xf9)]]=0xc]=_0x51cc20(0x103),_0x3854ae[_0x3854ae[_0x51cc20(0x11e)]=0x11]=_0x28ff5c[_0x51cc20(0x117)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;function _0x1966(){var _0x507c6f=['9422xHZAVh','VlKyD','5|2|7|9|0|8|6|1|3|4','dice','cOqQJ','2022470GPMxvd','aBifw','DyUbb','ban','mPFfE','ONCsp','atAll','csFNP','MARKDOWN','normal','gif','ghkdJ','INVITE_NEW_MEMBER','43452trmIol','kicked','FACE','AcLYJ','liOMw','BUVyZ','QKnwb','ThpPF','50bILNUE','VIDEO','9402957ngsTMZ','ARK','PIC','PTT','https://gchat.qpic.cn','CxueW','MfqmS','jpg','YbrBk','Eqjer','klbww','https://multimedia.nt.qq.com.cn','notAt','OOpHM','wUcsL','hhNZv','MEMBER_NEW_TITLE','normal2','MFACE','face','175080MzSvQX','TEXT','friend','10uFUwXW','RPS','fLsBH','temp','30aLAfVA','jvtfr','324241mDLbgX','QWYwq','6303xHcXuP','3768qDAxpU','WrzrG','bvzaS','FILE','rfYMf','503784ffWngX'];_0x1966=function(){return _0x507c6f;};return _0x1966();}(function(_0x25bc54){var _0x2b1c0b=_0x9bb1a9,_0x375b8e={'ThpPF':_0x2b1c0b(0x100),'cOqQJ':'dice'};_0x25bc54[_0x25bc54[_0x2b1c0b(0x100)]=0x1]=_0x375b8e[_0x2b1c0b(0x10b)],_0x25bc54[_0x25bc54[_0x2b1c0b(0x11f)]=0x2]=_0x2b1c0b(0x11f),_0x25bc54[_0x25bc54[_0x375b8e[_0x2b1c0b(0x138)]]=0x3]=_0x375b8e[_0x2b1c0b(0x138)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x202244){var _0x28414f=_0x9bb1a9,_0x4a4078={'QWYwq':'dice','WrzrG':'RPS'};_0x202244[_0x202244[_0x4a4078[_0x28414f(0x12c)]]=0x166]=_0x28414f(0x137),_0x202244[_0x202244[_0x4a4078[_0x28414f(0x12f)]]=0x167]=_0x28414f(0x126);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x11a4c6){var _0x199e51=_0x9bb1a9,_0x44707c={'iJciQ':'memberIncrease','VlKyD':_0x199e51(0x105),'BUVyZ':'ban'};_0x11a4c6[_0x11a4c6[_0x44707c['iJciQ']]=0x1]=_0x44707c['iJciQ'],_0x11a4c6[_0x11a4c6[_0x44707c['VlKyD']]=0x3]=_0x44707c[_0x199e51(0x135)],_0x11a4c6[_0x11a4c6[_0x199e51(0xfa)]=0x8]=_0x44707c[_0x199e51(0x109)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x8c5a2e=_0x455e;(function(_0x14dac7,_0x24f2e2){var _0x502d47=_0x455e,_0xa6b5f1=_0x14dac7();while(!![]){try{var _0x249efd=parseInt(_0x502d47(0x135))/0x1*(parseInt(_0x502d47(0x131))/0x2)+parseInt(_0x502d47(0x12b))/0x3+-parseInt(_0x502d47(0x156))/0x4+parseInt(_0x502d47(0x122))/0x5*(parseInt(_0x502d47(0x149))/0x6)+-parseInt(_0x502d47(0x11c))/0x7+-parseInt(_0x502d47(0x140))/0x8+-parseInt(_0x502d47(0x124))/0x9*(-parseInt(_0x502d47(0x13f))/0xa);if(_0x249efd===_0x24f2e2)break;else _0xa6b5f1['push'](_0xa6b5f1['shift']());}catch(_0x2e3ef3){_0xa6b5f1['push'](_0xa6b5f1['shift']());}}}(_0x37ad,0x5e812));export var ElementType;(function(_0xf9e135){var _0x2276a3=_0x455e,_0x360069={'IhndG':_0x2276a3(0x14d),'EZRag':_0x2276a3(0x11d),'liYeY':_0x2276a3(0x134),'kBfZo':_0x2276a3(0x126),'SiULF':_0x2276a3(0x11e),'XFqib':_0x2276a3(0x148),'vCyBh':_0x2276a3(0x13e),'RXpLY':_0x2276a3(0x13b),'JfBXz':_0x2276a3(0x120)},_0x536a2d=_0x2276a3(0x154)[_0x2276a3(0x155)]('|'),_0x219950=0x0;while(!![]){switch(_0x536a2d[_0x219950++]){case'0':_0xf9e135[_0xf9e135[_0x360069['IhndG']]=0x5]=_0x2276a3(0x14d);continue;case'1':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x133)]]=0x6]=_0x360069[_0x2276a3(0x133)];continue;case'2':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x136)]]=0x7]=_0x360069['liYeY'];continue;case'3':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x129)]]=0x3]=_0x360069[_0x2276a3(0x129)];continue;case'4':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x12e)]]=0x2]=_0x2276a3(0x11e);continue;case'5':_0xf9e135[_0xf9e135[_0x2276a3(0x148)]=0xa]=_0x360069[_0x2276a3(0x139)];continue;case'6':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x138)]]=0xb]=_0x2276a3(0x13e);continue;case'7':_0xf9e135[_0xf9e135[_0x2276a3(0x144)]=0x4]='PTT';continue;case'8':_0xf9e135[_0xf9e135[_0x2276a3(0x13b)]=0xe]=_0x360069['RXpLY'];continue;case'9':_0xf9e135[_0xf9e135['TEXT']=0x1]=_0x360069[_0x2276a3(0x119)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x455e(_0x48a7d6,_0x4c445e){var _0x37ad07=_0x37ad();return _0x455e=function(_0x455e43,_0x1b1686){_0x455e43=_0x455e43-0x119;var _0x412f3a=_0x37ad07[_0x455e43];return _0x412f3a;},_0x455e(_0x48a7d6,_0x4c445e);}(function(_0x117a7b){var _0x4c62ee=_0x455e,_0x4415b4={'oZTqK':_0x4c62ee(0x13a)};_0x117a7b[_0x117a7b[_0x4c62ee(0x132)]=0x7d0]='gif',_0x117a7b[_0x117a7b[_0x4415b4[_0x4c62ee(0x12c)]]=0x3e8]=_0x4415b4[_0x4c62ee(0x12c)];}(PicType||(PicType={})));export var PicSubType;(function(_0xd1f591){var _0x262875=_0x455e,_0x3dba58={'qVahs':_0x262875(0x13c),'jvKdE':_0x262875(0x150)};_0xd1f591[_0xd1f591[_0x3dba58[_0x262875(0x12d)]]=0x0]='normal',_0xd1f591[_0xd1f591[_0x3dba58['jvKdE']]=0x1]=_0x3dba58[_0x262875(0x13d)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x13c661){var _0x25cc64=_0x455e,_0x254790={'yyCBa':_0x25cc64(0x14e),'GJSRe':_0x25cc64(0x14f),'LpwNy':_0x25cc64(0x123)};_0x13c661[_0x13c661[_0x254790[_0x25cc64(0x145)]]=0x0]=_0x254790[_0x25cc64(0x145)],_0x13c661[_0x13c661[_0x254790[_0x25cc64(0x141)]]=0x1]=_0x254790[_0x25cc64(0x141)],_0x13c661[_0x13c661[_0x254790['LpwNy']]=0x2]=_0x254790[_0x25cc64(0x14c)];}(AtType||(AtType={})));export var ChatType;(function(_0x2c282b){var _0x5ec827=_0x455e,_0x3a2c19={'ssDvZ':_0x5ec827(0x14b),'acXqq':'group','LhtSG':'chatDevice','psDAd':_0x5ec827(0x146)};_0x2c282b[_0x2c282b[_0x3a2c19[_0x5ec827(0x11a)]]=0x1]=_0x3a2c19[_0x5ec827(0x11a)],_0x2c282b[_0x2c282b[_0x3a2c19['acXqq']]=0x2]=_0x3a2c19[_0x5ec827(0x14a)],_0x2c282b[_0x2c282b[_0x3a2c19['LhtSG']]=0x8]=_0x5ec827(0x157),_0x2c282b[_0x2c282b[_0x3a2c19['psDAd']]=0x64]=_0x3a2c19['psDAd'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x8c5a2e(0x11f);export const IMAGE_HTTP_HOST_NT=_0x8c5a2e(0x147);export var GrayTipElementSubType;(function(_0x233f36){var _0x3624c4=_0x8c5a2e,_0x40a9f1={'vMAwW':'INVITE_NEW_MEMBER','uTLzI':'MEMBER_NEW_TITLE'};_0x233f36[_0x233f36[_0x40a9f1[_0x3624c4(0x130)]]=0xc]=_0x40a9f1[_0x3624c4(0x130)],_0x233f36[_0x233f36['MEMBER_NEW_TITLE']=0x11]=_0x40a9f1[_0x3624c4(0x152)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4017d4){var _0x12b00f=_0x8c5a2e,_0x59cee9={'lYUqg':_0x12b00f(0x13c),'VMpeT':_0x12b00f(0x125),'BvDIm':'dice'};_0x4017d4[_0x4017d4[_0x59cee9[_0x12b00f(0x11b)]]=0x1]=_0x59cee9[_0x12b00f(0x11b)],_0x4017d4[_0x4017d4[_0x59cee9['VMpeT']]=0x2]=_0x12b00f(0x125),_0x4017d4[_0x4017d4[_0x59cee9['BvDIm']]=0x3]=_0x59cee9[_0x12b00f(0x137)];}(FaceType||(FaceType={})));export var FaceIndex;function _0x37ad(){var _0x4e80d9=['kBfZo','nUcwb','1386393DfkQtj','oZTqK','qVahs','SiULF','tqHOm','vMAwW','2884ceJkEV','gif','EZRag','REPLY','152bwFiaz','liYeY','BvDIm','vCyBh','XFqib','jpg','MARKDOWN','normal','jvKdE','MFACE','2307850bKyZpt','1480176QcTgBU','GJSRe','RPS','ban','PTT','yyCBa','temp','https://multimedia.nt.qq.com.cn','ARK','915006RuYIVF','acXqq','friend','LpwNy','VIDEO','notAt','atAll','face','dice','uTLzI','CkGZY','9|4|3|7|0|1|2|5|6|8','split','390172PjMAso','chatDevice','JfBXz','ssDvZ','lYUqg','4380117noolmi','FACE','PIC','https://gchat.qpic.cn','TEXT','wvYet','5XyesQN','atUser','18vDnUXz','normal2','FILE','VijZa','kicked'];_0x37ad=function(){return _0x4e80d9;};return _0x37ad();}(function(_0x53202d){var _0x49b14e=_0x8c5a2e,_0x384ffc={'VijZa':_0x49b14e(0x151),'CkGZY':_0x49b14e(0x142)};_0x53202d[_0x53202d[_0x384ffc['VijZa']]=0x166]=_0x384ffc[_0x49b14e(0x127)],_0x53202d[_0x53202d[_0x384ffc[_0x49b14e(0x153)]]=0x167]=_0x384ffc['CkGZY'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x34bec6){var _0x2e7386=_0x8c5a2e,_0x5c2d79={'wvYet':'memberIncrease','nUcwb':_0x2e7386(0x128),'tqHOm':_0x2e7386(0x143)};_0x34bec6[_0x34bec6[_0x5c2d79[_0x2e7386(0x121)]]=0x1]=_0x5c2d79['wvYet'],_0x34bec6[_0x34bec6[_0x5c2d79['nUcwb']]=0x3]=_0x5c2d79[_0x2e7386(0x12a)],_0x34bec6[_0x34bec6[_0x2e7386(0x143)]=0x8]=_0x5c2d79[_0x2e7386(0x12f)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index 3a79e870..188431de 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x384e42,_0x17af2c){var _0x3bb90b=_0x425f,_0x3cd77b=_0x384e42();while(!![]){try{var _0x552618=parseInt(_0x3bb90b(0xbf))/0x1*(parseInt(_0x3bb90b(0xaa))/0x2)+parseInt(_0x3bb90b(0xaf))/0x3*(parseInt(_0x3bb90b(0xa3))/0x4)+-parseInt(_0x3bb90b(0xb7))/0x5+parseInt(_0x3bb90b(0xa8))/0x6+-parseInt(_0x3bb90b(0xbe))/0x7*(-parseInt(_0x3bb90b(0xc3))/0x8)+-parseInt(_0x3bb90b(0xba))/0x9*(parseInt(_0x3bb90b(0xa6))/0xa)+-parseInt(_0x3bb90b(0xa2))/0xb;if(_0x552618===_0x17af2c)break;else _0x3cd77b['push'](_0x3cd77b['shift']());}catch(_0x54d477){_0x3cd77b['push'](_0x3cd77b['shift']());}}}(_0x8831,0xaa1bc));export var GroupNotifyTypes;(function(_0x47517e){var _0x45dbb7=_0x425f,_0x304a09={'RgqYz':_0x45dbb7(0xa9),'IzVWG':_0x45dbb7(0xc2),'KoMDj':_0x45dbb7(0xa1),'kXHAJ':_0x45dbb7(0xbc),'hvYVG':_0x45dbb7(0xc0),'lXpWP':_0x45dbb7(0xb2),'JSkRX':'MEMBER_EXIT','csCrI':'KICK_MEMBER'},_0x42e406=_0x45dbb7(0xab)[_0x45dbb7(0xb1)]('|'),_0x24c11d=0x0;while(!![]){switch(_0x42e406[_0x24c11d++]){case'0':_0x47517e[_0x47517e[_0x304a09['RgqYz']]=0xc]='ADMIN_UNSET';continue;case'1':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xb0)]]=0x1]=_0x304a09[_0x45dbb7(0xb0)];continue;case'2':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xb3)]]=0x4]=_0x304a09[_0x45dbb7(0xb3)];continue;case'3':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xa7)]]=0x8]=_0x304a09[_0x45dbb7(0xa7)];continue;case'4':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xae)]]=0x7]=_0x304a09[_0x45dbb7(0xae)];continue;case'5':_0x47517e[_0x47517e[_0x45dbb7(0xb2)]=0xd]=_0x304a09[_0x45dbb7(0xb8)];continue;case'6':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xc1)]]=0xb]='MEMBER_EXIT';continue;case'7':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xb6)]]=0x9]=_0x304a09['csCrI'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x8831(){var _0x1131c8=['iEMSk','csCrI','4058420qTlgJY','lXpWP','icxaX','9cgSpCC','approve','ADMIN_SET','WahXv','21MaPftu','23jRYaJX','JOIN_REQUEST','JSkRX','INVITE_ME','2692376Tykntr','WAIT_HANDLE','INVITED_JOIN','937739qnLoqL','721480CmurVf','APPROVE','IGNORE','12107870sXZgSY','kXHAJ','2130ZeCGWg','ADMIN_UNSET','46252VvrOQJ','1|2|4|3|7|6|0|5','reject','NmJsK','hvYVG','21YzzcOh','IzVWG','split','ADMIN_UNSET_OTHER','KoMDj','DjpLd'];_0x8831=function(){return _0x1131c8;};return _0x8831();}(function(_0x3714aa){var _0x59d786=_0x425f,_0x49529a={'iEMSk':'IGNORE','lXibg':_0x59d786(0xa0),'icxaX':_0x59d786(0xa4),'DjpLd':'REJECT'};_0x3714aa[_0x3714aa[_0x59d786(0xa5)]=0x0]=_0x49529a[_0x59d786(0xb5)],_0x3714aa[_0x3714aa['WAIT_HANDLE']=0x1]=_0x49529a['lXibg'],_0x3714aa[_0x3714aa[_0x49529a[_0x59d786(0xb9)]]=0x2]='APPROVE',_0x3714aa[_0x3714aa[_0x49529a[_0x59d786(0xb4)]]=0x3]='REJECT';}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x425f(_0x2d79dd,_0x281276){var _0x883123=_0x8831();return _0x425f=function(_0x425f74,_0x416b03){_0x425f74=_0x425f74-0xa0;var _0x30bf5a=_0x883123[_0x425f74];return _0x30bf5a;},_0x425f(_0x2d79dd,_0x281276);}(function(_0x409dcf){var _0x10abc8=_0x425f,_0x219438={'NmJsK':_0x10abc8(0xbb),'WahXv':_0x10abc8(0xac)};_0x409dcf[_0x409dcf[_0x219438[_0x10abc8(0xad)]]=0x1]='approve',_0x409dcf[_0x409dcf[_0x219438[_0x10abc8(0xbd)]]=0x2]=_0x10abc8(0xac);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x1feac6,_0x2fb00d){var _0x3182ad=_0x5c32,_0x563c35=_0x1feac6();while(!![]){try{var _0x249aa2=-parseInt(_0x3182ad(0x8f))/0x1+parseInt(_0x3182ad(0xa2))/0x2+parseInt(_0x3182ad(0x98))/0x3*(parseInt(_0x3182ad(0x94))/0x4)+-parseInt(_0x3182ad(0x8c))/0x5*(parseInt(_0x3182ad(0x8a))/0x6)+parseInt(_0x3182ad(0x9f))/0x7+-parseInt(_0x3182ad(0x88))/0x8*(-parseInt(_0x3182ad(0x99))/0x9)+-parseInt(_0x3182ad(0x85))/0xa*(parseInt(_0x3182ad(0x8e))/0xb);if(_0x249aa2===_0x2fb00d)break;else _0x563c35['push'](_0x563c35['shift']());}catch(_0x41104c){_0x563c35['push'](_0x563c35['shift']());}}}(_0x2b66,0xefca4));export var GroupNotifyTypes;function _0x2b66(){var _0x29f172=['2273740wFPfnf','feHTG','BuoBi','3898998amSUuW','IGNORE','KICK_MEMBER','WAIT_HANDLE','Zvkdh','wDrur','833310zobGOb','Kouom','ADMIN_SET','5352KOlOYC','split','211656ZqTsED','MEMBER_EXIT','205deNiHa','ADMIN_UNSET_OTHER','132gYwxjS','1325098vQTkki','piUUR','ADMIN_UNSET','reject','INVITED_JOIN','16xTwJdM','lHarF','UmCfr','INVITE_ME','404862NRkfAH','26091xjYWmL','4|6|3|5|2|7|0|1','Enhbw','approve','AVPet','PVokl'];_0x2b66=function(){return _0x29f172;};return _0x2b66();}(function(_0x2a745f){var _0x3d3e80=_0x5c32,_0x2dffc9={'lHarF':_0x3d3e80(0x9a),'AVPet':_0x3d3e80(0x91),'Kouom':_0x3d3e80(0x8d),'Enhbw':_0x3d3e80(0xa4),'LnfIw':'JOIN_REQUEST','Zvkdh':_0x3d3e80(0x97),'PVokl':_0x3d3e80(0x87),'UmCfr':_0x3d3e80(0x8b)},_0x360d49=_0x2dffc9[_0x3d3e80(0x95)][_0x3d3e80(0x89)]('|'),_0x5ed8a9=0x0;while(!![]){switch(_0x360d49[_0x5ed8a9++]){case'0':_0x2a745f[_0x2a745f[_0x3d3e80(0x91)]=0xc]=_0x2dffc9[_0x3d3e80(0x9d)];continue;case'1':_0x2a745f[_0x2a745f[_0x3d3e80(0x8d)]=0xd]=_0x2dffc9[_0x3d3e80(0x86)];continue;case'2':_0x2a745f[_0x2a745f[_0x3d3e80(0xa4)]=0x9]=_0x2dffc9[_0x3d3e80(0x9b)];continue;case'3':_0x2a745f[_0x2a745f[_0x2dffc9['LnfIw']]=0x7]=_0x2dffc9['LnfIw'];continue;case'4':_0x2a745f[_0x2a745f[_0x3d3e80(0x97)]=0x1]=_0x2dffc9[_0x3d3e80(0xa6)];continue;case'5':_0x2a745f[_0x2a745f[_0x2dffc9[_0x3d3e80(0x9e)]]=0x8]=_0x2dffc9[_0x3d3e80(0x9e)];continue;case'6':_0x2a745f[_0x2a745f[_0x3d3e80(0x93)]=0x4]=_0x3d3e80(0x93);continue;case'7':_0x2a745f[_0x2a745f[_0x2dffc9[_0x3d3e80(0x96)]]=0xb]=_0x2dffc9[_0x3d3e80(0x96)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x45a90e){var _0x2b14d0=_0x5c32,_0x38355d={'DAlkG':_0x2b14d0(0xa3),'wDrur':'WAIT_HANDLE','piUUR':'APPROVE','RCLZF':'REJECT'};_0x45a90e[_0x45a90e[_0x38355d['DAlkG']]=0x0]=_0x2b14d0(0xa3),_0x45a90e[_0x45a90e[_0x38355d[_0x2b14d0(0x84)]]=0x1]=_0x2b14d0(0xa5),_0x45a90e[_0x45a90e[_0x38355d[_0x2b14d0(0x90)]]=0x2]=_0x38355d[_0x2b14d0(0x90)],_0x45a90e[_0x45a90e[_0x38355d['RCLZF']]=0x3]=_0x38355d['RCLZF'];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x5c32(_0x53166f,_0x49f9d2){var _0x2b6610=_0x2b66();return _0x5c32=function(_0x5c320f,_0x971696){_0x5c320f=_0x5c320f-0x84;var _0x179e6d=_0x2b6610[_0x5c320f];return _0x179e6d;},_0x5c32(_0x53166f,_0x49f9d2);}export var GroupRequestOperateTypes;(function(_0x872564){var _0x401aa3=_0x5c32,_0x56b431={'feHTG':_0x401aa3(0x9c),'BuoBi':_0x401aa3(0x92)};_0x872564[_0x872564[_0x56b431[_0x401aa3(0xa0)]]=0x1]=_0x56b431[_0x401aa3(0xa0)],_0x872564[_0x872564[_0x401aa3(0x92)]=0x2]=_0x56b431[_0x401aa3(0xa1)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 0a135451..a96f2443 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x381c(){var _0x4d78ca=['5300fccGlF','QHBqP','26081mhuIuS','vHoHP','male','15WnMjHm','48bFsgHO','2266425QzNfsU','4258128iWWRIU','755766DBLdqJ','4333242CSNVcC','14VfrmmP','857052XtrRqc','151966ZCmmCB'];_0x381c=function(){return _0x4d78ca;};return _0x381c();}(function(_0x2194ae,_0x19fc34){var _0x59ab17=_0x34f3,_0x2bbc66=_0x2194ae();while(!![]){try{var _0x59fe10=parseInt(_0x59ab17(0xc3))/0x1*(-parseInt(_0x59ab17(0xcf))/0x2)+-parseInt(_0x59ab17(0xcb))/0x3+-parseInt(_0x59ab17(0xc2))/0x4*(parseInt(_0x59ab17(0xc9))/0x5)+parseInt(_0x59ab17(0xce))/0x6+parseInt(_0x59ab17(0xcc))/0x7+-parseInt(_0x59ab17(0xca))/0x8*(-parseInt(_0x59ab17(0xcd))/0x9)+-parseInt(_0x59ab17(0xc4))/0xa*(-parseInt(_0x59ab17(0xc6))/0xb);if(_0x59fe10===_0x19fc34)break;else _0x2bbc66['push'](_0x2bbc66['shift']());}catch(_0x8a5013){_0x2bbc66['push'](_0x2bbc66['shift']());}}}(_0x381c,0x998df));export var Sex;function _0x34f3(_0x1c28cb,_0x324e9a){var _0x381c33=_0x381c();return _0x34f3=function(_0x34f31e,_0x557511){_0x34f31e=_0x34f31e-0xc2;var _0x5a521a=_0x381c33[_0x34f31e];return _0x5a521a;},_0x34f3(_0x1c28cb,_0x324e9a);}(function(_0x35b7b9){var _0x1c7c13=_0x34f3,_0x2abfb1={'QHBqP':_0x1c7c13(0xc8),'wgoAN':'female','vHoHP':'unknown'};_0x35b7b9[_0x35b7b9[_0x2abfb1[_0x1c7c13(0xc5)]]=0x1]=_0x2abfb1[_0x1c7c13(0xc5)],_0x35b7b9[_0x35b7b9[_0x2abfb1['wgoAN']]=0x2]='female',_0x35b7b9[_0x35b7b9[_0x2abfb1[_0x1c7c13(0xc7)]]=0xff]=_0x2abfb1['vHoHP'];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x173d8d,_0x299b3a){var _0x5df841=_0x26f7,_0x4a9523=_0x173d8d();while(!![]){try{var _0x3be069=-parseInt(_0x5df841(0x1c1))/0x1+-parseInt(_0x5df841(0x1c4))/0x2*(parseInt(_0x5df841(0x1cd))/0x3)+parseInt(_0x5df841(0x1cc))/0x4+parseInt(_0x5df841(0x1c6))/0x5*(parseInt(_0x5df841(0x1c2))/0x6)+parseInt(_0x5df841(0x1c9))/0x7+parseInt(_0x5df841(0x1cb))/0x8*(-parseInt(_0x5df841(0x1ca))/0x9)+parseInt(_0x5df841(0x1ce))/0xa;if(_0x3be069===_0x299b3a)break;else _0x4a9523['push'](_0x4a9523['shift']());}catch(_0x53925d){_0x4a9523['push'](_0x4a9523['shift']());}}}(_0x5e1b,0xbd281));function _0x26f7(_0x4d7d35,_0x56e808){var _0x5e1bc6=_0x5e1b();return _0x26f7=function(_0x26f712,_0x1c1265){_0x26f712=_0x26f712-0x1c0;var _0x4597a7=_0x5e1bc6[_0x26f712];return _0x4597a7;},_0x26f7(_0x4d7d35,_0x56e808);}export var Sex;(function(_0x44f593){var _0xbf7011=_0x26f7,_0xb8bb0a={'fSEZp':_0xbf7011(0x1c3),'xqFsC':_0xbf7011(0x1c5),'guvlN':_0xbf7011(0x1c8)};_0x44f593[_0x44f593[_0xbf7011(0x1c3)]=0x1]=_0xb8bb0a[_0xbf7011(0x1c0)],_0x44f593[_0x44f593[_0xb8bb0a[_0xbf7011(0x1c7)]]=0x2]=_0xb8bb0a['xqFsC'],_0x44f593[_0x44f593[_0xb8bb0a['guvlN']]=0xff]=_0xbf7011(0x1c8);}(Sex||(Sex={})));function _0x5e1b(){var _0x143caf=['male','394bfhvLI','female','5yxnrNr','xqFsC','unknown','6746733lhJuuJ','9MhKRYM','6320752DLsXoy','2431924JunZgp','22482VmWEYZ','21478920dvvdIc','fSEZp','1266365SNfmnb','3527220wkpFxl'];_0x5e1b=function(){return _0x143caf;};return _0x5e1b();} \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 7538abc9..4cce7a57 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x4e49b6,_0x11aa1e){var _0x385d2c=_0x5847,_0x61c61a=_0x4e49b6();while(!![]){try{var _0x3d7ec0=parseInt(_0x385d2c(0x89))/0x1*(parseInt(_0x385d2c(0x8a))/0x2)+-parseInt(_0x385d2c(0x81))/0x3*(-parseInt(_0x385d2c(0x80))/0x4)+parseInt(_0x385d2c(0x88))/0x5*(-parseInt(_0x385d2c(0x84))/0x6)+-parseInt(_0x385d2c(0x83))/0x7*(parseInt(_0x385d2c(0x82))/0x8)+parseInt(_0x385d2c(0x86))/0x9*(parseInt(_0x385d2c(0x8c))/0xa)+parseInt(_0x385d2c(0x85))/0xb+-parseInt(_0x385d2c(0x87))/0xc*(parseInt(_0x385d2c(0x8b))/0xd);if(_0x3d7ec0===_0x11aa1e)break;else _0x61c61a['push'](_0x61c61a['shift']());}catch(_0x16b770){_0x61c61a['push'](_0x61c61a['shift']());}}}(_0xdbe6,0x8e88d));import _0x256212 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x5847(_0x57c9ba,_0x14d56b){var _0xdbe64d=_0xdbe6();return _0x5847=function(_0x58472d,_0x1068e7){_0x58472d=_0x58472d-0x80;var _0x39585a=_0xdbe64d[_0x58472d];return _0x39585a;},_0x5847(_0x57c9ba,_0x14d56b);}export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0xdbe6(){var _0x1240e9=['2PVzbXz','3531944FJKUIr','200sZpXUx','4VmiJiB','2020692iABhRR','584ECzcen','47747HdWEZn','11130iuLqKd','12397275ZiocVR','155007BZjKlW','48OhYjmN','635bowfVv','259042QeuLIj'];_0xdbe6=function(){return _0x1240e9;};return _0xdbe6();}export*as Services from'./services';export{_0x256212 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x9b07de,_0x43a80f){var _0x4f3be7=_0x1722,_0x5683c3=_0x9b07de();while(!![]){try{var _0x440d45=parseInt(_0x4f3be7(0x1c1))/0x1*(-parseInt(_0x4f3be7(0x1bf))/0x2)+-parseInt(_0x4f3be7(0x1c3))/0x3*(-parseInt(_0x4f3be7(0x1c2))/0x4)+parseInt(_0x4f3be7(0x1c5))/0x5*(-parseInt(_0x4f3be7(0x1c8))/0x6)+parseInt(_0x4f3be7(0x1c0))/0x7*(-parseInt(_0x4f3be7(0x1c6))/0x8)+-parseInt(_0x4f3be7(0x1c4))/0x9*(parseInt(_0x4f3be7(0x1c7))/0xa)+-parseInt(_0x4f3be7(0x1ca))/0xb*(-parseInt(_0x4f3be7(0x1be))/0xc)+parseInt(_0x4f3be7(0x1c9))/0xd;if(_0x440d45===_0x43a80f)break;else _0x5683c3['push'](_0x5683c3['shift']());}catch(_0x412e8f){_0x5683c3['push'](_0x5683c3['shift']());}}}(_0x3d31,0xe37ab));import _0x59f925 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x3d31(){var _0x22249d=['8zWbIXY','10ALJBim','975642sLrUjc','27311245RzBYJi','20834SEBzVE','8088dvsoBE','958gvZhRd','6417131JYcBsH','2773poMFOd','2643348YHrQBW','6CdqGbO','3456819ZLAkVi','35nvyBtD'];_0x3d31=function(){return _0x22249d;};return _0x3d31();}export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';function _0x1722(_0x1935a9,_0x460ef3){var _0x3d315b=_0x3d31();return _0x1722=function(_0x17225d,_0x55b9e3){_0x17225d=_0x17225d-0x1be;var _0x252f00=_0x3d315b[_0x17225d];return _0x252f00;},_0x1722(_0x1935a9,_0x460ef3);}export{_0x59f925 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index c0a3a673..1513a278 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x3116(){var _0x54e98b=['34239IUvSls','onAvatarUrlUpdated','onBuddyDetailInfoChange','5EPTCVJ','onBlockChanged','245720anAJYu','8882XTDlAd','54leoVFU','5891666nHYBnJ','onCheckBuddySettingResult','51AoUyZl','36785tPFcVo','618330VOTcaz','onSpacePermissionInfos','onDoubtBuddyReqUnreadNumChange','onBuddyReqChange','onBuddyReqUnreadCntChange','638808BnpphH','onDelBatchBuddyInfos','44BggsbA'];_0x3116=function(){return _0x54e98b;};return _0x3116();}var _0x3aa47b=_0x13d2;(function(_0x498a01,_0x4768b3){var _0x11978d=_0x13d2,_0x4b1097=_0x498a01();while(!![]){try{var _0x12d45d=-parseInt(_0x11978d(0x105))/0x1*(-parseInt(_0x11978d(0x101))/0x2)+parseInt(_0x11978d(0xfb))/0x3*(parseInt(_0x11978d(0xfa))/0x4)+-parseInt(_0x11978d(0xfe))/0x5*(-parseInt(_0x11978d(0xf8))/0x6)+parseInt(_0x11978d(0xf2))/0x7+-parseInt(_0x11978d(0x100))/0x8*(-parseInt(_0x11978d(0x102))/0x9)+parseInt(_0x11978d(0xf3))/0xa+-parseInt(_0x11978d(0x103))/0xb;if(_0x12d45d===_0x4768b3)break;else _0x4b1097['push'](_0x4b1097['shift']());}catch(_0x3a882d){_0x4b1097['push'](_0x4b1097['shift']());}}}(_0x3116,0x2a8c2));function _0x13d2(_0x4fd988,_0x13f44c){var _0x31160d=_0x3116();return _0x13d2=function(_0x13d22e,_0x149f9d){_0x13d22e=_0x13d22e-0xf2;var _0x7e80e9=_0x31160d[_0x13d22e];return _0x7e80e9;},_0x13d2(_0x4fd988,_0x13f44c);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x127592){}['onAddMeSettingChanged'](_0x3e935a){}[_0x3aa47b(0xfc)](_0x3abe11){}[_0x3aa47b(0xff)](_0x3b16e0){}[_0x3aa47b(0xfd)](_0x52563e){}['onBuddyInfoChange'](_0x5261a6){}['onBuddyListChange'](_0x427b4b){}['onBuddyRemarkUpdated'](_0x2f7608){}[_0x3aa47b(0xf6)](_0x4a3182){}[_0x3aa47b(0xf7)](_0x925366){}[_0x3aa47b(0x104)](_0x29b561){}[_0x3aa47b(0xf9)](_0x236d7a){}['onDoubtBuddyReqChange'](_0x2e37ee){}[_0x3aa47b(0xf5)](_0x268894){}['onNickUpdated'](_0xca84f2){}['onSmartInfos'](_0x158bd7){}[_0x3aa47b(0xf4)](_0x3c55dc){}} \ No newline at end of file +function _0x5edf(){var _0x1a0832=['onDelBatchBuddyInfos','16kYYTmv','972111sAEPsT','onSpacePermissionInfos','25476TQyfcd','onAddMeSettingChanged','onAddBuddyNeedVerify','1793615FdtXfU','2181288fTzROG','onDoubtBuddyReqUnreadNumChange','onBuddyListChange','14014qrAWRX','onDoubtBuddyReqChange','onBuddyDetailInfoChange','onBuddyReqChange','onBlockChanged','onSmartInfos','134Uvfdgp','2894zaEquo','onBuddyReqUnreadCntChange','192tAjCzh','2053809rLROpN','1070WeaqSx'];_0x5edf=function(){return _0x1a0832;};return _0x5edf();}var _0xbd4349=_0x1dd7;function _0x1dd7(_0x38e648,_0x49540f){var _0x5edfc6=_0x5edf();return _0x1dd7=function(_0x1dd752,_0xfe6172){_0x1dd752=_0x1dd752-0xac;var _0x159bc5=_0x5edfc6[_0x1dd752];return _0x159bc5;},_0x1dd7(_0x38e648,_0x49540f);}(function(_0x5c7f1e,_0x433458){var _0x2e6c4c=_0x1dd7,_0x32362e=_0x5c7f1e();while(!![]){try{var _0x57e6d9=-parseInt(_0x2e6c4c(0xbe))/0x1*(-parseInt(_0x2e6c4c(0xbd))/0x2)+-parseInt(_0x2e6c4c(0xb0))/0x3*(-parseInt(_0x2e6c4c(0xc0))/0x4)+-parseInt(_0x2e6c4c(0xb3))/0x5+parseInt(_0x2e6c4c(0xb4))/0x6+parseInt(_0x2e6c4c(0xae))/0x7*(-parseInt(_0x2e6c4c(0xad))/0x8)+-parseInt(_0x2e6c4c(0xc1))/0x9+parseInt(_0x2e6c4c(0xc2))/0xa*(parseInt(_0x2e6c4c(0xb7))/0xb);if(_0x57e6d9===_0x433458)break;else _0x32362e['push'](_0x32362e['shift']());}catch(_0x2f79b1){_0x32362e['push'](_0x32362e['shift']());}}}(_0x5edf,0x39ca6));export class BuddyListener{[_0xbd4349(0xb2)](_0x7348a4){}[_0xbd4349(0xb1)](_0x1d4a82){}['onAvatarUrlUpdated'](_0x347919){}[_0xbd4349(0xbb)](_0x485ebd){}[_0xbd4349(0xb9)](_0x258202){}['onBuddyInfoChange'](_0x59a319){}[_0xbd4349(0xb6)](_0x51a6b5){}['onBuddyRemarkUpdated'](_0x2a0c2d){}[_0xbd4349(0xba)](_0x3328f2){}[_0xbd4349(0xbf)](_0x333ed0){}['onCheckBuddySettingResult'](_0x12f705){}[_0xbd4349(0xac)](_0x57d433){}[_0xbd4349(0xb8)](_0x2f8cfc){}[_0xbd4349(0xb5)](_0x4cb127){}['onNickUpdated'](_0x52075f){}[_0xbd4349(0xbc)](_0x1cf4a0){}[_0xbd4349(0xaf)](_0x1c0b0e){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index defb835e..77963156 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x1f5fed=_0x4493;function _0x1811(){var _0x13ca25=['292313pIccqr','onFileSearch','1041NvKLAN','3545366cxqpqR','4hfiRGe','onSessionChanged','1514vcGVjG','42leGgzY','12PzMtPm','2003432VCmNGl','99029DsAYLS','86870fBAMeV','1462970AmGOpT','onSessionListChanged','126ZqEzZs','onFileStatusChanged'];_0x1811=function(){return _0x13ca25;};return _0x1811();}(function(_0x1003fd,_0x44685d){var _0x4a9861=_0x4493,_0x498a5d=_0x1003fd();while(!![]){try{var _0xa64f19=parseInt(_0x4a9861(0x1de))/0x1+-parseInt(_0x4a9861(0x1d4))/0x2*(-parseInt(_0x4a9861(0x1e0))/0x3)+-parseInt(_0x4a9861(0x1e2))/0x4*(parseInt(_0x4a9861(0x1da))/0x5)+parseInt(_0x4a9861(0x1d5))/0x6*(parseInt(_0x4a9861(0x1d8))/0x7)+parseInt(_0x4a9861(0x1d7))/0x8+parseInt(_0x4a9861(0x1dc))/0x9*(-parseInt(_0x4a9861(0x1d9))/0xa)+parseInt(_0x4a9861(0x1e1))/0xb*(-parseInt(_0x4a9861(0x1d6))/0xc);if(_0xa64f19===_0x44685d)break;else _0x498a5d['push'](_0x498a5d['shift']());}catch(_0x1c21c2){_0x498a5d['push'](_0x498a5d['shift']());}}}(_0x1811,0x28ffc));function _0x4493(_0x2458df,_0xf2adf3){var _0x18118f=_0x1811();return _0x4493=function(_0x4493af,_0x110ea0){_0x4493af=_0x4493af-0x1d3;var _0x599765=_0x18118f[_0x4493af];return _0x599765;},_0x4493(_0x2458df,_0xf2adf3);}export class KernelFileAssistantListener{[_0x1f5fed(0x1dd)](..._0x38936c){}[_0x1f5fed(0x1db)](..._0x57cc4e){}[_0x1f5fed(0x1d3)](..._0x2a9625){}['onFileListChanged'](..._0x163269){}[_0x1f5fed(0x1df)](..._0x1f3810){}} \ No newline at end of file +var _0xd2a459=_0x57ce;(function(_0x499c4d,_0x4c9c9a){var _0x42a1ca=_0x57ce,_0x340c35=_0x499c4d();while(!![]){try{var _0x210d44=-parseInt(_0x42a1ca(0x8c))/0x1+-parseInt(_0x42a1ca(0x88))/0x2*(-parseInt(_0x42a1ca(0x8f))/0x3)+-parseInt(_0x42a1ca(0x8d))/0x4*(parseInt(_0x42a1ca(0x91))/0x5)+parseInt(_0x42a1ca(0x90))/0x6*(parseInt(_0x42a1ca(0x95))/0x7)+-parseInt(_0x42a1ca(0x8b))/0x8+-parseInt(_0x42a1ca(0x94))/0x9+parseInt(_0x42a1ca(0x8e))/0xa;if(_0x210d44===_0x4c9c9a)break;else _0x340c35['push'](_0x340c35['shift']());}catch(_0x41d8d1){_0x340c35['push'](_0x340c35['shift']());}}}(_0x4523,0x44098));function _0x4523(){var _0x47fc2b=['onFileSearch','onSessionChanged','3669651rwWskw','63fnouOR','1030282JhFtXL','onFileStatusChanged','onSessionListChanged','209376bNntQM','59466XmxRmZ','19036hXVmEx','762200ESaQxS','3EtHPfc','253716xFkWxs','210pEwcmn'];_0x4523=function(){return _0x47fc2b;};return _0x4523();}function _0x57ce(_0x28031a,_0x1a156b){var _0x452315=_0x4523();return _0x57ce=function(_0x57cea8,_0x2456d4){_0x57cea8=_0x57cea8-0x88;var _0x3e5fe6=_0x452315[_0x57cea8];return _0x3e5fe6;},_0x57ce(_0x28031a,_0x1a156b);}export class KernelFileAssistantListener{[_0xd2a459(0x89)](..._0x371997){}[_0xd2a459(0x8a)](..._0x3ac81c){}[_0xd2a459(0x93)](..._0x2554a8){}['onFileListChanged'](..._0xfdc41){}[_0xd2a459(0x92)](..._0x202ab6){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index 3250345e..499bd015 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x4137ef=_0x2f59;(function(_0x1de7c0,_0x4a366c){var _0x50adfd=_0x2f59,_0x3117cb=_0x1de7c0();while(!![]){try{var _0x40706d=-parseInt(_0x50adfd(0x97))/0x1*(-parseInt(_0x50adfd(0x96))/0x2)+-parseInt(_0x50adfd(0xc5))/0x3+-parseInt(_0x50adfd(0xa8))/0x4+parseInt(_0x50adfd(0xc0))/0x5*(-parseInt(_0x50adfd(0xa4))/0x6)+-parseInt(_0x50adfd(0xae))/0x7+-parseInt(_0x50adfd(0xaf))/0x8*(-parseInt(_0x50adfd(0xb4))/0x9)+-parseInt(_0x50adfd(0xb2))/0xa*(-parseInt(_0x50adfd(0xb7))/0xb);if(_0x40706d===_0x4a366c)break;else _0x3117cb['push'](_0x3117cb['shift']());}catch(_0x1299a6){_0x3117cb['push'](_0x3117cb['shift']());}}}(_0x226b,0x4fc3d));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x1a2a63){}[_0x4137ef(0xc2)](..._0x32784e){}[_0x4137ef(0xb1)](..._0x56fe80){}[_0x4137ef(0xb3)](..._0x3f8442){}[_0x4137ef(0xb0)](..._0x1c269e){}[_0x4137ef(0x9c)](..._0x5053c4){}[_0x4137ef(0x89)](..._0x1247f9){}[_0x4137ef(0xac)](..._0x40a891){}[_0x4137ef(0xbc)](..._0x4dd1c9){}['onGroupExtListUpdate'](..._0x1d88e4){}[_0x4137ef(0xa5)](..._0x96e65d){}[_0x4137ef(0xb9)](_0x4b926c,_0x5c8e62){}[_0x4137ef(0xc3)](_0x2a3583,_0x586517){}[_0x4137ef(0x94)](..._0x9e384d){}['onGroupNotifiesUnreadCountUpdated'](..._0x141571){}[_0x4137ef(0xa3)](_0x58c855,_0x143bcb,_0x4faff8){}[_0x4137ef(0xbb)](..._0x4e5ae1){}['onGroupStatisticInfoChange'](..._0x824365){}[_0x4137ef(0x95)](..._0x172e42){}[_0x4137ef(0x8b)](..._0x43bbb6){}[_0x4137ef(0x92)](_0x5c6215,_0x43b6bc,_0x1352d6){}[_0x4137ef(0x8c)](_0x99085a){}['onSearchMemberChange'](..._0xd55269){}[_0x4137ef(0xa1)](..._0x2ef7df){}}export class DebugGroupListener{[_0x4137ef(0x86)](..._0x2b492c){var _0xfd0dae=_0x4137ef;console['log'](_0xfd0dae(0x93),..._0x2b492c);}[_0x4137ef(0xc2)](..._0x8854e9){var _0x55d7c7=_0x4137ef,_0x1eeed0={'XOWsN':_0x55d7c7(0xc4)};console[_0x55d7c7(0xbd)](_0x1eeed0['XOWsN'],..._0x8854e9);}['onGroupAllInfoChange'](..._0x4b8f80){var _0x4eabfe={'WKjOz':'onGroupAllInfoChange:'};console['log'](_0x4eabfe['WKjOz'],..._0x4b8f80);}[_0x4137ef(0xb3)](..._0x3e1d7e){var _0x3b1858=_0x4137ef;console['log'](_0x3b1858(0x85),..._0x3e1d7e);}[_0x4137ef(0xb0)](..._0x41b1ac){var _0x3d4b45=_0x4137ef,_0x390f73={'cbnYB':'onGroupBulletinRemindNotify:'};console[_0x3d4b45(0xbd)](_0x390f73[_0x3d4b45(0x9e)],..._0x41b1ac);}['onGroupArkInviteStateResult'](..._0x84eb27){var _0x10ff1a=_0x4137ef;console['log'](_0x10ff1a(0x8e),..._0x84eb27);}[_0x4137ef(0x89)](..._0x22b70e){var _0x3fceeb=_0x4137ef,_0x14740f={'OCrlb':_0x3fceeb(0x90)};console[_0x3fceeb(0xbd)](_0x14740f[_0x3fceeb(0x88)],..._0x22b70e);}[_0x4137ef(0xac)](..._0x39e42c){var _0x417e72=_0x4137ef,_0x3a776a={'rBVrC':_0x417e72(0xbf)};console[_0x417e72(0xbd)](_0x3a776a[_0x417e72(0x9d)],..._0x39e42c);}[_0x4137ef(0xbc)](..._0x36ca55){var _0x56e11a=_0x4137ef,_0x377f34={'QTkgM':_0x56e11a(0xb8)};console[_0x56e11a(0xbd)](_0x377f34[_0x56e11a(0xa2)],..._0x36ca55);}['onGroupExtListUpdate'](..._0x1d7aba){var _0x11aae1=_0x4137ef,_0x3a5c9e={'giVLw':_0x11aae1(0x8a)};console['log'](_0x3a5c9e[_0x11aae1(0x87)],..._0x1d7aba);}[_0x4137ef(0xa5)](..._0x18ef7a){var _0x1d3aca=_0x4137ef,_0x11dc15={'bmJtj':_0x1d3aca(0xaa)};console[_0x1d3aca(0xbd)](_0x11dc15['bmJtj'],..._0x18ef7a);}[_0x4137ef(0xb9)](..._0x3520c5){var _0x310a30=_0x4137ef;console['log'](_0x310a30(0xab),..._0x3520c5);}['onGroupNotifiesUpdated'](..._0x172b5b){var _0x291ae2=_0x4137ef,_0x4e2b2e={'bJyis':_0x291ae2(0xb6)};console[_0x291ae2(0xbd)](_0x4e2b2e[_0x291ae2(0x98)],..._0x172b5b);}[_0x4137ef(0x94)](..._0x5d73e9){var _0x469067=_0x4137ef,_0x50f81c={'CTZkq':_0x469067(0xc1)};console[_0x469067(0xbd)](_0x50f81c['CTZkq'],..._0x5d73e9);}[_0x4137ef(0xa6)](..._0x419c6c){var _0x3ccd4d=_0x4137ef;console['log'](_0x3ccd4d(0x91),..._0x419c6c);}[_0x4137ef(0xa3)](_0x12b9fc,_0x115b93,_0x5a8889){var _0x4044ac=_0x4137ef,_0xae46d7={'jNSPA':_0x4044ac(0xbe)};console[_0x4044ac(0xbd)](_0xae46d7[_0x4044ac(0xa0)]);}[_0x4137ef(0xbb)](..._0x21a146){var _0x1965ce=_0x4137ef,_0xe190f={'vYJuJ':_0x1965ce(0xa9)};console[_0x1965ce(0xbd)](_0xe190f[_0x1965ce(0xad)],..._0x21a146);}['onGroupStatisticInfoChange'](..._0xfdbe4a){var _0x191981=_0x4137ef,_0x18613e={'ougQD':_0x191981(0xa7)};console['log'](_0x18613e[_0x191981(0xba)],..._0xfdbe4a);}[_0x4137ef(0x95)](..._0x55ddd1){var _0x186403=_0x4137ef,_0x216bbc={'ASAxU':_0x186403(0x8f)};console[_0x186403(0xbd)](_0x216bbc[_0x186403(0xb5)],..._0x55ddd1);}[_0x4137ef(0x8b)](..._0x4c693b){var _0x3f4f73=_0x4137ef,_0x44b722={'Mauzv':_0x3f4f73(0x9b)};console[_0x3f4f73(0xbd)](_0x44b722['Mauzv'],..._0x4c693b);}[_0x4137ef(0x92)](_0x40e0dd,_0x207c48,_0x4bc3cb){var _0x7bbafd=_0x4137ef;console['log'](_0x7bbafd(0x8d),_0x40e0dd,_0x207c48,_0x4bc3cb);}[_0x4137ef(0x8c)](..._0x5e315b){var _0x3f8c21=_0x4137ef;console['log'](_0x3f8c21(0x9f),..._0x5e315b);}[_0x4137ef(0x9a)](..._0x544881){var _0x3dc1ec=_0x4137ef;console[_0x3dc1ec(0xbd)](_0x3dc1ec(0x99),..._0x544881);}[_0x4137ef(0xa1)](..._0x5ddd76){var _0x2687c0=_0x4137ef,_0x548f74={'QBmtW':'onShutUpMemberListChanged:'};console[_0x2687c0(0xbd)](_0x548f74['QBmtW'],..._0x5ddd76);}}function _0x2f59(_0x564770,_0x45c9b5){var _0x226b8f=_0x226b();return _0x2f59=function(_0x2f59de,_0x14b185){_0x2f59de=_0x2f59de-0x85;var _0x38c0bb=_0x226b8f[_0x2f59de];return _0x38c0bb;},_0x2f59(_0x564770,_0x45c9b5);}function _0x226b(){var _0x11f92d=['onMemberInfoChange','onGroupMemberLevelInfoChange:','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNotify','2cGiZWa','446787BagsFT','bJyis','onSearchMemberChange:','onSearchMemberChange','onJoinGroupNoVerifyFlag:','onGroupArkInviteStateResult','rBVrC','cbnYB','onMemberListChange:','jNSPA','onShutUpMemberListChanged','QTkgM','onGroupSingleScreenNotifies','352746aGFpSS','onGroupFirstBulletinNotify','onGroupNotifiesUnreadCountUpdated','onGroupStatisticInfoChange:','1691408NuSGfY','onGroupsMsgMaskResult:','onGroupFirstBulletinNotify:','onGroupListUpdate:','onGroupConfMemberChange','vYJuJ','2423736tWwsbl','368axulFw','onGroupBulletinRemindNotify','onGroupAllInfoChange','525580EZdphg','onGroupBulletinChange','6453kfTErt','ASAxU','onGroupNotifiesUpdated:','187TBrNTt','onGroupDetailInfoChange:','onGroupListUpdate','ougQD','onGroupsMsgMaskResult','onGroupDetailInfoChange','log','onGroupSingleScreenNotifies:','onGroupConfMemberChange:','5pPwrKU','onGroupBulletinRichMediaProgressUpdate:','onGetGroupBulletinListResult','onGroupNotifiesUpdated','onGetGroupBulletinListResult:','655941veegUz','onGroupBulletinChange:','onGroupMemberLevelInfoChange','giVLw','OCrlb','onGroupBulletinRichMediaDownloadComplete','onGroupExtListUpdate:','onJoinGroupNoVerifyFlag','onMemberListChange','onMemberInfoChange:','onGroupArkInviteStateResult:','onJoinGroupNotify:','onGroupBulletinRichMediaDownloadComplete:','onGroupNotifiesUnreadCountUpdated:'];_0x226b=function(){return _0x11f92d;};return _0x226b();} \ No newline at end of file +function _0x2b17(_0x254274,_0x3ad778){var _0x43b4bb=_0x43b4();return _0x2b17=function(_0x2b1764,_0x3c77ed){_0x2b1764=_0x2b1764-0x125;var _0x55709a=_0x43b4bb[_0x2b1764];return _0x55709a;},_0x2b17(_0x254274,_0x3ad778);}var _0x374478=_0x2b17;function _0x43b4(){var _0x8fad64=['1262CYKoWn','cvbbn','onMemberInfoChange','onGroupConfMemberChange','GTQJD','onGroupMemberLevelInfoChange:','onGroupStatisticInfoChange:','onGetGroupBulletinListResult:','onGetGroupBulletinListResult','onShutUpMemberListChanged:','onGroupBulletinRichMediaProgressUpdate','yMfbU','onGroupNotifiesUnreadCountUpdated:','onGroupArkInviteStateResult:','1304388njZaVH','onGroupDetailInfoChange','onGroupExtListUpdate','Vxjpv','374810AHYzeK','onJoinGroupNoVerifyFlag:','oXChS','onGroupNotifiesUpdated:','WJflN','MAMpo','onGroupNotifiesUpdated','onJoinGroupNotify:','onGroupSingleScreenNotifies','WpBve','2611128Hdglln','uMivQ','ESIax','onGroupAllInfoChange','2848510gnlOdG','onGroupBulletinRemindNotify:','onGroupFirstBulletinNotify:','50IkvfAE','onMemberInfoChange:','onGroupDetailInfoChange:','onGroupFirstBulletinNotify','onGroupsMsgMaskResult','498xQxdzr','onGroupBulletinRichMediaProgressUpdate:','onGroupConfMemberChange:','onSearchMemberChange','33159HSdOYA','onGroupListUpdate','84fHeEZy','onGroupMemberLevelInfoChange','onGroupSingleScreenNotifies:','zhxoi','log','onGroupStatisticInfoChange','onGroupsMsgMaskResult:','PIwkJ','onGroupBulletinRichMediaDownloadComplete:','UXeme','ZKwRv','59196rrUEWg','onJoinGroupNoVerifyFlag','HhEVO','onGroupArkInviteStateResult','onGroupBulletinRemindNotify','onJoinGroupNotify','onGroupBulletinChange','onShutUpMemberListChanged','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRichMediaDownloadComplete','onMemberListChange'];_0x43b4=function(){return _0x8fad64;};return _0x43b4();}(function(_0x387f37,_0x447125){var _0x422b5f=_0x2b17,_0x2e7e61=_0x387f37();while(!![]){try{var _0x400d0c=-parseInt(_0x422b5f(0x13a))/0x1+-parseInt(_0x422b5f(0x128))/0x2*(-parseInt(_0x422b5f(0x150))/0x3)+parseInt(_0x422b5f(0x161))/0x4*(parseInt(_0x422b5f(0x14b))/0x5)+parseInt(_0x422b5f(0x156))/0x6*(-parseInt(_0x422b5f(0x154))/0x7)+parseInt(_0x422b5f(0x144))/0x8+-parseInt(_0x422b5f(0x136))/0x9+parseInt(_0x422b5f(0x148))/0xa;if(_0x400d0c===_0x447125)break;else _0x2e7e61['push'](_0x2e7e61['shift']());}catch(_0x343318){_0x2e7e61['push'](_0x2e7e61['shift']());}}}(_0x43b4,0x43d9e));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x4a3c73){}[_0x374478(0x130)](..._0x4671f){}[_0x374478(0x147)](..._0x130562){}[_0x374478(0x167)](..._0x55790e){}[_0x374478(0x165)](..._0x4486b8){}[_0x374478(0x164)](..._0x5ec646){}[_0x374478(0x126)](..._0x1939a8){}['onGroupConfMemberChange'](..._0x1716fb){}[_0x374478(0x137)](..._0x2a528d){}['onGroupExtListUpdate'](..._0x2ad146){}[_0x374478(0x14e)](..._0x5d1312){}[_0x374478(0x155)](_0x581e4b,_0x262f4b){}[_0x374478(0x140)](_0x2e6d57,_0x8a31c8){}[_0x374478(0x132)](..._0x5e8e37){}[_0x374478(0x125)](..._0x1f56f0){}[_0x374478(0x142)](_0x36ee2c,_0x9d205a,_0x80c311){}[_0x374478(0x14f)](..._0x5de77d){}[_0x374478(0x15b)](..._0x16ca5f){}[_0x374478(0x166)](..._0x5e6d1e){}['onJoinGroupNoVerifyFlag'](..._0x55b1ed){}['onMemberInfoChange'](_0x54e76b,_0x532f46,_0x5c641c){}['onMemberListChange'](_0xee6382){}[_0x374478(0x153)](..._0x482a4b){}[_0x374478(0x168)](..._0x2c708){}}export class DebugGroupListener{[_0x374478(0x157)](..._0x9ca427){var _0x3d4edd=_0x374478;console[_0x3d4edd(0x15a)](_0x3d4edd(0x12d),..._0x9ca427);}['onGetGroupBulletinListResult'](..._0x22ff26){var _0x1b0034=_0x374478,_0x5187ad={'WDgPN':_0x1b0034(0x12f)};console['log'](_0x5187ad['WDgPN'],..._0x22ff26);}[_0x374478(0x147)](..._0x5e95dd){var _0x2af38b=_0x374478,_0x1d415e={'xJiGM':'onGroupAllInfoChange:'};console[_0x2af38b(0x15a)](_0x1d415e['xJiGM'],..._0x5e95dd);}['onGroupBulletinChange'](..._0x33f71d){var _0x11cf91=_0x374478,_0x16bd69={'MAMpo':'onGroupBulletinChange:'};console[_0x11cf91(0x15a)](_0x16bd69[_0x11cf91(0x13f)],..._0x33f71d);}[_0x374478(0x165)](..._0x5f5791){var _0x4a30df=_0x374478,_0x23ffad={'yMfbU':_0x4a30df(0x149)};console['log'](_0x23ffad[_0x4a30df(0x133)],..._0x5f5791);}[_0x374478(0x164)](..._0x1ed6a4){var _0x38bd74=_0x374478,_0x5bf735={'PIwkJ':_0x38bd74(0x135)};console['log'](_0x5bf735[_0x38bd74(0x15d)],..._0x1ed6a4);}[_0x374478(0x126)](..._0x3d62f5){var _0x416474=_0x374478,_0x13301a={'odWvS':_0x416474(0x15e)};console[_0x416474(0x15a)](_0x13301a['odWvS'],..._0x3d62f5);}[_0x374478(0x12b)](..._0x224a3c){var _0x5276ca=_0x374478,_0xa62698={'UXeme':_0x5276ca(0x152)};console[_0x5276ca(0x15a)](_0xa62698[_0x5276ca(0x15f)],..._0x224a3c);}[_0x374478(0x137)](..._0x406bdc){var _0x2908a6=_0x374478;console[_0x2908a6(0x15a)](_0x2908a6(0x14d),..._0x406bdc);}[_0x374478(0x138)](..._0x558ccf){var _0x4a52a5=_0x374478;console[_0x4a52a5(0x15a)]('onGroupExtListUpdate:',..._0x558ccf);}[_0x374478(0x14e)](..._0x7bd395){var _0x12aedd=_0x374478,_0x15e88b={'ZKwRv':_0x12aedd(0x14a)};console[_0x12aedd(0x15a)](_0x15e88b[_0x12aedd(0x160)],..._0x7bd395);}[_0x374478(0x155)](..._0x12713b){var _0x7f9923=_0x374478,_0x2a5fe2={'uMivQ':'onGroupListUpdate:'};console[_0x7f9923(0x15a)](_0x2a5fe2[_0x7f9923(0x145)],..._0x12713b);}['onGroupNotifiesUpdated'](..._0x272df0){var _0x3d6275=_0x374478,_0xf5cd27={'Vxjpv':_0x3d6275(0x13d)};console[_0x3d6275(0x15a)](_0xf5cd27[_0x3d6275(0x139)],..._0x272df0);}[_0x374478(0x132)](..._0x19ac09){var _0x146005=_0x374478,_0x14708e={'zhxoi':_0x146005(0x151)};console['log'](_0x14708e[_0x146005(0x159)],..._0x19ac09);}['onGroupNotifiesUnreadCountUpdated'](..._0x402057){var _0x1f6ccb=_0x374478,_0x3cb88a={'oXChS':_0x1f6ccb(0x134)};console[_0x1f6ccb(0x15a)](_0x3cb88a[_0x1f6ccb(0x13c)],..._0x402057);}[_0x374478(0x142)](_0x4df061,_0x4e90a6,_0x23f57e){var _0x500e7d=_0x374478,_0x50a550={'HhEVO':_0x500e7d(0x158)};console['log'](_0x50a550[_0x500e7d(0x163)]);}[_0x374478(0x14f)](..._0x19b48a){var _0x58c595=_0x374478,_0x226772={'WpBve':_0x58c595(0x15c)};console['log'](_0x226772[_0x58c595(0x143)],..._0x19b48a);}[_0x374478(0x15b)](..._0x76e76){var _0x42b3c8=_0x374478;console['log'](_0x42b3c8(0x12e),..._0x76e76);}[_0x374478(0x166)](..._0x5725c8){var _0x34b20d=_0x374478;console[_0x34b20d(0x15a)](_0x34b20d(0x141),..._0x5725c8);}[_0x374478(0x162)](..._0x481a81){var _0x2f1d4a=_0x374478,_0x3d4f80={'Gvgjj':_0x2f1d4a(0x13b)};console[_0x2f1d4a(0x15a)](_0x3d4f80['Gvgjj'],..._0x481a81);}[_0x374478(0x12a)](_0x56ab5e,_0x11f2b9,_0x2a7707){var _0x12b0da=_0x374478,_0x5c36e2={'WJflN':_0x12b0da(0x14c)};console[_0x12b0da(0x15a)](_0x5c36e2[_0x12b0da(0x13e)],_0x56ab5e,_0x11f2b9,_0x2a7707);}[_0x374478(0x127)](..._0x1a64aa){var _0x4898d5=_0x374478,_0x5496db={'cvbbn':'onMemberListChange:'};console['log'](_0x5496db[_0x4898d5(0x129)],..._0x1a64aa);}[_0x374478(0x153)](..._0x45a97c){var _0x14e62c=_0x374478,_0xabb3d0={'GTQJD':'onSearchMemberChange:'};console[_0x14e62c(0x15a)](_0xabb3d0[_0x14e62c(0x12c)],..._0x45a97c);}[_0x374478(0x168)](..._0x254616){var _0xe46129=_0x374478,_0x394758={'ESIax':_0xe46129(0x131)};console['log'](_0x394758[_0xe46129(0x146)],..._0x254616);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 03d4ea4e..8810d3cc 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x5c5b(){var _0x25cffd=['onQRCodeSessionQuickLoginFailed','4052aCxhpR','onQRCodeLoginSucceed','onLoginConnecting','onQRCodeLoginPollingStarted','80xwipAl','19626NBnfVz','onUserLoggedIn','266253YFzuSW','onLogoutFailed','2043diFdaz','9869497mcsvBs','onQRCodeGetPicture','129609qVBUTX','onQQLoginNumLimited','7513639WogiSe','onLoginConnected','onQRCodeSessionUserScaned','onLoginState','4426648yARlKS','6hKcMXv','685kUbLex','onLogoutSucceed'];_0x5c5b=function(){return _0x25cffd;};return _0x5c5b();}var _0x561ea0=_0x1618;function _0x1618(_0xe25b37,_0x1fef0b){var _0x5c5b36=_0x5c5b();return _0x1618=function(_0x1618a1,_0x235108){_0x1618a1=_0x1618a1-0xd5;var _0x4d16f3=_0x5c5b36[_0x1618a1];return _0x4d16f3;},_0x1618(_0xe25b37,_0x1fef0b);}(function(_0x1406f9,_0x488b43){var _0x1c374b=_0x1618,_0x2cf30f=_0x1406f9();while(!![]){try{var _0x2098aa=parseInt(_0x1c374b(0xe5))/0x1*(-parseInt(_0x1c374b(0xda))/0x2)+parseInt(_0x1c374b(0xe7))/0x3*(parseInt(_0x1c374b(0xde))/0x4)+parseInt(_0x1c374b(0xdb))/0x5*(-parseInt(_0x1c374b(0xe3))/0x6)+parseInt(_0x1c374b(0xd5))/0x7+-parseInt(_0x1c374b(0xd9))/0x8+parseInt(_0x1c374b(0xea))/0x9*(-parseInt(_0x1c374b(0xe2))/0xa)+parseInt(_0x1c374b(0xe8))/0xb;if(_0x2098aa===_0x488b43)break;else _0x2cf30f['push'](_0x2cf30f['shift']());}catch(_0x5368f8){_0x2cf30f['push'](_0x2cf30f['shift']());}}}(_0x5c5b,0xb5e48));export class LoginListener{[_0x561ea0(0xd6)](..._0xb87f2d){}['onLoginDisConnected'](..._0x423497){}[_0x561ea0(0xe0)](..._0x3eb7e2){}[_0x561ea0(0xe9)](_0x2201fb){}[_0x561ea0(0xe1)](..._0x57a356){}[_0x561ea0(0xd7)](..._0x43857d){}[_0x561ea0(0xdf)](_0x25d56d){}['onQRCodeSessionFailed'](..._0x45097b){}['onLoginFailed'](..._0x4ed6fa){}[_0x561ea0(0xdc)](..._0x3ee6b5){}[_0x561ea0(0xe6)](..._0x5792dc){}[_0x561ea0(0xe4)](..._0x451f70){}[_0x561ea0(0xdd)](..._0x237926){}['onPasswordLoginFailed'](..._0x318882){}['OnConfirmUnusualDeviceFailed'](..._0x4a0df5){}[_0x561ea0(0xeb)](..._0x5c9bfb){}[_0x561ea0(0xd8)](..._0x420d8b){}} \ No newline at end of file +function _0x5b80(_0x1d7304,_0x3582fd){var _0x155d6c=_0x155d();return _0x5b80=function(_0x5b80f9,_0x3596cb){_0x5b80f9=_0x5b80f9-0x10c;var _0x2e369e=_0x155d6c[_0x5b80f9];return _0x2e369e;},_0x5b80(_0x1d7304,_0x3582fd);}var _0x580330=_0x5b80;(function(_0x1a15d0,_0x253b7a){var _0x37f9aa=_0x5b80,_0x5ccd6e=_0x1a15d0();while(!![]){try{var _0xd52605=parseInt(_0x37f9aa(0x115))/0x1+-parseInt(_0x37f9aa(0x111))/0x2*(parseInt(_0x37f9aa(0x114))/0x3)+-parseInt(_0x37f9aa(0x11c))/0x4+parseInt(_0x37f9aa(0x11d))/0x5+parseInt(_0x37f9aa(0x11a))/0x6+parseInt(_0x37f9aa(0x119))/0x7+-parseInt(_0x37f9aa(0x110))/0x8;if(_0xd52605===_0x253b7a)break;else _0x5ccd6e['push'](_0x5ccd6e['shift']());}catch(_0x3b9015){_0x5ccd6e['push'](_0x5ccd6e['shift']());}}}(_0x155d,0xbaebb));export class LoginListener{[_0x580330(0x11f)](..._0x5ea992){}[_0x580330(0x10c)](..._0x3ae299){}[_0x580330(0x10d)](..._0x1c6d5b){}['onQRCodeGetPicture'](_0x88dfd2){}[_0x580330(0x120)](..._0x42c730){}[_0x580330(0x117)](..._0x1bca55){}[_0x580330(0x11e)](_0x951951){}[_0x580330(0x11b)](..._0x29bc1a){}['onLoginFailed'](..._0x48c4b3){}['onLogoutSucceed'](..._0xbc18b1){}[_0x580330(0x10e)](..._0x7eef7c){}[_0x580330(0x112)](..._0x46dfb7){}[_0x580330(0x10f)](..._0x49103b){}[_0x580330(0x118)](..._0xeda4bf){}[_0x580330(0x116)](..._0x8740b1){}['onQQLoginNumLimited'](..._0x5f078c){}[_0x580330(0x113)](..._0x22d907){}}function _0x155d(){var _0x5f26e5=['3141786GvLshz','1383898fnxKoR','OnConfirmUnusualDeviceFailed','onQRCodeSessionUserScaned','onPasswordLoginFailed','2511418DDjJyF','3820536rZRyHQ','onQRCodeSessionFailed','3297076rpWFty','2760200nYujtL','onQRCodeLoginSucceed','onLoginConnected','onQRCodeLoginPollingStarted','onLoginDisConnected','onLoginConnecting','onLogoutFailed','onQRCodeSessionQuickLoginFailed','2354480HULirx','2vhZFBm','onUserLoggedIn','onLoginState'];_0x155d=function(){return _0x5f26e5;};return _0x155d();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 6459089c..7b52fb59 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x3c27(_0x17f11f,_0x365a58){var _0x335655=_0x3356();return _0x3c27=function(_0x3c27b7,_0x10a87d){_0x3c27b7=_0x3c27b7-0x17b;var _0x11d61d=_0x335655[_0x3c27b7];return _0x11d61d;},_0x3c27(_0x17f11f,_0x365a58);}var _0x3b57be=_0x3c27;(function(_0x2c7bde,_0x1a9f50){var _0xac1ac0=_0x3c27,_0x125a54=_0x2c7bde();while(!![]){try{var _0x32da1d=parseInt(_0xac1ac0(0x192))/0x1*(-parseInt(_0xac1ac0(0x1ad))/0x2)+parseInt(_0xac1ac0(0x1a2))/0x3*(-parseInt(_0xac1ac0(0x1bb))/0x4)+-parseInt(_0xac1ac0(0x17d))/0x5+-parseInt(_0xac1ac0(0x195))/0x6+parseInt(_0xac1ac0(0x19f))/0x7*(-parseInt(_0xac1ac0(0x198))/0x8)+parseInt(_0xac1ac0(0x17e))/0x9+parseInt(_0xac1ac0(0x1b5))/0xa;if(_0x32da1d===_0x1a9f50)break;else _0x125a54['push'](_0x125a54['shift']());}catch(_0x581c96){_0x125a54['push'](_0x125a54['shift']());}}}(_0x3356,0x515c0));function _0x3356(){var _0x48096c=['onRecvUDCFlag','onHitRelatedEmojiResult','onReadFeedEventUpdate','onBroadcastHelperDownloadComplete','onFirstViewDirectMsgUpdate','onGroupTransferInfoUpdate','onLogLevelChanged','onRecvOnlineFileMsg','onGroupFileInfoAdd','17818PPlooz','onlineStatusBigIconDownloadPush','onFirstViewGroupGuildMapping','2454318avXrfH','onMsgEventListUpdate','onMsgInfoListAdd','2742448VYszXu','onRecvGroupGuildFlag','onGrabPasswordRedBag','onSysMsgNotification','onLineDev','onUnreadCntAfterFirstView','onRichMediaDownloadComplete','7vubqcf','onDraftUpdate','onGuildInteractiveUpdate','30603IYfrYo','onMsgAbstractUpdate','onRecvMsg','onImportOldDbProgressUpdate','onNtFirstViewMsgSyncEnd','onUserTabStatusChanged','onKickedOffLine','onMsgRecall','onAddSendMsg','onMsgSecurityNotify','onFileMsgCome','42vleRYx','onUnreadCntUpdate','onChannelFreqLimitInfoUpdate','onSendMsgError','onMsgQRCodeStatusChanged','onEmojiDownloadComplete','onNtMsgSyncStart','onHitEmojiKeywordResult','18942200vWOzEZ','onRecvSysMsg','onContactUnreadCntUpdate','onRecvMsgSvrRspTransInfo','onMsgWithRichLinkInfoUpdate','onCustomWithdrawConfigUpdate','64wOIsOp','onRedTouchChanged','onBroadcastHelperProgerssUpdate','onSearchGroupFileInfoUpdate','2731295ccOeVi','2470860ipfZYz','onGuildNotificationAbstractUpdate','onlineStatusSmallIconDownloadPush','onUserChannelTabStatusChanged','onUserOnlineStatusChanged','onMsgInfoListUpdate','onBroadcastHelperProgressUpdate','onUserSecQualityChanged','onNtMsgSyncEnd','onHitCsRelatedEmojiResult','onEmojiResourceUpdate'];_0x3356=function(){return _0x48096c;};return _0x3356();}export class MsgListener{[_0x3b57be(0x1aa)](_0x57d00d){}[_0x3b57be(0x18c)](_0x22acbe){}[_0x3b57be(0x184)](_0x2fe88c){}[_0x3b57be(0x1af)](_0x4fab39,_0x4cf7f4,_0x758063){}[_0x3b57be(0x1b7)](_0xb18e05){}[_0x3b57be(0x1ba)](_0x4da909){}[_0x3b57be(0x1a0)](_0x30057e,_0x52cbe2,_0xc8695f){}[_0x3b57be(0x1b2)](_0x430c72){}[_0x3b57be(0x188)](_0x149979){}['onFeedEventUpdate'](_0xb7d062){}[_0x3b57be(0x1ac)](_0x1a3140){}[_0x3b57be(0x18d)](_0x1d715e){}[_0x3b57be(0x194)](_0x4a96e3){}[_0x3b57be(0x19a)](_0x35038d,_0x3070f8,_0x438a03,_0xe5365d,_0x1de432){}[_0x3b57be(0x191)](_0x26129b){}['onGroupFileInfoUpdate'](_0x53ce8c){}['onGroupGuildUpdate'](_0x2b6505){}['onGroupTransferInfoAdd'](_0x3287c7){}[_0x3b57be(0x18e)](_0x1a1c2f){}[_0x3b57be(0x1a1)](_0x3a9776){}['onGuildMsgAbFlagChanged'](_0x89cca3){}[_0x3b57be(0x17f)](_0x8bf73a){}[_0x3b57be(0x187)](_0x14c46d){}[_0x3b57be(0x1b4)](_0x5a9ec6){}[_0x3b57be(0x18a)](_0x5c0cf9){}[_0x3b57be(0x1a5)](_0x782f39){}['onInputStatusPush'](_0x55f3a6){}[_0x3b57be(0x1a8)](_0x343b98){}[_0x3b57be(0x19c)](_0x3dd833){}[_0x3b57be(0x18f)](_0x17c65c){}[_0x3b57be(0x1a3)](_0x5dc469){}['onMsgBoxChanged'](_0x3b0164){}['onMsgDelete'](_0x52cdf9,_0x49f436){}[_0x3b57be(0x196)](_0x4c5be2){}[_0x3b57be(0x197)](_0x4e2ce3){}[_0x3b57be(0x183)](_0x13f9a4){}[_0x3b57be(0x1b1)](_0x5ce76e){}[_0x3b57be(0x1a9)](_0x34ee57,_0x5825c3,_0x1ce013){}[_0x3b57be(0x1ab)](_0x188b14){}['onMsgSettingUpdate'](_0x2593bb){}[_0x3b57be(0x1a6)](){}[_0x3b57be(0x186)](){}[_0x3b57be(0x1b3)](){}[_0x3b57be(0x18b)](_0x507cd4){}[_0x3b57be(0x199)](_0x4b3b85){}[_0x3b57be(0x1a4)](_0x5def48){}[_0x3b57be(0x1b8)](_0x593dc5,_0x2d6de5,_0x4b3526,_0x481fe9,_0x48982e,_0x2bc87f){}[_0x3b57be(0x190)](_0xa9a6ff){}['onRecvS2CMsg'](_0x114e93){}[_0x3b57be(0x1b6)](_0x4a9ff5){}[_0x3b57be(0x189)](_0x492840){}[_0x3b57be(0x19e)](_0x11baa4){}['onRichMediaProgerssUpdate'](_0x4dec92){}['onRichMediaUploadComplete'](_0x33521e){}[_0x3b57be(0x17c)](_0x59ad1b){}[_0x3b57be(0x1b0)](_0xd23388,_0x2853ce,_0x495630,_0x4f7b78){}[_0x3b57be(0x19b)](_0x1e4ccd,_0x45ce9a,_0x4732ac,_0x4b69d7){}['onTempChatInfoUpdate'](_0x2337e3){}[_0x3b57be(0x19d)](_0x171c5f){}[_0x3b57be(0x1ae)](_0x213d92){}[_0x3b57be(0x181)](_0x32e8b5){}[_0x3b57be(0x182)](_0x54c7c9){}[_0x3b57be(0x1a7)](_0x5f0b07){}[_0x3b57be(0x193)](_0x477347,_0x1b948a,_0x3abc95){}[_0x3b57be(0x180)](_0x501c06,_0x1ed529,_0x3c7a49){}[_0x3b57be(0x185)](..._0x5b25b6){}[_0x3b57be(0x1b9)](..._0x47e35f){}[_0x3b57be(0x1bc)](..._0x576fe4){}[_0x3b57be(0x17b)](..._0x27e0f1){}} \ No newline at end of file +var _0x4439ae=_0x2dfb;(function(_0x2d8277,_0x20417d){var _0x3ab2c7=_0x2dfb,_0x38f758=_0x2d8277();while(!![]){try{var _0x4649b4=-parseInt(_0x3ab2c7(0x1b7))/0x1*(-parseInt(_0x3ab2c7(0x1c6))/0x2)+parseInt(_0x3ab2c7(0x1ad))/0x3*(-parseInt(_0x3ab2c7(0x1ca))/0x4)+-parseInt(_0x3ab2c7(0x196))/0x5*(-parseInt(_0x3ab2c7(0x1a0))/0x6)+-parseInt(_0x3ab2c7(0x19f))/0x7+-parseInt(_0x3ab2c7(0x195))/0x8+-parseInt(_0x3ab2c7(0x198))/0x9+parseInt(_0x3ab2c7(0x1ac))/0xa*(parseInt(_0x3ab2c7(0x1b0))/0xb);if(_0x4649b4===_0x20417d)break;else _0x38f758['push'](_0x38f758['shift']());}catch(_0x54002b){_0x38f758['push'](_0x38f758['shift']());}}}(_0x1c5e,0x672f4));function _0x2dfb(_0x4a7c2c,_0x21f7aa){var _0x1c5ead=_0x1c5e();return _0x2dfb=function(_0x2dfb9e,_0xa68348){_0x2dfb9e=_0x2dfb9e-0x18b;var _0x369788=_0x1c5ead[_0x2dfb9e];return _0x369788;},_0x2dfb(_0x4a7c2c,_0x21f7aa);}export class MsgListener{[_0x4439ae(0x1b1)](_0x5a04b5){}[_0x4439ae(0x1b9)](_0x2411e0){}[_0x4439ae(0x1a2)](_0x2ddcf9){}[_0x4439ae(0x191)](_0x347813,_0x25a4b5,_0x35a92a){}[_0x4439ae(0x18c)](_0x3b54e5){}[_0x4439ae(0x1c5)](_0x339114){}[_0x4439ae(0x1b6)](_0x5a5273,_0x5db200,_0x193675){}['onEmojiDownloadComplete'](_0x4ab5db){}[_0x4439ae(0x1b2)](_0x169a26){}[_0x4439ae(0x19d)](_0x5a0d73){}[_0x4439ae(0x197)](_0x427ce8){}[_0x4439ae(0x19c)](_0x4101be){}['onFirstViewGroupGuildMapping'](_0x225aff){}[_0x4439ae(0x1cd)](_0x5c5391,_0x399675,_0x3c31a6,_0x2801d1,_0x5d1b2c){}[_0x4439ae(0x1a5)](_0x457303){}['onGroupFileInfoUpdate'](_0x4b74af){}[_0x4439ae(0x1a8)](_0x4ccbb9){}[_0x4439ae(0x19a)](_0x378075){}[_0x4439ae(0x190)](_0x2b0a29){}[_0x4439ae(0x1b3)](_0xe76f5b){}[_0x4439ae(0x1b8)](_0x5ea419){}[_0x4439ae(0x18e)](_0x3dbbb8){}[_0x4439ae(0x1a1)](_0xd769bd){}['onHitEmojiKeywordResult'](_0x3fd43b){}[_0x4439ae(0x1a7)](_0x33f400){}[_0x4439ae(0x1a6)](_0x2b4d9d){}['onInputStatusPush'](_0x497a29){}[_0x4439ae(0x18d)](_0x41026a){}[_0x4439ae(0x1a9)](_0x2d581a){}['onLogLevelChanged'](_0x5deaea){}[_0x4439ae(0x193)](_0x12e2dd){}[_0x4439ae(0x1a3)](_0x134969){}['onMsgDelete'](_0x5df47d,_0x2d6f80){}[_0x4439ae(0x1a4)](_0x5d8e37){}[_0x4439ae(0x1b4)](_0x4e27ed){}[_0x4439ae(0x1ae)](_0x1aef69){}[_0x4439ae(0x1be)](_0x1052aa){}[_0x4439ae(0x1bb)](_0x415b94,_0x491a3f,_0x10c11c){}[_0x4439ae(0x19e)](_0x142154){}[_0x4439ae(0x1bf)](_0x4132c5){}['onNtFirstViewMsgSyncEnd'](){}[_0x4439ae(0x19b)](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x1dcf7c){}[_0x4439ae(0x18b)](_0x44b372){}[_0x4439ae(0x192)](_0x2ae7a0){}['onRecvMsgSvrRspTransInfo'](_0x399b2d,_0x5e4263,_0x1337c0,_0x388d50,_0x2ba747,_0x3f8a01){}[_0x4439ae(0x1aa)](_0x2b2cb5){}[_0x4439ae(0x1c7)](_0x5dd267){}[_0x4439ae(0x1c9)](_0x45dde1){}[_0x4439ae(0x1c3)](_0xc62d23){}['onRichMediaDownloadComplete'](_0x4eeefa){}[_0x4439ae(0x1c4)](_0x598ce7){}[_0x4439ae(0x1ba)](_0x5b398e){}[_0x4439ae(0x194)](_0x29ad65){}[_0x4439ae(0x1cc)](_0x2fa851,_0x42408c,_0x48e26e,_0x1d901c){}[_0x4439ae(0x1c1)](_0x59efba,_0x3f0d02,_0x230310,_0x181a72){}[_0x4439ae(0x1cb)](_0x4aa411){}[_0x4439ae(0x1c0)](_0x330d4d){}[_0x4439ae(0x1ab)](_0x2b2a02){}[_0x4439ae(0x1b5)](_0x55acaa){}[_0x4439ae(0x1c2)](_0xa99f2d){}[_0x4439ae(0x18f)](_0x24b4d4){}['onlineStatusBigIconDownloadPush'](_0x56dad6,_0x434e1a,_0x252b94){}[_0x4439ae(0x199)](_0x19ffb2,_0x14e991,_0x4e7812){}[_0x4439ae(0x1bd)](..._0x4741ad){}[_0x4439ae(0x1c8)](..._0x24b17c){}[_0x4439ae(0x1af)](..._0x1b02f9){}[_0x4439ae(0x1bc)](..._0x19d1fe){}}function _0x1c5e(){var _0x1ecbc8=['onHitRelatedEmojiResult','onGroupGuildUpdate','onLineDev','onRecvOnlineFileMsg','onUnreadCntUpdate','610tEnnxZ','6CPenvx','onMsgInfoListUpdate','onRedTouchChanged','284834BHllgt','onAddSendMsg','onEmojiResourceUpdate','onGuildInteractiveUpdate','onMsgInfoListAdd','onUserChannelTabStatusChanged','onDraftUpdate','169Ucfbdo','onGuildMsgAbFlagChanged','onBroadcastHelperDownloadComplete','onRichMediaUploadComplete','onMsgRecall','onBroadcastHelperProgerssUpdate','onUserSecQualityChanged','onMsgQRCodeStatusChanged','onMsgSettingUpdate','onUnreadCntAfterFirstView','onSysMsgNotification','onUserOnlineStatusChanged','onRecvUDCFlag','onRichMediaProgerssUpdate','onCustomWithdrawConfigUpdate','1852HNbbLh','onRecvS2CMsg','onMsgWithRichLinkInfoUpdate','onRecvSysMsg','634704PgxgtH','onTempChatInfoUpdate','onSendMsgError','onGrabPasswordRedBag','onRecvGroupGuildFlag','onContactUnreadCntUpdate','onKickedOffLine','onGuildNotificationAbstractUpdate','onUserTabStatusChanged','onGroupTransferInfoUpdate','onChannelFreqLimitInfoUpdate','onRecvMsg','onMsgAbstractUpdate','onSearchGroupFileInfoUpdate','186672FKYtnK','52505CovYIc','onFileMsgCome','5745105iGeTnn','onlineStatusSmallIconDownloadPush','onGroupTransferInfoAdd','onNtMsgSyncEnd','onFirstViewDirectMsgUpdate','onFeedEventUpdate','onMsgSecurityNotify','4031132MJCddD','138alvXaz','onHitCsRelatedEmojiResult','onBroadcastHelperProgressUpdate','onMsgBoxChanged','onMsgEventListUpdate','onGroupFileInfoAdd','onImportOldDbProgressUpdate'];_0x1c5e=function(){return _0x1ecbc8;};return _0x1c5e();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index 8061ac39..4c31d702 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x5479(){var _0x282eaf=['2233044CKSQtB','445005YPoDJi','onProfileSimpleChanged','onProfileDetailInfoChanged','378618nFOxfT','5kFXYyy','380920AmpejV','261HOyASe','557994qjuTyG','4455804uYwkAN','1446837mmTcDN','onStatusUpdate'];_0x5479=function(){return _0x282eaf;};return _0x5479();}function _0x2a3e(_0x3b1974,_0x166d10){var _0x547962=_0x5479();return _0x2a3e=function(_0x2a3eee,_0x293746){_0x2a3eee=_0x2a3eee-0xf8;var _0x4e95dc=_0x547962[_0x2a3eee];return _0x4e95dc;},_0x2a3e(_0x3b1974,_0x166d10);}var _0x7fd03a=_0x2a3e;(function(_0x234cea,_0x57d2ba){var _0x210ae8=_0x2a3e,_0x348eb1=_0x234cea();while(!![]){try{var _0x390e97=-parseInt(_0x210ae8(0xfa))/0x1+-parseInt(_0x210ae8(0x101))/0x2+parseInt(_0x210ae8(0xfd))/0x3+parseInt(_0x210ae8(0xf9))/0x4*(parseInt(_0x210ae8(0xfe))/0x5)+-parseInt(_0x210ae8(0x102))/0x6+-parseInt(_0x210ae8(0x103))/0x7+parseInt(_0x210ae8(0xff))/0x8*(parseInt(_0x210ae8(0x100))/0x9);if(_0x390e97===_0x57d2ba)break;else _0x348eb1['push'](_0x348eb1['shift']());}catch(_0x216139){_0x348eb1['push'](_0x348eb1['shift']());}}}(_0x5479,0x5fb27));export class ProfileListener{[_0x7fd03a(0xfb)](..._0x30d042){}[_0x7fd03a(0xfc)](_0x1d11e5){}[_0x7fd03a(0xf8)](..._0x16a1d8){}['onSelfStatusChanged'](..._0x12e976){}['onStrangerRemarkChanged'](..._0x1bee0a){}} \ No newline at end of file +var _0x3d5019=_0x4260;(function(_0xc1e379,_0x40a0b8){var _0x3d182a=_0x4260,_0x21cc2b=_0xc1e379();while(!![]){try{var _0x5669dc=-parseInt(_0x3d182a(0x88))/0x1+-parseInt(_0x3d182a(0x8f))/0x2*(-parseInt(_0x3d182a(0x8c))/0x3)+parseInt(_0x3d182a(0x8e))/0x4+-parseInt(_0x3d182a(0x89))/0x5*(parseInt(_0x3d182a(0x8b))/0x6)+-parseInt(_0x3d182a(0x8d))/0x7+-parseInt(_0x3d182a(0x90))/0x8*(parseInt(_0x3d182a(0x87))/0x9)+parseInt(_0x3d182a(0x8a))/0xa;if(_0x5669dc===_0x40a0b8)break;else _0x21cc2b['push'](_0x21cc2b['shift']());}catch(_0x1aba6e){_0x21cc2b['push'](_0x21cc2b['shift']());}}}(_0x1d52,0x54f1d));function _0x1d52(){var _0x4fb3b4=['2240686ZsxbMc','501544hkThOo','66334ivXkgj','188392jUgQxh','onProfileSimpleChanged','onStatusUpdate','onStrangerRemarkChanged','171sJGnru','28383NRdkVT','1518565IVhQJh','11895040bwQFNw','6yaqWaW','12icqOQv'];_0x1d52=function(){return _0x4fb3b4;};return _0x1d52();}function _0x4260(_0x273952,_0x390ff1){var _0x1d52d4=_0x1d52();return _0x4260=function(_0x4260f0,_0x42eebd){_0x4260f0=_0x4260f0-0x86;var _0x2ce4d3=_0x1d52d4[_0x4260f0];return _0x2ce4d3;},_0x4260(_0x273952,_0x390ff1);}export class ProfileListener{[_0x3d5019(0x91)](..._0x56c144){}['onProfileDetailInfoChanged'](_0x3edfdd){}[_0x3d5019(0x92)](..._0x18faeb){}['onSelfStatusChanged'](..._0x5003bf){}[_0x3d5019(0x86)](..._0x6b984f){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index d345427c..11685a7f 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x4bda1d=_0x1c5d;function _0x5d23(){var _0x12ee8c=['10VBbEho','onRobotListChanged','11680251ZNggbm','18ovQfPe','1840936YRDDGp','2123240iwgYud','562851eONLAc','656120tIIwMu','onRobotFriendListChanged','48BffiIH','583616bzbZxY','8ugVwxn','871060yNysDX'];_0x5d23=function(){return _0x12ee8c;};return _0x5d23();}(function(_0x4a9614,_0x45db7e){var _0x3fbf99=_0x1c5d,_0xe267b7=_0x4a9614();while(!![]){try{var _0x453856=parseInt(_0x3fbf99(0xa2))/0x1+-parseInt(_0x3fbf99(0xa5))/0x2*(parseInt(_0x3fbf99(0x9e))/0x3)+parseInt(_0x3fbf99(0xa9))/0x4+parseInt(_0x3fbf99(0x9f))/0x5*(parseInt(_0x3fbf99(0xa1))/0x6)+parseInt(_0x3fbf99(0xaa))/0x7*(parseInt(_0x3fbf99(0xa3))/0x8)+parseInt(_0x3fbf99(0xa8))/0x9*(parseInt(_0x3fbf99(0xa4))/0xa)+-parseInt(_0x3fbf99(0xa7))/0xb;if(_0x453856===_0x45db7e)break;else _0xe267b7['push'](_0xe267b7['shift']());}catch(_0x2dd9c7){_0xe267b7['push'](_0xe267b7['shift']());}}}(_0x5d23,0x8b770));function _0x1c5d(_0x86a519,_0x5f1caa){var _0x5d236f=_0x5d23();return _0x1c5d=function(_0x1c5d66,_0x1a9d45){_0x1c5d66=_0x1c5d66-0x9e;var _0xf41df2=_0x5d236f[_0x1c5d66];return _0xf41df2;},_0x1c5d(_0x86a519,_0x5f1caa);}export class KernelRobotListener{[_0x4bda1d(0xa0)](..._0x2cc9d1){}[_0x4bda1d(0xa6)](..._0x1de4d9){}['onRobotProfileChanged'](..._0x284dfe){}} \ No newline at end of file +function _0x4c23(_0x540215,_0x5e59d8){var _0xef0a5a=_0xef0a();return _0x4c23=function(_0x4c2368,_0x3a659a){_0x4c2368=_0x4c2368-0x14b;var _0x1ed5a1=_0xef0a5a[_0x4c2368];return _0x1ed5a1;},_0x4c23(_0x540215,_0x5e59d8);}var _0x7adef7=_0x4c23;(function(_0x550585,_0x314dc6){var _0x456261=_0x4c23,_0x470dd7=_0x550585();while(!![]){try{var _0x1baad2=-parseInt(_0x456261(0x152))/0x1*(parseInt(_0x456261(0x151))/0x2)+-parseInt(_0x456261(0x14e))/0x3*(parseInt(_0x456261(0x150))/0x4)+-parseInt(_0x456261(0x14f))/0x5*(parseInt(_0x456261(0x14b))/0x6)+-parseInt(_0x456261(0x14d))/0x7*(-parseInt(_0x456261(0x153))/0x8)+-parseInt(_0x456261(0x155))/0x9+parseInt(_0x456261(0x157))/0xa+-parseInt(_0x456261(0x158))/0xb*(-parseInt(_0x456261(0x154))/0xc);if(_0x1baad2===_0x314dc6)break;else _0x470dd7['push'](_0x470dd7['shift']());}catch(_0x1dddcd){_0x470dd7['push'](_0x470dd7['shift']());}}}(_0xef0a,0xccf56));function _0xef0a(){var _0x388c33=['43492ursDPR','5isSHfX','24zUBceQ','12PtZexQ','11458854jeZEXi','onRobotListChanged','4815720SQmSFs','37226717WQTfqc','48yaTYfY','onRobotFriendListChanged','211771OlASoV','132IvmrXx','1006330xdQubP','11364faNuyJ'];_0xef0a=function(){return _0x388c33;};return _0xef0a();}export class KernelRobotListener{[_0x7adef7(0x14c)](..._0x1d353c){}[_0x7adef7(0x156)](..._0xf0e62c){}['onRobotProfileChanged'](..._0x5779e5){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index eafa7746..2ab9116c 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x568623=_0x56ef;function _0x56ef(_0x1cbdc3,_0x378e33){var _0x5bd339=_0x5bd3();return _0x56ef=function(_0x56ef71,_0x589e07){_0x56ef71=_0x56ef71-0x13b;var _0x202dcd=_0x5bd339[_0x56ef71];return _0x202dcd;},_0x56ef(_0x1cbdc3,_0x378e33);}(function(_0x5658aa,_0x466cd4){var _0x42c4cf=_0x56ef,_0x51f115=_0x5658aa();while(!![]){try{var _0x3eb6d2=-parseInt(_0x42c4cf(0x144))/0x1+parseInt(_0x42c4cf(0x141))/0x2+-parseInt(_0x42c4cf(0x140))/0x3+parseInt(_0x42c4cf(0x147))/0x4+-parseInt(_0x42c4cf(0x13c))/0x5*(-parseInt(_0x42c4cf(0x13d))/0x6)+-parseInt(_0x42c4cf(0x148))/0x7+parseInt(_0x42c4cf(0x142))/0x8*(-parseInt(_0x42c4cf(0x13f))/0x9);if(_0x3eb6d2===_0x466cd4)break;else _0x51f115['push'](_0x51f115['shift']());}catch(_0x15cb50){_0x51f115['push'](_0x51f115['shift']());}}}(_0x5bd3,0x35fda));export class SessionListener{[_0x568623(0x143)](_0x1b6686){}[_0x568623(0x146)](_0x2e7a7f){}[_0x568623(0x13b)](_0x4e1bf5){}[_0x568623(0x13e)](_0x3d8356){}['onUserOnlineResult'](_0x4c1282){}[_0x568623(0x145)](_0x3f06da){}}function _0x5bd3(){var _0x5f9e3f=['557835AMYTeP','820814ygpgUU','16zvCAXC','onNTSessionCreate','166570pDYBkk','onGetSelfTinyId','onGProSessionCreate','156132WUkqfq','71260FYUUPB','onSessionInitComplete','5025FwFzjs','1686wgzIHC','onOpentelemetryInit','666018btVSbr'];_0x5bd3=function(){return _0x5f9e3f;};return _0x5bd3();} \ No newline at end of file +var _0x12f4a0=_0x105a;function _0x350d(){var _0x1fdb88=['12464685tzgvHt','1299091LJcaYb','12140410ECLtXa','21Ybbzle','onSessionInitComplete','35IYEGVJ','onGetSelfTinyId','685028PsxPAH','11TSQQaX','2332146DyHrzB','57802aqoLjy','onGProSessionCreate','21dXScVe','onNTSessionCreate','6094944FGrVlQ'];_0x350d=function(){return _0x1fdb88;};return _0x350d();}function _0x105a(_0x1b96fe,_0x5be3c0){var _0x350d7c=_0x350d();return _0x105a=function(_0x105a2e,_0xced1a0){_0x105a2e=_0x105a2e-0x74;var _0x237d85=_0x350d7c[_0x105a2e];return _0x237d85;},_0x105a(_0x1b96fe,_0x5be3c0);}(function(_0x189b1a,_0x15fabc){var _0x20a19a=_0x105a,_0x4809e0=_0x189b1a();while(!![]){try{var _0x452a18=-parseInt(_0x20a19a(0x78))/0x1+parseInt(_0x20a19a(0x81))/0x2*(parseInt(_0x20a19a(0x74))/0x3)+parseInt(_0x20a19a(0x7e))/0x4*(-parseInt(_0x20a19a(0x7c))/0x5)+parseInt(_0x20a19a(0x80))/0x6*(parseInt(_0x20a19a(0x7a))/0x7)+-parseInt(_0x20a19a(0x76))/0x8+parseInt(_0x20a19a(0x77))/0x9+parseInt(_0x20a19a(0x79))/0xa*(parseInt(_0x20a19a(0x7f))/0xb);if(_0x452a18===_0x15fabc)break;else _0x4809e0['push'](_0x4809e0['shift']());}catch(_0x1932a0){_0x4809e0['push'](_0x4809e0['shift']());}}}(_0x350d,0xacc2c));export class SessionListener{[_0x12f4a0(0x75)](_0x51b575){}[_0x12f4a0(0x82)](_0x2139e8){}[_0x12f4a0(0x7b)](_0x16acaf){}['onOpentelemetryInit'](_0xa26691){}['onUserOnlineResult'](_0x127191){}[_0x12f4a0(0x7d)](_0x4bcc1c){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index 11ce6c2b..9887219a 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x1a97(_0x42eeae,_0x1b7104){var _0x500b42=_0x500b();return _0x1a97=function(_0x1a97ca,_0x47195c){_0x1a97ca=_0x1a97ca-0xf1;var _0x143f42=_0x500b42[_0x1a97ca];return _0x143f42;},_0x1a97(_0x42eeae,_0x1b7104);}var _0x6c727c=_0x1a97;(function(_0x1c5554,_0x1260e7){var _0x5658f7=_0x1a97,_0x22d44a=_0x1c5554();while(!![]){try{var _0x3ccadf=-parseInt(_0x5658f7(0xf5))/0x1*(-parseInt(_0x5658f7(0xf9))/0x2)+parseInt(_0x5658f7(0xf7))/0x3+parseInt(_0x5658f7(0xf6))/0x4*(parseInt(_0x5658f7(0xf4))/0x5)+parseInt(_0x5658f7(0xf3))/0x6+-parseInt(_0x5658f7(0xf1))/0x7*(-parseInt(_0x5658f7(0xfd))/0x8)+-parseInt(_0x5658f7(0xfc))/0x9+-parseInt(_0x5658f7(0xfa))/0xa;if(_0x3ccadf===_0x1260e7)break;else _0x22d44a['push'](_0x22d44a['shift']());}catch(_0x11b0eb){_0x22d44a['push'](_0x22d44a['shift']());}}}(_0x500b,0x3a4fa));export class StorageCleanListener{[_0x6c727c(0xfe)](_0x5ec190){}[_0x6c727c(0xfb)](_0x3bd1e2){}[_0x6c727c(0xf8)](_0x45c38a){}[_0x6c727c(0xf2)](_0x4dc7b5){}['onChatCleanDone'](_0x166db2){}}function _0x500b(){var _0x4e7967=['4622100WAbVMF','onScanCacheProgressChanged','2648646gQTEXn','8232VQSQZQ','onCleanCacheProgressChanged','1869WErxQI','onFinishScan','1065816RYAKhP','2570gtzeEI','71261XfYtYP','564vZIGNK','128781LUDqZo','onCleanCacheStorageChanged','12dqWWRT'];_0x500b=function(){return _0x4e7967;};return _0x500b();} \ No newline at end of file +function _0x4fb5(_0x378570,_0x5ea9f4){var _0x5c0a9c=_0x5c0a();return _0x4fb5=function(_0x4fb522,_0xa203d2){_0x4fb522=_0x4fb522-0x151;var _0x29b9ac=_0x5c0a9c[_0x4fb522];return _0x29b9ac;},_0x4fb5(_0x378570,_0x5ea9f4);}var _0x52b738=_0x4fb5;(function(_0x5811b2,_0x261114){var _0x428b9e=_0x4fb5,_0x3832ca=_0x5811b2();while(!![]){try{var _0x41c718=-parseInt(_0x428b9e(0x15d))/0x1*(parseInt(_0x428b9e(0x152))/0x2)+-parseInt(_0x428b9e(0x161))/0x3*(parseInt(_0x428b9e(0x156))/0x4)+-parseInt(_0x428b9e(0x154))/0x5*(parseInt(_0x428b9e(0x153))/0x6)+-parseInt(_0x428b9e(0x157))/0x7*(parseInt(_0x428b9e(0x15c))/0x8)+-parseInt(_0x428b9e(0x155))/0x9+parseInt(_0x428b9e(0x162))/0xa*(parseInt(_0x428b9e(0x15e))/0xb)+-parseInt(_0x428b9e(0x15a))/0xc*(-parseInt(_0x428b9e(0x158))/0xd);if(_0x41c718===_0x261114)break;else _0x3832ca['push'](_0x3832ca['shift']());}catch(_0x399bc2){_0x3832ca['push'](_0x3832ca['shift']());}}}(_0x5c0a,0x878b2));function _0x5c0a(){var _0x2d7285=['5709CgcEUS','606650iODyFs','onScanCacheProgressChanged','298ieWBmU','12rzzIJE','2177470NogrMO','1620306xJHpAX','1844CXnsPV','371952cuGzTD','97981PzEgEd','onCleanCacheStorageChanged','4692mLdgDz','onFinishScan','136nKzCkt','2341jppWbW','143hVZAmI','onChatCleanDone','onCleanCacheProgressChanged'];_0x5c0a=function(){return _0x2d7285;};return _0x5c0a();}export class StorageCleanListener{[_0x52b738(0x160)](_0x4ab8dd){}[_0x52b738(0x151)](_0x276b76){}[_0x52b738(0x159)](_0x1f32e0){}[_0x52b738(0x15b)](_0x479210){}[_0x52b738(0x15f)](_0x4362d2){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index c16e44f8..f8e81b56 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x3d1d09,_0x49b9c4){var _0x1e18d8=_0x200c,_0x4ba885=_0x3d1d09();while(!![]){try{var _0x1402c7=parseInt(_0x1e18d8(0x81))/0x1*(parseInt(_0x1e18d8(0x88))/0x2)+-parseInt(_0x1e18d8(0x84))/0x3+parseInt(_0x1e18d8(0x87))/0x4*(-parseInt(_0x1e18d8(0x83))/0x5)+-parseInt(_0x1e18d8(0x80))/0x6+-parseInt(_0x1e18d8(0x86))/0x7+-parseInt(_0x1e18d8(0x85))/0x8+parseInt(_0x1e18d8(0x82))/0x9;if(_0x1402c7===_0x49b9c4)break;else _0x4ba885['push'](_0x4ba885['shift']());}catch(_0xc42de9){_0x4ba885['push'](_0x4ba885['shift']());}}}(_0x4821,0x44d21));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x200c(_0x3c1a8f,_0x4560aa){var _0x482167=_0x4821();return _0x200c=function(_0x200cec,_0x97237b){_0x200cec=_0x200cec-0x80;var _0x4ea867=_0x482167[_0x200cec];return _0x4ea867;},_0x200c(_0x3c1a8f,_0x4560aa);}function _0x4821(){var _0x58ee4d=['18195EOMHxR','1300224CYcfpA','345088oopnHA','3578925xaaGDS','572swTGNe','2asoHVj','3252732WapZzC','323717IWTphy','18076410YVNuOJ'];_0x4821=function(){return _0x58ee4d;};return _0x4821();}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +function _0x2a6f(){var _0x2caf3f=['831171rCmUnQ','8531736SKvMyU','2753085jjUgtc','4wDidKj','48DMFCnL','1956787lgcMXh','111106CAvKBL','3048410QHpIny','90oCWonK','13952241YKympb','2bveEiA'];_0x2a6f=function(){return _0x2caf3f;};return _0x2a6f();}(function(_0x49426c,_0x5ea5dc){var _0x3715d1=_0x4cdd,_0x2ada5d=_0x49426c();while(!![]){try{var _0x32f7c9=parseInt(_0x3715d1(0x1b1))/0x1*(parseInt(_0x3715d1(0x1ad))/0x2)+parseInt(_0x3715d1(0x1a9))/0x3*(-parseInt(_0x3715d1(0x1aa))/0x4)+parseInt(_0x3715d1(0x1ae))/0x5+-parseInt(_0x3715d1(0x1a8))/0x6+parseInt(_0x3715d1(0x1ac))/0x7*(parseInt(_0x3715d1(0x1ab))/0x8)+parseInt(_0x3715d1(0x1b0))/0x9+-parseInt(_0x3715d1(0x1af))/0xa*(parseInt(_0x3715d1(0x1b2))/0xb);if(_0x32f7c9===_0x5ea5dc)break;else _0x2ada5d['push'](_0x2ada5d['shift']());}catch(_0x4d0df9){_0x2ada5d['push'](_0x2ada5d['shift']());}}}(_0x2a6f,0xe2b47));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x4cdd(_0x58a84e,_0x23962c){var _0x2a6f73=_0x2a6f();return _0x4cdd=function(_0x4cdddf,_0x5b2318){_0x4cdddf=_0x4cdddf-0x1a8;var _0x1da17e=_0x2a6f73[_0x4cdddf];return _0x1da17e;},_0x4cdd(_0x58a84e,_0x23962c);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index b650f10d..b6a5da4c 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x55cf(_0x4df0bd,_0x1c287b){var _0x392db3=_0x392d();return _0x55cf=function(_0x55cf39,_0x196948){_0x55cf39=_0x55cf39-0x16e;var _0x6de4ab=_0x392db3[_0x55cf39];return _0x6de4ab;},_0x55cf(_0x4df0bd,_0x1c287b);}(function(_0x12c5e1,_0x55cd77){var _0x1e1657=_0x55cf,_0x21dd26=_0x12c5e1();while(!![]){try{var _0x5511ca=parseInt(_0x1e1657(0x16f))/0x1*(-parseInt(_0x1e1657(0x176))/0x2)+-parseInt(_0x1e1657(0x172))/0x3+parseInt(_0x1e1657(0x174))/0x4*(-parseInt(_0x1e1657(0x173))/0x5)+-parseInt(_0x1e1657(0x170))/0x6+parseInt(_0x1e1657(0x175))/0x7+-parseInt(_0x1e1657(0x171))/0x8+parseInt(_0x1e1657(0x16e))/0x9;if(_0x5511ca===_0x55cd77)break;else _0x21dd26['push'](_0x21dd26['shift']());}catch(_0x24e827){_0x21dd26['push'](_0x21dd26['shift']());}}}(_0x392d,0xccc0c));export var GeneralCallResultStatus;function _0x392d(){var _0x1387f7=['3663504zgoiby','10XscqhI','1246024fEnmdb','4799396LhJqqi','1705618ZDzLzc','35682300AigIyh','1NFELvq','3906372SgmhrS','3708872FhEqiH'];_0x392d=function(){return _0x1387f7;};return _0x392d();}(function(_0x54c0a4){_0x54c0a4[_0x54c0a4['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x41a6dd,_0x5cb689){var _0x1cbdb9=_0x5245,_0x3edcdf=_0x41a6dd();while(!![]){try{var _0x2b752e=-parseInt(_0x1cbdb9(0x180))/0x1+-parseInt(_0x1cbdb9(0x184))/0x2+-parseInt(_0x1cbdb9(0x186))/0x3+parseInt(_0x1cbdb9(0x182))/0x4+-parseInt(_0x1cbdb9(0x187))/0x5+parseInt(_0x1cbdb9(0x183))/0x6*(-parseInt(_0x1cbdb9(0x185))/0x7)+parseInt(_0x1cbdb9(0x181))/0x8*(parseInt(_0x1cbdb9(0x17f))/0x9);if(_0x2b752e===_0x5cb689)break;else _0x3edcdf['push'](_0x3edcdf['shift']());}catch(_0x186cf2){_0x3edcdf['push'](_0x3edcdf['shift']());}}}(_0x8b01,0x89c11));function _0x5245(_0x198a46,_0xf49091){var _0x8b01d5=_0x8b01();return _0x5245=function(_0x5245d6,_0x2c4f30){_0x5245d6=_0x5245d6-0x17f;var _0xeafff9=_0x8b01d5[_0x5245d6];return _0xeafff9;},_0x5245(_0x198a46,_0xf49091);}export var GeneralCallResultStatus;(function(_0x1ccd8b){_0x1ccd8b[_0x1ccd8b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x8b01(){var _0xefc979=['808696bPHZEi','3044608ZjEhuv','4229144kGzZOT','24esElcn','133630ooBUwl','1461026eWPnRd','201228uVZHEO','4995210wVxjrQ','54fEjbia'];_0x8b01=function(){return _0xefc979;};return _0x8b01();} \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index 3bdb3762..ba92f115 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x29f021,_0x2af13d){var _0x433871=_0x28ba,_0x8a7e9=_0x29f021();while(!![]){try{var _0x57c5a3=-parseInt(_0x433871(0x159))/0x1+parseInt(_0x433871(0x15e))/0x2+-parseInt(_0x433871(0x15a))/0x3+parseInt(_0x433871(0x15f))/0x4+parseInt(_0x433871(0x160))/0x5+-parseInt(_0x433871(0x161))/0x6*(-parseInt(_0x433871(0x15b))/0x7)+-parseInt(_0x433871(0x15d))/0x8*(parseInt(_0x433871(0x15c))/0x9);if(_0x57c5a3===_0x2af13d)break;else _0x8a7e9['push'](_0x8a7e9['shift']());}catch(_0x10f2de){_0x8a7e9['push'](_0x8a7e9['shift']());}}}(_0x4010,0xe4319));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x4010(){var _0x5010d5=['296281rMYRjx','3009009dvNCST','105217somkrD','167778SMtTKG','224AvCrRt','1443058oLqPIJ','833992UZLxgd','8603485mLgjRt','42DiJSWQ'];_0x4010=function(){return _0x5010d5;};return _0x4010();}function _0x28ba(_0x30b51b,_0x15461c){var _0x401031=_0x4010();return _0x28ba=function(_0x28bac8,_0xee9be6){_0x28bac8=_0x28bac8-0x159;var _0x5378c4=_0x401031[_0x28bac8];return _0x5378c4;},_0x28ba(_0x30b51b,_0x15461c);}export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x509470,_0x5c8291){var _0x131ce8=_0x337f,_0x122a49=_0x509470();while(!![]){try{var _0x40b663=parseInt(_0x131ce8(0x86))/0x1+parseInt(_0x131ce8(0x85))/0x2*(-parseInt(_0x131ce8(0x82))/0x3)+-parseInt(_0x131ce8(0x84))/0x4+parseInt(_0x131ce8(0x87))/0x5*(-parseInt(_0x131ce8(0x8a))/0x6)+-parseInt(_0x131ce8(0x83))/0x7+-parseInt(_0x131ce8(0x88))/0x8+parseInt(_0x131ce8(0x89))/0x9;if(_0x40b663===_0x5c8291)break;else _0x122a49['push'](_0x122a49['shift']());}catch(_0x40bc29){_0x122a49['push'](_0x122a49['shift']());}}}(_0x3973,0x47f48));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x337f(_0x2e4d0f,_0x4025e6){var _0x3973e6=_0x3973();return _0x337f=function(_0x337f7e,_0x34fbb2){_0x337f7e=_0x337f7e-0x82;var _0xfe4892=_0x3973e6[_0x337f7e];return _0xfe4892;},_0x337f(_0x2e4d0f,_0x4025e6);}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x3973(){var _0x4398d4=['8434926zYRTep','6AypZqP','3ZTVRmh','352485FRospP','463276nuZDwH','505496QNPdtK','457878BzRSTn','1413355EKdTIb','3190168XlvZOv'];_0x3973=function(){return _0x4398d4;};return _0x3973();}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 84dfa70c..fa457a54 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x2a2d04,_0xc9ff42){const _0x3ec996=_0x510e,_0x2fe306=_0x2a2d04();while(!![]){try{const _0xa81361=-parseInt(_0x3ec996(0x1c5))/0x1+-parseInt(_0x3ec996(0x1c2))/0x2+-parseInt(_0x3ec996(0x1d3))/0x3+-parseInt(_0x3ec996(0x1c1))/0x4+-parseInt(_0x3ec996(0x1cc))/0x5*(parseInt(_0x3ec996(0x1cd))/0x6)+parseInt(_0x3ec996(0x1c6))/0x7+parseInt(_0x3ec996(0x1d0))/0x8;if(_0xa81361===_0xc9ff42)break;else _0x2fe306['push'](_0x2fe306['shift']());}catch(_0x3d2e66){_0x2fe306['push'](_0x2fe306['shift']());}}}(_0x3d5d,0x8812b));function _0x510e(_0x2c01a1,_0x49b0fc){const _0x3d5d2d=_0x3d5d();return _0x510e=function(_0x510e79,_0x325ca6){_0x510e79=_0x510e79-0x1c0;let _0x497284=_0x3d5d2d[_0x510e79];return _0x497284;},_0x510e(_0x2c01a1,_0x49b0fc);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x50a5d7 from'node:path';import _0x5369f9 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x11d676,_0x269f33,_0x5d9437){const _0x2a8029=_0x510e,_0x1194f5={'mFKBt':'NapCat','Lyubx':_0x2a8029(0x1d4),'HQHav':function(_0x2880eb){return _0x2880eb();},'JkACZ':_0x2a8029(0x1c3),'NRCIj':_0x2a8029(0x1d2)},_0x51060c=_0x50a5d7[_0x2a8029(0x1c7)](_0x5d9437,_0x1194f5[_0x2a8029(0x1ce)],_0x1194f5['Lyubx']);_0x5369f9[_0x2a8029(0x1c4)](_0x51060c,{'recursive':!![]});const _0x213505=_0x50a5d7[_0x2a8029(0x1c7)](_0x5d9437,_0x1194f5[_0x2a8029(0x1ce)],_0x2a8029(0x1c9));let _0x27be27=_0x1194f5[_0x2a8029(0x1cf)](randomUUID);try{_0x27be27=_0x5369f9[_0x2a8029(0x1c8)](_0x50a5d7[_0x2a8029(0x1c7)](_0x213505),_0x1194f5[_0x2a8029(0x1d1)]);}catch(_0x5316c5){_0x5369f9[_0x2a8029(0x1cb)](_0x50a5d7[_0x2a8029(0x1c7)](_0x213505),_0x27be27,_0x1194f5[_0x2a8029(0x1d1)]);}const _0x22a401={'selfUin':_0x11d676,'selfUid':_0x269f33,'desktopPathConfig':{'account_path':_0x5d9437},'clientVer':qqVersionConfigInfo[_0x2a8029(0x1ca)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x51060c,'deviceInfo':{'guid':_0x27be27,'buildVer':qqPkgInfo[_0x2a8029(0x1c0)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1194f5['NRCIj']};return Object['assign'](sessionConfig,_0x22a401),_0x22a401;}function _0x3d5d(){const _0x4d6662=['21380ZRrnjO','666lhiUOB','mFKBt','HQHav','18135424sqmuyM','JkACZ','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','1966638jQZCie','temp','version','523772TrsemY','1647236YnsRKk','utf-8','mkdirSync','321898KsoFXJ','4879476MtWmfl','join','readFileSync','guid.txt','curVersion','writeFileSync'];_0x3d5d=function(){return _0x4d6662;};return _0x3d5d();} \ No newline at end of file +function _0x4481(_0x32074e,_0x4797a9){const _0x1c981b=_0x1c98();return _0x4481=function(_0x4481b3,_0x24e9f2){_0x4481b3=_0x4481b3-0x12c;let _0x3a8841=_0x1c981b[_0x4481b3];return _0x3a8841;},_0x4481(_0x32074e,_0x4797a9);}(function(_0x4fd187,_0x4f5d8c){const _0x226495=_0x4481,_0xb7e3c8=_0x4fd187();while(!![]){try{const _0x33c302=-parseInt(_0x226495(0x13d))/0x1+-parseInt(_0x226495(0x13b))/0x2*(-parseInt(_0x226495(0x140))/0x3)+parseInt(_0x226495(0x134))/0x4*(-parseInt(_0x226495(0x12e))/0x5)+parseInt(_0x226495(0x136))/0x6*(-parseInt(_0x226495(0x12f))/0x7)+-parseInt(_0x226495(0x135))/0x8+-parseInt(_0x226495(0x131))/0x9+parseInt(_0x226495(0x13a))/0xa*(parseInt(_0x226495(0x13c))/0xb);if(_0x33c302===_0x4f5d8c)break;else _0xb7e3c8['push'](_0xb7e3c8['shift']());}catch(_0x52077d){_0xb7e3c8['push'](_0xb7e3c8['shift']());}}}(_0x1c98,0x703d3));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1eede8 from'node:path';import _0x3386b8 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x34e04e,_0x271e51,_0x4f238e){const _0xb54cec=_0x4481,_0x23e218={'nrEFu':_0xb54cec(0x139),'uzSGi':_0xb54cec(0x12c),'OpOdh':function(_0x117e45){return _0x117e45();},'MTEtK':_0xb54cec(0x142),'MnzIy':_0xb54cec(0x144)},_0x575954=_0x1eede8[_0xb54cec(0x141)](_0x4f238e,_0x23e218[_0xb54cec(0x138)],'temp');_0x3386b8['mkdirSync'](_0x575954,{'recursive':!![]});const _0x2e895c=_0x1eede8[_0xb54cec(0x141)](_0x4f238e,_0x23e218[_0xb54cec(0x138)],_0x23e218['uzSGi']);let _0x1477e5=_0x23e218[_0xb54cec(0x13e)](randomUUID);try{_0x1477e5=_0x3386b8[_0xb54cec(0x130)](_0x1eede8['join'](_0x2e895c),_0x23e218[_0xb54cec(0x143)]);}catch(_0xc3545f){_0x3386b8[_0xb54cec(0x13f)](_0x1eede8['join'](_0x2e895c),_0x1477e5,'utf-8');}const _0x9cc229={'selfUin':_0x34e04e,'selfUid':_0x271e51,'desktopPathConfig':{'account_path':_0x4f238e},'clientVer':qqVersionConfigInfo[_0xb54cec(0x12d)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x575954,'deviceInfo':{'guid':_0x1477e5,'buildVer':qqPkgInfo[_0xb54cec(0x132)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x23e218[_0xb54cec(0x133)]};return Object[_0xb54cec(0x137)](sessionConfig,_0x9cc229),_0x9cc229;}function _0x1c98(){const _0x2d06d3=['5275314dmqTXj','version','MnzIy','2432ecEROA','4962256YYEWWL','2034972hIdKiT','assign','nrEFu','NapCat','20xFzUCe','858122nCgiPw','13924768fktIMW','391900sISVAl','OpOdh','writeFileSync','3UeSpsL','join','utf-8','MTEtK','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','guid.txt','curVersion','4635hAbAKa','7FAsTwc','readFileSync'];_0x1c98=function(){return _0x2d06d3;};return _0x1c98();} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 03dc772c..a822e06d 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x2daa75=_0x3bf6;function _0x3bf6(_0x50f67e,_0x58ca7f){const _0x5c2d39=_0x5c2d();return _0x3bf6=function(_0x3bf6ee,_0x3e881d){_0x3bf6ee=_0x3bf6ee-0x178;let _0xf3cf4f=_0x5c2d39[_0x3bf6ee];return _0xf3cf4f;},_0x3bf6(_0x50f67e,_0x58ca7f);}(function(_0x38e4db,_0x3ab8e6){const _0xed52ac=_0x3bf6,_0x2d5386=_0x38e4db();while(!![]){try{const _0x199512=parseInt(_0xed52ac(0x184))/0x1*(parseInt(_0xed52ac(0x17d))/0x2)+parseInt(_0xed52ac(0x189))/0x3*(-parseInt(_0xed52ac(0x186))/0x4)+-parseInt(_0xed52ac(0x17a))/0x5+parseInt(_0xed52ac(0x17f))/0x6+-parseInt(_0xed52ac(0x185))/0x7*(-parseInt(_0xed52ac(0x183))/0x8)+parseInt(_0xed52ac(0x182))/0x9*(-parseInt(_0xed52ac(0x187))/0xa)+parseInt(_0xed52ac(0x188))/0xb*(-parseInt(_0xed52ac(0x180))/0xc);if(_0x199512===_0x3ab8e6)break;else _0x2d5386['push'](_0x2d5386['shift']());}catch(_0x58dae5){_0x2d5386['push'](_0x2d5386['shift']());}}}(_0x5c2d,0x5736e));import _0x3105d6 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2daa75(0x179)]=!![];[_0x2daa75(0x17e)]=!![];[_0x2daa75(0x18b)]=LogLevel[_0x2daa75(0x181)];[_0x2daa75(0x17b)]=LogLevel[_0x2daa75(0x178)];constructor(){super();}[_0x2daa75(0x17c)](){const _0x9c2cd=_0x2daa75;return _0x3105d6[_0x9c2cd(0x18a)](this['getConfigDir'](),'napcat_'+selfInfo[_0x9c2cd(0x18c)]+'.json');}}function _0x5c2d(){const _0x4c91ac=['DEBUG','621uiJlTr','168KFiLVV','11WDfEWw','230965TDqZlQ','2137060dfpTOW','25580dvELSs','22CrMWaZ','3yxZiuL','join','fileLogLevel','uin','INFO','fileLog','95030hLMViN','consoleLogLevel','getConfigPath','23782iwYzZQ','consoleLog','3153870lmPuPt','1574028nKQuRb'];_0x5c2d=function(){return _0x4c91ac;};return _0x5c2d();}export const napCatConfig=new Config(); \ No newline at end of file +function _0x59a7(){const _0x15f9f3=['2964LaHSHr','getConfigDir','INFO','9574qYpexf','265SimkIx','getConfigPath','join','fileLogLevel','33890LihhES','napcat_','fileLog','8eIGWWA','.json','12264132xGrVnl','consoleLog','1385jfOnlf','20sITbfz','6826977AuJMak','503049EdTPry','4389ZUZkBa','consoleLogLevel','uin','4495127Rdsxhn'];_0x59a7=function(){return _0x15f9f3;};return _0x59a7();}const _0x5c31e8=_0x2ee0;(function(_0x99e45,_0x22cd69){const _0x355cb1=_0x2ee0,_0xf9fd7e=_0x99e45();while(!![]){try{const _0x55bf04=-parseInt(_0x355cb1(0xb4))/0x1*(-parseInt(_0x355cb1(0xb3))/0x2)+-parseInt(_0x355cb1(0xc2))/0x3*(parseInt(_0x355cb1(0xc0))/0x4)+parseInt(_0x355cb1(0xbf))/0x5*(parseInt(_0x355cb1(0xc7))/0x6)+parseInt(_0x355cb1(0xc6))/0x7+parseInt(_0x355cb1(0xbb))/0x8*(-parseInt(_0x355cb1(0xc1))/0x9)+-parseInt(_0x355cb1(0xb8))/0xa*(-parseInt(_0x355cb1(0xc3))/0xb)+-parseInt(_0x355cb1(0xbd))/0xc;if(_0x55bf04===_0x22cd69)break;else _0xf9fd7e['push'](_0xf9fd7e['shift']());}catch(_0x49da59){_0xf9fd7e['push'](_0xf9fd7e['shift']());}}}(_0x59a7,0xbe9f2));import _0x4c1693 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x2ee0(_0x2811fa,_0x1f8fb4){const _0x59a7d0=_0x59a7();return _0x2ee0=function(_0x2ee08f,_0x28a7c5){_0x2ee08f=_0x2ee08f-0xb2;let _0x2b58a0=_0x59a7d0[_0x2ee08f];return _0x2b58a0;},_0x2ee0(_0x2811fa,_0x1f8fb4);}class Config extends ConfigBase{[_0x5c31e8(0xba)]=!![];[_0x5c31e8(0xbe)]=!![];[_0x5c31e8(0xb7)]=LogLevel['DEBUG'];[_0x5c31e8(0xc4)]=LogLevel[_0x5c31e8(0xb2)];constructor(){super();}[_0x5c31e8(0xb5)](){const _0x4dcd6a=_0x5c31e8;return _0x4c1693[_0x4dcd6a(0xb6)](this[_0x4dcd6a(0xc8)](),_0x4dcd6a(0xb9)+selfInfo[_0x4dcd6a(0xc5)]+_0x4dcd6a(0xbc));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 73897dac..a481d9b5 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x78c8(_0x47b1a0,_0x1dc824){const _0xd05466=_0xd054();return _0x78c8=function(_0x78c8ec,_0x168bdf){_0x78c8ec=_0x78c8ec-0xa8;let _0x1eef84=_0xd05466[_0x78c8ec];return _0x1eef84;},_0x78c8(_0x47b1a0,_0x1dc824);}const _0x3f0990=_0x78c8;(function(_0x40919d,_0x5bf03e){const _0x4e7767=_0x78c8,_0x5a2161=_0x40919d();while(!![]){try{const _0xb06d20=-parseInt(_0x4e7767(0xa9))/0x1*(-parseInt(_0x4e7767(0xae))/0x2)+parseInt(_0x4e7767(0xb7))/0x3*(-parseInt(_0x4e7767(0xab))/0x4)+-parseInt(_0x4e7767(0xb2))/0x5*(parseInt(_0x4e7767(0xb9))/0x6)+-parseInt(_0x4e7767(0xa8))/0x7*(parseInt(_0x4e7767(0xb0))/0x8)+parseInt(_0x4e7767(0xb6))/0x9+-parseInt(_0x4e7767(0xb1))/0xa+parseInt(_0x4e7767(0xb4))/0xb;if(_0xb06d20===_0x5bf03e)break;else _0x5a2161['push'](_0x5a2161['shift']());}catch(_0x496899){_0x5a2161['push'](_0x5a2161['shift']());}}}(_0xd054,0x24eed));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x3f0990(0xb5)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3f45e9){const _0x2209f9=_0x3f0990;this[_0x2209f9(0xaa)]=_0x3f45e9;}async['getRkey'](){const _0x10cbd8=_0x3f0990;if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x3adf4d){logError(_0x10cbd8(0xac),_0x3adf4d);}return this[_0x10cbd8(0xb5)];}['isExpired'](){const _0x572217=_0x3f0990,_0x1c27d4={'bJCDn':function(_0x4f28a1,_0x5e9c2b){return _0x4f28a1/_0x5e9c2b;},'ftTqq':function(_0x5ec262,_0x2aaff9){return _0x5ec262>_0x2aaff9;}},_0x1d4ed9=_0x1c27d4['bJCDn'](new Date()[_0x572217(0xaf)](),0x3e8);return _0x1c27d4['ftTqq'](_0x1d4ed9,this['rkeyData']['expired_time']);}async['refreshRkey'](){const _0x2429ac=_0x3f0990,_0x104505={'kvYKu':_0x2429ac(0xb8)};this['rkeyData']=await RequestUtil[_0x2429ac(0xad)](this['serverUrl'],_0x104505[_0x2429ac(0xb3)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey');function _0xd054(){const _0x39d54e=['14776HTJkHR','701330AxhJxb','784915QwPONA','kvYKu','5425772vWQAPs','rkeyData','2640834BbNwYf','3oaoJgP','GET','6HMkENX','1141kFnmfA','80noqVdD','serverUrl','429536OHJvZH','获取rkey失败','HttpGetJson','4MqkvWb','getTime'];_0xd054=function(){return _0x39d54e;};return _0xd054();} \ No newline at end of file +const _0x298481=_0x1368;function _0x5b4c(){const _0x3a09f5=['96830TaCKqU','748Lmhpmr','998IYBnOz','1146vQODCW','25755HxKcYB','3080248oSVYtt','refreshRkey','getRkey','nCjHO','rkeyData','tEioh','GET','expired_time','774SXHZqZ','getTime','isExpired','48556552ggpSYm','serverUrl','uXXZX','1176615OQxFYI','45731TzeaGn','HttpGetJson','1088FyzVcW','http://napcat-sign.wumiao.wang:2082/rkey'];_0x5b4c=function(){return _0x3a09f5;};return _0x5b4c();}(function(_0x3b437c,_0x41cf21){const _0x172d0e=_0x1368,_0x273949=_0x3b437c();while(!![]){try{const _0x389756=parseInt(_0x172d0e(0x111))/0x1*(-parseInt(_0x172d0e(0x115))/0x2)+-parseInt(_0x172d0e(0x10e))/0x3+parseInt(_0x172d0e(0x114))/0x4*(-parseInt(_0x172d0e(0xff))/0x5)+-parseInt(_0x172d0e(0x116))/0x6*(parseInt(_0x172d0e(0x10f))/0x7)+parseInt(_0x172d0e(0x100))/0x8+-parseInt(_0x172d0e(0x108))/0x9*(parseInt(_0x172d0e(0x113))/0xa)+parseInt(_0x172d0e(0x10b))/0xb;if(_0x389756===_0x41cf21)break;else _0x273949['push'](_0x273949['shift']());}catch(_0x20d98f){_0x273949['push'](_0x273949['shift']());}}}(_0x5b4c,0xc8490));import{logError}from'@/common/utils/log';function _0x1368(_0x25317d,_0x61638e){const _0x5b4caa=_0x5b4c();return _0x1368=function(_0x1368d6,_0x16571a){_0x1368d6=_0x1368d6-0xff;let _0x82c44c=_0x5b4caa[_0x1368d6];return _0x82c44c;},_0x1368(_0x25317d,_0x61638e);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x298481(0x10c)]='';[_0x298481(0x104)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4ea20f){const _0x58a381=_0x298481;this[_0x58a381(0x10c)]=_0x4ea20f;}async[_0x298481(0x102)](){const _0x15bced=_0x298481,_0x222692={'nCjHO':'获取rkey失败'};if(this[_0x15bced(0x10a)]())try{await this['refreshRkey']();}catch(_0x5e25fb){logError(_0x222692[_0x15bced(0x103)],_0x5e25fb);}return this['rkeyData'];}[_0x298481(0x10a)](){const _0x2483e1=_0x298481,_0xd0fead={'ewKaT':function(_0x18df3f,_0xfde9a5){return _0x18df3f/_0xfde9a5;},'uXXZX':function(_0x140d78,_0x1fbff4){return _0x140d78>_0x1fbff4;}},_0xa8e64d=_0xd0fead['ewKaT'](new Date()[_0x2483e1(0x109)](),0x3e8);return _0xd0fead[_0x2483e1(0x10d)](_0xa8e64d,this['rkeyData'][_0x2483e1(0x107)]);}async[_0x298481(0x101)](){const _0x3513e7=_0x298481,_0x4a1600={'tEioh':_0x3513e7(0x106)};this['rkeyData']=await RequestUtil[_0x3513e7(0x110)](this[_0x3513e7(0x10c)],_0x4a1600[_0x3513e7(0x105)]);}}export const rkeyManager=new RkeyManager(_0x298481(0x112)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 406d85ab..b807d45c 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x100728=_0x230a;(function(_0x501b46,_0x221a8c){const _0x10a994=_0x230a,_0x10c5ca=_0x501b46();while(!![]){try{const _0x3aff41=-parseInt(_0x10a994(0x205))/0x1*(-parseInt(_0x10a994(0x1fe))/0x2)+-parseInt(_0x10a994(0x1fc))/0x3*(-parseInt(_0x10a994(0x1fb))/0x4)+-parseInt(_0x10a994(0x200))/0x5+-parseInt(_0x10a994(0x1ff))/0x6*(parseInt(_0x10a994(0x1f7))/0x7)+-parseInt(_0x10a994(0x1f4))/0x8*(-parseInt(_0x10a994(0x1f8))/0x9)+-parseInt(_0x10a994(0x20c))/0xa+parseInt(_0x10a994(0x20b))/0xb;if(_0x3aff41===_0x221a8c)break;else _0x10c5ca['push'](_0x10c5ca['shift']());}catch(_0x11f2fb){_0x10c5ca['push'](_0x10c5ca['shift']());}}}(_0x31f3,0x40603));import _0x49acd7 from'node:path';import _0x17d4ea from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x31f3(){const _0x22b99e=['143qjszUF','writeFileSync','resolve','resources/app/versions/','\x22);\x0aexports\x20=\x20module.exports;\x0a','/wrapper.node','3627184CuRIoA','2747650NvolCa','./resources/app/wrapper.node','2099192Lymeuc','execPath','default','7KNOpdc','9sgkEvj','join','dirname','28bGoaTH','60924uvACiN','replace','1770ThabFq','1712742PMBDnB','184745OwURvF','WrapperLoader.cjs','curVersion','existsSync','\x0amodule.exports\x20=\x20require(\x22'];_0x31f3=function(){return _0x22b99e;};return _0x31f3();}function _0x230a(_0x9e9633,_0x3ccbb2){const _0x31f313=_0x31f3();return _0x230a=function(_0x230ae0,_0x183447){_0x230ae0=_0x230ae0-0x1f3;let _0x265a8b=_0x31f313[_0x230ae0];return _0x265a8b;},_0x230a(_0x9e9633,_0x3ccbb2);}const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x49acd7[_0x100728(0x207)](_0x49acd7[_0x100728(0x1fa)](process[_0x100728(0x1f5)]),_0x100728(0x1f3));!_0x17d4ea[_0x100728(0x203)](wrapperNodePath)&&(wrapperNodePath=_0x49acd7[_0x100728(0x1f9)](_0x49acd7[_0x100728(0x1fa)](process[_0x100728(0x1f5)]),_0x100728(0x208)+qqVersionConfigInfo[_0x100728(0x202)]+_0x100728(0x20a)));let WrapperLoader=_0x49acd7[_0x100728(0x1f9)](__dirname,_0x100728(0x201));_0x17d4ea[_0x100728(0x206)](WrapperLoader,_0x100728(0x204)+wrapperNodePath[_0x100728(0x1fd)](/\\/g,'\x5c\x5c')+_0x100728(0x209));const QQWrapper=(await import('file://'+WrapperLoader))[_0x100728(0x1f6)];export default QQWrapper; \ No newline at end of file +const _0x552043=_0x1507;(function(_0x367d01,_0x4531fe){const _0x3c8359=_0x1507,_0x5cc731=_0x367d01();while(!![]){try{const _0x3fea96=-parseInt(_0x3c8359(0xc3))/0x1+-parseInt(_0x3c8359(0xc1))/0x2+parseInt(_0x3c8359(0xce))/0x3*(-parseInt(_0x3c8359(0xd5))/0x4)+parseInt(_0x3c8359(0xc6))/0x5*(parseInt(_0x3c8359(0xc7))/0x6)+parseInt(_0x3c8359(0xca))/0x7*(parseInt(_0x3c8359(0xcb))/0x8)+-parseInt(_0x3c8359(0xd4))/0x9*(-parseInt(_0x3c8359(0xd1))/0xa)+parseInt(_0x3c8359(0xc9))/0xb;if(_0x3fea96===_0x4531fe)break;else _0x5cc731['push'](_0x5cc731['shift']());}catch(_0x4a29c4){_0x5cc731['push'](_0x5cc731['shift']());}}}(_0x2363,0x280b0));import _0x4cc6e1 from'node:path';import _0x2589ac from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x4cc6e1[_0x552043(0xd7)](_0x4cc6e1[_0x552043(0xcf)](process[_0x552043(0xd6)]),_0x552043(0xc5));!_0x2589ac[_0x552043(0xc8)](wrapperNodePath)&&(wrapperNodePath=_0x4cc6e1[_0x552043(0xd3)](_0x4cc6e1[_0x552043(0xcf)](process[_0x552043(0xd6)]),_0x552043(0xd0)+qqVersionConfigInfo[_0x552043(0xc2)]+_0x552043(0xcc)));function _0x1507(_0x2b4858,_0x2bd511){const _0x2363ee=_0x2363();return _0x1507=function(_0x150746,_0x2bf60e){_0x150746=_0x150746-0xc1;let _0x434404=_0x2363ee[_0x150746];return _0x434404;},_0x1507(_0x2b4858,_0x2bd511);}let WrapperLoader=_0x4cc6e1[_0x552043(0xd3)](__dirname,_0x552043(0xd2));_0x2589ac[_0x552043(0xc4)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');function _0x2363(){const _0x3eb6f9=['9ztlBCT','dirname','resources/app/versions/','50EILwoj','WrapperLoader.cjs','join','302337XHOlod','403892myvyBb','execPath','resolve','505586LOikcx','curVersion','221544UivqSJ','writeFileSync','./resources/app/wrapper.node','15DnEAnJ','195954olqnEY','existsSync','7150330DYpdgI','8855GYCAYp','160BWQhhW','/wrapper.node','default'];_0x2363=function(){return _0x3eb6f9;};return _0x2363();}const QQWrapper=(await import('file://'+WrapperLoader))[_0x552043(0xcd)];export default QQWrapper; \ No newline at end of file