From 2536e1ae6a33db49c532471787299bb2dd407310 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, 22 Jun 2024 10:54:58 +0800 Subject: [PATCH] release: v1.6.1 --- docs/changelogs/CHANGELOG.v1.6.0.md | 4 ++-- docs/changelogs/old/CHANGELOG.v1.6.0.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/collection.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.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../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/NodeIYellowFaceService.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- src/onebot11/version.ts | 2 +- src/webui/ui/NapCat.ts | 2 +- static/assets/renderer.js | 2 +- 48 files changed, 59 insertions(+), 48 deletions(-) create mode 100644 docs/changelogs/old/CHANGELOG.v1.6.0.md diff --git a/docs/changelogs/CHANGELOG.v1.6.0.md b/docs/changelogs/CHANGELOG.v1.6.0.md index 1efb93b2..d7359c71 100644 --- a/docs/changelogs/CHANGELOG.v1.6.0.md +++ b/docs/changelogs/CHANGELOG.v1.6.0.md @@ -1,4 +1,4 @@ -# v1.6.0 +# v1.6.1 QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815 @@ -6,6 +6,6 @@ QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815 ## 新增与调整 -* 新增图片subtype属性 区分表情图片与商城图片 +* 修复poke异常事件 新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api) diff --git a/docs/changelogs/old/CHANGELOG.v1.6.0.md b/docs/changelogs/old/CHANGELOG.v1.6.0.md new file mode 100644 index 00000000..1efb93b2 --- /dev/null +++ b/docs/changelogs/old/CHANGELOG.v1.6.0.md @@ -0,0 +1,11 @@ +# v1.6.0 + +QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815 + +## 修复与优化 + + +## 新增与调整 +* 新增图片subtype属性 区分表情图片与商城图片 + +新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api) diff --git a/package.json b/package.json index 5568154f..101d6ed3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "1.6.0", + "version": "1.6.1", "scripts": { "watch:dev": "vite --mode development", "watch:prod": "vite --mode production", diff --git a/src/core b/src/core index d70f9f5f..eec6f2a5 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit d70f9f5f5bc2b1b762fe27ef9b471361ca6dda3a +Subproject commit eec6f2a5c02f0c5069fb43d6e0ccacfff78795b0 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 4d9c62e0..0ce4520e 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x34b8(){var _0x5a3de1=['3537762syBcGg','45JfpVjM','onMSFSsoError','8yHuigU','777412XdiQik','108705XZvmFJ','getGroupCode','onMSFStatusChange','2464889CFVQKg','179800LgPTGV','126549cFEtrD','2716904wiPvSX','15KFJuDG'];_0x34b8=function(){return _0x5a3de1;};return _0x34b8();}function _0x5413(_0x4c5aaf,_0x23ec2a){var _0x34b8cb=_0x34b8();return _0x5413=function(_0x5413fb,_0x4fe630){_0x5413fb=_0x5413fb-0x170;var _0x2c182b=_0x34b8cb[_0x5413fb];return _0x2c182b;},_0x5413(_0x4c5aaf,_0x23ec2a);}var _0x33fbfb=_0x5413;(function(_0x5014d9,_0x1325e4){var _0x385ef7=_0x5413,_0x25527e=_0x5014d9();while(!![]){try{var _0x3cbb72=-parseInt(_0x385ef7(0x177))/0x1+-parseInt(_0x385ef7(0x170))/0x2*(parseInt(_0x385ef7(0x172))/0x3)+-parseInt(_0x385ef7(0x171))/0x4*(-parseInt(_0x385ef7(0x179))/0x5)+-parseInt(_0x385ef7(0x17a))/0x6+parseInt(_0x385ef7(0x175))/0x7+parseInt(_0x385ef7(0x178))/0x8+parseInt(_0x385ef7(0x17b))/0x9*(-parseInt(_0x385ef7(0x176))/0xa);if(_0x3cbb72===_0x1325e4)break;else _0x25527e['push'](_0x25527e['shift']());}catch(_0xc9bd1d){_0x25527e['push'](_0x25527e['shift']());}}}(_0x34b8,0x4f0c7));export class DependsAdapter{[_0x33fbfb(0x174)](_0x1244aa,_0x7ebbb4){}[_0x33fbfb(0x17c)](_0x49b119){}[_0x33fbfb(0x173)](_0x85023a){}} \ No newline at end of file +var _0xcc391f=_0x1dbc;function _0x52b6(){var _0x415ac1=['getGroupCode','688761AQTgdS','onMSFStatusChange','4780153elzsdz','104jUCcYC','335227uPPfBg','976830pbzGRQ','5625055eKGJTT','5073624gTujzP','6DxfcvM','5630040LsNiIa'];_0x52b6=function(){return _0x415ac1;};return _0x52b6();}function _0x1dbc(_0x2e7338,_0x3c3487){var _0x52b69c=_0x52b6();return _0x1dbc=function(_0x1dbc94,_0x5792b5){_0x1dbc94=_0x1dbc94-0xbe;var _0x2be02b=_0x52b69c[_0x1dbc94];return _0x2be02b;},_0x1dbc(_0x2e7338,_0x3c3487);}(function(_0x1457cf,_0x101874){var _0x174c51=_0x1dbc,_0x5a350c=_0x1457cf();while(!![]){try{var _0x4060d=parseInt(_0x174c51(0xc4))/0x1+parseInt(_0x174c51(0xc5))/0x2*(parseInt(_0x174c51(0xc8))/0x3)+parseInt(_0x174c51(0xc7))/0x4+-parseInt(_0x174c51(0xc6))/0x5+-parseInt(_0x174c51(0xbe))/0x6+-parseInt(_0x174c51(0xc2))/0x7+parseInt(_0x174c51(0xc3))/0x8*(parseInt(_0x174c51(0xc0))/0x9);if(_0x4060d===_0x101874)break;else _0x5a350c['push'](_0x5a350c['shift']());}catch(_0x33aafc){_0x5a350c['push'](_0x5a350c['shift']());}}}(_0x52b6,0xca6b6));export class DependsAdapter{[_0xcc391f(0xc1)](_0x160645,_0x5838f1){}['onMSFSsoError'](_0x502d99){}[_0xcc391f(0xbf)](_0x45bdb6){}} \ 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 5acddcd1..f033ddc0 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x322a08=_0x7a55;function _0x7a55(_0x47fd1e,_0x28d38e){var _0x398cc1=_0x398c();return _0x7a55=function(_0x7a5516,_0x21f7e2){_0x7a5516=_0x7a5516-0x1ed;var _0x37f746=_0x398cc1[_0x7a5516];return _0x37f746;},_0x7a55(_0x47fd1e,_0x28d38e);}(function(_0x5ae6db,_0x18b47b){var _0x5e2c7a=_0x7a55,_0xfcb278=_0x5ae6db();while(!![]){try{var _0x170c78=parseInt(_0x5e2c7a(0x1ef))/0x1*(parseInt(_0x5e2c7a(0x1f6))/0x2)+-parseInt(_0x5e2c7a(0x1ed))/0x3+parseInt(_0x5e2c7a(0x1f1))/0x4+-parseInt(_0x5e2c7a(0x1ee))/0x5+-parseInt(_0x5e2c7a(0x1f2))/0x6+parseInt(_0x5e2c7a(0x1f4))/0x7+parseInt(_0x5e2c7a(0x1f5))/0x8*(-parseInt(_0x5e2c7a(0x1f3))/0x9);if(_0x170c78===_0x18b47b)break;else _0xfcb278['push'](_0xfcb278['shift']());}catch(_0x29a550){_0xfcb278['push'](_0xfcb278['shift']());}}}(_0x398c,0x9d4e8));export class DispatcherAdapter{[_0x322a08(0x1f0)](_0x4faf38){}[_0x322a08(0x1f7)](_0x467ad1){}[_0x322a08(0x1f8)](_0x21a077){}}function _0x398c(){var _0x1ca2ed=['3665464nPCRJJ','2769732FieYKq','27CTrwum','8530025Pghxab','3437976IijThs','55184KrEook','dispatchCall','dispatchCallWithJson','464232eQNtzA','2201790hipXjS','31vgRDsG','dispatchRequest'];_0x398c=function(){return _0x1ca2ed;};return _0x398c();} \ No newline at end of file +var _0x24dc95=_0x585a;function _0x585a(_0x98cee9,_0x215212){var _0x1e1827=_0x1e18();return _0x585a=function(_0x585a22,_0x290a2f){_0x585a22=_0x585a22-0x146;var _0x206eae=_0x1e1827[_0x585a22];return _0x206eae;},_0x585a(_0x98cee9,_0x215212);}(function(_0x2602b9,_0x23ed1f){var _0x29821b=_0x585a,_0xf0f43=_0x2602b9();while(!![]){try{var _0x39040d=parseInt(_0x29821b(0x14b))/0x1+parseInt(_0x29821b(0x149))/0x2+-parseInt(_0x29821b(0x150))/0x3*(-parseInt(_0x29821b(0x14f))/0x4)+-parseInt(_0x29821b(0x14d))/0x5+-parseInt(_0x29821b(0x146))/0x6+parseInt(_0x29821b(0x147))/0x7+-parseInt(_0x29821b(0x148))/0x8;if(_0x39040d===_0x23ed1f)break;else _0xf0f43['push'](_0xf0f43['shift']());}catch(_0x4448d5){_0xf0f43['push'](_0xf0f43['shift']());}}}(_0x1e18,0x9a7c0));function _0x1e18(){var _0x1859c2=['1072386zxkYvO','1702120yxKQxg','594584YdGdNa','584644jnxrqu','dispatchCallWithJson','197388uWeHvx','dispatchRequest','1250350nrYfbC','dispatchCall','8gExNtR','604533fSuWEr'];_0x1e18=function(){return _0x1859c2;};return _0x1e18();}export class DispatcherAdapter{[_0x24dc95(0x14c)](_0x251321){}[_0x24dc95(0x14e)](_0x525c84){}[_0x24dc95(0x14a)](_0x222c8d){}} \ 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 e2175f7a..36232104 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x59f79f=_0xf9e7;(function(_0x42e807,_0x3b2ab8){var _0x36c6fe=_0xf9e7,_0x3dc4fe=_0x42e807();while(!![]){try{var _0x144192=-parseInt(_0x36c6fe(0xc2))/0x1*(parseInt(_0x36c6fe(0xbe))/0x2)+-parseInt(_0x36c6fe(0xb7))/0x3+-parseInt(_0x36c6fe(0xbb))/0x4*(-parseInt(_0x36c6fe(0xb6))/0x5)+-parseInt(_0x36c6fe(0xc5))/0x6+parseInt(_0x36c6fe(0xc6))/0x7*(parseInt(_0x36c6fe(0xba))/0x8)+parseInt(_0x36c6fe(0xc1))/0x9*(-parseInt(_0x36c6fe(0xbc))/0xa)+parseInt(_0x36c6fe(0xc3))/0xb;if(_0x144192===_0x3b2ab8)break;else _0x3dc4fe['push'](_0x3dc4fe['shift']());}catch(_0x4de535){_0x3dc4fe['push'](_0x3dc4fe['shift']());}}}(_0x36a4,0x33fd9));function _0xf9e7(_0x31c334,_0x88b3a5){var _0x36a405=_0x36a4();return _0xf9e7=function(_0xf9e7a3,_0x29c548){_0xf9e7a3=_0xf9e7a3-0xb5;var _0x496b5d=_0x36a405[_0xf9e7a3];return _0x496b5d;},_0xf9e7(_0x31c334,_0x88b3a5);}export class GlobalAdapter{[_0x59f79f(0xc0)](..._0x50ca8b){}[_0x59f79f(0xb9)](..._0x20d14d){}['onShowErrUITips'](..._0x16200c){}[_0x59f79f(0xb5)](..._0xb16818){}[_0x59f79f(0xb8)](..._0x4894c2){}[_0x59f79f(0xc4)](..._0x59b5d1){}[_0x59f79f(0xbf)](..._0xe0692){}[_0x59f79f(0xbd)](..._0x283c2b){}}function _0x36a4(){var _0x3239fc=['onUpdateGeneralFlag','onLog','9ambHDl','45549EjfJYx','2425984vrxKqm','onInstallFinished','1723224nBwrHU','21upzoQr','fixPicImgType','11690PbTuPJ','247302TYwjcH','getAppSetting','onGetSrvCalTime','561928YGsmvx','564WAVMSB','1327850LyXqsU','onGetOfflineMsg','2JKJXsa'];_0x36a4=function(){return _0x3239fc;};return _0x36a4();} \ No newline at end of file +function _0x5cfc(_0x1a414e,_0x2b6945){var _0x4561bc=_0x4561();return _0x5cfc=function(_0x5cfc0a,_0x39f2fa){_0x5cfc0a=_0x5cfc0a-0xdc;var _0x29bccb=_0x4561bc[_0x5cfc0a];return _0x29bccb;},_0x5cfc(_0x1a414e,_0x2b6945);}var _0x13ad04=_0x5cfc;(function(_0x39368b,_0x1c4f7a){var _0x240e55=_0x5cfc,_0xa55402=_0x39368b();while(!![]){try{var _0x19ea16=parseInt(_0x240e55(0xe7))/0x1+parseInt(_0x240e55(0xe1))/0x2+-parseInt(_0x240e55(0xe4))/0x3*(-parseInt(_0x240e55(0xe6))/0x4)+parseInt(_0x240e55(0xdf))/0x5+-parseInt(_0x240e55(0xdc))/0x6+-parseInt(_0x240e55(0xe2))/0x7+parseInt(_0x240e55(0xe3))/0x8;if(_0x19ea16===_0x1c4f7a)break;else _0xa55402['push'](_0xa55402['shift']());}catch(_0x1e89fd){_0xa55402['push'](_0xa55402['shift']());}}}(_0x4561,0x3ebcd));function _0x4561(){var _0x4c7d39=['1071210VcxehC','818592ZGlgqp','126aNfYQt','onUpdateGeneralFlag','47692ndSNHo','178420OjINhX','2616834RVkoeU','onLog','onShowErrUITips','303535qZPoZF','onGetOfflineMsg','7850wMzNtw'];_0x4561=function(){return _0x4c7d39;};return _0x4561();}export class GlobalAdapter{[_0x13ad04(0xdd)](..._0x3e119a){}['onGetSrvCalTime'](..._0x18ecc5){}[_0x13ad04(0xde)](..._0x100e62){}['fixPicImgType'](..._0x2cde61){}['getAppSetting'](..._0x33e2eb){}['onInstallFinished'](..._0x223f3d){}[_0x13ad04(0xe5)](..._0x43f8e2){}[_0x13ad04(0xe0)](..._0x907c35){}} \ 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 6cdabf38..f18d1a0b 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x15a8(){var _0x4c7426=['1825520nRtUuN','95631LWaWGn','4430fUSbDh','25844280gNgbwW','88eUDDgv','22JmmWzU','71856gMMBUB','121740lKMrHE','3028dAEVJr','287xKEPZl','1835178bEJUix'];_0x15a8=function(){return _0x4c7426;};return _0x15a8();}function _0x25de(_0x329e16,_0x59640d){var _0x15a846=_0x15a8();return _0x25de=function(_0x25ded1,_0x26ab5b){_0x25ded1=_0x25ded1-0x16f;var _0x1cf3b8=_0x15a846[_0x25ded1];return _0x1cf3b8;},_0x25de(_0x329e16,_0x59640d);}(function(_0x2862fc,_0x2f0547){var _0x2c7e63=_0x25de,_0x17741b=_0x2862fc();while(!![]){try{var _0x11cf00=-parseInt(_0x2c7e63(0x175))/0x1*(parseInt(_0x2c7e63(0x179))/0x2)+-parseInt(_0x2c7e63(0x173))/0x3+parseInt(_0x2c7e63(0x171))/0x4*(-parseInt(_0x2c7e63(0x176))/0x5)+-parseInt(_0x2c7e63(0x170))/0x6*(-parseInt(_0x2c7e63(0x172))/0x7)+-parseInt(_0x2c7e63(0x178))/0x8*(parseInt(_0x2c7e63(0x16f))/0x9)+-parseInt(_0x2c7e63(0x174))/0xa+parseInt(_0x2c7e63(0x177))/0xb;if(_0x11cf00===_0x2f0547)break;else _0x17741b['push'](_0x17741b['shift']());}catch(_0x1f239f){_0x17741b['push'](_0x17741b['shift']());}}}(_0x15a8,0x8cc71));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x3bd320,_0x59cad1){var _0x5b8350=_0x2e39,_0x5f2fbc=_0x3bd320();while(!![]){try{var _0x48276f=-parseInt(_0x5b8350(0x129))/0x1+parseInt(_0x5b8350(0x12a))/0x2+-parseInt(_0x5b8350(0x12c))/0x3+-parseInt(_0x5b8350(0x12b))/0x4*(parseInt(_0x5b8350(0x12f))/0x5)+parseInt(_0x5b8350(0x127))/0x6*(parseInt(_0x5b8350(0x12d))/0x7)+parseInt(_0x5b8350(0x126))/0x8+-parseInt(_0x5b8350(0x12e))/0x9*(-parseInt(_0x5b8350(0x128))/0xa);if(_0x48276f===_0x59cad1)break;else _0x5f2fbc['push'](_0x5f2fbc['shift']());}catch(_0x5c216f){_0x5f2fbc['push'](_0x5f2fbc['shift']());}}}(_0xf9fd,0xae9e1));function _0x2e39(_0x4fe14e,_0x2ce9ef){var _0xf9fd06=_0xf9fd();return _0x2e39=function(_0x2e3985,_0x1300b5){_0x2e3985=_0x2e3985-0x126;var _0x458d58=_0xf9fd06[_0x2e3985];return _0x458d58;},_0x2e39(_0x4fe14e,_0x2ce9ef);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0xf9fd(){var _0x113674=['9Psfnwm','1255gvGSSW','8940456QkCTfV','546MtNrzV','3069540AuWaws','149260sAWoZS','472274vEalJO','14696sQGKES','3882108rVTCKd','109235UStmLQ'];_0xf9fd=function(){return _0x113674;};return _0xf9fd();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index 8ea2a7b9..dbfe37cf 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -(function(_0x4b59c2,_0x3d7488){const _0x3d0aed=_0x48eb,_0x58e783=_0x4b59c2();while(!![]){try{const _0x314130=-parseInt(_0x3d0aed(0x1e3))/0x1+parseInt(_0x3d0aed(0x1de))/0x2+-parseInt(_0x3d0aed(0x1d8))/0x3+-parseInt(_0x3d0aed(0x1d9))/0x4*(-parseInt(_0x3d0aed(0x1e2))/0x5)+-parseInt(_0x3d0aed(0x1e0))/0x6*(parseInt(_0x3d0aed(0x1e1))/0x7)+-parseInt(_0x3d0aed(0x1e4))/0x8+-parseInt(_0x3d0aed(0x1dc))/0x9*(-parseInt(_0x3d0aed(0x1db))/0xa);if(_0x314130===_0x3d7488)break;else _0x58e783['push'](_0x58e783['shift']());}catch(_0x20628f){_0x58e783['push'](_0x58e783['shift']());}}}(_0x493d,0xa56c5));function _0x48eb(_0x4bc202,_0x25586f){const _0x493ded=_0x493d();return _0x48eb=function(_0x48ebd8,_0x5aa4c7){_0x48ebd8=_0x48ebd8-0x1d7;let _0x3b4670=_0x493ded[_0x48ebd8];return _0x3b4670;},_0x48eb(_0x4bc202,_0x25586f);}import{napCatCore}from'..';export class NTQQCollectionApi{static async['createCollection'](_0x190fff,_0x773f9d,_0x3bb5fd,_0x71660a,_0x44d3bd){const _0x2dd486=_0x48eb;let _0x5a1693={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x190fff,'strId':_0x3bb5fd,'groupId':'0','groupName':'','uid':_0x773f9d},'customGroupId':'0','createTime':Date[_0x2dd486(0x1e5)]()[_0x2dd486(0x1d7)](),'sequence':Date[_0x2dd486(0x1e5)]()[_0x2dd486(0x1d7)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x71660a,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x44d3bd,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2dd486(0x1da)][_0x2dd486(0x1df)]()[_0x2dd486(0x1dd)](_0x5a1693);}static async['getAllCollection'](_0x10be57=0x0,_0x559553=0x32){const _0x2c69ad=_0x48eb;let _0x4e7662={'category':_0x10be57,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x559553,'searchDown':!![]};return napCatCore[_0x2c69ad(0x1da)][_0x2c69ad(0x1df)]()['getCollectionItemList'](_0x4e7662);}}function _0x493d(){const _0x248d76=['getCollectionService','120ZqYCZt','418453zBzFgH','290mRbjxf','782572xYbCte','6049272XGRlYT','now','toString','2718012HkPdyF','26056NkjZVn','session','8350970AkBxNY','36DEriRI','createNewCollectionItem','1199376PduhKQ'];_0x493d=function(){return _0x248d76;};return _0x493d();} \ No newline at end of file +const _0xb3b733=_0x45ad;(function(_0x4bffd0,_0x176a97){const _0x5ae4cb=_0x45ad,_0x19227e=_0x4bffd0();while(!![]){try{const _0x232a10=parseInt(_0x5ae4cb(0x9e))/0x1*(-parseInt(_0x5ae4cb(0xa3))/0x2)+parseInt(_0x5ae4cb(0x9f))/0x3+-parseInt(_0x5ae4cb(0x98))/0x4+-parseInt(_0x5ae4cb(0xa4))/0x5*(parseInt(_0x5ae4cb(0xa1))/0x6)+parseInt(_0x5ae4cb(0x9a))/0x7+-parseInt(_0x5ae4cb(0x9c))/0x8+-parseInt(_0x5ae4cb(0x9b))/0x9*(-parseInt(_0x5ae4cb(0xa2))/0xa);if(_0x232a10===_0x176a97)break;else _0x19227e['push'](_0x19227e['shift']());}catch(_0x5a2898){_0x19227e['push'](_0x19227e['shift']());}}}(_0x3563,0x5c34e));function _0x3563(){const _0x2b00dc=['now','483126HtoXls','9LnNbBO','3145248lVakQe','getCollectionItemList','1GKTnyB','1666581DNwykv','getCollectionService','24QkRxvQ','10785410wJqEAX','34634zixcbT','782685ybfoFF','createCollection','toString','session','1155148LpPQiB'];_0x3563=function(){return _0x2b00dc;};return _0x3563();}function _0x45ad(_0x1f4c0f,_0x339836){const _0x356308=_0x3563();return _0x45ad=function(_0x45ad53,_0x31dee2){_0x45ad53=_0x45ad53-0x96;let _0x9ded03=_0x356308[_0x45ad53];return _0x9ded03;},_0x45ad(_0x1f4c0f,_0x339836);}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0xb3b733(0xa5)](_0xc13a04,_0x336a77,_0xa0ed04,_0x57ade0,_0x49485d){const _0x1b5d4d=_0xb3b733;let _0x57b825={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0xc13a04,'strId':_0xa0ed04,'groupId':'0','groupName':'','uid':_0x336a77},'customGroupId':'0','createTime':Date[_0x1b5d4d(0x99)]()['toString'](),'sequence':Date['now']()[_0x1b5d4d(0x96)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x57ade0,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x49485d,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x1b5d4d(0x97)]['getCollectionService']()['createNewCollectionItem'](_0x57b825);}static async['getAllCollection'](_0x258049=0x0,_0x39c346=0x32){const _0x2dbee4=_0xb3b733;let _0x497dec={'category':_0x258049,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x39c346,'searchDown':!![]};return napCatCore[_0x2dbee4(0x97)][_0x2dbee4(0xa0)]()[_0x2dbee4(0x9d)](_0x497dec);}} \ 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 c89dcc0e..fdb1d733 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x5cc836=_0x2753;(function(_0x325c3a,_0x104157){const _0x4dc830=_0x2753,_0x1a1d7f=_0x325c3a();while(!![]){try{const _0x36f52e=-parseInt(_0x4dc830(0x174))/0x1+-parseInt(_0x4dc830(0x177))/0x2+parseInt(_0x4dc830(0x14d))/0x3+parseInt(_0x4dc830(0x155))/0x4*(parseInt(_0x4dc830(0x145))/0x5)+-parseInt(_0x4dc830(0x16b))/0x6*(-parseInt(_0x4dc830(0x137))/0x7)+-parseInt(_0x4dc830(0x13c))/0x8+-parseInt(_0x4dc830(0x13a))/0x9;if(_0x36f52e===_0x104157)break;else _0x1a1d7f['push'](_0x1a1d7f['shift']());}catch(_0x3ccd41){_0x1a1d7f['push'](_0x1a1d7f['shift']());}}}(_0x119c,0x263fe));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3bb556 from'path';import _0x5bf1a3 from'fs';import _0x1bedda from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x1ab883 from'file-type';import{MsgListener}from'@/core/listeners';import _0x50335f from'image-size';function _0x2753(_0x41fdd2,_0x37be4d){const _0x119c22=_0x119c();return _0x2753=function(_0x275373,_0x474705){_0x275373=_0x275373-0x129;let _0x21bbe4=_0x119c22[_0x275373];return _0x21bbe4;},_0x2753(_0x41fdd2,_0x37be4d);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x119c(){const _0x38f25e=['图片url获取失败','addCacheScanedPaths','set','fileUuid','uMVze','agSaB','WrzCu','65kmtgvv','getDesktopTmpPath','onLoginSuccess','tmp','&rkey=','FUKnC','chatType','getFileSize','61701ahfIXZ','getRkey','downloadRichMedia','addCacheScannedPaths','md5HexStr','setCacheSilentScan','clearCacheDataByKeys','getMsgService','73464ACaxJF','url','delete','session','toUpperCase','unlink','includes','clearChatCache','urlResult','copyFile','fileTypeFromFile','getImageSize','rMFIR','QoqkO','zZcGi','scanCache','getCacheSessionPathList','existsSync','JkjHw','getVideoUrl','getFileType','indexOf','272214jpuKAv','ZKxes','originImageUrl','util','filePath','private_rkey','getImageUrl','clearCache','getHotUpdateCachePath','21208sxNRme','peerUid','msgId','128032rfUfKP','join','getRichMediaService','basename','group_rkey','elementId','getRichMediaFilePathForGuild','DJGIE','addListener','Tpwfh','downloadMedia','getFileCacheInfo','clearChatCacheInfo','startsWith','/gchatpic_new/0/0-0-','14LEqUwC','getStorageCleanService','TGoff','727758YhIOmB','hotUpdate','218456NkKTwA','domainUrl'];_0x119c=function(){return _0x38f25e;};return _0x119c();}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x43aa30=>{const _0x453894=_0x2753;for(const [_0x2d7654,_0x510cfd]of downloadMediaTasks){_0x510cfd(_0x43aa30),downloadMediaTasks[_0x453894(0x157)](_0x2d7654);}},setTimeout(()=>{const _0x1261bb=_0x2753;napCatCore[_0x1261bb(0x147)](()=>{const _0x3587c0=_0x1261bb;napCatCore[_0x3587c0(0x130)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x4bfd4c){const _0x9a74a=_0x2753;return _0x1ab883[_0x9a74a(0x15f)](_0x4bfd4c);}static async['copyFile'](_0x2a6028,_0x1aa9cd){const _0xa13bae=_0x2753;await napCatCore['util'][_0xa13bae(0x15e)](_0x2a6028,_0x1aa9cd);}static async['getFileSize'](_0x5bb7bc){const _0x3b62a4=_0x2753;return await napCatCore[_0x3b62a4(0x16e)]['getFileSize'](_0x5bb7bc);}static async[_0x5cc836(0x168)](_0x143e34,_0x2c047a){const _0x757d42=_0x5cc836;return(await napCatCore['session'][_0x757d42(0x12a)]()['getVideoPlayUrlV2']({'chatType':_0x143e34[_0x757d42(0x14b)],'peerUid':_0x143e34[_0x757d42(0x175)],'guildId':'0'},_0x143e34[_0x757d42(0x176)],_0x2c047a[_0x757d42(0x12d)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x757d42(0x15d)][_0x757d42(0x13d)][0x0][_0x757d42(0x156)];}static async['uploadFile'](_0x28be73,_0x4d6d6c=ElementType['PIC'],_0x887ed4=0x0){const _0x1e3d69=_0x5cc836,_0xbb142a={'zZcGi':function(_0x4ca907,_0x15a7fd){return _0x4ca907+_0x15a7fd;},'QoqkO':function(_0x1132f8,_0x2cf667){return _0x1132f8===_0x2cf667;}},_0x20eb82=await calculateFileMD5(_0x28be73);let _0x21ab34=(await NTQQFileApi[_0x1e3d69(0x169)](_0x28be73))?.['ext']||'';_0x21ab34&&(_0x21ab34=_0xbb142a[_0x1e3d69(0x163)]('.',_0x21ab34));let _0xa54243=''+_0x3bb556[_0x1e3d69(0x12b)](_0x28be73);_0xbb142a[_0x1e3d69(0x162)](_0xa54243[_0x1e3d69(0x16a)]('.'),-0x1)&&(_0xa54243+=_0x21ab34);const _0x2aca53=napCatCore[_0x1e3d69(0x158)][_0x1e3d69(0x154)]()[_0x1e3d69(0x12e)]({'md5HexStr':_0x20eb82,'fileName':_0xa54243,'elementType':_0x4d6d6c,'elementSubType':_0x887ed4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1e3d69(0x15e)](_0x28be73,_0x2aca53);const _0x457ed8=await NTQQFileApi[_0x1e3d69(0x14c)](_0x28be73);return{'md5':_0x20eb82,'fileName':_0xa54243,'path':_0x2aca53,'fileSize':_0x457ed8,'ext':_0x21ab34};}static async[_0x5cc836(0x132)](_0x5a7075,_0x342e6b,_0x50a1e3,_0x2b9fd8,_0x26fbc5,_0x2e59fd,_0x50412a=0x3e8*0x3c*0x2,_0x3be495=![]){const _0xf0a703=_0x5cc836,_0x137ad9={'eNFjE':function(_0x2ae1c5,_0x32005a){return _0x2ae1c5(_0x32005a);},'ZKxes':function(_0x2c88da,_0x380753){return _0x2c88da(_0x380753);},'Vqnbe':'下载超时','agSaB':function(_0x3d8991){return _0x3d8991();},'KdcDS':function(_0x410e1c,_0x275ddb,_0x220fe8){return _0x410e1c(_0x275ddb,_0x220fe8);}};if(_0x2e59fd&&_0x5bf1a3[_0xf0a703(0x166)](_0x2e59fd)){if(_0x3be495)try{await _0x1bedda[_0xf0a703(0x15a)](_0x2e59fd);}catch(_0x42fec1){}else return _0x2e59fd;}return new Promise((_0x43aeff,_0x59ee69)=>{const _0x530cca=_0xf0a703,_0x13226f={'FUKnC':function(_0x5d6c80,_0x5707a8){const _0x38aa81=_0x2753;return _0x137ad9[_0x38aa81(0x16c)](_0x5d6c80,_0x5707a8);},'TGoff':_0x137ad9['Vqnbe']};let _0x58c57f=![];const _0x4af187=_0x54bfd2=>{const _0x599c7a=_0x2753;if(_0x54bfd2[_0x599c7a(0x176)]===_0x5a7075){_0x58c57f=!![];let _0xc935b=_0x54bfd2[_0x599c7a(0x16f)];if(_0xc935b[_0x599c7a(0x135)]('\x5c')){const _0x4169d4=sessionConfig['defaultFileDownloadPath'];_0xc935b=_0x3bb556[_0x599c7a(0x129)](_0x4169d4,_0xc935b);}_0x137ad9['eNFjE'](_0x43aeff,_0xc935b);}};downloadMediaTasks[_0x530cca(0x140)](_0x137ad9[_0x530cca(0x143)](randomUUID),_0x4af187),_0x137ad9['KdcDS'](setTimeout,()=>{const _0xb08cf8=_0x530cca;!_0x58c57f&&_0x13226f[_0xb08cf8(0x14a)](_0x59ee69,_0x13226f[_0xb08cf8(0x139)]);},_0x50412a),napCatCore[_0x530cca(0x158)][_0x530cca(0x154)]()[_0x530cca(0x14f)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5a7075,'chatType':_0x342e6b,'peerUid':_0x50a1e3,'elementId':_0x2b9fd8,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x26fbc5});});}static async[_0x5cc836(0x160)](_0x256a4e){const _0x92a364={'bhGvn':function(_0x8f46ce,_0x17c518){return _0x8f46ce(_0x17c518);},'rMFIR':function(_0x5d944c,_0x304fc0,_0x106c90){return _0x5d944c(_0x304fc0,_0x106c90);}};return new Promise((_0x30e6ab,_0x548022)=>{const _0x2d5105=_0x2753;_0x92a364[_0x2d5105(0x161)](_0x50335f,_0x256a4e,(_0x1019b2,_0x232d49)=>{_0x1019b2?_0x548022(_0x1019b2):_0x92a364['bhGvn'](_0x30e6ab,_0x232d49);});});}static async[_0x5cc836(0x171)](_0x2e48d5,_0xde902){const _0x4bbfa5=_0x5cc836,_0x385d3d={'JkjHw':'/download','DJGIE':_0x4bbfa5(0x149),'Tpwfh':function(_0x236756,_0x4a101d){return _0x236756+_0x4a101d;},'uMVze':function(_0x24355,_0x1fc316){return _0x24355+_0x1fc316;},'WrzCu':function(_0x30dd54,_0x4ccfc5){return _0x30dd54||_0x4ccfc5;}};if(!_0x2e48d5)return'';const _0xfe8a46=_0x2e48d5[_0x4bbfa5(0x16d)],_0x51e567=_0x2e48d5[_0x4bbfa5(0x151)],_0x55be85=_0x2e48d5[_0x4bbfa5(0x151)],_0x3b3094=_0x2e48d5[_0x4bbfa5(0x141)];if(_0xfe8a46){if(_0xfe8a46[_0x4bbfa5(0x135)](_0x385d3d[_0x4bbfa5(0x167)])){if(_0xfe8a46[_0x4bbfa5(0x15b)](_0x385d3d[_0x4bbfa5(0x12f)]))return IMAGE_HTTP_HOST_NT+_0xfe8a46;const _0x5b2af0=await rkeyManager[_0x4bbfa5(0x14e)](),_0x4e1d44=_0xde902?_0x5b2af0[_0x4bbfa5(0x170)]:_0x5b2af0[_0x4bbfa5(0x12c)];return _0x385d3d[_0x4bbfa5(0x131)](_0x385d3d[_0x4bbfa5(0x131)](IMAGE_HTTP_HOST_NT,_0xfe8a46),''+_0x4e1d44);}else return _0x385d3d[_0x4bbfa5(0x142)](IMAGE_HTTP_HOST,_0xfe8a46);}else{if(_0x55be85||_0x51e567)return IMAGE_HTTP_HOST+_0x4bbfa5(0x136)+_0x385d3d[_0x4bbfa5(0x144)](_0x55be85,_0x51e567)[_0x4bbfa5(0x159)]()+'/0';}return logDebug(_0x4bbfa5(0x13e),_0x2e48d5),'';}}export class NTQQFileCacheApi{static async[_0x5cc836(0x152)](_0x4589eb=!![]){return'';}static[_0x5cc836(0x165)](){return'';}static[_0x5cc836(0x172)](_0x386496=[_0x5cc836(0x148),_0x5cc836(0x13b)]){const _0x143ea9=_0x5cc836;return napCatCore[_0x143ea9(0x158)][_0x143ea9(0x138)]()[_0x143ea9(0x153)](_0x386496);}static[_0x5cc836(0x150)](_0x457d7b={}){const _0x4ef075=_0x5cc836;return napCatCore[_0x4ef075(0x158)][_0x4ef075(0x138)]()[_0x4ef075(0x13f)](_0x457d7b);}static[_0x5cc836(0x164)](){const _0x4d438e=_0x5cc836;return napCatCore[_0x4d438e(0x158)]['getStorageCleanService']()[_0x4d438e(0x164)]();}static[_0x5cc836(0x173)](){return'';}static[_0x5cc836(0x146)](){return'';}static['getChatCacheList'](_0xeca349,_0x492e7a=0x3e8,_0x36f7cd=0x0){const _0x52aa1a=_0x5cc836;return napCatCore[_0x52aa1a(0x158)][_0x52aa1a(0x138)]()['getChatCacheInfo'](_0xeca349,_0x492e7a,0x1,_0x36f7cd);}static[_0x5cc836(0x133)](_0x29d982,_0x396ab3=0x3e8,_0x534ecd){const _0x4a9df6=_0x534ecd?_0x534ecd:{'fileType':_0x29d982};}static async[_0x5cc836(0x15c)](_0x5b7ea5=[],_0x14902e=[]){const _0x33e331=_0x5cc836;return napCatCore['session'][_0x33e331(0x138)]()[_0x33e331(0x134)](_0x5b7ea5,_0x14902e);}} \ No newline at end of file +const _0x143072=_0x399e;(function(_0x20298c,_0x90e803){const _0x68189f=_0x399e,_0x245bae=_0x20298c();while(!![]){try{const _0x474673=-parseInt(_0x68189f(0xc8))/0x1+-parseInt(_0x68189f(0x9d))/0x2*(-parseInt(_0x68189f(0x9b))/0x3)+-parseInt(_0x68189f(0xa7))/0x4*(parseInt(_0x68189f(0x94))/0x5)+-parseInt(_0x68189f(0x97))/0x6*(-parseInt(_0x68189f(0x95))/0x7)+parseInt(_0x68189f(0xb0))/0x8*(parseInt(_0x68189f(0xb6))/0x9)+parseInt(_0x68189f(0xb8))/0xa+-parseInt(_0x68189f(0x9e))/0xb*(parseInt(_0x68189f(0xc1))/0xc);if(_0x474673===_0x90e803)break;else _0x245bae['push'](_0x245bae['shift']());}catch(_0x19621d){_0x245bae['push'](_0x245bae['shift']());}}}(_0x2884,0x78328));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1a5965 from'path';function _0x399e(_0x5354bb,_0x39d78e){const _0x288486=_0x2884();return _0x399e=function(_0x399e2c,_0x699154){_0x399e2c=_0x399e2c-0x85;let _0x27f1a3=_0x288486[_0x399e2c];return _0x27f1a3;},_0x399e(_0x5354bb,_0x39d78e);}import _0x509b94 from'fs';import _0x1311cc from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x759ec1 from'file-type';import{MsgListener}from'@/core/listeners';import _0x23b8ac from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x2884(){const _0x460cc4=['basename','getMsgService','getRkey','fileUuid','hotUpdate','vTdiT','includes','5480KhnmmO','NDOFs','getFileType','clearChatCache','piNSS','UoCXU','2502AeYpaB','SzWXI','5790700xoKTQv','gHWBC','originImageUrl','uploadFile','toUpperCase','fileTypeFromFile','urlResult','getRichMediaService','getFileSize','192GBBoym','copyFile','scanCache','getCacheSessionPathList','iaVgj','tmp','filePath','536001fGiZJa','clearChatCacheInfo','unlink','getImageSize','clearCacheDataByKeys','clearCache','defaultFileDownloadPath','/download','indexOf','xYmsq','下载超时','VaEkg','startsWith','getStorageCleanService','session','addCacheScanedPaths','pxUbd','setCacheSilentScan','addCacheScannedPaths','890Wnrnbf','287581YLNLhk','md5HexStr','42ylunAN','getVideoUrl','group_rkey','swSfF','327moFHVC','HCrTV','18052fhrKCe','149259LUwfPj','onLoginSuccess','zitIM','domainUrl','delete','util','private_rkey','existsSync','getRichMediaFilePathForGuild','17876mvavNM','getChatCacheList'];_0x2884=function(){return _0x460cc4;};return _0x2884();}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['onRichMediaDownloadComplete']=_0x66399d=>{const _0x2daab8=_0x399e,_0x5197f2={'pxUbd':function(_0x3f49e0,_0x6af56c){return _0x3f49e0(_0x6af56c);}};for(const [_0x5ce279,_0x3d0420]of downloadMediaTasks){_0x5197f2[_0x2daab8(0x91)](_0x3d0420,_0x66399d),downloadMediaTasks[_0x2daab8(0xa2)](_0x5ce279);}},setTimeout(()=>{const _0x299b5d=_0x399e;napCatCore[_0x299b5d(0x9f)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x143072(0xb2)](_0x4995df){const _0x303f69=_0x143072;return _0x759ec1[_0x303f69(0xbd)](_0x4995df);}static async['copyFile'](_0x14514d,_0x4453ff){const _0x201c97=_0x143072;await napCatCore[_0x201c97(0xa3)][_0x201c97(0xc2)](_0x14514d,_0x4453ff);}static async['getFileSize'](_0x34a24c){const _0x45815f=_0x143072;return await napCatCore[_0x45815f(0xa3)][_0x45815f(0xc0)](_0x34a24c);}static async[_0x143072(0x98)](_0x5dc8b5,_0x4cb728){const _0x4523f6=_0x143072;return(await napCatCore[_0x4523f6(0x8f)][_0x4523f6(0xbf)]()['getVideoPlayUrlV2']({'chatType':_0x5dc8b5['chatType'],'peerUid':_0x5dc8b5['peerUid'],'guildId':'0'},_0x5dc8b5['msgId'],_0x4cb728['elementId'],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x4523f6(0xbe)][_0x4523f6(0xa1)][0x0]['url'];}static async[_0x143072(0xbb)](_0x45a59f,_0x585d94=ElementType['PIC'],_0xa5bf3c=0x0){const _0x5083ee=_0x143072,_0x4f7567={'zitIM':function(_0x35b56e,_0x385762){return _0x35b56e(_0x385762);},'SzWXI':function(_0x74e51b,_0x40c508){return _0x74e51b+_0x40c508;},'HCrTV':function(_0x28fa1f,_0x3d9be1){return _0x28fa1f===_0x3d9be1;}},_0x487c95=await _0x4f7567[_0x5083ee(0xa0)](calculateFileMD5,_0x45a59f);let _0x2bf4ce=(await NTQQFileApi[_0x5083ee(0xb2)](_0x45a59f))?.['ext']||'';_0x2bf4ce&&(_0x2bf4ce=_0x4f7567[_0x5083ee(0xb7)]('.',_0x2bf4ce));let _0x3d8f24=''+_0x1a5965[_0x5083ee(0xa9)](_0x45a59f);_0x4f7567[_0x5083ee(0x9c)](_0x3d8f24[_0x5083ee(0x89)]('.'),-0x1)&&(_0x3d8f24+=_0x2bf4ce);const _0xf6a55b=napCatCore['session'][_0x5083ee(0xaa)]()[_0x5083ee(0xa6)]({'md5HexStr':_0x487c95,'fileName':_0x3d8f24,'elementType':_0x585d94,'elementSubType':_0xa5bf3c,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x5083ee(0xc2)](_0x45a59f,_0xf6a55b);const _0x18bb2f=await NTQQFileApi[_0x5083ee(0xc0)](_0x45a59f);return{'md5':_0x487c95,'fileName':_0x3d8f24,'path':_0xf6a55b,'fileSize':_0x18bb2f,'ext':_0x2bf4ce};}static async['downloadMedia'](_0x1cdc0c,_0x16d736,_0x1ec06b,_0x42746f,_0x3b34f2,_0x52dfeb,_0x448f93=0x3e8*0x3c*0x2,_0xe60664=![]){const _0x50de30=_0x143072,_0x3e6684={'xYmsq':function(_0x52b2e7,_0x218570){return _0x52b2e7(_0x218570);},'swSfF':_0x50de30(0x8b),'piNSS':function(_0x39285c,_0x1bcf5b){return _0x39285c===_0x1bcf5b;},'QdZlT':function(_0x4e16a8,_0x4134a5,_0x4cad87){return _0x4e16a8(_0x4134a5,_0x4cad87);}};if(_0x52dfeb&&_0x509b94[_0x50de30(0xa5)](_0x52dfeb)){if(_0xe60664)try{await _0x1311cc[_0x50de30(0xca)](_0x52dfeb);}catch(_0x5bd105){}else return _0x52dfeb;}return new Promise((_0x589b41,_0x1e76b5)=>{const _0x220923=_0x50de30,_0x1f949f={'iaVgj':function(_0x30a740,_0x322dce){const _0x46e44a=_0x399e;return _0x3e6684[_0x46e44a(0xb4)](_0x30a740,_0x322dce);},'KRYfE':function(_0x21b4c7,_0x2d5588){const _0x4dff18=_0x399e;return _0x3e6684[_0x4dff18(0x8a)](_0x21b4c7,_0x2d5588);}};let _0x5a7b62=![];const _0x3a34ad=_0x3e4dec=>{const _0x2f9581=_0x399e;if(_0x1f949f[_0x2f9581(0xc5)](_0x3e4dec['msgId'],_0x1cdc0c)){_0x5a7b62=!![];let _0xb8ee72=_0x3e4dec[_0x2f9581(0xc7)];if(_0xb8ee72[_0x2f9581(0x8d)]('\x5c')){const _0x51a9ef=sessionConfig[_0x2f9581(0x87)];_0xb8ee72=_0x1a5965['join'](_0x51a9ef,_0xb8ee72);}_0x1f949f['KRYfE'](_0x589b41,_0xb8ee72);}};downloadMediaTasks['set'](randomUUID(),_0x3a34ad),_0x3e6684['QdZlT'](setTimeout,()=>{const _0x35a2c4=_0x399e;!_0x5a7b62&&_0x3e6684['xYmsq'](_0x1e76b5,_0x3e6684[_0x35a2c4(0x9a)]);},_0x448f93),napCatCore['session'][_0x220923(0xaa)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x1cdc0c,'chatType':_0x16d736,'peerUid':_0x1ec06b,'elementId':_0x42746f,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3b34f2});});}static async[_0x143072(0xcb)](_0x5c0394){return new Promise((_0xc27925,_0x59da1b)=>{_0x23b8ac(_0x5c0394,(_0x158909,_0x3172c1)=>{_0x158909?_0x59da1b(_0x158909):_0xc27925(_0x3172c1);});});}static async['getImageUrl'](_0x25ad99,_0x554e55){const _0x1f4af7=_0x143072,_0x417cce={'UoCXU':_0x1f4af7(0x88),'gHWBC':'&rkey=','VaEkg':function(_0xeea0ba,_0x4725dd){return _0xeea0ba+_0x4725dd;},'vTdiT':function(_0x4c02d5,_0xd9283c){return _0x4c02d5+_0xd9283c;},'NDOFs':function(_0x1eb0c3,_0x545843){return _0x1eb0c3||_0x545843;},'epsJM':function(_0x2786a1,_0x35968d,_0x51ced3){return _0x2786a1(_0x35968d,_0x51ced3);},'ayZIu':'图片url获取失败'};if(!_0x25ad99)return'';const _0x2af471=_0x25ad99[_0x1f4af7(0xba)],_0x3be94a=_0x25ad99[_0x1f4af7(0x96)],_0x1fc931=_0x25ad99['md5HexStr'],_0x6b2891=_0x25ad99[_0x1f4af7(0xac)];if(_0x2af471){if(_0x2af471[_0x1f4af7(0x8d)](_0x417cce[_0x1f4af7(0xb5)])){if(_0x2af471[_0x1f4af7(0xaf)](_0x417cce[_0x1f4af7(0xb9)]))return _0x417cce[_0x1f4af7(0x8c)](IMAGE_HTTP_HOST_NT,_0x2af471);const _0x19daf2=await rkeyManager[_0x1f4af7(0xab)](),_0x23b6a0=_0x554e55?_0x19daf2[_0x1f4af7(0xa4)]:_0x19daf2[_0x1f4af7(0x99)];return _0x417cce[_0x1f4af7(0xae)](IMAGE_HTTP_HOST_NT,_0x2af471)+(''+_0x23b6a0);}else return _0x417cce[_0x1f4af7(0x8c)](IMAGE_HTTP_HOST,_0x2af471);}else{if(_0x1fc931||_0x3be94a)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x417cce[_0x1f4af7(0xb1)](_0x1fc931,_0x3be94a)[_0x1f4af7(0xbc)]()+'/0';}return _0x417cce['epsJM'](logDebug,_0x417cce['ayZIu'],_0x25ad99),'';}}export class NTQQFileCacheApi{static async[_0x143072(0x92)](_0x172058=!![]){return'';}static[_0x143072(0xc4)](){return'';}static[_0x143072(0x86)](_0x1aa93c=[_0x143072(0xc6),_0x143072(0xad)]){const _0x52c4e6=_0x143072;return napCatCore['session'][_0x52c4e6(0x8e)]()[_0x52c4e6(0x85)](_0x1aa93c);}static[_0x143072(0x93)](_0x227af7={}){const _0x4ba479=_0x143072;return napCatCore[_0x4ba479(0x8f)][_0x4ba479(0x8e)]()[_0x4ba479(0x90)](_0x227af7);}static[_0x143072(0xc3)](){const _0x5b39bd=_0x143072;return napCatCore[_0x5b39bd(0x8f)][_0x5b39bd(0x8e)]()[_0x5b39bd(0xc3)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x143072(0xa8)](_0x25a72f,_0x197c01=0x3e8,_0x4c762d=0x0){const _0x516947=_0x143072;return napCatCore[_0x516947(0x8f)]['getStorageCleanService']()['getChatCacheInfo'](_0x25a72f,_0x197c01,0x1,_0x4c762d);}static['getFileCacheInfo'](_0x24a050,_0x3a3cdd=0x3e8,_0x16455d){const _0x5e2d41=_0x16455d?_0x16455d:{'fileType':_0x24a050};}static async[_0x143072(0xb3)](_0x5d0a16=[],_0x42008b=[]){const _0x5c76af=_0x143072;return napCatCore['session'][_0x5c76af(0x8e)]()[_0x5c76af(0xc9)](_0x5d0a16,_0x42008b);}} \ 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 2fe3ce5d..9f6aacc4 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x5820(){const _0xd58641=['getBuddyService','NodeIKernelBuddyService/getBuddyList','NodeIKernelBuddyListener/onBuddyListChange','dXhmp','757225pdsMHI','split','433345fApLPe','isBuddy','7513440OVDWHx','ObMee','191142WJRwiA','640EMgfye','863124waPdXc','buddyList','getFriends','handleFriendRequest','session','9PrYryQ','1124810WQPXHs','192IIJEUa','hfVyP','20ZeDEmZ','72GqzhxS','length','854812ybTIyM'];_0x5820=function(){return _0xd58641;};return _0x5820();}const _0x41ea97=_0x7a21;(function(_0x4c9b52,_0x18da63){const _0x25929e=_0x7a21,_0x38ca40=_0x4c9b52();while(!![]){try{const _0x5d42b3=-parseInt(_0x25929e(0x9a))/0x1+-parseInt(_0x25929e(0x89))/0x2*(parseInt(_0x25929e(0x8e))/0x3)+parseInt(_0x25929e(0x92))/0x4*(parseInt(_0x25929e(0x8f))/0x5)+-parseInt(_0x25929e(0x9e))/0x6+parseInt(_0x25929e(0x95))/0x7*(parseInt(_0x25929e(0x93))/0x8)+-parseInt(_0x25929e(0xa0))/0x9*(-parseInt(_0x25929e(0xa1))/0xa)+-parseInt(_0x25929e(0x9c))/0xb*(-parseInt(_0x25929e(0x90))/0xc);if(_0x5d42b3===_0x18da63)break;else _0x38ca40['push'](_0x38ca40['shift']());}catch(_0x107f9a){_0x38ca40['push'](_0x38ca40['shift']());}}}(_0x5820,0xddfc7));function _0x7a21(_0x459a32,_0x120c90){const _0x582071=_0x5820();return _0x7a21=function(_0x7a2113,_0x8ceb5e){_0x7a2113=_0x7a2113-0x89;let _0x5ba122=_0x582071[_0x7a2113];return _0x5ba122;},_0x7a21(_0x459a32,_0x120c90);}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x41ea97(0x9d)](_0x3f3c16){const _0x116a2c=_0x41ea97;return napCatCore[_0x116a2c(0x8d)][_0x116a2c(0x96)]()['isBuddy'](_0x3f3c16);}static async[_0x41ea97(0x8b)](_0x30c0ca=![]){const _0x5028e6=_0x41ea97,_0x143e2e={'hfVyP':_0x5028e6(0x97),'ObMee':_0x5028e6(0x98)};let [_0x3ae1d,_0x284612]=await NTEventDispatch['CallNormalEvent'](_0x143e2e[_0x5028e6(0x91)],_0x143e2e[_0x5028e6(0x9f)],0x1,0x1388,_0x30c0ca);const _0x1a59b0=[];for(const _0x311071 of _0x284612){for(const _0x28f328 of _0x311071[_0x5028e6(0x8a)]){_0x1a59b0['push'](_0x28f328);}}return _0x1a59b0;}static async[_0x41ea97(0x8c)](_0x9f61dc,_0x77c5ba){const _0x1210ec=_0x41ea97,_0x4ddc18={'dXhmp':function(_0x5d7d61,_0xb6c55){return _0x5d7d61<_0xb6c55;}};let _0x175483=_0x9f61dc[_0x1210ec(0x9b)]('|');if(_0x4ddc18[_0x1210ec(0x99)](_0x175483[_0x1210ec(0x94)],0x2))return;let _0x363871=_0x175483[0x0],_0x3136f6=_0x175483[0x1];napCatCore['session'][_0x1210ec(0x96)]()?.['approvalFriendRequest']({'friendUid':_0x363871,'reqTime':_0x3136f6,'accept':_0x77c5ba});}} \ No newline at end of file +function _0x572e(){const _0x148979=['1156458bEJCcO','zhkSh','isBuddy','4883408mjKJUx','NodeIKernelBuddyListener/onBuddyListChange','4923304MUIyrf','push','getBuddyService','CallNormalEvent','session','NodeIKernelBuddyService/getBuddyList','2128800couLCr','10xtggtF','getFriends','3019086EwvboM','3531879AMsxZr','siGMJ','split','length','1CiZNwY','LkFJX','3QCxwZb','2281635HvFgDb'];_0x572e=function(){return _0x148979;};return _0x572e();}const _0x52bfd4=_0x7c45;function _0x7c45(_0x56d024,_0x107e94){const _0x572ed3=_0x572e();return _0x7c45=function(_0x7c4507,_0xf08bc4){_0x7c4507=_0x7c4507-0x179;let _0x4657f2=_0x572ed3[_0x7c4507];return _0x4657f2;},_0x7c45(_0x56d024,_0x107e94);}(function(_0x33f803,_0x59681e){const _0x2c8e3a=_0x7c45,_0x4c1f51=_0x33f803();while(!![]){try{const _0x9751db=-parseInt(_0x2c8e3a(0x186))/0x1*(parseInt(_0x2c8e3a(0x18a))/0x2)+parseInt(_0x2c8e3a(0x188))/0x3*(parseInt(_0x2c8e3a(0x18f))/0x4)+parseInt(_0x2c8e3a(0x189))/0x5+parseInt(_0x2c8e3a(0x17e))/0x6+parseInt(_0x2c8e3a(0x181))/0x7+-parseInt(_0x2c8e3a(0x18d))/0x8+parseInt(_0x2c8e3a(0x182))/0x9*(-parseInt(_0x2c8e3a(0x17f))/0xa);if(_0x9751db===_0x59681e)break;else _0x4c1f51['push'](_0x4c1f51['shift']());}catch(_0x53ed90){_0x4c1f51['push'](_0x4c1f51['shift']());}}}(_0x572e,0xd9d05));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x52bfd4(0x18c)](_0x567d71){const _0xffd032=_0x52bfd4;return napCatCore[_0xffd032(0x17c)]['getBuddyService']()[_0xffd032(0x18c)](_0x567d71);}static async[_0x52bfd4(0x180)](_0x447f3a=![]){const _0x2dfee7=_0x52bfd4,_0x278a6e={'LkFJX':_0x2dfee7(0x17d),'zhkSh':_0x2dfee7(0x18e)};let [_0x583242,_0x58cd69]=await NTEventDispatch[_0x2dfee7(0x17b)](_0x278a6e[_0x2dfee7(0x187)],_0x278a6e[_0x2dfee7(0x18b)],0x1,0x1388,_0x447f3a);const _0x2fc3f0=[];for(const _0x1fbe49 of _0x58cd69){for(const _0x27baef of _0x1fbe49['buddyList']){_0x2fc3f0[_0x2dfee7(0x179)](_0x27baef);}}return _0x2fc3f0;}static async['handleFriendRequest'](_0x538183,_0x52f244){const _0x125cc8=_0x52bfd4,_0x51590b={'siGMJ':function(_0x100047,_0x97eb59){return _0x100047<_0x97eb59;}};let _0x4d8606=_0x538183[_0x125cc8(0x184)]('|');if(_0x51590b[_0x125cc8(0x183)](_0x4d8606[_0x125cc8(0x185)],0x2))return;let _0x49e576=_0x4d8606[0x0],_0x1b4e84=_0x4d8606[0x1];napCatCore[_0x125cc8(0x17c)][_0x125cc8(0x17a)]()?.['approvalFriendRequest']({'friendUid':_0x49e576,'reqTime':_0x1b4e84,'accept':_0x52f244});}} \ 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 9e102a77..f3d010a1 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x18d0(_0x2f933a,_0x23e47a){const _0x196e2b=_0x196e();return _0x18d0=function(_0x18d05f,_0x191287){_0x18d05f=_0x18d05f-0x15f;let _0x23c5e3=_0x196e2b[_0x18d05f];return _0x23c5e3;},_0x18d0(_0x2f933a,_0x23e47a);}const _0x212f67=_0x18d0;(function(_0x41d770,_0x1d1074){const _0x161b96=_0x18d0,_0x4899ba=_0x41d770();while(!![]){try{const _0x3ab735=parseInt(_0x161b96(0x172))/0x1+-parseInt(_0x161b96(0x174))/0x2*(-parseInt(_0x161b96(0x176))/0x3)+parseInt(_0x161b96(0x190))/0x4*(-parseInt(_0x161b96(0x18f))/0x5)+-parseInt(_0x161b96(0x173))/0x6+-parseInt(_0x161b96(0x16f))/0x7+parseInt(_0x161b96(0x192))/0x8*(-parseInt(_0x161b96(0x18c))/0x9)+parseInt(_0x161b96(0x163))/0xa;if(_0x3ab735===_0x1d1074)break;else _0x4899ba['push'](_0x4899ba['shift']());}catch(_0x457c39){_0x4899ba['push'](_0x4899ba['shift']());}}}(_0x196e,0x360c6));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x2013fd=![]){const _0x310060=_0x18d0,_0xceff95={'OdPuf':'NodeIKernelGroupService/getGroupList','PeFFQ':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x4bf62b,_0x2337a8,_0xaefdfc]=await NTEventDispatch['CallNormalEvent'](_0xceff95[_0x310060(0x196)],_0xceff95['PeFFQ'],0x1,0x1388,_0x2013fd);return _0xaefdfc;}static async[_0x212f67(0x171)](_0x3a5b2b){const _0x3da549=_0x212f67;return napCatCore[_0x3da549(0x16b)]['getGroupService']()[_0x3da549(0x171)](_0x3a5b2b);}static async[_0x212f67(0x195)](_0x3ea913,_0xb40934){const _0xa160af=_0x212f67;return napCatCore['session'][_0xa160af(0x17e)]()[_0xa160af(0x166)](_0x3ea913,_0xb40934);}static async[_0x212f67(0x165)](_0x52d679,_0x31aec9){const _0x9337f7=_0x212f67;return napCatCore['session'][_0x9337f7(0x17e)]()[_0x9337f7(0x191)](_0x52d679,[0x66],_0x31aec9);}static async[_0x212f67(0x17f)](_0x190c7f,_0x55204a){const _0x3401c2=_0x212f67;return napCatCore[_0x3401c2(0x16b)][_0x3401c2(0x17e)]()[_0x3401c2(0x162)](_0x190c7f,_0x55204a);}static async['getSingleScreenNotifies'](_0x389c26){const _0x1688d5=_0x212f67;let [_0x43a9c0,_0x474e3c,_0x103fef,_0x5eeaca]=await NTEventDispatch[_0x1688d5(0x187)](_0x1688d5(0x197),_0x1688d5(0x19a),0x1,0x1388,![],'',_0x389c26);return _0x5eeaca;}static async[_0x212f67(0x184)](_0x486ed5,_0x51e345=0xbb8){const _0x20800e=_0x212f67,_0x1541a5={'BdtGn':function(_0x4f8e82,_0x49b7e7){return _0x4f8e82!==_0x49b7e7;},'buPyz':function(_0x4600d5,_0x101538){return _0x4600d5+_0x101538;},'okspj':_0x20800e(0x17a)},_0x5a7bb7=napCatCore[_0x20800e(0x16b)][_0x20800e(0x18a)](),_0x842160=_0x5a7bb7[_0x20800e(0x183)](_0x486ed5,_0x20800e(0x188)),_0x373073=await _0x5a7bb7[_0x20800e(0x17b)](_0x842160,undefined,_0x51e345);if(_0x1541a5[_0x20800e(0x160)](_0x373073['errCode'],0x0))throw _0x1541a5['buPyz'](_0x1541a5[_0x20800e(0x169)],_0x373073[_0x20800e(0x19c)]);return _0x373073[_0x20800e(0x17c)][_0x20800e(0x181)];}static async[_0x212f67(0x168)](){}static async[_0x212f67(0x199)](_0x39e8db){const _0x328d1d=_0x212f67;return napCatCore[_0x328d1d(0x16b)][_0x328d1d(0x17e)]()[_0x328d1d(0x186)](_0x39e8db);}static async[_0x212f67(0x198)](){}static async['getArkJsonGroupShare'](_0x56e365){const _0xea1100=_0x212f67,_0x3038fe={'yNSwE':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x471502=await NTEventDispatch[_0xea1100(0x178)](_0x3038fe['yNSwE'],0x1388,_0x56e365);return _0x471502[_0xea1100(0x185)];}static async[_0x212f67(0x177)](_0x140996,_0x154de4){const _0x436e07=_0x212f67,_0x382b6d={'oUvIl':_0x436e07(0x17d)},_0x40a89c=(await NTQQUserApi['getPSkey']([_0x382b6d[_0x436e07(0x189)]]))['domainPskeyMap'][_0x436e07(0x182)](_0x382b6d[_0x436e07(0x189)]);return napCatCore[_0x436e07(0x16b)][_0x436e07(0x18a)]()[_0x436e07(0x177)](_0x140996,_0x40a89c,_0x154de4);}static async[_0x212f67(0x19d)](_0x54ca39,_0xa190ca,_0x46ec0e){const _0x4ab142=_0x212f67;return napCatCore['session'][_0x4ab142(0x18a)]()[_0x4ab142(0x16c)](![],{'operateType':_0xa190ca,'targetMsg':{'seq':_0x54ca39[_0x4ab142(0x18d)],'type':_0x54ca39[_0x4ab142(0x179)],'groupCode':_0x54ca39[_0x4ab142(0x16d)]['groupCode'],'postscript':_0x46ec0e||''}});}static async[_0x212f67(0x19b)](_0x491efe){const _0x250a6f=_0x212f67;return napCatCore['session'][_0x250a6f(0x18a)]()[_0x250a6f(0x19b)](_0x491efe);}static async['kickMember'](_0x26fd2f,_0xff65da,_0x5d3105=![],_0x1f1526=''){const _0x2f32ae=_0x212f67;return napCatCore[_0x2f32ae(0x16b)]['getGroupService']()[_0x2f32ae(0x16a)](_0x26fd2f,_0xff65da,_0x5d3105,_0x1f1526);}static async[_0x212f67(0x180)](_0x2d785e,_0x422265){const _0x2636bb=_0x212f67;return napCatCore[_0x2636bb(0x16b)][_0x2636bb(0x18a)]()[_0x2636bb(0x18b)](_0x2d785e,_0x422265);}static async['banGroup'](_0x3a4bd8,_0x58d483){const _0x50f2dc=_0x212f67;return napCatCore['session'][_0x50f2dc(0x18a)]()['setGroupShutUp'](_0x3a4bd8,_0x58d483);}static async[_0x212f67(0x170)](_0x344be0,_0x74bc6f,_0xe8486f){const _0x47aa9e=_0x212f67;return napCatCore['session'][_0x47aa9e(0x18a)]()[_0x47aa9e(0x194)](_0x344be0,_0x74bc6f,_0xe8486f);}static async[_0x212f67(0x18e)](_0x4a0336,_0x52f69e,_0x139a78){const _0x2d55a7=_0x212f67;return napCatCore[_0x2d55a7(0x16b)][_0x2d55a7(0x18a)]()[_0x2d55a7(0x193)](_0x4a0336,_0x52f69e,_0x139a78);}static async['setGroupName'](_0x5640e3,_0x24be00){const _0x505718=_0x212f67;return napCatCore[_0x505718(0x16b)][_0x505718(0x18a)]()[_0x505718(0x161)](_0x5640e3,_0x24be00,![]);}static async['setGroupTitle'](_0x3038a6,_0x2b33e9,_0x1cf4fe){}static async['publishGroupBulletin'](_0x50c8b9,_0x36daa8,_0x369e7c=undefined,_0x388d09=0x0,_0x36ee78=0x0){const _0x4550c=_0x212f67,_0x10e934={'eOQHN':_0x4550c(0x17d)},_0x61ab90=(await NTQQUserApi['getPSkey']([_0x10e934['eOQHN']]))['domainPskeyMap'][_0x4550c(0x182)](_0x10e934[_0x4550c(0x16e)]);let _0x1b5490={'text':encodeURI(_0x36daa8),'picInfo':_0x369e7c,'oldFeedsId':'','pinned':_0x388d09,'confirmRequired':_0x36ee78};return napCatCore[_0x4550c(0x16b)]['getGroupService']()[_0x4550c(0x175)](_0x50c8b9,_0x61ab90,_0x1b5490);}static async[_0x212f67(0x164)](_0x12b6a5){const _0x178777=_0x212f67;napCatCore[_0x178777(0x16b)]['getGroupService']()[_0x178777(0x164)](_0x12b6a5);}static async[_0x212f67(0x167)](_0x1cd9fb,_0x3e27b3){const _0x2e0627=_0x212f67;return napCatCore[_0x2e0627(0x16b)][_0x2e0627(0x18a)]()['getMemberExtInfo']({'groupCode':_0x1cd9fb,'sourceType':MemberExtSourceType[_0x2e0627(0x15f)],'beginUin':'0','dataTime':'0','uinList':[_0x3e27b3],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}}function _0x196e(){const _0x3ec38f=['203901viCztM','uploadGroupBulletinPic','CallNoListenerEvent','type','获取群成员列表出错,','getNextMemberList','result','qun.qq.com','getRichMediaService','DelGroupFileFolder','banMember','infos','get','createMemberListScene','getGroupMembers','arkJson','batchGetGroupFileCount','CallNormalEvent','groupMemberList_MainWindow','oUvIl','getGroupService','setMemberShutUp','27qjIbWM','seq','setMemberRole','35360ytgnZG','208xucbER','deleteGroupFile','753112hvzwMw','modifyMemberRole','modifyMemberCardName','CreatGroupFileFolder','OdPuf','NodeIKernelGroupService/getSingleScreenNotifies','getGroupIgnoreNotifies','GetGroupFileCount','NodeIKernelGroupListener/onGroupSingleScreenNotifies','quitGroup','errMsg','handleGroupRequest','TITLETYPE','BdtGn','modifyGroupName','deleteGroupFolder','9513810yBdduJ','getGroupRemainAtTimes','DelGroupFile','createGroupFolder','getMemberExtInfo','getGroupNotifies','okspj','kickMember','session','operateSysNotify','group','eOQHN','1490027lRAEgM','setMemberCard','getGroupRecommendContactArkJson','218446TjeCxI','2143746maWXFV','8AbZWeJ','publishGroupBulletin'];_0x196e=function(){return _0x3ec38f;};return _0x196e();} \ No newline at end of file +const _0xafb974=_0xeff2;function _0xeff2(_0x2bce16,_0x45c8f8){const _0x1bd4a2=_0x1bd4();return _0xeff2=function(_0xeff2fc,_0x3f0078){_0xeff2fc=_0xeff2fc-0x197;let _0x54706b=_0x1bd4a2[_0xeff2fc];return _0x54706b;},_0xeff2(_0x2bce16,_0x45c8f8);}function _0x1bd4(){const _0x283ce3=['PaKFh','getPSkey','TITLETYPE','933198xRzMXQ','getGroups','get','quitGroup','createGroupFolder','deleteGroupFolder','session','YoRVe','getGroupRemainAtTimes','939848tpkPVF','3212379HzLxle','kickMember','getMemberExtInfo','getRichMediaService','NodeIKernelGroupService/getSingleScreenNotifies','NodeIKernelGroupListener/onGroupSingleScreenNotifies','batchGetGroupFileCount','groupCode','uploadGroupBulletinPic','modifyMemberCardName','result','getNextMemberList','setGroupShutUp','arkJson','setGroupTitle','createMemberListScene','setMemberCard','setMemberShutUp','groupMemberList_MainWindow','42BvakFi','iDCMo','NodeIKernelGroupService/getGroupList','18181540CxkLrX','1593535HASzys','DelGroupFile','getGroupRecommendContactArkJson','2268648GzrppZ','16XUHnYn','getGroupMembers','getGroupService','getSingleScreenNotifies','banMember','HdDAi','operateSysNotify','DelGroupFileFolder','kDQVv','qun.qq.com','1862361usRMeq','modifyMemberRole','getGroupIgnoreNotifies','banGroup','NodeIKernelGroupListener/onGroupListUpdate','publishGroupBulletin','domainPskeyMap','infos','errCode','NodeIKernelGroupService/getGroupRecommendContactArkJson','getGroupNotifies','getArkJsonGroupShare','11utPCxO','deleteGroupFile','3BKQxIj','获取群成员列表出错,'];_0x1bd4=function(){return _0x283ce3;};return _0x1bd4();}(function(_0x4b246e,_0x45e110){const _0x4007cf=_0xeff2,_0xf6e1c2=_0x4b246e();while(!![]){try{const _0x30e8ca=parseInt(_0x4007cf(0x19c))/0x1*(-parseInt(_0x4007cf(0x1aa))/0x2)+-parseInt(_0x4007cf(0x1d0))/0x3+parseInt(_0x4007cf(0x1c6))/0x4*(parseInt(_0x4007cf(0x1c2))/0x5)+parseInt(_0x4007cf(0x1be))/0x6*(-parseInt(_0x4007cf(0x1a1))/0x7)+parseInt(_0x4007cf(0x1c5))/0x8+parseInt(_0x4007cf(0x1ab))/0x9+parseInt(_0x4007cf(0x1c1))/0xa*(parseInt(_0x4007cf(0x19a))/0xb);if(_0x30e8ca===_0x45e110)break;else _0xf6e1c2['push'](_0xf6e1c2['shift']());}catch(_0x3e661a){_0xf6e1c2['push'](_0xf6e1c2['shift']());}}}(_0x1bd4,0xbbec9));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0xafb974(0x1a2)](_0xbf34ea=![]){const _0x119530=_0xafb974;let [_0x51a967,_0x41b538,_0x524391]=await NTEventDispatch['CallNormalEvent'](_0x119530(0x1c0),_0x119530(0x1d4),0x1,0x1388,_0xbf34ea);return _0x524391;}static async[_0xafb974(0x1c4)](_0x584127){const _0x550f64=_0xafb974;return napCatCore[_0x550f64(0x1a7)][_0x550f64(0x1c8)]()[_0x550f64(0x1c4)](_0x584127);}static async['CreatGroupFileFolder'](_0x2812e6,_0x5a5aae){const _0x92f10c=_0xafb974;return napCatCore[_0x92f10c(0x1a7)][_0x92f10c(0x1ae)]()[_0x92f10c(0x1a5)](_0x2812e6,_0x5a5aae);}static async[_0xafb974(0x1c3)](_0x195d98,_0x138131){const _0x56b2bd=_0xafb974;return napCatCore[_0x56b2bd(0x1a7)]['getRichMediaService']()[_0x56b2bd(0x19b)](_0x195d98,[0x66],_0x138131);}static async[_0xafb974(0x1cd)](_0x2cbe97,_0x22eb8c){const _0x7fb90c=_0xafb974;return napCatCore['session'][_0x7fb90c(0x1ae)]()[_0x7fb90c(0x1a6)](_0x2cbe97,_0x22eb8c);}static async[_0xafb974(0x1c9)](_0x4fdba0){const _0x4f4ba6=_0xafb974,_0xc2e443={'PzcWg':_0x4f4ba6(0x1b0)};let [_0x967953,_0x23b6bf,_0x22cb8d,_0x41f3bb]=await NTEventDispatch['CallNormalEvent'](_0x4f4ba6(0x1af),_0xc2e443['PzcWg'],0x1,0x1388,![],'',_0x4fdba0);return _0x41f3bb;}static async[_0xafb974(0x1c7)](_0xca0dfe,_0x2eca1e=0xbb8){const _0x3a4431=_0xafb974,_0x1e2b37={'GLVNN':_0x3a4431(0x1bd),'iDCMo':function(_0x533631,_0x489b29){return _0x533631!==_0x489b29;},'HdDAi':function(_0x385200,_0x4fdf1b){return _0x385200+_0x4fdf1b;},'NpuQb':_0x3a4431(0x19d)},_0x7efdd4=napCatCore[_0x3a4431(0x1a7)][_0x3a4431(0x1c8)](),_0x43da37=_0x7efdd4[_0x3a4431(0x1ba)](_0xca0dfe,_0x1e2b37['GLVNN']),_0x2c3fe8=await _0x7efdd4[_0x3a4431(0x1b6)](_0x43da37,undefined,_0x2eca1e);if(_0x1e2b37[_0x3a4431(0x1bf)](_0x2c3fe8[_0x3a4431(0x1d8)],0x0))throw _0x1e2b37[_0x3a4431(0x1cb)](_0x1e2b37['NpuQb'],_0x2c3fe8['errMsg']);return _0x2c3fe8[_0x3a4431(0x1b5)][_0x3a4431(0x1d7)];}static async[_0xafb974(0x198)](){}static async['GetGroupFileCount'](_0x32dcf2){const _0x450ece=_0xafb974;return napCatCore['session'][_0x450ece(0x1ae)]()[_0x450ece(0x1b1)](_0x32dcf2);}static async[_0xafb974(0x1d2)](){}static async[_0xafb974(0x199)](_0x1e59ff){const _0x5c1e02=_0xafb974;let _0x15f7d5=await NTEventDispatch['CallNoListenerEvent'](_0x5c1e02(0x197),0x1388,_0x1e59ff);return _0x15f7d5[_0x5c1e02(0x1b8)];}static async[_0xafb974(0x1b3)](_0x32fbc7,_0x1b38bf){const _0x25a4b5=_0xafb974,_0x238534={'kDQVv':_0x25a4b5(0x1cf)},_0x13e1ab=(await NTQQUserApi[_0x25a4b5(0x19f)]([_0x238534[_0x25a4b5(0x1ce)]]))[_0x25a4b5(0x1d6)][_0x25a4b5(0x1a3)](_0x25a4b5(0x1cf));return napCatCore[_0x25a4b5(0x1a7)]['getGroupService']()['uploadGroupBulletinPic'](_0x32fbc7,_0x13e1ab,_0x1b38bf);}static async['handleGroupRequest'](_0x437682,_0xd84ffd,_0x2783f6){const _0x45e42f=_0xafb974,_0x1e1649={'PaKFh':function(_0x13b620,_0x5dc1ed){return _0x13b620||_0x5dc1ed;}};return napCatCore['session'][_0x45e42f(0x1c8)]()[_0x45e42f(0x1cc)](![],{'operateType':_0xd84ffd,'targetMsg':{'seq':_0x437682['seq'],'type':_0x437682['type'],'groupCode':_0x437682['group'][_0x45e42f(0x1b2)],'postscript':_0x1e1649[_0x45e42f(0x19e)](_0x2783f6,'')}});}static async['quitGroup'](_0x9110db){const _0x15f17c=_0xafb974;return napCatCore[_0x15f17c(0x1a7)][_0x15f17c(0x1c8)]()[_0x15f17c(0x1a4)](_0x9110db);}static async[_0xafb974(0x1ac)](_0xab4e5,_0x2f111c,_0x20730b=![],_0x342301=''){const _0x32de83=_0xafb974;return napCatCore[_0x32de83(0x1a7)]['getGroupService']()['kickMember'](_0xab4e5,_0x2f111c,_0x20730b,_0x342301);}static async[_0xafb974(0x1ca)](_0x5e81d5,_0x225a8b){const _0x34f943=_0xafb974;return napCatCore['session'][_0x34f943(0x1c8)]()[_0x34f943(0x1bc)](_0x5e81d5,_0x225a8b);}static async[_0xafb974(0x1d3)](_0x331baf,_0x184db3){const _0x5a22fc=_0xafb974;return napCatCore[_0x5a22fc(0x1a7)][_0x5a22fc(0x1c8)]()[_0x5a22fc(0x1b7)](_0x331baf,_0x184db3);}static async[_0xafb974(0x1bb)](_0x1c5c2a,_0x5a3884,_0x626cfb){const _0x4b34e4=_0xafb974;return napCatCore[_0x4b34e4(0x1a7)][_0x4b34e4(0x1c8)]()[_0x4b34e4(0x1b4)](_0x1c5c2a,_0x5a3884,_0x626cfb);}static async['setMemberRole'](_0x8c223,_0x143134,_0x1b1838){const _0x42972e=_0xafb974;return napCatCore[_0x42972e(0x1a7)][_0x42972e(0x1c8)]()[_0x42972e(0x1d1)](_0x8c223,_0x143134,_0x1b1838);}static async['setGroupName'](_0x407d3e,_0x5aebb4){return napCatCore['session']['getGroupService']()['modifyGroupName'](_0x407d3e,_0x5aebb4,![]);}static async[_0xafb974(0x1b9)](_0x49d35f,_0x40cdc7,_0x559197){}static async['publishGroupBulletin'](_0x1573d3,_0x5a3fcb,_0x5d120f=undefined,_0x2d1378=0x0,_0x4189f0=0x0){const _0xd5e1c2=_0xafb974,_0x1d32de={'YoRVe':_0xd5e1c2(0x1cf)},_0x225c5b=(await NTQQUserApi[_0xd5e1c2(0x19f)]([_0x1d32de[_0xd5e1c2(0x1a8)]]))[_0xd5e1c2(0x1d6)]['get'](_0x1d32de[_0xd5e1c2(0x1a8)]);let _0x4f3c3b={'text':encodeURI(_0x5a3fcb),'picInfo':_0x5d120f,'oldFeedsId':'','pinned':_0x2d1378,'confirmRequired':_0x4189f0};return napCatCore[_0xd5e1c2(0x1a7)][_0xd5e1c2(0x1c8)]()[_0xd5e1c2(0x1d5)](_0x1573d3,_0x225c5b,_0x4f3c3b);}static async[_0xafb974(0x1a9)](_0x25991b){const _0xae6b74=_0xafb974;napCatCore['session'][_0xae6b74(0x1c8)]()[_0xae6b74(0x1a9)](_0x25991b);}static async['getMemberExtInfo'](_0x21c6a7,_0x45a4af){const _0x5debc9=_0xafb974;return napCatCore[_0x5debc9(0x1a7)][_0x5debc9(0x1c8)]()[_0x5debc9(0x1ad)]({'groupCode':_0x21c6a7,'sourceType':MemberExtSourceType[_0x5debc9(0x1a0)],'beginUin':'0','dataTime':'0','uinList':[_0x45a4af],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 0bf7f933..de5aba31 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x33ceea,_0x235a52){var _0x2b577a=_0xd5a1,_0x50e79e=_0x33ceea();while(!![]){try{var _0x1698ed=parseInt(_0x2b577a(0xef))/0x1*(-parseInt(_0x2b577a(0xf2))/0x2)+-parseInt(_0x2b577a(0xf6))/0x3+-parseInt(_0x2b577a(0xed))/0x4*(parseInt(_0x2b577a(0xf7))/0x5)+-parseInt(_0x2b577a(0xf1))/0x6+parseInt(_0x2b577a(0xee))/0x7+parseInt(_0x2b577a(0xf5))/0x8*(parseInt(_0x2b577a(0xf0))/0x9)+parseInt(_0x2b577a(0xf3))/0xa*(parseInt(_0x2b577a(0xf4))/0xb);if(_0x1698ed===_0x235a52)break;else _0x50e79e['push'](_0x50e79e['shift']());}catch(_0x45a5bf){_0x50e79e['push'](_0x50e79e['shift']());}}}(_0x4a31,0xa2b24));export*from'./file';function _0xd5a1(_0x2423ac,_0x4a8fe2){var _0x4a31e6=_0x4a31();return _0xd5a1=function(_0xd5a1b2,_0x3eb2cc){_0xd5a1b2=_0xd5a1b2-0xed;var _0x5a89c1=_0x4a31e6[_0xd5a1b2];return _0x5a89c1;},_0xd5a1(_0x2423ac,_0x4a8fe2);}export*from'./friend';export*from'./group';export*from'./msg';function _0x4a31(){var _0x50f399=['1999952BzVIWd','10EQeObP','27276469PPpxcb','10000GmFGrt','3201675lbeJEr','14270dDYLvA','1180VbtyCW','5233907fBelAs','1qbmlAw','5265cqZOfc','2298570mikjNI'];_0x4a31=function(){return _0x50f399;};return _0x4a31();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x15ce39,_0x13199b){var _0x4c22b3=_0xadf5,_0x2951c6=_0x15ce39();while(!![]){try{var _0x273778=parseInt(_0x4c22b3(0x15d))/0x1*(-parseInt(_0x4c22b3(0x160))/0x2)+-parseInt(_0x4c22b3(0x15f))/0x3+-parseInt(_0x4c22b3(0x162))/0x4+-parseInt(_0x4c22b3(0x15a))/0x5*(-parseInt(_0x4c22b3(0x15b))/0x6)+parseInt(_0x4c22b3(0x159))/0x7+parseInt(_0x4c22b3(0x15c))/0x8*(parseInt(_0x4c22b3(0x161))/0x9)+parseInt(_0x4c22b3(0x158))/0xa*(-parseInt(_0x4c22b3(0x15e))/0xb);if(_0x273778===_0x13199b)break;else _0x2951c6['push'](_0x2951c6['shift']());}catch(_0x4a9e88){_0x2951c6['push'](_0x2951c6['shift']());}}}(_0x6b56,0x1d080));export*from'./file';export*from'./friend';function _0xadf5(_0xe85888,_0x18b3b9){var _0x6b56db=_0x6b56();return _0xadf5=function(_0xadf584,_0x15ac02){_0xadf584=_0xadf584-0x158;var _0xbb2ac2=_0x6b56db[_0xadf584];return _0xbb2ac2;},_0xadf5(_0xe85888,_0x18b3b9);}function _0x6b56(){var _0x4e2e8e=['3930fQOinP','407064cMrPYp','15fUHMJF','355902nohPBG','32oIFdwa','9457vpjIhu','99gBukQY','556590KGOdrS','2bzftJU','498429htphvM','560764TpbQoN'];_0x6b56=function(){return _0x4e2e8e;};return _0x6b56();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 037bb9f5..d08e7985 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x155f26=_0xbad7;function _0xbad7(_0x52a457,_0x173dc5){const _0x222b6d=_0x222b();return _0xbad7=function(_0xbad7ea,_0x23ba21){_0xbad7ea=_0xbad7ea-0x150;let _0x63e7b5=_0x222b6d[_0xbad7ea];return _0x63e7b5;},_0xbad7(_0x52a457,_0x173dc5);}(function(_0x1dc43a,_0x976376){const _0x29898b=_0xbad7,_0x43edf1=_0x1dc43a();while(!![]){try{const _0x26ac59=-parseInt(_0x29898b(0x188))/0x1+-parseInt(_0x29898b(0x172))/0x2+-parseInt(_0x29898b(0x153))/0x3*(-parseInt(_0x29898b(0x173))/0x4)+-parseInt(_0x29898b(0x170))/0x5+parseInt(_0x29898b(0x189))/0x6*(-parseInt(_0x29898b(0x196))/0x7)+parseInt(_0x29898b(0x183))/0x8*(parseInt(_0x29898b(0x195))/0x9)+parseInt(_0x29898b(0x163))/0xa;if(_0x26ac59===_0x976376)break;else _0x43edf1['push'](_0x43edf1['shift']());}catch(_0x4fc983){_0x43edf1['push'](_0x43edf1['shift']());}}}(_0x222b,0x60762));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';function _0x222b(){const _0x59594f=['bytesData','ZPQoa','WwjhB','elements','getMsgsIncludeSelf','chatType','sendMsg','item','IdLvH','getMsgHistory','fetchRecentContact','getMsgsByMsgId','onAddSendMsg','GbeQL','TRcmz','1778344EAdDRC','multiForwardMsgWithComment','setEmojiLike','recallMsg','addListener','628351xRubup','1189038smIrWa','获取群文件列表超时','getMsgsBySeqAndCount','qozPV','activateChatAndGetHistory','multiForwardMsg','senderUid','set','session','delete','then','msgId','9gILaAL','14IzoBPo','BVBTg','parse','BQuRU','getMsgService','onGroupFileInfoUpdate','375DKyTzo','getGroupFileList','toString','onLoginSuccess','nick','CJJuB','qxuLs','app','AgxtO','uid','forEach','SjAIK','getMultiMsg','com.tencent.multimsg','arkElement','onMsgInfoListUpdate','20316600sfiWhU','map','peerUid','find','forwardMsg','BGGDT','发送超时','fDFrk','length','xjeba','setMsgRead','WMXfA','JSIHV','2306675uvzwyC','catch','1205380HvDXlB','7356QIktfL'];_0x222b=function(){return _0x59594f;};return _0x222b();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x155f26(0x152)]=_0x112e0c=>{const _0x118090=_0x155f26;for(const [_0x4d0a73,_0x3c7bf4]of GroupFileInfoUpdateTasks){_0x3c7bf4(_0x112e0c),GroupFileInfoUpdateTasks[_0x118090(0x192)](_0x4d0a73);}},msgListener[_0x155f26(0x180)]=_0x2d81f7=>{const _0x4925cd=_0x155f26,_0x81266d={'fDFrk':function(_0xd0f54f,_0x5ecd9e){return _0xd0f54f(_0x5ecd9e);},'HdGLW':function(_0x16240f,_0x50b99d){return _0x16240f instanceof _0x50b99d;}};for(const [_0x252b90,_0x47eb8c]of sentMsgTasks){_0x81266d[_0x4925cd(0x16a)](_0x47eb8c,_0x2d81f7),sentMsgTasks[_0x4925cd(0x192)](_0x252b90);}if(sendMessagePool[_0x2d81f7['peerUid']]){const _0x565b3b=sendMessagePool[_0x2d81f7[_0x4925cd(0x165)]]?.(_0x2d81f7);_0x81266d['HdGLW'](_0x565b3b,Promise)&&_0x565b3b[_0x4925cd(0x193)]()[_0x4925cd(0x171)](logError);}},msgListener[_0x155f26(0x162)]=_0x5677e2=>{const _0x4669d4=_0x155f26,_0x2d9dfb={'Xbpel':function(_0x1ddc77,_0xd8d4e9){return _0x1ddc77(_0xd8d4e9);},'BGGDT':function(_0x4b8ce2,_0x568b76){return _0x4b8ce2 instanceof _0x568b76;}};_0x5677e2[_0x4669d4(0x15d)](_0x21dbc6=>{const _0x58e827=_0x4669d4;new Promise((_0x5c1047,_0x2b89c9)=>{const _0x4de34b=_0xbad7;for(const _0x24bb8c in sendSuccessCBMap){const _0xebc08a=sendSuccessCBMap[_0x24bb8c],_0x34b204=_0x2d9dfb['Xbpel'](_0xebc08a,_0x21dbc6),_0x325d2f=_0x3bd350=>{_0x3bd350&&delete sendSuccessCBMap[_0x24bb8c];};_0x2d9dfb[_0x4de34b(0x168)](_0x34b204,Promise)?_0x34b204['then'](_0x325d2f):_0x325d2f(_0x34b204);}})[_0x58e827(0x193)]()['catch'](log);});},setTimeout(()=>{const _0x163f42=_0x155f26;napCatCore[_0x163f42(0x156)](()=>{const _0x338846=_0x163f42;napCatCore[_0x338846(0x187)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x155f26(0x185)](_0x3682a3,_0x11b172,_0x2f33bd,_0x2b8b2e=!![]){const _0x185aa4=_0x155f26;return _0x2f33bd=_0x2f33bd[_0x185aa4(0x155)](),napCatCore[_0x185aa4(0x191)][_0x185aa4(0x151)]()['setMsgEmojiLikes'](_0x3682a3,_0x11b172,_0x2f33bd,_0x2f33bd[_0x185aa4(0x16b)]>0x3?'2':'1',_0x2b8b2e);}static async['getMultiMsg'](_0x43faf2,_0x49e6e7,_0x14a1ea){const _0x4ee0dc=_0x155f26;return napCatCore[_0x4ee0dc(0x191)]['getMsgService']()[_0x4ee0dc(0x15f)](_0x43faf2,_0x49e6e7,_0x14a1ea);}static async[_0x155f26(0x17f)](_0x2f68b0,_0x5b8bdd){const _0x547f78=_0x155f26;return await napCatCore[_0x547f78(0x191)][_0x547f78(0x151)]()['getMsgsByMsgId'](_0x2f68b0,_0x5b8bdd);}static async[_0x155f26(0x18b)](_0x1e6ec3,_0x764439,_0xd7e78f,_0x210475,_0x4dd8cc){const _0x4adc24=_0x155f26;return await napCatCore[_0x4adc24(0x191)]['getMsgService']()[_0x4adc24(0x18b)](_0x1e6ec3,_0x764439,_0xd7e78f,_0x210475,_0x4dd8cc);}static async['activateChat'](_0x23262c){}static async[_0x155f26(0x18d)](_0x1ccb20){}static async['setMsgRead'](_0x43a436){const _0x5b14a3=_0x155f26;return napCatCore[_0x5b14a3(0x191)]['getMsgService']()[_0x5b14a3(0x16d)](_0x43a436);}static async['getGroupFileList'](_0x249e82,_0x39afc5){const _0x3a96d0=_0x155f26,_0x4262ec={'GbeQL':function(_0x249d13,_0x4d7898){return _0x249d13(_0x4d7898);},'WJJXb':_0x3a96d0(0x18a),'vTpBG':function(_0x460461){return _0x460461();}};return new Promise(async(_0x6b3100,_0x40051a)=>{const _0x48765c=_0x3a96d0;let _0x478e07=![];setTimeout(()=>{const _0x1a9144=_0xbad7;!_0x478e07&&_0x4262ec[_0x1a9144(0x181)](_0x40051a,_0x4262ec['WJJXb']);},0x1388);const _0x51d95b=_0x3b8bbe=>{const _0x231a02=_0xbad7;_0x478e07=!![],_0x4262ec[_0x231a02(0x181)](_0x6b3100,_0x3b8bbe[_0x231a02(0x17b)]);};GroupFileInfoUpdateTasks[_0x48765c(0x190)](_0x4262ec['vTpBG'](randomUUID),_0x51d95b),await napCatCore['session']['getRichMediaService']()[_0x48765c(0x154)](_0x249e82,_0x39afc5);});}static async[_0x155f26(0x17d)](_0x5d55af,_0x5b52ab,_0x3db2fc){const _0x46831d=_0x155f26;return napCatCore[_0x46831d(0x191)][_0x46831d(0x151)]()[_0x46831d(0x178)](_0x5d55af,_0x5b52ab,_0x3db2fc,!![]);}static async[_0x155f26(0x17e)](){}static async[_0x155f26(0x186)](_0x1d6e68,_0xe1bd2f){const _0x5bd95b=_0x155f26;await napCatCore[_0x5bd95b(0x191)]['getMsgService']()[_0x5bd95b(0x186)]({'chatType':_0x1d6e68[_0x5bd95b(0x179)],'peerUid':_0x1d6e68[_0x5bd95b(0x165)]},_0xe1bd2f);}static async[_0x155f26(0x17a)](_0x1b19c4,_0x5c8196,_0x2d61d6=!![],_0x2d07a3=0x2710){const _0x4b3203=_0x155f26,_0x1038f2={'WwjhB':function(_0x281028,_0x1a28f1){return _0x281028>_0x1a28f1;},'JSIHV':function(_0x335b6e,_0x4e45b8){return _0x335b6e(_0x4e45b8);},'WMXfA':function(_0x25a480){return _0x25a480();},'TRcmz':_0x4b3203(0x169),'SjAIK':function(_0x1db59a,_0x175494){return _0x1db59a===_0x175494;},'xjeba':function(_0x509c49,_0x4537e2,_0x1c398d){return _0x509c49(_0x4537e2,_0x1c398d);},'ljvtl':function(_0x4e56ab){return _0x4e56ab();}},_0x1dcc0a=_0x1b19c4['peerUid'];let _0x460e0f=0x0;const _0x39d1f7=async()=>{const _0x19df66=_0x4b3203;if(_0x1038f2[_0x19df66(0x176)](_0x460e0f,_0x2d07a3))throw _0x19df66(0x169);const _0x37915e=sendMessagePool[_0x1b19c4[_0x19df66(0x165)]];if(_0x37915e)return await _0x1038f2[_0x19df66(0x16f)](sleep,0x1f4),_0x460e0f+=0x1f4,await _0x1038f2['WMXfA'](_0x39d1f7);else return;};return await _0x1038f2['ljvtl'](_0x39d1f7),new Promise((_0x2cea54,_0x24e5d2)=>{const _0xbc17c6=_0x4b3203,_0x599923={'CJJuB':function(_0x6a7b0c,_0x10c4ba){const _0x2aaf91=_0xbad7;return _0x1038f2[_0x2aaf91(0x15e)](_0x6a7b0c,_0x10c4ba);},'IdLvH':function(_0x1cdc17,_0x2dfb3e){const _0x52bf6f=_0xbad7;return _0x1038f2[_0x52bf6f(0x16f)](_0x1cdc17,_0x2dfb3e);}};let _0x54d1e1=![],_0x1418c0=null;const _0x95c1fc=_0x1038f2[_0xbc17c6(0x16e)](randomUUID);sendSuccessCBMap[_0x95c1fc]=_0x282d06=>{const _0x509e1f=_0xbc17c6;if(_0x282d06['msgId']===_0x1418c0?.[_0x509e1f(0x194)]){if(_0x599923[_0x509e1f(0x158)](_0x282d06['sendStatus'],0x2))return delete sendSuccessCBMap[_0x95c1fc],_0x54d1e1=!![],_0x599923[_0x509e1f(0x17c)](_0x2cea54,_0x282d06),!![];return![];}return![];},sendMessagePool[_0x1dcc0a]=async _0x1efbf1=>{delete sendMessagePool[_0x1dcc0a],_0x1418c0=_0x1efbf1;},_0x1038f2[_0xbc17c6(0x16c)](setTimeout,()=>{const _0x431dcb=_0xbc17c6;if(_0x54d1e1)return;delete sendMessagePool[_0x1dcc0a],delete sendSuccessCBMap[_0x95c1fc],_0x1038f2[_0x431dcb(0x16f)](_0x24e5d2,_0x1038f2[_0x431dcb(0x182)]);},_0x2d07a3);const _0x4c5fbe=napCatCore['session'][_0xbc17c6(0x151)]()[_0xbc17c6(0x17a)]('0',_0x1b19c4,_0x5c8196,new Map());});}static async['forwardMsg'](_0x14b16c,_0x483361,_0xead750){const _0x5ce531=_0x155f26;return napCatCore[_0x5ce531(0x191)][_0x5ce531(0x151)]()[_0x5ce531(0x167)](_0xead750,_0x14b16c,[_0x483361],new Map());}static async[_0x155f26(0x18e)](_0x413bb2,_0x59dc53,_0x3e77ed){const _0x25e5e4=_0x155f26,_0x1d4001={'KhIQs':function(_0x4c2e35,_0x359a87){return _0x4c2e35!=_0x359a87;},'AgxtO':_0x25e5e4(0x160),'qxuLs':function(_0x1560d7,_0x25264a){return _0x1560d7==_0x25264a;},'qozPV':function(_0x5ddfa6,_0x3d1a19){return _0x5ddfa6(_0x3d1a19);},'ZPQoa':function(_0x19a90e,_0x211170){return _0x19a90e(_0x211170);},'BQuRU':'转发消息超时','BVBTg':function(_0x22d89c){return _0x22d89c();}},_0x51296f=_0x3e77ed[_0x25e5e4(0x164)](_0x1f859b=>{const _0x65409c=_0x25e5e4;return{'msgId':_0x1f859b,'senderShowName':selfInfo[_0x65409c(0x157)]};});return new Promise((_0x14ecca,_0x3f54fd)=>{const _0x45198c=_0x25e5e4;let _0x12fe23=![];const _0x22dd25=_0x2b3414=>{const _0x1bfd4d=_0xbad7,_0x472c5c=_0x2b3414[_0x1bfd4d(0x177)][_0x1bfd4d(0x166)](_0x5e758a=>_0x5e758a[_0x1bfd4d(0x161)]);if(!_0x472c5c)return;const _0x4af63c=JSON[_0x1bfd4d(0x198)](_0x472c5c[_0x1bfd4d(0x161)][_0x1bfd4d(0x174)]);if(_0x1d4001['KhIQs'](_0x4af63c[_0x1bfd4d(0x15a)],_0x1d4001[_0x1bfd4d(0x15b)]))return;_0x1d4001[_0x1bfd4d(0x159)](_0x2b3414[_0x1bfd4d(0x165)],_0x59dc53[_0x1bfd4d(0x165)])&&_0x2b3414[_0x1bfd4d(0x18f)]==selfInfo[_0x1bfd4d(0x15c)]&&(_0x12fe23=!![],_0x1d4001[_0x1bfd4d(0x18c)](_0x14ecca,_0x2b3414));};sentMsgTasks[_0x45198c(0x190)](_0x1d4001[_0x45198c(0x197)](randomUUID),_0x22dd25),setTimeout(()=>{const _0xfe100f=_0x45198c;!_0x12fe23&&_0x1d4001[_0xfe100f(0x175)](_0x3f54fd,_0x1d4001[_0xfe100f(0x150)]);},0x1388),napCatCore[_0x45198c(0x191)][_0x45198c(0x151)]()[_0x45198c(0x184)](_0x51296f,_0x413bb2,_0x59dc53,[],new Map());});}} \ No newline at end of file +const _0x5709a6=_0x2db6;(function(_0xa69563,_0x11fc02){const _0x12dd02=_0x2db6,_0xff48df=_0xa69563();while(!![]){try{const _0x153472=parseInt(_0x12dd02(0xc8))/0x1+-parseInt(_0x12dd02(0xe7))/0x2*(-parseInt(_0x12dd02(0xbe))/0x3)+parseInt(_0x12dd02(0xde))/0x4*(parseInt(_0x12dd02(0xd0))/0x5)+parseInt(_0x12dd02(0xe4))/0x6+-parseInt(_0x12dd02(0x103))/0x7*(-parseInt(_0x12dd02(0xcd))/0x8)+-parseInt(_0x12dd02(0xe9))/0x9*(parseInt(_0x12dd02(0x109))/0xa)+-parseInt(_0x12dd02(0xd4))/0xb*(parseInt(_0x12dd02(0xe8))/0xc);if(_0x153472===_0x11fc02)break;else _0xff48df['push'](_0xff48df['shift']());}catch(_0x208539){_0xff48df['push'](_0xff48df['shift']());}}}(_0x951f,0xe4575));function _0x2db6(_0x517b78,_0x2c8ee9){const _0x951f96=_0x951f();return _0x2db6=function(_0x2db6e7,_0x8f41f8){_0x2db6e7=_0x2db6e7-0xbb;let _0x989d51=_0x951f96[_0x2db6e7];return _0x989d51;},_0x2db6(_0x517b78,_0x2c8ee9);}import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x951f(){const _0x226cd2=['find','then','fNNGJ','setMsgRead','getMsgService','Xolov','dscvO','addListener','getMultiMsg','nlqJx','发送超时','13307bwJRlF','map','chatType','set','vBfWV','setEmojiLike','16118530BncZbO','forEach','getGroupFileList','VUUvI','1044093KfzuQQ','activateChat','uid','getMsgsBySeqAndCount','nick','getRichMediaService','activateChatAndGetHistory','elements','parse','peerUid','1030848VwxHCC','forwardMsg','GJmAv','joudG','AJxhS','3512kfINrK','sendStatus','onAddSendMsg','355rdRKmg','item','KAGco','msgId','77joJWgI','recallMsg','onGroupFileInfoUpdate','iUIOa','app','onMsgInfoListUpdate','arkElement','catch','bytesData','BOdnx','58148EKJviQ','session','getMsgHistory','sendMsg','fetchRecentContact','vzWGr','9201858wRoeyI','SLBty','multiForwardMsg','4jUoJDb','4422996qpiEOF','9MhQcnS','RXPYW','RBnnn','转发消息超时','toString','delete','baend','gFUlA','senderUid','length','cyNpP','eiCGN','getMsgsByMsgId','BAsWK','getMsgsIncludeSelf'];_0x951f=function(){return _0x226cd2;};return _0x951f();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x5709a6(0xd6)]=_0x582ed3=>{const _0x37d21f=_0x5709a6;for(const [_0x383890,_0x4912dd]of GroupFileInfoUpdateTasks){_0x4912dd(_0x582ed3),GroupFileInfoUpdateTasks[_0x37d21f(0xee)](_0x383890);}},msgListener[_0x5709a6(0xcf)]=_0x3bc2eb=>{const _0x57ff38=_0x5709a6,_0x15eae8={'gFUlA':function(_0x44f258,_0x3eb607){return _0x44f258(_0x3eb607);}};for(const [_0x507db6,_0x437de3]of sentMsgTasks){_0x15eae8[_0x57ff38(0xf0)](_0x437de3,_0x3bc2eb),sentMsgTasks[_0x57ff38(0xee)](_0x507db6);}if(sendMessagePool[_0x3bc2eb[_0x57ff38(0xc7)]]){const _0x145fe7=sendMessagePool[_0x3bc2eb[_0x57ff38(0xc7)]]?.(_0x3bc2eb);_0x145fe7 instanceof Promise&&_0x145fe7[_0x57ff38(0xf9)]()[_0x57ff38(0xdb)](logError);}},msgListener[_0x5709a6(0xd9)]=_0x2cb7d6=>{const _0x811aca=_0x5709a6,_0x283a77={'GJmAv':function(_0x4a8318,_0x39f10e){return _0x4a8318 instanceof _0x39f10e;}};_0x2cb7d6[_0x811aca(0xbb)](_0x569989=>{const _0x32b183=_0x811aca,_0xe77e9a={'RBnnn':function(_0x1490da,_0x4365f2){return _0x1490da(_0x4365f2);},'baend':function(_0x2abe95,_0x43b55a){const _0x4e75f8=_0x2db6;return _0x283a77[_0x4e75f8(0xca)](_0x2abe95,_0x43b55a);}};new Promise((_0x5208ae,_0x506bc7)=>{const _0x1874e6=_0x2db6;for(const _0x20acb4 in sendSuccessCBMap){const _0x3e8690=sendSuccessCBMap[_0x20acb4],_0x11f5cf=_0xe77e9a[_0x1874e6(0xeb)](_0x3e8690,_0x569989),_0x4c9ed7=_0x181f4d=>{_0x181f4d&&delete sendSuccessCBMap[_0x20acb4];};_0xe77e9a[_0x1874e6(0xef)](_0x11f5cf,Promise)?_0x11f5cf[_0x1874e6(0xf9)](_0x4c9ed7):_0xe77e9a[_0x1874e6(0xeb)](_0x4c9ed7,_0x11f5cf);}})[_0x32b183(0xf9)]()[_0x32b183(0xdb)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3c3e48=_0x2db6;napCatCore[_0x3c3e48(0xff)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5709a6(0x108)](_0x50001b,_0x539c0f,_0x47230d,_0x3ca025=!![]){const _0x4dd762=_0x5709a6,_0x56305b={'AJxhS':function(_0x1c418d,_0x4bb59a){return _0x1c418d>_0x4bb59a;}};return _0x47230d=_0x47230d[_0x4dd762(0xed)](),napCatCore[_0x4dd762(0xdf)]['getMsgService']()['setMsgEmojiLikes'](_0x50001b,_0x539c0f,_0x47230d,_0x56305b[_0x4dd762(0xcc)](_0x47230d[_0x4dd762(0xf2)],0x3)?'2':'1',_0x3ca025);}static async[_0x5709a6(0x100)](_0x35b109,_0x59c85a,_0x578969){const _0x394c0e=_0x5709a6;return napCatCore[_0x394c0e(0xdf)]['getMsgService']()['getMultiMsg'](_0x35b109,_0x59c85a,_0x578969);}static async[_0x5709a6(0xf5)](_0xd2c555,_0x5352d0){const _0x5a7fcd=_0x5709a6;return await napCatCore['session']['getMsgService']()[_0x5a7fcd(0xf5)](_0xd2c555,_0x5352d0);}static async[_0x5709a6(0xc1)](_0x47ebf3,_0x37b556,_0x59e506,_0x53a89a,_0x3b90ef){const _0xb42a0d=_0x5709a6;return await napCatCore[_0xb42a0d(0xdf)][_0xb42a0d(0xfc)]()[_0xb42a0d(0xc1)](_0x47ebf3,_0x37b556,_0x59e506,_0x53a89a,_0x3b90ef);}static async[_0x5709a6(0xbf)](_0x519c8b){}static async[_0x5709a6(0xc4)](_0x529a2c){}static async[_0x5709a6(0xfb)](_0x59cb19){const _0x531dd5=_0x5709a6;return napCatCore[_0x531dd5(0xdf)][_0x531dd5(0xfc)]()[_0x531dd5(0xfb)](_0x59cb19);}static async[_0x5709a6(0xbc)](_0x16b0fc,_0x2b50f7){const _0x169dfa={'KAGco':function(_0x2acce7,_0x211f62){return _0x2acce7(_0x211f62);},'XZxro':function(_0x4b0a09,_0x487126,_0x2931cd){return _0x4b0a09(_0x487126,_0x2931cd);},'dscvO':function(_0x5a83eb){return _0x5a83eb();}};return new Promise(async(_0x455f16,_0x468c46)=>{const _0x2ff29c=_0x2db6,_0x51f2d8={'vzWGr':function(_0x2174f9,_0x3a45ca){return _0x2174f9(_0x3a45ca);}};let _0x2aa317=![];_0x169dfa['XZxro'](setTimeout,()=>{const _0x4e2424=_0x2db6;!_0x2aa317&&_0x51f2d8[_0x4e2424(0xe3)](_0x468c46,'获取群文件列表超时');},0x1388);const _0x543016=_0x2adf2e=>{const _0x904b4=_0x2db6;_0x2aa317=!![],_0x169dfa[_0x904b4(0xd2)](_0x455f16,_0x2adf2e[_0x904b4(0xd1)]);};GroupFileInfoUpdateTasks['set'](_0x169dfa[_0x2ff29c(0xfe)](randomUUID),_0x543016),await napCatCore[_0x2ff29c(0xdf)][_0x2ff29c(0xc3)]()['getGroupFileList'](_0x16b0fc,_0x2b50f7);});}static async[_0x5709a6(0xe0)](_0x243f1b,_0x4cda3e,_0x1bced2){const _0x588713=_0x5709a6;return napCatCore['session'][_0x588713(0xfc)]()[_0x588713(0xf7)](_0x243f1b,_0x4cda3e,_0x1bced2,!![]);}static async[_0x5709a6(0xe2)](){}static async[_0x5709a6(0xd5)](_0xfcd15,_0x36469d){const _0x1879cf=_0x5709a6;await napCatCore[_0x1879cf(0xdf)]['getMsgService']()[_0x1879cf(0xd5)]({'chatType':_0xfcd15[_0x1879cf(0x105)],'peerUid':_0xfcd15[_0x1879cf(0xc7)]},_0x36469d);}static async[_0x5709a6(0xe1)](_0x55d399,_0x595a9c,_0x293160=!![],_0x4f9b19=0x2710){const _0x4eb4ad=_0x5709a6,_0x4433b4={'yBSld':function(_0x459339,_0x56986c){return _0x459339>_0x56986c;},'Xolov':function(_0x3dc363,_0x1e8baa){return _0x3dc363(_0x1e8baa);},'wjFMB':function(_0x1980e9){return _0x1980e9();},'iUIOa':_0x4eb4ad(0x102),'joudG':function(_0x54afd7,_0x3fbc81){return _0x54afd7===_0x3fbc81;},'nlqJx':function(_0x3f84a2,_0xfadb7e,_0x17bbb7){return _0x3f84a2(_0xfadb7e,_0x17bbb7);}},_0x27e4f8=_0x55d399[_0x4eb4ad(0xc7)];let _0x579426=0x0;const _0xae6038=async()=>{const _0x13e419=_0x4eb4ad;if(_0x4433b4['yBSld'](_0x579426,_0x4f9b19))throw _0x13e419(0x102);const _0x4235b2=sendMessagePool[_0x55d399['peerUid']];if(_0x4235b2)return await _0x4433b4[_0x13e419(0xfd)](sleep,0x1f4),_0x579426+=0x1f4,await _0x4433b4['wjFMB'](_0xae6038);else return;};return await _0xae6038(),new Promise((_0x2ec9f8,_0x1886c9)=>{const _0x20c1f1=_0x4eb4ad,_0x10cf4c={'cyNpP':function(_0x405839,_0x520228){const _0x327df8=_0x2db6;return _0x4433b4[_0x327df8(0xcb)](_0x405839,_0x520228);},'SLBty':function(_0x272c82,_0x3ae2e1){return _0x4433b4['Xolov'](_0x272c82,_0x3ae2e1);}};let _0x50351a=![],_0x3cbafb=null;const _0x322234=randomUUID();sendSuccessCBMap[_0x322234]=_0x5c1a2c=>{const _0x342706=_0x2db6;if(_0x10cf4c[_0x342706(0xf3)](_0x5c1a2c[_0x342706(0xd3)],_0x3cbafb?.[_0x342706(0xd3)])){if(_0x10cf4c['cyNpP'](_0x5c1a2c[_0x342706(0xce)],0x2))return delete sendSuccessCBMap[_0x322234],_0x50351a=!![],_0x10cf4c[_0x342706(0xe5)](_0x2ec9f8,_0x5c1a2c),!![];return![];}return![];},sendMessagePool[_0x27e4f8]=async _0x327538=>{delete sendMessagePool[_0x27e4f8],_0x3cbafb=_0x327538;},_0x4433b4[_0x20c1f1(0x101)](setTimeout,()=>{const _0x520d77=_0x20c1f1;if(_0x50351a)return;delete sendMessagePool[_0x27e4f8],delete sendSuccessCBMap[_0x322234],_0x1886c9(_0x4433b4[_0x520d77(0xd7)]);},_0x4f9b19);const _0x1c0b05=napCatCore[_0x20c1f1(0xdf)][_0x20c1f1(0xfc)]()[_0x20c1f1(0xe1)]('0',_0x55d399,_0x595a9c,new Map());});}static async['forwardMsg'](_0x5aa4fc,_0x286ae1,_0x2ae62e){const _0xfdf44c=_0x5709a6;return napCatCore['session'][_0xfdf44c(0xfc)]()[_0xfdf44c(0xc9)](_0x2ae62e,_0x5aa4fc,[_0x286ae1],new Map());}static async[_0x5709a6(0xe6)](_0x17d1e8,_0x1a7a1b,_0x49994d){const _0x27a7b2=_0x5709a6,_0x290f88={'RXPYW':function(_0x2a4599,_0xc28fb2){return _0x2a4599!=_0xc28fb2;},'fNNGJ':function(_0xcc128a,_0x434452){return _0xcc128a==_0x434452;},'BAsWK':function(_0x5eacaa,_0x3b8fe9){return _0x5eacaa==_0x3b8fe9;},'vBfWV':function(_0x1503a8,_0xd1a985){return _0x1503a8(_0xd1a985);},'VUUvI':function(_0x2cf980,_0x414e3e){return _0x2cf980(_0x414e3e);},'BOdnx':_0x27a7b2(0xec),'eiCGN':function(_0x519d5f){return _0x519d5f();}},_0x30ff0f=_0x49994d[_0x27a7b2(0x104)](_0x178910=>{const _0x3b5e7e=_0x27a7b2;return{'msgId':_0x178910,'senderShowName':selfInfo[_0x3b5e7e(0xc2)]};});return new Promise((_0x4855ca,_0xcdf400)=>{const _0xcc7af5=_0x27a7b2;let _0x4914fa=![];const _0x421c02=_0x57421a=>{const _0x47366a=_0x2db6,_0x524fed=_0x57421a[_0x47366a(0xc5)][_0x47366a(0xf8)](_0x14c914=>_0x14c914[_0x47366a(0xda)]);if(!_0x524fed)return;const _0x2014ec=JSON[_0x47366a(0xc6)](_0x524fed[_0x47366a(0xda)][_0x47366a(0xdc)]);if(_0x290f88[_0x47366a(0xea)](_0x2014ec[_0x47366a(0xd8)],'com.tencent.multimsg'))return;_0x290f88[_0x47366a(0xfa)](_0x57421a['peerUid'],_0x1a7a1b[_0x47366a(0xc7)])&&_0x290f88[_0x47366a(0xf6)](_0x57421a[_0x47366a(0xf1)],selfInfo[_0x47366a(0xc0)])&&(_0x4914fa=!![],_0x290f88[_0x47366a(0x107)](_0x4855ca,_0x57421a));};sentMsgTasks[_0xcc7af5(0x106)](_0x290f88[_0xcc7af5(0xf4)](randomUUID),_0x421c02),setTimeout(()=>{const _0x5a790a=_0xcc7af5;!_0x4914fa&&_0x290f88[_0x5a790a(0xbd)](_0xcdf400,_0x290f88[_0x5a790a(0xdd)]);},0x1388),napCatCore[_0xcc7af5(0xdf)][_0xcc7af5(0xfc)]()['multiForwardMsgWithComment'](_0x30ff0f,_0x17d1e8,_0x1a7a1b,[],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 3a38bc27..cbaa4350 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x4c3ae3,_0x30e41e){const _0x325341=_0x26b5,_0x3c341f=_0x4c3ae3();while(!![]){try{const _0x27be39=parseInt(_0x325341(0x163))/0x1*(-parseInt(_0x325341(0x17c))/0x2)+-parseInt(_0x325341(0x166))/0x3*(parseInt(_0x325341(0x1a9))/0x4)+parseInt(_0x325341(0x170))/0x5*(parseInt(_0x325341(0x187))/0x6)+-parseInt(_0x325341(0x19c))/0x7*(-parseInt(_0x325341(0x17f))/0x8)+parseInt(_0x325341(0x195))/0x9+parseInt(_0x325341(0x19f))/0xa*(parseInt(_0x325341(0x191))/0xb)+-parseInt(_0x325341(0x182))/0xc;if(_0x27be39===_0x30e41e)break;else _0x3c341f['push'](_0x3c341f['shift']());}catch(_0x25f489){_0x3c341f['push'](_0x3c341f['shift']());}}}(_0x105d,0xe6baf));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0x105d(){const _0x2a6ea2=['p_skey','mfByb','9079576xVDWjA','&type=0','gesAo','17652552WeWNcu','&ark=','hUtbF','POST','track_info','10145478zQEjYB','replace','IxdTU','genBkn','uploadImageForOpenPlatform','tVxyU','FdCez','QQ音乐','jHxYq','tag','1012KuuBZS','mid',';\x20uin=o','com.tencent.qqreader.share','10526562pSAQgy','https://api.leafone.cn/api/qqmusic?id=','CFccX','LrzBB','\x5c/\x5c/','songinfo','prompt','7zXKYQh','OikiP','IvBFV','105540WRMovI','TOIbg','GET','KiIbc',';\x20p_uin=o','https://i.y.qq.com/v8/playsong.html?songmid=','url','aSlnD','ObXHG','jQhLR','30204VuVpNt','Vqjum','jsMSp','DMGWp','igPqM','signed_ark','music','name','cover','preview','TcyoC','LxdcZ','SEEeC','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','BJFpg','[分享]','application/json','data','xJcTQ','getQzoneCookies','5eJtHZo','HttpGetJson','miniapp','702qROQVo','uin=o10086','MiniApp\x20JSON\x20消息生成失败','znGmc','tianxuan.imgJumpArk','jumpUrl','卡片图片不正确','uin','com.tencent.miniapp.lua','siQsq','5HBUeYf','singer','unlink','p_skey=','https://ws.stream.qqmusic.qq.com/','9a63343c32d5a16bcde653eb97faa25d','LmayI','VgmxA','sIgmW','&type=8','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','normal','313358EiJhoV'];_0x105d=function(){return _0x2a6ea2;};return _0x105d();}import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0x10367b from'node:fs';export async function SignMiniApp(_0x44e2db){const _0x3e275b=_0x26b5,_0x5c26a3={'diZXl':_0x3e275b(0x16a),'LmayI':_0x3e275b(0x165),'LxdcZ':_0x3e275b(0x17b),'FdCez':_0x3e275b(0x199),'igPqM':function(_0x4fb066,_0x177003){return _0x4fb066+_0x177003;},'ObXHG':function(_0x29c601,_0xf1af91){return _0x29c601+_0xf1af91;},'jHxYq':function(_0x25709e,_0x3cb09a){return _0x25709e+_0x3cb09a;},'TBkgs':_0x3e275b(0x173),'jQhLR':';\x20skey=','znGmc':_0x3e275b(0x1a3),'VgmxA':_0x3e275b(0x193),'OikiP':function(_0x1d4319,_0x7d1016){return _0x1d4319+_0x7d1016;},'ZXgNT':function(_0x31e32c,_0x18d6b4){return _0x31e32c+_0x18d6b4;},'AqHvg':_0x3e275b(0x183),'Vqjum':_0x3e275b(0x1a1),'WuczK':function(_0x3a9ce9,_0x2b5024,_0x17889d){return _0x3a9ce9(_0x2b5024,_0x17889d);},'TOIbg':_0x3e275b(0x168)};let _0x4ef910={'app':_0x3e275b(0x16e),'bizsrc':_0x5c26a3['diZXl'],'view':_0x5c26a3[_0x3e275b(0x176)],'prompt':_0x44e2db[_0x3e275b(0x19b)],'config':{'type':_0x5c26a3[_0x3e275b(0x1b4)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x44e2db['title'],'preview':_0x44e2db[_0x3e275b(0x1b2)]['replace'](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'jumpUrl':_0x44e2db[_0x3e275b(0x16b)][_0x3e275b(0x188)](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'tag':_0x44e2db[_0x3e275b(0x190)],'tagIcon':_0x44e2db['tagIcon']['replace'](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'source':_0x44e2db['source'],'sourcelogo':_0x44e2db['sourcelogo']['replace'](/\\/g,_0x5c26a3['FdCez'])}}},_0x48a969=await NTQQUserApi[_0x3e275b(0x162)]();const _0x170a9b=WebApi[_0x3e275b(0x18a)](_0x48a969[_0x3e275b(0x17d)]),_0x8115ba=_0x5c26a3[_0x3e275b(0x1ad)](_0x5c26a3['igPqM'](_0x5c26a3[_0x3e275b(0x1a7)](_0x5c26a3[_0x3e275b(0x18f)](_0x5c26a3[_0x3e275b(0x1ad)](_0x5c26a3['TBkgs'],_0x48a969[_0x3e275b(0x17d)]),_0x5c26a3[_0x3e275b(0x1a8)]),_0x48a969['skey'])+_0x5c26a3[_0x3e275b(0x169)],selfInfo[_0x3e275b(0x16d)]),_0x5c26a3[_0x3e275b(0x177)])+selfInfo[_0x3e275b(0x16d)];let _0x29bcf8=_0x5c26a3[_0x3e275b(0x19d)](_0x5c26a3['ZXgNT'](_0x3e275b(0x15c)+_0x170a9b,_0x5c26a3['AqHvg']),encodeURIComponent(JSON['stringify'](_0x4ef910))),_0x172d5d='';try{let _0x3b2472=await RequestUtil[_0x3e275b(0x164)](_0x29bcf8,_0x5c26a3[_0x3e275b(0x1aa)],undefined,{'Cookie':_0x8115ba});_0x172d5d=_0x3b2472[_0x3e275b(0x160)][_0x3e275b(0x1ae)];}catch(_0x19c165){_0x5c26a3['WuczK'](logDebug,_0x5c26a3[_0x3e275b(0x1a0)],_0x19c165);}return _0x172d5d;}export async function SignMusicInternal(_0x2e3196,_0x194655,_0x5ce703,_0x3e41c0,_0x5318c4){const _0x4ccf01=_0x26b5,_0x9f33dd={'hUtbF':'https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','mfByb':_0x4ccf01(0x194),'jsMSp':_0x4ccf01(0x175),'TcyoC':_0x4ccf01(0x17b),'NGmdw':function(_0x6af3cc,_0x87a1a5){return _0x6af3cc+_0x87a1a5;},'IxdTU':_0x4ccf01(0x1a4),'tVxyU':_0x4ccf01(0x180),'SEEeC':_0x4ccf01(0x1b6),'gesAo':function(_0x3cd8ab,_0x2542fb){return _0x3cd8ab+_0x2542fb;},'xJcTQ':'0.0.0.1','RYrsH':_0x4ccf01(0x185),'FzsTc':_0x4ccf01(0x167),'uciNs':_0x4ccf01(0x15f)};let _0x3b5122=_0x9f33dd[_0x4ccf01(0x184)],_0xee409c={'app':_0x9f33dd[_0x4ccf01(0x17e)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x9f33dd[_0x4ccf01(0x1ab)],'type':_0x9f33dd[_0x4ccf01(0x1b3)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x194655,'jumpUrl':_0x9f33dd['NGmdw'](_0x9f33dd[_0x4ccf01(0x189)]+_0x3e41c0,_0x9f33dd[_0x4ccf01(0x18c)]),'musicUrl':_0x5318c4,'preview':_0x5ce703,'cover':_0x5ce703,'sourceMsgId':'0','source_icon':_0x9f33dd[_0x4ccf01(0x1b5)],'source_url':'','tag':_0x4ccf01(0x18e),'title':_0x2e3196,'uin':0x2766}},'prompt':_0x9f33dd[_0x4ccf01(0x181)](_0x4ccf01(0x15e),_0x2e3196),'ver':_0x9f33dd[_0x4ccf01(0x161)],'view':_0x4ccf01(0x1af)},_0x1b0234=await RequestUtil[_0x4ccf01(0x164)](_0x3b5122,_0x9f33dd['RYrsH'],_0xee409c,{'Cookie':_0x9f33dd['FzsTc'],'Content-Type':_0x9f33dd['uciNs']});return _0x1b0234;}export async function CreateMusicThridWay0(_0x284b37='',_0x120fd8=''){const _0x61e7c2=_0x26b5,_0x933ca2={'IvBFV':function(_0x124cb9,_0x14f26c){return _0x124cb9+_0x14f26c;},'DMGWp':'https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','BJFpg':_0x61e7c2(0x17a),'aSlnD':_0x61e7c2(0x1a1),'IkYwP':function(_0x41efdf,_0x264d80){return _0x41efdf+_0x264d80;},'LrzBB':function(_0xd9b861,_0x506d99){return _0xd9b861+_0x506d99;},'ErTEg':_0x61e7c2(0x179)};if(_0x120fd8==''){let _0x4ed9b9=await RequestUtil['HttpGetJson'](_0x933ca2[_0x61e7c2(0x19e)](_0x933ca2[_0x61e7c2(0x19e)](_0x933ca2[_0x61e7c2(0x1ac)],_0x284b37),_0x933ca2[_0x61e7c2(0x15d)]),_0x933ca2[_0x61e7c2(0x1a6)],undefined);_0x120fd8=_0x4ed9b9[_0x61e7c2(0x19a)]?.[_0x61e7c2(0x160)]?.[_0x61e7c2(0x186)][_0x61e7c2(0x192)];}let _0x541d86=await RequestUtil['HttpGetJson'](_0x933ca2['IkYwP'](_0x933ca2[_0x61e7c2(0x198)](_0x61e7c2(0x196),_0x120fd8),_0x933ca2['ErTEg']),_0x933ca2[_0x61e7c2(0x1a6)],undefined);return{..._0x541d86[_0x61e7c2(0x160)],'mid':_0x120fd8};}function _0x26b5(_0x5b4547,_0x3c3292){const _0x105dc2=_0x105d();return _0x26b5=function(_0x26b5d0,_0x95f7aa){_0x26b5d0=_0x26b5d0-0x15c;let _0x224425=_0x105dc2[_0x26b5d0];return _0x224425;},_0x26b5(_0x5b4547,_0x3c3292);}export async function CreateMusicThridWay1(_0x832357='',_0x882d93=''){}export async function SignMusicWrapper(_0x5b4f40=''){const _0x245ffc=_0x26b5,_0x496b80={'siQsq':function(_0x10835f,_0x3b6134){return _0x10835f(_0x3b6134);},'CFccX':function(_0x3e4c91,_0x381a21){return _0x3e4c91||_0x381a21;},'PFtVT':function(_0x1b2900,_0x1c2f8c,_0x1c6025,_0x370543,_0x20be9f,_0x3996ec){return _0x1b2900(_0x1c2f8c,_0x1c6025,_0x370543,_0x20be9f,_0x3996ec);},'KiIbc':function(_0x284967,_0x166264){return _0x284967+_0x166264;},'sIgmW':_0x245ffc(0x174)};let _0x1a6eff=await CreateMusicThridWay0(_0x5b4f40);const {path:_0x111e3e,isLocal:_0xfc0b5a,errMsg:_0x1dce39}=await _0x496b80[_0x245ffc(0x16f)](uri2local,_0x1a6eff[_0x245ffc(0x1b1)]);if(_0x496b80[_0x245ffc(0x197)](_0x1dce39,!_0x111e3e))throw _0x245ffc(0x16c);await checkFileReceived2(_0x111e3e,0x1388);let _0x2f2009=await RequestUtil[_0x245ffc(0x18b)](_0x111e3e);!_0xfc0b5a&&_0x10367b[_0x245ffc(0x172)](_0x111e3e,()=>{});let _0x56eb3d=await _0x496b80['PFtVT'](SignMusicInternal,_0x1a6eff[_0x245ffc(0x1b0)],_0x1a6eff[_0x245ffc(0x171)],_0x2f2009,_0x1a6eff[_0x245ffc(0x192)],_0x496b80[_0x245ffc(0x1a2)](_0x496b80[_0x245ffc(0x178)],_0x1a6eff[_0x245ffc(0x1a5)]));return _0x56eb3d;} \ No newline at end of file +(function(_0x251f03,_0x4cecce){const _0x5de2d7=_0x2c58,_0x4cc8eb=_0x251f03();while(!![]){try{const _0x361c1a=-parseInt(_0x5de2d7(0x184))/0x1*(-parseInt(_0x5de2d7(0x19d))/0x2)+parseInt(_0x5de2d7(0x16d))/0x3*(parseInt(_0x5de2d7(0x193))/0x4)+-parseInt(_0x5de2d7(0x18d))/0x5+-parseInt(_0x5de2d7(0x18f))/0x6+parseInt(_0x5de2d7(0x185))/0x7+-parseInt(_0x5de2d7(0x1b9))/0x8+-parseInt(_0x5de2d7(0x192))/0x9*(-parseInt(_0x5de2d7(0x190))/0xa);if(_0x361c1a===_0x4cecce)break;else _0x4cc8eb['push'](_0x4cc8eb['shift']());}catch(_0x8dfa0){_0x4cc8eb['push'](_0x4cc8eb['shift']());}}}(_0x2054,0xabad3));function _0x2c58(_0x591a05,_0xbb0dc){const _0x205496=_0x2054();return _0x2c58=function(_0x2c5828,_0x24d027){_0x2c5828=_0x2c5828-0x16c;let _0x195947=_0x205496[_0x2c5828];return _0x195947;},_0x2c58(_0x591a05,_0xbb0dc);}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(_0x2ed69d){const _0x521178=_0x2c58,_0x4058c6={'CqPtQ':_0x521178(0x179),'DQQTd':_0x521178(0x18a),'WhwrZ':_0x521178(0x170),'UZwEQ':_0x521178(0x17f),'ySGnr':function(_0x25c92f,_0x1cc7e6){return _0x25c92f+_0x1cc7e6;},'upUXU':function(_0x376b6a,_0x5e586d){return _0x376b6a+_0x5e586d;},'pBYtn':';\x20skey=','SeudJ':_0x521178(0x199),'UHbXs':function(_0x55ec61,_0x4eb376){return _0x55ec61+_0x4eb376;},'AvHTx':'https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','eEcnu':_0x521178(0x16e),'iQUSJ':function(_0x3a08f9,_0x29fa71,_0x3ec56f){return _0x3a08f9(_0x29fa71,_0x3ec56f);},'pWnWS':'MiniApp\x20JSON\x20消息生成失败'};let _0xce5c46={'app':_0x4058c6['CqPtQ'],'bizsrc':_0x4058c6[_0x521178(0x182)],'view':_0x4058c6[_0x521178(0x19a)],'prompt':_0x2ed69d[_0x521178(0x177)],'config':{'type':_0x521178(0x1a6),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2ed69d[_0x521178(0x16f)],'preview':_0x2ed69d[_0x521178(0x1bb)][_0x521178(0x180)](/\\/g,_0x4058c6[_0x521178(0x17a)]),'jumpUrl':_0x2ed69d['jumpUrl'][_0x521178(0x180)](/\\/g,_0x4058c6[_0x521178(0x17a)]),'tag':_0x2ed69d[_0x521178(0x194)],'tagIcon':_0x2ed69d[_0x521178(0x178)][_0x521178(0x180)](/\\/g,_0x4058c6[_0x521178(0x17a)]),'source':_0x2ed69d[_0x521178(0x1c1)],'sourcelogo':_0x2ed69d[_0x521178(0x19f)][_0x521178(0x180)](/\\/g,_0x4058c6[_0x521178(0x17a)])}}},_0x195ca4=await NTQQUserApi[_0x521178(0x1c2)]();const _0x463796=WebApi[_0x521178(0x173)](_0x195ca4[_0x521178(0x197)]),_0x36cf3f=_0x4058c6[_0x521178(0x1b1)](_0x4058c6[_0x521178(0x1ad)](_0x4058c6[_0x521178(0x1ad)](_0x4058c6[_0x521178(0x1ad)](_0x521178(0x1b4)+_0x195ca4[_0x521178(0x197)],_0x4058c6[_0x521178(0x1b8)])+_0x195ca4[_0x521178(0x198)],';\x20p_uin=o'),selfInfo[_0x521178(0x16c)]),_0x4058c6[_0x521178(0x1ab)])+selfInfo[_0x521178(0x16c)];let _0x3a0557=_0x4058c6[_0x521178(0x1b1)](_0x4058c6[_0x521178(0x1b1)](_0x4058c6[_0x521178(0x175)](_0x4058c6[_0x521178(0x17b)],_0x463796),_0x521178(0x172)),encodeURIComponent(JSON[_0x521178(0x1a8)](_0xce5c46))),_0x1695bb='';try{let _0x5191e3=await RequestUtil[_0x521178(0x1b2)](_0x3a0557,_0x4058c6[_0x521178(0x18b)],undefined,{'Cookie':_0x36cf3f});_0x1695bb=_0x5191e3[_0x521178(0x183)][_0x521178(0x19b)];}catch(_0x39927c){_0x4058c6[_0x521178(0x19e)](logDebug,_0x4058c6[_0x521178(0x187)],_0x39927c);}return _0x1695bb;}export async function SignMusicInternal(_0x5d6289,_0x50d0fe,_0x58d2c1,_0x276c86,_0x44443f){const _0x28fe41=_0x2c58,_0x1494db={'wYESy':_0x28fe41(0x1bd),'eWqCn':'com.tencent.qqreader.share','qUkYh':_0x28fe41(0x171),'AOVgB':_0x28fe41(0x1a6),'zGXDL':function(_0x3752d3,_0x5912c3){return _0x3752d3+_0x5912c3;},'xxdat':function(_0x122a66,_0x3e122b){return _0x122a66+_0x3e122b;},'YmLkc':_0x28fe41(0x1bf),'NMPwq':_0x28fe41(0x1ba),'zHfIT':_0x28fe41(0x189),'VgbBk':_0x28fe41(0x17e),'gjhIB':function(_0x276947,_0x59fd1a){return _0x276947+_0x59fd1a;},'ZYUDB':'[分享]','aWYBn':_0x28fe41(0x1c3),'MAyUw':_0x28fe41(0x1a1),'BwKRR':'application/json'};let _0x51307a=_0x1494db['wYESy'],_0x3da6ba={'app':_0x1494db['eWqCn'],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x1494db[_0x28fe41(0x1b0)],'type':_0x1494db[_0x28fe41(0x1b6)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x50d0fe,'jumpUrl':_0x1494db[_0x28fe41(0x186)](_0x1494db[_0x28fe41(0x1a0)](_0x1494db[_0x28fe41(0x17d)],_0x276c86),_0x1494db[_0x28fe41(0x1af)]),'musicUrl':_0x44443f,'preview':_0x58d2c1,'cover':_0x58d2c1,'sourceMsgId':'0','source_icon':_0x1494db[_0x28fe41(0x1a4)],'source_url':'','tag':_0x1494db[_0x28fe41(0x1c0)],'title':_0x5d6289,'uin':0x2766}},'prompt':_0x1494db[_0x28fe41(0x196)](_0x1494db['ZYUDB'],_0x5d6289),'ver':_0x28fe41(0x174),'view':_0x28fe41(0x18c)},_0x2e9e79=await RequestUtil['HttpGetJson'](_0x51307a,_0x1494db[_0x28fe41(0x1ae)],_0x3da6ba,{'Cookie':_0x1494db[_0x28fe41(0x188)],'Content-Type':_0x1494db[_0x28fe41(0x19c)]});return _0x2e9e79;}export async function CreateMusicThridWay0(_0x5b3210='',_0x422b8d=''){const _0x335367=_0x2c58,_0x3524e5={'dlPvg':function(_0x2afbe4,_0x128a9e){return _0x2afbe4+_0x128a9e;},'IuuTs':'https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','OOlQG':_0x335367(0x1a7),'uDWqi':_0x335367(0x16e),'WctOG':function(_0xad6f11,_0x2af718){return _0xad6f11+_0x2af718;},'pXXyh':_0x335367(0x18e),'ohbQD':_0x335367(0x1b5)};if(_0x422b8d==''){let _0x545b33=await RequestUtil[_0x335367(0x1b2)](_0x3524e5[_0x335367(0x1a9)](_0x3524e5['dlPvg'](_0x3524e5[_0x335367(0x1be)],_0x5b3210),_0x3524e5['OOlQG']),_0x3524e5[_0x335367(0x176)],undefined);_0x422b8d=_0x545b33['songinfo']?.[_0x335367(0x183)]?.[_0x335367(0x1a5)][_0x335367(0x1bc)];}let _0x3ac830=await RequestUtil[_0x335367(0x1b2)](_0x3524e5['WctOG'](_0x3524e5[_0x335367(0x1b3)](_0x3524e5[_0x335367(0x1a3)],_0x422b8d),_0x3524e5[_0x335367(0x1aa)]),_0x3524e5[_0x335367(0x176)],undefined);return{..._0x3ac830[_0x335367(0x183)],'mid':_0x422b8d};}function _0x2054(){const _0xa04775=['DQQTd','data','824429SUIlCL','6763848byqegX','zGXDL','pWnWS','MAyUw','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','tianxuan.imgJumpArk','eEcnu','music','5879315acntVA','https://api.leafone.cn/api/qqmusic?id=','5428140cjVYvF','8570PeGZJq','cover','12285COAZuW','288IRdZEF','tag','wYfWk','gjhIB','p_skey','skey',';\x20uin=o','WhwrZ','signed_ark','BwKRR','2feuLyZ','iQUSJ','sourcelogo','xxdat','uin=o10086','IXZqC','pXXyh','zHfIT','track_info','normal','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','stringify','dlPvg','ohbQD','SeudJ','url','upUXU','aWYBn','NMPwq','qUkYh','ySGnr','HttpGetJson','WctOG','p_skey=','&type=8','AOVgB','name','pBYtn','9517232yRepvw','&type=0','preview','mid','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','IuuTs','https://i.y.qq.com/v8/playsong.html?songmid=','VgbBk','source','getQzoneCookies','POST','uin','42204jnzLeC','GET','title','miniapp','9a63343c32d5a16bcde653eb97faa25d','&ark=','genBkn','0.0.0.1','UHbXs','uDWqi','prompt','tagIcon','com.tencent.miniapp.lua','UZwEQ','AvHTx','singer','YmLkc','QQ音乐','\x5c/\x5c/','replace','https://ws.stream.qqmusic.qq.com/'];_0x2054=function(){return _0xa04775;};return _0x2054();}export async function CreateMusicThridWay1(_0x43f165='',_0xf0a491=''){}export async function SignMusicWrapper(_0x4c516a=''){const _0x43fa1f=_0x2c58,_0x5e0175={'wYfWk':function(_0x4cbb17,_0x35f90c){return _0x4cbb17(_0x35f90c);},'IXZqC':function(_0x27896c,_0x1bbe0e){return _0x27896c+_0x1bbe0e;}};let _0x5858ea=await _0x5e0175[_0x43fa1f(0x195)](CreateMusicThridWay0,_0x4c516a),_0x5016fd=await SignMusicInternal(_0x5858ea[_0x43fa1f(0x1b7)],_0x5858ea[_0x43fa1f(0x17c)],_0x5858ea[_0x43fa1f(0x191)],_0x5858ea[_0x43fa1f(0x1bc)],_0x5e0175[_0x43fa1f(0x1a2)](_0x43fa1f(0x181),_0x5858ea[_0x43fa1f(0x1ac)]));return _0x5016fd;} \ 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 8b6486a4..d3578a3b 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x308190=_0x2e8f;(function(_0x213dec,_0x10b3f6){const _0x4dc118=_0x2e8f,_0x4beac3=_0x213dec();while(!![]){try{const _0x5a06a0=parseInt(_0x4dc118(0x17b))/0x1*(parseInt(_0x4dc118(0x171))/0x2)+parseInt(_0x4dc118(0x17a))/0x3*(parseInt(_0x4dc118(0x17f))/0x4)+parseInt(_0x4dc118(0x184))/0x5+-parseInt(_0x4dc118(0x179))/0x6+parseInt(_0x4dc118(0x178))/0x7+parseInt(_0x4dc118(0x170))/0x8+-parseInt(_0x4dc118(0x17c))/0x9;if(_0x5a06a0===_0x10b3f6)break;else _0x4beac3['push'](_0x4beac3['shift']());}catch(_0x441716){_0x4beac3['push'](_0x4beac3['shift']());}}}(_0x36e8,0x1bf60));function _0x36e8(){const _0x259b8c=['getOnlineDev','qiBfP','getRichMediaService','1061750YiQYzN','util','hasOtherRunningQQProcess','translateEnWordToZn','BootMiniApp','1653936VFhleG','28298gKJuCv','NodeIKernelCollectionService/collectionArkShare','log','wantWinScreenOCR','getNodeMiscService','getOnLineDev','session','784462jUbLkc','90906yOqTQo','3bHNJYZ','13vJZNey','6908922eIDhYh','startNewMiniApp','1717662698058','728968uQEOVH','CallNoListenerEvent'];_0x36e8=function(){return _0x259b8c;};return _0x36e8();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x2e8f(_0x45b200,_0x1883ac){const _0x36e8ae=_0x36e8();return _0x2e8f=function(_0x2e8fc3,_0x1804ac){_0x2e8fc3=_0x2e8fc3-0x16e;let _0x112a7b=_0x36e8ae[_0x2e8fc3];return _0x112a7b;},_0x2e8f(_0x45b200,_0x1883ac);}export class NTQQSystemApi{static async[_0x308190(0x186)](){const _0x124f65=_0x308190;return napCatCore[_0x124f65(0x185)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x1b4915){const _0x25f2b0=_0x308190;return napCatCore['session'][_0x25f2b0(0x175)]()[_0x25f2b0(0x174)](_0x1b4915);}static async['translateEnWordToZn'](_0x48eaf2){const _0x54ebaa=_0x308190;return napCatCore[_0x54ebaa(0x177)][_0x54ebaa(0x183)]()[_0x54ebaa(0x16e)](_0x48eaf2);}static async[_0x308190(0x181)](){const _0x1d84df=_0x308190;return napCatCore['session']['getMsgService']()[_0x1d84df(0x176)]();}static async['getArkJsonCollection'](_0x17ba9d){const _0x50ad96=_0x308190;let _0x3f62ce=await NTEventDispatch[_0x50ad96(0x180)](_0x50ad96(0x172),0x1388,_0x50ad96(0x17e));return _0x3f62ce;}static async[_0x308190(0x16f)](_0x51a663,_0x3ee3b5){const _0x15b1e5=_0x308190,_0x146616={'qiBfP':'2.16.4'};await napCatCore[_0x15b1e5(0x177)]['getNodeMiscService']()['setMiniAppVersion'](_0x146616[_0x15b1e5(0x182)]);let _0x5ecd30=await napCatCore[_0x15b1e5(0x177)][_0x15b1e5(0x175)]()['getMiniAppPath']();return console[_0x15b1e5(0x173)](_0x5ecd30),napCatCore[_0x15b1e5(0x177)][_0x15b1e5(0x175)]()[_0x15b1e5(0x17d)](_0x51a663,_0x3ee3b5);}} \ No newline at end of file +const _0xd859fc=_0x27c0;(function(_0x19ec60,_0x1340d9){const _0x53807a=_0x27c0,_0x589f6a=_0x19ec60();while(!![]){try{const _0x450fe3=parseInt(_0x53807a(0x1d3))/0x1+-parseInt(_0x53807a(0x1dc))/0x2*(parseInt(_0x53807a(0x1d5))/0x3)+parseInt(_0x53807a(0x1d1))/0x4*(-parseInt(_0x53807a(0x1ce))/0x5)+parseInt(_0x53807a(0x1e0))/0x6+-parseInt(_0x53807a(0x1df))/0x7*(-parseInt(_0x53807a(0x1d2))/0x8)+parseInt(_0x53807a(0x1d0))/0x9+-parseInt(_0x53807a(0x1e2))/0xa;if(_0x450fe3===_0x1340d9)break;else _0x589f6a['push'](_0x589f6a['shift']());}catch(_0x5d2186){_0x589f6a['push'](_0x589f6a['shift']());}}}(_0x1cd5,0x8e049));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x27c0(_0xdb50cc,_0x3c6ddd){const _0x1cd504=_0x1cd5();return _0x27c0=function(_0x27c07a,_0x338a39){_0x27c07a=_0x27c07a-0x1c9;let _0x1d8fdd=_0x1cd504[_0x27c07a];return _0x1d8fdd;},_0x27c0(_0xdb50cc,_0x3c6ddd);}function _0x1cd5(){const _0x44d371=['getNodeMiscService','util','80521wpTPdK','5307684DwKiXT','getRichMediaService','15344410wBAEVs','getOnLineDev','aaWSB','NodeIKernelCollectionService/collectionArkShare','wantWinScreenOCR','hasOtherRunningQQProcess','235qqyPQJ','session','5299326IZjbvb','31412fPwsGq','704fgVNNV','386427cRltiW','2.16.4','580323gWozXc','CallNoListenerEvent','startNewMiniApp','setMiniAppVersion','getOnlineDev','BootMiniApp','translateEnWordToZn','4DxeBNp'];_0x1cd5=function(){return _0x44d371;};return _0x1cd5();}export class NTQQSystemApi{static async[_0xd859fc(0x1cd)](){const _0x28feba=_0xd859fc;return napCatCore[_0x28feba(0x1de)][_0x28feba(0x1cd)]();}static async['ORCImage'](_0x10fcc3){const _0x5bd5e6=_0xd859fc;return napCatCore['session'][_0x5bd5e6(0x1dd)]()[_0x5bd5e6(0x1cc)](_0x10fcc3);}static async[_0xd859fc(0x1db)](_0x8c6ade){const _0x176f7b=_0xd859fc;return napCatCore['session'][_0x176f7b(0x1e1)]()['translateEnWordToZn'](_0x8c6ade);}static async[_0xd859fc(0x1d9)](){const _0x33a331=_0xd859fc;return napCatCore[_0x33a331(0x1cf)]['getMsgService']()[_0x33a331(0x1c9)]();}static async['getArkJsonCollection'](_0x1683d5){const _0x168187=_0xd859fc,_0x22487d={'aaWSB':_0x168187(0x1cb),'ToPFw':'1717662698058'};let _0x31b204=await NTEventDispatch[_0x168187(0x1d6)](_0x22487d[_0x168187(0x1ca)],0x1388,_0x22487d['ToPFw']);return _0x31b204;}static async[_0xd859fc(0x1da)](_0x50e076,_0xe84000){const _0x1f5c3d=_0xd859fc;await napCatCore['session'][_0x1f5c3d(0x1dd)]()[_0x1f5c3d(0x1d8)](_0x1f5c3d(0x1d4));let _0x2133c5=await napCatCore[_0x1f5c3d(0x1cf)][_0x1f5c3d(0x1dd)]()['getMiniAppPath']();return console['log'](_0x2133c5),napCatCore['session'][_0x1f5c3d(0x1dd)]()[_0x1f5c3d(0x1d7)](_0x50e076,_0xe84000);}} \ 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 de001cd4..56a95b09 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x2fe92b=_0x96ae;(function(_0x54b1c9,_0x2ede4f){const _0xc37de8=_0x96ae,_0x4c29c5=_0x54b1c9();while(!![]){try{const _0x63e7a5=-parseInt(_0xc37de8(0x132))/0x1*(-parseInt(_0xc37de8(0x16d))/0x2)+parseInt(_0xc37de8(0x162))/0x3*(-parseInt(_0xc37de8(0x17f))/0x4)+parseInt(_0xc37de8(0x179))/0x5+parseInt(_0xc37de8(0x13e))/0x6*(parseInt(_0xc37de8(0x129))/0x7)+-parseInt(_0xc37de8(0x123))/0x8+-parseInt(_0xc37de8(0x17c))/0x9*(-parseInt(_0xc37de8(0x143))/0xa)+-parseInt(_0xc37de8(0x164))/0xb;if(_0x63e7a5===_0x2ede4f)break;else _0x4c29c5['push'](_0x4c29c5['shift']());}catch(_0xea506d){_0x4c29c5['push'](_0x4c29c5['shift']());}}}(_0x5b8e,0x3da0a));function _0x5b8e(){const _0x2f8a5d=['getProfileService','nqUEa','27iBxJvr','length','getSelfInfo','3924xsqMTR','onProfileDetailInfoChanged','session','getUserInfo','EPJIX','ZUhRt','2077408JDGkCg','eFXKK','get','uinInfo','MgjKJ','errMsg','7QxfCSB','getMsgService','setLongNick','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','HttpsGetCookies','ClientKey','xWkUK','getBuddyRecommendContactArkJson','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','643bfiwVM','CallNoListenerEvent','请求获取Cookies时失败','ZdiQv','setHeader','%2Finfocenter&keyindex=19%27','psEMc','getOwnPropertyDescriptor','__decorate','getSkey','请求获取Skey时失败','uidInfo','2713926DneLTH','PBOlU','modifySelfProfile','ELgWh','qXViH','187670ceFYXY','WEgOD','forceFetchClientKey','getUserDetailInfoByUin','QlBzT','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','oXpXE','NodeIKernelUixConvertService/getUin','getBuddyService','getUserDetailInfo','sFhiL','BLLWY','response','robotUinRanges','getQzoneCookies','sWwlX','NodeIKernelUixConvertService/getUid','jfkjf','rqRaG','%2F','UknHr','uid','skey','&clientkey=','doPnM','decorate','DMJeo','podgs','InBEy','defineProperty','nNrME','1329fsRbIM','forEach','2689258LYXsQo','like','clientKey','setBuddyProfileLike','keyIndex','wSzhh','sTqmk','getPSkey','getTicketService','1362EKngEf','getCookies','getRobotService','onLoginSuccess','getUserDetailInfo\x20timeout','addListener','getUinByUid','pOMeB','uin','setStatus','getRobotUinRange','vZjQJ','1223290kDXtOk'];_0x5b8e=function(){return _0x2f8a5d;};return _0x5b8e();}var __decorate=this&&this[_0x2fe92b(0x13a)]||function(_0x3d2d32,_0x55576f,_0x44dd2e,_0x184680){const _0x2f7159=_0x2fe92b,_0x1cba9d={'sTqmk':function(_0x2d2108,_0x1568f2){return _0x2d2108<_0x1568f2;},'jfkjf':function(_0x27dc06,_0x223ef7){return _0x27dc06===_0x223ef7;},'KsOXU':function(_0x4e2b88,_0x4c77af){return _0x4e2b88===_0x4c77af;},'UwRCH':'function','pOMeB':function(_0x426cf6,_0x5ede0d){return _0x426cf6>=_0x5ede0d;},'WEgOD':function(_0xdb8f5,_0x13234b){return _0xdb8f5>_0x13234b;},'qXViH':function(_0x47130b,_0x554bd4,_0x2b7279,_0xa53150){return _0x47130b(_0x554bd4,_0x2b7279,_0xa53150);},'nNrME':function(_0xc6ec4e,_0x39292c,_0x16000b){return _0xc6ec4e(_0x39292c,_0x16000b);}};var _0x18b2eb=arguments[_0x2f7159(0x17d)],_0x160367=_0x1cba9d[_0x2f7159(0x16a)](_0x18b2eb,0x3)?_0x55576f:_0x1cba9d[_0x2f7159(0x154)](_0x184680,null)?_0x184680=Object[_0x2f7159(0x139)](_0x55576f,_0x44dd2e):_0x184680,_0x239460;if(_0x1cba9d['jfkjf'](typeof Reflect,'object')&&_0x1cba9d['KsOXU'](typeof Reflect[_0x2f7159(0x15c)],_0x1cba9d['UwRCH']))_0x160367=Reflect[_0x2f7159(0x15c)](_0x3d2d32,_0x55576f,_0x44dd2e,_0x184680);else{for(var _0x5eaed1=_0x3d2d32[_0x2f7159(0x17d)]-0x1;_0x1cba9d[_0x2f7159(0x174)](_0x5eaed1,0x0);_0x5eaed1--)if(_0x239460=_0x3d2d32[_0x5eaed1])_0x160367=(_0x1cba9d[_0x2f7159(0x16a)](_0x18b2eb,0x3)?_0x239460(_0x160367):_0x1cba9d[_0x2f7159(0x144)](_0x18b2eb,0x3)?_0x1cba9d[_0x2f7159(0x142)](_0x239460,_0x55576f,_0x44dd2e,_0x160367):_0x1cba9d[_0x2f7159(0x161)](_0x239460,_0x55576f,_0x44dd2e))||_0x160367;}return _0x18b2eb>0x3&&_0x160367&&Object[_0x2f7159(0x160)](_0x55576f,_0x44dd2e,_0x160367),_0x160367;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x96ae(_0x2acd7f,_0x19e154){const _0x5b8e90=_0x5b8e();return _0x96ae=function(_0x96ae4f,_0x436380){_0x96ae4f=_0x96ae4f-0x120;let _0x24bb8a=_0x5b8e90[_0x96ae4f];return _0x24bb8a;},_0x96ae(_0x2acd7f,_0x19e154);}import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2fe92b(0x180)]=_0x22fa27=>{const _0x2144ce=_0x2fe92b;userInfoCache[_0x22fa27[_0x2144ce(0x158)]]=_0x22fa27,userDetailHandlers[_0x2144ce(0x163)](_0xa5880=>_0xa5880(_0x22fa27));},setTimeout(()=>{const _0x10f014=_0x2fe92b;napCatCore[_0x10f014(0x170)](()=>{const _0x2ffeea=_0x10f014;napCatCore[_0x2ffeea(0x172)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2fe92b(0x12b)](_0x50f24f){const _0x154d6a=_0x2fe92b;return napCatCore[_0x154d6a(0x181)]['getProfileService']()[_0x154d6a(0x12b)](_0x50f24f);}static async['setSelfOnlineStatus'](_0x13f070,_0x424f3f,_0x48c1b7){const _0xc903ad=_0x2fe92b;return napCatCore['session'][_0xc903ad(0x12a)]()[_0xc903ad(0x176)]({'status':_0x13f070,'extStatus':_0x424f3f,'batteryStatus':_0x48c1b7});}static async[_0x2fe92b(0x130)](_0x5ad7cc,_0x3d757f=''){const _0x31d749=_0x2fe92b;return napCatCore['session'][_0x31d749(0x14b)]()[_0x31d749(0x130)](_0x5ad7cc,_0x3d757f);}static async[_0x2fe92b(0x165)](_0x257ce3,_0x30257d=0x1){const _0x3849b0=_0x2fe92b;return napCatCore[_0x3849b0(0x181)]['getProfileLikeService']()[_0x3849b0(0x167)]({'friendUid':_0x257ce3,'sourceId':0x47,'doLikeCount':_0x30257d,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x308a09){const _0x517651=_0x2fe92b,_0x5ae66b=await napCatCore[_0x517651(0x181)][_0x517651(0x17a)]()[_0x517651(0x136)](_0x308a09);return{'result':_0x5ae66b?.['result'],'errMsg':_0x5ae66b?.[_0x517651(0x128)]};}static async[_0x2fe92b(0x17e)](){}static async[_0x2fe92b(0x120)](_0x546873){}static async[_0x2fe92b(0x14c)](_0x72f356){const _0x15da1e=_0x2fe92b,_0x172a6f={'oXpXE':function(_0x29abfc,_0x2c8f94){return _0x29abfc(_0x2c8f94);},'doPnM':_0x15da1e(0x171),'sWwlX':function(_0x308e9b,_0x388cca){return _0x308e9b===_0x388cca;},'ZdiQv':function(_0x4ac436,_0x2c50e3){return _0x4ac436(_0x2c50e3);},'DMJeo':function(_0x10ffd0,_0x186b31,_0x492054){return _0x10ffd0(_0x186b31,_0x492054);}},_0x3ded1d=napCatCore[_0x15da1e(0x181)][_0x15da1e(0x17a)]();return new Promise((_0x57a8ff,_0x22a3c9)=>{const _0x33bb0f=_0x15da1e,_0x26d007={'sFhiL':function(_0x97cac6,_0x577b84){const _0x4d64d6=_0x96ae;return _0x172a6f[_0x4d64d6(0x152)](_0x97cac6,_0x577b84);},'MgjKJ':function(_0x251d19,_0x35b17a){const _0x3b9d6c=_0x96ae;return _0x172a6f[_0x3b9d6c(0x135)](_0x251d19,_0x35b17a);}},_0x32390a=randomUUID();let _0x29e783=![],_0x48f3f8=undefined,_0xe6d0d6=!![];_0x172a6f[_0x33bb0f(0x15d)](setTimeout,()=>{const _0x105463=_0x33bb0f;!_0x29e783&&(_0x48f3f8?_0x57a8ff(_0x48f3f8):_0x172a6f[_0x105463(0x149)](_0x22a3c9,_0x172a6f[_0x105463(0x15b)])),userDetailHandlers['delete'](_0x32390a);},0x1388),userDetailHandlers['set'](_0x32390a,_0x5035e2=>{const _0x11ff52=_0x33bb0f;_0x26d007[_0x11ff52(0x14d)](_0x5035e2[_0x11ff52(0x158)],_0x72f356)&&(_0xe6d0d6?(_0x48f3f8=_0x5035e2,_0xe6d0d6=![]):(_0x29e783=!![],_0x26d007[_0x11ff52(0x127)](_0x57a8ff,_0x5035e2)));}),_0x3ded1d['getUserDetailInfoWithBizInfo'](_0x72f356,[0x0])['then'](_0x176b54=>{});});}static async[_0x2fe92b(0x140)](_0x1dd4a0){const _0x25829d=_0x2fe92b;return napCatCore[_0x25829d(0x181)][_0x25829d(0x17a)]()['modifyDesktopMiniProfile'](_0x1dd4a0);}static async['getCookies'](_0xaba010){const _0x3971c8=_0x2fe92b,_0x3e7eba={'EPJIX':function(_0x3f8fc7,_0x442de6){return _0x3f8fc7+_0x442de6;},'ZUhRt':_0x3971c8(0x15a),'PBOlU':'&u1=https%3A%2F%2F','uvIfr':_0x3971c8(0x156),'psEMc':_0x3971c8(0x137)},_0x221154=await NTQQUserApi['forceFetchClientKey'](),_0x36112e=_0x3e7eba[_0x3971c8(0x121)](_0x3e7eba['EPJIX'](_0x3e7eba['EPJIX'](_0x3e7eba[_0x3971c8(0x121)](_0x3e7eba[_0x3971c8(0x121)](_0x3e7eba[_0x3971c8(0x121)](_0x3971c8(0x12c),selfInfo[_0x3971c8(0x175)])+_0x3e7eba[_0x3971c8(0x122)],_0x221154[_0x3971c8(0x166)])+_0x3e7eba[_0x3971c8(0x13f)],_0xaba010),_0x3e7eba['uvIfr']),selfInfo[_0x3971c8(0x175)]),_0x3e7eba[_0x3971c8(0x138)]);let _0x58fdb8={};try{_0x58fdb8=await RequestUtil[_0x3971c8(0x12d)](_0x36112e);}catch(_0x5b9a5d){logDebug(_0x3971c8(0x134),_0x5b9a5d),_0x58fdb8={};}return _0x58fdb8;}static async[_0x2fe92b(0x16b)](_0x218cf4){return await napCatCore['session']['getTipOffService']()['getPskey'](_0x218cf4,!![]);}static async[_0x2fe92b(0x177)](){const _0x1a3310=_0x2fe92b,_0x2eb21b=await napCatCore[_0x1a3310(0x181)][_0x1a3310(0x16f)]()[_0x1a3310(0x177)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2eb21b?.[_0x1a3310(0x14f)]?.[_0x1a3310(0x150)];}static async[_0x2fe92b(0x151)](){const _0x3cf783=_0x2fe92b,_0x47c834={'UrdMT':function(_0x2260f0,_0x3ef858){return _0x2260f0+_0x3ef858;},'mXtfL':function(_0xfb3fe0,_0x506af3){return _0xfb3fe0+_0x506af3;},'DDLwG':function(_0x588cb4,_0x36b8d5){return _0x588cb4+_0x36b8d5;},'nqUEa':_0x3cf783(0x148),'UknHr':_0x3cf783(0x137)},_0x5bdd8b=await NTQQUserApi[_0x3cf783(0x145)](),_0x29ee69=_0x47c834['UrdMT'](_0x47c834['UrdMT'](_0x47c834['mXtfL'](_0x47c834['DDLwG'](_0x3cf783(0x12c)+selfInfo['uin'],_0x3cf783(0x15a)),_0x5bdd8b['clientKey']),_0x47c834[_0x3cf783(0x17b)]),selfInfo['uin'])+_0x47c834[_0x3cf783(0x157)];let _0x3551cc={};try{_0x3551cc=await RequestUtil[_0x3cf783(0x12d)](_0x29ee69);}catch(_0xb47f2f){logDebug(_0x3cf783(0x134),_0xb47f2f),_0x3551cc={};}return _0x3551cc;}static async[_0x2fe92b(0x13b)](){const _0x36858e=_0x2fe92b,_0x2aae79={'xWkUK':function(_0x3fe5b0,_0x5b6215){return _0x3fe5b0!==_0x5b6215;},'eFXKK':function(_0x360f63,_0x2a2adb){return _0x360f63+_0x2a2adb;},'wSzhh':function(_0x374a0c,_0x5dd7d1){return _0x374a0c+_0x5dd7d1;},'InBEy':function(_0x4d70ae,_0x13d48a){return _0x4d70ae+_0x13d48a;},'podgs':function(_0x4628f6,_0x58e904){return _0x4628f6+_0x58e904;},'BLLWY':_0x36858e(0x12c),'rqRaG':'&clientkey=','QlBzT':_0x36858e(0x131),'pNKrg':function(_0x435dd9,_0x31b06f,_0x195142){return _0x435dd9(_0x31b06f,_0x195142);},'vZjQJ':_0x36858e(0x159)};try{const _0x399c82=await NTQQUserApi['forceFetchClientKey']();if(_0x2aae79[_0x36858e(0x12f)](_0x399c82['result'],0x0))return'';const _0x312c3d=_0x399c82[_0x36858e(0x166)],_0x54b74e=_0x399c82[_0x36858e(0x168)],_0x306b72=_0x2aae79[_0x36858e(0x124)](_0x2aae79[_0x36858e(0x169)](_0x2aae79[_0x36858e(0x15f)](_0x2aae79[_0x36858e(0x15e)](_0x2aae79[_0x36858e(0x14e)],selfInfo['uin']),_0x2aae79[_0x36858e(0x155)]),_0x312c3d),_0x2aae79[_0x36858e(0x147)]);let _0x491ed3={};try{_0x491ed3=await RequestUtil[_0x36858e(0x12d)](_0x306b72);}catch(_0x5f01be){_0x2aae79['pNKrg'](logDebug,_0x36858e(0x13c),_0x5f01be),_0x491ed3={};}const _0x1bcdcf=_0x491ed3[_0x2aae79[_0x36858e(0x178)]];if(!_0x1bcdcf)return'';return _0x1bcdcf;}catch(_0x12f560){}return undefined;}static async['getUidByUin'](_0x7bfef7){const _0x204ee3=_0x2fe92b,_0x9a64b9={'ELgWh':_0x204ee3(0x153)};let _0x3af27d=await NTEventDispatch[_0x204ee3(0x133)](_0x9a64b9[_0x204ee3(0x141)],0x1388,[_0x7bfef7]);return _0x3af27d[_0x204ee3(0x13d)][_0x204ee3(0x125)](_0x7bfef7);}static async[_0x2fe92b(0x173)](_0x174982){const _0x9e90fc=_0x2fe92b;if(!_0x174982)return'';let _0x4d0ef2=await NTEventDispatch['CallNoListenerEvent'](_0x9e90fc(0x14a),0x1388,[_0x174982]);return _0x4d0ef2[_0x9e90fc(0x126)][_0x9e90fc(0x125)](_0x174982);}static async[_0x2fe92b(0x146)](_0xcfbe9b){const _0xb556ed=_0x2fe92b,_0x14cd57={'PoLKq':'NodeIKernelProfileService/getUserDetailInfoByUin'};return NTEventDispatch[_0xb556ed(0x133)](_0x14cd57['PoLKq'],0x1388,_0xcfbe9b);}static async['forceFetchClientKey'](){const _0x261149=_0x2fe92b;return await napCatCore[_0x261149(0x181)][_0x261149(0x16c)]()['forceFetchClientKey']('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x16e),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x16b),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x151),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x13b),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x2fe92b(0x12e))],NTQQUserApi,_0x2fe92b(0x145),null); \ No newline at end of file +const _0x3edc27=_0x5c2c;function _0x5ded(){const _0x43de7f=['setSelfOnlineStatus','ZfCWq','getMsgService','getUserDetailInfo','FIDLj','1145105tqGUcA','JaMEz','onLoginSuccess','420HGPokl','NodeIKernelUixConvertService/getUin','getBuddyRecommendContactArkJson','onProfileDetailInfoChanged','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','请求获取Cookies时失败','length','defineProperty','robotUinRanges','getRobotUinRange','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','vAJig','setBuddyProfileLike','clientKey','addListener','20qPMEcg','LTQSr','getTipOffService','oztaG','getQzoneCookies','60HgrkiU','modifyDesktopMiniProfile','5058KczzxB','7056pPWzzm','function','3945195pUbjiD','AdcVM','getPSkey','NodeIKernelProfileService/getUserDetailInfoByUin','DyWzP','like','HQtIR','errMsg','3121151JlzRMD','__decorate','getUidByUin','setHeader','getUinByUid','then','&clientkey=','qtTFs','Wuktu','setStatus','XYJCp','ORZMA','CallNoListenerEvent','8EGMKgn','CsUaf','setQQAvatar','getUserDetailInfoByUin','Cfzho','YBEsi','result','JJXwO','qpoCb','%2Finfocenter&keyindex=19%27','getUserDetailInfoWithBizInfo','forceFetchClientKey','response','tduCV','498760cncvpd','bpUlf','请求获取Skey时失败','get','set','PByem','uidInfo','getBuddyService','uin','UMeda','delete','modifySelfProfile','MHLey','82196LilnEe','getSkey','session','HttpsGetCookies','getCookies','uinInfo','lgBoJ','setLongNick','DOkMk','kFaUP','getUserDetailInfo\x20timeout','fWkJe','eJMVy','zNPrv','getProfileService','awiKm','NodeIKernelUixConvertService/getUid','keyIndex','RzLHC','getProfileLikeService','8253IGCxEN','%2F','cRSMS','decorate','uid'];_0x5ded=function(){return _0x43de7f;};return _0x5ded();}(function(_0x4c043a,_0x5c61cc){const _0x2fa1c6=_0x5c2c,_0x18b9b3=_0x4c043a();while(!![]){try{const _0x16947=-parseInt(_0x2fa1c6(0x1f1))/0x1*(-parseInt(_0x2fa1c6(0x20c))/0x2)+parseInt(_0x2fa1c6(0x1dc))/0x3+-parseInt(_0x2fa1c6(0x1d2))/0x4*(parseInt(_0x2fa1c6(0x1c0))/0x5)+parseInt(_0x2fa1c6(0x1d9))/0x6*(-parseInt(_0x2fa1c6(0x1b6))/0x7)+-parseInt(_0x2fa1c6(0x1ff))/0x8+-parseInt(_0x2fa1c6(0x1da))/0x9*(parseInt(_0x2fa1c6(0x1c3))/0xa)+parseInt(_0x2fa1c6(0x1e4))/0xb*(parseInt(_0x2fa1c6(0x1d7))/0xc);if(_0x16947===_0x5c61cc)break;else _0x18b9b3['push'](_0x18b9b3['shift']());}catch(_0x568fc8){_0x18b9b3['push'](_0x18b9b3['shift']());}}}(_0x5ded,0xca377));var __decorate=this&&this[_0x3edc27(0x1e5)]||function(_0x30b0df,_0x257313,_0x1b300a,_0x36b678){const _0x450e6f=_0x3edc27,_0x5072ac={'HQtIR':function(_0x89ad56,_0x45a4c8){return _0x89ad56===_0x45a4c8;},'DyWzP':function(_0x1aaf6d,_0x29e31d){return _0x1aaf6d===_0x29e31d;},'UMeda':function(_0x21ce49,_0x56cd84){return _0x21ce49===_0x56cd84;},'eJMVy':_0x450e6f(0x1db),'JJXwO':function(_0x4201f1,_0x1d6704){return _0x4201f1<_0x1d6704;},'kFaUP':function(_0x359b88,_0x13e1cd){return _0x359b88(_0x13e1cd);},'YBEsi':function(_0x148a73,_0x2af798,_0x17ca36,_0x13ea4){return _0x148a73(_0x2af798,_0x17ca36,_0x13ea4);},'Wuktu':function(_0x3e02a,_0xa138d5,_0x538762){return _0x3e02a(_0xa138d5,_0x538762);}};var _0x5af86d=arguments[_0x450e6f(0x1c9)],_0x46b2a0=_0x5af86d<0x3?_0x257313:_0x5072ac[_0x450e6f(0x1e2)](_0x36b678,null)?_0x36b678=Object['getOwnPropertyDescriptor'](_0x257313,_0x1b300a):_0x36b678,_0x54b1c3;if(_0x5072ac[_0x450e6f(0x1e0)](typeof Reflect,'object')&&_0x5072ac[_0x450e6f(0x208)](typeof Reflect[_0x450e6f(0x1b9)],_0x5072ac[_0x450e6f(0x218)]))_0x46b2a0=Reflect[_0x450e6f(0x1b9)](_0x30b0df,_0x257313,_0x1b300a,_0x36b678);else{for(var _0x48cc76=_0x30b0df[_0x450e6f(0x1c9)]-0x1;_0x48cc76>=0x0;_0x48cc76--)if(_0x54b1c3=_0x30b0df[_0x48cc76])_0x46b2a0=(_0x5072ac[_0x450e6f(0x1f8)](_0x5af86d,0x3)?_0x5072ac[_0x450e6f(0x215)](_0x54b1c3,_0x46b2a0):_0x5af86d>0x3?_0x5072ac[_0x450e6f(0x1f6)](_0x54b1c3,_0x257313,_0x1b300a,_0x46b2a0):_0x5072ac[_0x450e6f(0x1ec)](_0x54b1c3,_0x257313,_0x1b300a))||_0x46b2a0;}return _0x5af86d>0x3&&_0x46b2a0&&Object[_0x450e6f(0x1ca)](_0x257313,_0x1b300a,_0x46b2a0),_0x46b2a0;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x3edc27(0x1c6)]=_0x5a46d6=>{const _0x26549e=_0x3edc27;userInfoCache[_0x5a46d6[_0x26549e(0x1ba)]]=_0x5a46d6,userDetailHandlers['forEach'](_0x443797=>_0x443797(_0x5a46d6));},setTimeout(()=>{const _0x3278d9=_0x3edc27;napCatCore[_0x3278d9(0x1c2)](()=>{const _0xaaa8e1=_0x3278d9;napCatCore[_0xaaa8e1(0x1d1)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x3edc27(0x213)](_0x1ec05a){const _0xe30e7f=_0x3edc27;return napCatCore[_0xe30e7f(0x20e)][_0xe30e7f(0x21a)]()[_0xe30e7f(0x213)](_0x1ec05a);}static async[_0x3edc27(0x1bb)](_0x516d49,_0x3edbe7,_0x36ddd7){const _0x8c5a8e=_0x3edc27;return napCatCore[_0x8c5a8e(0x20e)][_0x8c5a8e(0x1bd)]()[_0x8c5a8e(0x1ed)]({'status':_0x516d49,'extStatus':_0x3edbe7,'batteryStatus':_0x36ddd7});}static async['getBuddyRecommendContactArkJson'](_0x5c6a98,_0x2478bf=''){const _0x19e01f=_0x3edc27;return napCatCore['session'][_0x19e01f(0x206)]()[_0x19e01f(0x1c5)](_0x5c6a98,_0x2478bf);}static async[_0x3edc27(0x1e1)](_0x3155f0,_0x3bcf0c=0x1){const _0x160db5=_0x3edc27;return napCatCore[_0x160db5(0x20e)][_0x160db5(0x1b5)]()[_0x160db5(0x1cf)]({'friendUid':_0x3155f0,'sourceId':0x47,'doLikeCount':_0x3bcf0c,'doLikeTollCount':0x0});}static async[_0x3edc27(0x1f3)](_0x330067){const _0x4de79b=_0x3edc27,_0x1826e2=await napCatCore[_0x4de79b(0x20e)]['getProfileService']()[_0x4de79b(0x1e7)](_0x330067);return{'result':_0x1826e2?.[_0x4de79b(0x1f7)],'errMsg':_0x1826e2?.[_0x4de79b(0x1e3)]};}static async['getSelfInfo'](){}static async['getUserInfo'](_0x4783bc){}static async[_0x3edc27(0x1be)](_0x293837){const _0x176f57=_0x3edc27,_0x4e17ca={'MHLey':function(_0x5425bf,_0x14e32c){return _0x5425bf(_0x14e32c);},'JaMEz':_0x176f57(0x216),'JTqjY':function(_0x239226,_0x1c9e61){return _0x239226===_0x1c9e61;},'LEbiU':function(_0x7491bc){return _0x7491bc();},'oztaG':function(_0x15ac5a,_0x203cc3,_0x157cbc){return _0x15ac5a(_0x203cc3,_0x157cbc);}},_0x35e64f=napCatCore[_0x176f57(0x20e)][_0x176f57(0x21a)]();return new Promise((_0x168cc0,_0x261201)=>{const _0x43025e=_0x176f57,_0x36e895={'ZfCWq':function(_0x51fa82,_0x19bde9){const _0x3af437=_0x5c2c;return _0x4e17ca[_0x3af437(0x20b)](_0x51fa82,_0x19bde9);},'Cfzho':_0x4e17ca[_0x43025e(0x1c1)],'qtTFs':function(_0x4042dc,_0x5b5335){return _0x4e17ca['JTqjY'](_0x4042dc,_0x5b5335);}},_0x5c06de=_0x4e17ca['LEbiU'](randomUUID);let _0x5e9ed9=![],_0x118aba=undefined,_0x3ea8f5=!![];_0x4e17ca[_0x43025e(0x1d5)](setTimeout,()=>{const _0x5d4a2e=_0x43025e;!_0x5e9ed9&&(_0x118aba?_0x168cc0(_0x118aba):_0x36e895[_0x5d4a2e(0x1bc)](_0x261201,_0x36e895[_0x5d4a2e(0x1f5)])),userDetailHandlers[_0x5d4a2e(0x209)](_0x5c06de);},0x1388),userDetailHandlers[_0x43025e(0x203)](_0x5c06de,_0x5b3c36=>{const _0x376a32=_0x43025e;_0x36e895[_0x376a32(0x1eb)](_0x5b3c36[_0x376a32(0x1ba)],_0x293837)&&(_0x3ea8f5?(_0x118aba=_0x5b3c36,_0x3ea8f5=![]):(_0x5e9ed9=!![],_0x36e895[_0x376a32(0x1bc)](_0x168cc0,_0x5b3c36)));}),_0x35e64f[_0x43025e(0x1fb)](_0x293837,[0x0])[_0x43025e(0x1e9)](_0x21cb81=>{});});}static async[_0x3edc27(0x20a)](_0x5ab4ed){const _0x13f693=_0x3edc27;return napCatCore[_0x13f693(0x20e)]['getProfileService']()[_0x13f693(0x1d8)](_0x5ab4ed);}static async[_0x3edc27(0x210)](_0x186e58){const _0x457a87=_0x3edc27,_0x13f703={'bpUlf':function(_0x5a1f2b,_0xa28988){return _0x5a1f2b+_0xa28988;},'RzLHC':function(_0x2a164c,_0x4598a0){return _0x2a164c+_0x4598a0;},'FIDLj':function(_0x3ef8b6,_0x80a3bf){return _0x3ef8b6+_0x80a3bf;},'eFZpz':function(_0x5b077f,_0x3d5630){return _0x5b077f+_0x3d5630;},'AdcVM':_0x457a87(0x1ea),'CsUaf':'&u1=https%3A%2F%2F','fWkJe':_0x457a87(0x1b7),'zNPrv':'%2Finfocenter&keyindex=19%27','IgUzY':function(_0x3d6876,_0x113eee,_0x393a68){return _0x3d6876(_0x113eee,_0x393a68);},'WLjyU':_0x457a87(0x1c8)},_0x295387=await NTQQUserApi[_0x457a87(0x1fc)](),_0xe8e19a=_0x13f703[_0x457a87(0x200)](_0x13f703['bpUlf'](_0x13f703[_0x457a87(0x1b4)](_0x13f703['bpUlf'](_0x13f703[_0x457a87(0x1bf)](_0x13f703[_0x457a87(0x1b4)](_0x13f703['eFZpz'](_0x457a87(0x1c7),selfInfo[_0x457a87(0x207)]),_0x13f703[_0x457a87(0x1dd)])+_0x295387[_0x457a87(0x1d0)],_0x13f703[_0x457a87(0x1f2)]),_0x186e58),_0x13f703[_0x457a87(0x217)]),selfInfo[_0x457a87(0x207)]),_0x13f703[_0x457a87(0x219)]);let _0x103bdc={};try{_0x103bdc=await RequestUtil[_0x457a87(0x20f)](_0xe8e19a);}catch(_0x1b3763){_0x13f703['IgUzY'](logDebug,_0x13f703['WLjyU'],_0x1b3763),_0x103bdc={};}return _0x103bdc;}static async[_0x3edc27(0x1de)](_0x219111){const _0x3ad636=_0x3edc27;return await napCatCore[_0x3ad636(0x20e)][_0x3ad636(0x1d4)]()['getPskey'](_0x219111,!![]);}static async[_0x3edc27(0x1cc)](){const _0x39c313=_0x3edc27,_0x2de7c9=await napCatCore[_0x39c313(0x20e)]['getRobotService']()[_0x39c313(0x1cc)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2de7c9?.[_0x39c313(0x1fd)]?.[_0x39c313(0x1cb)];}static async[_0x3edc27(0x1d6)](){const _0xdbade1=_0x3edc27,_0x166dc0={'tduCV':function(_0x37d5cc,_0x58d6ae){return _0x37d5cc+_0x58d6ae;},'XYJCp':_0xdbade1(0x1ea),'qXpwo':'&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','lgBoJ':_0xdbade1(0x1fa),'sfQOX':function(_0x5cd676,_0x3eb451,_0x153eb4){return _0x5cd676(_0x3eb451,_0x153eb4);},'hcSIb':_0xdbade1(0x1c8)},_0x36283d=await NTQQUserApi[_0xdbade1(0x1fc)](),_0x30f686=_0x166dc0[_0xdbade1(0x1fe)](_0x166dc0[_0xdbade1(0x1fe)](_0x166dc0['tduCV'](_0x166dc0[_0xdbade1(0x1fe)](_0xdbade1(0x1c7)+selfInfo[_0xdbade1(0x207)],_0x166dc0[_0xdbade1(0x1ee)]),_0x36283d['clientKey']),_0x166dc0['qXpwo']),selfInfo[_0xdbade1(0x207)])+_0x166dc0[_0xdbade1(0x212)];let _0x45cf85={};try{_0x45cf85=await RequestUtil[_0xdbade1(0x20f)](_0x30f686);}catch(_0x290da7){_0x166dc0['sfQOX'](logDebug,_0x166dc0['hcSIb'],_0x290da7),_0x45cf85={};}return _0x45cf85;}static async[_0x3edc27(0x20d)](){const _0x34bf80=_0x3edc27,_0x491778={'qpoCb':function(_0x52de6f,_0x5ae569){return _0x52de6f!==_0x5ae569;},'qqTPn':function(_0x388217,_0x3d22b9){return _0x388217+_0x3d22b9;},'Zaaer':function(_0x603e15,_0x2c9569){return _0x603e15+_0x2c9569;},'ORZMA':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','awiKm':_0x34bf80(0x1ea),'LTQSr':_0x34bf80(0x1cd),'cRSMS':function(_0xe45ed3,_0x56aa8e,_0x35d432){return _0xe45ed3(_0x56aa8e,_0x35d432);},'PByem':_0x34bf80(0x201),'DOkMk':'skey'};try{const _0x2b8527=await NTQQUserApi[_0x34bf80(0x1fc)]();if(_0x491778[_0x34bf80(0x1f9)](_0x2b8527[_0x34bf80(0x1f7)],0x0))return'';const _0x1dc803=_0x2b8527[_0x34bf80(0x1d0)],_0x1e7e26=_0x2b8527[_0x34bf80(0x21d)],_0x5b9e87=_0x491778['qqTPn'](_0x491778['qqTPn'](_0x491778['qqTPn'](_0x491778['Zaaer'](_0x491778[_0x34bf80(0x1ef)],selfInfo[_0x34bf80(0x207)]),_0x491778[_0x34bf80(0x21b)]),_0x1dc803),_0x491778[_0x34bf80(0x1d3)]);let _0x114223={};try{_0x114223=await RequestUtil[_0x34bf80(0x20f)](_0x5b9e87);}catch(_0x16938f){_0x491778[_0x34bf80(0x1b8)](logDebug,_0x491778[_0x34bf80(0x204)],_0x16938f),_0x114223={};}const _0x559c11=_0x114223[_0x491778[_0x34bf80(0x214)]];if(!_0x559c11)return'';return _0x559c11;}catch(_0x305a88){}return undefined;}static async[_0x3edc27(0x1e6)](_0x5e750b){const _0x3d9761=_0x3edc27;let _0x2c0917=await NTEventDispatch[_0x3d9761(0x1f0)](_0x3d9761(0x21c),0x1388,[_0x5e750b]);return _0x2c0917[_0x3d9761(0x205)][_0x3d9761(0x202)](_0x5e750b);}static async[_0x3edc27(0x1e8)](_0x43ea91){const _0x2ec518=_0x3edc27;if(!_0x43ea91)return'';let _0xeabe62=await NTEventDispatch[_0x2ec518(0x1f0)](_0x2ec518(0x1c4),0x1388,[_0x43ea91]);return _0xeabe62[_0x2ec518(0x211)][_0x2ec518(0x202)](_0x43ea91);}static async[_0x3edc27(0x1f4)](_0x44a8c2){const _0x497e0d=_0x3edc27,_0x73d609={'vAJig':_0x497e0d(0x1df)};return NTEventDispatch['CallNoListenerEvent'](_0x73d609[_0x497e0d(0x1ce)],0x1388,_0x44a8c2);}static async['forceFetchClientKey'](){const _0x2be563=_0x3edc27;return await napCatCore[_0x2be563(0x20e)]['getTicketService']()['forceFetchClientKey']('');}}function _0x5c2c(_0x1b0d65,_0xdca3a7){const _0x5dedda=_0x5ded();return _0x5c2c=function(_0x5c2c9e,_0x236f6d){_0x5c2c9e=_0x5c2c9e-0x1b4;let _0x23b009=_0x5dedda[_0x5c2c9e];return _0x23b009;},_0x5c2c(_0x1b0d65,_0xdca3a7);}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3edc27(0x210),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3edc27(0x1de),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3edc27(0x1d6),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3edc27(0x20d),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'ClientKey')],NTQQUserApi,_0x3edc27(0x1fc),null); \ 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 9f9266db..4d10987f 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x553788=_0x18f6;(function(_0x5f44b7,_0x3245df){const _0x2eddb3=_0x18f6,_0x25120a=_0x5f44b7();while(!![]){try{const _0x18dd8d=parseInt(_0x2eddb3(0xc6))/0x1*(parseInt(_0x2eddb3(0x13d))/0x2)+parseInt(_0x2eddb3(0x12a))/0x3*(parseInt(_0x2eddb3(0x14f))/0x4)+parseInt(_0x2eddb3(0xda))/0x5+parseInt(_0x2eddb3(0x11e))/0x6*(parseInt(_0x2eddb3(0x14a))/0x7)+-parseInt(_0x2eddb3(0xea))/0x8*(-parseInt(_0x2eddb3(0xc8))/0x9)+-parseInt(_0x2eddb3(0xc2))/0xa+-parseInt(_0x2eddb3(0xec))/0xb;if(_0x18dd8d===_0x3245df)break;else _0x25120a['push'](_0x25120a['shift']());}catch(_0x3b7473){_0x25120a['push'](_0x25120a['shift']());}}}(_0xcfb6,0x30f31));var __decorate=this&&this[_0x553788(0x154)]||function(_0x2fea1d,_0x2e206d,_0x261ad3,_0x2f75ca){const _0x3f5f34=_0x553788,_0x1cce5a={'TLiaz':function(_0x50d43b,_0x415432){return _0x50d43b===_0x415432;},'mvOIA':_0x3f5f34(0xc3),'QwtZm':function(_0x2cdeb2,_0x262a1a){return _0x2cdeb2===_0x262a1a;},'adoqe':_0x3f5f34(0x116),'vJQSH':function(_0x311369,_0x10bd54){return _0x311369>=_0x10bd54;},'VtgSh':function(_0x6871e5,_0x481fd0){return _0x6871e5<_0x481fd0;},'TCrFt':function(_0x39dbb3,_0x55c5fb){return _0x39dbb3>_0x55c5fb;},'tQxIg':function(_0x356bb0,_0xf0dfff,_0x492df0,_0x3addc4){return _0x356bb0(_0xf0dfff,_0x492df0,_0x3addc4);},'MULDa':function(_0x32380c,_0x334b76,_0x36c548){return _0x32380c(_0x334b76,_0x36c548);}};var _0xe9a216=arguments[_0x3f5f34(0xf2)],_0x206196=_0xe9a216<0x3?_0x2e206d:_0x1cce5a['TLiaz'](_0x2f75ca,null)?_0x2f75ca=Object['getOwnPropertyDescriptor'](_0x2e206d,_0x261ad3):_0x2f75ca,_0x3a1f4f;if(typeof Reflect===_0x1cce5a['mvOIA']&&_0x1cce5a[_0x3f5f34(0xf5)](typeof Reflect[_0x3f5f34(0xe3)],_0x1cce5a[_0x3f5f34(0xcf)]))_0x206196=Reflect[_0x3f5f34(0xe3)](_0x2fea1d,_0x2e206d,_0x261ad3,_0x2f75ca);else{for(var _0x2ce32f=_0x2fea1d[_0x3f5f34(0xf2)]-0x1;_0x1cce5a['vJQSH'](_0x2ce32f,0x0);_0x2ce32f--)if(_0x3a1f4f=_0x2fea1d[_0x2ce32f])_0x206196=(_0x1cce5a[_0x3f5f34(0x14d)](_0xe9a216,0x3)?_0x3a1f4f(_0x206196):_0x1cce5a[_0x3f5f34(0x106)](_0xe9a216,0x3)?_0x1cce5a[_0x3f5f34(0xd3)](_0x3a1f4f,_0x2e206d,_0x261ad3,_0x206196):_0x1cce5a[_0x3f5f34(0x163)](_0x3a1f4f,_0x2e206d,_0x261ad3))||_0x206196;}return _0xe9a216>0x3&&_0x206196&&Object[_0x3f5f34(0x11b)](_0x2e206d,_0x261ad3,_0x206196),_0x206196;};import{selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';function _0xcfb6(){const _0x3f8038=['match','UUFxf','all','NbuuA','actorList','adoqe','parse','EaMiQ','RAsyU','tQxIg','zTajZ','RRISQ','QDPON','oMrIZ','performer','tTmci','1901235SnCWRq','getGroupEssenceMsg','dECoA','setGroupNotice','获取当前群荣耀失败','push','genBkn','&sort=1&gc=','emotion_list','decorate','aLBgO','aInLr','ovgMd','phoEo',';\x20uin=o','NhFkm','235784vjlljT','MIMUJ','11721303QCsPea','rhTnD','qjkui','GET','dQyZW','POYAV','length','WWdgx','&bkn=','QwtZm','UYmQD','EMOTION','uMezn','p_skey=','kGtLF','performer_list','ngkEe','IFrZJ','eiRGS','DKRDI','BNALS','&qid=','ZjVle','YjUht','CtGce','ceil','TCrFt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','vSgKo','strong_newbie_list','charCodeAt','3|5|4|1|0|2','WVbvh','qun.qq.com','POST','STORONGE_NEWBI','legend_list','ccmpN','UJMzZ','YXrEq','JneiB','function','pXJkU','current_talkative','&text=','egSBb','defineProperty','ALL','COUEk','610482ZNIhyR','rgnJr','vbgqF','PERFROMER','laXWP','mems','avatar','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','PMUVq','errcode','retcode','CnVxQ','6wFdnwr',';\x20p_uin=o','ZAsOf','getGroupHonorInfo','TALKACTIVE','WCYeg','tLlzk','domainPskeyMap','获取快乐源泉失败','获取群聊之火失败','BbqFO','pcTFq','FqUvz','&group_code=','getGrouptNotice','GJeqp','talkative_list','get','ZpuOO','8794xmsUZG','uin','JzBoJ','GroupHonorInfo','vMTYv','talkative','&type=','gdfcX','HttpGetText','rstAN','rzPFE','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','getPSkey','21AeqVxM','DcJyM','getSkey','VtgSh','TPZRQ','778328txemGG','fCJOb','EGUwZ','aHNIn','name','__decorate','CrSBV','count','trim','HttpGetJson','talkativeList','split',';\x20skey=','&page_start=','xuqDH','CGtlU','YpvvJ','description','BHLhJ','https://qun.qq.com/interactive/honorlist?gc=','MULDa','KzEQT','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','Cvsyd','rYcgP','yNozb','DfAUu','HzelM','otbEU','desc','3412290flYGiD','object','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','legend','34QHgOJa','getGroupMembers','117WLWvuT','toString'];_0xcfb6=function(){return _0x3f8038;};return _0xcfb6();}export var WebHonorType;(function(_0x5d2433){const _0x190e93=_0x553788,_0x8cd4f={'FqUvz':_0x190e93(0x10c),'CtGce':'strong_newbie','rgnJr':_0x190e93(0xc5),'egSBb':_0x190e93(0xf7),'uOIDu':'emotion','YXrEq':'ALL','rzPFE':_0x190e93(0xcc),'dQyZW':_0x190e93(0x121),'ZSMPQ':_0x190e93(0xd8),'UUFxf':_0x190e93(0x12e),'WVbvh':_0x190e93(0x142)},_0x3e51be=_0x8cd4f[_0x190e93(0x136)][_0x190e93(0x15a)]('|');let _0x44127c=0x0;while(!![]){switch(_0x3e51be[_0x44127c++]){case'0':_0x5d2433[_0x190e93(0x110)]=_0x8cd4f[_0x190e93(0x104)];continue;case'1':_0x5d2433['LEGEND']=_0x8cd4f[_0x190e93(0x11f)];continue;case'2':_0x5d2433[_0x8cd4f[_0x190e93(0x11a)]]=_0x8cd4f['uOIDu'];continue;case'3':_0x5d2433[_0x8cd4f[_0x190e93(0x114)]]=_0x8cd4f[_0x190e93(0x147)];continue;case'4':_0x5d2433[_0x8cd4f[_0x190e93(0xf0)]]=_0x8cd4f['ZSMPQ'];continue;case'5':_0x5d2433[_0x8cd4f[_0x190e93(0xcb)]]=_0x8cd4f[_0x190e93(0x10d)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x18f6(_0x3768ab,_0xdcd8cd){const _0xcfb6a1=_0xcfb6();return _0x18f6=function(_0x18f6d1,_0x3f59ab){_0x18f6d1=_0x18f6d1-0xc0;let _0x2409ca=_0xcfb6a1[_0x18f6d1];return _0x2409ca;},_0x18f6(_0x3768ab,_0xdcd8cd);}export class WebApi{static async[_0x553788(0xdb)](_0x3fa9c7,_0x23137e){const _0x11ad42=_0x553788,_0xf63c23={'IFrZJ':function(_0x40bb94,_0x4a0c01){return _0x40bb94+_0x4a0c01;},'jzdBm':_0x11ad42(0xf9),'MxaEd':_0x11ad42(0x15b),'ZpuOO':_0x11ad42(0x12b),'gdfcX':_0x11ad42(0xe8),'BHLhJ':function(_0x548b83,_0x2b4f6f){return _0x548b83+_0x2b4f6f;},'ScGOD':function(_0x420dbf,_0x55e404){return _0x420dbf+_0x55e404;},'mDYnu':function(_0x15abdf,_0x4abd81){return _0x15abdf+_0x4abd81;},'oMrIZ':_0x11ad42(0x108),'vMTYv':_0x11ad42(0x137),'NbuuA':_0x11ad42(0x15c),'ngkEe':'&page_limit=20','MlxNX':_0x11ad42(0xef)},_0xfd95ef=(await NTQQUserApi[_0x11ad42(0x149)]([_0x11ad42(0x10e)]))[_0x11ad42(0x131)][_0x11ad42(0x13b)]('qun.qq.com'),_0x2118eb=await NTQQUserApi[_0x11ad42(0x14c)](),_0x35d64e=_0xf63c23['IFrZJ'](_0xf63c23[_0x11ad42(0xfd)](_0xf63c23[_0x11ad42(0xfd)](_0xf63c23['jzdBm'],_0xfd95ef)+_0xf63c23['MxaEd']+_0x2118eb,_0xf63c23[_0x11ad42(0x13c)])+selfInfo[_0x11ad42(0x13e)],_0xf63c23[_0x11ad42(0x144)])+selfInfo[_0x11ad42(0x13e)];if(!_0x2118eb||!_0xfd95ef)return undefined;const _0x12571b=WebApi['genBkn'](_0x2118eb),_0x253f30=_0xf63c23[_0x11ad42(0xfd)](_0xf63c23[_0x11ad42(0x161)](_0xf63c23['ScGOD'](_0xf63c23['mDYnu'](_0xf63c23[_0x11ad42(0xd7)],_0x12571b),_0xf63c23[_0x11ad42(0x141)]),_0x3fa9c7)+_0xf63c23[_0x11ad42(0xcd)],_0x23137e)+_0xf63c23[_0x11ad42(0xfc)];let _0x101cc8;try{_0x101cc8=await RequestUtil['HttpGetJson'](_0x253f30,_0xf63c23['MlxNX'],'',{'Cookie':_0x35d64e});}catch{return undefined;}if(_0x101cc8[_0x11ad42(0x128)]!==0x0)return undefined;return _0x101cc8;}static async['getGroupMembers'](_0x39c45b,_0x254a0a=!![]){const _0x937d1f=_0x553788,_0x456f17={'aLBgO':_0x937d1f(0x10e),'tTmci':function(_0x528d76,_0x2a7f87){return _0x528d76+_0x2a7f87;},'RAsyU':function(_0x58841c,_0x5bf1d2){return _0x58841c+_0x5bf1d2;},'NhFkm':_0x937d1f(0xf9),'otbEU':_0x937d1f(0x15b),'xuqDH':';\x20p_uin=o','hWNWf':_0x937d1f(0x107),'CGzjm':function(_0x588aac,_0x17cead){return _0x588aac!==_0x17cead;},'JzBoJ':function(_0x416d3f,_0x2c45f3){return _0x416d3f/_0x2c45f3;},'rstAN':function(_0x4bf02c,_0x262538){return _0x4bf02c+_0x262538;},'kGtLF':function(_0x2a8dfa,_0x220cf4){return _0x2a8dfa+_0x220cf4;},'fCJOb':_0x937d1f(0x125),'yNozb':function(_0x1e1e1a,_0x431372){return _0x1e1e1a*_0x431372;},'COUEk':function(_0x3f8071,_0x33cc89){return _0x3f8071-_0x33cc89;},'EaMiQ':'&end=','aInLr':_0x937d1f(0xe1),'rYcgP':'&bkn=','WWdgx':_0x937d1f(0x10f),'pcTFq':function(_0x53e050,_0x39a1bb){return _0x53e050<=_0x39a1bb;}};let _0x4e9db6=new Array();try{const _0x414ea8=(await NTQQUserApi[_0x937d1f(0x149)]([_0x456f17[_0x937d1f(0xe4)]]))['domainPskeyMap'][_0x937d1f(0x13b)](_0x456f17[_0x937d1f(0xe4)]),_0x143a10=await NTQQUserApi[_0x937d1f(0x14c)](),_0x1bf2e2=_0x456f17[_0x937d1f(0xd9)](_0x456f17[_0x937d1f(0xd9)](_0x456f17[_0x937d1f(0xd9)](_0x456f17[_0x937d1f(0xd2)](_0x456f17[_0x937d1f(0xe9)],_0x414ea8),_0x456f17[_0x937d1f(0xc0)]),_0x143a10)+_0x456f17[_0x937d1f(0x15d)],selfInfo['uin']);if(!_0x143a10||!_0x414ea8)return _0x4e9db6;const _0x1264eb=WebApi[_0x937d1f(0xe0)](_0x143a10),_0x4a54a8=[],_0x50da72=await RequestUtil['HttpGetJson'](_0x456f17[_0x937d1f(0xd2)](_0x456f17['tTmci'](_0x456f17['hWNWf']+_0x39c45b,_0x937d1f(0xf4)),_0x1264eb),_0x937d1f(0x10f),'',{'Cookie':_0x1bf2e2});if(!_0x50da72?.[_0x937d1f(0x156)]||_0x456f17['CGzjm'](_0x50da72?.['errcode'],0x0)||!_0x50da72?.[_0x937d1f(0x123)])return[];else for(const _0x208d2c in _0x50da72[_0x937d1f(0x123)]){_0x4e9db6[_0x937d1f(0xdf)](_0x50da72['mems'][_0x208d2c]);}const _0x3db3d0=Math[_0x937d1f(0x105)](_0x456f17[_0x937d1f(0x13f)](_0x50da72[_0x937d1f(0x156)],0x28));for(let _0x7970a6=0x2;_0x7970a6<=_0x3db3d0;_0x7970a6++){const _0x34a213=RequestUtil[_0x937d1f(0x158)](_0x456f17[_0x937d1f(0x146)](_0x456f17['kGtLF'](_0x456f17[_0x937d1f(0x146)](_0x456f17[_0x937d1f(0xd2)](_0x456f17[_0x937d1f(0xfa)](_0x456f17[_0x937d1f(0x150)],_0x456f17['yNozb'](_0x456f17[_0x937d1f(0x11d)](_0x7970a6,0x1),0x28)),_0x456f17[_0x937d1f(0xd1)]),_0x456f17[_0x937d1f(0x168)](_0x7970a6,0x28))+_0x456f17[_0x937d1f(0xe5)],_0x39c45b),_0x456f17[_0x937d1f(0x167)])+_0x1264eb,_0x456f17[_0x937d1f(0xf3)],'',{'Cookie':_0x1bf2e2});_0x4a54a8['push'](_0x34a213);}for(let _0x5972a9=0x1;_0x456f17[_0x937d1f(0x135)](_0x5972a9,_0x3db3d0);_0x5972a9++){const _0x4f74f2=await _0x4a54a8[_0x5972a9];if(!_0x4f74f2?.[_0x937d1f(0x156)]||_0x4f74f2?.[_0x937d1f(0x127)]!==0x0||!_0x4f74f2?.[_0x937d1f(0x123)])continue;for(const _0x39f7b6 in _0x4f74f2['mems']){_0x4e9db6[_0x937d1f(0xdf)](_0x4f74f2[_0x937d1f(0x123)][_0x39f7b6]);}}}catch{return _0x4e9db6;}return _0x4e9db6;}static async[_0x553788(0xdd)](_0x42f3b1,_0x474065=''){const _0x59ce58=_0x553788,_0x32169b={'mQtYW':_0x59ce58(0x10e),'ovgMd':function(_0x1f9ce4,_0x14a340){return _0x1f9ce4+_0x14a340;},'fiapa':function(_0x2ff17e,_0xf60ad4){return _0x2ff17e+_0xf60ad4;},'phoEo':function(_0x537cf0,_0x44968d){return _0x537cf0+_0x44968d;},'CnVxQ':'p_skey=','aHNIn':_0x59ce58(0x12b),'JneiB':function(_0xbde2c1,_0x24f23b){return _0xbde2c1||_0x24f23b;},'kPexB':function(_0x20e8c7,_0x7b8f51){return _0x20e8c7+_0x7b8f51;},'wgwmY':function(_0x4a240c,_0x53679c){return _0x4a240c+_0x53679c;},'laXWP':function(_0x2ac2a1,_0x380ee1){return _0x2ac2a1+_0x380ee1;},'DcJyM':function(_0x19bd91,_0x1bba90){return _0x19bd91+_0x1bba90;},'POYAV':function(_0x337aa6,_0x2ea65d){return _0x337aa6+_0x2ea65d;},'GJeqp':'qid=','MIMUJ':'&bkn=','BbqFO':_0x59ce58(0x119),'PcZRe':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','ccmpN':_0x59ce58(0xef)},_0x1e638d=(await NTQQUserApi[_0x59ce58(0x149)]([_0x32169b['mQtYW']]))[_0x59ce58(0x131)]['get'](_0x59ce58(0x10e)),_0x45e1fd=await NTQQUserApi['getSkey'](),_0x1a512e=_0x32169b[_0x59ce58(0xe6)](_0x32169b['ovgMd'](_0x32169b['fiapa'](_0x32169b[_0x59ce58(0xe7)](_0x32169b['phoEo'](_0x32169b[_0x59ce58(0x129)],_0x1e638d),';\x20skey='),_0x45e1fd),_0x32169b[_0x59ce58(0x152)]),selfInfo[_0x59ce58(0x13e)]);let _0x57d87c=undefined;if(_0x32169b[_0x59ce58(0x115)](!_0x45e1fd,!_0x1e638d))return undefined;const _0x4b0615=WebApi[_0x59ce58(0xe0)](_0x45e1fd),_0x3e967f=_0x32169b['kPexB'](_0x32169b['wgwmY'](_0x32169b[_0x59ce58(0x122)](_0x32169b[_0x59ce58(0x14b)](_0x32169b[_0x59ce58(0xf1)](_0x32169b[_0x59ce58(0x139)]+_0x42f3b1,_0x32169b[_0x59ce58(0xeb)]),_0x4b0615),_0x32169b[_0x59ce58(0x134)]),_0x474065),_0x32169b['PcZRe']),_0x5cf938=_0x59ce58(0x148)+_0x4b0615;try{return _0x57d87c=await RequestUtil[_0x59ce58(0x158)](_0x5cf938,_0x32169b[_0x59ce58(0x112)],'',{'Cookie':_0x1a512e}),_0x57d87c;}catch(_0x5b0fc9){return undefined;}return undefined;}static async[_0x553788(0x138)](_0x2f8f71){const _0x3465c8=_0x553788,_0x243b76={'EGUwZ':function(_0xa82e1e,_0x189197){return _0xa82e1e+_0x189197;},'ZjVle':_0x3465c8(0xf9),'xWieE':';\x20skey=','NBekR':_0x3465c8(0x12b),'UlEtx':function(_0x4f1006,_0x337b8a){return _0x4f1006||_0x337b8a;},'CrSBV':function(_0x2e3b2b,_0x1b55ec){return _0x2e3b2b+_0x1b55ec;},'ehIzv':function(_0x4a55e5,_0x29980b){return _0x4a55e5+_0x29980b;},'UJMzZ':_0x3465c8(0x165),'ZAsOf':_0x3465c8(0x101),'KzEQT':'GET','rhTnD':function(_0x20401d,_0x2dc284){return _0x20401d!==_0x2dc284;}},_0xe8e842=(await NTQQUserApi[_0x3465c8(0x149)]([_0x3465c8(0x10e)]))[_0x3465c8(0x131)][_0x3465c8(0x13b)]('qun.qq.com'),_0x5eb160=await NTQQUserApi[_0x3465c8(0x14c)](),_0x202302=_0x243b76[_0x3465c8(0x151)](_0x243b76[_0x3465c8(0x151)](_0x243b76[_0x3465c8(0x102)],_0xe8e842)+_0x243b76['xWieE']+_0x5eb160+_0x243b76['NBekR'],selfInfo[_0x3465c8(0x13e)]);let _0x23018b=undefined;if(_0x243b76['UlEtx'](!_0x5eb160,!_0xe8e842))return undefined;const _0x561c90=WebApi[_0x3465c8(0xe0)](_0x5eb160),_0xe78dd7=_0x243b76[_0x3465c8(0x155)](_0x243b76['ehIzv'](_0x243b76[_0x3465c8(0x151)](_0x243b76[_0x3465c8(0x155)](_0x243b76[_0x3465c8(0x113)],_0x561c90),_0x243b76[_0x3465c8(0x12c)]),_0x2f8f71),_0x3465c8(0xc4));try{_0x23018b=await RequestUtil['HttpGetJson'](_0xe78dd7,_0x243b76[_0x3465c8(0x164)],'',{'Cookie':_0x202302});if(_0x243b76[_0x3465c8(0xed)](_0x23018b?.['ec'],0x0))return undefined;return _0x23018b;}catch(_0x1a0f5b){return undefined;}return undefined;}static['genBkn'](_0x46db8d){const _0x7c773=_0x553788,_0x5e271f={'RRISQ':function(_0x1f49af,_0x2cec63){return _0x1f49af+_0x2cec63;},'uMezn':function(_0x46ab4e,_0x9252e4){return _0x46ab4e+_0x9252e4;},'jiCVy':function(_0x5caa64,_0x6addd){return _0x5caa64<<_0x6addd;}};_0x46db8d=_0x46db8d||'';let _0x3d958b=0x1505;for(let _0x291087=0x0;_0x291087<_0x46db8d[_0x7c773(0xf2)];_0x291087++){const _0x4fe98f=_0x46db8d[_0x7c773(0x10b)](_0x291087);_0x3d958b=_0x5e271f[_0x7c773(0xd5)](_0x5e271f[_0x7c773(0xf8)](_0x3d958b,_0x5e271f['jiCVy'](_0x3d958b,0x5)),_0x4fe98f);}return(_0x3d958b&0x7fffffff)[_0x7c773(0xc9)]();}static async[_0x553788(0x12d)](_0x28c1a3,_0x1adde2){const _0x261ce0=_0x553788,_0x2d2bf8={'gJuPD':_0x261ce0(0x162),'Cvsyd':_0x261ce0(0x143),'HzelM':function(_0x18cdb5,_0x575e7a,_0x4a55f8,_0x19eba8){return _0x18cdb5(_0x575e7a,_0x4a55f8,_0x19eba8);},'DKRDI':_0x261ce0(0xde),'YjUht':_0x261ce0(0x10e),'UYmQD':function(_0x455267,_0x524219){return _0x455267||_0x524219;},'TPZRQ':function(_0x538a48,_0x1fb50){return _0x538a48+_0x1fb50;},'dECoA':function(_0x4281e2,_0x1a7a34){return _0x4281e2+_0x1a7a34;},'CqDyB':_0x261ce0(0xf9),'vbgqF':';\x20skey=','vSgKo':_0x261ce0(0x12b),'eiRGS':';\x20uin=o','BNALS':function(_0x252c77,_0x487327){return _0x252c77===_0x487327;},'zTajZ':function(_0x3212fa,_0x2aa7bf,_0x597628){return _0x3212fa(_0x2aa7bf,_0x597628);},'PMUVq':'获取龙王信息失败','WCYeg':function(_0x189086,_0x29d692){return _0x189086(_0x29d692);},'QDPON':function(_0x493527,_0x38b326){return _0x493527===_0x38b326;},'pXJkU':_0x261ce0(0x133),'DfAUu':'获取群聊炽焰失败','qjkui':function(_0x511f1f,_0x23f1aa,_0x47643f){return _0x511f1f(_0x23f1aa,_0x47643f);},'tLlzk':function(_0x206358,_0x2559b1,_0x64bf06){return _0x206358(_0x2559b1,_0x64bf06);},'YpvvJ':_0x261ce0(0x132),'ylbck':function(_0x2bd425,_0x166cd7,_0x3053a7){return _0x2bd425(_0x166cd7,_0x3053a7);},'CGtlU':function(_0x1e8000,_0x44927){return _0x1e8000===_0x44927;}},_0x344264=(await NTQQUserApi[_0x261ce0(0x149)]([_0x2d2bf8[_0x261ce0(0x103)]]))[_0x261ce0(0x131)][_0x261ce0(0x13b)](_0x2d2bf8['YjUht']),_0x1b0f44=await NTQQUserApi[_0x261ce0(0x14c)]();if(_0x2d2bf8[_0x261ce0(0xf6)](!_0x1b0f44,!_0x344264))return undefined;async function _0x4ba940(_0x51e2df,_0x3eea8f){const _0x3295cf=_0x261ce0;let _0x5c050a=_0x2d2bf8['gJuPD']+_0x51e2df+_0x2d2bf8[_0x3295cf(0x166)]+_0x3eea8f[_0x3295cf(0xc9)](),_0x1a71a8='',_0x3050a8;try{_0x1a71a8=await RequestUtil[_0x3295cf(0x145)](_0x5c050a,_0x3295cf(0xef),'',{'Cookie':_0x41059c});const _0x2eadfb=_0x1a71a8[_0x3295cf(0xca)](/window\.__INITIAL_STATE__=(.*?);/);return _0x2eadfb&&(_0x3050a8=JSON[_0x3295cf(0xd0)](_0x2eadfb[0x1][_0x3295cf(0x157)]())),_0x3eea8f===0x1?_0x3050a8?.[_0x3295cf(0x159)]:_0x3050a8?.[_0x3295cf(0xce)];}catch(_0x18ccd1){_0x2d2bf8[_0x3295cf(0x16a)](logDebug,_0x2d2bf8[_0x3295cf(0xff)],_0x5c050a,_0x18ccd1);}return undefined;}let _0x17a2f8={'group_id':_0x28c1a3};const _0x41059c=_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8['TPZRQ'](_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8[_0x261ce0(0xdc)](_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8['CqDyB'],_0x344264),_0x2d2bf8[_0x261ce0(0x120)])+_0x1b0f44,_0x2d2bf8[_0x261ce0(0x109)]),selfInfo[_0x261ce0(0x13e)]),_0x2d2bf8[_0x261ce0(0xfe)]),selfInfo['uin']);if(_0x2d2bf8['BNALS'](_0x1adde2,WebHonorType['TALKACTIVE'])||_0x2d2bf8[_0x261ce0(0x100)](_0x1adde2,WebHonorType[_0x261ce0(0x11c)]))try{let _0x1ed625=await _0x2d2bf8[_0x261ce0(0xd4)](_0x4ba940,_0x28c1a3,0x1);if(!_0x1ed625)throw new Error(_0x2d2bf8[_0x261ce0(0x126)]);_0x17a2f8[_0x261ce0(0x118)]={'user_id':_0x1ed625[0x0]?.[_0x261ce0(0x13e)],'avatar':_0x1ed625[0x0]?.[_0x261ce0(0x124)],'nickname':_0x1ed625[0x0]?.[_0x261ce0(0x153)],'day_count':0x0,'description':_0x1ed625[0x0]?.[_0x261ce0(0xc1)]},_0x17a2f8[_0x261ce0(0x13a)]=[];for(const _0x412a8a of _0x1ed625){_0x17a2f8['talkative_list'][_0x261ce0(0xdf)]({'user_id':_0x412a8a?.['uin'],'avatar':_0x412a8a?.[_0x261ce0(0x124)],'description':_0x412a8a?.['desc'],'day_count':0x0,'nickname':_0x412a8a?.['name']});}}catch(_0x6f1cf5){_0x2d2bf8[_0x261ce0(0x12f)](logDebug,_0x6f1cf5);}if(_0x2d2bf8[_0x261ce0(0x100)](_0x1adde2,WebHonorType[_0x261ce0(0x121)])||_0x2d2bf8[_0x261ce0(0xd6)](_0x1adde2,WebHonorType[_0x261ce0(0x11c)]))try{let _0x3d2afd=await _0x2d2bf8[_0x261ce0(0xd4)](_0x4ba940,_0x28c1a3,0x2);if(!_0x3d2afd)throw new Error(_0x2d2bf8[_0x261ce0(0x117)]);_0x17a2f8[_0x261ce0(0xfb)]=[];for(const _0x4f6e89 of _0x3d2afd){_0x17a2f8[_0x261ce0(0xfb)]['push']({'user_id':_0x4f6e89?.['uin'],'nickname':_0x4f6e89?.[_0x261ce0(0x153)],'avatar':_0x4f6e89?.[_0x261ce0(0x124)],'description':_0x4f6e89?.[_0x261ce0(0xc1)]});}}catch(_0x465b5b){logDebug(_0x465b5b);}if(_0x2d2bf8['QDPON'](_0x1adde2,WebHonorType[_0x261ce0(0x121)])||_0x1adde2===WebHonorType['ALL'])try{let _0x344271=await _0x2d2bf8['zTajZ'](_0x4ba940,_0x28c1a3,0x3);if(!_0x344271)throw new Error(_0x2d2bf8[_0x261ce0(0x169)]);_0x17a2f8[_0x261ce0(0x111)]=[];for(const _0x33aa49 of _0x344271){_0x17a2f8['legend_list'][_0x261ce0(0xdf)]({'user_id':_0x33aa49?.['uin'],'nickname':_0x33aa49?.[_0x261ce0(0x153)],'avatar':_0x33aa49?.[_0x261ce0(0x124)],'desc':_0x33aa49?.[_0x261ce0(0x160)]});}}catch(_0x5772e2){_0x2d2bf8[_0x261ce0(0xee)](logDebug,_0x2d2bf8['DfAUu'],_0x5772e2);}if(_0x2d2bf8['QDPON'](_0x1adde2,WebHonorType[_0x261ce0(0xf7)])||_0x1adde2===WebHonorType[_0x261ce0(0x11c)])try{let _0x15979e=await _0x2d2bf8[_0x261ce0(0x130)](_0x4ba940,_0x28c1a3,0x6);if(!_0x15979e)throw new Error(_0x2d2bf8[_0x261ce0(0x15f)]);_0x17a2f8[_0x261ce0(0xe2)]=[];for(const _0x43c485 of _0x15979e){_0x17a2f8[_0x261ce0(0xe2)][_0x261ce0(0xdf)]({'user_id':_0x43c485?.[_0x261ce0(0x13e)],'nickname':_0x43c485?.[_0x261ce0(0x153)],'avatar':_0x43c485?.['avatar'],'desc':_0x43c485?.['description']});}}catch(_0x5a5062){_0x2d2bf8['ylbck'](logDebug,_0x2d2bf8[_0x261ce0(0x15f)],_0x5a5062);}return(_0x1adde2===WebHonorType[_0x261ce0(0xf7)]||_0x2d2bf8[_0x261ce0(0x15e)](_0x1adde2,WebHonorType[_0x261ce0(0x11c)]))&&(_0x17a2f8[_0x261ce0(0x10a)]=[]),_0x17a2f8;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,'webapi_get_group_members')],WebApi,_0x553788(0xdb),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'webapi_get_group_members')],WebApi,_0x553788(0xc7),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x553788(0x140))],WebApi,_0x553788(0x12d),null); \ No newline at end of file +const _0x29fb88=_0x5190;(function(_0x4d3306,_0x444944){const _0x1c08e1=_0x5190,_0x57420b=_0x4d3306();while(!![]){try{const _0x4ab911=parseInt(_0x1c08e1(0xfb))/0x1*(parseInt(_0x1c08e1(0xf1))/0x2)+-parseInt(_0x1c08e1(0xe5))/0x3+-parseInt(_0x1c08e1(0x7c))/0x4+parseInt(_0x1c08e1(0x93))/0x5*(parseInt(_0x1c08e1(0x82))/0x6)+-parseInt(_0x1c08e1(0xe1))/0x7+parseInt(_0x1c08e1(0x91))/0x8+parseInt(_0x1c08e1(0x98))/0x9*(parseInt(_0x1c08e1(0xcb))/0xa);if(_0x4ab911===_0x444944)break;else _0x57420b['push'](_0x57420b['shift']());}catch(_0x366328){_0x57420b['push'](_0x57420b['shift']());}}}(_0x417d,0xa0838));var __decorate=this&&this[_0x29fb88(0xb0)]||function(_0xd6891e,_0x3bc434,_0x423b07,_0x4a267a){const _0x4342af=_0x29fb88,_0xe300de={'ONEQw':function(_0x2ea999,_0x494c02){return _0x2ea999===_0x494c02;},'gnEub':_0x4342af(0xa0),'hUVkx':function(_0x13bc12,_0x2c9ca1){return _0x13bc12-_0x2c9ca1;},'HiaID':function(_0x248066,_0x33bab6){return _0x248066>=_0x33bab6;},'pldDb':function(_0x3e2b1c,_0x1b5f57){return _0x3e2b1c<_0x1b5f57;},'kWsIc':function(_0x5b094b,_0x305206){return _0x5b094b(_0x305206);},'QaBWx':function(_0x5c978f,_0x3338df){return _0x5c978f>_0x3338df;},'PDXzt':function(_0x4fb378,_0x33ff65,_0x4ba8eb,_0x1e8d52){return _0x4fb378(_0x33ff65,_0x4ba8eb,_0x1e8d52);},'GyiIn':function(_0x59d4fb,_0x3153e8,_0x37d9c4){return _0x59d4fb(_0x3153e8,_0x37d9c4);}};var _0x2c04f3=arguments['length'],_0x431b0a=_0x2c04f3<0x3?_0x3bc434:_0xe300de['ONEQw'](_0x4a267a,null)?_0x4a267a=Object[_0x4342af(0xa4)](_0x3bc434,_0x423b07):_0x4a267a,_0x516857;if(typeof Reflect===_0xe300de[_0x4342af(0xf2)]&&_0xe300de[_0x4342af(0x74)](typeof Reflect[_0x4342af(0xbe)],_0x4342af(0xee)))_0x431b0a=Reflect[_0x4342af(0xbe)](_0xd6891e,_0x3bc434,_0x423b07,_0x4a267a);else{for(var _0x1632f9=_0xe300de['hUVkx'](_0xd6891e['length'],0x1);_0xe300de[_0x4342af(0xe8)](_0x1632f9,0x0);_0x1632f9--)if(_0x516857=_0xd6891e[_0x1632f9])_0x431b0a=(_0xe300de[_0x4342af(0x99)](_0x2c04f3,0x3)?_0xe300de['kWsIc'](_0x516857,_0x431b0a):_0xe300de[_0x4342af(0xcd)](_0x2c04f3,0x3)?_0xe300de[_0x4342af(0x85)](_0x516857,_0x3bc434,_0x423b07,_0x431b0a):_0xe300de[_0x4342af(0xea)](_0x516857,_0x3bc434,_0x423b07))||_0x431b0a;}return _0x2c04f3>0x3&&_0x431b0a&&Object['defineProperty'](_0x3bc434,_0x423b07,_0x431b0a),_0x431b0a;};import{selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';function _0x5190(_0x24e5c6,_0x338fe3){const _0x417dcf=_0x417d();return _0x5190=function(_0x51905f,_0x5ef883){_0x51905f=_0x51905f-0x64;let _0x55e76b=_0x417dcf[_0x51905f];return _0x55e76b;},_0x5190(_0x24e5c6,_0x338fe3);}function _0x417d(){const _0x338187=['JbjTM','OMNaq','PERFROMER','8451919TuZsCl','OGrKe','getGroupHonorInfo',';\x20uin=o','2376945MhZwxN','juJsV','toString','HiaID','ygShz','GyiIn','zUbpH','name','&page_limit=20','function','Nmzly','YvTyg','103840ucnyDQ','gnEub','https://qun.qq.com/interactive/honorlist?gc=','getGroupEssenceMsg','GET','fUvyW','wEGCH','0|4|5|3|1|2','uZcDl','QJOaU','8jshIBg','genBkn','kRsKb','desc','SLGje','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','PQmeo','XkPrP','&bkn=','&page_start=','getSkey','domainPskeyMap','ccYIm','Zsyan','HbkIq','ExSOj','ZTcHa','ybMKu','strong_newbie','SyRnq','rWwBY','LgSxE','BkILF','leNBU','rROIY','WIcOR','FrfuZ','kCxEx','BlIHX','&text=','UAMDF','eSxGH','OmWOe','ONEQw','CeToW','&end=','XLwPh','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','QRVRa','emotion','ALL','4263668pHPAfy','dmzux','absFO','MqAWc','errcode','EbYLW','12mPMejf','ceil','LVsXz','PDXzt','erRvB','GroupHonorInfo','LEGEND','SpkhC','xxwbp','lHaAO','LxZZD','SAQtP','NUiDg','ZAAsF','match','78064YjUaok','uin','3216325qnuiKG','获取群聊之火失败','STORONGE_NEWBI','anKWU','talkative_list','3620637yLUJKF','pldDb','p_skey=','YElhi','TVzPD','DwiaW','POST','qun.qq.com','object','oKYtb','uGFwl','emotion_list','getOwnPropertyDescriptor','&group_code=','dgaIT','performer_list','&sort=1&gc=','oyqAB','DCxbq','apRrr','dHfSb','getPSkey','HttpGetText','nAXSM','__decorate','legend_list','IrYnL','HttpGetJson','nNpWm','jPPnD','actorList','avatar','wenTW','get','push',';\x20p_uin=o','vmWlX','EMOTION','decorate','获取群聊炽焰失败','charCodeAt','mems','legend','sBzDX','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','bUmjx','getGroupMembers','FMqeS','current_talkative','&type=','TALKACTIVE','50jZEzDw','GoPht','QaBWx','jEtQC','qid=','hylsG','webapi_get_group_members','performer',';\x20skey=','ydhXT','EaEbf','length','count','retcode','OwohI','yvKDo','oVdsu','parse','UPWJJ'];_0x417d=function(){return _0x338187;};return _0x417d();}export var WebHonorType;(function(_0x35e5ac){const _0x4083c0=_0x29fb88,_0x53a0e6={'xGvHc':_0x4083c0(0xf8),'UkuSE':_0x4083c0(0x7b),'absFO':'all','anKWU':_0x4083c0(0x95),'HbkIq':_0x4083c0(0x65),'SpkhC':_0x4083c0(0x7a),'kRsKb':_0x4083c0(0x88),'ExSOj':'talkative','aeviN':'PERFROMER','apRrr':_0x4083c0(0xd2)},_0x44ac62=_0x53a0e6['xGvHc']['split']('|');let _0x246cd1=0x0;while(!![]){switch(_0x44ac62[_0x246cd1++]){case'0':_0x35e5ac[_0x53a0e6['UkuSE']]=_0x53a0e6[_0x4083c0(0x7e)];continue;case'1':_0x35e5ac[_0x53a0e6[_0x4083c0(0x96)]]=_0x53a0e6[_0x4083c0(0x109)];continue;case'2':_0x35e5ac[_0x4083c0(0xbd)]=_0x53a0e6[_0x4083c0(0x89)];continue;case'3':_0x35e5ac[_0x53a0e6[_0x4083c0(0xfd)]]=_0x4083c0(0xc2);continue;case'4':_0x35e5ac[_0x4083c0(0xca)]=_0x53a0e6[_0x4083c0(0x10a)];continue;case'5':_0x35e5ac[_0x53a0e6['aeviN']]=_0x53a0e6[_0x4083c0(0xab)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x29fb88(0xf4)](_0x3870f5,_0x52d7a3){const _0xbe6b2b=_0x29fb88,_0x16ff74={'ZTcHa':_0xbe6b2b(0x9f),'bUmjx':function(_0x1210b3,_0x174000){return _0x1210b3+_0x174000;},'ZAAsF':function(_0x2803f7,_0x5a1c4b){return _0x2803f7+_0x5a1c4b;},'SyRnq':function(_0x21e765,_0x32cbf4){return _0x21e765+_0x32cbf4;},'GoPht':function(_0x11af56,_0x321922){return _0x11af56+_0x321922;},'fkmxw':function(_0x26afa0,_0x2ee9f1){return _0x26afa0+_0x2ee9f1;},'LVsXz':'p_skey=','XmbAt':_0xbe6b2b(0xd3),'wenTW':_0xbe6b2b(0xbb),'oKYtb':function(_0x48787f,_0x9fbecb){return _0x48787f||_0x9fbecb;},'Nmzly':function(_0x575461,_0x19d07d){return _0x575461+_0x19d07d;},'BkILF':function(_0x150f69,_0x336f50){return _0x150f69+_0x336f50;},'mkZaP':function(_0x467a1c,_0x540b8d){return _0x467a1c+_0x540b8d;},'xxwbp':_0xbe6b2b(0xa5),'OGrKe':_0xbe6b2b(0x104),'ybMKu':_0xbe6b2b(0xed),'PQmeo':_0xbe6b2b(0xf5),'uZcDl':function(_0x583893,_0x2fdfa1){return _0x583893!==_0x2fdfa1;}},_0xf9d805=(await NTQQUserApi[_0xbe6b2b(0xad)]([_0x16ff74[_0xbe6b2b(0x10b)]]))['domainPskeyMap'][_0xbe6b2b(0xb9)](_0x16ff74['ZTcHa']),_0x4659a9=await NTQQUserApi[_0xbe6b2b(0x105)](),_0x1b1299=_0x16ff74['bUmjx'](_0x16ff74['bUmjx'](_0x16ff74[_0xbe6b2b(0xc5)](_0x16ff74[_0xbe6b2b(0x8f)](_0x16ff74[_0xbe6b2b(0x66)](_0x16ff74[_0xbe6b2b(0xcc)](_0x16ff74['fkmxw'](_0x16ff74[_0xbe6b2b(0x84)],_0xf9d805),_0x16ff74['XmbAt']),_0x4659a9),_0x16ff74[_0xbe6b2b(0xb8)]),selfInfo[_0xbe6b2b(0x92)]),_0xbe6b2b(0xe4)),selfInfo[_0xbe6b2b(0x92)]);if(_0x16ff74[_0xbe6b2b(0xa1)](!_0x4659a9,!_0xf9d805))return undefined;const _0x1c2149=WebApi[_0xbe6b2b(0xfc)](_0x4659a9),_0x4bf087=_0x16ff74[_0xbe6b2b(0xef)](_0x16ff74['ZAAsF'](_0x16ff74[_0xbe6b2b(0x69)](_0x16ff74['bUmjx'](_0x16ff74['mkZaP'](_0x16ff74['GoPht'](_0xbe6b2b(0x78),_0x1c2149),_0x16ff74[_0xbe6b2b(0x8a)]),_0x3870f5),_0x16ff74[_0xbe6b2b(0xe2)]),_0x52d7a3),_0x16ff74[_0xbe6b2b(0x64)]);let _0x225024;try{_0x225024=await RequestUtil['HttpGetJson'](_0x4bf087,_0x16ff74[_0xbe6b2b(0x101)],'',{'Cookie':_0x1b1299});}catch{return undefined;}if(_0x16ff74[_0xbe6b2b(0xf9)](_0x225024[_0xbe6b2b(0xd8)],0x0))return undefined;return _0x225024;}static async[_0x29fb88(0xc6)](_0x1de385,_0x28602d=!![]){const _0x5717a6=_0x29fb88,_0x33db1e={'TVzPD':_0x5717a6(0x9f),'SLGje':function(_0x58dc8d,_0x2eb2d6){return _0x58dc8d+_0x2eb2d6;},'dgaIT':function(_0x307b8b,_0x1cf2aa){return _0x307b8b+_0x1cf2aa;},'YElhi':function(_0x297233,_0x35c7e4){return _0x297233+_0x35c7e4;},'RkEEY':'p_skey=','aQqHC':_0x5717a6(0xbb),'XLwPh':function(_0x49388d,_0x9fb1b7){return _0x49388d||_0x9fb1b7;},'zUbpH':_0x5717a6(0x103),'sBzDX':_0x5717a6(0x9e),'NUiDg':function(_0x28966f,_0x561377){return _0x28966f!==_0x561377;},'OwohI':function(_0x234b57,_0x3b8ee3){return _0x234b57/_0x3b8ee3;},'UPWJJ':function(_0x354931,_0x38b739){return _0x354931+_0x38b739;},'XTmCZ':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','fUvyW':_0x5717a6(0x76),'SAQtP':function(_0x175e9e,_0x933398){return _0x175e9e*_0x933398;},'dmzux':function(_0x387b97,_0x476653){return _0x387b97<=_0x476653;}};let _0xbec8d=new Array();try{const _0x3cba74=(await NTQQUserApi[_0x5717a6(0xad)]([_0x33db1e[_0x5717a6(0x9c)]]))[_0x5717a6(0x106)][_0x5717a6(0xb9)](_0x33db1e['TVzPD']),_0xbd2636=await NTQQUserApi[_0x5717a6(0x105)](),_0xf17146=_0x33db1e[_0x5717a6(0xff)](_0x33db1e[_0x5717a6(0xff)](_0x33db1e['dgaIT'](_0x33db1e[_0x5717a6(0xa6)](_0x33db1e[_0x5717a6(0x9b)](_0x33db1e['RkEEY'],_0x3cba74),';\x20skey='),_0xbd2636),_0x33db1e['aQqHC']),selfInfo['uin']);if(_0x33db1e[_0x5717a6(0x77)](!_0xbd2636,!_0x3cba74))return _0xbec8d;const _0x31c8ce=WebApi[_0x5717a6(0xfc)](_0xbd2636),_0x41b8bc=[],_0x13fc68=await RequestUtil[_0x5717a6(0xb3)](_0x33db1e[_0x5717a6(0xff)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=',_0x1de385)+_0x33db1e[_0x5717a6(0xeb)]+_0x31c8ce,_0x33db1e[_0x5717a6(0xc3)],'',{'Cookie':_0xf17146});if(!_0x13fc68?.[_0x5717a6(0xd7)]||_0x33db1e[_0x5717a6(0x8e)](_0x13fc68?.[_0x5717a6(0x80)],0x0)||!_0x13fc68?.['mems'])return[];else for(const _0x2e6fad in _0x13fc68[_0x5717a6(0xc1)]){_0xbec8d['push'](_0x13fc68[_0x5717a6(0xc1)][_0x2e6fad]);}const _0x5aada3=Math[_0x5717a6(0x83)](_0x33db1e[_0x5717a6(0xd9)](_0x13fc68[_0x5717a6(0xd7)],0x28));for(let _0x455935=0x2;_0x455935<=_0x5aada3;_0x455935++){const _0x4e05d3=RequestUtil[_0x5717a6(0xb3)](_0x33db1e[_0x5717a6(0xa6)](_0x33db1e['YElhi'](_0x33db1e['SLGje'](_0x33db1e[_0x5717a6(0xdd)](_0x33db1e['XTmCZ']+(_0x455935-0x1)*0x28,_0x33db1e[_0x5717a6(0xf6)])+_0x33db1e[_0x5717a6(0x8d)](_0x455935,0x28),_0x5717a6(0xa8))+_0x1de385,_0x33db1e['zUbpH']),_0x31c8ce),_0x33db1e[_0x5717a6(0xc3)],'',{'Cookie':_0xf17146});_0x41b8bc['push'](_0x4e05d3);}for(let _0x356339=0x1;_0x33db1e[_0x5717a6(0x7d)](_0x356339,_0x5aada3);_0x356339++){const _0x2d529f=await _0x41b8bc[_0x356339];if(!_0x2d529f?.['count']||_0x2d529f?.[_0x5717a6(0x80)]!==0x0||!_0x2d529f?.[_0x5717a6(0xc1)])continue;for(const _0x8aa57c in _0x2d529f['mems']){_0xbec8d[_0x5717a6(0xba)](_0x2d529f[_0x5717a6(0xc1)][_0x8aa57c]);}}}catch{return _0xbec8d;}return _0xbec8d;}static async['setGroupNotice'](_0x324e97,_0xbdc871=''){const _0x2ec910=_0x29fb88,_0x3b0463={'JbjTM':'qun.qq.com','WIcOR':function(_0x1c4975,_0x5d3b14){return _0x1c4975+_0x5d3b14;},'nNpWm':function(_0x196b38,_0x2ed306){return _0x196b38+_0x2ed306;},'IrYnL':function(_0x3a1e4b,_0x135b9d){return _0x3a1e4b+_0x135b9d;},'Zsyan':function(_0x450d46,_0x3070d8){return _0x450d46+_0x3070d8;},'yvKDo':_0x2ec910(0x9a),'QJOaU':';\x20skey=','erRvB':function(_0x33196f,_0x1e4b7d){return _0x33196f||_0x1e4b7d;},'eSxGH':function(_0x1f66ec,_0x1a219){return _0x1f66ec+_0x1a219;},'WJpQK':function(_0x443f27,_0x4e7b28){return _0x443f27+_0x4e7b28;},'rWwBY':function(_0x55e9cc,_0x432061){return _0x55e9cc+_0x432061;},'JZInq':_0x2ec910(0x103),'nAXSM':_0x2ec910(0x70),'EbYLW':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','oVdsu':function(_0x14c57e,_0x4e69e4){return _0x14c57e+_0x4e69e4;},'hInwU':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','SBoZi':_0x2ec910(0xf5)},_0x244d2a=(await NTQQUserApi[_0x2ec910(0xad)]([_0x3b0463[_0x2ec910(0xde)]]))[_0x2ec910(0x106)]['get'](_0x3b0463[_0x2ec910(0xde)]),_0x1d09d6=await NTQQUserApi[_0x2ec910(0x105)](),_0x2d6886=_0x3b0463[_0x2ec910(0x6c)](_0x3b0463[_0x2ec910(0x6c)](_0x3b0463[_0x2ec910(0xb4)](_0x3b0463[_0x2ec910(0xb2)](_0x3b0463[_0x2ec910(0x108)](_0x3b0463[_0x2ec910(0xda)],_0x244d2a),_0x3b0463[_0x2ec910(0xfa)]),_0x1d09d6),_0x2ec910(0xbb)),selfInfo['uin']);let _0x177cd7=undefined;if(_0x3b0463[_0x2ec910(0x86)](!_0x1d09d6,!_0x244d2a))return undefined;const _0x57df11=WebApi[_0x2ec910(0xfc)](_0x1d09d6),_0x31af1b=_0x3b0463[_0x2ec910(0x72)](_0x3b0463['eSxGH'](_0x3b0463['WJpQK'](_0x3b0463[_0x2ec910(0x6c)](_0x3b0463[_0x2ec910(0x67)](_0x3b0463['rWwBY'](_0x2ec910(0xcf),_0x324e97),_0x3b0463['JZInq']),_0x57df11),_0x3b0463[_0x2ec910(0xaf)]),_0xbdc871),_0x3b0463[_0x2ec910(0x81)]),_0x4159ec=_0x3b0463[_0x2ec910(0xdb)](_0x3b0463['hInwU'],_0x57df11);try{return _0x177cd7=await RequestUtil[_0x2ec910(0xb3)](_0x4159ec,_0x3b0463['SBoZi'],'',{'Cookie':_0x2d6886}),_0x177cd7;}catch(_0x582eca){return undefined;}return undefined;}static async['getGrouptNotice'](_0x32a21f){const _0x275fce=_0x29fb88,_0x4ea975={'uGFwl':function(_0x4de29a,_0x1673e4){return _0x4de29a+_0x1673e4;},'ydhXT':function(_0x4d00f3,_0x49a77f){return _0x4d00f3+_0x49a77f;},'rROIY':function(_0x8fcd99,_0x1bc8af){return _0x8fcd99+_0x1bc8af;},'HZGzt':_0x275fce(0x9a),'MqAWc':_0x275fce(0xbb),'lHaAO':function(_0x41429c,_0x2b8410){return _0x41429c+_0x2b8410;},'bkwtv':function(_0xf9bb1d,_0x1c62a8){return _0xf9bb1d+_0x1c62a8;},'kCxEx':function(_0x253add,_0x3ebd96){return _0x253add+_0x3ebd96;},'BlIHX':'&qid=','jEtQC':_0x275fce(0xc4),'ZCgrL':function(_0x3aa1e0,_0x91e845){return _0x3aa1e0!==_0x91e845;}},_0x3cae3c=(await NTQQUserApi[_0x275fce(0xad)]([_0x275fce(0x9f)]))[_0x275fce(0x106)][_0x275fce(0xb9)](_0x275fce(0x9f)),_0x3de862=await NTQQUserApi[_0x275fce(0x105)](),_0x1892b7=_0x4ea975[_0x275fce(0xa2)](_0x4ea975[_0x275fce(0xd4)](_0x4ea975[_0x275fce(0xa2)](_0x4ea975[_0x275fce(0x6b)](_0x4ea975[_0x275fce(0xa2)](_0x4ea975['HZGzt'],_0x3cae3c),_0x275fce(0xd3)),_0x3de862),_0x4ea975[_0x275fce(0x7f)]),selfInfo[_0x275fce(0x92)]);let _0x17b41b=undefined;if(!_0x3de862||!_0x3cae3c)return undefined;const _0xbbd5d2=WebApi['genBkn'](_0x3de862),_0x58b293=_0x4ea975[_0x275fce(0x8b)](_0x4ea975['bkwtv'](_0x4ea975[_0x275fce(0x6e)](_0x4ea975['bkwtv'](_0x275fce(0x100),_0xbbd5d2),_0x4ea975[_0x275fce(0x6f)]),_0x32a21f),_0x4ea975[_0x275fce(0xce)]);try{_0x17b41b=await RequestUtil[_0x275fce(0xb3)](_0x58b293,_0x275fce(0xf5),'',{'Cookie':_0x1892b7});if(_0x4ea975['ZCgrL'](_0x17b41b?.['ec'],0x0))return undefined;return _0x17b41b;}catch(_0x1c50ed){return undefined;}return undefined;}static['genBkn'](_0x3bc0d8){const _0x518858=_0x29fb88,_0x323cd6={'UAMDF':function(_0x3a76df,_0x458c96){return _0x3a76df||_0x458c96;},'QxIUs':function(_0x4131e5,_0x5d51b8){return _0x4131e5<_0x5d51b8;},'dHfSb':function(_0x537388,_0x284655){return _0x537388+_0x284655;},'oyqAB':function(_0x74d0c6,_0xc8b0ef){return _0x74d0c6<<_0xc8b0ef;},'CeToW':function(_0x343ffb,_0x484834){return _0x343ffb&_0x484834;}};_0x3bc0d8=_0x323cd6[_0x518858(0x71)](_0x3bc0d8,'');let _0x20d07a=0x1505;for(let _0x2335e2=0x0;_0x323cd6['QxIUs'](_0x2335e2,_0x3bc0d8[_0x518858(0xd6)]);_0x2335e2++){const _0x547aaa=_0x3bc0d8[_0x518858(0xc0)](_0x2335e2);_0x20d07a=_0x323cd6[_0x518858(0xac)](_0x323cd6[_0x518858(0xac)](_0x20d07a,_0x323cd6[_0x518858(0xa9)](_0x20d07a,0x5)),_0x547aaa);}return _0x323cd6[_0x518858(0x75)](_0x20d07a,0x7fffffff)[_0x518858(0xe7)]();}static async[_0x29fb88(0xe3)](_0x1000f1,_0x54ff78){const _0x217464=_0x29fb88,_0x11da4d={'YvTyg':function(_0x5348c4,_0x51332e){return _0x5348c4+_0x51332e;},'EaEbf':function(_0x46f4b4,_0x411949){return _0x46f4b4+_0x411949;},'hylsG':_0x217464(0xf3),'gxpnp':'qun.qq.com','QRVRa':function(_0x2f66b5,_0x245ce4){return _0x2f66b5||_0x245ce4;},'DCxbq':function(_0x556069,_0x30ce00){return _0x556069+_0x30ce00;},'wCaSn':_0x217464(0xd3),'OmWOe':_0x217464(0xbb),'LgSxE':_0x217464(0xe4),'LxZZD':function(_0x543193,_0x2be7d2){return _0x543193===_0x2be7d2;},'FrfuZ':function(_0x10fb1c,_0x3f1a0f,_0x44cd6f){return _0x10fb1c(_0x3f1a0f,_0x44cd6f);},'vmWlX':'获取龙王信息失败','XkPrP':function(_0x1b77a4,_0x774917){return _0x1b77a4(_0x774917);},'leNBU':function(_0x31b934,_0x158b96){return _0x31b934===_0x158b96;},'juJsV':function(_0x39ed2e,_0x2e9477){return _0x39ed2e===_0x2e9477;},'FMqeS':function(_0x4adce4,_0x454807,_0x32c2af){return _0x4adce4(_0x454807,_0x32c2af);},'DwiaW':_0x217464(0x94),'JtMet':function(_0x291fd3,_0x337a8e){return _0x291fd3(_0x337a8e);},'ygShz':function(_0x2408b8,_0xc12398){return _0x2408b8===_0xc12398;},'OMNaq':function(_0x127e90,_0x5b35da,_0x54176f){return _0x127e90(_0x5b35da,_0x54176f);},'ccYIm':_0x217464(0xbf),'jPPnD':function(_0x2c62d2,_0x39810f){return _0x2c62d2===_0x39810f;},'cbQso':function(_0x20e572,_0x1e11a1,_0x36b2ef){return _0x20e572(_0x1e11a1,_0x36b2ef);},'wEGCH':'获取快乐源泉失败','ssrQS':function(_0x2afbd4,_0x3faf07,_0x5f5b83){return _0x2afbd4(_0x3faf07,_0x5f5b83);}},_0x5d1a84=(await NTQQUserApi['getPSkey']([_0x217464(0x9f)]))[_0x217464(0x106)][_0x217464(0xb9)](_0x11da4d['gxpnp']),_0xfdb72a=await NTQQUserApi[_0x217464(0x105)]();if(_0x11da4d[_0x217464(0x79)](!_0xfdb72a,!_0x5d1a84))return undefined;async function _0x4a4a62(_0x1b1521,_0xb2250f){const _0x4c42d5=_0x217464;let _0x36878d=_0x11da4d[_0x4c42d5(0xf0)](_0x11da4d[_0x4c42d5(0xd5)](_0x11da4d[_0x4c42d5(0xf0)](_0x11da4d[_0x4c42d5(0xd0)],_0x1b1521),_0x4c42d5(0xc9)),_0xb2250f[_0x4c42d5(0xe7)]()),_0x12a387='',_0x972087;try{_0x12a387=await RequestUtil[_0x4c42d5(0xae)](_0x36878d,_0x4c42d5(0xf5),'',{'Cookie':_0x6f39bf});const _0x46b1bc=_0x12a387[_0x4c42d5(0x90)](/window\.__INITIAL_STATE__=(.*?);/);return _0x46b1bc&&(_0x972087=JSON[_0x4c42d5(0xdc)](_0x46b1bc[0x1]['trim']())),_0xb2250f===0x1?_0x972087?.['talkativeList']:_0x972087?.[_0x4c42d5(0xb6)];}catch(_0x271e51){logDebug('获取当前群荣耀失败',_0x36878d,_0x271e51);}return undefined;}let _0x3b25dd={'group_id':_0x1000f1};const _0x6f39bf=_0x11da4d[_0x217464(0xf0)](_0x11da4d['YvTyg'](_0x11da4d['YvTyg'](_0x11da4d[_0x217464(0xaa)](_0x11da4d['DCxbq']('p_skey=',_0x5d1a84),_0x11da4d['wCaSn'])+_0xfdb72a+_0x11da4d[_0x217464(0x73)],selfInfo[_0x217464(0x92)]),_0x11da4d[_0x217464(0x68)]),selfInfo[_0x217464(0x92)]);if(_0x54ff78===WebHonorType[_0x217464(0xca)]||_0x11da4d[_0x217464(0x8c)](_0x54ff78,WebHonorType[_0x217464(0x7b)]))try{let _0x30ea41=await _0x11da4d[_0x217464(0x6d)](_0x4a4a62,_0x1000f1,0x1);if(!_0x30ea41)throw new Error(_0x11da4d[_0x217464(0xbc)]);_0x3b25dd[_0x217464(0xc8)]={'user_id':_0x30ea41[0x0]?.['uin'],'avatar':_0x30ea41[0x0]?.[_0x217464(0xb7)],'nickname':_0x30ea41[0x0]?.[_0x217464(0xec)],'day_count':0x0,'description':_0x30ea41[0x0]?.[_0x217464(0xfe)]},_0x3b25dd[_0x217464(0x97)]=[];for(const _0x201077 of _0x30ea41){_0x3b25dd['talkative_list'][_0x217464(0xba)]({'user_id':_0x201077?.[_0x217464(0x92)],'avatar':_0x201077?.[_0x217464(0xb7)],'description':_0x201077?.[_0x217464(0xfe)],'day_count':0x0,'nickname':_0x201077?.[_0x217464(0xec)]});}}catch(_0x97720e){_0x11da4d[_0x217464(0x102)](logDebug,_0x97720e);}if(_0x11da4d[_0x217464(0x6a)](_0x54ff78,WebHonorType[_0x217464(0xe0)])||_0x11da4d[_0x217464(0xe6)](_0x54ff78,WebHonorType[_0x217464(0x7b)]))try{let _0x4177b7=await _0x11da4d[_0x217464(0xc7)](_0x4a4a62,_0x1000f1,0x2);if(!_0x4177b7)throw new Error(_0x11da4d[_0x217464(0x9d)]);_0x3b25dd[_0x217464(0xa7)]=[];for(const _0x5a6ee3 of _0x4177b7){_0x3b25dd[_0x217464(0xa7)][_0x217464(0xba)]({'user_id':_0x5a6ee3?.[_0x217464(0x92)],'nickname':_0x5a6ee3?.['name'],'avatar':_0x5a6ee3?.['avatar'],'description':_0x5a6ee3?.[_0x217464(0xfe)]});}}catch(_0x5733ca){_0x11da4d['JtMet'](logDebug,_0x5733ca);}if(_0x11da4d['juJsV'](_0x54ff78,WebHonorType[_0x217464(0xe0)])||_0x11da4d[_0x217464(0xe9)](_0x54ff78,WebHonorType[_0x217464(0x7b)]))try{let _0x36ae61=await _0x11da4d[_0x217464(0xdf)](_0x4a4a62,_0x1000f1,0x3);if(!_0x36ae61)throw new Error(_0x11da4d[_0x217464(0x107)]);_0x3b25dd['legend_list']=[];for(const _0x270067 of _0x36ae61){_0x3b25dd[_0x217464(0xb1)]['push']({'user_id':_0x270067?.[_0x217464(0x92)],'nickname':_0x270067?.[_0x217464(0xec)],'avatar':_0x270067?.['avatar'],'desc':_0x270067?.['description']});}}catch(_0x53247){_0x11da4d[_0x217464(0xc7)](logDebug,_0x11da4d[_0x217464(0x107)],_0x53247);}if(_0x54ff78===WebHonorType[_0x217464(0xbd)]||_0x11da4d[_0x217464(0xb5)](_0x54ff78,WebHonorType[_0x217464(0x7b)]))try{let _0x5a39ba=await _0x11da4d['cbQso'](_0x4a4a62,_0x1000f1,0x6);if(!_0x5a39ba)throw new Error(_0x11da4d[_0x217464(0xf7)]);_0x3b25dd[_0x217464(0xa3)]=[];for(const _0x42c28d of _0x5a39ba){_0x3b25dd[_0x217464(0xa3)][_0x217464(0xba)]({'user_id':_0x42c28d?.[_0x217464(0x92)],'nickname':_0x42c28d?.[_0x217464(0xec)],'avatar':_0x42c28d?.['avatar'],'desc':_0x42c28d?.['description']});}}catch(_0x109130){_0x11da4d['ssrQS'](logDebug,_0x11da4d[_0x217464(0xf7)],_0x109130);}return(_0x11da4d[_0x217464(0x6a)](_0x54ff78,WebHonorType[_0x217464(0xbd)])||_0x11da4d[_0x217464(0x6a)](_0x54ff78,WebHonorType[_0x217464(0x7b)]))&&(_0x3b25dd['strong_newbie_list']=[]),_0x3b25dd;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x29fb88(0xd1))],WebApi,_0x29fb88(0xf4),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x29fb88(0xd1))],WebApi,'getGroupMembers',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x29fb88(0x87))],WebApi,_0x29fb88(0xe3),null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 2b0d7842..37431240 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x29a279=_0x4447;(function(_0x20b136,_0x16786b){const _0x34e446=_0x4447,_0x14b94b=_0x20b136();while(!![]){try{const _0x20206a=parseInt(_0x34e446(0x92))/0x1*(-parseInt(_0x34e446(0xe6))/0x2)+-parseInt(_0x34e446(0xe1))/0x3*(parseInt(_0x34e446(0xc6))/0x4)+-parseInt(_0x34e446(0x112))/0x5*(-parseInt(_0x34e446(0xb9))/0x6)+-parseInt(_0x34e446(0x140))/0x7*(parseInt(_0x34e446(0xb3))/0x8)+parseInt(_0x34e446(0xed))/0x9*(parseInt(_0x34e446(0x9f))/0xa)+parseInt(_0x34e446(0x134))/0xb*(parseInt(_0x34e446(0xe8))/0xc)+parseInt(_0x34e446(0x8d))/0xd;if(_0x20206a===_0x16786b)break;else _0x14b94b['push'](_0x14b94b['shift']());}catch(_0x21425d){_0x14b94b['push'](_0x14b94b['shift']());}}}(_0x24b2,0xe755f));import _0x142ec5 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5de221 from'node:path';import _0x39b742 from'node:os';import _0x40a640 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x24b2(){const _0x562e8e=['fWzGz','psOBO','getNTUserDataInfoConfig','qkLgq','read','getBuddyService','get','ThgjH','onQRCodeSessionFailed','bLFNA','initDataListener','data:image/png;base64,','map','onMemberListChange','ooRsI','onLoginFailed','1255ogVEBX','onProfileDetailInfoChanged','CEIaj','HRsIJ','packet_sent','init','packet_received','memberCount','getQRCodePicture','engine','length','YOSAu','onMemberInfoChange','tVKVG','Windows\x2010\x20Pro','[KickedOffLine]\x20[','-v2.db','getGroupService','./.config/QQ','登录失败(onQRCodeSessionFailed)','sceneId','update','fileLog','CpZAG','PlYzX','has','dYLKE','find','set','proxyHandler','WMoKT','OlPnA','TusiZ','eUEHq','2956899tcLVEx','initSession','LiPEs','floor','addKernelProfileListener','GroupListener','xMHfv','resolve','ProfileListener','delete','GXRhF','NodeIQQNTWrapperEngine','8687tWYFPg','onRecvSysMsg','NodeIGlobalAdapter','noIKi','NodeIKernelGroupListener','uid','name','getMsgService','infos','WsBlK','NodeIKernelLoginService','startNT','base64','36813738YlEOTE','YyDBc','NodeIKernelMsgListener','curVersion','dataPath','176036sdPfSj','qKvXZ','addKernelLoginListener','then','PacBe','uin','consoleLog','onQRCodeGetPicture','getProfileService','clientType','initConfig','vwVTd','tipsDesc','13786730JElMFN','errMsg','chTYU','pngBase64QrcodeData','groupCode','devUid','140022013','passwordLogin','xqxRG','init\x20failed\x20','result','BuddyListener','NodeIDispatcherAdapter','SMCjT','message_received','loginService','fileLogLevel','_GW_B','keFbD','split','7640RQGEdp','NodeIKernelLoginListener','tosBa','onRecvMsg','./NapCat/data','qrcodeUrl','498BGNhzo','./nt_qq/global','quickLogin','createMemberListScene','XErcn','onSelfStatusChanged','PbssZ','onSessionInitComplete','HQknG','addKernelGroupListener','initWithDeskTopConfig','addKernelBuddyListener','NodeIQQNTWrapperSession','27492ZcKvxt','\x20has\x20no\x20method\x20','last_message_time','onGroupListUpdate','qrLogin','addListener','now','uRaKa','catch','zHsMN','DKFGD','onLoginSuccess','quickLoginWithUin','md5','buddyList','账号设备(','WuroQ','onLoginSuccessFuncList','Wznpg','Tvfzp','onBuddyListChange','nrEpQ','IZHan','没有可快速登录的QQ号','digest','getLoginList','启动失败:\x20','807AqVuJu','hex','140022008','NodeQQNTWrapperUtil','getNextMemberList','12POWEJE','onUserLoggedIn','36XfAHxF','onQRCodeLoginSucceed','util','LocalLoginInfoList','V1_WIN_NQ_','9VPLvVB','MenjB','BcmJg','loginErrorInfo','ZBcOe','session','isQuickLogin','loginListener','NodeIDependsAdapter','ckffR','replace','createHash','message_sent','MANsi','RlrfK','forEach','本账号数据/缓存目录:','vNWaE','mkdirSync','assign','dataPathGlobal'];_0x24b2=function(){return _0x562e8e;};return _0x24b2();}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x1ef7bc from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x4447(_0x2d2aa2,_0x3940cf){const _0x24b246=_0x24b2();return _0x4447=function(_0x4447ae,_0x1a64a2){_0x4447ae=_0x4447ae-0x89;let _0x2a51ec=_0x24b246[_0x4447ae];return _0x2a51ec;},_0x4447(_0x2d2aa2,_0x3940cf);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x29a279(0xf2)];[_0x29a279(0xea)];[_0x29a279(0x11b)];['loginListener'];[_0x29a279(0xae)];[_0x29a279(0xd7)]=[];[_0x29a279(0x12f)]={'get'(target,prop,receiver){const _0x27c388=_0x29a279,WiDybT={'ZBcOe':function(x,y){return x===y;}};if(WiDybT[_0x27c388(0xf1)](typeof target[prop],'undefined'))return(...args)=>{const _0x220499=_0x27c388;logDebug(target['constructor'][_0x220499(0x146)]+_0x220499(0xc7)+prop);};return Reflect[_0x27c388(0x108)](target,prop,receiver);}};constructor(){const _0x1f729f=_0x29a279,_0x36a138={'PacBe':function(_0x4d7129,_0x73619a){return _0x4d7129(_0x73619a);},'AfwhA':function(_0xea1b5,_0x4b3959){return _0xea1b5+_0x4b3959;},'ooRsI':'当前账号(','LKswZ':')已登录,无法重复登录','tosBa':function(_0x2aadcd,_0x134ff6,_0x2e60ab){return _0x2aadcd(_0x134ff6,_0x2e60ab);},'TusiZ':'initSession\x20failed','SMCjT':function(_0x5606c7,_0x4eb0be){return _0x5606c7 instanceof _0x4eb0be;},'ThgjH':'数据库初始化失败','WMoKT':function(_0x1a2a81,_0x3d5f55){return _0x1a2a81(_0x3d5f55);},'PbssZ':function(_0x5bfe32,_0x141d6d,_0x2395b3){return _0x5bfe32(_0x141d6d,_0x2395b3);},'QwKXj':_0x1f729f(0x125),'GXRhF':function(_0x227ee6,_0x18acb9){return _0x227ee6==_0x18acb9;},'WuroQ':function(_0x40c4c4,_0x2f189e){return _0x40c4c4==_0x2f189e;},'bZPUQ':'登录失败(onLoginFailed)'};this[_0x1f729f(0x11b)]=new _0x142ec5[(_0x1f729f(0x13f))](),this[_0x1f729f(0xea)]=new _0x142ec5[(_0x1f729f(0xe4))](),this[_0x1f729f(0xae)]=new _0x142ec5[(_0x1f729f(0x8a))](),this['session']=new _0x142ec5[(_0x1f729f(0xc5))](),this[_0x1f729f(0xf4)]=new LoginListener(),this['loginListener'][_0x1f729f(0xe7)]=_0x1a26c4=>{const _0xd0ec64=_0x1f729f;_0x36a138[_0xd0ec64(0x96)](logError,_0x36a138['AfwhA'](_0x36a138['AfwhA'](_0x36a138[_0xd0ec64(0x110)],_0x1a26c4),_0x36a138['LKswZ']));},this[_0x1f729f(0x9c)](),this[_0x1f729f(0xf4)][_0x1f729f(0xe9)]=_0x807fdf=>{const _0x22e112=_0x1f729f,_0x2ec696={'RlrfK':function(_0x2dfdaa,_0x5d0adb,_0x30ffdf){const _0x4fae9c=_0x4447;return _0x36a138[_0x4fae9c(0xb5)](_0x2dfdaa,_0x5d0adb,_0x30ffdf);},'fWzGz':function(_0x365c17,_0x268037){const _0x38c717=_0x4447;return _0x36a138[_0x38c717(0xac)](_0x365c17,_0x268037);},'uRaKa':_0x36a138[_0x22e112(0x109)],'eUEHq':function(_0x5571ac,_0x492cc8){const _0x59e564=_0x22e112;return _0x36a138[_0x59e564(0x130)](_0x5571ac,_0x492cc8);},'ckffR':_0x22e112(0xb7)};this[_0x22e112(0x135)](_0x807fdf[_0x22e112(0x97)],_0x807fdf['uid'])[_0x22e112(0x95)](_0xacb1ac=>{const _0x393d82=_0x22e112;selfInfo[_0x393d82(0x97)]=_0x807fdf['uin'],selfInfo[_0x393d82(0x145)]=_0x807fdf[_0x393d82(0x145)],napCatConfig[_0x393d82(0x106)](),_0x2ec696['RlrfK'](setLogLevel,napCatConfig[_0x393d82(0xaf)],napCatConfig['consoleLogLevel']),_0x2ec696[_0x393d82(0x133)](enableFileLog,napCatConfig[_0x393d82(0x128)]),_0x2ec696[_0x393d82(0x133)](enableConsoleLog,napCatConfig[_0x393d82(0x98)]),_0x2ec696['eUEHq'](setLogSelfInfo,selfInfo);const _0x5763df=_0x5de221[_0x393d82(0x13b)](this['dataPath'],_0x2ec696[_0x393d82(0xf6)]);_0x40a640[_0x393d82(0xff)](_0x5763df,{'recursive':!![]}),_0x2ec696[_0x393d82(0xfb)](logDebug,_0x393d82(0xfd),_0x5763df),dbUtil[_0x393d82(0x117)](_0x5de221[_0x393d82(0x13b)](_0x5763df,'./'+_0x807fdf[_0x393d82(0x97)]+_0x393d82(0x122)))[_0x393d82(0x95)](()=>{const _0x1cfd69=_0x393d82,_0x29b656={'DKFGD':function(_0x23777b,_0x6c8543,_0x2044ba){const _0x1dc61e=_0x4447;return _0x2ec696[_0x1dc61e(0xfb)](_0x23777b,_0x6c8543,_0x2044ba);},'dYLKE':function(_0x380d19,_0x5e6e23){const _0x27ed04=_0x4447;return _0x2ec696[_0x27ed04(0x102)](_0x380d19,_0x5e6e23);}};this['initDataListener'](),this[_0x1cfd69(0xd7)]['map'](_0x576e90=>{const _0x5868f5=_0x1cfd69,_0xf3ba34={'vwVTd':function(_0x5c9149,_0x412186,_0x45a809){const _0x59a905=_0x4447;return _0x29b656[_0x59a905(0xd0)](_0x5c9149,_0x412186,_0x45a809);},'WsBlK':function(_0x1d8ae7,_0x42b678){const _0x332b8a=_0x4447;return _0x29b656[_0x332b8a(0x12c)](_0x1d8ae7,_0x42b678);}};new Promise((_0xbca407,_0x18d46d)=>{const _0x42dab1=_0x4447,_0x32aa70=_0xf3ba34[_0x42dab1(0x9d)](_0x576e90,_0x807fdf['uin'],_0x807fdf[_0x42dab1(0x145)]);_0xf3ba34[_0x42dab1(0x89)](_0x32aa70,Promise)&&_0x32aa70[_0x42dab1(0x95)](_0xbca407)[_0x42dab1(0xce)](_0x18d46d);})[_0x5868f5(0x95)]();});})[_0x393d82(0xce)](_0x47ae62=>{const _0x5aeb56=_0x393d82;_0x2ec696[_0x5aeb56(0xfb)](logError,_0x2ec696[_0x5aeb56(0xcd)],_0x47ae62);});})['catch'](_0xc3e93=>{const _0x369ccb=_0x22e112;_0x36a138[_0x369ccb(0xb5)](logError,_0x36a138[_0x369ccb(0x132)],_0xc3e93);throw new Error(_0x369ccb(0xe0)+JSON['stringify'](_0xc3e93));});},this[_0x1f729f(0xf4)][_0x1f729f(0x10a)]=(_0xb334cb,_0x2b9419,_0xa29cfb)=>{const _0xb6f3b6=_0x1f729f;_0x36a138['PbssZ'](logError,_0x36a138['QwKXj'],_0xa29cfb),_0x36a138[_0xb6f3b6(0x13e)](_0xb334cb,0x1)&&_0x36a138[_0xb6f3b6(0xd6)](_0x2b9419,0x3)&&this[_0xb6f3b6(0xae)][_0xb6f3b6(0x11a)]();},this[_0x1f729f(0xf4)][_0x1f729f(0x111)]=_0x1c3fb9=>{const _0x10626=_0x1f729f;_0x36a138[_0x10626(0xbf)](logError,_0x36a138['bZPUQ'],_0x1c3fb9);},this[_0x1f729f(0xf4)]=new Proxy(this['loginListener'],this['proxyHandler']),this[_0x1f729f(0xae)][_0x1f729f(0x94)](new _0x142ec5[(_0x1f729f(0xb4))](this[_0x1f729f(0xf4)]));}get[_0x29a279(0x91)](){const _0x2debaf=_0x29a279,_0x3b8c7d={'nrEpQ':_0x2debaf(0x124)};let _0xe41795=this[_0x2debaf(0xea)][_0x2debaf(0x104)]();return!_0xe41795&&(_0xe41795=_0x5de221['resolve'](_0x39b742['homedir'](),_0x3b8c7d[_0x2debaf(0xdb)]),_0x40a640['mkdirSync'](_0xe41795,{'recursive':!![]})),_0xe41795;}get[_0x29a279(0x101)](){const _0xa13341=_0x29a279,_0x5028f0={'MTuGd':_0xa13341(0xba)};return _0x5de221['resolve'](this['dataPath'],_0x5028f0['MTuGd']);}[_0x29a279(0x9c)](){const _0x401999=_0x29a279,_0x746f4b={'MenjB':_0x401999(0x120)};this[_0x401999(0x11b)][_0x401999(0xc3)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x746f4b[_0x401999(0xee)],'use_xlog':!![],'qua':_0x401999(0xec)+qqVersionConfigInfo[_0x401999(0x90)][_0x401999(0xf7)]('-','_')+_0x401999(0xb0),'global_path_config':{'desktopGlobalPath':this[_0x401999(0x101)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x142ec5[(_0x401999(0x142))](new GlobalAdapter())),this[_0x401999(0xae)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x401999(0x101)],'clientVer':qqVersionConfigInfo[_0x401999(0x90)],'hostName':hostname});}['initSession'](_0x5e3f70,_0x192a03){const _0x43adce={'bLFNA':function(_0x3a2ba4,_0x47079b){return _0x3a2ba4===_0x47079b;},'BcmJg':function(_0x18ae23,_0x3dc8ca){return _0x18ae23(_0x3dc8ca);},'xgaRw':function(_0x2cdfb4,_0x39f68c,_0x2cffb8,_0x35b68b){return _0x2cdfb4(_0x39f68c,_0x2cffb8,_0x35b68b);},'LiPEs':function(_0x15eff0,_0x36386c){return _0x15eff0+_0x36386c;}};return new Promise(async(_0x387ae4,_0x3832f5)=>{const _0x1825a2=_0x4447,_0x5f15a2=await _0x43adce['xgaRw'](genSessionConfig,_0x5e3f70,_0x192a03,this[_0x1825a2(0x91)]),_0x4ce683=new SessionListener();_0x4ce683[_0x1825a2(0xc0)]=_0x445981=>{const _0x544372=_0x1825a2;if(_0x43adce[_0x544372(0x10b)](_0x445981,0x0))return _0x43adce[_0x544372(0xef)](_0x387ae4,0x0);_0x43adce[_0x544372(0xef)](_0x3832f5,_0x445981);},this[_0x1825a2(0xf2)][_0x1825a2(0x117)](_0x5f15a2,new _0x142ec5[(_0x1825a2(0xf5))](new DependsAdapter()),new _0x142ec5[(_0x1825a2(0xab))](new DispatcherAdapter()),new _0x142ec5['NodeIKernelSessionListener'](_0x4ce683));try{this[_0x1825a2(0xf2)]['startNT'](0x0);}catch(_0x14981f){try{this[_0x1825a2(0xf2)][_0x1825a2(0x8b)]();}catch(_0x113280){_0x3832f5(_0x43adce[_0x1825a2(0x136)](_0x1825a2(0xa8),_0x113280));}}});}[_0x29a279(0x10c)](){const _0x19f0da=_0x29a279,_0x25d286={'qLdZA':function(_0x43b773,_0x54595b){return _0x43b773===_0x54595b;},'fSAkY':function(_0x5912b1,_0x17329c){return _0x5912b1(_0x17329c);},'HRsIJ':function(_0x23772e,_0x5270f3){return _0x23772e+_0x5270f3;},'IZHan':function(_0x4e604f,_0x4848a9){return _0x4e604f+_0x4848a9;},'sjBSE':function(_0x4d9c13,_0x16a0a7){return _0x4d9c13+_0x16a0a7;},'CEIaj':_0x19f0da(0x121),'xqxRG':function(_0x194d19,_0x3054ae){return _0x194d19/_0x3054ae;},'xMHfv':function(_0x51c9e6,_0x393cff){return _0x51c9e6===_0x393cff;},'UfLMM':function(_0x3a866d,_0x4db620){return _0x3a866d===_0x4db620;},'PlYzX':function(_0x16a00f,_0x1abe86,_0x417bec){return _0x16a00f(_0x1abe86,_0x417bec);}},_0x4eb36f=new MsgListener();_0x4eb36f['onLineDev']=_0x2f35eb=>{const _0x13bad9=_0x19f0da,_0x5e5475={'qkLgq':function(_0x3039e0,_0xc3a5d8){return _0x25d286['qLdZA'](_0x3039e0,_0xc3a5d8);},'Tvfzp':function(_0x5be3a8,_0xc88e11){return _0x25d286['fSAkY'](_0x5be3a8,_0xc88e11);},'YyDBc':function(_0x4cb66b,_0x4f51cd){const _0x509b26=_0x4447;return _0x25d286[_0x509b26(0x115)](_0x4cb66b,_0x4f51cd);},'PZvPx':_0x13bad9(0xd5),'qKvXZ':')\x20在线状态变更'};_0x2f35eb[_0x13bad9(0x10e)](_0x418751=>{const _0x8bbcc6=_0x13bad9;_0x5e5475[_0x8bbcc6(0x105)](_0x418751[_0x8bbcc6(0x9b)],0x2)&&_0x5e5475[_0x8bbcc6(0xd9)](log,_0x5e5475[_0x8bbcc6(0x8e)](_0x5e5475['PZvPx'],_0x418751[_0x8bbcc6(0xa4)])+_0x5e5475[_0x8bbcc6(0x93)]);});},_0x4eb36f['onKickedOffLine']=_0x3074e5=>{const _0x306a23=_0x19f0da;_0x25d286['fSAkY'](log,_0x25d286[_0x306a23(0xdc)](_0x25d286['sjBSE'](_0x25d286[_0x306a23(0x114)],_0x3074e5['tipsTitle'])+']\x20',_0x3074e5[_0x306a23(0x9e)]));},_0x4eb36f['onAddSendMsg']=_0x43ea89=>{const _0x3cb041=_0x19f0da;stat[_0x3cb041(0x116)]+=0x1,stat[_0x3cb041(0xf9)]+=0x1,stat[_0x3cb041(0xc8)]=Math['floor'](_0x25d286[_0x3cb041(0xa7)](Date[_0x3cb041(0xcc)](),0x3e8));},_0x4eb36f[_0x19f0da(0xb6)]=_0x41cb79=>{const _0x3269c6=_0x19f0da;stat[_0x3269c6(0x118)]+=0x1,stat[_0x3269c6(0xad)]+=_0x41cb79[_0x3269c6(0x11c)],stat[_0x3269c6(0xc8)]=Math[_0x3269c6(0x137)](Date[_0x3269c6(0xcc)]()/0x3e8);},_0x4eb36f[_0x19f0da(0x141)]=(..._0x5156c2)=>{const _0x2b09fe=_0x19f0da;stat[_0x2b09fe(0x118)]+=0x1;},this['addListener'](_0x4eb36f);const _0x55073e=new BuddyListener();_0x55073e[_0x19f0da(0xda)]=_0x45b9ed=>{const _0x248ad1=_0x19f0da;rawFriends[_0x248ad1(0x11c)]=0x0,rawFriends['push'](..._0x45b9ed);for(const _0x3482ce of _0x45b9ed){for(const _0x152240 of _0x3482ce[_0x248ad1(0xd4)]){const _0xd3a2d9=friends['get'](_0x152240[_0x248ad1(0x145)]);_0xd3a2d9?Object[_0x248ad1(0x100)](_0xd3a2d9,_0x152240):friends[_0x248ad1(0x12e)](_0x152240[_0x248ad1(0x145)],_0x152240);}}},this[_0x19f0da(0xcb)](_0x55073e),this[_0x19f0da(0xf2)][_0x19f0da(0x107)]()['getBuddyList'](!![])['then'](_0x23a0d4=>{});const _0x427f5e=new ProfileListener();_0x427f5e[_0x19f0da(0x113)]=_0x56514c=>{const _0x3c6913=_0x19f0da;_0x25d286[_0x3c6913(0x13a)](_0x56514c[_0x3c6913(0x145)],selfInfo[_0x3c6913(0x145)])&&Object[_0x3c6913(0x100)](selfInfo,_0x56514c);},_0x427f5e[_0x19f0da(0xbe)]=_0x169966=>{},this[_0x19f0da(0xcb)](_0x427f5e);const _0x5b137e=new GroupListener();_0x5b137e[_0x19f0da(0xc9)]=(_0x323c93,_0xa528a6)=>{const _0xd8157f=_0x19f0da;_0xa528a6[_0xd8157f(0x10e)](_0x4a6252=>{const _0x214eb9=_0xd8157f,_0x2ae916=groups[_0x214eb9(0x108)](_0x4a6252[_0x214eb9(0xa3)]);_0x2ae916&&_0x25d286[_0x214eb9(0x13a)](_0x4a6252[_0x214eb9(0x119)],_0x2ae916[_0x214eb9(0x119)])?Object['assign'](_0x2ae916,_0x4a6252):groups[_0x214eb9(0x12e)](_0x4a6252[_0x214eb9(0xa3)],_0x4a6252);const _0x30a769=this[_0x214eb9(0xf2)]['getGroupService']()[_0x214eb9(0xbc)](_0x4a6252[_0x214eb9(0xa3)],'groupMemberList_MainWindow');this[_0x214eb9(0xf2)][_0x214eb9(0x123)]()[_0x214eb9(0xe5)](_0x30a769,undefined,0xbb8)['then'](_0x47909f=>{});});},_0x5b137e[_0x19f0da(0x10f)]=_0x5a264a=>{const _0x4c443b=_0x19f0da,_0x259313=_0x5a264a[_0x4c443b(0x126)][_0x4c443b(0xb2)]('_')[0x0];if(groupMembers[_0x4c443b(0x12b)](_0x259313)){const _0x4efdf3=groupMembers[_0x4c443b(0x108)](_0x259313);_0x5a264a[_0x4c443b(0x148)][_0x4c443b(0xfc)]((_0x2a13f0,_0x3c0efa)=>{const _0x54238c=_0x4c443b,_0x129c46=_0x4efdf3['get'](_0x3c0efa);_0x129c46?Object['assign'](_0x129c46,_0x2a13f0):_0x4efdf3[_0x54238c(0x12e)](_0x3c0efa,_0x2a13f0);});}else groupMembers[_0x4c443b(0x12e)](_0x259313,_0x5a264a[_0x4c443b(0x148)]);},_0x5b137e[_0x19f0da(0x11e)]=(_0x38ffa5,_0x629f0,_0x4cb1a5)=>{const _0x716215=_0x19f0da;_0x25d286['UfLMM'](_0x629f0,0x0)&&_0x4cb1a5[_0x716215(0x108)](selfInfo[_0x716215(0x145)])&&_0x4cb1a5[_0x716215(0x108)](selfInfo[_0x716215(0x145)])?.['isDelete']&&_0x25d286[_0x716215(0x12a)](setTimeout,()=>{const _0xd51fc1=_0x716215;groups[_0xd51fc1(0x13d)](_0x38ffa5);},0x1388);const _0x13c801=groupMembers[_0x716215(0x108)](_0x38ffa5);_0x13c801?_0x4cb1a5['forEach']((_0x2375e5,_0x49cb9c)=>{const _0x21e191=_0x716215,_0x22b7ca=_0x13c801['get'](_0x49cb9c);_0x22b7ca?Object[_0x21e191(0x100)](_0x22b7ca,_0x2375e5):_0x13c801['set'](_0x49cb9c,_0x2375e5);}):groupMembers[_0x716215(0x12e)](_0x38ffa5,_0x4cb1a5);},this[_0x19f0da(0xcb)](_0x5b137e);}[_0x29a279(0xcb)](_0x44473d){const _0x52ea2f=_0x29a279,_0x131e56={'zAIds':_0x52ea2f(0xaa),'XErcn':'MsgListener','Wznpg':_0x52ea2f(0x13c)};_0x44473d=new Proxy(_0x44473d,this[_0x52ea2f(0x12f)]);switch(_0x44473d['constructor'][_0x52ea2f(0x146)]){case _0x131e56['zAIds']:{return this[_0x52ea2f(0xf2)]['getBuddyService']()[_0x52ea2f(0xc4)](new _0x142ec5['NodeIKernelBuddyListener'](_0x44473d));}case _0x52ea2f(0x139):{return this['session'][_0x52ea2f(0x123)]()[_0x52ea2f(0xc2)](new _0x142ec5[(_0x52ea2f(0x144))](_0x44473d));}case _0x131e56[_0x52ea2f(0xbd)]:{return this[_0x52ea2f(0xf2)][_0x52ea2f(0x147)]()['addKernelMsgListener'](new _0x142ec5[(_0x52ea2f(0x8f))](_0x44473d));}case _0x131e56[_0x52ea2f(0xd8)]:{return this[_0x52ea2f(0xf2)][_0x52ea2f(0x9a)]()[_0x52ea2f(0x138)](new _0x142ec5['NodeIKernelProfileListener'](_0x44473d));}default:return-0x1;}}[_0x29a279(0xd1)](_0x10ba1c){const _0x5b80ce=_0x29a279;NTEventDispatch['init']({'ListenerMap':_0x142ec5,'WrapperSession':this['session']}),this[_0x5b80ce(0xd7)]['push'](_0x10ba1c);}async[_0x29a279(0xbb)](_0x232148){const _0x258dad=_0x29a279,_0x3fa1ac={'YLGst':_0x258dad(0xdd),'CpZAG':function(_0x481832,_0x512cbe){return _0x481832(_0x512cbe);},'chTYU':function(_0x1ed87b,_0x28fa77){return _0x1ed87b+_0x28fa77;},'keFbD':'快速登录失败\x20'},_0x39956c=await this[_0x258dad(0xae)][_0x258dad(0xdf)]();if(_0x39956c['result']!==0x0)throw new Error(_0x3fa1ac['YLGst']);const _0x22ab26=_0x39956c[_0x258dad(0xeb)][_0x258dad(0x12d)](_0x2de913=>_0x2de913['uin']===_0x232148);if(!_0x22ab26||!_0x22ab26?.[_0x258dad(0xf3)])throw new Error(_0x232148+'快速登录不可用');await _0x3fa1ac[_0x258dad(0x129)](sleep,0x3e8);const _0x371bb1=await this[_0x258dad(0xae)][_0x258dad(0xd2)](_0x232148);if(!_0x371bb1['result'])throw new Error(_0x3fa1ac[_0x258dad(0xa1)](_0x3fa1ac[_0x258dad(0xb1)],_0x371bb1[_0x258dad(0xf0)][_0x258dad(0xa0)]));return _0x371bb1;}async[_0x29a279(0xca)](_0x56bed7){const _0x852e69={'OlPnA':function(_0x451d6c,_0x87d56,_0x3e16af,_0xd37b06){return _0x451d6c(_0x87d56,_0x3e16af,_0xd37b06);}};return new Promise((_0x111e16,_0x33fefb)=>{const _0x3b1867=_0x4447,_0x4963e4={'noIKi':function(_0x3cad0f,_0x331d27,_0x4a357d,_0x19359b){const _0x341078=_0x4447;return _0x852e69[_0x341078(0x131)](_0x3cad0f,_0x331d27,_0x4a357d,_0x19359b);}};this['loginListener'][_0x3b1867(0x99)]=_0x244bd0=>{const _0x207320=_0x3b1867,_0x241b97=_0x244bd0[_0x207320(0xa2)][_0x207320(0xb2)](_0x207320(0x10d))[0x1],_0x2f3255=Buffer['from'](_0x241b97,_0x207320(0x8c));_0x4963e4[_0x207320(0x143)](_0x56bed7,_0x244bd0[_0x207320(0xb8)],_0x244bd0[_0x207320(0xa2)],_0x2f3255);},this['loginService']['getQRCodePicture']();});}async[_0x29a279(0xa6)](_0x2f65fa,_0x1f0b66,_0x209dba,_0x14d510,_0x5c08c3){const _0x5755b3=_0x29a279,_0x36cec7={'MANsi':_0x5755b3(0xe2),'zHsMN':function(_0x262426,_0x37a5ca){return _0x262426&&_0x37a5ca;},'YOSAu':function(_0x13d763,_0x21aee1){return _0x13d763||_0x21aee1;},'psOBO':function(_0x299f91,_0x4bdac0){return _0x299f91||_0x4bdac0;},'tVKVG':function(_0x17873a,_0x1a61e5){return _0x17873a(_0x1a61e5);},'vNWaE':_0x5755b3(0xe3),'HQknG':_0x5755b3(0xa5)},_0x288cd0=_0x1ef7bc[_0x5755b3(0xf8)](_0x5755b3(0xd3))[_0x5755b3(0x127)](_0x1f0b66)[_0x5755b3(0xde)](_0x36cec7[_0x5755b3(0xfa)]),_0x254feb={'uin':_0x2f65fa,'passwordMd5':_0x288cd0,'step':_0x36cec7[_0x5755b3(0xcf)](_0x209dba,_0x14d510)&&_0x5c08c3?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x36cec7[_0x5755b3(0x11d)](_0x209dba,''),'proofWaterRand':_0x36cec7[_0x5755b3(0x103)](_0x14d510,''),'proofWaterSid':_0x36cec7[_0x5755b3(0x103)](_0x5c08c3,'')};await this['loginService'][_0x5755b3(0xdf)](),await _0x36cec7[_0x5755b3(0x11f)](sleep,0x3e8);const _0x5b828e=await this[_0x5755b3(0xae)][_0x5755b3(0xa6)](_0x254feb);switch(_0x5b828e[_0x5755b3(0xa9)]){case'0':{break;}case _0x36cec7[_0x5755b3(0xfe)]:{break;}case'4':case _0x36cec7[_0x5755b3(0xc1)]:default:}}async['getQuickLoginList'](){const _0x4cf3ee=_0x29a279,_0x456878=await this[_0x4cf3ee(0xae)][_0x4cf3ee(0xdf)]();return _0x456878;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x48771a=_0xbf15;(function(_0x4715a7,_0x5dea62){const _0x229bf3=_0xbf15,_0x1b1150=_0x4715a7();while(!![]){try{const _0x4beee9=-parseInt(_0x229bf3(0x139))/0x1*(parseInt(_0x229bf3(0x17b))/0x2)+parseInt(_0x229bf3(0x129))/0x3+-parseInt(_0x229bf3(0x159))/0x4+-parseInt(_0x229bf3(0x11b))/0x5+parseInt(_0x229bf3(0x19e))/0x6+-parseInt(_0x229bf3(0x188))/0x7*(parseInt(_0x229bf3(0x169))/0x8)+-parseInt(_0x229bf3(0x170))/0x9*(-parseInt(_0x229bf3(0x18c))/0xa);if(_0x4beee9===_0x5dea62)break;else _0x1b1150['push'](_0x1b1150['shift']());}catch(_0x2b6bba){_0x1b1150['push'](_0x1b1150['shift']());}}}(_0x2899,0x81f4f));import _0x10a6a4 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3ae058 from'node:path';import _0x4f0bcd from'node:os';import _0x33340d from'node:fs';function _0x2899(){const _0x55057b=['anvpS','qdJyi','dataPath','consoleLogLevel','HRHdA','MsgListener','find','qrLogin','initDataListener','uin','packet_sent','./.config/QQ','onSessionInitComplete','errMsg','1311996idpLHe','pzItK','eCANJ','KdznU','\x20has\x20no\x20method\x20','qRhwB','onQRCodeGetPicture','登录失败(onQRCodeSessionFailed)','startNT','OorAz','onGroupListUpdate','engine','RNBOw','NodeIKernelLoginService','message_received','undefined','7136JBnfvj','data:image/png;base64,','hUlYP','onQRCodeSessionFailed','BuddyListener','map','push','6003891yLpFWx','init','OjdND','ojHUJ','curVersion','then','140022008','tipsDesc','onQRCodeLoginSucceed','WTxLU',')\x20在线状态变更','2cKZXaP','isQuickLogin','QfNTv','initWithDeskTopConfig','loginService','update','onMemberInfoChange','UYAUf','NodeIGlobalAdapter','MJSKL','QFCLu','YFvsp','name','4249fMIZGU','wXBcb','result','quickLogin','20zEssxj','onLineDev','message_sent','NodeIKernelBuddyListener','groupMemberList_MainWindow','groupCode','tipsTitle','onAddSendMsg','initConfig','getBuddyList','当前账号(','md5','NodeQQNTWrapperUtil','memberCount','qrcodeUrl','qMGFj','VMUZz','getQRCodePicture','4914768hlMQad','addKernelMsgListener','addKernelProfileListener','digest','账号设备(','constructor','packet_received','NhHaf','initSession','-v2.db','set','tnwka','mkdirSync','tsOeb','resolve','czBmL','NodeIKernelSessionListener','KkRii','PfyZb','IMhcs','NodeIKernelGroupListener','onLoginSuccessFuncList','没有可快速登录的QQ号','启动失败:\x20','loginErrorInfo','delete','HlVHD','eCjTM','dTxyi','快速登录不可用','GroupListener','onKickedOffLine','NodeIQQNTWrapperEngine','FVYRx','GcKKR','zOuTf','inJHp',')已登录,无法重复登录','NodeIDependsAdapter','xwRCn','init\x20failed\x20','addKernelBuddyListener','length','登录失败(onLoginFailed)','buddyList','BSvem','floor','getLoginList','homedir','NodeIKernelLoginListener','initSession\x20failed','pngBase64QrcodeData','infos','getNTUserDataInfoConfig','hssoV','onRecvMsg','onLoginFailed','_GW_B','ProfileListener','onSelfStatusChanged','2678125xKlXTw','proxyHandler','getMsgService','wWAby','KPnXv','GxGDv','onProfileDetailInfoChanged','getQuickLoginList','onBuddyListChange','./NapCat/data','fileLogLevel','dataPathGlobal','UhIJm','get','174651clXjex','util','read','KVGkO','has','isDelete','addListener','getBuddyService','iZTaI','uid','catch','iAqbx','sceneId','split','NodeIKernelProfileListener','VNFJa','274172mytfSV','NttcB','last_message_time','getGroupService','addKernelGroupListener','YcZyh','quickLoginWithUin','now','session','passwordLogin','./nt_qq/global','assign','fileLog','sGtCm','onUserLoggedIn','consoleLog','addKernelLoginListener','loginListener'];_0x2899=function(){return _0x55057b;};return _0x2899();}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 _0x38c103 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];['util'];[_0x48771a(0x164)];[_0x48771a(0x14a)];[_0x48771a(0x17f)];[_0x48771a(0x1b3)]=[];[_0x48771a(0x11c)]={'get'(target,prop,receiver){const _0x4adc41=_0x48771a,RrwupD={'vAyRa':function(callee,param1){return callee(param1);},'sGtCm':function(x,y){return x===y;}};if(RrwupD[_0x4adc41(0x146)](typeof target[prop],_0x4adc41(0x168)))return(...args)=>{const _0x190bb0=_0x4adc41;RrwupD['vAyRa'](logDebug,target[_0x190bb0(0x1a3)][_0x190bb0(0x187)]+_0x190bb0(0x15d)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x99eb49=_0x48771a,_0x2e97f9={'NttcB':function(_0x6fdd95,_0x27f835){return _0x6fdd95+_0x27f835;},'eCjTM':_0x99eb49(0x196),'dTxyi':_0x99eb49(0x104),'xwRCn':function(_0x5f3c36,_0x274fdb,_0x4d3648){return _0x5f3c36(_0x274fdb,_0x4d3648);},'KdznU':_0x99eb49(0x124),'eCANJ':function(_0x390942,_0x31e03a,_0x223a2a){return _0x390942(_0x31e03a,_0x223a2a);},'gYagY':'本账号数据/缓存目录:','IMhcs':function(_0x229554,_0x18cca6,_0x2cbebc){return _0x229554(_0x18cca6,_0x2cbebc);},'KVGkO':_0x99eb49(0x111),'UhIJm':_0x99eb49(0x160),'tnwka':function(_0x2e04ba,_0x3dfd60){return _0x2e04ba==_0x3dfd60;},'HRHdA':function(_0x241043,_0x4538c1,_0x400324){return _0x241043(_0x4538c1,_0x400324);},'ojHUJ':_0x99eb49(0x10a)};this['engine']=new _0x10a6a4[(_0x99eb49(0xff))](),this['util']=new _0x10a6a4[(_0x99eb49(0x198))](),this[_0x99eb49(0x17f)]=new _0x10a6a4[(_0x99eb49(0x166))](),this[_0x99eb49(0x141)]=new _0x10a6a4['NodeIQQNTWrapperSession'](),this[_0x99eb49(0x14a)]=new LoginListener(),this[_0x99eb49(0x14a)][_0x99eb49(0x147)]=_0x1b01d2=>{const _0x57cbba=_0x99eb49;logError(_0x2e97f9[_0x57cbba(0x13a)](_0x2e97f9[_0x57cbba(0x1b9)],_0x1b01d2)+_0x2e97f9[_0x57cbba(0x1ba)]);},this[_0x99eb49(0x194)](),this[_0x99eb49(0x14a)][_0x99eb49(0x178)]=_0x155899=>{const _0x57afe4=_0x99eb49,_0x3eb951={'wXBcb':'数据库初始化失败','vNwZF':function(_0x34db9e,_0x35a15c,_0x15a484){const _0x1dcda4=_0xbf15;return _0x2e97f9[_0x1dcda4(0x1b1)](_0x34db9e,_0x35a15c,_0x15a484);},'KPnXv':_0x2e97f9[_0x57afe4(0x12c)]};this['initSession'](_0x155899[_0x57afe4(0x154)],_0x155899['uid'])[_0x57afe4(0x175)](_0x9f4863=>{const _0x5fb33b=_0x57afe4;selfInfo[_0x5fb33b(0x154)]=_0x155899[_0x5fb33b(0x154)],selfInfo[_0x5fb33b(0x132)]=_0x155899[_0x5fb33b(0x132)],napCatConfig[_0x5fb33b(0x12b)](),_0x2e97f9[_0x5fb33b(0x106)](setLogLevel,napCatConfig[_0x5fb33b(0x125)],napCatConfig[_0x5fb33b(0x14e)]),enableFileLog(napCatConfig[_0x5fb33b(0x145)]),enableConsoleLog(napCatConfig[_0x5fb33b(0x148)]),setLogSelfInfo(selfInfo);const _0x43bcd5=_0x3ae058[_0x5fb33b(0x1ac)](this[_0x5fb33b(0x14d)],_0x2e97f9[_0x5fb33b(0x15c)]);_0x33340d['mkdirSync'](_0x43bcd5,{'recursive':!![]}),_0x2e97f9[_0x5fb33b(0x15b)](logDebug,_0x2e97f9['gYagY'],_0x43bcd5),dbUtil[_0x5fb33b(0x171)](_0x3ae058[_0x5fb33b(0x1ac)](_0x43bcd5,'./'+_0x155899[_0x5fb33b(0x154)]+_0x5fb33b(0x1a7)))[_0x5fb33b(0x175)](()=>{const _0x288670=_0x5fb33b,_0x105fc6={'NhHaf':function(_0xab2584,_0x51c1fd,_0x543207){return _0xab2584(_0x51c1fd,_0x543207);},'vulkh':function(_0x36e99f,_0x21c1e9){return _0x36e99f instanceof _0x21c1e9;}};this['initDataListener'](),this['onLoginSuccessFuncList'][_0x288670(0x16e)](_0x262e1f=>{const _0x2173a5=_0x288670,_0x294430={'aAOhU':function(_0x400bf0,_0x3c0860,_0xb1d60c){const _0x2a35e5=_0xbf15;return _0x105fc6[_0x2a35e5(0x1a5)](_0x400bf0,_0x3c0860,_0xb1d60c);},'eEDwo':function(_0x477f05,_0x1bce5d){return _0x105fc6['vulkh'](_0x477f05,_0x1bce5d);}};new Promise((_0x467c20,_0x53784c)=>{const _0x1042eb=_0xbf15,_0x5dde92=_0x294430['aAOhU'](_0x262e1f,_0x155899[_0x1042eb(0x154)],_0x155899[_0x1042eb(0x132)]);_0x294430['eEDwo'](_0x5dde92,Promise)&&_0x5dde92[_0x1042eb(0x175)](_0x467c20)[_0x1042eb(0x133)](_0x53784c);})[_0x2173a5(0x175)]();});})[_0x5fb33b(0x133)](_0x2ad272=>{const _0x3fa468=_0x5fb33b;logError(_0x3eb951[_0x3fa468(0x189)],_0x2ad272);});})[_0x57afe4(0x133)](_0xbeadb3=>{const _0x56b9e7=_0x57afe4;_0x3eb951['vNwZF'](logError,_0x3eb951[_0x56b9e7(0x11f)],_0xbeadb3);throw new Error(_0x56b9e7(0x1b5)+JSON['stringify'](_0xbeadb3));});},this[_0x99eb49(0x14a)][_0x99eb49(0x16c)]=(_0x319b91,_0x1e09ee,_0x2b8317)=>{const _0x5ecaab=_0x99eb49;_0x2e97f9[_0x5ecaab(0x1b1)](logError,_0x2e97f9[_0x5ecaab(0x127)],_0x2b8317),_0x2e97f9[_0x5ecaab(0x1a9)](_0x319b91,0x1)&&_0x1e09ee==0x3&&this['loginService'][_0x5ecaab(0x19d)]();},this[_0x99eb49(0x14a)][_0x99eb49(0x117)]=_0x1147c2=>{const _0x12df5b=_0x99eb49;_0x2e97f9[_0x12df5b(0x14f)](logError,_0x2e97f9[_0x12df5b(0x173)],_0x1147c2);},this[_0x99eb49(0x14a)]=new Proxy(this[_0x99eb49(0x14a)],this[_0x99eb49(0x11c)]),this[_0x99eb49(0x17f)][_0x99eb49(0x149)](new _0x10a6a4[(_0x99eb49(0x110))](this[_0x99eb49(0x14a)]));}get[_0x48771a(0x14d)](){const _0x311c4f=_0x48771a,_0x5cf85f={'iAqbx':_0x311c4f(0x156)};let _0x3ce053=this[_0x311c4f(0x12a)][_0x311c4f(0x114)]();return!_0x3ce053&&(_0x3ce053=_0x3ae058[_0x311c4f(0x1ac)](_0x4f0bcd[_0x311c4f(0x10f)](),_0x5cf85f[_0x311c4f(0x134)]),_0x33340d[_0x311c4f(0x1aa)](_0x3ce053,{'recursive':!![]})),_0x3ce053;}get[_0x48771a(0x126)](){const _0x542dfb=_0x48771a,_0x4ee4d7={'gMNio':_0x542dfb(0x143)};return _0x3ae058[_0x542dfb(0x1ac)](this[_0x542dfb(0x14d)],_0x4ee4d7['gMNio']);}[_0x48771a(0x194)](){const _0xb33381=_0x48771a,_0x577761={'RNBOw':'Windows\x2010\x20Pro'};this[_0xb33381(0x164)][_0xb33381(0x17e)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0xb33381(0x174)],'os_version':_0x577761[_0xb33381(0x165)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion']['replace']('-','_')+_0xb33381(0x118),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x10a6a4[(_0xb33381(0x183))](new GlobalAdapter())),this['loginService'][_0xb33381(0x194)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0xb33381(0x126)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x48771a(0x1a6)](_0x40e6bd,_0x306c26){const _0x3fd87b=_0x48771a,_0xd9e7c={'qMGFj':function(_0x5ca66a,_0x4ff2ec){return _0x5ca66a===_0x4ff2ec;},'qdJyi':function(_0x362a4c,_0x44663d){return _0x362a4c(_0x44663d);},'QFCLu':function(_0x46104d,_0x3d87ff,_0x31930d,_0x4a2ba4){return _0x46104d(_0x3d87ff,_0x31930d,_0x4a2ba4);},'QfNTv':function(_0x4343ac,_0x7b1d14){return _0x4343ac(_0x7b1d14);},'BSvem':_0x3fd87b(0x107)};return new Promise(async(_0x4623e9,_0x373478)=>{const _0x177b63=_0x3fd87b,_0x2f2381={'YcZyh':function(_0x1129ba,_0x35e56c){const _0x1e3c09=_0xbf15;return _0xd9e7c[_0x1e3c09(0x19b)](_0x1129ba,_0x35e56c);},'hUlYP':function(_0x3c6575,_0x502847){const _0x5ed0c3=_0xbf15;return _0xd9e7c[_0x5ed0c3(0x14c)](_0x3c6575,_0x502847);},'tsOeb':function(_0x7fb2b2,_0x1137fe){return _0x7fb2b2(_0x1137fe);}},_0x42b90f=await _0xd9e7c[_0x177b63(0x185)](genSessionConfig,_0x40e6bd,_0x306c26,this[_0x177b63(0x14d)]),_0x4d36e6=new SessionListener();_0x4d36e6[_0x177b63(0x157)]=_0xcce885=>{const _0x2cbac1=_0x177b63;if(_0x2f2381[_0x2cbac1(0x13e)](_0xcce885,0x0))return _0x2f2381[_0x2cbac1(0x16b)](_0x4623e9,0x0);_0x2f2381[_0x2cbac1(0x1ab)](_0x373478,_0xcce885);},this[_0x177b63(0x141)][_0x177b63(0x171)](_0x42b90f,new _0x10a6a4[(_0x177b63(0x105))](new DependsAdapter()),new _0x10a6a4['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x10a6a4[(_0x177b63(0x1ae))](_0x4d36e6));try{this[_0x177b63(0x141)][_0x177b63(0x161)](0x0);}catch(_0x4df62f){try{this[_0x177b63(0x141)]['startNT']();}catch(_0x2fecb6){_0xd9e7c[_0x177b63(0x17d)](_0x373478,_0xd9e7c[_0x177b63(0x10c)]+_0x2fecb6);}}});}[_0x48771a(0x153)](){const _0x6bd515=_0x48771a,_0x2972d5={'qRhwB':function(_0x935433,_0x1654db){return _0x935433(_0x1654db);},'hssoV':function(_0x4b51f8,_0x14f15f){return _0x4b51f8+_0x14f15f;},'HlVHD':function(_0x25ce7c,_0x323055){return _0x25ce7c+_0x323055;},'anvpS':_0x6bd515(0x1a2),'YFvsp':_0x6bd515(0x17a),'OorAz':'[KickedOffLine]\x20[','WTxLU':function(_0x19dde0,_0x34dc7e){return _0x19dde0/_0x34dc7e;},'UYAUf':function(_0x468845,_0x5d3692){return _0x468845===_0x5d3692;},'inJHp':function(_0x64ebca,_0x2a6d3b){return _0x64ebca===_0x2a6d3b;}},_0x598577=new MsgListener();_0x598577[_0x6bd515(0x18d)]=_0x419495=>{const _0x3ef150=_0x6bd515;_0x419495[_0x3ef150(0x16e)](_0x4a1f96=>{const _0x49385e=_0x3ef150;_0x4a1f96['clientType']===0x2&&_0x2972d5[_0x49385e(0x15e)](log,_0x2972d5[_0x49385e(0x115)](_0x2972d5['HlVHD'](_0x2972d5[_0x49385e(0x14b)],_0x4a1f96['devUid']),_0x2972d5[_0x49385e(0x186)]));});},_0x598577[_0x6bd515(0xfe)]=_0x1f7c91=>{const _0x48960c=_0x6bd515;log(_0x2972d5[_0x48960c(0x1b8)](_0x2972d5[_0x48960c(0x162)]+_0x1f7c91[_0x48960c(0x192)],']\x20')+_0x1f7c91[_0x48960c(0x177)]);},_0x598577[_0x6bd515(0x193)]=_0x7390f0=>{const _0x16891d=_0x6bd515;stat[_0x16891d(0x155)]+=0x1,stat[_0x16891d(0x18e)]+=0x1,stat[_0x16891d(0x13b)]=Math[_0x16891d(0x10d)](_0x2972d5['WTxLU'](Date[_0x16891d(0x140)](),0x3e8));},_0x598577[_0x6bd515(0x116)]=_0x2d8e91=>{const _0x1047c5=_0x6bd515;stat[_0x1047c5(0x1a4)]+=0x1,stat[_0x1047c5(0x167)]+=_0x2d8e91[_0x1047c5(0x109)],stat[_0x1047c5(0x13b)]=Math[_0x1047c5(0x10d)](_0x2972d5[_0x1047c5(0x179)](Date[_0x1047c5(0x140)](),0x3e8));},_0x598577['onRecvSysMsg']=(..._0x1b5622)=>{const _0x1dbb44=_0x6bd515;stat[_0x1dbb44(0x1a4)]+=0x1;},this[_0x6bd515(0x12f)](_0x598577);const _0x2ae728=new BuddyListener();_0x2ae728[_0x6bd515(0x123)]=_0x3e3415=>{const _0x4afdeb=_0x6bd515;rawFriends[_0x4afdeb(0x109)]=0x0,rawFriends[_0x4afdeb(0x16f)](..._0x3e3415);for(const _0x3242ed of _0x3e3415){for(const _0x48ebca of _0x3242ed[_0x4afdeb(0x10b)]){const _0x1a9ecf=friends['get'](_0x48ebca[_0x4afdeb(0x132)]);_0x1a9ecf?Object['assign'](_0x1a9ecf,_0x48ebca):friends[_0x4afdeb(0x1a8)](_0x48ebca[_0x4afdeb(0x132)],_0x48ebca);}}},this['addListener'](_0x2ae728),this[_0x6bd515(0x141)][_0x6bd515(0x130)]()[_0x6bd515(0x195)](!![])['then'](_0x5edf39=>{});const _0xdcbbb2=new ProfileListener();_0xdcbbb2[_0x6bd515(0x121)]=_0x5b4010=>{const _0x1ef2de=_0x6bd515;_0x2972d5[_0x1ef2de(0x182)](_0x5b4010[_0x1ef2de(0x132)],selfInfo[_0x1ef2de(0x132)])&&Object[_0x1ef2de(0x144)](selfInfo,_0x5b4010);},_0xdcbbb2[_0x6bd515(0x11a)]=_0x5116b4=>{},this[_0x6bd515(0x12f)](_0xdcbbb2);const _0x360f15=new GroupListener();_0x360f15[_0x6bd515(0x163)]=(_0x1e1336,_0x52f6a5)=>{const _0x241d62={'KkRii':function(_0x6a39e7,_0xbfb7f2){const _0x42213a=_0xbf15;return _0x2972d5[_0x42213a(0x103)](_0x6a39e7,_0xbfb7f2);}};_0x52f6a5['map'](_0x3b0290=>{const _0x4b03f4=_0xbf15,_0x30f8cc=groups[_0x4b03f4(0x128)](_0x3b0290['groupCode']);_0x30f8cc&&_0x241d62[_0x4b03f4(0x1af)](_0x3b0290[_0x4b03f4(0x199)],_0x30f8cc[_0x4b03f4(0x199)])?Object[_0x4b03f4(0x144)](_0x30f8cc,_0x3b0290):groups[_0x4b03f4(0x1a8)](_0x3b0290[_0x4b03f4(0x191)],_0x3b0290);const _0x44b816=this[_0x4b03f4(0x141)][_0x4b03f4(0x13c)]()['createMemberListScene'](_0x3b0290['groupCode'],_0x4b03f4(0x190));this['session'][_0x4b03f4(0x13c)]()['getNextMemberList'](_0x44b816,undefined,0xbb8)[_0x4b03f4(0x175)](_0x47c9fa=>{});});},_0x360f15['onMemberListChange']=_0xbf5b3d=>{const _0x44ee7d=_0x6bd515,_0x2a9f61=_0xbf5b3d[_0x44ee7d(0x135)][_0x44ee7d(0x136)]('_')[0x0];if(groupMembers[_0x44ee7d(0x12d)](_0x2a9f61)){const _0x3c1b53=groupMembers[_0x44ee7d(0x128)](_0x2a9f61);_0xbf5b3d['infos']['forEach']((_0xc42c05,_0x3552b5)=>{const _0x551fbb=_0x44ee7d,_0x2616ac=_0x3c1b53['get'](_0x3552b5);_0x2616ac?Object[_0x551fbb(0x144)](_0x2616ac,_0xc42c05):_0x3c1b53[_0x551fbb(0x1a8)](_0x3552b5,_0xc42c05);});}else groupMembers['set'](_0x2a9f61,_0xbf5b3d[_0x44ee7d(0x113)]);},_0x360f15[_0x6bd515(0x181)]=(_0xbba026,_0xaaea0,_0x45a35c)=>{const _0x38cfb7=_0x6bd515;_0x2972d5[_0x38cfb7(0x103)](_0xaaea0,0x0)&&_0x45a35c[_0x38cfb7(0x128)](selfInfo[_0x38cfb7(0x132)])&&_0x45a35c[_0x38cfb7(0x128)](selfInfo[_0x38cfb7(0x132)])?.[_0x38cfb7(0x12e)]&&setTimeout(()=>{const _0x4f6bfb=_0x38cfb7;groups[_0x4f6bfb(0x1b7)](_0xbba026);},0x1388);const _0x19a47d=groupMembers[_0x38cfb7(0x128)](_0xbba026);_0x19a47d?_0x45a35c['forEach']((_0x563dda,_0x5df7f6)=>{const _0xd8d6e3=_0x38cfb7,_0x34af20=_0x19a47d[_0xd8d6e3(0x128)](_0x5df7f6);_0x34af20?Object['assign'](_0x34af20,_0x563dda):_0x19a47d[_0xd8d6e3(0x1a8)](_0x5df7f6,_0x563dda);}):groupMembers[_0x38cfb7(0x1a8)](_0xbba026,_0x45a35c);},this[_0x6bd515(0x12f)](_0x360f15);}[_0x48771a(0x12f)](_0x21f63e){const _0x296bbf=_0x48771a,_0x4998c1={'VNFJa':_0x296bbf(0x16d),'PfyZb':_0x296bbf(0x119)};_0x21f63e=new Proxy(_0x21f63e,this[_0x296bbf(0x11c)]);switch(_0x21f63e[_0x296bbf(0x1a3)]['name']){case _0x4998c1[_0x296bbf(0x138)]:{return this[_0x296bbf(0x141)]['getBuddyService']()[_0x296bbf(0x108)](new _0x10a6a4[(_0x296bbf(0x18f))](_0x21f63e));}case _0x296bbf(0xfd):{return this[_0x296bbf(0x141)][_0x296bbf(0x13c)]()[_0x296bbf(0x13d)](new _0x10a6a4[(_0x296bbf(0x1b2))](_0x21f63e));}case _0x296bbf(0x150):{return this[_0x296bbf(0x141)][_0x296bbf(0x11d)]()[_0x296bbf(0x19f)](new _0x10a6a4['NodeIKernelMsgListener'](_0x21f63e));}case _0x4998c1[_0x296bbf(0x1b0)]:{return this[_0x296bbf(0x141)]['getProfileService']()[_0x296bbf(0x1a0)](new _0x10a6a4[(_0x296bbf(0x137))](_0x21f63e));}default:return-0x1;}}['onLoginSuccess'](_0x5bbb4b){const _0x4c1234=_0x48771a;NTEventDispatch[_0x4c1234(0x171)]({'ListenerMap':_0x10a6a4,'WrapperSession':this['session']}),this[_0x4c1234(0x1b3)][_0x4c1234(0x16f)](_0x5bbb4b);}async[_0x48771a(0x18b)](_0x6bdc3a){const _0x222ef7=_0x48771a,_0x3ded71={'iZTaI':function(_0x446170,_0x17dbc2){return _0x446170!==_0x17dbc2;},'VMUZz':_0x222ef7(0x1b4),'MJSKL':function(_0x586be5,_0x2d5cb9){return _0x586be5(_0x2d5cb9);},'zOuTf':function(_0x5af11e,_0x51e97d){return _0x5af11e+_0x51e97d;},'DrAst':'快速登录失败\x20'},_0x5b26f6=await this[_0x222ef7(0x17f)]['getLoginList']();if(_0x3ded71[_0x222ef7(0x131)](_0x5b26f6[_0x222ef7(0x18a)],0x0))throw new Error(_0x3ded71[_0x222ef7(0x19c)]);const _0x177277=_0x5b26f6['LocalLoginInfoList'][_0x222ef7(0x151)](_0x471bec=>_0x471bec[_0x222ef7(0x154)]===_0x6bdc3a);if(!_0x177277||!_0x177277?.[_0x222ef7(0x17c)])throw new Error(_0x6bdc3a+_0x222ef7(0xfc));await _0x3ded71[_0x222ef7(0x184)](sleep,0x3e8);const _0x850358=await this[_0x222ef7(0x17f)][_0x222ef7(0x13f)](_0x6bdc3a);if(!_0x850358[_0x222ef7(0x18a)])throw new Error(_0x3ded71[_0x222ef7(0x102)](_0x3ded71['DrAst'],_0x850358[_0x222ef7(0x1b6)][_0x222ef7(0x158)]));return _0x850358;}async[_0x48771a(0x152)](_0x251b13){return new Promise((_0x2b635d,_0x5a431d)=>{const _0x1bb0f8=_0xbf15;this['loginListener'][_0x1bb0f8(0x15f)]=_0x3d2213=>{const _0x200ad3=_0x1bb0f8,_0x1913aa=_0x3d2213[_0x200ad3(0x112)][_0x200ad3(0x136)](_0x200ad3(0x16a))[0x1],_0x5edebd=Buffer['from'](_0x1913aa,'base64');_0x251b13(_0x3d2213[_0x200ad3(0x19a)],_0x3d2213[_0x200ad3(0x112)],_0x5edebd);},this[_0x1bb0f8(0x17f)][_0x1bb0f8(0x19d)]();});}async[_0x48771a(0x142)](_0x3dc391,_0x2493cd,_0x45fb07,_0x22b149,_0x315dd4){const _0x16bf91=_0x48771a,_0x685256={'GxGDv':'hex','wWAby':function(_0x100d20,_0x5c0e9c){return _0x100d20&&_0x5c0e9c;},'FVYRx':function(_0x5370c4,_0x6a0142){return _0x5370c4||_0x6a0142;},'pzItK':function(_0x31d533,_0x19bb41){return _0x31d533||_0x19bb41;},'GcKKR':function(_0x35df4a,_0x2e8f0e){return _0x35df4a||_0x2e8f0e;},'czBmL':function(_0x4dac31,_0x23fdef){return _0x4dac31(_0x23fdef);},'OjdND':_0x16bf91(0x176)},_0x251126=_0x38c103['createHash'](_0x16bf91(0x197))[_0x16bf91(0x180)](_0x2493cd)[_0x16bf91(0x1a1)](_0x685256[_0x16bf91(0x120)]),_0x1e90d1={'uin':_0x3dc391,'passwordMd5':_0x251126,'step':_0x685256[_0x16bf91(0x11e)](_0x45fb07,_0x22b149)&&_0x315dd4?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x685256[_0x16bf91(0x100)](_0x45fb07,''),'proofWaterRand':_0x685256[_0x16bf91(0x15a)](_0x22b149,''),'proofWaterSid':_0x685256[_0x16bf91(0x101)](_0x315dd4,'')};await this[_0x16bf91(0x17f)][_0x16bf91(0x10e)](),await _0x685256[_0x16bf91(0x1ad)](sleep,0x3e8);const _0x264e15=await this[_0x16bf91(0x17f)]['passwordLogin'](_0x1e90d1);switch(_0x264e15[_0x16bf91(0x18a)]){case'0':{break;}case _0x685256[_0x16bf91(0x172)]:{break;}case'4':case'140022013':default:}}async[_0x48771a(0x122)](){const _0x1ac209=_0x48771a,_0x22f553=await this[_0x1ac209(0x17f)][_0x1ac209(0x10e)]();return _0x22f553;}}function _0xbf15(_0x43425d,_0x1fd2a6){const _0x2899a5=_0x2899();return _0xbf15=function(_0xbf15a0,_0x3184c3){_0xbf15a0=_0xbf15a0-0xfc;let _0x3e4e91=_0x2899a5[_0xbf15a0];return _0x3e4e91;},_0xbf15(_0x43425d,_0x1fd2a6);}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 88b0dbe7..650233f1 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0xfbf58a,_0x2b6f05){const _0x3abffa=_0x54e1,_0x17a026=_0xfbf58a();while(!![]){try{const _0x3ef080=-parseInt(_0x3abffa(0x174))/0x1*(-parseInt(_0x3abffa(0x178))/0x2)+parseInt(_0x3abffa(0x171))/0x3*(parseInt(_0x3abffa(0x176))/0x4)+parseInt(_0x3abffa(0x175))/0x5+parseInt(_0x3abffa(0x17d))/0x6+parseInt(_0x3abffa(0x16c))/0x7*(parseInt(_0x3abffa(0x17b))/0x8)+-parseInt(_0x3abffa(0x183))/0x9*(parseInt(_0x3abffa(0x16d))/0xa)+-parseInt(_0x3abffa(0x170))/0xb;if(_0x3ef080===_0x2b6f05)break;else _0x17a026['push'](_0x17a026['shift']());}catch(_0x577ba7){_0x17a026['push'](_0x17a026['shift']());}}}(_0x5d7b,0x7550e));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x592735){const _0x11d615=_0x54e1;groups[_0x11d615(0x17f)](_0x592735),groupMembers[_0x11d615(0x17f)](_0x592735);}function _0x5d7b(){const _0x1898f7=['from','4956348haYzLR','uin','delete','length','forEach','fIjmQ','482076kavHbu','getGroups','values','1501549hlHqFY','50MZrPWc','set','groupCode','20343323BHKezk','1845NuuQth','getGroupMembers','toString','2HvlFDm','2792890qixSle','396cRlxke','wsCLz','294190qQVAgr','find','get','32gVntKX'];_0x5d7b=function(){return _0x1898f7;};return _0x5d7b();}function _0x54e1(_0x1555ee,_0x585626){const _0x5d7b83=_0x5d7b();return _0x54e1=function(_0x54e1e,_0x2dbff2){_0x54e1e=_0x54e1e-0x16c;let _0x4eef3d=_0x5d7b83[_0x54e1e];return _0x4eef3d;},_0x54e1(_0x1555ee,_0x585626);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x52b5e2){const _0x4c9403=_0x54e1;let _0x5e9dc1=groups[_0x4c9403(0x17a)](_0x52b5e2[_0x4c9403(0x173)]());if(!_0x5e9dc1)try{const _0x26918c=await NTQQGroupApi[_0x4c9403(0x184)]();_0x26918c[_0x4c9403(0x180)]&&_0x26918c[_0x4c9403(0x181)](_0x252801=>{const _0x219996=_0x4c9403;groups[_0x219996(0x16e)](_0x252801[_0x219996(0x16f)],_0x252801);});}catch(_0x2a2b07){return undefined;}return _0x5e9dc1=groups[_0x4c9403(0x17a)](_0x52b5e2[_0x4c9403(0x173)]()),_0x5e9dc1;}export async function getGroupMember(_0x5742a9,_0x50f192){const _0xf33c43=_0x54e1,_0x445259={'fIjmQ':function(_0x16eb46,_0x2a959d){return _0x16eb46(_0x2a959d);},'wsCLz':function(_0xa1f970){return _0xa1f970();},'TDuca':function(_0x4fc256){return _0x4fc256();}};_0x5742a9=_0x5742a9[_0xf33c43(0x173)](),_0x50f192=_0x50f192[_0xf33c43(0x173)]();let _0x304aac=groupMembers[_0xf33c43(0x17a)](_0x5742a9);if(!_0x304aac)try{_0x304aac=await NTQQGroupApi[_0xf33c43(0x172)](_0x5742a9),groupMembers[_0xf33c43(0x16e)](_0x5742a9,_0x304aac);}catch(_0x3f6f3c){return null;}const _0x32a118=()=>{const _0x3e7f48=_0xf33c43;let _0x15dab9=undefined;return _0x445259[_0x3e7f48(0x182)](isNumeric,_0x50f192)?_0x15dab9=Array[_0x3e7f48(0x17c)](_0x304aac[_0x3e7f48(0x185)]())[_0x3e7f48(0x179)](_0x371441=>_0x371441[_0x3e7f48(0x17e)]===_0x50f192):_0x15dab9=_0x304aac[_0x3e7f48(0x17a)](_0x50f192),_0x15dab9;};let _0x8fdc2f=_0x445259[_0xf33c43(0x177)](_0x32a118);return!_0x8fdc2f&&(_0x304aac=await NTQQGroupApi['getGroupMembers'](_0x5742a9),_0x8fdc2f=_0x445259['TDuca'](_0x32a118)),_0x8fdc2f;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x2ae82b,_0x5521a2){const _0x107c37=_0x8034,_0x583285=_0x2ae82b();while(!![]){try{const _0x441003=-parseInt(_0x107c37(0x193))/0x1*(-parseInt(_0x107c37(0x195))/0x2)+-parseInt(_0x107c37(0x18c))/0x3+-parseInt(_0x107c37(0x18f))/0x4+parseInt(_0x107c37(0x190))/0x5*(parseInt(_0x107c37(0x18e))/0x6)+parseInt(_0x107c37(0x1a2))/0x7+parseInt(_0x107c37(0x199))/0x8+parseInt(_0x107c37(0x1a1))/0x9*(-parseInt(_0x107c37(0x194))/0xa);if(_0x441003===_0x5521a2)break;else _0x583285['push'](_0x583285['shift']());}catch(_0x16a888){_0x583285['push'](_0x583285['shift']());}}}(_0x5f43,0x6b13e));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x5f43(){const _0x57ef38=['get','YJEXc','toString','set','81MnQDvY','1836569ZqKSOM','756921UNdvFm','uin','58860YSbBqy','1859392EGleDH','270MAuyLq','pAbUj','values','360947KMQzes','395400ZgYaIP','2ifZRGe','getGroupMembers','from','getGroups','2868408yqQbTT','delete','groupCode','forEach'];_0x5f43=function(){return _0x57ef38;};return _0x5f43();}function _0x8034(_0x56584a,_0x3d3593){const _0x5f43e8=_0x5f43();return _0x8034=function(_0x8034f4,_0x4b0b7e){_0x8034f4=_0x8034f4-0x18c;let _0x49dcd4=_0x5f43e8[_0x8034f4];return _0x49dcd4;},_0x8034(_0x56584a,_0x3d3593);}export const groups=new Map();export function deleteGroup(_0x192627){const _0x6a813d=_0x8034;groups[_0x6a813d(0x19a)](_0x192627),groupMembers['delete'](_0x192627);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x4f6104){const _0x5e163b=_0x8034;let _0x12e5a5=groups[_0x5e163b(0x19d)](_0x4f6104['toString']());if(!_0x12e5a5)try{const _0x4748f1=await NTQQGroupApi[_0x5e163b(0x198)]();_0x4748f1['length']&&_0x4748f1[_0x5e163b(0x19c)](_0x426239=>{const _0x3345e8=_0x5e163b;groups[_0x3345e8(0x1a0)](_0x426239[_0x3345e8(0x19b)],_0x426239);});}catch(_0x250269){return undefined;}return _0x12e5a5=groups[_0x5e163b(0x19d)](_0x4f6104[_0x5e163b(0x19f)]()),_0x12e5a5;}export async function getGroupMember(_0x4a2b82,_0x531ed4){const _0x2e3cb3=_0x8034,_0x50e18c={'WFUIc':function(_0x31bbd2,_0x3f9435){return _0x31bbd2(_0x3f9435);},'YJEXc':function(_0x517da1){return _0x517da1();},'pAbUj':function(_0xa6df48){return _0xa6df48();}};_0x4a2b82=_0x4a2b82[_0x2e3cb3(0x19f)](),_0x531ed4=_0x531ed4[_0x2e3cb3(0x19f)]();let _0x5d565b=groupMembers[_0x2e3cb3(0x19d)](_0x4a2b82);if(!_0x5d565b)try{_0x5d565b=await NTQQGroupApi[_0x2e3cb3(0x196)](_0x4a2b82),groupMembers[_0x2e3cb3(0x1a0)](_0x4a2b82,_0x5d565b);}catch(_0x46da0b){return null;}const _0x265a9d=()=>{const _0x58c04d=_0x2e3cb3;let _0x5d2e2a=undefined;return _0x50e18c['WFUIc'](isNumeric,_0x531ed4)?_0x5d2e2a=Array[_0x58c04d(0x197)](_0x5d565b[_0x58c04d(0x192)]())['find'](_0x5ba709=>_0x5ba709[_0x58c04d(0x18d)]===_0x531ed4):_0x5d2e2a=_0x5d565b['get'](_0x531ed4),_0x5d2e2a;};let _0x44ca6b=_0x50e18c[_0x2e3cb3(0x19e)](_0x265a9d);return!_0x44ca6b&&(_0x5d565b=await NTQQGroupApi[_0x2e3cb3(0x196)](_0x4a2b82),_0x44ca6b=_0x50e18c[_0x2e3cb3(0x191)](_0x265a9d)),_0x44ca6b;}export const tempGroupCodeMap={};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 8a955304..71f3efba 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x1369(_0x312d83,_0x52e6fe){var _0x4a22ce=_0x4a22();return _0x1369=function(_0x13696d,_0xe5b380){_0x13696d=_0x13696d-0x118;var _0x49d91d=_0x4a22ce[_0x13696d];return _0x49d91d;},_0x1369(_0x312d83,_0x52e6fe);}function _0x4a22(){var _0x3a5085=['OTHER','2130245LdFIAv','3277896mhNgic','2827188hKvITZ','gNNnV','pFiip','split','171498VQNpAs','18IiqnvI','VIDEO','iRVto','DOCUMENT','1004408owesAN','ioOPR','5KxSPbr','3|2|4|0|1','4942904YcSPrO','619440FkcSYe'];_0x4a22=function(){return _0x3a5085;};return _0x4a22();}(function(_0x56215f,_0x42c3b2){var _0x55ed39=_0x1369,_0x1d263c=_0x56215f();while(!![]){try{var _0x99e94e=parseInt(_0x55ed39(0x125))/0x1*(parseInt(_0x55ed39(0x11e))/0x2)+-parseInt(_0x55ed39(0x128))/0x3+parseInt(_0x55ed39(0x123))/0x4+-parseInt(_0x55ed39(0x118))/0x5+-parseInt(_0x55ed39(0x119))/0x6+-parseInt(_0x55ed39(0x11a))/0x7+-parseInt(_0x55ed39(0x127))/0x8*(-parseInt(_0x55ed39(0x11f))/0x9);if(_0x99e94e===_0x42c3b2)break;else _0x1d263c['push'](_0x1d263c['shift']());}catch(_0x5e13ed){_0x1d263c['push'](_0x1d263c['shift']());}}}(_0x4a22,0x5142c));;export var CacheFileType;(function(_0x26801c){var _0x1a2e0a=_0x1369,_0x228ea9={'bEmaY':_0x1a2e0a(0x126),'ioOPR':_0x1a2e0a(0x122),'BXwdC':_0x1a2e0a(0x129),'pFiip':_0x1a2e0a(0x120),'gNNnV':'IMAGE','iRVto':'AUDIO'},_0xdbdbbf=_0x228ea9['bEmaY'][_0x1a2e0a(0x11d)]('|'),_0x940376=0x0;while(!![]){switch(_0xdbdbbf[_0x940376++]){case'0':_0x26801c[_0x26801c[_0x228ea9[_0x1a2e0a(0x124)]]=0x3]=_0x228ea9[_0x1a2e0a(0x124)];continue;case'1':_0x26801c[_0x26801c[_0x228ea9['BXwdC']]=0x4]=_0x1a2e0a(0x129);continue;case'2':_0x26801c[_0x26801c['VIDEO']=0x1]=_0x228ea9[_0x1a2e0a(0x11c)];continue;case'3':_0x26801c[_0x26801c[_0x228ea9['gNNnV']]=0x0]=_0x228ea9[_0x1a2e0a(0x11b)];continue;case'4':_0x26801c[_0x26801c[_0x228ea9['iRVto']]=0x2]=_0x228ea9[_0x1a2e0a(0x121)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x82d6f1,_0x1dd832){var _0x578224=_0xb5e2,_0x5d6ee2=_0x82d6f1();while(!![]){try{var _0x5a4f51=-parseInt(_0x578224(0x8b))/0x1+parseInt(_0x578224(0x7a))/0x2*(-parseInt(_0x578224(0x82))/0x3)+-parseInt(_0x578224(0x85))/0x4+parseInt(_0x578224(0x84))/0x5+parseInt(_0x578224(0x83))/0x6*(-parseInt(_0x578224(0x8d))/0x7)+parseInt(_0x578224(0x89))/0x8*(-parseInt(_0x578224(0x8a))/0x9)+parseInt(_0x578224(0x7f))/0xa;if(_0x5a4f51===_0x1dd832)break;else _0x5d6ee2['push'](_0x5d6ee2['shift']());}catch(_0x29c7cd){_0x5d6ee2['push'](_0x5d6ee2['shift']());}}}(_0x417c,0x6d6e3));function _0xb5e2(_0xd26eab,_0x500603){var _0x417c9e=_0x417c();return _0xb5e2=function(_0xb5e207,_0x5d8616){_0xb5e207=_0xb5e207-0x7a;var _0x22ff59=_0x417c9e[_0xb5e207];return _0x22ff59;},_0xb5e2(_0xd26eab,_0x500603);}function _0x417c(){var _0x486dd0=['OTHER','14TrooVz','12BZLawf','VIDEO','HDWWn','UArdR','IUVtg','18480360VermPA','Azfyv','IMAGE','233463BjJIDs','2351802mVesbi','4145165JLnXil','699244MmGstQ','AUDIO','split','wVMeJ','8PuLgMm','2616192heGAjK','512483nlRulV'];_0x417c=function(){return _0x486dd0;};return _0x417c();};export var CacheFileType;(function(_0x836b1d){var _0x4f7cc8=_0xb5e2,_0x1dc981={'IUVtg':_0x4f7cc8(0x7b),'wVMeJ':'OTHER','Azfyv':'DOCUMENT','HDWWn':_0x4f7cc8(0x86),'UArdR':'IMAGE'},_0x2e4ac1='4|0|3|2|1'[_0x4f7cc8(0x87)]('|'),_0xf1ac3b=0x0;while(!![]){switch(_0x2e4ac1[_0xf1ac3b++]){case'0':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7e)]]=0x1]=_0x1dc981[_0x4f7cc8(0x7e)];continue;case'1':_0x836b1d[_0x836b1d[_0x4f7cc8(0x8c)]=0x4]=_0x1dc981[_0x4f7cc8(0x88)];continue;case'2':_0x836b1d[_0x836b1d[_0x1dc981['Azfyv']]=0x3]=_0x1dc981[_0x4f7cc8(0x80)];continue;case'3':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7c)]]=0x2]=_0x1dc981[_0x4f7cc8(0x7c)];continue;case'4':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7d)]]=0x0]=_0x4f7cc8(0x81);continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index dcc5158a..c5215a88 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x25170b=_0xa499;(function(_0x522fba,_0x58d975){const _0x20831c=_0xa499,_0x225fad=_0x522fba();while(!![]){try{const _0x596283=parseInt(_0x20831c(0x23f))/0x1*(-parseInt(_0x20831c(0x209))/0x2)+-parseInt(_0x20831c(0x217))/0x3+parseInt(_0x20831c(0x20d))/0x4+-parseInt(_0x20831c(0x226))/0x5+-parseInt(_0x20831c(0x205))/0x6+parseInt(_0x20831c(0x235))/0x7+parseInt(_0x20831c(0x228))/0x8*(parseInt(_0x20831c(0x1f5))/0x9);if(_0x596283===_0x58d975)break;else _0x225fad['push'](_0x225fad['shift']());}catch(_0x2901e6){_0x225fad['push'](_0x225fad['shift']());}}}(_0x25d4,0xd913a));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x48a67a}from'node:fs';import _0x3cde93 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0xa499(_0x2c18a0,_0x5a0ba4){const _0x25d48c=_0x25d4();return _0xa499=function(_0xa4991b,_0x52b843){_0xa4991b=_0xa4991b-0x1ec;let _0x21eb30=_0x25d48c[_0xa4991b];return _0x21eb30;},_0xa499(_0x2c18a0,_0x5a0ba4);}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x5e6b15 from'./face_config.json';import*as _0x2fce9e from'node:path';import{SignMiniApp}from'../apis';function _0x25d4(){const _0x1b45ff=['TAbUd','uploadFile','MARKDOWN','MFACE','1734915PZJCHV','whYLH','ptt','fZpnr','kqdvg','[商城表情]','wjCZf','LDOXq','toString','pic','9LSiPgH','PIC','jpg','AniStickerId','ark','stringify','markdown','catch','FACE','TCkyg','AniStickerType','sSpLg','DTXXW','RPS','join','42893901SGkxFX','Bot\x20Test','writeFile','获取视频封面失败,使用默认封面','replace','mp4','lgfEK','dice','sep','[包剪锤]','FILE','text','face','MJLiL','ayJwK','end','5220036AjmwMh','DEaid','VWyru','TEXT','298436aNRueK','LkuAB','notAt','cKaJa','4006308UnQjmH','ARK','AdFBA','width','emoji','PTT','AniStickerPackId','文件异常,大小为0','Ori','QlRJu','4372032ANrVdh','NYRXH','UzDzq','copyFile','sysface','VIDEO','then','find','_0.png','REPLY','xyymO','shjGP','rps','[骰子]','tiEQv','7279765MgZfRy','mface','8scYNZa','HyRzi','stat','video','string','PvZya','height','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','getImageSize'];_0x25d4=function(){return _0x1b45ff;};return _0x25d4();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x25170b(0x200)](_0x1d3442){const _0x3c11c2=_0x25170b;return{'elementType':ElementType[_0x3c11c2(0x208)],'elementId':'','textElement':{'content':_0x1d3442,'atType':AtType[_0x3c11c2(0x20b)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2dc82c,_0x534fc4,_0x999279,_0x521345){const _0x34338=_0x25170b;return{'elementType':ElementType[_0x34338(0x208)],'elementId':'','textElement':{'content':'@'+_0x521345,'atType':_0x999279,'atUid':_0x2dc82c,'atTinyId':'','atNtUid':_0x534fc4}};}static['reply'](_0x13ce12,_0x39fdc8,_0x5318b7,_0x2f1f3a){const _0xbfb645=_0x25170b;return{'elementType':ElementType[_0xbfb645(0x220)],'elementId':'','replyElement':{'replayMsgSeq':_0x13ce12,'replayMsgId':_0x39fdc8,'senderUin':_0x5318b7,'senderUinStr':_0x2f1f3a}};}static async[_0x25170b(0x23e)](_0x39bdfa,_0x5cdb73='',_0x288032=0x0){const _0x19b61a=_0x25170b,_0x42adca={'cKaJa':function(_0x3c9669,_0x33128a){return _0x3c9669===_0x33128a;},'kqdvg':function(_0x5420ba,_0x431b03){return _0x5420ba(_0x431b03);}},{md5:_0x3f524d,fileName:_0x3c1545,path:_0x384699,fileSize:_0xc0a29d}=await NTQQFileApi[_0x19b61a(0x232)](_0x39bdfa,ElementType[_0x19b61a(0x240)],_0x288032);if(_0x42adca[_0x19b61a(0x20c)](_0xc0a29d,0x0))throw'文件异常,大小为0';const _0x1c346b=await NTQQFileApi[_0x19b61a(0x230)](_0x39bdfa),_0xdbb34f={'md5HexStr':_0x3f524d,'fileSize':_0xc0a29d['toString'](),'picWidth':_0x1c346b?.['width'],'picHeight':_0x1c346b?.[_0x19b61a(0x22e)],'fileName':_0x3c1545,'sourcePath':_0x384699,'original':!![],'picType':_0x42adca[_0x19b61a(0x239)](isGIF,_0x39bdfa)?PicType['gif']:PicType[_0x19b61a(0x241)],'picSubType':_0x288032,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5cdb73};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0xdbb34f};}static async['file'](_0x41da3f,_0x756f3b='',_0x4bd6ba=''){const _0xe4a6a1=_0x25170b,_0x47b538={'LkuAB':function(_0x114969,_0x5c8b2f){return _0x114969===_0x5c8b2f;},'yHFpV':_0xe4a6a1(0x214),'PGGiY':function(_0x25a9ad,_0x167f88){return _0x25a9ad||_0x167f88;}},{md5:_0x13a338,fileName:_0x5cfee3,path:_0x3a64b9,fileSize:_0x31691e}=await NTQQFileApi[_0xe4a6a1(0x232)](_0x41da3f,ElementType[_0xe4a6a1(0x1ff)]);if(_0x47b538[_0xe4a6a1(0x20a)](_0x31691e,0x0))throw _0x47b538['yHFpV'];const _0x1af2e8={'elementType':ElementType[_0xe4a6a1(0x1ff)],'elementId':'','fileElement':{'fileName':_0x47b538['PGGiY'](_0x756f3b,_0x5cfee3),'folderId':_0x4bd6ba,'filePath':_0x3a64b9,'fileSize':_0x31691e[_0xe4a6a1(0x23d)]()}};return _0x1af2e8;}static async[_0x25170b(0x22b)](_0x53a2ea,_0x180c9c='',_0x133d3a=''){const _0x17cf92=_0x25170b,_0x337ea6={'VWyru':function(_0x4ffe3c,_0x1ef5f8){return _0x4ffe3c(_0x1ef5f8);},'NYRXH':function(_0x52ff3d,_0x43eba8,_0x26d45e){return _0x52ff3d(_0x43eba8,_0x26d45e);},'PvZya':_0x17cf92(0x1f8),'sSpLg':_0x17cf92(0x204),'szQcV':'error','TAbUd':function(_0x306cbd,_0x42cdad){return _0x306cbd+_0x42cdad;},'fZpnr':function(_0x4e6bd0,_0x5c2b18){return _0x4e6bd0===_0x5c2b18;},'lgfEK':'获取视频信息失败','DTXXW':function(_0x6b93df,_0x5aed77){return _0x6b93df+_0x5aed77;}},{fileName:_0x514f56,path:_0x5e9923,fileSize:_0x28f7af,md5:_0x3b3c3d}=await NTQQFileApi['uploadFile'](_0x53a2ea,ElementType['VIDEO']);if(_0x337ea6[_0x17cf92(0x238)](_0x28f7af,0x0))throw'文件异常,大小为0';let _0x219cbf=_0x5e9923[_0x17cf92(0x1f9)](_0x2fce9e['sep']+_0x17cf92(0x215)+_0x2fce9e[_0x17cf92(0x1fd)],_0x2fce9e[_0x17cf92(0x1fd)]+'Thumb'+_0x2fce9e[_0x17cf92(0x1fd)]);_0x219cbf=_0x2fce9e['dirname'](_0x219cbf);let _0x20cd46={'width':0x780,'height':0x438,'time':0xf,'format':_0x17cf92(0x1fa),'size':_0x28f7af,'filePath':_0x53a2ea};try{_0x20cd46=await _0x337ea6[_0x17cf92(0x207)](getVideoInfo,_0x5e9923);}catch(_0x5f4694){_0x337ea6['NYRXH'](logError,_0x337ea6[_0x17cf92(0x1fb)],_0x5f4694);}const _0x59201e=new Promise((_0x594470,_0x63ac32)=>{const _0x3c8c88=_0x17cf92,_0x5aa91c=_0x3b3c3d+_0x3c8c88(0x21f),_0xdb9d40=_0x2fce9e[_0x3c8c88(0x1f4)](_0x219cbf,_0x5aa91c);_0x337ea6['VWyru'](_0x3cde93,_0x53a2ea)['on'](_0x337ea6[_0x3c8c88(0x1f1)],()=>{})['on'](_0x337ea6['szQcV'],_0x25583c=>{const _0x10298b=_0x3c8c88,_0x21a3bc={'MJLiL':function(_0x599c4e,_0x4e30f5){return _0x337ea6['VWyru'](_0x599c4e,_0x4e30f5);}};_0x337ea6[_0x10298b(0x218)](logDebug,_0x337ea6[_0x10298b(0x22d)],_0x25583c),_0x133d3a?_0x48a67a[_0x10298b(0x21a)](_0x133d3a,_0xdb9d40)[_0x10298b(0x21d)](()=>{const _0x294046=_0x10298b;_0x21a3bc[_0x294046(0x202)](_0x594470,_0xdb9d40);})['catch'](_0x63ac32):_0x48a67a[_0x10298b(0x1f7)](_0xdb9d40,defaultVideoThumb)[_0x10298b(0x21d)](()=>{const _0x1192e8=_0x10298b;_0x21a3bc[_0x1192e8(0x202)](_0x594470,_0xdb9d40);})[_0x10298b(0x1ed)](_0x63ac32);})['screenshots']({'timestamps':[0x0],'filename':_0x5aa91c,'folder':_0x219cbf,'size':_0x337ea6[_0x3c8c88(0x231)](_0x20cd46[_0x3c8c88(0x210)]+'x',_0x20cd46[_0x3c8c88(0x22e)])})['on'](_0x3c8c88(0x204),()=>{_0x594470(_0xdb9d40);});}),_0x2ddfb3=new Map(),_0x262306=await _0x59201e,_0x218448=(await _0x48a67a[_0x17cf92(0x22a)](_0x262306))['size'];_0x2ddfb3['set'](0x0,_0x262306);const _0x137d1a=await _0x337ea6[_0x17cf92(0x207)](calculateFileMD5,_0x262306),_0x1db44e={'elementType':ElementType[_0x17cf92(0x21c)],'elementId':'','videoElement':{'fileName':_0x180c9c||_0x514f56,'filePath':_0x5e9923,'videoMd5':_0x3b3c3d,'thumbMd5':_0x137d1a,'fileTime':_0x20cd46['time'],'thumbPath':_0x2ddfb3,'thumbSize':_0x218448,'thumbWidth':_0x20cd46[_0x17cf92(0x210)],'thumbHeight':_0x20cd46['height'],'fileSize':_0x337ea6[_0x17cf92(0x1f2)]('',_0x28f7af)}};return _0x1db44e;}static async[_0x25170b(0x237)](_0x210ad2){const _0x37ec27=_0x25170b,_0x3293b1={'HyRzi':function(_0x80778c,_0x45f89e){return _0x80778c(_0x45f89e);},'AdFBA':'语音转换失败,\x20请检查语音文件是否正常','ayJwK':function(_0x355543,_0x12c54d){return _0x355543===_0x12c54d;},'shjGP':_0x37ec27(0x214)},{converted:_0x45f91b,path:_0x34360a,duration:_0x35c9d2}=await _0x3293b1[_0x37ec27(0x229)](encodeSilk,_0x210ad2);if(!_0x34360a)throw _0x3293b1[_0x37ec27(0x20f)];const {md5:_0x51fb86,fileName:_0x5f161e,path:_0x5142ca,fileSize:_0x3f3953}=await NTQQFileApi[_0x37ec27(0x232)](_0x34360a,ElementType[_0x37ec27(0x212)]);if(_0x3293b1[_0x37ec27(0x203)](_0x3f3953,0x0))throw _0x3293b1[_0x37ec27(0x222)];return _0x45f91b&&_0x48a67a['unlink'](_0x34360a)[_0x37ec27(0x21d)](),{'elementType':ElementType[_0x37ec27(0x212)],'elementId':'','pttElement':{'fileName':_0x5f161e,'filePath':_0x5142ca,'md5HexStr':_0x51fb86,'fileSize':_0x3f3953,'duration':_0x35c9d2||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[_0x25170b(0x201)](_0x3cec58){const _0x552324=_0x25170b,_0x169b5d={'TCkyg':function(_0x3add8e,_0xa49b55){return _0x3add8e(_0xa49b55);},'wjCZf':function(_0x10d8f8,_0x1abd08){return _0x10d8f8>=_0x1abd08;}},_0x491952=_0x5e6b15[_0x552324(0x21b)],_0x5bb291=_0x5e6b15[_0x552324(0x211)],_0x1a8f04=_0x491952[_0x552324(0x21e)](_0x52b643=>_0x52b643['QSid']===_0x3cec58[_0x552324(0x23d)]());_0x3cec58=_0x169b5d[_0x552324(0x1ef)](parseInt,_0x3cec58['toString']());let _0x13f6ce=0x1;return _0x169b5d[_0x552324(0x23b)](_0x3cec58,0xde)&&(_0x13f6ce=0x2),_0x1a8f04['AniStickerType']&&(_0x13f6ce=0x3),{'elementType':ElementType[_0x552324(0x1ee)],'elementId':'','faceElement':{'faceIndex':_0x3cec58,'faceType':_0x13f6ce,'faceText':_0x1a8f04['QDes'],'stickerId':_0x1a8f04[_0x552324(0x242)],'stickerType':_0x1a8f04[_0x552324(0x1f0)],'packId':_0x1a8f04[_0x552324(0x213)],'sourceType':0x1}};}static[_0x25170b(0x227)](_0x25d698,_0x3b387a,_0x27e19c,_0xdd0bb3){const _0x3d9479=_0x25170b;return{'elementType':ElementType[_0x3d9479(0x234)],'marketFaceElement':{'emojiPackageId':_0x25d698,'emojiId':_0x3b387a,'key':_0x27e19c,'faceName':_0xdd0bb3||mFaceCache['get'](_0x3b387a)||_0x3d9479(0x23a)}};}static[_0x25170b(0x1fc)](_0xc92aff){const _0x37c207=_0x25170b,_0x1357e0={'LDOXq':_0x37c207(0x224)};return{'elementType':ElementType[_0x37c207(0x1ee)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x37c207(0x1fc)],'faceType':FaceType[_0x37c207(0x1fc)],'faceText':_0x1357e0[_0x37c207(0x23c)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x25170b(0x223)](_0x14c2c7){const _0x54ce38=_0x25170b,_0x219490={'DEaid':_0x54ce38(0x1fe)};return{'elementType':ElementType[_0x54ce38(0x1ee)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x54ce38(0x1f3)],'faceText':_0x219490[_0x54ce38(0x206)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x25170b(0x243)](_0x4431ac){const _0x76d695=_0x25170b,_0x294ef5={'QlRJu':function(_0x21bbf7,_0x57b010){return _0x21bbf7!==_0x57b010;},'UzDzq':_0x76d695(0x22c)};return _0x294ef5[_0x76d695(0x216)](typeof _0x4431ac,_0x294ef5[_0x76d695(0x219)])&&(_0x4431ac=JSON[_0x76d695(0x244)](_0x4431ac)),{'elementType':ElementType[_0x76d695(0x20e)],'elementId':'','arkElement':{'bytesData':_0x4431ac,'linkInfo':null,'subElementType':null}};}static[_0x25170b(0x1ec)](_0x3bd9fb){const _0x4295df=_0x25170b;return{'elementType':ElementType[_0x4295df(0x233)],'elementId':'','markdownElement':{'content':_0x3bd9fb}};}static async['miniapp'](){const _0xc54915=_0x25170b,_0xaed4ab={'pqhYf':function(_0x1fe97b,_0x44187a){return _0x1fe97b(_0x44187a);},'tiEQv':_0xc54915(0x1f6),'xyymO':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','whYLH':'https://www.bilibili.com/','vLCoG':_0xc54915(0x22f)};let _0x4b04c7=await _0xaed4ab['pqhYf'](SignMiniApp,{'prompt':_0xaed4ab[_0xc54915(0x225)],'title':_0xaed4ab['tiEQv'],'preview':_0xaed4ab[_0xc54915(0x221)],'jumpUrl':_0xaed4ab[_0xc54915(0x236)],'tag':_0xaed4ab[_0xc54915(0x225)],'tagIcon':_0xaed4ab['vLCoG'],'source':_0xaed4ab[_0xc54915(0x225)],'sourcelogo':_0xc54915(0x22f)});return{'elementType':ElementType[_0xc54915(0x20e)],'elementId':'','arkElement':{'bytesData':_0x4b04c7,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +function _0x16aa(){const _0x5b30aa=['screenshots','stat','OAmdV','DGUAR','BqzBr','FACE','nyUym','oxmov','TEXT','WAAgZ','文件异常,大小为0','file','语音转换失败,\x20请检查语音文件是否正常','RPS','QSid','AniStickerId','replace','jzHsh','get','reply','join','Bot\x20Test','xrnkq','height','Thumb','1089746DXNGjn','notAt','6DNKOUn','PCWNQ','stringify','LJNoB','copyFile','404319PJqAcv','8UCxMVP','HSYDd','find','ark','PTT','1292522JlInGD','[骰子]','ARK','sep','dice','video','UFghA','[商城表情]','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','uploadFile','then','aXoPt','getImageSize','VIDEO','_0.png','wBGCm','ptt','LooiR','set','3950zdljzJ','end','jpg','PIC','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','3975345QwVIkw','string','REPLY','6381xWfdhL','3572000aQgUAh','NrHNr','text','839808xKRmYD','unlink','width','toString','fMVeE','获取视频封面失败,使用默认封面','gif','AniStickerType','FILE','markdown','size','AniStickerPackId','kAqLy','pic','mface','MFACE','lPHgI','MARKDOWN','catch'];_0x16aa=function(){return _0x5b30aa;};return _0x16aa();}const _0xcf1bcc=_0x2a33;(function(_0x2e9a6e,_0x4912dc){const _0x4445fc=_0x2a33,_0x227013=_0x2e9a6e();while(!![]){try{const _0x13713d=parseInt(_0x4445fc(0x1c0))/0x1+parseInt(_0x4445fc(0x1a1))/0x2+parseInt(_0x4445fc(0x19b))/0x3*(-parseInt(_0x4445fc(0x19c))/0x4)+-parseInt(_0x4445fc(0x1b9))/0x5+parseInt(_0x4445fc(0x196))/0x6*(-parseInt(_0x4445fc(0x194))/0x7)+parseInt(_0x4445fc(0x1bd))/0x8+-parseInt(_0x4445fc(0x1bc))/0x9*(parseInt(_0x4445fc(0x1b4))/0xa);if(_0x13713d===_0x4912dc)break;else _0x227013['push'](_0x227013['shift']());}catch(_0x157fd5){_0x227013['push'](_0x227013['shift']());}}}(_0x16aa,0x6985d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x58f9ac}from'node:fs';import _0x36523d 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 _0x5f288a from'./face_config.json';import*as _0x25e856 from'node:path';import{SignMiniApp}from'../apis';function _0x2a33(_0x489f9c,_0x48ddcb){const _0x16aa44=_0x16aa();return _0x2a33=function(_0x2a3336,_0x5e93bb){_0x2a3336=_0x2a3336-0x172;let _0x341b63=_0x16aa44[_0x2a3336];return _0x341b63;},_0x2a33(_0x489f9c,_0x48ddcb);}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0xcf1bcc(0x1bf)](_0x2c4fa4){const _0x41d846=_0xcf1bcc;return{'elementType':ElementType[_0x41d846(0x183)],'elementId':'','textElement':{'content':_0x2c4fa4,'atType':AtType[_0x41d846(0x195)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x16f754,_0x2efec4,_0x1412a2,_0x1d9ca1){const _0x130fb1=_0xcf1bcc;return{'elementType':ElementType[_0x130fb1(0x183)],'elementId':'','textElement':{'content':'@'+_0x1d9ca1,'atType':_0x1412a2,'atUid':_0x16f754,'atTinyId':'','atNtUid':_0x2efec4}};}static[_0xcf1bcc(0x18e)](_0x475d20,_0x442043,_0x5e75b9,_0x4fa11f){const _0x4c4b11=_0xcf1bcc;return{'elementType':ElementType[_0x4c4b11(0x1bb)],'elementId':'','replyElement':{'replayMsgSeq':_0x475d20,'replayMsgId':_0x442043,'senderUin':_0x5e75b9,'senderUinStr':_0x4fa11f}};}static async[_0xcf1bcc(0x175)](_0x57bfc3,_0x2280f3='',_0x291bbc=0x0){const _0x2a1055=_0xcf1bcc,_0x4c4447={'aXoPt':_0x2a1055(0x185),'CbVII':function(_0x317369,_0x5ca2b6){return _0x317369(_0x5ca2b6);}},{md5:_0x3e8816,fileName:_0x1ac446,path:_0x42aed6,fileSize:_0x24d6de}=await NTQQFileApi[_0x2a1055(0x1aa)](_0x57bfc3,ElementType[_0x2a1055(0x1b7)],_0x291bbc);if(_0x24d6de===0x0)throw _0x4c4447[_0x2a1055(0x1ac)];const _0x5b5128=await NTQQFileApi[_0x2a1055(0x1ad)](_0x57bfc3),_0x27c190={'md5HexStr':_0x3e8816,'fileSize':_0x24d6de[_0x2a1055(0x1c3)](),'picWidth':_0x5b5128?.['width'],'picHeight':_0x5b5128?.['height'],'fileName':_0x1ac446,'sourcePath':_0x42aed6,'original':!![],'picType':_0x4c4447['CbVII'](isGIF,_0x57bfc3)?PicType[_0x2a1055(0x1c6)]:PicType[_0x2a1055(0x1b6)],'picSubType':_0x291bbc,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2280f3};return{'elementType':ElementType[_0x2a1055(0x1b7)],'elementId':'','picElement':_0x27c190};}static async[_0xcf1bcc(0x186)](_0x273dca,_0x474c2f='',_0x33e179=''){const _0x22939b=_0xcf1bcc,_0x3d12c3={'lPHgI':_0x22939b(0x185),'jzHsh':function(_0x22e1f0,_0x417a95){return _0x22e1f0||_0x417a95;}},{md5:_0x5be01b,fileName:_0x3c63a6,path:_0x2cb72a,fileSize:_0x1d5bd9}=await NTQQFileApi[_0x22939b(0x1aa)](_0x273dca,ElementType[_0x22939b(0x1c8)]);if(_0x1d5bd9===0x0)throw _0x3d12c3[_0x22939b(0x178)];const _0x5db8cf={'elementType':ElementType[_0x22939b(0x1c8)],'elementId':'','fileElement':{'fileName':_0x3d12c3[_0x22939b(0x18c)](_0x474c2f,_0x3c63a6),'folderId':_0x33e179,'filePath':_0x2cb72a,'fileSize':_0x1d5bd9[_0x22939b(0x1c3)]()}};return _0x5db8cf;}static async[_0xcf1bcc(0x1a6)](_0x4d5545,_0x5343ef='',_0x163312=''){const _0x385a83=_0xcf1bcc,_0x3166cb={'ronDu':function(_0x5f29c6,_0x3de5f8,_0x2c5d1b){return _0x5f29c6(_0x3de5f8,_0x2c5d1b);},'Kzlge':_0x385a83(0x1c5),'kAqLy':function(_0x385a03,_0x549407){return _0x385a03(_0x549407);},'xrnkq':'error','WAAgZ':function(_0x4440a2,_0x27960e){return _0x4440a2+_0x27960e;},'UFghA':'end','PCWNQ':function(_0xf02374,_0x2b93e7){return _0xf02374===_0x2b93e7;},'BqzBr':_0x385a83(0x185),'DtAng':'mp4','nyUym':function(_0x38d9b0,_0x1e2e44,_0x172bcc){return _0x38d9b0(_0x1e2e44,_0x172bcc);},'LooiR':'获取视频信息失败','NrHNr':function(_0x6f2a98,_0x2de727){return _0x6f2a98(_0x2de727);},'DGUAR':function(_0x4c8c27,_0x48bb8d){return _0x4c8c27||_0x48bb8d;}},{fileName:_0x24dd35,path:_0x112185,fileSize:_0x3f4372,md5:_0x4d0238}=await NTQQFileApi[_0x385a83(0x1aa)](_0x4d5545,ElementType[_0x385a83(0x1ae)]);if(_0x3166cb[_0x385a83(0x197)](_0x3f4372,0x0))throw _0x3166cb[_0x385a83(0x17f)];let _0x1f6d0d=_0x112185[_0x385a83(0x18b)](_0x25e856['sep']+'Ori'+_0x25e856[_0x385a83(0x1a4)],_0x25e856['sep']+_0x385a83(0x193)+_0x25e856[_0x385a83(0x1a4)]);_0x1f6d0d=_0x25e856['dirname'](_0x1f6d0d);let _0x4089c6={'width':0x780,'height':0x438,'time':0xf,'format':_0x3166cb['DtAng'],'size':_0x3f4372,'filePath':_0x4d5545};try{_0x4089c6=await _0x3166cb[_0x385a83(0x174)](getVideoInfo,_0x112185);}catch(_0x593b57){_0x3166cb[_0x385a83(0x181)](logError,_0x3166cb[_0x385a83(0x1b2)],_0x593b57);}const _0x18e5d1=new Promise((_0x560dbe,_0x5946ad)=>{const _0x1fa102=_0x385a83,_0x1c6613={'MZgXs':function(_0x38058f,_0x23d066){const _0x119215=_0x2a33;return _0x3166cb[_0x119215(0x174)](_0x38058f,_0x23d066);}},_0x55582c=_0x4d0238+_0x1fa102(0x1af),_0x2d562e=_0x25e856[_0x1fa102(0x18f)](_0x1f6d0d,_0x55582c);_0x3166cb[_0x1fa102(0x174)](_0x36523d,_0x4d5545)['on'](_0x1fa102(0x1b5),()=>{})['on'](_0x3166cb[_0x1fa102(0x191)],_0x171fef=>{const _0x41a917=_0x1fa102;_0x3166cb['ronDu'](logDebug,_0x3166cb['Kzlge'],_0x171fef),_0x163312?_0x58f9ac[_0x41a917(0x19a)](_0x163312,_0x2d562e)['then'](()=>{_0x560dbe(_0x2d562e);})['catch'](_0x5946ad):_0x58f9ac['writeFile'](_0x2d562e,defaultVideoThumb)[_0x41a917(0x1ab)](()=>{_0x1c6613['MZgXs'](_0x560dbe,_0x2d562e);})[_0x41a917(0x17a)](_0x5946ad);})[_0x1fa102(0x17b)]({'timestamps':[0x0],'filename':_0x55582c,'folder':_0x1f6d0d,'size':_0x3166cb[_0x1fa102(0x184)](_0x3166cb[_0x1fa102(0x184)](_0x4089c6[_0x1fa102(0x1c2)],'x'),_0x4089c6['height'])})['on'](_0x3166cb[_0x1fa102(0x1a7)],()=>{const _0x2aa7ae=_0x1fa102;_0x3166cb[_0x2aa7ae(0x174)](_0x560dbe,_0x2d562e);});}),_0x49be4b=new Map(),_0x1a6b04=await _0x18e5d1,_0x3be2b0=(await _0x58f9ac[_0x385a83(0x17c)](_0x1a6b04))[_0x385a83(0x172)];_0x49be4b[_0x385a83(0x1b3)](0x0,_0x1a6b04);const _0x420600=await _0x3166cb[_0x385a83(0x1be)](calculateFileMD5,_0x1a6b04),_0x453fb1={'elementType':ElementType[_0x385a83(0x1ae)],'elementId':'','videoElement':{'fileName':_0x3166cb[_0x385a83(0x17e)](_0x5343ef,_0x24dd35),'filePath':_0x112185,'videoMd5':_0x4d0238,'thumbMd5':_0x420600,'fileTime':_0x4089c6['time'],'thumbPath':_0x49be4b,'thumbSize':_0x3be2b0,'thumbWidth':_0x4089c6['width'],'thumbHeight':_0x4089c6[_0x385a83(0x192)],'fileSize':_0x3166cb[_0x385a83(0x184)]('',_0x3f4372)}};return _0x453fb1;}static async[_0xcf1bcc(0x1b1)](_0x14da92){const _0x36774e=_0xcf1bcc,_0x80a326={'OAmdV':'文件异常,大小为0'},{converted:_0x4bf53d,path:_0x3549d8,duration:_0x5871aa}=await encodeSilk(_0x14da92);if(!_0x3549d8)throw _0x36774e(0x187);const {md5:_0x22a588,fileName:_0x2a3399,path:_0x568cb8,fileSize:_0x4e044b}=await NTQQFileApi[_0x36774e(0x1aa)](_0x3549d8,ElementType[_0x36774e(0x1a0)]);if(_0x4e044b===0x0)throw _0x80a326[_0x36774e(0x17d)];return _0x4bf53d&&_0x58f9ac[_0x36774e(0x1c1)](_0x3549d8)[_0x36774e(0x1ab)](),{'elementType':ElementType[_0x36774e(0x1a0)],'elementId':'','pttElement':{'fileName':_0x2a3399,'filePath':_0x568cb8,'md5HexStr':_0x22a588,'fileSize':_0x4e044b,'duration':_0x5871aa||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'](_0x15f141){const _0x41577a=_0xcf1bcc,_0x5726b5={'GujZv':function(_0x28c4a5,_0xfc2bab){return _0x28c4a5>=_0xfc2bab;}},_0x4a4e6f=_0x5f288a['sysface'],_0x201c4c=_0x5f288a['emoji'],_0x10e007=_0x4a4e6f[_0x41577a(0x19e)](_0x41abbe=>_0x41abbe[_0x41577a(0x189)]===_0x15f141['toString']());_0x15f141=parseInt(_0x15f141[_0x41577a(0x1c3)]());let _0x3fcb48=0x1;return _0x5726b5['GujZv'](_0x15f141,0xde)&&(_0x3fcb48=0x2),_0x10e007['AniStickerType']&&(_0x3fcb48=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x15f141,'faceType':_0x3fcb48,'faceText':_0x10e007['QDes'],'stickerId':_0x10e007[_0x41577a(0x18a)],'stickerType':_0x10e007[_0x41577a(0x1c7)],'packId':_0x10e007[_0x41577a(0x173)],'sourceType':0x1}};}static[_0xcf1bcc(0x176)](_0x59aa4d,_0x3b0346,_0x478f35,_0x40a5c2){const _0x3b7324=_0xcf1bcc,_0x50e3ff={'HSYDd':_0x3b7324(0x1a8)};return{'elementType':ElementType[_0x3b7324(0x177)],'marketFaceElement':{'emojiPackageId':_0x59aa4d,'emojiId':_0x3b0346,'key':_0x478f35,'faceName':_0x40a5c2||mFaceCache[_0x3b7324(0x18d)](_0x3b0346)||_0x50e3ff[_0x3b7324(0x19d)]}};}static[_0xcf1bcc(0x1a5)](_0x3bf631){const _0x2af76a=_0xcf1bcc,_0x3a339b={'fMVeE':_0x2af76a(0x1a2)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2af76a(0x1a5)],'faceType':FaceType[_0x2af76a(0x1a5)],'faceText':_0x3a339b[_0x2af76a(0x1c4)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x4a5364){const _0x214a01=_0xcf1bcc;return{'elementType':ElementType[_0x214a01(0x180)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x214a01(0x188)],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xcf1bcc(0x19f)](_0x1d5271){const _0x1755bb=_0xcf1bcc,_0x20d8e4={'wBGCm':_0x1755bb(0x1ba)};return typeof _0x1d5271!==_0x20d8e4[_0x1755bb(0x1b0)]&&(_0x1d5271=JSON[_0x1755bb(0x198)](_0x1d5271)),{'elementType':ElementType[_0x1755bb(0x1a3)],'elementId':'','arkElement':{'bytesData':_0x1d5271,'linkInfo':null,'subElementType':null}};}static[_0xcf1bcc(0x1c9)](_0xee7189){const _0x500e4e=_0xcf1bcc;return{'elementType':ElementType[_0x500e4e(0x179)],'elementId':'','markdownElement':{'content':_0xee7189}};}static async['miniapp'](){const _0x447cc2=_0xcf1bcc,_0x17b1b6={'OXLaO':function(_0x30f47d,_0x2b7ec5){return _0x30f47d(_0x2b7ec5);},'LJNoB':_0x447cc2(0x190),'oxmov':'https://www.bilibili.com/','iWqgw':_0x447cc2(0x1a9)};let _0xf4adb=await _0x17b1b6['OXLaO'](SignMiniApp,{'prompt':_0x17b1b6[_0x447cc2(0x199)],'title':_0x17b1b6[_0x447cc2(0x199)],'preview':_0x447cc2(0x1b8),'jumpUrl':_0x17b1b6[_0x447cc2(0x182)],'tag':_0x17b1b6[_0x447cc2(0x199)],'tagIcon':_0x447cc2(0x1a9),'source':_0x17b1b6[_0x447cc2(0x199)],'sourcelogo':_0x17b1b6['iWqgw']});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0xf4adb,'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 d2535914..3af39153 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x58a347,_0x4ebfc5){var _0x30be56=_0x539f,_0x1a5ae0=_0x58a347();while(!![]){try{var _0x1c1502=-parseInt(_0x30be56(0x157))/0x1*(parseInt(_0x30be56(0x15e))/0x2)+-parseInt(_0x30be56(0x155))/0x3+parseInt(_0x30be56(0x152))/0x4+-parseInt(_0x30be56(0x153))/0x5*(parseInt(_0x30be56(0x15b))/0x6)+-parseInt(_0x30be56(0x151))/0x7*(parseInt(_0x30be56(0x156))/0x8)+-parseInt(_0x30be56(0x15d))/0x9+parseInt(_0x30be56(0x150))/0xa;if(_0x1c1502===_0x4ebfc5)break;else _0x1a5ae0['push'](_0x1a5ae0['shift']());}catch(_0x24807b){_0x1a5ae0['push'](_0x1a5ae0['shift']());}}}(_0x3723,0xa01b7));export var GroupMemberRole;function _0x539f(_0x1545ec,_0x44ba99){var _0x37234d=_0x3723();return _0x539f=function(_0x539ff4,_0x328ad6){_0x539ff4=_0x539ff4-0x150;var _0x2deaf9=_0x37234d[_0x539ff4];return _0x2deaf9;},_0x539f(_0x1545ec,_0x44ba99);}(function(_0x615924){var _0x68ca17=_0x539f,_0x5d8ebe={'GAAZY':_0x68ca17(0x154),'dNFnJ':_0x68ca17(0x15a)};_0x615924[_0x615924[_0x5d8ebe[_0x68ca17(0x159)]]=0x2]=_0x5d8ebe[_0x68ca17(0x159)],_0x615924[_0x615924[_0x5d8ebe[_0x68ca17(0x15c)]]=0x3]=_0x5d8ebe['dNFnJ'],_0x615924[_0x615924[_0x68ca17(0x158)]=0x4]=_0x68ca17(0x158);}(GroupMemberRole||(GroupMemberRole={})));function _0x3723(){var _0x37b5e6=['GAAZY','admin','6RazHij','dNFnJ','6821784UqNueQ','340tdasnk','36408550SBSzDg','147uaSxrj','3617648FwnboC','3190405dPVNlq','normal','3420714reYCoU','276264tnptTY','3694orkYCu','owner'];_0x3723=function(){return _0x37b5e6;};return _0x3723();} \ No newline at end of file +(function(_0x3dced5,_0x2c485b){var _0x281449=_0x490f,_0x1845dc=_0x3dced5();while(!![]){try{var _0x280f18=parseInt(_0x281449(0x1f9))/0x1+parseInt(_0x281449(0x1fc))/0x2*(-parseInt(_0x281449(0x1ef))/0x3)+parseInt(_0x281449(0x1f1))/0x4+parseInt(_0x281449(0x1f2))/0x5+parseInt(_0x281449(0x1f8))/0x6*(parseInt(_0x281449(0x1f7))/0x7)+-parseInt(_0x281449(0x1f0))/0x8*(parseInt(_0x281449(0x1fb))/0x9)+-parseInt(_0x281449(0x1f3))/0xa;if(_0x280f18===_0x2c485b)break;else _0x1845dc['push'](_0x1845dc['shift']());}catch(_0x2218a4){_0x1845dc['push'](_0x1845dc['shift']());}}}(_0x16e1,0xed685));function _0x16e1(){var _0x351aeb=['8834FZxmdg','5178fSiXKj','852105DqaKVI','ZxGYB','9xcRocm','8530brQQwl','582kRxwhY','2242008fVhKMy','655756IUMRdV','7581785RzWlWM','15414250dicBGg','owner','admin','MQuiD'];_0x16e1=function(){return _0x351aeb;};return _0x16e1();}function _0x490f(_0x2673cc,_0x41ddd2){var _0x16e1e0=_0x16e1();return _0x490f=function(_0x490f37,_0x3fe4d6){_0x490f37=_0x490f37-0x1ef;var _0xcce750=_0x16e1e0[_0x490f37];return _0xcce750;},_0x490f(_0x2673cc,_0x41ddd2);}export var GroupMemberRole;(function(_0x2b0afc){var _0x35d605=_0x490f,_0x25276f={'ZxGYB':'normal','MQuiD':_0x35d605(0x1f4)};_0x2b0afc[_0x2b0afc[_0x25276f[_0x35d605(0x1fa)]]=0x2]='normal',_0x2b0afc[_0x2b0afc['admin']=0x3]=_0x35d605(0x1f5),_0x2b0afc[_0x2b0afc[_0x25276f[_0x35d605(0x1f6)]]=0x4]=_0x35d605(0x1f4);}(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 6e22a9d5..039c4820 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x833f2b,_0x17dc63){var _0x410bfd=_0x4e0a,_0x545a68=_0x833f2b();while(!![]){try{var _0x6acc90=-parseInt(_0x410bfd(0x140))/0x1+parseInt(_0x410bfd(0x141))/0x2+parseInt(_0x410bfd(0x147))/0x3*(parseInt(_0x410bfd(0x145))/0x4)+-parseInt(_0x410bfd(0x142))/0x5*(parseInt(_0x410bfd(0x13f))/0x6)+parseInt(_0x410bfd(0x143))/0x7+-parseInt(_0x410bfd(0x146))/0x8+-parseInt(_0x410bfd(0x148))/0x9*(-parseInt(_0x410bfd(0x144))/0xa);if(_0x6acc90===_0x17dc63)break;else _0x545a68['push'](_0x545a68['shift']());}catch(_0x2e0baf){_0x545a68['push'](_0x545a68['shift']());}}}(_0x594b,0x3ceee));export*from'./user';export*from'./group';export*from'./msg';function _0x4e0a(_0x5865f1,_0x2d30da){var _0x594bcd=_0x594b();return _0x4e0a=function(_0x4e0a1f,_0x28dbf3){_0x4e0a1f=_0x4e0a1f-0x13f;var _0x7ec087=_0x594bcd[_0x4e0a1f];return _0x7ec087;},_0x4e0a(_0x5865f1,_0x2d30da);}function _0x594b(){var _0x32ca0e=['818110KsbxIa','29105kVfoHK','1822499FJygJO','2630DlKcHP','67692axpZfs','2580696QpCGsT','12XHoCQn','16668ilKMiI','498HhpbCq','168868FdrAZt'];_0x594b=function(){return _0x32ca0e;};return _0x594b();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +function _0x5436(){var _0x7e1d96=['525aRNMDk','24774ADzSFE','1768vSmtSK','389939GpYsiX','134193FNvady','18092WAsbnc','6363pEYOTQ','3418800fZnBvW','35dOEdLr','99192ZpRgWp'];_0x5436=function(){return _0x7e1d96;};return _0x5436();}(function(_0x24b220,_0x3310bf){var _0xd69dd6=_0x3bbe,_0x47a565=_0x24b220();while(!![]){try{var _0x1e1718=-parseInt(_0xd69dd6(0x175))/0x1+parseInt(_0xd69dd6(0x171))/0x2+-parseInt(_0xd69dd6(0x176))/0x3+parseInt(_0xd69dd6(0x177))/0x4*(parseInt(_0xd69dd6(0x172))/0x5)+parseInt(_0xd69dd6(0x173))/0x6*(parseInt(_0xd69dd6(0x170))/0x7)+parseInt(_0xd69dd6(0x174))/0x8*(-parseInt(_0xd69dd6(0x178))/0x9)+parseInt(_0xd69dd6(0x16f))/0xa;if(_0x1e1718===_0x3310bf)break;else _0x47a565['push'](_0x47a565['shift']());}catch(_0x431aba){_0x47a565['push'](_0x47a565['shift']());}}}(_0x5436,0x484b7));export*from'./user';export*from'./group';function _0x3bbe(_0x568205,_0x2896c0){var _0x543655=_0x5436();return _0x3bbe=function(_0x3bbe58,_0x440211){_0x3bbe58=_0x3bbe58-0x16f;var _0x526ba1=_0x543655[_0x3bbe58];return _0x526ba1;},_0x3bbe(_0x568205,_0x2896c0);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index f4ee5bbc..51a3dd64 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x4d00ca=_0x1297;(function(_0x1bf004,_0x552004){var _0x456e96=_0x1297,_0x3e2143=_0x1bf004();while(!![]){try{var _0x280bbb=parseInt(_0x456e96(0xbc))/0x1+-parseInt(_0x456e96(0xb9))/0x2+parseInt(_0x456e96(0xce))/0x3+-parseInt(_0x456e96(0xe9))/0x4*(parseInt(_0x456e96(0x92))/0x5)+parseInt(_0x456e96(0x84))/0x6*(parseInt(_0x456e96(0xf9))/0x7)+parseInt(_0x456e96(0xfe))/0x8*(parseInt(_0x456e96(0x7c))/0x9)+parseInt(_0x456e96(0xae))/0xa;if(_0x280bbb===_0x552004)break;else _0x3e2143['push'](_0x3e2143['shift']());}catch(_0x45d4bc){_0x3e2143['push'](_0x3e2143['shift']());}}}(_0xa491,0x3f8e3));export var ElementType;(function(_0x20f61e){var _0x27c0e0=_0x1297,_0xdd56ad={'odjDA':_0x27c0e0(0x96),'BWJkD':_0x27c0e0(0xe8),'tYuhp':'TEXT','rnOiJ':_0x27c0e0(0x91),'sTALN':_0x27c0e0(0xfd),'HVJyW':_0x27c0e0(0xd3),'igbII':'ARK','sShyn':_0x27c0e0(0xd8),'OXXPa':'PTT','EisyU':'PIC'},_0x4a1544='2|9|3|8|0|4|1|6|5|7'['split']('|'),_0x559eb8=0x0;while(!![]){switch(_0x4a1544[_0x559eb8++]){case'0':_0x20f61e[_0x20f61e[_0xdd56ad['odjDA']]=0x5]=_0xdd56ad[_0x27c0e0(0xbf)];continue;case'1':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xbd)]]=0x7]=_0xdd56ad[_0x27c0e0(0xbd)];continue;case'2':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xe3)]]=0x1]=_0x27c0e0(0xed);continue;case'3':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0x9b)]]=0x3]=_0xdd56ad['rnOiJ'];continue;case'4':_0x20f61e[_0x20f61e[_0x27c0e0(0xfd)]=0x6]=_0xdd56ad[_0x27c0e0(0x94)];continue;case'5':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xd0)]]=0xb]=_0xdd56ad[_0x27c0e0(0xd0)];continue;case'6':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xb7)]]=0xa]=_0xdd56ad[_0x27c0e0(0xb7)];continue;case'7':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0x83)]]=0xe]='MARKDOWN';continue;case'8':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xa6)]]=0x4]=_0xdd56ad['OXXPa'];continue;case'9':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xcb)]]=0x2]=_0xdd56ad[_0x27c0e0(0xcb)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x422260){var _0x41ecaa=_0x1297,_0x4f522c={'VvyWw':_0x41ecaa(0xb5),'Wluwd':_0x41ecaa(0xb6)};_0x422260[_0x422260[_0x4f522c[_0x41ecaa(0x8f)]]=0x7d0]=_0x4f522c[_0x41ecaa(0x8f)],_0x422260[_0x422260[_0x4f522c[_0x41ecaa(0x9d)]]=0x3e8]=_0x4f522c[_0x41ecaa(0x9d)];}(PicType||(PicType={})));export var PicSubType;function _0xa491(){var _0x51ab0b=['KCHATTYPECIRCLE','KCHATTYPESQUAREPUBLIC','QnZLp','split','Hdbbw','KCHATTYPENEARBYHELLOFOLDER','5599880CjsEjF','group','INVITE_NEW_MEMBER','SHYhv','face','https://multimedia.nt.qq.com.cn','WFwdl','gif','jpg','igbII','AiaBQ','892296CxyCgt','QSgZM','normal2','3694qrGZNw','BWJkD','bXIjw','odjDA','zRWwI','mCink','KCHATTYPESERVICEASSISTANTSUB','iOGjA','dice','ImbNF','xftGC','KCHATTYPEGROUPGUILD','NDyxE','otbcd','KCHATTYPEC2C','EisyU','mWDYF','friend','602889eNPkKm','Jruvn','HVJyW','VIDEO_FORMAT_RM','yfHas','MFACE','kidur','atAll','KCHATTYPEDISC','KCHATTYPEMATCHFRIENDFOLDER','MARKDOWN','VIDEO_FORMAT_RMVB','Vcbuv','RtIyq','hCmFB','6|10|8|5|9|4|2|0|3|1|7','temp','TZrxo','https://gchat.qpic.cn','KsyDP','GQZKc','tYuhp','KCHATTYPETEMPC2CFROMUNKNOWN','KCHATTYPEUNKNOWN','KCHATTYPESERVICEASSISTANT','oDVUF','REPLY','20siOGVg','VIDEO_FORMAT_AFS','Izklp','AWMeg','TEXT','KCHATTYPEGROUP','joffG','KCHATTYPEFAV','kicked','KCHATTYPENEARBYINTERACT','VIDEO_FORMAT_MOD','cuMDI','hcGjG','memberIncrease','VIDEO_FORMAT_MKV','AezDW','2108372FffgjE','normal','sBUTM','chatDevice','FACE','36720WySRna','KCHATTYPEQQNOTIFY','Qfrhq','KCHATTYPEGAMEMESSAGEFOLDER','uXNdV','yNuvX','CPCqA','CunFf','notAt','VIDEO_FORMAT_MOV','KCHATTYPEDATALINEMQQ','KCHATTYPETEMPNEARBYPRO','KCHATTYPEGAMEMESSAGE','297sMUidJ','jXoiY','hJCQf','KCHATTYPEBUDDYNOTIFY','KCHATTYPEMATCHFRIEND','RPS','MdarR','sShyn','6QWrexi','KCHATTYPESUBSCRIBEFOLDER','BcPZz','atUser','wfPhO','qvKMt','KCHATTYPEGUILDMETA','zqEnF','KCHATTYPEWEIYUN','KCHATTYPETEMPBUSSINESSCRM','VnAMM','VvyWw','CBLtT','FILE','510840owCHyD','KCHATTYPENEARBY','sTALN','bjJHi','VIDEO','ijhQV','ZMwrS','KCHATTYPEADELIE','NLDBx','rnOiJ','KCHATTYPEGUILD','Wluwd','KCHATTYPERELATEACCOUNT','IFMfb','wouDE','VIDEO_FORMAT_MTS','bGkST','KCHATTYPETEMPWPA','KCHATTYPETEMPPUBLICACCOUNT','VIDEO_FORMAT_MP4','OXXPa','KCHATTYPEGROUPNOTIFY'];_0xa491=function(){return _0x51ab0b;};return _0xa491();}(function(_0x348f9f){var _0x55d07a=_0x1297,_0x58aa62={'AezDW':_0x55d07a(0xfa),'CunFf':_0x55d07a(0xb2)};_0x348f9f[_0x348f9f[_0x55d07a(0xfa)]=0x0]=_0x58aa62[_0x55d07a(0xf8)],_0x348f9f[_0x348f9f[_0x58aa62[_0x55d07a(0x76)]]=0x1]=_0x58aa62[_0x55d07a(0x76)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3fe3fa){var _0x105e37=_0x1297,_0x1fb1a6={'otbcd':_0x105e37(0x77),'iOGjA':_0x105e37(0xd5),'mWDYF':_0x105e37(0x87)};_0x3fe3fa[_0x3fe3fa[_0x1fb1a6[_0x105e37(0xc9)]]=0x0]=_0x1fb1a6[_0x105e37(0xc9)],_0x3fe3fa[_0x3fe3fa[_0x1fb1a6[_0x105e37(0xc3)]]=0x1]=_0x1fb1a6[_0x105e37(0xc3)],_0x3fe3fa[_0x3fe3fa[_0x105e37(0x87)]=0x2]=_0x1fb1a6[_0x105e37(0xcc)];}(AtType||(AtType={})));export var ChatType;(function(_0x5e1bc1){var _0x315ad5=_0x1297,_0x2ca66e={'yNuvX':'friend','QnZLp':_0x315ad5(0xfc)};_0x5e1bc1[_0x5e1bc1[_0x315ad5(0xcd)]=0x1]=_0x2ca66e[_0x315ad5(0x74)],_0x5e1bc1[_0x5e1bc1[_0x315ad5(0xaf)]=0x2]=_0x315ad5(0xaf),_0x5e1bc1[_0x5e1bc1[_0x2ca66e[_0x315ad5(0xaa)]]=0x8]=_0x2ca66e[_0x315ad5(0xaa)],_0x5e1bc1[_0x5e1bc1[_0x315ad5(0xde)]=0x64]=_0x315ad5(0xde);}(ChatType||(ChatType={})));export var ChatType2;(function(_0x19dc8a){var _0x3a53f1=_0x1297,_0x534755={'zmhuQ':'6|16|39|2|24|33|8|25|17|0|7|23|34|35|31|27|4|18|30|32|10|22|11|3|12|5|29|38|1|20|37|21|15|13|19|9|26|14|28|36','Vcbuv':_0x3a53f1(0x72),'GzlnS':_0x3a53f1(0xa9),'AWMeg':_0x3a53f1(0xa8),'AiaBQ':_0x3a53f1(0xf2),'GQZKc':_0x3a53f1(0x8a),'MhoQH':_0x3a53f1(0x99),'snXdJ':_0x3a53f1(0xee),'TZrxo':_0x3a53f1(0xd6),'yfHas':_0x3a53f1(0x7a),'KsyDP':'KCHATTYPENEARBYASSISTANT','MdarR':_0x3a53f1(0xad),'wfPhO':_0x3a53f1(0xe4),'wouDE':'KCHATTYPETEMPWPA','hJCQf':'KCHATTYPETEMPC2CFROMGROUP','NDyxE':_0x3a53f1(0x7f),'Izklp':_0x3a53f1(0x7b),'bXIjw':_0x3a53f1(0x80),'jXoiY':'KCHATTYPETEMPFRIENDVERIFY','zRWwI':_0x3a53f1(0x85),'mCink':_0x3a53f1(0x8d),'oDVUF':'KCHATTYPENEARBYFOLDER','bjJHi':'KCHATTYPEGROUPBLESS','NLDBx':'KCHATTYPEDATALINE','QSgZM':_0x3a53f1(0xf0),'qvKMt':_0x3a53f1(0xa4),'RtIyq':_0x3a53f1(0x9c),'Hdbbw':_0x3a53f1(0xe5),'uXNdV':_0x3a53f1(0xe6),'UFlMU':_0x3a53f1(0xd7),'DIOSI':_0x3a53f1(0xa7),'kidur':_0x3a53f1(0x93),'CBLtT':_0x3a53f1(0x79),'VnAMM':'KCHATTYPEGROUPGUILD','gLlvY':'KCHATTYPEGROUPHELPER','ZMwrS':_0x3a53f1(0x8c),'BcPZz':'KCHATTYPETEMPADDRESSBOOK','xftGC':_0x3a53f1(0xca)},_0x4ff066=_0x534755['zmhuQ']['split']('|'),_0x4f5953=0x0;while(!![]){switch(_0x4ff066[_0x4f5953++]){case'0':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xda)]]=0x74]=_0x3a53f1(0x72);continue;case'1':_0x19dc8a[_0x19dc8a[_0x534755['GzlnS']]=0x73]=_0x3a53f1(0xa9);continue;case'2':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xec)]]=0x71]=_0x534755[_0x3a53f1(0xec)];continue;case'3':_0x19dc8a[_0x19dc8a[_0x534755['AiaBQ']]=0x6c]=_0x534755[_0x3a53f1(0xb8)];continue;case'4':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xe2)]]=0x10]=_0x3a53f1(0x8a);continue;case'5':_0x19dc8a[_0x19dc8a[_0x3a53f1(0x9e)]=0x83]=_0x3a53f1(0x9e);continue;case'6':_0x19dc8a[_0x19dc8a[_0x534755['MhoQH']]=0x2a]=_0x534755['MhoQH'];continue;case'7':_0x19dc8a[_0x19dc8a[_0x534755['snXdJ']]=0x2]=_0x3a53f1(0xee);continue;case'8':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xd6)]=0x3]=_0x534755[_0x3a53f1(0xdf)];continue;case'9':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xd2)]]=0x77]=_0x3a53f1(0x7a);continue;case'10':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xe1)]]=0x6b]=_0x534755[_0x3a53f1(0xe1)];continue;case'11':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xad)]=0x70]=_0x534755[_0x3a53f1(0x82)];continue;case'12':_0x19dc8a[_0x19dc8a[_0x3a53f1(0x70)]=0x84]=_0x3a53f1(0x70);continue;case'13':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x88)]]=0x63]=_0x534755[_0x3a53f1(0x88)];continue;case'14':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xa0)]]=0x75]=_0x3a53f1(0xa3);continue;case'15':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x7e)]]=0x64]=_0x534755[_0x3a53f1(0x7e)];continue;case'16':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xc8)]]=0x5]=_0x534755[_0x3a53f1(0xc8)];continue;case'17':_0x19dc8a[_0x19dc8a[_0x3a53f1(0x7b)]=0x69]=_0x534755[_0x3a53f1(0xeb)];continue;case'18':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xbe)]]=0x68]=_0x534755[_0x3a53f1(0xbe)];continue;case'19':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x7d)]]=0x65]=_0x534755[_0x3a53f1(0x7d)];continue;case'20':_0x19dc8a[_0x19dc8a[_0x534755['zRWwI']]=0x1e]=_0x534755[_0x3a53f1(0xc0)];continue;case'21':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xc1)]]=0x66]=_0x534755[_0x3a53f1(0xc1)];continue;case'22':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xe7)]]=0x6e]=_0x534755[_0x3a53f1(0xe7)];continue;case'23':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x95)]]=0x85]='KCHATTYPEGROUPBLESS';continue;case'24':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x9a)]]=0x8]=_0x534755[_0x3a53f1(0x9a)];continue;case'25':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xf0)]=0x29]=_0x534755[_0x3a53f1(0xba)];continue;case'26':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x89)]]=0x67]='KCHATTYPETEMPPUBLICACCOUNT';continue;case'27':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xdb)]]=0x4]=_0x3a53f1(0x9c);continue;case'28':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xac)]]=0x0]=_0x534755[_0x3a53f1(0xac)];continue;case'29':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x73)]]=0x76]=_0x534755[_0x3a53f1(0x73)];continue;case'30':_0x19dc8a[_0x19dc8a[_0x534755['UFlMU']]=0x6d]=_0x3a53f1(0xd7);continue;case'31':_0x19dc8a[_0x19dc8a[_0x534755['DIOSI']]=0x6]='KCHATTYPEGROUPNOTIFY';continue;case'32':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xd4)]]=0x6a]=_0x3a53f1(0x93);continue;case'33':_0x19dc8a[_0x19dc8a[_0x534755['CBLtT']]=0x86]=_0x534755[_0x3a53f1(0x90)];continue;case'34':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xc7)]=0x9]=_0x534755[_0x3a53f1(0x8e)];continue;case'35':_0x19dc8a[_0x19dc8a[_0x534755['gLlvY']]=0x7]='KCHATTYPEGROUPHELPER';continue;case'36':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x98)]]=0x28]=_0x534755[_0x3a53f1(0x98)];continue;case'37':_0x19dc8a[_0x19dc8a['KCHATTYPETEMPADDRESSBOOK']=0x6f]=_0x534755[_0x3a53f1(0x86)];continue;case'38':_0x19dc8a[_0x19dc8a['KCHATTYPESERVICEASSISTANTSUB']=0xc9]=_0x3a53f1(0xc2);continue;case'39':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xca)]=0x1]=_0x534755[_0x3a53f1(0xc6)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x4d00ca(0xe0);export const IMAGE_HTTP_HOST_NT=_0x4d00ca(0xb3);export var GrayTipElementSubType;(function(_0x347941){var _0xb6cc11=_0x4d00ca,_0x44369d={'hCmFB':_0xb6cc11(0xb0),'hcGjG':'MEMBER_NEW_TITLE'};_0x347941[_0x347941['INVITE_NEW_MEMBER']=0xc]=_0x44369d[_0xb6cc11(0xdc)],_0x347941[_0x347941[_0x44369d[_0xb6cc11(0xf5)]]=0x11]=_0x44369d[_0xb6cc11(0xf5)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x1a3218){var _0x2daa82=_0x4d00ca,_0x11e13d={'Jruvn':'normal','YxXPk':_0x2daa82(0xbb),'joffG':_0x2daa82(0xc4)};_0x1a3218[_0x1a3218[_0x11e13d[_0x2daa82(0xcf)]]=0x1]=_0x2daa82(0xfa),_0x1a3218[_0x1a3218[_0x2daa82(0xbb)]=0x2]=_0x11e13d['YxXPk'],_0x1a3218[_0x1a3218[_0x11e13d[_0x2daa82(0xef)]]=0x3]=_0x11e13d[_0x2daa82(0xef)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x56770d){var _0x5543e9=_0x4d00ca,_0x2a4b70={'Qfrhq':_0x5543e9(0xc4),'bGkST':_0x5543e9(0x81)};_0x56770d[_0x56770d[_0x2a4b70['Qfrhq']]=0x166]=_0x2a4b70[_0x5543e9(0x71)],_0x56770d[_0x56770d[_0x2a4b70[_0x5543e9(0xa2)]]=0x167]=_0x2a4b70['bGkST'];}(FaceIndex||(FaceIndex={})));function _0x1297(_0x5a2471,_0x3cc551){var _0xa491ca=_0xa491();return _0x1297=function(_0x12975d,_0x290b66){_0x12975d=_0x12975d-0x70;var _0xdfcd7d=_0xa491ca[_0x12975d];return _0xdfcd7d;},_0x1297(_0x5a2471,_0x3cc551);}export var viedo_type;(function(_0x1dae26){var _0x26a5cb=_0x4d00ca,_0x115c35={'ImbNF':'VIDEO_FORMAT_TS','zmWKx':_0x26a5cb(0xa1),'IFMfb':_0x26a5cb(0xd9),'cuMDI':_0x26a5cb(0xa5),'wTtuM':_0x26a5cb(0xf3),'zqEnF':_0x26a5cb(0xea),'eitgS':'VIDEO_FORMAT_WMV','SHYhv':_0x26a5cb(0xf7),'ijhQV':_0x26a5cb(0x78),'uTVDR':'VIDEO_FORMAT_AVI'},_0x30b64d=_0x26a5cb(0xdd)[_0x26a5cb(0xab)]('|'),_0x592880=0x0;while(!![]){switch(_0x30b64d[_0x592880++]){case'0':_0x1dae26[_0x1dae26['VIDEO_FORMAT_RM']=0x6]=_0x26a5cb(0xd1);continue;case'1':_0x1dae26[_0x1dae26[_0x115c35[_0x26a5cb(0xc5)]]=0xa]=_0x115c35[_0x26a5cb(0xc5)];continue;case'2':_0x1dae26[_0x1dae26[_0x115c35['zmWKx']]=0xb]=_0x115c35['zmWKx'];continue;case'3':_0x1dae26[_0x1dae26['VIDEO_FORMAT_RMVB']=0x5]=_0x115c35[_0x26a5cb(0x9f)];continue;case'4':_0x1dae26[_0x1dae26[_0x115c35[_0x26a5cb(0xf4)]]=0x2]=_0x115c35[_0x26a5cb(0xf4)];continue;case'5':_0x1dae26[_0x1dae26[_0x26a5cb(0xf3)]=0x9]=_0x115c35['wTtuM'];continue;case'6':_0x1dae26[_0x1dae26[_0x26a5cb(0xea)]=0x7]=_0x115c35[_0x26a5cb(0x8b)];continue;case'7':_0x1dae26[_0x1dae26[_0x115c35['eitgS']]=0x3]=_0x115c35['eitgS'];continue;case'8':_0x1dae26[_0x1dae26[_0x115c35[_0x26a5cb(0xb1)]]=0x4]=_0x115c35[_0x26a5cb(0xb1)];continue;case'9':_0x1dae26[_0x1dae26[_0x26a5cb(0x78)]=0x8]=_0x115c35[_0x26a5cb(0x97)];continue;case'10':_0x1dae26[_0x1dae26[_0x115c35['uTVDR']]=0x1]='VIDEO_FORMAT_AVI';continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x78d7a2){var _0x4276ea=_0x4d00ca,_0x208912={'sBUTM':_0x4276ea(0xf6),'WFwdl':_0x4276ea(0xf1),'CPCqA':'ban'};_0x78d7a2[_0x78d7a2[_0x208912[_0x4276ea(0xfb)]]=0x1]=_0x208912['sBUTM'],_0x78d7a2[_0x78d7a2[_0x208912[_0x4276ea(0xb4)]]=0x3]=_0x208912['WFwdl'],_0x78d7a2[_0x78d7a2[_0x208912[_0x4276ea(0x75)]]=0x8]=_0x208912[_0x4276ea(0x75)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +(function(_0x59abde,_0x6bef68){var _0x4118fa=_0x1b14,_0x5bfe8e=_0x59abde();while(!![]){try{var _0x223b6e=-parseInt(_0x4118fa(0x1f2))/0x1*(-parseInt(_0x4118fa(0x1e7))/0x2)+-parseInt(_0x4118fa(0x249))/0x3*(-parseInt(_0x4118fa(0x264))/0x4)+parseInt(_0x4118fa(0x1fd))/0x5+-parseInt(_0x4118fa(0x227))/0x6*(-parseInt(_0x4118fa(0x1e8))/0x7)+-parseInt(_0x4118fa(0x25c))/0x8+-parseInt(_0x4118fa(0x21a))/0x9*(-parseInt(_0x4118fa(0x1fc))/0xa)+-parseInt(_0x4118fa(0x210))/0xb;if(_0x223b6e===_0x6bef68)break;else _0x5bfe8e['push'](_0x5bfe8e['shift']());}catch(_0x2fa63e){_0x5bfe8e['push'](_0x5bfe8e['shift']());}}}(_0x3ff7,0x4e000));function _0x3ff7(){var _0x2211e3=['wxGcV','bHssz','Kmsif','qblXA','KCHATTYPETEMPPUBLICACCOUNT','eUWeI','group','wIWPp','zrkty','dice','lwCAF','KCHATTYPENEARBYINTERACT','KCHATTYPEDISC','KCHATTYPESERVICEASSISTANTSUB','REPLY','VIDEO','KCHATTYPENEARBYFOLDER','DNbBJ','KCHATTYPETEMPC2CFROMGROUP','chatDevice','FILE','normal','KCHATTYPENEARBYASSISTANT','QhxiB','KCHATTYPETEMPFRIENDVERIFY','yLvHg','KCHATTYPESUBSCRIBEFOLDER','3AaSaJL','KCHATTYPEADELIE','KCHATTYPETEMPBUSSINESSCRM','KCHATTYPEGROUPHELPER','KhUIz','lfvDD','KCHATTYPEGROUPBLESS','tGrTP','PTT','KCHATTYPECIRCLE','KCHATTYPENEARBYHELLOFOLDER','SMzVR','jpg','ban','1|14|34|15|20|32|10|7|17|3|33|31|21|36|0|30|12|26|39|38|5|6|2|37|4|23|11|35|22|9|16|19|29|24|27|18|13|28|8|25','BcqTs','gBVew','qDutj','HuvPG','1497312KkEqEV','KCHATTYPEGROUPNOTIFY','aKzEM','veaPK','KCHATTYPEDATALINE','KCHATTYPEQQNOTIFY','face','euHTA','1715112lQaUTi','PSogw','FggoX','kicked','zrgYU','kLncJ','KCHATTYPEBUDDYNOTIFY','KCHATTYPEMATCHFRIEND','xTQbO','ARK','mvqGD','OMJsN','KCHATTYPEGUILDMETA','VIDEO_FORMAT_MTS','oOojL','INVITE_NEW_MEMBER','ATbVM','temp','vSKzu','zHcOT','memberIncrease','EbvKr','KCHATTYPEGAMEMESSAGE','KCHATTYPEC2C','KCHATTYPERELATEACCOUNT','MARKDOWN','EwnwV','ATlmi','KCHATTYPEWEIYUN','KCHATTYPEUNKNOWN','hiBgb','MFACE','BsJvt','RPS','IFHzk','32lwyGaW','878507fGmCiz','VIDEO_FORMAT_MKV','vnZpw','wpzYV','zCfuZ','KCHATTYPEGAMEMESSAGEFOLDER','sOZSj','PIC','KCHATTYPETEMPWPA','HzRcx','3082dIvhvs','KCHATTYPETEMPNEARBYPRO','KCHATTYPENEARBY','Tszed','sVGAr','uZkuu','KCHATTYPESERVICEASSISTANT','eoejc','EJEFQ','atUser','5690zHTLic','223765bSKDci','oiPZg','MEMBER_NEW_TITLE','KCHATTYPEDATALINEMQQ','igyAA','gif','QzPkk','XthNV','ikYWn','lwBxj','VIDEO_FORMAT_AVI','split','KCHATTYPETEMPADDRESSBOOK','KCHATTYPEFAV','yQLYd','kgODn','zltBa','KCHATTYPETEMPC2CFROMUNKNOWN','notAt','7285597QwuyJr','DSjhx','cEXer','VIDEO_FORMAT_RM','VIDEO_FORMAT_MOV','ZqWFT','Wuuqj','qpszg','WenNz','KCHATTYPEGROUP','8235xKwRmK','KCHATTYPEGROUPGUILD','VIDEO_FORMAT_AFS','VIDEO_FORMAT_TS','VIDEO_FORMAT_MOD','jtJuI','KCHATTYPEMATCHFRIENDFOLDER','kFyHd','KCHATTYPEGUILD','wZVpi','hEASu','KCHATTYPESQUAREPUBLIC','DzHbO','6AvMRor','lboTi','xMBvd','JVrGL','WVkKH','VIDEO_FORMAT_MP4','FACE'];_0x3ff7=function(){return _0x2211e3;};return _0x3ff7();}export var ElementType;(function(_0x239ca6){var _0x1ed75f=_0x1b14,_0x55d861={'sVGAr':'TEXT','yQLYd':_0x1ed75f(0x1ef),'PSogw':_0x1ed75f(0x242),'xTQbO':_0x1ed75f(0x251),'xMBvd':_0x1ed75f(0x23d),'zrgYU':_0x1ed75f(0x22d),'wpzYV':_0x1ed75f(0x23c),'Kmsif':_0x1ed75f(0x26d),'eoejc':_0x1ed75f(0x283),'mvqGD':_0x1ed75f(0x27d)};_0x239ca6[_0x239ca6[_0x55d861[_0x1ed75f(0x1f6)]]=0x1]='TEXT',_0x239ca6[_0x239ca6[_0x55d861['yQLYd']]=0x2]=_0x55d861[_0x1ed75f(0x20b)],_0x239ca6[_0x239ca6[_0x1ed75f(0x242)]=0x3]=_0x55d861[_0x1ed75f(0x265)],_0x239ca6[_0x239ca6[_0x1ed75f(0x251)]=0x4]=_0x55d861[_0x1ed75f(0x26c)],_0x239ca6[_0x239ca6[_0x55d861[_0x1ed75f(0x229)]]=0x5]=_0x55d861[_0x1ed75f(0x229)],_0x239ca6[_0x239ca6[_0x55d861[_0x1ed75f(0x268)]]=0x6]=_0x55d861[_0x1ed75f(0x268)],_0x239ca6[_0x239ca6[_0x55d861['wpzYV']]=0x7]=_0x55d861[_0x1ed75f(0x1eb)],_0x239ca6[_0x239ca6[_0x55d861[_0x1ed75f(0x230)]]=0xa]=_0x55d861[_0x1ed75f(0x230)],_0x239ca6[_0x239ca6[_0x55d861[_0x1ed75f(0x1f9)]]=0xb]=_0x55d861[_0x1ed75f(0x1f9)],_0x239ca6[_0x239ca6[_0x55d861[_0x1ed75f(0x26e)]]=0xe]=_0x55d861[_0x1ed75f(0x26e)];}(ElementType||(ElementType={})));function _0x1b14(_0x3ef35f,_0x2bbf73){var _0x3ff765=_0x3ff7();return _0x1b14=function(_0x1b145a,_0x593039){_0x1b145a=_0x1b145a-0x1e7;var _0x53cbeb=_0x3ff765[_0x1b145a];return _0x53cbeb;},_0x1b14(_0x3ef35f,_0x2bbf73);}export var PicType;(function(_0x493466){var _0x435989=_0x1b14,_0x2779d4={'kLncJ':_0x435989(0x202),'Ilrbs':'jpg'};_0x493466[_0x493466['gif']=0x7d0]=_0x2779d4[_0x435989(0x269)],_0x493466[_0x493466[_0x2779d4['Ilrbs']]=0x3e8]=_0x435989(0x255);}(PicType||(PicType={})));export var PicSubType;(function(_0x10bd92){var _0x5d5e73=_0x1b14,_0x8e247d={'zltBa':'normal','EwnwV':_0x5d5e73(0x262)};_0x10bd92[_0x10bd92[_0x8e247d[_0x5d5e73(0x20d)]]=0x0]=_0x8e247d[_0x5d5e73(0x20d)],_0x10bd92[_0x10bd92[_0x8e247d['EwnwV']]=0x1]=_0x8e247d[_0x5d5e73(0x27e)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0xe9ad30){var _0x1bdbe9=_0x1b14,_0x21a292={'ikYWn':_0x1bdbe9(0x20f),'hEASu':'atAll','oiPZg':_0x1bdbe9(0x1fb)};_0xe9ad30[_0xe9ad30[_0x21a292['ikYWn']]=0x0]=_0x21a292[_0x1bdbe9(0x205)],_0xe9ad30[_0xe9ad30[_0x21a292[_0x1bdbe9(0x224)]]=0x1]=_0x21a292['hEASu'],_0xe9ad30[_0xe9ad30[_0x21a292[_0x1bdbe9(0x1fe)]]=0x2]=_0x21a292[_0x1bdbe9(0x1fe)];}(AtType||(AtType={})));export var ChatType;(function(_0x39eabf){var _0x30caa8=_0x1b14,_0x3f80fd={'vSKzu':'friend','lboTi':_0x30caa8(0x234),'tGrTP':_0x30caa8(0x241),'DpxeL':_0x30caa8(0x275)};_0x39eabf[_0x39eabf[_0x3f80fd[_0x30caa8(0x276)]]=0x1]=_0x3f80fd[_0x30caa8(0x276)],_0x39eabf[_0x39eabf[_0x3f80fd[_0x30caa8(0x228)]]=0x2]=_0x3f80fd['lboTi'],_0x39eabf[_0x39eabf[_0x3f80fd[_0x30caa8(0x250)]]=0x8]=_0x3f80fd[_0x30caa8(0x250)],_0x39eabf[_0x39eabf[_0x30caa8(0x275)]=0x64]=_0x3f80fd['DpxeL'];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x4a7fe0){var _0x1e74e6=_0x1b14,_0x53dc2b={'WenNz':_0x1e74e6(0x25d),'wZVpi':_0x1e74e6(0x24a),'pzDXc':_0x1e74e6(0x253),'kFyHd':_0x1e74e6(0x1ed),'vnZpw':_0x1e74e6(0x261),'lwCAF':_0x1e74e6(0x244),'yLvHg':_0x1e74e6(0x23e),'Wuuqj':_0x1e74e6(0x20a),'aKzEM':_0x1e74e6(0x281),'zCfuZ':_0x1e74e6(0x248),'ZqWFT':_0x1e74e6(0x23a),'Tszed':_0x1e74e6(0x1f8),'jmyue':_0x1e74e6(0x270),'wIWPp':_0x1e74e6(0x232),'hiBgb':_0x1e74e6(0x26a),'sOZSj':_0x1e74e6(0x252),'KhUIz':_0x1e74e6(0x209),'igyAA':_0x1e74e6(0x27a),'EbvKr':_0x1e74e6(0x1f3),'OCoDI':_0x1e74e6(0x24b),'cEXer':_0x1e74e6(0x260),'bHssz':_0x1e74e6(0x21b),'eUWeI':_0x1e74e6(0x225),'DNbBJ':_0x1e74e6(0x27c),'qblXA':_0x1e74e6(0x20e),'veaPK':_0x1e74e6(0x280),'uZkuu':_0x1e74e6(0x26b),'qDutj':_0x1e74e6(0x246),'FggoX':_0x1e74e6(0x1f0),'DzHbO':_0x1e74e6(0x222),'zHcOT':_0x1e74e6(0x200),'HzRcx':_0x1e74e6(0x219),'WVkKH':_0x1e74e6(0x27b),'lfvDD':_0x1e74e6(0x23b),'OMJsN':_0x1e74e6(0x24c),'BsJvt':_0x1e74e6(0x239),'ATbVM':_0x1e74e6(0x1f4),'jtJuI':_0x1e74e6(0x220)},_0x2dd67b=_0x1e74e6(0x257)[_0x1e74e6(0x208)]('|'),_0x1efabb=0x0;while(!![]){switch(_0x2dd67b[_0x1efabb++]){case'0':_0x4a7fe0[_0x4a7fe0['KCHATTYPEGROUPNOTIFY']=0x6]=_0x53dc2b[_0x1e74e6(0x218)];continue;case'1':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x223)]]=0x2a]=_0x53dc2b[_0x1e74e6(0x223)];continue;case'2':_0x4a7fe0[_0x4a7fe0[_0x53dc2b['pzDXc']]=0x70]=_0x53dc2b['pzDXc'];continue;case'3':_0x4a7fe0[_0x4a7fe0[_0x53dc2b['kFyHd']]=0x74]=_0x53dc2b[_0x1e74e6(0x221)];continue;case'4':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x1ea)]]=0x84]=_0x53dc2b['vnZpw'];continue;case'5':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x238)]]=0x6b]=_0x53dc2b[_0x1e74e6(0x238)];continue;case'6':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x247)]]=0x6e]=_0x53dc2b[_0x1e74e6(0x247)];continue;case'7':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x216)]]=0x29]=_0x1e74e6(0x20a);continue;case'8':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x25e)]]=0x0]=_0x1e74e6(0x281);continue;case'9':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x1ec)]]=0x1e]=_0x53dc2b[_0x1e74e6(0x1ec)];continue;case'10':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x23a)]=0x3]=_0x53dc2b[_0x1e74e6(0x215)];continue;case'11':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x1f5)]]=0x76]=_0x53dc2b['Tszed'];continue;case'12':_0x4a7fe0[_0x4a7fe0['KCHATTYPEGUILDMETA']=0x10]=_0x53dc2b['jmyue'];continue;case'13':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x235)]]=0x67]=_0x53dc2b['wIWPp'];continue;case'14':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x282)]]=0x5]=_0x53dc2b[_0x1e74e6(0x282)];continue;case'15':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x1ee)]]=0x71]=_0x53dc2b[_0x1e74e6(0x1ee)];continue;case'16':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x209)]=0x6f]=_0x53dc2b[_0x1e74e6(0x24d)];continue;case'17':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x201)]]=0x69]=_0x1e74e6(0x27a);continue;case'18':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x279)]]=0x77]=_0x1e74e6(0x1f3);continue;case'19':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x24b)]=0x66]=_0x53dc2b['OCoDI'];continue;case'20':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x260)]=0x8]=_0x53dc2b[_0x1e74e6(0x212)];continue;case'21':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x21b)]=0x9]=_0x53dc2b[_0x1e74e6(0x22f)];continue;case'22':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x225)]=0x73]=_0x53dc2b[_0x1e74e6(0x233)];continue;case'23':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x23f)]]=0x83]=_0x53dc2b[_0x1e74e6(0x23f)];continue;case'24':_0x4a7fe0[_0x4a7fe0[_0x53dc2b['qblXA']]=0x63]=_0x53dc2b[_0x1e74e6(0x231)];continue;case'25':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x280)]=0x28]=_0x53dc2b[_0x1e74e6(0x25f)];continue;case'26':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x1f7)]]=0x68]=_0x53dc2b[_0x1e74e6(0x1f7)];continue;case'27':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x25a)]]=0x65]=_0x53dc2b[_0x1e74e6(0x25a)];continue;case'28':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x266)]]=0x75]=_0x53dc2b['FggoX'];continue;case'29':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x240)]=0x64]=_0x1e74e6(0x240);continue;case'30':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x226)]]=0x4]=_0x53dc2b[_0x1e74e6(0x226)];continue;case'31':_0x4a7fe0[_0x4a7fe0['KCHATTYPEGROUPBLESS']=0x85]=_0x1e74e6(0x24f);continue;case'32':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x277)]]=0x86]=_0x53dc2b[_0x1e74e6(0x277)];continue;case'33':_0x4a7fe0[_0x4a7fe0[_0x53dc2b['HzRcx']]=0x2]=_0x53dc2b[_0x1e74e6(0x1f1)];continue;case'34':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x22b)]]=0x1]=_0x1e74e6(0x27b);continue;case'35':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x24e)]]=0xc9]=_0x53dc2b[_0x1e74e6(0x24e)];continue;case'36':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x24c)]=0x7]=_0x53dc2b[_0x1e74e6(0x26f)];continue;case'37':_0x4a7fe0[_0x4a7fe0[_0x53dc2b[_0x1e74e6(0x284)]]=0x6c]=_0x53dc2b[_0x1e74e6(0x284)];continue;case'38':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x1f4)]=0x6a]=_0x53dc2b[_0x1e74e6(0x274)];continue;case'39':_0x4a7fe0[_0x4a7fe0[_0x1e74e6(0x220)]=0x6d]=_0x53dc2b[_0x1e74e6(0x21f)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x34a571){var _0x1a5e42=_0x1b14,_0x1a7756={'XthNV':_0x1a5e42(0x273),'Oauzg':_0x1a5e42(0x1ff)};_0x34a571[_0x34a571[_0x1a7756[_0x1a5e42(0x204)]]=0xc]=_0x1a7756[_0x1a5e42(0x204)],_0x34a571[_0x34a571['MEMBER_NEW_TITLE']=0x11]=_0x1a7756['Oauzg'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x12de15){var _0x108f44=_0x1b14,_0x4263d7={'zrkty':_0x108f44(0x243),'DSjhx':'normal2','qpszg':_0x108f44(0x237)};_0x12de15[_0x12de15[_0x4263d7[_0x108f44(0x236)]]=0x1]=_0x4263d7[_0x108f44(0x236)],_0x12de15[_0x12de15[_0x4263d7[_0x108f44(0x211)]]=0x2]=_0x4263d7[_0x108f44(0x211)],_0x12de15[_0x12de15[_0x4263d7[_0x108f44(0x217)]]=0x3]=_0x4263d7['qpszg'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xc5ae32){var _0x2a7100=_0x1b14,_0x2058c4={'gBVew':_0x2a7100(0x237),'BcqTs':'RPS'};_0xc5ae32[_0xc5ae32[_0x2058c4[_0x2a7100(0x259)]]=0x166]=_0x2a7100(0x237),_0xc5ae32[_0xc5ae32[_0x2058c4[_0x2a7100(0x258)]]=0x167]=_0x2a7100(0x285);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x4d7d21){var _0x3db0f8=_0x1b14,_0xcbbb69={'IFHzk':'2|5|10|4|9|6|7|1|0|8|3','HuvPG':'VIDEO_FORMAT_RMVB','QzPkk':_0x3db0f8(0x213),'SMzVR':_0x3db0f8(0x21c),'wxGcV':'VIDEO_FORMAT_WMV','euHTA':_0x3db0f8(0x21e),'lwBxj':_0x3db0f8(0x207),'EJEFQ':_0x3db0f8(0x22c),'QhxiB':'VIDEO_FORMAT_MTS','cHOzo':_0x3db0f8(0x21d),'kgODn':_0x3db0f8(0x214)},_0x1d5ef4=_0xcbbb69[_0x3db0f8(0x286)][_0x3db0f8(0x208)]('|'),_0x1a682f=0x0;while(!![]){switch(_0x1d5ef4[_0x1a682f++]){case'0':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x25b)]]=0x5]=_0xcbbb69[_0x3db0f8(0x25b)];continue;case'1':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x203)]]=0x6]=_0xcbbb69[_0x3db0f8(0x203)];continue;case'2':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x254)]]=0x7]=_0xcbbb69['SMzVR'];continue;case'3':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x22e)]]=0x3]=_0xcbbb69[_0x3db0f8(0x22e)];continue;case'4':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x263)]]=0x9]=_0xcbbb69[_0x3db0f8(0x263)];continue;case'5':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x206)]]=0x1]=_0xcbbb69[_0x3db0f8(0x206)];continue;case'6':_0x4d7d21[_0x4d7d21['VIDEO_FORMAT_MP4']=0x2]=_0xcbbb69[_0x3db0f8(0x1fa)];continue;case'7':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x245)]]=0xb]=_0x3db0f8(0x271);continue;case'8':_0x4d7d21[_0x4d7d21[_0x3db0f8(0x21d)]=0xa]=_0xcbbb69['cHOzo'];continue;case'9':_0x4d7d21[_0x4d7d21[_0xcbbb69[_0x3db0f8(0x20c)]]=0x8]=_0xcbbb69['kgODn'];continue;case'10':_0x4d7d21[_0x4d7d21[_0x3db0f8(0x1e9)]=0x4]=_0x3db0f8(0x1e9);continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x28f04a){var _0x2b642d=_0x1b14,_0x205dbb={'oOojL':_0x2b642d(0x278),'JVrGL':_0x2b642d(0x267),'ATlmi':'ban'};_0x28f04a[_0x28f04a[_0x205dbb[_0x2b642d(0x272)]]=0x1]=_0x205dbb[_0x2b642d(0x272)],_0x28f04a[_0x28f04a[_0x205dbb[_0x2b642d(0x22a)]]=0x3]=_0x205dbb[_0x2b642d(0x22a)],_0x28f04a[_0x28f04a[_0x2b642d(0x256)]=0x8]=_0x205dbb[_0x2b642d(0x27f)];}(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 c885d101..1d4b4776 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x28d397,_0x44f325){var _0x2808eb=_0x2092,_0x306978=_0x28d397();while(!![]){try{var _0x5ab07b=-parseInt(_0x2808eb(0x197))/0x1*(-parseInt(_0x2808eb(0x19f))/0x2)+parseInt(_0x2808eb(0x18d))/0x3+-parseInt(_0x2808eb(0x1a7))/0x4+-parseInt(_0x2808eb(0x1c0))/0x5+parseInt(_0x2808eb(0x1b0))/0x6+-parseInt(_0x2808eb(0x1c1))/0x7+parseInt(_0x2808eb(0x1c5))/0x8*(parseInt(_0x2808eb(0x1b6))/0x9);if(_0x5ab07b===_0x44f325)break;else _0x306978['push'](_0x306978['shift']());}catch(_0x351279){_0x306978['push'](_0x306978['shift']());}}}(_0x3a7c,0x665b9));export var GroupNotifyTypes;(function(_0x553484){var _0x3dfdd9=_0x2092,_0x21c5bc={'gTmHd':_0x3dfdd9(0x1ab),'xRxRX':_0x3dfdd9(0x1a4),'KGLQo':_0x3dfdd9(0x19b),'mPclE':_0x3dfdd9(0x1ba),'nkjZx':_0x3dfdd9(0x18e),'uGZVi':_0x3dfdd9(0x1b1),'kTEWi':_0x3dfdd9(0x1b2),'EFmgl':'ADMIN_UNSET_OTHER'};_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1c2)]]=0x1]=_0x21c5bc[_0x3dfdd9(0x1c2)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1ad)]]=0x4]=_0x3dfdd9(0x1a4),_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1a6)]]=0x7]=_0x21c5bc[_0x3dfdd9(0x1a6)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1bd)]]=0x8]=_0x21c5bc[_0x3dfdd9(0x1bd)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x18b)]]=0x9]=_0x21c5bc[_0x3dfdd9(0x18b)],_0x553484[_0x553484[_0x3dfdd9(0x1b1)]=0xb]=_0x21c5bc[_0x3dfdd9(0x19a)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1a9)]]=0xc]=_0x21c5bc[_0x3dfdd9(0x1a9)],_0x553484[_0x553484[_0x21c5bc['EFmgl']]=0xd]=_0x3dfdd9(0x18f);}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x5a32b7){var _0x2d2569=_0x2092,_0x41bcd0={'ylgxv':'IGNORE','YDotF':_0x2d2569(0x1cc),'FlrMj':_0x2d2569(0x19e),'tlHYb':_0x2d2569(0x1a2)};_0x5a32b7[_0x5a32b7['IGNORE']=0x0]=_0x41bcd0[_0x2d2569(0x1be)],_0x5a32b7[_0x5a32b7[_0x2d2569(0x1cc)]=0x1]=_0x41bcd0[_0x2d2569(0x1aa)],_0x5a32b7[_0x5a32b7[_0x41bcd0[_0x2d2569(0x1a1)]]=0x2]=_0x41bcd0[_0x2d2569(0x1a1)],_0x5a32b7[_0x5a32b7[_0x41bcd0['tlHYb']]=0x3]=_0x41bcd0[_0x2d2569(0x196)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x41999a){var _0x396c8d=_0x2092,_0x4a47af={'bEgSl':_0x396c8d(0x195)};_0x41999a[_0x41999a['approve']=0x1]='approve',_0x41999a[_0x41999a[_0x4a47af[_0x396c8d(0x18c)]]=0x2]=_0x4a47af['bEgSl'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x5670b2){var _0x4b0828=_0x2092,_0x45d8f8={'bdDUf':_0x4b0828(0x1c3),'TDSNm':_0x4b0828(0x1cb),'oxqAL':_0x4b0828(0x19d),'JgggP':_0x4b0828(0x1c8),'UoHet':_0x4b0828(0x1b8),'tNmek':_0x4b0828(0x1c4),'NADcD':'KMEINITIATORWAITPEERCONFIRM','wOKlI':_0x4b0828(0x1c9),'OqXvp':_0x4b0828(0x1b9),'FhgGp':_0x4b0828(0x1b3),'mPNrn':_0x4b0828(0x1bc),'ZuRhB':_0x4b0828(0x1ac),'GTxKJ':_0x4b0828(0x1ca),'ydoKW':_0x4b0828(0x194),'FdCbt':_0x4b0828(0x1c6)},_0x1ea2e1=_0x45d8f8[_0x4b0828(0x1bf)][_0x4b0828(0x192)]('|'),_0x264b42=0x0;while(!![]){switch(_0x1ea2e1[_0x264b42++]){case'0':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a5)]]=0xa]=_0x45d8f8[_0x4b0828(0x1a5)];continue;case'1':_0x5670b2[_0x5670b2[_0x4b0828(0x19d)]=0x6]=_0x45d8f8[_0x4b0828(0x1b7)];continue;case'2':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x191)]]=0xb]=_0x45d8f8[_0x4b0828(0x191)];continue;case'3':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a3)]]=0x5]=_0x45d8f8['UoHet'];continue;case'4':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x193)]]=0x9]=_0x4b0828(0x1c4);continue;case'5':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1af)]]=0xd]=_0x45d8f8['NADcD'];continue;case'6':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x190)]]=0x7]=_0x45d8f8[_0x4b0828(0x190)];continue;case'7':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a0)]]=0x4]=_0x45d8f8['OqXvp'];continue;case'8':_0x5670b2[_0x5670b2[_0x45d8f8['FhgGp']]=0x1]=_0x45d8f8[_0x4b0828(0x199)];continue;case'9':_0x5670b2[_0x5670b2[_0x45d8f8['mPNrn']]=0x8]='KMEIGNORED';continue;case'10':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1bb)]]=0x0]=_0x45d8f8[_0x4b0828(0x1bb)];continue;case'11':_0x5670b2[_0x5670b2[_0x45d8f8['GTxKJ']]=0xc]=_0x45d8f8[_0x4b0828(0x1c7)];continue;case'12':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1ae)]]=0x3]=_0x45d8f8['ydoKW'];continue;case'13':_0x5670b2[_0x5670b2[_0x45d8f8['FdCbt']]=0x2]=_0x45d8f8[_0x4b0828(0x1b5)];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;function _0x2092(_0x2dd625,_0x5a70e5){var _0x3a7c0b=_0x3a7c();return _0x2092=function(_0x2092c8,_0x110070){_0x2092c8=_0x2092c8-0x18b;var _0x57dda2=_0x3a7c0b[_0x2092c8];return _0x57dda2;},_0x2092(_0x2dd625,_0x5a70e5);}(function(_0xd6c1cb){var _0x3f5a9a=_0x2092,_0x20b98f={'kfvVh':_0x3f5a9a(0x198),'FGfwZ':'TITLETYPE','EBIlE':'NEWGROUPTYPE'};_0xd6c1cb[_0xd6c1cb[_0x20b98f[_0x3f5a9a(0x19c)]]=0x0]=_0x20b98f[_0x3f5a9a(0x19c)],_0xd6c1cb[_0xd6c1cb[_0x20b98f['FGfwZ']]=0x1]=_0x3f5a9a(0x1b4),_0xd6c1cb[_0xd6c1cb[_0x20b98f[_0x3f5a9a(0x1a8)]]=0x2]=_0x20b98f[_0x3f5a9a(0x1a8)];}(MemberExtSourceType||(MemberExtSourceType={})));function _0x3a7c(){var _0x2b00ab=['ADMIN_SET','ZuRhB','KMEIGNORED','mPclE','ylgxv','bdDUf','1621490XKhqYf','5144727hbDcMC','gTmHd','10|8|13|12|7|3|1|6|9|4|0|2|11|5','KMEAGREEANYONE','88PMhYNl','KMEAGREED','GTxKJ','KMEAGREEANDADDFAILED','KMEREFUSED','KMSGINFO','KMESETQUESTION','WAIT_HANDLE','nkjZx','bEgSl','2363679vqNyaT','KICK_MEMBER','ADMIN_UNSET_OTHER','wOKlI','JgggP','split','tNmek','KMEAGREEDANDADDED','reject','tlHYb','77BqEhrD','DEFAULTTYPE','FhgGp','uGZVi','JOIN_REQUEST','kfvVh','KPEERREFUSED','APPROVE','6278BhtJzv','OqXvp','FlrMj','REJECT','UoHet','INVITED_JOIN','TDSNm','KGLQo','617852pJGPRf','EBIlE','kTEWi','YDotF','INVITE_ME','KMEINITIATOR','xRxRX','ydoKW','NADcD','1272480YQvlPh','MEMBER_EXIT','ADMIN_UNSET','KPEERINITIATOR','TITLETYPE','FdCbt','320157ycsusV','oxqAL','KPEERAGREEDANDADDED','KPEERAGREED'];_0x3a7c=function(){return _0x2b00ab;};return _0x3a7c();} \ No newline at end of file +(function(_0x1707a4,_0x25abd6){var _0x3e6524=_0x207e,_0x305b5c=_0x1707a4();while(!![]){try{var _0x2ebbb5=-parseInt(_0x3e6524(0x11f))/0x1*(-parseInt(_0x3e6524(0x150))/0x2)+-parseInt(_0x3e6524(0x153))/0x3+-parseInt(_0x3e6524(0x14f))/0x4+parseInt(_0x3e6524(0x14c))/0x5+-parseInt(_0x3e6524(0x146))/0x6+-parseInt(_0x3e6524(0x11a))/0x7+parseInt(_0x3e6524(0x142))/0x8;if(_0x2ebbb5===_0x25abd6)break;else _0x305b5c['push'](_0x305b5c['shift']());}catch(_0x19b0d5){_0x305b5c['push'](_0x305b5c['shift']());}}}(_0x116f,0xa759c));export var GroupNotifyTypes;(function(_0x4a3012){var _0xb956c=_0x207e,_0x2ca031={'XsRWb':_0xb956c(0x148),'GUoVV':_0xb956c(0x135),'SFNrp':_0xb956c(0x133),'NkNaz':'ADMIN_SET','SfbVF':_0xb956c(0x145),'TdrNP':_0xb956c(0x130),'CPpHc':'ADMIN_UNSET','hvpPT':'ADMIN_UNSET_OTHER'};_0x4a3012[_0x4a3012[_0x2ca031[_0xb956c(0x141)]]=0x1]='INVITE_ME',_0x4a3012[_0x4a3012[_0x2ca031[_0xb956c(0x137)]]=0x4]=_0x2ca031[_0xb956c(0x137)],_0x4a3012[_0x4a3012[_0x2ca031[_0xb956c(0x14a)]]=0x7]=_0x2ca031[_0xb956c(0x14a)],_0x4a3012[_0x4a3012[_0xb956c(0x149)]=0x8]=_0x2ca031[_0xb956c(0x147)],_0x4a3012[_0x4a3012[_0xb956c(0x145)]=0x9]=_0x2ca031[_0xb956c(0x131)],_0x4a3012[_0x4a3012[_0x2ca031[_0xb956c(0x139)]]=0xb]=_0xb956c(0x130),_0x4a3012[_0x4a3012[_0x2ca031[_0xb956c(0x123)]]=0xc]=_0xb956c(0x154),_0x4a3012[_0x4a3012[_0x2ca031[_0xb956c(0x122)]]=0xd]=_0x2ca031['hvpPT'];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x23082c){var _0x3c4b37=_0x207e,_0x35d15b={'JKyfs':_0x3c4b37(0x127),'SImAt':_0x3c4b37(0x12e),'zfaLG':'APPROVE','ODFuJ':_0x3c4b37(0x13a)};_0x23082c[_0x23082c['IGNORE']=0x0]=_0x35d15b[_0x3c4b37(0x126)],_0x23082c[_0x23082c[_0x35d15b[_0x3c4b37(0x11d)]]=0x1]=_0x35d15b[_0x3c4b37(0x11d)],_0x23082c[_0x23082c[_0x35d15b[_0x3c4b37(0x11b)]]=0x2]=_0x35d15b[_0x3c4b37(0x11b)],_0x23082c[_0x23082c['REJECT']=0x3]=_0x35d15b[_0x3c4b37(0x12b)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x116f(){var _0x45c41a=['XsRWb','7920856TkGbpd','SfntJ','KPEERINITIATOR','KICK_MEMBER','2848002wkvmLg','NkNaz','INVITE_ME','ADMIN_SET','SFNrp','tKcvC','6266885LpSJUm','DALUo','xXHLT','1085644qUAImh','6226xJiiLw','XFoCW','KMESETQUESTION','2853975HCGNwR','ADMIN_UNSET','5321890nuVonX','zfaLG','approve','SImAt','VdKXN','289PxHpYa','pKKaT','qmkVC','hvpPT','CPpHc','yxHCX','TITLETYPE','JKyfs','IGNORE','KPEERAGREED','KMEIGNORED','KMSGINFO','ODFuJ','hbhNI','joRDP','WAIT_HANDLE','KMEINITIATOR','MEMBER_EXIT','SfbVF','UjGGE','JOIN_REQUEST','ftoSl','INVITED_JOIN','KMEAGREEANDADDFAILED','GUoVV','KMEAGREEANYONE','TdrNP','REJECT','DEFAULTTYPE','mfbHN','jSWHP','KPEERAGREEDANDADDED','uXdnJ','KPEERREFUSED'];_0x116f=function(){return _0x45c41a;};return _0x116f();}(function(_0x29d59b){var _0x38d61b=_0x207e,_0x2eaece={'UjGGE':_0x38d61b(0x11c),'yxHCX':'reject'};_0x29d59b[_0x29d59b[_0x38d61b(0x11c)]=0x1]=_0x2eaece[_0x38d61b(0x132)],_0x29d59b[_0x29d59b[_0x2eaece[_0x38d61b(0x124)]]=0x2]=_0x2eaece['yxHCX'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x9d5060){var _0x393db9=_0x207e,_0x3ba640={'DALUo':_0x393db9(0x12f),'uXdnJ':_0x393db9(0x144),'xXHLT':'KMEAGREED','SfntJ':'KMEAGREEDANDADDED','ftoSl':_0x393db9(0x13e),'VdKXN':_0x393db9(0x140),'huJhx':'KMEREFUSED','jSWHP':_0x393db9(0x129),'pKKaT':_0x393db9(0x138),'tKcvC':_0x393db9(0x152),'mfbHN':_0x393db9(0x136),'joRDP':_0x393db9(0x12a),'XFoCW':'KMEINITIATORWAITPEERCONFIRM'};_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x14d)]]=0x0]='KMEINITIATOR',_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x13f)]]=0x1]=_0x3ba640['uXdnJ'],_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x14e)]]=0x2]=_0x3ba640['xXHLT'],_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x143)]]=0x3]=_0x3ba640['SfntJ'],_0x9d5060[_0x9d5060[_0x393db9(0x128)]=0x4]=_0x393db9(0x128),_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x134)]]=0x5]=_0x3ba640[_0x393db9(0x134)],_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x11e)]]=0x6]=_0x3ba640[_0x393db9(0x11e)],_0x9d5060[_0x9d5060['KMEREFUSED']=0x7]=_0x3ba640['huJhx'],_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x13d)]]=0x8]=_0x3ba640['jSWHP'],_0x9d5060[_0x9d5060[_0x393db9(0x138)]=0x9]=_0x3ba640[_0x393db9(0x120)],_0x9d5060[_0x9d5060[_0x393db9(0x152)]=0xa]=_0x3ba640[_0x393db9(0x14b)],_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x13c)]]=0xb]=_0x3ba640[_0x393db9(0x13c)],_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x12d)]]=0xc]=_0x3ba640['joRDP'],_0x9d5060[_0x9d5060[_0x3ba640[_0x393db9(0x151)]]=0xd]=_0x3ba640[_0x393db9(0x151)];}(BuddyReqType||(BuddyReqType={})));function _0x207e(_0x4edfcc,_0x503880){var _0x116f88=_0x116f();return _0x207e=function(_0x207e0b,_0x239d33){_0x207e0b=_0x207e0b-0x11a;var _0x13914b=_0x116f88[_0x207e0b];return _0x13914b;},_0x207e(_0x4edfcc,_0x503880);}export var MemberExtSourceType;(function(_0x27728a){var _0x5d6ff0=_0x207e,_0x4b380a={'qmkVC':_0x5d6ff0(0x13b),'FxCyo':_0x5d6ff0(0x125),'hbhNI':'NEWGROUPTYPE'};_0x27728a[_0x27728a[_0x4b380a[_0x5d6ff0(0x121)]]=0x0]=_0x5d6ff0(0x13b),_0x27728a[_0x27728a[_0x4b380a['FxCyo']]=0x1]=_0x4b380a['FxCyo'],_0x27728a[_0x27728a[_0x4b380a[_0x5d6ff0(0x12c)]]=0x2]=_0x4b380a[_0x5d6ff0(0x12c)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index cf90a4b9..d05be6bc 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x3a77(_0x121edc,_0x2e2da8){var _0x4099bf=_0x4099();return _0x3a77=function(_0x3a770b,_0x4ce439){_0x3a770b=_0x3a770b-0xff;var _0xc1ad7e=_0x4099bf[_0x3a770b];return _0xc1ad7e;},_0x3a77(_0x121edc,_0x2e2da8);}function _0x4099(){var _0xf1735a=['986908nZWWFx','1418349beNiQA','23660tGEyWf','360uXxutp','unknown','15991844TFqONb','KPHOTOWALL','female','4709646lkGuon','2LEfbMj','409173zDgvyw','4781HWZghr','3784DtFvOu','male','KkkoA','5zMgvRx','cdgnK'];_0x4099=function(){return _0xf1735a;};return _0x4099();}(function(_0x2f4562,_0x339b7f){var _0x97c1f4=_0x3a77,_0x3c8636=_0x2f4562();while(!![]){try{var _0x5afdee=parseInt(_0x97c1f4(0x10c))/0x1+-parseInt(_0x97c1f4(0x103))/0x2*(-parseInt(_0x97c1f4(0x104))/0x3)+parseInt(_0x97c1f4(0x10b))/0x4*(parseInt(_0x97c1f4(0x109))/0x5)+parseInt(_0x97c1f4(0x102))/0x6+parseInt(_0x97c1f4(0x105))/0x7*(-parseInt(_0x97c1f4(0x106))/0x8)+parseInt(_0x97c1f4(0x10e))/0x9*(-parseInt(_0x97c1f4(0x10d))/0xa)+-parseInt(_0x97c1f4(0xff))/0xb;if(_0x5afdee===_0x339b7f)break;else _0x3c8636['push'](_0x3c8636['shift']());}catch(_0x2297b9){_0x3c8636['push'](_0x3c8636['shift']());}}}(_0x4099,0xae899));export var Sex;(function(_0x48a588){var _0x3e4baf=_0x3a77,_0x28fd65={'tfORD':_0x3e4baf(0x107),'KkkoA':_0x3e4baf(0x101),'NClPy':_0x3e4baf(0x10f)};_0x48a588[_0x48a588['male']=0x1]=_0x28fd65['tfORD'],_0x48a588[_0x48a588[_0x3e4baf(0x101)]=0x2]=_0x28fd65[_0x3e4baf(0x108)],_0x48a588[_0x48a588[_0x28fd65['NClPy']]=0xff]=_0x28fd65['NClPy'];}(Sex||(Sex={})));export var BizKey;(function(_0x4f7298){var _0x30929d=_0x3a77,_0x198979={'sqpbB':'KPRIVILEGEICON','cdgnK':'KPHOTOWALL'};_0x4f7298[_0x4f7298[_0x198979['sqpbB']]=0x0]=_0x198979['sqpbB'],_0x4f7298[_0x4f7298[_0x30929d(0x100)]=0x1]=_0x198979[_0x30929d(0x10a)];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0x5650bf,_0xe51e96){var _0x5cd9ab=_0x2cdb,_0x480c63=_0x5650bf();while(!![]){try{var _0x3d0f03=-parseInt(_0x5cd9ab(0x14d))/0x1+parseInt(_0x5cd9ab(0x14f))/0x2*(-parseInt(_0x5cd9ab(0x154))/0x3)+parseInt(_0x5cd9ab(0x151))/0x4+parseInt(_0x5cd9ab(0x15b))/0x5+parseInt(_0x5cd9ab(0x159))/0x6*(parseInt(_0x5cd9ab(0x15a))/0x7)+parseInt(_0x5cd9ab(0x158))/0x8*(-parseInt(_0x5cd9ab(0x14b))/0x9)+-parseInt(_0x5cd9ab(0x155))/0xa;if(_0x3d0f03===_0xe51e96)break;else _0x480c63['push'](_0x480c63['shift']());}catch(_0x434ee3){_0x480c63['push'](_0x480c63['shift']());}}}(_0x4d56,0xed20a));export var Sex;function _0x2cdb(_0x3d5b1c,_0x1fbd7c){var _0x4d5635=_0x4d56();return _0x2cdb=function(_0x2cdb84,_0x2fde94){_0x2cdb84=_0x2cdb84-0x14b;var _0x327e8e=_0x4d5635[_0x2cdb84];return _0x327e8e;},_0x2cdb(_0x3d5b1c,_0x1fbd7c);}function _0x4d56(){var _0x3b1b50=['9ywjKCE','female','6755SmnXtB','RaDUz','44134qWRnuW','bBzeI','6933932slYrkw','male','KPHOTOWALL','78JYBxIs','10854850MpxAVM','cSRtr','unknown','13097944VlTEkL','11886XHQVqz','2828svUqbe','8703460KgfOhI'];_0x4d56=function(){return _0x3b1b50;};return _0x4d56();}(function(_0x573086){var _0x4a64b5=_0x2cdb,_0x50bbe0={'BuehO':_0x4a64b5(0x14c),'bBzeI':_0x4a64b5(0x157)};_0x573086[_0x573086[_0x4a64b5(0x152)]=0x1]='male',_0x573086[_0x573086[_0x50bbe0['BuehO']]=0x2]=_0x50bbe0['BuehO'],_0x573086[_0x573086[_0x50bbe0[_0x4a64b5(0x150)]]=0xff]='unknown';}(Sex||(Sex={})));export var BizKey;(function(_0x25af09){var _0xbbd430=_0x2cdb,_0xcbd994={'cSRtr':'KPRIVILEGEICON','RaDUz':_0xbbd430(0x153)};_0x25af09[_0x25af09[_0xcbd994[_0xbbd430(0x156)]]=0x0]=_0xcbd994[_0xbbd430(0x156)],_0x25af09[_0x25af09[_0xcbd994['RaDUz']]=0x1]=_0xcbd994[_0xbbd430(0x14e)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index aea49411..b06838ec 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x3a4402,_0x2920da){var _0x28ff1f=_0x4eff,_0x79c870=_0x3a4402();while(!![]){try{var _0x4830f9=-parseInt(_0x28ff1f(0x19c))/0x1+parseInt(_0x28ff1f(0x1a2))/0x2+parseInt(_0x28ff1f(0x19a))/0x3+parseInt(_0x28ff1f(0x19d))/0x4+-parseInt(_0x28ff1f(0x1a1))/0x5+-parseInt(_0x28ff1f(0x19f))/0x6*(-parseInt(_0x28ff1f(0x19b))/0x7)+parseInt(_0x28ff1f(0x19e))/0x8*(-parseInt(_0x28ff1f(0x1a0))/0x9);if(_0x4830f9===_0x2920da)break;else _0x79c870['push'](_0x79c870['shift']());}catch(_0x9f0295){_0x79c870['push'](_0x79c870['shift']());}}}(_0x1271,0xb9b62));import _0x4c886e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x4eff(_0xcfa701,_0x4572df){var _0x12710d=_0x1271();return _0x4eff=function(_0x4eff38,_0x3d1aff){_0x4eff38=_0x4eff38-0x19a;var _0x513333=_0x12710d[_0x4eff38];return _0x513333;},_0x4eff(_0xcfa701,_0x4572df);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x4c886e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1271(){var _0x23fe63=['12774648ttOXON','16518piOarX','9WDXCMi','51690BdeDDz','2554424kvpEsz','3038835GdAJlq','1505tzJZcC','1267231qqRGea','3012088vytgWX'];_0x1271=function(){return _0x23fe63;};return _0x1271();} \ No newline at end of file +(function(_0x5a611f,_0x3308b1){var _0x31267f=_0x3daa,_0x2a0ebf=_0x5a611f();while(!![]){try{var _0x4c8c78=-parseInt(_0x31267f(0x182))/0x1*(-parseInt(_0x31267f(0x17f))/0x2)+-parseInt(_0x31267f(0x186))/0x3*(-parseInt(_0x31267f(0x17e))/0x4)+-parseInt(_0x31267f(0x188))/0x5*(parseInt(_0x31267f(0x187))/0x6)+-parseInt(_0x31267f(0x180))/0x7+parseInt(_0x31267f(0x183))/0x8+parseInt(_0x31267f(0x181))/0x9*(-parseInt(_0x31267f(0x189))/0xa)+-parseInt(_0x31267f(0x185))/0xb*(-parseInt(_0x31267f(0x184))/0xc);if(_0x4c8c78===_0x3308b1)break;else _0x2a0ebf['push'](_0x2a0ebf['shift']());}catch(_0x5cb6b8){_0x2a0ebf['push'](_0x2a0ebf['shift']());}}}(_0x44d9,0xc66d6));import _0x21ae4a from'./wrapper';export*from'./adapters';function _0x3daa(_0x4c5ad3,_0x1c5bf5){var _0x44d917=_0x44d9();return _0x3daa=function(_0x3daaab,_0x43bb68){_0x3daaab=_0x3daaab-0x17e;var _0x3abd90=_0x44d917[_0x3daaab];return _0x3abd90;},_0x3daa(_0x4c5ad3,_0x1c5bf5);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x44d9(){var _0x6bcbcc=['215qKWFmZ','9280znJdEW','159684aKOSlB','4mhrhJq','11122125dhrXkz','5409KDpclF','95219dOgrzz','2176728ugeRXJ','118452QZoXkP','3223emvWXb','48IaQoAP','144294OmMqDZ'];_0x44d9=function(){return _0x6bcbcc;};return _0x44d9();}export*as Services from'./services';export{_0x21ae4a 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 9ab1f8cc..8adfafb9 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x410aeb=_0x451b;(function(_0x17408c,_0x357f20){var _0xf3f8be=_0x451b,_0x502d69=_0x17408c();while(!![]){try{var _0x2edf90=-parseInt(_0xf3f8be(0xde))/0x1*(-parseInt(_0xf3f8be(0xd4))/0x2)+-parseInt(_0xf3f8be(0xd2))/0x3*(parseInt(_0xf3f8be(0xe1))/0x4)+-parseInt(_0xf3f8be(0xe2))/0x5*(parseInt(_0xf3f8be(0xd1))/0x6)+-parseInt(_0xf3f8be(0xce))/0x7*(parseInt(_0xf3f8be(0xe0))/0x8)+-parseInt(_0xf3f8be(0xd6))/0x9*(parseInt(_0xf3f8be(0xd0))/0xa)+-parseInt(_0xf3f8be(0xd5))/0xb*(parseInt(_0xf3f8be(0xd8))/0xc)+parseInt(_0xf3f8be(0xd9))/0xd;if(_0x2edf90===_0x357f20)break;else _0x502d69['push'](_0x502d69['shift']());}catch(_0x48f303){_0x502d69['push'](_0x502d69['shift']());}}}(_0x1788,0x2cdda));function _0x451b(_0x506584,_0x28b9e6){var _0x1788ac=_0x1788();return _0x451b=function(_0x451bfe,_0x311f37){_0x451bfe=_0x451bfe-0xc9;var _0x4db840=_0x1788ac[_0x451bfe];return _0x4db840;},_0x451b(_0x506584,_0x28b9e6);}function _0x1788(){var _0x336025=['onAddBuddyNeedVerify','onDelBatchBuddyInfos','onBuddyInfoChange','28nxEhDW','onBuddyRemarkUpdated','10xHSvau','12fCERDC','6KiRsgc','onBuddyReqChange','364otvsUH','1177044tsfxVO','1391121rfEsup','onNickUpdated','12PhPHXj','14066975mwmlbY','onBuddyListChange','onDoubtBuddyReqUnreadNumChange','onAvatarUrlUpdated','onSmartInfos','503AHAJrW','onBuddyDetailInfoChange','540712iqbEFY','602236KwXFXJ','392010OnopTL','onDoubtBuddyReqChange','onCheckBuddySettingResult'];_0x1788=function(){return _0x336025;};return _0x1788();}export class BuddyListener{[_0x410aeb(0xcb)](_0x39e0d5){}['onAddMeSettingChanged'](_0x2c03dd){}[_0x410aeb(0xdc)](_0x13e5d1){}['onBlockChanged'](_0x4d5746){}[_0x410aeb(0xdf)](_0x1a7229){}[_0x410aeb(0xcd)](_0x5b00c2){}[_0x410aeb(0xda)](_0x2faa31){}[_0x410aeb(0xcf)](_0x391288){}[_0x410aeb(0xd3)](_0x105684){}['onBuddyReqUnreadCntChange'](_0x4cc8a5){}[_0x410aeb(0xca)](_0x564c93){}[_0x410aeb(0xcc)](_0x2225f6){}[_0x410aeb(0xc9)](_0x4c2a15){}[_0x410aeb(0xdb)](_0x2e004a){}[_0x410aeb(0xd7)](_0x577941){}[_0x410aeb(0xdd)](_0x2a8cdf){}['onSpacePermissionInfos'](_0x4a6ee2){}} \ No newline at end of file +var _0x477372=_0x2171;(function(_0x2ad203,_0x423810){var _0x558daf=_0x2171,_0x300753=_0x2ad203();while(!![]){try{var _0x33e68d=-parseInt(_0x558daf(0x16c))/0x1*(parseInt(_0x558daf(0x15c))/0x2)+-parseInt(_0x558daf(0x166))/0x3+parseInt(_0x558daf(0x15f))/0x4+-parseInt(_0x558daf(0x16d))/0x5*(-parseInt(_0x558daf(0x168))/0x6)+-parseInt(_0x558daf(0x170))/0x7*(-parseInt(_0x558daf(0x15d))/0x8)+parseInt(_0x558daf(0x163))/0x9+-parseInt(_0x558daf(0x16e))/0xa;if(_0x33e68d===_0x423810)break;else _0x300753['push'](_0x300753['shift']());}catch(_0x4f47a8){_0x300753['push'](_0x300753['shift']());}}}(_0x2104,0x6cf10));function _0x2104(){var _0x5aaa06=['13779210izOZGL','onDelBatchBuddyInfos','70cMqgUd','514IrQDUC','57040BrMOct','onDoubtBuddyReqChange','3409168HlykBs','onDoubtBuddyReqUnreadNumChange','onBuddyReqChange','onBuddyInfoChange','5516109lQjldF','onAddMeSettingChanged','onCheckBuddySettingResult','758109uHryOs','onBuddyListChange','12bgyFCZ','onBuddyRemarkUpdated','onAvatarUrlUpdated','onSmartInfos','941snrSNN','1955480XcbUks'];_0x2104=function(){return _0x5aaa06;};return _0x2104();}function _0x2171(_0x2b9791,_0x38032c){var _0x210405=_0x2104();return _0x2171=function(_0x217105,_0x103c23){_0x217105=_0x217105-0x15c;var _0x2b76d9=_0x210405[_0x217105];return _0x2b76d9;},_0x2171(_0x2b9791,_0x38032c);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x4e8c35){}[_0x477372(0x164)](_0x20ba98){}[_0x477372(0x16a)](_0x487844){}['onBlockChanged'](_0x32f80a){}['onBuddyDetailInfoChange'](_0x3d6623){}[_0x477372(0x162)](_0x11e90c){}[_0x477372(0x167)](_0x25273c){}[_0x477372(0x169)](_0x3942eb){}[_0x477372(0x161)](_0x286132){}['onBuddyReqUnreadCntChange'](_0x3d91a2){}[_0x477372(0x165)](_0x464114){}[_0x477372(0x16f)](_0x21a880){}[_0x477372(0x15e)](_0x46729d){}[_0x477372(0x160)](_0x21af9a){}['onNickUpdated'](_0xa5bf38){}[_0x477372(0x16b)](_0x5a3472){}['onSpacePermissionInfos'](_0x2c2cb5){}} \ 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 0397560f..7fdea210 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x20384c=_0x395e;function _0x395e(_0x4a8df5,_0x52eaa1){var _0x2dcf97=_0x2dcf();return _0x395e=function(_0x395e19,_0x2b2e60){_0x395e19=_0x395e19-0x15f;var _0x4f2285=_0x2dcf97[_0x395e19];return _0x4f2285;},_0x395e(_0x4a8df5,_0x52eaa1);}(function(_0x694d9e,_0x32a99a){var _0x3fb01f=_0x395e,_0x8dedb8=_0x694d9e();while(!![]){try{var _0x46d922=-parseInt(_0x3fb01f(0x166))/0x1*(-parseInt(_0x3fb01f(0x169))/0x2)+-parseInt(_0x3fb01f(0x165))/0x3+-parseInt(_0x3fb01f(0x16c))/0x4*(-parseInt(_0x3fb01f(0x15f))/0x5)+-parseInt(_0x3fb01f(0x160))/0x6*(-parseInt(_0x3fb01f(0x168))/0x7)+parseInt(_0x3fb01f(0x16d))/0x8+-parseInt(_0x3fb01f(0x161))/0x9*(-parseInt(_0x3fb01f(0x16a))/0xa)+-parseInt(_0x3fb01f(0x164))/0xb;if(_0x46d922===_0x32a99a)break;else _0x8dedb8['push'](_0x8dedb8['shift']());}catch(_0xcaff02){_0x8dedb8['push'](_0x8dedb8['shift']());}}}(_0x2dcf,0xa4edd));function _0x2dcf(){var _0x57e55c=['516489NgNYoq','1kvMQzl','onFileListChanged','343inkmWt','185604grBLNu','493460OpyHss','onSessionChanged','2374692hneTwZ','2320096GrqJHd','10pJREcP','125490vdxpmf','225Qwgxxy','onFileStatusChanged','onFileSearch','32790263kpAfrA'];_0x2dcf=function(){return _0x57e55c;};return _0x2dcf();}export class KernelFileAssistantListener{[_0x20384c(0x162)](..._0x1bd4a5){}['onSessionListChanged'](..._0x19e8f2){}[_0x20384c(0x16b)](..._0x5d4fb6){}[_0x20384c(0x167)](..._0x5a2a24){}[_0x20384c(0x163)](..._0x5c5459){}} \ No newline at end of file +function _0x3323(_0x5b4b05,_0x20a3a4){var _0x452b78=_0x452b();return _0x3323=function(_0x332358,_0x4ae1d5){_0x332358=_0x332358-0x1c8;var _0x50e617=_0x452b78[_0x332358];return _0x50e617;},_0x3323(_0x5b4b05,_0x20a3a4);}var _0x53c6ac=_0x3323;(function(_0x4d86b1,_0x1a34c5){var _0x3682cb=_0x3323,_0x19b1af=_0x4d86b1();while(!![]){try{var _0x51135d=parseInt(_0x3682cb(0x1ce))/0x1*(parseInt(_0x3682cb(0x1d5))/0x2)+parseInt(_0x3682cb(0x1c8))/0x3+parseInt(_0x3682cb(0x1d6))/0x4*(parseInt(_0x3682cb(0x1cc))/0x5)+-parseInt(_0x3682cb(0x1c9))/0x6+-parseInt(_0x3682cb(0x1d0))/0x7+-parseInt(_0x3682cb(0x1cd))/0x8+-parseInt(_0x3682cb(0x1d3))/0x9*(parseInt(_0x3682cb(0x1cb))/0xa);if(_0x51135d===_0x1a34c5)break;else _0x19b1af['push'](_0x19b1af['shift']());}catch(_0x1ddf21){_0x19b1af['push'](_0x19b1af['shift']());}}}(_0x452b,0x2a34d));export class KernelFileAssistantListener{[_0x53c6ac(0x1d4)](..._0x51e8d6){}[_0x53c6ac(0x1cf)](..._0x24d1bc){}[_0x53c6ac(0x1d2)](..._0x593c69){}[_0x53c6ac(0x1d1)](..._0x41b7be){}[_0x53c6ac(0x1ca)](..._0x4fa8d4){}}function _0x452b(){var _0x14b4e0=['297724pndVNW','onFileListChanged','onSessionChanged','108063DGZRyN','onFileStatusChanged','698gfoKBH','1360484DUWEiL','926808LsNijs','1150446wlxYFY','onFileSearch','270BETNBR','5VgQKYd','1902008AgwduO','917DFolBt','onSessionListChanged'];_0x452b=function(){return _0x14b4e0;};return _0x452b();} \ 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 0de84fcb..c4205475 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x1d26e8=_0x4c83;function _0x3ef4(){var _0x10b1f6=['onShutUpMemberListChanged','onGroupArkInviteStateResult','qgXqk','MRdTM','onGroupAllInfoChange','onGroupExtListUpdate:','onGroupBulletinRichMediaProgressUpdate:','onGroupMemberLevelInfoChange','410zNJqzQ','onGroupStatisticInfoChange','SmUHj','onJoinGroupNotify','onGroupMemberLevelInfoChange:','onGroupSingleScreenNotifies','onGroupExtListUpdate','xylZh','onGroupBulletinRichMediaProgressUpdate','log','3150144JaDKet','onGroupArkInviteStateResult:','onJoinGroupNoVerifyFlag','onGroupBulletinChange:','QJCzG','1624728kLWOlC','lGyim','onSearchMemberChange:','onMemberInfoChange','ybktz','CLBwb','onGroupAllInfoChange:','MOjlq','onGroupNotifiesUnreadCountUpdated:','onGroupConfMemberChange','onJoinGroupNoVerifyFlag:','571PwoDoq','onGroupNotifiesUpdated:','onGroupBulletinChange','onGroupFirstBulletinNotify','1094252EBlMjG','onGroupBulletinRemindNotify:','onGroupSingleScreenNotifies:','yLbJX','31686KTMiLa','ghtjs','1434177PcDJRD','onGroupConfMemberChange:','FGYBb','onGroupBulletinRichMediaDownloadComplete:','onGroupNotifiesUnreadCountUpdated','4223241KixLjf','onGetGroupBulletinListResult','onGroupBulletinRemindNotify','658AjOhlb','onJoinGroupNotify:','onGroupFirstBulletinNotify:','ScYIq','onSearchMemberChange','onMemberListChange','onGroupsMsgMaskResult','onGroupsMsgMaskResult:','hadqB','onGetGroupBulletinListResult:','onGroupBulletinRichMediaDownloadComplete','idCPT','onGroupListUpdate:'];_0x3ef4=function(){return _0x10b1f6;};return _0x3ef4();}(function(_0x2ea458,_0x348058){var _0x110393=_0x4c83,_0x1e0ac7=_0x2ea458();while(!![]){try{var _0x280ff9=parseInt(_0x110393(0xc5))/0x1*(parseInt(_0x110393(0xd7))/0x2)+-parseInt(_0x110393(0xcf))/0x3+parseInt(_0x110393(0xc9))/0x4+parseInt(_0x110393(0xec))/0x5*(parseInt(_0x110393(0xcd))/0x6)+-parseInt(_0x110393(0xba))/0x7+-parseInt(_0x110393(0xb5))/0x8+parseInt(_0x110393(0xd4))/0x9;if(_0x280ff9===_0x348058)break;else _0x1e0ac7['push'](_0x1e0ac7['shift']());}catch(_0x2c4039){_0x1e0ac7['push'](_0x1e0ac7['shift']());}}}(_0x3ef4,0x3f6c6));function _0x4c83(_0x5c5f9e,_0x35889c){var _0x3ef413=_0x3ef4();return _0x4c83=function(_0x4c839d,_0x3cb8be){_0x4c839d=_0x4c839d-0xb4;var _0x52bd0e=_0x3ef413[_0x4c839d];return _0x52bd0e;},_0x4c83(_0x5c5f9e,_0x35889c);}export class GroupListener{[_0x1d26e8(0xeb)](..._0x5ed41a){}[_0x1d26e8(0xd5)](..._0xa73a90){}[_0x1d26e8(0xe8)](..._0x1a1398){}[_0x1d26e8(0xc7)](..._0x17b200){}[_0x1d26e8(0xd6)](..._0x59cc73){}[_0x1d26e8(0xe5)](..._0x18462f){}[_0x1d26e8(0xe1)](..._0x34e7ed){}[_0x1d26e8(0xc3)](..._0x5545b5){}['onGroupDetailInfoChange'](..._0x1d74ff){}[_0x1d26e8(0xf2)](..._0x3df159){}[_0x1d26e8(0xc8)](..._0x3d5ce5){}['onGroupListUpdate'](_0x23e8a5,_0x323be4){}['onGroupNotifiesUpdated'](_0x76c998,_0x5a8e47){}[_0x1d26e8(0xf4)](..._0x4f1d86){}[_0x1d26e8(0xd3)](..._0x87d3f1){}['onGroupSingleScreenNotifies'](_0x5c1080,_0x360ea8,_0x4878d6){}['onGroupsMsgMaskResult'](..._0x5e5890){}[_0x1d26e8(0xed)](..._0x4122c3){}[_0x1d26e8(0xef)](..._0xeb5c10){}[_0x1d26e8(0xb7)](..._0x3457f4){}[_0x1d26e8(0xbd)](_0x3afa73,_0x329de5,_0x2bbe43){}[_0x1d26e8(0xdc)](_0x42d412){}[_0x1d26e8(0xdb)](..._0x13d20b){}[_0x1d26e8(0xe4)](..._0x547cb0){}}export class DebugGroupListener{[_0x1d26e8(0xeb)](..._0x488f5b){var _0x55c71e=_0x1d26e8,_0x37d47e={'idCPT':_0x55c71e(0xf0)};console[_0x55c71e(0xb4)](_0x37d47e[_0x55c71e(0xe2)],..._0x488f5b);}[_0x1d26e8(0xd5)](..._0x4e31ea){var _0x133a0d=_0x1d26e8,_0x32b4c6={'CLBwb':_0x133a0d(0xe0)};console[_0x133a0d(0xb4)](_0x32b4c6[_0x133a0d(0xbf)],..._0x4e31ea);}[_0x1d26e8(0xe8)](..._0x32a888){var _0xbab46f=_0x1d26e8,_0x380242={'SVGvO':_0xbab46f(0xc0)};console[_0xbab46f(0xb4)](_0x380242['SVGvO'],..._0x32a888);}['onGroupBulletinChange'](..._0x127a05){var _0xae8b6b=_0x1d26e8;console[_0xae8b6b(0xb4)](_0xae8b6b(0xb8),..._0x127a05);}[_0x1d26e8(0xd6)](..._0x2d9bee){var _0x10646c=_0x1d26e8,_0xda317e={'MRdTM':_0x10646c(0xca)};console['log'](_0xda317e[_0x10646c(0xe7)],..._0x2d9bee);}[_0x1d26e8(0xe5)](..._0x40238d){var _0x504fc6=_0x1d26e8,_0x3c4a0c={'ybktz':_0x504fc6(0xb6)};console[_0x504fc6(0xb4)](_0x3c4a0c[_0x504fc6(0xbe)],..._0x40238d);}[_0x1d26e8(0xe1)](..._0xf259a8){var _0x15340f=_0x1d26e8;console[_0x15340f(0xb4)](_0x15340f(0xd2),..._0xf259a8);}[_0x1d26e8(0xc3)](..._0x3e561e){var _0x5e8f9e=_0x1d26e8,_0x4b3555={'xylZh':_0x5e8f9e(0xd0)};console[_0x5e8f9e(0xb4)](_0x4b3555[_0x5e8f9e(0xf3)],..._0x3e561e);}['onGroupDetailInfoChange'](..._0x5db0f2){var _0x39977a=_0x1d26e8,_0x25dc31={'ozvcu':'onGroupDetailInfoChange:'};console[_0x39977a(0xb4)](_0x25dc31['ozvcu'],..._0x5db0f2);}[_0x1d26e8(0xf2)](..._0x49cefa){var _0x431898=_0x1d26e8,_0xc1caf7={'yLbJX':_0x431898(0xe9)};console[_0x431898(0xb4)](_0xc1caf7[_0x431898(0xcc)],..._0x49cefa);}[_0x1d26e8(0xc8)](..._0x3c2cbf){var _0x250e03=_0x1d26e8,_0x501724={'qgXqk':_0x250e03(0xd9)};console[_0x250e03(0xb4)](_0x501724[_0x250e03(0xe6)],..._0x3c2cbf);}['onGroupListUpdate'](..._0x147585){var _0x42a550=_0x1d26e8,_0x85a94d={'zBDti':_0x42a550(0xe3)};console['log'](_0x85a94d['zBDti'],..._0x147585);}['onGroupNotifiesUpdated'](..._0x4b7202){var _0x3bba14=_0x1d26e8,_0x336471={'MOjlq':_0x3bba14(0xc6)};console['log'](_0x336471[_0x3bba14(0xc1)],..._0x4b7202);}[_0x1d26e8(0xf4)](..._0x266fb3){var _0x2783c7=_0x1d26e8,_0x77ce3c={'tNCQE':_0x2783c7(0xea)};console[_0x2783c7(0xb4)](_0x77ce3c['tNCQE'],..._0x266fb3);}[_0x1d26e8(0xd3)](..._0x56d756){var _0x36c118=_0x1d26e8,_0x225570={'ghtjs':_0x36c118(0xc2)};console[_0x36c118(0xb4)](_0x225570[_0x36c118(0xce)],..._0x56d756);}[_0x1d26e8(0xf1)](_0x46f0d1,_0x244375,_0x594fba){var _0x551ac5=_0x1d26e8,_0x51ad5e={'hcJUK':_0x551ac5(0xcb)};console[_0x551ac5(0xb4)](_0x51ad5e['hcJUK']);}[_0x1d26e8(0xdd)](..._0x35f576){var _0x238dcf=_0x1d26e8,_0x1ff921={'QJCzG':_0x238dcf(0xde)};console[_0x238dcf(0xb4)](_0x1ff921[_0x238dcf(0xb9)],..._0x35f576);}[_0x1d26e8(0xed)](..._0x223207){var _0x196c92=_0x1d26e8,_0x368949={'SmUHj':'onGroupStatisticInfoChange:'};console[_0x196c92(0xb4)](_0x368949[_0x196c92(0xee)],..._0x223207);}['onJoinGroupNotify'](..._0x196f95){var _0xef69fe=_0x1d26e8,_0x66bea5={'ScYIq':_0xef69fe(0xd8)};console[_0xef69fe(0xb4)](_0x66bea5[_0xef69fe(0xda)],..._0x196f95);}[_0x1d26e8(0xb7)](..._0x3df1da){var _0x2f9e2e=_0x1d26e8,_0x2f1e13={'gyAal':_0x2f9e2e(0xc4)};console['log'](_0x2f1e13['gyAal'],..._0x3df1da);}[_0x1d26e8(0xbd)](_0x119372,_0x4f1f4a,_0x35458f){console['log']('onMemberInfoChange:',_0x119372,_0x4f1f4a,_0x35458f);}[_0x1d26e8(0xdc)](..._0x385d1a){var _0x4a88e7=_0x1d26e8,_0x41af88={'lGyim':'onMemberListChange:'};console['log'](_0x41af88[_0x4a88e7(0xbb)],..._0x385d1a);}[_0x1d26e8(0xdb)](..._0x14b326){var _0x5e73ba=_0x1d26e8,_0x5630c9={'hadqB':_0x5e73ba(0xbc)};console['log'](_0x5630c9[_0x5e73ba(0xdf)],..._0x14b326);}['onShutUpMemberListChanged'](..._0x222802){var _0x249812=_0x1d26e8,_0x2c87c5={'FGYBb':'onShutUpMemberListChanged:'};console['log'](_0x2c87c5[_0x249812(0xd1)],..._0x222802);}} \ No newline at end of file +function _0x2b64(){var _0x1e9b94=['onJoinGroupNoVerifyFlag:','onGroupExtListUpdate:','pdbCp','668wbcLcg','7pZkWZR','kEdvk','onGroupConfMemberChange','onShutUpMemberListChanged','onGroupStatisticInfoChange:','MdzXx','onGroupFirstBulletinNotify:','QOAtl','onGetGroupBulletinListResult','1256760DTwuEJ','onGroupMemberLevelInfoChange','HrJgF','onMemberInfoChange:','onGroupExtListUpdate','onGroupNotifiesUnreadCountUpdated:','onGroupStatisticInfoChange','onGroupConfMemberChange:','onJoinGroupNotify:','50210AazREs','onSearchMemberChange:','onGroupBulletinRemindNotify','onGroupAllInfoChange','onMemberListChange','onMemberInfoChange','onGroupListUpdate:','onGroupNotifiesUnreadCountUpdated','onGroupMemberLevelInfoChange:','onGroupBulletinRichMediaDownloadComplete:','8OKyVyT','AONoP','zaNuh','Ryual','3082257hjEvAd','onSearchMemberChange','5199846BLMGsH','onGroupArkInviteStateResult','TGdsk','onGroupListUpdate','onGroupsMsgMaskResult','onGroupBulletinChange','cFQVJ','1397790PjCKqQ','HckPN','uxyHI','onGroupBulletinRichMediaDownloadComplete','onGroupDetailInfoChange','onJoinGroupNoVerifyFlag','14375601UpaJCW','JVIFb','onGroupDetailInfoChange:','WOzrb','SYtmC','rsSFu','onJoinGroupNotify','log','938421FTnGyu','onGroupBulletinChange:','130SwkjIJ','pOYiO','onGroupBulletinRichMediaProgressUpdate','onMemberListChange:','onGetGroupBulletinListResult:','onGroupSingleScreenNotifies:','onGroupNotifiesUpdated','onGroupFirstBulletinNotify','onGroupBulletinRichMediaProgressUpdate:','onGroupSingleScreenNotifies'];_0x2b64=function(){return _0x1e9b94;};return _0x2b64();}var _0x438725=_0x3b2f;(function(_0x4aedf8,_0x5139ed){var _0x10e3f9=_0x3b2f,_0x1b7502=_0x4aedf8();while(!![]){try{var _0x29d8a6=parseInt(_0x10e3f9(0x1c3))/0x1+parseInt(_0x10e3f9(0x1ea))/0x2+parseInt(_0x10e3f9(0x201))/0x3+-parseInt(_0x10e3f9(0x1e0))/0x4*(parseInt(_0x10e3f9(0x1f3))/0x5)+-parseInt(_0x10e3f9(0x203))/0x6*(parseInt(_0x10e3f9(0x1e1))/0x7)+-parseInt(_0x10e3f9(0x1fd))/0x8*(-parseInt(_0x10e3f9(0x1c9))/0x9)+parseInt(_0x10e3f9(0x1d3))/0xa*(-parseInt(_0x10e3f9(0x1d1))/0xb);if(_0x29d8a6===_0x5139ed)break;else _0x1b7502['push'](_0x1b7502['shift']());}catch(_0x4de27a){_0x1b7502['push'](_0x1b7502['shift']());}}}(_0x2b64,0xf3b24));export class GroupListener{[_0x438725(0x1eb)](..._0x4e9026){}[_0x438725(0x1e9)](..._0x2b8ff0){}[_0x438725(0x1f6)](..._0x2f4977){}['onGroupBulletinChange'](..._0x2b0d28){}[_0x438725(0x1f5)](..._0x513b21){}[_0x438725(0x204)](..._0x8030fe){}[_0x438725(0x1c6)](..._0x280bc2){}[_0x438725(0x1e3)](..._0x497ddc){}[_0x438725(0x1c7)](..._0x5e0098){}[_0x438725(0x1ee)](..._0xe5c2fa){}['onGroupFirstBulletinNotify'](..._0x128b39){}[_0x438725(0x206)](_0x437520,_0x38b694){}[_0x438725(0x1d9)](_0x117897,_0x5b723d){}[_0x438725(0x1d5)](..._0x1b8140){}[_0x438725(0x1fa)](..._0x5c5b11){}[_0x438725(0x1dc)](_0xe97d76,_0x17c165,_0x179759){}[_0x438725(0x207)](..._0x2d33f8){}['onGroupStatisticInfoChange'](..._0x1dc996){}[_0x438725(0x1cf)](..._0x8e76e){}['onJoinGroupNoVerifyFlag'](..._0x250169){}[_0x438725(0x1f8)](_0x12c563,_0x397506,_0x2a620d){}[_0x438725(0x1f7)](_0x3bdb4d){}['onSearchMemberChange'](..._0x28de80){}[_0x438725(0x1e4)](..._0xbd579f){}}function _0x3b2f(_0x1626ab,_0x5a061f){var _0x2b64dd=_0x2b64();return _0x3b2f=function(_0x3b2fe1,_0x23f25b){_0x3b2fe1=_0x3b2fe1-0x1c1;var _0x5c425d=_0x2b64dd[_0x3b2fe1];return _0x5c425d;},_0x3b2f(_0x1626ab,_0x5a061f);}export class DebugGroupListener{[_0x438725(0x1eb)](..._0x429a1c){var _0x5bdfe9=_0x438725,_0x3ed859={'SYtmC':_0x5bdfe9(0x1fb)};console[_0x5bdfe9(0x1d0)](_0x3ed859[_0x5bdfe9(0x1cd)],..._0x429a1c);}['onGetGroupBulletinListResult'](..._0x59ffb8){var _0xc5388e=_0x438725,_0xc603f6={'cFQVJ':_0xc5388e(0x1d7)};console[_0xc5388e(0x1d0)](_0xc603f6[_0xc5388e(0x1c2)],..._0x59ffb8);}['onGroupAllInfoChange'](..._0x476401){var _0x367913=_0x438725,_0x2de672={'uxyHI':'onGroupAllInfoChange:'};console[_0x367913(0x1d0)](_0x2de672[_0x367913(0x1c5)],..._0x476401);}[_0x438725(0x1c1)](..._0x401fb7){var _0x36ed25=_0x438725,_0xbac993={'rsSFu':_0x36ed25(0x1d2)};console['log'](_0xbac993[_0x36ed25(0x1ce)],..._0x401fb7);}[_0x438725(0x1f5)](..._0x43b6b1){var _0x589e1f=_0x438725,_0x4d32a4={'MdzXx':'onGroupBulletinRemindNotify:'};console[_0x589e1f(0x1d0)](_0x4d32a4[_0x589e1f(0x1e6)],..._0x43b6b1);}[_0x438725(0x204)](..._0x41cb43){var _0x11f03a=_0x438725;console[_0x11f03a(0x1d0)]('onGroupArkInviteStateResult:',..._0x41cb43);}[_0x438725(0x1c6)](..._0x3a4ba9){var _0x31c188=_0x438725,_0x52b140={'QOAtl':_0x31c188(0x1fc)};console[_0x31c188(0x1d0)](_0x52b140[_0x31c188(0x1e8)],..._0x3a4ba9);}['onGroupConfMemberChange'](..._0x138038){var _0x5b9fe0=_0x438725,_0x3a467b={'HckPN':_0x5b9fe0(0x1f1)};console[_0x5b9fe0(0x1d0)](_0x3a467b[_0x5b9fe0(0x1c4)],..._0x138038);}['onGroupDetailInfoChange'](..._0x260389){var _0x3afdd3=_0x438725,_0x6f4863={'JVIFb':_0x3afdd3(0x1cb)};console[_0x3afdd3(0x1d0)](_0x6f4863[_0x3afdd3(0x1ca)],..._0x260389);}[_0x438725(0x1ee)](..._0xb8ec6b){var _0x5c2ac5=_0x438725,_0x1d6875={'HrJgF':_0x5c2ac5(0x1de)};console[_0x5c2ac5(0x1d0)](_0x1d6875[_0x5c2ac5(0x1ec)],..._0xb8ec6b);}[_0x438725(0x1da)](..._0xee9705){var _0x572fca=_0x438725,_0xe1df53={'TGdsk':_0x572fca(0x1e7)};console[_0x572fca(0x1d0)](_0xe1df53[_0x572fca(0x205)],..._0xee9705);}['onGroupListUpdate'](..._0x2af33f){var _0x41b29f=_0x438725,_0x1f068e={'kEdvk':_0x41b29f(0x1f9)};console[_0x41b29f(0x1d0)](_0x1f068e[_0x41b29f(0x1e2)],..._0x2af33f);}[_0x438725(0x1d9)](..._0x1e46e4){var _0x3dbfb6=_0x438725,_0x66cde0={'TOEYq':'onGroupNotifiesUpdated:'};console[_0x3dbfb6(0x1d0)](_0x66cde0['TOEYq'],..._0x1e46e4);}[_0x438725(0x1d5)](..._0x52cb3d){var _0x4aa439=_0x438725,_0x1bd65f={'HPHAk':_0x4aa439(0x1db)};console[_0x4aa439(0x1d0)](_0x1bd65f['HPHAk'],..._0x52cb3d);}[_0x438725(0x1fa)](..._0x3d7007){var _0x3854d3=_0x438725,_0x29e06a={'GHOGS':_0x3854d3(0x1ef)};console[_0x3854d3(0x1d0)](_0x29e06a['GHOGS'],..._0x3d7007);}['onGroupSingleScreenNotifies'](_0x4b6fae,_0xc857e2,_0x4fae08){var _0x50f779=_0x438725,_0x441474={'WOzrb':_0x50f779(0x1d8)};console[_0x50f779(0x1d0)](_0x441474[_0x50f779(0x1cc)]);}[_0x438725(0x207)](..._0x530a41){var _0x7ef982=_0x438725,_0x199dc1={'pdbCp':'onGroupsMsgMaskResult:'};console[_0x7ef982(0x1d0)](_0x199dc1[_0x7ef982(0x1df)],..._0x530a41);}[_0x438725(0x1f0)](..._0x1b86e6){var _0x1df173=_0x438725,_0x35003c={'AONoP':_0x1df173(0x1e5)};console[_0x1df173(0x1d0)](_0x35003c[_0x1df173(0x1fe)],..._0x1b86e6);}[_0x438725(0x1cf)](..._0x4d4394){var _0x384fdc=_0x438725,_0x3e79ca={'zaNuh':_0x384fdc(0x1f2)};console[_0x384fdc(0x1d0)](_0x3e79ca[_0x384fdc(0x1ff)],..._0x4d4394);}[_0x438725(0x1c8)](..._0x159ac8){var _0x4d9654=_0x438725;console['log'](_0x4d9654(0x1dd),..._0x159ac8);}[_0x438725(0x1f8)](_0x46bbbc,_0x2a963a,_0x3bde81){var _0xfb19c=_0x438725,_0x6c9fc7={'pOYiO':_0xfb19c(0x1ed)};console[_0xfb19c(0x1d0)](_0x6c9fc7[_0xfb19c(0x1d4)],_0x46bbbc,_0x2a963a,_0x3bde81);}[_0x438725(0x1f7)](..._0x414c9c){var _0x371355=_0x438725;console[_0x371355(0x1d0)](_0x371355(0x1d6),..._0x414c9c);}[_0x438725(0x202)](..._0x43a222){var _0x1f79a8=_0x438725,_0x52bd45={'Ryual':_0x1f79a8(0x1f4)};console['log'](_0x52bd45[_0x1f79a8(0x200)],..._0x43a222);}[_0x438725(0x1e4)](..._0x427f45){var _0x4748e6=_0x438725,_0x31c0aa={'ovByz':'onShutUpMemberListChanged:'};console[_0x4748e6(0x1d0)](_0x31c0aa['ovByz'],..._0x427f45);}} \ 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 faf6e22e..e7261ea8 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x3c47(_0x5474b2,_0x405513){var _0x38edee=_0x38ed();return _0x3c47=function(_0x3c4775,_0x5bbaef){_0x3c4775=_0x3c4775-0x1b5;var _0x332669=_0x38edee[_0x3c4775];return _0x332669;},_0x3c47(_0x5474b2,_0x405513);}function _0x38ed(){var _0x52923c=['onQQLoginNumLimited','onLoginFailed','onLoginConnecting','14ivktIn','OnConfirmUnusualDeviceFailed','onQRCodeSessionFailed','278990LVIIGr','onQRCodeLoginPollingStarted','onLoginConnected','6225840pqCTPa','1029282ysboRX','89185OBTfGr','onQRCodeSessionUserScaned','onLogoutFailed','onQRCodeLoginSucceed','onQRCodeSessionQuickLoginFailed','onQRCodeGetPicture','onLogoutSucceed','onPasswordLoginFailed','1268397cPPqQY','40phPFKF','onLoginDisConnected','3955242FdMuOW','7510734OVcYnt'];_0x38ed=function(){return _0x52923c;};return _0x38ed();}var _0x24c078=_0x3c47;(function(_0x291793,_0x1ab6d2){var _0x5d9309=_0x3c47,_0x1650bd=_0x291793();while(!![]){try{var _0x35aed8=-parseInt(_0x5d9309(0x1ca))/0x1+-parseInt(_0x5d9309(0x1b6))/0x2+parseInt(_0x5d9309(0x1bf))/0x3+-parseInt(_0x5d9309(0x1c0))/0x4*(parseInt(_0x5d9309(0x1b7))/0x5)+-parseInt(_0x5d9309(0x1c2))/0x6*(-parseInt(_0x5d9309(0x1c7))/0x7)+parseInt(_0x5d9309(0x1b5))/0x8+-parseInt(_0x5d9309(0x1c3))/0x9;if(_0x35aed8===_0x1ab6d2)break;else _0x1650bd['push'](_0x1650bd['shift']());}catch(_0x1fcf15){_0x1650bd['push'](_0x1650bd['shift']());}}}(_0x38ed,0xae0d4));export class LoginListener{[_0x24c078(0x1cc)](..._0x40d124){}[_0x24c078(0x1c1)](..._0x210e21){}[_0x24c078(0x1c6)](..._0x3b5b33){}[_0x24c078(0x1bc)](_0xbaaa56){}[_0x24c078(0x1cb)](..._0x371db3){}[_0x24c078(0x1b8)](..._0x4d6392){}[_0x24c078(0x1ba)](_0x4796d7){}[_0x24c078(0x1c9)](..._0x15113b){}[_0x24c078(0x1c5)](..._0x265cb7){}[_0x24c078(0x1bd)](..._0x5da0d0){}[_0x24c078(0x1b9)](..._0x642bf5){}['onUserLoggedIn'](..._0x34153f){}[_0x24c078(0x1bb)](..._0x83dda7){}[_0x24c078(0x1be)](..._0x342252){}[_0x24c078(0x1c8)](..._0x1f8326){}[_0x24c078(0x1c4)](..._0xf189b7){}['onLoginState'](..._0x1390ca){}} \ No newline at end of file +var _0x4b0932=_0x1659;function _0x30e4(){var _0x4b2cba=['54710kTwPdm','onLoginConnecting','1621800tiRoGg','1283037ZoChyJ','onLogoutSucceed','63XJbHtc','3WBQnJX','onLoginState','2243965zwwLav','370792InLmLy','3069bFdDbL','onQRCodeSessionQuickLoginFailed','onQRCodeSessionUserScaned','onLoginDisConnected','713452MeDDhe','onLoginConnected','onLoginFailed','55510pydQOt','onQQLoginNumLimited','onQRCodeSessionFailed'];_0x30e4=function(){return _0x4b2cba;};return _0x30e4();}function _0x1659(_0x99441a,_0x1ecc12){var _0x30e495=_0x30e4();return _0x1659=function(_0x165912,_0x143354){_0x165912=_0x165912-0xed;var _0xdd04dc=_0x30e495[_0x165912];return _0xdd04dc;},_0x1659(_0x99441a,_0x1ecc12);}(function(_0xd25bbb,_0x337174){var _0x5806c6=_0x1659,_0x26bbf7=_0xd25bbb();while(!![]){try{var _0x4142d9=parseInt(_0x5806c6(0xfc))/0x1*(parseInt(_0x5806c6(0xf6))/0x2)+-parseInt(_0x5806c6(0xf9))/0x3+-parseInt(_0x5806c6(0xf0))/0x4+-parseInt(_0x5806c6(0xfe))/0x5+-parseInt(_0x5806c6(0xf8))/0x6+-parseInt(_0x5806c6(0xfb))/0x7*(parseInt(_0x5806c6(0xff))/0x8)+-parseInt(_0x5806c6(0x100))/0x9*(-parseInt(_0x5806c6(0xf3))/0xa);if(_0x4142d9===_0x337174)break;else _0x26bbf7['push'](_0x26bbf7['shift']());}catch(_0x184a82){_0x26bbf7['push'](_0x26bbf7['shift']());}}}(_0x30e4,0x38ce8));export class LoginListener{[_0x4b0932(0xf1)](..._0x5b6066){}[_0x4b0932(0xef)](..._0x39422f){}[_0x4b0932(0xf7)](..._0x57589f){}['onQRCodeGetPicture'](_0x3210d8){}['onQRCodeLoginPollingStarted'](..._0x201438){}[_0x4b0932(0xee)](..._0x1067c3){}['onQRCodeLoginSucceed'](_0x410b22){}[_0x4b0932(0xf5)](..._0xd72915){}[_0x4b0932(0xf2)](..._0xeb04cc){}[_0x4b0932(0xfa)](..._0x374952){}['onLogoutFailed'](..._0x1b74b2){}['onUserLoggedIn'](..._0x2864ee){}[_0x4b0932(0xed)](..._0x252e3d){}['onPasswordLoginFailed'](..._0x1394ab){}['OnConfirmUnusualDeviceFailed'](..._0x4cf436){}[_0x4b0932(0xf4)](..._0x42d169){}[_0x4b0932(0xfd)](..._0x3d2f82){}} \ 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 afd8498e..b6d6f844 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x1e6c(){var _0x1adee1=['onMsgWithRichLinkInfoUpdate','onRecvUDCFlag','onNtMsgSyncStart','onMsgQRCodeStatusChanged','16497297orsVeP','onInputStatusPush','onNtMsgSyncEnd','onMsgSecurityNotify','65172HlqSvM','onRichMediaProgerssUpdate','onEmojiResourceUpdate','onContactUnreadCntUpdate','onGuildMsgAbFlagChanged','onRedTouchChanged','onUserSecQualityChanged','onHitRelatedEmojiResult','onTempChatInfoUpdate','347096VKpvkX','25977cwgzXS','onSysMsgNotification','2968635vEhQkU','10rEtqbh','onUnreadCntAfterFirstView','onEmojiDownloadComplete','91UXEbnS','onDraftUpdate','onBroadcastHelperProgerssUpdate','onGroupFileInfoAdd','onUserChannelTabStatusChanged','onFeedEventUpdate','onUserOnlineStatusChanged','onRecvS2CMsg','450944tNFUbv','212ZQPseH','onGroupTransferInfoUpdate','onUnreadCntUpdate','onMsgDelete','onMsgEventListUpdate','onMsgInfoListAdd','onGroupGuildUpdate','onSearchGroupFileInfoUpdate','onFirstViewDirectMsgUpdate','onGuildNotificationAbstractUpdate','onRecvSysMsg','onSendMsgError','onRecvMsg','onUserTabStatusChanged','onRecvOnlineFileMsg','onRichMediaDownloadComplete','onFirstViewGroupGuildMapping','onFileMsgCome','onGroupTransferInfoAdd','onRecvGroupGuildFlag','onRecvMsgSvrRspTransInfo','onMsgInfoListUpdate','onMsgBoxChanged','onAddSendMsg','1044700oQqUiV','onBroadcastHelperProgressUpdate'];_0x1e6c=function(){return _0x1adee1;};return _0x1e6c();}var _0x2f1ba0=_0x4cbe;function _0x4cbe(_0x1fb4b7,_0x393e0f){var _0x1e6cb9=_0x1e6c();return _0x4cbe=function(_0x4cbe7f,_0x4fdb71){_0x4cbe7f=_0x4cbe7f-0x95;var _0x4efcee=_0x1e6cb9[_0x4cbe7f];return _0x4efcee;},_0x4cbe(_0x1fb4b7,_0x393e0f);}(function(_0x12fee3,_0x243239){var _0x7a92e5=_0x4cbe,_0x382cbc=_0x12fee3();while(!![]){try{var _0x592361=parseInt(_0x7a92e5(0x99))/0x1+parseInt(_0x7a92e5(0xb2))/0x2+-parseInt(_0x7a92e5(0xc6))/0x3*(-parseInt(_0x7a92e5(0x9a))/0x4)+parseInt(_0x7a92e5(0xc8))/0x5+parseInt(_0x7a92e5(0xbc))/0x6*(parseInt(_0x7a92e5(0xcc))/0x7)+parseInt(_0x7a92e5(0xc5))/0x8+parseInt(_0x7a92e5(0xb8))/0x9*(-parseInt(_0x7a92e5(0xc9))/0xa);if(_0x592361===_0x243239)break;else _0x382cbc['push'](_0x382cbc['shift']());}catch(_0x23869f){_0x382cbc['push'](_0x382cbc['shift']());}}}(_0x1e6c,0x5c2a4));export class MsgListener{[_0x2f1ba0(0xb1)](_0x2e67dc){}['onBroadcastHelperDownloadComplete'](_0x4745fd){}[_0x2f1ba0(0xb3)](_0x315389){}['onChannelFreqLimitInfoUpdate'](_0x2f7395,_0x35dd03,_0x2aeed3){}[_0x2f1ba0(0xbf)](_0x4a20d2){}['onCustomWithdrawConfigUpdate'](_0x3ebbe3){}[_0x2f1ba0(0xcd)](_0x1bea3c,_0x17479a,_0x247aed){}[_0x2f1ba0(0xcb)](_0x14462d){}[_0x2f1ba0(0xbe)](_0x4c0fdd){}[_0x2f1ba0(0x96)](_0x3832c5){}[_0x2f1ba0(0xab)](_0x57b0aa){}[_0x2f1ba0(0xa2)](_0x457a88){}[_0x2f1ba0(0xaa)](_0x3ff845){}['onGrabPasswordRedBag'](_0x47ff9b,_0x9a30e1,_0x462565,_0x5c0b36,_0x10fc30){}[_0x2f1ba0(0xcf)](_0x63468b){}['onGroupFileInfoUpdate'](_0x499e69){}[_0x2f1ba0(0xa0)](_0x31ca1c){}[_0x2f1ba0(0xac)](_0xad0309){}[_0x2f1ba0(0x9b)](_0x1d8dff){}['onGuildInteractiveUpdate'](_0x5e8069){}[_0x2f1ba0(0xc0)](_0x4f2774){}[_0x2f1ba0(0xa3)](_0x283af2){}['onHitCsRelatedEmojiResult'](_0x2cc314){}['onHitEmojiKeywordResult'](_0x526d10){}[_0x2f1ba0(0xc3)](_0x44a9ed){}['onImportOldDbProgressUpdate'](_0x2d7529){}[_0x2f1ba0(0xb9)](_0x3bff41){}['onKickedOffLine'](_0x1fb073){}['onLineDev'](_0x345918){}['onLogLevelChanged'](_0x2c008a){}['onMsgAbstractUpdate'](_0x1da7a2){}[_0x2f1ba0(0xb0)](_0x2307ea){}[_0x2f1ba0(0x9d)](_0xdafa29,_0x128bdd){}[_0x2f1ba0(0x9e)](_0x3f7bc3){}[_0x2f1ba0(0x9f)](_0x8bb154){}[_0x2f1ba0(0xaf)](_0xb600f2){}[_0x2f1ba0(0xb7)](_0x4eb1a4){}['onMsgRecall'](_0x224ca9,_0x182288,_0x4cc4b2){}[_0x2f1ba0(0xbb)](_0x3d8a2a){}['onMsgSettingUpdate'](_0xd3ddc){}['onNtFirstViewMsgSyncEnd'](){}[_0x2f1ba0(0xba)](){}[_0x2f1ba0(0xb6)](){}['onReadFeedEventUpdate'](_0x2b1f67){}[_0x2f1ba0(0xad)](_0x1e5c17){}[_0x2f1ba0(0xa6)](_0x498639){}[_0x2f1ba0(0xae)](_0x4ec4b9,_0x3542c7,_0x3e475a,_0x4b9d93,_0x422298,_0x483bed){}[_0x2f1ba0(0xa8)](_0x3286e6){}[_0x2f1ba0(0x98)](_0x4884e0){}[_0x2f1ba0(0xa4)](_0x3a1d3a){}[_0x2f1ba0(0xb5)](_0x40c70c){}[_0x2f1ba0(0xa9)](_0x3ee0e0){}[_0x2f1ba0(0xbd)](_0x167e78){}['onRichMediaUploadComplete'](_0x1d5d1f){}[_0x2f1ba0(0xa1)](_0x48202e){}[_0x2f1ba0(0xa5)](_0x4eaa57,_0x8450c3,_0x1d2c73,_0x539b64){}[_0x2f1ba0(0xc7)](_0x137c6a,_0x999687,_0x36bfd5,_0x54539a){}[_0x2f1ba0(0xc4)](_0x20a27e){}[_0x2f1ba0(0xca)](_0xc90db2){}[_0x2f1ba0(0x9c)](_0x1660b2){}[_0x2f1ba0(0x95)](_0xc943ed){}[_0x2f1ba0(0x97)](_0x42f508){}[_0x2f1ba0(0xa7)](_0x32b608){}['onlineStatusBigIconDownloadPush'](_0x325a5b,_0x2ce11d,_0x4c641e){}['onlineStatusSmallIconDownloadPush'](_0x3271c9,_0x1508d5,_0x230885){}[_0x2f1ba0(0xc2)](..._0x5337e2){}[_0x2f1ba0(0xb4)](..._0x1251bb){}[_0x2f1ba0(0xc1)](..._0xdcb0af){}[_0x2f1ba0(0xce)](..._0x12e120){}} \ No newline at end of file +var _0x377f57=_0x586c;(function(_0x258b64,_0x32dbb0){var _0x4f353d=_0x586c,_0x352770=_0x258b64();while(!![]){try{var _0x26bcb7=parseInt(_0x4f353d(0x11d))/0x1+-parseInt(_0x4f353d(0x122))/0x2*(parseInt(_0x4f353d(0xfe))/0x3)+parseInt(_0x4f353d(0x106))/0x4*(parseInt(_0x4f353d(0x10f))/0x5)+parseInt(_0x4f353d(0x10c))/0x6+-parseInt(_0x4f353d(0x11c))/0x7+parseInt(_0x4f353d(0x11a))/0x8*(-parseInt(_0x4f353d(0x105))/0x9)+parseInt(_0x4f353d(0x100))/0xa;if(_0x26bcb7===_0x32dbb0)break;else _0x352770['push'](_0x352770['shift']());}catch(_0x5904b6){_0x352770['push'](_0x352770['shift']());}}}(_0x5e7b,0x55886));function _0x586c(_0x3af82c,_0x5d446d){var _0x5e7bd8=_0x5e7b();return _0x586c=function(_0x586c90,_0x2865bb){_0x586c90=_0x586c90-0xfe;var _0xe3c0d6=_0x5e7bd8[_0x586c90];return _0xe3c0d6;},_0x586c(_0x3af82c,_0x5d446d);}export class MsgListener{[_0x377f57(0x11f)](_0x221136){}['onBroadcastHelperDownloadComplete'](_0x2fd0a1){}[_0x377f57(0x108)](_0x48a5f3){}[_0x377f57(0x109)](_0x2fc531,_0x4da23e,_0x3d1891){}[_0x377f57(0x128)](_0x21c48d){}[_0x377f57(0x103)](_0x29fd56){}[_0x377f57(0x10d)](_0xbecb27,_0x440d80,_0x590c03){}['onEmojiDownloadComplete'](_0x53a8fe){}['onEmojiResourceUpdate'](_0xf9d56d){}[_0x377f57(0x107)](_0x4ca558){}[_0x377f57(0x133)](_0xabd268){}['onFirstViewDirectMsgUpdate'](_0x425c42){}[_0x377f57(0x110)](_0x1f5361){}[_0x377f57(0x101)](_0x19a812,_0x1c40fe,_0x3fd208,_0x1ad6fc,_0x33f91d){}['onGroupFileInfoAdd'](_0x5479fc){}[_0x377f57(0x12f)](_0x3e1829){}['onGroupGuildUpdate'](_0x52e83a){}[_0x377f57(0x12d)](_0xfe09c5){}['onGroupTransferInfoUpdate'](_0x186956){}['onGuildInteractiveUpdate'](_0x4d4ba2){}[_0x377f57(0x12c)](_0x289d46){}['onGuildNotificationAbstractUpdate'](_0x32788f){}[_0x377f57(0x117)](_0x28bf20){}['onHitEmojiKeywordResult'](_0x5108c6){}[_0x377f57(0x10b)](_0x1fc635){}['onImportOldDbProgressUpdate'](_0x46e1d9){}[_0x377f57(0x119)](_0x932d43){}[_0x377f57(0x11e)](_0x3e6abe){}[_0x377f57(0x134)](_0x1ce9ff){}['onLogLevelChanged'](_0x2ea9d6){}[_0x377f57(0x12e)](_0x4e9a90){}['onMsgBoxChanged'](_0x2515cd){}['onMsgDelete'](_0x2c3d6c,_0xa1f561){}[_0x377f57(0x11b)](_0x37fe87){}[_0x377f57(0x111)](_0x50a4b1){}['onMsgInfoListUpdate'](_0x2214a7){}[_0x377f57(0x131)](_0x120683){}[_0x377f57(0x104)](_0x247081,_0x3bfdab,_0x49d0a3){}[_0x377f57(0x115)](_0x4a1ae6){}[_0x377f57(0x127)](_0x5181f2){}[_0x377f57(0x12b)](){}[_0x377f57(0xff)](){}[_0x377f57(0x121)](){}[_0x377f57(0x125)](_0x5efe18){}['onRecvGroupGuildFlag'](_0x1da00d){}[_0x377f57(0x130)](_0xf7aa18){}['onRecvMsgSvrRspTransInfo'](_0x234677,_0x1183f8,_0x40627c,_0xa10d14,_0xff3d95,_0x5ba10d){}['onRecvOnlineFileMsg'](_0xce928d){}[_0x377f57(0x10a)](_0x46e28c){}[_0x377f57(0x114)](_0x2120ad){}[_0x377f57(0x113)](_0x376beb){}[_0x377f57(0x116)](_0x595717){}[_0x377f57(0x112)](_0x586b24){}[_0x377f57(0x120)](_0x565d78){}[_0x377f57(0x126)](_0x544d81){}['onSendMsgError'](_0x2174e9,_0x78c353,_0x5b3af6,_0x36c9db){}[_0x377f57(0x123)](_0x1baa6d,_0x286ef2,_0x19d0e6,_0x1a8027){}['onTempChatInfoUpdate'](_0x25960a){}['onUnreadCntAfterFirstView'](_0x781d8e){}['onUnreadCntUpdate'](_0xd7cb12){}[_0x377f57(0x102)](_0x516a24){}['onUserOnlineStatusChanged'](_0x5d607e){}[_0x377f57(0x124)](_0x1c55a0){}[_0x377f57(0x12a)](_0x245aa0,_0x465be0,_0x4906bc){}[_0x377f57(0x132)](_0x4a3f1a,_0x3f0afa,_0xe4d157){}[_0x377f57(0x129)](..._0x3a9bb7){}[_0x377f57(0x118)](..._0x2605b7){}[_0x377f57(0x10e)](..._0x3ad798){}['onBroadcastHelperProgerssUpdate'](..._0x2608ac){}}function _0x5e7b(){var _0x1cbe9b=['onFileMsgCome','onLineDev','12033fppRNV','onNtMsgSyncEnd','2525430MBXzai','onGrabPasswordRedBag','onUserChannelTabStatusChanged','onCustomWithdrawConfigUpdate','onMsgRecall','1192716ReKuZc','4GvMsek','onFeedEventUpdate','onBroadcastHelperProgressUpdate','onChannelFreqLimitInfoUpdate','onRecvS2CMsg','onHitRelatedEmojiResult','3163518xYfHJq','onDraftUpdate','onRedTouchChanged','2331815vdIBzY','onFirstViewGroupGuildMapping','onMsgInfoListAdd','onRichMediaProgerssUpdate','onRecvUDCFlag','onRecvSysMsg','onMsgSecurityNotify','onRichMediaDownloadComplete','onHitCsRelatedEmojiResult','onMsgWithRichLinkInfoUpdate','onInputStatusPush','16MeqwDg','onMsgEventListUpdate','2615046VxVoeW','47645OPXsht','onKickedOffLine','onAddSendMsg','onRichMediaUploadComplete','onNtMsgSyncStart','152QkvlNS','onSysMsgNotification','onUserTabStatusChanged','onReadFeedEventUpdate','onSearchGroupFileInfoUpdate','onMsgSettingUpdate','onContactUnreadCntUpdate','onUserSecQualityChanged','onlineStatusBigIconDownloadPush','onNtFirstViewMsgSyncEnd','onGuildMsgAbFlagChanged','onGroupTransferInfoAdd','onMsgAbstractUpdate','onGroupFileInfoUpdate','onRecvMsg','onMsgQRCodeStatusChanged','onlineStatusSmallIconDownloadPush'];_0x5e7b=function(){return _0x1cbe9b;};return _0x5e7b();} \ 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 7a453555..bb02e121 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x290e3d=_0x261b;(function(_0x54afb4,_0x3a6e23){var _0x2d7547=_0x261b,_0x3bcf9a=_0x54afb4();while(!![]){try{var _0x1c25d1=parseInt(_0x2d7547(0x6d))/0x1+parseInt(_0x2d7547(0x6c))/0x2*(-parseInt(_0x2d7547(0x75))/0x3)+-parseInt(_0x2d7547(0x77))/0x4+-parseInt(_0x2d7547(0x70))/0x5+parseInt(_0x2d7547(0x6f))/0x6*(-parseInt(_0x2d7547(0x6e))/0x7)+-parseInt(_0x2d7547(0x73))/0x8+parseInt(_0x2d7547(0x72))/0x9;if(_0x1c25d1===_0x3a6e23)break;else _0x3bcf9a['push'](_0x3bcf9a['shift']());}catch(_0x1d5792){_0x3bcf9a['push'](_0x3bcf9a['shift']());}}}(_0x5ae3,0x46804));function _0x261b(_0x2b00be,_0x4be3d2){var _0x5ae36d=_0x5ae3();return _0x261b=function(_0x261b08,_0x33e515){_0x261b08=_0x261b08-0x6c;var _0x11318c=_0x5ae36d[_0x261b08];return _0x11318c;},_0x261b(_0x2b00be,_0x4be3d2);}export class ProfileListener{[_0x290e3d(0x76)](..._0x369125){}['onProfileDetailInfoChanged'](_0x434397){}[_0x290e3d(0x71)](..._0x1af07f){}[_0x290e3d(0x74)](..._0x2736ee){}['onStrangerRemarkChanged'](..._0xdd26a8){}}function _0x5ae3(){var _0x4948d4=['10996479YDCHNO','4516528OrdFCk','onSelfStatusChanged','3036YKGutb','onProfileSimpleChanged','449156zsZTZY','28fSxHOS','415297erwYsr','17080LQHeDp','1020tDCdUH','1212665DgbFeF','onStatusUpdate'];_0x5ae3=function(){return _0x4948d4;};return _0x5ae3();} \ No newline at end of file +function _0x4a3c(_0xb4e37a,_0x4d94cc){var _0x1862ee=_0x1862();return _0x4a3c=function(_0x4a3caa,_0x4283c3){_0x4a3caa=_0x4a3caa-0x74;var _0x1cf1b8=_0x1862ee[_0x4a3caa];return _0x1cf1b8;},_0x4a3c(_0xb4e37a,_0x4d94cc);}var _0x143d6f=_0x4a3c;(function(_0x5c756a,_0x4f5510){var _0x101698=_0x4a3c,_0x2885b6=_0x5c756a();while(!![]){try{var _0x3a5bf5=-parseInt(_0x101698(0x81))/0x1+parseInt(_0x101698(0x7d))/0x2*(parseInt(_0x101698(0x7e))/0x3)+-parseInt(_0x101698(0x80))/0x4+-parseInt(_0x101698(0x75))/0x5+parseInt(_0x101698(0x7b))/0x6*(parseInt(_0x101698(0x7c))/0x7)+parseInt(_0x101698(0x77))/0x8+parseInt(_0x101698(0x7a))/0x9*(-parseInt(_0x101698(0x78))/0xa);if(_0x3a5bf5===_0x4f5510)break;else _0x2885b6['push'](_0x2885b6['shift']());}catch(_0x39be94){_0x2885b6['push'](_0x2885b6['shift']());}}}(_0x1862,0xf3839));function _0x1862(){var _0x1290b2=['onSelfStatusChanged','1332928TkRFwn','1429449iEkLWN','onProfileSimpleChanged','1345940NOXTzx','onProfileDetailInfoChanged','14349912oUWypP','10ldlHEy','onStatusUpdate','7759287QvrBgP','12630voRPKK','5894XqXHDQ','324OcWCar','6024SHUdNJ'];_0x1862=function(){return _0x1290b2;};return _0x1862();}export class ProfileListener{[_0x143d6f(0x74)](..._0x5d8ee0){}[_0x143d6f(0x76)](_0x9fb641){}[_0x143d6f(0x79)](..._0x59726a){}[_0x143d6f(0x7f)](..._0x19640b){}['onStrangerRemarkChanged'](..._0x82a35f){}} \ 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 b80a80f0..5d108cbe 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x3b504e=_0x501a;function _0x2728(){var _0x5393fb=['624303dvZEli','onRobotListChanged','85XSyjjm','2100yqizFS','10pHYlZw','54024AbltNa','8mAITcv','11tumNEK','7140861LJEbcL','9RViFNN','836wjUEel','3115742agdAss','139534MjxfOL','511792qGmMpI'];_0x2728=function(){return _0x5393fb;};return _0x2728();}function _0x501a(_0x1c7b02,_0x44eb75){var _0x272885=_0x2728();return _0x501a=function(_0x501a3b,_0x8ea75c){_0x501a3b=_0x501a3b-0xe1;var _0xf716dd=_0x272885[_0x501a3b];return _0xf716dd;},_0x501a(_0x1c7b02,_0x44eb75);}(function(_0x81c25e,_0x74d1b6){var _0x38b3b6=_0x501a,_0x213fa2=_0x81c25e();while(!![]){try{var _0x61dc41=parseInt(_0x38b3b6(0xec))/0x1*(parseInt(_0x38b3b6(0xe3))/0x2)+parseInt(_0x38b3b6(0xee))/0x3*(-parseInt(_0x38b3b6(0xe4))/0x4)+parseInt(_0x38b3b6(0xe7))/0x5*(-parseInt(_0x38b3b6(0xea))/0x6)+parseInt(_0x38b3b6(0xe2))/0x7*(-parseInt(_0x38b3b6(0xeb))/0x8)+-parseInt(_0x38b3b6(0xe5))/0x9*(-parseInt(_0x38b3b6(0xe9))/0xa)+parseInt(_0x38b3b6(0xe1))/0xb*(parseInt(_0x38b3b6(0xe8))/0xc)+parseInt(_0x38b3b6(0xed))/0xd;if(_0x61dc41===_0x74d1b6)break;else _0x213fa2['push'](_0x213fa2['shift']());}catch(_0x44cfc5){_0x213fa2['push'](_0x213fa2['shift']());}}}(_0x2728,0x65e67));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x533e39){}[_0x3b504e(0xe6)](..._0x94ace9){}['onRobotProfileChanged'](..._0xf922ed){}} \ No newline at end of file +var _0x3bb5d7=_0x5d59;function _0x5d59(_0xac4e13,_0x3e04f3){var _0x107251=_0x1072();return _0x5d59=function(_0x5d59bc,_0x7dcbef){_0x5d59bc=_0x5d59bc-0x77;var _0x282a4d=_0x107251[_0x5d59bc];return _0x282a4d;},_0x5d59(_0xac4e13,_0x3e04f3);}(function(_0x4f94f8,_0x52683){var _0x4d2802=_0x5d59,_0x2257f2=_0x4f94f8();while(!![]){try{var _0x59d4a3=-parseInt(_0x4d2802(0x83))/0x1*(parseInt(_0x4d2802(0x7e))/0x2)+-parseInt(_0x4d2802(0x82))/0x3*(-parseInt(_0x4d2802(0x78))/0x4)+parseInt(_0x4d2802(0x85))/0x5*(parseInt(_0x4d2802(0x77))/0x6)+parseInt(_0x4d2802(0x7a))/0x7*(-parseInt(_0x4d2802(0x79))/0x8)+parseInt(_0x4d2802(0x84))/0x9+-parseInt(_0x4d2802(0x7c))/0xa*(-parseInt(_0x4d2802(0x7d))/0xb)+-parseInt(_0x4d2802(0x81))/0xc;if(_0x59d4a3===_0x52683)break;else _0x2257f2['push'](_0x2257f2['shift']());}catch(_0x1130f1){_0x2257f2['push'](_0x2257f2['shift']());}}}(_0x1072,0x57aaf));function _0x1072(){var _0x37cdd4=['1665504WiiQpD','5kxvKXR','3522906NAFCQL','36HZrgDd','1528056dRoOBU','7OrPGNK','onRobotProfileChanged','95630fORKpg','693YQfGBH','278aXuIlf','onRobotFriendListChanged','onRobotListChanged','11498868qoPNgh','141528SgDUoi','2093DYxjVx'];_0x1072=function(){return _0x37cdd4;};return _0x1072();}export class KernelRobotListener{[_0x3bb5d7(0x7f)](..._0x87779c){}[_0x3bb5d7(0x80)](..._0x19a1a7){}[_0x3bb5d7(0x7b)](..._0x5de660){}} \ 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 5286971a..9ddcf86c 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x238892=_0x410b;function _0x410b(_0xc05fd2,_0x2d7f9a){var _0xc85f68=_0xc85f();return _0x410b=function(_0x410b3a,_0x5acb73){_0x410b3a=_0x410b3a-0x80;var _0x1e3b91=_0xc85f68[_0x410b3a];return _0x1e3b91;},_0x410b(_0xc05fd2,_0x2d7f9a);}(function(_0x3b5649,_0xad22ca){var _0x3d3986=_0x410b,_0x3e6ade=_0x3b5649();while(!![]){try{var _0xbf4f78=-parseInt(_0x3d3986(0x8b))/0x1*(-parseInt(_0x3d3986(0x81))/0x2)+parseInt(_0x3d3986(0x8d))/0x3*(-parseInt(_0x3d3986(0x86))/0x4)+parseInt(_0x3d3986(0x8e))/0x5+-parseInt(_0x3d3986(0x82))/0x6*(parseInt(_0x3d3986(0x8c))/0x7)+-parseInt(_0x3d3986(0x8a))/0x8*(parseInt(_0x3d3986(0x88))/0x9)+-parseInt(_0x3d3986(0x84))/0xa*(-parseInt(_0x3d3986(0x87))/0xb)+-parseInt(_0x3d3986(0x85))/0xc;if(_0xbf4f78===_0xad22ca)break;else _0x3e6ade['push'](_0x3e6ade['shift']());}catch(_0x3eadea){_0x3e6ade['push'](_0x3e6ade['shift']());}}}(_0xc85f,0x905f2));export class SessionListener{['onNTSessionCreate'](_0x222bd1){}[_0x238892(0x83)](_0x33a960){}['onSessionInitComplete'](_0x5a77af){}[_0x238892(0x80)](_0x5e5579){}[_0x238892(0x89)](_0x49dc50){}['onGetSelfTinyId'](_0x5ec359){}}function _0xc85f(){var _0x16d40e=['3541925kQjmST','onOpentelemetryInit','4oeXYRz','968610QxopSI','onGProSessionCreate','1090ZjCwDA','1389072YEEyGa','5896YZcFjl','118514OwfYhn','2081466aGJDHm','onUserOnlineResult','24YsTKCY','297545hOeYyj','35kjHOXf','549HiNQaX'];_0xc85f=function(){return _0x16d40e;};return _0xc85f();} \ No newline at end of file +var _0x58042e=_0xd9b5;function _0x196e(){var _0x20a991=['5478224REdqFF','onGetSelfTinyId','onOpentelemetryInit','755887PPXyim','11162704qrzaZZ','3LGRNpM','14696280wUQsnV','7366782PslIhb','5oYmzmf','onUserOnlineResult','18dHmNsF','190276DEvAfN','992280FGXRPs','10nKntzB'];_0x196e=function(){return _0x20a991;};return _0x196e();}function _0xd9b5(_0x36a755,_0xc205e8){var _0x196e90=_0x196e();return _0xd9b5=function(_0xd9b511,_0x26d2ce){_0xd9b511=_0xd9b511-0x135;var _0x187bb3=_0x196e90[_0xd9b511];return _0x187bb3;},_0xd9b5(_0x36a755,_0xc205e8);}(function(_0x4585c2,_0x5bb46e){var _0x5f5da0=_0xd9b5,_0x294762=_0x4585c2();while(!![]){try{var _0x5d2ca8=parseInt(_0x5f5da0(0x141))/0x1*(parseInt(_0x5f5da0(0x135))/0x2)+-parseInt(_0x5f5da0(0x13b))/0x3*(-parseInt(_0x5f5da0(0x142))/0x4)+parseInt(_0x5f5da0(0x13e))/0x5*(parseInt(_0x5f5da0(0x13d))/0x6)+-parseInt(_0x5f5da0(0x13a))/0x7+-parseInt(_0x5f5da0(0x136))/0x8*(-parseInt(_0x5f5da0(0x140))/0x9)+-parseInt(_0x5f5da0(0x13c))/0xa+parseInt(_0x5f5da0(0x139))/0xb;if(_0x5d2ca8===_0x5bb46e)break;else _0x294762['push'](_0x294762['shift']());}catch(_0x161643){_0x294762['push'](_0x294762['shift']());}}}(_0x196e,0xc39c4));export class SessionListener{['onNTSessionCreate'](_0x340e58){}['onGProSessionCreate'](_0x4a4140){}['onSessionInitComplete'](_0x4cbcff){}[_0x58042e(0x138)](_0x5578bb){}[_0x58042e(0x13f)](_0x3b2762){}[_0x58042e(0x137)](_0x5b6a92){}} \ 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 c65765d8..8d303b61 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x38b3e1=_0x45b7;function _0x45b7(_0x5b7429,_0x55d1a4){var _0x48c288=_0x48c2();return _0x45b7=function(_0x45b73a,_0x313312){_0x45b73a=_0x45b73a-0x19d;var _0x337f44=_0x48c288[_0x45b73a];return _0x337f44;},_0x45b7(_0x5b7429,_0x55d1a4);}(function(_0x3267e1,_0xf05ee2){var _0xe50fb2=_0x45b7,_0x465e80=_0x3267e1();while(!![]){try{var _0x537789=-parseInt(_0xe50fb2(0x1a0))/0x1*(parseInt(_0xe50fb2(0x1a5))/0x2)+parseInt(_0xe50fb2(0x1a8))/0x3+parseInt(_0xe50fb2(0x1a2))/0x4+parseInt(_0xe50fb2(0x19d))/0x5+parseInt(_0xe50fb2(0x1a9))/0x6+parseInt(_0xe50fb2(0x1a7))/0x7*(parseInt(_0xe50fb2(0x1a6))/0x8)+-parseInt(_0xe50fb2(0x1a1))/0x9;if(_0x537789===_0xf05ee2)break;else _0x465e80['push'](_0x465e80['shift']());}catch(_0x1b2905){_0x465e80['push'](_0x465e80['shift']());}}}(_0x48c2,0xb6aa3));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x2d10cd){}[_0x38b3e1(0x1a4)](_0x2d17e6){}[_0x38b3e1(0x19e)](_0x48fa0c){}[_0x38b3e1(0x1a3)](_0x5e65af){}[_0x38b3e1(0x19f)](_0x372e63){}}function _0x48c2(){var _0x2b5c06=['4985020pfXkPg','onCleanCacheStorageChanged','onChatCleanDone','1033EsQNUH','24130602QaYiCB','4660820XIVQLe','onFinishScan','onScanCacheProgressChanged','2810ZTahkE','4808dcrSkI','13937kZhWBY','3965406ghKTtW','1200816ucPVYw'];_0x48c2=function(){return _0x2b5c06;};return _0x48c2();} \ No newline at end of file +function _0x1316(_0x34fa53,_0x536ff1){var _0x5aaaf5=_0x5aaa();return _0x1316=function(_0x1316c9,_0x505d38){_0x1316c9=_0x1316c9-0xf1;var _0x1deebc=_0x5aaaf5[_0x1316c9];return _0x1deebc;},_0x1316(_0x34fa53,_0x536ff1);}var _0x32e47b=_0x1316;(function(_0x597868,_0x160b83){var _0x288f2d=_0x1316,_0x40399e=_0x597868();while(!![]){try{var _0x160bf8=-parseInt(_0x288f2d(0xfb))/0x1*(parseInt(_0x288f2d(0xf9))/0x2)+parseInt(_0x288f2d(0xfd))/0x3*(-parseInt(_0x288f2d(0xfa))/0x4)+-parseInt(_0x288f2d(0xf7))/0x5+parseInt(_0x288f2d(0xfc))/0x6*(parseInt(_0x288f2d(0xf6))/0x7)+parseInt(_0x288f2d(0xf3))/0x8*(-parseInt(_0x288f2d(0xf5))/0x9)+-parseInt(_0x288f2d(0xf1))/0xa+parseInt(_0x288f2d(0xf4))/0xb;if(_0x160bf8===_0x160b83)break;else _0x40399e['push'](_0x40399e['shift']());}catch(_0x550095){_0x40399e['push'](_0x40399e['shift']());}}}(_0x5aaa,0xb27bf));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x1f9964){}[_0x32e47b(0xf8)](_0x4c282a){}['onCleanCacheStorageChanged'](_0x35c3f6){}[_0x32e47b(0xf2)](_0x589407){}['onChatCleanDone'](_0x3e6679){}}function _0x5aaa(){var _0x3b2d8e=['6CImBGo','7150710CQcBBx','onFinishScan','896304etqNXv','24362107CtQQQz','18QvickQ','1435QExyht','5008435sETZKk','onScanCacheProgressChanged','854170ziBqsO','160404zBvtqB','2YSJkYZ','40728waIuhb'];_0x5aaa=function(){return _0x3b2d8e;};return _0x5aaa();} \ 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 364c51b8..c4017745 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x3e04e9,_0x2ae4e4){var _0x3cc334=_0x386b,_0x1cdcc7=_0x3e04e9();while(!![]){try{var _0x54774c=-parseInt(_0x3cc334(0x1c0))/0x1+-parseInt(_0x3cc334(0x1c1))/0x2+parseInt(_0x3cc334(0x1c6))/0x3*(-parseInt(_0x3cc334(0x1c2))/0x4)+parseInt(_0x3cc334(0x1c7))/0x5+parseInt(_0x3cc334(0x1bf))/0x6*(parseInt(_0x3cc334(0x1c5))/0x7)+-parseInt(_0x3cc334(0x1c4))/0x8*(-parseInt(_0x3cc334(0x1c3))/0x9)+-parseInt(_0x3cc334(0x1be))/0xa;if(_0x54774c===_0x2ae4e4)break;else _0x1cdcc7['push'](_0x1cdcc7['shift']());}catch(_0x492c69){_0x1cdcc7['push'](_0x1cdcc7['shift']());}}}(_0x10b7,0x5df2c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x386b(_0x301d6a,_0x38919e){var _0x10b781=_0x10b7();return _0x386b=function(_0x386bbf,_0x43dda1){_0x386bbf=_0x386bbf-0x1be;var _0x139315=_0x10b781[_0x386bbf];return _0x139315;},_0x386b(_0x301d6a,_0x38919e);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x10b7(){var _0x260f59=['2862560nudXUS','2586150dlANUx','744hdVvVy','41468QgSMBz','294448OIwbFT','76agfhvf','36RSGjpf','1223536MJLdkj','455wrCDZr','56877ICfeue'];_0x10b7=function(){return _0x260f59;};return _0x10b7();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x9fd5c3,_0x171933){var _0x5d8084=_0x1151,_0x648feb=_0x9fd5c3();while(!![]){try{var _0x41154b=-parseInt(_0x5d8084(0x1e5))/0x1*(-parseInt(_0x5d8084(0x1e7))/0x2)+parseInt(_0x5d8084(0x1ed))/0x3*(-parseInt(_0x5d8084(0x1eb))/0x4)+parseInt(_0x5d8084(0x1f0))/0x5*(-parseInt(_0x5d8084(0x1ec))/0x6)+-parseInt(_0x5d8084(0x1e6))/0x7*(-parseInt(_0x5d8084(0x1ee))/0x8)+-parseInt(_0x5d8084(0x1ea))/0x9+-parseInt(_0x5d8084(0x1ef))/0xa+-parseInt(_0x5d8084(0x1e8))/0xb*(-parseInt(_0x5d8084(0x1e9))/0xc);if(_0x41154b===_0x171933)break;else _0x648feb['push'](_0x648feb['shift']());}catch(_0x5976bc){_0x648feb['push'](_0x648feb['shift']());}}}(_0x162d,0x39d59));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x162d(){var _0x52774a=['4chqLEf','634098GIEtjK','921237ObolQn','32JvKHuR','3107520VcgYsV','10PUxxhT','9bmzyZt','496055tfkAvS','3190AynKCU','44TdUwUZ','2936736IqFrOB','1895769GLQXRE'];_0x162d=function(){return _0x52774a;};return _0x162d();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x1151(_0x1b0a48,_0x2c5359){var _0x162d71=_0x162d();return _0x1151=function(_0x1151bd,_0x194f38){_0x1151bd=_0x1151bd-0x1e5;var _0x5d3464=_0x162d71[_0x1151bd];return _0x5d3464;},_0x1151(_0x1b0a48,_0x2c5359);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index 4689b011..245176d3 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x2b4cd9,_0x543a1f){var _0xbaa62d=_0x1969,_0x5c3c9c=_0x2b4cd9();while(!![]){try{var _0x1b9467=-parseInt(_0xbaa62d(0xe2))/0x1*(parseInt(_0xbaa62d(0xe6))/0x2)+parseInt(_0xbaa62d(0xe5))/0x3*(parseInt(_0xbaa62d(0xeb))/0x4)+-parseInt(_0xbaa62d(0xea))/0x5+-parseInt(_0xbaa62d(0xec))/0x6+-parseInt(_0xbaa62d(0xe9))/0x7*(parseInt(_0xbaa62d(0xe3))/0x8)+-parseInt(_0xbaa62d(0xe7))/0x9+-parseInt(_0xbaa62d(0xe4))/0xa*(-parseInt(_0xbaa62d(0xe8))/0xb);if(_0x1b9467===_0x543a1f)break;else _0x5c3c9c['push'](_0x5c3c9c['shift']());}catch(_0x18a44d){_0x5c3c9c['push'](_0x5c3c9c['shift']());}}}(_0x3a2b,0x89eaa));function _0x1969(_0x355c8a,_0x560c30){var _0x3a2b99=_0x3a2b();return _0x1969=function(_0x1969a3,_0x51d847){_0x1969a3=_0x1969a3-0xe2;var _0x3d7619=_0x3a2b99[_0x1969a3];return _0x3d7619;},_0x1969(_0x355c8a,_0x560c30);}function _0x3a2b(){var _0x2c2550=['884088NnYOiE','1987yqMIiw','314888pdnysy','10raKPJb','1338NIVgUE','656YMGHvA','4636827yhYAyA','35205830thJGLw','133BDwCwI','4243300xiMiXj','2468xmIYHG'];_0x3a2b=function(){return _0x2c2550;};return _0x3a2b();} \ No newline at end of file +'use strict';function _0x541c(){var _0x549e5b=['2661184gIsHiM','75892QhhIPK','1GRDaxi','3999738HJfvPW','81CXiQVB','12GXcViz','27DxWmVn','726954KbLjdZ','205985mtBzSx','7rqDeat','1746720FxORjf','5812268dkGMcz'];_0x541c=function(){return _0x549e5b;};return _0x541c();}function _0x2135(_0x1eee98,_0x2d9e15){var _0x541c5e=_0x541c();return _0x2135=function(_0x2135f5,_0x12f997){_0x2135f5=_0x2135f5-0x102;var _0x263c4f=_0x541c5e[_0x2135f5];return _0x263c4f;},_0x2135(_0x1eee98,_0x2d9e15);}(function(_0x2c4f99,_0x53df02){var _0x4ace5a=_0x2135,_0x44136d=_0x2c4f99();while(!![]){try{var _0x1ab584=parseInt(_0x4ace5a(0x105))/0x1*(parseInt(_0x4ace5a(0x10a))/0x2)+parseInt(_0x4ace5a(0x107))/0x3*(parseInt(_0x4ace5a(0x104))/0x4)+-parseInt(_0x4ace5a(0x10b))/0x5+-parseInt(_0x4ace5a(0x106))/0x6+parseInt(_0x4ace5a(0x10c))/0x7*(parseInt(_0x4ace5a(0x103))/0x8)+-parseInt(_0x4ace5a(0x109))/0x9*(-parseInt(_0x4ace5a(0x10d))/0xa)+-parseInt(_0x4ace5a(0x102))/0xb*(parseInt(_0x4ace5a(0x108))/0xc);if(_0x1ab584===_0x53df02)break;else _0x44136d['push'](_0x44136d['shift']());}catch(_0xc41ffd){_0x44136d['push'](_0x44136d['shift']());}}}(_0x541c,0x7924c)); \ 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 db73c0d7..f7051243 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x5b5e7d,_0x421963){var _0x3b6731=_0x2b6e,_0x1f93a8=_0x5b5e7d();while(!![]){try{var _0x433e95=-parseInt(_0x3b6731(0x108))/0x1*(-parseInt(_0x3b6731(0x101))/0x2)+parseInt(_0x3b6731(0x107))/0x3*(-parseInt(_0x3b6731(0x102))/0x4)+-parseInt(_0x3b6731(0xfe))/0x5*(parseInt(_0x3b6731(0x104))/0x6)+-parseInt(_0x3b6731(0x109))/0x7*(parseInt(_0x3b6731(0xff))/0x8)+-parseInt(_0x3b6731(0x103))/0x9*(parseInt(_0x3b6731(0x10a))/0xa)+parseInt(_0x3b6731(0x106))/0xb*(parseInt(_0x3b6731(0x105))/0xc)+parseInt(_0x3b6731(0xfd))/0xd*(parseInt(_0x3b6731(0x100))/0xe);if(_0x433e95===_0x421963)break;else _0x1f93a8['push'](_0x1f93a8['shift']());}catch(_0x12dc6b){_0x1f93a8['push'](_0x1f93a8['shift']());}}}(_0x4dc5,0x2451f));export var GeneralCallResultStatus;function _0x4dc5(){var _0x3e5393=['8636381ruOTsW','209460TQaBwa','16232kQoaIe','14wTncqT','27562HrlfYv','60pCZLNL','6714VRLxDF','42ItStFM','990084fbXacp','11lsxarg','43221kUHITv','3QsjRNd','91KBZNFS','1390fSgeHe'];_0x4dc5=function(){return _0x3e5393;};return _0x4dc5();}function _0x2b6e(_0x7072eb,_0x153363){var _0x4dc578=_0x4dc5();return _0x2b6e=function(_0x2b6e14,_0x416ae3){_0x2b6e14=_0x2b6e14-0xfd;var _0x5d1d74=_0x4dc578[_0x2b6e14];return _0x5d1d74;},_0x2b6e(_0x7072eb,_0x153363);}(function(_0x52f643){_0x52f643[_0x52f643['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x2190(){var _0x416016=['6515400yvznvR','291rdBOmW','30200neiKto','286710thhota','10AwrksZ','231FxQMBV','155MYVfZc','4984ujwGim','22Mpolsn','3485718oKRZUL','139232qLxber','1270912VaHiwy'];_0x2190=function(){return _0x416016;};return _0x2190();}(function(_0x5517ba,_0xae5577){var _0x260c87=_0x1e9d,_0x333b55=_0x5517ba();while(!![]){try{var _0xcf71de=-parseInt(_0x260c87(0xcc))/0x1+parseInt(_0x260c87(0xcd))/0x2+parseInt(_0x260c87(0xcf))/0x3*(parseInt(_0x260c87(0xd5))/0x4)+-parseInt(_0x260c87(0xd4))/0x5*(-parseInt(_0x260c87(0xd1))/0x6)+-parseInt(_0x260c87(0xd3))/0x7*(-parseInt(_0x260c87(0xd0))/0x8)+parseInt(_0x260c87(0xcb))/0x9*(-parseInt(_0x260c87(0xd2))/0xa)+-parseInt(_0x260c87(0xd6))/0xb*(parseInt(_0x260c87(0xce))/0xc);if(_0xcf71de===_0xae5577)break;else _0x333b55['push'](_0x333b55['shift']());}catch(_0x39cba3){_0x333b55['push'](_0x333b55['shift']());}}}(_0x2190,0xb70e2));export var GeneralCallResultStatus;function _0x1e9d(_0x3ca8b7,_0x506462){var _0x21908e=_0x2190();return _0x1e9d=function(_0x1e9d92,_0x39d94c){_0x1e9d92=_0x1e9d92-0xcb;var _0x18522b=_0x21908e[_0x1e9d92];return _0x18522b;},_0x1e9d(_0x3ca8b7,_0x506462);}(function(_0x3ccd3b){_0x3ccd3b[_0x3ccd3b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index e05d75df..a2296686 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x3d0e69,_0x2359a6){var _0x1660df=_0x4018,_0x515d3d=_0x3d0e69();while(!![]){try{var _0x164199=parseInt(_0x1660df(0x1f4))/0x1+-parseInt(_0x1660df(0x1f1))/0x2*(-parseInt(_0x1660df(0x1f9))/0x3)+parseInt(_0x1660df(0x1f7))/0x4*(-parseInt(_0x1660df(0x1f5))/0x5)+parseInt(_0x1660df(0x1f3))/0x6+-parseInt(_0x1660df(0x1f8))/0x7*(-parseInt(_0x1660df(0x1f2))/0x8)+parseInt(_0x1660df(0x1f0))/0x9*(parseInt(_0x1660df(0x1ef))/0xa)+-parseInt(_0x1660df(0x1f6))/0xb;if(_0x164199===_0x2359a6)break;else _0x515d3d['push'](_0x515d3d['shift']());}catch(_0x16acad){_0x515d3d['push'](_0x515d3d['shift']());}}}(_0x804e,0x48375));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x4018(_0x3e0561,_0x7cd92b){var _0x804ecb=_0x804e();return _0x4018=function(_0x4018cb,_0x16f8d3){_0x4018cb=_0x4018cb-0x1ef;var _0x250bd6=_0x804ecb[_0x4018cb];return _0x250bd6;},_0x4018(_0x3e0561,_0x7cd92b);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x804e(){var _0x15470f=['35ffPnGz','3qSAeXt','80tfojGR','122697IaDZeY','980086WRLtTW','526360RqzuwU','689004sckcdr','368489keLkUg','15ocoDHA','11825462kElvGG','54088WwEomr'];_0x804e=function(){return _0x15470f;};return _0x804e();}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x25dfcb,_0xe9a1f){var _0x3a9b4a=_0x3af5,_0x2454ad=_0x25dfcb();while(!![]){try{var _0x1d6d9e=-parseInt(_0x3a9b4a(0x18c))/0x1+parseInt(_0x3a9b4a(0x18a))/0x2*(-parseInt(_0x3a9b4a(0x186))/0x3)+parseInt(_0x3a9b4a(0x183))/0x4+parseInt(_0x3a9b4a(0x188))/0x5+parseInt(_0x3a9b4a(0x18b))/0x6*(parseInt(_0x3a9b4a(0x185))/0x7)+parseInt(_0x3a9b4a(0x18d))/0x8*(parseInt(_0x3a9b4a(0x184))/0x9)+-parseInt(_0x3a9b4a(0x187))/0xa*(parseInt(_0x3a9b4a(0x189))/0xb);if(_0x1d6d9e===_0xe9a1f)break;else _0x2454ad['push'](_0x2454ad['shift']());}catch(_0x1f51d3){_0x2454ad['push'](_0x2454ad['shift']());}}}(_0x5e61,0xac666));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x5e61(){var _0x1c2264=['14108391dkCwkU','5134eAIBrW','60KzgHay','844012FBIlFw','677728XkwoYl','1994584jVrWhl','27IfHccT','916468AzrEiv','129dSmOYy','10DJkHlu','4405450GTaDUj'];_0x5e61=function(){return _0x1c2264;};return _0x5e61();}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x3af5(_0x4e8d50,_0x9f361b){var _0x5e6101=_0x5e61();return _0x3af5=function(_0x3af523,_0x5407f0){_0x3af523=_0x3af523-0x183;var _0x253454=_0x5e6101[_0x3af523];return _0x253454;},_0x3af5(_0x4e8d50,_0x9f361b);}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 e42ca933..760021d0 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x106048,_0x127b05){var _0x1ac7e7=_0x3438,_0x31e5b4=_0x106048();while(!![]){try{var _0x13f471=parseInt(_0x1ac7e7(0x1c9))/0x1+-parseInt(_0x1ac7e7(0x1d7))/0x2*(-parseInt(_0x1ac7e7(0x1e1))/0x3)+-parseInt(_0x1ac7e7(0x1c1))/0x4+-parseInt(_0x1ac7e7(0x1d6))/0x5*(-parseInt(_0x1ac7e7(0x1ec))/0x6)+parseInt(_0x1ac7e7(0x1cb))/0x7+-parseInt(_0x1ac7e7(0x1c4))/0x8+parseInt(_0x1ac7e7(0x1dd))/0x9*(-parseInt(_0x1ac7e7(0x1c5))/0xa);if(_0x13f471===_0x127b05)break;else _0x31e5b4['push'](_0x31e5b4['shift']());}catch(_0x4e9460){_0x31e5b4['push'](_0x31e5b4['shift']());}}}(_0x1ca0,0x1c830));function _0x3438(_0x177985,_0x56cc46){var _0x1ca0d4=_0x1ca0();return _0x3438=function(_0x343819,_0x17bffe){_0x343819=_0x343819-0x1c0;var _0x213b23=_0x1ca0d4[_0x343819];return _0x213b23;},_0x3438(_0x177985,_0x56cc46);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x14a52c from'node:path';import _0x1cccf5 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x354239){var _0x22bf4b=_0x3438,_0x514fd9={'PuJFi':_0x22bf4b(0x1dc),'iBkgL':_0x22bf4b(0x1de),'MQqaE':_0x22bf4b(0x1ef),'Kydnp':_0x22bf4b(0x1e5),'zeyRS':'KMAC'};_0x354239[_0x354239[_0x22bf4b(0x1dc)]=0x0]=_0x514fd9[_0x22bf4b(0x1d8)],_0x354239[_0x354239[_0x514fd9[_0x22bf4b(0x1d0)]]=0x1]=_0x514fd9[_0x22bf4b(0x1d0)],_0x354239[_0x354239[_0x514fd9[_0x22bf4b(0x1e9)]]=0x2]=_0x514fd9['MQqaE'],_0x354239[_0x354239[_0x514fd9['Kydnp']]=0x3]=_0x514fd9[_0x22bf4b(0x1db)],_0x354239[_0x354239[_0x514fd9['zeyRS']]=0x4]=_0x514fd9[_0x22bf4b(0x1e4)];}(PlatformType||(PlatformType={})));export var DeviceType;function _0x1ca0(){var _0x2599fb=['12378sepAto','PuJFi','KSUPPORTTPNS','KPHONE','Kydnp','KUNKNOWN','1077039daJIHa','KANDROID','NapCat','KSUPPORTGOOGLEPUSH','42tWIwsV','temp','gbFyd','zeyRS','KWINDOWS','KSUPPORTOPPOPUSH','assign','3|6|0|5|4|2|1','MQqaE','bLXdH','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','6kPzFOK','RpyuJ','QjdDJ','KIOS','split','49048JFGoOP','KNOSETONIOS','fCebl','922168uhMOth','10boNCAK','YdhxV','CLsxy','jxqLW','184440OhTalM','KSUPPORTVIVOPUSH','285572jiAaEj','Adlim','KSUPPORTHMS','mLxEi','KCOMPUTER','iBkgL','KUNSUPPORTANDROIDPUSH','JpyyK','join','ZRZOO','KPAD','260530NIstDH'];_0x1ca0=function(){return _0x2599fb;};return _0x1ca0();}(function(_0x1da862){var _0x3e20f2=_0x3438,_0x574d5b={'gbFyd':_0x3e20f2(0x1dc),'YdhxV':_0x3e20f2(0x1d5),'JpyyK':_0x3e20f2(0x1cf)};_0x1da862[_0x1da862[_0x3e20f2(0x1dc)]=0x0]=_0x574d5b[_0x3e20f2(0x1e3)],_0x1da862[_0x1da862[_0x3e20f2(0x1da)]=0x1]=_0x3e20f2(0x1da),_0x1da862[_0x1da862[_0x574d5b[_0x3e20f2(0x1c6)]]=0x2]=_0x574d5b[_0x3e20f2(0x1c6)],_0x1da862[_0x1da862[_0x574d5b['JpyyK']]=0x3]=_0x574d5b[_0x3e20f2(0x1d2)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x5283bc){var _0x2a0dd5=_0x3438,_0x18e44a={'bLXdH':_0x2a0dd5(0x1e8),'RpyuJ':_0x2a0dd5(0x1cd),'QjdDJ':_0x2a0dd5(0x1d1),'mLxEi':_0x2a0dd5(0x1ca),'jxqLW':_0x2a0dd5(0x1c2),'Adlim':_0x2a0dd5(0x1d9),'iMxLO':_0x2a0dd5(0x1e6),'CLsxy':_0x2a0dd5(0x1e0)},_0xdddf05=_0x18e44a[_0x2a0dd5(0x1ea)][_0x2a0dd5(0x1c0)]('|'),_0x5eeccb=0x0;while(!![]){switch(_0xdddf05[_0x5eeccb++]){case'0':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ed)]]=0x3]=_0x2a0dd5(0x1cd);continue;case'1':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ee)]]=0x1]=_0x18e44a['QjdDJ'];continue;case'2':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ce)]]=0x5]=_0x2a0dd5(0x1ca);continue;case'3':_0x5283bc[_0x5283bc['KNOSETONIOS']=0x0]=_0x18e44a[_0x2a0dd5(0x1c8)];continue;case'4':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1cc)]]=0x2]=_0x18e44a[_0x2a0dd5(0x1cc)];continue;case'5':_0x5283bc[_0x5283bc[_0x2a0dd5(0x1e6)]=0x4]=_0x18e44a['iMxLO'];continue;case'6':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1c7)]]=0x63]=_0x2a0dd5(0x1e0);continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x1d8123,_0x569afa,_0x7312d2){var _0x1fd3ef=_0x3438,_0x174272={'fEeCB':_0x1fd3ef(0x1e2),'ZRZOO':function(_0x69490){return _0x69490();},'fCebl':_0x1fd3ef(0x1eb)};const _0x31e136=_0x14a52c[_0x1fd3ef(0x1d3)](_0x7312d2,_0x1fd3ef(0x1df),_0x174272['fEeCB']);_0x1cccf5['mkdirSync'](_0x31e136,{'recursive':!![]});let _0x155093=await _0x174272[_0x1fd3ef(0x1d4)](getMachineId);const _0x304196={'selfUin':_0x1d8123,'selfUid':_0x569afa,'desktopPathConfig':{'account_path':_0x7312d2},'clientVer':qqVersionConfigInfo['curVersion'],'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':_0x31e136,'deviceInfo':{'guid':_0x155093,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x174272[_0x1fd3ef(0x1c3)]};return Object[_0x1fd3ef(0x1e7)](sessionConfig,_0x304196),_0x304196;} \ No newline at end of file +(function(_0x1aa2c7,_0xcb6a23){var _0x2f1fbd=_0x5d04,_0x58e141=_0x1aa2c7();while(!![]){try{var _0x36d021=parseInt(_0x2f1fbd(0x1b8))/0x1+-parseInt(_0x2f1fbd(0x1c8))/0x2+-parseInt(_0x2f1fbd(0x1c2))/0x3*(parseInt(_0x2f1fbd(0x1bc))/0x4)+parseInt(_0x2f1fbd(0x1b4))/0x5*(parseInt(_0x2f1fbd(0x1ac))/0x6)+-parseInt(_0x2f1fbd(0x1bf))/0x7+-parseInt(_0x2f1fbd(0x1bd))/0x8*(parseInt(_0x2f1fbd(0x1b7))/0x9)+parseInt(_0x2f1fbd(0x1ab))/0xa*(parseInt(_0x2f1fbd(0x1ba))/0xb);if(_0x36d021===_0xcb6a23)break;else _0x58e141['push'](_0x58e141['shift']());}catch(_0x4801a7){_0x58e141['push'](_0x58e141['shift']());}}}(_0xdfac,0x75fcb));function _0x5d04(_0x4ebf38,_0x2f7816){var _0xdfac25=_0xdfac();return _0x5d04=function(_0x5d043e,_0x1d79be){_0x5d043e=_0x5d043e-0x1a4;var _0x596c7f=_0xdfac25[_0x5d043e];return _0x596c7f;},_0x5d04(_0x4ebf38,_0x2f7816);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x447fdb from'node:path';import _0x4c4bd5 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x1353f0){var _0x14cd30=_0x5d04,_0x24812c={'qDtyL':_0x14cd30(0x1c5),'wIxXZ':_0x14cd30(0x1be),'fvhZO':'KIOS','RwmOD':'KWINDOWS','uLYAj':_0x14cd30(0x1b9)};_0x1353f0[_0x1353f0[_0x24812c[_0x14cd30(0x1ae)]]=0x0]=_0x24812c['qDtyL'],_0x1353f0[_0x1353f0['KANDROID']=0x1]=_0x24812c['wIxXZ'],_0x1353f0[_0x1353f0[_0x24812c[_0x14cd30(0x1a8)]]=0x2]='KIOS',_0x1353f0[_0x1353f0[_0x24812c[_0x14cd30(0x1b3)]]=0x3]=_0x24812c[_0x14cd30(0x1b3)],_0x1353f0[_0x1353f0[_0x14cd30(0x1b9)]=0x4]=_0x24812c[_0x14cd30(0x1c7)];}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x46c980){var _0x5ec6f3=_0x5d04,_0x24dcbb={'kZvJy':_0x5ec6f3(0x1c5),'hLIuw':_0x5ec6f3(0x1c6),'uxRKz':'KPAD','LPtQb':_0x5ec6f3(0x1a4)};_0x46c980[_0x46c980[_0x5ec6f3(0x1c5)]=0x0]=_0x24dcbb['kZvJy'],_0x46c980[_0x46c980[_0x24dcbb[_0x5ec6f3(0x1cd)]]=0x1]=_0x24dcbb[_0x5ec6f3(0x1cd)],_0x46c980[_0x46c980[_0x5ec6f3(0x1a6)]=0x2]=_0x24dcbb[_0x5ec6f3(0x1cf)],_0x46c980[_0x46c980[_0x24dcbb[_0x5ec6f3(0x1cc)]]=0x3]=_0x5ec6f3(0x1a4);}(DeviceType||(DeviceType={})));export var VendorType;function _0xdfac(){var _0x1c3b19=['version','KNOSETONIOS','LPtQb','hLIuw','NapCat','uxRKz','KCOMPUTER','OgkKK','KPAD','assign','fvhZO','KSUPPORTOPPOPUSH','KSUPPORTVIVOPUSH','2118920UtghNP','1218CoNmfj','KSUPPORTHMS','qDtyL','KSUPPORTTPNS','mkdirSync','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','polDm','RwmOD','22020wmtFkF','temp','3|2|6|4|0|1|5','27VSIlPG','556900hTUwXA','KMAC','88VAYQcq','GiiNP','3009604YPzPSM','1138408ZLwSLn','KANDROID','6610184iJoYih','split','OxGfq','3GfIsNy','UWDKq','VjzdJ','KUNKNOWN','KPHONE','uLYAj','1078314iQBWCQ','xKkRW'];_0xdfac=function(){return _0x1c3b19;};return _0xdfac();}(function(_0x3de824){var _0x416697=_0x5d04,_0x2f390b={'kPvUm':_0x416697(0x1b6),'OgkKK':_0x416697(0x1af),'OxGfq':'KSUPPORTVIVOPUSH','polDm':'KSUPPORTGOOGLEPUSH','VsuSL':_0x416697(0x1cb),'UWDKq':'KUNSUPPORTANDROIDPUSH','VjzdJ':_0x416697(0x1ad)},_0x12882=_0x2f390b['kPvUm'][_0x416697(0x1c0)]('|'),_0x17deed=0x0;while(!![]){switch(_0x12882[_0x17deed++]){case'0':_0x3de824[_0x3de824[_0x416697(0x1af)]=0x2]=_0x2f390b[_0x416697(0x1a5)];continue;case'1':_0x3de824[_0x3de824[_0x416697(0x1aa)]=0x5]=_0x2f390b[_0x416697(0x1c1)];continue;case'2':_0x3de824[_0x3de824[_0x2f390b[_0x416697(0x1b2)]]=0x63]=_0x2f390b[_0x416697(0x1b2)];continue;case'3':_0x3de824[_0x3de824[_0x2f390b['VsuSL']]=0x0]=_0x2f390b['VsuSL'];continue;case'4':_0x3de824[_0x3de824[_0x416697(0x1a9)]=0x4]=_0x416697(0x1a9);continue;case'5':_0x3de824[_0x3de824[_0x2f390b[_0x416697(0x1c3)]]=0x1]=_0x2f390b['UWDKq'];continue;case'6':_0x3de824[_0x3de824[_0x2f390b[_0x416697(0x1c4)]]=0x3]=_0x2f390b['VjzdJ'];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x78acd4,_0xd12047,_0x565dfe){var _0x360db9=_0x5d04,_0x40fc13={'KOtMR':_0x360db9(0x1ce),'xKkRW':function(_0x17a788){return _0x17a788();},'GiiNP':_0x360db9(0x1b1)};const _0x26e756=_0x447fdb['join'](_0x565dfe,_0x40fc13['KOtMR'],_0x360db9(0x1b5));_0x4c4bd5[_0x360db9(0x1b0)](_0x26e756,{'recursive':!![]});let _0x431565=await _0x40fc13[_0x360db9(0x1c9)](getMachineId);const _0x133341={'selfUin':_0x78acd4,'selfUid':_0xd12047,'desktopPathConfig':{'account_path':_0x565dfe},'clientVer':qqVersionConfigInfo['curVersion'],'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':_0x26e756,'deviceInfo':{'guid':_0x431565,'buildVer':qqPkgInfo[_0x360db9(0x1ca)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x40fc13[_0x360db9(0x1bb)]};return Object[_0x360db9(0x1a7)](sessionConfig,_0x133341),_0x133341;} \ 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 b5cb2603..bf60a0c3 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x252c2b=_0xfbcd;(function(_0x2b9f4d,_0x422655){const _0x4681f5=_0xfbcd,_0x2fe0ab=_0x2b9f4d();while(!![]){try{const _0x22cd54=parseInt(_0x4681f5(0x184))/0x1*(parseInt(_0x4681f5(0x17d))/0x2)+-parseInt(_0x4681f5(0x183))/0x3*(-parseInt(_0x4681f5(0x175))/0x4)+parseInt(_0x4681f5(0x17b))/0x5+parseInt(_0x4681f5(0x182))/0x6*(parseInt(_0x4681f5(0x174))/0x7)+-parseInt(_0x4681f5(0x186))/0x8*(parseInt(_0x4681f5(0x17f))/0x9)+parseInt(_0x4681f5(0x17e))/0xa*(parseInt(_0x4681f5(0x171))/0xb)+parseInt(_0x4681f5(0x181))/0xc*(-parseInt(_0x4681f5(0x176))/0xd);if(_0x22cd54===_0x422655)break;else _0x2fe0ab['push'](_0x2fe0ab['shift']());}catch(_0x38d667){_0x2fe0ab['push'](_0x2fe0ab['shift']());}}}(_0x3b2a,0x6ad49));function _0xfbcd(_0x2109d2,_0x3ddd38){const _0x3b2a75=_0x3b2a();return _0xfbcd=function(_0xfbcd86,_0x2570c3){_0xfbcd86=_0xfbcd86-0x170;let _0x48d29f=_0x3b2a75[_0xfbcd86];return _0x48d29f;},_0xfbcd(_0x2109d2,_0x3ddd38);}import _0x32eba3 from'node:path';function _0x3b2a(){const _0x3003ca=['98gJTnJJ','52oOSIaZ','4175470AOhrDa','getConfigPath','napcat_','getConfigDir','INFO','1200860FTnadj','DEBUG','4scjOLC','1060310fbmElc','191007WyNNZe','fileLog','48Yethrw','240906ZuzYzu','175947sGVBvf','291079ioNuqC','fileLogLevel','200lJieem','consoleLog','11zDlCRY','uin','consoleLogLevel'];_0x3b2a=function(){return _0x3003ca;};return _0x3b2a();}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x252c2b(0x180)]=!![];[_0x252c2b(0x170)]=!![];[_0x252c2b(0x185)]=LogLevel[_0x252c2b(0x17c)];[_0x252c2b(0x173)]=LogLevel[_0x252c2b(0x17a)];constructor(){super();}[_0x252c2b(0x177)](){const _0x256e54=_0x252c2b;return _0x32eba3['join'](this[_0x256e54(0x179)](),_0x256e54(0x178)+selfInfo[_0x256e54(0x172)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x47bffc=_0xdb04;function _0xf51c(){const _0x5c97a5=['napcat_','777304gZfuAx','14320ObkOJz','5jjYTkL','2724956cCHeVL','1538094pkQxBO','INFO','DEBUG','2072151ceixng','7456484yYelfJ','uin','3996600erTjMj','12735bMSRSC','getConfigPath','fileLog','fileLogLevel','consoleLog'];_0xf51c=function(){return _0x5c97a5;};return _0xf51c();}(function(_0x3335eb,_0x166d8f){const _0x22cb76=_0xdb04,_0x598e91=_0x3335eb();while(!![]){try{const _0x3f97c5=parseInt(_0x22cb76(0x87))/0x1+parseInt(_0x22cb76(0x8b))/0x2+parseInt(_0x22cb76(0x8e))/0x3+parseInt(_0x22cb76(0x8a))/0x4+-parseInt(_0x22cb76(0x89))/0x5*(parseInt(_0x22cb76(0x91))/0x6)+parseInt(_0x22cb76(0x8f))/0x7+-parseInt(_0x22cb76(0x88))/0x8*(parseInt(_0x22cb76(0x92))/0x9);if(_0x3f97c5===_0x166d8f)break;else _0x598e91['push'](_0x598e91['shift']());}catch(_0x563cac){_0x598e91['push'](_0x598e91['shift']());}}}(_0xf51c,0xbf8b9));import _0x1273c1 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0xdb04(_0x28e704,_0x353d66){const _0xf51ce0=_0xf51c();return _0xdb04=function(_0xdb042c,_0x5884d7){_0xdb042c=_0xdb042c-0x86;let _0x14e5cd=_0xf51ce0[_0xdb042c];return _0x14e5cd;},_0xdb04(_0x28e704,_0x353d66);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x47bffc(0x94)]=!![];[_0x47bffc(0x96)]=!![];[_0x47bffc(0x95)]=LogLevel[_0x47bffc(0x8d)];['consoleLogLevel']=LogLevel[_0x47bffc(0x8c)];constructor(){super();}[_0x47bffc(0x93)](){const _0x3f6f17=_0x47bffc;return _0x1273c1['join'](this['getConfigDir'](),_0x3f6f17(0x86)+selfInfo[_0x3f6f17(0x90)]+'.json');}}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 a89bfbdb..bc50c2f0 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x5d95(_0x3ee631,_0x53a901){const _0x16872d=_0x1687();return _0x5d95=function(_0x5d95e6,_0xe25baf){_0x5d95e6=_0x5d95e6-0x1bd;let _0x4d5989=_0x16872d[_0x5d95e6];return _0x4d5989;},_0x5d95(_0x3ee631,_0x53a901);}const _0x35d1b9=_0x5d95;(function(_0x2c21ad,_0x138c81){const _0xbffae1=_0x5d95,_0x2d6ca3=_0x2c21ad();while(!![]){try{const _0x3c48d8=-parseInt(_0xbffae1(0x1bf))/0x1+-parseInt(_0xbffae1(0x1cc))/0x2*(-parseInt(_0xbffae1(0x1c6))/0x3)+-parseInt(_0xbffae1(0x1d0))/0x4+parseInt(_0xbffae1(0x1c0))/0x5+-parseInt(_0xbffae1(0x1c3))/0x6*(-parseInt(_0xbffae1(0x1c7))/0x7)+-parseInt(_0xbffae1(0x1c8))/0x8+-parseInt(_0xbffae1(0x1c5))/0x9*(-parseInt(_0xbffae1(0x1be))/0xa);if(_0x3c48d8===_0x138c81)break;else _0x2d6ca3['push'](_0x2d6ca3['shift']());}catch(_0x46d064){_0x2d6ca3['push'](_0x2d6ca3['shift']());}}}(_0x1687,0x8a7b3));function _0x1687(){const _0x5a509c=['isExpired','434gPRtQy','rtKOG','expired_time','GjAhJ','4105084WxjFKp','rkeyData','refreshRkey','getTime','serverUrl','710090zwmYHK','1115026SvomdG','1784720ekApRe','获取rkey失败','IHMIp','198omqSAa','http://napcat-sign.wumiao.wang:2082/rkey','99ePwHtS','7536mLqZol','240233qtmXSz','857264phHlRf','getRkey','GET'];_0x1687=function(){return _0x5a509c;};return _0x1687();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x35d1b9(0x1d1)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x1edb7c){const _0x364dfc=_0x35d1b9;this[_0x364dfc(0x1bd)]=_0x1edb7c;}async[_0x35d1b9(0x1c9)](){const _0x485691=_0x35d1b9,_0x4e3dd2={'IHMIp':function(_0x4ad572,_0x282f51,_0x696c5d){return _0x4ad572(_0x282f51,_0x696c5d);},'HDbcs':_0x485691(0x1c1)};if(this[_0x485691(0x1cb)]())try{await this[_0x485691(0x1d2)]();}catch(_0x3f41e7){_0x4e3dd2[_0x485691(0x1c2)](logError,_0x4e3dd2['HDbcs'],_0x3f41e7);}return this['rkeyData'];}['isExpired'](){const _0x26c540=_0x35d1b9,_0x464e94={'rtKOG':function(_0x1c3275,_0x22a9af){return _0x1c3275/_0x22a9af;},'GjAhJ':function(_0x57cb07,_0x552a78){return _0x57cb07>_0x552a78;}},_0x31bbe1=_0x464e94[_0x26c540(0x1cd)](new Date()[_0x26c540(0x1d3)](),0x3e8);return _0x464e94[_0x26c540(0x1cf)](_0x31bbe1,this[_0x26c540(0x1d1)][_0x26c540(0x1ce)]);}async[_0x35d1b9(0x1d2)](){const _0x519335=_0x35d1b9,_0x512f8e={'KeqYc':_0x519335(0x1ca)};this[_0x519335(0x1d1)]=await RequestUtil['HttpGetJson'](this[_0x519335(0x1bd)],_0x512f8e['KeqYc']);}}export const rkeyManager=new RkeyManager(_0x35d1b9(0x1c4)); \ No newline at end of file +const _0xb21765=_0xf2ab;(function(_0xf3e40a,_0x5134de){const _0x66f849=_0xf2ab,_0x58c480=_0xf3e40a();while(!![]){try{const _0x1b5981=-parseInt(_0x66f849(0x1ce))/0x1*(-parseInt(_0x66f849(0x1d3))/0x2)+parseInt(_0x66f849(0x1c3))/0x3*(parseInt(_0x66f849(0x1d1))/0x4)+parseInt(_0x66f849(0x1cf))/0x5+-parseInt(_0x66f849(0x1c5))/0x6*(-parseInt(_0x66f849(0x1bc))/0x7)+-parseInt(_0x66f849(0x1c0))/0x8+-parseInt(_0x66f849(0x1c7))/0x9+-parseInt(_0x66f849(0x1cd))/0xa;if(_0x1b5981===_0x5134de)break;else _0x58c480['push'](_0x58c480['shift']());}catch(_0x353d76){_0x58c480['push'](_0x58c480['shift']());}}}(_0x41ab,0x9b6e8));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x41ab(){const _0xb1220a=['ApsZW','http://napcat-sign.wumiao.wang:2082/rkey','获取rkey失败','7259350DfwLBM','1kIYKqg','2883425Xkbomi','HttpGetJson','508fWhMdn','rkeyData','145686YfmOTc','968359rElDcY','uWlkq','GET','refreshRkey','7703232mBgheC','expired_time','getTime','25233KhYtfC','isExpired','36YvjGAo','arRzp','2000340uwYpot','getRkey','serverUrl'];_0x41ab=function(){return _0xb1220a;};return _0x41ab();}class RkeyManager{[_0xb21765(0x1c9)]='';[_0xb21765(0x1d2)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x36bc67){const _0x2594c6=_0xb21765;this[_0x2594c6(0x1c9)]=_0x36bc67;}async[_0xb21765(0x1c8)](){const _0x4150d2=_0xb21765,_0x2762dd={'uWlkq':function(_0x24157b,_0x329e26,_0x9c3284){return _0x24157b(_0x329e26,_0x9c3284);},'arRzp':_0x4150d2(0x1cc)};if(this[_0x4150d2(0x1c4)]())try{await this[_0x4150d2(0x1bf)]();}catch(_0x29b2fa){_0x2762dd[_0x4150d2(0x1bd)](logError,_0x2762dd[_0x4150d2(0x1c6)],_0x29b2fa);}return this['rkeyData'];}[_0xb21765(0x1c4)](){const _0x3c1d95=_0xb21765,_0x4a3662={'CduvW':function(_0xbe0b02,_0x4e53b2){return _0xbe0b02/_0x4e53b2;}},_0x3bf0f6=_0x4a3662['CduvW'](new Date()[_0x3c1d95(0x1c2)](),0x3e8);return _0x3bf0f6>this[_0x3c1d95(0x1d2)][_0x3c1d95(0x1c1)];}async[_0xb21765(0x1bf)](){const _0xd80f60=_0xb21765,_0xe860da={'ApsZW':_0xd80f60(0x1be)};this['rkeyData']=await RequestUtil[_0xd80f60(0x1d0)](this[_0xd80f60(0x1c9)],_0xe860da[_0xd80f60(0x1ca)]);}}function _0xf2ab(_0x30e0bc,_0x3d439c){const _0x41ab33=_0x41ab();return _0xf2ab=function(_0xf2aba4,_0x345f82){_0xf2aba4=_0xf2aba4-0x1bc;let _0x5c49cb=_0x41ab33[_0xf2aba4];return _0x5c49cb;},_0xf2ab(_0x30e0bc,_0x3d439c);}export const rkeyManager=new RkeyManager(_0xb21765(0x1cb)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 25cc67b5..0f8d7b17 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x5c8953=_0x3b73;(function(_0x156d5f,_0x522ec2){const _0x301d68=_0x3b73,_0x67bb88=_0x156d5f();while(!![]){try{const _0x24a3b1=parseInt(_0x301d68(0xe5))/0x1+-parseInt(_0x301d68(0xda))/0x2*(-parseInt(_0x301d68(0xd9))/0x3)+-parseInt(_0x301d68(0xd4))/0x4*(parseInt(_0x301d68(0xcf))/0x5)+-parseInt(_0x301d68(0xdc))/0x6*(parseInt(_0x301d68(0xd1))/0x7)+-parseInt(_0x301d68(0xd5))/0x8+-parseInt(_0x301d68(0xe6))/0x9+parseInt(_0x301d68(0xde))/0xa*(parseInt(_0x301d68(0xd6))/0xb);if(_0x24a3b1===_0x522ec2)break;else _0x67bb88['push'](_0x67bb88['shift']());}catch(_0x8f799f){_0x67bb88['push'](_0x67bb88['shift']());}}}(_0x22df,0xdcb4c));function _0x22df(){const _0x2beeef=['resources/app/versions/','\x0amodule.exports\x20=\x20require(\x22','join','1210348WWYwRi','5762322BWuJxm','36310NRIsjR','execPath','7HkgAun','/wrapper.node','file://','732fbGLCu','6484720UbNqWV','55efJEwh','./resources/app/wrapper.node','resolve','202578LsPrEJ','2ZvoyPB','\x22);\x0aexports\x20=\x20module.exports;\x0a','10472778MBKtBF','url','8302790HSXhUR','existsSync','replace','dirname'];_0x22df=function(){return _0x2beeef;};return _0x22df();}import _0x5df7ef from'node:path';import _0x46724f from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x3b73(_0x341b71,_0x3bde0d){const _0x22df74=_0x22df();return _0x3b73=function(_0x3b7307,_0x33d556){_0x3b7307=_0x3b7307-0xcf;let _0x12cd77=_0x22df74[_0x3b7307];return _0x12cd77;},_0x3b73(_0x341b71,_0x3bde0d);}const __filename=fileURLToPath(import.meta[_0x5c8953(0xdd)]),__dirname=dirname(__filename);let wrapperNodePath=_0x5df7ef[_0x5c8953(0xd8)](_0x5df7ef[_0x5c8953(0xe1)](process[_0x5c8953(0xd0)]),_0x5c8953(0xd7));!_0x46724f[_0x5c8953(0xdf)](wrapperNodePath)&&(wrapperNodePath=_0x5df7ef[_0x5c8953(0xe4)](_0x5df7ef[_0x5c8953(0xe1)](process[_0x5c8953(0xd0)]),_0x5c8953(0xe2)+qqVersionConfigInfo['curVersion']+_0x5c8953(0xd2)));let WrapperLoader=_0x5df7ef['join'](__dirname,'WrapperLoader.cjs');_0x46724f['writeFileSync'](WrapperLoader,_0x5c8953(0xe3)+wrapperNodePath[_0x5c8953(0xe0)](/\\/g,'\x5c\x5c')+_0x5c8953(0xdb));const QQWrapper=(await import(_0x5c8953(0xd3)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file +const _0x42aae0=_0x5423;(function(_0x38d2a4,_0x49699a){const _0x4585dd=_0x5423,_0x4ca49e=_0x38d2a4();while(!![]){try{const _0x50e82d=parseInt(_0x4585dd(0x7d))/0x1*(parseInt(_0x4585dd(0x72))/0x2)+parseInt(_0x4585dd(0x81))/0x3+-parseInt(_0x4585dd(0x6c))/0x4+parseInt(_0x4585dd(0x7e))/0x5*(-parseInt(_0x4585dd(0x7f))/0x6)+-parseInt(_0x4585dd(0x7c))/0x7*(-parseInt(_0x4585dd(0x70))/0x8)+-parseInt(_0x4585dd(0x6d))/0x9+-parseInt(_0x4585dd(0x7a))/0xa*(-parseInt(_0x4585dd(0x82))/0xb);if(_0x50e82d===_0x49699a)break;else _0x4ca49e['push'](_0x4ca49e['shift']());}catch(_0x10ece4){_0x4ca49e['push'](_0x4ca49e['shift']());}}}(_0x13c1,0xbbee3));import _0xb34a9c from'node:path';import _0x271f26 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x42aae0(0x80)]),__dirname=dirname(__filename);function _0x13c1(){const _0x526d55=['1KLymfW','80quKTrf','208800EwigUN','url','1610304pDlhax','11XKPaLf','/wrapper.node','file://','1620428KOyrgf','8393895bUjqQz','join','curVersion','8RdMOUb','replace','2840262ARFljA','execPath','resolve','\x0amodule.exports\x20=\x20require(\x22','resources/app/versions/','\x22);\x0aexports\x20=\x20module.exports;\x0a','default','./resources/app/wrapper.node','212930fULyof','dirname','4802931kDTXkr'];_0x13c1=function(){return _0x526d55;};return _0x13c1();}function _0x5423(_0x3b0779,_0x1e6929){const _0x13c17d=_0x13c1();return _0x5423=function(_0x54234b,_0x5c8647){_0x54234b=_0x54234b-0x6b;let _0x25ef9c=_0x13c17d[_0x54234b];return _0x25ef9c;},_0x5423(_0x3b0779,_0x1e6929);}let wrapperNodePath=_0xb34a9c[_0x42aae0(0x74)](_0xb34a9c['dirname'](process[_0x42aae0(0x73)]),_0x42aae0(0x79));!_0x271f26['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0xb34a9c[_0x42aae0(0x6e)](_0xb34a9c[_0x42aae0(0x7b)](process[_0x42aae0(0x73)]),_0x42aae0(0x76)+qqVersionConfigInfo[_0x42aae0(0x6f)]+_0x42aae0(0x83)));let WrapperLoader=_0xb34a9c[_0x42aae0(0x6e)](__dirname,'WrapperLoader.cjs');_0x271f26['writeFileSync'](WrapperLoader,_0x42aae0(0x75)+wrapperNodePath[_0x42aae0(0x71)](/\\/g,'\x5c\x5c')+_0x42aae0(0x77));const QQWrapper=(await import(_0x42aae0(0x6b)+WrapperLoader))[_0x42aae0(0x78)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts index 906d0451..824005cf 100644 --- a/src/onebot11/version.ts +++ b/src/onebot11/version.ts @@ -1 +1 @@ -export const version = '1.6.0'; +export const version = '1.6.1'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 624a7604..f667a41c 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.6.0', 'napcat-update-button', 'secondary') + SettingButton('V1.6.1', 'napcat-update-button', 'secondary') ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index a8df5be9..60ee03a7 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.6.0", "napcat-update-button", "secondary") + SettingButton("V1.6.1", "napcat-update-button", "secondary") ) ]), SettingList([