From 1ce83511805253b08b9523797c39bc4fdc8b2f7c 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: Fri, 7 Jun 2024 09:49:31 +0800 Subject: [PATCH] docs: develop --- docs/develop/Android.md | 2 + docs/develop/GetMemberExt.md | 42 +++++++++++++++ docs/develop/参与开发.md | 24 +++++++++ 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/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.d.ts | 14 ++--- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.d.ts | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.d.ts | 9 +++- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/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 +- .../NodeIKernelCollectionService.d.ts | 22 ++++++++ .../services/NodeIKernelCollectionService.js | 1 + .../src/services/NodeIKernelGroupService.d.ts | 1 + .../src/services/NodeIKernelMsgService.d.ts | 52 ++++++++++--------- .../NodeIKernelOnlineStatusService.d.ts | 4 ++ .../src/services/NodeIYellowFaceService.d.ts | 0 .../src/services/NodeIYellowFaceService.js | 1 + 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.d.ts | 3 +- src/core.lib/src/wrapper.js | 2 +- 54 files changed, 183 insertions(+), 74 deletions(-) create mode 100644 docs/develop/Android.md create mode 100644 docs/develop/GetMemberExt.md create mode 100644 docs/develop/参与开发.md create mode 100644 src/core.lib/src/services/NodeIKernelCollectionService.d.ts create mode 100644 src/core.lib/src/services/NodeIKernelCollectionService.js create mode 100644 src/core.lib/src/services/NodeIYellowFaceService.d.ts create mode 100644 src/core.lib/src/services/NodeIYellowFaceService.js diff --git a/docs/develop/Android.md b/docs/develop/Android.md new file mode 100644 index 00000000..eb52beb2 --- /dev/null +++ b/docs/develop/Android.md @@ -0,0 +1,2 @@ +# 开始 +jadx 跳转于 `com.tencent.qqnt.kernel.*` \ No newline at end of file diff --git a/docs/develop/GetMemberExt.md b/docs/develop/GetMemberExt.md new file mode 100644 index 00000000..415f1ab1 --- /dev/null +++ b/docs/develop/GetMemberExt.md @@ -0,0 +1,42 @@ + # Android + ```java + GroupMemberExtReq groupMemberExtReq = new GroupMemberExtReq(); + groupMemberExtReq.sourceType = MemberExtSourceType.TITLETYPE.ordinal(); + groupMemberExtReq.groupCode = longOrNull.longValue(); + groupMemberExtReq.beginUin = "0"; + groupMemberExtReq.dataTime = "0"; + Long[] lArr = new Long[1]; + AppInterface a2 = dVar.a(); + lArr[0] = Long.valueOf(a2 != null ? a2.getLongAccountUin() : 0L); + arrayListOf = CollectionsKt__CollectionsKt.arrayListOf(lArr); + groupMemberExtReq.uinList = arrayListOf; + MemberExtInfoFilter memberExtInfoFilter = new MemberExtInfoFilter(); + memberExtInfoFilter.memberLevelInfoUin = 1; + memberExtInfoFilter.memberLevelInfoPoint = 1; + memberExtInfoFilter.memberLevelInfoActiveDay = 1; + memberExtInfoFilter.memberLevelInfoLevel = 1; + memberExtInfoFilter.levelName = 1; + memberExtInfoFilter.dataTime = 1; + memberExtInfoFilter.sysShowFlag = 1; + memberExtInfoFilter.userShowFlag = 1; + memberExtInfoFilter.userShowFlagNew = 1; + memberExtInfoFilter.levelNameNew = 1; + Unit unit = Unit.INSTANCE; + groupMemberExtReq.memberExtFilter = memberExtInfoFilter; + troopLevelFrequencyControl.f(troopUin, new TroopListRepo$fetchTroopLevelInfo$2(b2, groupMemberExtReq, troopUin, new com.tencent.qqnt.troopmemberlist.report.c("fetchTroopLevelInfo"))); +``` +# Win +参数解析位于 sub_181456A10(24108) -> wrapper.node(24108)+1456A10 +IGroupService.GetMemberExt(param: object); +param展开如下 +``` +groupCode string +beginUin string +dataTime string +uinList Array +uinNum string +groupType string +richCardNameVer string +sourceType number +memberExtFilter object// 参数解析位于 sub_18145A6D0(24108) -> wrapper.node(24108)+145A6D0 +``` \ No newline at end of file diff --git a/docs/develop/参与开发.md b/docs/develop/参与开发.md new file mode 100644 index 00000000..70032690 --- /dev/null +++ b/docs/develop/参与开发.md @@ -0,0 +1,24 @@ +# 前排提示 +由于Core未处于开源,非组织人员无法参与Core开发,此处为Core开发提示 + +# 准备工具 +frida ida-pro jadx x64dbg ce 内部调试脚本 + +## ida-pro +1. 用于快速分析入参和返回类型 +2. 通过静态QLog推测语义 +3. 提取Listener与Service (常用) +## frida +1. 用于动态获取QLog推测语义 +2. 捕捉Native函数 实际入参与数据 分析中间流程 + +## jadx +1. 通过其它平台实现 静态获取QLog推测语义 +2. 提供部分未调用代码 参考 + +## x64dbg +1. 验证IDA的Hook点 + +## 内部脚本 +1. 提取Listener与Service (不调用无类型 不推荐) +2. 获取NT调用流程 diff --git a/src/core b/src/core index 4b2cf9eb..bf82b6fa 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 4b2cf9eb6afb7c93d1bacdca3eb408dae9c86bdb +Subproject commit bf82b6fae1cbb28d769f6e380c60746313af1372 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index ca20b38e..d2bfc76a 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x5bf539=_0x1d22;function _0x1d22(_0x5cd7fe,_0x8a59b1){var _0x2fc0ae=_0x2fc0();return _0x1d22=function(_0x1d222b,_0x48ae7e){_0x1d222b=_0x1d222b-0x175;var _0x592c42=_0x2fc0ae[_0x1d222b];return _0x592c42;},_0x1d22(_0x5cd7fe,_0x8a59b1);}(function(_0x46ef3c,_0x45bd75){var _0x143633=_0x1d22,_0x25e4f1=_0x46ef3c();while(!![]){try{var _0x2bf210=-parseInt(_0x143633(0x17a))/0x1+-parseInt(_0x143633(0x17e))/0x2*(parseInt(_0x143633(0x17d))/0x3)+parseInt(_0x143633(0x179))/0x4*(-parseInt(_0x143633(0x178))/0x5)+-parseInt(_0x143633(0x181))/0x6+-parseInt(_0x143633(0x17c))/0x7+parseInt(_0x143633(0x180))/0x8*(-parseInt(_0x143633(0x177))/0x9)+parseInt(_0x143633(0x17b))/0xa;if(_0x2bf210===_0x45bd75)break;else _0x25e4f1['push'](_0x25e4f1['shift']());}catch(_0x4c8629){_0x25e4f1['push'](_0x25e4f1['shift']());}}}(_0x2fc0,0x3cce6));export class DependsAdapter{[_0x5bf539(0x175)](_0x37935a,_0x3f8a7e){}[_0x5bf539(0x176)](_0x3b3d84){}[_0x5bf539(0x17f)](_0x34f37f){}}function _0x2fc0(){var _0x3ce641=['15298720lBLhFg','2646021oCawxI','18wemABA','42788FGdsNj','getGroupCode','95696GDGhXQ','2310744jUfrcc','onMSFStatusChange','onMSFSsoError','18MRhUAN','25syAlDQ','218012hmXMbH','92880goLuEV'];_0x2fc0=function(){return _0x3ce641;};return _0x2fc0();} \ No newline at end of file +function _0x472e(){var _0x21ee8d=['881545jscZSl','424070CseSTl','2398106IXFvxC','onMSFSsoError','3dHzZZX','81lgeOMr','5324876tCvROK','5fssoAS','1486431ktdgHq','19336614RkuEBJ','onMSFStatusChange','56ASYCnR','4539624kpAbLJ'];_0x472e=function(){return _0x21ee8d;};return _0x472e();}var _0xbcfe0=_0x828c;function _0x828c(_0x22de91,_0x5bde5d){var _0x472e34=_0x472e();return _0x828c=function(_0x828c62,_0x4cd44d){_0x828c62=_0x828c62-0x16c;var _0x260441=_0x472e34[_0x828c62];return _0x260441;},_0x828c(_0x22de91,_0x5bde5d);}(function(_0x42e5f7,_0xefcb6c){var _0x2539e1=_0x828c,_0x2fd7ec=_0x42e5f7();while(!![]){try{var _0x3f3a9c=parseInt(_0x2539e1(0x16f))/0x1+-parseInt(_0x2539e1(0x176))/0x2*(-parseInt(_0x2539e1(0x178))/0x3)+parseInt(_0x2539e1(0x16d))/0x4*(-parseInt(_0x2539e1(0x16e))/0x5)+parseInt(_0x2539e1(0x173))/0x6+parseInt(_0x2539e1(0x174))/0x7*(parseInt(_0x2539e1(0x172))/0x8)+parseInt(_0x2539e1(0x16c))/0x9*(-parseInt(_0x2539e1(0x175))/0xa)+-parseInt(_0x2539e1(0x170))/0xb;if(_0x3f3a9c===_0xefcb6c)break;else _0x2fd7ec['push'](_0x2fd7ec['shift']());}catch(_0x28bd6f){_0x2fd7ec['push'](_0x2fd7ec['shift']());}}}(_0x472e,0xd038d));export class DependsAdapter{[_0xbcfe0(0x171)](_0x30bbb8,_0x108cea){}[_0xbcfe0(0x177)](_0x233698){}['getGroupCode'](_0x28e2c7){}} \ 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 0c1d703f..aa813a40 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x1bbee7=_0x128b;(function(_0x4e7850,_0xdda196){var _0x316765=_0x128b,_0x1cb470=_0x4e7850();while(!![]){try{var _0x539275=-parseInt(_0x316765(0x168))/0x1+parseInt(_0x316765(0x167))/0x2*(-parseInt(_0x316765(0x16b))/0x3)+-parseInt(_0x316765(0x161))/0x4+parseInt(_0x316765(0x162))/0x5*(parseInt(_0x316765(0x164))/0x6)+parseInt(_0x316765(0x16a))/0x7+parseInt(_0x316765(0x169))/0x8+parseInt(_0x316765(0x165))/0x9*(-parseInt(_0x316765(0x166))/0xa);if(_0x539275===_0xdda196)break;else _0x1cb470['push'](_0x1cb470['shift']());}catch(_0x875b1d){_0x1cb470['push'](_0x1cb470['shift']());}}}(_0x2168,0x1ab44));export class DispatcherAdapter{['dispatchRequest'](_0x4f862d){}[_0x1bbee7(0x163)](_0x256586){}['dispatchCallWithJson'](_0x46bd06){}}function _0x128b(_0x3d243d,_0x35df59){var _0x216888=_0x2168();return _0x128b=function(_0x128b09,_0x4b7776){_0x128b09=_0x128b09-0x161;var _0x254ab4=_0x216888[_0x128b09];return _0x254ab4;},_0x128b(_0x3d243d,_0x35df59);}function _0x2168(){var _0x457593=['dispatchCall','276cUuSfY','88137gxvgyw','10FWriND','168036qiZqfW','24566BSwcKe','1553328eKmWoj','651084zpYdri','3YAPZuo','247804RGrAhk','275oDFxVr'];_0x2168=function(){return _0x457593;};return _0x2168();} \ No newline at end of file +var _0x4e7b70=_0x5522;(function(_0x389a23,_0x45d97e){var _0x44644c=_0x5522,_0x21fde0=_0x389a23();while(!![]){try{var _0x392e0c=parseInt(_0x44644c(0x1ab))/0x1*(parseInt(_0x44644c(0x1a7))/0x2)+-parseInt(_0x44644c(0x1b0))/0x3+-parseInt(_0x44644c(0x1ac))/0x4+-parseInt(_0x44644c(0x1ae))/0x5+-parseInt(_0x44644c(0x1ad))/0x6*(-parseInt(_0x44644c(0x1aa))/0x7)+-parseInt(_0x44644c(0x1b1))/0x8*(-parseInt(_0x44644c(0x1a6))/0x9)+-parseInt(_0x44644c(0x1a9))/0xa;if(_0x392e0c===_0x45d97e)break;else _0x21fde0['push'](_0x21fde0['shift']());}catch(_0x2a9a16){_0x21fde0['push'](_0x21fde0['shift']());}}}(_0x3588,0xc168e));function _0x3588(){var _0xb1fed7=['14uRaZGJ','1Vpirxz','787312bYAyes','4494414DddCvO','1646390extbew','dispatchCall','72804eJVMry','16dregpP','1870794WnunHZ','2074838sYxSOZ','dispatchRequest','16087090IXTYGb'];_0x3588=function(){return _0xb1fed7;};return _0x3588();}function _0x5522(_0x1e0a8c,_0x50994c){var _0x3588f0=_0x3588();return _0x5522=function(_0x552298,_0x4db18a){_0x552298=_0x552298-0x1a6;var _0x568ecc=_0x3588f0[_0x552298];return _0x568ecc;},_0x5522(_0x1e0a8c,_0x50994c);}export class DispatcherAdapter{[_0x4e7b70(0x1a8)](_0x47c415){}[_0x4e7b70(0x1af)](_0x4b4f3a){}['dispatchCallWithJson'](_0x2e0898){}} \ 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 8b2617ad..ebe44d62 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x2b88(_0x45c745,_0x4e551a){var _0x3f5ba8=_0x3f5b();return _0x2b88=function(_0x2b88ec,_0x3d5bae){_0x2b88ec=_0x2b88ec-0xd1;var _0x51e914=_0x3f5ba8[_0x2b88ec];return _0x51e914;},_0x2b88(_0x45c745,_0x4e551a);}var _0x540bf4=_0x2b88;(function(_0x420921,_0x155a40){var _0x768e27=_0x2b88,_0x38c025=_0x420921();while(!![]){try{var _0x49e9b5=parseInt(_0x768e27(0xe2))/0x1*(-parseInt(_0x768e27(0xdc))/0x2)+-parseInt(_0x768e27(0xdd))/0x3*(-parseInt(_0x768e27(0xdf))/0x4)+-parseInt(_0x768e27(0xdb))/0x5+parseInt(_0x768e27(0xd5))/0x6*(parseInt(_0x768e27(0xde))/0x7)+parseInt(_0x768e27(0xda))/0x8*(-parseInt(_0x768e27(0xd6))/0x9)+-parseInt(_0x768e27(0xd2))/0xa+parseInt(_0x768e27(0xe1))/0xb;if(_0x49e9b5===_0x155a40)break;else _0x38c025['push'](_0x38c025['shift']());}catch(_0x388ea0){_0x38c025['push'](_0x38c025['shift']());}}}(_0x3f5b,0xf2675));function _0x3f5b(){var _0x2bb6a2=['fixPicImgType','onShowErrUITips','320274WkxZhp','272439lAylCz','onUpdateGeneralFlag','onGetOfflineMsg','getAppSetting','384Mlnkib','918310aagydN','1208874RoWtYk','3NeOtrW','224bKfPYj','6305528sPdAHg','onLog','8995360cKzZVd','1ckubpU','onGetSrvCalTime','8682780hkzMNj'];_0x3f5b=function(){return _0x2bb6a2;};return _0x3f5b();}export class GlobalAdapter{[_0x540bf4(0xe0)](..._0x22bb4d){}[_0x540bf4(0xd1)](..._0x67b6ec){}[_0x540bf4(0xd4)](..._0x34cf19){}[_0x540bf4(0xd3)](..._0x3554cb){}[_0x540bf4(0xd9)](..._0xfc2ccd){}['onInstallFinished'](..._0x141cf6){}[_0x540bf4(0xd7)](..._0xec6577){}[_0x540bf4(0xd8)](..._0x486a33){}} \ No newline at end of file +function _0x32d0(_0x4a2323,_0x1ab144){var _0x298bfa=_0x298b();return _0x32d0=function(_0x32d04c,_0x27b5f5){_0x32d04c=_0x32d04c-0x14b;var _0x757d75=_0x298bfa[_0x32d04c];return _0x757d75;},_0x32d0(_0x4a2323,_0x1ab144);}var _0x5ce9cb=_0x32d0;function _0x298b(){var _0x8c58f1=['6014211TqQUzk','2189565GPthJb','2619171kxfZVX','6WDaiEf','onShowErrUITips','1007204uVHHoW','6242904TvsViG','51438uxWFkn','1980625SbdMhp','onGetSrvCalTime','1gMxBaG','fixPicImgType','getAppSetting','onLog','onGetOfflineMsg'];_0x298b=function(){return _0x8c58f1;};return _0x298b();}(function(_0x2fba77,_0xa81580){var _0x225c12=_0x32d0,_0x5d00ac=_0x2fba77();while(!![]){try{var _0x1a469d=-parseInt(_0x225c12(0x151))/0x1*(parseInt(_0x225c12(0x14e))/0x2)+parseInt(_0x225c12(0x157))/0x3+-parseInt(_0x225c12(0x14c))/0x4+parseInt(_0x225c12(0x14f))/0x5*(parseInt(_0x225c12(0x159))/0x6)+-parseInt(_0x225c12(0x156))/0x7+parseInt(_0x225c12(0x14d))/0x8+-parseInt(_0x225c12(0x158))/0x9;if(_0x1a469d===_0xa81580)break;else _0x5d00ac['push'](_0x5d00ac['shift']());}catch(_0x5b3fe6){_0x5d00ac['push'](_0x5d00ac['shift']());}}}(_0x298b,0x74da7));export class GlobalAdapter{[_0x5ce9cb(0x154)](..._0xa85571){}[_0x5ce9cb(0x150)](..._0x26e5bd){}[_0x5ce9cb(0x14b)](..._0x1e9759){}[_0x5ce9cb(0x152)](..._0x1d81d3){}[_0x5ce9cb(0x153)](..._0x28a983){}['onInstallFinished'](..._0x38fc81){}['onUpdateGeneralFlag'](..._0xc8c99e){}[_0x5ce9cb(0x155)](..._0x4d4168){}} \ 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 c5cc0497..cdaa7af3 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x325e99,_0x255080){var _0x57b224=_0x2392,_0x1eaaa5=_0x325e99();while(!![]){try{var _0x3e0e5a=-parseInt(_0x57b224(0xcf))/0x1*(parseInt(_0x57b224(0xce))/0x2)+parseInt(_0x57b224(0xc9))/0x3*(parseInt(_0x57b224(0xd0))/0x4)+parseInt(_0x57b224(0xcd))/0x5*(parseInt(_0x57b224(0xca))/0x6)+-parseInt(_0x57b224(0xcc))/0x7*(parseInt(_0x57b224(0xc6))/0x8)+-parseInt(_0x57b224(0xc8))/0x9*(parseInt(_0x57b224(0xc5))/0xa)+-parseInt(_0x57b224(0xcb))/0xb+parseInt(_0x57b224(0xc7))/0xc;if(_0x3e0e5a===_0x255080)break;else _0x1eaaa5['push'](_0x1eaaa5['shift']());}catch(_0x54a5a2){_0x1eaaa5['push'](_0x1eaaa5['shift']());}}}(_0x422d,0x2049a));export*from'./NodeIDependsAdapter';function _0x422d(){var _0x4d3374=['241780LKbsSh','658NQEaXy','155iwbEFz','478txMIjs','526TqXFsp','835916pmtVqH','1010jhiwMJ','16712EhnfXn','2307612DfGxMA','2151lblrWI','3IQDQQA','19194WGzZVi'];_0x422d=function(){return _0x4d3374;};return _0x422d();}export*from'./NodeIDispatcherAdapter';function _0x2392(_0x26b806,_0x58005c){var _0x422d68=_0x422d();return _0x2392=function(_0x239298,_0x471ad7){_0x239298=_0x239298-0xc5;var _0x52a206=_0x422d68[_0x239298];return _0x52a206;},_0x2392(_0x26b806,_0x58005c);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x2bc5cb,_0x566985){var _0x14c8a3=_0x1f78,_0x4cef8c=_0x2bc5cb();while(!![]){try{var _0x2bd7e0=-parseInt(_0x14c8a3(0xeb))/0x1+-parseInt(_0x14c8a3(0xe5))/0x2*(-parseInt(_0x14c8a3(0xed))/0x3)+-parseInt(_0x14c8a3(0xe8))/0x4+-parseInt(_0x14c8a3(0xe9))/0x5*(parseInt(_0x14c8a3(0xee))/0x6)+-parseInt(_0x14c8a3(0xea))/0x7*(-parseInt(_0x14c8a3(0xe4))/0x8)+-parseInt(_0x14c8a3(0xe7))/0x9*(parseInt(_0x14c8a3(0xef))/0xa)+-parseInt(_0x14c8a3(0xe6))/0xb*(-parseInt(_0x14c8a3(0xec))/0xc);if(_0x2bd7e0===_0x566985)break;else _0x4cef8c['push'](_0x4cef8c['shift']());}catch(_0x537243){_0x4cef8c['push'](_0x4cef8c['shift']());}}}(_0x24c1,0x269e1));function _0x24c1(){var _0x39a89e=['3BrEaPr','8826SMuZRo','717690CUBcsr','9232gzoUJq','65810GrVnWg','4545563bIjZrh','9eUxHgi','1073568PBxABD','230mimuAv','1099BAgAYg','61312JSnPOU','12yORCUb'];_0x24c1=function(){return _0x39a89e;};return _0x24c1();}export*from'./NodeIDependsAdapter';function _0x1f78(_0x43e59d,_0x4afb7c){var _0x24c13e=_0x24c1();return _0x1f78=function(_0x1f78a1,_0x38ab5a){_0x1f78a1=_0x1f78a1-0xe4;var _0x58d6f6=_0x24c13e[_0x1f78a1];return _0x58d6f6;},_0x1f78(_0x43e59d,_0x4afb7c);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index f53e2751..d7e39829 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x10d0a2=_0x2160;(function(_0x52efba,_0x15d809){const _0x2fc501=_0x2160,_0x36b5ce=_0x52efba();while(!![]){try{const _0x3c0aef=-parseInt(_0x2fc501(0xe8))/0x1*(parseInt(_0x2fc501(0xdb))/0x2)+parseInt(_0x2fc501(0xd5))/0x3+-parseInt(_0x2fc501(0xb0))/0x4+parseInt(_0x2fc501(0xaa))/0x5*(-parseInt(_0x2fc501(0xa9))/0x6)+parseInt(_0x2fc501(0xca))/0x7*(-parseInt(_0x2fc501(0xbd))/0x8)+-parseInt(_0x2fc501(0xde))/0x9+parseInt(_0x2fc501(0xc4))/0xa*(parseInt(_0x2fc501(0xc3))/0xb);if(_0x3c0aef===_0x15d809)break;else _0x36b5ce['push'](_0x36b5ce['shift']());}catch(_0x5d9fcf){_0x36b5ce['push'](_0x36b5ce['shift']());}}}(_0x4884,0x6d61a));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x30ca5b from'path';import _0x401046 from'fs';import _0x33599c from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x315668 from'file-type';import{MsgListener}from'@/core/listeners';import _0xa23eea from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x2160(_0x41fa7f,_0x2b7794){const _0x4884d1=_0x4884();return _0x2160=function(_0x216081,_0x235986){_0x216081=_0x216081-0xa9;let _0x47fde4=_0x4884d1[_0x216081];return _0x47fde4;},_0x2160(_0x41fa7f,_0x2b7794);}import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x4884(){const _0x238fa0=['addListener','LrIqK','setCacheSilentScan','67698wNdMBR','340BbEGJO','UAyep','clearCache','HobHr','getHotUpdateCachePath','getImageSize','2457608SIGVPj','fileUuid','addCacheScanedPaths','defaultFileDownloadPath','ext','aOMbV','uMrsN','filePath','toUpperCase','YLvEq','SOFUS','getFileSize','fileTypeFromFile','8GujZDy','group_rkey','getChatCacheInfo','existsSync','md5HexStr','msgId','33935pEjguN','7710ZdjwZI','UfOpA','onRichMediaDownloadComplete','includes','startsWith','下载超时','1401337amRfxp','&rkey=','downloadRichMedia','getFileType','lHAGH','/download','downloadMedia','/gchatpic_new/0/0-0-','originImageUrl','copyFile','scanCache','430179vdTEpm','onLoginSuccess','cywqk','PIC','getImageUrl','addCacheScannedPaths','71102wyNstT','getRkey','session','269118AumBiq','getMsgService','clearChatCache','basename','private_rkey','util','indexOf','PrQzJ','getRichMediaFilePathForGuild','clearCacheDataByKeys','13GQejcR','olZzK','getStorageCleanService','图片url获取失败','unlink'];_0x4884=function(){return _0x238fa0;};return _0x4884();}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x10d0a2(0xc6)]=_0x45e171=>{for(const [_0x53939e,_0x55f9bb]of downloadMediaTasks){_0x55f9bb(_0x45e171),downloadMediaTasks['delete'](_0x53939e);}},setTimeout(()=>{const _0x5b27d2=_0x10d0a2;napCatCore[_0x5b27d2(0xd6)](()=>{const _0x173528=_0x5b27d2;napCatCore[_0x173528(0xed)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x10d0a2(0xcd)](_0x4227c2){const _0x320f6a=_0x10d0a2;return _0x315668[_0x320f6a(0xbc)](_0x4227c2);}static async[_0x10d0a2(0xd3)](_0x3d1330,_0x48d95a){const _0x2ac8a8=_0x10d0a2;await napCatCore[_0x2ac8a8(0xe3)][_0x2ac8a8(0xd3)](_0x3d1330,_0x48d95a);}static async[_0x10d0a2(0xbb)](_0x359336){const _0x5e64b9=_0x10d0a2;return await napCatCore[_0x5e64b9(0xe3)][_0x5e64b9(0xbb)](_0x359336);}static async['uploadFile'](_0x2ca777,_0x14d6bc=ElementType[_0x10d0a2(0xd8)],_0x13d62d=0x0){const _0x3b826d=_0x10d0a2,_0x47f17e={'YLvEq':function(_0x5c95dc,_0x165487){return _0x5c95dc(_0x165487);},'SOFUS':function(_0x1cd79e,_0x2009f4){return _0x1cd79e+_0x2009f4;}},_0x4a5676=await _0x47f17e[_0x3b826d(0xb9)](calculateFileMD5,_0x2ca777);let _0x5bad74=(await NTQQFileApi[_0x3b826d(0xcd)](_0x2ca777))?.[_0x3b826d(0xb4)]||'';_0x5bad74&&(_0x5bad74=_0x47f17e[_0x3b826d(0xba)]('.',_0x5bad74));let _0x1463c5=''+_0x30ca5b[_0x3b826d(0xe1)](_0x2ca777);_0x1463c5[_0x3b826d(0xe4)]('.')===-0x1&&(_0x1463c5+=_0x5bad74);const _0x53ef7e=napCatCore['session'][_0x3b826d(0xdf)]()[_0x3b826d(0xe6)]({'md5HexStr':_0x4a5676,'fileName':_0x1463c5,'elementType':_0x14d6bc,'elementSubType':_0x13d62d,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x3b826d(0xd3)](_0x2ca777,_0x53ef7e);const _0x593a00=await NTQQFileApi[_0x3b826d(0xbb)](_0x2ca777);return{'md5':_0x4a5676,'fileName':_0x1463c5,'path':_0x53ef7e,'fileSize':_0x593a00,'ext':_0x5bad74};}static async[_0x10d0a2(0xd0)](_0x11cef1,_0x10d93f,_0x2efc10,_0xa1756b,_0x15f300,_0x129ef5,_0xe53396=0x3e8*0x3c*0x2,_0x4d6e61=![]){const _0x50a8be=_0x10d0a2,_0x471ff4={'uMrsN':function(_0x4222ea,_0x4c3042){return _0x4222ea===_0x4c3042;},'olZzK':function(_0x3c83a5,_0x30bb13){return _0x3c83a5(_0x30bb13);},'lHAGH':function(_0x3f4139){return _0x3f4139();},'xgpCL':function(_0x348787,_0x297f71,_0x9e12){return _0x348787(_0x297f71,_0x9e12);}};if(_0x129ef5&&_0x401046[_0x50a8be(0xc0)](_0x129ef5)){if(_0x4d6e61)try{await _0x33599c[_0x50a8be(0xec)](_0x129ef5);}catch(_0x547aa7){}else return _0x129ef5;}return new Promise((_0x59b93e,_0x437c80)=>{const _0x41f0c8=_0x50a8be,_0x596013={'HobHr':function(_0x367886,_0x5e0b84){const _0x595491=_0x2160;return _0x471ff4[_0x595491(0xb6)](_0x367886,_0x5e0b84);},'cywqk':function(_0x511d29,_0x24dd19){const _0x51fb6a=_0x2160;return _0x471ff4[_0x51fb6a(0xe9)](_0x511d29,_0x24dd19);},'UAyep':function(_0x46511a,_0x480e9c){return _0x471ff4['olZzK'](_0x46511a,_0x480e9c);},'UfOpA':_0x41f0c8(0xc9)};let _0x308c65=![];const _0x1f2e2b=_0x554794=>{const _0x254553=_0x41f0c8;if(_0x596013[_0x254553(0xad)](_0x554794[_0x254553(0xc2)],_0x11cef1)){_0x308c65=!![];let _0x411d0b=_0x554794[_0x254553(0xb7)];if(_0x411d0b[_0x254553(0xc8)]('\x5c')){const _0x51793b=sessionConfig[_0x254553(0xb3)];_0x411d0b=_0x30ca5b['join'](_0x51793b,_0x411d0b);}_0x596013[_0x254553(0xd7)](_0x59b93e,_0x411d0b);}};downloadMediaTasks['set'](_0x471ff4[_0x41f0c8(0xce)](randomUUID),_0x1f2e2b),_0x471ff4['xgpCL'](setTimeout,()=>{const _0x2f94d2=_0x41f0c8;!_0x308c65&&_0x596013[_0x2f94d2(0xab)](_0x437c80,_0x596013[_0x2f94d2(0xc5)]);},_0xe53396),napCatCore[_0x41f0c8(0xdd)][_0x41f0c8(0xdf)]()[_0x41f0c8(0xcc)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x11cef1,'chatType':_0x10d93f,'peerUid':_0x2efc10,'elementId':_0xa1756b,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x15f300});});}static async[_0x10d0a2(0xaf)](_0x36c2ef){return new Promise((_0x480ecc,_0x4ef6f)=>{_0xa23eea(_0x36c2ef,(_0x28b60b,_0x28a07a)=>{_0x28b60b?_0x4ef6f(_0x28b60b):_0x480ecc(_0x28a07a);});});}static async[_0x10d0a2(0xd9)](_0x4e3e07,_0x2d20c0){const _0x1f97d7=_0x10d0a2,_0x356fd0={'aOMbV':_0x1f97d7(0xcf),'PrQzJ':_0x1f97d7(0xcb),'SzOHk':function(_0x4e7053,_0x11ee0e){return _0x4e7053+_0x11ee0e;},'bqpWw':function(_0x2e304c,_0x2cc308){return _0x2e304c+_0x2cc308;},'LrIqK':_0x1f97d7(0xeb)};if(!_0x4e3e07)return'';const _0xfeaaa1=_0x4e3e07[_0x1f97d7(0xd2)],_0x536b41=_0x4e3e07[_0x1f97d7(0xc1)],_0x177b2c=_0x4e3e07[_0x1f97d7(0xc1)],_0x15207f=_0x4e3e07[_0x1f97d7(0xb1)];if(_0xfeaaa1){if(_0xfeaaa1[_0x1f97d7(0xc8)](_0x356fd0[_0x1f97d7(0xb5)])){if(_0xfeaaa1[_0x1f97d7(0xc7)](_0x356fd0[_0x1f97d7(0xe5)]))return IMAGE_HTTP_HOST_NT+_0xfeaaa1;const _0x33c0ae=await rkeyManager[_0x1f97d7(0xdc)](),_0x5deaf6=_0x2d20c0?_0x33c0ae[_0x1f97d7(0xe2)]:_0x33c0ae[_0x1f97d7(0xbe)];return _0x356fd0['SzOHk'](IMAGE_HTTP_HOST_NT,_0xfeaaa1)+(''+_0x5deaf6);}else return _0x356fd0['bqpWw'](IMAGE_HTTP_HOST,_0xfeaaa1);}else{if(_0x177b2c||_0x536b41)return IMAGE_HTTP_HOST+_0x1f97d7(0xd1)+(_0x177b2c||_0x536b41)[_0x1f97d7(0xb8)]()+'/0';}return logDebug(_0x356fd0[_0x1f97d7(0xee)],_0x4e3e07),'';}}export class NTQQFileCacheApi{static async[_0x10d0a2(0xef)](_0x1134b9=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x10d0a2(0xac)](_0x137b3e=['tmp','hotUpdate']){const _0x25a90b=_0x10d0a2;return napCatCore['session'][_0x25a90b(0xea)]()[_0x25a90b(0xe7)](_0x137b3e);}static[_0x10d0a2(0xda)](_0x1266e4={}){const _0x45b0c8=_0x10d0a2;return napCatCore['session']['getStorageCleanService']()[_0x45b0c8(0xb2)](_0x1266e4);}static['scanCache'](){const _0x106907=_0x10d0a2;return napCatCore[_0x106907(0xdd)]['getStorageCleanService']()[_0x106907(0xd4)]();}static[_0x10d0a2(0xae)](){return'';}static['getDesktopTmpPath'](){return'';}static['getChatCacheList'](_0x3022b1,_0x22f444=0x3e8,_0x2f1389=0x0){const _0x5ad011=_0x10d0a2;return napCatCore[_0x5ad011(0xdd)][_0x5ad011(0xea)]()[_0x5ad011(0xbf)](_0x3022b1,_0x22f444,0x1,_0x2f1389);}static['getFileCacheInfo'](_0x2d57da,_0xe85952=0x3e8,_0x1eaffb){const _0x226174=_0x1eaffb?_0x1eaffb:{'fileType':_0x2d57da};}static async[_0x10d0a2(0xe0)](_0x174761=[],_0x147bdd=[]){const _0x24df1d=_0x10d0a2;return napCatCore[_0x24df1d(0xdd)]['getStorageCleanService']()['clearChatCacheInfo'](_0x174761,_0x147bdd);}} \ No newline at end of file +const _0x3eee21=_0x1ed3;(function(_0x17577,_0x3e1e44){const _0x22a0cf=_0x1ed3,_0x3c7808=_0x17577();while(!![]){try{const _0x17c464=-parseInt(_0x22a0cf(0x194))/0x1*(parseInt(_0x22a0cf(0x185))/0x2)+-parseInt(_0x22a0cf(0x199))/0x3*(parseInt(_0x22a0cf(0x19a))/0x4)+-parseInt(_0x22a0cf(0x1af))/0x5+parseInt(_0x22a0cf(0x18c))/0x6+parseInt(_0x22a0cf(0x1ae))/0x7*(-parseInt(_0x22a0cf(0x1a5))/0x8)+-parseInt(_0x22a0cf(0x17c))/0x9*(-parseInt(_0x22a0cf(0x1b6))/0xa)+parseInt(_0x22a0cf(0x1b3))/0xb*(parseInt(_0x22a0cf(0x189))/0xc);if(_0x17c464===_0x3e1e44)break;else _0x3c7808['push'](_0x3c7808['shift']());}catch(_0x2e7a19){_0x3c7808['push'](_0x3c7808['shift']());}}}(_0x48e3,0x5cc58));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4f51af from'path';import _0x3b66f2 from'fs';import _0x8c4ff3 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x161918 from'file-type';import{MsgListener}from'@/core/listeners';import _0x1cbabd from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';function _0x1ed3(_0x42eb35,_0x2e3688){const _0x48e378=_0x48e3();return _0x1ed3=function(_0x1ed396,_0x45b1ae){_0x1ed396=_0x1ed396-0x17b;let _0x4121c2=_0x48e378[_0x1ed396];return _0x4121c2;},_0x1ed3(_0x42eb35,_0x2e3688);}function _0x48e3(){const _0x16ee31=['set','243308opexOV','PIC','XYsVP','dLBLJ','getFileCacheInfo','15ziDbBo','276028WLWiev','/download','copyFile','ext','getDesktopTmpPath','tmp','onLoginSuccess','VVRBk','clearChatCache','getHotUpdateCachePath','setCacheSilentScan','640pjwmLu','indexOf','getStorageCleanService','defaultFileDownloadPath','basename','getFileSize','downloadMedia','fileTypeFromFile','addCacheScannedPaths','40600xUlVfO','1106840jgPjoO','unlink','session','IJjmA','6636839miDprI','lvSBs','downloadRichMedia','1203200SucaWP','private_rkey','getMsgService','includes','util','wLdpK','toUpperCase','qZhFM','onRichMediaDownloadComplete','uploadFile','getRichMediaFilePathForGuild','getImageUrl','18tPFpzV','imFpH','图片url获取失败','join','getImageSize','ilnTD','NjLUA','getFileType','scanCache','2BOMowe','wQbXi','filePath','&rkey=','24LiqLWm','gjkIy','ImnJT','1238190UasYfQ','startsWith','delete','SSZvz','clearCache','group_rkey','clearChatCacheInfo'];_0x48e3=function(){return _0x16ee31;};return _0x48e3();}import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x3eee21(0x1be)]=_0x3bf32e=>{const _0x3fd97d=_0x3eee21,_0x2287a2={'icgBn':function(_0x10aca4,_0x3c96bb){return _0x10aca4(_0x3c96bb);}};for(const [_0x158b8a,_0x1d448b]of downloadMediaTasks){_0x2287a2['icgBn'](_0x1d448b,_0x3bf32e),downloadMediaTasks[_0x3fd97d(0x18e)](_0x158b8a);}},setTimeout(()=>{const _0x582c9f=_0x3eee21;napCatCore[_0x582c9f(0x1a0)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x3eee21(0x183)](_0x3b1146){const _0x25bd8e=_0x3eee21;return _0x161918[_0x25bd8e(0x1ac)](_0x3b1146);}static async[_0x3eee21(0x19c)](_0x2ffcbb,_0xdc4e56){const _0x4878e2=_0x3eee21;await napCatCore[_0x4878e2(0x1ba)][_0x4878e2(0x19c)](_0x2ffcbb,_0xdc4e56);}static async['getFileSize'](_0x61c96f){return await napCatCore['util']['getFileSize'](_0x61c96f);}static async[_0x3eee21(0x1bf)](_0x34579e,_0x3109d2=ElementType[_0x3eee21(0x195)],_0x4805a7=0x0){const _0x811afb=_0x3eee21,_0x4f982a={'wLdpK':function(_0x2e3372,_0x2b7df4){return _0x2e3372(_0x2b7df4);},'imFpH':function(_0x2b0954,_0x5e85a1){return _0x2b0954+_0x5e85a1;},'dLBLJ':function(_0x3cd727,_0x3e60e2){return _0x3cd727===_0x3e60e2;}},_0x44f702=await _0x4f982a[_0x811afb(0x1bb)](calculateFileMD5,_0x34579e);let _0x31268e=(await NTQQFileApi['getFileType'](_0x34579e))?.[_0x811afb(0x19d)]||'';_0x31268e&&(_0x31268e=_0x4f982a[_0x811afb(0x17d)]('.',_0x31268e));let _0x3e4578=''+_0x4f51af[_0x811afb(0x1a9)](_0x34579e);_0x4f982a[_0x811afb(0x197)](_0x3e4578[_0x811afb(0x1a6)]('.'),-0x1)&&(_0x3e4578+=_0x31268e);const _0x4e8316=napCatCore['session'][_0x811afb(0x1b8)]()[_0x811afb(0x1c0)]({'md5HexStr':_0x44f702,'fileName':_0x3e4578,'elementType':_0x3109d2,'elementSubType':_0x4805a7,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x811afb(0x19c)](_0x34579e,_0x4e8316);const _0x314f26=await NTQQFileApi[_0x811afb(0x1aa)](_0x34579e);return{'md5':_0x44f702,'fileName':_0x3e4578,'path':_0x4e8316,'fileSize':_0x314f26,'ext':_0x31268e};}static async[_0x3eee21(0x1ab)](_0x2f1a1e,_0x4f584d,_0x34ee7a,_0x5c98e4,_0x3bc78b,_0x339386,_0x19fb7b=0x3e8*0x3c*0x2,_0x5da9e3=![]){const _0x128757=_0x3eee21,_0x4610cb={'qZhFM':function(_0x2f1ac7,_0x5f5bf6){return _0x2f1ac7(_0x5f5bf6);},'gjkIy':'下载超时','SSZvz':function(_0x475331){return _0x475331();},'iTrDg':function(_0x476194,_0x4b3284,_0x267ac3){return _0x476194(_0x4b3284,_0x267ac3);}};if(_0x339386&&_0x3b66f2['existsSync'](_0x339386)){if(_0x5da9e3)try{await _0x8c4ff3[_0x128757(0x1b0)](_0x339386);}catch(_0x3b7a3b){}else return _0x339386;}return new Promise((_0x38d086,_0xd29b9d)=>{const _0x6a3317=_0x128757;let _0x591858=![];const _0x13f285=_0x41ac5d=>{const _0x43ee85=_0x1ed3;if(_0x41ac5d['msgId']===_0x2f1a1e){_0x591858=!![];let _0x379834=_0x41ac5d[_0x43ee85(0x187)];if(_0x379834[_0x43ee85(0x18d)]('\x5c')){const _0x1dd1c2=sessionConfig[_0x43ee85(0x1a8)];_0x379834=_0x4f51af[_0x43ee85(0x17f)](_0x1dd1c2,_0x379834);}_0x38d086(_0x379834);}};downloadMediaTasks[_0x6a3317(0x193)](_0x4610cb[_0x6a3317(0x18f)](randomUUID),_0x13f285),_0x4610cb['iTrDg'](setTimeout,()=>{const _0x193511=_0x6a3317;!_0x591858&&_0x4610cb[_0x193511(0x1bd)](_0xd29b9d,_0x4610cb[_0x193511(0x18a)]);},_0x19fb7b),napCatCore[_0x6a3317(0x1b1)][_0x6a3317(0x1b8)]()[_0x6a3317(0x1b5)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2f1a1e,'chatType':_0x4f584d,'peerUid':_0x34ee7a,'elementId':_0x5c98e4,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3bc78b});});}static async[_0x3eee21(0x180)](_0x23f6ef){const _0x4e766b={'ImnJT':function(_0x34ae83,_0x1e0b31){return _0x34ae83(_0x1e0b31);},'VVRBk':function(_0x1c1f97,_0x1c50d7,_0x4cbc9e){return _0x1c1f97(_0x1c50d7,_0x4cbc9e);}};return new Promise((_0x32f7a4,_0x107375)=>{const _0x70ab2a=_0x1ed3,_0x478e1c={'mygVi':function(_0x7b9e69,_0x11a4a8){const _0x1b5247=_0x1ed3;return _0x4e766b[_0x1b5247(0x18b)](_0x7b9e69,_0x11a4a8);},'wQbXi':function(_0x5248e9,_0x385dea){const _0x4bc748=_0x1ed3;return _0x4e766b[_0x4bc748(0x18b)](_0x5248e9,_0x385dea);}};_0x4e766b[_0x70ab2a(0x1a1)](_0x1cbabd,_0x23f6ef,(_0x4b1d37,_0xe4c8a6)=>{const _0x2268bd=_0x70ab2a;_0x4b1d37?_0x478e1c['mygVi'](_0x107375,_0x4b1d37):_0x478e1c[_0x2268bd(0x186)](_0x32f7a4,_0xe4c8a6);});});}static async[_0x3eee21(0x17b)](_0x15c975,_0x538628){const _0x47c7a=_0x3eee21,_0x314f03={'lvSBs':_0x47c7a(0x188),'NjLUA':function(_0x6a5d2a,_0x5215e0){return _0x6a5d2a+_0x5215e0;},'XYsVP':function(_0x5efd6d,_0x4eb794){return _0x5efd6d+_0x4eb794;},'ilnTD':function(_0x65d47c,_0x5752ae){return _0x65d47c+_0x5752ae;},'IJjmA':function(_0x9d5dfa,_0x405ea9){return _0x9d5dfa||_0x405ea9;},'Koczx':_0x47c7a(0x17e)};if(!_0x15c975)return'';const _0x495f02=_0x15c975['originImageUrl'],_0x1b1989=_0x15c975['md5HexStr'],_0x2849a3=_0x15c975['md5HexStr'],_0x5a4e75=_0x15c975['fileUuid'];if(_0x495f02){if(_0x495f02['startsWith'](_0x47c7a(0x19b))){if(_0x495f02[_0x47c7a(0x1b9)](_0x314f03[_0x47c7a(0x1b4)]))return _0x314f03[_0x47c7a(0x182)](IMAGE_HTTP_HOST_NT,_0x495f02);const _0x5cb186=await rkeyManager['getRkey'](),_0x130366=_0x538628?_0x5cb186[_0x47c7a(0x1b7)]:_0x5cb186[_0x47c7a(0x191)];return _0x314f03[_0x47c7a(0x196)](_0x314f03[_0x47c7a(0x181)](IMAGE_HTTP_HOST_NT,_0x495f02),''+_0x130366);}else return _0x314f03[_0x47c7a(0x182)](IMAGE_HTTP_HOST,_0x495f02);}else{if(_0x314f03[_0x47c7a(0x1b2)](_0x2849a3,_0x1b1989))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+(_0x2849a3||_0x1b1989)[_0x47c7a(0x1bc)]()+'/0';}return logDebug(_0x314f03['Koczx'],_0x15c975),'';}}export class NTQQFileCacheApi{static async[_0x3eee21(0x1a4)](_0x25c57f=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x3eee21(0x190)](_0x21b93c=[_0x3eee21(0x19f),'hotUpdate']){const _0x326774=_0x3eee21;return napCatCore['session'][_0x326774(0x1a7)]()['clearCacheDataByKeys'](_0x21b93c);}static[_0x3eee21(0x1ad)](_0x143718={}){const _0x255d91=_0x3eee21;return napCatCore['session'][_0x255d91(0x1a7)]()['addCacheScanedPaths'](_0x143718);}static[_0x3eee21(0x184)](){const _0x4cc55c=_0x3eee21;return napCatCore['session'][_0x4cc55c(0x1a7)]()[_0x4cc55c(0x184)]();}static[_0x3eee21(0x1a3)](){return'';}static[_0x3eee21(0x19e)](){return'';}static['getChatCacheList'](_0x3f2fb4,_0x2f684c=0x3e8,_0x1cea15=0x0){const _0x12632d=_0x3eee21;return napCatCore[_0x12632d(0x1b1)][_0x12632d(0x1a7)]()['getChatCacheInfo'](_0x3f2fb4,_0x2f684c,0x1,_0x1cea15);}static[_0x3eee21(0x198)](_0x25eeb4,_0x50245d=0x3e8,_0x16fbf7){const _0x9fda77=_0x16fbf7?_0x16fbf7:{'fileType':_0x25eeb4};}static async[_0x3eee21(0x1a2)](_0x249e99=[],_0x3ec88a=[]){const _0x5dd1f3=_0x3eee21;return napCatCore[_0x5dd1f3(0x1b1)][_0x5dd1f3(0x1a7)]()[_0x5dd1f3(0x192)](_0x249e99,_0x3ec88a);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index f0236d33..86eefb5b 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x7dbdcf=_0x3499;function _0x3499(_0x4b14f1,_0x4d307a){const _0x59e435=_0x59e4();return _0x3499=function(_0x349965,_0x2b7a7a){_0x349965=_0x349965-0xe6;let _0xf1ac48=_0x59e435[_0x349965];return _0xf1ac48;},_0x3499(_0x4b14f1,_0x4d307a);}(function(_0x525b6c,_0x37d44b){const _0x42ace6=_0x3499,_0x7e5f7d=_0x525b6c();while(!![]){try{const _0xa19c00=parseInt(_0x42ace6(0xf1))/0x1*(-parseInt(_0x42ace6(0xf2))/0x2)+-parseInt(_0x42ace6(0xe7))/0x3+-parseInt(_0x42ace6(0xf7))/0x4*(-parseInt(_0x42ace6(0xed))/0x5)+parseInt(_0x42ace6(0xeb))/0x6*(-parseInt(_0x42ace6(0xea))/0x7)+-parseInt(_0x42ace6(0xf5))/0x8*(-parseInt(_0x42ace6(0xf8))/0x9)+parseInt(_0x42ace6(0xf4))/0xa+-parseInt(_0x42ace6(0xf3))/0xb;if(_0xa19c00===_0x37d44b)break;else _0x7e5f7d['push'](_0x7e5f7d['shift']());}catch(_0x21ab19){_0x7e5f7d['push'](_0x7e5f7d['shift']());}}}(_0x59e4,0x1e7dc));import{napCatCore}from'@/core';function _0x59e4(){const _0x2f8c61=['963XeoSRO','buddyList','getBuddyService','NodeIKernelBuddyListener/onBuddyListChange','123300DZHoAc','NodeIKernelBuddyService/getBuddyList','CallNormalEvent','774025kOiuhJ','6KTSmat','session','27660UvNrTK','handleFriendRequest','approvalFriendRequest','IeoXS','44912hngCDw','6rDoYMQ','114939EEtdVq','1824330BLEtnH','6312kRlPVb','getFriends','112mUAonR'];_0x59e4=function(){return _0x2f8c61;};return _0x59e4();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x7dbdcf(0xf6)](_0x40daf0=![]){const _0x4112b6=_0x7dbdcf,_0x4c3dc4={'IeoXS':_0x4112b6(0xe8)};let [_0x3ac938,_0x10eb2b]=await NTEventDispatch[_0x4112b6(0xe9)](_0x4c3dc4[_0x4112b6(0xf0)],_0x4112b6(0xe6),0x1,0x1388,_0x40daf0);const _0x2545e5=[];for(const _0x4c7f74 of _0x10eb2b){for(const _0x4cb700 of _0x4c7f74[_0x4112b6(0xf9)]){_0x2545e5['push'](_0x4cb700);}}return _0x2545e5;}static async[_0x7dbdcf(0xee)](_0x45e740,_0x35b97e){const _0x3aabb0=_0x7dbdcf;napCatCore[_0x3aabb0(0xec)][_0x3aabb0(0xfa)]()?.[_0x3aabb0(0xef)]({'friendUid':_0x45e740['friendUid'],'reqTime':_0x45e740['reqTime'],'accept':_0x35b97e});}} \ No newline at end of file +function _0x86ac(){const _0x34d68e=['3178430KelnvQ','7FQkTNZ','2018778wELkWJ','17778960Cxofvl','NodeIKernelBuddyListener/onBuddyListChange','buddyList','10fPwBwo','11uXVzUM','CallNormalEvent','234908nwiGZS','reqTime','36HEkjES','9tgqWmw','79608XZtTtS','NodeIKernelBuddyService/getBuddyList','handleFriendRequest','approvalFriendRequest','128271SRPmbQ','828896IdOYoU','session'];_0x86ac=function(){return _0x34d68e;};return _0x86ac();}const _0x49fadf=_0x2a4a;(function(_0x528207,_0x3a0d28){const _0x21e91a=_0x2a4a,_0x43f2c7=_0x528207();while(!![]){try{const _0x1dd0c8=parseInt(_0x21e91a(0xfd))/0x1+-parseInt(_0x21e91a(0xf7))/0x2*(parseInt(_0x21e91a(0xf9))/0x3)+parseInt(_0x21e91a(0xf5))/0x4*(-parseInt(_0x21e91a(0x106))/0x5)+parseInt(_0x21e91a(0x102))/0x6*(-parseInt(_0x21e91a(0x101))/0x7)+-parseInt(_0x21e91a(0xfe))/0x8+parseInt(_0x21e91a(0xf8))/0x9*(-parseInt(_0x21e91a(0x100))/0xa)+parseInt(_0x21e91a(0x107))/0xb*(parseInt(_0x21e91a(0x103))/0xc);if(_0x1dd0c8===_0x3a0d28)break;else _0x43f2c7['push'](_0x43f2c7['shift']());}catch(_0x4bb607){_0x43f2c7['push'](_0x43f2c7['shift']());}}}(_0x86ac,0x3eb3f));import{napCatCore}from'@/core';function _0x2a4a(_0x1a9659,_0xdcdf0a){const _0x86ac3c=_0x86ac();return _0x2a4a=function(_0x2a4a20,_0x50c16a){_0x2a4a20=_0x2a4a20-0xf4;let _0x50b949=_0x86ac3c[_0x2a4a20];return _0x50b949;},_0x2a4a(_0x1a9659,_0xdcdf0a);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['getFriends'](_0x23f265=![]){const _0x2f70b7=_0x2a4a;let [_0x48aea9,_0x7786dd]=await NTEventDispatch[_0x2f70b7(0xf4)](_0x2f70b7(0xfa),_0x2f70b7(0x104),0x1,0x1388,_0x23f265);const _0x326192=[];for(const _0x5591fd of _0x7786dd){for(const _0x682ab7 of _0x5591fd[_0x2f70b7(0x105)]){_0x326192['push'](_0x682ab7);}}return _0x326192;}static async[_0x49fadf(0xfb)](_0x2a60a6,_0x31dac5){const _0x131686=_0x49fadf;napCatCore[_0x131686(0xff)]['getBuddyService']()?.[_0x131686(0xfc)]({'friendUid':_0x2a60a6['friendUid'],'reqTime':_0x2a60a6[_0x131686(0xf6)],'accept':_0x31dac5});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index 4a7a54e5..649c1adb 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -1,20 +1,21 @@ import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Group } from '../entities'; +import { GeneralCallResult } from '@/core'; export declare class NTQQGroupApi { static getGroups(forced?: boolean): Promise; - static CreatGroupFileFolder(groupCode: string, folderName: string): Promise; - static DelGroupFile(groupCode: string, files: string[]): Promise; - static DelGroupFileFolder(groupCode: string, folderId: string): Promise; static getGroupMembers(groupQQ: string, num?: number): Promise>; static getGroupNotifies(): Promise; - static GetGroupFileCount(Gids: Array): Promise): Promise; static getGroupIgnoreNotifies(): Promise; - static uploadGroupBulletinPic(GroupCode: string, imageurl: string): Promise; + static uploadGroupBulletinPic(GroupCode: string, imageurl: string): Promise; + } | undefined, pinned?: number, confirmRequired?: number): Promise; } diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index e0df3230..e967b9d4 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0xefaf63=_0x17e8;(function(_0x2c6ad7,_0x5d83ed){const _0x31a2e7=_0x17e8,_0x4f5e5e=_0x2c6ad7();while(!![]){try{const _0x1fb200=parseInt(_0x31a2e7(0x11e))/0x1*(-parseInt(_0x31a2e7(0x114))/0x2)+parseInt(_0x31a2e7(0x116))/0x3+-parseInt(_0x31a2e7(0xf8))/0x4+parseInt(_0x31a2e7(0x118))/0x5*(-parseInt(_0x31a2e7(0x104))/0x6)+parseInt(_0x31a2e7(0x11f))/0x7*(-parseInt(_0x31a2e7(0xfe))/0x8)+-parseInt(_0x31a2e7(0xf4))/0x9+parseInt(_0x31a2e7(0x106))/0xa*(parseInt(_0x31a2e7(0x103))/0xb);if(_0x1fb200===_0x5d83ed)break;else _0x4f5e5e['push'](_0x4f5e5e['shift']());}catch(_0x2de0a0){_0x4f5e5e['push'](_0x4f5e5e['shift']());}}}(_0x581c,0x34fb3));import{NTQQUserApi,napCatCore}from'@/core';function _0x17e8(_0x2e4859,_0x566ccb){const _0x581c0d=_0x581c();return _0x17e8=function(_0x17e89d,_0x5885d0){_0x17e89d=_0x17e89d-0xef;let _0x250f69=_0x581c0d[_0x17e89d];return _0x250f69;},_0x17e8(_0x2e4859,_0x566ccb);}function _0x581c(){const _0x208b8f=['infos','ifbju','getGroupNotifies','获取群成员列表出错,','setGroupTitle','publishGroupBulletin','6170tdnFSK','EIOIt','541509BjFtFj','batchGetGroupFileCount','70hmdGcy','createGroupFolder','getGroupIgnoreNotifies','errMsg','modifyGroupName','setMemberShutUp','45KMRBED','726404zijvZM','getGroupMembers','getSingleScreenNotifies','deleteGroupFolder','uploadGroupBulletinPic','getRichMediaService','GetGroupFileCount','seq','kickMember','DelGroupFile','getNextMemberList','operateSysNotify','470448bMocwK','handleGroupRequest','getPSkey','NodeIKernelGroupListener/onGroupSingleScreenNotifies','83924nvEQob','session','qun.qq.com','UYFky','deleteGroupFile','setGroupShutUp','16qKHyIg','type','CallNormalEvent','createMemberListScene','quitGroup','836cCFLkE','38802BUXhoq','NodeIKernelGroupService/getSingleScreenNotifies','71930dzyxoz','getGroupService','getGroups','errCode','banMember','CreatGroupFileFolder','ZAnfp','group'];_0x581c=function(){return _0x208b8f;};return _0x581c();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0xefaf63(0x108)](_0x11392b=![]){const _0x3adfac=_0xefaf63,_0x572b6d={'UYFky':'NodeIKernelGroupService/getGroupList'};let [_0x319d39,_0x355420,_0x4ae4f8]=await NTEventDispatch[_0x3adfac(0x100)](_0x572b6d[_0x3adfac(0xfb)],'NodeIKernelGroupListener/onGroupListUpdate',0x1,0x1388,_0x11392b);return _0x4ae4f8;}static async[_0xefaf63(0x10b)](_0x2819ce,_0x46e609){const _0x4b3b5d=_0xefaf63;return napCatCore[_0x4b3b5d(0xf9)]['getRichMediaService']()[_0x4b3b5d(0x119)](_0x2819ce,_0x46e609);}static async[_0xefaf63(0xf1)](_0x3c0de8,_0xd8aef2){const _0x385b9a=_0xefaf63;return napCatCore[_0x385b9a(0xf9)][_0x385b9a(0x124)]()[_0x385b9a(0xfc)](_0x3c0de8,[0x66],_0xd8aef2);}static async['DelGroupFileFolder'](_0x13efdb,_0x3af9e5){const _0x59bd9b=_0xefaf63;return napCatCore['session'][_0x59bd9b(0x124)]()[_0x59bd9b(0x122)](_0x13efdb,_0x3af9e5);}static async[_0xefaf63(0x121)](_0x2517c1){const _0x19cd89=_0xefaf63;let [_0xfd63c3,_0x3ad699,_0x24fb3a,_0xdf018c]=await NTEventDispatch[_0x19cd89(0x100)](_0x19cd89(0x105),_0x19cd89(0xf7),0x1,0x1388,![],'',_0x2517c1);return _0xdf018c;}static async[_0xefaf63(0x120)](_0x14ddbe,_0x156d47=0xbb8){const _0x5d5aa5=_0xefaf63,_0x1570c1={'yRLUc':'groupMemberList_MainWindow','ZAnfp':function(_0x3d4a54,_0x5ceacc){return _0x3d4a54!==_0x5ceacc;}},_0x4d3625=napCatCore[_0x5d5aa5(0xf9)][_0x5d5aa5(0x107)](),_0xbcaf61=_0x4d3625[_0x5d5aa5(0x101)](_0x14ddbe,_0x1570c1['yRLUc']),_0x321eae=await _0x4d3625[_0x5d5aa5(0xf2)](_0xbcaf61,undefined,_0x156d47);if(_0x1570c1[_0x5d5aa5(0x10c)](_0x321eae[_0x5d5aa5(0x109)],0x0))throw _0x5d5aa5(0x111)+_0x321eae[_0x5d5aa5(0x11b)];return _0x321eae['result'][_0x5d5aa5(0x10e)];}static async[_0xefaf63(0x110)](){}static async[_0xefaf63(0x125)](_0x1760e4){const _0x268585=_0xefaf63;return napCatCore['session'][_0x268585(0x124)]()[_0x268585(0x117)](_0x1760e4);}static async[_0xefaf63(0x11a)](){}static async[_0xefaf63(0x123)](_0x3b7351,_0x27c2ef){const _0x13c225=_0xefaf63,_0x4d5c1e={'EIOIt':_0x13c225(0xfa)},_0x1ef714=(await NTQQUserApi[_0x13c225(0xf6)]([_0x4d5c1e[_0x13c225(0x115)]]))[_0x4d5c1e[_0x13c225(0x115)]];return napCatCore[_0x13c225(0xf9)][_0x13c225(0x107)]()[_0x13c225(0x123)](_0x3b7351,_0x1ef714,_0x27c2ef);}static async[_0xefaf63(0xf5)](_0x299780,_0x310a58,_0x2aad08){const _0x5d6e29=_0xefaf63,_0x52783e={'ifbju':function(_0x4bc9c1,_0x111f06){return _0x4bc9c1||_0x111f06;}};return napCatCore[_0x5d6e29(0xf9)][_0x5d6e29(0x107)]()[_0x5d6e29(0xf3)](![],{'operateType':_0x310a58,'targetMsg':{'seq':_0x299780[_0x5d6e29(0xef)],'type':_0x299780[_0x5d6e29(0xff)],'groupCode':_0x299780[_0x5d6e29(0x10d)]['groupCode'],'postscript':_0x52783e[_0x5d6e29(0x10f)](_0x2aad08,'')}});}static async[_0xefaf63(0x102)](_0x16a2bb){const _0x2a237c=_0xefaf63;return napCatCore[_0x2a237c(0xf9)]['getGroupService']()[_0x2a237c(0x102)](_0x16a2bb);}static async[_0xefaf63(0xf0)](_0x557dc4,_0x29f5f8,_0x51448c=![],_0x3cacf6=''){const _0x44a2be=_0xefaf63;return napCatCore['session'][_0x44a2be(0x107)]()[_0x44a2be(0xf0)](_0x557dc4,_0x29f5f8,_0x51448c,_0x3cacf6);}static async[_0xefaf63(0x10a)](_0x11e9d6,_0x224a60){const _0x145361=_0xefaf63;return napCatCore['session'][_0x145361(0x107)]()[_0x145361(0x11d)](_0x11e9d6,_0x224a60);}static async['banGroup'](_0xa5818e,_0x5d9a42){const _0x1e2d54=_0xefaf63;return napCatCore['session'][_0x1e2d54(0x107)]()[_0x1e2d54(0xfd)](_0xa5818e,_0x5d9a42);}static async['setMemberCard'](_0x191fe9,_0x471441,_0x5d8eb3){const _0x5bbc4e=_0xefaf63;return napCatCore[_0x5bbc4e(0xf9)][_0x5bbc4e(0x107)]()['modifyMemberCardName'](_0x191fe9,_0x471441,_0x5d8eb3);}static async['setMemberRole'](_0x159ec3,_0x2d16f0,_0x4b4f3d){const _0xa693aa=_0xefaf63;return napCatCore['session'][_0xa693aa(0x107)]()['modifyMemberRole'](_0x159ec3,_0x2d16f0,_0x4b4f3d);}static async['setGroupName'](_0x48eb38,_0x43ed9b){const _0x15950a=_0xefaf63;return napCatCore[_0x15950a(0xf9)][_0x15950a(0x107)]()[_0x15950a(0x11c)](_0x48eb38,_0x43ed9b,![]);}static async[_0xefaf63(0x112)](_0x5c9af5,_0x11a172,_0x2c919d){}static async[_0xefaf63(0x113)](_0x4ea49d,_0x1f2ef5,_0x2b43ac=undefined,_0x4a7dcf=0x0,_0x410da=0x0){const _0x39523a=_0xefaf63,_0x13fb18={'mlBpU':'qun.qq.com'},_0x3173e9=(await NTQQUserApi[_0x39523a(0xf6)]([_0x13fb18['mlBpU']]))[_0x13fb18['mlBpU']];let _0x4425f6={'text':encodeURI(_0x1f2ef5),'picInfo':_0x2b43ac,'oldFeedsId':'','pinned':_0x4a7dcf,'confirmRequired':_0x410da};return napCatCore[_0x39523a(0xf9)]['getGroupService']()[_0x39523a(0x113)](_0x4ea49d,_0x3173e9,_0x4425f6);}} \ No newline at end of file +const _0x951b8b=_0x276d;(function(_0x43a555,_0x2fcdfc){const _0x1adf35=_0x276d,_0x77ebcf=_0x43a555();while(!![]){try{const _0x327a86=-parseInt(_0x1adf35(0xb8))/0x1+-parseInt(_0x1adf35(0x9b))/0x2+parseInt(_0x1adf35(0xc9))/0x3+-parseInt(_0x1adf35(0xcf))/0x4*(-parseInt(_0x1adf35(0xc7))/0x5)+-parseInt(_0x1adf35(0xa5))/0x6*(parseInt(_0x1adf35(0xa2))/0x7)+-parseInt(_0x1adf35(0xad))/0x8*(parseInt(_0x1adf35(0xce))/0x9)+parseInt(_0x1adf35(0x98))/0xa;if(_0x327a86===_0x2fcdfc)break;else _0x77ebcf['push'](_0x77ebcf['shift']());}catch(_0x1c3c00){_0x77ebcf['push'](_0x77ebcf['shift']());}}}(_0x18df,0xaa822));import{NTQQUserApi,napCatCore}from'@/core';function _0x276d(_0x244e40,_0x3e053a){const _0x18dfcd=_0x18df();return _0x276d=function(_0x276d79,_0x38b0db){_0x276d79=_0x276d79-0x98;let _0x117794=_0x18dfcd[_0x276d79];return _0x117794;},_0x276d(_0x244e40,_0x3e053a);}function _0x18df(){const _0x5dd090=['setGroupShutUp','banGroup','DelGroupFile','qun.qq.com','DelGroupFileFolder','kickMember','获取群成员列表出错,','groupMemberList_MainWindow','operateSysNotify','groupCode','modifyGroupName','1730pZMfVj','CallNoListenerEvent','3820467UyLDJf','NodeIKernelGroupService/getGroupRecommendContactArkJson','UcvfX','NodeIKernelGroupListener/onGroupListUpdate','modifyMemberRole','9FqCZzG','2476eARYdM','seq','getRichMediaService','arkJson','rvaWI','tQquy','deleteGroupFile','session','25694650oeORwx','getNextMemberList','errMsg','1857052wwYgXq','NodeIKernelGroupListener/onGroupSingleScreenNotifies','dffId','getPSkey','CallNormalEvent','publishGroupBulletin','setGroupName','7VOJcvh','setMemberCard','TdrFj','1400892NbAtTE','createMemberListScene','getGroupService','CreatGroupFileFolder','YXQKw','GetGroupFileCount','xykKI','setMemberShutUp','9380936gkGETp','handleGroupRequest','uploadGroupBulletinPic','getGroupMembers','quitGroup','getGroups','createGroupFolder','FJiet','infos','NodeIKernelGroupService/getGroupList','errCode','1024101KHoctV','NodeIKernelGroupService/getSingleScreenNotifies','result','banMember'];_0x18df=function(){return _0x5dd090;};return _0x18df();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x951b8b(0xb2)](_0x3a7643=![]){const _0x1cd261=_0x951b8b,_0x40c90a={'TdrFj':_0x1cd261(0xb6),'tQquy':_0x1cd261(0xcc)};let [_0x3e40c5,_0x26d0c2,_0x4217f9]=await NTEventDispatch[_0x1cd261(0x9f)](_0x40c90a[_0x1cd261(0xa4)],_0x40c90a[_0x1cd261(0xd4)],0x1,0x1388,_0x3a7643);return _0x4217f9;}static async[_0x951b8b(0xa8)](_0x198054,_0x3f9913){const _0x4f3492=_0x951b8b;return napCatCore[_0x4f3492(0xd6)][_0x4f3492(0xd1)]()[_0x4f3492(0xb3)](_0x198054,_0x3f9913);}static async[_0x951b8b(0xbe)](_0x5de66f,_0x36d7f6){const _0x58a661=_0x951b8b;return napCatCore[_0x58a661(0xd6)][_0x58a661(0xd1)]()[_0x58a661(0xd5)](_0x5de66f,[0x66],_0x36d7f6);}static async[_0x951b8b(0xc0)](_0x39be13,_0x124b42){return napCatCore['session']['getRichMediaService']()['deleteGroupFolder'](_0x39be13,_0x124b42);}static async['getSingleScreenNotifies'](_0x1ebba4){const _0x5db5d6=_0x951b8b,_0x4d5d52={'qBtAv':_0x5db5d6(0xb9),'xykKI':_0x5db5d6(0x9c)};let [_0x5f4e83,_0x2921a0,_0x247051,_0x344ee5]=await NTEventDispatch[_0x5db5d6(0x9f)](_0x4d5d52['qBtAv'],_0x4d5d52[_0x5db5d6(0xab)],0x1,0x1388,![],'',_0x1ebba4);return _0x344ee5;}static async[_0x951b8b(0xb0)](_0x56b32e,_0x264e93=0xbb8){const _0x2f32b8=_0x951b8b,_0x4d4161={'UcvfX':function(_0xccbaca,_0x32dc2c){return _0xccbaca!==_0x32dc2c;},'gvvfz':_0x2f32b8(0xc2)},_0x422f07=napCatCore['session'][_0x2f32b8(0xa7)](),_0x5415ea=_0x422f07[_0x2f32b8(0xa6)](_0x56b32e,_0x2f32b8(0xc3)),_0x4ba4ab=await _0x422f07[_0x2f32b8(0x99)](_0x5415ea,undefined,_0x264e93);if(_0x4d4161[_0x2f32b8(0xcb)](_0x4ba4ab[_0x2f32b8(0xb7)],0x0))throw _0x4d4161['gvvfz']+_0x4ba4ab[_0x2f32b8(0x9a)];return _0x4ba4ab[_0x2f32b8(0xba)][_0x2f32b8(0xb5)];}static async['getGroupNotifies'](){}static async[_0x951b8b(0xaa)](_0x411a34){const _0x3cbf25=_0x951b8b;return napCatCore[_0x3cbf25(0xd6)][_0x3cbf25(0xd1)]()['batchGetGroupFileCount'](_0x411a34);}static async['getGroupIgnoreNotifies'](){}static async['getArkJsonGroupShare'](_0x176fd9){const _0x371a95=_0x951b8b,_0x11f12d={'rvaWI':_0x371a95(0xca)};let _0xf057de=await NTEventDispatch[_0x371a95(0xc8)](_0x11f12d[_0x371a95(0xd3)],0x1388,_0x176fd9);return _0xf057de[_0x371a95(0xd2)];}static async[_0x951b8b(0xaf)](_0x4c4d74,_0x1f3283){const _0x106d2f=_0x951b8b,_0x3b7e27={'LEBfC':_0x106d2f(0xbf)},_0x516eca=(await NTQQUserApi[_0x106d2f(0x9e)]([_0x3b7e27['LEBfC']]))[_0x3b7e27['LEBfC']];return napCatCore[_0x106d2f(0xd6)][_0x106d2f(0xa7)]()[_0x106d2f(0xaf)](_0x4c4d74,_0x516eca,_0x1f3283);}static async[_0x951b8b(0xae)](_0x5cbac3,_0xc24ca9,_0x5f79b1){const _0x1f3eb5=_0x951b8b,_0x31c6ba={'FJiet':function(_0x245e5d,_0x162208){return _0x245e5d||_0x162208;}};return napCatCore[_0x1f3eb5(0xd6)][_0x1f3eb5(0xa7)]()[_0x1f3eb5(0xc4)](![],{'operateType':_0xc24ca9,'targetMsg':{'seq':_0x5cbac3[_0x1f3eb5(0xd0)],'type':_0x5cbac3['type'],'groupCode':_0x5cbac3['group'][_0x1f3eb5(0xc5)],'postscript':_0x31c6ba[_0x1f3eb5(0xb4)](_0x5f79b1,'')}});}static async[_0x951b8b(0xb1)](_0x375d3d){const _0x28d37d=_0x951b8b;return napCatCore[_0x28d37d(0xd6)][_0x28d37d(0xa7)]()[_0x28d37d(0xb1)](_0x375d3d);}static async['kickMember'](_0x4bf9df,_0xd86abd,_0x2a73eb=![],_0x1dcaf6=''){const _0x3101a5=_0x951b8b;return napCatCore[_0x3101a5(0xd6)][_0x3101a5(0xa7)]()[_0x3101a5(0xc1)](_0x4bf9df,_0xd86abd,_0x2a73eb,_0x1dcaf6);}static async[_0x951b8b(0xbb)](_0x235ce3,_0x2cfad0){const _0x560222=_0x951b8b;return napCatCore[_0x560222(0xd6)]['getGroupService']()[_0x560222(0xac)](_0x235ce3,_0x2cfad0);}static async[_0x951b8b(0xbd)](_0x16bec2,_0x4c719e){const _0x3ffbba=_0x951b8b;return napCatCore['session'][_0x3ffbba(0xa7)]()[_0x3ffbba(0xbc)](_0x16bec2,_0x4c719e);}static async[_0x951b8b(0xa3)](_0x28cc65,_0x1a1e02,_0x5c9d48){const _0xd552b4=_0x951b8b;return napCatCore[_0xd552b4(0xd6)]['getGroupService']()['modifyMemberCardName'](_0x28cc65,_0x1a1e02,_0x5c9d48);}static async['setMemberRole'](_0x3f9dfc,_0x31a394,_0x228740){const _0x8bdb3e=_0x951b8b;return napCatCore[_0x8bdb3e(0xd6)][_0x8bdb3e(0xa7)]()[_0x8bdb3e(0xcd)](_0x3f9dfc,_0x31a394,_0x228740);}static async[_0x951b8b(0xa1)](_0x5753b8,_0x1c2792){const _0x9b447d=_0x951b8b;return napCatCore[_0x9b447d(0xd6)][_0x9b447d(0xa7)]()[_0x9b447d(0xc6)](_0x5753b8,_0x1c2792,![]);}static async['setGroupTitle'](_0x552e3d,_0xe79868,_0x46b035){}static async[_0x951b8b(0xa0)](_0x5b366c,_0x18ead5,_0x4627b2=undefined,_0xc65bd3=0x0,_0x597ebe=0x0){const _0x53e010=_0x951b8b,_0x2c42a4={'dffId':'qun.qq.com','YXQKw':function(_0x459937,_0x359fd9){return _0x459937(_0x359fd9);}},_0x505c1d=(await NTQQUserApi[_0x53e010(0x9e)]([_0x2c42a4['dffId']]))[_0x2c42a4[_0x53e010(0x9d)]];let _0x4bf6e7={'text':_0x2c42a4[_0x53e010(0xa9)](encodeURI,_0x18ead5),'picInfo':_0x4627b2,'oldFeedsId':'','pinned':_0xc65bd3,'confirmRequired':_0x597ebe};return napCatCore[_0x53e010(0xd6)][_0x53e010(0xa7)]()[_0x53e010(0xa0)](_0x5b366c,_0x505c1d,_0x4bf6e7);}} \ 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 90f2dd7c..6fe1dc14 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -function _0x10c7(_0x53a5d7,_0x18c8d8){var _0x40da1d=_0x40da();return _0x10c7=function(_0x10c74d,_0x4afd21){_0x10c74d=_0x10c74d-0x1c6;var _0x286448=_0x40da1d[_0x10c74d];return _0x286448;},_0x10c7(_0x53a5d7,_0x18c8d8);}(function(_0x3b3265,_0x4dbb57){var _0x101e5b=_0x10c7,_0x30a824=_0x3b3265();while(!![]){try{var _0x7de237=-parseInt(_0x101e5b(0x1cd))/0x1+parseInt(_0x101e5b(0x1ca))/0x2+parseInt(_0x101e5b(0x1cc))/0x3*(parseInt(_0x101e5b(0x1c6))/0x4)+-parseInt(_0x101e5b(0x1c7))/0x5*(-parseInt(_0x101e5b(0x1c8))/0x6)+parseInt(_0x101e5b(0x1c9))/0x7+parseInt(_0x101e5b(0x1cb))/0x8*(parseInt(_0x101e5b(0x1ce))/0x9)+-parseInt(_0x101e5b(0x1cf))/0xa;if(_0x7de237===_0x4dbb57)break;else _0x30a824['push'](_0x30a824['shift']());}catch(_0x5d1c45){_0x30a824['push'](_0x30a824['shift']());}}}(_0x40da,0xc89cb));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';function _0x40da(){var _0x2b45a7=['150VEyXHy','6486200knKoUb','2434126voAJKM','8lZjWfD','807054ipmxBw','43133fTFxLH','3030471Xgdvew','27093850SzbaYc','4frWOcn','164965omoTTA'];_0x40da=function(){return _0x2b45a7;};return _0x40da();}export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x232145,_0x5aea9b){var _0x56bfa5=_0x1be0,_0x5bd076=_0x232145();while(!![]){try{var _0x99b4ee=-parseInt(_0x56bfa5(0xac))/0x1+parseInt(_0x56bfa5(0xb5))/0x2*(parseInt(_0x56bfa5(0xaf))/0x3)+-parseInt(_0x56bfa5(0xaa))/0x4*(-parseInt(_0x56bfa5(0xb1))/0x5)+parseInt(_0x56bfa5(0xab))/0x6*(parseInt(_0x56bfa5(0xb2))/0x7)+parseInt(_0x56bfa5(0xae))/0x8*(-parseInt(_0x56bfa5(0xb4))/0x9)+parseInt(_0x56bfa5(0xb0))/0xa+-parseInt(_0x56bfa5(0xad))/0xb*(parseInt(_0x56bfa5(0xb3))/0xc);if(_0x99b4ee===_0x5aea9b)break;else _0x5bd076['push'](_0x5bd076['shift']());}catch(_0x24f702){_0x5bd076['push'](_0x5bd076['shift']());}}}(_0x5677,0xbafee));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x1be0(_0x4cd101,_0x267c02){var _0x567765=_0x5677();return _0x1be0=function(_0x1be0a2,_0x45a2a){_0x1be0a2=_0x1be0a2-0xaa;var _0x4e7fdd=_0x567765[_0x1be0a2];return _0x4e7fdd;},_0x1be0(_0x4cd101,_0x267c02);}export*from'./user';export*from'./webapi';export*from'./sign';function _0x5677(){var _0x55d4b9=['205cTEdxL','49WHFYoD','21718284ObPlcQ','28089fJptwk','186PNasBj','123364yBDLbz','863394cynBtD','1194712ZvcrOS','11YwWCiD','2152vrrClN','26412MenQiJ','15195060jKeQoe'];_0x5677=function(){return _0x55d4b9;};return _0x5677();}export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.d.ts b/src/core.lib/src/apis/msg.d.ts index 885ab1e0..5f52dbbf 100644 --- a/src/core.lib/src/apis/msg.d.ts +++ b/src/core.lib/src/apis/msg.d.ts @@ -8,7 +8,7 @@ export declare class NTQQMsgApi { static getMsgsByMsgId(peer: Peer, msgIds: string[]): Promise; - static getMsgsBySeqAndCount(peer: Peer, seq: string, count: number, desc: boolean, unknownArg: boolean): Promise; static activateChat(peer: Peer): Promise; diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index ad464364..34f4a3bb 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x49ca(_0x5a9530,_0x3057fd){const _0x4bd863=_0x4bd8();return _0x49ca=function(_0x49cac9,_0x52f9e0){_0x49cac9=_0x49cac9-0xd8;let _0x537a86=_0x4bd863[_0x49cac9];return _0x537a86;},_0x49ca(_0x5a9530,_0x3057fd);}const _0x5ef2ef=_0x49ca;(function(_0x4af004,_0x52b691){const _0x1a44e9=_0x49ca,_0x289a0c=_0x4af004();while(!![]){try{const _0x63947e=-parseInt(_0x1a44e9(0x11a))/0x1*(-parseInt(_0x1a44e9(0x10b))/0x2)+parseInt(_0x1a44e9(0xe8))/0x3*(-parseInt(_0x1a44e9(0x116))/0x4)+parseInt(_0x1a44e9(0x108))/0x5*(parseInt(_0x1a44e9(0xde))/0x6)+parseInt(_0x1a44e9(0x10c))/0x7+-parseInt(_0x1a44e9(0xf1))/0x8+-parseInt(_0x1a44e9(0x11d))/0x9+parseInt(_0x1a44e9(0xec))/0xa;if(_0x63947e===_0x52b691)break;else _0x289a0c['push'](_0x289a0c['shift']());}catch(_0x53cf2d){_0x289a0c['push'](_0x289a0c['shift']());}}}(_0x4bd8,0xbcb5d));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 _0x4bd8(){const _0x1518b9=['setMsgRead','发送超时','then','CCxss','TqSCs','mugYM','uid','uHbsv','iLCie','item','wayZr','com.tencent.multimsg','getMsgsBySeqAndCount','addListener','onAddSendMsg','chatType','forwardMsg','map','20gzazaM','DXdmW','recallMsg','6GEvqzY','51030emGLfe','nick','getMsgService','msgId','wVUfc','ALDjp','forEach','session','elements','length','109788mnOlLP','multiForwardMsg','vhiXo','app','424249lINmVY','juobg','find','10767600kUcJTH','getMsgHistory','转发消息超时','toString','获取群文件列表超时','boaxC','delete','fetchRecentContact','activateChat','KzNvT','1091346Sfuagw','setEmojiLike','getGroupFileList','sendStatus','setMsgEmojiLikes','QYvbm','HCaht','sendMsg','getMsgsByMsgId','IrUua','135LcuBJK','getMultiMsg','senderUid','VgszA','23536730RBOjoG','getMsgsIncludeSelf','peerUid','onGroupFileInfoUpdate','arkElement','9254416OEhWFA','getRichMediaService','jFZIG','catch','parse'];_0x4bd8=function(){return _0x1518b9;};return _0x4bd8();}msgListener[_0x5ef2ef(0xef)]=_0x4ca6c9=>{const _0x1dff1e=_0x5ef2ef,_0x4213d6={'vhiXo':function(_0x52be10,_0x1175d4){return _0x52be10(_0x1175d4);}};for(const [_0x1401c9,_0x470233]of GroupFileInfoUpdateTasks){_0x4213d6[_0x1dff1e(0x118)](_0x470233,_0x4ca6c9),GroupFileInfoUpdateTasks[_0x1dff1e(0xda)](_0x1401c9);}},msgListener[_0x5ef2ef(0x104)]=_0x590057=>{const _0xc9fd9e=_0x5ef2ef,_0x5b4b58={'wVUfc':function(_0x3f04f2,_0x12f0ba){return _0x3f04f2 instanceof _0x12f0ba;}};for(const [_0x411d02,_0x1fa971]of sentMsgTasks){_0x1fa971(_0x590057),sentMsgTasks['delete'](_0x411d02);}if(sendMessagePool[_0x590057[_0xc9fd9e(0xee)]]){const _0x36b71f=sendMessagePool[_0x590057[_0xc9fd9e(0xee)]]?.(_0x590057);_0x5b4b58[_0xc9fd9e(0x110)](_0x36b71f,Promise)&&_0x36b71f['then']()[_0xc9fd9e(0xf4)](logError);}},msgListener['onMsgInfoListUpdate']=_0x1a9f87=>{const _0x525079=_0x5ef2ef,_0x30d7fb={'uHbsv':function(_0x48b73d,_0x44382a){return _0x48b73d(_0x44382a);},'wayZr':function(_0x11d732,_0x2db0f6){return _0x11d732 instanceof _0x2db0f6;}};_0x1a9f87[_0x525079(0x112)](_0x383b00=>{const _0x36a7f9=_0x525079,_0x333ad6={'jFZIG':function(_0x3ea479,_0x57abfc){const _0x20b2ed=_0x49ca;return _0x30d7fb[_0x20b2ed(0xfd)](_0x3ea479,_0x57abfc);},'iLCie':function(_0x4178c3,_0x4e4597){const _0x243c26=_0x49ca;return _0x30d7fb[_0x243c26(0x100)](_0x4178c3,_0x4e4597);}};new Promise((_0x25a151,_0x3e5473)=>{const _0x579151=_0x49ca;for(const _0x5c41f0 in sendSuccessCBMap){const _0x55974c=sendSuccessCBMap[_0x5c41f0],_0x2c2f38=_0x333ad6[_0x579151(0xf3)](_0x55974c,_0x383b00),_0x15f3bc=_0x43b2b5=>{_0x43b2b5&&delete sendSuccessCBMap[_0x5c41f0];};_0x333ad6[_0x579151(0xfe)](_0x2c2f38,Promise)?_0x2c2f38[_0x579151(0xf8)](_0x15f3bc):_0x333ad6[_0x579151(0xf3)](_0x15f3bc,_0x2c2f38);}})[_0x36a7f9(0xf8)]()['catch'](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x1feb25=_0x49ca;napCatCore[_0x1feb25(0x103)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5ef2ef(0xdf)](_0x22e742,_0x30c90e,_0x347e99,_0x192356=!![]){const _0x9c139e=_0x5ef2ef,_0x2c06c1={'IrUua':function(_0x12cccd,_0x3eed50){return _0x12cccd>_0x3eed50;}};return _0x347e99=_0x347e99[_0x9c139e(0x120)](),napCatCore[_0x9c139e(0x113)]['getMsgService']()[_0x9c139e(0xe2)](_0x22e742,_0x30c90e,_0x347e99,_0x2c06c1[_0x9c139e(0xe7)](_0x347e99[_0x9c139e(0x115)],0x3)?'2':'1',_0x192356);}static async[_0x5ef2ef(0xe9)](_0x2d9e09,_0x4a3f83,_0x3dd057){const _0xff40df=_0x5ef2ef;return napCatCore['session'][_0xff40df(0x10e)]()[_0xff40df(0xe9)](_0x2d9e09,_0x4a3f83,_0x3dd057);}static async[_0x5ef2ef(0xe6)](_0x8aa5b5,_0x5c99ac){return await napCatCore['session']['getMsgService']()['getMsgsByMsgId'](_0x8aa5b5,_0x5c99ac);}static async[_0x5ef2ef(0x102)](_0x5a48c0,_0x4c47a7,_0xc2c157,_0x20d24e,_0x1ef746){const _0x3e6e99=_0x5ef2ef;return await napCatCore[_0x3e6e99(0x113)][_0x3e6e99(0x10e)]()[_0x3e6e99(0x102)](_0x5a48c0,_0x4c47a7,_0xc2c157,_0x20d24e,_0x1ef746);}static async[_0x5ef2ef(0xdc)](_0x254dbb){}static async['activateChatAndGetHistory'](_0x522cc0){}static async[_0x5ef2ef(0xf6)](_0xe2efab){const _0x2236de=_0x5ef2ef;return napCatCore['session'][_0x2236de(0x10e)]()[_0x2236de(0xf6)](_0xe2efab);}static async[_0x5ef2ef(0xe0)](_0x1e34fc,_0x53da84){const _0x284967={'KzNvT':function(_0x804015,_0x3666db){return _0x804015(_0x3666db);},'mbmKi':function(_0x1cfa8f,_0x114c5a,_0x6b6fd3){return _0x1cfa8f(_0x114c5a,_0x6b6fd3);},'syabj':function(_0x58ffaa){return _0x58ffaa();}};return new Promise(async(_0x4e8f93,_0x303504)=>{const _0xf71afb=_0x49ca;let _0xae0058=![];_0x284967['mbmKi'](setTimeout,()=>{const _0x24d6f9=_0x49ca;!_0xae0058&&_0x303504(_0x24d6f9(0xd8));},0x1388);const _0x5d6cdf=_0x4a8c0f=>{const _0x56a543=_0x49ca;_0xae0058=!![],_0x284967[_0x56a543(0xdd)](_0x4e8f93,_0x4a8c0f[_0x56a543(0xff)]);};GroupFileInfoUpdateTasks['set'](_0x284967['syabj'](randomUUID),_0x5d6cdf),await napCatCore['session'][_0xf71afb(0xf2)]()[_0xf71afb(0xe0)](_0x1e34fc,_0x53da84);});}static async[_0x5ef2ef(0x11e)](_0xd7f4c9,_0xa04289,_0x330610){const _0x15362e=_0x5ef2ef;return napCatCore[_0x15362e(0x113)][_0x15362e(0x10e)]()[_0x15362e(0xed)](_0xd7f4c9,_0xa04289,_0x330610,!![]);}static async[_0x5ef2ef(0xdb)](){}static async[_0x5ef2ef(0x10a)](_0x75bf2f,_0x23a159){const _0x46ebe5=_0x5ef2ef;await napCatCore['session'][_0x46ebe5(0x10e)]()[_0x46ebe5(0x10a)]({'chatType':_0x75bf2f[_0x46ebe5(0x105)],'peerUid':_0x75bf2f[_0x46ebe5(0xee)]},_0x23a159);}static async[_0x5ef2ef(0xe5)](_0x2b8747,_0xb7a9f8,_0x18caed=!![],_0x40f6c2=0x2710){const _0x13231b=_0x5ef2ef,_0x2997c8={'OKwvi':function(_0x15b037,_0x5a9bca){return _0x15b037(_0x5a9bca);},'ALDjp':function(_0xb6fd5e){return _0xb6fd5e();},'FKxVd':_0x13231b(0xf7),'mugYM':function(_0xdfc0fe,_0x5ebfba){return _0xdfc0fe===_0x5ebfba;},'juobg':function(_0x1ee7c9,_0x2a125f){return _0x1ee7c9===_0x2a125f;},'VgszA':function(_0x22fb9f,_0x3a6c7a,_0x4ffe44){return _0x22fb9f(_0x3a6c7a,_0x4ffe44);}},_0x4987ea=_0x2b8747[_0x13231b(0xee)];let _0x36c297=0x0;const _0x332482=async()=>{const _0x5675ea=_0x13231b;if(_0x36c297>_0x40f6c2)throw _0x5675ea(0xf7);const _0x2da9ab=sendMessagePool[_0x2b8747[_0x5675ea(0xee)]];if(_0x2da9ab)return await _0x2997c8['OKwvi'](sleep,0x1f4),_0x36c297+=0x1f4,await _0x2997c8[_0x5675ea(0x111)](_0x332482);else return;};return await _0x2997c8[_0x13231b(0x111)](_0x332482),new Promise((_0x39f0fc,_0x20e373)=>{const _0x1d8870=_0x13231b,_0x1991e1={'DXdmW':function(_0x33243e,_0x2ba642){const _0x3f0016=_0x49ca;return _0x2997c8[_0x3f0016(0xfb)](_0x33243e,_0x2ba642);},'boaxC':function(_0x3fd8fd,_0x276fd6){const _0x16529b=_0x49ca;return _0x2997c8[_0x16529b(0x11b)](_0x3fd8fd,_0x276fd6);}};let _0x3b9d33=![],_0x3b4a9f=null;const _0x5be212=randomUUID();sendSuccessCBMap[_0x5be212]=_0x40f03f=>{const _0x4828e4=_0x49ca;if(_0x1991e1[_0x4828e4(0x109)](_0x40f03f[_0x4828e4(0x10f)],_0x3b4a9f?.['msgId'])){if(_0x1991e1[_0x4828e4(0xd9)](_0x40f03f[_0x4828e4(0xe1)],0x2))return delete sendSuccessCBMap[_0x5be212],_0x3b9d33=!![],_0x39f0fc(_0x40f03f),!![];return![];}return![];},sendMessagePool[_0x4987ea]=async _0xfdb010=>{delete sendMessagePool[_0x4987ea],_0x3b4a9f=_0xfdb010;},_0x2997c8[_0x1d8870(0xeb)](setTimeout,()=>{if(_0x3b9d33)return;delete sendMessagePool[_0x4987ea],delete sendSuccessCBMap[_0x5be212],_0x20e373(_0x2997c8['FKxVd']);},_0x40f6c2);const _0x9d55d4=napCatCore[_0x1d8870(0x113)][_0x1d8870(0x10e)]()[_0x1d8870(0xe5)]('0',_0x2b8747,_0xb7a9f8,new Map());});}static async[_0x5ef2ef(0x106)](_0x2bc1ae,_0x43f210,_0x7cbb8a){const _0x1d7138=_0x5ef2ef;return napCatCore[_0x1d7138(0x113)][_0x1d7138(0x10e)]()[_0x1d7138(0x106)](_0x7cbb8a,_0x2bc1ae,[_0x43f210],new Map());}static async[_0x5ef2ef(0x117)](_0x254c8d,_0x18ac98,_0x40a51){const _0x778e6=_0x5ef2ef,_0x38758a={'HCaht':function(_0x3f6152,_0x4468cd){return _0x3f6152(_0x4468cd);},'jlicW':_0x778e6(0x11f),'vlVub':function(_0x3e4138,_0x28460f){return _0x3e4138!=_0x28460f;},'TqSCs':_0x778e6(0x101),'CCxss':function(_0x557c57){return _0x557c57();}},_0x7d6eff=_0x40a51[_0x778e6(0x107)](_0x4a28be=>{const _0x287887=_0x778e6;return{'msgId':_0x4a28be,'senderShowName':selfInfo[_0x287887(0x10d)]};});return new Promise((_0x336654,_0x3cbd54)=>{const _0x46d0c7=_0x778e6,_0x21aa1c={'QYvbm':function(_0xe68463,_0x57a191){return _0x38758a['vlVub'](_0xe68463,_0x57a191);},'VeqGb':_0x38758a[_0x46d0c7(0xfa)],'BdtnU':function(_0x2d7396,_0x4d78d4){return _0x2d7396==_0x4d78d4;}};let _0x50d9e0=![];const _0x9e6880=_0xbf21df=>{const _0x10ac94=_0x46d0c7,_0x4c9d2a=_0xbf21df[_0x10ac94(0x114)][_0x10ac94(0x11c)](_0x4b7f5f=>_0x4b7f5f[_0x10ac94(0xf0)]);if(!_0x4c9d2a)return;const _0x405c66=JSON[_0x10ac94(0xf5)](_0x4c9d2a[_0x10ac94(0xf0)]['bytesData']);if(_0x21aa1c[_0x10ac94(0xe3)](_0x405c66[_0x10ac94(0x119)],_0x21aa1c['VeqGb']))return;_0x21aa1c['BdtnU'](_0xbf21df['peerUid'],_0x18ac98['peerUid'])&&_0xbf21df[_0x10ac94(0xea)]==selfInfo[_0x10ac94(0xfc)]&&(_0x50d9e0=!![],_0x336654(_0xbf21df));};sentMsgTasks['set'](_0x38758a[_0x46d0c7(0xf9)](randomUUID),_0x9e6880),setTimeout(()=>{const _0x5435b8=_0x46d0c7;!_0x50d9e0&&_0x38758a[_0x5435b8(0xe4)](_0x3cbd54,_0x38758a['jlicW']);},0x1388),napCatCore[_0x46d0c7(0x113)][_0x46d0c7(0x10e)]()['multiForwardMsgWithComment'](_0x7d6eff,_0x254c8d,_0x18ac98,[],new Map());});}} \ No newline at end of file +const _0x475caa=_0x5b85;function _0x5b85(_0x3c3119,_0x2b04c9){const _0x3ae8a0=_0x3ae8();return _0x5b85=function(_0x5b8541,_0x3f94f4){_0x5b8541=_0x5b8541-0x152;let _0x3773d0=_0x3ae8a0[_0x5b8541];return _0x3773d0;},_0x5b85(_0x3c3119,_0x2b04c9);}(function(_0x4aa0e3,_0x377652){const _0x7c9620=_0x5b85,_0x37634b=_0x4aa0e3();while(!![]){try{const _0x3dc790=-parseInt(_0x7c9620(0x166))/0x1*(parseInt(_0x7c9620(0x181))/0x2)+-parseInt(_0x7c9620(0x156))/0x3+parseInt(_0x7c9620(0x189))/0x4*(parseInt(_0x7c9620(0x199))/0x5)+parseInt(_0x7c9620(0x157))/0x6+parseInt(_0x7c9620(0x178))/0x7+-parseInt(_0x7c9620(0x182))/0x8*(-parseInt(_0x7c9620(0x155))/0x9)+-parseInt(_0x7c9620(0x196))/0xa*(parseInt(_0x7c9620(0x174))/0xb);if(_0x3dc790===_0x377652)break;else _0x37634b['push'](_0x37634b['shift']());}catch(_0x223268){_0x37634b['push'](_0x37634b['shift']());}}}(_0x3ae8,0xd896f));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x3ae8(){const _0x2e4118=['setMsgRead','getMsgsBySeqAndCount','onAddSendMsg','bytesData','27687jXFXrE','获取群文件列表超时','FXBYp','sendMsg','9943612PMxCNU','sZzMF','getMsgsByMsgId','forwardMsg','fDJwy','WrFPk','activateChatAndGetHistory','msgId','uid','1701310aUoXJA','54952IdIfjM','com.tencent.multimsg','PUtSj','catch','recallMsg','zUbvK','delete','5947852fuGeBQ','onGroupFileInfoUpdate','arkElement','senderUid','XAZUu','BjRzk','MkLDy','set','map','peerUid','addListener','setEmojiLike','forEach','12170Utxjqw','HzZaH','getMultiMsg','5HrvYjq','mIvOh','chatType','then','eRsiy','setMsgEmojiLikes','1089WWGJJd','984480CuRRih','8343162yhcpLN','发送超时','onMsgInfoListUpdate','nick','session','ZRleZ','klQYg','hZvrV','转发消息超时','length','QzjMJ','QQzYb','onLoginSuccess','getMsgsIncludeSelf','sendStatus','1hjfApx','item','getRichMediaService','zQNDh','getMsgService','KFQeh','parse','app','find','imCPA'];_0x3ae8=function(){return _0x2e4118;};return _0x3ae8();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x475caa(0x18a)]=_0x3dd664=>{const _0x2e9a28=_0x475caa,_0x2b682f={'tbwku':function(_0x579b8b,_0x1fa9ac){return _0x579b8b(_0x1fa9ac);}};for(const [_0x1fa903,_0x392f96]of GroupFileInfoUpdateTasks){_0x2b682f['tbwku'](_0x392f96,_0x3dd664),GroupFileInfoUpdateTasks[_0x2e9a28(0x188)](_0x1fa903);}},msgListener[_0x475caa(0x172)]=_0x51ead3=>{const _0x31e6f9=_0x475caa,_0x4fa98c={'HzZaH':function(_0x44c240,_0x4ee37f){return _0x44c240(_0x4ee37f);},'sZzMF':function(_0x35d996,_0x2921c6){return _0x35d996 instanceof _0x2921c6;}};for(const [_0x2987d9,_0x27aff7]of sentMsgTasks){_0x4fa98c[_0x31e6f9(0x197)](_0x27aff7,_0x51ead3),sentMsgTasks[_0x31e6f9(0x188)](_0x2987d9);}if(sendMessagePool[_0x51ead3['peerUid']]){const _0x4ff20c=sendMessagePool[_0x51ead3[_0x31e6f9(0x192)]]?.(_0x51ead3);_0x4fa98c[_0x31e6f9(0x179)](_0x4ff20c,Promise)&&_0x4ff20c[_0x31e6f9(0x152)]()[_0x31e6f9(0x185)](logError);}},msgListener[_0x475caa(0x159)]=_0x58adce=>{const _0x693548=_0x475caa,_0x2f16ca={'fEIDj':function(_0x29b8f2,_0xfabe76){return _0x29b8f2 instanceof _0xfabe76;},'FXBYp':function(_0x49631b,_0x1d8985){return _0x49631b(_0x1d8985);}};_0x58adce[_0x693548(0x195)](_0x228b43=>{const _0x4616e8=_0x693548,_0x336a91={'imCPA':function(_0x375a8a,_0x13493e){return _0x2f16ca['fEIDj'](_0x375a8a,_0x13493e);},'PUtSj':function(_0x2094d9,_0x11efdd){const _0x10f9d3=_0x5b85;return _0x2f16ca[_0x10f9d3(0x176)](_0x2094d9,_0x11efdd);}};new Promise((_0x5ea6de,_0x114aec)=>{const _0x213b5c=_0x5b85;for(const _0x463924 in sendSuccessCBMap){const _0xe5cbad=sendSuccessCBMap[_0x463924],_0xc32e72=_0xe5cbad(_0x228b43),_0x367dec=_0x36cf6a=>{_0x36cf6a&&delete sendSuccessCBMap[_0x463924];};_0x336a91[_0x213b5c(0x16f)](_0xc32e72,Promise)?_0xc32e72['then'](_0x367dec):_0x336a91[_0x213b5c(0x184)](_0x367dec,_0xc32e72);}})[_0x4616e8(0x152)]()[_0x4616e8(0x185)](log);});},setTimeout(()=>{const _0x29cb62=_0x475caa;napCatCore[_0x29cb62(0x163)](()=>{const _0x155f9e=_0x29cb62;napCatCore[_0x155f9e(0x193)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x475caa(0x194)](_0x261ba0,_0x55a086,_0x4cd905,_0x26bc26=!![]){const _0xa9fa4f=_0x475caa,_0x3a6fff={'BjRzk':function(_0x5e23d9,_0x5ee533){return _0x5e23d9>_0x5ee533;}};return _0x4cd905=_0x4cd905['toString'](),napCatCore[_0xa9fa4f(0x15b)][_0xa9fa4f(0x16a)]()[_0xa9fa4f(0x154)](_0x261ba0,_0x55a086,_0x4cd905,_0x3a6fff[_0xa9fa4f(0x18e)](_0x4cd905[_0xa9fa4f(0x160)],0x3)?'2':'1',_0x26bc26);}static async[_0x475caa(0x198)](_0x299ea9,_0x1a1c07,_0x1c49b6){const _0x18cf59=_0x475caa;return napCatCore[_0x18cf59(0x15b)][_0x18cf59(0x16a)]()['getMultiMsg'](_0x299ea9,_0x1a1c07,_0x1c49b6);}static async[_0x475caa(0x17a)](_0xc2c9cd,_0x461552){const _0x2d00f5=_0x475caa;return await napCatCore[_0x2d00f5(0x15b)]['getMsgService']()[_0x2d00f5(0x17a)](_0xc2c9cd,_0x461552);}static async[_0x475caa(0x171)](_0x1f3ed8,_0x510922,_0x418a7f,_0x24a8c6,_0x2e596a){const _0x1dacfb=_0x475caa;return await napCatCore[_0x1dacfb(0x15b)]['getMsgService']()[_0x1dacfb(0x171)](_0x1f3ed8,_0x510922,_0x418a7f,_0x24a8c6,_0x2e596a);}static async['activateChat'](_0x2e6581){}static async[_0x475caa(0x17e)](_0x5d39d5){}static async[_0x475caa(0x170)](_0x5a86dc){const _0x173d74=_0x475caa;return napCatCore[_0x173d74(0x15b)][_0x173d74(0x16a)]()[_0x173d74(0x170)](_0x5a86dc);}static async['getGroupFileList'](_0x3f2d56,_0x2e1166){const _0x43251e={'mIvOh':function(_0x26a6be,_0x298326){return _0x26a6be(_0x298326);},'zQNDh':function(_0x598397,_0x909a93,_0x2a5453){return _0x598397(_0x909a93,_0x2a5453);},'QzjMJ':function(_0x1e0b71){return _0x1e0b71();}};return new Promise(async(_0x1aa04e,_0x24c452)=>{const _0x464136=_0x5b85,_0x46bd6d={'eRsiy':function(_0xf1153f,_0x6c6032){const _0x165585=_0x5b85;return _0x43251e[_0x165585(0x19a)](_0xf1153f,_0x6c6032);}};let _0x5898f5=![];_0x43251e[_0x464136(0x169)](setTimeout,()=>{const _0x4f6ccb=_0x464136;!_0x5898f5&&_0x46bd6d[_0x4f6ccb(0x153)](_0x24c452,_0x4f6ccb(0x175));},0x1388);const _0x3e537d=_0x4f4ea1=>{const _0x47edb9=_0x464136;_0x5898f5=!![],_0x1aa04e(_0x4f4ea1[_0x47edb9(0x167)]);};GroupFileInfoUpdateTasks[_0x464136(0x190)](_0x43251e[_0x464136(0x161)](randomUUID),_0x3e537d),await napCatCore['session'][_0x464136(0x168)]()['getGroupFileList'](_0x3f2d56,_0x2e1166);});}static async['getMsgHistory'](_0x483ee1,_0x4a105a,_0x4fe5e8){const _0x2ccdbf=_0x475caa;return napCatCore['session'][_0x2ccdbf(0x16a)]()[_0x2ccdbf(0x164)](_0x483ee1,_0x4a105a,_0x4fe5e8,!![]);}static async['fetchRecentContact'](){}static async[_0x475caa(0x186)](_0x2357d5,_0x46daf8){const _0x1d54c9=_0x475caa;await napCatCore[_0x1d54c9(0x15b)][_0x1d54c9(0x16a)]()['recallMsg']({'chatType':_0x2357d5[_0x1d54c9(0x19b)],'peerUid':_0x2357d5['peerUid']},_0x46daf8);}static async['sendMsg'](_0xfaeb0c,_0x170040,_0x24eebd=!![],_0x402f9f=0x2710){const _0x31f5a4=_0x475caa,_0x2e1c3e={'MkLDy':function(_0x324c16,_0x1d230b){return _0x324c16>_0x1d230b;},'ZRleZ':_0x31f5a4(0x158),'fDJwy':function(_0x1897ee,_0x2c4047){return _0x1897ee(_0x2c4047);},'BDABX':function(_0xf135f3,_0x5437c2){return _0xf135f3===_0x5437c2;},'nipYV':function(_0x2f818f,_0x2cd525){return _0x2f818f===_0x2cd525;},'WrFPk':function(_0x3e600a,_0x498d9e,_0x286c39){return _0x3e600a(_0x498d9e,_0x286c39);},'rOsZD':function(_0x5626fb){return _0x5626fb();}},_0x149a64=_0xfaeb0c[_0x31f5a4(0x192)];let _0x5397be=0x0;const _0x4201fe=async()=>{const _0x448e6e=_0x31f5a4;if(_0x2e1c3e[_0x448e6e(0x18f)](_0x5397be,_0x402f9f))throw _0x2e1c3e[_0x448e6e(0x15c)];const _0x14ff01=sendMessagePool[_0xfaeb0c['peerUid']];if(_0x14ff01)return await _0x2e1c3e[_0x448e6e(0x17c)](sleep,0x1f4),_0x5397be+=0x1f4,await _0x4201fe();else return;};return await _0x2e1c3e['rOsZD'](_0x4201fe),new Promise((_0x310725,_0x200da3)=>{const _0x26c72b=_0x31f5a4;let _0x932233=![],_0x3c3cfb=null;const _0x3c36a2=randomUUID();sendSuccessCBMap[_0x3c36a2]=_0x55fdb0=>{const _0xc74a2d=_0x5b85;if(_0x2e1c3e['BDABX'](_0x55fdb0[_0xc74a2d(0x17f)],_0x3c3cfb?.[_0xc74a2d(0x17f)])){if(_0x2e1c3e['nipYV'](_0x55fdb0[_0xc74a2d(0x165)],0x2))return delete sendSuccessCBMap[_0x3c36a2],_0x932233=!![],_0x2e1c3e[_0xc74a2d(0x17c)](_0x310725,_0x55fdb0),!![];return![];}return![];},sendMessagePool[_0x149a64]=async _0x166647=>{delete sendMessagePool[_0x149a64],_0x3c3cfb=_0x166647;},_0x2e1c3e[_0x26c72b(0x17d)](setTimeout,()=>{const _0x33bbc0=_0x26c72b;if(_0x932233)return;delete sendMessagePool[_0x149a64],delete sendSuccessCBMap[_0x3c36a2],_0x2e1c3e[_0x33bbc0(0x17c)](_0x200da3,_0x2e1c3e[_0x33bbc0(0x15c)]);},_0x402f9f);const _0x786b6f=napCatCore[_0x26c72b(0x15b)]['getMsgService']()[_0x26c72b(0x177)]('0',_0xfaeb0c,_0x170040,new Map());});}static async[_0x475caa(0x17b)](_0x24f0df,_0x2b9527,_0x135965){const _0x57310a=_0x475caa;return napCatCore['session'][_0x57310a(0x16a)]()[_0x57310a(0x17b)](_0x135965,_0x24f0df,[_0x2b9527],new Map());}static async['multiForwardMsg'](_0xe02576,_0xf48c1d,_0x4aa39d){const _0x2261a5=_0x475caa,_0x1947fc={'QQzYb':_0x2261a5(0x183),'MMIkB':function(_0x141494){return _0x141494();},'hfzQO':function(_0x11bf77,_0x23cfa9,_0x5a3771){return _0x11bf77(_0x23cfa9,_0x5a3771);}},_0x2618f6=_0x4aa39d[_0x2261a5(0x191)](_0x4c3fe7=>{const _0x160f67=_0x2261a5;return{'msgId':_0x4c3fe7,'senderShowName':selfInfo[_0x160f67(0x15a)]};});return new Promise((_0x273b28,_0x467408)=>{const _0x5ecefb=_0x2261a5,_0xb35baa={'XAZUu':_0x1947fc[_0x5ecefb(0x162)],'zUbvK':function(_0xff8d81,_0x567017){return _0xff8d81==_0x567017;},'hZvrV':function(_0x1a1321,_0xc8a568){return _0x1a1321(_0xc8a568);},'klQYg':function(_0x1d2a44,_0x34acec){return _0x1d2a44(_0x34acec);},'KFQeh':_0x5ecefb(0x15f)};let _0x39f2c1=![];const _0x16cf56=_0xcf9884=>{const _0x484469=_0x5ecefb,_0x36983e=_0xcf9884['elements'][_0x484469(0x16e)](_0x453dd5=>_0x453dd5[_0x484469(0x18b)]);if(!_0x36983e)return;const _0x43aa88=JSON[_0x484469(0x16c)](_0x36983e['arkElement'][_0x484469(0x173)]);if(_0x43aa88[_0x484469(0x16d)]!=_0xb35baa[_0x484469(0x18d)])return;_0xb35baa[_0x484469(0x187)](_0xcf9884['peerUid'],_0xf48c1d[_0x484469(0x192)])&&_0xcf9884[_0x484469(0x18c)]==selfInfo[_0x484469(0x180)]&&(_0x39f2c1=!![],_0xb35baa[_0x484469(0x15e)](_0x273b28,_0xcf9884));};sentMsgTasks[_0x5ecefb(0x190)](_0x1947fc['MMIkB'](randomUUID),_0x16cf56),_0x1947fc['hfzQO'](setTimeout,()=>{const _0x289952=_0x5ecefb;!_0x39f2c1&&_0xb35baa[_0x289952(0x15d)](_0x467408,_0xb35baa[_0x289952(0x16b)]);},0x1388),napCatCore['session'][_0x5ecefb(0x16a)]()['multiForwardMsgWithComment'](_0x2618f6,_0xe02576,_0xf48c1d,[],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 6b5139b9..2053e16c 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x2498ea,_0x26b067){const _0xc69506=_0x1806,_0xd291a4=_0x2498ea();while(!![]){try{const _0x138a56=parseInt(_0xc69506(0xf3))/0x1*(parseInt(_0xc69506(0x115))/0x2)+parseInt(_0xc69506(0xfc))/0x3+parseInt(_0xc69506(0x11c))/0x4*(parseInt(_0xc69506(0xf4))/0x5)+parseInt(_0xc69506(0xf9))/0x6+-parseInt(_0xc69506(0x11b))/0x7+-parseInt(_0xc69506(0x10d))/0x8+-parseInt(_0xc69506(0xfa))/0x9;if(_0x138a56===_0x26b067)break;else _0xd291a4['push'](_0xd291a4['shift']());}catch(_0x1fe0f2){_0xd291a4['push'](_0xd291a4['shift']());}}}(_0x5587,0xcad38));function _0x5587(){const _0x488fef=['CVgda','&ark=','LmQkr','getSkey','skey','preview','lcLFb','stringify','UPFjw','tagIcon','p_skey','nRSOX','HttpGetJson','normal','3687248VQoXkA','getQzoneCookies','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','source',';\x20p_uin=o','lbtGJ','replace','Huzsr','4724zCCToE','title','data','miniapp','prompt',';\x20uin=o','10631915raXvuo','56404rARJoL','GET','\x5c/\x5c/','uin','ahZql','genBkn',';\x20skey=','31VVlAdI','405lthBME','tZmGk','jumpUrl','signed_ark','ghZJl','4093866SkpnEL','1246392keOSrV','com.tencent.miniapp.lua','3153903xATdbA','tianxuan.imgJumpArk','p_skey='];_0x5587=function(){return _0x488fef;};return _0x5587();}function _0x1806(_0x17b762,_0x108b5e){const _0x55872a=_0x5587();return _0x1806=function(_0x18061c,_0x21040e){_0x18061c=_0x18061c-0xef;let _0x132eb9=_0x55872a[_0x18061c];return _0x132eb9;},_0x1806(_0x17b762,_0x108b5e);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x1960a2){const _0x51afee=_0x1806,_0x5f5baa={'rnrcy':_0x51afee(0xfb),'ahZql':_0x51afee(0xfd),'Huzsr':_0x51afee(0x10c),'LmQkr':_0x51afee(0x11e),'nRSOX':function(_0x482de9,_0x2f0c09){return _0x482de9+_0x2f0c09;},'ghZJl':function(_0x29be70,_0xd1514e){return _0x29be70+_0xd1514e;},'lyvCJ':_0x51afee(0xf2),'rXFLt':_0x51afee(0x111),'CVgda':_0x51afee(0x11a),'UPFjw':function(_0x126717,_0x22e801){return _0x126717+_0x22e801;},'lcLFb':_0x51afee(0x10f),'tZmGk':_0x51afee(0x100),'ecbsv':function(_0x54d5c6,_0x534854){return _0x54d5c6(_0x534854);},'lbtGJ':function(_0x418298,_0x5c4041,_0x17f7a1){return _0x418298(_0x5c4041,_0x17f7a1);},'ziUVG':'MiniApp\x20JSON\x20消息生成失败'};let _0x37c4f7={'app':_0x5f5baa['rnrcy'],'bizsrc':_0x5f5baa[_0x51afee(0xf0)],'view':_0x51afee(0x118),'prompt':_0x1960a2[_0x51afee(0x119)],'config':{'type':_0x5f5baa[_0x51afee(0x114)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x1960a2[_0x51afee(0x116)],'preview':_0x1960a2[_0x51afee(0x104)][_0x51afee(0x113)](/\\/g,'\x5c/\x5c/'),'jumpUrl':_0x1960a2[_0x51afee(0xf6)][_0x51afee(0x113)](/\\/g,_0x5f5baa[_0x51afee(0x101)]),'tag':_0x1960a2['tag'],'tagIcon':_0x1960a2[_0x51afee(0x108)][_0x51afee(0x113)](/\\/g,_0x5f5baa[_0x51afee(0x101)]),'source':_0x1960a2[_0x51afee(0x110)],'sourcelogo':_0x1960a2['sourcelogo']['replace'](/\\/g,_0x5f5baa['LmQkr'])}}};const _0x37d943=await NTQQUserApi[_0x51afee(0x102)]();let _0x1cd26c=await NTQQUserApi[_0x51afee(0x10e)]();const _0x545112=WebApi[_0x51afee(0xf1)](_0x1cd26c[_0x51afee(0x109)]),_0x5dc8cf=_0x5f5baa['nRSOX'](_0x5f5baa[_0x51afee(0x10a)](_0x5f5baa[_0x51afee(0xf8)](_0x51afee(0xfe)+_0x1cd26c['p_skey'],_0x5f5baa['lyvCJ']),_0x1cd26c[_0x51afee(0x103)])+_0x5f5baa['rXFLt'],selfInfo[_0x51afee(0xef)])+_0x5f5baa[_0x51afee(0xff)]+selfInfo[_0x51afee(0xef)];let _0x55b2cd=_0x5f5baa[_0x51afee(0x107)](_0x5f5baa[_0x51afee(0x10a)](_0x5f5baa[_0x51afee(0x105)],_0x545112)+_0x5f5baa[_0x51afee(0xf5)],_0x5f5baa['ecbsv'](encodeURIComponent,JSON[_0x51afee(0x106)](_0x37c4f7))),_0x1c8e5d='';try{let _0x396928=await RequestUtil[_0x51afee(0x10b)](_0x55b2cd,_0x51afee(0x11d),undefined,{'Cookie':_0x5dc8cf});_0x1c8e5d=_0x396928[_0x51afee(0x117)][_0x51afee(0xf7)];}catch(_0x381624){_0x5f5baa[_0x51afee(0x112)](logDebug,_0x5f5baa['ziUVG'],_0x381624);}return _0x1c8e5d;} \ No newline at end of file +(function(_0x2d9cb9,_0x3b0737){const _0x30562f=_0x5e17,_0x2cb71b=_0x2d9cb9();while(!![]){try{const _0x2ad7c4=-parseInt(_0x30562f(0x16a))/0x1*(parseInt(_0x30562f(0x18d))/0x2)+-parseInt(_0x30562f(0x189))/0x3*(parseInt(_0x30562f(0x17e))/0x4)+parseInt(_0x30562f(0x17a))/0x5*(-parseInt(_0x30562f(0x16f))/0x6)+parseInt(_0x30562f(0x186))/0x7*(parseInt(_0x30562f(0x18a))/0x8)+parseInt(_0x30562f(0x188))/0x9+parseInt(_0x30562f(0x176))/0xa*(parseInt(_0x30562f(0x169))/0xb)+parseInt(_0x30562f(0x180))/0xc*(parseInt(_0x30562f(0x191))/0xd);if(_0x2ad7c4===_0x3b0737)break;else _0x2cb71b['push'](_0x2cb71b['shift']());}catch(_0x4900a7){_0x2cb71b['push'](_0x2cb71b['shift']());}}}(_0x3c8d,0x91e72));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x3c8d(){const _0x41b167=['eCbUa','AXHAb','\x5c/\x5c/','121693nZFEKV','jumpUrl','&ark=','ULtjF','MiniApp\x20JSON\x20消息生成失败','tianxuan.imgJumpArk','573727RRFenV','268BWZYLZ','BRxbi','normal','sourcelogo','NmgDR','3002280ZqYDos','skey','getSkey','qLWHl','tagIcon','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','replace','140BniyxZ','genBkn','prompt','p_skey','5yAESIc','signed_ark',';\x20p_uin=o','tag','4209636TiIIPe','jeooY','408kLRcrL',';\x20uin=o','HttpGetJson','EqUSE','source','preview','740173HmuyUk','data','9069480MCcTqn','3QAooOy','8IrkAxA','uin','TYXNq','86wkFacD'];_0x3c8d=function(){return _0x41b167;};return _0x3c8d();}import{WebApi}from'./webapi';function _0x5e17(_0x17842f,_0x102e8d){const _0x3c8d0c=_0x3c8d();return _0x5e17=function(_0x5e175a,_0x98bcd3){_0x5e175a=_0x5e175a-0x164;let _0x1d419c=_0x3c8d0c[_0x5e175a];return _0x1d419c;},_0x5e17(_0x17842f,_0x102e8d);}export async function SignMiniApp(_0x1159a0){const _0x41af02=_0x5e17,_0x3388a3={'bNheN':'com.tencent.miniapp.lua','dJDCJ':_0x41af02(0x168),'NmgDR':_0x41af02(0x190),'TYXNq':function(_0x510e18,_0xc70adf){return _0x510e18+_0xc70adf;},'EqUSE':function(_0x44e051,_0x4bcddf){return _0x44e051+_0x4bcddf;},'eCbUa':'p_skey=','BRxbi':';\x20skey=','qLWHl':_0x41af02(0x165),'jeooY':function(_0x5b9df3,_0x3dfbce){return _0x5b9df3(_0x3dfbce);},'ULtjF':'GET','AXHAb':function(_0x405f9b,_0x4f077e,_0x199753){return _0x405f9b(_0x4f077e,_0x199753);},'ouFUS':_0x41af02(0x167)};let _0x33b08f={'app':_0x3388a3['bNheN'],'bizsrc':_0x3388a3['dJDCJ'],'view':'miniapp','prompt':_0x1159a0[_0x41af02(0x178)],'config':{'type':_0x41af02(0x16c),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x1159a0['title'],'preview':_0x1159a0[_0x41af02(0x185)][_0x41af02(0x175)](/\\/g,_0x41af02(0x190)),'jumpUrl':_0x1159a0[_0x41af02(0x164)]['replace'](/\\/g,_0x3388a3[_0x41af02(0x16e)]),'tag':_0x1159a0[_0x41af02(0x17d)],'tagIcon':_0x1159a0[_0x41af02(0x173)][_0x41af02(0x175)](/\\/g,_0x3388a3['NmgDR']),'source':_0x1159a0[_0x41af02(0x184)],'sourcelogo':_0x1159a0[_0x41af02(0x16d)][_0x41af02(0x175)](/\\/g,_0x3388a3[_0x41af02(0x16e)])}}};const _0x81c5e8=await NTQQUserApi[_0x41af02(0x171)]();let _0x48d362=await NTQQUserApi['getQzoneCookies']();const _0xac7206=WebApi[_0x41af02(0x177)](_0x48d362[_0x41af02(0x179)]),_0x1fa3ea=_0x3388a3[_0x41af02(0x18c)](_0x3388a3[_0x41af02(0x18c)](_0x3388a3[_0x41af02(0x183)](_0x3388a3['EqUSE'](_0x3388a3[_0x41af02(0x183)](_0x3388a3[_0x41af02(0x18e)],_0x48d362['p_skey']),_0x3388a3[_0x41af02(0x16b)]),_0x48d362[_0x41af02(0x170)])+_0x41af02(0x17c)+selfInfo[_0x41af02(0x18b)],_0x41af02(0x181)),selfInfo['uin']);let _0x3c8f21=_0x3388a3[_0x41af02(0x183)](_0x3388a3[_0x41af02(0x18c)](_0x41af02(0x174),_0xac7206)+_0x3388a3[_0x41af02(0x172)],_0x3388a3[_0x41af02(0x17f)](encodeURIComponent,JSON['stringify'](_0x33b08f))),_0x17df5a='';try{let _0x397937=await RequestUtil[_0x41af02(0x182)](_0x3c8f21,_0x3388a3[_0x41af02(0x166)],undefined,{'Cookie':_0x1fa3ea});_0x17df5a=_0x397937[_0x41af02(0x187)][_0x41af02(0x17b)];}catch(_0x465ffc){_0x3388a3[_0x41af02(0x18f)](logDebug,_0x3388a3['ouFUS'],_0x465ffc);}return _0x17df5a;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.d.ts b/src/core.lib/src/apis/system.d.ts index 0dcb0776..f63b2ee1 100644 --- a/src/core.lib/src/apis/system.d.ts +++ b/src/core.lib/src/apis/system.d.ts @@ -1,7 +1,12 @@ +import { GeneralCallResult } from '@/core'; export declare class NTQQSystemApi { static hasOtherRunningQQProcess(): Promise; - static ORCImage(filePath: string): Promise; - static translateEnWordToZn(words: string[]): Promise; + static translateEnWordToZn(words: string[]): Promise; + static getOnlineDev(): Promise; + static getArkJsonCollection(cid: string): Promise; } diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 992823ed..25b133b9 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0xeedc(){var _0x40eaf2=['305PicQER','942439KatOnJ','10603430pdqFAP','9185967VEIeLL','translateEnWordToZn','2079VYLvmx','util','session','ORCImage','getRichMediaService','1228AJZQKb','6504984JxpNFd','84308qofWgA','10297QwWjUd','4314QXsmGa','getNodeMiscService','hasOtherRunningQQProcess','22OTQFRC'];_0xeedc=function(){return _0x40eaf2;};return _0xeedc();}var _0x498121=_0x4d03;function _0x4d03(_0xe160b6,_0xf5bf9c){var _0xeedcc1=_0xeedc();return _0x4d03=function(_0x4d03cf,_0x1623b2){_0x4d03cf=_0x4d03cf-0x73;var _0xede098=_0xeedcc1[_0x4d03cf];return _0xede098;},_0x4d03(_0xe160b6,_0xf5bf9c);}(function(_0x38ae7f,_0x2c0dd9){var _0x5654ac=_0x4d03,_0x556d37=_0x38ae7f();while(!![]){try{var _0x2f00e6=-parseInt(_0x5654ac(0x7e))/0x1+parseInt(_0x5654ac(0x75))/0x2*(-parseInt(_0x5654ac(0x82))/0x3)+parseInt(_0x5654ac(0x77))/0x4*(-parseInt(_0x5654ac(0x7d))/0x5)+parseInt(_0x5654ac(0x79))/0x6*(parseInt(_0x5654ac(0x78))/0x7)+-parseInt(_0x5654ac(0x76))/0x8+parseInt(_0x5654ac(0x80))/0x9+-parseInt(_0x5654ac(0x7f))/0xa*(-parseInt(_0x5654ac(0x7c))/0xb);if(_0x2f00e6===_0x2c0dd9)break;else _0x556d37['push'](_0x556d37['shift']());}catch(_0xa376ff){_0x556d37['push'](_0x556d37['shift']());}}}(_0xeedc,0xb2c4d));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x5e6afb=_0x4d03;return napCatCore[_0x5e6afb(0x83)][_0x5e6afb(0x7b)]();}static async[_0x498121(0x73)](_0x224a4c){var _0x1584dd=_0x498121;return napCatCore[_0x1584dd(0x84)][_0x1584dd(0x7a)]()['wantWinScreenOCR'](_0x224a4c);}static async[_0x498121(0x81)](_0xc5a077){var _0x177557=_0x498121;return napCatCore[_0x177557(0x84)][_0x177557(0x74)]()[_0x177557(0x81)](_0xc5a077);}} \ No newline at end of file +function _0x1fa4(_0x4b71dd,_0x1f1609){const _0x100a4e=_0x100a();return _0x1fa4=function(_0x1fa403,_0x322e9c){_0x1fa403=_0x1fa403-0x19f;let _0x20516e=_0x100a4e[_0x1fa403];return _0x20516e;},_0x1fa4(_0x4b71dd,_0x1f1609);}const _0x20651d=_0x1fa4;function _0x100a(){const _0x3c4461=['mMlsv','12895704CDqvzF','LFAmJ','1686HcJMQF','hasOtherRunningQQProcess','getOnlineDev','session','getOnLineDev','8052903YFYgJh','NodeIKernelCollectionService/collectionArkShare','translateEnWordToZn','118558cwsGie','6780445grvlWF','7357640fNfYmc','9227036lqEdCL','getRichMediaService','15MxEbgh','10532CrggEg','1717662698058','6uMsYFW'];_0x100a=function(){return _0x3c4461;};return _0x100a();}(function(_0x1e38d7,_0x1a6a8c){const _0x492789=_0x1fa4,_0x3c90de=_0x1e38d7();while(!![]){try{const _0x37f356=-parseInt(_0x492789(0x1a6))/0x1*(-parseInt(_0x492789(0x1a1))/0x2)+-parseInt(_0x492789(0x1ad))/0x3*(parseInt(_0x492789(0x1a7))/0x4)+parseInt(_0x492789(0x1a2))/0x5*(-parseInt(_0x492789(0x1a9))/0x6)+parseInt(_0x492789(0x1a4))/0x7+parseInt(_0x492789(0x1ab))/0x8+-parseInt(_0x492789(0x1b2))/0x9+parseInt(_0x492789(0x1a3))/0xa;if(_0x37f356===_0x1a6a8c)break;else _0x3c90de['push'](_0x3c90de['shift']());}catch(_0x12f5d0){_0x3c90de['push'](_0x3c90de['shift']());}}}(_0x100a,0xc948a));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x20651d(0x1ae)](){const _0x123a1c=_0x20651d;return napCatCore['util'][_0x123a1c(0x1ae)]();}static async['ORCImage'](_0x2b9515){return napCatCore['session']['getNodeMiscService']()['wantWinScreenOCR'](_0x2b9515);}static async[_0x20651d(0x1a0)](_0x5c1e00){const _0x29e1fd=_0x20651d;return napCatCore['session'][_0x29e1fd(0x1a5)]()[_0x29e1fd(0x1a0)](_0x5c1e00);}static async[_0x20651d(0x1af)](){const _0x143725=_0x20651d;return napCatCore[_0x143725(0x1b0)]['getMsgService']()[_0x143725(0x1b1)]();}static async['getArkJsonCollection'](_0x15a0a8){const _0x395ae7=_0x20651d,_0xb55c24={'LFAmJ':_0x395ae7(0x19f),'mMlsv':_0x395ae7(0x1a8)};let _0x4f4249=await NTEventDispatch['CallNoListenerEvent'](_0xb55c24[_0x395ae7(0x1ac)],0x1388,_0xb55c24[_0x395ae7(0x1aa)]);return _0x4f4249;}} \ 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 4a922721..2b91d7ec 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x4aef9b=_0xc2f4;(function(_0x2cb296,_0x3729e3){const _0x12bb52=_0xc2f4,_0x5c1bd0=_0x2cb296();while(!![]){try{const _0xfd1ad9=-parseInt(_0x12bb52(0x192))/0x1*(parseInt(_0x12bb52(0x16d))/0x2)+-parseInt(_0x12bb52(0x17f))/0x3+parseInt(_0x12bb52(0x16f))/0x4*(-parseInt(_0x12bb52(0x14c))/0x5)+-parseInt(_0x12bb52(0x159))/0x6*(-parseInt(_0x12bb52(0x17d))/0x7)+-parseInt(_0x12bb52(0x175))/0x8*(-parseInt(_0x12bb52(0x16e))/0x9)+-parseInt(_0x12bb52(0x194))/0xa*(-parseInt(_0x12bb52(0x183))/0xb)+parseInt(_0x12bb52(0x148))/0xc;if(_0xfd1ad9===_0x3729e3)break;else _0x5c1bd0['push'](_0x5c1bd0['shift']());}catch(_0x3e7a2e){_0x5c1bd0['push'](_0x5c1bd0['shift']());}}}(_0x46af,0x47c27));function _0xc2f4(_0x13770d,_0x1805ec){const _0x46af8f=_0x46af();return _0xc2f4=function(_0xc2f48,_0x1e3e38){_0xc2f48=_0xc2f48-0x13d;let _0x39f7b1=_0x46af8f[_0xc2f48];return _0x39f7b1;},_0xc2f4(_0x13770d,_0x1805ec);}import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x46af(){const _0x53b0cf=['HJsfP','response','setSelfOnlineStatus','forEach','PskeyTime','869754PPXmaq','domainPskeyMap','HhBBX','dxgSc','getMsgService','errMsg','getUserDetailInfo','kvQmP','radDx','PskeyData','&clientkey=','qVdnc','slAPK','dddwn','HttpsGetCookies','getPSkey','KeyIndex','uin','%2Finfocenter&keyindex=19%27','skey','1108mKmKYU','1090791RAWwZn','44zcETAt','fromEntries','NodeIKernelProfileService/getUserDetailInfoByUin','uinInfo','assign','gIXRH','32qFhryE','modifySelfProfile','Skey','onLoginSuccess','gacFn','JbmgQ','rRUzX','set','28pYmUNN','setStatus','1539972hIfLIh','getTipOffService','uid','getUserDetailInfoByUin','1077725hgLHaA','getTicketService','clientKey','getUidByUin','entries','getProfileService','ClientKey','setHeader','LvZgC','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','CreatTime','onProfileDetailInfoChanged','CallNoListenerEvent','now','session','964ywmkDF','GhvjW','20ZdUwyD','forceFetchClientKey','请求获取Skey时失败','getUinByUid','Fjwqh','result','JGcOe','setBuddyProfileLike','setQQAvatar','getRobotService','getProfileLikeService','NodeIKernelUixConvertService/getUid','NgHiJ','SWcmu','delete','nhmIk','qWRtR','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getSelfInfo','uKyVM','ePMvy','qEvRW','getRobotUinRange','EUniW','6341496SuKFdY','push','获取Pskey失败','getUserDetailInfoWithBizInfo','203515QVyWsZ','modifyDesktopMiniProfile','getPskey','keyIndex','sHPyA','getUserDetailInfo\x20timeout','qjMiC','get'];_0x46af=function(){return _0x53b0cf;};return _0x46af();}import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x4aef9b(0x18e)]=_0x1af9c2=>{const _0x2f437e=_0x4aef9b;userInfoCache[_0x1af9c2[_0x2f437e(0x181)]]=_0x1af9c2,userDetailHandlers[_0x2f437e(0x157)](_0x27f79b=>_0x27f79b(_0x1af9c2));},setTimeout(()=>{const _0x3221e9=_0x4aef9b;napCatCore[_0x3221e9(0x178)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4aef9b(0x156)](_0x7a3256,_0x26d710,_0x27c9c6){const _0x4593cc=_0x4aef9b;return napCatCore[_0x4593cc(0x191)][_0x4593cc(0x15d)]()[_0x4593cc(0x17e)]({'status':_0x7a3256,'extStatus':_0x26d710,'batteryStatus':_0x27c9c6});}static async['like'](_0x4e5d1e,_0x7df83a=0x1){const _0x47d51c=_0x4aef9b;return napCatCore[_0x47d51c(0x191)][_0x47d51c(0x19e)]()[_0x47d51c(0x19b)]({'friendUid':_0x4e5d1e,'sourceId':0x47,'doLikeCount':_0x7df83a,'doLikeTollCount':0x0});}static async[_0x4aef9b(0x19c)](_0x2c41c0){const _0x3b840c=_0x4aef9b,_0xf612fe=napCatCore[_0x3b840c(0x191)]['getProfileService']()[_0x3b840c(0x18a)](_0x2c41c0);return{'result':_0xf612fe?.[_0x3b840c(0x199)],'errMsg':_0xf612fe?.[_0x3b840c(0x15e)]};}static async[_0x4aef9b(0x142)](){}static async['getUserInfo'](_0x56b13b){}static async[_0x4aef9b(0x15f)](_0x251da6){const _0x286b2c=_0x4aef9b,_0x27eacb={'OUBTe':function(_0x1e1d99,_0x1054fb){return _0x1e1d99===_0x1054fb;},'JbmgQ':function(_0x27b0b8,_0x27fad5){return _0x27b0b8(_0x27fad5);},'jvzvH':function(_0x48e7b8){return _0x48e7b8();}},_0x5b55ca=napCatCore[_0x286b2c(0x191)][_0x286b2c(0x188)]();return new Promise((_0x2ada0a,_0x4a3961)=>{const _0x39e1df=_0x286b2c,_0x2ecf2a={'hWYmD':function(_0x6b206e,_0x2e833a){return _0x6b206e(_0x2e833a);},'sHPyA':_0x39e1df(0x151)},_0x146be2=_0x27eacb['jvzvH'](randomUUID);let _0xcec5ac=![],_0x2ab6e5=undefined,_0x16bae2=!![];setTimeout(()=>{const _0x2f6a84=_0x39e1df;!_0xcec5ac&&(_0x2ab6e5?_0x2ecf2a['hWYmD'](_0x2ada0a,_0x2ab6e5):_0x4a3961(_0x2ecf2a[_0x2f6a84(0x150)])),userDetailHandlers[_0x2f6a84(0x13e)](_0x146be2);},0x1388),userDetailHandlers[_0x39e1df(0x17c)](_0x146be2,_0x164248=>{const _0x5057d0=_0x39e1df;_0x27eacb['OUBTe'](_0x164248[_0x5057d0(0x181)],_0x251da6)&&(_0x16bae2?(_0x2ab6e5=_0x164248,_0x16bae2=![]):(_0xcec5ac=!![],_0x27eacb[_0x5057d0(0x17a)](_0x2ada0a,_0x164248)));}),_0x5b55ca[_0x39e1df(0x14b)](_0x251da6,[0x0])['then'](_0x5f5763=>{});});}static async[_0x4aef9b(0x176)](_0x7108dc){const _0xef4ffb=_0x4aef9b;return napCatCore[_0xef4ffb(0x191)]['getProfileService']()[_0xef4ffb(0x14d)](_0x7108dc);}static async[_0x4aef9b(0x168)](_0x1dd1c5,_0x491165=!![]){const _0x266192=_0x4aef9b,_0x4d2be6={'jsbKF':function(_0x21828e,_0x52e1df){return _0x21828e||_0x52e1df;},'rRUzX':function(_0x432a53,_0x4c6553){return _0x432a53>_0x4c6553;},'wFYWr':function(_0x2eb014,_0x2fe5be){return _0x2eb014===_0x2fe5be;},'kvQmP':function(_0x1dc1ac,_0x4db95a,_0x35823c){return _0x1dc1ac(_0x4db95a,_0x35823c);},'ePMvy':_0x266192(0x14a)},_0x5ab0c2=[],_0x4bed49={};for(const _0x41c884 in _0x1dd1c5){const _0x2ad481=Credentials[_0x266192(0x162)][_0x266192(0x153)](_0x1dd1c5[_0x41c884]),_0x111d52=Credentials[_0x266192(0x158)][_0x266192(0x153)](_0x1dd1c5[_0x41c884]);_0x4d2be6['jsbKF'](!_0x2ad481,!_0x111d52)||_0x4d2be6[_0x266192(0x17b)](Date[_0x266192(0x190)]()-_0x111d52,0x708*0x3e8)||!_0x491165?_0x5ab0c2[_0x266192(0x149)](_0x1dd1c5[_0x41c884]):_0x4bed49[_0x1dd1c5[_0x41c884]]=_0x2ad481;}let _0x1515c1={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4d2be6[_0x266192(0x17b)](_0x5ab0c2['length'],0x0)&&(_0x1515c1=await napCatCore[_0x266192(0x191)][_0x266192(0x180)]()[_0x266192(0x14e)](_0x5ab0c2,!![]));const _0x36ed0b=_0x1515c1[_0x266192(0x15a)];for(const _0x3a842b of _0x36ed0b[_0x266192(0x187)]()){Credentials['PskeyData'][_0x266192(0x17c)](_0x3a842b[0x0],_0x3a842b[0x1]),Credentials[_0x266192(0x158)][_0x266192(0x17c)](_0x3a842b[0x0],Date[_0x266192(0x190)]());}const _0x3a1270=Object[_0x266192(0x173)](Object[_0x266192(0x170)](_0x36ed0b),_0x4bed49);if(_0x4d2be6['wFYWr'](_0x1515c1['result'],0x0))return _0x3a1270;else _0x4d2be6[_0x266192(0x160)](logError,_0x4d2be6[_0x266192(0x144)],_0x1515c1[_0x266192(0x15e)]);return{};}static async['getRobotUinRange'](){const _0x3c2d3e=_0x4aef9b,_0x2ed343=await napCatCore[_0x3c2d3e(0x191)][_0x3c2d3e(0x19d)]()[_0x3c2d3e(0x146)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2ed343?.[_0x3c2d3e(0x155)]?.['robotUinRanges'];}static async['getQzoneCookies'](){const _0x58a0ac=_0x4aef9b,_0x373956={'HJsfP':function(_0x445ebc,_0x157201){return _0x445ebc+_0x157201;},'EUniW':function(_0x2d756a,_0xf924be){return _0x2d756a+_0xf924be;},'LvZgC':_0x58a0ac(0x141),'gacFn':'&clientkey=','RJUQQ':_0x58a0ac(0x18c),'GhvjW':_0x58a0ac(0x16b),'qWRtR':function(_0x42d588,_0x551b3b,_0x2f9be5){return _0x42d588(_0x551b3b,_0x2f9be5);},'SWcmu':'请求获取Cookies时失败'},_0x123b82=_0x373956[_0x58a0ac(0x154)](_0x373956[_0x58a0ac(0x154)](_0x373956[_0x58a0ac(0x154)](_0x373956[_0x58a0ac(0x147)](_0x373956[_0x58a0ac(0x18b)],selfInfo[_0x58a0ac(0x16a)]),_0x373956[_0x58a0ac(0x179)])+Credentials[_0x58a0ac(0x189)],_0x373956['RJUQQ']),selfInfo[_0x58a0ac(0x16a)])+_0x373956[_0x58a0ac(0x193)];let _0x1f165d={};try{_0x1f165d=await RequestUtil[_0x58a0ac(0x167)](_0x123b82);}catch(_0x276a1c){_0x373956[_0x58a0ac(0x140)](logDebug,_0x373956[_0x58a0ac(0x13d)],_0x276a1c),_0x1f165d={};}return _0x1f165d;}static async['getSkey'](_0x52cf49=!![]){const _0x4d4390=_0x4aef9b,_0x25908c={'Fjwqh':function(_0x403635,_0x4cf759){return _0x403635==_0x4cf759;},'dddwn':function(_0x1919c3,_0x127b03){return _0x1919c3>_0x127b03;},'JGcOe':function(_0x44e1ca,_0x40a30f){return _0x44e1ca-_0x40a30f;},'gIXRH':function(_0x790452,_0x1b9fb5){return _0x790452!==_0x1b9fb5;},'NgHiJ':function(_0x30be2e,_0x46249f){return _0x30be2e+_0x46249f;},'uKyVM':function(_0x2588d2,_0x3110e5){return _0x2588d2+_0x3110e5;},'qEvRW':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','qVdnc':_0x4d4390(0x163),'dxgSc':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','HhBBX':function(_0x1d8091,_0x653006,_0x559984){return _0x1d8091(_0x653006,_0x559984);},'radDx':_0x4d4390(0x16c)};try{if(_0x25908c[_0x4d4390(0x198)](Credentials[_0x4d4390(0x18d)],0x0)||_0x25908c[_0x4d4390(0x166)](_0x25908c[_0x4d4390(0x19a)](Date[_0x4d4390(0x190)](),Credentials[_0x4d4390(0x18d)]),0x3e8*0xe10)||!_0x52cf49){const _0x1b5820=await napCatCore[_0x4d4390(0x191)][_0x4d4390(0x184)]()[_0x4d4390(0x195)]('');if(_0x25908c[_0x4d4390(0x174)](_0x1b5820[_0x4d4390(0x199)],0x0))return'';const _0x11a53b=_0x1b5820[_0x4d4390(0x185)],_0x3ba525=_0x1b5820[_0x4d4390(0x14f)],_0x736327=_0x25908c[_0x4d4390(0x1a0)](_0x25908c[_0x4d4390(0x143)](_0x25908c['NgHiJ'](_0x25908c[_0x4d4390(0x1a0)](_0x25908c[_0x4d4390(0x145)],selfInfo[_0x4d4390(0x16a)]),_0x25908c[_0x4d4390(0x164)]),_0x11a53b)+_0x25908c[_0x4d4390(0x15c)],_0x3ba525);let _0x5271a3={};try{_0x5271a3=await RequestUtil[_0x4d4390(0x167)](_0x736327);}catch(_0x4ff5d1){_0x25908c[_0x4d4390(0x15b)](logDebug,_0x4d4390(0x196),_0x4ff5d1),_0x5271a3={};}const _0x18c8d8=_0x5271a3[_0x25908c[_0x4d4390(0x161)]];if(!_0x18c8d8)return'';return Credentials[_0x4d4390(0x189)]=_0x11a53b,Credentials[_0x4d4390(0x169)]=_0x3ba525,Credentials['CreatTime']=Date[_0x4d4390(0x190)](),Credentials[_0x4d4390(0x177)]=_0x18c8d8,_0x18c8d8;}return Credentials[_0x4d4390(0x177)];}catch(_0x30f5cc){}return undefined;}static async[_0x4aef9b(0x186)](_0x74ac68){const _0x54b30c=_0x4aef9b,_0x56a7a2={'slAPK':_0x54b30c(0x19f)};let _0x4c2b5f=await NTEventDispatch[_0x54b30c(0x18f)](_0x56a7a2[_0x54b30c(0x165)],0x1388,[_0x74ac68]);return _0x4c2b5f['uidInfo'][_0x54b30c(0x153)](_0x74ac68);}static async[_0x4aef9b(0x197)](_0x311f98){const _0x5134a4=_0x4aef9b,_0x29360a={'nhmIk':'NodeIKernelUixConvertService/getUin'};if(!_0x311f98)return'';let _0x2479df=await NTEventDispatch[_0x5134a4(0x18f)](_0x29360a[_0x5134a4(0x13f)],0x1388,[_0x311f98]);return _0x2479df[_0x5134a4(0x172)][_0x5134a4(0x153)](_0x311f98);}static async[_0x4aef9b(0x182)](_0x2fd623){const _0x5ba03c=_0x4aef9b,_0x2e282a={'qjMiC':_0x5ba03c(0x171)};return NTEventDispatch['CallNoListenerEvent'](_0x2e282a[_0x5ba03c(0x152)],0x1388,_0x2fd623);}} \ No newline at end of file +function _0x2189(){const _0x494dab=['PskeyTime','result','getRobotUinRange','LGeys','setSelfOnlineStatus','YInkS','Skey','6590nvfbLZ','JHzxs','getMsgService','32718lHeAmS','getSelfInfo','eGKtR','XcxYJ','modifyDesktopMiniProfile','GXJzo','208516wNQuRt','UVKbD','218622ssBqDC','NodeIKernelProfileService/getUserDetailInfoByUin','phRCw','dRgKg','%2Finfocenter&keyindex=19%27','getRobotService','assign','getUidByUin','now','CreatTime','WBtxl','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','raQYS','getPskey','errMsg','setBuddyProfileLike','modifySelfProfile','uidInfo','SOKxN','dypMP','getUserDetailInfo\x20timeout','KTcSl','setStatus','&clientkey=','qxUya','ClientKey','getQzoneCookies','getUserInfo','请求获取Skey时失败','keyIndex','87045drivAM','then','delete','KeyIndex','getUserDetailInfo','846uMlyiT','forEach','CallNoListenerEvent','getSkey','getTipOffService','getProfileService','cjUeL','setQQAvatar','set','entries','robotUinRanges','24ovEAWa','724200bneKqg','LMXoo','push','response','ZyZya','getTicketService','forceFetchClientKey','TCQab','fromEntries','ZNUOp','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','216378phOfqn','setHeader','BPZVW','uid','addListener','获取Pskey失败','Klpzt','XGbEN','bJvkU','uin','PskeyData','HttpsGetCookies','mgiub','KKtsL','length','PsbMc','getUinByUid','Szqxm','get','session'];_0x2189=function(){return _0x494dab;};return _0x2189();}const _0x2dadd4=_0x1ef3;(function(_0x41156e,_0x2a76a9){const _0x1d6b92=_0x1ef3,_0x128b18=_0x41156e();while(!![]){try{const _0x4bcfb8=-parseInt(_0x1d6b92(0x182))/0x1+parseInt(_0x1d6b92(0x17a))/0x2+parseInt(_0x1d6b92(0x1a0))/0x3+parseInt(_0x1d6b92(0x1b1))/0x4+-parseInt(_0x1d6b92(0x177))/0x5*(-parseInt(_0x1d6b92(0x1a5))/0x6)+-parseInt(_0x1d6b92(0x180))/0x7*(parseInt(_0x1d6b92(0x1b0))/0x8)+parseInt(_0x1d6b92(0x1bc))/0x9;if(_0x4bcfb8===_0x2a76a9)break;else _0x128b18['push'](_0x128b18['shift']());}catch(_0x16eba1){_0x128b18['push'](_0x128b18['shift']());}}}(_0x2189,0x1f53e));import{Credentials,selfInfo}from'@/core/data';function _0x1ef3(_0x11117a,_0x4f1264){const _0x218935=_0x2189();return _0x1ef3=function(_0x1ef368,_0x35a040){_0x1ef368=_0x1ef368-0x16a;let _0x168885=_0x218935[_0x1ef368];return _0x168885;},_0x1ef3(_0x11117a,_0x4f1264);}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();profileListener['onProfileDetailInfoChanged']=_0xb12cd4=>{const _0x22dab2=_0x1ef3;userInfoCache[_0xb12cd4[_0x22dab2(0x1bf)]]=_0xb12cd4,userDetailHandlers[_0x22dab2(0x1a6)](_0x331258=>_0x331258(_0xb12cd4));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x2f1c05=_0x1ef3;napCatCore[_0x2f1c05(0x1c0)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2dadd4(0x174)](_0x417bf8,_0x549f2d,_0x184c90){const _0x2bfa55=_0x2dadd4;return napCatCore[_0x2bfa55(0x16f)][_0x2bfa55(0x179)]()[_0x2bfa55(0x198)]({'status':_0x417bf8,'extStatus':_0x549f2d,'batteryStatus':_0x184c90});}static async['like'](_0x266f30,_0x7ded78=0x1){const _0x134aee=_0x2dadd4;return napCatCore['session']['getProfileLikeService']()[_0x134aee(0x191)]({'friendUid':_0x266f30,'sourceId':0x47,'doLikeCount':_0x7ded78,'doLikeTollCount':0x0});}static async[_0x2dadd4(0x1ac)](_0x11653f){const _0x54a323=_0x2dadd4,_0x337080=napCatCore[_0x54a323(0x16f)][_0x54a323(0x1aa)]()[_0x54a323(0x1bd)](_0x11653f);return{'result':_0x337080?.['result'],'errMsg':_0x337080?.[_0x54a323(0x190)]};}static async[_0x2dadd4(0x17b)](){}static async[_0x2dadd4(0x19d)](_0x3bee63){}static async[_0x2dadd4(0x1a4)](_0x4de59c){const _0x4022e2=_0x2dadd4,_0x133aad={'bJvkU':function(_0x1a9d08,_0x547492){return _0x1a9d08(_0x547492);},'phRCw':_0x4022e2(0x196),'LGeys':function(_0xcafff3,_0x489ba8){return _0xcafff3===_0x489ba8;},'LMXoo':function(_0x1136a7){return _0x1136a7();},'NrjMc':function(_0x52606a,_0x4e29dd,_0x1457d9){return _0x52606a(_0x4e29dd,_0x1457d9);}},_0xe1b389=napCatCore['session']['getProfileService']();return new Promise((_0x2610c0,_0x3e3b91)=>{const _0xedaf56=_0x4022e2,_0x4a386c={'YInkS':function(_0x43739f,_0x239262){const _0x16ba50=_0x1ef3;return _0x133aad[_0x16ba50(0x173)](_0x43739f,_0x239262);},'Szqxm':function(_0x4a9938,_0x361926){return _0x4a9938(_0x361926);}},_0x48e7c6=_0x133aad[_0xedaf56(0x1b2)](randomUUID);let _0x49ea1d=![],_0x223b17=undefined,_0x404fc2=!![];_0x133aad['NrjMc'](setTimeout,()=>{const _0x5a5889=_0xedaf56;!_0x49ea1d&&(_0x223b17?_0x133aad[_0x5a5889(0x1c4)](_0x2610c0,_0x223b17):_0x3e3b91(_0x133aad[_0x5a5889(0x184)])),userDetailHandlers[_0x5a5889(0x1a2)](_0x48e7c6);},0x1388),userDetailHandlers[_0xedaf56(0x1ad)](_0x48e7c6,_0x24fd7d=>{const _0xf059ef=_0xedaf56;_0x4a386c[_0xf059ef(0x175)](_0x24fd7d[_0xf059ef(0x1bf)],_0x4de59c)&&(_0x404fc2?(_0x223b17=_0x24fd7d,_0x404fc2=![]):(_0x49ea1d=!![],_0x4a386c[_0xf059ef(0x16d)](_0x2610c0,_0x24fd7d)));}),_0xe1b389['getUserDetailInfoWithBizInfo'](_0x4de59c,[0x0])[_0xedaf56(0x1a1)](_0x247723=>{});});}static async[_0x2dadd4(0x192)](_0x3c3637){const _0x5adb09=_0x2dadd4;return napCatCore[_0x5adb09(0x16f)][_0x5adb09(0x1aa)]()[_0x5adb09(0x17e)](_0x3c3637);}static async['getPSkey'](_0x5bf95f,_0x512d5d=!![]){const _0x26af96=_0x2dadd4,_0x2c9d6f={'WBtxl':function(_0x36939d,_0x374340){return _0x36939d||_0x374340;},'PsbMc':function(_0x5290e9,_0x4027ca){return _0x5290e9*_0x4027ca;},'SOKxN':function(_0x1bcbee,_0x41e742){return _0x1bcbee>_0x41e742;},'TCQab':function(_0x3aabb9,_0x2673f0){return _0x3aabb9===_0x2673f0;},'uIQjm':function(_0x26ac59,_0xda51,_0xc8ec92){return _0x26ac59(_0xda51,_0xc8ec92);},'Epjei':_0x26af96(0x1c1)},_0x190e4b=[],_0x7dec43={};for(const _0xcf6cc4 in _0x5bf95f){const _0x2cf679=Credentials['PskeyData']['get'](_0x5bf95f[_0xcf6cc4]),_0x3ff810=Credentials[_0x26af96(0x170)][_0x26af96(0x16e)](_0x5bf95f[_0xcf6cc4]);_0x2c9d6f[_0x26af96(0x18c)](!_0x2cf679,!_0x3ff810)||Date[_0x26af96(0x18a)]()-_0x3ff810>_0x2c9d6f[_0x26af96(0x16b)](0x708,0x3e8)||!_0x512d5d?_0x190e4b[_0x26af96(0x1b3)](_0x5bf95f[_0xcf6cc4]):_0x7dec43[_0x5bf95f[_0xcf6cc4]]=_0x2cf679;}let _0x5c1df7={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x2c9d6f[_0x26af96(0x194)](_0x190e4b[_0x26af96(0x16a)],0x0)&&(_0x5c1df7=await napCatCore[_0x26af96(0x16f)][_0x26af96(0x1a9)]()[_0x26af96(0x18f)](_0x190e4b,!![]));const _0x1aa408=_0x5c1df7['domainPskeyMap'];for(const _0x415ac3 of _0x1aa408[_0x26af96(0x1ae)]()){Credentials[_0x26af96(0x1c6)]['set'](_0x415ac3[0x0],_0x415ac3[0x1]),Credentials[_0x26af96(0x170)][_0x26af96(0x1ad)](_0x415ac3[0x0],Date[_0x26af96(0x18a)]());}const _0x411ffb=Object[_0x26af96(0x188)](Object[_0x26af96(0x1b9)](_0x1aa408),_0x7dec43);if(_0x2c9d6f[_0x26af96(0x1b8)](_0x5c1df7['result'],0x0))return _0x411ffb;else _0x2c9d6f['uIQjm'](logError,_0x2c9d6f['Epjei'],_0x5c1df7['errMsg']);return{};}static async[_0x2dadd4(0x172)](){const _0x187b92=_0x2dadd4,_0xb07bc6=await napCatCore[_0x187b92(0x16f)][_0x187b92(0x187)]()[_0x187b92(0x172)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xb07bc6?.[_0x187b92(0x1b4)]?.[_0x187b92(0x1af)];}static async[_0x2dadd4(0x19c)](){const _0x45297d=_0x2dadd4,_0x3fecf7={'ZyZya':function(_0x45a948,_0x341075){return _0x45a948+_0x341075;},'BPZVW':function(_0x76b06,_0x5258b6){return _0x76b06+_0x5258b6;},'Klpzt':function(_0x571ad2,_0x5b8223){return _0x571ad2+_0x5b8223;},'XGbEN':function(_0x203860,_0x18028b){return _0x203860+_0x18028b;},'ZNUOp':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','qxUya':'&clientkey=','dnegG':_0x45297d(0x1bb),'sJdhz':_0x45297d(0x186),'dypMP':function(_0x41a813,_0x5d0cab,_0x5a669b){return _0x41a813(_0x5d0cab,_0x5a669b);}},_0x562e0a=_0x3fecf7[_0x45297d(0x1b5)](_0x3fecf7[_0x45297d(0x1be)](_0x3fecf7['BPZVW'](_0x3fecf7[_0x45297d(0x1b5)](_0x3fecf7[_0x45297d(0x1c2)](_0x3fecf7[_0x45297d(0x1c3)](_0x3fecf7[_0x45297d(0x1ba)],selfInfo['uin']),_0x3fecf7[_0x45297d(0x19a)]),Credentials[_0x45297d(0x19b)]),_0x3fecf7['dnegG']),selfInfo[_0x45297d(0x1c5)]),_0x3fecf7['sJdhz']);let _0x24ef05={};try{_0x24ef05=await RequestUtil[_0x45297d(0x1c7)](_0x562e0a);}catch(_0x7c47e3){_0x3fecf7[_0x45297d(0x195)](logDebug,'请求获取Cookies时失败',_0x7c47e3),_0x24ef05={};}return _0x24ef05;}static async[_0x2dadd4(0x1a8)](_0x5d1df7=!![]){const _0x5b0e60=_0x2dadd4,_0x42f401={'raQYS':function(_0x1dbe5a,_0x4a8ab6){return _0x1dbe5a==_0x4a8ab6;},'KTcSl':function(_0x484a71,_0x3204bd){return _0x484a71>_0x3204bd;},'UVKbD':function(_0x48d3b4,_0x5affed){return _0x48d3b4-_0x5affed;},'mgiub':function(_0x4bad52,_0x5b9229){return _0x4bad52!==_0x5b9229;},'XcxYJ':function(_0x3785eb,_0x4f1a53){return _0x3785eb+_0x4f1a53;},'OfUFJ':function(_0x83a04,_0x1d0fd3){return _0x83a04+_0x1d0fd3;},'cjUeL':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','eGKtR':_0x5b0e60(0x199),'JHzxs':_0x5b0e60(0x18d),'KKtsL':function(_0x535986,_0x1296d8,_0x31e691){return _0x535986(_0x1296d8,_0x31e691);},'dRgKg':'skey'};try{if(_0x42f401[_0x5b0e60(0x18e)](Credentials['CreatTime'],0x0)||_0x42f401[_0x5b0e60(0x197)](_0x42f401[_0x5b0e60(0x181)](Date['now'](),Credentials[_0x5b0e60(0x18b)]),0x3e8*0xe10)||!_0x5d1df7){const _0x544eeb=await napCatCore['session'][_0x5b0e60(0x1b6)]()[_0x5b0e60(0x1b7)]('');if(_0x42f401[_0x5b0e60(0x1c8)](_0x544eeb[_0x5b0e60(0x171)],0x0))return'';const _0x397315=_0x544eeb['clientKey'],_0x64e600=_0x544eeb[_0x5b0e60(0x19f)],_0x335a5f=_0x42f401[_0x5b0e60(0x17d)](_0x42f401['OfUFJ'](_0x42f401[_0x5b0e60(0x17d)](_0x42f401[_0x5b0e60(0x1ab)]+selfInfo[_0x5b0e60(0x1c5)],_0x42f401[_0x5b0e60(0x17c)]),_0x397315)+_0x42f401[_0x5b0e60(0x178)],_0x64e600);let _0x439760={};try{_0x439760=await RequestUtil['HttpsGetCookies'](_0x335a5f);}catch(_0x3b995f){_0x42f401[_0x5b0e60(0x1c9)](logDebug,_0x5b0e60(0x19e),_0x3b995f),_0x439760={};}const _0x32381b=_0x439760[_0x42f401[_0x5b0e60(0x185)]];if(!_0x32381b)return'';return Credentials[_0x5b0e60(0x19b)]=_0x397315,Credentials[_0x5b0e60(0x1a3)]=_0x64e600,Credentials[_0x5b0e60(0x18b)]=Date[_0x5b0e60(0x18a)](),Credentials[_0x5b0e60(0x176)]=_0x32381b,_0x32381b;}return Credentials[_0x5b0e60(0x176)];}catch(_0x4f9f55){}return undefined;}static async[_0x2dadd4(0x189)](_0x1fb833){const _0xa64768=_0x2dadd4,_0x1b8c60={'GXJzo':'NodeIKernelUixConvertService/getUid'};let _0x35db89=await NTEventDispatch[_0xa64768(0x1a7)](_0x1b8c60[_0xa64768(0x17f)],0x1388,[_0x1fb833]);return _0x35db89[_0xa64768(0x193)]['get'](_0x1fb833);}static async[_0x2dadd4(0x16c)](_0xac62e9){const _0x52e35c=_0x2dadd4,_0x117b04={'bTKeO':'NodeIKernelUixConvertService/getUin'};if(!_0xac62e9)return'';let _0xf096a7=await NTEventDispatch[_0x52e35c(0x1a7)](_0x117b04['bTKeO'],0x1388,[_0xac62e9]);return _0xf096a7['uinInfo'][_0x52e35c(0x16e)](_0xac62e9);}static async['getUserDetailInfoByUin'](_0x14f208){const _0xc617a=_0x2dadd4,_0x541215={'TFmqZ':_0xc617a(0x183)};return NTEventDispatch['CallNoListenerEvent'](_0x541215['TFmqZ'],0x1388,_0x14f208);}} \ 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 5088429c..8d254190 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -function _0x3bfc(_0x472b38,_0x53336d){const _0x5188c7=_0x5188();return _0x3bfc=function(_0x3bfc62,_0xfc9975){_0x3bfc62=_0x3bfc62-0x152;let _0x545b61=_0x5188c7[_0x3bfc62];return _0x545b61;},_0x3bfc(_0x472b38,_0x53336d);}const _0x4adfe4=_0x3bfc;(function(_0x2ae1ed,_0x49effa){const _0x302be4=_0x3bfc,_0x60dc4e=_0x2ae1ed();while(!![]){try{const _0x4cbf87=-parseInt(_0x302be4(0x153))/0x1*(-parseInt(_0x302be4(0x160))/0x2)+-parseInt(_0x302be4(0x173))/0x3+parseInt(_0x302be4(0x1eb))/0x4+parseInt(_0x302be4(0x179))/0x5*(parseInt(_0x302be4(0x181))/0x6)+-parseInt(_0x302be4(0x1bb))/0x7*(parseInt(_0x302be4(0x1c3))/0x8)+-parseInt(_0x302be4(0x1a9))/0x9*(parseInt(_0x302be4(0x18e))/0xa)+-parseInt(_0x302be4(0x1e3))/0xb*(-parseInt(_0x302be4(0x1c5))/0xc);if(_0x4cbf87===_0x49effa)break;else _0x60dc4e['push'](_0x60dc4e['shift']());}catch(_0x5c90bd){_0x60dc4e['push'](_0x60dc4e['shift']());}}}(_0x5188,0x9e403));import{WebGroupData,selfInfo}from'@/core/data';function _0x5188(){const _0x4b340a=['qid=','CoqKB','GroupTime','charCodeAt','count','&text=','iSqsk','FaokO','emotion_list','iOUvW','trim','BCxaf','yHqhg','all','rEdan','758253VxfFlX','errcode','zvUtJ','getGroupEssenceMsg','p_skey=','Prrsl','30hCmVcD','KmORq','hxXsO','&qid=','yamIf','performer_list','NVFjW','INqrR','3384EHvQpr','cVTXT','strong_newbie_list','fMwhB','lIvKr','ryNqs','tXrCF','YxswF','name',';\x20skey=','ghQZS','parse','PDdZa','2345160qBwDJn','PERFROMER','kzHUI','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=',';\x20p_uin=o','upqeY','diJAV','rzZYb','rBcIV','get','gyVpX','&bkn=','oXWwI','qIknm','xChfG','avatar','https://qun.qq.com/interactive/honorlist?gc=','genBkn','GET','MAALr','nGnvW','mems','tiTlw','now','获取当前群荣耀失败','FpTWt','desc','27DmMWLa','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','legend_list','BCyGT','AjBXZ','mrTCL','description','WFyqr','getSkey','获取快乐源泉失败','pAqWU','FBKTh','qun.qq.com','emotion','getGroupMembers','mMxsB','match','&page_start=','7hOVIfL','TALKACTIVE','IgPDR','cPfFy','tQnZX','VOuBU','nSQSl','NCRRd','6836904ovQNGE','getGrouptNotice','67320FAZemx','lMPpZ','length','JPihh','current_talkative','gpqQC','Tiprp','uin','ywZuP','TOihz','NuKlk','DuHkQ','kDYcn','zJwKI','QJSec','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','setGroupNotice','kdOlA','IuxOG','hkXgN','xxxvs','toString','set','wBWPb','PBczu','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','FHjYz','jWvcx','ALL','GroupData','2629yvuxVa','HttpGetJson','push','strong_newbie','zSURF','zFRAy','EMOTION','&sort=1&gc=','2918384xnbQMP','CjZJo','LYncu','nRUZi','getPSkey','CfdaG','dIRnI','AnZxl','6317dnrPTr','nZxBX','iRkwk',';\x20uin=o','IszMm','UUoSJ','EAhCX','POST','getGroupHonorInfo','talkativeList','ceil','&type=','HttpGetText','122EjSUKR','YzFEj','&group_code=','gBley'];_0x5188=function(){return _0x4b340a;};return _0x5188();}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0xca7106){const _0x4e7b4d=_0x3bfc,_0x20a6df={'BCyGT':_0x4e7b4d(0x1e1),'DuHkQ':_0x4e7b4d(0x171),'nRUZi':'TALKACTIVE','YzFEj':'talkative','hZUHl':'PERFROMER','KmORq':'LEGEND','gyVpX':'legend','xChfG':'STORONGE_NEWBI','VOuBU':_0x4e7b4d(0x1e6),'ghQZS':'EMOTION','mrTCL':_0x4e7b4d(0x1b6)};_0xca7106[_0x20a6df[_0x4e7b4d(0x1ac)]]=_0x20a6df[_0x4e7b4d(0x1d0)],_0xca7106[_0x20a6df[_0x4e7b4d(0x1ee)]]=_0x20a6df[_0x4e7b4d(0x161)],_0xca7106[_0x20a6df['hZUHl']]='performer',_0xca7106[_0x20a6df[_0x4e7b4d(0x17a)]]=_0x20a6df[_0x4e7b4d(0x198)],_0xca7106[_0x20a6df[_0x4e7b4d(0x19c)]]=_0x20a6df[_0x4e7b4d(0x1c0)],_0xca7106[_0x20a6df[_0x4e7b4d(0x18b)]]=_0x20a6df[_0x4e7b4d(0x1ae)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x4adfe4(0x176)](_0x24170a,_0x52736c){const _0x110e37=_0x4adfe4,_0x20f9a2={'diJAV':_0x110e37(0x1b5),'yHqhg':function(_0x11f9cf,_0x57770c){return _0x11f9cf+_0x57770c;},'nZxBX':function(_0x9b7a88,_0x32b615){return _0x9b7a88+_0x32b615;},'cVTXT':function(_0x36abf9,_0x1a187a){return _0x36abf9+_0x1a187a;},'IuxOG':function(_0x27393e,_0x3f256f){return _0x27393e+_0x3f256f;},'upqeY':function(_0x15b58e,_0x4c651e){return _0x15b58e+_0x4c651e;},'wBWPb':_0x110e37(0x177),'xxxvs':_0x110e37(0x18a),'Tiprp':_0x110e37(0x156),'CjZJo':function(_0x5d9701,_0x35f9a2){return _0x5d9701||_0x35f9a2;},'JPihh':function(_0x20d097,_0x1ae8d7){return _0x20d097+_0x1ae8d7;},'VMxcp':_0x110e37(0x162),'IgPDR':_0x110e37(0x1ba),'kdOlA':'&page_limit=20','tXrCF':'GET'},_0x5e2637=(await NTQQUserApi[_0x110e37(0x1ef)]([_0x20f9a2[_0x110e37(0x194)]]))[_0x20f9a2[_0x110e37(0x194)]],_0x3706a1=await NTQQUserApi['getSkey'](),_0x37edca=_0x20f9a2[_0x110e37(0x170)](_0x20f9a2[_0x110e37(0x154)](_0x20f9a2[_0x110e37(0x182)](_0x20f9a2[_0x110e37(0x170)](_0x20f9a2['IuxOG'](_0x20f9a2[_0x110e37(0x193)](_0x20f9a2[_0x110e37(0x1dc)],_0x5e2637),_0x20f9a2[_0x110e37(0x1d9)]),_0x3706a1),_0x110e37(0x192))+selfInfo['uin'],_0x20f9a2[_0x110e37(0x1cb)]),selfInfo[_0x110e37(0x1cc)]);if(_0x20f9a2[_0x110e37(0x1ec)](!_0x3706a1,!_0x5e2637))return undefined;const _0x1e7d54=WebApi[_0x110e37(0x19f)](_0x3706a1),_0x115ee4=_0x20f9a2[_0x110e37(0x170)](_0x20f9a2[_0x110e37(0x1d7)](_0x20f9a2[_0x110e37(0x170)](_0x20f9a2[_0x110e37(0x1c8)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x1e7d54)+_0x20f9a2['VMxcp'],_0x24170a),_0x20f9a2[_0x110e37(0x1bd)])+_0x52736c,_0x20f9a2[_0x110e37(0x1d6)]);let _0x309d1f;try{_0x309d1f=await RequestUtil['HttpGetJson'](_0x115ee4,_0x20f9a2[_0x110e37(0x187)],'',{'Cookie':_0x37edca});}catch{return undefined;}if(_0x309d1f['retcode']!==0x0)return undefined;return _0x309d1f;}static async[_0x4adfe4(0x1b7)](_0x2ff429,_0x287a9b=!![]){const _0x28aad3=_0x4adfe4,_0x674996={'zvUtJ':function(_0x1acacb,_0x61537c){return _0x1acacb>_0x61537c;},'MAALr':function(_0x31ff72,_0x334de8){return _0x31ff72*_0x334de8;},'hkXgN':_0x28aad3(0x1b5),'jWvcx':function(_0x4fa315,_0x4812e6){return _0x4fa315+_0x4812e6;},'CoqKB':function(_0x4fe297,_0x336e15){return _0x4fe297+_0x336e15;},'EAhCX':_0x28aad3(0x177),'EXSNX':_0x28aad3(0x18a),'TOihz':_0x28aad3(0x192),'LYncu':function(_0x5d16b2,_0x9eb123){return _0x5d16b2||_0x9eb123;},'FHjYz':function(_0x489dbe,_0x392ad6){return _0x489dbe+_0x392ad6;},'YxswF':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','dBhuL':function(_0x4c6bc1,_0x4f65f2){return _0x4c6bc1!==_0x4f65f2;},'cPfFy':function(_0x4dbce4,_0x13c5dd){return _0x4dbce4<=_0x13c5dd;},'kzHUI':function(_0x3449f7,_0x576cad){return _0x3449f7+_0x576cad;},'hCFue':_0x28aad3(0x1aa),'rzZYb':function(_0x3d2123,_0x23066c){return _0x3d2123-_0x23066c;},'CfdaG':_0x28aad3(0x199),'FpTWt':_0x28aad3(0x15a),'rEdan':function(_0x829654,_0x42647d){return _0x829654<=_0x42647d;}};let _0x15f208=new Array();try{let _0x3eb5ec=WebGroupData['GroupData'][_0x28aad3(0x197)](_0x2ff429),_0x612d4b=WebGroupData[_0x28aad3(0x166)][_0x28aad3(0x197)](_0x2ff429);if(!_0x612d4b||_0x674996[_0x28aad3(0x175)](Date[_0x28aad3(0x1a5)]()-_0x612d4b,_0x674996[_0x28aad3(0x1a1)](0x708,0x3e8))||!_0x287a9b){const _0x4f69d0=(await NTQQUserApi['getPSkey']([_0x674996[_0x28aad3(0x1d8)]]))[_0x674996[_0x28aad3(0x1d8)]],_0x36b6d9=await NTQQUserApi[_0x28aad3(0x1b1)](),_0x5e6546=_0x674996['jWvcx'](_0x674996[_0x28aad3(0x1e0)](_0x674996[_0x28aad3(0x1e0)](_0x674996[_0x28aad3(0x1e0)](_0x674996[_0x28aad3(0x165)](_0x674996[_0x28aad3(0x159)],_0x4f69d0),_0x674996['EXSNX']),_0x36b6d9),_0x674996[_0x28aad3(0x1ce)]),selfInfo[_0x28aad3(0x1cc)]);if(_0x674996[_0x28aad3(0x1ed)](!_0x36b6d9,!_0x4f69d0))return _0x15f208;const _0x30e79b=WebApi[_0x28aad3(0x19f)](_0x36b6d9),_0x54d5e5=[],_0x1187fc=await RequestUtil[_0x28aad3(0x1e4)](_0x674996['FHjYz'](_0x674996[_0x28aad3(0x1df)](_0x674996[_0x28aad3(0x1e0)](_0x674996[_0x28aad3(0x188)],_0x2ff429),_0x28aad3(0x199)),_0x30e79b),_0x28aad3(0x15a),'',{'Cookie':_0x5e6546});if(!_0x1187fc?.[_0x28aad3(0x168)]||_0x674996['dBhuL'](_0x1187fc?.[_0x28aad3(0x174)],0x0)||!_0x1187fc?.['mems'])return[];else for(const _0x2106dc in _0x1187fc['mems']){_0x15f208[_0x28aad3(0x1e5)](_0x1187fc[_0x28aad3(0x1a3)][_0x2106dc]);}const _0xa40a9d=Math[_0x28aad3(0x15d)](_0x1187fc[_0x28aad3(0x168)]/0x28);for(let _0xba8415=0x2;_0x674996[_0x28aad3(0x1be)](_0xba8415,_0xa40a9d);_0xba8415++){const _0x507f5e=RequestUtil[_0x28aad3(0x1e4)](_0x674996['FHjYz'](_0x674996[_0x28aad3(0x1df)](_0x674996['jWvcx'](_0x674996[_0x28aad3(0x1e0)](_0x674996['jWvcx'](_0x674996[_0x28aad3(0x190)](_0x674996['hCFue']+_0x674996['MAALr'](_0x674996[_0x28aad3(0x195)](_0xba8415,0x1),0x28),'&end='),_0x674996[_0x28aad3(0x1a1)](_0xba8415,0x28)),_0x28aad3(0x1ea)),_0x2ff429),_0x674996[_0x28aad3(0x1f0)]),_0x30e79b),_0x674996[_0x28aad3(0x1a7)],'',{'Cookie':_0x5e6546});_0x54d5e5[_0x28aad3(0x1e5)](_0x507f5e);}for(let _0x407fd6=0x1;_0x674996[_0x28aad3(0x172)](_0x407fd6,_0xa40a9d);_0x407fd6++){const _0x8e9c63=await _0x54d5e5[_0x407fd6];if(!_0x8e9c63?.[_0x28aad3(0x168)]||_0x8e9c63?.[_0x28aad3(0x174)]!==0x0||!_0x8e9c63?.[_0x28aad3(0x1a3)])continue;for(const _0x1ff352 in _0x8e9c63[_0x28aad3(0x1a3)]){_0x15f208[_0x28aad3(0x1e5)](_0x8e9c63[_0x28aad3(0x1a3)][_0x1ff352]);}}WebGroupData[_0x28aad3(0x1e2)][_0x28aad3(0x1db)](_0x2ff429,_0x15f208),WebGroupData[_0x28aad3(0x166)][_0x28aad3(0x1db)](_0x2ff429,Date['now']());}else _0x15f208=_0x3eb5ec;}catch{return _0x15f208;}return _0x15f208;}static async[_0x4adfe4(0x1d5)](_0x5cf8b4,_0x1b5cf6=''){const _0x45d9c9=_0x4adfe4,_0x3a81ef={'yamIf':function(_0x7bcc26,_0x1ca9c9){return _0x7bcc26+_0x1ca9c9;},'pAqWU':function(_0x310a1e,_0x5e2791){return _0x310a1e+_0x5e2791;},'INqrR':'p_skey=','IszMm':';\x20p_uin=o','tiTlw':function(_0x50df13,_0x4c6377){return _0x50df13+_0x4c6377;},'UUoSJ':function(_0x202a0c,_0x295813){return _0x202a0c+_0x295813;},'NCRRd':function(_0x12e04d,_0x3f185f){return _0x12e04d+_0x3f185f;},'XbbYH':_0x45d9c9(0x199),'WJUig':_0x45d9c9(0x169),'kDYcn':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','zSURF':function(_0x5f0517,_0x592c2f){return _0x5f0517+_0x592c2f;},'iOUvW':_0x45d9c9(0x1a0)},_0x266da6=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x45d9c9(0x1b5)],_0x55df80=await NTQQUserApi[_0x45d9c9(0x1b1)](),_0x201cab=_0x3a81ef['yamIf'](_0x3a81ef[_0x45d9c9(0x1b3)](_0x3a81ef[_0x45d9c9(0x1b3)](_0x3a81ef['pAqWU'](_0x3a81ef[_0x45d9c9(0x180)]+_0x266da6,_0x45d9c9(0x18a)),_0x55df80),_0x3a81ef[_0x45d9c9(0x157)]),selfInfo[_0x45d9c9(0x1cc)]);let _0x442d06=undefined;if(!_0x55df80||!_0x266da6)return undefined;const _0x511cc9=WebApi[_0x45d9c9(0x19f)](_0x55df80),_0xeffb79=_0x3a81ef[_0x45d9c9(0x1a4)](_0x3a81ef[_0x45d9c9(0x17d)](_0x3a81ef[_0x45d9c9(0x158)](_0x3a81ef[_0x45d9c9(0x1c2)](_0x3a81ef[_0x45d9c9(0x158)](_0x45d9c9(0x164),_0x5cf8b4)+_0x3a81ef['XbbYH'],_0x511cc9),_0x3a81ef['WJUig']),_0x1b5cf6),_0x3a81ef[_0x45d9c9(0x1d1)]),_0x5a06fc=_0x3a81ef[_0x45d9c9(0x1e7)](_0x45d9c9(0x191),_0x511cc9);try{return _0x442d06=await RequestUtil[_0x45d9c9(0x1e4)](_0x5a06fc,_0x3a81ef[_0x45d9c9(0x16d)],'',{'Cookie':_0x201cab}),_0x442d06;}catch(_0x53b24a){return undefined;}return undefined;}static async[_0x4adfe4(0x1c4)](_0x126cdf){const _0x586989=_0x4adfe4,_0x94b91b={'QJSec':_0x586989(0x1b5),'gpqQC':function(_0x4b95de,_0x2710bf){return _0x4b95de+_0x2710bf;},'GzobG':_0x586989(0x177),'nSQSl':';\x20skey=','AnZxl':_0x586989(0x192),'hxXsO':function(_0x1a3138,_0x4801fd){return _0x1a3138||_0x4801fd;},'ywZuP':function(_0xb5da9e,_0x527a03){return _0xb5da9e+_0x527a03;},'zFRAy':function(_0x1a7333,_0x12d244){return _0x1a7333+_0x12d244;},'ryNqs':_0x586989(0x17c),'iSqsk':_0x586989(0x1d4),'NuKlk':_0x586989(0x1a0)},_0x4248bb=(await NTQQUserApi[_0x586989(0x1ef)]([_0x94b91b[_0x586989(0x1d3)]]))[_0x94b91b[_0x586989(0x1d3)]],_0x4fb1cc=await NTQQUserApi['getSkey'](),_0x453d6e=_0x94b91b[_0x586989(0x1ca)](_0x94b91b['gpqQC'](_0x94b91b[_0x586989(0x1ca)](_0x94b91b['GzobG'],_0x4248bb)+_0x94b91b[_0x586989(0x1c1)],_0x4fb1cc)+_0x94b91b[_0x586989(0x152)],selfInfo[_0x586989(0x1cc)]);let _0x187718=undefined;if(_0x94b91b[_0x586989(0x17b)](!_0x4fb1cc,!_0x4248bb))return undefined;const _0x234a6a=WebApi[_0x586989(0x19f)](_0x4fb1cc),_0x80dfff=_0x94b91b[_0x586989(0x1cd)](_0x94b91b[_0x586989(0x1e8)](_0x94b91b[_0x586989(0x1cd)](_0x586989(0x1de),_0x234a6a),_0x94b91b[_0x586989(0x186)]),_0x126cdf)+_0x94b91b[_0x586989(0x16a)];try{_0x187718=await RequestUtil[_0x586989(0x1e4)](_0x80dfff,_0x94b91b[_0x586989(0x1cf)],'',{'Cookie':_0x453d6e});if(_0x187718?.['ec']!==0x0)return undefined;return _0x187718;}catch(_0x45530a){return undefined;}return undefined;}static[_0x4adfe4(0x19f)](_0x5a59de){const _0x5181d0=_0x4adfe4,_0x5ab190={'WFyqr':function(_0x31ffc6,_0x606adc){return _0x31ffc6<_0x606adc;},'nGnvW':function(_0x248709,_0x7ef727){return _0x248709+_0x7ef727;},'NVFjW':function(_0x3605fb,_0x3343cb){return _0x3605fb<<_0x3343cb;},'oXWwI':function(_0x3f2b1c,_0x5301f8){return _0x3f2b1c&_0x5301f8;}};_0x5a59de=_0x5a59de||'';let _0x464d95=0x1505;for(let _0x4340ad=0x0;_0x5ab190[_0x5181d0(0x1b0)](_0x4340ad,_0x5a59de[_0x5181d0(0x1c7)]);_0x4340ad++){const _0x381a8f=_0x5a59de[_0x5181d0(0x167)](_0x4340ad);_0x464d95=_0x5ab190[_0x5181d0(0x1a2)](_0x464d95+_0x5ab190[_0x5181d0(0x17f)](_0x464d95,0x5),_0x381a8f);}return _0x5ab190[_0x5181d0(0x19a)](_0x464d95,0x7fffffff)[_0x5181d0(0x1da)]();}static async[_0x4adfe4(0x15b)](_0x2c0fa3,_0x34f4a6){const _0x5cc8ac=_0x4adfe4,_0x1db2ca={'AjBXZ':function(_0x10e66f,_0x3c0dec){return _0x10e66f+_0x3c0dec;},'tQnZX':_0x5cc8ac(0x19e),'FBKTh':_0x5cc8ac(0x15e),'iRkwk':_0x5cc8ac(0x1a0),'DCdko':function(_0x22c917,_0xcfc098,_0x116b9b,_0x34723c){return _0x22c917(_0xcfc098,_0x116b9b,_0x34723c);},'gBley':'qun.qq.com','rBcIV':function(_0x540fe6,_0x48c08a){return _0x540fe6||_0x48c08a;},'sPCwk':function(_0x18a01e,_0x3592df){return _0x18a01e+_0x3592df;},'dIRnI':function(_0x5b5df7,_0x413dc1){return _0x5b5df7+_0x413dc1;},'qIknm':function(_0x20f870,_0x3dc230){return _0x20f870+_0x3dc230;},'PBczu':_0x5cc8ac(0x177),'bBMXG':';\x20uin=o','fMwhB':function(_0x198f56,_0xe527d5){return _0x198f56===_0xe527d5;},'lMPpZ':function(_0x415adb,_0x36b0d7,_0x2e81d1){return _0x415adb(_0x36b0d7,_0x2e81d1);},'mMxsB':'获取龙王信息失败','Prrsl':function(_0x4fe79c,_0x399e60){return _0x4fe79c(_0x399e60);},'BCxaf':function(_0xe739bc,_0x53826d){return _0xe739bc===_0x53826d;},'IRcPB':function(_0x56c82c,_0xbf1ca8){return _0x56c82c(_0xbf1ca8);},'FaokO':'获取群聊炽焰失败','lIvKr':function(_0x2c499b,_0xc923db,_0x2e319a){return _0x2c499b(_0xc923db,_0x2e319a);},'PDdZa':_0x5cc8ac(0x1b2),'zJwKI':function(_0x101db4,_0xad11a1,_0x1c9281){return _0x101db4(_0xad11a1,_0x1c9281);},'ASdzj':function(_0x4b2f12,_0x21010){return _0x4b2f12===_0x21010;}},_0x35719c=(await NTQQUserApi[_0x5cc8ac(0x1ef)]([_0x1db2ca[_0x5cc8ac(0x163)]]))[_0x1db2ca[_0x5cc8ac(0x163)]],_0x43e218=await NTQQUserApi[_0x5cc8ac(0x1b1)]();if(_0x1db2ca[_0x5cc8ac(0x196)](!_0x43e218,!_0x35719c))return undefined;async function _0x59907d(_0x40b189,_0x31f8f1){const _0x2e895c=_0x5cc8ac;let _0x432233=_0x1db2ca[_0x2e895c(0x1ad)](_0x1db2ca[_0x2e895c(0x1bf)]+_0x40b189+_0x1db2ca[_0x2e895c(0x1b4)],_0x31f8f1[_0x2e895c(0x1da)]()),_0x2af18b='',_0x23f9a8;try{_0x2af18b=await RequestUtil[_0x2e895c(0x15f)](_0x432233,_0x1db2ca[_0x2e895c(0x155)],'',{'Cookie':_0x4c8a55});const _0x5ed45b=_0x2af18b[_0x2e895c(0x1b9)](/window\.__INITIAL_STATE__=(.*?);/);return _0x5ed45b&&(_0x23f9a8=JSON[_0x2e895c(0x18c)](_0x5ed45b[0x1][_0x2e895c(0x16e)]())),_0x31f8f1===0x1?_0x23f9a8?.[_0x2e895c(0x15c)]:_0x23f9a8?.['actorList'];}catch(_0x22a064){_0x1db2ca['DCdko'](logDebug,_0x2e895c(0x1a6),_0x432233,_0x22a064);}return undefined;}let _0x590678={'group_id':_0x2c0fa3};const _0x4c8a55=_0x1db2ca['sPCwk'](_0x1db2ca[_0x5cc8ac(0x1f1)](_0x1db2ca[_0x5cc8ac(0x1f1)](_0x1db2ca[_0x5cc8ac(0x19b)](_0x1db2ca[_0x5cc8ac(0x19b)](_0x1db2ca[_0x5cc8ac(0x1ad)](_0x1db2ca[_0x5cc8ac(0x19b)](_0x1db2ca[_0x5cc8ac(0x1dd)],_0x35719c),_0x5cc8ac(0x18a)),_0x43e218),_0x5cc8ac(0x192)),selfInfo[_0x5cc8ac(0x1cc)]),_0x1db2ca['bBMXG']),selfInfo[_0x5cc8ac(0x1cc)]);if(_0x1db2ca[_0x5cc8ac(0x184)](_0x34f4a6,WebHonorType[_0x5cc8ac(0x1bc)])||_0x34f4a6===WebHonorType[_0x5cc8ac(0x1e1)])try{let _0x33356d=await _0x1db2ca[_0x5cc8ac(0x1c6)](_0x59907d,_0x2c0fa3,0x1);if(!_0x33356d)throw new Error(_0x1db2ca[_0x5cc8ac(0x1b8)]);_0x590678[_0x5cc8ac(0x1c9)]={'user_id':_0x33356d[0x0]?.[_0x5cc8ac(0x1cc)],'avatar':_0x33356d[0x0]?.['avatar'],'nickname':_0x33356d[0x0]?.[_0x5cc8ac(0x189)],'day_count':0x0,'description':_0x33356d[0x0]?.['desc']},_0x590678['talkative_list']=[];for(const _0x3aa1b9 of _0x33356d){_0x590678['talkative_list'][_0x5cc8ac(0x1e5)]({'user_id':_0x3aa1b9?.[_0x5cc8ac(0x1cc)],'avatar':_0x3aa1b9?.['avatar'],'description':_0x3aa1b9?.[_0x5cc8ac(0x1a8)],'day_count':0x0,'nickname':_0x3aa1b9?.['name']});}}catch(_0x11364e){_0x1db2ca[_0x5cc8ac(0x178)](logDebug,_0x11364e);}if(_0x1db2ca[_0x5cc8ac(0x16f)](_0x34f4a6,WebHonorType['PERFROMER'])||_0x1db2ca[_0x5cc8ac(0x184)](_0x34f4a6,WebHonorType[_0x5cc8ac(0x1e1)]))try{let _0x3ea4d0=await _0x1db2ca[_0x5cc8ac(0x1c6)](_0x59907d,_0x2c0fa3,0x2);if(!_0x3ea4d0)throw new Error('获取群聊之火失败');_0x590678[_0x5cc8ac(0x17e)]=[];for(const _0x3dd0b0 of _0x3ea4d0){_0x590678[_0x5cc8ac(0x17e)][_0x5cc8ac(0x1e5)]({'user_id':_0x3dd0b0?.[_0x5cc8ac(0x1cc)],'nickname':_0x3dd0b0?.[_0x5cc8ac(0x189)],'avatar':_0x3dd0b0?.[_0x5cc8ac(0x19d)],'description':_0x3dd0b0?.['desc']});}}catch(_0x5dcfe8){_0x1db2ca['IRcPB'](logDebug,_0x5dcfe8);}if(_0x1db2ca['BCxaf'](_0x34f4a6,WebHonorType[_0x5cc8ac(0x18f)])||_0x34f4a6===WebHonorType[_0x5cc8ac(0x1e1)])try{let _0x39915c=await _0x1db2ca['lMPpZ'](_0x59907d,_0x2c0fa3,0x3);if(!_0x39915c)throw new Error(_0x1db2ca[_0x5cc8ac(0x16b)]);_0x590678[_0x5cc8ac(0x1ab)]=[];for(const _0x228179 of _0x39915c){_0x590678[_0x5cc8ac(0x1ab)]['push']({'user_id':_0x228179?.[_0x5cc8ac(0x1cc)],'nickname':_0x228179?.[_0x5cc8ac(0x189)],'avatar':_0x228179?.[_0x5cc8ac(0x19d)],'desc':_0x228179?.[_0x5cc8ac(0x1af)]});}}catch(_0x174aa3){_0x1db2ca[_0x5cc8ac(0x185)](logDebug,_0x1db2ca[_0x5cc8ac(0x16b)],_0x174aa3);}if(_0x1db2ca[_0x5cc8ac(0x16f)](_0x34f4a6,WebHonorType['EMOTION'])||_0x1db2ca[_0x5cc8ac(0x16f)](_0x34f4a6,WebHonorType[_0x5cc8ac(0x1e1)]))try{let _0x5033f7=await _0x1db2ca[_0x5cc8ac(0x185)](_0x59907d,_0x2c0fa3,0x6);if(!_0x5033f7)throw new Error(_0x1db2ca[_0x5cc8ac(0x18d)]);_0x590678[_0x5cc8ac(0x16c)]=[];for(const _0x4dc81a of _0x5033f7){_0x590678[_0x5cc8ac(0x16c)][_0x5cc8ac(0x1e5)]({'user_id':_0x4dc81a?.[_0x5cc8ac(0x1cc)],'nickname':_0x4dc81a?.[_0x5cc8ac(0x189)],'avatar':_0x4dc81a?.[_0x5cc8ac(0x19d)],'desc':_0x4dc81a?.[_0x5cc8ac(0x1af)]});}}catch(_0x4d26b4){_0x1db2ca[_0x5cc8ac(0x1d2)](logDebug,_0x5cc8ac(0x1b2),_0x4d26b4);}return(_0x34f4a6===WebHonorType[_0x5cc8ac(0x1e9)]||_0x1db2ca['ASdzj'](_0x34f4a6,WebHonorType[_0x5cc8ac(0x1e1)]))&&(_0x590678[_0x5cc8ac(0x183)]=[]),_0x590678;}} \ No newline at end of file +const _0x18028d=_0xe750;(function(_0x10ab58,_0x2a19eb){const _0xc27a9e=_0xe750,_0x4032c5=_0x10ab58();while(!![]){try{const _0x32712d=parseInt(_0xc27a9e(0x1d5))/0x1*(parseInt(_0xc27a9e(0x184))/0x2)+parseInt(_0xc27a9e(0x1cf))/0x3*(-parseInt(_0xc27a9e(0x16d))/0x4)+-parseInt(_0xc27a9e(0x141))/0x5+parseInt(_0xc27a9e(0x169))/0x6+-parseInt(_0xc27a9e(0x14e))/0x7+-parseInt(_0xc27a9e(0x1c6))/0x8*(parseInt(_0xc27a9e(0x166))/0x9)+parseInt(_0xc27a9e(0x1d0))/0xa;if(_0x32712d===_0x2a19eb)break;else _0x4032c5['push'](_0x4032c5['shift']());}catch(_0x5013ec){_0x4032c5['push'](_0x4032c5['shift']());}}}(_0x5bc7,0x44527));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x5bc7(){const _0x2c6dac=['umdsx','https://qun.qq.com/interactive/honorlist?gc=','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','TALKACTIVE','WYgDC','535130iVACdD','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ITjvH','CSerG','GroupData','UJNwN','WsAuo','JFySZ','xNlTJ','STORONGE_NEWBI','performer_list','qoKWy','fdmxB','1104138HqRQwg','emotion_list','zVzeA','KLWQF','HttpGetJson','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','TbUic','gPCsa','PBooX','LrWIE','wpKUh','SpIvP','ipBMa','SdJLp','DlBRM','iUHOm','getSkey','getGroupHonorInfo','WsxyO','getGroupMembers','GDFLV','sCfLa','MPtJs','HttpGetText','1818LjssQK','lkGIn','getGroupEssenceMsg','1559574Lanwwg','current_talkative','qgPxG',';\x20uin=o','116SVmwxF','mZXNr','POST','Jlpva','push','actorList','FnWBm','qid=','retcode','NcROI','获取群聊之火失败','toString','charCodeAt','&page_limit=20','avatar','获取当前群荣耀失败','XNoHW','PERFROMER','JlPpv','qun.qq.com','YOKHX','EjYRb','VVwNH','6mRSdzG','jQBXO','set','tFzKa','clgwi','VVJIL','errcode','gqDdm','legend_list','QBPKB','get','OrQRO','&sort=1&gc=','count','eSdZD','strong_newbie_list','name','iPoal','lgJpq','获取龙王信息失败','&group_code=','myiCQ','UtKAX','kqGMm','CbPca','VyiKl','HkLqH','fnMiw','TOjmr','zmvrU','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','LEGEND','GroupTime','jmVfd','match','GET','trim','all','获取快乐源泉失败','uin','RxrxE','genBkn','cZMnU','QsoPz','ceil','ecsWj','FudwX','EYqZO','WOUXP','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','&bkn=','DfijF','XJlMC','USGBA','&end=','ujjsG','length','talkativeList','dcatm','hgrxZ','rntOH','now','p_skey=',';\x20p_uin=o','xyUiV','&qid=','4104RjRAFq','clRZz','VgAwE','getPSkey','XcZmc','GsbNp','talkative_list','EMOTION','neGNe','46017zfZHGC','4117160hePivH','description','WbdaI',';\x20skey=','&text=','140473IlVLwM','UEkAO','ALL','mems','talkative','strong_newbie','HFXXJ'];_0x5bc7=function(){return _0x2c6dac;};return _0x5bc7();}(function(_0x1f6ae4){const _0x26e5f1=_0xe750,_0x452a67={'rKkAJ':_0x26e5f1(0x1d7),'myiCQ':_0x26e5f1(0x1a9),'bPHMy':_0x26e5f1(0x1d9),'WbdaI':_0x26e5f1(0x17e),'iUHOm':'performer','FnWBm':_0x26e5f1(0x1a3),'QsoPz':_0x26e5f1(0x1da),'zmvrU':'EMOTION'};_0x1f6ae4[_0x452a67['rKkAJ']]=_0x452a67[_0x26e5f1(0x199)],_0x1f6ae4[_0x26e5f1(0x1df)]=_0x452a67['bPHMy'],_0x1f6ae4[_0x452a67[_0x26e5f1(0x1d2)]]=_0x452a67[_0x26e5f1(0x15d)],_0x1f6ae4[_0x452a67[_0x26e5f1(0x173)]]='legend',_0x1f6ae4[_0x26e5f1(0x14a)]=_0x452a67[_0x26e5f1(0x1af)],_0x1f6ae4[_0x452a67[_0x26e5f1(0x1a1)]]='emotion';}(WebHonorType||(WebHonorType={})));function _0xe750(_0x32518c,_0x5d460c){const _0x5bc7e8=_0x5bc7();return _0xe750=function(_0xe7502e,_0x12bac4){_0xe7502e=_0xe7502e-0x140;let _0x3638d2=_0x5bc7e8[_0xe7502e];return _0x3638d2;},_0xe750(_0x32518c,_0x5d460c);}export class WebApi{static async[_0x18028d(0x168)](_0x24b26d,_0x243205){const _0x72ded3=_0x18028d,_0xd1be33={'ipBMa':_0x72ded3(0x180),'lOjZD':function(_0x266bf0,_0x19bc5f){return _0x266bf0+_0x19bc5f;},'NcROI':function(_0x36e232,_0x414600){return _0x36e232+_0x414600;},'mZXNr':function(_0x5a78f8,_0x124764){return _0x5a78f8+_0x124764;},'GDFLV':function(_0x43adfe,_0x54c5d9){return _0x43adfe+_0x54c5d9;},'orivM':_0x72ded3(0x1c2),'YrMkS':';\x20skey=','cZMnU':';\x20p_uin=o','lgJpq':';\x20uin=o','GsbNp':function(_0x9125e,_0x5715ce){return _0x9125e||_0x5715ce;},'PBooX':function(_0x2809e9,_0x5aa546){return _0x2809e9+_0x5aa546;},'GEAQR':function(_0x1c7898,_0x360cf6){return _0x1c7898+_0x360cf6;},'XJlMC':_0x72ded3(0x142),'QcUsl':'&page_start=','JimJe':'GET'},_0x13317c=(await NTQQUserApi['getPSkey']([_0xd1be33[_0x72ded3(0x15a)]]))[_0xd1be33[_0x72ded3(0x15a)]],_0x2d866f=await NTQQUserApi[_0x72ded3(0x15e)](),_0x2566eb=_0xd1be33['lOjZD'](_0xd1be33[_0x72ded3(0x176)](_0xd1be33['mZXNr'](_0xd1be33[_0x72ded3(0x176)](_0xd1be33['GDFLV'](_0xd1be33['lOjZD'](_0xd1be33[_0x72ded3(0x16e)](_0xd1be33['orivM'],_0x13317c),_0xd1be33['YrMkS']),_0x2d866f),_0xd1be33[_0x72ded3(0x1ae)]),selfInfo[_0x72ded3(0x1ab)]),_0xd1be33[_0x72ded3(0x196)]),selfInfo[_0x72ded3(0x1ab)]);if(_0xd1be33[_0x72ded3(0x1cb)](!_0x2d866f,!_0x13317c))return undefined;const _0x426e91=WebApi[_0x72ded3(0x1ad)](_0x2d866f),_0x3d3ce1=_0xd1be33[_0x72ded3(0x156)](_0xd1be33['NcROI'](_0xd1be33['mZXNr'](_0xd1be33['GEAQR'](_0xd1be33[_0x72ded3(0x162)](_0xd1be33[_0x72ded3(0x1b8)]+_0x426e91,_0x72ded3(0x198)),_0x24b26d),_0xd1be33['QcUsl']),_0x243205),_0x72ded3(0x17a));let _0x36a156;try{_0x36a156=await RequestUtil[_0x72ded3(0x152)](_0x3d3ce1,_0xd1be33['JimJe'],'',{'Cookie':_0x2566eb});}catch{return undefined;}if(_0x36a156[_0x72ded3(0x175)]!==0x0)return undefined;return _0x36a156;}static async[_0x18028d(0x161)](_0x215ec3,_0x524b2c=!![]){const _0x24a8bd=_0x18028d,_0x146e93={'neGNe':function(_0x374ff9,_0x52a4f9){return _0x374ff9>_0x52a4f9;},'hgrxZ':function(_0x576064,_0x453cdc){return _0x576064-_0x453cdc;},'VVJIL':function(_0x1e6d81,_0xbf0084){return _0x1e6d81*_0xbf0084;},'WOUXP':_0x24a8bd(0x180),'OrQRO':function(_0x366755,_0x72415a){return _0x366755+_0x72415a;},'qoKWy':function(_0x2348a8,_0x35156d){return _0x2348a8+_0x35156d;},'YBKdR':function(_0x4d956e,_0x3f563e){return _0x4d956e+_0x3f563e;},'wpKUh':_0x24a8bd(0x1c2),'CbPca':';\x20p_uin=o','xdehw':function(_0x1b4cb7,_0x2d3828){return _0x1b4cb7||_0x2d3828;},'UJNwN':function(_0x3d141c,_0x54c088){return _0x3d141c+_0x54c088;},'vaEZz':function(_0xc5ab4,_0x35c926){return _0xc5ab4+_0x35c926;},'UtKAX':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','dcatm':_0x24a8bd(0x1b6),'HFXXJ':_0x24a8bd(0x16f),'zVzeA':function(_0x39b524,_0x4c9cc6){return _0x39b524!==_0x4c9cc6;},'sCfLa':function(_0x276178,_0xcec9ed){return _0x276178/_0xcec9ed;},'jmVfd':function(_0x483424,_0xc12087){return _0x483424<=_0xc12087;},'gPCsa':function(_0x58abb3,_0x22c441){return _0x58abb3+_0x22c441;},'JlPpv':function(_0x249c61,_0x4dac0f){return _0x249c61+_0x4dac0f;},'lkGIn':function(_0x577cfa,_0x13a5b1){return _0x577cfa+_0x13a5b1;},'RcGcJ':_0x24a8bd(0x1b5),'XNoHW':_0x24a8bd(0x1ba),'YOKHX':_0x24a8bd(0x190),'EjYRb':function(_0xc2a28c,_0x3cba94){return _0xc2a28c<=_0x3cba94;}};let _0x5e4646=new Array();try{let _0x5d1951=WebGroupData[_0x24a8bd(0x145)][_0x24a8bd(0x18e)](_0x215ec3),_0x33f924=WebGroupData[_0x24a8bd(0x1a4)][_0x24a8bd(0x18e)](_0x215ec3);if(!_0x33f924||_0x146e93[_0x24a8bd(0x1ce)](_0x146e93[_0x24a8bd(0x1bf)](Date['now'](),_0x33f924),_0x146e93['VVJIL'](0x708,0x3e8))||!_0x524b2c){const _0x8cdedf=(await NTQQUserApi[_0x24a8bd(0x1c9)]([_0x146e93['WOUXP']]))[_0x146e93[_0x24a8bd(0x1b4)]],_0x5811a4=await NTQQUserApi[_0x24a8bd(0x15e)](),_0x41616a=_0x146e93[_0x24a8bd(0x18f)](_0x146e93[_0x24a8bd(0x14c)](_0x146e93['YBKdR'](_0x146e93[_0x24a8bd(0x158)],_0x8cdedf)+_0x24a8bd(0x1d3),_0x5811a4)+_0x146e93[_0x24a8bd(0x19c)],selfInfo[_0x24a8bd(0x1ab)]);if(_0x146e93['xdehw'](!_0x5811a4,!_0x8cdedf))return _0x5e4646;const _0x18840a=WebApi[_0x24a8bd(0x1ad)](_0x5811a4),_0x1b80ca=[],_0x1248ac=await RequestUtil[_0x24a8bd(0x152)](_0x146e93[_0x24a8bd(0x146)](_0x146e93['vaEZz'](_0x146e93[_0x24a8bd(0x19a)],_0x215ec3),_0x146e93[_0x24a8bd(0x1be)])+_0x18840a,_0x146e93[_0x24a8bd(0x1db)],'',{'Cookie':_0x41616a});if(!_0x1248ac?.[_0x24a8bd(0x191)]||_0x146e93[_0x24a8bd(0x150)](_0x1248ac?.[_0x24a8bd(0x18a)],0x0)||!_0x1248ac?.[_0x24a8bd(0x1d8)])return[];else for(const _0x2b1a22 in _0x1248ac['mems']){_0x5e4646[_0x24a8bd(0x171)](_0x1248ac['mems'][_0x2b1a22]);}const _0x565b6e=Math[_0x24a8bd(0x1b0)](_0x146e93[_0x24a8bd(0x163)](_0x1248ac[_0x24a8bd(0x191)],0x28));for(let _0x391e70=0x2;_0x146e93[_0x24a8bd(0x1a5)](_0x391e70,_0x565b6e);_0x391e70++){const _0xaf8039=RequestUtil[_0x24a8bd(0x152)](_0x146e93[_0x24a8bd(0x18f)](_0x146e93['OrQRO'](_0x146e93[_0x24a8bd(0x14c)](_0x146e93[_0x24a8bd(0x155)](_0x146e93[_0x24a8bd(0x17f)](_0x146e93[_0x24a8bd(0x18f)](_0x146e93[_0x24a8bd(0x167)](_0x146e93['RcGcJ'],_0x146e93[_0x24a8bd(0x189)](_0x391e70-0x1,0x28)),_0x146e93[_0x24a8bd(0x17d)]),_0x146e93[_0x24a8bd(0x189)](_0x391e70,0x28)),_0x146e93[_0x24a8bd(0x181)]),_0x215ec3),_0x146e93[_0x24a8bd(0x1be)]),_0x18840a),_0x24a8bd(0x16f),'',{'Cookie':_0x41616a});_0x1b80ca[_0x24a8bd(0x171)](_0xaf8039);}for(let _0x531165=0x1;_0x146e93[_0x24a8bd(0x182)](_0x531165,_0x565b6e);_0x531165++){const _0x5f2237=await _0x1b80ca[_0x531165];if(!_0x5f2237?.[_0x24a8bd(0x191)]||_0x146e93[_0x24a8bd(0x150)](_0x5f2237?.[_0x24a8bd(0x18a)],0x0)||!_0x5f2237?.[_0x24a8bd(0x1d8)])continue;for(const _0x47786a in _0x5f2237[_0x24a8bd(0x1d8)]){_0x5e4646[_0x24a8bd(0x171)](_0x5f2237['mems'][_0x47786a]);}}WebGroupData[_0x24a8bd(0x145)][_0x24a8bd(0x186)](_0x215ec3,_0x5e4646),WebGroupData[_0x24a8bd(0x1a4)]['set'](_0x215ec3,Date[_0x24a8bd(0x1c1)]());}else _0x5e4646=_0x5d1951;}catch{return _0x5e4646;}return _0x5e4646;}static async['setGroupNotice'](_0x392f09,_0x242498=''){const _0xd22dad=_0x18028d,_0x203cb9={'tPSsT':_0xd22dad(0x180),'ujjsG':function(_0x5cafb1,_0x4ef4fd){return _0x5cafb1+_0x4ef4fd;},'VVwNH':_0xd22dad(0x1c3),'yOTIe':function(_0x3020bc,_0x53c325){return _0x3020bc||_0x53c325;},'WsAuo':function(_0x5cf6d4,_0x62c187){return _0x5cf6d4+_0x62c187;},'VyiKl':function(_0x445f2d,_0x492ce1){return _0x445f2d+_0x492ce1;},'KrRwC':function(_0x2ef4f6,_0x17e9db){return _0x2ef4f6+_0x17e9db;},'eVSCx':'&bkn=','TOjmr':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}'},_0x1b9cd8=(await NTQQUserApi[_0xd22dad(0x1c9)]([_0xd22dad(0x180)]))[_0x203cb9['tPSsT']],_0x5a7808=await NTQQUserApi[_0xd22dad(0x15e)](),_0x36c62e=_0x203cb9['ujjsG'](_0x203cb9[_0xd22dad(0x1bb)](_0xd22dad(0x1c2)+_0x1b9cd8,';\x20skey=')+_0x5a7808,_0x203cb9[_0xd22dad(0x183)])+selfInfo['uin'];let _0x4d7799=undefined;if(_0x203cb9['yOTIe'](!_0x5a7808,!_0x1b9cd8))return undefined;const _0x98634e=WebApi[_0xd22dad(0x1ad)](_0x5a7808),_0x19d4d6=_0x203cb9[_0xd22dad(0x147)](_0x203cb9[_0xd22dad(0x19d)](_0x203cb9['KrRwC'](_0x203cb9[_0xd22dad(0x19d)](_0xd22dad(0x174),_0x392f09)+_0x203cb9['eVSCx'],_0x98634e),_0xd22dad(0x1d4)),_0x242498)+_0x203cb9[_0xd22dad(0x1a0)],_0xeb8983=_0x203cb9[_0xd22dad(0x147)](_0xd22dad(0x1de),_0x98634e);try{return _0x4d7799=await RequestUtil[_0xd22dad(0x152)](_0xeb8983,_0xd22dad(0x1a7),'',{'Cookie':_0x36c62e}),_0x4d7799;}catch(_0x2c557f){return undefined;}return undefined;}static async['getGrouptNotice'](_0x111adf){const _0x392563=_0x18028d,_0x5b97c7={'fdmxB':_0x392563(0x180),'jMPhW':function(_0x1b5b90,_0x105f0a){return _0x1b5b90+_0x105f0a;},'VgAwE':function(_0x17110f,_0x5c07d8){return _0x17110f+_0x5c07d8;},'USGBA':function(_0x248294,_0x47a38b){return _0x248294+_0x47a38b;},'LrWIE':function(_0x21f36e,_0x1b70b2){return _0x21f36e+_0x1b70b2;},'eSdZD':function(_0x1284ec,_0x51a2fc){return _0x1284ec+_0x51a2fc;},'qgPxG':_0x392563(0x1c2),'kqGMm':_0x392563(0x1d3),'XcZmc':_0x392563(0x1c3),'SpIvP':function(_0x1c4e00,_0x3b4175){return _0x1c4e00||_0x3b4175;},'FudwX':function(_0x46c73f,_0x367588){return _0x46c73f+_0x367588;},'BVNiv':_0x392563(0x1a2),'WYgDC':_0x392563(0x1c5),'rntOH':'GET','XSpFb':function(_0x20f191,_0x420dec){return _0x20f191!==_0x420dec;}},_0x3641b1=(await NTQQUserApi[_0x392563(0x1c9)]([_0x392563(0x180)]))[_0x5b97c7[_0x392563(0x14d)]],_0x2f293a=await NTQQUserApi[_0x392563(0x15e)](),_0x4a5ad9=_0x5b97c7['jMPhW'](_0x5b97c7[_0x392563(0x1c8)](_0x5b97c7[_0x392563(0x1b9)](_0x5b97c7[_0x392563(0x157)](_0x5b97c7[_0x392563(0x192)](_0x5b97c7[_0x392563(0x16b)],_0x3641b1),_0x5b97c7[_0x392563(0x19b)]),_0x2f293a),_0x5b97c7[_0x392563(0x1ca)]),selfInfo[_0x392563(0x1ab)]);let _0x6d350f=undefined;if(_0x5b97c7[_0x392563(0x159)](!_0x2f293a,!_0x3641b1))return undefined;const _0x592d03=WebApi['genBkn'](_0x2f293a),_0x191f4f=_0x5b97c7[_0x392563(0x1b2)](_0x5b97c7[_0x392563(0x1b9)](_0x5b97c7['BVNiv'],_0x592d03),_0x5b97c7[_0x392563(0x140)])+_0x111adf+_0x392563(0x153);try{_0x6d350f=await RequestUtil[_0x392563(0x152)](_0x191f4f,_0x5b97c7[_0x392563(0x1c0)],'',{'Cookie':_0x4a5ad9});if(_0x5b97c7['XSpFb'](_0x6d350f?.['ec'],0x0))return undefined;return _0x6d350f;}catch(_0x4d6165){return undefined;}return undefined;}static['genBkn'](_0x41ae98){const _0x4b6be1=_0x18028d,_0x5093ee={'ecsWj':function(_0x216608,_0x4fc1d2){return _0x216608||_0x4fc1d2;},'clgwi':function(_0x1ddf00,_0x44e314){return _0x1ddf00<_0x44e314;},'xNlTJ':function(_0x101db8,_0x1030dd){return _0x101db8+_0x1030dd;},'PGNjp':function(_0x3e1ab7,_0x4c9948){return _0x3e1ab7<<_0x4c9948;},'tFzKa':function(_0x527341,_0x179edc){return _0x527341&_0x179edc;}};_0x41ae98=_0x5093ee[_0x4b6be1(0x1b1)](_0x41ae98,'');let _0x436d19=0x1505;for(let _0x5d4cfb=0x0;_0x5093ee[_0x4b6be1(0x188)](_0x5d4cfb,_0x41ae98[_0x4b6be1(0x1bc)]);_0x5d4cfb++){const _0x5e5a7b=_0x41ae98[_0x4b6be1(0x179)](_0x5d4cfb);_0x436d19=_0x5093ee[_0x4b6be1(0x149)](_0x5093ee[_0x4b6be1(0x149)](_0x436d19,_0x5093ee['PGNjp'](_0x436d19,0x5)),_0x5e5a7b);}return _0x5093ee[_0x4b6be1(0x187)](_0x436d19,0x7fffffff)[_0x4b6be1(0x178)]();}static async[_0x18028d(0x15f)](_0x401af3,_0x1dbb35){const _0x167917=_0x18028d,_0x1b2831={'SdJLp':function(_0x55d4ab,_0x170a72){return _0x55d4ab+_0x170a72;},'XvmFJ':_0x167917(0x1dd),'UEkAO':'&type=','DlBRM':function(_0x1c57a4,_0x4115ba){return _0x1c57a4===_0x4115ba;},'clRZz':function(_0x322779,_0x47f1e6,_0x36f7d2,_0x39d99b){return _0x322779(_0x47f1e6,_0x36f7d2,_0x39d99b);},'KLWQF':_0x167917(0x17c),'ITjvH':_0x167917(0x180),'xyUiV':function(_0x5bb408,_0x5178be){return _0x5bb408||_0x5178be;},'gqDdm':function(_0x129fe0,_0x3e8319){return _0x129fe0+_0x3e8319;},'pIgCM':_0x167917(0x1c2),'EYqZO':_0x167917(0x1d3),'WsxyO':_0x167917(0x1c3),'QBPKB':_0x167917(0x16c),'DfijF':function(_0x6978b,_0x59001f,_0x4f0ea4){return _0x6978b(_0x59001f,_0x4f0ea4);},'MPtJs':_0x167917(0x197),'CSerG':function(_0x9cbd22,_0x50b8a9){return _0x9cbd22(_0x50b8a9);},'eYKMa':function(_0x5024cc,_0x156362){return _0x5024cc===_0x156362;},'RxrxE':function(_0x2b3422,_0x365ff1){return _0x2b3422===_0x365ff1;},'Jlpva':_0x167917(0x177),'JFySZ':function(_0x42ab6a,_0x169dcf){return _0x42ab6a===_0x169dcf;},'umdsx':'获取群聊炽焰失败','jQBXO':function(_0x46e1de,_0x298214,_0x2771e7){return _0x46e1de(_0x298214,_0x2771e7);},'iPoal':function(_0x4927fd,_0x13e9c2){return _0x4927fd===_0x13e9c2;},'TbUic':function(_0x364513,_0x33c86f){return _0x364513===_0x33c86f;},'HkLqH':_0x167917(0x1aa),'fnMiw':function(_0x460d67,_0xa85252){return _0x460d67===_0xa85252;}},_0x4d5cfe=(await NTQQUserApi['getPSkey']([_0x1b2831[_0x167917(0x143)]]))[_0x1b2831['ITjvH']],_0x55258e=await NTQQUserApi[_0x167917(0x15e)]();if(_0x1b2831[_0x167917(0x1c4)](!_0x55258e,!_0x4d5cfe))return undefined;async function _0x211575(_0x3aa674,_0x1d83ea){const _0x2bb129=_0x167917;let _0x314862=_0x1b2831[_0x2bb129(0x15b)](_0x1b2831['XvmFJ']+_0x3aa674,_0x1b2831[_0x2bb129(0x1d6)])+_0x1d83ea[_0x2bb129(0x178)](),_0x5ccd3d='',_0x28c676;try{_0x5ccd3d=await RequestUtil[_0x2bb129(0x165)](_0x314862,'GET','',{'Cookie':_0x39d2fe});const _0x9871e7=_0x5ccd3d[_0x2bb129(0x1a6)](/window\.__INITIAL_STATE__=(.*?);/);return _0x9871e7&&(_0x28c676=JSON['parse'](_0x9871e7[0x1][_0x2bb129(0x1a8)]())),_0x1b2831[_0x2bb129(0x15c)](_0x1d83ea,0x1)?_0x28c676?.[_0x2bb129(0x1bd)]:_0x28c676?.[_0x2bb129(0x172)];}catch(_0x4b32ba){_0x1b2831[_0x2bb129(0x1c7)](logDebug,_0x1b2831[_0x2bb129(0x151)],_0x314862,_0x4b32ba);}return undefined;}let _0xa3be0b={'group_id':_0x401af3};const _0x39d2fe=_0x1b2831[_0x167917(0x18b)](_0x1b2831[_0x167917(0x18b)](_0x1b2831['gqDdm'](_0x1b2831['SdJLp'](_0x1b2831['SdJLp'](_0x1b2831['pIgCM'],_0x4d5cfe),_0x1b2831[_0x167917(0x1b3)]),_0x55258e)+_0x1b2831[_0x167917(0x160)]+selfInfo[_0x167917(0x1ab)],_0x1b2831[_0x167917(0x18d)]),selfInfo[_0x167917(0x1ab)]);if(_0x1b2831['DlBRM'](_0x1dbb35,WebHonorType[_0x167917(0x1df)])||_0x1dbb35===WebHonorType['ALL'])try{let _0x3ba9e5=await _0x1b2831[_0x167917(0x1b7)](_0x211575,_0x401af3,0x1);if(!_0x3ba9e5)throw new Error(_0x1b2831[_0x167917(0x164)]);_0xa3be0b[_0x167917(0x16a)]={'user_id':_0x3ba9e5[0x0]?.[_0x167917(0x1ab)],'avatar':_0x3ba9e5[0x0]?.[_0x167917(0x17b)],'nickname':_0x3ba9e5[0x0]?.['name'],'day_count':0x0,'description':_0x3ba9e5[0x0]?.['desc']},_0xa3be0b['talkative_list']=[];for(const _0x58e462 of _0x3ba9e5){_0xa3be0b[_0x167917(0x1cc)][_0x167917(0x171)]({'user_id':_0x58e462?.[_0x167917(0x1ab)],'avatar':_0x58e462?.[_0x167917(0x17b)],'description':_0x58e462?.['desc'],'day_count':0x0,'nickname':_0x58e462?.['name']});}}catch(_0x4b6006){_0x1b2831[_0x167917(0x144)](logDebug,_0x4b6006);}if(_0x1b2831['eYKMa'](_0x1dbb35,WebHonorType[_0x167917(0x17e)])||_0x1b2831[_0x167917(0x1ac)](_0x1dbb35,WebHonorType[_0x167917(0x1d7)]))try{let _0x536506=await _0x1b2831['DfijF'](_0x211575,_0x401af3,0x2);if(!_0x536506)throw new Error(_0x1b2831[_0x167917(0x170)]);_0xa3be0b[_0x167917(0x14b)]=[];for(const _0xee4c44 of _0x536506){_0xa3be0b[_0x167917(0x14b)]['push']({'user_id':_0xee4c44?.['uin'],'nickname':_0xee4c44?.[_0x167917(0x194)],'avatar':_0xee4c44?.[_0x167917(0x17b)],'description':_0xee4c44?.['desc']});}}catch(_0x294ca3){logDebug(_0x294ca3);}if(_0x1dbb35===WebHonorType[_0x167917(0x17e)]||_0x1b2831[_0x167917(0x148)](_0x1dbb35,WebHonorType['ALL']))try{let _0x4e2c23=await _0x211575(_0x401af3,0x3);if(!_0x4e2c23)throw new Error(_0x1b2831[_0x167917(0x1dc)]);_0xa3be0b[_0x167917(0x18c)]=[];for(const _0x11f734 of _0x4e2c23){_0xa3be0b['legend_list'][_0x167917(0x171)]({'user_id':_0x11f734?.[_0x167917(0x1ab)],'nickname':_0x11f734?.[_0x167917(0x194)],'avatar':_0x11f734?.['avatar'],'desc':_0x11f734?.[_0x167917(0x1d1)]});}}catch(_0x3669be){_0x1b2831[_0x167917(0x185)](logDebug,_0x1b2831[_0x167917(0x1dc)],_0x3669be);}if(_0x1b2831[_0x167917(0x195)](_0x1dbb35,WebHonorType[_0x167917(0x1cd)])||_0x1b2831['TbUic'](_0x1dbb35,WebHonorType[_0x167917(0x1d7)]))try{let _0x3d56f7=await _0x211575(_0x401af3,0x6);if(!_0x3d56f7)throw new Error(_0x1b2831[_0x167917(0x19e)]);_0xa3be0b[_0x167917(0x14f)]=[];for(const _0x2ea03c of _0x3d56f7){_0xa3be0b['emotion_list']['push']({'user_id':_0x2ea03c?.[_0x167917(0x1ab)],'nickname':_0x2ea03c?.[_0x167917(0x194)],'avatar':_0x2ea03c?.[_0x167917(0x17b)],'desc':_0x2ea03c?.['description']});}}catch(_0x207ada){logDebug(_0x1b2831[_0x167917(0x19e)],_0x207ada);}return(_0x1b2831[_0x167917(0x154)](_0x1dbb35,WebHonorType[_0x167917(0x1cd)])||_0x1b2831[_0x167917(0x19f)](_0x1dbb35,WebHonorType[_0x167917(0x1d7)]))&&(_0xa3be0b[_0x167917(0x193)]=[]),_0xa3be0b;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index deece7bd..3fe26884 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x271556=_0xf50f;(function(_0x48e258,_0xf95a82){const _0x533b36=_0xf50f,_0x3dce79=_0x48e258();while(!![]){try{const _0xf9f555=parseInt(_0x533b36(0xed))/0x1+-parseInt(_0x533b36(0x8a))/0x2+-parseInt(_0x533b36(0xdb))/0x3*(-parseInt(_0x533b36(0x104))/0x4)+parseInt(_0x533b36(0x115))/0x5*(parseInt(_0x533b36(0x127))/0x6)+parseInt(_0x533b36(0x91))/0x7*(parseInt(_0x533b36(0xd1))/0x8)+parseInt(_0x533b36(0xb4))/0x9*(-parseInt(_0x533b36(0x10b))/0xa)+parseInt(_0x533b36(0xf2))/0xb*(parseInt(_0x533b36(0xe3))/0xc);if(_0xf9f555===_0xf95a82)break;else _0x3dce79['push'](_0x3dce79['shift']());}catch(_0x47b69c){_0x3dce79['push'](_0x3dce79['shift']());}}}(_0x25d2,0x935bc));import _0x1003b8 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x8e7529 from'node:path';import _0x9fc16f from'node:os';import _0x295017 from'node:fs';function _0xf50f(_0x17ea22,_0x187b86){const _0x25d2fa=_0x25d2();return _0xf50f=function(_0xf50f92,_0x1afa8d){_0xf50f92=_0xf50f92-0x73;let _0x5096ba=_0x25d2fa[_0xf50f92];return _0x5096ba;},_0xf50f(_0x17ea22,_0x187b86);}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x25d2(){const _0x312b6d=['XlmYc','dfyPY','UyZoE','45bPTusS','homedir','GAukO','nZWCp','undefined','_GW_B','uhnqu','xABAt','NodeIKernelBuddyListener','addKernelProfileListener','qrcodeUrl',')已登录,无法重复登录','jbXov','errMsg','WMoys','数据库初始化失败','has','message_sent','PZjVX','onRecvSysMsg','forEach','length','ztbSb','mkdirSync','catch','getNTUserDataInfoConfig','memberCount','util','启动失败:\x20','48uovELU','push','wJSao','账号设备(','nnnaL','split','NulGT','NodeQQNTWrapperUtil','NodeIQQNTWrapperSession','now','768792dwgAsI','getBuddyList','constructor','jFNLs','engine','createHash','./.config/QQ','hex','4488BCdLtO','登录失败','Windows\x2010\x20Pro','NiBPn','get','initSession\x20failed','dataPath','iPNKa','uin','isDelete','396121hsaLpL','uid','getLoginList','dataPathGlobal','getBuddyService','12793yzWpRI','initWithDeskTopConfig','NodeIGlobalAdapter','快速登录失败\x20','onProfileDetailInfoChanged','ProfileListener','NodeIKernelGroupListener','curVersion','fileLog','gxIAk','EYmce','onLineDev','onQRCodeLoginSucceed','addListener','addKernelMsgListener','onKickedOffLine','onGroupListUpdate','niXjy','4DTimPV','nvKoK','clientType','replace','hDZNU','session','ISceq','2180110hzhJfK','awGCa','快速登录不可用','proxyHandler','Ycgoh','qFDWL','getQuickLoginList','onSelfStatusChanged','result','cWixp','5875oQukPc','stringify','init','Switx','resolve','BuddyListener','HYBvW','floor','loginService','getQRCodePicture','onAddSendMsg','./nt_qq/global','GroupListener','140022008','HisWT','NodeIKernelLoginService','groupCode','consoleLog','2406dmqpwd','update','message_received','isQuickLogin','本账号数据/缓存目录:','devUid','loginListener','onQRCodeGetPicture','NodeIKernelProfileListener','find','NeVAo','sceneId','addKernelGroupListener','jKoeI','name','initDataListener','onUserLoggedIn','LocalLoginInfoList','map','data:image/png;base64,','NodeIDispatcherAdapter','set','MsgListener','ywtzP','1863734JxFTcS','initConfig','read','consoleLogLevel','pngBase64QrcodeData','当前账号(','then','1244810aQOjBA','tipsDesc','onLoginSuccessFuncList','iOeCF','KdIes','CyGPB','IduhL','last_message_time','HTPjA','onRecvMsg','infos','Thmxx','LNmpS','DghXK','asGaK','没有可快速登录的QQ号','addKernelBuddyListener','passwordLogin','packet_sent','assign','onMemberInfoChange','fileLogLevel','onMemberListChange','getGroupService','EqPhB','onSessionInitComplete','initSession','digest','hueyL','createMemberListScene','ehVkt','quickLoginWithUin'];_0x25d2=function(){return _0x312b6d;};return _0x25d2();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x57675c 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{[_0x271556(0x109)];[_0x271556(0xcf)];[_0x271556(0xdf)];[_0x271556(0x78)];[_0x271556(0x11d)];[_0x271556(0x93)]=[];[_0x271556(0x10e)]={'get'(target,prop,receiver){const _0x314a5f=_0x271556,fZeftz={'NeVAo':function(x,y){return x===y;},'CyGPB':_0x314a5f(0xb8)};if(fZeftz[_0x314a5f(0x7c)](typeof target[prop],fZeftz[_0x314a5f(0x96)]))return(...args)=>{const _0x4c925f=_0x314a5f;logDebug(target['constructor'][_0x4c925f(0x80)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x314a5f(0xe7)](target,prop,receiver);}};constructor(){const _0x3dda87=_0x271556,_0x38276f={'pgXAd':function(_0x4ce97c,_0x538a0f){return _0x4ce97c(_0x538a0f);},'XsNhC':function(_0x5a5d55,_0x22a15e){return _0x5a5d55+_0x22a15e;},'iPNKa':function(_0x444c8b,_0x3b6b8d){return _0x444c8b+_0x3b6b8d;},'mxqgy':_0x3dda87(0xbf),'hueyL':function(_0x3ac692,_0x1ac513,_0x36d7b1){return _0x3ac692(_0x1ac513,_0x36d7b1);},'jcRBE':function(_0x10808f,_0x286398){return _0x10808f instanceof _0x286398;},'awGCa':_0x3dda87(0xc3),'ywtzP':function(_0x4d005d,_0x1f2419){return _0x4d005d(_0x1f2419);},'ABmlV':function(_0xf76af3,_0x4a233c){return _0xf76af3(_0x4a233c);},'EYmce':'./NapCat/data','iOeCF':_0x3dda87(0xe8),'Thmxx':function(_0x4e250c,_0x24dc60,_0x9dc347){return _0x4e250c(_0x24dc60,_0x9dc347);},'PPSJA':_0x3dda87(0xe4),'jFNLs':function(_0x188970,_0x3d9b13){return _0x188970==_0x3d9b13;}};this[_0x3dda87(0xdf)]=new _0x1003b8['NodeIQQNTWrapperEngine'](),this[_0x3dda87(0xcf)]=new _0x1003b8[(_0x3dda87(0xd8))](),this[_0x3dda87(0x11d)]=new _0x1003b8[(_0x3dda87(0x124))](),this[_0x3dda87(0x109)]=new _0x1003b8[(_0x3dda87(0xd9))](),this['loginListener']=new LoginListener(),this[_0x3dda87(0x78)][_0x3dda87(0x82)]=_0x1d0439=>{const _0x26c037=_0x3dda87;_0x38276f['pgXAd'](logError,_0x38276f['XsNhC'](_0x38276f[_0x26c037(0xea)](_0x26c037(0x8f),_0x1d0439),_0x38276f['mxqgy']));},this[_0x3dda87(0x78)][_0x3dda87(0xfe)]=_0x32077b=>{const _0x24b8f4=_0x3dda87;this['initSession'](_0x32077b[_0x24b8f4(0xeb)],_0x32077b['uid'])[_0x24b8f4(0x90)](_0xe1a9c7=>{const _0x3bcfef=_0x24b8f4,_0x433236={'JGjhl':function(_0x54420b,_0x447d9b,_0x5139b5){const _0x434ae1=_0xf50f;return _0x38276f[_0x434ae1(0xad)](_0x54420b,_0x447d9b,_0x5139b5);},'HYBvW':function(_0x4da4d9,_0x45c333){return _0x38276f['jcRBE'](_0x4da4d9,_0x45c333);},'sYpcu':function(_0xa15919,_0x3d1020,_0x45f70e){return _0xa15919(_0x3d1020,_0x45f70e);},'nnnaL':_0x38276f[_0x3bcfef(0x10c)]};selfInfo[_0x3bcfef(0xeb)]=_0x32077b[_0x3bcfef(0xeb)],selfInfo[_0x3bcfef(0xee)]=_0x32077b[_0x3bcfef(0xee)],napCatConfig[_0x3bcfef(0x8c)](),_0x38276f[_0x3bcfef(0xad)](setLogLevel,napCatConfig[_0x3bcfef(0xa6)],napCatConfig[_0x3bcfef(0x8d)]),_0x38276f[_0x3bcfef(0x89)](enableFileLog,napCatConfig[_0x3bcfef(0xfa)]),_0x38276f['ABmlV'](enableConsoleLog,napCatConfig[_0x3bcfef(0x126)]),setLogSelfInfo(selfInfo);const _0x49da34=_0x8e7529[_0x3bcfef(0x119)](this[_0x3bcfef(0xe9)],_0x38276f[_0x3bcfef(0xfc)]);_0x295017[_0x3bcfef(0xcb)](_0x49da34,{'recursive':!![]}),logDebug(_0x3bcfef(0x76),_0x49da34),dbUtil[_0x3bcfef(0x117)](_0x8e7529[_0x3bcfef(0x119)](_0x49da34,'./'+_0x32077b[_0x3bcfef(0xeb)]+'-v2.db'))[_0x3bcfef(0x90)](()=>{const _0x3c572d=_0x3bcfef;this[_0x3c572d(0x81)](),this[_0x3c572d(0x93)][_0x3c572d(0x84)](_0x688842=>{const _0x37acd2=_0x3c572d,_0x3cd487={'DDGhO':function(_0x4882be,_0x1a1da6,_0x24e766){return _0x433236['JGjhl'](_0x4882be,_0x1a1da6,_0x24e766);},'IduhL':function(_0x28b528,_0x13e66f){const _0x14adca=_0xf50f;return _0x433236[_0x14adca(0x11b)](_0x28b528,_0x13e66f);}};new Promise((_0x437e32,_0x595059)=>{const _0x5e8e54=_0xf50f,_0x5b00e4=_0x3cd487['DDGhO'](_0x688842,_0x32077b[_0x5e8e54(0xeb)],_0x32077b['uid']);_0x3cd487[_0x5e8e54(0x97)](_0x5b00e4,Promise)&&_0x5b00e4[_0x5e8e54(0x90)](_0x437e32)[_0x5e8e54(0xcc)](_0x595059);})[_0x37acd2(0x90)]();});})['catch'](_0x19e5ac=>{const _0x37b592=_0x3bcfef;_0x433236['sYpcu'](logError,_0x433236[_0x37b592(0xd5)],_0x19e5ac);});})['catch'](_0x17250d=>{const _0x5a95fe=_0x24b8f4;logError(_0x38276f[_0x5a95fe(0x94)],_0x17250d);throw new Error(_0x5a95fe(0xd0)+JSON[_0x5a95fe(0x116)](_0x17250d));});},this[_0x3dda87(0x78)]['onQRCodeSessionFailed']=(_0x516207,_0xcc5de1,_0x3e1d4c)=>{const _0xc52250=_0x3dda87;_0x38276f[_0xc52250(0x9c)](logError,_0x38276f['PPSJA'],_0x3e1d4c),_0x38276f[_0xc52250(0xde)](_0x516207,0x1)&&_0xcc5de1==0x3&&this[_0xc52250(0x11d)][_0xc52250(0x11e)]();},this[_0x3dda87(0x78)]['onLoginFailed']=_0x5b4ae4=>{const _0x4808cc=_0x3dda87;_0x38276f[_0x4808cc(0x9c)](logError,_0x4808cc(0xe4),_0x5b4ae4);},this['loginListener']=new Proxy(this[_0x3dda87(0x78)],this[_0x3dda87(0x10e)]),this[_0x3dda87(0x11d)]['addKernelLoginListener'](new _0x1003b8['NodeIKernelLoginListener'](this[_0x3dda87(0x78)])),this[_0x3dda87(0x8b)]();}get[_0x271556(0xe9)](){const _0x583811=_0x271556,_0x2b4336={'qFDWL':_0x583811(0xe1)};let _0xfe1393=this['util'][_0x583811(0xcd)]();return!_0xfe1393&&(_0xfe1393=_0x8e7529['resolve'](_0x9fc16f[_0x583811(0xb5)](),_0x2b4336[_0x583811(0x110)]),_0x295017[_0x583811(0xcb)](_0xfe1393,{'recursive':!![]})),_0xfe1393;}get[_0x271556(0xf0)](){const _0xa4cd98=_0x271556,_0x33398={'cWixp':_0xa4cd98(0x120)};return _0x8e7529[_0xa4cd98(0x119)](this[_0xa4cd98(0xe9)],_0x33398[_0xa4cd98(0x114)]);}[_0x271556(0x8b)](){const _0xfe4ed7=_0x271556,_0x48f09c={'NulGT':_0xfe4ed7(0xe5)};this[_0xfe4ed7(0xdf)][_0xfe4ed7(0xf3)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x48f09c[_0xfe4ed7(0xd7)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0xfe4ed7(0xf9)][_0xfe4ed7(0x107)]('-','_')+_0xfe4ed7(0xb9),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x1003b8[(_0xfe4ed7(0xf4))](new GlobalAdapter())),this[_0xfe4ed7(0x11d)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x271556(0xab)](_0x496b75,_0xb6592a){const _0x54b850={'wjOiI':function(_0x6ecc0,_0x14d70e){return _0x6ecc0===_0x14d70e;},'nvKoK':function(_0x57a52d,_0x41e5ef){return _0x57a52d(_0x41e5ef);},'jbXov':function(_0x5383ad,_0x4531aa,_0x2d2005,_0x485ad8){return _0x5383ad(_0x4531aa,_0x2d2005,_0x485ad8);},'KdIes':function(_0x252d78,_0x35bfdb){return _0x252d78+_0x35bfdb;},'iPpbO':'init\x20failed\x20'};return new Promise(async(_0x61debe,_0x2a5b65)=>{const _0x43c7c4=_0xf50f,_0x552fa0={'Ycgoh':function(_0xfb2ea4,_0x37d5f1){return _0x54b850['wjOiI'](_0xfb2ea4,_0x37d5f1);},'gxIAk':function(_0x1a5b1a,_0x29350a){const _0x2a2732=_0xf50f;return _0x54b850[_0x2a2732(0x105)](_0x1a5b1a,_0x29350a);}},_0x36d27b=await _0x54b850[_0x43c7c4(0xc0)](genSessionConfig,_0x496b75,_0xb6592a,this[_0x43c7c4(0xe9)]),_0x4a7322=new SessionListener();_0x4a7322[_0x43c7c4(0xaa)]=_0x582d78=>{const _0x477296=_0x43c7c4;if(_0x552fa0[_0x477296(0x10f)](_0x582d78,0x0))return _0x61debe(0x0);_0x552fa0[_0x477296(0xfb)](_0x2a5b65,_0x582d78);},this[_0x43c7c4(0x109)][_0x43c7c4(0x117)](_0x36d27b,new _0x1003b8['NodeIDependsAdapter'](new DependsAdapter()),new _0x1003b8[(_0x43c7c4(0x86))](new DispatcherAdapter()),new _0x1003b8['NodeIKernelSessionListener'](_0x4a7322));try{this[_0x43c7c4(0x109)]['startNT'](0x0);}catch(_0x527e1f){try{this['session']['startNT']();}catch(_0x186ba5){_0x2a5b65(_0x54b850[_0x43c7c4(0x95)](_0x54b850['iPpbO'],_0x186ba5));}}});}['initDataListener'](){const _0x2fb898=_0x271556,_0x35f233={'PZjVX':function(_0x31d4c5,_0x432481){return _0x31d4c5===_0x432481;},'UyZoE':function(_0x1ae7e9,_0x3b797f){return _0x1ae7e9(_0x3b797f);},'ISceq':function(_0x33bdcd,_0x1132f2){return _0x33bdcd+_0x1132f2;},'EqPhB':')\x20在线状态变更','jKoeI':'[KickedOffLine]\x20[','ysGtl':function(_0x5b3820,_0x42a94f){return _0x5b3820/_0x42a94f;},'dfyPY':function(_0x133277,_0x2eedb0){return _0x133277===_0x2eedb0;},'vwANB':'groupMemberList_MainWindow','NiBPn':function(_0x486f25,_0x4b199f,_0xaa8b8){return _0x486f25(_0x4b199f,_0xaa8b8);}},_0x1fd5e6=new MsgListener();_0x1fd5e6[_0x2fb898(0xfd)]=_0xc5549a=>{const _0x2eda66=_0x2fb898,_0xe44e03={'nZWCp':function(_0x327e48,_0x41b399){return _0x35f233['PZjVX'](_0x327e48,_0x41b399);},'wJSao':function(_0x292c27,_0x26fc6f){const _0x1a8381=_0xf50f;return _0x35f233[_0x1a8381(0xb3)](_0x292c27,_0x26fc6f);},'HisWT':function(_0x56347b,_0x476a9f){const _0x4f6d85=_0xf50f;return _0x35f233[_0x4f6d85(0x10a)](_0x56347b,_0x476a9f);},'ehVkt':_0x35f233[_0x2eda66(0xa9)]};_0xc5549a['map'](_0x4abb6d=>{const _0x4f5bcf=_0x2eda66;_0xe44e03[_0x4f5bcf(0xb7)](_0x4abb6d[_0x4f5bcf(0x106)],0x2)&&_0xe44e03[_0x4f5bcf(0xd3)](log,_0xe44e03[_0x4f5bcf(0x123)](_0x4f5bcf(0xd4)+_0x4abb6d[_0x4f5bcf(0x77)],_0xe44e03[_0x4f5bcf(0xaf)]));});},_0x1fd5e6[_0x2fb898(0x101)]=_0x1581fb=>{const _0x180408=_0x2fb898;log(_0x35f233[_0x180408(0x10a)](_0x35f233[_0x180408(0x10a)](_0x35f233[_0x180408(0x10a)](_0x35f233[_0x180408(0x7f)],_0x1581fb['tipsTitle']),']\x20'),_0x1581fb[_0x180408(0x92)]));},_0x1fd5e6[_0x2fb898(0x11f)]=_0x4b8972=>{const _0x1a8eb9=_0x2fb898;stat[_0x1a8eb9(0xa3)]+=0x1,stat[_0x1a8eb9(0xc5)]+=0x1,stat[_0x1a8eb9(0x98)]=Math[_0x1a8eb9(0x11c)](_0x35f233['ysGtl'](Date[_0x1a8eb9(0xda)](),0x3e8));},_0x1fd5e6[_0x2fb898(0x9a)]=_0x1ad888=>{const _0x852739=_0x2fb898;stat['packet_received']+=0x1,stat[_0x852739(0x74)]+=_0x1ad888[_0x852739(0xc9)],stat[_0x852739(0x98)]=Math[_0x852739(0x11c)](Date['now']()/0x3e8);},_0x1fd5e6[_0x2fb898(0xc7)]=(..._0x55b9b2)=>{stat['packet_received']+=0x1;},this[_0x2fb898(0xff)](_0x1fd5e6);const _0x56a1a0=new BuddyListener();_0x56a1a0['onBuddyListChange']=_0x171a24=>{const _0x23f6ca=_0x2fb898;rawFriends[_0x23f6ca(0xc9)]=0x0,rawFriends[_0x23f6ca(0xd2)](..._0x171a24);for(const _0x8971a6 of _0x171a24){for(const _0x377553 of _0x8971a6['buddyList']){const _0x25b529=friends[_0x23f6ca(0xe7)](_0x377553['uid']);_0x25b529?Object[_0x23f6ca(0xa4)](_0x25b529,_0x377553):friends['set'](_0x377553[_0x23f6ca(0xee)],_0x377553);}}},this['addListener'](_0x56a1a0),this[_0x2fb898(0x109)]['getBuddyService']()[_0x2fb898(0xdc)](!![])['then'](_0xa82b20=>{});const _0x5819be=new ProfileListener();_0x5819be[_0x2fb898(0xf6)]=_0x37df69=>{const _0x539340=_0x2fb898;_0x35f233[_0x539340(0xb2)](_0x37df69[_0x539340(0xee)],selfInfo[_0x539340(0xee)])&&Object['assign'](selfInfo,_0x37df69);},_0x5819be[_0x2fb898(0x112)]=_0x10ade7=>{},this['addListener'](_0x5819be);const _0x5045a4=new GroupListener();_0x5045a4[_0x2fb898(0x102)]=(_0xf72c42,_0x934286)=>{_0x934286['map'](_0x47a32c=>{const _0x2c514d=_0xf50f,_0x3fb973=groups[_0x2c514d(0xe7)](_0x47a32c[_0x2c514d(0x125)]);_0x3fb973&&_0x35f233[_0x2c514d(0xc6)](_0x47a32c[_0x2c514d(0xce)],_0x3fb973['memberCount'])?Object[_0x2c514d(0xa4)](_0x3fb973,_0x47a32c):groups[_0x2c514d(0x87)](_0x47a32c['groupCode'],_0x47a32c);const _0x4c9766=this[_0x2c514d(0x109)][_0x2c514d(0xa8)]()[_0x2c514d(0xae)](_0x47a32c[_0x2c514d(0x125)],_0x35f233['vwANB']);this[_0x2c514d(0x109)][_0x2c514d(0xa8)]()['getNextMemberList'](_0x4c9766,undefined,0xbb8)[_0x2c514d(0x90)](_0x423fad=>{});});},_0x5045a4[_0x2fb898(0xa7)]=_0x192dca=>{const _0x38f456=_0x2fb898,_0x41eee6=_0x192dca[_0x38f456(0x7d)][_0x38f456(0xd6)]('_')[0x0];if(groupMembers[_0x38f456(0xc4)](_0x41eee6)){const _0x4cbaa8=groupMembers[_0x38f456(0xe7)](_0x41eee6);_0x192dca[_0x38f456(0x9b)][_0x38f456(0xc8)]((_0x3e8530,_0x23408b)=>{const _0x42603a=_0x38f456,_0x35212b=_0x4cbaa8[_0x42603a(0xe7)](_0x23408b);_0x35212b?Object['assign'](_0x35212b,_0x3e8530):_0x4cbaa8[_0x42603a(0x87)](_0x23408b,_0x3e8530);});}else groupMembers['set'](_0x41eee6,_0x192dca['infos']);},_0x5045a4[_0x2fb898(0xa5)]=(_0x3c21c2,_0x29f804,_0x3ba3ed)=>{const _0x545577=_0x2fb898;_0x29f804===0x0&&_0x3ba3ed[_0x545577(0xe7)](selfInfo[_0x545577(0xee)])&&_0x3ba3ed['get'](selfInfo[_0x545577(0xee)])?.[_0x545577(0xec)]&&_0x35f233[_0x545577(0xe6)](setTimeout,()=>{groups['delete'](_0x3c21c2);},0x1388);const _0x1c4cd3=groupMembers[_0x545577(0xe7)](_0x3c21c2);_0x1c4cd3?_0x3ba3ed[_0x545577(0xc8)]((_0x575f6a,_0x2b4277)=>{const _0x1ac88a=_0x545577,_0x340f04=_0x1c4cd3[_0x1ac88a(0xe7)](_0x2b4277);_0x340f04?Object[_0x1ac88a(0xa4)](_0x340f04,_0x575f6a):_0x1c4cd3[_0x1ac88a(0x87)](_0x2b4277,_0x575f6a);}):groupMembers[_0x545577(0x87)](_0x3c21c2,_0x3ba3ed);},this[_0x2fb898(0xff)](_0x5045a4);}['addListener'](_0xf4067a){const _0x3172d3=_0x271556,_0x20c85e={'DghXK':_0x3172d3(0x11a),'LNmpS':_0x3172d3(0x88),'niXjy':_0x3172d3(0xf7)};_0xf4067a=new Proxy(_0xf4067a,this['proxyHandler']);switch(_0xf4067a[_0x3172d3(0xdd)][_0x3172d3(0x80)]){case _0x20c85e[_0x3172d3(0x9e)]:{return this[_0x3172d3(0x109)][_0x3172d3(0xf1)]()[_0x3172d3(0xa1)](new _0x1003b8[(_0x3172d3(0xbc))](_0xf4067a));}case _0x3172d3(0x121):{return this[_0x3172d3(0x109)][_0x3172d3(0xa8)]()[_0x3172d3(0x7e)](new _0x1003b8[(_0x3172d3(0xf8))](_0xf4067a));}case _0x20c85e[_0x3172d3(0x9d)]:{return this[_0x3172d3(0x109)]['getMsgService']()[_0x3172d3(0x100)](new _0x1003b8['NodeIKernelMsgListener'](_0xf4067a));}case _0x20c85e[_0x3172d3(0x103)]:{return this['session']['getProfileService']()[_0x3172d3(0xbd)](new _0x1003b8[(_0x3172d3(0x7a))](_0xf4067a));}default:return-0x1;}}['onLoginSuccess'](_0x2225b0){const _0x59d082=_0x271556;NTEventDispatch[_0x59d082(0x117)]({'ListenerMap':_0x1003b8,'WrapperSession':this[_0x59d082(0x109)]}),this['onLoginSuccessFuncList']['push'](_0x2225b0);}async['quickLogin'](_0x42f940){const _0x1283a7=_0x271556,_0x24a146={'XlmYc':function(_0x1183d6,_0x1ea153){return _0x1183d6!==_0x1ea153;},'uhnqu':_0x1283a7(0xa0),'Switx':function(_0x168ec1,_0x3321eb){return _0x168ec1(_0x3321eb);},'asGaK':function(_0x484bc1,_0x353e9a){return _0x484bc1+_0x353e9a;},'xABAt':_0x1283a7(0xf5)},_0x3da61d=await this[_0x1283a7(0x11d)][_0x1283a7(0xef)]();if(_0x24a146[_0x1283a7(0xb1)](_0x3da61d['result'],0x0))throw new Error(_0x24a146[_0x1283a7(0xba)]);const _0x2fbf94=_0x3da61d[_0x1283a7(0x83)][_0x1283a7(0x7b)](_0x16382f=>_0x16382f[_0x1283a7(0xeb)]===_0x42f940);if(!_0x2fbf94||!_0x2fbf94?.[_0x1283a7(0x75)])throw new Error(_0x42f940+_0x1283a7(0x10d));await _0x24a146[_0x1283a7(0x118)](sleep,0x3e8);const _0x395d27=await this[_0x1283a7(0x11d)][_0x1283a7(0xb0)](_0x42f940);if(!_0x395d27[_0x1283a7(0x113)])throw new Error(_0x24a146[_0x1283a7(0x9f)](_0x24a146[_0x1283a7(0xbb)],_0x395d27['loginErrorInfo'][_0x1283a7(0xc1)]));return _0x395d27;}async['qrLogin'](_0x52f654){const _0x2dbe4d=_0x271556,_0x3684aa={'tsCvv':_0x2dbe4d(0x85),'ztbSb':'base64','XlBgJ':function(_0x3ee8e0,_0x58b8af,_0x10bce1,_0x32885f){return _0x3ee8e0(_0x58b8af,_0x10bce1,_0x32885f);}};return new Promise((_0x3fe9ea,_0x11e22b)=>{const _0x49054e=_0x2dbe4d;this[_0x49054e(0x78)][_0x49054e(0x79)]=_0x10da08=>{const _0x445fd3=_0x49054e,_0x2d593a=_0x10da08[_0x445fd3(0x8e)][_0x445fd3(0xd6)](_0x3684aa['tsCvv'])[0x1],_0xa0f307=Buffer['from'](_0x2d593a,_0x3684aa[_0x445fd3(0xca)]);_0x3684aa['XlBgJ'](_0x52f654,_0x10da08[_0x445fd3(0xbe)],_0x10da08['pngBase64QrcodeData'],_0xa0f307);},this[_0x49054e(0x11d)]['getQRCodePicture']();});}async[_0x271556(0xa2)](_0x3aa69a,_0x2298f6,_0x452c42,_0x107c0e,_0x483996){const _0x332eb7=_0x271556,_0x12d172={'hDZNU':'md5','GAukO':function(_0x2f5b71,_0x4ae498){return _0x2f5b71||_0x4ae498;},'WMoys':function(_0x64d103,_0x2ef63c){return _0x64d103||_0x2ef63c;},'WFwyD':function(_0x3e1a6a,_0x222211){return _0x3e1a6a(_0x222211);},'HTPjA':_0x332eb7(0x122),'gJYjf':'140022013'},_0x3b61a4=_0x57675c[_0x332eb7(0xe0)](_0x12d172[_0x332eb7(0x108)])[_0x332eb7(0x73)](_0x2298f6)[_0x332eb7(0xac)](_0x332eb7(0xe2)),_0x1e3f0f={'uin':_0x3aa69a,'passwordMd5':_0x3b61a4,'step':_0x452c42&&_0x107c0e&&_0x483996?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x12d172[_0x332eb7(0xb6)](_0x452c42,''),'proofWaterRand':_0x12d172[_0x332eb7(0xc2)](_0x107c0e,''),'proofWaterSid':_0x483996||''};await this[_0x332eb7(0x11d)]['getLoginList'](),await _0x12d172['WFwyD'](sleep,0x3e8);const _0x5044b6=await this[_0x332eb7(0x11d)][_0x332eb7(0xa2)](_0x1e3f0f);switch(_0x5044b6[_0x332eb7(0x113)]){case'0':{break;}case _0x12d172[_0x332eb7(0x99)]:{break;}case'4':case _0x12d172['gJYjf']:default:}}async[_0x271556(0x111)](){const _0x3b2a5b=_0x271556,_0x9e90c5=await this['loginService'][_0x3b2a5b(0xef)]();return _0x9e90c5;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x44f917=_0x1bfd;function _0x5170(){const _0x1cd7fd=['engine','getBuddyList','2558689aRqGuK','onQRCodeGetPicture','V1_WIN_NQ_','onBAe','getQRCodePicture','NodeQQNTWrapperUtil','set','prOGk','packet_sent','SmsnZ','name','dZtVT','undefined','assign','onMemberInfoChange','onRecvSysMsg','infos','mCRPp','init\x20failed\x20','OzUrn','oDbNn','NodeIKernelSessionListener','onUserLoggedIn','isQuickLogin','iTXfk','map','vqlAW','buddyList','FGpPL','启动失败:\x20','NodeIDependsAdapter','fileLogLevel','initWithDeskTopConfig','3043805QKTEhB','快速登录失败\x20','getProfileService','1345392izPMxw','getBuddyService','forEach','passwordLogin','getQuickLoginList','hex','vCFMd','fileLog','Windows\x2010\x20Pro','initSession','MATUv','curVersion','has','bxlld','UpAkg','aQVPA','NodeIDispatcherAdapter','uid','groupMemberList_MainWindow','loginErrorInfo','AOmKM','then','WHbAn','floor','680073UxVYda','onGroupListUpdate','get','find','bfvyF','GuisX','NodeIKernelBuddyListener','split','BuddyListener','consoleLogLevel','QKUBV','NodeIKernelMsgListener','onQRCodeSessionFailed','md5','[KickedOffLine]\x20[','base64','AzIys','session','BXiWI','devUid','1920978OPlxrG','uin','push','length','onLoginFailed','getMsgService','xRZVn','puvDf','addKernelLoginListener','createHash','tipsTitle','mufiH','1265886IezeoE','12AxjJyQ','gskME','NBCCw','快速登录不可用','kliMX','update','dataPathGlobal','util',')已登录,无法重复登录','ARzPu','gtRVr','UJhUh','digest','IzOAi','sBBVL','iVwaK','onLoginSuccessFuncList','ProfileListener','pngBase64QrcodeData','SbwkQ','startNT','onAddSendMsg','ydaZD','qrLogin','init','proxyHandler','8BMTEiS','MsgListener','addListener',')\x20在线状态变更','getNextMemberList','uNpwz','dataPath','addKernelGroupListener','onProfileDetailInfoChanged','replace','onLineDev','NodeIQQNTWrapperSession','getNTUserDataInfoConfig','NodeIKernelProfileListener','onSessionInitComplete','EDxfr','-v2.db','yrkwX','账号设备(','UVdMy','initConfig','loginListener','tEJvc','GIiAw','712812wQzTBN','message_sent','createMemberListScene','tipsDesc','last_message_time','loginService','packet_received','HOEYI','memberCount','./nt_qq/global','数据库初始化失败','getGroupService','getLoginList','constructor','WjFfo','isDelete','stringify','now','onKickedOffLine','result','catch','20pSzfiU','./.config/QQ','rmKXO','onRecvMsg','mkdirSync','./NapCat/data','NodeIKernelLoginService','NodeIKernelLoginListener','140022008','resolve','FNdOv','groupCode','quickLogin','message_received','hjNQb','GroupListener','DbYcz','homedir','quickLoginWithUin','initSession\x20failed'];_0x5170=function(){return _0x1cd7fd;};return _0x5170();}(function(_0x19013b,_0x473ae4){const _0x4785d2=_0x1bfd,_0x59d26a=_0x19013b();while(!![]){try{const _0x38dee4=parseInt(_0x4785d2(0x20a))/0x1+parseInt(_0x4785d2(0x259))/0x2+parseInt(_0x4785d2(0x271))/0x3*(-parseInt(_0x4785d2(0x292))/0x4)+-parseInt(_0x4785d2(0x256))/0x5+parseInt(_0x4785d2(0x291))/0x6+-parseInt(_0x4785d2(0x235))/0x7*(parseInt(_0x4785d2(0x2ac))/0x8)+parseInt(_0x4785d2(0x285))/0x9*(parseInt(_0x4785d2(0x21f))/0xa);if(_0x38dee4===_0x473ae4)break;else _0x59d26a['push'](_0x59d26a['shift']());}catch(_0x7fe30f){_0x59d26a['push'](_0x59d26a['shift']());}}}(_0x5170,0x5a174));import _0x539542 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x52817d from'node:path';function _0x1bfd(_0x2c550c,_0x215743){const _0x517009=_0x5170();return _0x1bfd=function(_0x1bfdfb,_0x4dc42d){_0x1bfdfb=_0x1bfdfb-0x1f3;let _0x58d5d6=_0x517009[_0x1bfdfb];return _0x58d5d6;},_0x1bfd(_0x2c550c,_0x215743);}import _0x90c7a from'node:os';import _0x4f990f 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 _0x10d0f0 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{[_0x44f917(0x282)];[_0x44f917(0x299)];[_0x44f917(0x233)];[_0x44f917(0x207)];[_0x44f917(0x20f)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x584407=_0x44f917,VXIKdb={'bkUkl':function(callee,param1){return callee(param1);},'UpAkg':function(x,y){return x===y;},'UJhUh':_0x584407(0x241)};if(VXIKdb[_0x584407(0x267)](typeof target[prop],VXIKdb[_0x584407(0x29d)]))return(...args)=>{const _0x24844a=_0x584407;VXIKdb['bkUkl'](logDebug,target['constructor'][_0x24844a(0x23f)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x584407(0x273)](target,prop,receiver);}};constructor(){const _0x386fad=_0x44f917,_0x476558={'gtRVr':function(_0x4af76f,_0x552464){return _0x4af76f+_0x552464;},'OzUrn':function(_0x101b8f,_0x38c9ec){return _0x101b8f+_0x38c9ec;},'GIiAw':_0x386fad(0x29a),'FGpPL':function(_0x5b4302,_0x14681f,_0x3bb0fa){return _0x5b4302(_0x14681f,_0x3bb0fa);},'rmKXO':_0x386fad(0x214),'yrkwX':function(_0x4da5cb,_0x30c528,_0x5e3fbd){return _0x4da5cb(_0x30c528,_0x5e3fbd);},'mCRPp':function(_0x11a942,_0x14ffba){return _0x11a942(_0x14ffba);},'nExeF':_0x386fad(0x224),'sllsR':'本账号数据/缓存目录:','vkNXI':function(_0x3a0412,_0x473e35,_0x14da72){return _0x3a0412(_0x473e35,_0x14da72);},'vCFMd':function(_0x188384,_0x341785,_0x3ab62e){return _0x188384(_0x341785,_0x3ab62e);},'MATUv':'登录失败','aQVPA':function(_0x87465b,_0x5e3a2c){return _0x87465b==_0x5e3a2c;}};this[_0x386fad(0x233)]=new _0x539542['NodeIQQNTWrapperEngine'](),this[_0x386fad(0x299)]=new _0x539542[(_0x386fad(0x23a))](),this[_0x386fad(0x20f)]=new _0x539542[(_0x386fad(0x225))](),this[_0x386fad(0x282)]=new _0x539542[(_0x386fad(0x1fd))](),this[_0x386fad(0x207)]=new LoginListener(),this[_0x386fad(0x207)][_0x386fad(0x24b)]=_0x546feb=>{const _0x4bb5c3=_0x386fad;logError(_0x476558[_0x4bb5c3(0x29c)](_0x476558[_0x4bb5c3(0x248)]('当前账号(',_0x546feb),_0x476558[_0x4bb5c3(0x209)]));},this[_0x386fad(0x207)]['onQRCodeLoginSucceed']=_0x24608f=>{const _0x74d672=_0x386fad;this[_0x74d672(0x262)](_0x24608f[_0x74d672(0x286)],_0x24608f['uid'])['then'](_0x10f6b3=>{const _0x4bb48a=_0x74d672,_0x25d1bf={'SmsnZ':function(_0x73e811,_0x22cd6f,_0x1d2750){const _0x19fc8a=_0x1bfd;return _0x476558[_0x19fc8a(0x251)](_0x73e811,_0x22cd6f,_0x1d2750);},'xRZVn':_0x476558[_0x4bb48a(0x221)]};selfInfo['uin']=_0x24608f['uin'],selfInfo[_0x4bb48a(0x26a)]=_0x24608f[_0x4bb48a(0x26a)],napCatConfig['read'](),_0x476558[_0x4bb48a(0x203)](setLogLevel,napCatConfig[_0x4bb48a(0x254)],napCatConfig[_0x4bb48a(0x27a)]),enableFileLog(napCatConfig[_0x4bb48a(0x260)]),_0x476558[_0x4bb48a(0x246)](enableConsoleLog,napCatConfig['consoleLog']),setLogSelfInfo(selfInfo);const _0x1da33f=_0x52817d['resolve'](this[_0x4bb48a(0x1f8)],_0x476558['nExeF']);_0x4f990f[_0x4bb48a(0x223)](_0x1da33f,{'recursive':!![]}),_0x476558['FGpPL'](logDebug,_0x476558['sllsR'],_0x1da33f),dbUtil[_0x4bb48a(0x2aa)](_0x52817d[_0x4bb48a(0x228)](_0x1da33f,'./'+_0x24608f[_0x4bb48a(0x286)]+_0x4bb48a(0x202)))[_0x4bb48a(0x26e)](()=>{const _0x756eac=_0x4bb48a,_0x72464d={'iTXfk':function(_0x32e4ee,_0x14f459){return _0x32e4ee instanceof _0x14f459;}};this['initDataListener'](),this[_0x756eac(0x2a2)][_0x756eac(0x24e)](_0x226af0=>{new Promise((_0x2d2a73,_0x89cf6a)=>{const _0x2b30c5=_0x1bfd,_0x41b494=_0x226af0(_0x24608f[_0x2b30c5(0x286)],_0x24608f[_0x2b30c5(0x26a)]);_0x72464d[_0x2b30c5(0x24d)](_0x41b494,Promise)&&_0x41b494[_0x2b30c5(0x26e)](_0x2d2a73)[_0x2b30c5(0x21e)](_0x89cf6a);})['then']();});})[_0x4bb48a(0x21e)](_0x313f15=>{const _0x311ebf=_0x4bb48a;_0x25d1bf[_0x311ebf(0x23e)](logError,_0x25d1bf[_0x311ebf(0x28b)],_0x313f15);});})['catch'](_0x69c03c=>{const _0x3f21d9=_0x74d672;_0x476558['vkNXI'](logError,_0x3f21d9(0x232),_0x69c03c);throw new Error(_0x3f21d9(0x252)+JSON[_0x3f21d9(0x21a)](_0x69c03c));});},this[_0x386fad(0x207)][_0x386fad(0x27d)]=(_0x40c0dc,_0x255d5a,_0x350362)=>{const _0x5d94b3=_0x386fad;_0x476558[_0x5d94b3(0x25f)](logError,_0x476558[_0x5d94b3(0x263)],_0x350362),_0x40c0dc==0x1&&_0x476558[_0x5d94b3(0x268)](_0x255d5a,0x3)&&this[_0x5d94b3(0x20f)][_0x5d94b3(0x239)]();},this[_0x386fad(0x207)][_0x386fad(0x289)]=_0x1ed7d6=>{const _0x4ca010=_0x386fad;_0x476558[_0x4ca010(0x251)](logError,_0x476558[_0x4ca010(0x263)],_0x1ed7d6);},this[_0x386fad(0x207)]=new Proxy(this[_0x386fad(0x207)],this['proxyHandler']),this[_0x386fad(0x20f)][_0x386fad(0x28d)](new _0x539542[(_0x386fad(0x226))](this[_0x386fad(0x207)])),this[_0x386fad(0x206)]();}get[_0x44f917(0x1f8)](){const _0x2be42a=_0x44f917,_0x49bfc5={'WjFfo':_0x2be42a(0x220)};let _0x34776a=this['util'][_0x2be42a(0x1fe)]();return!_0x34776a&&(_0x34776a=_0x52817d['resolve'](_0x90c7a[_0x2be42a(0x230)](),_0x49bfc5[_0x2be42a(0x218)]),_0x4f990f[_0x2be42a(0x223)](_0x34776a,{'recursive':!![]})),_0x34776a;}get[_0x44f917(0x298)](){const _0x206cb0=_0x44f917,_0xca0013={'vqlAW':_0x206cb0(0x213)};return _0x52817d[_0x206cb0(0x228)](this[_0x206cb0(0x1f8)],_0xca0013[_0x206cb0(0x24f)]);}[_0x44f917(0x206)](){const _0x50d51d=_0x44f917,_0x47aede={'bfvyF':_0x50d51d(0x261)};this[_0x50d51d(0x233)][_0x50d51d(0x255)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x47aede[_0x50d51d(0x275)],'use_xlog':!![],'qua':_0x50d51d(0x237)+qqVersionConfigInfo['curVersion'][_0x50d51d(0x1fb)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x50d51d(0x298)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x539542['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x50d51d(0x206)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x50d51d(0x298)],'clientVer':qqVersionConfigInfo[_0x50d51d(0x264)],'hostName':hostname});}[_0x44f917(0x262)](_0xd322ad,_0x4d5be4){const _0xb93cf=_0x44f917,_0x533f35={'mufiH':function(_0x5062c9,_0x2fcf51){return _0x5062c9===_0x2fcf51;},'prOGk':function(_0xdcc72e,_0x41f183){return _0xdcc72e(_0x41f183);},'FNdOv':function(_0x1fcbbf,_0x205037){return _0x1fcbbf(_0x205037);},'gskME':function(_0x3883d8,_0xd2736c,_0x3fbacc,_0x3163a2){return _0x3883d8(_0xd2736c,_0x3fbacc,_0x3163a2);},'EDxfr':function(_0x22c561,_0x3e21b7){return _0x22c561(_0x3e21b7);},'puvDf':_0xb93cf(0x247)};return new Promise(async(_0x4e1186,_0x3aed63)=>{const _0xda1abc=_0xb93cf,_0x4854ca=await _0x533f35[_0xda1abc(0x293)](genSessionConfig,_0xd322ad,_0x4d5be4,this[_0xda1abc(0x1f8)]),_0x16d1b6=new SessionListener();_0x16d1b6[_0xda1abc(0x200)]=_0x8dbc07=>{const _0x166678=_0xda1abc;if(_0x533f35[_0x166678(0x290)](_0x8dbc07,0x0))return _0x533f35[_0x166678(0x23c)](_0x4e1186,0x0);_0x533f35[_0x166678(0x229)](_0x3aed63,_0x8dbc07);},this[_0xda1abc(0x282)][_0xda1abc(0x2aa)](_0x4854ca,new _0x539542[(_0xda1abc(0x253))](new DependsAdapter()),new _0x539542[(_0xda1abc(0x269))](new DispatcherAdapter()),new _0x539542[(_0xda1abc(0x24a))](_0x16d1b6));try{this['session'][_0xda1abc(0x2a6)](0x0);}catch(_0x2942f4){try{this[_0xda1abc(0x282)][_0xda1abc(0x2a6)]();}catch(_0xb43847){_0x533f35[_0xda1abc(0x201)](_0x3aed63,_0x533f35[_0xda1abc(0x28c)]+_0xb43847);}}});}['initDataListener'](){const _0x6bc98a=_0x44f917,_0x2794e={'AzIys':function(_0x4caca0,_0x1bb431){return _0x4caca0===_0x1bb431;},'iVwaK':function(_0x56fc25,_0x1aa1b5){return _0x56fc25+_0x1aa1b5;},'tEJvc':_0x6bc98a(0x204),'oDbNn':_0x6bc98a(0x1f5),'kliMX':function(_0x4b357a,_0x297ceb){return _0x4b357a+_0x297ceb;},'onBAe':function(_0x1df6bf,_0x471632){return _0x1df6bf+_0x471632;},'dZtVT':function(_0x51d798,_0x2b7a33){return _0x51d798/_0x2b7a33;},'hjNQb':function(_0x1399d7,_0x365ca8){return _0x1399d7===_0x365ca8;},'nnAmV':_0x6bc98a(0x26b)},_0x58a252=new MsgListener();_0x58a252[_0x6bc98a(0x1fc)]=_0x1966e3=>{const _0x3955be=_0x6bc98a,_0x7c44b8={'UVdMy':function(_0x2a6a50,_0x4de13b){const _0x5d0006=_0x1bfd;return _0x2794e[_0x5d0006(0x281)](_0x2a6a50,_0x4de13b);},'HOEYI':function(_0x5f062d,_0xa5d6b3){const _0x59fb3d=_0x1bfd;return _0x2794e[_0x59fb3d(0x2a1)](_0x5f062d,_0xa5d6b3);},'ARzPu':function(_0x526bb4,_0x3af854){const _0x5c9ee2=_0x1bfd;return _0x2794e[_0x5c9ee2(0x2a1)](_0x526bb4,_0x3af854);},'DbYcz':_0x2794e[_0x3955be(0x208)],'HdazD':_0x2794e[_0x3955be(0x249)]};_0x1966e3[_0x3955be(0x24e)](_0x5bb032=>{const _0x4d8bb5=_0x3955be;_0x7c44b8[_0x4d8bb5(0x205)](_0x5bb032['clientType'],0x2)&&log(_0x7c44b8[_0x4d8bb5(0x211)](_0x7c44b8[_0x4d8bb5(0x29b)](_0x7c44b8[_0x4d8bb5(0x22f)],_0x5bb032[_0x4d8bb5(0x284)]),_0x7c44b8['HdazD']));});},_0x58a252[_0x6bc98a(0x21c)]=_0x449f2e=>{const _0x2243da=_0x6bc98a;log(_0x2794e[_0x2243da(0x296)](_0x2794e[_0x2243da(0x296)](_0x2794e[_0x2243da(0x238)](_0x2243da(0x27f),_0x449f2e[_0x2243da(0x28f)]),']\x20'),_0x449f2e[_0x2243da(0x20d)]));},_0x58a252[_0x6bc98a(0x2a7)]=_0x17b184=>{const _0x24d7c3=_0x6bc98a;stat[_0x24d7c3(0x23d)]+=0x1,stat[_0x24d7c3(0x20b)]+=0x1,stat['last_message_time']=Math[_0x24d7c3(0x270)](_0x2794e[_0x24d7c3(0x240)](Date[_0x24d7c3(0x21b)](),0x3e8));},_0x58a252[_0x6bc98a(0x222)]=_0xc4546f=>{const _0x7a6671=_0x6bc98a;stat[_0x7a6671(0x210)]+=0x1,stat[_0x7a6671(0x22c)]+=_0xc4546f[_0x7a6671(0x288)],stat[_0x7a6671(0x20e)]=Math[_0x7a6671(0x270)](_0x2794e[_0x7a6671(0x240)](Date['now'](),0x3e8));},_0x58a252[_0x6bc98a(0x244)]=(..._0x4a03c3)=>{stat['packet_received']+=0x1;},this[_0x6bc98a(0x1f4)](_0x58a252);const _0x38a948=new BuddyListener();_0x38a948['onBuddyListChange']=_0x25b887=>{const _0x495a18=_0x6bc98a;rawFriends['length']=0x0,rawFriends[_0x495a18(0x287)](..._0x25b887);for(const _0x437f5b of _0x25b887){for(const _0x5b4f6f of _0x437f5b[_0x495a18(0x250)]){const _0x560f92=friends[_0x495a18(0x273)](_0x5b4f6f[_0x495a18(0x26a)]);_0x560f92?Object['assign'](_0x560f92,_0x5b4f6f):friends[_0x495a18(0x23b)](_0x5b4f6f[_0x495a18(0x26a)],_0x5b4f6f);}}},this[_0x6bc98a(0x1f4)](_0x38a948),this[_0x6bc98a(0x282)][_0x6bc98a(0x25a)]()[_0x6bc98a(0x234)](!![])[_0x6bc98a(0x26e)](_0x1bc1f8=>{});const _0x12b67b=new ProfileListener();_0x12b67b[_0x6bc98a(0x1fa)]=_0x4ed5d2=>{const _0x26519c=_0x6bc98a;_0x4ed5d2['uid']===selfInfo['uid']&&Object[_0x26519c(0x242)](selfInfo,_0x4ed5d2);},_0x12b67b['onSelfStatusChanged']=_0x3c0647=>{},this[_0x6bc98a(0x1f4)](_0x12b67b);const _0x1a01d3=new GroupListener();_0x1a01d3[_0x6bc98a(0x272)]=(_0x4d7725,_0x42c5b4)=>{const _0x7760a6=_0x6bc98a;_0x42c5b4[_0x7760a6(0x24e)](_0x4654e4=>{const _0x5e33a0=_0x7760a6,_0x10695a=groups[_0x5e33a0(0x273)](_0x4654e4[_0x5e33a0(0x22a)]);_0x10695a&&_0x2794e[_0x5e33a0(0x22d)](_0x4654e4[_0x5e33a0(0x212)],_0x10695a[_0x5e33a0(0x212)])?Object[_0x5e33a0(0x242)](_0x10695a,_0x4654e4):groups['set'](_0x4654e4[_0x5e33a0(0x22a)],_0x4654e4);const _0x42e9cb=this[_0x5e33a0(0x282)][_0x5e33a0(0x215)]()[_0x5e33a0(0x20c)](_0x4654e4[_0x5e33a0(0x22a)],_0x2794e['nnAmV']);this['session'][_0x5e33a0(0x215)]()[_0x5e33a0(0x1f6)](_0x42e9cb,undefined,0xbb8)[_0x5e33a0(0x26e)](_0x966db8=>{});});},_0x1a01d3['onMemberListChange']=_0x5bb4bf=>{const _0x2934a2=_0x6bc98a,_0x3094d7=_0x5bb4bf['sceneId'][_0x2934a2(0x278)]('_')[0x0];if(groupMembers[_0x2934a2(0x265)](_0x3094d7)){const _0x21d662=groupMembers[_0x2934a2(0x273)](_0x3094d7);_0x5bb4bf[_0x2934a2(0x245)][_0x2934a2(0x25b)]((_0xe145e,_0x539649)=>{const _0x4a693e=_0x2934a2,_0x526bd8=_0x21d662[_0x4a693e(0x273)](_0x539649);_0x526bd8?Object[_0x4a693e(0x242)](_0x526bd8,_0xe145e):_0x21d662[_0x4a693e(0x23b)](_0x539649,_0xe145e);});}else groupMembers['set'](_0x3094d7,_0x5bb4bf['infos']);},_0x1a01d3[_0x6bc98a(0x243)]=(_0x3e7946,_0x23b103,_0x3b40cb)=>{const _0x2a15cf=_0x6bc98a;_0x2794e[_0x2a15cf(0x281)](_0x23b103,0x0)&&_0x3b40cb[_0x2a15cf(0x273)](selfInfo['uid'])&&_0x3b40cb[_0x2a15cf(0x273)](selfInfo[_0x2a15cf(0x26a)])?.[_0x2a15cf(0x219)]&&setTimeout(()=>{groups['delete'](_0x3e7946);},0x1388);const _0x80a8f7=groupMembers[_0x2a15cf(0x273)](_0x3e7946);_0x80a8f7?_0x3b40cb[_0x2a15cf(0x25b)]((_0x5281a0,_0xc158e6)=>{const _0x1f5d63=_0x2a15cf,_0x464b07=_0x80a8f7[_0x1f5d63(0x273)](_0xc158e6);_0x464b07?Object[_0x1f5d63(0x242)](_0x464b07,_0x5281a0):_0x80a8f7[_0x1f5d63(0x23b)](_0xc158e6,_0x5281a0);}):groupMembers[_0x2a15cf(0x23b)](_0x3e7946,_0x3b40cb);},this[_0x6bc98a(0x1f4)](_0x1a01d3);}[_0x44f917(0x1f4)](_0x42a754){const _0x36b1ba=_0x44f917,_0x418df2={'MsFUm':_0x36b1ba(0x279),'VURzD':_0x36b1ba(0x2a3)};_0x42a754=new Proxy(_0x42a754,this[_0x36b1ba(0x2ab)]);switch(_0x42a754[_0x36b1ba(0x217)][_0x36b1ba(0x23f)]){case _0x418df2['MsFUm']:{return this[_0x36b1ba(0x282)][_0x36b1ba(0x25a)]()['addKernelBuddyListener'](new _0x539542[(_0x36b1ba(0x277))](_0x42a754));}case _0x36b1ba(0x22e):{return this[_0x36b1ba(0x282)][_0x36b1ba(0x215)]()[_0x36b1ba(0x1f9)](new _0x539542['NodeIKernelGroupListener'](_0x42a754));}case _0x36b1ba(0x1f3):{return this[_0x36b1ba(0x282)][_0x36b1ba(0x28a)]()['addKernelMsgListener'](new _0x539542[(_0x36b1ba(0x27c))](_0x42a754));}case _0x418df2['VURzD']:{return this[_0x36b1ba(0x282)][_0x36b1ba(0x258)]()['addKernelProfileListener'](new _0x539542[(_0x36b1ba(0x1ff))](_0x42a754));}default:return-0x1;}}['onLoginSuccess'](_0x83e952){const _0x147794=_0x44f917;NTEventDispatch[_0x147794(0x2aa)]({'ListenerMap':_0x539542,'WrapperSession':this[_0x147794(0x282)]}),this[_0x147794(0x2a2)][_0x147794(0x287)](_0x83e952);}async[_0x44f917(0x22b)](_0x570e49){const _0x422a2f=_0x44f917,_0x2cd93b={'vpojl':function(_0x3f2ee4,_0x52371f){return _0x3f2ee4!==_0x52371f;},'QKUBV':'没有可快速登录的QQ号','bxlld':function(_0xc5ae29,_0x147e55){return _0xc5ae29(_0x147e55);},'GWWUP':function(_0x1513ba,_0x1d31fe){return _0x1513ba+_0x1d31fe;}},_0x4f38e9=await this[_0x422a2f(0x20f)][_0x422a2f(0x216)]();if(_0x2cd93b['vpojl'](_0x4f38e9[_0x422a2f(0x21d)],0x0))throw new Error(_0x2cd93b[_0x422a2f(0x27b)]);const _0x4718a6=_0x4f38e9['LocalLoginInfoList'][_0x422a2f(0x274)](_0xad112a=>_0xad112a[_0x422a2f(0x286)]===_0x570e49);if(!_0x4718a6||!_0x4718a6?.[_0x422a2f(0x24c)])throw new Error(_0x570e49+_0x422a2f(0x295));await _0x2cd93b[_0x422a2f(0x266)](sleep,0x3e8);const _0x417a79=await this[_0x422a2f(0x20f)][_0x422a2f(0x231)](_0x570e49);if(!_0x417a79['result'])throw new Error(_0x2cd93b['GWWUP'](_0x422a2f(0x257),_0x417a79[_0x422a2f(0x26c)]['errMsg']));return _0x417a79;}async[_0x44f917(0x2a9)](_0x133b76){const _0x97f2b3=_0x44f917,_0x1b8f4d={'sBBVL':'data:image/png;base64,','jnfgu':_0x97f2b3(0x280),'fEBAy':function(_0x2fbab2,_0x395705,_0x353821,_0x4d1a36){return _0x2fbab2(_0x395705,_0x353821,_0x4d1a36);}};return new Promise((_0x182241,_0x5d562d)=>{const _0x244867=_0x97f2b3,_0x524f2f={'uNpwz':_0x1b8f4d[_0x244867(0x2a0)],'WHbAn':_0x1b8f4d['jnfgu'],'NBCCw':function(_0x4a06f1,_0x20b7f3,_0x171812,_0x54c956){return _0x1b8f4d['fEBAy'](_0x4a06f1,_0x20b7f3,_0x171812,_0x54c956);}};this[_0x244867(0x207)][_0x244867(0x236)]=_0x275ef0=>{const _0x112633=_0x244867,_0x1e0825=_0x275ef0[_0x112633(0x2a4)]['split'](_0x524f2f[_0x112633(0x1f7)])[0x1],_0x529585=Buffer['from'](_0x1e0825,_0x524f2f[_0x112633(0x26f)]);_0x524f2f[_0x112633(0x294)](_0x133b76,_0x275ef0['qrcodeUrl'],_0x275ef0[_0x112633(0x2a4)],_0x529585);},this[_0x244867(0x20f)]['getQRCodePicture']();});}async['passwordLogin'](_0x47aab9,_0x4514f6,_0xecf484,_0x1ddece,_0x46b368){const _0x59e660=_0x44f917,_0x406eb3={'IzOAi':_0x59e660(0x27e),'ydaZD':_0x59e660(0x25e),'yIfaA':function(_0x5b3991,_0x51f14b){return _0x5b3991&&_0x51f14b;},'AOmKM':function(_0x217889,_0x55c96d){return _0x217889||_0x55c96d;},'SbwkQ':function(_0x2e3e65,_0x566b9c){return _0x2e3e65||_0x566b9c;},'GuisX':function(_0x495473,_0xdb36f4){return _0x495473||_0xdb36f4;},'BXiWI':_0x59e660(0x227)},_0x290279=_0x10d0f0[_0x59e660(0x28e)](_0x406eb3[_0x59e660(0x29f)])[_0x59e660(0x297)](_0x4514f6)[_0x59e660(0x29e)](_0x406eb3[_0x59e660(0x2a8)]),_0x348f8d={'uin':_0x47aab9,'passwordMd5':_0x290279,'step':_0x406eb3['yIfaA'](_0xecf484,_0x1ddece)&&_0x46b368?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x406eb3[_0x59e660(0x26d)](_0xecf484,''),'proofWaterRand':_0x406eb3[_0x59e660(0x2a5)](_0x1ddece,''),'proofWaterSid':_0x406eb3[_0x59e660(0x276)](_0x46b368,'')};await this[_0x59e660(0x20f)]['getLoginList'](),await sleep(0x3e8);const _0x3deaed=await this[_0x59e660(0x20f)][_0x59e660(0x25c)](_0x348f8d);switch(_0x3deaed[_0x59e660(0x21d)]){case'0':{break;}case _0x406eb3[_0x59e660(0x283)]:{break;}case'4':case'140022013':default:}}async[_0x44f917(0x25d)](){const _0x5165a0=_0x44f917,_0x3df632=await this[_0x5165a0(0x20f)][_0x5165a0(0x216)]();return _0x3df632;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 7b1f6291..a8e3b89d 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x446293,_0x185619){const _0x122fd3=_0x5b4c,_0x283785=_0x446293();while(!![]){try{const _0x4025b3=parseInt(_0x122fd3(0xe4))/0x1+-parseInt(_0x122fd3(0xe9))/0x2+-parseInt(_0x122fd3(0xe6))/0x3+-parseInt(_0x122fd3(0xda))/0x4*(-parseInt(_0x122fd3(0xe0))/0x5)+parseInt(_0x122fd3(0xe8))/0x6*(-parseInt(_0x122fd3(0xdd))/0x7)+parseInt(_0x122fd3(0xe5))/0x8*(parseInt(_0x122fd3(0xdb))/0x9)+parseInt(_0x122fd3(0xd7))/0xa*(parseInt(_0x122fd3(0xe3))/0xb);if(_0x4025b3===_0x185619)break;else _0x283785['push'](_0x283785['shift']());}catch(_0x8e2818){_0x283785['push'](_0x283785['shift']());}}}(_0x2522,0xde457));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';function _0x2522(){const _0x3d3ce9=['uaRIC','664785fqSoCI','1542777JHnnCb','248Sqbccw','3253956gvkndb','toString','6ZNzlor','1675204mXlZwb','from','values','length','delete','get','250LxBRvV','set','forEach','49136YgzQdd','242523KSxJGb','getGroups','9458036HPskgg','uin','NbdQa','120oHkprM','getGroupMembers'];_0x2522=function(){return _0x3d3ce9;};return _0x2522();}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(_0x30e9b9){const _0x47e21c=_0x5b4c;groups[_0x47e21c(0xd5)](_0x30e9b9),groupMembers[_0x47e21c(0xd5)](_0x30e9b9);}function _0x5b4c(_0x23fdca,_0x4da622){const _0x25221d=_0x2522();return _0x5b4c=function(_0x5b4c3b,_0x22ad67){_0x5b4c3b=_0x5b4c3b-0xd5;let _0x5abc8b=_0x25221d[_0x5b4c3b];return _0x5abc8b;},_0x5b4c(_0x23fdca,_0x4da622);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x35670c){const _0x3edb3e=_0x5b4c,_0xe137f4={'NbdQa':function(_0x48e96c,_0x524d8a){return _0x48e96c(_0x524d8a);}};_0x35670c=_0x35670c[_0x3edb3e(0xe7)]();if(_0xe137f4[_0x3edb3e(0xdf)](isNumeric,_0x35670c)){const _0x5e149c=Array['from'](friends[_0x3edb3e(0xeb)]());return _0x5e149c['find'](_0x136b87=>_0x136b87[_0x3edb3e(0xde)]===_0x35670c);}else return friends['get'](_0x35670c);}export async function getGroup(_0xf53bf4){const _0x173255=_0x5b4c;let _0x399376=groups[_0x173255(0xd6)](_0xf53bf4[_0x173255(0xe7)]());if(!_0x399376)try{const _0xa38065=await NTQQGroupApi[_0x173255(0xdc)]();_0xa38065[_0x173255(0xec)]&&_0xa38065[_0x173255(0xd9)](_0x3bc1b0=>{const _0x5ea303=_0x173255;groups[_0x5ea303(0xd8)](_0x3bc1b0['groupCode'],_0x3bc1b0);});}catch(_0x1f7c88){return undefined;}return _0x399376=groups[_0x173255(0xd6)](_0xf53bf4[_0x173255(0xe7)]()),_0x399376;}export async function getGroupMember(_0x45622,_0x2ccc78){const _0x5a360b=_0x5b4c,_0x540515={'uaRIC':function(_0x53ee6c,_0x34b531){return _0x53ee6c(_0x34b531);},'CjSDT':function(_0x113e85){return _0x113e85();}};_0x45622=_0x45622[_0x5a360b(0xe7)](),_0x2ccc78=_0x2ccc78['toString']();let _0x5ea45e=groupMembers[_0x5a360b(0xd6)](_0x45622);if(!_0x5ea45e)try{_0x5ea45e=await NTQQGroupApi[_0x5a360b(0xe1)](_0x45622),groupMembers[_0x5a360b(0xd8)](_0x45622,_0x5ea45e);}catch(_0x2f245b){return null;}const _0x129b35=()=>{const _0x348419=_0x5a360b;let _0x292996=undefined;return _0x540515[_0x348419(0xe2)](isNumeric,_0x2ccc78)?_0x292996=Array[_0x348419(0xea)](_0x5ea45e[_0x348419(0xeb)]())['find'](_0x41149a=>_0x41149a[_0x348419(0xde)]===_0x2ccc78):_0x292996=_0x5ea45e[_0x348419(0xd6)](_0x2ccc78),_0x292996;};let _0x377de7=_0x540515['CjSDT'](_0x129b35);return!_0x377de7&&(_0x5ea45e=await NTQQGroupApi['getGroupMembers'](_0x45622),_0x377de7=_0x540515['CjSDT'](_0x129b35)),_0x377de7;}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(_0x5c77a5,_0x4995fb){const _0xa932a=_0x1f4c,_0x85d09=_0x5c77a5();while(!![]){try{const _0x5209ce=parseInt(_0xa932a(0xdd))/0x1*(-parseInt(_0xa932a(0xd6))/0x2)+parseInt(_0xa932a(0xd8))/0x3*(-parseInt(_0xa932a(0xd7))/0x4)+-parseInt(_0xa932a(0xe5))/0x5+parseInt(_0xa932a(0xe0))/0x6*(parseInt(_0xa932a(0xd0))/0x7)+parseInt(_0xa932a(0xda))/0x8*(-parseInt(_0xa932a(0xd5))/0x9)+-parseInt(_0xa932a(0xd4))/0xa+parseInt(_0xa932a(0xde))/0xb;if(_0x5209ce===_0x4995fb)break;else _0x85d09['push'](_0x85d09['shift']());}catch(_0x1bc9d2){_0x85d09['push'](_0x85d09['shift']());}}}(_0x3251,0xdd145));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x345d5c){const _0x4a70ce=_0x1f4c;groups['delete'](_0x345d5c),groupMembers[_0x4a70ce(0xe1)](_0x345d5c);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x25a9f6){const _0x228e28=_0x1f4c,_0x5f4720={'AhOmk':function(_0x35abb9,_0x53ea15){return _0x35abb9(_0x53ea15);}};_0x25a9f6=_0x25a9f6[_0x228e28(0xcf)]();if(_0x5f4720[_0x228e28(0xd2)](isNumeric,_0x25a9f6)){const _0x26f26a=Array[_0x228e28(0xe2)](friends[_0x228e28(0xe4)]());return _0x26f26a['find'](_0x1893fb=>_0x1893fb['uin']===_0x25a9f6);}else return friends[_0x228e28(0xd3)](_0x25a9f6);}export async function getGroup(_0x3e760d){const _0x4a84c7=_0x1f4c;let _0x169074=groups[_0x4a84c7(0xd3)](_0x3e760d[_0x4a84c7(0xcf)]());if(!_0x169074)try{const _0x5f1c90=await NTQQGroupApi[_0x4a84c7(0xd1)]();_0x5f1c90['length']&&_0x5f1c90[_0x4a84c7(0xce)](_0x5b97af=>{const _0x382db8=_0x4a84c7;groups[_0x382db8(0xdf)](_0x5b97af['groupCode'],_0x5b97af);});}catch(_0x1e5918){return undefined;}return _0x169074=groups[_0x4a84c7(0xd3)](_0x3e760d[_0x4a84c7(0xcf)]()),_0x169074;}export async function getGroupMember(_0x52f5f6,_0x342fa5){const _0x41c094=_0x1f4c,_0x2f8950={'TEwim':function(_0x6abcae,_0x385fee){return _0x6abcae(_0x385fee);},'NNzVx':function(_0x421d1c){return _0x421d1c();}};_0x52f5f6=_0x52f5f6[_0x41c094(0xcf)](),_0x342fa5=_0x342fa5[_0x41c094(0xcf)]();let _0x18a1de=groupMembers[_0x41c094(0xd3)](_0x52f5f6);if(!_0x18a1de)try{_0x18a1de=await NTQQGroupApi['getGroupMembers'](_0x52f5f6),groupMembers['set'](_0x52f5f6,_0x18a1de);}catch(_0x2154bd){return null;}const _0x425f78=()=>{const _0x5f15bf=_0x41c094;let _0x3f4ccb=undefined;return _0x2f8950['TEwim'](isNumeric,_0x342fa5)?_0x3f4ccb=Array[_0x5f15bf(0xe2)](_0x18a1de[_0x5f15bf(0xe4)]())[_0x5f15bf(0xdb)](_0x31a22a=>_0x31a22a[_0x5f15bf(0xd9)]===_0x342fa5):_0x3f4ccb=_0x18a1de[_0x5f15bf(0xd3)](_0x342fa5),_0x3f4ccb;};let _0x25ca50=_0x2f8950[_0x41c094(0xdc)](_0x425f78);return!_0x25ca50&&(_0x18a1de=await NTQQGroupApi[_0x41c094(0xe3)](_0x52f5f6),_0x25ca50=_0x2f8950[_0x41c094(0xdc)](_0x425f78)),_0x25ca50;}export const tempGroupCodeMap={};export const rawFriends=[];function _0x1f4c(_0x5c1d19,_0x24acc9){const _0x32511d=_0x3251();return _0x1f4c=function(_0x1f4c1f,_0x421035){_0x1f4c1f=_0x1f4c1f-0xce;let _0xca1e6d=_0x32511d[_0x1f4c1f];return _0xca1e6d;},_0x1f4c(_0x5c1d19,_0x24acc9);}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 _0x3251(){const _0x1c84e7=['1328217xsDCUd','44473880fsrkjC','set','6APOZMr','delete','from','getGroupMembers','values','9032360FEzPAD','forEach','toString','9773848XQfZDh','getGroups','AhOmk','get','5361760WdYUZJ','78471SGiFjM','2ejEUiK','292MsoXTB','32955IFxtQE','uin','56ykmwIf','find','NNzVx'];_0x3251=function(){return _0x1c84e7;};return _0x3251();} \ 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 d701c34a..2c2fa4e5 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x25c661,_0x35247f){var _0x2f5f84=_0x2ae1,_0x64aaa0=_0x25c661();while(!![]){try{var _0x3bd680=-parseInt(_0x2f5f84(0x1d8))/0x1*(-parseInt(_0x2f5f84(0x1e5))/0x2)+parseInt(_0x2f5f84(0x1d4))/0x3+-parseInt(_0x2f5f84(0x1d7))/0x4*(-parseInt(_0x2f5f84(0x1d9))/0x5)+-parseInt(_0x2f5f84(0x1e6))/0x6+-parseInt(_0x2f5f84(0x1dc))/0x7+-parseInt(_0x2f5f84(0x1e3))/0x8*(-parseInt(_0x2f5f84(0x1da))/0x9)+-parseInt(_0x2f5f84(0x1e1))/0xa*(parseInt(_0x2f5f84(0x1ea))/0xb);if(_0x3bd680===_0x35247f)break;else _0x64aaa0['push'](_0x64aaa0['shift']());}catch(_0xdf526d){_0x64aaa0['push'](_0x64aaa0['shift']());}}}(_0x11c9,0x9484d));function _0x11c9(){var _0x395eaa=['3169773jSAlcZ','split','3617929JBSIsh','OtECB','AUDIO','AcPMl','DOCUMENT','20uDFhny','2|4|0|3|1','16qEXgLp','VIDEO','217822aRpzXQ','5218164XkDtSo','PohqG','OTHER','lQsZb','1484527RfAkLs','130086jsLpQQ','IMAGE','JSXbx','5276hgPjLW','9KwSPsN','2035nehDmf'];_0x11c9=function(){return _0x395eaa;};return _0x11c9();};function _0x2ae1(_0xdf0956,_0x414d74){var _0x11c91b=_0x11c9();return _0x2ae1=function(_0x2ae133,_0x36ac12){_0x2ae133=_0x2ae133-0x1d4;var _0x163d7f=_0x11c91b[_0x2ae133];return _0x163d7f;},_0x2ae1(_0xdf0956,_0x414d74);}export var CacheFileType;(function(_0x5056fd){var _0x39f8d7=_0x2ae1,_0x289281={'PohqG':_0x39f8d7(0x1e2),'lQsZb':_0x39f8d7(0x1de),'AcPMl':_0x39f8d7(0x1e8),'JSXbx':_0x39f8d7(0x1d5),'OtECB':'VIDEO'},_0xee994b=_0x289281[_0x39f8d7(0x1e7)][_0x39f8d7(0x1db)]('|'),_0x4947f8=0x0;while(!![]){switch(_0xee994b[_0x4947f8++]){case'0':_0x5056fd[_0x5056fd[_0x289281[_0x39f8d7(0x1e9)]]=0x2]=_0x289281[_0x39f8d7(0x1e9)];continue;case'1':_0x5056fd[_0x5056fd[_0x289281[_0x39f8d7(0x1df)]]=0x4]=_0x39f8d7(0x1e8);continue;case'2':_0x5056fd[_0x5056fd[_0x289281['JSXbx']]=0x0]=_0x289281[_0x39f8d7(0x1d6)];continue;case'3':_0x5056fd[_0x5056fd[_0x39f8d7(0x1e0)]=0x3]=_0x39f8d7(0x1e0);continue;case'4':_0x5056fd[_0x5056fd[_0x39f8d7(0x1e4)]=0x1]=_0x289281[_0x39f8d7(0x1dd)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x359754,_0x2a7c2f){var _0x297d65=_0x1046,_0x590281=_0x359754();while(!![]){try{var _0x4229=-parseInt(_0x297d65(0x15a))/0x1*(-parseInt(_0x297d65(0x148))/0x2)+parseInt(_0x297d65(0x154))/0x3*(-parseInt(_0x297d65(0x156))/0x4)+-parseInt(_0x297d65(0x14b))/0x5*(-parseInt(_0x297d65(0x15d))/0x6)+parseInt(_0x297d65(0x14c))/0x7*(parseInt(_0x297d65(0x152))/0x8)+-parseInt(_0x297d65(0x15f))/0x9*(parseInt(_0x297d65(0x155))/0xa)+-parseInt(_0x297d65(0x159))/0xb+parseInt(_0x297d65(0x149))/0xc*(parseInt(_0x297d65(0x15c))/0xd);if(_0x4229===_0x2a7c2f)break;else _0x590281['push'](_0x590281['shift']());}catch(_0x138363){_0x590281['push'](_0x590281['shift']());}}}(_0x330c,0x91a2a));function _0x1046(_0x519ec2,_0x2a0415){var _0x330c25=_0x330c();return _0x1046=function(_0x10466b,_0x2c4262){_0x10466b=_0x10466b-0x148;var _0x417554=_0x330c25[_0x10466b];return _0x417554;},_0x1046(_0x519ec2,_0x2a0415);};export var CacheFileType;function _0x330c(){var _0xea0122=['hPkQf','IMAGE','4|2|1|3|0','YGhpR','VIDEO','8663144KlcXti','Hmprx','18VyHbQC','70VckYYq','468596CtGIbl','DmBGe','DOCUMENT','10970289qMKdbh','210929djmcpX','PeUwJ','2777450HwXrBj','6tEZtBf','AUDIO','554643LlueVT','2nFZcgt','24DQkscT','OTHER','5034910GTCgiL','7EqmUgM'];_0x330c=function(){return _0xea0122;};return _0x330c();}(function(_0x6156d5){var _0x3e3955=_0x1046,_0x2455dc={'Hmprx':_0x3e3955(0x14f),'hPkQf':_0x3e3955(0x14a),'DmBGe':_0x3e3955(0x15e),'PeUwJ':_0x3e3955(0x151),'MBOjp':_0x3e3955(0x158),'YGhpR':_0x3e3955(0x14e)},_0x3ac73b=_0x2455dc[_0x3e3955(0x153)]['split']('|'),_0x399142=0x0;while(!![]){switch(_0x3ac73b[_0x399142++]){case'0':_0x6156d5[_0x6156d5[_0x2455dc[_0x3e3955(0x14d)]]=0x4]=_0x2455dc[_0x3e3955(0x14d)];continue;case'1':_0x6156d5[_0x6156d5[_0x2455dc[_0x3e3955(0x157)]]=0x2]=_0x2455dc['DmBGe'];continue;case'2':_0x6156d5[_0x6156d5[_0x3e3955(0x151)]=0x1]=_0x2455dc[_0x3e3955(0x15b)];continue;case'3':_0x6156d5[_0x6156d5[_0x2455dc['MBOjp']]=0x3]=_0x3e3955(0x158);continue;case'4':_0x6156d5[_0x6156d5[_0x2455dc[_0x3e3955(0x150)]]=0x0]=_0x2455dc[_0x3e3955(0x150)];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 02b585c5..6fb284dc 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x1753d2=_0x4283;function _0x4283(_0xe9e19c,_0x3b1f6c){const _0x13613a=_0x1361();return _0x4283=function(_0x42831f,_0x46228e){_0x42831f=_0x42831f-0x7d;let _0x673ff0=_0x13613a[_0x42831f];return _0x673ff0;},_0x4283(_0xe9e19c,_0x3b1f6c);}(function(_0x38341b,_0x444c26){const _0x500a53=_0x4283,_0xb162a6=_0x38341b();while(!![]){try{const _0x375d1f=-parseInt(_0x500a53(0xd1))/0x1*(-parseInt(_0x500a53(0x91))/0x2)+-parseInt(_0x500a53(0x96))/0x3+parseInt(_0x500a53(0x8f))/0x4*(parseInt(_0x500a53(0xc1))/0x5)+-parseInt(_0x500a53(0xa5))/0x6*(parseInt(_0x500a53(0xc5))/0x7)+-parseInt(_0x500a53(0x98))/0x8*(parseInt(_0x500a53(0xad))/0x9)+parseInt(_0x500a53(0xbe))/0xa*(parseInt(_0x500a53(0xc2))/0xb)+parseInt(_0x500a53(0x85))/0xc*(parseInt(_0x500a53(0xbc))/0xd);if(_0x375d1f===_0x444c26)break;else _0xb162a6['push'](_0xb162a6['shift']());}catch(_0x3b611a){_0xb162a6['push'](_0xb162a6['shift']());}}}(_0x1361,0xbaffe));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x52c9f8}from'node:fs';function _0x1361(){const _0x46702f=['21515bSKggx','2743565YXpgif','pic','jpg','9893751sxcOTz','uploadFile','naadU','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','get','PIC','[商城表情]','catch','[包剪锤]','https://www.bilibili.com/','face','emoji','198aiQvbm','ptt','获取视频封面失败,使用默认封面','VIDEO','Ori','tXYxU','_0.png','height','end','screenshots','mp4','1182612ZqjKDu','ULccD','idfjH','FACE','getImageSize','sqRPX','replace','file','ark','eCfuk','384vXpDWT','TEXT','11054XZlMLP','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','jDjnw','文件异常,大小为0','video','3571869tWaCRm','AniStickerType','7223768BIwTPV','size','width','MFACE','copyFile','QDes','rps','then','OsECg','markdown','svCSu','lhnqq','sRjsW','6FXHNXl','ARK','toString','sep','SZIJO','Bot\x20Test','unlink','PTT','9LyfRDS','GHzEJ','stat','FSdVl','AniStickerPackId','QeXaF','notAt','stringify','mface','time','writeFile','Thumb','MARKDOWN','获取视频信息失败','join','299jjRcCl','FILE','20VuNLRH','dice','error'];_0x1361=function(){return _0x46702f;};return _0x1361();}import _0x61e612 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 _0x52d501 from'./face_config.json';import*as _0x57fcca from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x261aa5){const _0x493c7a=_0x4283;return{'elementType':ElementType[_0x493c7a(0x90)],'elementId':'','textElement':{'content':_0x261aa5,'atType':AtType[_0x493c7a(0xb3)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x5705ce,_0x3813db,_0x3c6606,_0x5849e1){const _0x5508c5=_0x4283;return{'elementType':ElementType[_0x5508c5(0x90)],'elementId':'','textElement':{'content':'@'+_0x5849e1,'atType':_0x3c6606,'atUid':_0x5705ce,'atTinyId':'','atNtUid':_0x3813db}};}static['reply'](_0x1e5026,_0x28ff4a,_0x7f0bb2,_0x5eb858){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x1e5026,'replayMsgId':_0x28ff4a,'senderUin':_0x7f0bb2,'senderUinStr':_0x5eb858}};}static async[_0x1753d2(0xc3)](_0x10a9b8,_0x25ffd3='',_0x455ffa=0x0){const _0x336abc=_0x1753d2,_0x2f5c8f={'QeXaF':_0x336abc(0x94),'hitsG':function(_0x486024,_0x195dc5){return _0x486024(_0x195dc5);}},{md5:_0x142adb,fileName:_0x4c637a,path:_0x11cf5b,fileSize:_0x1ea408}=await NTQQFileApi[_0x336abc(0xc6)](_0x10a9b8,ElementType[_0x336abc(0xca)],_0x455ffa);if(_0x1ea408===0x0)throw _0x2f5c8f[_0x336abc(0xb2)];const _0x5d34fc=await NTQQFileApi[_0x336abc(0x89)](_0x10a9b8),_0x47beb6={'md5HexStr':_0x142adb,'fileSize':_0x1ea408['toString'](),'picWidth':_0x5d34fc?.[_0x336abc(0x9a)],'picHeight':_0x5d34fc?.[_0x336abc(0x81)],'fileName':_0x4c637a,'sourcePath':_0x11cf5b,'original':!![],'picType':_0x2f5c8f['hitsG'](isGIF,_0x10a9b8)?PicType['gif']:PicType[_0x336abc(0xc4)],'picSubType':_0x455ffa,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x25ffd3};return{'elementType':ElementType[_0x336abc(0xca)],'elementId':'','picElement':_0x47beb6};}static async[_0x1753d2(0x8c)](_0x518958,_0xa6be23='',_0x34ca0e=''){const _0xf38fd8=_0x1753d2,_0x40bf80={'xxOJd':_0xf38fd8(0x94),'naadU':function(_0xd44a4e,_0x3e1fcc){return _0xd44a4e||_0x3e1fcc;}},{md5:_0x589c24,fileName:_0x415e4f,path:_0x598c85,fileSize:_0xb4da5b}=await NTQQFileApi[_0xf38fd8(0xc6)](_0x518958,ElementType['FILE']);if(_0xb4da5b===0x0)throw _0x40bf80['xxOJd'];const _0x212c75={'elementType':ElementType[_0xf38fd8(0xbd)],'elementId':'','fileElement':{'fileName':_0x40bf80[_0xf38fd8(0xc7)](_0xa6be23,_0x415e4f),'folderId':_0x34ca0e,'filePath':_0x598c85,'fileSize':_0xb4da5b['toString']()}};return _0x212c75;}static async[_0x1753d2(0x95)](_0x1d8762,_0x50f06d='',_0x12db9d=''){const _0x57c3f4=_0x1753d2,_0x3422f5={'idfjH':function(_0x3e00b6,_0x249e3a){return _0x3e00b6(_0x249e3a);},'sqRPX':_0x57c3f4(0xd3),'jDjnw':_0x57c3f4(0x82),'pQEIg':function(_0x5e3d17,_0x340b2f){return _0x5e3d17+_0x340b2f;},'iMhMn':function(_0x2753d1,_0x401058){return _0x2753d1+_0x401058;},'piFhN':_0x57c3f4(0x94),'qpWkj':function(_0x166cb5,_0x1359ad,_0x540956){return _0x166cb5(_0x1359ad,_0x540956);},'lhnqq':function(_0x1ae6d7,_0x3a8892){return _0x1ae6d7||_0x3a8892;}},{fileName:_0x37d589,path:_0x1adc35,fileSize:_0x4cd363,md5:_0x11596a}=await NTQQFileApi[_0x57c3f4(0xc6)](_0x1d8762,ElementType[_0x57c3f4(0x7d)]);if(_0x4cd363===0x0)throw _0x3422f5['piFhN'];let _0x5e0c54=_0x1adc35[_0x57c3f4(0x8b)](_0x57fcca[_0x57c3f4(0xa8)]+_0x57c3f4(0x7e)+_0x57fcca[_0x57c3f4(0xa8)],_0x57fcca['sep']+_0x57c3f4(0xb8)+_0x57fcca[_0x57c3f4(0xa8)]);_0x5e0c54=_0x57fcca['dirname'](_0x5e0c54);let _0x9b380c={'width':0x780,'height':0x438,'time':0xf,'format':_0x57c3f4(0x84),'size':_0x4cd363,'filePath':_0x1d8762};try{_0x9b380c=await getVideoInfo(_0x1adc35);}catch(_0x436b53){_0x3422f5['qpWkj'](logError,_0x57c3f4(0xba),_0x436b53);}const _0x95868d=new Promise((_0x478424,_0x312b79)=>{const _0x2a2c20=_0x57c3f4,_0x4bb435={'OsECg':function(_0x485f43,_0x3e921b){const _0x4be121=_0x4283;return _0x3422f5[_0x4be121(0x87)](_0x485f43,_0x3e921b);}},_0xe9b3a3=_0x11596a+_0x2a2c20(0x80),_0x1dad58=_0x57fcca[_0x2a2c20(0xbb)](_0x5e0c54,_0xe9b3a3);_0x61e612(_0x1d8762)['on'](_0x3422f5[_0x2a2c20(0x93)],()=>{})['on'](_0x2a2c20(0xc0),_0x49d568=>{const _0x2522e4=_0x2a2c20,_0x4cc2a7={'ZeyTo':function(_0x1b485e,_0x331a1a){const _0x2b724d=_0x4283;return _0x3422f5[_0x2b724d(0x87)](_0x1b485e,_0x331a1a);}};logDebug(_0x3422f5[_0x2522e4(0x8a)],_0x49d568),_0x12db9d?_0x52c9f8[_0x2522e4(0x9c)](_0x12db9d,_0x1dad58)[_0x2522e4(0x9f)](()=>{_0x4cc2a7['ZeyTo'](_0x478424,_0x1dad58);})[_0x2522e4(0xcc)](_0x312b79):_0x52c9f8[_0x2522e4(0xb7)](_0x1dad58,defaultVideoThumb)['then'](()=>{const _0x1c969a=_0x2522e4;_0x4bb435[_0x1c969a(0xa0)](_0x478424,_0x1dad58);})[_0x2522e4(0xcc)](_0x312b79);})[_0x2a2c20(0x83)]({'timestamps':[0x0],'filename':_0xe9b3a3,'folder':_0x5e0c54,'size':_0x3422f5['pQEIg'](_0x3422f5['iMhMn'](_0x9b380c['width'],'x'),_0x9b380c[_0x2a2c20(0x81)])})['on'](_0x3422f5['jDjnw'],()=>{const _0x2a9e4a=_0x2a2c20;_0x3422f5[_0x2a9e4a(0x87)](_0x478424,_0x1dad58);});}),_0x5d569e=new Map(),_0x27b181=await _0x95868d,_0x2b45f7=(await _0x52c9f8[_0x57c3f4(0xaf)](_0x27b181))[_0x57c3f4(0x99)];_0x5d569e['set'](0x0,_0x27b181);const _0x32470b=await calculateFileMD5(_0x27b181),_0x2a2e92={'elementType':ElementType[_0x57c3f4(0x7d)],'elementId':'','videoElement':{'fileName':_0x3422f5[_0x57c3f4(0xa3)](_0x50f06d,_0x37d589),'filePath':_0x1adc35,'videoMd5':_0x11596a,'thumbMd5':_0x32470b,'fileTime':_0x9b380c[_0x57c3f4(0xb6)],'thumbPath':_0x5d569e,'thumbSize':_0x2b45f7,'thumbWidth':_0x9b380c[_0x57c3f4(0x9a)],'thumbHeight':_0x9b380c['height'],'fileSize':''+_0x4cd363}};return _0x2a2e92;}static async[_0x1753d2(0xd2)](_0x1ff325){const _0x5b8d0d=_0x1753d2,_0x2d7354={'eCfuk':function(_0x462550,_0x2f2ea6){return _0x462550(_0x2f2ea6);},'sRjsW':'文件异常,大小为0','tXYxU':function(_0x480541,_0x25c7bf){return _0x480541||_0x25c7bf;}},{converted:_0x55bdec,path:_0x275d5b,duration:_0x426b87}=await _0x2d7354[_0x5b8d0d(0x8e)](encodeSilk,_0x1ff325);if(!_0x275d5b)throw'语音转换失败,\x20请检查语音文件是否正常';const {md5:_0x361e57,fileName:_0x17e11b,path:_0x1f7366,fileSize:_0x23e67c}=await NTQQFileApi['uploadFile'](_0x275d5b,ElementType[_0x5b8d0d(0xac)]);if(_0x23e67c===0x0)throw _0x2d7354[_0x5b8d0d(0xa4)];return _0x55bdec&&_0x52c9f8[_0x5b8d0d(0xab)](_0x275d5b)[_0x5b8d0d(0x9f)](),{'elementType':ElementType[_0x5b8d0d(0xac)],'elementId':'','pttElement':{'fileName':_0x17e11b,'filePath':_0x1f7366,'md5HexStr':_0x361e57,'fileSize':_0x23e67c,'duration':_0x2d7354[_0x5b8d0d(0x7f)](_0x426b87,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[_0x1753d2(0xcf)](_0x3c3b9f){const _0x55c477=_0x1753d2,_0x23953c={'svCSu':function(_0x3cba8b,_0x13d576){return _0x3cba8b(_0x13d576);}},_0x3ada22=_0x52d501['sysface'],_0x34bfc6=_0x52d501[_0x55c477(0xd0)],_0x4e31b7=_0x3ada22['find'](_0x1334db=>_0x1334db['QSid']===_0x3c3b9f['toString']());_0x3c3b9f=_0x23953c[_0x55c477(0xa2)](parseInt,_0x3c3b9f[_0x55c477(0xa7)]());let _0x5c3383=0x1;return _0x3c3b9f>=0xde&&(_0x5c3383=0x2),_0x4e31b7[_0x55c477(0x97)]&&(_0x5c3383=0x3),{'elementType':ElementType[_0x55c477(0x88)],'elementId':'','faceElement':{'faceIndex':_0x3c3b9f,'faceType':_0x5c3383,'faceText':_0x4e31b7[_0x55c477(0x9d)],'stickerId':_0x4e31b7['AniStickerId'],'stickerType':_0x4e31b7[_0x55c477(0x97)],'packId':_0x4e31b7[_0x55c477(0xb1)],'sourceType':0x1}};}static[_0x1753d2(0xb5)](_0x28e8f9,_0x32d21f,_0x14444f,_0x27d475){const _0x4cde70=_0x1753d2,_0x1c2024={'Xyhjf':_0x4cde70(0xcb)};return{'elementType':ElementType[_0x4cde70(0x9b)],'marketFaceElement':{'emojiPackageId':_0x28e8f9,'emojiId':_0x32d21f,'key':_0x14444f,'faceName':_0x27d475||mFaceCache[_0x4cde70(0xc9)](_0x32d21f)||_0x1c2024['Xyhjf']}};}static[_0x1753d2(0xbf)](_0x811a91){const _0x16baa0=_0x1753d2,_0x341e2a={'SZIJO':'[骰子]'};return{'elementType':ElementType[_0x16baa0(0x88)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x16baa0(0xbf)],'faceType':FaceType[_0x16baa0(0xbf)],'faceText':_0x341e2a[_0x16baa0(0xa9)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x1753d2(0x9e)](_0x2d2c51){const _0x1543cd=_0x1753d2;return{'elementType':ElementType[_0x1543cd(0x88)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x1543cd(0xcd),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x1753d2(0x8d)](_0xae3b1d){const _0xf6aa7=_0x1753d2,_0x4549dc={'UuxQH':function(_0xeed916,_0x548e40){return _0xeed916!==_0x548e40;},'GHzEJ':'string'};return _0x4549dc['UuxQH'](typeof _0xae3b1d,_0x4549dc[_0xf6aa7(0xae)])&&(_0xae3b1d=JSON[_0xf6aa7(0xb4)](_0xae3b1d)),{'elementType':ElementType[_0xf6aa7(0xa6)],'elementId':'','arkElement':{'bytesData':_0xae3b1d,'linkInfo':null,'subElementType':null}};}static[_0x1753d2(0xa1)](_0x433eef){const _0x166db9=_0x1753d2;return{'elementType':ElementType[_0x166db9(0xb9)],'elementId':'','markdownElement':{'content':_0x433eef}};}static async['miniapp'](){const _0x110843=_0x1753d2,_0x31860e={'FSdVl':function(_0x47f03a,_0x4a9f5b){return _0x47f03a(_0x4a9f5b);},'ULccD':_0x110843(0xaa),'kQMkh':_0x110843(0x92)};let _0x514507=await _0x31860e[_0x110843(0xb0)](SignMiniApp,{'prompt':_0x110843(0xaa),'title':_0x31860e['ULccD'],'preview':_0x110843(0xc8),'jumpUrl':_0x110843(0xce),'tag':_0x31860e[_0x110843(0x86)],'tagIcon':_0x31860e['kQMkh'],'source':_0x31860e[_0x110843(0x86)],'sourcelogo':_0x110843(0x92)});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x514507,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x564699=_0x2b21;(function(_0x3cfff5,_0x29ec99){const _0x517f26=_0x2b21,_0x324111=_0x3cfff5();while(!![]){try{const _0x3ed328=parseInt(_0x517f26(0xf7))/0x1*(parseInt(_0x517f26(0xbc))/0x2)+parseInt(_0x517f26(0xcd))/0x3*(-parseInt(_0x517f26(0xe2))/0x4)+-parseInt(_0x517f26(0xbb))/0x5*(-parseInt(_0x517f26(0xb8))/0x6)+parseInt(_0x517f26(0xbf))/0x7+parseInt(_0x517f26(0xb2))/0x8+parseInt(_0x517f26(0xb5))/0x9*(-parseInt(_0x517f26(0xeb))/0xa)+-parseInt(_0x517f26(0xed))/0xb;if(_0x3ed328===_0x29ec99)break;else _0x324111['push'](_0x324111['shift']());}catch(_0x2095de){_0x324111['push'](_0x324111['shift']());}}}(_0x4875,0x93f3c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x33d3b0}from'node:fs';import _0x451c9b 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';function _0x4875(){const _0x5a3677=['33256HzhUhQ','QxSLB','sysface','join','REPLY','dice','https://www.bilibili.com/','get','toString','491280DzcxnU','rps','13438601jSadVF','gwiCd','Bot\x20Test','video','IpReZ','文件异常,大小为0','unlink','MFACE','VIDEO','DsiOj','26963ceGzJE','xlzvs','mp4','sep','[商城表情]','FACE','getImageSize','CsKtN','AniStickerType','stat','IeZZZ','TEXT','screenshots','JMgWo','Ori','nCZYL','mface','KkJGa','RVYgS','copyFile','vkUTc','writeFile','uploadFile','5505288EGmSUZ','eZNlI','siYpR','9QVQLlA','find','set','3389784lzxaDo','PTT','qDnXy','5DOKTeF','38fZJLcq','AniStickerId','YUNJt','5959485srgHZU','swLeN','size','Thumb','width','[骰子]','ljzUb','catch','ARK','RvDUw','markdown','auaFE','reply','height','267BYhjAs','[包剪锤]','uGTbC','获取视频信息失败','stringify','QSid','file','QDes','fjgwx','PIC','then','notAt','ieDhB','end','FILE','XLars','CXXGr','time','_0.png','MdUxB','SToyb'];_0x4875=function(){return _0x5a3677;};return _0x4875();}import{encodeSilk}from'@/common/utils/audio';import _0x2dda2b from'./face_config.json';import*as _0x5f10df from'node:path';function _0x2b21(_0x2932e4,_0x8c5fec){const _0x4875d0=_0x4875();return _0x2b21=function(_0x2b21fa,_0x4e6935){_0x2b21fa=_0x2b21fa-0xa1;let _0x307215=_0x4875d0[_0x2b21fa];return _0x307215;},_0x2b21(_0x2932e4,_0x8c5fec);}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x4a12a8){const _0x29b43d=_0x2b21;return{'elementType':ElementType[_0x29b43d(0xa6)],'elementId':'','textElement':{'content':_0x4a12a8,'atType':AtType[_0x29b43d(0xd8)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x19215d,_0x562c51,_0x50582d,_0x85cbd4){const _0xd875e9=_0x2b21;return{'elementType':ElementType[_0xd875e9(0xa6)],'elementId':'','textElement':{'content':'@'+_0x85cbd4,'atType':_0x50582d,'atUid':_0x19215d,'atTinyId':'','atNtUid':_0x562c51}};}static[_0x564699(0xcb)](_0x130bd4,_0x441d75,_0x4c6527,_0x5428a7){const _0x503096=_0x564699;return{'elementType':ElementType[_0x503096(0xe6)],'elementId':'','replyElement':{'replayMsgSeq':_0x130bd4,'replayMsgId':_0x441d75,'senderUin':_0x4c6527,'senderUinStr':_0x5428a7}};}static async['pic'](_0x2e3ffa,_0x25ed2b='',_0x592db6=0x0){const _0x1ba1a5=_0x564699,_0x4f9143={'OaCPf':function(_0x15f5f4,_0xd7c51b){return _0x15f5f4===_0xd7c51b;},'LYwWV':_0x1ba1a5(0xf2),'ljzUb':function(_0x556c94,_0x5e36f8){return _0x556c94(_0x5e36f8);}},{md5:_0x37d3fa,fileName:_0x432806,path:_0x381e29,fileSize:_0x97151f}=await NTQQFileApi['uploadFile'](_0x2e3ffa,ElementType[_0x1ba1a5(0xd6)],_0x592db6);if(_0x4f9143['OaCPf'](_0x97151f,0x0))throw _0x4f9143['LYwWV'];const _0x4d1191=await NTQQFileApi[_0x1ba1a5(0xa1)](_0x2e3ffa),_0x500f16={'md5HexStr':_0x37d3fa,'fileSize':_0x97151f[_0x1ba1a5(0xea)](),'picWidth':_0x4d1191?.['width'],'picHeight':_0x4d1191?.[_0x1ba1a5(0xcc)],'fileName':_0x432806,'sourcePath':_0x381e29,'original':!![],'picType':_0x4f9143[_0x1ba1a5(0xc5)](isGIF,_0x2e3ffa)?PicType['gif']:PicType['jpg'],'picSubType':_0x592db6,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x25ed2b};return{'elementType':ElementType[_0x1ba1a5(0xd6)],'elementId':'','picElement':_0x500f16};}static async[_0x564699(0xd3)](_0x2fb5be,_0xcd3407='',_0x2d629d=''){const _0x3c8510=_0x564699,_0x2d5afb={'RvDUw':function(_0x3bf917,_0x19964e){return _0x3bf917===_0x19964e;},'nCZYL':_0x3c8510(0xf2)},{md5:_0x334124,fileName:_0x112938,path:_0x2be26d,fileSize:_0x2386bc}=await NTQQFileApi[_0x3c8510(0xb1)](_0x2fb5be,ElementType[_0x3c8510(0xdb)]);if(_0x2d5afb[_0x3c8510(0xc8)](_0x2386bc,0x0))throw _0x2d5afb[_0x3c8510(0xaa)];const _0x291d8e={'elementType':ElementType[_0x3c8510(0xdb)],'elementId':'','fileElement':{'fileName':_0xcd3407||_0x112938,'folderId':_0x2d629d,'filePath':_0x2be26d,'fileSize':_0x2386bc[_0x3c8510(0xea)]()}};return _0x291d8e;}static async[_0x564699(0xf0)](_0x2424cf,_0x2ce855='',_0xd7be7e=''){const _0x3e84a2=_0x564699,_0x28adeb={'KkJGa':function(_0x2486a5,_0x4ee37f,_0x1bafc2){return _0x2486a5(_0x4ee37f,_0x1bafc2);},'YUNJt':'获取视频封面失败,使用默认封面','SToyb':function(_0x394a89,_0xabc8a8){return _0x394a89(_0xabc8a8);},'DsiOj':function(_0x5b2216,_0x3aaa03){return _0x5b2216(_0x3aaa03);},'RVYgS':_0x3e84a2(0xda),'QxSLB':'error','auaFE':function(_0xa42763,_0x1bcd47){return _0xa42763+_0x1bcd47;},'xlzvs':function(_0x10598b,_0xe8f160){return _0x10598b+_0xe8f160;},'CXXGr':function(_0x428bba,_0x4718ed){return _0x428bba===_0x4718ed;},'ieDhB':_0x3e84a2(0xf2),'qDnXy':_0x3e84a2(0xf9),'MdUxB':_0x3e84a2(0xd0),'fjgwx':function(_0xa720c9,_0x3667b4){return _0xa720c9||_0x3667b4;}},{fileName:_0x2215a4,path:_0x1179c8,fileSize:_0x57ffe0,md5:_0x4c5aca}=await NTQQFileApi[_0x3e84a2(0xb1)](_0x2424cf,ElementType[_0x3e84a2(0xf5)]);if(_0x28adeb[_0x3e84a2(0xdd)](_0x57ffe0,0x0))throw _0x28adeb[_0x3e84a2(0xd9)];let _0x2ccd21=_0x1179c8['replace'](_0x5f10df[_0x3e84a2(0xfa)]+_0x3e84a2(0xa9)+_0x5f10df['sep'],_0x5f10df[_0x3e84a2(0xfa)]+_0x3e84a2(0xc2)+_0x5f10df[_0x3e84a2(0xfa)]);_0x2ccd21=_0x5f10df['dirname'](_0x2ccd21);let _0x4af69d={'width':0x780,'height':0x438,'time':0xf,'format':_0x28adeb[_0x3e84a2(0xba)],'size':_0x57ffe0,'filePath':_0x2424cf};try{_0x4af69d=await _0x28adeb['SToyb'](getVideoInfo,_0x1179c8);}catch(_0x11abbe){logError(_0x28adeb[_0x3e84a2(0xe0)],_0x11abbe);}const _0x5835e0=new Promise((_0x4ad6a4,_0x1c1a79)=>{const _0x52b7bf=_0x3e84a2,_0xa16db1={'IpReZ':function(_0x61eec4,_0x389248){const _0x4b3f16=_0x2b21;return _0x28adeb[_0x4b3f16(0xe1)](_0x61eec4,_0x389248);}},_0x11d9b9=_0x4c5aca+_0x52b7bf(0xdf),_0x38f66e=_0x5f10df[_0x52b7bf(0xe5)](_0x2ccd21,_0x11d9b9);_0x28adeb[_0x52b7bf(0xf6)](_0x451c9b,_0x2424cf)['on'](_0x28adeb['RVYgS'],()=>{})['on'](_0x28adeb[_0x52b7bf(0xe3)],_0x31d5af=>{const _0x4547a2=_0x52b7bf;_0x28adeb[_0x4547a2(0xac)](logDebug,_0x28adeb[_0x4547a2(0xbe)],_0x31d5af),_0xd7be7e?_0x33d3b0[_0x4547a2(0xae)](_0xd7be7e,_0x38f66e)[_0x4547a2(0xd7)](()=>{_0x4ad6a4(_0x38f66e);})[_0x4547a2(0xc6)](_0x1c1a79):_0x33d3b0[_0x4547a2(0xb0)](_0x38f66e,defaultVideoThumb)[_0x4547a2(0xd7)](()=>{const _0x48a782=_0x4547a2;_0xa16db1[_0x48a782(0xf1)](_0x4ad6a4,_0x38f66e);})['catch'](_0x1c1a79);})[_0x52b7bf(0xa7)]({'timestamps':[0x0],'filename':_0x11d9b9,'folder':_0x2ccd21,'size':_0x28adeb[_0x52b7bf(0xca)](_0x28adeb[_0x52b7bf(0xf8)](_0x4af69d[_0x52b7bf(0xc3)],'x'),_0x4af69d[_0x52b7bf(0xcc)])})['on'](_0x28adeb[_0x52b7bf(0xad)],()=>{const _0xbe4bfe=_0x52b7bf;_0xa16db1[_0xbe4bfe(0xf1)](_0x4ad6a4,_0x38f66e);});}),_0x2f058=new Map(),_0x4ea8ee=await _0x5835e0,_0x4524a2=(await _0x33d3b0[_0x3e84a2(0xa4)](_0x4ea8ee))[_0x3e84a2(0xc1)];_0x2f058[_0x3e84a2(0xb7)](0x0,_0x4ea8ee);const _0x598ce2=await _0x28adeb['DsiOj'](calculateFileMD5,_0x4ea8ee),_0x55b439={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x28adeb[_0x3e84a2(0xd5)](_0x2ce855,_0x2215a4),'filePath':_0x1179c8,'videoMd5':_0x4c5aca,'thumbMd5':_0x598ce2,'fileTime':_0x4af69d[_0x3e84a2(0xde)],'thumbPath':_0x2f058,'thumbSize':_0x4524a2,'thumbWidth':_0x4af69d[_0x3e84a2(0xc3)],'thumbHeight':_0x4af69d['height'],'fileSize':''+_0x57ffe0}};return _0x55b439;}static async['ptt'](_0x5c3a64){const _0x37ec37=_0x564699,_0x1f93b4={'QwIMY':'语音转换失败,\x20请检查语音文件是否正常','swLeN':'文件异常,大小为0','HzXhj':function(_0x51227c,_0x2f5712){return _0x51227c||_0x2f5712;}},{converted:_0x4ae360,path:_0x274321,duration:_0x587fdf}=await encodeSilk(_0x5c3a64);if(!_0x274321)throw _0x1f93b4['QwIMY'];const {md5:_0x5c2952,fileName:_0x2e69ba,path:_0x5cec94,fileSize:_0x3ea590}=await NTQQFileApi[_0x37ec37(0xb1)](_0x274321,ElementType[_0x37ec37(0xb9)]);if(_0x3ea590===0x0)throw _0x1f93b4[_0x37ec37(0xc0)];return _0x4ae360&&_0x33d3b0[_0x37ec37(0xf3)](_0x274321)[_0x37ec37(0xd7)](),{'elementType':ElementType[_0x37ec37(0xb9)],'elementId':'','pttElement':{'fileName':_0x2e69ba,'filePath':_0x5cec94,'md5HexStr':_0x5c2952,'fileSize':_0x3ea590,'duration':_0x1f93b4['HzXhj'](_0x587fdf,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'](_0x1e7545){const _0x3c4550=_0x564699,_0x57c8de={'UyNfG':function(_0x190626,_0x3caeb6){return _0x190626(_0x3caeb6);},'vkUTc':function(_0x586b4f,_0x3811f5){return _0x586b4f>=_0x3811f5;}},_0x20da3b=_0x2dda2b[_0x3c4550(0xe4)],_0x29462f=_0x2dda2b['emoji'],_0x53d56a=_0x20da3b[_0x3c4550(0xb6)](_0x39c194=>_0x39c194[_0x3c4550(0xd2)]===_0x1e7545[_0x3c4550(0xea)]());_0x1e7545=_0x57c8de['UyNfG'](parseInt,_0x1e7545[_0x3c4550(0xea)]());let _0x25dc1d=0x1;return _0x57c8de[_0x3c4550(0xaf)](_0x1e7545,0xde)&&(_0x25dc1d=0x2),_0x53d56a['AniStickerType']&&(_0x25dc1d=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x1e7545,'faceType':_0x25dc1d,'faceText':_0x53d56a[_0x3c4550(0xd4)],'stickerId':_0x53d56a[_0x3c4550(0xbd)],'stickerType':_0x53d56a[_0x3c4550(0xa3)],'packId':_0x53d56a['AniStickerPackId'],'sourceType':0x1}};}static[_0x564699(0xab)](_0x470b44,_0xdfb28e,_0x573d74,_0x1a2661){const _0x5c7fb1=_0x564699,_0x47213f={'CsKtN':_0x5c7fb1(0xfb)};return{'elementType':ElementType[_0x5c7fb1(0xf4)],'marketFaceElement':{'emojiPackageId':_0x470b44,'emojiId':_0xdfb28e,'key':_0x573d74,'faceName':_0x1a2661||mFaceCache[_0x5c7fb1(0xe9)](_0xdfb28e)||_0x47213f[_0x5c7fb1(0xa2)]}};}static[_0x564699(0xe7)](_0x4dbee9){const _0x3219b7=_0x564699,_0x4e91a2={'uGTbC':_0x3219b7(0xc4)};return{'elementType':ElementType[_0x3219b7(0xfc)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x4e91a2[_0x3219b7(0xcf)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x564699(0xec)](_0x3928db){const _0x2212ee=_0x564699,_0x22d026={'DKRvs':_0x2212ee(0xce)};return{'elementType':ElementType[_0x2212ee(0xfc)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x22d026['DKRvs'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x471e5e){const _0x48e862=_0x564699,_0xbbf8d8={'JMgWo':function(_0xe3b699,_0x2aee1f){return _0xe3b699!==_0x2aee1f;},'SNOFX':'string'};return _0xbbf8d8[_0x48e862(0xa8)](typeof _0x471e5e,_0xbbf8d8['SNOFX'])&&(_0x471e5e=JSON[_0x48e862(0xd1)](_0x471e5e)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x471e5e,'linkInfo':null,'subElementType':null}};}static[_0x564699(0xc9)](_0x2bd819){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2bd819}};}static async['miniapp'](){const _0x2b530a=_0x564699,_0x2ba076={'gwiCd':function(_0x14aa39,_0x231d7b){return _0x14aa39(_0x231d7b);},'IeZZZ':_0x2b530a(0xef),'XLars':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','eZNlI':_0x2b530a(0xe8),'siYpR':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x4c7ffe=await _0x2ba076[_0x2b530a(0xee)](SignMiniApp,{'prompt':_0x2ba076[_0x2b530a(0xa5)],'title':_0x2ba076[_0x2b530a(0xa5)],'preview':_0x2ba076[_0x2b530a(0xdc)],'jumpUrl':_0x2ba076[_0x2b530a(0xb3)],'tag':_0x2ba076[_0x2b530a(0xa5)],'tagIcon':_0x2ba076['siYpR'],'source':_0x2ba076[_0x2b530a(0xa5)],'sourcelogo':_0x2ba076[_0x2b530a(0xb4)]});return{'elementType':ElementType[_0x2b530a(0xc7)],'elementId':'','arkElement':{'bytesData':_0x4c7ffe,'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 1d85b85b..8c301416 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0xe6d7(_0x723fa6,_0x2e4adc){var _0x36a472=_0x36a4();return _0xe6d7=function(_0xe6d77a,_0x492a69){_0xe6d77a=_0xe6d77a-0x106;var _0x382195=_0x36a472[_0xe6d77a];return _0x382195;},_0xe6d7(_0x723fa6,_0x2e4adc);}(function(_0x17410f,_0x38b08d){var _0x54210c=_0xe6d7,_0xa76a7c=_0x17410f();while(!![]){try{var _0x5e7ea3=parseInt(_0x54210c(0x113))/0x1*(parseInt(_0x54210c(0x10e))/0x2)+-parseInt(_0x54210c(0x112))/0x3*(-parseInt(_0x54210c(0x10d))/0x4)+parseInt(_0x54210c(0x106))/0x5+parseInt(_0x54210c(0x10f))/0x6+-parseInt(_0x54210c(0x108))/0x7+parseInt(_0x54210c(0x109))/0x8*(parseInt(_0x54210c(0x107))/0x9)+-parseInt(_0x54210c(0x110))/0xa;if(_0x5e7ea3===_0x38b08d)break;else _0xa76a7c['push'](_0xa76a7c['shift']());}catch(_0x42fd25){_0xa76a7c['push'](_0xa76a7c['shift']());}}}(_0x36a4,0xb082f));function _0x36a4(){var _0x54d17c=['3458415eaKyWH','63vPQtwS','5510694fUKlyl','689808EpMqsk','CQZkT','admin','normal','6932QpiQyD','3262eSQvQX','2951358oKqefU','16340410KOxwqg','aWQrF','1059vLPXgW','457fNrJEm','owner'];_0x36a4=function(){return _0x54d17c;};return _0x36a4();}export var GroupMemberRole;(function(_0x4a383d){var _0x4f1642=_0xe6d7,_0x1c494d={'aWQrF':_0x4f1642(0x10c),'CQZkT':_0x4f1642(0x114)};_0x4a383d[_0x4a383d['normal']=0x2]=_0x1c494d[_0x4f1642(0x111)],_0x4a383d[_0x4a383d[_0x4f1642(0x10b)]=0x3]=_0x4f1642(0x10b),_0x4a383d[_0x4a383d[_0x4f1642(0x114)]=0x4]=_0x1c494d[_0x4f1642(0x10a)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x5bb9(_0x19c490,_0x199cf2){var _0x30b0c9=_0x30b0();return _0x5bb9=function(_0x5bb97d,_0x3115df){_0x5bb97d=_0x5bb97d-0xf0;var _0x15b44a=_0x30b0c9[_0x5bb97d];return _0x15b44a;},_0x5bb9(_0x19c490,_0x199cf2);}(function(_0x6be5ad,_0x248779){var _0x387ac2=_0x5bb9,_0x1bf2d4=_0x6be5ad();while(!![]){try{var _0x4627b4=-parseInt(_0x387ac2(0xf5))/0x1*(parseInt(_0x387ac2(0xf0))/0x2)+parseInt(_0x387ac2(0xf3))/0x3+-parseInt(_0x387ac2(0xfc))/0x4*(parseInt(_0x387ac2(0xf1))/0x5)+-parseInt(_0x387ac2(0xf7))/0x6*(-parseInt(_0x387ac2(0xff))/0x7)+parseInt(_0x387ac2(0xf6))/0x8+parseInt(_0x387ac2(0xf4))/0x9*(-parseInt(_0x387ac2(0xf2))/0xa)+parseInt(_0x387ac2(0xfa))/0xb*(parseInt(_0x387ac2(0xf8))/0xc);if(_0x4627b4===_0x248779)break;else _0x1bf2d4['push'](_0x1bf2d4['shift']());}catch(_0x323af6){_0x1bf2d4['push'](_0x1bf2d4['shift']());}}}(_0x30b0,0x4bb76));function _0x30b0(){var _0x55af66=['rcNes','3227VQEjUi','normal','JXBtI','116HPiTnB','297370sKdFjr','31490mdoBrQ','1402272vJbGCY','1359HotBWK','5421pDlcCU','2494320yWHpGp','822tcfUJX','48nIcwla','cYmyB','2344155slMaNC','owner','40nyNgFJ','admin'];_0x30b0=function(){return _0x55af66;};return _0x30b0();}export var GroupMemberRole;(function(_0x4f501b){var _0x15407f=_0x5bb9,_0x163bfa={'rcNes':_0x15407f(0x100),'cYmyB':_0x15407f(0xfd),'JXBtI':_0x15407f(0xfb)};_0x4f501b[_0x4f501b[_0x15407f(0x100)]=0x2]=_0x163bfa[_0x15407f(0xfe)],_0x4f501b[_0x4f501b[_0x163bfa[_0x15407f(0xf9)]]=0x3]=_0x163bfa[_0x15407f(0xf9)],_0x4f501b[_0x4f501b[_0x163bfa[_0x15407f(0x101)]]=0x4]=_0x15407f(0xfb);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 2e0cc3d5..5f13dfe8 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3898fb,_0x5b0d74){var _0x429ba5=_0x1208,_0x2e374c=_0x3898fb();while(!![]){try{var _0x5d25c2=-parseInt(_0x429ba5(0x18a))/0x1+parseInt(_0x429ba5(0x186))/0x2+-parseInt(_0x429ba5(0x188))/0x3*(parseInt(_0x429ba5(0x183))/0x4)+-parseInt(_0x429ba5(0x189))/0x5+parseInt(_0x429ba5(0x185))/0x6+parseInt(_0x429ba5(0x184))/0x7*(-parseInt(_0x429ba5(0x182))/0x8)+parseInt(_0x429ba5(0x187))/0x9;if(_0x5d25c2===_0x5b0d74)break;else _0x2e374c['push'](_0x2e374c['shift']());}catch(_0xc60cac){_0x2e374c['push'](_0x2e374c['shift']());}}}(_0x53aa,0x416f8));export*from'./user';function _0x1208(_0x4212b4,_0x3b4bbc){var _0x53aab6=_0x53aa();return _0x1208=function(_0x1208a1,_0x4b2912){_0x1208a1=_0x1208a1-0x182;var _0x2dda0a=_0x53aab6[_0x1208a1];return _0x2dda0a;},_0x1208(_0x4212b4,_0x3b4bbc);}function _0x53aa(){var _0x4319cb=['178901DHqNyk','134008UyDxrq','998384EUmeGU','91ViKamF','1170726MInQPy','288782yKDPNk','6004404OFXqgx','3FZpQPS','461920ZRIIdl'];_0x53aa=function(){return _0x4319cb;};return _0x53aa();}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x593648,_0x1acb0c){var _0x41ff9b=_0x47a2,_0x22874b=_0x593648();while(!![]){try{var _0x775c09=-parseInt(_0x41ff9b(0x1b3))/0x1*(parseInt(_0x41ff9b(0x1ad))/0x2)+-parseInt(_0x41ff9b(0x1ac))/0x3*(parseInt(_0x41ff9b(0x1b0))/0x4)+parseInt(_0x41ff9b(0x1b1))/0x5+parseInt(_0x41ff9b(0x1ae))/0x6*(parseInt(_0x41ff9b(0x1ab))/0x7)+parseInt(_0x41ff9b(0x1b2))/0x8+parseInt(_0x41ff9b(0x1af))/0x9+-parseInt(_0x41ff9b(0x1aa))/0xa;if(_0x775c09===_0x1acb0c)break;else _0x22874b['push'](_0x22874b['shift']());}catch(_0x1b23cd){_0x22874b['push'](_0x22874b['shift']());}}}(_0x2046,0x9d8ca));export*from'./user';export*from'./group';export*from'./msg';function _0x47a2(_0x411eaf,_0x3f7e7d){var _0x2046b2=_0x2046();return _0x47a2=function(_0x47a2a2,_0x265283){_0x47a2a2=_0x47a2a2-0x1aa;var _0x14da92=_0x2046b2[_0x47a2a2];return _0x14da92;},_0x47a2(_0x411eaf,_0x3f7e7d);}export*from'./notify';export*from'./cache';export*from'./constructor';function _0x2046(){var _0x5d4c1c=['1PcuDPX','8304110yiWkjZ','3377444vaxJuu','2134563HccJcH','2107796IXeirz','12sRHZMI','6914709PzUgUj','4SaLvHU','2679405aROUuR','7775888hueAjo'];_0x2046=function(){return _0x5d4c1c;};return _0x2046();} \ 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 f506cf6a..53d4884e 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -function _0x3152(){var _0xb55fd0=['friend','LryeC','4084368LwwdUf','hIZiE','sMTTe','hOfxm','gDBZv','normal','group','MBovs','gTMlp','MFACE','5686eNtltb','81402YtuCZa','jpg','CLlzq','OYZJU','751956GHPBqI','206zevdPo','atUser','PznkB','dice','face','SgMCC','NlXgm','WKzgF','chatDevice','vaQiB','RPS','KOxqA','eRcUH','518205IcokWQ','4552583FOMGrX','https://multimedia.nt.qq.com.cn','memberIncrease','normal2','temp','ARK','qaNNp','DhRHY','FILE','255AMiQqK','VIDEO','739953wEljvM','vPcJd','20PQDtOr','5|2|0|4|6|9|8|3|1|7','MARKDOWN','70HpnhSt','PIC','gHWeF','REPLY','nHvlQ','kicked','TEXT','notAt','BfzKk','OPXVl','RZndV','dZiym','PTT','https://gchat.qpic.cn','FACE','jdLuW','165RMbkrr'];_0x3152=function(){return _0xb55fd0;};return _0x3152();}var _0x52bcdd=_0x11fa;(function(_0x3528f9,_0x13c7c4){var _0x57cc6f=_0x11fa,_0x1438f5=_0x3528f9();while(!![]){try{var _0x45b434=parseInt(_0x57cc6f(0xa7))/0x1*(parseInt(_0x57cc6f(0xad))/0x2)+-parseInt(_0x57cc6f(0xba))/0x3*(-parseInt(_0x57cc6f(0xc8))/0x4)+-parseInt(_0x57cc6f(0xc4))/0x5*(-parseInt(_0x57cc6f(0xa8))/0x6)+-parseInt(_0x57cc6f(0xbb))/0x7+parseInt(_0x57cc6f(0x9d))/0x8+-parseInt(_0x57cc6f(0xc6))/0x9*(parseInt(_0x57cc6f(0xcb))/0xa)+parseInt(_0x57cc6f(0x9a))/0xb*(-parseInt(_0x57cc6f(0xac))/0xc);if(_0x45b434===_0x13c7c4)break;else _0x1438f5['push'](_0x1438f5['shift']());}catch(_0x228af5){_0x1438f5['push'](_0x1438f5['shift']());}}}(_0x3152,0x76a4b));export var ElementType;(function(_0x168f64){var _0x229b2a=_0x11fa,_0x154cb1={'vPcJd':_0x229b2a(0xc9),'GoERn':_0x229b2a(0xc3),'RZndV':_0x229b2a(0xa6),'nHvlQ':_0x229b2a(0xc0),'NlXgm':_0x229b2a(0x96),'PznkB':_0x229b2a(0xd1),'MBovs':_0x229b2a(0xc5),'LryeC':_0x229b2a(0xca),'CLlzq':_0x229b2a(0xce),'jdLuW':'FACE'},_0x3dbe0b=_0x154cb1[_0x229b2a(0xc7)]['split']('|'),_0x1b64b1=0x0;while(!![]){switch(_0x3dbe0b[_0x1b64b1++]){case'0':_0x168f64[_0x168f64[_0x154cb1['GoERn']]=0x3]=_0x229b2a(0xc3);continue;case'1':_0x168f64[_0x168f64[_0x229b2a(0xa6)]=0xb]=_0x154cb1[_0x229b2a(0x94)];continue;case'2':_0x168f64[_0x168f64[_0x229b2a(0xcc)]=0x2]=_0x229b2a(0xcc);continue;case'3':_0x168f64[_0x168f64[_0x154cb1[_0x229b2a(0xcf)]]=0xa]=_0x229b2a(0xc0);continue;case'4':_0x168f64[_0x168f64[_0x154cb1[_0x229b2a(0xb3)]]=0x4]=_0x154cb1[_0x229b2a(0xb3)];continue;case'5':_0x168f64[_0x168f64[_0x154cb1[_0x229b2a(0xaf)]]=0x1]=_0x229b2a(0xd1);continue;case'6':_0x168f64[_0x168f64[_0x154cb1['MBovs']]=0x5]=_0x154cb1[_0x229b2a(0xa4)];continue;case'7':_0x168f64[_0x168f64[_0x154cb1[_0x229b2a(0x9c)]]=0xe]=_0x154cb1['LryeC'];continue;case'8':_0x168f64[_0x168f64[_0x154cb1[_0x229b2a(0xaa)]]=0x7]=_0x154cb1[_0x229b2a(0xaa)];continue;case'9':_0x168f64[_0x168f64[_0x154cb1[_0x229b2a(0x99)]]=0x6]=_0x229b2a(0x98);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2f40fa){var _0x303faa=_0x11fa,_0x5be1d3={'qaNNp':'gif','gTMlp':_0x303faa(0xa9)};_0x2f40fa[_0x2f40fa[_0x5be1d3[_0x303faa(0xc1)]]=0x7d0]=_0x5be1d3[_0x303faa(0xc1)],_0x2f40fa[_0x2f40fa[_0x5be1d3[_0x303faa(0xa5)]]=0x3e8]=_0x5be1d3[_0x303faa(0xa5)];}(PicType||(PicType={})));export var PicSubType;function _0x11fa(_0x4f08b4,_0x5c3bca){var _0x31522e=_0x3152();return _0x11fa=function(_0x11fa43,_0x151c04){_0x11fa43=_0x11fa43-0x94;var _0x2e0ffe=_0x31522e[_0x11fa43];return _0x2e0ffe;},_0x11fa(_0x4f08b4,_0x5c3bca);}(function(_0x4fa5c6){var _0xb197d6=_0x11fa,_0x17dbc1={'iIdpW':_0xb197d6(0xa2),'hOfxm':_0xb197d6(0xb1)};_0x4fa5c6[_0x4fa5c6['normal']=0x0]=_0x17dbc1['iIdpW'],_0x4fa5c6[_0x4fa5c6[_0x17dbc1[_0xb197d6(0xa0)]]=0x1]=_0xb197d6(0xb1);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x4a08b7){var _0x34c058=_0x11fa,_0x1b8ff6={'OPXVl':_0x34c058(0xd2),'gHWeF':'atAll','DhRHY':'atUser'};_0x4a08b7[_0x4a08b7[_0x1b8ff6[_0x34c058(0xd4)]]=0x0]=_0x1b8ff6[_0x34c058(0xd4)],_0x4a08b7[_0x4a08b7[_0x1b8ff6[_0x34c058(0xcd)]]=0x1]=_0x1b8ff6[_0x34c058(0xcd)],_0x4a08b7[_0x4a08b7[_0x1b8ff6[_0x34c058(0xc2)]]=0x2]=_0x34c058(0xae);}(AtType||(AtType={})));export var ChatType;(function(_0x12a70c){var _0x28a3ff=_0x11fa,_0x152b31={'cvfqM':_0x28a3ff(0x9b),'SgMCC':_0x28a3ff(0xa3),'sMTTe':_0x28a3ff(0xb5),'BfzKk':_0x28a3ff(0xbf)};_0x12a70c[_0x12a70c[_0x152b31['cvfqM']]=0x1]='friend',_0x12a70c[_0x12a70c[_0x152b31[_0x28a3ff(0xb2)]]=0x2]=_0x28a3ff(0xa3),_0x12a70c[_0x12a70c[_0x28a3ff(0xb5)]=0x8]=_0x152b31[_0x28a3ff(0x9f)],_0x12a70c[_0x12a70c[_0x152b31[_0x28a3ff(0xd3)]]=0x64]=_0x152b31[_0x28a3ff(0xd3)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x52bcdd(0x97);export const IMAGE_HTTP_HOST_NT=_0x52bcdd(0xbc);export var GrayTipElementSubType;(function(_0x2ea4ef){var _0x4ecafc=_0x52bcdd,_0x251235={'KOxqA':'INVITE_NEW_MEMBER','gDBZv':'MEMBER_NEW_TITLE'};_0x2ea4ef[_0x2ea4ef[_0x251235[_0x4ecafc(0xb8)]]=0xc]=_0x251235[_0x4ecafc(0xb8)],_0x2ea4ef[_0x2ea4ef[_0x251235['gDBZv']]=0x11]=_0x251235[_0x4ecafc(0xa1)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x429032){var _0x588759=_0x52bcdd,_0x3f8420={'eRcUH':'normal','LciPB':_0x588759(0xbe)};_0x429032[_0x429032[_0x3f8420[_0x588759(0xb9)]]=0x1]=_0x3f8420[_0x588759(0xb9)],_0x429032[_0x429032['normal2']=0x2]=_0x3f8420['LciPB'],_0x429032[_0x429032[_0x588759(0xb0)]=0x3]=_0x588759(0xb0);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3c4cfb){var _0x1a2239=_0x52bcdd,_0x5ea3bb={'hIZiE':'dice','WKzgF':_0x1a2239(0xb7)};_0x3c4cfb[_0x3c4cfb[_0x5ea3bb['hIZiE']]=0x166]=_0x5ea3bb[_0x1a2239(0x9e)],_0x3c4cfb[_0x3c4cfb[_0x5ea3bb[_0x1a2239(0xb4)]]=0x167]=_0x5ea3bb[_0x1a2239(0xb4)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x296916){var _0x1f275c=_0x52bcdd,_0x4340bc={'vaQiB':_0x1f275c(0xbd),'dZiym':_0x1f275c(0xd0),'OYZJU':'ban'};_0x296916[_0x296916[_0x4340bc[_0x1f275c(0xb6)]]=0x1]=_0x1f275c(0xbd),_0x296916[_0x296916[_0x4340bc[_0x1f275c(0x95)]]=0x3]=_0x4340bc[_0x1f275c(0x95)],_0x296916[_0x296916[_0x4340bc['OYZJU']]=0x8]=_0x4340bc[_0x1f275c(0xab)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +function _0x293b(_0x50dc48,_0x2b41ea){var _0x22bffc=_0x22bf();return _0x293b=function(_0x293b1c,_0x51cdf){_0x293b1c=_0x293b1c-0x153;var _0x2b165c=_0x22bffc[_0x293b1c];return _0x2b165c;},_0x293b(_0x50dc48,_0x2b41ea);}var _0x4fbbbd=_0x293b;function _0x22bf(){var _0x18c9f8=['MFACE','https://multimedia.nt.qq.com.cn','gif','MARKDOWN','face','5309406BWVQlW','yNiLa','808mWXcnX','HACcl','friend','vPtdI','DcmzX','vwgTN','1270656wczwGF','ARK','Dbicx','PIC','FACE','14465dlbmvB','bKUZc','QsXZQ','mjqAo','RPS','jpg','ban','temp','atUser','gzGyV','aHWeh','normal','WXpxP','17503230ELPWnx','dice','217497waWlLH','QIJqn','normal2','GXoVz','AFyvq','group','notAt','atAll','sRNiC','memberIncrease','bJHGy','TEXT','https://gchat.qpic.cn','PTT','QNxGE','83578GMiEON','KLztu','2|6|0|4|3|1|9|8|5|7','1167549SesNaA','15sQGlKm','32seFGtw','FILE','XkqEy','REPLY','qLvUx'];_0x22bf=function(){return _0x18c9f8;};return _0x22bf();}(function(_0xed618b,_0x2a30ff){var _0x42256d=_0x293b,_0x596641=_0xed618b();while(!![]){try{var _0x5de92e=-parseInt(_0x42256d(0x16d))/0x1+-parseInt(_0x42256d(0x16a))/0x2*(parseInt(_0x42256d(0x16e))/0x3)+parseInt(_0x42256d(0x17b))/0x4*(parseInt(_0x42256d(0x186))/0x5)+-parseInt(_0x42256d(0x179))/0x6+-parseInt(_0x42256d(0x15b))/0x7+-parseInt(_0x42256d(0x16f))/0x8*(-parseInt(_0x42256d(0x181))/0x9)+parseInt(_0x42256d(0x159))/0xa;if(_0x5de92e===_0x2a30ff)break;else _0x596641['push'](_0x596641['shift']());}catch(_0x2a914c){_0x596641['push'](_0x596641['shift']());}}}(_0x22bf,0x94303));export var ElementType;(function(_0x8138ca){var _0x16d19f=_0x293b,_0x56595b={'GXoVz':_0x16d19f(0x16c),'vwgTN':_0x16d19f(0x170),'qLvUx':_0x16d19f(0x185),'DcmzX':_0x16d19f(0x166),'tVGPt':'VIDEO','aHWeh':_0x16d19f(0x168),'KLztu':_0x16d19f(0x174),'erMiF':'PIC','sRNiC':'MARKDOWN','bKUZc':_0x16d19f(0x182),'vPtdI':_0x16d19f(0x172)},_0x26afe6=_0x56595b[_0x16d19f(0x15e)]['split']('|'),_0x540622=0x0;while(!![]){switch(_0x26afe6[_0x540622++]){case'0':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x180)]]=0x3]=_0x16d19f(0x170);continue;case'1':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x173)]]=0x6]=_0x56595b['qLvUx'];continue;case'2':_0x8138ca[_0x8138ca[_0x56595b['DcmzX']]=0x1]=_0x56595b[_0x16d19f(0x17f)];continue;case'3':_0x8138ca[_0x8138ca[_0x56595b['tVGPt']]=0x5]='VIDEO';continue;case'4':_0x8138ca[_0x8138ca[_0x56595b['aHWeh']]=0x4]=_0x56595b[_0x16d19f(0x156)];continue;case'5':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x16b)]]=0xb]=_0x56595b[_0x16d19f(0x16b)];continue;case'6':_0x8138ca[_0x8138ca[_0x16d19f(0x184)]=0x2]=_0x56595b['erMiF'];continue;case'7':_0x8138ca[_0x8138ca[_0x16d19f(0x177)]=0xe]=_0x56595b[_0x16d19f(0x163)];continue;case'8':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x187)]]=0xa]=_0x56595b[_0x16d19f(0x187)];continue;case'9':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x17e)]]=0x7]=_0x56595b[_0x16d19f(0x17e)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x1f4e98){var _0x37ecbf=_0x293b,_0x511bfa={'mjqAo':_0x37ecbf(0x176),'QIJqn':'jpg'};_0x1f4e98[_0x1f4e98[_0x511bfa[_0x37ecbf(0x189)]]=0x7d0]=_0x37ecbf(0x176),_0x1f4e98[_0x1f4e98[_0x511bfa[_0x37ecbf(0x15c)]]=0x3e8]=_0x37ecbf(0x18b);}(PicType||(PicType={})));export var PicSubType;(function(_0x2fdca4){var _0x703e46=_0x293b,_0x30e3bc={'XkqEy':_0x703e46(0x157)};_0x2fdca4[_0x2fdca4[_0x30e3bc[_0x703e46(0x171)]]=0x0]=_0x30e3bc['XkqEy'],_0x2fdca4[_0x2fdca4['face']=0x1]=_0x703e46(0x178);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x604453){var _0x1995b3=_0x293b,_0x8617a0={'Dbicx':_0x1995b3(0x161),'QsXZQ':_0x1995b3(0x162),'qHSbL':_0x1995b3(0x154)};_0x604453[_0x604453['notAt']=0x0]=_0x8617a0[_0x1995b3(0x183)],_0x604453[_0x604453[_0x8617a0[_0x1995b3(0x188)]]=0x1]=_0x1995b3(0x162),_0x604453[_0x604453[_0x8617a0['qHSbL']]=0x2]=_0x8617a0['qHSbL'];}(AtType||(AtType={})));export var ChatType;(function(_0x56eb22){var _0x36f0d6=_0x293b,_0x23babf={'BHJHc':_0x36f0d6(0x17d),'yNiLa':_0x36f0d6(0x160),'HuyUG':'chatDevice','WXpxP':'temp'};_0x56eb22[_0x56eb22[_0x36f0d6(0x17d)]=0x1]=_0x23babf['BHJHc'],_0x56eb22[_0x56eb22[_0x23babf['yNiLa']]=0x2]=_0x23babf[_0x36f0d6(0x17a)],_0x56eb22[_0x56eb22[_0x23babf['HuyUG']]=0x8]=_0x23babf['HuyUG'],_0x56eb22[_0x56eb22[_0x23babf[_0x36f0d6(0x158)]]=0x64]=_0x36f0d6(0x153);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x4fbbbd(0x167);export const IMAGE_HTTP_HOST_NT=_0x4fbbbd(0x175);export var GrayTipElementSubType;(function(_0x6a448){var _0x580382=_0x4fbbbd,_0x473e3f={'HACcl':'INVITE_NEW_MEMBER','gzGyV':'MEMBER_NEW_TITLE'};_0x6a448[_0x6a448[_0x473e3f['HACcl']]=0xc]=_0x473e3f[_0x580382(0x17c)],_0x6a448[_0x6a448[_0x473e3f[_0x580382(0x155)]]=0x11]=_0x473e3f[_0x580382(0x155)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x246296){var _0x30b580=_0x4fbbbd,_0x1c7132={'vhKDV':'normal','AFyvq':_0x30b580(0x15d)};_0x246296[_0x246296['normal']=0x1]=_0x1c7132['vhKDV'],_0x246296[_0x246296[_0x1c7132[_0x30b580(0x15f)]]=0x2]=_0x30b580(0x15d),_0x246296[_0x246296[_0x30b580(0x15a)]=0x3]=_0x30b580(0x15a);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x38af7e){var _0x45249e=_0x4fbbbd,_0x102053={'bJHGy':'dice'};_0x38af7e[_0x38af7e[_0x102053[_0x45249e(0x165)]]=0x166]=_0x102053[_0x45249e(0x165)],_0x38af7e[_0x38af7e[_0x45249e(0x18a)]=0x167]=_0x45249e(0x18a);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x258379){var _0x2b5424=_0x4fbbbd,_0x5c3c3f={'SaQal':_0x2b5424(0x164),'QNxGE':'kicked'};_0x258379[_0x258379[_0x5c3c3f['SaQal']]=0x1]=_0x5c3c3f['SaQal'],_0x258379[_0x258379[_0x5c3c3f[_0x2b5424(0x169)]]=0x3]=_0x5c3c3f[_0x2b5424(0x169)],_0x258379[_0x258379[_0x2b5424(0x18c)]=0x8]=_0x2b5424(0x18c);}(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 e0d99cf3..a688cf73 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -function _0x26a3(){var _0x225c07=['MEMBER_EXIT','tsYCN','8610730ESvbYV','VoOXx','409620DPimTa','RByWX','11vBZfwK','HQYZu','544791cPDrnB','258294SUHZPe','XBWQa','KICK_MEMBER','ADMIN_UNSET','REJECT','232344MPcBYl','BdrBo','2071368XgoJyu','INVITE_ME','fYovG','QiAhi','8kDnzSv','INVITED_JOIN','ADMIN_SET','63UUeJUu','IGNORE','zCuYV','APPROVE','ADMIN_UNSET_OTHER','4NHgbej','approve','JOIN_REQUEST','reject','1263455cChebe','pUnou'];_0x26a3=function(){return _0x225c07;};return _0x26a3();}(function(_0x15ccc8,_0x5a3112){var _0x2be0e6=_0x5319,_0x2c0083=_0x15ccc8();while(!![]){try{var _0x3cd4ab=-parseInt(_0x2be0e6(0x1f9))/0x1+-parseInt(_0x2be0e6(0x1ef))/0x2+parseInt(_0x2be0e6(0x1f3))/0x3+-parseInt(_0x2be0e6(0x207))/0x4*(parseInt(_0x2be0e6(0x20b))/0x5)+parseInt(_0x2be0e6(0x1f4))/0x6*(-parseInt(_0x2be0e6(0x202))/0x7)+-parseInt(_0x2be0e6(0x1ff))/0x8*(-parseInt(_0x2be0e6(0x1fb))/0x9)+parseInt(_0x2be0e6(0x20f))/0xa*(parseInt(_0x2be0e6(0x1f1))/0xb);if(_0x3cd4ab===_0x5a3112)break;else _0x2c0083['push'](_0x2c0083['shift']());}catch(_0x5db938){_0x2c0083['push'](_0x2c0083['shift']());}}}(_0x26a3,0x2fbd0));export var GroupNotifyTypes;(function(_0x168357){var _0xd635c2=_0x5319,_0x48ed15={'VoOXx':_0xd635c2(0x1fc),'tsYCN':_0xd635c2(0x200),'BDcNI':_0xd635c2(0x209),'BdrBo':_0xd635c2(0x201),'kETJX':_0xd635c2(0x1f6),'fYovG':_0xd635c2(0x20d),'XBWQa':_0xd635c2(0x1f7),'zCuYV':_0xd635c2(0x206)};_0x168357[_0x168357[_0xd635c2(0x1fc)]=0x1]=_0x48ed15[_0xd635c2(0x210)],_0x168357[_0x168357['INVITED_JOIN']=0x4]=_0x48ed15[_0xd635c2(0x20e)],_0x168357[_0x168357[_0xd635c2(0x209)]=0x7]=_0x48ed15['BDcNI'],_0x168357[_0x168357[_0x48ed15[_0xd635c2(0x1fa)]]=0x8]=_0x48ed15[_0xd635c2(0x1fa)],_0x168357[_0x168357['KICK_MEMBER']=0x9]=_0x48ed15['kETJX'],_0x168357[_0x168357[_0x48ed15[_0xd635c2(0x1fd)]]=0xb]=_0xd635c2(0x20d),_0x168357[_0x168357[_0x48ed15[_0xd635c2(0x1f5)]]=0xc]=_0x48ed15[_0xd635c2(0x1f5)],_0x168357[_0x168357[_0x48ed15[_0xd635c2(0x204)]]=0xd]='ADMIN_UNSET_OTHER';}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x22e5ba){var _0xcf9e0f=_0x5319,_0x2c170a={'HQYZu':_0xcf9e0f(0x203),'QiAhi':'WAIT_HANDLE','yKZUV':_0xcf9e0f(0x205),'RByWX':_0xcf9e0f(0x1f8)};_0x22e5ba[_0x22e5ba[_0x2c170a[_0xcf9e0f(0x1f2)]]=0x0]=_0x2c170a[_0xcf9e0f(0x1f2)],_0x22e5ba[_0x22e5ba['WAIT_HANDLE']=0x1]=_0x2c170a[_0xcf9e0f(0x1fe)],_0x22e5ba[_0x22e5ba[_0xcf9e0f(0x205)]=0x2]=_0x2c170a['yKZUV'],_0x22e5ba[_0x22e5ba[_0xcf9e0f(0x1f8)]=0x3]=_0x2c170a[_0xcf9e0f(0x1f0)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x5319(_0x5a8c80,_0x360d28){var _0x26a363=_0x26a3();return _0x5319=function(_0x53194d,_0xe97cc8){_0x53194d=_0x53194d-0x1ef;var _0xe5b0ac=_0x26a363[_0x53194d];return _0xe5b0ac;},_0x5319(_0x5a8c80,_0x360d28);}(function(_0x43d7ab){var _0x4bad04=_0x5319,_0x52fbb3={'LcGxV':_0x4bad04(0x208),'pUnou':_0x4bad04(0x20a)};_0x43d7ab[_0x43d7ab[_0x52fbb3['LcGxV']]=0x1]=_0x52fbb3['LcGxV'],_0x43d7ab[_0x43d7ab[_0x4bad04(0x20a)]=0x2]=_0x52fbb3[_0x4bad04(0x20c)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x3c03ff,_0x5976a6){var _0x5e4fbe=_0x3af0,_0x5954de=_0x3c03ff();while(!![]){try{var _0x4fae97=-parseInt(_0x5e4fbe(0x18c))/0x1+-parseInt(_0x5e4fbe(0x18f))/0x2+parseInt(_0x5e4fbe(0x195))/0x3*(-parseInt(_0x5e4fbe(0x19f))/0x4)+parseInt(_0x5e4fbe(0x19a))/0x5+-parseInt(_0x5e4fbe(0x193))/0x6*(parseInt(_0x5e4fbe(0x188))/0x7)+parseInt(_0x5e4fbe(0x18b))/0x8*(parseInt(_0x5e4fbe(0x185))/0x9)+parseInt(_0x5e4fbe(0x1a0))/0xa;if(_0x4fae97===_0x5976a6)break;else _0x5954de['push'](_0x5954de['shift']());}catch(_0x4dd678){_0x5954de['push'](_0x5954de['shift']());}}}(_0x5804,0x9d2bd));export var GroupNotifyTypes;(function(_0x581dee){var _0x25afcb=_0x3af0,_0x41f69e={'GmUiP':'5|6|7|2|4|1|0|3','gEIGr':_0x25afcb(0x19e),'jjjly':_0x25afcb(0x19d),'bmLuy':_0x25afcb(0x190),'tPxsY':_0x25afcb(0x199),'FbQsO':_0x25afcb(0x18a),'QxNim':_0x25afcb(0x198),'WUwFZ':'JOIN_REQUEST'},_0x1f0fbc=_0x41f69e[_0x25afcb(0x182)]['split']('|'),_0x9beaf3=0x0;while(!![]){switch(_0x1f0fbc[_0x9beaf3++]){case'0':_0x581dee[_0x581dee['ADMIN_UNSET']=0xc]=_0x25afcb(0x183);continue;case'1':_0x581dee[_0x581dee[_0x25afcb(0x19e)]=0xb]=_0x41f69e[_0x25afcb(0x19c)];continue;case'2':_0x581dee[_0x581dee[_0x41f69e['jjjly']]=0x8]=_0x41f69e[_0x25afcb(0x184)];continue;case'3':_0x581dee[_0x581dee[_0x41f69e['bmLuy']]=0xd]=_0x41f69e['bmLuy'];continue;case'4':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x19b)]]=0x9]=_0x41f69e[_0x25afcb(0x19b)];continue;case'5':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x18d)]]=0x1]=_0x25afcb(0x18a);continue;case'6':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x189)]]=0x4]='INVITED_JOIN';continue;case'7':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x187)]]=0x7]=_0x25afcb(0x18e);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x3af0(_0x47934a,_0x8d02f6){var _0x5804f0=_0x5804();return _0x3af0=function(_0x3af03a,_0x5a05fb){_0x3af03a=_0x3af03a-0x181;var _0x33442e=_0x5804f0[_0x3af03a];return _0x33442e;},_0x3af0(_0x47934a,_0x8d02f6);}export var GroupNotifyStatus;(function(_0x4c19c9){var _0x131d24=_0x3af0,_0x5135c5={'qsJNY':'IGNORE','Sodws':_0x131d24(0x197),'YLDGj':'APPROVE','ABdVf':_0x131d24(0x194)};_0x4c19c9[_0x4c19c9[_0x5135c5['qsJNY']]=0x0]='IGNORE',_0x4c19c9[_0x4c19c9[_0x5135c5[_0x131d24(0x181)]]=0x1]=_0x5135c5['Sodws'],_0x4c19c9[_0x4c19c9[_0x5135c5[_0x131d24(0x186)]]=0x2]=_0x5135c5[_0x131d24(0x186)],_0x4c19c9[_0x4c19c9[_0x131d24(0x194)]=0x3]=_0x5135c5[_0x131d24(0x192)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x5804(){var _0x1b35e6=['KICK_MEMBER','1131340zQArzW','tPxsY','gEIGr','ADMIN_SET','MEMBER_EXIT','5776QbptaZ','30173330DWToYR','Sodws','GmUiP','ADMIN_UNSET','jjjly','3102399oVoVGR','YLDGj','WUwFZ','747971rETFNV','QxNim','INVITE_ME','8XFUKMe','125227DCXalq','FbQsO','JOIN_REQUEST','2331918rfBCRn','ADMIN_UNSET_OTHER','MqhSH','ABdVf','54YUNHlQ','REJECT','1437kYMUWH','approve','WAIT_HANDLE','INVITED_JOIN'];_0x5804=function(){return _0x1b35e6;};return _0x5804();}export var GroupRequestOperateTypes;(function(_0x146673){var _0x150844=_0x3af0,_0x1f36c7={'jQnMu':_0x150844(0x196),'MqhSH':'reject'};_0x146673[_0x146673[_0x1f36c7['jQnMu']]=0x1]=_0x1f36c7['jQnMu'],_0x146673[_0x146673[_0x1f36c7[_0x150844(0x191)]]=0x2]=_0x1f36c7[_0x150844(0x191)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 2370ec05..5c30695e 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x3e16c9,_0x2a9ccf){var _0xf9910d=_0x48fe,_0x100acf=_0x3e16c9();while(!![]){try{var _0x5e69e9=-parseInt(_0xf9910d(0x9b))/0x1+-parseInt(_0xf9910d(0xa1))/0x2*(-parseInt(_0xf9910d(0xa3))/0x3)+-parseInt(_0xf9910d(0xa8))/0x4*(-parseInt(_0xf9910d(0xa2))/0x5)+parseInt(_0xf9910d(0x9c))/0x6*(parseInt(_0xf9910d(0xa4))/0x7)+-parseInt(_0xf9910d(0xa5))/0x8*(parseInt(_0xf9910d(0x9a))/0x9)+parseInt(_0xf9910d(0x9d))/0xa*(-parseInt(_0xf9910d(0x99))/0xb)+parseInt(_0xf9910d(0xa6))/0xc*(parseInt(_0xf9910d(0x9e))/0xd);if(_0x5e69e9===_0x2a9ccf)break;else _0x100acf['push'](_0x100acf['shift']());}catch(_0x1a5771){_0x100acf['push'](_0x100acf['shift']());}}}(_0x198b,0x9330a));function _0x198b(){var _0x5eb07d=['6451216pmWPPT','332796tbxeAZ','UXUDF','16588vyxIHe','jYdfx','HsqQx','44JpARfF','9ucrCjQ','219782BmGTKJ','3074280YJPlRh','1619320AzUJzY','182RpFHFm','unknown','male','1317458zJBHWL','865xmqrHR','3lgZwop','7cxaKFo'];_0x198b=function(){return _0x5eb07d;};return _0x198b();}export var Sex;function _0x48fe(_0x4ad716,_0x2de82c){var _0x198b81=_0x198b();return _0x48fe=function(_0x48fedd,_0x489b97){_0x48fedd=_0x48fedd-0x98;var _0x29dd13=_0x198b81[_0x48fedd];return _0x29dd13;},_0x48fe(_0x4ad716,_0x2de82c);}(function(_0x572377){var _0xba647=_0x48fe,_0x2eee6f={'UXUDF':_0xba647(0xa0),'HsqQx':'female','jYdfx':_0xba647(0x9f)};_0x572377[_0x572377[_0x2eee6f[_0xba647(0xa7)]]=0x1]=_0x2eee6f[_0xba647(0xa7)],_0x572377[_0x572377[_0x2eee6f[_0xba647(0x98)]]=0x2]=_0x2eee6f[_0xba647(0x98)],_0x572377[_0x572377[_0xba647(0x9f)]=0xff]=_0x2eee6f[_0xba647(0xa9)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x92d168,_0xd65ce9){var _0xda78c4=_0x59e5,_0x9d62f6=_0x92d168();while(!![]){try{var _0x2797e9=-parseInt(_0xda78c4(0x195))/0x1*(-parseInt(_0xda78c4(0x197))/0x2)+-parseInt(_0xda78c4(0x18c))/0x3+parseInt(_0xda78c4(0x18d))/0x4*(parseInt(_0xda78c4(0x18a))/0x5)+parseInt(_0xda78c4(0x193))/0x6+-parseInt(_0xda78c4(0x190))/0x7*(parseInt(_0xda78c4(0x191))/0x8)+parseInt(_0xda78c4(0x18f))/0x9+-parseInt(_0xda78c4(0x18e))/0xa*(parseInt(_0xda78c4(0x18b))/0xb);if(_0x2797e9===_0xd65ce9)break;else _0x9d62f6['push'](_0x9d62f6['shift']());}catch(_0x3cf6b0){_0x9d62f6['push'](_0x9d62f6['shift']());}}}(_0x18ab,0xd7682));export var Sex;function _0x59e5(_0x12e44d,_0x550717){var _0x18ab24=_0x18ab();return _0x59e5=function(_0x59e575,_0x16788c){_0x59e575=_0x59e575-0x187;var _0x10539b=_0x18ab24[_0x59e575];return _0x10539b;},_0x59e5(_0x12e44d,_0x550717);}function _0x18ab(){var _0x2a39ff=['male','1557958LoDVUV','uvZsK','female','XZcAR','95jzxKRD','439186KoPESe','1082514npinMI','283648uxbOxl','310Twrxeb','8550954TGKBLE','2863auHdzj','28664XCxCsP','vSESz','545430KLjmsz','unknown','2zyHGyP'];_0x18ab=function(){return _0x2a39ff;};return _0x18ab();}(function(_0x26f3f6){var _0x51954d=_0x59e5,_0x458365={'XZcAR':_0x51954d(0x196),'vSESz':_0x51954d(0x188),'uvZsK':_0x51954d(0x194)};_0x26f3f6[_0x26f3f6[_0x458365[_0x51954d(0x189)]]=0x1]=_0x458365['XZcAR'],_0x26f3f6[_0x26f3f6[_0x458365[_0x51954d(0x192)]]=0x2]=_0x458365[_0x51954d(0x192)],_0x26f3f6[_0x26f3f6[_0x458365[_0x51954d(0x187)]]=0xff]=_0x51954d(0x194);}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 8951baca..f88bf3b6 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x3630f9,_0x254ee8){var _0x3658f8=_0xc7e7,_0x37be4d=_0x3630f9();while(!![]){try{var _0x42660a=-parseInt(_0x3658f8(0x196))/0x1+parseInt(_0x3658f8(0x18e))/0x2*(parseInt(_0x3658f8(0x190))/0x3)+parseInt(_0x3658f8(0x18f))/0x4+parseInt(_0x3658f8(0x191))/0x5*(-parseInt(_0x3658f8(0x194))/0x6)+-parseInt(_0x3658f8(0x195))/0x7*(-parseInt(_0x3658f8(0x192))/0x8)+-parseInt(_0x3658f8(0x193))/0x9+parseInt(_0x3658f8(0x18d))/0xa;if(_0x42660a===_0x254ee8)break;else _0x37be4d['push'](_0x37be4d['shift']());}catch(_0x5b160b){_0x37be4d['push'](_0x37be4d['shift']());}}}(_0x4f23,0x2b34f));function _0xc7e7(_0x355c47,_0x1d199c){var _0x4f23da=_0x4f23();return _0xc7e7=function(_0xc7e7aa,_0x2c7dfe){_0xc7e7aa=_0xc7e7aa-0x18d;var _0x4abe8f=_0x4f23da[_0xc7e7aa];return _0x4abe8f;},_0xc7e7(_0x355c47,_0x1d199c);}import _0x5470da 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';export*as Services from'./services';export{_0x5470da as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x4f23(){var _0x19a897=['1505988FTsVAx','68658MRRMIc','7kEvRUR','126957kTVzFa','2548400DElwat','2388FMgoGC','876972yqIkLx','417saBZPF','110ifxcZG','663688KJRdgX'];_0x4f23=function(){return _0x19a897;};return _0x4f23();} \ No newline at end of file +(function(_0x494cc9,_0x200e1a){var _0x50ac08=_0x3e24,_0x4b04b0=_0x494cc9();while(!![]){try{var _0x2e2076=-parseInt(_0x50ac08(0x152))/0x1*(-parseInt(_0x50ac08(0x157))/0x2)+parseInt(_0x50ac08(0x156))/0x3+parseInt(_0x50ac08(0x153))/0x4+-parseInt(_0x50ac08(0x150))/0x5+parseInt(_0x50ac08(0x158))/0x6*(parseInt(_0x50ac08(0x154))/0x7)+parseInt(_0x50ac08(0x155))/0x8+-parseInt(_0x50ac08(0x151))/0x9;if(_0x2e2076===_0x200e1a)break;else _0x4b04b0['push'](_0x4b04b0['shift']());}catch(_0xb568ca){_0x4b04b0['push'](_0x4b04b0['shift']());}}}(_0x54a5,0x3334b));import _0x23722c from'./wrapper';function _0x54a5(){var _0x1edd73=['51933rQgIxZ','1691120RCzpiB','924786Tupvld','164XlgDms','60cCDqlx','1678630fHsUkE','4194558zXIYKv','2590EOrSAZ','821220sPTkHy'];_0x54a5=function(){return _0x1edd73;};return _0x54a5();}export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';function _0x3e24(_0x41ffac,_0x4432c5){var _0x54a53b=_0x54a5();return _0x3e24=function(_0x3e24d5,_0x267f79){_0x3e24d5=_0x3e24d5-0x150;var _0x4a6208=_0x54a53b[_0x3e24d5];return _0x4a6208;},_0x3e24(_0x41ffac,_0x4432c5);}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{_0x23722c 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 f2c7e2df..b4f9c2b9 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x345c41=_0xd33b;(function(_0x2c3009,_0x804e43){var _0x4147e1=_0xd33b,_0x1f2812=_0x2c3009();while(!![]){try{var _0x436f10=-parseInt(_0x4147e1(0x19a))/0x1+parseInt(_0x4147e1(0x195))/0x2*(parseInt(_0x4147e1(0x18e))/0x3)+parseInt(_0x4147e1(0x18a))/0x4+parseInt(_0x4147e1(0x18c))/0x5*(parseInt(_0x4147e1(0x190))/0x6)+parseInt(_0x4147e1(0x197))/0x7+-parseInt(_0x4147e1(0x199))/0x8*(-parseInt(_0x4147e1(0x193))/0x9)+parseInt(_0x4147e1(0x192))/0xa*(-parseInt(_0x4147e1(0x188))/0xb);if(_0x436f10===_0x804e43)break;else _0x1f2812['push'](_0x1f2812['shift']());}catch(_0x3ca919){_0x1f2812['push'](_0x1f2812['shift']());}}}(_0x21ff,0xe9a79));function _0x21ff(){var _0x1a73b8=['onAvatarUrlUpdated','4277404iDvkFj','onAddBuddyNeedVerify','25nXYVuB','onBlockChanged','6LBBWMm','onAddMeSettingChanged','1615182BTbvVU','onBuddyInfoChange','56033030ompIoz','45IieKHS','onBuddyDetailInfoChange','1780882ohyTAu','onCheckBuddySettingResult','9379391rmNpgX','onBuddyListChange','2374984SAXEqM','460144iidSmu','onBuddyRemarkUpdated','onDoubtBuddyReqUnreadNumChange','onDoubtBuddyReqChange','11QduKVd'];_0x21ff=function(){return _0x1a73b8;};return _0x21ff();}function _0xd33b(_0x403b3b,_0x2a0773){var _0x21ff32=_0x21ff();return _0xd33b=function(_0xd33b60,_0xd85548){_0xd33b60=_0xd33b60-0x187;var _0x5528f3=_0x21ff32[_0xd33b60];return _0x5528f3;},_0xd33b(_0x403b3b,_0x2a0773);}export class BuddyListener{[_0x345c41(0x18b)](_0x52a86c){}[_0x345c41(0x18f)](_0x375fd7){}[_0x345c41(0x189)](_0x42088e){}[_0x345c41(0x18d)](_0x43a22e){}[_0x345c41(0x194)](_0x4488d5){}[_0x345c41(0x191)](_0x5a14a2){}[_0x345c41(0x198)](_0x20e8a4){}[_0x345c41(0x19b)](_0x53adc9){}['onBuddyReqChange'](_0x1f5850){}['onBuddyReqUnreadCntChange'](_0x44691b){}[_0x345c41(0x196)](_0x5bc2e7){}['onDelBatchBuddyInfos'](_0x5cc98c){}[_0x345c41(0x187)](_0x159ad2){}[_0x345c41(0x19c)](_0x6ba9db){}['onNickUpdated'](_0x4186db){}['onSmartInfos'](_0x1280cd){}['onSpacePermissionInfos'](_0x2038ef){}} \ No newline at end of file +var _0x945312=_0x15a5;(function(_0x5945e0,_0x295fae){var _0x421df5=_0x15a5,_0x330ada=_0x5945e0();while(!![]){try{var _0xb44f5b=parseInt(_0x421df5(0x180))/0x1*(-parseInt(_0x421df5(0x18a))/0x2)+parseInt(_0x421df5(0x17a))/0x3+-parseInt(_0x421df5(0x17d))/0x4*(-parseInt(_0x421df5(0x177))/0x5)+parseInt(_0x421df5(0x176))/0x6+-parseInt(_0x421df5(0x185))/0x7+-parseInt(_0x421df5(0x18d))/0x8*(-parseInt(_0x421df5(0x17f))/0x9)+parseInt(_0x421df5(0x178))/0xa*(-parseInt(_0x421df5(0x17e))/0xb);if(_0xb44f5b===_0x295fae)break;else _0x330ada['push'](_0x330ada['shift']());}catch(_0x26141d){_0x330ada['push'](_0x330ada['shift']());}}}(_0x143d,0x7e19b));function _0x15a5(_0x286898,_0x198844){var _0x143d95=_0x143d();return _0x15a5=function(_0x15a5de,_0x26901f){_0x15a5de=_0x15a5de-0x176;var _0x457273=_0x143d95[_0x15a5de];return _0x457273;},_0x15a5(_0x286898,_0x198844);}function _0x143d(){var _0xe9adad=['2067444TNHkNI','765bsWlKp','10eUnAYE','onCheckBuddySettingResult','904119koZWbu','onAddMeSettingChanged','onBuddyListChange','13548jOODfL','8454963REEhpj','153KkqBLQ','789677wjBEEE','onAddBuddyNeedVerify','onDoubtBuddyReqChange','onBuddyRemarkUpdated','onDelBatchBuddyInfos','771932ZfgTha','onBuddyReqChange','onBlockChanged','onDoubtBuddyReqUnreadNumChange','onAvatarUrlUpdated','2cRoemv','onSpacePermissionInfos','onBuddyInfoChange','480440euyFZP'];_0x143d=function(){return _0xe9adad;};return _0x143d();}export class BuddyListener{[_0x945312(0x181)](_0x562897){}[_0x945312(0x17b)](_0x126043){}[_0x945312(0x189)](_0x3f608c){}[_0x945312(0x187)](_0x19412b){}['onBuddyDetailInfoChange'](_0x1fe214){}[_0x945312(0x18c)](_0x2a3b37){}[_0x945312(0x17c)](_0x1d6d32){}[_0x945312(0x183)](_0x1f6727){}[_0x945312(0x186)](_0x41b012){}['onBuddyReqUnreadCntChange'](_0x4fe1e0){}[_0x945312(0x179)](_0x341f14){}[_0x945312(0x184)](_0x3580ce){}[_0x945312(0x182)](_0x458f0c){}[_0x945312(0x188)](_0x3abc60){}['onNickUpdated'](_0x4e9357){}['onSmartInfos'](_0x3d87d3){}[_0x945312(0x18b)](_0x3e1526){}} \ 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 e1cd30ff..51e0a450 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x4aaf(){var _0x236881=['211168CrALXR','onFileStatusChanged','17205230mBMCYe','onSessionListChanged','onSessionChanged','5893069OLHdKy','5548848wzmgWv','10424RjnlzI','568194EEoxxV','11EJCyDz','50vMnCUl','3jxkCby','onFileSearch','onFileListChanged','3339XLmVxf','897264ZPAgkJ'];_0x4aaf=function(){return _0x236881;};return _0x4aaf();}function _0x459c(_0x471e05,_0x52d8ec){var _0x4aaf56=_0x4aaf();return _0x459c=function(_0x459c37,_0x19d1aa){_0x459c37=_0x459c37-0x16d;var _0x76bb14=_0x4aaf56[_0x459c37];return _0x76bb14;},_0x459c(_0x471e05,_0x52d8ec);}var _0x596bee=_0x459c;(function(_0x413d65,_0x382183){var _0x2988aa=_0x459c,_0x4ee10d=_0x413d65();while(!![]){try{var _0x1cb5f6=-parseInt(_0x2988aa(0x173))/0x1+-parseInt(_0x2988aa(0x17c))/0x2*(parseInt(_0x2988aa(0x16f))/0x3)+-parseInt(_0x2988aa(0x174))/0x4*(-parseInt(_0x2988aa(0x16e))/0x5)+-parseInt(_0x2988aa(0x17a))/0x6+parseInt(_0x2988aa(0x179))/0x7+parseInt(_0x2988aa(0x17b))/0x8*(-parseInt(_0x2988aa(0x172))/0x9)+-parseInt(_0x2988aa(0x176))/0xa*(-parseInt(_0x2988aa(0x16d))/0xb);if(_0x1cb5f6===_0x382183)break;else _0x4ee10d['push'](_0x4ee10d['shift']());}catch(_0x13082a){_0x4ee10d['push'](_0x4ee10d['shift']());}}}(_0x4aaf,0x7a3f8));export class KernelFileAssistantListener{[_0x596bee(0x175)](..._0x476ac8){}[_0x596bee(0x177)](..._0x4bcbcf){}[_0x596bee(0x178)](..._0x4ab759){}[_0x596bee(0x171)](..._0x58f67a){}[_0x596bee(0x170)](..._0x285f86){}} \ No newline at end of file +var _0x28d0c9=_0x5217;(function(_0x191e50,_0xe5a7b3){var _0x243c86=_0x5217,_0x3d0b66=_0x191e50();while(!![]){try{var _0x8a8460=parseInt(_0x243c86(0x1da))/0x1*(-parseInt(_0x243c86(0x1db))/0x2)+parseInt(_0x243c86(0x1dc))/0x3*(-parseInt(_0x243c86(0x1d9))/0x4)+-parseInt(_0x243c86(0x1de))/0x5+-parseInt(_0x243c86(0x1e1))/0x6*(parseInt(_0x243c86(0x1d6))/0x7)+-parseInt(_0x243c86(0x1d8))/0x8+-parseInt(_0x243c86(0x1dd))/0x9+parseInt(_0x243c86(0x1e0))/0xa;if(_0x8a8460===_0xe5a7b3)break;else _0x3d0b66['push'](_0x3d0b66['shift']());}catch(_0xf6f6a8){_0x3d0b66['push'](_0x3d0b66['shift']());}}}(_0x4d94,0x6658d));function _0x4d94(){var _0x46a6fc=['1372112qpsbTO','34756LqtEjE','57CDVfkx','19594gSBiGX','273QBGqhS','1868571HlJEZv','1129175dxnuNj','onFileStatusChanged','25057720jpNnXZ','186PhYDru','onFileSearch','29911KjaYeQ','onFileListChanged'];_0x4d94=function(){return _0x46a6fc;};return _0x4d94();}function _0x5217(_0x188caa,_0x20539d){var _0x4d94d0=_0x4d94();return _0x5217=function(_0x521782,_0x5184a8){_0x521782=_0x521782-0x1d5;var _0x1d3b6e=_0x4d94d0[_0x521782];return _0x1d3b6e;},_0x5217(_0x188caa,_0x20539d);}export class KernelFileAssistantListener{[_0x28d0c9(0x1df)](..._0x4230cb){}['onSessionListChanged'](..._0x14bcf2){}['onSessionChanged'](..._0x23ed05){}[_0x28d0c9(0x1d7)](..._0x4f1e95){}[_0x28d0c9(0x1d5)](..._0xb11a2c){}} \ 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 00a07bfc..64ea1592 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x3c03(){var _0x4fa8be=['2658110uyFaSQ','1325228QiBtoy','onGroupNotifiesUnreadCountUpdated','onGroupSingleScreenNotifies:','onGroupArkInviteStateResult','onGroupMemberLevelInfoChange:','onGroupBulletinRichMediaDownloadComplete:','onGroupListUpdate','onMemberInfoChange:','onGroupStatisticInfoChange:','onGroupBulletinRichMediaDownloadComplete','onShutUpMemberListChanged:','onJoinGroupNotify:','onGroupConfMemberChange:','npywD','3KuSIUy','onGroupAllInfoChange','onJoinGroupNoVerifyFlag','onGroupBulletinChange:','yHrpo','onSearchMemberChange:','pBgtE','log','onGroupNotifiesUpdated:','82516GVRHSM','onGetGroupBulletinListResult','onGroupAllInfoChange:','1555dUDdZh','onMemberListChange:','onGroupBulletinChange','onGroupNotifiesUpdated','onMemberInfoChange','rWoZx','tXnaR','54vTbySF','onGroupBulletinRemindNotify','onGroupStatisticInfoChange','onSearchMemberChange','onGroupSingleScreenNotifies','onGroupExtListUpdate','onJoinGroupNoVerifyFlag:','onMemberListChange','ZaYFM','XpNbF','465826UMtoPd','LBfTn','onGroupExtListUpdate:','1214560wmMSAA','onJoinGroupNotify','kywOD','eNIGv','onGroupsMsgMaskResult:','onShutUpMemberListChanged','GVvOd','NHeTL','onGroupFirstBulletinNotify','onGetGroupBulletinListResult:','SaLVP','BfrIr','cRFfV','onGroupNotifiesUnreadCountUpdated:','onGroupListUpdate:','1162504gWjNdh','3624RNUYAO','onGroupConfMemberChange','zyfvI','ddBha','onGroupDetailInfoChange','onGroupDetailInfoChange:','rGMLZ','onGroupMemberLevelInfoChange','onGroupsMsgMaskResult','psMam','FRkfI'];_0x3c03=function(){return _0x4fa8be;};return _0x3c03();}var _0x162e2f=_0x2671;(function(_0x2a724c,_0x12aaea){var _0x1406b8=_0x2671,_0x116d7a=_0x2a724c();while(!![]){try{var _0xf55dae=parseInt(_0x1406b8(0x1c2))/0x1+-parseInt(_0x1406b8(0x18c))/0x2+parseInt(_0x1406b8(0x1b9))/0x3*(parseInt(_0x1406b8(0x1ab))/0x4)+-parseInt(_0x1406b8(0x1c5))/0x5*(parseInt(_0x1406b8(0x19f))/0x6)+-parseInt(_0x1406b8(0x1aa))/0x7+-parseInt(_0x1406b8(0x19e))/0x8+-parseInt(_0x1406b8(0x182))/0x9*(-parseInt(_0x1406b8(0x18f))/0xa);if(_0xf55dae===_0x12aaea)break;else _0x116d7a['push'](_0x116d7a['shift']());}catch(_0x7883e0){_0x116d7a['push'](_0x116d7a['shift']());}}}(_0x3c03,0x30097));export class GroupListener{[_0x162e2f(0x1a6)](..._0x49c901){}['onGetGroupBulletinListResult'](..._0x1c52dc){}[_0x162e2f(0x1ba)](..._0x3d80dc){}[_0x162e2f(0x1c7)](..._0x15cc82){}[_0x162e2f(0x183)](..._0x45a0c0){}['onGroupArkInviteStateResult'](..._0x11e1b2){}[_0x162e2f(0x1b4)](..._0xdde410){}[_0x162e2f(0x1a0)](..._0x9e3406){}[_0x162e2f(0x1a3)](..._0x1e6d25){}[_0x162e2f(0x187)](..._0x518974){}[_0x162e2f(0x197)](..._0x5eed65){}[_0x162e2f(0x1b1)](_0x8ccb22,_0x3713d0){}[_0x162e2f(0x1c8)](_0x29accc,_0x4d3f9d){}['onGroupBulletinRichMediaProgressUpdate'](..._0x47a5d9){}[_0x162e2f(0x1ac)](..._0x4fe704){}[_0x162e2f(0x186)](_0x145c9e,_0x4e88dc,_0x31c81f){}['onGroupsMsgMaskResult'](..._0x3e3e8a){}[_0x162e2f(0x184)](..._0x54666b){}['onJoinGroupNotify'](..._0x866ce7){}[_0x162e2f(0x1bb)](..._0x263bd7){}['onMemberInfoChange'](_0x552249,_0x3581c5,_0x151c47){}[_0x162e2f(0x189)](_0x19488a){}[_0x162e2f(0x185)](..._0x4aa6d9){}[_0x162e2f(0x194)](..._0x4904a7){}}function _0x2671(_0x4f5c95,_0x10f92b){var _0x3c03ff=_0x3c03();return _0x2671=function(_0x267119,_0x5d2b2a){_0x267119=_0x267119-0x180;var _0x3d069e=_0x3c03ff[_0x267119];return _0x3d069e;},_0x2671(_0x4f5c95,_0x10f92b);}export class DebugGroupListener{[_0x162e2f(0x1a6)](..._0x1c960c){var _0x32d184=_0x162e2f,_0x3b95fe={'rGMLZ':_0x32d184(0x1af)};console[_0x32d184(0x1c0)](_0x3b95fe[_0x32d184(0x1a5)],..._0x1c960c);}[_0x162e2f(0x1c3)](..._0x54b749){var _0x360e4c=_0x162e2f,_0xd60d07={'yHrpo':_0x360e4c(0x198)};console[_0x360e4c(0x1c0)](_0xd60d07[_0x360e4c(0x1bd)],..._0x54b749);}[_0x162e2f(0x1ba)](..._0x409128){var _0x1e3d18=_0x162e2f,_0x4bd662={'npywD':_0x1e3d18(0x1c4)};console[_0x1e3d18(0x1c0)](_0x4bd662[_0x1e3d18(0x1b8)],..._0x409128);}[_0x162e2f(0x1c7)](..._0x2da559){var _0x2e3f18=_0x162e2f,_0x22d864={'BfrIr':_0x2e3f18(0x1bc)};console[_0x2e3f18(0x1c0)](_0x22d864[_0x2e3f18(0x19a)],..._0x2da559);}[_0x162e2f(0x183)](..._0x16409d){var _0x4fcf96=_0x162e2f,_0x144c42={'FRkfI':'onGroupBulletinRemindNotify:'};console[_0x4fcf96(0x1c0)](_0x144c42[_0x4fcf96(0x1a9)],..._0x16409d);}[_0x162e2f(0x1ae)](..._0x809b3a){var _0x593103=_0x162e2f,_0x1edfc2={'kywOD':'onGroupArkInviteStateResult:'};console[_0x593103(0x1c0)](_0x1edfc2[_0x593103(0x191)],..._0x809b3a);}[_0x162e2f(0x1b4)](..._0x19c025){var _0x318a79=_0x162e2f;console[_0x318a79(0x1c0)](_0x318a79(0x1b0),..._0x19c025);}[_0x162e2f(0x1a0)](..._0x51bd80){var _0xcc4f6f=_0x162e2f,_0x152c6c={'NHeTL':_0xcc4f6f(0x1b7)};console[_0xcc4f6f(0x1c0)](_0x152c6c[_0xcc4f6f(0x196)],..._0x51bd80);}[_0x162e2f(0x1a3)](..._0x11fa46){var _0x408292=_0x162e2f,_0x3151b={'rWoZx':_0x408292(0x1a4)};console[_0x408292(0x1c0)](_0x3151b[_0x408292(0x180)],..._0x11fa46);}['onGroupExtListUpdate'](..._0x1defcb){var _0x396871=_0x162e2f,_0x2f9a73={'ZaYFM':_0x396871(0x18e)};console['log'](_0x2f9a73[_0x396871(0x18a)],..._0x1defcb);}[_0x162e2f(0x197)](..._0xf94357){var _0x53555e=_0x162e2f,_0x403e1a={'kSUUr':'onGroupFirstBulletinNotify:'};console[_0x53555e(0x1c0)](_0x403e1a['kSUUr'],..._0xf94357);}[_0x162e2f(0x1b1)](..._0x229697){var _0x5ad321=_0x162e2f,_0x1379c0={'pBgtE':_0x5ad321(0x19d)};console[_0x5ad321(0x1c0)](_0x1379c0[_0x5ad321(0x1bf)],..._0x229697);}[_0x162e2f(0x1c8)](..._0x21f945){var _0x3fb16e=_0x162e2f,_0xc7426d={'XpNbF':_0x3fb16e(0x1c1)};console[_0x3fb16e(0x1c0)](_0xc7426d[_0x3fb16e(0x18b)],..._0x21f945);}['onGroupBulletinRichMediaProgressUpdate'](..._0x41acff){var _0xe38db7=_0x162e2f,_0x6d97a1={'zyfvI':'onGroupBulletinRichMediaProgressUpdate:'};console[_0xe38db7(0x1c0)](_0x6d97a1[_0xe38db7(0x1a1)],..._0x41acff);}['onGroupNotifiesUnreadCountUpdated'](..._0x4baf9f){var _0x323112=_0x162e2f,_0x5920cd={'eNIGv':_0x323112(0x19c)};console[_0x323112(0x1c0)](_0x5920cd[_0x323112(0x192)],..._0x4baf9f);}['onGroupSingleScreenNotifies'](_0x2f8ac1,_0x4e41ae,_0xfa8b3b){var _0x33195f=_0x162e2f,_0x549c13={'LBfTn':_0x33195f(0x1ad)};console[_0x33195f(0x1c0)](_0x549c13[_0x33195f(0x18d)]);}[_0x162e2f(0x1a7)](..._0x5e7602){var _0x454483=_0x162e2f,_0x2c5c93={'cRFfV':_0x454483(0x193)};console[_0x454483(0x1c0)](_0x2c5c93[_0x454483(0x19b)],..._0x5e7602);}['onGroupStatisticInfoChange'](..._0x485ece){var _0x362d79=_0x162e2f,_0x1c7809={'SaLVP':_0x362d79(0x1b3)};console[_0x362d79(0x1c0)](_0x1c7809[_0x362d79(0x199)],..._0x485ece);}[_0x162e2f(0x190)](..._0x11a714){var _0x49cf44=_0x162e2f,_0xd5f4d9={'GVvOd':_0x49cf44(0x1b6)};console['log'](_0xd5f4d9[_0x49cf44(0x195)],..._0x11a714);}[_0x162e2f(0x1bb)](..._0x2941a1){var _0x5e61a7=_0x162e2f,_0x3c9cad={'psMam':_0x5e61a7(0x188)};console[_0x5e61a7(0x1c0)](_0x3c9cad[_0x5e61a7(0x1a8)],..._0x2941a1);}[_0x162e2f(0x1c9)](_0xe9110,_0x3c12c6,_0x489518){var _0x1a2bc7=_0x162e2f,_0x4f5bbb={'ddBha':_0x1a2bc7(0x1b2)};console['log'](_0x4f5bbb[_0x1a2bc7(0x1a2)],_0xe9110,_0x3c12c6,_0x489518);}['onMemberListChange'](..._0x1103ec){var _0x2b25a6=_0x162e2f;console[_0x2b25a6(0x1c0)](_0x2b25a6(0x1c6),..._0x1103ec);}[_0x162e2f(0x185)](..._0x2cc5a2){var _0x4739ac=_0x162e2f,_0x1b09fb={'tXnaR':_0x4739ac(0x1be)};console[_0x4739ac(0x1c0)](_0x1b09fb[_0x4739ac(0x181)],..._0x2cc5a2);}[_0x162e2f(0x194)](..._0x152223){var _0x1d0172=_0x162e2f;console['log'](_0x1d0172(0x1b5),..._0x152223);}} \ No newline at end of file +function _0x1b2a(_0x281922,_0x391bf4){var _0x1b757a=_0x1b75();return _0x1b2a=function(_0x1b2a0f,_0x4fb41c){_0x1b2a0f=_0x1b2a0f-0xa5;var _0x242e7f=_0x1b757a[_0x1b2a0f];return _0x242e7f;},_0x1b2a(_0x281922,_0x391bf4);}var _0x4568a7=_0x1b2a;(function(_0x4b33e5,_0x504962){var _0x5886e4=_0x1b2a,_0x5e3d40=_0x4b33e5();while(!![]){try{var _0x56b64f=parseInt(_0x5886e4(0xcf))/0x1*(-parseInt(_0x5886e4(0xc9))/0x2)+parseInt(_0x5886e4(0xbf))/0x3+parseInt(_0x5886e4(0xe1))/0x4+-parseInt(_0x5886e4(0xa8))/0x5*(-parseInt(_0x5886e4(0xb6))/0x6)+parseInt(_0x5886e4(0xbd))/0x7+-parseInt(_0x5886e4(0xb7))/0x8+-parseInt(_0x5886e4(0xc0))/0x9*(-parseInt(_0x5886e4(0xe3))/0xa);if(_0x56b64f===_0x504962)break;else _0x5e3d40['push'](_0x5e3d40['shift']());}catch(_0x43f524){_0x5e3d40['push'](_0x5e3d40['shift']());}}}(_0x1b75,0x69789));export class GroupListener{[_0x4568a7(0xd3)](..._0x158ec7){}[_0x4568a7(0xdc)](..._0x43a37f){}['onGroupAllInfoChange'](..._0x41c818){}[_0x4568a7(0xc1)](..._0x489ed9){}['onGroupBulletinRemindNotify'](..._0x150f6a){}[_0x4568a7(0xcd)](..._0x343818){}[_0x4568a7(0xcc)](..._0x16042b){}[_0x4568a7(0xd1)](..._0x426f43){}[_0x4568a7(0xad)](..._0x349c0e){}[_0x4568a7(0xd2)](..._0xce2f24){}[_0x4568a7(0xc3)](..._0x1a0cec){}[_0x4568a7(0xc4)](_0x17ea8d,_0x42f918){}[_0x4568a7(0xdd)](_0x41b483,_0x37790e){}['onGroupBulletinRichMediaProgressUpdate'](..._0x849bf9){}[_0x4568a7(0xb4)](..._0x3da877){}[_0x4568a7(0xc6)](_0xb0d2f8,_0x65563b,_0x388901){}[_0x4568a7(0xd6)](..._0x311cb4){}[_0x4568a7(0xba)](..._0x173736){}['onJoinGroupNotify'](..._0x2e0ac4){}['onJoinGroupNoVerifyFlag'](..._0x36d8f0){}[_0x4568a7(0xc2)](_0x136b9a,_0x4d730f,_0x7bd9e4){}[_0x4568a7(0xde)](_0x1d808b){}[_0x4568a7(0xc8)](..._0x300fe9){}[_0x4568a7(0xac)](..._0x3785c6){}}function _0x1b75(){var _0x189f8b=['onGroupNotifiesUpdated','onMemberListChange','onGroupDetailInfoChange:','dDCrE','492832PMCHuA','onGroupExtListUpdate:','172190iZtkJM','fciBt','JEimV','iXGDi','sQrJO','onGroupAllInfoChange:','1428005gympeI','onGroupsMsgMaskResult:','eYcHs','IpEso','onShutUpMemberListChanged','onGroupDetailInfoChange','onGroupBulletinRemindNotify','onGroupArkInviteStateResult:','onSearchMemberChange:','onGroupMemberLevelInfoChange:','onJoinGroupNoVerifyFlag:','onGroupAllInfoChange','onGroupNotifiesUnreadCountUpdated','fczWQ','6Cacwha','3080816EqUGPj','onJoinGroupNotify:','xYcvj','onGroupStatisticInfoChange','IAasx','onGroupNotifiesUnreadCountUpdated:','2624552QrchHQ','onShutUpMemberListChanged:','98352sDROsB','189NhGHPs','onGroupBulletinChange','onMemberInfoChange','onGroupFirstBulletinNotify','onGroupListUpdate','onJoinGroupNotify','onGroupSingleScreenNotifies','onGroupBulletinRemindNotify:','onSearchMemberChange','722034FBRvvD','SVlOS','onGroupBulletinChange:','onGroupBulletinRichMediaDownloadComplete','onGroupArkInviteStateResult','onGroupStatisticInfoChange:','1IxGLQU','log','onGroupConfMemberChange','onGroupExtListUpdate','onGroupMemberLevelInfoChange','onGroupBulletinRichMediaProgressUpdate:','onGroupSingleScreenNotifies:','onGroupsMsgMaskResult','SvFrc','onJoinGroupNoVerifyFlag','Kjzxr','rwSlT','bgzRQ','onGetGroupBulletinListResult'];_0x1b75=function(){return _0x189f8b;};return _0x1b75();}export class DebugGroupListener{[_0x4568a7(0xd3)](..._0x255d83){var _0x44709f=_0x4568a7,_0x6d5823={'IpEso':_0x44709f(0xb1)};console[_0x44709f(0xd0)](_0x6d5823[_0x44709f(0xab)],..._0x255d83);}[_0x4568a7(0xdc)](..._0x4a8117){var _0x274fb7=_0x4568a7,_0x3b32b9={'eYcHs':'onGetGroupBulletinListResult:'};console['log'](_0x3b32b9[_0x274fb7(0xaa)],..._0x4a8117);}[_0x4568a7(0xb3)](..._0x89e908){var _0x1a052e=_0x4568a7,_0x5d3454={'Kjzxr':_0x1a052e(0xa7)};console[_0x1a052e(0xd0)](_0x5d3454[_0x1a052e(0xd9)],..._0x89e908);}[_0x4568a7(0xc1)](..._0x2f478d){var _0x59333f=_0x4568a7,_0x112fc5={'SVlOS':_0x59333f(0xcb)};console['log'](_0x112fc5[_0x59333f(0xca)],..._0x2f478d);}[_0x4568a7(0xae)](..._0x6b506f){var _0x3b1448=_0x4568a7;console[_0x3b1448(0xd0)](_0x3b1448(0xc7),..._0x6b506f);}[_0x4568a7(0xcd)](..._0x2c7178){var _0x5c4e21=_0x4568a7,_0x150cc9={'sQrJO':_0x5c4e21(0xaf)};console['log'](_0x150cc9[_0x5c4e21(0xa6)],..._0x2c7178);}[_0x4568a7(0xcc)](..._0xb4ac7e){var _0x596577=_0x4568a7,_0xf1b95c={'gyUcy':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x596577(0xd0)](_0xf1b95c['gyUcy'],..._0xb4ac7e);}[_0x4568a7(0xd1)](..._0x143e25){var _0x1cf1a8=_0x4568a7,_0x2113a4={'BMaQZ':'onGroupConfMemberChange:'};console[_0x1cf1a8(0xd0)](_0x2113a4['BMaQZ'],..._0x143e25);}[_0x4568a7(0xad)](..._0x33f9c1){var _0xcda482=_0x4568a7,_0x2fdcbb={'iXGDi':_0xcda482(0xdf)};console[_0xcda482(0xd0)](_0x2fdcbb[_0xcda482(0xa5)],..._0x33f9c1);}['onGroupExtListUpdate'](..._0x553b6a){var _0x5594bd=_0x4568a7,_0x548218={'yzXkd':_0x5594bd(0xe2)};console[_0x5594bd(0xd0)](_0x548218['yzXkd'],..._0x553b6a);}[_0x4568a7(0xc3)](..._0x2d1a91){var _0x511691=_0x4568a7,_0x2f9709={'IAasx':'onGroupFirstBulletinNotify:'};console[_0x511691(0xd0)](_0x2f9709[_0x511691(0xbb)],..._0x2d1a91);}[_0x4568a7(0xc4)](..._0x33ac04){var _0x28e481=_0x4568a7;console[_0x28e481(0xd0)]('onGroupListUpdate:',..._0x33ac04);}[_0x4568a7(0xdd)](..._0x1dd0d6){var _0x26aa0f=_0x4568a7,_0xca22a5={'dDCrE':'onGroupNotifiesUpdated:'};console[_0x26aa0f(0xd0)](_0xca22a5[_0x26aa0f(0xe0)],..._0x1dd0d6);}['onGroupBulletinRichMediaProgressUpdate'](..._0x5b8dd){var _0x484230=_0x4568a7,_0x4a4e3c={'JEimV':_0x484230(0xd4)};console['log'](_0x4a4e3c[_0x484230(0xe5)],..._0x5b8dd);}[_0x4568a7(0xb4)](..._0x8761d5){var _0x5d0139=_0x4568a7;console[_0x5d0139(0xd0)](_0x5d0139(0xbc),..._0x8761d5);}[_0x4568a7(0xc6)](_0x707fbb,_0x5ad2cb,_0x118396){var _0x53338a=_0x4568a7,_0x239ed2={'WPUBj':_0x53338a(0xd5)};console[_0x53338a(0xd0)](_0x239ed2['WPUBj']);}[_0x4568a7(0xd6)](..._0x4d197b){var _0x44f26c=_0x4568a7,_0x29e353={'xYcvj':_0x44f26c(0xa9)};console[_0x44f26c(0xd0)](_0x29e353[_0x44f26c(0xb9)],..._0x4d197b);}['onGroupStatisticInfoChange'](..._0xa09d46){var _0x4fdbcc=_0x4568a7,_0x516cd1={'fciBt':_0x4fdbcc(0xce)};console[_0x4fdbcc(0xd0)](_0x516cd1[_0x4fdbcc(0xe4)],..._0xa09d46);}[_0x4568a7(0xc5)](..._0x597678){var _0xd451e0=_0x4568a7,_0x4364e7={'SvFrc':_0xd451e0(0xb8)};console['log'](_0x4364e7[_0xd451e0(0xd7)],..._0x597678);}[_0x4568a7(0xd8)](..._0xcb5aa4){var _0x4cd520=_0x4568a7,_0x24f82d={'rwSlT':_0x4cd520(0xb2)};console['log'](_0x24f82d[_0x4cd520(0xda)],..._0xcb5aa4);}[_0x4568a7(0xc2)](_0x29a541,_0x649d5b,_0x2829e0){var _0x214899=_0x4568a7,_0x32fafb={'fczWQ':'onMemberInfoChange:'};console[_0x214899(0xd0)](_0x32fafb[_0x214899(0xb5)],_0x29a541,_0x649d5b,_0x2829e0);}['onMemberListChange'](..._0x37f988){var _0x5537b7=_0x4568a7;console[_0x5537b7(0xd0)]('onMemberListChange:',..._0x37f988);}[_0x4568a7(0xc8)](..._0x3f6d6d){var _0x2231e9=_0x4568a7,_0x37897e={'bgzRQ':_0x2231e9(0xb0)};console[_0x2231e9(0xd0)](_0x37897e[_0x2231e9(0xdb)],..._0x3f6d6d);}['onShutUpMemberListChanged'](..._0x5e2d7d){var _0x160c85=_0x4568a7,_0x29f4bd={'xTeDJ':_0x160c85(0xbe)};console[_0x160c85(0xd0)](_0x29f4bd['xTeDJ'],..._0x5e2d7d);}} \ 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 711dc72e..fb0d8ba6 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x4266(_0x320bd5,_0x3db04e){var _0x4f1953=_0x4f19();return _0x4266=function(_0x42663b,_0x4ebcef){_0x42663b=_0x42663b-0xe5;var _0x5f1772=_0x4f1953[_0x42663b];return _0x5f1772;},_0x4266(_0x320bd5,_0x3db04e);}function _0x4f19(){var _0x33a727=['9aTwErY','onPasswordLoginFailed','onQRCodeSessionUserScaned','163532Vizczm','onQRCodeGetPicture','onQRCodeLoginSucceed','onLoginConnecting','2755085SuktpM','onLoginDisConnected','onQRCodeSessionQuickLoginFailed','onQRCodeLoginPollingStarted','onQQLoginNumLimited','1763202CgDpKg','onLoginConnected','600756BNnfZa','onLoginFailed','onLoginState','onUserLoggedIn','5401200njqBwp','onLogoutSucceed','7qBFBdm','9289548wEGNVY','OnConfirmUnusualDeviceFailed','971974TChHXJ'];_0x4f19=function(){return _0x33a727;};return _0x4f19();}var _0x5dbdad=_0x4266;(function(_0x453769,_0x3975b3){var _0x46ea8f=_0x4266,_0x3dc0c6=_0x453769();while(!![]){try{var _0x8512fe=parseInt(_0x46ea8f(0xe7))/0x1+parseInt(_0x46ea8f(0xfb))/0x2+-parseInt(_0x46ea8f(0xfc))/0x3*(-parseInt(_0x46ea8f(0xf2))/0x4)+-parseInt(_0x46ea8f(0xeb))/0x5+-parseInt(_0x46ea8f(0xf0))/0x6+parseInt(_0x46ea8f(0xf8))/0x7*(-parseInt(_0x46ea8f(0xf6))/0x8)+parseInt(_0x46ea8f(0xf9))/0x9;if(_0x8512fe===_0x3975b3)break;else _0x3dc0c6['push'](_0x3dc0c6['shift']());}catch(_0x164b0){_0x3dc0c6['push'](_0x3dc0c6['shift']());}}}(_0x4f19,0x95780));export class LoginListener{[_0x5dbdad(0xf1)](..._0x2df0bf){}[_0x5dbdad(0xec)](..._0x45576e){}[_0x5dbdad(0xea)](..._0x2652d9){}[_0x5dbdad(0xe8)](_0x3e4b6b){}[_0x5dbdad(0xee)](..._0x37dad1){}[_0x5dbdad(0xe6)](..._0x473d46){}[_0x5dbdad(0xe9)](_0x1df045){}['onQRCodeSessionFailed'](..._0x4f8bc9){}[_0x5dbdad(0xf3)](..._0x19dcaf){}[_0x5dbdad(0xf7)](..._0x20fddb){}['onLogoutFailed'](..._0x2c0d3e){}[_0x5dbdad(0xf5)](..._0x4d2bd2){}[_0x5dbdad(0xed)](..._0x41539f){}[_0x5dbdad(0xe5)](..._0x1f8121){}[_0x5dbdad(0xfa)](..._0x4a3dc7){}[_0x5dbdad(0xef)](..._0x5c795a){}[_0x5dbdad(0xf4)](..._0x2ac1d3){}} \ No newline at end of file +function _0x3726(_0x33bce8,_0xc997ad){var _0x15807a=_0x1580();return _0x3726=function(_0x3726d1,_0x503d2c){_0x3726d1=_0x3726d1-0xa9;var _0x440f68=_0x15807a[_0x3726d1];return _0x440f68;},_0x3726(_0x33bce8,_0xc997ad);}function _0x1580(){var _0x4fe233=['6miVrsw','55SlpiSK','onQRCodeSessionQuickLoginFailed','OnConfirmUnusualDeviceFailed','3347440SBdBJy','5046040lhgidK','onLoginFailed','2MUgnWA','onQRCodeSessionFailed','376470WlFEew','onQRCodeLoginSucceed','296BWYuDY','5592545yYwCBS','onLoginDisConnected','onQRCodeLoginPollingStarted','1905912bvhBzK','onLoginState','3291908ivgwgw','1362377KmcWiz','onLogoutFailed','onLoginConnected','onQRCodeGetPicture'];_0x1580=function(){return _0x4fe233;};return _0x1580();}var _0x510a74=_0x3726;(function(_0x12ca88,_0x1e5c44){var _0x2afaa6=_0x3726,_0x41e840=_0x12ca88();while(!![]){try{var _0x2baf92=parseInt(_0x2afaa6(0xb6))/0x1*(parseInt(_0x2afaa6(0xab))/0x2)+parseInt(_0x2afaa6(0xb3))/0x3+-parseInt(_0x2afaa6(0xb5))/0x4+-parseInt(_0x2afaa6(0xa9))/0x5+parseInt(_0x2afaa6(0xba))/0x6*(parseInt(_0x2afaa6(0xb0))/0x7)+-parseInt(_0x2afaa6(0xaf))/0x8*(-parseInt(_0x2afaa6(0xad))/0x9)+parseInt(_0x2afaa6(0xbe))/0xa*(-parseInt(_0x2afaa6(0xbb))/0xb);if(_0x2baf92===_0x1e5c44)break;else _0x41e840['push'](_0x41e840['shift']());}catch(_0x34a607){_0x41e840['push'](_0x41e840['shift']());}}}(_0x1580,0xccb15));export class LoginListener{[_0x510a74(0xb8)](..._0x806e52){}[_0x510a74(0xb1)](..._0x4992dc){}['onLoginConnecting'](..._0x2c8421){}[_0x510a74(0xb9)](_0x2b7028){}[_0x510a74(0xb2)](..._0x45a50d){}['onQRCodeSessionUserScaned'](..._0x396bfd){}[_0x510a74(0xae)](_0xc0f707){}[_0x510a74(0xac)](..._0x15b720){}[_0x510a74(0xaa)](..._0x4345ff){}['onLogoutSucceed'](..._0xe406fe){}[_0x510a74(0xb7)](..._0x3e9490){}['onUserLoggedIn'](..._0x4ed7d6){}[_0x510a74(0xbc)](..._0x4f98a1){}['onPasswordLoginFailed'](..._0x3c3cf6){}[_0x510a74(0xbd)](..._0x451af8){}['onQQLoginNumLimited'](..._0x434bc1){}[_0x510a74(0xb4)](..._0x3dc59e){}} \ 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 c50ad21c..37a7ffd9 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x250d44=_0x3327;function _0x3327(_0x3e62cc,_0x3d9f45){var _0x5ca75f=_0x5ca7();return _0x3327=function(_0x33279e,_0x485b3f){_0x33279e=_0x33279e-0x185;var _0x162012=_0x5ca75f[_0x33279e];return _0x162012;},_0x3327(_0x3e62cc,_0x3d9f45);}(function(_0x116f84,_0x477ca1){var _0x37ecfa=_0x3327,_0x21329f=_0x116f84();while(!![]){try{var _0x5114a2=-parseInt(_0x37ecfa(0x1be))/0x1*(-parseInt(_0x37ecfa(0x18c))/0x2)+-parseInt(_0x37ecfa(0x1ab))/0x3+-parseInt(_0x37ecfa(0x19f))/0x4+parseInt(_0x37ecfa(0x19b))/0x5*(parseInt(_0x37ecfa(0x1ae))/0x6)+parseInt(_0x37ecfa(0x194))/0x7*(parseInt(_0x37ecfa(0x18b))/0x8)+parseInt(_0x37ecfa(0x1aa))/0x9*(parseInt(_0x37ecfa(0x1ad))/0xa)+-parseInt(_0x37ecfa(0x18d))/0xb*(parseInt(_0x37ecfa(0x1ba))/0xc);if(_0x5114a2===_0x477ca1)break;else _0x21329f['push'](_0x21329f['shift']());}catch(_0x4ad744){_0x21329f['push'](_0x21329f['shift']());}}}(_0x5ca7,0xbe957));function _0x5ca7(){var _0x502407=['onNtMsgSyncEnd','onKickedOffLine','onRecvGroupGuildFlag','onAddSendMsg','onLogLevelChanged','onGroupTransferInfoUpdate','12JCgoBh','onRecvUDCFlag','onGuildNotificationAbstractUpdate','onRecvS2CMsg','167714DWsmOI','onMsgEventListUpdate','onHitCsRelatedEmojiResult','onGrabPasswordRedBag','onFeedEventUpdate','onGuildInteractiveUpdate','onBroadcastHelperProgerssUpdate','onRichMediaProgerssUpdate','onGroupFileInfoUpdate','124664IzZRRH','16IbOsfB','20748046OOmDjb','onRecvMsg','onMsgWithRichLinkInfoUpdate','onBroadcastHelperDownloadComplete','onGroupFileInfoAdd','onRichMediaDownloadComplete','onRichMediaUploadComplete','595FFXSHB','onMsgSecurityNotify','onlineStatusBigIconDownloadPush','onSysMsgNotification','onGuildMsgAbFlagChanged','onUserSecQualityChanged','onMsgQRCodeStatusChanged','35410jedHup','onRedTouchChanged','onFileMsgCome','onGroupTransferInfoAdd','2402096RiLthr','onDraftUpdate','onHitEmojiKeywordResult','onRecvMsgSvrRspTransInfo','onNtFirstViewMsgSyncEnd','onUserOnlineStatusChanged','onUnreadCntAfterFirstView','onReadFeedEventUpdate','onMsgSettingUpdate','onMsgInfoListUpdate','onMsgAbstractUpdate','9hpPHtn','3264540sTPUiK','onNtMsgSyncStart','10306280BWfDBj','558CyYuAh','onUnreadCntUpdate','onlineStatusSmallIconDownloadPush','onRecvOnlineFileMsg','onRecvSysMsg','onUserChannelTabStatusChanged'];_0x5ca7=function(){return _0x502407;};return _0x5ca7();}export class MsgListener{[_0x250d44(0x1b7)](_0x30e6a8){}[_0x250d44(0x190)](_0x3c2b7d){}['onBroadcastHelperProgressUpdate'](_0xe1a1dd){}['onChannelFreqLimitInfoUpdate'](_0x264813,_0xbd9c47,_0x30006b){}['onContactUnreadCntUpdate'](_0x161d17){}['onCustomWithdrawConfigUpdate'](_0x401909){}[_0x250d44(0x1a0)](_0x5b9894,_0x5704e7,_0x18269f){}['onEmojiDownloadComplete'](_0x20f93d){}['onEmojiResourceUpdate'](_0x483ca5){}[_0x250d44(0x186)](_0x1c6e80){}[_0x250d44(0x19d)](_0x28097b){}['onFirstViewDirectMsgUpdate'](_0x2d7017){}['onFirstViewGroupGuildMapping'](_0x999d99){}[_0x250d44(0x185)](_0x30ea17,_0x391c6b,_0x5debbc,_0x373b09,_0x49c108){}[_0x250d44(0x191)](_0x59a287){}[_0x250d44(0x18a)](_0x5422df){}['onGroupGuildUpdate'](_0x4e4b2d){}[_0x250d44(0x19e)](_0x2682d5){}[_0x250d44(0x1b9)](_0x407295){}[_0x250d44(0x187)](_0x43dbda){}[_0x250d44(0x198)](_0x500e18){}[_0x250d44(0x1bc)](_0x3dd49c){}[_0x250d44(0x1c0)](_0x3c8f99){}[_0x250d44(0x1a1)](_0x20e53d){}['onHitRelatedEmojiResult'](_0x1fc84b){}['onImportOldDbProgressUpdate'](_0x344062){}['onInputStatusPush'](_0x2ee58c){}[_0x250d44(0x1b5)](_0x5abb87){}['onLineDev'](_0x953a15){}[_0x250d44(0x1b8)](_0x3a7e1d){}[_0x250d44(0x1a9)](_0x22d15a){}['onMsgBoxChanged'](_0x268b64){}['onMsgDelete'](_0x45414b,_0x105a8c){}[_0x250d44(0x1bf)](_0x32a3b9){}['onMsgInfoListAdd'](_0x597317){}[_0x250d44(0x1a8)](_0x550a21){}[_0x250d44(0x19a)](_0x1617e3){}['onMsgRecall'](_0x4c7d46,_0x48ff81,_0x5f2b5b){}[_0x250d44(0x195)](_0xf092e8){}[_0x250d44(0x1a7)](_0x2f0f66){}[_0x250d44(0x1a3)](){}[_0x250d44(0x1b4)](){}[_0x250d44(0x1ac)](){}[_0x250d44(0x1a6)](_0x5982ad){}[_0x250d44(0x1b6)](_0x49e26a){}[_0x250d44(0x18e)](_0x47776e){}[_0x250d44(0x1a2)](_0x134464,_0x53ef5d,_0x49d2a0,_0x2cf03d,_0x35e404,_0x2fde8a){}[_0x250d44(0x1b1)](_0x4fa57b){}[_0x250d44(0x1bd)](_0x1d2441){}[_0x250d44(0x1b2)](_0x5db756){}[_0x250d44(0x1bb)](_0x56b009){}[_0x250d44(0x192)](_0x4c84d8){}[_0x250d44(0x189)](_0x3a7eda){}[_0x250d44(0x193)](_0x44d587){}['onSearchGroupFileInfoUpdate'](_0x1c3362){}['onSendMsgError'](_0x48f4a5,_0x58c083,_0x53a85e,_0x3d4557){}[_0x250d44(0x197)](_0xeb3193,_0x2595be,_0x1f16d3,_0xb11814){}['onTempChatInfoUpdate'](_0x10cc07){}[_0x250d44(0x1a5)](_0xe7e831){}[_0x250d44(0x1af)](_0x550b34){}[_0x250d44(0x1b3)](_0x34a494){}[_0x250d44(0x1a4)](_0x3ee4be){}['onUserTabStatusChanged'](_0x4b558c){}[_0x250d44(0x196)](_0x45146f,_0x210546,_0x26849a){}[_0x250d44(0x1b0)](_0x12d073,_0x386ada,_0x189de6){}[_0x250d44(0x199)](..._0x42c72f){}[_0x250d44(0x18f)](..._0x31544c){}[_0x250d44(0x19c)](..._0x218c53){}[_0x250d44(0x188)](..._0x57febd){}} \ No newline at end of file +var _0x4a1135=_0x5f26;(function(_0x298675,_0x30fcc9){var _0x935529=_0x5f26,_0x1eaf20=_0x298675();while(!![]){try{var _0x5950c7=parseInt(_0x935529(0x17e))/0x1+-parseInt(_0x935529(0x14e))/0x2+parseInt(_0x935529(0x152))/0x3+-parseInt(_0x935529(0x151))/0x4+parseInt(_0x935529(0x167))/0x5+parseInt(_0x935529(0x145))/0x6+-parseInt(_0x935529(0x15e))/0x7;if(_0x5950c7===_0x30fcc9)break;else _0x1eaf20['push'](_0x1eaf20['shift']());}catch(_0x466e98){_0x1eaf20['push'](_0x1eaf20['shift']());}}}(_0x1c9c,0xc047b));export class MsgListener{['onAddSendMsg'](_0xdd775c){}[_0x4a1135(0x153)](_0x29423a){}[_0x4a1135(0x17f)](_0x7446e6){}[_0x4a1135(0x161)](_0x36c0e1,_0x18a5ed,_0x25d798){}[_0x4a1135(0x157)](_0xbc4601){}['onCustomWithdrawConfigUpdate'](_0x3dde8b){}[_0x4a1135(0x15f)](_0x4176fc,_0x2073d1,_0x548634){}[_0x4a1135(0x17c)](_0x16e3ab){}[_0x4a1135(0x14c)](_0x10e534){}[_0x4a1135(0x16a)](_0x219b57){}[_0x4a1135(0x15b)](_0x57c1c5){}[_0x4a1135(0x14d)](_0x1c734d){}[_0x4a1135(0x16f)](_0x1b37b9){}['onGrabPasswordRedBag'](_0x4f6300,_0x58c84d,_0x5c7f30,_0x2f13e2,_0x2667c9){}[_0x4a1135(0x175)](_0x4baa98){}[_0x4a1135(0x17a)](_0x169ba0){}[_0x4a1135(0x16c)](_0x1c2d55){}[_0x4a1135(0x143)](_0x3ff6e3){}[_0x4a1135(0x170)](_0x57958e){}[_0x4a1135(0x17b)](_0x180c63){}[_0x4a1135(0x176)](_0x9e9f4b){}[_0x4a1135(0x164)](_0xf0a13c){}['onHitCsRelatedEmojiResult'](_0x5db79f){}[_0x4a1135(0x156)](_0x551c8f){}[_0x4a1135(0x165)](_0xa448b0){}[_0x4a1135(0x178)](_0x53b5dc){}['onInputStatusPush'](_0x429c6b){}[_0x4a1135(0x179)](_0x54129e){}[_0x4a1135(0x144)](_0x500355){}[_0x4a1135(0x172)](_0x2641ea){}[_0x4a1135(0x15a)](_0x1b0e69){}['onMsgBoxChanged'](_0x3ffe91){}[_0x4a1135(0x166)](_0x1630af,_0x15fc2b){}[_0x4a1135(0x148)](_0x2f3c77){}[_0x4a1135(0x162)](_0x41fedb){}[_0x4a1135(0x173)](_0x26c695){}[_0x4a1135(0x17d)](_0x2678d3){}[_0x4a1135(0x163)](_0x3ea990,_0x125fa1,_0x5406f8){}[_0x4a1135(0x16d)](_0x774407){}[_0x4a1135(0x154)](_0x32d9e0){}['onNtFirstViewMsgSyncEnd'](){}[_0x4a1135(0x159)](){}[_0x4a1135(0x14b)](){}[_0x4a1135(0x16b)](_0x2159be){}[_0x4a1135(0x171)](_0x4f7a48){}['onRecvMsg'](_0x2e2ad4){}[_0x4a1135(0x14f)](_0x4ecca9,_0x21eaad,_0x344a10,_0x314b02,_0x68148e,_0x4bba18){}[_0x4a1135(0x180)](_0x59a82b){}[_0x4a1135(0x169)](_0x25a7df){}[_0x4a1135(0x16e)](_0xdae9d8){}[_0x4a1135(0x177)](_0x46098d){}[_0x4a1135(0x149)](_0x516378){}[_0x4a1135(0x146)](_0x35215f){}[_0x4a1135(0x150)](_0xf1d36){}[_0x4a1135(0x14a)](_0x397259){}['onSendMsgError'](_0x42be3f,_0x508284,_0x4ae9ef,_0x4b33f2){}[_0x4a1135(0x147)](_0x4634bc,_0xfdf47b,_0x265049,_0x3881fb){}['onTempChatInfoUpdate'](_0x5aef9a){}['onUnreadCntAfterFirstView'](_0x25b99a){}[_0x4a1135(0x15c)](_0x2efc61){}[_0x4a1135(0x155)](_0x44af28){}['onUserOnlineStatusChanged'](_0x4b4584){}[_0x4a1135(0x160)](_0x25c15a){}['onlineStatusBigIconDownloadPush'](_0x2baef9,_0x531c36,_0x215bdc){}[_0x4a1135(0x15d)](_0x2603ba,_0x267ad9,_0x4f0071){}[_0x4a1135(0x158)](..._0x1cf14e){}[_0x4a1135(0x174)](..._0x504a36){}[_0x4a1135(0x168)](..._0x449cf2){}['onBroadcastHelperProgerssUpdate'](..._0x4f0467){}}function _0x5f26(_0x51cd9e,_0x5d68f5){var _0x1c9cd3=_0x1c9c();return _0x5f26=function(_0x5f2612,_0x43a067){_0x5f2612=_0x5f2612-0x143;var _0x48ab47=_0x1c9cd3[_0x5f2612];return _0x48ab47;},_0x5f26(_0x51cd9e,_0x5d68f5);}function _0x1c9c(){var _0x25305b=['onUserChannelTabStatusChanged','onHitEmojiKeywordResult','onContactUnreadCntUpdate','onUserSecQualityChanged','onNtMsgSyncEnd','onMsgAbstractUpdate','onFileMsgCome','onUnreadCntUpdate','onlineStatusSmallIconDownloadPush','7769440WYIcGR','onDraftUpdate','onUserTabStatusChanged','onChannelFreqLimitInfoUpdate','onMsgInfoListAdd','onMsgRecall','onGuildNotificationAbstractUpdate','onHitRelatedEmojiResult','onMsgDelete','485180BEwMMx','onRedTouchChanged','onRecvS2CMsg','onFeedEventUpdate','onReadFeedEventUpdate','onGroupGuildUpdate','onMsgSecurityNotify','onRecvSysMsg','onFirstViewGroupGuildMapping','onGroupTransferInfoUpdate','onRecvGroupGuildFlag','onLogLevelChanged','onMsgInfoListUpdate','onMsgWithRichLinkInfoUpdate','onGroupFileInfoAdd','onGuildMsgAbFlagChanged','onRecvUDCFlag','onImportOldDbProgressUpdate','onKickedOffLine','onGroupFileInfoUpdate','onGuildInteractiveUpdate','onEmojiDownloadComplete','onMsgQRCodeStatusChanged','1329856gfolNp','onBroadcastHelperProgressUpdate','onRecvOnlineFileMsg','onGroupTransferInfoAdd','onLineDev','9161976ypUjTl','onRichMediaProgerssUpdate','onSysMsgNotification','onMsgEventListUpdate','onRichMediaDownloadComplete','onSearchGroupFileInfoUpdate','onNtMsgSyncStart','onEmojiResourceUpdate','onFirstViewDirectMsgUpdate','1067450VjMgeF','onRecvMsgSvrRspTransInfo','onRichMediaUploadComplete','4781248eaAalu','2017944UHLYjT','onBroadcastHelperDownloadComplete','onMsgSettingUpdate'];_0x1c9c=function(){return _0x25305b;};return _0x1c9c();} \ 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 ee1862e4..d848161c 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x3f4f(_0x2a0293,_0x4ac7fa){var _0x24f914=_0x24f9();return _0x3f4f=function(_0x3f4fbd,_0x2a0282){_0x3f4fbd=_0x3f4fbd-0x182;var _0x395d9b=_0x24f914[_0x3f4fbd];return _0x395d9b;},_0x3f4f(_0x2a0293,_0x4ac7fa);}var _0x21fc23=_0x3f4f;function _0x24f9(){var _0x3bbb0a=['763862seGUJm','onProfileSimpleChanged','462212MMGqiP','3039673XexUXn','onStrangerRemarkChanged','42994YwoNch','onProfileDetailInfoChanged','457956VOksjI','2048520FuODkV','onSelfStatusChanged','20tKtMYo','3XxSNZm','7567389aVJLMx'];_0x24f9=function(){return _0x3bbb0a;};return _0x24f9();}(function(_0x4582a8,_0x496a78){var _0x5071cd=_0x3f4f,_0x1346ff=_0x4582a8();while(!![]){try{var _0x3d7bf9=-parseInt(_0x5071cd(0x186))/0x1+-parseInt(_0x5071cd(0x18e))/0x2*(parseInt(_0x5071cd(0x18c))/0x3)+parseInt(_0x5071cd(0x183))/0x4*(parseInt(_0x5071cd(0x18b))/0x5)+parseInt(_0x5071cd(0x188))/0x6+-parseInt(_0x5071cd(0x184))/0x7+-parseInt(_0x5071cd(0x189))/0x8+parseInt(_0x5071cd(0x18d))/0x9;if(_0x3d7bf9===_0x496a78)break;else _0x1346ff['push'](_0x1346ff['shift']());}catch(_0x2fa7b8){_0x1346ff['push'](_0x1346ff['shift']());}}}(_0x24f9,0x407c2));export class ProfileListener{[_0x21fc23(0x182)](..._0x42d907){}[_0x21fc23(0x187)](_0x611388){}['onStatusUpdate'](..._0x1ba4b2){}[_0x21fc23(0x18a)](..._0x11edc1){}[_0x21fc23(0x185)](..._0x443471){}} \ No newline at end of file +function _0x6911(_0xa57e3f,_0x26ae6c){var _0x5af20a=_0x5af2();return _0x6911=function(_0x6911d3,_0x16c60f){_0x6911d3=_0x6911d3-0x99;var _0x3c1c4a=_0x5af20a[_0x6911d3];return _0x3c1c4a;},_0x6911(_0xa57e3f,_0x26ae6c);}var _0x4aa9ca=_0x6911;(function(_0xdf77c1,_0x5da0bb){var _0x3d7967=_0x6911,_0x540c47=_0xdf77c1();while(!![]){try{var _0x3e5988=-parseInt(_0x3d7967(0xa7))/0x1*(-parseInt(_0x3d7967(0x9c))/0x2)+-parseInt(_0x3d7967(0x9b))/0x3+-parseInt(_0x3d7967(0x9a))/0x4*(-parseInt(_0x3d7967(0xa1))/0x5)+parseInt(_0x3d7967(0xa0))/0x6*(parseInt(_0x3d7967(0x9f))/0x7)+parseInt(_0x3d7967(0xa4))/0x8+parseInt(_0x3d7967(0x9e))/0x9*(parseInt(_0x3d7967(0xa5))/0xa)+-parseInt(_0x3d7967(0x9d))/0xb;if(_0x3e5988===_0x5da0bb)break;else _0x540c47['push'](_0x540c47['shift']());}catch(_0x5b0f22){_0x540c47['push'](_0x540c47['shift']());}}}(_0x5af2,0xc2a09));export class ProfileListener{[_0x4aa9ca(0xa6)](..._0x1598cb){}[_0x4aa9ca(0xa3)](_0x237e94){}['onStatusUpdate'](..._0x205229){}[_0x4aa9ca(0x99)](..._0x1b5ee0){}[_0x4aa9ca(0xa2)](..._0xb1b9e9){}}function _0x5af2(){var _0x3147e7=['175188NLeagc','5fdkmKM','onStrangerRemarkChanged','onProfileDetailInfoChanged','8845304BwQxjO','620uNAwvO','onProfileSimpleChanged','14329QcFjfh','onSelfStatusChanged','2841572mAPLdC','1797147ziKgmn','108KDByRf','20709084yQTEkr','95787dgUbaK','7sgkwYs'];_0x5af2=function(){return _0x3147e7;};return _0x5af2();} \ 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 7c218893..fc3d7b74 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x1b2f(_0x5a5c9e,_0x247a63){var _0x267c66=_0x267c();return _0x1b2f=function(_0x1b2f9c,_0x42d17e){_0x1b2f9c=_0x1b2f9c-0x9b;var _0x37ef9f=_0x267c66[_0x1b2f9c];return _0x37ef9f;},_0x1b2f(_0x5a5c9e,_0x247a63);}var _0x50a70d=_0x1b2f;(function(_0x1d8c59,_0x30d4cd){var _0x1979d9=_0x1b2f,_0x44f0f7=_0x1d8c59();while(!![]){try{var _0x545cf8=-parseInt(_0x1979d9(0xa2))/0x1+parseInt(_0x1979d9(0xa5))/0x2*(-parseInt(_0x1979d9(0x9e))/0x3)+-parseInt(_0x1979d9(0xa0))/0x4*(parseInt(_0x1979d9(0x9c))/0x5)+parseInt(_0x1979d9(0xa4))/0x6*(parseInt(_0x1979d9(0xa3))/0x7)+parseInt(_0x1979d9(0xa6))/0x8*(-parseInt(_0x1979d9(0x9d))/0x9)+-parseInt(_0x1979d9(0x9b))/0xa+parseInt(_0x1979d9(0xa1))/0xb*(parseInt(_0x1979d9(0x9f))/0xc);if(_0x545cf8===_0x30d4cd)break;else _0x44f0f7['push'](_0x44f0f7['shift']());}catch(_0x25088c){_0x44f0f7['push'](_0x44f0f7['shift']());}}}(_0x267c,0x26fc3));export class KernelRobotListener{[_0x50a70d(0xa9)](..._0x2c509a){}[_0x50a70d(0xa7)](..._0x299b5f){}[_0x50a70d(0xa8)](..._0x22a2e8){}}function _0x267c(){var _0x1eca47=['3NgpGQC','24nYmzYo','55004LsWroS','4535949SdSAyf','244667SfJrsW','3409OfvGqn','1080busMoW','161002ViUgMz','24MKloPk','onRobotListChanged','onRobotProfileChanged','onRobotFriendListChanged','1265370xGlpRU','15TQIJVD','779211katkbd'];_0x267c=function(){return _0x1eca47;};return _0x267c();} \ No newline at end of file +var _0x565b24=_0x2b4b;(function(_0x1fb325,_0x41b0f6){var _0x2044ca=_0x2b4b,_0x155974=_0x1fb325();while(!![]){try{var _0x527a15=-parseInt(_0x2044ca(0x17a))/0x1+parseInt(_0x2044ca(0x184))/0x2*(-parseInt(_0x2044ca(0x180))/0x3)+-parseInt(_0x2044ca(0x17f))/0x4*(-parseInt(_0x2044ca(0x182))/0x5)+parseInt(_0x2044ca(0x183))/0x6+-parseInt(_0x2044ca(0x17b))/0x7*(-parseInt(_0x2044ca(0x17c))/0x8)+parseInt(_0x2044ca(0x181))/0x9+parseInt(_0x2044ca(0x17d))/0xa*(-parseInt(_0x2044ca(0x17e))/0xb);if(_0x527a15===_0x41b0f6)break;else _0x155974['push'](_0x155974['shift']());}catch(_0x4e6b30){_0x155974['push'](_0x155974['shift']());}}}(_0x52d5,0x6a54c));export class KernelRobotListener{[_0x565b24(0x185)](..._0x3c4e90){}[_0x565b24(0x186)](..._0x32eca5){}['onRobotProfileChanged'](..._0x680dc8){}}function _0x2b4b(_0x3f66db,_0x3fd6b3){var _0x52d5e4=_0x52d5();return _0x2b4b=function(_0x2b4baf,_0x2b68d0){_0x2b4baf=_0x2b4baf-0x17a;var _0x4fed95=_0x52d5e4[_0x2b4baf];return _0x4fed95;},_0x2b4b(_0x3f66db,_0x3fd6b3);}function _0x52d5(){var _0x3c6453=['onRobotFriendListChanged','onRobotListChanged','808612cwMxXT','1000916mpxijk','48SKzquI','1104510sgZEzh','33JAkQEt','8kzIWFG','130602wEmsoz','3869208XXpBkF','53155oNGZYL','2904390UgIPZS','10LEUwKD'];_0x52d5=function(){return _0x3c6453;};return _0x52d5();} \ 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 b0c71835..1c811e84 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x4780aa=_0x6d83;(function(_0x41eb47,_0x579fe5){var _0x17f30a=_0x6d83,_0x1d2928=_0x41eb47();while(!![]){try{var _0x2dbd7f=-parseInt(_0x17f30a(0x1ef))/0x1+parseInt(_0x17f30a(0x1ea))/0x2+parseInt(_0x17f30a(0x1eb))/0x3*(-parseInt(_0x17f30a(0x1f0))/0x4)+parseInt(_0x17f30a(0x1e3))/0x5*(parseInt(_0x17f30a(0x1e6))/0x6)+parseInt(_0x17f30a(0x1ee))/0x7+parseInt(_0x17f30a(0x1e4))/0x8*(-parseInt(_0x17f30a(0x1e5))/0x9)+-parseInt(_0x17f30a(0x1e7))/0xa*(-parseInt(_0x17f30a(0x1e9))/0xb);if(_0x2dbd7f===_0x579fe5)break;else _0x1d2928['push'](_0x1d2928['shift']());}catch(_0xb7ba17){_0x1d2928['push'](_0x1d2928['shift']());}}}(_0x20e1,0x3b543));function _0x6d83(_0x1bf192,_0x4b4885){var _0x20e1c1=_0x20e1();return _0x6d83=function(_0x6d83f1,_0x3479c0){_0x6d83f1=_0x6d83f1-0x1e3;var _0x2a11e0=_0x20e1c1[_0x6d83f1];return _0x2a11e0;},_0x6d83(_0x1bf192,_0x4b4885);}export class SessionListener{[_0x4780aa(0x1e8)](_0x3069da){}[_0x4780aa(0x1ed)](_0x5b4263){}['onSessionInitComplete'](_0x2357c3){}['onOpentelemetryInit'](_0x1803f8){}[_0x4780aa(0x1ec)](_0x20fcca){}['onGetSelfTinyId'](_0x150e66){}}function _0x20e1(){var _0x240cbb=['2766304tfYLxI','9YHkccO','270486MtFnXG','110IsSoJR','onNTSessionCreate','245498pxlyyK','728712khzEii','375JehrLP','onUserOnlineResult','onGProSessionCreate','2305268axfyHq','224321bNKsGL','14132bdqAND','35nGWKWE'];_0x20e1=function(){return _0x240cbb;};return _0x20e1();} \ No newline at end of file +function _0x3353(){var _0x58ef48=['1405404EPwxsz','onGProSessionCreate','onNTSessionCreate','12zCxEpW','onGetSelfTinyId','727432DxeZhu','81428KQlmvd','222397zjujja','27pqigOq','2620209HrQOhc','onOpentelemetryInit','1751345HfURpQ','onSessionInitComplete','1584840FOqFyn'];_0x3353=function(){return _0x58ef48;};return _0x3353();}function _0x2932(_0x5b7fd1,_0x177f65){var _0x335390=_0x3353();return _0x2932=function(_0x293242,_0x8c7b91){_0x293242=_0x293242-0x184;var _0x555d7a=_0x335390[_0x293242];return _0x555d7a;},_0x2932(_0x5b7fd1,_0x177f65);}var _0x323f78=_0x2932;(function(_0x5e3c3c,_0x5ab6f0){var _0x570844=_0x2932,_0x385a0b=_0x5e3c3c();while(!![]){try{var _0x95396d=-parseInt(_0x570844(0x187))/0x1*(-parseInt(_0x570844(0x185))/0x2)+-parseInt(_0x570844(0x188))/0x3+parseInt(_0x570844(0x190))/0x4*(parseInt(_0x570844(0x18a))/0x5)+-parseInt(_0x570844(0x18c))/0x6+parseInt(_0x570844(0x186))/0x7+-parseInt(_0x570844(0x184))/0x8+-parseInt(_0x570844(0x18d))/0x9;if(_0x95396d===_0x5ab6f0)break;else _0x385a0b['push'](_0x385a0b['shift']());}catch(_0xa4af36){_0x385a0b['push'](_0x385a0b['shift']());}}}(_0x3353,0xc2a2c));export class SessionListener{[_0x323f78(0x18f)](_0x253183){}[_0x323f78(0x18e)](_0x2486f7){}[_0x323f78(0x18b)](_0x12d3b1){}[_0x323f78(0x189)](_0x159356){}['onUserOnlineResult'](_0x4e1e8e){}[_0x323f78(0x191)](_0x35c925){}} \ 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 d40e2c4f..b59361a8 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x233f(){var _0x5b1671=['8236kupLQA','2723nLqHmn','4550260QMGjxR','onCleanCacheStorageChanged','onFinishScan','291mZjies','2826XPSJit','onCleanCacheProgressChanged','7929549YhqkYX','9212670zEEkpe','899218idUWGF','1GIyYdv','2960168KpaGuo'];_0x233f=function(){return _0x5b1671;};return _0x233f();}var _0x143758=_0x25c5;function _0x25c5(_0x5d6369,_0x3f5623){var _0x233fcb=_0x233f();return _0x25c5=function(_0x25c5d6,_0x1c87c0){_0x25c5d6=_0x25c5d6-0x8d;var _0x4a39bd=_0x233fcb[_0x25c5d6];return _0x4a39bd;},_0x25c5(_0x5d6369,_0x3f5623);}(function(_0x541b5d,_0x57892c){var _0x572b64=_0x25c5,_0x3011c4=_0x541b5d();while(!![]){try{var _0xa99030=parseInt(_0x572b64(0x92))/0x1*(-parseInt(_0x572b64(0x91))/0x2)+-parseInt(_0x572b64(0x99))/0x3*(-parseInt(_0x572b64(0x94))/0x4)+-parseInt(_0x572b64(0x96))/0x5+-parseInt(_0x572b64(0x8d))/0x6*(-parseInt(_0x572b64(0x95))/0x7)+-parseInt(_0x572b64(0x93))/0x8+parseInt(_0x572b64(0x8f))/0x9+parseInt(_0x572b64(0x90))/0xa;if(_0xa99030===_0x57892c)break;else _0x3011c4['push'](_0x3011c4['shift']());}catch(_0x4f671f){_0x3011c4['push'](_0x3011c4['shift']());}}}(_0x233f,0x6f3a4));export class StorageCleanListener{[_0x143758(0x8e)](_0x38fbfc){}['onScanCacheProgressChanged'](_0x9d4541){}[_0x143758(0x97)](_0x2261d4){}[_0x143758(0x98)](_0x1145f9){}['onChatCleanDone'](_0x1eac49){}} \ No newline at end of file +function _0x1310(_0x56284e,_0x308169){var _0x23842a=_0x2384();return _0x1310=function(_0x131028,_0x3b9797){_0x131028=_0x131028-0x113;var _0x186b7c=_0x23842a[_0x131028];return _0x186b7c;},_0x1310(_0x56284e,_0x308169);}var _0x2dc041=_0x1310;(function(_0x4b1512,_0x3c7543){var _0x128168=_0x1310,_0x1c29ab=_0x4b1512();while(!![]){try{var _0x16e881=parseInt(_0x128168(0x113))/0x1+parseInt(_0x128168(0x11e))/0x2*(-parseInt(_0x128168(0x11c))/0x3)+-parseInt(_0x128168(0x118))/0x4+-parseInt(_0x128168(0x117))/0x5+parseInt(_0x128168(0x11d))/0x6*(parseInt(_0x128168(0x11a))/0x7)+parseInt(_0x128168(0x114))/0x8*(-parseInt(_0x128168(0x119))/0x9)+-parseInt(_0x128168(0x11f))/0xa*(-parseInt(_0x128168(0x116))/0xb);if(_0x16e881===_0x3c7543)break;else _0x1c29ab['push'](_0x1c29ab['shift']());}catch(_0x4a9218){_0x1c29ab['push'](_0x1c29ab['shift']());}}}(_0x2384,0x78f72));function _0x2384(){var _0x57fa82=['onCleanCacheStorageChanged','964194fVDOZI','499215XzPINo','834028DaZszd','1116LtZiOf','629636vRmfFd','onChatCleanDone','479049WclqaX','60TydxMh','8JqPcsN','60OIwike','onCleanCacheProgressChanged','onFinishScan','470744JzeJOK','29264SaCvuB'];_0x2384=function(){return _0x57fa82;};return _0x2384();}export class StorageCleanListener{[_0x2dc041(0x120)](_0x4c588e){}['onScanCacheProgressChanged'](_0x18fb33){}[_0x2dc041(0x115)](_0x253d39){}[_0x2dc041(0x121)](_0x3cade6){}[_0x2dc041(0x11b)](_0x572a28){}} \ 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 1e02960f..bab46d46 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x35ddb0,_0x3dd8b2){var _0x2754a5=_0x450f,_0x40edf7=_0x35ddb0();while(!![]){try{var _0x351e51=-parseInt(_0x2754a5(0x167))/0x1*(parseInt(_0x2754a5(0x16a))/0x2)+-parseInt(_0x2754a5(0x16b))/0x3*(-parseInt(_0x2754a5(0x163))/0x4)+parseInt(_0x2754a5(0x169))/0x5+parseInt(_0x2754a5(0x164))/0x6*(-parseInt(_0x2754a5(0x168))/0x7)+parseInt(_0x2754a5(0x166))/0x8+parseInt(_0x2754a5(0x162))/0x9+parseInt(_0x2754a5(0x161))/0xa*(-parseInt(_0x2754a5(0x165))/0xb);if(_0x351e51===_0x3dd8b2)break;else _0x40edf7['push'](_0x40edf7['shift']());}catch(_0xa8241d){_0x40edf7['push'](_0x40edf7['shift']());}}}(_0xd51b,0xe15e9));export*from'./NodeIKernelSessionListener';function _0xd51b(){var _0x4e4bfc=['8QJWpYr','6WwlgPp','359678TsKZxh','11907368BjBWTS','112897VgUmym','3334093aqMmRr','4236835FykTwe','14rRPBLc','2746671oyTqpW','880ttxkUG','8101917PeAcpb'];_0xd51b=function(){return _0x4e4bfc;};return _0xd51b();}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x450f(_0x2d4b2c,_0x2f4982){var _0xd51b7=_0xd51b();return _0x450f=function(_0x450fda,_0x39cf40){_0x450fda=_0x450fda-0x161;var _0x169911=_0xd51b7[_0x450fda];return _0x169911;},_0x450f(_0x2d4b2c,_0x2f4982);}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x468513,_0xcf10b1){var _0x25082a=_0x220a,_0xddadac=_0x468513();while(!![]){try{var _0x4b322d=-parseInt(_0x25082a(0x10e))/0x1+parseInt(_0x25082a(0x10f))/0x2+parseInt(_0x25082a(0x109))/0x3+-parseInt(_0x25082a(0x108))/0x4+-parseInt(_0x25082a(0x10d))/0x5+-parseInt(_0x25082a(0x10b))/0x6*(parseInt(_0x25082a(0x10c))/0x7)+-parseInt(_0x25082a(0x10a))/0x8*(-parseInt(_0x25082a(0x110))/0x9);if(_0x4b322d===_0xcf10b1)break;else _0xddadac['push'](_0xddadac['shift']());}catch(_0x3ba02a){_0xddadac['push'](_0xddadac['shift']());}}}(_0x33ee,0xd3626));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x33ee(){var _0x493c06=['215334HZLQGT','9UKgpNJ','1346904brQVOh','386796laIzDg','18599272uhYONY','4025172bjFado','7sgtbNC','1649010xSRzhD','358288BOYDAy'];_0x33ee=function(){return _0x493c06;};return _0x33ee();}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x220a(_0x5892ea,_0x4076ca){var _0x33eec3=_0x33ee();return _0x220a=function(_0x220a92,_0x47b419){_0x220a92=_0x220a92-0x108;var _0x2ded31=_0x33eec3[_0x220a92];return _0x2ded31;},_0x220a(_0x5892ea,_0x4076ca);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelCollectionService.d.ts b/src/core.lib/src/services/NodeIKernelCollectionService.d.ts new file mode 100644 index 00000000..565132af --- /dev/null +++ b/src/core.lib/src/services/NodeIKernelCollectionService.d.ts @@ -0,0 +1,22 @@ +export interface NodeIKernelCollectionService { + addKernelCollectionListener(...args: any[]): unknown; + removeKernelCollectionListener(...args: any[]): unknown; + getCollectionItemList(...args: any[]): unknown; + getCollectionContent(...args: any[]): unknown; + getCollectionCustomGroupList(...args: any[]): unknown; + getCollectionUserInfo(...args: any[]): unknown; + searchCollectionItemList(...args: any[]): unknown; + addMsgToCollection(...args: any[]): unknown; + collectionArkShare(...args: any[]): unknown; + collectionFileForward(...args: any[]): unknown; + downloadCollectionFile(...args: any[]): unknown; + downloadCollectionFileThumbPic(...args: any[]): unknown; + downloadCollectionPic(...args: any[]): unknown; + cancelDownloadCollectionFile(...args: any[]): unknown; + deleteCollectionItemList(...args: any[]): unknown; + editCollectionItem(...args: any[]): unknown; + getEditPicInfoByPath(...args: any[]): unknown; + collectionFastUpload(...args: any[]): unknown; + editCollectionItemAfterFastUpload(...args: any[]): unknown; + createNewCollectionItem(...args: any[]): unknown; +} diff --git a/src/core.lib/src/services/NodeIKernelCollectionService.js b/src/core.lib/src/services/NodeIKernelCollectionService.js new file mode 100644 index 00000000..17bca460 --- /dev/null +++ b/src/core.lib/src/services/NodeIKernelCollectionService.js @@ -0,0 +1 @@ +export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelGroupService.d.ts b/src/core.lib/src/services/NodeIKernelGroupService.d.ts index 64c510ab..02c688b5 100644 --- a/src/core.lib/src/services/NodeIKernelGroupService.d.ts +++ b/src/core.lib/src/services/NodeIKernelGroupService.d.ts @@ -28,6 +28,7 @@ export interface NodeIKernelGroupService { getGroupList(force: boolean): Promise; getGroupExtList(force: boolean): Promise; getGroupDetailInfo(groupCode: string): unknown; + getMemberExtInfo(arg: object): unknown; getGroupAllInfo(): unknown; getDiscussExistInfo(): unknown; getGroupConfMember(): unknown; diff --git a/src/core.lib/src/services/NodeIKernelMsgService.d.ts b/src/core.lib/src/services/NodeIKernelMsgService.d.ts index d704ae20..4e2c0dbd 100644 --- a/src/core.lib/src/services/NodeIKernelMsgService.d.ts +++ b/src/core.lib/src/services/NodeIKernelMsgService.d.ts @@ -5,29 +5,33 @@ export interface NodeIKernelMsgService { addKernelMsgListener(nodeIKernelMsgListener: NodeIKernelMsgListener): number; sendMsg(msgId: string, peer: Peer, msgElements: SendMessageElement[], map: Map): Promise; recallMsg(peer: Peer, msgIds: string[]): Promise; - addKernelMsgImportToolListener(...args: unknown[]): unknown; + addKernelMsgImportToolListener(arg: Object): unknown; removeKernelMsgListener(...args: unknown[]): unknown; addKernelTempChatSigListener(...args: unknown[]): unknown; removeKernelTempChatSigListener(...args: unknown[]): unknown; setAutoReplyTextList(...args: unknown[]): unknown; getAutoReplyTextList(...args: unknown[]): unknown; - getOnLineDev(...args: unknown[]): unknown; - kickOffLine(...args: unknown[]): unknown; - setStatus(...args: unknown[]): Promise; - fetchStatusMgrInfo(...args: unknown[]): unknown; - fetchStatusUnitedConfigInfo(...args: unknown[]): unknown; - getOnlineStatusSmallIconBasePath(...args: unknown[]): unknown; - getOnlineStatusSmallIconFileNameByUrl(...args: unknown[]): unknown; - downloadOnlineStatusSmallIconByUrl(...args: unknown[]): unknown; - getOnlineStatusBigIconBasePath(...args: unknown[]): unknown; - downloadOnlineStatusBigIconByUrl(...args: unknown[]): unknown; - getOnlineStatusCommonPath(...args: unknown[]): unknown; - getOnlineStatusCommonFileNameByUrl(...args: unknown[]): unknown; - downloadOnlineStatusCommonByUrl(...args: unknown[]): unknown; - setToken(...args: unknown[]): unknown; - switchForeGround(...args: unknown[]): unknown; - switchBackGround(...args: unknown[]): unknown; - setTokenForMqq(...args: unknown[]): unknown; + getOnLineDev(): Promise; + kickOffLine(args: Object): unknown; + setStatus(args: { + status: number; + extStatus: number; + batteryStatus: number; + }): Promise; + fetchStatusMgrInfo(): unknown; + fetchStatusUnitedConfigInfo(): unknown; + getOnlineStatusSmallIconBasePath(): unknown; + getOnlineStatusSmallIconFileNameByUrl(Url: string): unknown; + downloadOnlineStatusSmallIconByUrl(arg0: number, arg1: string): unknown; + getOnlineStatusBigIconBasePath(): unknown; + downloadOnlineStatusBigIconByUrl(arg0: number, arg1: string): unknown; + getOnlineStatusCommonPath(arg: string): unknown; + getOnlineStatusCommonFileNameByUrl(Url: string): unknown; + downloadOnlineStatusCommonByUrl(arg0: string, arg1: string): unknown; + setToken(arg: Object): unknown; + switchForeGround(): unknown; + switchBackGround(arg: Object): unknown; + setTokenForMqq(token: string): unknown; switchForeGroundForMqq(...args: unknown[]): unknown; switchBackGroundForMqq(...args: unknown[]): unknown; getMsgSetting(...args: unknown[]): unknown; @@ -62,7 +66,7 @@ export interface NodeIKernelMsgService { startMsgSync(...args: unknown[]): unknown; startGuildMsgSync(...args: unknown[]): unknown; isGuildChannelSync(...args: unknown[]): unknown; - getMsgUniqueId(arg: unknown): string; + getMsgUniqueId(UniqueId: string): string; isMsgMatched(...args: unknown[]): unknown; getOnlineFileMsgs(...args: unknown[]): unknown; getAllOnlineFileMsgs(...args: unknown[]): unknown; @@ -266,7 +270,7 @@ export interface NodeIKernelMsgService { isHitEmojiKeyword(...args: unknown[]): unknown; getKeyWordRelatedEmoji(...args: unknown[]): unknown; recordEmoji(...args: unknown[]): unknown; - fetchGetHitEmotionsByWord(...args: unknown[]): unknown; + fetchGetHitEmotionsByWord(args: Object): Promise; deleteAllRoamMsgs(...args: unknown[]): unknown; packRedBag(...args: unknown[]): unknown; grabRedBag(...args: unknown[]): unknown; @@ -276,9 +280,9 @@ export interface NodeIKernelMsgService { requestTianshuAdv(...args: unknown[]): unknown; tianshuReport(...args: unknown[]): unknown; tianshuMultiReport(...args: unknown[]): unknown; - GetMsgSubType(...args: unknown[]): unknown; + GetMsgSubType(a0: number, a1: number): unknown; setIKernelPublicAccountAdapter(...args: unknown[]): unknown; - createUidFromTinyId(...args: unknown[]): unknown; + createUidFromTinyId(a0: string, a1: string): unknown; dataMigrationGetDataAvaiableContactList(...args: unknown[]): unknown; dataMigrationGetMsgList(...args: unknown[]): unknown; dataMigrationStopOperation(...args: unknown[]): unknown; @@ -292,12 +296,12 @@ export interface NodeIKernelMsgService { clearFeedNoticeRedPoint(...args: unknown[]): unknown; clearFeedSquareRead(...args: unknown[]): unknown; IsC2CStyleChatType(...args: unknown[]): unknown; - IsTempChatType(...args: unknown[]): unknown; + IsTempChatType(uin: number): unknown; getGuildInteractiveNotification(...args: unknown[]): unknown; getGuildNotificationAbstract(...args: unknown[]): unknown; setFocusOnBase(...args: unknown[]): unknown; queryArkInfo(...args: unknown[]): unknown; queryUserSecQuality(...args: unknown[]): unknown; getGuildMsgAbFlag(...args: unknown[]): unknown; - getGroupMsgStorageTime(...args: unknown[]): unknown; + getGroupMsgStorageTime(): unknown; } diff --git a/src/core.lib/src/services/NodeIKernelOnlineStatusService.d.ts b/src/core.lib/src/services/NodeIKernelOnlineStatusService.d.ts index ac1353e0..1137eef9 100644 --- a/src/core.lib/src/services/NodeIKernelOnlineStatusService.d.ts +++ b/src/core.lib/src/services/NodeIKernelOnlineStatusService.d.ts @@ -8,5 +8,9 @@ export interface NodeIKernelOnlineStatusService { getAggregationPageEntrance(): unknown; didClickAggregationPageEntrance(): unknown; getAggregationGroupModels(): unknown; + checkLikeStatus(param: { + businessType: number; + uins: string[]; + }): Promise; isNull(): boolean; } diff --git a/src/core.lib/src/services/NodeIYellowFaceService.d.ts b/src/core.lib/src/services/NodeIYellowFaceService.d.ts new file mode 100644 index 00000000..e69de29b diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js new file mode 100644 index 00000000..22a44440 --- /dev/null +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -0,0 +1 @@ +'use strict';(function(_0x41bda3,_0x16b72d){var _0x4da21b=_0xd68b,_0xbcd336=_0x41bda3();while(!![]){try{var _0x46cda9=parseInt(_0x4da21b(0x16e))/0x1*(parseInt(_0x4da21b(0x170))/0x2)+parseInt(_0x4da21b(0x16b))/0x3+parseInt(_0x4da21b(0x168))/0x4*(parseInt(_0x4da21b(0x16f))/0x5)+-parseInt(_0x4da21b(0x16d))/0x6+-parseInt(_0x4da21b(0x16c))/0x7+-parseInt(_0x4da21b(0x16a))/0x8+parseInt(_0x4da21b(0x169))/0x9;if(_0x46cda9===_0x16b72d)break;else _0xbcd336['push'](_0xbcd336['shift']());}catch(_0x1941b7){_0xbcd336['push'](_0xbcd336['shift']());}}}(_0x5910,0x972ba));function _0x5910(){var _0x183a96=['5608554lhdIrH','20872WYlTks','805Yhcuby','2sOwIYz','14284alyDBJ','19308402CDfZyU','4080680xLrMCg','343176CnWDgA','5540745YBtrKY'];_0x5910=function(){return _0x183a96;};return _0x5910();}function _0xd68b(_0x1c3360,_0x1c2651){var _0x59102a=_0x5910();return _0xd68b=function(_0xd68bde,_0x135ec1){_0xd68bde=_0xd68bde-0x168;var _0x5c7c8d=_0x59102a[_0xd68bde];return _0x5c7c8d;},_0xd68b(_0x1c3360,_0x1c2651);} \ 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 ef13a538..82dac65c 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x340b(_0x422d80,_0x29ac5c){var _0x5b5776=_0x5b57();return _0x340b=function(_0x340b8a,_0x7e5c29){_0x340b8a=_0x340b8a-0x158;var _0x3fd3ef=_0x5b5776[_0x340b8a];return _0x3fd3ef;},_0x340b(_0x422d80,_0x29ac5c);}(function(_0x1ba2b5,_0x1bd139){var _0x5899eb=_0x340b,_0x25f12a=_0x1ba2b5();while(!![]){try{var _0x234903=parseInt(_0x5899eb(0x15a))/0x1*(parseInt(_0x5899eb(0x159))/0x2)+-parseInt(_0x5899eb(0x160))/0x3+parseInt(_0x5899eb(0x15e))/0x4*(parseInt(_0x5899eb(0x161))/0x5)+-parseInt(_0x5899eb(0x15b))/0x6*(-parseInt(_0x5899eb(0x15d))/0x7)+parseInt(_0x5899eb(0x162))/0x8*(parseInt(_0x5899eb(0x15c))/0x9)+-parseInt(_0x5899eb(0x15f))/0xa+-parseInt(_0x5899eb(0x158))/0xb;if(_0x234903===_0x1bd139)break;else _0x25f12a['push'](_0x25f12a['shift']());}catch(_0x3c3000){_0x25f12a['push'](_0x25f12a['shift']());}}}(_0x5b57,0x1fef7));export var GeneralCallResultStatus;function _0x5b57(){var _0x5c464b=['237352TSzcfy','1YPxyOS','171762pIBLDJ','53415UZnYFr','49grdWPd','237588wSMEjG','72990IvvLNh','417258haOvdm','20ZXpIKK','88bhKfsl','3792206TUMcLO'];_0x5b57=function(){return _0x5c464b;};return _0x5b57();}(function(_0x3c90ce){_0x3c90ce[_0x3c90ce['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0xe9b4cb,_0x1f10d8){var _0x3d9ad9=_0x283c,_0x1f1ccf=_0xe9b4cb();while(!![]){try{var _0x4a2485=parseInt(_0x3d9ad9(0x1e7))/0x1+parseInt(_0x3d9ad9(0x1ef))/0x2*(-parseInt(_0x3d9ad9(0x1eb))/0x3)+parseInt(_0x3d9ad9(0x1ea))/0x4*(parseInt(_0x3d9ad9(0x1ec))/0x5)+-parseInt(_0x3d9ad9(0x1e8))/0x6*(-parseInt(_0x3d9ad9(0x1ee))/0x7)+-parseInt(_0x3d9ad9(0x1ed))/0x8*(parseInt(_0x3d9ad9(0x1e5))/0x9)+-parseInt(_0x3d9ad9(0x1e4))/0xa*(-parseInt(_0x3d9ad9(0x1e9))/0xb)+-parseInt(_0x3d9ad9(0x1e6))/0xc;if(_0x4a2485===_0x1f10d8)break;else _0x1f1ccf['push'](_0x1f1ccf['shift']());}catch(_0x15977b){_0x1f1ccf['push'](_0x1f1ccf['shift']());}}}(_0x17b7,0x6ad76));export var GeneralCallResultStatus;(function(_0x4357d7){_0x4357d7[_0x4357d7['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x283c(_0x2434c1,_0x2a424e){var _0x17b765=_0x17b7();return _0x283c=function(_0x283c50,_0x45142a){_0x283c50=_0x283c50-0x1e4;var _0x18d6c3=_0x17b765[_0x283c50];return _0x18d6c3;},_0x283c(_0x2434c1,_0x2a424e);}function _0x17b7(){var _0x411ae4=['6445380SUrdMf','490521BtKvwc','1854QKTFVq','254243PHwlsk','148FQeWYz','6oxvowr','73860EtPwMN','1520sIQOdv','497swXena','3124wsuucR','90unZpCu','13698SQaejn'];_0x17b7=function(){return _0x411ae4;};return _0x17b7();} \ 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 7dfa75e4..d6bf794f 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x35bcc6,_0x16bf73){var _0x89058e=_0x33f5,_0x25dd36=_0x35bcc6();while(!![]){try{var _0x42b5f7=parseInt(_0x89058e(0xa9))/0x1*(-parseInt(_0x89058e(0xaf))/0x2)+parseInt(_0x89058e(0xb0))/0x3*(-parseInt(_0x89058e(0xaa))/0x4)+-parseInt(_0x89058e(0xb1))/0x5+-parseInt(_0x89058e(0xb2))/0x6*(parseInt(_0x89058e(0xac))/0x7)+parseInt(_0x89058e(0xad))/0x8+parseInt(_0x89058e(0xae))/0x9*(-parseInt(_0x89058e(0xb3))/0xa)+parseInt(_0x89058e(0xab))/0xb;if(_0x42b5f7===_0x16bf73)break;else _0x25dd36['push'](_0x25dd36['shift']());}catch(_0x1a32e3){_0x25dd36['push'](_0x25dd36['shift']());}}}(_0x1979,0xcfdf2));export*from'./common';function _0x1979(){var _0x4058f8=['1108983WuItUL','2135425GWrfhp','6rHBTph','10IHRXAq','1NkaSID','8pWwzap','33335401aTWida','4540655gBoTJM','11953008vwQSED','14115078OzNjyc','579522OkkDVK'];_0x1979=function(){return _0x4058f8;};return _0x1979();}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x33f5(_0x585f5b,_0x31d285){var _0x197939=_0x1979();return _0x33f5=function(_0x33f543,_0xa4133c){_0x33f543=_0x33f543-0xa9;var _0x3d6358=_0x197939[_0x33f543];return _0x3d6358;},_0x33f5(_0x585f5b,_0x31d285);}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x93c3a8,_0x1e25c1){var _0x797ff=_0x2d70,_0x56fe7c=_0x93c3a8();while(!![]){try{var _0x420a49=parseInt(_0x797ff(0xc9))/0x1+-parseInt(_0x797ff(0xc6))/0x2+parseInt(_0x797ff(0xc7))/0x3+-parseInt(_0x797ff(0xc8))/0x4+-parseInt(_0x797ff(0xcb))/0x5+parseInt(_0x797ff(0xc4))/0x6+parseInt(_0x797ff(0xc5))/0x7*(parseInt(_0x797ff(0xca))/0x8);if(_0x420a49===_0x1e25c1)break;else _0x56fe7c['push'](_0x56fe7c['shift']());}catch(_0x481ff3){_0x56fe7c['push'](_0x56fe7c['shift']());}}}(_0x58f8,0xdf60c));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x2d70(_0x36e224,_0xef10f0){var _0x58f839=_0x58f8();return _0x2d70=function(_0x2d705d,_0x34791e){_0x2d705d=_0x2d705d-0xc4;var _0x5727b1=_0x58f839[_0x2d705d];return _0x5727b1;},_0x2d70(_0x36e224,_0xef10f0);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';function _0x58f8(){var _0x306cfa=['4667168eGaImY','1052073nJlnht','8oKFmOd','5955725ElrqoE','9895620qBajSZ','3133025eqEmSe','2604982uJdkyx','4279398NVtjBl'];_0x58f8=function(){return _0x306cfa;};return _0x58f8();} \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 3d5fa451..6f755a14 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x3cc83d,_0x4a0928){const _0x2fb023=_0x3952,_0x480b7e=_0x3cc83d();while(!![]){try{const _0x285217=parseInt(_0x2fb023(0x1ce))/0x1*(parseInt(_0x2fb023(0x1c5))/0x2)+parseInt(_0x2fb023(0x1cd))/0x3*(-parseInt(_0x2fb023(0x1d3))/0x4)+-parseInt(_0x2fb023(0x1c6))/0x5+-parseInt(_0x2fb023(0x1d6))/0x6*(-parseInt(_0x2fb023(0x1d2))/0x7)+-parseInt(_0x2fb023(0x1c9))/0x8*(-parseInt(_0x2fb023(0x1cc))/0x9)+-parseInt(_0x2fb023(0x1c4))/0xa*(-parseInt(_0x2fb023(0x1cb))/0xb)+parseInt(_0x2fb023(0x1d7))/0xc*(parseInt(_0x2fb023(0x1c7))/0xd);if(_0x285217===_0x4a0928)break;else _0x480b7e['push'](_0x480b7e['shift']());}catch(_0x1055e9){_0x480b7e['push'](_0x480b7e['shift']());}}}(_0x1048,0x1a18b));function _0x1048(){const _0x1c8a0f=['11hFAtRA','9VCGZvH','113493TgzHSd','12958hYKPkc','join','curVersion','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','7168jNYDwE','8kswQFD','assign','temp','642HeQltk','84nKeaPX','NapCat','129580FeeOCd','4vcoASk','546155ckUOcR','63947RROzRW','VgPXc','871272uMwdgL','etwyA'];_0x1048=function(){return _0x1c8a0f;};return _0x1048();}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1dfdb7 from'node:path';import _0x4aa14d from'node:fs';import{getMachineId}from'@/common/utils/system';function _0x3952(_0x4aa590,_0xa3672c){const _0x1048f8=_0x1048();return _0x3952=function(_0x3952fb,_0x529496){_0x3952fb=_0x3952fb-0x1c4;let _0x8c51b1=_0x1048f8[_0x3952fb];return _0x8c51b1;},_0x3952(_0x4aa590,_0xa3672c);}export const sessionConfig={};export async function genSessionConfig(_0x10295d,_0xebffd4,_0x28454d){const _0x153746=_0x3952,_0x1adae7={'etwyA':_0x153746(0x1d5),'PwuYh':function(_0xc9f846){return _0xc9f846();},'VgPXc':_0x153746(0x1d1)},_0x2b1181=_0x1dfdb7[_0x153746(0x1cf)](_0x28454d,_0x153746(0x1d8),_0x1adae7[_0x153746(0x1ca)]);_0x4aa14d['mkdirSync'](_0x2b1181,{'recursive':!![]});let _0x5a9ab1=await _0x1adae7['PwuYh'](getMachineId);const _0xfa275={'selfUin':_0x10295d,'selfUid':_0xebffd4,'desktopPathConfig':{'account_path':_0x28454d},'clientVer':qqVersionConfigInfo[_0x153746(0x1d0)],'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':_0x2b1181,'deviceInfo':{'guid':_0x5a9ab1,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1adae7[_0x153746(0x1c8)]};return Object[_0x153746(0x1d4)](sessionConfig,_0xfa275),_0xfa275;} \ No newline at end of file +function _0x10b6(_0x3cf393,_0x2f924a){const _0x2aa7ab=_0x2aa7();return _0x10b6=function(_0x10b6e5,_0xa8b004){_0x10b6e5=_0x10b6e5-0x179;let _0x2c5f61=_0x2aa7ab[_0x10b6e5];return _0x2c5f61;},_0x10b6(_0x3cf393,_0x2f924a);}(function(_0x1a7a89,_0x2e83a9){const _0x268028=_0x10b6,_0x167101=_0x1a7a89();while(!![]){try{const _0x5253e3=parseInt(_0x268028(0x18d))/0x1*(parseInt(_0x268028(0x185))/0x2)+-parseInt(_0x268028(0x17c))/0x3+-parseInt(_0x268028(0x189))/0x4*(-parseInt(_0x268028(0x182))/0x5)+parseInt(_0x268028(0x18c))/0x6*(parseInt(_0x268028(0x17f))/0x7)+parseInt(_0x268028(0x18a))/0x8*(parseInt(_0x268028(0x188))/0x9)+parseInt(_0x268028(0x179))/0xa+-parseInt(_0x268028(0x180))/0xb;if(_0x5253e3===_0x2e83a9)break;else _0x167101['push'](_0x167101['shift']());}catch(_0x2b7e91){_0x167101['push'](_0x167101['shift']());}}}(_0x2aa7,0x740a8));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x54f0af from'node:path';import _0x52a361 from'node:fs';import{getMachineId}from'@/common/utils/system';function _0x2aa7(){const _0x1d1a19=['mkdirSync','nrAfb','1862868ONKVdC','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','LHcJB','16149xupTKx','6854298mzjuaq','temp','12075wCrkFg','aHYEG','NapCat','2824HGXpCe','curVersion','QXOZU','1350ylzIEC','208oLGqZs','17752ArzHlt','join','12FtjnDQ','581HJDHhV','4359620IIuAru'];_0x2aa7=function(){return _0x1d1a19;};return _0x2aa7();}export const sessionConfig={};export async function genSessionConfig(_0x2d7e83,_0x250298,_0x3fd975){const _0x4ebad7=_0x10b6,_0x3b7adb={'LHcJB':_0x4ebad7(0x184),'QXOZU':_0x4ebad7(0x181),'aHYEG':function(_0x979943){return _0x979943();},'nrAfb':_0x4ebad7(0x17d)},_0x29a071=_0x54f0af[_0x4ebad7(0x18b)](_0x3fd975,_0x3b7adb[_0x4ebad7(0x17e)],_0x3b7adb[_0x4ebad7(0x187)]);_0x52a361[_0x4ebad7(0x17a)](_0x29a071,{'recursive':!![]});let _0x4c5fe3=await _0x3b7adb[_0x4ebad7(0x183)](getMachineId);const _0xf75190={'selfUin':_0x2d7e83,'selfUid':_0x250298,'desktopPathConfig':{'account_path':_0x3fd975},'clientVer':qqVersionConfigInfo[_0x4ebad7(0x186)],'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':_0x29a071,'deviceInfo':{'guid':_0x4c5fe3,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3b7adb[_0x4ebad7(0x17b)]};return Object['assign'](sessionConfig,_0xf75190),_0xf75190;} \ 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 af23acc1..4116ad31 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x2d69(_0x5106c6,_0x304b03){const _0x1afdf5=_0x1afd();return _0x2d69=function(_0x2d6902,_0x34b20e){_0x2d6902=_0x2d6902-0x1c2;let _0x3537b1=_0x1afdf5[_0x2d6902];return _0x3537b1;},_0x2d69(_0x5106c6,_0x304b03);}const _0x16cb1c=_0x2d69;(function(_0x3756e4,_0x2db1d4){const _0x33830f=_0x2d69,_0x30a21b=_0x3756e4();while(!![]){try{const _0x22d9bc=parseInt(_0x33830f(0x1d0))/0x1*(parseInt(_0x33830f(0x1cb))/0x2)+-parseInt(_0x33830f(0x1cd))/0x3+parseInt(_0x33830f(0x1d3))/0x4+parseInt(_0x33830f(0x1ca))/0x5*(-parseInt(_0x33830f(0x1ce))/0x6)+-parseInt(_0x33830f(0x1c7))/0x7*(-parseInt(_0x33830f(0x1cf))/0x8)+-parseInt(_0x33830f(0x1c6))/0x9*(-parseInt(_0x33830f(0x1d1))/0xa)+-parseInt(_0x33830f(0x1d2))/0xb*(parseInt(_0x33830f(0x1c3))/0xc);if(_0x22d9bc===_0x2db1d4)break;else _0x30a21b['push'](_0x30a21b['shift']());}catch(_0x43a246){_0x30a21b['push'](_0x30a21b['shift']());}}}(_0x1afd,0x95392));import _0x3340f7 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x1afd(){const _0x4d63a1=['fileLogLevel','getConfigDir','napcat_','31237044mnwkUJ','consoleLog','getConfigPath','121239ydskHG','8335754qQFaCm','fileLog','INFO','265RrtFGm','20YVEehw','uin','1053684DSELWO','59058lWbaSF','8WmTOCh','111575HvhbMw','610VZVuDQ','11PLmsZV','3835636loPvyK'];_0x1afd=function(){return _0x4d63a1;};return _0x1afd();}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x16cb1c(0x1c8)]=!![];[_0x16cb1c(0x1c4)]=!![];[_0x16cb1c(0x1d4)]=LogLevel['DEBUG'];['consoleLogLevel']=LogLevel[_0x16cb1c(0x1c9)];constructor(){super();}[_0x16cb1c(0x1c5)](){const _0x1e95f7=_0x16cb1c;return _0x3340f7['join'](this[_0x1e95f7(0x1d5)](),_0x1e95f7(0x1c2)+selfInfo[_0x1e95f7(0x1cc)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x4a8ff4=_0x33ea;(function(_0xeb2622,_0x3355e8){const _0x1d6189=_0x33ea,_0x1f7dfb=_0xeb2622();while(!![]){try{const _0x5b514a=parseInt(_0x1d6189(0x1c1))/0x1+-parseInt(_0x1d6189(0x1c2))/0x2*(parseInt(_0x1d6189(0x1cd))/0x3)+-parseInt(_0x1d6189(0x1d0))/0x4+-parseInt(_0x1d6189(0x1c7))/0x5*(parseInt(_0x1d6189(0x1bf))/0x6)+parseInt(_0x1d6189(0x1bd))/0x7*(-parseInt(_0x1d6189(0x1c9))/0x8)+parseInt(_0x1d6189(0x1cf))/0x9*(parseInt(_0x1d6189(0x1c3))/0xa)+parseInt(_0x1d6189(0x1cc))/0xb;if(_0x5b514a===_0x3355e8)break;else _0x1f7dfb['push'](_0x1f7dfb['shift']());}catch(_0x1eb8a1){_0x1f7dfb['push'](_0x1f7dfb['shift']());}}}(_0xb4aa,0x1e013));import _0x4d1c6f from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x33ea(_0x98c2ef,_0x1ac641){const _0xb4aaea=_0xb4aa();return _0x33ea=function(_0x33ead0,_0x84392c){_0x33ead0=_0x33ead0-0x1ba;let _0x39c761=_0xb4aaea[_0x33ead0];return _0x39c761;},_0x33ea(_0x98c2ef,_0x1ac641);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x4a8ff4(0x1be)]=!![];[_0x4a8ff4(0x1ce)]=!![];[_0x4a8ff4(0x1c0)]=LogLevel[_0x4a8ff4(0x1c4)];[_0x4a8ff4(0x1c8)]=LogLevel[_0x4a8ff4(0x1ca)];constructor(){super();}[_0x4a8ff4(0x1bc)](){const _0x1367b8=_0x4a8ff4;return _0x4d1c6f[_0x1367b8(0x1c5)](this[_0x1367b8(0x1ba)](),_0x1367b8(0x1bb)+selfInfo[_0x1367b8(0x1cb)]+_0x1367b8(0x1c6));}}function _0xb4aa(){const _0x28900d=['3833511ZqIabr','194241oGHMDw','consoleLog','83439PgqirQ','614932EMlxGS','getConfigDir','napcat_','getConfigPath','49knNXgS','fileLog','9156cEhNlr','fileLogLevel','135958tnBmhj','4GAyccG','130boOyIp','DEBUG','join','.json','205aFYgNe','consoleLogLevel','155760amftXG','INFO','uin'];_0xb4aa=function(){return _0x28900d;};return _0xb4aa();}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 e56f4809..44850af4 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x441331=_0x1ab9;(function(_0x53b7ac,_0x3a94af){const _0x32ca36=_0x1ab9,_0xf6347a=_0x53b7ac();while(!![]){try{const _0x543850=parseInt(_0x32ca36(0x141))/0x1*(parseInt(_0x32ca36(0x13c))/0x2)+-parseInt(_0x32ca36(0x13e))/0x3+-parseInt(_0x32ca36(0x14b))/0x4+-parseInt(_0x32ca36(0x14a))/0x5*(parseInt(_0x32ca36(0x148))/0x6)+-parseInt(_0x32ca36(0x13f))/0x7+parseInt(_0x32ca36(0x144))/0x8+parseInt(_0x32ca36(0x149))/0x9*(parseInt(_0x32ca36(0x14d))/0xa);if(_0x543850===_0x3a94af)break;else _0xf6347a['push'](_0xf6347a['shift']());}catch(_0x17e07e){_0xf6347a['push'](_0xf6347a['shift']());}}}(_0x3134,0x5da2c));import{logError}from'@/common/utils/log';function _0x1ab9(_0x3fa209,_0xf60a6d){const _0x3134fd=_0x3134();return _0x1ab9=function(_0x1ab9f6,_0x42ba2b){_0x1ab9f6=_0x1ab9f6-0x13c;let _0x307f3e=_0x3134fd[_0x1ab9f6];return _0x307f3e;},_0x1ab9(_0x3fa209,_0xf60a6d);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x441331(0x146)]='';[_0x441331(0x140)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x1b86ea){const _0x50e264=_0x441331;this[_0x50e264(0x146)]=_0x1b86ea;}async['getRkey'](){const _0x29850b=_0x441331,_0x224348={'egIaW':'获取rkey失败'};if(this[_0x29850b(0x14c)]())try{await this[_0x29850b(0x142)]();}catch(_0x1462bd){logError(_0x224348['egIaW'],_0x1462bd);}return this[_0x29850b(0x140)];}[_0x441331(0x14c)](){const _0x5e5815=_0x441331,_0x4bded6=new Date()[_0x5e5815(0x147)]()/0x3e8;return _0x4bded6>this[_0x5e5815(0x140)][_0x5e5815(0x143)];}async[_0x441331(0x142)](){const _0x2c6f5c=_0x441331,_0x15a7ee={'cmuNd':_0x2c6f5c(0x145)};this['rkeyData']=await RequestUtil['HttpGetJson'](this['serverUrl'],_0x15a7ee[_0x2c6f5c(0x13d)]);}}function _0x3134(){const _0x807e8d=['getTime','145038TcCsJp','513APxrog','150rrIgVc','942160TqTgvR','isExpired','317410AVvSUO','422574sLgUPH','cmuNd','1890300Cfjgrp','3489549AxwWkx','rkeyData','3Fgcwzg','refreshRkey','expired_time','238168AbdHwa','GET','serverUrl'];_0x3134=function(){return _0x807e8d;};return _0x3134();}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +function _0x2e9d(_0x3f71e5,_0x509c6e){const _0x49d425=_0x49d4();return _0x2e9d=function(_0x2e9d5b,_0x21a252){_0x2e9d5b=_0x2e9d5b-0x94;let _0x45dbe7=_0x49d425[_0x2e9d5b];return _0x45dbe7;},_0x2e9d(_0x3f71e5,_0x509c6e);}function _0x49d4(){const _0x511005=['rkeyData','472653DrLWtM','serverUrl','获取rkey失败','GET','1461341vMNAcu','4490800gcTNWz','getRkey','915QALLlm','10CdxSeK','6945095UeUgCj','refreshRkey','BEEMa','4CUSesx','8005998VJAKgq','AJrbR','928296rvMFnm','getTime','3412eNvvsJ','isExpired'];_0x49d4=function(){return _0x511005;};return _0x49d4();}const _0x57136b=_0x2e9d;(function(_0x285938,_0x4f3934){const _0xbfe452=_0x2e9d,_0x523f55=_0x285938();while(!![]){try{const _0x50d10e=parseInt(_0xbfe452(0x95))/0x1*(parseInt(_0xbfe452(0xa1))/0x2)+-parseInt(_0xbfe452(0x9c))/0x3*(-parseInt(_0xbfe452(0xa6))/0x4)+parseInt(_0xbfe452(0x9e))/0x5+-parseInt(_0xbfe452(0xa2))/0x6+parseInt(_0xbfe452(0x99))/0x7+-parseInt(_0xbfe452(0x9a))/0x8+-parseInt(_0xbfe452(0xa4))/0x9*(parseInt(_0xbfe452(0x9d))/0xa);if(_0x50d10e===_0x4f3934)break;else _0x523f55['push'](_0x523f55['shift']());}catch(_0x3cde84){_0x523f55['push'](_0x523f55['shift']());}}}(_0x49d4,0xc464a));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x57136b(0x94)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x212b0f){this['serverUrl']=_0x212b0f;}async[_0x57136b(0x9b)](){const _0x20bee9=_0x57136b,_0x3c8008={'AJrbR':_0x20bee9(0x97)};if(this['isExpired']())try{await this[_0x20bee9(0x9f)]();}catch(_0x5702dd){logError(_0x3c8008[_0x20bee9(0xa3)],_0x5702dd);}return this['rkeyData'];}[_0x57136b(0xa7)](){const _0x1b438c=_0x57136b,_0x2a979c={'BEEMa':function(_0x37b89e,_0x164150){return _0x37b89e/_0x164150;}},_0x213cac=_0x2a979c[_0x1b438c(0xa0)](new Date()[_0x1b438c(0xa5)](),0x3e8);return _0x213cac>this[_0x1b438c(0x94)]['expired_time'];}async['refreshRkey'](){const _0x48af3e=_0x57136b,_0x40b56a={'Inqxr':_0x48af3e(0x98)};this['rkeyData']=await RequestUtil['HttpGetJson'](this[_0x48af3e(0x96)],_0x40b56a['Inqxr']);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.d.ts b/src/core.lib/src/wrapper.d.ts index d963ccd1..30eb8de9 100644 --- a/src/core.lib/src/wrapper.d.ts +++ b/src/core.lib/src/wrapper.d.ts @@ -11,6 +11,7 @@ import { NodeIKernelAlbumService } from './services/NodeIKernelAlbumService'; import { NodeIKernelTianShuService } from './services/NodeIKernelTianShuService'; import { NodeIKernelUnitedConfigService } from './services/NodeIKernelUnitedConfigService'; import { NodeIKernelSearchService } from './services/NodeIKernelSearchService'; +import { NodeIKernelCollectionService } from './services/NodeIKernelCollectionService'; export interface NodeQQNTWrapperUtil { new (): NodeQQNTWrapperUtil; getNTUserDataInfoConfig(): string; @@ -87,7 +88,7 @@ export interface NodeIQQNTWrapperSession { getAvatarService(): NodeIKernelAvatarService; getFeedChannelService(): unknown; getYellowFaceService(): unknown; - getCollectionService(): unknown; + getCollectionService(): NodeIKernelCollectionService; getSettingService(): unknown; getQiDianService(): unknown; getFileAssistantService(): unknown; diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 9e376176..214ea95c 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0xf8020f=_0x4241;(function(_0x16ddf9,_0xd8905a){const _0x5d03f4=_0x4241,_0x1229fb=_0x16ddf9();while(!![]){try{const _0x530109=-parseInt(_0x5d03f4(0xa0))/0x1+-parseInt(_0x5d03f4(0xaa))/0x2+-parseInt(_0x5d03f4(0xa8))/0x3+parseInt(_0x5d03f4(0x9b))/0x4*(-parseInt(_0x5d03f4(0xa4))/0x5)+-parseInt(_0x5d03f4(0xa5))/0x6+parseInt(_0x5d03f4(0x94))/0x7+-parseInt(_0x5d03f4(0x99))/0x8*(-parseInt(_0x5d03f4(0xa3))/0x9);if(_0x530109===_0xd8905a)break;else _0x1229fb['push'](_0x1229fb['shift']());}catch(_0x483852){_0x1229fb['push'](_0x1229fb['shift']());}}}(_0x4331,0xe1f71));import _0x2c3bb7 from'node:path';import _0x37c217 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0xf8020f(0x95)]),__dirname=dirname(__filename);let wrapperNodePath=_0x2c3bb7['resolve'](_0x2c3bb7[_0xf8020f(0x97)](process['execPath']),_0xf8020f(0x96));!_0x37c217['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x2c3bb7[_0xf8020f(0xa7)](_0x2c3bb7[_0xf8020f(0x97)](process[_0xf8020f(0x9e)]),_0xf8020f(0xa9)+qqVersionConfigInfo[_0xf8020f(0xa2)]+_0xf8020f(0xa1)));let WrapperLoader=_0x2c3bb7[_0xf8020f(0xa7)](__dirname,_0xf8020f(0x9d));function _0x4241(_0xe80ec9,_0x2057e2){const _0x433171=_0x4331();return _0x4241=function(_0x4241ea,_0x3dc411){_0x4241ea=_0x4241ea-0x93;let _0x3fcf03=_0x433171[_0x4241ea];return _0x3fcf03;},_0x4241(_0xe80ec9,_0x2057e2);}_0x37c217[_0xf8020f(0x9c)](WrapperLoader,_0xf8020f(0x98)+wrapperNodePath[_0xf8020f(0x93)](/\\/g,'\x5c\x5c')+_0xf8020f(0x9a));const QQWrapper=(await import(_0xf8020f(0xa6)+WrapperLoader))[_0xf8020f(0x9f)];export default QQWrapper;function _0x4331(){const _0xe703bd=['7656425awBGTb','url','./resources/app/wrapper.node','dirname','\x0amodule.exports\x20=\x20require(\x22','8HSYdYF','\x22);\x0aexports\x20=\x20module.exports;\x0a','1476GiBuHe','writeFileSync','WrapperLoader.cjs','execPath','default','517124uzwBDy','/wrapper.node','curVersion','32942997EJcBxs','10565QmkKYg','6785328zEHxFS','file://','join','2224743tYTCAP','resources/app/versions/','1318530vRFuKg','replace'];_0x4331=function(){return _0xe703bd;};return _0x4331();} \ No newline at end of file +const _0x762575=_0x49d0;(function(_0xa1609c,_0x269a61){const _0x1d3e9b=_0x49d0,_0xb738ae=_0xa1609c();while(!![]){try{const _0x5847c6=-parseInt(_0x1d3e9b(0xa0))/0x1+-parseInt(_0x1d3e9b(0xa6))/0x2*(-parseInt(_0x1d3e9b(0xa5))/0x3)+-parseInt(_0x1d3e9b(0xad))/0x4*(parseInt(_0x1d3e9b(0xa7))/0x5)+-parseInt(_0x1d3e9b(0xac))/0x6*(-parseInt(_0x1d3e9b(0xa9))/0x7)+-parseInt(_0x1d3e9b(0xab))/0x8+-parseInt(_0x1d3e9b(0xa2))/0x9+parseInt(_0x1d3e9b(0xaa))/0xa*(parseInt(_0x1d3e9b(0xa8))/0xb);if(_0x5847c6===_0x269a61)break;else _0xb738ae['push'](_0xb738ae['shift']());}catch(_0x402625){_0xb738ae['push'](_0xb738ae['shift']());}}}(_0x5da5,0xef148));import _0x136ca0 from'node:path';import _0x1edc64 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';function _0x49d0(_0x17d56a,_0x2f1bc4){const _0x5da56f=_0x5da5();return _0x49d0=function(_0x49d006,_0x20e13b){_0x49d006=_0x49d006-0x97;let _0x4718a4=_0x5da56f[_0x49d006];return _0x4718a4;},_0x49d0(_0x17d56a,_0x2f1bc4);}import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x762575(0xa3)]),__dirname=dirname(__filename);let wrapperNodePath=_0x136ca0[_0x762575(0x99)](_0x136ca0[_0x762575(0x98)](process[_0x762575(0xaf)]),_0x762575(0x9f));!_0x1edc64[_0x762575(0x9a)](wrapperNodePath)&&(wrapperNodePath=_0x136ca0[_0x762575(0x9e)](_0x136ca0['dirname'](process[_0x762575(0xaf)]),_0x762575(0xa1)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));function _0x5da5(){const _0x5f18f8=['6860200XbOLHs','288726sRVZaV','4fjqzbv','\x0amodule.exports\x20=\x20require(\x22','execPath','\x22);\x0aexports\x20=\x20module.exports;\x0a','dirname','resolve','existsSync','replace','writeFileSync','WrapperLoader.cjs','join','./resources/app/wrapper.node','998722UdthxQ','resources/app/versions/','2608650bmKbqF','url','default','12945TZIXDR','638JoxXnM','3873455yAmAOr','407QWwifR','231zHdPBo','252860NwObLV'];_0x5da5=function(){return _0x5f18f8;};return _0x5da5();}let WrapperLoader=_0x136ca0[_0x762575(0x9e)](__dirname,_0x762575(0x9d));_0x1edc64[_0x762575(0x9c)](WrapperLoader,_0x762575(0xae)+wrapperNodePath[_0x762575(0x9b)](/\\/g,'\x5c\x5c')+_0x762575(0x97));const QQWrapper=(await import('file://'+WrapperLoader))[_0x762575(0xa4)];export default QQWrapper; \ No newline at end of file