From 64b2d547ce6d0198359c82ecb4560a923c8353e5 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: Tue, 11 Jun 2024 12:34:04 +0800 Subject: [PATCH] refactor: friend --- src/core | 2 +- .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/collection.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.d.ts | 1 + src/core.lib/src/apis/friend.js | 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.d.ts | 1 - 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/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- .../src/services/NodeIKernelBuddyService.d.ts | 2 +- .../src/services/NodeIYellowFaceService.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 +- .../action/go-cqhttp/GetFriendMsgHistory.ts | 6 ++-- src/onebot11/action/msg/MarkMsgAsRead.ts | 7 ++-- src/onebot11/action/msg/SendMsg/index.ts | 36 +++++++------------ src/onebot11/action/user/SendLike.ts | 10 +----- src/onebot11/constructor.ts | 8 ++--- src/onebot11/main.ts | 7 ++-- 51 files changed, 67 insertions(+), 95 deletions(-) diff --git a/src/core b/src/core index 18bafe6a..c1e00827 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 18bafe6a4d4ffed34c60123b38f424c63bad814f +Subproject commit c1e008275e4b2de48054c29fbccbaa81f857cf27 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 46f918e4..7e2dcfa0 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x2e29(){var _0x3f9d7f=['157053weZnyn','2pMtgjx','771432FIXglJ','1736820uhFOHF','964264PkpyVz','248XNmvWS','61137tNliPv','67501Oripge','getGroupCode','165575WShzhi','630HUlSaF'];_0x2e29=function(){return _0x3f9d7f;};return _0x2e29();}var _0x147761=_0x55a7;(function(_0x1f294a,_0x1c841d){var _0x1bcce1=_0x55a7,_0xe2330b=_0x1f294a();while(!![]){try{var _0xa7c05b=-parseInt(_0x1bcce1(0x1ee))/0x1+-parseInt(_0x1bcce1(0x1ed))/0x2*(parseInt(_0x1bcce1(0x1ec))/0x3)+parseInt(_0x1bcce1(0x1f0))/0x4+parseInt(_0x1bcce1(0x1f5))/0x5+parseInt(_0x1bcce1(0x1ef))/0x6+parseInt(_0x1bcce1(0x1f3))/0x7*(parseInt(_0x1bcce1(0x1f1))/0x8)+-parseInt(_0x1bcce1(0x1f2))/0x9*(-parseInt(_0x1bcce1(0x1eb))/0xa);if(_0xa7c05b===_0x1c841d)break;else _0xe2330b['push'](_0xe2330b['shift']());}catch(_0x332356){_0xe2330b['push'](_0xe2330b['shift']());}}}(_0x2e29,0x71f48));function _0x55a7(_0x628295,_0x4d9860){var _0x2e29b2=_0x2e29();return _0x55a7=function(_0x55a725,_0x1342b0){_0x55a725=_0x55a725-0x1eb;var _0x7f31b9=_0x2e29b2[_0x55a725];return _0x7f31b9;},_0x55a7(_0x628295,_0x4d9860);}export class DependsAdapter{['onMSFStatusChange'](_0x7fcf75,_0x3fc92f){}['onMSFSsoError'](_0x2d84fb){}[_0x147761(0x1f4)](_0x4eae47){}} \ No newline at end of file +function _0x3c8f(_0x2ecaae,_0x2ceb4c){var _0x588542=_0x5885();return _0x3c8f=function(_0x3c8f3f,_0x2d929c){_0x3c8f3f=_0x3c8f3f-0x19a;var _0x414c8e=_0x588542[_0x3c8f3f];return _0x414c8e;},_0x3c8f(_0x2ecaae,_0x2ceb4c);}function _0x5885(){var _0x2a1712=['305850yFDSJe','59596muzjSp','1431282AwrmBO','1190cCqUWG','186LEPYUp','4JUUycs','79981tGNsYY','168KYSunN','168763AyGbhS','onMSFSsoError','12734696mYoCeZ','84591jjpZge','60vDiNGE','onMSFStatusChange','60XTBoAG'];_0x5885=function(){return _0x2a1712;};return _0x5885();}var _0x44d240=_0x3c8f;(function(_0x5d80a2,_0x55dfc3){var _0x1c6158=_0x3c8f,_0x4ccedd=_0x5d80a2();while(!![]){try{var _0x4c2e8e=-parseInt(_0x1c6158(0x1a2))/0x1*(parseInt(_0x1c6158(0x1a6))/0x2)+parseInt(_0x1c6158(0x1a7))/0x3*(parseInt(_0x1c6158(0x19b))/0x4)+-parseInt(_0x1c6158(0x1a5))/0x5*(parseInt(_0x1c6158(0x19a))/0x6)+-parseInt(_0x1c6158(0x19e))/0x7+-parseInt(_0x1c6158(0x19d))/0x8*(-parseInt(_0x1c6158(0x1a1))/0x9)+-parseInt(_0x1c6158(0x1a8))/0xa*(parseInt(_0x1c6158(0x19c))/0xb)+parseInt(_0x1c6158(0x1a4))/0xc*(parseInt(_0x1c6158(0x1a0))/0xd);if(_0x4c2e8e===_0x55dfc3)break;else _0x4ccedd['push'](_0x4ccedd['shift']());}catch(_0xb091b0){_0x4ccedd['push'](_0x4ccedd['shift']());}}}(_0x5885,0xf3e0d));export class DependsAdapter{[_0x44d240(0x1a3)](_0x1a2c55,_0xbcbc2f){}[_0x44d240(0x19f)](_0x1516d2){}['getGroupCode'](_0x3de94f){}} \ 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 39bbfa1d..66714db6 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x428404=_0x3ddd;function _0x3ddd(_0x20963f,_0x5bd082){var _0x67c18=_0x67c1();return _0x3ddd=function(_0x3ddd66,_0x21959e){_0x3ddd66=_0x3ddd66-0x10e;var _0x43f343=_0x67c18[_0x3ddd66];return _0x43f343;},_0x3ddd(_0x20963f,_0x5bd082);}(function(_0x15e797,_0x41e172){var _0x3136f9=_0x3ddd,_0x4e73ed=_0x15e797();while(!![]){try{var _0x462ff5=parseInt(_0x3136f9(0x10f))/0x1*(-parseInt(_0x3136f9(0x112))/0x2)+-parseInt(_0x3136f9(0x117))/0x3*(-parseInt(_0x3136f9(0x114))/0x4)+parseInt(_0x3136f9(0x116))/0x5*(parseInt(_0x3136f9(0x118))/0x6)+parseInt(_0x3136f9(0x11a))/0x7*(-parseInt(_0x3136f9(0x113))/0x8)+-parseInt(_0x3136f9(0x110))/0x9*(parseInt(_0x3136f9(0x119))/0xa)+parseInt(_0x3136f9(0x10e))/0xb+parseInt(_0x3136f9(0x115))/0xc;if(_0x462ff5===_0x41e172)break;else _0x4e73ed['push'](_0x4e73ed['shift']());}catch(_0x53b9bc){_0x4e73ed['push'](_0x4e73ed['shift']());}}}(_0x67c1,0x91b53));function _0x67c1(){var _0x580e22=['10769693YQsZbr','6xWJxOR','9OmMNTI','dispatchCallWithJson','118540cLEoZl','4146616rtGYyv','8LIOqhx','6321276swLwSx','20QMlloS','498063uEoMXF','363522ufOASE','911330LXASnV','14HXtWyK'];_0x67c1=function(){return _0x580e22;};return _0x67c1();}export class DispatcherAdapter{['dispatchRequest'](_0x10b32a){}['dispatchCall'](_0x2af1fa){}[_0x428404(0x111)](_0x5ae585){}} \ No newline at end of file +function _0x35eb(){var _0x296a20=['1530561mJVyDI','dispatchCall','121220VrTEao','11245157zUpFiw','3246zsGpsE','2238832WZFYTY','145kSwhyX','130nPiWVu','dispatchRequest','748KyMYVr','290727OxSfGD','412452jsiYqf'];_0x35eb=function(){return _0x296a20;};return _0x35eb();}var _0x3b93d2=_0x339d;(function(_0x4f6e43,_0x1ab230){var _0x360ba1=_0x339d,_0x4f2c6f=_0x4f6e43();while(!![]){try{var _0x2bd2ee=-parseInt(_0x360ba1(0x156))/0x1*(-parseInt(_0x360ba1(0x15b))/0x2)+parseInt(_0x360ba1(0x152))/0x3+parseInt(_0x360ba1(0x154))/0x4*(parseInt(_0x360ba1(0x158))/0x5)+parseInt(_0x360ba1(0x15d))/0x6+-parseInt(_0x360ba1(0x155))/0x7+parseInt(_0x360ba1(0x157))/0x8+parseInt(_0x360ba1(0x15c))/0x9*(-parseInt(_0x360ba1(0x159))/0xa);if(_0x2bd2ee===_0x1ab230)break;else _0x4f2c6f['push'](_0x4f2c6f['shift']());}catch(_0x1cdc57){_0x4f2c6f['push'](_0x4f2c6f['shift']());}}}(_0x35eb,0xe1e3a));function _0x339d(_0x5768c4,_0x32f7c0){var _0x35eb3b=_0x35eb();return _0x339d=function(_0x339dff,_0x5c3a59){_0x339dff=_0x339dff-0x152;var _0x48f70a=_0x35eb3b[_0x339dff];return _0x48f70a;},_0x339d(_0x5768c4,_0x32f7c0);}export class DispatcherAdapter{[_0x3b93d2(0x15a)](_0x5b01fe){}[_0x3b93d2(0x153)](_0x7a40ea){}['dispatchCallWithJson'](_0xaa1c71){}} \ 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 66997d82..12d4deee 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x12331c=_0x1b89;(function(_0x13d288,_0xc82705){var _0x27590a=_0x1b89,_0x39e81b=_0x13d288();while(!![]){try{var _0x78b2ad=-parseInt(_0x27590a(0x87))/0x1*(parseInt(_0x27590a(0x8b))/0x2)+parseInt(_0x27590a(0x94))/0x3*(parseInt(_0x27590a(0x8d))/0x4)+-parseInt(_0x27590a(0x84))/0x5+parseInt(_0x27590a(0x91))/0x6*(parseInt(_0x27590a(0x93))/0x7)+parseInt(_0x27590a(0x8a))/0x8*(parseInt(_0x27590a(0x88))/0x9)+-parseInt(_0x27590a(0x86))/0xa+parseInt(_0x27590a(0x95))/0xb;if(_0x78b2ad===_0xc82705)break;else _0x39e81b['push'](_0x39e81b['shift']());}catch(_0x2c8a82){_0x39e81b['push'](_0x39e81b['shift']());}}}(_0x3f52,0xd8537));function _0x1b89(_0x47fe65,_0x16511d){var _0x3f524b=_0x3f52();return _0x1b89=function(_0x1b895e,_0x35ca06){_0x1b895e=_0x1b895e-0x84;var _0x5cf9a9=_0x3f524b[_0x1b895e];return _0x5cf9a9;},_0x1b89(_0x47fe65,_0x16511d);}function _0x3f52(){var _0x52071e=['5954365uXmOGc','getAppSetting','6172970gqCqji','285148GXjAZv','81QCmJYQ','onGetSrvCalTime','34280OyVxgG','2loyWem','onInstallFinished','1236588LIbVlp','onGetOfflineMsg','onUpdateGeneralFlag','onLog','12naixoE','onShowErrUITips','5904458QojAPh','3lytwYt','10391579SHGTUz'];_0x3f52=function(){return _0x52071e;};return _0x3f52();}export class GlobalAdapter{[_0x12331c(0x90)](..._0x539419){}[_0x12331c(0x89)](..._0xa6fee8){}[_0x12331c(0x92)](..._0x19ebf6){}['fixPicImgType'](..._0x26f154){}[_0x12331c(0x85)](..._0x100aa9){}[_0x12331c(0x8c)](..._0x3ac4a2){}[_0x12331c(0x8f)](..._0x421558){}[_0x12331c(0x8e)](..._0x441583){}} \ No newline at end of file +function _0x11ad(){var _0x34d0a6=['6xCDsEr','140mcRkGC','29800tAIvjn','onGetOfflineMsg','2213561yTPzXw','2098768TybPiY','onShowErrUITips','9GhpylT','onUpdateGeneralFlag','1994mZmbfN','getAppSetting','onLog','2709520VILgyr','4616810gonLXN','195UjxGIl','868350uMQVbJ'];_0x11ad=function(){return _0x34d0a6;};return _0x11ad();}var _0xdacd7f=_0x4d4e;(function(_0x540323,_0x1715d3){var _0x5c1808=_0x4d4e,_0x15bdef=_0x540323();while(!![]){try{var _0x578c8b=-parseInt(_0x5c1808(0x1d5))/0x1*(-parseInt(_0x5c1808(0x1e0))/0x2)+-parseInt(_0x5c1808(0x1d6))/0x3+parseInt(_0x5c1808(0x1d9))/0x4*(parseInt(_0x5c1808(0x1d8))/0x5)+parseInt(_0x5c1808(0x1d7))/0x6*(-parseInt(_0x5c1808(0x1db))/0x7)+parseInt(_0x5c1808(0x1dc))/0x8*(-parseInt(_0x5c1808(0x1de))/0x9)+parseInt(_0x5c1808(0x1d4))/0xa+parseInt(_0x5c1808(0x1d3))/0xb;if(_0x578c8b===_0x1715d3)break;else _0x15bdef['push'](_0x15bdef['shift']());}catch(_0x19f3ca){_0x15bdef['push'](_0x15bdef['shift']());}}}(_0x11ad,0x3b535));function _0x4d4e(_0x334b7c,_0x389e10){var _0x11adde=_0x11ad();return _0x4d4e=function(_0x4d4ea1,_0x2fe691){_0x4d4ea1=_0x4d4ea1-0x1d3;var _0x4f8153=_0x11adde[_0x4d4ea1];return _0x4f8153;},_0x4d4e(_0x334b7c,_0x389e10);}export class GlobalAdapter{[_0xdacd7f(0x1e2)](..._0xf2bc04){}['onGetSrvCalTime'](..._0x1db136){}[_0xdacd7f(0x1dd)](..._0x4c7ba5){}['fixPicImgType'](..._0xe3c749){}[_0xdacd7f(0x1e1)](..._0x5db4ef){}['onInstallFinished'](..._0x3931ac){}[_0xdacd7f(0x1df)](..._0xe5bc7f){}[_0xdacd7f(0x1da)](..._0x470274){}} \ 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 c399e0e7..fad9a036 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x2b5310,_0x59cdd4){var _0x3cddae=_0x2990,_0x478f72=_0x2b5310();while(!![]){try{var _0x22bdd2=parseInt(_0x3cddae(0x1d2))/0x1*(parseInt(_0x3cddae(0x1d3))/0x2)+-parseInt(_0x3cddae(0x1d5))/0x3*(-parseInt(_0x3cddae(0x1d8))/0x4)+-parseInt(_0x3cddae(0x1db))/0x5+-parseInt(_0x3cddae(0x1d4))/0x6*(parseInt(_0x3cddae(0x1d7))/0x7)+-parseInt(_0x3cddae(0x1d6))/0x8+-parseInt(_0x3cddae(0x1d9))/0x9+-parseInt(_0x3cddae(0x1da))/0xa*(-parseInt(_0x3cddae(0x1dc))/0xb);if(_0x22bdd2===_0x59cdd4)break;else _0x478f72['push'](_0x478f72['shift']());}catch(_0x5bfb27){_0x478f72['push'](_0x478f72['shift']());}}}(_0x29a1,0xaa850));function _0x2990(_0x468e49,_0x26c3b0){var _0x29a191=_0x29a1();return _0x2990=function(_0x29900d,_0x4ac60a){_0x29900d=_0x29900d-0x1d2;var _0x254939=_0x29a191[_0x29900d];return _0x254939;},_0x2990(_0x468e49,_0x26c3b0);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x29a1(){var _0x44f37e=['9084131KlPxxQ','2777384hXKQkx','4632111wKYddt','1330NfPSJo','3737995TmsusY','192885juDJtu','77815wPWdYj','20nTlfsq','6YMvloe','3cCSDLO','4369536uFniCZ'];_0x29a1=function(){return _0x44f37e;};return _0x29a1();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x3ee2c1,_0x22e284){var _0x5de5a5=_0x5b90,_0x29f9cb=_0x3ee2c1();while(!![]){try{var _0x4fce40=-parseInt(_0x5de5a5(0xdf))/0x1+parseInt(_0x5de5a5(0xd8))/0x2*(-parseInt(_0x5de5a5(0xd7))/0x3)+-parseInt(_0x5de5a5(0xdb))/0x4*(parseInt(_0x5de5a5(0xda))/0x5)+parseInt(_0x5de5a5(0xd9))/0x6*(parseInt(_0x5de5a5(0xe0))/0x7)+-parseInt(_0x5de5a5(0xdc))/0x8+-parseInt(_0x5de5a5(0xde))/0x9+parseInt(_0x5de5a5(0xdd))/0xa;if(_0x4fce40===_0x22e284)break;else _0x29f9cb['push'](_0x29f9cb['shift']());}catch(_0x466415){_0x29f9cb['push'](_0x29f9cb['shift']());}}}(_0x3fc6,0x561ff));function _0x5b90(_0x7bf68b,_0x2a163f){var _0x3fc629=_0x3fc6();return _0x5b90=function(_0x5b90b9,_0x30891e){_0x5b90b9=_0x5b90b9-0xd7;var _0x39ca11=_0x3fc629[_0x5b90b9];return _0x39ca11;},_0x5b90(_0x7bf68b,_0x2a163f);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x3fc6(){var _0x4c3af1=['22dzXbYi','480ZLVobT','685925GcxbTx','20HWLwkm','6976GyRYjv','14535020GfCgEQ','2404008GSaJyS','450959nuaUas','36099LPQuWF','29571KucceM'];_0x3fc6=function(){return _0x4c3af1;};return _0x3fc6();} \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index 3dc0d647..8d7f0ac8 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x31a1aa=_0x2e9c;function _0x2e9c(_0x4a5a11,_0x8a8f57){const _0x185e0b=_0x185e();return _0x2e9c=function(_0x2e9cf2,_0x5360b7){_0x2e9cf2=_0x2e9cf2-0x16e;let _0x4cedc9=_0x185e0b[_0x2e9cf2];return _0x4cedc9;},_0x2e9c(_0x4a5a11,_0x8a8f57);}(function(_0x1223c1,_0x36630f){const _0x37843f=_0x2e9c,_0x1298ec=_0x1223c1();while(!![]){try{const _0x27c51c=parseInt(_0x37843f(0x17c))/0x1+-parseInt(_0x37843f(0x173))/0x2+-parseInt(_0x37843f(0x175))/0x3+parseInt(_0x37843f(0x179))/0x4*(parseInt(_0x37843f(0x174))/0x5)+-parseInt(_0x37843f(0x17b))/0x6*(parseInt(_0x37843f(0x178))/0x7)+parseInt(_0x37843f(0x172))/0x8+parseInt(_0x37843f(0x17a))/0x9;if(_0x27c51c===_0x36630f)break;else _0x1298ec['push'](_0x1298ec['shift']());}catch(_0x2b319d){_0x1298ec['push'](_0x1298ec['shift']());}}}(_0x185e,0x1f560));function _0x185e(){const _0xeed159=['getAllCollection','createCollection','164488DsahmG','464118zROPrg','5AxnOzS','224145ewJWAU','session','getCollectionService','389977dlYMoi','336092bREVAB','2684376UnQGIE','12pYLQXF','143700SAIsfI','toString','createNewCollectionItem','now'];_0x185e=function(){return _0xeed159;};return _0x185e();}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x31a1aa(0x171)](_0x38838c,_0x3c7fd7,_0x315cb3,_0x47d4c6,_0x546355){const _0x5b80b6=_0x31a1aa;let _0x4167aa={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x38838c,'strId':_0x315cb3,'groupId':'0','groupName':'','uid':_0x3c7fd7},'customGroupId':'0','createTime':Date['now']()[_0x5b80b6(0x17d)](),'sequence':Date[_0x5b80b6(0x16f)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x47d4c6,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x546355,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x5b80b6(0x177)]()[_0x5b80b6(0x16e)](_0x4167aa);}static async[_0x31a1aa(0x170)](_0xf05388=0x0,_0x4268b2=0x32){const _0x440634=_0x31a1aa;let _0xe3b2cc={'category':_0xf05388,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x4268b2,'searchDown':!![]};return napCatCore[_0x440634(0x176)]['getCollectionService']()['getCollectionItemList'](_0xe3b2cc);}} \ No newline at end of file +const _0x5487a7=_0x5085;function _0x2e74(){const _0x46d98e=['16594919HkXQos','1489832DCGmGo','30folMBf','2180492aZhIvN','getCollectionService','toString','createCollection','1891782NSJmjZ','4531910iVkapI','294707GOLBBz','now','createNewCollectionItem','6525360PVaFhk','getAllCollection','12mTXuNp','1BYKoMp','6kNfZgk','50UwMSqL','getCollectionItemList'];_0x2e74=function(){return _0x46d98e;};return _0x2e74();}function _0x5085(_0x5a94df,_0x1c3ddb){const _0x2e74f5=_0x2e74();return _0x5085=function(_0x5085d8,_0x30fc83){_0x5085d8=_0x5085d8-0xad;let _0x20eb8a=_0x2e74f5[_0x5085d8];return _0x20eb8a;},_0x5085(_0x5a94df,_0x1c3ddb);}(function(_0x9e2d51,_0x1eb11c){const _0x37026c=_0x5085,_0x38901b=_0x9e2d51();while(!![]){try{const _0x3cd7c3=parseInt(_0x37026c(0xb3))/0x1*(parseInt(_0x37026c(0xb8))/0x2)+-parseInt(_0x37026c(0xb4))/0x3*(parseInt(_0x37026c(0xba))/0x4)+-parseInt(_0x37026c(0xbf))/0x5+parseInt(_0x37026c(0xb9))/0x6*(parseInt(_0x37026c(0xad))/0x7)+-parseInt(_0x37026c(0xb0))/0x8+parseInt(_0x37026c(0xbe))/0x9*(parseInt(_0x37026c(0xb5))/0xa)+-parseInt(_0x37026c(0xb7))/0xb*(-parseInt(_0x37026c(0xb2))/0xc);if(_0x3cd7c3===_0x1eb11c)break;else _0x38901b['push'](_0x38901b['shift']());}catch(_0x1a4a0a){_0x38901b['push'](_0x38901b['shift']());}}}(_0x2e74,0xab916));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x5487a7(0xbd)](_0x552f14,_0x298ad9,_0x1c29f9,_0x436515,_0x33c134){const _0x49e155=_0x5487a7;let _0x30de78={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x552f14,'strId':_0x1c29f9,'groupId':'0','groupName':'','uid':_0x298ad9},'customGroupId':'0','createTime':Date[_0x49e155(0xae)]()['toString'](),'sequence':Date['now']()[_0x49e155(0xbc)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x436515,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x33c134,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x49e155(0xbb)]()[_0x49e155(0xaf)](_0x30de78);}static async[_0x5487a7(0xb1)](_0x3b96a5=0x0,_0x5bba58=0x32){const _0x4352a4=_0x5487a7;let _0x5e34eb={'category':_0x3b96a5,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x5bba58,'searchDown':!![]};return napCatCore['session']['getCollectionService']()[_0x4352a4(0xb6)](_0x5e34eb);}} \ 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 26226556..91556d9d 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x56e6f8=_0x1032;(function(_0xc33b8d,_0x395f12){const _0x28d316=_0x1032,_0x573fee=_0xc33b8d();while(!![]){try{const _0x4391b1=-parseInt(_0x28d316(0x108))/0x1*(-parseInt(_0x28d316(0x10b))/0x2)+parseInt(_0x28d316(0xea))/0x3*(parseInt(_0x28d316(0x117))/0x4)+-parseInt(_0x28d316(0xe5))/0x5+parseInt(_0x28d316(0xda))/0x6+-parseInt(_0x28d316(0xf6))/0x7+parseInt(_0x28d316(0x120))/0x8*(parseInt(_0x28d316(0x106))/0x9)+-parseInt(_0x28d316(0x12c))/0xa*(parseInt(_0x28d316(0x127))/0xb);if(_0x4391b1===_0x395f12)break;else _0x573fee['push'](_0x573fee['shift']());}catch(_0xa1e215){_0x573fee['push'](_0x573fee['shift']());}}}(_0x2ddb,0x95a16));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0xb8832b from'path';function _0x2ddb(){const _0x5e547b=['34644oQpkuY','yZBjS','PIC','/gchatpic_new/0/0-0-','hotUpdate','ZlmEz','getRichMediaFilePathForGuild','toUpperCase','delete','clearCacheDataByKeys','tmp','LxIoP','4240698hFIpCK','CkDWq','getHotUpdateCachePath','getFileType','indexOf','clearChatCache','getImageSize','getFileSize','elementId','apGSe','uhwUc','getMsgService','RKojW','defaultFileDownloadPath','downloadRichMedia','/download','1035FjwsIW','startsWith','1egezhT','addCacheScanedPaths','addCacheScannedPaths','532186UKWHEY','scanCache','getFileCacheInfo','chatType','getVideoPlayUrlV2','clearCache','getChatCacheList','downloadMedia','msgId','existsSync','ext','onRichMediaDownloadComplete','324ZmlBoR','qGSEK','CvjtC','EPHAr','md5HexStr','filePath','uOuNx','private_rkey','dZnZo','13784KkODpW','GBIqf','join','includes','VXkMa','fileTypeFromFile','getImageUrl','1232chcmdz','HQWKE','urlResult','url','getCacheSessionPathList','19970FNnCDY','getVideoUrl','hCuOI','下载超时','uploadFile','5461620vcQFyD','COeSL','session','IDNCu','domainUrl','getStorageCleanService','getRkey','addListener','图片url获取失败','sgiNM','peerUid','4337660SkAxNk','unlink','util','copyFile','&rkey='];_0x2ddb=function(){return _0x5e547b;};return _0x2ddb();}import _0x18b381 from'fs';import _0x54e42d from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4e5834 from'file-type';import{MsgListener}from'@/core/listeners';import _0x5a6a0c from'image-size';function _0x1032(_0x81f995,_0x11dec6){const _0x2ddbcb=_0x2ddb();return _0x1032=function(_0x1032e5,_0x215741){_0x1032e5=_0x1032e5-0xd9;let _0x5a1709=_0x2ddbcb[_0x1032e5];return _0x5a1709;},_0x1032(_0x81f995,_0x11dec6);}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[_0x56e6f8(0x116)]=_0x530020=>{const _0x1dba36=_0x56e6f8;for(const [_0x4f422b,_0x26d573]of downloadMediaTasks){_0x26d573(_0x530020),downloadMediaTasks[_0x1dba36(0xf2)](_0x4f422b);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3d05c6=_0x1032;napCatCore[_0x3d05c6(0xe1)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x56e6f8(0xf9)](_0x17efb0){const _0x4ad483=_0x56e6f8;return _0x4e5834[_0x4ad483(0x125)](_0x17efb0);}static async[_0x56e6f8(0xe8)](_0x49d9eb,_0x4ef503){const _0x19b68c=_0x56e6f8;await napCatCore[_0x19b68c(0xe7)][_0x19b68c(0xe8)](_0x49d9eb,_0x4ef503);}static async[_0x56e6f8(0xfd)](_0x3ce019){const _0x48df96=_0x56e6f8;return await napCatCore[_0x48df96(0xe7)][_0x48df96(0xfd)](_0x3ce019);}static async[_0x56e6f8(0x12d)](_0x226910,_0x959e4c){const _0x1558a0=_0x56e6f8;return(await napCatCore[_0x1558a0(0xdc)]['getRichMediaService']()[_0x1558a0(0x10f)]({'chatType':_0x226910[_0x1558a0(0x10e)],'peerUid':_0x226910[_0x1558a0(0xe4)],'guildId':'0'},_0x226910['msgId'],_0x959e4c[_0x1558a0(0xfe)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x1558a0(0x129)][_0x1558a0(0xde)][0x0][_0x1558a0(0x12a)];}static async[_0x56e6f8(0xd9)](_0x4ebf46,_0xe937b7=ElementType[_0x56e6f8(0xec)],_0x11fbe9=0x0){const _0x433c44=_0x56e6f8,_0x1ed585={'VXkMa':function(_0x53f998,_0x43461a){return _0x53f998+_0x43461a;},'LxIoP':function(_0x4342bb,_0x1e77c4){return _0x4342bb===_0x1e77c4;}},_0x3383c6=await calculateFileMD5(_0x4ebf46);let _0x3c70ee=(await NTQQFileApi[_0x433c44(0xf9)](_0x4ebf46))?.[_0x433c44(0x115)]||'';_0x3c70ee&&(_0x3c70ee=_0x1ed585[_0x433c44(0x124)]('.',_0x3c70ee));let _0x2f06ff=''+_0xb8832b['basename'](_0x4ebf46);_0x1ed585[_0x433c44(0xf5)](_0x2f06ff[_0x433c44(0xfa)]('.'),-0x1)&&(_0x2f06ff+=_0x3c70ee);const _0xb20029=napCatCore[_0x433c44(0xdc)][_0x433c44(0x101)]()[_0x433c44(0xf0)]({'md5HexStr':_0x3383c6,'fileName':_0x2f06ff,'elementType':_0xe937b7,'elementSubType':_0x11fbe9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x433c44(0xe8)](_0x4ebf46,_0xb20029);const _0x340e05=await NTQQFileApi[_0x433c44(0xfd)](_0x4ebf46);return{'md5':_0x3383c6,'fileName':_0x2f06ff,'path':_0xb20029,'fileSize':_0x340e05,'ext':_0x3c70ee};}static async[_0x56e6f8(0x112)](_0x3f3013,_0xec317d,_0x163428,_0x111b4e,_0x143ee9,_0x274ed8,_0x27277f=0x3e8*0x3c*0x2,_0x3113b1=![]){const _0xe9339=_0x56e6f8,_0x3408af={'dZnZo':function(_0x24b0bd,_0x18a58b){return _0x24b0bd(_0x18a58b);},'uOuNx':_0xe9339(0x12f),'mtxkc':function(_0x10af7b,_0x54ed3a){return _0x10af7b===_0x54ed3a;},'RKojW':function(_0x392189){return _0x392189();},'EPHAr':function(_0x3b1a1f,_0x27a0bd,_0x4cba9e){return _0x3b1a1f(_0x27a0bd,_0x4cba9e);}};if(_0x274ed8&&_0x18b381[_0xe9339(0x114)](_0x274ed8)){if(_0x3113b1)try{await _0x54e42d[_0xe9339(0xe6)](_0x274ed8);}catch(_0x51931b){}else return _0x274ed8;}return new Promise((_0xac1281,_0xc4ec2a)=>{const _0x290d2b=_0xe9339,_0x50a001={'uhwUc':function(_0x3e8637,_0x178cfa){return _0x3408af['mtxkc'](_0x3e8637,_0x178cfa);},'yZBjS':function(_0x540399,_0x43891b){return _0x540399(_0x43891b);}};let _0x5c081a=![];const _0x398771=_0x1576e6=>{const _0x3506e3=_0x1032;if(_0x50a001[_0x3506e3(0x100)](_0x1576e6[_0x3506e3(0x113)],_0x3f3013)){_0x5c081a=!![];let _0x15527b=_0x1576e6[_0x3506e3(0x11c)];if(_0x15527b[_0x3506e3(0x107)]('\x5c')){const _0x588647=sessionConfig[_0x3506e3(0x103)];_0x15527b=_0xb8832b[_0x3506e3(0x122)](_0x588647,_0x15527b);}_0x50a001[_0x3506e3(0xeb)](_0xac1281,_0x15527b);}};downloadMediaTasks['set'](_0x3408af[_0x290d2b(0x102)](randomUUID),_0x398771),_0x3408af[_0x290d2b(0x11a)](setTimeout,()=>{const _0x57bf9b=_0x290d2b;!_0x5c081a&&_0x3408af[_0x57bf9b(0x11f)](_0xc4ec2a,_0x3408af[_0x57bf9b(0x11d)]);},_0x27277f),napCatCore[_0x290d2b(0xdc)]['getMsgService']()[_0x290d2b(0x104)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3f3013,'chatType':_0xec317d,'peerUid':_0x163428,'elementId':_0x111b4e,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x143ee9});});}static async[_0x56e6f8(0xfc)](_0x47e242){const _0x234002={'fKWqF':function(_0x32746b,_0x53b2f2){return _0x32746b(_0x53b2f2);},'ZlmEz':function(_0x1ca258,_0x18e26e,_0x1cc60d){return _0x1ca258(_0x18e26e,_0x1cc60d);}};return new Promise((_0x175a58,_0x4f4f41)=>{const _0x3004ab=_0x1032,_0x3db546={'GBIqf':function(_0x3bd7b7,_0x419682){return _0x3bd7b7(_0x419682);},'apGSe':function(_0x47b1ad,_0x2540ef){return _0x234002['fKWqF'](_0x47b1ad,_0x2540ef);}};_0x234002[_0x3004ab(0xef)](_0x5a6a0c,_0x47e242,(_0x492515,_0x3ba4d1)=>{const _0x50cdd1=_0x3004ab;_0x492515?_0x3db546[_0x50cdd1(0x121)](_0x4f4f41,_0x492515):_0x3db546[_0x50cdd1(0xff)](_0x175a58,_0x3ba4d1);});});}static async[_0x56e6f8(0x126)](_0x38a2e1,_0x404458){const _0x54488d=_0x56e6f8,_0x46549b={'hCuOI':_0x54488d(0x105),'IDNCu':_0x54488d(0xe9),'CkDWq':function(_0x206c6e,_0x2859cc){return _0x206c6e+_0x2859cc;},'sgiNM':function(_0x15ad99,_0x45d6c2){return _0x15ad99+_0x45d6c2;},'COeSL':function(_0x48012d,_0x5e29bd){return _0x48012d+_0x5e29bd;},'CvjtC':function(_0x22c814,_0x4635c5){return _0x22c814+_0x4635c5;},'HQWKE':function(_0x2745b8,_0x4b4982){return _0x2745b8||_0x4b4982;},'qGSEK':function(_0x3dd6f5,_0x29a5be,_0x239787){return _0x3dd6f5(_0x29a5be,_0x239787);},'iGBvg':_0x54488d(0xe2)};if(!_0x38a2e1)return'';const _0x55391c=_0x38a2e1['originImageUrl'],_0x187951=_0x38a2e1[_0x54488d(0x11b)],_0x271900=_0x38a2e1['md5HexStr'],_0x55a5d1=_0x38a2e1['fileUuid'];if(_0x55391c){if(_0x55391c['startsWith'](_0x46549b[_0x54488d(0x12e)])){if(_0x55391c[_0x54488d(0x123)](_0x46549b[_0x54488d(0xdd)]))return _0x46549b[_0x54488d(0xf7)](IMAGE_HTTP_HOST_NT,_0x55391c);const _0x2d3e97=await rkeyManager[_0x54488d(0xe0)](),_0xf265e5=_0x404458?_0x2d3e97[_0x54488d(0x11e)]:_0x2d3e97['group_rkey'];return _0x46549b[_0x54488d(0xe3)](_0x46549b[_0x54488d(0xdb)](IMAGE_HTTP_HOST_NT,_0x55391c),''+_0xf265e5);}else return _0x46549b[_0x54488d(0x119)](IMAGE_HTTP_HOST,_0x55391c);}else{if(_0x271900||_0x187951)return IMAGE_HTTP_HOST+_0x54488d(0xed)+_0x46549b[_0x54488d(0x128)](_0x271900,_0x187951)[_0x54488d(0xf1)]()+'/0';}return _0x46549b[_0x54488d(0x118)](logDebug,_0x46549b['iGBvg'],_0x38a2e1),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x54c9c7=!![]){return'';}static[_0x56e6f8(0x12b)](){return'';}static[_0x56e6f8(0x110)](_0x1d81cc=[_0x56e6f8(0xf4),_0x56e6f8(0xee)]){const _0x5289c5=_0x56e6f8;return napCatCore['session']['getStorageCleanService']()[_0x5289c5(0xf3)](_0x1d81cc);}static[_0x56e6f8(0x10a)](_0x4997fc={}){const _0x2895f8=_0x56e6f8;return napCatCore[_0x2895f8(0xdc)]['getStorageCleanService']()[_0x2895f8(0x109)](_0x4997fc);}static[_0x56e6f8(0x10c)](){const _0xc45f6=_0x56e6f8;return napCatCore[_0xc45f6(0xdc)][_0xc45f6(0xdf)]()[_0xc45f6(0x10c)]();}static[_0x56e6f8(0xf8)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x56e6f8(0x111)](_0x2ef1e9,_0x34a9c5=0x3e8,_0x5d9c2f=0x0){const _0x5f0111=_0x56e6f8;return napCatCore[_0x5f0111(0xdc)]['getStorageCleanService']()['getChatCacheInfo'](_0x2ef1e9,_0x34a9c5,0x1,_0x5d9c2f);}static[_0x56e6f8(0x10d)](_0x330249,_0x4ae0f7=0x3e8,_0x14e958){const _0xfca345=_0x14e958?_0x14e958:{'fileType':_0x330249};}static async[_0x56e6f8(0xfb)](_0x29a50d=[],_0x2a808d=[]){const _0x5b1430=_0x56e6f8;return napCatCore['session'][_0x5b1430(0xdf)]()['clearChatCacheInfo'](_0x29a50d,_0x2a808d);}} \ No newline at end of file +const _0x5f31e8=_0x2945;(function(_0x24a8a0,_0x4f1a6c){const _0x40c1cc=_0x2945,_0x490a69=_0x24a8a0();while(!![]){try{const _0x27e068=parseInt(_0x40c1cc(0x1af))/0x1*(-parseInt(_0x40c1cc(0x1ba))/0x2)+-parseInt(_0x40c1cc(0x1b4))/0x3+parseInt(_0x40c1cc(0x1cc))/0x4+-parseInt(_0x40c1cc(0x1dd))/0x5*(parseInt(_0x40c1cc(0x1d1))/0x6)+-parseInt(_0x40c1cc(0x1d0))/0x7+-parseInt(_0x40c1cc(0x1e4))/0x8+parseInt(_0x40c1cc(0x1ea))/0x9;if(_0x27e068===_0x4f1a6c)break;else _0x490a69['push'](_0x490a69['shift']());}catch(_0x2d3368){_0x490a69['push'](_0x490a69['shift']());}}}(_0x3dfe,0x51180));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x47d357 from'path';function _0x3dfe(){const _0x5f198b=['uploadFile','copyFile','chatType','getRkey','clearChatCache','getFileSize','getFileType','PIC','addListener','256671ziyKsl','UlMnQ','clearCache','onRichMediaDownloadComplete','teZsq','937461MJFlot','getDesktopTmpPath','getImageUrl','startsWith','&rkey=','owrHO','4DZhiPP','getHotUpdateCachePath','join','图片url获取失败','getFileCacheInfo','qRRML','defaultFileDownloadPath','EfLPL','urlResult','scanCache','tmp','setCacheSilentScan','basename','toUpperCase','hotUpdate','XmMLG','filePath','onLoginSuccess','91108MVsNfw','addCacheScanedPaths','getStorageCleanService','XPIUW','2568279AtsHLl','222WejWNK','clearChatCacheInfo','indexOf','getImageSize','includes','domainUrl','downloadRichMedia','getChatCacheInfo','下载超时','ATxLr','util','existsSync','70855yILHFK','session','getChatCacheList','private_rkey','/download','delete','getMsgService','2541656gDssQL','url','getRichMediaService','msgId','group_rkey','zCwbJ','21097287mCrDqF','md5HexStr','GUsmd','getCacheSessionPathList','CoVUC'];_0x3dfe=function(){return _0x5f198b;};return _0x3dfe();}import _0x4a9276 from'fs';import _0x183612 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x3eacab from'file-type';import{MsgListener}from'@/core/listeners';import _0x573164 from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x2945(_0x4b1964,_0x39e938){const _0x3dfe97=_0x3dfe();return _0x2945=function(_0x29456a,_0x4986fd){_0x29456a=_0x29456a-0x1a4;let _0x33de03=_0x3dfe97[_0x29456a];return _0x33de03;},_0x2945(_0x4b1964,_0x39e938);}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[_0x5f31e8(0x1b2)]=_0x4fd112=>{const _0xb5d384=_0x5f31e8;for(const [_0x75bdc8,_0x1f0142]of downloadMediaTasks){_0x1f0142(_0x4fd112),downloadMediaTasks[_0xb5d384(0x1e2)](_0x75bdc8);}},setTimeout(()=>{const _0x20fccc=_0x5f31e8;napCatCore[_0x20fccc(0x1cb)](()=>{const _0x6f7c16=_0x20fccc;napCatCore[_0x6f7c16(0x1ae)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x5f31e8(0x1ac)](_0x4e27dd){return _0x3eacab['fileTypeFromFile'](_0x4e27dd);}static async[_0x5f31e8(0x1a7)](_0x25965d,_0xab7a20){const _0x3c0b1d=_0x5f31e8;await napCatCore[_0x3c0b1d(0x1db)]['copyFile'](_0x25965d,_0xab7a20);}static async[_0x5f31e8(0x1ab)](_0x52099a){const _0x870713=_0x5f31e8;return await napCatCore['util'][_0x870713(0x1ab)](_0x52099a);}static async['getVideoUrl'](_0x438231,_0x57db59){const _0x75e63e=_0x5f31e8;return(await napCatCore[_0x75e63e(0x1de)][_0x75e63e(0x1e6)]()['getVideoPlayUrlV2']({'chatType':_0x438231[_0x75e63e(0x1a8)],'peerUid':_0x438231['peerUid'],'guildId':'0'},_0x438231[_0x75e63e(0x1e7)],_0x57db59['elementId'],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x75e63e(0x1c2)][_0x75e63e(0x1d6)][0x0][_0x75e63e(0x1e5)];}static async[_0x5f31e8(0x1a6)](_0x379023,_0x4c2130=ElementType[_0x5f31e8(0x1ad)],_0x30d6ed=0x0){const _0x1b7bf4=_0x5f31e8,_0xb54f55={'EfLPL':function(_0x3cdbe5,_0x48709d){return _0x3cdbe5(_0x48709d);},'UlMnQ':function(_0x349604,_0x113145){return _0x349604+_0x113145;},'GUsmd':function(_0x2fd0d5,_0x425e1e){return _0x2fd0d5===_0x425e1e;}},_0x3cabd7=await _0xb54f55[_0x1b7bf4(0x1c1)](calculateFileMD5,_0x379023);let _0x13682e=(await NTQQFileApi[_0x1b7bf4(0x1ac)](_0x379023))?.['ext']||'';_0x13682e&&(_0x13682e=_0xb54f55[_0x1b7bf4(0x1b0)]('.',_0x13682e));let _0xd7dd55=''+_0x47d357[_0x1b7bf4(0x1c6)](_0x379023);_0xb54f55[_0x1b7bf4(0x1ec)](_0xd7dd55[_0x1b7bf4(0x1d3)]('.'),-0x1)&&(_0xd7dd55+=_0x13682e);const _0x2bc320=napCatCore[_0x1b7bf4(0x1de)][_0x1b7bf4(0x1e3)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x3cabd7,'fileName':_0xd7dd55,'elementType':_0x4c2130,'elementSubType':_0x30d6ed,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x379023,_0x2bc320);const _0xf8ba39=await NTQQFileApi[_0x1b7bf4(0x1ab)](_0x379023);return{'md5':_0x3cabd7,'fileName':_0xd7dd55,'path':_0x2bc320,'fileSize':_0xf8ba39,'ext':_0x13682e};}static async['downloadMedia'](_0x4cdcf3,_0x2d3098,_0x2a0351,_0x1f1eb7,_0x1ba077,_0x284986,_0x1a6344=0x3e8*0x3c*0x2,_0x312c5b=![]){const _0x4cacb4=_0x5f31e8,_0x52cbeb={'kXagC':function(_0xfb917f,_0xe7c579){return _0xfb917f===_0xe7c579;},'owrHO':function(_0x30b4a3){return _0x30b4a3();},'XPIUW':function(_0x4c6e14,_0x512b67,_0xc4729f){return _0x4c6e14(_0x512b67,_0xc4729f);}};if(_0x284986&&_0x4a9276[_0x4cacb4(0x1dc)](_0x284986)){if(_0x312c5b)try{await _0x183612['unlink'](_0x284986);}catch(_0x22c16f){}else return _0x284986;}return new Promise((_0x3d2e1a,_0x1c5121)=>{const _0x104428=_0x4cacb4,_0xa5c5a2={'aeHjH':function(_0x16e14e,_0xe8970d){return _0x52cbeb['kXagC'](_0x16e14e,_0xe8970d);},'hmQxu':function(_0x460b6f,_0x420ed9){return _0x460b6f(_0x420ed9);},'zCwbJ':_0x104428(0x1d9)};let _0x5420e3=![];const _0x2c5a3b=_0x28212f=>{const _0x5a849c=_0x104428;if(_0xa5c5a2['aeHjH'](_0x28212f['msgId'],_0x4cdcf3)){_0x5420e3=!![];let _0x55dc87=_0x28212f[_0x5a849c(0x1ca)];if(_0x55dc87['startsWith']('\x5c')){const _0x2a9027=sessionConfig[_0x5a849c(0x1c0)];_0x55dc87=_0x47d357[_0x5a849c(0x1bc)](_0x2a9027,_0x55dc87);}_0xa5c5a2['hmQxu'](_0x3d2e1a,_0x55dc87);}};downloadMediaTasks['set'](_0x52cbeb[_0x104428(0x1b9)](randomUUID),_0x2c5a3b),_0x52cbeb[_0x104428(0x1cf)](setTimeout,()=>{const _0x5e6545=_0x104428;!_0x5420e3&&_0x1c5121(_0xa5c5a2[_0x5e6545(0x1e9)]);},_0x1a6344),napCatCore[_0x104428(0x1de)]['getMsgService']()[_0x104428(0x1d7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x4cdcf3,'chatType':_0x2d3098,'peerUid':_0x2a0351,'elementId':_0x1f1eb7,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1ba077});});}static async[_0x5f31e8(0x1d4)](_0x327aab){const _0x51ba4c={'aibPD':function(_0x23c199,_0x2381e5){return _0x23c199(_0x2381e5);},'JcwDd':function(_0x19fb55,_0x5cc9f7,_0x442637){return _0x19fb55(_0x5cc9f7,_0x442637);}};return new Promise((_0x34d1f1,_0x4ab2ce)=>{_0x51ba4c['JcwDd'](_0x573164,_0x327aab,(_0x123503,_0xc66f82)=>{_0x123503?_0x51ba4c['aibPD'](_0x4ab2ce,_0x123503):_0x51ba4c['aibPD'](_0x34d1f1,_0xc66f82);});});}static async[_0x5f31e8(0x1b6)](_0x54290a,_0x4fc595){const _0x4ddbf4=_0x5f31e8,_0x16a3d0={'XmMLG':_0x4ddbf4(0x1e1),'ATxLr':function(_0x3ccb92,_0x22fe29){return _0x3ccb92+_0x22fe29;},'CoVUC':function(_0x2bda60,_0xf77fa8){return _0x2bda60+_0xf77fa8;},'teZsq':function(_0x1b91dd,_0x4194a5){return _0x1b91dd||_0x4194a5;},'uozKF':function(_0x27c7a3,_0x1bfea8,_0x571cfd){return _0x27c7a3(_0x1bfea8,_0x571cfd);},'qRRML':_0x4ddbf4(0x1bd)};if(!_0x54290a)return'';const _0x332f41=_0x54290a['originImageUrl'],_0x403c3c=_0x54290a[_0x4ddbf4(0x1eb)],_0x5c4278=_0x54290a[_0x4ddbf4(0x1eb)],_0x56df5c=_0x54290a['fileUuid'];if(_0x332f41){if(_0x332f41[_0x4ddbf4(0x1b7)](_0x16a3d0[_0x4ddbf4(0x1c9)])){if(_0x332f41[_0x4ddbf4(0x1d5)](_0x4ddbf4(0x1b8)))return IMAGE_HTTP_HOST_NT+_0x332f41;const _0x3a2f08=await rkeyManager[_0x4ddbf4(0x1a9)](),_0x51e676=_0x4fc595?_0x3a2f08[_0x4ddbf4(0x1e0)]:_0x3a2f08[_0x4ddbf4(0x1e8)];return _0x16a3d0[_0x4ddbf4(0x1da)](_0x16a3d0[_0x4ddbf4(0x1a5)](IMAGE_HTTP_HOST_NT,_0x332f41),''+_0x51e676);}else return IMAGE_HTTP_HOST+_0x332f41;}else{if(_0x16a3d0[_0x4ddbf4(0x1b3)](_0x5c4278,_0x403c3c))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x16a3d0['teZsq'](_0x5c4278,_0x403c3c)[_0x4ddbf4(0x1c7)]()+'/0';}return _0x16a3d0['uozKF'](logDebug,_0x16a3d0[_0x4ddbf4(0x1bf)],_0x54290a),'';}}export class NTQQFileCacheApi{static async[_0x5f31e8(0x1c5)](_0x5b7614=!![]){return'';}static[_0x5f31e8(0x1a4)](){return'';}static[_0x5f31e8(0x1b1)](_0x376088=[_0x5f31e8(0x1c4),_0x5f31e8(0x1c8)]){const _0x2cc35d=_0x5f31e8;return napCatCore['session'][_0x2cc35d(0x1ce)]()['clearCacheDataByKeys'](_0x376088);}static['addCacheScannedPaths'](_0x1d2334={}){const _0x3088cf=_0x5f31e8;return napCatCore[_0x3088cf(0x1de)][_0x3088cf(0x1ce)]()[_0x3088cf(0x1cd)](_0x1d2334);}static['scanCache'](){const _0x3d5565=_0x5f31e8;return napCatCore['session'][_0x3d5565(0x1ce)]()[_0x3d5565(0x1c3)]();}static[_0x5f31e8(0x1bb)](){return'';}static[_0x5f31e8(0x1b5)](){return'';}static[_0x5f31e8(0x1df)](_0xcd4fc1,_0x457aa6=0x3e8,_0x3a6c7b=0x0){const _0x3f4f7f=_0x5f31e8;return napCatCore[_0x3f4f7f(0x1de)]['getStorageCleanService']()[_0x3f4f7f(0x1d8)](_0xcd4fc1,_0x457aa6,0x1,_0x3a6c7b);}static[_0x5f31e8(0x1be)](_0x203d6b,_0x2c91b6=0x3e8,_0x4fc79a){const _0x34265b=_0x4fc79a?_0x4fc79a:{'fileType':_0x203d6b};}static async[_0x5f31e8(0x1aa)](_0x3d5f7c=[],_0x5e6a98=[]){const _0x52a826=_0x5f31e8;return napCatCore['session'][_0x52a826(0x1ce)]()[_0x52a826(0x1d2)](_0x3d5f7c,_0x5e6a98);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.d.ts b/src/core.lib/src/apis/friend.d.ts index 7d0d8db7..1dc963cb 100644 --- a/src/core.lib/src/apis/friend.d.ts +++ b/src/core.lib/src/apis/friend.d.ts @@ -1,5 +1,6 @@ import { User } from '@/core/entities'; export declare class NTQQFriendApi { + static isBuddy(uid: string): Promise; static getFriends(forced?: boolean): Promise; static handleFriendRequest(flag: string, accept: boolean): Promise; } diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 9fe8b767..ca27b7e6 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x23a3(_0x4b2b49,_0x4ef523){const _0x220079=_0x2200();return _0x23a3=function(_0x23a3b3,_0x3e015f){_0x23a3b3=_0x23a3b3-0x13f;let _0x4fa70a=_0x220079[_0x23a3b3];return _0x4fa70a;},_0x23a3(_0x4b2b49,_0x4ef523);}const _0x4f16f9=_0x23a3;function _0x2200(){const _0x349cf2=['3519uiKckB','handleFriendRequest','1312yAoeka','approvalFriendRequest','481150aVcAeQ','337249EOOZGH','split','3416dUjWMC','buddyList','CallNormalEvent','length','521388ECQlIm','kDEPP','241959zNmSPu','3530OWVGgw','1555014kUdrkm','getBuddyService','getFriends','NodeIKernelBuddyService/getBuddyList','8FQdBDH','bifRx'];_0x2200=function(){return _0x349cf2;};return _0x2200();}(function(_0xe2852a,_0x46568a){const _0x41eb76=_0x23a3,_0x2531aa=_0xe2852a();while(!![]){try{const _0x5c9caa=parseInt(_0x41eb76(0x146))/0x1+parseInt(_0x41eb76(0x14c))/0x2+parseInt(_0x41eb76(0x14e))/0x3*(parseInt(_0x41eb76(0x13f))/0x4)+-parseInt(_0x41eb76(0x145))/0x5+-parseInt(_0x41eb76(0x150))/0x6+parseInt(_0x41eb76(0x148))/0x7*(-parseInt(_0x41eb76(0x143))/0x8)+-parseInt(_0x41eb76(0x141))/0x9*(parseInt(_0x41eb76(0x14f))/0xa);if(_0x5c9caa===_0x46568a)break;else _0x2531aa['push'](_0x2531aa['shift']());}catch(_0x2860fc){_0x2531aa['push'](_0x2531aa['shift']());}}}(_0x2200,0x2d5c3));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x4f16f9(0x152)](_0x537318=![]){const _0x201fca=_0x4f16f9,_0x36eb54={'FsHNj':_0x201fca(0x153),'kDEPP':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x2386a6,_0x184898]=await NTEventDispatch[_0x201fca(0x14a)](_0x36eb54['FsHNj'],_0x36eb54[_0x201fca(0x14d)],0x1,0x1388,_0x537318);const _0x335c65=[];for(const _0x2401f1 of _0x184898){for(const _0x2ee6bc of _0x2401f1[_0x201fca(0x149)]){_0x335c65['push'](_0x2ee6bc);}}return _0x335c65;}static async[_0x4f16f9(0x142)](_0x35da73,_0x833223){const _0x393db3=_0x4f16f9,_0x1e3a25={'bifRx':function(_0x37132e,_0x3d6d59){return _0x37132e<_0x3d6d59;}};let _0x1fd439=_0x35da73[_0x393db3(0x147)]('|');if(_0x1e3a25[_0x393db3(0x140)](_0x1fd439[_0x393db3(0x14b)],0x2))return;let _0x1ef202=_0x1fd439[0x0],_0x2ae89b=_0x1fd439[0x1];napCatCore['session'][_0x393db3(0x151)]()?.[_0x393db3(0x144)]({'friendUid':_0x1ef202,'reqTime':_0x2ae89b,'accept':_0x833223});}} \ No newline at end of file +const _0x343597=_0x2fe1;(function(_0x27e301,_0x3dbc31){const _0x354009=_0x2fe1,_0x2df822=_0x27e301();while(!![]){try{const _0x394e71=-parseInt(_0x354009(0x139))/0x1*(parseInt(_0x354009(0x135))/0x2)+parseInt(_0x354009(0x130))/0x3+-parseInt(_0x354009(0x133))/0x4*(parseInt(_0x354009(0x13e))/0x5)+parseInt(_0x354009(0x140))/0x6*(-parseInt(_0x354009(0x13d))/0x7)+-parseInt(_0x354009(0x13a))/0x8*(-parseInt(_0x354009(0x142))/0x9)+parseInt(_0x354009(0x12b))/0xa+parseInt(_0x354009(0x132))/0xb;if(_0x394e71===_0x3dbc31)break;else _0x2df822['push'](_0x2df822['shift']());}catch(_0x325b5b){_0x2df822['push'](_0x2df822['shift']());}}}(_0x1c44,0x34116));function _0x2fe1(_0x4e3995,_0x5cfc6d){const _0x1c44e3=_0x1c44();return _0x2fe1=function(_0x2fe1b9,_0x2da706){_0x2fe1b9=_0x2fe1b9-0x12a;let _0x3cab6e=_0x1c44e3[_0x2fe1b9];return _0x3cab6e;},_0x2fe1(_0x4e3995,_0x5cfc6d);}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x1c44(){const _0x3d27e2=['567069zoyKjE','woktW','3883143TzRnOP','188bHJexU','isBuddy','6770JfFaPv','NodeIKernelBuddyListener/onBuddyListChange','session','WVjRh','58rowUWq','648ERYOba','CallNormalEvent','buddyList','70NGigat','26305ijRuCK','YQvnm','19356pOsRmu','handleFriendRequest','10260VzPXsd','approvalFriendRequest','547510bUQSFS','split','length','push','getFriends'];_0x1c44=function(){return _0x3d27e2;};return _0x1c44();}export class NTQQFriendApi{static async['isBuddy'](_0x122fe7){const _0x36038b=_0x2fe1;return napCatCore['session']['getBuddyService']()[_0x36038b(0x134)](_0x122fe7);}static async[_0x343597(0x12f)](_0x35ab57=![]){const _0x5a689d=_0x343597,_0x32015e={'woktW':'NodeIKernelBuddyService/getBuddyList','WVjRh':_0x5a689d(0x136)};let [_0x3a8119,_0x836d87]=await NTEventDispatch[_0x5a689d(0x13b)](_0x32015e[_0x5a689d(0x131)],_0x32015e[_0x5a689d(0x138)],0x1,0x1388,_0x35ab57);const _0x33f0a7=[];for(const _0xa6a733 of _0x836d87){for(const _0x20e884 of _0xa6a733[_0x5a689d(0x13c)]){_0x33f0a7[_0x5a689d(0x12e)](_0x20e884);}}return _0x33f0a7;}static async[_0x343597(0x141)](_0x146d46,_0x436eb7){const _0x2beb1b=_0x343597,_0xad5228={'YQvnm':function(_0x19264c,_0x1f7e05){return _0x19264c<_0x1f7e05;}};let _0x1e2ab8=_0x146d46[_0x2beb1b(0x12c)]('|');if(_0xad5228[_0x2beb1b(0x13f)](_0x1e2ab8[_0x2beb1b(0x12d)],0x2))return;let _0x46d7d3=_0x1e2ab8[0x0],_0xfa95b3=_0x1e2ab8[0x1];napCatCore[_0x2beb1b(0x137)]['getBuddyService']()?.[_0x2beb1b(0x12a)]({'friendUid':_0x46d7d3,'reqTime':_0xfa95b3,'accept':_0x436eb7});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index c6011610..d8fbb794 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x337ae6=_0x226f;(function(_0x5eff0b,_0x12156d){const _0x181c98=_0x226f,_0x203dd1=_0x5eff0b();while(!![]){try{const _0x1a134b=parseInt(_0x181c98(0x16a))/0x1*(parseInt(_0x181c98(0x185))/0x2)+-parseInt(_0x181c98(0x192))/0x3+-parseInt(_0x181c98(0x16b))/0x4*(parseInt(_0x181c98(0x193))/0x5)+-parseInt(_0x181c98(0x17e))/0x6+parseInt(_0x181c98(0x177))/0x7*(-parseInt(_0x181c98(0x164))/0x8)+-parseInt(_0x181c98(0x16c))/0x9*(parseInt(_0x181c98(0x165))/0xa)+parseInt(_0x181c98(0x191))/0xb;if(_0x1a134b===_0x12156d)break;else _0x203dd1['push'](_0x203dd1['shift']());}catch(_0x331071){_0x203dd1['push'](_0x203dd1['shift']());}}}(_0x1761,0xc04d6));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x226f(_0x54b516,_0x53f570){const _0x1761ed=_0x1761();return _0x226f=function(_0x226ff9,_0xc48b19){_0x226ff9=_0x226ff9-0x15a;let _0x2c6cbd=_0x1761ed[_0x226ff9];return _0x2c6cbd;},_0x226f(_0x54b516,_0x53f570);}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x1761(){const _0x11a676=['getPSkey','setGroupShutUp','RAVVj','NodeIKernelGroupService/getGroupList','40234755KzgwKf','3603426cFnzku','251585qMKJfG','result','INIrx','getGroupRecommendContactArkJson','CreatGroupFileFolder','modifyMemberRole','getMemberExtInfo','hvoov','TITLETYPE','session','setGroupTitle','getRichMediaService','modifyMemberCardName','createMemberListScene','eYSYe','setGroupName','uploadGroupBulletinPic','getGroupIgnoreNotifies','getGroupMembers','DelGroupFileFolder','errMsg','UCCwN','setMemberShutUp','qjRDY','GetGroupFileCount','24448eLGqRo','8510NLoFwB','groupMemberList_MainWindow','kickMember','operateSysNotify','getNextMemberList','29683imypBq','4OFiKBZ','2466aoWtic','group','type','infos','qun.qq.com','groupCode','获取群成员列表出错,','DelGroupFile','errCode','quitGroup','deleteGroupFile','3080kRgxaY','LcSph','CallNormalEvent','getGroupService','EyAYE','handleGroupRequest','arkJson','7368492OcncDk','deleteGroupFolder','ksEuH','CallNoListenerEvent','banMember','banGroup','getGroups','80PIAkJb','publishGroupBulletin','batchGetGroupFileCount','getGroupRemainAtTimes','txyqi','getArkJsonGroupShare','createGroupFolder','setMemberRole'];_0x1761=function(){return _0x11a676;};return _0x1761();}export class NTQQGroupApi{static async[_0x337ae6(0x184)](_0x4a2d17=![]){const _0x54e16d=_0x337ae6,_0xa92e99={'Ahaki':_0x54e16d(0x190),'LcSph':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x7ffc05,_0x564735,_0x24bd53]=await NTEventDispatch[_0x54e16d(0x179)](_0xa92e99['Ahaki'],_0xa92e99[_0x54e16d(0x178)],0x1,0x1388,_0x4a2d17);return _0x24bd53;}static async[_0x337ae6(0x196)](_0x5633d0){const _0x5eced6=_0x337ae6;return napCatCore[_0x5eced6(0x19c)][_0x5eced6(0x17a)]()[_0x5eced6(0x196)](_0x5633d0);}static async[_0x337ae6(0x197)](_0x5d6afe,_0x13ac51){const _0x1c827f=_0x337ae6;return napCatCore[_0x1c827f(0x19c)][_0x1c827f(0x19e)]()[_0x1c827f(0x18b)](_0x5d6afe,_0x13ac51);}static async[_0x337ae6(0x173)](_0x597e58,_0x2e8b86){const _0x19b719=_0x337ae6;return napCatCore[_0x19b719(0x19c)][_0x19b719(0x19e)]()[_0x19b719(0x176)](_0x597e58,[0x66],_0x2e8b86);}static async[_0x337ae6(0x15e)](_0x5076c9,_0x2c5c79){const _0x5566da=_0x337ae6;return napCatCore[_0x5566da(0x19c)]['getRichMediaService']()[_0x5566da(0x17f)](_0x5076c9,_0x2c5c79);}static async['getSingleScreenNotifies'](_0x1e677c){const _0x534114=_0x337ae6,_0x3f5c35={'hvoov':'NodeIKernelGroupService/getSingleScreenNotifies','INIrx':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0xee5ef5,_0x4b7b06,_0x5f3467,_0xa2d572]=await NTEventDispatch[_0x534114(0x179)](_0x3f5c35[_0x534114(0x19a)],_0x3f5c35[_0x534114(0x195)],0x1,0x1388,![],'',_0x1e677c);return _0xa2d572;}static async[_0x337ae6(0x15d)](_0x51f7d8,_0x1d7037=0xbb8){const _0x25aa41=_0x337ae6,_0x2b2f78={'UCCwN':_0x25aa41(0x166),'Bfslk':function(_0x1bdcef,_0x5a3ecd){return _0x1bdcef+_0x5a3ecd;},'eYSYe':_0x25aa41(0x172)},_0x40e477=napCatCore[_0x25aa41(0x19c)][_0x25aa41(0x17a)](),_0x152ea5=_0x40e477[_0x25aa41(0x1a0)](_0x51f7d8,_0x2b2f78[_0x25aa41(0x160)]),_0x13da99=await _0x40e477[_0x25aa41(0x169)](_0x152ea5,undefined,_0x1d7037);if(_0x13da99[_0x25aa41(0x174)]!==0x0)throw _0x2b2f78['Bfslk'](_0x2b2f78[_0x25aa41(0x1a1)],_0x13da99[_0x25aa41(0x15f)]);return _0x13da99[_0x25aa41(0x194)][_0x25aa41(0x16f)];}static async['getGroupNotifies'](){}static async[_0x337ae6(0x163)](_0x2347de){const _0x2b417a=_0x337ae6;return napCatCore['session'][_0x2b417a(0x19e)]()[_0x2b417a(0x187)](_0x2347de);}static async[_0x337ae6(0x15c)](){}static async[_0x337ae6(0x18a)](_0x3e5e87){const _0x3b18d7=_0x337ae6,_0x1a40d0={'qjRDY':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x1d3214=await NTEventDispatch[_0x3b18d7(0x181)](_0x1a40d0[_0x3b18d7(0x162)],0x1388,_0x3e5e87);return _0x1d3214[_0x3b18d7(0x17d)];}static async[_0x337ae6(0x15b)](_0x3ad557,_0x1ae891){const _0x4a135b=_0x337ae6,_0x4f0ba3={'txyqi':_0x4a135b(0x170)},_0xe56d66=(await NTQQUserApi[_0x4a135b(0x18d)]([_0x4f0ba3[_0x4a135b(0x189)]]))[_0x4f0ba3[_0x4a135b(0x189)]];return napCatCore[_0x4a135b(0x19c)][_0x4a135b(0x17a)]()[_0x4a135b(0x15b)](_0x3ad557,_0xe56d66,_0x1ae891);}static async[_0x337ae6(0x17c)](_0x8ccb2b,_0x43d131,_0x1ee525){const _0x4b5cf4=_0x337ae6,_0x5392d3={'EyAYE':function(_0x2d3241,_0x164732){return _0x2d3241||_0x164732;}};return napCatCore['session']['getGroupService']()[_0x4b5cf4(0x168)](![],{'operateType':_0x43d131,'targetMsg':{'seq':_0x8ccb2b['seq'],'type':_0x8ccb2b[_0x4b5cf4(0x16e)],'groupCode':_0x8ccb2b[_0x4b5cf4(0x16d)][_0x4b5cf4(0x171)],'postscript':_0x5392d3[_0x4b5cf4(0x17b)](_0x1ee525,'')}});}static async[_0x337ae6(0x175)](_0x48c1c4){const _0x3bbaa6=_0x337ae6;return napCatCore[_0x3bbaa6(0x19c)][_0x3bbaa6(0x17a)]()[_0x3bbaa6(0x175)](_0x48c1c4);}static async[_0x337ae6(0x167)](_0x37707c,_0x4f0cfb,_0x35f320=![],_0x425c48=''){const _0x6d816c=_0x337ae6;return napCatCore[_0x6d816c(0x19c)]['getGroupService']()[_0x6d816c(0x167)](_0x37707c,_0x4f0cfb,_0x35f320,_0x425c48);}static async[_0x337ae6(0x182)](_0x1cb5c3,_0x4877ce){const _0x5475cd=_0x337ae6;return napCatCore[_0x5475cd(0x19c)][_0x5475cd(0x17a)]()[_0x5475cd(0x161)](_0x1cb5c3,_0x4877ce);}static async[_0x337ae6(0x183)](_0x2ebc47,_0x36493d){const _0x2df563=_0x337ae6;return napCatCore['session'][_0x2df563(0x17a)]()[_0x2df563(0x18e)](_0x2ebc47,_0x36493d);}static async['setMemberCard'](_0x4f5c72,_0x5979c2,_0x302197){const _0x2d60f1=_0x337ae6;return napCatCore[_0x2d60f1(0x19c)]['getGroupService']()[_0x2d60f1(0x19f)](_0x4f5c72,_0x5979c2,_0x302197);}static async[_0x337ae6(0x18c)](_0x3cd4c2,_0x315469,_0x3f29b2){const _0x67dc43=_0x337ae6;return napCatCore[_0x67dc43(0x19c)]['getGroupService']()[_0x67dc43(0x198)](_0x3cd4c2,_0x315469,_0x3f29b2);}static async[_0x337ae6(0x15a)](_0x6446a4,_0x39b55f){const _0x599aaf=_0x337ae6;return napCatCore[_0x599aaf(0x19c)][_0x599aaf(0x17a)]()['modifyGroupName'](_0x6446a4,_0x39b55f,![]);}static async[_0x337ae6(0x19d)](_0x4e16f8,_0x58cc50,_0xaa7c99){}static async['publishGroupBulletin'](_0x24fa6e,_0x13a241,_0x18630d=undefined,_0x404160=0x0,_0x3b8bf5=0x0){const _0x122643=_0x337ae6,_0x3b742c={'ksEuH':_0x122643(0x170),'RAVVj':function(_0x8c553b,_0x2e785f){return _0x8c553b(_0x2e785f);}},_0x2fc489=(await NTQQUserApi[_0x122643(0x18d)]([_0x3b742c[_0x122643(0x180)]]))[_0x3b742c[_0x122643(0x180)]];let _0x4088ed={'text':_0x3b742c[_0x122643(0x18f)](encodeURI,_0x13a241),'picInfo':_0x18630d,'oldFeedsId':'','pinned':_0x404160,'confirmRequired':_0x3b8bf5};return napCatCore[_0x122643(0x19c)][_0x122643(0x17a)]()[_0x122643(0x186)](_0x24fa6e,_0x2fc489,_0x4088ed);}static async[_0x337ae6(0x188)](_0x37ab73){const _0x3a1b01=_0x337ae6;napCatCore['session'][_0x3a1b01(0x17a)]()[_0x3a1b01(0x188)](_0x37ab73);}static async[_0x337ae6(0x199)](_0x56ec2f,_0x2e90a7){const _0x19e010=_0x337ae6;return napCatCore[_0x19e010(0x19c)][_0x19e010(0x17a)]()['getMemberExtInfo']({'groupCode':_0x56ec2f,'sourceType':MemberExtSourceType[_0x19e010(0x19b)],'beginUin':'0','dataTime':'0','uinList':[_0x2e90a7],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +const _0x321b95=_0x3e7e;function _0x48c3(){const _0x1a9e0f=['group','qun.qq.com','getMemberExtInfo','getPSkey','5395040EIRrOl','getNextMemberList','8jxqlzh','DelGroupFileFolder','errCode','kickMember','banMember','arkJson','DelGroupFile','BCsmu','320240fAefee','getGroupIgnoreNotifies','seq','AUvwj','CreatGroupFileFolder','deleteGroupFile','session','374838hxiROB','ZdkZK','modifyMemberCardName','getRichMediaService','NodeIKernelGroupListener/onGroupSingleScreenNotifies','operateSysNotify','QzoZL','TAwhs','setGroupName','NodeIKernelGroupService/getGroupList','errMsg','modifyMemberRole','732MYMObp','groupCode','publishGroupBulletin','Axmrs','lKvbq','deleteGroupFolder','22421jplfJj','uploadGroupBulletinPic','setGroupShutUp','getGroupService','YLTYw','NodeIKernelGroupService/getGroupRecommendContactArkJson','banGroup','146EOyxDc','handleGroupRequest','NodeIKernelGroupService/getSingleScreenNotifies','jmkwh','cpeUw','getGroupRemainAtTimes','setMemberShutUp','createMemberListScene','result','9933174CJdPnR','setMemberRole','getGroupNotifies','getGroupMembers','setGroupTitle','quitGroup','getArkJsonGroupShare','6358840KRTzSv','CallNormalEvent','8595MkMfVt','createGroupFolder','getGroupRecommendContactArkJson','FZmrR'];_0x48c3=function(){return _0x1a9e0f;};return _0x48c3();}(function(_0x848672,_0x5aa559){const _0x2b8f2f=_0x3e7e,_0x2327ba=_0x848672();while(!![]){try{const _0x3f30c4=parseInt(_0x2b8f2f(0x1ee))/0x1*(-parseInt(_0x2b8f2f(0x1dc))/0x2)+parseInt(_0x2b8f2f(0x207))/0x3+parseInt(_0x2b8f2f(0x200))/0x4+parseInt(_0x2b8f2f(0x1f6))/0x5+-parseInt(_0x2b8f2f(0x213))/0x6*(-parseInt(_0x2b8f2f(0x219))/0x7)+-parseInt(_0x2b8f2f(0x1f8))/0x8*(parseInt(_0x2b8f2f(0x1e5))/0x9)+parseInt(_0x2b8f2f(0x1ec))/0xa;if(_0x3f30c4===_0x5aa559)break;else _0x2327ba['push'](_0x2327ba['shift']());}catch(_0x43cbfb){_0x2327ba['push'](_0x2327ba['shift']());}}}(_0x48c3,0x8d7d7));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x3e7e(_0x27f68c,_0x90e56d){const _0x48c321=_0x48c3();return _0x3e7e=function(_0x3e7e4c,_0x388270){_0x3e7e4c=_0x3e7e4c-0x1db;let _0x7b5e83=_0x48c321[_0x3e7e4c];return _0x7b5e83;},_0x3e7e(_0x27f68c,_0x90e56d);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x43e43f=![]){const _0x1de80a=_0x3e7e,_0xcae37e={'cpeUw':_0x1de80a(0x210),'AUvwj':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x5a258f,_0x12f63f,_0x52da2e]=await NTEventDispatch[_0x1de80a(0x1ed)](_0xcae37e[_0x1de80a(0x1e0)],_0xcae37e[_0x1de80a(0x203)],0x1,0x1388,_0x43e43f);return _0x52da2e;}static async[_0x321b95(0x1f0)](_0x4a828d){const _0x432ba6=_0x321b95;return napCatCore[_0x432ba6(0x206)][_0x432ba6(0x21c)]()[_0x432ba6(0x1f0)](_0x4a828d);}static async[_0x321b95(0x204)](_0x5b321d,_0x25b8da){const _0x20c903=_0x321b95;return napCatCore[_0x20c903(0x206)][_0x20c903(0x20a)]()[_0x20c903(0x1ef)](_0x5b321d,_0x25b8da);}static async[_0x321b95(0x1fe)](_0x538821,_0x2ac26e){const _0x4c5775=_0x321b95;return napCatCore['session'][_0x4c5775(0x20a)]()[_0x4c5775(0x205)](_0x538821,[0x66],_0x2ac26e);}static async[_0x321b95(0x1f9)](_0x374c8a,_0x2e3550){const _0x17ef22=_0x321b95;return napCatCore['session'][_0x17ef22(0x20a)]()[_0x17ef22(0x218)](_0x374c8a,_0x2e3550);}static async['getSingleScreenNotifies'](_0x4846d9){const _0x41bdb4=_0x321b95,_0x25ed42={'lKvbq':_0x41bdb4(0x1de),'FZmrR':_0x41bdb4(0x20b)};let [_0x37e310,_0xdfe21a,_0x3720bd,_0x49ec1e]=await NTEventDispatch[_0x41bdb4(0x1ed)](_0x25ed42[_0x41bdb4(0x217)],_0x25ed42[_0x41bdb4(0x1f1)],0x1,0x1388,![],'',_0x4846d9);return _0x49ec1e;}static async[_0x321b95(0x1e8)](_0x22762e,_0x50df80=0xbb8){const _0x3adf9c=_0x321b95,_0x3881b1={'Axmrs':'groupMemberList_MainWindow','QzoZL':function(_0x59099e,_0x52001a){return _0x59099e!==_0x52001a;},'jmkwh':'获取群成员列表出错,'},_0x3ecf8a=napCatCore[_0x3adf9c(0x206)][_0x3adf9c(0x21c)](),_0x1ef402=_0x3ecf8a[_0x3adf9c(0x1e3)](_0x22762e,_0x3881b1[_0x3adf9c(0x216)]),_0x32a0d8=await _0x3ecf8a[_0x3adf9c(0x1f7)](_0x1ef402,undefined,_0x50df80);if(_0x3881b1[_0x3adf9c(0x20d)](_0x32a0d8[_0x3adf9c(0x1fa)],0x0))throw _0x3881b1[_0x3adf9c(0x1df)]+_0x32a0d8[_0x3adf9c(0x211)];return _0x32a0d8[_0x3adf9c(0x1e4)]['infos'];}static async[_0x321b95(0x1e7)](){}static async['GetGroupFileCount'](_0x140509){return napCatCore['session']['getRichMediaService']()['batchGetGroupFileCount'](_0x140509);}static async[_0x321b95(0x201)](){}static async[_0x321b95(0x1eb)](_0x1572c0){const _0x57eee1=_0x321b95,_0x53e01b={'TAwhs':_0x57eee1(0x21e)};let _0x25a688=await NTEventDispatch['CallNoListenerEvent'](_0x53e01b[_0x57eee1(0x20e)],0x1388,_0x1572c0);return _0x25a688[_0x57eee1(0x1fd)];}static async['uploadGroupBulletinPic'](_0x107533,_0x1839fa){const _0x39cf08=_0x321b95,_0x6a200a={'BCsmu':_0x39cf08(0x1f3)},_0x1e4220=(await NTQQUserApi[_0x39cf08(0x1f5)]([_0x6a200a[_0x39cf08(0x1ff)]]))[_0x6a200a[_0x39cf08(0x1ff)]];return napCatCore[_0x39cf08(0x206)][_0x39cf08(0x21c)]()[_0x39cf08(0x21a)](_0x107533,_0x1e4220,_0x1839fa);}static async[_0x321b95(0x1dd)](_0x54e14d,_0x29166c,_0x2702f5){const _0x402b62=_0x321b95,_0x46cafb={'YLTYw':function(_0x3ac14a,_0x47ccc3){return _0x3ac14a||_0x47ccc3;}};return napCatCore['session'][_0x402b62(0x21c)]()[_0x402b62(0x20c)](![],{'operateType':_0x29166c,'targetMsg':{'seq':_0x54e14d[_0x402b62(0x202)],'type':_0x54e14d['type'],'groupCode':_0x54e14d[_0x402b62(0x1f2)][_0x402b62(0x214)],'postscript':_0x46cafb[_0x402b62(0x21d)](_0x2702f5,'')}});}static async[_0x321b95(0x1ea)](_0x3e5d1e){const _0x280e15=_0x321b95;return napCatCore[_0x280e15(0x206)][_0x280e15(0x21c)]()['quitGroup'](_0x3e5d1e);}static async['kickMember'](_0x217e4d,_0x3c15a1,_0x12a056=![],_0x18bdf8=''){const _0xd5251f=_0x321b95;return napCatCore[_0xd5251f(0x206)][_0xd5251f(0x21c)]()[_0xd5251f(0x1fb)](_0x217e4d,_0x3c15a1,_0x12a056,_0x18bdf8);}static async[_0x321b95(0x1fc)](_0x541411,_0x265256){const _0x2c98bf=_0x321b95;return napCatCore[_0x2c98bf(0x206)][_0x2c98bf(0x21c)]()[_0x2c98bf(0x1e2)](_0x541411,_0x265256);}static async[_0x321b95(0x1db)](_0x436eaa,_0x22f5c0){const _0x581232=_0x321b95;return napCatCore['session'][_0x581232(0x21c)]()[_0x581232(0x21b)](_0x436eaa,_0x22f5c0);}static async['setMemberCard'](_0xa1c0c,_0x4eb5b5,_0x199f5f){const _0xfb33bb=_0x321b95;return napCatCore[_0xfb33bb(0x206)][_0xfb33bb(0x21c)]()[_0xfb33bb(0x209)](_0xa1c0c,_0x4eb5b5,_0x199f5f);}static async[_0x321b95(0x1e6)](_0xe526ca,_0x2c8b12,_0x53230e){const _0xbf1f61=_0x321b95;return napCatCore[_0xbf1f61(0x206)]['getGroupService']()[_0xbf1f61(0x212)](_0xe526ca,_0x2c8b12,_0x53230e);}static async[_0x321b95(0x20f)](_0x38bcbd,_0x54b997){const _0x4b0375=_0x321b95;return napCatCore['session'][_0x4b0375(0x21c)]()['modifyGroupName'](_0x38bcbd,_0x54b997,![]);}static async[_0x321b95(0x1e9)](_0x12b525,_0x24801e,_0x35d2a6){}static async['publishGroupBulletin'](_0x43a589,_0x22c9b8,_0x22fc0c=undefined,_0x2a5ebd=0x0,_0x3c77f9=0x0){const _0x4bcba6=_0x321b95,_0x2130d1={'nCqpV':_0x4bcba6(0x1f3),'ZdkZK':function(_0x49ddec,_0x4b49ba){return _0x49ddec(_0x4b49ba);}},_0x4d4b26=(await NTQQUserApi[_0x4bcba6(0x1f5)]([_0x2130d1['nCqpV']]))[_0x2130d1['nCqpV']];let _0x3c30fc={'text':_0x2130d1[_0x4bcba6(0x208)](encodeURI,_0x22c9b8),'picInfo':_0x22fc0c,'oldFeedsId':'','pinned':_0x2a5ebd,'confirmRequired':_0x3c77f9};return napCatCore[_0x4bcba6(0x206)]['getGroupService']()[_0x4bcba6(0x215)](_0x43a589,_0x4d4b26,_0x3c30fc);}static async[_0x321b95(0x1e1)](_0x31aeef){const _0x34bd1e=_0x321b95;napCatCore[_0x34bd1e(0x206)][_0x34bd1e(0x21c)]()['getGroupRemainAtTimes'](_0x31aeef);}static async['getMemberExtInfo'](_0x85cb03,_0x54137d){const _0xeb1585=_0x321b95;return napCatCore[_0xeb1585(0x206)]['getGroupService']()[_0xeb1585(0x1f4)]({'groupCode':_0x85cb03,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x54137d],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ 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 a233fdc7..327fd7d5 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x56b802,_0x3068d4){var _0x433896=_0x34e7,_0x4b969f=_0x56b802();while(!![]){try{var _0x4597ba=-parseInt(_0x433896(0x1e9))/0x1*(-parseInt(_0x433896(0x1e3))/0x2)+parseInt(_0x433896(0x1e8))/0x3*(parseInt(_0x433896(0x1e1))/0x4)+-parseInt(_0x433896(0x1e4))/0x5*(-parseInt(_0x433896(0x1e0))/0x6)+parseInt(_0x433896(0x1e7))/0x7*(parseInt(_0x433896(0x1de))/0x8)+parseInt(_0x433896(0x1e2))/0x9*(-parseInt(_0x433896(0x1e6))/0xa)+parseInt(_0x433896(0x1e5))/0xb+-parseInt(_0x433896(0x1df))/0xc;if(_0x4597ba===_0x3068d4)break;else _0x4b969f['push'](_0x4b969f['shift']());}catch(_0x49bd24){_0x4b969f['push'](_0x4b969f['shift']());}}}(_0x5963,0xca7ca));export*from'./file';function _0x5963(){var _0x1fe349=['9782366mUkwaI','470IAMPKa','1322762htTQHt','3057HLvTxv','57wavOrP','40yZValc','27784044GLpyYN','492HCRHfV','1128BMaqfF','176535OkFDSk','26836dhRTsx','71970NvqLRN'];_0x5963=function(){return _0x1fe349;};return _0x5963();}export*from'./friend';export*from'./group';function _0x34e7(_0x56e151,_0x1ae8eb){var _0x596369=_0x5963();return _0x34e7=function(_0x34e773,_0x5bac2a){_0x34e773=_0x34e773-0x1de;var _0x5134f4=_0x596369[_0x34e773];return _0x5134f4;},_0x34e7(_0x56e151,_0x1ae8eb);}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0xbbd8f3,_0x289d53){var _0x439079=_0xd9fa,_0x4fce38=_0xbbd8f3();while(!![]){try{var _0x1e030f=-parseInt(_0x439079(0xea))/0x1*(-parseInt(_0x439079(0xeb))/0x2)+-parseInt(_0x439079(0xe6))/0x3+-parseInt(_0x439079(0xee))/0x4+-parseInt(_0x439079(0xe5))/0x5*(-parseInt(_0x439079(0xe9))/0x6)+parseInt(_0x439079(0xe7))/0x7*(-parseInt(_0x439079(0xe4))/0x8)+parseInt(_0x439079(0xed))/0x9*(-parseInt(_0x439079(0xec))/0xa)+-parseInt(_0x439079(0xe8))/0xb;if(_0x1e030f===_0x289d53)break;else _0x4fce38['push'](_0x4fce38['shift']());}catch(_0x17d728){_0x4fce38['push'](_0x4fce38['shift']());}}}(_0xad8d,0x9e890));export*from'./file';export*from'./friend';function _0xad8d(){var _0x44de3f=['663111jVmUpR','1279588ttrcct','665744ZpGGuS','3172335JciHUa','1914258inlLlI','35diurnl','1244804ogAozF','12pblUWD','1015021nHFNLT','2lZwcnX','20KHZQAM'];_0xad8d=function(){return _0x44de3f;};return _0xad8d();}export*from'./group';function _0xd9fa(_0x3181ba,_0x24cc98){var _0xad8d4a=_0xad8d();return _0xd9fa=function(_0xd9fa84,_0x28d717){_0xd9fa84=_0xd9fa84-0xe4;var _0x266ec1=_0xad8d4a[_0xd9fa84];return _0x266ec1;},_0xd9fa(_0x3181ba,_0x24cc98);}export*from'./msg';export*from'./user';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 3a46b679..b6ad300d 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x4c47cf=_0x4060;(function(_0x16e9a5,_0x24f5c1){const _0xe39c40=_0x4060,_0xe8f8aa=_0x16e9a5();while(!![]){try{const _0x4ad904=parseInt(_0xe39c40(0x201))/0x1+-parseInt(_0xe39c40(0x202))/0x2+parseInt(_0xe39c40(0x1bd))/0x3*(-parseInt(_0xe39c40(0x1c3))/0x4)+parseInt(_0xe39c40(0x1ff))/0x5+parseInt(_0xe39c40(0x1ee))/0x6*(-parseInt(_0xe39c40(0x1f2))/0x7)+-parseInt(_0xe39c40(0x1e5))/0x8*(parseInt(_0xe39c40(0x1f1))/0x9)+parseInt(_0xe39c40(0x1cb))/0xa*(parseInt(_0xe39c40(0x1b8))/0xb);if(_0x4ad904===_0x24f5c1)break;else _0xe8f8aa['push'](_0xe8f8aa['shift']());}catch(_0x130e11){_0xe8f8aa['push'](_0xe8f8aa['shift']());}}}(_0x4567,0xde4c8));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[_0x4c47cf(0x1cf)]=_0x5dec90=>{const _0x3522ef=_0x4c47cf,_0x5f20da={'LMyIH':function(_0x5a5292,_0x2308a3){return _0x5a5292(_0x2308a3);}};for(const [_0x318fd8,_0xf2abd1]of GroupFileInfoUpdateTasks){_0x5f20da[_0x3522ef(0x1c4)](_0xf2abd1,_0x5dec90),GroupFileInfoUpdateTasks[_0x3522ef(0x1d9)](_0x318fd8);}},msgListener[_0x4c47cf(0x1f3)]=_0x40caba=>{const _0x8e57a1=_0x4c47cf,_0x535a0f={'nKQgN':function(_0x49f3d7,_0x335b4d){return _0x49f3d7 instanceof _0x335b4d;}};for(const [_0x42891e,_0x1d5c21]of sentMsgTasks){_0x1d5c21(_0x40caba),sentMsgTasks[_0x8e57a1(0x1d9)](_0x42891e);}if(sendMessagePool[_0x40caba[_0x8e57a1(0x1f9)]]){const _0x36ed80=sendMessagePool[_0x40caba[_0x8e57a1(0x1f9)]]?.(_0x40caba);_0x535a0f['nKQgN'](_0x36ed80,Promise)&&_0x36ed80[_0x8e57a1(0x1c5)]()['catch'](logError);}},msgListener[_0x4c47cf(0x1d4)]=_0x1cf92c=>{const _0x3248c0=_0x4c47cf,_0xbf7980={'iZOcb':function(_0x3e7ca5,_0x4ae40c){return _0x3e7ca5 instanceof _0x4ae40c;}};_0x1cf92c[_0x3248c0(0x1fa)](_0x1b5958=>{const _0x5b247a=_0x3248c0,_0x212634={'wJRyR':function(_0x250dc6,_0x49cf62){const _0x14f637=_0x4060;return _0xbf7980[_0x14f637(0x1bf)](_0x250dc6,_0x49cf62);},'ImbpX':function(_0x49b809,_0x1470c1){return _0x49b809(_0x1470c1);}};new Promise((_0x4c8a25,_0x5542b1)=>{const _0x1e7773=_0x4060;for(const _0x538987 in sendSuccessCBMap){const _0x9b003=sendSuccessCBMap[_0x538987],_0x27f543=_0x9b003(_0x1b5958),_0x8f008c=_0x42a154=>{_0x42a154&&delete sendSuccessCBMap[_0x538987];};_0x212634[_0x1e7773(0x1f4)](_0x27f543,Promise)?_0x27f543[_0x1e7773(0x1c5)](_0x8f008c):_0x212634[_0x1e7773(0x1b7)](_0x8f008c,_0x27f543);}})[_0x5b247a(0x1c5)]()[_0x5b247a(0x1da)](log);});},setTimeout(()=>{const _0xf3d346=_0x4c47cf;napCatCore[_0xf3d346(0x1cc)](()=>{const _0x1f3974=_0xf3d346;napCatCore[_0x1f3974(0x1c8)](msgListener);});},0x64);function _0x4060(_0x12e3d7,_0x37b1dc){const _0x4567a0=_0x4567();return _0x4060=function(_0x406027,_0x165ba5){_0x406027=_0x406027-0x1b3;let _0xe93dd1=_0x4567a0[_0x406027];return _0xe93dd1;},_0x4060(_0x12e3d7,_0x37b1dc);}export class NTQQMsgApi{static async[_0x4c47cf(0x1e4)](_0x5627a6,_0x19775e,_0x58bb3e,_0xd5a33=!![]){const _0x3214d4=_0x4c47cf,_0x775a5f={'dQDDZ':function(_0x5ab496,_0x12cf28){return _0x5ab496>_0x12cf28;}};return _0x58bb3e=_0x58bb3e[_0x3214d4(0x1fd)](),napCatCore[_0x3214d4(0x1eb)]['getMsgService']()[_0x3214d4(0x1ba)](_0x5627a6,_0x19775e,_0x58bb3e,_0x775a5f[_0x3214d4(0x1c9)](_0x58bb3e[_0x3214d4(0x1c7)],0x3)?'2':'1',_0xd5a33);}static async[_0x4c47cf(0x1e1)](_0x570dde,_0x1977e7,_0x4290e7){const _0x39f8d9=_0x4c47cf;return napCatCore['session']['getMsgService']()[_0x39f8d9(0x1e1)](_0x570dde,_0x1977e7,_0x4290e7);}static async[_0x4c47cf(0x1f0)](_0x41d8c9,_0x1f0117){const _0x3deb1e=_0x4c47cf;return await napCatCore[_0x3deb1e(0x1eb)][_0x3deb1e(0x1b4)]()['getMsgsByMsgId'](_0x41d8c9,_0x1f0117);}static async[_0x4c47cf(0x200)](_0x4cc13e,_0x22b3b7,_0x3e11af,_0x23bca6,_0x4aea77){const _0x38f822=_0x4c47cf;return await napCatCore[_0x38f822(0x1eb)][_0x38f822(0x1b4)]()[_0x38f822(0x200)](_0x4cc13e,_0x22b3b7,_0x3e11af,_0x23bca6,_0x4aea77);}static async[_0x4c47cf(0x1fe)](_0x10670c){}static async[_0x4c47cf(0x1d1)](_0x48850f){}static async[_0x4c47cf(0x1dc)](_0x2bc053){const _0x56ea49=_0x4c47cf;return napCatCore[_0x56ea49(0x1eb)][_0x56ea49(0x1b4)]()[_0x56ea49(0x1dc)](_0x2bc053);}static async[_0x4c47cf(0x1ed)](_0x5e3eff,_0x254de6){const _0x47892b=_0x4c47cf,_0x4e079e={'DKXlR':_0x47892b(0x1ca),'rJpMY':function(_0x1383b9,_0x2e03f2,_0x3db04d){return _0x1383b9(_0x2e03f2,_0x3db04d);},'pgQmg':function(_0x513df0){return _0x513df0();}};return new Promise(async(_0x32d9af,_0x4e7eaf)=>{const _0x5b95c8=_0x47892b,_0x441d57={'dnpYr':_0x4e079e['DKXlR']};let _0x3f5c08=![];_0x4e079e[_0x5b95c8(0x1d3)](setTimeout,()=>{const _0x501709=_0x5b95c8;!_0x3f5c08&&_0x4e7eaf(_0x441d57[_0x501709(0x1f7)]);},0x1388);const _0x1e7eb9=_0x59be9e=>{const _0x1ca657=_0x5b95c8;_0x3f5c08=!![],_0x32d9af(_0x59be9e[_0x1ca657(0x1d7)]);};GroupFileInfoUpdateTasks['set'](_0x4e079e['pgQmg'](randomUUID),_0x1e7eb9),await napCatCore[_0x5b95c8(0x1eb)]['getRichMediaService']()[_0x5b95c8(0x1ed)](_0x5e3eff,_0x254de6);});}static async[_0x4c47cf(0x1f8)](_0x3af0d0,_0x48db2b,_0x3de2a8){const _0x5ad4ab=_0x4c47cf;return napCatCore[_0x5ad4ab(0x1eb)][_0x5ad4ab(0x1b4)]()[_0x5ad4ab(0x1e3)](_0x3af0d0,_0x48db2b,_0x3de2a8,!![]);}static async['fetchRecentContact'](){}static async[_0x4c47cf(0x1df)](_0x277936,_0x18d2fb){const _0x23d050=_0x4c47cf;await napCatCore[_0x23d050(0x1eb)][_0x23d050(0x1b4)]()[_0x23d050(0x1df)]({'chatType':_0x277936['chatType'],'peerUid':_0x277936['peerUid']},_0x18d2fb);}static async[_0x4c47cf(0x1ce)](_0x855714,_0xa7c710,_0x13aef4=!![],_0x21be6d=0x2710){const _0x53aae6=_0x4c47cf,_0x25dd7d={'JzLsr':function(_0x4e89cf,_0x20a8a1){return _0x4e89cf>_0x20a8a1;},'buycg':_0x53aae6(0x1c1),'tDnQb':function(_0x5472b9,_0xf97dc8){return _0x5472b9(_0xf97dc8);},'HIECy':function(_0x46aac9){return _0x46aac9();},'dYXhC':function(_0x35363f){return _0x35363f();},'NAxLW':function(_0x4556ad,_0x2bca48,_0x44b038){return _0x4556ad(_0x2bca48,_0x44b038);},'IVlhY':function(_0x4e4a90){return _0x4e4a90();}},_0x28acfc=_0x855714[_0x53aae6(0x1f9)];let _0x6dcc1c=0x0;const _0xd5e188=async()=>{const _0xe36f0=_0x53aae6;if(_0x25dd7d[_0xe36f0(0x1e6)](_0x6dcc1c,_0x21be6d))throw _0x25dd7d[_0xe36f0(0x1bc)];const _0x19d35f=sendMessagePool[_0x855714[_0xe36f0(0x1f9)]];if(_0x19d35f)return await _0x25dd7d[_0xe36f0(0x1b5)](sleep,0x1f4),_0x6dcc1c+=0x1f4,await _0x25dd7d[_0xe36f0(0x1cd)](_0xd5e188);else return;};return await _0x25dd7d['IVlhY'](_0xd5e188),new Promise((_0x3de52c,_0x49d807)=>{const _0x96ae2d=_0x53aae6,_0x36cccf={'ekHvQ':function(_0x2738aa,_0x1d6618){return _0x2738aa===_0x1d6618;},'XhEqM':function(_0x352aab,_0x484f6c){return _0x352aab===_0x484f6c;},'OzihL':function(_0x3a2248,_0x4433ae){const _0x591392=_0x4060;return _0x25dd7d[_0x591392(0x1b5)](_0x3a2248,_0x4433ae);}};let _0x1ac4b2=![],_0x599ad9=null;const _0x411977=_0x25dd7d[_0x96ae2d(0x1d6)](randomUUID);sendSuccessCBMap[_0x411977]=_0x2cb66c=>{const _0x17cf1b=_0x96ae2d;if(_0x36cccf[_0x17cf1b(0x1c2)](_0x2cb66c[_0x17cf1b(0x1db)],_0x599ad9?.[_0x17cf1b(0x1db)])){if(_0x36cccf[_0x17cf1b(0x1c0)](_0x2cb66c[_0x17cf1b(0x1e8)],0x2))return delete sendSuccessCBMap[_0x411977],_0x1ac4b2=!![],_0x36cccf[_0x17cf1b(0x1b3)](_0x3de52c,_0x2cb66c),!![];return![];}return![];},sendMessagePool[_0x28acfc]=async _0x19665f=>{delete sendMessagePool[_0x28acfc],_0x599ad9=_0x19665f;},_0x25dd7d[_0x96ae2d(0x1d2)](setTimeout,()=>{const _0x244e12=_0x96ae2d;if(_0x1ac4b2)return;delete sendMessagePool[_0x28acfc],delete sendSuccessCBMap[_0x411977],_0x49d807(_0x244e12(0x1c1));},_0x21be6d);const _0x356516=napCatCore['session'][_0x96ae2d(0x1b4)]()[_0x96ae2d(0x1ce)]('0',_0x855714,_0xa7c710,new Map());});}static async['forwardMsg'](_0x1d620a,_0x5c3fd2,_0x686222){const _0x568604=_0x4c47cf;return napCatCore[_0x568604(0x1eb)][_0x568604(0x1b4)]()[_0x568604(0x1d0)](_0x686222,_0x1d620a,[_0x5c3fd2],new Map());}static async[_0x4c47cf(0x1e7)](_0x3583f1,_0x47ee26,_0x3de2b8){const _0x539d16=_0x4c47cf,_0x3bc090={'dJFwr':_0x539d16(0x1f5),'SysYU':_0x539d16(0x1f6),'ZGcxa':function(_0x2c8853,_0x20c63c){return _0x2c8853==_0x20c63c;},'JPvKq':function(_0xef8abd,_0x3fc947){return _0xef8abd==_0x3fc947;},'NGBGA':function(_0x288e16){return _0x288e16();},'ukmaV':function(_0x555099,_0x54bb90,_0xd0a31){return _0x555099(_0x54bb90,_0xd0a31);}},_0x339ba9=_0x3de2b8[_0x539d16(0x1c6)](_0x28a012=>{return{'msgId':_0x28a012,'senderShowName':selfInfo['nick']};});return new Promise((_0xbb24e0,_0x55b076)=>{const _0x338b9f=_0x539d16,_0x43658b={'iQrqV':_0x3bc090['SysYU'],'NYjpW':function(_0x39bae4,_0x444afa){const _0x3d509a=_0x4060;return _0x3bc090[_0x3d509a(0x1e9)](_0x39bae4,_0x444afa);},'qqQqX':function(_0x42484f,_0x4655b0){const _0x35e15f=_0x4060;return _0x3bc090[_0x35e15f(0x1bb)](_0x42484f,_0x4655b0);},'WszZR':function(_0x66fb65,_0x537461){return _0x66fb65(_0x537461);}};let _0x54ea21=![];const _0x576f31=_0xa9c498=>{const _0x1f6607=_0x4060,_0xa7c09d=_0xa9c498[_0x1f6607(0x1ef)][_0x1f6607(0x1e0)](_0x52b780=>_0x52b780['arkElement']);if(!_0xa7c09d)return;const _0x2229b0=JSON[_0x1f6607(0x1de)](_0xa7c09d[_0x1f6607(0x1fb)][_0x1f6607(0x1b6)]);if(_0x2229b0['app']!=_0x43658b[_0x1f6607(0x1e2)])return;_0x43658b[_0x1f6607(0x1be)](_0xa9c498['peerUid'],_0x47ee26[_0x1f6607(0x1f9)])&&_0x43658b['qqQqX'](_0xa9c498[_0x1f6607(0x1fc)],selfInfo[_0x1f6607(0x1ea)])&&(_0x54ea21=!![],_0x43658b[_0x1f6607(0x1d8)](_0xbb24e0,_0xa9c498));};sentMsgTasks[_0x338b9f(0x1dd)](_0x3bc090[_0x338b9f(0x1b9)](randomUUID),_0x576f31),_0x3bc090['ukmaV'](setTimeout,()=>{const _0x5300e6=_0x338b9f;!_0x54ea21&&_0x55b076(_0x3bc090[_0x5300e6(0x1ec)]);},0x1388),napCatCore[_0x338b9f(0x1eb)]['getMsgService']()[_0x338b9f(0x1d5)](_0x339ba9,_0x3583f1,_0x47ee26,[],new Map());});}}function _0x4567(){const _0x165279=['getMsgsBySeqAndCount','708345pizuvd','1314244MFmSBy','OzihL','getMsgService','tDnQb','bytesData','ImbpX','2651jgZUmV','NGBGA','setMsgEmojiLikes','JPvKq','buycg','2291031hTqCrd','NYjpW','iZOcb','XhEqM','发送超时','ekHvQ','4Etotmb','LMyIH','then','map','length','addListener','dQDDZ','获取群文件列表超时','76570GAcQOl','onLoginSuccess','HIECy','sendMsg','onGroupFileInfoUpdate','forwardMsg','activateChatAndGetHistory','NAxLW','rJpMY','onMsgInfoListUpdate','multiForwardMsgWithComment','dYXhC','item','WszZR','delete','catch','msgId','setMsgRead','set','parse','recallMsg','find','getMultiMsg','iQrqV','getMsgsIncludeSelf','setEmojiLike','607384CwYQjQ','JzLsr','multiForwardMsg','sendStatus','ZGcxa','uid','session','dJFwr','getGroupFileList','474jVCpDJ','elements','getMsgsByMsgId','171MOSVIU','658VAbqKp','onAddSendMsg','wJRyR','转发消息超时','com.tencent.multimsg','dnpYr','getMsgHistory','peerUid','forEach','arkElement','senderUid','toString','activateChat','6138080TKdiGu'];_0x4567=function(){return _0x165279;};return _0x4567();} \ No newline at end of file +const _0x3d1541=_0x4921;(function(_0x1d6f6e,_0x373bb9){const _0xd7f087=_0x4921,_0xbcd50c=_0x1d6f6e();while(!![]){try{const _0x5e5171=parseInt(_0xd7f087(0x117))/0x1*(-parseInt(_0xd7f087(0x123))/0x2)+-parseInt(_0xd7f087(0x147))/0x3+parseInt(_0xd7f087(0x129))/0x4+parseInt(_0xd7f087(0x11b))/0x5*(parseInt(_0xd7f087(0x119))/0x6)+-parseInt(_0xd7f087(0x113))/0x7+-parseInt(_0xd7f087(0x13d))/0x8+parseInt(_0xd7f087(0x120))/0x9;if(_0x5e5171===_0x373bb9)break;else _0xbcd50c['push'](_0xbcd50c['shift']());}catch(_0x50de17){_0xbcd50c['push'](_0xbcd50c['shift']());}}}(_0x46b6,0x2ed35));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();function _0x46b6(){const _0x3006d7=['tYLhu','转发消息超时','bYkVt','parse','activateChatAndGetHistory','getMsgHistory','getMsgsByMsgId','length','sendMsg','SHySO','session','2155024waXNIr','forwardMsg','vnNex','rchiu','onGroupFileInfoUpdate','mrRVB','delete','activateChat','FeAYX','sendStatus','772521XQRBxs','ntsZw','app','multiForwardMsg','msgId','getMsgService','onAddSendMsg','arkElement','uid','com.tencent.multimsg','vnGDg','获取群文件列表超时','dQiLl','bytesData','forEach','catch','map','senderUid','发送超时','peerUid','1678411gNnvZt','recallMsg','onLoginSuccess','wqgdr','1PqoKjn','gmtTr','494958wTrlha','Kyvdv','15eZEuTz','nick','setEmojiLike','ukvxY','QOjfw','7756389Peassv','multiForwardMsgWithComment','elements','724606pLWUgk','Milox','set','then','ygPkW','oxVlT','845832kDKFIH','getMultiMsg','fetchRecentContact','Vxoch','setMsgRead','setMsgEmojiLikes','getGroupFileList','xVmAi','aWLHn'];_0x46b6=function(){return _0x3006d7;};return _0x46b6();}function _0x4921(_0x5e3e79,_0x4ee62b){const _0x46b6c5=_0x46b6();return _0x4921=function(_0x492137,_0xdc01d6){_0x492137=_0x492137-0x10a;let _0x341880=_0x46b6c5[_0x492137];return _0x341880;},_0x4921(_0x5e3e79,_0x4ee62b);}msgListener[_0x3d1541(0x141)]=_0x597190=>{const _0x39d5e3=_0x3d1541;for(const [_0x2566f3,_0x2340eb]of GroupFileInfoUpdateTasks){_0x2340eb(_0x597190),GroupFileInfoUpdateTasks[_0x39d5e3(0x143)](_0x2566f3);}},msgListener[_0x3d1541(0x14d)]=_0x42160e=>{const _0x2e6b1a=_0x3d1541,_0x337218={'vnNex':function(_0x165a74,_0x5b44bf){return _0x165a74(_0x5b44bf);},'ukvxY':function(_0x3be8f9,_0x11a3fb){return _0x3be8f9 instanceof _0x11a3fb;}};for(const [_0x3484af,_0x5964b0]of sentMsgTasks){_0x337218[_0x2e6b1a(0x13f)](_0x5964b0,_0x42160e),sentMsgTasks[_0x2e6b1a(0x143)](_0x3484af);}if(sendMessagePool[_0x42160e[_0x2e6b1a(0x112)]]){const _0x4b6172=sendMessagePool[_0x42160e[_0x2e6b1a(0x112)]]?.(_0x42160e);_0x337218[_0x2e6b1a(0x11e)](_0x4b6172,Promise)&&_0x4b6172[_0x2e6b1a(0x126)]()[_0x2e6b1a(0x10e)](logError);}},msgListener['onMsgInfoListUpdate']=_0x5f01b5=>{const _0x1d21e9=_0x3d1541,_0x1a3e5f={'QOjfw':function(_0x263b42,_0x2d3b62){return _0x263b42(_0x2d3b62);},'xVmAi':function(_0x2817a3,_0x5473b6){return _0x2817a3 instanceof _0x5473b6;},'SHySO':function(_0x592ada,_0x26b40a){return _0x592ada(_0x26b40a);}};_0x5f01b5[_0x1d21e9(0x10d)](_0x31dbb3=>{const _0x1b33c1=_0x1d21e9;new Promise((_0x30de5e,_0x5b61a2)=>{const _0x156074=_0x4921;for(const _0x226ba0 in sendSuccessCBMap){const _0x47a2d0=sendSuccessCBMap[_0x226ba0],_0x18d314=_0x1a3e5f[_0x156074(0x11f)](_0x47a2d0,_0x31dbb3),_0x8d1dd2=_0x4faacc=>{_0x4faacc&&delete sendSuccessCBMap[_0x226ba0];};_0x1a3e5f[_0x156074(0x130)](_0x18d314,Promise)?_0x18d314['then'](_0x8d1dd2):_0x1a3e5f[_0x156074(0x13b)](_0x8d1dd2,_0x18d314);}})[_0x1b33c1(0x126)]()[_0x1b33c1(0x10e)](log);});},setTimeout(()=>{const _0x1467cd=_0x3d1541;napCatCore[_0x1467cd(0x115)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x3d1541(0x11d)](_0x19206c,_0x1c503e,_0x2eb15e,_0x523a96=!![]){const _0xec7222=_0x3d1541,_0x414d53={'Milox':function(_0x5b4e98,_0x49e6a2){return _0x5b4e98>_0x49e6a2;}};return _0x2eb15e=_0x2eb15e['toString'](),napCatCore[_0xec7222(0x13c)]['getMsgService']()[_0xec7222(0x12e)](_0x19206c,_0x1c503e,_0x2eb15e,_0x414d53[_0xec7222(0x124)](_0x2eb15e[_0xec7222(0x139)],0x3)?'2':'1',_0x523a96);}static async[_0x3d1541(0x12a)](_0x283b9d,_0x5084ef,_0x252978){const _0x459082=_0x3d1541;return napCatCore[_0x459082(0x13c)]['getMsgService']()['getMultiMsg'](_0x283b9d,_0x5084ef,_0x252978);}static async[_0x3d1541(0x138)](_0x16bf75,_0x3bf903){const _0x103f99=_0x3d1541;return await napCatCore['session'][_0x103f99(0x14c)]()['getMsgsByMsgId'](_0x16bf75,_0x3bf903);}static async['getMsgsBySeqAndCount'](_0x47b512,_0x5248cd,_0x559d4c,_0x3ab1d9,_0x4c293d){const _0x32db53=_0x3d1541;return await napCatCore[_0x32db53(0x13c)]['getMsgService']()['getMsgsBySeqAndCount'](_0x47b512,_0x5248cd,_0x559d4c,_0x3ab1d9,_0x4c293d);}static async[_0x3d1541(0x144)](_0x47131e){}static async[_0x3d1541(0x136)](_0x621b75){}static async[_0x3d1541(0x12d)](_0x1e0637){const _0x266aaf=_0x3d1541;return napCatCore[_0x266aaf(0x13c)][_0x266aaf(0x14c)]()['setMsgRead'](_0x1e0637);}static async['getGroupFileList'](_0x11a670,_0x30d3ca){const _0x3e7576=_0x3d1541,_0x3493dd={'rchiu':function(_0x37092d,_0x1260be){return _0x37092d(_0x1260be);},'oxVlT':_0x3e7576(0x10a),'bYkVt':function(_0x58ccb6,_0x2f3a4b,_0x1766c1){return _0x58ccb6(_0x2f3a4b,_0x1766c1);},'Kyvdv':function(_0xf63802){return _0xf63802();}};return new Promise(async(_0xe41731,_0x40300d)=>{const _0x44b9b9=_0x3e7576;let _0x2a6bb=![];_0x3493dd[_0x44b9b9(0x134)](setTimeout,()=>{const _0x3c0537=_0x44b9b9;!_0x2a6bb&&_0x3493dd[_0x3c0537(0x140)](_0x40300d,_0x3493dd[_0x3c0537(0x128)]);},0x1388);const _0x1dfccf=_0x57c278=>{const _0x158c3f=_0x44b9b9;_0x2a6bb=!![],_0x3493dd[_0x158c3f(0x140)](_0xe41731,_0x57c278['item']);};GroupFileInfoUpdateTasks[_0x44b9b9(0x125)](_0x3493dd[_0x44b9b9(0x11a)](randomUUID),_0x1dfccf),await napCatCore[_0x44b9b9(0x13c)]['getRichMediaService']()[_0x44b9b9(0x12f)](_0x11a670,_0x30d3ca);});}static async[_0x3d1541(0x137)](_0x2b6214,_0x202b2e,_0x3ac1e9){const _0x531103=_0x3d1541;return napCatCore[_0x531103(0x13c)][_0x531103(0x14c)]()['getMsgsIncludeSelf'](_0x2b6214,_0x202b2e,_0x3ac1e9,!![]);}static async[_0x3d1541(0x12b)](){}static async[_0x3d1541(0x114)](_0x2b74b4,_0x55886a){const _0x55dc2a=_0x3d1541;await napCatCore[_0x55dc2a(0x13c)][_0x55dc2a(0x14c)]()['recallMsg']({'chatType':_0x2b74b4['chatType'],'peerUid':_0x2b74b4['peerUid']},_0x55886a);}static async['sendMsg'](_0x4aac21,_0xc81c03,_0x50f657=!![],_0x5b3a9e=0x2710){const _0x218c82=_0x3d1541,_0x1b2bba={'gmtTr':function(_0x5d7333,_0x18e8fd){return _0x5d7333>_0x18e8fd;},'FeAYX':_0x218c82(0x111),'vnGDg':function(_0x3c2d7d,_0x1f6d4f){return _0x3c2d7d(_0x1f6d4f);},'anOii':function(_0x12b17b,_0x5931af){return _0x12b17b===_0x5931af;},'wqgdr':function(_0x7f73e8){return _0x7f73e8();},'mrRVB':function(_0x2d992b,_0x2063f2,_0x245aa6){return _0x2d992b(_0x2063f2,_0x245aa6);}},_0x2d2f61=_0x4aac21[_0x218c82(0x112)];let _0x561653=0x0;const _0x4d7777=async()=>{const _0x48980e=_0x218c82;if(_0x1b2bba[_0x48980e(0x118)](_0x561653,_0x5b3a9e))throw _0x1b2bba[_0x48980e(0x145)];const _0x250f8f=sendMessagePool[_0x4aac21['peerUid']];if(_0x250f8f)return await _0x1b2bba['vnGDg'](sleep,0x1f4),_0x561653+=0x1f4,await _0x4d7777();else return;};return await _0x1b2bba[_0x218c82(0x116)](_0x4d7777),new Promise((_0x1bf98d,_0x40f693)=>{const _0x57fe1b=_0x218c82;let _0x252e02=![],_0x3e3f9e=null;const _0x5e5d36=_0x1b2bba[_0x57fe1b(0x116)](randomUUID);sendSuccessCBMap[_0x5e5d36]=_0x4e3036=>{const _0x46f6e8=_0x57fe1b;if(_0x1b2bba['anOii'](_0x4e3036[_0x46f6e8(0x14b)],_0x3e3f9e?.['msgId'])){if(_0x4e3036[_0x46f6e8(0x146)]===0x2)return delete sendSuccessCBMap[_0x5e5d36],_0x252e02=!![],_0x1b2bba[_0x46f6e8(0x151)](_0x1bf98d,_0x4e3036),!![];return![];}return![];},sendMessagePool[_0x2d2f61]=async _0x47733c=>{delete sendMessagePool[_0x2d2f61],_0x3e3f9e=_0x47733c;},_0x1b2bba[_0x57fe1b(0x142)](setTimeout,()=>{const _0x411c87=_0x57fe1b;if(_0x252e02)return;delete sendMessagePool[_0x2d2f61],delete sendSuccessCBMap[_0x5e5d36],_0x1b2bba[_0x411c87(0x151)](_0x40f693,_0x411c87(0x111));},_0x5b3a9e);const _0x3d8551=napCatCore['session']['getMsgService']()[_0x57fe1b(0x13a)]('0',_0x4aac21,_0xc81c03,new Map());});}static async['forwardMsg'](_0x2c9be2,_0x5d8bac,_0x253731){const _0x590e33=_0x3d1541;return napCatCore[_0x590e33(0x13c)][_0x590e33(0x14c)]()[_0x590e33(0x13e)](_0x253731,_0x2c9be2,[_0x5d8bac],new Map());}static async[_0x3d1541(0x14a)](_0x2e68f2,_0xf62f94,_0xea18ab){const _0x557fa9=_0x3d1541,_0x1043a8={'RuXfV':function(_0x405591,_0x5eb9c4){return _0x405591!=_0x5eb9c4;},'aWLHn':_0x557fa9(0x150),'ntsZw':function(_0x3758e1,_0x8b18e5){return _0x3758e1==_0x8b18e5;},'tYLhu':function(_0xa59eb5,_0x173e3b){return _0xa59eb5(_0x173e3b);},'dQiLl':function(_0x5e1b5b,_0x28f75f){return _0x5e1b5b(_0x28f75f);},'ygPkW':function(_0x20b6c){return _0x20b6c();},'Vxoch':function(_0x88e298,_0x26d5c4,_0x12e402){return _0x88e298(_0x26d5c4,_0x12e402);}},_0x4a7085=_0xea18ab[_0x557fa9(0x10f)](_0x47878e=>{const _0xc3e8e9=_0x557fa9;return{'msgId':_0x47878e,'senderShowName':selfInfo[_0xc3e8e9(0x11c)]};});return new Promise((_0x590201,_0x2df969)=>{const _0x2a51d6=_0x557fa9;let _0x415f15=![];const _0x1d70e8=_0xf7dfff=>{const _0x399f4e=_0x4921,_0x142905=_0xf7dfff[_0x399f4e(0x122)]['find'](_0x2ddd2b=>_0x2ddd2b[_0x399f4e(0x14e)]);if(!_0x142905)return;const _0x599eb7=JSON[_0x399f4e(0x135)](_0x142905['arkElement'][_0x399f4e(0x10c)]);if(_0x1043a8['RuXfV'](_0x599eb7[_0x399f4e(0x149)],_0x1043a8[_0x399f4e(0x131)]))return;_0xf7dfff[_0x399f4e(0x112)]==_0xf62f94[_0x399f4e(0x112)]&&_0x1043a8[_0x399f4e(0x148)](_0xf7dfff[_0x399f4e(0x110)],selfInfo[_0x399f4e(0x14f)])&&(_0x415f15=!![],_0x1043a8[_0x399f4e(0x132)](_0x590201,_0xf7dfff));};sentMsgTasks[_0x2a51d6(0x125)](_0x1043a8[_0x2a51d6(0x127)](randomUUID),_0x1d70e8),_0x1043a8[_0x2a51d6(0x12c)](setTimeout,()=>{const _0x31b903=_0x2a51d6;!_0x415f15&&_0x1043a8[_0x31b903(0x10b)](_0x2df969,_0x31b903(0x133));},0x1388),napCatCore[_0x2a51d6(0x13c)]['getMsgService']()[_0x2a51d6(0x121)](_0x4a7085,_0x2e68f2,_0xf62f94,[],new Map());});}} \ 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 a91a6a28..0c3bf028 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x20e53,_0x44a671){const _0x3c4950=_0x36eb,_0x34461c=_0x20e53();while(!![]){try{const _0x5c8240=parseInt(_0x3c4950(0x1a0))/0x1*(parseInt(_0x3c4950(0x188))/0x2)+parseInt(_0x3c4950(0x180))/0x3*(parseInt(_0x3c4950(0x195))/0x4)+parseInt(_0x3c4950(0x186))/0x5+parseInt(_0x3c4950(0x1a4))/0x6+-parseInt(_0x3c4950(0x1ae))/0x7*(-parseInt(_0x3c4950(0x182))/0x8)+-parseInt(_0x3c4950(0x1aa))/0x9*(-parseInt(_0x3c4950(0x1a6))/0xa)+-parseInt(_0x3c4950(0x19f))/0xb;if(_0x5c8240===_0x44a671)break;else _0x34461c['push'](_0x34461c['shift']());}catch(_0x189fca){_0x34461c['push'](_0x34461c['shift']());}}}(_0x4e6a,0xafa06));import{logDebug}from'@/common/utils/log';function _0x36eb(_0x4f2b63,_0x26b195){const _0x4e6abf=_0x4e6a();return _0x36eb=function(_0x36eb97,_0x448a37){_0x36eb97=_0x36eb97-0x17e;let _0x3d85e5=_0x4e6abf[_0x36eb97];return _0x3d85e5;},_0x36eb(_0x4f2b63,_0x26b195);}function _0x4e6a(){const _0x2407c8=['caVLb','replace','Doxbh','4994395yxEciI','HttpGetJson','897902VHIRjp','&ark=','cPgyb','data','sourcelogo','genBkn','prompt','source','LzxyR','preview','MiniApp\x20JSON\x20消息生成失败','ymhUG',';\x20uin=o','4ivyqQP','tagIcon','rZcqb','JIdUf','lWUDk','GET','TxxNO','uin','getSkey','normal','26352326maANsU','2pcjBml','getQzoneCookies','NJbwP','signed_ark','1030902keiGdM','IzSFN','100pDSLId','tianxuan.imgJumpArk','com.tencent.miniapp.lua','\x5c/\x5c/','899523cMjMjb','tag','p_skey=','p_skey','3633dEAzgY','title','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','49029afxtrc',';\x20p_uin=o','472ixjTBQ'];_0x4e6a=function(){return _0x2407c8;};return _0x4e6a();}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0xa48656){const _0x554623=_0x36eb,_0x43d22d={'NJbwP':_0x554623(0x1a8),'ymhUG':_0x554623(0x1a7),'jpHwD':_0x554623(0x19e),'rZcqb':_0x554623(0x1a9),'Doxbh':function(_0x44e41f,_0x22ebd6){return _0x44e41f+_0x22ebd6;},'mhWEc':_0x554623(0x1ac),'TxxNO':_0x554623(0x181),'lWUDk':_0x554623(0x194),'IzSFN':function(_0x50fd9f,_0x18c451){return _0x50fd9f+_0x18c451;},'JIdUf':_0x554623(0x17f),'PfhiY':_0x554623(0x189),'LzxyR':_0x554623(0x19a),'cPgyb':function(_0x3ac952,_0xc9d6a1,_0x3ff25b){return _0x3ac952(_0xc9d6a1,_0x3ff25b);},'caVLb':_0x554623(0x192)};let _0xf9d472={'app':_0x43d22d[_0x554623(0x1a2)],'bizsrc':_0x43d22d[_0x554623(0x193)],'view':'miniapp','prompt':_0xa48656[_0x554623(0x18e)],'config':{'type':_0x43d22d['jpHwD'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0xa48656[_0x554623(0x17e)],'preview':_0xa48656[_0x554623(0x191)][_0x554623(0x184)](/\\/g,'\x5c/\x5c/'),'jumpUrl':_0xa48656['jumpUrl'][_0x554623(0x184)](/\\/g,_0x43d22d[_0x554623(0x197)]),'tag':_0xa48656[_0x554623(0x1ab)],'tagIcon':_0xa48656[_0x554623(0x196)]['replace'](/\\/g,_0x43d22d[_0x554623(0x197)]),'source':_0xa48656[_0x554623(0x18f)],'sourcelogo':_0xa48656[_0x554623(0x18c)][_0x554623(0x184)](/\\/g,_0x43d22d[_0x554623(0x197)])}}};const _0x38ea06=await NTQQUserApi[_0x554623(0x19d)]();let _0x5c8356=await NTQQUserApi[_0x554623(0x1a1)]();const _0x211a50=WebApi[_0x554623(0x18d)](_0x5c8356[_0x554623(0x1ad)]),_0x48828b=_0x43d22d['Doxbh'](_0x43d22d[_0x554623(0x185)](_0x43d22d[_0x554623(0x185)](_0x43d22d[_0x554623(0x185)](_0x43d22d['mhWEc'],_0x5c8356['p_skey'])+';\x20skey=',_0x5c8356['skey']),_0x43d22d[_0x554623(0x19b)]),selfInfo['uin'])+_0x43d22d[_0x554623(0x199)]+selfInfo[_0x554623(0x19c)];let _0x508e46=_0x43d22d[_0x554623(0x185)](_0x43d22d['IzSFN'](_0x43d22d[_0x554623(0x1a5)](_0x43d22d[_0x554623(0x198)],_0x211a50),_0x43d22d['PfhiY']),encodeURIComponent(JSON['stringify'](_0xf9d472))),_0x35bdbd='';try{let _0x480b61=await RequestUtil[_0x554623(0x187)](_0x508e46,_0x43d22d[_0x554623(0x190)],undefined,{'Cookie':_0x48828b});_0x35bdbd=_0x480b61[_0x554623(0x18b)][_0x554623(0x1a3)];}catch(_0x5a463b){_0x43d22d[_0x554623(0x18a)](logDebug,_0x43d22d[_0x554623(0x183)],_0x5a463b);}return _0x35bdbd;} \ No newline at end of file +(function(_0x27eb39,_0x542bba){const _0x12a1af=_0xe1fa,_0x175cf9=_0x27eb39();while(!![]){try{const _0x38f769=parseInt(_0x12a1af(0x205))/0x1*(-parseInt(_0x12a1af(0x1f8))/0x2)+parseInt(_0x12a1af(0x1ec))/0x3+-parseInt(_0x12a1af(0x1f0))/0x4+parseInt(_0x12a1af(0x1fe))/0x5*(-parseInt(_0x12a1af(0x1fc))/0x6)+parseInt(_0x12a1af(0x1fa))/0x7*(parseInt(_0x12a1af(0x209))/0x8)+-parseInt(_0x12a1af(0x1f7))/0x9+-parseInt(_0x12a1af(0x1ee))/0xa*(-parseInt(_0x12a1af(0x1fb))/0xb);if(_0x38f769===_0x542bba)break;else _0x175cf9['push'](_0x175cf9['shift']());}catch(_0x5544a5){_0x175cf9['push'](_0x175cf9['shift']());}}}(_0x2672,0xcfa11));function _0xe1fa(_0xf6f19f,_0x32e6da){const _0x267226=_0x2672();return _0xe1fa=function(_0xe1fa92,_0x36c397){_0xe1fa92=_0xe1fa92-0x1e8;let _0x5ca5de=_0x267226[_0xe1fa92];return _0x5ca5de;},_0xe1fa(_0xf6f19f,_0x32e6da);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x2672(){const _0x106989=['594298oubhrF','miniapp','2487737HHIxEf','33mIJSlL','2478vAEjzy','&ark=','2465uHqgON','MlPMD','title','XUYjE','getSkey','adqAQ','jumpUrl','2bPoHyP','source','p_skey','RKvGm','8PqfPGb','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','com.tencent.miniapp.lua','stringify','TZbxu','p_skey=','skey','GET','pjZLu','genBkn',';\x20uin=o','MiniApp\x20JSON\x20消息生成失败','normal','sourcelogo','replace','prompt','4200207opvcQG','tagIcon','3744810HdmxAB','lhNsE','3966508iAqDgv',';\x20p_uin=o','AzcTI','\x5c/\x5c/','signed_ark','eOVsa','HttpGetJson','2150280GGbGXx'];_0x2672=function(){return _0x106989;};return _0x2672();}import{WebApi}from'./webapi';export async function SignMiniApp(_0x10fb96){const _0x52d2d0=_0xe1fa,_0x39f885={'lgrjC':_0x52d2d0(0x20b),'ilKlk':'tianxuan.imgJumpArk','pjZLu':_0x52d2d0(0x1e8),'eOVsa':_0x52d2d0(0x1f3),'TZbxu':function(_0x15c78d,_0x18c2bb){return _0x15c78d+_0x18c2bb;},'adqAQ':function(_0x345eab,_0x5c3670){return _0x345eab+_0x5c3670;},'XUYjE':function(_0x16c3e6,_0x2741a7){return _0x16c3e6+_0x2741a7;},'lhNsE':_0x52d2d0(0x20e),'MlPMD':';\x20skey=','UJUgU':function(_0x25ea5d,_0x46f011){return _0x25ea5d+_0x46f011;},'AzcTI':_0x52d2d0(0x20a),'RKvGm':_0x52d2d0(0x210),'drexj':function(_0x367153,_0x10fa1e,_0x5eed6b){return _0x367153(_0x10fa1e,_0x5eed6b);},'tHuRn':_0x52d2d0(0x214)};let _0x325284={'app':_0x39f885['lgrjC'],'bizsrc':_0x39f885['ilKlk'],'view':_0x52d2d0(0x1f9),'prompt':_0x10fb96[_0x52d2d0(0x1eb)],'config':{'type':_0x39f885[_0x52d2d0(0x211)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x10fb96[_0x52d2d0(0x200)],'preview':_0x10fb96['preview']['replace'](/\\/g,_0x39f885['eOVsa']),'jumpUrl':_0x10fb96[_0x52d2d0(0x204)][_0x52d2d0(0x1ea)](/\\/g,_0x39f885['eOVsa']),'tag':_0x10fb96['tag'],'tagIcon':_0x10fb96[_0x52d2d0(0x1ed)][_0x52d2d0(0x1ea)](/\\/g,_0x39f885[_0x52d2d0(0x1f5)]),'source':_0x10fb96[_0x52d2d0(0x206)],'sourcelogo':_0x10fb96[_0x52d2d0(0x1e9)][_0x52d2d0(0x1ea)](/\\/g,_0x39f885[_0x52d2d0(0x1f5)])}}};const _0x4adfae=await NTQQUserApi[_0x52d2d0(0x202)]();let _0x379f9a=await NTQQUserApi['getQzoneCookies']();const _0x298193=WebApi[_0x52d2d0(0x212)](_0x379f9a['p_skey']),_0x5a071d=_0x39f885['TZbxu'](_0x39f885[_0x52d2d0(0x203)](_0x39f885[_0x52d2d0(0x20d)](_0x39f885[_0x52d2d0(0x20d)](_0x39f885[_0x52d2d0(0x201)](_0x39f885[_0x52d2d0(0x203)](_0x39f885[_0x52d2d0(0x1ef)],_0x379f9a[_0x52d2d0(0x207)]),_0x39f885[_0x52d2d0(0x1ff)])+_0x379f9a[_0x52d2d0(0x20f)],_0x52d2d0(0x1f1)),selfInfo['uin']),_0x52d2d0(0x213)),selfInfo['uin']);let _0x572d7b=_0x39f885['adqAQ'](_0x39f885['UJUgU'](_0x39f885[_0x52d2d0(0x1f2)],_0x298193),_0x52d2d0(0x1fd))+encodeURIComponent(JSON[_0x52d2d0(0x20c)](_0x325284)),_0x22a2b5='';try{let _0x3027d7=await RequestUtil[_0x52d2d0(0x1f6)](_0x572d7b,_0x39f885[_0x52d2d0(0x208)],undefined,{'Cookie':_0x5a071d});_0x22a2b5=_0x3027d7['data'][_0x52d2d0(0x1f4)];}catch(_0x4a59cb){_0x39f885['drexj'](logDebug,_0x39f885['tHuRn'],_0x4a59cb);}return _0x22a2b5;} \ 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 140ea08a..12941a8e 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x1aa2(_0x50b9f0,_0x206954){const _0x2b3adb=_0x2b3a();return _0x1aa2=function(_0x1aa265,_0xd1bee5){_0x1aa265=_0x1aa265-0x1ef;let _0x2a8504=_0x2b3adb[_0x1aa265];return _0x2a8504;},_0x1aa2(_0x50b9f0,_0x206954);}const _0x5a5a43=_0x1aa2;(function(_0x43b903,_0x3abc81){const _0x1a7a83=_0x1aa2,_0x472404=_0x43b903();while(!![]){try{const _0x178a18=-parseInt(_0x1a7a83(0x1f0))/0x1*(-parseInt(_0x1a7a83(0x200))/0x2)+parseInt(_0x1a7a83(0x1f5))/0x3*(parseInt(_0x1a7a83(0x203))/0x4)+parseInt(_0x1a7a83(0x1f1))/0x5*(parseInt(_0x1a7a83(0x1f8))/0x6)+parseInt(_0x1a7a83(0x1f6))/0x7+-parseInt(_0x1a7a83(0x1fc))/0x8+parseInt(_0x1a7a83(0x201))/0x9*(-parseInt(_0x1a7a83(0x1f4))/0xa)+-parseInt(_0x1a7a83(0x1f9))/0xb;if(_0x178a18===_0x3abc81)break;else _0x472404['push'](_0x472404['shift']());}catch(_0x33b0f3){_0x472404['push'](_0x472404['shift']());}}}(_0x2b3a,0xd1349));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x2b3a(){const _0x4920a9=['7099220IKmlna','5685HCyRrC','6314497XoDxyG','NodeIKernelCollectionService/collectionArkShare','2106FdNUXd','18051473GpEGII','CallNoListenerEvent','session','3424472KUllEx','util','ORCImage','getRichMediaService','1136334uICroi','9nOjnyb','hasOtherRunningQQProcess','2280ZMDaUl','getArkJsonCollection','translateEnWordToZn','2OqYySn','7370VVUjOo','wantWinScreenOCR','1717662698058'];_0x2b3a=function(){return _0x4920a9;};return _0x2b3a();}export class NTQQSystemApi{static async[_0x5a5a43(0x202)](){const _0xef17d5=_0x5a5a43;return napCatCore[_0xef17d5(0x1fd)][_0xef17d5(0x202)]();}static async[_0x5a5a43(0x1fe)](_0x12308a){const _0x36f1de=_0x5a5a43;return napCatCore[_0x36f1de(0x1fb)]['getNodeMiscService']()[_0x36f1de(0x1f2)](_0x12308a);}static async[_0x5a5a43(0x1ef)](_0x463fd3){const _0x3cdf28=_0x5a5a43;return napCatCore[_0x3cdf28(0x1fb)][_0x3cdf28(0x1ff)]()[_0x3cdf28(0x1ef)](_0x463fd3);}static async['getOnlineDev'](){const _0x3a2be7=_0x5a5a43;return napCatCore[_0x3a2be7(0x1fb)]['getMsgService']()['getOnLineDev']();}static async[_0x5a5a43(0x204)](_0xa29db4){const _0x1037a4=_0x5a5a43,_0x2362a9={'fZuJZ':_0x1037a4(0x1f7),'Udofx':_0x1037a4(0x1f3)};let _0x4dae41=await NTEventDispatch[_0x1037a4(0x1fa)](_0x2362a9['fZuJZ'],0x1388,_0x2362a9['Udofx']);return _0x4dae41;}} \ No newline at end of file +const _0x3fc7b9=_0x384a;function _0x384a(_0x50589e,_0xbd758d){const _0x47095a=_0x4709();return _0x384a=function(_0x384a3d,_0x1b02dd){_0x384a3d=_0x384a3d-0x76;let _0x4b165e=_0x47095a[_0x384a3d];return _0x4b165e;},_0x384a(_0x50589e,_0xbd758d);}(function(_0x49bff2,_0x2ebc1e){const _0x3c9f83=_0x384a,_0x32eaff=_0x49bff2();while(!![]){try{const _0x3cc04d=parseInt(_0x3c9f83(0x7f))/0x1*(-parseInt(_0x3c9f83(0x7e))/0x2)+-parseInt(_0x3c9f83(0x87))/0x3+-parseInt(_0x3c9f83(0x81))/0x4*(-parseInt(_0x3c9f83(0x84))/0x5)+parseInt(_0x3c9f83(0x83))/0x6*(parseInt(_0x3c9f83(0x8c))/0x7)+-parseInt(_0x3c9f83(0x89))/0x8+parseInt(_0x3c9f83(0x7d))/0x9*(-parseInt(_0x3c9f83(0x8b))/0xa)+parseInt(_0x3c9f83(0x79))/0xb;if(_0x3cc04d===_0x2ebc1e)break;else _0x32eaff['push'](_0x32eaff['shift']());}catch(_0x1fee33){_0x32eaff['push'](_0x32eaff['shift']());}}}(_0x4709,0xae877));function _0x4709(){const _0x12cba7=['19896404jcGDXb','wantWinScreenOCR','translateEnWordToZn','TaqkD','522mgYaaa','654CCYpUT','1419VLNTQE','session','668Kzvzab','getArkJsonCollection','8138226uemieZ','31375PGVfOl','getRichMediaService','1717662698058','1456713HSlLvt','getOnlineDev','9512216qPGtpU','CallNoListenerEvent','234410omYkWn','7liviFl','util','getNodeMiscService','ORCImage','hasOtherRunningQQProcess'];_0x4709=function(){return _0x12cba7;};return _0x4709();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x3fc7b9(0x78)](){const _0x214987=_0x3fc7b9;return napCatCore[_0x214987(0x8d)][_0x214987(0x78)]();}static async[_0x3fc7b9(0x77)](_0x3d1f2f){const _0x7fc008=_0x3fc7b9;return napCatCore[_0x7fc008(0x80)][_0x7fc008(0x76)]()[_0x7fc008(0x7a)](_0x3d1f2f);}static async[_0x3fc7b9(0x7b)](_0x2294ed){const _0x589fdf=_0x3fc7b9;return napCatCore[_0x589fdf(0x80)][_0x589fdf(0x85)]()[_0x589fdf(0x7b)](_0x2294ed);}static async[_0x3fc7b9(0x88)](){const _0x188b11=_0x3fc7b9;return napCatCore[_0x188b11(0x80)]['getMsgService']()['getOnLineDev']();}static async[_0x3fc7b9(0x82)](_0xec65a2){const _0x1f9ecd=_0x3fc7b9,_0x28aba4={'TaqkD':'NodeIKernelCollectionService/collectionArkShare','tVFFZ':_0x1f9ecd(0x86)};let _0x1e6bde=await NTEventDispatch[_0x1f9ecd(0x8a)](_0x28aba4[_0x1f9ecd(0x7c)],0x1388,_0x28aba4['tVFFZ']);return _0x1e6bde;}} \ 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 89f8495b..f29586d4 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x2b3a66=_0x2293;(function(_0x615a64,_0x4e1bdb){const _0x14519e=_0x2293,_0x5295b4=_0x615a64();while(!![]){try{const _0x502982=parseInt(_0x14519e(0x163))/0x1+-parseInt(_0x14519e(0x17a))/0x2+parseInt(_0x14519e(0x16b))/0x3*(-parseInt(_0x14519e(0x17d))/0x4)+-parseInt(_0x14519e(0x172))/0x5+-parseInt(_0x14519e(0x18a))/0x6+parseInt(_0x14519e(0x1a8))/0x7+-parseInt(_0x14519e(0x158))/0x8*(-parseInt(_0x14519e(0x181))/0x9);if(_0x502982===_0x4e1bdb)break;else _0x5295b4['push'](_0x5295b4['shift']());}catch(_0x52f319){_0x5295b4['push'](_0x5295b4['shift']());}}}(_0x5db9,0x9e69a));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';function _0x5db9(){const _0x98b049=['getUserDetailInfo\x20timeout','getPSkey','getRobotService','cEhPh','CallNoListenerEvent','jQqAj','3OfOMbo','domainPskeyMap','set','%2Finfocenter&keyindex=19%27','oTqkR','YOmsr','uid','2674375sFHloz','clientKey','modifySelfProfile','getTicketService','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','session','PskeyTime','KeyIndex','2022250JQGbCl','setHeader','ynvjP','639384NUAvGo','getUinByUid','setStatus','bxGGw','5374413rRKXsJ','tLuHh','response','RmqMu','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','modifyDesktopMiniProfile','kCZlF','keyIndex','getMsgService','3077958lzhdkk','getBuddyRecommendContactArkJson','getProfileService','getRobotUinRange','getUserDetailInfo','errMsg','NodeIKernelUixConvertService/getUin','setLongNick','RQPhF','获取Pskey失败','cnMel','getUserDetailInfoByUin','setBuddyProfileLike','forEach','setSelfOnlineStatus','ClientKey','then','onLoginSuccess','oeYZp','getBuddyService','BktaE','Skey','Hcqpi','iwUTs','NodeIKernelProfileService/getUserDetailInfoByUin','push','getQzoneCookies','getTipOffService','getUserDetailInfoWithBizInfo','JFPlv','7545398GerCxA','now','robotUinRanges','getUserInfo','get','cdARF','tbqvs','getSelfInfo','&clientkey=','HttpsGetCookies','BUoff','getSkey','uin','PskeyData','result','pmrof','CreatTime','8yBzZzR','NodeIKernelUixConvertService/getUid','UkETX','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NOgTo','uidInfo','onProfileDetailInfoChanged','like','skey','getPskey','zGWdg','1192626bLznkY','otnnw'];_0x5db9=function(){return _0x98b049;};return _0x5db9();}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x2293(_0x4265b5,_0x2e9127){const _0x5db9fc=_0x5db9();return _0x2293=function(_0x2293af,_0x343960){_0x2293af=_0x2293af-0x14b;let _0x2fb44e=_0x5db9fc[_0x2293af];return _0x2fb44e;},_0x2293(_0x4265b5,_0x2e9127);}profileListener[_0x2b3a66(0x15e)]=_0x7629a4=>{const _0x22a25b=_0x2b3a66;userInfoCache[_0x7629a4[_0x22a25b(0x171)]]=_0x7629a4,userDetailHandlers[_0x22a25b(0x197)](_0x2347af=>_0x2347af(_0x7629a4));},setTimeout(()=>{const _0x4eb3a4=_0x2b3a66;napCatCore[_0x4eb3a4(0x19b)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2b3a66(0x191)](_0x2ec151){const _0x28c316=_0x2b3a66;return napCatCore[_0x28c316(0x177)][_0x28c316(0x18c)]()[_0x28c316(0x191)](_0x2ec151);}static async[_0x2b3a66(0x198)](_0x15e6c6,_0xbf9692,_0x42490f){const _0x346e99=_0x2b3a66;return napCatCore['session'][_0x346e99(0x189)]()[_0x346e99(0x17f)]({'status':_0x15e6c6,'extStatus':_0xbf9692,'batteryStatus':_0x42490f});}static async[_0x2b3a66(0x18b)](_0x13177c,_0x133580=''){const _0x438cca=_0x2b3a66;return napCatCore[_0x438cca(0x177)][_0x438cca(0x19d)]()[_0x438cca(0x18b)](_0x13177c,_0x133580);}static async[_0x2b3a66(0x15f)](_0x4b793f,_0x2c9c81=0x1){const _0x12a53b=_0x2b3a66;return napCatCore[_0x12a53b(0x177)]['getProfileLikeService']()[_0x12a53b(0x196)]({'friendUid':_0x4b793f,'sourceId':0x47,'doLikeCount':_0x2c9c81,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x35dc19){const _0x4b8054=_0x2b3a66,_0x2bffed=await napCatCore['session'][_0x4b8054(0x18c)]()[_0x4b8054(0x17b)](_0x35dc19);return{'result':_0x2bffed?.['result'],'errMsg':_0x2bffed?.[_0x4b8054(0x18f)]};}static async[_0x2b3a66(0x14e)](){}static async[_0x2b3a66(0x1ab)](_0x36222f){}static async[_0x2b3a66(0x18e)](_0x211811){const _0x563716=_0x2b3a66,_0x2d3faf={'kCZlF':function(_0x19a87f,_0x2156aa){return _0x19a87f(_0x2156aa);},'jQqAj':function(_0x12d8a5,_0x4dc536){return _0x12d8a5(_0x4dc536);},'BUoff':function(_0x5e9db8,_0x1cdcb9){return _0x5e9db8===_0x1cdcb9;},'JFPlv':function(_0x132295){return _0x132295();},'cdARF':function(_0x37c331,_0x387ac9,_0x369c58){return _0x37c331(_0x387ac9,_0x369c58);}},_0x35d643=napCatCore[_0x563716(0x177)]['getProfileService']();return new Promise((_0x43df42,_0x570d10)=>{const _0xcafbda=_0x563716,_0xc2851c={'cnMel':function(_0x8eafb2,_0x374b1c){const _0x24ac3d=_0x2293;return _0x2d3faf[_0x24ac3d(0x151)](_0x8eafb2,_0x374b1c);},'otnnw':function(_0xfb81a4,_0x470939){return _0x2d3faf['kCZlF'](_0xfb81a4,_0x470939);}},_0x24bb89=_0x2d3faf[_0xcafbda(0x1a7)](randomUUID);let _0x4532e7=![],_0x4eeb20=undefined,_0x10c39d=!![];_0x2d3faf[_0xcafbda(0x14c)](setTimeout,()=>{const _0x1b5dac=_0xcafbda;!_0x4532e7&&(_0x4eeb20?_0x2d3faf[_0x1b5dac(0x187)](_0x43df42,_0x4eeb20):_0x2d3faf[_0x1b5dac(0x16a)](_0x570d10,_0x1b5dac(0x165))),userDetailHandlers['delete'](_0x24bb89);},0x1388),userDetailHandlers[_0xcafbda(0x16d)](_0x24bb89,_0x8ebace=>{const _0x110072=_0xcafbda;_0xc2851c[_0x110072(0x194)](_0x8ebace[_0x110072(0x171)],_0x211811)&&(_0x10c39d?(_0x4eeb20=_0x8ebace,_0x10c39d=![]):(_0x4532e7=!![],_0xc2851c[_0x110072(0x164)](_0x43df42,_0x8ebace)));}),_0x35d643[_0xcafbda(0x1a6)](_0x211811,[0x0])[_0xcafbda(0x19a)](_0x2a72bc=>{});});}static async[_0x2b3a66(0x174)](_0x2b2515){const _0x4a7eaa=_0x2b3a66;return napCatCore[_0x4a7eaa(0x177)]['getProfileService']()[_0x4a7eaa(0x186)](_0x2b2515);}static async[_0x2b3a66(0x166)](_0x164841,_0x25b0b0=!![]){const _0x50314c=_0x2b3a66,_0x576a46={'YOmsr':function(_0x34576e,_0x1f5b21){return _0x34576e||_0x1f5b21;},'aRuYt':function(_0x16fdc5,_0x5b5f3e){return _0x16fdc5>_0x5b5f3e;},'zGWdg':function(_0x998f65,_0x3a2c59){return _0x998f65*_0x3a2c59;},'cEhPh':function(_0x5e44f9,_0x41375e){return _0x5e44f9>_0x41375e;},'BktaE':function(_0xead873,_0x235a5c){return _0xead873===_0x235a5c;},'wdjDH':function(_0x3fc792,_0x5b17c8,_0x369ca9){return _0x3fc792(_0x5b17c8,_0x369ca9);}},_0x2e8980=[],_0x2f9989={};for(const _0x2f7baa in _0x164841){const _0x44f596=Credentials['PskeyData'][_0x50314c(0x14b)](_0x164841[_0x2f7baa]),_0x337292=Credentials[_0x50314c(0x178)]['get'](_0x164841[_0x2f7baa]);_0x576a46[_0x50314c(0x170)](!_0x44f596,!_0x337292)||_0x576a46['aRuYt'](Date[_0x50314c(0x1a9)]()-_0x337292,_0x576a46[_0x50314c(0x162)](0x708,0x3e8))||!_0x25b0b0?_0x2e8980[_0x50314c(0x1a3)](_0x164841[_0x2f7baa]):_0x2f9989[_0x164841[_0x2f7baa]]=_0x44f596;}let _0x1d797c={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x576a46[_0x50314c(0x168)](_0x2e8980['length'],0x0)&&(_0x1d797c=await napCatCore[_0x50314c(0x177)][_0x50314c(0x1a5)]()[_0x50314c(0x161)](_0x2e8980,!![]));const _0x21669b=_0x1d797c[_0x50314c(0x16c)];for(const _0x1294e5 of _0x21669b['entries']()){Credentials[_0x50314c(0x154)][_0x50314c(0x16d)](_0x1294e5[0x0],_0x1294e5[0x1]),Credentials[_0x50314c(0x178)][_0x50314c(0x16d)](_0x1294e5[0x0],Date['now']());}const _0x37cfab=Object['assign'](Object['fromEntries'](_0x21669b),_0x2f9989);if(_0x576a46[_0x50314c(0x19e)](_0x1d797c[_0x50314c(0x155)],0x0))return _0x37cfab;else _0x576a46['wdjDH'](logError,_0x50314c(0x193),_0x1d797c[_0x50314c(0x18f)]);return{};}static async['getRobotUinRange'](){const _0x515117=_0x2b3a66,_0xbde5a6=await napCatCore['session'][_0x515117(0x167)]()[_0x515117(0x18d)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xbde5a6?.[_0x515117(0x183)]?.[_0x515117(0x1aa)];}static async[_0x2b3a66(0x1a4)](){const _0x528d05=_0x2b3a66,_0x43011f={'Hcqpi':function(_0x3e78bc,_0x285b77){return _0x3e78bc+_0x285b77;},'tLuHh':function(_0x107ddf,_0x4f1b18){return _0x107ddf+_0x4f1b18;},'UkETX':function(_0x39431a,_0x30ec5f){return _0x39431a+_0x30ec5f;},'oTqkR':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','BYDtf':_0x528d05(0x15b),'bxGGw':_0x528d05(0x16e),'pmrof':function(_0x52ba3d,_0x5eed53,_0x501b4e){return _0x52ba3d(_0x5eed53,_0x501b4e);},'DqtmX':'请求获取Cookies时失败'},_0x401927=_0x43011f['Hcqpi'](_0x43011f[_0x528d05(0x182)](_0x43011f[_0x528d05(0x1a0)](_0x43011f[_0x528d05(0x15a)](_0x43011f[_0x528d05(0x15a)](_0x43011f[_0x528d05(0x16f)],selfInfo[_0x528d05(0x153)]),_0x528d05(0x14f))+Credentials[_0x528d05(0x199)],_0x43011f['BYDtf']),selfInfo[_0x528d05(0x153)]),_0x43011f[_0x528d05(0x180)]);let _0x31c749={};try{_0x31c749=await RequestUtil['HttpsGetCookies'](_0x401927);}catch(_0xe1d518){_0x43011f[_0x528d05(0x156)](logDebug,_0x43011f['DqtmX'],_0xe1d518),_0x31c749={};}return _0x31c749;}static async[_0x2b3a66(0x152)](_0x1968bc=!![]){const _0x1e9111=_0x2b3a66,_0x228c0f={'iwUTs':function(_0x155a28,_0x3b0aa1){return _0x155a28==_0x3b0aa1;},'oeYZp':function(_0x26ed32,_0x2accbe){return _0x26ed32+_0x2accbe;},'ynvjP':_0x1e9111(0x176),'RmqMu':_0x1e9111(0x14f),'axdSz':function(_0x45726b,_0x18d800,_0x21ea81){return _0x45726b(_0x18d800,_0x21ea81);}};try{if(_0x228c0f[_0x1e9111(0x1a1)](Credentials['CreatTime'],0x0)||Date[_0x1e9111(0x1a9)]()-Credentials[_0x1e9111(0x157)]>0x3e8*0xe10||!_0x1968bc){const _0x40b8af=await napCatCore['session'][_0x1e9111(0x175)]()['forceFetchClientKey']('');if(_0x40b8af['result']!==0x0)return'';const _0x492c8c=_0x40b8af[_0x1e9111(0x173)],_0x4ebe55=_0x40b8af[_0x1e9111(0x188)],_0x5b39c3=_0x228c0f['oeYZp'](_0x228c0f[_0x1e9111(0x19c)](_0x228c0f[_0x1e9111(0x19c)](_0x228c0f[_0x1e9111(0x19c)](_0x228c0f[_0x1e9111(0x17c)],selfInfo[_0x1e9111(0x153)]),_0x228c0f[_0x1e9111(0x184)]),_0x492c8c),_0x1e9111(0x185))+_0x4ebe55;let _0x33c276={};try{_0x33c276=await RequestUtil[_0x1e9111(0x150)](_0x5b39c3);}catch(_0x41885d){_0x228c0f['axdSz'](logDebug,'请求获取Skey时失败',_0x41885d),_0x33c276={};}const _0x5b0ebe=_0x33c276[_0x1e9111(0x160)];if(!_0x5b0ebe)return'';return Credentials[_0x1e9111(0x199)]=_0x492c8c,Credentials[_0x1e9111(0x179)]=_0x4ebe55,Credentials[_0x1e9111(0x157)]=Date[_0x1e9111(0x1a9)](),Credentials[_0x1e9111(0x19f)]=_0x5b0ebe,_0x5b0ebe;}return Credentials['Skey'];}catch(_0x48132a){}return undefined;}static async['getUidByUin'](_0x350b8e){const _0x4d6b11=_0x2b3a66,_0x2ed37b={'tbqvs':_0x4d6b11(0x159)};let _0xe45f15=await NTEventDispatch[_0x4d6b11(0x169)](_0x2ed37b[_0x4d6b11(0x14d)],0x1388,[_0x350b8e]);return _0xe45f15[_0x4d6b11(0x15d)][_0x4d6b11(0x14b)](_0x350b8e);}static async[_0x2b3a66(0x17e)](_0x2f0f3e){const _0x1c97d0=_0x2b3a66,_0x13cc51={'NOgTo':_0x1c97d0(0x190)};if(!_0x2f0f3e)return'';let _0x4a77f2=await NTEventDispatch['CallNoListenerEvent'](_0x13cc51[_0x1c97d0(0x15c)],0x1388,[_0x2f0f3e]);return _0x4a77f2['uinInfo'][_0x1c97d0(0x14b)](_0x2f0f3e);}static async[_0x2b3a66(0x195)](_0x1bf41d){const _0x31051a=_0x2b3a66,_0x40eb59={'RQPhF':_0x31051a(0x1a2)};return NTEventDispatch['CallNoListenerEvent'](_0x40eb59[_0x31051a(0x192)],0x1388,_0x1bf41d);}} \ No newline at end of file +const _0x5d8945=_0x1c31;(function(_0x3b5ac9,_0xa91d75){const _0x3afdd9=_0x1c31,_0x2fa9e3=_0x3b5ac9();while(!![]){try{const _0x5a93e7=parseInt(_0x3afdd9(0x232))/0x1+-parseInt(_0x3afdd9(0x239))/0x2+-parseInt(_0x3afdd9(0x22f))/0x3*(-parseInt(_0x3afdd9(0x21c))/0x4)+-parseInt(_0x3afdd9(0x234))/0x5*(-parseInt(_0x3afdd9(0x208))/0x6)+parseInt(_0x3afdd9(0x20f))/0x7+parseInt(_0x3afdd9(0x1ed))/0x8+-parseInt(_0x3afdd9(0x236))/0x9;if(_0x5a93e7===_0xa91d75)break;else _0x2fa9e3['push'](_0x2fa9e3['shift']());}catch(_0xe90b27){_0x2fa9e3['push'](_0x2fa9e3['shift']());}}}(_0x39e1,0xc752a));import{Credentials,selfInfo}from'@/core/data';function _0x1c31(_0x2e35d8,_0x50ebc7){const _0x39e154=_0x39e1();return _0x1c31=function(_0x1c3185,_0xe52442){_0x1c3185=_0x1c3185-0x1df;let _0x1c610e=_0x39e154[_0x1c3185];return _0x1c610e;},_0x1c31(_0x2e35d8,_0x50ebc7);}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';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x39e1(){const _0x189029=['ClientKey','PskeyTime','domainPskeyMap','addListener','tqTPJ','%2Finfocenter&keyindex=19%27','skey','WdQWF','entries','fromEntries','qHBag','errMsg','getPSkey','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','CIVCV','onLoginSuccess','AIAyw','EzSaR','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','sCDme','setStatus','setHeader','now','oYqrP','Vmtzq','54kzWcff','NodeIKernelUixConvertService/getUin','get','getTipOffService','VqpCN','uid','uin','2300928BkPzQd','forEach','xWcYs','robotUinRanges','getProfileLikeService','CallNoListenerEvent','vgveW','获取Pskey失败','hiqvR','HttpsGetCookies','assign','&clientkey=','uidInfo','416348SKEDvJ','CreatTime','Skey','getUinByUid','setBuddyProfileLike','modifyDesktopMiniProfile','XSBfD','请求获取Cookies时失败','getSelfInfo','session','getUserDetailInfoByUin','NoDqX','wEItx','请求获取Skey时失败','onProfileDetailInfoChanged','PskeyData','DIKDv','bsCnz','setLongNick','45PgYZAb','getUserDetailInfoWithBizInfo','then','1188432KnoWsf','sgXqX','888495sbrpSV','YXZIY','31457736WKKuvf','getBuddyRecommendContactArkJson','getProfileService','1092502zmxoHz','getRobotUinRange','getUidByUin','getPskey','getTicketService','modifySelfProfile','getBuddyService','NodeIKernelProfileService/getUserDetailInfoByUin','response','keyIndex','FoBcI','getRobotService','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','WrqlJ','bxkuS','JKDyh','result','1441992cdBYYk','set'];_0x39e1=function(){return _0x189029;};return _0x39e1();}profileListener[_0x5d8945(0x22a)]=_0x5a2ab5=>{const _0x4dee9d=_0x5d8945;userInfoCache[_0x5a2ab5[_0x4dee9d(0x20d)]]=_0x5a2ab5,userDetailHandlers[_0x4dee9d(0x210)](_0x4d684e=>_0x4d684e(_0x5a2ab5));},setTimeout(()=>{const _0x3b754d=_0x5d8945;napCatCore[_0x3b754d(0x1fe)](()=>{const _0x2baccc=_0x3b754d;napCatCore[_0x2baccc(0x1f2)](profileListener);});},0x64);export class NTQQUserApi{static async['setLongNick'](_0x2aaa7d){const _0x312ebf=_0x5d8945;return napCatCore[_0x312ebf(0x225)][_0x312ebf(0x238)]()[_0x312ebf(0x22e)](_0x2aaa7d);}static async['setSelfOnlineStatus'](_0x519def,_0x2bacbe,_0x5df501){const _0x1ccc1c=_0x5d8945;return napCatCore['session']['getMsgService']()[_0x1ccc1c(0x203)]({'status':_0x519def,'extStatus':_0x2bacbe,'batteryStatus':_0x5df501});}static async[_0x5d8945(0x237)](_0x20a17f,_0x1b9120=''){const _0x550b6e=_0x5d8945;return napCatCore[_0x550b6e(0x225)][_0x550b6e(0x1e2)]()['getBuddyRecommendContactArkJson'](_0x20a17f,_0x1b9120);}static async['like'](_0x283e2e,_0x533b9c=0x1){const _0x12a9a1=_0x5d8945;return napCatCore[_0x12a9a1(0x225)][_0x12a9a1(0x213)]()[_0x12a9a1(0x220)]({'friendUid':_0x283e2e,'sourceId':0x47,'doLikeCount':_0x533b9c,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x55821c){const _0x1d3881=_0x5d8945,_0x2481fd=await napCatCore[_0x1d3881(0x225)][_0x1d3881(0x238)]()[_0x1d3881(0x204)](_0x55821c);return{'result':_0x2481fd?.[_0x1d3881(0x1ec)],'errMsg':_0x2481fd?.['errMsg']};}static async[_0x5d8945(0x224)](){}static async['getUserInfo'](_0x5d9517){}static async['getUserDetailInfo'](_0xa70aa7){const _0x469dd1=_0x5d8945,_0x4c6e7c={'Vmtzq':function(_0x378379,_0x2390ab){return _0x378379(_0x2390ab);},'hiqvR':function(_0x4e6ca0){return _0x4e6ca0();},'YXZIY':function(_0xf61305,_0xfb68fb,_0x38187f){return _0xf61305(_0xfb68fb,_0x38187f);}},_0x5c8445=napCatCore[_0x469dd1(0x225)][_0x469dd1(0x238)]();return new Promise((_0x5804c1,_0x3f811b)=>{const _0x47a093=_0x469dd1,_0x4d77b7={'vgveW':function(_0x34fefa,_0x41610a){const _0x11009c=_0x1c31;return _0x4c6e7c[_0x11009c(0x207)](_0x34fefa,_0x41610a);},'FoBcI':function(_0x324783,_0x27a279){return _0x324783===_0x27a279;}},_0x2f6cdc=_0x4c6e7c[_0x47a093(0x217)](randomUUID);let _0x494674=![],_0x1bbbdd=undefined,_0x5988b8=!![];_0x4c6e7c[_0x47a093(0x235)](setTimeout,()=>{const _0x3d21a7=_0x47a093;!_0x494674&&(_0x1bbbdd?_0x4d77b7[_0x3d21a7(0x215)](_0x5804c1,_0x1bbbdd):_0x4d77b7[_0x3d21a7(0x215)](_0x3f811b,'getUserDetailInfo\x20timeout')),userDetailHandlers['delete'](_0x2f6cdc);},0x1388),userDetailHandlers[_0x47a093(0x1ee)](_0x2f6cdc,_0x2856da=>{const _0x272fd4=_0x47a093;_0x4d77b7[_0x272fd4(0x1e6)](_0x2856da[_0x272fd4(0x20d)],_0xa70aa7)&&(_0x5988b8?(_0x1bbbdd=_0x2856da,_0x5988b8=![]):(_0x494674=!![],_0x4d77b7[_0x272fd4(0x215)](_0x5804c1,_0x2856da)));}),_0x5c8445[_0x47a093(0x230)](_0xa70aa7,[0x0])[_0x47a093(0x231)](_0x5621fc=>{});});}static async[_0x5d8945(0x1e1)](_0xdfadfa){const _0x529b1b=_0x5d8945;return napCatCore[_0x529b1b(0x225)][_0x529b1b(0x238)]()[_0x529b1b(0x221)](_0xdfadfa);}static async[_0x5d8945(0x1fb)](_0x267528,_0x23d9b1=!![]){const _0x80988a=_0x5d8945,_0x3aeff3={'JKDyh':function(_0x1bdec9,_0x22855c){return _0x1bdec9||_0x22855c;},'CIVCV':function(_0x5ad62d,_0x3b71db){return _0x5ad62d>_0x3b71db;},'tqTPJ':function(_0x442ddc,_0x3e3f82){return _0x442ddc*_0x3e3f82;},'ADjHn':function(_0x61480f,_0x24eacb){return _0x61480f>_0x24eacb;},'XSBfD':function(_0x2db9b9,_0x2c5ec9){return _0x2db9b9===_0x2c5ec9;},'hJIpI':function(_0xc06d96,_0x258286,_0x236f41){return _0xc06d96(_0x258286,_0x236f41);},'qHBag':_0x80988a(0x216)},_0x54f6dc=[],_0x4aac92={};for(const _0x14f2ea in _0x267528){const _0x1d810a=Credentials[_0x80988a(0x22b)]['get'](_0x267528[_0x14f2ea]),_0x4a67e2=Credentials[_0x80988a(0x1f0)][_0x80988a(0x20a)](_0x267528[_0x14f2ea]);_0x3aeff3[_0x80988a(0x1eb)](!_0x1d810a,!_0x4a67e2)||_0x3aeff3[_0x80988a(0x1fd)](Date['now']()-_0x4a67e2,_0x3aeff3[_0x80988a(0x1f3)](0x708,0x3e8))||!_0x23d9b1?_0x54f6dc['push'](_0x267528[_0x14f2ea]):_0x4aac92[_0x267528[_0x14f2ea]]=_0x1d810a;}let _0x514728={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3aeff3['ADjHn'](_0x54f6dc['length'],0x0)&&(_0x514728=await napCatCore[_0x80988a(0x225)][_0x80988a(0x20b)]()[_0x80988a(0x1df)](_0x54f6dc,!![]));const _0x20eec9=_0x514728[_0x80988a(0x1f1)];for(const _0x89d119 of _0x20eec9[_0x80988a(0x1f7)]()){Credentials[_0x80988a(0x22b)][_0x80988a(0x1ee)](_0x89d119[0x0],_0x89d119[0x1]),Credentials[_0x80988a(0x1f0)][_0x80988a(0x1ee)](_0x89d119[0x0],Date[_0x80988a(0x205)]());}const _0x4bc11e=Object[_0x80988a(0x219)](Object[_0x80988a(0x1f8)](_0x20eec9),_0x4aac92);if(_0x3aeff3[_0x80988a(0x222)](_0x514728[_0x80988a(0x1ec)],0x0))return _0x4bc11e;else _0x3aeff3['hJIpI'](logError,_0x3aeff3[_0x80988a(0x1f9)],_0x514728[_0x80988a(0x1fa)]);return{};}static async['getRobotUinRange'](){const _0x507db5=_0x5d8945,_0x1208d7=await napCatCore['session'][_0x507db5(0x1e7)]()[_0x507db5(0x23a)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x1208d7?.[_0x507db5(0x1e4)]?.[_0x507db5(0x212)];}static async['getQzoneCookies'](){const _0x72cbea=_0x5d8945,_0x217b40={'NoDqX':function(_0x1e3a69,_0x305771){return _0x1e3a69+_0x305771;},'asXUD':function(_0x2ad864,_0x22767f){return _0x2ad864+_0x22767f;},'QmUoy':function(_0x2d3f5d,_0xccb019){return _0x2d3f5d+_0xccb019;},'eKhXZ':function(_0x5c6cb5,_0x5b7800){return _0x5c6cb5+_0x5b7800;},'qblGO':_0x72cbea(0x1e8),'bsCnz':_0x72cbea(0x1fc),'WdQWF':_0x72cbea(0x1f4)},_0x286014=_0x217b40[_0x72cbea(0x227)](_0x217b40['asXUD'](_0x217b40['QmUoy'](_0x217b40['eKhXZ'](_0x217b40['qblGO'],selfInfo['uin'])+_0x72cbea(0x21a),Credentials[_0x72cbea(0x1ef)])+_0x217b40[_0x72cbea(0x22d)],selfInfo[_0x72cbea(0x20e)]),_0x217b40[_0x72cbea(0x1f6)]);let _0x280746={};try{_0x280746=await RequestUtil[_0x72cbea(0x218)](_0x286014);}catch(_0x403437){logDebug(_0x72cbea(0x223),_0x403437),_0x280746={};}return _0x280746;}static async['getSkey'](_0xe3b293=!![]){const _0x24423d=_0x5d8945,_0x50db1c={'wEItx':function(_0x45aadf,_0x233663){return _0x45aadf==_0x233663;},'sCDme':function(_0x4140d3,_0x20ac7e){return _0x4140d3>_0x20ac7e;},'VqpCN':function(_0x2f0d8f,_0x3099cc){return _0x2f0d8f-_0x3099cc;},'EzSaR':function(_0x3d2bff,_0x40943f){return _0x3d2bff!==_0x40943f;},'xWcYs':function(_0x5dc6cd,_0x16c213){return _0x5dc6cd+_0x16c213;},'WrqlJ':function(_0x567fd9,_0x51e536){return _0x567fd9+_0x51e536;},'sgXqX':function(_0x3ff5f7,_0x2af20f){return _0x3ff5f7+_0x2af20f;},'DIKDv':_0x24423d(0x1e8),'bxkuS':_0x24423d(0x21a),'octDK':function(_0x464643,_0x4b8f0f,_0x5d2e57){return _0x464643(_0x4b8f0f,_0x5d2e57);},'EJYkq':_0x24423d(0x1f5)};try{if(_0x50db1c[_0x24423d(0x228)](Credentials[_0x24423d(0x21d)],0x0)||_0x50db1c[_0x24423d(0x202)](_0x50db1c[_0x24423d(0x20c)](Date[_0x24423d(0x205)](),Credentials[_0x24423d(0x21d)]),0x3e8*0xe10)||!_0xe3b293){const _0x393e0b=await napCatCore[_0x24423d(0x225)][_0x24423d(0x1e0)]()['forceFetchClientKey']('');if(_0x50db1c[_0x24423d(0x200)](_0x393e0b[_0x24423d(0x1ec)],0x0))return'';const _0x40fac8=_0x393e0b['clientKey'],_0x2443b9=_0x393e0b[_0x24423d(0x1e5)],_0x90c727=_0x50db1c[_0x24423d(0x211)](_0x50db1c['WrqlJ'](_0x50db1c[_0x24423d(0x233)](_0x50db1c[_0x24423d(0x1e9)](_0x50db1c[_0x24423d(0x22c)],selfInfo[_0x24423d(0x20e)]),_0x50db1c[_0x24423d(0x1ea)]),_0x40fac8)+_0x24423d(0x201),_0x2443b9);let _0xe9f633={};try{_0xe9f633=await RequestUtil[_0x24423d(0x218)](_0x90c727);}catch(_0x4cec93){_0x50db1c['octDK'](logDebug,_0x24423d(0x229),_0x4cec93),_0xe9f633={};}const _0x17b467=_0xe9f633[_0x50db1c['EJYkq']];if(!_0x17b467)return'';return Credentials['ClientKey']=_0x40fac8,Credentials['KeyIndex']=_0x2443b9,Credentials[_0x24423d(0x21d)]=Date[_0x24423d(0x205)](),Credentials[_0x24423d(0x21e)]=_0x17b467,_0x17b467;}return Credentials[_0x24423d(0x21e)];}catch(_0x54eba8){}return undefined;}static async[_0x5d8945(0x23b)](_0x316d79){const _0x16f6f5=_0x5d8945,_0x1943e9={'AIAyw':'NodeIKernelUixConvertService/getUid'};let _0x1d067a=await NTEventDispatch[_0x16f6f5(0x214)](_0x1943e9[_0x16f6f5(0x1ff)],0x1388,[_0x316d79]);return _0x1d067a[_0x16f6f5(0x21b)]['get'](_0x316d79);}static async[_0x5d8945(0x21f)](_0x240271){const _0x3a3ba5=_0x5d8945,_0x7d9a01={'qmZNp':_0x3a3ba5(0x209)};if(!_0x240271)return'';let _0x5aaebf=await NTEventDispatch[_0x3a3ba5(0x214)](_0x7d9a01['qmZNp'],0x1388,[_0x240271]);return _0x5aaebf['uinInfo'][_0x3a3ba5(0x20a)](_0x240271);}static async[_0x5d8945(0x226)](_0x1e91c6){const _0x228683=_0x5d8945,_0x4c711f={'oYqrP':_0x228683(0x1e3)};return NTEventDispatch[_0x228683(0x214)](_0x4c711f[_0x228683(0x206)],0x1388,_0x1e91c6);}} \ 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 0547ef84..953f5836 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x4808c2=_0x945a;(function(_0x48bc69,_0x243d12){const _0x224267=_0x945a,_0x1a0785=_0x48bc69();while(!![]){try{const _0x2cc1c4=parseInt(_0x224267(0xa2))/0x1*(parseInt(_0x224267(0x118))/0x2)+parseInt(_0x224267(0xd1))/0x3+-parseInt(_0x224267(0xd4))/0x4+-parseInt(_0x224267(0x102))/0x5*(parseInt(_0x224267(0xad))/0x6)+-parseInt(_0x224267(0x92))/0x7*(parseInt(_0x224267(0x8f))/0x8)+-parseInt(_0x224267(0xf6))/0x9*(parseInt(_0x224267(0xf2))/0xa)+parseInt(_0x224267(0xc1))/0xb;if(_0x2cc1c4===_0x243d12)break;else _0x1a0785['push'](_0x1a0785['shift']());}catch(_0x3329b2){_0x1a0785['push'](_0x1a0785['shift']());}}}(_0x1c49,0x4f4b1));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x945a(_0x232433,_0x5dd4de){const _0x1c494c=_0x1c49();return _0x945a=function(_0x945a3,_0x510d61){_0x945a3=_0x945a3-0x8f;let _0x48cc61=_0x1c494c[_0x945a3];return _0x48cc61;},_0x945a(_0x232433,_0x5dd4de);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x48d2d2){const _0x4e04fd=_0x945a,_0x1815f1={'urpwb':'5|4|1|3|0|2','BYBQZ':'STORONGE_NEWBI','fCHYA':_0x4e04fd(0x10d),'SfXOg':'PERFROMER','IHLsh':_0x4e04fd(0xe0),'kTzrL':_0x4e04fd(0xd0),'YoLqK':'emotion','TmznL':_0x4e04fd(0xf3),'TKGvq':_0x4e04fd(0xdb),'GsmcW':_0x4e04fd(0xfa),'joGDI':_0x4e04fd(0x9b),'aQkca':'ALL'},_0x170c98=_0x1815f1[_0x4e04fd(0x120)][_0x4e04fd(0x11a)]('|');let _0x2cc9f3=0x0;while(!![]){switch(_0x170c98[_0x2cc9f3++]){case'0':_0x48d2d2[_0x1815f1['BYBQZ']]=_0x1815f1[_0x4e04fd(0x104)];continue;case'1':_0x48d2d2[_0x1815f1['SfXOg']]=_0x1815f1['IHLsh'];continue;case'2':_0x48d2d2[_0x1815f1[_0x4e04fd(0xbb)]]=_0x1815f1[_0x4e04fd(0xd9)];continue;case'3':_0x48d2d2[_0x1815f1[_0x4e04fd(0x107)]]=_0x1815f1[_0x4e04fd(0xa7)];continue;case'4':_0x48d2d2[_0x1815f1[_0x4e04fd(0xb3)]]=_0x1815f1[_0x4e04fd(0xdf)];continue;case'5':_0x48d2d2[_0x1815f1[_0x4e04fd(0x9c)]]='all';continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x4971d0,_0x56ec60){const _0x5a2f98=_0x945a,_0x3d2d6c={'TJPNc':_0x5a2f98(0xee),'clyoQ':function(_0x348b9d,_0x29ce57){return _0x348b9d+_0x29ce57;},'prPej':function(_0x56b3e7,_0x4ffbb1){return _0x56b3e7+_0x4ffbb1;},'ikAOe':function(_0x184862,_0x51b56f){return _0x184862+_0x51b56f;},'ijoJb':function(_0x206866,_0x55748c){return _0x206866+_0x55748c;},'exkST':function(_0x6a255d,_0x2a373b){return _0x6a255d+_0x2a373b;},'TpkrS':function(_0x38fecc,_0x4cf1fe){return _0x38fecc+_0x4cf1fe;},'IFwWL':'p_skey=','HeAAr':_0x5a2f98(0x101),'MgdkC':_0x5a2f98(0xd6),'IeoAt':function(_0x1937b4,_0x4925cb){return _0x1937b4||_0x4925cb;},'ytauH':function(_0x1ef3d9,_0x2b6c63){return _0x1ef3d9+_0x2b6c63;},'GKbza':_0x5a2f98(0x105),'BIGrC':_0x5a2f98(0xb0),'uEnei':_0x5a2f98(0x94),'Pztjx':'&page_limit=20','EcztQ':_0x5a2f98(0x91),'KbnxK':function(_0x20218b,_0x37b2c5){return _0x20218b!==_0x37b2c5;}},_0x1ad728=(await NTQQUserApi['getPSkey']([_0x5a2f98(0xee)]))[_0x3d2d6c['TJPNc']],_0x21beeb=await NTQQUserApi[_0x5a2f98(0xc5)](),_0x424902=_0x3d2d6c[_0x5a2f98(0xbc)](_0x3d2d6c[_0x5a2f98(0xab)](_0x3d2d6c['ikAOe'](_0x3d2d6c[_0x5a2f98(0xff)](_0x3d2d6c[_0x5a2f98(0xbc)](_0x3d2d6c[_0x5a2f98(0xb4)](_0x3d2d6c[_0x5a2f98(0xae)](_0x3d2d6c['IFwWL'],_0x1ad728),_0x3d2d6c['HeAAr']),_0x21beeb),_0x5a2f98(0xcd)),selfInfo[_0x5a2f98(0xcb)]),_0x3d2d6c['MgdkC']),selfInfo[_0x5a2f98(0xcb)]);if(_0x3d2d6c[_0x5a2f98(0x10b)](!_0x21beeb,!_0x1ad728))return undefined;const _0x7c72d5=WebApi['genBkn'](_0x21beeb),_0x235cda=_0x3d2d6c[_0x5a2f98(0x108)](_0x3d2d6c[_0x5a2f98(0x108)](_0x3d2d6c[_0x5a2f98(0xf5)](_0x3d2d6c[_0x5a2f98(0xc4)],_0x7c72d5),_0x3d2d6c[_0x5a2f98(0xca)])+_0x4971d0,_0x3d2d6c['uEnei'])+_0x56ec60+_0x3d2d6c[_0x5a2f98(0x125)];let _0x743801;try{_0x743801=await RequestUtil['HttpGetJson'](_0x235cda,_0x3d2d6c[_0x5a2f98(0xfb)],'',{'Cookie':_0x424902});}catch{return undefined;}if(_0x3d2d6c[_0x5a2f98(0x100)](_0x743801[_0x5a2f98(0x109)],0x0))return undefined;return _0x743801;}static async['getGroupMembers'](_0x4cc758,_0x49dda2=!![]){const _0x8480d=_0x945a,_0x1fa756={'zDTpG':function(_0x30987e,_0xda0801){return _0x30987e-_0xda0801;},'JWBGE':_0x8480d(0xee),'FVjTS':function(_0x1ff226,_0x5a45cb){return _0x1ff226+_0x5a45cb;},'mrnsD':function(_0xadefbd,_0x22c919){return _0xadefbd+_0x22c919;},'CrORT':function(_0x25b618,_0x495e29){return _0x25b618+_0x495e29;},'hPhrA':function(_0xf6b5cf,_0x5d049a){return _0xf6b5cf+_0x5d049a;},'BtNti':_0x8480d(0xcd),'Tdaef':function(_0x13c48a,_0x26dd8d){return _0x13c48a||_0x26dd8d;},'JCcvy':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','ECAzT':'&bkn=','vbJVb':_0x8480d(0xaa),'KKhbH':function(_0x5b5d93,_0x4c8595){return _0x5b5d93!==_0x4c8595;},'EtcCl':function(_0x52190c,_0x4c2938){return _0x52190c<=_0x4c2938;},'wJjvq':function(_0x4ed0c0,_0x2ad316){return _0x4ed0c0+_0x2ad316;},'NTIMu':function(_0x1ce93f,_0x509c0f){return _0x1ce93f+_0x509c0f;},'oTwpX':function(_0x5efa48,_0x50c4fd){return _0x5efa48+_0x50c4fd;},'tJXvJ':_0x8480d(0xb8),'Lzdfj':function(_0x4c753e,_0x23fdb8){return _0x4c753e*_0x23fdb8;},'UiaYd':function(_0x126ef3,_0x3adf7f){return _0x126ef3<=_0x3adf7f;},'BWrqF':function(_0x249d7f,_0x1aa2d5){return _0x249d7f!==_0x1aa2d5;}};let _0x139a62=new Array();try{let _0x523d19=WebGroupData[_0x8480d(0x117)][_0x8480d(0xc2)](_0x4cc758),_0x3f952f=WebGroupData[_0x8480d(0x112)][_0x8480d(0xc2)](_0x4cc758);if(!_0x3f952f||_0x1fa756['zDTpG'](Date[_0x8480d(0xb9)](),_0x3f952f)>0x708*0x3e8||!_0x49dda2){const _0x1dd8e0=(await NTQQUserApi['getPSkey']([_0x1fa756[_0x8480d(0xa4)]]))[_0x1fa756[_0x8480d(0xa4)]],_0x5c7643=await NTQQUserApi['getSkey'](),_0x2f2808=_0x1fa756['FVjTS'](_0x1fa756['mrnsD'](_0x1fa756[_0x8480d(0xd8)](_0x1fa756[_0x8480d(0xb5)](_0x8480d(0xb6)+_0x1dd8e0,_0x8480d(0x101)),_0x5c7643),_0x1fa756[_0x8480d(0x115)]),selfInfo[_0x8480d(0xcb)]);if(_0x1fa756[_0x8480d(0xfc)](!_0x5c7643,!_0x1dd8e0))return _0x139a62;const _0x25e82f=WebApi[_0x8480d(0xce)](_0x5c7643),_0x2d91f0=[],_0x43dfeb=await RequestUtil[_0x8480d(0xc9)](_0x1fa756[_0x8480d(0xb1)](_0x1fa756[_0x8480d(0xd8)](_0x1fa756[_0x8480d(0x122)](_0x1fa756[_0x8480d(0xf8)],_0x4cc758),_0x1fa756[_0x8480d(0xc6)]),_0x25e82f),_0x1fa756[_0x8480d(0xf9)],'',{'Cookie':_0x2f2808});if(!_0x43dfeb?.[_0x8480d(0x111)]||_0x1fa756[_0x8480d(0xba)](_0x43dfeb?.[_0x8480d(0x11c)],0x0)||!_0x43dfeb?.['mems'])return[];else for(const _0x5540bd in _0x43dfeb[_0x8480d(0xb2)]){_0x139a62[_0x8480d(0xe4)](_0x43dfeb[_0x8480d(0xb2)][_0x5540bd]);}const _0x5c1e9e=Math[_0x8480d(0xfe)](_0x43dfeb[_0x8480d(0x111)]/0x28);for(let _0x49b3bc=0x2;_0x1fa756[_0x8480d(0xc3)](_0x49b3bc,_0x5c1e9e);_0x49b3bc++){const _0x19116b=RequestUtil['HttpGetJson'](_0x1fa756[_0x8480d(0xe6)](_0x1fa756['NTIMu'](_0x1fa756[_0x8480d(0x11f)](_0x1fa756[_0x8480d(0xa6)],(_0x49b3bc-0x1)*0x28)+_0x8480d(0xe1)+_0x1fa756[_0x8480d(0x128)](_0x49b3bc,0x28)+'&sort=1&gc=',_0x4cc758)+_0x1fa756[_0x8480d(0xc6)],_0x25e82f),_0x1fa756['vbJVb'],'',{'Cookie':_0x2f2808});_0x2d91f0[_0x8480d(0xe4)](_0x19116b);}for(let _0x4d03cc=0x1;_0x1fa756[_0x8480d(0xc0)](_0x4d03cc,_0x5c1e9e);_0x4d03cc++){const _0x1e2581=await _0x2d91f0[_0x4d03cc];if(!_0x1e2581?.[_0x8480d(0x111)]||_0x1fa756[_0x8480d(0x97)](_0x1e2581?.['errcode'],0x0)||!_0x1e2581?.[_0x8480d(0xb2)])continue;for(const _0x2bffb7 in _0x1e2581[_0x8480d(0xb2)]){_0x139a62[_0x8480d(0xe4)](_0x1e2581['mems'][_0x2bffb7]);}}WebGroupData[_0x8480d(0x117)]['set'](_0x4cc758,_0x139a62),WebGroupData['GroupTime'][_0x8480d(0xec)](_0x4cc758,Date[_0x8480d(0xb9)]());}else _0x139a62=_0x523d19;}catch{return _0x139a62;}return _0x139a62;}static async['setGroupNotice'](_0x16165f,_0x102377=''){const _0x5de08d=_0x945a,_0x407e8a={'IQSAh':'qun.qq.com','eZtpv':function(_0xb272a0,_0x21560e){return _0xb272a0+_0x21560e;},'jiNSG':';\x20skey=','EQxBC':_0x5de08d(0xcd),'rbsTU':function(_0x473b4c,_0x1aa2bd){return _0x473b4c||_0x1aa2bd;},'Kmbor':function(_0x1b7f80,_0x62d04f){return _0x1b7f80+_0x62d04f;},'lOHtZ':function(_0x4b0f9d,_0x1df6e1){return _0x4b0f9d+_0x1df6e1;},'teWfb':'&bkn=','bkxob':_0x5de08d(0x11e),'pwBti':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','oVOMK':_0x5de08d(0x91)},_0x4542d3=(await NTQQUserApi[_0x5de08d(0xa3)]([_0x5de08d(0xee)]))[_0x407e8a[_0x5de08d(0xbf)]],_0x3be847=await NTQQUserApi[_0x5de08d(0xc5)](),_0xaee68c=_0x407e8a[_0x5de08d(0x96)](_0x407e8a[_0x5de08d(0x96)](_0x5de08d(0xb6)+_0x4542d3,_0x407e8a[_0x5de08d(0x126)])+_0x3be847,_0x407e8a[_0x5de08d(0x119)])+selfInfo['uin'];let _0x585a54=undefined;if(_0x407e8a['rbsTU'](!_0x3be847,!_0x4542d3))return undefined;const _0x8c4458=WebApi[_0x5de08d(0xce)](_0x3be847),_0x2fc1ff=_0x407e8a['Kmbor'](_0x407e8a[_0x5de08d(0xa0)](_0x407e8a[_0x5de08d(0x96)](_0x407e8a[_0x5de08d(0x103)](_0x407e8a[_0x5de08d(0x103)]('qid='+_0x16165f,_0x407e8a[_0x5de08d(0x113)]),_0x8c4458),_0x407e8a['bkxob']),_0x102377),_0x407e8a['pwBti']),_0x509095=_0x5de08d(0x123)+_0x8c4458;try{return _0x585a54=await RequestUtil[_0x5de08d(0xc9)](_0x509095,_0x407e8a[_0x5de08d(0x129)],'',{'Cookie':_0xaee68c}),_0x585a54;}catch(_0x26a830){return undefined;}return undefined;}static async['getGrouptNotice'](_0xf953fc){const _0x3755d1=_0x945a,_0x14ebbb={'CyZMB':_0x3755d1(0xee),'rBxMm':function(_0x49ac50,_0x10d7d8){return _0x49ac50+_0x10d7d8;},'FScAa':_0x3755d1(0xb6),'ZPdGR':_0x3755d1(0x101),'ySbZu':';\x20p_uin=o','aXbNg':function(_0x4b7904,_0x2759ee){return _0x4b7904+_0x2759ee;},'BPZBM':function(_0x224a72,_0x3f9907){return _0x224a72+_0x3f9907;},'SOeds':function(_0x3884cf,_0x349f7c){return _0x3884cf+_0x349f7c;},'YJapQ':_0x3755d1(0xdd),'WtgDu':_0x3755d1(0x91)},_0x49d68d=(await NTQQUserApi['getPSkey']([_0x14ebbb[_0x3755d1(0xac)]]))[_0x14ebbb[_0x3755d1(0xac)]],_0x37d9ae=await NTQQUserApi[_0x3755d1(0xc5)](),_0x39950c=_0x14ebbb[_0x3755d1(0xf7)](_0x14ebbb[_0x3755d1(0xf7)](_0x14ebbb['rBxMm'](_0x14ebbb[_0x3755d1(0xf7)](_0x14ebbb[_0x3755d1(0xa5)]+_0x49d68d,_0x14ebbb[_0x3755d1(0xa1)]),_0x37d9ae),_0x14ebbb[_0x3755d1(0x121)]),selfInfo[_0x3755d1(0xcb)]);let _0x586754=undefined;if(!_0x37d9ae||!_0x49d68d)return undefined;const _0x272c4c=WebApi['genBkn'](_0x37d9ae),_0x206a69=_0x14ebbb[_0x3755d1(0xaf)](_0x14ebbb[_0x3755d1(0xe7)](_0x14ebbb[_0x3755d1(0x95)](_0x14ebbb['YJapQ'],_0x272c4c),_0x3755d1(0xef)),_0xf953fc)+'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20';try{_0x586754=await RequestUtil['HttpGetJson'](_0x206a69,_0x14ebbb[_0x3755d1(0xde)],'',{'Cookie':_0x39950c});if(_0x586754?.['ec']!==0x0)return undefined;return _0x586754;}catch(_0x281d03){return undefined;}return undefined;}static['genBkn'](_0x1fde09){const _0x15f42a=_0x945a,_0x40e105={'hMpWl':function(_0x981cbd,_0x526833){return _0x981cbd<_0x526833;},'nnkHr':function(_0x1ec1d5,_0x1d3839){return _0x1ec1d5&_0x1d3839;}};_0x1fde09=_0x1fde09||'';let _0x3cc19f=0x1505;for(let _0x321024=0x0;_0x40e105[_0x15f42a(0xa9)](_0x321024,_0x1fde09[_0x15f42a(0xea)]);_0x321024++){const _0x370e37=_0x1fde09[_0x15f42a(0xb7)](_0x321024);_0x3cc19f=_0x3cc19f+(_0x3cc19f<<0x5)+_0x370e37;}return _0x40e105['nnkHr'](_0x3cc19f,0x7fffffff)[_0x15f42a(0x9e)]();}static async[_0x4808c2(0x10c)](_0xac8612,_0x29b117){const _0x1b06d2=_0x4808c2,_0x190550={'dNuvd':function(_0x2ce193,_0x10eeab){return _0x2ce193+_0x10eeab;},'yiqfW':_0x1b06d2(0xeb),'usMQY':_0x1b06d2(0x98),'xrKRZ':'GET','UdLdr':function(_0x116961,_0x58b7a4){return _0x116961===_0x58b7a4;},'jMByc':function(_0x3649b1,_0x51f744,_0x4f2b01,_0x2c31b7){return _0x3649b1(_0x51f744,_0x4f2b01,_0x2c31b7);},'DvbrJ':_0x1b06d2(0xc8),'kGCaH':_0x1b06d2(0xee),'HAKfr':function(_0x52d97e,_0x97da1e){return _0x52d97e||_0x97da1e;},'LKpHv':function(_0x25752c,_0x143d8e){return _0x25752c+_0x143d8e;},'vGHCo':function(_0x35fe83,_0x2c72ea){return _0x35fe83+_0x2c72ea;},'JuShd':_0x1b06d2(0xb6),'CYTpt':_0x1b06d2(0x101),'tBjZs':_0x1b06d2(0xcd),'wHCoF':_0x1b06d2(0xd6),'GhuDs':function(_0x196142,_0x2d1fe2){return _0x196142===_0x2d1fe2;},'FLnwt':function(_0x1e3908,_0x1928d9,_0x491bf9){return _0x1e3908(_0x1928d9,_0x491bf9);},'ufGMA':_0x1b06d2(0x99),'jEiaw':function(_0x3e67e4,_0x3a2ea2){return _0x3e67e4(_0x3a2ea2);},'mgbKj':function(_0x409aa5,_0x3710f1){return _0x409aa5===_0x3710f1;},'ScWiA':'获取群聊之火失败','AlXdP':function(_0x29d7e2,_0x218776){return _0x29d7e2===_0x218776;},'WVFcP':_0x1b06d2(0xf4),'MXNkW':function(_0x4266cc,_0x28dc7f,_0x52f2bc){return _0x4266cc(_0x28dc7f,_0x52f2bc);},'jNctr':function(_0x2d99e9,_0x1b0716){return _0x2d99e9===_0x1b0716;},'tZQHO':function(_0x52947a,_0x33d5f5){return _0x52947a===_0x33d5f5;},'EIqMY':_0x1b06d2(0x11b)},_0x1f01ac=(await NTQQUserApi[_0x1b06d2(0xa3)]([_0x190550['kGCaH']]))[_0x190550[_0x1b06d2(0x127)]],_0x40acae=await NTQQUserApi['getSkey']();if(_0x190550[_0x1b06d2(0xe5)](!_0x40acae,!_0x1f01ac))return undefined;async function _0x41733e(_0x5e83ad,_0x2b6aba){const _0x40d1f4=_0x1b06d2;let _0x241cc7=_0x190550[_0x40d1f4(0x11d)](_0x190550[_0x40d1f4(0x12a)],_0x5e83ad)+_0x190550[_0x40d1f4(0xdc)]+_0x2b6aba[_0x40d1f4(0x9e)](),_0x40dd02='',_0x1fbfde;try{_0x40dd02=await RequestUtil[_0x40d1f4(0xe3)](_0x241cc7,_0x190550[_0x40d1f4(0x10f)],'',{'Cookie':_0x46fa37});const _0xc86968=_0x40dd02['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0xc86968&&(_0x1fbfde=JSON[_0x40d1f4(0x114)](_0xc86968[0x1]['trim']())),_0x190550[_0x40d1f4(0xd2)](_0x2b6aba,0x1)?_0x1fbfde?.[_0x40d1f4(0x10e)]:_0x1fbfde?.['actorList'];}catch(_0x16ba67){_0x190550['jMByc'](logDebug,_0x190550[_0x40d1f4(0xd7)],_0x241cc7,_0x16ba67);}return undefined;}let _0x30fab5={'group_id':_0xac8612};const _0x46fa37=_0x190550[_0x1b06d2(0x11d)](_0x190550[_0x1b06d2(0x11d)](_0x190550[_0x1b06d2(0x11d)](_0x190550[_0x1b06d2(0xe8)](_0x190550[_0x1b06d2(0x116)](_0x190550[_0x1b06d2(0x90)],_0x1f01ac),_0x190550[_0x1b06d2(0xd3)]),_0x40acae),_0x190550[_0x1b06d2(0x9d)])+selfInfo['uin'],_0x190550[_0x1b06d2(0x9a)])+selfInfo[_0x1b06d2(0xcb)];if(_0x190550[_0x1b06d2(0xd2)](_0x29b117,WebHonorType['TALKACTIVE'])||_0x190550[_0x1b06d2(0x124)](_0x29b117,WebHonorType[_0x1b06d2(0x110)]))try{let _0xf99543=await _0x190550[_0x1b06d2(0x106)](_0x41733e,_0xac8612,0x1);if(!_0xf99543)throw new Error(_0x190550['ufGMA']);_0x30fab5[_0x1b06d2(0xc7)]={'user_id':_0xf99543[0x0]?.['uin'],'avatar':_0xf99543[0x0]?.[_0x1b06d2(0xf0)],'nickname':_0xf99543[0x0]?.[_0x1b06d2(0xcf)],'day_count':0x0,'description':_0xf99543[0x0]?.[_0x1b06d2(0xfd)]},_0x30fab5[_0x1b06d2(0xbe)]=[];for(const _0x48e393 of _0xf99543){_0x30fab5['talkative_list'][_0x1b06d2(0xe4)]({'user_id':_0x48e393?.[_0x1b06d2(0xcb)],'avatar':_0x48e393?.[_0x1b06d2(0xf0)],'description':_0x48e393?.['desc'],'day_count':0x0,'nickname':_0x48e393?.[_0x1b06d2(0xcf)]});}}catch(_0x134ae3){_0x190550[_0x1b06d2(0xda)](logDebug,_0x134ae3);}if(_0x190550[_0x1b06d2(0xf1)](_0x29b117,WebHonorType[_0x1b06d2(0x10a)])||_0x190550[_0x1b06d2(0xd2)](_0x29b117,WebHonorType[_0x1b06d2(0x110)]))try{let _0x971bc3=await _0x190550['FLnwt'](_0x41733e,_0xac8612,0x2);if(!_0x971bc3)throw new Error(_0x190550['ScWiA']);_0x30fab5['performer_list']=[];for(const _0x315852 of _0x971bc3){_0x30fab5[_0x1b06d2(0x9f)]['push']({'user_id':_0x315852?.[_0x1b06d2(0xcb)],'nickname':_0x315852?.['name'],'avatar':_0x315852?.['avatar'],'description':_0x315852?.[_0x1b06d2(0xfd)]});}}catch(_0x2ec86d){_0x190550['jEiaw'](logDebug,_0x2ec86d);}if(_0x190550['AlXdP'](_0x29b117,WebHonorType[_0x1b06d2(0x10a)])||_0x29b117===WebHonorType[_0x1b06d2(0x110)])try{let _0x412e0a=await _0x190550[_0x1b06d2(0x106)](_0x41733e,_0xac8612,0x3);if(!_0x412e0a)throw new Error(_0x190550[_0x1b06d2(0x93)]);_0x30fab5[_0x1b06d2(0xe2)]=[];for(const _0x55adbf of _0x412e0a){_0x30fab5['legend_list'][_0x1b06d2(0xe4)]({'user_id':_0x55adbf?.['uin'],'nickname':_0x55adbf?.[_0x1b06d2(0xcf)],'avatar':_0x55adbf?.[_0x1b06d2(0xf0)],'desc':_0x55adbf?.[_0x1b06d2(0xcc)]});}}catch(_0x1f004b){_0x190550[_0x1b06d2(0xe9)](logDebug,'获取群聊炽焰失败',_0x1f004b);}if(_0x190550[_0x1b06d2(0xa8)](_0x29b117,WebHonorType[_0x1b06d2(0xd0)])||_0x190550['tZQHO'](_0x29b117,WebHonorType[_0x1b06d2(0x110)]))try{let _0x2e63be=await _0x41733e(_0xac8612,0x6);if(!_0x2e63be)throw new Error(_0x190550[_0x1b06d2(0xd5)]);_0x30fab5[_0x1b06d2(0xed)]=[];for(const _0x5a07ed of _0x2e63be){_0x30fab5[_0x1b06d2(0xed)][_0x1b06d2(0xe4)]({'user_id':_0x5a07ed?.[_0x1b06d2(0xcb)],'nickname':_0x5a07ed?.[_0x1b06d2(0xcf)],'avatar':_0x5a07ed?.['avatar'],'desc':_0x5a07ed?.[_0x1b06d2(0xcc)]});}}catch(_0x40d697){logDebug(_0x190550[_0x1b06d2(0xd5)],_0x40d697);}return(_0x29b117===WebHonorType[_0x1b06d2(0xd0)]||_0x190550[_0x1b06d2(0xd2)](_0x29b117,WebHonorType['ALL']))&&(_0x30fab5[_0x1b06d2(0xbd)]=[]),_0x30fab5;}}function _0x1c49(){const _0x155d56=['teWfb','parse','BtNti','vGHCo','GroupData','2tyHNQg','EQxBC','split','获取快乐源泉失败','errcode','dNuvd','&text=','oTwpX','urpwb','ySbZu','FVjTS','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','GhuDs','Pztjx','jiNSG','kGCaH','Lzdfj','oVOMK','yiqfW','353008XtUjXh','JuShd','GET','21kVWgAe','WVFcP','&page_start=','SOeds','eZtpv','BWrqF','&type=','获取龙王信息失败','wHCoF','talkative','aQkca','tBjZs','toString','performer_list','Kmbor','ZPdGR','533737sEYbFU','getPSkey','JWBGE','FScAa','tJXvJ','TKGvq','jNctr','hMpWl','POST','prPej','CyZMB','354390OgrMXR','TpkrS','aXbNg','&group_code=','mrnsD','mems','GsmcW','exkST','hPhrA','p_skey=','charCodeAt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','now','KKhbH','kTzrL','clyoQ','strong_newbie_list','talkative_list','IQSAh','UiaYd','7280625xjILhg','get','EtcCl','GKbza','getSkey','ECAzT','current_talkative','获取当前群荣耀失败','HttpGetJson','BIGrC','uin','description',';\x20p_uin=o','genBkn','name','EMOTION','1616727fAhZJE','UdLdr','CYTpt','1919336CthjCg','EIqMY',';\x20uin=o','DvbrJ','CrORT','YoLqK','jEiaw','legend','usMQY','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','WtgDu','joGDI','performer','&end=','legend_list','HttpGetText','push','HAKfr','wJjvq','BPZBM','LKpHv','MXNkW','length','https://qun.qq.com/interactive/honorlist?gc=','set','emotion_list','qun.qq.com','&qid=','avatar','mgbKj','2659390UHowTP','LEGEND','获取群聊炽焰失败','ytauH','9lGzWqi','rBxMm','JCcvy','vbJVb','TALKACTIVE','EcztQ','Tdaef','desc','ceil','ijoJb','KbnxK',';\x20skey=','45xemPpB','lOHtZ','fCHYA','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','FLnwt','TmznL','ikAOe','retcode','PERFROMER','IeoAt','getGroupHonorInfo','strong_newbie','talkativeList','xrKRZ','ALL','count','GroupTime'];_0x1c49=function(){return _0x155d56;};return _0x1c49();} \ No newline at end of file +const _0x39bba6=_0x1ba9;(function(_0x5c286a,_0x733fa1){const _0x9c834=_0x1ba9,_0x102e74=_0x5c286a();while(!![]){try{const _0x2028ac=-parseInt(_0x9c834(0x13e))/0x1*(parseInt(_0x9c834(0x173))/0x2)+parseInt(_0x9c834(0x176))/0x3+parseInt(_0x9c834(0x12f))/0x4*(-parseInt(_0x9c834(0x18b))/0x5)+-parseInt(_0x9c834(0x18c))/0x6*(parseInt(_0x9c834(0x15d))/0x7)+-parseInt(_0x9c834(0x139))/0x8*(parseInt(_0x9c834(0x186))/0x9)+-parseInt(_0x9c834(0x1a2))/0xa*(-parseInt(_0x9c834(0x11f))/0xb)+parseInt(_0x9c834(0x170))/0xc;if(_0x2028ac===_0x733fa1)break;else _0x102e74['push'](_0x102e74['shift']());}catch(_0x13e256){_0x102e74['push'](_0x102e74['shift']());}}}(_0x21b9,0x95ec5));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x1ba9(_0x4bfb27,_0x26e874){const _0x21b915=_0x21b9();return _0x1ba9=function(_0x1ba9e2,_0x3851ec){_0x1ba9e2=_0x1ba9e2-0x10b;let _0x2e645e=_0x21b915[_0x1ba9e2];return _0x2e645e;},_0x1ba9(_0x4bfb27,_0x26e874);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x21b9(){const _0x408b6c=['uin','genBkn','&bkn=','AfyNU','match','EmNhQ','lSPSp','QLPYP','LEGEND','620906MyDJyr','count','seBST','vEaUK','talkative','retcode','WxdQh','trFqY','RUXBs','XwQWW','ofhwv','VWnli','HttpGetText','&page_start=','FFrrf','LSQhW','3057412vCRkmC','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','KArkl','hLMlI','获取当前群荣耀失败','getGrouptNotice','emotion_list','hLpCQ','pwjme','fqFWb','16pODJHa','ZvOtG','JyhMY','UfiOd','qun.qq.com','163XRbSCu','ckxGD','bVFZx','LUgKF','now','CKlyX','errcode','VaNtm','JurwQ','MTmnE','HttpGetJson',';\x20uin=o','GET','CYUYQ','push','lGIzK','pUasX','get','eSXcQ','jobqs','NjIUT','BPsDZ','HVpKs','MXxdM','getGroupHonorInfo','VLdIl','EQbxf','p_skey=','legend_list','SbLkL','rAnsa','1255849YKwEZX','&page_limit=20','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','fsVVW','GAYDX','UQERj','bfENv','set','JmTgd','name','iPkyR','toString','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','获取快乐源泉失败','POST','ALL','getPSkey','pAyKI','description','29688564BoLvtx','bsddl','MWtmD','686Hbwmuy','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','GroupData','1205061hYgKxM','raMNz','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','HgKwq','charCodeAt','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','fDmYx','buJto','zmUsE',';\x20p_uin=o','avatar','emotion','desc','获取群聊炽焰失败','mbQWB','getSkey','2957598tOJMGq','mWSYD','actorList','oWPRr','QxFXa','5oZiUEe','30IFRPaz',';\x20skey=','eMTbc','EMOTION','FxzIT','TLvjU','talkative_list','XSVzr','friTk','IQuaW','performer_list','trim','RVHqU','setGroupNotice','BGFgR','svSkn','zaBrj','all','qRyFJ','zeELQ','mvJBm','jRpPY','20XKMQZN','LkckT','length','&text=','获取龙王信息失败','PERFROMER','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','&sort=1&gc=','TALKACTIVE','EGrgi','TaZAs','noWOJ','GroupTime','&end=','mems','lSgnZ'];_0x21b9=function(){return _0x408b6c;};return _0x21b9();}export var WebHonorType;(function(_0x16488c){const _0x44cedc=_0x1ba9,_0x36ecb7={'zmUsE':_0x44cedc(0x19d),'VjEvr':_0x44cedc(0x10e),'buJto':_0x44cedc(0x123),'FFrrf':_0x44cedc(0x10b),'TfjmY':'performer','BPsDZ':_0x44cedc(0x11e),'RKAJX':'legend','mbQWB':'STORONGE_NEWBI','QLPYP':_0x44cedc(0x18f),'GXcUD':_0x44cedc(0x181)};_0x16488c['ALL']=_0x36ecb7[_0x44cedc(0x17e)],_0x16488c[_0x36ecb7['VjEvr']]=_0x36ecb7[_0x44cedc(0x17d)],_0x16488c[_0x36ecb7[_0x44cedc(0x12d)]]=_0x36ecb7['TfjmY'],_0x16488c[_0x36ecb7[_0x44cedc(0x153)]]=_0x36ecb7['RKAJX'],_0x16488c[_0x36ecb7[_0x44cedc(0x184)]]='strong_newbie',_0x16488c[_0x36ecb7[_0x44cedc(0x11d)]]=_0x36ecb7['GXcUD'];}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x2c5bb7,_0x1ea25d){const _0x12f031=_0x1ba9,_0xcc1849={'QxFXa':'qun.qq.com','RVHqU':function(_0x24939d,_0x51ba96){return _0x24939d+_0x51ba96;},'lSPSp':function(_0x3d1b11,_0x22d34a){return _0x3d1b11+_0x22d34a;},'pwjme':_0x12f031(0x159),'zaBrj':_0x12f031(0x18d),'haIWI':_0x12f031(0x17f),'fDmYx':_0x12f031(0x149),'UQERj':function(_0xe4bdb3,_0x4f8dbb){return _0xe4bdb3||_0x4f8dbb;},'CKlyX':function(_0x1e6c3b,_0x56bbc8){return _0x1e6c3b+_0x56bbc8;},'KArkl':function(_0x4ff40e,_0x49ff7b){return _0x4ff40e+_0x49ff7b;},'CYUYQ':_0x12f031(0x174),'RUXBs':'&group_code=','ZvOtG':_0x12f031(0x12c),'bfENv':_0x12f031(0x15e),'JurwQ':_0x12f031(0x14a)},_0x13310e=(await NTQQUserApi[_0x12f031(0x16d)]([_0xcc1849[_0x12f031(0x18a)]]))[_0xcc1849['QxFXa']],_0x3a65f5=await NTQQUserApi[_0x12f031(0x185)](),_0x548da6=_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x11c)](_0xcc1849[_0x12f031(0x137)]+_0x13310e,_0xcc1849[_0x12f031(0x19c)]),_0x3a65f5)+_0xcc1849['haIWI'],selfInfo[_0x12f031(0x116)]),_0xcc1849[_0x12f031(0x17c)]),selfInfo[_0x12f031(0x116)]);if(_0xcc1849[_0x12f031(0x162)](!_0x3a65f5,!_0x13310e))return undefined;const _0x42bcaa=WebApi['genBkn'](_0x3a65f5),_0x297760=_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x143)](_0xcc1849[_0x12f031(0x11c)](_0xcc1849[_0x12f031(0x131)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x14b)],_0x42bcaa),_0xcc1849[_0x12f031(0x127)])+_0x2c5bb7,_0xcc1849[_0x12f031(0x13a)]),_0x1ea25d),_0xcc1849[_0x12f031(0x163)]);let _0x43be6d;try{_0x43be6d=await RequestUtil['HttpGetJson'](_0x297760,_0xcc1849[_0x12f031(0x146)],'',{'Cookie':_0x548da6});}catch{return undefined;}if(_0x43be6d[_0x12f031(0x124)]!==0x0)return undefined;return _0x43be6d;}static async['getGroupMembers'](_0x336030,_0x294621=!![]){const _0x8461b3=_0x1ba9,_0x3f09f3={'BGFgR':function(_0x50f51,_0x2f58d6){return _0x50f51>_0x2f58d6;},'trFqY':function(_0x3641e6,_0x421e80){return _0x3641e6-_0x421e80;},'pUasX':function(_0xbbb5c5,_0x423369){return _0xbbb5c5*_0x423369;},'IQuaW':_0x8461b3(0x13d),'noWOJ':function(_0x5ae5f3,_0x2f5fd1){return _0x5ae5f3+_0x2f5fd1;},'TaZAs':function(_0x57ee77,_0x48396f){return _0x57ee77+_0x48396f;},'JyhMY':function(_0x5ab8b6,_0xd34f38){return _0x5ab8b6||_0xd34f38;},'MTmnE':'&bkn=','NjIUT':_0x8461b3(0x16b),'TLvjU':function(_0x119be3,_0x579d0b){return _0x119be3!==_0x579d0b;},'mWSYD':function(_0xa44319,_0x408407){return _0xa44319/_0x408407;},'LkckT':function(_0x52fd9b,_0x2d17f3){return _0x52fd9b+_0x2d17f3;},'bVFZx':function(_0x1b6465,_0x222738){return _0x1b6465+_0x222738;},'qRyFJ':function(_0x4e3e10,_0x257a85){return _0x4e3e10+_0x257a85;},'RfzlL':_0x8461b3(0x15f),'eSXcQ':function(_0x44eb10,_0x43b009){return _0x44eb10*_0x43b009;},'esvlk':_0x8461b3(0x113),'AfyNU':_0x8461b3(0x10d),'ofhwv':function(_0x4d233e,_0x3475e5){return _0x4d233e!==_0x3475e5;}};let _0x84d08b=new Array();try{let _0x3e80fb=WebGroupData[_0x8461b3(0x175)][_0x8461b3(0x14f)](_0x336030),_0xf39a62=WebGroupData[_0x8461b3(0x112)][_0x8461b3(0x14f)](_0x336030);if(!_0xf39a62||_0x3f09f3[_0x8461b3(0x19a)](_0x3f09f3[_0x8461b3(0x126)](Date[_0x8461b3(0x142)](),_0xf39a62),_0x3f09f3[_0x8461b3(0x14e)](0x708,0x3e8))||!_0x294621){const _0x197f4c=(await NTQQUserApi['getPSkey']([_0x8461b3(0x13d)]))[_0x3f09f3[_0x8461b3(0x195)]],_0xb546a7=await NTQQUserApi['getSkey'](),_0x115284=_0x3f09f3[_0x8461b3(0x111)](_0x3f09f3['noWOJ'](_0x3f09f3[_0x8461b3(0x110)]('p_skey=',_0x197f4c)+_0x8461b3(0x18d),_0xb546a7),_0x8461b3(0x17f))+selfInfo[_0x8461b3(0x116)];if(_0x3f09f3[_0x8461b3(0x13b)](!_0xb546a7,!_0x197f4c))return _0x84d08b;const _0x14e2b0=WebApi[_0x8461b3(0x117)](_0xb546a7),_0x21cf73=[],_0x5ab367=await RequestUtil[_0x8461b3(0x148)](_0x3f09f3['noWOJ'](_0x3f09f3[_0x8461b3(0x111)](_0x3f09f3[_0x8461b3(0x111)](_0x8461b3(0x10c),_0x336030),_0x3f09f3[_0x8461b3(0x147)]),_0x14e2b0),_0x3f09f3[_0x8461b3(0x152)],'',{'Cookie':_0x115284});if(!_0x5ab367?.[_0x8461b3(0x120)]||_0x3f09f3[_0x8461b3(0x191)](_0x5ab367?.[_0x8461b3(0x144)],0x0)||!_0x5ab367?.[_0x8461b3(0x114)])return[];else for(const _0x29df4b in _0x5ab367[_0x8461b3(0x114)]){_0x84d08b[_0x8461b3(0x14c)](_0x5ab367[_0x8461b3(0x114)][_0x29df4b]);}const _0x410b8b=Math['ceil'](_0x3f09f3[_0x8461b3(0x187)](_0x5ab367[_0x8461b3(0x120)],0x28));for(let _0xb2bebd=0x2;_0xb2bebd<=_0x410b8b;_0xb2bebd++){const _0x34c2a3=RequestUtil['HttpGetJson'](_0x3f09f3[_0x8461b3(0x111)](_0x3f09f3['LkckT'](_0x3f09f3[_0x8461b3(0x1a3)](_0x3f09f3[_0x8461b3(0x140)](_0x3f09f3[_0x8461b3(0x19e)](_0x3f09f3['RfzlL'],_0x3f09f3['eSXcQ'](_0x3f09f3[_0x8461b3(0x126)](_0xb2bebd,0x1),0x28)),_0x3f09f3['esvlk']),_0x3f09f3[_0x8461b3(0x150)](_0xb2bebd,0x28))+_0x3f09f3[_0x8461b3(0x119)]+_0x336030,_0x3f09f3[_0x8461b3(0x147)]),_0x14e2b0),_0x8461b3(0x16b),'',{'Cookie':_0x115284});_0x21cf73[_0x8461b3(0x14c)](_0x34c2a3);}for(let _0x40d1a9=0x1;_0x40d1a9<=_0x410b8b;_0x40d1a9++){const _0x361d5f=await _0x21cf73[_0x40d1a9];if(!_0x361d5f?.[_0x8461b3(0x120)]||_0x3f09f3[_0x8461b3(0x129)](_0x361d5f?.['errcode'],0x0)||!_0x361d5f?.[_0x8461b3(0x114)])continue;for(const _0x12e4bc in _0x361d5f[_0x8461b3(0x114)]){_0x84d08b['push'](_0x361d5f['mems'][_0x12e4bc]);}}WebGroupData['GroupData'][_0x8461b3(0x164)](_0x336030,_0x84d08b),WebGroupData[_0x8461b3(0x112)][_0x8461b3(0x164)](_0x336030,Date[_0x8461b3(0x142)]());}else _0x84d08b=_0x3e80fb;}catch{return _0x84d08b;}return _0x84d08b;}static async[_0x39bba6(0x199)](_0x57e4b9,_0x46e386=''){const _0x4857ed=_0x39bba6,_0x1e8b83={'seBST':_0x4857ed(0x13d),'hLMlI':function(_0x4e0a19,_0xcde7fe){return _0x4e0a19+_0xcde7fe;},'ZMrzr':function(_0x27ad53,_0x462915){return _0x27ad53+_0x462915;},'EmNhQ':function(_0x53ebfa,_0x3f2c15){return _0x53ebfa+_0x3f2c15;},'jobqs':function(_0x4ffe35,_0x59f117){return _0x4ffe35+_0x59f117;},'iibyO':_0x4857ed(0x159),'DYJCr':_0x4857ed(0x18d),'VLdIl':_0x4857ed(0x17f),'JmTgd':function(_0x3cbfeb,_0x82da8a){return _0x3cbfeb||_0x82da8a;},'GAYDX':function(_0xc4ebc9,_0x4bf31a){return _0xc4ebc9+_0x4bf31a;},'mvJBm':function(_0x2a5dc7,_0x1675e7){return _0x2a5dc7+_0x1675e7;},'Bggwg':_0x4857ed(0x118),'sIOLK':_0x4857ed(0x1a5),'vTpGl':_0x4857ed(0x17b),'PAWIj':_0x4857ed(0x130),'EGrgi':'GET'},_0x530fc5=(await NTQQUserApi[_0x4857ed(0x16d)]([_0x1e8b83[_0x4857ed(0x121)]]))[_0x1e8b83['seBST']],_0x1a2047=await NTQQUserApi[_0x4857ed(0x185)](),_0x21f867=_0x1e8b83[_0x4857ed(0x132)](_0x1e8b83['ZMrzr'](_0x1e8b83[_0x4857ed(0x11b)](_0x1e8b83[_0x4857ed(0x151)](_0x1e8b83['iibyO'],_0x530fc5),_0x1e8b83['DYJCr']),_0x1a2047)+_0x1e8b83[_0x4857ed(0x157)],selfInfo['uin']);let _0x573280=undefined;if(_0x1e8b83[_0x4857ed(0x165)](!_0x1a2047,!_0x530fc5))return undefined;const _0x797c33=WebApi[_0x4857ed(0x117)](_0x1a2047),_0x4658f0=_0x1e8b83[_0x4857ed(0x11b)](_0x1e8b83['GAYDX'](_0x1e8b83[_0x4857ed(0x1a0)](_0x1e8b83[_0x4857ed(0x161)]('qid=',_0x57e4b9),_0x1e8b83['Bggwg'])+_0x797c33+_0x1e8b83['sIOLK'],_0x46e386),_0x1e8b83['vTpGl']),_0x31723a=_0x1e8b83[_0x4857ed(0x11b)](_0x1e8b83['PAWIj'],_0x797c33);try{return _0x573280=await RequestUtil[_0x4857ed(0x148)](_0x31723a,_0x1e8b83[_0x4857ed(0x10f)],'',{'Cookie':_0x21f867}),_0x573280;}catch(_0x9dddcb){return undefined;}return undefined;}static async[_0x39bba6(0x134)](_0x27a567){const _0x3aeb20=_0x39bba6,_0x8afa09={'VWnli':'qun.qq.com','eMTbc':function(_0x52888a,_0x2a4c9d){return _0x52888a+_0x2a4c9d;},'LUgKF':function(_0x5e8072,_0x54c43a){return _0x5e8072+_0x54c43a;},'jRpPY':_0x3aeb20(0x18d),'lSgnZ':_0x3aeb20(0x17f),'vEaUK':function(_0x5017ce,_0x44e9ab){return _0x5017ce||_0x44e9ab;},'ckxGD':function(_0x45012c,_0x5b21d5){return _0x45012c+_0x5b21d5;},'pAyKI':_0x3aeb20(0x178),'lGIzK':'&qid=','svSkn':_0x3aeb20(0x14a),'raMNz':function(_0x28ac1e,_0x4aa4c2){return _0x28ac1e!==_0x4aa4c2;}},_0x37f1fc=(await NTQQUserApi[_0x3aeb20(0x16d)]([_0x8afa09[_0x3aeb20(0x12a)]]))[_0x8afa09[_0x3aeb20(0x12a)]],_0x524e57=await NTQQUserApi[_0x3aeb20(0x185)](),_0x3c7869=_0x8afa09[_0x3aeb20(0x18e)](_0x8afa09['eMTbc'](_0x8afa09[_0x3aeb20(0x141)](_0x8afa09[_0x3aeb20(0x141)](_0x3aeb20(0x159)+_0x37f1fc,_0x8afa09[_0x3aeb20(0x1a1)]),_0x524e57),_0x8afa09[_0x3aeb20(0x115)]),selfInfo['uin']);let _0x120713=undefined;if(_0x8afa09[_0x3aeb20(0x122)](!_0x524e57,!_0x37f1fc))return undefined;const _0x3c6f05=WebApi['genBkn'](_0x524e57),_0x4c2b79=_0x8afa09['LUgKF'](_0x8afa09[_0x3aeb20(0x13f)](_0x8afa09[_0x3aeb20(0x16e)]+_0x3c6f05+_0x8afa09[_0x3aeb20(0x14d)],_0x27a567),_0x3aeb20(0x169));try{_0x120713=await RequestUtil[_0x3aeb20(0x148)](_0x4c2b79,_0x8afa09[_0x3aeb20(0x19b)],'',{'Cookie':_0x3c7869});if(_0x8afa09[_0x3aeb20(0x177)](_0x120713?.['ec'],0x0))return undefined;return _0x120713;}catch(_0x2a0631){return undefined;}return undefined;}static[_0x39bba6(0x117)](_0x230b5a){const _0x565c09=_0x39bba6,_0x1babef={'rAnsa':function(_0x11966a,_0x1e9026){return _0x11966a||_0x1e9026;},'fqFWb':function(_0x2ae8aa,_0x1c21b2){return _0x2ae8aa<_0x1c21b2;},'MWtmD':function(_0x1d5f14,_0x2786b8){return _0x1d5f14+_0x2786b8;},'lCngB':function(_0x3f7689,_0x5c1a6f){return _0x3f7689<<_0x5c1a6f;}};_0x230b5a=_0x1babef[_0x565c09(0x15c)](_0x230b5a,'');let _0xf6c86d=0x1505;for(let _0xf33f65=0x0;_0x1babef[_0x565c09(0x138)](_0xf33f65,_0x230b5a[_0x565c09(0x1a4)]);_0xf33f65++){const _0x1d79d3=_0x230b5a[_0x565c09(0x17a)](_0xf33f65);_0xf6c86d=_0x1babef[_0x565c09(0x172)](_0xf6c86d+_0x1babef['lCngB'](_0xf6c86d,0x5),_0x1d79d3);}return(_0xf6c86d&0x7fffffff)[_0x565c09(0x168)]();}static async[_0x39bba6(0x156)](_0x13f5e3,_0x3f4eb4){const _0x1c1ec4=_0x39bba6,_0x3388c1={'FxzIT':function(_0x5d3ffe,_0x54310e){return _0x5d3ffe+_0x54310e;},'pBdDm':'https://qun.qq.com/interactive/honorlist?gc=','XwQWW':'&type=','hLpCQ':_0x1c1ec4(0x14a),'UfiOd':function(_0x45c60,_0x5aef1c,_0x5f0989,_0x403788){return _0x45c60(_0x5aef1c,_0x5f0989,_0x403788);},'oWPRr':_0x1c1ec4(0x133),'WxdQh':_0x1c1ec4(0x13d),'XSVzr':function(_0x46d4ba,_0x2a37ba){return _0x46d4ba||_0x2a37ba;},'SbLkL':function(_0x5702ee,_0x24134d){return _0x5702ee+_0x24134d;},'MXxdM':function(_0x3084e8,_0x210ac9){return _0x3084e8+_0x210ac9;},'zeELQ':function(_0x26af2c,_0x583ae9){return _0x26af2c+_0x583ae9;},'LSQhW':_0x1c1ec4(0x159),'friTk':_0x1c1ec4(0x17f),'EQbxf':';\x20uin=o','iPkyR':function(_0x5e0ba1,_0x2538b7){return _0x5e0ba1===_0x2538b7;},'QgyrD':_0x1c1ec4(0x1a6),'HgKwq':function(_0x1dfd35,_0x5f2d61){return _0x1dfd35(_0x5f2d61);},'bsddl':function(_0x490c32,_0xb071e8,_0x32976e){return _0x490c32(_0xb071e8,_0x32976e);},'ZfPBA':'获取群聊之火失败','fsVVW':_0x1c1ec4(0x183),'HVpKs':function(_0x56cd71,_0x6cc613,_0x5f54a7){return _0x56cd71(_0x6cc613,_0x5f54a7);},'VaNtm':function(_0x511277,_0x136f05,_0x470380){return _0x511277(_0x136f05,_0x470380);},'nZaFS':function(_0x565bad,_0x563c13,_0x5a2274){return _0x565bad(_0x563c13,_0x5a2274);},'wJBVQ':function(_0x5c07ee,_0xd0e0b3){return _0x5c07ee===_0xd0e0b3;}},_0x17a55a=(await NTQQUserApi['getPSkey']([_0x3388c1[_0x1c1ec4(0x125)]]))[_0x3388c1['WxdQh']],_0x2911f1=await NTQQUserApi[_0x1c1ec4(0x185)]();if(_0x3388c1[_0x1c1ec4(0x193)](!_0x2911f1,!_0x17a55a))return undefined;async function _0x44d839(_0x6970f8,_0x225a42){const _0x4ca536=_0x1c1ec4;let _0x2e35a9=_0x3388c1['FxzIT'](_0x3388c1['pBdDm']+_0x6970f8,_0x3388c1[_0x4ca536(0x128)])+_0x225a42[_0x4ca536(0x168)](),_0x2c1af3='',_0x57bafb;try{_0x2c1af3=await RequestUtil[_0x4ca536(0x12b)](_0x2e35a9,_0x3388c1[_0x4ca536(0x136)],'',{'Cookie':_0x3817a8});const _0x4ff22d=_0x2c1af3[_0x4ca536(0x11a)](/window\.__INITIAL_STATE__=(.*?);/);return _0x4ff22d&&(_0x57bafb=JSON['parse'](_0x4ff22d[0x1][_0x4ca536(0x197)]())),_0x225a42===0x1?_0x57bafb?.['talkativeList']:_0x57bafb?.[_0x4ca536(0x188)];}catch(_0x54c045){_0x3388c1[_0x4ca536(0x13c)](logDebug,_0x3388c1[_0x4ca536(0x189)],_0x2e35a9,_0x54c045);}return undefined;}let _0x52bfd3={'group_id':_0x13f5e3};const _0x3817a8=_0x3388c1[_0x1c1ec4(0x15b)](_0x3388c1[_0x1c1ec4(0x15b)](_0x3388c1[_0x1c1ec4(0x155)](_0x3388c1[_0x1c1ec4(0x19f)](_0x3388c1[_0x1c1ec4(0x190)](_0x3388c1[_0x1c1ec4(0x12e)],_0x17a55a)+_0x1c1ec4(0x18d),_0x2911f1),_0x3388c1[_0x1c1ec4(0x194)]),selfInfo['uin'])+_0x3388c1[_0x1c1ec4(0x158)],selfInfo[_0x1c1ec4(0x116)]);if(_0x3388c1['iPkyR'](_0x3f4eb4,WebHonorType['TALKACTIVE'])||_0x3f4eb4===WebHonorType['ALL'])try{let _0x54353d=await _0x44d839(_0x13f5e3,0x1);if(!_0x54353d)throw new Error(_0x3388c1['QgyrD']);_0x52bfd3['current_talkative']={'user_id':_0x54353d[0x0]?.[_0x1c1ec4(0x116)],'avatar':_0x54353d[0x0]?.['avatar'],'nickname':_0x54353d[0x0]?.[_0x1c1ec4(0x166)],'day_count':0x0,'description':_0x54353d[0x0]?.[_0x1c1ec4(0x182)]},_0x52bfd3['talkative_list']=[];for(const _0x4241de of _0x54353d){_0x52bfd3[_0x1c1ec4(0x192)][_0x1c1ec4(0x14c)]({'user_id':_0x4241de?.['uin'],'avatar':_0x4241de?.[_0x1c1ec4(0x180)],'description':_0x4241de?.[_0x1c1ec4(0x182)],'day_count':0x0,'nickname':_0x4241de?.['name']});}}catch(_0x4a076a){_0x3388c1[_0x1c1ec4(0x179)](logDebug,_0x4a076a);}if(_0x3f4eb4===WebHonorType['PERFROMER']||_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))try{let _0x5064f3=await _0x3388c1[_0x1c1ec4(0x171)](_0x44d839,_0x13f5e3,0x2);if(!_0x5064f3)throw new Error(_0x3388c1['ZfPBA']);_0x52bfd3[_0x1c1ec4(0x196)]=[];for(const _0x49a680 of _0x5064f3){_0x52bfd3[_0x1c1ec4(0x196)]['push']({'user_id':_0x49a680?.['uin'],'nickname':_0x49a680?.[_0x1c1ec4(0x166)],'avatar':_0x49a680?.[_0x1c1ec4(0x180)],'description':_0x49a680?.[_0x1c1ec4(0x182)]});}}catch(_0x123d6c){_0x3388c1['HgKwq'](logDebug,_0x123d6c);}if(_0x3f4eb4===WebHonorType[_0x1c1ec4(0x10b)]||_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))try{let _0x235b4c=await _0x44d839(_0x13f5e3,0x3);if(!_0x235b4c)throw new Error(_0x3388c1[_0x1c1ec4(0x160)]);_0x52bfd3[_0x1c1ec4(0x15a)]=[];for(const _0x44b6ec of _0x235b4c){_0x52bfd3[_0x1c1ec4(0x15a)][_0x1c1ec4(0x14c)]({'user_id':_0x44b6ec?.[_0x1c1ec4(0x116)],'nickname':_0x44b6ec?.['name'],'avatar':_0x44b6ec?.[_0x1c1ec4(0x180)],'desc':_0x44b6ec?.['description']});}}catch(_0x1abba0){_0x3388c1[_0x1c1ec4(0x154)](logDebug,_0x3388c1['fsVVW'],_0x1abba0);}if(_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x18f)])||_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))try{let _0x1c9c1a=await _0x3388c1[_0x1c1ec4(0x145)](_0x44d839,_0x13f5e3,0x6);if(!_0x1c9c1a)throw new Error(_0x1c1ec4(0x16a));_0x52bfd3[_0x1c1ec4(0x135)]=[];for(const _0x47b7ef of _0x1c9c1a){_0x52bfd3[_0x1c1ec4(0x135)][_0x1c1ec4(0x14c)]({'user_id':_0x47b7ef?.[_0x1c1ec4(0x116)],'nickname':_0x47b7ef?.[_0x1c1ec4(0x166)],'avatar':_0x47b7ef?.[_0x1c1ec4(0x180)],'desc':_0x47b7ef?.[_0x1c1ec4(0x16f)]});}}catch(_0x5c36f7){_0x3388c1['nZaFS'](logDebug,'获取快乐源泉失败',_0x5c36f7);}return(_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType['EMOTION'])||_0x3388c1['wJBVQ'](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))&&(_0x52bfd3['strong_newbie_list']=[]),_0x52bfd3;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 97205c1f..e396636b 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x2baa7e=_0x5874;(function(_0x4e3314,_0x589d65){const _0x3538e3=_0x5874,_0x1f55a0=_0x4e3314();while(!![]){try{const _0x243d9a=-parseInt(_0x3538e3(0x1d8))/0x1*(-parseInt(_0x3538e3(0x202))/0x2)+parseInt(_0x3538e3(0x1e6))/0x3+-parseInt(_0x3538e3(0x19a))/0x4+-parseInt(_0x3538e3(0x18a))/0x5+-parseInt(_0x3538e3(0x209))/0x6*(-parseInt(_0x3538e3(0x1be))/0x7)+parseInt(_0x3538e3(0x1e2))/0x8+parseInt(_0x3538e3(0x185))/0x9*(-parseInt(_0x3538e3(0x1bb))/0xa);if(_0x243d9a===_0x589d65)break;else _0x1f55a0['push'](_0x1f55a0['shift']());}catch(_0x23c7de){_0x1f55a0['push'](_0x1f55a0['shift']());}}}(_0x48d3,0x60eab));import _0x59d79d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x423aa8 from'node:path';import _0x162d4f from'node:os';import _0x4a4053 from'node:fs';function _0x5874(_0x50f168,_0x358303){const _0x48d3f4=_0x48d3();return _0x5874=function(_0x5874bc,_0x7af9b7){_0x5874bc=_0x5874bc-0x164;let _0xf9da05=_0x48d3f4[_0x5874bc];return _0xf9da05;},_0x5874(_0x50f168,_0x358303);}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x48b06b from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}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'];[_0x2baa7e(0x175)];[_0x2baa7e(0x1de)];[_0x2baa7e(0x179)];['loginService'];[_0x2baa7e(0x190)]=[];[_0x2baa7e(0x180)]={'get'(target,prop,receiver){const _0x15032d=_0x2baa7e,xHLPjI={'ZHppG':function(callee,param1){return callee(param1);},'MKtfS':function(x,y){return x===y;},'XEFxx':_0x15032d(0x1f8)};if(xHLPjI['MKtfS'](typeof target[prop],xHLPjI[_0x15032d(0x1db)]))return(...args)=>{const _0x1b0030=_0x15032d;xHLPjI['ZHppG'](logDebug,target[_0x1b0030(0x1ab)][_0x1b0030(0x16a)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x15032d(0x187)](target,prop,receiver);}};constructor(){const _0x2cbaf5=_0x2baa7e,_0x492f77={'GPJFw':function(_0x123e1a,_0x2e4ad0){return _0x123e1a+_0x2e4ad0;},'vBxFw':function(_0x4ec1e3,_0xd05cfa){return _0x4ec1e3+_0xd05cfa;},'SUUQF':_0x2cbaf5(0x1aa),'MwbAO':function(_0x30cb4b,_0x52fed5,_0x4f562f){return _0x30cb4b(_0x52fed5,_0x4f562f);},'DLHbK':_0x2cbaf5(0x1cf),'GiIzL':function(_0x1d304f,_0x167417,_0x427c11){return _0x1d304f(_0x167417,_0x427c11);},'Jduwx':function(_0x3cd651,_0x437bb7){return _0x3cd651(_0x437bb7);},'CTPku':function(_0x2d9b07,_0x2367e6){return _0x2d9b07(_0x2367e6);},'NioDL':_0x2cbaf5(0x20d),'PLRiV':function(_0x2688ab,_0x5a3735,_0x9fe0e5){return _0x2688ab(_0x5a3735,_0x9fe0e5);},'YRMMH':_0x2cbaf5(0x195),'gfKgF':function(_0x406761,_0x78f76){return _0x406761 instanceof _0x78f76;},'cOdNA':'登录失败','OXjhy':function(_0x25017c,_0x4ac258){return _0x25017c==_0x4ac258;},'gZwJH':function(_0x43f410,_0x4a79ba,_0xa74bca){return _0x43f410(_0x4a79ba,_0xa74bca);}};this['engine']=new _0x59d79d[(_0x2cbaf5(0x20e))](),this[_0x2cbaf5(0x175)]=new _0x59d79d[(_0x2cbaf5(0x1a1))](),this[_0x2cbaf5(0x1d2)]=new _0x59d79d[(_0x2cbaf5(0x177))](),this[_0x2cbaf5(0x19d)]=new _0x59d79d[(_0x2cbaf5(0x167))](),this['loginListener']=new LoginListener(),this['loginListener'][_0x2cbaf5(0x1b2)]=_0x8c00ba=>{const _0x1ff6d9=_0x2cbaf5;logError(_0x492f77['GPJFw'](_0x492f77[_0x1ff6d9(0x16d)](_0x492f77[_0x1ff6d9(0x198)],_0x8c00ba),_0x1ff6d9(0x1e3)));},this[_0x2cbaf5(0x179)][_0x2cbaf5(0x1e7)]=_0x3f6392=>{const _0x3cf2b9=_0x2cbaf5,_0x4c06f3={'xSWyA':function(_0x43650c,_0x18d309,_0x5890b0){return _0x43650c(_0x18d309,_0x5890b0);},'FquJV':function(_0x27970d,_0x333b98){const _0x21e87d=_0x5874;return _0x492f77[_0x21e87d(0x205)](_0x27970d,_0x333b98);},'JqAfk':function(_0x6122b7,_0x4de90d,_0x50ee81){const _0xbe655f=_0x5874;return _0x492f77[_0xbe655f(0x1d3)](_0x6122b7,_0x4de90d,_0x50ee81);},'alAWO':_0x3cf2b9(0x217)};this[_0x3cf2b9(0x197)](_0x3f6392['uin'],_0x3f6392[_0x3cf2b9(0x169)])[_0x3cf2b9(0x1f9)](_0x460f29=>{const _0x4bfe25=_0x3cf2b9,_0xec3ae8={'gJwem':function(_0x45c73f,_0x43ea33,_0x2080b6){const _0x18b542=_0x5874;return _0x492f77[_0x18b542(0x1c8)](_0x45c73f,_0x43ea33,_0x2080b6);},'Ktyyi':_0x492f77[_0x4bfe25(0x16e)]};selfInfo['uin']=_0x3f6392[_0x4bfe25(0x174)],selfInfo['uid']=_0x3f6392['uid'],napCatConfig[_0x4bfe25(0x1e5)](),_0x492f77[_0x4bfe25(0x1d3)](setLogLevel,napCatConfig[_0x4bfe25(0x218)],napCatConfig[_0x4bfe25(0x199)]),_0x492f77['Jduwx'](enableFileLog,napCatConfig[_0x4bfe25(0x18f)]),_0x492f77[_0x4bfe25(0x1a2)](enableConsoleLog,napCatConfig[_0x4bfe25(0x1cd)]),_0x492f77[_0x4bfe25(0x1df)](setLogSelfInfo,selfInfo);const _0x246611=_0x423aa8['resolve'](this['dataPath'],_0x492f77[_0x4bfe25(0x207)]);_0x4a4053['mkdirSync'](_0x246611,{'recursive':!![]}),_0x492f77[_0x4bfe25(0x1ad)](logDebug,_0x492f77[_0x4bfe25(0x1b6)],_0x246611),dbUtil[_0x4bfe25(0x1dd)](_0x423aa8[_0x4bfe25(0x213)](_0x246611,'./'+_0x3f6392[_0x4bfe25(0x174)]+_0x4bfe25(0x1b9)))[_0x4bfe25(0x1f9)](()=>{const _0x5bf96b=_0x4bfe25,_0x5e9af6={'aAvsN':function(_0x63566f,_0x40dbd6,_0x8605c3){const _0x1e05b4=_0x5874;return _0x4c06f3[_0x1e05b4(0x211)](_0x63566f,_0x40dbd6,_0x8605c3);},'ipToX':function(_0x52961b,_0x531566){const _0x49ba9d=_0x5874;return _0x4c06f3[_0x49ba9d(0x1a3)](_0x52961b,_0x531566);}};this[_0x5bf96b(0x170)](),this[_0x5bf96b(0x190)][_0x5bf96b(0x1f3)](_0x142669=>{const _0x4dfcc5=_0x5bf96b;new Promise((_0x134b83,_0x219882)=>{const _0x552e02=_0x5874,_0x25b465=_0x5e9af6[_0x552e02(0x1c3)](_0x142669,_0x3f6392['uin'],_0x3f6392[_0x552e02(0x169)]);_0x5e9af6['ipToX'](_0x25b465,Promise)&&_0x25b465[_0x552e02(0x1f9)](_0x134b83)[_0x552e02(0x1a7)](_0x219882);})[_0x4dfcc5(0x1f9)]();});})[_0x4bfe25(0x1a7)](_0x14aa22=>{const _0x39ab30=_0x4bfe25;_0xec3ae8[_0x39ab30(0x1ba)](logError,_0xec3ae8[_0x39ab30(0x19c)],_0x14aa22);});})[_0x3cf2b9(0x1a7)](_0x601b87=>{const _0x290ea2=_0x3cf2b9;_0x4c06f3[_0x290ea2(0x1e0)](logError,_0x4c06f3[_0x290ea2(0x1eb)],_0x601b87);throw new Error(_0x290ea2(0x188)+JSON[_0x290ea2(0x1e4)](_0x601b87));});},this[_0x2cbaf5(0x179)][_0x2cbaf5(0x165)]=(_0x2c2eb6,_0x25b077,_0x139b9b)=>{const _0x357786=_0x2cbaf5;_0x492f77[_0x357786(0x1ad)](logError,_0x492f77['cOdNA'],_0x139b9b),_0x492f77['OXjhy'](_0x2c2eb6,0x1)&&_0x492f77[_0x357786(0x1d1)](_0x25b077,0x3)&&this[_0x357786(0x1d2)][_0x357786(0x1d6)]();},this[_0x2cbaf5(0x179)][_0x2cbaf5(0x168)]=_0x133167=>{_0x492f77['gZwJH'](logError,_0x492f77['cOdNA'],_0x133167);},this[_0x2cbaf5(0x179)]=new Proxy(this['loginListener'],this[_0x2cbaf5(0x180)]),this[_0x2cbaf5(0x1d2)]['addKernelLoginListener'](new _0x59d79d[(_0x2cbaf5(0x203))](this[_0x2cbaf5(0x179)])),this[_0x2cbaf5(0x1ca)]();}get[_0x2baa7e(0x215)](){const _0x393316=_0x2baa7e,_0x37acf7={'dofAc':_0x393316(0x204)};let _0x552bd3=this[_0x393316(0x175)][_0x393316(0x1bd)]();return!_0x552bd3&&(_0x552bd3=_0x423aa8[_0x393316(0x213)](_0x162d4f[_0x393316(0x17a)](),_0x37acf7['dofAc']),_0x4a4053['mkdirSync'](_0x552bd3,{'recursive':!![]})),_0x552bd3;}get[_0x2baa7e(0x1c2)](){const _0x26fb32=_0x2baa7e,_0x43a3e9={'Ccycu':_0x26fb32(0x17b)};return _0x423aa8[_0x26fb32(0x213)](this[_0x26fb32(0x215)],_0x43a3e9['Ccycu']);}['initConfig'](){const _0x5e94c8=_0x2baa7e;this[_0x5e94c8(0x1de)][_0x5e94c8(0x1c6)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x5e94c8(0x206),'use_xlog':!![],'qua':_0x5e94c8(0x1c9)+qqVersionConfigInfo['curVersion'][_0x5e94c8(0x1ed)]('-','_')+_0x5e94c8(0x1c0),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x59d79d[(_0x5e94c8(0x178))](new GlobalAdapter())),this[_0x5e94c8(0x1d2)][_0x5e94c8(0x1ca)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x5e94c8(0x1c2)],'clientVer':qqVersionConfigInfo[_0x5e94c8(0x1ef)],'hostName':hostname});}[_0x2baa7e(0x197)](_0x343d3c,_0x4c29db){const _0x551f41={'NHdlA':function(_0x1f4665,_0x472108){return _0x1f4665===_0x472108;},'BTYxf':function(_0xfd8650,_0x632609){return _0xfd8650(_0x632609);},'WtjNB':function(_0x52298d,_0x567af9,_0x2d6cf2,_0x52fdba){return _0x52298d(_0x567af9,_0x2d6cf2,_0x52fdba);},'XHCBb':function(_0xc400f4,_0x3d6fa3){return _0xc400f4(_0x3d6fa3);},'QOAJy':function(_0x31291a,_0x5ca8e7){return _0x31291a+_0x5ca8e7;}};return new Promise(async(_0x3c8ec2,_0x283c69)=>{const _0x5c980d=_0x5874,_0x26d956=await _0x551f41[_0x5c980d(0x20a)](genSessionConfig,_0x343d3c,_0x4c29db,this[_0x5c980d(0x215)]),_0x20b902=new SessionListener();_0x20b902[_0x5c980d(0x1e9)]=_0x3b386f=>{const _0xf78709=_0x5c980d;if(_0x551f41['NHdlA'](_0x3b386f,0x0))return _0x3c8ec2(0x0);_0x551f41[_0xf78709(0x1e1)](_0x283c69,_0x3b386f);},this[_0x5c980d(0x19d)]['init'](_0x26d956,new _0x59d79d[(_0x5c980d(0x1ac))](new DependsAdapter()),new _0x59d79d[(_0x5c980d(0x1ec))](new DispatcherAdapter()),new _0x59d79d[(_0x5c980d(0x208))](_0x20b902));try{this[_0x5c980d(0x19d)]['startNT'](0x0);}catch(_0x455b60){try{this['session']['startNT']();}catch(_0x406e47){_0x551f41['XHCBb'](_0x283c69,_0x551f41[_0x5c980d(0x1bf)](_0x5c980d(0x1ce),_0x406e47));}}});}['initDataListener'](){const _0x5c5728=_0x2baa7e,_0x257972={'RAFHJ':function(_0x474711,_0x4ae07e){return _0x474711===_0x4ae07e;},'ZVedh':function(_0x3c1723,_0x25eca6){return _0x3c1723(_0x25eca6);},'cfZGO':_0x5c5728(0x1fc),'FueSi':function(_0x39fd37,_0xac4c59){return _0x39fd37+_0xac4c59;},'nXSBv':function(_0x468351,_0x50bbb1){return _0x468351/_0x50bbb1;},'cZbQV':function(_0x42098a,_0x4f958f){return _0x42098a/_0x4f958f;},'ZRiRM':function(_0x544c79,_0x53a539){return _0x544c79===_0x53a539;},'XFwVM':'groupMemberList_MainWindow','GaOBq':function(_0x5195c3,_0x2db07b){return _0x5195c3===_0x2db07b;}},_0x771696=new MsgListener();_0x771696[_0x5c5728(0x1a8)]=_0x18d6ee=>{_0x18d6ee['map'](_0x4ad620=>{const _0x562189=_0x5874;_0x257972[_0x562189(0x1a9)](_0x4ad620['clientType'],0x2)&&_0x257972['ZVedh'](log,_0x257972[_0x562189(0x1dc)]+_0x4ad620[_0x562189(0x1b1)]+')\x20在线状态变更');});},_0x771696['onKickedOffLine']=_0x53ef6a=>{const _0x3d3b85=_0x5c5728;_0x257972[_0x3d3b85(0x1f1)](log,_0x257972[_0x3d3b85(0x19f)](_0x3d3b85(0x17e)+_0x53ef6a['tipsTitle'],']\x20')+_0x53ef6a['tipsDesc']);},_0x771696[_0x5c5728(0x18c)]=_0x57ce9b=>{const _0x178bef=_0x5c5728;stat[_0x178bef(0x1b3)]+=0x1,stat['message_sent']+=0x1,stat[_0x178bef(0x19e)]=Math['floor'](_0x257972[_0x178bef(0x1fd)](Date['now'](),0x3e8));},_0x771696['onRecvMsg']=_0x3c399d=>{const _0x24bd1d=_0x5c5728;stat['packet_received']+=0x1,stat[_0x24bd1d(0x1c1)]+=_0x3c399d['length'],stat[_0x24bd1d(0x19e)]=Math[_0x24bd1d(0x193)](_0x257972[_0x24bd1d(0x1c5)](Date[_0x24bd1d(0x1b5)](),0x3e8));},_0x771696[_0x5c5728(0x19b)]=(..._0x27240d)=>{const _0xc4fee8=_0x5c5728;stat[_0xc4fee8(0x18d)]+=0x1;},this[_0x5c5728(0x1b7)](_0x771696);const _0xb75b4a=new BuddyListener();_0xb75b4a['onBuddyListChange']=_0x343f82=>{const _0x559d64=_0x5c5728;rawFriends['length']=0x0,rawFriends[_0x559d64(0x176)](..._0x343f82);for(const _0x152598 of _0x343f82){for(const _0x491be7 of _0x152598['buddyList']){const _0x2e1101=friends['get'](_0x491be7['uid']);_0x2e1101?Object[_0x559d64(0x194)](_0x2e1101,_0x491be7):friends[_0x559d64(0x192)](_0x491be7[_0x559d64(0x169)],_0x491be7);}}},this['addListener'](_0xb75b4a),this[_0x5c5728(0x19d)][_0x5c5728(0x1a5)]()[_0x5c5728(0x1f7)](!![])[_0x5c5728(0x1f9)](_0x3867db=>{});const _0x214a6c=new ProfileListener();_0x214a6c[_0x5c5728(0x1b0)]=_0xe08ac=>{const _0x2a6a69=_0x5c5728;_0x257972[_0x2a6a69(0x1f0)](_0xe08ac['uid'],selfInfo['uid'])&&Object['assign'](selfInfo,_0xe08ac);},_0x214a6c[_0x5c5728(0x1e8)]=_0x8cd31f=>{},this['addListener'](_0x214a6c);const _0x2894e9=new GroupListener();_0x2894e9['onGroupListUpdate']=(_0x5b1343,_0x3a8a8f)=>{const _0x4c88e6=_0x5c5728,_0x1c5f49={'zARkt':function(_0x3e3e92,_0x3c6830){return _0x3e3e92===_0x3c6830;},'uyxgD':_0x257972[_0x4c88e6(0x172)]};_0x3a8a8f[_0x4c88e6(0x1f3)](_0x5701df=>{const _0x9bd30b=_0x4c88e6,_0x5d4777=groups[_0x9bd30b(0x187)](_0x5701df[_0x9bd30b(0x191)]);_0x5d4777&&_0x1c5f49[_0x9bd30b(0x189)](_0x5701df[_0x9bd30b(0x1c4)],_0x5d4777[_0x9bd30b(0x1c4)])?Object['assign'](_0x5d4777,_0x5701df):groups[_0x9bd30b(0x192)](_0x5701df[_0x9bd30b(0x191)],_0x5701df);const _0x253f5a=this[_0x9bd30b(0x19d)]['getGroupService']()['createMemberListScene'](_0x5701df[_0x9bd30b(0x191)],_0x1c5f49[_0x9bd30b(0x16b)]);this['session'][_0x9bd30b(0x1d5)]()[_0x9bd30b(0x1a0)](_0x253f5a,undefined,0xbb8)[_0x9bd30b(0x1f9)](_0x59d2b9=>{});});},_0x2894e9[_0x5c5728(0x21b)]=_0x36e14b=>{const _0x335553=_0x5c5728,_0x4cf69c=_0x36e14b[_0x335553(0x20c)][_0x335553(0x1d0)]('_')[0x0];if(groupMembers[_0x335553(0x166)](_0x4cf69c)){const _0x313627=groupMembers[_0x335553(0x187)](_0x4cf69c);_0x36e14b[_0x335553(0x1b8)][_0x335553(0x171)]((_0x1d6d01,_0x5579fd)=>{const _0xa661ee=_0x335553,_0x5b3255=_0x313627[_0xa661ee(0x187)](_0x5579fd);_0x5b3255?Object[_0xa661ee(0x194)](_0x5b3255,_0x1d6d01):_0x313627[_0xa661ee(0x192)](_0x5579fd,_0x1d6d01);});}else groupMembers[_0x335553(0x192)](_0x4cf69c,_0x36e14b['infos']);},_0x2894e9['onMemberInfoChange']=(_0x375ab6,_0x451623,_0x2bd121)=>{const _0x1d1bfb=_0x5c5728;_0x257972[_0x1d1bfb(0x1bc)](_0x451623,0x0)&&_0x2bd121['get'](selfInfo[_0x1d1bfb(0x169)])&&_0x2bd121[_0x1d1bfb(0x187)](selfInfo[_0x1d1bfb(0x169)])?.[_0x1d1bfb(0x1f2)]&&setTimeout(()=>{const _0x5d8db7=_0x1d1bfb;groups[_0x5d8db7(0x1da)](_0x375ab6);},0x1388);const _0x1cda48=groupMembers['get'](_0x375ab6);_0x1cda48?_0x2bd121[_0x1d1bfb(0x171)]((_0xc830a3,_0x4458ed)=>{const _0x833481=_0x1d1bfb,_0x130fd6=_0x1cda48[_0x833481(0x187)](_0x4458ed);_0x130fd6?Object['assign'](_0x130fd6,_0xc830a3):_0x1cda48[_0x833481(0x192)](_0x4458ed,_0xc830a3);}):groupMembers[_0x1d1bfb(0x192)](_0x375ab6,_0x2bd121);},this['addListener'](_0x2894e9);}[_0x2baa7e(0x1b7)](_0xf3ac84){const _0xddd7=_0x2baa7e,_0x435313={'bMlht':'BuddyListener','blQdZ':_0xddd7(0x1c7)};_0xf3ac84=new Proxy(_0xf3ac84,this['proxyHandler']);switch(_0xf3ac84[_0xddd7(0x1ab)][_0xddd7(0x16a)]){case _0x435313[_0xddd7(0x1f6)]:{return this[_0xddd7(0x19d)][_0xddd7(0x1a5)]()['addKernelBuddyListener'](new _0x59d79d[(_0xddd7(0x182))](_0xf3ac84));}case _0xddd7(0x186):{return this[_0xddd7(0x19d)][_0xddd7(0x1d5)]()[_0xddd7(0x1cb)](new _0x59d79d[(_0xddd7(0x196))](_0xf3ac84));}case _0xddd7(0x173):{return this['session'][_0xddd7(0x1d7)]()[_0xddd7(0x16f)](new _0x59d79d[(_0xddd7(0x20f))](_0xf3ac84));}case _0x435313[_0xddd7(0x1f5)]:{return this[_0xddd7(0x19d)][_0xddd7(0x21c)]()[_0xddd7(0x214)](new _0x59d79d['NodeIKernelProfileListener'](_0xf3ac84));}default:return-0x1;}}[_0x2baa7e(0x20b)](_0x5573d9){const _0x1a4b06=_0x2baa7e;NTEventDispatch[_0x1a4b06(0x1dd)]({'ListenerMap':_0x59d79d,'WrapperSession':this[_0x1a4b06(0x19d)]}),this['onLoginSuccessFuncList'][_0x1a4b06(0x176)](_0x5573d9);}async[_0x2baa7e(0x18e)](_0x522a26){const _0x378cdb=_0x2baa7e,_0x2b6402={'Qxurw':function(_0x10dc9a,_0x1c460c){return _0x10dc9a!==_0x1c460c;},'CWwXs':'快速登录失败\x20'},_0x385a33=await this['loginService'][_0x378cdb(0x183)]();if(_0x2b6402[_0x378cdb(0x1d9)](_0x385a33[_0x378cdb(0x216)],0x0))throw new Error('没有可快速登录的QQ号');const _0x1a58ff=_0x385a33[_0x378cdb(0x1ee)][_0x378cdb(0x201)](_0x459a6d=>_0x459a6d[_0x378cdb(0x174)]===_0x522a26);if(!_0x1a58ff||!_0x1a58ff?.[_0x378cdb(0x17f)])throw new Error(_0x522a26+_0x378cdb(0x212));await sleep(0x3e8);const _0x5aee9b=await this['loginService'][_0x378cdb(0x1a6)](_0x522a26);if(!_0x5aee9b['result'])throw new Error(_0x2b6402[_0x378cdb(0x1af)]+_0x5aee9b[_0x378cdb(0x1fe)][_0x378cdb(0x219)]);return _0x5aee9b;}async[_0x2baa7e(0x1cc)](_0x5c5eda){const _0x3c7398=_0x2baa7e,_0xf10306={'WgSSk':_0x3c7398(0x1ff),'hoZFQ':function(_0x366e89,_0x3ba919,_0x10a33c,_0x4cc599){return _0x366e89(_0x3ba919,_0x10a33c,_0x4cc599);}};return new Promise((_0x5bde43,_0x28b5a4)=>{const _0x4e92b3=_0x3c7398,_0x3d7cb4={'cLdgp':_0xf10306[_0x4e92b3(0x210)],'UOOaR':_0x4e92b3(0x200),'FMvGK':function(_0x1fb517,_0x2066c0,_0x35229a,_0x4530a1){return _0xf10306['hoZFQ'](_0x1fb517,_0x2066c0,_0x35229a,_0x4530a1);}};this[_0x4e92b3(0x179)][_0x4e92b3(0x1a4)]=_0x4de308=>{const _0x9601c4=_0x4e92b3,_0x22e233=_0x4de308['pngBase64QrcodeData'][_0x9601c4(0x1d0)](_0x3d7cb4[_0x9601c4(0x1fa)])[0x1],_0x1d623a=Buffer[_0x9601c4(0x181)](_0x22e233,_0x3d7cb4[_0x9601c4(0x18b)]);_0x3d7cb4['FMvGK'](_0x5c5eda,_0x4de308[_0x9601c4(0x164)],_0x4de308['pngBase64QrcodeData'],_0x1d623a);},this[_0x4e92b3(0x1d2)][_0x4e92b3(0x1d6)]();});}async[_0x2baa7e(0x16c)](_0x4d343a,_0x112fab,_0x2f3dba,_0x22eb33,_0x493e2c){const _0xebd8c5=_0x2baa7e,_0x5ba156={'WUbsv':_0xebd8c5(0x1ae),'osfEL':_0xebd8c5(0x184),'shVBo':function(_0x115b03,_0x17e4b0){return _0x115b03||_0x17e4b0;},'pElqL':function(_0x52bb51,_0x441e27){return _0x52bb51(_0x441e27);},'BumYD':_0xebd8c5(0x17d),'zGJEK':_0xebd8c5(0x1fb)},_0x12bd3c=_0x48b06b[_0xebd8c5(0x21a)](_0x5ba156['WUbsv'])[_0xebd8c5(0x1f4)](_0x112fab)['digest'](_0x5ba156[_0xebd8c5(0x1ea)]),_0x1222f8={'uin':_0x4d343a,'passwordMd5':_0x12bd3c,'step':_0x2f3dba&&_0x22eb33&&_0x493e2c?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x5ba156[_0xebd8c5(0x1d4)](_0x2f3dba,''),'proofWaterRand':_0x22eb33||'','proofWaterSid':_0x5ba156[_0xebd8c5(0x1d4)](_0x493e2c,'')};await this[_0xebd8c5(0x1d2)][_0xebd8c5(0x183)](),await _0x5ba156[_0xebd8c5(0x1b4)](sleep,0x3e8);const _0x20ce65=await this['loginService']['passwordLogin'](_0x1222f8);switch(_0x20ce65[_0xebd8c5(0x216)]){case'0':{break;}case _0x5ba156['BumYD']:{break;}case'4':case _0x5ba156[_0xebd8c5(0x17c)]:default:}}async['getQuickLoginList'](){const _0x27fe86=_0x2baa7e,_0x14a9e7=await this['loginService'][_0x27fe86(0x183)]();return _0x14a9e7;}}function _0x48d3(){const _0x12796b=['快速登录不可用','resolve','addKernelProfileListener','dataPath','result','initSession\x20failed','fileLogLevel','errMsg','createHash','onMemberListChange','getProfileService','qrcodeUrl','onQRCodeSessionFailed','has','NodeIQQNTWrapperSession','onLoginFailed','uid','name','uyxgD','passwordLogin','vBxFw','DLHbK','addKernelMsgListener','initDataListener','forEach','XFwVM','MsgListener','uin','util','push','NodeIKernelLoginService','NodeIGlobalAdapter','loginListener','homedir','./nt_qq/global','zGJEK','140022008','[KickedOffLine]\x20[','isQuickLogin','proxyHandler','from','NodeIKernelBuddyListener','getLoginList','hex','630486LbnQKZ','GroupListener','get','启动失败:\x20','zARkt','3471375EuoAzJ','UOOaR','onAddSendMsg','packet_received','quickLogin','fileLog','onLoginSuccessFuncList','groupCode','set','floor','assign','本账号数据/缓存目录:','NodeIKernelGroupListener','initSession','SUUQF','consoleLogLevel','659476XjbdIp','onRecvSysMsg','Ktyyi','session','last_message_time','FueSi','getNextMemberList','NodeQQNTWrapperUtil','CTPku','FquJV','onQRCodeGetPicture','getBuddyService','quickLoginWithUin','catch','onLineDev','RAFHJ','当前账号(','constructor','NodeIDependsAdapter','PLRiV','md5','CWwXs','onProfileDetailInfoChanged','devUid','onUserLoggedIn','packet_sent','pElqL','now','YRMMH','addListener','infos','-v2.db','gJwem','40hrSHeP','GaOBq','getNTUserDataInfoConfig','502187FrcBvR','QOAJy','_GW_B','message_received','dataPathGlobal','aAvsN','memberCount','cZbQV','initWithDeskTopConfig','ProfileListener','MwbAO','V1_WIN_NQ_','initConfig','addKernelGroupListener','qrLogin','consoleLog','init\x20failed\x20','数据库初始化失败','split','OXjhy','loginService','GiIzL','shVBo','getGroupService','getQRCodePicture','getMsgService','6avErgG','Qxurw','delete','XEFxx','cfZGO','init','engine','Jduwx','JqAfk','BTYxf','5876032dAnSLw',')已登录,无法重复登录','stringify','read','1212144jCBMpM','onQRCodeLoginSucceed','onSelfStatusChanged','onSessionInitComplete','osfEL','alAWO','NodeIDispatcherAdapter','replace','LocalLoginInfoList','curVersion','ZRiRM','ZVedh','isDelete','map','update','blQdZ','bMlht','getBuddyList','undefined','then','cLdgp','140022013','账号设备(','nXSBv','loginErrorInfo','data:image/png;base64,','base64','find','60852AtLOSl','NodeIKernelLoginListener','./.config/QQ','gfKgF','Windows\x2010\x20Pro','NioDL','NodeIKernelSessionListener','18gLBazD','WtjNB','onLoginSuccess','sceneId','./NapCat/data','NodeIQQNTWrapperEngine','NodeIKernelMsgListener','WgSSk','xSWyA'];_0x48d3=function(){return _0x12796b;};return _0x48d3();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x251aa1=_0x566c;(function(_0x3e3379,_0x53f616){const _0x534602=_0x566c,_0x182b4d=_0x3e3379();while(!![]){try{const _0x2b9792=parseInt(_0x534602(0x13e))/0x1+parseInt(_0x534602(0x109))/0x2+-parseInt(_0x534602(0x10d))/0x3*(-parseInt(_0x534602(0x125))/0x4)+parseInt(_0x534602(0xfb))/0x5*(-parseInt(_0x534602(0x118))/0x6)+-parseInt(_0x534602(0x15c))/0x7*(-parseInt(_0x534602(0xbd))/0x8)+-parseInt(_0x534602(0xc2))/0x9+parseInt(_0x534602(0x115))/0xa*(-parseInt(_0x534602(0x10c))/0xb);if(_0x2b9792===_0x53f616)break;else _0x182b4d['push'](_0x182b4d['shift']());}catch(_0x5d0b0b){_0x182b4d['push'](_0x182b4d['shift']());}}}(_0x47d9,0x8d62f));import _0x8d627 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5d5a5f from'node:path';import _0x1fef52 from'node:os';import _0x316959 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x1268ca from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x47d9(){const _0x4b8570=['isDelete','homedir','clientType','[KickedOffLine]\x20[','INVrh','luCap','140022008','onQRCodeGetPicture','set','NodeIGlobalAdapter','本账号数据/缓存目录:','502643xcbhbE','packet_sent','onGroupListUpdate','getBuddyList','登录失败','read','没有可快速登录的QQ号','tipsDesc','md5','./nt_qq/global','passwordLogin','createMemberListScene','启动失败:\x20','groupMemberList_MainWindow','账号设备(','onMemberInfoChange','util','curVersion','V1_WIN_NQ_','pngBase64QrcodeData','engine','ProfileListener','_GW_B','NodeIKernelLoginService','delete','sceneId',')\x20在线状态变更','startNT','hZBst','qrcodeUrl','1921983FBEnae','message_sent','快速登录失败\x20','quickLogin','addKernelProfileListener','faolv','onSelfStatusChanged','NodeQQNTWrapperUtil','Ljnhx','data:image/png;base64,','QegsG','addKernelGroupListener','当前账号(','floor','constructor','数据库初始化失败','addKernelLoginListener','onKickedOffLine','iRyKc','getMsgService','onSessionInitComplete','init','140022013','MsgListener','loginListener','dataPath','getLoginList','memberCount','nEGqL','KdIiH','NodeIKernelLoginListener','aUkcI','16smnAvN','devUid','getQRCodePicture','JqzYu','getNextMemberList','2479050PeYDhl','then','getNTUserDataInfoConfig','stringify','getProfileService','MWzkS','isQuickLogin','ZbvDW','DOVba','ETiwb','CRgsD','onProfileDetailInfoChanged','TJrfu','FIggH','loginErrorInfo',')已登录,无法重复登录','session','gQyaj','onUserLoggedIn','packet_received','getGroupService','length','has','ZdaXi','NodeIQQNTWrapperSession','PYyNa','BuddyListener','map','addKernelMsgListener','resolve','kOaXS','BRRLn','jiBTx','proxyHandler','onLineDev','uid','onRecvSysMsg','from','digest','initWithDeskTopConfig','lSvxn','groupCode','ZfQwy','SZRzP','NodeIDependsAdapter','zBkCK','onLoginSuccessFuncList','now','SHDeE','catch','快速登录不可用','uin','iyBgL','split','KuzDA','XmXVC','dmbZs','888605GfQkQb','addKernelBuddyListener','addListener','buddyList','getQuickLoginList','NodeIKernelSessionListener','onAddSendMsg','find','update','assign','getBuddyService','NodeIKernelBuddyListener','infos','qrLogin','632708CWHeHF','KjoSS','initDataListener','11ZZkVZg','3360282bOOGaJ','ZBKHm','CHdzq','onLoginSuccess','loginService','consoleLogLevel','consoleLog','initConfig','7450550eFqPqt','replace','get','30OmSebd','vndxW','bzhmX','fileLog','MMFfJ','WXpre','createHash','dataPathGlobal','initSession','forEach','wNokp','mkdirSync','POTmr','4DlmVkR','rDJux','onRecvMsg','onLoginFailed','last_message_time','tipsTitle','NodeIQQNTWrapperEngine','LocalLoginInfoList','name','result','fileLogLevel','init\x20failed\x20','-v2.db','onQRCodeSessionFailed'];_0x47d9=function(){return _0x4b8570;};return _0x47d9();}function _0x566c(_0x6cfd0b,_0x393e6e){const _0x47d980=_0x47d9();return _0x566c=function(_0x566c54,_0x52c166){_0x566c54=_0x566c54-0xae;let _0x2fcf21=_0x47d980[_0x566c54];return _0x2fcf21;},_0x566c(_0x6cfd0b,_0x393e6e);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x251aa1(0xd2)];[_0x251aa1(0x14e)];[_0x251aa1(0x152)];[_0x251aa1(0xb5)];['loginService'];['onLoginSuccessFuncList']=[];[_0x251aa1(0xe3)]={'get'(target,prop,receiver){const _0x524744=_0x251aa1,GujdXa={'ApJGG':function(callee,param1){return callee(param1);},'ZbvDW':function(x,y){return x===y;},'ZBKHm':'undefined'};if(GujdXa[_0x524744(0xc9)](typeof target[prop],GujdXa[_0x524744(0x10e)]))return(...args)=>{const _0x357024=_0x524744;GujdXa['ApJGG'](logDebug,target[_0x357024(0x16a)][_0x357024(0x12d)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0xa55978=_0x251aa1,_0x4c51ee={'INVrh':function(_0x4ca69d,_0x2bf6c2){return _0x4ca69d(_0x2bf6c2);},'CRgsD':function(_0x14ab5a,_0x3512c1){return _0x14ab5a+_0x3512c1;},'iyBgL':_0xa55978(0x168),'ZfQwy':function(_0x6507c9,_0x212dcd,_0x385a88){return _0x6507c9(_0x212dcd,_0x385a88);},'JqzYu':function(_0x413d21,_0x4b73f9){return _0x413d21(_0x4b73f9);},'ETiwb':_0xa55978(0x13d),'QegsG':function(_0x5b9345,_0x36112b,_0x13f522){return _0x5b9345(_0x36112b,_0x13f522);},'wNokp':_0xa55978(0x142),'nEGqL':function(_0x43ce17,_0x4e945f){return _0x43ce17==_0x4e945f;},'dtWct':function(_0x333f06,_0x51715e){return _0x333f06==_0x51715e;}};this[_0xa55978(0x152)]=new _0x8d627[(_0xa55978(0x12b))](),this[_0xa55978(0x14e)]=new _0x8d627[(_0xa55978(0x163))](),this['loginService']=new _0x8d627[(_0xa55978(0x155))](),this[_0xa55978(0xd2)]=new _0x8d627[(_0xa55978(0xda))](),this[_0xa55978(0xb5)]=new LoginListener(),this[_0xa55978(0xb5)][_0xa55978(0xd4)]=_0x2c18c0=>{const _0x5837f4=_0xa55978;_0x4c51ee['INVrh'](logError,_0x4c51ee[_0x5837f4(0xcc)](_0x4c51ee[_0x5837f4(0xf6)]+_0x2c18c0,_0x5837f4(0xd1)));},this[_0xa55978(0xb5)]['onQRCodeLoginSucceed']=_0xcc2365=>{const _0x18ace8=_0xa55978,_0x51cd72={'Ljnhx':function(_0x5100a1,_0x56a206,_0x39fc96){const _0xeb6d46=_0x566c;return _0x4c51ee[_0xeb6d46(0xec)](_0x5100a1,_0x56a206,_0x39fc96);},'JIlTf':function(_0x2e49b8,_0x52934b){return _0x4c51ee['INVrh'](_0x2e49b8,_0x52934b);},'VlJlo':function(_0x419f6a,_0x12aa3d){const _0x425841=_0x566c;return _0x4c51ee[_0x425841(0x137)](_0x419f6a,_0x12aa3d);},'kOaXS':function(_0x27e587,_0x569a89){const _0x5cd0a1=_0x566c;return _0x4c51ee[_0x5cd0a1(0xc0)](_0x27e587,_0x569a89);},'DsCWm':'./NapCat/data','jiBTx':_0x4c51ee[_0x18ace8(0xcb)]};this[_0x18ace8(0x120)](_0xcc2365[_0x18ace8(0xf5)],_0xcc2365[_0x18ace8(0xe5)])[_0x18ace8(0xc3)](_0x56b0e0=>{const _0x52a086=_0x18ace8,_0x4e5d1e={'MWzkS':function(_0x91f9e1,_0x10db01,_0x56eed8){const _0x6dcb6=_0x566c;return _0x51cd72[_0x6dcb6(0x164)](_0x91f9e1,_0x10db01,_0x56eed8);},'POTmr':_0x52a086(0x16b)};selfInfo[_0x52a086(0xf5)]=_0xcc2365[_0x52a086(0xf5)],selfInfo[_0x52a086(0xe5)]=_0xcc2365[_0x52a086(0xe5)],napCatConfig[_0x52a086(0x143)](),_0x51cd72[_0x52a086(0x164)](setLogLevel,napCatConfig[_0x52a086(0x12f)],napCatConfig[_0x52a086(0x112)]),_0x51cd72['JIlTf'](enableFileLog,napCatConfig[_0x52a086(0x11b)]),_0x51cd72['VlJlo'](enableConsoleLog,napCatConfig[_0x52a086(0x113)]),_0x51cd72[_0x52a086(0xe0)](setLogSelfInfo,selfInfo);const _0x5dea6a=_0x5d5a5f[_0x52a086(0xdf)](this[_0x52a086(0xb6)],_0x51cd72['DsCWm']);_0x316959['mkdirSync'](_0x5dea6a,{'recursive':!![]}),_0x51cd72[_0x52a086(0x164)](logDebug,_0x51cd72[_0x52a086(0xe2)],_0x5dea6a),dbUtil[_0x52a086(0xb2)](_0x5d5a5f[_0x52a086(0xdf)](_0x5dea6a,'./'+_0xcc2365[_0x52a086(0xf5)]+_0x52a086(0x131)))[_0x52a086(0xc3)](()=>{const _0x4a98f6=_0x52a086;this[_0x4a98f6(0x10b)](),this['onLoginSuccessFuncList']['map'](_0x118bdf=>{const _0x2c8a0f=_0x4a98f6,_0x4a5a47={'hZBst':function(_0x8f33f5,_0x5388dc,_0x5d52fe){const _0x5c7648=_0x566c;return _0x4e5d1e[_0x5c7648(0xc7)](_0x8f33f5,_0x5388dc,_0x5d52fe);},'luCap':function(_0x591c96,_0x1ff451){return _0x591c96 instanceof _0x1ff451;}};new Promise((_0x1ef09b,_0x1744ac)=>{const _0x19b711=_0x566c,_0x126283=_0x4a5a47[_0x19b711(0x15a)](_0x118bdf,_0xcc2365['uin'],_0xcc2365[_0x19b711(0xe5)]);_0x4a5a47[_0x19b711(0x138)](_0x126283,Promise)&&_0x126283[_0x19b711(0xc3)](_0x1ef09b)['catch'](_0x1744ac);})[_0x2c8a0f(0xc3)]();});})[_0x52a086(0xf3)](_0x2e12a6=>{const _0x53b9a0=_0x52a086;logError(_0x4e5d1e[_0x53b9a0(0x124)],_0x2e12a6);});})[_0x18ace8(0xf3)](_0x2342f0=>{const _0x4b8851=_0x18ace8;logError('initSession\x20failed',_0x2342f0);throw new Error(_0x4b8851(0x14a)+JSON[_0x4b8851(0xc5)](_0x2342f0));});},this[_0xa55978(0xb5)][_0xa55978(0x132)]=(_0x20d7b8,_0x504925,_0x1b382a)=>{const _0x883d0d=_0xa55978;_0x4c51ee[_0x883d0d(0x166)](logError,_0x4c51ee[_0x883d0d(0x122)],_0x1b382a),_0x4c51ee[_0x883d0d(0xb9)](_0x20d7b8,0x1)&&_0x4c51ee['dtWct'](_0x504925,0x3)&&this[_0x883d0d(0x111)][_0x883d0d(0xbf)]();},this['loginListener'][_0xa55978(0x128)]=_0x43ed2a=>{const _0x1ff397=_0xa55978;_0x4c51ee[_0x1ff397(0x166)](logError,_0x4c51ee[_0x1ff397(0x122)],_0x43ed2a);},this['loginListener']=new Proxy(this[_0xa55978(0xb5)],this[_0xa55978(0xe3)]),this[_0xa55978(0x111)][_0xa55978(0x16c)](new _0x8d627[(_0xa55978(0xbb))](this['loginListener'])),this[_0xa55978(0x114)]();}get[_0x251aa1(0xb6)](){const _0x2855dc=_0x251aa1,_0x47ac03={'DOVba':'./.config/QQ'};let _0x35c519=this[_0x2855dc(0x14e)][_0x2855dc(0xc4)]();return!_0x35c519&&(_0x35c519=_0x5d5a5f[_0x2855dc(0xdf)](_0x1fef52[_0x2855dc(0x134)](),_0x47ac03[_0x2855dc(0xca)]),_0x316959[_0x2855dc(0x123)](_0x35c519,{'recursive':!![]})),_0x35c519;}get[_0x251aa1(0x11f)](){const _0x2b02b2=_0x251aa1;return _0x5d5a5f[_0x2b02b2(0xdf)](this[_0x2b02b2(0xb6)],_0x2b02b2(0x147));}['initConfig'](){const _0x6b0329=_0x251aa1,_0x42aed8={'KdIiH':'Windows\x2010\x20Pro'};this[_0x6b0329(0x152)][_0x6b0329(0xe9)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x6b0329(0x14f)],'os_version':_0x42aed8[_0x6b0329(0xba)],'use_xlog':!![],'qua':_0x6b0329(0x150)+qqVersionConfigInfo[_0x6b0329(0x14f)][_0x6b0329(0x116)]('-','_')+_0x6b0329(0x154),'global_path_config':{'desktopGlobalPath':this[_0x6b0329(0x11f)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x8d627[(_0x6b0329(0x13c))](new GlobalAdapter())),this[_0x6b0329(0x111)][_0x6b0329(0x114)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x6b0329(0x11f)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x251aa1(0x120)](_0x382e99,_0x17dab6){const _0x39b757={'CHdzq':function(_0x38bc9d,_0x3b865f){return _0x38bc9d(_0x3b865f);},'FIggH':function(_0x44d7d6,_0x2068bc,_0x3fb571,_0x51b5f8){return _0x44d7d6(_0x2068bc,_0x3fb571,_0x51b5f8);},'BRRLn':function(_0x478abb,_0x7730e2){return _0x478abb(_0x7730e2);},'PYyNa':function(_0x581101,_0x2a7ac0){return _0x581101+_0x2a7ac0;}};return new Promise(async(_0x139f88,_0x25dd86)=>{const _0x1e9a05=_0x566c,_0x22f574={'vndxW':function(_0x459bd5,_0x344f7c){const _0x2ec9b5=_0x566c;return _0x39b757[_0x2ec9b5(0x10f)](_0x459bd5,_0x344f7c);}},_0x35ae21=await _0x39b757[_0x1e9a05(0xcf)](genSessionConfig,_0x382e99,_0x17dab6,this[_0x1e9a05(0xb6)]),_0x2e3219=new SessionListener();_0x2e3219[_0x1e9a05(0xb1)]=_0x18a121=>{const _0x4b073e=_0x1e9a05;if(_0x18a121===0x0)return _0x139f88(0x0);_0x22f574[_0x4b073e(0x119)](_0x25dd86,_0x18a121);},this[_0x1e9a05(0xd2)][_0x1e9a05(0xb2)](_0x35ae21,new _0x8d627[(_0x1e9a05(0xee))](new DependsAdapter()),new _0x8d627['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x8d627[(_0x1e9a05(0x100))](_0x2e3219));try{this[_0x1e9a05(0xd2)]['startNT'](0x0);}catch(_0x301d69){try{this[_0x1e9a05(0xd2)][_0x1e9a05(0x159)]();}catch(_0x4f01dd){_0x39b757[_0x1e9a05(0xe1)](_0x25dd86,_0x39b757[_0x1e9a05(0xdb)](_0x1e9a05(0x130),_0x4f01dd));}}});}['initDataListener'](){const _0x4b45f6=_0x251aa1,_0x5aa7dd={'rDJux':function(_0x2d40d4,_0x592982){return _0x2d40d4(_0x592982);},'MMFfJ':function(_0xe6698e,_0x1e5e7d){return _0xe6698e+_0x1e5e7d;},'zBkCK':_0x4b45f6(0x14c),'CwQmO':_0x4b45f6(0x158),'GPobs':function(_0x30e8f2,_0x2c93c5){return _0x30e8f2(_0x2c93c5);},'faolv':function(_0x4924af,_0x44e2a9){return _0x4924af/_0x44e2a9;},'KuzDA':function(_0x20949a,_0x4cca28){return _0x20949a===_0x4cca28;},'gQyaj':_0x4b45f6(0x14b),'bzhmX':function(_0x4ad062,_0x50ab88,_0x2ae313){return _0x4ad062(_0x50ab88,_0x2ae313);}},_0x4b809e=new MsgListener();_0x4b809e[_0x4b45f6(0xe4)]=_0x42ff17=>{const _0xee9aeb=_0x4b45f6;_0x42ff17[_0xee9aeb(0xdd)](_0x439d8c=>{const _0x208fd8=_0xee9aeb;_0x439d8c[_0x208fd8(0x135)]===0x2&&_0x5aa7dd[_0x208fd8(0x126)](log,_0x5aa7dd[_0x208fd8(0x11c)](_0x5aa7dd['MMFfJ'](_0x5aa7dd[_0x208fd8(0xef)],_0x439d8c[_0x208fd8(0xbe)]),_0x5aa7dd['CwQmO']));});},_0x4b809e[_0x4b45f6(0xae)]=_0x382d64=>{const _0x5d1522=_0x4b45f6;_0x5aa7dd['GPobs'](log,_0x5aa7dd[_0x5d1522(0x11c)](_0x5d1522(0x136)+_0x382d64[_0x5d1522(0x12a)]+']\x20',_0x382d64[_0x5d1522(0x145)]));},_0x4b809e[_0x4b45f6(0x101)]=_0x158612=>{const _0x401f54=_0x4b45f6;stat[_0x401f54(0x13f)]+=0x1,stat[_0x401f54(0x15d)]+=0x1,stat[_0x401f54(0x129)]=Math[_0x401f54(0x169)](_0x5aa7dd[_0x401f54(0x161)](Date[_0x401f54(0xf1)](),0x3e8));},_0x4b809e[_0x4b45f6(0x127)]=_0x1cf0b5=>{const _0x23c1a0=_0x4b45f6;stat['packet_received']+=0x1,stat['message_received']+=_0x1cf0b5[_0x23c1a0(0xd7)],stat[_0x23c1a0(0x129)]=Math['floor'](_0x5aa7dd[_0x23c1a0(0x161)](Date[_0x23c1a0(0xf1)](),0x3e8));},_0x4b809e[_0x4b45f6(0xe6)]=(..._0x55aaed)=>{const _0x395354=_0x4b45f6;stat[_0x395354(0xd5)]+=0x1;},this[_0x4b45f6(0xfd)](_0x4b809e);const _0x119837=new BuddyListener();_0x119837['onBuddyListChange']=_0x2b9dd7=>{const _0x4f1890=_0x4b45f6;rawFriends[_0x4f1890(0xd7)]=0x0,rawFriends['push'](..._0x2b9dd7);for(const _0x3364d9 of _0x2b9dd7){for(const _0x190019 of _0x3364d9[_0x4f1890(0xfe)]){const _0x4424aa=friends[_0x4f1890(0x117)](_0x190019[_0x4f1890(0xe5)]);_0x4424aa?Object['assign'](_0x4424aa,_0x190019):friends[_0x4f1890(0x13b)](_0x190019[_0x4f1890(0xe5)],_0x190019);}}},this[_0x4b45f6(0xfd)](_0x119837),this[_0x4b45f6(0xd2)][_0x4b45f6(0x105)]()[_0x4b45f6(0x141)](!![])[_0x4b45f6(0xc3)](_0x7036f3=>{});const _0x4e166c=new ProfileListener();_0x4e166c[_0x4b45f6(0xcd)]=_0x26d111=>{const _0x174e98=_0x4b45f6;_0x5aa7dd[_0x174e98(0xf8)](_0x26d111['uid'],selfInfo[_0x174e98(0xe5)])&&Object[_0x174e98(0x104)](selfInfo,_0x26d111);},_0x4e166c[_0x4b45f6(0x162)]=_0x595ddf=>{},this['addListener'](_0x4e166c);const _0x507eb7=new GroupListener();_0x507eb7[_0x4b45f6(0x140)]=(_0x26340e,_0x56b22f)=>{const _0x4b618e=_0x4b45f6;_0x56b22f[_0x4b618e(0xdd)](_0x52a9ea=>{const _0x210037=_0x4b618e,_0x26b5a0=groups[_0x210037(0x117)](_0x52a9ea[_0x210037(0xeb)]);_0x26b5a0&&_0x5aa7dd[_0x210037(0xf8)](_0x52a9ea[_0x210037(0xb8)],_0x26b5a0['memberCount'])?Object[_0x210037(0x104)](_0x26b5a0,_0x52a9ea):groups[_0x210037(0x13b)](_0x52a9ea[_0x210037(0xeb)],_0x52a9ea);const _0xfad3ec=this[_0x210037(0xd2)][_0x210037(0xd6)]()[_0x210037(0x149)](_0x52a9ea[_0x210037(0xeb)],_0x5aa7dd[_0x210037(0xd3)]);this[_0x210037(0xd2)][_0x210037(0xd6)]()[_0x210037(0xc1)](_0xfad3ec,undefined,0xbb8)[_0x210037(0xc3)](_0x5351c1=>{});});},_0x507eb7['onMemberListChange']=_0x114d01=>{const _0x27f1f7=_0x4b45f6,_0x350287=_0x114d01[_0x27f1f7(0x157)][_0x27f1f7(0xf7)]('_')[0x0];if(groupMembers[_0x27f1f7(0xd8)](_0x350287)){const _0x35cc79=groupMembers[_0x27f1f7(0x117)](_0x350287);_0x114d01[_0x27f1f7(0x107)][_0x27f1f7(0x121)]((_0x31cc20,_0x24c360)=>{const _0x3d10b8=_0x27f1f7,_0x3bc8dc=_0x35cc79[_0x3d10b8(0x117)](_0x24c360);_0x3bc8dc?Object[_0x3d10b8(0x104)](_0x3bc8dc,_0x31cc20):_0x35cc79['set'](_0x24c360,_0x31cc20);});}else groupMembers[_0x27f1f7(0x13b)](_0x350287,_0x114d01['infos']);},_0x507eb7[_0x4b45f6(0x14d)]=(_0x496276,_0x1a39c7,_0x8c3fc6)=>{const _0x251b30=_0x4b45f6;_0x1a39c7===0x0&&_0x8c3fc6[_0x251b30(0x117)](selfInfo[_0x251b30(0xe5)])&&_0x8c3fc6['get'](selfInfo[_0x251b30(0xe5)])?.[_0x251b30(0x133)]&&_0x5aa7dd[_0x251b30(0x11a)](setTimeout,()=>{const _0x37c653=_0x251b30;groups[_0x37c653(0x156)](_0x496276);},0x1388);const _0x48e653=groupMembers[_0x251b30(0x117)](_0x496276);_0x48e653?_0x8c3fc6[_0x251b30(0x121)]((_0x335e0e,_0x4588c8)=>{const _0x53e89a=_0x251b30,_0x393d5e=_0x48e653['get'](_0x4588c8);_0x393d5e?Object[_0x53e89a(0x104)](_0x393d5e,_0x335e0e):_0x48e653[_0x53e89a(0x13b)](_0x4588c8,_0x335e0e);}):groupMembers[_0x251b30(0x13b)](_0x496276,_0x8c3fc6);},this['addListener'](_0x507eb7);}['addListener'](_0x5dcb81){const _0x541407=_0x251aa1,_0x2254f1={'TOBet':'GroupListener','SHDeE':_0x541407(0xb4),'uuwsM':_0x541407(0x153)};_0x5dcb81=new Proxy(_0x5dcb81,this[_0x541407(0xe3)]);switch(_0x5dcb81['constructor']['name']){case _0x541407(0xdc):{return this[_0x541407(0xd2)][_0x541407(0x105)]()[_0x541407(0xfc)](new _0x8d627[(_0x541407(0x106))](_0x5dcb81));}case _0x2254f1['TOBet']:{return this['session'][_0x541407(0xd6)]()[_0x541407(0x167)](new _0x8d627['NodeIKernelGroupListener'](_0x5dcb81));}case _0x2254f1[_0x541407(0xf2)]:{return this[_0x541407(0xd2)][_0x541407(0xb0)]()[_0x541407(0xde)](new _0x8d627['NodeIKernelMsgListener'](_0x5dcb81));}case _0x2254f1['uuwsM']:{return this[_0x541407(0xd2)][_0x541407(0xc6)]()[_0x541407(0x160)](new _0x8d627['NodeIKernelProfileListener'](_0x5dcb81));}default:return-0x1;}}[_0x251aa1(0x110)](_0x5cc6fd){const _0x2963b7=_0x251aa1;NTEventDispatch[_0x2963b7(0xb2)]({'ListenerMap':_0x8d627,'WrapperSession':this[_0x2963b7(0xd2)]}),this[_0x2963b7(0xf0)]['push'](_0x5cc6fd);}async[_0x251aa1(0x15f)](_0x27bc92){const _0x3f6a97=_0x251aa1,_0x59c07d={'TJrfu':function(_0x32e333,_0x4c6eb5){return _0x32e333!==_0x4c6eb5;},'ibQYM':_0x3f6a97(0x144),'iRyKc':function(_0x25203a,_0x4dd15b){return _0x25203a(_0x4dd15b);},'XmXVC':function(_0x39be8a,_0x463129){return _0x39be8a+_0x463129;},'lSvxn':_0x3f6a97(0x15e)},_0x396935=await this['loginService'][_0x3f6a97(0xb7)]();if(_0x59c07d[_0x3f6a97(0xce)](_0x396935[_0x3f6a97(0x12e)],0x0))throw new Error(_0x59c07d['ibQYM']);const _0x288974=_0x396935[_0x3f6a97(0x12c)][_0x3f6a97(0x102)](_0x293b66=>_0x293b66['uin']===_0x27bc92);if(!_0x288974||!_0x288974?.[_0x3f6a97(0xc8)])throw new Error(_0x27bc92+_0x3f6a97(0xf4));await _0x59c07d[_0x3f6a97(0xaf)](sleep,0x3e8);const _0x1fb711=await this[_0x3f6a97(0x111)]['quickLoginWithUin'](_0x27bc92);if(!_0x1fb711['result'])throw new Error(_0x59c07d[_0x3f6a97(0xf9)](_0x59c07d[_0x3f6a97(0xea)],_0x1fb711[_0x3f6a97(0xd0)]['errMsg']));return _0x1fb711;}async[_0x251aa1(0x108)](_0x5e04d8){const _0xb79828={'ZdaXi':function(_0x24a732,_0x102c96,_0x38ae34,_0x1fc8a4){return _0x24a732(_0x102c96,_0x38ae34,_0x1fc8a4);}};return new Promise((_0x1800cf,_0x145afb)=>{const _0xd340bb=_0x566c,_0x2ed637={'YnNaW':function(_0x51ab32,_0x2e0c3a,_0x19aed2,_0x585502){const _0x538334=_0x566c;return _0xb79828[_0x538334(0xd9)](_0x51ab32,_0x2e0c3a,_0x19aed2,_0x585502);}};this[_0xd340bb(0xb5)][_0xd340bb(0x13a)]=_0x58a171=>{const _0x41425f=_0xd340bb,_0x3d04b5=_0x58a171[_0x41425f(0x151)][_0x41425f(0xf7)](_0x41425f(0x165))[0x1],_0x4c1000=Buffer[_0x41425f(0xe7)](_0x3d04b5,'base64');_0x2ed637['YnNaW'](_0x5e04d8,_0x58a171[_0x41425f(0x15b)],_0x58a171[_0x41425f(0x151)],_0x4c1000);},this[_0xd340bb(0x111)]['getQRCodePicture']();});}async[_0x251aa1(0x148)](_0x696dde,_0x1dfeae,_0x4f7b88,_0x21c26f,_0x34adad){const _0x4f6d4b=_0x251aa1,_0x30f4ad={'dmbZs':_0x4f6d4b(0x146),'kpfrS':'hex','KjoSS':function(_0x1055da,_0x298b55){return _0x1055da||_0x298b55;},'aUkcI':function(_0x5223a6,_0x13b961){return _0x5223a6(_0x13b961);},'SZRzP':_0x4f6d4b(0x139),'WXpre':_0x4f6d4b(0xb3)},_0x3c9c86=_0x1268ca[_0x4f6d4b(0x11e)](_0x30f4ad[_0x4f6d4b(0xfa)])[_0x4f6d4b(0x103)](_0x1dfeae)[_0x4f6d4b(0xe8)](_0x30f4ad['kpfrS']),_0x3f5139={'uin':_0x696dde,'passwordMd5':_0x3c9c86,'step':_0x4f7b88&&_0x21c26f&&_0x34adad?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x30f4ad[_0x4f6d4b(0x10a)](_0x4f7b88,''),'proofWaterRand':_0x30f4ad[_0x4f6d4b(0x10a)](_0x21c26f,''),'proofWaterSid':_0x30f4ad[_0x4f6d4b(0x10a)](_0x34adad,'')};await this['loginService']['getLoginList'](),await _0x30f4ad[_0x4f6d4b(0xbc)](sleep,0x3e8);const _0x1fcb11=await this[_0x4f6d4b(0x111)][_0x4f6d4b(0x148)](_0x3f5139);switch(_0x1fcb11['result']){case'0':{break;}case _0x30f4ad[_0x4f6d4b(0xed)]:{break;}case'4':case _0x30f4ad[_0x4f6d4b(0x11d)]:default:}}async[_0x251aa1(0xff)](){const _0xb4389f=_0x251aa1,_0x42718c=await this[_0xb4389f(0x111)]['getLoginList']();return _0x42718c;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.d.ts b/src/core.lib/src/data.d.ts index 76dd5789..bc4174d5 100644 --- a/src/core.lib/src/data.d.ts +++ b/src/core.lib/src/data.d.ts @@ -19,7 +19,6 @@ export declare function deleteGroup(groupQQ: string): void; export declare const groupMembers: Map>; export declare const friends: Map; export declare const groupNotifies: Record; -export declare function getFriend(uinOrUid: string): Promise; export declare function getGroup(qq: string | number): Promise; export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise; export declare const tempGroupCodeMap: Record; diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 4474c951..78a0d1e2 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x27c2f6,_0x11d2ca){const _0x1836bf=_0x5db4,_0x10cbe0=_0x27c2f6();while(!![]){try{const _0x731586=-parseInt(_0x1836bf(0x19b))/0x1+parseInt(_0x1836bf(0x19e))/0x2*(parseInt(_0x1836bf(0x19f))/0x3)+-parseInt(_0x1836bf(0x1af))/0x4+parseInt(_0x1836bf(0x1a5))/0x5*(parseInt(_0x1836bf(0x1a0))/0x6)+parseInt(_0x1836bf(0x1aa))/0x7+parseInt(_0x1836bf(0x1a6))/0x8*(parseInt(_0x1836bf(0x1a9))/0x9)+-parseInt(_0x1836bf(0x1a3))/0xa*(parseInt(_0x1836bf(0x1ae))/0xb);if(_0x731586===_0x11d2ca)break;else _0x10cbe0['push'](_0x10cbe0['shift']());}catch(_0x258254){_0x10cbe0['push'](_0x10cbe0['shift']());}}}(_0x3cbb,0x7e5d6));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';function _0x3cbb(){const _0xe5d8fc=['3791709jQAmBt','4842915aHTYqb','toString','forEach','VXcxB','11pIVxfi','960136YhEOsB','get','mfDiD','delete','from','179856pKxjNF','set','length','18oHuPLS','232590lpKZBs','6cZtPjX','getGroupMembers','getGroups','12063530CcnjtC','values','1664585SBfDsv','8ljlqHt','find','uin'];_0x3cbb=function(){return _0xe5d8fc;};return _0x3cbb();}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(_0x322074){const _0x415f93=_0x5db4;groups[_0x415f93(0x199)](_0x322074),groupMembers[_0x415f93(0x199)](_0x322074);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getFriend(_0x473e79){const _0x53d80f=_0x5db4;_0x473e79=_0x473e79[_0x53d80f(0x1ab)]();if(isNumeric(_0x473e79)){const _0x1431c4=Array[_0x53d80f(0x19a)](friends[_0x53d80f(0x1a4)]());return _0x1431c4[_0x53d80f(0x1a7)](_0x4ebe66=>_0x4ebe66['uin']===_0x473e79);}else return friends[_0x53d80f(0x197)](_0x473e79);}export async function getGroup(_0x517675){const _0x35805a=_0x5db4;let _0x107e87=groups['get'](_0x517675[_0x35805a(0x1ab)]());if(!_0x107e87)try{const _0x55c042=await NTQQGroupApi[_0x35805a(0x1a2)]();_0x55c042[_0x35805a(0x19d)]&&_0x55c042[_0x35805a(0x1ac)](_0x6a1203=>{groups['set'](_0x6a1203['groupCode'],_0x6a1203);});}catch(_0x3c74a8){return undefined;}return _0x107e87=groups['get'](_0x517675[_0x35805a(0x1ab)]()),_0x107e87;}export async function getGroupMember(_0x1c4b88,_0x1ae479){const _0x148d29=_0x5db4,_0xcb04f6={'mfDiD':function(_0x34d378,_0x2bbc53){return _0x34d378(_0x2bbc53);},'VXcxB':function(_0x2452b3){return _0x2452b3();}};_0x1c4b88=_0x1c4b88[_0x148d29(0x1ab)](),_0x1ae479=_0x1ae479['toString']();let _0x42f835=groupMembers['get'](_0x1c4b88);if(!_0x42f835)try{_0x42f835=await NTQQGroupApi['getGroupMembers'](_0x1c4b88),groupMembers[_0x148d29(0x19c)](_0x1c4b88,_0x42f835);}catch(_0x774301){return null;}const _0x1f381e=()=>{const _0x24b812=_0x148d29;let _0x53e789=undefined;return _0xcb04f6[_0x24b812(0x198)](isNumeric,_0x1ae479)?_0x53e789=Array[_0x24b812(0x19a)](_0x42f835[_0x24b812(0x1a4)]())[_0x24b812(0x1a7)](_0x353f12=>_0x353f12[_0x24b812(0x1a8)]===_0x1ae479):_0x53e789=_0x42f835[_0x24b812(0x197)](_0x1ae479),_0x53e789;};let _0x10cc4a=_0xcb04f6['VXcxB'](_0x1f381e);return!_0x10cc4a&&(_0x42f835=await NTQQGroupApi[_0x148d29(0x1a1)](_0x1c4b88),_0x10cc4a=_0xcb04f6[_0x148d29(0x1ad)](_0x1f381e)),_0x10cc4a;}function _0x5db4(_0x66df28,_0x127c58){const _0x3cbb10=_0x3cbb();return _0x5db4=function(_0x5db406,_0x3ef3b8){_0x5db406=_0x5db406-0x197;let _0xf2eaf3=_0x3cbb10[_0x5db406];return _0xf2eaf3;},_0x5db4(_0x66df28,_0x127c58);}export const tempGroupCodeMap={};export const rawFriends=[];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(_0x507c55,_0xe76747){const _0x4e4e9e=_0x2e30,_0x4b62ac=_0x507c55();while(!![]){try{const _0x386c5f=-parseInt(_0x4e4e9e(0x17f))/0x1*(parseInt(_0x4e4e9e(0x189))/0x2)+parseInt(_0x4e4e9e(0x18b))/0x3*(parseInt(_0x4e4e9e(0x183))/0x4)+parseInt(_0x4e4e9e(0x184))/0x5+-parseInt(_0x4e4e9e(0x191))/0x6+parseInt(_0x4e4e9e(0x185))/0x7*(-parseInt(_0x4e4e9e(0x18f))/0x8)+-parseInt(_0x4e4e9e(0x180))/0x9+parseInt(_0x4e4e9e(0x192))/0xa;if(_0x386c5f===_0xe76747)break;else _0x4b62ac['push'](_0x4b62ac['shift']());}catch(_0x254d56){_0x4b62ac['push'](_0x4b62ac['shift']());}}}(_0x1961,0x4906a));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()};function _0x2e30(_0x3bed39,_0x5b4501){const _0x1961d0=_0x1961();return _0x2e30=function(_0x2e30f1,_0x15de76){_0x2e30f1=_0x2e30f1-0x17e;let _0x310a9f=_0x1961d0[_0x2e30f1];return _0x310a9f;},_0x2e30(_0x3bed39,_0x5b4501);}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x37e81e){const _0x30124f=_0x2e30;groups[_0x30124f(0x187)](_0x37e81e),groupMembers['delete'](_0x37e81e);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getGroup(_0x467c99){const _0x23a892=_0x2e30;let _0x36554b=groups['get'](_0x467c99[_0x23a892(0x188)]());if(!_0x36554b)try{const _0x31841e=await NTQQGroupApi[_0x23a892(0x17e)]();_0x31841e[_0x23a892(0x190)]&&_0x31841e[_0x23a892(0x18d)](_0x163452=>{const _0x35cc3b=_0x23a892;groups['set'](_0x163452[_0x35cc3b(0x182)],_0x163452);});}catch(_0x404582){return undefined;}return _0x36554b=groups['get'](_0x467c99[_0x23a892(0x188)]()),_0x36554b;}export async function getGroupMember(_0x431789,_0x1ee32c){const _0x6ce565=_0x2e30,_0x5b8518={'dhdHT':function(_0x212e55){return _0x212e55();}};_0x431789=_0x431789[_0x6ce565(0x188)](),_0x1ee32c=_0x1ee32c[_0x6ce565(0x188)]();let _0x3189b5=groupMembers[_0x6ce565(0x181)](_0x431789);if(!_0x3189b5)try{_0x3189b5=await NTQQGroupApi[_0x6ce565(0x18e)](_0x431789),groupMembers[_0x6ce565(0x18c)](_0x431789,_0x3189b5);}catch(_0xe7c056){return null;}const _0x58b980=()=>{const _0x623f3c=_0x6ce565;let _0x30c57c=undefined;return isNumeric(_0x1ee32c)?_0x30c57c=Array[_0x623f3c(0x186)](_0x3189b5[_0x623f3c(0x193)]())['find'](_0xefd20f=>_0xefd20f['uin']===_0x1ee32c):_0x30c57c=_0x3189b5[_0x623f3c(0x181)](_0x1ee32c),_0x30c57c;};let _0x646ab1=_0x5b8518[_0x6ce565(0x18a)](_0x58b980);return!_0x646ab1&&(_0x3189b5=await NTQQGroupApi[_0x6ce565(0x18e)](_0x431789),_0x646ab1=_0x58b980()),_0x646ab1;}export const tempGroupCodeMap={};export const rawFriends=[];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};function _0x1961(){const _0x131a36=['4KMlbfN','dhdHT','249HgUmyg','set','forEach','getGroupMembers','8IIghPA','length','492744JRBlUl','10601600sCtxlA','values','getGroups','133906asyCis','4975263mosbVX','get','groupCode','11668XcxsSc','576015bFXbfL','1509319ZecXRM','from','delete','toString'];_0x1961=function(){return _0x131a36;};return _0x1961();} \ 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 3616b098..0ba87095 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x5d59d3,_0x2e8fae){var _0x1bf3ff=_0x5cdf,_0x5a7576=_0x5d59d3();while(!![]){try{var _0x4e9f46=parseInt(_0x1bf3ff(0x137))/0x1*(parseInt(_0x1bf3ff(0x136))/0x2)+parseInt(_0x1bf3ff(0x133))/0x3+-parseInt(_0x1bf3ff(0x131))/0x4+parseInt(_0x1bf3ff(0x13a))/0x5+-parseInt(_0x1bf3ff(0x12f))/0x6*(-parseInt(_0x1bf3ff(0x139))/0x7)+-parseInt(_0x1bf3ff(0x12e))/0x8*(parseInt(_0x1bf3ff(0x129))/0x9)+-parseInt(_0x1bf3ff(0x12d))/0xa*(parseInt(_0x1bf3ff(0x13c))/0xb);if(_0x4e9f46===_0x2e8fae)break;else _0x5a7576['push'](_0x5a7576['shift']());}catch(_0x246536){_0x5a7576['push'](_0x5a7576['shift']());}}}(_0x4c16,0x9fab4));function _0x5cdf(_0x34552e,_0x47c61e){var _0x4c163d=_0x4c16();return _0x5cdf=function(_0x5cdf66,_0x1acbc9){_0x5cdf66=_0x5cdf66-0x129;var _0x5eadee=_0x4c163d[_0x5cdf66];return _0x5eadee;},_0x5cdf(_0x34552e,_0x47c61e);};function _0x4c16(){var _0x52c86c=['AUDIO','431211TtKEDe','OCOHq','DOCUMENT','8832834UEuRDk','IMAGE','OTHER','2|0|1|4|3','370nIEzXE','8oRNUuI','7662LZqKXA','VIDEO','1833312rfAyUE','XsgJx','2414547ZeNUBg','YGggh','rNNrm','6nBrXeG','203493kboEFa','qNfvT','7035VkweyR','4227410CkGzUV'];_0x4c16=function(){return _0x52c86c;};return _0x4c16();}export var CacheFileType;(function(_0x37c57a){var _0xf6bd6c=_0x5cdf,_0x25e57b={'rNNrm':_0xf6bd6c(0x12c),'baxRs':_0xf6bd6c(0x130),'OCOHq':_0xf6bd6c(0x13b),'XsgJx':_0xf6bd6c(0x12a),'YGggh':_0xf6bd6c(0x12b),'qNfvT':_0xf6bd6c(0x13e)},_0x4cd544=_0x25e57b[_0xf6bd6c(0x135)]['split']('|'),_0x4147b1=0x0;while(!![]){switch(_0x4cd544[_0x4147b1++]){case'0':_0x37c57a[_0x37c57a[_0xf6bd6c(0x130)]=0x1]=_0x25e57b['baxRs'];continue;case'1':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x13d)]]=0x2]=_0xf6bd6c(0x13b);continue;case'2':_0x37c57a[_0x37c57a[_0x25e57b['XsgJx']]=0x0]=_0x25e57b[_0xf6bd6c(0x132)];continue;case'3':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x134)]]=0x4]=_0xf6bd6c(0x12b);continue;case'4':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x138)]]=0x3]=_0x25e57b['qNfvT'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x3f1f62,_0x2ee11c){var _0x4f4168=_0x1a36,_0x13f90b=_0x3f1f62();while(!![]){try{var _0x2671fe=-parseInt(_0x4f4168(0x18f))/0x1+-parseInt(_0x4f4168(0x19b))/0x2+parseInt(_0x4f4168(0x191))/0x3*(-parseInt(_0x4f4168(0x195))/0x4)+parseInt(_0x4f4168(0x190))/0x5*(-parseInt(_0x4f4168(0x19d))/0x6)+-parseInt(_0x4f4168(0x18d))/0x7*(parseInt(_0x4f4168(0x197))/0x8)+parseInt(_0x4f4168(0x196))/0x9+parseInt(_0x4f4168(0x18e))/0xa;if(_0x2671fe===_0x2ee11c)break;else _0x13f90b['push'](_0x13f90b['shift']());}catch(_0x3dff2d){_0x13f90b['push'](_0x13f90b['shift']());}}}(_0x1645,0x957be));function _0x1645(){var _0x474b8a=['5769VVKndC','4|2|3|1|0','BgcgY','IMAGE','1652VUUNFo','9129204TwgQGp','264200vEySjN','split','vUSKZ','GltZX','441688MlxfaN','VIDEO','66dXPnvb','AUDIO','OTHER','119YQvYnT','21765840vhRuVh','696529ktOaZd','138935zZMdZa'];_0x1645=function(){return _0x474b8a;};return _0x1645();};export var CacheFileType;function _0x1a36(_0x50e87d,_0x5dac65){var _0x164580=_0x1645();return _0x1a36=function(_0x1a3616,_0x3ccc21){_0x1a3616=_0x1a3616-0x18c;var _0x54aac9=_0x164580[_0x1a3616];return _0x54aac9;},_0x1a36(_0x50e87d,_0x5dac65);}(function(_0x1145cd){var _0x820379=_0x1a36,_0x25420a={'ANFeE':_0x820379(0x192),'BgcgY':'DOCUMENT','vUSKZ':_0x820379(0x19e),'GltZX':_0x820379(0x194)},_0x3fc4af=_0x25420a['ANFeE'][_0x820379(0x198)]('|'),_0x257f09=0x0;while(!![]){switch(_0x3fc4af[_0x257f09++]){case'0':_0x1145cd[_0x1145cd[_0x820379(0x18c)]=0x4]=_0x820379(0x18c);continue;case'1':_0x1145cd[_0x1145cd['DOCUMENT']=0x3]=_0x25420a[_0x820379(0x193)];continue;case'2':_0x1145cd[_0x1145cd[_0x820379(0x19c)]=0x1]=_0x820379(0x19c);continue;case'3':_0x1145cd[_0x1145cd[_0x25420a[_0x820379(0x199)]]=0x2]=_0x25420a['vUSKZ'];continue;case'4':_0x1145cd[_0x1145cd[_0x25420a[_0x820379(0x19a)]]=0x0]=_0x820379(0x194);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 4efa33fd..cf43c237 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x29b812=_0x2bba;(function(_0x49b9e2,_0x13013b){const _0x4e922a=_0x2bba,_0x2932ab=_0x49b9e2();while(!![]){try{const _0x13221d=-parseInt(_0x4e922a(0x213))/0x1*(parseInt(_0x4e922a(0x22e))/0x2)+parseInt(_0x4e922a(0x221))/0x3*(parseInt(_0x4e922a(0x23c))/0x4)+parseInt(_0x4e922a(0x1f6))/0x5*(parseInt(_0x4e922a(0x1f5))/0x6)+-parseInt(_0x4e922a(0x220))/0x7*(parseInt(_0x4e922a(0x22d))/0x8)+-parseInt(_0x4e922a(0x225))/0x9+-parseInt(_0x4e922a(0x227))/0xa+-parseInt(_0x4e922a(0x23f))/0xb*(-parseInt(_0x4e922a(0x216))/0xc);if(_0x13221d===_0x13013b)break;else _0x2932ab['push'](_0x2932ab['shift']());}catch(_0x170b45){_0x2932ab['push'](_0x2932ab['shift']());}}}(_0x42dd,0x19bc1));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2e7715}from'node:fs';function _0x42dd(){const _0x5798a8=['replace','IzDvQ','sysface','AniStickerId','2LsUgQY','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','QDes','12BMVIeC','Bot\x20Test','time','ARK','reply','unlink','thOKJ','miniapp','文件异常,大小为0','ptt','14zOzjam','230313xdrOqK','width','SvagZ','[包剪锤]','1500750IxjRyq','jpg','510040ALwmHj','oRAbt','catch','gkMEn','Ori','IwDps','206376wPHcfG','15182mvKcBj','xaKlV','AniStickerType','VIDEO','find','then','video','语音转换失败,\x20请检查语音文件是否正常','QSid','height','face','PTT','RPS','cqtJK','4GAJuBO','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','cuJfa','2297647WyRExa','screenshots','SxjWF','FIhtr','https://www.bilibili.com/','[商城表情]','MFACE','stat','uploadFile','Thumb','AniStickerPackId','TEXT','set','pfluQ','toString','writeFile','FILE','oMTVQ','end','32934HhIBAP','95DLJAzg','GwDzc','rps','MTqvM','FACE','mp4','error','GsEId','sep','RwcLc','text','yDngx','获取视频信息失败','FEfsK','KMhnW','PIC','XLrxw','markdown','VbHcm','file','size','ark','MARKDOWN','get','dice'];_0x42dd=function(){return _0x5798a8;};return _0x42dd();}function _0x2bba(_0x372693,_0x221025){const _0x42dd2c=_0x42dd();return _0x2bba=function(_0x2bba47,_0x575337){_0x2bba47=_0x2bba47-0x1ec;let _0x5742e6=_0x42dd2c[_0x2bba47];return _0x5742e6;},_0x2bba(_0x372693,_0x221025);}import _0x4d30f2 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0xdc8a5b from'./face_config.json';import*as _0x5cfedc from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x29b812(0x200)](_0x57fdf4){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x57fdf4,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x58ab5d,_0x40ecea,_0x9d588d,_0x17f72e){const _0x17d765=_0x29b812;return{'elementType':ElementType[_0x17d765(0x1ed)],'elementId':'','textElement':{'content':'@'+_0x17f72e,'atType':_0x9d588d,'atUid':_0x58ab5d,'atTinyId':'','atNtUid':_0x40ecea}};}static[_0x29b812(0x21a)](_0x48b8fa,_0x139028,_0x5e1341,_0x20c32b){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x48b8fa,'replayMsgId':_0x139028,'senderUin':_0x5e1341,'senderUinStr':_0x20c32b}};}static async['pic'](_0x5edee5,_0x59dd25='',_0x52cfec=0x0){const _0x58c1b7=_0x29b812,_0x43b403={'xaKlV':function(_0x531d70,_0x4407a3){return _0x531d70===_0x4407a3;}},{md5:_0x3cc2e7,fileName:_0x2b11de,path:_0x129220,fileSize:_0x3f7081}=await NTQQFileApi[_0x58c1b7(0x247)](_0x5edee5,ElementType[_0x58c1b7(0x205)],_0x52cfec);if(_0x43b403[_0x58c1b7(0x22f)](_0x3f7081,0x0))throw _0x58c1b7(0x21e);const _0x43c205=await NTQQFileApi['getImageSize'](_0x5edee5),_0x24e08a={'md5HexStr':_0x3cc2e7,'fileSize':_0x3f7081[_0x58c1b7(0x1f0)](),'picWidth':_0x43c205?.['width'],'picHeight':_0x43c205?.['height'],'fileName':_0x2b11de,'sourcePath':_0x129220,'original':!![],'picType':isGIF(_0x5edee5)?PicType['gif']:PicType[_0x58c1b7(0x226)],'picSubType':_0x52cfec,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x59dd25};return{'elementType':ElementType[_0x58c1b7(0x205)],'elementId':'','picElement':_0x24e08a};}static async[_0x29b812(0x209)](_0x4c4f66,_0xe9d930='',_0x4c4b24=''){const _0x5a01ed=_0x29b812,_0x532772={'IwDps':function(_0x12547f,_0x515bce){return _0x12547f||_0x515bce;}},{md5:_0x37ddcb,fileName:_0x5b23fd,path:_0x55d842,fileSize:_0x6bbb1d}=await NTQQFileApi[_0x5a01ed(0x247)](_0x4c4f66,ElementType[_0x5a01ed(0x1f2)]);if(_0x6bbb1d===0x0)throw _0x5a01ed(0x21e);const _0x1d983f={'elementType':ElementType[_0x5a01ed(0x1f2)],'elementId':'','fileElement':{'fileName':_0x532772[_0x5a01ed(0x22c)](_0xe9d930,_0x5b23fd),'folderId':_0x4c4b24,'filePath':_0x55d842,'fileSize':_0x6bbb1d[_0x5a01ed(0x1f0)]()}};return _0x1d983f;}static async[_0x29b812(0x234)](_0x4a1e7b,_0x3fdfe6='',_0x2ae14d=''){const _0x13dc2c=_0x29b812,_0x4644a6={'MTqvM':function(_0x5c61e0,_0x576a2c){return _0x5c61e0(_0x576a2c);},'yDngx':'获取视频封面失败,使用默认封面','SxjWF':_0x13dc2c(0x1f4),'pfluQ':_0x13dc2c(0x1fc),'KMhnW':function(_0x4d5fbf,_0x157b0a){return _0x4d5fbf+_0x157b0a;},'thOKJ':function(_0x21f925,_0x529505){return _0x21f925===_0x529505;},'cqtJK':_0x13dc2c(0x21e),'oMTVQ':function(_0x7b9a75,_0x801ef7,_0x17cefa){return _0x7b9a75(_0x801ef7,_0x17cefa);},'GsEId':_0x13dc2c(0x202),'gkMEn':function(_0x2e4f3a,_0x74c432){return _0x2e4f3a||_0x74c432;}},{fileName:_0x27e19d,path:_0x3a9137,fileSize:_0x54ffce,md5:_0x3f3359}=await NTQQFileApi[_0x13dc2c(0x247)](_0x4a1e7b,ElementType[_0x13dc2c(0x231)]);if(_0x4644a6[_0x13dc2c(0x21c)](_0x54ffce,0x0))throw _0x4644a6[_0x13dc2c(0x23b)];let _0x56a651=_0x3a9137[_0x13dc2c(0x20f)](_0x5cfedc[_0x13dc2c(0x1fe)]+_0x13dc2c(0x22b)+_0x5cfedc[_0x13dc2c(0x1fe)],_0x5cfedc['sep']+_0x13dc2c(0x248)+_0x5cfedc[_0x13dc2c(0x1fe)]);_0x56a651=_0x5cfedc['dirname'](_0x56a651);let _0x520297={'width':0x780,'height':0x438,'time':0xf,'format':_0x13dc2c(0x1fb),'size':_0x54ffce,'filePath':_0x4a1e7b};try{_0x520297=await getVideoInfo(_0x3a9137);}catch(_0xfea553){_0x4644a6[_0x13dc2c(0x1f3)](logError,_0x4644a6[_0x13dc2c(0x1fd)],_0xfea553);}const _0x3790de=new Promise((_0x17f971,_0x171a8d)=>{const _0x4d4a76=_0x13dc2c,_0x2e09fd={'FEfsK':function(_0x190abf,_0x2873f8){const _0x233096=_0x2bba;return _0x4644a6[_0x233096(0x1f9)](_0x190abf,_0x2873f8);},'fvVEP':function(_0x3f4f32,_0x2e1492,_0x51113a){return _0x3f4f32(_0x2e1492,_0x51113a);},'GwDzc':_0x4644a6[_0x4d4a76(0x201)]},_0x3240fb=_0x3f3359+'_0.png',_0x4259e7=_0x5cfedc['join'](_0x56a651,_0x3240fb);_0x4644a6['MTqvM'](_0x4d30f2,_0x4a1e7b)['on'](_0x4644a6[_0x4d4a76(0x241)],()=>{})['on'](_0x4644a6[_0x4d4a76(0x1ef)],_0x1a551a=>{const _0x2ed9c2=_0x4d4a76;_0x2e09fd['fvVEP'](logDebug,_0x2e09fd[_0x2ed9c2(0x1f7)],_0x1a551a),_0x2ae14d?_0x2e7715['copyFile'](_0x2ae14d,_0x4259e7)[_0x2ed9c2(0x233)](()=>{const _0x2f6d9d=_0x2ed9c2;_0x2e09fd[_0x2f6d9d(0x203)](_0x17f971,_0x4259e7);})['catch'](_0x171a8d):_0x2e7715[_0x2ed9c2(0x1f1)](_0x4259e7,defaultVideoThumb)[_0x2ed9c2(0x233)](()=>{_0x17f971(_0x4259e7);})[_0x2ed9c2(0x229)](_0x171a8d);})[_0x4d4a76(0x240)]({'timestamps':[0x0],'filename':_0x3240fb,'folder':_0x56a651,'size':_0x4644a6[_0x4d4a76(0x204)](_0x4644a6[_0x4d4a76(0x204)](_0x520297['width'],'x'),_0x520297[_0x4d4a76(0x237)])})['on'](_0x4644a6['SxjWF'],()=>{const _0x361a1a=_0x4d4a76;_0x2e09fd[_0x361a1a(0x203)](_0x17f971,_0x4259e7);});}),_0x237d25=new Map(),_0x5bdc19=await _0x3790de,_0x21adeb=(await _0x2e7715[_0x13dc2c(0x246)](_0x5bdc19))[_0x13dc2c(0x20a)];_0x237d25[_0x13dc2c(0x1ee)](0x0,_0x5bdc19);const _0x3bfa69=await _0x4644a6[_0x13dc2c(0x1f9)](calculateFileMD5,_0x5bdc19),_0x4b2b34={'elementType':ElementType[_0x13dc2c(0x231)],'elementId':'','videoElement':{'fileName':_0x4644a6[_0x13dc2c(0x22a)](_0x3fdfe6,_0x27e19d),'filePath':_0x3a9137,'videoMd5':_0x3f3359,'thumbMd5':_0x3bfa69,'fileTime':_0x520297[_0x13dc2c(0x218)],'thumbPath':_0x237d25,'thumbSize':_0x21adeb,'thumbWidth':_0x520297[_0x13dc2c(0x222)],'thumbHeight':_0x520297[_0x13dc2c(0x237)],'fileSize':_0x4644a6['KMhnW']('',_0x54ffce)}};return _0x4b2b34;}static async[_0x29b812(0x21f)](_0x1ea36c){const _0x26ff74=_0x29b812,_0x483611={'FIhtr':function(_0x34ca6a,_0x5513a7){return _0x34ca6a===_0x5513a7;},'FQGfB':function(_0x54de3f,_0x1cab52){return _0x54de3f||_0x1cab52;}},{converted:_0x43b450,path:_0x5ba745,duration:_0x55a8af}=await encodeSilk(_0x1ea36c);if(!_0x5ba745)throw _0x26ff74(0x235);const {md5:_0x2dd63c,fileName:_0xbf5cb9,path:_0x5c99e4,fileSize:_0x51a540}=await NTQQFileApi[_0x26ff74(0x247)](_0x5ba745,ElementType[_0x26ff74(0x239)]);if(_0x483611[_0x26ff74(0x242)](_0x51a540,0x0))throw _0x26ff74(0x21e);return _0x43b450&&_0x2e7715[_0x26ff74(0x21b)](_0x5ba745)['then'](),{'elementType':ElementType[_0x26ff74(0x239)],'elementId':'','pttElement':{'fileName':_0xbf5cb9,'filePath':_0x5c99e4,'md5HexStr':_0x2dd63c,'fileSize':_0x51a540,'duration':_0x483611['FQGfB'](_0x55a8af,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[_0x29b812(0x238)](_0x154bba){const _0x5e06e2=_0x29b812,_0x5857d4={'NuQxC':function(_0x2cf605,_0x36d61b){return _0x2cf605>=_0x36d61b;}},_0x5399d0=_0xdc8a5b[_0x5e06e2(0x211)],_0x15b985=_0xdc8a5b['emoji'],_0x477ff1=_0x5399d0[_0x5e06e2(0x232)](_0x182467=>_0x182467[_0x5e06e2(0x236)]===_0x154bba[_0x5e06e2(0x1f0)]());_0x154bba=parseInt(_0x154bba[_0x5e06e2(0x1f0)]());let _0x97e9a7=0x1;return _0x5857d4['NuQxC'](_0x154bba,0xde)&&(_0x97e9a7=0x2),_0x477ff1[_0x5e06e2(0x230)]&&(_0x97e9a7=0x3),{'elementType':ElementType[_0x5e06e2(0x1fa)],'elementId':'','faceElement':{'faceIndex':_0x154bba,'faceType':_0x97e9a7,'faceText':_0x477ff1[_0x5e06e2(0x215)],'stickerId':_0x477ff1[_0x5e06e2(0x212)],'stickerType':_0x477ff1['AniStickerType'],'packId':_0x477ff1[_0x5e06e2(0x1ec)],'sourceType':0x1}};}static['mface'](_0x2577a,_0x57ee72,_0x5e09c8,_0x49f45e){const _0x2d4984=_0x29b812,_0x4fb378={'cuJfa':_0x2d4984(0x244)};return{'elementType':ElementType[_0x2d4984(0x245)],'marketFaceElement':{'emojiPackageId':_0x2577a,'emojiId':_0x57ee72,'key':_0x5e09c8,'faceName':_0x49f45e||mFaceCache[_0x2d4984(0x20d)](_0x57ee72)||_0x4fb378[_0x2d4984(0x23e)]}};}static[_0x29b812(0x20e)](_0x50b7c6){const _0x1bc2d1=_0x29b812,_0x3ccf5d={'oRAbt':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1bc2d1(0x20e)],'faceType':FaceType[_0x1bc2d1(0x20e)],'faceText':_0x3ccf5d[_0x1bc2d1(0x228)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x29b812(0x1f8)](_0x56b820){const _0x466079=_0x29b812,_0x4413cf={'MrnAP':_0x466079(0x224)};return{'elementType':ElementType[_0x466079(0x1fa)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x466079(0x23a)],'faceText':_0x4413cf['MrnAP'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x29b812(0x20b)](_0x535ec4){const _0x4400a2=_0x29b812,_0x5e82c8={'XLrxw':function(_0x2ae2b3,_0x18868a){return _0x2ae2b3!==_0x18868a;},'IzDvQ':'string'};return _0x5e82c8[_0x4400a2(0x206)](typeof _0x535ec4,_0x5e82c8[_0x4400a2(0x210)])&&(_0x535ec4=JSON['stringify'](_0x535ec4)),{'elementType':ElementType[_0x4400a2(0x219)],'elementId':'','arkElement':{'bytesData':_0x535ec4,'linkInfo':null,'subElementType':null}};}static[_0x29b812(0x207)](_0x47c06a){const _0x23c0cc=_0x29b812;return{'elementType':ElementType[_0x23c0cc(0x20c)],'elementId':'','markdownElement':{'content':_0x47c06a}};}static async[_0x29b812(0x21d)](){const _0x521258=_0x29b812,_0x3189f4={'SvagZ':function(_0x292335,_0x5b0b6d){return _0x292335(_0x5b0b6d);},'UJFlN':'Bot\x20Test','RwcLc':_0x521258(0x243),'VbHcm':_0x521258(0x214)};let _0x3d3e24=await _0x3189f4[_0x521258(0x223)](SignMiniApp,{'prompt':_0x3189f4['UJFlN'],'title':_0x521258(0x217),'preview':_0x521258(0x23d),'jumpUrl':_0x3189f4[_0x521258(0x1ff)],'tag':_0x3189f4['UJFlN'],'tagIcon':_0x3189f4[_0x521258(0x208)],'source':_0x3189f4['UJFlN'],'sourcelogo':_0x3189f4[_0x521258(0x208)]});return{'elementType':ElementType[_0x521258(0x219)],'elementId':'','arkElement':{'bytesData':_0x3d3e24,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0xd174d8=_0x4e40;(function(_0x277964,_0x4c41f0){const _0x19a8a3=_0x4e40,_0x3e276e=_0x277964();while(!![]){try{const _0x5dcef0=parseInt(_0x19a8a3(0xe1))/0x1+-parseInt(_0x19a8a3(0xbf))/0x2*(parseInt(_0x19a8a3(0xdd))/0x3)+-parseInt(_0x19a8a3(0xa6))/0x4*(-parseInt(_0x19a8a3(0xcc))/0x5)+-parseInt(_0x19a8a3(0xbd))/0x6+parseInt(_0x19a8a3(0xbe))/0x7*(parseInt(_0x19a8a3(0xbc))/0x8)+-parseInt(_0x19a8a3(0xa9))/0x9+-parseInt(_0x19a8a3(0xb7))/0xa*(parseInt(_0x19a8a3(0xe7))/0xb);if(_0x5dcef0===_0x4c41f0)break;else _0x3e276e['push'](_0x3e276e['shift']());}catch(_0x397427){_0x3e276e['push'](_0x3e276e['shift']());}}}(_0xdea5,0x1ae17));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2b7b8e}from'node:fs';import _0x347e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x30f932 from'./face_config.json';import*as _0x369c11 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();function _0x4e40(_0x7d696e,_0x29be40){const _0xdea56d=_0xdea5();return _0x4e40=function(_0x4e40c8,_0x2e01f1){_0x4e40c8=_0x4e40c8-0x93;let _0x3fe188=_0xdea56d[_0x4e40c8];return _0x3fe188;},_0x4e40(_0x7d696e,_0x29be40);}function _0xdea5(){const _0x495cd5=['BsLhv','lkoMT','dMmfP','stat','https://www.bilibili.com/','文件异常,大小为0','_0.png','unlink','time','pic','mp4','scdRq','获取视频信息失败','end','[骰子]','sep','toString','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','copyFile','catch','rps','ptt','icOhU','TpGmq','236jziHmH','AniStickerType','string','1800639sKxqDc','HAYda','uhMGi','[包剪锤]','Ori','wadqh','McnIl','Bot\x20Test','gWnYY','join','euLyh','find','QkIea','QDes','100990XWqdvh','fUZBv','UijEp','jNAPk','PzgnR','8ERhKTF','747972DBkWGg','1351014bksFXs','4ckCLtH','uploadFile','RPS','QxPPc','file','lSzDJ','MFACE','text','FILE','replace','size','FLIRH','BdHRe','9610kUGcLI','iOGUy','getImageSize','set','notAt','sxcxq','emoji','QSid','Thumb','width','REPLY','hwRFC','mface','tgrpX','VJpCq','dice','TBBvE','52407gJYOTt','FACE','then','stringify','173473DJWcHP','KUTeF','AniStickerId','height','[商城表情]','CqIHU','11GDpPFe','reply','PIC','gif','error','screenshots'];_0xdea5=function(){return _0x495cd5;};return _0xdea5();}export class SendMsgElementConstructor{static[_0xd174d8(0xc6)](_0x293de2){const _0x1ae10a=_0xd174d8;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x293de2,'atType':AtType[_0x1ae10a(0xd0)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x15dfe6,_0x474f02,_0x3ecfbe,_0x8382b7){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x8382b7,'atType':_0x3ecfbe,'atUid':_0x15dfe6,'atTinyId':'','atNtUid':_0x474f02}};}static[_0xd174d8(0xe8)](_0x1c7df9,_0x4b67b4,_0x4fb57a,_0x4a32eb){const _0x4c7d0a=_0xd174d8;return{'elementType':ElementType[_0x4c7d0a(0xd6)],'elementId':'','replyElement':{'replayMsgSeq':_0x1c7df9,'replayMsgId':_0x4b67b4,'senderUin':_0x4fb57a,'senderUinStr':_0x4a32eb}};}static async[_0xd174d8(0x97)](_0xfda9,_0x509d03='',_0x41f01d=0x0){const _0x247b80=_0xd174d8,_0x424798={'QxPPc':function(_0x3609d2,_0x1869b9){return _0x3609d2===_0x1869b9;},'sxcxq':_0x247b80(0x93),'PzgnR':function(_0x2a8f97,_0x74cf09){return _0x2a8f97(_0x74cf09);}},{md5:_0x206807,fileName:_0x482ebb,path:_0x1b3cf5,fileSize:_0x127005}=await NTQQFileApi[_0x247b80(0xc0)](_0xfda9,ElementType['PIC'],_0x41f01d);if(_0x424798[_0x247b80(0xc2)](_0x127005,0x0))throw _0x424798[_0x247b80(0xd1)];const _0x454102=await NTQQFileApi[_0x247b80(0xce)](_0xfda9),_0x215938={'md5HexStr':_0x206807,'fileSize':_0x127005[_0x247b80(0x9e)](),'picWidth':_0x454102?.[_0x247b80(0xd5)],'picHeight':_0x454102?.[_0x247b80(0xe4)],'fileName':_0x482ebb,'sourcePath':_0x1b3cf5,'original':!![],'picType':_0x424798[_0x247b80(0xbb)](isGIF,_0xfda9)?PicType[_0x247b80(0xea)]:PicType['jpg'],'picSubType':_0x41f01d,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x509d03};return{'elementType':ElementType[_0x247b80(0xe9)],'elementId':'','picElement':_0x215938};}static async[_0xd174d8(0xc3)](_0x85881d,_0xcc591f='',_0x8959be=''){const _0x315735=_0xd174d8,_0x202ca4={'rtWud':_0x315735(0x93)},{md5:_0x321eed,fileName:_0x112db5,path:_0x23ad12,fileSize:_0x3ce084}=await NTQQFileApi[_0x315735(0xc0)](_0x85881d,ElementType[_0x315735(0xc7)]);if(_0x3ce084===0x0)throw _0x202ca4['rtWud'];const _0x5b1506={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0xcc591f||_0x112db5,'folderId':_0x8959be,'filePath':_0x23ad12,'fileSize':_0x3ce084['toString']()}};return _0x5b1506;}static async['video'](_0x37f1ec,_0x50ceb6='',_0xc0cab2=''){const _0x4d7e3b=_0xd174d8,_0xd1330b={'KUTeF':function(_0x2fef6e,_0x1fc126){return _0x2fef6e(_0x1fc126);},'QkIea':'获取视频封面失败,使用默认封面','VJpCq':_0x4d7e3b(0x9b),'euLyh':function(_0x2755ee,_0x521b64){return _0x2755ee+_0x521b64;},'FLIRH':function(_0x1c4487,_0x33742b){return _0x1c4487===_0x33742b;},'BdHRe':_0x4d7e3b(0x93),'TpGmq':_0x4d7e3b(0x98),'UijEp':function(_0x481e33,_0x2a0856,_0x7514b5){return _0x481e33(_0x2a0856,_0x7514b5);},'uhMGi':function(_0xe7f79,_0x1d3129){return _0xe7f79||_0x1d3129;},'yvHRV':function(_0x14d3ac,_0x1c7f4a){return _0x14d3ac+_0x1c7f4a;}},{fileName:_0x4f78ef,path:_0x5f2a76,fileSize:_0x526baf,md5:_0x5494db}=await NTQQFileApi[_0x4d7e3b(0xc0)](_0x37f1ec,ElementType['VIDEO']);if(_0xd1330b[_0x4d7e3b(0xca)](_0x526baf,0x0))throw _0xd1330b[_0x4d7e3b(0xcb)];let _0x4b7768=_0x5f2a76[_0x4d7e3b(0xc8)](_0x369c11[_0x4d7e3b(0x9d)]+_0x4d7e3b(0xad)+_0x369c11[_0x4d7e3b(0x9d)],_0x369c11[_0x4d7e3b(0x9d)]+_0x4d7e3b(0xd4)+_0x369c11[_0x4d7e3b(0x9d)]);_0x4b7768=_0x369c11['dirname'](_0x4b7768);let _0x5f225b={'width':0x780,'height':0x438,'time':0xf,'format':_0xd1330b[_0x4d7e3b(0xa5)],'size':_0x526baf,'filePath':_0x37f1ec};try{_0x5f225b=await _0xd1330b[_0x4d7e3b(0xe2)](getVideoInfo,_0x5f2a76);}catch(_0x218b9c){_0xd1330b[_0x4d7e3b(0xb9)](logError,_0x4d7e3b(0x9a),_0x218b9c);}const _0x33b4e4=new Promise((_0x319919,_0x37173c)=>{const _0x1c4776=_0x4d7e3b,_0x1aaa12={'CqIHU':function(_0xc7a69b,_0xa2b09c){const _0x310e82=_0x4e40;return _0xd1330b[_0x310e82(0xe2)](_0xc7a69b,_0xa2b09c);},'HAYda':function(_0x238c18,_0x381662,_0x49ece8){return _0x238c18(_0x381662,_0x49ece8);},'jNAPk':_0xd1330b[_0x1c4776(0xb5)]},_0x5ef1de=_0x5494db+_0x1c4776(0x94),_0x3d7cc1=_0x369c11[_0x1c4776(0xb2)](_0x4b7768,_0x5ef1de);_0xd1330b['KUTeF'](_0x347e,_0x37f1ec)['on'](_0xd1330b['VJpCq'],()=>{})['on'](_0x1c4776(0xeb),_0x49ebe6=>{const _0x3d483a=_0x1c4776,_0x41b0ca={'lSzDJ':function(_0x4952f8,_0x3e9dc4){const _0x4c082b=_0x4e40;return _0x1aaa12[_0x4c082b(0xe6)](_0x4952f8,_0x3e9dc4);},'wadqh':function(_0x3aa2b1,_0x9ab1dc){return _0x3aa2b1(_0x9ab1dc);}};_0x1aaa12[_0x3d483a(0xaa)](logDebug,_0x1aaa12[_0x3d483a(0xba)],_0x49ebe6),_0xc0cab2?_0x2b7b8e[_0x3d483a(0xa0)](_0xc0cab2,_0x3d7cc1)['then'](()=>{const _0x2c3229=_0x3d483a;_0x41b0ca[_0x2c3229(0xc4)](_0x319919,_0x3d7cc1);})[_0x3d483a(0xa1)](_0x37173c):_0x2b7b8e['writeFile'](_0x3d7cc1,defaultVideoThumb)[_0x3d483a(0xdf)](()=>{const _0x26e464=_0x3d483a;_0x41b0ca[_0x26e464(0xae)](_0x319919,_0x3d7cc1);})[_0x3d483a(0xa1)](_0x37173c);})[_0x1c4776(0xec)]({'timestamps':[0x0],'filename':_0x5ef1de,'folder':_0x4b7768,'size':_0xd1330b[_0x1c4776(0xb3)](_0x5f225b['width'],'x')+_0x5f225b['height']})['on'](_0xd1330b[_0x1c4776(0xda)],()=>{const _0x4d8ea6=_0x1c4776;_0x1aaa12[_0x4d8ea6(0xe6)](_0x319919,_0x3d7cc1);});}),_0x14831c=new Map(),_0x38261e=await _0x33b4e4,_0x11c1ef=(await _0x2b7b8e[_0x4d7e3b(0xf0)](_0x38261e))[_0x4d7e3b(0xc9)];_0x14831c[_0x4d7e3b(0xcf)](0x0,_0x38261e);const _0x9a87f6=await _0xd1330b['KUTeF'](calculateFileMD5,_0x38261e),_0x5b26a2={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0xd1330b[_0x4d7e3b(0xab)](_0x50ceb6,_0x4f78ef),'filePath':_0x5f2a76,'videoMd5':_0x5494db,'thumbMd5':_0x9a87f6,'fileTime':_0x5f225b[_0x4d7e3b(0x96)],'thumbPath':_0x14831c,'thumbSize':_0x11c1ef,'thumbWidth':_0x5f225b[_0x4d7e3b(0xd5)],'thumbHeight':_0x5f225b[_0x4d7e3b(0xe4)],'fileSize':_0xd1330b['yvHRV']('',_0x526baf)}};return _0x5b26a2;}static async[_0xd174d8(0xa3)](_0x543494){const _0x19d89a=_0xd174d8,_0x658ecd={'fUZBv':function(_0x1815ac,_0x3ba824){return _0x1815ac(_0x3ba824);},'gWnYY':'语音转换失败,\x20请检查语音文件是否正常','McnIl':function(_0x1b1f2e,_0x372b4e){return _0x1b1f2e===_0x372b4e;},'CbtcA':_0x19d89a(0x93),'lkoMT':function(_0x3edee5,_0x1b7bc2){return _0x3edee5||_0x1b7bc2;}},{converted:_0x67e015,path:_0x155c44,duration:_0x265e7b}=await _0x658ecd[_0x19d89a(0xb8)](encodeSilk,_0x543494);if(!_0x155c44)throw _0x658ecd[_0x19d89a(0xb1)];const {md5:_0x4fe698,fileName:_0x16b273,path:_0x325536,fileSize:_0xd00b3c}=await NTQQFileApi[_0x19d89a(0xc0)](_0x155c44,ElementType['PTT']);if(_0x658ecd[_0x19d89a(0xaf)](_0xd00b3c,0x0))throw _0x658ecd['CbtcA'];return _0x67e015&&_0x2b7b8e[_0x19d89a(0x95)](_0x155c44)['then'](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x16b273,'filePath':_0x325536,'md5HexStr':_0x4fe698,'fileSize':_0xd00b3c,'duration':_0x658ecd[_0x19d89a(0xee)](_0x265e7b,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['face'](_0x3dc860){const _0x5d2e7f=_0xd174d8,_0x4021da={'scdRq':function(_0x43ef46,_0x2bdd56){return _0x43ef46>=_0x2bdd56;}},_0x5710b6=_0x30f932['sysface'],_0x45cd7e=_0x30f932[_0x5d2e7f(0xd2)],_0x254b41=_0x5710b6[_0x5d2e7f(0xb4)](_0x4b8ac8=>_0x4b8ac8[_0x5d2e7f(0xd3)]===_0x3dc860[_0x5d2e7f(0x9e)]());_0x3dc860=parseInt(_0x3dc860[_0x5d2e7f(0x9e)]());let _0x2a9445=0x1;return _0x4021da[_0x5d2e7f(0x99)](_0x3dc860,0xde)&&(_0x2a9445=0x2),_0x254b41[_0x5d2e7f(0xa7)]&&(_0x2a9445=0x3),{'elementType':ElementType[_0x5d2e7f(0xde)],'elementId':'','faceElement':{'faceIndex':_0x3dc860,'faceType':_0x2a9445,'faceText':_0x254b41[_0x5d2e7f(0xb6)],'stickerId':_0x254b41[_0x5d2e7f(0xe3)],'stickerType':_0x254b41[_0x5d2e7f(0xa7)],'packId':_0x254b41['AniStickerPackId'],'sourceType':0x1}};}static[_0xd174d8(0xd8)](_0xa34714,_0x26d8ae,_0x584b9f,_0x516aab){const _0x18b444=_0xd174d8,_0x104652={'icOhU':_0x18b444(0xe5)};return{'elementType':ElementType[_0x18b444(0xc5)],'marketFaceElement':{'emojiPackageId':_0xa34714,'emojiId':_0x26d8ae,'key':_0x584b9f,'faceName':_0x516aab||mFaceCache['get'](_0x26d8ae)||_0x104652[_0x18b444(0xa4)]}};}static[_0xd174d8(0xdb)](_0x1c1dcb){const _0x3e44a5=_0xd174d8,_0x50f97b={'hwRFC':_0x3e44a5(0x9c)};return{'elementType':ElementType[_0x3e44a5(0xde)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x50f97b[_0x3e44a5(0xd7)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xd174d8(0xa2)](_0x400895){const _0x46e31a=_0xd174d8,_0xc3192d={'BsLhv':_0x46e31a(0xac)};return{'elementType':ElementType[_0x46e31a(0xde)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x46e31a(0xc1)],'faceText':_0xc3192d[_0x46e31a(0xed)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x746e45){const _0x22d5bc=_0xd174d8,_0xb93702={'TOkXF':function(_0x1822c4,_0x46b331){return _0x1822c4!==_0x46b331;}};return _0xb93702['TOkXF'](typeof _0x746e45,_0x22d5bc(0xa8))&&(_0x746e45=JSON[_0x22d5bc(0xe0)](_0x746e45)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x746e45,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x2e48e5){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2e48e5}};}static async['miniapp'](){const _0x1db52d=_0xd174d8,_0x2aba2a={'dMmfP':function(_0x5efd39,_0xf5f847){return _0x5efd39(_0xf5f847);},'iOGUy':'Bot\x20Test','tgrpX':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','TBBvE':_0x1db52d(0xf1)};let _0x48a16e=await _0x2aba2a[_0x1db52d(0xef)](SignMiniApp,{'prompt':_0x2aba2a[_0x1db52d(0xcd)],'title':_0x1db52d(0xb0),'preview':_0x2aba2a[_0x1db52d(0xd9)],'jumpUrl':_0x2aba2a[_0x1db52d(0xdc)],'tag':_0x2aba2a['iOGUy'],'tagIcon':_0x1db52d(0x9f),'source':_0x2aba2a[_0x1db52d(0xcd)],'sourcelogo':_0x1db52d(0x9f)});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x48a16e,'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 1afc2009..87231e0d 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x1a11d1,_0x31b858){var _0x1aa00c=_0x45c9,_0x519dea=_0x1a11d1();while(!![]){try{var _0x2d14b1=parseInt(_0x1aa00c(0x1bd))/0x1+-parseInt(_0x1aa00c(0x1b6))/0x2*(parseInt(_0x1aa00c(0x1b7))/0x3)+parseInt(_0x1aa00c(0x1bb))/0x4+-parseInt(_0x1aa00c(0x1ba))/0x5+-parseInt(_0x1aa00c(0x1b9))/0x6*(-parseInt(_0x1aa00c(0x1ae))/0x7)+parseInt(_0x1aa00c(0x1b2))/0x8*(-parseInt(_0x1aa00c(0x1b5))/0x9)+-parseInt(_0x1aa00c(0x1b0))/0xa*(-parseInt(_0x1aa00c(0x1b3))/0xb);if(_0x2d14b1===_0x31b858)break;else _0x519dea['push'](_0x519dea['shift']());}catch(_0x1b203b){_0x519dea['push'](_0x519dea['shift']());}}}(_0x358c,0x53f4f));function _0x358c(){var _0x53b6b8=['63ZMapDa','OalwL','2710yVQfke','hSEiv','48320jVQztk','40733YAaZfg','owner','864KfKuln','30dpcGBL','132495wGCTOc','NPyIP','114066dnysbl','1662105CaSVoO','739904gDQDuY','normal','559035MFaXqE'];_0x358c=function(){return _0x53b6b8;};return _0x358c();}function _0x45c9(_0x2bbc5a,_0x118dc4){var _0x358c46=_0x358c();return _0x45c9=function(_0x45c98b,_0x284f66){_0x45c98b=_0x45c98b-0x1ae;var _0x456dbe=_0x358c46[_0x45c98b];return _0x456dbe;},_0x45c9(_0x2bbc5a,_0x118dc4);}export var GroupMemberRole;(function(_0x33a765){var _0x2be560=_0x45c9,_0x11c1fc={'hSEiv':_0x2be560(0x1bc),'NPyIP':'admin','OalwL':_0x2be560(0x1b4)};_0x33a765[_0x33a765[_0x11c1fc[_0x2be560(0x1b1)]]=0x2]=_0x11c1fc[_0x2be560(0x1b1)],_0x33a765[_0x33a765['admin']=0x3]=_0x11c1fc[_0x2be560(0x1b8)],_0x33a765[_0x33a765[_0x11c1fc[_0x2be560(0x1af)]]=0x4]=_0x2be560(0x1b4);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x4fa9(_0x1b8aa4,_0xe764b9){var _0x574dc5=_0x574d();return _0x4fa9=function(_0x4fa96d,_0xa41fd1){_0x4fa96d=_0x4fa96d-0x18d;var _0x1e1e67=_0x574dc5[_0x4fa96d];return _0x1e1e67;},_0x4fa9(_0x1b8aa4,_0xe764b9);}(function(_0x27cc84,_0x27d8d5){var _0x42e11a=_0x4fa9,_0x310382=_0x27cc84();while(!![]){try{var _0x1ebcec=-parseInt(_0x42e11a(0x192))/0x1*(-parseInt(_0x42e11a(0x198))/0x2)+-parseInt(_0x42e11a(0x191))/0x3+parseInt(_0x42e11a(0x19a))/0x4*(parseInt(_0x42e11a(0x18e))/0x5)+parseInt(_0x42e11a(0x18f))/0x6+-parseInt(_0x42e11a(0x197))/0x7+parseInt(_0x42e11a(0x18d))/0x8+parseInt(_0x42e11a(0x193))/0x9;if(_0x1ebcec===_0x27d8d5)break;else _0x310382['push'](_0x310382['shift']());}catch(_0x222867){_0x310382['push'](_0x310382['shift']());}}}(_0x574d,0x74020));export var GroupMemberRole;(function(_0x437fbe){var _0x3fd34e=_0x4fa9,_0x419352={'qinqD':_0x3fd34e(0x199),'TRIDz':_0x3fd34e(0x190),'fjWzM':_0x3fd34e(0x19b)};_0x437fbe[_0x437fbe[_0x419352[_0x3fd34e(0x194)]]=0x2]=_0x419352[_0x3fd34e(0x194)],_0x437fbe[_0x437fbe[_0x419352[_0x3fd34e(0x195)]]=0x3]=_0x419352[_0x3fd34e(0x195)],_0x437fbe[_0x437fbe['owner']=0x4]=_0x419352[_0x3fd34e(0x196)];}(GroupMemberRole||(GroupMemberRole={})));function _0x574d(){var _0x5ab7f4=['1277586OHOfft','admin','2027889ZIVNBv','19993BIGMwG','2169621YDVhPi','qinqD','TRIDz','fjWzM','3525746GeiZUe','44VqhrQR','normal','1802172GkXOoH','owner','2483360aEVIHp','5ttzTHk'];_0x574d=function(){return _0x5ab7f4;};return _0x574d();} \ 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 52317080..0f2105b4 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -function _0x88da(_0x3855ae,_0x2a3933){var _0x593c32=_0x593c();return _0x88da=function(_0x88da6,_0xdae7b1){_0x88da6=_0x88da6-0x7f;var _0x1b165e=_0x593c32[_0x88da6];return _0x1b165e;},_0x88da(_0x3855ae,_0x2a3933);}(function(_0x1a4961,_0x240a4a){var _0x1a9e38=_0x88da,_0x3a6455=_0x1a4961();while(!![]){try{var _0x425026=parseInt(_0x1a9e38(0x86))/0x1*(parseInt(_0x1a9e38(0x89))/0x2)+-parseInt(_0x1a9e38(0x82))/0x3*(parseInt(_0x1a9e38(0x87))/0x4)+-parseInt(_0x1a9e38(0x7f))/0x5+-parseInt(_0x1a9e38(0x88))/0x6*(parseInt(_0x1a9e38(0x84))/0x7)+parseInt(_0x1a9e38(0x85))/0x8*(parseInt(_0x1a9e38(0x81))/0x9)+-parseInt(_0x1a9e38(0x80))/0xa+parseInt(_0x1a9e38(0x83))/0xb;if(_0x425026===_0x240a4a)break;else _0x3a6455['push'](_0x3a6455['shift']());}catch(_0x3de0fa){_0x3a6455['push'](_0x3a6455['shift']());}}}(_0x593c,0xea5ab));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x593c(){var _0xde6bc0=['7284936tfUPog','197781yfVQTr','7796OwdHow','6UKCzyU','18Gaibsv','1566745nBHsnb','16110570ngQMQI','9jKyJUN','237kuJOnR','5940583FftUwa','1346849DSsRYz'];_0x593c=function(){return _0xde6bc0;};return _0x593c();}export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x398a76,_0x4edc0d){var _0x1febae=_0x15a8,_0x7ccf83=_0x398a76();while(!![]){try{var _0x288ef6=-parseInt(_0x1febae(0xfe))/0x1*(parseInt(_0x1febae(0xf8))/0x2)+parseInt(_0x1febae(0xfa))/0x3+parseInt(_0x1febae(0xfd))/0x4*(-parseInt(_0x1febae(0xfc))/0x5)+-parseInt(_0x1febae(0xf9))/0x6+-parseInt(_0x1febae(0x100))/0x7+-parseInt(_0x1febae(0xff))/0x8+-parseInt(_0x1febae(0xf7))/0x9*(-parseInt(_0x1febae(0xfb))/0xa);if(_0x288ef6===_0x4edc0d)break;else _0x7ccf83['push'](_0x7ccf83['shift']());}catch(_0xe88819){_0x7ccf83['push'](_0x7ccf83['shift']());}}}(_0x4607,0x45a64));function _0x15a8(_0x543c74,_0x494cdd){var _0x460773=_0x4607();return _0x15a8=function(_0x15a843,_0x34a8bd){_0x15a843=_0x15a843-0xf7;var _0x23446a=_0x460773[_0x15a843];return _0x23446a;},_0x15a8(_0x543c74,_0x494cdd);}function _0x4607(){var _0x1d7141=['550EjbNQG','63435lAeZpw','24wNkwXj','563147CknCoR','3543824KPiNeO','1742727PvunvK','257625HjFBnz','2GSqeQw','758706HCAzzU','505704CasaQC'];_0x4607=function(){return _0x1d7141;};return _0x4607();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';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 54896170..377e987f 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x475737=_0x5bd5;(function(_0x467895,_0x344253){var _0x4ec5e1=_0x5bd5,_0x3e55de=_0x467895();while(!![]){try{var _0x3fe2f2=-parseInt(_0x4ec5e1(0x17f))/0x1+-parseInt(_0x4ec5e1(0x13d))/0x2*(parseInt(_0x4ec5e1(0x16a))/0x3)+-parseInt(_0x4ec5e1(0x154))/0x4*(parseInt(_0x4ec5e1(0x12e))/0x5)+-parseInt(_0x4ec5e1(0x139))/0x6*(parseInt(_0x4ec5e1(0xf8))/0x7)+-parseInt(_0x4ec5e1(0x155))/0x8*(-parseInt(_0x4ec5e1(0x11e))/0x9)+parseInt(_0x4ec5e1(0x17b))/0xa+parseInt(_0x4ec5e1(0x137))/0xb*(parseInt(_0x4ec5e1(0x12c))/0xc);if(_0x3fe2f2===_0x344253)break;else _0x3e55de['push'](_0x3e55de['shift']());}catch(_0x3a88cb){_0x3e55de['push'](_0x3e55de['shift']());}}}(_0x2544,0x9aa89));function _0x2544(){var _0xefedfb=['RlflG','QvUsk','group','iZAtU','HDJqW','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPEGROUPNOTIFY','4|2|1|5|3|8|10|0|6|7|9','KCHATTYPENEARBYINTERACT','sLvoU','KCHATTYPERELATEACCOUNT','tCjnO','KCHATTYPETEMPC2CFROMUNKNOWN','MFACE','6|4|1|3|8|2|7|5|9|0','FACE','notAt','kWOtB','nEKwR','sXNTN','sqwmZ','eNnIL','KCHATTYPEGROUP','jpg','KCHATTYPESERVICEASSISTANT','uQfwh','YHRpp','KCHATTYPEDATALINEMQQ','KCHATTYPEGAMEMESSAGEFOLDER','lPnBd','mJJdS','KCHATTYPEUNKNOWN','27EaYgCS','ban','vQWbz','split','KCHATTYPEADELIE','YIfvC','CKEyg','BRDqz','zTImo','KCHATTYPETEMPBUSSINESSCRM','yunXK','VIDEO_FORMAT_MKV','TVyxp','DCiXg','4236zmCFrU','https://multimedia.nt.qq.com.cn','29335FHEHDg','Wvqrg','RPS','piNns','svUUf','OamSc','KCHATTYPEGAMEMESSAGE','MARKDOWN','kdcuE','30085VPlqou','VaBvS','6dHVLrL','dCXAC','EeSYS','temp','133426vupgCF','yLaXh','FILE','KCHATTYPENEARBYASSISTANT','lAkCZ','nLboy','WYhiq','KCHATTYPEGUILD','VIDEO_FORMAT_RMVB','JCwNZ','KCHATTYPETEMPNEARBYPRO','dice','VIDEO_FORMAT_WMV','FzQYd','VIDEO_FORMAT_AFS','LPPnd','FzVdJ','yITiM','GWdvB','hMdKZ','REPLY','KCHATTYPEGROUPGUILD','MLQkP','732iBBHAl','1990552NVvcsJ','AiVyW','KCHATTYPECIRCLE','TEXT','friend','rWfFJ','HNiQy','ZqyTH','zKfxj','ZBirF','chatDevice','face','hLrgx','KCHATTYPEQQNOTIFY','KCHATTYPENEARBYHELLOFOLDER','kicked','normal2','VIDEO_FORMAT_RM','oDaAt','KCHATTYPEC2C','YGSLk','12cZfkXz','MEMBER_NEW_TITLE','KCHATTYPEDISC','KCHATTYPEGROUPBLESS','MVFiF','PTT','zrFhT','VIDEO_FORMAT_TS','KCHATTYPEMATCHFRIEND','tSCkQ','AoaYz','KCHATTYPETEMPPUBLICACCOUNT','tAvHf','QWEUj','VIDEO_FORMAT_MTS','KCHATTYPEGUILDMETA','ryIbL','8762520NsPOcc','ARK','memberIncrease','iiJAY','519028AGlfBV','XsZiR','KCHATTYPETEMPADDRESSBOOK','BBGrC','WPhcT','KCHATTYPEMATCHFRIENDFOLDER','nBQzb','https://gchat.qpic.cn','sxmQN','KCHATTYPETEMPC2CFROMGROUP','665994IOFbfP','KCHATTYPETEMPFRIENDVERIFY','sMwsd','KCHATTYPETEMPWPA','VIDEO_FORMAT_AVI','gaXQd'];_0x2544=function(){return _0xefedfb;};return _0x2544();}export var ElementType;(function(_0x5a9983){var _0x3c9795=_0x5bd5,_0x4de825={'iQXFC':_0x3c9795(0x135),'yunXK':'FILE','vQWbz':_0x3c9795(0x10d),'FzQYd':_0x3c9795(0x16f),'HDJqW':'PIC','MpXiL':_0x3c9795(0x158),'FzVdJ':_0x3c9795(0x151),'ZqyTH':'VIDEO','kdcuE':_0x3c9795(0x10b)},_0x48bc51=_0x3c9795(0x10c)[_0x3c9795(0x121)]('|'),_0x3e3478=0x0;while(!![]){switch(_0x48bc51[_0x3e3478++]){case'0':_0x5a9983[_0x5a9983['MARKDOWN']=0xe]=_0x4de825['iQXFC'];continue;case'1':_0x5a9983[_0x5a9983[_0x3c9795(0x13f)]=0x3]=_0x4de825[_0x3c9795(0x128)];continue;case'2':_0x5a9983[_0x5a9983[_0x4de825['vQWbz']]=0x6]=_0x4de825[_0x3c9795(0x120)];continue;case'3':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x14a)]]=0x4]=_0x4de825['FzQYd'];continue;case'4':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x102)]]=0x2]='PIC';continue;case'5':_0x5a9983[_0x5a9983[_0x3c9795(0x17c)]=0xa]=_0x3c9795(0x17c);continue;case'6':_0x5a9983[_0x5a9983[_0x4de825['MpXiL']]=0x1]=_0x3c9795(0x158);continue;case'7':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x14d)]]=0x7]=_0x4de825[_0x3c9795(0x14d)];continue;case'8':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x15c)]]=0x5]=_0x4de825['ZqyTH'];continue;case'9':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x136)]]=0xb]=_0x4de825[_0x3c9795(0x136)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x22e330){var _0x149b9c=_0x5bd5,_0x320bb9={'hMdKZ':'gif','iZAtU':_0x149b9c(0x115)};_0x22e330[_0x22e330[_0x320bb9[_0x149b9c(0x150)]]=0x7d0]='gif',_0x22e330[_0x22e330[_0x320bb9[_0x149b9c(0x101)]]=0x3e8]=_0x149b9c(0x115);}(PicType||(PicType={})));export var PicSubType;(function(_0x5eedd7){var _0x1bd40e=_0x5bd5,_0x59d146={'tSCkQ':'normal','lAkCZ':_0x1bd40e(0x160)};_0x5eedd7[_0x5eedd7[_0x59d146[_0x1bd40e(0x173)]]=0x0]=_0x59d146['tSCkQ'],_0x5eedd7[_0x5eedd7[_0x59d146[_0x1bd40e(0x141)]]=0x1]=_0x59d146[_0x1bd40e(0x141)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5a9873){var _0x5d41f6=_0x5bd5,_0xe8da4d={'MVFiF':_0x5d41f6(0x10e),'vRQuZ':'atAll','sqwmZ':'atUser'};_0x5a9873[_0x5a9873[_0xe8da4d['MVFiF']]=0x0]=_0xe8da4d[_0x5d41f6(0x16e)],_0x5a9873[_0x5a9873['atAll']=0x1]=_0xe8da4d['vRQuZ'],_0x5a9873[_0x5a9873[_0xe8da4d[_0x5d41f6(0x112)]]=0x2]=_0xe8da4d['sqwmZ'];}(AtType||(AtType={})));function _0x5bd5(_0x1a5fd0,_0x2686a6){var _0x254441=_0x2544();return _0x5bd5=function(_0x5bd5c5,_0x4be405){_0x5bd5c5=_0x5bd5c5-0xf4;var _0x4106b5=_0x254441[_0x5bd5c5];return _0x4106b5;},_0x5bd5(_0x1a5fd0,_0x2686a6);}export var ChatType;(function(_0x4e76b1){var _0x436209=_0x5bd5,_0x4e4eed={'YGSLk':_0x436209(0x159),'hLrgx':_0x436209(0x100),'LLJBs':_0x436209(0x13c)};_0x4e76b1[_0x4e76b1[_0x4e4eed[_0x436209(0x169)]]=0x1]=_0x436209(0x159),_0x4e76b1[_0x4e76b1[_0x4e4eed[_0x436209(0x161)]]=0x2]=_0x4e4eed[_0x436209(0x161)],_0x4e76b1[_0x4e76b1[_0x436209(0x15f)]=0x8]=_0x436209(0x15f),_0x4e76b1[_0x4e76b1[_0x4e4eed['LLJBs']]=0x64]=_0x436209(0x13c);}(ChatType||(ChatType={})));export var ChatType2;(function(_0x1ff468){var _0x3721b8=_0x5bd5,_0x49207d={'zKfxj':'33|27|1|37|4|35|36|19|28|9|14|38|39|25|10|6|32|8|20|16|23|24|11|3|34|21|17|13|29|15|5|30|26|22|12|18|0|2|7|31','rWfFJ':_0x3721b8(0x175),'iiJAY':_0x3721b8(0x168),'QWEUj':_0x3721b8(0xfb),'mJJdS':_0x3721b8(0x106),'ZBirF':'KCHATTYPEDATALINE','sxmQN':_0x3721b8(0x181),'kWOtB':_0x3721b8(0x144),'YIfvC':_0x3721b8(0x11d),'AiVyW':_0x3721b8(0x172),'JCwNZ':_0x3721b8(0x11a),'LPPnd':_0x3721b8(0x104),'uQfwh':_0x3721b8(0x163),'ryIbL':_0x3721b8(0xf9),'BRDqz':'KCHATTYPESERVICEASSISTANTSUB','zrFhT':_0x3721b8(0x114),'Wvqrg':_0x3721b8(0x103),'TpKVZ':'KCHATTYPENEARBY','TVyxp':'KCHATTYPESERVICEASSISTANT','WYhiq':_0x3721b8(0x147),'yITiM':'KCHATTYPEMATCHFRIENDFOLDER','MLQkP':_0x3721b8(0x108),'nLboy':_0x3721b8(0x10a),'QvUsk':_0x3721b8(0x140),'BBGrC':'KCHATTYPENEARBYFOLDER','zTImo':'KCHATTYPEGROUPHELPER','sLvoU':'KCHATTYPETEMPC2CFROMGROUP','oDaAt':'KCHATTYPEBUDDYNOTIFY','EeSYS':'KCHATTYPEGAMEMESSAGE','GWdvB':'KCHATTYPESQUAREPUBLIC','YHRpp':_0x3721b8(0x127),'DCiXg':'KCHATTYPEWEIYUN','yLaXh':_0x3721b8(0x179),'OamSc':'KCHATTYPEADELIE','svUUf':_0x3721b8(0x162),'RlflG':_0x3721b8(0x119),'lPnBd':_0x3721b8(0x157),'XsZiR':_0x3721b8(0x16d),'efbBu':_0x3721b8(0x152)},_0x4be16a=_0x49207d[_0x3721b8(0x15d)][_0x3721b8(0x121)]('|'),_0x130e78=0x0;while(!![]){switch(_0x4be16a[_0x130e78++]){case'0':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x15a)]]=0x67]=_0x49207d[_0x3721b8(0x15a)];continue;case'1':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x17e)]]=0x1]=_0x49207d['iiJAY'];continue;case'2':_0x1ff468[_0x1ff468[_0x49207d['QWEUj']]=0x75]=_0x49207d[_0x3721b8(0x177)];continue;case'3':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x11c)]]=0x6c]='KCHATTYPENEARBYINTERACT';continue;case'4':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x15e)]]=0x8]=_0x49207d[_0x3721b8(0x15e)];continue;case'5':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0xf6)]]=0x6f]=_0x49207d[_0x3721b8(0xf6)];continue;case'6':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x10f)]]=0x4]=_0x49207d[_0x3721b8(0x10f)];continue;case'7':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x123)]]=0x0]=_0x49207d[_0x3721b8(0x123)];continue;case'8':_0x1ff468[_0x1ff468[_0x49207d['AiVyW']]=0x68]=_0x49207d[_0x3721b8(0x156)];continue;case'9':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x146)]]=0x74]=_0x49207d[_0x3721b8(0x146)];continue;case'10':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x14c)]]=0x6]=_0x49207d[_0x3721b8(0x14c)];continue;case'11':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x117)]]=0x70]=_0x3721b8(0x163);continue;case'12':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x17a)]]=0x65]=_0x49207d[_0x3721b8(0x17a)];continue;case'13':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x125)]]=0xc9]='KCHATTYPESERVICEASSISTANTSUB';continue;case'14':_0x1ff468[_0x1ff468[_0x3721b8(0x114)]=0x2]=_0x49207d[_0x3721b8(0x170)];continue;case'15':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x12f)]]=0x1e]=_0x49207d['Wvqrg'];continue;case'16':_0x1ff468[_0x1ff468[_0x49207d['TpKVZ']]=0x6a]=_0x49207d['TpKVZ'];continue;case'17':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x12a)]]=0x76]=_0x3721b8(0x116);continue;case'18':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x143)]]=0x77]=_0x49207d[_0x3721b8(0x143)];continue;case'19':_0x1ff468[_0x1ff468['KCHATTYPEFAV']=0x29]='KCHATTYPEFAV';continue;case'20':_0x1ff468[_0x1ff468[_0x3721b8(0x184)]=0x6d]=_0x49207d[_0x3721b8(0x14e)];continue;case'21':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x153)]]=0x83]=_0x49207d[_0x3721b8(0x153)];continue;case'22':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x142)]]=0x63]=_0x49207d[_0x3721b8(0x142)];continue;case'23':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0xff)]]=0x6b]=_0x49207d[_0x3721b8(0xff)];continue;case'24':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x182)]]=0x6e]=_0x49207d[_0x3721b8(0x182)];continue;case'25':_0x1ff468[_0x1ff468['KCHATTYPEGROUPHELPER']=0x7]=_0x49207d[_0x3721b8(0x126)];continue;case'26':_0x1ff468[_0x1ff468[_0x3721b8(0xf7)]=0x64]=_0x49207d[_0x3721b8(0x107)];continue;case'27':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x167)]]=0x5]=_0x49207d[_0x3721b8(0x167)];continue;case'28':_0x1ff468[_0x1ff468[_0x3721b8(0x134)]=0x69]=_0x49207d[_0x3721b8(0x13b)];continue;case'29':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x14f)]]=0x73]=_0x49207d['GWdvB'];continue;case'30':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x118)]]=0x66]=_0x3721b8(0x127);continue;case'31':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x12b)]]=0x28]=_0x49207d[_0x3721b8(0x12b)];continue;case'32':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x13e)]]=0x10]=_0x3721b8(0x179);continue;case'33':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x133)]]=0x2a]=_0x3721b8(0x122);continue;case'34':_0x1ff468[_0x1ff468[_0x49207d['svUUf']]=0x84]=_0x49207d[_0x3721b8(0x132)];continue;case'35':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0xfe)]]=0x86]=_0x49207d['RlflG'];continue;case'36':_0x1ff468[_0x1ff468[_0x3721b8(0x16c)]=0x3]=_0x3721b8(0x16c);continue;case'37':_0x1ff468[_0x1ff468[_0x49207d['lPnBd']]=0x71]=_0x49207d[_0x3721b8(0x11b)];continue;case'38':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x180)]]=0x85]=_0x3721b8(0x16d);continue;case'39':_0x1ff468[_0x1ff468[_0x49207d['efbBu']]=0x9]=_0x49207d['efbBu'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x475737(0xf5);export const IMAGE_HTTP_HOST_NT=_0x475737(0x12d);export var GrayTipElementSubType;(function(_0x4f1c98){var _0x2eb4bc=_0x475737,_0x1c97a2={'nEKwR':'INVITE_NEW_MEMBER','CKEyg':_0x2eb4bc(0x16b)};_0x4f1c98[_0x4f1c98[_0x1c97a2['nEKwR']]=0xc]=_0x1c97a2[_0x2eb4bc(0x110)],_0x4f1c98[_0x4f1c98[_0x1c97a2['CKEyg']]=0x11]=_0x1c97a2[_0x2eb4bc(0x124)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3db55d){var _0x42e810=_0x475737,_0x2a407e={'WPhcT':'normal','gaXQd':_0x42e810(0x165),'sXNTN':_0x42e810(0x148)};_0x3db55d[_0x3db55d[_0x2a407e[_0x42e810(0x183)]]=0x1]=_0x2a407e['WPhcT'],_0x3db55d[_0x3db55d[_0x2a407e[_0x42e810(0xfd)]]=0x2]=_0x2a407e[_0x42e810(0xfd)],_0x3db55d[_0x3db55d['dice']=0x3]=_0x2a407e[_0x42e810(0x111)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4e847d){var _0x4cc856=_0x475737,_0x464ad5={'sMwsd':_0x4cc856(0x148),'VaBvS':_0x4cc856(0x130)};_0x4e847d[_0x4e847d[_0x464ad5[_0x4cc856(0xfa)]]=0x166]=_0x4cc856(0x148),_0x4e847d[_0x4e847d[_0x464ad5[_0x4cc856(0x138)]]=0x167]=_0x464ad5['VaBvS'];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x180376){var _0x46e2fc=_0x475737,_0x51932f={'HNiQy':_0x46e2fc(0x105),'dCXAC':_0x46e2fc(0x166),'tAvHf':_0x46e2fc(0x129),'bIQgw':_0x46e2fc(0xfc),'nBQzb':'VIDEO_FORMAT_MOV','xPwIV':'VIDEO_FORMAT_MOD','YhjUl':'VIDEO_FORMAT_RMVB','piNns':'VIDEO_FORMAT_TS','KVWHx':'VIDEO_FORMAT_MP4','tCjnO':_0x46e2fc(0x149),'VPwRb':_0x46e2fc(0x178)},_0x522b1f=_0x51932f[_0x46e2fc(0x15b)]['split']('|'),_0x2b23eb=0x0;while(!![]){switch(_0x522b1f[_0x2b23eb++]){case'0':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x13a)]]=0x6]=_0x51932f[_0x46e2fc(0x13a)];continue;case'1':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x176)]]=0x4]=_0x51932f[_0x46e2fc(0x176)];continue;case'2':_0x180376[_0x180376[_0x46e2fc(0xfc)]=0x1]=_0x51932f['bIQgw'];continue;case'3':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0xf4)]]=0x8]=_0x51932f[_0x46e2fc(0xf4)];continue;case'4':_0x180376[_0x180376[_0x46e2fc(0x14b)]=0x7]=_0x46e2fc(0x14b);continue;case'5':_0x180376[_0x180376[_0x51932f['xPwIV']]=0x9]=_0x51932f['xPwIV'];continue;case'6':_0x180376[_0x180376[_0x46e2fc(0x145)]=0x5]=_0x51932f['YhjUl'];continue;case'7':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x131)]]=0xa]=_0x46e2fc(0x171);continue;case'8':_0x180376[_0x180376[_0x51932f['KVWHx']]=0x2]=_0x51932f['KVWHx'];continue;case'9':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x109)]]=0x3]=_0x46e2fc(0x149);continue;case'10':_0x180376[_0x180376['VIDEO_FORMAT_MTS']=0xb]=_0x51932f['VPwRb'];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0xa9334a){var _0x27a17a=_0x475737,_0x158270={'eNnIL':_0x27a17a(0x164),'AoaYz':_0x27a17a(0x11f)};_0xa9334a[_0xa9334a[_0x27a17a(0x17d)]=0x1]='memberIncrease',_0xa9334a[_0xa9334a[_0x158270[_0x27a17a(0x113)]]=0x3]=_0x158270[_0x27a17a(0x113)],_0xa9334a[_0xa9334a[_0x158270[_0x27a17a(0x174)]]=0x8]=_0x27a17a(0x11f);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x300faa=_0x469a;(function(_0x4cce8f,_0x8c0710){var _0xf86a50=_0x469a,_0x3177a5=_0x4cce8f();while(!![]){try{var _0x58a6cc=-parseInt(_0xf86a50(0xd4))/0x1+parseInt(_0xf86a50(0xb9))/0x2*(parseInt(_0xf86a50(0xda))/0x3)+-parseInt(_0xf86a50(0xa7))/0x4+-parseInt(_0xf86a50(0xb2))/0x5*(parseInt(_0xf86a50(0x8a))/0x6)+parseInt(_0xf86a50(0xcd))/0x7*(-parseInt(_0xf86a50(0x9e))/0x8)+-parseInt(_0xf86a50(0x108))/0x9*(parseInt(_0xf86a50(0xa1))/0xa)+parseInt(_0xf86a50(0x88))/0xb;if(_0x58a6cc===_0x8c0710)break;else _0x3177a5['push'](_0x3177a5['shift']());}catch(_0x3a7a5c){_0x3177a5['push'](_0x3177a5['shift']());}}}(_0x2128,0xe52e9));export var ElementType;(function(_0x4a1290){var _0xf2b92f=_0x469a,_0x564e5f={'Sywts':'6|9|5|1|7|8|4|2|3|0','QnEeD':_0xf2b92f(0xd2),'ZzvvY':_0xf2b92f(0x9a),'eODqw':_0xf2b92f(0xd9),'jOIFB':_0xf2b92f(0x9f),'doStv':'FILE','RRjZJ':'TEXT','PZdiy':_0xf2b92f(0xdb),'VesEA':'FACE','LMUSe':_0xf2b92f(0xcc)},_0x50f3ba=_0x564e5f[_0xf2b92f(0xeb)]['split']('|'),_0x47fb80=0x0;while(!![]){switch(_0x50f3ba[_0x47fb80++]){case'0':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0x8b)]]=0xe]=_0x564e5f[_0xf2b92f(0x8b)];continue;case'1':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0xc2)]]=0x4]=_0x564e5f[_0xf2b92f(0xc2)];continue;case'2':_0x4a1290[_0x4a1290[_0x564e5f['eODqw']]=0xa]=_0x564e5f['eODqw'];continue;case'3':_0x4a1290[_0x4a1290['MFACE']=0xb]=_0xf2b92f(0xfd);continue;case'4':_0x4a1290[_0x4a1290[_0x564e5f['jOIFB']]=0x7]='REPLY';continue;case'5':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0x110)]]=0x3]=_0x564e5f[_0xf2b92f(0x110)];continue;case'6':_0x4a1290[_0x4a1290[_0xf2b92f(0xf2)]=0x1]=_0x564e5f[_0xf2b92f(0xb4)];continue;case'7':_0x4a1290[_0x4a1290[_0xf2b92f(0xdb)]=0x5]=_0x564e5f[_0xf2b92f(0xa3)];continue;case'8':_0x4a1290[_0x4a1290[_0x564e5f['VesEA']]=0x6]=_0x564e5f[_0xf2b92f(0xf4)];continue;case'9':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0xea)]]=0x2]='PIC';continue;}break;}}(ElementType||(ElementType={})));function _0x2128(){var _0x298cf4=['VesEA','AzswA','kwLav','ban','kNkKF','KCHATTYPETEMPBUSSINESSCRM','KCHATTYPEGROUP','KCHATTYPEUNKNOWN','aUEDq','MFACE','KCHATTYPEMATCHFRIENDFOLDER','lBluc','hGPnH','hfITR','8|18|35|26|0|31|36|19|1|25|11|15|4|10|32|37|29|27|17|20|24|3|22|21|28|38|30|14|13|9|34|2|5|39|33|16|23|7|6|12','LbYto','KCHATTYPETEMPNEARBYPRO','face','KCHATTYPENEARBYINTERACT','UrTMT','1557WXBQDz','RPS','cQcoD','bkpGX','qhBEj','cPAhd','VIDEO_FORMAT_RMVB','mTtBX','doStv','dpWIJ','VIDEO_FORMAT_AFS','KCHATTYPETEMPWPA','notAt','ZxygX','KCHATTYPETEMPADDRESSBOOK','KCHATTYPESERVICEASSISTANTSUB','cnCMv','67602117iuQqcw','KCHATTYPENEARBYHELLOFOLDER','37032abpHbd','QnEeD','group','KCHATTYPEC2C','KCHATTYPETEMPFRIENDVERIFY','lMyXA','IDJrE','VIDEO_FORMAT_RM','hLDNs','hxAKB','EASJV','INVITE_NEW_MEMBER','KCHATTYPEGROUPHELPER','memberIncrease','VIDEO_FORMAT_MP4','KCHATTYPEGUILD','PTT','AEGsr','atAll','uTCta','376NZJFAI','REPLY','normal','60080HiwqfF','zsboc','PZdiy','MEMBER_NEW_TITLE','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPERELATEACCOUNT','580220iAfvwo','KCHATTYPEGROUPNOTIFY','iCPqI','iejzT','zTYLr','KCHATTYPEGROUPBLESS','VIDEO_FORMAT_MOD','OVOYF','XqsAf','split','KCHATTYPEFAV','905kAmiir','CCIiw','RRjZJ','atUser','kicked','UunKc','dice','4852kIPaHl','pzdqZ','XgxqB','YmLqv','VIDEO_FORMAT_MTS','KCHATTYPETEMPC2CFROMUNKNOWN','wVuUb','KCHATTYPETEMPC2CFROMGROUP','kWsLk','ZzvvY','fPzVh','onWsx','VIDEO_FORMAT_WMV','lyTvC','npSXO','normal2','KCHATTYPEMATCHFRIEND','XsviW','KCHATTYPEDISC','PIC','257383LXpvXw','xchrh','iowZO','temp','VIDEO_FORMAT_MKV','MARKDOWN','Nzddu','1492584Ksmeel','hFXmd','KDBEz','https://multimedia.nt.qq.com.cn','hIzLM','ARK','390NuTICn','VIDEO','KCHATTYPEGROUPGUILD','gNKvr','eUjKQ','KCHATTYPEGUILDMETA','atzIy','KCHATTYPENEARBY','KCHATTYPEGAMEMESSAGE','WqHKr','VIDEO_FORMAT_AVI','KCHATTYPEGAMEMESSAGEFOLDER','KCHATTYPENEARBYFOLDER','ElBGP','xBbEV','VIDEO_FORMAT_MOV','LMUSe','Sywts','chatDevice','KCHATTYPESERVICEASSISTANT','CDbWQ','CXSCU','1|0|7|6|4|9|5|3|2|8|10','ocuqC','TEXT','lDTwr'];_0x2128=function(){return _0x298cf4;};return _0x2128();}export var PicType;(function(_0xad4182){var _0x3de0ca=_0x469a,_0x11f0f2={'mTtBX':'gif','CCIiw':'jpg'};_0xad4182[_0xad4182[_0x11f0f2[_0x3de0ca(0x10f)]]=0x7d0]=_0x11f0f2[_0x3de0ca(0x10f)],_0xad4182[_0xad4182[_0x11f0f2[_0x3de0ca(0xb3)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x15457e){var _0x1d3022=_0x469a,_0x46101a={'cPAhd':'normal','Nzddu':_0x1d3022(0x105)};_0x15457e[_0x15457e[_0x46101a[_0x1d3022(0x10d)]]=0x0]=_0x1d3022(0xa0),_0x15457e[_0x15457e[_0x46101a[_0x1d3022(0xd3)]]=0x1]=_0x46101a['Nzddu'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3cf296){var _0x20a106=_0x469a,_0x897d4={'lDTwr':_0x20a106(0x83),'iowZO':_0x20a106(0x9c),'npSXO':_0x20a106(0xb5)};_0x3cf296[_0x3cf296[_0x897d4[_0x20a106(0xf3)]]=0x0]=_0x897d4[_0x20a106(0xf3)],_0x3cf296[_0x3cf296[_0x897d4[_0x20a106(0xcf)]]=0x1]=_0x897d4[_0x20a106(0xcf)],_0x3cf296[_0x3cf296[_0x897d4['npSXO']]=0x2]=_0x897d4[_0x20a106(0xc7)];}(AtType||(AtType={})));export var ChatType;(function(_0x584934){var _0x1d51b9=_0x469a,_0x2f9841={'eUjKQ':'friend','fPzVh':_0x1d51b9(0x8c),'IDJrE':_0x1d51b9(0xec),'hGPnH':_0x1d51b9(0xd0)};_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0xde)]]=0x1]=_0x2f9841[_0x1d51b9(0xde)],_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0xc3)]]=0x2]=_0x2f9841[_0x1d51b9(0xc3)],_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0x90)]]=0x8]=_0x2f9841[_0x1d51b9(0x90)],_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0x100)]]=0x64]=_0x1d51b9(0xd0);}(ChatType||(ChatType={})));export var ChatType2;(function(_0x1f17a1){var _0x447b4f=_0x469a,_0x854c32={'qhBEj':_0x447b4f(0x102),'XsviW':'KCHATTYPEDATALINE','WqHKr':_0x447b4f(0xe2),'OVOYF':_0x447b4f(0xf9),'YmLqv':_0x447b4f(0xe6),'XqsAf':'KCHATTYPEGROUPGUILD','DoOlL':_0x447b4f(0xc0),'NEqpk':_0x447b4f(0xfb),'hIzLM':_0x447b4f(0x113),'UunKc':'KCHATTYPEADELIE','XgxqB':_0x447b4f(0xa5),'iCPqI':_0x447b4f(0x96),'aUEDq':_0x447b4f(0xfa),'atzIy':'KCHATTYPEWEIYUN','xchrh':'KCHATTYPESQUAREPUBLIC','zsboc':_0x447b4f(0x86),'onWsx':_0x447b4f(0xac),'QgglY':_0x447b4f(0x104),'gNKvr':'KCHATTYPEBUDDYNOTIFY','cQcoD':_0x447b4f(0xb1),'kWsLk':_0x447b4f(0xe1),'hxAKB':_0x447b4f(0x106),'hLDNs':'KCHATTYPENEARBYHELLOFOLDER','RDEMy':'KCHATTYPETEMPPUBLICACCOUNT','ocuqC':_0x447b4f(0xe5),'AzswA':'KCHATTYPECIRCLE','KDBEz':'KCHATTYPEMATCHFRIEND','hFXmd':'KCHATTYPEQQNOTIFY','Cdyas':_0x447b4f(0xdf),'EASJV':_0x447b4f(0xed),'cnCMv':'KCHATTYPEDATALINEMQQ','UrTMT':_0x447b4f(0xa8),'kNkKF':_0x447b4f(0x8e),'lBluc':_0x447b4f(0x85),'kwLav':_0x447b4f(0x8d),'zTYLr':_0x447b4f(0xcb),'ElBGP':_0x447b4f(0x99),'YszRw':'KCHATTYPERELATEACCOUNT','lMyXA':_0x447b4f(0xbe)},_0x122afe=_0x854c32[_0x447b4f(0x10c)][_0x447b4f(0xb0)]('|'),_0x212e03=0x0;while(!![]){switch(_0x122afe[_0x212e03++]){case'0':_0x1f17a1[_0x1f17a1[_0x854c32['XsviW']]=0x8]=_0x854c32[_0x447b4f(0xca)];continue;case'1':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xe3)]]=0x69]=_0x447b4f(0xe2);continue;case'2':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xae)]]=0x66]=_0x854c32['OVOYF'];continue;case'3':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xbc)]]=0x6e]=_0x447b4f(0xe6);continue;case'4':_0x1f17a1[_0x1f17a1[_0x447b4f(0xdc)]=0x9]=_0x854c32[_0x447b4f(0xaf)];continue;case'5':_0x1f17a1[_0x1f17a1[_0x854c32['DoOlL']]=0x64]=_0x447b4f(0xc0);continue;case'6':_0x1f17a1[_0x1f17a1[_0x854c32['NEqpk']]=0x0]=_0x447b4f(0xfb);continue;case'7':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xd8)]]=0x75]=_0x854c32[_0x447b4f(0xd8)];continue;case'8':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xb7)]]=0x2a]=_0x854c32[_0x447b4f(0xb7)];continue;case'9':_0x1f17a1[_0x1f17a1[_0x447b4f(0xa5)]=0x1e]=_0x854c32[_0x447b4f(0xbb)];continue;case'10':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xa9)]]=0x7]=_0x854c32['iCPqI'];continue;case'11':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xfc)]]=0x2]=_0x854c32['aUEDq'];continue;case'12':_0x1f17a1[_0x1f17a1[_0x854c32['atzIy']]=0x28]=_0x854c32[_0x447b4f(0xe0)];continue;case'13':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xce)]]=0x73]=_0x854c32['xchrh'];continue;case'14':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xa2)]]=0xc9]=_0x854c32[_0x447b4f(0xa2)];continue;case'15':_0x1f17a1[_0x1f17a1[_0x854c32['onWsx']]=0x85]=_0x854c32[_0x447b4f(0xc4)];continue;case'16':_0x1f17a1[_0x1f17a1[_0x854c32['QgglY']]=0x77]=_0x447b4f(0x104);continue;case'17':_0x1f17a1[_0x1f17a1[_0x447b4f(0xfe)]=0x6d]=_0x447b4f(0xfe);continue;case'18':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xdd)]]=0x5]=_0x854c32[_0x447b4f(0xdd)];continue;case'19':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x10a)]]=0x29]=_0x854c32[_0x447b4f(0x10a)];continue;case'20':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xc1)]]=0x6a]=_0x854c32[_0x447b4f(0xc1)];continue;case'21':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x93)]]=0x6c]=_0x854c32[_0x447b4f(0x93)];continue;case'22':_0x1f17a1[_0x1f17a1[_0x447b4f(0x89)]=0x70]=_0x854c32[_0x447b4f(0x92)];continue;case'23':_0x1f17a1[_0x1f17a1[_0x854c32['RDEMy']]=0x67]='KCHATTYPETEMPPUBLICACCOUNT';continue;case'24':_0x1f17a1[_0x1f17a1['KCHATTYPENEARBYASSISTANT']=0x6b]='KCHATTYPENEARBYASSISTANT';continue;case'25':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xf1)]]=0x74]=_0x854c32['ocuqC'];continue;case'26':_0x1f17a1[_0x1f17a1['KCHATTYPECIRCLE']=0x71]=_0x854c32[_0x447b4f(0xf5)];continue;case'27':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xd6)]]=0x68]=_0x447b4f(0xc9);continue;case'28':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xd5)]]=0x84]=_0x854c32[_0x447b4f(0xd5)];continue;case'29':_0x1f17a1[_0x1f17a1[_0x854c32['Cdyas']]=0x10]=_0x447b4f(0xdf);continue;case'30':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x94)]]=0x76]=_0x447b4f(0xed);continue;case'31':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x87)]]=0x86]=_0x854c32[_0x447b4f(0x87)];continue;case'32':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x107)]]=0x6]=_0x447b4f(0xa8);continue;case'33':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xf8)]]=0x65]=_0x854c32[_0x447b4f(0xf8)];continue;case'34':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xff)]]=0x6f]=_0x854c32[_0x447b4f(0xff)];continue;case'35':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xf6)]]=0x1]=_0x447b4f(0x8d);continue;case'36':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xab)]]=0x3]=_0x447b4f(0xcb);continue;case'37':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xe7)]]=0x4]=_0x447b4f(0x99);continue;case'38':_0x1f17a1[_0x1f17a1[_0x854c32['YszRw']]=0x83]=_0x447b4f(0xa6);continue;case'39':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x8f)]]=0x63]=_0x854c32[_0x447b4f(0x8f)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x300faa(0xd7);export var GrayTipElementSubType;(function(_0x5672b5){var _0x2475b7=_0x300faa,_0x2027ec={'uTCta':_0x2475b7(0x95),'lyTvC':_0x2475b7(0xa4)};_0x5672b5[_0x5672b5[_0x2475b7(0x95)]=0xc]=_0x2027ec[_0x2475b7(0x9d)],_0x5672b5[_0x5672b5[_0x2027ec[_0x2475b7(0xc6)]]=0x11]=_0x2027ec['lyTvC'];}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x469a(_0x31b1bc,_0x29f061){var _0x21288b=_0x2128();return _0x469a=function(_0x469a24,_0x424243){_0x469a24=_0x469a24-0x83;var _0x1465db=_0x21288b[_0x469a24];return _0x1465db;},_0x469a(_0x31b1bc,_0x29f061);}export var FaceType;(function(_0x6c2e30){var _0x3e493a=_0x300faa,_0xa96ee2={'wVuUb':_0x3e493a(0xa0),'LbYto':_0x3e493a(0xc8)};_0x6c2e30[_0x6c2e30[_0xa96ee2[_0x3e493a(0xbf)]]=0x1]=_0xa96ee2[_0x3e493a(0xbf)],_0x6c2e30[_0x6c2e30[_0x3e493a(0xc8)]=0x2]=_0xa96ee2[_0x3e493a(0x103)],_0x6c2e30[_0x6c2e30['dice']=0x3]=_0x3e493a(0xb8);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x178c2a){var _0x3ce40d=_0x300faa,_0x132cb2={'ZxygX':_0x3ce40d(0xb8),'iejzT':_0x3ce40d(0x109)};_0x178c2a[_0x178c2a[_0x3ce40d(0xb8)]=0x166]=_0x132cb2[_0x3ce40d(0x84)],_0x178c2a[_0x178c2a[_0x132cb2[_0x3ce40d(0xaa)]]=0x167]='RPS';}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x3d9bde){var _0x27fae2=_0x300faa,_0x474eb2={'qSaGB':_0x27fae2(0xf0),'qybRG':_0x27fae2(0xe4),'pzdqZ':_0x27fae2(0x112),'CXSCU':_0x27fae2(0x10e),'CDbWQ':_0x27fae2(0x91),'NtmqE':_0x27fae2(0xe9),'qkOAP':_0x27fae2(0xbd),'svzWN':_0x27fae2(0xad),'xBbEV':_0x27fae2(0xd1),'AEGsr':'VIDEO_FORMAT_TS','dpWIJ':'VIDEO_FORMAT_MP4','bkpGX':_0x27fae2(0xc5)},_0x10f98b=_0x474eb2['qSaGB'][_0x27fae2(0xb0)]('|'),_0x252566=0x0;while(!![]){switch(_0x10f98b[_0x252566++]){case'0':_0x3d9bde[_0x3d9bde[_0x474eb2['qybRG']]=0x1]=_0x474eb2['qybRG'];continue;case'1':_0x3d9bde[_0x3d9bde[_0x474eb2['pzdqZ']]=0x7]=_0x474eb2[_0x27fae2(0xba)];continue;case'2':_0x3d9bde[_0x3d9bde[_0x27fae2(0x10e)]=0x5]=_0x474eb2[_0x27fae2(0xef)];continue;case'3':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0xee)]]=0x6]=_0x474eb2[_0x27fae2(0xee)];continue;case'4':_0x3d9bde[_0x3d9bde[_0x474eb2['NtmqE']]=0x8]=_0x27fae2(0xe9);continue;case'5':_0x3d9bde[_0x3d9bde[_0x27fae2(0xbd)]=0xb]=_0x474eb2['qkOAP'];continue;case'6':_0x3d9bde[_0x3d9bde[_0x474eb2['svzWN']]=0x9]=_0x474eb2['svzWN'];continue;case'7':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0xe8)]]=0x4]=_0x474eb2['xBbEV'];continue;case'8':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0x9b)]]=0xa]='VIDEO_FORMAT_TS';continue;case'9':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0x111)]]=0x2]=_0x27fae2(0x98);continue;case'10':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0x10b)]]=0x3]=_0x474eb2[_0x27fae2(0x10b)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x237177){var _0x5ed235=_0x300faa,_0x21fd56={'zWXGa':_0x5ed235(0x97),'hfITR':_0x5ed235(0xb6),'VbrEM':_0x5ed235(0xf7)};_0x237177[_0x237177[_0x5ed235(0x97)]=0x1]=_0x21fd56['zWXGa'],_0x237177[_0x237177[_0x21fd56['hfITR']]=0x3]=_0x21fd56[_0x5ed235(0x101)],_0x237177[_0x237177[_0x5ed235(0xf7)]=0x8]=_0x21fd56['VbrEM'];}(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 0b5725a0..314eb079 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x41c14a,_0x4917e0){var _0x1147c7=_0x4641,_0x2a96b6=_0x41c14a();while(!![]){try{var _0x485bcb=-parseInt(_0x1147c7(0x1b8))/0x1+-parseInt(_0x1147c7(0x1b5))/0x2+-parseInt(_0x1147c7(0x196))/0x3+parseInt(_0x1147c7(0x1b2))/0x4*(-parseInt(_0x1147c7(0x19d))/0x5)+-parseInt(_0x1147c7(0x193))/0x6*(parseInt(_0x1147c7(0x182))/0x7)+-parseInt(_0x1147c7(0x1a0))/0x8+parseInt(_0x1147c7(0x1aa))/0x9;if(_0x485bcb===_0x4917e0)break;else _0x2a96b6['push'](_0x2a96b6['shift']());}catch(_0x4f0033){_0x2a96b6['push'](_0x2a96b6['shift']());}}}(_0x1281,0x7e42d));export var GroupNotifyTypes;(function(_0x2d869f){var _0x288599=_0x4641,_0x53de1f={'UfRLa':_0x288599(0x18e),'Tgebz':'JOIN_REQUEST','xsKwf':_0x288599(0x189),'iwaEb':_0x288599(0x1b6),'FZInN':'ADMIN_UNSET','Dxrxh':_0x288599(0x1b0)};_0x2d869f[_0x2d869f[_0x288599(0x19e)]=0x1]=_0x288599(0x19e),_0x2d869f[_0x2d869f['INVITED_JOIN']=0x4]=_0x53de1f['UfRLa'],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x18b)]]=0x7]=_0x53de1f['Tgebz'],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x184)]]=0x8]=_0x53de1f['xsKwf'],_0x2d869f[_0x2d869f['KICK_MEMBER']=0x9]=_0x288599(0x1a8),_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x1ac)]]=0xb]=_0x53de1f[_0x288599(0x1ac)],_0x2d869f[_0x2d869f[_0x53de1f['FZInN']]=0xc]=_0x53de1f[_0x288599(0x181)],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x1b3)]]=0xd]=_0x53de1f[_0x288599(0x1b3)];}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4641(_0x68be9c,_0x474f87){var _0x128178=_0x1281();return _0x4641=function(_0x46412b,_0x5c8431){_0x46412b=_0x46412b-0x17f;var _0x1e82b4=_0x128178[_0x46412b];return _0x1e82b4;},_0x4641(_0x68be9c,_0x474f87);}export var GroupNotifyStatus;(function(_0x6e20c7){var _0x3fc89a=_0x4641,_0x5366ee={'TQnSs':_0x3fc89a(0x1a1),'osfSf':_0x3fc89a(0x199),'ToZKy':_0x3fc89a(0x1ad),'ToMmQ':_0x3fc89a(0x1a6)};_0x6e20c7[_0x6e20c7[_0x5366ee[_0x3fc89a(0x19a)]]=0x0]=_0x5366ee[_0x3fc89a(0x19a)],_0x6e20c7[_0x6e20c7[_0x5366ee['osfSf']]=0x1]=_0x5366ee[_0x3fc89a(0x1b4)],_0x6e20c7[_0x6e20c7[_0x5366ee['ToZKy']]=0x2]=_0x5366ee['ToZKy'],_0x6e20c7[_0x6e20c7['REJECT']=0x3]=_0x5366ee[_0x3fc89a(0x187)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x19cdf7){var _0x1ed0fb=_0x4641,_0x3c12ba={'QaGDp':_0x1ed0fb(0x1a4),'gqJcB':_0x1ed0fb(0x195)};_0x19cdf7[_0x19cdf7[_0x3c12ba[_0x1ed0fb(0x1a2)]]=0x1]=_0x3c12ba[_0x1ed0fb(0x1a2)],_0x19cdf7[_0x19cdf7['reject']=0x2]=_0x3c12ba[_0x1ed0fb(0x17f)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;function _0x1281(){var _0x550099=['ToMmQ','KMEAGREEDANDADDED','ADMIN_SET','KMEAGREEANYONE','Tgebz','KMEIGNORED','KMEINITIATORWAITPEERCONFIRM','INVITED_JOIN','fvnQN','JhoCc','BkSOr','dGSbP','984NwQfoT','KPEERAGREEDANDADDED','reject','2051139FRHxDs','NoJGo','KMESETQUESTION','WAIT_HANDLE','TQnSs','KMEAGREEANDADDFAILED','DEFAULTTYPE','107370hdNRTd','INVITE_ME','KMEAGREED','1966152mOdKLx','IGNORE','QaGDp','KPEERINITIATOR','approve','NEWGROUPTYPE','REJECT','split','KICK_MEMBER','tQwpH','24612867mReKen','PnSdt','iwaEb','APPROVE','FbpCG','PxsUc','ADMIN_UNSET_OTHER','dChkZ','4clMPmH','Dxrxh','osfSf','60222kYfGFq','MEMBER_EXIT','KMEINITIATOR','683195IiYuRB','dRuMG','gqJcB','kTtfm','FZInN','23618lfJFMb','jlQpk','xsKwf','wesEI','12|0|3|8|13|1|7|5|4|11|6|9|10|2'];_0x1281=function(){return _0x550099;};return _0x1281();}(function(_0x3aea12){var _0x4db3ab=_0x4641,_0x38de29={'JhoCc':_0x4db3ab(0x186),'tQwpH':_0x4db3ab(0x1a3),'PnSdt':_0x4db3ab(0x194),'NAAfg':_0x4db3ab(0x18d),'dChkZ':'KMEAGREED','jlQpk':_0x4db3ab(0x198),'BkSOr':'KPEERREFUSED','wesEI':_0x4db3ab(0x188),'kTtfm':_0x4db3ab(0x19b),'dGSbP':'KMSGINFO','fvnQN':_0x4db3ab(0x1b7),'FbpCG':'KPEERAGREED'},_0x72d2ff=_0x38de29[_0x4db3ab(0x190)][_0x4db3ab(0x1a7)]('|'),_0x5e3607=0x0;while(!![]){switch(_0x72d2ff[_0x5e3607++]){case'0':_0x3aea12[_0x3aea12[_0x38de29['tQwpH']]=0x1]=_0x38de29[_0x4db3ab(0x1a9)];continue;case'1':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x1ab)]]=0x5]=_0x38de29['PnSdt'];continue;case'2':_0x3aea12[_0x3aea12['KMEINITIATORWAITPEERCONFIRM']=0xd]=_0x38de29['NAAfg'];continue;case'3':_0x3aea12[_0x3aea12[_0x4db3ab(0x19f)]=0x2]=_0x38de29[_0x4db3ab(0x1b1)];continue;case'4':_0x3aea12[_0x3aea12[_0x4db3ab(0x18c)]=0x8]=_0x4db3ab(0x18c);continue;case'5':_0x3aea12[_0x3aea12['KMEREFUSED']=0x7]='KMEREFUSED';continue;case'6':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x183)]]=0xa]=_0x38de29['jlQpk'];continue;case'7':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x191)]]=0x6]=_0x38de29['BkSOr'];continue;case'8':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x185)]]=0x3]=_0x4db3ab(0x188);continue;case'9':_0x3aea12[_0x3aea12[_0x38de29['kTtfm']]=0xb]=_0x38de29[_0x4db3ab(0x180)];continue;case'10':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x192)]]=0xc]=_0x38de29['dGSbP'];continue;case'11':_0x3aea12[_0x3aea12['KMEAGREEANYONE']=0x9]=_0x4db3ab(0x18a);continue;case'12':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x18f)]]=0x0]=_0x38de29['fvnQN'];continue;case'13':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x1ae)]]=0x4]=_0x38de29['FbpCG'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x16931f){var _0x3aec2d=_0x4641,_0x4d198b={'dRuMG':'DEFAULTTYPE','PxsUc':'TITLETYPE','NoJGo':_0x3aec2d(0x1a5)};_0x16931f[_0x16931f[_0x3aec2d(0x19c)]=0x0]=_0x4d198b[_0x3aec2d(0x1b9)],_0x16931f[_0x16931f[_0x4d198b[_0x3aec2d(0x1af)]]=0x1]='TITLETYPE',_0x16931f[_0x16931f[_0x4d198b[_0x3aec2d(0x197)]]=0x2]=_0x3aec2d(0x1a5);}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +function _0x38ca(){var _0x3c5438=['hgOZt','1521233UVJUvZ','LCOaM','TITLETYPE','25915tdDgEf','PibOv','jYdEM','eTYlV','LYofv','zwscR','split','fXYnz','DEFAULTTYPE','JOIN_REQUEST','JqyyX','kUyPr','hFxHU','oOuhQ','KMEAGREEANYONE','sobba','LKYjN','gLQTe','WAIT_HANDLE','Wevpw','KMEIGNORED','24OHMJch','JliMD','224mWEXSn','gvMUO','approve','6963YrOiDi','8296340KlhAzW','GnDNR','HsZfW','iQJBu','1410kLgRpm','ADMIN_UNSET','ADMIN_SET','tFHkq','KPEERAGREEDANDADDED','IGNORE','wsvgO','sJvaO','KMEREFUSED','TcgSB','KPEERAGREED','KMSGINFO','8LxbxSN','MEMBER_EXIT','reject','INVITED_JOIN','APPROVE','KMEAGREEDANDADDED','Mzcyh','3079473oGPRLI','KMESETQUESTION','KPEERINITIATOR','13290327cfppwX','NEWGROUPTYPE','39036aWqLsa','422HAPfUl','INVITE_ME','KMEINITIATOR','KMEAGREEANDADDFAILED'];_0x38ca=function(){return _0x3c5438;};return _0x38ca();}(function(_0x41fddb,_0x10210f){var _0x5e76d3=_0x500a,_0x503041=_0x41fddb();while(!![]){try{var _0xfea26e=-parseInt(_0x5e76d3(0xa4))/0x1*(-parseInt(_0x5e76d3(0x8b))/0x2)+-parseInt(_0x5e76d3(0x9e))/0x3+parseInt(_0x5e76d3(0x83))/0x4*(-parseInt(_0x5e76d3(0x6c))/0x5)+-parseInt(_0x5e76d3(0x81))/0x6*(parseInt(_0x5e76d3(0x69))/0x7)+-parseInt(_0x5e76d3(0x97))/0x8*(-parseInt(_0x5e76d3(0xa1))/0x9)+-parseInt(_0x5e76d3(0x87))/0xa+parseInt(_0x5e76d3(0x86))/0xb*(parseInt(_0x5e76d3(0xa3))/0xc);if(_0xfea26e===_0x10210f)break;else _0x503041['push'](_0x503041['shift']());}catch(_0x20dfa4){_0x503041['push'](_0x503041['shift']());}}}(_0x38ca,0xc7a31));export var GroupNotifyTypes;(function(_0x1b33da){var _0x411bcb=_0x500a,_0x1d7a65={'oOuhQ':'5|7|4|1|6|2|0|3','sJvaO':_0x411bcb(0x8c),'SKJUC':_0x411bcb(0x8d),'LKYjN':_0x411bcb(0x98),'GnDNR':'ADMIN_UNSET_OTHER','hgOZt':_0x411bcb(0x75),'Mzcyh':_0x411bcb(0xa5),'jYdEM':'KICK_MEMBER','JliMD':_0x411bcb(0x9a)},_0x55d7a5=_0x1d7a65[_0x411bcb(0x79)][_0x411bcb(0x72)]('|'),_0x477d0f=0x0;while(!![]){switch(_0x55d7a5[_0x477d0f++]){case'0':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x92)]]=0xc]=_0x1d7a65['sJvaO'];continue;case'1':_0x1b33da[_0x1b33da[_0x1d7a65['SKJUC']]=0x8]=_0x1d7a65['SKJUC'];continue;case'2':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x7c)]]=0xb]=_0x1d7a65[_0x411bcb(0x7c)];continue;case'3':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x88)]]=0xd]=_0x1d7a65[_0x411bcb(0x88)];continue;case'4':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0xa8)]]=0x7]=_0x411bcb(0x75);continue;case'5':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x9d)]]=0x1]=_0x1d7a65['Mzcyh'];continue;case'6':_0x1b33da[_0x1b33da['KICK_MEMBER']=0x9]=_0x1d7a65[_0x411bcb(0x6e)];continue;case'7':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x82)]]=0x4]=_0x1d7a65[_0x411bcb(0x82)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x3c6687){var _0x3397c9=_0x500a,_0x8fbea8={'ALPeF':'IGNORE','LCOaM':'WAIT_HANDLE','gvMUO':_0x3397c9(0x9b),'zwscR':'REJECT'};_0x3c6687[_0x3c6687[_0x8fbea8['ALPeF']]=0x0]=_0x3397c9(0x90),_0x3c6687[_0x3c6687[_0x8fbea8[_0x3397c9(0x6a)]]=0x1]=_0x3397c9(0x7e),_0x3c6687[_0x3c6687[_0x8fbea8[_0x3397c9(0x84)]]=0x2]=_0x3397c9(0x9b),_0x3c6687[_0x3c6687['REJECT']=0x3]=_0x8fbea8[_0x3397c9(0x71)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x500a(_0xe46af4,_0xbdbf1b){var _0x38caf5=_0x38ca();return _0x500a=function(_0x500a77,_0xa98310){_0x500a77=_0x500a77-0x69;var _0x252c66=_0x38caf5[_0x500a77];return _0x252c66;},_0x500a(_0xe46af4,_0xbdbf1b);}export var GroupRequestOperateTypes;(function(_0x247b77){var _0x4cf8c5=_0x500a,_0x2b0e79={'iQJBu':_0x4cf8c5(0x85),'tFHkq':_0x4cf8c5(0x99)};_0x247b77[_0x247b77[_0x2b0e79[_0x4cf8c5(0x8a)]]=0x1]='approve',_0x247b77[_0x247b77[_0x4cf8c5(0x99)]=0x2]=_0x2b0e79[_0x4cf8c5(0x8e)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x188425){var _0x320b83=_0x500a,_0x4af79a={'kUyPr':'11|10|0|13|9|1|7|12|8|4|6|2|3|5','sobba':'KMEAGREED','ZSQpc':_0x320b83(0x8f),'QfMpT':_0x320b83(0xa7),'JqyyX':_0x320b83(0x96),'qlNSP':_0x320b83(0x7a),'PibOv':'KMEINITIATORWAITPEERCONFIRM','wsvgO':_0x320b83(0x9f),'HsZfW':'KPEERREFUSED','eTYlV':'KMEIGNORED','hFxHU':_0x320b83(0x95),'vSHJg':_0x320b83(0xa0),'gLQTe':_0x320b83(0xa6),'Wevpw':'KMEREFUSED','fXYnz':_0x320b83(0x9c)},_0x2bf7d8=_0x4af79a[_0x320b83(0x77)][_0x320b83(0x72)]('|'),_0x4aa88c=0x0;while(!![]){switch(_0x2bf7d8[_0x4aa88c++]){case'0':_0x188425[_0x188425[_0x4af79a['sobba']]=0x2]=_0x4af79a[_0x320b83(0x7b)];continue;case'1':_0x188425[_0x188425[_0x320b83(0x8f)]=0x5]=_0x4af79a['ZSQpc'];continue;case'2':_0x188425[_0x188425[_0x4af79a['QfMpT']]=0xb]='KMEAGREEANDADDFAILED';continue;case'3':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x76)]]=0xc]=_0x4af79a[_0x320b83(0x76)];continue;case'4':_0x188425[_0x188425[_0x320b83(0x7a)]=0x9]=_0x4af79a['qlNSP'];continue;case'5':_0x188425[_0x188425['KMEINITIATORWAITPEERCONFIRM']=0xd]=_0x4af79a[_0x320b83(0x6d)];continue;case'6':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x91)]]=0xa]=_0x4af79a[_0x320b83(0x91)];continue;case'7':_0x188425[_0x188425['KPEERREFUSED']=0x6]=_0x4af79a[_0x320b83(0x89)];continue;case'8':_0x188425[_0x188425[_0x320b83(0x80)]=0x8]=_0x4af79a[_0x320b83(0x6f)];continue;case'9':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x78)]]=0x4]=_0x320b83(0x95);continue;case'10':_0x188425[_0x188425[_0x4af79a['vSHJg']]=0x1]=_0x320b83(0xa0);continue;case'11':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x7d)]]=0x0]=_0x4af79a['gLQTe'];continue;case'12':_0x188425[_0x188425[_0x320b83(0x93)]=0x7]=_0x4af79a[_0x320b83(0x7f)];continue;case'13':_0x188425[_0x188425[_0x320b83(0x9c)]=0x3]=_0x4af79a[_0x320b83(0x73)];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x378377){var _0x48c9a4=_0x500a,_0xe2412d={'LYofv':'DEFAULTTYPE','bCtqh':_0x48c9a4(0x6b),'TcgSB':_0x48c9a4(0xa2)};_0x378377[_0x378377[_0xe2412d[_0x48c9a4(0x70)]]=0x0]=_0x48c9a4(0x74),_0x378377[_0x378377[_0x48c9a4(0x6b)]=0x1]=_0xe2412d['bCtqh'],_0x378377[_0x378377[_0xe2412d[_0x48c9a4(0x94)]]=0x2]=_0xe2412d[_0x48c9a4(0x94)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ 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 002fccf7..d3ca3442 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x2c6ad1,_0x54607d){var _0x280e89=_0x5a0b,_0x3de3ec=_0x2c6ad1();while(!![]){try{var _0xabec87=parseInt(_0x280e89(0x150))/0x1+parseInt(_0x280e89(0x142))/0x2*(-parseInt(_0x280e89(0x14b))/0x3)+-parseInt(_0x280e89(0x140))/0x4*(-parseInt(_0x280e89(0x14c))/0x5)+parseInt(_0x280e89(0x147))/0x6*(parseInt(_0x280e89(0x14d))/0x7)+-parseInt(_0x280e89(0x148))/0x8+parseInt(_0x280e89(0x13f))/0x9*(parseInt(_0x280e89(0x14f))/0xa)+parseInt(_0x280e89(0x143))/0xb;if(_0xabec87===_0x54607d)break;else _0x3de3ec['push'](_0x3de3ec['shift']());}catch(_0x5ae7e5){_0x3de3ec['push'](_0x3de3ec['shift']());}}}(_0x5e05,0x29d37));export var Sex;function _0x5a0b(_0x15075d,_0x48f408){var _0x5e0542=_0x5e05();return _0x5a0b=function(_0x5a0bc3,_0x26137d){_0x5a0bc3=_0x5a0bc3-0x13d;var _0x7d1f6=_0x5e0542[_0x5a0bc3];return _0x7d1f6;},_0x5a0b(_0x15075d,_0x48f408);}function _0x5e05(){var _0x2e4ef3=['17655eswfiL','987973dbVrhl','unknown','2240jdbQyI','10644FfMQkj','KPHOTOWALL','BdaIU','4527HBUAZp','368nlFwSS','male','336998ikHRsz','239041RqNQzY','ORmnG','ZkAMr','female','12jNHpFs','1950880MqIZPv','jjTlS','KPRIVILEGEICON','6iyJDlq'];_0x5e05=function(){return _0x2e4ef3;};return _0x5e05();}(function(_0x517e1c){var _0x267ce4=_0x5a0b,_0x291a39={'ORmnG':_0x267ce4(0x141),'BdaIU':_0x267ce4(0x146),'jjTlS':_0x267ce4(0x14e)};_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x144)]]=0x1]=_0x291a39[_0x267ce4(0x144)],_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x13e)]]=0x2]=_0x291a39[_0x267ce4(0x13e)],_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x149)]]=0xff]=_0x291a39[_0x267ce4(0x149)];}(Sex||(Sex={})));export var BizKey;(function(_0x10321d){var _0x111bcd=_0x5a0b,_0x152e99={'ZkAMr':_0x111bcd(0x13d)};_0x10321d[_0x10321d[_0x111bcd(0x14a)]=0x0]=_0x111bcd(0x14a),_0x10321d[_0x10321d[_0x152e99['ZkAMr']]=0x1]=_0x152e99[_0x111bcd(0x145)];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0xcbb36a,_0x16d7e2){var _0x40581a=_0x384c,_0x36ae05=_0xcbb36a();while(!![]){try{var _0x351061=-parseInt(_0x40581a(0x7d))/0x1+parseInt(_0x40581a(0x75))/0x2*(parseInt(_0x40581a(0x84))/0x3)+-parseInt(_0x40581a(0x80))/0x4+parseInt(_0x40581a(0x77))/0x5*(-parseInt(_0x40581a(0x7a))/0x6)+-parseInt(_0x40581a(0x74))/0x7+parseInt(_0x40581a(0x78))/0x8+parseInt(_0x40581a(0x7b))/0x9;if(_0x351061===_0x16d7e2)break;else _0x36ae05['push'](_0x36ae05['shift']());}catch(_0x289261){_0x36ae05['push'](_0x36ae05['shift']());}}}(_0x4268,0xc904a));export var Sex;function _0x4268(){var _0x30bfec=['3824064FEUoER','KPHOTOWALL','Troww','urdzG','41706rouBmE','4941132nkRnkx','154ZsDGaP','mAzVH','15HGefOY','8965688nAXyYI','unknown','715014ouhrta','18962010cPnrzu','PcVvq','1455286yfVScl','KPRIVILEGEICON','male'];_0x4268=function(){return _0x30bfec;};return _0x4268();}function _0x384c(_0x4c016f,_0x4adf98){var _0x42683d=_0x4268();return _0x384c=function(_0x384c15,_0x1538af){_0x384c15=_0x384c15-0x74;var _0x49467c=_0x42683d[_0x384c15];return _0x49467c;},_0x384c(_0x4c016f,_0x4adf98);}(function(_0x3a1050){var _0x2b42c5=_0x384c,_0x39ecd8={'qjRxI':_0x2b42c5(0x7f),'PcVvq':'female','Troww':_0x2b42c5(0x79)};_0x3a1050[_0x3a1050['male']=0x1]=_0x39ecd8['qjRxI'],_0x3a1050[_0x3a1050[_0x39ecd8[_0x2b42c5(0x7c)]]=0x2]=_0x39ecd8[_0x2b42c5(0x7c)],_0x3a1050[_0x3a1050[_0x39ecd8[_0x2b42c5(0x82)]]=0xff]=_0x39ecd8['Troww'];}(Sex||(Sex={})));export var BizKey;(function(_0x13d00b){var _0x411529=_0x384c,_0x167647={'mAzVH':'KPRIVILEGEICON','urdzG':_0x411529(0x81)};_0x13d00b[_0x13d00b[_0x411529(0x7e)]=0x0]=_0x167647[_0x411529(0x76)],_0x13d00b[_0x13d00b[_0x167647[_0x411529(0x83)]]=0x1]=_0x167647[_0x411529(0x83)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 62ab14cd..e7837bd3 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x574965,_0x2b16c2){var _0x3ef9ed=_0x2136,_0xe4030e=_0x574965();while(!![]){try{var _0xe962e7=parseInt(_0x3ef9ed(0x1e5))/0x1*(-parseInt(_0x3ef9ed(0x1ed))/0x2)+parseInt(_0x3ef9ed(0x1e4))/0x3*(parseInt(_0x3ef9ed(0x1e8))/0x4)+-parseInt(_0x3ef9ed(0x1eb))/0x5*(parseInt(_0x3ef9ed(0x1ea))/0x6)+-parseInt(_0x3ef9ed(0x1ee))/0x7+parseInt(_0x3ef9ed(0x1ec))/0x8*(-parseInt(_0x3ef9ed(0x1e6))/0x9)+-parseInt(_0x3ef9ed(0x1e9))/0xa+parseInt(_0x3ef9ed(0x1e7))/0xb;if(_0xe962e7===_0x2b16c2)break;else _0xe4030e['push'](_0xe4030e['shift']());}catch(_0x262afc){_0xe4030e['push'](_0xe4030e['shift']());}}}(_0x59d2,0xcaef0));import _0x27e362 from'./wrapper';export*from'./adapters';export*from'./apis';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 _0x2136(_0x5a3c3c,_0x1430a2){var _0x59d2e4=_0x59d2();return _0x2136=function(_0x2136cc,_0x38d1f4){_0x2136cc=_0x2136cc-0x1e4;var _0x255a0b=_0x59d2e4[_0x2136cc];return _0x255a0b;},_0x2136(_0x5a3c3c,_0x1430a2);}export*as Services from'./services';export{_0x27e362 as Wrapper};export*as WrapperInterface from'./wrapper';function _0x59d2(){var _0x294058=['6SeQFHL','5011885PsBJda','173496XHoeIo','250XjAYOU','3140270jkeQFJ','1846317FUOJvn','2473WjHhmz','63HtpbPO','32127810ZSqEqm','4GzNADC','7930120VfKErn'];_0x59d2=function(){return _0x294058;};return _0x59d2();}export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x26ee1c,_0x347a8a){var _0x3b74ce=_0x1c2c,_0x5f5006=_0x26ee1c();while(!![]){try{var _0x208979=-parseInt(_0x3b74ce(0x12c))/0x1+parseInt(_0x3b74ce(0x129))/0x2*(parseInt(_0x3b74ce(0x131))/0x3)+-parseInt(_0x3b74ce(0x132))/0x4+parseInt(_0x3b74ce(0x12b))/0x5*(-parseInt(_0x3b74ce(0x130))/0x6)+-parseInt(_0x3b74ce(0x12e))/0x7*(-parseInt(_0x3b74ce(0x12d))/0x8)+-parseInt(_0x3b74ce(0x133))/0x9*(-parseInt(_0x3b74ce(0x12f))/0xa)+parseInt(_0x3b74ce(0x12a))/0xb;if(_0x208979===_0x347a8a)break;else _0x5f5006['push'](_0x5f5006['shift']());}catch(_0x1154ac){_0x5f5006['push'](_0x5f5006['shift']());}}}(_0x2553,0x8aed2));import _0x5bdf5e from'./wrapper';function _0x2553(){var _0x1181a9=['65yTZpQk','1135849odFnGK','8nGmFrx','3470369ygdNlR','16070DGQfHZ','224154dGvkEW','6TStjKL','1572392GIeRbN','1089OjgKVt','93038vMiqFC','19804444KSxapC'];_0x2553=function(){return _0x1181a9;};return _0x2553();}function _0x1c2c(_0x4b199f,_0x2845be){var _0x25538a=_0x2553();return _0x1c2c=function(_0x1c2c2e,_0xd2814d){_0x1c2c2e=_0x1c2c2e-0x129;var _0x188a69=_0x25538a[_0x1c2c2e];return _0x188a69;},_0x1c2c(_0x4b199f,_0x2845be);}export*from'./adapters';export*from'./apis';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';export{_0x5bdf5e 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 771ab759..6547e808 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x6cd226=_0x3fe0;function _0x3fe0(_0xd2a76d,_0x47a4b9){var _0x5415f5=_0x5415();return _0x3fe0=function(_0x3fe042,_0x1c32d2){_0x3fe042=_0x3fe042-0x18b;var _0x504f8a=_0x5415f5[_0x3fe042];return _0x504f8a;},_0x3fe0(_0xd2a76d,_0x47a4b9);}(function(_0x22f3c5,_0x320ecc){var _0x7c4866=_0x3fe0,_0x13dfff=_0x22f3c5();while(!![]){try{var _0x5cb97c=-parseInt(_0x7c4866(0x198))/0x1*(parseInt(_0x7c4866(0x19f))/0x2)+parseInt(_0x7c4866(0x18d))/0x3*(-parseInt(_0x7c4866(0x1a1))/0x4)+-parseInt(_0x7c4866(0x193))/0x5*(-parseInt(_0x7c4866(0x191))/0x6)+parseInt(_0x7c4866(0x195))/0x7+-parseInt(_0x7c4866(0x1a0))/0x8+parseInt(_0x7c4866(0x196))/0x9+-parseInt(_0x7c4866(0x199))/0xa;if(_0x5cb97c===_0x320ecc)break;else _0x13dfff['push'](_0x13dfff['shift']());}catch(_0x4f4085){_0x13dfff['push'](_0x13dfff['shift']());}}}(_0x5415,0x7f630));function _0x5415(){var _0x18bc88=['onAddMeSettingChanged','210dGLaVF','onDoubtBuddyReqUnreadNumChange','3568040furhmJ','8956602BuOWAf','onBuddyReqChange','1HJjGZn','799100QElLYU','onBuddyRemarkUpdated','onBuddyDetailInfoChange','onSmartInfos','onAddBuddyNeedVerify','onBuddyReqUnreadCntChange','186476EHsPgK','7889256xQKzZg','22468rUvqyi','onCheckBuddySettingResult','onDelBatchBuddyInfos','21NQnduG','onDoubtBuddyReqChange','onAvatarUrlUpdated','onNickUpdated','30786zuMTYr'];_0x5415=function(){return _0x18bc88;};return _0x5415();}export class BuddyListener{[_0x6cd226(0x19d)](_0x4e3e78){}[_0x6cd226(0x192)](_0x383301){}[_0x6cd226(0x18f)](_0x58f501){}['onBlockChanged'](_0x2f1417){}[_0x6cd226(0x19b)](_0x3c2f6f){}['onBuddyInfoChange'](_0x28f9a2){}['onBuddyListChange'](_0x4ec51c){}[_0x6cd226(0x19a)](_0x5bd7a0){}[_0x6cd226(0x197)](_0x36db35){}[_0x6cd226(0x19e)](_0x20cb8f){}[_0x6cd226(0x18b)](_0x1c6424){}[_0x6cd226(0x18c)](_0x46653b){}[_0x6cd226(0x18e)](_0x288422){}[_0x6cd226(0x194)](_0x5d3745){}[_0x6cd226(0x190)](_0x2577d6){}[_0x6cd226(0x19c)](_0x455304){}['onSpacePermissionInfos'](_0x280486){}} \ No newline at end of file +function _0x2bb7(_0x1ba2fb,_0x1fa335){var _0x5d051e=_0x5d05();return _0x2bb7=function(_0x2bb74a,_0x1eeb6d){_0x2bb74a=_0x2bb74a-0x9f;var _0x13da0f=_0x5d051e[_0x2bb74a];return _0x13da0f;},_0x2bb7(_0x1ba2fb,_0x1fa335);}var _0x55766b=_0x2bb7;(function(_0xed1e81,_0x58aa45){var _0x1ecd44=_0x2bb7,_0xed3926=_0xed1e81();while(!![]){try{var _0x50db8c=parseInt(_0x1ecd44(0xac))/0x1*(-parseInt(_0x1ecd44(0xa8))/0x2)+parseInt(_0x1ecd44(0xa2))/0x3+parseInt(_0x1ecd44(0xae))/0x4+parseInt(_0x1ecd44(0xa4))/0x5+parseInt(_0x1ecd44(0xaf))/0x6*(parseInt(_0x1ecd44(0xb1))/0x7)+-parseInt(_0x1ecd44(0x9f))/0x8+-parseInt(_0x1ecd44(0xad))/0x9;if(_0x50db8c===_0x58aa45)break;else _0xed3926['push'](_0xed3926['shift']());}catch(_0x50877c){_0xed3926['push'](_0xed3926['shift']());}}}(_0x5d05,0x6d31d));function _0x5d05(){var _0x1307df=['2541500wJBiMp','330LepRXY','onCheckBuddySettingResult','72898AXXYfE','onDoubtBuddyReqChange','onBlockChanged','6322944JLcTXf','onBuddyReqChange','onAddMeSettingChanged','1440495ACcsnc','onAddBuddyNeedVerify','3721535OvKkss','onBuddyRemarkUpdated','onDoubtBuddyReqUnreadNumChange','onDelBatchBuddyInfos','2316khtnfV','onAvatarUrlUpdated','onBuddyInfoChange','onBuddyListChange','578XvRoko','4730976cZSniZ'];_0x5d05=function(){return _0x1307df;};return _0x5d05();}export class BuddyListener{[_0x55766b(0xa3)](_0x352285){}[_0x55766b(0xa1)](_0x23e722){}[_0x55766b(0xa9)](_0x30aa2d){}[_0x55766b(0xb3)](_0x37955a){}['onBuddyDetailInfoChange'](_0x31fc44){}[_0x55766b(0xaa)](_0x193460){}[_0x55766b(0xab)](_0x11181b){}[_0x55766b(0xa5)](_0x225269){}[_0x55766b(0xa0)](_0x45dd04){}['onBuddyReqUnreadCntChange'](_0x2a878c){}[_0x55766b(0xb0)](_0x30b930){}[_0x55766b(0xa7)](_0x37a6df){}[_0x55766b(0xb2)](_0x124df8){}[_0x55766b(0xa6)](_0x4ca9b9){}['onNickUpdated'](_0x1065ff){}['onSmartInfos'](_0xb5497f){}['onSpacePermissionInfos'](_0x172c6a){}} \ 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 2976207d..f5fc856c 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x5dcc(_0x3d39bf,_0x2ea6c0){var _0x24737e=_0x2473();return _0x5dcc=function(_0x5dcc7c,_0x5c73e2){_0x5dcc7c=_0x5dcc7c-0x9d;var _0x5d7b4c=_0x24737e[_0x5dcc7c];return _0x5d7b4c;},_0x5dcc(_0x3d39bf,_0x2ea6c0);}function _0x2473(){var _0x2533bd=['onFileListChanged','onSessionListChanged','3308837YyNvWt','164680YqagIc','250078qdWzSA','1086758LVvRpv','10SZCZYF','1150296xgreym','631350hFUSYJ','3tZZtcf','543608wWVOev','onFileStatusChanged','8stimAs'];_0x2473=function(){return _0x2533bd;};return _0x2473();}var _0x441c7b=_0x5dcc;(function(_0x543004,_0x329c7c){var _0x158ec9=_0x5dcc,_0x246912=_0x543004();while(!![]){try{var _0x7db7e8=-parseInt(_0x158ec9(0xa8))/0x1+parseInt(_0x158ec9(0xa9))/0x2*(-parseInt(_0x158ec9(0xa0))/0x3)+parseInt(_0x158ec9(0xa1))/0x4+parseInt(_0x158ec9(0x9d))/0x5*(parseInt(_0x158ec9(0x9e))/0x6)+-parseInt(_0x158ec9(0xa6))/0x7*(-parseInt(_0x158ec9(0xa3))/0x8)+parseInt(_0x158ec9(0x9f))/0x9+parseInt(_0x158ec9(0xa7))/0xa;if(_0x7db7e8===_0x329c7c)break;else _0x246912['push'](_0x246912['shift']());}catch(_0x559266){_0x246912['push'](_0x246912['shift']());}}}(_0x2473,0x45a02));export class KernelFileAssistantListener{[_0x441c7b(0xa2)](..._0x94cb52){}[_0x441c7b(0xa5)](..._0x56bcc5){}['onSessionChanged'](..._0x963bac){}[_0x441c7b(0xa4)](..._0x13e40c){}['onFileSearch'](..._0x11d4bd){}} \ No newline at end of file +var _0x2b51aa=_0x3208;(function(_0x486983,_0xeab1b7){var _0x23adb6=_0x3208,_0x278562=_0x486983();while(!![]){try{var _0x2ea51c=parseInt(_0x23adb6(0x135))/0x1*(parseInt(_0x23adb6(0x136))/0x2)+-parseInt(_0x23adb6(0x13b))/0x3*(-parseInt(_0x23adb6(0x133))/0x4)+-parseInt(_0x23adb6(0x138))/0x5*(-parseInt(_0x23adb6(0x13a))/0x6)+-parseInt(_0x23adb6(0x139))/0x7+-parseInt(_0x23adb6(0x134))/0x8+parseInt(_0x23adb6(0x132))/0x9*(parseInt(_0x23adb6(0x130))/0xa)+parseInt(_0x23adb6(0x131))/0xb*(-parseInt(_0x23adb6(0x12f))/0xc);if(_0x2ea51c===_0xeab1b7)break;else _0x278562['push'](_0x278562['shift']());}catch(_0x3899b4){_0x278562['push'](_0x278562['shift']());}}}(_0x5309,0x3cca8));function _0x5309(){var _0x85660b=['561216fkvvKE','9503SDyjiz','10nSdxKL','onFileListChanged','1055vaTWGm','663922CCCsjV','9510tTnHtN','194925oAkCgf','onFileStatusChanged','24UcblqO','60IDNWwd','2092794GmMzTv','423909awrtMO','8qZpgOG'];_0x5309=function(){return _0x85660b;};return _0x5309();}function _0x3208(_0x68db52,_0x5a2238){var _0x530974=_0x5309();return _0x3208=function(_0x320815,_0x449cfe){_0x320815=_0x320815-0x12e;var _0x4e4080=_0x530974[_0x320815];return _0x4e4080;},_0x3208(_0x68db52,_0x5a2238);}export class KernelFileAssistantListener{[_0x2b51aa(0x12e)](..._0x32460a){}['onSessionListChanged'](..._0x14a29d){}['onSessionChanged'](..._0x51d076){}[_0x2b51aa(0x137)](..._0x5c162b){}['onFileSearch'](..._0x3ce1b8){}} \ 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 bcb31989..3ee94dd2 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x4e0039=_0x51f8;function _0x1d62(){var _0x457b36=['JfEbM','onGroupNotifiesUpdated','onGetGroupBulletinListResult:','SJaeD','onGroupArkInviteStateResult','22iOPbtj','onGroupNotifiesUpdated:','128935VcjMQj','onMemberInfoChange:','ZQUwg','onJoinGroupNotify','nxqkv','7602JAILgw','cfGeR','3384xmQVqn','onJoinGroupNoVerifyFlag:','log','tkIZB','onMemberInfoChange','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange','wMWXC','onGroupsMsgMaskResult','sBJky','onGroupFirstBulletinNotify:','onGroupStatisticInfoChange:','onGroupConfMemberChange:','hGQdw','onGroupBulletinRemindNotify','onGroupExtListUpdate','onGroupAllInfoChange','onJoinGroupNotify:','onGroupConfMemberChange','onGetGroupBulletinListResult','AAslv','onGroupNotifiesUnreadCountUpdated:','onGroupBulletinRichMediaDownloadComplete','onMemberListChange','PDOpD','onGroupBulletinRichMediaDownloadComplete:','onShutUpMemberListChanged','69BKBbqM','1717210LSaFVb','onGroupMemberLevelInfoChange:','onGroupExtListUpdate:','onGroupArkInviteStateResult:','xKOVq','onGroupBulletinRichMediaProgressUpdate','6814VWkPOn','onGroupBulletinRemindNotify:','uHhLc','onJoinGroupNoVerifyFlag','YXIpp','onGroupSingleScreenNotifies:','onGroupListUpdate:','onSearchMemberChange','onGroupNotifiesUnreadCountUpdated','axzEz','onGroupBulletinRichMediaProgressUpdate:','onGroupDetailInfoChange','287024mPtVDt','1261253aKjuFG','25lDWuyI','1404JjcZpY','onGroupBulletinChange','onGroupSingleScreenNotifies'];_0x1d62=function(){return _0x457b36;};return _0x1d62();}function _0x51f8(_0x106392,_0x364879){var _0x1d624c=_0x1d62();return _0x51f8=function(_0x51f8c7,_0x58359f){_0x51f8c7=_0x51f8c7-0x1cc;var _0x5b5b0d=_0x1d624c[_0x51f8c7];return _0x5b5b0d;},_0x51f8(_0x106392,_0x364879);}(function(_0x40649a,_0x19ba14){var _0x23be2a=_0x51f8,_0x408e9d=_0x40649a();while(!![]){try{var _0x4552bd=-parseInt(_0x23be2a(0x200))/0x1+parseInt(_0x23be2a(0x1e7))/0x2*(parseInt(_0x23be2a(0x1e0))/0x3)+-parseInt(_0x23be2a(0x1f3))/0x4+parseInt(_0x23be2a(0x1f5))/0x5*(-parseInt(_0x23be2a(0x205))/0x6)+-parseInt(_0x23be2a(0x1f4))/0x7+parseInt(_0x23be2a(0x207))/0x8*(parseInt(_0x23be2a(0x1f6))/0x9)+parseInt(_0x23be2a(0x1e1))/0xa*(parseInt(_0x23be2a(0x1fe))/0xb);if(_0x4552bd===_0x19ba14)break;else _0x408e9d['push'](_0x408e9d['shift']());}catch(_0x10b091){_0x408e9d['push'](_0x408e9d['shift']());}}}(_0x1d62,0x188ea));export class GroupListener{[_0x4e0039(0x20d)](..._0x1e0cc7){}[_0x4e0039(0x1d8)](..._0x156387){}[_0x4e0039(0x1d5)](..._0x8fb306){}[_0x4e0039(0x1f7)](..._0x3ff610){}[_0x4e0039(0x1d3)](..._0x87cc4a){}[_0x4e0039(0x1fd)](..._0x38b6dc){}['onGroupBulletinRichMediaDownloadComplete'](..._0x18bdf1){}[_0x4e0039(0x1d7)](..._0x5eb0c7){}[_0x4e0039(0x1f2)](..._0xd609d7){}[_0x4e0039(0x1d4)](..._0x3dee5e){}['onGroupFirstBulletinNotify'](..._0xe12b90){}['onGroupListUpdate'](_0x511199,_0x5351b0){}[_0x4e0039(0x1fa)](_0x205739,_0x3d87ed){}[_0x4e0039(0x1e6)](..._0x359fcb){}[_0x4e0039(0x1ef)](..._0x2ddad2){}['onGroupSingleScreenNotifies'](_0x3b835d,_0xcb1db1,_0x238f3b){}[_0x4e0039(0x1cd)](..._0x5b14fa){}['onGroupStatisticInfoChange'](..._0x1a3f1d){}[_0x4e0039(0x203)](..._0x348329){}[_0x4e0039(0x1ea)](..._0x42c1cd){}[_0x4e0039(0x20b)](_0xc110d,_0x5d28d3,_0x4807e2){}[_0x4e0039(0x1dc)](_0x342848){}[_0x4e0039(0x1ee)](..._0xdcaf9e){}[_0x4e0039(0x1df)](..._0x3655c8){}}export class DebugGroupListener{[_0x4e0039(0x20d)](..._0x553d19){var _0x238a0c=_0x4e0039,_0x2212d1={'uHhLc':_0x238a0c(0x1e2)};console[_0x238a0c(0x209)](_0x2212d1[_0x238a0c(0x1e9)],..._0x553d19);}[_0x4e0039(0x1d8)](..._0x5053bc){var _0xe2572=_0x4e0039,_0x88c30b={'tkIZB':_0xe2572(0x1fb)};console[_0xe2572(0x209)](_0x88c30b[_0xe2572(0x20a)],..._0x5053bc);}[_0x4e0039(0x1d5)](..._0x2481bb){var _0x58edc4=_0x4e0039,_0x5efc27={'Geeka':'onGroupAllInfoChange:'};console[_0x58edc4(0x209)](_0x5efc27['Geeka'],..._0x2481bb);}[_0x4e0039(0x1f7)](..._0x4d6093){var _0x55c06e=_0x4e0039;console[_0x55c06e(0x209)]('onGroupBulletinChange:',..._0x4d6093);}['onGroupBulletinRemindNotify'](..._0x124fd4){var _0x31181d=_0x4e0039;console[_0x31181d(0x209)](_0x31181d(0x1e8),..._0x124fd4);}[_0x4e0039(0x1fd)](..._0x15fcdb){var _0x215096=_0x4e0039;console[_0x215096(0x209)](_0x215096(0x1e4),..._0x15fcdb);}[_0x4e0039(0x1db)](..._0x12be6c){var _0x13836b=_0x4e0039,_0x4cf5ee={'YXIpp':_0x13836b(0x1de)};console['log'](_0x4cf5ee[_0x13836b(0x1eb)],..._0x12be6c);}[_0x4e0039(0x1d7)](..._0x2c4b4e){var _0x2d8c63=_0x4e0039;console[_0x2d8c63(0x209)](_0x2d8c63(0x1d1),..._0x2c4b4e);}[_0x4e0039(0x1f2)](..._0x544cd5){var _0xa4fa7e=_0x4e0039,_0x33d03f={'cfGeR':'onGroupDetailInfoChange:'};console[_0xa4fa7e(0x209)](_0x33d03f[_0xa4fa7e(0x206)],..._0x544cd5);}[_0x4e0039(0x1d4)](..._0x3070ea){var _0x2bbf61=_0x4e0039,_0x3ab875={'hGQdw':_0x2bbf61(0x1e3)};console[_0x2bbf61(0x209)](_0x3ab875[_0x2bbf61(0x1d2)],..._0x3070ea);}['onGroupFirstBulletinNotify'](..._0x5dd70a){var _0x4afe05=_0x4e0039,_0x177f43={'SJaeD':_0x4afe05(0x1cf)};console['log'](_0x177f43[_0x4afe05(0x1fc)],..._0x5dd70a);}['onGroupListUpdate'](..._0x63c9a1){var _0x942e81=_0x4e0039,_0x2f847a={'axzEz':_0x942e81(0x1ed)};console[_0x942e81(0x209)](_0x2f847a[_0x942e81(0x1f0)],..._0x63c9a1);}['onGroupNotifiesUpdated'](..._0x542574){var _0x1b022a=_0x4e0039,_0x3c1523={'AAslv':_0x1b022a(0x1ff)};console[_0x1b022a(0x209)](_0x3c1523[_0x1b022a(0x1d9)],..._0x542574);}[_0x4e0039(0x1e6)](..._0x5e6b9){var _0x4bfa87=_0x4e0039,_0x7ded2b={'sBJky':_0x4bfa87(0x1f1)};console['log'](_0x7ded2b[_0x4bfa87(0x1ce)],..._0x5e6b9);}[_0x4e0039(0x1ef)](..._0x5d9054){var _0x2a6c30=_0x4e0039,_0x5c1fb7={'JfEbM':_0x2a6c30(0x1da)};console[_0x2a6c30(0x209)](_0x5c1fb7[_0x2a6c30(0x1f9)],..._0x5d9054);}[_0x4e0039(0x1f8)](_0x2c00fa,_0x39470f,_0x1224c6){var _0x1a7385=_0x4e0039;console[_0x1a7385(0x209)](_0x1a7385(0x1ec));}[_0x4e0039(0x1cd)](..._0x514cf1){var _0x3cf751=_0x4e0039;console[_0x3cf751(0x209)](_0x3cf751(0x20c),..._0x514cf1);}['onGroupStatisticInfoChange'](..._0x55c34d){var _0x3b5bb2=_0x4e0039,_0xf56c5d={'ZQUwg':_0x3b5bb2(0x1d0)};console[_0x3b5bb2(0x209)](_0xf56c5d[_0x3b5bb2(0x202)],..._0x55c34d);}[_0x4e0039(0x203)](..._0xa5e81){var _0xdc3ecc=_0x4e0039,_0x4dfdaa={'qRMfK':_0xdc3ecc(0x1d6)};console['log'](_0x4dfdaa['qRMfK'],..._0xa5e81);}[_0x4e0039(0x1ea)](..._0x10f46c){var _0x468439=_0x4e0039,_0xa9c218={'xKOVq':_0x468439(0x208)};console[_0x468439(0x209)](_0xa9c218[_0x468439(0x1e5)],..._0x10f46c);}[_0x4e0039(0x20b)](_0xb53190,_0x1e2538,_0x77b6d1){var _0x8b9e35=_0x4e0039,_0x9dda26={'wTFLf':_0x8b9e35(0x201)};console[_0x8b9e35(0x209)](_0x9dda26['wTFLf'],_0xb53190,_0x1e2538,_0x77b6d1);}[_0x4e0039(0x1dc)](..._0x4bf707){var _0x447079=_0x4e0039,_0x16862f={'PDOpD':'onMemberListChange:'};console[_0x447079(0x209)](_0x16862f[_0x447079(0x1dd)],..._0x4bf707);}[_0x4e0039(0x1ee)](..._0x1999bf){var _0xd888f3=_0x4e0039,_0x490548={'nxqkv':'onSearchMemberChange:'};console[_0xd888f3(0x209)](_0x490548[_0xd888f3(0x204)],..._0x1999bf);}[_0x4e0039(0x1df)](..._0x253d31){var _0x440c45=_0x4e0039,_0x1175c7={'wMWXC':'onShutUpMemberListChanged:'};console[_0x440c45(0x209)](_0x1175c7[_0x440c45(0x1cc)],..._0x253d31);}} \ No newline at end of file +var _0x56178f=_0x547c;(function(_0x1b0954,_0x1ae252){var _0x347710=_0x547c,_0x1355e8=_0x1b0954();while(!![]){try{var _0x29c3c8=parseInt(_0x347710(0xc3))/0x1*(parseInt(_0x347710(0xbd))/0x2)+-parseInt(_0x347710(0xcc))/0x3+parseInt(_0x347710(0xd4))/0x4+-parseInt(_0x347710(0xd2))/0x5*(-parseInt(_0x347710(0xcb))/0x6)+-parseInt(_0x347710(0xbc))/0x7*(-parseInt(_0x347710(0xbe))/0x8)+-parseInt(_0x347710(0xc9))/0x9*(parseInt(_0x347710(0xd5))/0xa)+-parseInt(_0x347710(0xe4))/0xb;if(_0x29c3c8===_0x1ae252)break;else _0x1355e8['push'](_0x1355e8['shift']());}catch(_0x156aa6){_0x1355e8['push'](_0x1355e8['shift']());}}}(_0x363c,0x1bc77));export class GroupListener{[_0x56178f(0xb7)](..._0x34487f){}[_0x56178f(0xd7)](..._0x59e34c){}[_0x56178f(0xa5)](..._0xd0265d){}[_0x56178f(0xb1)](..._0x4f1bb7){}[_0x56178f(0xa8)](..._0x527f33){}[_0x56178f(0xc6)](..._0x5afcb1){}[_0x56178f(0xa7)](..._0x279b61){}[_0x56178f(0xc7)](..._0x585988){}['onGroupDetailInfoChange'](..._0x28bdf9){}['onGroupExtListUpdate'](..._0x492779){}['onGroupFirstBulletinNotify'](..._0x1bd405){}[_0x56178f(0xe1)](_0x224892,_0x370b73){}[_0x56178f(0xe3)](_0x349324,_0x354945){}[_0x56178f(0xc5)](..._0x5fa6e6){}[_0x56178f(0xd9)](..._0xb62ca4){}['onGroupSingleScreenNotifies'](_0x2304b4,_0x2c3c4e,_0x11891f){}['onGroupsMsgMaskResult'](..._0x2482ef){}[_0x56178f(0xdb)](..._0x47a249){}[_0x56178f(0xa1)](..._0x1ff3f0){}[_0x56178f(0xba)](..._0x29bcb0){}['onMemberInfoChange'](_0x5e8ed3,_0x1f1802,_0x389cbc){}['onMemberListChange'](_0x205abc){}[_0x56178f(0xd3)](..._0x21955e){}[_0x56178f(0xb0)](..._0x503f84){}}function _0x547c(_0x41a87d,_0x33b6b0){var _0x363c79=_0x363c();return _0x547c=function(_0x547c0e,_0x1196a9){_0x547c0e=_0x547c0e-0xa1;var _0x229602=_0x363c79[_0x547c0e];return _0x229602;},_0x547c(_0x41a87d,_0x33b6b0);}export class DebugGroupListener{[_0x56178f(0xb7)](..._0x3848ce){var _0x54c4f5={'dVqxZ':'onGroupMemberLevelInfoChange:'};console['log'](_0x54c4f5['dVqxZ'],..._0x3848ce);}['onGetGroupBulletinListResult'](..._0xb77fb9){var _0x24b315=_0x56178f;console[_0x24b315(0xc0)](_0x24b315(0xde),..._0xb77fb9);}[_0x56178f(0xa5)](..._0x3ae739){var _0x268c12=_0x56178f,_0x485509={'LhSUn':'onGroupAllInfoChange:'};console['log'](_0x485509[_0x268c12(0xae)],..._0x3ae739);}[_0x56178f(0xb1)](..._0x292c20){var _0x3db8e6=_0x56178f,_0x1d110f={'GSdpr':_0x3db8e6(0xda)};console['log'](_0x1d110f['GSdpr'],..._0x292c20);}[_0x56178f(0xa8)](..._0x348d50){var _0x874de0=_0x56178f,_0xd9595e={'SBJvh':_0x874de0(0xe2)};console[_0x874de0(0xc0)](_0xd9595e[_0x874de0(0xc2)],..._0x348d50);}[_0x56178f(0xc6)](..._0x507a8d){var _0x391a64=_0x56178f,_0x404855={'foIPX':_0x391a64(0xbb)};console[_0x391a64(0xc0)](_0x404855[_0x391a64(0xaa)],..._0x507a8d);}[_0x56178f(0xa7)](..._0xcba275){var _0x319b67=_0x56178f,_0x571b48={'xgdTR':_0x319b67(0xb6)};console[_0x319b67(0xc0)](_0x571b48['xgdTR'],..._0xcba275);}[_0x56178f(0xc7)](..._0x1d643b){var _0x111371=_0x56178f,_0x119c21={'sJvNT':_0x111371(0xc4)};console[_0x111371(0xc0)](_0x119c21[_0x111371(0xca)],..._0x1d643b);}['onGroupDetailInfoChange'](..._0x578e06){var _0x38945a=_0x56178f,_0x39d460={'RkpOs':_0x38945a(0xdd)};console[_0x38945a(0xc0)](_0x39d460['RkpOs'],..._0x578e06);}[_0x56178f(0xd8)](..._0x57bc38){var _0x893ccc=_0x56178f;console[_0x893ccc(0xc0)](_0x893ccc(0xdf),..._0x57bc38);}[_0x56178f(0xb9)](..._0x54a8c9){var _0x3ef4a6=_0x56178f,_0x573e5c={'BGKfp':_0x3ef4a6(0xa6)};console[_0x3ef4a6(0xc0)](_0x573e5c[_0x3ef4a6(0xaf)],..._0x54a8c9);}['onGroupListUpdate'](..._0x4a4fcd){var _0x387c7c=_0x56178f,_0x2e1ee1={'QPNQl':_0x387c7c(0xd0)};console[_0x387c7c(0xc0)](_0x2e1ee1['QPNQl'],..._0x4a4fcd);}[_0x56178f(0xe3)](..._0x20357a){var _0x52141b=_0x56178f,_0x95509a={'wuusx':'onGroupNotifiesUpdated:'};console['log'](_0x95509a[_0x52141b(0xb3)],..._0x20357a);}['onGroupBulletinRichMediaProgressUpdate'](..._0x458b32){var _0x5a9e3c=_0x56178f,_0x210986={'HGWRL':_0x5a9e3c(0xcf)};console[_0x5a9e3c(0xc0)](_0x210986[_0x5a9e3c(0xd6)],..._0x458b32);}[_0x56178f(0xd9)](..._0x14307c){var _0x1841c2=_0x56178f;console[_0x1841c2(0xc0)](_0x1841c2(0xa2),..._0x14307c);}[_0x56178f(0xa4)](_0x1c20b9,_0x545669,_0x26bf96){var _0x5ab826=_0x56178f;console[_0x5ab826(0xc0)](_0x5ab826(0xc8));}['onGroupsMsgMaskResult'](..._0x4c8a03){var _0x35b6a4=_0x56178f,_0x3c5aa7={'fRpQL':_0x35b6a4(0xce)};console[_0x35b6a4(0xc0)](_0x3c5aa7[_0x35b6a4(0xbf)],..._0x4c8a03);}[_0x56178f(0xdb)](..._0x535da4){var _0x560d6d=_0x56178f,_0x153a6a={'Yvmtl':_0x560d6d(0xe0)};console[_0x560d6d(0xc0)](_0x153a6a['Yvmtl'],..._0x535da4);}[_0x56178f(0xa1)](..._0x9f913c){var _0xa8e827=_0x56178f,_0x2510f={'QmKeH':_0xa8e827(0xd1)};console[_0xa8e827(0xc0)](_0x2510f[_0xa8e827(0xab)],..._0x9f913c);}[_0x56178f(0xba)](..._0x3ca47f){var _0x3427f6=_0x56178f,_0x2e4b1d={'ziMdT':_0x3427f6(0xac)};console[_0x3427f6(0xc0)](_0x2e4b1d[_0x3427f6(0xb2)],..._0x3ca47f);}[_0x56178f(0xa3)](_0x410d87,_0x67f232,_0x380143){var _0x222773=_0x56178f,_0x1bc3f6={'ydkYn':_0x222773(0xdc)};console[_0x222773(0xc0)](_0x1bc3f6[_0x222773(0xb5)],_0x410d87,_0x67f232,_0x380143);}[_0x56178f(0xb4)](..._0x58f884){var _0x158a02=_0x56178f,_0x4dae45={'IzaRH':'onMemberListChange:'};console[_0x158a02(0xc0)](_0x4dae45[_0x158a02(0xad)],..._0x58f884);}['onSearchMemberChange'](..._0xd65db){var _0x376330=_0x56178f,_0x5b156d={'mkIhh':_0x376330(0xc1)};console[_0x376330(0xc0)](_0x5b156d[_0x376330(0xb8)],..._0xd65db);}[_0x56178f(0xb0)](..._0x4626b0){var _0x57c10c=_0x56178f,_0x2b2c95={'lALXs':_0x57c10c(0xa9)};console[_0x57c10c(0xc0)](_0x2b2c95[_0x57c10c(0xcd)],..._0x4626b0);}}function _0x363c(){var _0x57c0c0=['637016OLcFbW','135650loulSa','HGWRL','onGetGroupBulletinListResult','onGroupExtListUpdate','onGroupNotifiesUnreadCountUpdated','onGroupBulletinChange:','onGroupStatisticInfoChange','onMemberInfoChange:','onGroupDetailInfoChange:','onGetGroupBulletinListResult:','onGroupExtListUpdate:','onGroupStatisticInfoChange:','onGroupListUpdate','onGroupBulletinRemindNotify:','onGroupNotifiesUpdated','954349vgGPAL','onJoinGroupNotify','onGroupNotifiesUnreadCountUpdated:','onMemberInfoChange','onGroupSingleScreenNotifies','onGroupAllInfoChange','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaDownloadComplete','onGroupBulletinRemindNotify','onShutUpMemberListChanged:','foIPX','QmKeH','onJoinGroupNoVerifyFlag:','IzaRH','LhSUn','BGKfp','onShutUpMemberListChanged','onGroupBulletinChange','ziMdT','wuusx','onMemberListChange','ydkYn','onGroupBulletinRichMediaDownloadComplete:','onGroupMemberLevelInfoChange','mkIhh','onGroupFirstBulletinNotify','onJoinGroupNoVerifyFlag','onGroupArkInviteStateResult:','7FcIMPB','10006xhIOsD','1592104ujvCIF','fRpQL','log','onSearchMemberChange:','SBJvh','7RCzkRR','onGroupConfMemberChange:','onGroupBulletinRichMediaProgressUpdate','onGroupArkInviteStateResult','onGroupConfMemberChange','onGroupSingleScreenNotifies:','117hCLvMQ','sJvNT','6xDKOtR','253689gMyWWj','lALXs','onGroupsMsgMaskResult:','onGroupBulletinRichMediaProgressUpdate:','onGroupListUpdate:','onJoinGroupNotify:','340810qghJYb','onSearchMemberChange'];_0x363c=function(){return _0x57c0c0;};return _0x363c();} \ 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 fae58631..2209e875 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x2cb340=_0x1364;function _0x1364(_0x2595c0,_0x1f2501){var _0x442286=_0x4422();return _0x1364=function(_0x136447,_0x2e67c5){_0x136447=_0x136447-0x76;var _0x236622=_0x442286[_0x136447];return _0x236622;},_0x1364(_0x2595c0,_0x1f2501);}function _0x4422(){var _0x1ad7df=['onQRCodeLoginPollingStarted','844zRSeoI','6963190KqwatY','11rWjuUq','onLoginDisConnected','1261585LZxGXd','onLogoutSucceed','16407YrtyqD','onUserLoggedIn','onQRCodeSessionQuickLoginFailed','onLoginConnected','onQRCodeSessionFailed','9678AsWhhx','2dGxpzo','onQRCodeSessionUserScaned','onLoginState','onQRCodeLoginSucceed','OnConfirmUnusualDeviceFailed','2171565OrELZL','onQQLoginNumLimited','10228932vVYZoU','1532405ucjSjK','32OGVdJB','5215dtfMcx'];_0x4422=function(){return _0x1ad7df;};return _0x4422();}(function(_0x5dbf77,_0x980759){var _0x24f111=_0x1364,_0x54be58=_0x5dbf77();while(!![]){try{var _0x26e740=parseInt(_0x24f111(0x79))/0x1*(parseInt(_0x24f111(0x81))/0x2)+-parseInt(_0x24f111(0x7b))/0x3*(parseInt(_0x24f111(0x8d))/0x4)+parseInt(_0x24f111(0x8b))/0x5*(parseInt(_0x24f111(0x80))/0x6)+-parseInt(_0x24f111(0x89))/0x7*(parseInt(_0x24f111(0x8a))/0x8)+parseInt(_0x24f111(0x86))/0x9+parseInt(_0x24f111(0x76))/0xa+-parseInt(_0x24f111(0x77))/0xb*(parseInt(_0x24f111(0x88))/0xc);if(_0x26e740===_0x980759)break;else _0x54be58['push'](_0x54be58['shift']());}catch(_0x54937b){_0x54be58['push'](_0x54be58['shift']());}}}(_0x4422,0xf405e));export class LoginListener{[_0x2cb340(0x7e)](..._0x36ae13){}[_0x2cb340(0x78)](..._0x4583b9){}['onLoginConnecting'](..._0xeebf3){}['onQRCodeGetPicture'](_0x45dcc4){}[_0x2cb340(0x8c)](..._0x223962){}[_0x2cb340(0x82)](..._0x4079e6){}[_0x2cb340(0x84)](_0x3d7e7f){}[_0x2cb340(0x7f)](..._0x33536a){}['onLoginFailed'](..._0x880bf){}[_0x2cb340(0x7a)](..._0x9b7587){}['onLogoutFailed'](..._0x12f720){}[_0x2cb340(0x7c)](..._0x48cb52){}[_0x2cb340(0x7d)](..._0x13bac5){}['onPasswordLoginFailed'](..._0x326f10){}[_0x2cb340(0x85)](..._0xcd5daf){}[_0x2cb340(0x87)](..._0x160f73){}[_0x2cb340(0x83)](..._0x4607b0){}} \ No newline at end of file +var _0x18d69d=_0x24e9;(function(_0x29c4c4,_0x534f03){var _0x4f7367=_0x24e9,_0x23a3e8=_0x29c4c4();while(!![]){try{var _0x3b8246=-parseInt(_0x4f7367(0x1e0))/0x1*(parseInt(_0x4f7367(0x1e1))/0x2)+parseInt(_0x4f7367(0x1e4))/0x3+parseInt(_0x4f7367(0x1e5))/0x4+parseInt(_0x4f7367(0x1eb))/0x5+-parseInt(_0x4f7367(0x1ec))/0x6+-parseInt(_0x4f7367(0x1d7))/0x7+-parseInt(_0x4f7367(0x1dc))/0x8*(-parseInt(_0x4f7367(0x1d5))/0x9);if(_0x3b8246===_0x534f03)break;else _0x23a3e8['push'](_0x23a3e8['shift']());}catch(_0x1da054){_0x23a3e8['push'](_0x23a3e8['shift']());}}}(_0x521d,0x1e837));function _0x521d(){var _0x572c3a=['849107DXyCgK','onLoginFailed','onLoginDisConnected','onQQLoginNumLimited','onUserLoggedIn','8HRvuyX','onQRCodeLoginSucceed','onQRCodeSessionUserScaned','onPasswordLoginFailed','1kZVXMk','270934tNqFAL','onQRCodeGetPicture','onLogoutSucceed','51873QXbpuL','968032WyItBB','onQRCodeSessionFailed','onLogoutFailed','onLoginConnecting','onQRCodeLoginPollingStarted','onQRCodeSessionQuickLoginFailed','529990mrseDO','132372MRWerd','346644DPDAbQ','onLoginState'];_0x521d=function(){return _0x572c3a;};return _0x521d();}function _0x24e9(_0x3d6ed7,_0x200ed9){var _0x521df5=_0x521d();return _0x24e9=function(_0x24e9d2,_0x4429b7){_0x24e9d2=_0x24e9d2-0x1d5;var _0x5ae2b3=_0x521df5[_0x24e9d2];return _0x5ae2b3;},_0x24e9(_0x3d6ed7,_0x200ed9);}export class LoginListener{['onLoginConnected'](..._0x3f5179){}[_0x18d69d(0x1d9)](..._0x199f1b){}[_0x18d69d(0x1e8)](..._0x35c381){}[_0x18d69d(0x1e2)](_0x7d452f){}[_0x18d69d(0x1e9)](..._0x393afb){}[_0x18d69d(0x1de)](..._0x13435f){}[_0x18d69d(0x1dd)](_0xedb6fa){}[_0x18d69d(0x1e6)](..._0x4cefa2){}[_0x18d69d(0x1d8)](..._0x380bd){}[_0x18d69d(0x1e3)](..._0x578b8b){}[_0x18d69d(0x1e7)](..._0x4d1013){}[_0x18d69d(0x1db)](..._0x1d6af6){}[_0x18d69d(0x1ea)](..._0x2d615e){}[_0x18d69d(0x1df)](..._0x593a95){}['OnConfirmUnusualDeviceFailed'](..._0x44a678){}[_0x18d69d(0x1da)](..._0x4f44f0){}[_0x18d69d(0x1d6)](..._0x131586){}} \ 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 b4a15a80..1e7d78a9 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x5c37e4=_0x144a;function _0x144a(_0x8cdf42,_0x2dc986){var _0x4ffb66=_0x4ffb();return _0x144a=function(_0x144a29,_0x14174a){_0x144a29=_0x144a29-0x138;var _0x22249b=_0x4ffb66[_0x144a29];return _0x22249b;},_0x144a(_0x8cdf42,_0x2dc986);}(function(_0x2e78d7,_0x2c7454){var _0x360032=_0x144a,_0x57249e=_0x2e78d7();while(!![]){try{var _0x13d559=parseInt(_0x360032(0x145))/0x1+-parseInt(_0x360032(0x159))/0x2*(-parseInt(_0x360032(0x15b))/0x3)+parseInt(_0x360032(0x161))/0x4+-parseInt(_0x360032(0x140))/0x5+parseInt(_0x360032(0x16a))/0x6*(-parseInt(_0x360032(0x164))/0x7)+parseInt(_0x360032(0x153))/0x8+-parseInt(_0x360032(0x15a))/0x9;if(_0x13d559===_0x2c7454)break;else _0x57249e['push'](_0x57249e['shift']());}catch(_0x124486){_0x57249e['push'](_0x57249e['shift']());}}}(_0x4ffb,0xb08c3));export class MsgListener{[_0x5c37e4(0x139)](_0x4ff5f0){}[_0x5c37e4(0x141)](_0x497000){}[_0x5c37e4(0x156)](_0x373cbd){}[_0x5c37e4(0x14f)](_0x27a0ad,_0x3574c2,_0x41a21f){}[_0x5c37e4(0x138)](_0x4c51ea){}[_0x5c37e4(0x14a)](_0x560131){}[_0x5c37e4(0x13c)](_0x267df1,_0x218bc5,_0x37e31f){}[_0x5c37e4(0x165)](_0x5739c1){}['onEmojiResourceUpdate'](_0x488663){}[_0x5c37e4(0x152)](_0x497296){}[_0x5c37e4(0x14d)](_0x38128d){}[_0x5c37e4(0x171)](_0x11852f){}['onFirstViewGroupGuildMapping'](_0x1b84af){}[_0x5c37e4(0x13e)](_0x4f2fdc,_0x3ba8d1,_0x2355df,_0x16650a,_0x2b1322){}['onGroupFileInfoAdd'](_0x241d5e){}['onGroupFileInfoUpdate'](_0x25039d){}[_0x5c37e4(0x15e)](_0xa6f342){}[_0x5c37e4(0x150)](_0x5d22d2){}['onGroupTransferInfoUpdate'](_0x2838fd){}['onGuildInteractiveUpdate'](_0x317ec0){}[_0x5c37e4(0x149)](_0x495921){}[_0x5c37e4(0x16e)](_0x2c75ad){}['onHitCsRelatedEmojiResult'](_0x2e2c03){}['onHitEmojiKeywordResult'](_0x2ba429){}[_0x5c37e4(0x14c)](_0x5cf60b){}[_0x5c37e4(0x158)](_0x44cbc0){}['onInputStatusPush'](_0x13d4bc){}[_0x5c37e4(0x168)](_0x42c40a){}[_0x5c37e4(0x16d)](_0x807a8c){}[_0x5c37e4(0x16c)](_0x31b01d){}[_0x5c37e4(0x162)](_0xd5e699){}['onMsgBoxChanged'](_0x1c9abe){}['onMsgDelete'](_0x57124b,_0x19c99e){}[_0x5c37e4(0x16b)](_0xcd0e60){}[_0x5c37e4(0x157)](_0x552193){}[_0x5c37e4(0x13a)](_0x52de90){}[_0x5c37e4(0x163)](_0x958cb0){}['onMsgRecall'](_0x59b1ea,_0x423b92,_0x3bad42){}[_0x5c37e4(0x15c)](_0x2b501d){}['onMsgSettingUpdate'](_0x16f8a7){}[_0x5c37e4(0x14b)](){}[_0x5c37e4(0x142)](){}[_0x5c37e4(0x166)](){}[_0x5c37e4(0x160)](_0x5cb0e0){}[_0x5c37e4(0x169)](_0x49b85d){}[_0x5c37e4(0x151)](_0x7687c2){}[_0x5c37e4(0x167)](_0x53a994,_0x5b52f2,_0x2c92eb,_0x137fd9,_0x1c6d35,_0x4c2ed9){}[_0x5c37e4(0x13b)](_0xf3615c){}[_0x5c37e4(0x148)](_0xea6e56){}[_0x5c37e4(0x155)](_0x4336c2){}[_0x5c37e4(0x154)](_0x1ec8d3){}[_0x5c37e4(0x14e)](_0x1d3719){}[_0x5c37e4(0x144)](_0x5a888a){}['onRichMediaUploadComplete'](_0x2dc0ac){}[_0x5c37e4(0x15d)](_0x490c01){}['onSendMsgError'](_0x267861,_0x28a1d7,_0x9cc24a,_0x23c2b3){}[_0x5c37e4(0x15f)](_0x2fa982,_0x3b9f88,_0x2112d3,_0x5617eb){}[_0x5c37e4(0x147)](_0x50081f){}['onUnreadCntAfterFirstView'](_0x199bfa){}[_0x5c37e4(0x170)](_0x5971a7){}[_0x5c37e4(0x16f)](_0x123ebb){}[_0x5c37e4(0x146)](_0xa19622){}[_0x5c37e4(0x13f)](_0x1c69d7){}['onlineStatusBigIconDownloadPush'](_0x2c30c3,_0x45641a,_0x5611cf){}['onlineStatusSmallIconDownloadPush'](_0x22639b,_0x115505,_0x450d8c){}['onUserSecQualityChanged'](..._0x43e486){}[_0x5c37e4(0x143)](..._0x65493e){}[_0x5c37e4(0x13d)](..._0x140789){}['onBroadcastHelperProgerssUpdate'](..._0x36dfd8){}}function _0x4ffb(){var _0xe33ebd=['2MkNuFz','15106752CirUSZ','2313975cgQSqV','onMsgSecurityNotify','onSearchGroupFileInfoUpdate','onGroupGuildUpdate','onSysMsgNotification','onReadFeedEventUpdate','5318980HjWaez','onMsgAbstractUpdate','onMsgQRCodeStatusChanged','98lpyeGs','onEmojiDownloadComplete','onNtMsgSyncStart','onRecvMsgSvrRspTransInfo','onKickedOffLine','onRecvGroupGuildFlag','574386ulKwTz','onMsgEventListUpdate','onLogLevelChanged','onLineDev','onGuildNotificationAbstractUpdate','onUserChannelTabStatusChanged','onUnreadCntUpdate','onFirstViewDirectMsgUpdate','onContactUnreadCntUpdate','onAddSendMsg','onMsgInfoListUpdate','onRecvOnlineFileMsg','onDraftUpdate','onRedTouchChanged','onGrabPasswordRedBag','onUserTabStatusChanged','2515270MOJwuq','onBroadcastHelperDownloadComplete','onNtMsgSyncEnd','onMsgWithRichLinkInfoUpdate','onRichMediaProgerssUpdate','901039ILpfhI','onUserOnlineStatusChanged','onTempChatInfoUpdate','onRecvS2CMsg','onGuildMsgAbFlagChanged','onCustomWithdrawConfigUpdate','onNtFirstViewMsgSyncEnd','onHitRelatedEmojiResult','onFileMsgCome','onRichMediaDownloadComplete','onChannelFreqLimitInfoUpdate','onGroupTransferInfoAdd','onRecvMsg','onFeedEventUpdate','9942768xdaiQT','onRecvUDCFlag','onRecvSysMsg','onBroadcastHelperProgressUpdate','onMsgInfoListAdd','onImportOldDbProgressUpdate'];_0x4ffb=function(){return _0xe33ebd;};return _0x4ffb();} \ No newline at end of file +function _0x336e(){var _0x225db5=['onFileMsgCome','onMsgRecall','onGrabPasswordRedBag','onMsgBoxChanged','onGuildMsgAbFlagChanged','onNtFirstViewMsgSyncEnd','726644EVUDXn','onBroadcastHelperProgressUpdate','onBroadcastHelperDownloadComplete','onSendMsgError','onUserChannelTabStatusChanged','onGroupFileInfoAdd','onUserTabStatusChanged','10044FVryYb','1kQwRno','onGuildNotificationAbstractUpdate','onRecvOnlineFileMsg','onRecvGroupGuildFlag','onlineStatusBigIconDownloadPush','onAddSendMsg','onFirstViewDirectMsgUpdate','30iIUfwo','onRichMediaUploadComplete','2317610ZSUqhq','onRecvSysMsg','347175flMcpQ','onUserSecQualityChanged','onRichMediaProgerssUpdate','onMsgSettingUpdate','onContactUnreadCntUpdate','onMsgWithRichLinkInfoUpdate','onMsgEventListUpdate','onBroadcastHelperProgerssUpdate','onMsgDelete','onImportOldDbProgressUpdate','onReadFeedEventUpdate','onInputStatusPush','onMsgSecurityNotify','9nqSmdw','71729lvxVAt','onDraftUpdate','onGroupFileInfoUpdate','onHitCsRelatedEmojiResult','onGroupGuildUpdate','onMsgAbstractUpdate','onNtMsgSyncEnd','onFirstViewGroupGuildMapping','onSysMsgNotification','onSearchGroupFileInfoUpdate','onRecvMsgSvrRspTransInfo','onGroupTransferInfoAdd','onLineDev','onRedTouchChanged','2593208xiyLFh','642255ngbwaN','onTempChatInfoUpdate','onRichMediaDownloadComplete','onMsgInfoListAdd','onMsgQRCodeStatusChanged','onFeedEventUpdate','onChannelFreqLimitInfoUpdate'];_0x336e=function(){return _0x225db5;};return _0x336e();}var _0x6ccfaa=_0x19c5;function _0x19c5(_0x2a1ec9,_0x2a5998){var _0x336eef=_0x336e();return _0x19c5=function(_0x19c5fb,_0x12d93c){_0x19c5fb=_0x19c5fb-0x108;var _0x401523=_0x336eef[_0x19c5fb];return _0x401523;},_0x19c5(_0x2a1ec9,_0x2a5998);}(function(_0xcd7688,_0x1d955a){var _0x1fa165=_0x19c5,_0x120595=_0xcd7688();while(!![]){try{var _0x7ef8ef=-parseInt(_0x1fa165(0x13c))/0x1*(parseInt(_0x1fa165(0x13b))/0x2)+parseInt(_0x1fa165(0x127))/0x3+parseInt(_0x1fa165(0x134))/0x4+-parseInt(_0x1fa165(0x10a))/0x5+-parseInt(_0x1fa165(0x143))/0x6*(parseInt(_0x1fa165(0x118))/0x7)+parseInt(_0x1fa165(0x126))/0x8*(-parseInt(_0x1fa165(0x117))/0x9)+parseInt(_0x1fa165(0x108))/0xa;if(_0x7ef8ef===_0x1d955a)break;else _0x120595['push'](_0x120595['shift']());}catch(_0x5e0d63){_0x120595['push'](_0x120595['shift']());}}}(_0x336e,0x2b600));export class MsgListener{[_0x6ccfaa(0x141)](_0x4eee87){}[_0x6ccfaa(0x136)](_0x288df6){}[_0x6ccfaa(0x135)](_0xca7758){}[_0x6ccfaa(0x12d)](_0x36c7ed,_0x1a8689,_0x3ce52c){}[_0x6ccfaa(0x10e)](_0x5f48d0){}['onCustomWithdrawConfigUpdate'](_0xc44ef8){}[_0x6ccfaa(0x119)](_0x38264e,_0x170c2a,_0x3486fd){}['onEmojiDownloadComplete'](_0x1b58ba){}['onEmojiResourceUpdate'](_0x4c4d90){}[_0x6ccfaa(0x12c)](_0x300748){}[_0x6ccfaa(0x12e)](_0x339598){}[_0x6ccfaa(0x142)](_0x30f482){}[_0x6ccfaa(0x11f)](_0x1f00d6){}[_0x6ccfaa(0x130)](_0x224702,_0x4545f3,_0x386b38,_0x5be4a9,_0x12d058){}[_0x6ccfaa(0x139)](_0xf64ec9){}[_0x6ccfaa(0x11a)](_0x29b8c1){}[_0x6ccfaa(0x11c)](_0x2448f8){}[_0x6ccfaa(0x123)](_0x2d141a){}['onGroupTransferInfoUpdate'](_0x2f1271){}['onGuildInteractiveUpdate'](_0x59c8bd){}[_0x6ccfaa(0x132)](_0x41352d){}[_0x6ccfaa(0x13d)](_0x2232bb){}[_0x6ccfaa(0x11b)](_0x406e7a){}['onHitEmojiKeywordResult'](_0x4bed2d){}['onHitRelatedEmojiResult'](_0x228147){}[_0x6ccfaa(0x113)](_0x236438){}[_0x6ccfaa(0x115)](_0xe10e43){}['onKickedOffLine'](_0x40937b){}[_0x6ccfaa(0x124)](_0x3ea8a1){}['onLogLevelChanged'](_0xd59f10){}[_0x6ccfaa(0x11d)](_0x58b804){}[_0x6ccfaa(0x131)](_0x384258){}[_0x6ccfaa(0x112)](_0xfebe83,_0x2f582c){}[_0x6ccfaa(0x110)](_0x58f8d3){}[_0x6ccfaa(0x12a)](_0x377354){}['onMsgInfoListUpdate'](_0x55883e){}[_0x6ccfaa(0x12b)](_0x3b7c34){}[_0x6ccfaa(0x12f)](_0x1053cd,_0x943f7b,_0x4fa188){}[_0x6ccfaa(0x116)](_0x466632){}[_0x6ccfaa(0x10d)](_0x4edeb0){}[_0x6ccfaa(0x133)](){}[_0x6ccfaa(0x11e)](){}['onNtMsgSyncStart'](){}[_0x6ccfaa(0x114)](_0x467476){}[_0x6ccfaa(0x13f)](_0x2ac035){}['onRecvMsg'](_0x5c2496){}[_0x6ccfaa(0x122)](_0x39395a,_0x3232e5,_0x39dc44,_0x47fab7,_0x2ca356,_0x52e8f0){}[_0x6ccfaa(0x13e)](_0x26fef0){}['onRecvS2CMsg'](_0x256d3e){}[_0x6ccfaa(0x109)](_0x10742f){}['onRecvUDCFlag'](_0x428055){}[_0x6ccfaa(0x129)](_0x3f5d3f){}[_0x6ccfaa(0x10c)](_0x468b18){}[_0x6ccfaa(0x144)](_0x2e06ce){}[_0x6ccfaa(0x121)](_0x3b0704){}[_0x6ccfaa(0x137)](_0x33f57d,_0x4361b5,_0x5c87be,_0xa21bbc){}[_0x6ccfaa(0x120)](_0x1cbf75,_0xc23feb,_0x55810c,_0x204d22){}[_0x6ccfaa(0x128)](_0x3493b0){}['onUnreadCntAfterFirstView'](_0x310da5){}['onUnreadCntUpdate'](_0x241e9b){}[_0x6ccfaa(0x138)](_0x3f07b4){}['onUserOnlineStatusChanged'](_0x96b787){}[_0x6ccfaa(0x13a)](_0x1f7cc5){}[_0x6ccfaa(0x140)](_0x4ba42b,_0x343206,_0x2a2ae7){}['onlineStatusSmallIconDownloadPush'](_0x3e1259,_0x4a3416,_0xe9362f){}[_0x6ccfaa(0x10b)](..._0x114eaa){}[_0x6ccfaa(0x10f)](..._0x1f5fab){}[_0x6ccfaa(0x125)](..._0x3ce8ce){}[_0x6ccfaa(0x111)](..._0x294511){}} \ 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 d01fa1af..65df89c4 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x1c02(_0x57b8e7,_0x5ae29c){var _0x258e06=_0x258e();return _0x1c02=function(_0x1c02bf,_0x10a660){_0x1c02bf=_0x1c02bf-0x1b5;var _0x12be10=_0x258e06[_0x1c02bf];return _0x12be10;},_0x1c02(_0x57b8e7,_0x5ae29c);}function _0x258e(){var _0x32eaf3=['12elQKjl','10616duontY','onSelfStatusChanged','10899270jPASsY','onStatusUpdate','91JLsdwL','onProfileSimpleChanged','2067050MgHzrh','3942675XsAcsy','1256884tXgcsy','onStrangerRemarkChanged','244eyoUdV','431672lqEFSp','59592380tsKHDD'];_0x258e=function(){return _0x32eaf3;};return _0x258e();}var _0x83d77c=_0x1c02;(function(_0x3e6634,_0x5f10bf){var _0x46b74d=_0x1c02,_0xb99dae=_0x3e6634();while(!![]){try{var _0x2cf13d=parseInt(_0x46b74d(0x1b9))/0x1*(-parseInt(_0x46b74d(0x1b5))/0x2)+-parseInt(_0x46b74d(0x1c0))/0x3+parseInt(_0x46b74d(0x1c1))/0x4+-parseInt(_0x46b74d(0x1bf))/0x5*(parseInt(_0x46b74d(0x1b8))/0x6)+-parseInt(_0x46b74d(0x1bd))/0x7*(parseInt(_0x46b74d(0x1b6))/0x8)+-parseInt(_0x46b74d(0x1bb))/0x9+parseInt(_0x46b74d(0x1b7))/0xa;if(_0x2cf13d===_0x5f10bf)break;else _0xb99dae['push'](_0xb99dae['shift']());}catch(_0x469dfd){_0xb99dae['push'](_0xb99dae['shift']());}}}(_0x258e,0xe1c5d));export class ProfileListener{[_0x83d77c(0x1be)](..._0x1a79f0){}['onProfileDetailInfoChanged'](_0x42a699){}[_0x83d77c(0x1bc)](..._0x5ed178){}[_0x83d77c(0x1ba)](..._0x282e09){}[_0x83d77c(0x1c2)](..._0x52927d){}} \ No newline at end of file +function _0x4ac5(){var _0x4d7da8=['35bwGxyj','5IttOln','onProfileDetailInfoChanged','100984CeyCsn','2616960dVQjeN','1479iuyVhq','1455228xOZVGN','onProfileSimpleChanged','889530vwbrIs','1260Olrbly','126600mOkgja','466244rlVigx'];_0x4ac5=function(){return _0x4d7da8;};return _0x4ac5();}var _0x3c09b5=_0x5d6f;function _0x5d6f(_0x264426,_0x3f835c){var _0x4ac57e=_0x4ac5();return _0x5d6f=function(_0x5d6f6f,_0x4c053a){_0x5d6f6f=_0x5d6f6f-0x1e3;var _0x1f4656=_0x4ac57e[_0x5d6f6f];return _0x1f4656;},_0x5d6f(_0x264426,_0x3f835c);}(function(_0x2f35f3,_0x4376f5){var _0x4c712e=_0x5d6f,_0xc187b7=_0x2f35f3();while(!![]){try{var _0x5ce549=-parseInt(_0x4c712e(0x1e6))/0x1+parseInt(_0x4c712e(0x1e7))/0x2+-parseInt(_0x4c712e(0x1ed))/0x3*(parseInt(_0x4c712e(0x1e5))/0x4)+-parseInt(_0x4c712e(0x1e9))/0x5*(-parseInt(_0x4c712e(0x1e4))/0x6)+-parseInt(_0x4c712e(0x1e8))/0x7*(parseInt(_0x4c712e(0x1eb))/0x8)+-parseInt(_0x4c712e(0x1ee))/0x9+parseInt(_0x4c712e(0x1ec))/0xa;if(_0x5ce549===_0x4376f5)break;else _0xc187b7['push'](_0xc187b7['shift']());}catch(_0x3dca43){_0xc187b7['push'](_0xc187b7['shift']());}}}(_0x4ac5,0x214b3));export class ProfileListener{[_0x3c09b5(0x1e3)](..._0x5cfe1f){}[_0x3c09b5(0x1ea)](_0x6da478){}['onStatusUpdate'](..._0x108c8a){}['onSelfStatusChanged'](..._0x122620){}['onStrangerRemarkChanged'](..._0x33db6f){}} \ 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 2dbbc8bb..9903df67 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x384e(_0x5545a0,_0x12299c){var _0x53299d=_0x5329();return _0x384e=function(_0x384eaf,_0x5a47da){_0x384eaf=_0x384eaf-0x89;var _0x389e9c=_0x53299d[_0x384eaf];return _0x389e9c;},_0x384e(_0x5545a0,_0x12299c);}var _0x24db5f=_0x384e;(function(_0x3e1adf,_0x5c8340){var _0x48e9f0=_0x384e,_0x2a6d38=_0x3e1adf();while(!![]){try{var _0x5117fd=parseInt(_0x48e9f0(0x91))/0x1*(parseInt(_0x48e9f0(0x89))/0x2)+-parseInt(_0x48e9f0(0x92))/0x3*(-parseInt(_0x48e9f0(0x8e))/0x4)+parseInt(_0x48e9f0(0x90))/0x5*(parseInt(_0x48e9f0(0x8f))/0x6)+-parseInt(_0x48e9f0(0x8d))/0x7+-parseInt(_0x48e9f0(0x94))/0x8*(-parseInt(_0x48e9f0(0x8a))/0x9)+-parseInt(_0x48e9f0(0x8c))/0xa*(parseInt(_0x48e9f0(0x96))/0xb)+-parseInt(_0x48e9f0(0x8b))/0xc;if(_0x5117fd===_0x5c8340)break;else _0x2a6d38['push'](_0x2a6d38['shift']());}catch(_0x58f1ae){_0x2a6d38['push'](_0x2a6d38['shift']());}}}(_0x5329,0x5fd2a));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x3836cc){}[_0x24db5f(0x93)](..._0x4e1e1b){}[_0x24db5f(0x95)](..._0x1e4487){}}function _0x5329(){var _0x5e66dc=['onRobotProfileChanged','181533bjslyN','39486VoYOna','5550921vcmPqx','7787580kRABYu','10FbsHBO','3906392xuMHAG','24nokoGc','3830718CeTwsc','5LIIWrW','12GHtSmX','61938yHvgHX','onRobotListChanged','8veFtTt'];_0x5329=function(){return _0x5e66dc;};return _0x5329();} \ No newline at end of file +function _0x11df(){var _0x5da5a0=['onRobotListChanged','1220838HJHtqd','2989215HCUift','onRobotFriendListChanged','8IVwvee','7355eIztbA','322687tQhcPt','1474809scUTyL','324jjqnoX','36028bqqZhp','737630AYDcon','36uycOSV'];_0x11df=function(){return _0x5da5a0;};return _0x11df();}var _0x1e0384=_0x33ba;function _0x33ba(_0x1148f1,_0x4d9a3d){var _0x11dfae=_0x11df();return _0x33ba=function(_0x33ba0d,_0x9bfa44){_0x33ba0d=_0x33ba0d-0x167;var _0x34e33d=_0x11dfae[_0x33ba0d];return _0x34e33d;},_0x33ba(_0x1148f1,_0x4d9a3d);}(function(_0x4b1a01,_0x1cbc86){var _0x59b1e7=_0x33ba,_0x293d1a=_0x4b1a01();while(!![]){try{var _0x1ba150=-parseInt(_0x59b1e7(0x16f))/0x1+-parseInt(_0x59b1e7(0x172))/0x2*(-parseInt(_0x59b1e7(0x168))/0x3)+parseInt(_0x59b1e7(0x171))/0x4*(-parseInt(_0x59b1e7(0x16e))/0x5)+parseInt(_0x59b1e7(0x16a))/0x6+-parseInt(_0x59b1e7(0x170))/0x7+-parseInt(_0x59b1e7(0x16d))/0x8*(-parseInt(_0x59b1e7(0x16b))/0x9)+parseInt(_0x59b1e7(0x167))/0xa;if(_0x1ba150===_0x1cbc86)break;else _0x293d1a['push'](_0x293d1a['shift']());}catch(_0x551455){_0x293d1a['push'](_0x293d1a['shift']());}}}(_0x11df,0x2a3d6));export class KernelRobotListener{[_0x1e0384(0x16c)](..._0x14105b){}[_0x1e0384(0x169)](..._0x1c3cef){}['onRobotProfileChanged'](..._0xaf9da2){}} \ 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 04c4564d..79b669b9 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x4281(_0x5734cc,_0xe630a9){var _0x1dab68=_0x1dab();return _0x4281=function(_0x4281c7,_0xd3883c){_0x4281c7=_0x4281c7-0xaf;var _0x5835bb=_0x1dab68[_0x4281c7];return _0x5835bb;},_0x4281(_0x5734cc,_0xe630a9);}function _0x1dab(){var _0x486ab4=['1684VakNhd','973uMEqlA','onNTSessionCreate','773137knWaKA','6mVOtAL','3220730nOyaVJ','onSessionInitComplete','2344HpiSOQ','onOpentelemetryInit','1092BDSZir','14431030uuGlfV','3962516tWxWmJ','onUserOnlineResult','118944YCjwop','onGProSessionCreate'];_0x1dab=function(){return _0x486ab4;};return _0x1dab();}var _0x28460f=_0x4281;(function(_0x4cb942,_0x527c2c){var _0x1b61fc=_0x4281,_0x2b4196=_0x4cb942();while(!![]){try{var _0xf12d47=-parseInt(_0x1b61fc(0xb7))/0x1+parseInt(_0x1b61fc(0xb4))/0x2*(parseInt(_0x1b61fc(0xbd))/0x3)+-parseInt(_0x1b61fc(0xb0))/0x4+-parseInt(_0x1b61fc(0xb9))/0x5*(-parseInt(_0x1b61fc(0xb8))/0x6)+-parseInt(_0x1b61fc(0xb5))/0x7*(-parseInt(_0x1b61fc(0xbb))/0x8)+parseInt(_0x1b61fc(0xb2))/0x9+parseInt(_0x1b61fc(0xaf))/0xa;if(_0xf12d47===_0x527c2c)break;else _0x2b4196['push'](_0x2b4196['shift']());}catch(_0x5919de){_0x2b4196['push'](_0x2b4196['shift']());}}}(_0x1dab,0xa6f8a));export class SessionListener{[_0x28460f(0xb6)](_0x382712){}[_0x28460f(0xb3)](_0x4871ac){}[_0x28460f(0xba)](_0x39a5a8){}[_0x28460f(0xbc)](_0x42a4a8){}[_0x28460f(0xb1)](_0x4f0295){}['onGetSelfTinyId'](_0x53abcb){}} \ No newline at end of file +var _0x55ce96=_0x18e4;(function(_0x26bba5,_0x115ed6){var _0x11e4a2=_0x18e4,_0xa130fe=_0x26bba5();while(!![]){try{var _0x333ba0=-parseInt(_0x11e4a2(0x134))/0x1+parseInt(_0x11e4a2(0x13a))/0x2+-parseInt(_0x11e4a2(0x12f))/0x3*(parseInt(_0x11e4a2(0x138))/0x4)+parseInt(_0x11e4a2(0x12e))/0x5+-parseInt(_0x11e4a2(0x135))/0x6+parseInt(_0x11e4a2(0x130))/0x7*(parseInt(_0x11e4a2(0x131))/0x8)+-parseInt(_0x11e4a2(0x133))/0x9*(-parseInt(_0x11e4a2(0x137))/0xa);if(_0x333ba0===_0x115ed6)break;else _0xa130fe['push'](_0xa130fe['shift']());}catch(_0xaa86b3){_0xa130fe['push'](_0xa130fe['shift']());}}}(_0x13b5,0xbeb5a));export class SessionListener{[_0x55ce96(0x12d)](_0x2be530){}[_0x55ce96(0x132)](_0x23a063){}[_0x55ce96(0x136)](_0x546783){}['onOpentelemetryInit'](_0x303549){}[_0x55ce96(0x139)](_0x11ac6f){}['onGetSelfTinyId'](_0x166886){}}function _0x18e4(_0x5ce792,_0x5ec3f2){var _0x13b5e8=_0x13b5();return _0x18e4=function(_0x18e4d0,_0x1c3643){_0x18e4d0=_0x18e4d0-0x12d;var _0xfb3696=_0x13b5e8[_0x18e4d0];return _0xfb3696;},_0x18e4(_0x5ce792,_0x5ec3f2);}function _0x13b5(){var _0x7eb07e=['onGProSessionCreate','4171815MqoqKB','521829uQwZBm','4588692KwEbCT','onSessionInitComplete','30XWbslF','292VUMVmn','onUserOnlineResult','273520dWCWIN','onNTSessionCreate','7450505ehsKmr','51099qEzQET','210TOlImG','78320qPdEkQ'];_0x13b5=function(){return _0x7eb07e;};return _0x13b5();} \ 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 b99ffd79..cd4d357e 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x49e4(_0x3398dd,_0x112ff9){var _0x68f491=_0x68f4();return _0x49e4=function(_0x49e4eb,_0xfcda6d){_0x49e4eb=_0x49e4eb-0x1cd;var _0x5cc45c=_0x68f491[_0x49e4eb];return _0x5cc45c;},_0x49e4(_0x3398dd,_0x112ff9);}var _0x4e5250=_0x49e4;function _0x68f4(){var _0x38ba99=['5840135bggMoW','onScanCacheProgressChanged','816380FEyjXa','onFinishScan','99GqUdPQ','12uiOaAq','5225885dwdPXn','10080585fqhdAB','onCleanCacheProgressChanged','6yerBkw','16XzQqpZ','102521SqwtmK','7023nxolVY','1492rhRllI','27664728rStmLS','16phqCEO'];_0x68f4=function(){return _0x38ba99;};return _0x68f4();}(function(_0x2cea68,_0x5cd821){var _0x5d6cca=_0x49e4,_0x4c77f6=_0x2cea68();while(!![]){try{var _0x53fa87=parseInt(_0x5d6cca(0x1dc))/0x1*(parseInt(_0x5d6cca(0x1d0))/0x2)+parseInt(_0x5d6cca(0x1cd))/0x3*(parseInt(_0x5d6cca(0x1ce))/0x4)+parseInt(_0x5d6cca(0x1d1))/0x5*(-parseInt(_0x5d6cca(0x1da))/0x6)+-parseInt(_0x5d6cca(0x1d7))/0x7*(parseInt(_0x5d6cca(0x1db))/0x8)+-parseInt(_0x5d6cca(0x1d8))/0x9+-parseInt(_0x5d6cca(0x1d3))/0xa*(-parseInt(_0x5d6cca(0x1d5))/0xb)+-parseInt(_0x5d6cca(0x1d6))/0xc*(-parseInt(_0x5d6cca(0x1cf))/0xd);if(_0x53fa87===_0x5cd821)break;else _0x4c77f6['push'](_0x4c77f6['shift']());}catch(_0x2951a9){_0x4c77f6['push'](_0x4c77f6['shift']());}}}(_0x68f4,0xbd32d));export class StorageCleanListener{[_0x4e5250(0x1d9)](_0x1865a9){}[_0x4e5250(0x1d2)](_0x5ad8c1){}['onCleanCacheStorageChanged'](_0xe0bd52){}[_0x4e5250(0x1d4)](_0x46f44a){}['onChatCleanDone'](_0x4802b5){}} \ No newline at end of file +var _0x2a5c00=_0x37aa;function _0x37aa(_0x3e647a,_0x1dcb54){var _0x599df8=_0x599d();return _0x37aa=function(_0x37aa33,_0x501e37){_0x37aa33=_0x37aa33-0x6f;var _0x25b485=_0x599df8[_0x37aa33];return _0x25b485;},_0x37aa(_0x3e647a,_0x1dcb54);}function _0x599d(){var _0x34112b=['6qarWqJ','65940GVzqZM','onScanCacheProgressChanged','278782MtHlIh','onFinishScan','963576vKHPsA','238948ClZoVy','302815mNmHku','1FLmVbR','85772RrHDDQ','1740136OshieW','onChatCleanDone','9IRuBbh','onCleanCacheStorageChanged'];_0x599d=function(){return _0x34112b;};return _0x599d();}(function(_0x4b315f,_0x82cd6){var _0x45e574=_0x37aa,_0x449ebe=_0x4b315f();while(!![]){try{var _0x363e75=parseInt(_0x45e574(0x77))/0x1*(parseInt(_0x45e574(0x75))/0x2)+-parseInt(_0x45e574(0x6f))/0x3*(parseInt(_0x45e574(0x78))/0x4)+-parseInt(_0x45e574(0x76))/0x5+-parseInt(_0x45e574(0x74))/0x6+parseInt(_0x45e574(0x72))/0x7+parseInt(_0x45e574(0x79))/0x8*(parseInt(_0x45e574(0x7b))/0x9)+parseInt(_0x45e574(0x70))/0xa;if(_0x363e75===_0x82cd6)break;else _0x449ebe['push'](_0x449ebe['shift']());}catch(_0xea5d50){_0x449ebe['push'](_0x449ebe['shift']());}}}(_0x599d,0x1d246));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x2fa08c){}[_0x2a5c00(0x71)](_0x53e24d){}[_0x2a5c00(0x7c)](_0x713b0a){}[_0x2a5c00(0x73)](_0x192e92){}[_0x2a5c00(0x7a)](_0x4179e4){}} \ 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 5cfabab4..005ad43b 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x5d6a5c,_0x4aa357){var _0x2c769e=_0x553c,_0x5d1a73=_0x5d6a5c();while(!![]){try{var _0x53640d=parseInt(_0x2c769e(0x1e2))/0x1+-parseInt(_0x2c769e(0x1df))/0x2*(-parseInt(_0x2c769e(0x1e6))/0x3)+parseInt(_0x2c769e(0x1e1))/0x4*(-parseInt(_0x2c769e(0x1e7))/0x5)+-parseInt(_0x2c769e(0x1e9))/0x6*(parseInt(_0x2c769e(0x1e5))/0x7)+-parseInt(_0x2c769e(0x1e0))/0x8*(parseInt(_0x2c769e(0x1ea))/0x9)+-parseInt(_0x2c769e(0x1e3))/0xa+parseInt(_0x2c769e(0x1e4))/0xb*(parseInt(_0x2c769e(0x1e8))/0xc);if(_0x53640d===_0x4aa357)break;else _0x5d1a73['push'](_0x5d1a73['shift']());}catch(_0x1f6500){_0x5d1a73['push'](_0x5d1a73['shift']());}}}(_0x43f4,0xe9005));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x43f4(){var _0x5acd1a=['4263258fTVphn','833103rpcZkp','14746xdNwcG','16HXheKq','4MqVUay','492389hfbaEz','10503400CtkwkQ','11CDBfxg','14JYPlDH','606DTFkpy','6765475rzBqac','35787516VdCodY'];_0x43f4=function(){return _0x5acd1a;};return _0x43f4();}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x553c(_0x1aa9b6,_0x45315e){var _0x43f429=_0x43f4();return _0x553c=function(_0x553cfd,_0x138b1f){_0x553cfd=_0x553cfd-0x1df;var _0x11e00a=_0x43f429[_0x553cfd];return _0x11e00a;},_0x553c(_0x1aa9b6,_0x45315e);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +function _0x17a4(_0x116203,_0x38ae56){var _0x39f811=_0x39f8();return _0x17a4=function(_0x17a4eb,_0xa9e3ec){_0x17a4eb=_0x17a4eb-0xc0;var _0x38b8cf=_0x39f811[_0x17a4eb];return _0x38b8cf;},_0x17a4(_0x116203,_0x38ae56);}(function(_0x41c979,_0x3855e3){var _0x4c6f5b=_0x17a4,_0x19a74a=_0x41c979();while(!![]){try{var _0x520d87=-parseInt(_0x4c6f5b(0xc4))/0x1*(parseInt(_0x4c6f5b(0xc7))/0x2)+parseInt(_0x4c6f5b(0xca))/0x3*(parseInt(_0x4c6f5b(0xc1))/0x4)+-parseInt(_0x4c6f5b(0xc8))/0x5+parseInt(_0x4c6f5b(0xc9))/0x6+parseInt(_0x4c6f5b(0xc0))/0x7*(-parseInt(_0x4c6f5b(0xc2))/0x8)+-parseInt(_0x4c6f5b(0xc3))/0x9*(-parseInt(_0x4c6f5b(0xc6))/0xa)+parseInt(_0x4c6f5b(0xc5))/0xb;if(_0x520d87===_0x3855e3)break;else _0x19a74a['push'](_0x19a74a['shift']());}catch(_0x4ea970){_0x19a74a['push'](_0x19a74a['shift']());}}}(_0x39f8,0x69d80));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x39f8(){var _0x24ff62=['1752650TiToho','3502104FZFuQm','258252Lsciey','4558092WFwQnh','20RWKTXZ','8yXMFGx','63ONhuip','75eEQaUz','7837137MVUUCB','538430mOvVuY','17820IionnA'];_0x39f8=function(){return _0x24ff62;};return _0x39f8();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts b/src/core.lib/src/services/NodeIKernelBuddyService.d.ts index b6256ce5..ea3de2a4 100644 --- a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts +++ b/src/core.lib/src/services/NodeIKernelBuddyService.d.ts @@ -11,7 +11,7 @@ export interface NodeIKernelBuddyService { getBuddyRemark(uid: number): string; setBuddyRemark(uid: number, remark: string): void; getAvatarUrl(uid: number): string; - isBuddy(uid: number): boolean; + isBuddy(uid: string): boolean; getCategoryNameWithUid(uid: number): string; getTargetBuddySetting(uid: number): unknown; getTargetBuddySettingByType(uid: number, type: number): unknown; diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index 3df1caf0..5dfd5412 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x57cb8d,_0x5bf139){var _0x4a3ccd=_0x2475,_0x3821c4=_0x57cb8d();while(!![]){try{var _0x5652d1=-parseInt(_0x4a3ccd(0x9b))/0x1+-parseInt(_0x4a3ccd(0x97))/0x2*(-parseInt(_0x4a3ccd(0x98))/0x3)+-parseInt(_0x4a3ccd(0x92))/0x4+-parseInt(_0x4a3ccd(0x9a))/0x5+parseInt(_0x4a3ccd(0x96))/0x6*(parseInt(_0x4a3ccd(0x95))/0x7)+parseInt(_0x4a3ccd(0x94))/0x8*(parseInt(_0x4a3ccd(0x93))/0x9)+parseInt(_0x4a3ccd(0x99))/0xa;if(_0x5652d1===_0x5bf139)break;else _0x3821c4['push'](_0x3821c4['shift']());}catch(_0x525ea5){_0x3821c4['push'](_0x3821c4['shift']());}}}(_0x6557,0x7dd9c));function _0x6557(){var _0xa1b379=['2469112ryjejX','2331SKTGhK','18856WFqFYx','42ASCsDM','824244lsJfoS','26TYHpBe','177381PfKXPk','4092080SMyxLv','3648045CDLecH','750195Nleizp'];_0x6557=function(){return _0xa1b379;};return _0x6557();}function _0x2475(_0x248485,_0x55c1ea){var _0x65572c=_0x6557();return _0x2475=function(_0x2475a1,_0xe00e35){_0x2475a1=_0x2475a1-0x92;var _0x5bfa54=_0x65572c[_0x2475a1];return _0x5bfa54;},_0x2475(_0x248485,_0x55c1ea);} \ No newline at end of file +'use strict';function _0x2d9e(_0x229d3b,_0x5d2201){var _0x1e0fe9=_0x1e0f();return _0x2d9e=function(_0x2d9e67,_0x2cd8f2){_0x2d9e67=_0x2d9e67-0x1d1;var _0x351d7d=_0x1e0fe9[_0x2d9e67];return _0x351d7d;},_0x2d9e(_0x229d3b,_0x5d2201);}(function(_0x3111be,_0x2eb5b1){var _0x12a5fe=_0x2d9e,_0x5c6c91=_0x3111be();while(!![]){try{var _0x534843=-parseInt(_0x12a5fe(0x1da))/0x1+parseInt(_0x12a5fe(0x1d3))/0x2+parseInt(_0x12a5fe(0x1d1))/0x3*(parseInt(_0x12a5fe(0x1d6))/0x4)+parseInt(_0x12a5fe(0x1d5))/0x5*(-parseInt(_0x12a5fe(0x1d8))/0x6)+-parseInt(_0x12a5fe(0x1d7))/0x7+parseInt(_0x12a5fe(0x1d9))/0x8+parseInt(_0x12a5fe(0x1d2))/0x9*(parseInt(_0x12a5fe(0x1d4))/0xa);if(_0x534843===_0x2eb5b1)break;else _0x5c6c91['push'](_0x5c6c91['shift']());}catch(_0x5ad99d){_0x5c6c91['push'](_0x5c6c91['shift']());}}}(_0x1e0f,0xb804a));function _0x1e0f(){var _0x5907a2=['381987ScIHLP','2569096JkfqhL','610MpbPzK','4628995rDKTBP','12ioSZiU','7522788DghjOx','6AusZFp','996816NVGalR','1424954micdnt','181002XwLtXw'];_0x1e0f=function(){return _0x5907a2;};return _0x1e0f();} \ 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 98fd41a4..6734bf09 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x54b4da,_0x22aa9c){var _0x5efa89=_0x19fc,_0xd5abac=_0x54b4da();while(!![]){try{var _0x2b0e05=-parseInt(_0x5efa89(0xd5))/0x1+parseInt(_0x5efa89(0xd9))/0x2*(parseInt(_0x5efa89(0xd2))/0x3)+-parseInt(_0x5efa89(0xd4))/0x4*(parseInt(_0x5efa89(0xd7))/0x5)+parseInt(_0x5efa89(0xd6))/0x6*(-parseInt(_0x5efa89(0xd1))/0x7)+-parseInt(_0x5efa89(0xd0))/0x8*(-parseInt(_0x5efa89(0xd8))/0x9)+-parseInt(_0x5efa89(0xd3))/0xa+parseInt(_0x5efa89(0xda))/0xb;if(_0x2b0e05===_0x22aa9c)break;else _0xd5abac['push'](_0xd5abac['shift']());}catch(_0x5008a2){_0xd5abac['push'](_0xd5abac['shift']());}}}(_0xb9cf,0x6383b));export var GeneralCallResultStatus;(function(_0x44e834){_0x44e834[_0x44e834['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x19fc(_0x110eb3,_0x2c6a6b){var _0xb9cfd5=_0xb9cf();return _0x19fc=function(_0x19fc04,_0x569eb7){_0x19fc04=_0x19fc04-0xd0;var _0x5998f8=_0xb9cfd5[_0x19fc04];return _0x5998f8;},_0x19fc(_0x110eb3,_0x2c6a6b);}function _0xb9cf(){var _0x3eb6eb=['26263402LdlFAi','16HQAJIf','6475jHbLPu','3qGtzqT','6214880kAHorg','42268mGOvkc','812352PhwTHL','4254RgoPVN','265DStVcy','2489769twiWeB','232926hsOSaF'];_0xb9cf=function(){return _0x3eb6eb;};return _0xb9cf();} \ No newline at end of file +function _0x4313(_0x270787,_0x1df25f){var _0x3a6c2f=_0x3a6c();return _0x4313=function(_0x43131a,_0x32072b){_0x43131a=_0x43131a-0x1b2;var _0x134148=_0x3a6c2f[_0x43131a];return _0x134148;},_0x4313(_0x270787,_0x1df25f);}(function(_0x1f3460,_0x306f53){var _0x93cec5=_0x4313,_0x40a475=_0x1f3460();while(!![]){try{var _0x4bec9c=parseInt(_0x93cec5(0x1b4))/0x1+parseInt(_0x93cec5(0x1b5))/0x2+-parseInt(_0x93cec5(0x1b2))/0x3+parseInt(_0x93cec5(0x1b9))/0x4*(parseInt(_0x93cec5(0x1ba))/0x5)+parseInt(_0x93cec5(0x1b3))/0x6*(-parseInt(_0x93cec5(0x1b6))/0x7)+-parseInt(_0x93cec5(0x1b7))/0x8*(parseInt(_0x93cec5(0x1bb))/0x9)+parseInt(_0x93cec5(0x1b8))/0xa*(-parseInt(_0x93cec5(0x1bc))/0xb);if(_0x4bec9c===_0x306f53)break;else _0x40a475['push'](_0x40a475['shift']());}catch(_0x19693a){_0x40a475['push'](_0x40a475['shift']());}}}(_0x3a6c,0xf2321));export var GeneralCallResultStatus;function _0x3a6c(){var _0x57d005=['298372CStxHA','55bnjfzR','387OWDAna','2893dYGUik','3584736rIxZOE','72tClWeo','1270091YALsiM','3029462XbfVto','360241UFAZAz','85336GYEeYt','13010KnsqhI'];_0x3a6c=function(){return _0x57d005;};return _0x3a6c();}(function(_0x3901fe){_0x3901fe[_0x3901fe['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ 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 a552ff98..ff6ea067 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x4a8cd1,_0x4b8d3f){var _0x46c902=_0xe26d,_0x295c56=_0x4a8cd1();while(!![]){try{var _0x25bbf1=parseInt(_0x46c902(0x17c))/0x1*(parseInt(_0x46c902(0x177))/0x2)+parseInt(_0x46c902(0x17a))/0x3*(-parseInt(_0x46c902(0x180))/0x4)+parseInt(_0x46c902(0x178))/0x5+parseInt(_0x46c902(0x17b))/0x6*(parseInt(_0x46c902(0x17f))/0x7)+parseInt(_0x46c902(0x17e))/0x8+-parseInt(_0x46c902(0x17d))/0x9+parseInt(_0x46c902(0x179))/0xa;if(_0x25bbf1===_0x4b8d3f)break;else _0x295c56['push'](_0x295c56['shift']());}catch(_0x2db156){_0x295c56['push'](_0x295c56['shift']());}}}(_0x311b,0x8a8ad));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0xe26d(_0x59d12d,_0x2fbdc0){var _0x311b66=_0x311b();return _0xe26d=function(_0xe26db3,_0x25b73c){_0xe26db3=_0xe26db3-0x177;var _0x2c28f1=_0x311b66[_0xe26db3];return _0x2c28f1;},_0xe26d(_0x59d12d,_0x2fbdc0);}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x311b(){var _0x30759a=['1336PWQWfa','3644610uVfqcx','6507170hCEcnA','101733RSjHbQ','71658MoypQT','686eJogoH','4171959VBgPFI','583208mkYwkZ','21ZgJtDf','108vcXkpC'];_0x311b=function(){return _0x30759a;};return _0x311b();}export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x40cce6,_0x3702b2){var _0x4fe55c=_0x21a0,_0x576aa9=_0x40cce6();while(!![]){try{var _0x395305=parseInt(_0x4fe55c(0xc4))/0x1+-parseInt(_0x4fe55c(0xc0))/0x2+-parseInt(_0x4fe55c(0xbb))/0x3*(parseInt(_0x4fe55c(0xbc))/0x4)+-parseInt(_0x4fe55c(0xbd))/0x5*(parseInt(_0x4fe55c(0xc1))/0x6)+parseInt(_0x4fe55c(0xbf))/0x7*(-parseInt(_0x4fe55c(0xc2))/0x8)+parseInt(_0x4fe55c(0xc3))/0x9+parseInt(_0x4fe55c(0xbe))/0xa*(parseInt(_0x4fe55c(0xba))/0xb);if(_0x395305===_0x3702b2)break;else _0x576aa9['push'](_0x576aa9['shift']());}catch(_0xb28c68){_0x576aa9['push'](_0x576aa9['shift']());}}}(_0x575b,0x78882));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x575b(){var _0x2ddb66=['72fxSZzC','5immIpr','20JBOufz','817187gFEQex','73800MlynWq','5795106fHsbgi','8VxPAuc','5384925CfiICC','764733HnmLks','1641442gzzqpf','8052omWwPu'];_0x575b=function(){return _0x2ddb66;};return _0x575b();}function _0x21a0(_0x2376d7,_0x59ff07){var _0x575b64=_0x575b();return _0x21a0=function(_0x21a051,_0x39fff7){_0x21a051=_0x21a051-0xba;var _0x2e0622=_0x575b64[_0x21a051];return _0x2e0622;},_0x21a0(_0x2376d7,_0x59ff07);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';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 a229e1fa..d14f74f1 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x55fb7f,_0x3c4ade){var _0x3b8fbd=_0x3340,_0x15ab71=_0x55fb7f();while(!![]){try{var _0x296187=-parseInt(_0x3b8fbd(0xed))/0x1+-parseInt(_0x3b8fbd(0xf0))/0x2+parseInt(_0x3b8fbd(0xff))/0x3*(-parseInt(_0x3b8fbd(0x10d))/0x4)+-parseInt(_0x3b8fbd(0x108))/0x5*(parseInt(_0x3b8fbd(0xf4))/0x6)+parseInt(_0x3b8fbd(0xf8))/0x7*(parseInt(_0x3b8fbd(0xf6))/0x8)+parseInt(_0x3b8fbd(0x100))/0x9+parseInt(_0x3b8fbd(0xe9))/0xa;if(_0x296187===_0x3c4ade)break;else _0x15ab71['push'](_0x15ab71['shift']());}catch(_0xbe2481){_0x15ab71['push'](_0x15ab71['shift']());}}}(_0x1bdd,0x2c5cc));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x177685 from'node:path';function _0x3340(_0x5d4627,_0x2585c7){var _0x1bddd3=_0x1bdd();return _0x3340=function(_0x33405a,_0x1c5f01){_0x33405a=_0x33405a-0xe1;var _0x561de6=_0x1bddd3[_0x33405a];return _0x561de6;},_0x3340(_0x5d4627,_0x2585c7);}import _0x515567 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x243b18){var _0x3f4f6e=_0x3340,_0x4223f1={'gsOPv':'3|0|4|1|2','fTrla':_0x3f4f6e(0xf9),'TveUg':_0x3f4f6e(0xea),'SGiMB':_0x3f4f6e(0x101),'HIBPo':_0x3f4f6e(0xfb)},_0x59a9ab=_0x4223f1[_0x3f4f6e(0x10c)][_0x3f4f6e(0x10a)]('|'),_0x4a4c5a=0x0;while(!![]){switch(_0x59a9ab[_0x4a4c5a++]){case'0':_0x243b18[_0x243b18[_0x4223f1[_0x3f4f6e(0xe6)]]=0x1]=_0x4223f1['fTrla'];continue;case'1':_0x243b18[_0x243b18[_0x4223f1['TveUg']]=0x3]=_0x4223f1[_0x3f4f6e(0xf1)];continue;case'2':_0x243b18[_0x243b18[_0x3f4f6e(0x110)]=0x4]=_0x3f4f6e(0x110);continue;case'3':_0x243b18[_0x243b18[_0x4223f1[_0x3f4f6e(0xe3)]]=0x0]=_0x3f4f6e(0x101);continue;case'4':_0x243b18[_0x243b18[_0x4223f1['HIBPo']]=0x2]=_0x4223f1[_0x3f4f6e(0xf7)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x4a2a18){var _0x565a09=_0x3340,_0x39f6e1={'oaheu':_0x565a09(0x101),'SVsPV':_0x565a09(0xf3),'pNXwL':'KPAD','RWnEG':_0x565a09(0xe1)};_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0xeb)]]=0x0]=_0x565a09(0x101),_0x4a2a18[_0x4a2a18[_0x565a09(0xf3)]=0x1]=_0x39f6e1[_0x565a09(0x102)],_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0xe7)]]=0x2]=_0x39f6e1[_0x565a09(0xe7)],_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0x10f)]]=0x3]=_0x39f6e1[_0x565a09(0x10f)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x3d9be6){var _0x290680=_0x3340,_0x4b182b={'oQPdc':'KSUPPORTTPNS','RXhzw':_0x290680(0x10e),'PLKyj':_0x290680(0x109),'TRxyZ':_0x290680(0xfa),'KNBKk':_0x290680(0x10b),'QwsDc':'KSUPPORTOPPOPUSH','qumtO':_0x290680(0x104)},_0xf203d3=_0x290680(0xe2)['split']('|'),_0x3e1770=0x0;while(!![]){switch(_0xf203d3[_0x3e1770++]){case'0':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0x103)]]=0x2]=_0x4b182b['oQPdc'];continue;case'1':_0x3d9be6[_0x3d9be6[_0x290680(0x10e)]=0x0]=_0x4b182b[_0x290680(0xfc)];continue;case'2':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0x107)]]=0x63]=_0x4b182b[_0x290680(0x107)];continue;case'3':_0x3d9be6[_0x3d9be6[_0x4b182b['TRxyZ']]=0x3]=_0x290680(0xfa);continue;case'4':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xf2)]]=0x5]=_0x4b182b['KNBKk'];continue;case'5':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xec)]]=0x4]=_0x4b182b[_0x290680(0xec)];continue;case'6':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xfe)]]=0x1]=_0x290680(0x104);continue;}break;}}(VendorType||(VendorType={})));function _0x1bdd(){var _0x329792=['SVsPV','oQPdc','KUNSUPPORTANDROIDPUSH','YaAfh','curVersion','PLKyj','1529950TfJXBu','KSUPPORTGOOGLEPUSH','split','KSUPPORTVIVOPUSH','gsOPv','1132760EmddTI','KNOSETONIOS','RWnEG','KMAC','KCOMPUTER','1|2|3|5|0|4|6','SGiMB','mkdirSync','join','fTrla','pNXwL','assign','7920630AXwRfJ','KWINDOWS','oaheu','QwsDc','350286FAGbIU','temp','version','127980FrOrSa','TveUg','KNBKk','KPHONE','6rVjwWj','NapCat','8gzGWBf','HIBPo','2174137noiPAJ','KANDROID','KSUPPORTHMS','KIOS','RXhzw','ATSZt','qumtO','3WQiIoV','742590XdDCwN','KUNKNOWN'];_0x1bdd=function(){return _0x329792;};return _0x1bdd();}export const sessionConfig={};export async function genSessionConfig(_0x5ccc41,_0x16fba5,_0x50b317){var _0xc33250=_0x3340,_0x54917a={'YaAfh':_0xc33250(0xf5),'ATSZt':function(_0x2a79bb){return _0x2a79bb();}};const _0x4e706e=_0x177685[_0xc33250(0xe5)](_0x50b317,_0x54917a[_0xc33250(0x105)],_0xc33250(0xee));_0x515567[_0xc33250(0xe4)](_0x4e706e,{'recursive':!![]});let _0x2e07db=await _0x54917a[_0xc33250(0xfd)](getMachineId);const _0x5a1444={'selfUin':_0x5ccc41,'selfUid':_0x16fba5,'desktopPathConfig':{'account_path':_0x50b317},'clientVer':qqVersionConfigInfo[_0xc33250(0x106)],'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':_0x4e706e,'deviceInfo':{'guid':_0x2e07db,'buildVer':qqPkgInfo[_0xc33250(0xef)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object[_0xc33250(0xe8)](sessionConfig,_0x5a1444),_0x5a1444;} \ No newline at end of file +(function(_0x52d05e,_0x4f1e59){var _0x1b2d7d=_0x4790,_0x34a929=_0x52d05e();while(!![]){try{var _0x1f5138=-parseInt(_0x1b2d7d(0xcb))/0x1+parseInt(_0x1b2d7d(0xdb))/0x2*(-parseInt(_0x1b2d7d(0xd6))/0x3)+-parseInt(_0x1b2d7d(0xb7))/0x4*(parseInt(_0x1b2d7d(0xb6))/0x5)+parseInt(_0x1b2d7d(0xcf))/0x6+parseInt(_0x1b2d7d(0xb0))/0x7+parseInt(_0x1b2d7d(0xd3))/0x8*(parseInt(_0x1b2d7d(0xdc))/0x9)+parseInt(_0x1b2d7d(0xda))/0xa*(-parseInt(_0x1b2d7d(0xc8))/0xb);if(_0x1f5138===_0x4f1e59)break;else _0x34a929['push'](_0x34a929['shift']());}catch(_0x57c0d8){_0x34a929['push'](_0x34a929['shift']());}}}(_0x4bf7,0x61bb7));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1ab77e from'node:path';import _0x4c0d61 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;function _0x4790(_0x15f269,_0x1d99c6){var _0x4bf77f=_0x4bf7();return _0x4790=function(_0x47909a,_0x33032f){_0x47909a=_0x47909a-0xad;var _0x1e5314=_0x4bf77f[_0x47909a];return _0x1e5314;},_0x4790(_0x15f269,_0x1d99c6);}(function(_0x40e558){var _0x54875a=_0x4790,_0x4b4023={'sPxiT':_0x54875a(0xc6),'HZlkS':'KMAC','oHtUn':_0x54875a(0xbd),'frLok':_0x54875a(0xcc),'iwqTa':_0x54875a(0xbb),'EmfsI':_0x54875a(0xc9)},_0x45ad2f=_0x4b4023[_0x54875a(0xc7)][_0x54875a(0xd1)]('|'),_0x303b90=0x0;while(!![]){switch(_0x45ad2f[_0x303b90++]){case'0':_0x40e558[_0x40e558[_0x4b4023[_0x54875a(0xc0)]]=0x4]=_0x54875a(0xb5);continue;case'1':_0x40e558[_0x40e558[_0x54875a(0xbd)]=0x2]=_0x4b4023[_0x54875a(0xcd)];continue;case'2':_0x40e558[_0x40e558[_0x54875a(0xcc)]=0x0]=_0x4b4023['frLok'];continue;case'3':_0x40e558[_0x40e558[_0x4b4023[_0x54875a(0xd4)]]=0x1]=_0x4b4023[_0x54875a(0xd4)];continue;case'4':_0x40e558[_0x40e558[_0x4b4023[_0x54875a(0xb3)]]=0x3]=_0x4b4023['EmfsI'];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x20c398){var _0x467bf4=_0x4790,_0x2e01aa={'jJQOP':'KUNKNOWN','fCnDh':_0x467bf4(0xb1),'xufTD':_0x467bf4(0xd7),'ueuQd':'KCOMPUTER'};_0x20c398[_0x20c398[_0x2e01aa[_0x467bf4(0xbf)]]=0x0]=_0x2e01aa[_0x467bf4(0xbf)],_0x20c398[_0x20c398[_0x2e01aa['fCnDh']]=0x1]=_0x2e01aa['fCnDh'],_0x20c398[_0x20c398[_0x2e01aa[_0x467bf4(0xc5)]]=0x2]=_0x2e01aa[_0x467bf4(0xc5)],_0x20c398[_0x20c398[_0x2e01aa[_0x467bf4(0xc3)]]=0x3]=_0x2e01aa['ueuQd'];}(DeviceType||(DeviceType={})));function _0x4bf7(){var _0x4c8bbe=['297UOnLnn','KPAD','temp','KSUPPORTHMS','570hdfcZg','10624tQuday','36HBtLay','wBfpG','AePbW','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','3632041mshQxb','KPHONE','KUNSUPPORTANDROIDPUSH','EmfsI','NcNVk','KMAC','1247745ednXQP','4WxwyEm','curVersion','KSUPPORTVIVOPUSH','NapCat','KANDROID','assign','KIOS','KSUPPORTTPNS','jJQOP','HZlkS','KSUPPORTGOOGLEPUSH','version','ueuQd','0|4|2|3|5|6|1','xufTD','2|3|1|4|0','sPxiT','113311HGRzme','KWINDOWS','hicmr','198411SOEuWX','KUNKNOWN','oHtUn','pqDle','3958566XMUsAu','Jzuzl','split','tMetu','1565384ZYWMia','iwqTa','XLlVV'];_0x4bf7=function(){return _0x4c8bbe;};return _0x4bf7();}export var VendorType;(function(_0xe60357){var _0x4da6a2=_0x4790,_0x572915={'tMetu':'KNOSETONIOS','aTyeK':_0x4da6a2(0xb2),'wBfpG':'KSUPPORTOPPOPUSH','NcNVk':_0x4da6a2(0xc1),'pqDle':_0x4da6a2(0xbe),'Jzuzl':_0x4da6a2(0xb9)},_0x3a096c=_0x4da6a2(0xc4)[_0x4da6a2(0xd1)]('|'),_0x3ff661=0x0;while(!![]){switch(_0x3a096c[_0x3ff661++]){case'0':_0xe60357[_0xe60357[_0x572915[_0x4da6a2(0xd2)]]=0x0]=_0x572915[_0x4da6a2(0xd2)];continue;case'1':_0xe60357[_0xe60357[_0x4da6a2(0xb2)]=0x1]=_0x572915['aTyeK'];continue;case'2':_0xe60357[_0xe60357[_0x4da6a2(0xd9)]=0x3]=_0x4da6a2(0xd9);continue;case'3':_0xe60357[_0xe60357[_0x572915[_0x4da6a2(0xad)]]=0x4]=_0x572915[_0x4da6a2(0xad)];continue;case'4':_0xe60357[_0xe60357[_0x572915[_0x4da6a2(0xb4)]]=0x63]=_0x4da6a2(0xc1);continue;case'5':_0xe60357[_0xe60357[_0x572915['pqDle']]=0x2]=_0x572915[_0x4da6a2(0xce)];continue;case'6':_0xe60357[_0xe60357[_0x4da6a2(0xb9)]=0x5]=_0x572915[_0x4da6a2(0xd0)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x1010d5,_0x5c0e74,_0x43e0c3){var _0x26b7ec=_0x4790,_0x52038e={'hicmr':_0x26b7ec(0xd8),'XLlVV':function(_0x3f2489){return _0x3f2489();},'AePbW':_0x26b7ec(0xaf)};const _0x41c40e=_0x1ab77e['join'](_0x43e0c3,_0x26b7ec(0xba),_0x52038e[_0x26b7ec(0xca)]);_0x4c0d61['mkdirSync'](_0x41c40e,{'recursive':!![]});let _0x4c36a2=await _0x52038e[_0x26b7ec(0xd5)](getMachineId);const _0x4a8281={'selfUin':_0x1010d5,'selfUid':_0x5c0e74,'desktopPathConfig':{'account_path':_0x43e0c3},'clientVer':qqVersionConfigInfo[_0x26b7ec(0xb8)],'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':_0x41c40e,'deviceInfo':{'guid':_0x4c36a2,'buildVer':qqPkgInfo[_0x26b7ec(0xc2)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x52038e[_0x26b7ec(0xae)]};return Object[_0x26b7ec(0xbc)](sessionConfig,_0x4a8281),_0x4a8281;} \ 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 36d2551d..fe1c196f 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x123f30=_0x5673;(function(_0x47189d,_0x421099){const _0x28320c=_0x5673,_0x31a807=_0x47189d();while(!![]){try{const _0x388bd2=parseInt(_0x28320c(0x175))/0x1+-parseInt(_0x28320c(0x17f))/0x2*(-parseInt(_0x28320c(0x17a))/0x3)+-parseInt(_0x28320c(0x188))/0x4*(parseInt(_0x28320c(0x17c))/0x5)+parseInt(_0x28320c(0x185))/0x6*(-parseInt(_0x28320c(0x187))/0x7)+parseInt(_0x28320c(0x189))/0x8+parseInt(_0x28320c(0x176))/0x9*(-parseInt(_0x28320c(0x17d))/0xa)+-parseInt(_0x28320c(0x178))/0xb*(-parseInt(_0x28320c(0x183))/0xc);if(_0x388bd2===_0x421099)break;else _0x31a807['push'](_0x31a807['shift']());}catch(_0x5812b0){_0x31a807['push'](_0x31a807['shift']());}}}(_0x11eb,0x66746));import _0x1bd30b from'node:path';function _0x11eb(){const _0x37dff2=['DEBUG','1481133CNwLOD','fileLog','15455pOjGOV','520jHxtuW','consoleLog','2OSpGzU','uin','getConfigPath','consoleLogLevel','158172MIPMMU','join','3038010ExNSHv','fileLogLevel','7CkddDQ','1084kvBqVn','1527416JqUvGC','202093pRpKqi','46701TfLClb','napcat_','957OvLEhL'];_0x11eb=function(){return _0x37dff2;};return _0x11eb();}import{LogLevel}from'@/common/utils/log';function _0x5673(_0x9fffb8,_0xca565c){const _0x11eb82=_0x11eb();return _0x5673=function(_0x56734c,_0x1de4a4){_0x56734c=_0x56734c-0x175;let _0x491c60=_0x11eb82[_0x56734c];return _0x491c60;},_0x5673(_0x9fffb8,_0xca565c);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x123f30(0x17b)]=!![];[_0x123f30(0x17e)]=!![];[_0x123f30(0x186)]=LogLevel[_0x123f30(0x179)];[_0x123f30(0x182)]=LogLevel['INFO'];constructor(){super();}[_0x123f30(0x181)](){const _0x2616e0=_0x123f30;return _0x1bd30b[_0x2616e0(0x184)](this['getConfigDir'](),_0x2616e0(0x177)+selfInfo[_0x2616e0(0x180)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x2cbcba=_0x17b4;(function(_0x1c97ed,_0x47e4d7){const _0x1ae63c=_0x17b4,_0xb21c5=_0x1c97ed();while(!![]){try{const _0x354cfd=-parseInt(_0x1ae63c(0x8d))/0x1*(parseInt(_0x1ae63c(0x90))/0x2)+-parseInt(_0x1ae63c(0x94))/0x3*(-parseInt(_0x1ae63c(0x89))/0x4)+-parseInt(_0x1ae63c(0x80))/0x5+parseInt(_0x1ae63c(0x8f))/0x6+parseInt(_0x1ae63c(0x8e))/0x7*(parseInt(_0x1ae63c(0x87))/0x8)+-parseInt(_0x1ae63c(0x81))/0x9+-parseInt(_0x1ae63c(0x8b))/0xa*(-parseInt(_0x1ae63c(0x93))/0xb);if(_0x354cfd===_0x47e4d7)break;else _0xb21c5['push'](_0xb21c5['shift']());}catch(_0x2c9189){_0xb21c5['push'](_0xb21c5['shift']());}}}(_0x20a2,0x1f33a));import _0x33cf3 from'node:path';function _0x20a2(){const _0x2e6872=['6901pnpJVU','12607NEgeHH','438330bHrFUk','22vEMxWd','.json','consoleLog','22nNvTnC','7785levirK','napcat_','join','212310CFocUt','1648134cHfAgA','INFO','fileLogLevel','fileLog','uin','getConfigPath','1064fJsuEc','getConfigDir','36YdlCwZ','consoleLogLevel','466790zoJZOY','DEBUG'];_0x20a2=function(){return _0x2e6872;};return _0x20a2();}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x17b4(_0x5159cb,_0x1feeb1){const _0x20a27e=_0x20a2();return _0x17b4=function(_0x17b46b,_0x439250){_0x17b46b=_0x17b46b-0x7f;let _0x4eeb54=_0x20a27e[_0x17b46b];return _0x4eeb54;},_0x17b4(_0x5159cb,_0x1feeb1);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2cbcba(0x84)]=!![];[_0x2cbcba(0x92)]=!![];[_0x2cbcba(0x83)]=LogLevel[_0x2cbcba(0x8c)];[_0x2cbcba(0x8a)]=LogLevel[_0x2cbcba(0x82)];constructor(){super();}[_0x2cbcba(0x86)](){const _0x42c2ab=_0x2cbcba;return _0x33cf3[_0x42c2ab(0x7f)](this[_0x42c2ab(0x88)](),_0x42c2ab(0x95)+selfInfo[_0x42c2ab(0x85)]+_0x42c2ab(0x91));}}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 ad89fe2a..6d0fb0ab 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x3f57e7=_0x381e;(function(_0x299626,_0x448260){const _0x426500=_0x381e,_0x357321=_0x299626();while(!![]){try{const _0x37d127=parseInt(_0x426500(0xb4))/0x1*(-parseInt(_0x426500(0xa2))/0x2)+parseInt(_0x426500(0xa5))/0x3*(parseInt(_0x426500(0xa6))/0x4)+-parseInt(_0x426500(0xad))/0x5*(-parseInt(_0x426500(0xae))/0x6)+parseInt(_0x426500(0xab))/0x7*(-parseInt(_0x426500(0xa0))/0x8)+parseInt(_0x426500(0xa3))/0x9*(parseInt(_0x426500(0xa7))/0xa)+-parseInt(_0x426500(0x9f))/0xb*(parseInt(_0x426500(0xa4))/0xc)+parseInt(_0x426500(0xb1))/0xd;if(_0x37d127===_0x448260)break;else _0x357321['push'](_0x357321['shift']());}catch(_0x2c384f){_0x357321['push'](_0x357321['shift']());}}}(_0x340d,0x6d592));function _0x381e(_0x57fdf7,_0x50b76d){const _0x340dc6=_0x340d();return _0x381e=function(_0x381ed7,_0x31cfc6){_0x381ed7=_0x381ed7-0x9f;let _0x5ea12f=_0x340dc6[_0x381ed7];return _0x5ea12f;},_0x381e(_0x57fdf7,_0x50b76d);}import{logError}from'@/common/utils/log';function _0x340d(){const _0x42e80e=['3626524eCEkyU','7112oNtotr','http://napcat-sign.wumiao.wang:2082/rkey','10084fDxrZj','1558926aodNiA','24ZGJfxn','12xqpzLr','324788qeokwS','50cJvsJe','rkeyData','serverUrl','isExpired','5635nlqrAD','获取rkey失败','20NFcgow','1180896OAoWFG','HttpGetJson','Dnvjo','4405661yVqdXD','OCNHG','expired_time','98XksGQB','getTime','GET','iXkdz','ZTxGs'];_0x340d=function(){return _0x42e80e;};return _0x340d();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3f57e7(0xa9)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x484601){this['serverUrl']=_0x484601;}async['getRkey'](){const _0xd5cecb=_0x3f57e7,_0x5a766d={'OCNHG':_0xd5cecb(0xac)};if(this[_0xd5cecb(0xaa)]())try{await this['refreshRkey']();}catch(_0x58cac8){logError(_0x5a766d[_0xd5cecb(0xb2)],_0x58cac8);}return this[_0xd5cecb(0xa8)];}[_0x3f57e7(0xaa)](){const _0x4e1edc=_0x3f57e7,_0x11b9bb={'ZTxGs':function(_0x39498c,_0x1db114){return _0x39498c/_0x1db114;},'Dnvjo':function(_0x1fcddb,_0x54a911){return _0x1fcddb>_0x54a911;}},_0x20d1d1=_0x11b9bb[_0x4e1edc(0xb8)](new Date()[_0x4e1edc(0xb5)](),0x3e8);return _0x11b9bb[_0x4e1edc(0xb0)](_0x20d1d1,this[_0x4e1edc(0xa8)][_0x4e1edc(0xb3)]);}async['refreshRkey'](){const _0x3eda00=_0x3f57e7,_0x14ee72={'iXkdz':_0x3eda00(0xb6)};this[_0x3eda00(0xa8)]=await RequestUtil[_0x3eda00(0xaf)](this['serverUrl'],_0x14ee72[_0x3eda00(0xb7)]);}}export const rkeyManager=new RkeyManager(_0x3f57e7(0xa1)); \ No newline at end of file +const _0x38691f=_0x2a53;function _0x2a53(_0x437e19,_0x3bbaa4){const _0x5d5ff8=_0x5d5f();return _0x2a53=function(_0x2a5380,_0x5e084c){_0x2a5380=_0x2a5380-0x17b;let _0x4b4ac3=_0x5d5ff8[_0x2a5380];return _0x4b4ac3;},_0x2a53(_0x437e19,_0x3bbaa4);}(function(_0x1ceefd,_0x53ca5c){const _0x2fb566=_0x2a53,_0x15640a=_0x1ceefd();while(!![]){try{const _0x584b05=parseInt(_0x2fb566(0x17b))/0x1*(-parseInt(_0x2fb566(0x18b))/0x2)+parseInt(_0x2fb566(0x17d))/0x3*(parseInt(_0x2fb566(0x185))/0x4)+-parseInt(_0x2fb566(0x182))/0x5*(parseInt(_0x2fb566(0x183))/0x6)+parseInt(_0x2fb566(0x18f))/0x7*(parseInt(_0x2fb566(0x18d))/0x8)+-parseInt(_0x2fb566(0x188))/0x9*(parseInt(_0x2fb566(0x193))/0xa)+parseInt(_0x2fb566(0x181))/0xb+parseInt(_0x2fb566(0x18a))/0xc;if(_0x584b05===_0x53ca5c)break;else _0x15640a['push'](_0x15640a['shift']());}catch(_0x487e1b){_0x15640a['push'](_0x15640a['shift']());}}}(_0x5d5f,0xea155));function _0x5d5f(){const _0x27a715=['http://napcat-sign.wumiao.wang:2082/rkey','897528WjnXsd','isExpired','serverUrl','40887qaEcHv','HpISQ','20165268WUdTye','55034tDQfQh','refreshRkey','10249944wWmKXe','获取rkey失败','7nRnBkm','expired_time','rkeyData','getRkey','1130ESZuRE','EjATx','12RanteP','HttpGetJson','6mwpvJY','XYjam','getTime','GET','2997511BBjTNr','9402895yjUzDw','6AkofZQ'];_0x5d5f=function(){return _0x27a715;};return _0x5d5f();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x38691f(0x187)]='';[_0x38691f(0x191)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3857bc){const _0x5343a7=_0x38691f;this[_0x5343a7(0x187)]=_0x3857bc;}async[_0x38691f(0x192)](){const _0x4e11c9=_0x38691f,_0x511d42={'EjATx':_0x4e11c9(0x18e)};if(this['isExpired']())try{await this[_0x4e11c9(0x18c)]();}catch(_0x169aad){logError(_0x511d42[_0x4e11c9(0x194)],_0x169aad);}return this[_0x4e11c9(0x191)];}[_0x38691f(0x186)](){const _0x3f9610=_0x38691f,_0xdb1c14={'HpISQ':function(_0x473a16,_0x1cd9ce){return _0x473a16>_0x1cd9ce;}},_0x31b387=new Date()[_0x3f9610(0x17f)]()/0x3e8;return _0xdb1c14[_0x3f9610(0x189)](_0x31b387,this['rkeyData'][_0x3f9610(0x190)]);}async['refreshRkey'](){const _0xe5bde0=_0x38691f,_0x517a5e={'XYjam':_0xe5bde0(0x180)};this[_0xe5bde0(0x191)]=await RequestUtil[_0xe5bde0(0x17c)](this['serverUrl'],_0x517a5e[_0xe5bde0(0x17e)]);}}export const rkeyManager=new RkeyManager(_0x38691f(0x184)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index f1e29588..1d18e9a3 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x2bf31b=_0x2d78;(function(_0x29f866,_0x72657c){const _0x5b007d=_0x2d78,_0x829392=_0x29f866();while(!![]){try{const _0x1a4ba8=-parseInt(_0x5b007d(0x194))/0x1*(-parseInt(_0x5b007d(0x19b))/0x2)+parseInt(_0x5b007d(0x198))/0x3*(-parseInt(_0x5b007d(0x1a1))/0x4)+parseInt(_0x5b007d(0x19d))/0x5*(-parseInt(_0x5b007d(0x18b))/0x6)+parseInt(_0x5b007d(0x19c))/0x7+-parseInt(_0x5b007d(0x18d))/0x8*(-parseInt(_0x5b007d(0x19a))/0x9)+-parseInt(_0x5b007d(0x18f))/0xa*(-parseInt(_0x5b007d(0x1a3))/0xb)+-parseInt(_0x5b007d(0x193))/0xc*(-parseInt(_0x5b007d(0x196))/0xd);if(_0x1a4ba8===_0x72657c)break;else _0x829392['push'](_0x829392['shift']());}catch(_0x3bd4a4){_0x829392['push'](_0x829392['shift']());}}}(_0x4506,0x374be));import _0x15f3d9 from'node:path';import _0x4aa4ad from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2bf31b(0x18e)]),__dirname=dirname(__filename);let wrapperNodePath=_0x15f3d9[_0x2bf31b(0x190)](_0x15f3d9[_0x2bf31b(0x19e)](process[_0x2bf31b(0x1a4)]),_0x2bf31b(0x192));function _0x4506(){const _0x483b21=['resolve','writeFileSync','./resources/app/wrapper.node','393996kmRVtS','157XxEQBJ','\x0amodule.exports\x20=\x20require(\x22','13wWoEUH','curVersion','387126oNyBWS','WrapperLoader.cjs','9NcXYGQ','3854nhEBbJ','1227366uLxXBu','10klYmEt','dirname','default','join','12hfeaVz','/wrapper.node','176CUxGQW','execPath','664932NOyRdg','existsSync','932048dDTtuH','url','130030iuLVzI'];_0x4506=function(){return _0x483b21;};return _0x4506();}function _0x2d78(_0x3af6eb,_0x393088){const _0x4506ba=_0x4506();return _0x2d78=function(_0x2d78ac,_0x264ca){_0x2d78ac=_0x2d78ac-0x18b;let _0x4b7b85=_0x4506ba[_0x2d78ac];return _0x4b7b85;},_0x2d78(_0x3af6eb,_0x393088);}!_0x4aa4ad[_0x2bf31b(0x18c)](wrapperNodePath)&&(wrapperNodePath=_0x15f3d9[_0x2bf31b(0x1a0)](_0x15f3d9['dirname'](process[_0x2bf31b(0x1a4)]),'resources/app/versions/'+qqVersionConfigInfo[_0x2bf31b(0x197)]+_0x2bf31b(0x1a2)));let WrapperLoader=_0x15f3d9['join'](__dirname,_0x2bf31b(0x199));_0x4aa4ad[_0x2bf31b(0x191)](WrapperLoader,_0x2bf31b(0x195)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0x2bf31b(0x19f)];export default QQWrapper; \ No newline at end of file +const _0x1fbca7=_0x1ea3;function _0x5b43(){const _0x1cb986=['url','join','\x22);\x0aexports\x20=\x20module.exports;\x0a','replace','existsSync','48deKVLY','4015368LBwEuB','./resources/app/wrapper.node','dirname','3749555srvMxk','resources/app/versions/','15258mzoLVG','10SOLUgF','84916eJrtzo','2Jcaveg','119OhMWzD','4xtmiuQ','execPath','resolve','writeFileSync','1558593JstKsh','566931BGEhFW','854436GRImYk'];_0x5b43=function(){return _0x1cb986;};return _0x5b43();}(function(_0x592a6f,_0x347206){const _0x386673=_0x1ea3,_0x1a55a2=_0x592a6f();while(!![]){try{const _0x536245=-parseInt(_0x386673(0xe7))/0x1*(-parseInt(_0x386673(0xe8))/0x2)+parseInt(_0x386673(0xef))/0x3+parseInt(_0x386673(0xea))/0x4*(-parseInt(_0x386673(0xfa))/0x5)+parseInt(_0x386673(0xe5))/0x6*(parseInt(_0x386673(0xe9))/0x7)+parseInt(_0x386673(0xf7))/0x8+parseInt(_0x386673(0xee))/0x9*(parseInt(_0x386673(0xe6))/0xa)+-parseInt(_0x386673(0xf0))/0xb*(-parseInt(_0x386673(0xf6))/0xc);if(_0x536245===_0x347206)break;else _0x1a55a2['push'](_0x1a55a2['shift']());}catch(_0x19a8bb){_0x1a55a2['push'](_0x1a55a2['shift']());}}}(_0x5b43,0x87037));import _0x31e54f from'node:path';import _0xee34c0 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x1fbca7(0xf1)]),__dirname=dirname(__filename);let wrapperNodePath=_0x31e54f[_0x1fbca7(0xec)](_0x31e54f[_0x1fbca7(0xf9)](process['execPath']),_0x1fbca7(0xf8));!_0xee34c0[_0x1fbca7(0xf5)](wrapperNodePath)&&(wrapperNodePath=_0x31e54f['join'](_0x31e54f['dirname'](process[_0x1fbca7(0xeb)]),_0x1fbca7(0xfb)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));let WrapperLoader=_0x31e54f[_0x1fbca7(0xf2)](__dirname,'WrapperLoader.cjs');function _0x1ea3(_0x2030b5,_0x18a4ec){const _0x5b435e=_0x5b43();return _0x1ea3=function(_0x1ea3b5,_0x49a6c3){_0x1ea3b5=_0x1ea3b5-0xe5;let _0x3be324=_0x5b435e[_0x1ea3b5];return _0x3be324;},_0x1ea3(_0x2030b5,_0x18a4ec);}_0xee34c0[_0x1fbca7(0xed)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x1fbca7(0xf4)](/\\/g,'\x5c\x5c')+_0x1fbca7(0xf3));const QQWrapper=(await import('file://'+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/go-cqhttp/GetFriendMsgHistory.ts b/src/onebot11/action/go-cqhttp/GetFriendMsgHistory.ts index eadbf0ab..a77598b8 100644 --- a/src/onebot11/action/go-cqhttp/GetFriendMsgHistory.ts +++ b/src/onebot11/action/go-cqhttp/GetFriendMsgHistory.ts @@ -1,14 +1,12 @@ import BaseAction from '../BaseAction'; import { OB11Message, OB11User } from '../../types'; -import { getFriend, friends } from '@/core/data'; import { ActionName } from '../types'; import { ChatType } from '@/core/entities'; import { dbUtil } from '@/common/utils/db'; import { NTQQMsgApi } from '@/core/apis/msg'; import { OB11Constructor } from '../../constructor'; -import { logDebug } from '@/common/utils/log'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; -import { NTQQUserApi } from '@/core'; +import { NTQQFriendApi, NTQQUserApi } from '@/core'; interface Response { messages: OB11Message[]; @@ -35,7 +33,7 @@ export default class GetFriendMsgHistory extends BaseAction { throw `记录${payload.user_id}不存在`; } const startMsgId = (await dbUtil.getMsgByShortId(payload.message_seq))?.msgId || '0'; - const friend = await getFriend(uid); + const friend = await NTQQFriendApi.isBuddy(uid); const historyResult = (await NTQQMsgApi.getMsgHistory({ chatType: friend ? ChatType.friend : ChatType.temp, peerUid: uid diff --git a/src/onebot11/action/msg/MarkMsgAsRead.ts b/src/onebot11/action/msg/MarkMsgAsRead.ts index 9467e8b7..10452aef 100644 --- a/src/onebot11/action/msg/MarkMsgAsRead.ts +++ b/src/onebot11/action/msg/MarkMsgAsRead.ts @@ -1,8 +1,7 @@ import { ChatType, Peer } from '@/core/entities'; import BaseAction from '../BaseAction'; import { ActionName } from '../types'; -import { NTQQMsgApi, NTQQUserApi } from '@/core/apis'; -import { getFriend } from '@/core/data'; +import { NTQQFriendApi, NTQQMsgApi, NTQQUserApi } from '@/core/apis'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; const SchemaData = { @@ -22,8 +21,8 @@ class MarkMsgAsRead extends BaseAction { if (!peerUid) { throw `私聊${payload.user_id}不存在`; } - const friend = await getFriend(peerUid); - return { chatType: friend ? ChatType.friend : ChatType.temp, peerUid }; + const isBuddy = await NTQQFriendApi.isBuddy(peerUid); + return { chatType: isBuddy ? ChatType.friend : ChatType.temp, peerUid }; } if (!payload.group_id) { throw '缺少参数 group_id 或 user_id'; diff --git a/src/onebot11/action/msg/SendMsg/index.ts b/src/onebot11/action/msg/SendMsg/index.ts index ead69cac..c6c9fc95 100644 --- a/src/onebot11/action/msg/SendMsg/index.ts +++ b/src/onebot11/action/msg/SendMsg/index.ts @@ -7,17 +7,15 @@ import { OB11PostSendMsg } from '@/onebot11/types'; import { ActionName, BaseCheckResult } from '@/onebot11/action/types'; -import { getFriend, getGroup } from '@/core/data'; +import { getGroup } from '@/core/data'; import { dbUtil } from '@/common/utils/db'; -import { ChatType, ElementType, Group, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core'; +import { ChatType, ElementType, Group, NTQQFileApi, NTQQFriendApi, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core'; import fs from 'node:fs'; import { logDebug, logError } from '@/common/utils/log'; import { decodeCQCode } from '@/onebot11/cqcode'; import createSendElements from './create-send-elements'; import { handleForwardNode } from '@/onebot11/action/msg/SendMsg/handle-forward-node'; -const ALLOW_SEND_TEMP_MSG = false; - export interface ReturnDataType { message_id: number; } @@ -90,24 +88,12 @@ async function createContext(payload: OB11PostSendMsg): Promise<{ group: group, }; } else if (payload.user_id) { // take this as a private message - const friend = await getFriend(payload.user_id.toString()); - if (!friend) { - if (ALLOW_SEND_TEMP_MSG) { - //const tempUid = getUidByUin(payload.user_id.toString()); - const tempUid = await NTQQUserApi.getUidByUin(payload.user_id.toString()); - if (tempUid) return { - peer: { - chatType: ChatType.temp, - peerUid: tempUid - }, - }; - } - throw `找不到私聊对象 ${payload.user_id}`; - } + const Uid = await NTQQUserApi.getUidByUin(payload.user_id.toString()); + const isBuddy = await NTQQFriendApi.isBuddy(payload.user_id.toString()); return { peer: { - chatType: ChatType.friend, - peerUid: friend.uid + chatType: isBuddy ? ChatType.friend : ChatType.temp, + peerUid: Uid! }, }; } @@ -134,16 +120,18 @@ export class SendMsg extends BaseAction { return { valid: false, message: `群${payload.group_id}不存在` }; } if (payload.user_id && payload.message_type !== 'group') { - if (!(await getFriend(payload.user_id))) { + let isBuddy = await NTQQFriendApi.isBuddy(payload.user_id.toString()); + // 此处有问题 + if (!isBuddy) { if ( - !ALLOW_SEND_TEMP_MSG && !(await NTQQUserApi.getUidByUin(payload.user_id)) ) { - return { valid: false, message: '不能发送临时消息' }; + return { valid: false, message: '异常消息' }; } + } } - return { valid: true, }; + return { valid: true }; } protected async _handle(payload: OB11PostSendMsg): Promise<{ message_id: number }> { diff --git a/src/onebot11/action/user/SendLike.ts b/src/onebot11/action/user/SendLike.ts index 1fcb04b4..be88d6d5 100644 --- a/src/onebot11/action/user/SendLike.ts +++ b/src/onebot11/action/user/SendLike.ts @@ -1,8 +1,6 @@ import { NTQQUserApi } from '@/core/apis'; import BaseAction from '../BaseAction'; -import { getFriend } from '@/core/data'; import { ActionName } from '../types'; -import { log, logDebug } from '@/common/utils/log'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; const SchemaData = { @@ -23,13 +21,7 @@ export default class SendLike extends BaseAction { //logDebug('点赞参数', payload); try { const qq = payload.user_id.toString(); - const friend = await getFriend(qq); - let uid: string; - if (!friend) { - uid = await NTQQUserApi.getUidByUin(qq) || ''; - } else { - uid = friend.uid; - } + let uid: string = await NTQQUserApi.getUidByUin(qq) || ''; const result = await NTQQUserApi.like(uid, parseInt(payload.times?.toString()) || 1); //logDebug('点赞结果', result); if (result.result !== 0) { diff --git a/src/onebot11/constructor.ts b/src/onebot11/constructor.ts index cc5df4dc..5e735e74 100644 --- a/src/onebot11/constructor.ts +++ b/src/onebot11/constructor.ts @@ -39,7 +39,7 @@ import { OB11GroupTitleEvent } from './event/notice/OB11GroupTitleEvent'; import { OB11GroupCardEvent } from './event/notice/OB11GroupCardEvent'; import { OB11GroupDecreaseEvent } from './event/notice/OB11GroupDecreaseEvent'; import { ob11Config } from '@/onebot11/config'; -import { deleteGroup, getFriend, getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data'; +import { deleteGroup, getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data'; import { NTQQFileApi, NTQQGroupApi, NTQQMsgApi, NTQQUserApi } from '@/core/apis'; import { OB11GroupMsgEmojiLikeEvent } from '@/onebot11/event/notice/OB11MsgEmojiLikeEvent'; import { napCatCore } from '@/core'; @@ -80,10 +80,8 @@ export class OB11Constructor { } else if (msg.chatType == ChatType.friend) { resMsg.sub_type = 'friend'; - const friend = await getFriend(msg.senderUin!); - if (friend) { - resMsg.sender.nickname = friend.nick; - } + let user = await NTQQUserApi.getUserDetailInfoByUin(msg.senderUin!); + resMsg.sender.nickname = user.info.nick; } else if (msg.chatType == ChatType.temp) { resMsg.sub_type = 'group'; diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 8410ff00..d6850513 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -19,7 +19,7 @@ import { OB11Config, ob11Config } from '@/onebot11/config'; import { httpHeart, ob11HTTPServer } from '@/onebot11/server/http'; import { ob11WebsocketServer } from '@/onebot11/server/ws/WebsocketServer'; import { ob11ReverseWebsockets } from '@/onebot11/server/ws/ReverseWebsocket'; -import { getFriend, getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data'; +import { getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data'; import { dbUtil } from '@/common/utils/db'; import { BuddyListener, GroupListener, NodeIKernelBuddyListener } from '@/core/listeners'; import { OB11FriendRequestEvent } from '@/onebot11/event/request/OB11FriendRequest'; @@ -474,10 +474,7 @@ export class NapCatOnebot11 { logDebug('收到邀请我加群通知'); const groupInviteEvent = new OB11GroupRequestEvent(); groupInviteEvent.group_id = parseInt(notify.group.groupCode); - let user_id = (await getFriend(notify.user2.uid))?.uin; - if (!user_id) { - user_id = (await NTQQUserApi.getUinByUid(notify.user2.uid)) || ''; - } + let user_id = (await NTQQUserApi.getUinByUid(notify.user2.uid)) || ''; groupInviteEvent.user_id = parseInt(user_id); groupInviteEvent.sub_type = 'invite'; groupInviteEvent.flag = flag;