From 0bbe51f8fd1b946999a6658e3a6bd245e6f2dbbc Mon Sep 17 00:00:00 2001 From: linyuchen Date: Mon, 6 May 2024 19:45:20 +0800 Subject: [PATCH] fix: rkey cached --- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/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/external/hook.js | 2 +- src/core.lib/src/index.js | 2 +- src/core.lib/src/listeners/NodeIKernelBuddyListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelGroupListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelLoginListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelMsgListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelProfileListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelRobotListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelSessionListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/db.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 486fe942..c1f3f829 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x58e4(_0x6deb9c,_0x1e969c){var _0x1db088=_0x1db0();return _0x58e4=function(_0x58e451,_0xdd973f){_0x58e451=_0x58e451-0x1db;var _0x3ca1f4=_0x1db088[_0x58e451];return _0x3ca1f4;},_0x58e4(_0x6deb9c,_0x1e969c);}function _0x1db0(){var _0xbea9fe=['56LmhOtU','1976905KIZsuV','2360830hhXClr','127820TwnsNE','getGroupCode','18GKRtnL','4YzYtuT','630JQAKjk','1937592GdkUob','15658sfTttq','1754073MPNeFr','582003zUNlAe'];_0x1db0=function(){return _0xbea9fe;};return _0x1db0();}var _0x4496a0=_0x58e4;(function(_0x20a33d,_0x300961){var _0x4a7821=_0x58e4,_0x1489e2=_0x20a33d();while(!![]){try{var _0x430229=parseInt(_0x4a7821(0x1e1))/0x1*(parseInt(_0x4a7821(0x1dd))/0x2)+parseInt(_0x4a7821(0x1e2))/0x3*(-parseInt(_0x4a7821(0x1de))/0x4)+-parseInt(_0x4a7821(0x1e6))/0x5+parseInt(_0x4a7821(0x1e0))/0x6+-parseInt(_0x4a7821(0x1e5))/0x7+parseInt(_0x4a7821(0x1e4))/0x8*(parseInt(_0x4a7821(0x1e3))/0x9)+-parseInt(_0x4a7821(0x1df))/0xa*(-parseInt(_0x4a7821(0x1db))/0xb);if(_0x430229===_0x300961)break;else _0x1489e2['push'](_0x1489e2['shift']());}catch(_0x5572fb){_0x1489e2['push'](_0x1489e2['shift']());}}}(_0x1db0,0x4b83f));export class DependsAdapter{['onMSFStatusChange'](_0x51c131,_0x2c97d8){}['onMSFSsoError'](_0x19ec1b){}[_0x4496a0(0x1dc)](_0x320b4c){}} \ No newline at end of file +var _0x4bf7ea=_0x185f;function _0x185f(_0x95bd67,_0x1428ff){var _0x1fe251=_0x1fe2();return _0x185f=function(_0x185ff2,_0x3d6ede){_0x185ff2=_0x185ff2-0x1d5;var _0x493874=_0x1fe251[_0x185ff2];return _0x493874;},_0x185f(_0x95bd67,_0x1428ff);}(function(_0xa623d6,_0x326683){var _0x47a88d=_0x185f,_0x49d807=_0xa623d6();while(!![]){try{var _0x24c49f=parseInt(_0x47a88d(0x1da))/0x1+-parseInt(_0x47a88d(0x1e1))/0x2*(-parseInt(_0x47a88d(0x1d6))/0x3)+parseInt(_0x47a88d(0x1d5))/0x4+parseInt(_0x47a88d(0x1db))/0x5*(parseInt(_0x47a88d(0x1e2))/0x6)+-parseInt(_0x47a88d(0x1d9))/0x7+parseInt(_0x47a88d(0x1e0))/0x8*(-parseInt(_0x47a88d(0x1d8))/0x9)+-parseInt(_0x47a88d(0x1de))/0xa*(parseInt(_0x47a88d(0x1d7))/0xb);if(_0x24c49f===_0x326683)break;else _0x49d807['push'](_0x49d807['shift']());}catch(_0x351247){_0x49d807['push'](_0x49d807['shift']());}}}(_0x1fe2,0xd504f));export class DependsAdapter{[_0x4bf7ea(0x1dc)](_0x384410,_0x5bdc70){}[_0x4bf7ea(0x1dd)](_0x1df9b6){}[_0x4bf7ea(0x1df)](_0x4666b0){}}function _0x1fe2(){var _0x278ba3=['579264ziJIXv','93isqlzT','299046xmiHQi','1134twKOIZ','3357382LTQAYD','668481KoMAyH','2025425sBtZiq','onMSFStatusChange','onMSFSsoError','40lQCnnM','getGroupCode','99256CWBUPF','64234EPTILT','18XnXkGB'];_0x1fe2=function(){return _0x278ba3;};return _0x1fe2();} \ 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 727c07d6..e9fd2144 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x40c1ec=_0x57e4;(function(_0x39f25f,_0x2b8852){var _0x564f96=_0x57e4,_0x534171=_0x39f25f();while(!![]){try{var _0xefb18c=-parseInt(_0x564f96(0x90))/0x1*(parseInt(_0x564f96(0x92))/0x2)+-parseInt(_0x564f96(0x8d))/0x3+-parseInt(_0x564f96(0x8f))/0x4+parseInt(_0x564f96(0x88))/0x5+parseInt(_0x564f96(0x8e))/0x6+-parseInt(_0x564f96(0x8c))/0x7*(parseInt(_0x564f96(0x8a))/0x8)+-parseInt(_0x564f96(0x93))/0x9*(-parseInt(_0x564f96(0x91))/0xa);if(_0xefb18c===_0x2b8852)break;else _0x534171['push'](_0x534171['shift']());}catch(_0x23fb1e){_0x534171['push'](_0x534171['shift']());}}}(_0xdd43,0x9d5d6));function _0x57e4(_0x4bc038,_0xf6100f){var _0xdd434=_0xdd43();return _0x57e4=function(_0x57e415,_0x377163){_0x57e415=_0x57e415-0x88;var _0x48ca83=_0xdd434[_0x57e415];return _0x48ca83;},_0x57e4(_0x4bc038,_0xf6100f);}function _0xdd43(){var _0x4fd7f7=['1504710PHtrcJ','5815338zBiVdz','257928JcdSMe','443766UHtSog','330LMTRZM','4clGRSq','439947dqhxyN','3433330pvtJQQ','dispatchCallWithJson','328NtuEzy','dispatchCall','199906mpLFkM'];_0xdd43=function(){return _0x4fd7f7;};return _0xdd43();}export class DispatcherAdapter{['dispatchRequest'](_0x58ce2f){}[_0x40c1ec(0x8b)](_0x5b2ca8){}[_0x40c1ec(0x89)](_0x582eda){}} \ No newline at end of file +function _0x2a7a(){var _0x54a1d8=['dispatchCallWithJson','2111930heesPj','1116rYyeFa','1346366Nctgdz','1845564avwDVa','dispatchCall','8xYPSzr','2wlNPUQ','10076lZCRnl','155576MsFZRJ','9PSYrTC','8qNHGsj','dispatchRequest','1277630GrIdpw','218898AfqNzu'];_0x2a7a=function(){return _0x54a1d8;};return _0x2a7a();}function _0x2643(_0x350af8,_0x4047a9){var _0x2a7a74=_0x2a7a();return _0x2643=function(_0x264374,_0xd8fd67){_0x264374=_0x264374-0x157;var _0x4f53d5=_0x2a7a74[_0x264374];return _0x4f53d5;},_0x2643(_0x350af8,_0x4047a9);}var _0x5e1a14=_0x2643;(function(_0x2fc5d6,_0xd23c44){var _0x1f16f3=_0x2643,_0x5b0a74=_0x2fc5d6();while(!![]){try{var _0x26c190=parseInt(_0x1f16f3(0x158))/0x1*(-parseInt(_0x1f16f3(0x15a))/0x2)+parseInt(_0x1f16f3(0x15f))/0x3+parseInt(_0x1f16f3(0x15c))/0x4*(parseInt(_0x1f16f3(0x15e))/0x5)+parseInt(_0x1f16f3(0x164))/0x6+parseInt(_0x1f16f3(0x163))/0x7*(-parseInt(_0x1f16f3(0x157))/0x8)+-parseInt(_0x1f16f3(0x15b))/0x9*(parseInt(_0x1f16f3(0x161))/0xa)+-parseInt(_0x1f16f3(0x159))/0xb*(-parseInt(_0x1f16f3(0x162))/0xc);if(_0x26c190===_0xd23c44)break;else _0x5b0a74['push'](_0x5b0a74['shift']());}catch(_0x485b9b){_0x5b0a74['push'](_0x5b0a74['shift']());}}}(_0x2a7a,0x65f9d));export class DispatcherAdapter{[_0x5e1a14(0x15d)](_0x398914){}[_0x5e1a14(0x165)](_0x3496cc){}[_0x5e1a14(0x160)](_0x2ec71e){}} \ 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 c22dafe2..c9b726e9 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x2de5d6=_0x43e3;(function(_0x49207b,_0x4135fb){var _0x1f2c47=_0x43e3,_0x2f261e=_0x49207b();while(!![]){try{var _0x35b9a1=-parseInt(_0x1f2c47(0x150))/0x1*(parseInt(_0x1f2c47(0x159))/0x2)+-parseInt(_0x1f2c47(0x14d))/0x3*(parseInt(_0x1f2c47(0x158))/0x4)+parseInt(_0x1f2c47(0x153))/0x5+-parseInt(_0x1f2c47(0x154))/0x6+-parseInt(_0x1f2c47(0x15b))/0x7+-parseInt(_0x1f2c47(0x152))/0x8+parseInt(_0x1f2c47(0x14e))/0x9;if(_0x35b9a1===_0x4135fb)break;else _0x2f261e['push'](_0x2f261e['shift']());}catch(_0x4348d8){_0x2f261e['push'](_0x2f261e['shift']());}}}(_0x571d,0x707b5));export class GlobalAdapter{[_0x2de5d6(0x15c)](..._0x44d353){}[_0x2de5d6(0x157)](..._0x544771){}[_0x2de5d6(0x151)](..._0x24ecf5){}[_0x2de5d6(0x15a)](..._0x5b53b6){}[_0x2de5d6(0x155)](..._0x56c60c){}[_0x2de5d6(0x14f)](..._0x4b16a9){}['onUpdateGeneralFlag'](..._0x319be4){}[_0x2de5d6(0x156)](..._0x230d16){}}function _0x43e3(_0x3efe39,_0x25277d){var _0x571d68=_0x571d();return _0x43e3=function(_0x43e399,_0x2dbfde){_0x43e399=_0x43e399-0x14d;var _0x32ff6b=_0x571d68[_0x43e399];return _0x32ff6b;},_0x43e3(_0x3efe39,_0x25277d);}function _0x571d(){var _0x1a3095=['3211080DsgRFJ','getAppSetting','onGetOfflineMsg','onGetSrvCalTime','268616LABxvc','306662wOToGA','fixPicImgType','1488578vEqJvU','onLog','27OscAtg','16498782llqQIU','onInstallFinished','3BVSGnn','onShowErrUITips','188048ONuwfs','2316230emUOxP'];_0x571d=function(){return _0x1a3095;};return _0x571d();} \ No newline at end of file +function _0x525d(){var _0x2adecf=['3088806sFlLun','onInstallFinished','fixPicImgType','1942758HIdosH','onShowErrUITips','1107VEsNHr','12483740mQeARn','onGetSrvCalTime','1bswlCD','onGetOfflineMsg','8XsgiPz','19688wjpxJd','72pRhZyo','161LywDxD','onLog','getAppSetting','2287879LDUvZK','3241090iWTabE','45348gAegsR'];_0x525d=function(){return _0x2adecf;};return _0x525d();}function _0x2095(_0x5482f3,_0x3ddab0){var _0x525ddd=_0x525d();return _0x2095=function(_0x2095dc,_0x5259d4){_0x2095dc=_0x2095dc-0x14d;var _0x3c9f00=_0x525ddd[_0x2095dc];return _0x3c9f00;},_0x2095(_0x5482f3,_0x3ddab0);}var _0x413af0=_0x2095;(function(_0x5d0886,_0x313b66){var _0x5c3529=_0x2095,_0xb187fe=_0x5d0886();while(!![]){try{var _0x3ec8b1=-parseInt(_0x5c3529(0x14d))/0x1*(parseInt(_0x5c3529(0x158))/0x2)+parseInt(_0x5c3529(0x15b))/0x3+-parseInt(_0x5c3529(0x14f))/0x4*(parseInt(_0x5c3529(0x156))/0x5)+parseInt(_0x5c3529(0x157))/0x6*(parseInt(_0x5c3529(0x152))/0x7)+parseInt(_0x5c3529(0x150))/0x8*(parseInt(_0x5c3529(0x15d))/0x9)+parseInt(_0x5c3529(0x15e))/0xa+-parseInt(_0x5c3529(0x155))/0xb*(-parseInt(_0x5c3529(0x151))/0xc);if(_0x3ec8b1===_0x313b66)break;else _0xb187fe['push'](_0xb187fe['shift']());}catch(_0x54187e){_0xb187fe['push'](_0xb187fe['shift']());}}}(_0x525d,0xbe548));export class GlobalAdapter{[_0x413af0(0x153)](..._0x3a220e){}[_0x413af0(0x15f)](..._0x10a14a){}[_0x413af0(0x15c)](..._0x327450){}[_0x413af0(0x15a)](..._0x377f4d){}[_0x413af0(0x154)](..._0x4a42df){}[_0x413af0(0x159)](..._0x5b269a){}['onUpdateGeneralFlag'](..._0x525f19){}[_0x413af0(0x14e)](..._0xc265cd){}} \ 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 cfec9a51..edf0e8cd 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x3eb7(_0x2c00d2,_0x5403c6){var _0x30e4bc=_0x30e4();return _0x3eb7=function(_0x3eb76a,_0x331950){_0x3eb76a=_0x3eb76a-0x109;var _0x13f5a8=_0x30e4bc[_0x3eb76a];return _0x13f5a8;},_0x3eb7(_0x2c00d2,_0x5403c6);}(function(_0x3658f0,_0x103b63){var _0x5eec5a=_0x3eb7,_0x544f0b=_0x3658f0();while(!![]){try{var _0x483541=-parseInt(_0x5eec5a(0x111))/0x1*(parseInt(_0x5eec5a(0x110))/0x2)+parseInt(_0x5eec5a(0x113))/0x3*(-parseInt(_0x5eec5a(0x112))/0x4)+-parseInt(_0x5eec5a(0x10a))/0x5*(parseInt(_0x5eec5a(0x114))/0x6)+parseInt(_0x5eec5a(0x10b))/0x7+-parseInt(_0x5eec5a(0x10d))/0x8*(parseInt(_0x5eec5a(0x10c))/0x9)+parseInt(_0x5eec5a(0x10e))/0xa*(-parseInt(_0x5eec5a(0x109))/0xb)+parseInt(_0x5eec5a(0x10f))/0xc;if(_0x483541===_0x103b63)break;else _0x544f0b['push'](_0x544f0b['shift']());}catch(_0x2efd05){_0x544f0b['push'](_0x544f0b['shift']());}}}(_0x30e4,0x35665));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x30e4(){var _0x913e96=['5jcWLDZ','2133754MFjFDB','9iQTUVz','3007672dtWSrK','20PICrdg','15085668mgJdDW','592kYlXaG','758fEkIpK','99644xTjJyb','21ZAOjOQ','1595148JRlLPy','1664707QFJyGl'];_0x30e4=function(){return _0x913e96;};return _0x30e4();} \ No newline at end of file +function _0x10e4(_0x2150f4,_0x2e06dd){var _0x2d8095=_0x2d80();return _0x10e4=function(_0x10e441,_0x1e0ea0){_0x10e441=_0x10e441-0x9c;var _0x3ba591=_0x2d8095[_0x10e441];return _0x3ba591;},_0x10e4(_0x2150f4,_0x2e06dd);}(function(_0x53dd8e,_0x559fd5){var _0x4a0db7=_0x10e4,_0x25662c=_0x53dd8e();while(!![]){try{var _0x279b5a=parseInt(_0x4a0db7(0x9d))/0x1*(parseInt(_0x4a0db7(0x9c))/0x2)+-parseInt(_0x4a0db7(0xa0))/0x3+parseInt(_0x4a0db7(0xa1))/0x4*(parseInt(_0x4a0db7(0xa5))/0x5)+parseInt(_0x4a0db7(0xa4))/0x6*(-parseInt(_0x4a0db7(0x9e))/0x7)+-parseInt(_0x4a0db7(0xa2))/0x8+-parseInt(_0x4a0db7(0x9f))/0x9*(-parseInt(_0x4a0db7(0xa6))/0xa)+parseInt(_0x4a0db7(0xa3))/0xb;if(_0x279b5a===_0x559fd5)break;else _0x25662c['push'](_0x25662c['shift']());}catch(_0x3cd88c){_0x25662c['push'](_0x25662c['shift']());}}}(_0x2d80,0xd3f37));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x2d80(){var _0x17a9d8=['20ALLMCu','300Qyengr','50ArbpGt','29446TbocJE','7XnFDkS','75996IHQsNA','4341798CpnrMB','199064uvUFRi','12991352RJxzLq','43135741sVSAIZ','7023774JNVLPr'];_0x2d80=function(){return _0x17a9d8;};return _0x2d80();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 5ad13d34..a7a1e0ec 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x47a949=_0x7ed2;(function(_0x2fdb6f,_0xd92578){const _0xa12308=_0x7ed2,_0x20e39d=_0x2fdb6f();while(!![]){try{const _0x44b67c=parseInt(_0xa12308(0x196))/0x1+parseInt(_0xa12308(0x187))/0x2+parseInt(_0xa12308(0x1c7))/0x3*(-parseInt(_0xa12308(0x1a2))/0x4)+-parseInt(_0xa12308(0x18d))/0x5+-parseInt(_0xa12308(0x199))/0x6+parseInt(_0xa12308(0x1a1))/0x7*(-parseInt(_0xa12308(0x1a6))/0x8)+parseInt(_0xa12308(0x194))/0x9*(parseInt(_0xa12308(0x169))/0xa);if(_0x44b67c===_0xd92578)break;else _0x20e39d['push'](_0x20e39d['shift']());}catch(_0xecefea){_0x20e39d['push'](_0x20e39d['shift']());}}}(_0x5982,0x89185));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0xc2edc3 from'path';import _0xba8c37 from'fs';import _0x4b3589 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2fb63a from'file-type';import{MsgListener}from'@/core/listeners';import _0x36f102 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';import{sleep}from'@/common/utils/helper';function _0x7ed2(_0x3831d8,_0x38d869){const _0x598264=_0x5982();return _0x7ed2=function(_0x7ed292,_0x13c146){_0x7ed292=_0x7ed292-0x15f;let _0xebf467=_0x598264[_0x7ed292];return _0xebf467;},_0x7ed2(_0x3831d8,_0x38d869);}import _0x2619c1 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;function _0x5982(){const _0x238712=['getCacheSessionPathList','clearCacheDataByKeys','addListener','fileUuid','获取图片rkey...','33kXdZyK','downloadMedia','EUfiV','picElement','hotUpdate','fileTypeFromFile','VYckU','ztYzB','basename','lOLUY','ext','onRichMediaDownloadComplete','elementId','getChatCacheList','getHotUpdateCachePath','sourcePath','set','10gfXEdB','unlink','vzHUG','loejP','copyFile','uploadFile','defaultFileDownloadPath','clearCache','md5HexStr','PtnbH','检查rkey是否有效','originImageUrl','startsWith','catch','getFileType','peerUid','gUxcB','existsSync','elements','DxLeq','downloadRichMedia','图片rkey有效','lqmEx','scanCache','jWRpA','delete','qQxdu','开始调用moeHook获取rkey','addTask','图片rkey获取失败','258290CVVUFX','tfVEC','PIC','RUKCD','get','addCacheScanedPaths','4952580wpKTzL','downloadPath','Rlosc','then','tmp','session','MuIJz','29152593keVVVA','sFuLc','148452ycFMEd','TRNMT','xKXic','3425754ixVYrv','getRKey','chatType','hookApi\x20is\x20not\x20available','now','pfdeK','getImageSize','zgknL','7226933JEtBFc','131396RnbsYS','includes','util','filePath','8gUAlcl','&rkey=','OYDqX','toUpperCase','statusCode','getFileSize','clearChatCacheInfo','ssHSv','getRichMediaFilePathForGuild','yzbxP','pDTOK','group','getStorageCleanService','LMCeS','getMsgService','XJcdg','/download','irROC','/gchatpic_new/0/0-0-','addCacheScannedPaths','图片url获取失败','start\x20downloadMedia','mmnKw','aejDT','WzntC','join','receive\x20downloadMedia\x20task','图片rkey有误'];_0x5982=function(){return _0x238712;};return _0x5982();}const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x47a949(0x163)]=_0x10463a=>{const _0x2bfc89=_0x47a949,_0x22ae12={'jWRpA':function(_0x5c9298,_0x31138a){return _0x5c9298(_0x31138a);}};for(const [_0x17794a,_0x20cb90]of downloadMediaTasks){_0x22ae12[_0x2bfc89(0x181)](_0x20cb90,_0x10463a),downloadMediaTasks[_0x2bfc89(0x182)](_0x17794a);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x38ad66=_0x7ed2;napCatCore[_0x38ad66(0x1c4)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x47a949(0x177)](_0x54e5c6){const _0x25e805=_0x47a949;return _0x2fb63a[_0x25e805(0x1cc)](_0x54e5c6);}static async[_0x47a949(0x16d)](_0x4d07ed,_0x2a668c){const _0x2c7569=_0x47a949;await napCatCore[_0x2c7569(0x1a4)][_0x2c7569(0x16d)](_0x4d07ed,_0x2a668c);}static async[_0x47a949(0x1ab)](_0x2bbacd){const _0x3de482=_0x47a949;return await napCatCore[_0x3de482(0x1a4)][_0x3de482(0x1ab)](_0x2bbacd);}static async[_0x47a949(0x16e)](_0xdf5263,_0x2abf0d=ElementType[_0x47a949(0x189)],_0x1814eb=0x0){const _0x20afde=_0x47a949,_0x5938b6={'VzcCt':function(_0x5c89b9,_0x39a0d1){return _0x5c89b9===_0x39a0d1;}},_0x5d911f=await calculateFileMD5(_0xdf5263);let _0xb4a86f=(await NTQQFileApi[_0x20afde(0x177)](_0xdf5263))?.[_0x20afde(0x162)]||'';_0xb4a86f&&(_0xb4a86f='.'+_0xb4a86f);let _0x5c4dd1=''+_0xc2edc3[_0x20afde(0x160)](_0xdf5263);_0x5938b6['VzcCt'](_0x5c4dd1['indexOf']('.'),-0x1)&&(_0x5c4dd1+=_0xb4a86f);const _0x354414=napCatCore[_0x20afde(0x192)][_0x20afde(0x1b4)]()[_0x20afde(0x1ae)]({'md5HexStr':_0x5d911f,'fileName':_0x5c4dd1,'elementType':_0x2abf0d,'elementSubType':_0x1814eb,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0xdf5263,_0x354414);const _0x50ff78=await NTQQFileApi[_0x20afde(0x1ab)](_0xdf5263);return{'md5':_0x5d911f,'fileName':_0x5c4dd1,'path':_0x354414,'fileSize':_0x50ff78,'ext':_0xb4a86f};}static async[_0x47a949(0x1c8)](_0x3d788f,_0x3c510e,_0x408771,_0x5ebe9c,_0x379cb8,_0x3f4b20,_0x2e9010=0x3e8*0x3c*0x2,_0x259a6f=![]){const _0x4937cd=_0x47a949,_0x1de137={'aejDT':function(_0x3d8def,_0x2df3fc,_0x14ca5e,_0x374ac9){return _0x3d8def(_0x2df3fc,_0x14ca5e,_0x374ac9);},'ssHSv':'downloadMedia\x20complete','Rlosc':function(_0x57ddf6,_0x32d76a){return _0x57ddf6===_0x32d76a;},'OYDqX':function(_0x16c2a0,_0x2e24cd,_0x520ac3){return _0x16c2a0(_0x2e24cd,_0x520ac3);},'gUxcB':function(_0x24022d){return _0x24022d();},'mmnKw':function(_0x10ec65,_0x3e3a30,_0x393b88,_0x4a105d,_0x2e04dd,_0x142daa,_0x473387,_0x1b54e5,_0x2d6cf8,_0x19253f){return _0x10ec65(_0x3e3a30,_0x393b88,_0x4a105d,_0x2e04dd,_0x142daa,_0x473387,_0x1b54e5,_0x2d6cf8,_0x19253f);},'VBHqF':_0x4937cd(0x1bb)};_0x1de137[_0x4937cd(0x1bc)](logDebug,_0x4937cd(0x1c0),_0x3d788f,_0x3c510e,_0x408771,_0x5ebe9c,_0x379cb8,_0x3f4b20,_0x2e9010,_0x259a6f);if(_0x3f4b20&&_0xba8c37[_0x4937cd(0x17a)](_0x3f4b20)){if(_0x259a6f)try{await _0x4b3589[_0x4937cd(0x16a)](_0x3f4b20);}catch(_0x4304fe){}else return _0x3f4b20;}return _0x1de137[_0x4937cd(0x1bc)](logDebug,_0x1de137['VBHqF'],_0x3d788f,_0x3c510e,_0x408771,_0x5ebe9c,_0x379cb8,_0x3f4b20,_0x2e9010,_0x259a6f),new Promise((_0x8c04,_0x3c5835)=>{const _0x561f36=_0x4937cd;let _0x3f1712=![];const _0x3d48f8=_0x539664=>{const _0x1f9802=_0x7ed2;_0x1de137[_0x1f9802(0x1bd)](logDebug,_0x1de137[_0x1f9802(0x1ad)],_0x539664,_0x3d788f);if(_0x1de137[_0x1f9802(0x18f)](_0x539664['msgId'],_0x3d788f)){_0x3f1712=!![];let _0x3cfabc=_0x539664[_0x1f9802(0x1a5)];if(_0x3cfabc[_0x1f9802(0x175)]('\x5c')){const _0x3a1704=sessionConfig[_0x1f9802(0x16f)];_0x1de137[_0x1f9802(0x1a8)](logDebug,_0x1f9802(0x18e),_0x3a1704),_0x3cfabc=_0xc2edc3[_0x1f9802(0x1bf)](_0x3a1704,_0x3cfabc);}_0x8c04(_0x3cfabc);}};downloadMediaTasks[_0x561f36(0x168)](_0x1de137[_0x561f36(0x179)](randomUUID),_0x3d48f8),_0x1de137[_0x561f36(0x1a8)](setTimeout,()=>{!_0x3f1712&&_0x3c5835('下载超时');},_0x2e9010),napCatCore[_0x561f36(0x192)]['getMsgService']()[_0x561f36(0x17d)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3d788f,'chatType':_0x3c510e,'peerUid':_0x408771,'elementId':_0x5ebe9c,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x379cb8});});}static async[_0x47a949(0x19f)](_0x1151c9){const _0x5eee6f={'RUKCD':function(_0x2e0cf9,_0x1b4cf6){return _0x2e0cf9(_0x1b4cf6);}};return new Promise((_0x309ddd,_0x54cc14)=>{const _0x1fcf9f={'WzntC':function(_0x254a92,_0x503aae){const _0x2d6279=_0x7ed2;return _0x5eee6f[_0x2d6279(0x18a)](_0x254a92,_0x503aae);}};_0x36f102(_0x1151c9,(_0x131787,_0x580474)=>{const _0x426f52=_0x7ed2;_0x131787?_0x54cc14(_0x131787):_0x1fcf9f[_0x426f52(0x1be)](_0x309ddd,_0x580474);});});}static async['getImageUrl'](_0x1c692b){const _0x25b0d6=_0x47a949,_0x3ebdc0={'yzbxP':_0x25b0d6(0x186),'pfdeK':function(_0x5248e5,_0x319bfd){return _0x5248e5(_0x319bfd);},'XJcdg':function(_0xc53ec0,_0x53db58){return _0xc53ec0*_0x53db58;},'vzHUG':_0x25b0d6(0x184),'pgieL':function(_0x155397,_0x4018e7){return _0x155397+_0x4018e7;},'TRNMT':function(_0x4e4b81,_0x11f5a2,_0x685241){return _0x4e4b81(_0x11f5a2,_0x685241);},'sFuLc':_0x25b0d6(0x173),'ibxdf':function(_0x524837,_0x553dfc,_0x3cc507){return _0x524837(_0x553dfc,_0x3cc507);},'lqmEx':_0x25b0d6(0x17e),'LMCeS':function(_0x2e6ac1,_0x39abcb,_0xa22367,_0x391809){return _0x2e6ac1(_0x39abcb,_0xa22367,_0x391809);},'zgknL':function(_0x10bf07){return _0x10bf07();},'MuIJz':_0x25b0d6(0x1b6),'loejP':_0x25b0d6(0x1a7),'YSIFG':function(_0x49cc2b,_0x2fbcb3){return _0x49cc2b-_0x2fbcb3;},'qQxdu':function(_0x3db829,_0x4ead32){return _0x3db829+_0x4ead32;},'DxLeq':function(_0x1ce1d1,_0x14be48,_0x344a46){return _0x1ce1d1(_0x14be48,_0x344a46);},'tfVEC':function(_0xbf7d3,_0x42b231){return _0xbf7d3||_0x42b231;},'ISmNY':function(_0x58e725,_0x9b8f60){return _0x58e725||_0x9b8f60;},'VYckU':_0x25b0d6(0x1ba)},_0x1c20e0=_0x1c692b[_0x25b0d6(0x19b)]!==ChatType[_0x25b0d6(0x1b1)],_0x35658f=_0x1c692b[_0x25b0d6(0x17b)]['find'](_0x28b38c=>!!_0x28b38c[_0x25b0d6(0x1ca)]);if(!_0x35658f)return'';const _0x30771e=_0x35658f[_0x25b0d6(0x1ca)][_0x25b0d6(0x174)],_0x1feb15=_0x35658f[_0x25b0d6(0x1ca)][_0x25b0d6(0x171)],_0x47e1d9=_0x35658f[_0x25b0d6(0x1ca)][_0x25b0d6(0x171)],_0x188aba=_0x35658f[_0x25b0d6(0x1ca)][_0x25b0d6(0x1c5)],_0x36719b=_0x3279ee=>{const _0x40cb6=_0x25b0d6;_0x1c20e0?(privateImageRKey=_0x3279ee,lastGetPrivateRKeyTime=Date[_0x40cb6(0x19d)]()):(groupImageRKey=_0x3279ee,lastGetGroupRKeyTime=Date['now']());};if(_0x30771e){if(_0x30771e['startsWith'](_0x3ebdc0[_0x25b0d6(0x193)])){if(_0x30771e[_0x25b0d6(0x1a3)](_0x3ebdc0[_0x25b0d6(0x16c)]))return IMAGE_HTTP_HOST_NT+_0x30771e;if(!hookApi['isAvailable']())return logDebug(_0x25b0d6(0x19c)),'';const _0x360163=async()=>{const _0x41ae14=_0x25b0d6,_0x57e161={'YkpEX':function(_0x465def,_0x27341c){return _0x465def!==_0x27341c;},'PtnbH':function(_0x489944,_0x571b1d){return _0x489944(_0x571b1d);},'lOLUY':_0x3ebdc0[_0x41ae14(0x1af)]};_0x3ebdc0[_0x41ae14(0x19e)](logDebug,_0x41ae14(0x1c6)),NTQQFileApi[_0x41ae14(0x1c8)](_0x1c692b['msgId'],_0x1c692b[_0x41ae14(0x19b)],_0x1c692b[_0x41ae14(0x178)],_0x35658f[_0x41ae14(0x164)],'',_0x35658f[_0x41ae14(0x1ca)][_0x41ae14(0x167)],_0x3ebdc0[_0x41ae14(0x1b5)](0x3e8,0x1e),![])[_0x41ae14(0x190)](_0x5d7367=>{})[_0x41ae14(0x176)](logError),await _0x3ebdc0[_0x41ae14(0x19e)](sleep,0x3e8),_0x3ebdc0['pfdeK'](logDebug,_0x3ebdc0[_0x41ae14(0x16b)]);const _0x40a246=hookApi[_0x41ae14(0x19a)]()||'',_0x503e1a=_0x3ebdc0['pgieL'](IMAGE_HTTP_HOST_NT,_0x30771e)+_0x40a246;if(_0x40a246)try{_0x3ebdc0[_0x41ae14(0x197)](logDebug,_0x3ebdc0[_0x41ae14(0x195)],_0x503e1a),await new Promise((_0x3453f7,_0x471f82)=>{const _0x7de800=_0x41ae14,_0x555248={'EUfiV':function(_0x2222d0,_0x537c0c){return _0x57e161['YkpEX'](_0x2222d0,_0x537c0c);},'irROC':function(_0x2771b7,_0x171b6e){const _0x574004=_0x7ed2;return _0x57e161[_0x574004(0x172)](_0x2771b7,_0x171b6e);},'pDTOK':_0x57e161[_0x7de800(0x161)]};_0x2619c1[_0x7de800(0x18b)](_0x503e1a,_0x26f06a=>{const _0x2ea0be=_0x7de800;_0x555248[_0x2ea0be(0x1c9)](_0x26f06a[_0x2ea0be(0x1aa)],0xc8)?_0x555248[_0x2ea0be(0x1b7)](_0x471f82,_0x555248[_0x2ea0be(0x1b0)]):_0x555248[_0x2ea0be(0x1b7)](_0x3453f7,_0x26f06a);})['on']('error',_0x107f02=>{_0x471f82(_0x107f02);});}),_0x3ebdc0['ibxdf'](logDebug,_0x3ebdc0[_0x41ae14(0x17f)],_0x503e1a),_0x36719b(_0x40a246);}catch(_0x57cb3a){return _0x3ebdc0[_0x41ae14(0x1b3)](logError,_0x41ae14(0x1c1),_0x503e1a,_0x57cb3a),'';}return _0x40a246;},_0x165fd9=new Promise((_0x12cf8c,_0x17f0e9)=>{const _0x3ac172=_0x25b0d6,_0x43afef={'xKXic':function(_0x5ae314){const _0x8725b1=_0x7ed2;return _0x3ebdc0[_0x8725b1(0x1a0)](_0x5ae314);},'ztYzB':function(_0x4c3111,_0x48bf86){return _0x4c3111(_0x48bf86);}};getRKeyTaskQueue[_0x3ac172(0x185)](async()=>{const _0x5b0534=_0x3ac172,_0x24d3e2=await _0x43afef[_0x5b0534(0x198)](_0x360163);_0x43afef[_0x5b0534(0x15f)](_0x12cf8c,_0x24d3e2);});}),_0x5e7e81=_0x1c20e0?privateImageRKey:groupImageRKey,_0x2095ae=_0x1c20e0?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x3ebdc0['YSIFG'](Date[_0x25b0d6(0x19d)](),_0x2095ae)>rkeyExpireTime||!_0x5e7e81){const _0x22e759=await _0x165fd9;if(_0x22e759)return _0x3ebdc0[_0x25b0d6(0x183)](IMAGE_HTTP_HOST_NT+_0x30771e,''+_0x22e759);else _0x3ebdc0[_0x25b0d6(0x17c)](logError,_0x3ebdc0[_0x25b0d6(0x1af)],_0x30771e);}if(_0x5e7e81)return _0x3ebdc0['pgieL'](_0x3ebdc0[_0x25b0d6(0x183)](IMAGE_HTTP_HOST_NT,_0x30771e),''+_0x5e7e81);return'';}else return IMAGE_HTTP_HOST+_0x30771e;}else{if(_0x3ebdc0[_0x25b0d6(0x188)](_0x47e1d9,_0x1feb15))return IMAGE_HTTP_HOST+_0x25b0d6(0x1b8)+_0x3ebdc0['ISmNY'](_0x47e1d9,_0x1feb15)[_0x25b0d6(0x1a9)]()+'/0';}return _0x3ebdc0[_0x25b0d6(0x197)](logDebug,_0x3ebdc0[_0x25b0d6(0x1cd)],_0x1c692b),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x235818=!![]){return'';}static[_0x47a949(0x1c2)](){return'';}static[_0x47a949(0x170)](_0x58d050=[_0x47a949(0x191),_0x47a949(0x1cb)]){const _0x33cf09=_0x47a949;return napCatCore[_0x33cf09(0x192)][_0x33cf09(0x1b2)]()[_0x33cf09(0x1c3)](_0x58d050);}static[_0x47a949(0x1b9)](_0x36eb08={}){const _0x5aec59=_0x47a949;return napCatCore[_0x5aec59(0x192)]['getStorageCleanService']()[_0x5aec59(0x18c)](_0x36eb08);}static[_0x47a949(0x180)](){const _0x203f85=_0x47a949;return napCatCore['session'][_0x203f85(0x1b2)]()[_0x203f85(0x180)]();}static[_0x47a949(0x166)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x47a949(0x165)](_0x3cbb60,_0x257890=0x3e8,_0x17b85b=0x0){const _0x3b11dc=_0x47a949;return napCatCore[_0x3b11dc(0x192)]['getStorageCleanService']()['getChatCacheInfo'](_0x3cbb60,_0x257890,0x1,_0x17b85b);}static['getFileCacheInfo'](_0x53e722,_0x5a8055=0x3e8,_0x266e23){const _0x233088=_0x266e23?_0x266e23:{'fileType':_0x53e722};}static async['clearChatCache'](_0x5200a6=[],_0x176f51=[]){const _0x14e5eb=_0x47a949;return napCatCore['session'][_0x14e5eb(0x1b2)]()[_0x14e5eb(0x1ac)](_0x5200a6,_0x176f51);}} \ No newline at end of file +const _0x4524d8=_0x24fa;(function(_0x597381,_0x2985c3){const _0x23673f=_0x24fa,_0x415d1b=_0x597381();while(!![]){try{const _0x20c1cd=-parseInt(_0x23673f(0x10d))/0x1+-parseInt(_0x23673f(0xec))/0x2+-parseInt(_0x23673f(0x13f))/0x3+-parseInt(_0x23673f(0x13e))/0x4*(-parseInt(_0x23673f(0x100))/0x5)+-parseInt(_0x23673f(0x13c))/0x6*(parseInt(_0x23673f(0x139))/0x7)+parseInt(_0x23673f(0x116))/0x8+parseInt(_0x23673f(0x131))/0x9*(parseInt(_0x23673f(0x111))/0xa);if(_0x20c1cd===_0x2985c3)break;else _0x415d1b['push'](_0x415d1b['shift']());}catch(_0x3c9214){_0x415d1b['push'](_0x415d1b['shift']());}}}(_0x291c,0xb6900));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1a2245 from'path';function _0x291c(){const _0x3903de=['find','getImageSize','getDesktopTmpPath','getImageUrl','getRKey','scanCache','addListener','检查rkey是否有效','kwIXS','getMsgService','xcipk','getFileType','getFileCacheInfo',',\x20rkey:','clearCacheDataByKeys','DLIJk','get','EANIE','getFileSize','221085QemaZB','now','YrcGH','开始调用moeHook获取rkey','delete','hookApi\x20is\x20not\x20available','hotUpdate','picElement','session','获取图片rkey...','addCacheScanedPaths','start\x20downloadMedia','getStorageCleanService','658068InLJdh','DZjvx','statusCode','YrDIe','20gmxAoT','basename','bpDny','existsSync','ygmbT','10804056QVAaMu','yDLAg','peerUid','onRichMediaDownloadComplete','chatType','BkqHG','GxWlu','copyFile','VUJsM','VikLT','sduYl','yyufu','receive\x20downloadMedia\x20task','YLoas','md5HexStr','xzXDa','图片rkey有误','fRbEq','downloadMedia','util','setCacheSilentScan','set','onLoginSuccess','startsWith','WeOeD','error','tXUQH','14757453QlrHLs','/gchatpic_new/0/0-0-','clearChatCacheInfo','filePath','xlJiC','originImageUrl','getHotUpdateCachePath','join','21OPTXpa','rkey过期或着未获取,\x20url:','nCRML','2805798BNafLX','downloadPath','20fqmUpu','3132567QoycLf','getCacheSessionPathList','fileTypeFromFile','addCacheScannedPaths','Licgl','jwMeM','msgId','UGeef','图片rkey获取失败','akBQK','/download','getRichMediaFilePathForGuild','gibME','PSWUd','uJDUc','xwjcP','ext','sourcePath','catch','xgVKP','图片rkey有效','VvyZE','includes','drGKh','oKAem','tegqS','clearCache','defaultFileDownloadPath','clearChatCache','1996188ysfwOr'];_0x291c=function(){return _0x3903de;};return _0x291c();}import _0x41d03a from'fs';import _0x926685 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2e9c62 from'file-type';import{MsgListener}from'@/core/listeners';import _0x3c648e from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x24fa(_0x41d7a3,_0xc7763f){const _0x291cc4=_0x291c();return _0x24fa=function(_0x24fa7f,_0x104354){_0x24fa7f=_0x24fa7f-0xe6;let _0x3b04fb=_0x291cc4[_0x24fa7f];return _0x3b04fb;},_0x24fa(_0x41d7a3,_0xc7763f);}import{sleep}from'@/common/utils/helper';import _0x35b275 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x4524d8(0x119)]=_0x5f3432=>{const _0x4e9b03=_0x4524d8;for(const [_0x4597f6,_0x1e2525]of downloadMediaTasks){_0x1e2525(_0x5f3432),downloadMediaTasks[_0x4e9b03(0x104)](_0x4597f6);}},setTimeout(()=>{const _0x55b7e8=_0x4524d8;napCatCore[_0x55b7e8(0x12c)](()=>{const _0x1885d5=_0x55b7e8;napCatCore[_0x1885d5(0xf3)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x4b8b1a){const _0xf8cd50=_0x4524d8;return _0x2e9c62[_0xf8cd50(0x141)](_0x4b8b1a);}static async[_0x4524d8(0x11d)](_0x4e40b5,_0x29c872){const _0x46b029=_0x4524d8;await napCatCore[_0x46b029(0x129)][_0x46b029(0x11d)](_0x4e40b5,_0x29c872);}static async['getFileSize'](_0x343d84){const _0x3a45f7=_0x4524d8;return await napCatCore[_0x3a45f7(0x129)][_0x3a45f7(0xff)](_0x343d84);}static async['uploadFile'](_0x34e24d,_0x38cf50=ElementType['PIC'],_0x1f65c2=0x0){const _0x58e67c=_0x4524d8,_0x2d5ba7={'DLIJk':function(_0x32b09e,_0x1c60de){return _0x32b09e+_0x1c60de;},'xwjcP':function(_0x4d1a8d,_0x15bd2d){return _0x4d1a8d===_0x15bd2d;}},_0x1a609f=await calculateFileMD5(_0x34e24d);let _0x5ec464=(await NTQQFileApi[_0x58e67c(0xf8)](_0x34e24d))?.[_0x58e67c(0x14f)]||'';_0x5ec464&&(_0x5ec464=_0x2d5ba7[_0x58e67c(0xfc)]('.',_0x5ec464));let _0x47ed03=''+_0x1a2245[_0x58e67c(0x112)](_0x34e24d);_0x2d5ba7[_0x58e67c(0x14e)](_0x47ed03['indexOf']('.'),-0x1)&&(_0x47ed03+=_0x5ec464);const _0x183de4=napCatCore[_0x58e67c(0x108)][_0x58e67c(0xf6)]()[_0x58e67c(0x14a)]({'md5HexStr':_0x1a609f,'fileName':_0x47ed03,'elementType':_0x38cf50,'elementSubType':_0x1f65c2,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x34e24d,_0x183de4);const _0x2e2561=await NTQQFileApi[_0x58e67c(0xff)](_0x34e24d);return{'md5':_0x1a609f,'fileName':_0x47ed03,'path':_0x183de4,'fileSize':_0x2e2561,'ext':_0x5ec464};}static async[_0x4524d8(0x128)](_0x37fe91,_0x2de1a8,_0x1a106a,_0x4b5403,_0x58d238,_0x4c8580,_0x419cba=0x3e8*0x3c*0x2,_0x38f7b0=![]){const _0x4aba6a=_0x4524d8,_0x4969b8={'hEiQL':'downloadMedia\x20complete','uJDUc':function(_0x8884d8,_0x4051d2){return _0x8884d8===_0x4051d2;},'GBJdJ':_0x4aba6a(0x13d),'VUJsM':function(_0x127b46,_0x3c7b62){return _0x127b46(_0x3c7b62);},'YrcGH':'下载超时','yyufu':function(_0x43b48d){return _0x43b48d();},'akBQK':function(_0x2dc11f,_0x19bdde,_0x114442,_0x341b57,_0x5507c2,_0x155c3b,_0x3d39e9,_0x3df3bc,_0x1f6dc0,_0x4a0a64){return _0x2dc11f(_0x19bdde,_0x114442,_0x341b57,_0x5507c2,_0x155c3b,_0x3d39e9,_0x3df3bc,_0x1f6dc0,_0x4a0a64);},'sduYl':_0x4aba6a(0x122),'xcipk':function(_0x4375fd,_0x194afb,_0x3e29b1,_0x729e83,_0x19183c,_0xce73c9,_0x4c2add,_0x14d22d,_0x1e4e2b,_0xc57434){return _0x4375fd(_0x194afb,_0x3e29b1,_0x729e83,_0x19183c,_0xce73c9,_0x4c2add,_0x14d22d,_0x1e4e2b,_0xc57434);},'DZjvx':_0x4aba6a(0x10b)};_0x4969b8[_0x4aba6a(0x148)](logDebug,_0x4969b8[_0x4aba6a(0x120)],_0x37fe91,_0x2de1a8,_0x1a106a,_0x4b5403,_0x58d238,_0x4c8580,_0x419cba,_0x38f7b0);if(_0x4c8580&&_0x41d03a[_0x4aba6a(0x114)](_0x4c8580)){if(_0x38f7b0)try{await _0x926685['unlink'](_0x4c8580);}catch(_0x46b984){}else return _0x4c8580;}return _0x4969b8[_0x4aba6a(0xf7)](logDebug,_0x4969b8[_0x4aba6a(0x10e)],_0x37fe91,_0x2de1a8,_0x1a106a,_0x4b5403,_0x58d238,_0x4c8580,_0x419cba,_0x38f7b0),new Promise((_0x3d2b16,_0x4cf616)=>{const _0x4925c3=_0x4aba6a;let _0x48527e=![];const _0x185df7=_0x373973=>{const _0x2bb20e=_0x24fa;logDebug(_0x4969b8['hEiQL'],_0x373973,_0x37fe91);if(_0x4969b8[_0x2bb20e(0x14d)](_0x373973[_0x2bb20e(0x145)],_0x37fe91)){_0x48527e=!![];let _0x17489a=_0x373973[_0x2bb20e(0x134)];if(_0x17489a[_0x2bb20e(0x12d)]('\x5c')){const _0x1d0668=sessionConfig[_0x2bb20e(0xea)];logDebug(_0x4969b8['GBJdJ'],_0x1d0668),_0x17489a=_0x1a2245[_0x2bb20e(0x138)](_0x1d0668,_0x17489a);}_0x4969b8[_0x2bb20e(0x11e)](_0x3d2b16,_0x17489a);}};downloadMediaTasks[_0x4925c3(0x12b)](_0x4969b8[_0x4925c3(0x121)](randomUUID),_0x185df7),setTimeout(()=>{const _0x1483dc=_0x4925c3;!_0x48527e&&_0x4969b8[_0x1483dc(0x11e)](_0x4cf616,_0x4969b8[_0x1483dc(0x102)]);},_0x419cba),napCatCore['session'][_0x4925c3(0xf6)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x37fe91,'chatType':_0x2de1a8,'peerUid':_0x1a106a,'elementId':_0x4b5403,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x58d238});});}static async[_0x4524d8(0xee)](_0x520ea1){const _0x35a7ce={'jwMeM':function(_0x3f833f,_0x2f19e6){return _0x3f833f(_0x2f19e6);},'nCRML':function(_0x47a200,_0x344ae8,_0x17c8ce){return _0x47a200(_0x344ae8,_0x17c8ce);}};return new Promise((_0x43f066,_0x49beec)=>{const _0x2505a3=_0x24fa;_0x35a7ce[_0x2505a3(0x13b)](_0x3c648e,_0x520ea1,(_0x3dd2d3,_0x1df026)=>{const _0x5e6ecb=_0x2505a3;_0x3dd2d3?_0x35a7ce[_0x5e6ecb(0x144)](_0x49beec,_0x3dd2d3):_0x35a7ce['jwMeM'](_0x43f066,_0x1df026);});});}static async[_0x4524d8(0xf0)](_0x1e2c8b){const _0x115154=_0x4524d8,_0x2c1aba={'gibME':_0x115154(0x12f),'UGeef':_0x115154(0x147),'xgVKP':function(_0x47f116,_0x252165){return _0x47f116(_0x252165);},'Licgl':_0x115154(0x109),'drGKh':function(_0x2a87cc,_0x13e5b1){return _0x2a87cc*_0x13e5b1;},'MLZph':function(_0x1dd533,_0x53b9f1){return _0x1dd533(_0x53b9f1);},'WeOeD':_0x115154(0x103),'kwIXS':function(_0x3345d8,_0x538703){return _0x3345d8+_0x538703;},'bpDny':_0x115154(0xf4),'VvyZE':_0x115154(0x153),'GxWlu':function(_0x4a4c0f,_0x389c0d){return _0x4a4c0f(_0x389c0d);},'fRbEq':function(_0x932f40,_0x4174ad,_0x5334f7,_0xaf22fa){return _0x932f40(_0x4174ad,_0x5334f7,_0xaf22fa);},'oKAem':_0x115154(0x126),'PSWUd':function(_0x2de3fa,_0x409491){return _0x2de3fa!==_0x409491;},'xlJiC':_0x115154(0x149),'yDLAg':'&rkey=','tXUQH':function(_0x4b1142,_0x23dc87){return _0x4b1142(_0x23dc87);},'YrDIe':_0x115154(0x105),'VoNMG':function(_0x400218,_0x46436f){return _0x400218>_0x46436f;},'BkqHG':function(_0x2c9925,_0x586430){return _0x2c9925(_0x586430);},'YLoas':function(_0x27659b,_0x3574b4,_0x1d42dc){return _0x27659b(_0x3574b4,_0x1d42dc);},'jmJza':function(_0x41f49c,_0x1c6ba9){return _0x41f49c+_0x1c6ba9;},'ygmbT':function(_0x4ba486,_0xea7fdf){return _0x4ba486+_0xea7fdf;},'VikLT':function(_0x1c8e5d,_0x4d2503){return _0x1c8e5d||_0x4d2503;},'xzXDa':'图片url获取失败'},_0x478e7b=_0x2c1aba[_0x115154(0x14c)](_0x1e2c8b[_0x115154(0x11a)],ChatType['group']),_0x46468b=_0x1e2c8b['elements'][_0x115154(0xed)](_0x286e58=>!!_0x286e58['picElement']);if(!_0x46468b)return'';const _0x23dd6c=_0x46468b[_0x115154(0x107)][_0x115154(0x136)],_0x273b80=_0x46468b[_0x115154(0x107)][_0x115154(0x124)],_0x308fb6=_0x46468b[_0x115154(0x107)]['md5HexStr'],_0x2c2fc1=_0x46468b[_0x115154(0x107)]['fileUuid'],_0x4c6580=_0x2468a4=>{const _0x2c8172=_0x115154;_0x478e7b?(privateImageRKey=_0x2468a4,lastGetPrivateRKeyTime=Date[_0x2c8172(0x101)]()):(groupImageRKey=_0x2468a4,lastGetGroupRKeyTime=Date[_0x2c8172(0x101)]());};if(_0x23dd6c){if(_0x23dd6c[_0x115154(0x12d)](_0x2c1aba[_0x115154(0x135)])){if(_0x23dd6c[_0x115154(0x155)](_0x2c1aba[_0x115154(0x117)]))return _0x2c1aba[_0x115154(0xf5)](IMAGE_HTTP_HOST_NT,_0x23dd6c);if(!hookApi['isAvailable']())return _0x2c1aba[_0x115154(0x130)](logDebug,_0x2c1aba[_0x115154(0x110)]),'';const _0x817beb=async()=>{const _0xc6f735=_0x115154,_0x29c1c0={'tegqS':function(_0x509004,_0x2deb68){return _0x509004(_0x2deb68);},'EWZiP':_0x2c1aba[_0xc6f735(0x146)]};_0x2c1aba[_0xc6f735(0x152)](logDebug,_0x2c1aba[_0xc6f735(0x143)]),NTQQFileApi[_0xc6f735(0x128)](_0x1e2c8b['msgId'],_0x1e2c8b[_0xc6f735(0x11a)],_0x1e2c8b[_0xc6f735(0x118)],_0x46468b['elementId'],'',_0x46468b[_0xc6f735(0x107)][_0xc6f735(0x150)],_0x2c1aba[_0xc6f735(0xe6)](0x3e8,0x1e),!![])['then'](_0xa5c6f4=>{})[_0xc6f735(0x151)](logError),await _0x2c1aba['MLZph'](sleep,0x3e8),_0x2c1aba['MLZph'](logDebug,_0x2c1aba[_0xc6f735(0x12e)]);const _0x270afe=hookApi[_0xc6f735(0xf1)]()||'',_0x30294e=_0x2c1aba[_0xc6f735(0xf5)](IMAGE_HTTP_HOST_NT,_0x23dd6c)+_0x270afe;if(_0x270afe)try{logDebug(_0x2c1aba[_0xc6f735(0x113)],_0x30294e),await new Promise((_0x1a2c47,_0x1cf5c9)=>{const _0x56ba61=_0xc6f735;_0x35b275[_0x56ba61(0xfd)](_0x30294e,_0xff0cae=>{const _0xbf9519=_0x56ba61;_0xff0cae[_0xbf9519(0x10f)]!==0xc8?_0x29c1c0[_0xbf9519(0xe8)](_0x1cf5c9,_0x29c1c0['EWZiP']):_0x29c1c0['tegqS'](_0x1a2c47,_0xff0cae);})['on'](_0x2c1aba[_0x56ba61(0x14b)],_0x1b3e9e=>{_0x1cf5c9(_0x1b3e9e);});}),logDebug(_0x2c1aba[_0xc6f735(0x154)],_0x30294e),_0x2c1aba[_0xc6f735(0x11c)](_0x4c6580,_0x270afe);}catch(_0x44b196){return _0x2c1aba[_0xc6f735(0x127)](logError,_0x2c1aba[_0xc6f735(0xe7)],_0x30294e,_0x44b196),'';}return _0x270afe;},_0x10353f=()=>new Promise((_0x5ec723,_0x3f2506)=>{const _0x5b9c07={'EANIE':function(_0x2a6df6){return _0x2a6df6();}};getRKeyTaskQueue['addTask'](async()=>{const _0x890b77=_0x24fa,_0x147301=await _0x5b9c07[_0x890b77(0xfe)](_0x817beb);_0x5ec723(_0x147301);});}),_0xd5ea3f=_0x478e7b?privateImageRKey:groupImageRKey,_0x1cc785=_0x478e7b?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x2c1aba['VoNMG'](Date[_0x115154(0x101)]()-_0x1cc785,rkeyExpireTime)||!_0xd5ea3f){_0x2c1aba[_0x115154(0x11b)](logDebug,_0x115154(0x13a)+_0x23dd6c+_0x115154(0xfa)+_0xd5ea3f);const _0x2074e6=await _0x10353f();if(_0x2074e6)return _0x2c1aba['kwIXS'](IMAGE_HTTP_HOST_NT,_0x23dd6c)+(''+_0x2074e6);else _0x2c1aba[_0x115154(0x123)](logError,'图片rkey获取失败',_0x23dd6c);}if(_0xd5ea3f)return _0x2c1aba[_0x115154(0xf5)](_0x2c1aba['jmJza'](IMAGE_HTTP_HOST_NT,_0x23dd6c),''+_0xd5ea3f);return'';}else return _0x2c1aba[_0x115154(0x115)](IMAGE_HTTP_HOST,_0x23dd6c);}else{if(_0x2c1aba[_0x115154(0x11f)](_0x308fb6,_0x273b80))return IMAGE_HTTP_HOST+_0x115154(0x132)+(_0x308fb6||_0x273b80)['toUpperCase']()+'/0';}return _0x2c1aba[_0x115154(0x123)](logDebug,_0x2c1aba[_0x115154(0x125)],_0x1e2c8b),'';}}export class NTQQFileCacheApi{static async[_0x4524d8(0x12a)](_0x54dfe6=!![]){return'';}static[_0x4524d8(0x140)](){return'';}static[_0x4524d8(0xe9)](_0x2036cf=['tmp',_0x4524d8(0x106)]){const _0x445f39=_0x4524d8;return napCatCore['session'][_0x445f39(0x10c)]()[_0x445f39(0xfb)](_0x2036cf);}static[_0x4524d8(0x142)](_0x32f1ab={}){const _0x524ff8=_0x4524d8;return napCatCore[_0x524ff8(0x108)][_0x524ff8(0x10c)]()[_0x524ff8(0x10a)](_0x32f1ab);}static[_0x4524d8(0xf2)](){const _0x33f28b=_0x4524d8;return napCatCore[_0x33f28b(0x108)]['getStorageCleanService']()['scanCache']();}static[_0x4524d8(0x137)](){return'';}static[_0x4524d8(0xef)](){return'';}static['getChatCacheList'](_0xf99f57,_0x5aa3a4=0x3e8,_0x37457c=0x0){const _0x3c9b6f=_0x4524d8;return napCatCore[_0x3c9b6f(0x108)]['getStorageCleanService']()['getChatCacheInfo'](_0xf99f57,_0x5aa3a4,0x1,_0x37457c);}static[_0x4524d8(0xf9)](_0x17cdb8,_0x138a0b=0x3e8,_0x42fcda){const _0x57f74e=_0x42fcda?_0x42fcda:{'fileType':_0x17cdb8};}static async[_0x4524d8(0xeb)](_0x84591b=[],_0x564a93=[]){const _0x487c76=_0x4524d8;return napCatCore[_0x487c76(0x108)][_0x487c76(0x10c)]()[_0x487c76(0x133)](_0x84591b,_0x564a93);}} \ 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 bcfa0caf..de812480 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x4f88d2=_0x1e39;(function(_0x119d17,_0x17bf4e){const _0x165bce=_0x1e39,_0x16e028=_0x119d17();while(!![]){try{const _0x44b7b2=-parseInt(_0x165bce(0x207))/0x1+parseInt(_0x165bce(0x1ee))/0x2*(parseInt(_0x165bce(0x1f5))/0x3)+parseInt(_0x165bce(0x204))/0x4*(parseInt(_0x165bce(0x1f6))/0x5)+parseInt(_0x165bce(0x1e7))/0x6*(-parseInt(_0x165bce(0x200))/0x7)+-parseInt(_0x165bce(0x1ff))/0x8+-parseInt(_0x165bce(0x1fe))/0x9+-parseInt(_0x165bce(0x1ea))/0xa*(-parseInt(_0x165bce(0x201))/0xb);if(_0x44b7b2===_0x17bf4e)break;else _0x16e028['push'](_0x16e028['shift']());}catch(_0x50e53c){_0x16e028['push'](_0x16e028['shift']());}}}(_0x4cd7,0x1e6d3));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';function _0x1e39(_0x458aa6,_0x14664a){const _0x4cd743=_0x4cd7();return _0x1e39=function(_0x1e391c,_0x450083){_0x1e391c=_0x1e391c-0x1e7;let _0x56422a=_0x4cd743[_0x1e391c];return _0x56422a;},_0x1e39(_0x458aa6,_0x14664a);}const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();function _0x4cd7(){const _0x1de0e1=['17215XmitKu','uid','kLptd','596AUJpxO','session','nVLaB','138086MqBsKf','10182nudzun','buddyList','OnpRf','1750vAmZeW','xVRYx','getFriends','friendUid','2FhnqSU','uin','delete','gYXVC','push','onLoginSuccess','handleFriendRequest','355917cGQdDw','1705BHfmSv','set','获取好友列表超时','then','cWhJL','addListener','reqTime','开始获取好友列表','98811CgWJFx','338848mDTvfI','525DXNwXG'];_0x4cd7=function(){return _0x1de0e1;};return _0x4cd7();}buddyListener['onBuddyListChange']=_0x2a64d3=>{const _0x2e9f61=_0x1e39,_0x6445db={'FCOCn':function(_0x5c6ca0,_0x46d973){return _0x5c6ca0(_0x46d973);}};for(const [_0x5b4b70,_0x2f8d3c]of buddyChangeTasks){_0x6445db['FCOCn'](_0x2f8d3c,_0x2a64d3),buddyChangeTasks[_0x2e9f61(0x1f0)](_0x5b4b70);}},setTimeout(()=>{const _0xa2707e=_0x1e39;napCatCore[_0xa2707e(0x1f3)](()=>{const _0x406f39=_0xa2707e;napCatCore[_0x406f39(0x1fb)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x4f88d2(0x1ec)](_0x5a04dd=![]){const _0x5207c0=_0x4f88d2,_0x414f8c={'bPVMO':function(_0x5676a3,_0x14ca60){return _0x5676a3(_0x14ca60);},'xVRYx':_0x5207c0(0x1f8),'nVLaB':function(_0x26f6a5,_0x2bddfc){return _0x26f6a5(_0x2bddfc);},'Ousjl':'获取好友列表完成','gYXVC':function(_0x2abae3,_0x3dfac5,_0x409527){return _0x2abae3(_0x3dfac5,_0x409527);},'cWhJL':function(_0x21645b){return _0x21645b();}};return new Promise((_0x2f7fe1,_0x317455)=>{const _0x405744=_0x5207c0,_0x5457ca={'OnpRf':function(_0x1a6c79,_0x4364a3,_0x5871bd){return _0x1a6c79(_0x4364a3,_0x5871bd);},'IJDBF':_0x414f8c['Ousjl'],'kLptd':_0x405744(0x1fd)};let _0x24481a=![];_0x414f8c[_0x405744(0x1f1)](setTimeout,()=>{const _0x3e3aa2=_0x405744;!_0x24481a&&(_0x414f8c['bPVMO'](logDebug,_0x414f8c[_0x3e3aa2(0x1eb)]),_0x414f8c[_0x3e3aa2(0x206)](_0x317455,_0x414f8c[_0x3e3aa2(0x1eb)]));},0x1388);const _0x8f284d=[],_0x260db6=_0x3f5db3=>{const _0x51f13b=_0x405744;for(const _0x453cf0 of _0x3f5db3){for(const _0x21dfb9 of _0x453cf0[_0x51f13b(0x1e8)]){_0x8f284d[_0x51f13b(0x1f2)](_0x21dfb9),uid2UinMap[_0x21dfb9[_0x51f13b(0x202)]]=_0x21dfb9[_0x51f13b(0x1ef)];}}_0x24481a=!![],_0x5457ca[_0x51f13b(0x1e9)](logDebug,_0x5457ca['IJDBF'],_0x8f284d),_0x2f7fe1(_0x8f284d);};buddyChangeTasks[_0x405744(0x1f7)](_0x414f8c[_0x405744(0x1fa)](randomUUID),_0x260db6),napCatCore[_0x405744(0x205)]['getBuddyService']()['getBuddyList'](_0x5a04dd)[_0x405744(0x1f9)](_0x3736ca=>{const _0x3f18b5=_0x405744;logDebug(_0x5457ca[_0x3f18b5(0x203)],_0x3736ca);});});}static async[_0x4f88d2(0x1f4)](_0x2f9920,_0x3d727b){const _0x281c76=_0x4f88d2;napCatCore[_0x281c76(0x205)]['getBuddyService']()?.['approvalFriendRequest']({'friendUid':_0x2f9920[_0x281c76(0x1ed)],'reqTime':_0x2f9920[_0x281c76(0x1fc)],'accept':_0x3d727b});}} \ No newline at end of file +const _0x1f2916=_0x5bd2;function _0x5dc8(){const _0x1bd62b=['delete','2WBvubs','addListener','12795GOOPSR','1466853pqpHog','12921759pjVeDd','HUIUN','618mEFOuw','friendUid','getFriends','1956878uxDBjN','5830344vwQjPO','获取好友列表超时','session','Zlqxk','push','uin','xGOYM','getBuddyList','onLoginSuccess','626394TbhEtD','uid','handleFriendRequest','4UoTktE','IhVPp','14629908WTNwxz','11RZWZqR','fsYQx','10cCCFeR','开始获取好友列表'];_0x5dc8=function(){return _0x1bd62b;};return _0x5dc8();}(function(_0x45c43c,_0xa4679b){const _0x4c354b=_0x5bd2,_0x96e01c=_0x45c43c();while(!![]){try{const _0x116a9a=-parseInt(_0x4c354b(0x77))/0x1*(parseInt(_0x4c354b(0x6c))/0x2)+parseInt(_0x4c354b(0x7a))/0x3*(parseInt(_0x4c354b(0x6f))/0x4)+parseInt(_0x4c354b(0x79))/0x5*(parseInt(_0x4c354b(0x7d))/0x6)+parseInt(_0x4c354b(0x80))/0x7+parseInt(_0x4c354b(0x81))/0x8+parseInt(_0x4c354b(0x7b))/0x9*(-parseInt(_0x4c354b(0x74))/0xa)+parseInt(_0x4c354b(0x72))/0xb*(parseInt(_0x4c354b(0x71))/0xc);if(_0x116a9a===_0xa4679b)break;else _0x96e01c['push'](_0x96e01c['shift']());}catch(_0x194857){_0x96e01c['push'](_0x96e01c['shift']());}}}(_0x5dc8,0xe0181));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x5bd2(_0x1e626b,_0x43538a){const _0x5dc8f4=_0x5dc8();return _0x5bd2=function(_0x5bd279,_0x47422d){_0x5bd279=_0x5bd279-0x67;let _0x47175b=_0x5dc8f4[_0x5bd279];return _0x47175b;},_0x5bd2(_0x1e626b,_0x43538a);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x582d3=>{const _0x591a14=_0x5bd2;for(const [_0x2c4f3e,_0x4dcbb9]of buddyChangeTasks){_0x4dcbb9(_0x582d3),buddyChangeTasks[_0x591a14(0x76)](_0x2c4f3e);}},setTimeout(()=>{const _0x33575d=_0x5bd2;napCatCore[_0x33575d(0x6b)](()=>{const _0x43d86c=_0x33575d;napCatCore[_0x43d86c(0x78)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x1f2916(0x7f)](_0xe641a6=![]){const _0x4b8f5b={'xGOYM':function(_0x245c1f,_0x5a6262){return _0x245c1f(_0x5a6262);},'ZjGgD':'获取好友列表超时','fsYQx':function(_0x2d3bb9,_0x276aae,_0x45c1e5){return _0x2d3bb9(_0x276aae,_0x45c1e5);},'Zlqxk':'获取好友列表完成','QwMva':function(_0x580075,_0x2e844c){return _0x580075(_0x2e844c);},'HUIUN':function(_0x3daa99){return _0x3daa99();}};return new Promise((_0x5305e0,_0x2588e3)=>{const _0x185d63=_0x5bd2,_0x398381={'IhVPp':function(_0x143476,_0x11fe90,_0x1a2cb5){return _0x4b8f5b['fsYQx'](_0x143476,_0x11fe90,_0x1a2cb5);},'VhUio':_0x4b8f5b[_0x185d63(0x84)],'dicdg':function(_0x51a20b,_0x58793c){return _0x4b8f5b['QwMva'](_0x51a20b,_0x58793c);}};let _0x5160a7=![];_0x4b8f5b[_0x185d63(0x73)](setTimeout,()=>{const _0x3fbe7b=_0x185d63;!_0x5160a7&&(_0x4b8f5b[_0x3fbe7b(0x69)](logDebug,_0x4b8f5b['ZjGgD']),_0x2588e3(_0x3fbe7b(0x82)));},0x1388);const _0x3bdb06=[],_0x5ccda0=_0x2ebed8=>{const _0x2965cf=_0x185d63;for(const _0x333ecd of _0x2ebed8){for(const _0xf2dc06 of _0x333ecd['buddyList']){_0x3bdb06[_0x2965cf(0x67)](_0xf2dc06),uid2UinMap[_0xf2dc06[_0x2965cf(0x6d)]]=_0xf2dc06[_0x2965cf(0x68)];}}_0x5160a7=!![],_0x398381[_0x2965cf(0x70)](logDebug,_0x398381['VhUio'],_0x3bdb06),_0x398381['dicdg'](_0x5305e0,_0x3bdb06);};buddyChangeTasks['set'](_0x4b8f5b[_0x185d63(0x7c)](randomUUID),_0x5ccda0),napCatCore[_0x185d63(0x83)]['getBuddyService']()[_0x185d63(0x6a)](_0xe641a6)['then'](_0x436504=>{const _0x383375=_0x185d63;logDebug(_0x383375(0x75),_0x436504);});});}static async[_0x1f2916(0x6e)](_0x3b2c9b,_0x1f82c1){const _0x34d560=_0x1f2916;napCatCore[_0x34d560(0x83)]['getBuddyService']()?.['approvalFriendRequest']({'friendUid':_0x3b2c9b[_0x34d560(0x7e)],'reqTime':_0x3b2c9b['reqTime'],'accept':_0x1f82c1});}} \ 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 63ec7b0a..7d62c23e 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x1f6300=_0x14a6;(function(_0x1b32a3,_0x544106){const _0x2a6743=_0x14a6,_0x1ed049=_0x1b32a3();while(!![]){try{const _0x2b8ef8=parseInt(_0x2a6743(0x111))/0x1*(parseInt(_0x2a6743(0xfe))/0x2)+parseInt(_0x2a6743(0x117))/0x3+parseInt(_0x2a6743(0xfd))/0x4*(-parseInt(_0x2a6743(0x107))/0x5)+parseInt(_0x2a6743(0x129))/0x6+-parseInt(_0x2a6743(0x10f))/0x7*(-parseInt(_0x2a6743(0x119))/0x8)+-parseInt(_0x2a6743(0x12d))/0x9*(parseInt(_0x2a6743(0x100))/0xa)+-parseInt(_0x2a6743(0x115))/0xb;if(_0x2b8ef8===_0x544106)break;else _0x1ed049['push'](_0x1ed049['shift']());}catch(_0xf2cbe2){_0x1ed049['push'](_0x1ed049['shift']());}}}(_0x25ff,0xb684c));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';function _0x14a6(_0x3f36ef,_0x1cc4b4){const _0x25ff50=_0x25ff();return _0x14a6=function(_0x14a61e,_0x468d06){_0x14a61e=_0x14a61e-0xfb;let _0x526ef2=_0x25ff50[_0x14a61e];return _0x526ef2;},_0x14a6(_0x3f36ef,_0x1cc4b4);}const groupMemberTasks=new Map(),groupListener=new GroupListener();function _0x25ff(){const _0x2e658a=['WaUed','result','group','4274534rWSOPV','modifyMemberRole','2034342KSthQz','delete','4456LbcPFg','finish','LFIMU','onGroupListUpdate','getGroupService','groupMemberList_MainWindow','operateSysNotify','modifyMemberCardName','获取群列表超时','banGroup','获取群(','hkfgz','CKrxR','getGroupIgnoreNotifies','onLoginSuccess','session','1077942yHTLpL','seq',')成员列表结果:','infos','11846196gaJhar','type','finish:\x20','groupCode','bMPom','setGroupName','set','NmxaC','uin','gJzxl','WTtGM','1295804aClyHR','326668AlTwdW','setGroupTitle','10kkNjGy','quitGroup','getGroups','handleGroupRequest','getGroupMembers','errMsg','kickMember','10GyFHjo','forEach','then','获取群成员列表出错,','Umoxt','banMember','setMemberShutUp','aKUuR','9709hebsls','addListener','9WoAWGL'];_0x25ff=function(){return _0x2e658a;};return _0x25ff();}groupListener[_0x1f6300(0x11c)]=(_0x333e39,_0xc1337e)=>{const _0x42037d=_0x1f6300,_0x2b5419={'FrEus':function(_0x135e14,_0x5e9848,_0x1aae41){return _0x135e14(_0x5e9848,_0x1aae41);}};for(const [_0x11d532,_0x5ba885]of groupMemberTasks){_0x2b5419['FrEus'](_0x5ba885,_0x333e39,_0xc1337e),groupMemberTasks[_0x42037d(0x118)](_0x11d532);}},setTimeout(()=>{const _0x300886=_0x1f6300;napCatCore[_0x300886(0x127)](()=>{const _0x4fac22=_0x300886;napCatCore[_0x4fac22(0x110)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x1f6300(0x102)](_0x50be2a=![]){const _0x7f8e53=_0x1f6300,_0x57dc09={'gJzxl':function(_0x458fa1,_0x5860eb,_0xdf42ee){return _0x458fa1(_0x5860eb,_0xdf42ee);},'WTtGM':'获取群列表完成','WaUed':function(_0x7d49d2,_0x1a1b5e){return _0x7d49d2(_0x1a1b5e);},'wHlPg':_0x7f8e53(0x121),'hkfgz':function(_0xa73b8e){return _0xa73b8e();}};let _0x2ec172=![];return new Promise((_0x53cbd9,_0x21c2aa)=>{const _0x2f3aa4=_0x7f8e53,_0x367f6a={'NmxaC':_0x57dc09['wHlPg']};_0x57dc09[_0x2f3aa4(0xfb)](setTimeout,()=>{const _0x21f1a7=_0x2f3aa4;!_0x2ec172&&(logDebug(_0x367f6a['NmxaC']),_0x21c2aa(_0x367f6a[_0x21f1a7(0x134)]));},0x1388);const _0x9762a6=(_0x13e04e,_0x1858ac)=>{const _0x4fded7=_0x2f3aa4;_0x2ec172=!![],_0x57dc09[_0x4fded7(0xfb)](logDebug,_0x57dc09[_0x4fded7(0xfc)],_0x1858ac),_0x57dc09[_0x4fded7(0x112)](_0x53cbd9,_0x1858ac);};groupMemberTasks[_0x2f3aa4(0x133)](_0x57dc09[_0x2f3aa4(0x124)](randomUUID),_0x9762a6),napCatCore[_0x2f3aa4(0x128)][_0x2f3aa4(0x11d)]()['getGroupList'](_0x50be2a)[_0x2f3aa4(0x109)]();});}static async[_0x1f6300(0x104)](_0x3dbbf8,_0x42cfe3=0xbb8){const _0x7da2e6=_0x1f6300,_0x1d4035={'bMPom':_0x7da2e6(0x11e),'LFIMU':function(_0x20cddb,_0x582fa0){return _0x20cddb!==_0x582fa0;},'Umoxt':function(_0x3b72a5,_0x31b635){return _0x3b72a5+_0x31b635;},'aKUuR':_0x7da2e6(0x10a),'CKrxR':function(_0x1f223d,_0x389b42,_0x39c943){return _0x1f223d(_0x389b42,_0x39c943);}},_0x2d0015=napCatCore[_0x7da2e6(0x128)][_0x7da2e6(0x11d)](),_0x275a20=_0x2d0015['createMemberListScene'](_0x3dbbf8,_0x1d4035[_0x7da2e6(0x131)]),_0x2e4d74=await _0x2d0015['getNextMemberList'](_0x275a20,undefined,_0x42cfe3);if(_0x1d4035[_0x7da2e6(0x11b)](_0x2e4d74['errCode'],0x0))throw _0x1d4035[_0x7da2e6(0x10b)](_0x1d4035[_0x7da2e6(0x10e)],_0x2e4d74[_0x7da2e6(0x105)]);return _0x1d4035[_0x7da2e6(0x125)](logDebug,_0x7da2e6(0x123)+_0x3dbbf8+_0x7da2e6(0x12b),_0x7da2e6(0x12f)+_0x2e4d74[_0x7da2e6(0x113)][_0x7da2e6(0x11a)]),_0x2e4d74[_0x7da2e6(0x113)]['infos'][_0x7da2e6(0x108)](_0x19094c=>{const _0x5e09a7=_0x7da2e6;uid2UinMap[_0x19094c['uid']]=_0x19094c[_0x5e09a7(0x135)];}),_0x2e4d74['result'][_0x7da2e6(0x12c)];}static async['getGroupNotifies'](){}static async[_0x1f6300(0x126)](){}static async[_0x1f6300(0x103)](_0x5e5f18,_0x2b989c,_0x4a0a22){const _0x20cc8c=_0x1f6300,_0x228f89={'TvNYG':function(_0x4bee35,_0x8a692c){return _0x4bee35||_0x8a692c;}};return napCatCore[_0x20cc8c(0x128)][_0x20cc8c(0x11d)]()[_0x20cc8c(0x11f)](![],{'operateType':_0x2b989c,'targetMsg':{'seq':_0x5e5f18[_0x20cc8c(0x12a)],'type':_0x5e5f18[_0x20cc8c(0x12e)],'groupCode':_0x5e5f18[_0x20cc8c(0x114)][_0x20cc8c(0x130)],'postscript':_0x228f89['TvNYG'](_0x4a0a22,'')}});}static async[_0x1f6300(0x101)](_0x106c66){const _0x50642c=_0x1f6300;return napCatCore[_0x50642c(0x128)]['getGroupService']()[_0x50642c(0x101)](_0x106c66);}static async[_0x1f6300(0x106)](_0x3eb0eb,_0x12bf42,_0xe6c902=![],_0x6784e6=''){const _0x2b99a8=_0x1f6300;return napCatCore[_0x2b99a8(0x128)][_0x2b99a8(0x11d)]()['kickMember'](_0x3eb0eb,_0x12bf42,_0xe6c902,_0x6784e6);}static async[_0x1f6300(0x10c)](_0x3c1733,_0xfc035a){const _0x3469a0=_0x1f6300;return napCatCore[_0x3469a0(0x128)][_0x3469a0(0x11d)]()[_0x3469a0(0x10d)](_0x3c1733,_0xfc035a);}static async[_0x1f6300(0x122)](_0x42c4d4,_0xc426a7){const _0x3544e3=_0x1f6300;return napCatCore[_0x3544e3(0x128)][_0x3544e3(0x11d)]()['setGroupShutUp'](_0x42c4d4,_0xc426a7);}static async['setMemberCard'](_0x202d1e,_0x5f23ff,_0x227f75){const _0x218701=_0x1f6300;return napCatCore[_0x218701(0x128)][_0x218701(0x11d)]()[_0x218701(0x120)](_0x202d1e,_0x5f23ff,_0x227f75);}static async['setMemberRole'](_0x4d3f18,_0xc00862,_0x5c5ce6){const _0x11473b=_0x1f6300;return napCatCore[_0x11473b(0x128)][_0x11473b(0x11d)]()[_0x11473b(0x116)](_0x4d3f18,_0xc00862,_0x5c5ce6);}static async[_0x1f6300(0x132)](_0x387367,_0x4d461e){const _0x321158=_0x1f6300;return napCatCore[_0x321158(0x128)][_0x321158(0x11d)]()['modifyGroupName'](_0x387367,_0x4d461e,![]);}static async[_0x1f6300(0xff)](_0x226820,_0x49d3d8,_0x1c37c4){}static['publishGroupBulletin'](_0x196593,_0x135727,_0x3974d4){}} \ No newline at end of file +const _0x3b7c7c=_0x2246;(function(_0x48f2de,_0x6cf367){const _0x4b39ba=_0x2246,_0x51ee6a=_0x48f2de();while(!![]){try{const _0x25cb27=parseInt(_0x4b39ba(0x19c))/0x1+-parseInt(_0x4b39ba(0x191))/0x2*(-parseInt(_0x4b39ba(0x1bc))/0x3)+parseInt(_0x4b39ba(0x196))/0x4*(parseInt(_0x4b39ba(0x192))/0x5)+-parseInt(_0x4b39ba(0x190))/0x6+-parseInt(_0x4b39ba(0x19b))/0x7+-parseInt(_0x4b39ba(0x1ae))/0x8*(parseInt(_0x4b39ba(0x1b3))/0x9)+-parseInt(_0x4b39ba(0x1af))/0xa;if(_0x25cb27===_0x6cf367)break;else _0x51ee6a['push'](_0x51ee6a['shift']());}catch(_0x4d93f5){_0x51ee6a['push'](_0x51ee6a['shift']());}}}(_0x3d6b,0x211c2));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener['onGroupListUpdate']=(_0x21d7a1,_0x1436d4)=>{const _0x1ad3c7=_0x2246,_0x20bb6d={'ZKUvC':function(_0x15dc66,_0x4b9280,_0x2f90ac){return _0x15dc66(_0x4b9280,_0x2f90ac);}};for(const [_0x47a628,_0x5edbc4]of groupMemberTasks){_0x20bb6d[_0x1ad3c7(0x1a0)](_0x5edbc4,_0x21d7a1,_0x1436d4),groupMemberTasks[_0x1ad3c7(0x1b4)](_0x47a628);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x33ae23=_0x2246;napCatCore[_0x33ae23(0x1b1)](groupListener);});},0x64);function _0x2246(_0x7a34f5,_0x1c7407){const _0x3d6b08=_0x3d6b();return _0x2246=function(_0x22460e,_0x2ab517){_0x22460e=_0x22460e-0x18f;let _0x16d75a=_0x3d6b08[_0x22460e];return _0x16d75a;},_0x2246(_0x7a34f5,_0x1c7407);}export class NTQQGroupApi{static async[_0x3b7c7c(0x1c3)](_0x3043f2=![]){const _0x46f124=_0x3b7c7c,_0x3256cc={'muBUe':function(_0x2ce87b,_0x30182d,_0x2874ab){return _0x2ce87b(_0x30182d,_0x2874ab);},'FYdnl':_0x46f124(0x1bb),'wsOaT':function(_0x6e618,_0x389e90,_0x435686){return _0x6e618(_0x389e90,_0x435686);}};let _0x388ff9=![];return new Promise((_0x31c0df,_0x527c2b)=>{const _0x284a6d=_0x46f124,_0x302097={'UhTRD':function(_0x4d9f1c,_0x424db3){return _0x4d9f1c(_0x424db3);},'BLnUn':_0x3256cc['FYdnl']};_0x3256cc[_0x284a6d(0x1a2)](setTimeout,()=>{const _0x25cea7=_0x284a6d;!_0x388ff9&&(_0x302097[_0x25cea7(0x193)](logDebug,_0x302097[_0x25cea7(0x19e)]),_0x302097[_0x25cea7(0x193)](_0x527c2b,_0x302097[_0x25cea7(0x19e)]));},0x1388);const _0x3ed725=(_0x5d6014,_0x12dc9e)=>{const _0x726b7=_0x284a6d;_0x388ff9=!![],_0x3256cc['muBUe'](logDebug,_0x726b7(0x1ba),_0x12dc9e),_0x31c0df(_0x12dc9e);};groupMemberTasks['set'](randomUUID(),_0x3ed725),napCatCore[_0x284a6d(0x1b8)][_0x284a6d(0x1a9)]()[_0x284a6d(0x1bf)](_0x3043f2)[_0x284a6d(0x1bd)]();});}static async[_0x3b7c7c(0x1c4)](_0x4b4deb,_0x37cd16=0xbb8){const _0x565443=_0x3b7c7c,_0x456830={'WYMhx':_0x565443(0x194),'jgRIr':function(_0x54c840,_0x209c4c){return _0x54c840!==_0x209c4c;},'yZbfm':function(_0x4be442,_0xa12b0b,_0x5bc0bf){return _0x4be442(_0xa12b0b,_0x5bc0bf);}},_0x3b3460=napCatCore['session'][_0x565443(0x1a9)](),_0x4bcc8b=_0x3b3460[_0x565443(0x198)](_0x4b4deb,_0x456830[_0x565443(0x1c0)]),_0x59829d=await _0x3b3460[_0x565443(0x1a6)](_0x4bcc8b,undefined,_0x37cd16);if(_0x456830[_0x565443(0x199)](_0x59829d['errCode'],0x0))throw _0x565443(0x1b6)+_0x59829d['errMsg'];return _0x456830[_0x565443(0x195)](logDebug,_0x565443(0x1a8)+_0x4b4deb+_0x565443(0x19d),_0x565443(0x1b7)+_0x59829d[_0x565443(0x1c1)][_0x565443(0x1a3)]),_0x59829d['result'][_0x565443(0x19a)][_0x565443(0x1ab)](_0x9cd7f3=>{const _0x240fcc=_0x565443;uid2UinMap[_0x9cd7f3[_0x240fcc(0x1be)]]=_0x9cd7f3[_0x240fcc(0x1c5)];}),_0x59829d['result'][_0x565443(0x19a)];}static async[_0x3b7c7c(0x1a5)](){}static async[_0x3b7c7c(0x1a4)](){}static async[_0x3b7c7c(0x1b2)](_0x71680b,_0x585c4d,_0x16d3b8){const _0x583a2a=_0x3b7c7c,_0x35806d={'fFEQU':function(_0x5cd70c,_0xd75dd){return _0x5cd70c||_0xd75dd;}};return napCatCore[_0x583a2a(0x1b8)][_0x583a2a(0x1a9)]()[_0x583a2a(0x1a1)](![],{'operateType':_0x585c4d,'targetMsg':{'seq':_0x71680b[_0x583a2a(0x1b5)],'type':_0x71680b[_0x583a2a(0x1c2)],'groupCode':_0x71680b[_0x583a2a(0x1ad)][_0x583a2a(0x1aa)],'postscript':_0x35806d[_0x583a2a(0x1b9)](_0x16d3b8,'')}});}static async[_0x3b7c7c(0x19f)](_0x15b124){const _0x17cb64=_0x3b7c7c;return napCatCore['session'][_0x17cb64(0x1a9)]()[_0x17cb64(0x19f)](_0x15b124);}static async[_0x3b7c7c(0x1b0)](_0x1f3d55,_0x5f1abf,_0x619fc3=![],_0x3bfab4=''){const _0x4c523d=_0x3b7c7c;return napCatCore[_0x4c523d(0x1b8)]['getGroupService']()[_0x4c523d(0x1b0)](_0x1f3d55,_0x5f1abf,_0x619fc3,_0x3bfab4);}static async['banMember'](_0x5f3fee,_0x227a52){const _0x3300ec=_0x3b7c7c;return napCatCore['session'][_0x3300ec(0x1a9)]()[_0x3300ec(0x18f)](_0x5f3fee,_0x227a52);}static async[_0x3b7c7c(0x1ac)](_0x4b0446,_0xaf9151){const _0x4a9302=_0x3b7c7c;return napCatCore[_0x4a9302(0x1b8)][_0x4a9302(0x1a9)]()['setGroupShutUp'](_0x4b0446,_0xaf9151);}static async['setMemberCard'](_0x1cfbb7,_0x1438bf,_0x2bbd71){const _0x4d96bd=_0x3b7c7c;return napCatCore['session'][_0x4d96bd(0x1a9)]()['modifyMemberCardName'](_0x1cfbb7,_0x1438bf,_0x2bbd71);}static async['setMemberRole'](_0x11f020,_0x2a635c,_0x24c3aa){const _0x4a5b7d=_0x3b7c7c;return napCatCore[_0x4a5b7d(0x1b8)][_0x4a5b7d(0x1a9)]()[_0x4a5b7d(0x1a7)](_0x11f020,_0x2a635c,_0x24c3aa);}static async[_0x3b7c7c(0x197)](_0x5adc10,_0x5bb120){const _0x361286=_0x3b7c7c;return napCatCore[_0x361286(0x1b8)][_0x361286(0x1a9)]()['modifyGroupName'](_0x5adc10,_0x5bb120,![]);}static async['setGroupTitle'](_0x453dc9,_0x2ab499,_0x44c1a6){}static['publishGroupBulletin'](_0x20eebf,_0x2908b0,_0x46f6f3){}}function _0x3d6b(){const _0x3b8e43=['BLnUn','quitGroup','ZKUvC','operateSysNotify','wsOaT','finish','getGroupIgnoreNotifies','getGroupNotifies','getNextMemberList','modifyMemberRole','获取群(','getGroupService','groupCode','forEach','banGroup','group','736760zFcpbY','1096510DIRhjK','kickMember','addListener','handleGroupRequest','18dBZXYf','delete','seq','获取群成员列表出错,','finish:\x20','session','fFEQU','获取群列表完成','获取群列表超时','3OROXXY','then','uid','getGroupList','WYMhx','result','type','getGroups','getGroupMembers','uin','setMemberShutUp','187992dQtXnJ','521044uihurn','5HZyEPO','UhTRD','groupMemberList_MainWindow','yZbfm','489008ynusxE','setGroupName','createMemberListScene','jgRIr','infos','1197693yWJOCh','249116mDFbpF',')成员列表结果:'];_0x3d6b=function(){return _0x3b8e43;};return _0x3d6b();} \ 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 229854da..acc99c57 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x4f4982,_0x2f0cdf){var _0x586479=_0x2a25,_0x38afd1=_0x4f4982();while(!![]){try{var _0x33e24a=-parseInt(_0x586479(0xa6))/0x1*(parseInt(_0x586479(0xb2))/0x2)+parseInt(_0x586479(0xa7))/0x3+-parseInt(_0x586479(0xa8))/0x4*(parseInt(_0x586479(0xb0))/0x5)+-parseInt(_0x586479(0xad))/0x6*(-parseInt(_0x586479(0xa9))/0x7)+-parseInt(_0x586479(0xab))/0x8*(parseInt(_0x586479(0xae))/0x9)+parseInt(_0x586479(0xb1))/0xa*(parseInt(_0x586479(0xaf))/0xb)+parseInt(_0x586479(0xaa))/0xc*(parseInt(_0x586479(0xac))/0xd);if(_0x33e24a===_0x2f0cdf)break;else _0x38afd1['push'](_0x38afd1['shift']());}catch(_0x4d65ec){_0x38afd1['push'](_0x38afd1['shift']());}}}(_0x56e6,0x3856e));export*from'./file';export*from'./friend';export*from'./group';function _0x2a25(_0x299383,_0x45f6d5){var _0x56e60e=_0x56e6();return _0x2a25=function(_0x2a251f,_0x4e9dc4){_0x2a251f=_0x2a251f-0xa6;var _0x4ab61c=_0x56e60e[_0x2a251f];return _0x4ab61c;},_0x2a25(_0x299383,_0x45f6d5);}export*from'./msg';function _0x56e6(){var _0x4216ce=['679rkTPQf','36OFYHnt','51232dpMbnZ','1719731CLgwJH','10662WxtbAf','549VBpxyn','4414531iwhsmp','106235cLqvLC','10hvpmGc','847246nXSTYc','1ilQyfl','542151ejORWb','20hkzUWt'];_0x56e6=function(){return _0x4216ce;};return _0x56e6();}export*from'./user';export*from'./webapi'; \ No newline at end of file +function _0x9fdd(){var _0x103895=['42096SyZNiT','2vDTXzu','38597gSctnN','63hgLlON','6WoPniF','781445KVRiKx','4911610XjasPI','1347350DerCUI','363288bUrcQM','394215VMGCnr'];_0x9fdd=function(){return _0x103895;};return _0x9fdd();}(function(_0xc41231,_0x101846){var _0x1b7a99=_0x1706,_0x4958da=_0xc41231();while(!![]){try{var _0x5e4dda=-parseInt(_0x1b7a99(0xa1))/0x1*(-parseInt(_0x1b7a99(0xa0))/0x2)+parseInt(_0x1b7a99(0x9e))/0x3+parseInt(_0x1b7a99(0x9f))/0x4+parseInt(_0x1b7a99(0x9c))/0x5*(parseInt(_0x1b7a99(0x99))/0x6)+-parseInt(_0x1b7a99(0x9a))/0x7+parseInt(_0x1b7a99(0x9d))/0x8*(parseInt(_0x1b7a99(0x98))/0x9)+-parseInt(_0x1b7a99(0x9b))/0xa;if(_0x5e4dda===_0x101846)break;else _0x4958da['push'](_0x4958da['shift']());}catch(_0x4e20c0){_0x4958da['push'](_0x4958da['shift']());}}}(_0x9fdd,0x284d5));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x1706(_0x14c24f,_0x18e4ea){var _0x9fdd62=_0x9fdd();return _0x1706=function(_0x1706fd,_0x5d2ff1){_0x1706fd=_0x1706fd-0x98;var _0x1781e9=_0x9fdd62[_0x1706fd];return _0x1781e9;},_0x1706(_0x14c24f,_0x18e4ea);}export*from'./webapi'; \ 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 5d5a7c6d..e25d3913 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x56c9(){const _0x95211f=['发送超时','senderUid','length','WZMrB','456260UdoniF','AFXkW','forEach','getMsgHistory','com.tencent.multimsg','511528gvyskE','DyYRW','lmOSa','set','jlOJY','3875496OGScIr','catch','msgId','vCaAu','onAddSendMsg','toString','1284966eEXlVD','addListener','bytesData','getMultiMsg','onLoginSuccess','131160dFHZYS','10ZTnczP','getMsgsBySeqAndCount','MKWIZ','bVFeM','delete','GoMtE','187KxcfDQ','UPSMO','RWNvj','setMsgRead','getMsgService','uid','VKJoA','elements','app','sswFB','activateChatAndGetHistory','find','session','iQUCx','转发消息超时','FLbkO','GziwE','recallMsg','guildId','getMsgsByMsgId','3550680eJVsCp','parse','multiForwardMsg','1077177gCCrZf','map','pQZej','arkElement','21fYKnHs','QIWSj','2wqykXv','then','forwardMsg','peerUid'];_0x56c9=function(){return _0x95211f;};return _0x56c9();}const _0x3af628=_0x54fa;(function(_0x136533,_0x25234f){const _0x5c235d=_0x54fa,_0x4e4bdb=_0x136533();while(!![]){try{const _0x41061d=-parseInt(_0x5c235d(0x16b))/0x1*(-parseInt(_0x5c235d(0x15e))/0x2)+parseInt(_0x5c235d(0x158))/0x3+parseInt(_0x5c235d(0x17b))/0x4*(-parseInt(_0x5c235d(0x13b))/0x5)+parseInt(_0x5c235d(0x176))/0x6*(parseInt(_0x5c235d(0x15c))/0x7)+-parseInt(_0x5c235d(0x170))/0x8+parseInt(_0x5c235d(0x155))/0x9+parseInt(_0x5c235d(0x166))/0xa*(-parseInt(_0x5c235d(0x141))/0xb);if(_0x41061d===_0x25234f)break;else _0x4e4bdb['push'](_0x4e4bdb['shift']());}catch(_0x4fdabc){_0x4e4bdb['push'](_0x4e4bdb['shift']());}}}(_0x56c9,0x8e12b));function _0x54fa(_0x1595b7,_0x21396f){const _0x56c93f=_0x56c9();return _0x54fa=function(_0x54fa5e,_0x2da588){_0x54fa5e=_0x54fa5e-0x13b;let _0x4e9664=_0x56c93f[_0x54fa5e];return _0x4e9664;},_0x54fa(_0x1595b7,_0x21396f);}import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x3af628(0x174)]=_0x4e737f=>{const _0x516b19=_0x3af628,_0x20af6c={'pQZej':function(_0x3d71d9,_0x40a8c0){return _0x3d71d9(_0x40a8c0);},'VKJoA':function(_0x53a81a,_0x324ade){return _0x53a81a instanceof _0x324ade;}};for(const [_0x3386ec,_0x5cd1a6]of sentMsgTasks){_0x20af6c[_0x516b19(0x15a)](_0x5cd1a6,_0x4e737f),sentMsgTasks[_0x516b19(0x13f)](_0x3386ec);}if(sendMessagePool[_0x4e737f[_0x516b19(0x161)]]){const _0x159318=sendMessagePool[_0x4e737f[_0x516b19(0x161)]]?.(_0x4e737f);_0x20af6c[_0x516b19(0x147)](_0x159318,Promise)&&_0x159318['then']()[_0x516b19(0x171)](logError);}},msgListener['onMsgInfoListUpdate']=_0x39616d=>{const _0x175702=_0x3af628,_0x119962={'FLbkO':function(_0x4e392a,_0x34c659){return _0x4e392a(_0x34c659);},'GziwE':function(_0x242249,_0x18e4f2){return _0x242249(_0x18e4f2);}};_0x39616d[_0x175702(0x168)](_0x74424d=>{const _0x334e82=_0x175702;new Promise((_0x2727be,_0x4a632f)=>{const _0x38fb76=_0x54fa;for(const _0x5b733a in sendSuccessCBMap){const _0x539a6a=sendSuccessCBMap[_0x5b733a],_0x56ba4f=_0x119962[_0x38fb76(0x150)](_0x539a6a,_0x74424d),_0xea5c7e=_0x1f517d=>{_0x1f517d&&delete sendSuccessCBMap[_0x5b733a];};_0x56ba4f instanceof Promise?_0x56ba4f['then'](_0xea5c7e):_0x119962[_0x38fb76(0x151)](_0xea5c7e,_0x56ba4f);}})[_0x334e82(0x15f)]()[_0x334e82(0x171)](log);});},setTimeout(()=>{const _0x2ea2d1=_0x3af628;napCatCore[_0x2ea2d1(0x17a)](()=>{const _0x2e7864=_0x2ea2d1;napCatCore[_0x2e7864(0x177)](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x55b21d,_0x57b114,_0x1af6ba,_0x25fd82=!![]){const _0x109bb7=_0x3af628,_0x4dccb6={'jlOJY':function(_0x1d94f1,_0x163df3){return _0x1d94f1>_0x163df3;}};return _0x1af6ba=_0x1af6ba[_0x109bb7(0x175)](),napCatCore[_0x109bb7(0x14d)][_0x109bb7(0x145)]()['setMsgEmojiLikes'](_0x55b21d,_0x57b114,_0x1af6ba,_0x4dccb6[_0x109bb7(0x16f)](_0x1af6ba[_0x109bb7(0x164)],0x3)?'2':'1',_0x25fd82);}static async['getMultiMsg'](_0x147562,_0x128b44,_0x3d7b79){const _0x3e4d81=_0x3af628;return napCatCore[_0x3e4d81(0x14d)][_0x3e4d81(0x145)]()[_0x3e4d81(0x179)](_0x147562,_0x128b44,_0x3d7b79);}static async[_0x3af628(0x154)](_0x2e7bb0,_0x3e8564){const _0x5117d9=_0x3af628;return await napCatCore[_0x5117d9(0x14d)][_0x5117d9(0x145)]()['getMsgsByMsgId'](_0x2e7bb0,_0x3e8564);}static async[_0x3af628(0x13c)](_0x21acc3,_0x10ac25,_0x2956e3,_0x323580,_0x4d5b96){const _0xf5baa8=_0x3af628;return await napCatCore[_0xf5baa8(0x14d)][_0xf5baa8(0x145)]()['getMsgsBySeqAndCount'](_0x21acc3,_0x10ac25,_0x2956e3,_0x323580,_0x4d5b96);}static async['activateChat'](_0x1ea5f3){}static async[_0x3af628(0x14b)](_0x3b8cf5){}static async[_0x3af628(0x144)](_0x5f37fd){const _0x3d098d=_0x3af628;return napCatCore[_0x3d098d(0x14d)]['getMsgService']()['setMsgRead'](_0x5f37fd['chatType'],_0x5f37fd[_0x3d098d(0x161)],_0x5f37fd[_0x3d098d(0x153)]);}static async[_0x3af628(0x169)](_0x1818dc,_0x812c6d,_0x158502){const _0x47c830=_0x3af628;return napCatCore['session'][_0x47c830(0x145)]()['getMsgsIncludeSelf'](_0x1818dc,_0x812c6d,_0x158502,!![]);}static async['fetchRecentContact'](){}static async[_0x3af628(0x152)](_0x38408f,_0x1d721e){const _0x2b3ddd=_0x3af628;await napCatCore[_0x2b3ddd(0x14d)][_0x2b3ddd(0x145)]()[_0x2b3ddd(0x152)]({'chatType':_0x38408f['chatType'],'peerUid':_0x38408f[_0x2b3ddd(0x161)]},_0x1d721e);}static async['sendMsg'](_0x3b4c76,_0x4293ed,_0x2426a3=!![],_0xdd3543=0x2710){const _0x209607=_0x3af628,_0x2b67bb={'vCaAu':function(_0x42ab66,_0x368644){return _0x42ab66>_0x368644;},'DyYRW':_0x209607(0x162),'WZMrB':function(_0xb12f80,_0x29d82b){return _0xb12f80(_0x29d82b);},'RWNvj':function(_0xc3dea6){return _0xc3dea6();},'wItLG':function(_0x55700d,_0x393a66){return _0x55700d(_0x393a66);},'sswFB':function(_0xb1722,_0x149020,_0x2ffb63){return _0xb1722(_0x149020,_0x2ffb63);}},_0x41c01b=_0x3b4c76[_0x209607(0x161)];let _0x331d7f=0x0;const _0x521ccf=async()=>{const _0xd2b883=_0x209607;if(_0x2b67bb[_0xd2b883(0x173)](_0x331d7f,_0xdd3543))throw _0x2b67bb['DyYRW'];const _0x3c1c21=sendMessagePool[_0x3b4c76[_0xd2b883(0x161)]];if(_0x3c1c21)return await _0x2b67bb[_0xd2b883(0x165)](sleep,0x1f4),_0x331d7f+=0x1f4,await _0x2b67bb[_0xd2b883(0x143)](_0x521ccf);else return;};return await _0x2b67bb[_0x209607(0x143)](_0x521ccf),new Promise((_0x26fea3,_0x2ae5ce)=>{const _0x55caa9=_0x209607,_0x3ab967={'lmOSa':function(_0xdc4681,_0x2aa5f9){return _0x2b67bb['wItLG'](_0xdc4681,_0x2aa5f9);},'UPSMO':_0x2b67bb[_0x55caa9(0x16c)]};let _0x709e4c=![],_0xa03d1d=null;const _0x5a4872=_0x2b67bb[_0x55caa9(0x143)](randomUUID);sendSuccessCBMap[_0x5a4872]=_0x4014ad=>{const _0xeadc6=_0x55caa9;if(_0x4014ad[_0xeadc6(0x172)]===_0xa03d1d?.['msgId']){if(_0x4014ad['sendStatus']===0x2)return delete sendSuccessCBMap[_0x5a4872],_0x709e4c=!![],_0x3ab967[_0xeadc6(0x16d)](_0x26fea3,_0x4014ad),!![];return![];}return![];},sendMessagePool[_0x41c01b]=async _0x4ab22f=>{delete sendMessagePool[_0x41c01b],_0xa03d1d=_0x4ab22f;},_0x2b67bb[_0x55caa9(0x14a)](setTimeout,()=>{const _0x2372b7=_0x55caa9;if(_0x709e4c)return;delete sendMessagePool[_0x41c01b],delete sendSuccessCBMap[_0x5a4872],_0x2ae5ce(_0x3ab967[_0x2372b7(0x142)]);},_0xdd3543);const _0x27012f=napCatCore['session'][_0x55caa9(0x145)]()['sendMsg']('0',_0x3b4c76,_0x4293ed,new Map());});}static async[_0x3af628(0x160)](_0x2c9987,_0x3430ed,_0x86eb7){const _0x37d853=_0x3af628;return napCatCore['session'][_0x37d853(0x145)]()['forwardMsg'](_0x86eb7,_0x2c9987,[_0x3430ed],new Map());}static async[_0x3af628(0x157)](_0x555717,_0x45a635,_0x4dd4ce){const _0x514804=_0x3af628,_0x2d7583={'MKWIZ':_0x514804(0x16a),'iQUCx':function(_0x1e8485,_0x343c3f){return _0x1e8485==_0x343c3f;},'bVFeM':function(_0x39f6d2,_0x3e081c){return _0x39f6d2(_0x3e081c);},'GoMtE':_0x514804(0x14f),'AFXkW':function(_0x17aad3,_0x3f726e,_0x11ac30){return _0x17aad3(_0x3f726e,_0x11ac30);}},_0x24bd56=_0x4dd4ce[_0x514804(0x159)](_0x2f328c=>{return{'msgId':_0x2f328c,'senderShowName':selfInfo['nick']};});return new Promise((_0x5a3220,_0x161464)=>{const _0x43051b=_0x514804,_0x5f50bb={'QIWSj':function(_0x6148dd,_0x4bac89){const _0x387cab=_0x54fa;return _0x2d7583[_0x387cab(0x13e)](_0x6148dd,_0x4bac89);},'kzmWx':_0x2d7583[_0x43051b(0x140)]};let _0x5eb1cb=![];const _0x42db44=_0x32e569=>{const _0x28fda6=_0x43051b,_0x58f892=_0x32e569[_0x28fda6(0x148)][_0x28fda6(0x14c)](_0x10630d=>_0x10630d[_0x28fda6(0x15b)]);if(!_0x58f892)return;const _0x963bc9=JSON[_0x28fda6(0x156)](_0x58f892[_0x28fda6(0x15b)][_0x28fda6(0x178)]);if(_0x963bc9[_0x28fda6(0x149)]!=_0x2d7583[_0x28fda6(0x13d)])return;_0x2d7583['iQUCx'](_0x32e569[_0x28fda6(0x161)],_0x45a635[_0x28fda6(0x161)])&&_0x2d7583[_0x28fda6(0x14e)](_0x32e569[_0x28fda6(0x163)],selfInfo[_0x28fda6(0x146)])&&(_0x5eb1cb=!![],_0x2d7583[_0x28fda6(0x13e)](_0x5a3220,_0x32e569));};sentMsgTasks[_0x43051b(0x16e)](randomUUID(),_0x42db44),_0x2d7583[_0x43051b(0x167)](setTimeout,()=>{const _0x3955c2=_0x43051b;!_0x5eb1cb&&_0x5f50bb[_0x3955c2(0x15d)](_0x161464,_0x5f50bb['kzmWx']);},0x1388),napCatCore[_0x43051b(0x14d)][_0x43051b(0x145)]()['multiForwardMsgWithComment'](_0x24bd56,_0x555717,_0x45a635,[],new Map());});}} \ No newline at end of file +const _0x205654=_0x3939;(function(_0x38923b,_0x271d33){const _0x114ea2=_0x3939,_0x4ed2d3=_0x38923b();while(!![]){try{const _0xd8b96b=parseInt(_0x114ea2(0xbe))/0x1+-parseInt(_0x114ea2(0xa7))/0x2*(-parseInt(_0x114ea2(0x89))/0x3)+parseInt(_0x114ea2(0xc0))/0x4+-parseInt(_0x114ea2(0x99))/0x5*(parseInt(_0x114ea2(0x9f))/0x6)+parseInt(_0x114ea2(0xc2))/0x7*(parseInt(_0x114ea2(0xae))/0x8)+-parseInt(_0x114ea2(0x7f))/0x9*(-parseInt(_0x114ea2(0x80))/0xa)+-parseInt(_0x114ea2(0x90))/0xb*(parseInt(_0x114ea2(0xbb))/0xc);if(_0xd8b96b===_0x271d33)break;else _0x4ed2d3['push'](_0x4ed2d3['shift']());}catch(_0xe7d9c4){_0x4ed2d3['push'](_0x4ed2d3['shift']());}}}(_0x2803,0x8a113));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x205654(0x93)]=_0x318f09=>{const _0x1632b7=_0x205654,_0x43843e={'YhBgN':function(_0x48827e,_0x5afe28){return _0x48827e instanceof _0x5afe28;}};for(const [_0x280f37,_0x213d04]of sentMsgTasks){_0x213d04(_0x318f09),sentMsgTasks[_0x1632b7(0xb2)](_0x280f37);}if(sendMessagePool[_0x318f09[_0x1632b7(0x82)]]){const _0x549e89=sendMessagePool[_0x318f09[_0x1632b7(0x82)]]?.(_0x318f09);_0x43843e[_0x1632b7(0x86)](_0x549e89,Promise)&&_0x549e89[_0x1632b7(0xa8)]()[_0x1632b7(0xa6)](logError);}},msgListener[_0x205654(0xad)]=_0x81556d=>{const _0x452e9f=_0x205654,_0x39966e={'sbHNy':function(_0x19ca79,_0x737b02){return _0x19ca79(_0x737b02);},'ovqqb':function(_0xf14f45,_0x3b72f0){return _0xf14f45(_0x3b72f0);}};_0x81556d[_0x452e9f(0x83)](_0x2c028d=>{const _0x5d977c=_0x452e9f;new Promise((_0xf7eef3,_0x524e3d)=>{const _0x4e4025=_0x3939;for(const _0xbc94e7 in sendSuccessCBMap){const _0x58fbc0=sendSuccessCBMap[_0xbc94e7],_0x29d9f0=_0x39966e[_0x4e4025(0x9d)](_0x58fbc0,_0x2c028d),_0x38d115=_0x12384b=>{_0x12384b&&delete sendSuccessCBMap[_0xbc94e7];};_0x29d9f0 instanceof Promise?_0x29d9f0[_0x4e4025(0xa8)](_0x38d115):_0x39966e[_0x4e4025(0xa0)](_0x38d115,_0x29d9f0);}})[_0x5d977c(0xa8)]()[_0x5d977c(0xa6)](log);});},setTimeout(()=>{const _0x549cdb=_0x205654;napCatCore[_0x549cdb(0x9b)](()=>{const _0x1d8bb2=_0x549cdb;napCatCore[_0x1d8bb2(0xa2)](msgListener);});},0x64);function _0x2803(){const _0x2914e6=['getMsgHistory','nick','getMsgService','activateChatAndGetHistory','1645960qRJEmU','toString','onLoginSuccess','yDDKz','sbHNy','com.tencent.multimsg','6PptqNc','ovqqb','chatType','addListener','setMsgRead','发送超时','parse','catch','114xlBbbC','then','jZjwL','setEmojiLike','getMultiMsg','gCZOp','onMsgInfoListUpdate','24AlCpdH','forwardMsg','sendMsg','kaLlj','delete','multiForwardMsgWithComment','guildId','iJYWT','arkElement','find','multiForwardMsg','nivSt','IDwwv','36696KsbVZD','msgId','ZuLdT','12380iYhUqc','SGmjU','4230268kcrIpU','getMsgsByMsgId','476189UnDOKD','recallMsg','set','elements','gpZFi','126RdwJea','193790EVsKlG','map','peerUid','forEach','FwoVD','VngNu','YhBgN','PtKVb','sendStatus','35769tTOdxL','getMsgsIncludeSelf','转发消息超时','iVbjH','activateChat','hbLYH','getMsgsBySeqAndCount','4785VERPsa','length','setMsgEmojiLikes','onAddSendMsg','session'];_0x2803=function(){return _0x2914e6;};return _0x2803();}function _0x3939(_0x1c1461,_0x51020c){const _0x28034f=_0x2803();return _0x3939=function(_0x393913,_0x1c9210){_0x393913=_0x393913-0x7c;let _0x2a2e11=_0x28034f[_0x393913];return _0x2a2e11;},_0x3939(_0x1c1461,_0x51020c);}export class NTQQMsgApi{static async[_0x205654(0xaa)](_0x434351,_0x253963,_0x3841fc,_0x497562=!![]){const _0x590918=_0x205654,_0x1ef198={'VngNu':function(_0x13a272,_0x497639){return _0x13a272>_0x497639;}};return _0x3841fc=_0x3841fc[_0x590918(0x9a)](),napCatCore['session'][_0x590918(0x97)]()[_0x590918(0x92)](_0x434351,_0x253963,_0x3841fc,_0x1ef198[_0x590918(0x85)](_0x3841fc[_0x590918(0x91)],0x3)?'2':'1',_0x497562);}static async[_0x205654(0xab)](_0x36f1d2,_0x19e6e5,_0x150af1){const _0x1b8348=_0x205654;return napCatCore[_0x1b8348(0x94)]['getMsgService']()[_0x1b8348(0xab)](_0x36f1d2,_0x19e6e5,_0x150af1);}static async[_0x205654(0xc1)](_0x606eea,_0x35c2b4){const _0x2ac80f=_0x205654;return await napCatCore[_0x2ac80f(0x94)][_0x2ac80f(0x97)]()[_0x2ac80f(0xc1)](_0x606eea,_0x35c2b4);}static async[_0x205654(0x8f)](_0x3449a5,_0x2f3960,_0x3ae1e9,_0x168721,_0xb146ca){const _0x3460d5=_0x205654;return await napCatCore[_0x3460d5(0x94)]['getMsgService']()[_0x3460d5(0x8f)](_0x3449a5,_0x2f3960,_0x3ae1e9,_0x168721,_0xb146ca);}static async[_0x205654(0x8d)](_0x3800e9){}static async[_0x205654(0x98)](_0x5ecb8c){}static async[_0x205654(0xa3)](_0x343b53){const _0x122539=_0x205654;return napCatCore['session'][_0x122539(0x97)]()['setMsgRead'](_0x343b53[_0x122539(0xa1)],_0x343b53['peerUid'],_0x343b53[_0x122539(0xb4)]);}static async[_0x205654(0x95)](_0x3eb89c,_0x5b8847,_0x52c5d1){const _0x1a3594=_0x205654;return napCatCore[_0x1a3594(0x94)]['getMsgService']()[_0x1a3594(0x8a)](_0x3eb89c,_0x5b8847,_0x52c5d1,!![]);}static async['fetchRecentContact'](){}static async[_0x205654(0xc3)](_0xb6f2b,_0x330996){const _0x1c2be0=_0x205654;await napCatCore[_0x1c2be0(0x94)][_0x1c2be0(0x97)]()[_0x1c2be0(0xc3)]({'chatType':_0xb6f2b[_0x1c2be0(0xa1)],'peerUid':_0xb6f2b[_0x1c2be0(0x82)]},_0x330996);}static async['sendMsg'](_0x390703,_0x45af1b,_0x442c0c=!![],_0x418808=0x2710){const _0x1981d6=_0x205654,_0xf3c5dd={'kaLlj':function(_0xbc71b9,_0x4e3ef0){return _0xbc71b9>_0x4e3ef0;},'ZuLdT':_0x1981d6(0xa4),'gpZFi':function(_0x13c2b7,_0x26ea00){return _0x13c2b7(_0x26ea00);},'OSOdU':function(_0x1bc831){return _0x1bc831();},'yDDKz':function(_0x169a1a,_0x10ad1d,_0x164ff1){return _0x169a1a(_0x10ad1d,_0x164ff1);},'SGmjU':function(_0x4ca065){return _0x4ca065();}},_0xb79b96=_0x390703[_0x1981d6(0x82)];let _0x535d82=0x0;const _0x18ed08=async()=>{const _0x1a7ef1=_0x1981d6;if(_0xf3c5dd[_0x1a7ef1(0xb1)](_0x535d82,_0x418808))throw _0xf3c5dd['ZuLdT'];const _0x272643=sendMessagePool[_0x390703[_0x1a7ef1(0x82)]];if(_0x272643)return await _0xf3c5dd[_0x1a7ef1(0x7e)](sleep,0x1f4),_0x535d82+=0x1f4,await _0x18ed08();else return;};return await _0xf3c5dd[_0x1981d6(0xbf)](_0x18ed08),new Promise((_0x168041,_0x66ede2)=>{const _0x33dcee=_0x1981d6,_0x581062={'nivSt':function(_0x3553ab,_0x3092c1){return _0x3553ab===_0x3092c1;},'iJYWT':function(_0x4d9976,_0x47100f){return _0x4d9976(_0x47100f);},'IDwwv':_0xf3c5dd[_0x33dcee(0xbd)]};let _0x32c099=![],_0x548824=null;const _0x2fb7e2=_0xf3c5dd['OSOdU'](randomUUID);sendSuccessCBMap[_0x2fb7e2]=_0x3f9ae3=>{const _0x45ad16=_0x33dcee;if(_0x581062[_0x45ad16(0xb9)](_0x3f9ae3[_0x45ad16(0xbc)],_0x548824?.[_0x45ad16(0xbc)])){if(_0x581062[_0x45ad16(0xb9)](_0x3f9ae3[_0x45ad16(0x88)],0x2))return delete sendSuccessCBMap[_0x2fb7e2],_0x32c099=!![],_0x581062[_0x45ad16(0xb5)](_0x168041,_0x3f9ae3),!![];return![];}return![];},sendMessagePool[_0xb79b96]=async _0x3b0b53=>{delete sendMessagePool[_0xb79b96],_0x548824=_0x3b0b53;},_0xf3c5dd[_0x33dcee(0x9c)](setTimeout,()=>{const _0x4cc036=_0x33dcee;if(_0x32c099)return;delete sendMessagePool[_0xb79b96],delete sendSuccessCBMap[_0x2fb7e2],_0x581062[_0x4cc036(0xb5)](_0x66ede2,_0x581062[_0x4cc036(0xba)]);},_0x418808);const _0x9d6cf0=napCatCore[_0x33dcee(0x94)][_0x33dcee(0x97)]()[_0x33dcee(0xb0)]('0',_0x390703,_0x45af1b,new Map());});}static async[_0x205654(0xaf)](_0x2a9810,_0x1d2488,_0x102fdc){const _0x4fccb4=_0x205654;return napCatCore[_0x4fccb4(0x94)][_0x4fccb4(0x97)]()[_0x4fccb4(0xaf)](_0x102fdc,_0x2a9810,[_0x1d2488],new Map());}static async[_0x205654(0xb8)](_0x2b68a2,_0xadeef4,_0x5f1a52){const _0x31d1f4=_0x205654,_0x281124={'gCZOp':function(_0x4e9208,_0x369804){return _0x4e9208!=_0x369804;},'iVbjH':function(_0x120fa1,_0x14a3f9){return _0x120fa1==_0x14a3f9;},'FEoxM':function(_0xc0ffb6,_0x196644){return _0xc0ffb6==_0x196644;},'PtKVb':function(_0x1c9e75,_0x5bd46f){return _0x1c9e75(_0x5bd46f);},'FwoVD':function(_0x2d51be){return _0x2d51be();},'jZjwL':function(_0x55eb54,_0x3a6e76,_0x40d3fe){return _0x55eb54(_0x3a6e76,_0x40d3fe);}},_0xfc33aa=_0x5f1a52[_0x31d1f4(0x81)](_0x50605d=>{const _0x54f95e=_0x31d1f4;return{'msgId':_0x50605d,'senderShowName':selfInfo[_0x54f95e(0x96)]};});return new Promise((_0x58180b,_0x13927f)=>{const _0x5510ac=_0x31d1f4,_0x31494d={'hbLYH':function(_0x173d28,_0x4bc03e){const _0x4cd21d=_0x3939;return _0x281124[_0x4cd21d(0x87)](_0x173d28,_0x4bc03e);},'PJpsb':_0x5510ac(0x8b)};let _0x176c8b=![];const _0x1e1a6b=_0x4d1bc4=>{const _0x30cdef=_0x5510ac,_0x19ede1=_0x4d1bc4[_0x30cdef(0x7d)][_0x30cdef(0xb7)](_0x3ab326=>_0x3ab326[_0x30cdef(0xb6)]);if(!_0x19ede1)return;const _0x568dca=JSON[_0x30cdef(0xa5)](_0x19ede1[_0x30cdef(0xb6)]['bytesData']);if(_0x281124[_0x30cdef(0xac)](_0x568dca['app'],_0x30cdef(0x9e)))return;_0x281124[_0x30cdef(0x8c)](_0x4d1bc4[_0x30cdef(0x82)],_0xadeef4[_0x30cdef(0x82)])&&_0x281124['FEoxM'](_0x4d1bc4['senderUid'],selfInfo['uid'])&&(_0x176c8b=!![],_0x281124[_0x30cdef(0x87)](_0x58180b,_0x4d1bc4));};sentMsgTasks[_0x5510ac(0x7c)](_0x281124[_0x5510ac(0x84)](randomUUID),_0x1e1a6b),_0x281124[_0x5510ac(0xa9)](setTimeout,()=>{const _0x27f15c=_0x5510ac;!_0x176c8b&&_0x31494d[_0x27f15c(0x8e)](_0x13927f,_0x31494d['PJpsb']);},0x1388),napCatCore[_0x5510ac(0x94)]['getMsgService']()[_0x5510ac(0xb3)](_0xfc33aa,_0x2b68a2,_0xadeef4,[],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 118cb90e..48ff6b2f 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -var _0x2639a8=_0x2161;(function(_0x4bc075,_0x3d0a02){var _0x12cd9c=_0x2161,_0x40d570=_0x4bc075();while(!![]){try{var _0x4d28ce=parseInt(_0x12cd9c(0x145))/0x1+parseInt(_0x12cd9c(0x130))/0x2*(parseInt(_0x12cd9c(0x133))/0x3)+parseInt(_0x12cd9c(0x13a))/0x4+parseInt(_0x12cd9c(0x132))/0x5*(parseInt(_0x12cd9c(0x13b))/0x6)+-parseInt(_0x12cd9c(0x137))/0x7+-parseInt(_0x12cd9c(0x131))/0x8*(-parseInt(_0x12cd9c(0x13c))/0x9)+parseInt(_0x12cd9c(0x143))/0xa*(-parseInt(_0x12cd9c(0x139))/0xb);if(_0x4d28ce===_0x3d0a02)break;else _0x40d570['push'](_0x40d570['shift']());}catch(_0x169dd9){_0x40d570['push'](_0x40d570['shift']());}}}(_0x5f37,0xa56bc));import{logDebug}from'@/common/utils/log';function _0x2161(_0x296aa1,_0x2f8c2f){var _0x5f37ac=_0x5f37();return _0x2161=function(_0x216124,_0x51278e){_0x216124=_0x216124-0x12f;var _0x519ea9=_0x5f37ac[_0x216124];return _0x519ea9;},_0x2161(_0x296aa1,_0x2f8c2f);}export class MusicSign{['url'];constructor(_0x4a2a3d){var _0x2f4896=_0x2161;this[_0x2f4896(0x136)]=_0x4a2a3d;}[_0x2639a8(0x135)](_0x25be52){var _0x1e1ace=_0x2639a8,_0x3e19a3={'yQHag':function(_0x384266,_0x5ed039,_0x3cc618){return _0x384266(_0x5ed039,_0x3cc618);},'mlNOR':_0x1e1ace(0x141),'CZMBu':'application/json'};return new Promise((_0x672223,_0x5b9c8b)=>{var _0x59bb04=_0x1e1ace,_0xa872db={'vBGzl':function(_0x53e623,_0x1ba2f2){return _0x53e623(_0x1ba2f2);},'WQHmw':function(_0x13c954,_0x16fc76,_0x57c14b){var _0x1fd722=_0x2161;return _0x3e19a3[_0x1fd722(0x12f)](_0x13c954,_0x16fc76,_0x57c14b);}};fetch(this['url'],{'method':_0x3e19a3[_0x59bb04(0x13e)],'headers':{'Content-Type':_0x3e19a3[_0x59bb04(0x140)]},'body':JSON[_0x59bb04(0x13d)](_0x25be52)})[_0x59bb04(0x13f)](_0x1ce435=>{var _0x35f8f9=_0x59bb04;return!_0x1ce435['ok']&&_0xa872db['vBGzl'](_0x5b9c8b,_0x1ce435[_0x35f8f9(0x146)]),_0x1ce435[_0x35f8f9(0x144)]();})['then'](_0x1853b1=>{var _0x48b428=_0x59bb04;_0xa872db['WQHmw'](logDebug,_0x48b428(0x138),_0x1853b1),_0xa872db[_0x48b428(0x134)](_0x672223,_0x1853b1);})[_0x59bb04(0x142)](_0x46565=>{var _0x4374b1=_0x59bb04;_0xa872db[_0x4374b1(0x134)](_0x5b9c8b,_0x46565);});});}}function _0x5f37(){var _0x38de32=['json','265838LkFSbY','statusText','yQHag','2ORQvyA','229968UZPmJU','5cRCkBb','3458313CnIXDL','vBGzl','sign','url','3730328DMbPij','音乐消息生成成功','243221huxzIt','3197364bJibIM','7739034SZxnae','63gsdBDF','stringify','mlNOR','then','CZMBu','POST','catch','1130gnxsBv'];_0x5f37=function(){return _0x38de32;};return _0x5f37();} \ No newline at end of file +(function(_0x4f9208,_0x51d0c5){var _0x406596=_0x3c1f,_0x540406=_0x4f9208();while(!![]){try{var _0x46d580=-parseInt(_0x406596(0x83))/0x1*(parseInt(_0x406596(0x72))/0x2)+-parseInt(_0x406596(0x73))/0x3*(parseInt(_0x406596(0x6e))/0x4)+parseInt(_0x406596(0x6f))/0x5*(parseInt(_0x406596(0x81))/0x6)+-parseInt(_0x406596(0x80))/0x7*(parseInt(_0x406596(0x6c))/0x8)+-parseInt(_0x406596(0x6d))/0x9*(-parseInt(_0x406596(0x7c))/0xa)+parseInt(_0x406596(0x7f))/0xb+parseInt(_0x406596(0x70))/0xc*(parseInt(_0x406596(0x6b))/0xd);if(_0x46d580===_0x51d0c5)break;else _0x540406['push'](_0x540406['shift']());}catch(_0x2f2db0){_0x540406['push'](_0x540406['shift']());}}}(_0x5644,0x260bc));import{logDebug}from'@/common/utils/log';export class MusicSign{['url'];constructor(_0x4bc913){var _0x1b6983=_0x3c1f;this[_0x1b6983(0x75)]=_0x4bc913;}['sign'](_0x191618){var _0x250a7e=_0x3c1f,_0x39465a={'qOOJc':function(_0x29392d,_0xc1f726){return _0x29392d(_0xc1f726);},'CTNUh':function(_0x5b65ed,_0x121c37){return _0x5b65ed(_0x121c37);},'enmAO':function(_0x145808,_0x5d2f18,_0x537830){return _0x145808(_0x5d2f18,_0x537830);},'GYTFc':function(_0x1cc13f,_0x32656d,_0x33f52c){return _0x1cc13f(_0x32656d,_0x33f52c);},'TbXTz':_0x250a7e(0x69),'UUzzY':_0x250a7e(0x71)};return new Promise((_0x299c60,_0x320caa)=>{var _0x5ba60b=_0x250a7e,_0x22afae={'PwXLZ':function(_0x1995fe,_0x6bf4b1){return _0x39465a['CTNUh'](_0x1995fe,_0x6bf4b1);},'xxlUF':function(_0x32bf86,_0x9405ed,_0x13bf7c){var _0x110cf0=_0x3c1f;return _0x39465a[_0x110cf0(0x7d)](_0x32bf86,_0x9405ed,_0x13bf7c);}};_0x39465a[_0x5ba60b(0x7e)](fetch,this[_0x5ba60b(0x75)],{'method':_0x39465a['TbXTz'],'headers':{'Content-Type':_0x39465a[_0x5ba60b(0x6a)]},'body':JSON[_0x5ba60b(0x74)](_0x191618)})['then'](_0x1ed907=>{var _0x209e1c=_0x5ba60b;return!_0x1ed907['ok']&&_0x22afae[_0x209e1c(0x79)](_0x320caa,_0x1ed907[_0x209e1c(0x7b)]),_0x1ed907[_0x209e1c(0x77)]();})[_0x5ba60b(0x7a)](_0x515031=>{var _0x56f8c8=_0x5ba60b;_0x22afae[_0x56f8c8(0x68)](logDebug,_0x56f8c8(0x82),_0x515031),_0x299c60(_0x515031);})[_0x5ba60b(0x76)](_0x34c30e=>{var _0xcea7d1=_0x5ba60b;_0x39465a[_0xcea7d1(0x78)](_0x320caa,_0x34c30e);});});}}function _0x3c1f(_0x4b5f93,_0x18754d){var _0x564451=_0x5644();return _0x3c1f=function(_0x3c1f80,_0x2237d3){_0x3c1f80=_0x3c1f80-0x68;var _0x513db1=_0x564451[_0x3c1f80];return _0x513db1;},_0x3c1f(_0x4b5f93,_0x18754d);}function _0x5644(){var _0x336a61=['stringify','url','catch','json','qOOJc','PwXLZ','then','statusText','2877310BBcuCK','enmAO','GYTFc','975524wnzJzm','266AzlXnf','78ebjVHG','音乐消息生成成功','1irKgQO','xxlUF','POST','UUzzY','1144858mcstbG','10216UaiWWw','9npbxti','284fnbEbl','61475bUaISL','12vNgBSb','application/json','537590AoOGCA','6387wfQInh'];_0x5644=function(){return _0x336a61;};return _0x5644();} \ 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 c980ec45..572354ec 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0xabdc1c=_0x3603;(function(_0x5ecc23,_0x269a20){const _0x1a95d7=_0x3603,_0xc21941=_0x5ecc23();while(!![]){try{const _0x3b925b=-parseInt(_0x1a95d7(0xcf))/0x1*(parseInt(_0x1a95d7(0xdd))/0x2)+-parseInt(_0x1a95d7(0xdc))/0x3*(parseInt(_0x1a95d7(0xb4))/0x4)+-parseInt(_0x1a95d7(0xd4))/0x5+-parseInt(_0x1a95d7(0xb8))/0x6*(parseInt(_0x1a95d7(0xeb))/0x7)+-parseInt(_0x1a95d7(0xce))/0x8+-parseInt(_0x1a95d7(0xe0))/0x9*(-parseInt(_0x1a95d7(0xd6))/0xa)+parseInt(_0x1a95d7(0xbe))/0xb;if(_0x3b925b===_0x269a20)break;else _0xc21941['push'](_0xc21941['shift']());}catch(_0x45b3a3){_0xc21941['push'](_0xc21941['shift']());}}}(_0x37f4,0xa18df));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x37f4(){const _0x24b28a=['setQQAvatar','like','EfxNC','2437115uVzyLZ','getUserDetailInfo','10JoDAKk','push','setHeader','getUserDetailInfo\x20timeout','bnwQf','TbEXV','1106091DisXZY','2396452iVMGvy','kIuIw','CreatTime','7324452hXhDFw','JUvEN','CrXOl','PskeyTime','response','gMIOD','entries','then','addListener','dsQlA','onProfileDetailInfoChanged','3499846VZkLkB','delete','setStatus','yXaDn','now','getSelfInfo','nnHVr','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','wFUfZ','onLoginSuccess','getTicketService','errMsg','getPSkey','PMqTz','setSelfOnlineStatus','getProfileService','jUsRo','uin','PskeyData','12OdKgNq','keyIndex','getMsgService','FIlZG','12pUhaFJ','uid','&clientkey=','getUserInfo','getTipOffService','ONzni','47059771BDzlON','getUserDetailInfoWithBizInfo','domainPskeyMap','session','setBuddyProfileLike','forceFetchClientKey','clientKey','getRobotUinRange','get','kDqaf','skey','Ncagr','getPskey','robotUinRanges','Skey','dbnXH','5108528QAfYYq','1OMWgJg','result'];_0x37f4=function(){return _0x24b28a;};return _0x37f4();}import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';function _0x3603(_0xbaa4cd,_0x10a590){const _0x37f4d2=_0x37f4();return _0x3603=function(_0x360316,_0x387932){_0x360316=_0x360316-0xb3;let _0x4978de=_0x37f4d2[_0x360316];return _0x4978de;},_0x3603(_0xbaa4cd,_0x10a590);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0xabdc1c(0xea)]=_0x3f975f=>{const _0x1f25b5=_0xabdc1c;userInfoCache[_0x3f975f[_0x1f25b5(0xb9)]]=_0x3f975f,userDetailHandlers['forEach'](_0x46e150=>_0x46e150(_0x3f975f));},setTimeout(()=>{const _0x5abdbb=_0xabdc1c;napCatCore[_0x5abdbb(0xf4)](()=>{const _0x7f46bc=_0x5abdbb;napCatCore[_0x7f46bc(0xe8)](profileListener);});},0x64);export class NTQQUserApi{static async[_0xabdc1c(0xf9)](_0x4569f1,_0x14a68b,_0x3062cd){const _0x45013d=_0xabdc1c;return napCatCore[_0x45013d(0xc1)][_0x45013d(0xb6)]()[_0x45013d(0xed)]({'status':_0x4569f1,'extStatus':_0x14a68b,'batteryStatus':_0x3062cd});}static async[_0xabdc1c(0xd2)](_0x36ea36,_0x287fb3=0x1){const _0x2dfe24=_0xabdc1c;return napCatCore['session']['getProfileLikeService']()[_0x2dfe24(0xc2)]({'friendUid':_0x36ea36,'sourceId':0x47,'doLikeCount':_0x287fb3,'doLikeTollCount':0x0});}static async[_0xabdc1c(0xd1)](_0x5b2030){const _0x5909c9=_0xabdc1c,_0xd91f06=napCatCore[_0x5909c9(0xc1)][_0x5909c9(0xfa)]()[_0x5909c9(0xd8)](_0x5b2030);return{'result':_0xd91f06?.[_0x5909c9(0xd0)],'errMsg':_0xd91f06?.[_0x5909c9(0xf6)]};}static async[_0xabdc1c(0xf0)](){}static async[_0xabdc1c(0xbb)](_0x20163c){}static async[_0xabdc1c(0xd5)](_0x524573){const _0x4c57f5=_0xabdc1c,_0x3b97c0={'gMIOD':function(_0x444300,_0x2acd8a){return _0x444300(_0x2acd8a);},'jUsRo':_0x4c57f5(0xd9),'kDqaf':function(_0x3725de,_0x5309e8){return _0x3725de===_0x5309e8;},'dsQlA':function(_0xd592aa,_0x5a7fc5){return _0xd592aa(_0x5a7fc5);},'XjEYf':function(_0x54315d,_0x4de6c8,_0xd3fa82){return _0x54315d(_0x4de6c8,_0xd3fa82);}},_0x251345=napCatCore['session'][_0x4c57f5(0xfa)]();return new Promise((_0x4dab0d,_0x3310cb)=>{const _0x251043=_0x4c57f5,_0x2e203f={'wFUfZ':function(_0x411550,_0x3bebda){const _0x160ab9=_0x3603;return _0x3b97c0[_0x160ab9(0xc7)](_0x411550,_0x3bebda);},'FIlZG':function(_0x379323,_0x9544c7){const _0x33da1b=_0x3603;return _0x3b97c0[_0x33da1b(0xe9)](_0x379323,_0x9544c7);}},_0x515246=randomUUID();let _0x17acc3=![];_0x3b97c0['XjEYf'](setTimeout,()=>{const _0x5247e0=_0x3603;!_0x17acc3&&_0x3b97c0[_0x5247e0(0xe5)](_0x3310cb,_0x3b97c0[_0x5247e0(0xfb)]);},0x1388),userDetailHandlers['set'](_0x515246,_0x3dee16=>{const _0xdab602=_0x3603;_0x2e203f[_0xdab602(0xf3)](_0x3dee16[_0xdab602(0xb9)],_0x524573)&&(_0x17acc3=!![],userDetailHandlers[_0xdab602(0xec)](_0x515246),_0x2e203f[_0xdab602(0xb7)](_0x4dab0d,_0x3dee16));}),_0x251345[_0x251043(0xbf)](_0x524573,[0x0])[_0x251043(0xe7)](_0x230e87=>{});});}static async[_0xabdc1c(0xf7)](_0x1be0aa,_0x3e6f24=!![]){const _0x1f4c3f=_0xabdc1c,_0x5bb770={'TbEXV':function(_0x2f0559,_0x30129a){return _0x2f0559||_0x30129a;},'tkIhn':function(_0x14c18f,_0x27a9b0){return _0x14c18f>_0x27a9b0;},'nnHVr':function(_0x3622e4,_0x3f0aaf){return _0x3622e4-_0x3f0aaf;},'EfxNC':function(_0x1b20d8,_0x4a64ec){return _0x1b20d8===_0x4a64ec;},'Cphdy':function(_0x4e96d9,_0x4d57a8,_0x615e5f){return _0x4e96d9(_0x4d57a8,_0x615e5f);},'Ncagr':'获取Pskey失败'};let _0x16205d=[],_0x2c223c={};for(let _0x21c811 in _0x1be0aa){let _0x5590e8=Credentials['PskeyData'][_0x1f4c3f(0xc6)](_0x1be0aa[_0x21c811]),_0x469220=Credentials[_0x1f4c3f(0xe3)][_0x1f4c3f(0xc6)](_0x1be0aa[_0x21c811]);_0x5bb770[_0x1f4c3f(0xdb)](!_0x5590e8,!_0x469220)||_0x5bb770['tkIhn'](_0x5bb770[_0x1f4c3f(0xf1)](Date['now'](),_0x469220),0x708*0x3e8)||!_0x3e6f24?_0x16205d[_0x1f4c3f(0xd7)](_0x1be0aa[_0x21c811]):_0x2c223c[_0x1be0aa[_0x21c811]]=_0x5590e8;}let _0x29731c={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5bb770['tkIhn'](_0x16205d['length'],0x0)&&(_0x29731c=await napCatCore['session'][_0x1f4c3f(0xbc)]()[_0x1f4c3f(0xca)](_0x16205d,!![]));let _0x2743c8=_0x29731c[_0x1f4c3f(0xc0)];for(let _0x3f43bb of _0x2743c8[_0x1f4c3f(0xe6)]()){Credentials[_0x1f4c3f(0xb3)]['set'](_0x3f43bb[0x0],_0x3f43bb[0x1]),Credentials[_0x1f4c3f(0xe3)]['set'](_0x3f43bb[0x0],Date['now']());}let _0x117792=Object['assign'](Object['fromEntries'](_0x2743c8),_0x2c223c);if(_0x5bb770[_0x1f4c3f(0xd3)](_0x29731c[_0x1f4c3f(0xd0)],0x0))return _0x117792;else _0x5bb770['Cphdy'](logError,_0x5bb770[_0x1f4c3f(0xc9)],_0x29731c[_0x1f4c3f(0xf6)]);return{};}static async[_0xabdc1c(0xc5)](){const _0x1a1beb=_0xabdc1c,_0x40891a=await napCatCore['session']['getRobotService']()[_0x1a1beb(0xc5)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x40891a?.[_0x1a1beb(0xe4)]?.[_0x1a1beb(0xcb)];}static async['getSkey'](_0x21e93f=!![]){const _0x49f9e2=_0xabdc1c,_0x1b8ee9={'PMqTz':function(_0x199987,_0x3339b6){return _0x199987==_0x3339b6;},'grykj':function(_0x18ea54,_0x2bb0cc){return _0x18ea54>_0x2bb0cc;},'dbnXH':function(_0x6d916d,_0x28d513){return _0x6d916d-_0x28d513;},'yXaDn':function(_0x2838cd,_0x27e5b2){return _0x2838cd*_0x27e5b2;},'CrXOl':function(_0x9c8c9d,_0x1118b3){return _0x9c8c9d+_0x1118b3;},'JUvEN':function(_0x591e93,_0x517665){return _0x591e93+_0x517665;},'kIuIw':function(_0x51c434,_0x1ebe01){return _0x51c434+_0x1ebe01;},'TlAkj':_0x49f9e2(0xf2),'xVApH':_0x49f9e2(0xba),'ONzni':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','bnwQf':function(_0x191521,_0x58cd7f){return _0x191521(_0x58cd7f);}};try{if(_0x1b8ee9[_0x49f9e2(0xf8)](Credentials[_0x49f9e2(0xdf)],0x0)||_0x1b8ee9['grykj'](_0x1b8ee9[_0x49f9e2(0xcd)](Date[_0x49f9e2(0xef)](),Credentials['CreatTime']),_0x1b8ee9[_0x49f9e2(0xee)](0x3e8,0xe10))||!_0x21e93f){const _0x1ea7f0=await napCatCore[_0x49f9e2(0xc1)][_0x49f9e2(0xf5)]()[_0x49f9e2(0xc3)]('');if(_0x1ea7f0[_0x49f9e2(0xd0)]!==0x0)return'';const _0x37ca54=_0x1ea7f0[_0x49f9e2(0xc4)],_0x3ad1c3=_0x1ea7f0[_0x49f9e2(0xb5)],_0x14d3a1=_0x1b8ee9[_0x49f9e2(0xe2)](_0x1b8ee9[_0x49f9e2(0xe1)](_0x1b8ee9[_0x49f9e2(0xe2)](_0x1b8ee9[_0x49f9e2(0xde)](_0x1b8ee9['TlAkj']+selfInfo[_0x49f9e2(0xfc)],_0x1b8ee9['xVApH']),_0x37ca54),_0x1b8ee9[_0x49f9e2(0xbd)]),_0x3ad1c3),_0x5468b1=await _0x1b8ee9[_0x49f9e2(0xda)](HttpGetCookies,_0x14d3a1),_0x2e376c=_0x5468b1[_0x49f9e2(0xc6)](_0x49f9e2(0xc8));if(!_0x2e376c)return'';return Credentials[_0x49f9e2(0xdf)]=Date[_0x49f9e2(0xef)](),Credentials[_0x49f9e2(0xcc)]=_0x2e376c,_0x2e376c;}return Credentials[_0x49f9e2(0xcc)];}catch(_0x2962c3){}return undefined;}} \ No newline at end of file +const _0x4a86f1=_0x5532;function _0x5532(_0x4db42e,_0x3ea30c){const _0x43cee9=_0x43ce();return _0x5532=function(_0x5532e8,_0x5489bd){_0x5532e8=_0x5532e8-0x17a;let _0xb06299=_0x43cee9[_0x5532e8];return _0xb06299;},_0x5532(_0x4db42e,_0x3ea30c);}(function(_0x16a4a6,_0x424928){const _0x272e65=_0x5532,_0x1329cc=_0x16a4a6();while(!![]){try{const _0x5ddb57=parseInt(_0x272e65(0x182))/0x1*(-parseInt(_0x272e65(0x196))/0x2)+-parseInt(_0x272e65(0x1b0))/0x3*(parseInt(_0x272e65(0x1bb))/0x4)+parseInt(_0x272e65(0x1a5))/0x5+parseInt(_0x272e65(0x185))/0x6+parseInt(_0x272e65(0x18e))/0x7*(parseInt(_0x272e65(0x18b))/0x8)+-parseInt(_0x272e65(0x18f))/0x9*(parseInt(_0x272e65(0x18c))/0xa)+-parseInt(_0x272e65(0x195))/0xb*(parseInt(_0x272e65(0x1a4))/0xc);if(_0x5ddb57===_0x424928)break;else _0x1329cc['push'](_0x1329cc['shift']());}catch(_0x1aa8ed){_0x1329cc['push'](_0x1329cc['shift']());}}}(_0x43ce,0x80e3e));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x43ce(){const _0x18907a=['NxHAO','result','eGHut','getUserDetailInfo','now','PskeyData','robotUinRanges','18708PYvqkr','Skey','forEach','errMsg','getProfileService','getProfileLikeService','Ogmua','setHeader','getRobotUinRange','skey','ESDPG','forceFetchClientKey','jBxsc','FLKEN','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','478777lIodLC','获取Pskey失败','getTipOffService','5783346DkgKoE','then','opWfK','zMdQy','like','cnQvU','1168VFNUPC','3182690FbfNKS','session','44849ZTaByw','18cdldBh','uin','getSelfInfo','brhIO','getUserDetailInfo\x20timeout','clientKey','132AvuHiG','4BtrCfz','FGIzw','PAUTb','&clientkey=','setQQAvatar','push','entries','hpHDZ','getMsgService','delete','jQliS','PskeyTime','uid','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','95772VgbWzy','2293975QXwYub','setBuddyProfileLike','XLgIh','setSelfOnlineStatus','set','keyIndex','mLqqr','getSkey','CreatTime','get','assign','90pQDnbt','onProfileDetailInfoChanged','fromEntries','yFjIA'];_0x43ce=function(){return _0x18907a;};return _0x43ce();}import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x4a86f1(0x1b1)]=_0x3fde08=>{const _0x13a3e9=_0x4a86f1;userInfoCache[_0x3fde08[_0x13a3e9(0x1a2)]]=_0x3fde08,userDetailHandlers[_0x13a3e9(0x1bd)](_0x51276c=>_0x51276c(_0x3fde08));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4a86f1(0x1a8)](_0x6c7cb5,_0x3f0c9f,_0x584a12){const _0x497a66=_0x4a86f1;return napCatCore[_0x497a66(0x18d)][_0x497a66(0x19e)]()['setStatus']({'status':_0x6c7cb5,'extStatus':_0x3f0c9f,'batteryStatus':_0x584a12});}static async[_0x4a86f1(0x189)](_0x544753,_0x2b9f0e=0x1){const _0x1269b5=_0x4a86f1;return napCatCore['session'][_0x1269b5(0x1c0)]()[_0x1269b5(0x1a6)]({'friendUid':_0x544753,'sourceId':0x47,'doLikeCount':_0x2b9f0e,'doLikeTollCount':0x0});}static async[_0x4a86f1(0x19a)](_0x68de97){const _0x5e65b9=_0x4a86f1,_0x3ab1f5=napCatCore[_0x5e65b9(0x18d)][_0x5e65b9(0x1bf)]()[_0x5e65b9(0x17a)](_0x68de97);return{'result':_0x3ab1f5?.[_0x5e65b9(0x1b5)],'errMsg':_0x3ab1f5?.[_0x5e65b9(0x1be)]};}static async[_0x4a86f1(0x191)](){}static async['getUserInfo'](_0xa23738){}static async[_0x4a86f1(0x1b7)](_0x18ec06){const _0x129160=_0x4a86f1,_0x293cc2={'ESDPG':function(_0x25acb0,_0x218aae){return _0x25acb0(_0x218aae);},'gdZTX':_0x129160(0x193),'ejQtI':function(_0x20381d,_0xd96ec1){return _0x20381d===_0xd96ec1;},'Ogmua':function(_0x83230c){return _0x83230c();},'mLqqr':function(_0x3567e4,_0x8cbe73,_0x434cba){return _0x3567e4(_0x8cbe73,_0x434cba);}},_0x1d18a7=napCatCore['session'][_0x129160(0x1bf)]();return new Promise((_0x1a4200,_0xff48b)=>{const _0x29690a=_0x129160,_0x2b1b86={'yFjIA':function(_0xd490e2,_0x51ea96){const _0x201b67=_0x5532;return _0x293cc2[_0x201b67(0x17d)](_0xd490e2,_0x51ea96);},'brhIO':_0x293cc2['gdZTX'],'xhIRp':function(_0x2eb598,_0x4a67be){return _0x293cc2['ejQtI'](_0x2eb598,_0x4a67be);}},_0x560779=_0x293cc2[_0x29690a(0x1c1)](randomUUID);let _0x154e00=![];_0x293cc2[_0x29690a(0x1ab)](setTimeout,()=>{const _0x546e4d=_0x29690a;!_0x154e00&&_0x2b1b86[_0x546e4d(0x1b3)](_0xff48b,_0x2b1b86[_0x546e4d(0x192)]);},0x1388),userDetailHandlers[_0x29690a(0x1a9)](_0x560779,_0x5465a7=>{const _0x279454=_0x29690a;_0x2b1b86['xhIRp'](_0x5465a7[_0x279454(0x1a2)],_0x18ec06)&&(_0x154e00=!![],userDetailHandlers[_0x279454(0x19f)](_0x560779),_0x2b1b86[_0x279454(0x1b3)](_0x1a4200,_0x5465a7));}),_0x1d18a7['getUserDetailInfoWithBizInfo'](_0x18ec06,[0x0])[_0x29690a(0x186)](_0x17aab7=>{});});}static async['getPSkey'](_0x3a46c0,_0x2115e7=!![]){const _0x3540e5=_0x4a86f1,_0x3e48d2={'jQliS':function(_0x5dccf4,_0x4a9cde){return _0x5dccf4>_0x4a9cde;},'hpHDZ':function(_0x3f28a2,_0x421c50){return _0x3f28a2-_0x421c50;},'cnQvU':function(_0x48f212,_0x198f8f){return _0x48f212===_0x198f8f;},'KMUdw':function(_0x121738,_0x5a1ce7,_0x44630e){return _0x121738(_0x5a1ce7,_0x44630e);},'FLKEN':_0x3540e5(0x183)};let _0x2755ad=[],_0x29f2d6={};for(let _0x2ca3ca in _0x3a46c0){let _0x4fbcf7=Credentials['PskeyData'][_0x3540e5(0x1ae)](_0x3a46c0[_0x2ca3ca]),_0x406e47=Credentials[_0x3540e5(0x1a1)]['get'](_0x3a46c0[_0x2ca3ca]);!_0x4fbcf7||!_0x406e47||_0x3e48d2[_0x3540e5(0x1a0)](_0x3e48d2[_0x3540e5(0x19d)](Date[_0x3540e5(0x1b8)](),_0x406e47),0x708*0x3e8)||!_0x2115e7?_0x2755ad[_0x3540e5(0x19b)](_0x3a46c0[_0x2ca3ca]):_0x29f2d6[_0x3a46c0[_0x2ca3ca]]=_0x4fbcf7;}let _0x14d62f={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3e48d2['jQliS'](_0x2755ad['length'],0x0)&&(_0x14d62f=await napCatCore['session'][_0x3540e5(0x184)]()['getPskey'](_0x2755ad,!![]));let _0x138fc8=_0x14d62f['domainPskeyMap'];for(let _0x324807 of _0x138fc8[_0x3540e5(0x19c)]()){Credentials[_0x3540e5(0x1b9)][_0x3540e5(0x1a9)](_0x324807[0x0],_0x324807[0x1]),Credentials['PskeyTime'][_0x3540e5(0x1a9)](_0x324807[0x0],Date[_0x3540e5(0x1b8)]());}let _0x15bdbe=Object[_0x3540e5(0x1af)](Object[_0x3540e5(0x1b2)](_0x138fc8),_0x29f2d6);if(_0x3e48d2[_0x3540e5(0x18a)](_0x14d62f['result'],0x0))return _0x15bdbe;else _0x3e48d2['KMUdw'](logError,_0x3e48d2[_0x3540e5(0x180)],_0x14d62f[_0x3540e5(0x1be)]);return{};}static async[_0x4a86f1(0x17b)](){const _0x3ec935=_0x4a86f1,_0x546d3d=await napCatCore[_0x3ec935(0x18d)]['getRobotService']()[_0x3ec935(0x17b)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x546d3d?.['response']?.[_0x3ec935(0x1ba)];}static async[_0x4a86f1(0x1ac)](_0x4dc4ec=!![]){const _0x3533ef=_0x4a86f1,_0x50d351={'jBxsc':function(_0x265ceb,_0x1bd0ce){return _0x265ceb==_0x1bd0ce;},'FGIzw':function(_0x1cf89f,_0x1def26){return _0x1cf89f>_0x1def26;},'GIRXX':function(_0x19b145,_0x32e470){return _0x19b145-_0x32e470;},'IzLfG':function(_0x53c70d,_0x500fe4){return _0x53c70d*_0x500fe4;},'zMdQy':function(_0x40b81f,_0x1f6544){return _0x40b81f!==_0x1f6544;},'eGHut':function(_0x4ab1a9,_0x9c1bc5){return _0x4ab1a9+_0x9c1bc5;},'NxHAO':function(_0x507100,_0x85c260){return _0x507100+_0x85c260;},'efIEA':function(_0x1c1cc6,_0x47ac0b){return _0x1c1cc6+_0x47ac0b;},'opWfK':_0x3533ef(0x1a3),'PAUTb':function(_0x5b97d1,_0x39d155){return _0x5b97d1(_0x39d155);},'XLgIh':_0x3533ef(0x17c)};try{if(_0x50d351[_0x3533ef(0x17f)](Credentials[_0x3533ef(0x1ad)],0x0)||_0x50d351[_0x3533ef(0x197)](_0x50d351['GIRXX'](Date['now'](),Credentials[_0x3533ef(0x1ad)]),_0x50d351['IzLfG'](0x3e8,0xe10))||!_0x4dc4ec){const _0x5d2598=await napCatCore[_0x3533ef(0x18d)]['getTicketService']()[_0x3533ef(0x17e)]('');if(_0x50d351[_0x3533ef(0x188)](_0x5d2598[_0x3533ef(0x1b5)],0x0))return'';const _0x3b41d0=_0x5d2598[_0x3533ef(0x194)],_0x2a1eb5=_0x5d2598[_0x3533ef(0x1aa)],_0x4adf7d=_0x50d351[_0x3533ef(0x1b6)](_0x50d351[_0x3533ef(0x1b4)](_0x50d351[_0x3533ef(0x1b4)](_0x50d351['efIEA'](_0x50d351[_0x3533ef(0x1b6)](_0x3533ef(0x181),selfInfo[_0x3533ef(0x190)]),_0x3533ef(0x199)),_0x3b41d0),_0x50d351[_0x3533ef(0x187)]),_0x2a1eb5),_0x4265d3=await _0x50d351[_0x3533ef(0x198)](HttpGetCookies,_0x4adf7d),_0x49c996=_0x4265d3[_0x3533ef(0x1ae)](_0x50d351[_0x3533ef(0x1a7)]);if(!_0x49c996)return'';return Credentials['CreatTime']=Date['now'](),Credentials[_0x3533ef(0x1bc)]=_0x49c996,_0x49c996;}return Credentials[_0x3533ef(0x1bc)];}catch(_0x298884){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index be3d5a75..192661af 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x4406ad=_0x59b0;function _0x59b0(_0x5786c9,_0x5699f8){const _0x4fad06=_0x4fad();return _0x59b0=function(_0x59b0e1,_0x54a867){_0x59b0e1=_0x59b0e1-0x141;let _0x62a56f=_0x4fad06[_0x59b0e1];return _0x62a56f;},_0x59b0(_0x5786c9,_0x5699f8);}(function(_0x54fd37,_0x26da8c){const _0x42d88e=_0x59b0,_0x141fb8=_0x54fd37();while(!![]){try{const _0x562c31=parseInt(_0x42d88e(0x158))/0x1*(parseInt(_0x42d88e(0x18b))/0x2)+-parseInt(_0x42d88e(0x19d))/0x3*(-parseInt(_0x42d88e(0x178))/0x4)+-parseInt(_0x42d88e(0x153))/0x5+-parseInt(_0x42d88e(0x145))/0x6+-parseInt(_0x42d88e(0x163))/0x7*(parseInt(_0x42d88e(0x18e))/0x8)+parseInt(_0x42d88e(0x1a2))/0x9*(-parseInt(_0x42d88e(0x1ab))/0xa)+-parseInt(_0x42d88e(0x14e))/0xb*(-parseInt(_0x42d88e(0x195))/0xc);if(_0x562c31===_0x26da8c)break;else _0x141fb8['push'](_0x141fb8['shift']());}catch(_0x27fb8a){_0x141fb8['push'](_0x141fb8['shift']());}}}(_0x4fad,0xd9069));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x4fad(){const _0x132b19=['KpJJz','errcode','getGroupEssenceMsg','&text=','xFMmm','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','10KGtgFr','QUzXy','toString','Isavq','yoPow','AXBGK','&end=','giDvR','&page_start=','eMzMb','uin','xRWod','getGrouptNotice','length','webapi\x20获取群成员','WtMQe','OcOFv','qEbkw','Wjpfg','count','VjPSP','8983038ISOxcq','Xrxux','GET','retcode','TQPYX','LwCtx','getPSkey','GroupTime','bcNfC','9367259nVAWoo','CHWVU','xNGDp','ZFpMS','zRyxB','880200NNAugH','QfWkD','BMTTZ','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','MwlMU','1328099IFpshi','EPenr','XhEHn','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','set','vXTgj','setGroupNotice',';\x20uin=o','xkmaU','KrCsx','&page_limit=20','21427aKSBUZ','ZDupZ','zqJWp','VSvlF','lYYVA','ZPXXP','VNXKx','FRCOw','getGroupMembers','aXRfH','&qid=','Bxqsr','VlXcl','ZyNPJ','rhFJv','kzuKm','&sort=1&gc=','getSkey','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','bNoFd','880340OturOs','push','qun.qq.com','gAcQG','EdApm','HEAD','nwzxR','dkElw','FWIOZ','p_skey=','httpDataJson','yrnjg','iXaFA','rjGHL','OaVon','genBkn',';\x20skey=','charCodeAt','yGBPk','2NMiBID','lHJRl','&group_code=','1016ajNZVp','POST','hpCJO','cAIcy','GroupData','ndhSK','sHlHi','36lcIbJs','get','&bkn=','rKdZe','tQJTN','mems','text',';\x20p_uin=o','6BamnRi','iynAC','tIdYG','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','now','12348711CwhYIn','gpIWi','XKzCe'];_0x4fad=function(){return _0x132b19;};return _0x4fad();}import{NTQQUserApi}from'./user';export class WebApi{static async[_0x4406ad(0x1a7)](_0x241a08,_0x2c5913){const _0x2119c1=_0x4406ad,_0x4a844d={'lYYVA':'qun.qq.com','xFMmm':function(_0x4a8ba9,_0x237897){return _0x4a8ba9+_0x237897;},'JinSF':function(_0x392c44,_0x496fe8){return _0x392c44+_0x496fe8;},'tQJTN':function(_0x21b84c,_0x570174){return _0x21b84c+_0x570174;},'etjhC':function(_0x4f14b3,_0x49893b){return _0x4f14b3+_0x49893b;},'OaVon':function(_0xed8ebb,_0x352ca6){return _0xed8ebb+_0x352ca6;},'zRyxB':function(_0x4bee43,_0x21f2d1){return _0x4bee43+_0x21f2d1;},'zqJWp':function(_0x37d816,_0x2fb359){return _0x37d816+_0x2fb359;},'Wjpfg':_0x2119c1(0x181),'ohevL':_0x2119c1(0x188),'bNoFd':_0x2119c1(0x15f),'rKdZe':function(_0x1d7dec,_0x460438){return _0x1d7dec||_0x460438;},'yrnjg':function(_0x3430ac,_0x1f2c31){return _0x3430ac+_0x1f2c31;},'XKzCe':function(_0x58181f,_0xf8ed1d){return _0x58181f+_0xf8ed1d;},'OZNBe':function(_0x5dac7f,_0x5ddfb2){return _0x5dac7f+_0x5ddfb2;},'QfWkD':function(_0x512c6d,_0x50bcd4){return _0x512c6d+_0x50bcd4;},'rjGHL':_0x2119c1(0x175),'cAIcy':_0x2119c1(0x18d),'sHlHi':_0x2119c1(0x1b3),'nwzxR':_0x2119c1(0x162),'FWIOZ':_0x2119c1(0x147),'FRCOw':function(_0x3d78c0,_0x38e577){return _0x3d78c0!==_0x38e577;}},_0x44a153=(await NTQQUserApi[_0x2119c1(0x14b)]([_0x4a844d[_0x2119c1(0x167)]]))[_0x4a844d[_0x2119c1(0x167)]],_0x31fd4d=await NTQQUserApi['getSkey'](),_0x32d961=_0x4a844d[_0x2119c1(0x1a9)](_0x4a844d['JinSF'](_0x4a844d[_0x2119c1(0x199)](_0x4a844d['etjhC'](_0x4a844d[_0x2119c1(0x186)](_0x4a844d[_0x2119c1(0x152)](_0x4a844d[_0x2119c1(0x165)](_0x4a844d[_0x2119c1(0x142)],_0x44a153),_0x4a844d['ohevL']),_0x31fd4d),_0x2119c1(0x19c)),selfInfo[_0x2119c1(0x1b5)]),_0x4a844d[_0x2119c1(0x177)]),selfInfo[_0x2119c1(0x1b5)]);if(_0x4a844d[_0x2119c1(0x198)](!_0x31fd4d,!_0x44a153))return undefined;const _0x252525=WebApi['genBkn'](_0x31fd4d),_0x15a41f=_0x4a844d['OaVon'](_0x4a844d[_0x2119c1(0x183)](_0x4a844d[_0x2119c1(0x1a4)](_0x4a844d['OZNBe'](_0x4a844d[_0x2119c1(0x154)](_0x4a844d[_0x2119c1(0x185)],_0x252525)+_0x4a844d[_0x2119c1(0x191)],_0x241a08),_0x4a844d[_0x2119c1(0x194)]),_0x2c5913),_0x4a844d[_0x2119c1(0x17e)]),_0x4b5617=await WebApi[_0x2119c1(0x182)](_0x15a41f,_0x4a844d[_0x2119c1(0x180)],'',_0x32d961);if(_0x4a844d[_0x2119c1(0x16a)](_0x4b5617[_0x2119c1(0x148)],0x0))return undefined;return _0x4b5617;}static async[_0x4406ad(0x16b)](_0x312865,_0x2678c9=!![]){const _0x263b14=_0x4406ad,_0x422bbb={'lLBwG':function(_0x232c4a,_0x409024,_0x18180c){return _0x232c4a(_0x409024,_0x18180c);},'EPenr':function(_0x8a2498,_0x373671){return _0x8a2498>_0x373671;},'giDvR':function(_0x145955,_0x52a760){return _0x145955-_0x52a760;},'VlXcl':function(_0xa29b2a,_0x2a8166){return _0xa29b2a*_0x2a8166;},'rhFJv':_0x263b14(0x17a),'Isavq':function(_0x5b09a0,_0x2ab1de){return _0x5b09a0+_0x2ab1de;},'iynAC':function(_0x2eba53,_0x2d11d3){return _0x2eba53+_0x2d11d3;},'yGBPk':_0x263b14(0x181),'FRKFy':_0x263b14(0x188),'hpCJO':_0x263b14(0x19c),'ZyNPJ':function(_0x2c81ff,_0x40481f){return _0x2c81ff||_0x40481f;},'TQPYX':function(_0xbc7f5,_0xba1027){return _0xbc7f5+_0xba1027;},'MwlMU':_0x263b14(0x15b),'lHJRl':_0x263b14(0x197),'IsyRZ':_0x263b14(0x18f),'XjjEI':function(_0x1977cc,_0xdf7ab3){return _0x1977cc!==_0xdf7ab3;},'UDXeZ':function(_0x3deaf0,_0x106085){return _0x3deaf0<=_0x106085;},'WtMQe':function(_0x5150b6,_0xbafb17){return _0x5150b6+_0xbafb17;},'xRWod':function(_0xc39721,_0x5d3a74){return _0xc39721+_0x5d3a74;},'AXBGK':_0x263b14(0x156),'xuRif':_0x263b14(0x1b1),'ZDupZ':_0x263b14(0x173)};_0x422bbb['lLBwG'](logDebug,_0x263b14(0x1b9),_0x312865);let _0x4567e5=WebGroupData[_0x263b14(0x192)][_0x263b14(0x196)](_0x312865),_0x3f88ea=WebGroupData['GroupTime']['get'](_0x312865),_0x2f0f2c=new Array();if(!_0x3f88ea||_0x422bbb[_0x263b14(0x159)](_0x422bbb[_0x263b14(0x1b2)](Date[_0x263b14(0x1a1)](),_0x3f88ea),_0x422bbb[_0x263b14(0x16f)](0x708,0x3e8))||!_0x2678c9){const _0x390b5c=(await NTQQUserApi['getPSkey']([_0x422bbb['rhFJv']]))[_0x422bbb[_0x263b14(0x171)]],_0x463e28=await NTQQUserApi[_0x263b14(0x174)](),_0x56d23e=_0x422bbb[_0x263b14(0x1ae)](_0x422bbb['Isavq'](_0x422bbb[_0x263b14(0x19e)](_0x422bbb[_0x263b14(0x19e)](_0x422bbb[_0x263b14(0x18a)]+_0x390b5c,_0x422bbb['FRKFy']),_0x463e28),_0x422bbb[_0x263b14(0x190)]),selfInfo[_0x263b14(0x1b5)]);if(_0x422bbb[_0x263b14(0x170)](!_0x463e28,!_0x390b5c))return _0x2f0f2c;const _0x35b51e=WebApi[_0x263b14(0x187)](_0x463e28),_0x5540a3=[],_0x175562=await WebApi['httpDataJson'](_0x422bbb[_0x263b14(0x19e)](_0x422bbb[_0x263b14(0x149)](_0x422bbb[_0x263b14(0x19e)](_0x422bbb[_0x263b14(0x157)],_0x312865),_0x422bbb[_0x263b14(0x18c)]),_0x35b51e),_0x422bbb['IsyRZ'],'',_0x56d23e);if(!_0x175562?.[_0x263b14(0x143)]||_0x422bbb['XjjEI'](_0x175562?.['errcode'],0x0)||!_0x175562?.[_0x263b14(0x19a)])return[];else for(const _0x59d847 in _0x175562[_0x263b14(0x19a)]){_0x2f0f2c['push'](_0x175562[_0x263b14(0x19a)][_0x59d847]);}const _0x1ad724=Math['ceil'](_0x175562['count']/0x28);for(let _0xd224c5=0x2;_0x422bbb['UDXeZ'](_0xd224c5,_0x1ad724);_0xd224c5++){const _0x208de7=WebApi[_0x263b14(0x182)](_0x422bbb[_0x263b14(0x1ba)](_0x422bbb[_0x263b14(0x1b6)](_0x422bbb[_0x263b14(0x149)](_0x422bbb['Isavq'](_0x422bbb[_0x263b14(0x1b6)](_0x422bbb[_0x263b14(0x19e)](_0x422bbb[_0x263b14(0x1b0)],(_0xd224c5-0x1)*0x28)+_0x422bbb['xuRif'],_0xd224c5*0x28),_0x422bbb[_0x263b14(0x164)]),_0x312865),_0x422bbb['lHJRl']),_0x35b51e),'POST','',_0x56d23e);_0x5540a3[_0x263b14(0x179)](_0x208de7);}for(let _0x5ab16c=0x1;_0x5ab16c<=_0x1ad724;_0x5ab16c++){const _0x4e2557=await _0x5540a3[_0x5ab16c];if(!_0x4e2557?.[_0x263b14(0x143)]||_0x4e2557?.[_0x263b14(0x1a6)]!==0x0||!_0x4e2557?.[_0x263b14(0x19a)])continue;for(const _0x347005 in _0x4e2557[_0x263b14(0x19a)]){_0x2f0f2c[_0x263b14(0x179)](_0x4e2557[_0x263b14(0x19a)][_0x347005]);}}WebGroupData[_0x263b14(0x192)][_0x263b14(0x15c)](_0x312865,_0x2f0f2c),WebGroupData[_0x263b14(0x14c)][_0x263b14(0x15c)](_0x312865,Date[_0x263b14(0x1a1)]());}else _0x2f0f2c=_0x4567e5;return _0x2f0f2c;}static async[_0x4406ad(0x15e)](_0x270248,_0xfa391b=''){const _0x4a447e=_0x4406ad,_0x434d48={'OcOFv':_0x4a447e(0x17a),'QUzXy':function(_0x11114c,_0x4a4ad2){return _0x11114c+_0x4a4ad2;},'kzuKm':_0x4a447e(0x181),'bhQpt':';\x20skey=','CHWVU':_0x4a447e(0x19c),'yOKAT':function(_0x2901d0,_0x3981f8){return _0x2901d0||_0x3981f8;},'xkmaU':function(_0xcecf23,_0x4a96b6){return _0xcecf23+_0x4a96b6;},'dkElw':function(_0x55abd7,_0xd13de0){return _0x55abd7+_0xd13de0;},'iXaFA':'qid=','VSvlF':_0x4a447e(0x1a8),'aXRfH':_0x4a447e(0x176),'Xrxux':_0x4a447e(0x147)},_0x57da20=(await NTQQUserApi[_0x4a447e(0x14b)]([_0x434d48[_0x4a447e(0x1bb)]]))[_0x434d48[_0x4a447e(0x1bb)]],_0x2e1800=await NTQQUserApi[_0x4a447e(0x174)](),_0x58bb16=_0x434d48[_0x4a447e(0x1ac)](_0x434d48[_0x4a447e(0x1ac)](_0x434d48[_0x4a447e(0x172)]+_0x57da20,_0x434d48['bhQpt'])+_0x2e1800,_0x434d48[_0x4a447e(0x14f)])+selfInfo['uin'];let _0x373e7d=undefined;if(_0x434d48['yOKAT'](!_0x2e1800,!_0x57da20))return undefined;const _0x4b4c41=WebApi['genBkn'](_0x2e1800),_0x3738b9=_0x434d48[_0x4a447e(0x160)](_0x434d48[_0x4a447e(0x160)](_0x434d48[_0x4a447e(0x17f)](_0x434d48['QUzXy'](_0x434d48[_0x4a447e(0x184)]+_0x270248,_0x4a447e(0x197))+_0x4b4c41,_0x434d48[_0x4a447e(0x166)]),_0xfa391b),_0x4a447e(0x1aa)),_0x168f41=_0x434d48['dkElw'](_0x434d48[_0x4a447e(0x16c)],_0x4b4c41);try{return _0x373e7d=await WebApi[_0x4a447e(0x182)](_0x168f41,_0x434d48[_0x4a447e(0x146)],'',_0x58bb16),_0x373e7d;}catch(_0x525645){return undefined;}return undefined;}static async[_0x4406ad(0x1b7)](_0x1a4fb8){const _0x20df04=_0x4406ad,_0xc4bf8e={'xNGDp':_0x20df04(0x17a),'FiGfG':function(_0x2e2bed,_0x1aee31){return _0x2e2bed+_0x1aee31;},'vXTgj':function(_0x5538d3,_0x2904d8){return _0x5538d3+_0x2904d8;},'EdApm':function(_0x306719,_0x5b279c){return _0x306719+_0x5b279c;},'yoPow':_0x20df04(0x181),'KrCsx':_0x20df04(0x188),'VjPSP':';\x20p_uin=o','ZFpMS':function(_0x18d66a,_0x19306f){return _0x18d66a+_0x19306f;},'ndhSK':function(_0x3023fd,_0x3993bd){return _0x3023fd+_0x3993bd;},'gpIWi':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','eMzMb':_0x20df04(0x16d),'bcNfC':_0x20df04(0x147)},_0x32e142=(await NTQQUserApi[_0x20df04(0x14b)]([_0xc4bf8e[_0x20df04(0x150)]]))['qun.qq.com'],_0x369850=await NTQQUserApi['getSkey'](),_0x1ddeeb=_0xc4bf8e['FiGfG'](_0xc4bf8e['vXTgj'](_0xc4bf8e[_0x20df04(0x15d)](_0xc4bf8e[_0x20df04(0x17c)](_0xc4bf8e[_0x20df04(0x1af)],_0x32e142)+_0xc4bf8e[_0x20df04(0x161)],_0x369850),_0xc4bf8e[_0x20df04(0x144)]),selfInfo[_0x20df04(0x1b5)]);let _0x47a801=undefined;if(!_0x369850||!_0x32e142)return undefined;const _0x1e5161=WebApi['genBkn'](_0x369850),_0x3a3866=_0xc4bf8e[_0x20df04(0x151)](_0xc4bf8e[_0x20df04(0x17c)](_0xc4bf8e[_0x20df04(0x193)](_0xc4bf8e[_0x20df04(0x1a3)]+_0x1e5161,_0xc4bf8e[_0x20df04(0x1b4)]),_0x1a4fb8),_0x20df04(0x1a0));try{_0x47a801=await WebApi['httpDataJson'](_0x3a3866,_0xc4bf8e[_0x20df04(0x14d)],'',_0x1ddeeb);if(_0x47a801?.['ec']!==0x0)return undefined;return _0x47a801;}catch(_0x165544){return undefined;}return undefined;}static async['httpDataText'](_0x5535ce='',_0x285723=_0x4406ad(0x147),_0xcd8338='',_0x4e2878=''){const _0x2a6008=_0x4406ad,_0x5b1254={'aHKmj':function(_0x31f920,_0x38c3bd){return _0x31f920===_0x38c3bd;},'qEbkw':'GET','LLTQI':function(_0x3e23c5,_0xd0161e){return _0x3e23c5===_0xd0161e;},'UMmkb':_0x2a6008(0x17d),'BMTTZ':function(_0x106907,_0x55492c,_0x36bbb6){return _0x106907(_0x55492c,_0x36bbb6);},'Bxqsr':function(_0x249ef8,_0x38ec2f,_0x415ec1){return _0x249ef8(_0x38ec2f,_0x415ec1);},'VNXKx':'application/x-www-form-urlencoded','QGtev':function(_0x37c0b1,_0x41433b){return _0x37c0b1(_0x41433b);}};let _0x1a6ad2='';return new Promise(async(_0x2b18ad,_0x497462)=>{const _0x166a61=_0x2a6008;try{let _0xfa56a3=undefined;_0x5b1254['aHKmj'](_0x285723,_0x5b1254[_0x166a61(0x141)])||_0x5b1254['LLTQI'](_0x285723,_0x5b1254['UMmkb'])?_0xfa56a3=await _0x5b1254[_0x166a61(0x155)](fetch,_0x5535ce,{'method':_0x285723,'headers':{'Content-Type':'application/x-www-form-urlencoded','Cookie':_0x4e2878}}):_0xfa56a3=await _0x5b1254[_0x166a61(0x16e)](fetch,_0x5535ce,{'method':_0x285723,'headers':{'Content-Type':_0x5b1254[_0x166a61(0x169)],'Cookie':_0x4e2878},'body':_0xcd8338});if(_0xfa56a3['ok'])_0x1a6ad2=await _0xfa56a3[_0x166a61(0x19b)]();else{}}catch(_0x2fc203){}_0x5b1254['QGtev'](_0x2b18ad,_0x1a6ad2);});}static async[_0x4406ad(0x182)](_0x231ba9='',_0x477fef=_0x4406ad(0x147),_0x589bff='',_0x572f10=''){const _0xa7d42e=_0x4406ad,_0x5d89cb={'nHyGZ':function(_0x4bb634,_0xdfd02){return _0x4bb634===_0xdfd02;},'gAcQG':_0xa7d42e(0x147),'ZCiWP':function(_0x530fc0,_0x110338,_0x1392af){return _0x530fc0(_0x110338,_0x1392af);},'KpJJz':'application/x-www-form-urlencoded','XhEHn':function(_0x32c8a5,_0x318361){return _0x32c8a5(_0x318361);}};let _0x419748=undefined;return new Promise(async(_0x1a11f4,_0x4e623a)=>{const _0x4066e9=_0xa7d42e;try{let _0x3607cb=undefined;_0x5d89cb['nHyGZ'](_0x477fef,_0x5d89cb[_0x4066e9(0x17b)])||_0x5d89cb['nHyGZ'](_0x477fef,_0x4066e9(0x17d))?_0x3607cb=await _0x5d89cb['ZCiWP'](fetch,_0x231ba9,{'method':_0x477fef,'headers':{'Content-Type':_0x5d89cb['KpJJz'],'Cookie':_0x572f10}}):_0x3607cb=await fetch(_0x231ba9,{'method':_0x477fef,'headers':{'Content-Type':_0x5d89cb[_0x4066e9(0x1a5)],'Cookie':_0x572f10},'body':_0x589bff});if(_0x3607cb['ok'])_0x419748=await _0x3607cb['json']();else{}}catch(_0x4c3c91){}_0x5d89cb[_0x4066e9(0x15a)](_0x1a11f4,_0x419748);});}static[_0x4406ad(0x187)](_0x3ef1b4){const _0x533d64=_0x4406ad,_0x8b292b={'ZPXXP':function(_0x379935,_0x190a66){return _0x379935||_0x190a66;},'jqIgF':function(_0x2e20d8,_0x2f92c2){return _0x2e20d8<_0x2f92c2;},'LwCtx':function(_0x4a3af8,_0xc5d7eb){return _0x4a3af8+_0xc5d7eb;},'tIdYG':function(_0x218625,_0x973c43){return _0x218625<<_0x973c43;},'aHekv':function(_0x299bd3,_0x6d01b9){return _0x299bd3&_0x6d01b9;}};_0x3ef1b4=_0x8b292b[_0x533d64(0x168)](_0x3ef1b4,'');let _0x3f9c49=0x1505;for(let _0x1fcd9a=0x0;_0x8b292b['jqIgF'](_0x1fcd9a,_0x3ef1b4[_0x533d64(0x1b8)]);_0x1fcd9a++){const _0x1b72b2=_0x3ef1b4[_0x533d64(0x189)](_0x1fcd9a);_0x3f9c49=_0x8b292b['LwCtx'](_0x8b292b[_0x533d64(0x14a)](_0x3f9c49,_0x8b292b[_0x533d64(0x19f)](_0x3f9c49,0x5)),_0x1b72b2);}return _0x8b292b['aHekv'](_0x3f9c49,0x7fffffff)[_0x533d64(0x1ad)]();}} \ No newline at end of file +const _0x4bdccc=_0x42b4;function _0x11d1(){const _0x2056b9=['&bkn=','CwFhU','bnlFR','10bCPDOc','MCIQI','UVCid','sHcoL','zxAoR','text','xJLzn','hyrls','ceil','CRCIB','3800748YpvKPt','set','biYOA','httpDataText','spyxL','wWCyI','pcUQf','getGroupEssenceMsg','SMCTp','ETEri','dIRjz','getPSkey','ekyTr','VVtSp','90TiBuxj','errcode','setGroupNotice','dDYYN','push','EOlBi','sTnNR','GroupTime','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','&group_code=','BBUMB','yLrzX','RJeJt','164257nYRQfO','ldflU','NoUWS','ySrUA','wrTDC','p_skey=','ImmEp','45rQXTDH','mems','orPtz','&text=','NLoCL','tddav','jFYKH','OxpEz','application/x-www-form-urlencoded','qun.qq.com','now','pBAYE','&page_start=','DYMdk','YfcdE','83238TvKtKD','EaaIv','toString','2292858OmeBTI','&end=','kEeNJ','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','OSnQr','FKiLI','uin','ZuZfs','genBkn','ENggc','fnWjK','Lbavn','HSzOv','MbkUk','WTVvL','10sDzdFN','yrNuU','MryQB','HBgkh','webapi\x20获取群成员','aeOgD','httpDataJson','tiTOX','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','eCabL','LMjjm','retcode','wNCjl','HKEwD','JwMxG','uGnNL','POST','GET','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','getSkey','TyVub',';\x20p_uin=o','156472mAcwcl','HEAD','&qid=','qOvkL','count','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','581qgNoXc','biwwH','pXJqT','1495056GNTaSh','csBhi','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ugLgh','DNUZp','YPJwL','GroupData','zjNaY','TFXtZ','vIitj','1943931pQZjxv','Efoqv',';\x20skey=','Slcdd'];_0x11d1=function(){return _0x2056b9;};return _0x11d1();}(function(_0x213d6d,_0x438552){const _0xc180da=_0x42b4,_0x3fc491=_0x213d6d();while(!![]){try{const _0x594611=parseInt(_0xc180da(0x1ac))/0x1*(parseInt(_0xc180da(0x187))/0x2)+parseInt(_0xc180da(0x1c5))/0x3+parseInt(_0xc180da(0x16d))/0x4*(parseInt(_0xc180da(0x1d4))/0x5)+parseInt(_0xc180da(0x1c2))/0x6*(-parseInt(_0xc180da(0x173))/0x7)+parseInt(_0xc180da(0x176))/0x8*(-parseInt(_0xc180da(0x1b3))/0x9)+-parseInt(_0xc180da(0x19f))/0xa*(-parseInt(_0xc180da(0x180))/0xb)+-parseInt(_0xc180da(0x191))/0xc;if(_0x594611===_0x438552)break;else _0x3fc491['push'](_0x3fc491['shift']());}catch(_0x56fd69){_0x3fc491['push'](_0x3fc491['shift']());}}}(_0x11d1,0xcfef2));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x42b4(_0x477a7c,_0x5d47b0){const _0x11d19c=_0x11d1();return _0x42b4=function(_0x42b481,_0xddbd62){_0x42b481=_0x42b481-0x168;let _0x1ea50a=_0x11d19c[_0x42b481];return _0x1ea50a;},_0x42b4(_0x477a7c,_0x5d47b0);}import{NTQQUserApi}from'./user';export class WebApi{static async[_0x4bdccc(0x198)](_0x4b1033,_0x112fc2){const _0x45cb36=_0x4bdccc,_0x123fa1={'CRCIB':_0x45cb36(0x1bc),'ZuZfs':function(_0xba894e,_0x5ea880){return _0xba894e+_0x5ea880;},'HBgkh':function(_0x402086,_0x1722f9){return _0x402086+_0x1722f9;},'biwwH':_0x45cb36(0x1b1),'dDYYN':_0x45cb36(0x182),'pBAYE':_0x45cb36(0x16c),'RJeJt':';\x20uin=o','Efoqv':function(_0x2f7b62,_0x5ccfc0){return _0x2f7b62||_0x5ccfc0;},'xJLzn':function(_0x57927c,_0x296672){return _0x57927c+_0x296672;},'sTnNR':_0x45cb36(0x1a8),'MryQB':_0x45cb36(0x1bf),'orPtz':'&page_limit=20','KRhxc':_0x45cb36(0x168),'CwFhU':function(_0x53dc61,_0x1e5900){return _0x53dc61!==_0x1e5900;}},_0x59eab5=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x123fa1[_0x45cb36(0x190)]],_0x23c764=await NTQQUserApi[_0x45cb36(0x16a)](),_0x413eb3=_0x123fa1[_0x45cb36(0x1cc)](_0x123fa1[_0x45cb36(0x1cc)](_0x123fa1[_0x45cb36(0x1d7)](_0x123fa1['HBgkh'](_0x123fa1[_0x45cb36(0x174)],_0x59eab5)+_0x123fa1[_0x45cb36(0x1a2)],_0x23c764),_0x123fa1[_0x45cb36(0x1be)])+selfInfo[_0x45cb36(0x1cb)],_0x123fa1[_0x45cb36(0x1ab)])+selfInfo[_0x45cb36(0x1cb)];if(_0x123fa1[_0x45cb36(0x181)](!_0x23c764,!_0x59eab5))return undefined;const _0x18a22f=WebApi['genBkn'](_0x23c764),_0x5d59ab=_0x123fa1[_0x45cb36(0x1d7)](_0x123fa1[_0x45cb36(0x1d7)](_0x123fa1[_0x45cb36(0x18d)](_0x123fa1['xJLzn'](_0x123fa1['HBgkh'](_0x45cb36(0x178),_0x18a22f)+_0x123fa1[_0x45cb36(0x1a5)],_0x4b1033),_0x123fa1[_0x45cb36(0x1d6)]),_0x112fc2),_0x123fa1[_0x45cb36(0x1b5)]),_0x441222=await WebApi['httpDataJson'](_0x5d59ab,_0x123fa1['KRhxc'],'',_0x413eb3);if(_0x123fa1[_0x45cb36(0x185)](_0x441222[_0x45cb36(0x1df)],0x0))return undefined;return _0x441222;}static async['getGroupMembers'](_0x35facf,_0x2ab8d4=!![]){const _0x3c7161=_0x4bdccc,_0x190ec5={'vZpLY':function(_0x25ea6d,_0x50ec8c,_0x349400){return _0x25ea6d(_0x50ec8c,_0x349400);},'MbkUk':function(_0x8783d,_0x2564da){return _0x8783d>_0x2564da;},'BBUMB':_0x3c7161(0x1bc),'kEeNJ':function(_0x31d9d5,_0x5dbbf9){return _0x31d9d5+_0x5dbbf9;},'YfcdE':function(_0x561dfd,_0x2588e5){return _0x561dfd+_0x2588e5;},'NLoCL':_0x3c7161(0x1b1),'DNUZp':_0x3c7161(0x182),'bnlFR':_0x3c7161(0x16c),'OSnQr':function(_0x2a610d,_0x3e7a2b){return _0x2a610d||_0x3e7a2b;},'Slcdd':_0x3c7161(0x169),'ekyTr':_0x3c7161(0x1e4),'TyVub':function(_0x965da4,_0xaf0c6f){return _0x965da4!==_0xaf0c6f;},'DYMdk':function(_0x101c1f,_0x11f474){return _0x101c1f/_0x11f474;},'SMCTp':function(_0x527b27,_0x37f757){return _0x527b27<=_0x37f757;},'ewwLn':function(_0x2d07bc,_0x390a80){return _0x2d07bc+_0x390a80;},'tbnvT':function(_0xace40e,_0x12625b){return _0xace40e+_0x12625b;},'HKEwD':function(_0x12ac00,_0x33a5ec){return _0x12ac00+_0x33a5ec;},'ImmEp':_0x3c7161(0x1a7),'LMjjm':function(_0x2440c6,_0x2df7b7){return _0x2440c6*_0x2df7b7;},'mFjDJ':function(_0x1d23b4,_0x18d4bc){return _0x1d23b4-_0x18d4bc;},'ENggc':'&sort=1&gc=','tddav':_0x3c7161(0x184),'uGnNL':function(_0x19a30e,_0x2dab7d){return _0x19a30e<=_0x2dab7d;},'OxpEz':function(_0x58eca2,_0x4860f3){return _0x58eca2!==_0x4860f3;}};_0x190ec5['vZpLY'](logDebug,_0x3c7161(0x1d8),_0x35facf);let _0x130e17=WebGroupData[_0x3c7161(0x17c)]['get'](_0x35facf),_0x2974f1=WebGroupData[_0x3c7161(0x1a6)]['get'](_0x35facf),_0x3edc40=new Array();if(!_0x2974f1||_0x190ec5[_0x3c7161(0x1d2)](Date['now']()-_0x2974f1,0x708*0x3e8)||!_0x2ab8d4){const _0x3cbdcc=(await NTQQUserApi[_0x3c7161(0x19c)]([_0x190ec5[_0x3c7161(0x1a9)]]))['qun.qq.com'],_0x2dffb0=await NTQQUserApi['getSkey'](),_0x172b7d=_0x190ec5[_0x3c7161(0x1c7)](_0x190ec5[_0x3c7161(0x1c1)](_0x190ec5[_0x3c7161(0x1b7)],_0x3cbdcc)+_0x190ec5[_0x3c7161(0x17a)]+_0x2dffb0+_0x190ec5[_0x3c7161(0x186)],selfInfo['uin']);if(_0x190ec5[_0x3c7161(0x1c9)](!_0x2dffb0,!_0x3cbdcc))return _0x3edc40;const _0x7aaa4d=WebApi[_0x3c7161(0x1cd)](_0x2dffb0),_0x38803d=[],_0x434f5e=await WebApi[_0x3c7161(0x1da)](_0x190ec5[_0x3c7161(0x1c7)](_0x190ec5[_0x3c7161(0x1c1)](_0x190ec5[_0x3c7161(0x183)],_0x35facf),_0x3c7161(0x184))+_0x7aaa4d,_0x190ec5[_0x3c7161(0x19d)],'',_0x172b7d);if(!_0x434f5e?.[_0x3c7161(0x171)]||_0x190ec5[_0x3c7161(0x16b)](_0x434f5e?.[_0x3c7161(0x1a0)],0x0)||!_0x434f5e?.[_0x3c7161(0x1b4)])return[];else for(const _0x1e3869 in _0x434f5e[_0x3c7161(0x1b4)]){_0x3edc40[_0x3c7161(0x1a3)](_0x434f5e[_0x3c7161(0x1b4)][_0x1e3869]);}const _0x1d7a2e=Math[_0x3c7161(0x18f)](_0x190ec5[_0x3c7161(0x1c0)](_0x434f5e[_0x3c7161(0x171)],0x28));for(let _0x3d6946=0x2;_0x190ec5[_0x3c7161(0x199)](_0x3d6946,_0x1d7a2e);_0x3d6946++){const _0x49071e=WebApi[_0x3c7161(0x1da)](_0x190ec5['ewwLn'](_0x190ec5['tbnvT'](_0x190ec5['tbnvT'](_0x190ec5[_0x3c7161(0x1e1)](_0x190ec5[_0x3c7161(0x1b2)],_0x190ec5['LMjjm'](_0x190ec5['mFjDJ'](_0x3d6946,0x1),0x28))+_0x3c7161(0x1c6)+_0x190ec5[_0x3c7161(0x1de)](_0x3d6946,0x28),_0x190ec5[_0x3c7161(0x1ce)])+_0x35facf,_0x190ec5[_0x3c7161(0x1b8)]),_0x7aaa4d),_0x190ec5['ekyTr'],'',_0x172b7d);_0x38803d[_0x3c7161(0x1a3)](_0x49071e);}for(let _0x3f8317=0x1;_0x190ec5[_0x3c7161(0x1e3)](_0x3f8317,_0x1d7a2e);_0x3f8317++){const _0x26e6db=await _0x38803d[_0x3f8317];if(!_0x26e6db?.[_0x3c7161(0x171)]||_0x190ec5[_0x3c7161(0x1ba)](_0x26e6db?.[_0x3c7161(0x1a0)],0x0)||!_0x26e6db?.['mems'])continue;for(const _0x421a50 in _0x26e6db[_0x3c7161(0x1b4)]){_0x3edc40[_0x3c7161(0x1a3)](_0x26e6db[_0x3c7161(0x1b4)][_0x421a50]);}}WebGroupData[_0x3c7161(0x17c)][_0x3c7161(0x192)](_0x35facf,_0x3edc40),WebGroupData['GroupTime'][_0x3c7161(0x192)](_0x35facf,Date[_0x3c7161(0x1bd)]());}else _0x3edc40=_0x130e17;return _0x3edc40;}static async[_0x4bdccc(0x1a1)](_0x5ed8d7,_0x2f8957=''){const _0x4d3aef=_0x4bdccc,_0x463325={'eCabL':_0x4d3aef(0x1bc),'vIitj':function(_0x176f31,_0x130a9c){return _0x176f31+_0x130a9c;},'jFYKH':function(_0x4ff79f,_0x5601c3){return _0x4ff79f+_0x5601c3;},'JwMxG':function(_0xce5952,_0x2fedcd){return _0xce5952+_0x2fedcd;},'XmKdJ':function(_0x770976,_0x5c4e14){return _0x770976+_0x5c4e14;},'wNCjl':_0x4d3aef(0x182),'zxAoR':function(_0x55c107,_0x36d382){return _0x55c107||_0x36d382;},'mqkCk':function(_0x5c8970,_0x4ca4cd){return _0x5c8970+_0x4ca4cd;},'wrTDC':function(_0x233469,_0x211e22){return _0x233469+_0x211e22;},'dIRjz':function(_0x2b3b55,_0x568893){return _0x2b3b55+_0x568893;},'hyrls':'qid=','aeOgD':_0x4d3aef(0x1b6),'tiTOX':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','WTVvL':_0x4d3aef(0x1dc),'MCIQI':_0x4d3aef(0x168)},_0x34f4bf=(await NTQQUserApi[_0x4d3aef(0x19c)]([_0x463325['eCabL']]))[_0x463325[_0x4d3aef(0x1dd)]],_0x30a105=await NTQQUserApi['getSkey'](),_0x410885=_0x463325[_0x4d3aef(0x17f)](_0x463325[_0x4d3aef(0x1b9)](_0x463325[_0x4d3aef(0x1e2)](_0x463325['XmKdJ'](_0x463325[_0x4d3aef(0x17f)](_0x4d3aef(0x1b1),_0x34f4bf),_0x463325[_0x4d3aef(0x1e0)]),_0x30a105),';\x20p_uin=o'),selfInfo[_0x4d3aef(0x1cb)]);let _0x40aaa2=undefined;if(_0x463325[_0x4d3aef(0x18b)](!_0x30a105,!_0x34f4bf))return undefined;const _0x5612fd=WebApi[_0x4d3aef(0x1cd)](_0x30a105),_0xe8a33d=_0x463325['mqkCk'](_0x463325[_0x4d3aef(0x1b0)](_0x463325[_0x4d3aef(0x19b)](_0x463325[_0x4d3aef(0x1b0)](_0x463325[_0x4d3aef(0x18e)],_0x5ed8d7)+_0x4d3aef(0x184),_0x5612fd)+_0x463325[_0x4d3aef(0x1d9)],_0x2f8957),_0x463325[_0x4d3aef(0x1db)]),_0xc9c91b=_0x463325[_0x4d3aef(0x1d3)]+_0x5612fd;try{return _0x40aaa2=await WebApi[_0x4d3aef(0x1da)](_0xc9c91b,_0x463325[_0x4d3aef(0x188)],'',_0x410885),_0x40aaa2;}catch(_0xd70462){return undefined;}return undefined;}static async['getGrouptNotice'](_0x11d401){const _0x2351d8=_0x4bdccc,_0x1fd761={'HSzOv':'qun.qq.com','fnWjK':function(_0x4dec1f,_0x504e5b){return _0x4dec1f+_0x504e5b;},'VVtSp':function(_0x22bf1e,_0x15662b){return _0x22bf1e+_0x15662b;},'FKiLI':function(_0x3dcb86,_0x3057a2){return _0x3dcb86+_0x3057a2;},'EOlBi':_0x2351d8(0x1b1),'roVvn':_0x2351d8(0x182),'YPJwL':';\x20p_uin=o','TFXtZ':function(_0x53ff58,_0x41009e){return _0x53ff58||_0x41009e;},'REsMf':function(_0x487e87,_0x4b7be8){return _0x487e87+_0x4b7be8;},'ETEri':function(_0x9f6633,_0x5e5286){return _0x9f6633+_0x5e5286;},'wvxLV':function(_0x2ca8f7,_0x3aba37){return _0x2ca8f7+_0x3aba37;},'Lbavn':function(_0x3935d3,_0x28f740){return _0x3935d3+_0x28f740;},'ySrUA':_0x2351d8(0x1c8),'imBBJ':_0x2351d8(0x16f),'csBhi':_0x2351d8(0x172),'vWBat':_0x2351d8(0x168),'ldflU':function(_0x1940b7,_0x16c398){return _0x1940b7!==_0x16c398;}},_0xc08f87=(await NTQQUserApi[_0x2351d8(0x19c)]([_0x1fd761[_0x2351d8(0x1d1)]]))[_0x1fd761['HSzOv']],_0x30ea97=await NTQQUserApi['getSkey'](),_0x1e91dd=_0x1fd761[_0x2351d8(0x1cf)](_0x1fd761[_0x2351d8(0x19e)](_0x1fd761[_0x2351d8(0x1ca)](_0x1fd761[_0x2351d8(0x1ca)](_0x1fd761['fnWjK'](_0x1fd761[_0x2351d8(0x1a4)],_0xc08f87),_0x1fd761['roVvn']),_0x30ea97),_0x1fd761[_0x2351d8(0x17b)]),selfInfo[_0x2351d8(0x1cb)]);let _0x956b65=undefined;if(_0x1fd761[_0x2351d8(0x17e)](!_0x30ea97,!_0xc08f87))return undefined;const _0x51fad6=WebApi[_0x2351d8(0x1cd)](_0x30ea97),_0x1a9798=_0x1fd761['REsMf'](_0x1fd761[_0x2351d8(0x19a)](_0x1fd761['wvxLV'](_0x1fd761[_0x2351d8(0x1d0)](_0x1fd761[_0x2351d8(0x1af)],_0x51fad6),_0x1fd761['imBBJ']),_0x11d401),_0x1fd761[_0x2351d8(0x177)]);try{_0x956b65=await WebApi[_0x2351d8(0x1da)](_0x1a9798,_0x1fd761['vWBat'],'',_0x1e91dd);if(_0x1fd761[_0x2351d8(0x1ad)](_0x956b65?.['ec'],0x0))return undefined;return _0x956b65;}catch(_0x263a51){return undefined;}return undefined;}static async[_0x4bdccc(0x194)](_0x1c6954='',_0xfda3a8=_0x4bdccc(0x168),_0x303f25='',_0x5e5528=''){const _0x21455f=_0x4bdccc,_0x361b82={'yLrzX':function(_0x4f2c50,_0x477c3a){return _0x4f2c50===_0x477c3a;},'qOvkL':_0x21455f(0x168),'pXJqT':_0x21455f(0x16e),'zjNaY':function(_0x5432ea,_0x5c93a1,_0x21faa8){return _0x5432ea(_0x5c93a1,_0x21faa8);},'UVCid':function(_0xab16de,_0x4f0f3a){return _0xab16de(_0x4f0f3a);}};let _0x133bf4='';return new Promise(async(_0x1e2a5c,_0x30ff9e)=>{const _0x4bd35f=_0x21455f;try{let _0x1ef9ae=undefined;_0x361b82[_0x4bd35f(0x1aa)](_0xfda3a8,_0x361b82[_0x4bd35f(0x170)])||_0x361b82[_0x4bd35f(0x1aa)](_0xfda3a8,_0x361b82[_0x4bd35f(0x175)])?_0x1ef9ae=await fetch(_0x1c6954,{'method':_0xfda3a8,'headers':{'Content-Type':_0x4bd35f(0x1bb),'Cookie':_0x5e5528}}):_0x1ef9ae=await _0x361b82[_0x4bd35f(0x17d)](fetch,_0x1c6954,{'method':_0xfda3a8,'headers':{'Content-Type':'application/x-www-form-urlencoded','Cookie':_0x5e5528},'body':_0x303f25});if(_0x1ef9ae['ok'])_0x133bf4=await _0x1ef9ae[_0x4bd35f(0x18c)]();else{}}catch(_0x3ce868){}_0x361b82[_0x4bd35f(0x189)](_0x1e2a5c,_0x133bf4);});}static async[_0x4bdccc(0x1da)](_0x961f70='',_0x2a5391=_0x4bdccc(0x168),_0x11621c='',_0x3979c9=''){const _0x49fd04=_0x4bdccc,_0x14f3be={'wWCyI':function(_0x448c84,_0x4a27b5){return _0x448c84===_0x4a27b5;},'spyxL':'GET','aZGCs':function(_0x90b23e,_0x455857){return _0x90b23e===_0x455857;},'zbhjs':'HEAD','sHcoL':function(_0x2889fd,_0x4378e2,_0x3f379d){return _0x2889fd(_0x4378e2,_0x3f379d);},'yrNuU':_0x49fd04(0x1bb),'NoUWS':function(_0x4d2348,_0x3c39ea){return _0x4d2348(_0x3c39ea);}};let _0x1b4d62=undefined;return new Promise(async(_0x57e6f2,_0x4687c9)=>{const _0x118fe5=_0x49fd04;try{let _0x3eeaa8=undefined;_0x14f3be[_0x118fe5(0x196)](_0x2a5391,_0x14f3be[_0x118fe5(0x195)])||_0x14f3be['aZGCs'](_0x2a5391,_0x14f3be['zbhjs'])?_0x3eeaa8=await _0x14f3be['sHcoL'](fetch,_0x961f70,{'method':_0x2a5391,'headers':{'Content-Type':_0x14f3be[_0x118fe5(0x1d5)],'Cookie':_0x3979c9}}):_0x3eeaa8=await _0x14f3be[_0x118fe5(0x18a)](fetch,_0x961f70,{'method':_0x2a5391,'headers':{'Content-Type':_0x118fe5(0x1bb),'Cookie':_0x3979c9},'body':_0x11621c});if(_0x3eeaa8['ok'])_0x1b4d62=await _0x3eeaa8['json']();else{}}catch(_0x424ecf){}_0x14f3be[_0x118fe5(0x1ae)](_0x57e6f2,_0x1b4d62);});}static[_0x4bdccc(0x1cd)](_0x42bfac){const _0x4594fa=_0x4bdccc,_0x3293db={'pcUQf':function(_0x15a3bf,_0x592d6d){return _0x15a3bf||_0x592d6d;},'EaaIv':function(_0x2bb9e0,_0x53f26a){return _0x2bb9e0+_0x53f26a;},'ugLgh':function(_0x591f0b,_0x3ba044){return _0x591f0b<<_0x3ba044;},'biYOA':function(_0x3e0c35,_0x4aa11a){return _0x3e0c35&_0x4aa11a;}};_0x42bfac=_0x3293db[_0x4594fa(0x197)](_0x42bfac,'');let _0x4c9611=0x1505;for(let _0x1ce44e=0x0;_0x1ce44e<_0x42bfac['length'];_0x1ce44e++){const _0x55d868=_0x42bfac['charCodeAt'](_0x1ce44e);_0x4c9611=_0x3293db[_0x4594fa(0x1c3)](_0x3293db[_0x4594fa(0x1c3)](_0x4c9611,_0x3293db[_0x4594fa(0x179)](_0x4c9611,0x5)),_0x55d868);}return _0x3293db[_0x4594fa(0x193)](_0x4c9611,0x7fffffff)[_0x4594fa(0x1c4)]();}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 0d711f97..3fa3a994 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x2930f8=_0x5120;(function(_0x21df00,_0x294af2){const _0x2271a8=_0x5120,_0xc040b7=_0x21df00();while(!![]){try{const _0x26ab71=-parseInt(_0x2271a8(0x219))/0x1+-parseInt(_0x2271a8(0x1fe))/0x2*(parseInt(_0x2271a8(0x206))/0x3)+parseInt(_0x2271a8(0x216))/0x4+parseInt(_0x2271a8(0x27a))/0x5*(-parseInt(_0x2271a8(0x283))/0x6)+-parseInt(_0x2271a8(0x200))/0x7+parseInt(_0x2271a8(0x21f))/0x8*(parseInt(_0x2271a8(0x224))/0x9)+parseInt(_0x2271a8(0x242))/0xa*(parseInt(_0x2271a8(0x223))/0xb);if(_0x26ab71===_0x294af2)break;else _0xc040b7['push'](_0xc040b7['shift']());}catch(_0x5ad278){_0xc040b7['push'](_0xc040b7['shift']());}}}(_0x5a4d,0x7cd39));import _0x14789d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3d3f31 from'node:path';import _0x361146 from'node:os';import _0x216566 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x5a4d(){const _0x345211=[')\x20在线状态变更','push','catch','initDataListener','getMsgByLongId','mkdirSync','ProfileListener','assign','1023052jxfIAs','md5','onSessionInitComplete','470070JEcvDg','HVBOn','YfSZL','getNTUserDataInfoConfig','addKernelBuddyListener','qrcodeUrl','8iuKRTr','then','initWithDeskTopConfig','proxyHandler','3949UxjVOa','8934318ImWnza','NodeIKernelProfileListener','addKernelGroupListener','devUid','getBuddyService','cUIsD','ECDfu','onLoginFailed','find','-v2.db','initSession','clientType','hex','addMsg','onMsgInfoListUpdate','获取二维码登录超时','initSession\x20failed','NodeIDependsAdapter','startNT','last_message_time','LiYbc','getQRCodePicture','NodeIQQNTWrapperSession','NodeIKernelBuddyListener','XmJbB','LocalLoginInfoList','getGroupService','constructor','aNqIE','uid','52670aRmBLD','isQuickLogin','infos','packet_received','./nt_qq/global','快速登录失败\x20','passwordLogin','consoleLogLevel','split','MsgListener','loginListener','HWZlP','tkYIl','onRecvSysMsg','LLPAo','QPbUG','read','undefined','updateMsg','MeKEg','数据库初始化失败','yksCG','loginService','rdXkY','floor','kCAsb','onMemberListChange','length','sceneId','engine','getBuddyList','KjyyV','onUserLoggedIn','SAKNc','set','base64','GroupListener','tdgjW','addListener','createMemberListScene','resolve','name','addKernelLoginListener','启动失败:\x20','onAddSendMsg','V1_WIN_NQ_','uMWws','onQRCodeSessionFailed','vNdJR','140022008','NodeIGlobalAdapter','EUXCg','initConfig','addKernelProfileListener','sstYs','addKernelMsgListener','15mzWdny','zaqxb','quickLogin','session','140022013','没有可快速登录的QQ号','NodeIKernelMsgListener','yJWDH','consoleLog','1946724WyWrJU','get','XytVN','OehCi','packet_sent','loginErrorInfo','账号设备(','vZios','onLoginSuccessFuncList','UtrAt','update','dCFNy','getMsgService','errMsg','forEach','cKgGM','NodeIKernelSessionListener','curVersion','uin','YBSlv','onRecvMsg','recallTime','quickLoginWithUin','onLoginSuccess','onGroupListUpdate','[KickedOffLine]\x20[','msgId','tYyBh','CohDc','ueozA','getLoginList','onQRCodeGetPicture','init','now','message_sent','onMemberInfoChange','AhhHi','digest','dataPath','CKyxV','util','dataPathGlobal','data:image/png;base64,','onKickedOffLine','onLineDev','BuddyListener','tipsDesc','rfeMY','buddyList','34184PrltHd','\x20has\x20no\x20method\x20','1592115dbPuXq','SXfHs','from','NodeQQNTWrapperUtil','pngBase64QrcodeData','快速登录不可用','168ClnNxu','yeshj','SiPrF','groupCode','./NapCat/data','dcOam','map','ZvhVi'];_0x5a4d=function(){return _0x345211;};return _0x5a4d();}import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';function _0x5120(_0x152aeb,_0x5e4229){const _0x5a4dd4=_0x5a4d();return _0x5120=function(_0x5120c3,_0x343d51){_0x5120c3=_0x5120c3-0x1ce;let _0x124f8b=_0x5a4dd4[_0x5120c3];return _0x124f8b;},_0x5120(_0x152aeb,_0x5e4229);}import _0x4c41a2 from'node:crypto';import{friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x2930f8(0x27d)];[_0x2930f8(0x1f5)];['engine'];[_0x2930f8(0x258)];[_0x2930f8(0x24c)];[_0x2930f8(0x1d5)]=[];[_0x2930f8(0x222)]={'get'(target,prop,receiver){const _0x30b6f7=_0x2930f8,OWumvt={'SAKNc':function(callee,param1){return callee(param1);},'cKgGM':function(x,y){return x===y;}};if(OWumvt[_0x30b6f7(0x1dc)](typeof target[prop],_0x30b6f7(0x253)))return(...args)=>{const _0x46b48b=_0x30b6f7;OWumvt[_0x46b48b(0x263)](logDebug,target[_0x46b48b(0x23f)][_0x46b48b(0x26b)]+_0x46b48b(0x1ff)+prop);};return Reflect[_0x30b6f7(0x1ce)](target,prop,receiver);}};constructor(){const _0x22b6e2=_0x2930f8,_0x15f15f={'KjyyV':function(_0x15748,_0x5df2c5){return _0x15748(_0x5df2c5);},'dcOam':function(_0x2f5a2b,_0x28895b){return _0x2f5a2b+_0x28895b;},'vZios':'当前账号(','XytVN':function(_0x1b4342,_0x5c7d0a,_0x5da73b){return _0x1b4342(_0x5c7d0a,_0x5da73b);},'OehCi':function(_0x81ab3a,_0x33c6ed,_0x60c43e){return _0x81ab3a(_0x33c6ed,_0x60c43e);},'zaqxb':function(_0x4c2fa8,_0x5048a8){return _0x4c2fa8(_0x5048a8);},'tkYIl':_0x22b6e2(0x20a),'AhhHi':function(_0x2c1f92,_0x58f985,_0x43ac68){return _0x2c1f92(_0x58f985,_0x43ac68);},'uMWws':_0x22b6e2(0x256),'rfeMY':function(_0x3890dc,_0x41dc95,_0x19541a){return _0x3890dc(_0x41dc95,_0x19541a);},'CKyxV':'登录失败'};this['engine']=new _0x14789d['NodeIQQNTWrapperEngine'](),this[_0x22b6e2(0x1f5)]=new _0x14789d[(_0x22b6e2(0x203))](),this['loginService']=new _0x14789d['NodeIKernelLoginService'](),this[_0x22b6e2(0x27d)]=new _0x14789d[(_0x22b6e2(0x23a))](),this[_0x22b6e2(0x24c)]=new LoginListener(),this[_0x22b6e2(0x24c)][_0x22b6e2(0x262)]=_0x104ac4=>{const _0x4b279c=_0x22b6e2;_0x15f15f[_0x4b279c(0x261)](logError,_0x15f15f[_0x4b279c(0x20b)](_0x15f15f[_0x4b279c(0x1d4)]+_0x104ac4,')已登录,无法重复登录'));},this[_0x22b6e2(0x24c)]['onQRCodeLoginSucceed']=_0x35d337=>{const _0x2e74c8=_0x22b6e2,_0x4ca8ff={'EyHfi':function(_0x2995ff,_0x5c69c8,_0x7f6db2){return _0x15f15f['AhhHi'](_0x2995ff,_0x5c69c8,_0x7f6db2);},'aBrwl':_0x15f15f[_0x2e74c8(0x270)]};this[_0x2e74c8(0x22e)](_0x35d337['uin'],_0x35d337[_0x2e74c8(0x241)])[_0x2e74c8(0x220)](_0x13075d=>{const _0x2f10d4=_0x2e74c8,_0x190789={'XmJbB':function(_0x504cd0,_0x168e5f,_0x246364){const _0x1aa705=_0x5120;return _0x15f15f[_0x1aa705(0x1cf)](_0x504cd0,_0x168e5f,_0x246364);}};selfInfo[_0x2f10d4(0x1df)]=_0x35d337['uin'],selfInfo[_0x2f10d4(0x241)]=_0x35d337[_0x2f10d4(0x241)],napCatConfig[_0x2f10d4(0x252)](),_0x15f15f[_0x2f10d4(0x1d0)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x2f10d4(0x249)]),enableFileLog(napCatConfig['fileLog']),_0x15f15f[_0x2f10d4(0x27b)](enableConsoleLog,napCatConfig[_0x2f10d4(0x282)]),setLogSelfInfo(selfInfo);const _0x4f86b5=_0x3d3f31['resolve'](this[_0x2f10d4(0x1f3)],_0x15f15f[_0x2f10d4(0x24e)]);_0x216566[_0x2f10d4(0x213)](_0x4f86b5,{'recursive':!![]}),logDebug('本账号数据/缓存目录:',_0x4f86b5),dbUtil[_0x2f10d4(0x1ed)](_0x3d3f31[_0x2f10d4(0x26a)](_0x4f86b5,'./'+_0x35d337['uin']+_0x2f10d4(0x22d)))[_0x2f10d4(0x220)](()=>{const _0x176a08=_0x2f10d4,_0x585c0a={'UtrAt':function(_0x3990f9,_0x18b732,_0x2c9d69){const _0xc90895=_0x5120;return _0x190789[_0xc90895(0x23c)](_0x3990f9,_0x18b732,_0x2c9d69);},'tdgjW':function(_0x284102,_0xeb2fd1){return _0x284102 instanceof _0xeb2fd1;}};this[_0x176a08(0x211)](),this[_0x176a08(0x1d5)][_0x176a08(0x20c)](_0x792189=>{const _0x13596a=_0x176a08;new Promise((_0x1e63c0,_0x235aa8)=>{const _0x515447=_0x5120,_0x2990f5=_0x585c0a[_0x515447(0x1d6)](_0x792189,_0x35d337[_0x515447(0x1df)],_0x35d337[_0x515447(0x241)]);_0x585c0a[_0x515447(0x267)](_0x2990f5,Promise)&&_0x2990f5['then'](_0x1e63c0)[_0x515447(0x210)](_0x235aa8);})[_0x13596a(0x220)]();});})[_0x2f10d4(0x210)](_0x5627cf=>{_0x4ca8ff['EyHfi'](logError,_0x4ca8ff['aBrwl'],_0x5627cf);});})[_0x2e74c8(0x210)](_0xbb8b5e=>{const _0x3df7a5=_0x2e74c8;logError(_0x3df7a5(0x234),_0xbb8b5e);throw new Error(_0x3df7a5(0x26d)+JSON['stringify'](_0xbb8b5e));});},this[_0x22b6e2(0x24c)][_0x22b6e2(0x271)]=_0x218c12=>{const _0x167ea4=_0x22b6e2;_0x15f15f[_0x167ea4(0x1fc)](logError,_0x15f15f[_0x167ea4(0x1f4)],_0x218c12);},this[_0x22b6e2(0x24c)][_0x22b6e2(0x22b)]=_0x372aa4=>{const _0x13b3d8=_0x22b6e2;_0x15f15f[_0x13b3d8(0x1f1)](logError,_0x15f15f[_0x13b3d8(0x1f4)],_0x372aa4);},this[_0x22b6e2(0x24c)]=new Proxy(this[_0x22b6e2(0x24c)],this['proxyHandler']),this[_0x22b6e2(0x258)][_0x22b6e2(0x26c)](new _0x14789d['NodeIKernelLoginListener'](this[_0x22b6e2(0x24c)])),this[_0x22b6e2(0x276)]();}get[_0x2930f8(0x1f3)](){const _0xa2d3f2=_0x2930f8;let _0x44e417=this['util'][_0xa2d3f2(0x21c)]();return!_0x44e417&&(_0x44e417=_0x3d3f31['resolve'](_0x361146['homedir'](),'./.config/QQ'),_0x216566['mkdirSync'](_0x44e417,{'recursive':!![]})),_0x44e417;}get['dataPathGlobal'](){const _0x14311d=_0x2930f8,_0x331844={'aNqIE':_0x14311d(0x246)};return _0x3d3f31[_0x14311d(0x26a)](this['dataPath'],_0x331844[_0x14311d(0x240)]);}[_0x2930f8(0x276)](){const _0x14ea50=_0x2930f8,_0x3cb4d0={'mMUbr':'Windows\x2010\x20Pro'};this[_0x14ea50(0x25f)][_0x14ea50(0x221)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x14ea50(0x1de)],'os_version':_0x3cb4d0['mMUbr'],'use_xlog':!![],'qua':_0x14ea50(0x26f)+qqVersionConfigInfo['curVersion']['replace']('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x14ea50(0x1f6)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x14789d[(_0x14ea50(0x274))](new GlobalAdapter())),this[_0x14ea50(0x258)][_0x14ea50(0x276)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x14ea50(0x1de)],'hostName':hostname});}[_0x2930f8(0x22e)](_0x1305a2,_0x49aa9e){const _0x201890={'SiPrF':function(_0x22685d,_0x265813){return _0x22685d===_0x265813;},'LLPAo':function(_0xad5db9,_0x120375){return _0xad5db9(_0x120375);},'yJWDH':'init\x20failed\x20'};return new Promise((_0x52b0a1,_0x395fed)=>{const _0x5c4cd4=_0x5120,_0x46a179={'BhwOR':function(_0x57c2bd,_0x11c8eb){const _0x383b31=_0x5120;return _0x201890[_0x383b31(0x208)](_0x57c2bd,_0x11c8eb);},'QPbUG':function(_0xd6bf09,_0x39c24c){const _0xb244b4=_0x5120;return _0x201890[_0xb244b4(0x250)](_0xd6bf09,_0x39c24c);}},_0x3e0fd9=genSessionConfig(_0x1305a2,_0x49aa9e,this[_0x5c4cd4(0x1f3)]),_0x2d42f9=new SessionListener();_0x2d42f9[_0x5c4cd4(0x218)]=_0x19e648=>{const _0x1a3086=_0x5c4cd4;if(_0x46a179['BhwOR'](_0x19e648,0x0))return _0x46a179[_0x1a3086(0x251)](_0x52b0a1,0x0);_0x46a179[_0x1a3086(0x251)](_0x395fed,_0x19e648);},this['session']['init'](_0x3e0fd9,new _0x14789d[(_0x5c4cd4(0x235))](new DependsAdapter()),new _0x14789d['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x14789d[(_0x5c4cd4(0x1dd))](_0x2d42f9));try{this[_0x5c4cd4(0x27d)]['startNT'](0x0);}catch(_0x9d0584){try{this[_0x5c4cd4(0x27d)][_0x5c4cd4(0x236)]();}catch(_0x45a528){_0x395fed(_0x201890[_0x5c4cd4(0x281)]+_0x45a528);}}});}[_0x2930f8(0x211)](){const _0x4b1416=_0x2930f8,_0x3841ba={'ECDfu':function(_0x389faa,_0xcdd7ff){return _0x389faa+_0xcdd7ff;},'vNdJR':_0x4b1416(0x20e),'HVBOn':function(_0x54d604,_0x12ee63){return _0x54d604(_0x12ee63);},'cUIsD':_0x4b1416(0x1e6),'sstYs':function(_0x542064,_0x500eed){return _0x542064/_0x500eed;}},_0x5721e9=new MsgListener();_0x5721e9[_0x4b1416(0x1f9)]=_0x1e3f3b=>{const _0x33855f=_0x4b1416,_0x5c06b9={'QJvuo':function(_0x5926e1,_0xacf9bf){return _0x5926e1(_0xacf9bf);},'tYyBh':function(_0x3281cc,_0xb42ed3){const _0x549c14=_0x5120;return _0x3841ba[_0x549c14(0x22a)](_0x3281cc,_0xb42ed3);},'eCXqY':_0x3841ba[_0x33855f(0x272)]};_0x1e3f3b['map'](_0x3a1618=>{const _0xa1f26d=_0x33855f;_0x3a1618[_0xa1f26d(0x22f)]===0x2&&_0x5c06b9['QJvuo'](log,_0x5c06b9[_0xa1f26d(0x1e8)](_0x5c06b9[_0xa1f26d(0x1e8)](_0xa1f26d(0x1d3),_0x3a1618[_0xa1f26d(0x227)]),_0x5c06b9['eCXqY']));});},_0x5721e9[_0x4b1416(0x1f8)]=_0x36f965=>{const _0x1562f1=_0x4b1416;_0x3841ba[_0x1562f1(0x21a)](log,_0x3841ba[_0x1562f1(0x22a)](_0x3841ba[_0x1562f1(0x22a)](_0x3841ba[_0x1562f1(0x22a)](_0x3841ba[_0x1562f1(0x229)],_0x36f965['tipsTitle']),']\x20'),_0x36f965[_0x1562f1(0x1fb)]));},_0x5721e9[_0x4b1416(0x232)]=_0xef0065=>{const _0xa6569b=_0x4b1416,_0x139e8f={'dCFNy':function(_0x540ac6,_0x3529e2){return _0x540ac6===_0x3529e2;}};stat['packet_received']+=0x1,_0xef0065[_0xa6569b(0x20c)](_0x968abd=>{const _0x1a9c52=_0xa6569b;_0x139e8f[_0x1a9c52(0x1d8)](_0x968abd[_0x1a9c52(0x1e2)],'0')?dbUtil[_0x1a9c52(0x231)](_0x968abd)[_0x1a9c52(0x220)]()[_0x1a9c52(0x210)]():dbUtil[_0x1a9c52(0x212)](_0x968abd[_0x1a9c52(0x1e7)])[_0x1a9c52(0x220)](_0x18b480=>{const _0x5b7f21=_0x1a9c52;_0x18b480&&(_0x18b480[_0x5b7f21(0x1e2)]=_0x968abd[_0x5b7f21(0x1e2)],dbUtil[_0x5b7f21(0x254)](_0x18b480)['then']());});});},_0x5721e9[_0x4b1416(0x26e)]=_0x15ebb3=>{const _0x4a30f3=_0x4b1416;stat[_0x4a30f3(0x1d1)]+=0x1,stat[_0x4a30f3(0x1ef)]+=0x1,stat[_0x4a30f3(0x237)]=Math[_0x4a30f3(0x25a)](Date['now']()/0x3e8);},_0x5721e9[_0x4b1416(0x1e1)]=_0x451869=>{const _0x3389b2=_0x4b1416;stat[_0x3389b2(0x245)]+=0x1,stat['message_received']+=_0x451869[_0x3389b2(0x25d)],stat[_0x3389b2(0x237)]=Math[_0x3389b2(0x25a)](_0x3841ba[_0x3389b2(0x278)](Date[_0x3389b2(0x1ee)](),0x3e8));},_0x5721e9[_0x4b1416(0x24f)]=(..._0x4b2897)=>{const _0x1c35a6=_0x4b1416;stat[_0x1c35a6(0x245)]+=0x1;},this['addListener'](_0x5721e9);const _0x375817=new BuddyListener();_0x375817['onBuddyListChange']=_0x41c9a3=>{const _0x2ab4b8=_0x4b1416;for(const _0x4bca21 of _0x41c9a3){for(const _0x4dc994 of _0x4bca21[_0x2ab4b8(0x1fd)]){const _0x5e97cd=friends[_0x2ab4b8(0x1ce)](_0x4dc994[_0x2ab4b8(0x241)]);uid2UinMap[_0x4dc994['uid']]=_0x4dc994[_0x2ab4b8(0x1df)],_0x5e97cd?Object[_0x2ab4b8(0x215)](_0x5e97cd,_0x4dc994):friends[_0x2ab4b8(0x264)](_0x4dc994[_0x2ab4b8(0x241)],_0x4dc994);}}},this[_0x4b1416(0x268)](_0x375817),this[_0x4b1416(0x27d)][_0x4b1416(0x228)]()[_0x4b1416(0x260)](!![])[_0x4b1416(0x220)](_0x14ed63=>{});const _0x34fba9=new ProfileListener();_0x34fba9['onProfileDetailInfoChanged']=_0x4b0ea4=>{const _0x4f3040=_0x4b1416;_0x4b0ea4[_0x4f3040(0x241)]===selfInfo[_0x4f3040(0x241)]&&Object[_0x4f3040(0x215)](selfInfo,_0x4b0ea4);},_0x34fba9['onSelfStatusChanged']=_0x5e96c8=>{},this[_0x4b1416(0x268)](_0x34fba9);const _0x45f16b=new GroupListener();_0x45f16b[_0x4b1416(0x1e5)]=(_0x181d88,_0x5b357e)=>{const _0x584202=_0x4b1416,_0x4a5791={'rdXkY':'groupMemberList_MainWindow'};_0x5b357e[_0x584202(0x20c)](_0x4466d1=>{const _0x2b549a=_0x584202,_0x4abba8=groups['get'](_0x4466d1[_0x2b549a(0x209)]);if(_0x4abba8)Object[_0x2b549a(0x215)](_0x4abba8,_0x4466d1);else{groups[_0x2b549a(0x264)](_0x4466d1['groupCode'],_0x4466d1);const _0x5f203e=this[_0x2b549a(0x27d)][_0x2b549a(0x23e)]()[_0x2b549a(0x269)](_0x4466d1['groupCode'],_0x4a5791[_0x2b549a(0x259)]);this[_0x2b549a(0x27d)][_0x2b549a(0x23e)]()['getNextMemberList'](_0x5f203e,undefined,0xbb8)[_0x2b549a(0x220)](_0x191aae=>{});}});},_0x45f16b[_0x4b1416(0x25c)]=_0x38526c=>{const _0x3fb756=_0x4b1416,_0x43e222=_0x38526c[_0x3fb756(0x25e)]['split']('_')[0x0];if(groupMembers['has'](_0x43e222)){const _0x42d3aa=groupMembers[_0x3fb756(0x1ce)](_0x43e222);_0x38526c[_0x3fb756(0x244)][_0x3fb756(0x1db)]((_0x39b515,_0xfb4e9e)=>{const _0x51c3e0=_0x3fb756,_0xc3ac9d=_0x42d3aa[_0x51c3e0(0x1ce)](_0xfb4e9e);_0xc3ac9d?Object[_0x51c3e0(0x215)](_0xc3ac9d,_0x39b515):_0x42d3aa[_0x51c3e0(0x264)](_0xfb4e9e,_0x39b515);});}else groupMembers[_0x3fb756(0x264)](_0x43e222,_0x38526c[_0x3fb756(0x244)]);},_0x45f16b[_0x4b1416(0x1f0)]=(_0xf07652,_0xbe7346,_0x260d00)=>{const _0x3bcf57=_0x4b1416;_0x260d00[_0x3bcf57(0x1db)]((_0x341718,_0x460813)=>{const _0x5a1752=_0x3bcf57;uid2UinMap[_0x460813]=_0x341718[_0x5a1752(0x1df)];});const _0x1e657e=groupMembers[_0x3bcf57(0x1ce)](_0xf07652);_0x1e657e?_0x260d00['forEach']((_0x344432,_0x393dd5)=>{const _0x5dcc28=_0x3bcf57,_0x5c9591=_0x1e657e['get'](_0x393dd5);_0x5c9591?Object['assign'](_0x5c9591,_0x344432):_0x1e657e[_0x5dcc28(0x264)](_0x393dd5,_0x344432);}):groupMembers[_0x3bcf57(0x264)](_0xf07652,_0x260d00);},this[_0x4b1416(0x268)](_0x45f16b);}[_0x2930f8(0x268)](_0x1732a1){const _0x4503d6=_0x2930f8,_0x397851={'ZvhVi':_0x4503d6(0x1fa),'YfSZL':_0x4503d6(0x266),'CohDc':_0x4503d6(0x24b),'kCAsb':_0x4503d6(0x214)};_0x1732a1=new Proxy(_0x1732a1,this[_0x4503d6(0x222)]);switch(_0x1732a1['constructor']['name']){case _0x397851[_0x4503d6(0x20d)]:{return this[_0x4503d6(0x27d)][_0x4503d6(0x228)]()[_0x4503d6(0x21d)](new _0x14789d[(_0x4503d6(0x23b))](_0x1732a1));}case _0x397851[_0x4503d6(0x21b)]:{return this[_0x4503d6(0x27d)][_0x4503d6(0x23e)]()[_0x4503d6(0x226)](new _0x14789d['NodeIKernelGroupListener'](_0x1732a1));}case _0x397851[_0x4503d6(0x1e9)]:{return this['session'][_0x4503d6(0x1d9)]()[_0x4503d6(0x279)](new _0x14789d[(_0x4503d6(0x280))](_0x1732a1));}case _0x397851[_0x4503d6(0x25b)]:{return this['session']['getProfileService']()[_0x4503d6(0x277)](new _0x14789d[(_0x4503d6(0x225))](_0x1732a1));}default:return-0x1;}}[_0x2930f8(0x1e4)](_0x5b43f0){const _0x5947f0=_0x2930f8;this['onLoginSuccessFuncList'][_0x5947f0(0x20f)](_0x5b43f0);}async[_0x2930f8(0x27c)](_0x32126b){const _0x25a73d=_0x2930f8,_0x16a6d6={'yksCG':function(_0x1c8630,_0x45a000){return _0x1c8630!==_0x45a000;},'MeKEg':function(_0x35deff,_0x22052a){return _0x35deff+_0x22052a;}},_0x2f783e=await this[_0x25a73d(0x258)][_0x25a73d(0x1eb)]();if(_0x16a6d6[_0x25a73d(0x257)](_0x2f783e['result'],0x0))throw new Error(_0x25a73d(0x27f));const _0x160648=_0x2f783e[_0x25a73d(0x23d)][_0x25a73d(0x22c)](_0x19bc65=>_0x19bc65[_0x25a73d(0x1df)]===_0x32126b);if(!_0x160648||!_0x160648?.[_0x25a73d(0x243)])throw new Error(_0x32126b+_0x25a73d(0x205));await sleep(0x3e8);const _0x4c99d2=await this[_0x25a73d(0x258)][_0x25a73d(0x1e3)](_0x32126b);if(!_0x4c99d2['result'])throw new Error(_0x16a6d6[_0x25a73d(0x255)](_0x25a73d(0x247),_0x4c99d2[_0x25a73d(0x1d2)][_0x25a73d(0x1da)]));return _0x4c99d2;}async['qrLogin'](){const _0x1d571a=_0x2930f8,_0x21d2a7={'YBSlv':function(_0x29a38b,_0x42d788){return _0x29a38b(_0x42d788);},'DmgIQ':_0x1d571a(0x233),'ueozA':_0x1d571a(0x265)};let _0x244c72=![];return new Promise((_0x5c4ca6,_0x4c6a19)=>{const _0x28559e=_0x1d571a;setTimeout(()=>{const _0x3f188d=_0x5120;!_0x244c72&&_0x21d2a7[_0x3f188d(0x1e0)](_0x4c6a19,_0x21d2a7['DmgIQ']);},0x2710),this[_0x28559e(0x24c)][_0x28559e(0x1ec)]=_0x47fe92=>{const _0x11abd1=_0x28559e;_0x244c72=!![];const _0x239a41=_0x47fe92[_0x11abd1(0x204)][_0x11abd1(0x24a)](_0x11abd1(0x1f7))[0x1],_0xdbb980=Buffer[_0x11abd1(0x202)](_0x239a41,_0x21d2a7[_0x11abd1(0x1ea)]);_0x5c4ca6({'url':_0x47fe92[_0x11abd1(0x21e)],'base64':_0x47fe92[_0x11abd1(0x204)],'buffer':_0xdbb980});},this['loginService'][_0x28559e(0x239)]();});}async['passwordLogin'](_0x3241a7,_0x49175b,_0x536150,_0x4a3a07,_0x5e0d11){const _0x2a6de9=_0x2930f8,_0x5af736={'yeshj':_0x2a6de9(0x230),'FIqZi':function(_0x28eb60,_0x3fc1e6){return _0x28eb60&&_0x3fc1e6;},'LiYbc':function(_0x20bedc,_0x5a5c49){return _0x20bedc||_0x5a5c49;},'EUXCg':function(_0x1c1304,_0x370211){return _0x1c1304(_0x370211);},'SXfHs':_0x2a6de9(0x273),'HWZlP':_0x2a6de9(0x27e)},_0x2696fc=_0x4c41a2['createHash'](_0x2a6de9(0x217))[_0x2a6de9(0x1d7)](_0x49175b)[_0x2a6de9(0x1f2)](_0x5af736[_0x2a6de9(0x207)]),_0x52d037={'uin':_0x3241a7,'passwordMd5':_0x2696fc,'step':_0x5af736['FIqZi'](_0x536150,_0x4a3a07)&&_0x5e0d11?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x5af736[_0x2a6de9(0x238)](_0x536150,''),'proofWaterRand':_0x5af736[_0x2a6de9(0x238)](_0x4a3a07,''),'proofWaterSid':_0x5e0d11||''};await this['loginService'][_0x2a6de9(0x1eb)](),await _0x5af736[_0x2a6de9(0x275)](sleep,0x3e8);const _0x35ec1c=await this[_0x2a6de9(0x258)][_0x2a6de9(0x248)](_0x52d037);switch(_0x35ec1c['result']){case'0':{break;}case _0x5af736[_0x2a6de9(0x201)]:{break;}case'4':case _0x5af736[_0x2a6de9(0x24d)]:default:}}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x5cf6ba=_0xe79d;(function(_0xb3ff45,_0x3a8884){const _0x496221=_0xe79d,_0x4d878d=_0xb3ff45();while(!![]){try{const _0x1e7c06=-parseInt(_0x496221(0xb2))/0x1*(-parseInt(_0x496221(0x118))/0x2)+parseInt(_0x496221(0xda))/0x3+-parseInt(_0x496221(0x163))/0x4+-parseInt(_0x496221(0x111))/0x5*(-parseInt(_0x496221(0x12a))/0x6)+-parseInt(_0x496221(0x161))/0x7+-parseInt(_0x496221(0x165))/0x8+parseInt(_0x496221(0xc1))/0x9*(-parseInt(_0x496221(0x11a))/0xa);if(_0x1e7c06===_0x3a8884)break;else _0x4d878d['push'](_0x4d878d['shift']());}catch(_0x48de5d){_0x4d878d['push'](_0x4d878d['shift']());}}}(_0x4fa1,0xa76ae));import _0x4e07b2 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x51dafe from'node:path';import _0x4dc077 from'node:os';import _0x23bc08 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x4fa1(){const _0x4e6d98=['split','addKernelProfileListener','NodeIKernelMsgListener','125HViAJZ','iUbxH','tipsDesc','./NapCat/data','UyYGs','addListener','initConfig','134614uDgpui','msgId','1690fPbmzh','addKernelLoginListener','WOygP','\x20has\x20no\x20method\x20','本账号数据/缓存目录:','util','session','LbiZd','resolve','getBuddyService','NodeIKernelSessionListener','loginErrorInfo','packet_received','ProfileListener','initSession','CVfKr','250806ilVPLP','init\x20failed\x20','EhoRM','rOGPI','mkdirSync','pngBase64QrcodeData','mQNmR','wuhjY','getMsgService','ZBvNo','获取二维码登录超时','updateMsg','last_message_time','curVersion','onUserLoggedIn','PQkiR','devUid','没有可快速登录的QQ号','infos','quickLogin','pDNSw','AGdWd','GGnKP','onGroupListUpdate','hpNFw','TPFpp','Tkdxi','启动失败:\x20','groupMemberList_MainWindow','name','xrfUi','addMsg','NodeQQNTWrapperUtil','isQuickLogin','loginListener','catch','proxyHandler','dataPathGlobal','tipsTitle','qoVlx','init','assign','initSession\x20failed','isaeg','message_received','getNextMemberList','message_sent','onRecvMsg','stringify','NodeIKernelBuddyListener','fCRDu','digest','onQRCodeSessionFailed','wZpds','nDFQF','8773541jWTgZr','XZoqv','1043328yxtRtV','TBIAt','1272520RvPeXW','FjbbY','get','jYjeG','NodeIQQNTWrapperSession','gSlKf','NodeIGlobalAdapter','NodeIKernelLoginListener','pOvcz','SWkAu','ECKnf','nwAhJ','map','CCchd','floor','GroupListener','onMsgInfoListUpdate','LocalLoginInfoList','createMemberListScene','createHash','loginService','XPuuR','engine','4phKUOv','NodeIKernelProfileListener','set','onProfileDetailInfoChanged','prOZM','length','md5','xvEgb','nKHRe','rGNIz','result','bQnRf','onRecvSysMsg','replace','NodeIKernelLoginService','7263dicGCi','onBuddyListChange','initWithDeskTopConfig','_GW_B','MsgListener','consoleLog','onQRCodeLoginSucceed','getLoginList','./nt_qq/global','consoleLogLevel','data:image/png;base64,','ktpYr','BNVBI','constructor',')\x20在线状态变更','Wphig','addKernelBuddyListener','UiQFY','DtVLR','nKVjE','uWURf','OVEyU','onSelfStatusChanged','gEtzv','iLoIT','3543396rNlpqb','passwordLogin','sceneId','then','onKickedOffLine','errMsg','homedir','recallTime','uid','HHlsT','startNT','JdOZA','push','onLineDev','NodeIKernelGroupListener','clientType','OoWeo','getProfileService','登录失败','read','eOXIA','groupCode','ODgLq','QAYjo','now',')已登录,无法重复登录','140022008','V1_WIN_NQ_','jalvn','quickLoginWithUin','xVnfW','JPHdm','nWZNc','当前账号(','hex','uin','ABWuZ','find','getGroupService','forEach','base64','dataPath','getNTUserDataInfoConfig','lYMXT','BuddyListener','gACKr','getBuddyList','onLoginSuccessFuncList','getQRCodePicture','vralS','HCQvB','-v2.db'];_0x4fa1=function(){return _0x4e6d98;};return _0x4fa1();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';function _0xe79d(_0x454103,_0x16a0cb){const _0x4fa198=_0x4fa1();return _0xe79d=function(_0xe79d41,_0x34c58a){_0xe79d41=_0xe79d41-0x9c;let _0x13198b=_0x4fa198[_0xe79d41];return _0x13198b;},_0xe79d(_0x454103,_0x16a0cb);}import{sleep}from'@/common/utils/helper';import _0x5c2610 from'node:crypto';import{friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];['util'];[_0x5cf6ba(0xb1)];[_0x5cf6ba(0xaf)];['loginListener'];[_0x5cf6ba(0x109)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x41b943=_0x5cf6ba,mnhads={'vralS':function(x,y){return x===y;},'TPFpp':'undefined'};if(mnhads[_0x41b943(0x10b)](typeof target[prop],mnhads[_0x41b943(0x143)]))return(...args)=>{const _0xd15825=_0x41b943;logDebug(target[_0xd15825(0xce)]['name']+_0xd15825(0x11d)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x4ee99e=_0x5cf6ba,_0x449cc6={'CVfKr':function(_0x1fb71e,_0x4dfbd3){return _0x1fb71e(_0x4dfbd3);},'kzzzd':function(_0x26ebc2,_0x12d06b){return _0x26ebc2+_0x12d06b;},'CzFUt':function(_0x70fef1,_0x156467){return _0x70fef1+_0x156467;},'xvEgb':_0x4ee99e(0xfb),'nDFQF':_0x4ee99e(0xf3),'ABWuZ':function(_0x280b64,_0x1e05c7,_0x45a294){return _0x280b64(_0x1e05c7,_0x45a294);},'isaeg':_0x4ee99e(0x154),'JdOZA':'数据库初始化失败','nKHRe':_0x4ee99e(0x114),'RolCV':_0x4ee99e(0x11e),'BUIIN':function(_0x410568,_0x191fb0,_0x459cc3){return _0x410568(_0x191fb0,_0x459cc3);},'ZBvNo':_0x4ee99e(0xec),'eOXIA':function(_0x5462c4,_0x47e757,_0x5176c7){return _0x5462c4(_0x47e757,_0x5176c7);}};this[_0x4ee99e(0xb1)]=new _0x4e07b2['NodeIQQNTWrapperEngine'](),this[_0x4ee99e(0x11f)]=new _0x4e07b2[(_0x4ee99e(0x14a))](),this['loginService']=new _0x4e07b2[(_0x4ee99e(0xc0))](),this[_0x4ee99e(0x120)]=new _0x4e07b2[(_0x4ee99e(0x9f))](),this['loginListener']=new LoginListener(),this[_0x4ee99e(0x14c)][_0x4ee99e(0x138)]=_0x29acb2=>{const _0x5a96e5=_0x4ee99e;_0x449cc6[_0x5a96e5(0x129)](logError,_0x449cc6['kzzzd'](_0x449cc6['CzFUt'](_0x449cc6[_0x5a96e5(0xb9)],_0x29acb2),_0x449cc6[_0x5a96e5(0x160)]));},this[_0x4ee99e(0x14c)][_0x4ee99e(0xc7)]=_0x1ba56f=>{const _0x2bb174=_0x4ee99e,_0x423da9={'qoVlx':function(_0x567a02,_0x17b4d2,_0x7fc86d){const _0x3dc374=_0xe79d;return _0x449cc6[_0x3dc374(0xfe)](_0x567a02,_0x17b4d2,_0x7fc86d);},'EwjEY':_0x449cc6[_0x2bb174(0xe5)],'HCQvB':function(_0x2c872b,_0x472bdb){return _0x2c872b instanceof _0x472bdb;},'SWkAu':function(_0x5af8d0,_0x4b9ff6){return _0x449cc6['CVfKr'](_0x5af8d0,_0x4b9ff6);},'AGdWd':_0x449cc6[_0x2bb174(0xba)],'rGNIz':function(_0x11ccaf,_0x38e4ff,_0x102cf8){return _0x449cc6['ABWuZ'](_0x11ccaf,_0x38e4ff,_0x102cf8);},'DtVLR':_0x449cc6['RolCV']};this[_0x2bb174(0x128)](_0x1ba56f['uin'],_0x1ba56f[_0x2bb174(0xe2)])['then'](_0x35284e=>{const _0xb0ac69=_0x2bb174,_0x39bfb3={'fCRDu':function(_0x21afe7,_0x48151c,_0x5c39b1){return _0x21afe7(_0x48151c,_0x5c39b1);},'iLoIT':function(_0x1b86b9,_0x487f5a){const _0x4ffdf1=_0xe79d;return _0x423da9[_0x4ffdf1(0x10c)](_0x1b86b9,_0x487f5a);}};selfInfo[_0xb0ac69(0xfd)]=_0x1ba56f['uin'],selfInfo[_0xb0ac69(0xe2)]=_0x1ba56f[_0xb0ac69(0xe2)],napCatConfig[_0xb0ac69(0xed)](),_0x423da9[_0xb0ac69(0x151)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0xb0ac69(0xca)]),_0x423da9[_0xb0ac69(0xa4)](enableFileLog,napCatConfig['fileLog']),_0x423da9[_0xb0ac69(0xa4)](enableConsoleLog,napCatConfig[_0xb0ac69(0xc6)]),setLogSelfInfo(selfInfo);const _0x216c5d=_0x51dafe['resolve'](this[_0xb0ac69(0x103)],_0x423da9[_0xb0ac69(0x13f)]);_0x23bc08[_0xb0ac69(0x12e)](_0x216c5d,{'recursive':!![]}),_0x423da9[_0xb0ac69(0xbb)](logDebug,_0x423da9[_0xb0ac69(0xd3)],_0x216c5d),dbUtil[_0xb0ac69(0x152)](_0x51dafe[_0xb0ac69(0x122)](_0x216c5d,'./'+_0x1ba56f[_0xb0ac69(0xfd)]+_0xb0ac69(0x10d)))[_0xb0ac69(0xdd)](()=>{const _0x2f149c=_0xb0ac69,_0x2a66e1={'OVEyU':function(_0x2d0be6,_0x55f191,_0x231e95){const _0x3cc7f4=_0xe79d;return _0x39bfb3[_0x3cc7f4(0x15c)](_0x2d0be6,_0x55f191,_0x231e95);},'WOygP':function(_0x1307f2,_0x58d825){const _0x1837f3=_0xe79d;return _0x39bfb3[_0x1837f3(0xd9)](_0x1307f2,_0x58d825);}};this['initDataListener'](),this[_0x2f149c(0x109)][_0x2f149c(0xa7)](_0x148300=>{new Promise((_0x36be3e,_0x45002c)=>{const _0x4cc497=_0xe79d,_0x576566=_0x2a66e1[_0x4cc497(0xd6)](_0x148300,_0x1ba56f[_0x4cc497(0xfd)],_0x1ba56f[_0x4cc497(0xe2)]);_0x2a66e1[_0x4cc497(0x11c)](_0x576566,Promise)&&_0x576566['then'](_0x36be3e)['catch'](_0x45002c);})['then']();});})[_0xb0ac69(0x14d)](_0x76062e=>{const _0x5d0cae=_0xb0ac69;_0x423da9[_0x5d0cae(0x151)](logError,_0x423da9['EwjEY'],_0x76062e);});})[_0x2bb174(0x14d)](_0x66f2f8=>{const _0xbb7356=_0x2bb174;_0x449cc6[_0xbb7356(0xfe)](logError,_0x449cc6[_0xbb7356(0x155)],_0x66f2f8);throw new Error(_0xbb7356(0x145)+JSON[_0xbb7356(0x15a)](_0x66f2f8));});},this[_0x4ee99e(0x14c)][_0x4ee99e(0x15e)]=_0x5b6029=>{const _0x440036=_0x4ee99e;_0x449cc6['BUIIN'](logError,_0x449cc6[_0x440036(0x133)],_0x5b6029);},this[_0x4ee99e(0x14c)]['onLoginFailed']=_0x2c5d62=>{const _0x36c74a=_0x4ee99e;_0x449cc6[_0x36c74a(0xee)](logError,_0x449cc6[_0x36c74a(0x133)],_0x2c5d62);},this['loginListener']=new Proxy(this[_0x4ee99e(0x14c)],this['proxyHandler']),this[_0x4ee99e(0xaf)][_0x4ee99e(0x11b)](new _0x4e07b2[(_0x4ee99e(0xa2))](this[_0x4ee99e(0x14c)])),this[_0x4ee99e(0x117)]();}get[_0x5cf6ba(0x103)](){const _0x4482b3=_0x5cf6ba;let _0x418444=this['util'][_0x4482b3(0x104)]();return!_0x418444&&(_0x418444=_0x51dafe[_0x4482b3(0x122)](_0x4dc077[_0x4482b3(0xe0)](),'./.config/QQ'),_0x23bc08[_0x4482b3(0x12e)](_0x418444,{'recursive':!![]})),_0x418444;}get['dataPathGlobal'](){const _0x36d8e0=_0x5cf6ba,_0xf544a7={'UiQFY':_0x36d8e0(0xc9)};return _0x51dafe[_0x36d8e0(0x122)](this['dataPath'],_0xf544a7[_0x36d8e0(0xd2)]);}[_0x5cf6ba(0x117)](){const _0x1e0120=_0x5cf6ba;this[_0x1e0120(0xb1)][_0x1e0120(0xc3)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1e0120(0x137)],'os_version':'Windows\x2010\x20Pro','use_xlog':!![],'qua':_0x1e0120(0xf5)+qqVersionConfigInfo['curVersion'][_0x1e0120(0xbf)]('-','_')+_0x1e0120(0xc4),'global_path_config':{'desktopGlobalPath':this[_0x1e0120(0x14f)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4e07b2[(_0x1e0120(0xa1))](new GlobalAdapter())),this[_0x1e0120(0xaf)][_0x1e0120(0x117)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1e0120(0x14f)],'clientVer':qqVersionConfigInfo[_0x1e0120(0x137)],'hostName':hostname});}[_0x5cf6ba(0x128)](_0x3e5fd9,_0x377592){const _0x535f2a=_0x5cf6ba,_0x1d9733={'Tkdxi':function(_0x18dfb1,_0xf4de46){return _0x18dfb1===_0xf4de46;},'EhoRM':function(_0x4dbbfb,_0x5c8d13){return _0x4dbbfb(_0x5c8d13);},'pDNSw':function(_0x517144,_0xdd8019,_0x262913,_0x76f47a){return _0x517144(_0xdd8019,_0x262913,_0x76f47a);},'LbiZd':_0x535f2a(0x12b)};return new Promise((_0x1b0f12,_0xf47a7d)=>{const _0x198b00=_0x535f2a,_0x1f3c18={'jalvn':function(_0x8ae783,_0x4d6aa8){const _0x583c6c=_0xe79d;return _0x1d9733[_0x583c6c(0x144)](_0x8ae783,_0x4d6aa8);},'wuhjY':function(_0x3cb733,_0x338d24){const _0x430d54=_0xe79d;return _0x1d9733[_0x430d54(0x12c)](_0x3cb733,_0x338d24);}},_0x4891fe=_0x1d9733[_0x198b00(0x13e)](genSessionConfig,_0x3e5fd9,_0x377592,this['dataPath']),_0x5d33e2=new SessionListener();_0x5d33e2['onSessionInitComplete']=_0x5841ae=>{const _0x84094a=_0x198b00;if(_0x1f3c18[_0x84094a(0xf6)](_0x5841ae,0x0))return _0x1f3c18[_0x84094a(0x131)](_0x1b0f12,0x0);_0xf47a7d(_0x5841ae);},this['session'][_0x198b00(0x152)](_0x4891fe,new _0x4e07b2['NodeIDependsAdapter'](new DependsAdapter()),new _0x4e07b2['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x4e07b2[(_0x198b00(0x124))](_0x5d33e2));try{this[_0x198b00(0x120)][_0x198b00(0xe4)](0x0);}catch(_0x4ec69b){try{this[_0x198b00(0x120)][_0x198b00(0xe4)]();}catch(_0x19b469){_0xf47a7d(_0x1d9733[_0x198b00(0x121)]+_0x19b469);}}});}['initDataListener'](){const _0x3d4dd6=_0x5cf6ba,_0x5644fa={'OoWeo':function(_0x31ea84,_0x229718){return _0x31ea84===_0x229718;},'KyJaA':function(_0x37e85e,_0x20b00a){return _0x37e85e(_0x20b00a);},'xrfUi':function(_0xc8b53c,_0x18ea24){return _0xc8b53c+_0x18ea24;},'HHlsT':function(_0x3f6e2e,_0x1850a6){return _0x3f6e2e+_0x1850a6;},'FjbbY':'账号设备(','EkMMj':_0x3d4dd6(0xcf),'XPuuR':function(_0x53ec67,_0x496007){return _0x53ec67+_0x496007;},'nKVjE':function(_0x2b63d0,_0x16ece0){return _0x2b63d0/_0x16ece0;},'JPHdm':function(_0x3ce02c,_0x4095bc){return _0x3ce02c/_0x4095bc;},'rOGPI':function(_0x4602c0,_0x261302){return _0x4602c0===_0x261302;},'gACKr':_0x3d4dd6(0x146)},_0x327f48=new MsgListener();_0x327f48[_0x3d4dd6(0xe7)]=_0x2660b1=>{const _0x148643=_0x3d4dd6,_0x3052cc={'BNVBI':function(_0x380342,_0x2b01ef){const _0x2af5ed=_0xe79d;return _0x5644fa[_0x2af5ed(0xea)](_0x380342,_0x2b01ef);},'CCchd':function(_0x15ad91,_0x3dc15a){return _0x5644fa['KyJaA'](_0x15ad91,_0x3dc15a);},'xVnfW':function(_0x19e100,_0xea6889){const _0x1f2c4b=_0xe79d;return _0x5644fa[_0x1f2c4b(0x148)](_0x19e100,_0xea6889);},'bQnRf':function(_0x2f8410,_0x5b9e7b){const _0x472d75=_0xe79d;return _0x5644fa[_0x472d75(0xe3)](_0x2f8410,_0x5b9e7b);},'hpNFw':_0x5644fa[_0x148643(0x9c)],'JIRZn':_0x5644fa['EkMMj']};_0x2660b1[_0x148643(0xa7)](_0x490349=>{const _0x572d42=_0x148643;_0x3052cc[_0x572d42(0xcd)](_0x490349[_0x572d42(0xe9)],0x2)&&_0x3052cc[_0x572d42(0xa8)](log,_0x3052cc[_0x572d42(0xf8)](_0x3052cc[_0x572d42(0xbd)](_0x3052cc[_0x572d42(0x142)],_0x490349[_0x572d42(0x13a)]),_0x3052cc['JIRZn']));});},_0x327f48[_0x3d4dd6(0xde)]=_0x19b461=>{const _0x405b50=_0x3d4dd6;log(_0x5644fa['XPuuR'](_0x5644fa[_0x405b50(0xb0)]('[KickedOffLine]\x20[',_0x19b461[_0x405b50(0x150)])+']\x20',_0x19b461[_0x405b50(0x113)]));},_0x327f48[_0x3d4dd6(0xab)]=_0x5eef7a=>{const _0x375da0=_0x3d4dd6,_0x5e6bb9={'wZpds':function(_0x3da5fc,_0x5628cf){return _0x5644fa['OoWeo'](_0x3da5fc,_0x5628cf);}};stat[_0x375da0(0x126)]+=0x1,_0x5eef7a[_0x375da0(0xa7)](_0x243430=>{const _0x3c299b=_0x375da0;_0x5e6bb9[_0x3c299b(0x15f)](_0x243430[_0x3c299b(0xe1)],'0')?dbUtil[_0x3c299b(0x149)](_0x243430)['then']()[_0x3c299b(0x14d)]():dbUtil['getMsgByLongId'](_0x243430[_0x3c299b(0x119)])[_0x3c299b(0xdd)](_0x30a289=>{const _0x2dc3a8=_0x3c299b;_0x30a289&&(_0x30a289[_0x2dc3a8(0xe1)]=_0x243430[_0x2dc3a8(0xe1)],dbUtil[_0x2dc3a8(0x135)](_0x30a289)[_0x2dc3a8(0xdd)]());});});},_0x327f48['onAddSendMsg']=_0x406aa6=>{const _0xf12ee4=_0x3d4dd6;stat['packet_sent']+=0x1,stat[_0xf12ee4(0x158)]+=0x1,stat['last_message_time']=Math[_0xf12ee4(0xa9)](_0x5644fa[_0xf12ee4(0xd4)](Date[_0xf12ee4(0xf2)](),0x3e8));},_0x327f48[_0x3d4dd6(0x159)]=_0x206a28=>{const _0x338ef2=_0x3d4dd6;stat['packet_received']+=0x1,stat[_0x338ef2(0x156)]+=_0x206a28[_0x338ef2(0xb7)],stat[_0x338ef2(0x136)]=Math[_0x338ef2(0xa9)](_0x5644fa[_0x338ef2(0xf9)](Date['now'](),0x3e8));},_0x327f48[_0x3d4dd6(0xbe)]=(..._0x461ca0)=>{stat['packet_received']+=0x1;},this['addListener'](_0x327f48);const _0x6974ce=new BuddyListener();_0x6974ce[_0x3d4dd6(0xc2)]=_0x291931=>{const _0x1534ea=_0x3d4dd6;for(const _0x2f380b of _0x291931){for(const _0x435c5e of _0x2f380b['buddyList']){const _0x1c39ca=friends['get'](_0x435c5e[_0x1534ea(0xe2)]);uid2UinMap[_0x435c5e[_0x1534ea(0xe2)]]=_0x435c5e[_0x1534ea(0xfd)],_0x1c39ca?Object['assign'](_0x1c39ca,_0x435c5e):friends[_0x1534ea(0xb4)](_0x435c5e['uid'],_0x435c5e);}}},this[_0x3d4dd6(0x116)](_0x6974ce),this[_0x3d4dd6(0x120)][_0x3d4dd6(0x123)]()[_0x3d4dd6(0x108)](!![])[_0x3d4dd6(0xdd)](_0x76b13=>{});const _0x56cfcc=new ProfileListener();_0x56cfcc[_0x3d4dd6(0xb5)]=_0x413677=>{const _0x3f4893=_0x3d4dd6;_0x5644fa[_0x3f4893(0x12d)](_0x413677[_0x3f4893(0xe2)],selfInfo[_0x3f4893(0xe2)])&&Object['assign'](selfInfo,_0x413677);},_0x56cfcc[_0x3d4dd6(0xd7)]=_0x20498d=>{},this[_0x3d4dd6(0x116)](_0x56cfcc);const _0x2a09ef=new GroupListener();_0x2a09ef[_0x3d4dd6(0x141)]=(_0x1869bd,_0x3d24cf)=>{const _0x1aab31=_0x3d4dd6,_0x1f43c0={'lYMXT':_0x5644fa[_0x1aab31(0x107)]};_0x3d24cf[_0x1aab31(0xa7)](_0x27d6a3=>{const _0xf9949c=_0x1aab31,_0x2748d7=groups[_0xf9949c(0x9d)](_0x27d6a3[_0xf9949c(0xef)]);if(_0x2748d7)Object['assign'](_0x2748d7,_0x27d6a3);else{groups['set'](_0x27d6a3[_0xf9949c(0xef)],_0x27d6a3);const _0x348662=this[_0xf9949c(0x120)][_0xf9949c(0x100)]()[_0xf9949c(0xad)](_0x27d6a3[_0xf9949c(0xef)],_0x1f43c0[_0xf9949c(0x105)]);this[_0xf9949c(0x120)][_0xf9949c(0x100)]()[_0xf9949c(0x157)](_0x348662,undefined,0xbb8)[_0xf9949c(0xdd)](_0x57d14f=>{});}});},_0x2a09ef['onMemberListChange']=_0x193030=>{const _0x473533=_0x3d4dd6,_0x2f6e95=_0x193030[_0x473533(0xdc)][_0x473533(0x10e)]('_')[0x0];if(groupMembers['has'](_0x2f6e95)){const _0x3b6f12=groupMembers[_0x473533(0x9d)](_0x2f6e95);_0x193030[_0x473533(0x13c)]['forEach']((_0xcc88e2,_0x1f0c30)=>{const _0x467281=_0x473533,_0x3c6895=_0x3b6f12[_0x467281(0x9d)](_0x1f0c30);_0x3c6895?Object[_0x467281(0x153)](_0x3c6895,_0xcc88e2):_0x3b6f12['set'](_0x1f0c30,_0xcc88e2);});}else groupMembers['set'](_0x2f6e95,_0x193030['infos']);},_0x2a09ef['onMemberInfoChange']=(_0x40a6e3,_0x2773f1,_0x5c8af6)=>{const _0x32e972=_0x3d4dd6;_0x5c8af6['forEach']((_0x1c2cb7,_0x1681a2)=>{const _0xa3dc55=_0xe79d;uid2UinMap[_0x1681a2]=_0x1c2cb7[_0xa3dc55(0xfd)];});const _0x312b56=groupMembers['get'](_0x40a6e3);_0x312b56?_0x5c8af6[_0x32e972(0x101)]((_0x585aa2,_0x50f976)=>{const _0x4ad01e=_0x32e972,_0x276768=_0x312b56['get'](_0x50f976);_0x276768?Object[_0x4ad01e(0x153)](_0x276768,_0x585aa2):_0x312b56['set'](_0x50f976,_0x585aa2);}):groupMembers[_0x32e972(0xb4)](_0x40a6e3,_0x5c8af6);},this[_0x3d4dd6(0x116)](_0x2a09ef);}[_0x5cf6ba(0x116)](_0x134b05){const _0x41758d=_0x5cf6ba,_0x3fe7a0={'jYjeG':_0x41758d(0x106),'Wphig':_0x41758d(0xc5),'ODgLq':_0x41758d(0x127)};_0x134b05=new Proxy(_0x134b05,this[_0x41758d(0x14e)]);switch(_0x134b05[_0x41758d(0xce)][_0x41758d(0x147)]){case _0x3fe7a0[_0x41758d(0x9e)]:{return this[_0x41758d(0x120)][_0x41758d(0x123)]()[_0x41758d(0xd1)](new _0x4e07b2[(_0x41758d(0x15b))](_0x134b05));}case _0x41758d(0xaa):{return this[_0x41758d(0x120)][_0x41758d(0x100)]()['addKernelGroupListener'](new _0x4e07b2[(_0x41758d(0xe8))](_0x134b05));}case _0x3fe7a0[_0x41758d(0xd0)]:{return this[_0x41758d(0x120)][_0x41758d(0x132)]()['addKernelMsgListener'](new _0x4e07b2[(_0x41758d(0x110))](_0x134b05));}case _0x3fe7a0[_0x41758d(0xf0)]:{return this['session'][_0x41758d(0xeb)]()[_0x41758d(0x10f)](new _0x4e07b2[(_0x41758d(0xb3))](_0x134b05));}default:return-0x1;}}['onLoginSuccess'](_0x51ed48){const _0x23f818=_0x5cf6ba;this[_0x23f818(0x109)][_0x23f818(0xe6)](_0x51ed48);}async[_0x5cf6ba(0x13d)](_0x1bfa4f){const _0x2a8198=_0x5cf6ba,_0x4d594e={'XZoqv':_0x2a8198(0x13b),'uWURf':function(_0x1a4f81,_0x42f00d){return _0x1a4f81(_0x42f00d);},'voFxk':function(_0x58f0a6,_0x16e5da){return _0x58f0a6+_0x16e5da;},'TBIAt':'快速登录失败\x20'},_0x27cba7=await this['loginService'][_0x2a8198(0xc8)]();if(_0x27cba7['result']!==0x0)throw new Error(_0x4d594e[_0x2a8198(0x162)]);const _0x107ed3=_0x27cba7[_0x2a8198(0xac)][_0x2a8198(0xff)](_0xe342aa=>_0xe342aa[_0x2a8198(0xfd)]===_0x1bfa4f);if(!_0x107ed3||!_0x107ed3?.[_0x2a8198(0x14b)])throw new Error(_0x1bfa4f+'快速登录不可用');await _0x4d594e[_0x2a8198(0xd5)](sleep,0x3e8);const _0x5459ea=await this[_0x2a8198(0xaf)][_0x2a8198(0xf7)](_0x1bfa4f);if(!_0x5459ea[_0x2a8198(0xbc)])throw new Error(_0x4d594e['voFxk'](_0x4d594e[_0x2a8198(0x164)],_0x5459ea[_0x2a8198(0x125)][_0x2a8198(0xdf)]));return _0x5459ea;}async['qrLogin'](){const _0x186feb=_0x5cf6ba,_0x2be612={'pOvcz':_0x186feb(0x134),'UyYGs':_0x186feb(0xcb),'nWZNc':_0x186feb(0x102),'ktpYr':function(_0xde21df,_0x338855){return _0xde21df(_0x338855);},'mZMjW':function(_0x4bdf20,_0xd99f0b,_0x202e51){return _0x4bdf20(_0xd99f0b,_0x202e51);}};let _0x56d7cb=![];return new Promise((_0x152f6d,_0x18388d)=>{const _0x4306c6=_0x186feb,_0x12c074={'mQNmR':function(_0x46769d,_0x13c1b5){return _0x46769d(_0x13c1b5);},'GGnKP':_0x2be612[_0x4306c6(0xa3)],'gSlKf':_0x2be612[_0x4306c6(0x115)],'BzHqO':_0x2be612[_0x4306c6(0xfa)],'PQkiR':function(_0x301399,_0x126992){const _0x5696cf=_0x4306c6;return _0x2be612[_0x5696cf(0xcc)](_0x301399,_0x126992);}};_0x2be612['mZMjW'](setTimeout,()=>{const _0x4962f5=_0x4306c6;!_0x56d7cb&&_0x12c074[_0x4962f5(0x130)](_0x18388d,_0x12c074[_0x4962f5(0x140)]);},0x2710),this[_0x4306c6(0x14c)]['onQRCodeGetPicture']=_0x30eca0=>{const _0x4a17d0=_0x4306c6;_0x56d7cb=!![];const _0x3756c1=_0x30eca0[_0x4a17d0(0x12f)][_0x4a17d0(0x10e)](_0x12c074[_0x4a17d0(0xa0)])[0x1],_0x15c8b7=Buffer['from'](_0x3756c1,_0x12c074['BzHqO']);_0x12c074[_0x4a17d0(0x139)](_0x152f6d,{'url':_0x30eca0['qrcodeUrl'],'base64':_0x30eca0[_0x4a17d0(0x12f)],'buffer':_0x15c8b7});},this[_0x4306c6(0xaf)][_0x4306c6(0x10a)]();});}async['passwordLogin'](_0x47a438,_0x23e469,_0x3e76bd,_0x33bf2c,_0x152802){const _0x4c7e4c=_0x5cf6ba,_0x559dbd={'gEtzv':_0x4c7e4c(0xb8),'jOfkI':_0x4c7e4c(0xfc),'ECKnf':function(_0x4d7290,_0xe0a73){return _0x4d7290&&_0xe0a73;},'QAYjo':function(_0x33732f,_0x1087a1){return _0x33732f||_0x1087a1;},'nwAhJ':function(_0x4e38e3,_0x32092a){return _0x4e38e3(_0x32092a);},'iUbxH':_0x4c7e4c(0xf4),'prOZM':'140022013'},_0x37bba5=_0x5c2610[_0x4c7e4c(0xae)](_0x559dbd[_0x4c7e4c(0xd8)])['update'](_0x23e469)[_0x4c7e4c(0x15d)](_0x559dbd['jOfkI']),_0x45844e={'uin':_0x47a438,'passwordMd5':_0x37bba5,'step':_0x559dbd[_0x4c7e4c(0xa5)](_0x3e76bd,_0x33bf2c)&&_0x152802?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x559dbd[_0x4c7e4c(0xf1)](_0x3e76bd,''),'proofWaterRand':_0x559dbd[_0x4c7e4c(0xf1)](_0x33bf2c,''),'proofWaterSid':_0x559dbd[_0x4c7e4c(0xf1)](_0x152802,'')};await this[_0x4c7e4c(0xaf)][_0x4c7e4c(0xc8)](),await _0x559dbd[_0x4c7e4c(0xa6)](sleep,0x3e8);const _0x2cb7bd=await this['loginService'][_0x4c7e4c(0xdb)](_0x45844e);switch(_0x2cb7bd['result']){case'0':{break;}case _0x559dbd[_0x4c7e4c(0x112)]:{break;}case'4':case _0x559dbd[_0x4c7e4c(0xb6)]:default:}}}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 00a6d9e0..c06d43a8 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x5d491c=_0x5a80;(function(_0x4e8114,_0x27d62d){const _0x1c8e99=_0x5a80,_0x4d2fcb=_0x4e8114();while(!![]){try{const _0x10c59b=parseInt(_0x1c8e99(0x183))/0x1*(parseInt(_0x1c8e99(0x18b))/0x2)+-parseInt(_0x1c8e99(0x18d))/0x3+-parseInt(_0x1c8e99(0x182))/0x4*(-parseInt(_0x1c8e99(0x188))/0x5)+-parseInt(_0x1c8e99(0x185))/0x6*(-parseInt(_0x1c8e99(0x195))/0x7)+parseInt(_0x1c8e99(0x17f))/0x8+parseInt(_0x1c8e99(0x18a))/0x9+-parseInt(_0x1c8e99(0x189))/0xa;if(_0x10c59b===_0x27d62d)break;else _0x4d2fcb['push'](_0x4d2fcb['shift']());}catch(_0xb1905c){_0x4d2fcb['push'](_0x4d2fcb['shift']());}}}(_0x4a85,0x591f9));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0xef88b0){const _0x488f79=_0x5a80;groups[_0x488f79(0x186)](_0xef88b0),groupMembers[_0x488f79(0x186)](_0xef88b0);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};function _0x5a80(_0x5b8df7,_0x24dd00){const _0x4a85ae=_0x4a85();return _0x5a80=function(_0x5a8071,_0x59711e){_0x5a8071=_0x5a8071-0x17f;let _0x1c913f=_0x4a85ae[_0x5a8071];return _0x1c913f;},_0x5a80(_0x5b8df7,_0x24dd00);}export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x5d491c(0x193)};export async function getFriend(_0x5be7d7){const _0x2a912b=_0x5d491c,_0x2d4987={'IqCyC':function(_0x3cd955,_0x46bdcb){return _0x3cd955(_0x46bdcb);}};_0x5be7d7=_0x5be7d7[_0x2a912b(0x191)]();if(_0x2d4987['IqCyC'](isNumeric,_0x5be7d7)){const _0x59b63f=Array[_0x2a912b(0x190)](friends[_0x2a912b(0x192)]());return _0x59b63f[_0x2a912b(0x187)](_0x140e4a=>_0x140e4a['uin']===_0x5be7d7);}else return friends[_0x2a912b(0x18e)](_0x5be7d7);}export async function getGroup(_0x158831){const _0x412fa4=_0x5d491c;let _0x3f24f3=groups['get'](_0x158831[_0x412fa4(0x191)]());if(!_0x3f24f3)try{const _0x25610a=await NTQQGroupApi[_0x412fa4(0x196)]();_0x25610a[_0x412fa4(0x184)]&&_0x25610a['forEach'](_0x52bb97=>{const _0x22d132=_0x412fa4;groups['set'](_0x52bb97[_0x22d132(0x194)],_0x52bb97);});}catch(_0xd40033){return undefined;}return _0x3f24f3=groups[_0x412fa4(0x18e)](_0x158831[_0x412fa4(0x191)]()),_0x3f24f3;}export async function getGroupMember(_0x11a04a,_0x37c4da){const _0x12dc94=_0x5d491c,_0x52aac8={'btEuZ':function(_0x474845){return _0x474845();}};_0x11a04a=_0x11a04a['toString'](),_0x37c4da=_0x37c4da[_0x12dc94(0x191)]();let _0x3367d4=groupMembers[_0x12dc94(0x18e)](_0x11a04a);if(!_0x3367d4)try{_0x3367d4=await NTQQGroupApi[_0x12dc94(0x18c)](_0x11a04a),groupMembers[_0x12dc94(0x18f)](_0x11a04a,_0x3367d4);}catch(_0x5a7dc9){return null;}const _0x2368d8=()=>{const _0x7e42df=_0x12dc94;let _0x501631=undefined;return isNumeric(_0x37c4da)?_0x501631=Array[_0x7e42df(0x190)](_0x3367d4[_0x7e42df(0x192)]())[_0x7e42df(0x187)](_0x123710=>_0x123710[_0x7e42df(0x181)]===_0x37c4da):_0x501631=_0x3367d4[_0x7e42df(0x18e)](_0x37c4da),_0x501631;};let _0x2b8c03=_0x2368d8();return!_0x2b8c03&&(_0x3367d4=await NTQQGroupApi[_0x12dc94(0x18c)](_0x11a04a),_0x2b8c03=_0x52aac8[_0x12dc94(0x180)](_0x2368d8)),_0x2b8c03;}export const uid2UinMap={};function _0x4a85(){const _0x492c25=['60vOKsTE','length','1457256CVVrgW','delete','find','5YScrWC','14498570UIkFxT','2048418RcsWnA','22282jbRHtJ','getGroupMembers','898854VzLire','get','set','from','toString','values','NapCat未能正常启动,请检查日志查看错误','groupCode','7HmakNT','getGroups','5244344tYaGkl','btEuZ','uin','1280172QwKeFD'];_0x4a85=function(){return _0x492c25;};return _0x4a85();}export function getUidByUin(_0xdc0708){for(const _0x339a30 in uid2UinMap){if(uid2UinMap[_0x339a30]===_0xdc0708)return _0x339a30;}}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(_0x3d59ec,_0x3ed073){const _0x49ffc8=_0x3147,_0xff8478=_0x3d59ec();while(!![]){try{const _0x302823=-parseInt(_0x49ffc8(0xd6))/0x1*(-parseInt(_0x49ffc8(0xd1))/0x2)+parseInt(_0x49ffc8(0xcb))/0x3*(-parseInt(_0x49ffc8(0xdd))/0x4)+-parseInt(_0x49ffc8(0xdc))/0x5+-parseInt(_0x49ffc8(0xde))/0x6+parseInt(_0x49ffc8(0xd8))/0x7*(-parseInt(_0x49ffc8(0xdf))/0x8)+parseInt(_0x49ffc8(0xd4))/0x9+parseInt(_0x49ffc8(0xca))/0xa*(parseInt(_0x49ffc8(0xd7))/0xb);if(_0x302823===_0x3ed073)break;else _0xff8478['push'](_0xff8478['shift']());}catch(_0x4af7bf){_0xff8478['push'](_0xff8478['shift']());}}}(_0x1921,0x3c510));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x4759b6){const _0x901d1b=_0x3147;groups[_0x901d1b(0xc9)](_0x4759b6),groupMembers[_0x901d1b(0xc9)](_0x4759b6);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x47b838){const _0x5bafba=_0x3147,_0xccd218={'Bpyuv':function(_0x471b12,_0x1e032d){return _0x471b12(_0x1e032d);}};_0x47b838=_0x47b838[_0x5bafba(0xcd)]();if(_0xccd218['Bpyuv'](isNumeric,_0x47b838)){const _0xf929ee=Array[_0x5bafba(0xd0)](friends[_0x5bafba(0xd3)]());return _0xf929ee[_0x5bafba(0xce)](_0x4002f8=>_0x4002f8[_0x5bafba(0xda)]===_0x47b838);}else return friends['get'](_0x47b838);}export async function getGroup(_0x49e00e){const _0x27844a=_0x3147;let _0x25aefc=groups['get'](_0x49e00e[_0x27844a(0xcd)]());if(!_0x25aefc)try{const _0x2ddf18=await NTQQGroupApi[_0x27844a(0xcc)]();_0x2ddf18['length']&&_0x2ddf18['forEach'](_0x81cbad=>{groups['set'](_0x81cbad['groupCode'],_0x81cbad);});}catch(_0x384c9f){return undefined;}return _0x25aefc=groups['get'](_0x49e00e[_0x27844a(0xcd)]()),_0x25aefc;}export async function getGroupMember(_0x73953d,_0x345f2b){const _0x47f4d6=_0x3147,_0x18b599={'zNPXS':function(_0x59f911,_0x5dd9bb){return _0x59f911(_0x5dd9bb);},'pJasP':function(_0x2c3a18){return _0x2c3a18();}};_0x73953d=_0x73953d[_0x47f4d6(0xcd)](),_0x345f2b=_0x345f2b['toString']();let _0x2d8dea=groupMembers['get'](_0x73953d);if(!_0x2d8dea)try{_0x2d8dea=await NTQQGroupApi[_0x47f4d6(0xdb)](_0x73953d),groupMembers[_0x47f4d6(0xd5)](_0x73953d,_0x2d8dea);}catch(_0x3d8540){return null;}const _0x5bd497=()=>{const _0x4b2f43=_0x47f4d6;let _0x5e4c89=undefined;return _0x18b599[_0x4b2f43(0xd2)](isNumeric,_0x345f2b)?_0x5e4c89=Array[_0x4b2f43(0xd0)](_0x2d8dea[_0x4b2f43(0xd3)]())['find'](_0x5af490=>_0x5af490[_0x4b2f43(0xda)]===_0x345f2b):_0x5e4c89=_0x2d8dea[_0x4b2f43(0xd9)](_0x345f2b),_0x5e4c89;};let _0x5daed6=_0x18b599['pJasP'](_0x5bd497);return!_0x5daed6&&(_0x2d8dea=await NTQQGroupApi[_0x47f4d6(0xdb)](_0x73953d),_0x5daed6=_0x18b599[_0x47f4d6(0xcf)](_0x5bd497)),_0x5daed6;}export const uid2UinMap={};function _0x3147(_0xfdd785,_0x23fd64){const _0x19215a=_0x1921();return _0x3147=function(_0x314752,_0x433251){_0x314752=_0x314752-0xc9;let _0x5cdaae=_0x19215a[_0x314752];return _0x5cdaae;},_0x3147(_0xfdd785,_0x23fd64);}export function getUidByUin(_0x4bcc9c){for(const _0x5f1a90 in uid2UinMap){if(uid2UinMap[_0x5f1a90]===_0x4bcc9c)return _0x5f1a90;}}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};function _0x1921(){const _0x18f478=['8weWJxs','zNPXS','values','4258818IWnhAn','set','92413PnXTtT','44warNKt','4578cwzPbK','get','uin','getGroupMembers','57275YTJGEh','140wNwqIN','1429092dUmBPm','4856lbRDUb','delete','512830LGLNEj','13227WuAOlF','getGroups','toString','find','pJasP','from'];_0x1921=function(){return _0x18f478;};return _0x1921();} \ 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 aa1c650d..b7234996 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x21292d,_0x27dc32){var _0x4983a9=_0x285a,_0x31a542=_0x21292d();while(!![]){try{var _0x5b0103=-parseInt(_0x4983a9(0x1ca))/0x1*(parseInt(_0x4983a9(0x1c4))/0x2)+parseInt(_0x4983a9(0x1c2))/0x3*(-parseInt(_0x4983a9(0x1b9))/0x4)+-parseInt(_0x4983a9(0x1c1))/0x5*(parseInt(_0x4983a9(0x1c9))/0x6)+parseInt(_0x4983a9(0x1bd))/0x7+-parseInt(_0x4983a9(0x1c8))/0x8+-parseInt(_0x4983a9(0x1bb))/0x9+-parseInt(_0x4983a9(0x1bf))/0xa*(-parseInt(_0x4983a9(0x1c3))/0xb);if(_0x5b0103===_0x27dc32)break;else _0x31a542['push'](_0x31a542['shift']());}catch(_0x40a87f){_0x31a542['push'](_0x31a542['shift']());}}}(_0x22e6,0x3f2a3));export var CacheFileType;(function(_0x27a6e1){var _0x3ad757=_0x285a,_0x3380fa={'YNWAB':_0x3ad757(0x1ba),'CtXxl':_0x3ad757(0x1c6),'bxFNV':_0x3ad757(0x1c5),'BRuqs':'DOCUMENT','cKdBc':'OTHER'};_0x27a6e1[_0x27a6e1[_0x3380fa[_0x3ad757(0x1c0)]]=0x0]=_0x3380fa[_0x3ad757(0x1c0)],_0x27a6e1[_0x27a6e1[_0x3380fa[_0x3ad757(0x1cb)]]=0x1]=_0x3ad757(0x1c6),_0x27a6e1[_0x27a6e1[_0x3380fa[_0x3ad757(0x1be)]]=0x2]=_0x3380fa[_0x3ad757(0x1be)],_0x27a6e1[_0x27a6e1[_0x3ad757(0x1b8)]=0x3]=_0x3380fa[_0x3ad757(0x1bc)],_0x27a6e1[_0x27a6e1[_0x3380fa[_0x3ad757(0x1c7)]]=0x4]=_0x3380fa['cKdBc'];}(CacheFileType||(CacheFileType={})));function _0x285a(_0x21345e,_0x2c00a8){var _0x22e680=_0x22e6();return _0x285a=function(_0x285adc,_0x3379f){_0x285adc=_0x285adc-0x1b8;var _0x21e7d0=_0x22e680[_0x285adc];return _0x21e7d0;},_0x285a(_0x21345e,_0x2c00a8);}function _0x22e6(){var _0x302f3d=['291435OJpYZY','3WzxJaJ','418oRuEmm','2fhSawL','AUDIO','VIDEO','cKdBc','82992XCzyrX','6iqckWR','196348xqcoPO','CtXxl','DOCUMENT','1722188qeKQyA','IMAGE','32589QdUjUa','BRuqs','2815848mOoKqm','bxFNV','146220NRqSzN','YNWAB'];_0x22e6=function(){return _0x302f3d;};return _0x22e6();} \ No newline at end of file +(function(_0x6cb6e4,_0x381f8e){var _0x3ff6be=_0x1a22,_0xd734b5=_0x6cb6e4();while(!![]){try{var _0x2f9a7b=parseInt(_0x3ff6be(0xa3))/0x1*(parseInt(_0x3ff6be(0xb3))/0x2)+-parseInt(_0x3ff6be(0xa8))/0x3+-parseInt(_0x3ff6be(0xb2))/0x4*(-parseInt(_0x3ff6be(0xa0))/0x5)+parseInt(_0x3ff6be(0xa9))/0x6*(-parseInt(_0x3ff6be(0xa4))/0x7)+-parseInt(_0x3ff6be(0xaf))/0x8*(parseInt(_0x3ff6be(0xae))/0x9)+parseInt(_0x3ff6be(0xa1))/0xa*(-parseInt(_0x3ff6be(0xb1))/0xb)+parseInt(_0x3ff6be(0xad))/0xc*(parseInt(_0x3ff6be(0xac))/0xd);if(_0x2f9a7b===_0x381f8e)break;else _0xd734b5['push'](_0xd734b5['shift']());}catch(_0x797491){_0xd734b5['push'](_0xd734b5['shift']());}}}(_0x4d60,0x1f2c7));export var CacheFileType;(function(_0x12de4b){var _0x580846=_0x1a22,_0x5f23a1={'mtWjY':_0x580846(0xa5),'Ijjcz':_0x580846(0x9f),'YFxxZ':'AUDIO','pVABp':'DOCUMENT','rfZyx':_0x580846(0xa2)};_0x12de4b[_0x12de4b[_0x580846(0xa5)]=0x0]=_0x5f23a1['mtWjY'],_0x12de4b[_0x12de4b[_0x5f23a1[_0x580846(0xa7)]]=0x1]=_0x580846(0x9f),_0x12de4b[_0x12de4b[_0x580846(0xa6)]=0x2]=_0x5f23a1[_0x580846(0xb0)],_0x12de4b[_0x12de4b[_0x5f23a1['pVABp']]=0x3]=_0x5f23a1[_0x580846(0xaa)],_0x12de4b[_0x12de4b[_0x580846(0xa2)]=0x4]=_0x5f23a1[_0x580846(0xab)];}(CacheFileType||(CacheFileType={})));function _0x1a22(_0x2227b3,_0x25318c){var _0x4d6004=_0x4d60();return _0x1a22=function(_0x1a2274,_0x593518){_0x1a2274=_0x1a2274-0x9f;var _0x13692e=_0x4d6004[_0x1a2274];return _0x13692e;},_0x1a22(_0x2227b3,_0x25318c);}function _0x4d60(){var _0x1e1c9b=['10dknZLv','OTHER','3979kAORdX','441idObIS','IMAGE','AUDIO','Ijjcz','99486ptWtFv','12972hWoynO','pVABp','rfZyx','2510365ycZDld','24ckUCYl','569133mqrUfK','16MWbzmT','YFxxZ','1442221yrCgBS','339484jRiwNX','42ZPItIp','VIDEO','5aYWhzZ'];_0x4d60=function(){return _0x1e1c9b;};return _0x4d60();} \ 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 b58616f5..1aafdfab 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x29f748=_0x25c4;(function(_0xdf64f1,_0x3ce052){const _0x3077a4=_0x25c4,_0x37f072=_0xdf64f1();while(!![]){try{const _0x735606=-parseInt(_0x3077a4(0x19c))/0x1*(parseInt(_0x3077a4(0x162))/0x2)+-parseInt(_0x3077a4(0x1a1))/0x3*(parseInt(_0x3077a4(0x186))/0x4)+-parseInt(_0x3077a4(0x1a6))/0x5+-parseInt(_0x3077a4(0x19a))/0x6*(parseInt(_0x3077a4(0x1a2))/0x7)+parseInt(_0x3077a4(0x196))/0x8+parseInt(_0x3077a4(0x161))/0x9+parseInt(_0x3077a4(0x165))/0xa;if(_0x735606===_0x3ce052)break;else _0x37f072['push'](_0x37f072['shift']());}catch(_0x449ce6){_0x37f072['push'](_0x37f072['shift']());}}}(_0x5ce0,0xc4d80));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3e44a3}from'node:fs';import _0x4d75c9 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x5ce0(){const _0x2bf0e4=['VYoWJ','normal2','stat','WrSiv','REPLY','string','PVMZn','file','IbQqq','[包剪锤]','sep','dirname','mp4','sCUJs','error','145608qInDOZ','time','JlORw','GBrCY','getImageSize','normal','MFACE','获取视频信息失败','nBGfS','VIDEO','lUGqo','toString','FACE','CrojM','face','FILE','3998880gaGSMe','_0.png','TEXT','文件异常,大小为0','14970MYXSmy','QmRbT','121RfTtSG','qjPqW','vRdka','copyFile','end','111ODJPwC','658FKFmIr','bqNnp','get','jpg','979045PKDnsr','DVMYv','JXzzc','text','set','dice','PTT','uploadFile','VHqUm','NMjGy','qVTug','catch','rps','jiQZn','qJnrZ','zfKpw','获取视频封面失败,使用默认封面','width','markdown','12280158qRNOuF','10882ztHacQ','GoUyp','path','13775240NuckCM','rGZuH','screenshots','height','video','yMUAT','giiUX','then','PIC','gif','Ori','Thumb','ARK','pic','视频信息','stringify','[骰子]','ark'];_0x5ce0=function(){return _0x2bf0e4;};return _0x5ce0();}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';function _0x25c4(_0x562a7a,_0x48fddd){const _0x5ce075=_0x5ce0();return _0x25c4=function(_0x25c4d1,_0x3526bc){_0x25c4d1=_0x25c4d1-0x158;let _0x2764b4=_0x5ce075[_0x25c4d1];return _0x2764b4;},_0x25c4(_0x562a7a,_0x48fddd);}import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x29f748(0x1a9)](_0x4613a9){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x4613a9,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2c5eb0,_0x4877c6,_0x452a41,_0x81ff12){const _0x3f54da=_0x29f748;return{'elementType':ElementType[_0x3f54da(0x198)],'elementId':'','textElement':{'content':'@'+_0x81ff12,'atType':_0x452a41,'atUid':_0x2c5eb0,'atTinyId':'','atNtUid':_0x4877c6}};}static['reply'](_0x302268,_0xe25c5a,_0x39e926,_0x1d2a7b){const _0x3dec47=_0x29f748;return{'elementType':ElementType[_0x3dec47(0x17b)],'elementId':'','replyElement':{'replayMsgSeq':_0x302268,'replayMsgId':_0xe25c5a,'senderUin':_0x39e926,'senderUinStr':_0x1d2a7b}};}static async[_0x29f748(0x172)](_0x2b759f,_0x5dd59='',_0x3efc0c=0x0){const _0x1708d1=_0x29f748,_0x364b12={'xspBk':function(_0x18bfd2,_0x360510){return _0x18bfd2===_0x360510;},'qJnrZ':_0x1708d1(0x199),'zfKpw':function(_0x4eab26,_0x2e883f,_0xf865f8){return _0x4eab26(_0x2e883f,_0xf865f8);},'NMjGy':'图片信息'},{md5:_0x77e92a,fileName:_0x2696d4,path:_0x446c0f,fileSize:_0x1c5ed2}=await NTQQFileApi['uploadFile'](_0x2b759f,ElementType[_0x1708d1(0x16d)],_0x3efc0c);if(_0x364b12['xspBk'](_0x1c5ed2,0x0))throw _0x364b12[_0x1708d1(0x15c)];const _0x5f4e25=await NTQQFileApi[_0x1708d1(0x18a)](_0x2b759f),_0x235d14={'md5HexStr':_0x77e92a,'fileSize':_0x1c5ed2[_0x1708d1(0x191)](),'picWidth':_0x5f4e25?.[_0x1708d1(0x15f)],'picHeight':_0x5f4e25?.[_0x1708d1(0x168)],'fileName':_0x2696d4,'sourcePath':_0x446c0f,'original':!![],'picType':isGIF(_0x2b759f)?PicType[_0x1708d1(0x16e)]:PicType[_0x1708d1(0x1a5)],'picSubType':_0x3efc0c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5dd59};return _0x364b12[_0x1708d1(0x15d)](logDebug,_0x364b12[_0x1708d1(0x1af)],_0x235d14),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x235d14};}static async[_0x29f748(0x17e)](_0x8c4bfd,_0x36f0e5=''){const _0x30bfbd=_0x29f748,_0x4df9b9={'giiUX':function(_0x123cd0,_0x2b7c56){return _0x123cd0===_0x2b7c56;},'lmkmk':_0x30bfbd(0x199),'DVMYv':function(_0x2046af,_0x335cc2){return _0x2046af||_0x335cc2;}},{md5:_0x4b06d9,fileName:_0x366faa,path:_0xaca1f0,fileSize:_0x16dfb1}=await NTQQFileApi['uploadFile'](_0x8c4bfd,ElementType[_0x30bfbd(0x195)]);if(_0x4df9b9[_0x30bfbd(0x16b)](_0x16dfb1,0x0))throw _0x4df9b9['lmkmk'];const _0x59dde7={'elementType':ElementType[_0x30bfbd(0x195)],'elementId':'','fileElement':{'fileName':_0x4df9b9[_0x30bfbd(0x1a7)](_0x36f0e5,_0x366faa),'filePath':_0xaca1f0,'fileSize':_0x16dfb1['toString']()}};return _0x59dde7;}static async[_0x29f748(0x169)](_0x2ddf84,_0x2bf334='',_0x1ffee7=''){const _0x32bedd=_0x29f748,_0x1eda28={'sCUJs':function(_0x240453,_0x36d3d8){return _0x240453(_0x36d3d8);},'PVMZn':function(_0x3716d2,_0x37cd6e,_0xe25c54){return _0x3716d2(_0x37cd6e,_0xe25c54);},'bboZr':_0x32bedd(0x15e),'yMUAT':function(_0x2d8f0a,_0x11e3a2){return _0x2d8f0a(_0x11e3a2);},'nBGfS':_0x32bedd(0x1a0),'WrSiv':_0x32bedd(0x185),'bqNnp':function(_0x337096,_0x140c53){return _0x337096+_0x140c53;},'ezWQN':function(_0x3e376b,_0x546b44){return _0x3e376b+_0x546b44;},'CrojM':function(_0x3dab65,_0x411886){return _0x3dab65===_0x411886;},'Lazqz':'文件异常,大小为0','qjPqW':_0x32bedd(0x164),'UQPoH':_0x32bedd(0x183),'GoUyp':_0x32bedd(0x173),'JlORw':function(_0x16911f,_0x456f32,_0x2b9a66){return _0x16911f(_0x456f32,_0x2b9a66);},'jiQZn':_0x32bedd(0x18d),'VHqUm':function(_0x286862,_0x5564a2){return _0x286862(_0x5564a2);},'CIvjW':function(_0x1b2766,_0x240b57){return _0x1b2766||_0x240b57;},'GBrCY':function(_0x13b2b6,_0x39b385){return _0x13b2b6+_0x39b385;}},{fileName:_0x47144e,path:_0x5ad08b,fileSize:_0x18dea7,md5:_0x1c75ff}=await NTQQFileApi['uploadFile'](_0x2ddf84,ElementType['VIDEO']);if(_0x1eda28[_0x32bedd(0x193)](_0x18dea7,0x0))throw _0x1eda28['Lazqz'];const _0x3b88cd=require(_0x1eda28[_0x32bedd(0x19d)]);let _0x294725=_0x5ad08b['replace'](_0x3b88cd[_0x32bedd(0x181)]+_0x32bedd(0x16f)+_0x3b88cd[_0x32bedd(0x181)],_0x3b88cd[_0x32bedd(0x181)]+_0x32bedd(0x170)+_0x3b88cd['sep']);_0x294725=_0x3b88cd[_0x32bedd(0x182)](_0x294725);let _0x58f1ea={'width':0x780,'height':0x438,'time':0xf,'format':_0x1eda28['UQPoH'],'size':_0x18dea7,'filePath':_0x2ddf84};try{_0x58f1ea=await getVideoInfo(_0x5ad08b),_0x1eda28['PVMZn'](logDebug,_0x1eda28[_0x32bedd(0x163)],_0x58f1ea);}catch(_0x26f4af){_0x1eda28[_0x32bedd(0x188)](logError,_0x1eda28[_0x32bedd(0x15b)],_0x26f4af);}const _0x597196=new Promise((_0xd06cb0,_0x1f1647)=>{const _0x1b7f21=_0x32bedd,_0x45d541=_0x1c75ff+_0x1b7f21(0x197),_0x5e8c2e=_0x3b88cd['join'](_0x294725,_0x45d541);_0x4d75c9(_0x2ddf84)['on'](_0x1eda28[_0x1b7f21(0x18e)],()=>{})['on'](_0x1eda28[_0x1b7f21(0x17a)],_0x56ebb6=>{const _0x5207e6=_0x1b7f21,_0x49443c={'JXzzc':function(_0x150ee9,_0x586c6f){const _0x572b2f=_0x25c4;return _0x1eda28[_0x572b2f(0x184)](_0x150ee9,_0x586c6f);}};_0x1eda28[_0x5207e6(0x17d)](logDebug,_0x1eda28['bboZr'],_0x56ebb6),_0x1ffee7?_0x3e44a3[_0x5207e6(0x19f)](_0x1ffee7,_0x5e8c2e)[_0x5207e6(0x16c)](()=>{const _0x3d00e1=_0x5207e6;_0x49443c[_0x3d00e1(0x1a8)](_0xd06cb0,_0x5e8c2e);})[_0x5207e6(0x159)](_0x1f1647):_0x3e44a3['writeFile'](_0x5e8c2e,defaultVideoThumb)['then'](()=>{_0xd06cb0(_0x5e8c2e);})[_0x5207e6(0x159)](_0x1f1647);})[_0x1b7f21(0x167)]({'timestamps':[0x0],'filename':_0x45d541,'folder':_0x294725,'size':_0x1eda28[_0x1b7f21(0x1a3)](_0x1eda28['ezWQN'](_0x58f1ea['width'],'x'),_0x58f1ea[_0x1b7f21(0x168)])})['on'](_0x1eda28[_0x1b7f21(0x18e)],()=>{const _0x2ccb1f=_0x1b7f21;_0x1eda28[_0x2ccb1f(0x16a)](_0xd06cb0,_0x5e8c2e);});}),_0x55147d=new Map(),_0x4683bf=await _0x597196,_0x5fa3d3=(await _0x3e44a3[_0x32bedd(0x179)](_0x4683bf))['size'];_0x55147d[_0x32bedd(0x1aa)](0x0,_0x4683bf);const _0x4c36da=await _0x1eda28[_0x32bedd(0x1ae)](calculateFileMD5,_0x4683bf),_0x50e71f={'elementType':ElementType[_0x32bedd(0x18f)],'elementId':'','videoElement':{'fileName':_0x1eda28['CIvjW'](_0x2bf334,_0x47144e),'filePath':_0x5ad08b,'videoMd5':_0x1c75ff,'thumbMd5':_0x4c36da,'fileTime':_0x58f1ea[_0x32bedd(0x187)],'thumbPath':_0x55147d,'thumbSize':_0x5fa3d3,'thumbWidth':_0x58f1ea[_0x32bedd(0x15f)],'thumbHeight':_0x58f1ea['height'],'fileSize':_0x1eda28[_0x32bedd(0x189)]('',_0x18dea7)}};return _0x50e71f;}static async['ptt'](_0x68cbaf){const _0x4bb6ff=_0x29f748,_0x33cc9f={'IbsCW':function(_0x2fb52f,_0x2b72ec){return _0x2fb52f(_0x2b72ec);},'vRdka':'语音转换失败,\x20请检查语音文件是否正常','qVTug':function(_0x3524df,_0x48e3e9){return _0x3524df===_0x48e3e9;},'rGZuH':_0x4bb6ff(0x199)},{converted:_0x3fabb1,path:_0x383036,duration:_0xbbf255}=await _0x33cc9f['IbsCW'](encodeSilk,_0x68cbaf);if(!_0x383036)throw _0x33cc9f[_0x4bb6ff(0x19e)];const {md5:_0x6d650f,fileName:_0x39e38f,path:_0x225dfb,fileSize:_0x399cdc}=await NTQQFileApi[_0x4bb6ff(0x1ad)](_0x383036,ElementType[_0x4bb6ff(0x1ac)]);if(_0x33cc9f[_0x4bb6ff(0x158)](_0x399cdc,0x0))throw _0x33cc9f[_0x4bb6ff(0x166)];return _0x3fabb1&&_0x3e44a3['unlink'](_0x383036)[_0x4bb6ff(0x16c)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x39e38f,'filePath':_0x225dfb,'md5HexStr':_0x6d650f,'fileSize':_0x399cdc,'duration':_0xbbf255||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[_0x29f748(0x194)](_0x3c6a6b){const _0x23f821=_0x29f748,_0x261a70={'XvXXM':function(_0x4709f8,_0xa2d66b){return _0x4709f8<_0xa2d66b;}};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x3c6a6b,'faceType':_0x261a70['XvXXM'](_0x3c6a6b,0xde)?FaceType[_0x23f821(0x18b)]:FaceType[_0x23f821(0x178)]}};}static['mface'](_0x389aea,_0x5e7ad2,_0x557691,_0x17b29c){const _0x98d8fd=_0x29f748,_0x3a4ddb={'QmRbT':'[商城表情]'};return{'elementType':ElementType[_0x98d8fd(0x18c)],'marketFaceElement':{'emojiPackageId':_0x389aea,'emojiId':_0x5e7ad2,'key':_0x557691,'faceName':_0x17b29c||mFaceCache[_0x98d8fd(0x1a4)](_0x5e7ad2)||_0x3a4ddb[_0x98d8fd(0x19b)]}};}static['dice'](_0x5d2758){const _0x3525cb=_0x29f748;return{'elementType':ElementType[_0x3525cb(0x192)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3525cb(0x1ab)],'faceType':FaceType[_0x3525cb(0x1ab)],'faceText':_0x3525cb(0x175),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x29f748(0x15a)](_0xb695b7){const _0x4e3094=_0x29f748,_0x333530={'lUGqo':_0x4e3094(0x180)};return{'elementType':ElementType[_0x4e3094(0x192)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x333530[_0x4e3094(0x190)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x29f748(0x176)](_0x77921f){const _0x2d635f=_0x29f748,_0x5a6923={'VYoWJ':function(_0x5f3318,_0x17ddab){return _0x5f3318!==_0x17ddab;},'IbQqq':_0x2d635f(0x17c)};return _0x5a6923[_0x2d635f(0x177)](typeof _0x77921f,_0x5a6923[_0x2d635f(0x17f)])&&(_0x77921f=JSON[_0x2d635f(0x174)](_0x77921f)),{'elementType':ElementType[_0x2d635f(0x171)],'elementId':'','arkElement':{'bytesData':_0x77921f,'linkInfo':null,'subElementType':null}};}static[_0x29f748(0x160)](_0x2ecc1b){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2ecc1b}};}} \ No newline at end of file +const _0x2151c7=_0x4445;(function(_0x2b27f8,_0x20ae54){const _0x1df64c=_0x4445,_0x335c92=_0x2b27f8();while(!![]){try{const _0xea9956=-parseInt(_0x1df64c(0xb7))/0x1*(parseInt(_0x1df64c(0xa5))/0x2)+-parseInt(_0x1df64c(0xda))/0x3*(-parseInt(_0x1df64c(0xd4))/0x4)+parseInt(_0x1df64c(0xe2))/0x5*(-parseInt(_0x1df64c(0xd3))/0x6)+-parseInt(_0x1df64c(0xbd))/0x7+-parseInt(_0x1df64c(0xba))/0x8*(parseInt(_0x1df64c(0xe9))/0x9)+-parseInt(_0x1df64c(0xd5))/0xa+parseInt(_0x1df64c(0xa2))/0xb;if(_0xea9956===_0x20ae54)break;else _0x335c92['push'](_0x335c92['shift']());}catch(_0x454bd2){_0x335c92['push'](_0x335c92['shift']());}}}(_0x21c9,0x92d0a));function _0x4445(_0x3b7dcb,_0x266c17){const _0x21c9cb=_0x21c9();return _0x4445=function(_0x44455d,_0x496185){_0x44455d=_0x44455d-0xa1;let _0x24cf70=_0x21c9cb[_0x44455d];return _0x24cf70;},_0x4445(_0x3b7dcb,_0x266c17);}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3837aa}from'node:fs';import _0x215996 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x21c9(){const _0xf31ac=['uqVzR','iUYng','stringify','VIDEO','60635GAbMOp','dice','face','pic','AglfC','文件异常,大小为0','[骰子]','4194zpmGdM','writeFile','error','mface','uJwwR','TrCwO','IFQJk','UxgRv','NwHLf','mp4','CnQvk','viPmG','toString','获取视频信息失败','DesZU','39535166VXpZoN','语音转换失败,\x20请检查语音文件是否正常','图片信息','60908daFTsG','path','screenshots','bzwDc','notAt','EVUrE','xazsm','ptt','text','dirname','replace','FACE','GPNdt','normal','[商城表情]','etFpY','PTT','Ori','1LBAzRZ','video','height','14264TITlvb','pRIja','then','5875254fZDucU','time','unlink','uulxR','file','reply','string','ark','获取视频封面失败,使用默认封面','FILE','dEMfs','getImageSize','catch','sep','TEXT','uploadFile','rps','视频信息','width','quQtL','ARK','end','402CtyLZl','262916dGIaNZ','6110470wqYhpV','gxShc','size','VDIPV','qXzxU','6iRZCKN','set','[包剪锤]','ZQXnp'];_0x21c9=function(){return _0xf31ac;};return _0x21c9();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x2151c7(0xad)](_0x132f5b){const _0x5bd5dc=_0x2151c7;return{'elementType':ElementType[_0x5bd5dc(0xcb)],'elementId':'','textElement':{'content':_0x132f5b,'atType':AtType[_0x5bd5dc(0xa9)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x19a66a,_0x16429f,_0x2dbccd,_0x2c28f3){const _0xd5a9f=_0x2151c7;return{'elementType':ElementType[_0xd5a9f(0xcb)],'elementId':'','textElement':{'content':'@'+_0x2c28f3,'atType':_0x2dbccd,'atUid':_0x19a66a,'atTinyId':'','atNtUid':_0x16429f}};}static[_0x2151c7(0xc2)](_0x4670e1,_0x28459d,_0x37f2ee,_0x1ce38d){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x4670e1,'replayMsgId':_0x28459d,'senderUin':_0x37f2ee,'senderUinStr':_0x1ce38d}};}static async[_0x2151c7(0xe5)](_0x3b56ec,_0x598523='',_0x5a3c06=0x0){const _0x121ab6=_0x2151c7,_0x157af1={'etFpY':function(_0x37886e,_0x32d633){return _0x37886e===_0x32d633;},'iUYng':'文件异常,大小为0','IFQJk':function(_0x291d47,_0x33dd05){return _0x291d47(_0x33dd05);},'quQtL':function(_0x3975b3,_0x1799f7,_0x38682f){return _0x3975b3(_0x1799f7,_0x38682f);},'zDXUr':_0x121ab6(0xa4)},{md5:_0x44bcdb,fileName:_0x354ae8,path:_0x3cbbad,fileSize:_0x11416f}=await NTQQFileApi[_0x121ab6(0xcc)](_0x3b56ec,ElementType['PIC'],_0x5a3c06);if(_0x157af1[_0x121ab6(0xb4)](_0x11416f,0x0))throw _0x157af1[_0x121ab6(0xdf)];const _0x5ea6de=await NTQQFileApi[_0x121ab6(0xc8)](_0x3b56ec),_0x5b1c94={'md5HexStr':_0x44bcdb,'fileSize':_0x11416f[_0x121ab6(0xf5)](),'picWidth':_0x5ea6de?.[_0x121ab6(0xcf)],'picHeight':_0x5ea6de?.['height'],'fileName':_0x354ae8,'sourcePath':_0x3cbbad,'original':!![],'picType':_0x157af1[_0x121ab6(0xef)](isGIF,_0x3b56ec)?PicType['gif']:PicType['jpg'],'picSubType':_0x5a3c06,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x598523};return _0x157af1[_0x121ab6(0xd0)](logDebug,_0x157af1['zDXUr'],_0x5b1c94),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x5b1c94};}static async[_0x2151c7(0xc1)](_0x31980e,_0x47c924=''){const _0x4d0044=_0x2151c7,_0x14f7c9={'pRIja':'文件异常,大小为0'},{md5:_0x9df140,fileName:_0x1507ed,path:_0x5ee1e7,fileSize:_0x527f27}=await NTQQFileApi['uploadFile'](_0x31980e,ElementType[_0x4d0044(0xc6)]);if(_0x527f27===0x0)throw _0x14f7c9[_0x4d0044(0xbb)];const _0xec28d0={'elementType':ElementType[_0x4d0044(0xc6)],'elementId':'','fileElement':{'fileName':_0x47c924||_0x1507ed,'filePath':_0x5ee1e7,'fileSize':_0x527f27['toString']()}};return _0xec28d0;}static async[_0x2151c7(0xb8)](_0x92a40d,_0x49f7f8='',_0x4887ae=''){const _0x52662e=_0x2151c7,_0x94727d={'loGza':function(_0x439997,_0x52bd03){return _0x439997(_0x52bd03);},'dEMfs':function(_0x2e7c64,_0x5dee99,_0x4bee93){return _0x2e7c64(_0x5dee99,_0x4bee93);},'CnQvk':_0x52662e(0xc5),'hGUeQ':function(_0x2b3d72,_0x11f96d){return _0x2b3d72(_0x11f96d);},'uJwwR':_0x52662e(0xd2),'uqVzR':function(_0x59eee5,_0x4371a3){return _0x59eee5+_0x4371a3;},'TrCwO':function(_0xc83645,_0x112f10){return _0xc83645===_0x112f10;},'wYNGZ':_0x52662e(0xe7),'VDIPV':function(_0x140d11,_0x2c95e4){return _0x140d11(_0x2c95e4);},'gxShc':_0x52662e(0xa6),'UxgRv':_0x52662e(0xf2),'GPNdt':function(_0xcd187b,_0x5ee268,_0x176f2f){return _0xcd187b(_0x5ee268,_0x176f2f);},'DesZU':_0x52662e(0xce),'ZQXnp':_0x52662e(0xf6),'qXzxU':function(_0x36ca4f,_0x15f1c2){return _0x36ca4f||_0x15f1c2;}},{fileName:_0x3ab3ec,path:_0x2ade46,fileSize:_0x2d3996,md5:_0x4c6fe9}=await NTQQFileApi[_0x52662e(0xcc)](_0x92a40d,ElementType[_0x52662e(0xe1)]);if(_0x94727d[_0x52662e(0xee)](_0x2d3996,0x0))throw _0x94727d['wYNGZ'];const _0x246ee6=_0x94727d[_0x52662e(0xd8)](require,_0x94727d[_0x52662e(0xd6)]);let _0x76e449=_0x2ade46[_0x52662e(0xaf)](_0x246ee6[_0x52662e(0xca)]+_0x52662e(0xb6)+_0x246ee6[_0x52662e(0xca)],_0x246ee6[_0x52662e(0xca)]+'Thumb'+_0x246ee6[_0x52662e(0xca)]);_0x76e449=_0x246ee6[_0x52662e(0xae)](_0x76e449);let _0x16c07e={'width':0x780,'height':0x438,'time':0xf,'format':_0x94727d[_0x52662e(0xf0)],'size':_0x2d3996,'filePath':_0x92a40d};try{_0x16c07e=await getVideoInfo(_0x2ade46),_0x94727d[_0x52662e(0xb1)](logDebug,_0x94727d[_0x52662e(0xa1)],_0x16c07e);}catch(_0x17a4b0){logError(_0x94727d[_0x52662e(0xdd)],_0x17a4b0);}const _0xf0417e=new Promise((_0xc80297,_0x5046db)=>{const _0x145b95=_0x52662e,_0x5ebd7a={'EVUrE':function(_0x56c34c,_0x3c8506){return _0x94727d['loGza'](_0x56c34c,_0x3c8506);},'bzwDc':function(_0x4e27a8,_0x1a4969,_0x475868){const _0x5ab06e=_0x4445;return _0x94727d[_0x5ab06e(0xc7)](_0x4e27a8,_0x1a4969,_0x475868);},'AglfC':_0x94727d[_0x145b95(0xf3)]},_0xa56550=_0x4c6fe9+'_0.png',_0x35b14d=_0x246ee6['join'](_0x76e449,_0xa56550);_0x94727d['hGUeQ'](_0x215996,_0x92a40d)['on'](_0x94727d[_0x145b95(0xed)],()=>{})['on'](_0x145b95(0xeb),_0x13835b=>{const _0x45ad03=_0x145b95;_0x5ebd7a[_0x45ad03(0xa8)](logDebug,_0x5ebd7a[_0x45ad03(0xe6)],_0x13835b),_0x4887ae?_0x3837aa['copyFile'](_0x4887ae,_0x35b14d)['then'](()=>{const _0x3f3c34=_0x45ad03;_0x5ebd7a[_0x3f3c34(0xaa)](_0xc80297,_0x35b14d);})[_0x45ad03(0xc9)](_0x5046db):_0x3837aa[_0x45ad03(0xea)](_0x35b14d,defaultVideoThumb)[_0x45ad03(0xbc)](()=>{_0xc80297(_0x35b14d);})[_0x45ad03(0xc9)](_0x5046db);})[_0x145b95(0xa7)]({'timestamps':[0x0],'filename':_0xa56550,'folder':_0x76e449,'size':_0x94727d[_0x145b95(0xde)](_0x16c07e['width']+'x',_0x16c07e[_0x145b95(0xb9)])})['on'](_0x94727d[_0x145b95(0xed)],()=>{const _0x2faa55=_0x145b95;_0x5ebd7a[_0x2faa55(0xaa)](_0xc80297,_0x35b14d);});}),_0x58555c=new Map(),_0x1762bd=await _0xf0417e,_0x172d07=(await _0x3837aa['stat'](_0x1762bd))[_0x52662e(0xd7)];_0x58555c[_0x52662e(0xdb)](0x0,_0x1762bd);const _0x59993b=await calculateFileMD5(_0x1762bd),_0x3d8b88={'elementType':ElementType[_0x52662e(0xe1)],'elementId':'','videoElement':{'fileName':_0x94727d[_0x52662e(0xd9)](_0x49f7f8,_0x3ab3ec),'filePath':_0x2ade46,'videoMd5':_0x4c6fe9,'thumbMd5':_0x59993b,'fileTime':_0x16c07e[_0x52662e(0xbe)],'thumbPath':_0x58555c,'thumbSize':_0x172d07,'thumbWidth':_0x16c07e['width'],'thumbHeight':_0x16c07e[_0x52662e(0xb9)],'fileSize':''+_0x2d3996}};return _0x3d8b88;}static async[_0x2151c7(0xac)](_0x5d4586){const _0x54ab07=_0x2151c7,_0x50a420={'mVbPg':_0x54ab07(0xa3),'ZgjRi':_0x54ab07(0xe7)},{converted:_0xdb720f,path:_0x561b6d,duration:_0x4eed7a}=await encodeSilk(_0x5d4586);if(!_0x561b6d)throw _0x50a420['mVbPg'];const {md5:_0x2507d2,fileName:_0x53d7d2,path:_0x404aeb,fileSize:_0x2a48c8}=await NTQQFileApi[_0x54ab07(0xcc)](_0x561b6d,ElementType['PTT']);if(_0x2a48c8===0x0)throw _0x50a420['ZgjRi'];return _0xdb720f&&_0x3837aa[_0x54ab07(0xbf)](_0x561b6d)[_0x54ab07(0xbc)](),{'elementType':ElementType[_0x54ab07(0xb5)],'elementId':'','pttElement':{'fileName':_0x53d7d2,'filePath':_0x404aeb,'md5HexStr':_0x2507d2,'fileSize':_0x2a48c8,'duration':_0x4eed7a||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[_0x2151c7(0xe4)](_0x58b571){const _0x301cba=_0x2151c7,_0x32d2e9={'NwHLf':function(_0x55ddb8,_0x13eafb){return _0x55ddb8<_0x13eafb;}};return{'elementType':ElementType[_0x301cba(0xb0)],'elementId':'','faceElement':{'faceIndex':_0x58b571,'faceType':_0x32d2e9[_0x301cba(0xf1)](_0x58b571,0xde)?FaceType[_0x301cba(0xb2)]:FaceType['normal2']}};}static[_0x2151c7(0xec)](_0x152124,_0xaa4048,_0x297ea0,_0x417518){const _0x4f1083=_0x2151c7,_0x367e61={'UAOoW':_0x4f1083(0xb3)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x152124,'emojiId':_0xaa4048,'key':_0x297ea0,'faceName':_0x417518||mFaceCache['get'](_0xaa4048)||_0x367e61['UAOoW']}};}static['dice'](_0x4b865d){const _0xe2ec27=_0x2151c7;return{'elementType':ElementType[_0xe2ec27(0xb0)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xe2ec27(0xe3)],'faceType':FaceType['dice'],'faceText':_0xe2ec27(0xe8),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2151c7(0xcd)](_0x4c1382){const _0x510bb9=_0x2151c7,_0x32e6d0={'xazsm':_0x510bb9(0xdc)};return{'elementType':ElementType[_0x510bb9(0xb0)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x32e6d0[_0x510bb9(0xab)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2151c7(0xc4)](_0x27ee6d){const _0x210326=_0x2151c7,_0x476d71={'viPmG':function(_0x57720b,_0x13fd2d){return _0x57720b!==_0x13fd2d;},'uulxR':_0x210326(0xc3)};return _0x476d71[_0x210326(0xf4)](typeof _0x27ee6d,_0x476d71[_0x210326(0xc0)])&&(_0x27ee6d=JSON[_0x210326(0xe0)](_0x27ee6d)),{'elementType':ElementType[_0x210326(0xd1)],'elementId':'','arkElement':{'bytesData':_0x27ee6d,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x86ea89){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x86ea89}};}} \ 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 91dda034..60d673ae 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x5f1c(_0x1e553b,_0x4add03){var _0x269c7f=_0x269c();return _0x5f1c=function(_0x5f1cfa,_0x9abe2a){_0x5f1cfa=_0x5f1cfa-0x1c9;var _0x56db07=_0x269c7f[_0x5f1cfa];return _0x56db07;},_0x5f1c(_0x1e553b,_0x4add03);}(function(_0x4421bc,_0x44db49){var _0x2a080b=_0x5f1c,_0x51d81e=_0x4421bc();while(!![]){try{var _0xac8e1e=parseInt(_0x2a080b(0x1d1))/0x1*(parseInt(_0x2a080b(0x1d9))/0x2)+-parseInt(_0x2a080b(0x1c9))/0x3*(parseInt(_0x2a080b(0x1ca))/0x4)+parseInt(_0x2a080b(0x1cb))/0x5*(-parseInt(_0x2a080b(0x1d8))/0x6)+-parseInt(_0x2a080b(0x1d6))/0x7*(parseInt(_0x2a080b(0x1ce))/0x8)+parseInt(_0x2a080b(0x1d5))/0x9*(parseInt(_0x2a080b(0x1d2))/0xa)+-parseInt(_0x2a080b(0x1cd))/0xb+parseInt(_0x2a080b(0x1cc))/0xc;if(_0xac8e1e===_0x44db49)break;else _0x51d81e['push'](_0x51d81e['shift']());}catch(_0x13736e){_0x51d81e['push'](_0x51d81e['shift']());}}}(_0x269c,0x774d5));function _0x269c(){var _0x31b3dd=['14Luramz','327DzjezJ','22732utxYtr','45NWdISo','34445112OTsMqc','7056060qqhvvS','3176vlindL','QZhhm','gezMc','9993lVyxXB','10ZVlilN','normal','owner','1367001plXvmH','14595rbzmNE','admin','343302PFPhGW'];_0x269c=function(){return _0x31b3dd;};return _0x269c();}export var GroupMemberRole;(function(_0x35592f){var _0x1ee4a6=_0x5f1c,_0x2de27f={'gezMc':_0x1ee4a6(0x1d3),'QZhhm':_0x1ee4a6(0x1d7),'cmUOi':_0x1ee4a6(0x1d4)};_0x35592f[_0x35592f[_0x2de27f[_0x1ee4a6(0x1d0)]]=0x2]=_0x1ee4a6(0x1d3),_0x35592f[_0x35592f[_0x1ee4a6(0x1d7)]=0x3]=_0x2de27f[_0x1ee4a6(0x1cf)],_0x35592f[_0x35592f[_0x1ee4a6(0x1d4)]=0x4]=_0x2de27f['cmUOi'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x34f06d,_0x144da9){var _0x54602d=_0x5bab,_0x1be27b=_0x34f06d();while(!![]){try{var _0x728763=-parseInt(_0x54602d(0xba))/0x1+-parseInt(_0x54602d(0xbe))/0x2*(parseInt(_0x54602d(0xc3))/0x3)+-parseInt(_0x54602d(0xc2))/0x4+-parseInt(_0x54602d(0xbc))/0x5+parseInt(_0x54602d(0xbf))/0x6*(parseInt(_0x54602d(0xb6))/0x7)+parseInt(_0x54602d(0xb7))/0x8*(-parseInt(_0x54602d(0xbb))/0x9)+parseInt(_0x54602d(0xc1))/0xa;if(_0x728763===_0x144da9)break;else _0x1be27b['push'](_0x1be27b['shift']());}catch(_0x4d0364){_0x1be27b['push'](_0x1be27b['shift']());}}}(_0x2b45,0xa3110));export var GroupMemberRole;(function(_0x17091e){var _0x5ca705=_0x5bab,_0x1d23a4={'UGfjB':'normal','DMzYo':_0x5ca705(0xc0)};_0x17091e[_0x17091e[_0x5ca705(0xb9)]=0x2]=_0x1d23a4['UGfjB'],_0x17091e[_0x17091e[_0x5ca705(0xb8)]=0x3]=_0x5ca705(0xb8),_0x17091e[_0x17091e[_0x1d23a4[_0x5ca705(0xbd)]]=0x4]=_0x5ca705(0xc0);}(GroupMemberRole||(GroupMemberRole={})));function _0x5bab(_0x48c799,_0x4b5d94){var _0x2b452c=_0x2b45();return _0x5bab=function(_0x5bab8a,_0x358704){_0x5bab8a=_0x5bab8a-0xb6;var _0x3a4ef8=_0x2b452c[_0x5bab8a];return _0x3a4ef8;},_0x5bab(_0x48c799,_0x4b5d94);}function _0x2b45(){var _0x3ea401=['18svkgnP','274760bEXWZr','DMzYo','2620742JAMHyq','564858dwVJBL','owner','34412690hflAjy','598096nasdsM','3lBeZMf','21jwEhcT','1769216URgNUt','admin','normal','1098627tAQJTZ'];_0x2b45=function(){return _0x3ea401;};return _0x2b45();} \ 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 19faf58b..42b3b091 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3b9d50,_0x1c4050){var _0x1e3c58=_0x3734,_0x56c069=_0x3b9d50();while(!![]){try{var _0x200d8d=parseInt(_0x1e3c58(0x1b5))/0x1*(-parseInt(_0x1e3c58(0x1b0))/0x2)+-parseInt(_0x1e3c58(0x1b9))/0x3+parseInt(_0x1e3c58(0x1b3))/0x4*(-parseInt(_0x1e3c58(0x1ad))/0x5)+-parseInt(_0x1e3c58(0x1af))/0x6*(-parseInt(_0x1e3c58(0x1b1))/0x7)+-parseInt(_0x1e3c58(0x1b6))/0x8*(-parseInt(_0x1e3c58(0x1b4))/0x9)+parseInt(_0x1e3c58(0x1ae))/0xa*(-parseInt(_0x1e3c58(0x1b8))/0xb)+-parseInt(_0x1e3c58(0x1b7))/0xc*(-parseInt(_0x1e3c58(0x1b2))/0xd);if(_0x200d8d===_0x1c4050)break;else _0x56c069['push'](_0x56c069['shift']());}catch(_0x3c6fd9){_0x56c069['push'](_0x56c069['shift']());}}}(_0x5c5f,0x21106));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x3734(_0x1b9331,_0x3e5a8a){var _0x5c5f2c=_0x5c5f();return _0x3734=function(_0x37342d,_0x2a0db3){_0x37342d=_0x37342d-0x1ad;var _0xdc40a0=_0x5c5f2c[_0x37342d];return _0xdc40a0;},_0x3734(_0x1b9331,_0x3e5a8a);}export*from'./cache';function _0x5c5f(){var _0x548e76=['9NYfTXI','691rELgQA','1360312WOClaY','24AUxVkv','616HODsPC','601389tifIYK','34795oiJNnf','11650pUtjoo','6UrjFPS','454IRvcqi','1617623KTEVYc','1471938xPafKv','40yDdcCo'];_0x5c5f=function(){return _0x548e76;};return _0x5c5f();}export*from'./constructor'; \ No newline at end of file +(function(_0x3a91cd,_0x399347){var _0x1520b8=_0x5b9a,_0x25d2f8=_0x3a91cd();while(!![]){try{var _0x31dce8=-parseInt(_0x1520b8(0x72))/0x1+-parseInt(_0x1520b8(0x79))/0x2*(-parseInt(_0x1520b8(0x77))/0x3)+-parseInt(_0x1520b8(0x76))/0x4+-parseInt(_0x1520b8(0x70))/0x5*(-parseInt(_0x1520b8(0x75))/0x6)+-parseInt(_0x1520b8(0x71))/0x7*(parseInt(_0x1520b8(0x74))/0x8)+-parseInt(_0x1520b8(0x78))/0x9*(-parseInt(_0x1520b8(0x6f))/0xa)+-parseInt(_0x1520b8(0x73))/0xb;if(_0x31dce8===_0x399347)break;else _0x25d2f8['push'](_0x25d2f8['shift']());}catch(_0x479096){_0x25d2f8['push'](_0x25d2f8['shift']());}}}(_0x2c1f,0xd1ae4));export*from'./user';export*from'./group';export*from'./msg';function _0x2c1f(){var _0x286429=['65FgGAdz','10173639WaDKgb','644621UqSxuJ','2399397Ptjith','8oTbDda','705102kfrJfx','1915344acVFxo','11355ktrerC','3771513OFXPQV','902MRltLM','10FOTLad'];_0x2c1f=function(){return _0x286429;};return _0x2c1f();}export*from'./notify';function _0x5b9a(_0x3796b1,_0x56b332){var _0x2c1f2b=_0x2c1f();return _0x5b9a=function(_0x5b9af5,_0xc8f1db){_0x5b9af5=_0x5b9af5-0x6f;var _0x2a9419=_0x2c1f2b[_0x5b9af5];return _0x2a9419;},_0x5b9a(_0x3796b1,_0x56b332);}export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 5a992ed9..e01728ba 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x2f2034=_0x328f;(function(_0x234ff4,_0x96f896){var _0x13107c=_0x328f,_0x42ad99=_0x234ff4();while(!![]){try{var _0x10ede=parseInt(_0x13107c(0x1e8))/0x1+-parseInt(_0x13107c(0x1e5))/0x2*(parseInt(_0x13107c(0x203))/0x3)+-parseInt(_0x13107c(0x1ee))/0x4+-parseInt(_0x13107c(0x1f0))/0x5+parseInt(_0x13107c(0x1ca))/0x6*(-parseInt(_0x13107c(0x1e0))/0x7)+parseInt(_0x13107c(0x1dc))/0x8+-parseInt(_0x13107c(0x1cc))/0x9*(-parseInt(_0x13107c(0x1eb))/0xa);if(_0x10ede===_0x96f896)break;else _0x42ad99['push'](_0x42ad99['shift']());}catch(_0x1fd7ba){_0x42ad99['push'](_0x42ad99['shift']());}}}(_0x248d,0xab278));export var ElementType;(function(_0x4e65f7){var _0xe46ddc=_0x328f,_0x3ec0cc={'Zgvtd':_0xe46ddc(0x1cf),'vGWgx':_0xe46ddc(0x1fe),'dofnW':_0xe46ddc(0x200),'kIyFd':_0xe46ddc(0x1c9),'iKFFy':_0xe46ddc(0x1ed),'mGVIH':_0xe46ddc(0x1db),'glGEl':_0xe46ddc(0x1d6),'fxyaY':'ARK','vLLaK':_0xe46ddc(0x1cd),'ZrwqC':_0xe46ddc(0x202)};_0x4e65f7[_0x4e65f7[_0x3ec0cc['Zgvtd']]=0x1]='TEXT',_0x4e65f7[_0x4e65f7[_0xe46ddc(0x1fe)]=0x2]=_0x3ec0cc[_0xe46ddc(0x1f4)],_0x4e65f7[_0x4e65f7[_0xe46ddc(0x200)]=0x3]=_0x3ec0cc['dofnW'],_0x4e65f7[_0x4e65f7[_0x3ec0cc['kIyFd']]=0x4]=_0x3ec0cc['kIyFd'],_0x4e65f7[_0x4e65f7[_0x3ec0cc[_0xe46ddc(0x1d5)]]=0x5]=_0x3ec0cc[_0xe46ddc(0x1d5)],_0x4e65f7[_0x4e65f7[_0x3ec0cc['mGVIH']]=0x6]=_0xe46ddc(0x1db),_0x4e65f7[_0x4e65f7[_0x3ec0cc[_0xe46ddc(0x1ef)]]=0x7]=_0xe46ddc(0x1d6),_0x4e65f7[_0x4e65f7[_0x3ec0cc[_0xe46ddc(0x1cb)]]=0xa]=_0x3ec0cc['fxyaY'],_0x4e65f7[_0x4e65f7[_0x3ec0cc['vLLaK']]=0xb]=_0x3ec0cc[_0xe46ddc(0x1d9)],_0x4e65f7[_0x4e65f7[_0x3ec0cc['ZrwqC']]=0xe]=_0x3ec0cc[_0xe46ddc(0x1f6)];}(ElementType||(ElementType={})));export var PicType;(function(_0x4d3349){var _0x437c17=_0x328f,_0xc8adf={'Kxtml':_0x437c17(0x1d7),'YbHei':'jpg'};_0x4d3349[_0x4d3349[_0xc8adf[_0x437c17(0x1fb)]]=0x7d0]=_0xc8adf['Kxtml'],_0x4d3349[_0x4d3349[_0xc8adf['YbHei']]=0x3e8]=_0xc8adf[_0x437c17(0x1f3)];}(PicType||(PicType={})));export var PicSubType;(function(_0x55f025){var _0x5a276f=_0x328f,_0x4b1b1b={'Iunum':'normal','XOsmV':_0x5a276f(0x1f1)};_0x55f025[_0x55f025[_0x4b1b1b[_0x5a276f(0x1ea)]]=0x0]='normal',_0x55f025[_0x55f025[_0x4b1b1b[_0x5a276f(0x1f7)]]=0x1]=_0x5a276f(0x1f1);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x25eb27){var _0x2a65f8=_0x328f,_0x665d94={'LiAAT':_0x2a65f8(0x1fd),'cdSzZ':_0x2a65f8(0x1d3)};_0x25eb27[_0x25eb27[_0x665d94[_0x2a65f8(0x1ff)]]=0x0]=_0x665d94[_0x2a65f8(0x1ff)],_0x25eb27[_0x25eb27[_0x665d94[_0x2a65f8(0x1f8)]]=0x1]=_0x665d94[_0x2a65f8(0x1f8)],_0x25eb27[_0x25eb27['atUser']=0x2]=_0x2a65f8(0x1e9);}(AtType||(AtType={})));function _0x328f(_0x44cbb8,_0xa65978){var _0x248d2f=_0x248d();return _0x328f=function(_0x328fb7,_0x27c651){_0x328fb7=_0x328fb7-0x1c9;var _0x1bfbec=_0x248d2f[_0x328fb7];return _0x1bfbec;},_0x328f(_0x44cbb8,_0xa65978);}export var ChatType;(function(_0xf74a1d){var _0x4bb7a1=_0x328f,_0x4e2a0e={'oAHvg':'friend','YvdYO':_0x4bb7a1(0x1e1),'XjqXJ':'temp'};_0xf74a1d[_0xf74a1d['friend']=0x1]=_0x4e2a0e[_0x4bb7a1(0x1dd)],_0xf74a1d[_0xf74a1d[_0x4e2a0e[_0x4bb7a1(0x1d2)]]=0x2]=_0x4e2a0e[_0x4bb7a1(0x1d2)],_0xf74a1d[_0xf74a1d[_0x4e2a0e[_0x4bb7a1(0x1fa)]]=0x64]=_0x4e2a0e['XjqXJ'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x2f2034(0x1fc);export const IMAGE_HTTP_HOST_NT=_0x2f2034(0x1f9);export var GrayTipElementSubType;function _0x248d(){var _0xbe4d50=['MARKDOWN','12bdqPwt','PTT','234FFUYqv','fxyaY','2547MudgaZ','MFACE','cwoHP','TEXT','sBXnQ','PrquH','YvdYO','atAll','normal2','iKFFy','REPLY','gif','memberIncrease','vLLaK','normal','FACE','2733832xVODDA','oAHvg','dice','ZgTyM','93464rHwQsT','group','MEMBER_NEW_TITLE','YggfY','kicked','480226cXNfEm','NCwwA','INVITE_NEW_MEMBER','996964lnfzRh','atUser','Iunum','115170bfGuWe','RPS','VIDEO','4105112aQyXeQ','glGEl','6947490CKkNWj','face','IkCse','YbHei','vGWgx','BEcVL','ZrwqC','XOsmV','cdSzZ','https://multimedia.nt.qq.com.cn','XjqXJ','Kxtml','https://gchat.qpic.cn','notAt','PIC','LiAAT','FILE','ZCosK'];_0x248d=function(){return _0xbe4d50;};return _0x248d();}(function(_0x2d10b1){var _0x201357=_0x2f2034,_0x289982={'NCwwA':_0x201357(0x1e7),'cwoHP':_0x201357(0x1e2)};_0x2d10b1[_0x2d10b1[_0x289982[_0x201357(0x1e6)]]=0xc]=_0x289982[_0x201357(0x1e6)],_0x2d10b1[_0x2d10b1[_0x289982[_0x201357(0x1ce)]]=0x11]=_0x201357(0x1e2);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x13a7ff){var _0x446516=_0x2f2034,_0x118a5a={'BEcVL':_0x446516(0x1da),'ZgTyM':_0x446516(0x1d4),'IkCse':_0x446516(0x1de)};_0x13a7ff[_0x13a7ff[_0x118a5a[_0x446516(0x1f5)]]=0x1]=_0x118a5a['BEcVL'],_0x13a7ff[_0x13a7ff[_0x118a5a[_0x446516(0x1df)]]=0x2]=_0x118a5a[_0x446516(0x1df)],_0x13a7ff[_0x13a7ff[_0x118a5a[_0x446516(0x1f2)]]=0x3]=_0x118a5a[_0x446516(0x1f2)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x45a124){var _0xb9eff5=_0x2f2034,_0x5a2c41={'PrquH':'RPS'};_0x45a124[_0x45a124[_0xb9eff5(0x1de)]=0x166]=_0xb9eff5(0x1de),_0x45a124[_0x45a124[_0x5a2c41[_0xb9eff5(0x1d1)]]=0x167]=_0xb9eff5(0x1ec);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x740347){var _0x43c8d0=_0x2f2034,_0x12280d={'sBXnQ':_0x43c8d0(0x1d8),'ZCosK':_0x43c8d0(0x1e4),'YggfY':'ban'};_0x740347[_0x740347[_0x12280d[_0x43c8d0(0x1d0)]]=0x1]=_0x12280d['sBXnQ'],_0x740347[_0x740347[_0x12280d[_0x43c8d0(0x201)]]=0x3]=_0x12280d[_0x43c8d0(0x201)],_0x740347[_0x740347[_0x12280d[_0x43c8d0(0x1e3)]]=0x8]=_0x12280d['YggfY'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x38aa10=_0x5853;(function(_0x4f49ac,_0x2f2419){var _0x13459a=_0x5853,_0x32ba35=_0x4f49ac();while(!![]){try{var _0x4f23ca=-parseInt(_0x13459a(0x211))/0x1*(parseInt(_0x13459a(0x20f))/0x2)+parseInt(_0x13459a(0x215))/0x3+-parseInt(_0x13459a(0x224))/0x4*(-parseInt(_0x13459a(0x213))/0x5)+-parseInt(_0x13459a(0x1f9))/0x6*(parseInt(_0x13459a(0x21a))/0x7)+-parseInt(_0x13459a(0x21f))/0x8+parseInt(_0x13459a(0x222))/0x9+-parseInt(_0x13459a(0x20c))/0xa*(parseInt(_0x13459a(0x20d))/0xb);if(_0x4f23ca===_0x2f2419)break;else _0x32ba35['push'](_0x32ba35['shift']());}catch(_0x5a300c){_0x32ba35['push'](_0x32ba35['shift']());}}}(_0x196e,0x3dd27));export var ElementType;(function(_0x4f547b){var _0x5a4583=_0x5853,_0x316312={'fvTOE':_0x5a4583(0x207),'JVvrr':_0x5a4583(0x1fa),'Kybrn':_0x5a4583(0x1fb),'iTCFW':_0x5a4583(0x216),'haraQ':'REPLY','rqGgL':_0x5a4583(0x1f4),'CVNDh':'ARK','YPeUc':_0x5a4583(0x209),'OKowO':'PIC','HbiLT':'TEXT','TZcGA':_0x5a4583(0x22e)},_0x262847=_0x316312[_0x5a4583(0x227)][_0x5a4583(0x1fe)]('|'),_0x59a603=0x0;while(!![]){switch(_0x262847[_0x59a603++]){case'0':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x221)]]=0x5]=_0x316312[_0x5a4583(0x221)];continue;case'1':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x218)]]=0x4]=_0x5a4583(0x1fb);continue;case'2':_0x4f547b[_0x4f547b[_0x316312['iTCFW']]=0x6]=_0x316312['iTCFW'];continue;case'3':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x1f3)]]=0x7]=_0x316312[_0x5a4583(0x1f3)];continue;case'4':_0x4f547b[_0x4f547b[_0x316312['rqGgL']]=0x3]='FILE';continue;case'5':_0x4f547b[_0x4f547b[_0x5a4583(0x20a)]=0xa]=_0x316312[_0x5a4583(0x219)];continue;case'6':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x22c)]]=0xb]=_0x316312[_0x5a4583(0x22c)];continue;case'7':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x220)]]=0x2]=_0x316312[_0x5a4583(0x220)];continue;case'8':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x229)]]=0x1]=_0x316312[_0x5a4583(0x229)];continue;case'9':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x21d)]]=0xe]=_0x316312[_0x5a4583(0x21d)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x42f50b){var _0x4d4ee0=_0x5853,_0x47f34e={'drzjv':_0x4d4ee0(0x204),'txhSK':_0x4d4ee0(0x202)};_0x42f50b[_0x42f50b[_0x4d4ee0(0x204)]=0x7d0]=_0x47f34e[_0x4d4ee0(0x21e)],_0x42f50b[_0x42f50b[_0x47f34e[_0x4d4ee0(0x200)]]=0x3e8]=_0x4d4ee0(0x202);}(PicType||(PicType={})));function _0x5853(_0x2d0777,_0x4fd20b){var _0x196e55=_0x196e();return _0x5853=function(_0x5853dc,_0x5a7a25){_0x5853dc=_0x5853dc-0x1f3;var _0x5b4969=_0x196e55[_0x5853dc];return _0x5b4969;},_0x5853(_0x2d0777,_0x4fd20b);}export var PicSubType;(function(_0x252dd1){var _0x4b4e60=_0x5853,_0x14d403={'LOaSQ':'normal','MRwqq':_0x4b4e60(0x201)};_0x252dd1[_0x252dd1[_0x14d403[_0x4b4e60(0x210)]]=0x0]=_0x14d403[_0x4b4e60(0x210)],_0x252dd1[_0x252dd1[_0x14d403[_0x4b4e60(0x223)]]=0x1]=_0x14d403[_0x4b4e60(0x223)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x22e306){var _0x4d0155=_0x5853,_0x3ad860={'wkNvq':_0x4d0155(0x1fc),'fMEQT':_0x4d0155(0x22b)};_0x22e306[_0x22e306[_0x3ad860['wkNvq']]=0x0]=_0x3ad860['wkNvq'],_0x22e306[_0x22e306[_0x3ad860[_0x4d0155(0x1f8)]]=0x1]=_0x3ad860['fMEQT'],_0x22e306[_0x22e306[_0x4d0155(0x22a)]=0x2]=_0x4d0155(0x22a);}(AtType||(AtType={})));export var ChatType;(function(_0x2c16d){var _0xbcba14=_0x5853,_0x13579f={'FItyT':_0xbcba14(0x1f6),'TzdAD':_0xbcba14(0x230),'ykCEC':_0xbcba14(0x22f)};_0x2c16d[_0x2c16d[_0x13579f['FItyT']]=0x1]='friend',_0x2c16d[_0x2c16d[_0xbcba14(0x230)]=0x2]=_0x13579f['TzdAD'],_0x2c16d[_0x2c16d['temp']=0x64]=_0x13579f[_0xbcba14(0x205)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x38aa10(0x208);export const IMAGE_HTTP_HOST_NT=_0x38aa10(0x206);export var GrayTipElementSubType;(function(_0x13921e){var _0x27aa9f=_0x38aa10,_0x43eefe={'sXOay':_0x27aa9f(0x212),'MqyvH':_0x27aa9f(0x1f5)};_0x13921e[_0x13921e[_0x43eefe[_0x27aa9f(0x226)]]=0xc]=_0x43eefe[_0x27aa9f(0x226)],_0x13921e[_0x13921e[_0x43eefe['MqyvH']]=0x11]=_0x27aa9f(0x1f5);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;function _0x196e(){var _0x3097b4=['atAll','YPeUc','whFIG','MARKDOWN','temp','group','RPS','haraQ','FILE','MEMBER_NEW_TITLE','friend','kicked','fMEQT','187926rfaWHK','VIDEO','PTT','notAt','qExtY','split','memberIncrease','txhSK','face','jpg','normal','gif','ykCEC','https://multimedia.nt.qq.com.cn','8|7|4|1|0|2|3|5|6|9','https://gchat.qpic.cn','MFACE','ARK','fsfFX','70WqecDT','68233BrvZfu','CFLUT','2PjGYlc','LOaSQ','111242IDdkdR','INVITE_NEW_MEMBER','204220IkYpjO','Fpmpt','502326XNDhZg','FACE','dice','Kybrn','CVNDh','7oYzXeq','ban','JBNhr','TZcGA','drzjv','2129104yGnjpf','OKowO','JVvrr','3370743xHBnVD','MRwqq','16yznfQH','MASIA','sXOay','fvTOE','normal2','HbiLT','atUser'];_0x196e=function(){return _0x3097b4;};return _0x196e();}(function(_0x7f8071){var _0x289dd2=_0x38aa10,_0x408063={'JBNhr':_0x289dd2(0x203),'fsfFX':_0x289dd2(0x228),'whFIG':'dice'};_0x7f8071[_0x7f8071[_0x408063[_0x289dd2(0x21c)]]=0x1]=_0x408063['JBNhr'],_0x7f8071[_0x7f8071[_0x408063[_0x289dd2(0x20b)]]=0x2]=_0x408063[_0x289dd2(0x20b)],_0x7f8071[_0x7f8071[_0x408063[_0x289dd2(0x22d)]]=0x3]=_0x408063[_0x289dd2(0x22d)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x48691d){var _0x45e830=_0x38aa10,_0x4cff6f={'qExtY':_0x45e830(0x217),'CFLUT':_0x45e830(0x231)};_0x48691d[_0x48691d[_0x4cff6f[_0x45e830(0x1fd)]]=0x166]=_0x4cff6f['qExtY'],_0x48691d[_0x48691d[_0x4cff6f[_0x45e830(0x20e)]]=0x167]=_0x4cff6f[_0x45e830(0x20e)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x10a81f){var _0x44617e=_0x38aa10,_0x9ad435={'Fpmpt':_0x44617e(0x1ff),'MASIA':_0x44617e(0x1f7)};_0x10a81f[_0x10a81f[_0x9ad435[_0x44617e(0x214)]]=0x1]=_0x9ad435['Fpmpt'],_0x10a81f[_0x10a81f[_0x9ad435[_0x44617e(0x225)]]=0x3]=_0x44617e(0x1f7),_0x10a81f[_0x10a81f[_0x44617e(0x21b)]=0x8]=_0x44617e(0x21b);}(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 3f98eaac..d1977b78 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -function _0x4579(_0x1302cd,_0x23aad7){var _0x378c5=_0x378c();return _0x4579=function(_0x457926,_0xf65989){_0x457926=_0x457926-0x196;var _0x3cf425=_0x378c5[_0x457926];return _0x3cf425;},_0x4579(_0x1302cd,_0x23aad7);}(function(_0x304ffe,_0xdffe4b){var _0x53d38c=_0x4579,_0x23c073=_0x304ffe();while(!![]){try{var _0x5f0bea=parseInt(_0x53d38c(0x1ac))/0x1*(-parseInt(_0x53d38c(0x1aa))/0x2)+-parseInt(_0x53d38c(0x19c))/0x3*(-parseInt(_0x53d38c(0x1b2))/0x4)+-parseInt(_0x53d38c(0x19d))/0x5+-parseInt(_0x53d38c(0x1b4))/0x6+parseInt(_0x53d38c(0x19e))/0x7+-parseInt(_0x53d38c(0x1b7))/0x8+parseInt(_0x53d38c(0x1a6))/0x9;if(_0x5f0bea===_0xdffe4b)break;else _0x23c073['push'](_0x23c073['shift']());}catch(_0x552474){_0x23c073['push'](_0x23c073['shift']());}}}(_0x378c,0xe6633));export var GroupNotifyTypes;(function(_0x28e017){var _0x43fda1=_0x4579,_0x376838={'khpVf':'7|1|2|4|3|5|6|0','tBGdz':_0x43fda1(0x1a3),'tkyHf':_0x43fda1(0x1a4),'wEsDB':'JOIN_REQUEST','foBRp':_0x43fda1(0x1b3),'zraUe':_0x43fda1(0x198),'YqJFh':_0x43fda1(0x1a9),'PySxI':_0x43fda1(0x196),'YgokB':_0x43fda1(0x19b)},_0x2dc20b=_0x376838[_0x43fda1(0x1ae)]['split']('|'),_0x28d7e2=0x0;while(!![]){switch(_0x2dc20b[_0x28d7e2++]){case'0':_0x28e017[_0x28e017[_0x376838[_0x43fda1(0x1a8)]]=0xd]=_0x43fda1(0x1a3);continue;case'1':_0x28e017[_0x28e017[_0x376838[_0x43fda1(0x1ad)]]=0x4]=_0x376838[_0x43fda1(0x1ad)];continue;case'2':_0x28e017[_0x28e017[_0x376838[_0x43fda1(0x19f)]]=0x7]=_0x43fda1(0x1af);continue;case'3':_0x28e017[_0x28e017[_0x376838[_0x43fda1(0x1b5)]]=0x9]=_0x43fda1(0x1b3);continue;case'4':_0x28e017[_0x28e017[_0x376838['zraUe']]=0x8]=_0x376838[_0x43fda1(0x197)];continue;case'5':_0x28e017[_0x28e017[_0x376838[_0x43fda1(0x1b0)]]=0xb]='MEMBER_EXIT';continue;case'6':_0x28e017[_0x28e017[_0x376838[_0x43fda1(0x1a2)]]=0xc]=_0x376838[_0x43fda1(0x1a2)];continue;case'7':_0x28e017[_0x28e017[_0x43fda1(0x19b)]=0x1]=_0x376838[_0x43fda1(0x1a0)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x5e2634){var _0x53941b=_0x4579,_0x263857={'lZCML':'IGNORE','gkZtN':_0x53941b(0x1b1),'uvjfe':_0x53941b(0x1a5)};_0x5e2634[_0x5e2634[_0x263857[_0x53941b(0x199)]]=0x0]=_0x263857[_0x53941b(0x199)],_0x5e2634[_0x5e2634[_0x263857[_0x53941b(0x1b8)]]=0x1]=_0x263857[_0x53941b(0x1b8)],_0x5e2634[_0x5e2634[_0x263857[_0x53941b(0x1a1)]]=0x2]=_0x263857[_0x53941b(0x1a1)],_0x5e2634[_0x5e2634[_0x53941b(0x19a)]=0x3]=_0x53941b(0x19a);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x378c(){var _0x118c90=['1VaxyHO','tkyHf','khpVf','JOIN_REQUEST','YqJFh','WAIT_HANDLE','1984616bbESqJ','KICK_MEMBER','2586402CsQgiI','foBRp','reject','13281096LniDVj','gkZtN','ADMIN_UNSET','zraUe','ADMIN_SET','lZCML','REJECT','INVITE_ME','3iEHPVR','7394825MuKGqK','6382943HtSHGS','wEsDB','YgokB','uvjfe','PySxI','ADMIN_UNSET_OTHER','INVITED_JOIN','APPROVE','33513876kemWAI','approve','tBGdz','MEMBER_EXIT','1235862aOqLNh','ilQWn'];_0x378c=function(){return _0x118c90;};return _0x378c();}export var GroupRequestOperateTypes;(function(_0x379036){var _0x1b104f=_0x4579,_0x3faaf0={'MCrJT':_0x1b104f(0x1a7),'ilQWn':_0x1b104f(0x1b6)};_0x379036[_0x379036[_0x3faaf0['MCrJT']]=0x1]=_0x3faaf0['MCrJT'],_0x379036[_0x379036[_0x3faaf0[_0x1b104f(0x1ab)]]=0x2]=_0x1b104f(0x1b6);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x54da4a,_0x286c8c){var _0x262576=_0x2b1b,_0x538671=_0x54da4a();while(!![]){try{var _0x2e215d=-parseInt(_0x262576(0x7c))/0x1+parseInt(_0x262576(0x75))/0x2*(-parseInt(_0x262576(0x70))/0x3)+-parseInt(_0x262576(0x68))/0x4+-parseInt(_0x262576(0x78))/0x5*(parseInt(_0x262576(0x88))/0x6)+-parseInt(_0x262576(0x84))/0x7*(parseInt(_0x262576(0x79))/0x8)+parseInt(_0x262576(0x80))/0x9+parseInt(_0x262576(0x7f))/0xa;if(_0x2e215d===_0x286c8c)break;else _0x538671['push'](_0x538671['shift']());}catch(_0x32a676){_0x538671['push'](_0x538671['shift']());}}}(_0x54e4,0x77497));export var GroupNotifyTypes;(function(_0x6f0696){var _0x1e4ede=_0x2b1b,_0x20513f={'ItOqO':_0x1e4ede(0x76),'MvIhS':_0x1e4ede(0x72),'QCtda':_0x1e4ede(0x81),'YMIYO':_0x1e4ede(0x8a),'PEoiB':_0x1e4ede(0x6f),'oddtO':_0x1e4ede(0x6a),'mzxQK':_0x1e4ede(0x6b),'vMUrB':_0x1e4ede(0x71)},_0x39e7a8=_0x20513f['ItOqO'][_0x1e4ede(0x87)]('|'),_0x4f3bee=0x0;while(!![]){switch(_0x39e7a8[_0x4f3bee++]){case'0':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x7b)]]=0xb]=_0x20513f['MvIhS'];continue;case'1':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x8b)]]=0x4]=_0x20513f['QCtda'];continue;case'2':_0x6f0696[_0x6f0696[_0x20513f['YMIYO']]=0xd]=_0x1e4ede(0x8a);continue;case'3':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x69)]]=0x9]=_0x20513f['PEoiB'];continue;case'4':_0x6f0696[_0x6f0696[_0x1e4ede(0x6d)]=0x7]=_0x1e4ede(0x6d);continue;case'5':_0x6f0696[_0x6f0696[_0x1e4ede(0x6a)]=0x8]=_0x20513f[_0x1e4ede(0x7a)];continue;case'6':_0x6f0696[_0x6f0696[_0x1e4ede(0x6b)]=0x1]=_0x20513f[_0x1e4ede(0x89)];continue;case'7':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x85)]]=0xc]='ADMIN_UNSET';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x2b1b(_0x4c4cf5,_0x421d9a){var _0x54e45=_0x54e4();return _0x2b1b=function(_0x2b1b22,_0x4a2acc){_0x2b1b22=_0x2b1b22-0x68;var _0x34083b=_0x54e45[_0x2b1b22];return _0x34083b;},_0x2b1b(_0x4c4cf5,_0x421d9a);}export var GroupNotifyStatus;(function(_0x488f3a){var _0x22ce5d=_0x2b1b,_0x3d0570={'ckqKA':'IGNORE','BCzsk':_0x22ce5d(0x74),'FLmJb':_0x22ce5d(0x6c)};_0x488f3a[_0x488f3a[_0x3d0570[_0x22ce5d(0x7d)]]=0x0]=_0x22ce5d(0x82),_0x488f3a[_0x488f3a[_0x3d0570[_0x22ce5d(0x86)]]=0x1]=_0x3d0570[_0x22ce5d(0x86)],_0x488f3a[_0x488f3a['APPROVE']=0x2]=_0x22ce5d(0x77),_0x488f3a[_0x488f3a[_0x3d0570[_0x22ce5d(0x7e)]]=0x3]=_0x3d0570[_0x22ce5d(0x7e)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x54e4(){var _0x21e957=['773555gGbnoN','ckqKA','FLmJb','21649640lBeLvr','8320365HysZZm','INVITED_JOIN','IGNORE','iucVn','7903MdTvkk','vMUrB','BCzsk','split','72TLdWFu','mzxQK','ADMIN_UNSET_OTHER','QCtda','1744556lCmPkz','PEoiB','ADMIN_SET','INVITE_ME','REJECT','JOIN_REQUEST','approve','KICK_MEMBER','11547xrKifU','ADMIN_UNSET','MEMBER_EXIT','HXTRj','WAIT_HANDLE','134klnkzP','6|1|4|5|3|0|7|2','APPROVE','221465Wtuhph','4264LASVBj','oddtO','MvIhS'];_0x54e4=function(){return _0x21e957;};return _0x54e4();}(function(_0x551363){var _0x93028=_0x2b1b,_0x2aafdb={'iucVn':_0x93028(0x6e),'HXTRj':'reject'};_0x551363[_0x551363[_0x2aafdb['iucVn']]=0x1]=_0x2aafdb[_0x93028(0x83)],_0x551363[_0x551363[_0x2aafdb[_0x93028(0x73)]]=0x2]=_0x2aafdb[_0x93028(0x73)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 4e80bc0a..2738424d 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x11c36f,_0x43d141){var _0x31a899=_0x7b69,_0x28a54c=_0x11c36f();while(!![]){try{var _0xf24d3=-parseInt(_0x31a899(0x93))/0x1+parseInt(_0x31a899(0x90))/0x2+-parseInt(_0x31a899(0x8c))/0x3+-parseInt(_0x31a899(0x8a))/0x4+parseInt(_0x31a899(0x8b))/0x5*(parseInt(_0x31a899(0x91))/0x6)+parseInt(_0x31a899(0x92))/0x7+parseInt(_0x31a899(0x89))/0x8;if(_0xf24d3===_0x43d141)break;else _0x28a54c['push'](_0x28a54c['shift']());}catch(_0x427a97){_0x28a54c['push'](_0x28a54c['shift']());}}}(_0x4056,0x805d1));function _0x4056(){var _0x918f1=['6775568GCxmYL','3354908fCEPMC','5ICsSPl','2373450LPMKUr','unknown','male','ELMYo','115844ELkfLK','5083704HmvGDw','5677693HlkEaD','407597DxglYW','ECXsb'];_0x4056=function(){return _0x918f1;};return _0x4056();}function _0x7b69(_0x20d3f4,_0x1a3317){var _0x40561d=_0x4056();return _0x7b69=function(_0x7b69b7,_0x2cfdc5){_0x7b69b7=_0x7b69b7-0x89;var _0x5cacc1=_0x40561d[_0x7b69b7];return _0x5cacc1;},_0x7b69(_0x20d3f4,_0x1a3317);}export var Sex;(function(_0x47d3bc){var _0x131ce0=_0x7b69,_0x56e256={'ECXsb':_0x131ce0(0x8e),'ELMYo':'female','yHSss':_0x131ce0(0x8d)};_0x47d3bc[_0x47d3bc[_0x56e256['ECXsb']]=0x1]=_0x56e256[_0x131ce0(0x94)],_0x47d3bc[_0x47d3bc['female']=0x2]=_0x56e256[_0x131ce0(0x8f)],_0x47d3bc[_0x47d3bc[_0x131ce0(0x8d)]=0xff]=_0x56e256['yHSss'];}(Sex||(Sex={}))); \ No newline at end of file +function _0x334d(_0x59969f,_0x2f4209){var _0xc3f303=_0xc3f3();return _0x334d=function(_0x334d86,_0x1badd0){_0x334d86=_0x334d86-0x17b;var _0x2fe6c0=_0xc3f303[_0x334d86];return _0x2fe6c0;},_0x334d(_0x59969f,_0x2f4209);}(function(_0x4f4dc2,_0x33c021){var _0x8084e2=_0x334d,_0x3274c1=_0x4f4dc2();while(!![]){try{var _0x5b5702=parseInt(_0x8084e2(0x17f))/0x1+parseInt(_0x8084e2(0x17e))/0x2+-parseInt(_0x8084e2(0x183))/0x3+-parseInt(_0x8084e2(0x182))/0x4+-parseInt(_0x8084e2(0x184))/0x5*(-parseInt(_0x8084e2(0x17d))/0x6)+-parseInt(_0x8084e2(0x186))/0x7*(-parseInt(_0x8084e2(0x188))/0x8)+parseInt(_0x8084e2(0x185))/0x9*(parseInt(_0x8084e2(0x17c))/0xa);if(_0x5b5702===_0x33c021)break;else _0x3274c1['push'](_0x3274c1['shift']());}catch(_0x6b35b3){_0x3274c1['push'](_0x3274c1['shift']());}}}(_0xc3f3,0x7656e));function _0xc3f3(){var _0x41fc1=['1657062DjoSTn','1015TyqSBp','1607193ZEmaNt','7hEPFXu','opVuO','2971160NKBCok','WkDPj','30SBKAhq','318rqhVTF','117486yMGYpD','596734HtSEUn','female','unknown','2145160zBkKQe'];_0xc3f3=function(){return _0x41fc1;};return _0xc3f3();}export var Sex;(function(_0x96d292){var _0x1bdc1a=_0x334d,_0x13186c={'VJAVL':'male','WkDPj':_0x1bdc1a(0x180),'opVuO':_0x1bdc1a(0x181)};_0x96d292[_0x96d292[_0x13186c['VJAVL']]=0x1]=_0x13186c['VJAVL'],_0x96d292[_0x96d292[_0x13186c[_0x1bdc1a(0x17b)]]=0x2]=_0x13186c[_0x1bdc1a(0x17b)],_0x96d292[_0x96d292[_0x1bdc1a(0x181)]=0xff]=_0x13186c[_0x1bdc1a(0x187)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/external/hook.js b/src/core.lib/src/external/hook.js index e6b38fde..32f44e5f 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -function _0x2772(){const _0x2b37ec=['12NbEuQp','HookRkey','GetRkey','747010nrapzf','12PvzSVQ','getRKey','734558xFCEfg','MoeHoo','isAvailable','148975ppMuXd','加载\x20moehoo\x20失败','fAZUc','qCjYi','813FnftXe','27796rZsLsu','curVersion','2674uBnaxT','2658315jGylZb','14952GAoldr','./MoeHoo.node','moeHook','144YtoGvU','6407360DCDLtH'];_0x2772=function(){return _0x2b37ec;};return _0x2772();}const _0x178a20=_0x28e2;(function(_0x375ffa,_0x17d3f2){const _0x31658f=_0x28e2,_0x177b11=_0x375ffa();while(!![]){try{const _0x318bfc=parseInt(_0x31658f(0x171))/0x1*(parseInt(_0x31658f(0x17f))/0x2)+-parseInt(_0x31658f(0x175))/0x3*(-parseInt(_0x31658f(0x176))/0x4)+-parseInt(_0x31658f(0x179))/0x5+-parseInt(_0x31658f(0x17a))/0x6*(parseInt(_0x31658f(0x178))/0x7)+parseInt(_0x31658f(0x17e))/0x8+-parseInt(_0x31658f(0x17d))/0x9*(parseInt(_0x31658f(0x182))/0xa)+parseInt(_0x31658f(0x185))/0xb*(parseInt(_0x31658f(0x183))/0xc);if(_0x318bfc===_0x17d3f2)break;else _0x177b11['push'](_0x177b11['shift']());}catch(_0x3d4276){_0x177b11['push'](_0x177b11['shift']());}}}(_0x2772,0xebd10));import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';qqVersionConfigInfo;function _0x28e2(_0x5ac3c3,_0x4d9c05){const _0x277244=_0x2772();return _0x28e2=function(_0x28e29f,_0x5268ee){_0x28e29f=_0x28e29f-0x171;let _0x2f859e=_0x277244[_0x28e29f];return _0x2f859e;},_0x28e2(_0x5ac3c3,_0x4d9c05);}class HookApi{[_0x178a20(0x17c)]=null;constructor(){const _0x328ec7=_0x178a20,_0x5f3572={'fAZUc':function(_0x3e3117,_0x2bf4fb){return _0x3e3117(_0x2bf4fb);},'qCjYi':function(_0x3b0ced,_0x14c3e4,_0x5e3414){return _0x3b0ced(_0x14c3e4,_0x5e3414);}};try{cpModule(_0x328ec7(0x186)),this[_0x328ec7(0x17c)]=_0x5f3572[_0x328ec7(0x173)](require,_0x328ec7(0x17b)),this[_0x328ec7(0x17c)][_0x328ec7(0x180)](qqVersionConfigInfo[_0x328ec7(0x177)]);}catch(_0x2e064b){_0x5f3572[_0x328ec7(0x174)](logError,_0x328ec7(0x172),_0x2e064b);}}[_0x178a20(0x184)](){const _0x1b39df=_0x178a20;return this[_0x1b39df(0x17c)]?.[_0x1b39df(0x181)]()||'';}[_0x178a20(0x187)](){const _0xc8e860=_0x178a20;return!!this[_0xc8e860(0x17c)];}}export const hookApi=new HookApi(); \ No newline at end of file +const _0x68de9d=_0x3014;(function(_0x54a3fe,_0xd057da){const _0x19ddc9=_0x3014,_0x2d96b2=_0x54a3fe();while(!![]){try{const _0x2ec535=parseInt(_0x19ddc9(0x14e))/0x1+parseInt(_0x19ddc9(0x148))/0x2*(parseInt(_0x19ddc9(0x143))/0x3)+-parseInt(_0x19ddc9(0x146))/0x4+-parseInt(_0x19ddc9(0x155))/0x5+parseInt(_0x19ddc9(0x150))/0x6+-parseInt(_0x19ddc9(0x156))/0x7*(parseInt(_0x19ddc9(0x141))/0x8)+parseInt(_0x19ddc9(0x142))/0x9*(-parseInt(_0x19ddc9(0x145))/0xa);if(_0x2ec535===_0xd057da)break;else _0x2d96b2['push'](_0x2d96b2['shift']());}catch(_0x42f8f5){_0x2d96b2['push'](_0x2d96b2['shift']());}}}(_0x4e91,0xd3d1e));import{logError}from'@/common/utils/log';function _0x3014(_0x70a672,_0x56aa5f){const _0x4e9114=_0x4e91();return _0x3014=function(_0x301478,_0x8483fb){_0x301478=_0x301478-0x141;let _0x53c3d7=_0x4e9114[_0x301478];return _0x53c3d7;},_0x3014(_0x70a672,_0x56aa5f);}import{cpModule}from'@/common/utils/cpmodule';function _0x4e91(){const _0x1468be=['UiEsW','50yqbVlK','6733984bbCHlM','OMRJp','4BWYxsD','加载\x20moehoo\x20失败','isAvailable','HookRkey','getRKey','WtIKS','1128119FSyyzx','./MoeHoo.node','8361984FXiqeX','moeHook','version','RNdnk','GetRkey','898910OUziLI','19334ScrYrm','MoeHoo','3752accBCF','121347TFYyMB','2357853WykhHI'];_0x4e91=function(){return _0x1468be;};return _0x4e91();}import{qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';qqVersionConfigInfo;class HookApi{[_0x68de9d(0x151)]=null;constructor(){const _0x2bb174=_0x68de9d,_0x4b92ac={'WtIKS':function(_0x37b6bb,_0x556556){return _0x37b6bb(_0x556556);},'RNdnk':_0x2bb174(0x157),'OMRJp':_0x2bb174(0x14f),'UiEsW':function(_0x2ec470,_0x3c3ba0,_0x4031b6){return _0x2ec470(_0x3c3ba0,_0x4031b6);},'QWLTl':_0x2bb174(0x149)};try{_0x4b92ac[_0x2bb174(0x14d)](cpModule,_0x4b92ac[_0x2bb174(0x153)]),this['moeHook']=_0x4b92ac[_0x2bb174(0x14d)](require,_0x4b92ac[_0x2bb174(0x147)]),this[_0x2bb174(0x151)][_0x2bb174(0x14b)](qqPkgInfo[_0x2bb174(0x152)]);}catch(_0x51fb17){_0x4b92ac[_0x2bb174(0x144)](logError,_0x4b92ac['QWLTl'],_0x51fb17);}}[_0x68de9d(0x14c)](){const _0x4c31e3=_0x68de9d;return this['moeHook']?.[_0x4c31e3(0x154)]()||'';}[_0x68de9d(0x14a)](){const _0x49744a=_0x68de9d;return!!this[_0x49744a(0x151)];}}export const hookApi=new HookApi(); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 09514caa..e50489cf 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x5358b6,_0x540579){var _0x436656=_0x5ac4,_0x324922=_0x5358b6();while(!![]){try{var _0x332e09=-parseInt(_0x436656(0x6d))/0x1*(-parseInt(_0x436656(0x69))/0x2)+-parseInt(_0x436656(0x6a))/0x3+parseInt(_0x436656(0x6c))/0x4*(-parseInt(_0x436656(0x71))/0x5)+parseInt(_0x436656(0x6e))/0x6+-parseInt(_0x436656(0x70))/0x7*(-parseInt(_0x436656(0x72))/0x8)+-parseInt(_0x436656(0x6f))/0x9+parseInt(_0x436656(0x6b))/0xa;if(_0x332e09===_0x540579)break;else _0x324922['push'](_0x324922['shift']());}catch(_0xebb94a){_0x324922['push'](_0x324922['shift']());}}}(_0x5ab9,0xd5073));import _0x29aca3 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x5ab9(){var _0x32aea4=['5709969aBnZkc','182HsWBsB','773560yoEjoo','485104RibkvE','23722dLqGgQ','2187615LZrcoW','16339640IrAZdo','28MglexQ','1nsxfCm','580680JmfuGQ'];_0x5ab9=function(){return _0x32aea4;};return _0x5ab9();}export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x5ac4(_0x453ea5,_0x94069f){var _0x5ab991=_0x5ab9();return _0x5ac4=function(_0x5ac4ba,_0x28477b){_0x5ac4ba=_0x5ac4ba-0x69;var _0x1400bd=_0x5ab991[_0x5ac4ba];return _0x1400bd;},_0x5ac4(_0x453ea5,_0x94069f);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x29aca3 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x49e515,_0x218994){var _0x16a41e=_0x4556,_0x1305a4=_0x49e515();while(!![]){try{var _0x545de8=parseInt(_0x16a41e(0x10d))/0x1+parseInt(_0x16a41e(0x107))/0x2*(parseInt(_0x16a41e(0x10c))/0x3)+-parseInt(_0x16a41e(0x10e))/0x4+parseInt(_0x16a41e(0x10a))/0x5*(parseInt(_0x16a41e(0x10f))/0x6)+-parseInt(_0x16a41e(0x110))/0x7+-parseInt(_0x16a41e(0x108))/0x8*(parseInt(_0x16a41e(0x10b))/0x9)+parseInt(_0x16a41e(0x109))/0xa;if(_0x545de8===_0x218994)break;else _0x1305a4['push'](_0x1305a4['shift']());}catch(_0x36d065){_0x1305a4['push'](_0x1305a4['shift']());}}}(_0x1d50,0x980bc));import _0x1f6593 from'./wrapper';function _0x1d50(){var _0x1c7808=['6632843wLjgAJ','2158118SZdQUZ','3033064ueuYTg','15769720CnMXIZ','5faymKf','27BrmGht','3JenBAf','251890jTLzdM','1368944qKTBsG','852258qAfiJW'];_0x1d50=function(){return _0x1c7808;};return _0x1d50();}export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1f6593 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x4556(_0x357614,_0x1eb47d){var _0x1d5053=_0x1d50();return _0x4556=function(_0x4556ce,_0x139a23){_0x4556ce=_0x4556ce-0x107;var _0x4a1826=_0x1d5053[_0x4556ce];return _0x4a1826;},_0x4556(_0x357614,_0x1eb47d);}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 095f2c56..f47db6dc 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x3ba4(_0x2ba3dc,_0x30cf9a){var _0x1cfed1=_0x1cfe();return _0x3ba4=function(_0x3ba42d,_0x550d47){_0x3ba42d=_0x3ba42d-0x13a;var _0x1b9ece=_0x1cfed1[_0x3ba42d];return _0x1b9ece;},_0x3ba4(_0x2ba3dc,_0x30cf9a);}var _0x4bb1c8=_0x3ba4;(function(_0x475d59,_0x48f991){var _0xdce71a=_0x3ba4,_0x2dfd0b=_0x475d59();while(!![]){try{var _0x1fdd7d=-parseInt(_0xdce71a(0x148))/0x1*(-parseInt(_0xdce71a(0x13c))/0x2)+parseInt(_0xdce71a(0x145))/0x3+parseInt(_0xdce71a(0x14c))/0x4+-parseInt(_0xdce71a(0x13f))/0x5+parseInt(_0xdce71a(0x141))/0x6*(-parseInt(_0xdce71a(0x13b))/0x7)+parseInt(_0xdce71a(0x14a))/0x8*(-parseInt(_0xdce71a(0x144))/0x9)+parseInt(_0xdce71a(0x13a))/0xa;if(_0x1fdd7d===_0x48f991)break;else _0x2dfd0b['push'](_0x2dfd0b['shift']());}catch(_0x33c20a){_0x2dfd0b['push'](_0x2dfd0b['shift']());}}}(_0x1cfe,0x58874));export class BuddyListener{[_0x4bb1c8(0x14d)](_0x55bb88){}['onAddMeSettingChanged'](_0x4440ae){}['onAvatarUrlUpdated'](_0x6c9dec){}['onBlockChanged'](_0x22954b){}['onBuddyDetailInfoChange'](_0x2e80f4){}[_0x4bb1c8(0x149)](_0xda8bd9){}[_0x4bb1c8(0x140)](_0x5d8be8){}[_0x4bb1c8(0x13d)](_0x2a5f0e){}[_0x4bb1c8(0x147)](_0x463dbe){}[_0x4bb1c8(0x142)](_0x17a038){}['onCheckBuddySettingResult'](_0x39150e){}['onDelBatchBuddyInfos'](_0x4f7408){}['onDoubtBuddyReqChange'](_0x126af8){}[_0x4bb1c8(0x14b)](_0x47040f){}[_0x4bb1c8(0x13e)](_0x7b96f1){}[_0x4bb1c8(0x143)](_0x272c17){}[_0x4bb1c8(0x146)](_0x44acfe){}}function _0x1cfe(){var _0x5abb2c=['9jWQdLe','1546080cIoaEj','onSpacePermissionInfos','onBuddyReqChange','216327HOSfUf','onBuddyInfoChange','1884656PtuCgE','onDoubtBuddyReqUnreadNumChange','951168duPjVZ','onAddBuddyNeedVerify','3267550GMpDnx','14DlPFEL','2pwCpjz','onBuddyRemarkUpdated','onNickUpdated','2131520MbdMsC','onBuddyListChange','815208ahGpia','onBuddyReqUnreadCntChange','onSmartInfos'];_0x1cfe=function(){return _0x5abb2c;};return _0x1cfe();} \ No newline at end of file +function _0x4327(){var _0x3edd38=['onCheckBuddySettingResult','899017mZrQGO','2015829IJXHyu','onAddBuddyNeedVerify','onAddMeSettingChanged','1898970tbDAoQ','onNickUpdated','onBuddyRemarkUpdated','462165GyzGTX','onBuddyListChange','onSmartInfos','1456784Ljofln','onAvatarUrlUpdated','2MYoZBB','5534424lzSzqE','onDoubtBuddyReqChange','onBuddyReqChange','onBuddyInfoChange','onSpacePermissionInfos','onDelBatchBuddyInfos','onBuddyDetailInfoChange','3973524SRHUKT'];_0x4327=function(){return _0x3edd38;};return _0x4327();}var _0x31d3aa=_0x2959;function _0x2959(_0x27d17d,_0x107139){var _0x4327eb=_0x4327();return _0x2959=function(_0x2959f1,_0x16bcf3){_0x2959f1=_0x2959f1-0xb5;var _0x5a2983=_0x4327eb[_0x2959f1];return _0x5a2983;},_0x2959(_0x27d17d,_0x107139);}(function(_0x5a327e,_0x2d6c71){var _0x3cf76a=_0x2959,_0x1a55b4=_0x5a327e();while(!![]){try{var _0x3eaad6=-parseInt(_0x3cf76a(0xbf))/0x1*(-parseInt(_0x3cf76a(0xc4))/0x2)+-parseInt(_0x3cf76a(0xb9))/0x3+parseInt(_0x3cf76a(0xc2))/0x4+parseInt(_0x3cf76a(0xbc))/0x5+-parseInt(_0x3cf76a(0xb6))/0x6+-parseInt(_0x3cf76a(0xb8))/0x7+parseInt(_0x3cf76a(0xc5))/0x8;if(_0x3eaad6===_0x2d6c71)break;else _0x1a55b4['push'](_0x1a55b4['shift']());}catch(_0x17f147){_0x1a55b4['push'](_0x1a55b4['shift']());}}}(_0x4327,0x6a482));export class BuddyListener{[_0x31d3aa(0xba)](_0x42b8da){}[_0x31d3aa(0xbb)](_0x13997d){}[_0x31d3aa(0xc3)](_0x4d9175){}['onBlockChanged'](_0x5f5a96){}[_0x31d3aa(0xb5)](_0x35b891){}[_0x31d3aa(0xc8)](_0x33f681){}[_0x31d3aa(0xc0)](_0x366c55){}[_0x31d3aa(0xbe)](_0x324695){}[_0x31d3aa(0xc7)](_0x30e8c2){}['onBuddyReqUnreadCntChange'](_0x495e5a){}[_0x31d3aa(0xb7)](_0x17ceb7){}[_0x31d3aa(0xca)](_0x18b040){}[_0x31d3aa(0xc6)](_0x32d410){}['onDoubtBuddyReqUnreadNumChange'](_0x212276){}[_0x31d3aa(0xbd)](_0x35b1ad){}[_0x31d3aa(0xc1)](_0x433fae){}[_0x31d3aa(0xc9)](_0x50871c){}} \ 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 6cde920e..802bbf02 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x4706e9=_0x24fe;(function(_0x174f52,_0x41ae3a){var _0x3b192d=_0x24fe,_0x2625d4=_0x174f52();while(!![]){try{var _0x2b023b=-parseInt(_0x3b192d(0xfa))/0x1+-parseInt(_0x3b192d(0xfe))/0x2*(parseInt(_0x3b192d(0xfd))/0x3)+-parseInt(_0x3b192d(0xfb))/0x4*(-parseInt(_0x3b192d(0xfc))/0x5)+-parseInt(_0x3b192d(0xf6))/0x6*(-parseInt(_0x3b192d(0xf9))/0x7)+-parseInt(_0x3b192d(0x101))/0x8+parseInt(_0x3b192d(0xf7))/0x9+parseInt(_0x3b192d(0xf8))/0xa*(parseInt(_0x3b192d(0xff))/0xb);if(_0x2b023b===_0x41ae3a)break;else _0x2625d4['push'](_0x2625d4['shift']());}catch(_0x448144){_0x2625d4['push'](_0x2625d4['shift']());}}}(_0x51b6,0xc7ccc));function _0x24fe(_0x4c8e8c,_0x556d23){var _0x51b6f7=_0x51b6();return _0x24fe=function(_0x24fee1,_0x296aef){_0x24fee1=_0x24fee1-0xf5;var _0x1b3bee=_0x51b6f7[_0x24fee1];return _0x1b3bee;},_0x24fe(_0x4c8e8c,_0x556d23);}function _0x51b6(){var _0x256d6d=['3816ewMhUu','993771IaYEKO','429380DadmVu','5047DvYjNO','335936CviiLF','4072YGRNsy','5825BajSkP','37746GUFzMq','214AiJvzk','484HmaVBP','onFileListChanged','9149016WUHrvV','onSessionChanged','onFileStatusChanged'];_0x51b6=function(){return _0x256d6d;};return _0x51b6();}export class KernelFileAssistantListener{[_0x4706e9(0xf5)](..._0x5401ac){}['onSessionListChanged'](..._0x2d92bc){}[_0x4706e9(0x102)](..._0x4992b2){}[_0x4706e9(0x100)](..._0xf5cbf){}['onFileSearch'](..._0x521a15){}} \ No newline at end of file +var _0x145e4d=_0x58af;(function(_0x49a5f7,_0x4ed130){var _0x15ee84=_0x58af,_0xa82ebc=_0x49a5f7();while(!![]){try{var _0x163a52=-parseInt(_0x15ee84(0x16f))/0x1*(parseInt(_0x15ee84(0x168))/0x2)+parseInt(_0x15ee84(0x16d))/0x3*(-parseInt(_0x15ee84(0x16e))/0x4)+parseInt(_0x15ee84(0x16b))/0x5+parseInt(_0x15ee84(0x165))/0x6*(parseInt(_0x15ee84(0x16c))/0x7)+parseInt(_0x15ee84(0x167))/0x8+-parseInt(_0x15ee84(0x169))/0x9*(parseInt(_0x15ee84(0x164))/0xa)+parseInt(_0x15ee84(0x16a))/0xb;if(_0x163a52===_0x4ed130)break;else _0xa82ebc['push'](_0xa82ebc['shift']());}catch(_0x2c9c47){_0xa82ebc['push'](_0xa82ebc['shift']());}}}(_0xe0ba,0x943c3));function _0x58af(_0xb319a6,_0x436391){var _0xe0bac=_0xe0ba();return _0x58af=function(_0x58af19,_0x57237b){_0x58af19=_0x58af19-0x164;var _0x18ed8a=_0xe0bac[_0x58af19];return _0x18ed8a;},_0x58af(_0xb319a6,_0x436391);}function _0xe0ba(){var _0x49d8cd=['889ojxZHE','3jMBrGo','2403112PapvOT','29vpKRAL','130Lustym','22092nHnuoo','onFileSearch','5761936WaImYY','78506PtmePY','236619djEFaN','11678172JMSHYL','2192805YgrOJN'];_0xe0ba=function(){return _0x49d8cd;};return _0xe0ba();}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x5579a5){}['onSessionListChanged'](..._0x52f06b){}['onSessionChanged'](..._0x385086){}['onFileListChanged'](..._0x452eaf){}[_0x145e4d(0x166)](..._0x50a379){}} \ 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 bf3b0135..06b534ee 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x41ff0c=_0x112f;function _0x3ca3(){var _0x2ce74e=['onJoinGroupNotify:','onGroupBulletinRichMediaDownloadComplete:','onSearchMemberChange','onGroupDetailInfoChange:','Cashz','onGroupStatisticInfoChange:','onGroupBulletinChange','onGroupDetailInfoChange','onGroupBulletinRichMediaDownloadComplete','onGroupAllInfoChange:','onShutUpMemberListChanged:','onGroupBulletinRichMediaProgressUpdate:','onGroupExtListUpdate:','EwHJn','365255xFhxNl','11nURrTM','onGroupConfMemberChange','1901795SAfCbg','onGroupMemberLevelInfoChange:','onMemberInfoChange','BgQPi','onGroupFirstBulletinNotify:','18483310gmjzIA','onGroupNotifiesUnreadCountUpdated','log','2368336QzEISk','onGroupsMsgMaskResult:','onGetGroupBulletinListResult','5139vclTmn','onShutUpMemberListChanged','onJoinGroupNoVerifyFlag:','hXclh','onGroupAllInfoChange','onGroupConfMemberChange:','onGroupFirstBulletinNotify','onGroupListUpdate:','onGroupArkInviteStateResult','GbiID','onMemberListChange','18DyPTYj','onGroupListUpdate','BRqZo','kbDFP','onMemberListChange:','onSearchMemberChange:','onGroupArkInviteStateResult:','onGroupNotifiesUnreadCountUpdated:','NaxFs','onGroupsMsgMaskResult','ALvvJ','158932YjfOIS','onGroupBulletinRichMediaProgressUpdate','46OfVdOP','onJoinGroupNotify','onGroupSingleScreenNotifies','415422OUxkOx','onGroupMemberLevelInfoChange','onGetGroupBulletinListResult:','mQmiy','onGroupBulletinRemindNotify','uQyOe','OHNHh','onGroupBulletinRemindNotify:','onGroupNotifiesUpdated','onGroupSingleScreenNotifies:','25YWNrgQ'];_0x3ca3=function(){return _0x2ce74e;};return _0x3ca3();}function _0x112f(_0x44b823,_0x49005c){var _0x3ca3ee=_0x3ca3();return _0x112f=function(_0x112f71,_0xe4087c){_0x112f71=_0x112f71-0x1f1;var _0x56006c=_0x3ca3ee[_0x112f71];return _0x56006c;},_0x112f(_0x44b823,_0x49005c);}(function(_0x436e59,_0x1aa86b){var _0x18240e=_0x112f,_0x42cf7f=_0x436e59();while(!![]){try{var _0x5f3160=-parseInt(_0x18240e(0x21b))/0x1+parseInt(_0x18240e(0x1ff))/0x2*(-parseInt(_0x18240e(0x229))/0x3)+parseInt(_0x18240e(0x1fd))/0x4*(-parseInt(_0x18240e(0x20c))/0x5)+-parseInt(_0x18240e(0x202))/0x6+-parseInt(_0x18240e(0x21e))/0x7+-parseInt(_0x18240e(0x226))/0x8*(parseInt(_0x18240e(0x1f2))/0x9)+parseInt(_0x18240e(0x223))/0xa*(parseInt(_0x18240e(0x21c))/0xb);if(_0x5f3160===_0x1aa86b)break;else _0x42cf7f['push'](_0x42cf7f['shift']());}catch(_0x799dc2){_0x42cf7f['push'](_0x42cf7f['shift']());}}}(_0x3ca3,0x4c2c6));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x119813){}[_0x41ff0c(0x228)](..._0x1fde49){}[_0x41ff0c(0x22d)](..._0x2bb5f7){}[_0x41ff0c(0x213)](..._0x5a4085){}[_0x41ff0c(0x206)](..._0x3a7a75){}[_0x41ff0c(0x231)](..._0x2bbe5d){}[_0x41ff0c(0x215)](..._0x394042){}[_0x41ff0c(0x21d)](..._0x1a7145){}[_0x41ff0c(0x214)](..._0x31cd6d){}['onGroupExtListUpdate'](..._0x15a9dc){}[_0x41ff0c(0x22f)](..._0x849a05){}[_0x41ff0c(0x1f3)](_0x21cda2,_0x233211){}[_0x41ff0c(0x20a)](_0x3842c7,_0x251dd8){}['onGroupBulletinRichMediaProgressUpdate'](..._0x4a712d){}[_0x41ff0c(0x224)](..._0x2d78e5){}[_0x41ff0c(0x201)](..._0x1e7a90){}[_0x41ff0c(0x1fb)](..._0xdf1ebe){}['onGroupStatisticInfoChange'](..._0x1fd911){}[_0x41ff0c(0x200)](..._0x9f43da){}['onJoinGroupNoVerifyFlag'](..._0x596f43){}[_0x41ff0c(0x220)](_0x1fe9c1,_0x53b090,_0x3525e4){}[_0x41ff0c(0x1f1)](_0x5bd9af){}[_0x41ff0c(0x20f)](..._0x4020ca){}['onShutUpMemberListChanged'](..._0x45e84a){}}export class DebugGroupListener{[_0x41ff0c(0x203)](..._0x11e849){var _0x13c98a=_0x41ff0c,_0x393092={'NaxFs':_0x13c98a(0x21f)};console[_0x13c98a(0x225)](_0x393092[_0x13c98a(0x1fa)],..._0x11e849);}[_0x41ff0c(0x228)](..._0x49621d){var _0x18d7c2=_0x41ff0c,_0x11b135={'uzsuI':_0x18d7c2(0x204)};console[_0x18d7c2(0x225)](_0x11b135['uzsuI'],..._0x49621d);}[_0x41ff0c(0x22d)](..._0x339ab0){var _0x550f4d=_0x41ff0c,_0x46b5f9={'BNaex':_0x550f4d(0x216)};console[_0x550f4d(0x225)](_0x46b5f9['BNaex'],..._0x339ab0);}[_0x41ff0c(0x213)](..._0x1f6b4a){var _0x37b1f8=_0x41ff0c,_0x6e8757={'ALvvJ':'onGroupBulletinChange:'};console['log'](_0x6e8757[_0x37b1f8(0x1fc)],..._0x1f6b4a);}['onGroupBulletinRemindNotify'](..._0x216c3b){var _0x434613=_0x41ff0c,_0x5904ef={'BRqZo':_0x434613(0x209)};console['log'](_0x5904ef[_0x434613(0x1f4)],..._0x216c3b);}[_0x41ff0c(0x231)](..._0x16ff3c){var _0x1e56df=_0x41ff0c,_0x16782c={'OHNHh':_0x1e56df(0x1f8)};console[_0x1e56df(0x225)](_0x16782c[_0x1e56df(0x208)],..._0x16ff3c);}['onGroupBulletinRichMediaDownloadComplete'](..._0x3ff342){var _0x382f1e=_0x41ff0c;console[_0x382f1e(0x225)](_0x382f1e(0x20e),..._0x3ff342);}[_0x41ff0c(0x21d)](..._0x298035){var _0x5de7fa=_0x41ff0c;console[_0x5de7fa(0x225)](_0x5de7fa(0x22e),..._0x298035);}[_0x41ff0c(0x214)](..._0xfa4104){var _0x4b3025=_0x41ff0c,_0x16335e={'uQyOe':_0x4b3025(0x210)};console[_0x4b3025(0x225)](_0x16335e[_0x4b3025(0x207)],..._0xfa4104);}['onGroupExtListUpdate'](..._0x6f310c){var _0x40dd7f=_0x41ff0c;console['log'](_0x40dd7f(0x219),..._0x6f310c);}['onGroupFirstBulletinNotify'](..._0x2f16a0){var _0x52c4ad=_0x41ff0c;console['log'](_0x52c4ad(0x222),..._0x2f16a0);}[_0x41ff0c(0x1f3)](..._0x10598d){var _0x1eb4dd=_0x41ff0c,_0x544422={'kbDFP':_0x1eb4dd(0x230)};console[_0x1eb4dd(0x225)](_0x544422[_0x1eb4dd(0x1f5)],..._0x10598d);}[_0x41ff0c(0x20a)](..._0x1ffa0c){console['log']('onGroupNotifiesUpdated:',..._0x1ffa0c);}[_0x41ff0c(0x1fe)](..._0x4010de){var _0x335540=_0x41ff0c,_0x204591={'uesfG':_0x335540(0x218)};console[_0x335540(0x225)](_0x204591['uesfG'],..._0x4010de);}[_0x41ff0c(0x224)](..._0x4061ba){var _0x5d2001=_0x41ff0c,_0x1aead1={'BgQPi':_0x5d2001(0x1f9)};console[_0x5d2001(0x225)](_0x1aead1[_0x5d2001(0x221)],..._0x4061ba);}[_0x41ff0c(0x201)](..._0x8ae507){var _0x5eefc8=_0x41ff0c;console[_0x5eefc8(0x225)](_0x5eefc8(0x20b),..._0x8ae507);}[_0x41ff0c(0x1fb)](..._0x12d7c2){var _0x5ad788=_0x41ff0c,_0x1385cf={'JCSgu':_0x5ad788(0x227)};console['log'](_0x1385cf['JCSgu'],..._0x12d7c2);}['onGroupStatisticInfoChange'](..._0x2346e3){var _0x3b3ed8=_0x41ff0c,_0x215286={'lQAGG':_0x3b3ed8(0x212)};console['log'](_0x215286['lQAGG'],..._0x2346e3);}['onJoinGroupNotify'](..._0x2e1b71){var _0x292035=_0x41ff0c,_0x5cfd8f={'GbiID':_0x292035(0x20d)};console[_0x292035(0x225)](_0x5cfd8f[_0x292035(0x232)],..._0x2e1b71);}['onJoinGroupNoVerifyFlag'](..._0x45c484){var _0x1791f7=_0x41ff0c,_0x47964f={'EwHJn':_0x1791f7(0x22b)};console['log'](_0x47964f[_0x1791f7(0x21a)],..._0x45c484);}[_0x41ff0c(0x220)](_0xd0ba2f,_0x3cc5af,_0x558ffe){var _0x4d19f4=_0x41ff0c,_0x3f9ca6={'mQmiy':'onMemberInfoChange:'};console['log'](_0x3f9ca6[_0x4d19f4(0x205)],_0xd0ba2f,_0x3cc5af,_0x558ffe);}[_0x41ff0c(0x1f1)](..._0x3f9b46){var _0xb4ac26=_0x41ff0c,_0x4a6911={'hXclh':_0xb4ac26(0x1f6)};console[_0xb4ac26(0x225)](_0x4a6911[_0xb4ac26(0x22c)],..._0x3f9b46);}[_0x41ff0c(0x20f)](..._0x91b3f){var _0x4e7232=_0x41ff0c;console[_0x4e7232(0x225)](_0x4e7232(0x1f7),..._0x91b3f);}[_0x41ff0c(0x22a)](..._0x57a109){var _0x398725=_0x41ff0c,_0x53d0ab={'Cashz':_0x398725(0x217)};console[_0x398725(0x225)](_0x53d0ab[_0x398725(0x211)],..._0x57a109);}} \ No newline at end of file +var _0x513487=_0x3cf2;function _0x544a(){var _0x4598c2=['onGroupSingleScreenNotifies:','onGroupFirstBulletinNotify:','lVnOM','347564dYThaR','onGroupSingleScreenNotifies','onGroupArkInviteStateResult:','onGroupBulletinRichMediaDownloadComplete','iZAhi','log','onSearchMemberChange','868143xWpwlP','onMemberInfoChange','onMemberInfoChange:','onGroupBulletinRemindNotify:','6RbYSmR','onShutUpMemberListChanged:','onJoinGroupNotify','onGroupDetailInfoChange','onGroupExtListUpdate','kZYYE','onGroupBulletinRichMediaProgressUpdate:','onMemberListChange:','onGroupNotifiesUpdated','RGEGt','22316668MehSDq','onMemberListChange','4828064jRgUzE','onGroupNotifiesUpdated:','276196vvrprU','onJoinGroupNoVerifyFlag','onGroupStatisticInfoChange:','wiUgD','vRKvE','onGroupListUpdate','488783MBsMNX','onGroupNotifiesUnreadCountUpdated','Htods','onGroupBulletinChange:','onJoinGroupNoVerifyFlag:','13870LyuCdy','54TLDUsf','EcbNu','onGroupConfMemberChange','EeXQv','onGroupArkInviteStateResult','PDxJs','wWGGQ','onShutUpMemberListChanged','onGroupStatisticInfoChange','onGroupFirstBulletinNotify','onJoinGroupNotify:','onGroupsMsgMaskResult','onGroupListUpdate:','onGroupAllInfoChange','onGroupsMsgMaskResult:','1782KefSjS','onGroupBulletinRichMediaProgressUpdate','onGroupDetailInfoChange:','onGroupBulletinRemindNotify','onGroupExtListUpdate:','onGroupConfMemberChange:','vwcvv','onGroupAllInfoChange:','45XFilmr','wHZAU','onGetGroupBulletinListResult','onGroupMemberLevelInfoChange'];_0x544a=function(){return _0x4598c2;};return _0x544a();}(function(_0x3a4493,_0x19e7ba){var _0x519f4e=_0x3cf2,_0x2816aa=_0x3a4493();while(!![]){try{var _0x4d66ef=parseInt(_0x519f4e(0x91))/0x1+-parseInt(_0x519f4e(0x7d))/0x2*(parseInt(_0x519f4e(0xbc))/0x3)+-parseInt(_0x519f4e(0x8b))/0x4*(parseInt(_0x519f4e(0xae))/0x5)+-parseInt(_0x519f4e(0x97))/0x6*(-parseInt(_0x519f4e(0xb5))/0x7)+-parseInt(_0x519f4e(0x89))/0x8+parseInt(_0x519f4e(0xa6))/0x9*(-parseInt(_0x519f4e(0x96))/0xa)+parseInt(_0x519f4e(0x87))/0xb;if(_0x4d66ef===_0x19e7ba)break;else _0x2816aa['push'](_0x2816aa['shift']());}catch(_0x2969c6){_0x2816aa['push'](_0x2816aa['shift']());}}}(_0x544a,0x91af1));export class GroupListener{[_0x513487(0xb1)](..._0x424953){}[_0x513487(0xb0)](..._0x4b7fe8){}[_0x513487(0xa4)](..._0x52aed4){}['onGroupBulletinChange'](..._0x2a0125){}[_0x513487(0xa9)](..._0x280c98){}[_0x513487(0x9b)](..._0x5e734a){}['onGroupBulletinRichMediaDownloadComplete'](..._0x2553e1){}[_0x513487(0x99)](..._0x420939){}['onGroupDetailInfoChange'](..._0x3b115a){}[_0x513487(0x81)](..._0x22ddf4){}[_0x513487(0xa0)](..._0x1a92ca){}[_0x513487(0x90)](_0x31a19e,_0x240fa1){}[_0x513487(0x85)](_0x1465d7,_0x7e941f){}[_0x513487(0xa7)](..._0x125446){}[_0x513487(0x92)](..._0x3a1439){}[_0x513487(0xb6)](..._0x3492a7){}[_0x513487(0xa2)](..._0x90f457){}[_0x513487(0x9f)](..._0x5bc53b){}[_0x513487(0x7f)](..._0x2fedb5){}[_0x513487(0x8c)](..._0x64ef71){}[_0x513487(0xbd)](_0x290a7f,_0x19ffd7,_0x37f60b){}[_0x513487(0x88)](_0x33637e){}['onSearchMemberChange'](..._0x3fecfb){}[_0x513487(0x9e)](..._0x498604){}}function _0x3cf2(_0x38a07c,_0x439ab1){var _0x544af3=_0x544a();return _0x3cf2=function(_0x3cf2db,_0x555073){_0x3cf2db=_0x3cf2db-0x7c;var _0x24b2ed=_0x544af3[_0x3cf2db];return _0x24b2ed;},_0x3cf2(_0x38a07c,_0x439ab1);}export class DebugGroupListener{[_0x513487(0xb1)](..._0x2c01f0){var _0xd97ac=_0x513487,_0x16f0b5={'tzoOu':'onGroupMemberLevelInfoChange:'};console[_0xd97ac(0xba)](_0x16f0b5['tzoOu'],..._0x2c01f0);}[_0x513487(0xb0)](..._0x147f9e){var _0x124f2d=_0x513487;console[_0x124f2d(0xba)]('onGetGroupBulletinListResult:',..._0x147f9e);}['onGroupAllInfoChange'](..._0x577046){var _0x59604d=_0x513487,_0x599e11={'RGEGt':_0x59604d(0xad)};console[_0x59604d(0xba)](_0x599e11[_0x59604d(0x86)],..._0x577046);}['onGroupBulletinChange'](..._0x57ffba){var _0x48a243=_0x513487,_0xd06217={'kZYYE':_0x48a243(0x94)};console[_0x48a243(0xba)](_0xd06217[_0x48a243(0x82)],..._0x57ffba);}[_0x513487(0xa9)](..._0x47ca9d){var _0x5a9edd=_0x513487,_0x52756a={'wHZAU':_0x5a9edd(0x7c)};console['log'](_0x52756a[_0x5a9edd(0xaf)],..._0x47ca9d);}[_0x513487(0x9b)](..._0x203e88){var _0x1aeafc=_0x513487,_0x55b0d3={'wiUgD':_0x1aeafc(0xb7)};console[_0x1aeafc(0xba)](_0x55b0d3[_0x1aeafc(0x8e)],..._0x203e88);}[_0x513487(0xb8)](..._0x47a1c3){var _0x460ac4=_0x513487;console[_0x460ac4(0xba)]('onGroupBulletinRichMediaDownloadComplete:',..._0x47a1c3);}[_0x513487(0x99)](..._0xe5de33){var _0x5def2e=_0x513487;console[_0x5def2e(0xba)](_0x5def2e(0xab),..._0xe5de33);}[_0x513487(0x80)](..._0x2b3291){var _0x1b8e1a=_0x513487;console[_0x1b8e1a(0xba)](_0x1b8e1a(0xa8),..._0x2b3291);}['onGroupExtListUpdate'](..._0x5431d4){var _0x51748f=_0x513487,_0x41f76c={'iZAhi':_0x51748f(0xaa)};console['log'](_0x41f76c[_0x51748f(0xb9)],..._0x5431d4);}[_0x513487(0xa0)](..._0x2c8ad9){var _0x465183=_0x513487,_0x5ae3a1={'EeXQv':_0x465183(0xb3)};console['log'](_0x5ae3a1[_0x465183(0x9a)],..._0x2c8ad9);}[_0x513487(0x90)](..._0x90476){var _0x5e152c=_0x513487,_0x353c16={'Htods':_0x5e152c(0xa3)};console[_0x5e152c(0xba)](_0x353c16[_0x5e152c(0x93)],..._0x90476);}[_0x513487(0x85)](..._0x10b9f6){var _0x46dfe7=_0x513487,_0x1a002a={'EcbNu':_0x46dfe7(0x8a)};console[_0x46dfe7(0xba)](_0x1a002a[_0x46dfe7(0x98)],..._0x10b9f6);}[_0x513487(0xa7)](..._0x17bdfb){var _0x220514=_0x513487,_0x327db7={'UDStk':_0x220514(0x83)};console['log'](_0x327db7['UDStk'],..._0x17bdfb);}[_0x513487(0x92)](..._0x4c1630){var _0xc18773=_0x513487,_0x31f341={'PDxJs':'onGroupNotifiesUnreadCountUpdated:'};console[_0xc18773(0xba)](_0x31f341[_0xc18773(0x9c)],..._0x4c1630);}[_0x513487(0xb6)](..._0x531294){var _0xaccb39=_0x513487;console[_0xaccb39(0xba)](_0xaccb39(0xb2),..._0x531294);}[_0x513487(0xa2)](..._0x570b8b){var _0x5d9f89=_0x513487;console[_0x5d9f89(0xba)](_0x5d9f89(0xa5),..._0x570b8b);}['onGroupStatisticInfoChange'](..._0x3a5110){var _0x50c285=_0x513487,_0x5690da={'vwcvv':_0x50c285(0x8d)};console[_0x50c285(0xba)](_0x5690da[_0x50c285(0xac)],..._0x3a5110);}[_0x513487(0x7f)](..._0x5b0aaa){var _0x58b226=_0x513487;console['log'](_0x58b226(0xa1),..._0x5b0aaa);}[_0x513487(0x8c)](..._0x2f28b1){var _0x10f253=_0x513487;console[_0x10f253(0xba)](_0x10f253(0x95),..._0x2f28b1);}[_0x513487(0xbd)](_0x17968a,_0xebf1a1,_0x4ee417){var _0xa86f08=_0x513487,_0x287a61={'wWGGQ':_0xa86f08(0xbe)};console['log'](_0x287a61[_0xa86f08(0x9d)],_0x17968a,_0xebf1a1,_0x4ee417);}[_0x513487(0x88)](..._0x3ded5a){var _0x373ae9=_0x513487;console[_0x373ae9(0xba)](_0x373ae9(0x84),..._0x3ded5a);}[_0x513487(0xbb)](..._0x5575e5){var _0x462605=_0x513487,_0x2ea779={'lVnOM':'onSearchMemberChange:'};console[_0x462605(0xba)](_0x2ea779[_0x462605(0xb4)],..._0x5575e5);}[_0x513487(0x9e)](..._0x16ea04){var _0x6c5c65=_0x513487,_0x535ccc={'vRKvE':_0x6c5c65(0x7e)};console[_0x6c5c65(0xba)](_0x535ccc[_0x6c5c65(0x8f)],..._0x16ea04);}} \ 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 f643bd50..cec09cf1 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x3fe463=_0x3e51;function _0x3e51(_0xadefeb,_0x2e7ddb){var _0x11db49=_0x11db();return _0x3e51=function(_0x3e5106,_0x30515c){_0x3e5106=_0x3e5106-0xa1;var _0x4c95f2=_0x11db49[_0x3e5106];return _0x4c95f2;},_0x3e51(_0xadefeb,_0x2e7ddb);}function _0x11db(){var _0x1a5aa2=['105400QuYpox','onUserLoggedIn','onLogoutSucceed','onPasswordLoginFailed','onLoginConnected','onQRCodeSessionQuickLoginFailed','6nYcxsL','1XHGbRl','744426OqlBdv','onLoginState','2081653TZBQib','onQQLoginNumLimited','onQRCodeSessionUserScaned','7769070TqJqEu','OnConfirmUnusualDeviceFailed','onLoginConnecting','1215685qSvxJh','1472776NTEeDG','onLoginDisConnected','onLogoutFailed','874110VvcmGS','onLoginFailed'];_0x11db=function(){return _0x1a5aa2;};return _0x11db();}(function(_0x36fb18,_0x2382a4){var _0x523fba=_0x3e51,_0x2005b8=_0x36fb18();while(!![]){try{var _0x1397ea=parseInt(_0x523fba(0xb0))/0x1*(parseInt(_0x523fba(0xb1))/0x2)+-parseInt(_0x523fba(0xa7))/0x3+-parseInt(_0x523fba(0xa9))/0x4+-parseInt(_0x523fba(0xa3))/0x5*(parseInt(_0x523fba(0xaf))/0x6)+-parseInt(_0x523fba(0xb3))/0x7+-parseInt(_0x523fba(0xa4))/0x8+parseInt(_0x523fba(0xb6))/0x9;if(_0x1397ea===_0x2382a4)break;else _0x2005b8['push'](_0x2005b8['shift']());}catch(_0x21ee35){_0x2005b8['push'](_0x2005b8['shift']());}}}(_0x11db,0x2f256));export class LoginListener{[_0x3fe463(0xad)](..._0x28edbb){}[_0x3fe463(0xa5)](..._0x4d61fb){}[_0x3fe463(0xa2)](..._0x11e0ac){}['onQRCodeGetPicture'](_0x5ed858){}['onQRCodeLoginPollingStarted'](..._0x351095){}[_0x3fe463(0xb5)](..._0x538ed4){}['onQRCodeLoginSucceed'](_0xb250bb){}['onQRCodeSessionFailed'](..._0x396f67){}[_0x3fe463(0xa8)](..._0x3c6cfd){}[_0x3fe463(0xab)](..._0x1aeeeb){}[_0x3fe463(0xa6)](..._0x2dadb7){}[_0x3fe463(0xaa)](..._0x2a46b5){}[_0x3fe463(0xae)](..._0x179cb4){}[_0x3fe463(0xac)](..._0x331350){}[_0x3fe463(0xa1)](..._0x4c40ad){}[_0x3fe463(0xb4)](..._0x495d53){}[_0x3fe463(0xb2)](..._0x2cd901){}} \ No newline at end of file +var _0x39cd07=_0x4dbc;function _0x4dbc(_0x7315b3,_0x214bfa){var _0x4554b8=_0x4554();return _0x4dbc=function(_0x4dbcbb,_0x5d44a0){_0x4dbcbb=_0x4dbcbb-0x90;var _0x56233b=_0x4554b8[_0x4dbcbb];return _0x56233b;},_0x4dbc(_0x7315b3,_0x214bfa);}function _0x4554(){var _0x5345a3=['1074563wYpTMZ','12560PjwQVG','48387TPhRmu','onLoginState','438374TIGoSv','onLogoutFailed','onQRCodeLoginSucceed','294195cgiahU','onPasswordLoginFailed','onQQLoginNumLimited','605584mcsybn','1bMxyli','120AhfAtZ','10aiHHus','2260170iwCdDE','OnConfirmUnusualDeviceFailed','36RhiHog','onLoginDisConnected','onLoginConnected','onQRCodeSessionQuickLoginFailed','onUserLoggedIn'];_0x4554=function(){return _0x5345a3;};return _0x4554();}(function(_0x18254c,_0x5019d5){var _0x5d438c=_0x4dbc,_0x2b4821=_0x18254c();while(!![]){try{var _0x14521f=-parseInt(_0x5d438c(0x95))/0x1*(parseInt(_0x5d438c(0xa3))/0x2)+parseInt(_0x5d438c(0xa1))/0x3+-parseInt(_0x5d438c(0xa0))/0x4*(-parseInt(_0x5d438c(0x97))/0x5)+-parseInt(_0x5d438c(0x98))/0x6+parseInt(_0x5d438c(0x9f))/0x7+-parseInt(_0x5d438c(0x94))/0x8*(-parseInt(_0x5d438c(0x9a))/0x9)+-parseInt(_0x5d438c(0x96))/0xa*(-parseInt(_0x5d438c(0x91))/0xb);if(_0x14521f===_0x5019d5)break;else _0x2b4821['push'](_0x2b4821['shift']());}catch(_0x53a16c){_0x2b4821['push'](_0x2b4821['shift']());}}}(_0x4554,0x31bf8));export class LoginListener{[_0x39cd07(0x9c)](..._0x1e73c5){}[_0x39cd07(0x9b)](..._0x4638d4){}['onLoginConnecting'](..._0x36fafb){}['onQRCodeGetPicture'](_0x3793a4){}['onQRCodeLoginPollingStarted'](..._0x451003){}['onQRCodeSessionUserScaned'](..._0x111fea){}[_0x39cd07(0x90)](_0x2d103c){}['onQRCodeSessionFailed'](..._0x1d8328){}['onLoginFailed'](..._0x1362cb){}['onLogoutSucceed'](..._0x3a1951){}[_0x39cd07(0xa4)](..._0x494759){}[_0x39cd07(0x9e)](..._0x1ea4ed){}[_0x39cd07(0x9d)](..._0x5d43cb){}[_0x39cd07(0x92)](..._0x1c9a5a){}[_0x39cd07(0x99)](..._0x54347e){}[_0x39cd07(0x93)](..._0x25e626){}[_0x39cd07(0xa2)](..._0x5d5e05){}} \ 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 ee5c031d..1720620a 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x4676(){var _0x5f02d1=['onUserSecQualityChanged','onMsgInfoListAdd','onRichMediaProgerssUpdate','onGroupTransferInfoAdd','106930Lbkkgq','onLogLevelChanged','onTempChatInfoUpdate','onMsgQRCodeStatusChanged','onMsgBoxChanged','2270493YVEFIU','onRichMediaUploadComplete','7cGWpwt','113412sJTKlb','onEmojiDownloadComplete','onRecvOnlineFileMsg','onGuildInteractiveUpdate','onContactUnreadCntUpdate','onAddSendMsg','onFileMsgCome','onRecvSysMsg','onRecvUDCFlag','onMsgInfoListUpdate','onFirstViewDirectMsgUpdate','onReadFeedEventUpdate','129151XGcxqQ','onRecvS2CMsg','onMsgWithRichLinkInfoUpdate','onBroadcastHelperProgerssUpdate','69Ovomdp','onlineStatusSmallIconDownloadPush','onUserChannelTabStatusChanged','onRecvMsg','onGroupFileInfoAdd','onGroupFileInfoUpdate','onCustomWithdrawConfigUpdate','onGroupTransferInfoUpdate','onUnreadCntAfterFirstView','onMsgAbstractUpdate','430fZDtPB','onHitEmojiKeywordResult','onBroadcastHelperDownloadComplete','onUnreadCntUpdate','onNtFirstViewMsgSyncEnd','2112840wplEWE','onMsgRecall','onGuildMsgAbFlagChanged','onHitCsRelatedEmojiResult','onUserTabStatusChanged','onEmojiResourceUpdate','8wMGIgN','onBroadcastHelperProgressUpdate','onImportOldDbProgressUpdate','3180210IKFnxT','onInputStatusPush','onChannelFreqLimitInfoUpdate','onRedTouchChanged','onRecvGroupGuildFlag','onMsgSecurityNotify','onSysMsgNotification','onMsgSettingUpdate','onGuildNotificationAbstractUpdate','onlineStatusBigIconDownloadPush','onGroupGuildUpdate','onRichMediaDownloadComplete','797080RblGRO','onDraftUpdate'];_0x4676=function(){return _0x5f02d1;};return _0x4676();}var _0x53cb24=_0x915d;(function(_0x351298,_0x2026b6){var _0x25e23a=_0x915d,_0x3be636=_0x351298();while(!![]){try{var _0x2490dc=parseInt(_0x25e23a(0x1ef))/0x1+parseInt(_0x25e23a(0x1e9))/0x2+-parseInt(_0x25e23a(0x207))/0x3*(parseInt(_0x25e23a(0x1f7))/0x4)+-parseInt(_0x25e23a(0x1dd))/0x5+-parseInt(_0x25e23a(0x1d4))/0x6*(-parseInt(_0x25e23a(0x1f6))/0x7)+-parseInt(_0x25e23a(0x1da))/0x8*(-parseInt(_0x25e23a(0x1f4))/0x9)+parseInt(_0x25e23a(0x211))/0xa*(parseInt(_0x25e23a(0x203))/0xb);if(_0x2490dc===_0x2026b6)break;else _0x3be636['push'](_0x3be636['shift']());}catch(_0x23decb){_0x3be636['push'](_0x3be636['shift']());}}}(_0x4676,0x4fbbd));function _0x915d(_0x41a57b,_0x584f13){var _0x4676c1=_0x4676();return _0x915d=function(_0x915d3d,_0x1d7c05){_0x915d3d=_0x915d3d-0x1d1;var _0x3558d2=_0x4676c1[_0x915d3d];return _0x3558d2;},_0x915d(_0x41a57b,_0x584f13);}export class MsgListener{[_0x53cb24(0x1fc)](_0x36709a){}[_0x53cb24(0x1d1)](_0x2e0c54){}[_0x53cb24(0x1db)](_0x24ede7){}[_0x53cb24(0x1df)](_0x3ae8f5,_0x2fd14f,_0x5226a1){}[_0x53cb24(0x1fb)](_0x205a87){}[_0x53cb24(0x20d)](_0x4990e8){}[_0x53cb24(0x1ea)](_0x2da232,_0x33ef71,_0x1a712e){}[_0x53cb24(0x1f8)](_0x347fcb){}[_0x53cb24(0x1d9)](_0x1fecf4){}['onFeedEventUpdate'](_0x54bce9){}[_0x53cb24(0x1fd)](_0x3a40ed){}[_0x53cb24(0x201)](_0x16ccf5){}['onFirstViewGroupGuildMapping'](_0x32b35b){}['onGrabPasswordRedBag'](_0x16f298,_0x450152,_0x18b71d,_0x4158aa,_0x20952a){}[_0x53cb24(0x20b)](_0x3184c6){}[_0x53cb24(0x20c)](_0x2a5bcd){}[_0x53cb24(0x1e7)](_0x347827){}[_0x53cb24(0x1ee)](_0x3b4534){}[_0x53cb24(0x20e)](_0x5c9519){}[_0x53cb24(0x1fa)](_0x1d4d24){}[_0x53cb24(0x1d6)](_0x1dd058){}[_0x53cb24(0x1e5)](_0x38db4a){}[_0x53cb24(0x1d7)](_0x19ba46){}[_0x53cb24(0x212)](_0x4c8d06){}['onHitRelatedEmojiResult'](_0x181bcf){}[_0x53cb24(0x1dc)](_0x270b49){}[_0x53cb24(0x1de)](_0x2a67da){}['onKickedOffLine'](_0x40aa99){}['onLineDev'](_0x46d4fe){}[_0x53cb24(0x1f0)](_0x5e7b01){}[_0x53cb24(0x210)](_0x136907){}[_0x53cb24(0x1f3)](_0x410ca7){}['onMsgDelete'](_0x19ff34,_0x337a15){}['onMsgEventListUpdate'](_0x1a4ccd){}[_0x53cb24(0x1ec)](_0x126068){}[_0x53cb24(0x200)](_0x5fb67c){}[_0x53cb24(0x1f2)](_0x162ce6){}[_0x53cb24(0x1d5)](_0x294e00,_0x5e9994,_0xb8d98b){}[_0x53cb24(0x1e2)](_0x4fc803){}[_0x53cb24(0x1e4)](_0x43d063){}[_0x53cb24(0x1d3)](){}['onNtMsgSyncEnd'](){}['onNtMsgSyncStart'](){}[_0x53cb24(0x202)](_0x486311){}[_0x53cb24(0x1e1)](_0x3eb21a){}[_0x53cb24(0x20a)](_0x1cc9b0){}['onRecvMsgSvrRspTransInfo'](_0x235ca8,_0x285933,_0x8ea577,_0x34f8d9,_0x40251c,_0x10a927){}[_0x53cb24(0x1f9)](_0x3c2a13){}[_0x53cb24(0x204)](_0x2e21ae){}[_0x53cb24(0x1fe)](_0x1e4d0a){}[_0x53cb24(0x1ff)](_0x45feb3){}[_0x53cb24(0x1e8)](_0x4f678a){}[_0x53cb24(0x1ed)](_0x77a446){}[_0x53cb24(0x1f5)](_0x12d101){}['onSearchGroupFileInfoUpdate'](_0x34f908){}['onSendMsgError'](_0x3a968d,_0x2c1d8d,_0x3d1220,_0x2a04a1){}[_0x53cb24(0x1e3)](_0xb93eb9,_0x337579,_0x4b54f8,_0x298fc0){}[_0x53cb24(0x1f1)](_0x346eda){}[_0x53cb24(0x20f)](_0x2f67a6){}[_0x53cb24(0x1d2)](_0x52294d){}[_0x53cb24(0x209)](_0x3ae4af){}['onUserOnlineStatusChanged'](_0x2b55bb){}[_0x53cb24(0x1d8)](_0x59fee3){}[_0x53cb24(0x1e6)](_0x2b88fe,_0x4b5800,_0x3561ae){}[_0x53cb24(0x208)](_0x38e7e8,_0x397dc5,_0x4688cc){}[_0x53cb24(0x1eb)](..._0x350050){}[_0x53cb24(0x205)](..._0x344679){}[_0x53cb24(0x1e0)](..._0x4ebbdd){}[_0x53cb24(0x206)](..._0x58104c){}} \ No newline at end of file +var _0x19ac9b=_0x3596;function _0x3596(_0x353a26,_0x5ac683){var _0x3e1ad7=_0x3e1a();return _0x3596=function(_0x3596f6,_0x362a49){_0x3596f6=_0x3596f6-0x1aa;var _0x242d0f=_0x3e1ad7[_0x3596f6];return _0x242d0f;},_0x3596(_0x353a26,_0x5ac683);}(function(_0x4c80df,_0x95ddf6){var _0x50d584=_0x3596,_0x88c520=_0x4c80df();while(!![]){try{var _0x2e6087=parseInt(_0x50d584(0x1d6))/0x1+-parseInt(_0x50d584(0x1cb))/0x2+parseInt(_0x50d584(0x1ca))/0x3+parseInt(_0x50d584(0x1d7))/0x4+-parseInt(_0x50d584(0x1c4))/0x5+parseInt(_0x50d584(0x1d3))/0x6*(parseInt(_0x50d584(0x1de))/0x7)+-parseInt(_0x50d584(0x1b0))/0x8;if(_0x2e6087===_0x95ddf6)break;else _0x88c520['push'](_0x88c520['shift']());}catch(_0x1c92b4){_0x88c520['push'](_0x88c520['shift']());}}}(_0x3e1a,0x29158));function _0x3e1a(){var _0x9c9faf=['onMsgRecall','onRedTouchChanged','onMsgInfoListAdd','599523gzqVHl','50304xwVoHf','onGroupFileInfoAdd','onLineDev','onlineStatusSmallIconDownloadPush','onGuildMsgAbFlagChanged','onRichMediaDownloadComplete','onMsgInfoListUpdate','onBroadcastHelperProgerssUpdate','870VuikWO','onMsgBoxChanged','onMsgAbstractUpdate','123803iNbmdJ','965368yAwQfs','onNtFirstViewMsgSyncEnd','onSendMsgError','onTempChatInfoUpdate','onNtMsgSyncEnd','onHitRelatedEmojiResult','onFeedEventUpdate','11431nQpjWO','onGroupFileInfoUpdate','onUserSecQualityChanged','onEmojiResourceUpdate','onRecvGroupGuildFlag','onChannelFreqLimitInfoUpdate','onFirstViewGroupGuildMapping','onHitEmojiKeywordResult','onMsgQRCodeStatusChanged','onRecvMsgSvrRspTransInfo','onDraftUpdate','onGroupGuildUpdate','onMsgWithRichLinkInfoUpdate','3303224zvNgLl','onUnreadCntAfterFirstView','onUnreadCntUpdate','onUserOnlineStatusChanged','onRecvMsg','onGuildInteractiveUpdate','onSearchGroupFileInfoUpdate','onGuildNotificationAbstractUpdate','onMsgDelete','onGroupTransferInfoUpdate','onRecvOnlineFileMsg','onSysMsgNotification','onMsgSecurityNotify','onRichMediaUploadComplete','onRichMediaProgerssUpdate','onReadFeedEventUpdate','onBroadcastHelperDownloadComplete','onlineStatusBigIconDownloadPush','onNtMsgSyncStart','onKickedOffLine','977180cHsULh','onHitCsRelatedEmojiResult','onImportOldDbProgressUpdate'];_0x3e1a=function(){return _0x9c9faf;};return _0x3e1a();}export class MsgListener{['onAddSendMsg'](_0xaa69ee){}[_0x19ac9b(0x1c0)](_0x549f00){}['onBroadcastHelperProgressUpdate'](_0x27161f){}[_0x19ac9b(0x1e3)](_0x553041,_0x54bf40,_0x1e7bba){}['onContactUnreadCntUpdate'](_0x5e42e4){}['onCustomWithdrawConfigUpdate'](_0x140d0b){}[_0x19ac9b(0x1ad)](_0x5816f4,_0x598a91,_0x82df7d){}['onEmojiDownloadComplete'](_0x1db471){}[_0x19ac9b(0x1e1)](_0x4de5ea){}[_0x19ac9b(0x1dd)](_0x30e4fd){}['onFileMsgCome'](_0x41a76e){}['onFirstViewDirectMsgUpdate'](_0x4614eb){}[_0x19ac9b(0x1e4)](_0x1780cd){}['onGrabPasswordRedBag'](_0x230df7,_0x43ee49,_0x3278e3,_0x2bf2aa,_0x441f02){}[_0x19ac9b(0x1cc)](_0x34da43){}[_0x19ac9b(0x1df)](_0x5553ad){}[_0x19ac9b(0x1ae)](_0x49fb31){}['onGroupTransferInfoAdd'](_0x40362b){}[_0x19ac9b(0x1b9)](_0x1452bf){}[_0x19ac9b(0x1b5)](_0xde170e){}[_0x19ac9b(0x1cf)](_0x4e66b2){}[_0x19ac9b(0x1b7)](_0x12a743){}[_0x19ac9b(0x1c5)](_0x587ca2){}[_0x19ac9b(0x1aa)](_0x44e2e7){}[_0x19ac9b(0x1dc)](_0x3295e1){}[_0x19ac9b(0x1c6)](_0xd7696){}['onInputStatusPush'](_0x1efe20){}[_0x19ac9b(0x1c3)](_0x2e544b){}[_0x19ac9b(0x1cd)](_0x388acd){}['onLogLevelChanged'](_0x5010a0){}[_0x19ac9b(0x1d5)](_0x527c0c){}[_0x19ac9b(0x1d4)](_0x562c77){}[_0x19ac9b(0x1b8)](_0x5948df,_0x5d6484){}['onMsgEventListUpdate'](_0x415dad){}[_0x19ac9b(0x1c9)](_0xe58512){}[_0x19ac9b(0x1d1)](_0xef6b28){}[_0x19ac9b(0x1ab)](_0x576eaa){}[_0x19ac9b(0x1c7)](_0x209b09,_0x28560a,_0x2d499b){}[_0x19ac9b(0x1bc)](_0x2cbb37){}['onMsgSettingUpdate'](_0x24aa4c){}[_0x19ac9b(0x1d8)](){}[_0x19ac9b(0x1db)](){}[_0x19ac9b(0x1c2)](){}[_0x19ac9b(0x1bf)](_0x1ce33d){}[_0x19ac9b(0x1e2)](_0x154d94){}[_0x19ac9b(0x1b4)](_0x1a4387){}[_0x19ac9b(0x1ac)](_0xfff9bc,_0x2f87a4,_0x53c4bb,_0x5acf62,_0x4e4964,_0x1ddf71){}[_0x19ac9b(0x1ba)](_0x49b59d){}['onRecvS2CMsg'](_0x3f8fff){}['onRecvSysMsg'](_0x598931){}['onRecvUDCFlag'](_0x5d98c3){}[_0x19ac9b(0x1d0)](_0x454f3b){}[_0x19ac9b(0x1be)](_0x395f24){}[_0x19ac9b(0x1bd)](_0x47db00){}[_0x19ac9b(0x1b6)](_0x20bb77){}[_0x19ac9b(0x1d9)](_0x60d0eb,_0x540dfd,_0x598a1c,_0x118468){}[_0x19ac9b(0x1bb)](_0x171042,_0x5cff46,_0x3e85ba,_0x32c044){}[_0x19ac9b(0x1da)](_0x1e8de1){}[_0x19ac9b(0x1b1)](_0x5b30ca){}[_0x19ac9b(0x1b2)](_0x5b1588){}['onUserChannelTabStatusChanged'](_0x44dcf8){}[_0x19ac9b(0x1b3)](_0x5d6177){}['onUserTabStatusChanged'](_0x372bd0){}[_0x19ac9b(0x1c1)](_0x35651a,_0x339ef4,_0x5a1171){}[_0x19ac9b(0x1ce)](_0x12b03b,_0x5c0b1a,_0x4eeaca){}[_0x19ac9b(0x1e0)](..._0x5d6bc4){}[_0x19ac9b(0x1af)](..._0x308845){}[_0x19ac9b(0x1c8)](..._0x43863e){}[_0x19ac9b(0x1d2)](..._0x38bcd0){}} \ 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 cf4193c9..9d0ba5a3 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x4ed8(){var _0x523cd6=['onStrangerRemarkChanged','38624860XExcgS','6LnlqyF','829206zWNULj','onSelfStatusChanged','onProfileSimpleChanged','5iaRIuP','18hvBGCO','478816hRDetC','10532711jHLVuX','onStatusUpdate','2777908JntTBB','onProfileDetailInfoChanged','2697192IDIuMr','3987393KnvLtd'];_0x4ed8=function(){return _0x523cd6;};return _0x4ed8();}function _0x11a8(_0x4656de,_0x55eccc){var _0x4ed86c=_0x4ed8();return _0x11a8=function(_0x11a8ba,_0x1535a0){_0x11a8ba=_0x11a8ba-0x128;var _0x57e38f=_0x4ed86c[_0x11a8ba];return _0x57e38f;},_0x11a8(_0x4656de,_0x55eccc);}var _0x144040=_0x11a8;(function(_0x5bf3ff,_0x16f39f){var _0x14ac19=_0x11a8,_0x3d22ec=_0x5bf3ff();while(!![]){try{var _0x151511=-parseInt(_0x14ac19(0x132))/0x1+parseInt(_0x14ac19(0x12d))/0x2+-parseInt(_0x14ac19(0x129))/0x3+parseInt(_0x14ac19(0x135))/0x4*(parseInt(_0x14ac19(0x130))/0x5)+parseInt(_0x14ac19(0x12c))/0x6*(-parseInt(_0x14ac19(0x133))/0x7)+-parseInt(_0x14ac19(0x128))/0x8*(parseInt(_0x14ac19(0x131))/0x9)+parseInt(_0x14ac19(0x12b))/0xa;if(_0x151511===_0x16f39f)break;else _0x3d22ec['push'](_0x3d22ec['shift']());}catch(_0xae6ce3){_0x3d22ec['push'](_0x3d22ec['shift']());}}}(_0x4ed8,0xf0648));export class ProfileListener{[_0x144040(0x12f)](..._0x2c06ce){}[_0x144040(0x136)](_0x411ef4){}[_0x144040(0x134)](..._0x4c0e6d){}[_0x144040(0x12e)](..._0x5db534){}[_0x144040(0x12a)](..._0x3b5ba1){}} \ No newline at end of file +function _0x8ccd(){var _0x1ecaf3=['6552174qzWZCl','3523681wQfvcl','1655YMMfwk','678KZjeVn','3092Mpdjck','onStrangerRemarkChanged','963sCPUNC','15724090CzXmnt','onProfileSimpleChanged','56igUDKl','onSelfStatusChanged','172265gFduyW','134307ltlguy'];_0x8ccd=function(){return _0x1ecaf3;};return _0x8ccd();}var _0x133672=_0x1761;function _0x1761(_0x54871,_0x2d12e0){var _0x8ccd5e=_0x8ccd();return _0x1761=function(_0x1761ac,_0x59bc59){_0x1761ac=_0x1761ac-0x7a;var _0x361309=_0x8ccd5e[_0x1761ac];return _0x361309;},_0x1761(_0x54871,_0x2d12e0);}(function(_0x37022a,_0x99a99e){var _0xdf80a7=_0x1761,_0x5f3548=_0x37022a();while(!![]){try{var _0x3014a1=-parseInt(_0xdf80a7(0x7b))/0x1+-parseInt(_0xdf80a7(0x80))/0x2*(parseInt(_0xdf80a7(0x83))/0x3)+-parseInt(_0xdf80a7(0x81))/0x4*(-parseInt(_0xdf80a7(0x7f))/0x5)+-parseInt(_0xdf80a7(0x7d))/0x6+parseInt(_0xdf80a7(0x7e))/0x7+-parseInt(_0xdf80a7(0x86))/0x8*(parseInt(_0xdf80a7(0x7c))/0x9)+parseInt(_0xdf80a7(0x84))/0xa;if(_0x3014a1===_0x99a99e)break;else _0x5f3548['push'](_0x5f3548['shift']());}catch(_0x50ceb1){_0x5f3548['push'](_0x5f3548['shift']());}}}(_0x8ccd,0xd0841));export class ProfileListener{[_0x133672(0x85)](..._0x513700){}['onProfileDetailInfoChanged'](_0x36e3e7){}['onStatusUpdate'](..._0x1bbad2){}[_0x133672(0x7a)](..._0xe08557){}[_0x133672(0x82)](..._0x941eec){}} \ 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 8d13e3e4..0c13aed9 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x2c80b8=_0x3f7b;(function(_0x30a890,_0x51066f){var _0x212acd=_0x3f7b,_0x4abf74=_0x30a890();while(!![]){try{var _0x4af205=-parseInt(_0x212acd(0x15d))/0x1*(parseInt(_0x212acd(0x15a))/0x2)+-parseInt(_0x212acd(0x161))/0x3+parseInt(_0x212acd(0x160))/0x4*(-parseInt(_0x212acd(0x15f))/0x5)+-parseInt(_0x212acd(0x15e))/0x6*(-parseInt(_0x212acd(0x157))/0x7)+-parseInt(_0x212acd(0x15b))/0x8*(-parseInt(_0x212acd(0x15c))/0x9)+parseInt(_0x212acd(0x158))/0xa+parseInt(_0x212acd(0x156))/0xb;if(_0x4af205===_0x51066f)break;else _0x4abf74['push'](_0x4abf74['shift']());}catch(_0x1922ea){_0x4abf74['push'](_0x4abf74['shift']());}}}(_0x4508,0x7f9fd));function _0x4508(){var _0x5b3ac7=['8164376yOKmrU','107254vpMmnc','2315900hkWsRo','onRobotProfileChanged','2520snssKw','16ubfCOt','1360602IUBGtz','389sBrrGv','294thctbx','936825szUGHm','12NkWYET','1355868nhIGhx'];_0x4508=function(){return _0x5b3ac7;};return _0x4508();}function _0x3f7b(_0x41a65d,_0x11dbcb){var _0x450838=_0x4508();return _0x3f7b=function(_0x3f7b19,_0x24757f){_0x3f7b19=_0x3f7b19-0x156;var _0x554cdb=_0x450838[_0x3f7b19];return _0x554cdb;},_0x3f7b(_0x41a65d,_0x11dbcb);}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x429e1d){}['onRobotListChanged'](..._0x22ff49){}[_0x2c80b8(0x159)](..._0x59a9b2){}} \ No newline at end of file +var _0x462de6=_0x308e;(function(_0x1a825d,_0x4dbc74){var _0x55d06e=_0x308e,_0x5572d6=_0x1a825d();while(!![]){try{var _0x9944fb=-parseInt(_0x55d06e(0x1e8))/0x1*(-parseInt(_0x55d06e(0x1e5))/0x2)+-parseInt(_0x55d06e(0x1e7))/0x3*(parseInt(_0x55d06e(0x1ec))/0x4)+-parseInt(_0x55d06e(0x1eb))/0x5*(parseInt(_0x55d06e(0x1ef))/0x6)+parseInt(_0x55d06e(0x1e9))/0x7+-parseInt(_0x55d06e(0x1ee))/0x8+-parseInt(_0x55d06e(0x1e6))/0x9*(-parseInt(_0x55d06e(0x1e4))/0xa)+parseInt(_0x55d06e(0x1ea))/0xb;if(_0x9944fb===_0x4dbc74)break;else _0x5572d6['push'](_0x5572d6['shift']());}catch(_0x3a0c36){_0x5572d6['push'](_0x5572d6['shift']());}}}(_0x1c44,0x5dd9a));function _0x308e(_0x2f0f98,_0x42147b){var _0x1c4466=_0x1c44();return _0x308e=function(_0x308e61,_0x84947c){_0x308e61=_0x308e61-0x1e4;var _0x173528=_0x1c4466[_0x308e61];return _0x173528;},_0x308e(_0x2f0f98,_0x42147b);}function _0x1c44(){var _0x12d34a=['9tuXldi','24mDcYHH','339769EcTvpV','553812hAysbe','6416575QIDwUm','1620DbhVhd','342460yQuXNu','onRobotProfileChanged','1515512hmRruD','1578gWExxH','3417710WEukkb','2OVxetJ'];_0x1c44=function(){return _0x12d34a;};return _0x1c44();}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x27c47d){}['onRobotListChanged'](..._0x541694){}[_0x462de6(0x1ed)](..._0x5d2eb7){}} \ 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 f33e6715..45539d78 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x4414(_0x1db073,_0x57b936){var _0x5abb38=_0x5abb();return _0x4414=function(_0x4414ec,_0x38beab){_0x4414ec=_0x4414ec-0xa6;var _0x1edf59=_0x5abb38[_0x4414ec];return _0x1edf59;},_0x4414(_0x1db073,_0x57b936);}var _0x24dd27=_0x4414;(function(_0x87b58d,_0x485782){var _0x435cd3=_0x4414,_0x49f833=_0x87b58d();while(!![]){try{var _0x52d439=parseInt(_0x435cd3(0xa9))/0x1+parseInt(_0x435cd3(0xaf))/0x2*(parseInt(_0x435cd3(0xb2))/0x3)+-parseInt(_0x435cd3(0xaa))/0x4*(parseInt(_0x435cd3(0xae))/0x5)+-parseInt(_0x435cd3(0xb4))/0x6+-parseInt(_0x435cd3(0xab))/0x7*(parseInt(_0x435cd3(0xb1))/0x8)+parseInt(_0x435cd3(0xb0))/0x9+parseInt(_0x435cd3(0xb3))/0xa;if(_0x52d439===_0x485782)break;else _0x49f833['push'](_0x49f833['shift']());}catch(_0x401a7e){_0x49f833['push'](_0x49f833['shift']());}}}(_0x5abb,0xe3379));export class SessionListener{[_0x24dd27(0xa6)](_0x4913fa){}[_0x24dd27(0xa7)](_0x310b8a){}[_0x24dd27(0xac)](_0x30ebf9){}['onOpentelemetryInit'](_0x449476){}[_0x24dd27(0xad)](_0x24854d){}[_0x24dd27(0xa8)](_0x1fb039){}}function _0x5abb(){var _0x355ec0=['439472EbQfeO','7ONUlXC','onSessionInitComplete','onUserOnlineResult','5powQZl','2zLamGJ','5627997mljbbV','5025656WOguDp','828423szZixX','12308860CCZVJx','11012658ZNwYIv','onNTSessionCreate','onGProSessionCreate','onGetSelfTinyId','1371839UKuYoz'];_0x5abb=function(){return _0x355ec0;};return _0x5abb();} \ No newline at end of file +var _0x568f83=_0xd160;function _0xd160(_0x2e3201,_0x155198){var _0x1a885a=_0x1a88();return _0xd160=function(_0xd160a7,_0x156219){_0xd160a7=_0xd160a7-0x1d8;var _0xb50113=_0x1a885a[_0xd160a7];return _0xb50113;},_0xd160(_0x2e3201,_0x155198);}(function(_0x4b4a82,_0x51704d){var _0x3e9193=_0xd160,_0x256b66=_0x4b4a82();while(!![]){try{var _0xe17111=parseInt(_0x3e9193(0x1db))/0x1*(parseInt(_0x3e9193(0x1df))/0x2)+-parseInt(_0x3e9193(0x1e0))/0x3+-parseInt(_0x3e9193(0x1de))/0x4*(-parseInt(_0x3e9193(0x1e2))/0x5)+parseInt(_0x3e9193(0x1e3))/0x6+-parseInt(_0x3e9193(0x1e5))/0x7*(-parseInt(_0x3e9193(0x1e1))/0x8)+parseInt(_0x3e9193(0x1dc))/0x9+-parseInt(_0x3e9193(0x1d9))/0xa;if(_0xe17111===_0x51704d)break;else _0x256b66['push'](_0x256b66['shift']());}catch(_0x504574){_0x256b66['push'](_0x256b66['shift']());}}}(_0x1a88,0xa5e4f));export class SessionListener{[_0x568f83(0x1d8)](_0x5a60e8){}['onGProSessionCreate'](_0x260ba6){}[_0x568f83(0x1da)](_0x52ae1e){}[_0x568f83(0x1e4)](_0x56dccd){}[_0x568f83(0x1e6)](_0x79e4c9){}[_0x568f83(0x1dd)](_0x28e090){}}function _0x1a88(){var _0x10a056=['7uuXPda','onUserOnlineResult','onNTSessionCreate','19220870BWylOk','onSessionInitComplete','1SErXwO','7709121bnDKTy','onGetSelfTinyId','4706764iagMdj','947762UqufUi','1466421PuUrJJ','2072968BGJHzj','5xqjbgw','1944810tJBlzw','onOpentelemetryInit'];_0x1a88=function(){return _0x10a056;};return _0x1a88();} \ 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 dc37de85..d93cfed7 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x5054(_0x55ac02,_0x1fb157){var _0x4a3a11=_0x4a3a();return _0x5054=function(_0x50541a,_0x277720){_0x50541a=_0x50541a-0x145;var _0x331429=_0x4a3a11[_0x50541a];return _0x331429;},_0x5054(_0x55ac02,_0x1fb157);}var _0x4af682=_0x5054;(function(_0x1c844f,_0x37a71f){var _0x19d129=_0x5054,_0x33c97a=_0x1c844f();while(!![]){try{var _0xc81b1d=parseInt(_0x19d129(0x14d))/0x1+parseInt(_0x19d129(0x146))/0x2*(-parseInt(_0x19d129(0x14f))/0x3)+parseInt(_0x19d129(0x14e))/0x4*(-parseInt(_0x19d129(0x14b))/0x5)+parseInt(_0x19d129(0x145))/0x6*(parseInt(_0x19d129(0x153))/0x7)+-parseInt(_0x19d129(0x148))/0x8*(parseInt(_0x19d129(0x151))/0x9)+parseInt(_0x19d129(0x152))/0xa+parseInt(_0x19d129(0x149))/0xb;if(_0xc81b1d===_0x37a71f)break;else _0x33c97a['push'](_0x33c97a['shift']());}catch(_0x2452e0){_0x33c97a['push'](_0x33c97a['shift']());}}}(_0x4a3a,0x316c2));function _0x4a3a(){var _0x4ca8b6=['4fyYOwJ','onCleanCacheProgressChanged','16OcXRGW','1526481twdUzZ','onFinishScan','5tncFUH','onCleanCacheStorageChanged','175899ZufZOy','1249356RleXyH','422313LwfTXs','onChatCleanDone','1260729vsJsQC','3906340tXduAY','2598211MVpHfu','6MClOad'];_0x4a3a=function(){return _0x4ca8b6;};return _0x4a3a();}export class StorageCleanListener{[_0x4af682(0x147)](_0x5e59d3){}['onScanCacheProgressChanged'](_0x420f0e){}[_0x4af682(0x14c)](_0x94ac3b){}[_0x4af682(0x14a)](_0x5463a9){}[_0x4af682(0x150)](_0x5d9958){}} \ No newline at end of file +function _0x4006(_0x3724ca,_0x49930f){var _0xeb7d29=_0xeb7d();return _0x4006=function(_0x40065a,_0x54ded6){_0x40065a=_0x40065a-0x123;var _0x5ae5e1=_0xeb7d29[_0x40065a];return _0x5ae5e1;},_0x4006(_0x3724ca,_0x49930f);}var _0x15c26e=_0x4006;(function(_0x345362,_0x50ccfc){var _0x99d103=_0x4006,_0x269502=_0x345362();while(!![]){try{var _0x22157d=-parseInt(_0x99d103(0x125))/0x1*(parseInt(_0x99d103(0x12b))/0x2)+-parseInt(_0x99d103(0x12a))/0x3*(parseInt(_0x99d103(0x12c))/0x4)+-parseInt(_0x99d103(0x123))/0x5*(parseInt(_0x99d103(0x129))/0x6)+-parseInt(_0x99d103(0x131))/0x7*(parseInt(_0x99d103(0x127))/0x8)+-parseInt(_0x99d103(0x12f))/0x9*(parseInt(_0x99d103(0x132))/0xa)+-parseInt(_0x99d103(0x124))/0xb*(-parseInt(_0x99d103(0x128))/0xc)+parseInt(_0x99d103(0x12e))/0xd;if(_0x22157d===_0x50ccfc)break;else _0x269502['push'](_0x269502['shift']());}catch(_0x79934c){_0x269502['push'](_0x269502['shift']());}}}(_0xeb7d,0x2aad0));export class StorageCleanListener{[_0x15c26e(0x12d)](_0x3839e5){}[_0x15c26e(0x130)](_0x4c5fdb){}[_0x15c26e(0x126)](_0x51ef57){}[_0x15c26e(0x133)](_0x438c49){}['onChatCleanDone'](_0x3024dd){}}function _0xeb7d(){var _0x26e646=['onCleanCacheStorageChanged','94152FSKzTz','1116LXvCdS','6fOZKcY','84maLOWS','27926NKKDdb','33052cqhZtC','onCleanCacheProgressChanged','11419590nlSUkC','477VJAnAD','onScanCacheProgressChanged','7hoWKjA','56070UtQBpA','onFinishScan','1386655sxGLlS','15136EaQOcx','1YIwgzf'];_0xeb7d=function(){return _0x26e646;};return _0xeb7d();} \ 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 6063a11b..7fff2725 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x2aebc9,_0x3353f0){var _0x3eeeaa=_0x286e,_0x419886=_0x2aebc9();while(!![]){try{var _0x324859=parseInt(_0x3eeeaa(0x103))/0x1*(-parseInt(_0x3eeeaa(0x107))/0x2)+-parseInt(_0x3eeeaa(0x106))/0x3+parseInt(_0x3eeeaa(0x104))/0x4+parseInt(_0x3eeeaa(0x102))/0x5+parseInt(_0x3eeeaa(0x101))/0x6+parseInt(_0x3eeeaa(0x109))/0x7*(parseInt(_0x3eeeaa(0x105))/0x8)+parseInt(_0x3eeeaa(0x108))/0x9;if(_0x324859===_0x3353f0)break;else _0x419886['push'](_0x419886['shift']());}catch(_0x6bb4ef){_0x419886['push'](_0x419886['shift']());}}}(_0x38e2,0xa43d9));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x38e2(){var _0x4cab1c=['1300596XXWoQz','1917755ysdzhJ','16VPoQjy','1466152jlcbXx','1898888iAJcTX','3994686kaTStL','102936cjJZiP','14612067pGtzWt','7ncoUcf'];_0x38e2=function(){return _0x4cab1c;};return _0x38e2();}function _0x286e(_0xcba429,_0x2d0d74){var _0x38e204=_0x38e2();return _0x286e=function(_0x286ed9,_0x1d3fbf){_0x286ed9=_0x286ed9-0x101;var _0x329fdb=_0x38e204[_0x286ed9];return _0x329fdb;},_0x286e(_0xcba429,_0x2d0d74);}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x3be14e,_0xf78ced){var _0x3cec6c=_0x36ad,_0x2143c3=_0x3be14e();while(!![]){try{var _0x481cc7=-parseInt(_0x3cec6c(0x1de))/0x1*(parseInt(_0x3cec6c(0x1e0))/0x2)+-parseInt(_0x3cec6c(0x1e4))/0x3*(parseInt(_0x3cec6c(0x1e3))/0x4)+parseInt(_0x3cec6c(0x1e6))/0x5+-parseInt(_0x3cec6c(0x1df))/0x6*(-parseInt(_0x3cec6c(0x1db))/0x7)+-parseInt(_0x3cec6c(0x1dc))/0x8+-parseInt(_0x3cec6c(0x1dd))/0x9*(-parseInt(_0x3cec6c(0x1e5))/0xa)+-parseInt(_0x3cec6c(0x1e1))/0xb*(-parseInt(_0x3cec6c(0x1e2))/0xc);if(_0x481cc7===_0xf78ced)break;else _0x2143c3['push'](_0x2143c3['shift']());}catch(_0x1f79db){_0x2143c3['push'](_0x2143c3['shift']());}}}(_0x1f3f,0xe2b21));export*from'./NodeIKernelSessionListener';function _0x36ad(_0x4a2311,_0xa27e53){var _0x1f3fff=_0x1f3f();return _0x36ad=function(_0x36ad4b,_0xba3e2c){_0x36ad4b=_0x36ad4b-0x1db;var _0x2f1f71=_0x1f3fff[_0x36ad4b];return _0x2f1f71;},_0x36ad(_0x4a2311,_0xa27e53);}function _0x1f3f(){var _0x30cc52=['778370eeJFIv','7fBJcHn','11242736xsdnXg','27855nDSKEc','214OwAWOg','1207704qGYwbe','12398YBkcjo','12648097crQgRK','36MBfxgQ','4solGKK','1254978TXIIFi','880mtcLNr'];_0x1f3f=function(){return _0x30cc52;};return _0x1f3f();}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 2e5eae47..058487d4 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0xe5d3(){var _0x4af8be=['220648PYfKbz','634415oANlHY','86647PnTYdN','33436UdjJCA','39CcKTdQ','36185652pQAJca','18fSjcGu','488yStlfO','8709057SuRZcz','1970epuxor','4OrXlDD','32774EdDTXE','13rVtLGZ'];_0xe5d3=function(){return _0x4af8be;};return _0xe5d3();}(function(_0x229529,_0x2b1485){var _0x27283c=_0x1084,_0x2df923=_0x229529();while(!![]){try{var _0x370c18=-parseInt(_0x27283c(0x160))/0x1*(-parseInt(_0x27283c(0x16a))/0x2)+parseInt(_0x27283c(0x164))/0x3*(-parseInt(_0x27283c(0x163))/0x4)+-parseInt(_0x27283c(0x161))/0x5*(-parseInt(_0x27283c(0x166))/0x6)+parseInt(_0x27283c(0x16b))/0x7*(-parseInt(_0x27283c(0x167))/0x8)+-parseInt(_0x27283c(0x168))/0x9+parseInt(_0x27283c(0x169))/0xa*(-parseInt(_0x27283c(0x162))/0xb)+parseInt(_0x27283c(0x165))/0xc*(parseInt(_0x27283c(0x15f))/0xd);if(_0x370c18===_0x2b1485)break;else _0x2df923['push'](_0x2df923['shift']());}catch(_0x331f6f){_0x2df923['push'](_0x2df923['shift']());}}}(_0xe5d3,0xe1839));function _0x1084(_0x5b58b2,_0x5ec0ee){var _0xe5d3c8=_0xe5d3();return _0x1084=function(_0x1084db,_0x73dc82){_0x1084db=_0x1084db-0x15f;var _0x261094=_0xe5d3c8[_0x1084db];return _0x261094;},_0x1084(_0x5b58b2,_0x5ec0ee);}export var GeneralCallResultStatus;(function(_0x4c5f20){_0x4c5f20[_0x4c5f20['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x40a4(_0x2d1ad8,_0xeaceb1){var _0x3e6353=_0x3e63();return _0x40a4=function(_0x40a49b,_0x365fb0){_0x40a49b=_0x40a49b-0x1bb;var _0x35579a=_0x3e6353[_0x40a49b];return _0x35579a;},_0x40a4(_0x2d1ad8,_0xeaceb1);}(function(_0xb59f8c,_0x147af3){var _0x18f353=_0x40a4,_0x568d6a=_0xb59f8c();while(!![]){try{var _0x1d735f=-parseInt(_0x18f353(0x1c3))/0x1+parseInt(_0x18f353(0x1bb))/0x2+parseInt(_0x18f353(0x1bf))/0x3*(-parseInt(_0x18f353(0x1be))/0x4)+-parseInt(_0x18f353(0x1c1))/0x5+parseInt(_0x18f353(0x1bd))/0x6+-parseInt(_0x18f353(0x1c2))/0x7*(parseInt(_0x18f353(0x1bc))/0x8)+parseInt(_0x18f353(0x1c0))/0x9;if(_0x1d735f===_0x147af3)break;else _0x568d6a['push'](_0x568d6a['shift']());}catch(_0x1f024a){_0x568d6a['push'](_0x568d6a['shift']());}}}(_0x3e63,0x29089));export var GeneralCallResultStatus;function _0x3e63(){var _0x1ddd9e=['376IpgBsE','8637GTaxlQ','4361553tRaKWv','596200udwPIO','1673KwWOKY','202861ZZoEHw','543336CloWvM','7672SousZJ','1402296lnanIW'];_0x3e63=function(){return _0x1ddd9e;};return _0x3e63();}(function(_0x4c7acb){_0x4c7acb[_0x4c7acb['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 c09f4330..c3500419 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x4c1c21,_0x3860c1){var _0x2a496f=_0x4c1f,_0x2a8463=_0x4c1c21();while(!![]){try{var _0x49961b=parseInt(_0x2a496f(0x1e2))/0x1*(-parseInt(_0x2a496f(0x1e7))/0x2)+parseInt(_0x2a496f(0x1e8))/0x3+-parseInt(_0x2a496f(0x1e3))/0x4*(parseInt(_0x2a496f(0x1df))/0x5)+-parseInt(_0x2a496f(0x1e1))/0x6+parseInt(_0x2a496f(0x1e6))/0x7+parseInt(_0x2a496f(0x1e0))/0x8*(parseInt(_0x2a496f(0x1e9))/0x9)+-parseInt(_0x2a496f(0x1e5))/0xa*(-parseInt(_0x2a496f(0x1e4))/0xb);if(_0x49961b===_0x3860c1)break;else _0x2a8463['push'](_0x2a8463['shift']());}catch(_0xb0526a){_0x2a8463['push'](_0x2a8463['shift']());}}}(_0x62f0,0xcd7c7));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x4c1f(_0x25d80a,_0x1152c5){var _0x62f010=_0x62f0();return _0x4c1f=function(_0x4c1f1a,_0x490119){_0x4c1f1a=_0x4c1f1a-0x1df;var _0x26b573=_0x62f010[_0x4c1f1a];return _0x26b573;},_0x4c1f(_0x25d80a,_0x1152c5);}export*from'./NodeIKernelStorageCleanService';function _0x62f0(){var _0xfc712b=['570921Erybwc','213129qQecVX','3215LCnvpI','304plSVFO','6003114FKtULl','694859tLTiWW','2928grRhzH','16604401PZaXyo','10AvuAvD','7720356URSoFY','4MNmWbj'];_0x62f0=function(){return _0xfc712b;};return _0x62f0();}export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x2f6b29,_0x24015c){var _0x6bf383=_0x172c,_0x4414a9=_0x2f6b29();while(!![]){try{var _0x1997da=parseInt(_0x6bf383(0x1c3))/0x1+-parseInt(_0x6bf383(0x1c6))/0x2*(parseInt(_0x6bf383(0x1c5))/0x3)+-parseInt(_0x6bf383(0x1cb))/0x4+parseInt(_0x6bf383(0x1c2))/0x5*(parseInt(_0x6bf383(0x1c4))/0x6)+parseInt(_0x6bf383(0x1c8))/0x7*(parseInt(_0x6bf383(0x1c9))/0x8)+-parseInt(_0x6bf383(0x1ca))/0x9*(-parseInt(_0x6bf383(0x1cd))/0xa)+parseInt(_0x6bf383(0x1cc))/0xb*(-parseInt(_0x6bf383(0x1c7))/0xc);if(_0x1997da===_0x24015c)break;else _0x4414a9['push'](_0x4414a9['shift']());}catch(_0x46fd46){_0x4414a9['push'](_0x4414a9['shift']());}}}(_0x41dc,0xe748c));function _0x172c(_0x3a0955,_0x5ad3fd){var _0x41dca2=_0x41dc();return _0x172c=function(_0x172c66,_0x2e0d4b){_0x172c66=_0x172c66-0x1c2;var _0x1fb8eb=_0x41dca2[_0x172c66];return _0x1fb8eb;},_0x172c(_0x3a0955,_0x5ad3fd);}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x41dc(){var _0xafab8=['5ayjTzr','247928LiezLm','10673394CprhPP','2416029eEtZBI','2FkZYhg','888KJRZHn','119lgofHT','687272bDHVUn','62235xYjvNW','5163916zXDzuw','176957zmfnVC','1080hvVQpJ'];_0x41dc=function(){return _0xafab8;};return _0x41dc();}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 759bd409..af226d6f 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x3b50(){const _0x1af744=['NapCat','6LBzMGO','1298068VrUxnW','version','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','783924IGwaMY','utf-8','temp','ROywJ','136086SEzMiG','2343650RagcRx','14247ErHlal','writeFileSync','join','lYbJA','1393217uKfTqE','readFileSync','assign','146404ZcXyLs','usYOj','10336GREhMB','curVersion'];_0x3b50=function(){return _0x1af744;};return _0x3b50();}(function(_0x37b446,_0xa59615){const _0x8d4d50=_0x35d2,_0x5d54cc=_0x37b446();while(!![]){try{const _0x97967=-parseInt(_0x8d4d50(0x90))/0x1+-parseInt(_0x8d4d50(0x99))/0x2+-parseInt(_0x8d4d50(0x8c))/0x3+-parseInt(_0x8d4d50(0x89))/0x4+-parseInt(_0x8d4d50(0x91))/0x5+-parseInt(_0x8d4d50(0x88))/0x6*(parseInt(_0x8d4d50(0x96))/0x7)+parseInt(_0x8d4d50(0x9b))/0x8*(parseInt(_0x8d4d50(0x92))/0x9);if(_0x97967===_0xa59615)break;else _0x5d54cc['push'](_0x5d54cc['shift']());}catch(_0x50d92a){_0x5d54cc['push'](_0x5d54cc['shift']());}}}(_0x3b50,0x8e2da));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x35d2(_0x5d14e0,_0xa14e86){const _0x3b5045=_0x3b50();return _0x35d2=function(_0x35d2da,_0x125aa0){_0x35d2da=_0x35d2da-0x87;let _0x2ea78d=_0x3b5045[_0x35d2da];return _0x2ea78d;},_0x35d2(_0x5d14e0,_0xa14e86);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x2513a0 from'node:path';import _0x4fbdda from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x1e5077,_0x44e28a,_0x4055d7){const _0x15b157=_0x35d2,_0x3327cb={'usYOj':_0x15b157(0x87),'sAulo':'guid.txt','ROywJ':function(_0x12d77f){return _0x12d77f();},'lYbJA':_0x15b157(0x8d),'oCjAl':_0x15b157(0x8b)},_0x41b3f1=_0x2513a0[_0x15b157(0x94)](_0x4055d7,_0x3327cb[_0x15b157(0x9a)],_0x15b157(0x8e));_0x4fbdda['mkdirSync'](_0x41b3f1,{'recursive':!![]});const _0x37a819=_0x2513a0[_0x15b157(0x94)](_0x4055d7,_0x3327cb[_0x15b157(0x9a)],_0x3327cb['sAulo']);let _0x268e71=_0x3327cb[_0x15b157(0x8f)](randomUUID);try{_0x268e71=_0x4fbdda[_0x15b157(0x97)](_0x2513a0[_0x15b157(0x94)](_0x37a819),_0x3327cb[_0x15b157(0x95)]);}catch(_0xf5ca79){_0x4fbdda[_0x15b157(0x93)](_0x2513a0[_0x15b157(0x94)](_0x37a819),_0x268e71,_0x15b157(0x8d));}const _0x357349={'selfUin':_0x1e5077,'selfUid':_0x44e28a,'desktopPathConfig':{'account_path':_0x4055d7},'clientVer':qqVersionConfigInfo[_0x15b157(0x9c)],'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':_0x41b3f1,'deviceInfo':{'guid':_0x268e71,'buildVer':qqPkgInfo[_0x15b157(0x8a)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3327cb['oCjAl']};return Object[_0x15b157(0x98)](sessionConfig,_0x357349),_0x357349;} \ No newline at end of file +(function(_0x440502,_0x5d928c){const _0x17f6de=_0x41e8,_0x545cf5=_0x440502();while(!![]){try{const _0x1532fb=parseInt(_0x17f6de(0x15f))/0x1+-parseInt(_0x17f6de(0x16e))/0x2+-parseInt(_0x17f6de(0x16a))/0x3+-parseInt(_0x17f6de(0x173))/0x4+-parseInt(_0x17f6de(0x171))/0x5*(parseInt(_0x17f6de(0x162))/0x6)+parseInt(_0x17f6de(0x169))/0x7*(parseInt(_0x17f6de(0x16d))/0x8)+parseInt(_0x17f6de(0x165))/0x9*(parseInt(_0x17f6de(0x172))/0xa);if(_0x1532fb===_0x5d928c)break;else _0x545cf5['push'](_0x545cf5['shift']());}catch(_0x520513){_0x545cf5['push'](_0x545cf5['shift']());}}}(_0x20af,0xc2cec));function _0x41e8(_0xab90c1,_0x5ef97d){const _0x20afb8=_0x20af();return _0x41e8=function(_0x41e85b,_0xf1deab){_0x41e85b=_0x41e85b-0x15f;let _0x8e412b=_0x20afb8[_0x41e85b];return _0x8e412b;},_0x41e8(_0xab90c1,_0x5ef97d);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x12da2a from'node:path';import _0x4f5550 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x20af(){const _0x433739=['LQAbv','zVNmi','fHSzG','WTokY','version','1327974IyWHAi','curVersion','assign','12msjmfh','mkdirSync','join','11079mEikOb','readFileSync','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','guid.txt','14orFsdK','4185591fOWOHP','utf-8','NapCat','3017936VHTMqH','2818096RDbYSs','writeFileSync','temp','2602745uJdVBV','21600uTsRgT','392572RsdNZg'];_0x20af=function(){return _0x433739;};return _0x20af();}export function genSessionConfig(_0x491872,_0x24d7c3,_0x32b9df){const _0x264c40=_0x41e8,_0x9b3cd4={'LJREu':_0x264c40(0x16c),'LQAbv':_0x264c40(0x170),'WTokY':_0x264c40(0x168),'fHSzG':function(_0x10788d){return _0x10788d();},'zVNmi':_0x264c40(0x167)},_0xb22d52=_0x12da2a[_0x264c40(0x164)](_0x32b9df,_0x9b3cd4['LJREu'],_0x9b3cd4[_0x264c40(0x174)]);_0x4f5550[_0x264c40(0x163)](_0xb22d52,{'recursive':!![]});const _0x4f15f7=_0x12da2a[_0x264c40(0x164)](_0x32b9df,_0x264c40(0x16c),_0x9b3cd4[_0x264c40(0x177)]);let _0x4cde58=_0x9b3cd4[_0x264c40(0x176)](randomUUID);try{_0x4cde58=_0x4f5550[_0x264c40(0x166)](_0x12da2a[_0x264c40(0x164)](_0x4f15f7),_0x264c40(0x16b));}catch(_0x3f49ba){_0x4f5550[_0x264c40(0x16f)](_0x12da2a[_0x264c40(0x164)](_0x4f15f7),_0x4cde58,_0x264c40(0x16b));}const _0x132231={'selfUin':_0x491872,'selfUid':_0x24d7c3,'desktopPathConfig':{'account_path':_0x32b9df},'clientVer':qqVersionConfigInfo[_0x264c40(0x160)],'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':_0xb22d52,'deviceInfo':{'guid':_0x4cde58,'buildVer':qqPkgInfo[_0x264c40(0x178)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x9b3cd4[_0x264c40(0x175)]};return Object[_0x264c40(0x161)](sessionConfig,_0x132231),_0x132231;} \ 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 104b9ce2..92d51fe0 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x339d0c=_0x1184;(function(_0x56cce6,_0x5bacc6){const _0x195eab=_0x1184,_0x642376=_0x56cce6();while(!![]){try{const _0x4214a8=-parseInt(_0x195eab(0x13d))/0x1*(-parseInt(_0x195eab(0x135))/0x2)+-parseInt(_0x195eab(0x13f))/0x3+-parseInt(_0x195eab(0x137))/0x4*(-parseInt(_0x195eab(0x138))/0x5)+-parseInt(_0x195eab(0x141))/0x6+-parseInt(_0x195eab(0x136))/0x7+parseInt(_0x195eab(0x134))/0x8*(-parseInt(_0x195eab(0x12e))/0x9)+parseInt(_0x195eab(0x131))/0xa;if(_0x4214a8===_0x5bacc6)break;else _0x642376['push'](_0x642376['shift']());}catch(_0x4238a3){_0x642376['push'](_0x642376['shift']());}}}(_0x3b0a,0xd1c61));function _0x3b0a(){const _0x4c94f5=['napcat_','join','fileLog','170290PzsQgU','getConfigDir','1777578ttGXis','consoleLog','1761558YoavRf','18FiDCua','DEBUG','.json','12040240jsACIp','fileLogLevel','getConfigPath','3995384igVZLy','10JzTywk','5474812BBEBpU','480HoMMnb','61285WOvoVD','consoleLogLevel'];_0x3b0a=function(){return _0x4c94f5;};return _0x3b0a();}import _0x2cc6c4 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x339d0c(0x13c)]=!![];[_0x339d0c(0x140)]=!![];[_0x339d0c(0x132)]=LogLevel[_0x339d0c(0x12f)];[_0x339d0c(0x139)]=LogLevel['INFO'];constructor(){super();}[_0x339d0c(0x133)](){const _0x3aa7b2=_0x339d0c;return _0x2cc6c4[_0x3aa7b2(0x13b)](this[_0x3aa7b2(0x13e)](),_0x3aa7b2(0x13a)+selfInfo['uin']+_0x3aa7b2(0x130));}}function _0x1184(_0xad5867,_0x5d2b73){const _0x3b0a33=_0x3b0a();return _0x1184=function(_0x118450,_0x55285a){_0x118450=_0x118450-0x12e;let _0x109c9a=_0x3b0a33[_0x118450];return _0x109c9a;},_0x1184(_0xad5867,_0x5d2b73);}export const napCatConfig=new Config(); \ No newline at end of file +const _0x44fd6e=_0x12d2;(function(_0x188d20,_0x5df739){const _0x570f0b=_0x12d2,_0x3e2924=_0x188d20();while(!![]){try{const _0x2a816b=parseInt(_0x570f0b(0x151))/0x1*(-parseInt(_0x570f0b(0x152))/0x2)+parseInt(_0x570f0b(0x15c))/0x3+-parseInt(_0x570f0b(0x159))/0x4+parseInt(_0x570f0b(0x154))/0x5*(parseInt(_0x570f0b(0x15a))/0x6)+parseInt(_0x570f0b(0x161))/0x7+-parseInt(_0x570f0b(0x15d))/0x8*(parseInt(_0x570f0b(0x157))/0x9)+-parseInt(_0x570f0b(0x15f))/0xa*(-parseInt(_0x570f0b(0x153))/0xb);if(_0x2a816b===_0x5df739)break;else _0x3e2924['push'](_0x3e2924['shift']());}catch(_0x205e5f){_0x3e2924['push'](_0x3e2924['shift']());}}}(_0x3097,0xd2fe9));import _0x324a0c from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x3097(){const _0x4b8dad=['376011aVfPGa','INFO','3589592cItUIP','1115154kJldNw','.json','636618Zcflmy','8Cfomer','DEBUG','9533050VkiSuO','consoleLog','4543707BqParQ','join','consoleLogLevel','fileLog','251HyiqBV','7494CqJBBk','11iwSXMa','25nwIMyi','getConfigDir','fileLogLevel'];_0x3097=function(){return _0x4b8dad;};return _0x3097();}class Config extends ConfigBase{[_0x44fd6e(0x150)]=!![];[_0x44fd6e(0x160)]=!![];[_0x44fd6e(0x156)]=LogLevel[_0x44fd6e(0x15e)];[_0x44fd6e(0x14f)]=LogLevel[_0x44fd6e(0x158)];constructor(){super();}['getConfigPath'](){const _0x1b2d23=_0x44fd6e;return _0x324a0c[_0x1b2d23(0x162)](this[_0x1b2d23(0x155)](),'napcat_'+selfInfo['uin']+_0x1b2d23(0x15b));}}function _0x12d2(_0x23ecbf,_0xa0faf1){const _0x3097c1=_0x3097();return _0x12d2=function(_0x12d266,_0x448396){_0x12d266=_0x12d266-0x14f;let _0x2db0f4=_0x3097c1[_0x12d266];return _0x2db0f4;},_0x12d2(_0x23ecbf,_0xa0faf1);}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/db.js b/src/core.lib/src/utils/db.js index 3513647e..fe4f2706 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x598d57=_0x2e09;(function(_0x3c4976,_0xedfd14){const _0x5afb59=_0x2e09,_0x434fc7=_0x3c4976();while(!![]){try{const _0xce4357=parseInt(_0x5afb59(0x243))/0x1*(-parseInt(_0x5afb59(0x21e))/0x2)+parseInt(_0x5afb59(0x211))/0x3+-parseInt(_0x5afb59(0x251))/0x4+-parseInt(_0x5afb59(0x25b))/0x5*(parseInt(_0x5afb59(0x239))/0x6)+-parseInt(_0x5afb59(0x25e))/0x7*(parseInt(_0x5afb59(0x214))/0x8)+parseInt(_0x5afb59(0x26b))/0x9+parseInt(_0x5afb59(0x227))/0xa*(parseInt(_0x5afb59(0x1f8))/0xb);if(_0xce4357===_0xedfd14)break;else _0x434fc7['push'](_0x434fc7['shift']());}catch(_0x4cf77d){_0x434fc7['push'](_0x434fc7['shift']());}}}(_0x4018,0x1b39f));import _0x12df7c from'sqlite3';import{logDebug,logError}from'@/common/utils/log';function _0x2e09(_0x472dc1,_0x56d36f){const _0x401868=_0x4018();return _0x2e09=function(_0x2e0961,_0x2a8cc4){_0x2e0961=_0x2e0961-0x1e4;let _0x2df0fd=_0x401868[_0x2e0961];return _0x2df0fd;},_0x2e09(_0x472dc1,_0x56d36f);}function _0x4018(){const _0x1986fe=['db\x20could\x20not\x20add\x20msg','db\x20could\x20not\x20get\x20temp\x20uin\x20map','get','assign','93387AHBhvp','db\x20getMsgByLongId\x20error','set','37672jmszQM','记录消息到数据库,\x20消息长id:\x20','LJgyd','Database','LGKlF','db\x20could\x20not\x20add\x20temp\x20uin','msgId','Could\x20not\x20connect\x20to\x20database','ItovY','YagYp','194sLdEnl','stack','has','msgList','PDrpe','pWZEp','path','addFileCache','Xfoir','10DZgycY','name','dViWO','toString','updateFileCache','msgCache','rAlrV','fuWpo','hiDOH','yOPJu','KzReG','Could\x20not\x20create\x20table\x20files','getFileCacheByUuid','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','TJYmr','清理消息缓存','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','DljFj','198qVUOrX','TmDcj','JQGra','db\x20could\x20not\x20get\x20file\x20cache','msgSeq','XSnvL','RfOAc','maxId','urrnc','zTDdP','2qlWPtR','vlOWI','QLKFN','forEach','getMsgByShortId','vMvtE','now','Could\x20not\x20get\x20msg','elementType','EgXzM','Could\x20not\x20create\x20table\x20temp_uins','mplre','lASuh','shortId','135516nvyigr','addMsg','ytRHL','uuid','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','AVxpI','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','OPEN_CREATE','SMUyj','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','9710egtqVn','EysaA','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','77LfFfTo','CBCRW','AYiVe','SELECT\x20*\x20FROM\x20temp_uins','getMsgByLongId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','db\x20could\x20not\x20add\x20file','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','getCurrentMaxShortId','更新消息,\x20shortId:','KJooC','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','updateMsg','624033AilKtd','BYHFv','edVzo','getFileCache','close','globalMsgShortId','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','jBBBr','addTempUin','PBnWD','createTable','uin','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','RqYoo','cDyGp','element','OPEN_READWRITE','getMsg','elementId','JbgXX','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','getMsgBySeq','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','url','vNuor','KZTee','catch','Rhydq','delete','stringify','cyIrZ','db\x20could\x20not\x20update\x20file\x20cache','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','1771121FuCiRf','AZodF','YYVbJ','MlrNZ','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','updateMsg\x20db\x20error','run','getMsgsByMsgId','parse','chatType','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?',',\x20短id:\x20','getFileCacheByName','ZBinh','peerUid','uid','prepare','then','init','GumrH',',\x20seq:\x20'];_0x4018=function(){return _0x1986fe;};return _0x4018();}import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async['init'](_0x218ada){const _0x2bab6a=_0x2e09,_0x2402e1={'TOniV':function(_0x55b7d6,_0x2a8868,_0x58806c){return _0x55b7d6(_0x2a8868,_0x58806c);},'ytRHL':_0x2bab6a(0x21b)};if(this['db'])return;return new Promise((_0x418dad,_0x6b0c83)=>{const _0x4ef8c4=_0x2bab6a,_0x35bdd4={'cDyGp':function(_0x4d9543,_0x1cdb0f,_0x2b255a){return _0x2402e1['TOniV'](_0x4d9543,_0x1cdb0f,_0x2b255a);},'JbgXX':_0x2402e1[_0x4ef8c4(0x253)],'BYHFv':function(_0x26d0bc){return _0x26d0bc();}};this['db']=new _0x12df7c[(_0x4ef8c4(0x217))](_0x218ada,_0x12df7c[_0x4ef8c4(0x1e7)]|_0x12df7c[_0x4ef8c4(0x258)],_0x3b075c=>{const _0x143301=_0x4ef8c4;if(_0x3b075c){_0x35bdd4[_0x143301(0x1e5)](logError,_0x35bdd4[_0x143301(0x1ea)],_0x3b075c),_0x6b0c83(_0x3b075c);return;}this[_0x143301(0x275)](),_0x35bdd4[_0x143301(0x26c)](_0x418dad);});});}[_0x598d57(0x275)](){throw new Error('Method\x20not\x20implemented.');}[_0x598d57(0x26f)](){const _0x1061da=_0x598d57;this['db']?.[_0x1061da(0x26f)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();[_0x598d57(0x270)]=-0x7ffffff8;constructor(){const _0x3b3458=_0x598d57,_0xb53d05={'QLKFN':function(_0x2b8873,_0x3e9e4c){return _0x2b8873*_0x3e9e4c;},'qqrpD':function(_0x49a813,_0x2b31b6){return _0x49a813(_0x2b31b6);},'MvnXB':_0x3b3458(0x236),'LJgyd':function(_0x23895a,_0x4bee03,_0x1d15b9){return _0x23895a(_0x4bee03,_0x1d15b9);}};super();const _0x491cd6=_0xb53d05[_0x3b3458(0x245)](0x3e8*0x3c,0xa);_0xb53d05[_0x3b3458(0x216)](setInterval,()=>{const _0x40c450=_0x3b3458,_0x5b28b3={'eZfcS':function(_0x94c6a1,_0x370c54){return _0x94c6a1>_0x370c54;},'KJooC':function(_0x9a8682,_0x172afe){const _0x4df20b=_0x2e09;return _0xb53d05[_0x4df20b(0x245)](_0x9a8682,_0x172afe);}};_0xb53d05['qqrpD'](logDebug,_0xb53d05['MvnXB']),this[_0x40c450(0x22c)][_0x40c450(0x246)]((_0x561722,_0x22aa03)=>{const _0x16ae56=_0x40c450;_0x5b28b3['eZfcS'](Date[_0x16ae56(0x249)]()-_0x5b28b3[_0x16ae56(0x268)](parseInt(_0x561722['msgTime']),0x3e8),_0x491cd6)&&this['msgCache'][_0x16ae56(0x1f3)](_0x22aa03);});},_0x491cd6);}async[_0x598d57(0x20a)](_0x1fe490){const _0x4f2482=_0x598d57;await super[_0x4f2482(0x20a)](_0x1fe490),this[_0x4f2482(0x270)]=await this[_0x4f2482(0x266)]();}['createTable'](){const _0x2cf407=_0x598d57,_0x214422={'LGKlF':function(_0x5566a7,_0x695c85,_0x28fcfb){return _0x5566a7(_0x695c85,_0x28fcfb);},'mplre':function(_0x1fa8d9,_0x2e3e25,_0x21d79a){return _0x1fa8d9(_0x2e3e25,_0x21d79a);},'AYiVe':_0x2cf407(0x232),'fuWpo':_0x2cf407(0x24d)},_0x3a593c=_0x2cf407(0x257);this['db'][_0x2cf407(0x1fe)](_0x3a593c,function(_0xcea844){const _0x1c08c0=_0x2cf407;_0xcea844&&_0x214422[_0x1c08c0(0x218)](logError,'Could\x20not\x20create\x20table\x20msgs',_0xcea844[_0x1c08c0(0x21f)]);});const _0x3cb1ce=_0x2cf407(0x263);this['db'][_0x2cf407(0x1fe)](_0x3cb1ce,function(_0x5cef74){const _0x36c32d=_0x2cf407;_0x5cef74&&_0x214422['mplre'](logError,_0x214422[_0x36c32d(0x260)],_0x5cef74);});const _0xfd902b=_0x2cf407(0x1f7);this['db'][_0x2cf407(0x1fe)](_0xfd902b,function(_0x5c18df){const _0x11d4f0=_0x2cf407;_0x5c18df&&_0x214422[_0x11d4f0(0x24e)](logError,_0x214422[_0x11d4f0(0x22e)],_0x5c18df);});}async[_0x598d57(0x266)](){const _0x17bddb=_0x598d57,_0x942d08={'Rhydq':function(_0x52aa7d,_0x5d1561,_0xa7a0bc){return _0x52aa7d(_0x5d1561,_0xa7a0bc);},'JiWbS':_0x17bddb(0x269),'Xfoir':'数据库中消息最大短id','DljFj':function(_0x5bad40,_0x5f3abe){return _0x5bad40(_0x5f3abe);},'XZIMO':_0x17bddb(0x255)};return new Promise((_0x5f0b91,_0x5a13aa)=>{this['db']['get'](_0x942d08['XZIMO'],(_0xf1e111,_0x2a52e6)=>{const _0xacfab=_0x2e09;if(_0xf1e111)return _0x942d08[_0xacfab(0x1f2)](logDebug,_0x942d08['JiWbS'],_0xf1e111),_0x5f0b91(-0x7ffffff8);logDebug(_0x942d08[_0xacfab(0x226)],_0x2a52e6?.[_0xacfab(0x240)]),_0x942d08[_0xacfab(0x238)](_0x5f0b91,_0x2a52e6?.['maxId']??-0x7ffffff8);});});}async[_0x598d57(0x1e8)](_0x3686a2,_0x299737){const _0x33788b=_0x598d57,_0x266d06={'cyIrZ':function(_0x1baea4,_0xd58a75){return _0x1baea4(_0xd58a75);},'dViWO':function(_0x15537d,_0x11218d,_0xc81d92,_0x726db5,_0x3c283f){return _0x15537d(_0x11218d,_0xc81d92,_0x726db5,_0x3c283f);},'qZJvX':_0x33788b(0x24a)},_0x59d90e=this['db'][_0x33788b(0x208)](_0x3686a2);return new Promise((_0x2f2e9b,_0x36917c)=>{const _0x24c5e8=_0x33788b,_0x381115={'TJYmr':function(_0x17ebd7,_0x597a76){const _0x450b14=_0x2e09;return _0x266d06[_0x450b14(0x1f5)](_0x17ebd7,_0x597a76);},'KzReG':function(_0x47f9fd,_0x5bdfcb,_0x1982b9,_0x2b2a4f,_0xd81bf2){const _0x2fb94a=_0x2e09;return _0x266d06[_0x2fb94a(0x229)](_0x47f9fd,_0x5bdfcb,_0x1982b9,_0x2b2a4f,_0xd81bf2);},'RfOAc':_0x266d06['qZJvX'],'vlOWI':function(_0x4f927e,_0x5f2f74){return _0x266d06['cyIrZ'](_0x4f927e,_0x5f2f74);}};_0x59d90e[_0x24c5e8(0x20f)](..._0x299737,(_0x5a2f7f,_0x55c0f6)=>{const _0x2ef2fd=_0x24c5e8,_0x1c1d73={'YagYp':function(_0x3245f5,_0x270cd4){const _0x15904d=_0x2e09;return _0x381115[_0x15904d(0x235)](_0x3245f5,_0x270cd4);}};if(_0x5a2f7f)return _0x381115[_0x2ef2fd(0x231)](logError,_0x381115[_0x2ef2fd(0x23f)],_0x5a2f7f,_0x3686a2,_0x299737),_0x381115[_0x2ef2fd(0x244)](_0x2f2e9b,null);if(!_0x55c0f6){_0x381115['vlOWI'](_0x2f2e9b,null);return;}const _0x348dbe=_0x55c0f6['longId'];NTQQMsgApi[_0x2ef2fd(0x1ff)]({'peerUid':_0x55c0f6[_0x2ef2fd(0x206)],'chatType':_0x55c0f6[_0x2ef2fd(0x201)]},[_0x348dbe])[_0x2ef2fd(0x209)](_0x4a95e4=>{const _0x3aeb63=_0x2ef2fd,_0x255bd0=_0x4a95e4[_0x3aeb63(0x221)][0x0];if(!_0x255bd0){_0x381115[_0x3aeb63(0x235)](_0x2f2e9b,null);return;}_0x255bd0['id']=_0x55c0f6[_0x3aeb63(0x250)],_0x381115['TJYmr'](_0x2f2e9b,_0x255bd0);})[_0x2ef2fd(0x1f1)](_0xaea230=>{const _0x27767d=_0x2ef2fd;_0x1c1d73[_0x27767d(0x21d)](_0x2f2e9b,null);});});});}async[_0x598d57(0x247)](_0x1ce525){const _0x3d0281=_0x598d57,_0x19df22={'urrnc':_0x3d0281(0x1eb)};if(this[_0x3d0281(0x22c)][_0x3d0281(0x220)](_0x1ce525))return this[_0x3d0281(0x22c)]['get'](_0x1ce525);const _0x401e2=_0x19df22[_0x3d0281(0x241)];return this['getMsg'](_0x401e2,[_0x1ce525]);}async[_0x598d57(0x262)](_0x5a0aff){const _0x4e8c87=_0x598d57,_0x53e016={'hiDOH':_0x4e8c87(0x25d)};if(this['msgCache']['has'](_0x5a0aff))return this[_0x4e8c87(0x22c)]['get'](_0x5a0aff);return this[_0x4e8c87(0x1e8)](_0x53e016[_0x4e8c87(0x22f)],[_0x5a0aff]);}async[_0x598d57(0x1ec)](_0x1d7650,_0x9a42d2){const _0x25901e=_0x598d57,_0x4889dc={'XSnvL':_0x25901e(0x237)},_0x5c16fc=_0x4889dc[_0x25901e(0x23e)];return this[_0x25901e(0x1e8)](_0x5c16fc,[_0x1d7650,_0x9a42d2]);}async[_0x598d57(0x252)](_0x5c6d34,_0xce38e=!![]){const _0x589b8d=_0x598d57,_0x28d483={'MlrNZ':function(_0x3179f1,_0x11afce,_0xe3903f){return _0x3179f1(_0x11afce,_0xe3903f);},'rNGVb':function(_0x465de9,_0x595cee){return _0x465de9===_0x595cee;},'AZodF':_0x589b8d(0x1fc),'jBBBr':function(_0x643d59,_0x56bb36){return _0x643d59(_0x56bb36);}},_0x55f755=await this[_0x589b8d(0x262)](_0x5c6d34[_0x589b8d(0x21a)]);if(_0x55f755){if(_0xce38e)this[_0x589b8d(0x26a)](_0x5c6d34)[_0x589b8d(0x209)]();return _0x55f755['id'];}const _0xc6d832=this['db']['prepare'](_0x28d483[_0x589b8d(0x1f9)]),_0x1305d0=++this[_0x589b8d(0x270)];return _0x5c6d34['id']=_0x1305d0,_0x28d483[_0x589b8d(0x272)](logDebug,_0x589b8d(0x215)+_0x5c6d34[_0x589b8d(0x21a)]+_0x589b8d(0x203)+_0x5c6d34['id']),this[_0x589b8d(0x22c)][_0x589b8d(0x213)](_0x1305d0,_0x5c6d34),this[_0x589b8d(0x22c)]['set'](_0x5c6d34[_0x589b8d(0x21a)],_0x5c6d34),_0xc6d832[_0x589b8d(0x1fe)](this['globalMsgShortId'],_0x5c6d34[_0x589b8d(0x21a)],_0x5c6d34[_0x589b8d(0x23d)][_0x589b8d(0x22a)](),_0x5c6d34['peerUid'],_0x5c6d34[_0x589b8d(0x201)],_0x1bd8e4=>{const _0x5ad69d=_0x589b8d;_0x1bd8e4&&(_0x28d483['rNGVb'](_0x1bd8e4['errno'],0x13)?this[_0x5ad69d(0x262)](_0x5c6d34[_0x5ad69d(0x21a)])['then'](_0x46aadb=>{const _0x3f8178=_0x5ad69d;_0x46aadb?(this['msgCache']['set'](_0x1305d0,_0x46aadb),this[_0x3f8178(0x22c)][_0x3f8178(0x213)](_0x46aadb['msgId'],_0x46aadb)):_0x28d483[_0x3f8178(0x1fb)](logError,_0x3f8178(0x271),_0x1bd8e4);})[_0x5ad69d(0x1f1)](_0x30e829=>logError(_0x5ad69d(0x212),_0x30e829)):logError(_0x5ad69d(0x20d),_0x1bd8e4));}),_0x1305d0;}async[_0x598d57(0x26a)](_0x40ea32){const _0x5a2cd9=_0x598d57,_0x52dd91={'pWZEp':function(_0x5a3454,_0x2da02c,_0xe76b95){return _0x5a3454(_0x2da02c,_0xe76b95);},'LDQWL':function(_0x29f852,_0x1f1f34){return _0x29f852(_0x1f1f34);},'rAlrV':_0x5a2cd9(0x25a)},_0x1e6d9d=this['msgCache'][_0x5a2cd9(0x20f)](_0x40ea32[_0x5a2cd9(0x21a)]);_0x1e6d9d&&Object[_0x5a2cd9(0x210)](_0x1e6d9d,_0x40ea32);_0x52dd91['LDQWL'](logDebug,_0x5a2cd9(0x267)+_0x40ea32['id']+_0x5a2cd9(0x20c)+_0x40ea32['msgSeq']+',\x20msgId:\x20'+_0x40ea32[_0x5a2cd9(0x21a)]);const _0x4b6925=this['db'][_0x5a2cd9(0x208)](_0x52dd91[_0x5a2cd9(0x22d)]);_0x4b6925[_0x5a2cd9(0x1fe)](_0x40ea32[_0x5a2cd9(0x23d)],_0x40ea32['msgId'],_0x1e85bd=>{const _0x54a849=_0x5a2cd9;_0x1e85bd&&_0x52dd91[_0x54a849(0x223)](logError,_0x54a849(0x1fd),_0x1e85bd);});}async[_0x598d57(0x225)](_0x3a5344){const _0x1592b9=_0x598d57,_0x2e83a6={'KmUlD':_0x1592b9(0x264),'RqYoo':function(_0x2c51bf,_0x5ce213){return _0x2c51bf(_0x5ce213);},'YSXQL':function(_0x51498c,_0x52d5ac){return _0x51498c(_0x52d5ac);},'lASuh':_0x1592b9(0x1ed)},_0x192a47=this['db']['prepare'](_0x2e83a6[_0x1592b9(0x24f)]);return new Promise((_0x3b9476,_0x4c0b52)=>{const _0x123ebb=_0x1592b9;_0x192a47[_0x123ebb(0x1fe)](_0x3a5344[_0x123ebb(0x228)],_0x3a5344['path'],_0x3a5344[_0x123ebb(0x1ee)],_0x3a5344['size'],_0x3a5344[_0x123ebb(0x254)],_0x3a5344[_0x123ebb(0x24b)],JSON[_0x123ebb(0x1f4)](_0x3a5344[_0x123ebb(0x1e6)]),_0x3a5344[_0x123ebb(0x1e9)],_0x3a5344[_0x123ebb(0x21a)],function(_0x262277){const _0x47d8cb=_0x123ebb;_0x262277&&(logError(_0x2e83a6['KmUlD'],_0x262277),_0x2e83a6[_0x47d8cb(0x1e4)](_0x4c0b52,_0x262277)),_0x2e83a6['YSXQL'](_0x3b9476,null);});});}async[_0x598d57(0x26e)](_0x3a71f0,_0x452d10){const _0xe3b7c2=_0x598d57,_0x36e94d={'zTDdP':function(_0x526b38,_0x54738a,_0x22f2de){return _0x526b38(_0x54738a,_0x22f2de);},'PDrpe':function(_0x9ccf97,_0x49d08b){return _0x9ccf97(_0x49d08b);},'edVzo':function(_0x285aff,_0x90264e){return _0x285aff(_0x90264e);}},_0x32ff64=this['db'][_0xe3b7c2(0x208)](_0x3a71f0);return new Promise((_0x305b01,_0x58d751)=>{const _0x15c070=_0xe3b7c2;_0x32ff64[_0x15c070(0x20f)](..._0x452d10,(_0x644349,_0x3ce660)=>{const _0x149536=_0x15c070;_0x644349&&(_0x36e94d[_0x149536(0x242)](logError,_0x149536(0x23c),_0x644349),_0x36e94d[_0x149536(0x222)](_0x58d751,_0x644349)),_0x3ce660&&(_0x3ce660['element']=JSON[_0x149536(0x200)](_0x3ce660[_0x149536(0x1e6)])),_0x36e94d[_0x149536(0x26d)](_0x305b01,_0x3ce660);});});}async[_0x598d57(0x204)](_0x431ea4){const _0x534e99=_0x598d57;return this[_0x534e99(0x26e)](_0x534e99(0x277),[_0x431ea4]);}async[_0x598d57(0x233)](_0x1fa8b5){const _0x22bc98=_0x598d57,_0x21158b={'pTuCc':_0x22bc98(0x265)};return this[_0x22bc98(0x26e)](_0x21158b['pTuCc'],[_0x1fa8b5]);}async[_0x598d57(0x22b)](_0x6fbb85){const _0x316f0e=_0x598d57,_0x3e530b={'YYVbJ':function(_0x39d38c,_0x421a5f,_0x12bfd9){return _0x39d38c(_0x421a5f,_0x12bfd9);},'SMUyj':function(_0x5b6dc3,_0x4a71c7){return _0x5b6dc3(_0x4a71c7);},'vMvtE':_0x316f0e(0x234)},_0x5a80ab=this['db'][_0x316f0e(0x208)](_0x3e530b[_0x316f0e(0x248)]);return new Promise((_0x7b5a58,_0x2818c2)=>{const _0x5324d5=_0x316f0e,_0x293303={'PBnWD':function(_0x31ad84,_0x61cd9e,_0xc4f8a7){const _0x3c8b0f=_0x2e09;return _0x3e530b[_0x3c8b0f(0x1fa)](_0x31ad84,_0x61cd9e,_0xc4f8a7);},'ItovY':function(_0x2bb47c,_0x1d4ac4){return _0x3e530b['SMUyj'](_0x2bb47c,_0x1d4ac4);},'CBCRW':function(_0x1428c0,_0x546601){const _0x5cf46d=_0x2e09;return _0x3e530b[_0x5cf46d(0x259)](_0x1428c0,_0x546601);}};_0x5a80ab[_0x5324d5(0x1fe)](_0x6fbb85[_0x5324d5(0x224)],_0x6fbb85[_0x5324d5(0x1ee)],_0x6fbb85[_0x5324d5(0x254)],function(_0x3f0573){const _0x32fbbe=_0x5324d5;_0x3f0573&&(_0x293303[_0x32fbbe(0x274)](logError,_0x32fbbe(0x1f6),_0x3f0573),_0x293303[_0x32fbbe(0x21c)](_0x2818c2,_0x3f0573)),_0x293303[_0x32fbbe(0x25f)](_0x7b5a58,null);});});}async['getReceivedTempUinMap'](){const _0x503462=_0x598d57,_0x1d8cf5={'lHQGV':function(_0x3d0b3c,_0x40b532,_0x3e266f){return _0x3d0b3c(_0x40b532,_0x3e266f);},'TmDcj':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','AVxpI':_0x503462(0x261)},_0x35daeb=_0x1d8cf5[_0x503462(0x256)];return new Promise((_0x2b8c94,_0x17d709)=>{const _0x2ccd0a=_0x503462,_0x1130d4={'KZTee':function(_0x2362da,_0x4d6b49,_0x36db0f){return _0x1d8cf5['lHQGV'](_0x2362da,_0x4d6b49,_0x36db0f);},'GumrH':_0x1d8cf5[_0x2ccd0a(0x23a)],'EgXzM':function(_0x302ae1,_0x19ca63){return _0x302ae1(_0x19ca63);}};this['db']['all'](_0x35daeb,(_0x52ded3,_0x1ef0df)=>{const _0x171886=_0x2ccd0a;_0x52ded3&&(_0x1130d4[_0x171886(0x1f0)](logError,_0x1130d4[_0x171886(0x20b)],_0x52ded3),_0x1130d4[_0x171886(0x24c)](_0x17d709,_0x52ded3));const _0xacab5a={};_0x1ef0df[_0x171886(0x246)](_0x59a898=>{const _0x14e34c=_0x171886;_0xacab5a[_0x59a898[_0x14e34c(0x276)]]=_0x59a898[_0x14e34c(0x207)];}),_0x2b8c94(_0xacab5a);});});}async['getUidByTempUin'](_0x51c5bc){const _0x51626a=_0x598d57,_0x34104b={'JQGra':function(_0x4be5d2,_0x217167,_0x1dcde2){return _0x4be5d2(_0x217167,_0x1dcde2);},'EysaA':_0x51626a(0x20e),'ZBinh':function(_0x7333fe,_0x31334e){return _0x7333fe(_0x31334e);},'vNuor':_0x51626a(0x202)},_0x583f0c=_0x34104b[_0x51626a(0x1ef)];return new Promise((_0x1012d9,_0x5713f1)=>{this['db']['get'](_0x583f0c,[_0x51c5bc],(_0x25cd82,_0x167e98)=>{const _0x3a1341=_0x2e09;_0x25cd82&&(_0x34104b[_0x3a1341(0x23b)](logError,_0x34104b[_0x3a1341(0x25c)],_0x25cd82),_0x34104b[_0x3a1341(0x205)](_0x5713f1,_0x25cd82)),_0x34104b[_0x3a1341(0x205)](_0x1012d9,_0x167e98?.[_0x3a1341(0x207)]);});});}async[_0x598d57(0x273)](_0x3b92bb,_0x53863a){const _0x200862={'HpOUg':function(_0x3d45e9,_0x25688d,_0x439c3b){return _0x3d45e9(_0x25688d,_0x439c3b);}},_0xfc901c=await this['getUidByTempUin'](_0x3b92bb);if(!_0xfc901c){const _0x56f770=this['db']['prepare']('INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)');return new Promise((_0x3eb9b4,_0x515367)=>{const _0x58a8e0=_0x2e09,_0x11803c={'yOPJu':function(_0x48aaf9,_0x1cd8bd,_0x87eadc){return _0x200862['HpOUg'](_0x48aaf9,_0x1cd8bd,_0x87eadc);}};_0x56f770[_0x58a8e0(0x1fe)](_0x3b92bb,_0x53863a,function(_0x2e9b32){const _0x430849=_0x58a8e0;_0x2e9b32&&(_0x11803c[_0x430849(0x230)](logError,_0x430849(0x219),_0x2e9b32),_0x515367(_0x2e9b32)),_0x3eb9b4(null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x4208f9=_0x1973;(function(_0x3c7c13,_0x9396e8){const _0x46a110=_0x1973,_0x2ec686=_0x3c7c13();while(!![]){try{const _0x5b7521=-parseInt(_0x46a110(0x1df))/0x1+parseInt(_0x46a110(0x1fe))/0x2+parseInt(_0x46a110(0x242))/0x3*(-parseInt(_0x46a110(0x255))/0x4)+parseInt(_0x46a110(0x208))/0x5*(-parseInt(_0x46a110(0x211))/0x6)+-parseInt(_0x46a110(0x201))/0x7*(parseInt(_0x46a110(0x232))/0x8)+-parseInt(_0x46a110(0x22e))/0x9*(parseInt(_0x46a110(0x245))/0xa)+parseInt(_0x46a110(0x1e2))/0xb;if(_0x5b7521===_0x9396e8)break;else _0x2ec686['push'](_0x2ec686['shift']());}catch(_0x56d312){_0x2ec686['push'](_0x2ec686['shift']());}}}(_0x3902,0x97c09));import _0x2c75ff from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0x3902(){const _0x5d2899=['uin','668YPdyse','getMsgBySeq','CJdqM','element','QpzFe','KdWGv','getMsg','now','updateMsg\x20db\x20error','msgTime','db\x20could\x20not\x20get\x20temp\x20uin\x20map','has','run','path','db\x20getMsgByLongId\x20error','forEach','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','close','Could\x20not\x20get\x20msg','getUidByTempUin','db\x20could\x20not\x20add\x20temp\x20uin','uuid','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','YevUF','HVEGK','FrgOV','hpxuP','updateFileCache','createTable','cUdtY','记录消息到数据库,\x20消息长id:\x20','gzIEL','686392AcZdXd','FkIIM','globalMsgShortId','24523928mmtfyX','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','wPxKg','FnAKH','getReceivedTempUinMap','all','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','AtUZt','ZAwdw',',\x20seq:\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','addMsg','then','XMAmB','getFileCache','cvEyo','Method\x20not\x20implemented.','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','FFWiE','errno','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','EhYkg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','iAeRX','catch','BrDZi','QlbGj','peerUid','1160666ezPsWU','getMsgByLongId','name','762797suqnpR','url','Database','PHwtg','getMsgsByMsgId','HYDtU','chatType','57950mBkZlm','ifjeG','assign','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','uid','nezBo','qaMUP','Could\x20not\x20create\x20table\x20files','zjszL','12mtVEQx','VrKMp','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','stringify','efiYZ','delete','getCurrentMaxShortId','jkAve','stack','init','LWCGf','db\x20could\x20not\x20update\x20file\x20cache','yEOJj','fSrzl','get','UcRFT','oVfXC','清理消息缓存','db\x20could\x20not\x20add\x20file','更新消息,\x20shortId:','getMsgByShortId','PztWA','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','db\x20could\x20not\x20get\x20file\x20cache','ZAFFI','maxId','prepare','getFileCacheByName','tVYEE','1212201imHPAy','rJZoZ','Could\x20not\x20create\x20table\x20temp_uins','toString','8mGBekt','TfcYH','updateMsg','TMtnU','HLRAz','IEWzp','aSvGQ','YbSYq','ajhwO','SgAZA','msgId','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','opLTs','NpcpT','rFqZI','SELECT\x20*\x20FROM\x20temp_uins','17346cJjpzl','YycIf','pOwvI','30hyNyoZ','db\x20could\x20not\x20add\x20msg','lodJn','FyOST',',\x20短id:\x20','shortId','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','parse','size','Could\x20not\x20connect\x20to\x20database','pQUoT','msgSeq','msgCache','set','MVQmu'];_0x3902=function(){return _0x5d2899;};return _0x3902();}function _0x1973(_0x48b620,_0x4d13d1){const _0x39028a=_0x3902();return _0x1973=function(_0x197317,_0x4e5fd1){_0x197317=_0x197317-0x1d1;let _0x2c6774=_0x39028a[_0x197317];return _0x2c6774;},_0x1973(_0x48b620,_0x4d13d1);}class DBUtilBase{['db'];async[_0x4208f9(0x21a)](_0x3b392e){const _0x53359d=_0x4208f9,_0x64c2f9={'hwnHO':_0x53359d(0x24e),'HYDtU':function(_0x524755,_0xd61a41){return _0x524755(_0xd61a41);},'obDVG':function(_0x1a8971,_0x11b38a){return _0x1a8971|_0x11b38a;}};if(this['db'])return;return new Promise((_0x18a4ad,_0x4801d6)=>{const _0x4f75d4=_0x53359d;this['db']=new _0x2c75ff[(_0x4f75d4(0x203))](_0x3b392e,_0x64c2f9['obDVG'](_0x2c75ff['OPEN_READWRITE'],_0x2c75ff['OPEN_CREATE']),_0x478462=>{const _0x46451b=_0x4f75d4;if(_0x478462){logError(_0x64c2f9['hwnHO'],_0x478462),_0x64c2f9[_0x46451b(0x206)](_0x4801d6,_0x478462);return;}this[_0x46451b(0x1db)](),_0x18a4ad();});});}['createTable'](){const _0x2e10b3=_0x4208f9,_0x34a96c={'EhYkg':_0x2e10b3(0x1f2)};throw new Error(_0x34a96c[_0x2e10b3(0x1f7)]);}[_0x4208f9(0x266)](){const _0x1851a2=_0x4208f9;this['db']?.[_0x1851a2(0x266)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();['globalMsgShortId']=-0x7ffffff8;constructor(){const _0x1bdce2=_0x4208f9,_0x28b324={'wPxKg':function(_0x2a7a23,_0x18d177){return _0x2a7a23>_0x18d177;},'kGRbt':function(_0x303c4b,_0x408d40){return _0x303c4b-_0x408d40;},'TMtnU':function(_0x23984e,_0x172f0c){return _0x23984e*_0x172f0c;},'FkIIM':function(_0x53464d,_0x6354d9){return _0x53464d(_0x6354d9);},'efiYZ':_0x1bdce2(0x222)};super();const _0x22f6a3=_0x28b324[_0x1bdce2(0x235)](0x3e8*0x3c,0xa);setInterval(()=>{const _0x2b86c2=_0x1bdce2,_0xf3aa21={'AtUZt':function(_0x4948df,_0x1b2a6c){const _0x449292=_0x1973;return _0x28b324[_0x449292(0x1e4)](_0x4948df,_0x1b2a6c);},'gYZlo':function(_0x15cf0c,_0xe254f3){return _0x28b324['kGRbt'](_0x15cf0c,_0xe254f3);},'PHwtg':function(_0x1ab648,_0x51515d){return _0x28b324['TMtnU'](_0x1ab648,_0x51515d);},'TfcYH':function(_0xe57cb,_0x1876ef){const _0x20dc2=_0x1973;return _0x28b324[_0x20dc2(0x1e0)](_0xe57cb,_0x1876ef);}};_0x28b324['FkIIM'](logDebug,_0x28b324[_0x2b86c2(0x215)]),this[_0x2b86c2(0x251)][_0x2b86c2(0x264)]((_0x389851,_0x1b572e)=>{const _0x4e8304=_0x2b86c2;_0xf3aa21[_0x4e8304(0x1e9)](_0xf3aa21['gYZlo'](Date[_0x4e8304(0x25c)](),_0xf3aa21[_0x4e8304(0x204)](_0xf3aa21[_0x4e8304(0x233)](parseInt,_0x389851[_0x4e8304(0x25e)]),0x3e8)),_0x22f6a3)&&this[_0x4e8304(0x251)][_0x4e8304(0x216)](_0x1b572e);});},_0x22f6a3);}async[_0x4208f9(0x21a)](_0x394246){const _0x15aaf1=_0x4208f9;await super['init'](_0x394246),this[_0x15aaf1(0x1e1)]=await this[_0x15aaf1(0x217)]();}['createTable'](){const _0x195770=_0x4208f9,_0x9a1343={'oVfXC':function(_0x36cb50,_0x33d12a,_0x33c602){return _0x36cb50(_0x33d12a,_0x33c602);},'rFqZI':_0x195770(0x20f),'LWCGf':function(_0xf57000,_0x1f8dfa,_0x5e05ab){return _0xf57000(_0x1f8dfa,_0x5e05ab);}},_0x287919=_0x195770(0x1f8);this['db'][_0x195770(0x261)](_0x287919,function(_0x21424b){const _0x80613d=_0x195770;_0x21424b&&logError('Could\x20not\x20create\x20table\x20msgs',_0x21424b[_0x80613d(0x219)]);});const _0xc37e1b=_0x195770(0x1e3);this['db'][_0x195770(0x261)](_0xc37e1b,function(_0x2a2062){const _0x57913d=_0x195770;_0x2a2062&&_0x9a1343[_0x57913d(0x221)](logError,_0x9a1343[_0x57913d(0x240)],_0x2a2062);});const _0x3f959e=_0x195770(0x1ec);this['db'][_0x195770(0x261)](_0x3f959e,function(_0x5dfb48){const _0x4e5a1d=_0x195770;_0x5dfb48&&_0x9a1343[_0x4e5a1d(0x21b)](logError,_0x4e5a1d(0x230),_0x5dfb48);});}async[_0x4208f9(0x217)](){const _0x5766b6=_0x4208f9,_0x5a26ae={'qaMUP':function(_0x5ea368,_0x162c0b,_0xc9cd32){return _0x5ea368(_0x162c0b,_0xc9cd32);},'nezBo':function(_0x24155f,_0x46d395){return _0x24155f(_0x46d395);},'nWpbv':'数据库中消息最大短id','IEWzp':_0x5766b6(0x23d)};return new Promise((_0x1eb3f3,_0x5da55b)=>{const _0x2fa146=_0x5766b6,_0x50866f={'jkAve':function(_0x477ec6,_0x2bb76b,_0x1b0798){const _0x2cc077=_0x1973;return _0x5a26ae[_0x2cc077(0x20e)](_0x477ec6,_0x2bb76b,_0x1b0798);},'iAeRX':function(_0x4e7ddf,_0x44de80){const _0x251594=_0x1973;return _0x5a26ae[_0x251594(0x20d)](_0x4e7ddf,_0x44de80);},'zqatQ':function(_0x411d38,_0x3c42bf,_0x4af007){return _0x411d38(_0x3c42bf,_0x4af007);},'YevUF':_0x5a26ae['nWpbv']};this['db'][_0x2fa146(0x21f)](_0x5a26ae[_0x2fa146(0x237)],(_0x1f9530,_0x363dc5)=>{const _0x462d46=_0x2fa146;if(_0x1f9530)return _0x50866f[_0x462d46(0x218)](logDebug,_0x462d46(0x1f3),_0x1f9530),_0x50866f['iAeRX'](_0x1eb3f3,-0x7ffffff8);_0x50866f['zqatQ'](logDebug,_0x50866f[_0x462d46(0x1d6)],_0x363dc5?.[_0x462d46(0x22a)]),_0x50866f[_0x462d46(0x1f9)](_0x1eb3f3,_0x363dc5?.[_0x462d46(0x22a)]??-0x7ffffff8);});});}async[_0x4208f9(0x25b)](_0x18b6b2,_0x2322a9){const _0x193a19=_0x4208f9,_0x2d702a={'yEOJj':function(_0x177252,_0x3a1873){return _0x177252(_0x3a1873);},'FyOST':function(_0x38473f,_0x1f8ba6,_0x554616,_0x3d14e7,_0x30588f){return _0x38473f(_0x1f8ba6,_0x554616,_0x3d14e7,_0x30588f);},'NpcpT':_0x193a19(0x1d1),'DSFRB':function(_0x2c665b,_0x2a77e3){return _0x2c665b(_0x2a77e3);}},_0x330a31=this['db'][_0x193a19(0x22b)](_0x18b6b2);return new Promise((_0x15fc31,_0xa21e4a)=>{const _0x3cff9b=_0x193a19;_0x330a31[_0x3cff9b(0x21f)](..._0x2322a9,(_0x45cd1f,_0x4bb394)=>{const _0x2365aa=_0x3cff9b,_0x472fb0={'HLRAz':function(_0x4da4d1,_0x161834){const _0x84d37=_0x1973;return _0x2d702a[_0x84d37(0x21d)](_0x4da4d1,_0x161834);}};if(_0x45cd1f)return _0x2d702a[_0x2365aa(0x248)](logError,_0x2d702a[_0x2365aa(0x23f)],_0x45cd1f,_0x18b6b2,_0x2322a9),_0x2d702a['DSFRB'](_0x15fc31,null);if(!_0x4bb394){_0x2d702a['yEOJj'](_0x15fc31,null);return;}const _0x5f128c=_0x4bb394['longId'];NTQQMsgApi[_0x2365aa(0x205)]({'peerUid':_0x4bb394['peerUid'],'chatType':_0x4bb394[_0x2365aa(0x207)]},[_0x5f128c])[_0x2365aa(0x1ee)](_0x1312ab=>{const _0x353289=_0x2365aa,_0x13b431=_0x1312ab['msgList'][0x0];if(!_0x13b431){_0x15fc31(null);return;}_0x13b431['id']=_0x4bb394[_0x353289(0x24a)],_0x15fc31(_0x13b431);})[_0x2365aa(0x1fa)](_0x1f5103=>{const _0x4aecf1=_0x2365aa;_0x472fb0[_0x4aecf1(0x236)](_0x15fc31,null);});});});}async[_0x4208f9(0x225)](_0x3f802f){const _0x4b55d0=_0x4208f9,_0x24bcfa={'pQUoT':_0x4b55d0(0x1d5)};if(this[_0x4b55d0(0x251)][_0x4b55d0(0x260)](_0x3f802f))return this[_0x4b55d0(0x251)]['get'](_0x3f802f);const _0x33fe46=_0x24bcfa[_0x4b55d0(0x24f)];return this['getMsg'](_0x33fe46,[_0x3f802f]);}async[_0x4208f9(0x1ff)](_0x34604d){const _0x5318e3=_0x4208f9,_0x24bf15={'ZnDrk':_0x5318e3(0x24b)};if(this[_0x5318e3(0x251)][_0x5318e3(0x260)](_0x34604d))return this['msgCache']['get'](_0x34604d);return this[_0x5318e3(0x25b)](_0x24bf15['ZnDrk'],[_0x34604d]);}async[_0x4208f9(0x256)](_0x4503e6,_0x472b5a){const _0x406d94=_0x4208f9,_0x50fef1={'YbSYq':_0x406d94(0x227)},_0xf41d4d=_0x50fef1[_0x406d94(0x239)];return this[_0x406d94(0x25b)](_0xf41d4d,[_0x4503e6,_0x472b5a]);}async[_0x4208f9(0x1ed)](_0x5c51be,_0x360eff=!![]){const _0x401825=_0x4208f9,_0x29f2ca={'aSvGQ':function(_0x445a8d,_0x1b6b75,_0x34b14d){return _0x445a8d(_0x1b6b75,_0x34b14d);},'CJdqM':_0x401825(0x20b),'qPBPu':function(_0xec7150,_0x5dd47d){return _0xec7150===_0x5dd47d;},'lodJn':_0x401825(0x246),'YycIf':_0x401825(0x1e8),'RZHqJ':function(_0x2d6706,_0x123e1d){return _0x2d6706(_0x123e1d);}},_0x23579d=await this[_0x401825(0x1ff)](_0x5c51be[_0x401825(0x23c)]);if(_0x23579d){if(_0x360eff)this[_0x401825(0x234)](_0x5c51be)[_0x401825(0x1ee)]();return _0x23579d['id'];}const _0x55d9e4=this['db'][_0x401825(0x22b)](_0x29f2ca[_0x401825(0x243)]),_0x8caa29=++this[_0x401825(0x1e1)];return _0x5c51be['id']=_0x8caa29,_0x29f2ca['RZHqJ'](logDebug,_0x401825(0x1dd)+_0x5c51be[_0x401825(0x23c)]+_0x401825(0x249)+_0x5c51be['id']),this[_0x401825(0x251)]['set'](_0x8caa29,_0x5c51be),this[_0x401825(0x251)]['set'](_0x5c51be[_0x401825(0x23c)],_0x5c51be),_0x55d9e4[_0x401825(0x261)](this[_0x401825(0x1e1)],_0x5c51be[_0x401825(0x23c)],_0x5c51be['msgSeq'][_0x401825(0x231)](),_0x5c51be[_0x401825(0x1fd)],_0x5c51be['chatType'],_0x1d598c=>{const _0x157f65=_0x401825,_0x5b14b0={'MVQmu':function(_0x14e2ed,_0x156ed4,_0x212cf7){const _0x33216b=_0x1973;return _0x29f2ca[_0x33216b(0x238)](_0x14e2ed,_0x156ed4,_0x212cf7);},'fSrzl':_0x29f2ca[_0x157f65(0x257)]};_0x1d598c&&(_0x29f2ca['qPBPu'](_0x1d598c[_0x157f65(0x1f5)],0x13)?this[_0x157f65(0x1ff)](_0x5c51be[_0x157f65(0x23c)])['then'](_0x40e3b4=>{const _0x4d9925=_0x157f65;_0x40e3b4?(this['msgCache'][_0x4d9925(0x252)](_0x8caa29,_0x40e3b4),this[_0x4d9925(0x251)]['set'](_0x40e3b4[_0x4d9925(0x23c)],_0x40e3b4)):_0x5b14b0[_0x4d9925(0x253)](logError,_0x5b14b0[_0x4d9925(0x21e)],_0x1d598c);})[_0x157f65(0x1fa)](_0x5d34c0=>logError(_0x157f65(0x263),_0x5d34c0)):logError(_0x29f2ca[_0x157f65(0x247)],_0x1d598c));}),_0x8caa29;}async[_0x4208f9(0x234)](_0x37dce7){const _0x4ca285=_0x4208f9,_0x2d289e={'KdWGv':function(_0x4bdca3,_0xa93431,_0x5f59be){return _0x4bdca3(_0xa93431,_0x5f59be);},'rJZoZ':_0x4ca285(0x25d),'XMAmB':'UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?'},_0x1fc9b4=this[_0x4ca285(0x251)]['get'](_0x37dce7[_0x4ca285(0x23c)]);_0x1fc9b4&&Object[_0x4ca285(0x20a)](_0x1fc9b4,_0x37dce7);logDebug(_0x4ca285(0x224)+_0x37dce7['id']+_0x4ca285(0x1eb)+_0x37dce7[_0x4ca285(0x250)]+',\x20msgId:\x20'+_0x37dce7['msgId']);const _0x175b16=this['db'][_0x4ca285(0x22b)](_0x2d289e[_0x4ca285(0x1ef)]);_0x175b16[_0x4ca285(0x261)](_0x37dce7[_0x4ca285(0x250)],_0x37dce7['msgId'],_0x21b6d9=>{const _0x13816e=_0x4ca285;_0x21b6d9&&_0x2d289e[_0x13816e(0x25a)](logError,_0x2d289e[_0x13816e(0x22f)],_0x21b6d9);});}async['addFileCache'](_0x5132db){const _0x23bd6c=_0x4208f9,_0x11c92d={'CnqRN':function(_0x55f2ed,_0x1717eb,_0x461f4f){return _0x55f2ed(_0x1717eb,_0x461f4f);},'ZAwdw':_0x23bd6c(0x223),'SgAZA':function(_0x330d82,_0x4d80b0){return _0x330d82(_0x4d80b0);},'cvEyo':'INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)'},_0x219eeb=this['db'][_0x23bd6c(0x22b)](_0x11c92d[_0x23bd6c(0x1f1)]);return new Promise((_0x4ca0e4,_0x33b695)=>{const _0x214c26=_0x23bd6c;_0x219eeb[_0x214c26(0x261)](_0x5132db[_0x214c26(0x200)],_0x5132db[_0x214c26(0x262)],_0x5132db[_0x214c26(0x202)],_0x5132db[_0x214c26(0x24d)],_0x5132db['uuid'],_0x5132db['elementType'],JSON[_0x214c26(0x214)](_0x5132db[_0x214c26(0x258)]),_0x5132db['elementId'],_0x5132db[_0x214c26(0x23c)],function(_0x24d0ee){const _0x19a457=_0x214c26;_0x24d0ee&&(_0x11c92d['CnqRN'](logError,_0x11c92d[_0x19a457(0x1ea)],_0x24d0ee),_0x33b695(_0x24d0ee)),_0x11c92d[_0x19a457(0x23b)](_0x4ca0e4,null);});});}async[_0x4208f9(0x1f0)](_0x5b553c,_0x36d23f){const _0x32be6f=_0x4208f9,_0x2e3cba={'ifjeG':function(_0x798560,_0x3bd98b,_0x3fd32e){return _0x798560(_0x3bd98b,_0x3fd32e);},'QlbGj':_0x32be6f(0x228),'tFTIM':function(_0x4143c6,_0x33dc92){return _0x4143c6(_0x33dc92);}},_0x80bbd7=this['db'][_0x32be6f(0x22b)](_0x5b553c);return new Promise((_0x1af499,_0x287526)=>{const _0x517594=_0x32be6f,_0x1904fc={'ZAFFI':function(_0xe710d8,_0x3d1126,_0x29ff7b){const _0x511d72=_0x1973;return _0x2e3cba[_0x511d72(0x209)](_0xe710d8,_0x3d1126,_0x29ff7b);},'zjszL':_0x2e3cba[_0x517594(0x1fc)],'PztWA':function(_0x29775b,_0x32d5bb){return _0x2e3cba['tFTIM'](_0x29775b,_0x32d5bb);}};_0x80bbd7[_0x517594(0x21f)](..._0x36d23f,(_0x3b6bc2,_0x29f37c)=>{const _0x19ccc5=_0x517594;_0x3b6bc2&&(_0x1904fc[_0x19ccc5(0x229)](logError,_0x1904fc[_0x19ccc5(0x210)],_0x3b6bc2),_0x1904fc['PztWA'](_0x287526,_0x3b6bc2)),_0x29f37c&&(_0x29f37c[_0x19ccc5(0x258)]=JSON[_0x19ccc5(0x24c)](_0x29f37c[_0x19ccc5(0x258)])),_0x1904fc[_0x19ccc5(0x226)](_0x1af499,_0x29f37c);});});}async[_0x4208f9(0x22c)](_0x334741){const _0x58b097=_0x4208f9;return this['getFileCache'](_0x58b097(0x265),[_0x334741]);}async['getFileCacheByUuid'](_0x5ae504){const _0x3d948a=_0x4208f9,_0x5ae88c={'FnAKH':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?'};return this[_0x3d948a(0x1f0)](_0x5ae88c[_0x3d948a(0x1e5)],[_0x5ae504]);}async[_0x4208f9(0x1da)](_0xc3e00c){const _0x2fefe3=_0x4208f9,_0x89a8dd={'UcRFT':_0x2fefe3(0x21c)},_0x465253=this['db'][_0x2fefe3(0x22b)](_0x2fefe3(0x213));return new Promise((_0x4a2966,_0x3cc310)=>{const _0x22ba3d=_0x2fefe3,_0x441698={'hpxuP':_0x89a8dd[_0x22ba3d(0x220)],'CLieJ':function(_0x5e741d,_0x2fa6d8){return _0x5e741d(_0x2fa6d8);}};_0x465253[_0x22ba3d(0x261)](_0xc3e00c['path'],_0xc3e00c['url'],_0xc3e00c[_0x22ba3d(0x1d4)],function(_0x27f286){const _0x92e993=_0x22ba3d;_0x27f286&&(logError(_0x441698[_0x92e993(0x1d9)],_0x27f286),_0x441698['CLieJ'](_0x3cc310,_0x27f286)),_0x4a2966(null);});});}async[_0x4208f9(0x1e6)](){const _0x5eba4f=_0x4208f9,_0x2f4282={'opLTs':function(_0x90c132,_0x518b55,_0x46310d){return _0x90c132(_0x518b55,_0x46310d);},'cUdtY':function(_0x194197,_0x4014b9){return _0x194197(_0x4014b9);}},_0xa3efcd=_0x5eba4f(0x241);return new Promise((_0xb19223,_0x2d3d1c)=>{const _0x113594=_0x5eba4f,_0xb0230f={'yTMoy':function(_0x2cf261,_0x5dc6be,_0xa4083){const _0x40bcb1=_0x1973;return _0x2f4282[_0x40bcb1(0x23e)](_0x2cf261,_0x5dc6be,_0xa4083);},'VrKMp':_0x113594(0x25f),'FFWiE':function(_0x1d2081,_0x7be2e9){const _0x44622b=_0x113594;return _0x2f4282[_0x44622b(0x1dc)](_0x1d2081,_0x7be2e9);}};this['db'][_0x113594(0x1e7)](_0xa3efcd,(_0x35da49,_0x49597b)=>{const _0x357a1d=_0x113594;_0x35da49&&(_0xb0230f['yTMoy'](logError,_0xb0230f[_0x357a1d(0x212)],_0x35da49),_0x2d3d1c(_0x35da49));const _0x1d3176={};_0x49597b['forEach'](_0xb46920=>{const _0x26bda2=_0x357a1d;_0x1d3176[_0xb46920[_0x26bda2(0x254)]]=_0xb46920[_0x26bda2(0x20c)];}),_0xb0230f[_0x357a1d(0x1f4)](_0xb19223,_0x1d3176);});});}async['getUidByTempUin'](_0x391061){const _0x34fafa=_0x4208f9,_0x16f79f={'QpzFe':_0x34fafa(0x25f),'HVEGK':function(_0x5e666f,_0x52640f){return _0x5e666f(_0x52640f);},'FrgOV':_0x34fafa(0x1f6)},_0x49d1d0=_0x16f79f[_0x34fafa(0x1d8)];return new Promise((_0x35187d,_0x463784)=>{const _0x55f027=_0x34fafa,_0xc98479={'ajhwO':function(_0x4ff317,_0x5f0ba6,_0x8c197b){return _0x4ff317(_0x5f0ba6,_0x8c197b);},'gzIEL':_0x16f79f[_0x55f027(0x259)],'tVYEE':function(_0x26fd47,_0x1561b4){const _0x155e29=_0x55f027;return _0x16f79f[_0x155e29(0x1d7)](_0x26fd47,_0x1561b4);},'BrDZi':function(_0x56508a,_0x58920d){const _0x5d21f2=_0x55f027;return _0x16f79f[_0x5d21f2(0x1d7)](_0x56508a,_0x58920d);}};this['db'][_0x55f027(0x21f)](_0x49d1d0,[_0x391061],(_0x249eba,_0x53eba8)=>{const _0x633e8a=_0x55f027;_0x249eba&&(_0xc98479[_0x633e8a(0x23a)](logError,_0xc98479[_0x633e8a(0x1de)],_0x249eba),_0xc98479[_0x633e8a(0x22d)](_0x463784,_0x249eba)),_0xc98479[_0x633e8a(0x1fb)](_0x35187d,_0x53eba8?.['uid']);});});}async['addTempUin'](_0x149c15,_0x908812){const _0x2fe9ea=_0x4208f9,_0xfed9bc={'yHXEt':function(_0x45c3e0,_0x1438d2){return _0x45c3e0(_0x1438d2);},'pOwvI':'INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)'},_0x3092f0=await this[_0x2fe9ea(0x1d2)](_0x149c15);if(!_0x3092f0){const _0x56797e=this['db'][_0x2fe9ea(0x22b)](_0xfed9bc[_0x2fe9ea(0x244)]);return new Promise((_0x2d702d,_0x3c7aac)=>{const _0x2f6923=_0x2fe9ea;_0x56797e[_0x2f6923(0x261)](_0x149c15,_0x908812,function(_0xbc0f16){const _0x3f2668=_0x2f6923;_0xbc0f16&&(logError(_0x3f2668(0x1d3),_0xbc0f16),_0x3c7aac(_0xbc0f16)),_0xfed9bc['yHXEt'](_0x2d702d,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 6ebe38d5..d061d68f 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x5f8f4e=_0x535c;(function(_0x188cfd,_0x580398){const _0x236db8=_0x535c,_0x3734b2=_0x188cfd();while(!![]){try{const _0x180b73=parseInt(_0x236db8(0x144))/0x1+parseInt(_0x236db8(0x143))/0x2*(parseInt(_0x236db8(0x13f))/0x3)+-parseInt(_0x236db8(0x135))/0x4+parseInt(_0x236db8(0x139))/0x5+-parseInt(_0x236db8(0x136))/0x6*(-parseInt(_0x236db8(0x13d))/0x7)+-parseInt(_0x236db8(0x13b))/0x8+-parseInt(_0x236db8(0x13c))/0x9*(parseInt(_0x236db8(0x134))/0xa);if(_0x180b73===_0x580398)break;else _0x3734b2['push'](_0x3734b2['shift']());}catch(_0x431db4){_0x3734b2['push'](_0x3734b2['shift']());}}}(_0x2371,0xe337c));import _0x3e55fb from'node:path';function _0x2371(){const _0x3e53b5=['1905992MABguw','9OPZSOy','84JXbeAg','dirname','1968729kmcrlU','resources/app/versions/','existsSync','curVersion','4lYUGrA','878444qmqCMS','/wrapper.node','26324210uGEoiN','1992684kbKcrd','697434ffisyH','./resources/app/wrapper.node','execPath','3568635zJXOcQ','join'];_0x2371=function(){return _0x3e53b5;};return _0x2371();}import _0x39c282 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x3e55fb['resolve'](_0x3e55fb['dirname'](process['execPath']),_0x5f8f4e(0x137));!_0x39c282[_0x5f8f4e(0x141)](wrapperNodePath)&&(wrapperNodePath=_0x3e55fb[_0x5f8f4e(0x13a)](_0x3e55fb[_0x5f8f4e(0x13e)](process[_0x5f8f4e(0x138)]),_0x5f8f4e(0x140)+qqVersionConfigInfo[_0x5f8f4e(0x142)]+_0x5f8f4e(0x145)));const QQWrapper=require(wrapperNodePath);function _0x535c(_0x406b60,_0x3a6b1a){const _0x237167=_0x2371();return _0x535c=function(_0x535c85,_0xddbd64){_0x535c85=_0x535c85-0x134;let _0x12d1fa=_0x237167[_0x535c85];return _0x12d1fa;},_0x535c(_0x406b60,_0x3a6b1a);}export default QQWrapper; \ No newline at end of file +const _0x47f3a7=_0x3f27;function _0x3695(){const _0x55a216=['existsSync','execPath','resources/app/versions/','2JzNSWm','join','resolve','12676aBwTHA','1760444itmNNi','./resources/app/wrapper.node','923712YgQPdF','7937810qCZZIq','8vcpzdC','405774JdBBvl','620316PrckVj','curVersion','dirname','/wrapper.node','6rAUASi','789545TJToun'];_0x3695=function(){return _0x55a216;};return _0x3695();}(function(_0x4d9d3c,_0x4f9b61){const _0x39d869=_0x3f27,_0x3eabb3=_0x4d9d3c();while(!![]){try{const _0x54695e=parseInt(_0x39d869(0x1e9))/0x1*(-parseInt(_0x39d869(0x1ec))/0x2)+-parseInt(_0x39d869(0x1ef))/0x3+parseInt(_0x39d869(0x1f3))/0x4+-parseInt(_0x39d869(0x1f8))/0x5*(parseInt(_0x39d869(0x1f7))/0x6)+-parseInt(_0x39d869(0x1ed))/0x7+-parseInt(_0x39d869(0x1f1))/0x8*(parseInt(_0x39d869(0x1f2))/0x9)+parseInt(_0x39d869(0x1f0))/0xa;if(_0x54695e===_0x4f9b61)break;else _0x3eabb3['push'](_0x3eabb3['shift']());}catch(_0x4f245b){_0x3eabb3['push'](_0x3eabb3['shift']());}}}(_0x3695,0x2a6e1));import _0x3a1f11 from'node:path';function _0x3f27(_0x12c9ff,_0x827aeb){const _0x369557=_0x3695();return _0x3f27=function(_0x3f27cd,_0x53b59f){_0x3f27cd=_0x3f27cd-0x1e7;let _0x452d5d=_0x369557[_0x3f27cd];return _0x452d5d;},_0x3f27(_0x12c9ff,_0x827aeb);}import _0x2ed59d from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x3a1f11[_0x47f3a7(0x1eb)](_0x3a1f11[_0x47f3a7(0x1f5)](process[_0x47f3a7(0x1e7)]),_0x47f3a7(0x1ee));!_0x2ed59d[_0x47f3a7(0x1f9)](wrapperNodePath)&&(wrapperNodePath=_0x3a1f11[_0x47f3a7(0x1ea)](_0x3a1f11['dirname'](process['execPath']),_0x47f3a7(0x1e8)+qqVersionConfigInfo[_0x47f3a7(0x1f4)]+_0x47f3a7(0x1f6)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file