From 0499ebbea327163d8c27636257f2c861f072946f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sat, 1 Jun 2024 15:52:06 +0800 Subject: [PATCH] release: v1.4.7 --- docs/changelogs/CHANGELOG.v1.4.7.md | 11 +++++++++++ package.json | 2 +- src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.d.ts | 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.d.ts | 1 + 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 +- .../src/listeners/NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelMsgListener.js | 2 +- .../src/listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../src/listeners/NodeIKernelSessionListener.js | 2 +- .../src/listeners/NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- src/onebot11/action/go-cqhttp/UploadGroupFile.ts | 9 +++++---- src/onebot11/version.ts | 2 +- src/webui/ui/NapCat.ts | 2 +- static/assets/renderer.js | 2 +- 48 files changed, 62 insertions(+), 49 deletions(-) create mode 100644 docs/changelogs/CHANGELOG.v1.4.7.md diff --git a/docs/changelogs/CHANGELOG.v1.4.7.md b/docs/changelogs/CHANGELOG.v1.4.7.md new file mode 100644 index 00000000..beca39a8 --- /dev/null +++ b/docs/changelogs/CHANGELOG.v1.4.7.md @@ -0,0 +1,11 @@ +# v1.4.7 + +QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361 + +## 修复与优化 +* 临时扩展 Api: GoCQHTTPUploadGroupFile folder_id字段 用于选择文件夹 + +## 新增与调整 + + +新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api) \ No newline at end of file diff --git a/package.json b/package.json index 78b83e6b..98d6f506 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "1.4.6", + "version": "1.4.7", "scripts": { "watch:dev": "vite --mode development", "watch:prod": "vite --mode production", diff --git a/src/core b/src/core index a0a4fd1c..f2cbf64f 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit a0a4fd1c99cb605daa2608f9ea3d914739ce7358 +Subproject commit f2cbf64f5534aede6c16ba4dc53cdb28f6d5bb3d diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index f0b111e3..7f172a6b 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x5222(){var _0x3091f8=['6273aTfWba','9981447HMXcwA','2890585oSjsvJ','8TdYIWz','3243588DGNCtB','getGroupCode','43803705QezSUk','1200309ykLrjF','1770620oiFLFj','6070xVmufr','18IROTnB','4AICfZO'];_0x5222=function(){return _0x3091f8;};return _0x5222();}var _0x5fba51=_0x5d34;(function(_0x4bf11c,_0x14198d){var _0x2fd03f=_0x5d34,_0x4d6419=_0x4bf11c();while(!![]){try{var _0x4850c9=parseInt(_0x2fd03f(0xf8))/0x1+-parseInt(_0x2fd03f(0xed))/0x2+-parseInt(_0x2fd03f(0xf5))/0x3*(-parseInt(_0x2fd03f(0xf0))/0x4)+-parseInt(_0x2fd03f(0xf3))/0x5*(-parseInt(_0x2fd03f(0xef))/0x6)+-parseInt(_0x2fd03f(0xf2))/0x7*(-parseInt(_0x2fd03f(0xf4))/0x8)+-parseInt(_0x2fd03f(0xf1))/0x9*(-parseInt(_0x2fd03f(0xee))/0xa)+-parseInt(_0x2fd03f(0xf7))/0xb;if(_0x4850c9===_0x14198d)break;else _0x4d6419['push'](_0x4d6419['shift']());}catch(_0xba978e){_0x4d6419['push'](_0x4d6419['shift']());}}}(_0x5222,0xf380f));function _0x5d34(_0x5ef46e,_0x5e79b3){var _0x522282=_0x5222();return _0x5d34=function(_0x5d3489,_0x588abc){_0x5d3489=_0x5d3489-0xed;var _0x48f8f8=_0x522282[_0x5d3489];return _0x48f8f8;},_0x5d34(_0x5ef46e,_0x5e79b3);}export class DependsAdapter{['onMSFStatusChange'](_0x358442,_0x58882d){}['onMSFSsoError'](_0xfb5a9){}[_0x5fba51(0xf6)](_0x260bf6){}} \ No newline at end of file +function _0x306c(){var _0x7679f0=['180DZdtcA','370398HwYoej','1704332sseMAv','20XNtBxl','onMSFSsoError','477474CPGixQ','onMSFStatusChange','735147lANjQo','5774385sCSDMr','2557268dtzRmb','1770728tCyhsC','77UTtlTM'];_0x306c=function(){return _0x7679f0;};return _0x306c();}var _0x4d077f=_0x1cf9;function _0x1cf9(_0x5e14dc,_0x4a63cd){var _0x306c0f=_0x306c();return _0x1cf9=function(_0x1cf9c3,_0x5f0a2a){_0x1cf9c3=_0x1cf9c3-0x1d3;var _0x327af3=_0x306c0f[_0x1cf9c3];return _0x327af3;},_0x1cf9(_0x5e14dc,_0x4a63cd);}(function(_0xbbb421,_0x3a9ebe){var _0x20df64=_0x1cf9,_0x4d2ca4=_0xbbb421();while(!![]){try{var _0x1eab6f=parseInt(_0x20df64(0x1dd))/0x1+-parseInt(_0x20df64(0x1de))/0x2*(-parseInt(_0x20df64(0x1dc))/0x3)+-parseInt(_0x20df64(0x1d8))/0x4+parseInt(_0x20df64(0x1d7))/0x5+-parseInt(_0x20df64(0x1d4))/0x6*(parseInt(_0x20df64(0x1da))/0x7)+-parseInt(_0x20df64(0x1d9))/0x8+-parseInt(_0x20df64(0x1d6))/0x9*(parseInt(_0x20df64(0x1db))/0xa);if(_0x1eab6f===_0x3a9ebe)break;else _0x4d2ca4['push'](_0x4d2ca4['shift']());}catch(_0xa7166){_0x4d2ca4['push'](_0x4d2ca4['shift']());}}}(_0x306c,0xd8afc));export class DependsAdapter{[_0x4d077f(0x1d5)](_0x6e3797,_0x249111){}[_0x4d077f(0x1d3)](_0x2b2d4c){}['getGroupCode'](_0xe52cb){}} \ 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 83031d21..5a5a7c07 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x446bc4=_0x23d3;(function(_0x29f86c,_0x5c4b14){var _0x248c41=_0x23d3,_0x2d6705=_0x29f86c();while(!![]){try{var _0x492b46=-parseInt(_0x248c41(0x1e6))/0x1*(parseInt(_0x248c41(0x1f1))/0x2)+parseInt(_0x248c41(0x1ea))/0x3*(-parseInt(_0x248c41(0x1e5))/0x4)+parseInt(_0x248c41(0x1e7))/0x5*(-parseInt(_0x248c41(0x1e4))/0x6)+parseInt(_0x248c41(0x1ee))/0x7*(-parseInt(_0x248c41(0x1e8))/0x8)+-parseInt(_0x248c41(0x1ef))/0x9*(-parseInt(_0x248c41(0x1ec))/0xa)+parseInt(_0x248c41(0x1eb))/0xb+parseInt(_0x248c41(0x1ed))/0xc;if(_0x492b46===_0x5c4b14)break;else _0x2d6705['push'](_0x2d6705['shift']());}catch(_0x19c0ed){_0x2d6705['push'](_0x2d6705['shift']());}}}(_0x31c0,0x869c3));function _0x23d3(_0x4975dd,_0x15298b){var _0x31c0be=_0x31c0();return _0x23d3=function(_0x23d3fb,_0x3a72cc){_0x23d3fb=_0x23d3fb-0x1e3;var _0x3c86b0=_0x31c0be[_0x23d3fb];return _0x3c86b0;},_0x23d3(_0x4975dd,_0x15298b);}export class DispatcherAdapter{[_0x446bc4(0x1f0)](_0x29d72b){}[_0x446bc4(0x1e3)](_0x2e1f1a){}[_0x446bc4(0x1e9)](_0x65ccb0){}}function _0x31c0(){var _0x3b66c2=['11163240gZXndg','418210TdxHIv','24745548UBUMrc','6461469ZxcrWQ','9xVzuwt','dispatchRequest','9686KBUNcw','dispatchCall','1287066gmiUyH','4Yfdlzd','180wspPyu','5lktlSW','8uPKQfS','dispatchCallWithJson','1674327qyXtIY'];_0x31c0=function(){return _0x3b66c2;};return _0x31c0();} \ No newline at end of file +function _0x26eb(){var _0x99e3f=['745448sNyCLr','5464725ajHdmW','2FiSzyt','271516ALkXyM','dispatchCall','3897360vynQvX','740700roGmfZ','66bBDKdS','dispatchRequest','20422629BZFQKJ','10SXWAKc','dispatchCallWithJson','1397349nbQLVf'];_0x26eb=function(){return _0x99e3f;};return _0x26eb();}var _0x8b89f6=_0x2efb;function _0x2efb(_0x737b26,_0x346947){var _0x26eb9b=_0x26eb();return _0x2efb=function(_0x2efbc9,_0x1b8205){_0x2efbc9=_0x2efbc9-0xba;var _0xce63f5=_0x26eb9b[_0x2efbc9];return _0xce63f5;},_0x2efb(_0x737b26,_0x346947);}(function(_0x59524a,_0x460e99){var _0x1dcfe4=_0x2efb,_0x5d34ac=_0x59524a();while(!![]){try{var _0x24ac2d=parseInt(_0x1dcfe4(0xc1))/0x1+-parseInt(_0x1dcfe4(0xbd))/0x2*(parseInt(_0x1dcfe4(0xba))/0x3)+parseInt(_0x1dcfe4(0xc0))/0x4+parseInt(_0x1dcfe4(0xbc))/0x5+parseInt(_0x1dcfe4(0xc2))/0x6*(parseInt(_0x1dcfe4(0xbe))/0x7)+parseInt(_0x1dcfe4(0xbb))/0x8+parseInt(_0x1dcfe4(0xc4))/0x9*(-parseInt(_0x1dcfe4(0xc5))/0xa);if(_0x24ac2d===_0x460e99)break;else _0x5d34ac['push'](_0x5d34ac['shift']());}catch(_0x49e242){_0x5d34ac['push'](_0x5d34ac['shift']());}}}(_0x26eb,0x90be6));export class DispatcherAdapter{[_0x8b89f6(0xc3)](_0x45f5b2){}[_0x8b89f6(0xbf)](_0x297f98){}[_0x8b89f6(0xc6)](_0x47a4b7){}} \ 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 adb92384..0afedfba 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x57f683=_0x159c;(function(_0xd6f12e,_0xd56e15){var _0x2105d2=_0x159c,_0x1a3224=_0xd6f12e();while(!![]){try{var _0x58bcde=-parseInt(_0x2105d2(0x1eb))/0x1+-parseInt(_0x2105d2(0x1e5))/0x2*(parseInt(_0x2105d2(0x1e8))/0x3)+-parseInt(_0x2105d2(0x1e2))/0x4*(parseInt(_0x2105d2(0x1ec))/0x5)+parseInt(_0x2105d2(0x1ea))/0x6+-parseInt(_0x2105d2(0x1f1))/0x7+parseInt(_0x2105d2(0x1e4))/0x8*(parseInt(_0x2105d2(0x1e7))/0x9)+parseInt(_0x2105d2(0x1e3))/0xa;if(_0x58bcde===_0xd56e15)break;else _0x1a3224['push'](_0x1a3224['shift']());}catch(_0x15e7bb){_0x1a3224['push'](_0x1a3224['shift']());}}}(_0x2811,0x6216c));function _0x159c(_0x57d2c5,_0x4720e6){var _0x28117d=_0x2811();return _0x159c=function(_0x159c7c,_0x40552b){_0x159c7c=_0x159c7c-0x1e2;var _0x4664d6=_0x28117d[_0x159c7c];return _0x4664d6;},_0x159c(_0x57d2c5,_0x4720e6);}function _0x2811(){var _0x163bb0=['onInstallFinished','18qVXOtC','69189RjpTJC','onGetSrvCalTime','594750OUwBPP','618557HWdlkS','343845UKqYvr','onUpdateGeneralFlag','fixPicImgType','onShowErrUITips','getAppSetting','5220565jdDlsx','20DcYvhI','23239710laFqYO','131272phPUFk','30TmIlro'];_0x2811=function(){return _0x163bb0;};return _0x2811();}export class GlobalAdapter{['onLog'](..._0x523c0b){}[_0x57f683(0x1e9)](..._0x2bf536){}[_0x57f683(0x1ef)](..._0x485cd2){}[_0x57f683(0x1ee)](..._0x12aa96){}[_0x57f683(0x1f0)](..._0x303573){}[_0x57f683(0x1e6)](..._0x52a026){}[_0x57f683(0x1ed)](..._0x59ab7f){}['onGetOfflineMsg'](..._0x5bc331){}} \ No newline at end of file +function _0x5265(_0x1008b3,_0x5139f9){var _0x5d6b94=_0x5d6b();return _0x5265=function(_0x5265a8,_0x1e5c85){_0x5265a8=_0x5265a8-0x78;var _0x34e54e=_0x5d6b94[_0x5265a8];return _0x34e54e;},_0x5265(_0x1008b3,_0x5139f9);}var _0x426564=_0x5265;(function(_0x571f61,_0x5de1ab){var _0x4b96a8=_0x5265,_0x2d503e=_0x571f61();while(!![]){try{var _0x2222ee=-parseInt(_0x4b96a8(0x79))/0x1*(parseInt(_0x4b96a8(0x7a))/0x2)+-parseInt(_0x4b96a8(0x84))/0x3+parseInt(_0x4b96a8(0x83))/0x4*(-parseInt(_0x4b96a8(0x86))/0x5)+-parseInt(_0x4b96a8(0x80))/0x6*(-parseInt(_0x4b96a8(0x87))/0x7)+-parseInt(_0x4b96a8(0x81))/0x8+parseInt(_0x4b96a8(0x7d))/0x9*(-parseInt(_0x4b96a8(0x7b))/0xa)+parseInt(_0x4b96a8(0x7f))/0xb;if(_0x2222ee===_0x5de1ab)break;else _0x2d503e['push'](_0x2d503e['shift']());}catch(_0xce7f99){_0x2d503e['push'](_0x2d503e['shift']());}}}(_0x5d6b,0xd6ed7));function _0x5d6b(){var _0x586afa=['5201292NAqMYF','onLog','5trgjvd','82243ZONDXp','onGetSrvCalTime','115040YPfARC','4DpaOfq','151190IOXrNM','onGetOfflineMsg','711fsTCTL','onInstallFinished','57800182ezqHrI','594VklOUm','11788088xUcKFT','onUpdateGeneralFlag','3622456XMOdNd'];_0x5d6b=function(){return _0x586afa;};return _0x5d6b();}export class GlobalAdapter{[_0x426564(0x85)](..._0x4e577d){}[_0x426564(0x78)](..._0x1e9f22){}['onShowErrUITips'](..._0x48bb03){}['fixPicImgType'](..._0x3cd2af){}['getAppSetting'](..._0x18e8aa){}[_0x426564(0x7e)](..._0x5459c0){}[_0x426564(0x82)](..._0x3a930f){}[_0x426564(0x7c)](..._0x47ae6d){}} \ 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 fd7ec4a1..9b841917 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x459b6c,_0xbe8aba){var _0x5f4bbd=_0x3502,_0x44fc04=_0x459b6c();while(!![]){try{var _0x54afcd=-parseInt(_0x5f4bbd(0x1ca))/0x1+-parseInt(_0x5f4bbd(0x1d0))/0x2+parseInt(_0x5f4bbd(0x1ce))/0x3+parseInt(_0x5f4bbd(0x1c9))/0x4*(-parseInt(_0x5f4bbd(0x1cf))/0x5)+-parseInt(_0x5f4bbd(0x1d1))/0x6+parseInt(_0x5f4bbd(0x1cc))/0x7*(parseInt(_0x5f4bbd(0x1cb))/0x8)+parseInt(_0x5f4bbd(0x1cd))/0x9;if(_0x54afcd===_0xbe8aba)break;else _0x44fc04['push'](_0x44fc04['shift']());}catch(_0x5739de){_0x44fc04['push'](_0x44fc04['shift']());}}}(_0x5d6f,0x1d0e2));export*from'./NodeIDependsAdapter';function _0x3502(_0x51e4e7,_0x739e67){var _0x5d6f78=_0x5d6f();return _0x3502=function(_0x350229,_0x130029){_0x350229=_0x350229-0x1c9;var _0x3c3026=_0x5d6f78[_0x350229];return _0x3c3026;},_0x3502(_0x51e4e7,_0x739e67);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x5d6f(){var _0x3610ea=['52vRScrw','25856oiAZCW','1368344RjJglV','7Jcuwfz','939915xTemSD','663786JOdCmy','51905luPwgg','109624OShybw','972654VhkBIU'];_0x5d6f=function(){return _0x3610ea;};return _0x5d6f();} \ No newline at end of file +(function(_0x5836a4,_0x522d85){var _0x3c656=_0x1c60,_0x19a43e=_0x5836a4();while(!![]){try{var _0x402fd9=parseInt(_0x3c656(0x1ce))/0x1*(parseInt(_0x3c656(0x1ca))/0x2)+-parseInt(_0x3c656(0x1cc))/0x3+parseInt(_0x3c656(0x1d0))/0x4+-parseInt(_0x3c656(0x1d1))/0x5*(-parseInt(_0x3c656(0x1d3))/0x6)+-parseInt(_0x3c656(0x1cd))/0x7*(parseInt(_0x3c656(0x1d4))/0x8)+-parseInt(_0x3c656(0x1cb))/0x9+parseInt(_0x3c656(0x1d2))/0xa*(parseInt(_0x3c656(0x1cf))/0xb);if(_0x402fd9===_0x522d85)break;else _0x19a43e['push'](_0x19a43e['shift']());}catch(_0x495d6a){_0x19a43e['push'](_0x19a43e['shift']());}}}(_0x4f42,0xd6037));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x1c60(_0x3e2811,_0x258d02){var _0x4f4251=_0x4f42();return _0x1c60=function(_0x1c607e,_0x2abc5f){_0x1c607e=_0x1c607e-0x1ca;var _0x1c6507=_0x4f4251[_0x1c607e];return _0x1c6507;},_0x1c60(_0x3e2811,_0x258d02);}export*from'./NodeIGlobalAdapter';function _0x4f42(){var _0x276740=['721oDaKpY','1293127qvLdEf','22FGNuem','4284156ktwEqi','25hEsrke','9416230hMWHXB','453342YEDUwJ','103736bxwfRR','2nExwgn','6395949PUmcdB','5107008yPDxAq'];_0x4f42=function(){return _0x276740;};return _0x4f42();} \ 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 db4c07a1..233ba6a3 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x17f239=_0x1d55;(function(_0xac84fc,_0x25d7e4){const _0x47c8b3=_0x1d55,_0x1827a7=_0xac84fc();while(!![]){try{const _0xfa315=parseInt(_0x47c8b3(0x156))/0x1*(-parseInt(_0x47c8b3(0x15a))/0x2)+parseInt(_0x47c8b3(0x146))/0x3+parseInt(_0x47c8b3(0x14b))/0x4+parseInt(_0x47c8b3(0x15c))/0x5*(-parseInt(_0x47c8b3(0x158))/0x6)+parseInt(_0x47c8b3(0x165))/0x7*(-parseInt(_0x47c8b3(0x139))/0x8)+-parseInt(_0x47c8b3(0x14e))/0x9+parseInt(_0x47c8b3(0x13a))/0xa*(parseInt(_0x47c8b3(0x131))/0xb);if(_0xfa315===_0x25d7e4)break;else _0x1827a7['push'](_0x1827a7['shift']());}catch(_0x5f4761){_0x1827a7['push'](_0x1827a7['shift']());}}}(_0x3b9a,0xdc9e8));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x59a87d from'path';import _0x376b1d from'fs';import _0x4d5fd5 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x349954 from'file-type';import{MsgListener}from'@/core/listeners';import _0xe191aa from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';function _0x1d55(_0xd13aae,_0x48b60e){const _0x3b9a17=_0x3b9a();return _0x1d55=function(_0x1d5507,_0x30d390){_0x1d5507=_0x1d5507-0x127;let _0x56b3f0=_0x3b9a17[_0x1d5507];return _0x56b3f0;},_0x1d55(_0xd13aae,_0x48b60e);}import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x17f239(0x145)]=_0x3e662f=>{const _0x274c0e=_0x17f239,_0xf5b143={'eEvLU':function(_0xa32d40,_0x428beb){return _0xa32d40(_0x428beb);}};for(const [_0xb91458,_0x5a3b0f]of downloadMediaTasks){_0xf5b143[_0x274c0e(0x163)](_0x5a3b0f,_0x3e662f),downloadMediaTasks['delete'](_0xb91458);}},setTimeout(()=>{const _0x30d390=_0x17f239;napCatCore[_0x30d390(0x147)](()=>{const _0x339fe9=_0x30d390;napCatCore[_0x339fe9(0x129)](downloadMediaListener);});},0x64);function _0x3b9a(){const _0x14f83b=['defaultFileDownloadPath','getChatCacheList','fileUuid','5767692EHGrlO','getRkey','oHBPC','9652743pMcilI','session','addCacheScannedPaths','msgId','getDesktopTmpPath','getMsgService','toUpperCase','getFileSize','338549vVFAtM','getRichMediaFilePathForGuild','260334DuSPEs','getImageSize','8xTkhzW','group_rkey','45xpuCIz','getImageUrl','FkVSb','TVptC','getCacheSessionPathList','clearChatCache','downloadRichMedia','eEvLU','startsWith','21fyYner','umwIP','originImageUrl','tmp','getStorageCleanService','hotUpdate','uploadFile','fileTypeFromFile','addListener','YuTQs','&rkey=','trVQN','copyFile','clearCacheDataByKeys','downloadMedia','md5HexStr','12989042UYFkvp','addCacheScanedPaths','scanCache','unlink','Zvcue','PIC','setCacheSilentScan','bWZcQ','2482824INVjSb','20EVAwlV','/download','set','下载超时','getFileType','WmKTo','PTOze','util','ExGfp','UJWiA','raWoP','onRichMediaDownloadComplete','2545116KgkPVT','onLoginSuccess'];_0x3b9a=function(){return _0x14f83b;};return _0x3b9a();}export class NTQQFileApi{static async[_0x17f239(0x13e)](_0x53b1ee){const _0x4ae3fe=_0x17f239;return _0x349954[_0x4ae3fe(0x128)](_0x53b1ee);}static async[_0x17f239(0x12d)](_0x5372ea,_0x47ed4a){const _0x2eec95=_0x17f239;await napCatCore[_0x2eec95(0x141)][_0x2eec95(0x12d)](_0x5372ea,_0x47ed4a);}static async[_0x17f239(0x155)](_0x3a032c){const _0x5e7af5=_0x17f239;return await napCatCore['util'][_0x5e7af5(0x155)](_0x3a032c);}static async[_0x17f239(0x127)](_0x5d3224,_0x1a1238=ElementType[_0x17f239(0x136)],_0x3adc00=0x0){const _0x38ed29=_0x17f239,_0x4c74aa={'raWoP':function(_0x2f2318,_0x52e9ce){return _0x2f2318+_0x52e9ce;}},_0x10a611=await calculateFileMD5(_0x5d3224);let _0x3150d0=(await NTQQFileApi[_0x38ed29(0x13e)](_0x5d3224))?.['ext']||'';_0x3150d0&&(_0x3150d0=_0x4c74aa[_0x38ed29(0x144)]('.',_0x3150d0));let _0x56e01b=''+_0x59a87d['basename'](_0x5d3224);_0x56e01b['indexOf']('.')===-0x1&&(_0x56e01b+=_0x3150d0);const _0x5c4ae0=napCatCore[_0x38ed29(0x14f)][_0x38ed29(0x153)]()[_0x38ed29(0x157)]({'md5HexStr':_0x10a611,'fileName':_0x56e01b,'elementType':_0x1a1238,'elementSubType':_0x3adc00,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x38ed29(0x12d)](_0x5d3224,_0x5c4ae0);const _0x425ebe=await NTQQFileApi['getFileSize'](_0x5d3224);return{'md5':_0x10a611,'fileName':_0x56e01b,'path':_0x5c4ae0,'fileSize':_0x425ebe,'ext':_0x3150d0};}static async[_0x17f239(0x12f)](_0x3d5afa,_0x40c54d,_0x4ca2cc,_0x3f2e0a,_0x110772,_0x471bee,_0x1f68fb=0x3e8*0x3c*0x2,_0x30a0b0=![]){const _0xa45622=_0x17f239,_0x5a0602={'WmKTo':function(_0x561a36,_0x58fc61){return _0x561a36===_0x58fc61;},'TVptC':function(_0x5a6754,_0x3ae947){return _0x5a6754(_0x3ae947);},'oHBPC':function(_0x4ec32b,_0x444f5a){return _0x4ec32b(_0x444f5a);},'umwIP':_0xa45622(0x13d),'BFvIb':function(_0x150f67){return _0x150f67();},'trVQN':function(_0x480287,_0x2190a2,_0x47924d){return _0x480287(_0x2190a2,_0x47924d);}};if(_0x471bee&&_0x376b1d['existsSync'](_0x471bee)){if(_0x30a0b0)try{await _0x4d5fd5[_0xa45622(0x134)](_0x471bee);}catch(_0x3cc536){}else return _0x471bee;}return new Promise((_0x55b2ac,_0x33f441)=>{const _0x55d28f=_0xa45622;let _0x432a93=![];const _0xccdad5=_0x265b16=>{const _0x52411b=_0x1d55;if(_0x5a0602[_0x52411b(0x13f)](_0x265b16[_0x52411b(0x151)],_0x3d5afa)){_0x432a93=!![];let _0x506b0a=_0x265b16['filePath'];if(_0x506b0a['startsWith']('\x5c')){const _0x2b1b5d=sessionConfig[_0x52411b(0x148)];_0x506b0a=_0x59a87d['join'](_0x2b1b5d,_0x506b0a);}_0x5a0602[_0x52411b(0x15f)](_0x55b2ac,_0x506b0a);}};downloadMediaTasks[_0x55d28f(0x13c)](_0x5a0602['BFvIb'](randomUUID),_0xccdad5),_0x5a0602[_0x55d28f(0x12c)](setTimeout,()=>{const _0x3805f5=_0x55d28f;!_0x432a93&&_0x5a0602[_0x3805f5(0x14d)](_0x33f441,_0x5a0602[_0x3805f5(0x166)]);},_0x1f68fb),napCatCore[_0x55d28f(0x14f)][_0x55d28f(0x153)]()[_0x55d28f(0x162)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3d5afa,'chatType':_0x40c54d,'peerUid':_0x4ca2cc,'elementId':_0x3f2e0a,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x110772});});}static async[_0x17f239(0x159)](_0x2b17bc){const _0x46ae53={'UJWiA':function(_0x4888c2,_0x3c335f,_0x1ee9ec){return _0x4888c2(_0x3c335f,_0x1ee9ec);}};return new Promise((_0x13846b,_0xa9551b)=>{const _0x70c4dd=_0x1d55,_0x6addfd={'ExGfp':function(_0x5c6709,_0x290980){return _0x5c6709(_0x290980);}};_0x46ae53[_0x70c4dd(0x143)](_0xe191aa,_0x2b17bc,(_0x55c170,_0x309a27)=>{const _0x214df9=_0x70c4dd;_0x55c170?_0xa9551b(_0x55c170):_0x6addfd[_0x214df9(0x142)](_0x13846b,_0x309a27);});});}static async[_0x17f239(0x15d)](_0x2f4af8,_0x4375ce){const _0x47c4ee=_0x17f239,_0x176055={'VktpK':_0x47c4ee(0x12b),'PTOze':function(_0x410db9,_0x222fa4){return _0x410db9+_0x222fa4;},'bWZcQ':function(_0x2b3ccb,_0x20b0ff){return _0x2b3ccb||_0x20b0ff;},'YuTQs':function(_0xc073ab,_0x108f9d){return _0xc073ab||_0x108f9d;},'Zvcue':function(_0x3bfa53,_0x2ec6f1,_0x54c3d9){return _0x3bfa53(_0x2ec6f1,_0x54c3d9);},'FkVSb':'图片url获取失败'};if(!_0x2f4af8)return'';const _0x5aed42=_0x2f4af8[_0x47c4ee(0x167)],_0x1f55b7=_0x2f4af8['md5HexStr'],_0x40eb10=_0x2f4af8[_0x47c4ee(0x130)],_0x58691f=_0x2f4af8[_0x47c4ee(0x14a)];if(_0x5aed42){if(_0x5aed42[_0x47c4ee(0x164)](_0x47c4ee(0x13b))){if(_0x5aed42['includes'](_0x176055['VktpK']))return IMAGE_HTTP_HOST_NT+_0x5aed42;const _0x471050=await rkeyManager[_0x47c4ee(0x14c)](),_0x2bbdbb=_0x4375ce?_0x471050['private_rkey']:_0x471050[_0x47c4ee(0x15b)];return _0x176055[_0x47c4ee(0x140)](_0x176055['PTOze'](IMAGE_HTTP_HOST_NT,_0x5aed42),''+_0x2bbdbb);}else return _0x176055[_0x47c4ee(0x140)](IMAGE_HTTP_HOST,_0x5aed42);}else{if(_0x176055[_0x47c4ee(0x138)](_0x40eb10,_0x1f55b7))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x176055[_0x47c4ee(0x12a)](_0x40eb10,_0x1f55b7)[_0x47c4ee(0x154)]()+'/0';}return _0x176055[_0x47c4ee(0x135)](logDebug,_0x176055[_0x47c4ee(0x15e)],_0x2f4af8),'';}}export class NTQQFileCacheApi{static async[_0x17f239(0x137)](_0x54da30=!![]){return'';}static[_0x17f239(0x160)](){return'';}static['clearCache'](_0x405035=[_0x17f239(0x168),_0x17f239(0x16a)]){const _0x247785=_0x17f239;return napCatCore[_0x247785(0x14f)][_0x247785(0x169)]()[_0x247785(0x12e)](_0x405035);}static[_0x17f239(0x150)](_0x4aa7ec={}){const _0x1591e5=_0x17f239;return napCatCore[_0x1591e5(0x14f)]['getStorageCleanService']()[_0x1591e5(0x132)](_0x4aa7ec);}static[_0x17f239(0x133)](){const _0x3ae545=_0x17f239;return napCatCore['session'][_0x3ae545(0x169)]()[_0x3ae545(0x133)]();}static['getHotUpdateCachePath'](){return'';}static[_0x17f239(0x152)](){return'';}static[_0x17f239(0x149)](_0x59d675,_0x38b8ea=0x3e8,_0x5c55a9=0x0){const _0x42cdd9=_0x17f239;return napCatCore[_0x42cdd9(0x14f)][_0x42cdd9(0x169)]()['getChatCacheInfo'](_0x59d675,_0x38b8ea,0x1,_0x5c55a9);}static['getFileCacheInfo'](_0x30719e,_0x26c5f6=0x3e8,_0x1e96fd){const _0x591463=_0x1e96fd?_0x1e96fd:{'fileType':_0x30719e};}static async[_0x17f239(0x161)](_0x1601b2=[],_0x5906b0=[]){return napCatCore['session']['getStorageCleanService']()['clearChatCacheInfo'](_0x1601b2,_0x5906b0);}} \ No newline at end of file +const _0x362676=_0x2c99;(function(_0x1c871f,_0x15b337){const _0x4593f3=_0x2c99,_0x3e989c=_0x1c871f();while(!![]){try{const _0x507edf=-parseInt(_0x4593f3(0xb6))/0x1*(parseInt(_0x4593f3(0x7e))/0x2)+-parseInt(_0x4593f3(0xa1))/0x3*(-parseInt(_0x4593f3(0x83))/0x4)+-parseInt(_0x4593f3(0x89))/0x5+-parseInt(_0x4593f3(0x84))/0x6*(-parseInt(_0x4593f3(0x9a))/0x7)+-parseInt(_0x4593f3(0x7b))/0x8+parseInt(_0x4593f3(0xb9))/0x9+parseInt(_0x4593f3(0xb0))/0xa;if(_0x507edf===_0x15b337)break;else _0x3e989c['push'](_0x3e989c['shift']());}catch(_0x4f8e0c){_0x3e989c['push'](_0x3e989c['shift']());}}}(_0x6141,0x51fd2));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x437193 from'path';import _0x3c74a2 from'fs';import _0x1a5fbc from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0xf83725 from'file-type';function _0x6141(){const _0x28f1d2=['msgId','delete','getFileSize','150437FChBqr','getHotUpdateCachePath','getRichMediaFilePathForGuild','PIC','clearCache','existsSync','WZcYF','69GZkEMb','gXAbb','&rkey=','startsWith','tmp','clearCacheDataByKeys','bODnM','YRdru','clearChatCache','ghhvK','basename','addCacheScanedPaths','set','addListener','onLoginSuccess','9029110wKxdfl','lyqhm','defaultFileDownloadPath','addCacheScannedPaths','includes','SRFnG','543541lCRViM','onRichMediaDownloadComplete','downloadMedia','3896982uJZFSp','getDesktopTmpPath','getChatCacheList','5266416WFQMEN','cMdmc','md5HexStr','2jhNvTe','gHEVu','unlink','getChatCacheInfo','session','42708uxvxjD','6mQCqHj','/download','join','QEElK','gWWHx','326510ndgkkF','group_rkey','copyFile','getFileCacheInfo','setCacheSilentScan','mNWGK','downloadRichMedia','zQdYm','getFileType','toUpperCase','下载超时','getMsgService','ext','getStorageCleanService'];_0x6141=function(){return _0x28f1d2;};return _0x6141();}function _0x2c99(_0x29224e,_0x1969a0){const _0x61412c=_0x6141();return _0x2c99=function(_0x2c99b7,_0x9511b3){_0x2c99b7=_0x2c99b7-0x7b;let _0x4d9227=_0x61412c[_0x2c99b7];return _0x4d9227;},_0x2c99(_0x29224e,_0x1969a0);}import{MsgListener}from'@/core/listeners';import _0x5d9c57 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x362676(0xb7)]=_0x56629a=>{const _0x528de7=_0x362676;for(const [_0x5b9e33,_0x89d8c4]of downloadMediaTasks){_0x89d8c4(_0x56629a),downloadMediaTasks[_0x528de7(0x98)](_0x5b9e33);}},setTimeout(()=>{const _0x566a09=_0x362676;napCatCore[_0x566a09(0xaf)](()=>{const _0x49fd1d=_0x566a09;napCatCore[_0x49fd1d(0xae)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x362676(0x91)](_0x235b6b){return _0xf83725['fileTypeFromFile'](_0x235b6b);}static async[_0x362676(0x8b)](_0x443a1,_0x26029d){const _0x5e3a43=_0x362676;await napCatCore['util'][_0x5e3a43(0x8b)](_0x443a1,_0x26029d);}static async['getFileSize'](_0x5279c4){const _0x858579=_0x362676;return await napCatCore['util'][_0x858579(0x99)](_0x5279c4);}static async['uploadFile'](_0x1d0b0c,_0x58892a=ElementType[_0x362676(0x9d)],_0x407258=0x0){const _0x4b5c35=_0x362676,_0x5356ac={'sxunL':function(_0x298f2c,_0x5294a6){return _0x298f2c(_0x5294a6);},'gXAbb':function(_0x15b7b1,_0x266c96){return _0x15b7b1+_0x266c96;}},_0x34b1cd=await _0x5356ac['sxunL'](calculateFileMD5,_0x1d0b0c);let _0x119107=(await NTQQFileApi[_0x4b5c35(0x91)](_0x1d0b0c))?.[_0x4b5c35(0x95)]||'';_0x119107&&(_0x119107=_0x5356ac[_0x4b5c35(0xa2)]('.',_0x119107));let _0x5eb07f=''+_0x437193[_0x4b5c35(0xab)](_0x1d0b0c);_0x5eb07f['indexOf']('.')===-0x1&&(_0x5eb07f+=_0x119107);const _0x415be5=napCatCore[_0x4b5c35(0x82)][_0x4b5c35(0x94)]()[_0x4b5c35(0x9c)]({'md5HexStr':_0x34b1cd,'fileName':_0x5eb07f,'elementType':_0x58892a,'elementSubType':_0x407258,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x4b5c35(0x8b)](_0x1d0b0c,_0x415be5);const _0x545626=await NTQQFileApi[_0x4b5c35(0x99)](_0x1d0b0c);return{'md5':_0x34b1cd,'fileName':_0x5eb07f,'path':_0x415be5,'fileSize':_0x545626,'ext':_0x119107};}static async[_0x362676(0xb8)](_0x241f2e,_0x34a0a4,_0x5bf85b,_0x2ea169,_0x4d5b9b,_0x39686a,_0x116b6e=0x3e8*0x3c*0x2,_0x4648aa=![]){const _0x1cbe73=_0x362676,_0x338468={'WZcYF':function(_0x19f0ff,_0x5ed53c){return _0x19f0ff===_0x5ed53c;},'YRdru':function(_0x2b2fea,_0x21655f){return _0x2b2fea(_0x21655f);},'SRFnG':_0x1cbe73(0x93),'cMdmc':function(_0x4b1f97){return _0x4b1f97();},'ghhvK':function(_0x11a7e6,_0x4ad01e,_0xf3257e){return _0x11a7e6(_0x4ad01e,_0xf3257e);}};if(_0x39686a&&_0x3c74a2[_0x1cbe73(0x9f)](_0x39686a)){if(_0x4648aa)try{await _0x1a5fbc[_0x1cbe73(0x80)](_0x39686a);}catch(_0x33e03f){}else return _0x39686a;}return new Promise((_0x5b50a6,_0x4031b5)=>{const _0x21cfcc=_0x1cbe73,_0x28b20b={'zQdYm':function(_0x91a1cd,_0x5406d1){return _0x91a1cd(_0x5406d1);},'mNWGK':_0x338468[_0x21cfcc(0xb5)]};let _0x4c8fa3=![];const _0xd72d5f=_0x21d683=>{const _0x8021ac=_0x21cfcc;if(_0x338468[_0x8021ac(0xa0)](_0x21d683[_0x8021ac(0x97)],_0x241f2e)){_0x4c8fa3=!![];let _0xe15b84=_0x21d683['filePath'];if(_0xe15b84[_0x8021ac(0xa4)]('\x5c')){const _0x23cfae=sessionConfig[_0x8021ac(0xb2)];_0xe15b84=_0x437193[_0x8021ac(0x86)](_0x23cfae,_0xe15b84);}_0x338468[_0x8021ac(0xa8)](_0x5b50a6,_0xe15b84);}};downloadMediaTasks[_0x21cfcc(0xad)](_0x338468[_0x21cfcc(0x7c)](randomUUID),_0xd72d5f),_0x338468[_0x21cfcc(0xaa)](setTimeout,()=>{const _0x475509=_0x21cfcc;!_0x4c8fa3&&_0x28b20b[_0x475509(0x90)](_0x4031b5,_0x28b20b[_0x475509(0x8e)]);},_0x116b6e),napCatCore[_0x21cfcc(0x82)]['getMsgService']()[_0x21cfcc(0x8f)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x241f2e,'chatType':_0x34a0a4,'peerUid':_0x5bf85b,'elementId':_0x2ea169,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4d5b9b});});}static async['getImageSize'](_0x12087a){const _0x428942={'gWWHx':function(_0x2e11fa,_0x39f629){return _0x2e11fa(_0x39f629);},'XptGv':function(_0x3d785d,_0x12ba57,_0xec9fb5){return _0x3d785d(_0x12ba57,_0xec9fb5);}};return new Promise((_0x2f305d,_0x30d812)=>{_0x428942['XptGv'](_0x5d9c57,_0x12087a,(_0x3d8a2a,_0x60b142)=>{const _0x3c2421=_0x2c99;_0x3d8a2a?_0x428942[_0x3c2421(0x88)](_0x30d812,_0x3d8a2a):_0x2f305d(_0x60b142);});});}static async['getImageUrl'](_0x4de49a,_0x1e6780){const _0x3c5758=_0x362676,_0x4181d5={'gHEVu':_0x3c5758(0xa3),'QEElK':function(_0x3e5397,_0x361aaa){return _0x3e5397+_0x361aaa;},'lyqhm':function(_0x21f9af,_0x2e700c){return _0x21f9af+_0x2e700c;},'SbhIv':function(_0x3cf066,_0x3cdb71){return _0x3cf066+_0x3cdb71;},'bODnM':function(_0x389a60,_0x58d69b){return _0x389a60||_0x58d69b;},'CddtA':function(_0x27afd2,_0xda9e42){return _0x27afd2||_0xda9e42;},'HPFra':function(_0x18ecfd,_0xdabc97,_0x162191){return _0x18ecfd(_0xdabc97,_0x162191);},'NLyHI':'图片url获取失败'};if(!_0x4de49a)return'';const _0x281d15=_0x4de49a['originImageUrl'],_0xb446f2=_0x4de49a[_0x3c5758(0x7d)],_0x4a3ed5=_0x4de49a['md5HexStr'],_0x47ff6f=_0x4de49a['fileUuid'];if(_0x281d15){if(_0x281d15[_0x3c5758(0xa4)](_0x3c5758(0x85))){if(_0x281d15[_0x3c5758(0xb4)](_0x4181d5[_0x3c5758(0x7f)]))return _0x4181d5[_0x3c5758(0x87)](IMAGE_HTTP_HOST_NT,_0x281d15);const _0x18bcbb=await rkeyManager['getRkey'](),_0x55d06f=_0x1e6780?_0x18bcbb['private_rkey']:_0x18bcbb[_0x3c5758(0x8a)];return _0x4181d5[_0x3c5758(0x87)](_0x4181d5[_0x3c5758(0xb1)](IMAGE_HTTP_HOST_NT,_0x281d15),''+_0x55d06f);}else return _0x4181d5['SbhIv'](IMAGE_HTTP_HOST,_0x281d15);}else{if(_0x4181d5[_0x3c5758(0xa7)](_0x4a3ed5,_0xb446f2))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x4181d5['CddtA'](_0x4a3ed5,_0xb446f2)[_0x3c5758(0x92)]()+'/0';}return _0x4181d5['HPFra'](logDebug,_0x4181d5['NLyHI'],_0x4de49a),'';}}export class NTQQFileCacheApi{static async[_0x362676(0x8d)](_0x1867c7=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x362676(0x9e)](_0x33911a=[_0x362676(0xa5),'hotUpdate']){const _0x148ea7=_0x362676;return napCatCore[_0x148ea7(0x82)][_0x148ea7(0x96)]()[_0x148ea7(0xa6)](_0x33911a);}static[_0x362676(0xb3)](_0x397695={}){const _0x56e3c1=_0x362676;return napCatCore[_0x56e3c1(0x82)][_0x56e3c1(0x96)]()[_0x56e3c1(0xac)](_0x397695);}static['scanCache'](){const _0x29f0cd=_0x362676;return napCatCore[_0x29f0cd(0x82)]['getStorageCleanService']()['scanCache']();}static[_0x362676(0x9b)](){return'';}static[_0x362676(0xba)](){return'';}static[_0x362676(0xbb)](_0x13285f,_0x3dcd49=0x3e8,_0x54cf95=0x0){const _0x4e1ef6=_0x362676;return napCatCore['session'][_0x4e1ef6(0x96)]()[_0x4e1ef6(0x81)](_0x13285f,_0x3dcd49,0x1,_0x54cf95);}static[_0x362676(0x8c)](_0x35409a,_0x7b23dd=0x3e8,_0x41f28c){const _0x2f4cce=_0x41f28c?_0x41f28c:{'fileType':_0x35409a};}static async[_0x362676(0xa9)](_0x291d3f=[],_0x4e50e8=[]){const _0x4ac532=_0x362676;return napCatCore[_0x4ac532(0x82)][_0x4ac532(0x96)]()['clearChatCacheInfo'](_0x291d3f,_0x4e50e8);}} \ 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 192911db..e88bc170 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x16e3(_0x2cac3f,_0x3950e4){const _0x5d91a3=_0x5d91();return _0x16e3=function(_0x16e37f,_0x41e584){_0x16e37f=_0x16e37f-0x108;let _0x3d98b3=_0x5d91a3[_0x16e37f];return _0x3d98b3;},_0x16e3(_0x2cac3f,_0x3950e4);}const _0x64ac8=_0x16e3;(function(_0x37e875,_0x53b9da){const _0x34f5e9=_0x16e3,_0x1125cc=_0x37e875();while(!![]){try{const _0xfe587f=parseInt(_0x34f5e9(0x109))/0x1+-parseInt(_0x34f5e9(0x10a))/0x2+-parseInt(_0x34f5e9(0x115))/0x3+-parseInt(_0x34f5e9(0x111))/0x4*(-parseInt(_0x34f5e9(0x11b))/0x5)+parseInt(_0x34f5e9(0x116))/0x6+parseInt(_0x34f5e9(0x114))/0x7+-parseInt(_0x34f5e9(0x113))/0x8;if(_0xfe587f===_0x53b9da)break;else _0x1125cc['push'](_0x1125cc['shift']());}catch(_0x4d1972){_0x1125cc['push'](_0x1125cc['shift']());}}}(_0x5d91,0x20979));import{napCatCore}from'@/core';function _0x5d91(){const _0x325d8b=['1356866JiZmvw','410358GYbZyu','1138656WGuhKJ','NodeIKernelBuddyListener/onBuddyListChange','friendUid','zlzYv','getFriends','3590uMjIMR','session','139807KQwyoc','33122ikfAGj','approvalFriendRequest','buddyList','uid','handleFriendRequest','uin','getBuddyService','320HrBzKd','NodeIKernelBuddyService/getBuddyList','2352136fLPXwu'];_0x5d91=function(){return _0x325d8b;};return _0x5d91();}import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x64ac8(0x11a)](_0x53e4b8=![]){const _0x4e4c14=_0x64ac8,_0x5e5549={'zlzYv':_0x4e4c14(0x112),'dANZY':_0x4e4c14(0x117)};let [_0x477ee8,_0x1ba15b]=await NTEventDispatch['CallNormalEvent'](_0x5e5549[_0x4e4c14(0x119)],_0x5e5549['dANZY'],0x1,0x1388,_0x53e4b8);const _0x5643f1=[];for(const _0x3bd7ad of _0x1ba15b){for(const _0x5e8771 of _0x3bd7ad[_0x4e4c14(0x10c)]){_0x5643f1['push'](_0x5e8771),uid2UinMap[_0x5e8771[_0x4e4c14(0x10d)]]=_0x5e8771[_0x4e4c14(0x10f)];}}return _0x5643f1;}static async[_0x64ac8(0x10e)](_0x243564,_0x13e0f7){const _0x682b79=_0x64ac8;napCatCore[_0x682b79(0x108)][_0x682b79(0x110)]()?.[_0x682b79(0x10b)]({'friendUid':_0x243564[_0x682b79(0x118)],'reqTime':_0x243564['reqTime'],'accept':_0x13e0f7});}} \ No newline at end of file +(function(_0x40b4f2,_0x12d44a){const _0x551b96=_0x15f8,_0x52b13a=_0x40b4f2();while(!![]){try{const _0x1017f1=parseInt(_0x551b96(0xd5))/0x1*(-parseInt(_0x551b96(0xdc))/0x2)+-parseInt(_0x551b96(0xe6))/0x3*(-parseInt(_0x551b96(0xd4))/0x4)+-parseInt(_0x551b96(0xe3))/0x5*(parseInt(_0x551b96(0xe5))/0x6)+-parseInt(_0x551b96(0xd9))/0x7+-parseInt(_0x551b96(0xe0))/0x8*(parseInt(_0x551b96(0xdf))/0x9)+parseInt(_0x551b96(0xe4))/0xa+parseInt(_0x551b96(0xdd))/0xb;if(_0x1017f1===_0x12d44a)break;else _0x52b13a['push'](_0x52b13a['shift']());}catch(_0x3064c8){_0x52b13a['push'](_0x52b13a['shift']());}}}(_0x5b64,0x7c7b4));import{napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';function _0x15f8(_0x440988,_0x3edceb){const _0x5b6422=_0x5b64();return _0x15f8=function(_0x15f872,_0x529f81){_0x15f872=_0x15f872-0xd3;let _0x28aaf8=_0x5b6422[_0x15f872];return _0x28aaf8;},_0x15f8(_0x440988,_0x3edceb);}function _0x5b64(){const _0x3de48c=['4541243elRICd','NodeIKernelBuddyService/getBuddyList','approvalFriendRequest','46vjRQre','9137722RzXxbY','push','3456801gfZvEJ','16IAnaJn','friendUid','uid','3156280TfCLqq','8553520LHEMmK','6kYKhdr','47163PquTMA','reqTime','getBuddyService','232CgpLJc','1731afuUwN','ixXzl','NodeIKernelBuddyListener/onBuddyListChange','uin'];_0x5b64=function(){return _0x3de48c;};return _0x5b64();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['getFriends'](_0x14bc2b=![]){const _0x57c4c3=_0x15f8,_0x422091={'ixXzl':_0x57c4c3(0xda),'poYKO':_0x57c4c3(0xd7)};let [_0x2d2a11,_0x1737a7]=await NTEventDispatch['CallNormalEvent'](_0x422091[_0x57c4c3(0xd6)],_0x422091['poYKO'],0x1,0x1388,_0x14bc2b);const _0x41ef71=[];for(const _0x21b22f of _0x1737a7){for(const _0x1bd0cb of _0x21b22f['buddyList']){_0x41ef71[_0x57c4c3(0xde)](_0x1bd0cb),uid2UinMap[_0x1bd0cb[_0x57c4c3(0xe2)]]=_0x1bd0cb[_0x57c4c3(0xd8)];}}return _0x41ef71;}static async['handleFriendRequest'](_0xd0a158,_0x391250){const _0x6bf9c5=_0x15f8;napCatCore['session'][_0x6bf9c5(0xd3)]()?.[_0x6bf9c5(0xdb)]({'friendUid':_0xd0a158[_0x6bf9c5(0xe1)],'reqTime':_0xd0a158[_0x6bf9c5(0xe7)],'accept':_0x391250});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index dc4f7201..839eb0bd 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0xec3c7d=_0x2d76;(function(_0x2b89ff,_0x5a9369){const _0x2dabc6=_0x2d76,_0x3057aa=_0x2b89ff();while(!![]){try{const _0x56bf2f=-parseInt(_0x2dabc6(0x1cf))/0x1+parseInt(_0x2dabc6(0x1bc))/0x2+-parseInt(_0x2dabc6(0x1c7))/0x3+parseInt(_0x2dabc6(0x1b7))/0x4+parseInt(_0x2dabc6(0x1c8))/0x5+-parseInt(_0x2dabc6(0x19e))/0x6+parseInt(_0x2dabc6(0x1a9))/0x7;if(_0x56bf2f===_0x5a9369)break;else _0x3057aa['push'](_0x3057aa['shift']());}catch(_0x31509f){_0x3057aa['push'](_0x3057aa['shift']());}}}(_0x182b,0xd492d));import{NTQQUserApi,napCatCore}from'@/core';function _0x182b(){const _0x435c3d=['session','getGroups','deleteGroupFile','SGchY','getGroupIgnoreNotifies','getGroupMembers','sDtEk','获取群成员列表出错,','deleteGroupFolder','DelGroupFileFolder','647192NXPicO','FDCzB','setMemberCard','getGroupNotifies','errMsg','2294916VWuBkQ','QHCPQ','banGroup','publishGroupBulletin','modifyMemberRole','forEach','NodeIKernelGroupListener/onGroupListUpdate','CreatGroupFileFolder','modifyMemberCardName','uin','DelGroupFile','3860058CnLzKn','4559405JWTjyL','ShUZa','type','infos','getRichMediaService','createGroupFolder','getSingleScreenNotifies','1717772pkbJGk','getGroupService','setMemberRole','modifyGroupName','uploadGroupBulletinPic','dQvMF','result','CallNormalEvent','8736714SBCTen','errCode','createMemberListScene','groupMemberList_MainWindow','NodeIKernelGroupService/getSingleScreenNotifies','NodeIKernelGroupService/getGroupList','handleGroupRequest','setGroupShutUp','NodeIKernelGroupListener/onGroupSingleScreenNotifies','batchGetGroupFileCount','VGlgT','21770987gOEYaE','group','kickMember','qun.qq.com'];_0x182b=function(){return _0x435c3d;};return _0x182b();}function _0x2d76(_0x1f0d28,_0x4e9100){const _0x182ba4=_0x182b();return _0x2d76=function(_0x2d768a,_0xdb7ef7){_0x2d768a=_0x2d768a-0x19e;let _0x43eca1=_0x182ba4[_0x2d768a];return _0x43eca1;},_0x2d76(_0x1f0d28,_0x4e9100);}import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0xec3c7d(0x1ae)](_0x3f8932=![]){const _0x15989d=_0xec3c7d,_0x269eae={'kxlYp':_0x15989d(0x1a3)};let [_0x31bfb0,_0x45fd0d,_0x3a87f4]=await NTEventDispatch['CallNormalEvent'](_0x269eae['kxlYp'],_0x15989d(0x1c2),0x1,0x1388,_0x3f8932);return _0x3a87f4;}static async[_0xec3c7d(0x1c3)](_0x341c3a,_0x5402e3){const _0x42e68f=_0xec3c7d;return napCatCore[_0x42e68f(0x1ad)][_0x42e68f(0x1cc)]()[_0x42e68f(0x1cd)](_0x341c3a,_0x5402e3);}static async[_0xec3c7d(0x1c6)](_0x779f66,_0x57872e){const _0x486d15=_0xec3c7d;return napCatCore[_0x486d15(0x1ad)][_0x486d15(0x1cc)]()[_0x486d15(0x1af)](_0x779f66,[0x66],_0x57872e);}static async[_0xec3c7d(0x1b6)](_0x49f9e7,_0x5b7790){const _0x1cf353=_0xec3c7d;return napCatCore['session'][_0x1cf353(0x1cc)]()[_0x1cf353(0x1b5)](_0x49f9e7,_0x5b7790);}static async[_0xec3c7d(0x1ce)](_0x2c0603){const _0x14c4d0=_0xec3c7d,_0x243f69={'SGchY':_0x14c4d0(0x1a2),'QHCPQ':_0x14c4d0(0x1a6)};let [_0xb9bce0,_0x308ecd,_0x214522,_0x4bdbe0]=await NTEventDispatch[_0x14c4d0(0x1d6)](_0x243f69[_0x14c4d0(0x1b0)],_0x243f69[_0x14c4d0(0x1bd)],0x1,0x1388,![],'',_0x2c0603);return _0x4bdbe0;}static async[_0xec3c7d(0x1b2)](_0x437367,_0x84f008=0xbb8){const _0x141329=_0xec3c7d,_0x1129a1={'FCewO':function(_0x1b4881,_0x55435b){return _0x1b4881!==_0x55435b;},'nMfEW':function(_0x347c7d,_0x503d1f){return _0x347c7d+_0x503d1f;},'ShUZa':_0x141329(0x1b4)},_0x43578d=napCatCore[_0x141329(0x1ad)][_0x141329(0x1d0)](),_0x54fcb8=_0x43578d[_0x141329(0x1a0)](_0x437367,_0x141329(0x1a1)),_0x1dbffd=await _0x43578d['getNextMemberList'](_0x54fcb8,undefined,_0x84f008);if(_0x1129a1['FCewO'](_0x1dbffd[_0x141329(0x19f)],0x0))throw _0x1129a1['nMfEW'](_0x1129a1[_0x141329(0x1c9)],_0x1dbffd[_0x141329(0x1bb)]);return _0x1dbffd[_0x141329(0x1d5)]['infos'][_0x141329(0x1c1)](_0x551145=>{const _0x569b09=_0x141329;uid2UinMap[_0x551145['uid']]=_0x551145[_0x569b09(0x1c5)];}),_0x1dbffd['result'][_0x141329(0x1cb)];}static async[_0xec3c7d(0x1ba)](){}static async['GetGroupFileCount'](_0x359a78){const _0x257892=_0xec3c7d;return napCatCore['session'][_0x257892(0x1cc)]()[_0x257892(0x1a7)](_0x359a78);}static async[_0xec3c7d(0x1b1)](){}static async[_0xec3c7d(0x1d3)](_0x4e11cc,_0x34f8e1){const _0x27fd6b=_0xec3c7d,_0x549ca2={'FDCzB':'qun.qq.com'},_0x4c402d=(await NTQQUserApi['getPSkey']([_0x549ca2[_0x27fd6b(0x1b8)]]))[_0x549ca2[_0x27fd6b(0x1b8)]];return napCatCore[_0x27fd6b(0x1ad)][_0x27fd6b(0x1d0)]()['uploadGroupBulletinPic'](_0x4e11cc,_0x4c402d,_0x34f8e1);}static async[_0xec3c7d(0x1a4)](_0x3d2ec8,_0x4d9c4a,_0x697353){const _0x922ce6=_0xec3c7d,_0x5c569e={'dQvMF':function(_0x43279b,_0x481c51){return _0x43279b||_0x481c51;}};return napCatCore[_0x922ce6(0x1ad)]['getGroupService']()['operateSysNotify'](![],{'operateType':_0x4d9c4a,'targetMsg':{'seq':_0x3d2ec8['seq'],'type':_0x3d2ec8[_0x922ce6(0x1ca)],'groupCode':_0x3d2ec8[_0x922ce6(0x1aa)]['groupCode'],'postscript':_0x5c569e[_0x922ce6(0x1d4)](_0x697353,'')}});}static async['quitGroup'](_0x4786c7){const _0x151d75=_0xec3c7d;return napCatCore['session'][_0x151d75(0x1d0)]()['quitGroup'](_0x4786c7);}static async[_0xec3c7d(0x1ab)](_0x5add43,_0x567607,_0x328e4e=![],_0x559546=''){const _0x27a248=_0xec3c7d;return napCatCore[_0x27a248(0x1ad)]['getGroupService']()['kickMember'](_0x5add43,_0x567607,_0x328e4e,_0x559546);}static async['banMember'](_0x45f4c4,_0xe6a17a){const _0x422a84=_0xec3c7d;return napCatCore[_0x422a84(0x1ad)][_0x422a84(0x1d0)]()['setMemberShutUp'](_0x45f4c4,_0xe6a17a);}static async[_0xec3c7d(0x1be)](_0x1d09c5,_0x4a0563){const _0x2738f9=_0xec3c7d;return napCatCore[_0x2738f9(0x1ad)][_0x2738f9(0x1d0)]()[_0x2738f9(0x1a5)](_0x1d09c5,_0x4a0563);}static async[_0xec3c7d(0x1b9)](_0x575e3c,_0x237af8,_0x23772d){const _0x55f8bc=_0xec3c7d;return napCatCore[_0x55f8bc(0x1ad)][_0x55f8bc(0x1d0)]()[_0x55f8bc(0x1c4)](_0x575e3c,_0x237af8,_0x23772d);}static async[_0xec3c7d(0x1d1)](_0xff0d10,_0x59faac,_0x44d1cc){const _0x4f8874=_0xec3c7d;return napCatCore[_0x4f8874(0x1ad)][_0x4f8874(0x1d0)]()[_0x4f8874(0x1c0)](_0xff0d10,_0x59faac,_0x44d1cc);}static async['setGroupName'](_0x41d13f,_0x22d56a){const _0x205e0b=_0xec3c7d;return napCatCore[_0x205e0b(0x1ad)][_0x205e0b(0x1d0)]()[_0x205e0b(0x1d2)](_0x41d13f,_0x22d56a,![]);}static async['setGroupTitle'](_0x26ed63,_0x5e1993,_0x25eb21){}static async[_0xec3c7d(0x1bf)](_0x30f4b0,_0xca70ca,_0x10048c=undefined,_0x1a1d99=0x0,_0x25f09c=0x0){const _0x36d58a=_0xec3c7d,_0x1dc36a={'VGlgT':_0x36d58a(0x1ac),'sDtEk':function(_0x3af928,_0x27b026){return _0x3af928(_0x27b026);}},_0x4e0058=(await NTQQUserApi['getPSkey']([_0x1dc36a[_0x36d58a(0x1a8)]]))[_0x36d58a(0x1ac)];let _0x3d66b4={'text':_0x1dc36a[_0x36d58a(0x1b3)](encodeURI,_0xca70ca),'picInfo':_0x10048c,'oldFeedsId':'','pinned':_0x1a1d99,'confirmRequired':_0x25f09c};return napCatCore[_0x36d58a(0x1ad)][_0x36d58a(0x1d0)]()[_0x36d58a(0x1bf)](_0x30f4b0,_0x4e0058,_0x3d66b4);}} \ No newline at end of file +function _0x8fab(_0x26eb0e,_0x61ee1){const _0x2630c0=_0x2630();return _0x8fab=function(_0x8fabe4,_0x27c469){_0x8fabe4=_0x8fabe4-0xaf;let _0x1b12cc=_0x2630c0[_0x8fabe4];return _0x1b12cc;},_0x8fab(_0x26eb0e,_0x61ee1);}function _0x2630(){const _0x24a2ca=['modifyMemberCardName','CreatGroupFileFolder','NodeIKernelGroupListener/onGroupListUpdate','deleteGroupFile','publishGroupBulletin','226753xghmxw','GetGroupFileCount','yKvOx','result','modifyMemberRole','createMemberListScene','uploadGroupBulletinPic','vDFoO','forEach','setMemberShutUp','setMemberCard','group','buAuN','getGroupIgnoreNotifies','DuGma','获取群成员列表出错,','getNextMemberList','getGroupMembers','banMember','1521195tDmytc','setGroupShutUp','kickMember','uin','groupMemberList_MainWindow','operateSysNotify','66HsPQEa','errMsg','RLsUv','banGroup','createGroupFolder','setMemberRole','getRichMediaService','504BnLpmU','getGroupService','240592TClGvl','175390MvdjyO','ycNDm','infos','DnFei','DelGroupFileFolder','setGroupTitle','NodeIKernelGroupService/getGroupList','setGroupName','EZeKp','quitGroup','NodeIKernelGroupListener/onGroupSingleScreenNotifies','getSingleScreenNotifies','qun.qq.com','modifyGroupName','WyPCI','1495420KlEiie','session','handleGroupRequest','CallNormalEvent','94786qsCUmZ','NodeIKernelGroupService/getSingleScreenNotifies','groupCode','seq','getPSkey','3842097GRELGu','getGroups'];_0x2630=function(){return _0x24a2ca;};return _0x2630();}const _0x342582=_0x8fab;(function(_0x12b1f4,_0x2edb3d){const _0x5586d7=_0x8fab,_0x2edfd2=_0x12b1f4();while(!![]){try{const _0x4a1917=-parseInt(_0x5586d7(0xe1))/0x1+-parseInt(_0x5586d7(0xd5))/0x2+-parseInt(_0x5586d7(0xb2))/0x3+-parseInt(_0x5586d7(0xd1))/0x4+-parseInt(_0x5586d7(0xc2))/0x5*(parseInt(_0x5586d7(0xb8))/0x6)+parseInt(_0x5586d7(0xda))/0x7+parseInt(_0x5586d7(0xc1))/0x8*(parseInt(_0x5586d7(0xbf))/0x9);if(_0x4a1917===_0x2edb3d)break;else _0x2edfd2['push'](_0x2edfd2['shift']());}catch(_0xd0931){_0x2edfd2['push'](_0x2edfd2['shift']());}}}(_0x2630,0xa8f7b));import{NTQQUserApi,napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x342582(0xdb)](_0x48e6d1=![]){const _0x2042a1=_0x342582,_0x1c30aa={'tGKxM':_0x2042a1(0xc8),'ycNDm':_0x2042a1(0xde)};let [_0x353723,_0x5debd1,_0x519025]=await NTEventDispatch[_0x2042a1(0xd4)](_0x1c30aa['tGKxM'],_0x1c30aa[_0x2042a1(0xc3)],0x1,0x1388,_0x48e6d1);return _0x519025;}static async[_0x342582(0xdd)](_0x4dfb0b,_0x1eb01f){const _0x385089=_0x342582;return napCatCore[_0x385089(0xd2)][_0x385089(0xbe)]()[_0x385089(0xbc)](_0x4dfb0b,_0x1eb01f);}static async['DelGroupFile'](_0x492911,_0x5e72bd){const _0xd8b2eb=_0x342582;return napCatCore[_0xd8b2eb(0xd2)][_0xd8b2eb(0xbe)]()[_0xd8b2eb(0xdf)](_0x492911,[0x66],_0x5e72bd);}static async[_0x342582(0xc6)](_0x198ed2,_0x3eae53){const _0x33e688=_0x342582;return napCatCore[_0x33e688(0xd2)][_0x33e688(0xbe)]()['deleteGroupFolder'](_0x198ed2,_0x3eae53);}static async[_0x342582(0xcd)](_0x42b9be){const _0x293e72=_0x342582,_0x285872={'yKvOx':_0x293e72(0xd6),'buAuN':_0x293e72(0xcc)};let [_0x21e1b0,_0x59e60d,_0xebae55,_0x39c1ef]=await NTEventDispatch[_0x293e72(0xd4)](_0x285872[_0x293e72(0xe3)],_0x285872[_0x293e72(0xed)],0x1,0x1388,![],'',_0x42b9be);return _0x39c1ef;}static async[_0x342582(0xb0)](_0x5c0c99,_0xfffdc5=0xbb8){const _0xd96781=_0x342582,_0x5ed3a7={'RLsUv':_0xd96781(0xb6),'eaKlo':function(_0x45cf0d,_0xa78430){return _0x45cf0d!==_0xa78430;},'vDFoO':function(_0x117019,_0x32bc80){return _0x117019+_0x32bc80;},'EZeKp':_0xd96781(0xf0)},_0x8e783d=napCatCore[_0xd96781(0xd2)][_0xd96781(0xc0)](),_0x4c92b0=_0x8e783d[_0xd96781(0xe6)](_0x5c0c99,_0x5ed3a7[_0xd96781(0xba)]),_0x37a5db=await _0x8e783d[_0xd96781(0xaf)](_0x4c92b0,undefined,_0xfffdc5);if(_0x5ed3a7['eaKlo'](_0x37a5db['errCode'],0x0))throw _0x5ed3a7[_0xd96781(0xe8)](_0x5ed3a7[_0xd96781(0xca)],_0x37a5db[_0xd96781(0xb9)]);return _0x37a5db[_0xd96781(0xe4)][_0xd96781(0xc4)][_0xd96781(0xe9)](_0x2714f3=>{const _0x1cfce1=_0xd96781;uid2UinMap[_0x2714f3['uid']]=_0x2714f3[_0x1cfce1(0xb5)];}),_0x37a5db['result'][_0xd96781(0xc4)];}static async['getGroupNotifies'](){}static async[_0x342582(0xe2)](_0xe7a49a){const _0x1f98ba=_0x342582;return napCatCore[_0x1f98ba(0xd2)][_0x1f98ba(0xbe)]()['batchGetGroupFileCount'](_0xe7a49a);}static async[_0x342582(0xee)](){}static async[_0x342582(0xe7)](_0x519ea4,_0x187548){const _0x167101=_0x342582,_0x907175={'DuGma':_0x167101(0xce)},_0x3d4a10=(await NTQQUserApi[_0x167101(0xd9)]([_0x907175[_0x167101(0xef)]]))[_0x907175[_0x167101(0xef)]];return napCatCore['session'][_0x167101(0xc0)]()[_0x167101(0xe7)](_0x519ea4,_0x3d4a10,_0x187548);}static async[_0x342582(0xd3)](_0x528ffe,_0x4b4a28,_0x2d1712){const _0x5853c0=_0x342582,_0x9b5f69={'DnFei':function(_0x5ef1b6,_0x1482ca){return _0x5ef1b6||_0x1482ca;}};return napCatCore[_0x5853c0(0xd2)]['getGroupService']()[_0x5853c0(0xb7)](![],{'operateType':_0x4b4a28,'targetMsg':{'seq':_0x528ffe[_0x5853c0(0xd8)],'type':_0x528ffe['type'],'groupCode':_0x528ffe[_0x5853c0(0xec)][_0x5853c0(0xd7)],'postscript':_0x9b5f69[_0x5853c0(0xc5)](_0x2d1712,'')}});}static async[_0x342582(0xcb)](_0x472ab8){const _0x3d4b78=_0x342582;return napCatCore['session']['getGroupService']()[_0x3d4b78(0xcb)](_0x472ab8);}static async[_0x342582(0xb4)](_0x19c72a,_0x400a1b,_0x24f087=![],_0x5cfc5a=''){const _0x5e6699=_0x342582;return napCatCore['session'][_0x5e6699(0xc0)]()[_0x5e6699(0xb4)](_0x19c72a,_0x400a1b,_0x24f087,_0x5cfc5a);}static async[_0x342582(0xb1)](_0x1540dd,_0x32749f){const _0x1551dd=_0x342582;return napCatCore[_0x1551dd(0xd2)]['getGroupService']()[_0x1551dd(0xea)](_0x1540dd,_0x32749f);}static async[_0x342582(0xbb)](_0x312fad,_0x4729a0){const _0xe70c85=_0x342582;return napCatCore[_0xe70c85(0xd2)][_0xe70c85(0xc0)]()[_0xe70c85(0xb3)](_0x312fad,_0x4729a0);}static async[_0x342582(0xeb)](_0x2687d8,_0x14d758,_0x43164d){const _0x4378e6=_0x342582;return napCatCore[_0x4378e6(0xd2)][_0x4378e6(0xc0)]()[_0x4378e6(0xdc)](_0x2687d8,_0x14d758,_0x43164d);}static async[_0x342582(0xbd)](_0x5f41cc,_0xf1ec40,_0x500199){const _0x408a3b=_0x342582;return napCatCore['session'][_0x408a3b(0xc0)]()[_0x408a3b(0xe5)](_0x5f41cc,_0xf1ec40,_0x500199);}static async[_0x342582(0xc9)](_0x474a08,_0x2d56e){const _0x56445f=_0x342582;return napCatCore[_0x56445f(0xd2)][_0x56445f(0xc0)]()[_0x56445f(0xcf)](_0x474a08,_0x2d56e,![]);}static async[_0x342582(0xc7)](_0x3e05f1,_0x4fbd52,_0x1ea5dc){}static async[_0x342582(0xe0)](_0x35c816,_0x49610c,_0x40001f=undefined,_0x5af2e0=0x0,_0x5178c9=0x0){const _0x273259=_0x342582,_0x4dc494={'zbaVS':_0x273259(0xce),'WyPCI':function(_0xe84a80,_0x3845ca){return _0xe84a80(_0x3845ca);}},_0x42e8e2=(await NTQQUserApi[_0x273259(0xd9)]([_0x273259(0xce)]))[_0x4dc494['zbaVS']];let _0x267367={'text':_0x4dc494[_0x273259(0xd0)](encodeURI,_0x49610c),'picInfo':_0x40001f,'oldFeedsId':'','pinned':_0x5af2e0,'confirmRequired':_0x5178c9};return napCatCore['session'][_0x273259(0xc0)]()[_0x273259(0xe0)](_0x35c816,_0x42e8e2,_0x267367);}} \ 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 f65df830..e0471e42 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2b687f,_0x36155e){var _0x2a495c=_0x5e8b,_0x1af3d6=_0x2b687f();while(!![]){try{var _0x57bc47=parseInt(_0x2a495c(0x6d))/0x1+-parseInt(_0x2a495c(0x74))/0x2*(-parseInt(_0x2a495c(0x6e))/0x3)+-parseInt(_0x2a495c(0x75))/0x4+parseInt(_0x2a495c(0x72))/0x5+-parseInt(_0x2a495c(0x6c))/0x6*(-parseInt(_0x2a495c(0x71))/0x7)+-parseInt(_0x2a495c(0x6f))/0x8*(parseInt(_0x2a495c(0x70))/0x9)+-parseInt(_0x2a495c(0x76))/0xa*(parseInt(_0x2a495c(0x73))/0xb);if(_0x57bc47===_0x36155e)break;else _0x1af3d6['push'](_0x1af3d6['shift']());}catch(_0x4a0474){_0x1af3d6['push'](_0x1af3d6['shift']());}}}(_0x28b0,0x8098f));export*from'./file';export*from'./friend';function _0x5e8b(_0x4dbf5e,_0x40ff6a){var _0x28b071=_0x28b0();return _0x5e8b=function(_0x5e8bd0,_0x398021){_0x5e8bd0=_0x5e8bd0-0x6c;var _0x416fc4=_0x28b071[_0x5e8bd0];return _0x416fc4;},_0x5e8b(_0x4dbf5e,_0x40ff6a);}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x28b0(){var _0x4863b3=['30StkYjn','1135768WXsnad','9CwEkei','133hhFQQI','3556650vFJLxQ','11gXuNxp','102074fiGDhE','1009820BNwrhv','19514420WHHuFL','200778uMPPKC','1015106FJwFaR'];_0x28b0=function(){return _0x4863b3;};return _0x28b0();}export*from'./system'; \ No newline at end of file +(function(_0x12ad52,_0x10827f){var _0x43949a=_0x1d7b,_0x2bdf48=_0x12ad52();while(!![]){try{var _0x52e8ac=-parseInt(_0x43949a(0x1aa))/0x1+-parseInt(_0x43949a(0x1a2))/0x2*(-parseInt(_0x43949a(0x1a4))/0x3)+-parseInt(_0x43949a(0x1a9))/0x4*(parseInt(_0x43949a(0x1a0))/0x5)+-parseInt(_0x43949a(0x1a7))/0x6+-parseInt(_0x43949a(0x1a6))/0x7+-parseInt(_0x43949a(0x1a8))/0x8*(parseInt(_0x43949a(0x1a3))/0x9)+-parseInt(_0x43949a(0x1a1))/0xa*(-parseInt(_0x43949a(0x1a5))/0xb);if(_0x52e8ac===_0x10827f)break;else _0x2bdf48['push'](_0x2bdf48['shift']());}catch(_0x3a614d){_0x2bdf48['push'](_0x2bdf48['shift']());}}}(_0xed69,0x2dc95));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0xed69(){var _0x5b2059=['1339888TLUuiT','721910lrRsxQ','1233648PQobIC','1660168FwCQqX','252QUUgVP','95615bVihYR','7195WWTyCO','50fDRFxy','8inAMwf','9kLYyjv','210774MvXbzw'];_0xed69=function(){return _0x5b2059;};return _0xed69();}export*from'./user';export*from'./webapi';export*from'./sign';function _0x1d7b(_0x115d4f,_0x239f32){var _0xed69ee=_0xed69();return _0x1d7b=function(_0x1d7b96,_0x4d3436){_0x1d7b96=_0x1d7b96-0x1a0;var _0x16b7f5=_0xed69ee[_0x1d7b96];return _0x16b7f5;},_0x1d7b(_0x115d4f,_0x239f32);}export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 8b90b4a3..79fb1a9b 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x3d216d=_0x5be6;(function(_0x2a222f,_0x386945){const _0x2c92d0=_0x5be6,_0x5a3416=_0x2a222f();while(!![]){try{const _0x43a903=parseInt(_0x2c92d0(0x1c7))/0x1*(-parseInt(_0x2c92d0(0x1cb))/0x2)+parseInt(_0x2c92d0(0x1b2))/0x3+parseInt(_0x2c92d0(0x1a8))/0x4*(-parseInt(_0x2c92d0(0x1d8))/0x5)+parseInt(_0x2c92d0(0x1b9))/0x6*(parseInt(_0x2c92d0(0x1b4))/0x7)+-parseInt(_0x2c92d0(0x1c8))/0x8*(-parseInt(_0x2c92d0(0x19e))/0x9)+parseInt(_0x2c92d0(0x1a4))/0xa+-parseInt(_0x2c92d0(0x1d7))/0xb*(parseInt(_0x2c92d0(0x1aa))/0xc);if(_0x43a903===_0x386945)break;else _0x5a3416['push'](_0x5a3416['shift']());}catch(_0xa1212e){_0x5a3416['push'](_0x5a3416['shift']());}}}(_0x4474,0xf189a));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';function _0x4474(){const _0x4a17c7=['Ljpje','multiForwardMsgWithComment','getGroupFileList','9jrmofF','sendStatus','bytesData','sendMsg','find','then','8330840RClGVb','onMsgInfoListUpdate','发送超时','cBXZm','28PHoXNA','addListener','320316obCNWd','getMsgHistory','elements','wFmrW','length','FdsKW','getMsgService','IMCtg','5704203VBKmbB','forEach','2797501ChpFUo','com.tencent.multimsg','arkElement','delete','onLoginSuccess','12KejFGY','getRichMediaService','TGFCM','msgId','map','fGfYN','cbTfj','item','ZgIIY','getMsgsIncludeSelf','fetchRecentContact','activateChat','vNVQq','GrEzB','99539YEcpeH','4891832GEZoVn','LJoNN','catch','38khslTD','UggUH','getMsgsBySeqAndCount','转发消息超时','uid','peerUid','TdtHP','setMsgEmojiLikes','recallMsg','senderUid','getMsgsByMsgId','setMsgRead','11sYohVa','884270uxNWHf','onGroupFileInfoUpdate','getMultiMsg','set','toString','app','jUPIO','session','activateChatAndGetHistory','forwardMsg'];_0x4474=function(){return _0x4a17c7;};return _0x4474();}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x3d216d(0x1d9)]=_0x1c2ef2=>{const _0x2d65f2=_0x3d216d,_0x376399={'wFmrW':function(_0x39b0ac,_0x889978){return _0x39b0ac(_0x889978);}};for(const [_0x148819,_0x2214ac]of GroupFileInfoUpdateTasks){_0x376399[_0x2d65f2(0x1ad)](_0x2214ac,_0x1c2ef2),GroupFileInfoUpdateTasks[_0x2d65f2(0x1b7)](_0x148819);}},msgListener['onAddSendMsg']=_0x3c80fe=>{const _0x5a499b=_0x3d216d,_0x23e9ad={'mFWzb':function(_0x2896cb,_0x1e6055){return _0x2896cb(_0x1e6055);}};for(const [_0x4c68ae,_0x524ba8]of sentMsgTasks){_0x23e9ad['mFWzb'](_0x524ba8,_0x3c80fe),sentMsgTasks[_0x5a499b(0x1b7)](_0x4c68ae);}if(sendMessagePool[_0x3c80fe[_0x5a499b(0x1d0)]]){const _0x2e98cd=sendMessagePool[_0x3c80fe[_0x5a499b(0x1d0)]]?.(_0x3c80fe);_0x2e98cd instanceof Promise&&_0x2e98cd[_0x5a499b(0x1a3)]()[_0x5a499b(0x1ca)](logError);}},msgListener[_0x3d216d(0x1a5)]=_0x4e9797=>{const _0x5e8fd0=_0x3d216d,_0x537278={'Ljpje':function(_0xe6e41c,_0x5069ef){return _0xe6e41c(_0x5069ef);}};_0x4e9797[_0x5e8fd0(0x1b3)](_0x12d6a6=>{const _0x2110bb=_0x5e8fd0,_0xf362ca={'jUPIO':function(_0x1b6e3d,_0x1dc52a){const _0x18b498=_0x5be6;return _0x537278[_0x18b498(0x19b)](_0x1b6e3d,_0x1dc52a);}};new Promise((_0x30271c,_0x4a37e6)=>{const _0x13e989=_0x5be6;for(const _0x4d73ed in sendSuccessCBMap){const _0x2e9c91=sendSuccessCBMap[_0x4d73ed],_0x1e5ab5=_0xf362ca[_0x13e989(0x197)](_0x2e9c91,_0x12d6a6),_0x554344=_0x1253cb=>{_0x1253cb&&delete sendSuccessCBMap[_0x4d73ed];};_0x1e5ab5 instanceof Promise?_0x1e5ab5[_0x13e989(0x1a3)](_0x554344):_0x554344(_0x1e5ab5);}})[_0x2110bb(0x1a3)]()[_0x2110bb(0x1ca)](log);});},setTimeout(()=>{const _0x4acf35=_0x3d216d;napCatCore[_0x4acf35(0x1b8)](()=>{const _0x2a8752=_0x4acf35;napCatCore[_0x2a8752(0x1a9)](msgListener);});},0x64);function _0x5be6(_0x126c98,_0x53eca7){const _0x44743a=_0x4474();return _0x5be6=function(_0x5be642,_0x3248c5){_0x5be642=_0x5be642-0x197;let _0x47f46d=_0x44743a[_0x5be642];return _0x47f46d;},_0x5be6(_0x126c98,_0x53eca7);}export class NTQQMsgApi{static async['setEmojiLike'](_0x104772,_0x3998a0,_0x3b5216,_0x456f75=!![]){const _0x4f2f7a=_0x3d216d;return _0x3b5216=_0x3b5216[_0x4f2f7a(0x1dc)](),napCatCore[_0x4f2f7a(0x198)][_0x4f2f7a(0x1b0)]()[_0x4f2f7a(0x1d2)](_0x104772,_0x3998a0,_0x3b5216,_0x3b5216[_0x4f2f7a(0x1ae)]>0x3?'2':'1',_0x456f75);}static async[_0x3d216d(0x1da)](_0x49eeee,_0xbe5a62,_0x4ad2be){const _0x49a1a6=_0x3d216d;return napCatCore['session'][_0x49a1a6(0x1b0)]()[_0x49a1a6(0x1da)](_0x49eeee,_0xbe5a62,_0x4ad2be);}static async['getMsgsByMsgId'](_0x4cea22,_0xccfe51){const _0x2c4632=_0x3d216d;return await napCatCore[_0x2c4632(0x198)]['getMsgService']()[_0x2c4632(0x1d5)](_0x4cea22,_0xccfe51);}static async[_0x3d216d(0x1cd)](_0x42ae8c,_0x90814c,_0x3150a8,_0x16c6ca,_0x18f203){const _0x161658=_0x3d216d;return await napCatCore['session']['getMsgService']()[_0x161658(0x1cd)](_0x42ae8c,_0x90814c,_0x3150a8,_0x16c6ca,_0x18f203);}static async[_0x3d216d(0x1c4)](_0x78fd79){}static async[_0x3d216d(0x199)](_0x4f36f1){}static async['setMsgRead'](_0x351d38){const _0x5d20d4=_0x3d216d;return napCatCore[_0x5d20d4(0x198)]['getMsgService']()[_0x5d20d4(0x1d6)](_0x351d38);}static async['getGroupFileList'](_0x1c3aca,_0x466cd1){const _0x339757={'cbTfj':function(_0x289c0d,_0x5b5816){return _0x289c0d(_0x5b5816);},'GrEzB':function(_0x5f1d1a,_0x554e8c,_0x41caa1){return _0x5f1d1a(_0x554e8c,_0x41caa1);},'fGfYN':function(_0x125eed){return _0x125eed();}};return new Promise(async(_0xfc164c,_0x2d9c06)=>{const _0x1d99e6=_0x5be6,_0x1fbac8={'LJoNN':function(_0x1786c4,_0x433cb6){const _0x3e0167=_0x5be6;return _0x339757[_0x3e0167(0x1bf)](_0x1786c4,_0x433cb6);}};let _0x3c3fc3=![];_0x339757[_0x1d99e6(0x1c6)](setTimeout,()=>{const _0x2d25e4=_0x1d99e6;!_0x3c3fc3&&_0x1fbac8[_0x2d25e4(0x1c9)](_0x2d9c06,'获取群文件列表超时');},0x1388);const _0x24dc9d=_0xcd22ef=>{const _0x2fc461=_0x1d99e6;_0x3c3fc3=!![],_0x339757[_0x2fc461(0x1bf)](_0xfc164c,_0xcd22ef[_0x2fc461(0x1c0)]);};GroupFileInfoUpdateTasks[_0x1d99e6(0x1db)](_0x339757[_0x1d99e6(0x1be)](randomUUID),_0x24dc9d),await napCatCore[_0x1d99e6(0x198)][_0x1d99e6(0x1ba)]()[_0x1d99e6(0x19d)](_0x1c3aca,_0x466cd1);});}static async[_0x3d216d(0x1ab)](_0x451b22,_0x583123,_0x322da1){const _0x3acfb0=_0x3d216d;return napCatCore['session'][_0x3acfb0(0x1b0)]()[_0x3acfb0(0x1c2)](_0x451b22,_0x583123,_0x322da1,!![]);}static async[_0x3d216d(0x1c3)](){}static async[_0x3d216d(0x1d3)](_0x55ae18,_0x4e384a){const _0xc59637=_0x3d216d;await napCatCore['session'][_0xc59637(0x1b0)]()[_0xc59637(0x1d3)]({'chatType':_0x55ae18['chatType'],'peerUid':_0x55ae18[_0xc59637(0x1d0)]},_0x4e384a);}static async[_0x3d216d(0x1a1)](_0x59f327,_0x3eb40,_0x3e97fa=!![],_0x749b2a=0x2710){const _0x38f016=_0x3d216d,_0x3c6788={'QDGfA':function(_0x3d8a4d,_0x337db3){return _0x3d8a4d>_0x337db3;},'IMCtg':function(_0xc1b4a8,_0x3210ae){return _0xc1b4a8(_0x3210ae);},'TGFCM':function(_0x2591de){return _0x2591de();},'vNVQq':function(_0x484fa1,_0x37439e){return _0x484fa1===_0x37439e;},'pubMG':function(_0x65c195,_0x25d657){return _0x65c195(_0x25d657);},'ZgIIY':_0x38f016(0x1a6),'cBXZm':function(_0x747dab){return _0x747dab();},'FdsKW':function(_0x415c85,_0x508888,_0x4cfb9f){return _0x415c85(_0x508888,_0x4cfb9f);}},_0x282ce0=_0x59f327['peerUid'];let _0x56b571=0x0;const _0x213575=async()=>{const _0x10e018=_0x38f016;if(_0x3c6788['QDGfA'](_0x56b571,_0x749b2a))throw _0x10e018(0x1a6);const _0x2a8119=sendMessagePool[_0x59f327[_0x10e018(0x1d0)]];if(_0x2a8119)return await _0x3c6788[_0x10e018(0x1b1)](sleep,0x1f4),_0x56b571+=0x1f4,await _0x3c6788[_0x10e018(0x1bb)](_0x213575);else return;};return await _0x3c6788[_0x38f016(0x1bb)](_0x213575),new Promise((_0x311097,_0x4b68ad)=>{const _0x1b0230=_0x38f016,_0x29f3bf={'rmgPF':_0x3c6788[_0x1b0230(0x1c1)]};let _0xda005a=![],_0x2eb53e=null;const _0x42413f=_0x3c6788[_0x1b0230(0x1a7)](randomUUID);sendSuccessCBMap[_0x42413f]=_0x373a47=>{const _0x290880=_0x1b0230;if(_0x3c6788[_0x290880(0x1c5)](_0x373a47[_0x290880(0x1bc)],_0x2eb53e?.['msgId'])){if(_0x373a47[_0x290880(0x19f)]===0x2)return delete sendSuccessCBMap[_0x42413f],_0xda005a=!![],_0x3c6788['pubMG'](_0x311097,_0x373a47),!![];return![];}return![];},sendMessagePool[_0x282ce0]=async _0x593adb=>{delete sendMessagePool[_0x282ce0],_0x2eb53e=_0x593adb;},_0x3c6788[_0x1b0230(0x1af)](setTimeout,()=>{if(_0xda005a)return;delete sendMessagePool[_0x282ce0],delete sendSuccessCBMap[_0x42413f],_0x4b68ad(_0x29f3bf['rmgPF']);},_0x749b2a);const _0xcdb2c1=napCatCore[_0x1b0230(0x198)][_0x1b0230(0x1b0)]()[_0x1b0230(0x1a1)]('0',_0x59f327,_0x3eb40,new Map());});}static async[_0x3d216d(0x19a)](_0x4375d7,_0x2bfb2d,_0x4d8b0a){const _0x47f384=_0x3d216d;return napCatCore[_0x47f384(0x198)]['getMsgService']()[_0x47f384(0x19a)](_0x4d8b0a,_0x4375d7,[_0x2bfb2d],new Map());}static async['multiForwardMsg'](_0x14f556,_0x50832b,_0x5c7a65){const _0x5e3014=_0x3d216d,_0x2cba14={'TdtHP':function(_0x39a98a,_0x57af6b){return _0x39a98a(_0x57af6b);},'OvndQ':_0x5e3014(0x1ce),'pJBnS':_0x5e3014(0x1b5),'eKZRK':function(_0x22bdb9,_0x3dceb2){return _0x22bdb9==_0x3dceb2;},'cZobc':function(_0x17e11c,_0x361df6){return _0x17e11c(_0x361df6);},'ndDSE':function(_0x4e32a3){return _0x4e32a3();}},_0x80cbf0=_0x5c7a65[_0x5e3014(0x1bd)](_0x3f8aa0=>{return{'msgId':_0x3f8aa0,'senderShowName':selfInfo['nick']};});return new Promise((_0x592520,_0x1b67d7)=>{const _0x4ebd89=_0x5e3014,_0x3a69bb={'iqjWq':_0x2cba14['pJBnS'],'UggUH':function(_0x1f5f8a,_0x4b2857){return _0x2cba14['eKZRK'](_0x1f5f8a,_0x4b2857);},'gWHPy':function(_0x260a28,_0x406594){return _0x2cba14['cZobc'](_0x260a28,_0x406594);}};let _0x199bdc=![];const _0x57f884=_0x34dde7=>{const _0x40da42=_0x5be6,_0x233783=_0x34dde7[_0x40da42(0x1ac)][_0x40da42(0x1a2)](_0x299583=>_0x299583['arkElement']);if(!_0x233783)return;const _0x577873=JSON['parse'](_0x233783[_0x40da42(0x1b6)][_0x40da42(0x1a0)]);if(_0x577873[_0x40da42(0x1dd)]!=_0x3a69bb['iqjWq'])return;_0x3a69bb[_0x40da42(0x1cc)](_0x34dde7[_0x40da42(0x1d0)],_0x50832b[_0x40da42(0x1d0)])&&_0x3a69bb['UggUH'](_0x34dde7[_0x40da42(0x1d4)],selfInfo[_0x40da42(0x1cf)])&&(_0x199bdc=!![],_0x3a69bb['gWHPy'](_0x592520,_0x34dde7));};sentMsgTasks[_0x4ebd89(0x1db)](_0x2cba14['ndDSE'](randomUUID),_0x57f884),setTimeout(()=>{const _0x13d074=_0x4ebd89;!_0x199bdc&&_0x2cba14[_0x13d074(0x1d1)](_0x1b67d7,_0x2cba14['OvndQ']);},0x1388),napCatCore[_0x4ebd89(0x198)][_0x4ebd89(0x1b0)]()[_0x4ebd89(0x19c)](_0x80cbf0,_0x14f556,_0x50832b,[],new Map());});}} \ No newline at end of file +const _0x457f07=_0xba3f;(function(_0x29a9bc,_0x4845d6){const _0x171552=_0xba3f,_0x1733b6=_0x29a9bc();while(!![]){try{const _0x18b602=-parseInt(_0x171552(0xee))/0x1*(parseInt(_0x171552(0xda))/0x2)+parseInt(_0x171552(0x103))/0x3*(-parseInt(_0x171552(0xef))/0x4)+parseInt(_0x171552(0xbb))/0x5*(-parseInt(_0x171552(0xdf))/0x6)+-parseInt(_0x171552(0xe8))/0x7*(-parseInt(_0x171552(0xea))/0x8)+parseInt(_0x171552(0xd6))/0x9*(parseInt(_0x171552(0xf5))/0xa)+parseInt(_0x171552(0xbc))/0xb+-parseInt(_0x171552(0xc7))/0xc*(-parseInt(_0x171552(0xe3))/0xd);if(_0x18b602===_0x4845d6)break;else _0x1733b6['push'](_0x1733b6['shift']());}catch(_0xae5a42){_0x1733b6['push'](_0x1733b6['shift']());}}}(_0x3e3c,0xa7261));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0xba3f(_0x523c08,_0x1362b6){const _0x3e3c32=_0x3e3c();return _0xba3f=function(_0xba3f0d,_0x1d729d){_0xba3f0d=_0xba3f0d-0xb9;let _0x5da817=_0x3e3c32[_0xba3f0d];return _0x5da817;},_0xba3f(_0x523c08,_0x1362b6);}function _0x3e3c(){const _0x2eb7aa=['XDdMh','发送超时','multiForwardMsgWithComment','NQCmf','getRichMediaService','yDpiU','onLoginSuccess','90IcuHzJ','forEach','recallMsg','item','106JIHxrQ','delete','QschU','获取群文件列表超时','sendMsg','5302842urZLip','addListener','qzAWp','toString','18341843ZPyBcc','bytesData','rpRws','getMsgsIncludeSelf','multiForwardMsg','14DLHBDC','getGroupFileList','2930912rEhybI','getMsgService','set','arkElement','23887jlnFEt','12eQHqpo','SapMw','XDLfd','catch','getMsgsBySeqAndCount','sendStatus','502070kIqBBv','onAddSendMsg','activateChatAndGetHistory','forwardMsg','GzAjA','SeHGb','SrWaO','chatType','getMsgsByMsgId','EyYQv','session','elements','map','uid','41214rlsPvF','activateChat','OZXBe','nick','5GtftYD','2529604wjwOKP','find','app','setMsgEmojiLikes','vZfiG','setEmojiLike','dpQrd','getMultiMsg','fetchRecentContact','com.tencent.multimsg','setMsgRead','12wzJJef','USSMT','peerUid','getMsgHistory','then','MeyND','msgId','MaFGL'];_0x3e3c=function(){return _0x2eb7aa;};return _0x3e3c();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x4321ae=>{const _0x290cd8=_0xba3f,_0x57bce1={'MeyND':function(_0x4abb6a,_0x139ed6){return _0x4abb6a(_0x139ed6);}};for(const [_0x3ee026,_0x3e5c81]of GroupFileInfoUpdateTasks){_0x57bce1[_0x290cd8(0xcc)](_0x3e5c81,_0x4321ae),GroupFileInfoUpdateTasks[_0x290cd8(0xdb)](_0x3ee026);}},msgListener[_0x457f07(0xf6)]=_0x4d0bda=>{const _0x42a4b8=_0x457f07,_0xe176b1={'znWJt':function(_0x3a9590,_0x4ecffd){return _0x3a9590 instanceof _0x4ecffd;}};for(const [_0x4cb3f0,_0x3fef41]of sentMsgTasks){_0x3fef41(_0x4d0bda),sentMsgTasks[_0x42a4b8(0xdb)](_0x4cb3f0);}if(sendMessagePool[_0x4d0bda[_0x42a4b8(0xc9)]]){const _0x195974=sendMessagePool[_0x4d0bda[_0x42a4b8(0xc9)]]?.(_0x4d0bda);_0xe176b1['znWJt'](_0x195974,Promise)&&_0x195974[_0x42a4b8(0xcb)]()[_0x42a4b8(0xf2)](logError);}},msgListener['onMsgInfoListUpdate']=_0x56e2b0=>{const _0x1c0c8d=_0x457f07;_0x56e2b0[_0x1c0c8d(0xd7)](_0x3ea57a=>{const _0x48c1d0=_0x1c0c8d,_0x5b819b={'yDpiU':function(_0x26746d,_0x267475){return _0x26746d(_0x267475);}};new Promise((_0x688bb6,_0xd8d227)=>{const _0xaf488a=_0xba3f;for(const _0x2dd72b in sendSuccessCBMap){const _0x4566df=sendSuccessCBMap[_0x2dd72b],_0x5e9a53=_0x4566df(_0x3ea57a),_0x3a1dc8=_0x5c4cba=>{_0x5c4cba&&delete sendSuccessCBMap[_0x2dd72b];};_0x5e9a53 instanceof Promise?_0x5e9a53[_0xaf488a(0xcb)](_0x3a1dc8):_0x5b819b[_0xaf488a(0xd4)](_0x3a1dc8,_0x5e9a53);}})['then']()[_0x48c1d0(0xf2)](log);});},setTimeout(()=>{const _0x3caf53=_0x457f07;napCatCore[_0x3caf53(0xd5)](()=>{const _0x14313e=_0x3caf53;napCatCore[_0x14313e(0xe0)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x457f07(0xc1)](_0x296116,_0x1a781f,_0x4d57b4,_0x46f76d=!![]){const _0xba73ce=_0x457f07;return _0x4d57b4=_0x4d57b4[_0xba73ce(0xe2)](),napCatCore['session'][_0xba73ce(0xeb)]()[_0xba73ce(0xbf)](_0x296116,_0x1a781f,_0x4d57b4,_0x4d57b4['length']>0x3?'2':'1',_0x46f76d);}static async[_0x457f07(0xc3)](_0x36b4c1,_0x2ae8b5,_0x3758d8){const _0x47887c=_0x457f07;return napCatCore['session']['getMsgService']()[_0x47887c(0xc3)](_0x36b4c1,_0x2ae8b5,_0x3758d8);}static async[_0x457f07(0xfd)](_0x13e533,_0xa05257){const _0x1a16b7=_0x457f07;return await napCatCore['session'][_0x1a16b7(0xeb)]()[_0x1a16b7(0xfd)](_0x13e533,_0xa05257);}static async[_0x457f07(0xf3)](_0x548fbd,_0x197795,_0x26c915,_0x1cd43b,_0x775088){const _0x39b6db=_0x457f07;return await napCatCore['session'][_0x39b6db(0xeb)]()[_0x39b6db(0xf3)](_0x548fbd,_0x197795,_0x26c915,_0x1cd43b,_0x775088);}static async[_0x457f07(0x104)](_0x43cb61){}static async[_0x457f07(0xf7)](_0x5e1ffb){}static async[_0x457f07(0xc6)](_0x38e5cf){const _0x32a1c9=_0x457f07;return napCatCore[_0x32a1c9(0xff)]['getMsgService']()['setMsgRead'](_0x38e5cf);}static async[_0x457f07(0xe9)](_0x3e4225,_0x4c53da){const _0x2de089=_0x457f07,_0x4c1f3a={'XDdMh':function(_0x1ccc48,_0x21b60f){return _0x1ccc48(_0x21b60f);},'QschU':_0x2de089(0xdd),'SeHGb':function(_0x1ca132,_0x207403){return _0x1ca132(_0x207403);},'tpuRC':function(_0x57f3a5,_0x44869d,_0x255248){return _0x57f3a5(_0x44869d,_0x255248);},'MaFGL':function(_0x22715c){return _0x22715c();}};return new Promise(async(_0x505ba6,_0x24ba84)=>{const _0x58037b=_0x2de089,_0x35a78b={'qzAWp':function(_0x17b62c,_0x3adb02){const _0x5c089e=_0xba3f;return _0x4c1f3a[_0x5c089e(0xfa)](_0x17b62c,_0x3adb02);}};let _0xb3291c=![];_0x4c1f3a['tpuRC'](setTimeout,()=>{const _0x416431=_0xba3f;!_0xb3291c&&_0x4c1f3a[_0x416431(0xcf)](_0x24ba84,_0x4c1f3a[_0x416431(0xdc)]);},0x1388);const _0x12219a=_0x30a1dd=>{const _0x2d4133=_0xba3f;_0xb3291c=!![],_0x35a78b[_0x2d4133(0xe1)](_0x505ba6,_0x30a1dd[_0x2d4133(0xd9)]);};GroupFileInfoUpdateTasks[_0x58037b(0xec)](_0x4c1f3a[_0x58037b(0xce)](randomUUID),_0x12219a),await napCatCore[_0x58037b(0xff)][_0x58037b(0xd3)]()[_0x58037b(0xe9)](_0x3e4225,_0x4c53da);});}static async[_0x457f07(0xca)](_0x47d85d,_0x3f7878,_0x3959fd){const _0x4c3518=_0x457f07;return napCatCore['session'][_0x4c3518(0xeb)]()[_0x4c3518(0xe6)](_0x47d85d,_0x3f7878,_0x3959fd,!![]);}static async[_0x457f07(0xc4)](){}static async[_0x457f07(0xd8)](_0x1f061f,_0x27fbe2){const _0x3358df=_0x457f07;await napCatCore[_0x3358df(0xff)][_0x3358df(0xeb)]()[_0x3358df(0xd8)]({'chatType':_0x1f061f[_0x3358df(0xfc)],'peerUid':_0x1f061f[_0x3358df(0xc9)]},_0x27fbe2);}static async[_0x457f07(0xde)](_0x56b41f,_0x1d515f,_0x3ad492=!![],_0x279236=0x2710){const _0x1c0e80=_0x457f07,_0x44ae2a={'SapMw':_0x1c0e80(0xd0),'SrWaO':function(_0x54aec6,_0x487fb2){return _0x54aec6(_0x487fb2);},'dpQrd':function(_0x2db415){return _0x2db415();},'vZfiG':function(_0x1cabe3,_0x2e5597){return _0x1cabe3(_0x2e5597);},'GzAjA':function(_0x33c79e,_0x325c5e,_0x191416){return _0x33c79e(_0x325c5e,_0x191416);}},_0x48f2a3=_0x56b41f[_0x1c0e80(0xc9)];let _0x4d4fef=0x0;const _0x4d01c8=async()=>{const _0x584045=_0x1c0e80;if(_0x4d4fef>_0x279236)throw _0x44ae2a[_0x584045(0xf0)];const _0x3956f5=sendMessagePool[_0x56b41f[_0x584045(0xc9)]];if(_0x3956f5)return await _0x44ae2a[_0x584045(0xfb)](sleep,0x1f4),_0x4d4fef+=0x1f4,await _0x44ae2a[_0x584045(0xc2)](_0x4d01c8);else return;};return await _0x4d01c8(),new Promise((_0x1d88d5,_0x58c8b0)=>{const _0x1c5c9b=_0x1c0e80;let _0x88d778=![],_0x1be3e3=null;const _0x414d33=_0x44ae2a[_0x1c5c9b(0xc2)](randomUUID);sendSuccessCBMap[_0x414d33]=_0x3f6726=>{const _0x845a2f=_0x1c5c9b;if(_0x3f6726[_0x845a2f(0xcd)]===_0x1be3e3?.[_0x845a2f(0xcd)]){if(_0x3f6726[_0x845a2f(0xf4)]===0x2)return delete sendSuccessCBMap[_0x414d33],_0x88d778=!![],_0x44ae2a[_0x845a2f(0xfb)](_0x1d88d5,_0x3f6726),!![];return![];}return![];},sendMessagePool[_0x48f2a3]=async _0x52b4e4=>{delete sendMessagePool[_0x48f2a3],_0x1be3e3=_0x52b4e4;},_0x44ae2a[_0x1c5c9b(0xf9)](setTimeout,()=>{const _0x3515ae=_0x1c5c9b;if(_0x88d778)return;delete sendMessagePool[_0x48f2a3],delete sendSuccessCBMap[_0x414d33],_0x44ae2a[_0x3515ae(0xc0)](_0x58c8b0,_0x44ae2a[_0x3515ae(0xf0)]);},_0x279236);const _0x4e2660=napCatCore[_0x1c5c9b(0xff)][_0x1c5c9b(0xeb)]()['sendMsg']('0',_0x56b41f,_0x1d515f,new Map());});}static async[_0x457f07(0xf8)](_0x285d19,_0x5169e6,_0x11c79b){const _0x44ef7f=_0x457f07;return napCatCore['session'][_0x44ef7f(0xeb)]()[_0x44ef7f(0xf8)](_0x11c79b,_0x285d19,[_0x5169e6],new Map());}static async[_0x457f07(0xe7)](_0xbcb4ad,_0x4ffe99,_0x3e7055){const _0xb52098=_0x457f07,_0x550e4c={'rpRws':_0xb52098(0xc5),'NQCmf':function(_0x1f1e5e,_0x5b623d){return _0x1f1e5e(_0x5b623d);},'BgYEc':'转发消息超时','rMqFP':function(_0x2ccb5a){return _0x2ccb5a();}},_0xfe0f8b=_0x3e7055[_0xb52098(0x101)](_0x4a04cc=>{const _0x2d370f=_0xb52098;return{'msgId':_0x4a04cc,'senderShowName':selfInfo[_0x2d370f(0xba)]};});return new Promise((_0x30d963,_0x18d144)=>{const _0x3d55a9=_0xb52098,_0x162f85={'lVLeW':_0x550e4c[_0x3d55a9(0xe5)],'USSMT':function(_0x54082a,_0x47a415){return _0x54082a==_0x47a415;},'OZXBe':function(_0x1b2356,_0x5e242f){const _0x3d641f=_0x3d55a9;return _0x550e4c[_0x3d641f(0xd2)](_0x1b2356,_0x5e242f);},'XDLfd':function(_0x43d6c2,_0x52fb00){return _0x550e4c['NQCmf'](_0x43d6c2,_0x52fb00);},'EyYQv':_0x550e4c['BgYEc']};let _0x5ce722=![];const _0x5710f6=_0x3d15df=>{const _0x4ada0c=_0x3d55a9,_0x477b05=_0x3d15df[_0x4ada0c(0x100)][_0x4ada0c(0xbd)](_0x5dc80a=>_0x5dc80a[_0x4ada0c(0xed)]);if(!_0x477b05)return;const _0xeed6e8=JSON['parse'](_0x477b05['arkElement'][_0x4ada0c(0xe4)]);if(_0xeed6e8[_0x4ada0c(0xbe)]!=_0x162f85['lVLeW'])return;_0x162f85[_0x4ada0c(0xc8)](_0x3d15df[_0x4ada0c(0xc9)],_0x4ffe99[_0x4ada0c(0xc9)])&&_0x162f85[_0x4ada0c(0xc8)](_0x3d15df['senderUid'],selfInfo[_0x4ada0c(0x102)])&&(_0x5ce722=!![],_0x162f85[_0x4ada0c(0xb9)](_0x30d963,_0x3d15df));};sentMsgTasks[_0x3d55a9(0xec)](_0x550e4c['rMqFP'](randomUUID),_0x5710f6),setTimeout(()=>{const _0x1a4db4=_0x3d55a9;!_0x5ce722&&_0x162f85[_0x1a4db4(0xf1)](_0x18d144,_0x162f85[_0x1a4db4(0xfe)]);},0x1388),napCatCore[_0x3d55a9(0xff)][_0x3d55a9(0xeb)]()[_0x3d55a9(0xd1)](_0xfe0f8b,_0xbcb4ad,_0x4ffe99,[],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 a3895df6..f7fb1d12 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x57745a,_0x1a3c84){const _0x2277fc=_0x1a0e,_0x2d9c64=_0x57745a();while(!![]){try{const _0x1effcc=-parseInt(_0x2277fc(0x164))/0x1*(parseInt(_0x2277fc(0x157))/0x2)+parseInt(_0x2277fc(0x180))/0x3*(-parseInt(_0x2277fc(0x160))/0x4)+parseInt(_0x2277fc(0x183))/0x5*(parseInt(_0x2277fc(0x182))/0x6)+parseInt(_0x2277fc(0x17a))/0x7+-parseInt(_0x2277fc(0x16c))/0x8+-parseInt(_0x2277fc(0x16e))/0x9+parseInt(_0x2277fc(0x168))/0xa*(parseInt(_0x2277fc(0x161))/0xb);if(_0x1effcc===_0x1a3c84)break;else _0x2d9c64['push'](_0x2d9c64['shift']());}catch(_0x5e1791){_0x2d9c64['push'](_0x2d9c64['shift']());}}}(_0x21f4,0xacd09));import{logDebug}from'@/common/utils/log';function _0x21f4(){const _0x42bb31=['p_skey','sourcelogo','skey','353454PwuBmL','&ark=','6fnKqAa','1557445ceixFn','bvqVR','getQzoneCookies','\x5c/\x5c/','6WsmDjc',';\x20p_uin=o','getSkey','UWGgQ',';\x20uin=o','dqQFX','vKtNy','prompt','GET','24tkOImJ','364749mNlpAs','jumpUrl','GIZPu','127661YWBBmO','mGSXm','stringify','signed_ark','710gCpWvv','tianxuan.imgJumpArk','title','preview','535984KtRFYr','source','9009027RNpBAr','MiniApp\x20JSON\x20消息生成失败','tag','replace','gMdSV','FpoJe','MOTyE','XRUAa','genBkn','HouMH','miniapp','XvEMd','1399741aFLNRy','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','uin'];_0x21f4=function(){return _0x42bb31;};return _0x21f4();}import{NTQQUserApi}from'./user';function _0x1a0e(_0x10c532,_0x2cda74){const _0x21f438=_0x21f4();return _0x1a0e=function(_0x1a0e4c,_0xeae817){_0x1a0e4c=_0x1a0e4c-0x157;let _0x39783d=_0x21f438[_0x1a0e4c];return _0x39783d;},_0x1a0e(_0x10c532,_0x2cda74);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x562e1a){const _0x11c92b=_0x1a0e,_0x36180b={'XRUAa':_0x11c92b(0x169),'mGSXm':_0x11c92b(0x178),'GIZPu':'normal','MOTyE':_0x11c92b(0x186),'XvEMd':function(_0x2c07ff,_0x95d6fc){return _0x2c07ff+_0x95d6fc;},'UWGgQ':function(_0x55f76f,_0x382560){return _0x55f76f+_0x382560;},'vKtNy':'p_skey=','FpoJe':';\x20skey=','gMdSV':_0x11c92b(0x158),'lnlLx':_0x11c92b(0x15b),'HouMH':function(_0x399641,_0x317dc2){return _0x399641+_0x317dc2;},'ilxji':function(_0x11d6fb,_0x35d8cf){return _0x11d6fb+_0x35d8cf;},'xaIfm':function(_0x464a77,_0x5cf494){return _0x464a77(_0x5cf494);},'bvqVR':_0x11c92b(0x15f),'dqQFX':_0x11c92b(0x16f)};let _0x50da80={'app':'com.tencent.miniapp.lua','bizsrc':_0x36180b[_0x11c92b(0x175)],'view':_0x36180b[_0x11c92b(0x165)],'prompt':_0x562e1a[_0x11c92b(0x15e)],'config':{'type':_0x36180b[_0x11c92b(0x163)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x562e1a[_0x11c92b(0x16a)],'preview':_0x562e1a[_0x11c92b(0x16b)][_0x11c92b(0x171)](/\\/g,_0x36180b[_0x11c92b(0x174)]),'jumpUrl':_0x562e1a[_0x11c92b(0x162)]['replace'](/\\/g,_0x11c92b(0x186)),'tag':_0x562e1a[_0x11c92b(0x170)],'tagIcon':_0x562e1a['tagIcon'][_0x11c92b(0x171)](/\\/g,_0x36180b[_0x11c92b(0x174)]),'source':_0x562e1a[_0x11c92b(0x16d)],'sourcelogo':_0x562e1a[_0x11c92b(0x17e)][_0x11c92b(0x171)](/\\/g,_0x11c92b(0x186))}}};const _0x19a52a=await NTQQUserApi[_0x11c92b(0x159)]();let _0x5c56b0=await NTQQUserApi[_0x11c92b(0x185)]();const _0x148dab=WebApi[_0x11c92b(0x176)](_0x5c56b0[_0x11c92b(0x17d)]),_0x577015=_0x36180b['XvEMd'](_0x36180b['XvEMd'](_0x36180b[_0x11c92b(0x15a)](_0x36180b[_0x11c92b(0x179)](_0x36180b[_0x11c92b(0x15a)](_0x36180b['XvEMd'](_0x36180b[_0x11c92b(0x179)](_0x36180b[_0x11c92b(0x15d)],_0x5c56b0['p_skey']),_0x36180b[_0x11c92b(0x173)]),_0x5c56b0[_0x11c92b(0x17f)]),_0x36180b[_0x11c92b(0x172)]),selfInfo[_0x11c92b(0x17c)]),_0x36180b['lnlLx']),selfInfo[_0x11c92b(0x17c)]);let _0x5765c6=_0x36180b[_0x11c92b(0x177)](_0x36180b['ilxji'](_0x11c92b(0x17b)+_0x148dab,_0x11c92b(0x181)),_0x36180b['xaIfm'](encodeURIComponent,JSON[_0x11c92b(0x166)](_0x50da80))),_0x47ae97='';try{let _0x3f0e2f=await RequestUtil['HttpGetJson'](_0x5765c6,_0x36180b[_0x11c92b(0x184)],undefined,{'Cookie':_0x577015});_0x47ae97=_0x3f0e2f['data'][_0x11c92b(0x167)];}catch(_0x5c0005){logDebug(_0x36180b[_0x11c92b(0x15c)],_0x5c0005);}return _0x47ae97;} \ No newline at end of file +function _0xfc35(){const _0x5dbc93=['400840LDcQkC','prompt','BAuXV','HttpGetJson','GRWzC',';\x20skey=','miniapp','23584cIggMF','signed_ark','xwBsu','jumpUrl','wpFrQ','7754nJTdqP','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','title','tag','7810NTYqyf','uin','7971012POGCAz','nZybw','259810JGIVtb','yonqn','GET','replace','preview','88Evvnre','skey','63EMoZDU','p_skey','\x5c/\x5c/','uWJgm','tagIcon','4mWMTqz','dxsHQ','528792yMDwJD','edVFA','AFikB','genBkn','source','tianxuan.imgJumpArk',';\x20p_uin=o',';\x20uin=o','data','sourcelogo','p_skey=','503839nqiwLI','NUGlB','Ndbda'];_0xfc35=function(){return _0x5dbc93;};return _0xfc35();}(function(_0x2eb5ba,_0x55a43d){const _0x5be0b9=_0x4bc1,_0x4c6747=_0x2eb5ba();while(!![]){try{const _0x2d1705=parseInt(_0x5be0b9(0xad))/0x1+-parseInt(_0x5be0b9(0xb9))/0x2*(-parseInt(_0x5be0b9(0x98))/0x3)+parseInt(_0x5be0b9(0x9d))/0x4*(parseInt(_0x5be0b9(0x91))/0x5)+-parseInt(_0x5be0b9(0x9f))/0x6+parseInt(_0x5be0b9(0xaa))/0x7*(-parseInt(_0x5be0b9(0x96))/0x8)+-parseInt(_0x5be0b9(0xbf))/0x9+-parseInt(_0x5be0b9(0xbd))/0xa*(-parseInt(_0x5be0b9(0xb4))/0xb);if(_0x2d1705===_0x55a43d)break;else _0x4c6747['push'](_0x4c6747['shift']());}catch(_0x260370){_0x4c6747['push'](_0x4c6747['shift']());}}}(_0xfc35,0x6c300));function _0x4bc1(_0x4ed444,_0x2ef58e){const _0xfc35ae=_0xfc35();return _0x4bc1=function(_0x4bc1e7,_0x156ee1){_0x4bc1e7=_0x4bc1e7-0x90;let _0x1e5798=_0xfc35ae[_0x4bc1e7];return _0x1e5798;},_0x4bc1(_0x4ed444,_0x2ef58e);}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(_0x8f6b4a){const _0x5e9168=_0x4bc1,_0x3f2867={'BAuXV':'com.tencent.miniapp.lua','Ndbda':_0x5e9168(0xa4),'VkXKz':_0x5e9168(0xb3),'uWJgm':'normal','AFikB':_0x5e9168(0x9a),'NUGlB':function(_0x43ab82,_0xcfd849){return _0x43ab82+_0xcfd849;},'wpFrQ':function(_0x4bb822,_0x46fd09){return _0x4bb822+_0x46fd09;},'Mtjmx':function(_0x88dc84,_0x571558){return _0x88dc84+_0x571558;},'dxsHQ':_0x5e9168(0xa9),'yonqn':_0x5e9168(0xb2),'VDbLA':_0x5e9168(0xa5),'xwBsu':_0x5e9168(0xa6),'nZybw':function(_0x5eb851,_0x3b7e33){return _0x5eb851+_0x3b7e33;},'edVFA':_0x5e9168(0xba),'VGYYO':'&ark=','sGRmg':_0x5e9168(0x93),'kbsfC':function(_0x500a15,_0x54ed58,_0x52939b){return _0x500a15(_0x54ed58,_0x52939b);},'GRWzC':'MiniApp\x20JSON\x20消息生成失败'};let _0x16d176={'app':_0x3f2867[_0x5e9168(0xaf)],'bizsrc':_0x3f2867[_0x5e9168(0xac)],'view':_0x3f2867['VkXKz'],'prompt':_0x8f6b4a[_0x5e9168(0xae)],'config':{'type':_0x3f2867[_0x5e9168(0x9b)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x8f6b4a[_0x5e9168(0xbb)],'preview':_0x8f6b4a[_0x5e9168(0x95)]['replace'](/\\/g,_0x3f2867[_0x5e9168(0xa1)]),'jumpUrl':_0x8f6b4a[_0x5e9168(0xb7)][_0x5e9168(0x94)](/\\/g,_0x3f2867[_0x5e9168(0xa1)]),'tag':_0x8f6b4a[_0x5e9168(0xbc)],'tagIcon':_0x8f6b4a[_0x5e9168(0x9c)][_0x5e9168(0x94)](/\\/g,_0x5e9168(0x9a)),'source':_0x8f6b4a[_0x5e9168(0xa3)],'sourcelogo':_0x8f6b4a[_0x5e9168(0xa8)]['replace'](/\\/g,_0x5e9168(0x9a))}}};const _0x47ca78=await NTQQUserApi['getSkey']();let _0x3cef92=await NTQQUserApi['getQzoneCookies']();const _0x253d74=WebApi[_0x5e9168(0xa2)](_0x3cef92['p_skey']),_0x8984da=_0x3f2867[_0x5e9168(0xab)](_0x3f2867['wpFrQ'](_0x3f2867['NUGlB'](_0x3f2867[_0x5e9168(0xb8)](_0x3f2867['Mtjmx'](_0x3f2867[_0x5e9168(0x9e)],_0x3cef92[_0x5e9168(0x99)])+_0x3f2867[_0x5e9168(0x92)],_0x3cef92[_0x5e9168(0x97)]),_0x3f2867['VDbLA']),selfInfo[_0x5e9168(0xbe)]),_0x3f2867[_0x5e9168(0xb6)])+selfInfo[_0x5e9168(0xbe)];let _0x5f335f=_0x3f2867['nZybw'](_0x3f2867[_0x5e9168(0xb8)](_0x3f2867[_0x5e9168(0x90)](_0x3f2867[_0x5e9168(0xa0)],_0x253d74),_0x3f2867['VGYYO']),encodeURIComponent(JSON['stringify'](_0x16d176))),_0x3092bf='';try{let _0x442f83=await RequestUtil[_0x5e9168(0xb0)](_0x5f335f,_0x3f2867['sGRmg'],undefined,{'Cookie':_0x8984da});_0x3092bf=_0x442f83[_0x5e9168(0xa7)][_0x5e9168(0xb5)];}catch(_0x4ba607){_0x3f2867['kbsfC'](logDebug,_0x3f2867[_0x5e9168(0xb1)],_0x4ba607);}return _0x3092bf;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 32bc6455..4f9599f5 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x46f4c6=_0x5595;(function(_0x44dd50,_0x3b947d){var _0x490293=_0x5595,_0x36a92f=_0x44dd50();while(!![]){try{var _0xe91141=-parseInt(_0x490293(0x1b7))/0x1+parseInt(_0x490293(0x1b5))/0x2+-parseInt(_0x490293(0x1bc))/0x3*(-parseInt(_0x490293(0x1b4))/0x4)+-parseInt(_0x490293(0x1b3))/0x5+parseInt(_0x490293(0x1ba))/0x6*(parseInt(_0x490293(0x1be))/0x7)+-parseInt(_0x490293(0x1c0))/0x8+parseInt(_0x490293(0x1b6))/0x9*(parseInt(_0x490293(0x1b9))/0xa);if(_0xe91141===_0x3b947d)break;else _0x36a92f['push'](_0x36a92f['shift']());}catch(_0x301625){_0x36a92f['push'](_0x36a92f['shift']());}}}(_0x208f,0x77b48));import{napCatCore}from'@/core';function _0x208f(){var _0x173e6f=['203538HburDh','session','2072955IZgqrb','util','182ZHpPcJ','translateEnWordToZn','7188528oMkiTL','getRichMediaService','wantWinScreenOCR','getNodeMiscService','3149375lfaGAY','4wyaoob','1814032hTGpsF','9ZJfcNu','666193IiHbMy','ORCImage','2049470ufpuRa'];_0x208f=function(){return _0x173e6f;};return _0x208f();}function _0x5595(_0x4385e4,_0x290d58){var _0x208f62=_0x208f();return _0x5595=function(_0x55954f,_0x1e15da){_0x55954f=_0x55954f-0x1b2;var _0x3c1fc1=_0x208f62[_0x55954f];return _0x3c1fc1;},_0x5595(_0x4385e4,_0x290d58);}export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x1c1b60=_0x5595;return napCatCore[_0x1c1b60(0x1bd)]['hasOtherRunningQQProcess']();}static async[_0x46f4c6(0x1b8)](_0x847f46){var _0x3690a4=_0x46f4c6;return napCatCore[_0x3690a4(0x1bb)][_0x3690a4(0x1b2)]()[_0x3690a4(0x1c2)](_0x847f46);}static async[_0x46f4c6(0x1bf)](_0x5ec62f){var _0x4775af=_0x46f4c6;return napCatCore[_0x4775af(0x1bb)][_0x4775af(0x1c1)]()[_0x4775af(0x1bf)](_0x5ec62f);}} \ No newline at end of file +function _0x4298(_0x1442f8,_0x4ae6f6){var _0x4431ac=_0x4431();return _0x4298=function(_0x4298bb,_0xf78d3b){_0x4298bb=_0x4298bb-0x171;var _0x5cb965=_0x4431ac[_0x4298bb];return _0x5cb965;},_0x4298(_0x1442f8,_0x4ae6f6);}function _0x4431(){var _0x5f13c6=['3JkOwQq','844yQfgPK','wantWinScreenOCR','7bDuzzA','translateEnWordToZn','1597158DjErsG','22090Lrzlor','567rbtsSV','util','session','hasOtherRunningQQProcess','74564dfAreA','1286241VCXoCW','128202bLomWy','3125GMTZfZ','1241544ffcDdb','getNodeMiscService'];_0x4431=function(){return _0x5f13c6;};return _0x4431();}var _0xb712ca=_0x4298;(function(_0x3b5575,_0x455b27){var _0xb69683=_0x4298,_0x449e7c=_0x3b5575();while(!![]){try{var _0x5f2194=parseInt(_0xb69683(0x17e))/0x1+parseInt(_0xb69683(0x17c))/0x2*(parseInt(_0xb69683(0x171))/0x3)+-parseInt(_0xb69683(0x172))/0x4*(-parseInt(_0xb69683(0x17f))/0x5)+parseInt(_0xb69683(0x176))/0x6*(parseInt(_0xb69683(0x174))/0x7)+-parseInt(_0xb69683(0x180))/0x8+-parseInt(_0xb69683(0x178))/0x9*(parseInt(_0xb69683(0x177))/0xa)+-parseInt(_0xb69683(0x17d))/0xb;if(_0x5f2194===_0x455b27)break;else _0x449e7c['push'](_0x449e7c['shift']());}catch(_0x5028ed){_0x449e7c['push'](_0x449e7c['shift']());}}}(_0x4431,0x252c5));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0xb712ca(0x17b)](){var _0x1608c3=_0xb712ca;return napCatCore[_0x1608c3(0x179)][_0x1608c3(0x17b)]();}static async['ORCImage'](_0x51e7da){var _0x1818fb=_0xb712ca;return napCatCore[_0x1818fb(0x17a)][_0x1818fb(0x181)]()[_0x1818fb(0x173)](_0x51e7da);}static async['translateEnWordToZn'](_0x305785){var _0x5686af=_0xb712ca;return napCatCore[_0x5686af(0x17a)]['getRichMediaService']()[_0x5686af(0x175)](_0x305785);}} \ 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 6b26377f..4db3f90f 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x59ced5=_0xf436;function _0x87da(){const _0x4c01a=['https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','now','6mGnyQY','TUbaE','clientKey','160788XJhGWD','getProfileService','jcfUZ','getRobotService','getPSkey','6364593mEEDtV','getMsgService','session','set','PskeyData','like','%2Finfocenter&keyindex=19%27','3660920cTtZyM','setBuddyProfileLike','setHeader','ILbtl','getPskey','hmiKq','getQzoneCookies','ueaPw','YqVzG','KeyIndex','wWCBK','7953470boCsBW','getUserDetailInfoWithBizInfo','push','addListener','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','LXDCD','getRobotUinRange','请求获取Cookies时失败','获取Pskey失败','uid','then','onProfileDetailInfoChanged','cASdC','getUserDetailInfo','JLvsK','PskeyTime','572654BTEmCr','2634876vXXfGT','domainPskeyMap','uNQti','uin','result','42JRbvxE','getSelfInfo','assign','DdThE','8uglprL','forEach','robotUinRanges','getTicketService','length','skey','EiHRT','forceFetchClientKey','EkuEs','setStatus','getProfileLikeService','FMdrr','CreatTime','uvlQT','cSMuK','HttpsGetCookies','setQQAvatar','setSelfOnlineStatus','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','请求获取Skey时失败','243818uVwFVl','keyIndex','BHpcP','entries','errMsg','Eqdbj','Skey','response'];_0x87da=function(){return _0x4c01a;};return _0x87da();}(function(_0x5d2b45,_0x2e458f){const _0x3a7029=_0xf436,_0x4fcafc=_0x5d2b45();while(!![]){try{const _0x16f533=parseInt(_0x3a7029(0x92))/0x1+-parseInt(_0x3a7029(0xb0))/0x2*(parseInt(_0x3a7029(0xba))/0x3)+parseInt(_0x3a7029(0x93))/0x4+parseInt(_0x3a7029(0xc9))/0x5+parseInt(_0x3a7029(0xbd))/0x6*(parseInt(_0x3a7029(0x98))/0x7)+parseInt(_0x3a7029(0x9c))/0x8*(-parseInt(_0x3a7029(0xc2))/0x9)+-parseInt(_0x3a7029(0xd4))/0xa;if(_0x16f533===_0x2e458f)break;else _0x4fcafc['push'](_0x4fcafc['shift']());}catch(_0x412c21){_0x4fcafc['push'](_0x4fcafc['shift']());}}}(_0x87da,0x5c493));function _0xf436(_0x9336eb,_0x262b61){const _0x87dacd=_0x87da();return _0xf436=function(_0xf43679,_0xafb6ab){_0xf43679=_0xf43679-0x91;let _0x4e933d=_0x87dacd[_0xf43679];return _0x4e933d;},_0xf436(_0x9336eb,_0x262b61);}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x59ced5(0xdf)]=_0x21e8f8=>{const _0x164ec4=_0x59ced5;userInfoCache[_0x21e8f8[_0x164ec4(0xdd)]]=_0x21e8f8,userDetailHandlers[_0x164ec4(0x9d)](_0x25044c=>_0x25044c(_0x21e8f8));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3eaea8=_0xf436;napCatCore[_0x3eaea8(0xd7)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x59ced5(0xad)](_0xdf5d41,_0x217ec3,_0x2573ab){const _0x19718d=_0x59ced5;return napCatCore[_0x19718d(0xc4)][_0x19718d(0xc3)]()[_0x19718d(0xa5)]({'status':_0xdf5d41,'extStatus':_0x217ec3,'batteryStatus':_0x2573ab});}static async[_0x59ced5(0xc7)](_0x1d02d6,_0x43dd79=0x1){const _0x555586=_0x59ced5;return napCatCore[_0x555586(0xc4)][_0x555586(0xa6)]()[_0x555586(0xca)]({'friendUid':_0x1d02d6,'sourceId':0x47,'doLikeCount':_0x43dd79,'doLikeTollCount':0x0});}static async[_0x59ced5(0xac)](_0x5ea0aa){const _0x2e445f=_0x59ced5,_0x4edfdc=napCatCore[_0x2e445f(0xc4)][_0x2e445f(0xbe)]()[_0x2e445f(0xcb)](_0x5ea0aa);return{'result':_0x4edfdc?.[_0x2e445f(0x97)],'errMsg':_0x4edfdc?.[_0x2e445f(0xb4)]};}static async[_0x59ced5(0x99)](){}static async['getUserInfo'](_0x1f6b5b){}static async[_0x59ced5(0xe1)](_0x292532){const _0x215e96=_0x59ced5,_0x4999a9={'DdThE':function(_0x27e667,_0x1683ec){return _0x27e667(_0x1683ec);},'jcfUZ':function(_0x5b1d74,_0x5d9ce8,_0x56790e){return _0x5b1d74(_0x5d9ce8,_0x56790e);}},_0x5167f1=napCatCore[_0x215e96(0xc4)][_0x215e96(0xbe)]();return new Promise((_0x3381b4,_0x41170c)=>{const _0x57884f=_0x215e96,_0x33d351={'oQsLM':function(_0x56352d,_0x358e54){const _0x21ea4d=_0xf436;return _0x4999a9[_0x21ea4d(0x9b)](_0x56352d,_0x358e54);},'ZAWnW':function(_0x592da0,_0x1bd37c){return _0x4999a9['DdThE'](_0x592da0,_0x1bd37c);}},_0x18f5b6=randomUUID();let _0x2294fd=![],_0x1ed154=undefined,_0x3e16dd=!![];_0x4999a9[_0x57884f(0xbf)](setTimeout,()=>{!_0x2294fd&&(_0x1ed154?_0x33d351['oQsLM'](_0x3381b4,_0x1ed154):_0x33d351['ZAWnW'](_0x41170c,'getUserDetailInfo\x20timeout')),userDetailHandlers['delete'](_0x18f5b6);},0x1388),userDetailHandlers[_0x57884f(0xc5)](_0x18f5b6,_0x398eec=>{const _0x1e982f=_0x57884f;_0x398eec[_0x1e982f(0xdd)]===_0x292532&&(uid2UinMap[_0x292532]=_0x398eec[_0x1e982f(0x96)],_0x3e16dd?(_0x1ed154=_0x398eec,_0x3e16dd=![]):(_0x2294fd=!![],_0x3381b4(_0x398eec)));}),_0x5167f1[_0x57884f(0xd5)](_0x292532,[0x0])[_0x57884f(0xde)](_0x44b9f2=>{});});}static async[_0x59ced5(0xc1)](_0x3001f4,_0x4c4832=!![]){const _0x5525a9=_0x59ced5,_0x24abc2={'yJBQd':function(_0x3230ab,_0x3ba8ad){return _0x3230ab||_0x3ba8ad;},'cASdC':function(_0x4a3ade,_0x517e66){return _0x4a3ade>_0x517e66;},'cSMuK':function(_0x43bc00,_0x5d8c1b){return _0x43bc00-_0x5d8c1b;},'YqVzG':function(_0x5d39b4,_0x240e76){return _0x5d39b4*_0x240e76;},'EkuEs':function(_0xd9f452,_0xc44373){return _0xd9f452===_0xc44373;}},_0x3f449b=[],_0x1e5128={};for(const _0x1c8a31 in _0x3001f4){const _0x23a4bb=Credentials[_0x5525a9(0xc6)]['get'](_0x3001f4[_0x1c8a31]),_0x52d1c3=Credentials[_0x5525a9(0x91)]['get'](_0x3001f4[_0x1c8a31]);_0x24abc2['yJBQd'](!_0x23a4bb,!_0x52d1c3)||_0x24abc2[_0x5525a9(0xe0)](_0x24abc2[_0x5525a9(0xaa)](Date['now'](),_0x52d1c3),_0x24abc2[_0x5525a9(0xd1)](0x708,0x3e8))||!_0x4c4832?_0x3f449b[_0x5525a9(0xd6)](_0x3001f4[_0x1c8a31]):_0x1e5128[_0x3001f4[_0x1c8a31]]=_0x23a4bb;}let _0x3b75ff={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3f449b[_0x5525a9(0xa0)]>0x0&&(_0x3b75ff=await napCatCore['session']['getTipOffService']()[_0x5525a9(0xcd)](_0x3f449b,!![]));const _0xcc34e=_0x3b75ff[_0x5525a9(0x94)];for(const _0x539a55 of _0xcc34e[_0x5525a9(0xb3)]()){Credentials['PskeyData']['set'](_0x539a55[0x0],_0x539a55[0x1]),Credentials[_0x5525a9(0x91)]['set'](_0x539a55[0x0],Date[_0x5525a9(0xb9)]());}const _0x5917cb=Object[_0x5525a9(0x9a)](Object['fromEntries'](_0xcc34e),_0x1e5128);if(_0x24abc2[_0x5525a9(0xa4)](_0x3b75ff[_0x5525a9(0x97)],0x0))return _0x5917cb;else logError(_0x5525a9(0xdc),_0x3b75ff[_0x5525a9(0xb4)]);return{};}static async[_0x59ced5(0xda)](){const _0x4d5cc3=_0x59ced5,_0x5ce8c4=await napCatCore[_0x4d5cc3(0xc4)][_0x4d5cc3(0xc0)]()[_0x4d5cc3(0xda)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5ce8c4?.[_0x4d5cc3(0xb7)]?.[_0x4d5cc3(0x9e)];}static async[_0x59ced5(0xcf)](){const _0x36fc4e=_0x59ced5,_0xfdebf4={'TUbaE':function(_0x31fc79,_0x295694){return _0x31fc79+_0x295694;},'FMdrr':function(_0x127987,_0x5d1002){return _0x127987+_0x5d1002;},'hmiKq':function(_0x2fe171,_0x28a0f6){return _0x2fe171+_0x28a0f6;},'ueaPw':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','wisrx':_0x36fc4e(0xd8),'uvlQT':_0x36fc4e(0xc8),'uNQti':function(_0x5106e9,_0x4c41a4,_0x4a0346){return _0x5106e9(_0x4c41a4,_0x4a0346);},'ILbtl':_0x36fc4e(0xdb)},_0x19da2d=_0xfdebf4[_0x36fc4e(0xbb)](_0xfdebf4['FMdrr'](_0xfdebf4[_0x36fc4e(0xce)](_0xfdebf4[_0x36fc4e(0xa7)](_0xfdebf4[_0x36fc4e(0xbb)](_0xfdebf4[_0x36fc4e(0xd0)],selfInfo[_0x36fc4e(0x96)]),'&clientkey='),Credentials['ClientKey'])+_0xfdebf4['wisrx'],selfInfo[_0x36fc4e(0x96)]),_0xfdebf4[_0x36fc4e(0xa9)]);let _0x2862c2={};try{_0x2862c2=await RequestUtil[_0x36fc4e(0xab)](_0x19da2d);}catch(_0x302129){_0xfdebf4[_0x36fc4e(0x95)](logDebug,_0xfdebf4[_0x36fc4e(0xcc)],_0x302129),_0x2862c2={};}return _0x2862c2;}static async['getSkey'](_0x33502d=!![]){const _0x49c190=_0x59ced5,_0x342531={'LXDCD':function(_0x203297,_0x572201){return _0x203297==_0x572201;},'RknkI':function(_0x5368eb,_0x36c311){return _0x5368eb>_0x36c311;},'wWCBK':function(_0xba4187,_0x5aa32d){return _0xba4187+_0x5aa32d;},'BHpcP':function(_0x1ef897,_0x199cbb){return _0x1ef897+_0x199cbb;},'Eqdbj':function(_0xc46b3c,_0x3a2a00){return _0xc46b3c+_0x3a2a00;},'OnUzU':function(_0x5a95c0,_0x25e641){return _0x5a95c0+_0x25e641;},'klBOa':_0x49c190(0xb8),'EiHRT':'&clientkey=','JLvsK':function(_0x1b584e,_0x1b9d49,_0x13496d){return _0x1b584e(_0x1b9d49,_0x13496d);},'PRpzI':_0x49c190(0xa1)};try{if(_0x342531[_0x49c190(0xd9)](Credentials[_0x49c190(0xa8)],0x0)||_0x342531['RknkI'](Date[_0x49c190(0xb9)]()-Credentials[_0x49c190(0xa8)],0x3e8*0xe10)||!_0x33502d){const _0x29b9ed=await napCatCore[_0x49c190(0xc4)][_0x49c190(0x9f)]()[_0x49c190(0xa3)]('');if(_0x29b9ed[_0x49c190(0x97)]!==0x0)return'';const _0x1b5644=_0x29b9ed[_0x49c190(0xbc)],_0x1976d6=_0x29b9ed[_0x49c190(0xb1)],_0x4c2206=_0x342531[_0x49c190(0xd3)](_0x342531[_0x49c190(0xb2)](_0x342531[_0x49c190(0xb5)](_0x342531['OnUzU'](_0x342531['klBOa'],selfInfo[_0x49c190(0x96)]),_0x342531[_0x49c190(0xa2)])+_0x1b5644,_0x49c190(0xae)),_0x1976d6);let _0x3231cf={};try{_0x3231cf=await RequestUtil[_0x49c190(0xab)](_0x4c2206);}catch(_0x306e03){_0x342531[_0x49c190(0xe2)](logDebug,_0x49c190(0xaf),_0x306e03),_0x3231cf={};}const _0x2b239a=_0x3231cf[_0x342531['PRpzI']];if(!_0x2b239a)return'';return Credentials['ClientKey']=_0x1b5644,Credentials[_0x49c190(0xd2)]=_0x1976d6,Credentials['CreatTime']=Date[_0x49c190(0xb9)](),Credentials[_0x49c190(0xb6)]=_0x2b239a,_0x2b239a;}return Credentials[_0x49c190(0xb6)];}catch(_0x310a52){}return undefined;}} \ No newline at end of file +const _0x36a0e6=_0x2d5d;function _0x126a(){const _0x3c0980=['getProfileService','session','forceFetchClientKey','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','TxhKE','34305Jusrzg','getRobotService','robotUinRanges','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','3759680jjEmUJ','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','uid','clientKey','addListener','XMqix','uin','Cuinq','PskeyData','setBuddyProfileLike','CreatTime','PskeyTime','KoJZX','mGLxF','请求获取Skey时失败','getUserDetailInfo\x20timeout','&clientkey=','setSelfOnlineStatus','JunyS','onLoginSuccess','now','MpmDC','1WImdxS','response','getQzoneCookies','获取Pskey失败','MORzM','setQQAvatar','ItWjQ','aXBgl','iIGVy','%2Finfocenter&keyindex=19%27','assign','QLFKg','getUserDetailInfo','getTipOffService','getUserInfo','jzmEG','456VrMtWA','HttpsGetCookies','Fqqrv','delete','errMsg','push','4454004aBQVDe','set','fromEntries','keyIndex','24MfmxLV','841196GMTJDn','setStatus','Skey','ClientKey','snALq','VYdOs','请求获取Cookies时失败','result','KTpcK','domainPskeyMap','Mpdit','22qaRrne','getProfileLikeService','HQvUe','4164006WYdcpH','getSkey','1614330JojmGh','BWeTN','setHeader','ARwuI','getPskey','like','qJKqO','1298547msOevU','entries'];_0x126a=function(){return _0x3c0980;};return _0x126a();}(function(_0x331027,_0x86e8b9){const _0x1edf7c=_0x2d5d,_0x2e72dc=_0x331027();while(!![]){try{const _0x3d4a60=-parseInt(_0x1edf7c(0x126))/0x1*(-parseInt(_0x1edf7c(0xee))/0x2)+-parseInt(_0x1edf7c(0xfe))/0x3+-parseInt(_0x1edf7c(0x136))/0x4*(-parseInt(_0x1edf7c(0x10c))/0x5)+-parseInt(_0x1edf7c(0xe9))/0x6+-parseInt(_0x1edf7c(0xfc))/0x7+-parseInt(_0x1edf7c(0xed))/0x8*(-parseInt(_0x1edf7c(0x105))/0x9)+-parseInt(_0x1edf7c(0x110))/0xa*(-parseInt(_0x1edf7c(0xf9))/0xb);if(_0x3d4a60===_0x86e8b9)break;else _0x2e72dc['push'](_0x2e72dc['shift']());}catch(_0x146ad9){_0x2e72dc['push'](_0x2e72dc['shift']());}}}(_0x126a,0x7d0eb));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x2d5d(_0x56a931,_0x392dd8){const _0x126a3a=_0x126a();return _0x2d5d=function(_0x2d5d2c,_0x30c0a7){_0x2d5d2c=_0x2d5d2c-0xe6;let _0x44b739=_0x126a3a[_0x2d5d2c];return _0x44b739;},_0x2d5d(_0x56a931,_0x392dd8);}profileListener['onProfileDetailInfoChanged']=_0x4c1143=>{const _0x4df310=_0x2d5d;userInfoCache[_0x4c1143[_0x4df310(0x112)]]=_0x4c1143,userDetailHandlers['forEach'](_0xbecbb9=>_0xbecbb9(_0x4c1143));},setTimeout(()=>{const _0x58c201=_0x2d5d;napCatCore[_0x58c201(0x123)](()=>{const _0x29a584=_0x58c201;napCatCore[_0x29a584(0x114)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x36a0e6(0x121)](_0x56fd0d,_0xab60d9,_0x2a0f67){const _0x55dd78=_0x36a0e6;return napCatCore[_0x55dd78(0x108)]['getMsgService']()[_0x55dd78(0xef)]({'status':_0x56fd0d,'extStatus':_0xab60d9,'batteryStatus':_0x2a0f67});}static async[_0x36a0e6(0x103)](_0x453829,_0x10d937=0x1){const _0x3b191a=_0x36a0e6;return napCatCore[_0x3b191a(0x108)][_0x3b191a(0xfa)]()[_0x3b191a(0x119)]({'friendUid':_0x453829,'sourceId':0x47,'doLikeCount':_0x10d937,'doLikeTollCount':0x0});}static async[_0x36a0e6(0x12b)](_0x14de08){const _0x14d7c1=_0x36a0e6,_0x159ca7=napCatCore[_0x14d7c1(0x108)][_0x14d7c1(0x107)]()[_0x14d7c1(0x100)](_0x14de08);return{'result':_0x159ca7?.[_0x14d7c1(0xf5)],'errMsg':_0x159ca7?.[_0x14d7c1(0xe7)]};}static async['getSelfInfo'](){}static async[_0x36a0e6(0x134)](_0x26a675){}static async[_0x36a0e6(0x132)](_0x141f00){const _0x363e3b=_0x36a0e6,_0x4686a1={'aXBgl':_0x363e3b(0x11f),'JunyS':function(_0x4012c9,_0x2c3d2b){return _0x4012c9===_0x2c3d2b;},'Fqqrv':function(_0x359bc7){return _0x359bc7();},'jzmEG':function(_0x29c09f,_0x4e2d8b,_0x537d64){return _0x29c09f(_0x4e2d8b,_0x537d64);}},_0x2c09fc=napCatCore[_0x363e3b(0x108)][_0x363e3b(0x107)]();return new Promise((_0xb73849,_0x45540c)=>{const _0x391005=_0x363e3b,_0x3b97a2={'QLFKg':function(_0x57e074,_0x7764e1){return _0x57e074(_0x7764e1);},'MpmDC':_0x4686a1[_0x391005(0x12d)],'BjPOY':function(_0x2b98fd,_0x4d7ba4){const _0x1f6214=_0x391005;return _0x4686a1[_0x1f6214(0x122)](_0x2b98fd,_0x4d7ba4);},'CzBhy':function(_0x2d973c,_0xfbcb39){return _0x2d973c(_0xfbcb39);}},_0x502002=_0x4686a1[_0x391005(0x138)](randomUUID);let _0x30cb63=![],_0x2e2711=undefined,_0x306dc3=!![];_0x4686a1[_0x391005(0x135)](setTimeout,()=>{const _0x22a09c=_0x391005;!_0x30cb63&&(_0x2e2711?_0x3b97a2[_0x22a09c(0x131)](_0xb73849,_0x2e2711):_0x45540c(_0x3b97a2[_0x22a09c(0x125)])),userDetailHandlers[_0x22a09c(0xe6)](_0x502002);},0x1388),userDetailHandlers[_0x391005(0xea)](_0x502002,_0x20d67f=>{const _0x28e5ea=_0x391005;_0x3b97a2['BjPOY'](_0x20d67f['uid'],_0x141f00)&&(uid2UinMap[_0x141f00]=_0x20d67f[_0x28e5ea(0x116)],_0x306dc3?(_0x2e2711=_0x20d67f,_0x306dc3=![]):(_0x30cb63=!![],_0x3b97a2['CzBhy'](_0xb73849,_0x20d67f)));}),_0x2c09fc['getUserDetailInfoWithBizInfo'](_0x141f00,[0x0])['then'](_0x1596b5=>{});});}static async['getPSkey'](_0x3e3162,_0x243dfa=!![]){const _0x347ab2=_0x36a0e6,_0x3cc35c={'Cuinq':function(_0x299210,_0x3ae7ff){return _0x299210||_0x3ae7ff;},'VYdOs':function(_0x5d158d,_0xf98a1){return _0x5d158d>_0xf98a1;},'MORzM':function(_0x2ae644,_0x575438){return _0x2ae644*_0x575438;},'BWeTN':function(_0xcf84d7,_0x227a9e){return _0xcf84d7===_0x227a9e;}},_0x169b53=[],_0x196dd3={};for(const _0x386dd2 in _0x3e3162){const _0x5a08df=Credentials[_0x347ab2(0x118)]['get'](_0x3e3162[_0x386dd2]),_0x5c8cec=Credentials[_0x347ab2(0x11b)]['get'](_0x3e3162[_0x386dd2]);_0x3cc35c[_0x347ab2(0x117)](!_0x5a08df,!_0x5c8cec)||_0x3cc35c[_0x347ab2(0xf3)](Date['now']()-_0x5c8cec,_0x3cc35c[_0x347ab2(0x12a)](0x708,0x3e8))||!_0x243dfa?_0x169b53[_0x347ab2(0xe8)](_0x3e3162[_0x386dd2]):_0x196dd3[_0x3e3162[_0x386dd2]]=_0x5a08df;}let _0x1f24e8={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3cc35c[_0x347ab2(0xf3)](_0x169b53['length'],0x0)&&(_0x1f24e8=await napCatCore[_0x347ab2(0x108)][_0x347ab2(0x133)]()[_0x347ab2(0x102)](_0x169b53,!![]));const _0x1151fd=_0x1f24e8[_0x347ab2(0xf7)];for(const _0x2637e3 of _0x1151fd[_0x347ab2(0x106)]()){Credentials[_0x347ab2(0x118)][_0x347ab2(0xea)](_0x2637e3[0x0],_0x2637e3[0x1]),Credentials['PskeyTime']['set'](_0x2637e3[0x0],Date[_0x347ab2(0x124)]());}const _0x473e78=Object[_0x347ab2(0x130)](Object[_0x347ab2(0xeb)](_0x1151fd),_0x196dd3);if(_0x3cc35c[_0x347ab2(0xff)](_0x1f24e8[_0x347ab2(0xf5)],0x0))return _0x473e78;else logError(_0x347ab2(0x129),_0x1f24e8[_0x347ab2(0xe7)]);return{};}static async['getRobotUinRange'](){const _0x42b9d3=_0x36a0e6,_0x5c1097=await napCatCore['session'][_0x42b9d3(0x10d)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5c1097?.[_0x42b9d3(0x127)]?.[_0x42b9d3(0x10e)];}static async[_0x36a0e6(0x128)](){const _0x9dd149=_0x36a0e6,_0x344f18={'ARwuI':function(_0x2c7115,_0x450caa){return _0x2c7115+_0x450caa;},'snALq':function(_0x9ee14c,_0x5ed594){return _0x9ee14c+_0x5ed594;},'Mpdit':function(_0x28c1cb,_0x57c5a4){return _0x28c1cb+_0x57c5a4;},'MRHBw':function(_0x9874b6,_0x412b19){return _0x9874b6+_0x412b19;},'KTpcK':function(_0x2235c2,_0x22c066){return _0x2235c2+_0x22c066;},'AvDnm':_0x9dd149(0x111),'KoJZX':_0x9dd149(0x120),'iIGVy':_0x9dd149(0x10a),'HQvUe':_0x9dd149(0x12f),'AaZve':function(_0x4a0090,_0x4f87c6,_0x3692b7){return _0x4a0090(_0x4f87c6,_0x3692b7);},'PzWBl':_0x9dd149(0xf4)},_0x47e5fb=_0x344f18[_0x9dd149(0x101)](_0x344f18[_0x9dd149(0xf2)](_0x344f18[_0x9dd149(0xf8)](_0x344f18['MRHBw'](_0x344f18['ARwuI'](_0x344f18[_0x9dd149(0xf6)](_0x344f18['AvDnm'],selfInfo[_0x9dd149(0x116)]),_0x344f18[_0x9dd149(0x11c)]),Credentials[_0x9dd149(0xf1)]),_0x344f18[_0x9dd149(0x12e)]),selfInfo[_0x9dd149(0x116)]),_0x344f18[_0x9dd149(0xfb)]);let _0x336ed5={};try{_0x336ed5=await RequestUtil['HttpsGetCookies'](_0x47e5fb);}catch(_0x578739){_0x344f18['AaZve'](logDebug,_0x344f18['PzWBl'],_0x578739),_0x336ed5={};}return _0x336ed5;}static async[_0x36a0e6(0xfd)](_0x4af64e=!![]){const _0x57bd83=_0x36a0e6,_0x19cddd={'ItWjQ':function(_0x296035,_0x29575c){return _0x296035==_0x29575c;},'TxhKE':function(_0x1489d1,_0x359597){return _0x1489d1-_0x359597;},'tWgzJ':function(_0xff58f3,_0x39380d){return _0xff58f3!==_0x39380d;},'mGLxF':function(_0x2983a6,_0x5cfcde){return _0x2983a6+_0x5cfcde;},'Iahmq':'&clientkey=','XMqix':function(_0x558af1,_0x48e737,_0x166164){return _0x558af1(_0x48e737,_0x166164);},'qJKqO':_0x57bd83(0x11e)};try{if(_0x19cddd[_0x57bd83(0x12c)](Credentials[_0x57bd83(0x11a)],0x0)||_0x19cddd[_0x57bd83(0x10b)](Date[_0x57bd83(0x124)](),Credentials[_0x57bd83(0x11a)])>0x3e8*0xe10||!_0x4af64e){const _0x2ac697=await napCatCore['session']['getTicketService']()[_0x57bd83(0x109)]('');if(_0x19cddd['tWgzJ'](_0x2ac697[_0x57bd83(0xf5)],0x0))return'';const _0x2e1edc=_0x2ac697[_0x57bd83(0x113)],_0xf862d5=_0x2ac697[_0x57bd83(0xec)],_0x1e4d64=_0x19cddd[_0x57bd83(0x11d)](_0x19cddd[_0x57bd83(0x11d)](_0x19cddd[_0x57bd83(0x11d)](_0x19cddd[_0x57bd83(0x11d)](_0x57bd83(0x111),selfInfo['uin']),_0x19cddd['Iahmq']),_0x2e1edc)+_0x57bd83(0x10f),_0xf862d5);let _0x44b283={};try{_0x44b283=await RequestUtil[_0x57bd83(0x137)](_0x1e4d64);}catch(_0xc7bbb1){_0x19cddd[_0x57bd83(0x115)](logDebug,_0x19cddd[_0x57bd83(0x104)],_0xc7bbb1),_0x44b283={};}const _0x102137=_0x44b283['skey'];if(!_0x102137)return'';return Credentials[_0x57bd83(0xf1)]=_0x2e1edc,Credentials['KeyIndex']=_0xf862d5,Credentials[_0x57bd83(0x11a)]=Date[_0x57bd83(0x124)](),Credentials[_0x57bd83(0xf0)]=_0x102137,_0x102137;}return Credentials[_0x57bd83(0xf0)];}catch(_0x284f7b){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 69a96ee6..db0a53b7 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x4ce027=_0x5de1;function _0x5de1(_0x10b4da,_0x41835d){const _0x4bd438=_0x4bd4();return _0x5de1=function(_0x5de1ea,_0x27523f){_0x5de1ea=_0x5de1ea-0xaa;let _0x1dc8c4=_0x4bd438[_0x5de1ea];return _0x1dc8c4;},_0x5de1(_0x10b4da,_0x41835d);}(function(_0x577ffc,_0x295c9){const _0x5c29ae=_0x5de1,_0x13e591=_0x577ffc();while(!![]){try{const _0x9cf89d=parseInt(_0x5c29ae(0xe5))/0x1+-parseInt(_0x5c29ae(0x120))/0x2+parseInt(_0x5c29ae(0x13f))/0x3+parseInt(_0x5c29ae(0xb7))/0x4+-parseInt(_0x5c29ae(0xaa))/0x5*(-parseInt(_0x5c29ae(0xac))/0x6)+parseInt(_0x5c29ae(0x111))/0x7*(parseInt(_0x5c29ae(0x114))/0x8)+-parseInt(_0x5c29ae(0x12c))/0x9;if(_0x9cf89d===_0x295c9)break;else _0x13e591['push'](_0x13e591['shift']());}catch(_0x50c1e6){_0x13e591['push'](_0x13e591['shift']());}}}(_0x4bd4,0x5a8a3));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x4bd4(){const _0x4db29d=['5BEFzML','uXlRO','2722626GNOlDZ','performer_list','get','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','NniOT','emotion','count','NopuH','获取群聊之火失败','match','MooId','917312kkaYCm','EMOTION','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','nTeOK','jUXsO','ZcVwG','all','VOgaF','FbGni',';\x20uin=o','OhAUn','mnsfP','qun.qq.com','bHOjP','OJUZB','genBkn','talkativeList','now','QKLiA','retcode','getGroupHonorInfo','p_skey=','CWiNG','ALL','eZDzi','qRSJK','JjchA','getPSkey','PERFROMER','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','HxpNX',';\x20skey=','UpEwQ','wrxpI','set','获取群聊炽焰失败','emotion_list',';\x20p_uin=o','trim','xGImL','MNoOZ','KYjkP','GroupData','qvHrj','mems','tbopV','555050hSBZKv','TALKACTIVE','sZaoa','WHjTU','STORONGE_NEWBI','description','gqXMu','PNLfU','fovkB','pfgYx','wHsWo','tQVON','push','GET','legend','CmaGp','legend_list','TKUkC','lHwgv','hyyLt','sQzfB','KqHKm','strong_newbie_list','setGroupNotice','talkative_list','FCRkp','MTmNy','ZPdST','avatar','hPeus','TlhUm','PrdQW','gVtgg','current_talkative','EdxgA','wOcok','获取当前群荣耀失败','uTWqU','teRxV','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','desc','bwzDe','HttpGetJson','ieFXn','4254663xCdjHf','DxVkG','kscDr','8lmwbmM','YuJiB','&page_limit=20','name','wqVVu','GroupTime','charCodeAt','FWoXu','GOaKy','VePEr','hlbPK','yPZrS','381816agOsNw','imbXq','uin','actorList','SrLnB','uwhCJ','elpQs','cylNq','POST','ahvUO','getGrouptNotice','LEGEND','17471133OvBohT','toString','https://qun.qq.com/interactive/honorlist?gc=','performer','zmmIY','parse','DADCB','fEgOH','qid=','errcode','talkative','awtvl','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','mXooA','sQNOO','&bkn=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','getSkey','fDgJR','1971114czMPCv','tNVJg','nckre','&qid='];_0x4bd4=function(){return _0x4db29d;};return _0x4bd4();}export var WebHonorType;(function(_0x548e8e){const _0xdb3ccd=_0x5de1,_0x3fb0c1={'PrdQW':_0xdb3ccd(0xce),'GcVPy':_0xdb3ccd(0xbd),'xaeuo':_0xdb3ccd(0xe6),'DxVkG':_0xdb3ccd(0x136),'eiIIe':_0xdb3ccd(0xd3),'DADCB':_0xdb3ccd(0x12b),'wOcok':_0xdb3ccd(0xf3),'lHwgv':_0xdb3ccd(0xe9),'awtvl':'strong_newbie','sQzfB':'EMOTION','xGImL':_0xdb3ccd(0xb1)};_0x548e8e[_0x3fb0c1[_0xdb3ccd(0x104)]]=_0x3fb0c1['GcVPy'],_0x548e8e[_0x3fb0c1['xaeuo']]=_0x3fb0c1[_0xdb3ccd(0x112)],_0x548e8e[_0x3fb0c1['eiIIe']]=_0xdb3ccd(0x12f),_0x548e8e[_0x3fb0c1[_0xdb3ccd(0x132)]]=_0x3fb0c1[_0xdb3ccd(0x108)],_0x548e8e[_0x3fb0c1[_0xdb3ccd(0xf7)]]=_0x3fb0c1[_0xdb3ccd(0x137)],_0x548e8e[_0x3fb0c1[_0xdb3ccd(0xf9)]]=_0x3fb0c1[_0xdb3ccd(0xde)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x36584b,_0x25684d){const _0x142dc9=_0x5de1,_0x23296b={'bwzDe':_0x142dc9(0xc3),'SrLnB':function(_0x1ec5af,_0xcf724e){return _0x1ec5af+_0xcf724e;},'CmaGp':function(_0x5f0854,_0x305d46){return _0x5f0854+_0x305d46;},'WFZRg':function(_0x12e048,_0xfffcbc){return _0x12e048+_0xfffcbc;},'TlhUm':function(_0x53f397,_0x1a525f){return _0x53f397+_0x1a525f;},'qRSJK':function(_0x3472af,_0x43b900){return _0x3472af+_0x43b900;},'KYjkP':_0x142dc9(0xcc),'hkrPA':_0x142dc9(0xd6),'GOaKy':';\x20p_uin=o','pfgYx':';\x20uin=o','OhAUn':function(_0x166245,_0x189c59){return _0x166245+_0x189c59;},'tNVJg':function(_0x47c2b1,_0x1f77ee){return _0x47c2b1+_0x1f77ee;},'hPeus':function(_0x504adf,_0x43b57c){return _0x504adf+_0x43b57c;},'qvHrj':function(_0x4f3a91,_0x154174){return _0x4f3a91+_0x154174;},'ZGuRN':'&group_code=','jUXsO':'&page_start=','nTeOK':_0x142dc9(0x116),'cBQCm':_0x142dc9(0xf2)},_0x259c9d=(await NTQQUserApi[_0x142dc9(0xd2)]([_0x23296b[_0x142dc9(0x10e)]]))[_0x23296b[_0x142dc9(0x10e)]],_0x47cd57=await NTQQUserApi[_0x142dc9(0x13d)](),_0x233f45=_0x23296b[_0x142dc9(0x124)](_0x23296b[_0x142dc9(0xf4)](_0x23296b[_0x142dc9(0x124)](_0x23296b['WFZRg'](_0x23296b[_0x142dc9(0x103)](_0x23296b[_0x142dc9(0xd0)](_0x23296b[_0x142dc9(0xe0)],_0x259c9d)+_0x23296b['hkrPA'],_0x47cd57),_0x23296b[_0x142dc9(0x11c)]),selfInfo[_0x142dc9(0x122)]),_0x23296b[_0x142dc9(0xee)]),selfInfo['uin']);if(!_0x47cd57||!_0x259c9d)return undefined;const _0x434b82=WebApi[_0x142dc9(0xc6)](_0x47cd57),_0x1617cf=_0x23296b[_0x142dc9(0xc1)](_0x23296b[_0x142dc9(0x140)](_0x23296b[_0x142dc9(0x102)](_0x23296b[_0x142dc9(0xe2)](_0x142dc9(0x13c),_0x434b82)+_0x23296b['ZGuRN'],_0x36584b),_0x23296b[_0x142dc9(0xbb)]),_0x25684d)+_0x23296b[_0x142dc9(0xba)];let _0x4c800b;try{_0x4c800b=await RequestUtil[_0x142dc9(0x10f)](_0x1617cf,_0x23296b['cBQCm'],'',{'Cookie':_0x233f45});}catch{return undefined;}if(_0x4c800b[_0x142dc9(0xca)]!==0x0)return undefined;return _0x4c800b;}static async['getGroupMembers'](_0x3e6118,_0x12fd23=!![]){const _0x4064d3=_0x5de1,_0x4b3349={'fYJfH':function(_0xf67eb0,_0x58d07f){return _0xf67eb0>_0x58d07f;},'uTWqU':function(_0x30bc38,_0x1f0043){return _0x30bc38-_0x1f0043;},'sZaoa':function(_0x39fe56,_0x4c9943){return _0x39fe56*_0x4c9943;},'UpEwQ':_0x4064d3(0xc3),'ieFXn':function(_0x20cefb,_0xbf3a38){return _0x20cefb+_0xbf3a38;},'wrxpI':function(_0x3ff021,_0xc19e71){return _0x3ff021+_0xc19e71;},'qDHCA':_0x4064d3(0xcc),'NniOT':';\x20skey=','wHsWo':_0x4064d3(0xdc),'QKLiA':function(_0x515325,_0x4ef101){return _0x515325||_0x4ef101;},'fovkB':function(_0x8390b2,_0x105e9a){return _0x8390b2+_0x105e9a;},'rESbU':_0x4064d3(0x10c),'wqVVu':_0x4064d3(0x13b),'uwhCJ':function(_0x2f1518,_0x5164a2){return _0x2f1518!==_0x5164a2;},'FLAoB':function(_0x648efc,_0x1c1bcb){return _0x648efc/_0x1c1bcb;},'zmmIY':function(_0x5bb43,_0x2d250e){return _0x5bb43<=_0x2d250e;},'FbGni':function(_0x24ae6e,_0x1d5ad1){return _0x24ae6e+_0x1d5ad1;},'yToPk':function(_0x3306ef,_0x2e47ff){return _0x3306ef+_0x2e47ff;},'OJUZB':_0x4064d3(0xb9),'kscDr':function(_0x1ec23a,_0x506a5f){return _0x1ec23a*_0x506a5f;},'eilBw':'&end=','NopuH':'&sort=1&gc=','AQYqf':_0x4064d3(0x128),'ZcVwG':function(_0x28e395,_0xd6bb03){return _0x28e395<=_0xd6bb03;}};let _0x59d357=new Array();try{let _0x475409=WebGroupData[_0x4064d3(0xe1)][_0x4064d3(0xae)](_0x3e6118),_0x5aca16=WebGroupData[_0x4064d3(0x119)][_0x4064d3(0xae)](_0x3e6118);if(!_0x5aca16||_0x4b3349['fYJfH'](_0x4b3349[_0x4064d3(0x10a)](Date['now'](),_0x5aca16),_0x4b3349[_0x4064d3(0xe7)](0x708,0x3e8))||!_0x12fd23){const _0x11dce2=(await NTQQUserApi[_0x4064d3(0xd2)]([_0x4064d3(0xc3)]))[_0x4b3349[_0x4064d3(0xd7)]],_0x3a55b7=await NTQQUserApi['getSkey'](),_0x122149=_0x4b3349[_0x4064d3(0x110)](_0x4b3349[_0x4064d3(0xd8)](_0x4b3349[_0x4064d3(0x110)](_0x4b3349['wrxpI'](_0x4b3349['qDHCA']+_0x11dce2,_0x4b3349[_0x4064d3(0xb0)]),_0x3a55b7),_0x4b3349[_0x4064d3(0xef)]),selfInfo[_0x4064d3(0x122)]);if(_0x4b3349[_0x4064d3(0xc9)](!_0x3a55b7,!_0x11dce2))return _0x59d357;const _0x447ee4=WebApi[_0x4064d3(0xc6)](_0x3a55b7),_0x2db4ba=[],_0x523e5d=await RequestUtil['HttpGetJson'](_0x4b3349['wrxpI'](_0x4b3349[_0x4064d3(0xed)](_0x4b3349['wrxpI'](_0x4b3349['rESbU'],_0x3e6118),_0x4b3349[_0x4064d3(0x118)]),_0x447ee4),_0x4064d3(0x128),'',{'Cookie':_0x122149});if(!_0x523e5d?.[_0x4064d3(0xb2)]||_0x4b3349[_0x4064d3(0x125)](_0x523e5d?.[_0x4064d3(0x135)],0x0)||!_0x523e5d?.[_0x4064d3(0xe3)])return[];else for(const _0x220e7d in _0x523e5d[_0x4064d3(0xe3)]){_0x59d357[_0x4064d3(0xf1)](_0x523e5d[_0x4064d3(0xe3)][_0x220e7d]);}const _0x1bc591=Math['ceil'](_0x4b3349['FLAoB'](_0x523e5d[_0x4064d3(0xb2)],0x28));for(let _0x38c6a0=0x2;_0x4b3349[_0x4064d3(0x130)](_0x38c6a0,_0x1bc591);_0x38c6a0++){const _0xf1c398=RequestUtil[_0x4064d3(0x10f)](_0x4b3349[_0x4064d3(0xd8)](_0x4b3349['ieFXn'](_0x4b3349[_0x4064d3(0xd8)](_0x4b3349[_0x4064d3(0xbf)](_0x4b3349[_0x4064d3(0xed)](_0x4b3349['yToPk'](_0x4b3349[_0x4064d3(0xc5)],_0x4b3349[_0x4064d3(0x113)](_0x38c6a0-0x1,0x28)),_0x4b3349['eilBw']),_0x38c6a0*0x28),_0x4b3349[_0x4064d3(0xb3)]),_0x3e6118)+_0x4b3349['wqVVu'],_0x447ee4),_0x4b3349['AQYqf'],'',{'Cookie':_0x122149});_0x2db4ba[_0x4064d3(0xf1)](_0xf1c398);}for(let _0x1a4b04=0x1;_0x4b3349[_0x4064d3(0xbc)](_0x1a4b04,_0x1bc591);_0x1a4b04++){const _0x4ab890=await _0x2db4ba[_0x1a4b04];if(!_0x4ab890?.[_0x4064d3(0xb2)]||_0x4b3349['uwhCJ'](_0x4ab890?.[_0x4064d3(0x135)],0x0)||!_0x4ab890?.[_0x4064d3(0xe3)])continue;for(const _0x33040c in _0x4ab890[_0x4064d3(0xe3)]){_0x59d357[_0x4064d3(0xf1)](_0x4ab890[_0x4064d3(0xe3)][_0x33040c]);}}WebGroupData['GroupData'][_0x4064d3(0xd9)](_0x3e6118,_0x59d357),WebGroupData[_0x4064d3(0x119)][_0x4064d3(0xd9)](_0x3e6118,Date[_0x4064d3(0xc8)]());}else _0x59d357=_0x475409;}catch{return _0x59d357;}return _0x59d357;}static async[_0x4ce027(0xfc)](_0x4caef9,_0x2910ee=''){const _0x1de3ba=_0x4ce027,_0x4eeb8b={'tQVON':_0x1de3ba(0xc3),'mnsfP':function(_0x2641d7,_0x36d97c){return _0x2641d7+_0x36d97c;},'MooId':function(_0x94d9ab,_0x5bab35){return _0x94d9ab+_0x5bab35;},'FWoXu':'p_skey=','tsKBJ':_0x1de3ba(0xd6),'KqHKm':_0x1de3ba(0xdc),'rkLFO':function(_0x2bcb3e,_0x2ce086){return _0x2bcb3e||_0x2ce086;},'ahvUO':function(_0xe5e988,_0x18c173){return _0xe5e988+_0x18c173;},'hlbPK':_0x1de3ba(0x134),'MJBTe':'&bkn=','JjchA':'&text=','LgURb':_0x1de3ba(0x138),'PNLfU':function(_0x142b7d,_0x365e51){return _0x142b7d+_0x365e51;},'EdxgA':_0x1de3ba(0xd4)},_0x598de7=(await NTQQUserApi[_0x1de3ba(0xd2)]([_0x4eeb8b['tQVON']]))[_0x4eeb8b[_0x1de3ba(0xf0)]],_0x1eb823=await NTQQUserApi[_0x1de3ba(0x13d)](),_0x501f3d=_0x4eeb8b[_0x1de3ba(0xc2)](_0x4eeb8b[_0x1de3ba(0xc2)](_0x4eeb8b[_0x1de3ba(0xb6)](_0x4eeb8b[_0x1de3ba(0xc2)](_0x4eeb8b[_0x1de3ba(0x11b)],_0x598de7),_0x4eeb8b['tsKBJ']),_0x1eb823)+_0x4eeb8b[_0x1de3ba(0xfa)],selfInfo[_0x1de3ba(0x122)]);let _0x18ad09=undefined;if(_0x4eeb8b['rkLFO'](!_0x1eb823,!_0x598de7))return undefined;const _0x17c88c=WebApi[_0x1de3ba(0xc6)](_0x1eb823),_0x56f5f8=_0x4eeb8b[_0x1de3ba(0xb6)](_0x4eeb8b[_0x1de3ba(0x129)](_0x4eeb8b[_0x1de3ba(0x11e)]+_0x4caef9+_0x4eeb8b['MJBTe']+_0x17c88c,_0x4eeb8b[_0x1de3ba(0xd1)])+_0x2910ee,_0x4eeb8b['LgURb']),_0x294a1c=_0x4eeb8b[_0x1de3ba(0xec)](_0x4eeb8b[_0x1de3ba(0x107)],_0x17c88c);try{return _0x18ad09=await RequestUtil[_0x1de3ba(0x10f)](_0x294a1c,_0x1de3ba(0xf2),'',{'Cookie':_0x501f3d}),_0x18ad09;}catch(_0x37980e){return undefined;}return undefined;}static async[_0x4ce027(0x12a)](_0x26f1da){const _0x2e216e=_0x4ce027,_0x18e36f={'WHjTU':_0x2e216e(0xc3),'hyyLt':function(_0x1f9276,_0x3d8b60){return _0x1f9276+_0x3d8b60;},'bHOjP':function(_0x42828e,_0x188a33){return _0x42828e+_0x188a33;},'fEgOH':_0x2e216e(0xcc),'eZDzi':_0x2e216e(0xd6),'ZPdST':function(_0x690630,_0x334ba9){return _0x690630||_0x334ba9;},'yPZrS':function(_0x5755cd,_0x465e82){return _0x5755cd+_0x465e82;},'aPCqV':function(_0x56320c,_0x33175a){return _0x56320c+_0x33175a;},'lxCaQ':function(_0x56587e,_0x1571d6){return _0x56587e+_0x1571d6;},'CWiNG':_0x2e216e(0x142),'eOTyS':_0x2e216e(0xaf),'FCRkp':_0x2e216e(0xf2),'MTmNy':function(_0x4dc8a8,_0x2cee61){return _0x4dc8a8!==_0x2cee61;}},_0x42b61d=(await NTQQUserApi['getPSkey']([_0x2e216e(0xc3)]))[_0x18e36f[_0x2e216e(0xe8)]],_0x478cb1=await NTQQUserApi[_0x2e216e(0x13d)](),_0x20c8cd=_0x18e36f[_0x2e216e(0xf8)](_0x18e36f[_0x2e216e(0xc4)](_0x18e36f[_0x2e216e(0x133)]+_0x42b61d+_0x18e36f[_0x2e216e(0xcf)],_0x478cb1),_0x2e216e(0xdc))+selfInfo['uin'];let _0x569af3=undefined;if(_0x18e36f[_0x2e216e(0x100)](!_0x478cb1,!_0x42b61d))return undefined;const _0xa4ddf6=WebApi[_0x2e216e(0xc6)](_0x478cb1),_0x243e9d=_0x18e36f[_0x2e216e(0x11f)](_0x18e36f['aPCqV'](_0x18e36f[_0x2e216e(0x11f)](_0x18e36f['lxCaQ']('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',_0xa4ddf6),_0x18e36f[_0x2e216e(0xcd)]),_0x26f1da),_0x18e36f['eOTyS']);try{_0x569af3=await RequestUtil[_0x2e216e(0x10f)](_0x243e9d,_0x18e36f[_0x2e216e(0xfe)],'',{'Cookie':_0x20c8cd});if(_0x18e36f[_0x2e216e(0xff)](_0x569af3?.['ec'],0x0))return undefined;return _0x569af3;}catch(_0x5ad553){return undefined;}return undefined;}static[_0x4ce027(0xc6)](_0x2f7c75){const _0x51b562=_0x4ce027,_0x51eac9={'VePEr':function(_0x1d75b5,_0x381b31){return _0x1d75b5||_0x381b31;},'MNoOZ':function(_0x5bb586,_0x343cf4){return _0x5bb586+_0x343cf4;},'gVtgg':function(_0x3ff52c,_0x103d80){return _0x3ff52c<<_0x103d80;}};_0x2f7c75=_0x51eac9[_0x51b562(0x11d)](_0x2f7c75,'');let _0x353c27=0x1505;for(let _0x5885f3=0x0;_0x5885f3<_0x2f7c75['length'];_0x5885f3++){const _0x3d7746=_0x2f7c75[_0x51b562(0x11a)](_0x5885f3);_0x353c27=_0x51eac9[_0x51b562(0xdf)](_0x353c27,_0x51eac9[_0x51b562(0x105)](_0x353c27,0x5))+_0x3d7746;}return(_0x353c27&0x7fffffff)[_0x51b562(0x12d)]();}static async[_0x4ce027(0xcb)](_0x5b6795,_0x51f1a2){const _0x5cfa4b=_0x4ce027,_0x5a6b1d={'zrwyR':function(_0x177a35,_0x46dd6e){return _0x177a35+_0x46dd6e;},'fDgJR':function(_0x3a1caa,_0x1d63b9){return _0x3a1caa+_0x1d63b9;},'YuJiB':_0x5cfa4b(0xf2),'ZNWBe':function(_0x14568f,_0x31bf5e,_0x47fc73,_0x113f3e){return _0x14568f(_0x31bf5e,_0x47fc73,_0x113f3e);},'oOrGi':function(_0x158f8a,_0x5efbd5){return _0x158f8a||_0x5efbd5;},'CMvuk':function(_0xef9ea6,_0x4856e9){return _0xef9ea6+_0x4856e9;},'HxpNX':function(_0x5a751e,_0xba64a3){return _0x5a751e+_0xba64a3;},'gqXMu':function(_0xb65ba7,_0x37b4ef){return _0xb65ba7+_0x37b4ef;},'mXooA':'p_skey=','GmJYd':_0x5cfa4b(0xd6),'cylNq':';\x20p_uin=o','elpQs':_0x5cfa4b(0xc0),'sQNOO':function(_0x1d2322,_0x31539b){return _0x1d2322===_0x31539b;},'VOgaF':function(_0x439174,_0x8a4353){return _0x439174===_0x8a4353;},'TKUkC':'获取龙王信息失败','tbopV':function(_0x48a270,_0x251c8d){return _0x48a270(_0x251c8d);},'uXlRO':function(_0xcf9799,_0x3bfb90,_0x128d47){return _0xcf9799(_0x3bfb90,_0x128d47);},'PBiRh':_0x5cfa4b(0xb4),'nckre':_0x5cfa4b(0xda),'teRxV':function(_0x197fc5,_0x29d944){return _0x197fc5===_0x29d944;},'imbXq':'获取快乐源泉失败'},_0x1db4e7=(await NTQQUserApi[_0x5cfa4b(0xd2)]([_0x5cfa4b(0xc3)]))[_0x5cfa4b(0xc3)],_0x32dec8=await NTQQUserApi[_0x5cfa4b(0x13d)]();if(_0x5a6b1d['oOrGi'](!_0x32dec8,!_0x1db4e7))return undefined;async function _0x5e0f5d(_0x50cc4a,_0x5ceff4){const _0x2ce175=_0x5cfa4b;let _0x40ddbc=_0x5a6b1d['zrwyR'](_0x5a6b1d[_0x2ce175(0x13e)](_0x2ce175(0x12e),_0x50cc4a)+'&type=',_0x5ceff4[_0x2ce175(0x12d)]()),_0x30b45c='',_0xc20f43;try{_0x30b45c=await RequestUtil['HttpGetText'](_0x40ddbc,_0x5a6b1d[_0x2ce175(0x115)],'',{'Cookie':_0x13cdf6});const _0x3570c2=_0x30b45c[_0x2ce175(0xb5)](/window\.__INITIAL_STATE__=(.*?);/);return _0x3570c2&&(_0xc20f43=JSON[_0x2ce175(0x131)](_0x3570c2[0x1][_0x2ce175(0xdd)]())),_0x5ceff4===0x1?_0xc20f43?.[_0x2ce175(0xc7)]:_0xc20f43?.[_0x2ce175(0x123)];}catch(_0x7295ba){_0x5a6b1d['ZNWBe'](logDebug,_0x2ce175(0x109),_0x40ddbc,_0x7295ba);}return undefined;}let _0x1ff459={'group_id':_0x5b6795};const _0x13cdf6=_0x5a6b1d['CMvuk'](_0x5a6b1d['CMvuk'](_0x5a6b1d[_0x5cfa4b(0xd5)](_0x5a6b1d[_0x5cfa4b(0xeb)](_0x5a6b1d[_0x5cfa4b(0x139)],_0x1db4e7),_0x5a6b1d['GmJYd']),_0x32dec8)+_0x5a6b1d[_0x5cfa4b(0x127)]+selfInfo[_0x5cfa4b(0x122)]+_0x5a6b1d[_0x5cfa4b(0x126)],selfInfo['uin']);if(_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xe6)])||_0x5a6b1d[_0x5cfa4b(0xbe)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x269b8b=await _0x5e0f5d(_0x5b6795,0x1);if(!_0x269b8b)throw new Error(_0x5a6b1d[_0x5cfa4b(0xf6)]);_0x1ff459[_0x5cfa4b(0x106)]={'user_id':_0x269b8b[0x0]?.[_0x5cfa4b(0x122)],'avatar':_0x269b8b[0x0]?.['avatar'],'nickname':_0x269b8b[0x0]?.[_0x5cfa4b(0x117)],'day_count':0x0,'description':_0x269b8b[0x0]?.[_0x5cfa4b(0x10d)]},_0x1ff459[_0x5cfa4b(0xfd)]=[];for(const _0x2fabd0 of _0x269b8b){_0x1ff459['talkative_list']['push']({'user_id':_0x2fabd0?.['uin'],'avatar':_0x2fabd0?.[_0x5cfa4b(0x101)],'description':_0x2fabd0?.[_0x5cfa4b(0x10d)],'day_count':0x0,'nickname':_0x2fabd0?.[_0x5cfa4b(0x117)]});}}catch(_0x522d44){_0x5a6b1d[_0x5cfa4b(0xe4)](logDebug,_0x522d44);}if(_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xd3)])||_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x1ec67a=await _0x5a6b1d['uXlRO'](_0x5e0f5d,_0x5b6795,0x2);if(!_0x1ec67a)throw new Error(_0x5a6b1d['PBiRh']);_0x1ff459[_0x5cfa4b(0xad)]=[];for(const _0x5106a4 of _0x1ec67a){_0x1ff459[_0x5cfa4b(0xad)][_0x5cfa4b(0xf1)]({'user_id':_0x5106a4?.['uin'],'nickname':_0x5106a4?.[_0x5cfa4b(0x117)],'avatar':_0x5106a4?.[_0x5cfa4b(0x101)],'description':_0x5106a4?.['desc']});}}catch(_0x38ffec){logDebug(_0x38ffec);}if(_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xd3)])||_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x555d03=await _0x5e0f5d(_0x5b6795,0x3);if(!_0x555d03)throw new Error(_0x5a6b1d[_0x5cfa4b(0x141)]);_0x1ff459['legend_list']=[];for(const _0x24a40b of _0x555d03){_0x1ff459[_0x5cfa4b(0xf5)][_0x5cfa4b(0xf1)]({'user_id':_0x24a40b?.[_0x5cfa4b(0x122)],'nickname':_0x24a40b?.[_0x5cfa4b(0x117)],'avatar':_0x24a40b?.[_0x5cfa4b(0x101)],'desc':_0x24a40b?.[_0x5cfa4b(0xea)]});}}catch(_0x3f91d7){_0x5a6b1d[_0x5cfa4b(0xab)](logDebug,_0x5a6b1d[_0x5cfa4b(0x141)],_0x3f91d7);}if(_0x5a6b1d['teRxV'](_0x51f1a2,WebHonorType['EMOTION'])||_0x5a6b1d[_0x5cfa4b(0x10b)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x3f83d2=await _0x5e0f5d(_0x5b6795,0x6);if(!_0x3f83d2)throw new Error(_0x5a6b1d[_0x5cfa4b(0x121)]);_0x1ff459['emotion_list']=[];for(const _0x5896d4 of _0x3f83d2){_0x1ff459[_0x5cfa4b(0xdb)][_0x5cfa4b(0xf1)]({'user_id':_0x5896d4?.['uin'],'nickname':_0x5896d4?.[_0x5cfa4b(0x117)],'avatar':_0x5896d4?.[_0x5cfa4b(0x101)],'desc':_0x5896d4?.['description']});}}catch(_0x14b348){logDebug(_0x5a6b1d[_0x5cfa4b(0x121)],_0x14b348);}return(_0x51f1a2===WebHonorType[_0x5cfa4b(0xb8)]||_0x5a6b1d[_0x5cfa4b(0xbe)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))&&(_0x1ff459[_0x5cfa4b(0xfb)]=[]),_0x1ff459;}} \ No newline at end of file +const _0x93ec09=_0x55a6;(function(_0x2c645b,_0x579391){const _0x8a856f=_0x55a6,_0x2de5b9=_0x2c645b();while(!![]){try{const _0x40ae4a=parseInt(_0x8a856f(0xad))/0x1*(-parseInt(_0x8a856f(0xe8))/0x2)+-parseInt(_0x8a856f(0xce))/0x3+parseInt(_0x8a856f(0x96))/0x4+-parseInt(_0x8a856f(0x11a))/0x5*(-parseInt(_0x8a856f(0xbb))/0x6)+-parseInt(_0x8a856f(0xc6))/0x7+parseInt(_0x8a856f(0x116))/0x8+-parseInt(_0x8a856f(0xfd))/0x9*(parseInt(_0x8a856f(0x106))/0xa);if(_0x40ae4a===_0x579391)break;else _0x2de5b9['push'](_0x2de5b9['shift']());}catch(_0x2cb5dc){_0x2de5b9['push'](_0x2de5b9['shift']());}}}(_0x512e,0xb8310));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x512e(){const _0x1a3a2e=['genBkn','qid=','UngQZ','getGroupHonorInfo','alwtH','18786SCNzjb','HaeIP','FOJjI','tBuMf','wVfMw','获取龙王信息失败','wLrqo','RRsEs','PrWCq','desc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','1902845kljtvy','NolVn','hjSLN','jCGnZ','RAopd','itXSq','ByEDs','push','1797279hnYXDs','bKVys','TALKACTIVE','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','all','getSkey',';\x20uin=o','charCodeAt','TrFkW','AKEHn','uin',';\x20p_uin=o','0|4|3|2|1|5','pfTJu','split','ALL','fbGBq','IyGXQ','tDjWI','EMOTION','xMgeB','getGroupMembers','dBPcN','avWro','mems','toString','4604uDtVft','hVofU','&page_start=','uLDzb','match','VYHGF','GroupData','p_skey=','GET','description','errcode','QUOwl','PxoZI','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','now','KtfLI','&sort=1&gc=','https://qun.qq.com/interactive/honorlist?gc=','set','DbwcE','XjQqi','90pnNpTy',';\x20skey=','AjJmA','phXdL','current_talkative','EJoKo','OyzWf','bzmVw','MBSUw','568060jmXAly','DXuQx','Hcmib','length','qun.qq.com','strong_newbie_list','pyENz','&type=','&end=','aNHbb','NxpBn','yaTPb','parse','wDJZu','&page_limit=20','count','1516248nbbIHn','Qdgqb','actorList','获取快乐源泉失败','1420QUcBKe','talkative_list','emotion_list','POST','TGFrs','APICV','Ralum','CPcDb','SBmXC','rosCh','OFdts','FCPUz','Vwfrx','avatar','strong_newbie','lExEy','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','HttpGetJson','legend_list','tvkOW','biSwi','Hhqva','getGroupEssenceMsg','获取群聊之火失败','4578508fMwkvX','performer','scTWz','rPGJb','GroupTime','PERFROMER','GSTNF','retcode','kAddC','name','CErLw','dzQlu','TQkfS','mJHqd','trim','获取群聊炽焰失败','BCmle','&bkn=','cKMww','get','QpTnE','esCxW','SxCjT','13YFppuL','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','FHFcn','QtEsb','yIwFh','DnNrJ','bkWEN','getPSkey','performer_list'];_0x512e=function(){return _0x1a3a2e;};return _0x512e();}export var WebHonorType;function _0x55a6(_0x37739d,_0x739c3a){const _0x512e99=_0x512e();return _0x55a6=function(_0x55a672,_0x3e6437){_0x55a672=_0x55a672-0x90;let _0xaf593e=_0x512e99[_0x55a672];return _0xaf593e;},_0x55a6(_0x37739d,_0x739c3a);}(function(_0x1cb6cb){const _0x2ae7b5=_0x55a6,_0x5a2a5f={'ZKOet':_0x2ae7b5(0xda),'AjJmA':'STORONGE_NEWBI','FOJjI':_0x2ae7b5(0x128),'bzmVw':'legend','avWro':_0x2ae7b5(0x9b),'jCGnZ':_0x2ae7b5(0x97),'Hhqva':'emotion'},_0x2291e5=_0x5a2a5f['ZKOet'][_0x2ae7b5(0xdc)]('|');let _0x231052=0x0;while(!![]){switch(_0x2291e5[_0x231052++]){case'0':_0x1cb6cb[_0x2ae7b5(0xdd)]=_0x2ae7b5(0xd2);continue;case'1':_0x1cb6cb[_0x5a2a5f[_0x2ae7b5(0xff)]]=_0x5a2a5f[_0x2ae7b5(0xbd)];continue;case'2':_0x1cb6cb['LEGEND']=_0x5a2a5f[_0x2ae7b5(0x104)];continue;case'3':_0x1cb6cb[_0x5a2a5f[_0x2ae7b5(0xe5)]]=_0x5a2a5f[_0x2ae7b5(0xc9)];continue;case'4':_0x1cb6cb[_0x2ae7b5(0xd0)]='talkative';continue;case'5':_0x1cb6cb['EMOTION']=_0x5a2a5f[_0x2ae7b5(0x93)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x93ec09(0x94)](_0x6258c5,_0x4c38eb){const _0x169675=_0x93ec09,_0x2046d0={'fbGBq':_0x169675(0x10a),'DXuQx':function(_0x5d96b3,_0x34258b){return _0x5d96b3+_0x34258b;},'MBSUw':function(_0x4a7c82,_0x5d0d98){return _0x4a7c82+_0x5d0d98;},'scTWz':function(_0x5bebb8,_0x4368f8){return _0x5bebb8+_0x4368f8;},'yIwFh':function(_0x16255c,_0x300161){return _0x16255c+_0x300161;},'XjQqi':_0x169675(0xef),'VYHGF':';\x20p_uin=o','Ralum':function(_0x527778,_0x491203){return _0x527778+_0x491203;},'Qdgqb':function(_0x216359,_0x1cfa15){return _0x216359+_0x1cfa15;},'rPGJb':function(_0x178f10,_0xc73d23){return _0x178f10+_0xc73d23;},'tBuMf':'&group_code=','FHFcn':_0x169675(0xf0),'hjSLN':function(_0x221c10,_0x4184e9){return _0x221c10!==_0x4184e9;}},_0x39636c=(await NTQQUserApi[_0x169675(0xb4)]([_0x2046d0[_0x169675(0xde)]]))[_0x2046d0[_0x169675(0xde)]],_0x5267c2=await NTQQUserApi[_0x169675(0xd3)](),_0x1f00e1=_0x2046d0[_0x169675(0x107)](_0x2046d0[_0x169675(0x105)](_0x2046d0[_0x169675(0x107)](_0x2046d0[_0x169675(0x98)](_0x2046d0[_0x169675(0xb1)](_0x2046d0[_0x169675(0xfc)],_0x39636c),_0x169675(0xfe))+_0x5267c2+_0x2046d0[_0x169675(0xed)],selfInfo['uin']),_0x169675(0xd4)),selfInfo[_0x169675(0xd8)]);if(!_0x5267c2||!_0x39636c)return undefined;const _0x4c430a=WebApi[_0x169675(0xb6)](_0x5267c2),_0x43866e=_0x2046d0[_0x169675(0x120)](_0x2046d0[_0x169675(0x117)](_0x2046d0[_0x169675(0x99)](_0x169675(0xd1)+_0x4c430a+_0x2046d0[_0x169675(0xbe)],_0x6258c5),_0x169675(0xea)),_0x4c38eb)+_0x169675(0x114);let _0x2edb3e;try{_0x2edb3e=await RequestUtil[_0x169675(0x12c)](_0x43866e,_0x2046d0[_0x169675(0xaf)],'',{'Cookie':_0x1f00e1});}catch{return undefined;}if(_0x2046d0[_0x169675(0xc8)](_0x2edb3e[_0x169675(0x9d)],0x0))return undefined;return _0x2edb3e;}static async[_0x93ec09(0xe3)](_0x14560b,_0x51213f=!![]){const _0x42d1c5=_0x93ec09,_0x3275e5={'pfTJu':function(_0x48cd96,_0x5d1b4f){return _0x48cd96*_0x5d1b4f;},'yaTPb':_0x42d1c5(0x10a),'IyGXQ':function(_0x27c3c8,_0x3ecd63){return _0x27c3c8+_0x3ecd63;},'RAopd':function(_0x5a5279,_0x14df45){return _0x5a5279+_0x14df45;},'OFdts':function(_0x304aaa,_0x4062d1){return _0x304aaa+_0x4062d1;},'HmjiV':function(_0x1da8d1,_0x2b69a5){return _0x1da8d1+_0x2b69a5;},'TeWyE':_0x42d1c5(0xfe),'pyENz':';\x20p_uin=o','NWDAA':function(_0x1cf960,_0xcc08c5){return _0x1cf960+_0xcc08c5;},'uLDzb':function(_0x11f740,_0x2e57d1){return _0x11f740+_0x2e57d1;},'UngQZ':_0x42d1c5(0x12a),'GSTNF':'&bkn=','QpTnE':function(_0x269830,_0x220d30){return _0x269830!==_0x220d30;},'nfJQo':function(_0x389e9f,_0x49c430){return _0x389e9f/_0x49c430;},'Hcmib':function(_0x3bb7d7,_0x18a56f){return _0x3bb7d7<=_0x18a56f;},'KtfLI':function(_0x48888f,_0x35a9e7){return _0x48888f+_0x35a9e7;},'QtEsb':function(_0x31a2c7,_0x3c8611){return _0x31a2c7+_0x3c8611;},'SxCjT':function(_0x5c7a69,_0x1480f9){return _0x5c7a69+_0x1480f9;},'NolVn':_0x42d1c5(0xc5),'qezHd':function(_0x5e9853,_0x15d743){return _0x5e9853-_0x15d743;},'tvkOW':_0x42d1c5(0xf8),'COLHW':'POST'};let _0x28db0f=new Array();try{let _0x38247c=WebGroupData[_0x42d1c5(0xee)][_0x42d1c5(0xa9)](_0x14560b),_0x28bc46=WebGroupData[_0x42d1c5(0x9a)][_0x42d1c5(0xa9)](_0x14560b);if(!_0x28bc46||Date[_0x42d1c5(0xf6)]()-_0x28bc46>_0x3275e5[_0x42d1c5(0xdb)](0x708,0x3e8)||!_0x51213f){const _0x15a506=(await NTQQUserApi['getPSkey']([_0x3275e5[_0x42d1c5(0x111)]]))[_0x3275e5['yaTPb']],_0x4fd28e=await NTQQUserApi[_0x42d1c5(0xd3)](),_0x182f9f=_0x3275e5[_0x42d1c5(0xdf)](_0x3275e5[_0x42d1c5(0xca)](_0x3275e5[_0x42d1c5(0xca)](_0x3275e5[_0x42d1c5(0x124)](_0x3275e5['HmjiV'](_0x42d1c5(0xef),_0x15a506),_0x3275e5['TeWyE']),_0x4fd28e),_0x3275e5[_0x42d1c5(0x10c)]),selfInfo[_0x42d1c5(0xd8)]);if(!_0x4fd28e||!_0x15a506)return _0x28db0f;const _0x4effd6=WebApi[_0x42d1c5(0xb6)](_0x4fd28e),_0x3113f7=[],_0x65b765=await RequestUtil['HttpGetJson'](_0x3275e5[_0x42d1c5(0xca)](_0x3275e5['NWDAA'](_0x3275e5[_0x42d1c5(0xeb)](_0x3275e5[_0x42d1c5(0xb8)],_0x14560b),_0x3275e5[_0x42d1c5(0x9c)]),_0x4effd6),_0x42d1c5(0x11d),'',{'Cookie':_0x182f9f});if(!_0x65b765?.[_0x42d1c5(0x115)]||_0x3275e5[_0x42d1c5(0xaa)](_0x65b765?.['errcode'],0x0)||!_0x65b765?.[_0x42d1c5(0xe6)])return[];else for(const _0x4d158e in _0x65b765[_0x42d1c5(0xe6)]){_0x28db0f['push'](_0x65b765[_0x42d1c5(0xe6)][_0x4d158e]);}const _0x50cccd=Math['ceil'](_0x3275e5['nfJQo'](_0x65b765[_0x42d1c5(0x115)],0x28));for(let _0x38c040=0x2;_0x3275e5[_0x42d1c5(0x108)](_0x38c040,_0x50cccd);_0x38c040++){const _0x268b1b=RequestUtil['HttpGetJson'](_0x3275e5[_0x42d1c5(0xeb)](_0x3275e5['RAopd'](_0x3275e5[_0x42d1c5(0xf7)](_0x3275e5[_0x42d1c5(0xb0)](_0x3275e5[_0x42d1c5(0xac)](_0x3275e5[_0x42d1c5(0xc7)]+_0x3275e5[_0x42d1c5(0xdb)](_0x3275e5['qezHd'](_0x38c040,0x1),0x28),_0x42d1c5(0x10e))+_0x3275e5['pfTJu'](_0x38c040,0x28),_0x3275e5[_0x42d1c5(0x91)]),_0x14560b),_0x3275e5[_0x42d1c5(0x9c)]),_0x4effd6),_0x3275e5['COLHW'],'',{'Cookie':_0x182f9f});_0x3113f7[_0x42d1c5(0xcd)](_0x268b1b);}for(let _0x3749b5=0x1;_0x3749b5<=_0x50cccd;_0x3749b5++){const _0x4585a3=await _0x3113f7[_0x3749b5];if(!_0x4585a3?.['count']||_0x4585a3?.[_0x42d1c5(0xf2)]!==0x0||!_0x4585a3?.[_0x42d1c5(0xe6)])continue;for(const _0x2c4a51 in _0x4585a3[_0x42d1c5(0xe6)]){_0x28db0f[_0x42d1c5(0xcd)](_0x4585a3[_0x42d1c5(0xe6)][_0x2c4a51]);}}WebGroupData[_0x42d1c5(0xee)][_0x42d1c5(0xfa)](_0x14560b,_0x28db0f),WebGroupData[_0x42d1c5(0x9a)][_0x42d1c5(0xfa)](_0x14560b,Date[_0x42d1c5(0xf6)]());}else _0x28db0f=_0x38247c;}catch{return _0x28db0f;}return _0x28db0f;}static async['setGroupNotice'](_0x1e19b7,_0x3278cb=''){const _0x12edda=_0x93ec09,_0x554d1c={'TGFrs':_0x12edda(0x10a),'lExEy':function(_0x330ae2,_0x3844af){return _0x330ae2+_0x3844af;},'QUOwl':_0x12edda(0xef),'aNHbb':_0x12edda(0xfe),'ByEDs':';\x20p_uin=o','cKMww':function(_0x12cfdb,_0x3b65a1){return _0x12cfdb||_0x3b65a1;},'EJoKo':function(_0x50d215,_0x147cb4){return _0x50d215+_0x147cb4;},'wLrqo':function(_0x126b20,_0x624152){return _0x126b20+_0x624152;},'biSwi':_0x12edda(0xb7),'APICV':_0x12edda(0xa7),'itXSq':'&text=','HaeIP':_0x12edda(0xf5),'PrWCq':function(_0x4330b1,_0x50a7ab){return _0x4330b1+_0x50a7ab;},'wDJZu':'GET'},_0x26d033=(await NTQQUserApi['getPSkey']([_0x554d1c[_0x12edda(0x11e)]]))[_0x12edda(0x10a)],_0x13da7a=await NTQQUserApi[_0x12edda(0xd3)](),_0x1aa29a=_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0xf3)]+_0x26d033,_0x554d1c[_0x12edda(0x10f)]),_0x13da7a),_0x554d1c[_0x12edda(0xcc)]),selfInfo[_0x12edda(0xd8)]);let _0x5deae7=undefined;if(_0x554d1c[_0x12edda(0xa8)](!_0x13da7a,!_0x26d033))return undefined;const _0x5ef19b=WebApi[_0x12edda(0xb6)](_0x13da7a),_0xbab48d=_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x102)](_0x554d1c[_0x12edda(0xc1)](_0x554d1c['lExEy'](_0x554d1c[_0x12edda(0x92)],_0x1e19b7),_0x554d1c[_0x12edda(0x11f)]),_0x5ef19b),_0x554d1c[_0x12edda(0xcb)]),_0x3278cb)+_0x554d1c[_0x12edda(0xbc)],_0x5c0ebe=_0x554d1c[_0x12edda(0xc3)]('https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=',_0x5ef19b);try{return _0x5deae7=await RequestUtil['HttpGetJson'](_0x5c0ebe,_0x554d1c[_0x12edda(0x113)],'',{'Cookie':_0x1aa29a}),_0x5deae7;}catch(_0x5dff7a){return undefined;}return undefined;}static async['getGrouptNotice'](_0x19c9db){const _0x5afed8=_0x93ec09,_0x6cbbd0={'TQkfS':_0x5afed8(0x10a),'TrFkW':function(_0x4dc71e,_0x555ba4){return _0x4dc71e+_0x555ba4;},'kAddC':function(_0x4912f7,_0x32cb87){return _0x4912f7+_0x32cb87;},'bGNhk':function(_0x22f479,_0x45e5fe){return _0x22f479+_0x45e5fe;},'DbwcE':_0x5afed8(0xfe),'Vwfrx':_0x5afed8(0xd9),'QTOkN':function(_0x96adcb,_0x1ec1f2){return _0x96adcb||_0x1ec1f2;},'CErLw':function(_0x2974a2,_0x110464){return _0x2974a2+_0x110464;},'wVfMw':function(_0x1612db,_0x25ba5d){return _0x1612db+_0x25ba5d;},'hVofU':function(_0x201cde,_0x2b70ff){return _0x201cde+_0x2b70ff;},'IruNx':_0x5afed8(0xae),'NxpBn':'&qid=','alwtH':_0x5afed8(0x12b),'RRsEs':_0x5afed8(0xf0)},_0x1a8371=(await NTQQUserApi[_0x5afed8(0xb4)]([_0x6cbbd0['TQkfS']]))[_0x6cbbd0[_0x5afed8(0xa2)]],_0x5901a2=await NTQQUserApi['getSkey'](),_0x580791=_0x6cbbd0[_0x5afed8(0xd6)](_0x6cbbd0[_0x5afed8(0xd6)](_0x6cbbd0[_0x5afed8(0x9e)](_0x6cbbd0['bGNhk'](_0x6cbbd0[_0x5afed8(0xd6)](_0x5afed8(0xef),_0x1a8371),_0x6cbbd0[_0x5afed8(0xfb)]),_0x5901a2),_0x6cbbd0[_0x5afed8(0x126)]),selfInfo[_0x5afed8(0xd8)]);let _0x990655=undefined;if(_0x6cbbd0['QTOkN'](!_0x5901a2,!_0x1a8371))return undefined;const _0x1f3b65=WebApi[_0x5afed8(0xb6)](_0x5901a2),_0x303c2e=_0x6cbbd0[_0x5afed8(0xa0)](_0x6cbbd0[_0x5afed8(0xbf)](_0x6cbbd0[_0x5afed8(0xe9)](_0x6cbbd0['IruNx'],_0x1f3b65)+_0x6cbbd0[_0x5afed8(0x110)],_0x19c9db),_0x6cbbd0[_0x5afed8(0xba)]);try{_0x990655=await RequestUtil[_0x5afed8(0x12c)](_0x303c2e,_0x6cbbd0[_0x5afed8(0xc2)],'',{'Cookie':_0x580791});if(_0x990655?.['ec']!==0x0)return undefined;return _0x990655;}catch(_0x491a4b){return undefined;}return undefined;}static[_0x93ec09(0xb6)](_0x25f809){const _0x11b3c4=_0x93ec09,_0x11f526={'CPcDb':function(_0x13d3a0,_0x2e897b){return _0x13d3a0<_0x2e897b;},'PAzfA':function(_0xf552d4,_0x502a32){return _0xf552d4+_0x502a32;},'phXdL':function(_0x574ef0,_0x58bfdf){return _0x574ef0<<_0x58bfdf;}};_0x25f809=_0x25f809||'';let _0x51bcdb=0x1505;for(let _0x1e6b4d=0x0;_0x11f526[_0x11b3c4(0x121)](_0x1e6b4d,_0x25f809[_0x11b3c4(0x109)]);_0x1e6b4d++){const _0x4d1837=_0x25f809[_0x11b3c4(0xd5)](_0x1e6b4d);_0x51bcdb=_0x11f526['PAzfA'](_0x51bcdb+_0x11f526[_0x11b3c4(0x100)](_0x51bcdb,0x5),_0x4d1837);}return(_0x51bcdb&0x7fffffff)[_0x11b3c4(0xe7)]();}static async[_0x93ec09(0xb9)](_0x5d9654,_0x4c3007){const _0x312d73=_0x93ec09,_0xd3e0ca={'mJHqd':function(_0x45cdf7,_0x35bc4d){return _0x45cdf7+_0x35bc4d;},'xMgeB':_0x312d73(0x10d),'BqShN':_0x312d73(0xf0),'UamXy':function(_0x2243ba,_0xb8460d,_0x5cd7b6,_0x16d148){return _0x2243ba(_0xb8460d,_0x5cd7b6,_0x16d148);},'OyzWf':'qun.qq.com','dBPcN':function(_0x45393a,_0x4c62b2){return _0x45393a+_0x4c62b2;},'CSGqZ':function(_0x2b1d7a,_0x265af3){return _0x2b1d7a+_0x265af3;},'DnNrJ':function(_0x55c043,_0x1de873){return _0x55c043+_0x1de873;},'esCxW':_0x312d73(0xef),'sBmXK':';\x20skey=','cgwTV':_0x312d73(0xd4),'rosCh':function(_0x2b0de9,_0x13c4b6){return _0x2b0de9===_0x13c4b6;},'FCPUz':function(_0x19b158,_0x477996,_0xfbec7f){return _0x19b158(_0x477996,_0xfbec7f);},'bKVys':function(_0x4ad619,_0x13e471){return _0x4ad619(_0x13e471);},'PxoZI':_0x312d73(0x95),'BCmle':_0x312d73(0xa5),'bkWEN':function(_0x3f9685,_0x2d950a,_0x1a066e){return _0x3f9685(_0x2d950a,_0x1a066e);},'AKEHn':_0x312d73(0x119),'tDjWI':function(_0x1ffeb2,_0x2f6ec7,_0x3f6a9d){return _0x1ffeb2(_0x2f6ec7,_0x3f6a9d);},'SBmXC':function(_0x146efb,_0x20f51b){return _0x146efb===_0x20f51b;},'dzQlu':function(_0x5d9e29,_0x31fbb5){return _0x5d9e29===_0x31fbb5;}},_0x392362=(await NTQQUserApi['getPSkey']([_0xd3e0ca[_0x312d73(0x103)]]))[_0xd3e0ca[_0x312d73(0x103)]],_0x1fd49e=await NTQQUserApi[_0x312d73(0xd3)]();if(!_0x1fd49e||!_0x392362)return undefined;async function _0x5198c2(_0x1c2463,_0x2b352b){const _0x2183eb=_0x312d73;let _0x3c9ad1=_0xd3e0ca['mJHqd'](_0x2183eb(0xf9)+_0x1c2463+_0xd3e0ca[_0x2183eb(0xe2)],_0x2b352b[_0x2183eb(0xe7)]()),_0x4cb573='',_0x2c23a4;try{_0x4cb573=await RequestUtil['HttpGetText'](_0x3c9ad1,_0xd3e0ca['BqShN'],'',{'Cookie':_0x45f95b});const _0x19a11a=_0x4cb573[_0x2183eb(0xec)](/window\.__INITIAL_STATE__=(.*?);/);return _0x19a11a&&(_0x2c23a4=JSON[_0x2183eb(0x112)](_0x19a11a[0x1][_0x2183eb(0xa4)]())),_0x2b352b===0x1?_0x2c23a4?.['talkativeList']:_0x2c23a4?.[_0x2183eb(0x118)];}catch(_0x3c488c){_0xd3e0ca['UamXy'](logDebug,'获取当前群荣耀失败',_0x3c9ad1,_0x3c488c);}return undefined;}let _0x34517c={'group_id':_0x5d9654};const _0x45f95b=_0xd3e0ca[_0x312d73(0xa3)](_0xd3e0ca[_0x312d73(0xa3)](_0xd3e0ca[_0x312d73(0xe4)](_0xd3e0ca['mJHqd'](_0xd3e0ca['CSGqZ'](_0xd3e0ca[_0x312d73(0xb2)](_0xd3e0ca[_0x312d73(0xab)],_0x392362),_0xd3e0ca['sBmXK']),_0x1fd49e),_0x312d73(0xd9)),selfInfo[_0x312d73(0xd8)]),_0xd3e0ca['cgwTV'])+selfInfo[_0x312d73(0xd8)];if(_0xd3e0ca[_0x312d73(0x123)](_0x4c3007,WebHonorType[_0x312d73(0xd0)])||_0xd3e0ca[_0x312d73(0x123)](_0x4c3007,WebHonorType[_0x312d73(0xdd)]))try{let _0xaf3f3f=await _0xd3e0ca[_0x312d73(0x125)](_0x5198c2,_0x5d9654,0x1);if(!_0xaf3f3f)throw new Error(_0x312d73(0xc0));_0x34517c[_0x312d73(0x101)]={'user_id':_0xaf3f3f[0x0]?.[_0x312d73(0xd8)],'avatar':_0xaf3f3f[0x0]?.[_0x312d73(0x127)],'nickname':_0xaf3f3f[0x0]?.[_0x312d73(0x9f)],'day_count':0x0,'description':_0xaf3f3f[0x0]?.[_0x312d73(0xc4)]},_0x34517c['talkative_list']=[];for(const _0x3fe9df of _0xaf3f3f){_0x34517c[_0x312d73(0x11b)][_0x312d73(0xcd)]({'user_id':_0x3fe9df?.[_0x312d73(0xd8)],'avatar':_0x3fe9df?.[_0x312d73(0x127)],'description':_0x3fe9df?.[_0x312d73(0xc4)],'day_count':0x0,'nickname':_0x3fe9df?.[_0x312d73(0x9f)]});}}catch(_0x534260){_0xd3e0ca['bKVys'](logDebug,_0x534260);}if(_0x4c3007===WebHonorType[_0x312d73(0x9b)]||_0x4c3007===WebHonorType[_0x312d73(0xdd)])try{let _0x5d2746=await _0x5198c2(_0x5d9654,0x2);if(!_0x5d2746)throw new Error(_0xd3e0ca[_0x312d73(0xf4)]);_0x34517c[_0x312d73(0xb5)]=[];for(const _0x1e76b8 of _0x5d2746){_0x34517c[_0x312d73(0xb5)][_0x312d73(0xcd)]({'user_id':_0x1e76b8?.[_0x312d73(0xd8)],'nickname':_0x1e76b8?.[_0x312d73(0x9f)],'avatar':_0x1e76b8?.[_0x312d73(0x127)],'description':_0x1e76b8?.[_0x312d73(0xc4)]});}}catch(_0x335790){_0xd3e0ca[_0x312d73(0xcf)](logDebug,_0x335790);}if(_0xd3e0ca[_0x312d73(0x123)](_0x4c3007,WebHonorType[_0x312d73(0x9b)])||_0xd3e0ca['rosCh'](_0x4c3007,WebHonorType[_0x312d73(0xdd)]))try{let _0xc3a6f7=await _0xd3e0ca[_0x312d73(0x125)](_0x5198c2,_0x5d9654,0x3);if(!_0xc3a6f7)throw new Error('获取群聊炽焰失败');_0x34517c[_0x312d73(0x90)]=[];for(const _0x3d4100 of _0xc3a6f7){_0x34517c[_0x312d73(0x90)][_0x312d73(0xcd)]({'user_id':_0x3d4100?.[_0x312d73(0xd8)],'nickname':_0x3d4100?.[_0x312d73(0x9f)],'avatar':_0x3d4100?.[_0x312d73(0x127)],'desc':_0x3d4100?.[_0x312d73(0xf1)]});}}catch(_0x14bd9c){_0xd3e0ca[_0x312d73(0x125)](logDebug,_0xd3e0ca[_0x312d73(0xa6)],_0x14bd9c);}if(_0xd3e0ca['rosCh'](_0x4c3007,WebHonorType[_0x312d73(0xe1)])||_0x4c3007===WebHonorType[_0x312d73(0xdd)])try{let _0x48200c=await _0xd3e0ca[_0x312d73(0xb3)](_0x5198c2,_0x5d9654,0x6);if(!_0x48200c)throw new Error(_0xd3e0ca[_0x312d73(0xd7)]);_0x34517c[_0x312d73(0x11c)]=[];for(const _0x2a4abc of _0x48200c){_0x34517c[_0x312d73(0x11c)]['push']({'user_id':_0x2a4abc?.[_0x312d73(0xd8)],'nickname':_0x2a4abc?.[_0x312d73(0x9f)],'avatar':_0x2a4abc?.['avatar'],'desc':_0x2a4abc?.[_0x312d73(0xf1)]});}}catch(_0x4cbbd5){_0xd3e0ca[_0x312d73(0xe0)](logDebug,'获取快乐源泉失败',_0x4cbbd5);}return(_0xd3e0ca[_0x312d73(0x122)](_0x4c3007,WebHonorType[_0x312d73(0xe1)])||_0xd3e0ca[_0x312d73(0xa1)](_0x4c3007,WebHonorType[_0x312d73(0xdd)]))&&(_0x34517c[_0x312d73(0x10b)]=[]),_0x34517c;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 8eb0d336..5b75f34e 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x4bfa7e=_0x136f;(function(_0x1bfaea,_0x48091b){const _0x3f9717=_0x136f,_0x3463ab=_0x1bfaea();while(!![]){try{const _0x5b69f7=-parseInt(_0x3f9717(0x22c))/0x1+-parseInt(_0x3f9717(0x1f5))/0x2*(parseInt(_0x3f9717(0x1d2))/0x3)+parseInt(_0x3f9717(0x19a))/0x4*(-parseInt(_0x3f9717(0x229))/0x5)+-parseInt(_0x3f9717(0x21e))/0x6+-parseInt(_0x3f9717(0x1d3))/0x7*(-parseInt(_0x3f9717(0x1bc))/0x8)+-parseInt(_0x3f9717(0x1c1))/0x9+parseInt(_0x3f9717(0x21f))/0xa*(parseInt(_0x3f9717(0x180))/0xb);if(_0x5b69f7===_0x48091b)break;else _0x3463ab['push'](_0x3463ab['shift']());}catch(_0x23dd72){_0x3463ab['push'](_0x3463ab['shift']());}}}(_0x18ad,0x61db3));import _0x4f1f4d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x55ffbb from'node:path';import _0x269004 from'node:os';import _0x21a7c4 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';function _0x136f(_0x584933,_0x3608b2){const _0x18ad47=_0x18ad();return _0x136f=function(_0x136ff3,_0x10e6f5){_0x136ff3=_0x136ff3-0x178;let _0x4163e5=_0x18ad47[_0x136ff3];return _0x4163e5;},_0x136f(_0x584933,_0x3608b2);}import{sleep}from'@/common/utils/helper';import _0x2b526e from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x4bfa7e(0x191)];[_0x4bfa7e(0x213)];[_0x4bfa7e(0x190)];['loginListener'];[_0x4bfa7e(0x1e9)];[_0x4bfa7e(0x20b)]=[];[_0x4bfa7e(0x20c)]={'get'(target,prop,receiver){const _0x2727c9=_0x4bfa7e,yjpmWs={'HybrR':function(callee,param1){return callee(param1);},'THMGa':function(x,y){return x===y;},'gANlG':_0x2727c9(0x1db)};if(yjpmWs[_0x2727c9(0x1f3)](typeof target[prop],yjpmWs[_0x2727c9(0x20a)]))return(...args)=>{const _0x2b8c27=_0x2727c9;yjpmWs[_0x2b8c27(0x1ba)](logDebug,target[_0x2b8c27(0x195)]['name']+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x2727c9(0x1e4)](target,prop,receiver);}};constructor(){const _0x309518=_0x4bfa7e,_0x1ae7d7={'PAdNp':function(_0x13eb7e,_0x158ae6){return _0x13eb7e(_0x158ae6);},'qoPwy':function(_0x1ce670,_0x4769c3){return _0x1ce670+_0x4769c3;},'ZuNtd':function(_0x131deb,_0x5a9b66){return _0x131deb+_0x5a9b66;},'ljDBu':_0x309518(0x228),'qxAZE':function(_0x26cc5e,_0x228f6e,_0xc78791){return _0x26cc5e(_0x228f6e,_0xc78791);},'QILoU':function(_0x723138,_0x4dde56){return _0x723138(_0x4dde56);},'SUqoX':_0x309518(0x1fe),'MMTGl':function(_0x4fa5bc,_0x22ffb2,_0x318e26){return _0x4fa5bc(_0x22ffb2,_0x318e26);},'zXAkl':_0x309518(0x22b),'mCTHj':_0x309518(0x231),'jZKZE':function(_0x5e0f87,_0x5a5788){return _0x5e0f87==_0x5a5788;},'qiQSd':'登录失败'};this[_0x309518(0x190)]=new _0x4f1f4d[(_0x309518(0x1f0))](),this[_0x309518(0x213)]=new _0x4f1f4d[(_0x309518(0x1a5))](),this[_0x309518(0x1e9)]=new _0x4f1f4d[(_0x309518(0x1d7))](),this[_0x309518(0x191)]=new _0x4f1f4d['NodeIQQNTWrapperSession'](),this[_0x309518(0x1ab)]=new LoginListener(),this[_0x309518(0x1ab)][_0x309518(0x1e5)]=_0x4415f0=>{const _0xf080ea=_0x309518;_0x1ae7d7['PAdNp'](logError,_0x1ae7d7['qoPwy'](_0x1ae7d7[_0xf080ea(0x1b9)](_0x1ae7d7['ljDBu'],_0x4415f0),_0xf080ea(0x1cb)));},this[_0x309518(0x1ab)]['onQRCodeLoginSucceed']=_0x3b089c=>{const _0x1ba277=_0x309518,_0x3ca676={'DHSMc':_0x1ae7d7[_0x1ba277(0x1e6)]};this[_0x1ba277(0x206)](_0x3b089c[_0x1ba277(0x1ed)],_0x3b089c[_0x1ba277(0x226)])['then'](_0x457bba=>{const _0x55cd9d=_0x1ba277,_0x371674={'OMCDY':function(_0x1fce9e,_0x43ccf5,_0xfa49a4){const _0x36da23=_0x136f;return _0x1ae7d7[_0x36da23(0x225)](_0x1fce9e,_0x43ccf5,_0xfa49a4);}};selfInfo['uin']=_0x3b089c[_0x55cd9d(0x1ed)],selfInfo[_0x55cd9d(0x226)]=_0x3b089c[_0x55cd9d(0x226)],napCatConfig['read'](),_0x1ae7d7[_0x55cd9d(0x225)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig[_0x55cd9d(0x184)]),_0x1ae7d7['QILoU'](enableConsoleLog,napCatConfig[_0x55cd9d(0x1c6)]),setLogSelfInfo(selfInfo);const _0x139eca=_0x55ffbb[_0x55cd9d(0x1c3)](this[_0x55cd9d(0x1ea)],_0x1ae7d7[_0x55cd9d(0x19d)]);_0x21a7c4[_0x55cd9d(0x1e8)](_0x139eca,{'recursive':!![]}),_0x1ae7d7['MMTGl'](logDebug,_0x1ae7d7[_0x55cd9d(0x1c7)],_0x139eca),dbUtil[_0x55cd9d(0x17a)](_0x55ffbb[_0x55cd9d(0x1c3)](_0x139eca,'./'+_0x3b089c[_0x55cd9d(0x1ed)]+_0x55cd9d(0x1ce)))[_0x55cd9d(0x215)](()=>{const _0x4a4d15=_0x55cd9d;this[_0x4a4d15(0x1b0)](),this[_0x4a4d15(0x20b)][_0x4a4d15(0x1f1)](_0x5a71e5=>{const _0x3e9769=_0x4a4d15,_0x3920ad={'ouaPB':function(_0xf42a0c,_0x4b75db,_0x25f215){return _0x371674['OMCDY'](_0xf42a0c,_0x4b75db,_0x25f215);},'zsPjP':function(_0x3787d6,_0x29593d){return _0x3787d6 instanceof _0x29593d;}};new Promise((_0x38cab9,_0x3a88ec)=>{const _0x3ae44b=_0x136f,_0x1fe520=_0x3920ad[_0x3ae44b(0x18d)](_0x5a71e5,_0x3b089c[_0x3ae44b(0x1ed)],_0x3b089c[_0x3ae44b(0x226)]);_0x3920ad[_0x3ae44b(0x1fa)](_0x1fe520,Promise)&&_0x1fe520[_0x3ae44b(0x215)](_0x38cab9)[_0x3ae44b(0x189)](_0x3a88ec);})[_0x3e9769(0x215)]();});})[_0x55cd9d(0x189)](_0x2176f8=>{const _0x6f68a5=_0x55cd9d;logError(_0x3ca676[_0x6f68a5(0x1de)],_0x2176f8);});})[_0x1ba277(0x189)](_0xcbc36d=>{const _0xcf807e=_0x1ba277;logError(_0xcf807e(0x1b7),_0xcbc36d);throw new Error('启动失败:\x20'+JSON[_0xcf807e(0x1bf)](_0xcbc36d));});},this[_0x309518(0x1ab)][_0x309518(0x212)]=(_0x55108e,_0x59233c,_0x3f3cce)=>{const _0x30bf4c=_0x309518;_0x1ae7d7[_0x30bf4c(0x204)](logError,_0x30bf4c(0x21a),_0x3f3cce),_0x55108e==0x1&&_0x1ae7d7['jZKZE'](_0x59233c,0x3)&&this[_0x30bf4c(0x1e9)][_0x30bf4c(0x19e)]();},this[_0x309518(0x1ab)][_0x309518(0x1fc)]=_0x16d9a9=>{const _0x2662f=_0x309518;_0x1ae7d7[_0x2662f(0x225)](logError,_0x1ae7d7[_0x2662f(0x20e)],_0x16d9a9);},this[_0x309518(0x1ab)]=new Proxy(this[_0x309518(0x1ab)],this[_0x309518(0x20c)]),this[_0x309518(0x1e9)][_0x309518(0x1d0)](new _0x4f1f4d[(_0x309518(0x21d))](this[_0x309518(0x1ab)])),this[_0x309518(0x223)]();}get[_0x4bfa7e(0x1ea)](){const _0x147c55=_0x4bfa7e,_0x624c90={'cyfgq':_0x147c55(0x220)};let _0x1a04aa=this[_0x147c55(0x213)][_0x147c55(0x221)]();return!_0x1a04aa&&(_0x1a04aa=_0x55ffbb[_0x147c55(0x1c3)](_0x269004['homedir'](),_0x624c90[_0x147c55(0x1ef)]),_0x21a7c4[_0x147c55(0x1e8)](_0x1a04aa,{'recursive':!![]})),_0x1a04aa;}get[_0x4bfa7e(0x1a1)](){const _0x36edfc=_0x4bfa7e;return _0x55ffbb[_0x36edfc(0x1c3)](this[_0x36edfc(0x1ea)],_0x36edfc(0x198));}[_0x4bfa7e(0x223)](){const _0x3378e9=_0x4bfa7e,_0x289e18={'hCzQb':_0x3378e9(0x1cc)};this['engine'][_0x3378e9(0x200)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3378e9(0x1a3)],'os_version':_0x289e18[_0x3378e9(0x1ec)],'use_xlog':!![],'qua':_0x3378e9(0x1f7)+qqVersionConfigInfo[_0x3378e9(0x1a3)][_0x3378e9(0x1cf)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x3378e9(0x1a1)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4f1f4d[(_0x3378e9(0x1c5))](new GlobalAdapter())),this[_0x3378e9(0x1e9)][_0x3378e9(0x223)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x3378e9(0x1a1)],'clientVer':qqVersionConfigInfo[_0x3378e9(0x1a3)],'hostName':hostname});}[_0x4bfa7e(0x206)](_0x4e9c73,_0x435f97){const _0x31434f={'tHAwU':function(_0x69bf5d,_0x3b09e4){return _0x69bf5d===_0x3b09e4;},'MrQTJ':function(_0x3be44f,_0x2425a4){return _0x3be44f(_0x2425a4);},'nqIIc':function(_0x1a4655,_0x127e22,_0x3b4e95,_0x2ea914){return _0x1a4655(_0x127e22,_0x3b4e95,_0x2ea914);}};return new Promise((_0x1d392e,_0x5426fa)=>{const _0x30470f=_0x136f,_0x232bc0={'LgIqk':function(_0xd6f0dc,_0x2517c0){const _0x5e3980=_0x136f;return _0x31434f[_0x5e3980(0x202)](_0xd6f0dc,_0x2517c0);},'IOIby':function(_0x511d27,_0x21eed0){const _0x5793b2=_0x136f;return _0x31434f[_0x5793b2(0x1f4)](_0x511d27,_0x21eed0);}},_0xd2d446=_0x31434f[_0x30470f(0x18b)](genSessionConfig,_0x4e9c73,_0x435f97,this[_0x30470f(0x1ea)]),_0x3e7c73=new SessionListener();_0x3e7c73[_0x30470f(0x19c)]=_0x207612=>{if(_0x232bc0['LgIqk'](_0x207612,0x0))return _0x232bc0['IOIby'](_0x1d392e,0x0);_0x232bc0['IOIby'](_0x5426fa,_0x207612);},this['session'][_0x30470f(0x17a)](_0xd2d446,new _0x4f1f4d[(_0x30470f(0x21c))](new DependsAdapter()),new _0x4f1f4d[(_0x30470f(0x17f))](new DispatcherAdapter()),new _0x4f1f4d[(_0x30470f(0x1eb))](_0x3e7c73));try{this[_0x30470f(0x191)][_0x30470f(0x210)](0x0);}catch(_0x3be038){try{this[_0x30470f(0x191)][_0x30470f(0x210)]();}catch(_0x41eab5){_0x31434f['MrQTJ'](_0x5426fa,_0x30470f(0x201)+_0x41eab5);}}});}[_0x4bfa7e(0x1b0)](){const _0x2f472f=_0x4bfa7e,_0x18de7b={'TORpS':function(_0x1c5d46,_0x4e6693){return _0x1c5d46===_0x4e6693;},'mArtC':function(_0x583aeb,_0x2001f1){return _0x583aeb(_0x2001f1);},'eZSjC':function(_0x212d64,_0x6decdb){return _0x212d64+_0x6decdb;},'gScZX':'账号设备(','xpmKy':function(_0x431dda,_0x243819){return _0x431dda+_0x243819;},'FYUDA':function(_0x402e7c,_0x2488f6){return _0x402e7c+_0x2488f6;},'XZmbr':_0x2f472f(0x183),'LvmXk':function(_0x16552f,_0x32abc0){return _0x16552f===_0x32abc0;},'XOKVp':function(_0x5b53bd,_0x12c9f0){return _0x5b53bd/_0x12c9f0;},'ERbSo':function(_0x2bd0fb,_0x30a306){return _0x2bd0fb===_0x30a306;},'nTorV':function(_0x2c8a5e,_0x370f43,_0x40ecb1){return _0x2c8a5e(_0x370f43,_0x40ecb1);}},_0x3bdc48=new MsgListener();_0x3bdc48['onLineDev']=_0x51c700=>{const _0x3778c6=_0x2f472f;_0x51c700[_0x3778c6(0x1f1)](_0x5515d8=>{const _0x2ff96a=_0x3778c6;_0x18de7b['TORpS'](_0x5515d8[_0x2ff96a(0x17d)],0x2)&&_0x18de7b[_0x2ff96a(0x186)](log,_0x18de7b[_0x2ff96a(0x192)](_0x18de7b[_0x2ff96a(0x192)](_0x18de7b['gScZX'],_0x5515d8[_0x2ff96a(0x1d4)]),_0x2ff96a(0x1d8)));});},_0x3bdc48[_0x2f472f(0x1a9)]=_0x24c342=>{const _0x3c6861=_0x2f472f;log(_0x18de7b[_0x3c6861(0x21b)](_0x18de7b[_0x3c6861(0x233)](_0x18de7b[_0x3c6861(0x1b8)],_0x24c342[_0x3c6861(0x185)]),']\x20')+_0x24c342[_0x3c6861(0x1ac)]);},_0x3bdc48[_0x2f472f(0x214)]=_0x8024b7=>{const _0x4533c1=_0x2f472f,_0x5ba42f={'LBXHI':function(_0x111f9a,_0xcd4119){const _0x5a9975=_0x136f;return _0x18de7b[_0x5a9975(0x1ae)](_0x111f9a,_0xcd4119);}};stat[_0x4533c1(0x1dc)]+=0x1,_0x8024b7['map'](_0x5b8f96=>{const _0x4afa67=_0x4533c1;_0x5ba42f[_0x4afa67(0x1ca)](_0x5b8f96[_0x4afa67(0x1d5)],'0')?dbUtil[_0x4afa67(0x199)](_0x5b8f96)['then']()[_0x4afa67(0x189)]():dbUtil[_0x4afa67(0x216)](_0x5b8f96[_0x4afa67(0x224)])[_0x4afa67(0x215)](_0x802205=>{const _0x1aa42f=_0x4afa67;_0x802205&&(_0x802205[_0x1aa42f(0x1d5)]=_0x5b8f96[_0x1aa42f(0x1d5)],dbUtil[_0x1aa42f(0x1f6)](_0x802205)[_0x1aa42f(0x215)]());});});},_0x3bdc48[_0x2f472f(0x178)]=_0x3b6fb6=>{const _0xd25b04=_0x2f472f;stat[_0xd25b04(0x1a0)]+=0x1,stat['message_sent']+=0x1,stat[_0xd25b04(0x1f9)]=Math['floor'](_0x18de7b[_0xd25b04(0x207)](Date[_0xd25b04(0x235)](),0x3e8));},_0x3bdc48[_0x2f472f(0x1b2)]=_0x437682=>{const _0x522b96=_0x2f472f;stat[_0x522b96(0x1dc)]+=0x1,stat['message_received']+=_0x437682[_0x522b96(0x203)],stat[_0x522b96(0x1f9)]=Math[_0x522b96(0x1e0)](Date[_0x522b96(0x235)]()/0x3e8);},_0x3bdc48['onRecvSysMsg']=(..._0xb6064c)=>{const _0x5719c2=_0x2f472f;stat[_0x5719c2(0x1dc)]+=0x1;},this[_0x2f472f(0x1a2)](_0x3bdc48);const _0x2b9e33=new BuddyListener();_0x2b9e33[_0x2f472f(0x188)]=_0x58e5a0=>{const _0x603c6c=_0x2f472f;rawFriends[_0x603c6c(0x203)]=0x0,rawFriends['push'](..._0x58e5a0);for(const _0x49bf9c of _0x58e5a0){for(const _0x2b1852 of _0x49bf9c['buddyList']){const _0x2dea64=friends[_0x603c6c(0x1e4)](_0x2b1852['uid']);uid2UinMap[_0x2b1852['uid']]=_0x2b1852[_0x603c6c(0x1ed)],_0x2dea64?Object[_0x603c6c(0x194)](_0x2dea64,_0x2b1852):friends[_0x603c6c(0x1c2)](_0x2b1852['uid'],_0x2b1852);}}},this[_0x2f472f(0x1a2)](_0x2b9e33),this[_0x2f472f(0x191)][_0x2f472f(0x1df)]()[_0x2f472f(0x22e)](!![])[_0x2f472f(0x215)](_0x146ea0=>{});const _0x28c90b=new ProfileListener();_0x28c90b[_0x2f472f(0x18e)]=_0x44f01d=>{const _0x5de4f8=_0x2f472f;_0x18de7b['ERbSo'](_0x44f01d[_0x5de4f8(0x226)],selfInfo[_0x5de4f8(0x226)])&&Object['assign'](selfInfo,_0x44f01d);},_0x28c90b['onSelfStatusChanged']=_0x3b9fba=>{},this['addListener'](_0x28c90b);const _0x5adb45=new GroupListener();_0x5adb45[_0x2f472f(0x1cd)]=(_0x3b77c4,_0x5edcce)=>{const _0xe167e6=_0x2f472f,_0x491a34={'rZkpz':function(_0x2907f4,_0x20f095){const _0x26f3f9=_0x136f;return _0x18de7b[_0x26f3f9(0x1f2)](_0x2907f4,_0x20f095);}};_0x5edcce[_0xe167e6(0x1f1)](_0xe7fe6a=>{const _0x463e1d=_0xe167e6,_0x559d8f=groups[_0x463e1d(0x1e4)](_0xe7fe6a['groupCode']);_0x559d8f&&_0x491a34[_0x463e1d(0x1b5)](_0xe7fe6a[_0x463e1d(0x193)],_0x559d8f['memberCount'])?Object[_0x463e1d(0x194)](_0x559d8f,_0xe7fe6a):groups[_0x463e1d(0x1c2)](_0xe7fe6a['groupCode'],_0xe7fe6a);const _0x2a1647=this[_0x463e1d(0x191)][_0x463e1d(0x236)]()[_0x463e1d(0x18c)](_0xe7fe6a[_0x463e1d(0x17b)],_0x463e1d(0x1aa));this['session'][_0x463e1d(0x236)]()[_0x463e1d(0x217)](_0x2a1647,undefined,0xbb8)[_0x463e1d(0x215)](_0x3c3f0c=>{});});},_0x5adb45[_0x2f472f(0x205)]=_0x516857=>{const _0x4d1262=_0x2f472f,_0x388e76=_0x516857[_0x4d1262(0x1dd)]['split']('_')[0x0];if(groupMembers[_0x4d1262(0x209)](_0x388e76)){const _0x20e9da=groupMembers[_0x4d1262(0x1e4)](_0x388e76);_0x516857[_0x4d1262(0x1da)][_0x4d1262(0x1ff)]((_0x59c041,_0x5e3b75)=>{const _0x17707e=_0x4d1262,_0x42fa69=_0x20e9da[_0x17707e(0x1e4)](_0x5e3b75);_0x42fa69?Object['assign'](_0x42fa69,_0x59c041):_0x20e9da['set'](_0x5e3b75,_0x59c041);});}else groupMembers[_0x4d1262(0x1c2)](_0x388e76,_0x516857[_0x4d1262(0x1da)]);},_0x5adb45[_0x2f472f(0x1e7)]=(_0x228937,_0x401d33,_0x268d3b)=>{const _0x424d9f=_0x2f472f;_0x18de7b[_0x424d9f(0x211)](_0x401d33,0x0)&&_0x268d3b[_0x424d9f(0x1e4)](selfInfo[_0x424d9f(0x226)])&&_0x268d3b[_0x424d9f(0x1e4)](selfInfo[_0x424d9f(0x226)])?.[_0x424d9f(0x1b4)]&&_0x18de7b['nTorV'](setTimeout,()=>{const _0x53caf=_0x424d9f;groups[_0x53caf(0x1b3)](_0x228937);},0x1388);_0x268d3b['forEach']((_0x4e5c29,_0x1cf43d)=>{const _0x220a0c=_0x424d9f;uid2UinMap[_0x1cf43d]=_0x4e5c29[_0x220a0c(0x1ed)];});const _0x4dbfd1=groupMembers['get'](_0x228937);_0x4dbfd1?_0x268d3b['forEach']((_0x172ecf,_0x238bf5)=>{const _0x3e2ad2=_0x424d9f,_0xb12adc=_0x4dbfd1[_0x3e2ad2(0x1e4)](_0x238bf5);_0xb12adc?Object['assign'](_0xb12adc,_0x172ecf):_0x4dbfd1[_0x3e2ad2(0x1c2)](_0x238bf5,_0x172ecf);}):groupMembers[_0x424d9f(0x1c2)](_0x228937,_0x268d3b);},this[_0x2f472f(0x1a2)](_0x5adb45);}[_0x4bfa7e(0x1a2)](_0x1684e6){const _0x27aa03=_0x4bfa7e,_0x356bcf={'nbPRu':_0x27aa03(0x187),'BNfOL':'GroupListener','Staqf':_0x27aa03(0x1e2),'qbZze':_0x27aa03(0x1f8)};_0x1684e6=new Proxy(_0x1684e6,this[_0x27aa03(0x20c)]);switch(_0x1684e6[_0x27aa03(0x195)]['name']){case _0x356bcf[_0x27aa03(0x1bb)]:{return this[_0x27aa03(0x191)]['getBuddyService']()['addKernelBuddyListener'](new _0x4f1f4d[(_0x27aa03(0x219))](_0x1684e6));}case _0x356bcf[_0x27aa03(0x1b1)]:{return this[_0x27aa03(0x191)][_0x27aa03(0x236)]()['addKernelGroupListener'](new _0x4f1f4d['NodeIKernelGroupListener'](_0x1684e6));}case _0x356bcf[_0x27aa03(0x1d6)]:{return this['session'][_0x27aa03(0x1af)]()['addKernelMsgListener'](new _0x4f1f4d[(_0x27aa03(0x1ad))](_0x1684e6));}case _0x356bcf[_0x27aa03(0x19b)]:{return this[_0x27aa03(0x191)][_0x27aa03(0x1a6)]()[_0x27aa03(0x1c9)](new _0x4f1f4d['NodeIKernelProfileListener'](_0x1684e6));}default:return-0x1;}}[_0x4bfa7e(0x197)](_0x20b255){const _0x537f2e=_0x4bfa7e;NTEventDispatch[_0x537f2e(0x17a)]({'ListenerMap':_0x4f1f4d,'WrapperSession':this[_0x537f2e(0x191)]}),this[_0x537f2e(0x20b)][_0x537f2e(0x1fd)](_0x20b255);}async[_0x4bfa7e(0x222)](_0x43adef){const _0x58736a=_0x4bfa7e,_0x31f335={'KcWhF':function(_0x31ef4a,_0xf524fd){return _0x31ef4a!==_0xf524fd;},'PxKhb':_0x58736a(0x218),'pQqJa':function(_0x5fc85f,_0x585db2){return _0x5fc85f(_0x585db2);},'ELyaV':function(_0x57a316,_0x4b1b9b){return _0x57a316+_0x4b1b9b;},'nYwUd':_0x58736a(0x227)},_0x33bba4=await this[_0x58736a(0x1e9)]['getLoginList']();if(_0x31f335['KcWhF'](_0x33bba4['result'],0x0))throw new Error(_0x31f335[_0x58736a(0x1fb)]);const _0x5370ca=_0x33bba4['LocalLoginInfoList'][_0x58736a(0x18f)](_0xd75bfc=>_0xd75bfc['uin']===_0x43adef);if(!_0x5370ca||!_0x5370ca?.[_0x58736a(0x1bd)])throw new Error(_0x43adef+_0x58736a(0x17e));await _0x31f335[_0x58736a(0x1c0)](sleep,0x3e8);const _0x3d57c0=await this[_0x58736a(0x1e9)][_0x58736a(0x230)](_0x43adef);if(!_0x3d57c0[_0x58736a(0x181)])throw new Error(_0x31f335[_0x58736a(0x1c4)](_0x31f335[_0x58736a(0x22a)],_0x3d57c0[_0x58736a(0x1a7)][_0x58736a(0x1d1)]));return _0x3d57c0;}async[_0x4bfa7e(0x22d)](_0x7afbbc){const _0x219282=_0x4bfa7e,_0x30358e={'DWIjw':_0x219282(0x1ee),'HyMRF':function(_0x1eb19a,_0x49ce17,_0x11ebb9,_0x5cea53){return _0x1eb19a(_0x49ce17,_0x11ebb9,_0x5cea53);}};return new Promise((_0xd90170,_0x362ce9)=>{const _0x17159c=_0x219282;this[_0x17159c(0x1ab)][_0x17159c(0x237)]=_0x2525a7=>{const _0x21eba8=_0x17159c,_0x2941f2=_0x2525a7[_0x21eba8(0x1c8)][_0x21eba8(0x234)]('data:image/png;base64,')[0x1],_0x140d4f=Buffer[_0x21eba8(0x1d9)](_0x2941f2,_0x30358e[_0x21eba8(0x19f)]);_0x30358e[_0x21eba8(0x208)](_0x7afbbc,_0x2525a7[_0x21eba8(0x20d)],_0x2525a7[_0x21eba8(0x1c8)],_0x140d4f);},this['loginService'][_0x17159c(0x19e)]();});}async['passwordLogin'](_0x4512e0,_0x6bfa7d,_0x782fe2,_0x53a545,_0x459d74){const _0x167cad=_0x4bfa7e,_0x30ec5e={'gocqS':_0x167cad(0x232),'MqznA':function(_0x1d21d0,_0x4508b3){return _0x1d21d0&&_0x4508b3;},'VjCVz':function(_0x584541,_0xe352b8){return _0x584541||_0xe352b8;},'tNrZy':function(_0xd8a794,_0x4a04a2){return _0xd8a794||_0x4a04a2;},'ifZzk':function(_0x5e633b,_0x4915da){return _0x5e633b(_0x4915da);},'oCYuZ':_0x167cad(0x17c),'qOanl':_0x167cad(0x179)},_0x28744e=_0x2b526e[_0x167cad(0x1a8)](_0x30ec5e[_0x167cad(0x1e3)])[_0x167cad(0x18a)](_0x6bfa7d)[_0x167cad(0x182)](_0x167cad(0x1a4)),_0x21366d={'uin':_0x4512e0,'passwordMd5':_0x28744e,'step':_0x30ec5e[_0x167cad(0x1e1)](_0x782fe2,_0x53a545)&&_0x459d74?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x782fe2||'','proofWaterRand':_0x30ec5e['VjCVz'](_0x53a545,''),'proofWaterSid':_0x30ec5e[_0x167cad(0x1be)](_0x459d74,'')};await this['loginService'][_0x167cad(0x22f)](),await _0x30ec5e[_0x167cad(0x196)](sleep,0x3e8);const _0x1671f4=await this['loginService']['passwordLogin'](_0x21366d);switch(_0x1671f4[_0x167cad(0x181)]){case'0':{break;}case _0x30ec5e[_0x167cad(0x1b6)]:{break;}case'4':case _0x30ec5e['qOanl']:default:}}async[_0x4bfa7e(0x20f)](){const _0x11e8d9=await this['loginService']['getLoginList']();return _0x11e8d9;}}function _0x18ad(){const _0x276e48=['HyMRF','has','gANlG','onLoginSuccessFuncList','proxyHandler','qrcodeUrl','qiQSd','getQuickLoginList','startNT','TORpS','onQRCodeSessionFailed','util','onMsgInfoListUpdate','then','getMsgByLongId','getNextMemberList','没有可快速登录的QQ号','NodeIKernelBuddyListener','登录失败','xpmKy','NodeIDependsAdapter','NodeIKernelLoginListener','1120626vMHDyc','35510PhmVxw','./.config/QQ','getNTUserDataInfoConfig','quickLogin','initConfig','msgId','qxAZE','uid','快速登录失败\x20','当前账号(','70bYiYrG','nYwUd','本账号数据/缓存目录:','523073uOBxJR','qrLogin','getBuddyList','getLoginList','quickLoginWithUin','数据库初始化失败','md5','FYUDA','split','now','getGroupService','onQRCodeGetPicture','onAddSendMsg','140022013','init','groupCode','140022008','clientType','快速登录不可用','NodeIDispatcherAdapter','6655IwHzkp','result','digest','[KickedOffLine]\x20[','fileLog','tipsTitle','mArtC','BuddyListener','onBuddyListChange','catch','update','nqIIc','createMemberListScene','ouaPB','onProfileDetailInfoChanged','find','engine','session','eZSjC','memberCount','assign','constructor','ifZzk','onLoginSuccess','./nt_qq/global','addMsg','129724APBety','qbZze','onSessionInitComplete','SUqoX','getQRCodePicture','DWIjw','packet_sent','dataPathGlobal','addListener','curVersion','hex','NodeQQNTWrapperUtil','getProfileService','loginErrorInfo','createHash','onKickedOffLine','groupMemberList_MainWindow','loginListener','tipsDesc','NodeIKernelMsgListener','LvmXk','getMsgService','initDataListener','BNfOL','onRecvMsg','delete','isDelete','rZkpz','oCYuZ','initSession\x20failed','XZmbr','ZuNtd','HybrR','nbPRu','192YFTJBT','isQuickLogin','tNrZy','stringify','pQqJa','6109128QFGOku','set','resolve','ELyaV','NodeIGlobalAdapter','consoleLog','zXAkl','pngBase64QrcodeData','addKernelProfileListener','LBXHI',')已登录,无法重复登录','Windows\x2010\x20Pro','onGroupListUpdate','-v2.db','replace','addKernelLoginListener','errMsg','3qpGkpy','77749mjleEs','devUid','recallTime','Staqf','NodeIKernelLoginService',')\x20在线状态变更','from','infos','undefined','packet_received','sceneId','DHSMc','getBuddyService','floor','MqznA','MsgListener','gocqS','get','onUserLoggedIn','mCTHj','onMemberInfoChange','mkdirSync','loginService','dataPath','NodeIKernelSessionListener','hCzQb','uin','base64','cyfgq','NodeIQQNTWrapperEngine','map','ERbSo','THMGa','MrQTJ','342868eEudQF','updateMsg','V1_WIN_NQ_','ProfileListener','last_message_time','zsPjP','PxKhb','onLoginFailed','push','./NapCat/data','forEach','initWithDeskTopConfig','init\x20failed\x20','tHAwU','length','MMTGl','onMemberListChange','initSession','XOKVp'];_0x18ad=function(){return _0x276e48;};return _0x18ad();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x20a873=_0x14a0;(function(_0x1393ef,_0x904da6){const _0x5e1672=_0x14a0,_0x102445=_0x1393ef();while(!![]){try{const _0x313d17=parseInt(_0x5e1672(0xea))/0x1*(-parseInt(_0x5e1672(0x138))/0x2)+parseInt(_0x5e1672(0xf8))/0x3*(-parseInt(_0x5e1672(0x13f))/0x4)+parseInt(_0x5e1672(0x142))/0x5*(-parseInt(_0x5e1672(0x13b))/0x6)+parseInt(_0x5e1672(0x123))/0x7+parseInt(_0x5e1672(0xf7))/0x8+parseInt(_0x5e1672(0x96))/0x9*(parseInt(_0x5e1672(0x12b))/0xa)+parseInt(_0x5e1672(0x107))/0xb;if(_0x313d17===_0x904da6)break;else _0x102445['push'](_0x102445['shift']());}catch(_0x4d502b){_0x102445['push'](_0x102445['shift']());}}}(_0x39df,0x7cf37));import _0x42f59a from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x14a0(_0x3e8e19,_0x39b24a){const _0x39df1b=_0x39df();return _0x14a0=function(_0x14a068,_0x3ef5f8){_0x14a068=_0x14a068-0x93;let _0x3479e6=_0x39df1b[_0x14a068];return _0x3479e6;},_0x14a0(_0x3e8e19,_0x39b24a);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';function _0x39df(){const _0x33d288=['YUlAX','NodeIKernelMsgListener','GnXQd','onLoginSuccessFuncList','now','LocalLoginInfoList','onLoginSuccess','Rfopt','NodeIKernelLoginListener','lAVOk','yxMUQ','bMgrt','groupCode','NodeIQQNTWrapperEngine','isQuickLogin','onMemberInfoChange','ISrcv','init','cMgQD','WcScx','YXplT','update','onSessionInitComplete','get','getBuddyService','IBzTr','V1_WIN_NQ_','GroupListener','from','isDelete','MsgListener','qrcodeUrl','curVersion','ubOvV','tDzvQ','快速登录不可用','result','uin','HBODI','onQRCodeLoginSucceed','bmqno','initConfig','loginService','msgId','onRecvSysMsg','consoleLog','addKernelLoginListener','onGroupListUpdate','addKernelGroupListener','onMsgInfoListUpdate','_GW_B','NodeIDispatcherAdapter','find','passwordLogin','getProfileService','dataPathGlobal','undefined','GhQVp','pSmwy','infos','session','pngBase64QrcodeData','没有可快速登录的QQ号','XTbkP','uid','1yvKLIZ','buddyList','rldfy','has','proxyHandler','Aevna','tipsDesc','NodeIKernelLoginService','当前账号(','length','-v2.db','PnIjN','packet_received','2891224krRyuz','6717lCPAHt','onBuddyListChange','登录失败','AIGBF','JdTcv','quickLoginWithUin','账号设备(','constructor','dataPath','createMemberListScene','split','base64','consoleLogLevel','loginListener','NodeIKernelBuddyListener','6941143bPZgja','./NapCat/data','set','then','getMsgByLongId','xJgBt','onQRCodeGetPicture','util','groupMemberList_MainWindow','getBuddyList','本账号数据/缓存目录:','kcpEX','NPIEU','MEsYF','oogXD','floor','XOXVC','hex','fileLogLevel','onMemberListChange','OqXec','resolve','BjsDN','[KickedOffLine]\x20[','pXMQY','addKernelMsgListener','map','data:image/png;base64,','5105163XErMKZ','addListener','fXcAW','onUserLoggedIn','MtNmV','initSession','md5','packet_sent','820etQzom','forEach','getNextMemberList','loginErrorInfo','./nt_qq/global','ProfileListener','engine','JqtNd','WutXL','zyGUE','aUONM','errMsg','message_sent','74926BcWHLz','last_message_time','ovHmT','228kFPyqM','nenpy','recallTime','push','916CHZZxe','DBABT','getGroupService','93615LlFiiO','assign','devUid','qrLogin','fileLog','mgbDS','140022013','NodeIKernelGroupListener','getQRCodePicture','LLbuQ','ywNcU','sceneId','MyZsR','5679TogWav','YeHdS','startNT','\x20has\x20no\x20method\x20','启动失败:\x20','onProfileDetailInfoChanged','oKLNq','getMsgService','message_received','name','catch','fjDGu','addMsg','BuddyListener','delete','quickLogin','initDataListener','onRecvMsg','getLoginList'];_0x39df=function(){return _0x33d288;};return _0x39df();}import _0x3dcf9c from'node:path';import _0x18fe14 from'node:os';import _0x245f65 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 _0x15887e from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x20a873(0xe5)];['util'];[_0x20a873(0x131)];[_0x20a873(0x105)];['loginService'];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x58a2ae=_0x20a873,CcTngf={'ziScU':function(callee,param1){return callee(param1);},'cMgQD':function(x,y){return x===y;},'rTUjy':_0x58a2ae(0xe1)};if(CcTngf[_0x58a2ae(0xbb)](typeof target[prop],CcTngf['rTUjy']))return(...args)=>{const _0x179769=_0x58a2ae;CcTngf['ziScU'](logDebug,target['constructor'][_0x179769(0x9f)]+_0x179769(0x99)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x2b51e6=_0x20a873,_0x20c4d1={'XTbkP':function(_0x53af47,_0x5cd70a){return _0x53af47+_0x5cd70a;},'GhQVp':_0x2b51e6(0xf2),'kcpEX':function(_0x2e2b6a,_0xcf5715,_0x512598){return _0x2e2b6a(_0xcf5715,_0x512598);},'WkBHn':function(_0x358d1f,_0x35feae,_0x4198c5){return _0x358d1f(_0x35feae,_0x4198c5);},'bmqno':function(_0x35f326,_0x38872e){return _0x35f326(_0x38872e);},'yxMUQ':function(_0x142153,_0x3bf7bf,_0x5c837f){return _0x142153(_0x3bf7bf,_0x5c837f);},'jOFQP':_0x2b51e6(0xfa),'mgbDS':function(_0x24d221,_0x4ab729){return _0x24d221==_0x4ab729;},'lAVOk':function(_0x140a68,_0x4832c6,_0x3fd703){return _0x140a68(_0x4832c6,_0x3fd703);}};this[_0x2b51e6(0x131)]=new _0x42f59a[(_0x2b51e6(0xb6))](),this[_0x2b51e6(0x10e)]=new _0x42f59a['NodeQQNTWrapperUtil'](),this[_0x2b51e6(0xd3)]=new _0x42f59a[(_0x2b51e6(0xf1))](),this[_0x2b51e6(0xe5)]=new _0x42f59a['NodeIQQNTWrapperSession'](),this['loginListener']=new LoginListener(),this[_0x2b51e6(0x105)][_0x2b51e6(0x126)]=_0x23bcdd=>{const _0x2f9821=_0x2b51e6;logError(_0x20c4d1[_0x2f9821(0xe8)](_0x20c4d1[_0x2f9821(0xe2)]+_0x23bcdd,')已登录,无法重复登录'));},this[_0x2b51e6(0x105)][_0x2b51e6(0xd0)]=_0x46b5a9=>{const _0x155834=_0x2b51e6,_0x45e8b7={'pJlkr':function(_0x466136,_0x2f83b2,_0x48e8b4){return _0x20c4d1['WkBHn'](_0x466136,_0x2f83b2,_0x48e8b4);},'XOXVC':'数据库初始化失败','fXcAW':function(_0x10d893,_0x36eddd,_0x36aad5){const _0x1546e6=_0x14a0;return _0x20c4d1[_0x1546e6(0x112)](_0x10d893,_0x36eddd,_0x36aad5);},'DBABT':function(_0x2bc315,_0x4c5634){return _0x2bc315(_0x4c5634);},'aXXpq':function(_0x1c5072,_0x2bddc8){const _0x443439=_0x14a0;return _0x20c4d1[_0x443439(0xd1)](_0x1c5072,_0x2bddc8);},'JdTcv':function(_0x2209cc,_0x31ec2c,_0x4c2edd){const _0x51ee2c=_0x14a0;return _0x20c4d1[_0x51ee2c(0xb3)](_0x2209cc,_0x31ec2c,_0x4c2edd);},'Rfopt':_0x155834(0x111)};this[_0x155834(0x128)](_0x46b5a9[_0x155834(0xce)],_0x46b5a9[_0x155834(0xe9)])[_0x155834(0x10a)](_0x108086=>{const _0x17d4d4=_0x155834,_0x2e30a4={'PnIjN':function(_0x38cead,_0x3e1b14,_0x51b945){return _0x38cead(_0x3e1b14,_0x51b945);},'FAOaZ':_0x45e8b7[_0x17d4d4(0x117)]};selfInfo['uin']=_0x46b5a9[_0x17d4d4(0xce)],selfInfo[_0x17d4d4(0xe9)]=_0x46b5a9[_0x17d4d4(0xe9)],napCatConfig['read'](),_0x45e8b7[_0x17d4d4(0x125)](setLogLevel,napCatConfig[_0x17d4d4(0x119)],napCatConfig[_0x17d4d4(0x104)]),_0x45e8b7[_0x17d4d4(0x140)](enableFileLog,napCatConfig[_0x17d4d4(0x146)]),_0x45e8b7[_0x17d4d4(0x140)](enableConsoleLog,napCatConfig[_0x17d4d4(0xd6)]),_0x45e8b7['aXXpq'](setLogSelfInfo,selfInfo);const _0x53e12e=_0x3dcf9c[_0x17d4d4(0x11c)](this['dataPath'],_0x17d4d4(0x108));_0x245f65['mkdirSync'](_0x53e12e,{'recursive':!![]}),_0x45e8b7[_0x17d4d4(0xfc)](logDebug,_0x45e8b7[_0x17d4d4(0xb0)],_0x53e12e),dbUtil['init'](_0x3dcf9c[_0x17d4d4(0x11c)](_0x53e12e,'./'+_0x46b5a9[_0x17d4d4(0xce)]+_0x17d4d4(0xf4)))[_0x17d4d4(0x10a)](()=>{const _0x16c84c=_0x17d4d4,_0x148e67={'oogXD':function(_0x1e6b8f,_0x9ec8de,_0x228f6d){return _0x45e8b7['pJlkr'](_0x1e6b8f,_0x9ec8de,_0x228f6d);}};this[_0x16c84c(0xa6)](),this[_0x16c84c(0xac)][_0x16c84c(0x121)](_0x1c332e=>{const _0x46beee=_0x16c84c;new Promise((_0x5a0413,_0xf30d0c)=>{const _0x4c0ed2=_0x14a0,_0x25802f=_0x148e67[_0x4c0ed2(0x115)](_0x1c332e,_0x46b5a9['uin'],_0x46b5a9[_0x4c0ed2(0xe9)]);_0x25802f instanceof Promise&&_0x25802f['then'](_0x5a0413)[_0x4c0ed2(0xa0)](_0xf30d0c);})[_0x46beee(0x10a)]();});})[_0x17d4d4(0xa0)](_0x2a613c=>{const _0x161219=_0x17d4d4;_0x2e30a4[_0x161219(0xf5)](logError,_0x2e30a4['FAOaZ'],_0x2a613c);});})[_0x155834(0xa0)](_0x545376=>{const _0xddd9e8=_0x155834;_0x20c4d1[_0xddd9e8(0x112)](logError,'initSession\x20failed',_0x545376);throw new Error(_0xddd9e8(0x9a)+JSON['stringify'](_0x545376));});},this[_0x2b51e6(0x105)]['onQRCodeSessionFailed']=(_0x5ebbd6,_0x546db5,_0x1b33d9)=>{const _0x41f8b0=_0x2b51e6;_0x20c4d1[_0x41f8b0(0x112)](logError,_0x20c4d1['jOFQP'],_0x1b33d9),_0x20c4d1[_0x41f8b0(0x147)](_0x5ebbd6,0x1)&&_0x546db5==0x3&&this[_0x41f8b0(0xd3)][_0x41f8b0(0x14a)]();},this[_0x2b51e6(0x105)]['onLoginFailed']=_0x465c20=>{const _0x521bd8=_0x2b51e6;_0x20c4d1[_0x521bd8(0xb2)](logError,_0x20c4d1['jOFQP'],_0x465c20);},this[_0x2b51e6(0x105)]=new Proxy(this[_0x2b51e6(0x105)],this[_0x2b51e6(0xee)]),this[_0x2b51e6(0xd3)][_0x2b51e6(0xd7)](new _0x42f59a[(_0x2b51e6(0xb1))](this['loginListener'])),this[_0x2b51e6(0xd2)]();}get[_0x20a873(0x100)](){const _0x3aca29=_0x20a873;let _0x37c48f=this['util']['getNTUserDataInfoConfig']();return!_0x37c48f&&(_0x37c48f=_0x3dcf9c[_0x3aca29(0x11c)](_0x18fe14['homedir'](),'./.config/QQ'),_0x245f65['mkdirSync'](_0x37c48f,{'recursive':!![]})),_0x37c48f;}get[_0x20a873(0xe0)](){const _0x566e7a=_0x20a873;return _0x3dcf9c[_0x566e7a(0x11c)](this[_0x566e7a(0x100)],_0x566e7a(0x12f));}[_0x20a873(0xd2)](){const _0x43b9d5=_0x20a873,_0xaa7456={'pSmwy':'Windows\x2010\x20Pro'};this[_0x43b9d5(0x131)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0xaa7456[_0x43b9d5(0xe3)],'use_xlog':!![],'qua':_0x43b9d5(0xc3)+qqVersionConfigInfo[_0x43b9d5(0xc9)]['replace']('-','_')+_0x43b9d5(0xdb),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x42f59a['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x43b9d5(0xd3)][_0x43b9d5(0xd2)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x43b9d5(0xe0)],'clientVer':qqVersionConfigInfo[_0x43b9d5(0xc9)],'hostName':hostname});}[_0x20a873(0x128)](_0x478540,_0x40229d){const _0x26628f={'Ghbjf':function(_0x25bf86,_0x2fc5b8){return _0x25bf86===_0x2fc5b8;},'WutXL':function(_0x3079fb,_0x168755){return _0x3079fb(_0x168755);},'oKLNq':function(_0x37cc11,_0x9cdd3,_0x4ff166,_0x3123db){return _0x37cc11(_0x9cdd3,_0x4ff166,_0x3123db);},'ywNcU':function(_0x4019c3,_0x4a9132){return _0x4019c3+_0x4a9132;}};return new Promise((_0x179465,_0x5ce739)=>{const _0x421f80=_0x14a0,_0x3ba27a=_0x26628f[_0x421f80(0x9c)](genSessionConfig,_0x478540,_0x40229d,this['dataPath']),_0x4e6a51=new SessionListener();_0x4e6a51[_0x421f80(0xbf)]=_0x42c009=>{const _0x52039b=_0x421f80;if(_0x26628f['Ghbjf'](_0x42c009,0x0))return _0x26628f[_0x52039b(0x133)](_0x179465,0x0);_0x5ce739(_0x42c009);},this[_0x421f80(0xe5)][_0x421f80(0xba)](_0x3ba27a,new _0x42f59a['NodeIDependsAdapter'](new DependsAdapter()),new _0x42f59a[(_0x421f80(0xdc))](new DispatcherAdapter()),new _0x42f59a['NodeIKernelSessionListener'](_0x4e6a51));try{this[_0x421f80(0xe5)][_0x421f80(0x98)](0x0);}catch(_0x4bb30b){try{this[_0x421f80(0xe5)][_0x421f80(0x98)]();}catch(_0x39ec11){_0x5ce739(_0x26628f[_0x421f80(0x93)]('init\x20failed\x20',_0x39ec11));}}});}[_0x20a873(0xa6)](){const _0x560e2c=_0x20a873,_0x5a0c0e={'MEsYF':function(_0x239e87,_0xcb0e5b){return _0x239e87===_0xcb0e5b;},'WcScx':function(_0x623573,_0x2e64c0){return _0x623573+_0x2e64c0;},'BjsDN':_0x560e2c(0xfe),'HBODI':')\x20在线状态变更','ISrcv':function(_0x82088a,_0x119789){return _0x82088a(_0x119789);},'OqXec':function(_0x49b241,_0x284697){return _0x49b241+_0x284697;},'fjDGu':_0x560e2c(0x11e),'nenpy':function(_0x228185,_0x17daba){return _0x228185/_0x17daba;},'LLbuQ':_0x560e2c(0x10f),'aUONM':function(_0x1e3383,_0xd3497b){return _0x1e3383===_0xd3497b;},'YUlAX':function(_0x17163d,_0x4d0207,_0x25dd3c){return _0x17163d(_0x4d0207,_0x25dd3c);}},_0x114f2e=new MsgListener();_0x114f2e['onLineDev']=_0x55aa66=>{const _0x5adaaf=_0x560e2c,_0x25b9df={'ubOvV':function(_0x49b89d,_0x3dfa61){const _0x92a7e0=_0x14a0;return _0x5a0c0e[_0x92a7e0(0x114)](_0x49b89d,_0x3dfa61);},'JqtNd':function(_0x263f65,_0x47af6b){const _0x4a55ff=_0x14a0;return _0x5a0c0e[_0x4a55ff(0xbc)](_0x263f65,_0x47af6b);},'MyZsR':_0x5a0c0e[_0x5adaaf(0x11d)],'GnXQd':_0x5a0c0e[_0x5adaaf(0xcf)]};_0x55aa66[_0x5adaaf(0x121)](_0x224483=>{const _0x131211=_0x5adaaf;_0x25b9df[_0x131211(0xca)](_0x224483['clientType'],0x2)&&log(_0x25b9df[_0x131211(0x132)](_0x25b9df[_0x131211(0x132)](_0x25b9df[_0x131211(0x95)],_0x224483[_0x131211(0x144)]),_0x25b9df[_0x131211(0xab)]));});},_0x114f2e['onKickedOffLine']=_0x58deac=>{const _0x1d9779=_0x560e2c;_0x5a0c0e[_0x1d9779(0xb9)](log,_0x5a0c0e[_0x1d9779(0x11b)](_0x5a0c0e['OqXec'](_0x5a0c0e[_0x1d9779(0xbc)](_0x5a0c0e[_0x1d9779(0xa1)],_0x58deac['tipsTitle']),']\x20'),_0x58deac[_0x1d9779(0xf0)]));},_0x114f2e[_0x560e2c(0xda)]=_0x3f9d98=>{const _0x45ca3d=_0x560e2c,_0x3e4d98={'dpDDy':function(_0x3fe6c0,_0x16ca27){return _0x3fe6c0===_0x16ca27;}};stat['packet_received']+=0x1,_0x3f9d98[_0x45ca3d(0x121)](_0x389c89=>{const _0x51ca27=_0x45ca3d;_0x3e4d98['dpDDy'](_0x389c89[_0x51ca27(0x13d)],'0')?dbUtil[_0x51ca27(0xa2)](_0x389c89)[_0x51ca27(0x10a)]()['catch']():dbUtil[_0x51ca27(0x10b)](_0x389c89[_0x51ca27(0xd4)])[_0x51ca27(0x10a)](_0x55133f=>{const _0x499ce2=_0x51ca27;_0x55133f&&(_0x55133f[_0x499ce2(0x13d)]=_0x389c89[_0x499ce2(0x13d)],dbUtil['updateMsg'](_0x55133f)[_0x499ce2(0x10a)]());});});},_0x114f2e['onAddSendMsg']=_0x368241=>{const _0x4950bf=_0x560e2c;stat[_0x4950bf(0x12a)]+=0x1,stat[_0x4950bf(0x137)]+=0x1,stat[_0x4950bf(0x139)]=Math[_0x4950bf(0x116)](_0x5a0c0e[_0x4950bf(0x13c)](Date['now'](),0x3e8));},_0x114f2e[_0x560e2c(0xa7)]=_0x11da92=>{const _0x52e2ec=_0x560e2c;stat['packet_received']+=0x1,stat[_0x52e2ec(0x9e)]+=_0x11da92[_0x52e2ec(0xf3)],stat[_0x52e2ec(0x139)]=Math[_0x52e2ec(0x116)](_0x5a0c0e['nenpy'](Date[_0x52e2ec(0xad)](),0x3e8));},_0x114f2e[_0x560e2c(0xd5)]=(..._0x345b6d)=>{const _0x39d5b6=_0x560e2c;stat[_0x39d5b6(0xf6)]+=0x1;},this[_0x560e2c(0x124)](_0x114f2e);const _0x2a6127=new BuddyListener();_0x2a6127[_0x560e2c(0xf9)]=_0x21b4de=>{const _0x61df3=_0x560e2c;rawFriends['length']=0x0,rawFriends[_0x61df3(0x13e)](..._0x21b4de);for(const _0x2c312c of _0x21b4de){for(const _0x149b1b of _0x2c312c[_0x61df3(0xeb)]){const _0x41d0d6=friends[_0x61df3(0xc0)](_0x149b1b[_0x61df3(0xe9)]);uid2UinMap[_0x149b1b['uid']]=_0x149b1b[_0x61df3(0xce)],_0x41d0d6?Object[_0x61df3(0x143)](_0x41d0d6,_0x149b1b):friends[_0x61df3(0x109)](_0x149b1b[_0x61df3(0xe9)],_0x149b1b);}}},this[_0x560e2c(0x124)](_0x2a6127),this[_0x560e2c(0xe5)][_0x560e2c(0xc1)]()[_0x560e2c(0x110)](!![])[_0x560e2c(0x10a)](_0x3a6dcd=>{});const _0xfc7390=new ProfileListener();_0xfc7390[_0x560e2c(0x9b)]=_0x3b6543=>{const _0x396785=_0x560e2c;_0x5a0c0e[_0x396785(0x114)](_0x3b6543[_0x396785(0xe9)],selfInfo[_0x396785(0xe9)])&&Object['assign'](selfInfo,_0x3b6543);},_0xfc7390['onSelfStatusChanged']=_0xc39c71=>{},this[_0x560e2c(0x124)](_0xfc7390);const _0x50752b=new GroupListener();_0x50752b[_0x560e2c(0xd8)]=(_0x5c5c15,_0x5a3d62)=>{const _0x2c2ee8=_0x560e2c,_0x5c844b={'ovHmT':function(_0x7a0b70,_0x27dbb2){const _0x2b93a8=_0x14a0;return _0x5a0c0e[_0x2b93a8(0x114)](_0x7a0b70,_0x27dbb2);},'bMgrt':_0x5a0c0e[_0x2c2ee8(0x14b)]};_0x5a3d62['map'](_0x33d124=>{const _0x4c2d4=_0x2c2ee8,_0x5d7f3f=groups[_0x4c2d4(0xc0)](_0x33d124[_0x4c2d4(0xb5)]);_0x5d7f3f&&_0x5c844b[_0x4c2d4(0x13a)](_0x33d124['memberCount'],_0x5d7f3f['memberCount'])?Object[_0x4c2d4(0x143)](_0x5d7f3f,_0x33d124):groups['set'](_0x33d124['groupCode'],_0x33d124);const _0x1c84ad=this[_0x4c2d4(0xe5)][_0x4c2d4(0x141)]()[_0x4c2d4(0x101)](_0x33d124[_0x4c2d4(0xb5)],_0x5c844b[_0x4c2d4(0xb4)]);this['session'][_0x4c2d4(0x141)]()[_0x4c2d4(0x12d)](_0x1c84ad,undefined,0xbb8)[_0x4c2d4(0x10a)](_0x576980=>{});});},_0x50752b[_0x560e2c(0x11a)]=_0x46341c=>{const _0x1e5e22=_0x560e2c,_0x4b1cfc=_0x46341c[_0x1e5e22(0x94)][_0x1e5e22(0x102)]('_')[0x0];if(groupMembers[_0x1e5e22(0xed)](_0x4b1cfc)){const _0x208123=groupMembers[_0x1e5e22(0xc0)](_0x4b1cfc);_0x46341c['infos'][_0x1e5e22(0x12c)]((_0xa3645f,_0x28d0ad)=>{const _0x5512fd=_0x1e5e22,_0x1e2d5f=_0x208123[_0x5512fd(0xc0)](_0x28d0ad);_0x1e2d5f?Object['assign'](_0x1e2d5f,_0xa3645f):_0x208123[_0x5512fd(0x109)](_0x28d0ad,_0xa3645f);});}else groupMembers[_0x1e5e22(0x109)](_0x4b1cfc,_0x46341c[_0x1e5e22(0xe4)]);},_0x50752b[_0x560e2c(0xb8)]=(_0x417bb0,_0x11b3ec,_0x2cfb5b)=>{const _0x33bdf6=_0x560e2c;_0x5a0c0e[_0x33bdf6(0x135)](_0x11b3ec,0x0)&&_0x2cfb5b[_0x33bdf6(0xc0)](selfInfo['uid'])&&_0x2cfb5b[_0x33bdf6(0xc0)](selfInfo[_0x33bdf6(0xe9)])?.[_0x33bdf6(0xc6)]&&_0x5a0c0e[_0x33bdf6(0xa9)](setTimeout,()=>{const _0x169382=_0x33bdf6;groups[_0x169382(0xa4)](_0x417bb0);},0x1388);_0x2cfb5b[_0x33bdf6(0x12c)]((_0x3b62b5,_0x45a653)=>{const _0x16cdcb=_0x33bdf6;uid2UinMap[_0x45a653]=_0x3b62b5[_0x16cdcb(0xce)];});const _0x219845=groupMembers[_0x33bdf6(0xc0)](_0x417bb0);_0x219845?_0x2cfb5b[_0x33bdf6(0x12c)]((_0x7e2530,_0x6dc97b)=>{const _0x31d651=_0x33bdf6,_0x40772d=_0x219845['get'](_0x6dc97b);_0x40772d?Object['assign'](_0x40772d,_0x7e2530):_0x219845[_0x31d651(0x109)](_0x6dc97b,_0x7e2530);}):groupMembers['set'](_0x417bb0,_0x2cfb5b);},this['addListener'](_0x50752b);}[_0x20a873(0x124)](_0x5e923f){const _0x46221e=_0x20a873,_0x3f155c={'YXplT':_0x46221e(0xa3),'MtNmV':_0x46221e(0xc4)};_0x5e923f=new Proxy(_0x5e923f,this[_0x46221e(0xee)]);switch(_0x5e923f[_0x46221e(0xff)][_0x46221e(0x9f)]){case _0x3f155c[_0x46221e(0xbd)]:{return this[_0x46221e(0xe5)][_0x46221e(0xc1)]()['addKernelBuddyListener'](new _0x42f59a[(_0x46221e(0x106))](_0x5e923f));}case _0x3f155c[_0x46221e(0x127)]:{return this['session'][_0x46221e(0x141)]()[_0x46221e(0xd9)](new _0x42f59a[(_0x46221e(0x149))](_0x5e923f));}case _0x46221e(0xc7):{return this[_0x46221e(0xe5)][_0x46221e(0x9d)]()[_0x46221e(0x120)](new _0x42f59a[(_0x46221e(0xaa))](_0x5e923f));}case _0x46221e(0x130):{return this[_0x46221e(0xe5)][_0x46221e(0xdf)]()['addKernelProfileListener'](new _0x42f59a['NodeIKernelProfileListener'](_0x5e923f));}default:return-0x1;}}[_0x20a873(0xaf)](_0x3ec1d9){const _0x5eba0e=_0x20a873;NTEventDispatch[_0x5eba0e(0xba)]({'ListenerMap':_0x42f59a,'WrapperSession':this[_0x5eba0e(0xe5)]}),this['onLoginSuccessFuncList'][_0x5eba0e(0x13e)](_0x3ec1d9);}async[_0x20a873(0xa5)](_0x59cee3){const _0xe4f0a=_0x20a873,_0x73cffd={'Qgywd':function(_0x11c63b,_0x1a610b){return _0x11c63b!==_0x1a610b;},'rldfy':_0xe4f0a(0xe7),'FvfEp':function(_0x401d2e,_0x212b25){return _0x401d2e(_0x212b25);},'tZFtY':'快速登录失败\x20'},_0x32c212=await this[_0xe4f0a(0xd3)][_0xe4f0a(0xa8)]();if(_0x73cffd['Qgywd'](_0x32c212[_0xe4f0a(0xcd)],0x0))throw new Error(_0x73cffd[_0xe4f0a(0xec)]);const _0x5a8226=_0x32c212[_0xe4f0a(0xae)][_0xe4f0a(0xdd)](_0x42a11b=>_0x42a11b[_0xe4f0a(0xce)]===_0x59cee3);if(!_0x5a8226||!_0x5a8226?.[_0xe4f0a(0xb7)])throw new Error(_0x59cee3+_0xe4f0a(0xcc));await _0x73cffd['FvfEp'](sleep,0x3e8);const _0x38f284=await this['loginService'][_0xe4f0a(0xfd)](_0x59cee3);if(!_0x38f284[_0xe4f0a(0xcd)])throw new Error(_0x73cffd['tZFtY']+_0x38f284[_0xe4f0a(0x12e)][_0xe4f0a(0x136)]);return _0x38f284;}async[_0x20a873(0x145)](_0x236b95){const _0x486bd0=_0x20a873,_0x27814d={'pXMQY':_0x486bd0(0x122),'zyGUE':_0x486bd0(0x103),'IBzTr':function(_0x3bfd37,_0x358192,_0x357494,_0x5159b5){return _0x3bfd37(_0x358192,_0x357494,_0x5159b5);}};return new Promise((_0x134bcd,_0x1ab998)=>{const _0x4f6044=_0x486bd0;this['loginListener'][_0x4f6044(0x10d)]=_0xb06d5b=>{const _0x3dcdb6=_0x4f6044,_0x469cbd=_0xb06d5b[_0x3dcdb6(0xe6)][_0x3dcdb6(0x102)](_0x27814d[_0x3dcdb6(0x11f)])[0x1],_0x12689c=Buffer[_0x3dcdb6(0xc5)](_0x469cbd,_0x27814d[_0x3dcdb6(0x134)]);_0x27814d[_0x3dcdb6(0xc2)](_0x236b95,_0xb06d5b[_0x3dcdb6(0xc8)],_0xb06d5b['pngBase64QrcodeData'],_0x12689c);},this[_0x4f6044(0xd3)][_0x4f6044(0x14a)]();});}async[_0x20a873(0xde)](_0x363e53,_0x3169da,_0x370652,_0x91a3bb,_0x3434af){const _0x3aa0b6=_0x20a873,_0x18f847={'AIGBF':_0x3aa0b6(0x129),'NPIEU':function(_0xc04f65,_0x427c40){return _0xc04f65&&_0x427c40;},'Aevna':function(_0x16630d,_0x590f97){return _0x16630d||_0x590f97;},'YeHdS':function(_0x4bbf56,_0x42a788){return _0x4bbf56(_0x42a788);},'xJgBt':'140022008','tDzvQ':_0x3aa0b6(0x148)},_0x808f00=_0x15887e['createHash'](_0x18f847[_0x3aa0b6(0xfb)])[_0x3aa0b6(0xbe)](_0x3169da)['digest'](_0x3aa0b6(0x118)),_0x3bf8c7={'uin':_0x363e53,'passwordMd5':_0x808f00,'step':_0x18f847[_0x3aa0b6(0x113)](_0x370652,_0x91a3bb)&&_0x3434af?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x370652||'','proofWaterRand':_0x91a3bb||'','proofWaterSid':_0x18f847[_0x3aa0b6(0xef)](_0x3434af,'')};await this[_0x3aa0b6(0xd3)][_0x3aa0b6(0xa8)](),await _0x18f847[_0x3aa0b6(0x97)](sleep,0x3e8);const _0x23e862=await this[_0x3aa0b6(0xd3)][_0x3aa0b6(0xde)](_0x3bf8c7);switch(_0x23e862['result']){case'0':{break;}case _0x18f847[_0x3aa0b6(0x10c)]:{break;}case'4':case _0x18f847[_0x3aa0b6(0xcb)]:default:}}async['getQuickLoginList'](){const _0xc46e56=_0x20a873,_0x5844ba=await this[_0xc46e56(0xd3)][_0xc46e56(0xa8)]();return _0x5844ba;}}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 f80d8c4d..6abb2a72 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0xf372a0=_0xbd24;(function(_0x3e7981,_0x228726){const _0x1a5d46=_0xbd24,_0x1c2d45=_0x3e7981();while(!![]){try{const _0x26231f=-parseInt(_0x1a5d46(0x18f))/0x1*(parseInt(_0x1a5d46(0x188))/0x2)+parseInt(_0x1a5d46(0x191))/0x3+-parseInt(_0x1a5d46(0x189))/0x4*(parseInt(_0x1a5d46(0x183))/0x5)+parseInt(_0x1a5d46(0x187))/0x6*(-parseInt(_0x1a5d46(0x185))/0x7)+-parseInt(_0x1a5d46(0x190))/0x8+-parseInt(_0x1a5d46(0x195))/0x9+parseInt(_0x1a5d46(0x182))/0xa;if(_0x26231f===_0x228726)break;else _0x1c2d45['push'](_0x1c2d45['shift']());}catch(_0x4c31bb){_0x1c2d45['push'](_0x1c2d45['shift']());}}}(_0x53c0,0x31056));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();function _0xbd24(_0x386d08,_0x3a5679){const _0x53c0b9=_0x53c0();return _0xbd24=function(_0xbd2468,_0x30994c){_0xbd2468=_0xbd2468-0x180;let _0x5309a2=_0x53c0b9[_0xbd2468];return _0x5309a2;},_0xbd24(_0x386d08,_0x3a5679);}function _0x53c0(){const _0x4d7054=['30QOAcfs','2Fjxgjr','1520812BRiGik','bUUgz','bXFGX','from','find','groupCode','15607cNybRu','21984BYlzgr','532536VNnsba','getGroups','delete','set','1476495EtOflf','values','NapCat未能正常启动,请检查日志查看错误','get','jVafp','toString','8484360XCdQxu','5geFPmQ','getGroupMembers','367563TfUgrq','forEach'];_0x53c0=function(){return _0x4d7054;};return _0x53c0();}export function deleteGroup(_0x333bf8){const _0x1e6460=_0xbd24;groups[_0x1e6460(0x193)](_0x333bf8),groupMembers['delete'](_0x333bf8);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0xf372a0(0x197)};export async function getFriend(_0x12e8fc){const _0x5a0140=_0xf372a0;_0x12e8fc=_0x12e8fc[_0x5a0140(0x181)]();if(isNumeric(_0x12e8fc)){const _0x1e7c70=Array[_0x5a0140(0x18c)](friends[_0x5a0140(0x196)]());return _0x1e7c70[_0x5a0140(0x18d)](_0x12c5d9=>_0x12c5d9['uin']===_0x12e8fc);}else return friends['get'](_0x12e8fc);}export async function getGroup(_0x5f1736){const _0x559836=_0xf372a0;let _0x4421ac=groups[_0x559836(0x198)](_0x5f1736[_0x559836(0x181)]());if(!_0x4421ac)try{const _0x3268ea=await NTQQGroupApi[_0x559836(0x192)]();_0x3268ea['length']&&_0x3268ea[_0x559836(0x186)](_0x36820a=>{const _0x255e64=_0x559836;groups[_0x255e64(0x194)](_0x36820a[_0x255e64(0x18e)],_0x36820a);});}catch(_0x4a9f99){return undefined;}return _0x4421ac=groups[_0x559836(0x198)](_0x5f1736[_0x559836(0x181)]()),_0x4421ac;}export async function getGroupMember(_0x35af6d,_0x265e58){const _0x1ec259=_0xf372a0,_0x5b18a9={'bXFGX':function(_0x407b83,_0x4a3f90){return _0x407b83(_0x4a3f90);},'jVafp':function(_0x402926){return _0x402926();},'bUUgz':function(_0x4ef7ea){return _0x4ef7ea();}};_0x35af6d=_0x35af6d['toString'](),_0x265e58=_0x265e58[_0x1ec259(0x181)]();let _0x27e98f=groupMembers[_0x1ec259(0x198)](_0x35af6d);if(!_0x27e98f)try{_0x27e98f=await NTQQGroupApi['getGroupMembers'](_0x35af6d),groupMembers[_0x1ec259(0x194)](_0x35af6d,_0x27e98f);}catch(_0x49ba5f){return null;}const _0x2e7c74=()=>{const _0x3e98f2=_0x1ec259;let _0x39969a=undefined;return _0x5b18a9[_0x3e98f2(0x18b)](isNumeric,_0x265e58)?_0x39969a=Array[_0x3e98f2(0x18c)](_0x27e98f[_0x3e98f2(0x196)]())[_0x3e98f2(0x18d)](_0x12ef65=>_0x12ef65['uin']===_0x265e58):_0x39969a=_0x27e98f[_0x3e98f2(0x198)](_0x265e58),_0x39969a;};let _0x3521a5=_0x5b18a9[_0x1ec259(0x180)](_0x2e7c74);return!_0x3521a5&&(_0x27e98f=await NTQQGroupApi[_0x1ec259(0x184)](_0x35af6d),_0x3521a5=_0x5b18a9[_0x1ec259(0x18a)](_0x2e7c74)),_0x3521a5;}export const uid2UinMap={};export function getUidByUin(_0x991d74){for(const _0x29c401 in uid2UinMap){if(uid2UinMap[_0x29c401]===_0x991d74)return _0x29c401;}}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 +const _0x5a7240=_0x51b3;(function(_0x4647bd,_0x4c01bf){const _0x2fbd66=_0x51b3,_0x16c38d=_0x4647bd();while(!![]){try{const _0x5c531f=parseInt(_0x2fbd66(0x1a6))/0x1+parseInt(_0x2fbd66(0x1ab))/0x2+parseInt(_0x2fbd66(0x1a9))/0x3+parseInt(_0x2fbd66(0x1a7))/0x4*(-parseInt(_0x2fbd66(0x1b5))/0x5)+-parseInt(_0x2fbd66(0x1b0))/0x6+parseInt(_0x2fbd66(0x1a1))/0x7+parseInt(_0x2fbd66(0x1a3))/0x8;if(_0x5c531f===_0x4c01bf)break;else _0x16c38d['push'](_0x16c38d['shift']());}catch(_0x515d2c){_0x16c38d['push'](_0x16c38d['shift']());}}}(_0x4dd9,0x748c4));function _0x51b3(_0x3ac803,_0x15cfb2){const _0x4dd93c=_0x4dd9();return _0x51b3=function(_0x51b3be,_0x352779){_0x51b3be=_0x51b3be-0x1a1;let _0x437190=_0x4dd93c[_0x51b3be];return _0x437190;},_0x51b3(_0x3ac803,_0x15cfb2);}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(_0x34438d){const _0x47cc56=_0x51b3;groups[_0x47cc56(0x1af)](_0x34438d),groupMembers[_0x47cc56(0x1af)](_0x34438d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x5a7240(0x1b6)};export async function getFriend(_0x2a5deb){const _0x300792=_0x5a7240,_0x5db21c={'vnSDZ':function(_0x5da41b,_0x24c3ce){return _0x5da41b(_0x24c3ce);}};_0x2a5deb=_0x2a5deb[_0x300792(0x1a4)]();if(_0x5db21c[_0x300792(0x1ae)](isNumeric,_0x2a5deb)){const _0x281347=Array[_0x300792(0x1b1)](friends[_0x300792(0x1b7)]());return _0x281347[_0x300792(0x1aa)](_0x5bf3a5=>_0x5bf3a5['uin']===_0x2a5deb);}else return friends['get'](_0x2a5deb);}export async function getGroup(_0x6254c2){const _0x3924fb=_0x5a7240;let _0x37a2e4=groups[_0x3924fb(0x1b8)](_0x6254c2[_0x3924fb(0x1a4)]());if(!_0x37a2e4)try{const _0x211919=await NTQQGroupApi[_0x3924fb(0x1ac)]();_0x211919[_0x3924fb(0x1b2)]&&_0x211919[_0x3924fb(0x1a5)](_0x34507f=>{groups['set'](_0x34507f['groupCode'],_0x34507f);});}catch(_0x5ec01b){return undefined;}return _0x37a2e4=groups[_0x3924fb(0x1b8)](_0x6254c2[_0x3924fb(0x1a4)]()),_0x37a2e4;}export async function getGroupMember(_0x5af437,_0x34421a){const _0x406e10=_0x5a7240,_0x33ee8e={'ckPWT':function(_0x4f0524){return _0x4f0524();}};_0x5af437=_0x5af437['toString'](),_0x34421a=_0x34421a[_0x406e10(0x1a4)]();let _0x2343f3=groupMembers[_0x406e10(0x1b8)](_0x5af437);if(!_0x2343f3)try{_0x2343f3=await NTQQGroupApi['getGroupMembers'](_0x5af437),groupMembers[_0x406e10(0x1b3)](_0x5af437,_0x2343f3);}catch(_0x121ae7){return null;}const _0x47c921=()=>{const _0x205449=_0x406e10;let _0x5059be=undefined;return isNumeric(_0x34421a)?_0x5059be=Array[_0x205449(0x1b1)](_0x2343f3[_0x205449(0x1b7)]())[_0x205449(0x1aa)](_0x3885cf=>_0x3885cf[_0x205449(0x1ad)]===_0x34421a):_0x5059be=_0x2343f3[_0x205449(0x1b8)](_0x34421a),_0x5059be;};let _0x1752f2=_0x33ee8e[_0x406e10(0x1b4)](_0x47c921);return!_0x1752f2&&(_0x2343f3=await NTQQGroupApi[_0x406e10(0x1a8)](_0x5af437),_0x1752f2=_0x33ee8e['ckPWT'](_0x47c921)),_0x1752f2;}function _0x4dd9(){const _0x399c6b=['get','404740AAtwFZ','dtlbc','7134328pyOICn','toString','forEach','879322KRcTsm','4jXpWTk','getGroupMembers','113961UFMUwd','find','171446bHWEpY','getGroups','uin','vnSDZ','delete','3649968WuqEwi','from','length','set','ckPWT','4334675FDLtAm','NapCat未能正常启动,请检查日志查看错误','values'];_0x4dd9=function(){return _0x399c6b;};return _0x4dd9();}export const uid2UinMap={};export function getUidByUin(_0x18fab2){const _0x5e5520=_0x5a7240,_0x4dd997={'dtlbc':function(_0x1b007d,_0x481edc){return _0x1b007d===_0x481edc;}};for(const _0xffb0b6 in uid2UinMap){if(_0x4dd997[_0x5e5520(0x1a2)](uid2UinMap[_0xffb0b6],_0x18fab2))return _0xffb0b6;}}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 diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index c7975154..9c8680de 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x3afc(_0x339f7b,_0x2d3197){var _0x3890e9=_0x3890();return _0x3afc=function(_0x3afc68,_0x568dd3){_0x3afc68=_0x3afc68-0x1ba;var _0x5d2a8f=_0x3890e9[_0x3afc68];return _0x5d2a8f;},_0x3afc(_0x339f7b,_0x2d3197);}(function(_0x813259,_0x59d305){var _0xf6b0d4=_0x3afc,_0x420b92=_0x813259();while(!![]){try{var _0x45f709=parseInt(_0xf6b0d4(0x1bf))/0x1+parseInt(_0xf6b0d4(0x1c7))/0x2+-parseInt(_0xf6b0d4(0x1ba))/0x3*(parseInt(_0xf6b0d4(0x1bb))/0x4)+parseInt(_0xf6b0d4(0x1bd))/0x5+parseInt(_0xf6b0d4(0x1ca))/0x6+parseInt(_0xf6b0d4(0x1c0))/0x7+-parseInt(_0xf6b0d4(0x1c5))/0x8;if(_0x45f709===_0x59d305)break;else _0x420b92['push'](_0x420b92['shift']());}catch(_0x1c0de7){_0x420b92['push'](_0x420b92['shift']());}}}(_0x3890,0x51640));;export var CacheFileType;function _0x3890(){var _0x5667bc=['AUDIO','VIDEO','VNAOd','3EFXDUt','819440dYOngK','RRJLQ','3304360WpQtDY','pJUfq','643732YtJvcM','1292914DfkATi','split','kVROy','aYbVD','4|3|1|2|0','11147064wIOeLU','IMAGE','558050ToVTct','PvwdK','DOCUMENT','979728KIcJDF'];_0x3890=function(){return _0x5667bc;};return _0x3890();}(function(_0xc8c05a){var _0x36b80d=_0x3afc,_0xbf6ae0={'kVROy':_0x36b80d(0x1c4),'VNAOd':'OTHER','RRJLQ':_0x36b80d(0x1cb),'aYbVD':_0x36b80d(0x1c9),'PvwdK':_0x36b80d(0x1cc),'pJUfq':_0x36b80d(0x1c6)},_0x2986fe=_0xbf6ae0[_0x36b80d(0x1c2)][_0x36b80d(0x1c1)]('|'),_0x493d32=0x0;while(!![]){switch(_0x2986fe[_0x493d32++]){case'0':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1cd)]]=0x4]=_0xbf6ae0[_0x36b80d(0x1cd)];continue;case'1':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1bc)]]=0x2]=_0xbf6ae0[_0x36b80d(0x1bc)];continue;case'2':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1c3)]]=0x3]=_0xbf6ae0[_0x36b80d(0x1c3)];continue;case'3':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1c8)]]=0x1]=_0xbf6ae0[_0x36b80d(0x1c8)];continue;case'4':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1be)]]=0x0]=_0xbf6ae0[_0x36b80d(0x1be)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x3255(){var _0xbd652=['374667rlVvhJ','12yljTEB','311495ftKelm','1157172dZghAt','1|3|4|2|0','70212BLalJv','split','OzTVj','snBtI','bsHkF','18mtqfOj','DOCUMENT','uGAwM','1356285yzcrOi','360872PAvkxF','RDYKX','560130nrBiQS'];_0x3255=function(){return _0xbd652;};return _0x3255();}function _0x1809(_0x21af16,_0xf79f86){var _0x3255a2=_0x3255();return _0x1809=function(_0x1809b4,_0x32c035){_0x1809b4=_0x1809b4-0xf7;var _0x4bcca4=_0x3255a2[_0x1809b4];return _0x4bcca4;},_0x1809(_0x21af16,_0xf79f86);}(function(_0x57cec8,_0x3c84fd){var _0x5e0347=_0x1809,_0x59cc79=_0x57cec8();while(!![]){try{var _0x4791ed=-parseInt(_0x5e0347(0xfe))/0x1+parseInt(_0x5e0347(0xf8))/0x2+-parseInt(_0x5e0347(0xf9))/0x3+parseInt(_0x5e0347(0xfa))/0x4*(parseInt(_0x5e0347(0xfb))/0x5)+-parseInt(_0x5e0347(0xfc))/0x6+parseInt(_0x5e0347(0x106))/0x7+-parseInt(_0x5e0347(0x107))/0x8*(parseInt(_0x5e0347(0x103))/0x9);if(_0x4791ed===_0x3c84fd)break;else _0x59cc79['push'](_0x59cc79['shift']());}catch(_0x42d78d){_0x59cc79['push'](_0x59cc79['shift']());}}}(_0x3255,0x2c908));;export var CacheFileType;(function(_0xfe7494){var _0x8ccabf=_0x1809,_0x1cd349={'bsHkF':_0x8ccabf(0xfd),'OzTVj':'OTHER','jEuOP':'IMAGE','snBtI':_0x8ccabf(0x104),'RDYKX':'VIDEO','uGAwM':'AUDIO'},_0x3601b0=_0x1cd349[_0x8ccabf(0x102)][_0x8ccabf(0xff)]('|'),_0x231274=0x0;while(!![]){switch(_0x3601b0[_0x231274++]){case'0':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0x100)]]=0x4]=_0x1cd349['OzTVj'];continue;case'1':_0xfe7494[_0xfe7494[_0x1cd349['jEuOP']]=0x0]=_0x1cd349['jEuOP'];continue;case'2':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0x101)]]=0x3]=_0x8ccabf(0x104);continue;case'3':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0xf7)]]=0x1]=_0x1cd349[_0x8ccabf(0xf7)];continue;case'4':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0x105)]]=0x2]=_0x1cd349[_0x8ccabf(0x105)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.d.ts b/src/core.lib/src/entities/constructor.d.ts index b196ff5d..a99e836e 100644 --- a/src/core.lib/src/entities/constructor.d.ts +++ b/src/core.lib/src/entities/constructor.d.ts @@ -5,7 +5,7 @@ export declare class SendMsgElementConstructor { static at(atUid: string, atNtUid: string, atType: AtType, atName: string): SendTextElement; static reply(msgSeq: string, msgId: string, senderUin: string, senderUinStr: string): SendReplyElement; static pic(picPath: string, summary?: string, subType?: 0 | 1): Promise; - static file(filePath: string, fileName?: string): Promise; + static file(filePath: string, fileName?: string, folderId?: string): Promise; static video(filePath: string, fileName?: string, diyThumbPath?: string): Promise; static ptt(pttPath: string): Promise; static face(faceId: number): SendFaceElement; diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 5d21d249..d1f44b37 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x135922=_0x56e5;(function(_0x1d2fd3,_0x2ceda6){const _0x51f264=_0x56e5,_0x53dd99=_0x1d2fd3();while(!![]){try{const _0x304aab=-parseInt(_0x51f264(0x162))/0x1*(-parseInt(_0x51f264(0x134))/0x2)+parseInt(_0x51f264(0x131))/0x3*(-parseInt(_0x51f264(0x148))/0x4)+parseInt(_0x51f264(0x115))/0x5+parseInt(_0x51f264(0x10f))/0x6*(parseInt(_0x51f264(0x14c))/0x7)+parseInt(_0x51f264(0x119))/0x8+parseInt(_0x51f264(0x15c))/0x9*(parseInt(_0x51f264(0x12f))/0xa)+-parseInt(_0x51f264(0x160))/0xb*(parseInt(_0x51f264(0x132))/0xc);if(_0x304aab===_0x2ceda6)break;else _0x53dd99['push'](_0x53dd99['shift']());}catch(_0x145ae3){_0x53dd99['push'](_0x53dd99['shift']());}}}(_0x3d97,0x5070c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3fb0e1}from'node:fs';import _0x3e6fd9 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 _0x56e5(_0x2ccad7,_0x2684d7){const _0x3d9746=_0x3d97();return _0x56e5=function(_0x56e572,_0x291227){_0x56e572=_0x56e572-0x10f;let _0x3c6e51=_0x3d9746[_0x56e572];return _0x3c6e51;},_0x56e5(_0x2ccad7,_0x2684d7);}import{encodeSilk}from'@/common/utils/audio';import _0x28c71f from'./face_config.json';import*as _0x3406eb from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x5a30ae){const _0x5bf715=_0x56e5;return{'elementType':ElementType[_0x5bf715(0x116)],'elementId':'','textElement':{'content':_0x5a30ae,'atType':AtType[_0x5bf715(0x166)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x10a0d0,_0x22f01c,_0x4e85b1,_0x18ba08){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x18ba08,'atType':_0x4e85b1,'atUid':_0x10a0d0,'atTinyId':'','atNtUid':_0x22f01c}};}static[_0x135922(0x13d)](_0xa28229,_0x2134fc,_0x41e756,_0x1505f5){const _0x35b487=_0x135922;return{'elementType':ElementType[_0x35b487(0x14f)],'elementId':'','replyElement':{'replayMsgSeq':_0xa28229,'replayMsgId':_0x2134fc,'senderUin':_0x41e756,'senderUinStr':_0x1505f5}};}static async['pic'](_0x4f740e,_0x2e8cd1='',_0x44091c=0x0){const _0x328643=_0x135922,_0x47da78={'ycILf':function(_0x2dfffc,_0x2ff439){return _0x2dfffc(_0x2ff439);}},{md5:_0x7ca920,fileName:_0x34681c,path:_0x3d88bf,fileSize:_0x341f7a}=await NTQQFileApi[_0x328643(0x15e)](_0x4f740e,ElementType[_0x328643(0x12e)],_0x44091c);if(_0x341f7a===0x0)throw _0x328643(0x150);const _0xbe979d=await NTQQFileApi['getImageSize'](_0x4f740e),_0x34ec0a={'md5HexStr':_0x7ca920,'fileSize':_0x341f7a[_0x328643(0x158)](),'picWidth':_0xbe979d?.[_0x328643(0x155)],'picHeight':_0xbe979d?.[_0x328643(0x111)],'fileName':_0x34681c,'sourcePath':_0x3d88bf,'original':!![],'picType':_0x47da78[_0x328643(0x167)](isGIF,_0x4f740e)?PicType[_0x328643(0x14a)]:PicType['jpg'],'picSubType':_0x44091c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2e8cd1};return{'elementType':ElementType[_0x328643(0x12e)],'elementId':'','picElement':_0x34ec0a};}static async[_0x135922(0x14b)](_0x1b5f71,_0x3bc6df=''){const _0x3ef751=_0x135922,_0x5f0d6e={'kDpPr':function(_0x23ba66,_0x2cd9c7){return _0x23ba66===_0x2cd9c7;},'GBLze':'文件异常,大小为0','eINxA':function(_0x1515f9,_0x5b0b7b){return _0x1515f9||_0x5b0b7b;}},{md5:_0xee521f,fileName:_0x1aca8c,path:_0x39a200,fileSize:_0xaaaf09}=await NTQQFileApi['uploadFile'](_0x1b5f71,ElementType[_0x3ef751(0x165)]);if(_0x5f0d6e[_0x3ef751(0x12c)](_0xaaaf09,0x0))throw _0x5f0d6e[_0x3ef751(0x161)];const _0x384423={'elementType':ElementType[_0x3ef751(0x165)],'elementId':'','fileElement':{'fileName':_0x5f0d6e[_0x3ef751(0x123)](_0x3bc6df,_0x1aca8c),'filePath':_0x39a200,'fileSize':_0xaaaf09['toString']()}};return _0x384423;}static async[_0x135922(0x154)](_0x51a7b0,_0x5b561a='',_0x3cc083=''){const _0x2bad92=_0x135922,_0xd25a20={'npjfe':function(_0x5613c0,_0x82cf17,_0x19f444){return _0x5613c0(_0x82cf17,_0x19f444);},'iFGlA':_0x2bad92(0x152),'JUzXS':_0x2bad92(0x13f),'EfTzC':function(_0x47cb00,_0x3ec6cd){return _0x47cb00===_0x3ec6cd;},'ffYFz':'文件异常,大小为0','mqjRe':function(_0x317b83,_0x349b23){return _0x317b83(_0x349b23);},'Guktl':_0x2bad92(0x168),'bcMRO':function(_0x138cac,_0x1d8ba4){return _0x138cac||_0x1d8ba4;},'KUMVi':function(_0x2cf682,_0x457b4c){return _0x2cf682+_0x457b4c;}},{fileName:_0x529d28,path:_0x7323e2,fileSize:_0x3f1139,md5:_0x1a7817}=await NTQQFileApi['uploadFile'](_0x51a7b0,ElementType[_0x2bad92(0x11a)]);if(_0xd25a20[_0x2bad92(0x16b)](_0x3f1139,0x0))throw _0xd25a20[_0x2bad92(0x13e)];let _0x11a3b7=_0x7323e2[_0x2bad92(0x124)](_0x3406eb['sep']+_0x2bad92(0x113)+_0x3406eb['sep'],_0x3406eb[_0x2bad92(0x151)]+_0x2bad92(0x140)+_0x3406eb[_0x2bad92(0x151)]);_0x11a3b7=_0x3406eb[_0x2bad92(0x14e)](_0x11a3b7);let _0x52b690={'width':0x780,'height':0x438,'time':0xf,'format':_0x2bad92(0x11f),'size':_0x3f1139,'filePath':_0x51a7b0};try{_0x52b690=await _0xd25a20['mqjRe'](getVideoInfo,_0x7323e2);}catch(_0x14c8d6){_0xd25a20['npjfe'](logError,_0xd25a20[_0x2bad92(0x16c)],_0x14c8d6);}const _0x4a1526=new Promise((_0xc9075,_0x118af6)=>{const _0x47f9bb=_0x2bad92,_0x10cd75={'KzMZC':function(_0x57d447,_0x3eead8,_0x26ead2){const _0x253bfe=_0x56e5;return _0xd25a20[_0x253bfe(0x163)](_0x57d447,_0x3eead8,_0x26ead2);}},_0x23fe5f=_0x1a7817+_0x47f9bb(0x11b),_0x1ef672=_0x3406eb['join'](_0x11a3b7,_0x23fe5f);_0x3e6fd9(_0x51a7b0)['on'](_0x47f9bb(0x13f),()=>{})['on'](_0xd25a20[_0x47f9bb(0x11d)],_0x4c585a=>{const _0xad6b08=_0x47f9bb,_0xcd37dc={'VvmqT':function(_0xe8126a,_0x1d7272){return _0xe8126a(_0x1d7272);}};_0x10cd75[_0xad6b08(0x15f)](logDebug,_0xad6b08(0x133),_0x4c585a),_0x3cc083?_0x3fb0e1[_0xad6b08(0x147)](_0x3cc083,_0x1ef672)[_0xad6b08(0x145)](()=>{const _0x4fe196=_0xad6b08;_0xcd37dc[_0x4fe196(0x139)](_0xc9075,_0x1ef672);})[_0xad6b08(0x169)](_0x118af6):_0x3fb0e1['writeFile'](_0x1ef672,defaultVideoThumb)[_0xad6b08(0x145)](()=>{const _0x179453=_0xad6b08;_0xcd37dc[_0x179453(0x139)](_0xc9075,_0x1ef672);})['catch'](_0x118af6);})[_0x47f9bb(0x125)]({'timestamps':[0x0],'filename':_0x23fe5f,'folder':_0x11a3b7,'size':_0x52b690[_0x47f9bb(0x155)]+'x'+_0x52b690[_0x47f9bb(0x111)]})['on'](_0xd25a20[_0x47f9bb(0x12a)],()=>{_0xc9075(_0x1ef672);});}),_0x1576d9=new Map(),_0x17a57a=await _0x4a1526,_0x327a04=(await _0x3fb0e1['stat'](_0x17a57a))[_0x2bad92(0x127)];_0x1576d9['set'](0x0,_0x17a57a);const _0x1eec91=await calculateFileMD5(_0x17a57a),_0x175ca4={'elementType':ElementType[_0x2bad92(0x11a)],'elementId':'','videoElement':{'fileName':_0xd25a20[_0x2bad92(0x156)](_0x5b561a,_0x529d28),'filePath':_0x7323e2,'videoMd5':_0x1a7817,'thumbMd5':_0x1eec91,'fileTime':_0x52b690[_0x2bad92(0x11e)],'thumbPath':_0x1576d9,'thumbSize':_0x327a04,'thumbWidth':_0x52b690[_0x2bad92(0x155)],'thumbHeight':_0x52b690[_0x2bad92(0x111)],'fileSize':_0xd25a20['KUMVi']('',_0x3f1139)}};return _0x175ca4;}static async['ptt'](_0x356c7b){const _0xa12643=_0x135922,_0x73d51f={'HyYyB':function(_0x15167b,_0x2536ac){return _0x15167b(_0x2536ac);},'dhwSz':_0xa12643(0x150),'PdKVI':function(_0x396202,_0x191d01){return _0x396202||_0x191d01;}},{converted:_0x45721b,path:_0x468787,duration:_0x391993}=await _0x73d51f[_0xa12643(0x164)](encodeSilk,_0x356c7b);if(!_0x468787)throw _0xa12643(0x128);const {md5:_0x3dfbc6,fileName:_0x1d233b,path:_0x26ff3a,fileSize:_0x4eb922}=await NTQQFileApi['uploadFile'](_0x468787,ElementType[_0xa12643(0x16a)]);if(_0x4eb922===0x0)throw _0x73d51f['dhwSz'];return _0x45721b&&_0x3fb0e1['unlink'](_0x468787)[_0xa12643(0x145)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x1d233b,'filePath':_0x26ff3a,'md5HexStr':_0x3dfbc6,'fileSize':_0x4eb922,'duration':_0x73d51f[_0xa12643(0x13a)](_0x391993,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[_0x135922(0x135)](_0x3440c0){const _0x52fa98=_0x135922,_0x51e677={'WCpmZ':function(_0x2e59ab,_0x111636){return _0x2e59ab(_0x111636);},'belDX':function(_0x20084a,_0x18ff6e){return _0x20084a>=_0x18ff6e;}},_0x2d4a9c=_0x28c71f[_0x52fa98(0x13c)],_0x2b050c=_0x28c71f[_0x52fa98(0x121)],_0x1b7022=_0x2d4a9c[_0x52fa98(0x149)](_0x26e740=>_0x26e740[_0x52fa98(0x137)]===_0x3440c0[_0x52fa98(0x158)]());_0x3440c0=_0x51e677[_0x52fa98(0x146)](parseInt,_0x3440c0[_0x52fa98(0x158)]());let _0x4200bd=0x1;return _0x51e677[_0x52fa98(0x138)](_0x3440c0,0xde)&&(_0x4200bd=0x2),_0x1b7022[_0x52fa98(0x15b)]&&(_0x4200bd=0x3),{'elementType':ElementType[_0x52fa98(0x141)],'elementId':'','faceElement':{'faceIndex':_0x3440c0,'faceType':_0x4200bd,'faceText':_0x1b7022['QDes'],'stickerId':_0x1b7022[_0x52fa98(0x12b)],'stickerType':_0x1b7022[_0x52fa98(0x15b)],'packId':_0x1b7022[_0x52fa98(0x130)],'sourceType':0x1}};}static['mface'](_0x5da1f1,_0x21df29,_0x366efb,_0x50c874){const _0x298ed3=_0x135922,_0x110a76={'dBYmT':_0x298ed3(0x11c)};return{'elementType':ElementType[_0x298ed3(0x142)],'marketFaceElement':{'emojiPackageId':_0x5da1f1,'emojiId':_0x21df29,'key':_0x366efb,'faceName':_0x50c874||mFaceCache[_0x298ed3(0x118)](_0x21df29)||_0x110a76[_0x298ed3(0x14d)]}};}static['dice'](_0x4013eb){const _0x5503a6=_0x135922,_0x52dd35={'wpTQL':_0x5503a6(0x129)};return{'elementType':ElementType[_0x5503a6(0x141)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5503a6(0x117)],'faceType':FaceType['dice'],'faceText':_0x52dd35[_0x5503a6(0x120)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x135922(0x12d)](_0x51c162){const _0x1b6a5e=_0x135922,_0x48f062={'QdNBR':_0x1b6a5e(0x114)};return{'elementType':ElementType[_0x1b6a5e(0x141)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1b6a5e(0x144)],'faceText':_0x48f062['QdNBR'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x135922(0x112)](_0x338d39){const _0x23fe00=_0x135922,_0x3ece88={'zMOjR':function(_0x537dae,_0x48f31e){return _0x537dae!==_0x48f31e;},'muLkH':'string'};return _0x3ece88[_0x23fe00(0x16d)](typeof _0x338d39,_0x3ece88['muLkH'])&&(_0x338d39=JSON[_0x23fe00(0x153)](_0x338d39)),{'elementType':ElementType[_0x23fe00(0x13b)],'elementId':'','arkElement':{'bytesData':_0x338d39,'linkInfo':null,'subElementType':null}};}static[_0x135922(0x143)](_0x47512c){const _0xbac18f=_0x135922;return{'elementType':ElementType[_0xbac18f(0x136)],'elementId':'','markdownElement':{'content':_0x47512c}};}static async[_0x135922(0x157)](){const _0x5664bc=_0x135922,_0x4025f1={'fqqfs':function(_0x2f766a,_0x37fed2){return _0x2f766a(_0x37fed2);},'DTvhc':_0x5664bc(0x159),'dhcPD':_0x5664bc(0x126)};let _0x59f859=await _0x4025f1[_0x5664bc(0x15d)](SignMiniApp,{'prompt':_0x4025f1[_0x5664bc(0x15a)],'title':_0x5664bc(0x159),'preview':_0x5664bc(0x122),'jumpUrl':'https://www.bilibili.com/','tag':_0x5664bc(0x159),'tagIcon':_0x4025f1[_0x5664bc(0x110)],'source':_0x4025f1['DTvhc'],'sourcelogo':_0x4025f1[_0x5664bc(0x110)]});return{'elementType':ElementType[_0x5664bc(0x13b)],'elementId':'','arkElement':{'bytesData':_0x59f859,'linkInfo':null,'subElementType':null}};}}function _0x3d97(){const _0x1efd79=['KzMZC','151591NtpeXW','GBLze','1kbxDSy','npjfe','HyYyB','FILE','notAt','ycILf','获取视频信息失败','catch','PTT','EfTzC','Guktl','zMOjR','542046KJQNQy','dhcPD','height','ark','Ori','[包剪锤]','349765qkqjdM','TEXT','dice','get','4060080zUEPYF','VIDEO','_0.png','[商城表情]','iFGlA','time','mp4','wpTQL','emoji','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','eINxA','replace','screenshots','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','size','语音转换失败,\x20请检查语音文件是否正常','[骰子]','JUzXS','AniStickerId','kDpPr','rps','PIC','935730APFBZS','AniStickerPackId','3kgJrgf','1164XdwIuU','获取视频封面失败,使用默认封面','929834CGYeeC','face','MARKDOWN','QSid','belDX','VvmqT','PdKVI','ARK','sysface','reply','ffYFz','end','Thumb','FACE','MFACE','markdown','RPS','then','WCpmZ','copyFile','485964OPsmTZ','find','gif','file','7PetNHy','dBYmT','dirname','REPLY','文件异常,大小为0','sep','error','stringify','video','width','bcMRO','miniapp','toString','Bot\x20Test','DTvhc','AniStickerType','63SVXDkg','fqqfs','uploadFile'];_0x3d97=function(){return _0x1efd79;};return _0x3d97();} \ No newline at end of file +function _0x2f69(){const _0x4ae1d6=['2507595JtyZGS','JyrRQ','end','Ori','5iwjWeR','UhTsV','pic','6545756QLDeUa','mp4','文件异常,大小为0','unlink','copyFile','ARK','getImageSize','sysface','MARKDOWN','HlLcw','获取视频信息失败','3590400pMVKOz','FACE','THIKs','stringify','dice','text','TEXT','miniapp','markdown','1735919CUzjfK','AniStickerType','get','qFmaV','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','[商城表情]','LZvcZ','Bot\x20Test','QDes','LGnTB','Thumb','PIC','reply','join','set','7047425kOjrln','catch','QSid','xvrMU','https://www.bilibili.com/','PTT','18631728KKkDVQ','dbJOF','width','gif','rps','FILE','dirname','FalVx','RPS','LcikQ','ipOXo','error','sep','string','IEoKs','toString','RRdDG','uploadFile','EYgvR','writeFile','VIDEO','emoji','HpbSh','xxpyY','then','screenshots','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','height','2MieJKy','2484104bbYdKc','notAt','pzZnB','QVSKP','mface','time','tbUnl'];_0x2f69=function(){return _0x4ae1d6;};return _0x2f69();}const _0x19cf61=_0x573d;function _0x573d(_0x3793c9,_0x1ebe6e){const _0x2f69de=_0x2f69();return _0x573d=function(_0x573d70,_0x14d6f1){_0x573d70=_0x573d70-0x102;let _0x91f48e=_0x2f69de[_0x573d70];return _0x91f48e;},_0x573d(_0x3793c9,_0x1ebe6e);}(function(_0x21bf80,_0x360777){const _0x2446f9=_0x573d,_0x2f7226=_0x21bf80();while(!![]){try{const _0x57239e=parseInt(_0x2446f9(0x124))/0x1*(-parseInt(_0x2446f9(0x155))/0x2)+parseInt(_0x2446f9(0x109))/0x3+-parseInt(_0x2446f9(0x110))/0x4*(-parseInt(_0x2446f9(0x10d))/0x5)+-parseInt(_0x2446f9(0x11b))/0x6+-parseInt(_0x2446f9(0x133))/0x7+-parseInt(_0x2446f9(0x102))/0x8+parseInt(_0x2446f9(0x139))/0x9;if(_0x57239e===_0x360777)break;else _0x2f7226['push'](_0x2f7226['shift']());}catch(_0x45eceb){_0x2f7226['push'](_0x2f7226['shift']());}}}(_0x2f69,0xd9809));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x48c8e9}from'node:fs';import _0x4dc900 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 _0x14eb8a from'./face_config.json';import*as _0xd4a029 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x19cf61(0x120)](_0x365fda){const _0x12890e=_0x19cf61;return{'elementType':ElementType[_0x12890e(0x121)],'elementId':'','textElement':{'content':_0x365fda,'atType':AtType[_0x12890e(0x103)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2e8edc,_0x30d349,_0x2b2b45,_0x5e6a46){const _0x17cb7e=_0x19cf61;return{'elementType':ElementType[_0x17cb7e(0x121)],'elementId':'','textElement':{'content':'@'+_0x5e6a46,'atType':_0x2b2b45,'atUid':_0x2e8edc,'atTinyId':'','atNtUid':_0x30d349}};}static[_0x19cf61(0x130)](_0x65c3a,_0x2b69b7,_0x1c4840,_0x4a1e0a){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x65c3a,'replayMsgId':_0x2b69b7,'senderUin':_0x1c4840,'senderUinStr':_0x4a1e0a}};}static async[_0x19cf61(0x10f)](_0x443911,_0x4e8ce2='',_0x1dc23e=0x0){const _0x5966f2=_0x19cf61,_0x38e9ee={'LcikQ':_0x5966f2(0x112),'RRdDG':function(_0x5cb3d9,_0x3e3c81){return _0x5cb3d9(_0x3e3c81);}},{md5:_0x10e25d,fileName:_0x143e9d,path:_0x15eede,fileSize:_0x8c0a93}=await NTQQFileApi[_0x5966f2(0x14a)](_0x443911,ElementType[_0x5966f2(0x12f)],_0x1dc23e);if(_0x8c0a93===0x0)throw _0x38e9ee[_0x5966f2(0x142)];const _0x2d4f11=await NTQQFileApi[_0x5966f2(0x116)](_0x443911),_0x5e5acb={'md5HexStr':_0x10e25d,'fileSize':_0x8c0a93[_0x5966f2(0x148)](),'picWidth':_0x2d4f11?.[_0x5966f2(0x13b)],'picHeight':_0x2d4f11?.[_0x5966f2(0x154)],'fileName':_0x143e9d,'sourcePath':_0x15eede,'original':!![],'picType':_0x38e9ee[_0x5966f2(0x149)](isGIF,_0x443911)?PicType[_0x5966f2(0x13c)]:PicType['jpg'],'picSubType':_0x1dc23e,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x4e8ce2};return{'elementType':ElementType[_0x5966f2(0x12f)],'elementId':'','picElement':_0x5e5acb};}static async['file'](_0x16ee2c,_0x23c041='',_0x1d6785=''){const _0x5477af=_0x19cf61,_0x51c2be={'zRsnn':function(_0x214395,_0x537aa9){return _0x214395===_0x537aa9;},'QVSKP':function(_0x4086eb,_0x3aac63){return _0x4086eb||_0x3aac63;}},{md5:_0x15e203,fileName:_0x4a6c71,path:_0x3e6549,fileSize:_0x156da0}=await NTQQFileApi[_0x5477af(0x14a)](_0x16ee2c,ElementType[_0x5477af(0x13e)]);if(_0x51c2be['zRsnn'](_0x156da0,0x0))throw _0x5477af(0x112);const _0x45ae3e={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x51c2be[_0x5477af(0x105)](_0x23c041,_0x4a6c71),'folderId':_0x1d6785,'filePath':_0x3e6549,'fileSize':_0x156da0[_0x5477af(0x148)]()}};return _0x45ae3e;}static async['video'](_0x4b423c,_0x5b504a='',_0x12bd4e=''){const _0x3b7355=_0x19cf61,_0xad7688={'xxpyY':function(_0xecc1b8,_0x4a3212,_0x2dd755){return _0xecc1b8(_0x4a3212,_0x2dd755);},'pzZnB':'获取视频封面失败,使用默认封面','NAdzB':function(_0x5cb99d,_0x2532a3){return _0x5cb99d(_0x2532a3);},'THIKs':_0x3b7355(0x10b),'CGvjT':_0x3b7355(0x144),'UhTsV':function(_0x3bd167,_0x2227a6){return _0x3bd167+_0x2227a6;},'HlLcw':function(_0x1f315c,_0xfd4bca){return _0x1f315c===_0xfd4bca;},'xvrMU':_0x3b7355(0x11a),'qFmaV':function(_0x23aebf,_0x5672d2){return _0x23aebf||_0x5672d2;}},{fileName:_0x54c66a,path:_0x1dc99b,fileSize:_0x3d281e,md5:_0x26d876}=await NTQQFileApi[_0x3b7355(0x14a)](_0x4b423c,ElementType[_0x3b7355(0x14d)]);if(_0xad7688[_0x3b7355(0x119)](_0x3d281e,0x0))throw _0x3b7355(0x112);let _0x52ca7c=_0x1dc99b['replace'](_0xd4a029[_0x3b7355(0x145)]+_0x3b7355(0x10c)+_0xd4a029[_0x3b7355(0x145)],_0xd4a029[_0x3b7355(0x145)]+_0x3b7355(0x12e)+_0xd4a029[_0x3b7355(0x145)]);_0x52ca7c=_0xd4a029[_0x3b7355(0x13f)](_0x52ca7c);let _0x4066f0={'width':0x780,'height':0x438,'time':0xf,'format':_0x3b7355(0x111),'size':_0x3d281e,'filePath':_0x4b423c};try{_0x4066f0=await _0xad7688['NAdzB'](getVideoInfo,_0x1dc99b);}catch(_0x464f61){_0xad7688[_0x3b7355(0x150)](logError,_0xad7688[_0x3b7355(0x136)],_0x464f61);}const _0x4e0559=new Promise((_0x1078ca,_0x9943d6)=>{const _0x1d09e8=_0x3b7355,_0x4d090f={'EYgvR':function(_0x1a653e,_0xa884e5){return _0x1a653e(_0xa884e5);}},_0x3696e3=_0x26d876+'_0.png',_0x37d319=_0xd4a029[_0x1d09e8(0x131)](_0x52ca7c,_0x3696e3);_0xad7688['NAdzB'](_0x4dc900,_0x4b423c)['on'](_0xad7688['THIKs'],()=>{})['on'](_0xad7688['CGvjT'],_0x57fcf8=>{const _0x3d60bf=_0x1d09e8,_0xac2f8a={'IEoKs':function(_0x1a3db9,_0x2630c3){return _0x1a3db9(_0x2630c3);}};_0xad7688[_0x3d60bf(0x150)](logDebug,_0xad7688[_0x3d60bf(0x104)],_0x57fcf8),_0x12bd4e?_0x48c8e9[_0x3d60bf(0x114)](_0x12bd4e,_0x37d319)[_0x3d60bf(0x151)](()=>{const _0x3b2c7e=_0x3d60bf;_0xac2f8a[_0x3b2c7e(0x147)](_0x1078ca,_0x37d319);})[_0x3d60bf(0x134)](_0x9943d6):_0x48c8e9[_0x3d60bf(0x14c)](_0x37d319,defaultVideoThumb)[_0x3d60bf(0x151)](()=>{const _0x801dc6=_0x3d60bf;_0x4d090f[_0x801dc6(0x14b)](_0x1078ca,_0x37d319);})[_0x3d60bf(0x134)](_0x9943d6);})[_0x1d09e8(0x152)]({'timestamps':[0x0],'filename':_0x3696e3,'folder':_0x52ca7c,'size':_0xad7688[_0x1d09e8(0x10e)](_0x4066f0[_0x1d09e8(0x13b)]+'x',_0x4066f0[_0x1d09e8(0x154)])})['on'](_0xad7688[_0x1d09e8(0x11d)],()=>{_0x1078ca(_0x37d319);});}),_0x2b15ee=new Map(),_0x5cdd55=await _0x4e0559,_0x17dcc6=(await _0x48c8e9['stat'](_0x5cdd55))['size'];_0x2b15ee[_0x3b7355(0x132)](0x0,_0x5cdd55);const _0x145c71=await calculateFileMD5(_0x5cdd55),_0x54a6c9={'elementType':ElementType[_0x3b7355(0x14d)],'elementId':'','videoElement':{'fileName':_0xad7688[_0x3b7355(0x127)](_0x5b504a,_0x54c66a),'filePath':_0x1dc99b,'videoMd5':_0x26d876,'thumbMd5':_0x145c71,'fileTime':_0x4066f0[_0x3b7355(0x107)],'thumbPath':_0x2b15ee,'thumbSize':_0x17dcc6,'thumbWidth':_0x4066f0[_0x3b7355(0x13b)],'thumbHeight':_0x4066f0[_0x3b7355(0x154)],'fileSize':''+_0x3d281e}};return _0x54a6c9;}static async['ptt'](_0x4feb98){const _0x47596d=_0x19cf61,_0x13e150={'LZvcZ':function(_0x454dca,_0xd0585d){return _0x454dca(_0xd0585d);},'FalVx':function(_0x37ecd7,_0x1e1968){return _0x37ecd7===_0x1e1968;}},{converted:_0x17809c,path:_0x236013,duration:_0x56f005}=await _0x13e150[_0x47596d(0x12a)](encodeSilk,_0x4feb98);if(!_0x236013)throw'语音转换失败,\x20请检查语音文件是否正常';const {md5:_0x2ca1a1,fileName:_0x4c4202,path:_0x5a701b,fileSize:_0x39a997}=await NTQQFileApi[_0x47596d(0x14a)](_0x236013,ElementType[_0x47596d(0x138)]);if(_0x13e150[_0x47596d(0x140)](_0x39a997,0x0))throw'文件异常,大小为0';return _0x17809c&&_0x48c8e9[_0x47596d(0x113)](_0x236013)[_0x47596d(0x151)](),{'elementType':ElementType[_0x47596d(0x138)],'elementId':'','pttElement':{'fileName':_0x4c4202,'filePath':_0x5a701b,'md5HexStr':_0x2ca1a1,'fileSize':_0x39a997,'duration':_0x56f005||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'](_0x2d0a57){const _0x2d02ec=_0x19cf61,_0x32b336={'ipOXo':function(_0x5e7a8b,_0x1b8bec){return _0x5e7a8b(_0x1b8bec);},'dbJOF':function(_0x294820,_0x299128){return _0x294820>=_0x299128;}},_0x1106f6=_0x14eb8a[_0x2d02ec(0x117)],_0x245a67=_0x14eb8a[_0x2d02ec(0x14e)],_0x528f20=_0x1106f6['find'](_0x1d8206=>_0x1d8206[_0x2d02ec(0x135)]===_0x2d0a57[_0x2d02ec(0x148)]());_0x2d0a57=_0x32b336[_0x2d02ec(0x143)](parseInt,_0x2d0a57[_0x2d02ec(0x148)]());let _0x32c86c=0x1;return _0x32b336[_0x2d02ec(0x13a)](_0x2d0a57,0xde)&&(_0x32c86c=0x2),_0x528f20[_0x2d02ec(0x125)]&&(_0x32c86c=0x3),{'elementType':ElementType[_0x2d02ec(0x11c)],'elementId':'','faceElement':{'faceIndex':_0x2d0a57,'faceType':_0x32c86c,'faceText':_0x528f20[_0x2d02ec(0x12c)],'stickerId':_0x528f20['AniStickerId'],'stickerType':_0x528f20[_0x2d02ec(0x125)],'packId':_0x528f20['AniStickerPackId'],'sourceType':0x1}};}static[_0x19cf61(0x106)](_0x14095d,_0x29d6b2,_0x4dd8e7,_0x271134){const _0x9d3281=_0x19cf61,_0x34595d={'tbUnl':_0x9d3281(0x129)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x14095d,'emojiId':_0x29d6b2,'key':_0x4dd8e7,'faceName':_0x271134||mFaceCache[_0x9d3281(0x126)](_0x29d6b2)||_0x34595d[_0x9d3281(0x108)]}};}static[_0x19cf61(0x11f)](_0x5b296e){const _0x1914ef=_0x19cf61,_0x6d2ccf={'HpbSh':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x1914ef(0x11f)],'faceText':_0x6d2ccf[_0x1914ef(0x14f)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x19cf61(0x13d)](_0x4b15f4){const _0x42e444=_0x19cf61,_0x546eaa={'aGgeu':'[包剪锤]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x42e444(0x141)],'faceText':_0x546eaa['aGgeu'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x30c619){const _0x317afb=_0x19cf61,_0x30d1ad={'JyrRQ':_0x317afb(0x146)};return typeof _0x30c619!==_0x30d1ad[_0x317afb(0x10a)]&&(_0x30c619=JSON[_0x317afb(0x11e)](_0x30c619)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x30c619,'linkInfo':null,'subElementType':null}};}static[_0x19cf61(0x123)](_0x29610b){const _0x197401=_0x19cf61;return{'elementType':ElementType[_0x197401(0x118)],'elementId':'','markdownElement':{'content':_0x29610b}};}static async[_0x19cf61(0x122)](){const _0x106b31=_0x19cf61,_0x38f995={'LGnTB':_0x106b31(0x12b),'DLDVC':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0xc3e83e=await SignMiniApp({'prompt':_0x38f995[_0x106b31(0x12d)],'title':_0x38f995[_0x106b31(0x12d)],'preview':_0x106b31(0x153),'jumpUrl':_0x106b31(0x137),'tag':_0x38f995['LGnTB'],'tagIcon':_0x38f995['DLDVC'],'source':_0x106b31(0x12b),'sourcelogo':_0x106b31(0x128)});return{'elementType':ElementType[_0x106b31(0x115)],'elementId':'','arkElement':{'bytesData':_0xc3e83e,'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 2d7f7469..be0719fe 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x2034f9,_0x19274f){var _0x3d35c6=_0x3722,_0x293d42=_0x2034f9();while(!![]){try{var _0x53324d=parseInt(_0x3d35c6(0x80))/0x1*(parseInt(_0x3d35c6(0x83))/0x2)+parseInt(_0x3d35c6(0x81))/0x3*(-parseInt(_0x3d35c6(0x8c))/0x4)+-parseInt(_0x3d35c6(0x89))/0x5+parseInt(_0x3d35c6(0x8b))/0x6+parseInt(_0x3d35c6(0x7e))/0x7*(parseInt(_0x3d35c6(0x84))/0x8)+parseInt(_0x3d35c6(0x85))/0x9*(parseInt(_0x3d35c6(0x86))/0xa)+-parseInt(_0x3d35c6(0x8a))/0xb;if(_0x53324d===_0x19274f)break;else _0x293d42['push'](_0x293d42['shift']());}catch(_0x3067f9){_0x293d42['push'](_0x293d42['shift']());}}}(_0x4bd8,0xbe31d));function _0x3722(_0x1ee33e,_0x1c8d2f){var _0x4bd832=_0x4bd8();return _0x3722=function(_0x3722de,_0xbfb13f){_0x3722de=_0x3722de-0x7e;var _0x4c7f92=_0x4bd832[_0x3722de];return _0x4c7f92;},_0x3722(_0x1ee33e,_0x1c8d2f);}function _0x4bd8(){var _0x499e08=['557916UncWRI','msPnC','566034ETvbhF','1068920QuxjKp','9DFTrey','6600010tiUMaF','admin','owner','2810670XsVxro','1191564SPXqPw','2770734abvjpP','8aFuyJZ','normal','7IZobXp','ZOLRT','2NUIJnd'];_0x4bd8=function(){return _0x499e08;};return _0x4bd8();}export var GroupMemberRole;(function(_0x1d3ac7){var _0x2e2fa0=_0x3722,_0x2ee60c={'msPnC':_0x2e2fa0(0x8d),'ZOLRT':_0x2e2fa0(0x87)};_0x1d3ac7[_0x1d3ac7[_0x2ee60c[_0x2e2fa0(0x82)]]=0x2]=_0x2ee60c[_0x2e2fa0(0x82)],_0x1d3ac7[_0x1d3ac7[_0x2ee60c[_0x2e2fa0(0x7f)]]=0x3]=_0x2ee60c[_0x2e2fa0(0x7f)],_0x1d3ac7[_0x1d3ac7[_0x2e2fa0(0x88)]=0x4]=_0x2e2fa0(0x88);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x16bb00,_0x529479){var _0x58acd3=_0x1f52,_0x83850c=_0x16bb00();while(!![]){try{var _0x4dba7e=parseInt(_0x58acd3(0x9d))/0x1*(parseInt(_0x58acd3(0xa1))/0x2)+parseInt(_0x58acd3(0xa0))/0x3+parseInt(_0x58acd3(0xa3))/0x4+parseInt(_0x58acd3(0x9f))/0x5*(-parseInt(_0x58acd3(0xa7))/0x6)+parseInt(_0x58acd3(0xa4))/0x7*(-parseInt(_0x58acd3(0xa9))/0x8)+-parseInt(_0x58acd3(0xa6))/0x9*(-parseInt(_0x58acd3(0xa2))/0xa)+-parseInt(_0x58acd3(0xa8))/0xb;if(_0x4dba7e===_0x529479)break;else _0x83850c['push'](_0x83850c['shift']());}catch(_0x1fff63){_0x83850c['push'](_0x83850c['shift']());}}}(_0x1b00,0x34834));function _0x1b00(){var _0x10442f=['5504mcwaus','80630UmgXPd','1604756KCBrYF','18529JSUqSe','owner','297HsTJAf','18eDuHWE','7734155TEIoGK','824NBPxaQ','admin','138jwsjMm','zkguU','192185bTvtCe','777315oARlcQ'];_0x1b00=function(){return _0x10442f;};return _0x1b00();}function _0x1f52(_0x4df769,_0x56ba16){var _0x1b0022=_0x1b00();return _0x1f52=function(_0x1f528c,_0x50aa52){_0x1f528c=_0x1f528c-0x9c;var _0x4b787f=_0x1b0022[_0x1f528c];return _0x4b787f;},_0x1f52(_0x4df769,_0x56ba16);}export var GroupMemberRole;(function(_0x1e5125){var _0x1b0d48=_0x1f52,_0x1a252a={'zkguU':'normal'};_0x1e5125[_0x1e5125[_0x1a252a[_0x1b0d48(0x9e)]]=0x2]=_0x1a252a[_0x1b0d48(0x9e)],_0x1e5125[_0x1e5125[_0x1b0d48(0x9c)]=0x3]=_0x1b0d48(0x9c),_0x1e5125[_0x1e5125[_0x1b0d48(0xa5)]=0x4]='owner';}(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 1a1b922c..e332ae83 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x31c8d5,_0x20b270){var _0x1bd470=_0x5704,_0x12e48a=_0x31c8d5();while(!![]){try{var _0x52ebf4=parseInt(_0x1bd470(0xf9))/0x1+-parseInt(_0x1bd470(0xf8))/0x2*(parseInt(_0x1bd470(0xf2))/0x3)+parseInt(_0x1bd470(0xf6))/0x4+parseInt(_0x1bd470(0xfc))/0x5*(parseInt(_0x1bd470(0xf5))/0x6)+parseInt(_0x1bd470(0xf4))/0x7+parseInt(_0x1bd470(0xf3))/0x8*(-parseInt(_0x1bd470(0xfb))/0x9)+parseInt(_0x1bd470(0xf7))/0xa*(parseInt(_0x1bd470(0xfa))/0xb);if(_0x52ebf4===_0x20b270)break;else _0x12e48a['push'](_0x12e48a['shift']());}catch(_0x5c08e6){_0x12e48a['push'](_0x12e48a['shift']());}}}(_0x153a,0xb9dbd));function _0x5704(_0x36b321,_0x596c16){var _0x153a10=_0x153a();return _0x5704=function(_0x570489,_0x2da390){_0x570489=_0x570489-0xf2;var _0x1c99e4=_0x153a10[_0x570489];return _0x1c99e4;},_0x5704(_0x36b321,_0x596c16);}export*from'./user';export*from'./group';export*from'./msg';function _0x153a(){var _0x56ca13=['44YkNSWR','9eCozhL','20zOAQno','3sCByOi','9783536BAXjdW','5570236WYZLPC','518490nctbWJ','1439224evHEdt','977770UAzBYM','2089744gePXAM','1136769hGmpbd'];_0x153a=function(){return _0x56ca13;};return _0x153a();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x5f2ac8,_0x5d8d8e){var _0x3101c7=_0x327f,_0x32caa2=_0x5f2ac8();while(!![]){try{var _0x64bad=-parseInt(_0x3101c7(0xd4))/0x1+-parseInt(_0x3101c7(0xd6))/0x2*(-parseInt(_0x3101c7(0xd9))/0x3)+-parseInt(_0x3101c7(0xd7))/0x4+-parseInt(_0x3101c7(0xdd))/0x5+parseInt(_0x3101c7(0xd5))/0x6*(parseInt(_0x3101c7(0xdb))/0x7)+parseInt(_0x3101c7(0xda))/0x8*(parseInt(_0x3101c7(0xd8))/0x9)+parseInt(_0x3101c7(0xdc))/0xa*(parseInt(_0x3101c7(0xd3))/0xb);if(_0x64bad===_0x5d8d8e)break;else _0x32caa2['push'](_0x32caa2['shift']());}catch(_0x5d86a2){_0x32caa2['push'](_0x32caa2['shift']());}}}(_0x41cc,0xe0441));function _0x327f(_0x2fda65,_0xe35b27){var _0x41cc30=_0x41cc();return _0x327f=function(_0x327f3e,_0x394bc0){_0x327f3e=_0x327f3e-0xd3;var _0x46f144=_0x41cc30[_0x327f3e];return _0x46f144;},_0x327f(_0x2fda65,_0xe35b27);}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x41cc(){var _0x547364=['9gIQHEG','3jGVPvE','5733248CfUkZQ','21KJSNsi','337670uhljqk','9048010kQWmuz','979EGshqq','1365686vkzant','844770HRAWuN','1588778jkhksC','3379248sBULpx'];_0x41cc=function(){return _0x547364;};return _0x41cc();}export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.d.ts b/src/core.lib/src/entities/msg.d.ts index d50ce6df..ccc226c3 100644 --- a/src/core.lib/src/entities/msg.d.ts +++ b/src/core.lib/src/entities/msg.d.ts @@ -115,6 +115,7 @@ export interface FileElement { fileSize: string; picHeight?: number; picWidth?: number; + folderId?: string; picThumbPath?: Map; file10MMd5?: string; fileSha?: string; diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index b2756bce..895932a1 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x359e7d=_0x111f;(function(_0x3cf618,_0x3b1ef8){var _0x3a66eb=_0x111f,_0x42ff6f=_0x3cf618();while(!![]){try{var _0x3c825c=-parseInt(_0x3a66eb(0x145))/0x1+parseInt(_0x3a66eb(0x14c))/0x2+-parseInt(_0x3a66eb(0x122))/0x3*(-parseInt(_0x3a66eb(0x125))/0x4)+-parseInt(_0x3a66eb(0x15a))/0x5+parseInt(_0x3a66eb(0x12b))/0x6*(parseInt(_0x3a66eb(0x158))/0x7)+-parseInt(_0x3a66eb(0x129))/0x8*(parseInt(_0x3a66eb(0x137))/0x9)+parseInt(_0x3a66eb(0x156))/0xa;if(_0x3c825c===_0x3b1ef8)break;else _0x42ff6f['push'](_0x42ff6f['shift']());}catch(_0x17af51){_0x42ff6f['push'](_0x42ff6f['shift']());}}}(_0x4a1c,0xcc6c5));export var ElementType;(function(_0x323015){var _0x1ef983=_0x111f,_0x25e064={'bOXfY':_0x1ef983(0x126),'HaGVk':_0x1ef983(0x14b),'xtGdB':_0x1ef983(0x14e),'WtdZa':_0x1ef983(0x123),'RfpJo':'ARK','Qeamv':_0x1ef983(0x134),'NceHx':_0x1ef983(0x12f),'ZzIdN':_0x1ef983(0x149),'XnQQt':'FACE','vpByb':_0x1ef983(0x132),'wmSZt':_0x1ef983(0x13b)},_0x60214e=_0x25e064[_0x1ef983(0x11f)][_0x1ef983(0x11d)]('|'),_0x4bf470=0x0;while(!![]){switch(_0x60214e[_0x4bf470++]){case'0':_0x323015[_0x323015['PTT']=0x4]=_0x25e064[_0x1ef983(0x14a)];continue;case'1':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x143)]]=0x3]=_0x25e064[_0x1ef983(0x143)];continue;case'2':_0x323015[_0x323015[_0x1ef983(0x123)]=0x2]=_0x25e064[_0x1ef983(0x12c)];continue;case'3':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x13a)]]=0xa]=_0x1ef983(0x154);continue;case'4':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x128)]]=0x5]=_0x1ef983(0x134);continue;case'5':_0x323015[_0x323015[_0x1ef983(0x12f)]=0x1]=_0x25e064[_0x1ef983(0x15b)];continue;case'6':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x11e)]]=0xe]=_0x25e064['ZzIdN'];continue;case'7':_0x323015[_0x323015[_0x25e064['XnQQt']]=0x6]=_0x25e064[_0x1ef983(0x124)];continue;case'8':_0x323015[_0x323015[_0x1ef983(0x132)]=0x7]=_0x25e064[_0x1ef983(0x14f)];continue;case'9':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x135)]]=0xb]=_0x25e064[_0x1ef983(0x135)];continue;}break;}}(ElementType||(ElementType={})));function _0x4a1c(){var _0x4468cd=['friend','3053169tLqphF','atUser','3616300bmfOXh','NceHx','YVMRU','gif','dPxEq','split','ZzIdN','bOXfY','atAll','ITNdP','9ZGcyRc','PIC','XnQQt','921084OXAwUl','5|2|1|0|4|7|8|3|9|6','kicked','Qeamv','8TvyZzR','xYbhZ','12FRIxze','WtdZa','dMJVj','memberIncrease','TEXT','Hbwpk','temp','REPLY','normal2','VIDEO','wmSZt','axJWJ','6353469FxtmId','xELRo','MEMBER_NEW_TITLE','RfpJo','MFACE','snnpE','jpg','INVITE_NEW_MEMBER','LOrMY','https://multimedia.nt.qq.com.cn','RPS','https://gchat.qpic.cn','xtGdB','dice','853371cDnEpk','hQUKS','chatDevice','normal','MARKDOWN','HaGVk','PTT','2500842eLzGgd','ban','FILE','vpByb','BNbQh','JJzmr','UWhRd','EdEjn','ARK','tJhjg','3063210uUrBEY'];_0x4a1c=function(){return _0x4468cd;};return _0x4a1c();}export var PicType;(function(_0x56be8b){var _0x5ababd=_0x111f,_0x33d63b={'maLEd':_0x5ababd(0x11b),'dMJVj':_0x5ababd(0x13d)};_0x56be8b[_0x56be8b[_0x33d63b['maLEd']]=0x7d0]=_0x33d63b['maLEd'],_0x56be8b[_0x56be8b[_0x33d63b[_0x5ababd(0x12d)]]=0x3e8]=_0x33d63b[_0x5ababd(0x12d)];}(PicType||(PicType={})));export var PicSubType;(function(_0x47bccb){var _0x3a66a9=_0x111f,_0x5d78b8={'BNbQh':'normal','xYbhZ':'face'};_0x47bccb[_0x47bccb[_0x3a66a9(0x148)]=0x0]=_0x5d78b8[_0x3a66a9(0x150)],_0x47bccb[_0x47bccb[_0x5d78b8[_0x3a66a9(0x12a)]]=0x1]=_0x5d78b8[_0x3a66a9(0x12a)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x40855e){var _0x3bfe46=_0x111f,_0x2e61cf={'xrcFT':_0x3bfe46(0x120),'igiFS':_0x3bfe46(0x159)};_0x40855e[_0x40855e['notAt']=0x0]='notAt',_0x40855e[_0x40855e[_0x2e61cf['xrcFT']]=0x1]=_0x2e61cf['xrcFT'],_0x40855e[_0x40855e[_0x2e61cf['igiFS']]=0x2]=_0x2e61cf['igiFS'];}(AtType||(AtType={})));function _0x111f(_0x2c94ca,_0x295cd2){var _0x4a1c4f=_0x4a1c();return _0x111f=function(_0x111f6,_0x549a67){_0x111f6=_0x111f6-0x11a;var _0x8b9395=_0x4a1c4f[_0x111f6];return _0x8b9395;},_0x111f(_0x2c94ca,_0x295cd2);}export var ChatType;(function(_0xe08cc0){var _0x92f602=_0x111f,_0x40168c={'ITNdP':'friend','EdEjn':'group','YVMRU':'chatDevice','snnpE':_0x92f602(0x131)};_0xe08cc0[_0xe08cc0[_0x40168c[_0x92f602(0x121)]]=0x1]=_0x92f602(0x157),_0xe08cc0[_0xe08cc0[_0x40168c[_0x92f602(0x153)]]=0x2]=_0x40168c[_0x92f602(0x153)],_0xe08cc0[_0xe08cc0[_0x92f602(0x147)]=0x8]=_0x40168c[_0x92f602(0x11a)],_0xe08cc0[_0xe08cc0[_0x40168c[_0x92f602(0x13c)]]=0x64]=_0x92f602(0x131);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x359e7d(0x142);export const IMAGE_HTTP_HOST_NT=_0x359e7d(0x140);export var GrayTipElementSubType;(function(_0x2d1eba){var _0x3b9788=_0x359e7d,_0x3afe64={'dPxEq':_0x3b9788(0x13e),'UWhRd':_0x3b9788(0x139)};_0x2d1eba[_0x2d1eba['INVITE_NEW_MEMBER']=0xc]=_0x3afe64[_0x3b9788(0x11c)],_0x2d1eba[_0x2d1eba[_0x3afe64[_0x3b9788(0x152)]]=0x11]=_0x3afe64[_0x3b9788(0x152)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x5ad841){var _0x5c23db=_0x359e7d,_0x57ea7f={'Hbwpk':_0x5c23db(0x148),'hQUKS':_0x5c23db(0x133),'LOrMY':'dice'};_0x5ad841[_0x5ad841[_0x57ea7f[_0x5c23db(0x130)]]=0x1]=_0x57ea7f['Hbwpk'],_0x5ad841[_0x5ad841[_0x57ea7f['hQUKS']]=0x2]=_0x57ea7f[_0x5c23db(0x146)],_0x5ad841[_0x5ad841[_0x5c23db(0x144)]=0x3]=_0x57ea7f[_0x5c23db(0x13f)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1ffbf4){var _0x56773a=_0x359e7d,_0x229a0e={'xELRo':_0x56773a(0x144),'tJhjg':_0x56773a(0x141)};_0x1ffbf4[_0x1ffbf4[_0x56773a(0x144)]=0x166]=_0x229a0e[_0x56773a(0x138)],_0x1ffbf4[_0x1ffbf4[_0x229a0e[_0x56773a(0x155)]]=0x167]=_0x229a0e[_0x56773a(0x155)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4963dc){var _0x3a3c6=_0x359e7d,_0x4e0fff={'oWyZu':'memberIncrease','JJzmr':_0x3a3c6(0x127),'axJWJ':_0x3a3c6(0x14d)};_0x4963dc[_0x4963dc[_0x4e0fff['oWyZu']]=0x1]=_0x3a3c6(0x12e),_0x4963dc[_0x4963dc[_0x3a3c6(0x127)]=0x3]=_0x4e0fff[_0x3a3c6(0x151)],_0x4963dc[_0x4963dc[_0x4e0fff[_0x3a3c6(0x136)]]=0x8]=_0x4e0fff[_0x3a3c6(0x136)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x5a9a58=_0x4949;function _0x37f4(){var _0x380197=['gYlyK','VIDEO','IPqlm','ijUpJ','249909gZpWTw','25JpqGbC','dsKaS','RPS','face','fHbkQ','INVITE_NEW_MEMBER','123366amOmOZ','FILE','414OqtyfN','kMbed','gif','llgpC','YvRnv','tYbiH','60QXNFyg','friend','split','jjLIw','ARK','MARKDOWN','36056PCihym','normal','mHlMn','FACE','528ACoIER','memberIncrease','MEMBER_NEW_TITLE','SrIOG','YPmxy','sjSWz','ADVcm','eBUMU','7966YBZyHY','yXQbu','lhBTv','NbSbj','PIC','211656FQrEpS','PUAeH','REPLY','slDkK','hfqTu','OronX','vkXly','https://gchat.qpic.cn','group','chatDevice','LsIJd','notAt','RhYMb','jpg','Symoi','160444NmLsPM','temp','KccQs','dice','2263790tsqmWZ','8gKpIgC','https://multimedia.nt.qq.com.cn'];_0x37f4=function(){return _0x380197;};return _0x37f4();}(function(_0x4a5777,_0x4ad64e){var _0x53abdc=_0x4949,_0x415f91=_0x4a5777();while(!![]){try{var _0x2a7b58=-parseInt(_0x53abdc(0x17b))/0x1+-parseInt(_0x53abdc(0x18f))/0x2*(-parseInt(_0x53abdc(0x19c))/0x3)+-parseInt(_0x53abdc(0x18a))/0x4*(-parseInt(_0x53abdc(0x196))/0x5)+parseInt(_0x53abdc(0x16e))/0x6*(parseInt(_0x53abdc(0x176))/0x7)+-parseInt(_0x53abdc(0x1aa))/0x8*(-parseInt(_0x53abdc(0x19e))/0x9)+-parseInt(_0x53abdc(0x18e))/0xa+parseInt(_0x53abdc(0x195))/0xb*(-parseInt(_0x53abdc(0x1a4))/0xc);if(_0x2a7b58===_0x4ad64e)break;else _0x415f91['push'](_0x415f91['shift']());}catch(_0x1e2976){_0x415f91['push'](_0x415f91['shift']());}}}(_0x37f4,0x1d82f));export var ElementType;(function(_0x403e2a){var _0x264507=_0x4949,_0x4b29ab={'LsIJd':'3|6|8|2|9|1|4|0|5|7','dsKaS':'ARK','mHlMn':_0x264507(0x16d),'NbSbj':'PTT','eBUMU':'TEXT','ADVcm':_0x264507(0x17d),'tYbiH':'MFACE','lhBTv':_0x264507(0x17a),'vkXly':_0x264507(0x1a9),'tAOeJ':_0x264507(0x19d),'PUAeH':_0x264507(0x192)},_0x402c46=_0x4b29ab[_0x264507(0x185)][_0x264507(0x1a6)]('|'),_0x1e5e6e=0x0;while(!![]){switch(_0x402c46[_0x1e5e6e++]){case'0':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x197)]]=0xa]=_0x264507(0x1a8);continue;case'1':_0x403e2a[_0x403e2a[_0x4b29ab['mHlMn']]=0x6]=_0x4b29ab[_0x264507(0x16c)];continue;case'2':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x179)]]=0x4]=_0x4b29ab['NbSbj'];continue;case'3':_0x403e2a[_0x403e2a[_0x4b29ab['eBUMU']]=0x1]=_0x4b29ab[_0x264507(0x175)];continue;case'4':_0x403e2a[_0x403e2a[_0x4b29ab['ADVcm']]=0x7]=_0x4b29ab[_0x264507(0x174)];continue;case'5':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x1a3)]]=0xb]=_0x4b29ab['tYbiH'];continue;case'6':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x178)]]=0x2]='PIC';continue;case'7':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x181)]]=0xe]='MARKDOWN';continue;case'8':_0x403e2a[_0x403e2a[_0x264507(0x19d)]=0x3]=_0x4b29ab['tAOeJ'];continue;case'9':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x17c)]]=0x5]=_0x264507(0x192);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x351cd2){var _0x568d33=_0x4949,_0x409023={'KccQs':_0x568d33(0x1a0),'PEAGN':_0x568d33(0x188)};_0x351cd2[_0x351cd2[_0x409023['KccQs']]=0x7d0]=_0x409023[_0x568d33(0x18c)],_0x351cd2[_0x351cd2[_0x409023['PEAGN']]=0x3e8]=_0x409023['PEAGN'];}(PicType||(PicType={})));export var PicSubType;(function(_0x330096){var _0x414679=_0x4949,_0x2b3959={'YPmxy':_0x414679(0x1ab),'Symoi':_0x414679(0x199)};_0x330096[_0x330096[_0x2b3959[_0x414679(0x172)]]=0x0]=_0x2b3959[_0x414679(0x172)],_0x330096[_0x330096[_0x2b3959[_0x414679(0x189)]]=0x1]=_0x414679(0x199);}(PicSubType||(PicSubType={})));function _0x4949(_0x50e004,_0x12cfee){var _0x37f4bd=_0x37f4();return _0x4949=function(_0x49496c,_0x4fb0ff){_0x49496c=_0x49496c-0x16c;var _0x320641=_0x37f4bd[_0x49496c];return _0x320641;},_0x4949(_0x50e004,_0x12cfee);}export var AtType;(function(_0x2e2ccf){var _0xb5b6a4=_0x4949,_0x455b8a={'IPqlm':_0xb5b6a4(0x186),'SrIOG':'atAll','ijUpJ':'atUser'};_0x2e2ccf[_0x2e2ccf[_0xb5b6a4(0x186)]=0x0]=_0x455b8a[_0xb5b6a4(0x193)],_0x2e2ccf[_0x2e2ccf['atAll']=0x1]=_0x455b8a[_0xb5b6a4(0x171)],_0x2e2ccf[_0x2e2ccf[_0x455b8a[_0xb5b6a4(0x194)]]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x1cba8b){var _0x1c0cff=_0x4949,_0x462f87={'jjLIw':_0x1c0cff(0x1a5),'fylbZ':_0x1c0cff(0x183),'hfqTu':_0x1c0cff(0x184),'YvRnv':_0x1c0cff(0x18b)};_0x1cba8b[_0x1cba8b[_0x462f87[_0x1c0cff(0x1a7)]]=0x1]=_0x462f87[_0x1c0cff(0x1a7)],_0x1cba8b[_0x1cba8b[_0x1c0cff(0x183)]=0x2]=_0x462f87['fylbZ'],_0x1cba8b[_0x1cba8b[_0x462f87[_0x1c0cff(0x17f)]]=0x8]=_0x462f87[_0x1c0cff(0x17f)],_0x1cba8b[_0x1cba8b[_0x1c0cff(0x18b)]=0x64]=_0x462f87[_0x1c0cff(0x1a2)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x5a9a58(0x182);export const IMAGE_HTTP_HOST_NT=_0x5a9a58(0x190);export var GrayTipElementSubType;(function(_0x12a09c){var _0x41554f=_0x5a9a58,_0x41e9da={'OronX':_0x41554f(0x19b),'gYlyK':_0x41554f(0x170)};_0x12a09c[_0x12a09c[_0x41e9da[_0x41554f(0x180)]]=0xc]=_0x41554f(0x19b),_0x12a09c[_0x12a09c[_0x41e9da[_0x41554f(0x191)]]=0x11]=_0x41e9da[_0x41554f(0x191)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x5c05f2){var _0x24ad62=_0x5a9a58,_0x335a08={'fHbkQ':_0x24ad62(0x1ab),'yXQbu':'normal2','ZhPJj':_0x24ad62(0x18d)};_0x5c05f2[_0x5c05f2[_0x335a08[_0x24ad62(0x19a)]]=0x1]=_0x335a08[_0x24ad62(0x19a)],_0x5c05f2[_0x5c05f2[_0x335a08['yXQbu']]=0x2]=_0x335a08[_0x24ad62(0x177)],_0x5c05f2[_0x5c05f2[_0x24ad62(0x18d)]=0x3]=_0x335a08['ZhPJj'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x5d7b20){var _0x3d76d7=_0x5a9a58,_0x484995={'RhYMb':_0x3d76d7(0x18d),'llgpC':_0x3d76d7(0x198)};_0x5d7b20[_0x5d7b20[_0x484995[_0x3d76d7(0x187)]]=0x166]=_0x484995[_0x3d76d7(0x187)],_0x5d7b20[_0x5d7b20[_0x3d76d7(0x198)]=0x167]=_0x484995[_0x3d76d7(0x1a1)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x5996ae){var _0x360870=_0x5a9a58,_0x1183cc={'sjSWz':_0x360870(0x16f),'slDkK':'kicked','kMbed':'ban'};_0x5996ae[_0x5996ae[_0x1183cc[_0x360870(0x173)]]=0x1]=_0x1183cc[_0x360870(0x173)],_0x5996ae[_0x5996ae[_0x1183cc['slDkK']]=0x3]=_0x1183cc[_0x360870(0x17e)],_0x5996ae[_0x5996ae[_0x1183cc[_0x360870(0x19f)]]=0x8]=_0x1183cc['kMbed'];}(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 77ef6011..2e87277e 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x11bd49,_0x4a6b55){var _0x1140aa=_0xb159,_0x5488b9=_0x11bd49();while(!![]){try{var _0x281b74=-parseInt(_0x1140aa(0xcf))/0x1*(-parseInt(_0x1140aa(0xe1))/0x2)+parseInt(_0x1140aa(0xea))/0x3*(-parseInt(_0x1140aa(0xf4))/0x4)+parseInt(_0x1140aa(0xec))/0x5+-parseInt(_0x1140aa(0xe4))/0x6+-parseInt(_0x1140aa(0xe2))/0x7+parseInt(_0x1140aa(0xdd))/0x8*(parseInt(_0x1140aa(0xeb))/0x9)+parseInt(_0x1140aa(0xd1))/0xa*(parseInt(_0x1140aa(0xd8))/0xb);if(_0x281b74===_0x4a6b55)break;else _0x5488b9['push'](_0x5488b9['shift']());}catch(_0x6300ee){_0x5488b9['push'](_0x5488b9['shift']());}}}(_0x21b9,0x291cf));export var GroupNotifyTypes;(function(_0x1213d0){var _0x1e2c99=_0xb159,_0x3c6cf9={'KBkLF':_0x1e2c99(0xdc),'ufAPI':_0x1e2c99(0xe6),'jCVFk':_0x1e2c99(0xe9),'szena':'ADMIN_SET','dqDvM':'INVITE_ME','Ecpkw':_0x1e2c99(0xd0),'dSjzj':_0x1e2c99(0xd5),'tJSjf':_0x1e2c99(0xf0)},_0x839c25='4|6|0|3|1|5|2|7'[_0x1e2c99(0xd3)]('|'),_0x55c032=0x0;while(!![]){switch(_0x839c25[_0x55c032++]){case'0':_0x1213d0[_0x1213d0['JOIN_REQUEST']=0x7]=_0x3c6cf9[_0x1e2c99(0xe0)];continue;case'1':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xda)]]=0x9]=_0x3c6cf9[_0x1e2c99(0xda)];continue;case'2':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xdf)]]=0xc]=_0x3c6cf9[_0x1e2c99(0xdf)];continue;case'3':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xef)]]=0x8]=_0x1e2c99(0xe7);continue;case'4':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xe5)]]=0x1]=_0x3c6cf9[_0x1e2c99(0xe5)];continue;case'5':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xd6)]]=0xb]=_0x3c6cf9[_0x1e2c99(0xd6)];continue;case'6':_0x1213d0[_0x1213d0['INVITED_JOIN']=0x4]=_0x3c6cf9[_0x1e2c99(0xd9)];continue;case'7':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xf1)]]=0xd]=_0x3c6cf9[_0x1e2c99(0xf1)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0xb159(_0x3693bf,_0xc16c38){var _0x21b991=_0x21b9();return _0xb159=function(_0xb159b1,_0x2f2f3e){_0xb159b1=_0xb159b1-0xce;var _0x2ef46a=_0x21b991[_0xb159b1];return _0x2ef46a;},_0xb159(_0x3693bf,_0xc16c38);}export var GroupNotifyStatus;(function(_0x4adee5){var _0x622076=_0xb159,_0x5efb83={'ZmiXQ':_0x622076(0xee),'rcuor':_0x622076(0xdb),'BAJDf':_0x622076(0xde),'AOCHp':_0x622076(0xe8)};_0x4adee5[_0x4adee5['IGNORE']=0x0]=_0x5efb83[_0x622076(0xf3)],_0x4adee5[_0x4adee5[_0x622076(0xdb)]=0x1]=_0x5efb83[_0x622076(0xed)],_0x4adee5[_0x4adee5[_0x5efb83[_0x622076(0xd2)]]=0x2]=_0x622076(0xde),_0x4adee5[_0x4adee5['REJECT']=0x3]=_0x5efb83[_0x622076(0xe3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x2faf71){var _0x4896a5=_0xb159,_0xdce34a={'MPvyq':_0x4896a5(0xd7),'oOdGz':_0x4896a5(0xd4)};_0x2faf71[_0x2faf71[_0xdce34a[_0x4896a5(0xce)]]=0x1]=_0x4896a5(0xd7),_0x2faf71[_0x2faf71[_0xdce34a[_0x4896a5(0xf2)]]=0x2]=_0xdce34a[_0x4896a5(0xf2)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));function _0x21b9(){var _0x44cbcf=['1437510HLIpru','rcuor','IGNORE','szena','ADMIN_UNSET_OTHER','tJSjf','oOdGz','ZmiXQ','4yMIRuo','MPvyq','8MnJAun','MEMBER_EXIT','1281070PsMhOV','BAJDf','split','reject','INVITED_JOIN','Ecpkw','approve','11TIHNkM','dSjzj','ufAPI','WAIT_HANDLE','JOIN_REQUEST','576824pVCRPz','APPROVE','jCVFk','KBkLF','3340pPKQVs','581245EIjuhA','AOCHp','1924284fCoUKm','dqDvM','KICK_MEMBER','ADMIN_SET','REJECT','ADMIN_UNSET','219390PfjxtG','27iqVTDB'];_0x21b9=function(){return _0x44cbcf;};return _0x21b9();} \ No newline at end of file +(function(_0xb61317,_0x270df9){var _0x350d7d=_0x1b82,_0x2c1cb2=_0xb61317();while(!![]){try{var _0x194b80=parseInt(_0x350d7d(0x174))/0x1+-parseInt(_0x350d7d(0x16f))/0x2*(-parseInt(_0x350d7d(0x160))/0x3)+-parseInt(_0x350d7d(0x173))/0x4+-parseInt(_0x350d7d(0x15f))/0x5*(-parseInt(_0x350d7d(0x180))/0x6)+parseInt(_0x350d7d(0x183))/0x7*(parseInt(_0x350d7d(0x17b))/0x8)+-parseInt(_0x350d7d(0x176))/0x9*(parseInt(_0x350d7d(0x184))/0xa)+parseInt(_0x350d7d(0x175))/0xb;if(_0x194b80===_0x270df9)break;else _0x2c1cb2['push'](_0x2c1cb2['shift']());}catch(_0x1009f7){_0x2c1cb2['push'](_0x2c1cb2['shift']());}}}(_0x89dd,0xca22e));function _0x89dd(){var _0x57d508=['APPROVE','2010jFZTzR','BeElz','INVITE_ME','2149bfzEOX','730TZfHBi','1020slbJcN','362301cPXxAV','WAIT_HANDLE','ADMIN_UNSET','sMpYt','ADMIN_SET','split','bgOnP','ADMIN_UNSET_OTHER','6|1|4|0|5|2|7|3','iyMPa','hGoXN','NNALF','INVITED_JOIN','FBDOz','JOIN_REQUEST','2eStTxF','MEMBER_EXIT','QQMNX','approve','3947852BoqHWw','761072uLwvgM','6695612SRMfhu','119187owsdVq','IGNORE','jEdEh','cRrVb','reject','31864azdUYY','kSeDb','KICK_MEMBER','gvXqx'];_0x89dd=function(){return _0x57d508;};return _0x89dd();}export var GroupNotifyTypes;function _0x1b82(_0x1cafcc,_0x7ae8cf){var _0x89dd7f=_0x89dd();return _0x1b82=function(_0x1b82d6,_0x38cf55){_0x1b82d6=_0x1b82d6-0x15f;var _0x5b000b=_0x89dd7f[_0x1b82d6];return _0x5b000b;},_0x1b82(_0x1cafcc,_0x7ae8cf);}(function(_0x284136){var _0x9534f8=_0x1b82,_0x5d3de2={'FBDOz':_0x9534f8(0x168),'gvXqx':_0x9534f8(0x164),'jEdEh':_0x9534f8(0x16c),'NNALF':_0x9534f8(0x170),'cRrVb':_0x9534f8(0x16e),'hGoXN':_0x9534f8(0x17d),'QQMNX':_0x9534f8(0x182),'sMpYt':_0x9534f8(0x162)},_0x32da35=_0x5d3de2[_0x9534f8(0x16d)][_0x9534f8(0x165)]('|'),_0x4900e4=0x0;while(!![]){switch(_0x32da35[_0x4900e4++]){case'0':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x17e)]]=0x8]=_0x5d3de2[_0x9534f8(0x17e)];continue;case'1':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x178)]]=0x4]=_0x5d3de2['jEdEh'];continue;case'2':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x16b)]]=0xb]=_0x5d3de2[_0x9534f8(0x16b)];continue;case'3':_0x284136[_0x284136[_0x9534f8(0x167)]=0xd]='ADMIN_UNSET_OTHER';continue;case'4':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x179)]]=0x7]=_0x5d3de2[_0x9534f8(0x179)];continue;case'5':_0x284136[_0x284136['KICK_MEMBER']=0x9]=_0x5d3de2[_0x9534f8(0x16a)];continue;case'6':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x171)]]=0x1]=_0x5d3de2[_0x9534f8(0x171)];continue;case'7':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x163)]]=0xc]=_0x5d3de2['sMpYt'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0xc13542){var _0xfa5986=_0x1b82,_0x1113f8={'iyMPa':_0xfa5986(0x177),'BeElz':_0xfa5986(0x161),'bgOnP':_0xfa5986(0x17f),'nespP':'REJECT'};_0xc13542[_0xc13542[_0x1113f8[_0xfa5986(0x169)]]=0x0]=_0x1113f8[_0xfa5986(0x169)],_0xc13542[_0xc13542[_0x1113f8[_0xfa5986(0x181)]]=0x1]=_0x1113f8[_0xfa5986(0x181)],_0xc13542[_0xc13542[_0x1113f8['bgOnP']]=0x2]=_0x1113f8[_0xfa5986(0x166)],_0xc13542[_0xc13542[_0x1113f8['nespP']]=0x3]=_0x1113f8['nespP'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x1da031){var _0x355448=_0x1b82,_0x556423={'kSeDb':_0x355448(0x172),'PIysw':_0x355448(0x17a)};_0x1da031[_0x1da031[_0x355448(0x172)]=0x1]=_0x556423[_0x355448(0x17c)],_0x1da031[_0x1da031[_0x556423['PIysw']]=0x2]=_0x355448(0x17a);}(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 3b9ed24f..b2b3bb95 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x3ee976,_0xa64d14){var _0xec1edf=_0x25c0,_0x2bd8fa=_0x3ee976();while(!![]){try{var _0x5705=-parseInt(_0xec1edf(0xc7))/0x1+parseInt(_0xec1edf(0xcd))/0x2+parseInt(_0xec1edf(0xce))/0x3*(-parseInt(_0xec1edf(0xc6))/0x4)+parseInt(_0xec1edf(0xc2))/0x5+-parseInt(_0xec1edf(0xcb))/0x6*(-parseInt(_0xec1edf(0xc3))/0x7)+-parseInt(_0xec1edf(0xc9))/0x8*(-parseInt(_0xec1edf(0xc5))/0x9)+-parseInt(_0xec1edf(0xcc))/0xa;if(_0x5705===_0xa64d14)break;else _0x2bd8fa['push'](_0x2bd8fa['shift']());}catch(_0x143f7d){_0x2bd8fa['push'](_0x2bd8fa['shift']());}}}(_0x2e55,0x6fb6c));export var Sex;function _0x25c0(_0x17fdd9,_0x2880bb){var _0x2e5508=_0x2e55();return _0x25c0=function(_0x25c032,_0x470880){_0x25c032=_0x25c032-0xc2;var _0x4f2ae6=_0x2e5508[_0x25c032];return _0x4f2ae6;},_0x25c0(_0x17fdd9,_0x2880bb);}function _0x2e55(){var _0x3be66c=['1260096VULntu','129HBtsVI','NFUlN','292765zAIUff','7WruVck','male','341973LBJSdT','76672ShnRlQ','127472rYNDnT','tucCh','104MsmiMj','unknown','1987314GIRmDo','1045050UDRkcl'];_0x2e55=function(){return _0x3be66c;};return _0x2e55();}(function(_0x2dd864){var _0x4790a8=_0x25c0,_0x36e2b1={'eSSAt':_0x4790a8(0xc4),'NFUlN':'female','tucCh':_0x4790a8(0xca)};_0x2dd864[_0x2dd864[_0x36e2b1['eSSAt']]=0x1]=_0x4790a8(0xc4),_0x2dd864[_0x2dd864[_0x36e2b1['NFUlN']]=0x2]=_0x36e2b1[_0x4790a8(0xcf)],_0x2dd864[_0x2dd864[_0x36e2b1[_0x4790a8(0xc8)]]=0xff]='unknown';}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x1f8af7,_0x317fdc){var _0x5f1b78=_0x2e63,_0x200bb3=_0x1f8af7();while(!![]){try{var _0x21f0fc=parseInt(_0x5f1b78(0xd2))/0x1+-parseInt(_0x5f1b78(0xdb))/0x2*(parseInt(_0x5f1b78(0xd5))/0x3)+parseInt(_0x5f1b78(0xd6))/0x4*(parseInt(_0x5f1b78(0xcf))/0x5)+-parseInt(_0x5f1b78(0xd4))/0x6*(-parseInt(_0x5f1b78(0xda))/0x7)+parseInt(_0x5f1b78(0xd7))/0x8+-parseInt(_0x5f1b78(0xd1))/0x9*(parseInt(_0x5f1b78(0xd3))/0xa)+-parseInt(_0x5f1b78(0xd8))/0xb;if(_0x21f0fc===_0x317fdc)break;else _0x200bb3['push'](_0x200bb3['shift']());}catch(_0x44f1fb){_0x200bb3['push'](_0x200bb3['shift']());}}}(_0x4075,0x63dd2));export var Sex;function _0x2e63(_0x58fbd9,_0x56d0b1){var _0x4075fb=_0x4075();return _0x2e63=function(_0x2e6325,_0x380b99){_0x2e6325=_0x2e6325-0xcc;var _0x688cd6=_0x4075fb[_0x2e6325];return _0x688cd6;},_0x2e63(_0x58fbd9,_0x56d0b1);}function _0x4075(){var _0x5f5221=['jpbkW','female','47865JwrPne','male','17487iOMuvT','509975CHUXHv','2450XkEnsM','246264IPQEsx','97068WeqSms','36lTYijD','1929040iUZUHl','2278507Qadhle','unknown','49yFGVsm','2DyOUpi','BRJPV'];_0x4075=function(){return _0x5f5221;};return _0x4075();}(function(_0x594a14){var _0x5629ad=_0x2e63,_0x10a9d6={'jpbkW':_0x5629ad(0xd0),'BRJPV':_0x5629ad(0xd9)};_0x594a14[_0x594a14[_0x10a9d6[_0x5629ad(0xcd)]]=0x1]=_0x10a9d6['jpbkW'],_0x594a14[_0x594a14[_0x5629ad(0xce)]=0x2]=_0x5629ad(0xce),_0x594a14[_0x594a14[_0x10a9d6[_0x5629ad(0xcc)]]=0xff]=_0x10a9d6['BRJPV'];}(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 4d237018..d2793a52 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x37e38c,_0x46b592){var _0x1ad48d=_0x1fc3,_0x3b8733=_0x37e38c();while(!![]){try{var _0x7c7bc0=parseInt(_0x1ad48d(0x1a9))/0x1*(parseInt(_0x1ad48d(0x1a4))/0x2)+-parseInt(_0x1ad48d(0x1a1))/0x3*(parseInt(_0x1ad48d(0x1a6))/0x4)+parseInt(_0x1ad48d(0x1a8))/0x5+-parseInt(_0x1ad48d(0x1a5))/0x6+parseInt(_0x1ad48d(0x1a7))/0x7*(parseInt(_0x1ad48d(0x1a2))/0x8)+parseInt(_0x1ad48d(0x1aa))/0x9*(-parseInt(_0x1ad48d(0x1a0))/0xa)+parseInt(_0x1ad48d(0x1a3))/0xb;if(_0x7c7bc0===_0x46b592)break;else _0x3b8733['push'](_0x3b8733['shift']());}catch(_0x237e37){_0x3b8733['push'](_0x3b8733['shift']());}}}(_0x26db,0x26046));import _0x1f10ff from'./wrapper';export*from'./adapters';function _0x1fc3(_0x516520,_0x465eaa){var _0x26db91=_0x26db();return _0x1fc3=function(_0x1fc324,_0xfeb36d){_0x1fc324=_0x1fc324-0x1a0;var _0x2fc4db=_0x26db91[_0x1fc324];return _0x2fc4db;},_0x1fc3(_0x516520,_0x465eaa);}function _0x26db(){var _0x21f0d7=['45ZpGKQN','466510yoNTNh','9GNsqeC','64PjrFGv','4209821sygikX','6AkkaNJ','1841946OcaNvT','192036YXZJBv','153643jhwZcT','1007925jClIza','26701CaIPmu'];_0x26db=function(){return _0x21f0d7;};return _0x26db();}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{_0x1f10ff as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x1aee2c,_0x118f93){var _0x2a6a78=_0x1210,_0x1c886a=_0x1aee2c();while(!![]){try{var _0x4a4965=parseInt(_0x2a6a78(0x1e5))/0x1*(parseInt(_0x2a6a78(0x1e9))/0x2)+parseInt(_0x2a6a78(0x1e6))/0x3+-parseInt(_0x2a6a78(0x1e7))/0x4*(parseInt(_0x2a6a78(0x1ea))/0x5)+parseInt(_0x2a6a78(0x1e4))/0x6+parseInt(_0x2a6a78(0x1ec))/0x7+parseInt(_0x2a6a78(0x1e8))/0x8+-parseInt(_0x2a6a78(0x1eb))/0x9;if(_0x4a4965===_0x118f93)break;else _0x1c886a['push'](_0x1c886a['shift']());}catch(_0x14d28d){_0x1c886a['push'](_0x1c886a['shift']());}}}(_0x20d6,0xb26fe));import _0x434817 from'./wrapper';function _0x20d6(){var _0x32e80a=['4099542aNDXbe','16rsbLoW','2019256qKYvsP','1214tMkdAZ','455985nblFhf','17964441rGWLvr','6094046LZzJGg','2080014fuAbeg','421GIyYwx'];_0x20d6=function(){return _0x32e80a;};return _0x20d6();}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';function _0x1210(_0x5c24bc,_0xedc63e){var _0x20d628=_0x20d6();return _0x1210=function(_0x1210b9,_0x462ec7){_0x1210b9=_0x1210b9-0x1e4;var _0x1e0660=_0x20d628[_0x1210b9];return _0x1e0660;},_0x1210(_0x5c24bc,_0xedc63e);}export*as Listeners from'./listeners';export*as Services from'./services';export{_0x434817 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 eeae3df4..f37a8cc8 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x292e66=_0x408c;(function(_0x5d01e5,_0x5b3407){var _0x5d9314=_0x408c,_0x5cbe11=_0x5d01e5();while(!![]){try{var _0x20fbf4=-parseInt(_0x5d9314(0x16b))/0x1+parseInt(_0x5d9314(0x158))/0x2+-parseInt(_0x5d9314(0x15d))/0x3+parseInt(_0x5d9314(0x161))/0x4+-parseInt(_0x5d9314(0x155))/0x5*(parseInt(_0x5d9314(0x167))/0x6)+parseInt(_0x5d9314(0x162))/0x7*(-parseInt(_0x5d9314(0x16a))/0x8)+parseInt(_0x5d9314(0x168))/0x9;if(_0x20fbf4===_0x5b3407)break;else _0x5cbe11['push'](_0x5cbe11['shift']());}catch(_0x44361e){_0x5cbe11['push'](_0x5cbe11['shift']());}}}(_0x9247,0x6796b));export class BuddyListener{[_0x292e66(0x157)](_0x410666){}['onAddMeSettingChanged'](_0x1ee735){}[_0x292e66(0x159)](_0x41a79d){}[_0x292e66(0x15e)](_0x4da590){}[_0x292e66(0x15c)](_0x5e88a5){}['onBuddyInfoChange'](_0x63ad24){}[_0x292e66(0x15a)](_0x1f487d){}[_0x292e66(0x165)](_0x1ade44){}['onBuddyReqChange'](_0x3da30d){}[_0x292e66(0x163)](_0x3ff216){}[_0x292e66(0x160)](_0x424323){}[_0x292e66(0x164)](_0x3640c1){}[_0x292e66(0x169)](_0x435444){}[_0x292e66(0x156)](_0x47c732){}[_0x292e66(0x15b)](_0x840f06){}[_0x292e66(0x15f)](_0x33e96d){}[_0x292e66(0x166)](_0x1f9127){}}function _0x408c(_0x2b4739,_0x21388f){var _0x92478b=_0x9247();return _0x408c=function(_0x408c30,_0x2a8add){_0x408c30=_0x408c30-0x155;var _0x451a53=_0x92478b[_0x408c30];return _0x451a53;},_0x408c(_0x2b4739,_0x21388f);}function _0x9247(){var _0x4d2755=['754527KgATFb','95dbDbOu','onDoubtBuddyReqUnreadNumChange','onAddBuddyNeedVerify','1663772CIeVOt','onAvatarUrlUpdated','onBuddyListChange','onNickUpdated','onBuddyDetailInfoChange','738636qYwbLb','onBlockChanged','onSmartInfos','onCheckBuddySettingResult','1362460vDnpGk','7kAhBlU','onBuddyReqUnreadCntChange','onDelBatchBuddyInfos','onBuddyRemarkUpdated','onSpacePermissionInfos','38478XIaISJ','5825007QVYHPs','onDoubtBuddyReqChange','2182712ELxQsd'];_0x9247=function(){return _0x4d2755;};return _0x9247();} \ No newline at end of file +var _0x5b31d1=_0x1c00;(function(_0x1562e6,_0x125799){var _0x4f579d=_0x1c00,_0x59ff20=_0x1562e6();while(!![]){try{var _0x5481af=parseInt(_0x4f579d(0x11e))/0x1+-parseInt(_0x4f579d(0x110))/0x2+parseInt(_0x4f579d(0x11b))/0x3*(parseInt(_0x4f579d(0x115))/0x4)+-parseInt(_0x4f579d(0x10f))/0x5+-parseInt(_0x4f579d(0x116))/0x6*(-parseInt(_0x4f579d(0x118))/0x7)+-parseInt(_0x4f579d(0x10a))/0x8*(-parseInt(_0x4f579d(0x120))/0x9)+parseInt(_0x4f579d(0x114))/0xa;if(_0x5481af===_0x125799)break;else _0x59ff20['push'](_0x59ff20['shift']());}catch(_0x52c068){_0x59ff20['push'](_0x59ff20['shift']());}}}(_0x1ed7,0xcf6df));function _0x1ed7(){var _0x27995a=['33QoEHkH','onBuddyReqChange','onBuddyDetailInfoChange','209470BPNwXP','onCheckBuddySettingResult','9xPjxLK','2291568hjbRVh','onSpacePermissionInfos','onSmartInfos','onDoubtBuddyReqUnreadNumChange','onBlockChanged','7494080tWbTwK','2454724eiOKBs','onBuddyReqUnreadCntChange','onAddBuddyNeedVerify','onAvatarUrlUpdated','6649520VOtCDu','337104AvljbA','1785486FjCfDk','onDoubtBuddyReqChange','35SfEhDD','onNickUpdated','onDelBatchBuddyInfos'];_0x1ed7=function(){return _0x27995a;};return _0x1ed7();}function _0x1c00(_0x3851e5,_0x181447){var _0x1ed762=_0x1ed7();return _0x1c00=function(_0x1c00f5,_0x2dba42){_0x1c00f5=_0x1c00f5-0x10a;var _0x2efc30=_0x1ed762[_0x1c00f5];return _0x2efc30;},_0x1c00(_0x3851e5,_0x181447);}export class BuddyListener{[_0x5b31d1(0x112)](_0x453b91){}['onAddMeSettingChanged'](_0x1d9bfb){}[_0x5b31d1(0x113)](_0x236b2a){}[_0x5b31d1(0x10e)](_0x20d723){}[_0x5b31d1(0x11d)](_0xb462af){}['onBuddyInfoChange'](_0x3d8309){}['onBuddyListChange'](_0x4f1450){}['onBuddyRemarkUpdated'](_0x43006a){}[_0x5b31d1(0x11c)](_0x4eb351){}[_0x5b31d1(0x111)](_0x49cdf5){}[_0x5b31d1(0x11f)](_0x1d1764){}[_0x5b31d1(0x11a)](_0x90005a){}[_0x5b31d1(0x117)](_0x1fe8f5){}[_0x5b31d1(0x10d)](_0x50c141){}[_0x5b31d1(0x119)](_0x203189){}[_0x5b31d1(0x10c)](_0x292caf){}[_0x5b31d1(0x10b)](_0x42900f){}} \ 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 885f5114..4b966301 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x1adcbf=_0x1b9b;(function(_0xca21c7,_0x160d92){var _0x19ced5=_0x1b9b,_0x9aa90a=_0xca21c7();while(!![]){try{var _0x1d5774=-parseInt(_0x19ced5(0x175))/0x1*(parseInt(_0x19ced5(0x17e))/0x2)+parseInt(_0x19ced5(0x178))/0x3*(parseInt(_0x19ced5(0x177))/0x4)+parseInt(_0x19ced5(0x17b))/0x5+parseInt(_0x19ced5(0x17f))/0x6*(parseInt(_0x19ced5(0x180))/0x7)+parseInt(_0x19ced5(0x176))/0x8+parseInt(_0x19ced5(0x179))/0x9+-parseInt(_0x19ced5(0x181))/0xa*(parseInt(_0x19ced5(0x17c))/0xb);if(_0x1d5774===_0x160d92)break;else _0x9aa90a['push'](_0x9aa90a['shift']());}catch(_0x47b6d9){_0x9aa90a['push'](_0x9aa90a['shift']());}}}(_0xe79e,0x933c4));function _0xe79e(){var _0x3e245d=['6139152QawvHJ','8516wmUcin','1287mBugaw','10121778FinZwJ','onSessionListChanged','1788210TLwlms','19420753DBHaDu','onFileSearch','2042442OcBbVA','1360806qxjsRO','7HHPthi','10UDEYho','1siONvR'];_0xe79e=function(){return _0x3e245d;};return _0xe79e();}function _0x1b9b(_0x11c4ac,_0x107115){var _0xe79e5f=_0xe79e();return _0x1b9b=function(_0x1b9b32,_0xb2be5a){_0x1b9b32=_0x1b9b32-0x175;var _0x445aab=_0xe79e5f[_0x1b9b32];return _0x445aab;},_0x1b9b(_0x11c4ac,_0x107115);}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x49cc07){}[_0x1adcbf(0x17a)](..._0x2f732c){}['onSessionChanged'](..._0x50aa79){}['onFileListChanged'](..._0x261e02){}[_0x1adcbf(0x17d)](..._0x2a3c4e){}} \ No newline at end of file +function _0x2b21(_0x3826a4,_0x5636fd){var _0xe01c17=_0xe01c();return _0x2b21=function(_0x2b219f,_0x5a54e0){_0x2b219f=_0x2b219f-0x89;var _0x421d92=_0xe01c17[_0x2b219f];return _0x421d92;},_0x2b21(_0x3826a4,_0x5636fd);}var _0x132aac=_0x2b21;(function(_0x604025,_0x1c7b45){var _0x173978=_0x2b21,_0x1c04ae=_0x604025();while(!![]){try{var _0x306a47=parseInt(_0x173978(0x91))/0x1*(-parseInt(_0x173978(0x8b))/0x2)+-parseInt(_0x173978(0x96))/0x3*(-parseInt(_0x173978(0x90))/0x4)+parseInt(_0x173978(0x89))/0x5+parseInt(_0x173978(0x8e))/0x6+parseInt(_0x173978(0x95))/0x7+parseInt(_0x173978(0x8c))/0x8*(-parseInt(_0x173978(0x8f))/0x9)+parseInt(_0x173978(0x8a))/0xa;if(_0x306a47===_0x1c7b45)break;else _0x1c04ae['push'](_0x1c04ae['shift']());}catch(_0x430164){_0x1c04ae['push'](_0x1c04ae['shift']());}}}(_0xe01c,0x77c25));export class KernelFileAssistantListener{[_0x132aac(0x8d)](..._0x28cf0f){}['onSessionListChanged'](..._0x189e7e){}[_0x132aac(0x93)](..._0x280a63){}[_0x132aac(0x94)](..._0x5e7487){}[_0x132aac(0x92)](..._0x81b84a){}}function _0xe01c(){var _0x5ac2b4=['onFileStatusChanged','1796604mZhikg','18iwdFMG','132VoHCKs','1631jowkpL','onFileSearch','onSessionChanged','onFileListChanged','1414385YbkZJc','9957OHlxbP','2449305kozXaP','3634010kGbeTt','638NcuvUh','1813824CKLEHK'];_0xe01c=function(){return _0x5ac2b4;};return _0xe01c();} \ 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 662db890..cc8c37ee 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x45c6fd=_0x4afb;function _0x4afb(_0x128d80,_0x536c80){var _0x6e12e9=_0x6e12();return _0x4afb=function(_0x4afbb8,_0x1b8dba){_0x4afbb8=_0x4afbb8-0x19b;var _0x4eb82f=_0x6e12e9[_0x4afbb8];return _0x4eb82f;},_0x4afb(_0x128d80,_0x536c80);}(function(_0x4ebaf9,_0x5da66f){var _0x391e1c=_0x4afb,_0x2ba5ab=_0x4ebaf9();while(!![]){try{var _0x588696=-parseInt(_0x391e1c(0x19c))/0x1*(-parseInt(_0x391e1c(0x1aa))/0x2)+parseInt(_0x391e1c(0x19d))/0x3+-parseInt(_0x391e1c(0x1a6))/0x4+parseInt(_0x391e1c(0x1c6))/0x5+parseInt(_0x391e1c(0x1bf))/0x6*(parseInt(_0x391e1c(0x1b8))/0x7)+parseInt(_0x391e1c(0x1ca))/0x8+parseInt(_0x391e1c(0x1b0))/0x9*(-parseInt(_0x391e1c(0x1ac))/0xa);if(_0x588696===_0x5da66f)break;else _0x2ba5ab['push'](_0x2ba5ab['shift']());}catch(_0x317fba){_0x2ba5ab['push'](_0x2ba5ab['shift']());}}}(_0x6e12,0x4c78a));function _0x6e12(){var _0x8c6c5e=['onShutUpMemberListChanged','24wSzRje','onGroupBulletinRichMediaDownloadComplete','venrb','onGroupStatisticInfoChange','onGroupExtListUpdate:','pHhwj','onGroupArkInviteStateResult','907035KODyda','onJoinGroupNotify:','onGroupNotifiesUpdated:','onGroupConfMemberChange:','90176zDrcve','onGroupListUpdate:','onGetGroupBulletinListResult','onMemberInfoChange','log','jahJE','uReCS','onGroupNotifiesUnreadCountUpdated','zfmRu','onMemberInfoChange:','onGroupSingleScreenNotifies:','onGroupListUpdate','onShutUpMemberListChanged:','onSearchMemberChange','1FgRLhO','1659246uJaKfG','MzyMe','onGroupFirstBulletinNotify:','onGroupBulletinChange','onGroupAllInfoChange','onGroupDetailInfoChange','onGroupExtListUpdate','onGroupSingleScreenNotifies','onGroupMemberLevelInfoChange:','908012Hwhukl','onGroupAllInfoChange:','izUOa','onSearchMemberChange:','932732sxOaiR','onMemberListChange:','285980WSRvvS','onGroupArkInviteStateResult:','onGroupBulletinChange:','onMemberListChange','261oszkzb','wwAVH','onGroupNotifiesUpdated','onGroupBulletinRemindNotify','KvSAK','onGroupMemberLevelInfoChange','onGroupBulletinRichMediaDownloadComplete:','onGroupFirstBulletinNotify','275527hIaomB','onGroupStatisticInfoChange:','onGroupConfMemberChange','onJoinGroupNotify','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNoVerifyFlag:'];_0x6e12=function(){return _0x8c6c5e;};return _0x6e12();}export class GroupListener{[_0x45c6fd(0x1b5)](..._0x326153){}[_0x45c6fd(0x1cc)](..._0x5205c1){}['onGroupAllInfoChange'](..._0x11d0d2){}[_0x45c6fd(0x1a0)](..._0x2b1f9b){}[_0x45c6fd(0x1b3)](..._0x14dad5){}[_0x45c6fd(0x1c5)](..._0x4c2c2e){}[_0x45c6fd(0x1c0)](..._0x555b74){}[_0x45c6fd(0x1ba)](..._0x20118d){}[_0x45c6fd(0x1a2)](..._0x2bc25a){}[_0x45c6fd(0x1a3)](..._0x1b518b){}[_0x45c6fd(0x1b7)](..._0x8af8c3){}[_0x45c6fd(0x1d5)](_0x5cffbc,_0x94dc02){}['onGroupNotifiesUpdated'](_0x364917,_0x3591dd){}['onGroupBulletinRichMediaProgressUpdate'](..._0x47e949){}[_0x45c6fd(0x1d1)](..._0xddcf97){}[_0x45c6fd(0x1a4)](_0x43deae,_0x44ccc4,_0x20bae1){}['onGroupsMsgMaskResult'](..._0x2cb6f1){}[_0x45c6fd(0x1c2)](..._0x570f0a){}['onJoinGroupNotify'](..._0x4b1467){}['onJoinGroupNoVerifyFlag'](..._0x520e9e){}['onMemberInfoChange'](_0x2c9291,_0x3701b2,_0x583871){}[_0x45c6fd(0x1af)](_0x508f25){}[_0x45c6fd(0x19b)](..._0x2dcc0d){}[_0x45c6fd(0x1be)](..._0x3484c2){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x5cf702){var _0x55a16e=_0x45c6fd,_0x3948d8={'jahJE':_0x55a16e(0x1a5)};console['log'](_0x3948d8[_0x55a16e(0x1cf)],..._0x5cf702);}[_0x45c6fd(0x1cc)](..._0x271576){var _0x26f41d=_0x45c6fd;console[_0x26f41d(0x1ce)]('onGetGroupBulletinListResult:',..._0x271576);}[_0x45c6fd(0x1a1)](..._0x198db6){var _0xb2ec1c=_0x45c6fd,_0x1dbd6f={'pHhwj':_0xb2ec1c(0x1a7)};console[_0xb2ec1c(0x1ce)](_0x1dbd6f[_0xb2ec1c(0x1c4)],..._0x198db6);}[_0x45c6fd(0x1a0)](..._0x4cacbf){var _0x567b08=_0x45c6fd,_0x186dda={'MzyMe':_0x567b08(0x1ae)};console['log'](_0x186dda[_0x567b08(0x19e)],..._0x4cacbf);}[_0x45c6fd(0x1b3)](..._0x41e52c){var _0xb64e69=_0x45c6fd,_0x154c1c={'KvSAK':'onGroupBulletinRemindNotify:'};console[_0xb64e69(0x1ce)](_0x154c1c[_0xb64e69(0x1b4)],..._0x41e52c);}[_0x45c6fd(0x1c5)](..._0x16ab83){var _0x533e00=_0x45c6fd,_0x1e17d3={'uReCS':_0x533e00(0x1ad)};console['log'](_0x1e17d3[_0x533e00(0x1d0)],..._0x16ab83);}['onGroupBulletinRichMediaDownloadComplete'](..._0x436127){var _0x43ee10=_0x45c6fd,_0x4f6b64={'BpTLB':_0x43ee10(0x1b6)};console[_0x43ee10(0x1ce)](_0x4f6b64['BpTLB'],..._0x436127);}['onGroupConfMemberChange'](..._0x12c2ff){var _0x370acb=_0x45c6fd;console[_0x370acb(0x1ce)](_0x370acb(0x1c9),..._0x12c2ff);}[_0x45c6fd(0x1a2)](..._0x2fc3cc){var _0x53878b=_0x45c6fd;console[_0x53878b(0x1ce)]('onGroupDetailInfoChange:',..._0x2fc3cc);}['onGroupExtListUpdate'](..._0x51ad2c){var _0x20e283=_0x45c6fd;console[_0x20e283(0x1ce)](_0x20e283(0x1c3),..._0x51ad2c);}['onGroupFirstBulletinNotify'](..._0x122bfd){var _0x122775=_0x45c6fd,_0x596d68={'wwAVH':_0x122775(0x19f)};console[_0x122775(0x1ce)](_0x596d68[_0x122775(0x1b1)],..._0x122bfd);}[_0x45c6fd(0x1d5)](..._0x472d75){var _0x283dfb=_0x45c6fd;console[_0x283dfb(0x1ce)](_0x283dfb(0x1cb),..._0x472d75);}[_0x45c6fd(0x1b2)](..._0x4a8015){var _0x27cd13=_0x45c6fd;console['log'](_0x27cd13(0x1c8),..._0x4a8015);}[_0x45c6fd(0x1bc)](..._0x1f4c1a){var _0x569893=_0x45c6fd,_0x26ff6f={'zfmRu':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x569893(0x1ce)](_0x26ff6f[_0x569893(0x1d2)],..._0x1f4c1a);}['onGroupNotifiesUnreadCountUpdated'](..._0x30fc18){var _0x22701b=_0x45c6fd,_0x69f66f={'DfKOl':'onGroupNotifiesUnreadCountUpdated:'};console[_0x22701b(0x1ce)](_0x69f66f['DfKOl'],..._0x30fc18);}[_0x45c6fd(0x1a4)](_0x3f7d02,_0x2232f8,_0x108131){var _0x9c179f=_0x45c6fd;console[_0x9c179f(0x1ce)](_0x9c179f(0x1d4));}['onGroupsMsgMaskResult'](..._0x31cf36){var _0x2653d8=_0x45c6fd,_0x26bebe={'QzpDn':'onGroupsMsgMaskResult:'};console[_0x2653d8(0x1ce)](_0x26bebe['QzpDn'],..._0x31cf36);}[_0x45c6fd(0x1c2)](..._0x547c63){var _0x39d0c3=_0x45c6fd,_0x493dfc={'pMuDu':_0x39d0c3(0x1b9)};console['log'](_0x493dfc['pMuDu'],..._0x547c63);}[_0x45c6fd(0x1bb)](..._0x462964){var _0x269645=_0x45c6fd;console[_0x269645(0x1ce)](_0x269645(0x1c7),..._0x462964);}['onJoinGroupNoVerifyFlag'](..._0x8d9ba4){var _0x204ca4=_0x45c6fd;console[_0x204ca4(0x1ce)](_0x204ca4(0x1bd),..._0x8d9ba4);}[_0x45c6fd(0x1cd)](_0x3005fd,_0x14f3f9,_0x1c455){var _0x3cf564=_0x45c6fd;console[_0x3cf564(0x1ce)](_0x3cf564(0x1d3),_0x3005fd,_0x14f3f9,_0x1c455);}[_0x45c6fd(0x1af)](..._0x1bc1b2){var _0x4399e9=_0x45c6fd,_0x195d66={'venrb':_0x4399e9(0x1ab)};console[_0x4399e9(0x1ce)](_0x195d66[_0x4399e9(0x1c1)],..._0x1bc1b2);}[_0x45c6fd(0x19b)](..._0x155e22){var _0x49d47f=_0x45c6fd,_0x412939={'izUOa':_0x49d47f(0x1a9)};console[_0x49d47f(0x1ce)](_0x412939[_0x49d47f(0x1a8)],..._0x155e22);}['onShutUpMemberListChanged'](..._0xa5fc0c){var _0x53fc50=_0x45c6fd,_0x367e5b={'KPngO':_0x53fc50(0x1d6)};console['log'](_0x367e5b['KPngO'],..._0xa5fc0c);}} \ No newline at end of file +var _0x4aea98=_0x5a3a;(function(_0x1f105d,_0x501a2a){var _0x1f0de3=_0x5a3a,_0x483461=_0x1f105d();while(!![]){try{var _0x34d1ab=-parseInt(_0x1f0de3(0x134))/0x1+-parseInt(_0x1f0de3(0x129))/0x2*(-parseInt(_0x1f0de3(0x117))/0x3)+-parseInt(_0x1f0de3(0x143))/0x4+-parseInt(_0x1f0de3(0x139))/0x5*(parseInt(_0x1f0de3(0x158))/0x6)+parseInt(_0x1f0de3(0x118))/0x7*(-parseInt(_0x1f0de3(0x147))/0x8)+-parseInt(_0x1f0de3(0x148))/0x9*(-parseInt(_0x1f0de3(0x14c))/0xa)+parseInt(_0x1f0de3(0x130))/0xb;if(_0x34d1ab===_0x501a2a)break;else _0x483461['push'](_0x483461['shift']());}catch(_0x4cf73e){_0x483461['push'](_0x483461['shift']());}}}(_0x42f3,0xd902c));export class GroupListener{[_0x4aea98(0x157)](..._0x2a7309){}[_0x4aea98(0x131)](..._0x21b894){}[_0x4aea98(0x141)](..._0x4d312f){}['onGroupBulletinChange'](..._0x4827ed){}[_0x4aea98(0x119)](..._0x39ce57){}[_0x4aea98(0x114)](..._0x87252c){}[_0x4aea98(0x127)](..._0x278676){}[_0x4aea98(0x13c)](..._0x39dc4b){}['onGroupDetailInfoChange'](..._0x4a44d8){}['onGroupExtListUpdate'](..._0x2849d5){}[_0x4aea98(0x154)](..._0x40c6ad){}[_0x4aea98(0x122)](_0xdea810,_0x617750){}[_0x4aea98(0x128)](_0x36c96,_0x5bae7e){}['onGroupBulletinRichMediaProgressUpdate'](..._0x3230ae){}[_0x4aea98(0x11e)](..._0x3a0680){}[_0x4aea98(0x14d)](_0x26454b,_0x414de1,_0x1e56c1){}['onGroupsMsgMaskResult'](..._0x50643e){}[_0x4aea98(0x153)](..._0x20a5d9){}[_0x4aea98(0x13d)](..._0x365104){}[_0x4aea98(0x13b)](..._0x46bff2){}[_0x4aea98(0x138)](_0x1f24bd,_0x2491a4,_0x3c4409){}[_0x4aea98(0x14f)](_0x1b8440){}[_0x4aea98(0x12a)](..._0x1057b0){}['onShutUpMemberListChanged'](..._0x54d61e){}}function _0x5a3a(_0x29d23c,_0x512339){var _0x42f3c0=_0x42f3();return _0x5a3a=function(_0x5a3a03,_0x258fbb){_0x5a3a03=_0x5a3a03-0x113;var _0x5436e2=_0x42f3c0[_0x5a3a03];return _0x5436e2;},_0x5a3a(_0x29d23c,_0x512339);}export class DebugGroupListener{[_0x4aea98(0x157)](..._0x274067){var _0x357998=_0x4aea98,_0xd29761={'Yrplj':_0x357998(0x12b)};console['log'](_0xd29761[_0x357998(0x151)],..._0x274067);}[_0x4aea98(0x131)](..._0x5bd66f){var _0x130ce6=_0x4aea98;console['log'](_0x130ce6(0x142),..._0x5bd66f);}[_0x4aea98(0x141)](..._0x5a201a){var _0x2f63d1=_0x4aea98;console[_0x2f63d1(0x159)](_0x2f63d1(0x152),..._0x5a201a);}[_0x4aea98(0x124)](..._0x39d611){var _0x323e52=_0x4aea98,_0x3f4067={'YZmdR':_0x323e52(0x156)};console['log'](_0x3f4067[_0x323e52(0x132)],..._0x39d611);}[_0x4aea98(0x119)](..._0x51dded){var _0x265b09=_0x4aea98,_0x2fe241={'zalKJ':_0x265b09(0x12d)};console[_0x265b09(0x159)](_0x2fe241[_0x265b09(0x14b)],..._0x51dded);}[_0x4aea98(0x114)](..._0x50d03b){var _0x132957=_0x4aea98,_0x1fd410={'VWyGM':_0x132957(0x150)};console[_0x132957(0x159)](_0x1fd410[_0x132957(0x149)],..._0x50d03b);}['onGroupBulletinRichMediaDownloadComplete'](..._0x3b3d27){var _0x3d91dd=_0x4aea98;console[_0x3d91dd(0x159)](_0x3d91dd(0x140),..._0x3b3d27);}[_0x4aea98(0x13c)](..._0x2f1b14){var _0x1171a5=_0x4aea98,_0x5d099c={'oviIx':_0x1171a5(0x135)};console['log'](_0x5d099c['oviIx'],..._0x2f1b14);}[_0x4aea98(0x11b)](..._0x1181b0){var _0x531232=_0x4aea98;console[_0x531232(0x159)](_0x531232(0x120),..._0x1181b0);}[_0x4aea98(0x125)](..._0xa76002){var _0x30b6c5=_0x4aea98,_0x4c5e5d={'wVBnB':'onGroupExtListUpdate:'};console[_0x30b6c5(0x159)](_0x4c5e5d[_0x30b6c5(0x12e)],..._0xa76002);}[_0x4aea98(0x154)](..._0x4f754c){var _0x439726=_0x4aea98,_0x42c223={'pAzKw':_0x439726(0x155)};console[_0x439726(0x159)](_0x42c223[_0x439726(0x146)],..._0x4f754c);}[_0x4aea98(0x122)](..._0x24d2c0){var _0x3383a2=_0x4aea98,_0x36eff2={'tZLcZ':_0x3383a2(0x133)};console['log'](_0x36eff2['tZLcZ'],..._0x24d2c0);}[_0x4aea98(0x128)](..._0x443352){var _0x557c52=_0x4aea98,_0x1c5f8a={'sqmUx':'onGroupNotifiesUpdated:'};console[_0x557c52(0x159)](_0x1c5f8a[_0x557c52(0x11a)],..._0x443352);}[_0x4aea98(0x126)](..._0x109f6c){var _0x5b8354=_0x4aea98;console[_0x5b8354(0x159)](_0x5b8354(0x14a),..._0x109f6c);}['onGroupNotifiesUnreadCountUpdated'](..._0x2b12da){var _0x3940f0=_0x4aea98,_0x21f70b={'MByVc':_0x3940f0(0x144)};console['log'](_0x21f70b[_0x3940f0(0x136)],..._0x2b12da);}[_0x4aea98(0x14d)](_0x3a6983,_0x21dfd,_0x5ab2e5){var _0x168263=_0x4aea98,_0x5b139e={'CtLdP':_0x168263(0x121)};console[_0x168263(0x159)](_0x5b139e[_0x168263(0x13f)]);}[_0x4aea98(0x113)](..._0x199fe9){var _0x2ffd2d=_0x4aea98,_0x57c696={'QiDuT':_0x2ffd2d(0x11d)};console['log'](_0x57c696[_0x2ffd2d(0x11f)],..._0x199fe9);}[_0x4aea98(0x153)](..._0x2c4ca5){var _0x19561e=_0x4aea98,_0x1fb2e3={'gvTBd':_0x19561e(0x13a)};console[_0x19561e(0x159)](_0x1fb2e3[_0x19561e(0x116)],..._0x2c4ca5);}[_0x4aea98(0x13d)](..._0x2a005e){var _0x2d2e66=_0x4aea98,_0x2be436={'SwMWu':_0x2d2e66(0x137)};console[_0x2d2e66(0x159)](_0x2be436[_0x2d2e66(0x115)],..._0x2a005e);}[_0x4aea98(0x13b)](..._0x2d268d){var _0x97bf54=_0x4aea98;console[_0x97bf54(0x159)](_0x97bf54(0x145),..._0x2d268d);}['onMemberInfoChange'](_0x4d11a5,_0x30b58,_0x4c6d30){var _0x3a6b80=_0x4aea98,_0x5ed47b={'cBmgQ':'onMemberInfoChange:'};console[_0x3a6b80(0x159)](_0x5ed47b['cBmgQ'],_0x4d11a5,_0x30b58,_0x4c6d30);}[_0x4aea98(0x14f)](..._0x210ed3){var _0x9d40ad=_0x4aea98,_0x3bd2c9={'tpPSq':_0x9d40ad(0x13e)};console['log'](_0x3bd2c9[_0x9d40ad(0x12f)],..._0x210ed3);}[_0x4aea98(0x12a)](..._0x126416){var _0x10193b=_0x4aea98,_0x386f78={'WZnTk':_0x10193b(0x14e)};console[_0x10193b(0x159)](_0x386f78[_0x10193b(0x12c)],..._0x126416);}[_0x4aea98(0x11c)](..._0x58ab08){var _0x581ca1=_0x4aea98,_0x2fab7e={'iThhM':_0x581ca1(0x123)};console[_0x581ca1(0x159)](_0x2fab7e['iThhM'],..._0x58ab08);}}function _0x42f3(){var _0x560093=['onShutUpMemberListChanged','onGroupsMsgMaskResult:','onGroupNotifiesUnreadCountUpdated','QiDuT','onGroupDetailInfoChange:','onGroupSingleScreenNotifies:','onGroupListUpdate','onShutUpMemberListChanged:','onGroupBulletinChange','onGroupExtListUpdate','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRichMediaDownloadComplete','onGroupNotifiesUpdated','3191426okSCeA','onSearchMemberChange','onGroupMemberLevelInfoChange:','WZnTk','onGroupBulletinRemindNotify:','wVBnB','tpPSq','39201382OwovpQ','onGetGroupBulletinListResult','YZmdR','onGroupListUpdate:','1454826DjjCJH','onGroupConfMemberChange:','MByVc','onJoinGroupNotify:','onMemberInfoChange','37095IaWcDb','onGroupStatisticInfoChange:','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','onJoinGroupNotify','onMemberListChange:','CtLdP','onGroupBulletinRichMediaDownloadComplete:','onGroupAllInfoChange','onGetGroupBulletinListResult:','840060YYwmZk','onGroupNotifiesUnreadCountUpdated:','onJoinGroupNoVerifyFlag:','pAzKw','1469544TZwNJp','27PrZDZh','VWyGM','onGroupBulletinRichMediaProgressUpdate:','zalKJ','484970VNZEdA','onGroupSingleScreenNotifies','onSearchMemberChange:','onMemberListChange','onGroupArkInviteStateResult:','Yrplj','onGroupAllInfoChange:','onGroupStatisticInfoChange','onGroupFirstBulletinNotify','onGroupFirstBulletinNotify:','onGroupBulletinChange:','onGroupMemberLevelInfoChange','888NMLOZE','log','onGroupsMsgMaskResult','onGroupArkInviteStateResult','SwMWu','gvTBd','3AMRXWy','63ZHgSqH','onGroupBulletinRemindNotify','sqmUx','onGroupDetailInfoChange'];_0x42f3=function(){return _0x560093;};return _0x42f3();} \ 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 fb003371..0dfc8be5 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x2c9271=_0x2441;function _0x810d(){var _0x473b2d=['onQRCodeGetPicture','10068rgXaah','7HgAPvd','onQRCodeSessionFailed','onQRCodeLoginSucceed','onQRCodeSessionUserScaned','8657yleLIM','onLogoutFailed','onLoginState','onLoginConnected','onQRCodeLoginPollingStarted','7090ZAjOGf','308586YUcDTb','onLoginDisConnected','1kFcDHH','145QoEWJC','onQQLoginNumLimited','617538wbiYdZ','41181ZPGNke','onUserLoggedIn','2083815KKgubK','1611344GBgDjM','onQRCodeSessionQuickLoginFailed'];_0x810d=function(){return _0x473b2d;};return _0x810d();}function _0x2441(_0x57de59,_0x3c9504){var _0x810d97=_0x810d();return _0x2441=function(_0x2441c5,_0x2be93c){_0x2441c5=_0x2441c5-0xf4;var _0x172168=_0x810d97[_0x2441c5];return _0x172168;},_0x2441(_0x57de59,_0x3c9504);}(function(_0x5d2564,_0x3a6e7b){var _0x4ddbd6=_0x2441,_0x4f7c38=_0x5d2564();while(!![]){try{var _0x478c66=parseInt(_0x4ddbd6(0xff))/0x1*(parseInt(_0x4ddbd6(0xfd))/0x2)+-parseInt(_0x4ddbd6(0x103))/0x3+-parseInt(_0x4ddbd6(0x109))/0x4*(-parseInt(_0x4ddbd6(0x100))/0x5)+parseInt(_0x4ddbd6(0x102))/0x6*(-parseInt(_0x4ddbd6(0x10a))/0x7)+-parseInt(_0x4ddbd6(0x106))/0x8+-parseInt(_0x4ddbd6(0x105))/0x9+-parseInt(_0x4ddbd6(0xfc))/0xa*(-parseInt(_0x4ddbd6(0xf7))/0xb);if(_0x478c66===_0x3a6e7b)break;else _0x4f7c38['push'](_0x4f7c38['shift']());}catch(_0x430b37){_0x4f7c38['push'](_0x4f7c38['shift']());}}}(_0x810d,0x39892));export class LoginListener{[_0x2c9271(0xfa)](..._0x1f1596){}[_0x2c9271(0xfe)](..._0xd4f402){}['onLoginConnecting'](..._0x318d1f){}[_0x2c9271(0x108)](_0x45438e){}[_0x2c9271(0xfb)](..._0x42cefb){}[_0x2c9271(0xf6)](..._0x5bd745){}[_0x2c9271(0xf5)](_0x1aa59f){}[_0x2c9271(0xf4)](..._0x133a58){}['onLoginFailed'](..._0x179973){}['onLogoutSucceed'](..._0x427d4a){}[_0x2c9271(0xf8)](..._0x254160){}[_0x2c9271(0x104)](..._0x2aec2a){}[_0x2c9271(0x107)](..._0x1b9b75){}['onPasswordLoginFailed'](..._0x384c7a){}['OnConfirmUnusualDeviceFailed'](..._0x3f3b78){}[_0x2c9271(0x101)](..._0x5dfafe){}[_0x2c9271(0xf9)](..._0x31d398){}} \ No newline at end of file +function _0x562b(){var _0x90a643=['57240OlGCTp','onQRCodeSessionUserScaned','onQRCodeGetPicture','497nRvFVD','6642006bMjugo','onLoginConnected','onLoginState','onQRCodeLoginSucceed','1035670qINktu','onLogoutSucceed','onLoginConnecting','onQRCodeSessionQuickLoginFailed','1854146yGFPDF','onQQLoginNumLimited','onUserLoggedIn','2543268nJwiLU','531907dVAXwQ','5430357PygJNW','onQRCodeSessionFailed','onLoginFailed','onPasswordLoginFailed','onLogoutFailed','4phHaqd'];_0x562b=function(){return _0x90a643;};return _0x562b();}function _0x259e(_0x32526c,_0x2cc1e9){var _0x562b45=_0x562b();return _0x259e=function(_0x259e11,_0x19b748){_0x259e11=_0x259e11-0x1ea;var _0x50c811=_0x562b45[_0x259e11];return _0x50c811;},_0x259e(_0x32526c,_0x2cc1e9);}var _0x3f35bd=_0x259e;(function(_0x2318ed,_0x573f64){var _0x3b2077=_0x259e,_0x333e6d=_0x2318ed();while(!![]){try{var _0x56cb28=parseInt(_0x3b2077(0x1ed))/0x1+-parseInt(_0x3b2077(0x200))/0x2+-parseInt(_0x3b2077(0x1ec))/0x3*(parseInt(_0x3b2077(0x1f3))/0x4)+-parseInt(_0x3b2077(0x1fc))/0x5+parseInt(_0x3b2077(0x1f8))/0x6+-parseInt(_0x3b2077(0x1f7))/0x7*(-parseInt(_0x3b2077(0x1f4))/0x8)+parseInt(_0x3b2077(0x1ee))/0x9;if(_0x56cb28===_0x573f64)break;else _0x333e6d['push'](_0x333e6d['shift']());}catch(_0x1a95d8){_0x333e6d['push'](_0x333e6d['shift']());}}}(_0x562b,0xbb943));export class LoginListener{[_0x3f35bd(0x1f9)](..._0x59d7b3){}['onLoginDisConnected'](..._0x2a197e){}[_0x3f35bd(0x1fe)](..._0x1ecb31){}[_0x3f35bd(0x1f6)](_0x3b5682){}['onQRCodeLoginPollingStarted'](..._0x46a1b1){}[_0x3f35bd(0x1f5)](..._0x31df8c){}[_0x3f35bd(0x1fb)](_0x2b1def){}[_0x3f35bd(0x1ef)](..._0x2bfed6){}[_0x3f35bd(0x1f0)](..._0x437200){}[_0x3f35bd(0x1fd)](..._0x287801){}[_0x3f35bd(0x1f2)](..._0x114eb9){}[_0x3f35bd(0x1eb)](..._0x4daf39){}[_0x3f35bd(0x1ff)](..._0x3ba1d1){}[_0x3f35bd(0x1f1)](..._0x6fd9d6){}['OnConfirmUnusualDeviceFailed'](..._0x23cd5c){}[_0x3f35bd(0x1ea)](..._0x101231){}[_0x3f35bd(0x1fa)](..._0x1321ff){}} \ 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 9496f951..5fc38822 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x2185c5=_0x3921;function _0x3921(_0x9ad97a,_0xaf27b0){var _0x430a80=_0x430a();return _0x3921=function(_0x39218b,_0x483d16){_0x39218b=_0x39218b-0x133;var _0x157812=_0x430a80[_0x39218b];return _0x157812;},_0x3921(_0x9ad97a,_0xaf27b0);}(function(_0xf756aa,_0x49f595){var _0x46f57f=_0x3921,_0x434f22=_0xf756aa();while(!![]){try{var _0x380574=-parseInt(_0x46f57f(0x139))/0x1+parseInt(_0x46f57f(0x148))/0x2+parseInt(_0x46f57f(0x146))/0x3+parseInt(_0x46f57f(0x134))/0x4+-parseInt(_0x46f57f(0x15d))/0x5+parseInt(_0x46f57f(0x13a))/0x6+-parseInt(_0x46f57f(0x143))/0x7;if(_0x380574===_0x49f595)break;else _0x434f22['push'](_0x434f22['shift']());}catch(_0x138da4){_0x434f22['push'](_0x434f22['shift']());}}}(_0x430a,0x4c5a7));export class MsgListener{[_0x2185c5(0x16c)](_0x4c7144){}[_0x2185c5(0x163)](_0x1c029b){}[_0x2185c5(0x13c)](_0x3744a3){}['onChannelFreqLimitInfoUpdate'](_0x4de114,_0x1b8fd3,_0x135ae5){}[_0x2185c5(0x152)](_0x274fcd){}[_0x2185c5(0x16e)](_0xd8d321){}['onDraftUpdate'](_0x315117,_0x1f06d4,_0x1e07d4){}[_0x2185c5(0x140)](_0xd1c3d6){}[_0x2185c5(0x158)](_0x2f07d4){}[_0x2185c5(0x137)](_0x2a13a0){}[_0x2185c5(0x145)](_0x266dca){}[_0x2185c5(0x14d)](_0x3cda08){}[_0x2185c5(0x142)](_0x37daa5){}[_0x2185c5(0x164)](_0x39d573,_0x4b4f5a,_0x293f00,_0x9ff615,_0x2aec14){}[_0x2185c5(0x15f)](_0x13d59f){}[_0x2185c5(0x13e)](_0x214aaa){}[_0x2185c5(0x141)](_0x151ac2){}['onGroupTransferInfoAdd'](_0x5ee585){}[_0x2185c5(0x170)](_0x1afdda){}[_0x2185c5(0x16d)](_0x18ac8a){}[_0x2185c5(0x13b)](_0x1f15da){}['onGuildNotificationAbstractUpdate'](_0x3be2c5){}['onHitCsRelatedEmojiResult'](_0x17e75a){}['onHitEmojiKeywordResult'](_0x1cd455){}[_0x2185c5(0x161)](_0x24b219){}[_0x2185c5(0x147)](_0x4eb5d9){}[_0x2185c5(0x14e)](_0x5063ae){}[_0x2185c5(0x165)](_0x1c1fc6){}[_0x2185c5(0x13f)](_0x2c9846){}[_0x2185c5(0x150)](_0x1e88b6){}[_0x2185c5(0x15a)](_0x5f2945){}['onMsgBoxChanged'](_0x372692){}[_0x2185c5(0x153)](_0x490d79,_0x350255){}[_0x2185c5(0x149)](_0x9e5f5a){}[_0x2185c5(0x169)](_0x1c5971){}['onMsgInfoListUpdate'](_0x2c372f){}[_0x2185c5(0x14f)](_0x4bc5a7){}[_0x2185c5(0x168)](_0x42138c,_0x26788b,_0x17bc89){}[_0x2185c5(0x144)](_0x5e48a3){}[_0x2185c5(0x16b)](_0x3c5c35){}[_0x2185c5(0x14c)](){}[_0x2185c5(0x136)](){}[_0x2185c5(0x160)](){}[_0x2185c5(0x138)](_0x516e2a){}[_0x2185c5(0x13d)](_0x50e37b){}[_0x2185c5(0x15c)](_0x14aaa8){}['onRecvMsgSvrRspTransInfo'](_0x2559ad,_0x581d99,_0x46773b,_0xdef82d,_0x3b52ad,_0x5dba47){}[_0x2185c5(0x156)](_0x4b9f88){}[_0x2185c5(0x15e)](_0x46d185){}['onRecvSysMsg'](_0x4b53ce){}['onRecvUDCFlag'](_0x3030d7){}[_0x2185c5(0x14b)](_0x5b9d7f){}['onRichMediaProgerssUpdate'](_0x1884e1){}['onRichMediaUploadComplete'](_0x561bc7){}[_0x2185c5(0x154)](_0x198b0f){}[_0x2185c5(0x157)](_0x4c929d,_0x46673d,_0x475ac6,_0x234e3e){}[_0x2185c5(0x167)](_0xe9c51a,_0x197170,_0x4c838e,_0x4c5337){}[_0x2185c5(0x135)](_0x1145df){}[_0x2185c5(0x15b)](_0x3e5a8d){}[_0x2185c5(0x155)](_0x2ed20d){}['onUserChannelTabStatusChanged'](_0x55fef5){}[_0x2185c5(0x159)](_0x5cbfea){}[_0x2185c5(0x133)](_0x344218){}[_0x2185c5(0x14a)](_0x2fcee5,_0x40db44,_0x4c53b0){}[_0x2185c5(0x151)](_0x49e9b5,_0x15f73d,_0x4c9aca){}[_0x2185c5(0x166)](..._0x3d6630){}[_0x2185c5(0x16f)](..._0x33502e){}[_0x2185c5(0x16a)](..._0xb4171){}[_0x2185c5(0x162)](..._0x2b9a49){}}function _0x430a(){var _0x17a18e=['onKickedOffLine','onUserSecQualityChanged','onSysMsgNotification','onMsgRecall','onMsgInfoListAdd','onRedTouchChanged','onMsgSettingUpdate','onAddSendMsg','onGuildInteractiveUpdate','onCustomWithdrawConfigUpdate','onMsgWithRichLinkInfoUpdate','onGroupTransferInfoUpdate','onUserTabStatusChanged','1909468gcRSIt','onTempChatInfoUpdate','onNtMsgSyncEnd','onFeedEventUpdate','onReadFeedEventUpdate','342142OOVmNh','1089180cxasrk','onGuildMsgAbFlagChanged','onBroadcastHelperProgressUpdate','onRecvGroupGuildFlag','onGroupFileInfoUpdate','onLineDev','onEmojiDownloadComplete','onGroupGuildUpdate','onFirstViewGroupGuildMapping','6148023uKMMkg','onMsgSecurityNotify','onFileMsgCome','1850370TdeAmX','onImportOldDbProgressUpdate','1211428SczyJq','onMsgEventListUpdate','onlineStatusBigIconDownloadPush','onRichMediaDownloadComplete','onNtFirstViewMsgSyncEnd','onFirstViewDirectMsgUpdate','onInputStatusPush','onMsgQRCodeStatusChanged','onLogLevelChanged','onlineStatusSmallIconDownloadPush','onContactUnreadCntUpdate','onMsgDelete','onSearchGroupFileInfoUpdate','onUnreadCntUpdate','onRecvOnlineFileMsg','onSendMsgError','onEmojiResourceUpdate','onUserOnlineStatusChanged','onMsgAbstractUpdate','onUnreadCntAfterFirstView','onRecvMsg','1741135roVzvy','onRecvS2CMsg','onGroupFileInfoAdd','onNtMsgSyncStart','onHitRelatedEmojiResult','onBroadcastHelperProgerssUpdate','onBroadcastHelperDownloadComplete','onGrabPasswordRedBag'];_0x430a=function(){return _0x17a18e;};return _0x430a();} \ No newline at end of file +var _0x195723=_0x59fc;(function(_0x572e3e,_0x28a95d){var _0x55156c=_0x59fc,_0x6e7f27=_0x572e3e();while(!![]){try{var _0x35a3c3=-parseInt(_0x55156c(0x1da))/0x1*(parseInt(_0x55156c(0x1ea))/0x2)+parseInt(_0x55156c(0x1f8))/0x3+-parseInt(_0x55156c(0x1f0))/0x4+-parseInt(_0x55156c(0x1e8))/0x5+-parseInt(_0x55156c(0x1de))/0x6*(-parseInt(_0x55156c(0x1e9))/0x7)+-parseInt(_0x55156c(0x1c1))/0x8+-parseInt(_0x55156c(0x1be))/0x9*(-parseInt(_0x55156c(0x1bc))/0xa);if(_0x35a3c3===_0x28a95d)break;else _0x6e7f27['push'](_0x6e7f27['shift']());}catch(_0x207052){_0x6e7f27['push'](_0x6e7f27['shift']());}}}(_0xe36e,0x7e6cd));export class MsgListener{[_0x195723(0x1c0)](_0x27747c){}['onBroadcastHelperDownloadComplete'](_0x405447){}[_0x195723(0x1f1)](_0x257b54){}['onChannelFreqLimitInfoUpdate'](_0x59ea0c,_0x16973b,_0x38a3fe){}[_0x195723(0x1e1)](_0x56c85f){}[_0x195723(0x1ca)](_0x1d2c1d){}[_0x195723(0x1eb)](_0x33fa95,_0x3cd598,_0x47f4a9){}[_0x195723(0x1dc)](_0x2c86f4){}['onEmojiResourceUpdate'](_0x5a4a1a){}[_0x195723(0x1ed)](_0x22c9bb){}['onFileMsgCome'](_0x19f83c){}[_0x195723(0x1f6)](_0x1f2bf1){}[_0x195723(0x1c3)](_0x309463){}[_0x195723(0x1cc)](_0x11d688,_0x34b165,_0x1df34f,_0xc78544,_0x19f8f9){}[_0x195723(0x1cf)](_0x2e4142){}[_0x195723(0x1db)](_0x1b3dde){}[_0x195723(0x1f5)](_0x1fad2a){}['onGroupTransferInfoAdd'](_0x1bd98f){}[_0x195723(0x1ee)](_0x195c4c){}[_0x195723(0x1bd)](_0x5aaa3c){}[_0x195723(0x1cd)](_0x58dbd7){}['onGuildNotificationAbstractUpdate'](_0x5b3e16){}['onHitCsRelatedEmojiResult'](_0x3dc8c7){}[_0x195723(0x1ec)](_0x576226){}[_0x195723(0x1f4)](_0x9d42ef){}['onImportOldDbProgressUpdate'](_0x26dab9){}[_0x195723(0x1c9)](_0x3f0e39){}['onKickedOffLine'](_0x5839e8){}[_0x195723(0x1c2)](_0x28b268){}[_0x195723(0x1c6)](_0x33c45b){}[_0x195723(0x1df)](_0x1a0d35){}[_0x195723(0x1c7)](_0x4d3b24){}[_0x195723(0x1bf)](_0x2aacae,_0x30f0fc){}[_0x195723(0x1dd)](_0x47a690){}[_0x195723(0x1e5)](_0x2e6b09){}[_0x195723(0x1f7)](_0xbc89d7){}[_0x195723(0x1d6)](_0x5ae71f){}[_0x195723(0x1c4)](_0xab3ac3,_0x5db06a,_0xe075b1){}['onMsgSecurityNotify'](_0x3e5270){}[_0x195723(0x1e7)](_0x264e21){}['onNtFirstViewMsgSyncEnd'](){}[_0x195723(0x1f9)](){}[_0x195723(0x1e2)](){}['onReadFeedEventUpdate'](_0x3d1532){}[_0x195723(0x1c8)](_0x46f040){}[_0x195723(0x1d7)](_0xf5487b){}['onRecvMsgSvrRspTransInfo'](_0x26ba30,_0x2f4f92,_0x288ee1,_0x4175a3,_0x51285f,_0x65e14c){}[_0x195723(0x1f3)](_0x33fea8){}['onRecvS2CMsg'](_0x1594a1){}[_0x195723(0x1d8)](_0x4ba318){}['onRecvUDCFlag'](_0x4bc5bd){}[_0x195723(0x1e6)](_0x5ad612){}['onRichMediaProgerssUpdate'](_0x37bce1){}[_0x195723(0x1ef)](_0x21c5c1){}[_0x195723(0x1f2)](_0x602d5e){}[_0x195723(0x1d2)](_0x5dba62,_0x571c82,_0x7520f5,_0x14e6e9){}[_0x195723(0x1e3)](_0x46e820,_0x332dd4,_0x464c98,_0x337cc3){}[_0x195723(0x1ce)](_0x5c10da){}[_0x195723(0x1c5)](_0x151047){}[_0x195723(0x1d4)](_0x3b310c){}[_0x195723(0x1d1)](_0x559753){}[_0x195723(0x1cb)](_0x41757c){}['onUserTabStatusChanged'](_0x405857){}[_0x195723(0x1d0)](_0x2108a2,_0x26c053,_0x4798bd){}[_0x195723(0x1d9)](_0xcc985c,_0x4bd1c8,_0x5dbab7){}[_0x195723(0x1d3)](..._0x47d8fc){}[_0x195723(0x1e4)](..._0x48dad3){}[_0x195723(0x1d5)](..._0x5257af){}[_0x195723(0x1e0)](..._0x287be8){}}function _0x59fc(_0x1eddbe,_0x447ad2){var _0xe36e90=_0xe36e();return _0x59fc=function(_0x59fc4f,_0x2eb02d){_0x59fc4f=_0x59fc4f-0x1bc;var _0x3d0569=_0xe36e90[_0x59fc4f];return _0x3d0569;},_0x59fc(_0x1eddbe,_0x447ad2);}function _0xe36e(){var _0x2b0302=['onMsgInfoListUpdate','482274tOWfQH','onNtMsgSyncEnd','23920BuhBnv','onGuildInteractiveUpdate','8073dUWCGT','onMsgDelete','onAddSendMsg','4382688tfWBvO','onLineDev','onFirstViewGroupGuildMapping','onMsgRecall','onUnreadCntAfterFirstView','onLogLevelChanged','onMsgBoxChanged','onRecvGroupGuildFlag','onInputStatusPush','onCustomWithdrawConfigUpdate','onUserOnlineStatusChanged','onGrabPasswordRedBag','onGuildMsgAbFlagChanged','onTempChatInfoUpdate','onGroupFileInfoAdd','onlineStatusBigIconDownloadPush','onUserChannelTabStatusChanged','onSendMsgError','onUserSecQualityChanged','onUnreadCntUpdate','onRedTouchChanged','onMsgQRCodeStatusChanged','onRecvMsg','onRecvSysMsg','onlineStatusSmallIconDownloadPush','93qaEHzh','onGroupFileInfoUpdate','onEmojiDownloadComplete','onMsgEventListUpdate','34548lEvscF','onMsgAbstractUpdate','onBroadcastHelperProgerssUpdate','onContactUnreadCntUpdate','onNtMsgSyncStart','onSysMsgNotification','onMsgWithRichLinkInfoUpdate','onMsgInfoListAdd','onRichMediaDownloadComplete','onMsgSettingUpdate','881015pTGuAH','217ijltKi','21966oUFEvh','onDraftUpdate','onHitEmojiKeywordResult','onFeedEventUpdate','onGroupTransferInfoUpdate','onRichMediaUploadComplete','886340Qzbcfm','onBroadcastHelperProgressUpdate','onSearchGroupFileInfoUpdate','onRecvOnlineFileMsg','onHitRelatedEmojiResult','onGroupGuildUpdate','onFirstViewDirectMsgUpdate'];_0xe36e=function(){return _0x2b0302;};return _0xe36e();} \ 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 44e018b8..30e37e9e 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x3e15cf=_0x49b2;(function(_0xaf4c6f,_0x318fd3){var _0x388383=_0x49b2,_0x358be5=_0xaf4c6f();while(!![]){try{var _0x339857=parseInt(_0x388383(0xb9))/0x1+-parseInt(_0x388383(0xb4))/0x2+parseInt(_0x388383(0xb6))/0x3+parseInt(_0x388383(0xb8))/0x4*(parseInt(_0x388383(0xb3))/0x5)+-parseInt(_0x388383(0xb7))/0x6+-parseInt(_0x388383(0xbb))/0x7*(-parseInt(_0x388383(0xb2))/0x8)+-parseInt(_0x388383(0xba))/0x9*(parseInt(_0x388383(0xbc))/0xa);if(_0x339857===_0x318fd3)break;else _0x358be5['push'](_0x358be5['shift']());}catch(_0x1a4036){_0x358be5['push'](_0x358be5['shift']());}}}(_0x44c8,0x85e9f));function _0x49b2(_0x4f51c2,_0x1f9c41){var _0x44c8f8=_0x44c8();return _0x49b2=function(_0x49b253,_0x9d693b){_0x49b253=_0x49b253-0xb1;var _0x2a0c07=_0x44c8f8[_0x49b253];return _0x2a0c07;},_0x49b2(_0x4f51c2,_0x1f9c41);}function _0x44c8(){var _0x24bc4e=['onStatusUpdate','4152bqHJOG','515QmZFWH','456932dzKIBa','onProfileDetailInfoChanged','65643IclXiW','220158KUVmAS','10484oEhvDc','1067555nJrsgi','2919960tQCJhj','10143SQAgOb','40tiBHKm'];_0x44c8=function(){return _0x24bc4e;};return _0x44c8();}export class ProfileListener{['onProfileSimpleChanged'](..._0x4d695c){}[_0x3e15cf(0xb5)](_0x30d71e){}[_0x3e15cf(0xb1)](..._0x34420c){}['onSelfStatusChanged'](..._0x5b5343){}['onStrangerRemarkChanged'](..._0x412de4){}} \ No newline at end of file +var _0x3e3e82=_0x4618;function _0x4618(_0x1801b3,_0xdfa0b4){var _0x6a9dfa=_0x6a9d();return _0x4618=function(_0x461881,_0xa3ae68){_0x461881=_0x461881-0xe7;var _0x108efa=_0x6a9dfa[_0x461881];return _0x108efa;},_0x4618(_0x1801b3,_0xdfa0b4);}function _0x6a9d(){var _0x29e051=['onSelfStatusChanged','4whDuuY','onProfileSimpleChanged','25768mjFCVd','298182tvKpnI','2454OatKnq','onStatusUpdate','onStrangerRemarkChanged','345910fNRWgE','163040phJyvm','117jwKPym','94GBOfpn','78396PUpqvG','84bmrSSr','onProfileDetailInfoChanged','1573524drneuF','1617Qhrtxm'];_0x6a9d=function(){return _0x29e051;};return _0x6a9d();}(function(_0xea72d1,_0x3ea427){var _0xb88b83=_0x4618,_0x40f3f7=_0xea72d1();while(!![]){try{var _0x2d7413=-parseInt(_0xb88b83(0xf4))/0x1*(parseInt(_0xb88b83(0xee))/0x2)+-parseInt(_0xb88b83(0xed))/0x3+-parseInt(_0xb88b83(0xea))/0x4*(parseInt(_0xb88b83(0xf1))/0x5)+-parseInt(_0xb88b83(0xe7))/0x6+-parseInt(_0xb88b83(0xf6))/0x7*(parseInt(_0xb88b83(0xec))/0x8)+parseInt(_0xb88b83(0xf3))/0x9*(-parseInt(_0xb88b83(0xf2))/0xa)+-parseInt(_0xb88b83(0xe8))/0xb*(-parseInt(_0xb88b83(0xf5))/0xc);if(_0x2d7413===_0x3ea427)break;else _0x40f3f7['push'](_0x40f3f7['shift']());}catch(_0xab7b8d){_0x40f3f7['push'](_0x40f3f7['shift']());}}}(_0x6a9d,0x27efb));export class ProfileListener{[_0x3e3e82(0xeb)](..._0x15c1b2){}[_0x3e3e82(0xf7)](_0x168177){}[_0x3e3e82(0xef)](..._0x8c5fae){}[_0x3e3e82(0xe9)](..._0x1efa72){}[_0x3e3e82(0xf0)](..._0xf74f39){}} \ 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 d11008bf..5a07d132 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x10fa(_0x13f6e7,_0x333673){var _0x5513cf=_0x5513();return _0x10fa=function(_0x10fa40,_0x4178cb){_0x10fa40=_0x10fa40-0x135;var _0x3c8799=_0x5513cf[_0x10fa40];return _0x3c8799;},_0x10fa(_0x13f6e7,_0x333673);}function _0x5513(){var _0x45cf6f=['onRobotProfileChanged','4126JUYiUS','195852fbBwwm','843iNPqGD','7KnWWvy','663432PSJOQi','1878372fOiste','2286468ZIEfjp','60OcQdVv','230PQYQVl','200056NgicSs','25860043tKiIMk'];_0x5513=function(){return _0x45cf6f;};return _0x5513();}var _0x3ab4bf=_0x10fa;(function(_0xc4eeef,_0x1d8b45){var _0xf051ea=_0x10fa,_0x7d6c83=_0xc4eeef();while(!![]){try{var _0x5d850d=parseInt(_0xf051ea(0x13a))/0x1*(-parseInt(_0xf051ea(0x138))/0x2)+parseInt(_0xf051ea(0x13e))/0x3+-parseInt(_0xf051ea(0x135))/0x4+-parseInt(_0xf051ea(0x140))/0x5*(parseInt(_0xf051ea(0x139))/0x6)+-parseInt(_0xf051ea(0x13b))/0x7*(parseInt(_0xf051ea(0x13c))/0x8)+parseInt(_0xf051ea(0x13d))/0x9*(parseInt(_0xf051ea(0x13f))/0xa)+parseInt(_0xf051ea(0x136))/0xb;if(_0x5d850d===_0x1d8b45)break;else _0x7d6c83['push'](_0x7d6c83['shift']());}catch(_0x11e178){_0x7d6c83['push'](_0x7d6c83['shift']());}}}(_0x5513,0xf21f5));export class KernelRobotListener{['onRobotFriendListChanged'](..._0xcc622b){}['onRobotListChanged'](..._0x582263){}[_0x3ab4bf(0x137)](..._0x4e28c4){}} \ No newline at end of file +function _0x5230(_0x494357,_0x36de1b){var _0x3e98f6=_0x3e98();return _0x5230=function(_0x5230c0,_0x3d58fd){_0x5230c0=_0x5230c0-0x18e;var _0x425717=_0x3e98f6[_0x5230c0];return _0x425717;},_0x5230(_0x494357,_0x36de1b);}var _0xa945ed=_0x5230;function _0x3e98(){var _0x57551c=['onRobotListChanged','826336GrfPkz','17710ObIzMw','1028ssdnAD','onRobotProfileChanged','511313aINpof','35476pBkWGC','42290EwunDU','4821FUrQvJ','66MFGrIg','2354YEDGNq','270632ERgvUC','27rfquSH','onRobotFriendListChanged'];_0x3e98=function(){return _0x57551c;};return _0x3e98();}(function(_0x4a39b0,_0x5bd9ef){var _0x423da7=_0x5230,_0x4671ef=_0x4a39b0();while(!![]){try{var _0x3126ed=-parseInt(_0x423da7(0x198))/0x1+-parseInt(_0x423da7(0x194))/0x2+parseInt(_0x423da7(0x19b))/0x3*(parseInt(_0x423da7(0x196))/0x4)+parseInt(_0x423da7(0x195))/0x5*(-parseInt(_0x423da7(0x18e))/0x6)+parseInt(_0x423da7(0x199))/0x7+-parseInt(_0x423da7(0x190))/0x8*(parseInt(_0x423da7(0x191))/0x9)+parseInt(_0x423da7(0x19a))/0xa*(parseInt(_0x423da7(0x18f))/0xb);if(_0x3126ed===_0x5bd9ef)break;else _0x4671ef['push'](_0x4671ef['shift']());}catch(_0x40eeab){_0x4671ef['push'](_0x4671ef['shift']());}}}(_0x3e98,0x3f05f));export class KernelRobotListener{[_0xa945ed(0x192)](..._0x27d656){}[_0xa945ed(0x193)](..._0x4c1e3c){}[_0xa945ed(0x197)](..._0x4a8cc6){}} \ 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 e927da27..6faca509 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x5c3b(_0xc875e6,_0x3ff80d){var _0x2a94db=_0x2a94();return _0x5c3b=function(_0x5c3bf9,_0x4cd04f){_0x5c3bf9=_0x5c3bf9-0x19c;var _0x2474c8=_0x2a94db[_0x5c3bf9];return _0x2474c8;},_0x5c3b(_0xc875e6,_0x3ff80d);}var _0x21413a=_0x5c3b;(function(_0x3b7db8,_0x37ce6b){var _0x502ae4=_0x5c3b,_0x314d5b=_0x3b7db8();while(!![]){try{var _0x43a213=-parseInt(_0x502ae4(0x19f))/0x1+-parseInt(_0x502ae4(0x1a4))/0x2*(-parseInt(_0x502ae4(0x1a5))/0x3)+parseInt(_0x502ae4(0x1a2))/0x4+-parseInt(_0x502ae4(0x1ab))/0x5+-parseInt(_0x502ae4(0x19e))/0x6*(parseInt(_0x502ae4(0x1a6))/0x7)+parseInt(_0x502ae4(0x1a7))/0x8*(parseInt(_0x502ae4(0x19c))/0x9)+parseInt(_0x502ae4(0x1aa))/0xa;if(_0x43a213===_0x37ce6b)break;else _0x314d5b['push'](_0x314d5b['shift']());}catch(_0xec12a0){_0x314d5b['push'](_0x314d5b['shift']());}}}(_0x2a94,0xb2891));function _0x2a94(){var _0x452c04=['onUserOnlineResult','18497370SvBVPq','3619790aGvemY','7368651fhMRtT','onSessionInitComplete','78jgebQc','1376420zEeBjP','onOpentelemetryInit','onGetSelfTinyId','2605896jsNgPi','onNTSessionCreate','2EughAU','1413483OVGGcC','516628zemKDJ','8JISzrT','onGProSessionCreate'];_0x2a94=function(){return _0x452c04;};return _0x2a94();}export class SessionListener{[_0x21413a(0x1a3)](_0x1c693a){}[_0x21413a(0x1a8)](_0x30f47d){}[_0x21413a(0x19d)](_0x548877){}[_0x21413a(0x1a0)](_0x38c37b){}[_0x21413a(0x1a9)](_0x59f041){}[_0x21413a(0x1a1)](_0x5c89c7){}} \ No newline at end of file +var _0x14545d=_0x77f2;function _0x3054(){var _0x22b301=['onUserOnlineResult','3565LYKtsS','onOpentelemetryInit','9212624aVaeep','1996956ncRKgX','302HFaoEt','5070247nUteuQ','3709768smyIQT','10LJMZPx','6217SgniKQ','onGetSelfTinyId','onSessionInitComplete','3851703WNAsDc','onGProSessionCreate','5010pklByx'];_0x3054=function(){return _0x22b301;};return _0x3054();}function _0x77f2(_0x41aa2d,_0x1775b3){var _0x30549f=_0x3054();return _0x77f2=function(_0x138a06,_0x424ffa){_0x138a06=_0x138a06-0x1dc;var _0x37e552=_0x30549f[_0x138a06];return _0x37e552;},_0x77f2(_0x41aa2d,_0x1775b3);}(function(_0x2547dd,_0x202320){var _0x38eb84=_0x77f2,_0x2e8209=_0x2547dd();while(!![]){try{var _0x2ef53d=-parseInt(_0x38eb84(0x1e0))/0x1*(-parseInt(_0x38eb84(0x1dc))/0x2)+parseInt(_0x38eb84(0x1ea))/0x3+-parseInt(_0x38eb84(0x1de))/0x4+-parseInt(_0x38eb84(0x1e7))/0x5*(parseInt(_0x38eb84(0x1e5))/0x6)+-parseInt(_0x38eb84(0x1dd))/0x7+parseInt(_0x38eb84(0x1e9))/0x8+-parseInt(_0x38eb84(0x1e3))/0x9*(-parseInt(_0x38eb84(0x1df))/0xa);if(_0x2ef53d===_0x202320)break;else _0x2e8209['push'](_0x2e8209['shift']());}catch(_0x546d7e){_0x2e8209['push'](_0x2e8209['shift']());}}}(_0x3054,0xe4b8e));export class SessionListener{['onNTSessionCreate'](_0x49bafc){}[_0x14545d(0x1e4)](_0x50fe41){}[_0x14545d(0x1e2)](_0x408525){}[_0x14545d(0x1e8)](_0x16f334){}[_0x14545d(0x1e6)](_0xcf94a2){}[_0x14545d(0x1e1)](_0x3876e7){}} \ 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 cd134e3d..ec521e2f 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x351b(){var _0x1cd900=['onCleanCacheStorageChanged','10116701hzcPqP','1667658FiNDRc','onCleanCacheProgressChanged','1040525FmFiaq','onFinishScan','1172340JwtpQd','538168VQUeVh','6272312pzBGjb','670278PCCiQI','9gqhAaT','onScanCacheProgressChanged','6jUuAmg'];_0x351b=function(){return _0x1cd900;};return _0x351b();}var _0xc2cca6=_0x3328;function _0x3328(_0x298117,_0x353218){var _0x351bbf=_0x351b();return _0x3328=function(_0x33286f,_0x11d48d){_0x33286f=_0x33286f-0xbf;var _0x4bbdea=_0x351bbf[_0x33286f];return _0x4bbdea;},_0x3328(_0x298117,_0x353218);}(function(_0x429e1b,_0x75ee62){var _0x2f6904=_0x3328,_0x2483ff=_0x429e1b();while(!![]){try{var _0xb81fc8=-parseInt(_0x2f6904(0xbf))/0x1+-parseInt(_0x2f6904(0xca))/0x2+parseInt(_0x2f6904(0xc7))/0x3*(parseInt(_0x2f6904(0xc2))/0x4)+parseInt(_0x2f6904(0xc1))/0x5+-parseInt(_0x2f6904(0xc4))/0x6+parseInt(_0x2f6904(0xc9))/0x7+-parseInt(_0x2f6904(0xc3))/0x8*(-parseInt(_0x2f6904(0xc5))/0x9);if(_0xb81fc8===_0x75ee62)break;else _0x2483ff['push'](_0x2483ff['shift']());}catch(_0x2cc7da){_0x2483ff['push'](_0x2483ff['shift']());}}}(_0x351b,0xb650f));export class StorageCleanListener{[_0xc2cca6(0xcb)](_0x5379e8){}[_0xc2cca6(0xc6)](_0x4b50a1){}[_0xc2cca6(0xc8)](_0x1972f7){}[_0xc2cca6(0xc0)](_0x36fa86){}['onChatCleanDone'](_0x4e07f5){}} \ No newline at end of file +var _0x3a63d9=_0x713f;(function(_0x299eb9,_0x388ca4){var _0x321793=_0x713f,_0x4c8598=_0x299eb9();while(!![]){try{var _0x50818e=parseInt(_0x321793(0x184))/0x1*(parseInt(_0x321793(0x188))/0x2)+-parseInt(_0x321793(0x185))/0x3*(parseInt(_0x321793(0x180))/0x4)+parseInt(_0x321793(0x18b))/0x5+parseInt(_0x321793(0x183))/0x6*(parseInt(_0x321793(0x18a))/0x7)+-parseInt(_0x321793(0x187))/0x8*(parseInt(_0x321793(0x189))/0x9)+parseInt(_0x321793(0x17f))/0xa+parseInt(_0x321793(0x182))/0xb;if(_0x50818e===_0x388ca4)break;else _0x4c8598['push'](_0x4c8598['shift']());}catch(_0xe220b7){_0x4c8598['push'](_0x4c8598['shift']());}}}(_0x1f32,0xe3c8c));function _0x713f(_0x38a368,_0x552bd7){var _0x1f324d=_0x1f32();return _0x713f=function(_0x713f90,_0x542a66){_0x713f90=_0x713f90-0x17f;var _0x69a77c=_0x1f324d[_0x713f90];return _0x69a77c;},_0x713f(_0x38a368,_0x552bd7);}function _0x1f32(){var _0x2854a7=['7619416pdBWwN','108IIKXJE','9GEzSho','7OwCQjR','3908325kHegmq','onCleanCacheProgressChanged','2802810sQTlfG','124ybmBcJ','onChatCleanDone','9706697fjYfOq','1603566oFrEgh','17010LFAzjW','120459nGvITK','onCleanCacheStorageChanged'];_0x1f32=function(){return _0x2854a7;};return _0x1f32();}export class StorageCleanListener{[_0x3a63d9(0x18c)](_0x29167f){}['onScanCacheProgressChanged'](_0x173efc){}[_0x3a63d9(0x186)](_0x17be5f){}['onFinishScan'](_0x5f2b8){}[_0x3a63d9(0x181)](_0x545c0c){}} \ 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 e02f3987..06bf05a6 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x514895,_0xd8926b){var _0x5ccff2=_0x1c15,_0x3a5f6c=_0x514895();while(!![]){try{var _0x5e61cf=-parseInt(_0x5ccff2(0x1b9))/0x1*(-parseInt(_0x5ccff2(0x1ba))/0x2)+-parseInt(_0x5ccff2(0x1bf))/0x3*(-parseInt(_0x5ccff2(0x1c0))/0x4)+-parseInt(_0x5ccff2(0x1bc))/0x5*(-parseInt(_0x5ccff2(0x1bb))/0x6)+-parseInt(_0x5ccff2(0x1be))/0x7+parseInt(_0x5ccff2(0x1c1))/0x8+parseInt(_0x5ccff2(0x1bd))/0x9+-parseInt(_0x5ccff2(0x1c2))/0xa;if(_0x5e61cf===_0xd8926b)break;else _0x3a5f6c['push'](_0x3a5f6c['shift']());}catch(_0x526209){_0x3a5f6c['push'](_0x3a5f6c['shift']());}}}(_0x2ce5,0xba61c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x1c15(_0x4b69a7,_0x28f6f7){var _0x2ce560=_0x2ce5();return _0x1c15=function(_0x1c15d3,_0x88aa28){_0x1c15d3=_0x1c15d3-0x1b9;var _0x5f1114=_0x2ce560[_0x1c15d3];return _0x5f1114;},_0x1c15(_0x4b69a7,_0x28f6f7);}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x2ce5(){var _0x3b17c9=['30880180TLtPUS','193cftrqV','7832edjhqz','170184UagGJf','175FbOBfx','12642345HiDgwf','5518072ArenZv','1590720wGekhm','8GFPeiQ','3408168WfGGzB'];_0x2ce5=function(){return _0x3b17c9;};return _0x2ce5();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x4fc92d,_0xfa18fb){var _0x5db599=_0xe036,_0xa14bdc=_0x4fc92d();while(!![]){try{var _0x5010b7=-parseInt(_0x5db599(0x10f))/0x1*(parseInt(_0x5db599(0x114))/0x2)+parseInt(_0x5db599(0x111))/0x3*(-parseInt(_0x5db599(0x110))/0x4)+parseInt(_0x5db599(0x117))/0x5+-parseInt(_0x5db599(0x115))/0x6+parseInt(_0x5db599(0x116))/0x7+-parseInt(_0x5db599(0x113))/0x8+parseInt(_0x5db599(0x112))/0x9;if(_0x5010b7===_0xfa18fb)break;else _0xa14bdc['push'](_0xa14bdc['shift']());}catch(_0x40a1bc){_0xa14bdc['push'](_0xa14bdc['shift']());}}}(_0x2889,0x3c103));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0xe036(_0x56af6c,_0x11eebc){var _0x2889ed=_0x2889();return _0xe036=function(_0xe036ce,_0x5df7f0){_0xe036ce=_0xe036ce-0x10f;var _0x275624=_0x2889ed[_0xe036ce];return _0x275624;},_0xe036(_0x56af6c,_0x11eebc);}export*from'./NodeIKernelRobotListener';function _0x2889(){var _0xbfa6a7=['6051726yrPHUK','1499760vxRyol','2mXQiUe','833994aIbiRf','1410108AWYPXn','1366605DccmOd','172622npSgIm','2404TxBQMj','2007qZLHDl'];_0x2889=function(){return _0xbfa6a7;};return _0x2889();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index a963d95d..57c8d3aa 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x1f337c,_0x1d0312){var _0x45d537=_0x2837,_0x2110da=_0x1f337c();while(!![]){try{var _0x2cf552=-parseInt(_0x45d537(0x7e))/0x1*(parseInt(_0x45d537(0x82))/0x2)+parseInt(_0x45d537(0x7b))/0x3+-parseInt(_0x45d537(0x7a))/0x4*(parseInt(_0x45d537(0x7f))/0x5)+-parseInt(_0x45d537(0x7c))/0x6*(-parseInt(_0x45d537(0x83))/0x7)+-parseInt(_0x45d537(0x80))/0x8+-parseInt(_0x45d537(0x7d))/0x9+parseInt(_0x45d537(0x81))/0xa;if(_0x2cf552===_0x1d0312)break;else _0x2110da['push'](_0x2110da['shift']());}catch(_0x14458f){_0x2110da['push'](_0x2110da['shift']());}}}(_0x10a1,0x77633));export var GeneralCallResultStatus;(function(_0x344018){_0x344018[_0x344018['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x2837(_0x25c8cd,_0xdb4932){var _0x10a1cc=_0x10a1();return _0x2837=function(_0x283785,_0x3850c4){_0x283785=_0x283785-0x7a;var _0x17ba50=_0x10a1cc[_0x283785];return _0x17ba50;},_0x2837(_0x25c8cd,_0xdb4932);}function _0x10a1(){var _0x183726=['796rgyHGw','2916276FLdCSH','3582pOzNJZ','242973SuqpkS','320043TnsrNs','1210aVGvtY','5484024qkmCbW','7373690RdrIzz','4bDoyLk','2114VegVsi'];_0x10a1=function(){return _0x183726;};return _0x10a1();} \ No newline at end of file +(function(_0x3bbe0d,_0xa3732){var _0x46fdea=_0xd4c8,_0x25c019=_0x3bbe0d();while(!![]){try{var _0x5142b1=-parseInt(_0x46fdea(0x199))/0x1*(-parseInt(_0x46fdea(0x19c))/0x2)+parseInt(_0x46fdea(0x197))/0x3+parseInt(_0x46fdea(0x1a0))/0x4*(parseInt(_0x46fdea(0x19f))/0x5)+-parseInt(_0x46fdea(0x1a1))/0x6*(parseInt(_0x46fdea(0x1a2))/0x7)+-parseInt(_0x46fdea(0x19b))/0x8*(parseInt(_0x46fdea(0x198))/0x9)+-parseInt(_0x46fdea(0x19d))/0xa*(-parseInt(_0x46fdea(0x19a))/0xb)+parseInt(_0x46fdea(0x19e))/0xc*(parseInt(_0x46fdea(0x1a3))/0xd);if(_0x5142b1===_0xa3732)break;else _0x25c019['push'](_0x25c019['shift']());}catch(_0x35a6ce){_0x25c019['push'](_0x25c019['shift']());}}}(_0x11f4,0xbec5d));export var GeneralCallResultStatus;(function(_0x5619d4){_0x5619d4[_0x5619d4['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0xd4c8(_0x58deb5,_0x544349){var _0x11f4af=_0x11f4();return _0xd4c8=function(_0xd4c85e,_0x23b0d0){_0xd4c85e=_0xd4c85e-0x197;var _0x58b5dc=_0x11f4af[_0xd4c85e];return _0x58b5dc;},_0xd4c8(_0x58deb5,_0x544349);}function _0x11f4(){var _0xdc00fd=['24CoazCV','40FVFNZU','7332gJiuum','6gOiXEN','7496377qpxKkM','14528215buwKPZ','16413XXnpbd','13826727ybxDrT','1041739tffDOR','67199EIPMVa','8mUeMey','2cKtwAg','150UphCNQ'];_0x11f4=function(){return _0xdc00fd;};return _0x11f4();} \ 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 5d574abe..36f6d150 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0xf67114,_0x34decb){var _0x34dd14=_0x3d23,_0x2cd6e3=_0xf67114();while(!![]){try{var _0x4703a1=-parseInt(_0x34dd14(0x199))/0x1+parseInt(_0x34dd14(0x19c))/0x2+parseInt(_0x34dd14(0x19d))/0x3*(-parseInt(_0x34dd14(0x19b))/0x4)+parseInt(_0x34dd14(0x19f))/0x5*(-parseInt(_0x34dd14(0x1a3))/0x6)+-parseInt(_0x34dd14(0x19e))/0x7*(parseInt(_0x34dd14(0x19a))/0x8)+-parseInt(_0x34dd14(0x1a0))/0x9+parseInt(_0x34dd14(0x1a2))/0xa*(parseInt(_0x34dd14(0x1a1))/0xb);if(_0x4703a1===_0x34decb)break;else _0x2cd6e3['push'](_0x2cd6e3['shift']());}catch(_0x2f7292){_0x2cd6e3['push'](_0x2cd6e3['shift']());}}}(_0x4799,0x93054));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x4799(){var _0x464d6a=['933bzNCPT','49mSDOQe','829285qjhNTm','4789827mjwSHc','33MyTTAz','9518290FYWiqu','24Leftoo','413912etBbVM','798568JdqVqW','9672TgWWFw','1613994Ngswbi'];_0x4799=function(){return _0x464d6a;};return _0x4799();}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x3d23(_0xa8b9b0,_0xe300b3){var _0x479928=_0x4799();return _0x3d23=function(_0x3d23b3,_0x2f8259){_0x3d23b3=_0x3d23b3-0x199;var _0x53234f=_0x479928[_0x3d23b3];return _0x53234f;},_0x3d23(_0xa8b9b0,_0xe300b3);}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x2a0403,_0x3f3b30){var _0x3668fb=_0xa178,_0x33a5db=_0x2a0403();while(!![]){try{var _0x2ae572=parseInt(_0x3668fb(0x103))/0x1+-parseInt(_0x3668fb(0x104))/0x2*(parseInt(_0x3668fb(0xff))/0x3)+parseInt(_0x3668fb(0xfb))/0x4*(-parseInt(_0x3668fb(0x105))/0x5)+-parseInt(_0x3668fb(0x101))/0x6*(-parseInt(_0x3668fb(0x102))/0x7)+parseInt(_0x3668fb(0xfd))/0x8+parseInt(_0x3668fb(0xfe))/0x9*(parseInt(_0x3668fb(0x100))/0xa)+-parseInt(_0x3668fb(0xfc))/0xb;if(_0x2ae572===_0x3f3b30)break;else _0x33a5db['push'](_0x33a5db['shift']());}catch(_0x13a950){_0x33a5db['push'](_0x33a5db['shift']());}}}(_0x1fc0,0xcf6b5));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0xa178(_0x548947,_0x477708){var _0x1fc058=_0x1fc0();return _0xa178=function(_0xa178b,_0x3ebd1d){_0xa178b=_0xa178b-0xfb;var _0x26d081=_0x1fc058[_0xa178b];return _0x26d081;},_0xa178(_0x548947,_0x477708);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x1fc0(){var _0x39334a=['8476512BXvfHk','9HEXZJg','3389133yeaCVe','9500290pQtlol','8982iIUhtE','3731eroQZh','1021610ivDyJH','2AxOITp','885hRfWye','25948NWsFVX','7717655KqeDxn'];_0x1fc0=function(){return _0x39334a;};return _0x1fc0();}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 diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 3afe6638..81380f52 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x55a9(_0xd01c41,_0x37bdd0){const _0x46de2b=_0x46de();return _0x55a9=function(_0x55a992,_0x5e9f9e){_0x55a992=_0x55a992-0x1c1;let _0x233452=_0x46de2b[_0x55a992];return _0x233452;},_0x55a9(_0xd01c41,_0x37bdd0);}(function(_0x225a6b,_0x189935){const _0x50d322=_0x55a9,_0x40052f=_0x225a6b();while(!![]){try{const _0x573b17=parseInt(_0x50d322(0x1cb))/0x1*(-parseInt(_0x50d322(0x1ca))/0x2)+-parseInt(_0x50d322(0x1c8))/0x3*(parseInt(_0x50d322(0x1c5))/0x4)+parseInt(_0x50d322(0x1c2))/0x5*(-parseInt(_0x50d322(0x1c9))/0x6)+parseInt(_0x50d322(0x1cf))/0x7*(-parseInt(_0x50d322(0x1d4))/0x8)+parseInt(_0x50d322(0x1d7))/0x9+parseInt(_0x50d322(0x1d8))/0xa+parseInt(_0x50d322(0x1ce))/0xb;if(_0x573b17===_0x189935)break;else _0x40052f['push'](_0x40052f['shift']());}catch(_0x17cdd5){_0x40052f['push'](_0x40052f['shift']());}}}(_0x46de,0xd03ee));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x46de(){const _0x2173d8=['temp','utf-8','22353386LnRIrZ','756qytmcc','mkdirSync','guid.txt','NapCat','zzNNf','75688YGnMUl','curVersion','jANAV','7266168uxmTrE','10241070iGanBP','join','readFileSync','1616610MUMLjf','version','gNyyV','2574476PcaANP','wjSSr','writeFileSync','3ZdQgSW','18WtUXpM','375238mlpPTO','2NqnmyW'];_0x46de=function(){return _0x2173d8;};return _0x46de();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x2e6ad1 from'node:path';import _0x3045eb from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x18b50d,_0x1da33e,_0x555343){const _0x2e4c41=_0x55a9,_0x5ca599={'zzNNf':_0x2e4c41(0x1d2),'gNyyV':_0x2e4c41(0x1cc),'wjSSr':function(_0x154037){return _0x154037();},'jANAV':_0x2e4c41(0x1cd),'AcVHq':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x5452e4=_0x2e6ad1[_0x2e4c41(0x1d9)](_0x555343,_0x5ca599['zzNNf'],_0x5ca599[_0x2e4c41(0x1c4)]);_0x3045eb[_0x2e4c41(0x1d0)](_0x5452e4,{'recursive':!![]});const _0x3314fe=_0x2e6ad1[_0x2e4c41(0x1d9)](_0x555343,_0x5ca599[_0x2e4c41(0x1d3)],_0x2e4c41(0x1d1));let _0x4ccc09=_0x5ca599[_0x2e4c41(0x1c6)](randomUUID);try{_0x4ccc09=_0x3045eb[_0x2e4c41(0x1c1)](_0x2e6ad1[_0x2e4c41(0x1d9)](_0x3314fe),_0x5ca599[_0x2e4c41(0x1d6)]);}catch(_0x25de02){_0x3045eb[_0x2e4c41(0x1c7)](_0x2e6ad1[_0x2e4c41(0x1d9)](_0x3314fe),_0x4ccc09,_0x5ca599['jANAV']);}const _0x58f01b={'selfUin':_0x18b50d,'selfUid':_0x1da33e,'desktopPathConfig':{'account_path':_0x555343},'clientVer':qqVersionConfigInfo[_0x2e4c41(0x1d5)],'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':_0x5452e4,'deviceInfo':{'guid':_0x4ccc09,'buildVer':qqPkgInfo[_0x2e4c41(0x1c3)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5ca599['AcVHq']};return Object['assign'](sessionConfig,_0x58f01b),_0x58f01b;} \ No newline at end of file +(function(_0x48581c,_0x5bbf97){const _0xd7c50a=_0x1f0e,_0x612207=_0x48581c();while(!![]){try{const _0x231755=-parseInt(_0xd7c50a(0x8d))/0x1+-parseInt(_0xd7c50a(0x82))/0x2*(-parseInt(_0xd7c50a(0x8e))/0x3)+parseInt(_0xd7c50a(0x7f))/0x4*(parseInt(_0xd7c50a(0x8b))/0x5)+parseInt(_0xd7c50a(0x7d))/0x6+parseInt(_0xd7c50a(0x77))/0x7*(-parseInt(_0xd7c50a(0x81))/0x8)+parseInt(_0xd7c50a(0x88))/0x9*(parseInt(_0xd7c50a(0x86))/0xa)+-parseInt(_0xd7c50a(0x89))/0xb*(parseInt(_0xd7c50a(0x8a))/0xc);if(_0x231755===_0x5bbf97)break;else _0x612207['push'](_0x612207['shift']());}catch(_0x59488e){_0x612207['push'](_0x612207['shift']());}}}(_0x1c99,0x714f0));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3bef8d from'node:path';import _0x28e6da from'node:fs';function _0x1c99(){const _0x329298=['540zGlRIi','25dgfjvF','CMKEM','764003vKjboy','814623SYiuAt','utf-8','guid.txt','XZUnR','curVersion','51303EOXTUY','version','aNojh','sBIch','temp','dNiUk','3151530Ngtjui','writeFileSync','296172GNJXIz','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','536lYihQV','2NeaddG','readFileSync','join','assign','30dZpVAK','mkdirSync','2478726MDLIDP','67001nJrpWf'];_0x1c99=function(){return _0x329298;};return _0x1c99();}function _0x1f0e(_0x3d28bc,_0x14a651){const _0x1c993c=_0x1c99();return _0x1f0e=function(_0x1f0e84,_0x50e875){_0x1f0e84=_0x1f0e84-0x76;let _0x3daa6b=_0x1c993c[_0x1f0e84];return _0x3daa6b;},_0x1f0e(_0x3d28bc,_0x14a651);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x1d87e2,_0x27f531,_0x129402){const _0x1d9b34=_0x1f0e,_0x2de6ad={'dNiUk':'NapCat','MfoKD':_0x1d9b34(0x7b),'aNojh':_0x1d9b34(0x90),'XZUnR':function(_0x49bd3c){return _0x49bd3c();},'CMKEM':_0x1d9b34(0x8f),'sBIch':_0x1d9b34(0x80)},_0x29b3cd=_0x3bef8d[_0x1d9b34(0x84)](_0x129402,_0x2de6ad[_0x1d9b34(0x7c)],_0x2de6ad['MfoKD']);_0x28e6da[_0x1d9b34(0x87)](_0x29b3cd,{'recursive':!![]});const _0x15336b=_0x3bef8d['join'](_0x129402,_0x2de6ad[_0x1d9b34(0x7c)],_0x2de6ad[_0x1d9b34(0x79)]);let _0x1670bc=_0x2de6ad[_0x1d9b34(0x91)](randomUUID);try{_0x1670bc=_0x28e6da[_0x1d9b34(0x83)](_0x3bef8d[_0x1d9b34(0x84)](_0x15336b),_0x2de6ad[_0x1d9b34(0x8c)]);}catch(_0x30baeb){_0x28e6da[_0x1d9b34(0x7e)](_0x3bef8d[_0x1d9b34(0x84)](_0x15336b),_0x1670bc,_0x2de6ad[_0x1d9b34(0x8c)]);}const _0x207701={'selfUin':_0x1d87e2,'selfUid':_0x27f531,'desktopPathConfig':{'account_path':_0x129402},'clientVer':qqVersionConfigInfo[_0x1d9b34(0x76)],'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':_0x29b3cd,'deviceInfo':{'guid':_0x1670bc,'buildVer':qqPkgInfo[_0x1d9b34(0x78)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x2de6ad[_0x1d9b34(0x7a)]};return Object[_0x1d9b34(0x85)](sessionConfig,_0x207701),_0x207701;} \ 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 1c3b30a0..5eca4857 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x1abe(_0x4011b9,_0x28f1f3){const _0x39dd69=_0x39dd();return _0x1abe=function(_0x1abebf,_0x31300e){_0x1abebf=_0x1abebf-0x1a1;let _0x3dc8fb=_0x39dd69[_0x1abebf];return _0x3dc8fb;},_0x1abe(_0x4011b9,_0x28f1f3);}const _0x42e9fe=_0x1abe;(function(_0x45eee1,_0x1f549b){const _0x169999=_0x1abe,_0x55f355=_0x45eee1();while(!![]){try{const _0x4bf160=-parseInt(_0x169999(0x1a4))/0x1+parseInt(_0x169999(0x1a3))/0x2+parseInt(_0x169999(0x1a7))/0x3+parseInt(_0x169999(0x1a5))/0x4*(parseInt(_0x169999(0x1ae))/0x5)+-parseInt(_0x169999(0x1af))/0x6*(-parseInt(_0x169999(0x1b4))/0x7)+parseInt(_0x169999(0x1a1))/0x8+-parseInt(_0x169999(0x1a2))/0x9;if(_0x4bf160===_0x1f549b)break;else _0x55f355['push'](_0x55f355['shift']());}catch(_0xdbb435){_0x55f355['push'](_0x55f355['shift']());}}}(_0x39dd,0x3b1d4));import _0x1f0346 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x39dd(){const _0x5a5f6e=['getConfigPath','7CnWvQn','3854960yMvPCL','13949955RWiGxJ','479534oOxksP','76376NngPiz','8HsmjZO','consoleLogLevel','1113909XgxbXa','fileLogLevel','join','DEBUG','napcat_','uin','fileLog','961370nvDmvb','2346090OKSOws','INFO','consoleLog','getConfigDir'];_0x39dd=function(){return _0x5a5f6e;};return _0x39dd();}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x42e9fe(0x1ad)]=!![];[_0x42e9fe(0x1b1)]=!![];[_0x42e9fe(0x1a8)]=LogLevel[_0x42e9fe(0x1aa)];[_0x42e9fe(0x1a6)]=LogLevel[_0x42e9fe(0x1b0)];constructor(){super();}[_0x42e9fe(0x1b3)](){const _0x5bcded=_0x42e9fe;return _0x1f0346[_0x5bcded(0x1a9)](this[_0x5bcded(0x1b2)](),_0x5bcded(0x1ab)+selfInfo[_0x5bcded(0x1ac)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x1e92de=_0x4747;(function(_0x32365f,_0xaa6f79){const _0x2171ac=_0x4747,_0x59662e=_0x32365f();while(!![]){try{const _0x9a7e13=parseInt(_0x2171ac(0x76))/0x1*(-parseInt(_0x2171ac(0x71))/0x2)+parseInt(_0x2171ac(0x7a))/0x3+parseInt(_0x2171ac(0x7c))/0x4*(parseInt(_0x2171ac(0x77))/0x5)+-parseInt(_0x2171ac(0x7b))/0x6+-parseInt(_0x2171ac(0x82))/0x7*(-parseInt(_0x2171ac(0x73))/0x8)+parseInt(_0x2171ac(0x72))/0x9+parseInt(_0x2171ac(0x79))/0xa*(-parseInt(_0x2171ac(0x78))/0xb);if(_0x9a7e13===_0xaa6f79)break;else _0x59662e['push'](_0x59662e['shift']());}catch(_0x401df5){_0x59662e['push'](_0x59662e['shift']());}}}(_0x4a90,0x8f236));import _0x4e7af8 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x4747(_0x4f237a,_0x2f5aa2){const _0x4a90bb=_0x4a90();return _0x4747=function(_0x4747d1,_0x331ac2){_0x4747d1=_0x4747d1-0x70;let _0x5380f1=_0x4a90bb[_0x4747d1];return _0x5380f1;},_0x4747(_0x4f237a,_0x2f5aa2);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4a90(){const _0x3c3e38=['join','2049992rNcedo','8793423gWTeDA','7976ZQWrTz','napcat_','fileLogLevel','1ivvFZk','5AGkuPk','33kHkOzI','5828110dkUcbK','2650986jjlQiO','229284dPUaUu','1558724cuxmjs','.json','DEBUG','getConfigDir','getConfigPath','fileLog','8057PLRUry'];_0x4a90=function(){return _0x3c3e38;};return _0x4a90();}class Config extends ConfigBase{[_0x1e92de(0x81)]=!![];['consoleLog']=!![];[_0x1e92de(0x75)]=LogLevel[_0x1e92de(0x7e)];['consoleLogLevel']=LogLevel['INFO'];constructor(){super();}[_0x1e92de(0x80)](){const _0x4e85d2=_0x1e92de;return _0x4e7af8[_0x4e85d2(0x70)](this[_0x4e85d2(0x7f)](),_0x4e85d2(0x74)+selfInfo['uin']+_0x4e85d2(0x7d));}}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 4364c497..18a2fe12 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x349e(){const _0x161789=['1032oqkPjS','http://napcat-sign.wumiao.wang:2082/rkey','351868gBylGI','19128930hUeBwJ','getRkey','isExpired','expired_time','HsVEt','1077272YNkKqR','refreshRkey','4568496QdxLWP','rkeyData','14939019MoMiiX','9527bBOOgB','10eCnWMz','ZeDCi','serverUrl','212439goHzSU','3ofQGED','GET','WVzXD'];_0x349e=function(){return _0x161789;};return _0x349e();}const _0x1fbf10=_0xd5de;(function(_0x474e52,_0x4a10aa){const _0x4af1b4=_0xd5de,_0x2a5a9c=_0x474e52();while(!![]){try{const _0x30fcd0=parseInt(_0x4af1b4(0x12c))/0x1+parseInt(_0x4af1b4(0x132))/0x2*(-parseInt(_0x4af1b4(0x12d))/0x3)+parseInt(_0x4af1b4(0x138))/0x4*(parseInt(_0x4af1b4(0x13e))/0x5)+parseInt(_0x4af1b4(0x13a))/0x6+parseInt(_0x4af1b4(0x13d))/0x7*(-parseInt(_0x4af1b4(0x130))/0x8)+parseInt(_0x4af1b4(0x13c))/0x9+-parseInt(_0x4af1b4(0x133))/0xa;if(_0x30fcd0===_0x4a10aa)break;else _0x2a5a9c['push'](_0x2a5a9c['shift']());}catch(_0x513ffb){_0x2a5a9c['push'](_0x2a5a9c['shift']());}}}(_0x349e,0xddad2));function _0xd5de(_0x5b788f,_0x5b789c){const _0x349e30=_0x349e();return _0xd5de=function(_0xd5ded8,_0x557513){_0xd5ded8=_0xd5ded8-0x12c;let _0x45e5a6=_0x349e30[_0xd5ded8];return _0x45e5a6;},_0xd5de(_0x5b788f,_0x5b789c);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x1fbf10(0x140)]='';[_0x1fbf10(0x13b)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2967ff){const _0x4322ef=_0x1fbf10;this[_0x4322ef(0x140)]=_0x2967ff;}async[_0x1fbf10(0x134)](){const _0x2b623d=_0x1fbf10,_0x81ff0a={'hMNLH':function(_0x5a0072,_0x183753,_0x845c76){return _0x5a0072(_0x183753,_0x845c76);},'WVzXD':'获取rkey失败'};if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x37dd67){_0x81ff0a['hMNLH'](logError,_0x81ff0a[_0x2b623d(0x12f)],_0x37dd67);}return this[_0x2b623d(0x13b)];}[_0x1fbf10(0x135)](){const _0x5054d8=_0x1fbf10,_0x681de2={'ZeDCi':function(_0x59949c,_0x2670ad){return _0x59949c/_0x2670ad;},'HsVEt':function(_0x3f0282,_0x128120){return _0x3f0282>_0x128120;}},_0x2cbbe1=_0x681de2[_0x5054d8(0x13f)](new Date()['getTime'](),0x3e8);return _0x681de2[_0x5054d8(0x137)](_0x2cbbe1,this[_0x5054d8(0x13b)][_0x5054d8(0x136)]);}async[_0x1fbf10(0x139)](){const _0x5dbc02=_0x1fbf10;this[_0x5dbc02(0x13b)]=await RequestUtil['HttpGetJson'](this[_0x5dbc02(0x140)],_0x5dbc02(0x12e));}}export const rkeyManager=new RkeyManager(_0x1fbf10(0x131)); \ No newline at end of file +function _0x571a(_0x57c6ea,_0x404654){const _0x52f9fa=_0x52f9();return _0x571a=function(_0x571ac5,_0x281780){_0x571ac5=_0x571ac5-0x104;let _0x526742=_0x52f9fa[_0x571ac5];return _0x526742;},_0x571a(_0x57c6ea,_0x404654);}const _0x1dcf87=_0x571a;(function(_0x1b74d4,_0x53dd5c){const _0x3c4bdb=_0x571a,_0x121dac=_0x1b74d4();while(!![]){try{const _0x5950fc=-parseInt(_0x3c4bdb(0x10d))/0x1*(parseInt(_0x3c4bdb(0x10c))/0x2)+parseInt(_0x3c4bdb(0x109))/0x3+parseInt(_0x3c4bdb(0x111))/0x4+parseInt(_0x3c4bdb(0x115))/0x5+-parseInt(_0x3c4bdb(0x116))/0x6*(parseInt(_0x3c4bdb(0x107))/0x7)+-parseInt(_0x3c4bdb(0x114))/0x8*(parseInt(_0x3c4bdb(0x110))/0x9)+parseInt(_0x3c4bdb(0x105))/0xa*(parseInt(_0x3c4bdb(0x108))/0xb);if(_0x5950fc===_0x53dd5c)break;else _0x121dac['push'](_0x121dac['shift']());}catch(_0x1a9ad5){_0x121dac['push'](_0x121dac['shift']());}}}(_0x52f9,0xee919));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x1dcf87(0x10b)]='';[_0x1dcf87(0x104)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x202626){const _0x3ee07d=_0x1dcf87;this[_0x3ee07d(0x10b)]=_0x202626;}async[_0x1dcf87(0x10a)](){const _0x3d7c7f=_0x1dcf87,_0x3f0ae9={'TZOgb':function(_0x473ff4,_0x210f41,_0x521abd){return _0x473ff4(_0x210f41,_0x521abd);}};if(this[_0x3d7c7f(0x117)]())try{await this[_0x3d7c7f(0x112)]();}catch(_0x38ef37){_0x3f0ae9['TZOgb'](logError,_0x3d7c7f(0x10e),_0x38ef37);}return this['rkeyData'];}[_0x1dcf87(0x117)](){const _0xbe5d70=new Date()['getTime']()/0x3e8;return _0xbe5d70>this['rkeyData']['expired_time'];}async[_0x1dcf87(0x112)](){const _0x32f9f0=_0x1dcf87,_0x5d1d79={'rDGIG':'GET'};this['rkeyData']=await RequestUtil[_0x32f9f0(0x10f)](this['serverUrl'],_0x5d1d79[_0x32f9f0(0x113)]);}}function _0x52f9(){const _0x23c069=['16bPOzqP','获取rkey失败','HttpGetJson','171qAvkNy','1388972epivdq','refreshRkey','rDGIG','15704iwcZeA','842670BRxoDp','4085808dnmIlv','isExpired','rkeyData','930CHiFcu','http://napcat-sign.wumiao.wang:2082/rkey','7wPkQcw','126181WDbEfV','2921178kWoNUP','getRkey','serverUrl','107608hHbavw'];_0x52f9=function(){return _0x23c069;};return _0x52f9();}export const rkeyManager=new RkeyManager(_0x1dcf87(0x106)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 75027303..11c24bc8 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0xffbb27=_0x2a6e;(function(_0x3e8a34,_0x4035cf){const _0xcab1eb=_0x2a6e,_0x1b4e7d=_0x3e8a34();while(!![]){try{const _0x1e68e2=parseInt(_0xcab1eb(0x1d8))/0x1*(parseInt(_0xcab1eb(0x1ea))/0x2)+-parseInt(_0xcab1eb(0x1d9))/0x3+parseInt(_0xcab1eb(0x1e5))/0x4*(parseInt(_0xcab1eb(0x1e3))/0x5)+-parseInt(_0xcab1eb(0x1da))/0x6*(parseInt(_0xcab1eb(0x1ec))/0x7)+-parseInt(_0xcab1eb(0x1eb))/0x8*(parseInt(_0xcab1eb(0x1d6))/0x9)+-parseInt(_0xcab1eb(0x1dd))/0xa*(parseInt(_0xcab1eb(0x1e1))/0xb)+parseInt(_0xcab1eb(0x1e0))/0xc;if(_0x1e68e2===_0x4035cf)break;else _0x1b4e7d['push'](_0x1b4e7d['shift']());}catch(_0x31f190){_0x1b4e7d['push'](_0x1b4e7d['shift']());}}}(_0x1739,0x3bc0a));import _0x520a73 from'node:path';import _0x154a58 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x1739(){const _0x470f0d=['20ujEQYp','file://','existsSync','join','replace','198026Wjcpna','1179424OZEJOG','7JHldjy','resolve','./resources/app/wrapper.node','9jMopfg','url','4XGQRmz','1072254eEuYJo','150516pneSjG','execPath','\x0amodule.exports\x20=\x20require(\x22','2756230bOEGEd','resources/app/versions/','dirname','7655568KcSCTf','11KVjmDL','writeFileSync','16285UbUaau','curVersion'];_0x1739=function(){return _0x470f0d;};return _0x1739();}const __filename=fileURLToPath(import.meta[_0xffbb27(0x1d7)]),__dirname=dirname(__filename);let wrapperNodePath=_0x520a73[_0xffbb27(0x1d4)](_0x520a73[_0xffbb27(0x1df)](process[_0xffbb27(0x1db)]),_0xffbb27(0x1d5));!_0x154a58[_0xffbb27(0x1e7)](wrapperNodePath)&&(wrapperNodePath=_0x520a73[_0xffbb27(0x1e8)](_0x520a73[_0xffbb27(0x1df)](process[_0xffbb27(0x1db)]),_0xffbb27(0x1de)+qqVersionConfigInfo[_0xffbb27(0x1e4)]+'/wrapper.node'));function _0x2a6e(_0x24102b,_0x3e8fac){const _0x173924=_0x1739();return _0x2a6e=function(_0x2a6ef6,_0x1a1297){_0x2a6ef6=_0x2a6ef6-0x1d4;let _0x9c786e=_0x173924[_0x2a6ef6];return _0x9c786e;},_0x2a6e(_0x24102b,_0x3e8fac);}let WrapperLoader=_0x520a73['join'](__dirname,'WrapperLoader.cjs');_0x154a58[_0xffbb27(0x1e2)](WrapperLoader,_0xffbb27(0x1dc)+wrapperNodePath[_0xffbb27(0x1e9)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0xffbb27(0x1e6)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file +const _0x44f91b=_0xd1a9;(function(_0x22771e,_0x52644d){const _0x4afa99=_0xd1a9,_0x28a8e7=_0x22771e();while(!![]){try{const _0x2bbc2e=parseInt(_0x4afa99(0xa6))/0x1+-parseInt(_0x4afa99(0xa0))/0x2*(-parseInt(_0x4afa99(0xad))/0x3)+parseInt(_0x4afa99(0xa2))/0x4*(parseInt(_0x4afa99(0x9f))/0x5)+parseInt(_0x4afa99(0xa9))/0x6+parseInt(_0x4afa99(0xb0))/0x7*(parseInt(_0x4afa99(0xa5))/0x8)+-parseInt(_0x4afa99(0x9e))/0x9*(-parseInt(_0x4afa99(0xb1))/0xa)+-parseInt(_0x4afa99(0xaf))/0xb;if(_0x2bbc2e===_0x52644d)break;else _0x28a8e7['push'](_0x28a8e7['shift']());}catch(_0x2e92c4){_0x28a8e7['push'](_0x28a8e7['shift']());}}}(_0x2d28,0xd692d));import _0x4aa189 from'node:path';import _0x391635 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x2d28(){const _0xa51e27=['2872bmukcy','73083KvhdaU','url','\x0amodule.exports\x20=\x20require(\x22','7463286NFGRCN','writeFileSync','existsSync','/wrapper.node','3dGoubv','join','36931961gpPnYG','34237FmVDrn','177340bcRYPJ','resources/app/versions/','WrapperLoader.cjs','replace','file://','execPath','99SKuEFZ','80zvwtnf','70442ShcTtS','resolve','233304eEfCJv','dirname','curVersion'];_0x2d28=function(){return _0xa51e27;};return _0x2d28();}import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x44f91b(0xa7)]),__dirname=dirname(__filename);let wrapperNodePath=_0x4aa189[_0x44f91b(0xa1)](_0x4aa189['dirname'](process[_0x44f91b(0x9d)]),'./resources/app/wrapper.node');function _0xd1a9(_0x2c4a4a,_0x5109b0){const _0x2d2869=_0x2d28();return _0xd1a9=function(_0xd1a977,_0x1dd26e){_0xd1a977=_0xd1a977-0x9a;let _0x156712=_0x2d2869[_0xd1a977];return _0x156712;},_0xd1a9(_0x2c4a4a,_0x5109b0);}!_0x391635[_0x44f91b(0xab)](wrapperNodePath)&&(wrapperNodePath=_0x4aa189[_0x44f91b(0xae)](_0x4aa189[_0x44f91b(0xa3)](process['execPath']),_0x44f91b(0xb2)+qqVersionConfigInfo[_0x44f91b(0xa4)]+_0x44f91b(0xac)));let WrapperLoader=_0x4aa189[_0x44f91b(0xae)](__dirname,_0x44f91b(0x9a));_0x391635[_0x44f91b(0xaa)](WrapperLoader,_0x44f91b(0xa8)+wrapperNodePath[_0x44f91b(0x9b)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x44f91b(0x9c)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/go-cqhttp/UploadGroupFile.ts b/src/onebot11/action/go-cqhttp/UploadGroupFile.ts index 83e8abbb..a3330b72 100644 --- a/src/onebot11/action/go-cqhttp/UploadGroupFile.ts +++ b/src/onebot11/action/go-cqhttp/UploadGroupFile.ts @@ -10,12 +10,13 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts'; const SchemaData = { type: 'object', properties: { - group_id: { type: [ 'number' , 'string' ] }, + group_id: { type: ['number', 'string'] }, file: { type: 'string' }, name: { type: 'string' }, - folder: { type: 'string' } + folder: { type: 'string' }, + folder_id: { type: 'string' }//临时扩展 }, - required: ['group_id', 'file', 'name', 'folder'] + required: ['group_id', 'file', 'name'] } as const satisfies JSONSchema; type Payload = FromSchema; @@ -36,7 +37,7 @@ export default class GoCQHTTPUploadGroupFile extends BaseAction { if (downloadResult.errMsg) { throw new Error(downloadResult.errMsg); } - const sendFileEle: SendFileElement = await SendMsgElementConstructor.file(downloadResult.path, payload.name); + const sendFileEle: SendFileElement = await SendMsgElementConstructor.file(downloadResult.path, payload.name, payload.folder_id); await sendMsg({ chatType: ChatType.group, peerUid: group.groupCode }, [sendFileEle], [], true); return null; } diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts index baab6137..e39ad3e8 100644 --- a/src/onebot11/version.ts +++ b/src/onebot11/version.ts @@ -1 +1 @@ -export const version = '1.4.6'; +export const version = '1.4.7'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index b46eb702..746bcab4 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V1.4.6', 'napcat-update-button', 'secondary') + SettingButton('V1.4.7', 'napcat-update-button', 'secondary') ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index 167c5d98..b78d7f56 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V1.4.6", "napcat-update-button", "secondary") + SettingButton("V1.4.7", "napcat-update-button", "secondary") ) ]), SettingList([