From d58bcf3c0e73b492d68a9695e9af108803a61897 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: Wed, 26 Jun 2024 17:14:23 +0800 Subject: [PATCH] refactor: error catch --- src/common/utils/request.ts | 11 +++++------ 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/action/group/GetGroupMemberList.ts | 2 +- src/onebot11/action/user/GetCookies.ts | 2 -- 45 files changed, 48 insertions(+), 51 deletions(-) diff --git a/src/common/utils/request.ts b/src/common/utils/request.ts index eeb7b3b6..ad5e82c1 100644 --- a/src/common/utils/request.ts +++ b/src/common/utils/request.ts @@ -1,15 +1,13 @@ import https from 'node:https'; import http from 'node:http'; -import fs, { readFileSync } from 'node:fs'; +import { readFileSync } from 'node:fs'; import { NTQQUserApi } from '@/core'; -import path from 'node:path'; -import { request } from 'node:http'; export class RequestUtil { // 适用于获取服务器下发cookies时获取,仅GET static async HttpsGetCookies(url: string): Promise<{ [key: string]: string }> { const client = url.startsWith('https') ? https : http; return new Promise((resolve, reject) => { - client.get(url, (res) => { + let req = client.get(url, (res) => { let cookies: { [key: string]: string } = {}; const handleRedirect = (res: http.IncomingMessage) => { //console.log(res.headers.location); @@ -20,6 +18,8 @@ export class RequestUtil { // 合并重定向过程中的cookies cookies = { ...cookies, ...redirectCookies }; resolve(cookies); + }).catch((err) => { + reject(err); }); } else { resolve(cookies); @@ -43,8 +43,6 @@ export class RequestUtil { } }); } - }).on('error', (err) => { - reject(err); }); }); } @@ -173,6 +171,7 @@ export class RequestUtil { }); req.on('error', (error) => { + reject(error); console.error('Error during upload:', error); }); diff --git a/src/core b/src/core index 4e242a58..ed5fcfcd 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 4e242a5850d7a856c6006ec3dcfd3ad483959db6 +Subproject commit ed5fcfcd0f2736e6096e0878394f57b10cca37dc diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 0ce4520e..8deb9454 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -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 +function _0x17f8(){var _0x4a3222=['286VpbDIr','20uuGjhr','onMSFStatusChange','335217NEEBEa','189256glcEeq','45hvQPoc','203lXzNHo','onMSFSsoError','1019485ILdCwe','767490fjBORl','6MTqZsc','41611vpoBtM','13VZEJKN','19475148fDjfKy','44EVfOAm','166944CwdBsG'];_0x17f8=function(){return _0x4a3222;};return _0x17f8();}var _0x346485=_0x31a2;function _0x31a2(_0x89c19a,_0x68257a){var _0x17f8ce=_0x17f8();return _0x31a2=function(_0x31a2ea,_0x3bf731){_0x31a2ea=_0x31a2ea-0x1f4;var _0x485e8a=_0x17f8ce[_0x31a2ea];return _0x485e8a;},_0x31a2(_0x89c19a,_0x68257a);}(function(_0x44b870,_0x34edf8){var _0xaa4be2=_0x31a2,_0x52d680=_0x44b870();while(!![]){try{var _0x259ed5=-parseInt(_0xaa4be2(0x1fb))/0x1*(parseInt(_0xaa4be2(0x1fe))/0x2)+parseInt(_0xaa4be2(0x203))/0x3*(parseInt(_0xaa4be2(0x201))/0x4)+parseInt(_0xaa4be2(0x1f8))/0x5*(parseInt(_0xaa4be2(0x1fa))/0x6)+-parseInt(_0xaa4be2(0x1f6))/0x7*(parseInt(_0xaa4be2(0x1f4))/0x8)+parseInt(_0xaa4be2(0x1f5))/0x9*(-parseInt(_0xaa4be2(0x1f9))/0xa)+parseInt(_0xaa4be2(0x200))/0xb*(parseInt(_0xaa4be2(0x1ff))/0xc)+parseInt(_0xaa4be2(0x1fc))/0xd*(parseInt(_0xaa4be2(0x1fd))/0xe);if(_0x259ed5===_0x34edf8)break;else _0x52d680['push'](_0x52d680['shift']());}catch(_0x45128f){_0x52d680['push'](_0x52d680['shift']());}}}(_0x17f8,0x816e2));export class DependsAdapter{[_0x346485(0x202)](_0x495255,_0x4051c0){}[_0x346485(0x1f7)](_0xe76a66){}['getGroupCode'](_0x4eacac){}} \ 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 f033ddc0..297b98de 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -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 +function _0x115b(_0x1cf7c7,_0x1191fe){var _0x154a2d=_0x154a();return _0x115b=function(_0x115be8,_0x16b4d5){_0x115be8=_0x115be8-0x70;var _0x45f990=_0x154a2d[_0x115be8];return _0x45f990;},_0x115b(_0x1cf7c7,_0x1191fe);}var _0x3e4356=_0x115b;(function(_0x4c599b,_0x34a364){var _0x16c0d3=_0x115b,_0x3d72c6=_0x4c599b();while(!![]){try{var _0x17e947=-parseInt(_0x16c0d3(0x77))/0x1+parseInt(_0x16c0d3(0x75))/0x2+-parseInt(_0x16c0d3(0x70))/0x3*(parseInt(_0x16c0d3(0x74))/0x4)+-parseInt(_0x16c0d3(0x79))/0x5+parseInt(_0x16c0d3(0x72))/0x6+-parseInt(_0x16c0d3(0x78))/0x7+parseInt(_0x16c0d3(0x73))/0x8;if(_0x17e947===_0x34a364)break;else _0x3d72c6['push'](_0x3d72c6['shift']());}catch(_0x2dac68){_0x3d72c6['push'](_0x3d72c6['shift']());}}}(_0x154a,0xe4212));export class DispatcherAdapter{[_0x3e4356(0x76)](_0x1231ba){}[_0x3e4356(0x71)](_0x236020){}[_0x3e4356(0x7a)](_0x2f06af){}}function _0x154a(){var _0xdc7b3b=['2826kptcuh','dispatchCall','8078268vsMpBX','27944136DiuaUF','5120hdKfMe','874972Hytjma','dispatchRequest','783772iJKZJG','10061611Zwukvk','4577790BzZoDw','dispatchCallWithJson'];_0x154a=function(){return _0xdc7b3b;};return _0x154a();} \ 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 36232104..4f4784e5 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -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 +var _0x4d10a2=_0x9a75;function _0x9a75(_0x2bedca,_0x6974c6){var _0x36ca6c=_0x36ca();return _0x9a75=function(_0x9a7595,_0x296021){_0x9a7595=_0x9a7595-0xce;var _0x2da844=_0x36ca6c[_0x9a7595];return _0x2da844;},_0x9a75(_0x2bedca,_0x6974c6);}function _0x36ca(){var _0x13be94=['3022375gnhjgm','onGetOfflineMsg','42420iqxmPf','fixPicImgType','8992449Ujhfaz','4733953SEackU','onInstallFinished','893276yeESlW','8ylLPxB','2497BpifHj','onLog','872226dctxBg','onUpdateGeneralFlag','12CYRRlS','7353ymxFyN','392FlFqxE','onShowErrUITips'];_0x36ca=function(){return _0x13be94;};return _0x36ca();}(function(_0x5067a8,_0x4140cc){var _0x2d981d=_0x9a75,_0x5462fb=_0x5067a8();while(!![]){try{var _0x42c562=-parseInt(_0x2d981d(0xcf))/0x1+parseInt(_0x2d981d(0xd3))/0x2+-parseInt(_0x2d981d(0xd6))/0x3*(parseInt(_0x2d981d(0xd7))/0x4)+parseInt(_0x2d981d(0xd9))/0x5*(-parseInt(_0x2d981d(0xd5))/0x6)+-parseInt(_0x2d981d(0xde))/0x7*(-parseInt(_0x2d981d(0xd0))/0x8)+parseInt(_0x2d981d(0xdd))/0x9+-parseInt(_0x2d981d(0xdb))/0xa*(-parseInt(_0x2d981d(0xd1))/0xb);if(_0x42c562===_0x4140cc)break;else _0x5462fb['push'](_0x5462fb['shift']());}catch(_0x5601da){_0x5462fb['push'](_0x5462fb['shift']());}}}(_0x36ca,0xb2b9f));export class GlobalAdapter{[_0x4d10a2(0xd2)](..._0x35b6c3){}['onGetSrvCalTime'](..._0x150119){}[_0x4d10a2(0xd8)](..._0x5b9881){}[_0x4d10a2(0xdc)](..._0xa2fc91){}['getAppSetting'](..._0x86ac1f){}[_0x4d10a2(0xce)](..._0x50d7b1){}[_0x4d10a2(0xd4)](..._0xf419b2){}[_0x4d10a2(0xda)](..._0x470f4b){}} \ 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 f18d1a0b..8db845ac 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(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 +function _0x1b68(_0xe1efc9,_0x1fc46e){var _0x376d0a=_0x376d();return _0x1b68=function(_0x1b68cb,_0x512bf4){_0x1b68cb=_0x1b68cb-0x182;var _0x550022=_0x376d0a[_0x1b68cb];return _0x550022;},_0x1b68(_0xe1efc9,_0x1fc46e);}(function(_0x5e40fb,_0x3d2afa){var _0x31c96d=_0x1b68,_0x4b9dd7=_0x5e40fb();while(!![]){try{var _0x20f123=parseInt(_0x31c96d(0x18b))/0x1+-parseInt(_0x31c96d(0x182))/0x2+parseInt(_0x31c96d(0x187))/0x3+-parseInt(_0x31c96d(0x189))/0x4*(-parseInt(_0x31c96d(0x186))/0x5)+-parseInt(_0x31c96d(0x184))/0x6+parseInt(_0x31c96d(0x183))/0x7*(-parseInt(_0x31c96d(0x18a))/0x8)+parseInt(_0x31c96d(0x185))/0x9*(-parseInt(_0x31c96d(0x188))/0xa);if(_0x20f123===_0x3d2afa)break;else _0x4b9dd7['push'](_0x4b9dd7['shift']());}catch(_0x252878){_0x4b9dd7['push'](_0x4b9dd7['shift']());}}}(_0x376d,0x1f5b7));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x376d(){var _0x31d11d=['234664zrrIIu','6755ktPtXM','1058802VmqOmr','89406hpceDq','992045RxaHFm','588921mEkUMX','60WZYyJQ','4gEqrLD','16oxZHod','89056WwssIB'];_0x376d=function(){return _0x31d11d;};return _0x376d();}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 dbfe37cf..78acc5f2 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -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 +const _0x518eab=_0x1448;(function(_0xf68883,_0x4543eb){const _0x3187ff=_0x1448,_0x4e3e01=_0xf68883();while(!![]){try{const _0x217f52=parseInt(_0x3187ff(0x167))/0x1+-parseInt(_0x3187ff(0x170))/0x2*(parseInt(_0x3187ff(0x172))/0x3)+parseInt(_0x3187ff(0x16c))/0x4+-parseInt(_0x3187ff(0x174))/0x5*(parseInt(_0x3187ff(0x173))/0x6)+-parseInt(_0x3187ff(0x168))/0x7+-parseInt(_0x3187ff(0x16e))/0x8*(parseInt(_0x3187ff(0x171))/0x9)+parseInt(_0x3187ff(0x166))/0xa;if(_0x217f52===_0x4543eb)break;else _0x4e3e01['push'](_0x4e3e01['shift']());}catch(_0x1e145c){_0x4e3e01['push'](_0x4e3e01['shift']());}}}(_0x3340,0xa2f84));function _0x1448(_0x629ded,_0x5de43f){const _0x334064=_0x3340();return _0x1448=function(_0x144810,_0x5735f5){_0x144810=_0x144810-0x165;let _0x5a46f5=_0x334064[_0x144810];return _0x5a46f5;},_0x1448(_0x629ded,_0x5de43f);}import{napCatCore}from'..';function _0x3340(){const _0x1439d5=['289986EtOpab','789102mghfes','15WClfWr','getAllCollection','16780230OvcXhl','1237360TCpMnn','5407808ypNjkG','createCollection','now','getCollectionService','2759504pIpxYU','createNewCollectionItem','2829432gYArXu','toString','22mlChpJ','18gXZIJN'];_0x3340=function(){return _0x1439d5;};return _0x3340();}export class NTQQCollectionApi{static async[_0x518eab(0x169)](_0x5ece74,_0x4d7dd0,_0x55cdcf,_0x1ba7a9,_0x1c0198){const _0x59a679=_0x518eab;let _0x1597f2={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x5ece74,'strId':_0x55cdcf,'groupId':'0','groupName':'','uid':_0x4d7dd0},'customGroupId':'0','createTime':Date['now']()[_0x59a679(0x16f)](),'sequence':Date[_0x59a679(0x16a)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x1ba7a9,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x1c0198,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x59a679(0x16b)]()[_0x59a679(0x16d)](_0x1597f2);}static async[_0x518eab(0x165)](_0x47a7d3=0x0,_0x27234d=0x32){const _0x51bb9c=_0x518eab;let _0x52241b={'category':_0x47a7d3,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x27234d,'searchDown':!![]};return napCatCore['session'][_0x51bb9c(0x16b)]()['getCollectionItemList'](_0x52241b);}} \ 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 fdb1d733..e4d031c4 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -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 +const _0x270329=_0x5c82;(function(_0x206602,_0x33d757){const _0x233923=_0x5c82,_0x5aac5e=_0x206602();while(!![]){try{const _0x335bff=-parseInt(_0x233923(0xda))/0x1*(-parseInt(_0x233923(0xce))/0x2)+parseInt(_0x233923(0xbf))/0x3+-parseInt(_0x233923(0xc0))/0x4*(parseInt(_0x233923(0xc4))/0x5)+parseInt(_0x233923(0xb2))/0x6*(-parseInt(_0x233923(0xc7))/0x7)+-parseInt(_0x233923(0xb0))/0x8*(parseInt(_0x233923(0xd5))/0x9)+parseInt(_0x233923(0xd8))/0xa+parseInt(_0x233923(0xd3))/0xb;if(_0x335bff===_0x33d757)break;else _0x5aac5e['push'](_0x5aac5e['shift']());}catch(_0x12e161){_0x5aac5e['push'](_0x5aac5e['shift']());}}}(_0x23a9,0xe2019));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x59cf34 from'path';import _0x368875 from'fs';import _0x10e3bf from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2322f5 from'file-type';import{MsgListener}from'@/core/listeners';function _0x23a9(){const _0x2434af=['unlink','clearChatCacheInfo','clearChatCache','getRichMediaFilePathForGuild','OIlxe','getImageUrl','urlResult','clearCacheDataByKeys','203949YcLUgl','12548cyHIkx','getHotUpdateCachePath','nBFjo','join','2270ldDyrE','addListener','private_rkey','133npClSb','boahd','QABWN','startsWith','downloadMedia','md5HexStr','/gchatpic_new/0/0-0-','3025850yJBYzg','RZCEd','fileUuid','getMsgService','HtCuM','19313063XZErjG','basename','9jymsTA','scanCache','getRichMediaService','9332360DInmfw','getFileCacheInfo','1mvTiBY','indexOf','getRkey','elementId','msgId','getFileType','getChatCacheList','delete','group_rkey','PlXZV','includes','kwoVR','getVideoUrl','existsSync','downloadRichMedia','uploadFile','copyFile','domainUrl','getStorageCleanService','addCacheScanedPaths','LgcaG','getDesktopTmpPath','ZZyta','getImageSize','filePath','Cxkpw','util','addCacheScannedPaths','clearCache','/download','url','QuSDF','12229528gFnJKD','onLoginSuccess','123558VZRQLE','&rkey=','session','getFileSize','PIC'];_0x23a9=function(){return _0x2434af;};return _0x23a9();}import _0x16ca6e from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';function _0x5c82(_0x39718a,_0x145788){const _0x23a9a8=_0x23a9();return _0x5c82=function(_0x5c82d2,_0x2bff0b){_0x5c82d2=_0x5c82d2-0x9b;let _0xae37fd=_0x23a9a8[_0x5c82d2];return _0xae37fd;},_0x5c82(_0x39718a,_0x145788);}import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x27c30f=>{const _0x47b5ce=_0x5c82,_0x573c8e={'boahd':function(_0x52ec32,_0x23569d){return _0x52ec32(_0x23569d);}};for(const [_0x2d933e,_0x97baec]of downloadMediaTasks){_0x573c8e[_0x47b5ce(0xc8)](_0x97baec,_0x27c30f),downloadMediaTasks[_0x47b5ce(0xe1)](_0x2d933e);}},setTimeout(()=>{const _0x2f6c39=_0x5c82;napCatCore[_0x2f6c39(0xb1)](()=>{const _0x2010d6=_0x2f6c39;napCatCore[_0x2010d6(0xc5)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x270329(0xdf)](_0x573002){return _0x2322f5['fileTypeFromFile'](_0x573002);}static async[_0x270329(0xa0)](_0x4f5675,_0x1f1093){const _0x5955de=_0x270329;await napCatCore[_0x5955de(0xaa)][_0x5955de(0xa0)](_0x4f5675,_0x1f1093);}static async[_0x270329(0xb5)](_0x1d15dc){const _0x54f5f0=_0x270329;return await napCatCore[_0x54f5f0(0xaa)][_0x54f5f0(0xb5)](_0x1d15dc);}static async[_0x270329(0x9c)](_0x10cccb,_0x5b0968){const _0x5e6b6b=_0x270329;return(await napCatCore[_0x5e6b6b(0xb4)][_0x5e6b6b(0xd7)]()['getVideoPlayUrlV2']({'chatType':_0x10cccb['chatType'],'peerUid':_0x10cccb['peerUid'],'guildId':'0'},_0x10cccb[_0x5e6b6b(0xde)],_0x5b0968[_0x5e6b6b(0xdd)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x5e6b6b(0xbd)][_0x5e6b6b(0xa1)][0x0][_0x5e6b6b(0xae)];}static async[_0x270329(0x9f)](_0x23816e,_0x3f22a6=ElementType[_0x270329(0xb6)],_0x445585=0x0){const _0x3f503d=_0x270329,_0x5ce286={'PlXZV':function(_0x1c0b67,_0x172ae1){return _0x1c0b67(_0x172ae1);},'Cxkpw':function(_0x5a6353,_0x215c21){return _0x5a6353===_0x215c21;}},_0x9889f0=await _0x5ce286[_0x3f503d(0xe3)](calculateFileMD5,_0x23816e);let _0xf5f6ce=(await NTQQFileApi[_0x3f503d(0xdf)](_0x23816e))?.['ext']||'';_0xf5f6ce&&(_0xf5f6ce='.'+_0xf5f6ce);let _0x54bc6f=''+_0x59cf34[_0x3f503d(0xd4)](_0x23816e);_0x5ce286[_0x3f503d(0xa9)](_0x54bc6f[_0x3f503d(0xdb)]('.'),-0x1)&&(_0x54bc6f+=_0xf5f6ce);const _0x357ee9=napCatCore[_0x3f503d(0xb4)]['getMsgService']()[_0x3f503d(0xba)]({'md5HexStr':_0x9889f0,'fileName':_0x54bc6f,'elementType':_0x3f22a6,'elementSubType':_0x445585,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x23816e,_0x357ee9);const _0x157f73=await NTQQFileApi[_0x3f503d(0xb5)](_0x23816e);return{'md5':_0x9889f0,'fileName':_0x54bc6f,'path':_0x357ee9,'fileSize':_0x157f73,'ext':_0xf5f6ce};}static async[_0x270329(0xcb)](_0x30f671,_0x5802a,_0x38a7a1,_0x57e1a2,_0x17fc64,_0x200da1,_0x3f2657=0x3e8*0x3c*0x2,_0x366acd=![]){const _0x377bc8=_0x270329,_0x5e8f04={'kwoVR':function(_0x34b88f,_0x6bddad){return _0x34b88f===_0x6bddad;},'QuSDF':function(_0x46460c,_0x190b4b){return _0x46460c(_0x190b4b);},'OIlxe':function(_0x261327){return _0x261327();},'XddGW':function(_0x2b944d,_0x499943,_0x31a407){return _0x2b944d(_0x499943,_0x31a407);}};if(_0x200da1&&_0x368875[_0x377bc8(0x9d)](_0x200da1)){if(_0x366acd)try{await _0x10e3bf[_0x377bc8(0xb7)](_0x200da1);}catch(_0x5277c9){}else return _0x200da1;}return new Promise((_0x8b8af3,_0x2993c9)=>{const _0x3229d2=_0x377bc8;let _0x30e156=![];const _0x2355a1=_0x44e840=>{const _0x26138a=_0x5c82;if(_0x5e8f04[_0x26138a(0x9b)](_0x44e840['msgId'],_0x30f671)){_0x30e156=!![];let _0x156bb6=_0x44e840[_0x26138a(0xa8)];if(_0x156bb6['startsWith']('\x5c')){const _0x17f66c=sessionConfig['defaultFileDownloadPath'];_0x156bb6=_0x59cf34[_0x26138a(0xc3)](_0x17f66c,_0x156bb6);}_0x8b8af3(_0x156bb6);}};downloadMediaTasks['set'](_0x5e8f04[_0x3229d2(0xbb)](randomUUID),_0x2355a1),_0x5e8f04['XddGW'](setTimeout,()=>{const _0x7b049c=_0x3229d2;!_0x30e156&&_0x5e8f04[_0x7b049c(0xaf)](_0x2993c9,'下载超时');},_0x3f2657),napCatCore['session'][_0x3229d2(0xd1)]()[_0x3229d2(0x9e)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x30f671,'chatType':_0x5802a,'peerUid':_0x38a7a1,'elementId':_0x57e1a2,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x17fc64});});}static async[_0x270329(0xa7)](_0x10cff9){const _0xff7fec={'RZCEd':function(_0x20b7c0,_0x486743){return _0x20b7c0(_0x486743);},'nBFjo':function(_0x1d78ff,_0x3fcfd3,_0x52f8ff){return _0x1d78ff(_0x3fcfd3,_0x52f8ff);}};return new Promise((_0x238402,_0x326800)=>{const _0x5d4c8f=_0x5c82;_0xff7fec[_0x5d4c8f(0xc2)](_0x16ca6e,_0x10cff9,(_0x233053,_0x4fca76)=>{const _0xca9f24=_0x5d4c8f;_0x233053?_0x326800(_0x233053):_0xff7fec[_0xca9f24(0xcf)](_0x238402,_0x4fca76);});});}static async[_0x270329(0xbc)](_0x31b0d5,_0x2c2e71){const _0x5e5ca2=_0x270329,_0x1368cb={'LgcaG':function(_0x215fca,_0x255776){return _0x215fca+_0x255776;},'IJEQv':function(_0x308168,_0x56d6d1){return _0x308168+_0x56d6d1;},'HtCuM':function(_0xf30e4e,_0x18e370){return _0xf30e4e||_0x18e370;},'ZZyta':function(_0x212c87,_0x4626b2){return _0x212c87||_0x4626b2;},'QABWN':function(_0x189ebe,_0x84a0a4,_0x4f355a){return _0x189ebe(_0x84a0a4,_0x4f355a);},'vMvXg':'图片url获取失败'};if(!_0x31b0d5)return'';const _0x56908f=_0x31b0d5['originImageUrl'],_0x5e6f58=_0x31b0d5['md5HexStr'],_0x581090=_0x31b0d5[_0x5e5ca2(0xcc)],_0x2f4474=_0x31b0d5[_0x5e5ca2(0xd0)];if(_0x56908f){if(_0x56908f[_0x5e5ca2(0xca)](_0x5e5ca2(0xad))){if(_0x56908f[_0x5e5ca2(0xe4)](_0x5e5ca2(0xb3)))return _0x1368cb['LgcaG'](IMAGE_HTTP_HOST_NT,_0x56908f);const _0x335eec=await rkeyManager[_0x5e5ca2(0xdc)](),_0x2aef45=_0x2c2e71?_0x335eec[_0x5e5ca2(0xc6)]:_0x335eec[_0x5e5ca2(0xe2)];return _0x1368cb[_0x5e5ca2(0xa4)](IMAGE_HTTP_HOST_NT+_0x56908f,''+_0x2aef45);}else return _0x1368cb['IJEQv'](IMAGE_HTTP_HOST,_0x56908f);}else{if(_0x1368cb[_0x5e5ca2(0xd2)](_0x581090,_0x5e6f58))return IMAGE_HTTP_HOST+_0x5e5ca2(0xcd)+_0x1368cb[_0x5e5ca2(0xa6)](_0x581090,_0x5e6f58)['toUpperCase']()+'/0';}return _0x1368cb[_0x5e5ca2(0xc9)](logDebug,_0x1368cb['vMvXg'],_0x31b0d5),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x4520db=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x270329(0xac)](_0x582198=['tmp','hotUpdate']){const _0x23563a=_0x270329;return napCatCore[_0x23563a(0xb4)]['getStorageCleanService']()[_0x23563a(0xbe)](_0x582198);}static[_0x270329(0xab)](_0x27777c={}){const _0x1deca7=_0x270329;return napCatCore[_0x1deca7(0xb4)][_0x1deca7(0xa2)]()[_0x1deca7(0xa3)](_0x27777c);}static[_0x270329(0xd6)](){const _0x52224a=_0x270329;return napCatCore[_0x52224a(0xb4)]['getStorageCleanService']()['scanCache']();}static[_0x270329(0xc1)](){return'';}static[_0x270329(0xa5)](){return'';}static[_0x270329(0xe0)](_0x4825bd,_0x41b3f4=0x3e8,_0x19a607=0x0){const _0x49dd1b=_0x270329;return napCatCore['session'][_0x49dd1b(0xa2)]()['getChatCacheInfo'](_0x4825bd,_0x41b3f4,0x1,_0x19a607);}static[_0x270329(0xd9)](_0x7cae5b,_0x47e1e1=0x3e8,_0x395a76){const _0x5cbdfd=_0x395a76?_0x395a76:{'fileType':_0x7cae5b};}static async[_0x270329(0xb9)](_0x181196=[],_0x4727ae=[]){const _0x547a5b=_0x270329;return napCatCore[_0x547a5b(0xb4)]['getStorageCleanService']()[_0x547a5b(0xb8)](_0x181196,_0x4727ae);}} \ 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 9f6aacc4..c0d667c2 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -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 +const _0x36719d=_0xceac;function _0x1e99(){const _0x128b84=['session','CallNormalEvent','length','handleFriendRequest','JwFzs','1169172tcVqVW','approvalFriendRequest','oOevV','push','595987iDWyiZ','NodeIKernelBuddyService/getBuddyList','486405CuOzTE','18304ojIuOA','buddyList','getBuddyService','getFriends','15YivDVn','228601ZcvKXv','2lLlxXm','2252007MucDwy','NodeIKernelBuddyListener/onBuddyListChange','split','1612720bWXvyp'];_0x1e99=function(){return _0x128b84;};return _0x1e99();}function _0xceac(_0x111c24,_0x2b94aa){const _0x1e99ec=_0x1e99();return _0xceac=function(_0xceac5a,_0x4d5c63){_0xceac5a=_0xceac5a-0x108;let _0x4cf918=_0x1e99ec[_0xceac5a];return _0x4cf918;},_0xceac(_0x111c24,_0x2b94aa);}(function(_0x2f58f5,_0x1407e0){const _0x44985d=_0xceac,_0x2f493c=_0x2f58f5();while(!![]){try{const _0x1fc50a=parseInt(_0x44985d(0x112))/0x1*(-parseInt(_0x44985d(0x113))/0x2)+parseInt(_0x44985d(0x10c))/0x3+-parseInt(_0x44985d(0x10d))/0x4*(parseInt(_0x44985d(0x111))/0x5)+parseInt(_0x44985d(0x11d))/0x6+parseInt(_0x44985d(0x10a))/0x7+parseInt(_0x44985d(0x117))/0x8+-parseInt(_0x44985d(0x114))/0x9;if(_0x1fc50a===_0x1407e0)break;else _0x2f493c['push'](_0x2f493c['shift']());}catch(_0x3ca3d0){_0x2f493c['push'](_0x2f493c['shift']());}}}(_0x1e99,0x24e88));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['isBuddy'](_0x42d5d0){const _0x1ac27b=_0xceac;return napCatCore[_0x1ac27b(0x118)]['getBuddyService']()['isBuddy'](_0x42d5d0);}static async[_0x36719d(0x110)](_0x15cb38=![]){const _0x38aa81=_0x36719d,_0x4afc38={'JwFzs':_0x38aa81(0x10b),'QkwLV':_0x38aa81(0x115)};let [_0x5408de,_0x40f6ed]=await NTEventDispatch[_0x38aa81(0x119)](_0x4afc38[_0x38aa81(0x11c)],_0x4afc38['QkwLV'],0x1,0x1388,_0x15cb38);const _0x4ef928=[];for(const _0x350c79 of _0x40f6ed){for(const _0x1dc28f of _0x350c79[_0x38aa81(0x10e)]){_0x4ef928[_0x38aa81(0x109)](_0x1dc28f);}}return _0x4ef928;}static async[_0x36719d(0x11b)](_0x38fb1b,_0xcc712e){const _0x276ada=_0x36719d,_0xc34349={'oOevV':function(_0x495326,_0x5699c4){return _0x495326<_0x5699c4;}};let _0x1f9f7c=_0x38fb1b[_0x276ada(0x116)]('|');if(_0xc34349[_0x276ada(0x108)](_0x1f9f7c[_0x276ada(0x11a)],0x2))return;let _0x544ae4=_0x1f9f7c[0x0],_0x14fcd0=_0x1f9f7c[0x1];napCatCore['session'][_0x276ada(0x10f)]()?.[_0x276ada(0x11e)]({'friendUid':_0x544ae4,'reqTime':_0x14fcd0,'accept':_0xcc712e});}} \ 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 f3d010a1..0b1d0380 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -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 +const _0x3b9322=_0x54bd;(function(_0x2f7512,_0x4a5b6b){const _0x18845d=_0x54bd,_0x4e23fe=_0x2f7512();while(!![]){try{const _0x45f829=parseInt(_0x18845d(0x190))/0x1*(-parseInt(_0x18845d(0x164))/0x2)+-parseInt(_0x18845d(0x150))/0x3+parseInt(_0x18845d(0x16e))/0x4+parseInt(_0x18845d(0x15a))/0x5+parseInt(_0x18845d(0x16d))/0x6*(-parseInt(_0x18845d(0x17e))/0x7)+parseInt(_0x18845d(0x184))/0x8*(-parseInt(_0x18845d(0x16b))/0x9)+parseInt(_0x18845d(0x161))/0xa;if(_0x45f829===_0x4a5b6b)break;else _0x4e23fe['push'](_0x4e23fe['shift']());}catch(_0x485671){_0x4e23fe['push'](_0x4e23fe['shift']());}}}(_0x5f32,0x3d2a8));import{MemberExtSourceType}from'../entities';function _0x54bd(_0x15c4a8,_0x4adee3){const _0x5f3231=_0x5f32();return _0x54bd=function(_0x54bdaa,_0x1f38e6){_0x54bdaa=_0x54bdaa-0x14f;let _0xdc9673=_0x5f3231[_0x54bdaa];return _0xdc9673;},_0x54bd(_0x15c4a8,_0x4adee3);}function _0x5f32(){const _0x3b9ebd=['setGroupTitle','CallNormalEvent','137097QhcpTE','getArkJsonGroupShare','uploadGroupBulletinPic','setGroupShutUp','deleteGroupFile','NodeIKernelGroupListener/onGroupListUpdate','arkJson','infos','getRichMediaService','获取群成员列表出错,','1252970MfUfFw','domainPskeyMap','BSLfV','session','createMemberListScene','IxDAA','getSingleScreenNotifies','7642540cvPYtl','qun.qq.com','errMsg','25554XrPrcz','CallNoListenerEvent','evNIu','type','getGroupRemainAtTimes','modifyMemberRole','GetGroupFileCount','279EGVeMl','setMemberCard','9606nLnGXg','126412mhonbY','handleGroupRequest','NodeIKernelGroupService/getSingleScreenNotifies','banGroup','modifyMemberCardName','TITLETYPE','getGroupRecommendContactArkJson','group','kickMember','setMemberRole','deleteGroupFolder','get','publishGroupBulletin','createGroupFolder','DelGroupFileFolder','setGroupName','756gPwNPT','DelGroupFile','getGroupService','EdsRZ','banMember','getGroupMembers','50064hbdGjw','setMemberShutUp','quitGroup','groupCode','getMemberExtInfo','result','getGroups','rMtgH','getGroupNotifies','NodeIKernelGroupListener/onGroupSingleScreenNotifies','lhlth','getPSkey','30tfMFRL','vnHhA','CreatGroupFileFolder'];_0x5f32=function(){return _0x3b9ebd;};return _0x5f32();}import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x3b9322(0x18a)](_0x2a5888=![]){const _0x4d8f7b=_0x3b9322,_0x4d2e94={'IxDAA':_0x4d8f7b(0x155)};let [_0x3bec65,_0x2a6009,_0x318720]=await NTEventDispatch[_0x4d8f7b(0x14f)]('NodeIKernelGroupService/getGroupList',_0x4d2e94[_0x4d8f7b(0x15f)],0x1,0x1388,_0x2a5888);return _0x318720;}static async[_0x3b9322(0x174)](_0x323488){const _0x3130a5=_0x3b9322;return napCatCore[_0x3130a5(0x15d)][_0x3130a5(0x180)]()[_0x3130a5(0x174)](_0x323488);}static async[_0x3b9322(0x192)](_0x4ffd50,_0x368ff4){const _0x92c30c=_0x3b9322;return napCatCore[_0x92c30c(0x15d)][_0x92c30c(0x158)]()[_0x92c30c(0x17b)](_0x4ffd50,_0x368ff4);}static async[_0x3b9322(0x17f)](_0x515349,_0x2c380c){const _0x41dcb5=_0x3b9322;return napCatCore['session'][_0x41dcb5(0x158)]()[_0x41dcb5(0x154)](_0x515349,[0x66],_0x2c380c);}static async[_0x3b9322(0x17c)](_0x4f1e9a,_0x1b893f){const _0x2ebb8c=_0x3b9322;return napCatCore[_0x2ebb8c(0x15d)][_0x2ebb8c(0x158)]()[_0x2ebb8c(0x178)](_0x4f1e9a,_0x1b893f);}static async[_0x3b9322(0x160)](_0x358c34){const _0x6cff67=_0x3b9322,_0x3fa301={'vnHhA':_0x6cff67(0x170)};let [_0x4271d7,_0x3b0055,_0x10be8a,_0x28520d]=await NTEventDispatch[_0x6cff67(0x14f)](_0x3fa301[_0x6cff67(0x191)],_0x6cff67(0x18d),0x1,0x1388,![],'',_0x358c34);return _0x28520d;}static async[_0x3b9322(0x183)](_0x176631,_0x134081=0xbb8){const _0x52c4b2=_0x3b9322,_0x15ebaa={'evNIu':function(_0x481a60,_0x46899f){return _0x481a60+_0x46899f;}},_0xe1ff7b=napCatCore['session'][_0x52c4b2(0x180)](),_0x31df84=_0xe1ff7b[_0x52c4b2(0x15e)](_0x176631,'groupMemberList_MainWindow'),_0x118fcc=await _0xe1ff7b['getNextMemberList'](_0x31df84,undefined,_0x134081);if(_0x118fcc['errCode']!==0x0)throw _0x15ebaa[_0x52c4b2(0x166)](_0x52c4b2(0x159),_0x118fcc[_0x52c4b2(0x163)]);return _0x118fcc[_0x52c4b2(0x189)][_0x52c4b2(0x157)];}static async[_0x3b9322(0x18c)](){}static async[_0x3b9322(0x16a)](_0x582a8b){const _0x5464fb=_0x3b9322;return napCatCore[_0x5464fb(0x15d)][_0x5464fb(0x158)]()['batchGetGroupFileCount'](_0x582a8b);}static async['getGroupIgnoreNotifies'](){}static async[_0x3b9322(0x151)](_0x437b0d){const _0x455ff1=_0x3b9322,_0x532d0b={'rMtgH':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x5d64d3=await NTEventDispatch[_0x455ff1(0x165)](_0x532d0b[_0x455ff1(0x18b)],0x1388,_0x437b0d);return _0x5d64d3[_0x455ff1(0x156)];}static async[_0x3b9322(0x152)](_0x5bdfa5,_0x3fe934){const _0xc9adae=_0x3b9322,_0x13ada2={'EdsRZ':'qun.qq.com'},_0x48c03c=(await NTQQUserApi['getPSkey']([_0x13ada2[_0xc9adae(0x181)]]))[_0xc9adae(0x15b)][_0xc9adae(0x179)](_0x13ada2['EdsRZ']);return napCatCore[_0xc9adae(0x15d)]['getGroupService']()[_0xc9adae(0x152)](_0x5bdfa5,_0x48c03c,_0x3fe934);}static async[_0x3b9322(0x16f)](_0x2bdbee,_0x459d48,_0x213dd9){const _0x21f646=_0x3b9322,_0x123f6d={'qViIH':function(_0x34ce73,_0x1c4f0b){return _0x34ce73||_0x1c4f0b;}};return napCatCore[_0x21f646(0x15d)][_0x21f646(0x180)]()['operateSysNotify'](![],{'operateType':_0x459d48,'targetMsg':{'seq':_0x2bdbee['seq'],'type':_0x2bdbee[_0x21f646(0x167)],'groupCode':_0x2bdbee[_0x21f646(0x175)][_0x21f646(0x187)],'postscript':_0x123f6d['qViIH'](_0x213dd9,'')}});}static async[_0x3b9322(0x186)](_0x5ec9ba){const _0x5e04c4=_0x3b9322;return napCatCore[_0x5e04c4(0x15d)][_0x5e04c4(0x180)]()[_0x5e04c4(0x186)](_0x5ec9ba);}static async['kickMember'](_0x15f5bb,_0x2d359c,_0x213d2a=![],_0x471e6b=''){const _0x16832c=_0x3b9322;return napCatCore['session']['getGroupService']()[_0x16832c(0x176)](_0x15f5bb,_0x2d359c,_0x213d2a,_0x471e6b);}static async[_0x3b9322(0x182)](_0x405eb0,_0x36450a){const _0x36281c=_0x3b9322;return napCatCore['session'][_0x36281c(0x180)]()[_0x36281c(0x185)](_0x405eb0,_0x36450a);}static async[_0x3b9322(0x171)](_0x3999ee,_0xab989b){const _0x1737d6=_0x3b9322;return napCatCore[_0x1737d6(0x15d)]['getGroupService']()[_0x1737d6(0x153)](_0x3999ee,_0xab989b);}static async[_0x3b9322(0x16c)](_0x46a899,_0x26ebc8,_0x4907c4){const _0x2a4670=_0x3b9322;return napCatCore['session'][_0x2a4670(0x180)]()[_0x2a4670(0x172)](_0x46a899,_0x26ebc8,_0x4907c4);}static async[_0x3b9322(0x177)](_0x95c83d,_0x4b63b1,_0x92c52f){const _0x230959=_0x3b9322;return napCatCore[_0x230959(0x15d)]['getGroupService']()[_0x230959(0x169)](_0x95c83d,_0x4b63b1,_0x92c52f);}static async[_0x3b9322(0x17d)](_0x469f19,_0x4dba3e){const _0x5ac14b=_0x3b9322;return napCatCore['session'][_0x5ac14b(0x180)]()['modifyGroupName'](_0x469f19,_0x4dba3e,![]);}static async[_0x3b9322(0x193)](_0x48f043,_0x308722,_0x463ec9){}static async[_0x3b9322(0x17a)](_0x1307f8,_0x596b1c,_0x184c2f=undefined,_0x5e3c37=0x0,_0x3dbfe4=0x0){const _0x32e61d=_0x3b9322,_0x3c4179={'BSLfV':_0x32e61d(0x162),'lhlth':function(_0x187197,_0x351447){return _0x187197(_0x351447);}},_0x20263d=(await NTQQUserApi[_0x32e61d(0x18f)]([_0x3c4179[_0x32e61d(0x15c)]]))[_0x32e61d(0x15b)][_0x32e61d(0x179)](_0x3c4179[_0x32e61d(0x15c)]);let _0x3a63f2={'text':_0x3c4179[_0x32e61d(0x18e)](encodeURI,_0x596b1c),'picInfo':_0x184c2f,'oldFeedsId':'','pinned':_0x5e3c37,'confirmRequired':_0x3dbfe4};return napCatCore[_0x32e61d(0x15d)][_0x32e61d(0x180)]()['publishGroupBulletin'](_0x1307f8,_0x20263d,_0x3a63f2);}static async['getGroupRemainAtTimes'](_0x4fc94f){const _0x3b0f54=_0x3b9322;napCatCore[_0x3b0f54(0x15d)]['getGroupService']()[_0x3b0f54(0x168)](_0x4fc94f);}static async[_0x3b9322(0x188)](_0x57fd48,_0x13de5d){const _0x18ebb2=_0x3b9322;return napCatCore[_0x18ebb2(0x15d)]['getGroupService']()[_0x18ebb2(0x188)]({'groupCode':_0x57fd48,'sourceType':MemberExtSourceType[_0x18ebb2(0x173)],'beginUin':'0','dataTime':'0','uinList':[_0x13de5d],'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 de5aba31..7fd17631 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(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 +function _0x18bd(){var _0x27c1d6=['1182336OYFasu','66BtMHjf','210kLCIGb','288fNsLTX','518LqVVUq','294488LwPFEQ','9084310atZWOS','9750432cNLMbR','13790AiduuP','2469pZTqvN','5324598tfJKlr'];_0x18bd=function(){return _0x27c1d6;};return _0x18bd();}(function(_0x567f8f,_0x5d56da){var _0x53b684=_0x33bc,_0x5275d4=_0x567f8f();while(!![]){try{var _0x59d3c3=-parseInt(_0x53b684(0x11c))/0x1+parseInt(_0x53b684(0x120))/0x2*(-parseInt(_0x53b684(0x125))/0x3)+-parseInt(_0x53b684(0x11f))/0x4*(-parseInt(_0x53b684(0x124))/0x5)+-parseInt(_0x53b684(0x123))/0x6+parseInt(_0x53b684(0x11e))/0x7*(-parseInt(_0x53b684(0x121))/0x8)+-parseInt(_0x53b684(0x126))/0x9+parseInt(_0x53b684(0x122))/0xa*(parseInt(_0x53b684(0x11d))/0xb);if(_0x59d3c3===_0x5d56da)break;else _0x5275d4['push'](_0x5275d4['shift']());}catch(_0x281c18){_0x5275d4['push'](_0x5275d4['shift']());}}}(_0x18bd,0xe3b25));export*from'./file';function _0x33bc(_0x5d3e60,_0x4ba969){var _0x18bd3b=_0x18bd();return _0x33bc=function(_0x33bc1c,_0x369ab5){_0x33bc1c=_0x33bc1c-0x11c;var _0x5e7d27=_0x18bd3b[_0x33bc1c];return _0x5e7d27;},_0x33bc(_0x5d3e60,_0x4ba969);}export*from'./friend';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 d08e7985..74af975f 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -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 +const _0x1f542f=_0x35ce;(function(_0x3af49d,_0x56be6f){const _0x147e31=_0x35ce,_0x4af170=_0x3af49d();while(!![]){try{const _0xea2c3=parseInt(_0x147e31(0x156))/0x1*(parseInt(_0x147e31(0x15f))/0x2)+parseInt(_0x147e31(0x176))/0x3+parseInt(_0x147e31(0x16e))/0x4+-parseInt(_0x147e31(0x15d))/0x5*(parseInt(_0x147e31(0x159))/0x6)+parseInt(_0x147e31(0x195))/0x7*(parseInt(_0x147e31(0x172))/0x8)+parseInt(_0x147e31(0x192))/0x9+-parseInt(_0x147e31(0x185))/0xa*(parseInt(_0x147e31(0x168))/0xb);if(_0xea2c3===_0x56be6f)break;else _0x4af170['push'](_0x4af170['shift']());}catch(_0x1d98dc){_0x4af170['push'](_0x4af170['shift']());}}}(_0x2a66,0xbebe4));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 _0x2a66(){const _0x4e3dd0=['hiaoF','MMEkr','set','4WkSxof','KxLUO','sendStatus','2258964DihlGJ','activateChatAndGetHistory','onLoginSuccess','获取群文件列表超时','15kXXOqN','fCuYc','490904EybaFP','setEmojiLike','bytesData','转发消息超时','getMsgService','qusqe','pzpgF','chatType','ccgkL','88NKaAXM','OIEwt','forEach','parse','activateChat','addListener','1683060UUxhJs','msgId','EAvEL','peerUid','11821864wIbRrH','fetchRecentContact','getGroupFileList','SNcof','1335681obElwV','getMsgHistory','length','com.tencent.multimsg','senderUid','getMsgsIncludeSelf','zLxMa','setMsgEmojiLikes','recallMsg','elements','multiForwardMsgWithComment','SdauR','getMsgsByMsgId','NUBQm','uid','3294360xJzNiN','发送超时','delete','onMsgInfoListUpdate','MVWit','OjTMr','OVJEl','sendMsg','onAddSendMsg','XRpus','forwardMsg','arkElement','CVxFq','10986489ebKxWn','catch','KSvfq','7pWebiO','multiForwardMsg','getMultiMsg','then','session','setMsgRead','getMsgsBySeqAndCount','tjaqg','onGroupFileInfoUpdate','GzaKA'];_0x2a66=function(){return _0x4e3dd0;};return _0x2a66();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x1f542f(0x19d)]=_0x21ad07=>{const _0x5a96e3=_0x1f542f,_0x515b31={'hiaoF':function(_0x4af05a,_0x1771ad){return _0x4af05a(_0x1771ad);}};for(const [_0x33b730,_0x3e320d]of GroupFileInfoUpdateTasks){_0x515b31[_0x5a96e3(0x153)](_0x3e320d,_0x21ad07),GroupFileInfoUpdateTasks[_0x5a96e3(0x187)](_0x33b730);}},msgListener[_0x1f542f(0x18d)]=_0x3e4ad0=>{const _0x19a275=_0x1f542f,_0x36098e={'ccgkL':function(_0x38b823,_0x1ac810){return _0x38b823(_0x1ac810);},'biiOX':function(_0x4cb047,_0xcf2e94){return _0x4cb047 instanceof _0xcf2e94;}};for(const [_0x11de36,_0x3cc027]of sentMsgTasks){_0x36098e[_0x19a275(0x167)](_0x3cc027,_0x3e4ad0),sentMsgTasks[_0x19a275(0x187)](_0x11de36);}if(sendMessagePool[_0x3e4ad0[_0x19a275(0x171)]]){const _0x3b968f=sendMessagePool[_0x3e4ad0[_0x19a275(0x171)]]?.(_0x3e4ad0);_0x36098e['biiOX'](_0x3b968f,Promise)&&_0x3b968f[_0x19a275(0x198)]()[_0x19a275(0x193)](logError);}},msgListener[_0x1f542f(0x188)]=_0x3cad63=>{const _0x15cfa4=_0x1f542f,_0x41bc34={'zLxMa':function(_0x6e7692,_0x51d256){return _0x6e7692 instanceof _0x51d256;},'CVxFq':function(_0x59ee48,_0xa36c0c){return _0x59ee48(_0xa36c0c);}};_0x3cad63[_0x15cfa4(0x16a)](_0x4b6a6a=>{const _0x294f2e=_0x15cfa4,_0x334846={'SdauR':function(_0x611687,_0x34fc22){const _0x4e71a1=_0x35ce;return _0x41bc34[_0x4e71a1(0x17c)](_0x611687,_0x34fc22);},'KSvfq':function(_0x1b2c50,_0x21bd4e){const _0x43e872=_0x35ce;return _0x41bc34[_0x43e872(0x191)](_0x1b2c50,_0x21bd4e);}};new Promise((_0x487c79,_0x2cd8a5)=>{const _0x1b6e5e=_0x35ce;for(const _0x26b42f in sendSuccessCBMap){const _0x409352=sendSuccessCBMap[_0x26b42f],_0x2164cf=_0x409352(_0x4b6a6a),_0x20c9f6=_0x4c3215=>{_0x4c3215&&delete sendSuccessCBMap[_0x26b42f];};_0x334846[_0x1b6e5e(0x181)](_0x2164cf,Promise)?_0x2164cf['then'](_0x20c9f6):_0x334846[_0x1b6e5e(0x194)](_0x20c9f6,_0x2164cf);}})[_0x294f2e(0x198)]()[_0x294f2e(0x193)](log);});},setTimeout(()=>{const _0xe31c6b=_0x1f542f;napCatCore[_0xe31c6b(0x15b)](()=>{const _0x15baf3=_0xe31c6b;napCatCore[_0x15baf3(0x16d)](msgListener);});},0x64);function _0x35ce(_0x24bc0a,_0xe74c4d){const _0x2a667d=_0x2a66();return _0x35ce=function(_0x35ce4e,_0x59d35a){_0x35ce4e=_0x35ce4e-0x153;let _0x1d0a14=_0x2a667d[_0x35ce4e];return _0x1d0a14;},_0x35ce(_0x24bc0a,_0xe74c4d);}export class NTQQMsgApi{static async[_0x1f542f(0x160)](_0x249a4a,_0x4771b6,_0x35b554,_0x38eaa5=!![]){const _0x599c01=_0x1f542f,_0x214521={'tjaqg':function(_0x1260e2,_0x59becd){return _0x1260e2>_0x59becd;}};return _0x35b554=_0x35b554['toString'](),napCatCore[_0x599c01(0x199)][_0x599c01(0x163)]()[_0x599c01(0x17d)](_0x249a4a,_0x4771b6,_0x35b554,_0x214521[_0x599c01(0x19c)](_0x35b554[_0x599c01(0x178)],0x3)?'2':'1',_0x38eaa5);}static async[_0x1f542f(0x197)](_0x416e39,_0x5ad22f,_0x5c9cc5){const _0x5143cf=_0x1f542f;return napCatCore[_0x5143cf(0x199)][_0x5143cf(0x163)]()['getMultiMsg'](_0x416e39,_0x5ad22f,_0x5c9cc5);}static async[_0x1f542f(0x182)](_0x4142de,_0xd872ca){const _0x7beb1=_0x1f542f;return await napCatCore[_0x7beb1(0x199)][_0x7beb1(0x163)]()[_0x7beb1(0x182)](_0x4142de,_0xd872ca);}static async['getMsgsBySeqAndCount'](_0x129467,_0x34fb14,_0x5bd50f,_0x1dff61,_0x425d3c){const _0x1fc2e8=_0x1f542f;return await napCatCore[_0x1fc2e8(0x199)]['getMsgService']()[_0x1fc2e8(0x19b)](_0x129467,_0x34fb14,_0x5bd50f,_0x1dff61,_0x425d3c);}static async[_0x1f542f(0x16c)](_0x538e73){}static async[_0x1f542f(0x15a)](_0x1e67e5){}static async[_0x1f542f(0x19a)](_0x1d5e4e){const _0x248522=_0x1f542f;return napCatCore[_0x248522(0x199)][_0x248522(0x163)]()[_0x248522(0x19a)](_0x1d5e4e);}static async[_0x1f542f(0x174)](_0x5d1338,_0x2b4849){const _0x510eb5={'XRpus':function(_0x28750e,_0xc93f41){return _0x28750e(_0xc93f41);}};return new Promise(async(_0x1d1ebf,_0x35ff1d)=>{const _0x48625b=_0x35ce,_0x8d9e28={'OIEwt':function(_0x55d1dc,_0x597e6f){const _0xcf62a7=_0x35ce;return _0x510eb5[_0xcf62a7(0x18e)](_0x55d1dc,_0x597e6f);}};let _0x223b7b=![];setTimeout(()=>{const _0x40e442=_0x35ce;!_0x223b7b&&_0x8d9e28[_0x40e442(0x169)](_0x35ff1d,_0x40e442(0x15c));},0x1388);const _0x572340=_0x32bab9=>{const _0x44d416=_0x35ce;_0x223b7b=!![],_0x8d9e28[_0x44d416(0x169)](_0x1d1ebf,_0x32bab9['item']);};GroupFileInfoUpdateTasks[_0x48625b(0x155)](randomUUID(),_0x572340),await napCatCore[_0x48625b(0x199)]['getRichMediaService']()['getGroupFileList'](_0x5d1338,_0x2b4849);});}static async[_0x1f542f(0x177)](_0x24428d,_0x5cd869,_0x29cc4b){const _0x1c306e=_0x1f542f;return napCatCore['session'][_0x1c306e(0x163)]()[_0x1c306e(0x17b)](_0x24428d,_0x5cd869,_0x29cc4b,!![]);}static async[_0x1f542f(0x173)](){}static async['recallMsg'](_0x795f7b,_0x40b1ed){const _0x44083c=_0x1f542f;await napCatCore[_0x44083c(0x199)][_0x44083c(0x163)]()[_0x44083c(0x17e)]({'chatType':_0x795f7b[_0x44083c(0x166)],'peerUid':_0x795f7b[_0x44083c(0x171)]},_0x40b1ed);}static async[_0x1f542f(0x18c)](_0x56a1ff,_0x455043,_0x2b3eff=!![],_0x407862=0x2710){const _0x1b93ee=_0x1f542f,_0x329ee4={'OVJEl':function(_0x4f3576,_0x55488d){return _0x4f3576>_0x55488d;},'qusqe':function(_0x13ae4b){return _0x13ae4b();},'NUBQm':function(_0x105960,_0x24245e){return _0x105960===_0x24245e;},'fCuYc':function(_0x3b2901,_0x18902a){return _0x3b2901(_0x18902a);},'sORVx':'发送超时','lmNxu':function(_0x141138){return _0x141138();}},_0x4ab2e3=_0x56a1ff[_0x1b93ee(0x171)];let _0xc026ed=0x0;const _0x107f12=async()=>{const _0x277b0a=_0x1b93ee;if(_0x329ee4[_0x277b0a(0x18b)](_0xc026ed,_0x407862))throw _0x277b0a(0x186);const _0x3acb34=sendMessagePool[_0x56a1ff[_0x277b0a(0x171)]];if(_0x3acb34)return await sleep(0x1f4),_0xc026ed+=0x1f4,await _0x329ee4[_0x277b0a(0x164)](_0x107f12);else return;};return await _0x329ee4[_0x1b93ee(0x164)](_0x107f12),new Promise((_0x104157,_0x20b891)=>{const _0x366ce0=_0x1b93ee,_0x446db6={'OjTMr':function(_0x43f46a,_0x50c2fc){const _0x3e33d3=_0x35ce;return _0x329ee4[_0x3e33d3(0x183)](_0x43f46a,_0x50c2fc);},'pzpgF':function(_0x42be6a,_0x20f4c4){const _0x4c0a42=_0x35ce;return _0x329ee4[_0x4c0a42(0x15e)](_0x42be6a,_0x20f4c4);},'MVWit':_0x329ee4['sORVx']};let _0xd6162a=![],_0x50e994=null;const _0x4df919=_0x329ee4['lmNxu'](randomUUID);sendSuccessCBMap[_0x4df919]=_0xf8b157=>{const _0x148cfe=_0x35ce;if(_0x446db6['OjTMr'](_0xf8b157[_0x148cfe(0x16f)],_0x50e994?.[_0x148cfe(0x16f)])){if(_0x446db6[_0x148cfe(0x18a)](_0xf8b157[_0x148cfe(0x158)],0x2))return delete sendSuccessCBMap[_0x4df919],_0xd6162a=!![],_0x104157(_0xf8b157),!![];return![];}return![];},sendMessagePool[_0x4ab2e3]=async _0xa462a1=>{delete sendMessagePool[_0x4ab2e3],_0x50e994=_0xa462a1;},setTimeout(()=>{const _0x420212=_0x35ce;if(_0xd6162a)return;delete sendMessagePool[_0x4ab2e3],delete sendSuccessCBMap[_0x4df919],_0x446db6[_0x420212(0x165)](_0x20b891,_0x446db6[_0x420212(0x189)]);},_0x407862);const _0x4e833d=napCatCore[_0x366ce0(0x199)][_0x366ce0(0x163)]()['sendMsg']('0',_0x56a1ff,_0x455043,new Map());});}static async[_0x1f542f(0x18f)](_0x20089b,_0x53ac97,_0x54de70){const _0x1b9cbd=_0x1f542f;return napCatCore[_0x1b9cbd(0x199)][_0x1b9cbd(0x163)]()[_0x1b9cbd(0x18f)](_0x54de70,_0x20089b,[_0x53ac97],new Map());}static async[_0x1f542f(0x196)](_0x1c7d10,_0x2cf179,_0x6e918a){const _0x39d00b=_0x1f542f,_0x3ae782={'MMEkr':function(_0x1f18e7,_0x5ea056){return _0x1f18e7!=_0x5ea056;},'SNcof':_0x39d00b(0x179),'EAvEL':function(_0x23acaa,_0x203daf){return _0x23acaa==_0x203daf;},'NrnWA':function(_0x4ba0da,_0x3203fe){return _0x4ba0da(_0x3203fe);},'KxLUO':_0x39d00b(0x162),'GzaKA':function(_0xfbf2f8,_0x64d1e7,_0x38c68f){return _0xfbf2f8(_0x64d1e7,_0x38c68f);}},_0x4ab629=_0x6e918a['map'](_0x1d49a9=>{return{'msgId':_0x1d49a9,'senderShowName':selfInfo['nick']};});return new Promise((_0x5a1d40,_0x145cd5)=>{const _0x2dbec4=_0x39d00b;let _0x24c419=![];const _0x225292=_0x3cc24f=>{const _0x390eae=_0x35ce,_0x3e7c42=_0x3cc24f[_0x390eae(0x17f)]['find'](_0x4d0252=>_0x4d0252[_0x390eae(0x190)]);if(!_0x3e7c42)return;const _0x37d50c=JSON[_0x390eae(0x16b)](_0x3e7c42[_0x390eae(0x190)][_0x390eae(0x161)]);if(_0x3ae782[_0x390eae(0x154)](_0x37d50c['app'],_0x3ae782[_0x390eae(0x175)]))return;_0x3ae782[_0x390eae(0x170)](_0x3cc24f['peerUid'],_0x2cf179[_0x390eae(0x171)])&&_0x3cc24f[_0x390eae(0x17a)]==selfInfo[_0x390eae(0x184)]&&(_0x24c419=!![],_0x5a1d40(_0x3cc24f));};sentMsgTasks[_0x2dbec4(0x155)](randomUUID(),_0x225292),_0x3ae782[_0x2dbec4(0x19e)](setTimeout,()=>{const _0x515d5c=_0x2dbec4;!_0x24c419&&_0x3ae782['NrnWA'](_0x145cd5,_0x3ae782[_0x515d5c(0x157)]);},0x1388),napCatCore[_0x2dbec4(0x199)][_0x2dbec4(0x163)]()[_0x2dbec4(0x180)](_0x4ab629,_0x1c7d10,_0x2cf179,[],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 cbaa4350..ac0eab91 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(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 +(function(_0x8ff877,_0x442b37){const _0x2348ba=_0x2e36,_0x4dac00=_0x8ff877();while(!![]){try{const _0x1c8d0a=parseInt(_0x2348ba(0x135))/0x1*(parseInt(_0x2348ba(0x13d))/0x2)+parseInt(_0x2348ba(0x108))/0x3*(-parseInt(_0x2348ba(0x124))/0x4)+parseInt(_0x2348ba(0x11a))/0x5+-parseInt(_0x2348ba(0x11b))/0x6*(-parseInt(_0x2348ba(0x123))/0x7)+-parseInt(_0x2348ba(0x12e))/0x8*(parseInt(_0x2348ba(0x131))/0x9)+parseInt(_0x2348ba(0x13a))/0xa*(-parseInt(_0x2348ba(0x116))/0xb)+-parseInt(_0x2348ba(0x12d))/0xc;if(_0x1c8d0a===_0x442b37)break;else _0x4dac00['push'](_0x4dac00['shift']());}catch(_0x2d7b25){_0x4dac00['push'](_0x4dac00['shift']());}}}(_0x4bdc,0x877a7));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x2e36(_0x1f6f3c,_0x3f7986){const _0x4bdc07=_0x4bdc();return _0x2e36=function(_0x2e36b9,_0xf85f82){_0x2e36b9=_0x2e36b9-0x106;let _0x3e53a8=_0x4bdc07[_0x2e36b9];return _0x3e53a8;},_0x2e36(_0x1f6f3c,_0x3f7986);}import{WebApi}from'./webapi';export async function SignMiniApp(_0x449812){const _0x10d3c0=_0x2e36,_0xdd08f6={'iXiVh':_0x10d3c0(0x140),'DWdEX':_0x10d3c0(0x14d),'UFHcP':_0x10d3c0(0x110),'jkyVn':'\x5c/\x5c/','LnFQN':function(_0x445c3d,_0x3dafd5){return _0x445c3d+_0x3dafd5;},'IKSZF':function(_0x18f2d3,_0x3c2b0d){return _0x18f2d3+_0x3c2b0d;},'nhhQe':function(_0xe6ea7,_0xc34682){return _0xe6ea7+_0xc34682;},'jzpeJ':function(_0x205fc9,_0x4f6d8a){return _0x205fc9+_0x4f6d8a;},'OuoNV':function(_0x408434,_0x410547){return _0x408434+_0x410547;},'MYpIy':'p_skey=','WRbei':function(_0x43e96b,_0x2077f6){return _0x43e96b+_0x2077f6;},'XPqIT':_0x10d3c0(0x11e),'WGyuC':'&ark=','AEdOC':_0x10d3c0(0x107),'IRLWG':function(_0x32055d,_0x2d433c,_0x3422d6){return _0x32055d(_0x2d433c,_0x3422d6);},'DTnZV':_0x10d3c0(0x136)};let _0x38e67b={'app':_0xdd08f6['iXiVh'],'bizsrc':_0xdd08f6[_0x10d3c0(0x133)],'view':'miniapp','prompt':_0x449812[_0x10d3c0(0x130)],'config':{'type':_0xdd08f6[_0x10d3c0(0x14f)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x449812[_0x10d3c0(0x142)],'preview':_0x449812[_0x10d3c0(0x14e)][_0x10d3c0(0x115)](/\\/g,_0x10d3c0(0x12a)),'jumpUrl':_0x449812['jumpUrl'][_0x10d3c0(0x115)](/\\/g,_0xdd08f6['jkyVn']),'tag':_0x449812[_0x10d3c0(0x12b)],'tagIcon':_0x449812[_0x10d3c0(0x119)][_0x10d3c0(0x115)](/\\/g,_0x10d3c0(0x12a)),'source':_0x449812[_0x10d3c0(0x120)],'sourcelogo':_0x449812[_0x10d3c0(0x134)][_0x10d3c0(0x115)](/\\/g,_0xdd08f6[_0x10d3c0(0x146)])}}},_0x1e9318=await NTQQUserApi['getQzoneCookies']();const _0x1960b2=WebApi[_0x10d3c0(0x109)](_0x1e9318[_0x10d3c0(0x121)]),_0x3af9ae=_0xdd08f6[_0x10d3c0(0x14a)](_0xdd08f6[_0x10d3c0(0x144)](_0xdd08f6[_0x10d3c0(0x147)](_0xdd08f6[_0x10d3c0(0x14a)](_0xdd08f6[_0x10d3c0(0x147)](_0xdd08f6[_0x10d3c0(0x128)](_0xdd08f6[_0x10d3c0(0x11c)](_0xdd08f6[_0x10d3c0(0x10a)],_0x1e9318[_0x10d3c0(0x121)]),';\x20skey='),_0x1e9318[_0x10d3c0(0x118)]),_0x10d3c0(0x132)),selfInfo['uin']),_0x10d3c0(0x13e)),selfInfo[_0x10d3c0(0x13b)]);let _0x1f012c=_0xdd08f6['WRbei'](_0xdd08f6['jzpeJ'](_0xdd08f6['XPqIT'],_0x1960b2)+_0xdd08f6[_0x10d3c0(0x138)],encodeURIComponent(JSON[_0x10d3c0(0x155)](_0x38e67b))),_0x2c06fc='';try{let _0x292fb2=await RequestUtil[_0x10d3c0(0x157)](_0x1f012c,_0xdd08f6[_0x10d3c0(0x158)],undefined,{'Cookie':_0x3af9ae});_0x2c06fc=_0x292fb2[_0x10d3c0(0x145)][_0x10d3c0(0x14b)];}catch(_0x44bf9c){_0xdd08f6[_0x10d3c0(0x143)](logDebug,_0xdd08f6[_0x10d3c0(0x139)],_0x44bf9c);}return _0x2c06fc;}export async function SignMusicInternal(_0x477bd4,_0x540174,_0xf92936,_0x475caf,_0x19013f){const _0x58775a=_0x2e36,_0x1bbb0a={'lrbRV':_0x58775a(0x141),'kBYjz':function(_0x18005a,_0x1f75ac){return _0x18005a+_0x1f75ac;},'jRwyw':_0x58775a(0x125),'iDOOy':_0x58775a(0x150),'BjFaQ':_0x58775a(0x13c),'FHzLx':_0x58775a(0x10e),'ephYC':_0x58775a(0x122),'MLeoC':_0x58775a(0x12c)};let _0xaa0177=_0x58775a(0x152),_0x2b80b5={'app':_0x1bbb0a[_0x58775a(0x12f)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x58775a(0x111),'type':_0x58775a(0x110)},'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':_0x540174,'jumpUrl':_0x1bbb0a['kBYjz'](_0x1bbb0a[_0x58775a(0x129)]+_0x475caf,_0x1bbb0a['iDOOy']),'musicUrl':_0x19013f,'preview':_0xf92936,'cover':_0xf92936,'sourceMsgId':'0','source_icon':'https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','source_url':'','tag':_0x1bbb0a[_0x58775a(0x126)],'title':_0x477bd4,'uin':0x2766}},'prompt':_0x1bbb0a[_0x58775a(0x113)](_0x58775a(0x127),_0x477bd4),'ver':_0x1bbb0a['FHzLx'],'view':_0x1bbb0a[_0x58775a(0x10d)]},_0x5694b3=await RequestUtil[_0x58775a(0x157)](_0xaa0177,_0x58775a(0x137),_0x2b80b5,{'Cookie':'uin=o10086','Content-Type':_0x1bbb0a['MLeoC']});return _0x5694b3;}function _0x4bdc(){const _0xef5218=['0.0.0.1','&type=8','normal','9a63343c32d5a16bcde653eb97faa25d','track_info','kBYjz','CIUtk','replace','16654OTQVUV','https://ws.stream.qqmusic.qq.com/','skey','tagIcon','3778035gAYbAV','6fCaYfw','OuoNV','VAFqz','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','vAagX','source','p_skey','music','5046202yRhppv','496YqVSZQ','https://i.y.qq.com/v8/playsong.html?songmid=','BjFaQ','[分享]','jzpeJ','jRwyw','\x5c/\x5c/','tag','application/json','7191756SFlCjP','4952gyMugq','lrbRV','prompt','9HdrtXO',';\x20p_uin=o','DWdEX','sourcelogo','6WzCikk','MiniApp\x20JSON\x20消息生成失败','POST','WGyuC','DTnZV','2830xRSEUw','uin','QQ音乐','288236qLGTGz',';\x20uin=o','singer','com.tencent.miniapp.lua','com.tencent.qqreader.share','title','IRLWG','IKSZF','data','jkyVn','nhhQe','fVuvY','aDRvN','LnFQN','signed_ark','TkhqR','tianxuan.imgJumpArk','preview','UFHcP','&type=0','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:','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','name','gDHqt','stringify','cover','HttpGetJson','AEdOC','NzvRj','GET','18336mqMwRL','genBkn','MYpIy','songinfo','https://api.leafone.cn/api/qqmusic?id=','ephYC'];_0x4bdc=function(){return _0xef5218;};return _0x4bdc();}export async function CreateMusicThridWay0(_0x2873ad='',_0x55590c=''){const _0x53505e=_0x2e36,_0x1da10b={'gDHqt':function(_0x1d090a,_0x5aa156){return _0x1d090a==_0x5aa156;},'VAFqz':_0x53505e(0x151),'TkhqR':'},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','fVuvY':function(_0x190263,_0x323e40){return _0x190263+_0x323e40;},'vAagX':_0x53505e(0x10c),'aDRvN':_0x53505e(0x10f)};if(_0x1da10b[_0x53505e(0x154)](_0x55590c,'')){let _0x42c533=await RequestUtil['HttpGetJson'](_0x1da10b[_0x53505e(0x11d)]+_0x2873ad+_0x1da10b[_0x53505e(0x14c)],_0x53505e(0x107),undefined);_0x55590c=_0x42c533[_0x53505e(0x10b)]?.[_0x53505e(0x145)]?.[_0x53505e(0x112)]['mid'];}let _0x4157e6=await RequestUtil[_0x53505e(0x157)](_0x1da10b[_0x53505e(0x148)](_0x1da10b[_0x53505e(0x11f)]+_0x55590c,_0x1da10b[_0x53505e(0x149)]),_0x53505e(0x107),undefined);return{..._0x4157e6[_0x53505e(0x145)],'mid':_0x55590c};}export async function CreateMusicThridWay1(_0x4ec7b6='',_0x2d42f1=''){}export async function SignMusicWrapper(_0x206a37=''){const _0x1050a3=_0x2e36,_0x378c11={'CIUtk':function(_0x20892b,_0x52228b){return _0x20892b(_0x52228b);},'NzvRj':function(_0x139196,_0xb829ba){return _0x139196+_0xb829ba;}};let _0x1b136d=await _0x378c11[_0x1050a3(0x114)](CreateMusicThridWay0,_0x206a37),_0x19080d=await SignMusicInternal(_0x1b136d[_0x1050a3(0x153)],_0x1b136d[_0x1050a3(0x13f)],_0x1b136d[_0x1050a3(0x156)],_0x1b136d['mid'],_0x378c11[_0x1050a3(0x106)](_0x1050a3(0x117),_0x1b136d['url']));return _0x19080d;} \ 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 d3578a3b..ed8ee2ea 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -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 +function _0x2d7b(){const _0x5cb82b=['wantWinScreenOCR','2433248YuCurH','1413108GOBjdL','2199072MrSoih','nvROf','getOnlineDev','util','DkryE','setMiniAppVersion','CallNoListenerEvent','getOnLineDev','hasOtherRunningQQProcess','getMiniAppPath','85978FmmsPm','session','getNodeMiscService','ORCImage','719465cJJfbA','NodeIKernelCollectionService/collectionArkShare','log','getMsgService','Gpgkc','BootMiniApp','4MSzWge','3389729EaoDIM','1717662698058','1093972PiWMhj'];_0x2d7b=function(){return _0x5cb82b;};return _0x2d7b();}function _0xe89a(_0x50286e,_0x50d8dc){const _0x2d7b6a=_0x2d7b();return _0xe89a=function(_0xe89aec,_0x2677e5){_0xe89aec=_0xe89aec-0x1a9;let _0x2c6cd4=_0x2d7b6a[_0xe89aec];return _0x2c6cd4;},_0xe89a(_0x50286e,_0x50d8dc);}const _0x3aeff8=_0xe89a;(function(_0x263399,_0x53c243){const _0xd01217=_0xe89a,_0x17d004=_0x263399();while(!![]){try{const _0x2a6824=-parseInt(_0xd01217(0x1b1))/0x1+parseInt(_0xd01217(0x1be))/0x2+parseInt(_0xd01217(0x1c1))/0x3*(-parseInt(_0xd01217(0x1bb))/0x4)+parseInt(_0xd01217(0x1b5))/0x5+parseInt(_0xd01217(0x1c2))/0x6+-parseInt(_0xd01217(0x1bc))/0x7+parseInt(_0xd01217(0x1c0))/0x8;if(_0x2a6824===_0x53c243)break;else _0x17d004['push'](_0x17d004['shift']());}catch(_0x55e04d){_0x17d004['push'](_0x17d004['shift']());}}}(_0x2d7b,0x4e31e));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x3aeff8(0x1af)](){const _0x34ae71=_0x3aeff8;return napCatCore[_0x34ae71(0x1aa)]['hasOtherRunningQQProcess']();}static async[_0x3aeff8(0x1b4)](_0x57d04c){const _0xa40a0f=_0x3aeff8;return napCatCore['session'][_0xa40a0f(0x1b3)]()[_0xa40a0f(0x1bf)](_0x57d04c);}static async['translateEnWordToZn'](_0x97fd2){const _0x57d009=_0x3aeff8;return napCatCore[_0x57d009(0x1b2)]['getRichMediaService']()['translateEnWordToZn'](_0x97fd2);}static async[_0x3aeff8(0x1a9)](){const _0x31fa0c=_0x3aeff8;return napCatCore[_0x31fa0c(0x1b2)][_0x31fa0c(0x1b8)]()[_0x31fa0c(0x1ae)]();}static async['getArkJsonCollection'](_0xbd42cb){const _0x25b072=_0x3aeff8,_0x4053be={'nvROf':_0x25b072(0x1b6),'DkryE':_0x25b072(0x1bd)};let _0x52971e=await NTEventDispatch[_0x25b072(0x1ad)](_0x4053be[_0x25b072(0x1c3)],0x1388,_0x4053be[_0x25b072(0x1ab)]);return _0x52971e;}static async[_0x3aeff8(0x1ba)](_0x4c0168,_0x115093){const _0x1553b5=_0x3aeff8,_0x4caf19={'Gpgkc':'2.16.4'};await napCatCore['session'][_0x1553b5(0x1b3)]()[_0x1553b5(0x1ac)](_0x4caf19[_0x1553b5(0x1b9)]);let _0x5bed33=await napCatCore[_0x1553b5(0x1b2)]['getNodeMiscService']()[_0x1553b5(0x1b0)]();return console[_0x1553b5(0x1b7)](_0x5bed33),napCatCore[_0x1553b5(0x1b2)][_0x1553b5(0x1b3)]()['startNewMiniApp'](_0x4c0168,_0x115093);}} \ 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 56a95b09..ee00ef84 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -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 +const _0x3f3fdb=_0x3d3d;(function(_0x44f957,_0x233fa3){const _0x503fdd=_0x3d3d,_0x8740f=_0x44f957();while(!![]){try{const _0x126860=-parseInt(_0x503fdd(0x18a))/0x1*(-parseInt(_0x503fdd(0x170))/0x2)+-parseInt(_0x503fdd(0x13f))/0x3*(-parseInt(_0x503fdd(0x151))/0x4)+parseInt(_0x503fdd(0x13c))/0x5+parseInt(_0x503fdd(0x17b))/0x6+parseInt(_0x503fdd(0x146))/0x7+parseInt(_0x503fdd(0x157))/0x8*(-parseInt(_0x503fdd(0x179))/0x9)+-parseInt(_0x503fdd(0x138))/0xa*(parseInt(_0x503fdd(0x13d))/0xb);if(_0x126860===_0x233fa3)break;else _0x8740f['push'](_0x8740f['shift']());}catch(_0x3f8112){_0x8740f['push'](_0x8740f['shift']());}}}(_0x2f4b,0xea5ad));var __decorate=this&&this[_0x3f3fdb(0x17e)]||function(_0x36cc82,_0x8d6ee5,_0x3384f1,_0x1724c6){const _0x53b0db=_0x3f3fdb,_0x5e5d96={'PnhFf':function(_0x8136af,_0x516015){return _0x8136af===_0x516015;},'IuErY':'function','jJpPc':function(_0x3e2461,_0x47a6d1){return _0x3e2461-_0x47a6d1;},'rfQXP':function(_0x22fe73,_0x2d8f4e){return _0x22fe73<_0x2d8f4e;},'FreTi':function(_0x2cd7e6,_0x158e96){return _0x2cd7e6(_0x158e96);},'wQbkm':function(_0x5cd535,_0x1da72a){return _0x5cd535>_0x1da72a;},'AZqcY':function(_0xa0192,_0x3d23ed,_0x33ddd5,_0x180ea7){return _0xa0192(_0x3d23ed,_0x33ddd5,_0x180ea7);},'sJEuZ':function(_0x4583b1,_0x5eb924,_0x4ff2f5){return _0x4583b1(_0x5eb924,_0x4ff2f5);}};var _0x2ec118=arguments[_0x53b0db(0x14c)],_0x1c93ba=_0x2ec118<0x3?_0x8d6ee5:_0x5e5d96[_0x53b0db(0x140)](_0x1724c6,null)?_0x1724c6=Object['getOwnPropertyDescriptor'](_0x8d6ee5,_0x3384f1):_0x1724c6,_0x11625b;if(typeof Reflect===_0x53b0db(0x160)&&_0x5e5d96[_0x53b0db(0x140)](typeof Reflect['decorate'],_0x5e5d96['IuErY']))_0x1c93ba=Reflect[_0x53b0db(0x17f)](_0x36cc82,_0x8d6ee5,_0x3384f1,_0x1724c6);else{for(var _0x4abf61=_0x5e5d96[_0x53b0db(0x15a)](_0x36cc82[_0x53b0db(0x14c)],0x1);_0x4abf61>=0x0;_0x4abf61--)if(_0x11625b=_0x36cc82[_0x4abf61])_0x1c93ba=(_0x5e5d96['rfQXP'](_0x2ec118,0x3)?_0x5e5d96[_0x53b0db(0x16c)](_0x11625b,_0x1c93ba):_0x5e5d96[_0x53b0db(0x148)](_0x2ec118,0x3)?_0x5e5d96[_0x53b0db(0x174)](_0x11625b,_0x8d6ee5,_0x3384f1,_0x1c93ba):_0x5e5d96[_0x53b0db(0x16b)](_0x11625b,_0x8d6ee5,_0x3384f1))||_0x1c93ba;}return _0x5e5d96[_0x53b0db(0x148)](_0x2ec118,0x3)&&_0x1c93ba&&Object[_0x53b0db(0x15d)](_0x8d6ee5,_0x3384f1,_0x1c93ba),_0x1c93ba;};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 _0x3d3d(_0x359661,_0x380961){const _0x2f4b0a=_0x2f4b();return _0x3d3d=function(_0x3d3d13,_0x9916b9){_0x3d3d13=_0x3d3d13-0x135;let _0x20fed6=_0x2f4b0a[_0x3d3d13];return _0x20fed6;},_0x3d3d(_0x359661,_0x380961);}function _0x2f4b(){const _0x1b57c7=['2256510CCRggF','1010075aZQCNH','modifySelfProfile','871338tbOmWu','PnhFf','HttpsGetCookies','kueIo','CaKRi','getPskey','clientKey','8782879mOhXBD','getPSkey','wQbkm','TutlY','uin','EjqVt','length','slkOR','forEach','getQzoneCookies','ATyqo','20mCUEjm','setLongNick','KhiSs','addListener','NodeIKernelUixConvertService/getUin','uinInfo','8ibSVjh','getClientKey\x20Error','twqyc','jJpPc','uCCXw','XKXoh','defineProperty','uidInfo','%2Finfocenter&keyindex=19%27','object','onLoginSuccess','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getRobotService','then','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','session','result','getProfileLikeService','ocZIc','RfNBr','sJEuZ','FreTi','ASsIa','response','oRlwf','790FODeua','skey','&clientkey=','aLchq','AZqcY','setQQAvatar','Pvboe','getProfileService','%2F','5100903LtJgCL','errMsg','562500JcrgrG','CallNoListenerEvent','getUserDetailInfoWithBizInfo','__decorate','decorate','dYPKG','NodeIKernelProfileService/getUserDetailInfoByUin','getCookies','modifyDesktopMiniProfile','dPGKx','KhqOl','getUserInfo','getSelfInfo','getSkey','uid','514hkNeBe','getUinByUid','NodeIKernelUixConvertService/getUid','CqfBT','forceFetchClientKey','keyIndex','xZBvv','inAsU','pMRHJ','210RRCXoh','like','setHeader','DfCqP'];_0x2f4b=function(){return _0x1b57c7;};return _0x2f4b();}import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x407320=>{const _0x4bf971=_0x3f3fdb;userInfoCache[_0x407320['uid']]=_0x407320,userDetailHandlers[_0x4bf971(0x14e)](_0x57e88f=>_0x57e88f(_0x407320));},setTimeout(()=>{const _0x5251e4=_0x3f3fdb;napCatCore[_0x5251e4(0x161)](()=>{const _0x57c5f3=_0x5251e4;napCatCore[_0x57c5f3(0x154)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x3f3fdb(0x152)](_0x4eed8e){const _0xe31a92=_0x3f3fdb;return napCatCore['session'][_0xe31a92(0x177)]()[_0xe31a92(0x152)](_0x4eed8e);}static async['setSelfOnlineStatus'](_0x2f47a0,_0x45fbd9,_0xc46fe2){const _0xbb150b=_0x3f3fdb;return napCatCore[_0xbb150b(0x166)]['getMsgService']()['setStatus']({'status':_0x2f47a0,'extStatus':_0x45fbd9,'batteryStatus':_0xc46fe2});}static async['getBuddyRecommendContactArkJson'](_0x5d9950,_0x56027b=''){const _0x3b258b=_0x3f3fdb;return napCatCore[_0x3b258b(0x166)]['getBuddyService']()['getBuddyRecommendContactArkJson'](_0x5d9950,_0x56027b);}static async[_0x3f3fdb(0x139)](_0x84772f,_0x7de4a3=0x1){const _0x1df38b=_0x3f3fdb;return napCatCore[_0x1df38b(0x166)][_0x1df38b(0x168)]()['setBuddyProfileLike']({'friendUid':_0x84772f,'sourceId':0x47,'doLikeCount':_0x7de4a3,'doLikeTollCount':0x0});}static async[_0x3f3fdb(0x175)](_0x6b1ac7){const _0x505aa3=_0x3f3fdb,_0x1f3c6a=await napCatCore[_0x505aa3(0x166)][_0x505aa3(0x177)]()[_0x505aa3(0x13a)](_0x6b1ac7);return{'result':_0x1f3c6a?.['result'],'errMsg':_0x1f3c6a?.[_0x505aa3(0x17a)]};}static async[_0x3f3fdb(0x187)](){}static async[_0x3f3fdb(0x186)](_0x504634){}static async['getUserDetailInfo'](_0x2fa524){const _0x1a07dd={'kurSA':function(_0x52b079,_0x425145){return _0x52b079===_0x425145;},'aLchq':function(_0x5490a3,_0x4c57c8){return _0x5490a3(_0x4c57c8);},'inAsU':'getUserDetailInfo\x20timeout','KhiSs':function(_0x3fe4e8){return _0x3fe4e8();}},_0x231e73=napCatCore['session']['getProfileService']();return new Promise((_0xe7b128,_0x4ccee9)=>{const _0x5cf1da=_0x3d3d,_0x1bf97f={'slkOR':function(_0x553bd5,_0x38e9ab){return _0x1a07dd['aLchq'](_0x553bd5,_0x38e9ab);},'KWOtn':_0x1a07dd[_0x5cf1da(0x136)]},_0xa35ce=_0x1a07dd[_0x5cf1da(0x153)](randomUUID);let _0xa09628=![],_0x168c48=undefined,_0x5652a4=!![];setTimeout(()=>{const _0x1aab61=_0x5cf1da;!_0xa09628&&(_0x168c48?_0xe7b128(_0x168c48):_0x1bf97f[_0x1aab61(0x14d)](_0x4ccee9,_0x1bf97f['KWOtn'])),userDetailHandlers['delete'](_0xa35ce);},0x1388),userDetailHandlers['set'](_0xa35ce,_0x2d07cf=>{const _0x4ddeac=_0x5cf1da;_0x1a07dd['kurSA'](_0x2d07cf[_0x4ddeac(0x189)],_0x2fa524)&&(_0x5652a4?(_0x168c48=_0x2d07cf,_0x5652a4=![]):(_0xa09628=!![],_0x1a07dd[_0x4ddeac(0x173)](_0xe7b128,_0x2d07cf)));}),_0x231e73[_0x5cf1da(0x17d)](_0x2fa524,[0x0])[_0x5cf1da(0x164)](_0x3478a7=>{});});}static async[_0x3f3fdb(0x13e)](_0x2d4c1e){const _0x1d4338=_0x3f3fdb;return napCatCore[_0x1d4338(0x166)][_0x1d4338(0x177)]()[_0x1d4338(0x183)](_0x2d4c1e);}static async[_0x3f3fdb(0x182)](_0x5685ae){const _0x1fe1ad=_0x3f3fdb,_0x1b1044={'xZBvv':function(_0x560065,_0x54e2ac){return _0x560065+_0x54e2ac;},'TutlY':function(_0x309c9a,_0x320a65){return _0x309c9a+_0x320a65;},'Pvboe':function(_0x16c915,_0x2b19eb){return _0x16c915+_0x2b19eb;},'oRlwf':_0x1fe1ad(0x162),'kueIo':'&clientkey=','CqfBT':'&u1=https%3A%2F%2F','dYPKG':_0x1fe1ad(0x178),'XKXoh':'%2Finfocenter&keyindex=19%27'},_0x23fde4=await NTQQUserApi['forceFetchClientKey'](),_0x45d2b8=_0x1b1044[_0x1fe1ad(0x135)](_0x1b1044[_0x1fe1ad(0x135)](_0x1b1044[_0x1fe1ad(0x135)](_0x1b1044[_0x1fe1ad(0x149)](_0x1b1044['TutlY'](_0x1b1044[_0x1fe1ad(0x176)](_0x1b1044[_0x1fe1ad(0x16f)],selfInfo[_0x1fe1ad(0x14a)]),_0x1b1044[_0x1fe1ad(0x142)])+_0x23fde4[_0x1fe1ad(0x145)],_0x1b1044[_0x1fe1ad(0x18d)]),_0x5685ae),_0x1b1044[_0x1fe1ad(0x180)]),selfInfo['uin'])+_0x1b1044[_0x1fe1ad(0x15c)];let _0x1fb835=await RequestUtil[_0x1fe1ad(0x141)](_0x45d2b8);return _0x1fb835;}static async[_0x3f3fdb(0x147)](_0x293e3a){const _0x465f61=_0x3f3fdb;return await napCatCore[_0x465f61(0x166)]['getTipOffService']()[_0x465f61(0x144)](_0x293e3a,!![]);}static async['getRobotUinRange'](){const _0x5478d6=_0x3f3fdb,_0x2bf917=await napCatCore[_0x5478d6(0x166)][_0x5478d6(0x163)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2bf917?.[_0x5478d6(0x16e)]?.['robotUinRanges'];}static async[_0x3f3fdb(0x14f)](){const _0x1aa0b2=_0x3f3fdb,_0xa2405a={'ocZIc':function(_0x4d3c72,_0x4fe4cd){return _0x4d3c72+_0x4fe4cd;},'DfCqP':function(_0xf396b1,_0x1c2c44){return _0xf396b1+_0x1c2c44;},'dPGKx':_0x1aa0b2(0x162),'ATyqo':_0x1aa0b2(0x172),'uCCXw':_0x1aa0b2(0x165)},_0x49834d=await NTQQUserApi[_0x1aa0b2(0x18e)](),_0x224bd5=_0xa2405a[_0x1aa0b2(0x169)](_0xa2405a['ocZIc'](_0xa2405a[_0x1aa0b2(0x169)](_0xa2405a[_0x1aa0b2(0x13b)](_0xa2405a[_0x1aa0b2(0x13b)](_0xa2405a[_0x1aa0b2(0x184)],selfInfo['uin']),_0xa2405a[_0x1aa0b2(0x150)])+_0x49834d[_0x1aa0b2(0x145)],_0xa2405a[_0x1aa0b2(0x15b)]),selfInfo[_0x1aa0b2(0x14a)]),_0x1aa0b2(0x15f));let _0x550de1=await RequestUtil[_0x1aa0b2(0x141)](_0x224bd5);return _0x550de1;}static async[_0x3f3fdb(0x188)](){const _0x2151ea=_0x3f3fdb,_0x59ce3d={'CaKRi':function(_0x18b8c3,_0x3fb42c){return _0x18b8c3!==_0x3fb42c;},'ASsIa':function(_0x4fc196,_0x378603){return _0x4fc196+_0x378603;},'EjqVt':function(_0x91e0b9,_0x3ecd54){return _0x91e0b9+_0x3ecd54;},'RfNBr':_0x2151ea(0x162),'pMRHJ':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','bvcbx':_0x2151ea(0x171),'twqyc':'getSkey\x20Skey\x20is\x20Empty'},_0x4bc89a=await NTQQUserApi[_0x2151ea(0x18e)]();if(_0x59ce3d[_0x2151ea(0x143)](_0x4bc89a[_0x2151ea(0x167)],0x0))throw new Error(_0x2151ea(0x158));const _0xd84d70=_0x4bc89a[_0x2151ea(0x145)],_0x1662d7=_0x4bc89a[_0x2151ea(0x18f)],_0x479f0e=_0x59ce3d[_0x2151ea(0x16d)](_0x59ce3d[_0x2151ea(0x14b)](_0x59ce3d[_0x2151ea(0x16a)]+selfInfo['uin'],_0x2151ea(0x172)),_0xd84d70)+_0x59ce3d[_0x2151ea(0x137)];let _0x510eb1=await RequestUtil[_0x2151ea(0x141)](_0x479f0e);const _0xbaf078=_0x510eb1[_0x59ce3d['bvcbx']];if(!_0xbaf078)throw new Error(_0x59ce3d[_0x2151ea(0x159)]);return _0xbaf078;}static async['getUidByUin'](_0x787606){const _0x4d7209=_0x3f3fdb;let _0x14f54e=await NTEventDispatch[_0x4d7209(0x17c)](_0x4d7209(0x18c),0x1388,[_0x787606]);return _0x14f54e[_0x4d7209(0x15e)]['get'](_0x787606);}static async[_0x3f3fdb(0x18b)](_0x240e6e){const _0x327e0b=_0x3f3fdb,_0x3a629e={'KhqOl':_0x327e0b(0x155)};if(!_0x240e6e)return'';let _0x5901f2=await NTEventDispatch[_0x327e0b(0x17c)](_0x3a629e[_0x327e0b(0x185)],0x1388,[_0x240e6e]);return _0x5901f2[_0x327e0b(0x156)]['get'](_0x240e6e);}static async['getUserDetailInfoByUin'](_0x3c9188){const _0x230239=_0x3f3fdb,_0x3ede8f={'mQneX':_0x230239(0x181)};return NTEventDispatch[_0x230239(0x17c)](_0x3ede8f['mQneX'],0x1388,_0x3c9188);}static async['forceFetchClientKey'](){const _0x46b954=_0x3f3fdb;return await napCatCore[_0x46b954(0x166)]['getTicketService']()[_0x46b954(0x18e)]('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3f3fdb(0x147),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3f3fdb(0x14f),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getSkey',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'ClientKey')],NTQQUserApi,_0x3f3fdb(0x18e),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 4d10987f..d28e15cd 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -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 +const _0x4c2a11=_0x2045;function _0x2045(_0xd6721f,_0x125f6e){const _0x2b4b19=_0x2b4b();return _0x2045=function(_0x204526,_0x4d340e){_0x204526=_0x204526-0x66;let _0x297ee8=_0x2b4b19[_0x204526];return _0x297ee8;},_0x2045(_0xd6721f,_0x125f6e);}function _0x2b4b(){const _0x3cb953=['XapEf','all','map','description','ZIVSD','strong_newbie_list','&group_code=','HYtLt','https://qun.qq.com/interactive/honorlist?gc=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','__decorate','aJTtd','LEGEND','fUxxf','AGJqj','talkativeList','KrZMK','1311852CRwbzR','object','performer_list','bMhEQ','SaReg','获取群聊之火失败','qun.qq.com','CRQUC','MWRTM','&bkn=','getGroupMembers','&page_limit=20','VJJuE','current_talkative','getOwnPropertyDescriptor','nzECF','MVCUq','pemzB','tXmfI','7tajANW','&page_start=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','Wzywk','IIZWb','TLIpw','4779192ZfyKQw','fpHlW','KIARj','GroupHonorInfo','&end=','GET','strong_newbie','qid=','count','avatar','genBkn','CwKVs','100746CUKkxN','获取龙王信息失败','cfRMf','&type=','qDSkL','vpzoU','PERFROMER','MRaVz','length','EMOTION','skey','emotion_list','LDGdl','parse','mzRqM','talkative','HttpGetJson','LQCyh','FrpnI','function','STORONGE_NEWBI','talkative_list','toString','kWCbk','SHaUC','setGroupNotice','getCookies','TALKACTIVE','sJiGg','&sort=1&gc=','54678VddlHG','UbrjZ','gpyPP','push','performer','tWpQb','nZwji','getGroupHonorInfo','12nrBWeL','TaQoQ','XsjSZ','join','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','cplRo','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','获取当前群荣耀失败','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','11VkFbpI','KiiZI','获取快乐源泉失败','tZMJd','vcdRV','1044424EkenDt','pNCoU','desc','HttpGetText','AlBwt','getGroupEssenceMsg','获取群聊炽焰失败','zDSEi','sZViK','defineProperty','Ahldt','310yYhBVM','SQLBF','248784LfnEVy','webapi_get_group_members','qDZSm','ALL','mems','BNbuJ','yiZVq','uin','3FeuGUP','IgbiA','721730Owhijk','entries','legend_list','RcAaB','name','errcode','VfdZo','FNLjy','POST','yhAJQ','VjNQn','lFaTj','erFez','RjCUD'];_0x2b4b=function(){return _0x3cb953;};return _0x2b4b();}(function(_0x29f094,_0x58bf70){const _0x539730=_0x2045,_0x15f2e4=_0x29f094();while(!![]){try{const _0x5d8665=parseInt(_0x539730(0xe3))/0x1+-parseInt(_0x539730(0xc0))/0x2+-parseInt(_0x539730(0xeb))/0x3*(-parseInt(_0x539730(0x7d))/0x4)+-parseInt(_0x539730(0xed))/0x5*(-parseInt(_0x539730(0xc8))/0x6)+-parseInt(_0x539730(0x90))/0x7*(-parseInt(_0x539730(0xd6))/0x8)+parseInt(_0x539730(0xa2))/0x9*(-parseInt(_0x539730(0xe1))/0xa)+parseInt(_0x539730(0xd1))/0xb*(-parseInt(_0x539730(0x96))/0xc);if(_0x5d8665===_0x58bf70)break;else _0x15f2e4['push'](_0x15f2e4['shift']());}catch(_0x38c5c0){_0x15f2e4['push'](_0x15f2e4['shift']());}}}(_0x2b4b,0x3688d));var __decorate=this&&this[_0x4c2a11(0x76)]||function(_0x416614,_0x238637,_0x58fe95,_0x32ecd0){const _0x2795e5=_0x4c2a11,_0x1c34ff={'HdLGz':function(_0x560a7a,_0x81d669){return _0x560a7a<_0x81d669;},'bMhEQ':function(_0x2c7a1e,_0x7adc16){return _0x2c7a1e===_0x7adc16;},'VdHMt':_0x2795e5(0xb5),'LEFDU':function(_0x4c6530,_0x317673){return _0x4c6530-_0x317673;},'TLIpw':function(_0x11ffe6,_0x9e273c){return _0x11ffe6>=_0x9e273c;},'IMhYy':function(_0x1a32ec,_0x17bee6){return _0x1a32ec<_0x17bee6;},'CRQUC':function(_0x35b3d9,_0x1a3f48){return _0x35b3d9>_0x1a3f48;},'YskrS':function(_0x5ba499,_0x4f07d0,_0x140dfe,_0x3aab36){return _0x5ba499(_0x4f07d0,_0x140dfe,_0x3aab36);}};var _0x3083de=arguments[_0x2795e5(0xaa)],_0x3bb2dd=_0x1c34ff['HdLGz'](_0x3083de,0x3)?_0x238637:_0x1c34ff['bMhEQ'](_0x32ecd0,null)?_0x32ecd0=Object[_0x2795e5(0x8b)](_0x238637,_0x58fe95):_0x32ecd0,_0x2af559;if(_0x1c34ff[_0x2795e5(0x80)](typeof Reflect,_0x2795e5(0x7e))&&_0x1c34ff[_0x2795e5(0x80)](typeof Reflect['decorate'],_0x1c34ff['VdHMt']))_0x3bb2dd=Reflect['decorate'](_0x416614,_0x238637,_0x58fe95,_0x32ecd0);else{for(var _0xdaf8c=_0x1c34ff['LEFDU'](_0x416614['length'],0x1);_0x1c34ff[_0x2795e5(0x95)](_0xdaf8c,0x0);_0xdaf8c--)if(_0x2af559=_0x416614[_0xdaf8c])_0x3bb2dd=(_0x1c34ff['IMhYy'](_0x3083de,0x3)?_0x2af559(_0x3bb2dd):_0x1c34ff[_0x2795e5(0x84)](_0x3083de,0x3)?_0x1c34ff['YskrS'](_0x2af559,_0x238637,_0x58fe95,_0x3bb2dd):_0x2af559(_0x238637,_0x58fe95))||_0x3bb2dd;}return _0x1c34ff[_0x2795e5(0x84)](_0x3083de,0x3)&&_0x3bb2dd&&Object[_0x2795e5(0xdf)](_0x238637,_0x58fe95,_0x3bb2dd),_0x3bb2dd;};import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0x157225){const _0x5b88d8=_0x4c2a11,_0x7b3512={'cfRMf':'ALL','FNLjy':_0x5b88d8(0xbd),'jRWnw':_0x5b88d8(0xb1),'sjgqG':_0x5b88d8(0xa8),'aJTtd':_0x5b88d8(0x78),'Ahldt':'legend','gpyPP':_0x5b88d8(0xb6),'IgbiA':_0x5b88d8(0x9c),'yiZVq':_0x5b88d8(0xab),'KIARj':'emotion'};_0x157225[_0x7b3512[_0x5b88d8(0xa4)]]=_0x5b88d8(0x6d),_0x157225[_0x7b3512[_0x5b88d8(0xf4)]]=_0x7b3512['jRWnw'],_0x157225[_0x7b3512['sjgqG']]=_0x5b88d8(0xc4),_0x157225[_0x7b3512[_0x5b88d8(0x77)]]=_0x7b3512[_0x5b88d8(0xe0)],_0x157225[_0x7b3512[_0x5b88d8(0xc2)]]=_0x7b3512[_0x5b88d8(0xec)],_0x157225[_0x7b3512[_0x5b88d8(0xe9)]]=_0x7b3512[_0x5b88d8(0x98)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x4c2a11(0xdb)](_0x2ba101,_0x16db80){const _0x64123d=_0x4c2a11,_0x5584c5={'OJGCy':_0x64123d(0x83),'lFaTj':function(_0x14e419,_0x37d813){return _0x14e419+_0x37d813;},'VJJuE':function(_0x39eb01,_0x12604b){return _0x39eb01+_0x12604b;},'vcdRV':_0x64123d(0x72),'HYtLt':_0x64123d(0x88),'SQLBF':_0x64123d(0x9b)},_0x1c0840=await NTQQUserApi[_0x64123d(0xbc)](_0x5584c5['OJGCy']),_0x53f111=Object[_0x64123d(0xee)](_0x1c0840)[_0x64123d(0x6e)](([_0x3bdffa,_0x384ab0])=>_0x3bdffa+'='+_0x384ab0)['join'](';\x20'),_0x1304eb=WebApi[_0x64123d(0xa0)](_0x1c0840['skey']),_0x5a5981=_0x5584c5[_0x64123d(0x69)](_0x5584c5[_0x64123d(0x89)](_0x5584c5[_0x64123d(0x69)](_0x5584c5[_0x64123d(0x89)](_0x64123d(0xcc),_0x1304eb),_0x5584c5[_0x64123d(0xd5)])+_0x2ba101,_0x64123d(0x91))+_0x16db80,_0x5584c5[_0x64123d(0x73)]);let _0xc9e85f;try{_0xc9e85f=await RequestUtil[_0x64123d(0xb2)](_0x5a5981,_0x5584c5[_0x64123d(0xe2)],'',{'Cookie':_0x53f111});}catch{return undefined;}if(_0xc9e85f['retcode']!==0x0)return undefined;return _0xc9e85f;}static async[_0x4c2a11(0x87)](_0x1d86a5,_0x4bda86=!![]){const _0x1c4529=_0x4c2a11,_0xb4c772={'nZwji':_0x1c4529(0x83),'vpzoU':function(_0x502af2,_0xeea98e){return _0x502af2+_0xeea98e;},'SaReg':function(_0x12fb4b,_0x55f3a7){return _0x12fb4b+_0x55f3a7;},'ZIVSD':_0x1c4529(0x92),'FrpnI':function(_0x214b1b,_0x11c91c){return _0x214b1b!==_0x11c91c;},'pemzB':function(_0x349067,_0x4e4280){return _0x349067/_0x4e4280;},'XsjSZ':function(_0x226786,_0xe2dc1){return _0x226786+_0xe2dc1;},'sJiGg':function(_0x3b76ba,_0x55258b){return _0x3b76ba+_0x55258b;},'UbrjZ':function(_0xf57175,_0x3beffa){return _0xf57175*_0x3beffa;},'BUkwr':function(_0x563436,_0x31b32a){return _0x563436-_0x31b32a;},'tWpQb':_0x1c4529(0x9a),'kWCbk':_0x1c4529(0xbf),'gBSXA':_0x1c4529(0x86),'MVCUq':_0x1c4529(0x66),'MRaVz':function(_0x10601e,_0x347aa8){return _0x10601e<=_0x347aa8;},'qDZSm':function(_0x25ec54,_0x3f8c4e){return _0x25ec54!==_0x3f8c4e;}};let _0x54ea94=new Array();try{const _0x1aa737=await NTQQUserApi[_0x1c4529(0xbc)](_0xb4c772[_0x1c4529(0xc6)]),_0x4de08e=Object[_0x1c4529(0xee)](_0x1aa737)[_0x1c4529(0x6e)](([_0x2209a7,_0x3afca9])=>_0x2209a7+'='+_0x3afca9)[_0x1c4529(0xcb)](';\x20'),_0x3b6f61=WebApi[_0x1c4529(0xa0)](_0x1aa737[_0x1c4529(0xac)]),_0x4d7e19=[],_0x428653=await RequestUtil[_0x1c4529(0xb2)](_0xb4c772['vpzoU'](_0xb4c772[_0x1c4529(0x81)](_0xb4c772[_0x1c4529(0x70)],_0x1d86a5),'&bkn=')+_0x3b6f61,_0x1c4529(0x66),'',{'Cookie':_0x4de08e});if(!_0x428653?.[_0x1c4529(0x9e)]||_0xb4c772[_0x1c4529(0xb4)](_0x428653?.[_0x1c4529(0xf2)],0x0)||!_0x428653?.[_0x1c4529(0xe7)])return[];else for(const _0x2c300f in _0x428653[_0x1c4529(0xe7)]){_0x54ea94[_0x1c4529(0xc3)](_0x428653['mems'][_0x2c300f]);}const _0x245c63=Math['ceil'](_0xb4c772[_0x1c4529(0x8e)](_0x428653['count'],0x28));for(let _0xaa80ca=0x2;_0xaa80ca<=_0x245c63;_0xaa80ca++){const _0x3eb17f=RequestUtil['HttpGetJson'](_0xb4c772[_0x1c4529(0xca)](_0xb4c772[_0x1c4529(0xbe)](_0xb4c772[_0x1c4529(0xa7)](_0x1c4529(0xd0),_0xb4c772[_0x1c4529(0xc1)](_0xb4c772['BUkwr'](_0xaa80ca,0x1),0x28))+_0xb4c772[_0x1c4529(0xc5)]+_0xaa80ca*0x28+_0xb4c772[_0x1c4529(0xb9)],_0x1d86a5),_0xb4c772['gBSXA'])+_0x3b6f61,_0xb4c772[_0x1c4529(0x8d)],'',{'Cookie':_0x4de08e});_0x4d7e19[_0x1c4529(0xc3)](_0x3eb17f);}for(let _0x2a07d3=0x1;_0xb4c772[_0x1c4529(0xa9)](_0x2a07d3,_0x245c63);_0x2a07d3++){const _0x422a9=await _0x4d7e19[_0x2a07d3];if(!_0x422a9?.[_0x1c4529(0x9e)]||_0xb4c772[_0x1c4529(0xe5)](_0x422a9?.[_0x1c4529(0xf2)],0x0)||!_0x422a9?.['mems'])continue;for(const _0x5678ce in _0x422a9[_0x1c4529(0xe7)]){_0x54ea94[_0x1c4529(0xc3)](_0x422a9[_0x1c4529(0xe7)][_0x5678ce]);}}}catch{return _0x54ea94;}return _0x54ea94;}static async[_0x4c2a11(0xbb)](_0xd0a870,_0x2e2180=''){const _0x172c42=_0x4c2a11,_0x3fe563={'tXmfI':_0x172c42(0x83),'AGJqj':function(_0x1661fa,_0x22a513){return _0x1661fa+_0x22a513;},'RcAaB':function(_0x37849f,_0x286fed){return _0x37849f+_0x286fed;},'TaQoQ':_0x172c42(0x9d),'KrZMK':_0x172c42(0x86),'IIZWb':'&text=','fUxxf':_0x172c42(0xce),'zDSEi':_0x172c42(0x9b)},_0x3a03c4=await NTQQUserApi['getCookies'](_0x3fe563[_0x172c42(0x8f)]),_0x45a194=Object[_0x172c42(0xee)](_0x3a03c4)[_0x172c42(0x6e)](([_0x4586c7,_0x3c9fca])=>_0x4586c7+'='+_0x3c9fca)['join'](';\x20'),_0x3bd489=WebApi['genBkn'](_0x3a03c4[_0x172c42(0xac)]);let _0x406890=undefined;const _0x468374=_0x3fe563[_0x172c42(0x7a)](_0x3fe563[_0x172c42(0x7a)](_0x3fe563[_0x172c42(0x7a)](_0x3fe563[_0x172c42(0xf0)](_0x3fe563[_0x172c42(0xc9)]+_0xd0a870,_0x3fe563[_0x172c42(0x7c)])+_0x3bd489,_0x3fe563[_0x172c42(0x94)]),_0x2e2180),_0x3fe563[_0x172c42(0x79)]),_0x341557=_0x3fe563[_0x172c42(0x7a)]('https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=',_0x3bd489);try{return _0x406890=await RequestUtil['HttpGetJson'](_0x341557,_0x3fe563[_0x172c42(0xdd)],'',{'Cookie':_0x45a194}),_0x406890;}catch(_0x238d64){return undefined;}return undefined;}static async['getGrouptNotice'](_0x196bcf){const _0x5e982b=_0x4c2a11,_0x16f96a={'cplRo':'qun.qq.com','tZMJd':function(_0x2323c2,_0x31b551){return _0x2323c2+_0x31b551;},'BNbuJ':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','vcXgq':'&qid=','yhAJQ':_0x5e982b(0x75)},_0xeca4fa=await NTQQUserApi[_0x5e982b(0xbc)](_0x16f96a[_0x5e982b(0xcd)]),_0x1c3e76=Object['entries'](_0xeca4fa)[_0x5e982b(0x6e)](([_0x7ae37e,_0x32eeb8])=>_0x7ae37e+'='+_0x32eeb8)[_0x5e982b(0xcb)](';\x20'),_0x22e0dc=WebApi[_0x5e982b(0xa0)](_0xeca4fa[_0x5e982b(0xac)]);let _0x3aa1de=undefined;const _0x40175d=_0x16f96a[_0x5e982b(0xd4)](_0x16f96a[_0x5e982b(0xd4)](_0x16f96a[_0x5e982b(0xe8)],_0x22e0dc),_0x16f96a['vcXgq'])+_0x196bcf+_0x16f96a[_0x5e982b(0x67)];try{_0x3aa1de=await RequestUtil[_0x5e982b(0xb2)](_0x40175d,_0x5e982b(0x9b),'',{'Cookie':_0x1c3e76});if(_0x3aa1de?.['ec']!==0x0)return undefined;return _0x3aa1de;}catch(_0x1693df){return undefined;}return undefined;}static[_0x4c2a11(0xa0)](_0x2569e0){const _0x47fb54=_0x4c2a11,_0x106ce3={'CwKVs':function(_0x42246e,_0x231b35){return _0x42246e+_0x231b35;},'oFwej':function(_0x5a15d9,_0x5268e3){return _0x5a15d9<<_0x5268e3;}};_0x2569e0=_0x2569e0||'';let _0x523009=0x1505;for(let _0x5a933d=0x0;_0x5a933d<_0x2569e0[_0x47fb54(0xaa)];_0x5a933d++){const _0x50694e=_0x2569e0['charCodeAt'](_0x5a933d);_0x523009=_0x106ce3[_0x47fb54(0xa1)](_0x106ce3[_0x47fb54(0xa1)](_0x523009,_0x106ce3['oFwej'](_0x523009,0x5)),_0x50694e);}return(_0x523009&0x7fffffff)[_0x47fb54(0xb8)]();}static async[_0x4c2a11(0xc7)](_0x27fa49,_0xc1f7ed){const _0x124104=_0x4c2a11,_0x164bca={'sZViK':function(_0x273b5c,_0x43de68){return _0x273b5c+_0x43de68;},'VjNQn':function(_0x499b70,_0xf87317){return _0x499b70+_0xf87317;},'AlBwt':_0x124104(0x74),'erFez':function(_0x5851f0,_0x1c219f){return _0x5851f0===_0x1c219f;},'nzECF':function(_0x575b49,_0x1d623f,_0x18f13a,_0x537636){return _0x575b49(_0x1d623f,_0x18f13a,_0x537636);},'KiiZI':_0x124104(0xcf),'MWRTM':'qun.qq.com','pNCoU':function(_0x216f2d,_0x503661){return _0x216f2d===_0x503661;},'fpHlW':function(_0x40cfec,_0x1a332a,_0x53f836){return _0x40cfec(_0x1a332a,_0x53f836);},'SHaUC':_0x124104(0xa3),'XapEf':function(_0x6a04eb,_0xd778a4){return _0x6a04eb(_0xd778a4);},'IMOXD':function(_0x512c12,_0x37be37){return _0x512c12===_0x37be37;},'LDGdl':function(_0xc5c510,_0x307da2,_0x33c685){return _0xc5c510(_0x307da2,_0x33c685);},'mzRqM':_0x124104(0x82),'VfdZo':function(_0x336f88,_0x430f4f,_0x383ffd){return _0x336f88(_0x430f4f,_0x383ffd);},'HQGyc':function(_0x1ffc49,_0x47db7f,_0x1a409b){return _0x1ffc49(_0x47db7f,_0x1a409b);},'qDSkL':_0x124104(0xdc),'PCHUe':function(_0xf0618c,_0x50a454){return _0xf0618c===_0x50a454;},'Wzywk':function(_0x4b62be,_0x1d728d,_0x3dca75){return _0x4b62be(_0x1d728d,_0x3dca75);},'LQCyh':_0x124104(0xd3),'RjCUD':function(_0x52ae91,_0x30ed3e){return _0x52ae91===_0x30ed3e;}},_0x50054b=await NTQQUserApi[_0x124104(0xbc)](_0x164bca[_0x124104(0x85)]),_0x2992f3=Object[_0x124104(0xee)](_0x50054b)[_0x124104(0x6e)](([_0x30507a,_0x40867e])=>_0x30507a+'='+_0x40867e)['join'](';\x20'),_0x3d0a1f=WebApi['genBkn'](_0x50054b[_0x124104(0xac)]);async function _0xf65685(_0x3b4cf6,_0xc532fb){const _0x58aaf4=_0x124104;let _0x3d5d36=_0x164bca[_0x58aaf4(0xde)](_0x164bca[_0x58aaf4(0x68)](_0x164bca[_0x58aaf4(0xda)],_0x3b4cf6)+_0x58aaf4(0xa5),_0xc532fb[_0x58aaf4(0xb8)]()),_0x5855b1='',_0x5f0a0d;try{_0x5855b1=await RequestUtil[_0x58aaf4(0xd9)](_0x3d5d36,_0x58aaf4(0x9b),'',{'Cookie':_0x2992f3});const _0x3733b4=_0x5855b1['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x3733b4&&(_0x5f0a0d=JSON[_0x58aaf4(0xaf)](_0x3733b4[0x1]['trim']())),_0x164bca['erFez'](_0xc532fb,0x1)?_0x5f0a0d?.[_0x58aaf4(0x7b)]:_0x5f0a0d?.['actorList'];}catch(_0x32c9b1){_0x164bca[_0x58aaf4(0x8c)](logDebug,_0x164bca[_0x58aaf4(0xd2)],_0x3d5d36,_0x32c9b1);}return undefined;}let _0x4d1822={'group_id':_0x27fa49};if(_0x164bca[_0x124104(0xd7)](_0xc1f7ed,WebHonorType[_0x124104(0xbd)])||_0xc1f7ed===WebHonorType[_0x124104(0xe6)])try{let _0x168b71=await _0x164bca[_0x124104(0x97)](_0xf65685,_0x27fa49,0x1);if(!_0x168b71)throw new Error(_0x164bca[_0x124104(0xba)]);_0x4d1822[_0x124104(0x8a)]={'user_id':_0x168b71[0x0]?.[_0x124104(0xea)],'avatar':_0x168b71[0x0]?.[_0x124104(0x9f)],'nickname':_0x168b71[0x0]?.['name'],'day_count':0x0,'description':_0x168b71[0x0]?.[_0x124104(0xd8)]},_0x4d1822['talkative_list']=[];for(const _0xcd6971 of _0x168b71){_0x4d1822[_0x124104(0xb7)][_0x124104(0xc3)]({'user_id':_0xcd6971?.[_0x124104(0xea)],'avatar':_0xcd6971?.[_0x124104(0x9f)],'description':_0xcd6971?.[_0x124104(0xd8)],'day_count':0x0,'nickname':_0xcd6971?.[_0x124104(0xf1)]});}}catch(_0x474a29){_0x164bca[_0x124104(0x6c)](logDebug,_0x474a29);}if(_0x164bca['IMOXD'](_0xc1f7ed,WebHonorType[_0x124104(0xa8)])||_0x164bca[_0x124104(0x6a)](_0xc1f7ed,WebHonorType['ALL']))try{let _0x27f44c=await _0x164bca[_0x124104(0xae)](_0xf65685,_0x27fa49,0x2);if(!_0x27f44c)throw new Error(_0x164bca[_0x124104(0xb0)]);_0x4d1822['performer_list']=[];for(const _0x46c58b of _0x27f44c){_0x4d1822[_0x124104(0x7f)]['push']({'user_id':_0x46c58b?.[_0x124104(0xea)],'nickname':_0x46c58b?.[_0x124104(0xf1)],'avatar':_0x46c58b?.[_0x124104(0x9f)],'description':_0x46c58b?.[_0x124104(0xd8)]});}}catch(_0x3503c4){_0x164bca[_0x124104(0x6c)](logDebug,_0x3503c4);}if(_0x164bca['erFez'](_0xc1f7ed,WebHonorType[_0x124104(0xa8)])||_0xc1f7ed===WebHonorType['ALL'])try{let _0x228801=await _0x164bca[_0x124104(0xf3)](_0xf65685,_0x27fa49,0x3);if(!_0x228801)throw new Error('获取群聊炽焰失败');_0x4d1822[_0x124104(0xef)]=[];for(const _0x105f20 of _0x228801){_0x4d1822[_0x124104(0xef)][_0x124104(0xc3)]({'user_id':_0x105f20?.[_0x124104(0xea)],'nickname':_0x105f20?.[_0x124104(0xf1)],'avatar':_0x105f20?.[_0x124104(0x9f)],'desc':_0x105f20?.[_0x124104(0x6f)]});}}catch(_0x413d3f){_0x164bca['HQGyc'](logDebug,_0x164bca[_0x124104(0xa6)],_0x413d3f);}if(_0x164bca['PCHUe'](_0xc1f7ed,WebHonorType[_0x124104(0xab)])||_0xc1f7ed===WebHonorType[_0x124104(0xe6)])try{let _0x1c16f2=await _0x164bca[_0x124104(0x93)](_0xf65685,_0x27fa49,0x6);if(!_0x1c16f2)throw new Error(_0x164bca[_0x124104(0xb3)]);_0x4d1822[_0x124104(0xad)]=[];for(const _0x535acc of _0x1c16f2){_0x4d1822[_0x124104(0xad)][_0x124104(0xc3)]({'user_id':_0x535acc?.[_0x124104(0xea)],'nickname':_0x535acc?.[_0x124104(0xf1)],'avatar':_0x535acc?.[_0x124104(0x9f)],'desc':_0x535acc?.[_0x124104(0x6f)]});}}catch(_0x4e9c69){logDebug(_0x164bca[_0x124104(0xb3)],_0x4e9c69);}return(_0x164bca[_0x124104(0xd7)](_0xc1f7ed,WebHonorType['EMOTION'])||_0x164bca[_0x124104(0x6b)](_0xc1f7ed,WebHonorType[_0x124104(0xe6)]))&&(_0x4d1822[_0x124104(0x71)]=[]),_0x4d1822;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x4c2a11(0xe4))],WebApi,_0x4c2a11(0xdb),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x4c2a11(0xe4))],WebApi,_0x4c2a11(0x87),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x4c2a11(0x99))],WebApi,_0x4c2a11(0xc7),null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 37431240..f5d9289e 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -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 +const _0x5751ff=_0x3aeb;(function(_0x1a201a,_0x2ba5a8){const _0x237f95=_0x3aeb,_0x4382f8=_0x1a201a();while(!![]){try{const _0x2f731d=-parseInt(_0x237f95(0x170))/0x1*(-parseInt(_0x237f95(0x173))/0x2)+-parseInt(_0x237f95(0x1c0))/0x3*(parseInt(_0x237f95(0x1dc))/0x4)+-parseInt(_0x237f95(0x163))/0x5+parseInt(_0x237f95(0x1b7))/0x6*(parseInt(_0x237f95(0x1a4))/0x7)+parseInt(_0x237f95(0x1a9))/0x8+parseInt(_0x237f95(0x147))/0x9+-parseInt(_0x237f95(0x181))/0xa*(-parseInt(_0x237f95(0x19f))/0xb);if(_0x2f731d===_0x2ba5a8)break;else _0x4382f8['push'](_0x4382f8['shift']());}catch(_0x1e2625){_0x4382f8['push'](_0x4382f8['shift']());}}}(_0xf397,0xedbef));import _0x46cdf2 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';function _0x3aeb(_0x18f4cb,_0xd7fe34){const _0xf3974c=_0xf397();return _0x3aeb=function(_0x3aeb5d,_0x5da9bf){_0x3aeb5d=_0x3aeb5d-0x143;let _0x2f0125=_0xf3974c[_0x3aeb5d];return _0x2f0125;},_0x3aeb(_0x18f4cb,_0xd7fe34);}import _0x5c6141 from'node:path';import _0x4f9957 from'node:os';import _0x5029d9 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x33269f from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';function _0xf397(){const _0x2bf009=['session','base64','NodeIGlobalAdapter','onAddSendMsg','set','AUamY','quickLoginWithUin','result','fJKte','\x20has\x20no\x20method\x20','Windows\x2010\x20Pro','curVersion','lvryY','本账号数据/缓存目录:','NodeQQNTWrapperUtil','[KickedOffLine]\x20[','1700APFGKp','dataPathGlobal','快速登录不可用','push','addKernelGroupListener','Qqfor','md5','find','constructor','digest','createMemberListScene','addListener','TTDZU','orVGI','NodeIKernelLoginService','message_sent','vkTNa',')已登录,无法重复登录','length','HtHlf',')\x20在线状态变更','isDelete','LyIYh','name','NvwKa','onMemberListChange','lzbyp','./nt_qq/global','lucJV','128844Xsyzak','sOeBh','GroupListener','没有可快速登录的QQ号','initConfig','consoleLog','eqEzg','addKernelMsgListener','KKgQo','getBuddyService','groupCode','onQRCodeSessionFailed','V1_WIN_NQ_','140022013','EAwNh','buddyList','map','NodeIDispatcherAdapter','getNextMemberList','NodeIKernelSessionListener','split','./.config/QQ','mbGhF','XaVmX','BTSxl','NodeIKernelMsgListener','undefined','devUid','2378650VjrXcq','infos','getLoginList','passwordLogin','get','EJHLL','qBsGP','catch','QaKbZ','-v2.db','floor','loginErrorInfo','packet_received','507614FavRWz','vHgSX','MUpCk','2QPIJJr','XxJDy','errMsg','replace','OvQfR','onKickedOffLine','QDNgz','onLoginSuccessFuncList','qrcodeUrl','engine','LSWil','then','pngBase64QrcodeData','ElqwJ','1470JVmoZM','util','delete','onSelfStatusChanged','onProfileDetailInfoChanged','addKernelLoginListener','ZoIGi','tipsTitle','NodeIQQNTWrapperEngine','addKernelProfileListener','getGroupService','gfIRj','onSessionInitComplete','NQaBd','init\x20failed\x20','IKfQY','loginService','getMsgService','QLbno','ProfileListener','loginListener','./NapCat/data','ITdgW','getQRCodePicture','ijSXx','fileLogLevel','NodeIKernelGroupListener','LocalLoginInfoList','initDataListener','mkdirSync','19415cLRRUx','resolve','wJSMH','BuddyListener','last_message_time','35AWAxng','gARQp','onLineDev','dataPath','NodeIKernelBuddyListener','7228856dTmpzb','forEach','SJaiy','uid','startNT','启动失败:\x20','NodeIKernelProfileListener','fileLog','ARQYg','lbowH','init','read','uin','onLoginSuccess','253974FNHrUe','sceneId','consoleLogLevel','登录失败(onQRCodeSessionFailed)','memberCount','createHash','SGcAD','now','assign','3156atCYzA','update','UtTPf','packet_sent','OBimJ','message_received','getQuickLoginList','XSzKA','TjjVV','gpOeX','_GW_B','xSDbG'];_0xf397=function(){return _0x2bf009;};return _0xf397();}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{[_0x5751ff(0x1cc)];[_0x5751ff(0x182)];['engine'];['loginListener'];[_0x5751ff(0x191)];[_0x5751ff(0x17a)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x205127=_0x5751ff,LiQule={'ITdgW':function(callee,param1){return callee(param1);},'Qqfor':function(x,y){return x===y;}};if(LiQule[_0x205127(0x1e1)](typeof target[prop],_0x205127(0x161)))return(...args)=>{const _0x1e797b=_0x205127;LiQule[_0x1e797b(0x197)](logDebug,target['constructor'][_0x1e797b(0x1f3)]+_0x1e797b(0x1d5)+prop);};return Reflect[_0x205127(0x167)](target,prop,receiver);}};constructor(){const _0x3462b5=_0x5751ff,_0x236a3e={'gpOeX':function(_0x398ce4,_0x16eef1){return _0x398ce4(_0x16eef1);},'wJSMH':function(_0x321f2f,_0x520822){return _0x321f2f+_0x520822;},'NQaBd':'当前账号(','QDNgz':function(_0x365fa1,_0x5bbc8b,_0x32b513){return _0x365fa1(_0x5bbc8b,_0x32b513);},'XaVmX':function(_0x4ee4da,_0x4b77c2){return _0x4ee4da instanceof _0x4b77c2;},'TjjVV':function(_0x8e1e91,_0x38a6fd,_0x2a937b){return _0x8e1e91(_0x38a6fd,_0x2a937b);},'QLbno':_0x3462b5(0x196),'xSDbG':_0x3462b5(0x1d9),'wDoTg':_0x3462b5(0x1ba),'HtHlf':function(_0x588331,_0x5d8a26){return _0x588331==_0x5d8a26;}};this[_0x3462b5(0x17c)]=new _0x46cdf2[(_0x3462b5(0x189))](),this['util']=new _0x46cdf2[(_0x3462b5(0x1da))](),this[_0x3462b5(0x191)]=new _0x46cdf2[(_0x3462b5(0x1ea))](),this[_0x3462b5(0x1cc)]=new _0x46cdf2['NodeIQQNTWrapperSession'](),this[_0x3462b5(0x195)]=new LoginListener(),this[_0x3462b5(0x195)]['onUserLoggedIn']=_0xc349e0=>{const _0x26f317=_0x3462b5;_0x236a3e[_0x26f317(0x1c9)](logError,_0x236a3e['wJSMH'](_0x236a3e[_0x26f317(0x1a1)](_0x236a3e[_0x26f317(0x18e)],_0xc349e0),_0x26f317(0x1ed)));},this[_0x3462b5(0x14b)](),this[_0x3462b5(0x195)]['onQRCodeLoginSucceed']=_0x4b1643=>{const _0x4ca8db=_0x3462b5,_0x167e2b={'gjrAG':function(_0x5be0d0,_0x3c17e7){const _0x1929e7=_0x3aeb;return _0x236a3e[_0x1929e7(0x15e)](_0x5be0d0,_0x3c17e7);},'lucJV':function(_0xe2b065,_0x340667,_0x4b47c9){const _0x434fa1=_0x3aeb;return _0x236a3e[_0x434fa1(0x1c8)](_0xe2b065,_0x340667,_0x4b47c9);},'LSWil':function(_0x1f6485,_0x1dc04c){return _0x1f6485(_0x1dc04c);},'ijSXx':_0x236a3e[_0x4ca8db(0x193)],'bbUAn':_0x236a3e[_0x4ca8db(0x1cb)]};this['initSession'](_0x4b1643['uin'],_0x4b1643[_0x4ca8db(0x1ac)])[_0x4ca8db(0x17e)](_0x586c7c=>{const _0x42f533=_0x4ca8db,_0x3e6881={'ElqwJ':function(_0xb9983f,_0x3e51d7,_0x188060){return _0xb9983f(_0x3e51d7,_0x188060);}};selfInfo[_0x42f533(0x1b5)]=_0x4b1643[_0x42f533(0x1b5)],selfInfo[_0x42f533(0x1ac)]=_0x4b1643['uid'],napCatConfig[_0x42f533(0x1b4)](),_0x167e2b[_0x42f533(0x146)](setLogLevel,napCatConfig[_0x42f533(0x19a)],napCatConfig[_0x42f533(0x1b9)]),enableFileLog(napCatConfig[_0x42f533(0x1b0)]),_0x167e2b['LSWil'](enableConsoleLog,napCatConfig[_0x42f533(0x14c)]),_0x167e2b[_0x42f533(0x17d)](setLogSelfInfo,selfInfo);const _0x4c80d1=_0x5c6141[_0x42f533(0x1a0)](this['dataPath'],_0x167e2b[_0x42f533(0x199)]);_0x5029d9[_0x42f533(0x19e)](_0x4c80d1,{'recursive':!![]}),logDebug(_0x167e2b['bbUAn'],_0x4c80d1),dbUtil[_0x42f533(0x1b3)](_0x5c6141[_0x42f533(0x1a0)](_0x4c80d1,'./'+_0x4b1643[_0x42f533(0x1b5)]+_0x42f533(0x16c)))[_0x42f533(0x17e)](()=>{const _0x301fa5=_0x42f533,_0x8abeb4={'GyOQG':function(_0x2d07a8,_0x43ba9d,_0x22e256){return _0x2d07a8(_0x43ba9d,_0x22e256);},'OjMMl':function(_0x3f8997,_0x194b05){return _0x167e2b['gjrAG'](_0x3f8997,_0x194b05);}};this[_0x301fa5(0x19d)](),this[_0x301fa5(0x17a)][_0x301fa5(0x157)](_0x1f31c2=>{const _0xe078af=_0x301fa5;new Promise((_0x5bc21f,_0x59b7aa)=>{const _0x58c845=_0x3aeb,_0x44d09d=_0x8abeb4['GyOQG'](_0x1f31c2,_0x4b1643['uin'],_0x4b1643[_0x58c845(0x1ac)]);_0x8abeb4['OjMMl'](_0x44d09d,Promise)&&_0x44d09d['then'](_0x5bc21f)[_0x58c845(0x16a)](_0x59b7aa);})[_0xe078af(0x17e)]();});})['catch'](_0x1b0ec3=>{const _0x231238=_0x42f533;_0x3e6881[_0x231238(0x180)](logError,'数据库初始化失败',_0x1b0ec3);});})['catch'](_0x5202bf=>{const _0x1489a1=_0x4ca8db;_0x236a3e[_0x1489a1(0x179)](logError,'initSession\x20failed',_0x5202bf);throw new Error(_0x1489a1(0x1ae)+JSON['stringify'](_0x5202bf));});},this[_0x3462b5(0x195)][_0x3462b5(0x152)]=(_0x400fac,_0x44b44f,_0x298bc9)=>{const _0x30a400=_0x3462b5;_0x236a3e[_0x30a400(0x1c8)](logError,_0x236a3e['wDoTg'],_0x298bc9),_0x236a3e[_0x30a400(0x1ef)](_0x400fac,0x1)&&_0x236a3e['HtHlf'](_0x44b44f,0x3)&&this[_0x30a400(0x191)][_0x30a400(0x198)]();},this[_0x3462b5(0x195)]['onLoginFailed']=_0x10e562=>{const _0x8650a8=_0x3462b5;_0x236a3e[_0x8650a8(0x1c8)](logError,'登录失败(onLoginFailed)',_0x10e562);},this['loginListener']=new Proxy(this[_0x3462b5(0x195)],this['proxyHandler']),this[_0x3462b5(0x191)][_0x3462b5(0x186)](new _0x46cdf2['NodeIKernelLoginListener'](this[_0x3462b5(0x195)]));}get['dataPath'](){const _0x2e1d73=_0x5751ff,_0x25d140={'yNwBB':_0x2e1d73(0x15c)};let _0x533043=this['util']['getNTUserDataInfoConfig']();return!_0x533043&&(_0x533043=_0x5c6141[_0x2e1d73(0x1a0)](_0x4f9957['homedir'](),_0x25d140['yNwBB']),_0x5029d9[_0x2e1d73(0x19e)](_0x533043,{'recursive':!![]})),_0x533043;}get[_0x5751ff(0x1dd)](){const _0x2eaeb7=_0x5751ff,_0x5d06f0={'lbowH':_0x2eaeb7(0x145)};return _0x5c6141[_0x2eaeb7(0x1a0)](this[_0x2eaeb7(0x1a7)],_0x5d06f0[_0x2eaeb7(0x1b2)]);}[_0x5751ff(0x14b)](){const _0x99491=_0x5751ff;this[_0x99491(0x17c)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x99491(0x1d7)],'os_version':_0x99491(0x1d6),'use_xlog':!![],'qua':_0x99491(0x153)+qqVersionConfigInfo[_0x99491(0x1d7)][_0x99491(0x176)]('-','_')+_0x99491(0x1ca),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x46cdf2[(_0x99491(0x1ce))](new GlobalAdapter())),this[_0x99491(0x191)][_0x99491(0x14b)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x99491(0x1dd)],'clientVer':qqVersionConfigInfo[_0x99491(0x1d7)],'hostName':hostname});}['initSession'](_0x51dd50,_0x2a91f7){const _0x3dfc6a={'KQLGQ':function(_0x902228,_0x455dd9,_0x344270,_0x4eed98){return _0x902228(_0x455dd9,_0x344270,_0x4eed98);},'CmgLF':function(_0x49b963,_0x3964c7){return _0x49b963(_0x3964c7);},'orVGI':function(_0xdee3de,_0x5c2a5f){return _0xdee3de+_0x5c2a5f;}};return new Promise(async(_0x505563,_0x20db3c)=>{const _0xb78471=_0x3aeb,_0x562db9={'vkTNa':function(_0x4160b8,_0x13ee25){return _0x4160b8===_0x13ee25;},'EAwNh':function(_0x5bc3af,_0x695fac){return _0x5bc3af(_0x695fac);}},_0x52ec82=await _0x3dfc6a['KQLGQ'](genSessionConfig,_0x51dd50,_0x2a91f7,this['dataPath']),_0x423239=new SessionListener();_0x423239[_0xb78471(0x18d)]=_0x4d0419=>{const _0x57e46b=_0xb78471;if(_0x562db9[_0x57e46b(0x1ec)](_0x4d0419,0x0))return _0x505563(0x0);_0x562db9[_0x57e46b(0x155)](_0x20db3c,_0x4d0419);},this['session'][_0xb78471(0x1b3)](_0x52ec82,new _0x46cdf2['NodeIDependsAdapter'](new DependsAdapter()),new _0x46cdf2[(_0xb78471(0x158))](new DispatcherAdapter()),new _0x46cdf2[(_0xb78471(0x15a))](_0x423239));try{this['session'][_0xb78471(0x1ad)](0x0);}catch(_0x32fd21){try{this[_0xb78471(0x1cc)][_0xb78471(0x1ad)]();}catch(_0x49799f){_0x3dfc6a['CmgLF'](_0x20db3c,_0x3dfc6a[_0xb78471(0x1e9)](_0xb78471(0x18f),_0x49799f));}}});}['initDataListener'](){const _0x594d8d=_0x5751ff,_0x3f2bc1={'NVlst':function(_0x550303,_0x3ddad5){return _0x550303===_0x3ddad5;},'xfHgI':function(_0x4a4d3a,_0x52d696){return _0x4a4d3a(_0x52d696);},'mbGhF':function(_0x13e912,_0x2e1b83){return _0x13e912+_0x2e1b83;},'TTDZU':'账号设备(','AUamY':function(_0x41bab0,_0x26b23f){return _0x41bab0(_0x26b23f);},'KKgQo':_0x594d8d(0x1db),'OvQfR':function(_0x457658,_0x5c2ad5){return _0x457658/_0x5c2ad5;},'XxJDy':function(_0x4bb967,_0xd9922e){return _0x4bb967===_0xd9922e;},'BTSxl':'groupMemberList_MainWindow','XrqsN':function(_0x3a896e,_0x8b9f20,_0x99b19c){return _0x3a896e(_0x8b9f20,_0x99b19c);}},_0x54ef2f=new MsgListener();_0x54ef2f[_0x594d8d(0x1a6)]=_0x557bb2=>{const _0x38caee=_0x594d8d,_0xc90876={'XSzKA':function(_0x4df4dc,_0x3bef88){return _0x3f2bc1['NVlst'](_0x4df4dc,_0x3bef88);},'QaKbZ':function(_0x2b1fe6,_0xa013){return _0x3f2bc1['xfHgI'](_0x2b1fe6,_0xa013);},'vHgSX':function(_0x386383,_0x461c55){const _0x5ad994=_0x3aeb;return _0x3f2bc1[_0x5ad994(0x15d)](_0x386383,_0x461c55);},'ZoIGi':_0x3f2bc1[_0x38caee(0x1e8)]};_0x557bb2[_0x38caee(0x157)](_0x13a401=>{const _0x59f2ca=_0x38caee;_0xc90876[_0x59f2ca(0x1c7)](_0x13a401['clientType'],0x2)&&_0xc90876[_0x59f2ca(0x16b)](log,_0xc90876[_0x59f2ca(0x171)](_0xc90876['vHgSX'](_0xc90876[_0x59f2ca(0x187)],_0x13a401[_0x59f2ca(0x162)]),_0x59f2ca(0x1f0)));});},_0x54ef2f[_0x594d8d(0x178)]=_0x33761b=>{const _0x5160af=_0x594d8d;_0x3f2bc1[_0x5160af(0x1d1)](log,_0x3f2bc1[_0x5160af(0x14f)]+_0x33761b[_0x5160af(0x188)]+']\x20'+_0x33761b['tipsDesc']);},_0x54ef2f[_0x594d8d(0x1cf)]=_0x2c0a5b=>{const _0x16b67e=_0x594d8d;stat[_0x16b67e(0x1c3)]+=0x1,stat[_0x16b67e(0x1eb)]+=0x1,stat[_0x16b67e(0x1a3)]=Math[_0x16b67e(0x16d)](_0x3f2bc1[_0x16b67e(0x177)](Date['now'](),0x3e8));},_0x54ef2f['onRecvMsg']=_0x12d643=>{const _0x2307b8=_0x594d8d;stat[_0x2307b8(0x16f)]+=0x1,stat[_0x2307b8(0x1c5)]+=_0x12d643['length'],stat[_0x2307b8(0x1a3)]=Math['floor'](_0x3f2bc1[_0x2307b8(0x177)](Date[_0x2307b8(0x1be)](),0x3e8));},_0x54ef2f['onRecvSysMsg']=(..._0x2974ad)=>{const _0x55666f=_0x594d8d;stat[_0x55666f(0x16f)]+=0x1;},this[_0x594d8d(0x1e7)](_0x54ef2f);const _0xfc0206=new BuddyListener();_0xfc0206['onBuddyListChange']=_0x1b73f6=>{const _0x196a07=_0x594d8d;rawFriends[_0x196a07(0x1ee)]=0x0,rawFriends[_0x196a07(0x1df)](..._0x1b73f6);for(const _0xa76fe8 of _0x1b73f6){for(const _0xb4c3c7 of _0xa76fe8[_0x196a07(0x156)]){const _0x589664=friends[_0x196a07(0x167)](_0xb4c3c7['uid']);_0x589664?Object[_0x196a07(0x1bf)](_0x589664,_0xb4c3c7):friends['set'](_0xb4c3c7[_0x196a07(0x1ac)],_0xb4c3c7);}}},this[_0x594d8d(0x1e7)](_0xfc0206),this['session'][_0x594d8d(0x150)]()['getBuddyList'](!![])[_0x594d8d(0x17e)](_0x20ea27=>{});const _0x2e56f3=new ProfileListener();_0x2e56f3[_0x594d8d(0x185)]=_0x3523df=>{const _0x22ab43=_0x594d8d;_0x3f2bc1[_0x22ab43(0x174)](_0x3523df[_0x22ab43(0x1ac)],selfInfo[_0x22ab43(0x1ac)])&&Object['assign'](selfInfo,_0x3523df);},_0x2e56f3[_0x594d8d(0x184)]=_0x43e91f=>{},this[_0x594d8d(0x1e7)](_0x2e56f3);const _0x1c87e4=new GroupListener();_0x1c87e4['onGroupListUpdate']=(_0x40e4bc,_0x4f95db)=>{const _0x537f5f=_0x594d8d,_0x4f9d87={'lzbyp':function(_0x166da0,_0x117aa1){return _0x166da0===_0x117aa1;},'OBimJ':_0x3f2bc1[_0x537f5f(0x15f)]};_0x4f95db[_0x537f5f(0x157)](_0x34f8a3=>{const _0x1d1172=_0x537f5f,_0x57da6a=groups['get'](_0x34f8a3[_0x1d1172(0x151)]);_0x57da6a&&_0x4f9d87[_0x1d1172(0x144)](_0x34f8a3['memberCount'],_0x57da6a[_0x1d1172(0x1bb)])?Object[_0x1d1172(0x1bf)](_0x57da6a,_0x34f8a3):groups[_0x1d1172(0x1d0)](_0x34f8a3[_0x1d1172(0x151)],_0x34f8a3);const _0x41d9e4=this[_0x1d1172(0x1cc)][_0x1d1172(0x18b)]()[_0x1d1172(0x1e6)](_0x34f8a3['groupCode'],_0x4f9d87[_0x1d1172(0x1c4)]);this[_0x1d1172(0x1cc)][_0x1d1172(0x18b)]()[_0x1d1172(0x159)](_0x41d9e4,undefined,0xbb8)[_0x1d1172(0x17e)](_0x388921=>{});});},_0x1c87e4[_0x594d8d(0x143)]=_0x102924=>{const _0xff245f=_0x594d8d,_0x392deb=_0x102924[_0xff245f(0x1b8)][_0xff245f(0x15b)]('_')[0x0];if(groupMembers['has'](_0x392deb)){const _0x59f398=groupMembers[_0xff245f(0x167)](_0x392deb);_0x102924[_0xff245f(0x164)]['forEach']((_0x2ddb53,_0x4b954e)=>{const _0x100be7=_0xff245f,_0x8e1a5d=_0x59f398[_0x100be7(0x167)](_0x4b954e);_0x8e1a5d?Object[_0x100be7(0x1bf)](_0x8e1a5d,_0x2ddb53):_0x59f398['set'](_0x4b954e,_0x2ddb53);});}else groupMembers[_0xff245f(0x1d0)](_0x392deb,_0x102924['infos']);},_0x1c87e4['onMemberInfoChange']=(_0x329920,_0x28fe18,_0x59256b)=>{const _0x3038a2=_0x594d8d;_0x3f2bc1['NVlst'](_0x28fe18,0x0)&&_0x59256b['get'](selfInfo['uid'])?.[_0x3038a2(0x1f1)]&&_0x3f2bc1['XrqsN'](setTimeout,()=>{const _0x48b472=_0x3038a2;groups[_0x48b472(0x183)](_0x329920);},0x1388);const _0x16f6b4=groupMembers['get'](_0x329920);_0x16f6b4?_0x59256b[_0x3038a2(0x1aa)]((_0x50f707,_0x2bc8fb)=>{const _0x33fe41=_0x3038a2,_0x459cc0=_0x16f6b4[_0x33fe41(0x167)](_0x2bc8fb);_0x459cc0?Object['assign'](_0x459cc0,_0x50f707):_0x16f6b4[_0x33fe41(0x1d0)](_0x2bc8fb,_0x50f707);}):groupMembers[_0x3038a2(0x1d0)](_0x329920,_0x59256b);},this['addListener'](_0x1c87e4);}[_0x5751ff(0x1e7)](_0xab60f8){const _0x12a26f=_0x5751ff,_0xddfa44={'SGcAD':_0x12a26f(0x1a2),'lvryY':'MsgListener','SJaiy':_0x12a26f(0x194)};_0xab60f8=new Proxy(_0xab60f8,this['proxyHandler']);switch(_0xab60f8[_0x12a26f(0x1e4)][_0x12a26f(0x1f3)]){case _0xddfa44[_0x12a26f(0x1bd)]:{return this[_0x12a26f(0x1cc)][_0x12a26f(0x150)]()['addKernelBuddyListener'](new _0x46cdf2[(_0x12a26f(0x1a8))](_0xab60f8));}case _0x12a26f(0x149):{return this[_0x12a26f(0x1cc)][_0x12a26f(0x18b)]()[_0x12a26f(0x1e0)](new _0x46cdf2[(_0x12a26f(0x19b))](_0xab60f8));}case _0xddfa44[_0x12a26f(0x1d8)]:{return this[_0x12a26f(0x1cc)][_0x12a26f(0x192)]()[_0x12a26f(0x14e)](new _0x46cdf2[(_0x12a26f(0x160))](_0xab60f8));}case _0xddfa44[_0x12a26f(0x1ab)]:{return this[_0x12a26f(0x1cc)]['getProfileService']()[_0x12a26f(0x18a)](new _0x46cdf2[(_0x12a26f(0x1af))](_0xab60f8));}default:return-0x1;}}[_0x5751ff(0x1b6)](_0x28a17c){const _0x5f3c04=_0x5751ff;NTEventDispatch['init']({'ListenerMap':_0x46cdf2,'WrapperSession':this[_0x5f3c04(0x1cc)]}),this['onLoginSuccessFuncList'][_0x5f3c04(0x1df)](_0x28a17c);}async['quickLogin'](_0x2b38d9){const _0x371146=_0x5751ff,_0x5201aa={'uRPOB':function(_0x20527e,_0x196889){return _0x20527e!==_0x196889;},'EJHLL':_0x371146(0x14a),'eqEzg':function(_0x2eec9c,_0x56f166){return _0x2eec9c(_0x56f166);},'sOeBh':function(_0x5ac1a0,_0x216021){return _0x5ac1a0+_0x216021;},'ARQYg':'快速登录失败\x20'},_0x4f3ee9=await this[_0x371146(0x191)][_0x371146(0x165)]();if(_0x5201aa['uRPOB'](_0x4f3ee9[_0x371146(0x1d3)],0x0))throw new Error(_0x5201aa[_0x371146(0x168)]);const _0x336c12=_0x4f3ee9[_0x371146(0x19c)][_0x371146(0x1e3)](_0x105f24=>_0x105f24['uin']===_0x2b38d9);if(!_0x336c12||!_0x336c12?.['isQuickLogin'])throw new Error(_0x2b38d9+_0x371146(0x1de));await _0x5201aa[_0x371146(0x14d)](sleep,0x3e8);const _0x4a3170=await this[_0x371146(0x191)][_0x371146(0x1d2)](_0x2b38d9);if(!_0x4a3170[_0x371146(0x1d3)])throw new Error(_0x5201aa[_0x371146(0x148)](_0x5201aa[_0x371146(0x1b1)],_0x4a3170[_0x371146(0x16e)][_0x371146(0x175)]));return _0x4a3170;}async['qrLogin'](_0x64b4e7){const _0x2c3718=_0x5751ff,_0x29faea={'mjGlR':_0x2c3718(0x1cd),'MUpCk':function(_0x4f9f8e,_0x56d498,_0x3e6ef6,_0x49f32b){return _0x4f9f8e(_0x56d498,_0x3e6ef6,_0x49f32b);}};return new Promise((_0x11cfad,_0x256fc9)=>{const _0x3ce200=_0x2c3718,_0xe4e6f7={'gARQp':_0x29faea['mjGlR'],'IKfQY':function(_0x3f3f22,_0x37615a,_0x4e7662,_0x2465f5){const _0x4d48ca=_0x3aeb;return _0x29faea[_0x4d48ca(0x172)](_0x3f3f22,_0x37615a,_0x4e7662,_0x2465f5);}};this[_0x3ce200(0x195)]['onQRCodeGetPicture']=_0x5cc62f=>{const _0xc776bf=_0x3ce200,_0x468c37=_0x5cc62f[_0xc776bf(0x17f)][_0xc776bf(0x15b)]('data:image/png;base64,')[0x1],_0x42a403=Buffer['from'](_0x468c37,_0xe4e6f7[_0xc776bf(0x1a5)]);_0xe4e6f7[_0xc776bf(0x190)](_0x64b4e7,_0x5cc62f[_0xc776bf(0x17b)],_0x5cc62f['pngBase64QrcodeData'],_0x42a403);},this[_0x3ce200(0x191)]['getQRCodePicture']();});}async[_0x5751ff(0x166)](_0x558dc0,_0x56c445,_0x1b53a5,_0x2c402b,_0x3ad08d){const _0x5ade98=_0x5751ff,_0x45e864={'fJKte':function(_0x203bd1,_0x54d083){return _0x203bd1&&_0x54d083;},'LyIYh':function(_0x561010,_0x23b7aa){return _0x561010||_0x23b7aa;},'NvwKa':function(_0x13f37f,_0x6b8fdb){return _0x13f37f||_0x6b8fdb;},'UtTPf':function(_0x3710f1,_0x46030f){return _0x3710f1(_0x46030f);},'gfIRj':'140022008','qBsGP':_0x5ade98(0x154)},_0x9980ad=_0x33269f[_0x5ade98(0x1bc)](_0x5ade98(0x1e2))[_0x5ade98(0x1c1)](_0x56c445)[_0x5ade98(0x1e5)]('hex'),_0x467129={'uin':_0x558dc0,'passwordMd5':_0x9980ad,'step':_0x45e864[_0x5ade98(0x1d4)](_0x1b53a5,_0x2c402b)&&_0x3ad08d?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x45e864[_0x5ade98(0x1f2)](_0x1b53a5,''),'proofWaterRand':_0x2c402b||'','proofWaterSid':_0x45e864[_0x5ade98(0x1f4)](_0x3ad08d,'')};await this['loginService'][_0x5ade98(0x165)](),await _0x45e864[_0x5ade98(0x1c2)](sleep,0x3e8);const _0x5ae9be=await this[_0x5ade98(0x191)][_0x5ade98(0x166)](_0x467129);switch(_0x5ae9be[_0x5ade98(0x1d3)]){case'0':{break;}case _0x45e864[_0x5ade98(0x18c)]:{break;}case'4':case _0x45e864[_0x5ade98(0x169)]:default:}}async[_0x5751ff(0x1c6)](){const _0x45d08f=_0x5751ff,_0xc9fe35=await this['loginService'][_0x45d08f(0x165)]();return _0xc9fe35;}}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 650233f1..ed905f8b 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(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 +(function(_0x1db0f8,_0x45c2f5){const _0x1b6984=_0x1ca0,_0x254187=_0x1db0f8();while(!![]){try{const _0x31669a=-parseInt(_0x1b6984(0x1f6))/0x1+-parseInt(_0x1b6984(0x1ed))/0x2+-parseInt(_0x1b6984(0x1fc))/0x3+-parseInt(_0x1b6984(0x1fb))/0x4*(parseInt(_0x1b6984(0x1ec))/0x5)+-parseInt(_0x1b6984(0x1fa))/0x6*(-parseInt(_0x1b6984(0x1f3))/0x7)+parseInt(_0x1b6984(0x1f1))/0x8*(-parseInt(_0x1b6984(0x1eb))/0x9)+parseInt(_0x1b6984(0x1fd))/0xa;if(_0x31669a===_0x45c2f5)break;else _0x254187['push'](_0x254187['shift']());}catch(_0x2ec967){_0x254187['push'](_0x254187['shift']());}}}(_0x2857,0x63f98));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();function _0x1ca0(_0x3b8714,_0x1883c7){const _0x285703=_0x2857();return _0x1ca0=function(_0x1ca04b,_0x24a14b){_0x1ca04b=_0x1ca04b-0x1ea;let _0x2a8b00=_0x285703[_0x1ca04b];return _0x2a8b00;},_0x1ca0(_0x3b8714,_0x1883c7);}export function deleteGroup(_0x21532e){const _0x4302d3=_0x1ca0;groups[_0x4302d3(0x1fe)](_0x21532e),groupMembers[_0x4302d3(0x1fe)](_0x21532e);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x5156cf){const _0xac37d7=_0x1ca0;let _0xcd22b9=groups[_0xac37d7(0x1f0)](_0x5156cf[_0xac37d7(0x1ef)]());if(!_0xcd22b9)try{const _0x4095be=await NTQQGroupApi[_0xac37d7(0x1f5)]();_0x4095be['length']&&_0x4095be['forEach'](_0x5f34ae=>{const _0x5615e9=_0xac37d7;groups[_0x5615e9(0x1f9)](_0x5f34ae['groupCode'],_0x5f34ae);});}catch(_0x5986d8){return undefined;}return _0xcd22b9=groups[_0xac37d7(0x1f0)](_0x5156cf[_0xac37d7(0x1ef)]()),_0xcd22b9;}export async function getGroupMember(_0x583983,_0x1388d3){const _0x3fb9bb=_0x1ca0,_0x4e9d7b={'YfjNQ':function(_0x2a632f,_0x415c65){return _0x2a632f(_0x415c65);},'dYqOZ':function(_0x251abb){return _0x251abb();}};_0x583983=_0x583983[_0x3fb9bb(0x1ef)](),_0x1388d3=_0x1388d3[_0x3fb9bb(0x1ef)]();let _0x208c68=groupMembers[_0x3fb9bb(0x1f0)](_0x583983);if(!_0x208c68)try{_0x208c68=await NTQQGroupApi[_0x3fb9bb(0x1ee)](_0x583983),groupMembers[_0x3fb9bb(0x1f9)](_0x583983,_0x208c68);}catch(_0xce45bc){return null;}const _0x2dd4f5=()=>{const _0x1d1859=_0x3fb9bb;let _0x514cbe=undefined;return _0x4e9d7b['YfjNQ'](isNumeric,_0x1388d3)?_0x514cbe=Array[_0x1d1859(0x1f4)](_0x208c68[_0x1d1859(0x1f7)]())[_0x1d1859(0x1ea)](_0x4025e9=>_0x4025e9[_0x1d1859(0x1f2)]===_0x1388d3):_0x514cbe=_0x208c68['get'](_0x1388d3),_0x514cbe;};let _0x11a15f=_0x4e9d7b[_0x3fb9bb(0x1f8)](_0x2dd4f5);return!_0x11a15f&&(_0x208c68=await NTQQGroupApi[_0x3fb9bb(0x1ee)](_0x583983),_0x11a15f=_0x4e9d7b[_0x3fb9bb(0x1f8)](_0x2dd4f5)),_0x11a15f;}export const tempGroupCodeMap={};function _0x2857(){const _0x2fbf58=['get','21952KmHfVo','uin','3523779NHYFGW','from','getGroups','581971kzplmV','values','dYqOZ','set','6BdPwxt','4npgHds','256101LeRwpc','16182960lgHOwH','delete','find','351DKFksJ','930035mnvusZ','1503672SVOGAW','getGroupMembers','toString'];_0x2857=function(){return _0x2fbf58;};return _0x2857();}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 71f3efba..cb01e8b3 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(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 +(function(_0xc09d63,_0x2f3fca){var _0x425e03=_0x39e2,_0x48afe9=_0xc09d63();while(!![]){try{var _0x59acc0=-parseInt(_0x425e03(0x9f))/0x1*(-parseInt(_0x425e03(0x9e))/0x2)+parseInt(_0x425e03(0xa7))/0x3+-parseInt(_0x425e03(0xa2))/0x4*(-parseInt(_0x425e03(0xa4))/0x5)+-parseInt(_0x425e03(0xa6))/0x6*(parseInt(_0x425e03(0x97))/0x7)+parseInt(_0x425e03(0xa0))/0x8*(-parseInt(_0x425e03(0x98))/0x9)+-parseInt(_0x425e03(0xa1))/0xa*(parseInt(_0x425e03(0x95))/0xb)+parseInt(_0x425e03(0x99))/0xc*(-parseInt(_0x425e03(0x96))/0xd);if(_0x59acc0===_0x2f3fca)break;else _0x48afe9['push'](_0x48afe9['shift']());}catch(_0x426170){_0x48afe9['push'](_0x48afe9['shift']());}}}(_0x61a1,0xec914));;function _0x61a1(){var _0x5639c2=['4204614sWRIeM','lUQUH','11vEswYF','39RDRRTW','6443689RRQHDr','45litjYq','27408ffMZqI','VIDEO','fGKke','IMAGE','cHGkv','2DSVAyG','629117NSWEiZ','262344nVOzFt','14060090VfSjZF','2871356BKrfRG','AUDIO','10WcBnGF','DOCUMENT','6ckSeaH'];_0x61a1=function(){return _0x5639c2;};return _0x61a1();}function _0x39e2(_0x589934,_0x34af2c){var _0x61a17b=_0x61a1();return _0x39e2=function(_0x39e2d9,_0x585546){_0x39e2d9=_0x39e2d9-0x94;var _0x580b20=_0x61a17b[_0x39e2d9];return _0x580b20;},_0x39e2(_0x589934,_0x34af2c);}export var CacheFileType;(function(_0x93ac42){var _0x226495=_0x39e2,_0x2e1d15={'fGKke':_0x226495(0x9c),'lUQUH':_0x226495(0xa3),'cHGkv':_0x226495(0xa5),'Xpcfu':'OTHER'};_0x93ac42[_0x93ac42[_0x2e1d15['fGKke']]=0x0]=_0x2e1d15[_0x226495(0x9b)],_0x93ac42[_0x93ac42[_0x226495(0x9a)]=0x1]=_0x226495(0x9a),_0x93ac42[_0x93ac42[_0x2e1d15[_0x226495(0x94)]]=0x2]=_0x2e1d15['lUQUH'],_0x93ac42[_0x93ac42[_0x2e1d15['cHGkv']]=0x3]=_0x2e1d15[_0x226495(0x9d)],_0x93ac42[_0x93ac42[_0x2e1d15['Xpcfu']]=0x4]=_0x2e1d15['Xpcfu'];}(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 c5215a88..b7e3d0b0 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -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 +const _0x210ff2=_0xfc0f;(function(_0x530d7b,_0x293976){const _0x25e16a=_0xfc0f,_0x20de0d=_0x530d7b();while(!![]){try{const _0xb09ee6=parseInt(_0x25e16a(0xcf))/0x1*(-parseInt(_0x25e16a(0x119))/0x2)+-parseInt(_0x25e16a(0x101))/0x3*(parseInt(_0x25e16a(0xe5))/0x4)+-parseInt(_0x25e16a(0xfd))/0x5*(-parseInt(_0x25e16a(0x114))/0x6)+parseInt(_0x25e16a(0xc3))/0x7*(-parseInt(_0x25e16a(0x105))/0x8)+-parseInt(_0x25e16a(0xf2))/0x9+-parseInt(_0x25e16a(0xf5))/0xa+parseInt(_0x25e16a(0xc5))/0xb;if(_0xb09ee6===_0x293976)break;else _0x20de0d['push'](_0x20de0d['shift']());}catch(_0x4a2114){_0x20de0d['push'](_0x20de0d['shift']());}}}(_0x5244,0xe0377));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2f17c4}from'node:fs';function _0x5244(){const _0x2bee12=['lbAVD','jpg','height','aHwBN','DemSR','hQpkU','unlink','TEXT','toString','获取视频封面失败,使用默认封面','OxNEI','_0.png','mp4','CYRcJ','join','https://www.bilibili.com/','tNFsW','dice','ark','get','5878148NqhfTf','then','FILE','REPLY','set','kRKBf','PCMTX','[包剪锤]','sysface','rps','dizJV','获取视频信息失败','VqAoM','12163437abiOcW','TEfBI','video','14733610ZIifLJ','AniStickerPackId','mface','PIC','Thumb','markdown','size','bqzrl','1635WAfqdm','miniapp','sep','QDes','3NNTqHb','ptt','RdJqk','KxPJw','64oxOvmd','end','nWtyT','copyFile','file','stat','fIuPy','getImageSize','dirname','NmvHZ','文件异常,大小为0','error','fmqcg','notAt','RPS','17676NZgzbb','gif','[商城表情]','ByWwp','mILFa','18878sTzYxR','writeFile','FACE','width','face','string','PTT','VIDEO','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','1307383eNWDHN','emoji','63906315BaJrAW','Ori','uploadFile','XQCaB','catch','Bot\x20Test','uDGJI','AniStickerType','QhDwI','MARKDOWN','7ZyMuSr','ARK'];_0x5244=function(){return _0x2bee12;};return _0x5244();}import _0x5ecf38 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';function _0xfc0f(_0x4faf1f,_0x39bb2e){const _0x5244a8=_0x5244();return _0xfc0f=function(_0xfc0f1a,_0x4140ff){_0xfc0f1a=_0xfc0f1a-0xbf;let _0x9a4046=_0x5244a8[_0xfc0f1a];return _0x9a4046;},_0xfc0f(_0x4faf1f,_0x39bb2e);}import _0x19c93e from'./face_config.json';import*as _0x2e8279 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x2282ad){const _0x320f2d=_0xfc0f;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x2282ad,'atType':AtType[_0x320f2d(0x112)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x26c121,_0x1f922f,_0x1bebe2,_0x1e891a){const _0x9e9b7e=_0xfc0f;return{'elementType':ElementType[_0x9e9b7e(0xd8)],'elementId':'','textElement':{'content':'@'+_0x1e891a,'atType':_0x1bebe2,'atUid':_0x26c121,'atTinyId':'','atNtUid':_0x1f922f}};}static['reply'](_0x239ed6,_0x339989,_0x4848ef,_0x3e134b){const _0x3311ab=_0xfc0f;return{'elementType':ElementType[_0x3311ab(0xe8)],'elementId':'','replyElement':{'replayMsgSeq':_0x239ed6,'replayMsgId':_0x339989,'senderUin':_0x4848ef,'senderUinStr':_0x3e134b}};}static async['pic'](_0x125f45,_0x1540d3='',_0x4da632=0x0){const _0x3efdec=_0xfc0f,_0x3d9bdc={'myFzd':function(_0x4d5410,_0x3648b1){return _0x4d5410===_0x3648b1;},'mIZzE':_0x3efdec(0x10f),'VqAoM':function(_0x131076,_0x49ed2b){return _0x131076(_0x49ed2b);}},{md5:_0x289419,fileName:_0x3412d0,path:_0x4fb2e1,fileSize:_0x5c854c}=await NTQQFileApi[_0x3efdec(0xc7)](_0x125f45,ElementType[_0x3efdec(0xf8)],_0x4da632);if(_0x3d9bdc['myFzd'](_0x5c854c,0x0))throw _0x3d9bdc['mIZzE'];const _0x14311f=await NTQQFileApi[_0x3efdec(0x10c)](_0x125f45),_0x42abbe={'md5HexStr':_0x289419,'fileSize':_0x5c854c['toString'](),'picWidth':_0x14311f?.[_0x3efdec(0x11c)],'picHeight':_0x14311f?.['height'],'fileName':_0x3412d0,'sourcePath':_0x4fb2e1,'original':!![],'picType':_0x3d9bdc[_0x3efdec(0xf1)](isGIF,_0x125f45)?PicType[_0x3efdec(0x115)]:PicType[_0x3efdec(0xd2)],'picSubType':_0x4da632,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1540d3};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x42abbe};}static async[_0x210ff2(0x109)](_0x8b7179,_0x55a565='',_0x1a0cae=''){const _0x41b579=_0x210ff2,_0x44ce7d={'ZmpUp':function(_0x599668,_0x33a22c){return _0x599668===_0x33a22c;},'tNFsW':_0x41b579(0x10f),'TEfBI':function(_0x2e22c6,_0x393ef1){return _0x2e22c6||_0x393ef1;}},{md5:_0x58f4f9,fileName:_0x37fd02,path:_0x240c78,fileSize:_0x5dcc67}=await NTQQFileApi[_0x41b579(0xc7)](_0x8b7179,ElementType[_0x41b579(0xe7)]);if(_0x44ce7d['ZmpUp'](_0x5dcc67,0x0))throw _0x44ce7d[_0x41b579(0xe1)];const _0x5b4081={'elementType':ElementType[_0x41b579(0xe7)],'elementId':'','fileElement':{'fileName':_0x44ce7d[_0x41b579(0xf3)](_0x55a565,_0x37fd02),'folderId':_0x1a0cae,'filePath':_0x240c78,'fileSize':_0x5dcc67[_0x41b579(0xd9)]()}};return _0x5b4081;}static async[_0x210ff2(0xf4)](_0x4ff42c,_0x4f577e='',_0x434ccd=''){const _0x5101c6=_0x210ff2,_0x3860c2={'bqzrl':function(_0x82db06,_0x515613){return _0x82db06(_0x515613);},'pbqmb':function(_0x4ec464,_0x5aa69f,_0x221877){return _0x4ec464(_0x5aa69f,_0x221877);},'TMxyd':_0x5101c6(0xda),'mTEmJ':function(_0x547416,_0x2e1b2d){return _0x547416(_0x2e1b2d);},'PCMTX':function(_0x45cd84,_0x39908f){return _0x45cd84(_0x39908f);},'KxPJw':_0x5101c6(0x110),'NmvHZ':function(_0x4f3077,_0x4c81f7){return _0x4f3077+_0x4c81f7;},'QhDwI':function(_0x331c2a,_0x1eea2a){return _0x331c2a+_0x1eea2a;},'lbAVD':function(_0x557729,_0x36f71d){return _0x557729===_0x36f71d;},'VAPEp':'文件异常,大小为0','bGuek':_0x5101c6(0xdd),'uDGJI':function(_0x584c2c,_0x1d0f06){return _0x584c2c(_0x1d0f06);},'fIuPy':function(_0x15e503,_0x402c09,_0x253ac9){return _0x15e503(_0x402c09,_0x253ac9);},'JPoYZ':_0x5101c6(0xf0),'dizJV':function(_0x415773,_0x196af0){return _0x415773||_0x196af0;},'nWtyT':function(_0x373b5a,_0x536ec4){return _0x373b5a+_0x536ec4;}},{fileName:_0x343ccd,path:_0x22f285,fileSize:_0x85e272,md5:_0x644f5f}=await NTQQFileApi[_0x5101c6(0xc7)](_0x4ff42c,ElementType['VIDEO']);if(_0x3860c2[_0x5101c6(0xd1)](_0x85e272,0x0))throw _0x3860c2['VAPEp'];let _0x259412=_0x22f285['replace'](_0x2e8279[_0x5101c6(0xff)]+_0x5101c6(0xc6)+_0x2e8279[_0x5101c6(0xff)],_0x2e8279[_0x5101c6(0xff)]+_0x5101c6(0xf9)+_0x2e8279[_0x5101c6(0xff)]);_0x259412=_0x2e8279[_0x5101c6(0x10d)](_0x259412);let _0x43af52={'width':0x780,'height':0x438,'time':0xf,'format':_0x3860c2['bGuek'],'size':_0x85e272,'filePath':_0x4ff42c};try{_0x43af52=await _0x3860c2[_0x5101c6(0xcb)](getVideoInfo,_0x22f285);}catch(_0x50bd91){_0x3860c2[_0x5101c6(0x10b)](logError,_0x3860c2['JPoYZ'],_0x50bd91);}const _0x3c388f=new Promise((_0xcde874,_0xc5a5d8)=>{const _0x4b38b8=_0x5101c6,_0x285c3a={'ByWwp':function(_0x5a74ca,_0x2839f2){return _0x3860c2['bqzrl'](_0x5a74ca,_0x2839f2);}},_0x2dd09c=_0x644f5f+_0x4b38b8(0xdc),_0x18eede=_0x2e8279[_0x4b38b8(0xdf)](_0x259412,_0x2dd09c);_0x3860c2[_0x4b38b8(0xeb)](_0x5ecf38,_0x4ff42c)['on'](_0x4b38b8(0x106),()=>{})['on'](_0x3860c2[_0x4b38b8(0x104)],_0x3bd990=>{const _0x10cddf=_0x4b38b8,_0x13fd4d={'DemSR':function(_0x2386c1,_0x512dc4){const _0x3eb981=_0xfc0f;return _0x3860c2[_0x3eb981(0xfc)](_0x2386c1,_0x512dc4);}};_0x3860c2['pbqmb'](logDebug,_0x3860c2['TMxyd'],_0x3bd990),_0x434ccd?_0x2f17c4[_0x10cddf(0x108)](_0x434ccd,_0x18eede)[_0x10cddf(0xe6)](()=>{const _0x4cad6f=_0x10cddf;_0x13fd4d[_0x4cad6f(0xd5)](_0xcde874,_0x18eede);})['catch'](_0xc5a5d8):_0x2f17c4[_0x10cddf(0x11a)](_0x18eede,defaultVideoThumb)[_0x10cddf(0xe6)](()=>{const _0x36fda4=_0x10cddf;_0x285c3a[_0x36fda4(0x117)](_0xcde874,_0x18eede);})[_0x10cddf(0xc9)](_0xc5a5d8);})['screenshots']({'timestamps':[0x0],'filename':_0x2dd09c,'folder':_0x259412,'size':_0x3860c2[_0x4b38b8(0x10e)](_0x3860c2[_0x4b38b8(0xcd)](_0x43af52[_0x4b38b8(0x11c)],'x'),_0x43af52[_0x4b38b8(0xd3)])})['on'](_0x4b38b8(0x106),()=>{_0x3860c2['mTEmJ'](_0xcde874,_0x18eede);});}),_0x474244=new Map(),_0x4e0bee=await _0x3c388f,_0x585333=(await _0x2f17c4[_0x5101c6(0x10a)](_0x4e0bee))[_0x5101c6(0xfb)];_0x474244[_0x5101c6(0xe9)](0x0,_0x4e0bee);const _0x398033=await _0x3860c2['PCMTX'](calculateFileMD5,_0x4e0bee),_0x5e7065={'elementType':ElementType[_0x5101c6(0xc0)],'elementId':'','videoElement':{'fileName':_0x3860c2[_0x5101c6(0xef)](_0x4f577e,_0x343ccd),'filePath':_0x22f285,'videoMd5':_0x644f5f,'thumbMd5':_0x398033,'fileTime':_0x43af52['time'],'thumbPath':_0x474244,'thumbSize':_0x585333,'thumbWidth':_0x43af52[_0x5101c6(0x11c)],'thumbHeight':_0x43af52[_0x5101c6(0xd3)],'fileSize':_0x3860c2[_0x5101c6(0x107)]('',_0x85e272)}};return _0x5e7065;}static async[_0x210ff2(0x102)](_0xec502){const _0x2e92e3=_0x210ff2,_0x31422={'FWONY':function(_0x5125d2,_0x3220c1){return _0x5125d2(_0x3220c1);},'TDccy':function(_0x358616,_0x239593){return _0x358616===_0x239593;},'RdJqk':_0x2e92e3(0x10f),'fmqcg':function(_0xa56ffa,_0x140806){return _0xa56ffa||_0x140806;}},{converted:_0x558ed7,path:_0x1171c5,duration:_0x2790b2}=await _0x31422['FWONY'](encodeSilk,_0xec502);if(!_0x1171c5)throw'语音转换失败,\x20请检查语音文件是否正常';const {md5:_0x4a1fb7,fileName:_0x5c25ea,path:_0x17ddda,fileSize:_0x1672d3}=await NTQQFileApi[_0x2e92e3(0xc7)](_0x1171c5,ElementType[_0x2e92e3(0xbf)]);if(_0x31422['TDccy'](_0x1672d3,0x0))throw _0x31422[_0x2e92e3(0x103)];return _0x558ed7&&_0x2f17c4[_0x2e92e3(0xd7)](_0x1171c5)[_0x2e92e3(0xe6)](),{'elementType':ElementType[_0x2e92e3(0xbf)],'elementId':'','pttElement':{'fileName':_0x5c25ea,'filePath':_0x17ddda,'md5HexStr':_0x4a1fb7,'fileSize':_0x1672d3,'duration':_0x31422[_0x2e92e3(0x111)](_0x2790b2,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[_0x210ff2(0x11d)](_0x5e4319){const _0x50402e=_0x210ff2,_0xb99af4={'OxNEI':function(_0xcb6b5b,_0x46446a){return _0xcb6b5b(_0x46446a);},'CYRcJ':function(_0xdb4f14,_0x1736a3){return _0xdb4f14>=_0x1736a3;}},_0x5192c5=_0x19c93e[_0x50402e(0xed)],_0x1e8b57=_0x19c93e[_0x50402e(0xc4)],_0x4ca57d=_0x5192c5['find'](_0x5168e8=>_0x5168e8['QSid']===_0x5e4319[_0x50402e(0xd9)]());_0x5e4319=_0xb99af4[_0x50402e(0xdb)](parseInt,_0x5e4319['toString']());let _0x4dfebb=0x1;return _0xb99af4[_0x50402e(0xde)](_0x5e4319,0xde)&&(_0x4dfebb=0x2),_0x4ca57d[_0x50402e(0xcc)]&&(_0x4dfebb=0x3),{'elementType':ElementType[_0x50402e(0x11b)],'elementId':'','faceElement':{'faceIndex':_0x5e4319,'faceType':_0x4dfebb,'faceText':_0x4ca57d[_0x50402e(0x100)],'stickerId':_0x4ca57d['AniStickerId'],'stickerType':_0x4ca57d[_0x50402e(0xcc)],'packId':_0x4ca57d[_0x50402e(0xf6)],'sourceType':0x1}};}static[_0x210ff2(0xf7)](_0x9ef7f,_0x36582f,_0x5d6d3f,_0x331dc8){const _0xf0e042=_0x210ff2,_0x2bb1ef={'nhDyO':_0xf0e042(0x116)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x9ef7f,'emojiId':_0x36582f,'key':_0x5d6d3f,'faceName':_0x331dc8||mFaceCache[_0xf0e042(0xe4)](_0x36582f)||_0x2bb1ef['nhDyO']}};}static[_0x210ff2(0xe2)](_0xe40731){const _0x3c97a5=_0x210ff2,_0x19c642={'aHwBN':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x3c97a5(0xe2)],'faceText':_0x19c642[_0x3c97a5(0xd4)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x210ff2(0xee)](_0x590845){const _0x40bb3e=_0x210ff2;return{'elementType':ElementType[_0x40bb3e(0x11b)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x40bb3e(0x113)],'faceText':_0x40bb3e(0xec),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x210ff2(0xe3)](_0x519cb0){const _0xb19862=_0x210ff2,_0x5bd485={'RComA':function(_0x551486,_0x358031){return _0x551486!==_0x358031;},'kRKBf':_0xb19862(0x11e)};return _0x5bd485['RComA'](typeof _0x519cb0,_0x5bd485[_0xb19862(0xea)])&&(_0x519cb0=JSON['stringify'](_0x519cb0)),{'elementType':ElementType[_0xb19862(0xd0)],'elementId':'','arkElement':{'bytesData':_0x519cb0,'linkInfo':null,'subElementType':null}};}static[_0x210ff2(0xfa)](_0x45ae07){const _0x11597f=_0x210ff2;return{'elementType':ElementType[_0x11597f(0xce)],'elementId':'','markdownElement':{'content':_0x45ae07}};}static async[_0x210ff2(0xfe)](){const _0x532975=_0x210ff2,_0x2a1e3e={'XQCaB':function(_0x3b8cac,_0x1b4bac){return _0x3b8cac(_0x1b4bac);},'hQpkU':_0x532975(0xca),'mtysL':_0x532975(0xc2),'mILFa':_0x532975(0xe0),'naaMO':_0x532975(0xc1)};let _0xc942aa=await _0x2a1e3e[_0x532975(0xc8)](SignMiniApp,{'prompt':'Bot\x20Test','title':_0x2a1e3e[_0x532975(0xd6)],'preview':_0x2a1e3e['mtysL'],'jumpUrl':_0x2a1e3e[_0x532975(0x118)],'tag':_0x2a1e3e['hQpkU'],'tagIcon':_0x532975(0xc1),'source':_0x2a1e3e['hQpkU'],'sourcelogo':_0x2a1e3e['naaMO']});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0xc942aa,'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 3af39153..b5991f1d 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(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 +function _0x3502(){var _0x1cfb52=['2471130dUyvhh','2051430AAFLjm','636992tZqKkg','105133WdgaCt','owner','UbBJC','WguEd','1480602sdhHWB','67004LsvVoK','admin','hJxSY','9315362ssxrdS'];_0x3502=function(){return _0x1cfb52;};return _0x3502();}function _0x9eba(_0x30ea96,_0x10e029){var _0x3502d6=_0x3502();return _0x9eba=function(_0x9eba55,_0x2a9a95){_0x9eba55=_0x9eba55-0x119;var _0x297995=_0x3502d6[_0x9eba55];return _0x297995;},_0x9eba(_0x30ea96,_0x10e029);}(function(_0x3e521a,_0x48e7db){var _0x3c4c13=_0x9eba,_0x5194d1=_0x3e521a();while(!![]){try{var _0x5f4e91=parseInt(_0x3c4c13(0x119))/0x1+parseInt(_0x3c4c13(0x11e))/0x2+-parseInt(_0x3c4c13(0x11d))/0x3+parseInt(_0x3c4c13(0x124))/0x4+-parseInt(_0x3c4c13(0x122))/0x5+-parseInt(_0x3c4c13(0x123))/0x6+parseInt(_0x3c4c13(0x121))/0x7;if(_0x5f4e91===_0x48e7db)break;else _0x5194d1['push'](_0x5194d1['shift']());}catch(_0x2e679d){_0x5194d1['push'](_0x5194d1['shift']());}}}(_0x3502,0x48fe8));export var GroupMemberRole;(function(_0x25637d){var _0x4b7f92=_0x9eba,_0x2c2606={'WguEd':'normal','hJxSY':_0x4b7f92(0x11f),'UbBJC':_0x4b7f92(0x11a)};_0x25637d[_0x25637d[_0x2c2606[_0x4b7f92(0x11c)]]=0x2]=_0x2c2606[_0x4b7f92(0x11c)],_0x25637d[_0x25637d[_0x2c2606[_0x4b7f92(0x120)]]=0x3]=_0x2c2606[_0x4b7f92(0x120)],_0x25637d[_0x25637d[_0x2c2606['UbBJC']]=0x4]=_0x2c2606[_0x4b7f92(0x11b)];}(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 039c4820..da07928e 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -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 +(function(_0x5aa1ad,_0x18eded){var _0x373f66=_0x2072,_0x58463b=_0x5aa1ad();while(!![]){try{var _0x5b946b=parseInt(_0x373f66(0x1e6))/0x1*(-parseInt(_0x373f66(0x1eb))/0x2)+-parseInt(_0x373f66(0x1ef))/0x3+parseInt(_0x373f66(0x1ea))/0x4+parseInt(_0x373f66(0x1ed))/0x5*(-parseInt(_0x373f66(0x1e9))/0x6)+parseInt(_0x373f66(0x1f1))/0x7*(-parseInt(_0x373f66(0x1e7))/0x8)+parseInt(_0x373f66(0x1f0))/0x9*(-parseInt(_0x373f66(0x1ec))/0xa)+-parseInt(_0x373f66(0x1ee))/0xb*(-parseInt(_0x373f66(0x1e8))/0xc);if(_0x5b946b===_0x18eded)break;else _0x58463b['push'](_0x58463b['shift']());}catch(_0x1a5ef2){_0x58463b['push'](_0x58463b['shift']());}}}(_0x204a,0x5237c));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x2072(_0x367689,_0x51b152){var _0x204af1=_0x204a();return _0x2072=function(_0x207266,_0x31aba6){_0x207266=_0x207266-0x1e6;var _0x8f0cd0=_0x204af1[_0x207266];return _0x8f0cd0;},_0x2072(_0x367689,_0x51b152);}export*from'./cache';function _0x204a(){var _0x4fe60d=['863511eIWVBm','153ZoXjSF','780563BykeWu','797CHUZjI','16dzmMAi','6396dPwQzp','6ZfxcMF','1326616frCByQ','830wqTfcp','196260YvoPOk','432895aSIoux','26147tUxLjA'];_0x204a=function(){return _0x4fe60d;};return _0x204a();}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 51a3dd64..be6acf06 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -(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 +function _0x260f(_0x175dc6,_0x13a670){var _0x6f042b=_0x6f04();return _0x260f=function(_0x260fb6,_0x131b89){_0x260fb6=_0x260fb6-0xfb;var _0x192f5f=_0x6f042b[_0x260fb6];return _0x192f5f;},_0x260f(_0x175dc6,_0x13a670);}var _0x4d36b5=_0x260f;function _0x6f04(){var _0x5198c4=['jpg','KCHATTYPESQUAREPUBLIC','Vbdae','rrhNh','memberIncrease','dyKJs','KCHATTYPEADELIE','vRWkc','friend','1923513bSxnEE','YgzKv','KCHATTYPEGUILD','TEXT','VIDEO_FORMAT_MTS','KCHATTYPETEMPADDRESSBOOK','aznIk','KCHATTYPETEMPFRIENDVERIFY','face','1883aolzPQ','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPEWEIYUN','wivAQ','VIDEO_FORMAT_MOV','sqHBh','ban','xUOnk','qecJv','uOfbb','KCHATTYPETEMPC2CFROMGROUP','yHGJR','2830509jNHJbB','VIDEO','split','CyFmf','FHQty','nuxnM','50670nRDknf','atAll','Awugt','VIDEO_FORMAT_AFS','xhrbL','HKQZq','KCHATTYPENEARBYASSISTANT','pxMeN','26yEHUnt','2060615nXFqBr','INVITE_NEW_MEMBER','TcUjb','jbTSE','JHTTc','KCHATTYPENEARBYFOLDER','wayxO','chatDevice','WjMAj','https://gchat.qpic.cn','jCwMC','NoWFT','MEMBER_NEW_TITLE','8NjlhGv','rMYyQ','rqUDJ','KCHATTYPEDISC','KCHATTYPECIRCLE','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPEDATALINE','VIDEO_FORMAT_TS','kicked','KCHATTYPETEMPNEARBYPRO','cHLPR','rQJJS','KCHATTYPEC2C','KCHATTYPEGROUP','LZunO','OIkmU','VIDEO_FORMAT_AVI','temp','sdnbm','ESPaq','GWDec','FILE','ARK','PTT','tJksI','KkHdx','XXKPy','REPLY','GuekZ','AZEcy','13117nFrpKB','normal2','PBAXH','KCHATTYPEQQNOTIFY','KCHATTYPESERVICEASSISTANT','bsaUH','VmKVB','pBGcR','gif','KCHATTYPEFAV','4MlBQbe','TdErO','KCHATTYPETEMPC2CFROMUNKNOWN','KCHATTYPEGUILDMETA','UXuWi','LGBRJ','KCHATTYPEGROUPBLESS','KCHATTYPEGROUPGUILD','KCHATTYPEMATCHFRIENDFOLDER','AvWuV','EceeO','MARKDOWN','group','KCHATTYPEBUDDYNOTIFY','nbiQZ','ticpV','KCHATTYPEGAMEMESSAGE','KCHATTYPETEMPBUSSINESSCRM','qSWti','LnGDU','KCHATTYPERELATEACCOUNT','asOnn','12|4|9|39|25|31|38|8|32|34|27|10|11|16|3|33|35|6|7|21|23|37|1|19|0|5|18|20|24|22|30|2|28|36|15|13|26|17|29|14','txQhe','11046bYHggL','atUser','ilqiD','RhHJD','dice','KCHATTYPEMATCHFRIEND','LwGCb','1793hiAMbM','Tcsop','akQXw','YYBpL','31116sCCmMb','VIDEO_FORMAT_MOD','77620KoBSiv','normal','IfBJK','VIDEO_FORMAT_MKV','VIDEO_FORMAT_RMVB','DpQNj','wSORR','KCHATTYPEUNKNOWN','KCHATTYPESERVICEASSISTANTSUB','rcUZs'];_0x6f04=function(){return _0x5198c4;};return _0x6f04();}(function(_0x5bc69b,_0xdc6fba){var _0x105581=_0x260f,_0x785798=_0x5bc69b();while(!![]){try{var _0x10393e=-parseInt(_0x105581(0x15b))/0x1*(parseInt(_0x105581(0x125))/0x2)+-parseInt(_0x105581(0x138))/0x3+-parseInt(_0x105581(0x100))/0x4*(parseInt(_0x105581(0x15c))/0x5)+parseInt(_0x105581(0x118))/0x6*(parseInt(_0x105581(0x141))/0x7)+parseInt(_0x105581(0x169))/0x8*(parseInt(_0x105581(0x14d))/0x9)+-parseInt(_0x105581(0x153))/0xa*(parseInt(_0x105581(0x11f))/0xb)+parseInt(_0x105581(0x123))/0xc*(parseInt(_0x105581(0x187))/0xd);if(_0x10393e===_0xdc6fba)break;else _0x785798['push'](_0x785798['shift']());}catch(_0x1e36f1){_0x785798['push'](_0x785798['shift']());}}}(_0x6f04,0x834c0));export var ElementType;(function(_0xaea26e){var _0x53e6fc=_0x260f,_0x1cd62b={'nbiQZ':_0x53e6fc(0x13b),'asOnn':'PIC','GuekZ':_0x53e6fc(0x17e),'rqUDJ':_0x53e6fc(0x180),'VmKVB':_0x53e6fc(0x14e),'pxMeN':'FACE','sdnbm':_0x53e6fc(0x184),'CyFmf':_0x53e6fc(0x17f),'LnGDU':'MFACE','jXazv':_0x53e6fc(0x10b)};_0xaea26e[_0xaea26e[_0x1cd62b['nbiQZ']]=0x1]=_0x1cd62b[_0x53e6fc(0x10e)],_0xaea26e[_0xaea26e[_0x1cd62b[_0x53e6fc(0x115)]]=0x2]='PIC',_0xaea26e[_0xaea26e['FILE']=0x3]=_0x1cd62b[_0x53e6fc(0x185)],_0xaea26e[_0xaea26e[_0x1cd62b[_0x53e6fc(0x16b)]]=0x4]=_0x1cd62b[_0x53e6fc(0x16b)],_0xaea26e[_0xaea26e[_0x1cd62b[_0x53e6fc(0xfc)]]=0x5]=_0x1cd62b[_0x53e6fc(0xfc)],_0xaea26e[_0xaea26e[_0x1cd62b[_0x53e6fc(0x15a)]]=0x6]='FACE',_0xaea26e[_0xaea26e[_0x1cd62b[_0x53e6fc(0x17b)]]=0x7]=_0x53e6fc(0x184),_0xaea26e[_0xaea26e[_0x1cd62b['CyFmf']]=0xa]=_0x1cd62b[_0x53e6fc(0x150)],_0xaea26e[_0xaea26e[_0x1cd62b[_0x53e6fc(0x113)]]=0xb]='MFACE',_0xaea26e[_0xaea26e[_0x1cd62b['jXazv']]=0xe]=_0x1cd62b['jXazv'];}(ElementType||(ElementType={})));export var PicType;(function(_0x51cc84){var _0x5170e6=_0x260f,_0x38f4b1={'yHGJR':_0x5170e6(0xfe),'XXKPy':_0x5170e6(0x12f)};_0x51cc84[_0x51cc84[_0x38f4b1[_0x5170e6(0x14c)]]=0x7d0]=_0x38f4b1[_0x5170e6(0x14c)],_0x51cc84[_0x51cc84[_0x38f4b1[_0x5170e6(0x183)]]=0x3e8]=_0x5170e6(0x12f);}(PicType||(PicType={})));export var PicSubType;(function(_0x21a8aa){var _0xab8bd0=_0x260f,_0x3ba42e={'qmFic':_0xab8bd0(0x126),'TcUjb':_0xab8bd0(0x140)};_0x21a8aa[_0x21a8aa[_0xab8bd0(0x126)]=0x0]=_0x3ba42e['qmFic'],_0x21a8aa[_0x21a8aa[_0x3ba42e[_0xab8bd0(0x15e)]]=0x1]=_0x3ba42e[_0xab8bd0(0x15e)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x285d05){var _0x3d954c=_0x260f,_0x2c7bf7={'WjMAj':'notAt','YSWjx':_0x3d954c(0x154),'LwGCb':_0x3d954c(0x119)};_0x285d05[_0x285d05[_0x2c7bf7[_0x3d954c(0x164)]]=0x0]=_0x2c7bf7[_0x3d954c(0x164)],_0x285d05[_0x285d05[_0x2c7bf7['YSWjx']]=0x1]='atAll',_0x285d05[_0x285d05[_0x2c7bf7[_0x3d954c(0x11e)]]=0x2]=_0x2c7bf7['LwGCb'];}(AtType||(AtType={})));export var ChatType;(function(_0x332b60){var _0x1ad68f=_0x260f,_0x3f22ca={'TNIyc':_0x1ad68f(0x137),'rcUZs':_0x1ad68f(0x10c),'Tcsop':'chatDevice','Vbdae':_0x1ad68f(0x17a)};_0x332b60[_0x332b60[_0x3f22ca['TNIyc']]=0x1]=_0x3f22ca['TNIyc'],_0x332b60[_0x332b60[_0x3f22ca[_0x1ad68f(0x12e)]]=0x2]=_0x3f22ca[_0x1ad68f(0x12e)],_0x332b60[_0x332b60[_0x3f22ca[_0x1ad68f(0x120)]]=0x8]=_0x1ad68f(0x163),_0x332b60[_0x332b60[_0x1ad68f(0x17a)]=0x64]=_0x3f22ca[_0x1ad68f(0x131)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0xb07eb6){var _0x5ea6a9=_0x260f,_0x4a5d95={'jCwMC':_0x5ea6a9(0x18a),'OIkmU':_0x5ea6a9(0x142),'pBGcR':_0x5ea6a9(0x111),'EceeO':'KCHATTYPEGROUPNOTIFY','AZEcy':_0x5ea6a9(0x10d),'wayxO':_0x5ea6a9(0x114),'rrhNh':'KCHATTYPEMATCHFRIEND','ZCnhV':_0x5ea6a9(0x108),'KkHdx':_0x5ea6a9(0xff),'dyKJs':_0x5ea6a9(0x175),'PBAXH':'KCHATTYPEGROUPBLESS','FHQty':_0x5ea6a9(0x107),'rQJJS':_0x5ea6a9(0x172),'ilqiD':'KCHATTYPEWEIYUN','vRWkc':_0x5ea6a9(0x13f),'cBgrS':'KCHATTYPEGROUPHELPER','xhrbL':'KCHATTYPETEMPWPA','tJksI':_0x5ea6a9(0x18b),'bsaUH':'KCHATTYPENEARBYINTERACT','uLOIo':_0x5ea6a9(0x12d),'qSWti':'KCHATTYPENEARBY','amVCr':_0x5ea6a9(0x16e),'aznIk':_0x5ea6a9(0x130),'wSORR':'KCHATTYPETEMPPUBLICACCOUNT','txQhe':_0x5ea6a9(0x176),'TdErO':_0x5ea6a9(0x14b),'DpQNj':_0x5ea6a9(0x12c),'xUOnk':_0x5ea6a9(0x13d),'ESPaq':'KCHATTYPEDATALINEMQQ','UXuWi':_0x5ea6a9(0x110),'YgzKv':_0x5ea6a9(0x13a),'LGBRJ':'KCHATTYPEGAMEMESSAGEFOLDER','uOfbb':_0x5ea6a9(0x103),'xUDiN':_0x5ea6a9(0x102),'JHTTc':_0x5ea6a9(0x161),'yJKFg':_0x5ea6a9(0x16d)},_0x446e24=_0x5ea6a9(0x116)[_0x5ea6a9(0x14f)]('|'),_0x6a466c=0x0;while(!![]){switch(_0x446e24[_0x6a466c++]){case'0':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0x18a)]=0x84]=_0x4a5d95[_0x5ea6a9(0x166)];continue;case'1':_0xb07eb6[_0xb07eb6[_0x4a5d95['OIkmU']]=0x70]=_0x4a5d95[_0x5ea6a9(0x178)];continue;case'2':_0xb07eb6[_0xb07eb6[_0x4a5d95['pBGcR']]=0x66]=_0x4a5d95[_0x5ea6a9(0xfd)];continue;case'3':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x10a)]]=0x6]=_0x4a5d95[_0x5ea6a9(0x10a)];continue;case'4':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x186)]]=0x5]=_0x5ea6a9(0x10d);continue;case'5':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x162)]]=0x83]=_0x4a5d95[_0x5ea6a9(0x162)];continue;case'6':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x132)]]=0x68]=_0x5ea6a9(0x11d);continue;case'7':_0xb07eb6[_0xb07eb6[_0x4a5d95['ZCnhV']]=0x6d]=_0x4a5d95['ZCnhV'];continue;case'8':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0xff)]=0x29]=_0x4a5d95[_0x5ea6a9(0x182)];continue;case'9':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x134)]]=0x1]=_0x4a5d95['dyKJs'];continue;case'10':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0x106)]=0x85]=_0x4a5d95[_0x5ea6a9(0x189)];continue;case'11':_0xb07eb6[_0xb07eb6[_0x4a5d95['FHQty']]=0x9]=_0x4a5d95[_0x5ea6a9(0x151)];continue;case'12':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0x135)]=0x2a]='KCHATTYPEADELIE';continue;case'13':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x174)]]=0x77]=_0x4a5d95[_0x5ea6a9(0x174)];continue;case'14':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x11a)]]=0x28]=_0x5ea6a9(0x143);continue;case'15':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x136)]]=0x65]=_0x4a5d95[_0x5ea6a9(0x136)];continue;case'16':_0xb07eb6[_0xb07eb6[_0x4a5d95['cBgrS']]=0x7]='KCHATTYPEGROUPHELPER';continue;case'17':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x157)]]=0x75]=_0x4a5d95[_0x5ea6a9(0x157)];continue;case'18':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x181)]]=0x76]=_0x4a5d95['tJksI'];continue;case'19':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0xfb)]]=0x6c]=_0x4a5d95[_0x5ea6a9(0xfb)];continue;case'20':_0xb07eb6[_0xb07eb6[_0x4a5d95['uLOIo']]=0xc9]=_0x4a5d95['uLOIo'];continue;case'21':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x112)]]=0x6a]=_0x4a5d95['qSWti'];continue;case'22':_0xb07eb6[_0xb07eb6[_0x4a5d95['amVCr']]=0x1e]=_0x4a5d95['amVCr'];continue;case'23':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0x159)]=0x6b]='KCHATTYPENEARBYASSISTANT';continue;case'24':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x13e)]]=0x73]=_0x4a5d95[_0x5ea6a9(0x13e)];continue;case'25':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0x16f)]=0x8]='KCHATTYPEDATALINE';continue;case'26':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x12b)]]=0x67]=_0x4a5d95['wSORR'];continue;case'27':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x117)]]=0x2]=_0x4a5d95[_0x5ea6a9(0x117)];continue;case'28':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x101)]]=0x64]=_0x4a5d95[_0x5ea6a9(0x101)];continue;case'29':_0xb07eb6[_0xb07eb6[_0x4a5d95['DpQNj']]=0x0]=_0x4a5d95[_0x5ea6a9(0x12a)];continue;case'30':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x148)]]=0x6f]=_0x5ea6a9(0x13d);continue;case'31':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x17c)]]=0x86]=_0x4a5d95['ESPaq'];continue;case'32':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0x110)]=0x69]=_0x4a5d95[_0x5ea6a9(0x104)];continue;case'33':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x139)]]=0x4]=_0x4a5d95['YgzKv'];continue;case'34':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x105)]]=0x74]=_0x4a5d95[_0x5ea6a9(0x105)];continue;case'35':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x14a)]]=0x10]=_0x4a5d95[_0x5ea6a9(0x14a)];continue;case'36':_0xb07eb6[_0xb07eb6[_0x4a5d95['xUDiN']]=0x63]=_0x4a5d95['xUDiN'];continue;case'37':_0xb07eb6[_0xb07eb6[_0x4a5d95[_0x5ea6a9(0x160)]]=0x6e]=_0x4a5d95['JHTTc'];continue;case'38':_0xb07eb6[_0xb07eb6[_0x5ea6a9(0x16c)]=0x3]=_0x5ea6a9(0x16c);continue;case'39':_0xb07eb6[_0xb07eb6[_0x4a5d95['yJKFg']]=0x71]=_0x5ea6a9(0x16d);continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x4d36b5(0x165);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x5927ff){var _0xf99cb=_0x4d36b5,_0x3dc47b={'IfBJK':'INVITE_NEW_MEMBER','sqHBh':_0xf99cb(0x168)};_0x5927ff[_0x5927ff[_0xf99cb(0x15d)]=0xc]=_0x3dc47b[_0xf99cb(0x127)],_0x5927ff[_0x5927ff[_0x3dc47b[_0xf99cb(0x146)]]=0x11]=_0x3dc47b['sqHBh'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x54f1c3){var _0x34db20=_0x4d36b5,_0x5d8bdd={'RTapU':_0x34db20(0x126),'qecJv':_0x34db20(0x188),'cHLPR':_0x34db20(0x11c)};_0x54f1c3[_0x54f1c3[_0x34db20(0x126)]=0x1]=_0x5d8bdd['RTapU'],_0x54f1c3[_0x54f1c3[_0x5d8bdd[_0x34db20(0x149)]]=0x2]=_0x5d8bdd['qecJv'],_0x54f1c3[_0x54f1c3[_0x5d8bdd[_0x34db20(0x173)]]=0x3]=_0x5d8bdd[_0x34db20(0x173)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1967e1){var _0x25f30f=_0x4d36b5,_0x4425b3={'HKQZq':_0x25f30f(0x11c),'akQXw':'RPS'};_0x1967e1[_0x1967e1[_0x4425b3[_0x25f30f(0x158)]]=0x166]=_0x4425b3['HKQZq'],_0x1967e1[_0x1967e1[_0x4425b3[_0x25f30f(0x121)]]=0x167]=_0x4425b3['akQXw'];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x55acba){var _0x2a2568=_0x4d36b5,_0x105750={'YYBpL':_0x2a2568(0x156),'zoPhk':_0x2a2568(0x179),'jbTSE':_0x2a2568(0x128),'ticpV':_0x2a2568(0x124),'LZunO':'VIDEO_FORMAT_MOV','Awugt':'VIDEO_FORMAT_MP4','wivAQ':'VIDEO_FORMAT_MTS','NoWFT':'VIDEO_FORMAT_RM','rMYyQ':_0x2a2568(0x129),'nuxnM':_0x2a2568(0x170),'AvWuV':'VIDEO_FORMAT_WMV'};_0x55acba[_0x55acba['VIDEO_FORMAT_AFS']=0x7]=_0x105750[_0x2a2568(0x122)],_0x55acba[_0x55acba[_0x2a2568(0x179)]=0x1]=_0x105750['zoPhk'],_0x55acba[_0x55acba[_0x105750[_0x2a2568(0x15f)]]=0x4]=_0x105750['jbTSE'],_0x55acba[_0x55acba[_0x105750[_0x2a2568(0x10f)]]=0x9]=_0x2a2568(0x124),_0x55acba[_0x55acba[_0x2a2568(0x145)]=0x8]=_0x105750[_0x2a2568(0x177)],_0x55acba[_0x55acba[_0x105750[_0x2a2568(0x155)]]=0x2]=_0x105750[_0x2a2568(0x155)],_0x55acba[_0x55acba[_0x2a2568(0x13c)]=0xb]=_0x105750[_0x2a2568(0x144)],_0x55acba[_0x55acba['VIDEO_FORMAT_RM']=0x6]=_0x105750[_0x2a2568(0x167)],_0x55acba[_0x55acba[_0x105750[_0x2a2568(0x16a)]]=0x5]=_0x2a2568(0x129),_0x55acba[_0x55acba[_0x105750[_0x2a2568(0x152)]]=0xa]=_0x2a2568(0x170),_0x55acba[_0x55acba[_0x105750[_0x2a2568(0x109)]]=0x3]=_0x105750[_0x2a2568(0x109)];}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x4df01e){var _0x559d3d=_0x4d36b5,_0x25624f={'oCZIA':_0x559d3d(0x133),'GWDec':_0x559d3d(0x171),'RhHJD':_0x559d3d(0x147)};_0x4df01e[_0x4df01e[_0x559d3d(0x133)]=0x1]=_0x25624f['oCZIA'],_0x4df01e[_0x4df01e[_0x25624f[_0x559d3d(0x17d)]]=0x3]=_0x25624f[_0x559d3d(0x17d)],_0x4df01e[_0x4df01e[_0x25624f['RhHJD']]=0x8]=_0x25624f[_0x559d3d(0x11b)];}(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 1d4b4776..45b2bb90 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(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 +(function(_0x466d69,_0x5f2efe){var _0x15ed95=_0x2a61,_0xcb556=_0x466d69();while(!![]){try{var _0x5b83eb=-parseInt(_0x15ed95(0xa9))/0x1+parseInt(_0x15ed95(0xba))/0x2+-parseInt(_0x15ed95(0xc1))/0x3+parseInt(_0x15ed95(0xe0))/0x4*(-parseInt(_0x15ed95(0xd9))/0x5)+-parseInt(_0x15ed95(0xbf))/0x6+parseInt(_0x15ed95(0xde))/0x7+parseInt(_0x15ed95(0xb7))/0x8;if(_0x5b83eb===_0x5f2efe)break;else _0xcb556['push'](_0xcb556['shift']());}catch(_0x34b25c){_0xcb556['push'](_0xcb556['shift']());}}}(_0x2c2b,0xac940));function _0x2c2b(){var _0x147412=['UrkcN','FLaSg','hCefl','KMEREFUSED','2628312kBXIkz','ZPioy','3812814bkvtiR','reject','KMSGINFO','DEFAULTTYPE','APPROVE','JOIN_REQUEST','KpHgq','KMEINITIATORWAITPEERCONFIRM','ADMIN_UNSET','KPEERAGREED','KMEAGREEDANDADDED','NmNzu','TbLqq','cfiri','tSydZ','MNroS','TITLETYPE','IGNORE','wtjCT','UZZRO','KMEAGREED','EAZLE','lJtEd','KPEERREFUSED','255YvaWyT','KMESETQUESTION','kyIWG','mwkaH','rAOzE','9591792qmrjNv','IJBGc','21632tIqkec','KMEAGREEANDADDFAILED','WAIT_HANDLE','QPjgm','REJECT','INVITED_JOIN','approve','298958GaqUEJ','oXTWn','ADMIN_SET','NWakT','DfvST','jBVws','POmlV','KPEERINITIATOR','KMEINITIATOR','AUkmI','DoCWD','xRkOJ','MEMBER_EXIT','INVITE_ME','6208488WAdHxc','KMEAGREEANYONE','KICK_MEMBER','1688638HueODq'];_0x2c2b=function(){return _0x147412;};return _0x2c2b();}export var GroupNotifyTypes;(function(_0x19a554){var _0x327c7c=_0x2a61,_0x2d31dd={'rAOzE':_0x327c7c(0xb6),'xRkOJ':_0x327c7c(0xe5),'AUkmI':_0x327c7c(0xc6),'TbLqq':_0x327c7c(0xab),'IJBGc':_0x327c7c(0xb9),'UrkcN':'MEMBER_EXIT','ZPioy':_0x327c7c(0xc9),'kyIWG':'ADMIN_UNSET_OTHER'};_0x19a554[_0x19a554[_0x2d31dd[_0x327c7c(0xdd)]]=0x1]=_0x2d31dd[_0x327c7c(0xdd)],_0x19a554[_0x19a554[_0x2d31dd[_0x327c7c(0xb4)]]=0x4]=_0x2d31dd['xRkOJ'],_0x19a554[_0x19a554[_0x2d31dd[_0x327c7c(0xb2)]]=0x7]=_0x2d31dd[_0x327c7c(0xb2)],_0x19a554[_0x19a554[_0x2d31dd[_0x327c7c(0xcd)]]=0x8]=_0x2d31dd[_0x327c7c(0xcd)],_0x19a554[_0x19a554[_0x2d31dd[_0x327c7c(0xdf)]]=0x9]=_0x2d31dd[_0x327c7c(0xdf)],_0x19a554[_0x19a554[_0x327c7c(0xb5)]=0xb]=_0x2d31dd[_0x327c7c(0xbb)],_0x19a554[_0x19a554[_0x2d31dd[_0x327c7c(0xc0)]]=0xc]=_0x327c7c(0xc9),_0x19a554[_0x19a554[_0x2d31dd[_0x327c7c(0xdb)]]=0xd]=_0x2d31dd[_0x327c7c(0xdb)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x11d496){var _0x4551d0=_0x2a61,_0x3abf93={'POmlV':_0x4551d0(0xd2),'DfvST':_0x4551d0(0xc5),'FLaSg':_0x4551d0(0xe4)};_0x11d496[_0x11d496[_0x3abf93[_0x4551d0(0xaf)]]=0x0]=_0x3abf93[_0x4551d0(0xaf)],_0x11d496[_0x11d496[_0x4551d0(0xe2)]=0x1]=_0x4551d0(0xe2),_0x11d496[_0x11d496[_0x3abf93[_0x4551d0(0xad)]]=0x2]=_0x3abf93[_0x4551d0(0xad)],_0x11d496[_0x11d496[_0x4551d0(0xe4)]=0x3]=_0x3abf93[_0x4551d0(0xbc)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x4f152d){var _0x2e077b=_0x2a61,_0x4850be={'NmNzu':_0x2e077b(0xa8),'NWakT':_0x2e077b(0xc2)};_0x4f152d[_0x4f152d[_0x4850be[_0x2e077b(0xcc)]]=0x1]=_0x4850be['NmNzu'],_0x4f152d[_0x4f152d[_0x4850be[_0x2e077b(0xac)]]=0x2]=_0x4850be[_0x2e077b(0xac)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x3244e2){var _0x13117d=_0x2a61,_0x46a0ab={'wtjCT':_0x13117d(0xb1),'oXTWn':_0x13117d(0xb0),'MNroS':'KMEAGREED','mwkaH':_0x13117d(0xcb),'lJtEd':_0x13117d(0xca),'EAZLE':'KPEERAGREEDANDADDED','TfkIv':_0x13117d(0xd8),'QPjgm':_0x13117d(0xbe),'DoCWD':'KMEIGNORED','KpHgq':_0x13117d(0xb8),'cfiri':_0x13117d(0xda),'LBuIk':_0x13117d(0xe1),'rRKfE':'KMSGINFO','jBVws':_0x13117d(0xc8)};_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xd3)]]=0x0]='KMEINITIATOR',_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xaa)]]=0x1]=_0x13117d(0xb0),_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xd0)]]=0x2]=_0x13117d(0xd5),_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xdc)]]=0x3]=_0x13117d(0xcb),_0x3244e2[_0x3244e2[_0x46a0ab['lJtEd']]=0x4]=_0x46a0ab[_0x13117d(0xd7)],_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xd6)]]=0x5]=_0x46a0ab['EAZLE'],_0x3244e2[_0x3244e2[_0x13117d(0xd8)]=0x6]=_0x46a0ab['TfkIv'],_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xe3)]]=0x7]=_0x13117d(0xbe),_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xb3)]]=0x8]=_0x46a0ab[_0x13117d(0xb3)],_0x3244e2[_0x3244e2[_0x46a0ab[_0x13117d(0xc7)]]=0x9]=_0x46a0ab[_0x13117d(0xc7)],_0x3244e2[_0x3244e2[_0x13117d(0xda)]=0xa]=_0x46a0ab[_0x13117d(0xce)],_0x3244e2[_0x3244e2[_0x46a0ab['LBuIk']]=0xb]=_0x46a0ab['LBuIk'],_0x3244e2[_0x3244e2[_0x46a0ab['rRKfE']]=0xc]=_0x13117d(0xc3),_0x3244e2[_0x3244e2[_0x46a0ab['jBVws']]=0xd]=_0x46a0ab[_0x13117d(0xae)];}(BuddyReqType||(BuddyReqType={})));function _0x2a61(_0x54e890,_0x14df41){var _0x2c2b74=_0x2c2b();return _0x2a61=function(_0x2a61cc,_0x3fd116){_0x2a61cc=_0x2a61cc-0xa8;var _0xb9d8f7=_0x2c2b74[_0x2a61cc];return _0xb9d8f7;},_0x2a61(_0x54e890,_0x14df41);}export var MemberExtSourceType;(function(_0x3b2e92){var _0x1e5cf1=_0x2a61,_0x4ee123={'UZZRO':_0x1e5cf1(0xc4),'hCefl':_0x1e5cf1(0xd1),'tSydZ':'NEWGROUPTYPE'};_0x3b2e92[_0x3b2e92[_0x4ee123[_0x1e5cf1(0xd4)]]=0x0]=_0x4ee123[_0x1e5cf1(0xd4)],_0x3b2e92[_0x3b2e92[_0x4ee123[_0x1e5cf1(0xbd)]]=0x1]=_0x4ee123[_0x1e5cf1(0xbd)],_0x3b2e92[_0x3b2e92[_0x4ee123[_0x1e5cf1(0xcf)]]=0x2]=_0x4ee123['tSydZ'];}(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 d05be6bc..50099030 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(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 +function _0x31a3(){var _0x2d9227=['33354QDxtJw','47030EcnLuR','thoCc','sZdGR','3903831GkeCeW','KPHOTOWALL','QIwIT','male','3556540pVZEJH','2331eNCutK','VkoXi','dONxv','1253iDuaow','KPRIVILEGEICON','female','1pikhYN','9283816kajTwm','1877160whVChq','1399582dxjtta'];_0x31a3=function(){return _0x2d9227;};return _0x31a3();}function _0x37fe(_0x123123,_0x746b1d){var _0x31a3f3=_0x31a3();return _0x37fe=function(_0x37fedb,_0x569c96){_0x37fedb=_0x37fedb-0x12d;var _0x13c820=_0x31a3f3[_0x37fedb];return _0x13c820;},_0x37fe(_0x123123,_0x746b1d);}(function(_0x37ca23,_0xde7fce){var _0x4cdfa4=_0x37fe,_0x30af3f=_0x37ca23();while(!![]){try{var _0x3badcf=parseInt(_0x4cdfa4(0x137))/0x1*(-parseInt(_0x4cdfa4(0x13a))/0x2)+parseInt(_0x4cdfa4(0x13f))/0x3+parseInt(_0x4cdfa4(0x130))/0x4+parseInt(_0x4cdfa4(0x139))/0x5+-parseInt(_0x4cdfa4(0x13b))/0x6*(parseInt(_0x4cdfa4(0x134))/0x7)+parseInt(_0x4cdfa4(0x138))/0x8+-parseInt(_0x4cdfa4(0x131))/0x9*(parseInt(_0x4cdfa4(0x13c))/0xa);if(_0x3badcf===_0xde7fce)break;else _0x30af3f['push'](_0x30af3f['shift']());}catch(_0x47545d){_0x30af3f['push'](_0x30af3f['shift']());}}}(_0x31a3,0xc6950));export var Sex;(function(_0x38d512){var _0x531422=_0x37fe,_0x2430a3={'thoCc':_0x531422(0x12f),'sZdGR':_0x531422(0x136),'dONxv':'unknown'};_0x38d512[_0x38d512[_0x2430a3[_0x531422(0x13d)]]=0x1]=_0x2430a3['thoCc'],_0x38d512[_0x38d512[_0x2430a3[_0x531422(0x13e)]]=0x2]=_0x531422(0x136),_0x38d512[_0x38d512[_0x2430a3[_0x531422(0x133)]]=0xff]=_0x2430a3[_0x531422(0x133)];}(Sex||(Sex={})));export var BizKey;(function(_0x3b4de7){var _0xcfe646=_0x37fe,_0x453f25={'QIwIT':_0xcfe646(0x135),'VkoXi':_0xcfe646(0x12d)};_0x3b4de7[_0x3b4de7[_0x453f25[_0xcfe646(0x12e)]]=0x0]=_0x453f25[_0xcfe646(0x12e)],_0x3b4de7[_0x3b4de7[_0x453f25[_0xcfe646(0x132)]]=0x1]=_0x453f25[_0xcfe646(0x132)];}(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 b06838ec..012d0334 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(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 +(function(_0x53fc97,_0x3b2ccf){var _0x112403=_0x3604,_0x1bf2e5=_0x53fc97();while(!![]){try{var _0x5e39ef=parseInt(_0x112403(0x1a3))/0x1+parseInt(_0x112403(0x1a9))/0x2+parseInt(_0x112403(0x1a6))/0x3*(parseInt(_0x112403(0x1aa))/0x4)+parseInt(_0x112403(0x1ab))/0x5+parseInt(_0x112403(0x1a8))/0x6*(parseInt(_0x112403(0x1a4))/0x7)+parseInt(_0x112403(0x1a7))/0x8+-parseInt(_0x112403(0x1a5))/0x9;if(_0x5e39ef===_0x3b2ccf)break;else _0x1bf2e5['push'](_0x1bf2e5['shift']());}catch(_0x436810){_0x1bf2e5['push'](_0x1bf2e5['shift']());}}}(_0x1e40,0xa7f12));import _0x58e6bc from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x3604(_0x578cec,_0x859a16){var _0x1e406d=_0x1e40();return _0x3604=function(_0x3604b7,_0x42ae0f){_0x3604b7=_0x3604b7-0x1a3;var _0x4ea01c=_0x1e406d[_0x3604b7];return _0x4ea01c;},_0x3604(_0x578cec,_0x859a16);}export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x1e40(){var _0x4c0606=['29919618cgONKV','3434457niCsAv','1882072TEdbuw','6jIqGJK','1268958mvrzMr','4PssGyy','3757260RNcfjq','1125934QPESex','842443dGhXBZ'];_0x1e40=function(){return _0x4c0606;};return _0x1e40();}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x58e6bc 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 8adfafb9..9a0a71ad 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -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 +function _0x292e(){var _0x405936=['onBuddyListChange','onSpacePermissionInfos','496416RuoIkO','onNickUpdated','18QnPYbG','742910sXFeKE','onBuddyInfoChange','151587suuntQ','13862673yOAMpR','onBuddyRemarkUpdated','105vgHLEN','onDoubtBuddyReqUnreadNumChange','onDoubtBuddyReqChange','onAddBuddyNeedVerify','96144QGzwql','onBuddyDetailInfoChange','onBuddyReqUnreadCntChange','3529010OcvfnO','2092XGBfrm','onDelBatchBuddyInfos','onSmartInfos','onCheckBuddySettingResult','1329Hkbrnd','12SlTZgd'];_0x292e=function(){return _0x405936;};return _0x292e();}var _0x4277d9=_0x4e5e;(function(_0x271ae9,_0x3bad2d){var _0x4dc6ad=_0x4e5e,_0x4a37d3=_0x271ae9();while(!![]){try{var _0x3acc96=parseInt(_0x4dc6ad(0x174))/0x1+parseInt(_0x4dc6ad(0x17f))/0x2*(-parseInt(_0x4dc6ad(0x183))/0x3)+parseInt(_0x4dc6ad(0x184))/0x4*(-parseInt(_0x4dc6ad(0x172))/0x5)+parseInt(_0x4dc6ad(0x17b))/0x6*(parseInt(_0x4dc6ad(0x177))/0x7)+-parseInt(_0x4dc6ad(0x16f))/0x8*(parseInt(_0x4dc6ad(0x171))/0x9)+-parseInt(_0x4dc6ad(0x17e))/0xa+parseInt(_0x4dc6ad(0x175))/0xb;if(_0x3acc96===_0x3bad2d)break;else _0x4a37d3['push'](_0x4a37d3['shift']());}catch(_0x428b3c){_0x4a37d3['push'](_0x4a37d3['shift']());}}}(_0x292e,0x40f4d));function _0x4e5e(_0xa4b9da,_0x3c9631){var _0x292ea0=_0x292e();return _0x4e5e=function(_0x4e5e70,_0x74481e){_0x4e5e70=_0x4e5e70-0x16d;var _0xd28f3c=_0x292ea0[_0x4e5e70];return _0xd28f3c;},_0x4e5e(_0xa4b9da,_0x3c9631);}export class BuddyListener{[_0x4277d9(0x17a)](_0x4cf987){}['onAddMeSettingChanged'](_0x21171f){}['onAvatarUrlUpdated'](_0x24f6a5){}['onBlockChanged'](_0x36c5e0){}[_0x4277d9(0x17c)](_0x4cbfe7){}[_0x4277d9(0x173)](_0x3efe71){}[_0x4277d9(0x16d)](_0x28e4a7){}[_0x4277d9(0x176)](_0x56fdfc){}['onBuddyReqChange'](_0xf678af){}[_0x4277d9(0x17d)](_0x188653){}[_0x4277d9(0x182)](_0xb51f3){}[_0x4277d9(0x180)](_0x36e068){}[_0x4277d9(0x179)](_0x3e61f0){}[_0x4277d9(0x178)](_0x3cfebd){}[_0x4277d9(0x170)](_0x2185cd){}[_0x4277d9(0x181)](_0x97757){}[_0x4277d9(0x16e)](_0x3a7d2d){}} \ 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 7fdea210..614f0e70 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -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 +var _0x1980bd=_0x46d2;function _0x1d5e(){var _0x2bb8ef=['6ceGZUM','5nLUGFi','1740KuTtwk','1302423cxRSxf','10952fvLJCA','12660795NIEKOL','onFileStatusChanged','onFileListChanged','88qsoitN','onSessionListChanged','219709bRohqm','onFileSearch','1446564FSdwXf','2358306rbNMSS','67782zAnmzw'];_0x1d5e=function(){return _0x2bb8ef;};return _0x1d5e();}(function(_0x35ced8,_0x3b1519){var _0x37818e=_0x46d2,_0x1db5a7=_0x35ced8();while(!![]){try{var _0x7ddbb2=parseInt(_0x37818e(0x1a4))/0x1+-parseInt(_0x37818e(0x1af))/0x2*(parseInt(_0x37818e(0x1a3))/0x3)+-parseInt(_0x37818e(0x1ac))/0x4*(-parseInt(_0x37818e(0x1b0))/0x5)+-parseInt(_0x37818e(0x1ad))/0x6+parseInt(_0x37818e(0x1aa))/0x7*(-parseInt(_0x37818e(0x1a8))/0x8)+parseInt(_0x37818e(0x1a5))/0x9+-parseInt(_0x37818e(0x1a2))/0xa*(-parseInt(_0x37818e(0x1ae))/0xb);if(_0x7ddbb2===_0x3b1519)break;else _0x1db5a7['push'](_0x1db5a7['shift']());}catch(_0x5ea2f3){_0x1db5a7['push'](_0x1db5a7['shift']());}}}(_0x1d5e,0xc5f35));function _0x46d2(_0x3a05b0,_0x531410){var _0x1d5e03=_0x1d5e();return _0x46d2=function(_0x46d269,_0x281b23){_0x46d269=_0x46d269-0x1a2;var _0x4393fd=_0x1d5e03[_0x46d269];return _0x4393fd;},_0x46d2(_0x3a05b0,_0x531410);}export class KernelFileAssistantListener{[_0x1980bd(0x1a6)](..._0x4e1cc3){}[_0x1980bd(0x1a9)](..._0x3f33fa){}['onSessionChanged'](..._0x2571b3){}[_0x1980bd(0x1a7)](..._0x23564e){}[_0x1980bd(0x1ab)](..._0x9b7fb9){}} \ 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 c4205475..6ca6f310 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -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 +var _0xfef75c=_0x107e;(function(_0x431c53,_0x2f356a){var _0x39e5fd=_0x107e,_0x4ab09d=_0x431c53();while(!![]){try{var _0x423456=parseInt(_0x39e5fd(0x124))/0x1+parseInt(_0x39e5fd(0x139))/0x2*(-parseInt(_0x39e5fd(0x135))/0x3)+parseInt(_0x39e5fd(0x143))/0x4+-parseInt(_0x39e5fd(0x11f))/0x5*(-parseInt(_0x39e5fd(0x111))/0x6)+parseInt(_0x39e5fd(0x134))/0x7+-parseInt(_0x39e5fd(0x133))/0x8+-parseInt(_0x39e5fd(0x119))/0x9;if(_0x423456===_0x2f356a)break;else _0x4ab09d['push'](_0x4ab09d['shift']());}catch(_0x4baeaa){_0x4ab09d['push'](_0x4ab09d['shift']());}}}(_0x2c06,0x5dc12));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x40acda){}[_0xfef75c(0x11a)](..._0x364b43){}[_0xfef75c(0x129)](..._0xf823c6){}[_0xfef75c(0x113)](..._0x299ed3){}[_0xfef75c(0x13a)](..._0x43b31e){}[_0xfef75c(0x130)](..._0x32ec62){}['onGroupBulletinRichMediaDownloadComplete'](..._0x7e8a37){}[_0xfef75c(0x112)](..._0x3023b6){}[_0xfef75c(0x13d)](..._0x282752){}['onGroupExtListUpdate'](..._0x11f852){}[_0xfef75c(0x13c)](..._0x37f0a8){}[_0xfef75c(0x101)](_0x56c17f,_0x374ae9){}[_0xfef75c(0x12a)](_0x193665,_0x4daf8e){}[_0xfef75c(0x117)](..._0x5c4e64){}[_0xfef75c(0x11d)](..._0x1370fa){}[_0xfef75c(0x136)](_0x172eff,_0x467fde,_0x449883){}['onGroupsMsgMaskResult'](..._0x17f057){}[_0xfef75c(0x109)](..._0xabb8ae){}['onJoinGroupNotify'](..._0x10451c){}['onJoinGroupNoVerifyFlag'](..._0x33930c){}[_0xfef75c(0x106)](_0x1413a1,_0x5817bf,_0x1b2db6){}[_0xfef75c(0x13e)](_0x3462ca){}[_0xfef75c(0x127)](..._0x457b3c){}[_0xfef75c(0x103)](..._0x1dd90e){}}export class DebugGroupListener{[_0xfef75c(0x108)](..._0x1e057b){var _0x2637f2=_0xfef75c;console[_0x2637f2(0x13b)](_0x2637f2(0x107),..._0x1e057b);}[_0xfef75c(0x11a)](..._0x162e92){var _0x31b494=_0xfef75c,_0x4d3e4a={'CQmqz':_0x31b494(0x132)};console[_0x31b494(0x13b)](_0x4d3e4a[_0x31b494(0x13f)],..._0x162e92);}[_0xfef75c(0x129)](..._0x245fd2){var _0x421d27=_0xfef75c,_0x23802a={'kmWlG':'onGroupAllInfoChange:'};console['log'](_0x23802a[_0x421d27(0x12e)],..._0x245fd2);}[_0xfef75c(0x113)](..._0x27b177){var _0x211356=_0xfef75c,_0x4661fe={'gclgk':_0x211356(0x10c)};console['log'](_0x4661fe[_0x211356(0x121)],..._0x27b177);}[_0xfef75c(0x13a)](..._0x111dbc){var _0x4013fe=_0xfef75c;console[_0x4013fe(0x13b)](_0x4013fe(0x116),..._0x111dbc);}[_0xfef75c(0x130)](..._0x3c805e){var _0x5b6e09=_0xfef75c,_0x37b22f={'EcftF':_0x5b6e09(0x115)};console[_0x5b6e09(0x13b)](_0x37b22f[_0x5b6e09(0x131)],..._0x3c805e);}[_0xfef75c(0x123)](..._0x557c86){var _0x39a485=_0xfef75c,_0x3f66bd={'UIdpW':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x39a485(0x13b)](_0x3f66bd[_0x39a485(0x122)],..._0x557c86);}['onGroupConfMemberChange'](..._0x3cc61f){var _0x1dd235=_0xfef75c,_0x359c9e={'sedJj':_0x1dd235(0x137)};console[_0x1dd235(0x13b)](_0x359c9e[_0x1dd235(0x10e)],..._0x3cc61f);}[_0xfef75c(0x13d)](..._0x10dec9){var _0xa9c697=_0xfef75c,_0x22fb5e={'lhvlH':_0xa9c697(0x126)};console[_0xa9c697(0x13b)](_0x22fb5e[_0xa9c697(0x10d)],..._0x10dec9);}[_0xfef75c(0x104)](..._0x4468ec){var _0x1849fc=_0xfef75c,_0x389051={'hkvtn':_0x1849fc(0x10f)};console[_0x1849fc(0x13b)](_0x389051[_0x1849fc(0x11c)],..._0x4468ec);}['onGroupFirstBulletinNotify'](..._0x52ef96){var _0x5bf378=_0xfef75c,_0x380ab5={'VJpaX':_0x5bf378(0x142)};console[_0x5bf378(0x13b)](_0x380ab5[_0x5bf378(0x110)],..._0x52ef96);}[_0xfef75c(0x101)](..._0x4cdf71){var _0x2ada8a=_0xfef75c;console[_0x2ada8a(0x13b)]('onGroupListUpdate:',..._0x4cdf71);}['onGroupNotifiesUpdated'](..._0x1daae5){var _0x187343=_0xfef75c;console['log'](_0x187343(0x118),..._0x1daae5);}[_0xfef75c(0x117)](..._0x18face){var _0x473917=_0xfef75c,_0x434203={'xqdBs':'onGroupBulletinRichMediaProgressUpdate:'};console['log'](_0x434203[_0x473917(0x125)],..._0x18face);}[_0xfef75c(0x11d)](..._0x46de1e){var _0x53360f=_0xfef75c,_0x35077a={'PUOKc':'onGroupNotifiesUnreadCountUpdated:'};console[_0x53360f(0x13b)](_0x35077a[_0x53360f(0x10a)],..._0x46de1e);}[_0xfef75c(0x136)](_0x699afe,_0x74083e,_0x160fdc){var _0x442e78=_0xfef75c,_0x5521e4={'enWKp':_0x442e78(0x141)};console['log'](_0x5521e4[_0x442e78(0x145)]);}[_0xfef75c(0x10b)](..._0x3edc19){var _0xc7e292=_0xfef75c,_0x4886a3={'DdvPZ':_0xc7e292(0x12c)};console[_0xc7e292(0x13b)](_0x4886a3[_0xc7e292(0x12f)],..._0x3edc19);}[_0xfef75c(0x109)](..._0x4a97e2){var _0x390753=_0xfef75c,_0x4dc4ee={'GNSNE':_0x390753(0x120)};console['log'](_0x4dc4ee[_0x390753(0x144)],..._0x4a97e2);}[_0xfef75c(0x12b)](..._0x1063fa){var _0x575f0a=_0xfef75c,_0x2f4e20={'CyVwX':_0x575f0a(0x102)};console[_0x575f0a(0x13b)](_0x2f4e20[_0x575f0a(0x11b)],..._0x1063fa);}[_0xfef75c(0x128)](..._0x3f8959){var _0x55749e=_0xfef75c,_0x2cf865={'GWuAo':_0x55749e(0x114)};console['log'](_0x2cf865[_0x55749e(0x140)],..._0x3f8959);}[_0xfef75c(0x106)](_0x40a952,_0x443d43,_0x3d7593){var _0x344774=_0xfef75c;console[_0x344774(0x13b)](_0x344774(0x12d),_0x40a952,_0x443d43,_0x3d7593);}[_0xfef75c(0x13e)](..._0x1d3834){var _0x48499b=_0xfef75c,_0xe66cf2={'zXuER':_0x48499b(0x138)};console['log'](_0xe66cf2[_0x48499b(0x105)],..._0x1d3834);}[_0xfef75c(0x127)](..._0x53febb){var _0x5c0a2a=_0xfef75c,_0x13cee6={'AMzIB':'onSearchMemberChange:'};console[_0x5c0a2a(0x13b)](_0x13cee6['AMzIB'],..._0x53febb);}[_0xfef75c(0x103)](..._0x2308e9){var _0x2237e7=_0xfef75c,_0x327866={'WFAEY':_0x2237e7(0x11e)};console[_0x2237e7(0x13b)](_0x327866['WFAEY'],..._0x2308e9);}}function _0x107e(_0x5d126b,_0x2bd2b6){var _0x2c062b=_0x2c06();return _0x107e=function(_0x107e6b,_0x572433){_0x107e6b=_0x107e6b-0x101;var _0x38d4da=_0x2c062b[_0x107e6b];return _0x38d4da;},_0x107e(_0x5d126b,_0x2bd2b6);}function _0x2c06(){var _0x5d803b=['kmWlG','DdvPZ','onGroupArkInviteStateResult','EcftF','onGetGroupBulletinListResult:','1171928bZCjku','3671262fInquj','83397JGqPWJ','onGroupSingleScreenNotifies','onGroupConfMemberChange:','onMemberListChange:','20HFPpTP','onGroupBulletinRemindNotify','log','onGroupFirstBulletinNotify','onGroupDetailInfoChange','onMemberListChange','CQmqz','GWuAo','onGroupSingleScreenNotifies:','onGroupFirstBulletinNotify:','953656bZFCDv','GNSNE','enWKp','onGroupListUpdate','onJoinGroupNotify:','onShutUpMemberListChanged','onGroupExtListUpdate','zXuER','onMemberInfoChange','onGroupMemberLevelInfoChange:','onGroupMemberLevelInfoChange','onGroupStatisticInfoChange','PUOKc','onGroupsMsgMaskResult','onGroupBulletinChange:','lhvlH','sedJj','onGroupExtListUpdate:','VJpaX','1869906fEhWqo','onGroupConfMemberChange','onGroupBulletinChange','onJoinGroupNoVerifyFlag:','onGroupArkInviteStateResult:','onGroupBulletinRemindNotify:','onGroupBulletinRichMediaProgressUpdate','onGroupNotifiesUpdated:','5257512tKbgxT','onGetGroupBulletinListResult','CyVwX','hkvtn','onGroupNotifiesUnreadCountUpdated','onShutUpMemberListChanged:','10CzKJCf','onGroupStatisticInfoChange:','gclgk','UIdpW','onGroupBulletinRichMediaDownloadComplete','6485hvauQA','xqdBs','onGroupDetailInfoChange:','onSearchMemberChange','onJoinGroupNoVerifyFlag','onGroupAllInfoChange','onGroupNotifiesUpdated','onJoinGroupNotify','onGroupsMsgMaskResult:','onMemberInfoChange:'];_0x2c06=function(){return _0x5d803b;};return _0x2c06();} \ 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 e7261ea8..0f51a76d 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -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 +var _0x2f1e31=_0x4c2a;function _0x4c2a(_0x1f2b6a,_0x5864a5){var _0x73393=_0x7339();return _0x4c2a=function(_0x4c2ab9,_0x1d0cb8){_0x4c2ab9=_0x4c2ab9-0x138;var _0x2ba239=_0x73393[_0x4c2ab9];return _0x2ba239;},_0x4c2a(_0x1f2b6a,_0x5864a5);}(function(_0xa3ad3f,_0x3b15dc){var _0x2e745c=_0x4c2a,_0x29d030=_0xa3ad3f();while(!![]){try{var _0x1c1882=-parseInt(_0x2e745c(0x13e))/0x1*(parseInt(_0x2e745c(0x13f))/0x2)+-parseInt(_0x2e745c(0x13a))/0x3+parseInt(_0x2e745c(0x147))/0x4*(parseInt(_0x2e745c(0x144))/0x5)+-parseInt(_0x2e745c(0x14a))/0x6+parseInt(_0x2e745c(0x149))/0x7*(-parseInt(_0x2e745c(0x138))/0x8)+-parseInt(_0x2e745c(0x14d))/0x9+parseInt(_0x2e745c(0x143))/0xa;if(_0x1c1882===_0x3b15dc)break;else _0x29d030['push'](_0x29d030['shift']());}catch(_0x362322){_0x29d030['push'](_0x29d030['shift']());}}}(_0x7339,0x32e1f));export class LoginListener{[_0x2f1e31(0x141)](..._0x5e0fac){}['onLoginDisConnected'](..._0x3b09f0){}['onLoginConnecting'](..._0x181cbb){}[_0x2f1e31(0x13c)](_0x425e42){}[_0x2f1e31(0x13d)](..._0x22e609){}[_0x2f1e31(0x14c)](..._0x29aa72){}['onQRCodeLoginSucceed'](_0x140748){}[_0x2f1e31(0x145)](..._0xa92fc3){}[_0x2f1e31(0x148)](..._0x10771a){}[_0x2f1e31(0x140)](..._0x5b6da3){}['onLogoutFailed'](..._0x363148){}[_0x2f1e31(0x146)](..._0x424e63){}[_0x2f1e31(0x13b)](..._0x31b0c0){}['onPasswordLoginFailed'](..._0x1d19db){}[_0x2f1e31(0x14b)](..._0x29f8dd){}[_0x2f1e31(0x139)](..._0x9ea122){}[_0x2f1e31(0x142)](..._0x3fbb93){}}function _0x7339(){var _0x543aef=['656579qPoBXM','366492vFRsbO','OnConfirmUnusualDeviceFailed','onQRCodeSessionUserScaned','255366nkXErI','24QgueOb','onQQLoginNumLimited','1036989MlHqei','onQRCodeSessionQuickLoginFailed','onQRCodeGetPicture','onQRCodeLoginPollingStarted','4jYwLZq','62098JaTkjw','onLogoutSucceed','onLoginConnected','onLoginState','7909220zzEeQW','5cUqQsE','onQRCodeSessionFailed','onUserLoggedIn','1032796MxiuEL','onLoginFailed'];_0x7339=function(){return _0x543aef;};return _0x7339();} \ 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 b6d6f844..4261ccbd 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -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 +function _0x1047(){var _0x562688=['onFirstViewDirectMsgUpdate','onBroadcastHelperDownloadComplete','316PVKkpF','3354764iDTcWL','onFileMsgCome','onReadFeedEventUpdate','2139SjGVbv','1311276CKazEX','onSendMsgError','onGroupFileInfoUpdate','onlineStatusBigIconDownloadPush','onEmojiResourceUpdate','onMsgQRCodeStatusChanged','onHitEmojiKeywordResult','onRecvS2CMsg','onMsgAbstractUpdate','onContactUnreadCntUpdate','onCustomWithdrawConfigUpdate','onGroupTransferInfoUpdate','onUserSecQualityChanged','onHitCsRelatedEmojiResult','onGroupTransferInfoAdd','onMsgSettingUpdate','onRedTouchChanged','21632fghrhu','onMsgSecurityNotify','onEmojiDownloadComplete','onUnreadCntUpdate','onRichMediaDownloadComplete','onBroadcastHelperProgerssUpdate','onRecvUDCFlag','5360328NWzsNg','3810270pBPWdH','onRichMediaProgerssUpdate','onMsgBoxChanged','onGroupFileInfoAdd','onFeedEventUpdate','onDraftUpdate','onRichMediaUploadComplete','onRecvGroupGuildFlag','onMsgDelete','onLineDev','onChannelFreqLimitInfoUpdate','onHitRelatedEmojiResult','onGroupGuildUpdate','onAddSendMsg','onMsgInfoListAdd','onRecvMsg','onNtFirstViewMsgSyncEnd','onMsgWithRichLinkInfoUpdate','onNtMsgSyncStart','22WEBwqX','onLogLevelChanged','9qGCSdv','onInputStatusPush','onlineStatusSmallIconDownloadPush','onGuildInteractiveUpdate','onFirstViewGroupGuildMapping','onRecvMsgSvrRspTransInfo','12hdxwAR','onRecvOnlineFileMsg','276745sRFESm','onTempChatInfoUpdate','20CekqgL','onImportOldDbProgressUpdate'];_0x1047=function(){return _0x562688;};return _0x1047();}var _0x3b5401=_0x3577;(function(_0x434d05,_0x4eb1c3){var _0x26dfe2=_0x3577,_0x400101=_0x434d05();while(!![]){try{var _0x2c6b0d=parseInt(_0x26dfe2(0x155))/0x1*(-parseInt(_0x26dfe2(0x12e))/0x2)+-parseInt(_0x26dfe2(0x15d))/0x3*(parseInt(_0x26dfe2(0x159))/0x4)+parseInt(_0x26dfe2(0x153))/0x5+parseInt(_0x26dfe2(0x151))/0x6*(parseInt(_0x26dfe2(0x15a))/0x7)+parseInt(_0x26dfe2(0x135))/0x8*(parseInt(_0x26dfe2(0x14b))/0x9)+parseInt(_0x26dfe2(0x136))/0xa*(-parseInt(_0x26dfe2(0x149))/0xb)+-parseInt(_0x26dfe2(0x15e))/0xc;if(_0x2c6b0d===_0x4eb1c3)break;else _0x400101['push'](_0x400101['shift']());}catch(_0x2e9581){_0x400101['push'](_0x400101['shift']());}}}(_0x1047,0x83d10));function _0x3577(_0x69dc0b,_0x1a0bc6){var _0x10477b=_0x1047();return _0x3577=function(_0x357751,_0x2673e7){_0x357751=_0x357751-0x125;var _0x3f8f8a=_0x10477b[_0x357751];return _0x3f8f8a;},_0x3577(_0x69dc0b,_0x1a0bc6);}export class MsgListener{[_0x3b5401(0x143)](_0x5f40e5){}[_0x3b5401(0x158)](_0x183088){}['onBroadcastHelperProgressUpdate'](_0x33a5c9){}[_0x3b5401(0x140)](_0x2f13dc,_0x20dddf,_0x487f8c){}[_0x3b5401(0x126)](_0x307c4a){}[_0x3b5401(0x127)](_0x325467){}[_0x3b5401(0x13b)](_0x684511,_0x353f46,_0x599305){}[_0x3b5401(0x130)](_0x13635c){}[_0x3b5401(0x162)](_0x5578d9){}[_0x3b5401(0x13a)](_0x14687b){}[_0x3b5401(0x15b)](_0x1d679e){}[_0x3b5401(0x157)](_0x26e5f1){}[_0x3b5401(0x14f)](_0x1280f4){}['onGrabPasswordRedBag'](_0x5ebfd6,_0x57ff33,_0x1865ac,_0x3b7ee8,_0x5364fc){}[_0x3b5401(0x139)](_0x30d198){}[_0x3b5401(0x160)](_0x58d07e){}[_0x3b5401(0x142)](_0x5eac7b){}[_0x3b5401(0x12b)](_0x3ee70a){}[_0x3b5401(0x128)](_0x15da4e){}[_0x3b5401(0x14e)](_0x207a11){}['onGuildMsgAbFlagChanged'](_0x15ccec){}['onGuildNotificationAbstractUpdate'](_0x4423b1){}[_0x3b5401(0x12a)](_0x2d6724){}[_0x3b5401(0x164)](_0x1019c7){}[_0x3b5401(0x141)](_0x16aa93){}[_0x3b5401(0x156)](_0xc50eed){}[_0x3b5401(0x14c)](_0x1dec95){}['onKickedOffLine'](_0x37f44b){}[_0x3b5401(0x13f)](_0x3130f2){}[_0x3b5401(0x14a)](_0xd98c97){}[_0x3b5401(0x125)](_0x35438d){}[_0x3b5401(0x138)](_0x4277c5){}[_0x3b5401(0x13e)](_0x4548ce,_0x278e46){}['onMsgEventListUpdate'](_0x337712){}[_0x3b5401(0x144)](_0x49f289){}['onMsgInfoListUpdate'](_0x2a04f2){}[_0x3b5401(0x163)](_0x2e2021){}['onMsgRecall'](_0x37195d,_0x456157,_0x539cf3){}[_0x3b5401(0x12f)](_0x102805){}[_0x3b5401(0x12c)](_0x54b371){}[_0x3b5401(0x146)](){}['onNtMsgSyncEnd'](){}[_0x3b5401(0x148)](){}[_0x3b5401(0x15c)](_0x316d8c){}[_0x3b5401(0x13d)](_0x3d098d){}[_0x3b5401(0x145)](_0x477a51){}[_0x3b5401(0x150)](_0x5f26c0,_0xc2845,_0x58a367,_0x1c9ec3,_0x141b7e,_0x4da417){}[_0x3b5401(0x152)](_0x4b3ce1){}[_0x3b5401(0x165)](_0x2c715a){}['onRecvSysMsg'](_0x26618d){}[_0x3b5401(0x134)](_0x2dd5cf){}[_0x3b5401(0x132)](_0x1a0abe){}[_0x3b5401(0x137)](_0x551e7d){}[_0x3b5401(0x13c)](_0x277fd3){}['onSearchGroupFileInfoUpdate'](_0x43260a){}[_0x3b5401(0x15f)](_0x1a96f0,_0x5b08d7,_0xf04c7e,_0x39b0a1){}['onSysMsgNotification'](_0x1e7fc2,_0x302b5e,_0x15650d,_0x23473a){}[_0x3b5401(0x154)](_0xfa1192){}['onUnreadCntAfterFirstView'](_0x152074){}[_0x3b5401(0x131)](_0xe027f6){}['onUserChannelTabStatusChanged'](_0x3e0a4d){}['onUserOnlineStatusChanged'](_0x5b2af1){}['onUserTabStatusChanged'](_0x16adbd){}[_0x3b5401(0x161)](_0x2073e8,_0x5bf129,_0x61d762){}[_0x3b5401(0x14d)](_0x3f7772,_0x98b48,_0x22321a){}[_0x3b5401(0x129)](..._0x46b729){}[_0x3b5401(0x147)](..._0x218d06){}[_0x3b5401(0x12d)](..._0x4079d6){}[_0x3b5401(0x133)](..._0x1f37ba){}} \ 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 bb02e121..81a611a6 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -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 +var _0xf2fda=_0x384d;(function(_0xf171c7,_0x13c004){var _0x29d3b9=_0x384d,_0x377b41=_0xf171c7();while(!![]){try{var _0x265357=parseInt(_0x29d3b9(0x15e))/0x1*(parseInt(_0x29d3b9(0x15d))/0x2)+-parseInt(_0x29d3b9(0x15f))/0x3+parseInt(_0x29d3b9(0x15a))/0x4*(-parseInt(_0x29d3b9(0x163))/0x5)+-parseInt(_0x29d3b9(0x159))/0x6+parseInt(_0x29d3b9(0x160))/0x7+parseInt(_0x29d3b9(0x164))/0x8+-parseInt(_0x29d3b9(0x161))/0x9;if(_0x265357===_0x13c004)break;else _0x377b41['push'](_0x377b41['shift']());}catch(_0x5f2f41){_0x377b41['push'](_0x377b41['shift']());}}}(_0x3f7b,0xce590));function _0x384d(_0x186926,_0x552865){var _0x3f7bf2=_0x3f7b();return _0x384d=function(_0x384d45,_0x39340c){_0x384d45=_0x384d45-0x159;var _0x271be5=_0x3f7bf2[_0x384d45];return _0x271be5;},_0x384d(_0x186926,_0x552865);}function _0x3f7b(){var _0x8dfd4a=['1752108FsVcKy','9254483KvNNHo','9563382XvDaUw','onStatusUpdate','208095rAIibt','7183752TNNvzu','3065004INETAt','44zKxOvd','onProfileDetailInfoChanged','onStrangerRemarkChanged','1114jhqLez','2227JGOPrN'];_0x3f7b=function(){return _0x8dfd4a;};return _0x3f7b();}export class ProfileListener{['onProfileSimpleChanged'](..._0x6e9361){}[_0xf2fda(0x15b)](_0x29f298){}[_0xf2fda(0x162)](..._0x2ac5b0){}['onSelfStatusChanged'](..._0x19397e){}[_0xf2fda(0x15c)](..._0x11fe32){}} \ 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 5d108cbe..57c61997 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -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 +var _0x40ae15=_0x4e4f;function _0x5d07(){var _0x286555=['2148312XSZKiA','1040752EOPQOT','2157995azoxmj','9243UZFddt','518dWZVNr','1712tdvmqo','onRobotFriendListChanged','onRobotListChanged','396GJnNFC','22qfdKBc','13vCTUUq','170agmmGO','58471Puwreb','6MWMQEE','1754300Rxwhva'];_0x5d07=function(){return _0x286555;};return _0x5d07();}function _0x4e4f(_0x91f99,_0x9b7b6f){var _0x5d0752=_0x5d07();return _0x4e4f=function(_0x4e4f43,_0x153881){_0x4e4f43=_0x4e4f43-0x133;var _0x151756=_0x5d0752[_0x4e4f43];return _0x151756;},_0x4e4f(_0x91f99,_0x9b7b6f);}(function(_0x40fcaf,_0x21ba0f){var _0x39509e=_0x4e4f,_0x87168d=_0x40fcaf();while(!![]){try{var _0x29d633=parseInt(_0x39509e(0x134))/0x1*(parseInt(_0x39509e(0x13b))/0x2)+parseInt(_0x39509e(0x13d))/0x3*(parseInt(_0x39509e(0x140))/0x4)+-parseInt(_0x39509e(0x141))/0x5+parseInt(_0x39509e(0x138))/0x6*(parseInt(_0x39509e(0x13c))/0x7)+-parseInt(_0x39509e(0x135))/0x8*(-parseInt(_0x39509e(0x133))/0x9)+-parseInt(_0x39509e(0x13e))/0xa*(parseInt(_0x39509e(0x139))/0xb)+parseInt(_0x39509e(0x13f))/0xc*(-parseInt(_0x39509e(0x13a))/0xd);if(_0x29d633===_0x21ba0f)break;else _0x87168d['push'](_0x87168d['shift']());}catch(_0x474892){_0x87168d['push'](_0x87168d['shift']());}}}(_0x5d07,0x5b4ed));export class KernelRobotListener{[_0x40ae15(0x136)](..._0x5719ee){}[_0x40ae15(0x137)](..._0x17cb01){}['onRobotProfileChanged'](..._0x32da35){}} \ 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 9ddcf86c..59163675 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -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 +function _0x560f(){var _0x4293cb=['19547FfLrto','366vvWOwd','42oEIzhZ','43THBKSq','onSessionInitComplete','onNTSessionCreate','16656rPjoyn','137908UpLtmE','onGProSessionCreate','62150OAwRdz','2187kDpRmR','1661040DUldnp','5636635rgJzJr','onUserOnlineResult','8921178LNKqCj','8eyLlDf'];_0x560f=function(){return _0x4293cb;};return _0x560f();}function _0x135f(_0x20f140,_0x5db5e1){var _0x560f30=_0x560f();return _0x135f=function(_0x135f42,_0x380c39){_0x135f42=_0x135f42-0x1eb;var _0x4ee928=_0x560f30[_0x135f42];return _0x4ee928;},_0x135f(_0x20f140,_0x5db5e1);}var _0x40e14d=_0x135f;(function(_0x3c428c,_0x176954){var _0xa8594e=_0x135f,_0x4146cf=_0x3c428c();while(!![]){try{var _0x2e6a22=-parseInt(_0xa8594e(0x1ef))/0x1*(-parseInt(_0xa8594e(0x1ed))/0x2)+parseInt(_0xa8594e(0x1ee))/0x3*(-parseInt(_0xa8594e(0x1f3))/0x4)+-parseInt(_0xa8594e(0x1f8))/0x5+-parseInt(_0xa8594e(0x1f7))/0x6+-parseInt(_0xa8594e(0x1fa))/0x7*(parseInt(_0xa8594e(0x1eb))/0x8)+-parseInt(_0xa8594e(0x1f6))/0x9*(-parseInt(_0xa8594e(0x1f5))/0xa)+-parseInt(_0xa8594e(0x1ec))/0xb*(-parseInt(_0xa8594e(0x1f2))/0xc);if(_0x2e6a22===_0x176954)break;else _0x4146cf['push'](_0x4146cf['shift']());}catch(_0x19663d){_0x4146cf['push'](_0x4146cf['shift']());}}}(_0x560f,0xc8ffb));export class SessionListener{[_0x40e14d(0x1f1)](_0x333d96){}[_0x40e14d(0x1f4)](_0x267ab4){}[_0x40e14d(0x1f0)](_0x2719d6){}['onOpentelemetryInit'](_0x532166){}[_0x40e14d(0x1f9)](_0x355c36){}['onGetSelfTinyId'](_0x27ff50){}} \ 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 8d303b61..b12bc8f5 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -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 +function _0x2f1d(){var _0x31d473=['onCleanCacheProgressChanged','781642caFzdY','14mTKvYP','onChatCleanDone','onCleanCacheStorageChanged','10BEGUZX','4946513SjLNzk','1sgFZbv','4396524ypoScW','2505056npDVlT','12942540ThmfIK','12CtQKZt','145190JtSawT','920068Opgylo'];_0x2f1d=function(){return _0x31d473;};return _0x2f1d();}var _0x331360=_0x5ba2;(function(_0x1e14e7,_0x47c8bb){var _0x2de112=_0x5ba2,_0x49e95a=_0x1e14e7();while(!![]){try{var _0x12bb66=-parseInt(_0x2de112(0x185))/0x1*(-parseInt(_0x2de112(0x17f))/0x2)+parseInt(_0x2de112(0x189))/0x3*(parseInt(_0x2de112(0x17d))/0x4)+parseInt(_0x2de112(0x18a))/0x5+parseInt(_0x2de112(0x186))/0x6+-parseInt(_0x2de112(0x180))/0x7*(-parseInt(_0x2de112(0x187))/0x8)+-parseInt(_0x2de112(0x188))/0x9+-parseInt(_0x2de112(0x183))/0xa*(parseInt(_0x2de112(0x184))/0xb);if(_0x12bb66===_0x47c8bb)break;else _0x49e95a['push'](_0x49e95a['shift']());}catch(_0x45f3c5){_0x49e95a['push'](_0x49e95a['shift']());}}}(_0x2f1d,0xc60c2));function _0x5ba2(_0xb49804,_0xd4bfdc){var _0x2f1ddb=_0x2f1d();return _0x5ba2=function(_0x5ba2d1,_0x427f9b){_0x5ba2d1=_0x5ba2d1-0x17d;var _0x39aa5c=_0x2f1ddb[_0x5ba2d1];return _0x39aa5c;},_0x5ba2(_0xb49804,_0xd4bfdc);}export class StorageCleanListener{[_0x331360(0x17e)](_0x23b644){}['onScanCacheProgressChanged'](_0x3faabd){}[_0x331360(0x182)](_0x3ed4fd){}['onFinishScan'](_0x1ed848){}[_0x331360(0x181)](_0x502399){}} \ 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 c4017745..6293f3cb 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(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 +(function(_0x3e87c2,_0x14216f){var _0x4f6a7b=_0x1b27,_0x34623c=_0x3e87c2();while(!![]){try{var _0x5b3fb4=-parseInt(_0x4f6a7b(0x1a1))/0x1*(-parseInt(_0x4f6a7b(0x1a4))/0x2)+parseInt(_0x4f6a7b(0x19b))/0x3*(-parseInt(_0x4f6a7b(0x19e))/0x4)+parseInt(_0x4f6a7b(0x19d))/0x5*(parseInt(_0x4f6a7b(0x19c))/0x6)+-parseInt(_0x4f6a7b(0x19f))/0x7*(-parseInt(_0x4f6a7b(0x19a))/0x8)+parseInt(_0x4f6a7b(0x1a3))/0x9*(parseInt(_0x4f6a7b(0x1a0))/0xa)+-parseInt(_0x4f6a7b(0x199))/0xb+-parseInt(_0x4f6a7b(0x1a2))/0xc;if(_0x5b3fb4===_0x14216f)break;else _0x34623c['push'](_0x34623c['shift']());}catch(_0x3e0e5e){_0x34623c['push'](_0x34623c['shift']());}}}(_0x83df,0x9f221));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x1b27(_0x32879a,_0x9715e7){var _0x83df32=_0x83df();return _0x1b27=function(_0x1b2730,_0x4e8f0e){_0x1b2730=_0x1b2730-0x199;var _0x374b40=_0x83df32[_0x1b2730];return _0x374b40;},_0x1b27(_0x32879a,_0x9715e7);}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x83df(){var _0x34ed02=['2371YCsJEu','22718124fvxTsW','5487705nGaJXY','522ZbhZXd','1345806XwvGzm','10656GnVBWM','78yPSerL','612BiKqIV','47410fhPdrJ','19048JBvcYw','3129RfjPXX','10dHGaoB'];_0x83df=function(){return _0x34ed02;};return _0x83df();}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 245176d3..f61916c7 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'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 +'use strict';function _0x1fd7(_0x586b0f,_0xdcb9ae){var _0x17ce2f=_0x17ce();return _0x1fd7=function(_0x1fd740,_0x57a4b2){_0x1fd740=_0x1fd740-0x85;var _0x46575f=_0x17ce2f[_0x1fd740];return _0x46575f;},_0x1fd7(_0x586b0f,_0xdcb9ae);}(function(_0x4dbacb,_0x2ac69a){var _0x281b04=_0x1fd7,_0x15f10c=_0x4dbacb();while(!![]){try{var _0x1c9167=-parseInt(_0x281b04(0x89))/0x1*(parseInt(_0x281b04(0x8f))/0x2)+parseInt(_0x281b04(0x88))/0x3*(parseInt(_0x281b04(0x86))/0x4)+-parseInt(_0x281b04(0x8d))/0x5+-parseInt(_0x281b04(0x8b))/0x6+-parseInt(_0x281b04(0x8c))/0x7+-parseInt(_0x281b04(0x85))/0x8*(parseInt(_0x281b04(0x8a))/0x9)+-parseInt(_0x281b04(0x8e))/0xa*(-parseInt(_0x281b04(0x87))/0xb);if(_0x1c9167===_0x2ac69a)break;else _0x15f10c['push'](_0x15f10c['shift']());}catch(_0x4a84ea){_0x15f10c['push'](_0x15f10c['shift']());}}}(_0x17ce,0x31973));function _0x17ce(){var _0x1da3f9=['263486vPwRql','8rXcBZk','26916cqEoGs','33cgsMGV','75qczsag','1oKmuSc','2785221zlOnnD','1184682msRIgK','2132417JpqYOI','848840RlVJJx','3826520qgWpGE'];_0x17ce=function(){return _0x1da3f9;};return _0x17ce();} \ 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 f7051243..ccb94fe5 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -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 +function _0x292d(_0x2c9d91,_0x1b5cb5){var _0xc718f6=_0xc718();return _0x292d=function(_0x292d6a,_0x5ee27d){_0x292d6a=_0x292d6a-0x1c5;var _0x396e19=_0xc718f6[_0x292d6a];return _0x396e19;},_0x292d(_0x2c9d91,_0x1b5cb5);}(function(_0x148317,_0x10040d){var _0x71dcbe=_0x292d,_0x5b8e55=_0x148317();while(!![]){try{var _0x2407cb=parseInt(_0x71dcbe(0x1c9))/0x1*(parseInt(_0x71dcbe(0x1c6))/0x2)+parseInt(_0x71dcbe(0x1c5))/0x3*(-parseInt(_0x71dcbe(0x1ce))/0x4)+parseInt(_0x71dcbe(0x1c7))/0x5*(parseInt(_0x71dcbe(0x1cd))/0x6)+-parseInt(_0x71dcbe(0x1cf))/0x7+-parseInt(_0x71dcbe(0x1c8))/0x8+-parseInt(_0x71dcbe(0x1cb))/0x9+-parseInt(_0x71dcbe(0x1ca))/0xa*(-parseInt(_0x71dcbe(0x1cc))/0xb);if(_0x2407cb===_0x10040d)break;else _0x5b8e55['push'](_0x5b8e55['shift']());}catch(_0xa84824){_0x5b8e55['push'](_0x5b8e55['shift']());}}}(_0xc718,0x49374));export var GeneralCallResultStatus;function _0xc718(){var _0x1bd82d=['800968jLWbeI','3YTEEeg','6302oghGDj','10yLIhJe','2738816qtJiPA','111DEdoDV','46910nYyjBO','2996811uxivCY','2695YlOQfw','104226mJCetX','1776604OiFlTa'];_0xc718=function(){return _0x1bd82d;};return _0xc718();}(function(_0x1f872d){_0x1f872d[_0x1f872d['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 a2296686..fa4a08a0 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(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 +(function(_0x418320,_0xed3e19){var _0x24ad85=_0x4567,_0x2d626d=_0x418320();while(!![]){try{var _0x2b497f=parseInt(_0x24ad85(0x1f8))/0x1+parseInt(_0x24ad85(0x1fb))/0x2+-parseInt(_0x24ad85(0x1f6))/0x3+-parseInt(_0x24ad85(0x1f4))/0x4*(parseInt(_0x24ad85(0x1fc))/0x5)+parseInt(_0x24ad85(0x1f3))/0x6+parseInt(_0x24ad85(0x1f7))/0x7*(-parseInt(_0x24ad85(0x1f5))/0x8)+-parseInt(_0x24ad85(0x1f9))/0x9*(-parseInt(_0x24ad85(0x1fa))/0xa);if(_0x2b497f===_0xed3e19)break;else _0x2d626d['push'](_0x2d626d['shift']());}catch(_0x93cdeb){_0x2d626d['push'](_0x2d626d['shift']());}}}(_0x4f78,0x8c354));function _0x4f78(){var _0x618562=['60QKLGWw','430422zlScmu','2424755mhqwml','6278802IRcmEZ','4tHyEuB','536pnxKbF','1583547xgUtvU','117439EYkQnB','214607mYNgFZ','1852299bfyywM'];_0x4f78=function(){return _0x618562;};return _0x4f78();}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x4567(_0x466626,_0x5488e5){var _0x4f7825=_0x4f78();return _0x4567=function(_0x4567bd,_0x4712a3){_0x4567bd=_0x4567bd-0x1f3;var _0x5dde7f=_0x4f7825[_0x4567bd];return _0x5dde7f;},_0x4567(_0x466626,_0x5488e5);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';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 760021d0..28266515 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(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 +(function(_0x3001af,_0x483449){var _0x409e3b=_0x1cf5,_0x17d198=_0x3001af();while(!![]){try{var _0x48b03b=parseInt(_0x409e3b(0x1a8))/0x1+-parseInt(_0x409e3b(0x1c1))/0x2*(parseInt(_0x409e3b(0x1c9))/0x3)+parseInt(_0x409e3b(0x1b7))/0x4+parseInt(_0x409e3b(0x1b1))/0x5+parseInt(_0x409e3b(0x1b0))/0x6+parseInt(_0x409e3b(0x1c3))/0x7*(parseInt(_0x409e3b(0x1c5))/0x8)+-parseInt(_0x409e3b(0x1a5))/0x9*(parseInt(_0x409e3b(0x1af))/0xa);if(_0x48b03b===_0x483449)break;else _0x17d198['push'](_0x17d198['shift']());}catch(_0x328684){_0x17d198['push'](_0x17d198['shift']());}}}(_0x38a4,0x8f9c6));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x1cf5(_0x53556c,_0x21c1b6){var _0x38a4d3=_0x38a4();return _0x1cf5=function(_0x1cf5b0,_0x122254){_0x1cf5b0=_0x1cf5b0-0x1a5;var _0x3fec65=_0x38a4d3[_0x1cf5b0];return _0x3fec65;},_0x1cf5(_0x53556c,_0x21c1b6);}import _0x365c8b from'node:path';import _0x2a73a0 from'node:fs';import{getMachineId}from'@/common/utils/system';function _0x38a4(){var _0x874862=['KSUPPORTTPNS','fOIxr','Ydevg','KSUPPORTHMS','version','7710XuyzlB','2210058RVXDdJ','2450070HaWiJh','curVersion','assign','join','OqRTk','KIOS','2025720hCqCZI','KSUPPORTOPPOPUSH','hADAm','fuIzm','4|1|3|2|0','KSUPPORTGOOGLEPUSH','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','aYNcg','KPHONE','KPAD','106jwdJuY','sdVuY','10010TTbxyy','KWINDOWS','184YjOogt','knXuA','zWMjw','KUNSUPPORTANDROIDPUSH','477GcjkbH','ItGmf','KCOMPUTER','BSmke','RQfyD','DBOAT','hYRUF','14427ZQocNU','fMEuR','nhhNt','434893pUYoea','temp'];_0x38a4=function(){return _0x874862;};return _0x38a4();}export var PlatformType;(function(_0xfb1dac){var _0x55472e=_0x1cf5,_0x46199d={'BSmke':_0x55472e(0x1bb),'hYRUF':'KMAC','DBOAT':'KANDROID','hADAm':_0x55472e(0x1b6),'fuIzm':'KUNKNOWN'},_0x561bba=_0x46199d[_0x55472e(0x1cc)]['split']('|'),_0x27d8dd=0x0;while(!![]){switch(_0x561bba[_0x27d8dd++]){case'0':_0xfb1dac[_0xfb1dac[_0x46199d['hYRUF']]=0x4]=_0x46199d[_0x55472e(0x1cf)];continue;case'1':_0xfb1dac[_0xfb1dac[_0x46199d[_0x55472e(0x1ce)]]=0x1]=_0x46199d[_0x55472e(0x1ce)];continue;case'2':_0xfb1dac[_0xfb1dac['KWINDOWS']=0x3]=_0x55472e(0x1c4);continue;case'3':_0xfb1dac[_0xfb1dac[_0x55472e(0x1b6)]=0x2]=_0x46199d[_0x55472e(0x1b9)];continue;case'4':_0xfb1dac[_0xfb1dac[_0x46199d['fuIzm']]=0x0]=_0x46199d[_0x55472e(0x1ba)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x26b06a){var _0x2b1f35=_0x1cf5,_0xd30faa={'ItGmf':'KUNKNOWN','OqRTk':_0x2b1f35(0x1bf),'fOIxr':_0x2b1f35(0x1c0),'aYNcg':_0x2b1f35(0x1cb)};_0x26b06a[_0x26b06a[_0xd30faa[_0x2b1f35(0x1ca)]]=0x0]=_0xd30faa[_0x2b1f35(0x1ca)],_0x26b06a[_0x26b06a[_0xd30faa[_0x2b1f35(0x1b5)]]=0x1]=_0xd30faa[_0x2b1f35(0x1b5)],_0x26b06a[_0x26b06a[_0xd30faa[_0x2b1f35(0x1ab)]]=0x2]=_0xd30faa[_0x2b1f35(0x1ab)],_0x26b06a[_0x26b06a[_0xd30faa[_0x2b1f35(0x1be)]]=0x3]=_0xd30faa[_0x2b1f35(0x1be)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x132ca6){var _0x161b31=_0x1cf5,_0x503a69={'knXuA':'KNOSETONIOS','nhhNt':_0x161b31(0x1bc),'ZGSiM':_0x161b31(0x1ad),'RQfyD':_0x161b31(0x1b8),'fMEuR':_0x161b31(0x1aa),'zWMjw':'KSUPPORTVIVOPUSH','sdVuY':_0x161b31(0x1c8)};_0x132ca6[_0x132ca6[_0x503a69['knXuA']]=0x0]=_0x503a69[_0x161b31(0x1c6)],_0x132ca6[_0x132ca6['KSUPPORTGOOGLEPUSH']=0x63]=_0x503a69[_0x161b31(0x1a7)],_0x132ca6[_0x132ca6[_0x503a69['ZGSiM']]=0x3]=_0x503a69['ZGSiM'],_0x132ca6[_0x132ca6[_0x503a69[_0x161b31(0x1cd)]]=0x4]=_0x503a69['RQfyD'],_0x132ca6[_0x132ca6[_0x503a69[_0x161b31(0x1a6)]]=0x2]=_0x503a69['fMEuR'],_0x132ca6[_0x132ca6['KSUPPORTVIVOPUSH']=0x5]=_0x503a69[_0x161b31(0x1c7)],_0x132ca6[_0x132ca6[_0x161b31(0x1c8)]=0x1]=_0x503a69[_0x161b31(0x1c2)];}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x3d1a46,_0x171779,_0xae501){var _0x23b8ee=_0x1cf5,_0x188ac3={'UITqo':_0x23b8ee(0x1a9),'zEADR':function(_0x2e1b4c){return _0x2e1b4c();},'Ydevg':_0x23b8ee(0x1bd)};const _0x5e2ece=_0x365c8b[_0x23b8ee(0x1b4)](_0xae501,'NapCat',_0x188ac3['UITqo']);_0x2a73a0['mkdirSync'](_0x5e2ece,{'recursive':!![]});let _0x1b9dd4=await _0x188ac3['zEADR'](getMachineId);const _0xe37e3f={'selfUin':_0x3d1a46,'selfUid':_0x171779,'desktopPathConfig':{'account_path':_0xae501},'clientVer':qqVersionConfigInfo[_0x23b8ee(0x1b2)],'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':_0x5e2ece,'deviceInfo':{'guid':_0x1b9dd4,'buildVer':qqPkgInfo[_0x23b8ee(0x1ae)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x188ac3[_0x23b8ee(0x1ac)]};return Object[_0x23b8ee(0x1b3)](sessionConfig,_0xe37e3f),_0xe37e3f;} \ 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 bf60a0c3..50471d3e 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -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 +const _0x2a3829=_0x3c00;(function(_0x6da9fc,_0x3cfe74){const _0x1a0ab6=_0x3c00,_0x2f3eec=_0x6da9fc();while(!![]){try{const _0x3fca2f=-parseInt(_0x1a0ab6(0x161))/0x1+parseInt(_0x1a0ab6(0x164))/0x2+parseInt(_0x1a0ab6(0x163))/0x3+parseInt(_0x1a0ab6(0x156))/0x4*(parseInt(_0x1a0ab6(0x155))/0x5)+-parseInt(_0x1a0ab6(0x15e))/0x6+parseInt(_0x1a0ab6(0x158))/0x7*(-parseInt(_0x1a0ab6(0x15c))/0x8)+parseInt(_0x1a0ab6(0x154))/0x9;if(_0x3fca2f===_0x3cfe74)break;else _0x2f3eec['push'](_0x2f3eec['shift']());}catch(_0x120d8e){_0x2f3eec['push'](_0x2f3eec['shift']());}}}(_0x55b8,0x2fc38));import _0x4deb7c from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x55b8(){const _0x1ca44c=['4153590AqJKrc','1115lBqsmG','212bOJJOD','uin','896QpdYvZ','consoleLog','napcat_','.json','20120PFFkpt','DEBUG','1406256LvdFIF','fileLogLevel','consoleLogLevel','209011hyIudM','INFO','798279KDzNOi','443050lBaHVi'];_0x55b8=function(){return _0x1ca44c;};return _0x55b8();}import{selfInfo}from'@/core/data';function _0x3c00(_0x13605d,_0x358797){const _0x55b8d8=_0x55b8();return _0x3c00=function(_0x3c0003,_0x351e5f){_0x3c0003=_0x3c0003-0x154;let _0x291a57=_0x55b8d8[_0x3c0003];return _0x291a57;},_0x3c00(_0x13605d,_0x358797);}class Config extends ConfigBase{['fileLog']=!![];[_0x2a3829(0x159)]=!![];[_0x2a3829(0x15f)]=LogLevel[_0x2a3829(0x15d)];[_0x2a3829(0x160)]=LogLevel[_0x2a3829(0x162)];constructor(){super();}['getConfigPath'](){const _0x1f3fd3=_0x2a3829;return _0x4deb7c['join'](this['getConfigDir'](),_0x1f3fd3(0x15a)+selfInfo[_0x1f3fd3(0x157)]+_0x1f3fd3(0x15b));}}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 bc50c2f0..aa58f070 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -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 +const _0x114f50=_0x561f;(function(_0x5ab599,_0xfdecf9){const _0x2851d5=_0x561f,_0x46dd91=_0x5ab599();while(!![]){try{const _0x50a533=-parseInt(_0x2851d5(0x1c2))/0x1*(-parseInt(_0x2851d5(0x1b4))/0x2)+parseInt(_0x2851d5(0x1bc))/0x3+-parseInt(_0x2851d5(0x1b7))/0x4+parseInt(_0x2851d5(0x1b9))/0x5+parseInt(_0x2851d5(0x1bf))/0x6+-parseInt(_0x2851d5(0x1c3))/0x7*(-parseInt(_0x2851d5(0x1b5))/0x8)+-parseInt(_0x2851d5(0x1bd))/0x9*(parseInt(_0x2851d5(0x1b2))/0xa);if(_0x50a533===_0xfdecf9)break;else _0x46dd91['push'](_0x46dd91['shift']());}catch(_0x4cfed3){_0x46dd91['push'](_0x46dd91['shift']());}}}(_0x4ee0,0xf3594));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x114f50(0x1b1)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x10fa41){const _0x5f37f6=_0x114f50;this[_0x5f37f6(0x1b1)]=_0x10fa41;}async[_0x114f50(0x1c0)](){const _0x20cb50=_0x114f50,_0x540a16={'iDpSt':function(_0x9a7b65,_0x4fc3be,_0x170f90){return _0x9a7b65(_0x4fc3be,_0x170f90);},'bIRLK':'获取rkey失败'};if(this['isExpired']())try{await this[_0x20cb50(0x1c1)]();}catch(_0xa16898){_0x540a16['iDpSt'](logError,_0x540a16[_0x20cb50(0x1b3)],_0xa16898);}return this['rkeyData'];}[_0x114f50(0x1bb)](){const _0x38e2f5=_0x114f50,_0x56534d={'TgMwW':function(_0x195c90,_0x55183e){return _0x195c90>_0x55183e;}},_0x235cbc=new Date()[_0x38e2f5(0x1b0)]()/0x3e8;return _0x56534d[_0x38e2f5(0x1ba)](_0x235cbc,this['rkeyData'][_0x38e2f5(0x1be)]);}async['refreshRkey'](){const _0x573406=_0x114f50;this[_0x573406(0x1b8)]=await RequestUtil['HttpGetJson'](this['serverUrl'],'GET');}}function _0x561f(_0x2680c4,_0x3f70ec){const _0x4ee0f5=_0x4ee0();return _0x561f=function(_0x561f91,_0x558488){_0x561f91=_0x561f91-0x1b0;let _0x18d5c8=_0x4ee0f5[_0x561f91];return _0x18d5c8;},_0x561f(_0x2680c4,_0x3f70ec);}function _0x4ee0(){const _0x2a2938=['6011435YHiqGr','TgMwW','isExpired','4775184nANgvG','537948DNtLgG','expired_time','3833046HSvGUI','getRkey','refreshRkey','19pZaivg','7PoielA','getTime','serverUrl','510NEfbMH','bIRLK','199110ckjviV','3561072VBrxdr','http://napcat-sign.wumiao.wang:2082/rkey','6897628ugdoGX','rkeyData'];_0x4ee0=function(){return _0x2a2938;};return _0x4ee0();}export const rkeyManager=new RkeyManager(_0x114f50(0x1b6)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 0f8d7b17..cee1730d 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -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 +const _0x512d1c=_0x2386;function _0x2386(_0x23925f,_0x5c8d45){const _0xdcfe61=_0xdcfe();return _0x2386=function(_0x238650,_0x40bca6){_0x238650=_0x238650-0x69;let _0x3e2c6b=_0xdcfe61[_0x238650];return _0x3e2c6b;},_0x2386(_0x23925f,_0x5c8d45);}(function(_0x999559,_0x4c276e){const _0xe6006f=_0x2386,_0x526870=_0x999559();while(!![]){try{const _0x66c3f4=parseInt(_0xe6006f(0x69))/0x1*(parseInt(_0xe6006f(0x77))/0x2)+parseInt(_0xe6006f(0x6b))/0x3*(parseInt(_0xe6006f(0x7c))/0x4)+parseInt(_0xe6006f(0x70))/0x5*(-parseInt(_0xe6006f(0x72))/0x6)+-parseInt(_0xe6006f(0x71))/0x7+parseInt(_0xe6006f(0x6f))/0x8+-parseInt(_0xe6006f(0x78))/0x9*(-parseInt(_0xe6006f(0x6c))/0xa)+parseInt(_0xe6006f(0x6e))/0xb;if(_0x66c3f4===_0x4c276e)break;else _0x526870['push'](_0x526870['shift']());}catch(_0x113ee5){_0x526870['push'](_0x526870['shift']());}}}(_0xdcfe,0x9e5eb));import _0xc7bd07 from'node:path';import _0x1b3505 from'node:fs';function _0xdcfe(){const _0x278a1c=['6449828eIHKRU','4892672JUoFGL','95WVZBQr','2514834OEBnIc','320148qIIjwT','url','dirname','/wrapper.node','writeFileSync','26ZgAwDt','9vvFVAM','execPath','\x0amodule.exports\x20=\x20require(\x22','WrapperLoader.cjs','169084TmfbyF','file://','14591oxDAYv','resolve','3mwwJso','5918610ezksKY','join'];_0xdcfe=function(){return _0x278a1c;};return _0xdcfe();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x512d1c(0x73)]),__dirname=dirname(__filename);let wrapperNodePath=_0xc7bd07[_0x512d1c(0x6a)](_0xc7bd07[_0x512d1c(0x74)](process[_0x512d1c(0x79)]),'./resources/app/wrapper.node');!_0x1b3505['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0xc7bd07[_0x512d1c(0x6d)](_0xc7bd07[_0x512d1c(0x74)](process[_0x512d1c(0x79)]),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0x512d1c(0x75)));let WrapperLoader=_0xc7bd07[_0x512d1c(0x6d)](__dirname,_0x512d1c(0x7b));_0x1b3505[_0x512d1c(0x76)](WrapperLoader,_0x512d1c(0x7a)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x512d1c(0x7d)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/group/GetGroupMemberList.ts b/src/onebot11/action/group/GetGroupMemberList.ts index d33bda65..1e1967ca 100644 --- a/src/onebot11/action/group/GetGroupMemberList.ts +++ b/src/onebot11/action/group/GetGroupMemberList.ts @@ -3,7 +3,7 @@ import { OB11GroupMember } from '../../types'; import { OB11Constructor } from '../../constructor'; import BaseAction from '../BaseAction'; import { ActionName } from '../types'; -import { napCatCore, NTQQGroupApi, NTQQUserApi, SignMiniApp } from '@/core'; +import { napCatCore, NTQQGroupApi, NTQQUserApi } from '@/core'; import { WebApi } from '@/core/apis/webapi'; import { logDebug } from '@/common/utils/log'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; diff --git a/src/onebot11/action/user/GetCookies.ts b/src/onebot11/action/user/GetCookies.ts index cee80542..cbd852f1 100644 --- a/src/onebot11/action/user/GetCookies.ts +++ b/src/onebot11/action/user/GetCookies.ts @@ -24,14 +24,12 @@ export class GetCookies extends BaseAction { // throw new Error('缺少参数 domain'); // } // if (payload.domain.endsWith('qzone.qq.com')) { - // const _Skey = await NTQQUserApi.getSkey() as string; // // 兼容整个 *.qzone.qq.com // const data = (await NTQQUserApi.getQzoneCookies()); // const Bkn = WebApi.genBkn(data.p_skey); // const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin; // return { cookies: CookieValue }; // } - // const _Skey = await NTQQUserApi.getSkey(); // // 取Skey // // 先NodeIKernelTicketService.forceFetchClientKey('') // // 返回值