From 966a00f41e9400d086c1fcaffe6c51926be0440e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 15 May 2024 11:40:25 +0800 Subject: [PATCH] chore: sync code --- src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/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/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/core b/src/core index b1351835..ed10e0fc 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit b1351835673f86d445d244fd515560bfcd0b7adb +Subproject commit ed10e0fc9f4b98ad2b677c8862f5cc817a5560ba diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 51735b81..1b70b960 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x625d40=_0x44bb;(function(_0x5cddb1,_0x5457f0){var _0x2d3792=_0x44bb,_0x4aacd0=_0x5cddb1();while(!![]){try{var _0x5cf205=-parseInt(_0x2d3792(0x91))/0x1+-parseInt(_0x2d3792(0x8e))/0x2*(parseInt(_0x2d3792(0x87))/0x3)+-parseInt(_0x2d3792(0x8b))/0x4*(parseInt(_0x2d3792(0x8f))/0x5)+-parseInt(_0x2d3792(0x8c))/0x6*(-parseInt(_0x2d3792(0x8d))/0x7)+-parseInt(_0x2d3792(0x85))/0x8+-parseInt(_0x2d3792(0x88))/0x9*(parseInt(_0x2d3792(0x89))/0xa)+parseInt(_0x2d3792(0x90))/0xb;if(_0x5cf205===_0x5457f0)break;else _0x4aacd0['push'](_0x4aacd0['shift']());}catch(_0x515a1b){_0x4aacd0['push'](_0x4aacd0['shift']());}}}(_0x3ed9,0x48590));function _0x3ed9(){var _0x2e7918=['12450IDwLuR','18552138CqfslX','235294YTYGdS','1313288EWmCAf','onMSFStatusChange','1724739wKOHqy','4149TLxBKZ','9400JJJxKe','onMSFSsoError','132JHBZxV','12XErgKG','348796LGdjGD','2HdYAVn'];_0x3ed9=function(){return _0x2e7918;};return _0x3ed9();}function _0x44bb(_0x48557e,_0x2e2880){var _0x3ed916=_0x3ed9();return _0x44bb=function(_0x44bb3e,_0x3446a8){_0x44bb3e=_0x44bb3e-0x85;var _0x7f3a8f=_0x3ed916[_0x44bb3e];return _0x7f3a8f;},_0x44bb(_0x48557e,_0x2e2880);}export class DependsAdapter{[_0x625d40(0x86)](_0x1b22e2,_0x1125a8){}[_0x625d40(0x8a)](_0x2255f6){}['getGroupCode'](_0x1a0ded){}} \ No newline at end of file +var _0x35540b=_0x1a1f;function _0x1a1f(_0x36cb84,_0x29c1ec){var _0x1644c9=_0x1644();return _0x1a1f=function(_0x1a1ffb,_0x23ba40){_0x1a1ffb=_0x1a1ffb-0xfc;var _0xec1cdc=_0x1644c9[_0x1a1ffb];return _0xec1cdc;},_0x1a1f(_0x36cb84,_0x29c1ec);}function _0x1644(){var _0x567c65=['407745rGDJKM','6678690efuqdS','4IsrSPl','10oVqkyy','72ZCiGcG','20981741mrxJbu','52uMXnQe','5498325iFsfKS','195411GtoBFY','1264235tkrdhD','onMSFStatusChange','14290urQsPS'];_0x1644=function(){return _0x567c65;};return _0x1644();}(function(_0x51eb69,_0x9ce55d){var _0x73abf6=_0x1a1f,_0x2c69bc=_0x51eb69();while(!![]){try{var _0x5efe28=-parseInt(_0x73abf6(0x105))/0x1*(parseInt(_0x73abf6(0xfe))/0x2)+-parseInt(_0x73abf6(0x107))/0x3+parseInt(_0x73abf6(0x101))/0x4*(-parseInt(_0x73abf6(0x106))/0x5)+-parseInt(_0x73abf6(0x100))/0x6+-parseInt(_0x73abf6(0xfc))/0x7*(-parseInt(_0x73abf6(0x103))/0x8)+-parseInt(_0x73abf6(0xff))/0x9+parseInt(_0x73abf6(0x102))/0xa*(parseInt(_0x73abf6(0x104))/0xb);if(_0x5efe28===_0x9ce55d)break;else _0x2c69bc['push'](_0x2c69bc['shift']());}catch(_0x59cb91){_0x2c69bc['push'](_0x2c69bc['shift']());}}}(_0x1644,0xcc9e2));export class DependsAdapter{[_0x35540b(0xfd)](_0x5544dc,_0x42e602){}['onMSFSsoError'](_0x1aa939){}['getGroupCode'](_0x3a9fa1){}} \ 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 aff8eba0..4ce3b854 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x32cd(){var _0x1a6758=['dispatchCall','1DQeLNT','22CJgMRh','1283612YNikrw','3SfaFCt','39EgNJjV','1125650mJKegF','6676056PlGXFi','2883444NLXfMI','5HVozLa','70976hIfjHP','721evrSJi','6860268lGGRnK','dispatchRequest','1304516YUmEtr'];_0x32cd=function(){return _0x1a6758;};return _0x32cd();}var _0x2d8138=_0x2404;function _0x2404(_0x59dbb7,_0x29aada){var _0x32cd5c=_0x32cd();return _0x2404=function(_0x24043c,_0xb65c81){_0x24043c=_0x24043c-0x12d;var _0x32078d=_0x32cd5c[_0x24043c];return _0x32078d;},_0x2404(_0x59dbb7,_0x29aada);}(function(_0x4afdab,_0x1ccda2){var _0x3fa74d=_0x2404,_0x15957d=_0x4afdab();while(!![]){try{var _0x2406cf=-parseInt(_0x3fa74d(0x139))/0x1*(-parseInt(_0x3fa74d(0x13b))/0x2)+-parseInt(_0x3fa74d(0x12d))/0x3*(parseInt(_0x3fa74d(0x137))/0x4)+parseInt(_0x3fa74d(0x132))/0x5*(parseInt(_0x3fa74d(0x131))/0x6)+-parseInt(_0x3fa74d(0x134))/0x7*(-parseInt(_0x3fa74d(0x133))/0x8)+parseInt(_0x3fa74d(0x130))/0x9+-parseInt(_0x3fa74d(0x12f))/0xa*(parseInt(_0x3fa74d(0x13a))/0xb)+parseInt(_0x3fa74d(0x135))/0xc*(-parseInt(_0x3fa74d(0x12e))/0xd);if(_0x2406cf===_0x1ccda2)break;else _0x15957d['push'](_0x15957d['shift']());}catch(_0x2acfa4){_0x15957d['push'](_0x15957d['shift']());}}}(_0x32cd,0x7cea6));export class DispatcherAdapter{[_0x2d8138(0x136)](_0x387e9d){}[_0x2d8138(0x138)](_0x4d9240){}['dispatchCallWithJson'](_0x515cc6){}} \ No newline at end of file +var _0xd6d85d=_0x23ff;(function(_0x357889,_0xd54c17){var _0x3afe44=_0x23ff,_0x3c5e27=_0x357889();while(!![]){try{var _0x10c646=parseInt(_0x3afe44(0x127))/0x1*(parseInt(_0x3afe44(0x12b))/0x2)+-parseInt(_0x3afe44(0x124))/0x3*(parseInt(_0x3afe44(0x12e))/0x4)+-parseInt(_0x3afe44(0x123))/0x5+parseInt(_0x3afe44(0x12c))/0x6+parseInt(_0x3afe44(0x122))/0x7*(parseInt(_0x3afe44(0x129))/0x8)+-parseInt(_0x3afe44(0x128))/0x9+parseInt(_0x3afe44(0x12a))/0xa*(parseInt(_0x3afe44(0x12f))/0xb);if(_0x10c646===_0xd54c17)break;else _0x3c5e27['push'](_0x3c5e27['shift']());}catch(_0xc68fab){_0x3c5e27['push'](_0x3c5e27['shift']());}}}(_0x1d77,0x4389c));export class DispatcherAdapter{[_0xd6d85d(0x126)](_0x2b8bf5){}[_0xd6d85d(0x125)](_0x34725e){}[_0xd6d85d(0x12d)](_0x50e41e){}}function _0x23ff(_0x101031,_0x30715c){var _0x1d7718=_0x1d77();return _0x23ff=function(_0x23ffdd,_0x4767bf){_0x23ffdd=_0x23ffdd-0x122;var _0x5745ce=_0x1d7718[_0x23ffdd];return _0x5745ce;},_0x23ff(_0x101031,_0x30715c);}function _0x1d77(){var _0x205dfa=['872svQUDq','25350rciidS','588vIiUzX','2139090NgHiMx','dispatchCallWithJson','4mWbOGo','3421IsoXEm','2723qCyJeb','1628610JDVPSl','1529301jZHrEO','dispatchCall','dispatchRequest','479SZByIA','1944018KXPsHI'];_0x1d77=function(){return _0x205dfa;};return _0x1d77();} \ 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 30a10a14..390b6eeb 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x5bb7(_0x3817d3,_0x416338){var _0x5d0266=_0x5d02();return _0x5bb7=function(_0x5bb7fb,_0x5d1c5b){_0x5bb7fb=_0x5bb7fb-0x13e;var _0x29ca36=_0x5d0266[_0x5bb7fb];return _0x29ca36;},_0x5bb7(_0x3817d3,_0x416338);}function _0x5d02(){var _0x977635=['onShowErrUITips','fixPicImgType','17875yFDOem','30766yYQxET','getAppSetting','onLog','5301894BPgGlu','6486090XoHFVX','18444aKtjWV','392pXDmxT','onInstallFinished','19GXrrni','9QTcOvm','2890696GtAwOa','5052YQvUog','5BpPcvQ','162520fYduMD'];_0x5d02=function(){return _0x977635;};return _0x5d02();}var _0x4ff1e4=_0x5bb7;(function(_0x529478,_0x582b3a){var _0x1e405b=_0x5bb7,_0x5d0d27=_0x529478();while(!![]){try{var _0x30a21c=-parseInt(_0x1e405b(0x14b))/0x1*(-parseInt(_0x1e405b(0x143))/0x2)+parseInt(_0x1e405b(0x148))/0x3+parseInt(_0x1e405b(0x14d))/0x4*(-parseInt(_0x1e405b(0x13e))/0x5)+parseInt(_0x1e405b(0x146))/0x6+parseInt(_0x1e405b(0x149))/0x7*(-parseInt(_0x1e405b(0x13f))/0x8)+-parseInt(_0x1e405b(0x14c))/0x9*(-parseInt(_0x1e405b(0x147))/0xa)+parseInt(_0x1e405b(0x142))/0xb*(parseInt(_0x1e405b(0x14e))/0xc);if(_0x30a21c===_0x582b3a)break;else _0x5d0d27['push'](_0x5d0d27['shift']());}catch(_0x28aa3d){_0x5d0d27['push'](_0x5d0d27['shift']());}}}(_0x5d02,0x9fc9e));export class GlobalAdapter{[_0x4ff1e4(0x145)](..._0x207dce){}['onGetSrvCalTime'](..._0x2f7054){}[_0x4ff1e4(0x140)](..._0x37a0ed){}[_0x4ff1e4(0x141)](..._0x16e3d7){}[_0x4ff1e4(0x144)](..._0x3d5ac4){}[_0x4ff1e4(0x14a)](..._0x2474d1){}['onUpdateGeneralFlag'](..._0x39ea77){}['onGetOfflineMsg'](..._0x216b4a){}} \ No newline at end of file +function _0x1cb1(_0x34103d,_0x13dfdf){var _0x5be4f0=_0x5be4();return _0x1cb1=function(_0x1cb1e0,_0x50d9ee){_0x1cb1e0=_0x1cb1e0-0x174;var _0x277c25=_0x5be4f0[_0x1cb1e0];return _0x277c25;},_0x1cb1(_0x34103d,_0x13dfdf);}function _0x5be4(){var _0x5d509a=['9jTBTvV','3505870jiAlOg','4589790uFcoQE','5237136ejGKom','onInstallFinished','onShowErrUITips','307348kSzrkM','318012mEmOaS','3OnepSQ','2053660tGZyUK','7aVFHxw','getAppSetting','1503132DwEpJY','fixPicImgType','onGetOfflineMsg'];_0x5be4=function(){return _0x5d509a;};return _0x5be4();}var _0x4940e8=_0x1cb1;(function(_0xc0e070,_0x1b6e8b){var _0x43f664=_0x1cb1,_0x19c3a5=_0xc0e070();while(!![]){try{var _0x7c4c9c=-parseInt(_0x43f664(0x178))/0x1*(-parseInt(_0x43f664(0x176))/0x2)+-parseInt(_0x43f664(0x17c))/0x3+-parseInt(_0x43f664(0x177))/0x4+parseInt(_0x43f664(0x179))/0x5+parseInt(_0x43f664(0x181))/0x6*(-parseInt(_0x43f664(0x17a))/0x7)+parseInt(_0x43f664(0x182))/0x8+parseInt(_0x43f664(0x17f))/0x9*(parseInt(_0x43f664(0x180))/0xa);if(_0x7c4c9c===_0x1b6e8b)break;else _0x19c3a5['push'](_0x19c3a5['shift']());}catch(_0x43b591){_0x19c3a5['push'](_0x19c3a5['shift']());}}}(_0x5be4,0x81c0f));export class GlobalAdapter{['onLog'](..._0x5785ba){}['onGetSrvCalTime'](..._0x2f5395){}[_0x4940e8(0x175)](..._0x2fa560){}[_0x4940e8(0x17d)](..._0x3c9fe0){}[_0x4940e8(0x17b)](..._0x120d59){}[_0x4940e8(0x174)](..._0x49a899){}['onUpdateGeneralFlag'](..._0x4dcbdf){}[_0x4940e8(0x17e)](..._0x165313){}} \ 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 ec35cc03..16ca7645 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x6226(_0x1a62b2,_0x9c233b){var _0x2a4647=_0x2a46();return _0x6226=function(_0x6226f1,_0x265981){_0x6226f1=_0x6226f1-0x95;var _0x280f84=_0x2a4647[_0x6226f1];return _0x280f84;},_0x6226(_0x1a62b2,_0x9c233b);}(function(_0x2748b2,_0x5e2843){var _0x5d323d=_0x6226,_0x25e5a7=_0x2748b2();while(!![]){try{var _0x370e8f=parseInt(_0x5d323d(0x99))/0x1*(-parseInt(_0x5d323d(0x9b))/0x2)+-parseInt(_0x5d323d(0x9c))/0x3+parseInt(_0x5d323d(0x98))/0x4+parseInt(_0x5d323d(0x9a))/0x5+-parseInt(_0x5d323d(0x97))/0x6+parseInt(_0x5d323d(0x96))/0x7+-parseInt(_0x5d323d(0x95))/0x8;if(_0x370e8f===_0x5e2843)break;else _0x25e5a7['push'](_0x25e5a7['shift']());}catch(_0x173375){_0x25e5a7['push'](_0x25e5a7['shift']());}}}(_0x2a46,0x49afc));export*from'./NodeIDependsAdapter';function _0x2a46(){var _0x1b54c3=['1959232kjqzow','4BpZHvN','2889305daTnLA','109036xKnLue','1601625WkXvrv','430096itoWgp','1014720yBTKzQ','630600nTsIzN'];_0x2a46=function(){return _0x1b54c3;};return _0x2a46();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +function _0x46cb(){var _0x185c30=['1239714QkKWTX','3260072NajbLR','52sVkZql','2FnoNQt','1903650WzwdNg','7fHSozJ','4432041MzBAuz','1012056EawUwU','25710xlaZGR','82777bbHfgF'];_0x46cb=function(){return _0x185c30;};return _0x46cb();}function _0x161f(_0x4e5bfb,_0x58c76b){var _0x46cbff=_0x46cb();return _0x161f=function(_0x161f12,_0x4a0f6e){_0x161f12=_0x161f12-0x6a;var _0xf57fb5=_0x46cbff[_0x161f12];return _0xf57fb5;},_0x161f(_0x4e5bfb,_0x58c76b);}(function(_0x1ee3dc,_0x3e4cba){var _0x2841cd=_0x161f,_0x4aeda5=_0x1ee3dc();while(!![]){try{var _0x470817=parseInt(_0x2841cd(0x70))/0x1*(-parseInt(_0x2841cd(0x6a))/0x2)+-parseInt(_0x2841cd(0x71))/0x3+parseInt(_0x2841cd(0x73))/0x4*(-parseInt(_0x2841cd(0x6f))/0x5)+parseInt(_0x2841cd(0x6e))/0x6+parseInt(_0x2841cd(0x6c))/0x7*(parseInt(_0x2841cd(0x72))/0x8)+parseInt(_0x2841cd(0x6d))/0x9+-parseInt(_0x2841cd(0x6b))/0xa;if(_0x470817===_0x3e4cba)break;else _0x4aeda5['push'](_0x4aeda5['shift']());}catch(_0x35fc3a){_0x4aeda5['push'](_0x4aeda5['shift']());}}}(_0x46cb,0x4d010));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 9ba221dc..1c98829e 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x32b2f7=_0x1fd2;(function(_0xee0515,_0x240b66){const _0x328ae7=_0x1fd2,_0x18e3f4=_0xee0515();while(!![]){try{const _0x4db58a=-parseInt(_0x328ae7(0x123))/0x1*(-parseInt(_0x328ae7(0x14a))/0x2)+-parseInt(_0x328ae7(0x163))/0x3+parseInt(_0x328ae7(0x13c))/0x4*(parseInt(_0x328ae7(0x131))/0x5)+parseInt(_0x328ae7(0x12e))/0x6*(parseInt(_0x328ae7(0x13a))/0x7)+-parseInt(_0x328ae7(0x134))/0x8*(parseInt(_0x328ae7(0x156))/0x9)+parseInt(_0x328ae7(0x15f))/0xa*(-parseInt(_0x328ae7(0x162))/0xb)+-parseInt(_0x328ae7(0x167))/0xc;if(_0x4db58a===_0x240b66)break;else _0x18e3f4['push'](_0x18e3f4['shift']());}catch(_0x42c51e){_0x18e3f4['push'](_0x18e3f4['shift']());}}}(_0x3c0c,0x253b0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x5f2bd2 from'path';import _0x367e4d from'fs';import _0x238df6 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x3c0c(){const _0x44904b=['md5HexStr','wlGZU','getCacheSessionPathList','getFileType','getStorageCleanService','includes','120070GXPhjS','getRkey','kzQvd','88Htlqom','312039vtJNQi','lxmje','下载超时','downloadPath','1208148Xqnakk','nspXO','/download','&rkey=','util','XXsgn','getRichMediaFilePathForGuild','clearCacheDataByKeys','xZrxQ','addListener','downloadRichMedia','receive\x20downloadMedia\x20task','session','fileUuid','14QxXVZE','getFileSize','originImageUrl','addCacheScanedPaths','addCacheScannedPaths','LKXts','ruLbI','prmkp','copyFile','getImageSize','getChatCacheList','10338aObGCJ','aDmlP','wiWWB','67680OmevTR','tmp','PbOpp','129240AuYKLy','/gchatpic_new/0/0-0-','ext','gIbwG','defaultFileDownloadPath','lTFGT','105QZmGkJ','mmszx','80VIAItS','srWLw','hotUpdate','toUpperCase','getMsgService','fileTypeFromFile','delete','YwcBX','indexOf','图片url获取失败','set','PIC','private_rkey','join','33922VqWZng','scanCache','existsSync','clearChatCache','clearCache','basename','msgId','getChatCacheInfo','startsWith','onRichMediaDownloadComplete','start\x20downloadMedia','mYDQz','45cjlkDt','setCacheSilentScan','getDesktopTmpPath'];_0x3c0c=function(){return _0x44904b;};return _0x3c0c();}import*as _0x1cbe1a from'file-type';import{MsgListener}from'@/core/listeners';import _0x4927b9 from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x1fd2(_0x48a4eb,_0x3faf4b){const _0x3c0cb7=_0x3c0c();return _0x1fd2=function(_0x1fd22c,_0x451348){_0x1fd22c=_0x1fd22c-0x11a;let _0x1b2266=_0x3c0cb7[_0x1fd22c];return _0x1b2266;},_0x1fd2(_0x48a4eb,_0x3faf4b);}import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x32b2f7(0x153)]=_0x1b3bd4=>{const _0x2a1c4e=_0x32b2f7,_0x17958c={'wiWWB':function(_0x4a50ab,_0x2cd841){return _0x4a50ab(_0x2cd841);}};for(const [_0x3d7e00,_0x393a5c]of downloadMediaTasks){_0x17958c[_0x2a1c4e(0x130)](_0x393a5c,_0x1b3bd4),downloadMediaTasks[_0x2a1c4e(0x142)](_0x3d7e00);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0xb93150=_0x1fd2;napCatCore[_0xb93150(0x11e)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x411497){const _0x378a3c=_0x32b2f7;return _0x1cbe1a[_0x378a3c(0x141)](_0x411497);}static async[_0x32b2f7(0x12b)](_0x4175a9,_0x27a3fd){const _0x599067=_0x32b2f7;await napCatCore[_0x599067(0x16b)][_0x599067(0x12b)](_0x4175a9,_0x27a3fd);}static async['getFileSize'](_0x3b5f56){const _0xc0cb34=_0x32b2f7;return await napCatCore[_0xc0cb34(0x16b)][_0xc0cb34(0x124)](_0x3b5f56);}static async['uploadFile'](_0x46fc17,_0x41cc8d=ElementType[_0x32b2f7(0x147)],_0xaa54bd=0x0){const _0x413cb9=_0x32b2f7,_0x428794={'aDmlP':function(_0x306a04,_0x2e0926){return _0x306a04(_0x2e0926);},'gIbwG':function(_0x35b8db,_0x5e2f84){return _0x35b8db+_0x5e2f84;},'YwcBX':function(_0x1b8331,_0x37412c){return _0x1b8331===_0x37412c;}},_0x315861=await _0x428794[_0x413cb9(0x12f)](calculateFileMD5,_0x46fc17);let _0x200e1d=(await NTQQFileApi[_0x413cb9(0x15c)](_0x46fc17))?.[_0x413cb9(0x136)]||'';_0x200e1d&&(_0x200e1d=_0x428794[_0x413cb9(0x137)]('.',_0x200e1d));let _0x18020f=''+_0x5f2bd2[_0x413cb9(0x14f)](_0x46fc17);_0x428794[_0x413cb9(0x143)](_0x18020f[_0x413cb9(0x144)]('.'),-0x1)&&(_0x18020f+=_0x200e1d);const _0x4c4509=napCatCore[_0x413cb9(0x121)][_0x413cb9(0x140)]()[_0x413cb9(0x11b)]({'md5HexStr':_0x315861,'fileName':_0x18020f,'elementType':_0x41cc8d,'elementSubType':_0xaa54bd,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x46fc17,_0x4c4509);const _0x383df0=await NTQQFileApi[_0x413cb9(0x124)](_0x46fc17);return{'md5':_0x315861,'fileName':_0x18020f,'path':_0x4c4509,'fileSize':_0x383df0,'ext':_0x200e1d};}static async['downloadMedia'](_0x158ca8,_0xb59034,_0x1f1f2a,_0x5586b3,_0x3d69f1,_0x47e3c0,_0x522d8d=0x3e8*0x3c*0x2,_0x4ae54a=![]){const _0x1dc1af=_0x32b2f7,_0x11623e={'lTFGT':function(_0x5523ca,_0x31ac82,_0x448e85,_0x2a1f1e){return _0x5523ca(_0x31ac82,_0x448e85,_0x2a1f1e);},'ruLbI':'downloadMedia\x20complete','WXogS':function(_0x39d7b1,_0xab223b){return _0x39d7b1===_0xab223b;},'XXsgn':_0x1dc1af(0x166),'xZrxQ':function(_0x3c6ce7,_0x13ff42){return _0x3c6ce7(_0x13ff42);},'LKXts':function(_0x5a58ba,_0x3f9e01){return _0x5a58ba(_0x3f9e01);},'kzQvd':_0x1dc1af(0x165),'srWLw':function(_0x2b495a){return _0x2b495a();},'MSioF':function(_0x48edd5,_0x49718b,_0xad2012){return _0x48edd5(_0x49718b,_0xad2012);},'lxmje':function(_0x2ba989,_0x161efa,_0x2c2ad7,_0x518ecb,_0xde7849,_0x59c034,_0x4ad64d,_0x10e0a9,_0x248bb7,_0x946f53){return _0x2ba989(_0x161efa,_0x2c2ad7,_0x518ecb,_0xde7849,_0x59c034,_0x4ad64d,_0x10e0a9,_0x248bb7,_0x946f53);},'mmszx':_0x1dc1af(0x120),'gUfiI':_0x1dc1af(0x154)};_0x11623e[_0x1dc1af(0x164)](logDebug,_0x11623e[_0x1dc1af(0x13b)],_0x158ca8,_0xb59034,_0x1f1f2a,_0x5586b3,_0x3d69f1,_0x47e3c0,_0x522d8d,_0x4ae54a);if(_0x47e3c0&&_0x367e4d[_0x1dc1af(0x14c)](_0x47e3c0)){if(_0x4ae54a)try{await _0x238df6['unlink'](_0x47e3c0);}catch(_0xc8097){}else return _0x47e3c0;}return logDebug(_0x11623e['gUfiI'],_0x158ca8,_0xb59034,_0x1f1f2a,_0x5586b3,_0x3d69f1,_0x47e3c0,_0x522d8d,_0x4ae54a),new Promise((_0x43550a,_0x2495d1)=>{const _0x4c328c=_0x1dc1af;let _0x5cc997=![];const _0x12bd35=_0x14b253=>{const _0x56d8dd=_0x1fd2;_0x11623e[_0x56d8dd(0x139)](logDebug,_0x11623e[_0x56d8dd(0x129)],_0x14b253,_0x158ca8);if(_0x11623e['WXogS'](_0x14b253[_0x56d8dd(0x150)],_0x158ca8)){_0x5cc997=!![];let _0x1d9b72=_0x14b253['filePath'];if(_0x1d9b72[_0x56d8dd(0x152)]('\x5c')){const _0x58e135=sessionConfig[_0x56d8dd(0x138)];logDebug(_0x11623e[_0x56d8dd(0x11a)],_0x58e135),_0x1d9b72=_0x5f2bd2[_0x56d8dd(0x149)](_0x58e135,_0x1d9b72);}_0x11623e[_0x56d8dd(0x11d)](_0x43550a,_0x1d9b72);}};downloadMediaTasks[_0x4c328c(0x146)](_0x11623e[_0x4c328c(0x13d)](randomUUID),_0x12bd35),_0x11623e['MSioF'](setTimeout,()=>{const _0x2c87c2=_0x4c328c;!_0x5cc997&&_0x11623e[_0x2c87c2(0x128)](_0x2495d1,_0x11623e[_0x2c87c2(0x161)]);},_0x522d8d),napCatCore[_0x4c328c(0x121)][_0x4c328c(0x140)]()[_0x4c328c(0x11f)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x158ca8,'chatType':_0xb59034,'peerUid':_0x1f1f2a,'elementId':_0x5586b3,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3d69f1});});}static async[_0x32b2f7(0x12c)](_0x1a7e9f){const _0x20aff9={'mYDQz':function(_0x47aab5,_0x32a70e,_0x270a89){return _0x47aab5(_0x32a70e,_0x270a89);}};return new Promise((_0x8fea43,_0x51e555)=>{const _0x4e094b=_0x1fd2,_0x3884e3={'SBNlq':function(_0x57cefc,_0x57734c){return _0x57cefc(_0x57734c);}};_0x20aff9[_0x4e094b(0x155)](_0x4927b9,_0x1a7e9f,(_0x2e2dd2,_0x405c8c)=>{_0x2e2dd2?_0x3884e3['SBNlq'](_0x51e555,_0x2e2dd2):_0x8fea43(_0x405c8c);});});}static async['getImageUrl'](_0x3b81a0,_0xfb8681){const _0x186dca=_0x32b2f7,_0x1e7a5d={'prmkp':_0x186dca(0x169),'PbOpp':function(_0x30e618,_0xa827df){return _0x30e618+_0xa827df;},'vxIex':function(_0x202c51,_0x1a06f4){return _0x202c51+_0x1a06f4;},'QgDys':function(_0x15c4ee,_0x5c17c9){return _0x15c4ee||_0x5c17c9;},'qzXea':function(_0x26d6fd,_0x57cbcb){return _0x26d6fd||_0x57cbcb;},'wlGZU':function(_0x355d57,_0x323b18,_0x29fcf9){return _0x355d57(_0x323b18,_0x29fcf9);},'nspXO':_0x186dca(0x145)};if(!_0x3b81a0)return'';const _0x5275af=_0x3b81a0[_0x186dca(0x125)],_0xfaa584=_0x3b81a0[_0x186dca(0x159)],_0x90f0b6=_0x3b81a0[_0x186dca(0x159)],_0x5a153c=_0x3b81a0[_0x186dca(0x122)];if(_0x5275af){if(_0x5275af[_0x186dca(0x152)](_0x1e7a5d[_0x186dca(0x12a)])){if(_0x5275af[_0x186dca(0x15e)](_0x186dca(0x16a)))return IMAGE_HTTP_HOST_NT+_0x5275af;const _0x38c2c4=await rkeyManager[_0x186dca(0x160)](),_0x128d57=_0xfb8681?_0x38c2c4[_0x186dca(0x148)]:_0x38c2c4['group_rkey'];return _0x1e7a5d[_0x186dca(0x133)](IMAGE_HTTP_HOST_NT+_0x5275af,''+_0x128d57);}else return _0x1e7a5d['vxIex'](IMAGE_HTTP_HOST,_0x5275af);}else{if(_0x1e7a5d['QgDys'](_0x90f0b6,_0xfaa584))return IMAGE_HTTP_HOST+_0x186dca(0x135)+_0x1e7a5d['qzXea'](_0x90f0b6,_0xfaa584)[_0x186dca(0x13f)]()+'/0';}return _0x1e7a5d[_0x186dca(0x15a)](logDebug,_0x1e7a5d[_0x186dca(0x168)],_0x3b81a0),'';}}export class NTQQFileCacheApi{static async[_0x32b2f7(0x157)](_0x47e121=!![]){return'';}static[_0x32b2f7(0x15b)](){return'';}static[_0x32b2f7(0x14e)](_0xc79b83=[_0x32b2f7(0x132),_0x32b2f7(0x13e)]){const _0xb07012=_0x32b2f7;return napCatCore[_0xb07012(0x121)][_0xb07012(0x15d)]()[_0xb07012(0x11c)](_0xc79b83);}static[_0x32b2f7(0x127)](_0xee6b20={}){const _0x4cb24f=_0x32b2f7;return napCatCore[_0x4cb24f(0x121)]['getStorageCleanService']()[_0x4cb24f(0x126)](_0xee6b20);}static[_0x32b2f7(0x14b)](){const _0x29e30e=_0x32b2f7;return napCatCore[_0x29e30e(0x121)][_0x29e30e(0x15d)]()[_0x29e30e(0x14b)]();}static['getHotUpdateCachePath'](){return'';}static[_0x32b2f7(0x158)](){return'';}static[_0x32b2f7(0x12d)](_0x56ea87,_0x5eb607=0x3e8,_0x144e18=0x0){const _0x13a754=_0x32b2f7;return napCatCore[_0x13a754(0x121)]['getStorageCleanService']()[_0x13a754(0x151)](_0x56ea87,_0x5eb607,0x1,_0x144e18);}static['getFileCacheInfo'](_0x1ba69c,_0x5bb0c0=0x3e8,_0x5a178f){const _0x9d1c71=_0x5a178f?_0x5a178f:{'fileType':_0x1ba69c};}static async[_0x32b2f7(0x14d)](_0x5ccb0f=[],_0x51d124=[]){const _0x4f16d4=_0x32b2f7;return napCatCore['session'][_0x4f16d4(0x15d)]()['clearChatCacheInfo'](_0x5ccb0f,_0x51d124);}} \ No newline at end of file +const _0x2365fe=_0x4a3b;(function(_0x45e3ac,_0x529208){const _0x41b2fa=_0x4a3b,_0x57eeae=_0x45e3ac();while(!![]){try{const _0x4d64ca=-parseInt(_0x41b2fa(0x123))/0x1*(-parseInt(_0x41b2fa(0x128))/0x2)+-parseInt(_0x41b2fa(0x130))/0x3+-parseInt(_0x41b2fa(0xe8))/0x4*(parseInt(_0x41b2fa(0xfb))/0x5)+parseInt(_0x41b2fa(0x111))/0x6*(-parseInt(_0x41b2fa(0xff))/0x7)+-parseInt(_0x41b2fa(0x104))/0x8+parseInt(_0x41b2fa(0xf1))/0x9+parseInt(_0x41b2fa(0x10b))/0xa;if(_0x4d64ca===_0x529208)break;else _0x57eeae['push'](_0x57eeae['shift']());}catch(_0x42805f){_0x57eeae['push'](_0x57eeae['shift']());}}}(_0x4390,0xb7f0c));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1b1c13 from'path';import _0x179165 from'fs';import _0x245f4c from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x4390(){const _0x1cc8b6=['YmxJw','addCacheScannedPaths','9106500lEVEwu','AasVB','addCacheScanedPaths','uploadFile','downloadMedia\x20complete','getImageSize','113814qVMpOc','hotUpdate','CMinv','getRichMediaFilePathForGuild','basename','copyFile','sPTiO','RWodP','sOkYb','filePath','downloadPath','indexOf','BeCJI','unlink','aiNPx','fileTypeFromFile','JvShJ','toUpperCase','2ijMJjr','getMsgService','getFileType','getFileCacheInfo','shbpG','379198etdfvn','/gchatpic_new/0/0-0-','&rkey=','getFileSize','msgId','startsWith','getHotUpdateCachePath','delete','650868QGkHNy','WSMUE','onRichMediaDownloadComplete','start\x20downloadMedia','RQjeR','clearCacheDataByKeys','clearCache','FvgYe','setCacheSilentScan','1344ZNPjiS','gEtGW','downloadMedia','kxExd','cxwTR','XCgVk','existsSync','tmp','set','7166907cNkcAF','DEvmr','YKSRn','clearChatCache','private_rkey','downloadRichMedia','PIC','getStorageCleanService','hsJVh','scanCache','8490DRAzJr','onLoginSuccess','clearChatCacheInfo','getRkey','77boDEiW','Piant','ext','util','join','2692864JbmSBp','session','hBGRU','ZlLEl','PAEYS'];_0x4390=function(){return _0x1cc8b6;};return _0x4390();}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x295c3c from'file-type';import{MsgListener}from'@/core/listeners';import _0x4e2797 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x2365fe(0xe1)]=_0x31d3ee=>{const _0x3e78c1=_0x2365fe,_0x429d10={'RQjeR':function(_0x25da46,_0xdccd7c){return _0x25da46(_0xdccd7c);}};for(const [_0x2c56ff,_0x17fe20]of downloadMediaTasks){_0x429d10[_0x3e78c1(0xe3)](_0x17fe20,_0x31d3ee),downloadMediaTasks[_0x3e78c1(0x12f)](_0x2c56ff);}},setTimeout(()=>{const _0x1243ef=_0x2365fe;napCatCore[_0x1243ef(0xfc)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x2365fe(0x125)](_0x18442c){const _0xbcc05b=_0x2365fe;return _0x295c3c[_0xbcc05b(0x120)](_0x18442c);}static async['copyFile'](_0x3172fd,_0x3f07fe){const _0x55130b=_0x2365fe;await napCatCore[_0x55130b(0x102)][_0x55130b(0x116)](_0x3172fd,_0x3f07fe);}static async['getFileSize'](_0x49bfa9){const _0x29b309=_0x2365fe;return await napCatCore[_0x29b309(0x102)][_0x29b309(0x12b)](_0x49bfa9);}static async[_0x2365fe(0x10e)](_0x380f91,_0x5bd6c0=ElementType[_0x2365fe(0xf7)],_0x5d7ce8=0x0){const _0x4b5195=_0x2365fe,_0x1cae90={'GCXLh':function(_0x33f39a,_0x163cb9){return _0x33f39a(_0x163cb9);},'oiJhd':function(_0x594592,_0x228817){return _0x594592+_0x228817;},'AasVB':function(_0x2ec477,_0x143b88){return _0x2ec477===_0x143b88;}},_0x337a05=await _0x1cae90['GCXLh'](calculateFileMD5,_0x380f91);let _0xdf9492=(await NTQQFileApi[_0x4b5195(0x125)](_0x380f91))?.[_0x4b5195(0x101)]||'';_0xdf9492&&(_0xdf9492=_0x1cae90['oiJhd']('.',_0xdf9492));let _0x17247e=''+_0x1b1c13[_0x4b5195(0x115)](_0x380f91);_0x1cae90[_0x4b5195(0x10c)](_0x17247e[_0x4b5195(0x11c)]('.'),-0x1)&&(_0x17247e+=_0xdf9492);const _0x34135b=napCatCore[_0x4b5195(0x105)][_0x4b5195(0x124)]()[_0x4b5195(0x114)]({'md5HexStr':_0x337a05,'fileName':_0x17247e,'elementType':_0x5bd6c0,'elementSubType':_0x5d7ce8,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x380f91,_0x34135b);const _0x2a56bb=await NTQQFileApi[_0x4b5195(0x12b)](_0x380f91);return{'md5':_0x337a05,'fileName':_0x17247e,'path':_0x34135b,'fileSize':_0x2a56bb,'ext':_0xdf9492};}static async[_0x2365fe(0xea)](_0xe1f2f6,_0x5740df,_0xb64a37,_0xceddbe,_0x3bd7c1,_0x489a01,_0x4ac7ad=0x3e8*0x3c*0x2,_0x41bf3a=![]){const _0x217edc=_0x2365fe,_0x307257={'DEvmr':'下载超时','BeCJI':function(_0x486bd3,_0x563ca4,_0x547a9d,_0x1a7dba){return _0x486bd3(_0x563ca4,_0x547a9d,_0x1a7dba);},'kxExd':function(_0x3745ee,_0x361b3d){return _0x3745ee===_0x361b3d;},'gEtGW':_0x217edc(0x11b),'RWodP':function(_0x16f28c,_0x4ef7ab){return _0x16f28c(_0x4ef7ab);},'YmxJw':function(_0x4ff679){return _0x4ff679();},'shbpG':function(_0x1193f5,_0x134ee4,_0x5b304a,_0x17483c,_0x54057e,_0x36aa51,_0x4c9852,_0x1e8081,_0x41f312,_0x95e748){return _0x1193f5(_0x134ee4,_0x5b304a,_0x17483c,_0x54057e,_0x36aa51,_0x4c9852,_0x1e8081,_0x41f312,_0x95e748);},'VzrEL':'receive\x20downloadMedia\x20task','hsJVh':_0x217edc(0xe2)};_0x307257[_0x217edc(0x127)](logDebug,_0x307257['VzrEL'],_0xe1f2f6,_0x5740df,_0xb64a37,_0xceddbe,_0x3bd7c1,_0x489a01,_0x4ac7ad,_0x41bf3a);if(_0x489a01&&_0x179165[_0x217edc(0xee)](_0x489a01)){if(_0x41bf3a)try{await _0x245f4c[_0x217edc(0x11e)](_0x489a01);}catch(_0x11c014){}else return _0x489a01;}return _0x307257[_0x217edc(0x127)](logDebug,_0x307257[_0x217edc(0xf9)],_0xe1f2f6,_0x5740df,_0xb64a37,_0xceddbe,_0x3bd7c1,_0x489a01,_0x4ac7ad,_0x41bf3a),new Promise((_0x13410d,_0x6ce39c)=>{const _0x588e2b=_0x217edc,_0x427804={'aiNPx':function(_0x293756,_0x1c7d4f,_0x308821,_0x2e8ca0){const _0x2884ac=_0x4a3b;return _0x307257[_0x2884ac(0x11d)](_0x293756,_0x1c7d4f,_0x308821,_0x2e8ca0);},'PAEYS':_0x588e2b(0x10f),'CMinv':function(_0xbe4c1,_0xd3f9f0){const _0x3e1cbf=_0x588e2b;return _0x307257[_0x3e1cbf(0xeb)](_0xbe4c1,_0xd3f9f0);},'sPTiO':function(_0x15cb35,_0x1a5bbe,_0x6a2b35){return _0x15cb35(_0x1a5bbe,_0x6a2b35);},'XCgVk':_0x307257[_0x588e2b(0xe9)],'hBGRU':function(_0x23eacc,_0x174e81){const _0x46b20a=_0x588e2b;return _0x307257[_0x46b20a(0x118)](_0x23eacc,_0x174e81);}};let _0x2de9ed=![];const _0x378070=_0x546d3a=>{const _0x419a3e=_0x588e2b;_0x427804[_0x419a3e(0x11f)](logDebug,_0x427804[_0x419a3e(0x108)],_0x546d3a,_0xe1f2f6);if(_0x427804[_0x419a3e(0x113)](_0x546d3a[_0x419a3e(0x12c)],_0xe1f2f6)){_0x2de9ed=!![];let _0x1a6652=_0x546d3a[_0x419a3e(0x11a)];if(_0x1a6652[_0x419a3e(0x12d)]('\x5c')){const _0x4613a5=sessionConfig['defaultFileDownloadPath'];_0x427804[_0x419a3e(0x117)](logDebug,_0x427804[_0x419a3e(0xed)],_0x4613a5),_0x1a6652=_0x1b1c13[_0x419a3e(0x103)](_0x4613a5,_0x1a6652);}_0x427804[_0x419a3e(0x106)](_0x13410d,_0x1a6652);}};downloadMediaTasks[_0x588e2b(0xf0)](_0x307257[_0x588e2b(0x109)](randomUUID),_0x378070),setTimeout(()=>{const _0x34a9e=_0x588e2b;!_0x2de9ed&&_0x6ce39c(_0x307257[_0x34a9e(0xf2)]);},_0x4ac7ad),napCatCore[_0x588e2b(0x105)][_0x588e2b(0x124)]()[_0x588e2b(0xf6)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xe1f2f6,'chatType':_0x5740df,'peerUid':_0xb64a37,'elementId':_0xceddbe,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3bd7c1});});}static async[_0x2365fe(0x110)](_0x70fd82){const _0x169454={'ACizO':function(_0x1de248,_0x4987e7){return _0x1de248(_0x4987e7);},'ZlLEl':function(_0x33e341,_0x3e477d){return _0x33e341(_0x3e477d);}};return new Promise((_0x11ae69,_0x44e84a)=>{const _0x5ebc15={'cxwTR':function(_0x40409c,_0x1fa0c3){return _0x169454['ACizO'](_0x40409c,_0x1fa0c3);},'FvgYe':function(_0x3c3f71,_0x1e5fdf){const _0xb6580c=_0x4a3b;return _0x169454[_0xb6580c(0x107)](_0x3c3f71,_0x1e5fdf);}};_0x4e2797(_0x70fd82,(_0x2309da,_0x195542)=>{const _0x706dd9=_0x4a3b;_0x2309da?_0x5ebc15[_0x706dd9(0xec)](_0x44e84a,_0x2309da):_0x5ebc15[_0x706dd9(0xe6)](_0x11ae69,_0x195542);});});}static async['getImageUrl'](_0x1687a9,_0x24a4f7){const _0x22bd40=_0x2365fe,_0x4db90b={'Piant':'/download','GHwBE':_0x22bd40(0x12a),'JvShJ':function(_0x19c789,_0x2918c0){return _0x19c789+_0x2918c0;},'WSMUE':function(_0x508476,_0x57d229){return _0x508476+_0x57d229;},'YKSRn':function(_0x248614,_0x2cbf0d){return _0x248614||_0x2cbf0d;},'sOkYb':function(_0x1a3d59,_0x11081d,_0x47fd99){return _0x1a3d59(_0x11081d,_0x47fd99);},'cuDax':'图片url获取失败'};if(!_0x1687a9)return'';const _0x5cf583=_0x1687a9['originImageUrl'],_0x1cecc4=_0x1687a9['md5HexStr'],_0x15f192=_0x1687a9['md5HexStr'],_0x5bf822=_0x1687a9['fileUuid'];if(_0x5cf583){if(_0x5cf583[_0x22bd40(0x12d)](_0x4db90b[_0x22bd40(0x100)])){if(_0x5cf583['includes'](_0x4db90b['GHwBE']))return _0x4db90b[_0x22bd40(0x121)](IMAGE_HTTP_HOST_NT,_0x5cf583);const _0x55a861=await rkeyManager[_0x22bd40(0xfe)](),_0x5d3804=_0x24a4f7?_0x55a861[_0x22bd40(0xf5)]:_0x55a861['group_rkey'];return _0x4db90b[_0x22bd40(0x121)](_0x4db90b['JvShJ'](IMAGE_HTTP_HOST_NT,_0x5cf583),''+_0x5d3804);}else return _0x4db90b[_0x22bd40(0x131)](IMAGE_HTTP_HOST,_0x5cf583);}else{if(_0x15f192||_0x1cecc4)return IMAGE_HTTP_HOST+_0x22bd40(0x129)+_0x4db90b[_0x22bd40(0xf3)](_0x15f192,_0x1cecc4)[_0x22bd40(0x122)]()+'/0';}return _0x4db90b[_0x22bd40(0x119)](logDebug,_0x4db90b['cuDax'],_0x1687a9),'';}}function _0x4a3b(_0x4707be,_0x47aaab){const _0x439037=_0x4390();return _0x4a3b=function(_0x4a3be8,_0x1f05e8){_0x4a3be8=_0x4a3be8-0xe1;let _0x5d1cea=_0x439037[_0x4a3be8];return _0x5d1cea;},_0x4a3b(_0x4707be,_0x47aaab);}export class NTQQFileCacheApi{static async[_0x2365fe(0xe7)](_0x3769a6=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x2365fe(0xe5)](_0x40a04d=[_0x2365fe(0xef),_0x2365fe(0x112)]){const _0x20a081=_0x2365fe;return napCatCore['session'][_0x20a081(0xf8)]()[_0x20a081(0xe4)](_0x40a04d);}static[_0x2365fe(0x10a)](_0x6ded9e={}){const _0x2c0394=_0x2365fe;return napCatCore['session'][_0x2c0394(0xf8)]()[_0x2c0394(0x10d)](_0x6ded9e);}static[_0x2365fe(0xfa)](){const _0x13773c=_0x2365fe;return napCatCore[_0x13773c(0x105)][_0x13773c(0xf8)]()[_0x13773c(0xfa)]();}static[_0x2365fe(0x12e)](){return'';}static['getDesktopTmpPath'](){return'';}static['getChatCacheList'](_0x3b7696,_0xefab1d=0x3e8,_0x51f303=0x0){const _0x3888a1=_0x2365fe;return napCatCore[_0x3888a1(0x105)][_0x3888a1(0xf8)]()['getChatCacheInfo'](_0x3b7696,_0xefab1d,0x1,_0x51f303);}static[_0x2365fe(0x126)](_0x3a7574,_0x178988=0x3e8,_0x19c369){const _0xac465b=_0x19c369?_0x19c369:{'fileType':_0x3a7574};}static async[_0x2365fe(0xf4)](_0x2c0ead=[],_0x3c5d6c=[]){const _0x39bb1d=_0x2365fe;return napCatCore[_0x39bb1d(0x105)][_0x39bb1d(0xf8)]()[_0x39bb1d(0xfd)](_0x2c0ead,_0x3c5d6c);}} \ 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 1fb58b07..bb8fed35 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x19dd(){const _0x5cb4a1=['PZYSb','4954257HDltXp','45814mfnflY','22hiijAd','eMhlR','session','delete','getFriends','71210xUSina','hJBiG','开始获取好友列表','friendUid','getBuddyService','37952neapDl','获取好友列表超时','qcosv','handleFriendRequest','ZlbWc','161220xoaOjK','reqTime','push','8773812NYoOqX','2421zkcAxQ','addListener','nCDlk','approvalFriendRequest','获取好友列表完成','817705QiYElK','uin','onLoginSuccess','84fhizlR','getBuddyList','12KdFTkB'];_0x19dd=function(){return _0x5cb4a1;};return _0x19dd();}const _0x30356a=_0x44ae;function _0x44ae(_0x59b3cc,_0x7e982f){const _0x19ddc8=_0x19dd();return _0x44ae=function(_0x44ae8e,_0x4e3547){_0x44ae8e=_0x44ae8e-0x7d;let _0x3d1235=_0x19ddc8[_0x44ae8e];return _0x3d1235;},_0x44ae(_0x59b3cc,_0x7e982f);}(function(_0x7f3a03,_0x4e2c56){const _0x56335e=_0x44ae,_0x4ec436=_0x7f3a03();while(!![]){try{const _0x4b7435=-parseInt(_0x56335e(0x8d))/0x1*(parseInt(_0x56335e(0x8a))/0x2)+-parseInt(_0x56335e(0x88))/0x3*(parseInt(_0x56335e(0x9d))/0x4)+parseInt(_0x56335e(0x85))/0x5+parseInt(_0x56335e(0x7f))/0x6+-parseInt(_0x56335e(0x8c))/0x7+parseInt(_0x56335e(0x98))/0x8*(parseInt(_0x56335e(0x80))/0x9)+-parseInt(_0x56335e(0x93))/0xa*(-parseInt(_0x56335e(0x8e))/0xb);if(_0x4b7435===_0x4e2c56)break;else _0x4ec436['push'](_0x4ec436['shift']());}catch(_0x597d16){_0x4ec436['push'](_0x4ec436['shift']());}}}(_0x19dd,0xc48b6));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0xa8a39f=>{const _0x2d7614=_0x44ae,_0xe3a0b8={'ZlbWc':function(_0x104a68,_0x43d2de){return _0x104a68(_0x43d2de);}};for(const [_0x1f4f68,_0x57987c]of buddyChangeTasks){_0xe3a0b8[_0x2d7614(0x9c)](_0x57987c,_0xa8a39f),buddyChangeTasks[_0x2d7614(0x91)](_0x1f4f68);}},setTimeout(()=>{const _0x247afb=_0x44ae;napCatCore[_0x247afb(0x87)](()=>{const _0x8f0993=_0x247afb;napCatCore[_0x8f0993(0x81)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x30356a(0x92)](_0x2dc4e6=![]){const _0x1ad07b=_0x30356a,_0x474fe6={'PZYSb':function(_0x44045e,_0x813979){return _0x44045e(_0x813979);},'hJBiG':_0x1ad07b(0x99),'qcosv':function(_0x12d5b7,_0x5c1831,_0x23fc58){return _0x12d5b7(_0x5c1831,_0x23fc58);},'WoPgQ':_0x1ad07b(0x84),'nCDlk':function(_0x483ce9,_0x44147d,_0xf43018){return _0x483ce9(_0x44147d,_0xf43018);},'RHyUc':_0x1ad07b(0x95),'eMhlR':function(_0x4952c8,_0x32c7e9,_0x47e0e4){return _0x4952c8(_0x32c7e9,_0x47e0e4);},'RArNn':function(_0x34aae7){return _0x34aae7();}};return new Promise((_0x575ef7,_0x4dc280)=>{const _0x1f736a=_0x1ad07b;let _0xe7a1e6=![];_0x474fe6[_0x1f736a(0x8f)](setTimeout,()=>{const _0x4b106c=_0x1f736a;!_0xe7a1e6&&(_0x474fe6[_0x4b106c(0x8b)](logDebug,_0x474fe6['hJBiG']),_0x474fe6['PZYSb'](_0x4dc280,_0x474fe6[_0x4b106c(0x94)]));},0x1388);const _0x4e024e=[],_0xa734f=_0x5059c6=>{const _0x2ac60e=_0x1f736a;for(const _0x547dc5 of _0x5059c6){for(const _0xa210a6 of _0x547dc5['buddyList']){_0x4e024e[_0x2ac60e(0x7e)](_0xa210a6),uid2UinMap[_0xa210a6['uid']]=_0xa210a6[_0x2ac60e(0x86)];}}_0xe7a1e6=!![],_0x474fe6[_0x2ac60e(0x9a)](logDebug,_0x474fe6['WoPgQ'],_0x4e024e),_0x575ef7(_0x4e024e);};buddyChangeTasks['set'](_0x474fe6['RArNn'](randomUUID),_0xa734f),napCatCore[_0x1f736a(0x90)][_0x1f736a(0x97)]()[_0x1f736a(0x89)](_0x2dc4e6)['then'](_0x4ab11c=>{const _0x4022b1=_0x1f736a;_0x474fe6[_0x4022b1(0x82)](logDebug,_0x474fe6['RHyUc'],_0x4ab11c);});});}static async[_0x30356a(0x9b)](_0x2c2cba,_0x182660){const _0x4ac2bb=_0x30356a;napCatCore['session']['getBuddyService']()?.[_0x4ac2bb(0x83)]({'friendUid':_0x2c2cba[_0x4ac2bb(0x96)],'reqTime':_0x2c2cba[_0x4ac2bb(0x7d)],'accept':_0x182660});}} \ No newline at end of file +const _0x47c820=_0x231c;function _0x370e(){const _0x388a95=['handleFriendRequest','getBuddyList','获取好友列表超时','获取好友列表完成','push','4805EIQCMI','uin','uid','62122JJbOer','41544KqIGZm','set','session','7822664LlMCkp','9010csqOHa','onLoginSuccess','addListener','开始获取好友列表','niJjV','buddyList','JIqOP','QaUXs','HonIN','1617175JonhqE','gWRWI','delete','1884TFLMPj','friendUid','DIdgi','1145591YBfBOp','onBuddyListChange','yuzed','6948888EaRNAB','93sTllyd','BmhMQ','getBuddyService','reqTime','getFriends'];_0x370e=function(){return _0x388a95;};return _0x370e();}function _0x231c(_0x27518c,_0x28ab3b){const _0x370e80=_0x370e();return _0x231c=function(_0x231cd1,_0x1e3d25){_0x231cd1=_0x231cd1-0xdc;let _0x1d8adc=_0x370e80[_0x231cd1];return _0x1d8adc;},_0x231c(_0x27518c,_0x28ab3b);}(function(_0x1b3b3b,_0x38b417){const _0x5950c3=_0x231c,_0x5be665=_0x1b3b3b();while(!![]){try{const _0x37ef65=-parseInt(_0x5950c3(0xee))/0x1+-parseInt(_0x5950c3(0xff))/0x2*(parseInt(_0x5950c3(0xf2))/0x3)+parseInt(_0x5950c3(0xeb))/0x4*(parseInt(_0x5950c3(0xfc))/0x5)+-parseInt(_0x5950c3(0xf1))/0x6+parseInt(_0x5950c3(0xe8))/0x7+-parseInt(_0x5950c3(0xde))/0x8+parseInt(_0x5950c3(0x100))/0x9*(parseInt(_0x5950c3(0xdf))/0xa);if(_0x37ef65===_0x38b417)break;else _0x5be665['push'](_0x5be665['shift']());}catch(_0x43675b){_0x5be665['push'](_0x5be665['shift']());}}}(_0x370e,0x920c1));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x47c820(0xef)]=_0x1a011c=>{const _0x28b3ad=_0x47c820,_0x3490bc={'DIdgi':function(_0x54e842,_0xd42fb0){return _0x54e842(_0xd42fb0);}};for(const [_0x246d2d,_0x49b247]of buddyChangeTasks){_0x3490bc[_0x28b3ad(0xed)](_0x49b247,_0x1a011c),buddyChangeTasks[_0x28b3ad(0xea)](_0x246d2d);}},setTimeout(()=>{const _0x370c74=_0x47c820;napCatCore[_0x370c74(0xe0)](()=>{const _0x41cfce=_0x370c74;napCatCore[_0x41cfce(0xe1)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x47c820(0xf6)](_0x4b8dd4=![]){const _0xceddb=_0x47c820,_0x36ff4f={'yuzed':function(_0x4b7deb,_0x35f2e8){return _0x4b7deb(_0x35f2e8);},'gWRWI':_0xceddb(0xf9),'niJjV':function(_0x25053b,_0x4ffe0c,_0x394a5e){return _0x25053b(_0x4ffe0c,_0x394a5e);},'JIqOP':_0xceddb(0xfa),'BmhMQ':function(_0x1d3946){return _0x1d3946();}};return new Promise((_0x5d43cc,_0x12829f)=>{const _0x4d869b=_0xceddb,_0xa03459={'QaUXs':function(_0x20e8ed,_0x5e4bfc){const _0x1cd043=_0x231c;return _0x36ff4f[_0x1cd043(0xf0)](_0x20e8ed,_0x5e4bfc);},'uMDCm':_0x36ff4f[_0x4d869b(0xe9)],'HonIN':function(_0x2b5fc8,_0x1c82e9,_0x46881c){const _0x5b7882=_0x4d869b;return _0x36ff4f[_0x5b7882(0xe3)](_0x2b5fc8,_0x1c82e9,_0x46881c);},'fKMFP':_0x36ff4f[_0x4d869b(0xe5)],'FenPS':_0x4d869b(0xe2)};let _0x4df0ab=![];setTimeout(()=>{const _0x12475d=_0x4d869b;!_0x4df0ab&&(_0xa03459[_0x12475d(0xe6)](logDebug,_0xa03459['uMDCm']),_0xa03459['QaUXs'](_0x12829f,_0x12475d(0xf9)));},0x1388);const _0x35d8b6=[],_0x2a9f24=_0x406d4a=>{const _0x307e0b=_0x4d869b;for(const _0x302e81 of _0x406d4a){for(const _0x6a6afb of _0x302e81[_0x307e0b(0xe4)]){_0x35d8b6[_0x307e0b(0xfb)](_0x6a6afb),uid2UinMap[_0x6a6afb[_0x307e0b(0xfe)]]=_0x6a6afb[_0x307e0b(0xfd)];}}_0x4df0ab=!![],_0xa03459[_0x307e0b(0xe7)](logDebug,_0xa03459['fKMFP'],_0x35d8b6),_0x5d43cc(_0x35d8b6);};buddyChangeTasks[_0x4d869b(0xdc)](_0x36ff4f[_0x4d869b(0xf3)](randomUUID),_0x2a9f24),napCatCore[_0x4d869b(0xdd)][_0x4d869b(0xf4)]()[_0x4d869b(0xf8)](_0x4b8dd4)['then'](_0x59b0ad=>{const _0x378d4d=_0x4d869b;_0xa03459[_0x378d4d(0xe7)](logDebug,_0xa03459['FenPS'],_0x59b0ad);});});}static async[_0x47c820(0xf7)](_0x38787a,_0x92fc1a){const _0x1d5701=_0x47c820;napCatCore[_0x1d5701(0xdd)]['getBuddyService']()?.['approvalFriendRequest']({'friendUid':_0x38787a[_0x1d5701(0xec)],'reqTime':_0x38787a[_0x1d5701(0xf5)],'accept':_0x92fc1a});}} \ 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 c487d263..2543dbc9 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x452d76=_0x2bcd;(function(_0x5d26f5,_0xd3c636){const _0x2df5c1=_0x2bcd,_0x308ed2=_0x5d26f5();while(!![]){try{const _0x5554c1=-parseInt(_0x2df5c1(0x200))/0x1+-parseInt(_0x2df5c1(0x1ed))/0x2*(-parseInt(_0x2df5c1(0x207))/0x3)+-parseInt(_0x2df5c1(0x1e8))/0x4+parseInt(_0x2df5c1(0x219))/0x5*(parseInt(_0x2df5c1(0x1f6))/0x6)+parseInt(_0x2df5c1(0x208))/0x7*(-parseInt(_0x2df5c1(0x1f4))/0x8)+parseInt(_0x2df5c1(0x202))/0x9+-parseInt(_0x2df5c1(0x225))/0xa*(parseInt(_0x2df5c1(0x21a))/0xb);if(_0x5554c1===_0xd3c636)break;else _0x308ed2['push'](_0x308ed2['shift']());}catch(_0x541425){_0x308ed2['push'](_0x308ed2['shift']());}}}(_0x3a09,0x44ad2));function _0x2bcd(_0x145ca6,_0x3a9755){const _0x3a096c=_0x3a09();return _0x2bcd=function(_0x2bcdc0,_0x2abedc){_0x2bcdc0=_0x2bcdc0-0x1e6;let _0x3e7cf0=_0x3a096c[_0x2bcdc0];return _0x3e7cf0;},_0x2bcd(_0x145ca6,_0x3a9755);}import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x3a09(){const _0x8a6e65=['uid','cWOvs','getPSkey','createMemberListScene','获取群列表完成','getNextMemberList','muYFZ','getGroupNotifies','uploadGroupBulletinPic','group','AMAGA','getGroupList','delete','getGroupMembers','GZBpV','2021720irCJSm','2395613EucoIh','setMemberShutUp','type','getGroupIgnoreNotifies','setMemberCard','result','modifyMemberCardName','errCode','errMsg','获取群成员列表出错,','banGroup','10RjfXXN','operateSysNotify','modifyGroupName','xMEtl','setMemberRole','Jkvks','1315160dPqzvR','qun.qq.com','groupCode','finish:\x20','quitGroup','2qEsNLH','获取群列表超时','kickMember','setGroupTitle','setGroupShutUp','groupMemberList_MainWindow','seq','434288HOzcbK','onGroupListUpdate','6csTbDs','cLFjd','AFxza','setGroupName','infos','uin',')成员列表结果:','onLoginSuccess','addListener','session','198046FCZAAV','publishGroupBulletin','4232259BINCWj','getGroupService','sOtjr','handleGroupRequest','modifyMemberRole','1431114saFRLI','42QeAtbT','TJUCA'];_0x3a09=function(){return _0x8a6e65;};return _0x3a09();}import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x452d76(0x1f5)]=(_0xe37d7d,_0x1bd74b)=>{const _0x124620=_0x452d76;for(const [_0x2ea3fc,_0x1f3d54]of groupMemberTasks){_0x1f3d54(_0xe37d7d,_0x1bd74b),groupMemberTasks[_0x124620(0x216)](_0x2ea3fc);}},setTimeout(()=>{const _0x2c8908=_0x452d76;napCatCore[_0x2c8908(0x1fd)](()=>{const _0x24628a=_0x2c8908;napCatCore[_0x24628a(0x1fe)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x24a491=![]){const _0xe6e445={'muYFZ':function(_0x322f43,_0x4ec863){return _0x322f43(_0x4ec863);},'BbuJS':function(_0x3095d6,_0x3a9519,_0x401bb9){return _0x3095d6(_0x3a9519,_0x401bb9);},'cWOvs':function(_0x145765){return _0x145765();}};let _0x329c0d=![];return new Promise((_0x53a6a1,_0x5e0ed7)=>{const _0x46ef19=_0x2bcd,_0x295157={'AFxza':function(_0xb6f65f,_0x4e1fa5){const _0x4a17a6=_0x2bcd;return _0xe6e445[_0x4a17a6(0x210)](_0xb6f65f,_0x4e1fa5);},'cLFjd':function(_0x226f80,_0x99ec21,_0x446202){return _0xe6e445['BbuJS'](_0x226f80,_0x99ec21,_0x446202);},'hlOUQ':_0x46ef19(0x20e),'TJUCA':function(_0x3be4f7,_0x3ee2c1){const _0x2fd1f3=_0x46ef19;return _0xe6e445[_0x2fd1f3(0x210)](_0x3be4f7,_0x3ee2c1);}};setTimeout(()=>{const _0x194b71=_0x46ef19;!_0x329c0d&&(_0x295157[_0x194b71(0x1f8)](logDebug,_0x194b71(0x1ee)),_0x295157[_0x194b71(0x1f8)](_0x5e0ed7,'获取群列表超时'));},0x1388);const _0x53486a=(_0x309ae3,_0x2dff37)=>{const _0x56df2b=_0x46ef19;_0x329c0d=!![],_0x295157[_0x56df2b(0x1f7)](logDebug,_0x295157['hlOUQ'],_0x2dff37),_0x295157[_0x56df2b(0x209)](_0x53a6a1,_0x2dff37);};groupMemberTasks['set'](_0xe6e445[_0x46ef19(0x20b)](randomUUID),_0x53486a),napCatCore[_0x46ef19(0x1ff)]['getGroupService']()[_0x46ef19(0x215)](_0x24a491)['then']();});}static async[_0x452d76(0x217)](_0x38c2fd,_0x34bf3e=0xbb8){const _0xc21322=_0x452d76,_0x263ded={'DKcHu':_0xc21322(0x1f2),'xMEtl':function(_0xd309b7,_0x59afa0){return _0xd309b7+_0x59afa0;},'sOtjr':_0xc21322(0x223)},_0x33c656=napCatCore['session'][_0xc21322(0x203)](),_0x53422c=_0x33c656[_0xc21322(0x20d)](_0x38c2fd,_0x263ded['DKcHu']),_0xe2ccdc=await _0x33c656[_0xc21322(0x20f)](_0x53422c,undefined,_0x34bf3e);if(_0xe2ccdc[_0xc21322(0x221)]!==0x0)throw _0x263ded[_0xc21322(0x228)](_0x263ded[_0xc21322(0x204)],_0xe2ccdc[_0xc21322(0x222)]);return logDebug('获取群('+_0x38c2fd+_0xc21322(0x1fc),_0xc21322(0x1eb)+_0xe2ccdc[_0xc21322(0x21f)]['finish']),_0xe2ccdc[_0xc21322(0x21f)][_0xc21322(0x1fa)]['forEach'](_0x28ad6a=>{const _0x51b010=_0xc21322;uid2UinMap[_0x28ad6a[_0x51b010(0x20a)]]=_0x28ad6a[_0x51b010(0x1fb)];}),_0xe2ccdc[_0xc21322(0x21f)][_0xc21322(0x1fa)];}static async[_0x452d76(0x211)](){}static async[_0x452d76(0x21d)](){}static async[_0x452d76(0x212)](_0x362e53,_0x282699){const _0x58dff4=_0x452d76,_0x2b69ba={'Jkvks':_0x58dff4(0x1e9)},_0x4156f8=(await NTQQUserApi[_0x58dff4(0x20c)]([_0x2b69ba['Jkvks']]))[_0x2b69ba[_0x58dff4(0x1e7)]];return napCatCore[_0x58dff4(0x1ff)][_0x58dff4(0x203)]()[_0x58dff4(0x212)](_0x362e53,_0x4156f8,_0x282699);}static async[_0x452d76(0x205)](_0x215aca,_0x123498,_0x5e1192){const _0x20a314=_0x452d76,_0x4a948c={'GZBpV':function(_0x4e4353,_0x843fb5){return _0x4e4353||_0x843fb5;}};return napCatCore[_0x20a314(0x1ff)][_0x20a314(0x203)]()[_0x20a314(0x226)](![],{'operateType':_0x123498,'targetMsg':{'seq':_0x215aca[_0x20a314(0x1f3)],'type':_0x215aca[_0x20a314(0x21c)],'groupCode':_0x215aca[_0x20a314(0x213)][_0x20a314(0x1ea)],'postscript':_0x4a948c[_0x20a314(0x218)](_0x5e1192,'')}});}static async['quitGroup'](_0xc30f14){const _0xcb45ac=_0x452d76;return napCatCore[_0xcb45ac(0x1ff)][_0xcb45ac(0x203)]()[_0xcb45ac(0x1ec)](_0xc30f14);}static async[_0x452d76(0x1ef)](_0x5ddb69,_0x4a552b,_0x552c01=![],_0x3643a5=''){const _0x257128=_0x452d76;return napCatCore[_0x257128(0x1ff)]['getGroupService']()[_0x257128(0x1ef)](_0x5ddb69,_0x4a552b,_0x552c01,_0x3643a5);}static async['banMember'](_0x2aa18e,_0x258467){const _0x3d5e4c=_0x452d76;return napCatCore[_0x3d5e4c(0x1ff)][_0x3d5e4c(0x203)]()[_0x3d5e4c(0x21b)](_0x2aa18e,_0x258467);}static async[_0x452d76(0x224)](_0x18784c,_0x1ce207){const _0x547b50=_0x452d76;return napCatCore[_0x547b50(0x1ff)][_0x547b50(0x203)]()[_0x547b50(0x1f1)](_0x18784c,_0x1ce207);}static async[_0x452d76(0x21e)](_0xcfc1fe,_0x115a55,_0x3554dd){const _0x118d57=_0x452d76;return napCatCore['session'][_0x118d57(0x203)]()[_0x118d57(0x220)](_0xcfc1fe,_0x115a55,_0x3554dd);}static async[_0x452d76(0x1e6)](_0x294f39,_0x47e18f,_0x2b164d){const _0x4f6298=_0x452d76;return napCatCore['session'][_0x4f6298(0x203)]()[_0x4f6298(0x206)](_0x294f39,_0x47e18f,_0x2b164d);}static async[_0x452d76(0x1f9)](_0xc940c0,_0x295562){const _0xf754c2=_0x452d76;return napCatCore[_0xf754c2(0x1ff)][_0xf754c2(0x203)]()[_0xf754c2(0x227)](_0xc940c0,_0x295562,![]);}static async[_0x452d76(0x1f0)](_0x2508ef,_0x206b0c,_0x3ec850){}static async[_0x452d76(0x201)](_0x5507e9,_0x57d107,_0xbaf634=undefined,_0x2ba10d=0x0,_0x30c481=0x0){const _0x3b3ec5=_0x452d76,_0x2f94a7={'AMAGA':_0x3b3ec5(0x1e9)},_0x23eaca=(await NTQQUserApi[_0x3b3ec5(0x20c)]([_0x3b3ec5(0x1e9)]))[_0x2f94a7[_0x3b3ec5(0x214)]];let _0x48bee7={'text':encodeURI(_0x57d107),'picInfo':_0xbaf634,'oldFeedsId':'','pinned':_0x2ba10d,'confirmRequired':_0x30c481};return napCatCore[_0x3b3ec5(0x1ff)]['getGroupService']()[_0x3b3ec5(0x201)](_0x5507e9,_0x23eaca,_0x48bee7);}} \ No newline at end of file +function _0x4c66(_0x3365e6,_0x138349){const _0xe7611d=_0xe761();return _0x4c66=function(_0x4c6667,_0x314843){_0x4c6667=_0x4c6667-0xda;let _0x22e61a=_0xe7611d[_0x4c6667];return _0x22e61a;},_0x4c66(_0x3365e6,_0x138349);}const _0x2ae9d1=_0x4c66;(function(_0x3e6c93,_0x112663){const _0x5999d0=_0x4c66,_0x1049c5=_0x3e6c93();while(!![]){try{const _0x5c5c42=-parseInt(_0x5999d0(0x101))/0x1+-parseInt(_0x5999d0(0x106))/0x2+-parseInt(_0x5999d0(0xf1))/0x3*(parseInt(_0x5999d0(0x114))/0x4)+parseInt(_0x5999d0(0xe5))/0x5+parseInt(_0x5999d0(0xe1))/0x6+-parseInt(_0x5999d0(0xf9))/0x7+parseInt(_0x5999d0(0xf5))/0x8*(parseInt(_0x5999d0(0x11b))/0x9);if(_0x5c5c42===_0x112663)break;else _0x1049c5['push'](_0x1049c5['shift']());}catch(_0x3fe01e){_0x1049c5['push'](_0x1049c5['shift']());}}}(_0xe761,0xd6392));import{NTQQUserApi,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();function _0xe761(){const _0x467e4a=['getGroupNotifies','fzPOK','getPSkey','uin','获取群(','963733pZjRLK','createMemberListScene','modifyMemberRole','getGroupMembers','type','2653598QgrQLQ','onLoginSuccess','then','lEBEU','kickMember','getGroupList','seq','result','modifyMemberCardName','PKAuj','setGroupTitle','delete','groupCode','operateSysNotify','585444AGOhRM','errCode','setMemberRole','获取群列表完成','getGroupIgnoreNotifies','forEach','modifyGroupName','122895JZfJYz','DSWzj','DkoHf','setGroupName',')成员列表结果:','finish:\x20','errMsg','group','groupMemberList_MainWindow','NgLwR','3180750DTJmgJ','getGroupService','infos','Noiqz','2750955loKzKE','getGroups','sxOds','ZRHUM','publishGroupBulletin','onGroupListUpdate','gIMYx','uid','quitGroup','qun.qq.com','获取群成员列表出错,','rBXFk','12HKYJUc','setGroupShutUp','获取群列表超时','uploadGroupBulletinPic','1696eQmEji','banMember','session','handleGroupRequest','1552194ZFaOQn','setMemberCard','finish'];_0xe761=function(){return _0x467e4a;};return _0xe761();}groupListener[_0x2ae9d1(0xea)]=(_0x2a05f5,_0xa399a9)=>{const _0x37563e=_0x2ae9d1,_0x4362fa={'QaQvN':function(_0x8f09e5,_0x2a657d,_0xb63194){return _0x8f09e5(_0x2a657d,_0xb63194);}};for(const [_0x166020,_0x2aea0b]of groupMemberTasks){_0x4362fa['QaQvN'](_0x2aea0b,_0x2a05f5,_0xa399a9),groupMemberTasks[_0x37563e(0x111)](_0x166020);}},setTimeout(()=>{const _0x1db270=_0x2ae9d1;napCatCore[_0x1db270(0x107)](()=>{napCatCore['addListener'](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x2ae9d1(0xe6)](_0x399273=![]){const _0x1e1075=_0x2ae9d1,_0x2f5cfe={'sxOds':_0x1e1075(0xf3),'rBXFk':function(_0x47245b,_0x4ea84b,_0x8c5cac){return _0x47245b(_0x4ea84b,_0x8c5cac);},'lEBEU':_0x1e1075(0x117),'Noiqz':function(_0x35369a,_0x4b61f9){return _0x35369a(_0x4b61f9);},'DSWzj':function(_0x3cf40c){return _0x3cf40c();}};let _0x53aeaf=![];return new Promise((_0x3712a8,_0x8eb487)=>{const _0x45c55c=_0x1e1075;setTimeout(()=>{const _0x503b1d=_0x4c66;!_0x53aeaf&&(logDebug(_0x2f5cfe[_0x503b1d(0xe7)]),_0x8eb487(_0x503b1d(0xf3)));},0x1388);const _0x1bfd68=(_0x1249f6,_0x52d3c7)=>{const _0x383595=_0x4c66;_0x53aeaf=!![],_0x2f5cfe[_0x383595(0xf0)](logDebug,_0x2f5cfe[_0x383595(0x109)],_0x52d3c7),_0x2f5cfe[_0x383595(0xe4)](_0x3712a8,_0x52d3c7);};groupMemberTasks['set'](_0x2f5cfe[_0x45c55c(0x11c)](randomUUID),_0x1bfd68),napCatCore['session'][_0x45c55c(0xe2)]()[_0x45c55c(0x10b)](_0x399273)[_0x45c55c(0x108)]();});}static async[_0x2ae9d1(0x104)](_0x29a4c0,_0x23ffe0=0xbb8){const _0xd17efe=_0x2ae9d1,_0x588aec={'DkoHf':function(_0x3ff28a,_0x13f70f){return _0x3ff28a!==_0x13f70f;},'NgLwR':function(_0x9a9be7,_0x4b3a2f){return _0x9a9be7+_0x4b3a2f;},'fzPOK':_0xd17efe(0xef),'ZRHUM':function(_0x1604ed,_0x323730,_0x3e53ad){return _0x1604ed(_0x323730,_0x3e53ad);}},_0x53c5c3=napCatCore[_0xd17efe(0xf7)]['getGroupService'](),_0x36fb03=_0x53c5c3[_0xd17efe(0x102)](_0x29a4c0,_0xd17efe(0xdf)),_0x267c4d=await _0x53c5c3['getNextMemberList'](_0x36fb03,undefined,_0x23ffe0);if(_0x588aec[_0xd17efe(0x11d)](_0x267c4d[_0xd17efe(0x115)],0x0))throw _0x588aec[_0xd17efe(0xe0)](_0x588aec[_0xd17efe(0xfd)],_0x267c4d[_0xd17efe(0xdd)]);return _0x588aec[_0xd17efe(0xe8)](logDebug,_0xd17efe(0x100)+_0x29a4c0+_0xd17efe(0xdb),_0xd17efe(0xdc)+_0x267c4d[_0xd17efe(0x10d)][_0xd17efe(0xfb)]),_0x267c4d[_0xd17efe(0x10d)][_0xd17efe(0xe3)][_0xd17efe(0x119)](_0xeee235=>{const _0x122188=_0xd17efe;uid2UinMap[_0xeee235[_0x122188(0xec)]]=_0xeee235[_0x122188(0xff)];}),_0x267c4d[_0xd17efe(0x10d)][_0xd17efe(0xe3)];}static async[_0x2ae9d1(0xfc)](){}static async[_0x2ae9d1(0x118)](){}static async[_0x2ae9d1(0xf4)](_0x2263fc,_0x20d615){const _0x527d50=_0x2ae9d1,_0x268bad={'gIMYx':_0x527d50(0xee)},_0x3be418=(await NTQQUserApi['getPSkey']([_0x268bad[_0x527d50(0xeb)]]))[_0x268bad['gIMYx']];return napCatCore[_0x527d50(0xf7)][_0x527d50(0xe2)]()[_0x527d50(0xf4)](_0x2263fc,_0x3be418,_0x20d615);}static async[_0x2ae9d1(0xf8)](_0x3dd9ff,_0x1d6ab5,_0x4e964b){const _0x4dae44=_0x2ae9d1;return napCatCore[_0x4dae44(0xf7)][_0x4dae44(0xe2)]()[_0x4dae44(0x113)](![],{'operateType':_0x1d6ab5,'targetMsg':{'seq':_0x3dd9ff[_0x4dae44(0x10c)],'type':_0x3dd9ff[_0x4dae44(0x105)],'groupCode':_0x3dd9ff[_0x4dae44(0xde)][_0x4dae44(0x112)],'postscript':_0x4e964b||''}});}static async['quitGroup'](_0xf90a9d){const _0x4a3fe7=_0x2ae9d1;return napCatCore['session'][_0x4a3fe7(0xe2)]()[_0x4a3fe7(0xed)](_0xf90a9d);}static async[_0x2ae9d1(0x10a)](_0x54b4d2,_0x11cd61,_0xce0d5f=![],_0x59b061=''){const _0x2d0fa6=_0x2ae9d1;return napCatCore[_0x2d0fa6(0xf7)]['getGroupService']()['kickMember'](_0x54b4d2,_0x11cd61,_0xce0d5f,_0x59b061);}static async[_0x2ae9d1(0xf6)](_0x5a9e18,_0x23c8e6){const _0x5a8b25=_0x2ae9d1;return napCatCore[_0x5a8b25(0xf7)]['getGroupService']()['setMemberShutUp'](_0x5a9e18,_0x23c8e6);}static async['banGroup'](_0xb895e2,_0xc81a2d){const _0x5a7f77=_0x2ae9d1;return napCatCore[_0x5a7f77(0xf7)][_0x5a7f77(0xe2)]()[_0x5a7f77(0xf2)](_0xb895e2,_0xc81a2d);}static async[_0x2ae9d1(0xfa)](_0x2222f3,_0xe3a45e,_0x9fc970){const _0x4944f3=_0x2ae9d1;return napCatCore['session']['getGroupService']()[_0x4944f3(0x10e)](_0x2222f3,_0xe3a45e,_0x9fc970);}static async[_0x2ae9d1(0x116)](_0x41d3c8,_0x27ab96,_0x1c043f){const _0x17052d=_0x2ae9d1;return napCatCore[_0x17052d(0xf7)]['getGroupService']()[_0x17052d(0x103)](_0x41d3c8,_0x27ab96,_0x1c043f);}static async[_0x2ae9d1(0xda)](_0x5a7ebb,_0x1d7b2e){const _0x4f1c44=_0x2ae9d1;return napCatCore['session'][_0x4f1c44(0xe2)]()[_0x4f1c44(0x11a)](_0x5a7ebb,_0x1d7b2e,![]);}static async[_0x2ae9d1(0x110)](_0x32b7de,_0x4c95f9,_0xc45cbd){}static async[_0x2ae9d1(0xe9)](_0x65f817,_0xa1a4cf,_0x4f8792=undefined,_0x73fce9=0x0,_0x14b19c=0x0){const _0x2af2c4=_0x2ae9d1,_0x3a4e2f={'PKAuj':_0x2af2c4(0xee)},_0x5b7910=(await NTQQUserApi[_0x2af2c4(0xfe)]([_0x3a4e2f[_0x2af2c4(0x10f)]]))[_0x3a4e2f[_0x2af2c4(0x10f)]];let _0xe0a2a4={'text':encodeURI(_0xa1a4cf),'picInfo':_0x4f8792,'oldFeedsId':'','pinned':_0x73fce9,'confirmRequired':_0x14b19c};return napCatCore[_0x2af2c4(0xf7)][_0x2af2c4(0xe2)]()[_0x2af2c4(0xe9)](_0x65f817,_0x5b7910,_0xe0a2a4);}} \ 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 107d0227..a70d59a1 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2b1a61,_0x53c487){var _0x1537bb=_0x3d3c,_0x3804c8=_0x2b1a61();while(!![]){try{var _0x5327e0=parseInt(_0x1537bb(0x164))/0x1+parseInt(_0x1537bb(0x163))/0x2+-parseInt(_0x1537bb(0x15d))/0x3*(parseInt(_0x1537bb(0x162))/0x4)+-parseInt(_0x1537bb(0x15c))/0x5*(-parseInt(_0x1537bb(0x165))/0x6)+-parseInt(_0x1537bb(0x15e))/0x7*(parseInt(_0x1537bb(0x161))/0x8)+-parseInt(_0x1537bb(0x160))/0x9+parseInt(_0x1537bb(0x15f))/0xa*(-parseInt(_0x1537bb(0x166))/0xb);if(_0x5327e0===_0x53c487)break;else _0x3804c8['push'](_0x3804c8['shift']());}catch(_0x261ecc){_0x3804c8['push'](_0x3804c8['shift']());}}}(_0x36c7,0x93d68));function _0x3d3c(_0x4a005e,_0x5393a8){var _0x36c7e5=_0x36c7();return _0x3d3c=function(_0x3d3c66,_0x2d07b9){_0x3d3c66=_0x3d3c66-0x15c;var _0x48b325=_0x36c7e5[_0x3d3c66];return _0x48b325;},_0x3d3c(_0x4a005e,_0x5393a8);}function _0x36c7(){var _0x18dd60=['605kUFPKz','4528990ijYtqF','2449302dyabQt','7dZQAYT','87650NeAtia','3681450xSKuOo','1812440qOwORO','4TespFW','1983736amabvF','641992EvqbUK','6ZUvEBN'];_0x36c7=function(){return _0x18dd60;};return _0x36c7();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x87bee2,_0xbd5344){var _0x5193f8=_0x341e,_0xe90654=_0x87bee2();while(!![]){try{var _0x336e3b=-parseInt(_0x5193f8(0x12e))/0x1*(parseInt(_0x5193f8(0x12c))/0x2)+parseInt(_0x5193f8(0x12b))/0x3+-parseInt(_0x5193f8(0x12f))/0x4+-parseInt(_0x5193f8(0x12a))/0x5+parseInt(_0x5193f8(0x129))/0x6+parseInt(_0x5193f8(0x130))/0x7+parseInt(_0x5193f8(0x12d))/0x8;if(_0x336e3b===_0xbd5344)break;else _0xe90654['push'](_0xe90654['shift']());}catch(_0x27cddc){_0xe90654['push'](_0xe90654['shift']());}}}(_0x2f02,0x795c1));export*from'./file';function _0x341e(_0x4f53cd,_0x13bfd6){var _0x2f0297=_0x2f02();return _0x341e=function(_0x341e38,_0x1a3cac){_0x341e38=_0x341e38-0x129;var _0x584276=_0x2f0297[_0x341e38];return _0x584276;},_0x341e(_0x4f53cd,_0x13bfd6);}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x2f02(){var _0x2b8ff5=['1830240RiEELn','3320821RXxRUE','5730558iSxOwh','1752670tGhyFc','720228awXOMZ','1550506zjJrOL','3286912GYZzuL','1MpuRcx'];_0x2f02=function(){return _0x2b8ff5;};return _0x2f02();}export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 52043c23..f0979e42 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x19c570=_0x32d6;function _0x32d6(_0x5ed253,_0x10628f){const _0x359a35=_0x359a();return _0x32d6=function(_0x32d6ee,_0x276799){_0x32d6ee=_0x32d6ee-0x1b1;let _0x335683=_0x359a35[_0x32d6ee];return _0x335683;},_0x32d6(_0x5ed253,_0x10628f);}(function(_0x1e8974,_0x550deb){const _0x42e3f5=_0x32d6,_0x1e3d00=_0x1e8974();while(!![]){try{const _0x36371e=-parseInt(_0x42e3f5(0x1c8))/0x1*(-parseInt(_0x42e3f5(0x1b8))/0x2)+-parseInt(_0x42e3f5(0x1ea))/0x3+-parseInt(_0x42e3f5(0x1d2))/0x4+-parseInt(_0x42e3f5(0x1db))/0x5+parseInt(_0x42e3f5(0x1bd))/0x6+parseInt(_0x42e3f5(0x1bf))/0x7+-parseInt(_0x42e3f5(0x1c3))/0x8*(-parseInt(_0x42e3f5(0x1c6))/0x9);if(_0x36371e===_0x550deb)break;else _0x1e3d00['push'](_0x1e3d00['shift']());}catch(_0x280d1e){_0x1e3d00['push'](_0x1e3d00['shift']());}}}(_0x359a,0xa6282));function _0x359a(){const _0x36bcb2=['onAddSendMsg','toString','setMsgRead','getMultiMsg','getMsgsByMsgId','getMsgsBySeqAndCount','onLoginSuccess','find','6338HXEnlN','catch','fnBhD','ZtOaQ','set','2194386vBmYte','pqNpa','5056065NfUkWU','SdKmd','elements','peerUid','120hnPDfl','onMsgInfoListUpdate','parse','467622Jaebdu','sendMsg','331XzIPNs','multiForwardMsg','activateChatAndGetHistory','IYNCz','WPpMB','then','FBROM','delete','rvFmG','getMsgHistory','1531304qiWVMT','uid','recallMsg','WmJlH','转发消息超时','forEach','map','addListener','hAYKU','5257055knNnao','MvJZH','SABlZ','session','OhUOr','forwardMsg','发送超时','com.tencent.multimsg','chatType','LcTac','HCQoD','ERpyj','vtuBm','msgId','bytesData','2404560dNxqWD','getMsgService'];_0x359a=function(){return _0x36bcb2;};return _0x359a();}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[_0x19c570(0x1ec)]=_0x34f07b=>{const _0x227665=_0x19c570,_0x2a5588={'IYNCz':function(_0x1663a4,_0x2b317e){return _0x1663a4(_0x2b317e);}};for(const [_0xc5799a,_0x1b2ece]of sentMsgTasks){_0x2a5588[_0x227665(0x1cb)](_0x1b2ece,_0x34f07b),sentMsgTasks[_0x227665(0x1cf)](_0xc5799a);}if(sendMessagePool[_0x34f07b[_0x227665(0x1c2)]]){const _0x2ae09c=sendMessagePool[_0x34f07b[_0x227665(0x1c2)]]?.(_0x34f07b);_0x2ae09c instanceof Promise&&_0x2ae09c['then']()[_0x227665(0x1b9)](logError);}},msgListener[_0x19c570(0x1c4)]=_0x48575b=>{const _0xd18a17=_0x19c570,_0x39a089={'FBROM':function(_0x384a98,_0x29f31f){return _0x384a98(_0x29f31f);}};_0x48575b[_0xd18a17(0x1d7)](_0x134cda=>{const _0x355ed5=_0xd18a17;new Promise((_0x110af8,_0x59e1f)=>{const _0x1eaf8c=_0x32d6;for(const _0x15038c in sendSuccessCBMap){const _0x16027a=sendSuccessCBMap[_0x15038c],_0x5ad138=_0x39a089[_0x1eaf8c(0x1ce)](_0x16027a,_0x134cda),_0x300b34=_0x28adbc=>{_0x28adbc&&delete sendSuccessCBMap[_0x15038c];};_0x5ad138 instanceof Promise?_0x5ad138['then'](_0x300b34):_0x39a089[_0x1eaf8c(0x1ce)](_0x300b34,_0x5ad138);}})[_0x355ed5(0x1cd)]()['catch'](log);});},setTimeout(()=>{const _0x2c175d=_0x19c570;napCatCore[_0x2c175d(0x1b6)](()=>{const _0x3fa1d0=_0x2c175d;napCatCore[_0x3fa1d0(0x1d9)](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x29e0b3,_0x1b4f12,_0x1ce59c,_0x25ac0f=!![]){const _0x40f4ba=_0x19c570,_0x56d434={'rvFmG':function(_0x240f4e,_0x45b7ed){return _0x240f4e>_0x45b7ed;}};return _0x1ce59c=_0x1ce59c[_0x40f4ba(0x1b1)](),napCatCore['session'][_0x40f4ba(0x1eb)]()['setMsgEmojiLikes'](_0x29e0b3,_0x1b4f12,_0x1ce59c,_0x56d434[_0x40f4ba(0x1d0)](_0x1ce59c['length'],0x3)?'2':'1',_0x25ac0f);}static async[_0x19c570(0x1b3)](_0x56081f,_0x43bcd0,_0x1abe11){const _0x33ff38=_0x19c570;return napCatCore[_0x33ff38(0x1de)][_0x33ff38(0x1eb)]()[_0x33ff38(0x1b3)](_0x56081f,_0x43bcd0,_0x1abe11);}static async[_0x19c570(0x1b4)](_0x30d32f,_0x75fd67){const _0x1620b2=_0x19c570;return await napCatCore[_0x1620b2(0x1de)][_0x1620b2(0x1eb)]()[_0x1620b2(0x1b4)](_0x30d32f,_0x75fd67);}static async[_0x19c570(0x1b5)](_0x205cf9,_0x142fbf,_0x30801e,_0x3b18f0,_0x12240c){const _0x226533=_0x19c570;return await napCatCore[_0x226533(0x1de)][_0x226533(0x1eb)]()[_0x226533(0x1b5)](_0x205cf9,_0x142fbf,_0x30801e,_0x3b18f0,_0x12240c);}static async['activateChat'](_0x78682f){}static async[_0x19c570(0x1ca)](_0x1a4916){}static async['setMsgRead'](_0x1de425){const _0x2fad72=_0x19c570;return napCatCore[_0x2fad72(0x1de)][_0x2fad72(0x1eb)]()[_0x2fad72(0x1b2)](_0x1de425);}static async[_0x19c570(0x1d1)](_0x130e0e,_0x3dab72,_0x4bd239){const _0x5b0784=_0x19c570;return napCatCore[_0x5b0784(0x1de)][_0x5b0784(0x1eb)]()['getMsgsIncludeSelf'](_0x130e0e,_0x3dab72,_0x4bd239,!![]);}static async['fetchRecentContact'](){}static async[_0x19c570(0x1d4)](_0x2f0cf0,_0x264258){const _0x261006=_0x19c570;await napCatCore[_0x261006(0x1de)]['getMsgService']()[_0x261006(0x1d4)]({'chatType':_0x2f0cf0[_0x261006(0x1e3)],'peerUid':_0x2f0cf0[_0x261006(0x1c2)]},_0x264258);}static async[_0x19c570(0x1c7)](_0x452e65,_0x59401d,_0xeb9648=!![],_0x3ec22d=0x2710){const _0x3924df=_0x19c570,_0x4fb228={'WmJlH':function(_0x30d5aa,_0x2b65b8){return _0x30d5aa>_0x2b65b8;},'SABlZ':_0x3924df(0x1e1),'ZtOaQ':function(_0x593b97,_0x78781c){return _0x593b97(_0x78781c);},'khFav':function(_0x15bafb,_0x1bb322){return _0x15bafb===_0x1bb322;},'hAYKU':function(_0x505674,_0x4711c7,_0x35bb8f){return _0x505674(_0x4711c7,_0x35bb8f);},'pqNpa':function(_0x2a5a53){return _0x2a5a53();}},_0x28c42e=_0x452e65['peerUid'];let _0x3af41d=0x0;const _0x21e31f=async()=>{const _0x341c7e=_0x3924df;if(_0x4fb228[_0x341c7e(0x1d5)](_0x3af41d,_0x3ec22d))throw _0x4fb228[_0x341c7e(0x1dd)];const _0x45ee12=sendMessagePool[_0x452e65['peerUid']];if(_0x45ee12)return await _0x4fb228[_0x341c7e(0x1bb)](sleep,0x1f4),_0x3af41d+=0x1f4,await _0x21e31f();else return;};return await _0x4fb228[_0x3924df(0x1be)](_0x21e31f),new Promise((_0x3020d7,_0x531afd)=>{const _0x1eea8d=_0x3924df,_0x4ce6c1={'MvJZH':function(_0xe66231,_0x112b8a){return _0x4fb228['khFav'](_0xe66231,_0x112b8a);},'HDuBp':function(_0x853d4e,_0x1b18e7){const _0x51fa48=_0x32d6;return _0x4fb228[_0x51fa48(0x1bb)](_0x853d4e,_0x1b18e7);}};let _0x1b7281=![],_0x2b6c24=null;const _0x2c09b9=randomUUID();sendSuccessCBMap[_0x2c09b9]=_0x3b46c3=>{const _0x34c2c1=_0x32d6;if(_0x4ce6c1[_0x34c2c1(0x1dc)](_0x3b46c3['msgId'],_0x2b6c24?.[_0x34c2c1(0x1e8)])){if(_0x3b46c3['sendStatus']===0x2)return delete sendSuccessCBMap[_0x2c09b9],_0x1b7281=!![],_0x4ce6c1['HDuBp'](_0x3020d7,_0x3b46c3),!![];return![];}return![];},sendMessagePool[_0x28c42e]=async _0x59b2b8=>{delete sendMessagePool[_0x28c42e],_0x2b6c24=_0x59b2b8;},_0x4fb228[_0x1eea8d(0x1da)](setTimeout,()=>{const _0xaebf39=_0x1eea8d;if(_0x1b7281)return;delete sendMessagePool[_0x28c42e],delete sendSuccessCBMap[_0x2c09b9],_0x4fb228[_0xaebf39(0x1bb)](_0x531afd,_0x4fb228[_0xaebf39(0x1dd)]);},_0x3ec22d);const _0x36e48c=napCatCore[_0x1eea8d(0x1de)][_0x1eea8d(0x1eb)]()[_0x1eea8d(0x1c7)]('0',_0x452e65,_0x59401d,new Map());});}static async[_0x19c570(0x1e0)](_0x167a64,_0x1d3b24,_0x488cbd){const _0x57f6db=_0x19c570;return napCatCore[_0x57f6db(0x1de)][_0x57f6db(0x1eb)]()[_0x57f6db(0x1e0)](_0x488cbd,_0x167a64,[_0x1d3b24],new Map());}static async[_0x19c570(0x1c9)](_0x13b624,_0xc282e0,_0x47e78b){const _0x5eb840=_0x19c570,_0x47e65e={'fnBhD':_0x5eb840(0x1e2),'rAeWJ':function(_0x16d950,_0x44c4b2){return _0x16d950==_0x44c4b2;},'SdKmd':function(_0x17382f,_0x48ae37){return _0x17382f(_0x48ae37);},'OhUOr':_0x5eb840(0x1d6),'dWZxE':function(_0x44b886){return _0x44b886();},'LcTac':function(_0x4972c,_0x5db3cb,_0x48c847){return _0x4972c(_0x5db3cb,_0x48c847);}},_0x3ae977=_0x47e78b[_0x5eb840(0x1d8)](_0x445ebc=>{return{'msgId':_0x445ebc,'senderShowName':selfInfo['nick']};});return new Promise((_0x11df14,_0x5c2f69)=>{const _0x16ff23=_0x5eb840,_0x5a23d7={'HCQoD':_0x47e65e[_0x16ff23(0x1ba)],'WPpMB':function(_0x4dcc8b,_0x412324){return _0x47e65e['rAeWJ'](_0x4dcc8b,_0x412324);},'ERpyj':function(_0x7123e7,_0x2b4f70){const _0x56b87d=_0x16ff23;return _0x47e65e[_0x56b87d(0x1c0)](_0x7123e7,_0x2b4f70);},'vtuBm':_0x47e65e[_0x16ff23(0x1df)]};let _0x392ab4=![];const _0x207ad6=_0x34e873=>{const _0x3bbeac=_0x16ff23,_0x174263=_0x34e873[_0x3bbeac(0x1c1)][_0x3bbeac(0x1b7)](_0x42284d=>_0x42284d['arkElement']);if(!_0x174263)return;const _0x4d1a75=JSON[_0x3bbeac(0x1c5)](_0x174263['arkElement'][_0x3bbeac(0x1e9)]);if(_0x4d1a75['app']!=_0x5a23d7[_0x3bbeac(0x1e5)])return;_0x5a23d7[_0x3bbeac(0x1cc)](_0x34e873[_0x3bbeac(0x1c2)],_0xc282e0[_0x3bbeac(0x1c2)])&&_0x34e873['senderUid']==selfInfo[_0x3bbeac(0x1d3)]&&(_0x392ab4=!![],_0x5a23d7[_0x3bbeac(0x1e6)](_0x11df14,_0x34e873));};sentMsgTasks[_0x16ff23(0x1bc)](_0x47e65e['dWZxE'](randomUUID),_0x207ad6),_0x47e65e[_0x16ff23(0x1e4)](setTimeout,()=>{const _0xdcbe84=_0x16ff23;!_0x392ab4&&_0x5c2f69(_0x5a23d7[_0xdcbe84(0x1e7)]);},0x1388),napCatCore[_0x16ff23(0x1de)]['getMsgService']()['multiForwardMsgWithComment'](_0x3ae977,_0x13b624,_0xc282e0,[],new Map());});}} \ No newline at end of file +const _0x1a6de2=_0x562e;function _0x562e(_0x19ad66,_0x5cb23b){const _0x535241=_0x5352();return _0x562e=function(_0x562e9b,_0x48f33c){_0x562e9b=_0x562e9b-0x151;let _0x38839c=_0x535241[_0x562e9b];return _0x38839c;},_0x562e(_0x19ad66,_0x5cb23b);}function _0x5352(){const _0x1cc3a7=['setMsgRead','recallMsg','6798390ikQrgc','bytesData','发送超时','onMsgInfoListUpdate','getMsgService','KbwzA','com.tencent.multimsg','1ZiEDRG','FimPj','1305964XCnSQR','110NxJhgs','1342494hAtmep','arkElement','jjppD','sendStatus','ddbaY','sendMsg','oVhdd','length','kqoGd','jMjEk','231uKmOoa','QbCsy','activateChat','catch','find','klmaz','mbdDV','jRRHz','388754JDMdcN','toString','addListener','peerUid','fetchRecentContact','getMultiMsg','getMsgsIncludeSelf','msgId','senderUid','5440ykDvPG','delete','xHVph','uid','onLoginSuccess','34752cHzAiB','forwardMsg','getMsgsBySeqAndCount','activateChatAndGetHistory','then','session','multiForwardMsgWithComment','setEmojiLike','chatType','qUqoc','WsfTv','app','setMsgEmojiLikes','CMUmL','504444fSTTuq','xHdRv','multiForwardMsg'];_0x5352=function(){return _0x1cc3a7;};return _0x5352();}(function(_0x37c944,_0x4e7f9c){const _0x281104=_0x562e,_0x3d1eb7=_0x37c944();while(!![]){try{const _0x4474a3=parseInt(_0x281104(0x166))/0x1*(-parseInt(_0x281104(0x17c))/0x2)+-parseInt(_0x281104(0x15a))/0x3+-parseInt(_0x281104(0x168))/0x4+parseInt(_0x281104(0x169))/0x5*(parseInt(_0x281104(0x18a))/0x6)+-parseInt(_0x281104(0x174))/0x7*(-parseInt(_0x281104(0x185))/0x8)+parseInt(_0x281104(0x16a))/0x9+parseInt(_0x281104(0x15f))/0xa;if(_0x4474a3===_0x4e7f9c)break;else _0x3d1eb7['push'](_0x3d1eb7['shift']());}catch(_0x757645){_0x3d1eb7['push'](_0x3d1eb7['shift']());}}}(_0x5352,0x46c3d));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['onAddSendMsg']=_0x4ae197=>{const _0x4acc16=_0x562e,_0x13899b={'UKnlI':function(_0xa62da,_0x400b2f){return _0xa62da(_0x400b2f);},'kqoGd':function(_0x163899,_0x584b55){return _0x163899 instanceof _0x584b55;}};for(const [_0x174c25,_0x535d85]of sentMsgTasks){_0x13899b['UKnlI'](_0x535d85,_0x4ae197),sentMsgTasks[_0x4acc16(0x186)](_0x174c25);}if(sendMessagePool[_0x4ae197['peerUid']]){const _0x5b0ab5=sendMessagePool[_0x4ae197[_0x4acc16(0x17f)]]?.(_0x4ae197);_0x13899b[_0x4acc16(0x172)](_0x5b0ab5,Promise)&&_0x5b0ab5[_0x4acc16(0x18e)]()[_0x4acc16(0x177)](logError);}},msgListener[_0x1a6de2(0x162)]=_0x33d083=>{_0x33d083['forEach'](_0x44129a=>{const _0x4d1d6a=_0x562e;new Promise((_0x47ff3c,_0x3e89de)=>{const _0x365870=_0x562e;for(const _0x175e7d in sendSuccessCBMap){const _0x4e8d2e=sendSuccessCBMap[_0x175e7d],_0x2cf53b=_0x4e8d2e(_0x44129a),_0x1571b7=_0x8dca29=>{_0x8dca29&&delete sendSuccessCBMap[_0x175e7d];};_0x2cf53b instanceof Promise?_0x2cf53b[_0x365870(0x18e)](_0x1571b7):_0x1571b7(_0x2cf53b);}})[_0x4d1d6a(0x18e)]()[_0x4d1d6a(0x177)](log);});},setTimeout(()=>{const _0x4aef41=_0x1a6de2;napCatCore[_0x4aef41(0x189)](()=>{const _0x439ec2=_0x4aef41;napCatCore[_0x439ec2(0x17e)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x1a6de2(0x153)](_0x571393,_0x531afb,_0x123d6a,_0x445b48=!![]){const _0x5f1398=_0x1a6de2,_0x3294fb={'TWIrn':function(_0x36ba5d,_0x528b15){return _0x36ba5d>_0x528b15;}};return _0x123d6a=_0x123d6a[_0x5f1398(0x17d)](),napCatCore['session'][_0x5f1398(0x163)]()[_0x5f1398(0x158)](_0x571393,_0x531afb,_0x123d6a,_0x3294fb['TWIrn'](_0x123d6a[_0x5f1398(0x171)],0x3)?'2':'1',_0x445b48);}static async[_0x1a6de2(0x181)](_0x218fd4,_0x5944ab,_0x3b5de1){const _0x370f2a=_0x1a6de2;return napCatCore[_0x370f2a(0x151)][_0x370f2a(0x163)]()[_0x370f2a(0x181)](_0x218fd4,_0x5944ab,_0x3b5de1);}static async['getMsgsByMsgId'](_0x2f0494,_0x52f65d){const _0x4688d2=_0x1a6de2;return await napCatCore[_0x4688d2(0x151)][_0x4688d2(0x163)]()['getMsgsByMsgId'](_0x2f0494,_0x52f65d);}static async[_0x1a6de2(0x18c)](_0x36bb84,_0x42ec58,_0x2ecbfc,_0x2d2e7f,_0x254c90){const _0x3142b0=_0x1a6de2;return await napCatCore[_0x3142b0(0x151)][_0x3142b0(0x163)]()[_0x3142b0(0x18c)](_0x36bb84,_0x42ec58,_0x2ecbfc,_0x2d2e7f,_0x254c90);}static async[_0x1a6de2(0x176)](_0x341691){}static async[_0x1a6de2(0x18d)](_0x2e554d){}static async[_0x1a6de2(0x15d)](_0x293d87){const _0x39237b=_0x1a6de2;return napCatCore[_0x39237b(0x151)][_0x39237b(0x163)]()['setMsgRead'](_0x293d87);}static async['getMsgHistory'](_0x1ce980,_0x48693f,_0x1b4ce9){const _0x582b21=_0x1a6de2;return napCatCore['session'][_0x582b21(0x163)]()[_0x582b21(0x182)](_0x1ce980,_0x48693f,_0x1b4ce9,!![]);}static async[_0x1a6de2(0x180)](){}static async[_0x1a6de2(0x15e)](_0x1dc2ed,_0x2f3c59){const _0x2915d7=_0x1a6de2;await napCatCore[_0x2915d7(0x151)][_0x2915d7(0x163)]()['recallMsg']({'chatType':_0x1dc2ed[_0x2915d7(0x154)],'peerUid':_0x1dc2ed[_0x2915d7(0x17f)]},_0x2f3c59);}static async[_0x1a6de2(0x16f)](_0x34d055,_0x56f862,_0x11bc9f=!![],_0x40f05e=0x2710){const _0x2578e9=_0x1a6de2,_0x6cf6a2={'QbCsy':function(_0x3c1ad6,_0x4f1e7a){return _0x3c1ad6>_0x4f1e7a;},'klmaz':_0x2578e9(0x161),'WsfTv':function(_0x15a277,_0x5bbfd1){return _0x15a277===_0x5bbfd1;},'ddbaY':function(_0x38ef03,_0x51090d){return _0x38ef03(_0x51090d);},'qQSfP':function(_0x39c1fb){return _0x39c1fb();}},_0xe79ae0=_0x34d055['peerUid'];let _0x563c7b=0x0;const _0xedf08b=async()=>{const _0x43c37a=_0x2578e9;if(_0x6cf6a2[_0x43c37a(0x175)](_0x563c7b,_0x40f05e))throw _0x6cf6a2[_0x43c37a(0x179)];const _0xf8900e=sendMessagePool[_0x34d055[_0x43c37a(0x17f)]];if(_0xf8900e)return await sleep(0x1f4),_0x563c7b+=0x1f4,await _0xedf08b();else return;};return await _0x6cf6a2['qQSfP'](_0xedf08b),new Promise((_0x21477c,_0x4bb0f5)=>{const _0x47b236=_0x2578e9,_0x14e8bb={'mbdDV':function(_0x199055,_0x36816e){const _0x11354c=_0x562e;return _0x6cf6a2[_0x11354c(0x156)](_0x199055,_0x36816e);},'xHdRv':function(_0x52dc19,_0x3ea039){const _0x2baa1e=_0x562e;return _0x6cf6a2[_0x2baa1e(0x156)](_0x52dc19,_0x3ea039);},'KbwzA':function(_0x4308b1,_0x35884d){const _0x264466=_0x562e;return _0x6cf6a2[_0x264466(0x16e)](_0x4308b1,_0x35884d);},'CiIHA':_0x6cf6a2[_0x47b236(0x179)]};let _0x3687bb=![],_0x501e7f=null;const _0x69c8ef=randomUUID();sendSuccessCBMap[_0x69c8ef]=_0x1e9b3f=>{const _0x26bee6=_0x47b236;if(_0x14e8bb[_0x26bee6(0x17a)](_0x1e9b3f['msgId'],_0x501e7f?.[_0x26bee6(0x183)])){if(_0x14e8bb[_0x26bee6(0x15b)](_0x1e9b3f[_0x26bee6(0x16d)],0x2))return delete sendSuccessCBMap[_0x69c8ef],_0x3687bb=!![],_0x14e8bb[_0x26bee6(0x164)](_0x21477c,_0x1e9b3f),!![];return![];}return![];},sendMessagePool[_0xe79ae0]=async _0x9f0ddd=>{delete sendMessagePool[_0xe79ae0],_0x501e7f=_0x9f0ddd;},setTimeout(()=>{const _0x237a72=_0x47b236;if(_0x3687bb)return;delete sendMessagePool[_0xe79ae0],delete sendSuccessCBMap[_0x69c8ef],_0x14e8bb[_0x237a72(0x164)](_0x4bb0f5,_0x14e8bb['CiIHA']);},_0x40f05e);const _0x2d03a3=napCatCore[_0x47b236(0x151)][_0x47b236(0x163)]()['sendMsg']('0',_0x34d055,_0x56f862,new Map());});}static async['forwardMsg'](_0x1b9d5a,_0xcf0448,_0x17f931){const _0x566aae=_0x1a6de2;return napCatCore['session'][_0x566aae(0x163)]()[_0x566aae(0x18b)](_0x17f931,_0x1b9d5a,[_0xcf0448],new Map());}static async[_0x1a6de2(0x15c)](_0x1941f5,_0x4ab2b8,_0x2948cb){const _0x1c5ef9={'jRRHz':function(_0x34a16c,_0x442696){return _0x34a16c!=_0x442696;},'FimPj':function(_0x2593be,_0x3902d6){return _0x2593be==_0x3902d6;},'qUqoc':function(_0x1b3bfa,_0x13136a){return _0x1b3bfa(_0x13136a);},'jjppD':'转发消息超时','jMjEk':function(_0x2b9c34){return _0x2b9c34();},'rDtIZ':function(_0x3a9e36,_0x397b9d,_0x1c58a2){return _0x3a9e36(_0x397b9d,_0x1c58a2);}},_0x17fc3c=_0x2948cb['map'](_0x5e8147=>{return{'msgId':_0x5e8147,'senderShowName':selfInfo['nick']};});return new Promise((_0x335542,_0x1a5c46)=>{const _0x295fb9=_0x562e,_0xafd5e7={'gPNOR':function(_0x4c7dd2,_0x31cd41){const _0x38e986=_0x562e;return _0x1c5ef9[_0x38e986(0x17b)](_0x4c7dd2,_0x31cd41);},'xHVph':_0x295fb9(0x165),'VCTOq':function(_0x2ee5e6,_0x5a5d53){const _0x5e6c61=_0x295fb9;return _0x1c5ef9[_0x5e6c61(0x167)](_0x2ee5e6,_0x5a5d53);},'CMUmL':function(_0x3dcaf9,_0x4778f9){const _0xa8ad45=_0x295fb9;return _0x1c5ef9[_0xa8ad45(0x155)](_0x3dcaf9,_0x4778f9);},'oVhdd':_0x1c5ef9[_0x295fb9(0x16c)]};let _0x409e6c=![];const _0x1f2ecc=_0x23a99d=>{const _0x48e2e7=_0x295fb9,_0x4ba54e=_0x23a99d['elements'][_0x48e2e7(0x178)](_0x4dba3b=>_0x4dba3b[_0x48e2e7(0x16b)]);if(!_0x4ba54e)return;const _0x3b0bb3=JSON['parse'](_0x4ba54e[_0x48e2e7(0x16b)][_0x48e2e7(0x160)]);if(_0xafd5e7['gPNOR'](_0x3b0bb3[_0x48e2e7(0x157)],_0xafd5e7[_0x48e2e7(0x187)]))return;_0xafd5e7['VCTOq'](_0x23a99d['peerUid'],_0x4ab2b8[_0x48e2e7(0x17f)])&&_0x23a99d[_0x48e2e7(0x184)]==selfInfo[_0x48e2e7(0x188)]&&(_0x409e6c=!![],_0xafd5e7[_0x48e2e7(0x159)](_0x335542,_0x23a99d));};sentMsgTasks['set'](_0x1c5ef9[_0x295fb9(0x173)](randomUUID),_0x1f2ecc),_0x1c5ef9['rDtIZ'](setTimeout,()=>{const _0x51f5b5=_0x295fb9;!_0x409e6c&&_0xafd5e7[_0x51f5b5(0x159)](_0x1a5c46,_0xafd5e7[_0x51f5b5(0x170)]);},0x1388),napCatCore[_0x295fb9(0x151)][_0x295fb9(0x163)]()[_0x295fb9(0x152)](_0x17fc3c,_0x1941f5,_0x4ab2b8,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 020dc138..587b6d47 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x3d1b(){var _0x5404c0=['45476RExGuG','370479DUVrSC','2296AiKNjB','4013149PUjonr','732MHSutL','14197570ifhMgN','6dPvPvV','10yczeiz','108vFJdaC','1041468fWmOJF','285YHtcya','32494WlEsGt'];_0x3d1b=function(){return _0x5404c0;};return _0x3d1b();}function _0x50fe(_0x168241,_0x1e957d){var _0x3d1b09=_0x3d1b();return _0x50fe=function(_0x50fe20,_0x4c37fb){_0x50fe20=_0x50fe20-0x1da;var _0x18245b=_0x3d1b09[_0x50fe20];return _0x18245b;},_0x50fe(_0x168241,_0x1e957d);}(function(_0x2e8a52,_0x179e9e){var _0x16eb04=_0x50fe,_0x2b7127=_0x2e8a52();while(!![]){try{var _0x579cf2=-parseInt(_0x16eb04(0x1e1))/0x1+-parseInt(_0x16eb04(0x1df))/0x2*(-parseInt(_0x16eb04(0x1e5))/0x3)+parseInt(_0x16eb04(0x1e4))/0x4*(-parseInt(_0x16eb04(0x1e2))/0x5)+parseInt(_0x16eb04(0x1de))/0x6*(parseInt(_0x16eb04(0x1db))/0x7)+parseInt(_0x16eb04(0x1da))/0x8*(parseInt(_0x16eb04(0x1e0))/0x9)+parseInt(_0x16eb04(0x1dd))/0xa+-parseInt(_0x16eb04(0x1e3))/0xb*(parseInt(_0x16eb04(0x1dc))/0xc);if(_0x579cf2===_0x179e9e)break;else _0x2b7127['push'](_0x2b7127['shift']());}catch(_0x5003d1){_0x2b7127['push'](_0x2b7127['shift']());}}}(_0x3d1b,0xb5b56));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){return napCatCore['util']['hasOtherRunningQQProcess']();}} \ No newline at end of file +var _0x43fc7d=_0x52e2;(function(_0x33218d,_0x471b96){var _0x5794f1=_0x52e2,_0x177c76=_0x33218d();while(!![]){try{var _0x289d61=parseInt(_0x5794f1(0x9f))/0x1+-parseInt(_0x5794f1(0x97))/0x2+-parseInt(_0x5794f1(0x9b))/0x3*(-parseInt(_0x5794f1(0x9a))/0x4)+-parseInt(_0x5794f1(0x99))/0x5+-parseInt(_0x5794f1(0x9e))/0x6+-parseInt(_0x5794f1(0xa0))/0x7+parseInt(_0x5794f1(0x9c))/0x8;if(_0x289d61===_0x471b96)break;else _0x177c76['push'](_0x177c76['shift']());}catch(_0xa68d27){_0x177c76['push'](_0x177c76['shift']());}}}(_0x1cb9,0x7b13e));function _0x52e2(_0xf7470,_0x330a5c){var _0x1cb976=_0x1cb9();return _0x52e2=function(_0x52e209,_0x1ae746){_0x52e209=_0x52e209-0x97;var _0x3b6f3f=_0x1cb976[_0x52e209];return _0x3b6f3f;},_0x52e2(_0xf7470,_0x330a5c);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x43fc7d(0x98)](){var _0x4aa945=_0x43fc7d;return napCatCore[_0x4aa945(0x9d)][_0x4aa945(0x98)]();}}function _0x1cb9(){var _0x47fcd3=['util','1064946tjVKrZ','530301laVgbp','6867889qwZQSX','748616dYFqGw','hasOtherRunningQQProcess','3052500ihLcjp','575392BnDtHW','9XiiaFH','13485656TYKeaR'];_0x1cb9=function(){return _0x47fcd3;};return _0x1cb9();} \ 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 3a1d9108..bd780432 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x5a105f=_0x3553;(function(_0x1409c8,_0xc394c0){const _0x1a3aac=_0x3553,_0x41ddc2=_0x1409c8();while(!![]){try{const _0x59a5e5=-parseInt(_0x1a3aac(0x1f7))/0x1+-parseInt(_0x1a3aac(0x202))/0x2+-parseInt(_0x1a3aac(0x1c7))/0x3+-parseInt(_0x1a3aac(0x1dc))/0x4*(-parseInt(_0x1a3aac(0x1da))/0x5)+parseInt(_0x1a3aac(0x208))/0x6*(-parseInt(_0x1a3aac(0x1c2))/0x7)+-parseInt(_0x1a3aac(0x1c9))/0x8+-parseInt(_0x1a3aac(0x1e9))/0x9*(-parseInt(_0x1a3aac(0x1d3))/0xa);if(_0x59a5e5===_0xc394c0)break;else _0x41ddc2['push'](_0x41ddc2['shift']());}catch(_0x79cede){_0x41ddc2['push'](_0x41ddc2['shift']());}}}(_0x509e,0x59bc3));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';function _0x509e(){const _0x11843c=['delete','91587ouqlft','getMsgService','fromEntries','getProfileService','PKdsL','robotUinRanges','setStatus','length','JMrVf','pkPEl','GqqcB','780346yIGMjH','set','Wvjxe','getUserDetailInfoWithBizInfo','&clientkey=','now','36MrVIBU','Skey','107716qNgVMh','result','NKjiT','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','sbCnE','539028aHNOXO','PskeyTime','2522128YVmJKW','getRobotUinRange','get','PskeyData','uin','setQQAvatar','session','vAjuy','mnQKL','getPSkey','73140zvdDfp','getPskey','getTipOffService','addListener','jXGjT','then','setSelfOnlineStatus','5PycMqJ','WGlkU','2294132HWlGOA','keyIndex','onLoginSuccess','qhNtD','asuGO','setHeader','getUserDetailInfo\x20timeout','获取Pskey失败','CreatTime','errMsg','getTicketService','getUserInfo','uid','1062MLUiKF','HttpsGetCookies','like','forEach','domainPskeyMap','onProfileDetailInfoChanged','alYgC','getUserDetailInfo','getProfileLikeService','getRobotService','mouXO','xtQjh','xkEjK'];_0x509e=function(){return _0x11843c;};return _0x509e();}import{ProfileListener}from'@/core/listeners';function _0x3553(_0x19be63,_0x1c750e){const _0x509e6b=_0x509e();return _0x3553=function(_0x355397,_0x22b4b9){_0x355397=_0x355397-0x1c1;let _0x56d835=_0x509e6b[_0x355397];return _0x56d835;},_0x3553(_0x19be63,_0x1c750e);}import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x5a105f(0x1ee)]=_0x3e8f26=>{const _0x39b791=_0x5a105f;userInfoCache[_0x3e8f26[_0x39b791(0x1e8)]]=_0x3e8f26,userDetailHandlers[_0x39b791(0x1ec)](_0x27e33d=>_0x27e33d(_0x3e8f26));},setTimeout(()=>{const _0x4ac4fd=_0x5a105f;napCatCore[_0x4ac4fd(0x1de)](()=>{const _0x475cc5=_0x4ac4fd;napCatCore[_0x475cc5(0x1d6)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x5a105f(0x1d9)](_0x2d792e,_0x533d38,_0x43b454){const _0x4533a2=_0x5a105f;return napCatCore[_0x4533a2(0x1cf)][_0x4533a2(0x1f8)]()[_0x4533a2(0x1fd)]({'status':_0x2d792e,'extStatus':_0x533d38,'batteryStatus':_0x43b454});}static async[_0x5a105f(0x1eb)](_0x2f3854,_0x387d2f=0x1){const _0x5bdac4=_0x5a105f;return napCatCore[_0x5bdac4(0x1cf)][_0x5bdac4(0x1f1)]()['setBuddyProfileLike']({'friendUid':_0x2f3854,'sourceId':0x47,'doLikeCount':_0x387d2f,'doLikeTollCount':0x0});}static async[_0x5a105f(0x1ce)](_0x59f363){const _0x2add42=_0x5a105f,_0x34c5cb=napCatCore[_0x2add42(0x1cf)][_0x2add42(0x1fa)]()[_0x2add42(0x1e1)](_0x59f363);return{'result':_0x34c5cb?.['result'],'errMsg':_0x34c5cb?.[_0x2add42(0x1e5)]};}static async['getSelfInfo'](){}static async[_0x5a105f(0x1e7)](_0x28ddcb){}static async[_0x5a105f(0x1f0)](_0x1993ea){const _0x1d45ad=_0x5a105f,_0x38a0f4={'qhNtD':function(_0x1c7fef,_0x4b7ecc){return _0x1c7fef(_0x4b7ecc);},'vAjuy':function(_0x587a3a,_0x39c927){return _0x587a3a(_0x39c927);},'NKjiT':function(_0x435f3c){return _0x435f3c();},'Wvjxe':function(_0x5755ad,_0x273ee6,_0x486002){return _0x5755ad(_0x273ee6,_0x486002);}},_0x284a90=napCatCore[_0x1d45ad(0x1cf)][_0x1d45ad(0x1fa)]();return new Promise((_0x5718bb,_0x480d8c)=>{const _0x5232cd=_0x1d45ad,_0x49c881={'xkEjK':function(_0x1d6de0,_0x28389e){const _0x445b1c=_0x3553;return _0x38a0f4[_0x445b1c(0x1d0)](_0x1d6de0,_0x28389e);},'ydTBT':_0x5232cd(0x1e2)},_0x3bdfa9=_0x38a0f4[_0x5232cd(0x1c4)](randomUUID);let _0x5899ee=![];_0x38a0f4[_0x5232cd(0x204)](setTimeout,()=>{const _0x2ae561=_0x5232cd;!_0x5899ee&&_0x49c881[_0x2ae561(0x1f5)](_0x480d8c,_0x49c881['ydTBT']);},0x1388),userDetailHandlers[_0x5232cd(0x203)](_0x3bdfa9,_0x5060e2=>{const _0x33f918=_0x5232cd;_0x5060e2[_0x33f918(0x1e8)]===_0x1993ea&&(_0x5899ee=!![],userDetailHandlers[_0x33f918(0x1f6)](_0x3bdfa9),uid2UinMap[_0x1993ea]=_0x5060e2['uin'],_0x38a0f4[_0x33f918(0x1df)](_0x5718bb,_0x5060e2));}),_0x284a90[_0x5232cd(0x205)](_0x1993ea,[0x0])[_0x5232cd(0x1d8)](_0x2d64e8=>{});});}static async[_0x5a105f(0x1d2)](_0x3e2db0,_0xec1ad5=!![]){const _0x114aa2=_0x5a105f,_0x3e2326={'QpBti':function(_0x3a1ddc,_0x3fd4d5){return _0x3a1ddc||_0x3fd4d5;},'VzHTc':function(_0x3286ee,_0x1e5fd4){return _0x3286ee>_0x1e5fd4;},'JMrVf':function(_0x4b9e6b,_0x4f367a){return _0x4b9e6b-_0x4f367a;},'mnQKL':function(_0x1178be,_0x670f7e){return _0x1178be*_0x670f7e;},'PKdsL':function(_0x27c93b,_0x38ab61){return _0x27c93b>_0x38ab61;},'WGlkU':function(_0x2bf0d6,_0x5aec16){return _0x2bf0d6===_0x5aec16;}},_0x3e0215=[],_0x228402={};for(const _0x1d962e in _0x3e2db0){const _0x23c03f=Credentials['PskeyData'][_0x114aa2(0x1cb)](_0x3e2db0[_0x1d962e]),_0x4d80c9=Credentials[_0x114aa2(0x1c8)][_0x114aa2(0x1cb)](_0x3e2db0[_0x1d962e]);_0x3e2326['QpBti'](!_0x23c03f,!_0x4d80c9)||_0x3e2326['VzHTc'](_0x3e2326[_0x114aa2(0x1ff)](Date[_0x114aa2(0x207)](),_0x4d80c9),_0x3e2326[_0x114aa2(0x1d1)](0x708,0x3e8))||!_0xec1ad5?_0x3e0215['push'](_0x3e2db0[_0x1d962e]):_0x228402[_0x3e2db0[_0x1d962e]]=_0x23c03f;}let _0x536ab4={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3e2326[_0x114aa2(0x1fb)](_0x3e0215[_0x114aa2(0x1fe)],0x0)&&(_0x536ab4=await napCatCore[_0x114aa2(0x1cf)][_0x114aa2(0x1d5)]()[_0x114aa2(0x1d4)](_0x3e0215,!![]));const _0xc432cf=_0x536ab4[_0x114aa2(0x1ed)];for(const _0x5eba9e of _0xc432cf['entries']()){Credentials[_0x114aa2(0x1cc)]['set'](_0x5eba9e[0x0],_0x5eba9e[0x1]),Credentials[_0x114aa2(0x1c8)]['set'](_0x5eba9e[0x0],Date[_0x114aa2(0x207)]());}const _0x63b57c=Object['assign'](Object[_0x114aa2(0x1f9)](_0xc432cf),_0x228402);if(_0x3e2326[_0x114aa2(0x1db)](_0x536ab4['result'],0x0))return _0x63b57c;else logError(_0x114aa2(0x1e3),_0x536ab4['errMsg']);return{};}static async['getRobotUinRange'](){const _0x2cfbcb=_0x5a105f,_0x1f17ad=await napCatCore[_0x2cfbcb(0x1cf)][_0x2cfbcb(0x1f2)]()[_0x2cfbcb(0x1ca)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x1f17ad?.['response']?.[_0x2cfbcb(0x1fc)];}static async['getSkey'](_0x509de3=!![]){const _0x3be489=_0x5a105f,_0x207484={'xtQjh':function(_0x14a161,_0x5ddfdb){return _0x14a161>_0x5ddfdb;},'asuGO':function(_0x7d9f14,_0x528d3f){return _0x7d9f14-_0x528d3f;},'jXGjT':function(_0x68f482,_0x40a5d0){return _0x68f482*_0x40a5d0;},'puYzL':function(_0x4dc2b5,_0x2d8cbf){return _0x4dc2b5!==_0x2d8cbf;},'mouXO':function(_0x43d1f8,_0x8eadf6){return _0x43d1f8+_0x8eadf6;},'vATWl':function(_0x2bed68,_0x54b8dc){return _0x2bed68+_0x54b8dc;},'pkPEl':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','alYgC':_0x3be489(0x206),'GqqcB':_0x3be489(0x1c5),'xyNPN':function(_0x2eee76,_0x486485,_0x184118){return _0x2eee76(_0x486485,_0x184118);},'sbCnE':'skey'};try{if(Credentials[_0x3be489(0x1e4)]==0x0||_0x207484[_0x3be489(0x1f4)](_0x207484[_0x3be489(0x1e0)](Date[_0x3be489(0x207)](),Credentials[_0x3be489(0x1e4)]),_0x207484[_0x3be489(0x1d7)](0x3e8,0xe10))||!_0x509de3){const _0x370aee=await napCatCore[_0x3be489(0x1cf)][_0x3be489(0x1e6)]()['forceFetchClientKey']('');if(_0x207484['puYzL'](_0x370aee[_0x3be489(0x1c3)],0x0))return'';const _0x821b92=_0x370aee['clientKey'],_0x1f64d7=_0x370aee[_0x3be489(0x1dd)],_0x26df9d=_0x207484[_0x3be489(0x1f3)](_0x207484['vATWl'](_0x207484['mouXO'](_0x207484[_0x3be489(0x200)],selfInfo[_0x3be489(0x1cd)]),_0x207484[_0x3be489(0x1ef)])+_0x821b92+_0x207484[_0x3be489(0x201)],_0x1f64d7);let _0x34276a;try{_0x34276a=await RequestUtil[_0x3be489(0x1ea)](_0x26df9d);}catch(_0x2a859d){_0x207484['xyNPN'](logDebug,'请求获取Skey时失败',_0x2a859d),_0x34276a=new Map();}const _0x1dc9d2=_0x34276a['get'](_0x207484[_0x3be489(0x1c6)]);if(!_0x1dc9d2)return'';return Credentials[_0x3be489(0x1e4)]=Date['now'](),Credentials['Skey']=_0x1dc9d2,_0x1dc9d2;}return Credentials[_0x3be489(0x1c1)];}catch(_0x2e7ff9){}return undefined;}} \ No newline at end of file +const _0x110e15=_0x4914;function _0x9346(){const _0x4b8117=['CreatTime','onLoginSuccess','PskeyTime','getProfileService','6646200Mtdweq','获取Pskey失败','mRNZH','vboOR','JXCze','12505122RVJNbX','addListener','getRobotUinRange','getUserDetailInfo\x20timeout','response','kCySB','696552gQHwwD','setBuddyProfileLike','JdyDD','getUserDetailInfoWithBizInfo','NTIfY','5cguRzs','now','&clientkey=','Skey','4zmKiiH','get','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','onProfileDetailInfoChanged','5937701NUXpbj','getUserDetailInfo','hCYpM','DNyBE','setSelfOnlineStatus','assign','FDZkF','like','uin','4401835leanvc','session','getSkey','then','entries','VeeDq','setStatus','errMsg','CDsGc','PskeyData','160636xxzpoT','vxVtY','getUserInfo','delete','set','eajyi','getMsgService','4770513cnNSPI','clientKey','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','result','cJufF','getProfileLikeService','fromEntries','HttpsGetCookies','UieHY','setHeader','forceFetchClientKey','skey','forEach','robotUinRanges','getTipOffService','uid'];_0x9346=function(){return _0x4b8117;};return _0x9346();}(function(_0x2a9e37,_0xd2580d){const _0x320206=_0x4914,_0x335cf1=_0x2a9e37();while(!![]){try{const _0x2f6594=-parseInt(_0x320206(0x1ed))/0x1*(-parseInt(_0x320206(0x208))/0x2)+parseInt(_0x320206(0x1c9))/0x3+-parseInt(_0x320206(0x1f1))/0x4*(parseInt(_0x320206(0x1fe))/0x5)+parseInt(_0x320206(0x1e8))/0x6+-parseInt(_0x320206(0x1f5))/0x7+-parseInt(_0x320206(0x1dd))/0x8+parseInt(_0x320206(0x1e2))/0x9;if(_0x2f6594===_0xd2580d)break;else _0x335cf1['push'](_0x335cf1['shift']());}catch(_0x82965){_0x335cf1['push'](_0x335cf1['shift']());}}}(_0x9346,0xe4fc6));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x4914(_0x220b46,_0x5f4f50){const _0x934650=_0x9346();return _0x4914=function(_0x4914b7,_0x31afb9){_0x4914b7=_0x4914b7-0x1c9;let _0x1fc263=_0x934650[_0x4914b7];return _0x1fc263;},_0x4914(_0x220b46,_0x5f4f50);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x110e15(0x1f4)]=_0x43099d=>{const _0x17bbfd=_0x110e15;userInfoCache[_0x43099d[_0x17bbfd(0x1d8)]]=_0x43099d,userDetailHandlers[_0x17bbfd(0x1d5)](_0x30a745=>_0x30a745(_0x43099d));},setTimeout(()=>{const _0x29baf3=_0x110e15;napCatCore[_0x29baf3(0x1da)](()=>{const _0x5c99c9=_0x29baf3;napCatCore[_0x5c99c9(0x1e3)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x110e15(0x1f9)](_0x4e1adf,_0x254885,_0x203dfe){const _0x212cce=_0x110e15;return napCatCore['session'][_0x212cce(0x20e)]()[_0x212cce(0x204)]({'status':_0x4e1adf,'extStatus':_0x254885,'batteryStatus':_0x203dfe});}static async[_0x110e15(0x1fc)](_0x33f23c,_0x2d573b=0x1){const _0x3683a8=_0x110e15;return napCatCore[_0x3683a8(0x1ff)][_0x3683a8(0x1ce)]()[_0x3683a8(0x1e9)]({'friendUid':_0x33f23c,'sourceId':0x47,'doLikeCount':_0x2d573b,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x19d092){const _0x487877=_0x110e15,_0x572458=napCatCore[_0x487877(0x1ff)][_0x487877(0x1dc)]()[_0x487877(0x1d2)](_0x19d092);return{'result':_0x572458?.[_0x487877(0x1cc)],'errMsg':_0x572458?.[_0x487877(0x205)]};}static async['getSelfInfo'](){}static async[_0x110e15(0x20a)](_0x12b0e0){}static async[_0x110e15(0x1f6)](_0x1f08a8){const _0xdb55ec=_0x110e15,_0x1fc1d8={'kCySB':function(_0x4a35fe,_0x3c1d97){return _0x4a35fe(_0x3c1d97);},'vboOR':_0xdb55ec(0x1e5),'cJufF':function(_0x2bdf30,_0x5eeaa7){return _0x2bdf30===_0x5eeaa7;},'UieHY':function(_0x3e37a6){return _0x3e37a6();},'dysdl':function(_0xd99ad1,_0x42f59a,_0x1a71ee){return _0xd99ad1(_0x42f59a,_0x1a71ee);}},_0xf3714c=napCatCore[_0xdb55ec(0x1ff)][_0xdb55ec(0x1dc)]();return new Promise((_0x28902e,_0x5c747e)=>{const _0x225272=_0xdb55ec,_0x58404b={'hCYpM':function(_0x703835,_0x32cd1e){const _0x20da53=_0x4914;return _0x1fc1d8[_0x20da53(0x1cd)](_0x703835,_0x32cd1e);},'WAfdr':function(_0xb9928c,_0xe6ab41){return _0xb9928c(_0xe6ab41);}},_0x46b8e3=_0x1fc1d8[_0x225272(0x1d1)](randomUUID);let _0x5b4f7b=![];_0x1fc1d8['dysdl'](setTimeout,()=>{const _0x36adc0=_0x225272;!_0x5b4f7b&&_0x1fc1d8[_0x36adc0(0x1e7)](_0x5c747e,_0x1fc1d8[_0x36adc0(0x1e0)]);},0x1388),userDetailHandlers[_0x225272(0x20c)](_0x46b8e3,_0x476c58=>{const _0x654c5e=_0x225272;_0x58404b[_0x654c5e(0x1f7)](_0x476c58['uid'],_0x1f08a8)&&(_0x5b4f7b=!![],userDetailHandlers[_0x654c5e(0x20b)](_0x46b8e3),uid2UinMap[_0x1f08a8]=_0x476c58[_0x654c5e(0x1fd)],_0x58404b['WAfdr'](_0x28902e,_0x476c58));}),_0xf3714c[_0x225272(0x1eb)](_0x1f08a8,[0x0])[_0x225272(0x201)](_0x19df71=>{});});}static async['getPSkey'](_0x518972,_0x36c21d=!![]){const _0x31f661=_0x110e15,_0x2f07af={'mRNZH':function(_0x4b300e,_0x50a5fc){return _0x4b300e||_0x50a5fc;},'FDZkF':function(_0x2b3a65,_0x1b5804){return _0x2b3a65-_0x1b5804;},'XuMtj':function(_0x55613c,_0x173a35){return _0x55613c===_0x173a35;},'CDsGc':function(_0x44b509,_0x58805c,_0x152528){return _0x44b509(_0x58805c,_0x152528);},'JdyDD':_0x31f661(0x1de)},_0x5781e4=[],_0xde978={};for(const _0x18c1c4 in _0x518972){const _0x5542c6=Credentials[_0x31f661(0x207)]['get'](_0x518972[_0x18c1c4]),_0x2156ca=Credentials['PskeyTime']['get'](_0x518972[_0x18c1c4]);_0x2f07af[_0x31f661(0x1df)](!_0x5542c6,!_0x2156ca)||_0x2f07af[_0x31f661(0x1fb)](Date[_0x31f661(0x1ee)](),_0x2156ca)>0x708*0x3e8||!_0x36c21d?_0x5781e4['push'](_0x518972[_0x18c1c4]):_0xde978[_0x518972[_0x18c1c4]]=_0x5542c6;}let _0x2e2804={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5781e4['length']>0x0&&(_0x2e2804=await napCatCore[_0x31f661(0x1ff)][_0x31f661(0x1d7)]()['getPskey'](_0x5781e4,!![]));const _0x3f9d43=_0x2e2804['domainPskeyMap'];for(const _0x3a1248 of _0x3f9d43[_0x31f661(0x202)]()){Credentials[_0x31f661(0x207)][_0x31f661(0x20c)](_0x3a1248[0x0],_0x3a1248[0x1]),Credentials[_0x31f661(0x1db)]['set'](_0x3a1248[0x0],Date['now']());}const _0x564706=Object[_0x31f661(0x1fa)](Object[_0x31f661(0x1cf)](_0x3f9d43),_0xde978);if(_0x2f07af['XuMtj'](_0x2e2804['result'],0x0))return _0x564706;else _0x2f07af[_0x31f661(0x206)](logError,_0x2f07af[_0x31f661(0x1ea)],_0x2e2804[_0x31f661(0x205)]);return{};}static async[_0x110e15(0x1e4)](){const _0x3f88ef=_0x110e15,_0x32c94b=await napCatCore['session']['getRobotService']()[_0x3f88ef(0x1e4)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x32c94b?.[_0x3f88ef(0x1e6)]?.[_0x3f88ef(0x1d6)];}static async[_0x110e15(0x200)](_0x2a0e06=!![]){const _0x220f74=_0x110e15,_0x4be4a3={'djXON':function(_0x4030c8,_0x3974e8){return _0x4030c8==_0x3974e8;},'JXCze':function(_0x329fdd,_0x130d3b){return _0x329fdd>_0x130d3b;},'NTIfY':function(_0x2d1673,_0x1c6243){return _0x2d1673-_0x1c6243;},'vxVtY':function(_0x4f91e4,_0x1a08f7){return _0x4f91e4*_0x1a08f7;},'eajyi':function(_0x4c34e5,_0x5ecad1){return _0x4c34e5!==_0x5ecad1;},'VeeDq':function(_0x2fa4a2,_0x48ab29){return _0x2fa4a2+_0x48ab29;},'yQtRN':_0x220f74(0x1f3),'SnVhL':_0x220f74(0x1ef),'DNyBE':function(_0x1b2517,_0x3cd1a9,_0x1f132e){return _0x1b2517(_0x3cd1a9,_0x1f132e);}};try{if(_0x4be4a3['djXON'](Credentials[_0x220f74(0x1d9)],0x0)||_0x4be4a3[_0x220f74(0x1e1)](_0x4be4a3[_0x220f74(0x1ec)](Date[_0x220f74(0x1ee)](),Credentials[_0x220f74(0x1d9)]),_0x4be4a3[_0x220f74(0x209)](0x3e8,0xe10))||!_0x2a0e06){const _0x36f18f=await napCatCore[_0x220f74(0x1ff)]['getTicketService']()[_0x220f74(0x1d3)]('');if(_0x4be4a3[_0x220f74(0x20d)](_0x36f18f['result'],0x0))return'';const _0x461090=_0x36f18f[_0x220f74(0x1ca)],_0x23d3cd=_0x36f18f['keyIndex'],_0x150430=_0x4be4a3[_0x220f74(0x203)](_0x4be4a3[_0x220f74(0x203)](_0x4be4a3[_0x220f74(0x203)](_0x4be4a3['yQtRN'],selfInfo[_0x220f74(0x1fd)])+_0x4be4a3['SnVhL']+_0x461090,_0x220f74(0x1cb)),_0x23d3cd);let _0x1af6ca;try{_0x1af6ca=await RequestUtil[_0x220f74(0x1d0)](_0x150430);}catch(_0x2a4118){_0x4be4a3[_0x220f74(0x1f8)](logDebug,'请求获取Skey时失败',_0x2a4118),_0x1af6ca=new Map();}const _0x566ddb=_0x1af6ca[_0x220f74(0x1f2)](_0x220f74(0x1d4));if(!_0x566ddb)return'';return Credentials[_0x220f74(0x1d9)]=Date[_0x220f74(0x1ee)](),Credentials[_0x220f74(0x1f0)]=_0x566ddb,_0x566ddb;}return Credentials['Skey'];}catch(_0x23c0e3){}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 91435783..86c0dc47 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x3d41a2=_0x42ff;(function(_0x31ada9,_0x1185dd){const _0x4bcf2a=_0x42ff,_0x14e14e=_0x31ada9();while(!![]){try{const _0x4949f6=parseInt(_0x4bcf2a(0x1bf))/0x1+parseInt(_0x4bcf2a(0x1d3))/0x2+parseInt(_0x4bcf2a(0x1f5))/0x3*(parseInt(_0x4bcf2a(0x1a5))/0x4)+-parseInt(_0x4bcf2a(0x1c9))/0x5+-parseInt(_0x4bcf2a(0x1bb))/0x6+-parseInt(_0x4bcf2a(0x20d))/0x7+-parseInt(_0x4bcf2a(0x223))/0x8*(-parseInt(_0x4bcf2a(0x202))/0x9);if(_0x4949f6===_0x1185dd)break;else _0x14e14e['push'](_0x14e14e['shift']());}catch(_0x9a3c09){_0x14e14e['push'](_0x14e14e['shift']());}}}(_0x6da2,0xb05a1));import{WebGroupData,selfInfo}from'@/core/data';function _0x6da2(){const _0x5c2b00=['&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','oyGeX','uWGgq',';\x20skey=','errcode','ajFKg','104amRtTq','&page_start=','UTedK','pcNdI','vjvvm','CquWt','sHnnn','sFEfk','push','split','strong_newbie_list','HDEDE','fcbOh','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','nfbwP','LEGEND','now','mgnBH','dPJXc','fzyXH','all','WiwpS','genBkn','talkative_list','fWxsH','PXUrO','aMAjM','vzkNa','ONMjY','fhFRR','jNJyf','CAfYD','2043192iobslE','name','OSkHt','GpuGc','STORONGE_NEWBI','SFEwo','TvZzj','Nuquh','GDtNR','获取龙王信息失败','dcXoV','HIirG','EMOTION','PERFROMER','trim','set','ugFEP','uin','mems','getGroupMembers','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','TALKACTIVE','5883816WfmEMG','getGroupEssenceMsg','count','hGOdQ','187716biZdtR','NmhwG','GoNUq','getSkey','ZoNti','parse','XUCpt','koTTn','sNHqc','wiBcu','1386430Eubcoe','qzOmV','ALL','zElXI','yvHaL','qun.qq.com','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','legend','desc','QqkVe','391878qDHlZV','KgArj','njRWG','&page_limit=20','getGroupHonorInfo','smdUj','POST','sWHgN','QhjLr','oVWZs','KYNfu','GET','BPpQK',';\x20p_uin=o','RKxUs','toString','iyjVe','ewBud','fYINZ','NkLNT','nExQC','qYoTA','GrZap','JsktM','XIalO','getGrouptNotice','get','NWftr','ZaoEM','JRFOb','lDPmb','iUuCr','获取群聊炽焰失败','p_skey=','6lDCFGt','qsZsx','UcwoG','GroupTime','KdVDe','IIVpA','emotion','ORyzB','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','talkative','xOhDA','&end=','&qid=','1396548MlFfcL','keEvW','KNlao','pHWie','twJeZ','获取当前群荣耀失败','performer','qid=','avatar','strong_newbie','performer_list','10095596FrfgbQ','webapi\x20获取群成员','https://qun.qq.com/interactive/honorlist?gc=','charCodeAt','HttpGetJson','&bkn=','getPSkey','EPTJQ','length','description','ceil','PwArF','iwYLW','&sort=1&gc=','RnozS','match'];_0x6da2=function(){return _0x5c2b00;};return _0x6da2();}function _0x42ff(_0xa371a9,_0x6023d3){const _0x6da2f3=_0x6da2();return _0x42ff=function(_0x42ff90,_0x1f5af3){_0x42ff90=_0x42ff90-0x194;let _0x5f4afd=_0x6da2f3[_0x42ff90];return _0x5f4afd;},_0x42ff(_0xa371a9,_0x6023d3);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x3432ab){const _0xd2b62d=_0x42ff,_0x513e85={'iwYLW':'1|0|3|5|4|2','NWftr':_0xd2b62d(0x1ba),'hGOdQ':_0xd2b62d(0x1cb),'knzSx':_0xd2b62d(0x199),'XIalO':_0xd2b62d(0x1b1),'pzGIW':_0xd2b62d(0x1fb),'aKOeU':'PERFROMER','fhFRR':_0xd2b62d(0x208),'CquWt':_0xd2b62d(0x1a9),'NmhwG':_0xd2b62d(0x20b)},_0x1e766f=_0x513e85[_0xd2b62d(0x219)][_0xd2b62d(0x22c)]('|');let _0x2dedda=0x0;while(!![]){switch(_0x1e766f[_0x2dedda++]){case'0':_0x3432ab[_0x513e85[_0xd2b62d(0x1ee)]]=_0xd2b62d(0x1fe);continue;case'1':_0x3432ab[_0x513e85[_0xd2b62d(0x1be)]]=_0x513e85['knzSx'];continue;case'2':_0x3432ab[_0x513e85[_0xd2b62d(0x1eb)]]=_0x513e85['pzGIW'];continue;case'3':_0x3432ab[_0x513e85['aKOeU']]=_0x513e85[_0xd2b62d(0x1a2)];continue;case'4':_0x3432ab[_0x513e85[_0xd2b62d(0x228)]]=_0x513e85[_0xd2b62d(0x1c0)];continue;case'5':_0x3432ab[_0xd2b62d(0x194)]=_0xd2b62d(0x1d0);continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3d41a2(0x1bc)](_0x271ae4,_0x1d5a2e){const _0x5468d3=_0x3d41a2,_0x24f6d6={'PnEZy':_0x5468d3(0x1ce),'pHWie':function(_0x412276,_0x571278){return _0x412276+_0x571278;},'EPTJQ':function(_0x220073,_0x22ae29){return _0x220073+_0x22ae29;},'uWGgq':function(_0x45a56a,_0x32e753){return _0x45a56a+_0x32e753;},'fcbOh':function(_0x9d5d1f,_0x2ba229){return _0x9d5d1f+_0x2ba229;},'VFCgg':_0x5468d3(0x1f4),'WiwpS':_0x5468d3(0x220),'IIVpA':_0x5468d3(0x1e0),'ZaoEM':';\x20uin=o','KgArj':function(_0x21cdb0,_0x128f65){return _0x21cdb0||_0x128f65;},'sHIXS':function(_0x3a1959,_0x4e1eb1){return _0x3a1959+_0x4e1eb1;},'xOhDA':function(_0x58aaa3,_0x505513){return _0x58aaa3+_0x505513;},'GoNUq':function(_0x1a958d,_0x5eb887){return _0x1a958d+_0x5eb887;},'RZeZC':_0x5468d3(0x1cf),'TQFZS':'&group_code=','RKxUs':_0x5468d3(0x224),'XUCpt':_0x5468d3(0x1d6),'RnozS':function(_0x1798b8,_0x1e410f){return _0x1798b8!==_0x1e410f;}},_0x4e7ada=(await NTQQUserApi['getPSkey']([_0x24f6d6['PnEZy']]))[_0x5468d3(0x1ce)],_0x3cafb7=await NTQQUserApi[_0x5468d3(0x1c2)](),_0x1e9b00=_0x24f6d6[_0x5468d3(0x205)](_0x24f6d6['EPTJQ'](_0x24f6d6[_0x5468d3(0x21f)](_0x24f6d6[_0x5468d3(0x22f)](_0x24f6d6['VFCgg'],_0x4e7ada),_0x24f6d6[_0x5468d3(0x19a)]),_0x3cafb7)+_0x24f6d6[_0x5468d3(0x1fa)],selfInfo[_0x5468d3(0x1b6)])+_0x24f6d6[_0x5468d3(0x1ef)]+selfInfo[_0x5468d3(0x1b6)];if(_0x24f6d6[_0x5468d3(0x1d4)](!_0x3cafb7,!_0x4e7ada))return undefined;const _0x2cca55=WebApi[_0x5468d3(0x19b)](_0x3cafb7),_0x90deb3=_0x24f6d6['sHIXS'](_0x24f6d6[_0x5468d3(0x214)](_0x24f6d6[_0x5468d3(0x1ff)](_0x24f6d6[_0x5468d3(0x1c1)](_0x24f6d6['RZeZC']+_0x2cca55,_0x24f6d6['TQFZS']),_0x271ae4),_0x24f6d6[_0x5468d3(0x1e1)]),_0x1d5a2e)+_0x24f6d6[_0x5468d3(0x1c5)];let _0x3edaae;try{_0x3edaae=await RequestUtil[_0x5468d3(0x211)](_0x90deb3,_0x5468d3(0x1de),'',{'Cookie':_0x1e9b00});}catch{return undefined;}if(_0x24f6d6[_0x5468d3(0x21b)](_0x3edaae['retcode'],0x0))return undefined;return _0x3edaae;}static async[_0x3d41a2(0x1b8)](_0xe3fa18,_0x155f11=!![]){const _0x14c566=_0x3d41a2,_0x1963b8={'sNHqc':function(_0x57f6df,_0x1a2f74,_0x37d43b){return _0x57f6df(_0x1a2f74,_0x37d43b);},'sHnnn':_0x14c566(0x20e),'QKURw':_0x14c566(0x1ce),'twJeZ':function(_0x39e70a,_0x213eb3){return _0x39e70a+_0x213eb3;},'koTTn':function(_0x452c35,_0x357b20){return _0x452c35+_0x357b20;},'nExQC':'p_skey=','fYINZ':_0x14c566(0x220),'JsktM':_0x14c566(0x1e0),'jNJyf':function(_0x3f27bf,_0x446ec9){return _0x3f27bf||_0x446ec9;},'HIirG':function(_0x47eb2b,_0x1f8282){return _0x47eb2b+_0x1f8282;},'QhjLr':_0x14c566(0x1b9),'gKGNB':'&bkn=','mgnBH':_0x14c566(0x1d9),'zElXI':function(_0x1461e0,_0x2c40ce){return _0x1461e0!==_0x2c40ce;},'ORyzB':function(_0x14bd57,_0x2ee11b){return _0x14bd57<=_0x2ee11b;},'KYNfu':function(_0x3836b4,_0x3a0f39){return _0x3836b4+_0x3a0f39;},'qYoTA':function(_0x5de55b,_0x155c68){return _0x5de55b+_0x155c68;},'yvHaL':function(_0x4ed227,_0x58b381){return _0x4ed227+_0x58b381;},'qsZsx':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','smdUj':function(_0xcd3d47,_0x2623a4){return _0xcd3d47*_0x2623a4;},'JYjJP':function(_0x35f845,_0xbd739){return _0x35f845-_0xbd739;},'iyjVe':function(_0x1db61d,_0x164ef5){return _0x1db61d!==_0x164ef5;}};_0x1963b8[_0x14c566(0x1c7)](logDebug,_0x1963b8[_0x14c566(0x229)],_0xe3fa18);let _0x4e43ff=new Array();try{let _0x580bb2=WebGroupData['GroupData'][_0x14c566(0x1ed)](_0xe3fa18),_0x89f0d2=WebGroupData[_0x14c566(0x1f8)][_0x14c566(0x1ed)](_0xe3fa18);if(!_0x89f0d2||Date['now']()-_0x89f0d2>0x708*0x3e8||!_0x155f11){const _0x51a3e5=(await NTQQUserApi['getPSkey']([_0x1963b8['QKURw']]))[_0x14c566(0x1ce)],_0x32b759=await NTQQUserApi[_0x14c566(0x1c2)](),_0x320cdb=_0x1963b8[_0x14c566(0x206)](_0x1963b8['koTTn'](_0x1963b8[_0x14c566(0x1c6)](_0x1963b8[_0x14c566(0x1e7)],_0x51a3e5),_0x1963b8[_0x14c566(0x1e5)])+_0x32b759,_0x1963b8[_0x14c566(0x1ea)])+selfInfo[_0x14c566(0x1b6)];if(_0x1963b8[_0x14c566(0x1a3)](!_0x32b759,!_0x51a3e5))return _0x4e43ff;const _0x4ec011=WebApi[_0x14c566(0x19b)](_0x32b759),_0x39206c=[],_0x16ce67=await RequestUtil['HttpGetJson'](_0x1963b8[_0x14c566(0x1c6)](_0x1963b8[_0x14c566(0x1b0)](_0x1963b8[_0x14c566(0x1db)]+_0xe3fa18,_0x1963b8['gKGNB']),_0x4ec011),_0x1963b8[_0x14c566(0x196)],'',{'Cookie':_0x320cdb});if(!_0x16ce67?.[_0x14c566(0x1bd)]||_0x1963b8[_0x14c566(0x1cc)](_0x16ce67?.[_0x14c566(0x221)],0x0)||!_0x16ce67?.['mems'])return[];else for(const _0x2bddc2 in _0x16ce67[_0x14c566(0x1b7)]){_0x4e43ff[_0x14c566(0x22b)](_0x16ce67[_0x14c566(0x1b7)][_0x2bddc2]);}const _0x4efa82=Math[_0x14c566(0x217)](_0x16ce67[_0x14c566(0x1bd)]/0x28);for(let _0x2f331f=0x2;_0x1963b8[_0x14c566(0x1fc)](_0x2f331f,_0x4efa82);_0x2f331f++){const _0x474c81=RequestUtil[_0x14c566(0x211)](_0x1963b8[_0x14c566(0x206)](_0x1963b8[_0x14c566(0x1dd)](_0x1963b8['qYoTA'](_0x1963b8[_0x14c566(0x1dd)](_0x1963b8[_0x14c566(0x1dd)](_0x1963b8[_0x14c566(0x1cd)](_0x1963b8[_0x14c566(0x1e8)](_0x1963b8[_0x14c566(0x1f6)],_0x1963b8[_0x14c566(0x1d8)](_0x1963b8['JYjJP'](_0x2f331f,0x1),0x28)),_0x14c566(0x200)),_0x2f331f*0x28),_0x14c566(0x21a)),_0xe3fa18),_0x1963b8['gKGNB']),_0x4ec011),_0x1963b8[_0x14c566(0x196)],'',{'Cookie':_0x320cdb});_0x39206c[_0x14c566(0x22b)](_0x474c81);}for(let _0x369d70=0x1;_0x1963b8[_0x14c566(0x1fc)](_0x369d70,_0x4efa82);_0x369d70++){const _0x202f35=await _0x39206c[_0x369d70];if(!_0x202f35?.[_0x14c566(0x1bd)]||_0x1963b8[_0x14c566(0x1e3)](_0x202f35?.['errcode'],0x0)||!_0x202f35?.[_0x14c566(0x1b7)])continue;for(const _0x38fc3f in _0x202f35[_0x14c566(0x1b7)]){_0x4e43ff[_0x14c566(0x22b)](_0x202f35[_0x14c566(0x1b7)][_0x38fc3f]);}}WebGroupData['GroupData'][_0x14c566(0x1b4)](_0xe3fa18,_0x4e43ff),WebGroupData['GroupTime'][_0x14c566(0x1b4)](_0xe3fa18,Date[_0x14c566(0x195)]());}else _0x4e43ff=_0x580bb2;}catch{return _0x4e43ff;}return _0x4e43ff;}static async['setGroupNotice'](_0x5576ea,_0x1f1bef=''){const _0x2ba249=_0x3d41a2,_0x3a8d17={'fWxsH':_0x2ba249(0x1ce),'ajFKg':function(_0x378cae,_0x532700){return _0x378cae+_0x532700;},'vjvvm':function(_0x38872c,_0x4fd375){return _0x38872c+_0x4fd375;},'KFMES':_0x2ba249(0x1f4),'lDPmb':_0x2ba249(0x220),'mtdUn':_0x2ba249(0x1e0),'QqkVe':function(_0x1ae2a7,_0x18786e){return _0x1ae2a7||_0x18786e;},'GDtNR':function(_0x10cf50,_0x2608d4){return _0x10cf50+_0x2608d4;},'HDapc':_0x2ba249(0x209),'kckfJ':_0x2ba249(0x212),'oyGeX':'&text=','OOpTA':_0x2ba249(0x1de)},_0x4b646a=(await NTQQUserApi[_0x2ba249(0x213)]([_0x3a8d17[_0x2ba249(0x19d)]]))[_0x2ba249(0x1ce)],_0x29b6b8=await NTQQUserApi['getSkey'](),_0x5d5388=_0x3a8d17['ajFKg'](_0x3a8d17[_0x2ba249(0x222)](_0x3a8d17[_0x2ba249(0x222)](_0x3a8d17[_0x2ba249(0x222)](_0x3a8d17[_0x2ba249(0x227)](_0x3a8d17['KFMES'],_0x4b646a),_0x3a8d17[_0x2ba249(0x1f1)]),_0x29b6b8),_0x3a8d17['mtdUn']),selfInfo['uin']);let _0x1dff25=undefined;if(_0x3a8d17[_0x2ba249(0x1d2)](!_0x29b6b8,!_0x4b646a))return undefined;const _0x568663=WebApi[_0x2ba249(0x19b)](_0x29b6b8),_0x2abd91=_0x3a8d17[_0x2ba249(0x222)](_0x3a8d17['vjvvm'](_0x3a8d17['ajFKg'](_0x3a8d17[_0x2ba249(0x222)](_0x3a8d17[_0x2ba249(0x1ad)](_0x3a8d17['HDapc']+_0x5576ea,_0x3a8d17['kckfJ']),_0x568663),_0x3a8d17[_0x2ba249(0x21e)]),_0x1f1bef),_0x2ba249(0x21d)),_0xd0eb4d=_0x2ba249(0x230)+_0x568663;try{return _0x1dff25=await RequestUtil['HttpGetJson'](_0xd0eb4d,_0x3a8d17['OOpTA'],'',{'Cookie':_0x5d5388}),_0x1dff25;}catch(_0x358276){return undefined;}return undefined;}static async[_0x3d41a2(0x1ec)](_0x567217){const _0x405fba=_0x3d41a2,_0x22e3b8={'UTedK':_0x405fba(0x1ce),'fzyXH':function(_0x1351bc,_0x4bf632){return _0x1351bc+_0x4bf632;},'TvZzj':function(_0x31a988,_0x5423a7){return _0x31a988+_0x5423a7;},'keEvW':function(_0x3bd6a5,_0x35f9fd){return _0x3bd6a5+_0x35f9fd;},'dcXoV':_0x405fba(0x1f4),'tReYb':';\x20skey=','lMRzc':function(_0x169dad,_0x10c92c){return _0x169dad||_0x10c92c;},'Nuquh':function(_0x3c4ce1,_0x31a36a){return _0x3c4ce1+_0x31a36a;},'fuqmC':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','OSkHt':_0x405fba(0x201),'Zdrcw':_0x405fba(0x1fd),'PwArF':_0x405fba(0x1de),'aMAjM':function(_0x10e390,_0x380ba5){return _0x10e390!==_0x380ba5;}},_0x314ec4=(await NTQQUserApi[_0x405fba(0x213)]([_0x22e3b8[_0x405fba(0x225)]]))[_0x405fba(0x1ce)],_0x335f66=await NTQQUserApi[_0x405fba(0x1c2)](),_0x42fbaa=_0x22e3b8['fzyXH'](_0x22e3b8[_0x405fba(0x1ab)](_0x22e3b8[_0x405fba(0x203)](_0x22e3b8[_0x405fba(0x1af)],_0x314ec4)+_0x22e3b8['tReYb'],_0x335f66)+_0x405fba(0x1e0),selfInfo['uin']);let _0x3e7f0f=undefined;if(_0x22e3b8['lMRzc'](!_0x335f66,!_0x314ec4))return undefined;const _0x5d890a=WebApi[_0x405fba(0x19b)](_0x335f66),_0x150d26=_0x22e3b8[_0x405fba(0x198)](_0x22e3b8[_0x405fba(0x1ac)](_0x22e3b8['fuqmC']+_0x5d890a+_0x22e3b8[_0x405fba(0x1a7)],_0x567217),_0x22e3b8['Zdrcw']);try{_0x3e7f0f=await RequestUtil['HttpGetJson'](_0x150d26,_0x22e3b8[_0x405fba(0x218)],'',{'Cookie':_0x42fbaa});if(_0x22e3b8[_0x405fba(0x19f)](_0x3e7f0f?.['ec'],0x0))return undefined;return _0x3e7f0f;}catch(_0x22a7f2){return undefined;}return undefined;}static[_0x3d41a2(0x19b)](_0x529fa6){const _0x334346=_0x3d41a2,_0x41c38a={'GrZap':function(_0x237986,_0x239660){return _0x237986<_0x239660;},'ONMjY':function(_0x10ab57,_0x58e67b){return _0x10ab57+_0x58e67b;},'SFEwo':function(_0x2f77ea,_0x502b20){return _0x2f77ea+_0x502b20;},'GpuGc':function(_0x580893,_0x5d79cd){return _0x580893<<_0x5d79cd;},'lRZxG':function(_0x391127,_0x7d438e){return _0x391127&_0x7d438e;}};_0x529fa6=_0x529fa6||'';let _0x3679d5=0x1505;for(let _0x46c215=0x0;_0x41c38a[_0x334346(0x1e9)](_0x46c215,_0x529fa6[_0x334346(0x215)]);_0x46c215++){const _0x15586e=_0x529fa6[_0x334346(0x210)](_0x46c215);_0x3679d5=_0x41c38a[_0x334346(0x1a1)](_0x41c38a[_0x334346(0x1aa)](_0x3679d5,_0x41c38a[_0x334346(0x1a8)](_0x3679d5,0x5)),_0x15586e);}return _0x41c38a['lRZxG'](_0x3679d5,0x7fffffff)['toString']();}static async[_0x3d41a2(0x1d7)](_0xdbbb97,_0x5eef05){const _0x5ec601=_0x3d41a2,_0x26a0c5={'qzOmV':function(_0x421b40,_0x5ae2a1){return _0x421b40+_0x5ae2a1;},'GASEt':'&type=','yTsZg':_0x5ec601(0x1de),'njRWG':function(_0x14ff4b,_0x58e9fe){return _0x14ff4b===_0x58e9fe;},'iUuCr':function(_0x492fca,_0x13bf14,_0x36bed9,_0x59640e){return _0x492fca(_0x13bf14,_0x36bed9,_0x59640e);},'oVWZs':_0x5ec601(0x207),'YLGnd':_0x5ec601(0x1ce),'ZoNti':function(_0x5ef713,_0x467ab9){return _0x5ef713||_0x467ab9;},'JRFOb':function(_0x678dc,_0x1968f4){return _0x678dc+_0x1968f4;},'dPJXc':function(_0x11da20,_0x5a44bc){return _0x11da20+_0x5a44bc;},'CAfYD':function(_0x583204,_0x280686){return _0x583204+_0x280686;},'BPpQK':function(_0x308973,_0x386440){return _0x308973+_0x386440;},'tZCpb':_0x5ec601(0x1f4),'UcwoG':_0x5ec601(0x220),'NkLNT':_0x5ec601(0x1e0),'sWHgN':';\x20uin=o','KNlao':function(_0x5ef1ad,_0x2b6e6c){return _0x5ef1ad===_0x2b6e6c;},'KdVDe':_0x5ec601(0x1ae),'ugFEP':function(_0x37b6e5,_0x5be04e){return _0x37b6e5(_0x5be04e);},'ewBud':function(_0x595f58,_0x3b5fdb){return _0x595f58===_0x3b5fdb;},'pcNdI':function(_0x513372,_0x11f3f2){return _0x513372===_0x11f3f2;},'PXUrO':function(_0x5c0586,_0x3a9b94,_0x3e6437){return _0x5c0586(_0x3a9b94,_0x3e6437);},'nfbwP':function(_0x4ee037,_0x4cd070,_0x46749e){return _0x4ee037(_0x4cd070,_0x46749e);},'sFEfk':function(_0x271062,_0x2b3c70,_0x2da2c9){return _0x271062(_0x2b3c70,_0x2da2c9);},'vzkNa':_0x5ec601(0x1f3),'wiBcu':function(_0x45589b,_0x2473f8){return _0x45589b===_0x2473f8;},'HDEDE':'获取快乐源泉失败','MOhTo':function(_0x1d9450,_0x2865ee){return _0x1d9450===_0x2865ee;}},_0x2c07e5=(await NTQQUserApi[_0x5ec601(0x213)](['qun.qq.com']))[_0x26a0c5['YLGnd']],_0x58632c=await NTQQUserApi['getSkey']();if(_0x26a0c5[_0x5ec601(0x1c3)](!_0x58632c,!_0x2c07e5))return undefined;async function _0x3e95f1(_0x9dbd31,_0x19007c){const _0x446ed2=_0x5ec601;let _0x836960=_0x26a0c5[_0x446ed2(0x1ca)](_0x26a0c5['qzOmV'](_0x26a0c5[_0x446ed2(0x1ca)](_0x446ed2(0x20f),_0x9dbd31),_0x26a0c5['GASEt']),_0x19007c[_0x446ed2(0x1e2)]()),_0x3caa84='',_0x5de7d9;try{_0x3caa84=await RequestUtil['HttpGetText'](_0x836960,_0x26a0c5['yTsZg'],'',{'Cookie':_0x281d8a});const _0x1412eb=_0x3caa84[_0x446ed2(0x21c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x1412eb&&(_0x5de7d9=JSON[_0x446ed2(0x1c4)](_0x1412eb[0x1][_0x446ed2(0x1b3)]())),_0x26a0c5[_0x446ed2(0x1d5)](_0x19007c,0x1)?_0x5de7d9?.['talkativeList']:_0x5de7d9?.['actorList'];}catch(_0x19ae63){_0x26a0c5[_0x446ed2(0x1f2)](logDebug,_0x26a0c5[_0x446ed2(0x1dc)],_0x836960,_0x19ae63);}return undefined;}let _0x58cb53={'group_id':_0xdbbb97};const _0x281d8a=_0x26a0c5[_0x5ec601(0x1f0)](_0x26a0c5[_0x5ec601(0x1f0)](_0x26a0c5[_0x5ec601(0x197)](_0x26a0c5[_0x5ec601(0x1a4)](_0x26a0c5[_0x5ec601(0x1df)](_0x26a0c5['tZCpb']+_0x2c07e5,_0x26a0c5[_0x5ec601(0x1f7)]),_0x58632c)+_0x26a0c5[_0x5ec601(0x1e6)],selfInfo[_0x5ec601(0x1b6)]),_0x26a0c5[_0x5ec601(0x1da)]),selfInfo[_0x5ec601(0x1b6)]);if(_0x26a0c5[_0x5ec601(0x204)](_0x5eef05,WebHonorType[_0x5ec601(0x1ba)])||_0x26a0c5['njRWG'](_0x5eef05,WebHonorType[_0x5ec601(0x1cb)]))try{let _0x18f554=await _0x3e95f1(_0xdbbb97,0x1);if(!_0x18f554)throw new Error(_0x26a0c5[_0x5ec601(0x1f9)]);_0x58cb53['current_talkative']={'user_id':_0x18f554[0x0]?.['uin'],'avatar':_0x18f554[0x0]?.[_0x5ec601(0x20a)],'nickname':_0x18f554[0x0]?.[_0x5ec601(0x1a6)],'day_count':0x0,'description':_0x18f554[0x0]?.[_0x5ec601(0x1d1)]},_0x58cb53[_0x5ec601(0x19c)]=[];for(const _0x117b26 of _0x18f554){_0x58cb53[_0x5ec601(0x19c)]['push']({'user_id':_0x117b26?.[_0x5ec601(0x1b6)],'avatar':_0x117b26?.[_0x5ec601(0x20a)],'description':_0x117b26?.['desc'],'day_count':0x0,'nickname':_0x117b26?.[_0x5ec601(0x1a6)]});}}catch(_0x273b19){_0x26a0c5[_0x5ec601(0x1b5)](logDebug,_0x273b19);}if(_0x26a0c5[_0x5ec601(0x1e4)](_0x5eef05,WebHonorType[_0x5ec601(0x1b2)])||_0x26a0c5[_0x5ec601(0x226)](_0x5eef05,WebHonorType[_0x5ec601(0x1cb)]))try{let _0x5660f8=await _0x26a0c5[_0x5ec601(0x19e)](_0x3e95f1,_0xdbbb97,0x2);if(!_0x5660f8)throw new Error('获取群聊之火失败');_0x58cb53[_0x5ec601(0x20c)]=[];for(const _0x131dee of _0x5660f8){_0x58cb53[_0x5ec601(0x20c)][_0x5ec601(0x22b)]({'user_id':_0x131dee?.[_0x5ec601(0x1b6)],'nickname':_0x131dee?.[_0x5ec601(0x1a6)],'avatar':_0x131dee?.[_0x5ec601(0x20a)],'description':_0x131dee?.['desc']});}}catch(_0x3938f2){logDebug(_0x3938f2);}if(_0x5eef05===WebHonorType[_0x5ec601(0x1b2)]||_0x26a0c5[_0x5ec601(0x1d5)](_0x5eef05,WebHonorType[_0x5ec601(0x1cb)]))try{let _0x352de1=await _0x26a0c5[_0x5ec601(0x231)](_0x3e95f1,_0xdbbb97,0x3);if(!_0x352de1)throw new Error(_0x5ec601(0x1f3));_0x58cb53['legend_list']=[];for(const _0x3aead8 of _0x352de1){_0x58cb53['legend_list']['push']({'user_id':_0x3aead8?.[_0x5ec601(0x1b6)],'nickname':_0x3aead8?.[_0x5ec601(0x1a6)],'avatar':_0x3aead8?.[_0x5ec601(0x20a)],'desc':_0x3aead8?.[_0x5ec601(0x216)]});}}catch(_0x3ef4aa){_0x26a0c5[_0x5ec601(0x22a)](logDebug,_0x26a0c5[_0x5ec601(0x1a0)],_0x3ef4aa);}if(_0x26a0c5['KNlao'](_0x5eef05,WebHonorType[_0x5ec601(0x1b1)])||_0x26a0c5[_0x5ec601(0x1c8)](_0x5eef05,WebHonorType['ALL']))try{let _0x2df5e2=await _0x26a0c5[_0x5ec601(0x22a)](_0x3e95f1,_0xdbbb97,0x6);if(!_0x2df5e2)throw new Error(_0x26a0c5[_0x5ec601(0x22e)]);_0x58cb53['emotion_list']=[];for(const _0xbb7fa8 of _0x2df5e2){_0x58cb53['emotion_list'][_0x5ec601(0x22b)]({'user_id':_0xbb7fa8?.[_0x5ec601(0x1b6)],'nickname':_0xbb7fa8?.[_0x5ec601(0x1a6)],'avatar':_0xbb7fa8?.[_0x5ec601(0x20a)],'desc':_0xbb7fa8?.[_0x5ec601(0x216)]});}}catch(_0x2dc645){logDebug(_0x26a0c5['HDEDE'],_0x2dc645);}return(_0x26a0c5['MOhTo'](_0x5eef05,WebHonorType[_0x5ec601(0x1b1)])||_0x5eef05===WebHonorType[_0x5ec601(0x1cb)])&&(_0x58cb53[_0x5ec601(0x22d)]=[]),_0x58cb53;}} \ No newline at end of file +function _0x2a13(_0x340554,_0xc1511b){const _0x3d2e9c=_0x3d2e();return _0x2a13=function(_0x2a136b,_0x330313){_0x2a136b=_0x2a136b-0x131;let _0xea7009=_0x3d2e9c[_0x2a136b];return _0xea7009;},_0x2a13(_0x340554,_0xc1511b);}const _0x1e9a6c=_0x2a13;(function(_0x2153c1,_0xd0c74){const _0xc3963f=_0x2a13,_0x986b7d=_0x2153c1();while(!![]){try{const _0x45e186=-parseInt(_0xc3963f(0x1a8))/0x1+parseInt(_0xc3963f(0x148))/0x2+-parseInt(_0xc3963f(0x176))/0x3*(-parseInt(_0xc3963f(0x19f))/0x4)+-parseInt(_0xc3963f(0x1b2))/0x5*(-parseInt(_0xc3963f(0x1c0))/0x6)+-parseInt(_0xc3963f(0x156))/0x7+-parseInt(_0xc3963f(0x1ad))/0x8*(-parseInt(_0xc3963f(0x140))/0x9)+-parseInt(_0xc3963f(0x15e))/0xa*(-parseInt(_0xc3963f(0x160))/0xb);if(_0x45e186===_0xd0c74)break;else _0x986b7d['push'](_0x986b7d['shift']());}catch(_0x3296ea){_0x986b7d['push'](_0x986b7d['shift']());}}}(_0x3d2e,0x32940));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x3d2e(){const _0x34dab2=['CrIpT','push','XNHgP','KnbSu','&qid=','retcode','mdFuP','Uwydi','2096591KhdaCO','TbQdN','getPSkey','get','HttpGetText','emotion_list','eqpFV','TALKACTIVE','152140kVRzJZ','name','11DNsSfN',';\x20uin=o','&page_start=','https://qun.qq.com/interactive/honorlist?gc=','MZeGL','ayrdr','VakxC','bXpjY','ZFGkV','nXODf','strong_newbie','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','count','qun.qq.com','RMDEZ','parse','XtjiZ','ezQjW','UvPEd','now','GZxie','emotion','9bdzYfp','mems','actorList','RqyYe','获取群聊炽焰失败','CcRwk','lbgLq','cbrcW','KsTfa','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','STORONGE_NEWBI','mNxRE','pfpVD','eKQce','current_talkative','TeHOD','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','IAeYO','HUBye','genBkn','获取群聊之火失败','oMgOt','getSkey','ybLhA','ADrvx','uwbMe',';\x20p_uin=o','XVVLD','match','QEmxI','&end=','ALL','WWcwJ','getGroupMembers','EuYQf','&type=','length','gskXR','ebnSZ','获取快乐源泉失败','EMOTION','68844PwPFTh','PfDaN','&bkn=','GET','YkhpY','strong_newbie_list','qgAWm','lWWwc','xMerW','15043gcXQpN','webapi\x20获取群成员','dJHdo','获取龙王信息失败','p_skey=','122672gIDApa','&page_limit=20','RUUWr','ibYmW','MpJjA','1791965jNnuAI','fwptz','&text=','CyUhW','desc','split','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','FJuzj','tzqdx','legend_list','uin','XRsPM','toString','QsNUC','6oNjYoT','获取当前群荣耀失败','set','&sort=1&gc=','ceil','getGroupHonorInfo','PERFROMER','ZemgD','all','kwJpP','MMosD','cuyBT','aSnKr','setGroupNotice','lRHhI','performer_list','GroupTime','VtMVz','description','hipaI','getGrouptNotice','jWiBq','POST','TWsvX','3|2|5|0|4|1','ZXMnz','fSBPi','wRXJJ','ZhkzD','LEGEND','Rsufr','Dcxsi','&group_code=','27Hmzgfb','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','dzAEe','qid=','avatar','Ntfbf','talkativeList','HttpGetJson','100964tNCNrq',';\x20skey=','GspXJ','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','talkative_list','ksIcj'];_0x3d2e=function(){return _0x34dab2;};return _0x3d2e();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x20435e){const _0x467226=_0x2a13,_0x2506c2={'lLXPB':_0x467226(0x137),'rVMYf':_0x467226(0x13c),'MpJjA':'legend','LDReu':_0x467226(0x19e),'ZhkzD':_0x467226(0x175),'WMLwt':'TALKACTIVE','nXODf':_0x467226(0x1c8),'ayrdr':_0x467226(0x180),'cbrcW':'performer'},_0x7076d9=_0x2506c2['lLXPB'][_0x467226(0x1b7)]('|');let _0x192f47=0x0;while(!![]){switch(_0x7076d9[_0x192f47++]){case'0':_0x20435e[_0x2506c2['rVMYf']]=_0x2506c2[_0x467226(0x1b1)];continue;case'1':_0x20435e[_0x2506c2['LDReu']]=_0x2506c2[_0x467226(0x13b)];continue;case'2':_0x20435e[_0x2506c2['WMLwt']]='talkative';continue;case'3':_0x20435e['ALL']=_0x2506c2[_0x467226(0x169)];continue;case'4':_0x20435e[_0x2506c2[_0x467226(0x165)]]=_0x467226(0x16a);continue;case'5':_0x20435e['PERFROMER']=_0x2506c2[_0x467226(0x17d)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x3ccaa8,_0x2f29a8){const _0x573dfe=_0x2a13,_0x2a032a={'Dcxsi':_0x573dfe(0x16d),'mdFuP':function(_0x205ec1,_0x280d1f){return _0x205ec1+_0x280d1f;},'Rwsdx':function(_0x573778,_0x1a3b64){return _0x573778+_0x1a3b64;},'MZeGL':function(_0xb2fccc,_0x4626f2){return _0xb2fccc+_0x4626f2;},'XRsPM':function(_0x4f325d,_0x16eef2){return _0x4f325d+_0x16eef2;},'YGOyO':_0x573dfe(0x1ac),'qjuNP':function(_0x291996,_0x4e95c1){return _0x291996||_0x4e95c1;},'YkhpY':function(_0x569a45,_0x156438){return _0x569a45+_0x156438;},'ebnSZ':function(_0x317eff,_0x40cbae){return _0x317eff+_0x40cbae;},'yYzUf':_0x573dfe(0x17f),'RUUWr':_0x573dfe(0x13f),'CyUhW':_0x573dfe(0x162),'KnbSu':_0x573dfe(0x1a2)},_0x3435a6=(await NTQQUserApi[_0x573dfe(0x158)]([_0x573dfe(0x16d)]))[_0x2a032a[_0x573dfe(0x13e)]],_0x26a431=await NTQQUserApi['getSkey'](),_0x3e9eb5=_0x2a032a[_0x573dfe(0x154)](_0x2a032a[_0x573dfe(0x154)](_0x2a032a['Rwsdx'](_0x2a032a[_0x573dfe(0x154)](_0x2a032a[_0x573dfe(0x164)](_0x2a032a[_0x573dfe(0x1bd)](_0x2a032a['YGOyO'],_0x3435a6),_0x573dfe(0x149))+_0x26a431,';\x20p_uin=o'),selfInfo['uin']),_0x573dfe(0x161)),selfInfo[_0x573dfe(0x1bc)]);if(_0x2a032a['qjuNP'](!_0x26a431,!_0x3435a6))return undefined;const _0x47d2ab=WebApi[_0x573dfe(0x189)](_0x26a431),_0x2291bc=_0x2a032a['XRsPM'](_0x2a032a['XRsPM'](_0x2a032a[_0x573dfe(0x1a3)](_0x2a032a[_0x573dfe(0x19c)](_0x2a032a['yYzUf']+_0x47d2ab+_0x2a032a[_0x573dfe(0x1af)],_0x3ccaa8),_0x2a032a[_0x573dfe(0x1b5)]),_0x2f29a8),_0x573dfe(0x1ae));let _0x3465d7;try{_0x3465d7=await RequestUtil['HttpGetJson'](_0x2291bc,_0x2a032a[_0x573dfe(0x151)],'',{'Cookie':_0x3e9eb5});}catch{return undefined;}if(_0x3465d7[_0x573dfe(0x153)]!==0x0)return undefined;return _0x3465d7;}static async[_0x1e9a6c(0x197)](_0x3303e3,_0x5602c4=!![]){const _0x186032=_0x1e9a6c,_0x158e51={'RqyYe':_0x186032(0x1a9),'ZemgD':function(_0x499965,_0x4559d9){return _0x499965>_0x4559d9;},'UvPEd':function(_0x420972,_0x552b0e){return _0x420972-_0x552b0e;},'Ntfbf':function(_0x94d943,_0x2f166){return _0x94d943*_0x2f166;},'hqBSp':'qun.qq.com','iRuye':function(_0xe3a618,_0xd2e711){return _0xe3a618+_0xd2e711;},'MMosD':function(_0x4e9af4,_0x37757b){return _0x4e9af4+_0x37757b;},'eqpFV':function(_0x1638f0,_0x3f7ee7){return _0x1638f0+_0x3f7ee7;},'VRjkG':function(_0x21f005,_0x1e9eea){return _0x21f005+_0x1e9eea;},'ZFGkV':_0x186032(0x1ac),'PfDaN':';\x20skey=','GspXJ':function(_0x10c13e,_0x1d178f){return _0x10c13e||_0x1d178f;},'XNHgP':function(_0x1733e0,_0x113a3a){return _0x1733e0+_0x113a3a;},'ADrvx':_0x186032(0x16b),'ycMAg':_0x186032(0x135),'xMerW':function(_0x5dfda0,_0x691db0){return _0x5dfda0!==_0x691db0;},'EuYQf':function(_0x9afdd4,_0x296a99){return _0x9afdd4+_0x296a99;},'gskXR':function(_0x3855fd,_0x5a32b8){return _0x3855fd+_0x5a32b8;},'FJuzj':function(_0x471d04,_0xfb8fb7){return _0x471d04+_0xfb8fb7;},'Igfac':function(_0x272760,_0x5ea32e){return _0x272760+_0x5ea32e;},'lRHhI':function(_0x385205,_0x45db37){return _0x385205+_0x45db37;},'tzqdx':_0x186032(0x14b),'VtMVz':function(_0x3f5b28,_0x360f64){return _0x3f5b28*_0x360f64;},'VakxC':function(_0x19cb54,_0x5e77fa){return _0x19cb54-_0x5e77fa;},'ezQjW':_0x186032(0x1c3),'qgAWm':_0x186032(0x1a1),'wRXJJ':function(_0x308973,_0x5938af){return _0x308973<=_0x5938af;}};logDebug(_0x158e51[_0x186032(0x179)],_0x3303e3);let _0x42c2bf=new Array();try{let _0x49fd31=WebGroupData['GroupData']['get'](_0x3303e3),_0x32aa67=WebGroupData[_0x186032(0x1d0)][_0x186032(0x159)](_0x3303e3);if(!_0x32aa67||_0x158e51[_0x186032(0x1c7)](_0x158e51[_0x186032(0x172)](Date[_0x186032(0x173)](),_0x32aa67),_0x158e51[_0x186032(0x145)](0x708,0x3e8))||!_0x5602c4){const _0x5b9f99=(await NTQQUserApi[_0x186032(0x158)]([_0x158e51['hqBSp']]))['qun.qq.com'],_0x3d351b=await NTQQUserApi[_0x186032(0x18c)](),_0x19433b=_0x158e51['iRuye'](_0x158e51[_0x186032(0x1ca)](_0x158e51[_0x186032(0x15c)](_0x158e51['VRjkG'](_0x158e51[_0x186032(0x168)],_0x5b9f99),_0x158e51[_0x186032(0x1a0)])+_0x3d351b,_0x186032(0x190)),selfInfo[_0x186032(0x1bc)]);if(_0x158e51[_0x186032(0x14a)](!_0x3d351b,!_0x5b9f99))return _0x42c2bf;const _0x25f5b5=WebApi['genBkn'](_0x3d351b),_0x1110d9=[],_0x4ad422=await RequestUtil[_0x186032(0x147)](_0x158e51['eqpFV'](_0x158e51[_0x186032(0x15c)](_0x158e51[_0x186032(0x150)](_0x158e51[_0x186032(0x18e)],_0x3303e3),'&bkn='),_0x25f5b5),_0x158e51['ycMAg'],'',{'Cookie':_0x19433b});if(!_0x4ad422?.['count']||_0x158e51[_0x186032(0x1a7)](_0x4ad422?.['errcode'],0x0)||!_0x4ad422?.['mems'])return[];else for(const _0xcbf0e0 in _0x4ad422[_0x186032(0x177)]){_0x42c2bf[_0x186032(0x14f)](_0x4ad422[_0x186032(0x177)][_0xcbf0e0]);}const _0x35633e=Math[_0x186032(0x1c4)](_0x4ad422[_0x186032(0x16c)]/0x28);for(let _0x4b1aec=0x2;_0x4b1aec<=_0x35633e;_0x4b1aec++){const _0x124c54=RequestUtil[_0x186032(0x147)](_0x158e51[_0x186032(0x198)](_0x158e51[_0x186032(0x198)](_0x158e51[_0x186032(0x19b)](_0x158e51[_0x186032(0x1b9)](_0x158e51['Igfac'](_0x158e51[_0x186032(0x1ce)](_0x158e51[_0x186032(0x1ba)],_0x158e51[_0x186032(0x1d1)](_0x158e51[_0x186032(0x166)](_0x4b1aec,0x1),0x28))+_0x186032(0x194),_0x158e51['VtMVz'](_0x4b1aec,0x28)),_0x158e51[_0x186032(0x171)]),_0x3303e3),_0x158e51[_0x186032(0x1a5)]),_0x25f5b5),'POST','',{'Cookie':_0x19433b});_0x1110d9[_0x186032(0x14f)](_0x124c54);}for(let _0x50c01a=0x1;_0x158e51[_0x186032(0x13a)](_0x50c01a,_0x35633e);_0x50c01a++){const _0x995dd3=await _0x1110d9[_0x50c01a];if(!_0x995dd3?.[_0x186032(0x16c)]||_0x158e51[_0x186032(0x1a7)](_0x995dd3?.['errcode'],0x0)||!_0x995dd3?.[_0x186032(0x177)])continue;for(const _0x242f8e in _0x995dd3['mems']){_0x42c2bf[_0x186032(0x14f)](_0x995dd3['mems'][_0x242f8e]);}}WebGroupData['GroupData'][_0x186032(0x1c2)](_0x3303e3,_0x42c2bf),WebGroupData[_0x186032(0x1d0)]['set'](_0x3303e3,Date['now']());}else _0x42c2bf=_0x49fd31;}catch{return _0x42c2bf;}return _0x42c2bf;}static async[_0x1e9a6c(0x1cd)](_0x4d757c,_0x56cc39=''){const _0x18be74=_0x1e9a6c,_0xb3d92a={'GZxie':_0x18be74(0x16d),'ksIcj':function(_0x2f77d8,_0x334cb5){return _0x2f77d8+_0x334cb5;},'jWiBq':'p_skey=','hpUNx':_0x18be74(0x149),'XtjiZ':_0x18be74(0x190),'dJHdo':function(_0x5b436a,_0x5ad17d){return _0x5b436a||_0x5ad17d;},'jUbBt':_0x18be74(0x143),'ibYmW':_0x18be74(0x1b4),'TbQdN':_0x18be74(0x141),'Uwydi':_0x18be74(0x1b8),'PMNYN':_0x18be74(0x1a2)},_0x36ea87=(await NTQQUserApi[_0x18be74(0x158)]([_0xb3d92a[_0x18be74(0x174)]]))[_0xb3d92a[_0x18be74(0x174)]],_0x25e155=await NTQQUserApi[_0x18be74(0x18c)](),_0x19d107=_0xb3d92a[_0x18be74(0x14d)](_0xb3d92a['ksIcj'](_0xb3d92a[_0x18be74(0x14d)](_0xb3d92a[_0x18be74(0x14d)](_0xb3d92a[_0x18be74(0x134)],_0x36ea87),_0xb3d92a['hpUNx'])+_0x25e155,_0xb3d92a[_0x18be74(0x170)]),selfInfo[_0x18be74(0x1bc)]);let _0x1bc803=undefined;if(_0xb3d92a[_0x18be74(0x1aa)](!_0x25e155,!_0x36ea87))return undefined;const _0x59b4ba=WebApi[_0x18be74(0x189)](_0x25e155),_0x567bf5=_0xb3d92a[_0x18be74(0x14d)](_0xb3d92a[_0x18be74(0x14d)](_0xb3d92a[_0x18be74(0x14d)](_0xb3d92a['ksIcj'](_0xb3d92a['jUbBt']+_0x4d757c+_0x18be74(0x1a1),_0x59b4ba),_0xb3d92a[_0x18be74(0x1b0)]),_0x56cc39),_0xb3d92a[_0x18be74(0x157)]),_0x221a34=_0xb3d92a[_0x18be74(0x14d)](_0xb3d92a[_0x18be74(0x155)],_0x59b4ba);try{return _0x1bc803=await RequestUtil['HttpGetJson'](_0x221a34,_0xb3d92a['PMNYN'],'',{'Cookie':_0x19d107}),_0x1bc803;}catch(_0x44a396){return undefined;}return undefined;}static async[_0x1e9a6c(0x133)](_0x40e678){const _0x3428bd=_0x1e9a6c,_0x9fbd={'CcRwk':function(_0x14ae98,_0x40186d){return _0x14ae98+_0x40186d;},'mdSiO':function(_0x428fcb,_0x62beec){return _0x428fcb+_0x62beec;},'cCPXv':'p_skey=','pfpVD':';\x20skey=','JzWhp':_0x3428bd(0x190),'fSBPi':function(_0x409f06,_0x259aed){return _0x409f06||_0x259aed;},'aSnKr':function(_0xfed713,_0x543fce){return _0xfed713+_0x543fce;},'Rsufr':_0x3428bd(0x186),'lWWwc':_0x3428bd(0x152),'lbgLq':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','HVRZk':_0x3428bd(0x1a2),'dDOva':function(_0xca5abd,_0xe02a24){return _0xca5abd!==_0xe02a24;}},_0x1f7852=(await NTQQUserApi[_0x3428bd(0x158)]([_0x3428bd(0x16d)]))[_0x3428bd(0x16d)],_0x49b7ba=await NTQQUserApi[_0x3428bd(0x18c)](),_0x4a3ef9=_0x9fbd['CcRwk'](_0x9fbd[_0x3428bd(0x17b)](_0x9fbd[_0x3428bd(0x17b)](_0x9fbd['mdSiO'](_0x9fbd['cCPXv'],_0x1f7852),_0x9fbd[_0x3428bd(0x182)])+_0x49b7ba,_0x9fbd['JzWhp']),selfInfo[_0x3428bd(0x1bc)]);let _0x5e99e6=undefined;if(_0x9fbd[_0x3428bd(0x139)](!_0x49b7ba,!_0x1f7852))return undefined;const _0x25fae5=WebApi['genBkn'](_0x49b7ba),_0x4e7c68=_0x9fbd['mdSiO'](_0x9fbd['CcRwk'](_0x9fbd[_0x3428bd(0x1cc)](_0x9fbd[_0x3428bd(0x13d)]+_0x25fae5,_0x9fbd[_0x3428bd(0x1a6)]),_0x40e678),_0x9fbd[_0x3428bd(0x17c)]);try{_0x5e99e6=await RequestUtil['HttpGetJson'](_0x4e7c68,_0x9fbd['HVRZk'],'',{'Cookie':_0x4a3ef9});if(_0x9fbd['dDOva'](_0x5e99e6?.['ec'],0x0))return undefined;return _0x5e99e6;}catch(_0x129b2a){return undefined;}return undefined;}static[_0x1e9a6c(0x189)](_0x23664c){const _0x51ae16=_0x1e9a6c,_0x460e32={'fwptz':function(_0x4a0a57,_0x42f4b6){return _0x4a0a57||_0x42f4b6;},'KsTfa':function(_0x2c8a79,_0x1bcd4a){return _0x2c8a79<_0x1bcd4a;},'IAeYO':function(_0x509b02,_0x20783e){return _0x509b02+_0x20783e;},'eKQce':function(_0x28aa70,_0x5a2e70){return _0x28aa70<<_0x5a2e70;}};_0x23664c=_0x460e32[_0x51ae16(0x1b3)](_0x23664c,'');let _0x269b44=0x1505;for(let _0x9104db=0x0;_0x460e32[_0x51ae16(0x17e)](_0x9104db,_0x23664c[_0x51ae16(0x19a)]);_0x9104db++){const _0x40a875=_0x23664c['charCodeAt'](_0x9104db);_0x269b44=_0x460e32[_0x51ae16(0x187)](_0x460e32['IAeYO'](_0x269b44,_0x460e32[_0x51ae16(0x183)](_0x269b44,0x5)),_0x40a875);}return(_0x269b44&0x7fffffff)['toString']();}static async[_0x1e9a6c(0x1c5)](_0x3b5f69,_0x599b90){const _0x1d8885=_0x1e9a6c,_0xf29ecf={'XVVLD':function(_0x501dc4,_0x1b89f0){return _0x501dc4+_0x1b89f0;},'TWsvX':function(_0x5f4161,_0x4c34a1){return _0x5f4161+_0x4c34a1;},'ZXMnz':_0x1d8885(0x163),'DqPSf':_0x1d8885(0x199),'bXpjY':'GET','QsNUC':function(_0x4c14d9,_0x4df434){return _0x4c14d9===_0x4df434;},'sonJn':_0x1d8885(0x1c1),'mNxRE':_0x1d8885(0x16d),'kwJpP':function(_0x4a5389,_0x1b7a1f){return _0x4a5389||_0x1b7a1f;},'ybLhA':function(_0x12aebf,_0x578018){return _0x12aebf+_0x578018;},'pyukz':_0x1d8885(0x1ac),'cuyBT':_0x1d8885(0x149),'QEmxI':';\x20p_uin=o','dzAEe':function(_0x4f38bd,_0x478af8,_0xd0c156){return _0x4f38bd(_0x478af8,_0xd0c156);},'hipaI':_0x1d8885(0x1ab),'CrIpT':function(_0x3d9100,_0x26e7d0){return _0x3d9100(_0x26e7d0);},'RMDEZ':function(_0x21653f,_0x14b0ba){return _0x21653f(_0x14b0ba);},'TeHOD':_0x1d8885(0x17a),'klVmI':function(_0x322004,_0x418bca){return _0x322004===_0x418bca;},'HUBye':function(_0x4dfc6a,_0x53c03d,_0x16617c){return _0x4dfc6a(_0x53c03d,_0x16617c);},'oMgOt':_0x1d8885(0x19d),'uwbMe':function(_0x2d79cf,_0x15578b){return _0x2d79cf===_0x15578b;},'WWcwJ':function(_0x52fb06,_0x4b03d1){return _0x52fb06===_0x4b03d1;}},_0xae06d9=(await NTQQUserApi[_0x1d8885(0x158)]([_0xf29ecf['mNxRE']]))[_0xf29ecf[_0x1d8885(0x181)]],_0x1f6adc=await NTQQUserApi[_0x1d8885(0x18c)]();if(_0xf29ecf[_0x1d8885(0x1c9)](!_0x1f6adc,!_0xae06d9))return undefined;async function _0x2dfc15(_0x1679bd,_0x2b9dca){const _0x4d90db=_0x1d8885;let _0x1fe4b9=_0xf29ecf[_0x4d90db(0x191)](_0xf29ecf[_0x4d90db(0x191)](_0xf29ecf[_0x4d90db(0x136)](_0xf29ecf[_0x4d90db(0x138)],_0x1679bd),_0xf29ecf['DqPSf']),_0x2b9dca[_0x4d90db(0x1be)]()),_0x15927b='',_0x4d1b88;try{_0x15927b=await RequestUtil[_0x4d90db(0x15a)](_0x1fe4b9,_0xf29ecf[_0x4d90db(0x167)],'',{'Cookie':_0xf242f9});const _0x4b27e7=_0x15927b[_0x4d90db(0x192)](/window\.__INITIAL_STATE__=(.*?);/);return _0x4b27e7&&(_0x4d1b88=JSON[_0x4d90db(0x16f)](_0x4b27e7[0x1]['trim']())),_0xf29ecf[_0x4d90db(0x1bf)](_0x2b9dca,0x1)?_0x4d1b88?.[_0x4d90db(0x146)]:_0x4d1b88?.[_0x4d90db(0x178)];}catch(_0x5c28e1){logDebug(_0xf29ecf['sonJn'],_0x1fe4b9,_0x5c28e1);}return undefined;}let _0x403103={'group_id':_0x3b5f69};const _0xf242f9=_0xf29ecf[_0x1d8885(0x136)](_0xf29ecf['XVVLD'](_0xf29ecf['XVVLD'](_0xf29ecf[_0x1d8885(0x191)](_0xf29ecf['XVVLD'](_0xf29ecf[_0x1d8885(0x136)](_0xf29ecf[_0x1d8885(0x18d)](_0xf29ecf['pyukz'],_0xae06d9),_0xf29ecf[_0x1d8885(0x1cb)]),_0x1f6adc),_0xf29ecf[_0x1d8885(0x193)]),selfInfo[_0x1d8885(0x1bc)]),_0x1d8885(0x161)),selfInfo[_0x1d8885(0x1bc)]);if(_0x599b90===WebHonorType[_0x1d8885(0x15d)]||_0xf29ecf[_0x1d8885(0x1bf)](_0x599b90,WebHonorType[_0x1d8885(0x195)]))try{let _0x268b95=await _0xf29ecf[_0x1d8885(0x142)](_0x2dfc15,_0x3b5f69,0x1);if(!_0x268b95)throw new Error(_0xf29ecf[_0x1d8885(0x132)]);_0x403103[_0x1d8885(0x184)]={'user_id':_0x268b95[0x0]?.[_0x1d8885(0x1bc)],'avatar':_0x268b95[0x0]?.[_0x1d8885(0x144)],'nickname':_0x268b95[0x0]?.[_0x1d8885(0x15f)],'day_count':0x0,'description':_0x268b95[0x0]?.['desc']},_0x403103[_0x1d8885(0x14c)]=[];for(const _0x32cfee of _0x268b95){_0x403103[_0x1d8885(0x14c)]['push']({'user_id':_0x32cfee?.[_0x1d8885(0x1bc)],'avatar':_0x32cfee?.['avatar'],'description':_0x32cfee?.['desc'],'day_count':0x0,'nickname':_0x32cfee?.[_0x1d8885(0x15f)]});}}catch(_0x2f4581){_0xf29ecf[_0x1d8885(0x14e)](logDebug,_0x2f4581);}if(_0xf29ecf[_0x1d8885(0x1bf)](_0x599b90,WebHonorType[_0x1d8885(0x1c6)])||_0xf29ecf[_0x1d8885(0x1bf)](_0x599b90,WebHonorType[_0x1d8885(0x195)]))try{let _0x2a7bc1=await _0x2dfc15(_0x3b5f69,0x2);if(!_0x2a7bc1)throw new Error(_0x1d8885(0x18a));_0x403103[_0x1d8885(0x1cf)]=[];for(const _0x2f4ed6 of _0x2a7bc1){_0x403103[_0x1d8885(0x1cf)]['push']({'user_id':_0x2f4ed6?.['uin'],'nickname':_0x2f4ed6?.[_0x1d8885(0x15f)],'avatar':_0x2f4ed6?.[_0x1d8885(0x144)],'description':_0x2f4ed6?.[_0x1d8885(0x1b6)]});}}catch(_0x348cbd){_0xf29ecf[_0x1d8885(0x16e)](logDebug,_0x348cbd);}if(_0xf29ecf['QsNUC'](_0x599b90,WebHonorType[_0x1d8885(0x1c6)])||_0x599b90===WebHonorType[_0x1d8885(0x195)])try{let _0x53dd03=await _0x2dfc15(_0x3b5f69,0x3);if(!_0x53dd03)throw new Error(_0xf29ecf[_0x1d8885(0x185)]);_0x403103[_0x1d8885(0x1bb)]=[];for(const _0x118237 of _0x53dd03){_0x403103[_0x1d8885(0x1bb)][_0x1d8885(0x14f)]({'user_id':_0x118237?.['uin'],'nickname':_0x118237?.['name'],'avatar':_0x118237?.['avatar'],'desc':_0x118237?.['description']});}}catch(_0x3e6ad5){logDebug(_0xf29ecf[_0x1d8885(0x185)],_0x3e6ad5);}if(_0x599b90===WebHonorType['EMOTION']||_0xf29ecf['klVmI'](_0x599b90,WebHonorType[_0x1d8885(0x195)]))try{let _0x599e31=await _0x2dfc15(_0x3b5f69,0x6);if(!_0x599e31)throw new Error('获取快乐源泉失败');_0x403103[_0x1d8885(0x15b)]=[];for(const _0x46e807 of _0x599e31){_0x403103['emotion_list'][_0x1d8885(0x14f)]({'user_id':_0x46e807?.[_0x1d8885(0x1bc)],'nickname':_0x46e807?.[_0x1d8885(0x15f)],'avatar':_0x46e807?.[_0x1d8885(0x144)],'desc':_0x46e807?.[_0x1d8885(0x131)]});}}catch(_0x147f6b){_0xf29ecf[_0x1d8885(0x188)](logDebug,_0xf29ecf[_0x1d8885(0x18b)],_0x147f6b);}return(_0xf29ecf[_0x1d8885(0x18f)](_0x599b90,WebHonorType[_0x1d8885(0x19e)])||_0xf29ecf[_0x1d8885(0x196)](_0x599b90,WebHonorType[_0x1d8885(0x195)]))&&(_0x403103[_0x1d8885(0x1a4)]=[]),_0x403103;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index d34778f6..4db8a686 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x5bce5a=_0x5c6a;(function(_0x49b0fd,_0x14bf1e){const _0x23e396=_0x5c6a,_0x3748dd=_0x49b0fd();while(!![]){try{const _0xe56cd6=parseInt(_0x23e396(0x135))/0x1*(-parseInt(_0x23e396(0x175))/0x2)+parseInt(_0x23e396(0x1ba))/0x3+parseInt(_0x23e396(0x172))/0x4*(-parseInt(_0x23e396(0x160))/0x5)+parseInt(_0x23e396(0x1c9))/0x6+-parseInt(_0x23e396(0x124))/0x7+-parseInt(_0x23e396(0x1c2))/0x8+parseInt(_0x23e396(0x11c))/0x9*(parseInt(_0x23e396(0x19e))/0xa);if(_0xe56cd6===_0x14bf1e)break;else _0x3748dd['push'](_0x3748dd['shift']());}catch(_0x3bb023){_0x3748dd['push'](_0x3748dd['shift']());}}}(_0x14c5,0xe8825));import _0x148b8d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x2c267f from'node:path';import _0x3c20f5 from'node:os';import _0x4d31b0 from'node:fs';function _0x14c5(){const _0x3d9587=['addKernelBuddyListener',')已登录,无法重复登录','Fseip','5661384toQhWF','onAddSendMsg','sddlh','ICFfz','VKjoX','get','clientType','6472752hormld','packet_sent','NodeIDispatcherAdapter','\x20has\x20no\x20method\x20','PhPnL','fDpei','ZBfJA','digest','13833PflnMF','cybKH','getQRCodePicture','NodeIGlobalAdapter','[KickedOffLine]\x20[','addKernelLoginListener','onBuddyListChange','engine','11998259QoGawS','vGief','BpHiw','aoIKM','initSession\x20failed','onGroupListUpdate','hex','fileLog','zBvko','otofh','LocalLoginInfoList','uid','constructor','sceneId','message_sent','assign','quickLoginWithUin','835YQkDLS','当前账号(','MsgListener','devUid','name','PEZyZ','onMemberListChange','TEyHh','pMBfb','read','catch','onLoginFailed','启动失败:\x20','now','NodeQQNTWrapperUtil','startNT','fhhqI','EdPat','140022013','initDataListener','loginService','getLoginList','NodeIKernelProfileListener','NodeIKernelBuddyListener','tipsTitle','loginListener','XJFUX',')\x20在线状态变更','homedir','length','没有可快速登录的QQ号','快速登录失败\x20','onRecvMsg','evtHE','lpqNz','DaRRP','groupCode','data:image/png;base64,','onUserLoggedIn','init','NodeIQQNTWrapperSession','HsUcz','addKernelMsgListener','31990VrVVCm','forEach','initConfig','errMsg','message_received','getMsgService','./nt_qq/global','groupMemberList_MainWindow','FtLkp','StYnj','hqGSe','buddyList','curVersion','qrLogin','proxyHandler','base64','from','loginErrorInfo','628kvcMXu','快速登录不可用','session','3688DNSRhN','NodeIDependsAdapter','onLoginSuccessFuncList','onQRCodeSessionFailed','delete','zeZlB','dTBaA','LGUzG','数据库初始化失败','GpUah','wcbhw','mkdirSync','nJkXd','VhJjT','dataPathGlobal','onSessionInitComplete','dgMkn','recallTime','140022008','onQRCodeGetPicture','dataPath','init\x20failed\x20','DNNve','has','WhMbt','addKernelGroupListener','fileLogLevel','onSelfStatusChanged','xZDOI','Windows\x2010\x20Pro','onMsgInfoListUpdate','update','NodeIQQNTWrapperEngine','last_message_time','push','isQuickLogin','getBuddyService','createMemberListScene','./.config/QQ','登录失败','JzNON','21530eCtUhC','infos','XvuHP','map','initWithDeskTopConfig','jXHdr','本账号数据/缓存目录:','util','onLoginSuccess','账号设备(','getGroupService','then','uin','CTZvS','resolve','naiZb','NiKMz','getQuickLoginList','passwordLogin','addListener','md5','pngBase64QrcodeData','KiOph','set','mGzZi','BuddyListener','initSession','packet_received','4591020Pwtgmd','NodeIKernelSessionListener','onQRCodeLoginSucceed','evjjB','floor'];_0x14c5=function(){return _0x3d9587;};return _0x14c5();}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x5c6a(_0x3d665b,_0x2137f2){const _0x14c5c5=_0x14c5();return _0x5c6a=function(_0x5c6a23,_0x2ded8d){_0x5c6a23=_0x5c6a23-0x117;let _0x3204e7=_0x14c5c5[_0x5c6a23];return _0x3204e7;},_0x5c6a(_0x3d665b,_0x2137f2);}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x54f67d from'node:crypto';import{rawFriends,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{[_0x5bce5a(0x174)];[_0x5bce5a(0x1a5)];[_0x5bce5a(0x123)];[_0x5bce5a(0x14e)];[_0x5bce5a(0x149)];[_0x5bce5a(0x177)]=[];[_0x5bce5a(0x16e)]={'get'(target,prop,receiver){const _0x2e6044=_0x5bce5a,zjUApO={'mGzZi':function(callee,param1){return callee(param1);},'NiKMz':function(x,y){return x===y;},'tHmwk':'undefined'};if(zjUApO[_0x2e6044(0x1ae)](typeof target[prop],zjUApO['tHmwk']))return(...args)=>{const _0x2affb1=_0x2e6044;zjUApO[_0x2affb1(0x1b6)](logDebug,target[_0x2affb1(0x130)][_0x2affb1(0x139)]+_0x2affb1(0x117)+prop);};return Reflect[_0x2e6044(0x1c7)](target,prop,receiver);}};constructor(){const _0x15dac7=_0x5bce5a,_0x308355={'nJkXd':function(_0x2d7f4c,_0x1c2f08){return _0x2d7f4c(_0x1c2f08);},'hDCME':function(_0x291d25,_0x32a7ac){return _0x291d25+_0x32a7ac;},'dTBaA':_0x15dac7(0x136),'XeVFy':_0x15dac7(0x1c0),'EdPat':function(_0x2a70bc,_0x5bfd0d,_0x1ad928){return _0x2a70bc(_0x5bfd0d,_0x1ad928);},'hqGSe':function(_0x51473c,_0xa50db,_0x2dceb7){return _0x51473c(_0xa50db,_0x2dceb7);},'wcbhw':'./NapCat/data','jXHdr':function(_0x546c04,_0x21c581,_0x43d52f){return _0x546c04(_0x21c581,_0x43d52f);},'otofh':_0x15dac7(0x1a4),'cybKH':function(_0x96f998,_0x48d795,_0x438ff8){return _0x96f998(_0x48d795,_0x438ff8);},'fDpei':_0x15dac7(0x128),'ZBfJA':_0x15dac7(0x19c),'BpHiw':function(_0x8e70ea,_0x41eca1){return _0x8e70ea==_0x41eca1;},'lpqNz':function(_0x190ab6,_0x54f176){return _0x190ab6==_0x54f176;},'VKjoX':function(_0x16c03b,_0x4a00c3,_0x286dd9){return _0x16c03b(_0x4a00c3,_0x286dd9);}};this[_0x15dac7(0x123)]=new _0x148b8d[(_0x15dac7(0x195))](),this[_0x15dac7(0x1a5)]=new _0x148b8d[(_0x15dac7(0x143))](),this[_0x15dac7(0x149)]=new _0x148b8d['NodeIKernelLoginService'](),this[_0x15dac7(0x174)]=new _0x148b8d[(_0x15dac7(0x15d))](),this['loginListener']=new LoginListener(),this[_0x15dac7(0x14e)][_0x15dac7(0x15b)]=_0x4f8f99=>{const _0x4a8e65=_0x15dac7;_0x308355[_0x4a8e65(0x181)](logError,_0x308355['hDCME'](_0x308355[_0x4a8e65(0x17b)]+_0x4f8f99,_0x308355['XeVFy']));},this[_0x15dac7(0x14e)][_0x15dac7(0x1bc)]=_0x504071=>{const _0x293a6d=_0x15dac7,_0x47549a={'Fseip':function(_0xbfb343,_0x32d508){return _0xbfb343 instanceof _0x32d508;}};this['initSession'](_0x504071[_0x293a6d(0x1aa)],_0x504071[_0x293a6d(0x12f)])[_0x293a6d(0x1a9)](_0x3d00c7=>{const _0x170dc6=_0x293a6d,_0x2b5e37={'evjjB':function(_0x5df7a2,_0x47fc63,_0x584f47){const _0x322c52=_0x5c6a;return _0x308355[_0x322c52(0x146)](_0x5df7a2,_0x47fc63,_0x584f47);}};selfInfo['uin']=_0x504071[_0x170dc6(0x1aa)],selfInfo[_0x170dc6(0x12f)]=_0x504071[_0x170dc6(0x12f)],napCatConfig[_0x170dc6(0x13e)](),_0x308355[_0x170dc6(0x16a)](setLogLevel,napCatConfig[_0x170dc6(0x18f)],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig[_0x170dc6(0x12b)]),enableConsoleLog(napCatConfig['consoleLog']),setLogSelfInfo(selfInfo);const _0x4b3581=_0x2c267f[_0x170dc6(0x1ac)](this['dataPath'],_0x308355[_0x170dc6(0x17f)]);_0x4d31b0[_0x170dc6(0x180)](_0x4b3581,{'recursive':!![]}),_0x308355[_0x170dc6(0x1a3)](logDebug,_0x308355[_0x170dc6(0x12d)],_0x4b3581),dbUtil[_0x170dc6(0x15c)](_0x2c267f[_0x170dc6(0x1ac)](_0x4b3581,'./'+_0x504071[_0x170dc6(0x1aa)]+'-v2.db'))[_0x170dc6(0x1a9)](()=>{const _0x277878=_0x170dc6,_0x14bc99={'UXZsv':function(_0x148d2c,_0x1a1aec){const _0x39c959=_0x5c6a;return _0x47549a[_0x39c959(0x1c1)](_0x148d2c,_0x1a1aec);}};this[_0x277878(0x148)](),this[_0x277878(0x177)]['map'](_0x348ab0=>{const _0x131ad3={'NYvAQ':function(_0x1b809f,_0x1d0cd8){return _0x14bc99['UXZsv'](_0x1b809f,_0x1d0cd8);}};new Promise((_0x26c718,_0x571369)=>{const _0x4cb751=_0x5c6a,_0x12574b=_0x348ab0(_0x504071[_0x4cb751(0x1aa)],_0x504071[_0x4cb751(0x12f)]);_0x131ad3['NYvAQ'](_0x12574b,Promise)&&_0x12574b['then'](_0x26c718)[_0x4cb751(0x13f)](_0x571369);})['then']();});})[_0x170dc6(0x13f)](_0x1f00ce=>{const _0x3b3cea=_0x170dc6;_0x2b5e37[_0x3b3cea(0x1bd)](logError,_0x3b3cea(0x17d),_0x1f00ce);});})[_0x293a6d(0x13f)](_0xbf24ca=>{const _0x5836a3=_0x293a6d;_0x308355[_0x5836a3(0x11d)](logError,_0x308355[_0x5836a3(0x119)],_0xbf24ca);throw new Error(_0x5836a3(0x141)+JSON['stringify'](_0xbf24ca));});},this[_0x15dac7(0x14e)][_0x15dac7(0x178)]=(_0x207526,_0x16ec1c,_0x27710b)=>{const _0x5dab9c=_0x15dac7;logError(_0x308355[_0x5dab9c(0x11a)],_0x27710b),_0x308355[_0x5dab9c(0x126)](_0x207526,0x1)&&_0x308355[_0x5dab9c(0x157)](_0x16ec1c,0x3)&&this[_0x5dab9c(0x149)][_0x5dab9c(0x11e)]();},this[_0x15dac7(0x14e)][_0x15dac7(0x140)]=_0x45a40c=>{const _0x395e0b=_0x15dac7;_0x308355[_0x395e0b(0x1c6)](logError,_0x395e0b(0x19c),_0x45a40c);},this[_0x15dac7(0x14e)]=new Proxy(this['loginListener'],this[_0x15dac7(0x16e)]),this[_0x15dac7(0x149)][_0x15dac7(0x121)](new _0x148b8d['NodeIKernelLoginListener'](this[_0x15dac7(0x14e)])),this[_0x15dac7(0x162)]();}get[_0x5bce5a(0x189)](){const _0x4de61b=_0x5bce5a,_0x195d99={'CTZvS':_0x4de61b(0x19b)};let _0x3ce843=this[_0x4de61b(0x1a5)]['getNTUserDataInfoConfig']();return!_0x3ce843&&(_0x3ce843=_0x2c267f[_0x4de61b(0x1ac)](_0x3c20f5[_0x4de61b(0x151)](),_0x195d99[_0x4de61b(0x1ab)]),_0x4d31b0[_0x4de61b(0x180)](_0x3ce843,{'recursive':!![]})),_0x3ce843;}get['dataPathGlobal'](){const _0x3762ff=_0x5bce5a,_0x32faf0={'vGief':_0x3762ff(0x166)};return _0x2c267f[_0x3762ff(0x1ac)](this[_0x3762ff(0x189)],_0x32faf0[_0x3762ff(0x125)]);}['initConfig'](){const _0x544267=_0x5bce5a,_0x3eda3b={'LGUzG':_0x544267(0x192)};this[_0x544267(0x123)][_0x544267(0x1a2)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x544267(0x16c)],'os_version':_0x3eda3b[_0x544267(0x17c)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x544267(0x16c)]['replace']('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x544267(0x183)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x148b8d[(_0x544267(0x11f))](new GlobalAdapter())),this[_0x544267(0x149)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x544267(0x183)],'clientVer':qqVersionConfigInfo[_0x544267(0x16c)],'hostName':hostname});}[_0x5bce5a(0x1b8)](_0x1b02fd,_0x4749e7){const _0x254593=_0x5bce5a,_0x26c9e5={'sddlh':function(_0x182319,_0x184820){return _0x182319(_0x184820);},'dgMkn':function(_0x5168ae,_0x20bd8c,_0x1f2c4f,_0x5ea494){return _0x5168ae(_0x20bd8c,_0x1f2c4f,_0x5ea494);},'ICFfz':function(_0x2e9b44,_0x47bfd7){return _0x2e9b44+_0x47bfd7;},'cyFaV':_0x254593(0x18a)};return new Promise((_0xfdefa3,_0x52b329)=>{const _0x4d8273=_0x254593,_0x4efd28=_0x26c9e5[_0x4d8273(0x185)](genSessionConfig,_0x1b02fd,_0x4749e7,this[_0x4d8273(0x189)]),_0x2c3f6b=new SessionListener();_0x2c3f6b[_0x4d8273(0x184)]=_0x45aded=>{const _0x1467fa=_0x4d8273;if(_0x45aded===0x0)return _0xfdefa3(0x0);_0x26c9e5[_0x1467fa(0x1c4)](_0x52b329,_0x45aded);},this[_0x4d8273(0x174)][_0x4d8273(0x15c)](_0x4efd28,new _0x148b8d[(_0x4d8273(0x176))](new DependsAdapter()),new _0x148b8d[(_0x4d8273(0x1cb))](new DispatcherAdapter()),new _0x148b8d[(_0x4d8273(0x1bb))](_0x2c3f6b));try{this['session'][_0x4d8273(0x144)](0x0);}catch(_0x36e5a6){try{this[_0x4d8273(0x174)][_0x4d8273(0x144)]();}catch(_0x776139){_0x52b329(_0x26c9e5[_0x4d8273(0x1c5)](_0x26c9e5['cyFaV'],_0x776139));}}});}[_0x5bce5a(0x148)](){const _0x190066=_0x5bce5a,_0x56787a={'GpUah':function(_0xff8e56,_0x4d9ebe){return _0xff8e56===_0x4d9ebe;},'WhMbt':function(_0x37806e,_0x26c152){return _0x37806e(_0x26c152);},'pMBfb':function(_0x30bf97,_0x13e826){return _0x30bf97+_0x13e826;},'aoIKM':_0x190066(0x1a7),'hAGjn':_0x190066(0x150),'PEZyZ':function(_0x374fdc,_0x132ceb){return _0x374fdc(_0x132ceb);},'DNNve':function(_0x30a9ce,_0x65466d){return _0x30a9ce+_0x65466d;},'XJFUX':function(_0x163d91,_0x5af964){return _0x163d91===_0x5af964;},'VhJjT':function(_0x15fcda,_0x1c74cb){return _0x15fcda/_0x1c74cb;},'KiOph':function(_0x3a3c03,_0xa2f600){return _0x3a3c03===_0xa2f600;}},_0x144e13=new MsgListener();_0x144e13['onLineDev']=_0x192c34=>{_0x192c34['map'](_0x3661f8=>{const _0x1c8b29=_0x5c6a;_0x56787a[_0x1c8b29(0x17e)](_0x3661f8[_0x1c8b29(0x1c8)],0x2)&&_0x56787a[_0x1c8b29(0x18d)](log,_0x56787a[_0x1c8b29(0x13d)](_0x56787a[_0x1c8b29(0x13d)](_0x56787a[_0x1c8b29(0x127)],_0x3661f8[_0x1c8b29(0x138)]),_0x56787a['hAGjn']));});},_0x144e13['onKickedOffLine']=_0x3a8fa9=>{const _0x392102=_0x190066;_0x56787a[_0x392102(0x13a)](log,_0x56787a['DNNve'](_0x56787a[_0x392102(0x18b)](_0x56787a[_0x392102(0x13d)](_0x392102(0x120),_0x3a8fa9[_0x392102(0x14d)]),']\x20'),_0x3a8fa9['tipsDesc']));},_0x144e13[_0x190066(0x193)]=_0x5b05bc=>{const _0x57daca=_0x190066,_0x42d2fb={'xZDOI':function(_0x1c0a83,_0x2980f5){const _0x433196=_0x5c6a;return _0x56787a[_0x433196(0x14f)](_0x1c0a83,_0x2980f5);}};stat[_0x57daca(0x1b9)]+=0x1,_0x5b05bc[_0x57daca(0x1a1)](_0x5242bc=>{const _0x4be8e4=_0x57daca;_0x42d2fb[_0x4be8e4(0x191)](_0x5242bc['recallTime'],'0')?dbUtil['addMsg'](_0x5242bc)[_0x4be8e4(0x1a9)]()[_0x4be8e4(0x13f)]():dbUtil['getMsgByLongId'](_0x5242bc['msgId'])['then'](_0x41cf00=>{const _0x39f1fe=_0x4be8e4;_0x41cf00&&(_0x41cf00[_0x39f1fe(0x186)]=_0x5242bc[_0x39f1fe(0x186)],dbUtil['updateMsg'](_0x41cf00)[_0x39f1fe(0x1a9)]());});});},_0x144e13[_0x190066(0x1c3)]=_0x242af9=>{const _0x54a956=_0x190066;stat[_0x54a956(0x1ca)]+=0x1,stat[_0x54a956(0x132)]+=0x1,stat[_0x54a956(0x196)]=Math[_0x54a956(0x1be)](_0x56787a[_0x54a956(0x182)](Date['now'](),0x3e8));},_0x144e13[_0x190066(0x155)]=_0x3b26cf=>{const _0x309016=_0x190066;stat[_0x309016(0x1b9)]+=0x1,stat[_0x309016(0x164)]+=_0x3b26cf[_0x309016(0x152)],stat[_0x309016(0x196)]=Math[_0x309016(0x1be)](_0x56787a['VhJjT'](Date[_0x309016(0x142)](),0x3e8));},_0x144e13['onRecvSysMsg']=(..._0x3f2b2a)=>{const _0x3ec25f=_0x190066;stat[_0x3ec25f(0x1b9)]+=0x1;},this[_0x190066(0x1b1)](_0x144e13);const _0x34acb2=new BuddyListener();_0x34acb2[_0x190066(0x122)]=_0x5e9072=>{const _0x19aeeb=_0x190066;rawFriends[_0x19aeeb(0x152)]=0x0,rawFriends[_0x19aeeb(0x197)](..._0x5e9072);for(const _0x212516 of _0x5e9072){for(const _0x513137 of _0x212516[_0x19aeeb(0x16b)]){const _0x516479=friends[_0x19aeeb(0x1c7)](_0x513137['uid']);uid2UinMap[_0x513137['uid']]=_0x513137[_0x19aeeb(0x1aa)],_0x516479?Object['assign'](_0x516479,_0x513137):friends['set'](_0x513137[_0x19aeeb(0x12f)],_0x513137);}}},this[_0x190066(0x1b1)](_0x34acb2),this[_0x190066(0x174)][_0x190066(0x199)]()['getBuddyList'](!![])[_0x190066(0x1a9)](_0x2ab0fb=>{});const _0x53702e=new ProfileListener();_0x53702e['onProfileDetailInfoChanged']=_0x4daab8=>{const _0x1eb25b=_0x190066;_0x56787a[_0x1eb25b(0x1b4)](_0x4daab8['uid'],selfInfo[_0x1eb25b(0x12f)])&&Object['assign'](selfInfo,_0x4daab8);},_0x53702e[_0x190066(0x190)]=_0x33bcea=>{},this[_0x190066(0x1b1)](_0x53702e);const _0x6628ee=new GroupListener();_0x6628ee[_0x190066(0x129)]=(_0x5c00aa,_0x3bcfa2)=>{_0x3bcfa2['map'](_0x584cd1=>{const _0x59e72c=_0x5c6a,_0x311dbe=groups['get'](_0x584cd1['groupCode']);if(_0x311dbe)Object['assign'](_0x311dbe,_0x584cd1);else{groups['set'](_0x584cd1['groupCode'],_0x584cd1);const _0x276746=this[_0x59e72c(0x174)][_0x59e72c(0x1a8)]()[_0x59e72c(0x19a)](_0x584cd1[_0x59e72c(0x159)],_0x59e72c(0x167));this['session'][_0x59e72c(0x1a8)]()['getNextMemberList'](_0x276746,undefined,0xbb8)[_0x59e72c(0x1a9)](_0x8dda5d=>{});}});},_0x6628ee[_0x190066(0x13b)]=_0x2d3c84=>{const _0xbe88dc=_0x190066,_0x11ffd5=_0x2d3c84[_0xbe88dc(0x131)]['split']('_')[0x0];if(groupMembers[_0xbe88dc(0x18c)](_0x11ffd5)){const _0x681dae=groupMembers[_0xbe88dc(0x1c7)](_0x11ffd5);_0x2d3c84[_0xbe88dc(0x19f)]['forEach']((_0x3734e4,_0x5402de)=>{const _0x2c6425=_0xbe88dc,_0x217fc5=_0x681dae[_0x2c6425(0x1c7)](_0x5402de);_0x217fc5?Object[_0x2c6425(0x133)](_0x217fc5,_0x3734e4):_0x681dae['set'](_0x5402de,_0x3734e4);});}else groupMembers['set'](_0x11ffd5,_0x2d3c84[_0xbe88dc(0x19f)]);},_0x6628ee['onMemberInfoChange']=(_0x35e94f,_0x3c83ce,_0x6587c2)=>{const _0x27cce7=_0x190066;_0x56787a[_0x27cce7(0x17e)](_0x3c83ce,0x0)&&_0x6587c2['get'](selfInfo[_0x27cce7(0x12f)])&&_0x6587c2[_0x27cce7(0x1c7)](selfInfo[_0x27cce7(0x12f)])?.['isDelete']&&setTimeout(()=>{const _0x4d53d1=_0x27cce7;groups[_0x4d53d1(0x179)](_0x35e94f);},0x1388);_0x6587c2[_0x27cce7(0x161)]((_0x343b2a,_0x3fe182)=>{const _0x5a2e4=_0x27cce7;uid2UinMap[_0x3fe182]=_0x343b2a[_0x5a2e4(0x1aa)];});const _0x47432f=groupMembers[_0x27cce7(0x1c7)](_0x35e94f);_0x47432f?_0x6587c2[_0x27cce7(0x161)]((_0x2d8f94,_0x1cdec6)=>{const _0x4cad7a=_0x27cce7,_0x28bda5=_0x47432f[_0x4cad7a(0x1c7)](_0x1cdec6);_0x28bda5?Object[_0x4cad7a(0x133)](_0x28bda5,_0x2d8f94):_0x47432f[_0x4cad7a(0x1b5)](_0x1cdec6,_0x2d8f94);}):groupMembers[_0x27cce7(0x1b5)](_0x35e94f,_0x6587c2);},this[_0x190066(0x1b1)](_0x6628ee);}[_0x5bce5a(0x1b1)](_0x2ca45a){const _0x748895=_0x5bce5a,_0x57b0cc={'zBvko':_0x748895(0x1b7),'StYnj':'GroupListener','DaRRP':_0x748895(0x137),'TEyHh':'ProfileListener'};_0x2ca45a=new Proxy(_0x2ca45a,this[_0x748895(0x16e)]);switch(_0x2ca45a[_0x748895(0x130)]['name']){case _0x57b0cc[_0x748895(0x12c)]:{return this[_0x748895(0x174)][_0x748895(0x199)]()[_0x748895(0x1bf)](new _0x148b8d[(_0x748895(0x14c))](_0x2ca45a));}case _0x57b0cc[_0x748895(0x169)]:{return this[_0x748895(0x174)]['getGroupService']()[_0x748895(0x18e)](new _0x148b8d['NodeIKernelGroupListener'](_0x2ca45a));}case _0x57b0cc[_0x748895(0x158)]:{return this[_0x748895(0x174)][_0x748895(0x165)]()[_0x748895(0x15f)](new _0x148b8d['NodeIKernelMsgListener'](_0x2ca45a));}case _0x57b0cc[_0x748895(0x13c)]:{return this[_0x748895(0x174)]['getProfileService']()['addKernelProfileListener'](new _0x148b8d[(_0x748895(0x14b))](_0x2ca45a));}default:return-0x1;}}[_0x5bce5a(0x1a6)](_0x554f31){this['onLoginSuccessFuncList']['push'](_0x554f31);}async['quickLogin'](_0x17ed3f){const _0x29d046=_0x5bce5a,_0x18038f={'HsUcz':function(_0x3534a5,_0x13e051){return _0x3534a5!==_0x13e051;},'XvuHP':_0x29d046(0x153),'fhhqI':function(_0x110902,_0x26eec4){return _0x110902(_0x26eec4);},'JzNON':_0x29d046(0x154)},_0x3e0a15=await this[_0x29d046(0x149)][_0x29d046(0x14a)]();if(_0x18038f[_0x29d046(0x15e)](_0x3e0a15['result'],0x0))throw new Error(_0x18038f[_0x29d046(0x1a0)]);const _0x346454=_0x3e0a15[_0x29d046(0x12e)]['find'](_0x5b57a7=>_0x5b57a7['uin']===_0x17ed3f);if(!_0x346454||!_0x346454?.[_0x29d046(0x198)])throw new Error(_0x17ed3f+_0x29d046(0x173));await _0x18038f[_0x29d046(0x145)](sleep,0x3e8);const _0x40a7c9=await this['loginService'][_0x29d046(0x134)](_0x17ed3f);if(!_0x40a7c9['result'])throw new Error(_0x18038f[_0x29d046(0x19d)]+_0x40a7c9[_0x29d046(0x171)][_0x29d046(0x163)]);return _0x40a7c9;}async[_0x5bce5a(0x16d)](_0x33fbcf){const _0x39a0e9=_0x5bce5a,_0x1326a9={'SuZVo':_0x39a0e9(0x15a)};return new Promise((_0x448970,_0x1427da)=>{const _0x2763ba=_0x39a0e9,_0x16e4d6={'znkoh':_0x1326a9['SuZVo'],'PAPWN':function(_0x2fac7c,_0x1a47ee,_0x3724fa,_0x4bd4b7){return _0x2fac7c(_0x1a47ee,_0x3724fa,_0x4bd4b7);}};this[_0x2763ba(0x14e)][_0x2763ba(0x188)]=_0x3e659c=>{const _0x520f9b=_0x2763ba,_0x89249=_0x3e659c[_0x520f9b(0x1b3)]['split'](_0x16e4d6['znkoh'])[0x1],_0x4a9203=Buffer[_0x520f9b(0x170)](_0x89249,_0x520f9b(0x16f));_0x16e4d6['PAPWN'](_0x33fbcf,_0x3e659c['qrcodeUrl'],_0x3e659c[_0x520f9b(0x1b3)],_0x4a9203);},this['loginService']['getQRCodePicture']();});}async[_0x5bce5a(0x1b0)](_0x909eae,_0x4fc8f2,_0x57c5ee,_0x2d97b1,_0xa7113b){const _0x18da01=_0x5bce5a,_0x3b9439={'evtHE':_0x18da01(0x1b2),'aMtSh':function(_0xa9cdd3,_0x3a3414){return _0xa9cdd3&&_0x3a3414;},'FtLkp':function(_0x57dd47,_0x313a0f){return _0x57dd47||_0x313a0f;},'naiZb':function(_0x264821,_0x51aebd){return _0x264821||_0x51aebd;},'PhPnL':function(_0xf265d2,_0x3b3410){return _0xf265d2(_0x3b3410);},'DVnGP':_0x18da01(0x187),'zeZlB':_0x18da01(0x147)},_0x26e0c2=_0x54f67d['createHash'](_0x3b9439[_0x18da01(0x156)])[_0x18da01(0x194)](_0x4fc8f2)[_0x18da01(0x11b)](_0x18da01(0x12a)),_0x386915={'uin':_0x909eae,'passwordMd5':_0x26e0c2,'step':_0x3b9439['aMtSh'](_0x57c5ee,_0x2d97b1)&&_0xa7113b?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x3b9439[_0x18da01(0x168)](_0x57c5ee,''),'proofWaterRand':_0x3b9439[_0x18da01(0x1ad)](_0x2d97b1,''),'proofWaterSid':_0xa7113b||''};await this[_0x18da01(0x149)][_0x18da01(0x14a)](),await _0x3b9439[_0x18da01(0x118)](sleep,0x3e8);const _0x2921e0=await this[_0x18da01(0x149)]['passwordLogin'](_0x386915);switch(_0x2921e0['result']){case'0':{break;}case _0x3b9439['DVnGP']:{break;}case'4':case _0x3b9439[_0x18da01(0x17a)]:default:}}async[_0x5bce5a(0x1af)](){const _0x150e39=await this['loginService']['getLoginList']();return _0x150e39;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0xe4e48c=_0x4d3b;(function(_0x28d0c,_0x394bcd){const _0x3f2379=_0x4d3b,_0x2965cd=_0x28d0c();while(!![]){try{const _0x23de9e=-parseInt(_0x3f2379(0x213))/0x1+-parseInt(_0x3f2379(0x267))/0x2+parseInt(_0x3f2379(0x26a))/0x3+-parseInt(_0x3f2379(0x20c))/0x4+-parseInt(_0x3f2379(0x1d3))/0x5+parseInt(_0x3f2379(0x236))/0x6*(parseInt(_0x3f2379(0x23b))/0x7)+parseInt(_0x3f2379(0x1c6))/0x8*(parseInt(_0x3f2379(0x1eb))/0x9);if(_0x23de9e===_0x394bcd)break;else _0x2965cd['push'](_0x2965cd['shift']());}catch(_0x74d7d6){_0x2965cd['push'](_0x2965cd['shift']());}}}(_0x5b21,0x81177));import _0x341878 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x47fb73 from'node:path';import _0x366621 from'node:os';import _0x2f958f from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x5b21(){const _0x46ab9e=['onLoginSuccessFuncList','groupMemberList_MainWindow','rHhOM',')已登录,无法重复登录','_GW_B','Wfpsr','stringify','onGroupListUpdate','5636853AKUQEG','passwordLogin','uthWD','last_message_time','uin','sceneId','NodeIKernelMsgListener','getNTUserDataInfoConfig','QvrbJ','onProfileDetailInfoChanged','LocalLoginInfoList','assign','./NapCat/data','util','tipsDesc','split','DTYrC','IJbpY','init\x20failed\x20','geRuL','onRecvMsg','getGroupService','NodeIGlobalAdapter','UbdWr','登录失败','message_received','getNextMemberList','infos','consoleLogLevel','Windows\x2010\x20Pro','getBuddyService','buddyList','name','1932476qIMrYY','QjNJz','then','Qdpbz','RXmKR','MWTJu','get','189376HyVHEj','constructor','NodeIKernelGroupListener','push','tipsTitle','快速登录不可用','140022008','forEach','NodeIKernelProfileListener','onQRCodeLoginSucceed','FizVu','addMsg','LsTQL','addKernelMsgListener','catch','find','NodeIDependsAdapter','packet_sent','sZFHk','createMemberListScene','yDSEX','启动失败:\x20','data:image/png;base64,','base64','onMemberListChange','homedir','initSession\x20failed','yPjvh','lnjeD','now','WJwcw','read','resolve','hgbLx','map','564lBqufA','[KickedOffLine]\x20[','账号设备(','NodeIKernelSessionListener','recallTime','74438kIEaZW','packet_received','addKernelLoginListener','addKernelProfileListener','message_sent','iYkkM','\x20has\x20no\x20method\x20','getMsgService','QiDoe','UANEI','osnCl','isQuickLogin','adEDB','floor','onMemberInfoChange','groupCode','undefined','MsgListener','set','clientType','result','TihNu','getProfileService','vMvKM','qrcodeUrl','sbdmN','qrLogin','onQRCodeSessionFailed','session','rPuCr','dataPath','delete','-v2.db','msgId','btnuP','addKernelBuddyListener','wwZfo','mkdirSync','ProfileListener','onAddSendMsg','getBuddyList','errMsg','engine','NodeIKernelLoginListener','1309248tsyVsv','loginService','devUid','2030073qlBTKS','adWEH','kDAOG','initConfig','cuNNY','updateMsg','startNT','loginListener','clbRS','onQRCodeGetPicture','uid','sHPXK','onSelfStatusChanged','quickLogin','onLoginFailed','./nt_qq/global',')\x20在线状态变更','dnxkS','curVersion','addListener','init','quickLoginWithUin','AAfCz','onLineDev','initDataListener','initSession','getMsgByLongId','getLoginList','MxoyY','WBXQp','8cZAwSu','QQwDQ','StmsS','pngBase64QrcodeData','from','数据库初始化失败','ceyrg','onRecvSysMsg','createHash','wBEQv','140022013','replace','initWithDeskTopConfig','2233630vsfvAf','lCeCN','length','fileLog','getQRCodePicture','NodeIKernelBuddyListener','onMsgInfoListUpdate','dataPathGlobal','BuddyListener','digest','proxyHandler','没有可快速登录的QQ号','vAlqp','V1_WIN_NQ_','bdYPe','Autps'];_0x5b21=function(){return _0x46ab9e;};return _0x5b21();}import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0xb1e5da from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x4d3b(_0x485067,_0x31b2a6){const _0x5b21b3=_0x5b21();return _0x4d3b=function(_0x4d3be6,_0x2dc5f7){_0x4d3be6=_0x4d3be6-0x1b1;let _0x2a1279=_0x5b21b3[_0x4d3be6];return _0x2a1279;},_0x4d3b(_0x485067,_0x31b2a6);}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];[_0xe4e48c(0x1f8)];[_0xe4e48c(0x265)];[_0xe4e48c(0x271)];[_0xe4e48c(0x268)];[_0xe4e48c(0x1e3)]=[];[_0xe4e48c(0x1dd)]={'get'(target,prop,receiver){const _0x5ec5da=_0xe4e48c,sLPGGf={'StmsS':function(callee,param1){return callee(param1);},'sZFHk':function(x,y){return x===y;},'vFsyX':_0x5ec5da(0x24b)};if(sLPGGf[_0x5ec5da(0x225)](typeof target[prop],sLPGGf['vFsyX']))return(...args)=>{const _0x108942=_0x5ec5da;sLPGGf[_0x108942(0x1c8)](logDebug,target[_0x108942(0x214)][_0x108942(0x20b)]+_0x108942(0x241)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x1f14cb=_0xe4e48c,_0xac5665={'osnCl':function(_0x193d11,_0x5adbba){return _0x193d11(_0x5adbba);},'hgbLx':function(_0x1fc9e2,_0x4ef2b7){return _0x1fc9e2+_0x4ef2b7;},'vAlqp':'当前账号(','LXFbM':_0x1f14cb(0x1e6),'yPjvh':function(_0xe859c5,_0x5590a,_0x423fe5){return _0xe859c5(_0x5590a,_0x423fe5);},'QgVAu':_0x1f14cb(0x1cb),'QQwDQ':function(_0x4dc2fb,_0x52476f){return _0x4dc2fb(_0x52476f);},'UbdWr':_0x1f14cb(0x1f7),'yDSEX':'本账号数据/缓存目录:','Autps':function(_0x46efbd,_0x53d0d4,_0x3a2caa){return _0x46efbd(_0x53d0d4,_0x3a2caa);},'kDAOG':_0x1f14cb(0x203),'cuNNY':function(_0x356e97,_0x3b6f8e){return _0x356e97==_0x3b6f8e;}};this[_0x1f14cb(0x265)]=new _0x341878['NodeIQQNTWrapperEngine'](),this[_0x1f14cb(0x1f8)]=new _0x341878['NodeQQNTWrapperUtil'](),this[_0x1f14cb(0x268)]=new _0x341878['NodeIKernelLoginService'](),this[_0x1f14cb(0x257)]=new _0x341878['NodeIQQNTWrapperSession'](),this[_0x1f14cb(0x271)]=new LoginListener(),this[_0x1f14cb(0x271)]['onUserLoggedIn']=_0x1dcf4f=>{const _0x137a0b=_0x1f14cb;_0xac5665[_0x137a0b(0x245)](logError,_0xac5665[_0x137a0b(0x234)](_0xac5665[_0x137a0b(0x234)](_0xac5665[_0x137a0b(0x1df)],_0x1dcf4f),_0xac5665['LXFbM']));},this[_0x1f14cb(0x271)][_0x1f14cb(0x21c)]=_0x276e2f=>{const _0x558aab=_0x1f14cb;this[_0x558aab(0x1c1)](_0x276e2f[_0x558aab(0x1ef)],_0x276e2f[_0x558aab(0x1b2)])[_0x558aab(0x20e)](_0x42bb63=>{const _0xc23e85=_0x558aab,_0x404431={'BbFrf':function(_0x26cc5c,_0x236c9d,_0x5420f1){const _0x268716=_0x4d3b;return _0xac5665[_0x268716(0x22e)](_0x26cc5c,_0x236c9d,_0x5420f1);},'wwZfo':_0xac5665['QgVAu']};selfInfo[_0xc23e85(0x1ef)]=_0x276e2f[_0xc23e85(0x1ef)],selfInfo[_0xc23e85(0x1b2)]=_0x276e2f[_0xc23e85(0x1b2)],napCatConfig[_0xc23e85(0x232)](),setLogLevel(napCatConfig['fileLogLevel'],napCatConfig[_0xc23e85(0x207)]),_0xac5665['osnCl'](enableFileLog,napCatConfig[_0xc23e85(0x1d6)]),_0xac5665[_0xc23e85(0x1c7)](enableConsoleLog,napCatConfig['consoleLog']),_0xac5665[_0xc23e85(0x245)](setLogSelfInfo,selfInfo);const _0x10d17a=_0x47fb73['resolve'](this['dataPath'],_0xac5665[_0xc23e85(0x202)]);_0x2f958f[_0xc23e85(0x260)](_0x10d17a,{'recursive':!![]}),_0xac5665[_0xc23e85(0x22e)](logDebug,_0xac5665[_0xc23e85(0x227)],_0x10d17a),dbUtil['init'](_0x47fb73[_0xc23e85(0x233)](_0x10d17a,'./'+_0x276e2f[_0xc23e85(0x1ef)]+_0xc23e85(0x25b)))[_0xc23e85(0x20e)](()=>{const _0x53ed67=_0xc23e85;this[_0x53ed67(0x1c0)](),this['onLoginSuccessFuncList'][_0x53ed67(0x235)](_0x2b5358=>{const _0xbe3e64=_0x53ed67;new Promise((_0x29acb8,_0x416b50)=>{const _0xb8e8=_0x4d3b,_0x313a43=_0x2b5358(_0x276e2f[_0xb8e8(0x1ef)],_0x276e2f[_0xb8e8(0x1b2)]);_0x313a43 instanceof Promise&&_0x313a43['then'](_0x29acb8)[_0xb8e8(0x221)](_0x416b50);})[_0xbe3e64(0x20e)]();});})[_0xc23e85(0x221)](_0x51d522=>{const _0x36c486=_0xc23e85;_0x404431['BbFrf'](logError,_0x404431[_0x36c486(0x25f)],_0x51d522);});})[_0x558aab(0x221)](_0x4109d8=>{const _0x5d5a5f=_0x558aab;_0xac5665[_0x5d5a5f(0x1e2)](logError,_0x5d5a5f(0x22d),_0x4109d8);throw new Error(_0x5d5a5f(0x228)+JSON[_0x5d5a5f(0x1e9)](_0x4109d8));});},this[_0x1f14cb(0x271)][_0x1f14cb(0x256)]=(_0x4b9413,_0x112772,_0x3353b2)=>{const _0x4d7ab1=_0x1f14cb;_0xac5665[_0x4d7ab1(0x1e2)](logError,_0xac5665[_0x4d7ab1(0x26c)],_0x3353b2),_0xac5665[_0x4d7ab1(0x26e)](_0x4b9413,0x1)&&_0x112772==0x3&&this[_0x4d7ab1(0x268)][_0x4d7ab1(0x1d7)]();},this[_0x1f14cb(0x271)][_0x1f14cb(0x1b6)]=_0x224465=>{const _0x4054a3=_0x1f14cb;logError(_0x4054a3(0x203),_0x224465);},this['loginListener']=new Proxy(this[_0x1f14cb(0x271)],this[_0x1f14cb(0x1dd)]),this['loginService'][_0x1f14cb(0x23d)](new _0x341878[(_0x1f14cb(0x266))](this[_0x1f14cb(0x271)])),this[_0x1f14cb(0x26d)]();}get['dataPath'](){const _0x4330a8=_0xe4e48c,_0x4e1456={'lCeCN':'./.config/QQ'};let _0x19c4cd=this[_0x4330a8(0x1f8)][_0x4330a8(0x1f2)]();return!_0x19c4cd&&(_0x19c4cd=_0x47fb73[_0x4330a8(0x233)](_0x366621[_0x4330a8(0x22c)](),_0x4e1456[_0x4330a8(0x1d4)]),_0x2f958f[_0x4330a8(0x260)](_0x19c4cd,{'recursive':!![]})),_0x19c4cd;}get[_0xe4e48c(0x1da)](){const _0x195c2d=_0xe4e48c,_0x49d37a={'mynVn':_0x195c2d(0x1b7)};return _0x47fb73[_0x195c2d(0x233)](this[_0x195c2d(0x259)],_0x49d37a['mynVn']);}[_0xe4e48c(0x26d)](){const _0x480305=_0xe4e48c;this[_0x480305(0x265)][_0x480305(0x1d2)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x480305(0x1ba)],'os_version':_0x480305(0x208),'use_xlog':!![],'qua':_0x480305(0x1e0)+qqVersionConfigInfo[_0x480305(0x1ba)][_0x480305(0x1d1)]('-','_')+_0x480305(0x1e7),'global_path_config':{'desktopGlobalPath':this[_0x480305(0x1da)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x341878[(_0x480305(0x201))](new GlobalAdapter())),this[_0x480305(0x268)][_0x480305(0x26d)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x480305(0x1da)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0xe4e48c(0x1c1)](_0x44649f,_0x322e37){const _0x27a8cb=_0xe4e48c,_0x5efec9={'MxoyY':function(_0x5b1d46,_0x421ff0){return _0x5b1d46(_0x421ff0);},'clbRS':function(_0x1718c3,_0xa5ba44,_0x577990,_0x2db6df){return _0x1718c3(_0xa5ba44,_0x577990,_0x2db6df);},'Fsenb':function(_0x55652a,_0x159fa2){return _0x55652a(_0x159fa2);},'UANEI':function(_0x239b29,_0x4e4355){return _0x239b29+_0x4e4355;},'sHPXK':_0x27a8cb(0x1fd)};return new Promise((_0x33198a,_0x757c0a)=>{const _0x37e41a=_0x27a8cb,_0x4f391d=_0x5efec9[_0x37e41a(0x272)](genSessionConfig,_0x44649f,_0x322e37,this['dataPath']),_0x1e75b4=new SessionListener();_0x1e75b4['onSessionInitComplete']=_0x5c3e95=>{const _0x5ab1d1=_0x37e41a;if(_0x5c3e95===0x0)return _0x5efec9[_0x5ab1d1(0x1c4)](_0x33198a,0x0);_0x5efec9['MxoyY'](_0x757c0a,_0x5c3e95);},this['session'][_0x37e41a(0x1bc)](_0x4f391d,new _0x341878[(_0x37e41a(0x223))](new DependsAdapter()),new _0x341878['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x341878[(_0x37e41a(0x239))](_0x1e75b4));try{this[_0x37e41a(0x257)][_0x37e41a(0x270)](0x0);}catch(_0x4cbf5d){try{this[_0x37e41a(0x257)][_0x37e41a(0x270)]();}catch(_0x4bea70){_0x5efec9['Fsenb'](_0x757c0a,_0x5efec9[_0x37e41a(0x244)](_0x5efec9[_0x37e41a(0x1b3)],_0x4bea70));}}});}[_0xe4e48c(0x1c0)](){const _0x22b622=_0xe4e48c,_0x19e878={'sbdmN':function(_0x293fd1,_0x569dd1){return _0x293fd1(_0x569dd1);},'wBEQv':function(_0x737680,_0x214778){return _0x737680+_0x214778;},'FizVu':_0x22b622(0x238),'LQaQe':_0x22b622(0x1b8),'TihNu':function(_0x344ea8,_0x2ce713){return _0x344ea8(_0x2ce713);},'QvrbJ':function(_0x2cf4d9,_0x4022fc){return _0x2cf4d9+_0x4022fc;},'Qdpbz':_0x22b622(0x237),'WBXQp':function(_0x1d0cde,_0x242510){return _0x1d0cde===_0x242510;},'adEDB':function(_0x4c64d2,_0x148f05){return _0x4c64d2/_0x148f05;},'geRuL':_0x22b622(0x1e4),'LAYNh':function(_0x163b2c,_0x31236f,_0x4ee971){return _0x163b2c(_0x31236f,_0x4ee971);}},_0x4cc7c6=new MsgListener();_0x4cc7c6[_0x22b622(0x1bf)]=_0x2969bd=>{const _0x4b52b2=_0x22b622,_0x51065c={'lnjeD':function(_0x1479fb,_0x15dc4e){return _0x1479fb===_0x15dc4e;},'UTPMO':function(_0x33eb81,_0x14a8d5){const _0x96bcd7=_0x4d3b;return _0x19e878[_0x96bcd7(0x254)](_0x33eb81,_0x14a8d5);},'Wfpsr':function(_0x1da237,_0x52841d){const _0x4e3edd=_0x4d3b;return _0x19e878[_0x4e3edd(0x1cf)](_0x1da237,_0x52841d);},'AAfCz':function(_0x3235d6,_0x5eb660){const _0x2f52a5=_0x4d3b;return _0x19e878[_0x2f52a5(0x1cf)](_0x3235d6,_0x5eb660);},'DTYrC':_0x19e878[_0x4b52b2(0x21d)],'LsTQL':_0x19e878['LQaQe']};_0x2969bd['map'](_0x428390=>{const _0xfd593b=_0x4b52b2;_0x51065c[_0xfd593b(0x22f)](_0x428390[_0xfd593b(0x24e)],0x2)&&_0x51065c['UTPMO'](log,_0x51065c[_0xfd593b(0x1e8)](_0x51065c[_0xfd593b(0x1be)](_0x51065c[_0xfd593b(0x1fb)],_0x428390[_0xfd593b(0x269)]),_0x51065c[_0xfd593b(0x21f)]));});},_0x4cc7c6['onKickedOffLine']=_0x2e09ce=>{const _0x1035f0=_0x22b622;_0x19e878[_0x1035f0(0x250)](log,_0x19e878[_0x1035f0(0x1f3)](_0x19e878[_0x1035f0(0x20f)],_0x2e09ce[_0x1035f0(0x217)])+']\x20'+_0x2e09ce[_0x1035f0(0x1f9)]);},_0x4cc7c6[_0x22b622(0x1d9)]=_0xe7cba7=>{const _0x431f5f=_0x22b622;stat['packet_received']+=0x1,_0xe7cba7[_0x431f5f(0x235)](_0xbb45cb=>{const _0x100779=_0x431f5f;_0x19e878['WBXQp'](_0xbb45cb[_0x100779(0x23a)],'0')?dbUtil[_0x100779(0x21e)](_0xbb45cb)[_0x100779(0x20e)]()[_0x100779(0x221)]():dbUtil[_0x100779(0x1c2)](_0xbb45cb[_0x100779(0x25c)])[_0x100779(0x20e)](_0x193d6d=>{const _0x26fffb=_0x100779;_0x193d6d&&(_0x193d6d[_0x26fffb(0x23a)]=_0xbb45cb[_0x26fffb(0x23a)],dbUtil[_0x26fffb(0x26f)](_0x193d6d)['then']());});});},_0x4cc7c6[_0x22b622(0x262)]=_0xa10d97=>{const _0x3f8ed1=_0x22b622;stat[_0x3f8ed1(0x224)]+=0x1,stat[_0x3f8ed1(0x23f)]+=0x1,stat[_0x3f8ed1(0x1ee)]=Math[_0x3f8ed1(0x248)](_0x19e878[_0x3f8ed1(0x247)](Date['now'](),0x3e8));},_0x4cc7c6[_0x22b622(0x1ff)]=_0x496ced=>{const _0x4e69b1=_0x22b622;stat[_0x4e69b1(0x23c)]+=0x1,stat[_0x4e69b1(0x204)]+=_0x496ced[_0x4e69b1(0x1d5)],stat[_0x4e69b1(0x1ee)]=Math['floor'](_0x19e878[_0x4e69b1(0x247)](Date[_0x4e69b1(0x230)](),0x3e8));},_0x4cc7c6[_0x22b622(0x1cd)]=(..._0x46ac49)=>{const _0x45d3da=_0x22b622;stat[_0x45d3da(0x23c)]+=0x1;},this[_0x22b622(0x1bb)](_0x4cc7c6);const _0x359396=new BuddyListener();_0x359396['onBuddyListChange']=_0x49b8d=>{const _0x10efad=_0x22b622;rawFriends[_0x10efad(0x1d5)]=0x0,rawFriends[_0x10efad(0x216)](..._0x49b8d);for(const _0x22eaea of _0x49b8d){for(const _0x32af76 of _0x22eaea[_0x10efad(0x20a)]){const _0x1adece=friends[_0x10efad(0x212)](_0x32af76[_0x10efad(0x1b2)]);uid2UinMap[_0x32af76[_0x10efad(0x1b2)]]=_0x32af76[_0x10efad(0x1ef)],_0x1adece?Object[_0x10efad(0x1f6)](_0x1adece,_0x32af76):friends['set'](_0x32af76[_0x10efad(0x1b2)],_0x32af76);}}},this[_0x22b622(0x1bb)](_0x359396),this['session'][_0x22b622(0x209)]()[_0x22b622(0x263)](!![])[_0x22b622(0x20e)](_0xb3d51=>{});const _0x56ff2a=new ProfileListener();_0x56ff2a[_0x22b622(0x1f4)]=_0x52e007=>{const _0x4848c6=_0x22b622;_0x19e878[_0x4848c6(0x1c5)](_0x52e007[_0x4848c6(0x1b2)],selfInfo[_0x4848c6(0x1b2)])&&Object[_0x4848c6(0x1f6)](selfInfo,_0x52e007);},_0x56ff2a[_0x22b622(0x1b4)]=_0x2c9846=>{},this[_0x22b622(0x1bb)](_0x56ff2a);const _0x2abe00=new GroupListener();_0x2abe00[_0x22b622(0x1ea)]=(_0x366c9c,_0x242de1)=>{const _0x1d570d=_0x22b622,_0x1e8029={'vMvKM':_0x19e878[_0x1d570d(0x1fe)]};_0x242de1[_0x1d570d(0x235)](_0x286b6a=>{const _0x2fa39c=_0x1d570d,_0x2ca47b=groups['get'](_0x286b6a[_0x2fa39c(0x24a)]);if(_0x2ca47b)Object[_0x2fa39c(0x1f6)](_0x2ca47b,_0x286b6a);else{groups[_0x2fa39c(0x24d)](_0x286b6a['groupCode'],_0x286b6a);const _0x38fc67=this[_0x2fa39c(0x257)][_0x2fa39c(0x200)]()[_0x2fa39c(0x226)](_0x286b6a['groupCode'],_0x1e8029[_0x2fa39c(0x252)]);this[_0x2fa39c(0x257)][_0x2fa39c(0x200)]()[_0x2fa39c(0x205)](_0x38fc67,undefined,0xbb8)['then'](_0x2f9b6a=>{});}});},_0x2abe00[_0x22b622(0x22b)]=_0x3f2c17=>{const _0x152463=_0x22b622,_0x595ba4=_0x3f2c17[_0x152463(0x1f0)][_0x152463(0x1fa)]('_')[0x0];if(groupMembers['has'](_0x595ba4)){const _0xa3ccd1=groupMembers['get'](_0x595ba4);_0x3f2c17[_0x152463(0x206)][_0x152463(0x21a)]((_0x25d4d,_0x542aaf)=>{const _0x235044=_0x152463,_0x375034=_0xa3ccd1[_0x235044(0x212)](_0x542aaf);_0x375034?Object[_0x235044(0x1f6)](_0x375034,_0x25d4d):_0xa3ccd1[_0x235044(0x24d)](_0x542aaf,_0x25d4d);});}else groupMembers[_0x152463(0x24d)](_0x595ba4,_0x3f2c17[_0x152463(0x206)]);},_0x2abe00[_0x22b622(0x249)]=(_0x1ec042,_0x2cf87c,_0x422388)=>{const _0x6c2e0c=_0x22b622;_0x19e878[_0x6c2e0c(0x1c5)](_0x2cf87c,0x0)&&_0x422388[_0x6c2e0c(0x212)](selfInfo[_0x6c2e0c(0x1b2)])&&_0x422388[_0x6c2e0c(0x212)](selfInfo[_0x6c2e0c(0x1b2)])?.['isDelete']&&_0x19e878['LAYNh'](setTimeout,()=>{const _0x110d36=_0x6c2e0c;groups[_0x110d36(0x25a)](_0x1ec042);},0x1388);_0x422388[_0x6c2e0c(0x21a)]((_0x59df78,_0x17ff24)=>{const _0x4d89c9=_0x6c2e0c;uid2UinMap[_0x17ff24]=_0x59df78[_0x4d89c9(0x1ef)];});const _0x588131=groupMembers[_0x6c2e0c(0x212)](_0x1ec042);_0x588131?_0x422388['forEach']((_0x1adcbb,_0x2a24d7)=>{const _0x71e90a=_0x6c2e0c,_0x70eed3=_0x588131[_0x71e90a(0x212)](_0x2a24d7);_0x70eed3?Object[_0x71e90a(0x1f6)](_0x70eed3,_0x1adcbb):_0x588131[_0x71e90a(0x24d)](_0x2a24d7,_0x1adcbb);}):groupMembers[_0x6c2e0c(0x24d)](_0x1ec042,_0x422388);},this[_0x22b622(0x1bb)](_0x2abe00);}['addListener'](_0x1fbe8d){const _0x3ce424=_0xe4e48c,_0x255c38={'iYkkM':_0x3ce424(0x1db),'MWTJu':'GroupListener','WJwcw':_0x3ce424(0x24c)};_0x1fbe8d=new Proxy(_0x1fbe8d,this[_0x3ce424(0x1dd)]);switch(_0x1fbe8d[_0x3ce424(0x214)][_0x3ce424(0x20b)]){case _0x255c38[_0x3ce424(0x240)]:{return this['session']['getBuddyService']()[_0x3ce424(0x25e)](new _0x341878[(_0x3ce424(0x1d8))](_0x1fbe8d));}case _0x255c38[_0x3ce424(0x211)]:{return this[_0x3ce424(0x257)][_0x3ce424(0x200)]()['addKernelGroupListener'](new _0x341878[(_0x3ce424(0x215))](_0x1fbe8d));}case _0x255c38[_0x3ce424(0x231)]:{return this['session'][_0x3ce424(0x242)]()[_0x3ce424(0x220)](new _0x341878[(_0x3ce424(0x1f1))](_0x1fbe8d));}case _0x3ce424(0x261):{return this[_0x3ce424(0x257)][_0x3ce424(0x251)]()[_0x3ce424(0x23e)](new _0x341878[(_0x3ce424(0x21b))](_0x1fbe8d));}default:return-0x1;}}['onLoginSuccess'](_0x1cef10){const _0x114cf1=_0xe4e48c;this['onLoginSuccessFuncList'][_0x114cf1(0x216)](_0x1cef10);}async[_0xe4e48c(0x1b5)](_0x45d5d0){const _0x32d661=_0xe4e48c,_0x5dfa9b={'QiDoe':function(_0x30c413,_0x1d96ec){return _0x30c413!==_0x1d96ec;},'bdYPe':function(_0x509622,_0x256704){return _0x509622(_0x256704);},'ceyrg':function(_0xc6ef59,_0x422248){return _0xc6ef59+_0x422248;},'IJbpY':'快速登录失败\x20'},_0x4ba406=await this[_0x32d661(0x268)]['getLoginList']();if(_0x5dfa9b[_0x32d661(0x243)](_0x4ba406['result'],0x0))throw new Error(_0x32d661(0x1de));const _0x21e6ec=_0x4ba406[_0x32d661(0x1f5)][_0x32d661(0x222)](_0x57b894=>_0x57b894['uin']===_0x45d5d0);if(!_0x21e6ec||!_0x21e6ec?.[_0x32d661(0x246)])throw new Error(_0x45d5d0+_0x32d661(0x218));await _0x5dfa9b[_0x32d661(0x1e1)](sleep,0x3e8);const _0x375fac=await this[_0x32d661(0x268)][_0x32d661(0x1bd)](_0x45d5d0);if(!_0x375fac[_0x32d661(0x24f)])throw new Error(_0x5dfa9b[_0x32d661(0x1cc)](_0x5dfa9b[_0x32d661(0x1fc)],_0x375fac['loginErrorInfo'][_0x32d661(0x264)]));return _0x375fac;}async[_0xe4e48c(0x255)](_0x3fd7e1){const _0x3a4123=_0xe4e48c,_0x286999={'dnxkS':_0x3a4123(0x229)};return new Promise((_0x286edb,_0x39d503)=>{const _0x1465d1=_0x3a4123,_0x40480d={'uthWD':_0x286999[_0x1465d1(0x1b9)]};this['loginListener'][_0x1465d1(0x1b1)]=_0x2837a6=>{const _0x4dd314=_0x1465d1,_0xee76d6=_0x2837a6[_0x4dd314(0x1c9)][_0x4dd314(0x1fa)](_0x40480d[_0x4dd314(0x1ed)])[0x1],_0x442bb9=Buffer[_0x4dd314(0x1ca)](_0xee76d6,_0x4dd314(0x22a));_0x3fd7e1(_0x2837a6[_0x4dd314(0x253)],_0x2837a6[_0x4dd314(0x1c9)],_0x442bb9);},this[_0x1465d1(0x268)][_0x1465d1(0x1d7)]();});}async[_0xe4e48c(0x1ec)](_0x585bfa,_0x32f55e,_0x4d8ea0,_0x4b4f01,_0x5ed941){const _0x2e252b=_0xe4e48c,_0x214d4e={'RXmKR':'hex','btnuP':function(_0x297538,_0x4487f5){return _0x297538&&_0x4487f5;},'adWEH':function(_0x1700d3,_0x13e332){return _0x1700d3||_0x13e332;},'rPuCr':function(_0x4f40e9,_0x115575){return _0x4f40e9||_0x115575;},'mCXDL':function(_0x397487,_0x1fb9d9){return _0x397487(_0x1fb9d9);},'QjNJz':_0x2e252b(0x219),'rHhOM':_0x2e252b(0x1d0)},_0x1f2694=_0xb1e5da[_0x2e252b(0x1ce)]('md5')['update'](_0x32f55e)[_0x2e252b(0x1dc)](_0x214d4e[_0x2e252b(0x210)]),_0x1b23a2={'uin':_0x585bfa,'passwordMd5':_0x1f2694,'step':_0x214d4e[_0x2e252b(0x25d)](_0x4d8ea0,_0x4b4f01)&&_0x5ed941?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4d8ea0||'','proofWaterRand':_0x214d4e[_0x2e252b(0x26b)](_0x4b4f01,''),'proofWaterSid':_0x214d4e[_0x2e252b(0x258)](_0x5ed941,'')};await this[_0x2e252b(0x268)][_0x2e252b(0x1c3)](),await _0x214d4e['mCXDL'](sleep,0x3e8);const _0xb115fb=await this[_0x2e252b(0x268)][_0x2e252b(0x1ec)](_0x1b23a2);switch(_0xb115fb['result']){case'0':{break;}case _0x214d4e[_0x2e252b(0x20d)]:{break;}case'4':case _0x214d4e[_0x2e252b(0x1e5)]:default:}}async['getQuickLoginList'](){const _0x276a4b=_0xe4e48c,_0xe70eb3=await this[_0x276a4b(0x268)][_0x276a4b(0x1c3)]();return _0xe70eb3;}}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 80bcf6a1..e1c8ff87 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x571315=_0x467b;function _0x467b(_0x54cc97,_0x13bdf1){const _0x180623=_0x1806();return _0x467b=function(_0x467b22,_0x38cc84){_0x467b22=_0x467b22-0x6e;let _0x23d859=_0x180623[_0x467b22];return _0x23d859;},_0x467b(_0x54cc97,_0x13bdf1);}(function(_0x199b8d,_0x48ad52){const _0x13c2a0=_0x467b,_0x6acbd9=_0x199b8d();while(!![]){try{const _0x17176e=-parseInt(_0x13c2a0(0x85))/0x1+-parseInt(_0x13c2a0(0x7c))/0x2+-parseInt(_0x13c2a0(0x78))/0x3*(-parseInt(_0x13c2a0(0x6f))/0x4)+parseInt(_0x13c2a0(0x80))/0x5+parseInt(_0x13c2a0(0x84))/0x6+-parseInt(_0x13c2a0(0x7b))/0x7*(-parseInt(_0x13c2a0(0x7f))/0x8)+parseInt(_0x13c2a0(0x74))/0x9*(-parseInt(_0x13c2a0(0x70))/0xa);if(_0x17176e===_0x48ad52)break;else _0x6acbd9['push'](_0x6acbd9['shift']());}catch(_0x1b6bd2){_0x6acbd9['push'](_0x6acbd9['shift']());}}}(_0x1806,0x8bc7d));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(_0x4b8dd6){const _0x2b51fc=_0x467b;groups[_0x2b51fc(0x77)](_0x4b8dd6),groupMembers[_0x2b51fc(0x77)](_0x4b8dd6);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x571315(0x83)};export async function getFriend(_0x3608aa){const _0x559427=_0x571315;_0x3608aa=_0x3608aa[_0x559427(0x7d)]();if(isNumeric(_0x3608aa)){const _0x20a64f=Array['from'](friends[_0x559427(0x6e)]());return _0x20a64f['find'](_0x4b1248=>_0x4b1248[_0x559427(0x73)]===_0x3608aa);}else return friends['get'](_0x3608aa);}export async function getGroup(_0x34b8af){const _0x1394f6=_0x571315;let _0x2f6fd1=groups['get'](_0x34b8af[_0x1394f6(0x7d)]());if(!_0x2f6fd1)try{const _0x5b8a70=await NTQQGroupApi[_0x1394f6(0x81)]();_0x5b8a70['length']&&_0x5b8a70[_0x1394f6(0x7e)](_0x465d78=>{const _0xf85cb5=_0x1394f6;groups[_0xf85cb5(0x72)](_0x465d78[_0xf85cb5(0x7a)],_0x465d78);});}catch(_0xbb82de){return undefined;}return _0x2f6fd1=groups[_0x1394f6(0x71)](_0x34b8af[_0x1394f6(0x7d)]()),_0x2f6fd1;}export async function getGroupMember(_0x428dcb,_0x1874b7){const _0x170ac7=_0x571315,_0x37957a={'UzVmI':function(_0x4b47d8,_0x5193a5){return _0x4b47d8(_0x5193a5);},'RNUbn':function(_0x450685){return _0x450685();}};_0x428dcb=_0x428dcb[_0x170ac7(0x7d)](),_0x1874b7=_0x1874b7['toString']();let _0x20bfe0=groupMembers['get'](_0x428dcb);if(!_0x20bfe0)try{_0x20bfe0=await NTQQGroupApi[_0x170ac7(0x79)](_0x428dcb),groupMembers[_0x170ac7(0x72)](_0x428dcb,_0x20bfe0);}catch(_0x67a286){return null;}const _0x2ac254=()=>{const _0x19302d=_0x170ac7;let _0x651129=undefined;return _0x37957a['UzVmI'](isNumeric,_0x1874b7)?_0x651129=Array[_0x19302d(0x82)](_0x20bfe0[_0x19302d(0x6e)]())[_0x19302d(0x76)](_0x4ca044=>_0x4ca044[_0x19302d(0x73)]===_0x1874b7):_0x651129=_0x20bfe0['get'](_0x1874b7),_0x651129;};let _0x204945=_0x37957a[_0x170ac7(0x75)](_0x2ac254);return!_0x204945&&(_0x20bfe0=await NTQQGroupApi[_0x170ac7(0x79)](_0x428dcb),_0x204945=_0x37957a[_0x170ac7(0x75)](_0x2ac254)),_0x204945;}export const uid2UinMap={};export function getUidByUin(_0x36b9d7){for(const _0x13d595 in uid2UinMap){if(uid2UinMap[_0x13d595]===_0x36b9d7)return _0x13d595;}}export const tempGroupCodeMap={};export const rawFriends=[];function _0x1806(){const _0x24c28e=['8hXIXgo','1555935hJTqaX','getGroups','from','NapCat未能正常启动,请检查日志查看错误','2118780mUTHaN','528611Uduxiu','values','4pVbyBk','180tcuqRj','get','set','uin','547929FNuRcj','RNUbn','find','delete','3147519qaLyyS','getGroupMembers','groupCode','7489594tzIZfA','1172844WzcimA','toString','forEach'];_0x1806=function(){return _0x24c28e;};return _0x1806();}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(_0x232104,_0x1a6026){const _0x3ca3b6=_0x3f8e,_0x33507d=_0x232104();while(!![]){try{const _0x14d362=parseInt(_0x3ca3b6(0xbf))/0x1*(-parseInt(_0x3ca3b6(0xad))/0x2)+-parseInt(_0x3ca3b6(0xb9))/0x3*(parseInt(_0x3ca3b6(0xc0))/0x4)+parseInt(_0x3ca3b6(0xbd))/0x5*(parseInt(_0x3ca3b6(0xc1))/0x6)+parseInt(_0x3ca3b6(0xc5))/0x7*(parseInt(_0x3ca3b6(0xb6))/0x8)+-parseInt(_0x3ca3b6(0xaf))/0x9*(parseInt(_0x3ca3b6(0xaa))/0xa)+parseInt(_0x3ca3b6(0xb5))/0xb+-parseInt(_0x3ca3b6(0xb1))/0xc*(parseInt(_0x3ca3b6(0xb4))/0xd);if(_0x14d362===_0x1a6026)break;else _0x33507d['push'](_0x33507d['shift']());}catch(_0x5d6810){_0x33507d['push'](_0x33507d['shift']());}}}(_0x52b8,0xe7218));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(_0x1d7cb6){const _0x1b84b2=_0x3f8e;groups['delete'](_0x1d7cb6),groupMembers[_0x1b84b2(0xb8)](_0x1d7cb6);}function _0x3f8e(_0x34d21b,_0x24a128){const _0x52b884=_0x52b8();return _0x3f8e=function(_0x3f8e0d,_0x516400){_0x3f8e0d=_0x3f8e0d-0xaa;let _0x2befbc=_0x52b884[_0x3f8e0d];return _0x2befbc;},_0x3f8e(_0x34d21b,_0x24a128);}function _0x52b8(){const _0x489bc0=['uin','5270455nSzLIN','toString','14usQsGD','424428AqOqjM','6aozRGt','set','cPgeM','from','427mpivDc','295740YQAyOv','getGroupMembers','TonWD','78622gDRoTD','values','549tscbzK','ZmRth','612qjImxq','forEach','SzXSn','35919wXxiFG','13620420eRwZuA','234272SzbdHG','get','delete','18hGZNvN','groupCode','getGroups'];_0x52b8=function(){return _0x489bc0;};return _0x52b8();}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(_0x1627fc){const _0x2414b6=_0x3f8e,_0x3d7ae0={'ZmRth':function(_0x118494,_0x5dcb0d){return _0x118494(_0x5dcb0d);}};_0x1627fc=_0x1627fc[_0x2414b6(0xbe)]();if(_0x3d7ae0[_0x2414b6(0xb0)](isNumeric,_0x1627fc)){const _0x4c6fc1=Array[_0x2414b6(0xc4)](friends['values']());return _0x4c6fc1['find'](_0x2d0c5e=>_0x2d0c5e[_0x2414b6(0xbc)]===_0x1627fc);}else return friends[_0x2414b6(0xb7)](_0x1627fc);}export async function getGroup(_0x322ad7){const _0x316675=_0x3f8e;let _0x58c712=groups[_0x316675(0xb7)](_0x322ad7[_0x316675(0xbe)]());if(!_0x58c712)try{const _0x2dc22d=await NTQQGroupApi[_0x316675(0xbb)]();_0x2dc22d['length']&&_0x2dc22d[_0x316675(0xb2)](_0x4f9d21=>{const _0x567e31=_0x316675;groups[_0x567e31(0xc2)](_0x4f9d21[_0x567e31(0xba)],_0x4f9d21);});}catch(_0x988624){return undefined;}return _0x58c712=groups[_0x316675(0xb7)](_0x322ad7[_0x316675(0xbe)]()),_0x58c712;}export async function getGroupMember(_0x8b6ee4,_0x149b82){const _0x5d7e33=_0x3f8e,_0x442bb3={'TonWD':function(_0x8a6fb1,_0x56c370){return _0x8a6fb1(_0x56c370);},'SzXSn':function(_0x41b5a0){return _0x41b5a0();}};_0x8b6ee4=_0x8b6ee4[_0x5d7e33(0xbe)](),_0x149b82=_0x149b82[_0x5d7e33(0xbe)]();let _0x4a9fb4=groupMembers[_0x5d7e33(0xb7)](_0x8b6ee4);if(!_0x4a9fb4)try{_0x4a9fb4=await NTQQGroupApi['getGroupMembers'](_0x8b6ee4),groupMembers[_0x5d7e33(0xc2)](_0x8b6ee4,_0x4a9fb4);}catch(_0x4dbc6e){return null;}const _0xf61f1f=()=>{const _0x23c0fa=_0x5d7e33;let _0x399b4d=undefined;return _0x442bb3[_0x23c0fa(0xac)](isNumeric,_0x149b82)?_0x399b4d=Array['from'](_0x4a9fb4[_0x23c0fa(0xae)]())['find'](_0x2bfc3c=>_0x2bfc3c[_0x23c0fa(0xbc)]===_0x149b82):_0x399b4d=_0x4a9fb4['get'](_0x149b82),_0x399b4d;};let _0x259010=_0xf61f1f();return!_0x259010&&(_0x4a9fb4=await NTQQGroupApi[_0x5d7e33(0xab)](_0x8b6ee4),_0x259010=_0x442bb3[_0x5d7e33(0xb3)](_0xf61f1f)),_0x259010;}export const uid2UinMap={};export function getUidByUin(_0x11be32){const _0x52b827=_0x3f8e,_0x3631da={'cPgeM':function(_0xe6644c,_0x1b710a){return _0xe6644c===_0x1b710a;}};for(const _0x5e2713 in uid2UinMap){if(_0x3631da[_0x52b827(0xc3)](uid2UinMap[_0x5e2713],_0x11be32))return _0x5e2713;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 4a1e0a54..54222052 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x4de8b5,_0x5962dc){var _0x47a160=_0x58be,_0x9f54e9=_0x4de8b5();while(!![]){try{var _0x39f4f6=parseInt(_0x47a160(0x187))/0x1*(-parseInt(_0x47a160(0x18d))/0x2)+-parseInt(_0x47a160(0x182))/0x3+parseInt(_0x47a160(0x17f))/0x4*(-parseInt(_0x47a160(0x186))/0x5)+-parseInt(_0x47a160(0x18c))/0x6+parseInt(_0x47a160(0x18b))/0x7*(-parseInt(_0x47a160(0x17e))/0x8)+parseInt(_0x47a160(0x189))/0x9+parseInt(_0x47a160(0x17c))/0xa;if(_0x39f4f6===_0x5962dc)break;else _0x9f54e9['push'](_0x9f54e9['shift']());}catch(_0x45e9ce){_0x9f54e9['push'](_0x9f54e9['shift']());}}}(_0x2f87,0x52dee));function _0x58be(_0x4b2f9c,_0x4f9035){var _0x2f8788=_0x2f87();return _0x58be=function(_0x58be69,_0x327703){_0x58be69=_0x58be69-0x17a;var _0x14cf44=_0x2f8788[_0x58be69];return _0x14cf44;},_0x58be(_0x4b2f9c,_0x4f9035);};export var CacheFileType;(function(_0x2ef597){var _0x9d8470=_0x58be,_0x8dce64={'dcSFv':'2|1|4|3|0','aEOBY':_0x9d8470(0x185),'bFGLo':_0x9d8470(0x183),'OHzpX':_0x9d8470(0x17a),'UZQBI':'DOCUMENT'},_0x31aa0e=_0x8dce64[_0x9d8470(0x17d)][_0x9d8470(0x188)]('|'),_0x3c312f=0x0;while(!![]){switch(_0x31aa0e[_0x3c312f++]){case'0':_0x2ef597[_0x2ef597[_0x8dce64[_0x9d8470(0x180)]]=0x4]=_0x8dce64['aEOBY'];continue;case'1':_0x2ef597[_0x2ef597[_0x8dce64[_0x9d8470(0x184)]]=0x1]=_0x8dce64[_0x9d8470(0x184)];continue;case'2':_0x2ef597[_0x2ef597[_0x8dce64['OHzpX']]=0x0]=_0x8dce64[_0x9d8470(0x181)];continue;case'3':_0x2ef597[_0x2ef597[_0x8dce64[_0x9d8470(0x18a)]]=0x3]=_0x8dce64[_0x9d8470(0x18a)];continue;case'4':_0x2ef597[_0x2ef597[_0x9d8470(0x17b)]=0x2]=_0x9d8470(0x17b);continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x2f87(){var _0x2cbc2d=['2186124UxaKKt','159362UGdcNQ','IMAGE','AUDIO','18302080DvlWCA','dcSFv','1103080sTkqtE','4jeDjTC','aEOBY','OHzpX','1717089ycmXyE','VIDEO','bFGLo','OTHER','2851480BvIHeJ','2OvjZgx','split','5303340bErIWJ','UZQBI','21XHeNUj'];_0x2f87=function(){return _0x2cbc2d;};return _0x2f87();} \ No newline at end of file +function _0x22fc(){var _0x4d430e=['45XELvbK','6788540HQOXCN','2XmaNLL','split','51879exTaZG','IMAGE','1412480mnodbb','VIDEO','UbuRT','DOCUMENT','597250FdatNd','1|0|3|2|4','21IKEAhc','188VwRcwM','1055312EbEGTb','320668VyoCRL','OhEUm','RQbtu','1718616LXbHri'];_0x22fc=function(){return _0x4d430e;};return _0x22fc();}(function(_0xe5ad98,_0x80be88){var _0x2fa55e=_0x4d96,_0x47c51c=_0xe5ad98();while(!![]){try{var _0x43c362=parseInt(_0x2fa55e(0x183))/0x1*(parseInt(_0x2fa55e(0x17d))/0x2)+-parseInt(_0x2fa55e(0x185))/0x3*(-parseInt(_0x2fa55e(0x17b))/0x4)+-parseInt(_0x2fa55e(0x178))/0x5+-parseInt(_0x2fa55e(0x180))/0x6+parseInt(_0x2fa55e(0x17a))/0x7*(-parseInt(_0x2fa55e(0x17c))/0x8)+-parseInt(_0x2fa55e(0x181))/0x9*(-parseInt(_0x2fa55e(0x174))/0xa)+-parseInt(_0x2fa55e(0x182))/0xb;if(_0x43c362===_0x80be88)break;else _0x47c51c['push'](_0x47c51c['shift']());}catch(_0x40aeda){_0x47c51c['push'](_0x47c51c['shift']());}}}(_0x22fc,0x66c2f));function _0x4d96(_0x54d519,_0xba9979){var _0x22fcd4=_0x22fc();return _0x4d96=function(_0x4d9696,_0x21318f){_0x4d9696=_0x4d9696-0x173;var _0x566dfb=_0x22fcd4[_0x4d9696];return _0x566dfb;},_0x4d96(_0x54d519,_0xba9979);};export var CacheFileType;(function(_0x169e50){var _0x50191d=_0x4d96,_0x4c3a6c={'qcPYE':_0x50191d(0x179),'vjxIe':'VIDEO','UbuRT':_0x50191d(0x173),'CKxqJ':'DOCUMENT','OhEUm':'AUDIO','RQbtu':'OTHER'},_0x145558=_0x4c3a6c['qcPYE'][_0x50191d(0x184)]('|'),_0x46671d=0x0;while(!![]){switch(_0x145558[_0x46671d++]){case'0':_0x169e50[_0x169e50[_0x50191d(0x175)]=0x1]=_0x4c3a6c['vjxIe'];continue;case'1':_0x169e50[_0x169e50[_0x4c3a6c[_0x50191d(0x176)]]=0x0]=_0x50191d(0x173);continue;case'2':_0x169e50[_0x169e50[_0x4c3a6c['CKxqJ']]=0x3]=_0x50191d(0x177);continue;case'3':_0x169e50[_0x169e50[_0x4c3a6c[_0x50191d(0x17e)]]=0x2]=_0x4c3a6c[_0x50191d(0x17e)];continue;case'4':_0x169e50[_0x169e50[_0x4c3a6c[_0x50191d(0x17f)]]=0x4]=_0x4c3a6c[_0x50191d(0x17f)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 52ec8e29..ea1a6ec4 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x2ec5bf=_0x862f;(function(_0xafd43e,_0x4f637a){const _0x232b07=_0x862f,_0x4e7178=_0xafd43e();while(!![]){try{const _0x5581ae=parseInt(_0x232b07(0x117))/0x1*(-parseInt(_0x232b07(0x110))/0x2)+parseInt(_0x232b07(0xcd))/0x3*(parseInt(_0x232b07(0xd6))/0x4)+parseInt(_0x232b07(0xe3))/0x5*(-parseInt(_0x232b07(0x118))/0x6)+parseInt(_0x232b07(0xed))/0x7*(parseInt(_0x232b07(0xdd))/0x8)+parseInt(_0x232b07(0x10f))/0x9*(parseInt(_0x232b07(0xd3))/0xa)+-parseInt(_0x232b07(0xca))/0xb*(parseInt(_0x232b07(0xc7))/0xc)+parseInt(_0x232b07(0xff))/0xd*(parseInt(_0x232b07(0xee))/0xe);if(_0x5581ae===_0x4f637a)break;else _0x4e7178['push'](_0x4e7178['shift']());}catch(_0x41e317){_0x4e7178['push'](_0x4e7178['shift']());}}}(_0x92dd,0x7ef83));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x398f30}from'node:fs';import _0x4ae4f6 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x862f(_0x24bbdf,_0x3f4f10){const _0x92ddb5=_0x92dd();return _0x862f=function(_0x862fca,_0x2ac7ff){_0x862fca=_0x862fca-0xc1;let _0x27b350=_0x92ddb5[_0x862fca];return _0x27b350;},_0x862f(_0x24bbdf,_0x3f4f10);}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';function _0x92dd(){const _0x528ddf=['PIC','UGJFb','UoLmf','eetkj','16DCDqCm','iMuQE','JEuUD','string','gif','then','15igxkBs','screenshots','MARKDOWN','error','语音转换失败,\x20请检查语音文件是否正常','VIDEO','end','获取视频信息失败','pic','FILE','419986WqzhTF','14ODPcZo','xUsOq','size','jCVap','vCfBB','mp4','rsatO','notAt','height','getImageSize','文件异常,大小为0','ARK','dirname','RivuF','jpg','kKjsX','unlink','32013319vMXUet','NjsaS','OZXCI','rwRRP','HBJSs','_0.png','width','ZGyCR','Zamcl','video','rps','set','MZaXF','[包剪锤]','path','TEXT','9UJidha','1262174WIxIKl','uploadFile','catch','sep','获取视频封面失败,使用默认封面','copyFile','ptt','1IyrRox','1663764FliaWE','PTT','normal','stat','time','RPS','writeFile','trOqS','12CHvZyV','KcZNr','Ori','9791452BroqNR','dice','cMZXl','318561XGPvgL','FACE','kwgRS','mface','toString','olQaI','782350NTrxfJ','text','face','8AJHWJX','图片信息','markdown'];_0x92dd=function(){return _0x528ddf;};return _0x92dd();}import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x2ec5bf(0xd4)](_0xa60653){const _0x4c6126=_0x2ec5bf;return{'elementType':ElementType[_0x4c6126(0x10e)],'elementId':'','textElement':{'content':_0xa60653,'atType':AtType[_0x4c6126(0xf5)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x1405d2,_0x512f20,_0x3b2613,_0x398809){const _0x2f8453=_0x2ec5bf;return{'elementType':ElementType[_0x2f8453(0x10e)],'elementId':'','textElement':{'content':'@'+_0x398809,'atType':_0x3b2613,'atUid':_0x1405d2,'atTinyId':'','atNtUid':_0x512f20}};}static['reply'](_0x882439,_0x340dd2,_0x9d8a23,_0x433653){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x882439,'replayMsgId':_0x340dd2,'senderUin':_0x9d8a23,'senderUinStr':_0x433653}};}static async[_0x2ec5bf(0xeb)](_0x30b813,_0x558d92='',_0xb955f2=0x0){const _0x4f5dc7=_0x2ec5bf,_0x413573={'Zamcl':'文件异常,大小为0','KcZNr':function(_0x496fe7,_0x310b28){return _0x496fe7(_0x310b28);},'MZaXF':function(_0x47d1cc,_0x2061ce,_0x146fd4){return _0x47d1cc(_0x2061ce,_0x146fd4);}},{md5:_0x431dec,fileName:_0x15e3f2,path:_0x5aa414,fileSize:_0x7ba8d}=await NTQQFileApi[_0x4f5dc7(0x111)](_0x30b813,ElementType[_0x4f5dc7(0xd9)],_0xb955f2);if(_0x7ba8d===0x0)throw _0x413573[_0x4f5dc7(0x107)];const _0x24ce8a=await NTQQFileApi[_0x4f5dc7(0xf7)](_0x30b813),_0x1248c3={'md5HexStr':_0x431dec,'fileSize':_0x7ba8d['toString'](),'picWidth':_0x24ce8a?.[_0x4f5dc7(0x105)],'picHeight':_0x24ce8a?.[_0x4f5dc7(0xf6)],'fileName':_0x15e3f2,'sourcePath':_0x5aa414,'original':!![],'picType':_0x413573[_0x4f5dc7(0xc8)](isGIF,_0x30b813)?PicType[_0x4f5dc7(0xe1)]:PicType[_0x4f5dc7(0xfc)],'picSubType':_0xb955f2,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x558d92};return _0x413573[_0x4f5dc7(0x10b)](logDebug,_0x4f5dc7(0xd7),_0x1248c3),{'elementType':ElementType[_0x4f5dc7(0xd9)],'elementId':'','picElement':_0x1248c3};}static async['file'](_0x96085a,_0x21e4cd=''){const _0xb10ce5=_0x2ec5bf,_0x5a9493={'OZXCI':function(_0xd5a793,_0xaaa22e){return _0xd5a793===_0xaaa22e;},'rsatO':_0xb10ce5(0xf8),'cMZXl':function(_0x5b9b7c,_0x196895){return _0x5b9b7c||_0x196895;}},{md5:_0x3d78de,fileName:_0x183e7c,path:_0x3aca3b,fileSize:_0x434099}=await NTQQFileApi[_0xb10ce5(0x111)](_0x96085a,ElementType[_0xb10ce5(0xec)]);if(_0x5a9493[_0xb10ce5(0x101)](_0x434099,0x0))throw _0x5a9493[_0xb10ce5(0xf4)];const _0x242734={'elementType':ElementType[_0xb10ce5(0xec)],'elementId':'','fileElement':{'fileName':_0x5a9493[_0xb10ce5(0xcc)](_0x21e4cd,_0x183e7c),'filePath':_0x3aca3b,'fileSize':_0x434099[_0xb10ce5(0xd1)]()}};return _0x242734;}static async[_0x2ec5bf(0x108)](_0x49dd6d,_0x4376e6='',_0x3d92f2=''){const _0x48d4e2=_0x2ec5bf,_0x5537ff={'YcNFY':function(_0x5365d3,_0xf8d40,_0x3e4e18){return _0x5365d3(_0xf8d40,_0x3e4e18);},'jfTtz':_0x48d4e2(0x114),'ZGyCR':function(_0x3515c1,_0x513031){return _0x3515c1(_0x513031);},'UoLmf':function(_0xde9635,_0xd64965){return _0xde9635(_0xd64965);},'WlAKc':function(_0x3dffb7,_0x2cd0c4){return _0x3dffb7+_0x2cd0c4;},'kKjsX':function(_0xf8d328,_0x5a5801){return _0xf8d328===_0x5a5801;},'trOqS':_0x48d4e2(0xf8),'eetkj':_0x48d4e2(0x10d),'RivuF':function(_0x3b542a,_0x301825){return _0x3b542a(_0x301825);},'JEuUD':'视频信息','olQaI':function(_0x5e6021,_0x2b63cc){return _0x5e6021||_0x2b63cc;},'iMuQE':function(_0x2e8fdd,_0x156d4d){return _0x2e8fdd+_0x156d4d;}},{fileName:_0x1d668b,path:_0x1bbf21,fileSize:_0xb5f39a,md5:_0x2827b9}=await NTQQFileApi[_0x48d4e2(0x111)](_0x49dd6d,ElementType[_0x48d4e2(0xe8)]);if(_0x5537ff[_0x48d4e2(0xfd)](_0xb5f39a,0x0))throw _0x5537ff[_0x48d4e2(0xc6)];const _0x121e27=_0x5537ff[_0x48d4e2(0xdb)](require,_0x5537ff[_0x48d4e2(0xdc)]);let _0x1c3d9f=_0x1bbf21['replace'](_0x121e27[_0x48d4e2(0x113)]+_0x48d4e2(0xc9)+_0x121e27['sep'],_0x121e27[_0x48d4e2(0x113)]+'Thumb'+_0x121e27[_0x48d4e2(0x113)]);_0x1c3d9f=_0x121e27[_0x48d4e2(0xfa)](_0x1c3d9f);let _0x2cce4d={'width':0x780,'height':0x438,'time':0xf,'format':_0x48d4e2(0xf3),'size':_0xb5f39a,'filePath':_0x49dd6d};try{_0x2cce4d=await _0x5537ff[_0x48d4e2(0xfb)](getVideoInfo,_0x1bbf21),_0x5537ff['YcNFY'](logDebug,_0x5537ff[_0x48d4e2(0xdf)],_0x2cce4d);}catch(_0x3699e3){logError(_0x48d4e2(0xea),_0x3699e3);}const _0x38343b=new Promise((_0x2a6504,_0x3be012)=>{const _0x54cd38=_0x48d4e2,_0x246552={'NjsaS':function(_0x19cde7,_0x57f52e){const _0x3b7787=_0x862f;return _0x5537ff[_0x3b7787(0x106)](_0x19cde7,_0x57f52e);}},_0x3bc056=_0x2827b9+_0x54cd38(0x104),_0x3aa50d=_0x121e27['join'](_0x1c3d9f,_0x3bc056);_0x5537ff[_0x54cd38(0xdb)](_0x4ae4f6,_0x49dd6d)['on'](_0x54cd38(0xe9),()=>{})['on'](_0x54cd38(0xe6),_0x101236=>{const _0x15289e=_0x54cd38;_0x5537ff['YcNFY'](logDebug,_0x5537ff['jfTtz'],_0x101236),_0x3d92f2?_0x398f30[_0x15289e(0x115)](_0x3d92f2,_0x3aa50d)['then'](()=>{const _0x22423b=_0x15289e;_0x246552[_0x22423b(0x100)](_0x2a6504,_0x3aa50d);})[_0x15289e(0x112)](_0x3be012):_0x398f30[_0x15289e(0xc5)](_0x3aa50d,defaultVideoThumb)[_0x15289e(0xe2)](()=>{const _0x203727=_0x15289e;_0x246552[_0x203727(0x100)](_0x2a6504,_0x3aa50d);})[_0x15289e(0x112)](_0x3be012);})[_0x54cd38(0xe4)]({'timestamps':[0x0],'filename':_0x3bc056,'folder':_0x1c3d9f,'size':_0x5537ff['WlAKc'](_0x2cce4d['width']+'x',_0x2cce4d[_0x54cd38(0xf6)])})['on']('end',()=>{_0x2a6504(_0x3aa50d);});}),_0x134f50=new Map(),_0x319aeb=await _0x38343b,_0x2dc60e=(await _0x398f30[_0x48d4e2(0xc2)](_0x319aeb))[_0x48d4e2(0xf0)];_0x134f50[_0x48d4e2(0x10a)](0x0,_0x319aeb);const _0x487b4e=await _0x5537ff[_0x48d4e2(0x106)](calculateFileMD5,_0x319aeb),_0x201593={'elementType':ElementType[_0x48d4e2(0xe8)],'elementId':'','videoElement':{'fileName':_0x5537ff[_0x48d4e2(0xd2)](_0x4376e6,_0x1d668b),'filePath':_0x1bbf21,'videoMd5':_0x2827b9,'thumbMd5':_0x487b4e,'fileTime':_0x2cce4d[_0x48d4e2(0xc3)],'thumbPath':_0x134f50,'thumbSize':_0x2dc60e,'thumbWidth':_0x2cce4d[_0x48d4e2(0x105)],'thumbHeight':_0x2cce4d[_0x48d4e2(0xf6)],'fileSize':_0x5537ff[_0x48d4e2(0xde)]('',_0xb5f39a)}};return _0x201593;}static async[_0x2ec5bf(0x116)](_0x1311bc){const _0x24dda2=_0x2ec5bf,_0x159ae9={'xUsOq':function(_0x563d8e,_0x272e2a){return _0x563d8e(_0x272e2a);},'YSmFt':_0x24dda2(0xe7),'rwRRP':function(_0x111041,_0x7496c9){return _0x111041===_0x7496c9;},'jCVap':function(_0x5a81d5,_0x452792){return _0x5a81d5||_0x452792;}},{converted:_0x38921b,path:_0x488bec,duration:_0x504db5}=await _0x159ae9[_0x24dda2(0xef)](encodeSilk,_0x1311bc);if(!_0x488bec)throw _0x159ae9['YSmFt'];const {md5:_0x35d77b,fileName:_0x3a934d,path:_0x3528c1,fileSize:_0x3dac09}=await NTQQFileApi['uploadFile'](_0x488bec,ElementType['PTT']);if(_0x159ae9[_0x24dda2(0x102)](_0x3dac09,0x0))throw'文件异常,大小为0';return _0x38921b&&_0x398f30[_0x24dda2(0xfe)](_0x488bec)[_0x24dda2(0xe2)](),{'elementType':ElementType[_0x24dda2(0x119)],'elementId':'','pttElement':{'fileName':_0x3a934d,'filePath':_0x3528c1,'md5HexStr':_0x35d77b,'fileSize':_0x3dac09,'duration':_0x159ae9[_0x24dda2(0xf1)](_0x504db5,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[_0x2ec5bf(0xd5)](_0x4ad6da){const _0x19881c=_0x2ec5bf,_0x2cb068={'kwgRS':function(_0x4fcdcd,_0x9dbd90){return _0x4fcdcd<_0x9dbd90;}};return{'elementType':ElementType[_0x19881c(0xce)],'elementId':'','faceElement':{'faceIndex':_0x4ad6da,'faceType':_0x2cb068[_0x19881c(0xcf)](_0x4ad6da,0xde)?FaceType[_0x19881c(0xc1)]:FaceType['normal2']}};}static[_0x2ec5bf(0xd0)](_0x4d8a71,_0x36f6b9,_0x5e4256,_0xb74dab){return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x4d8a71,'emojiId':_0x36f6b9,'key':_0x5e4256,'faceName':_0xb74dab||mFaceCache['get'](_0x36f6b9)||'[商城表情]'}};}static[_0x2ec5bf(0xcb)](_0x178b37){const _0x255eb0=_0x2ec5bf,_0x1cc3d1={'vCfBB':'[骰子]'};return{'elementType':ElementType[_0x255eb0(0xce)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x255eb0(0xcb)],'faceType':FaceType['dice'],'faceText':_0x1cc3d1[_0x255eb0(0xf2)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2ec5bf(0x109)](_0x487e53){const _0x3a9f23=_0x2ec5bf,_0x21480a={'guGGM':_0x3a9f23(0x10c)};return{'elementType':ElementType[_0x3a9f23(0xce)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3a9f23(0xc4)],'faceText':_0x21480a['guGGM'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x2c908b){const _0x245951=_0x2ec5bf,_0x56728c={'HBJSs':function(_0x4e6cc5,_0x297c00){return _0x4e6cc5!==_0x297c00;},'UGJFb':_0x245951(0xe0)};return _0x56728c[_0x245951(0x103)](typeof _0x2c908b,_0x56728c[_0x245951(0xda)])&&(_0x2c908b=JSON['stringify'](_0x2c908b)),{'elementType':ElementType[_0x245951(0xf9)],'elementId':'','arkElement':{'bytesData':_0x2c908b,'linkInfo':null,'subElementType':null}};}static[_0x2ec5bf(0xd8)](_0x13061e){const _0x5e9b80=_0x2ec5bf;return{'elementType':ElementType[_0x5e9b80(0xe5)],'elementId':'','markdownElement':{'content':_0x13061e}};}} \ No newline at end of file +const _0x146258=_0xb494;(function(_0x47c30a,_0x1ad4f6){const _0x2b59f6=_0xb494,_0x45c4b3=_0x47c30a();while(!![]){try{const _0x3d2c7b=-parseInt(_0x2b59f6(0x138))/0x1*(-parseInt(_0x2b59f6(0x16d))/0x2)+-parseInt(_0x2b59f6(0x17d))/0x3*(parseInt(_0x2b59f6(0x15a))/0x4)+parseInt(_0x2b59f6(0x147))/0x5+-parseInt(_0x2b59f6(0x164))/0x6*(-parseInt(_0x2b59f6(0x173))/0x7)+-parseInt(_0x2b59f6(0x159))/0x8+-parseInt(_0x2b59f6(0x169))/0x9+parseInt(_0x2b59f6(0x161))/0xa*(-parseInt(_0x2b59f6(0x167))/0xb);if(_0x3d2c7b===_0x1ad4f6)break;else _0x45c4b3['push'](_0x45c4b3['shift']());}catch(_0x1fc6d6){_0x45c4b3['push'](_0x45c4b3['shift']());}}}(_0x4015,0x61d9c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2549f8}from'node:fs';import _0x22985c from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x4015(){const _0x29cab8=['iBlKK','qqeAe','uploadFile','LapfL','PIC','2475775fVtsLA','ClJPZ','mface','width','PTT','notAt','gif','path','获取视频信息失败','UIePt','dirname','height','then','FACE','mZxJH','replace','UcKno','video','2928456kZuLVI','17244dZFTYw','mp4','REPLY','pic','HNwdQ','_0.png','获取视频封面失败,使用默认封面','115510baCbYD','LIAaB','getImageSize','3900630YSweUQ','VIDEO','face','77CYGfYu','uhmRJ','1520181WSWvQD','unlink','stringify','YntdL','2icCyCa','EAmWt','RiWYG','IvHdD','SYGcz','视频信息','7BAfsBk','jliqV','sep','ARK','get','ark','Thumb','MakbW','FILE','toString','342DDaQEI','set','pXqRP','TEXT','time','error','QswEy','dBSNH','string','ptt','dice','AAhpY','size','markdown','362813nFHxnQ','file','JMJDN','ddbPv','end','语音转换失败,\x20请检查语音文件是否正常','文件异常,大小为0','[包剪锤]','ugbwu','catch'];_0x4015=function(){return _0x29cab8;};return _0x4015();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();function _0xb494(_0x41e3ab,_0x30ba52){const _0x40159a=_0x4015();return _0xb494=function(_0xb49440,_0x107e30){_0xb49440=_0xb49440-0x132;let _0x1de5ed=_0x40159a[_0xb49440];return _0x1de5ed;},_0xb494(_0x41e3ab,_0x30ba52);}export class SendMsgElementConstructor{static['text'](_0x5c5099){const _0x23e606=_0xb494;return{'elementType':ElementType[_0x23e606(0x180)],'elementId':'','textElement':{'content':_0x5c5099,'atType':AtType[_0x23e606(0x14c)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x1da6f8,_0x1f767f,_0x20f4cc,_0xbda6c8){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0xbda6c8,'atType':_0x20f4cc,'atUid':_0x1da6f8,'atTinyId':'','atNtUid':_0x1f767f}};}static['reply'](_0x4b3d4c,_0xf22180,_0x15a78e,_0x108afb){const _0x37c4f8=_0xb494;return{'elementType':ElementType[_0x37c4f8(0x15c)],'elementId':'','replyElement':{'replayMsgSeq':_0x4b3d4c,'replayMsgId':_0xf22180,'senderUin':_0x15a78e,'senderUinStr':_0x108afb}};}static async[_0x146258(0x15d)](_0x51d8e8,_0x58e647='',_0x4d70f3=0x0){const _0x2a2ebd=_0x146258,_0x42c3f1={'MakbW':function(_0x456559,_0x348795){return _0x456559===_0x348795;},'oVOcE':_0x2a2ebd(0x13e),'uhmRJ':function(_0x50684c,_0x3ed9aa,_0x4efbb8){return _0x50684c(_0x3ed9aa,_0x4efbb8);},'UIePt':'图片信息'},{md5:_0x558582,fileName:_0x37f8bc,path:_0x2d18a5,fileSize:_0x1af6c3}=await NTQQFileApi[_0x2a2ebd(0x144)](_0x51d8e8,ElementType[_0x2a2ebd(0x146)],_0x4d70f3);if(_0x42c3f1[_0x2a2ebd(0x17a)](_0x1af6c3,0x0))throw _0x42c3f1['oVOcE'];const _0x4070c6=await NTQQFileApi[_0x2a2ebd(0x163)](_0x51d8e8),_0x249ade={'md5HexStr':_0x558582,'fileSize':_0x1af6c3['toString'](),'picWidth':_0x4070c6?.[_0x2a2ebd(0x14a)],'picHeight':_0x4070c6?.[_0x2a2ebd(0x152)],'fileName':_0x37f8bc,'sourcePath':_0x2d18a5,'original':!![],'picType':isGIF(_0x51d8e8)?PicType[_0x2a2ebd(0x14d)]:PicType['jpg'],'picSubType':_0x4d70f3,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x58e647};return _0x42c3f1[_0x2a2ebd(0x168)](logDebug,_0x42c3f1[_0x2a2ebd(0x150)],_0x249ade),{'elementType':ElementType[_0x2a2ebd(0x146)],'elementId':'','picElement':_0x249ade};}static async[_0x146258(0x139)](_0x1247f0,_0x5a2a4e=''){const _0x29890a=_0x146258,_0x456e3d={'LIAaB':function(_0x3bb18b,_0x43c13b){return _0x3bb18b===_0x43c13b;},'ClJPZ':_0x29890a(0x13e)},{md5:_0x54bdf2,fileName:_0x271061,path:_0x7c1921,fileSize:_0x1a2e5f}=await NTQQFileApi['uploadFile'](_0x1247f0,ElementType[_0x29890a(0x17b)]);if(_0x456e3d[_0x29890a(0x162)](_0x1a2e5f,0x0))throw _0x456e3d[_0x29890a(0x148)];const _0x30be2d={'elementType':ElementType[_0x29890a(0x17b)],'elementId':'','fileElement':{'fileName':_0x5a2a4e||_0x271061,'filePath':_0x7c1921,'fileSize':_0x1a2e5f[_0x29890a(0x17c)]()}};return _0x30be2d;}static async[_0x146258(0x158)](_0x498935,_0x57e1ab='',_0x34315a=''){const _0x3b6d89=_0x146258,_0x21cedb={'IvHdD':function(_0x12aada,_0x5d1d42){return _0x12aada(_0x5d1d42);},'mZxJH':function(_0x48a967,_0x130e9e){return _0x48a967(_0x130e9e);},'dBSNH':function(_0xda3101,_0xf6c825,_0x1bbf0e){return _0xda3101(_0xf6c825,_0x1bbf0e);},'UcKno':_0x3b6d89(0x160),'JMJDN':_0x3b6d89(0x182),'iBlKK':function(_0x53bd68,_0x58a269){return _0x53bd68+_0x58a269;},'EAmWt':function(_0x516ede,_0x2b0318){return _0x516ede+_0x2b0318;},'qqeAe':_0x3b6d89(0x13c),'UePGy':function(_0x4db94d,_0x328d41){return _0x4db94d===_0x328d41;},'UbWSr':_0x3b6d89(0x13e),'pXqRP':function(_0x3dbb99,_0x5289e6){return _0x3dbb99(_0x5289e6);},'iHeNy':_0x3b6d89(0x15b),'YntdL':function(_0x55a1e8,_0x4739a8,_0x5e5d11){return _0x55a1e8(_0x4739a8,_0x5e5d11);},'QswEy':_0x3b6d89(0x172),'ddbPv':_0x3b6d89(0x14f),'ybBTG':function(_0x275cc5,_0x2339c6){return _0x275cc5||_0x2339c6;},'ugbwu':function(_0x3c5cb1,_0x38e912){return _0x3c5cb1+_0x38e912;}},{fileName:_0x240814,path:_0x50649c,fileSize:_0x112ccd,md5:_0x2e31bb}=await NTQQFileApi[_0x3b6d89(0x144)](_0x498935,ElementType[_0x3b6d89(0x165)]);if(_0x21cedb['UePGy'](_0x112ccd,0x0))throw _0x21cedb['UbWSr'];const _0x5cdf46=_0x21cedb[_0x3b6d89(0x17f)](require,_0x3b6d89(0x14e));let _0x52068f=_0x50649c[_0x3b6d89(0x156)](_0x5cdf46['sep']+'Ori'+_0x5cdf46[_0x3b6d89(0x175)],_0x5cdf46['sep']+_0x3b6d89(0x179)+_0x5cdf46[_0x3b6d89(0x175)]);_0x52068f=_0x5cdf46[_0x3b6d89(0x151)](_0x52068f);let _0x403514={'width':0x780,'height':0x438,'time':0xf,'format':_0x21cedb['iHeNy'],'size':_0x112ccd,'filePath':_0x498935};try{_0x403514=await _0x21cedb['mZxJH'](getVideoInfo,_0x50649c),_0x21cedb[_0x3b6d89(0x16c)](logDebug,_0x21cedb[_0x3b6d89(0x183)],_0x403514);}catch(_0xfe614b){logError(_0x21cedb[_0x3b6d89(0x13b)],_0xfe614b);}const _0x18eecb=new Promise((_0x3800a3,_0x6c316b)=>{const _0x1ede3d=_0x3b6d89,_0x3b95ac={'LapfL':function(_0x4013b6,_0x11a08c){const _0x27f357=_0xb494;return _0x21cedb[_0x27f357(0x155)](_0x4013b6,_0x11a08c);}},_0x227f2e=_0x2e31bb+_0x1ede3d(0x15f),_0xd4510d=_0x5cdf46['join'](_0x52068f,_0x227f2e);_0x21cedb['IvHdD'](_0x22985c,_0x498935)['on']('end',()=>{})['on'](_0x21cedb[_0x1ede3d(0x13a)],_0x58e306=>{const _0x3b7779=_0x1ede3d,_0x54f426={'CCGVy':function(_0x154ca5,_0xc4e04a){const _0x3834b5=_0xb494;return _0x21cedb[_0x3834b5(0x170)](_0x154ca5,_0xc4e04a);},'SYGcz':function(_0x204bb3,_0x51fb2e){const _0x4601cf=_0xb494;return _0x21cedb[_0x4601cf(0x155)](_0x204bb3,_0x51fb2e);}};_0x21cedb[_0x3b7779(0x184)](logDebug,_0x21cedb[_0x3b7779(0x157)],_0x58e306),_0x34315a?_0x2549f8['copyFile'](_0x34315a,_0xd4510d)[_0x3b7779(0x153)](()=>{_0x54f426['CCGVy'](_0x3800a3,_0xd4510d);})[_0x3b7779(0x141)](_0x6c316b):_0x2549f8['writeFile'](_0xd4510d,defaultVideoThumb)['then'](()=>{const _0x46ac9a=_0x3b7779;_0x54f426[_0x46ac9a(0x171)](_0x3800a3,_0xd4510d);})[_0x3b7779(0x141)](_0x6c316b);})['screenshots']({'timestamps':[0x0],'filename':_0x227f2e,'folder':_0x52068f,'size':_0x21cedb[_0x1ede3d(0x142)](_0x21cedb[_0x1ede3d(0x16e)](_0x403514['width'],'x'),_0x403514[_0x1ede3d(0x152)])})['on'](_0x21cedb[_0x1ede3d(0x143)],()=>{const _0x3dd60c=_0x1ede3d;_0x3b95ac[_0x3dd60c(0x145)](_0x3800a3,_0xd4510d);});}),_0x1518f=new Map(),_0x30724b=await _0x18eecb,_0x14cdcb=(await _0x2549f8['stat'](_0x30724b))[_0x3b6d89(0x136)];_0x1518f[_0x3b6d89(0x17e)](0x0,_0x30724b);const _0x4ed317=await _0x21cedb[_0x3b6d89(0x170)](calculateFileMD5,_0x30724b),_0x5e4855={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x21cedb['ybBTG'](_0x57e1ab,_0x240814),'filePath':_0x50649c,'videoMd5':_0x2e31bb,'thumbMd5':_0x4ed317,'fileTime':_0x403514[_0x3b6d89(0x181)],'thumbPath':_0x1518f,'thumbSize':_0x14cdcb,'thumbWidth':_0x403514[_0x3b6d89(0x14a)],'thumbHeight':_0x403514[_0x3b6d89(0x152)],'fileSize':_0x21cedb[_0x3b6d89(0x140)]('',_0x112ccd)}};return _0x5e4855;}static async[_0x146258(0x133)](_0x4d8025){const _0x4d2eb6=_0x146258,_0x52a76d={'nNIVp':function(_0x367e0b,_0xc1b70c){return _0x367e0b(_0xc1b70c);},'jliqV':_0x4d2eb6(0x13d),'epGpM':function(_0x283a52,_0x22bf00){return _0x283a52===_0x22bf00;},'HNwdQ':'文件异常,大小为0','KLrSE':function(_0x177398,_0x303c77){return _0x177398||_0x303c77;}},{converted:_0x40529a,path:_0x58f9b9,duration:_0x1333c0}=await _0x52a76d['nNIVp'](encodeSilk,_0x4d8025);if(!_0x58f9b9)throw _0x52a76d[_0x4d2eb6(0x174)];const {md5:_0x3a1f53,fileName:_0x5661e0,path:_0x18dd27,fileSize:_0x453bb9}=await NTQQFileApi['uploadFile'](_0x58f9b9,ElementType[_0x4d2eb6(0x14b)]);if(_0x52a76d['epGpM'](_0x453bb9,0x0))throw _0x52a76d[_0x4d2eb6(0x15e)];return _0x40529a&&_0x2549f8[_0x4d2eb6(0x16a)](_0x58f9b9)[_0x4d2eb6(0x153)](),{'elementType':ElementType[_0x4d2eb6(0x14b)],'elementId':'','pttElement':{'fileName':_0x5661e0,'filePath':_0x18dd27,'md5HexStr':_0x3a1f53,'fileSize':_0x453bb9,'duration':_0x52a76d['KLrSE'](_0x1333c0,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[_0x146258(0x166)](_0x34fa4b){const _0x12d70d=_0x146258,_0x3e406={'AAhpY':function(_0x1a296e,_0x5d006b){return _0x1a296e<_0x5d006b;}};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x34fa4b,'faceType':_0x3e406[_0x12d70d(0x135)](_0x34fa4b,0xde)?FaceType['normal']:FaceType['normal2']}};}static[_0x146258(0x149)](_0x174785,_0x438165,_0x1d999c,_0xf9098e){const _0xd026ce=_0x146258;return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x174785,'emojiId':_0x438165,'key':_0x1d999c,'faceName':_0xf9098e||mFaceCache[_0xd026ce(0x177)](_0x438165)||'[商城表情]'}};}static[_0x146258(0x134)](_0x558a16){const _0xd49d6f=_0x146258,_0x36b4df={'RiWYG':'[骰子]'};return{'elementType':ElementType[_0xd49d6f(0x154)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xd49d6f(0x134)],'faceType':FaceType[_0xd49d6f(0x134)],'faceText':_0x36b4df[_0xd49d6f(0x16f)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x2652bf){const _0x242855=_0x146258;return{'elementType':ElementType[_0x242855(0x154)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x242855(0x13f),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x146258(0x178)](_0x2fc23e){const _0x4d350b=_0x146258,_0x3d149d={'MmDRh':_0x4d350b(0x132)};return typeof _0x2fc23e!==_0x3d149d['MmDRh']&&(_0x2fc23e=JSON[_0x4d350b(0x16b)](_0x2fc23e)),{'elementType':ElementType[_0x4d350b(0x176)],'elementId':'','arkElement':{'bytesData':_0x2fc23e,'linkInfo':null,'subElementType':null}};}static[_0x146258(0x137)](_0x242664){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x242664}};}} \ 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 acb80877..eff138e7 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x3913(_0x42832a,_0x2c6dce){var _0x39a403=_0x39a4();return _0x3913=function(_0x39132c,_0x32dbeb){_0x39132c=_0x39132c-0xfc;var _0x4ecf61=_0x39a403[_0x39132c];return _0x4ecf61;},_0x3913(_0x42832a,_0x2c6dce);}function _0x39a4(){var _0x5113e=['27912jCDtUT','3444428lqwLNj','normal','868626whhimZ','119WmNshu','463384vfaVkP','4748170FthqzB','14968773VQRdgS','owner','CfrQa','138QYLrxh','10uthgTE','341027rOytMm'];_0x39a4=function(){return _0x5113e;};return _0x39a4();}(function(_0x166a54,_0x4929ff){var _0x26a4fc=_0x3913,_0x57335e=_0x166a54();while(!![]){try{var _0x4e616d=parseInt(_0x26a4fc(0x104))/0x1+parseInt(_0x26a4fc(0x105))/0x2*(-parseInt(_0x26a4fc(0x102))/0x3)+-parseInt(_0x26a4fc(0x106))/0x4+-parseInt(_0x26a4fc(0xfe))/0x5+parseInt(_0x26a4fc(0x108))/0x6+parseInt(_0x26a4fc(0xfc))/0x7*(parseInt(_0x26a4fc(0xfd))/0x8)+-parseInt(_0x26a4fc(0xff))/0x9*(-parseInt(_0x26a4fc(0x103))/0xa);if(_0x4e616d===_0x4929ff)break;else _0x57335e['push'](_0x57335e['shift']());}catch(_0x3e723f){_0x57335e['push'](_0x57335e['shift']());}}}(_0x39a4,0xa6409));export var GroupMemberRole;(function(_0x330632){var _0x40e695=_0x3913,_0x45d1b4={'CfrQa':_0x40e695(0x107)};_0x330632[_0x330632[_0x45d1b4[_0x40e695(0x101)]]=0x2]=_0x45d1b4[_0x40e695(0x101)],_0x330632[_0x330632['admin']=0x3]='admin',_0x330632[_0x330632[_0x40e695(0x100)]=0x4]=_0x40e695(0x100);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x2c91(){var _0x5ea471=['OvlUt','2ZQCKNY','25296ZoTfBZ','lZvEF','6831mrDMxv','owner','normal','XCFOu','10292464UvyPXf','10279512htkYML','1362IBniEV','3zlBqrL','12610750WiFxYq','966252HOcvcd','admin','7HGFPdA','7405IfupeS','1175344iiwCHd'];_0x2c91=function(){return _0x5ea471;};return _0x2c91();}(function(_0x56d277,_0x4c7989){var _0x469d4d=_0x1f81,_0x3c913c=_0x56d277();while(!![]){try{var _0xcde2d7=-parseInt(_0x469d4d(0x11b))/0x1*(-parseInt(_0x469d4d(0x115))/0x2)+parseInt(_0x469d4d(0x113))/0x3*(parseInt(_0x469d4d(0x119))/0x4)+-parseInt(_0x469d4d(0x118))/0x5*(parseInt(_0x469d4d(0x112))/0x6)+-parseInt(_0x469d4d(0x117))/0x7*(-parseInt(_0x469d4d(0x110))/0x8)+parseInt(_0x469d4d(0x111))/0x9+-parseInt(_0x469d4d(0x114))/0xa+parseInt(_0x469d4d(0x11e))/0xb*(-parseInt(_0x469d4d(0x11c))/0xc);if(_0xcde2d7===_0x4c7989)break;else _0x3c913c['push'](_0x3c913c['shift']());}catch(_0x5edd63){_0x3c913c['push'](_0x3c913c['shift']());}}}(_0x2c91,0xbf094));function _0x1f81(_0x304495,_0x3f2305){var _0x2c91c4=_0x2c91();return _0x1f81=function(_0x1f8187,_0x4f3636){_0x1f8187=_0x1f8187-0x10d;var _0x4b81a3=_0x2c91c4[_0x1f8187];return _0x4b81a3;},_0x1f81(_0x304495,_0x3f2305);}export var GroupMemberRole;(function(_0x4b2c93){var _0x1e86d9=_0x1f81,_0x3e94b9={'OvlUt':_0x1e86d9(0x10e),'XCFOu':_0x1e86d9(0x116),'lZvEF':_0x1e86d9(0x10d)};_0x4b2c93[_0x4b2c93[_0x3e94b9[_0x1e86d9(0x11a)]]=0x2]=_0x3e94b9[_0x1e86d9(0x11a)],_0x4b2c93[_0x4b2c93[_0x3e94b9[_0x1e86d9(0x10f)]]=0x3]=_0x3e94b9[_0x1e86d9(0x10f)],_0x4b2c93[_0x4b2c93[_0x3e94b9[_0x1e86d9(0x11d)]]=0x4]='owner';}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 11172ea7..fafa71ce 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x457fd9,_0xe949f3){var _0x236d30=_0x2974,_0x2621b6=_0x457fd9();while(!![]){try{var _0xb082db=-parseInt(_0x236d30(0xc6))/0x1+parseInt(_0x236d30(0xc4))/0x2*(parseInt(_0x236d30(0xbc))/0x3)+parseInt(_0x236d30(0xc2))/0x4+parseInt(_0x236d30(0xbe))/0x5*(-parseInt(_0x236d30(0xc3))/0x6)+-parseInt(_0x236d30(0xbf))/0x7+parseInt(_0x236d30(0xc5))/0x8*(parseInt(_0x236d30(0xbd))/0x9)+parseInt(_0x236d30(0xc0))/0xa*(parseInt(_0x236d30(0xc1))/0xb);if(_0xb082db===_0xe949f3)break;else _0x2621b6['push'](_0x2621b6['shift']());}catch(_0x578816){_0x2621b6['push'](_0x2621b6['shift']());}}}(_0x13fb,0xf049c));function _0x13fb(){var _0x394c17=['1754964DPMhCx','192972pwtJkO','980688UYxMJO','78808TSRCeI','1609641nwBoQj','3foMxxh','1269yCCeLk','115WoacBb','7834155dnkovt','920KCpwly','255233lrEQeN'];_0x13fb=function(){return _0x394c17;};return _0x13fb();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x2974(_0x555a56,_0x4f2b8d){var _0x13fb67=_0x13fb();return _0x2974=function(_0x29745a,_0x2c7dcc){_0x29745a=_0x29745a-0xbc;var _0x53adad=_0x13fb67[_0x29745a];return _0x53adad;},_0x2974(_0x555a56,_0x4f2b8d);}export*from'./constructor'; \ No newline at end of file +(function(_0x1353e7,_0x11c41e){var _0x6f47ed=_0x39a1,_0x4f8057=_0x1353e7();while(!![]){try{var _0x4865ad=-parseInt(_0x6f47ed(0xc8))/0x1+parseInt(_0x6f47ed(0xce))/0x2+-parseInt(_0x6f47ed(0xc7))/0x3*(parseInt(_0x6f47ed(0xcd))/0x4)+parseInt(_0x6f47ed(0xc9))/0x5+-parseInt(_0x6f47ed(0xc5))/0x6*(-parseInt(_0x6f47ed(0xca))/0x7)+-parseInt(_0x6f47ed(0xcc))/0x8+parseInt(_0x6f47ed(0xc6))/0x9*(-parseInt(_0x6f47ed(0xcb))/0xa);if(_0x4865ad===_0x11c41e)break;else _0x4f8057['push'](_0x4f8057['shift']());}catch(_0x7af3b2){_0x4f8057['push'](_0x4f8057['shift']());}}}(_0x3115,0xed89f));export*from'./user';function _0x3115(){var _0x53bd7c=['9068485MkkFOk','76461IQpFKu','100BuCGoy','4708592fXiMxa','476UfWJef','2918364rofxjx','438IZIfdX','308871QJzivo','7494hdZXeU','1868273xFpZyv'];_0x3115=function(){return _0x53bd7c;};return _0x3115();}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x39a1(_0x5edd95,_0x1675d7){var _0x311527=_0x3115();return _0x39a1=function(_0x39a1a6,_0x245a14){_0x39a1a6=_0x39a1a6-0xc5;var _0x1772c4=_0x311527[_0x39a1a6];return _0x1772c4;},_0x39a1(_0x5edd95,_0x1675d7);}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 363c74cb..cf19635a 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0xa9300=_0x3cf2;(function(_0x40a10e,_0x39aacf){var _0x27c17d=_0x3cf2,_0x11688f=_0x40a10e();while(!![]){try{var _0x524ff7=-parseInt(_0x27c17d(0x1db))/0x1+parseInt(_0x27c17d(0x1c3))/0x2+-parseInt(_0x27c17d(0x1ce))/0x3+-parseInt(_0x27c17d(0x1ea))/0x4+parseInt(_0x27c17d(0x1dd))/0x5*(-parseInt(_0x27c17d(0x1de))/0x6)+parseInt(_0x27c17d(0x1c0))/0x7+parseInt(_0x27c17d(0x1d2))/0x8*(parseInt(_0x27c17d(0x1c1))/0x9);if(_0x524ff7===_0x39aacf)break;else _0x11688f['push'](_0x11688f['shift']());}catch(_0x573223){_0x11688f['push'](_0x11688f['shift']());}}}(_0x59cb,0xb4d7f));export var ElementType;(function(_0x4c359d){var _0x10d7d1=_0x3cf2,_0xd394b5={'ZkqIz':_0x10d7d1(0x1f1),'JjNiu':_0x10d7d1(0x1e3),'VhGBh':_0x10d7d1(0x1e1),'DXfbG':_0x10d7d1(0x1ef),'cfMIo':'PTT','qpQzC':_0x10d7d1(0x1dc),'Preaw':_0x10d7d1(0x1ca),'yRaKC':_0x10d7d1(0x1bc),'ueaSO':'FACE','tbmOQ':_0x10d7d1(0x1d1)},_0x25ffaf=_0x10d7d1(0x1e5)[_0x10d7d1(0x1e9)]('|'),_0x576a5c=0x0;while(!![]){switch(_0x25ffaf[_0x576a5c++]){case'0':_0x4c359d[_0x4c359d[_0xd394b5[_0x10d7d1(0x1cd)]]=0x2]=_0xd394b5[_0x10d7d1(0x1cd)];continue;case'1':_0x4c359d[_0x4c359d[_0xd394b5['JjNiu']]=0x7]=_0xd394b5[_0x10d7d1(0x1d9)];continue;case'2':_0x4c359d[_0x4c359d[_0xd394b5[_0x10d7d1(0x1c8)]]=0x1]='TEXT';continue;case'3':_0x4c359d[_0x4c359d[_0xd394b5['DXfbG']]=0x3]=_0x10d7d1(0x1ef);continue;case'4':_0x4c359d[_0x4c359d[_0xd394b5['cfMIo']]=0x4]=_0xd394b5[_0x10d7d1(0x1d0)];continue;case'5':_0x4c359d[_0x4c359d[_0x10d7d1(0x1dc)]=0xb]=_0xd394b5[_0x10d7d1(0x1d7)];continue;case'6':_0x4c359d[_0x4c359d[_0xd394b5[_0x10d7d1(0x1be)]]=0xa]=_0xd394b5[_0x10d7d1(0x1be)];continue;case'7':_0x4c359d[_0x4c359d[_0xd394b5[_0x10d7d1(0x1ee)]]=0x5]=_0xd394b5[_0x10d7d1(0x1ee)];continue;case'8':_0x4c359d[_0x4c359d[_0xd394b5[_0x10d7d1(0x1c4)]]=0x6]=_0xd394b5[_0x10d7d1(0x1c4)];continue;case'9':_0x4c359d[_0x4c359d[_0xd394b5[_0x10d7d1(0x1bf)]]=0xe]=_0xd394b5['tbmOQ'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x5bbd70){var _0x31e246=_0x3cf2,_0x10cc05={'GwHmj':'gif','KIQqT':_0x31e246(0x1cc)};_0x5bbd70[_0x5bbd70[_0x10cc05[_0x31e246(0x1d4)]]=0x7d0]=_0x10cc05[_0x31e246(0x1d4)],_0x5bbd70[_0x5bbd70['jpg']=0x3e8]=_0x10cc05[_0x31e246(0x1df)];}(PicType||(PicType={})));export var PicSubType;(function(_0x46941a){var _0x4304e0=_0x3cf2,_0x24b3ce={'qfsuL':_0x4304e0(0x1e8),'MarKo':'face'};_0x46941a[_0x46941a[_0x24b3ce[_0x4304e0(0x1f0)]]=0x0]=_0x24b3ce[_0x4304e0(0x1f0)],_0x46941a[_0x46941a[_0x24b3ce[_0x4304e0(0x1eb)]]=0x1]=_0x24b3ce['MarKo'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x1815f6){var _0x251541=_0x3cf2,_0x4aaf1f={'BHJDx':'notAt','UHNyF':_0x251541(0x1e2),'YUwHc':_0x251541(0x1d6)};_0x1815f6[_0x1815f6[_0x4aaf1f[_0x251541(0x1c6)]]=0x0]=_0x4aaf1f['BHJDx'],_0x1815f6[_0x1815f6[_0x4aaf1f[_0x251541(0x1e4)]]=0x1]=_0x4aaf1f[_0x251541(0x1e4)],_0x1815f6[_0x1815f6[_0x4aaf1f[_0x251541(0x1c5)]]=0x2]=_0x4aaf1f[_0x251541(0x1c5)];}(AtType||(AtType={})));export var ChatType;(function(_0x5e587f){var _0x4d90d0=_0x3cf2,_0x341305={'WDKfi':_0x4d90d0(0x1da),'nwXJg':'group','Kfszf':_0x4d90d0(0x1bd)};_0x5e587f[_0x5e587f[_0x341305['WDKfi']]=0x1]=_0x341305[_0x4d90d0(0x1f2)],_0x5e587f[_0x5e587f[_0x341305[_0x4d90d0(0x1d3)]]=0x2]=_0x341305[_0x4d90d0(0x1d3)],_0x5e587f[_0x5e587f[_0x4d90d0(0x1d5)]=0x8]=_0x4d90d0(0x1d5),_0x5e587f[_0x5e587f[_0x341305[_0x4d90d0(0x1cb)]]=0x64]=_0x341305[_0x4d90d0(0x1cb)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0xa9300(0x1e7);export var GrayTipElementSubType;(function(_0x5bc7e2){var _0x5233cd=_0xa9300,_0xbc09e0={'IpFpU':'INVITE_NEW_MEMBER','wxSLE':_0x5233cd(0x1bb)};_0x5bc7e2[_0x5bc7e2[_0xbc09e0[_0x5233cd(0x1e6)]]=0xc]=_0xbc09e0['IpFpU'],_0x5bc7e2[_0x5bc7e2[_0x5233cd(0x1bb)]=0x11]=_0xbc09e0['wxSLE'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4b0a6b){var _0x3d0682=_0xa9300,_0x363a81={'bxlTi':_0x3d0682(0x1e8),'ciIGT':'normal2','IQQXI':_0x3d0682(0x1ed)};_0x4b0a6b[_0x4b0a6b[_0x363a81[_0x3d0682(0x1e0)]]=0x1]=_0x3d0682(0x1e8),_0x4b0a6b[_0x4b0a6b[_0x363a81[_0x3d0682(0x1c9)]]=0x2]=_0x363a81[_0x3d0682(0x1c9)],_0x4b0a6b[_0x4b0a6b[_0x3d0682(0x1ed)]=0x3]=_0x363a81['IQQXI'];}(FaceType||(FaceType={})));function _0x3cf2(_0x219efc,_0x4ebd27){var _0x59cba8=_0x59cb();return _0x3cf2=function(_0x3cf223,_0x1d0cb8){_0x3cf223=_0x3cf223-0x1bb;var _0x38297f=_0x59cba8[_0x3cf223];return _0x38297f;},_0x3cf2(_0x219efc,_0x4ebd27);}export var FaceIndex;(function(_0x50f818){var _0x53953e=_0xa9300,_0x3f8f5e={'njQEr':_0x53953e(0x1ed),'URFeW':'RPS'};_0x50f818[_0x50f818[_0x3f8f5e['njQEr']]=0x166]=_0x53953e(0x1ed),_0x50f818[_0x50f818[_0x3f8f5e[_0x53953e(0x1ec)]]=0x167]=_0x3f8f5e[_0x53953e(0x1ec)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x59cb(){var _0x45e42a=['IpFpU','https://multimedia.nt.qq.com.cn','normal','split','1139760lccEQp','MarKo','URFeW','dice','yRaKC','FILE','qfsuL','PIC','WDKfi','ban','MEMBER_NEW_TITLE','VIDEO','temp','Preaw','tbmOQ','6209756TBZhoc','657GKzjBF','jbNAP','2352962msChHZ','ueaSO','YUwHc','BHJDx','SEWPF','VhGBh','ciIGT','ARK','Kfszf','jpg','ZkqIz','345912EdZZXt','memberIncrease','cfMIo','MARKDOWN','32248OPGSQB','nwXJg','GwHmj','chatDevice','atUser','qpQzC','ikxuN','JjNiu','friend','12229Dweojv','MFACE','70ZIPZRu','516276NrEqdq','KIQqT','bxlTi','TEXT','atAll','REPLY','UHNyF','2|0|3|4|7|8|1|6|5|9'];_0x59cb=function(){return _0x45e42a;};return _0x59cb();}(function(_0x33a9ed){var _0x2a14d1=_0xa9300,_0x73b88d={'jbNAP':_0x2a14d1(0x1cf),'ikxuN':'kicked','SEWPF':_0x2a14d1(0x1f3)};_0x33a9ed[_0x33a9ed[_0x73b88d[_0x2a14d1(0x1c2)]]=0x1]=_0x73b88d[_0x2a14d1(0x1c2)],_0x33a9ed[_0x33a9ed[_0x73b88d[_0x2a14d1(0x1d8)]]=0x3]=_0x73b88d['ikxuN'],_0x33a9ed[_0x33a9ed[_0x73b88d['SEWPF']]=0x8]=_0x73b88d[_0x2a14d1(0x1c7)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x2309f3=_0x4acc;(function(_0x4cc74c,_0x58427b){var _0x98373a=_0x4acc,_0x155133=_0x4cc74c();while(!![]){try{var _0x360281=parseInt(_0x98373a(0x1f0))/0x1+parseInt(_0x98373a(0x1db))/0x2*(parseInt(_0x98373a(0x1c0))/0x3)+parseInt(_0x98373a(0x1da))/0x4*(parseInt(_0x98373a(0x1c1))/0x5)+-parseInt(_0x98373a(0x1cd))/0x6*(-parseInt(_0x98373a(0x1d4))/0x7)+-parseInt(_0x98373a(0x1ef))/0x8+parseInt(_0x98373a(0x1dd))/0x9*(parseInt(_0x98373a(0x1be))/0xa)+-parseInt(_0x98373a(0x1ce))/0xb;if(_0x360281===_0x58427b)break;else _0x155133['push'](_0x155133['shift']());}catch(_0xbfc9be){_0x155133['push'](_0x155133['shift']());}}}(_0x5863,0x2f9f7));export var ElementType;(function(_0x4bd957){var _0x51d27a=_0x4acc,_0x10fbd9={'AokMK':'4|5|8|6|1|7|0|3|2|9','qRRGB':'REPLY','jfKyh':'VIDEO','yGPbL':_0x51d27a(0x1e5),'PkrSN':'ARK','bJemt':_0x51d27a(0x1f5),'fZSXO':_0x51d27a(0x1c8),'vehAW':_0x51d27a(0x1dc),'ScBip':_0x51d27a(0x1d3),'cwcpG':_0x51d27a(0x1c2),'ZVoRm':_0x51d27a(0x1f4)},_0x129b2f=_0x10fbd9[_0x51d27a(0x1cf)][_0x51d27a(0x1d6)]('|'),_0x34eda3=0x0;while(!![]){switch(_0x129b2f[_0x34eda3++]){case'0':_0x4bd957[_0x4bd957[_0x10fbd9[_0x51d27a(0x1c4)]]=0x7]=_0x10fbd9[_0x51d27a(0x1c4)];continue;case'1':_0x4bd957[_0x4bd957[_0x51d27a(0x1f1)]=0x5]=_0x10fbd9[_0x51d27a(0x1d9)];continue;case'2':_0x4bd957[_0x4bd957[_0x10fbd9[_0x51d27a(0x1c3)]]=0xb]=_0x10fbd9[_0x51d27a(0x1c3)];continue;case'3':_0x4bd957[_0x4bd957['ARK']=0xa]=_0x10fbd9[_0x51d27a(0x1d1)];continue;case'4':_0x4bd957[_0x4bd957[_0x51d27a(0x1f5)]=0x1]=_0x10fbd9[_0x51d27a(0x1c7)];continue;case'5':_0x4bd957[_0x4bd957[_0x10fbd9['fZSXO']]=0x2]=_0x10fbd9[_0x51d27a(0x1e4)];continue;case'6':_0x4bd957[_0x4bd957[_0x10fbd9['vehAW']]=0x4]=_0x51d27a(0x1dc);continue;case'7':_0x4bd957[_0x4bd957[_0x51d27a(0x1d3)]=0x6]=_0x10fbd9[_0x51d27a(0x1d7)];continue;case'8':_0x4bd957[_0x4bd957[_0x10fbd9['cwcpG']]=0x3]=_0x10fbd9[_0x51d27a(0x1e2)];continue;case'9':_0x4bd957[_0x4bd957[_0x10fbd9[_0x51d27a(0x1f2)]]=0xe]=_0x10fbd9[_0x51d27a(0x1f2)];continue;}break;}}(ElementType||(ElementType={})));function _0x4acc(_0xfb174f,_0x3716bb){var _0x58630b=_0x5863();return _0x4acc=function(_0x4accca,_0x4e84ab){_0x4accca=_0x4accca-0x1b9;var _0x3cbe62=_0x58630b[_0x4accca];return _0x3cbe62;},_0x4acc(_0xfb174f,_0x3716bb);}export var PicType;(function(_0x39e8e3){var _0x119d82=_0x4acc,_0x10700c={'BFWBL':'gif','YQqyu':_0x119d82(0x1ed)};_0x39e8e3[_0x39e8e3[_0x10700c[_0x119d82(0x1d0)]]=0x7d0]='gif',_0x39e8e3[_0x39e8e3['jpg']=0x3e8]=_0x10700c[_0x119d82(0x1df)];}(PicType||(PicType={})));export var PicSubType;(function(_0x339b70){var _0x1ef533=_0x4acc,_0x13b9e8={'slLdr':_0x1ef533(0x1ea),'mvHfu':_0x1ef533(0x1ba)};_0x339b70[_0x339b70[_0x13b9e8[_0x1ef533(0x1b9)]]=0x0]=_0x13b9e8[_0x1ef533(0x1b9)],_0x339b70[_0x339b70[_0x1ef533(0x1ba)]=0x1]=_0x13b9e8[_0x1ef533(0x1ec)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x520916){var _0x42f39a=_0x4acc,_0x4d1e96={'GjNQY':_0x42f39a(0x1eb),'tYLRX':'atAll','GwLnY':'atUser'};_0x520916[_0x520916[_0x4d1e96[_0x42f39a(0x1e9)]]=0x0]=_0x4d1e96[_0x42f39a(0x1e9)],_0x520916[_0x520916[_0x4d1e96[_0x42f39a(0x1f7)]]=0x1]=_0x4d1e96[_0x42f39a(0x1f7)],_0x520916[_0x520916[_0x4d1e96[_0x42f39a(0x1e7)]]=0x2]=_0x4d1e96['GwLnY'];}(AtType||(AtType={})));function _0x5863(){var _0x4d37d1=['INVITE_NEW_MEMBER','split','ScBip','XzQhL','jfKyh','548mhKkvo','2MIWhAA','PTT','117ZyKOIM','temp','YQqyu','cshzY','MEMBER_NEW_TITLE','cwcpG','pbPPk','fZSXO','MFACE','chatDevice','GwLnY','XdcEQ','GjNQY','normal','notAt','mvHfu','jpg','normal2','39120WmWOvV','147361DakbLv','VIDEO','ZVoRm','RPS','MARKDOWN','TEXT','BjgDS','tYLRX','friend','slLdr','face','https://gchat.qpic.cn','ROXng','dice','291320JlsbfU','jcbvh','498561xgoxuN','10745gRIPKd','FILE','yGPbL','qRRGB','Kfbmk','ZcCeB','bJemt','PIC','PENJl','memberIncrease','KlfKm','qHaVy','6AmkIyQ','10131561uHhagB','AokMK','BFWBL','PkrSN','ban','FACE','940289Dkrzlu'];_0x5863=function(){return _0x4d37d1;};return _0x5863();}export var ChatType;(function(_0x7eaa96){var _0x3ae98d=_0x4acc,_0x15a0f7={'qHaVy':_0x3ae98d(0x1f8),'BjgDS':'group','cshzY':_0x3ae98d(0x1e6),'ROXng':_0x3ae98d(0x1de)};_0x7eaa96[_0x7eaa96[_0x15a0f7[_0x3ae98d(0x1cc)]]=0x1]=_0x15a0f7['qHaVy'],_0x7eaa96[_0x7eaa96[_0x15a0f7['BjgDS']]=0x2]=_0x15a0f7[_0x3ae98d(0x1f6)],_0x7eaa96[_0x7eaa96[_0x15a0f7[_0x3ae98d(0x1e0)]]=0x8]=_0x15a0f7[_0x3ae98d(0x1e0)],_0x7eaa96[_0x7eaa96[_0x15a0f7[_0x3ae98d(0x1bc)]]=0x64]=_0x15a0f7['ROXng'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x2309f3(0x1bb);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x46383b){var _0xfce0ce=_0x2309f3,_0x402129={'KlfKm':_0xfce0ce(0x1d5),'pbPPk':_0xfce0ce(0x1e1)};_0x46383b[_0x46383b[_0xfce0ce(0x1d5)]=0xc]=_0x402129[_0xfce0ce(0x1cb)],_0x46383b[_0x46383b[_0x402129['pbPPk']]=0x11]=_0x402129[_0xfce0ce(0x1e3)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x2bdc05){var _0x26f46d=_0x2309f3,_0x592cc0={'jcbvh':_0x26f46d(0x1ea),'ZcCeB':_0x26f46d(0x1ee),'XzQhL':'dice'};_0x2bdc05[_0x2bdc05[_0x26f46d(0x1ea)]=0x1]=_0x592cc0[_0x26f46d(0x1bf)],_0x2bdc05[_0x2bdc05[_0x592cc0[_0x26f46d(0x1c6)]]=0x2]=_0x592cc0[_0x26f46d(0x1c6)],_0x2bdc05[_0x2bdc05[_0x592cc0[_0x26f46d(0x1d8)]]=0x3]=_0x592cc0[_0x26f46d(0x1d8)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3b1a3e){var _0x2d4a99=_0x2309f3,_0x15640c={'kbbuB':_0x2d4a99(0x1bd),'JWpmi':_0x2d4a99(0x1f3)};_0x3b1a3e[_0x3b1a3e[_0x15640c['kbbuB']]=0x166]=_0x15640c['kbbuB'],_0x3b1a3e[_0x3b1a3e[_0x15640c['JWpmi']]=0x167]=_0x15640c['JWpmi'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x1053ed){var _0x2c1bd7=_0x2309f3,_0x592e46={'PENJl':_0x2c1bd7(0x1ca),'XdcEQ':'kicked','Kfbmk':_0x2c1bd7(0x1d2)};_0x1053ed[_0x1053ed[_0x592e46[_0x2c1bd7(0x1c9)]]=0x1]=_0x2c1bd7(0x1ca),_0x1053ed[_0x1053ed[_0x592e46[_0x2c1bd7(0x1e8)]]=0x3]=_0x592e46[_0x2c1bd7(0x1e8)],_0x1053ed[_0x1053ed[_0x592e46[_0x2c1bd7(0x1c5)]]=0x8]=_0x592e46['Kfbmk'];}(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 fd08681b..dbfa2e7e 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x33eb6d,_0x3cd23a){var _0x428448=_0x230f,_0x45d27b=_0x33eb6d();while(!![]){try{var _0x5984e9=-parseInt(_0x428448(0x1a3))/0x1*(-parseInt(_0x428448(0x1b0))/0x2)+parseInt(_0x428448(0x1a4))/0x3*(parseInt(_0x428448(0x1ad))/0x4)+parseInt(_0x428448(0x1ac))/0x5+-parseInt(_0x428448(0x1aa))/0x6+-parseInt(_0x428448(0x1a5))/0x7*(parseInt(_0x428448(0x195))/0x8)+parseInt(_0x428448(0x1a2))/0x9+-parseInt(_0x428448(0x1b2))/0xa*(-parseInt(_0x428448(0x19b))/0xb);if(_0x5984e9===_0x3cd23a)break;else _0x45d27b['push'](_0x45d27b['shift']());}catch(_0x47b891){_0x45d27b['push'](_0x45d27b['shift']());}}}(_0x2d96,0x64268));function _0x230f(_0x2defb5,_0x14c200){var _0x2d9611=_0x2d96();return _0x230f=function(_0x230f83,_0x8c2414){_0x230f83=_0x230f83-0x194;var _0x4fd39b=_0x2d9611[_0x230f83];return _0x4fd39b;},_0x230f(_0x2defb5,_0x14c200);}export var GroupNotifyTypes;function _0x2d96(){var _0x22fd4f=['VDNPA','10iuwMcD','REJECT','IGNORE','TjErS','SNVWe','12088XqjHfD','mNipS','WAIT_HANDLE','aaOsF','dFfRY','ADMIN_UNSET_OTHER','1662463yqKpmt','ADMIN_SET','LbBgE','INVITE_ME','reject','approve','JOIN_REQUEST','475749TIjrFI','127rljHPU','3rxzCbW','2947hyIqdA','Mdukl','ADMIN_UNSET','INVITED_JOIN','MEMBER_EXIT','2093484GKNNit','fLWQp','309545rgZFbD','1544108nSTxRJ','WqqrA','KICK_MEMBER','11706jCMwBm'];_0x2d96=function(){return _0x22fd4f;};return _0x2d96();}(function(_0x1f82ce){var _0x278f87=_0x230f,_0x3d2293={'SNVWe':_0x278f87(0x19e),'aaOsF':_0x278f87(0x1a8),'WqqrA':'JOIN_REQUEST','biRwk':_0x278f87(0x19c),'VDNPA':_0x278f87(0x1af),'kRfUn':_0x278f87(0x1a9),'TjErS':_0x278f87(0x1a7),'Mdukl':_0x278f87(0x19a)};_0x1f82ce[_0x1f82ce[_0x3d2293[_0x278f87(0x194)]]=0x1]=_0x3d2293['SNVWe'],_0x1f82ce[_0x1f82ce[_0x3d2293[_0x278f87(0x198)]]=0x4]=_0x3d2293[_0x278f87(0x198)],_0x1f82ce[_0x1f82ce[_0x3d2293[_0x278f87(0x1ae)]]=0x7]=_0x278f87(0x1a1),_0x1f82ce[_0x1f82ce[_0x3d2293['biRwk']]=0x8]=_0x278f87(0x19c),_0x1f82ce[_0x1f82ce[_0x3d2293[_0x278f87(0x1b1)]]=0x9]=_0x3d2293[_0x278f87(0x1b1)],_0x1f82ce[_0x1f82ce[_0x3d2293['kRfUn']]=0xb]=_0x278f87(0x1a9),_0x1f82ce[_0x1f82ce[_0x3d2293[_0x278f87(0x1b5)]]=0xc]=_0x278f87(0x1a7),_0x1f82ce[_0x1f82ce[_0x278f87(0x19a)]=0xd]=_0x3d2293[_0x278f87(0x1a6)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x4660cb){var _0x3b65d3=_0x230f,_0x19ca8d={'VZdbO':'IGNORE','fLWQp':_0x3b65d3(0x197),'mNipS':'APPROVE','LbBgE':_0x3b65d3(0x1b3)};_0x4660cb[_0x4660cb[_0x19ca8d['VZdbO']]=0x0]=_0x3b65d3(0x1b4),_0x4660cb[_0x4660cb[_0x19ca8d[_0x3b65d3(0x1ab)]]=0x1]=_0x19ca8d[_0x3b65d3(0x1ab)],_0x4660cb[_0x4660cb['APPROVE']=0x2]=_0x19ca8d[_0x3b65d3(0x196)],_0x4660cb[_0x4660cb[_0x19ca8d[_0x3b65d3(0x19d)]]=0x3]=_0x19ca8d[_0x3b65d3(0x19d)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x2c7f34){var _0x43da7a=_0x230f,_0x23bd3d={'dFfRY':_0x43da7a(0x1a0)};_0x2c7f34[_0x2c7f34[_0x43da7a(0x1a0)]=0x1]=_0x23bd3d[_0x43da7a(0x199)],_0x2c7f34[_0x2c7f34[_0x43da7a(0x19f)]=0x2]=_0x43da7a(0x19f);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x2743a7,_0x438a0b){var _0x39193b=_0x25ac,_0x3a31e4=_0x2743a7();while(!![]){try{var _0x4ccfa4=-parseInt(_0x39193b(0x19d))/0x1+-parseInt(_0x39193b(0x19b))/0x2*(parseInt(_0x39193b(0x1aa))/0x3)+parseInt(_0x39193b(0x1a0))/0x4+parseInt(_0x39193b(0x1ab))/0x5*(-parseInt(_0x39193b(0x1b5))/0x6)+parseInt(_0x39193b(0x1a6))/0x7*(parseInt(_0x39193b(0x1a7))/0x8)+-parseInt(_0x39193b(0x199))/0x9*(parseInt(_0x39193b(0x1a9))/0xa)+parseInt(_0x39193b(0x198))/0xb*(parseInt(_0x39193b(0x1a8))/0xc);if(_0x4ccfa4===_0x438a0b)break;else _0x3a31e4['push'](_0x3a31e4['shift']());}catch(_0x1bc049){_0x3a31e4['push'](_0x3a31e4['shift']());}}}(_0xe2fc,0xafd76));export var GroupNotifyTypes;(function(_0x23cdc4){var _0x2153ed=_0x25ac,_0x1e0eca={'AhuXW':_0x2153ed(0x1b3),'HSxTD':_0x2153ed(0x19a),'zHBgk':_0x2153ed(0x1ae),'unktC':_0x2153ed(0x1af),'NRZQG':'MEMBER_EXIT','uZoRI':_0x2153ed(0x1b0),'uePLG':_0x2153ed(0x1ad)};_0x23cdc4[_0x23cdc4[_0x2153ed(0x1a5)]=0x1]=_0x2153ed(0x1a5),_0x23cdc4[_0x23cdc4[_0x2153ed(0x1b3)]=0x4]=_0x1e0eca[_0x2153ed(0x1a1)],_0x23cdc4[_0x23cdc4[_0x1e0eca['HSxTD']]=0x7]=_0x1e0eca[_0x2153ed(0x1a2)],_0x23cdc4[_0x23cdc4[_0x1e0eca[_0x2153ed(0x1b2)]]=0x8]=_0x1e0eca[_0x2153ed(0x1b2)],_0x23cdc4[_0x23cdc4[_0x1e0eca[_0x2153ed(0x1ac)]]=0x9]=_0x1e0eca[_0x2153ed(0x1ac)],_0x23cdc4[_0x23cdc4[_0x1e0eca[_0x2153ed(0x197)]]=0xb]=_0x1e0eca[_0x2153ed(0x197)],_0x23cdc4[_0x23cdc4[_0x1e0eca[_0x2153ed(0x1b4)]]=0xc]=_0x1e0eca[_0x2153ed(0x1b4)],_0x23cdc4[_0x23cdc4[_0x1e0eca[_0x2153ed(0x19e)]]=0xd]=_0x2153ed(0x1ad);}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x25ac(_0x58855d,_0x1f2a0b){var _0xe2fc75=_0xe2fc();return _0x25ac=function(_0x25ac41,_0x4339be){_0x25ac41=_0x25ac41-0x197;var _0x1f941f=_0xe2fc75[_0x25ac41];return _0x1f941f;},_0x25ac(_0x58855d,_0x1f2a0b);}export var GroupNotifyStatus;(function(_0x65ee21){var _0x2a0e89=_0x25ac,_0x3827e5={'kyvxE':_0x2a0e89(0x19f),'HjyRg':_0x2a0e89(0x1a3),'kQkfm':'APPROVE','eXWXj':_0x2a0e89(0x1a4)};_0x65ee21[_0x65ee21[_0x2a0e89(0x19f)]=0x0]=_0x3827e5['kyvxE'],_0x65ee21[_0x65ee21[_0x2a0e89(0x1a3)]=0x1]=_0x3827e5['HjyRg'],_0x65ee21[_0x65ee21[_0x3827e5[_0x2a0e89(0x1b7)]]=0x2]=_0x3827e5[_0x2a0e89(0x1b7)],_0x65ee21[_0x65ee21[_0x2a0e89(0x1a4)]=0x3]=_0x3827e5['eXWXj'];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0xe2fc(){var _0x216561=['unktC','ADMIN_UNSET_OTHER','ADMIN_SET','KICK_MEMBER','ADMIN_UNSET','reject','zHBgk','INVITED_JOIN','uZoRI','5615580HthQyP','ODORW','kQkfm','NRZQG','11hdBIUc','108CZQaiG','JOIN_REQUEST','19144mdQcdy','FYPDr','420103TPEuZV','uePLG','IGNORE','1541716MYGJKG','AhuXW','HSxTD','WAIT_HANDLE','REJECT','INVITE_ME','371mgVCRW','102624FhsaOu','18822120ABhULr','153530mmcwjt','117JNdBnF','5pIYWXG'];_0xe2fc=function(){return _0x216561;};return _0xe2fc();}export var GroupRequestOperateTypes;(function(_0x5057ed){var _0xea7a7f=_0x25ac,_0x18ad98={'ODORW':'approve','FYPDr':_0xea7a7f(0x1b1)};_0x5057ed[_0x5057ed[_0x18ad98['ODORW']]=0x1]=_0x18ad98[_0xea7a7f(0x1b6)],_0x5057ed[_0x5057ed[_0x18ad98[_0xea7a7f(0x19c)]]=0x2]=_0xea7a7f(0x1b1);}(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 9a21d4cc..8ca50d5e 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x2b2a27,_0x49e77e){var _0x4d606d=_0x4257,_0x16642d=_0x2b2a27();while(!![]){try{var _0x68f51b=parseInt(_0x4d606d(0x10c))/0x1*(parseInt(_0x4d606d(0x10a))/0x2)+parseInt(_0x4d606d(0x10d))/0x3*(parseInt(_0x4d606d(0x10f))/0x4)+-parseInt(_0x4d606d(0x104))/0x5*(-parseInt(_0x4d606d(0x106))/0x6)+-parseInt(_0x4d606d(0x10e))/0x7+-parseInt(_0x4d606d(0x10b))/0x8+-parseInt(_0x4d606d(0x111))/0x9*(-parseInt(_0x4d606d(0x109))/0xa)+parseInt(_0x4d606d(0x110))/0xb*(-parseInt(_0x4d606d(0x108))/0xc);if(_0x68f51b===_0x49e77e)break;else _0x16642d['push'](_0x16642d['shift']());}catch(_0xc247ec){_0x16642d['push'](_0x16642d['shift']());}}}(_0x2bf6,0x57b21));export var Sex;function _0x4257(_0x3f23b8,_0x233cd7){var _0x2bf6e3=_0x2bf6();return _0x4257=function(_0x425793,_0x3fb16c){_0x425793=_0x425793-0x103;var _0x15db77=_0x2bf6e3[_0x425793];return _0x15db77;},_0x4257(_0x3f23b8,_0x233cd7);}(function(_0x4da12a){var _0x25fcf1=_0x4257,_0x2775e2={'AHtZp':'male','mjwsW':_0x25fcf1(0x107),'KXESw':_0x25fcf1(0x112)};_0x4da12a[_0x4da12a[_0x2775e2[_0x25fcf1(0x105)]]=0x1]=_0x2775e2['AHtZp'],_0x4da12a[_0x4da12a[_0x25fcf1(0x107)]=0x2]=_0x2775e2['mjwsW'],_0x4da12a[_0x4da12a['unknown']=0xff]=_0x2775e2[_0x25fcf1(0x103)];}(Sex||(Sex={})));function _0x2bf6(){var _0xf5d29e=['567lbOLfB','3450797xxBPxp','9628LRKHKd','11eYDJBi','423KnJkJP','unknown','KXESw','27080fMMlLb','AHtZp','426jBJgWn','female','8609028LZTDem','109570YczvLU','2YYvFJy','2533632iKndKs','531857PujWCT'];_0x2bf6=function(){return _0xf5d29e;};return _0x2bf6();} \ No newline at end of file +function _0x1202(){var _0x206667=['male','11271664QofUvI','6wGIlaY','nQZIc','515443EVUzbK','1226468wkKmSw','374568hebLHR','PExOs','1429211iicuwF','2893700dJAYBE','unknown','female','1072910WoEvlH'];_0x1202=function(){return _0x206667;};return _0x1202();}function _0x1995(_0x12b74f,_0x136525){var _0x120270=_0x1202();return _0x1995=function(_0x199598,_0x282ea2){_0x199598=_0x199598-0x1d6;var _0x26ae06=_0x120270[_0x199598];return _0x26ae06;},_0x1995(_0x12b74f,_0x136525);}(function(_0x31da6d,_0x1a8293){var _0x24b5c0=_0x1995,_0x335757=_0x31da6d();while(!![]){try{var _0x36f86d=-parseInt(_0x24b5c0(0x1da))/0x1+-parseInt(_0x24b5c0(0x1e2))/0x2+-parseInt(_0x24b5c0(0x1dc))/0x3+-parseInt(_0x24b5c0(0x1db))/0x4+parseInt(_0x24b5c0(0x1df))/0x5+parseInt(_0x24b5c0(0x1d8))/0x6*(-parseInt(_0x24b5c0(0x1de))/0x7)+parseInt(_0x24b5c0(0x1d7))/0x8;if(_0x36f86d===_0x1a8293)break;else _0x335757['push'](_0x335757['shift']());}catch(_0x1078ec){_0x335757['push'](_0x335757['shift']());}}}(_0x1202,0x4947a));export var Sex;(function(_0x3a3377){var _0x4f37d1=_0x1995,_0x1f6f58={'nQZIc':_0x4f37d1(0x1d6),'PExOs':_0x4f37d1(0x1e1)};_0x3a3377[_0x3a3377[_0x1f6f58[_0x4f37d1(0x1d9)]]=0x1]=_0x1f6f58[_0x4f37d1(0x1d9)],_0x3a3377[_0x3a3377[_0x1f6f58[_0x4f37d1(0x1dd)]]=0x2]='female',_0x3a3377[_0x3a3377['unknown']=0xff]=_0x4f37d1(0x1e0);}(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 6e58bf16..97b22d3b 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -function _0x5dd2(){const _0x52f2a0=['1053857EJNQST','40MfjsQz','44vxHhAF','getRKey','155174iZpdUx','1375554wMLvCw','40OeQHks','version','moeHook','HookRkey','GetRkey','1126323pgWLyP','owkYo','FlTVN','2IfHzIn','isAvailable','1680645gKlKmd','YlrMh','qCfDK','12157409kDfTPm','SkcbI','125478LWBwRY'];_0x5dd2=function(){return _0x52f2a0;};return _0x5dd2();}function _0x3ed6(_0x40ef0b,_0x21f479){const _0x5dd250=_0x5dd2();return _0x3ed6=function(_0x3ed638,_0x9f0270){_0x3ed638=_0x3ed638-0x1a6;let _0xace3ba=_0x5dd250[_0x3ed638];return _0xace3ba;},_0x3ed6(_0x40ef0b,_0x21f479);}const _0x3d374f=_0x3ed6;(function(_0x312b15,_0x3a33d0){const _0x429bd9=_0x3ed6,_0x210db7=_0x312b15();while(!![]){try{const _0x59abeb=parseInt(_0x429bd9(0x1ad))/0x1*(parseInt(_0x429bd9(0x1b9))/0x2)+-parseInt(_0x429bd9(0x1b4))/0x3*(parseInt(_0x429bd9(0x1b7))/0x4)+parseInt(_0x429bd9(0x1af))/0x5+parseInt(_0x429bd9(0x1ba))/0x6+-parseInt(_0x429bd9(0x1b5))/0x7*(-parseInt(_0x429bd9(0x1b6))/0x8)+parseInt(_0x429bd9(0x1aa))/0x9*(parseInt(_0x429bd9(0x1bb))/0xa)+-parseInt(_0x429bd9(0x1b2))/0xb;if(_0x59abeb===_0x3a33d0)break;else _0x210db7['push'](_0x210db7['shift']());}catch(_0x1631fa){_0x210db7['push'](_0x210db7['shift']());}}}(_0x5dd2,0x63c18));import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{['moeHook']=null;constructor(){const _0x2d157c=_0x3ed6,_0x250ffc={'owkYo':function(_0x7b2773,_0x5ad7d3){return _0x7b2773(_0x5ad7d3);},'SkcbI':'MoeHoo','vgmiH':function(_0x30ba4b,_0x2c3ea1){return _0x30ba4b(_0x2c3ea1);},'YlrMh':'./MoeHoo.node','FlTVN':function(_0x42de7e,_0x8c65d0,_0x5d5a4b){return _0x42de7e(_0x8c65d0,_0x5d5a4b);},'qCfDK':'加载\x20moehoo\x20失败'};try{_0x250ffc[_0x2d157c(0x1ab)](cpModule,_0x250ffc[_0x2d157c(0x1b3)]),this[_0x2d157c(0x1a7)]=_0x250ffc['vgmiH'](require,_0x250ffc[_0x2d157c(0x1b0)]),this['moeHook'][_0x2d157c(0x1a8)](qqPkgInfo[_0x2d157c(0x1a6)]);}catch(_0x252643){_0x250ffc[_0x2d157c(0x1ac)](logError,_0x250ffc[_0x2d157c(0x1b1)],_0x252643);}}[_0x3d374f(0x1b8)](){const _0x4931ac=_0x3d374f;return this[_0x4931ac(0x1a7)]?.[_0x4931ac(0x1a9)]()||'';}[_0x3d374f(0x1ae)](){const _0x5ed1e3=_0x3d374f;return!!this[_0x5ed1e3(0x1a7)];}}export const hookApi=new HookApi(); \ No newline at end of file +const _0x346c92=_0x329e;(function(_0xc4b973,_0x9d70db){const _0x21ef07=_0x329e,_0x27a83c=_0xc4b973();while(!![]){try{const _0x45adad=parseInt(_0x21ef07(0x168))/0x1*(-parseInt(_0x21ef07(0x16b))/0x2)+-parseInt(_0x21ef07(0x16d))/0x3+-parseInt(_0x21ef07(0x167))/0x4*(-parseInt(_0x21ef07(0x173))/0x5)+parseInt(_0x21ef07(0x175))/0x6*(-parseInt(_0x21ef07(0x166))/0x7)+parseInt(_0x21ef07(0x176))/0x8+parseInt(_0x21ef07(0x16f))/0x9+-parseInt(_0x21ef07(0x169))/0xa*(-parseInt(_0x21ef07(0x171))/0xb);if(_0x45adad===_0x9d70db)break;else _0x27a83c['push'](_0x27a83c['shift']());}catch(_0x129046){_0x27a83c['push'](_0x27a83c['shift']());}}}(_0x2cde,0xe095b));function _0x2cde(){const _0x463d2b=['10qzDtdy','加载\x20moehoo\x20失败','2924654gGKZVi','./MoeHoo.node','3666402PPOyYs','Fckhf','10830888ZGYxRA','getRKey','1953688NBCohQ','moeHook','4403830KmAbhQ','YgeNl','2233194fsLVxZ','13718024zyBXgU','hSTPF','version','GetRkey','7untwXc','4KAzLLS','1TZHgjH'];_0x2cde=function(){return _0x463d2b;};return _0x2cde();}import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';function _0x329e(_0x113e50,_0x3cf53a){const _0x2cdedc=_0x2cde();return _0x329e=function(_0x329ea9,_0x277521){_0x329ea9=_0x329ea9-0x164;let _0x56d662=_0x2cdedc[_0x329ea9];return _0x56d662;},_0x329e(_0x113e50,_0x3cf53a);}import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0x346c92(0x172)]=null;constructor(){const _0x5ea9e6=_0x346c92,_0x40d1ef={'mCQTO':function(_0x423c3b,_0x4bb068){return _0x423c3b(_0x4bb068);},'YgeNl':'MoeHoo','Veiwu':_0x5ea9e6(0x16c),'hSTPF':function(_0x3a52c1,_0x5d97c8,_0x3871cc){return _0x3a52c1(_0x5d97c8,_0x3871cc);},'Fckhf':_0x5ea9e6(0x16a)};try{_0x40d1ef['mCQTO'](cpModule,_0x40d1ef[_0x5ea9e6(0x174)]),this[_0x5ea9e6(0x172)]=require(_0x40d1ef['Veiwu']),this[_0x5ea9e6(0x172)]['HookRkey'](qqPkgInfo[_0x5ea9e6(0x164)]);}catch(_0x4e804d){_0x40d1ef[_0x5ea9e6(0x177)](logError,_0x40d1ef[_0x5ea9e6(0x16e)],_0x4e804d);}}[_0x346c92(0x170)](){const _0x4d5605=_0x346c92;return this['moeHook']?.[_0x4d5605(0x165)]()||'';}['isAvailable'](){const _0x572b68=_0x346c92;return!!this[_0x572b68(0x172)];}}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 df0ca354..df77edba 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x190fe4,_0x232d08){var _0x1242d4=_0x37f2,_0x3363f4=_0x190fe4();while(!![]){try{var _0x441c29=parseInt(_0x1242d4(0x1ca))/0x1*(parseInt(_0x1242d4(0x1cc))/0x2)+parseInt(_0x1242d4(0x1c5))/0x3*(-parseInt(_0x1242d4(0x1c9))/0x4)+parseInt(_0x1242d4(0x1c3))/0x5+parseInt(_0x1242d4(0x1cb))/0x6+parseInt(_0x1242d4(0x1c8))/0x7*(-parseInt(_0x1242d4(0x1c4))/0x8)+-parseInt(_0x1242d4(0x1c7))/0x9+parseInt(_0x1242d4(0x1c2))/0xa*(-parseInt(_0x1242d4(0x1c6))/0xb);if(_0x441c29===_0x232d08)break;else _0x3363f4['push'](_0x3363f4['shift']());}catch(_0x511821){_0x3363f4['push'](_0x3363f4['shift']());}}}(_0x33cf,0x2bd9a));import _0x3d0595 from'./wrapper';export*from'./adapters';function _0x37f2(_0x4c97c9,_0x3b7de6){var _0x33cf9d=_0x33cf();return _0x37f2=function(_0x37f2b0,_0x36f4b8){_0x37f2b0=_0x37f2b0-0x1c2;var _0x8938eb=_0x33cf9d[_0x37f2b0];return _0x8938eb;},_0x37f2(_0x4c97c9,_0x3b7de6);}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{_0x3d0595 as Wrapper};function _0x33cf(){var _0x2bdb61=['1544370zyflmJ','1702eBIoJi','130SddPlv','755360PasCOW','16XzstvR','1086HsDdnB','207691uUXgZj','1053531EINzDg','552566ecUdwl','4zzJkSr','343aOPMwW'];_0x33cf=function(){return _0x2bdb61;};return _0x33cf();}export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x5d83cb,_0x2d714d){var _0x58f0c9=_0x318b,_0x4b874e=_0x5d83cb();while(!![]){try{var _0x99167f=-parseInt(_0x58f0c9(0x1b0))/0x1*(parseInt(_0x58f0c9(0x1b4))/0x2)+parseInt(_0x58f0c9(0x1ab))/0x3*(parseInt(_0x58f0c9(0x1b2))/0x4)+-parseInt(_0x58f0c9(0x1b1))/0x5*(parseInt(_0x58f0c9(0x1ad))/0x6)+-parseInt(_0x58f0c9(0x1ae))/0x7+parseInt(_0x58f0c9(0x1af))/0x8+parseInt(_0x58f0c9(0x1b3))/0x9+-parseInt(_0x58f0c9(0x1ac))/0xa*(-parseInt(_0x58f0c9(0x1b5))/0xb);if(_0x99167f===_0x2d714d)break;else _0x4b874e['push'](_0x4b874e['shift']());}catch(_0x2b95bb){_0x4b874e['push'](_0x4b874e['shift']());}}}(_0x31c1,0xae4e6));import _0x336651 from'./wrapper';export*from'./adapters';function _0x31c1(){var _0x4cf778=['5QYsIwG','148bRFhul','5575446OhmMHj','13612QchNCS','4036131QtgXoQ','20031BVNgcD','30ZotJer','6362442Duycot','4915512CVVjKu','4237544QZddzQ','3nFrWlG'];_0x31c1=function(){return _0x4cf778;};return _0x31c1();}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';function _0x318b(_0x213b9c,_0x943cff){var _0x31c174=_0x31c1();return _0x318b=function(_0x318bf7,_0x48dc1d){_0x318bf7=_0x318bf7-0x1ab;var _0x118ded=_0x31c174[_0x318bf7];return _0x118ded;},_0x318b(_0x213b9c,_0x943cff);}export{_0x336651 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 82c24960..2f57c4e0 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x354e(_0x4932d1,_0x39d210){var _0x5d9dc4=_0x5d9d();return _0x354e=function(_0x354ecd,_0x2de7fe){_0x354ecd=_0x354ecd-0x79;var _0x273b30=_0x5d9dc4[_0x354ecd];return _0x273b30;},_0x354e(_0x4932d1,_0x39d210);}function _0x5d9d(){var _0x176d8f=['onBlockChanged','onBuddyReqChange','onCheckBuddySettingResult','6145wFgtUm','onBuddyDetailInfoChange','907680KjyDkw','onDelBatchBuddyInfos','onBuddyListChange','onSmartInfos','43842BtHGPB','onDoubtBuddyReqUnreadNumChange','1113306zBojTl','2328952pUEDeB','948MTeHQM','onAddBuddyNeedVerify','7QsAPpb','onBuddyRemarkUpdated','onNickUpdated','onAvatarUrlUpdated','865899NNiqBD','127680zXeIUI','11MsiyJd','onSpacePermissionInfos'];_0x5d9d=function(){return _0x176d8f;};return _0x5d9d();}var _0x7aebda=_0x354e;(function(_0x409ee3,_0x229d2a){var _0x4fb9fa=_0x354e,_0x45e133=_0x409ee3();while(!![]){try{var _0x493143=-parseInt(_0x4fb9fa(0x85))/0x1*(-parseInt(_0x4fb9fa(0x79))/0x2)+-parseInt(_0x4fb9fa(0x84))/0x3+-parseInt(_0x4fb9fa(0x7d))/0x4*(-parseInt(_0x4fb9fa(0x8a))/0x5)+-parseInt(_0x4fb9fa(0x7b))/0x6+parseInt(_0x4fb9fa(0x7f))/0x7*(-parseInt(_0x4fb9fa(0x7c))/0x8)+parseInt(_0x4fb9fa(0x83))/0x9+parseInt(_0x4fb9fa(0x8c))/0xa;if(_0x493143===_0x229d2a)break;else _0x45e133['push'](_0x45e133['shift']());}catch(_0x5d22bb){_0x45e133['push'](_0x45e133['shift']());}}}(_0x5d9d,0x30dd9));export class BuddyListener{[_0x7aebda(0x7e)](_0x162969){}['onAddMeSettingChanged'](_0x111704){}[_0x7aebda(0x82)](_0xf1e858){}[_0x7aebda(0x87)](_0x3af54f){}[_0x7aebda(0x8b)](_0x196d77){}['onBuddyInfoChange'](_0x49d809){}[_0x7aebda(0x8e)](_0x3e5a23){}[_0x7aebda(0x80)](_0x5f3869){}[_0x7aebda(0x88)](_0x4514bf){}['onBuddyReqUnreadCntChange'](_0x21570d){}[_0x7aebda(0x89)](_0x3a6fa4){}[_0x7aebda(0x8d)](_0x591bf9){}['onDoubtBuddyReqChange'](_0x3f6fc7){}[_0x7aebda(0x7a)](_0x518fcd){}[_0x7aebda(0x81)](_0x45d25b){}[_0x7aebda(0x8f)](_0x2a63b1){}[_0x7aebda(0x86)](_0x12d4e8){}} \ No newline at end of file +var _0x4f2cc7=_0x4ebf;(function(_0x46ab7d,_0x121ff7){var _0x6ee1=_0x4ebf,_0xf8dbc=_0x46ab7d();while(!![]){try{var _0x4bfc72=-parseInt(_0x6ee1(0x1ca))/0x1+-parseInt(_0x6ee1(0x1c0))/0x2+parseInt(_0x6ee1(0x1bf))/0x3*(-parseInt(_0x6ee1(0x1cd))/0x4)+-parseInt(_0x6ee1(0x1c6))/0x5+parseInt(_0x6ee1(0x1d4))/0x6+-parseInt(_0x6ee1(0x1cb))/0x7*(-parseInt(_0x6ee1(0x1d0))/0x8)+-parseInt(_0x6ee1(0x1c9))/0x9*(-parseInt(_0x6ee1(0x1d3))/0xa);if(_0x4bfc72===_0x121ff7)break;else _0xf8dbc['push'](_0xf8dbc['shift']());}catch(_0x3f97df){_0xf8dbc['push'](_0xf8dbc['shift']());}}}(_0x8224,0x4035a));export class BuddyListener{[_0x4f2cc7(0x1ce)](_0x4c1995){}['onAddMeSettingChanged'](_0x371434){}[_0x4f2cc7(0x1c3)](_0x267208){}['onBlockChanged'](_0x93b589){}[_0x4f2cc7(0x1cf)](_0x153a60){}[_0x4f2cc7(0x1cc)](_0x41e0cb){}[_0x4f2cc7(0x1d2)](_0x4d533a){}[_0x4f2cc7(0x1be)](_0x1fe58d){}['onBuddyReqChange'](_0x6778e9){}[_0x4f2cc7(0x1bd)](_0x1bf056){}[_0x4f2cc7(0x1c2)](_0x373bda){}[_0x4f2cc7(0x1c4)](_0x166f71){}[_0x4f2cc7(0x1d1)](_0x3ad3c6){}[_0x4f2cc7(0x1c1)](_0x1b9621){}[_0x4f2cc7(0x1c7)](_0x30f646){}[_0x4f2cc7(0x1c5)](_0x2d0788){}[_0x4f2cc7(0x1c8)](_0x2700e6){}}function _0x4ebf(_0x5f55f4,_0x3777fd){var _0x8224ad=_0x8224();return _0x4ebf=function(_0x4ebf03,_0x3a6527){_0x4ebf03=_0x4ebf03-0x1bd;var _0x5bd0d8=_0x8224ad[_0x4ebf03];return _0x5bd0d8;},_0x4ebf(_0x5f55f4,_0x3777fd);}function _0x8224(){var _0x47c2a1=['3348177SeHSPn','onBuddyInfoChange','432844YdQZqB','onAddBuddyNeedVerify','onBuddyDetailInfoChange','8JcwoLl','onDoubtBuddyReqChange','onBuddyListChange','386890mymFVV','147552HTXhIJ','onBuddyReqUnreadCntChange','onBuddyRemarkUpdated','3yckNUt','818874jvzPqB','onDoubtBuddyReqUnreadNumChange','onCheckBuddySettingResult','onAvatarUrlUpdated','onDelBatchBuddyInfos','onSmartInfos','796185bJJEvw','onNickUpdated','onSpacePermissionInfos','189TcTSBD','375485MhaSIU'];_0x8224=function(){return _0x47c2a1;};return _0x8224();} \ 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 420aee0f..dfeff063 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x5203e6=_0x4cc1;function _0x4cc1(_0x4f8e29,_0x1c5f89){var _0x38ab30=_0x38ab();return _0x4cc1=function(_0x4cc110,_0x42f1c0){_0x4cc110=_0x4cc110-0xba;var _0x3ba06f=_0x38ab30[_0x4cc110];return _0x3ba06f;},_0x4cc1(_0x4f8e29,_0x1c5f89);}(function(_0x29f6a9,_0x1b8f16){var _0xf52740=_0x4cc1,_0x591e10=_0x29f6a9();while(!![]){try{var _0x323aec=-parseInt(_0xf52740(0xbc))/0x1*(-parseInt(_0xf52740(0xbd))/0x2)+parseInt(_0xf52740(0xc7))/0x3+parseInt(_0xf52740(0xba))/0x4*(-parseInt(_0xf52740(0xc1))/0x5)+-parseInt(_0xf52740(0xc6))/0x6+-parseInt(_0xf52740(0xc5))/0x7*(parseInt(_0xf52740(0xc0))/0x8)+parseInt(_0xf52740(0xc2))/0x9+parseInt(_0xf52740(0xc3))/0xa;if(_0x323aec===_0x1b8f16)break;else _0x591e10['push'](_0x591e10['shift']());}catch(_0x56821d){_0x591e10['push'](_0x591e10['shift']());}}}(_0x38ab,0x9cda5));function _0x38ab(){var _0x390fd8=['48072hYOFzc','5NpRLag','11336625Medxpr','11280260LVycmZ','onFileStatusChanged','1400MAaqpv','591450iewCDK','806085gNfiCa','3352108UmnxIJ','onSessionListChanged','124525EYkXwT','2ExOmsh','onFileListChanged','onFileSearch'];_0x38ab=function(){return _0x390fd8;};return _0x38ab();}export class KernelFileAssistantListener{[_0x5203e6(0xc4)](..._0x1dd570){}[_0x5203e6(0xbb)](..._0x52517e){}['onSessionChanged'](..._0x368dde){}[_0x5203e6(0xbe)](..._0x3992ca){}[_0x5203e6(0xbf)](..._0x58a5c2){}} \ No newline at end of file +var _0x35aec8=_0x4ade;function _0x53ad(){var _0x407005=['2654183weClxS','9994Hkictp','onFileStatusChanged','onFileSearch','10pnDQlo','onSessionListChanged','656589MuSgps','onSessionChanged','491495QBbaaF','4ALPhPd','6451857xHpKSg','302154urCmyg','2iRTDVW','701480FWUUpY'];_0x53ad=function(){return _0x407005;};return _0x53ad();}function _0x4ade(_0xc7819e,_0x3a28c9){var _0x53ad1f=_0x53ad();return _0x4ade=function(_0x4ade03,_0x1afb61){_0x4ade03=_0x4ade03-0x198;var _0x3b9122=_0x53ad1f[_0x4ade03];return _0x3b9122;},_0x4ade(_0xc7819e,_0x3a28c9);}(function(_0x8f747c,_0x55c43d){var _0x41ce32=_0x4ade,_0x285c6d=_0x8f747c();while(!![]){try{var _0x146bcb=parseInt(_0x41ce32(0x19d))/0x1+-parseInt(_0x41ce32(0x19a))/0x2*(parseInt(_0x41ce32(0x1a2))/0x3)+parseInt(_0x41ce32(0x1a5))/0x4*(parseInt(_0x41ce32(0x1a4))/0x5)+parseInt(_0x41ce32(0x199))/0x6+-parseInt(_0x41ce32(0x19c))/0x7+-parseInt(_0x41ce32(0x19b))/0x8+parseInt(_0x41ce32(0x198))/0x9*(parseInt(_0x41ce32(0x1a0))/0xa);if(_0x146bcb===_0x55c43d)break;else _0x285c6d['push'](_0x285c6d['shift']());}catch(_0x1b9aca){_0x285c6d['push'](_0x285c6d['shift']());}}}(_0x53ad,0x2e570));export class KernelFileAssistantListener{[_0x35aec8(0x19e)](..._0x55b5ae){}[_0x35aec8(0x1a1)](..._0x34c77b){}[_0x35aec8(0x1a3)](..._0x3d0bf1){}['onFileListChanged'](..._0x5dd3b0){}[_0x35aec8(0x19f)](..._0x372ac8){}} \ 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 523fae00..b86c1d84 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x1c08bb=_0x17ef;(function(_0x16e8fd,_0x596381){var _0x50c19d=_0x17ef,_0x4f2c5f=_0x16e8fd();while(!![]){try{var _0x2e308b=parseInt(_0x50c19d(0x20a))/0x1*(parseInt(_0x50c19d(0x220))/0x2)+-parseInt(_0x50c19d(0x1fe))/0x3+-parseInt(_0x50c19d(0x21f))/0x4*(-parseInt(_0x50c19d(0x201))/0x5)+parseInt(_0x50c19d(0x215))/0x6+parseInt(_0x50c19d(0x218))/0x7+-parseInt(_0x50c19d(0x204))/0x8+-parseInt(_0x50c19d(0x219))/0x9*(parseInt(_0x50c19d(0x1e6))/0xa);if(_0x2e308b===_0x596381)break;else _0x4f2c5f['push'](_0x4f2c5f['shift']());}catch(_0x533744){_0x4f2c5f['push'](_0x4f2c5f['shift']());}}}(_0x1ae4,0x18d89));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x483bcf){}[_0x1c08bb(0x211)](..._0x48dc4a){}[_0x1c08bb(0x207)](..._0x4c62d5){}[_0x1c08bb(0x1f3)](..._0x3aff48){}[_0x1c08bb(0x1e5)](..._0x52b126){}[_0x1c08bb(0x20d)](..._0x362f58){}[_0x1c08bb(0x21d)](..._0x3dba05){}['onGroupConfMemberChange'](..._0xa91119){}[_0x1c08bb(0x200)](..._0x1d0dfe){}[_0x1c08bb(0x1ff)](..._0x14c172){}['onGroupFirstBulletinNotify'](..._0x15e0d4){}[_0x1c08bb(0x21e)](_0x497dcb,_0x174853){}[_0x1c08bb(0x213)](_0x5d0410,_0x462b7f){}['onGroupBulletinRichMediaProgressUpdate'](..._0x465a10){}[_0x1c08bb(0x1fd)](..._0x30df54){}[_0x1c08bb(0x1e7)](..._0x1a9788){}[_0x1c08bb(0x1ef)](..._0x239bca){}[_0x1c08bb(0x1eb)](..._0x952062){}[_0x1c08bb(0x212)](..._0x2a0750){}[_0x1c08bb(0x1e4)](..._0x55689c){}[_0x1c08bb(0x20b)](_0x1c9a77,_0xa64b2d,_0x5e66ea){}[_0x1c08bb(0x1fb)](_0x28f45f){}[_0x1c08bb(0x1f7)](..._0x20e50f){}[_0x1c08bb(0x1f4)](..._0x3304f0){}}export class DebugGroupListener{[_0x1c08bb(0x21b)](..._0x165ed4){var _0x4a6097=_0x1c08bb;console[_0x4a6097(0x1ec)](_0x4a6097(0x21a),..._0x165ed4);}[_0x1c08bb(0x211)](..._0x5e0bf1){var _0x57a15c=_0x1c08bb,_0x110f13={'qOxTj':_0x57a15c(0x21c)};console[_0x57a15c(0x1ec)](_0x110f13[_0x57a15c(0x1e2)],..._0x5e0bf1);}[_0x1c08bb(0x207)](..._0x1d6efc){var _0x86dd46=_0x1c08bb;console[_0x86dd46(0x1ec)](_0x86dd46(0x20e),..._0x1d6efc);}[_0x1c08bb(0x1f3)](..._0x46e14e){var _0x1e9367=_0x1c08bb;console['log'](_0x1e9367(0x1ee),..._0x46e14e);}[_0x1c08bb(0x1e5)](..._0x2439f1){var _0x1f7a7c=_0x1c08bb,_0x5be2af={'Pghvn':_0x1f7a7c(0x1e8)};console[_0x1f7a7c(0x1ec)](_0x5be2af[_0x1f7a7c(0x214)],..._0x2439f1);}[_0x1c08bb(0x20d)](..._0x3333a2){var _0x31a1ac=_0x1c08bb;console[_0x31a1ac(0x1ec)]('onGroupArkInviteStateResult:',..._0x3333a2);}[_0x1c08bb(0x21d)](..._0x923ccd){var _0x43c46c=_0x1c08bb,_0x4dd4c7={'hIkMp':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x43c46c(0x1ec)](_0x4dd4c7[_0x43c46c(0x1f9)],..._0x923ccd);}[_0x1c08bb(0x20f)](..._0x141aa6){var _0x20ffac=_0x1c08bb;console[_0x20ffac(0x1ec)]('onGroupConfMemberChange:',..._0x141aa6);}[_0x1c08bb(0x200)](..._0x3a3e4c){var _0x35c148=_0x1c08bb,_0x37e121={'dYPUN':_0x35c148(0x1e1)};console['log'](_0x37e121[_0x35c148(0x1f6)],..._0x3a3e4c);}[_0x1c08bb(0x1ff)](..._0x3a694a){var _0x11da56=_0x1c08bb,_0x5354b4={'cMIqv':_0x11da56(0x20c)};console['log'](_0x5354b4[_0x11da56(0x210)],..._0x3a694a);}[_0x1c08bb(0x1e3)](..._0x2e48ce){var _0x225348=_0x1c08bb,_0x12db8f={'ZvbGo':_0x225348(0x202)};console[_0x225348(0x1ec)](_0x12db8f['ZvbGo'],..._0x2e48ce);}['onGroupListUpdate'](..._0x228417){var _0x204771=_0x1c08bb,_0x4d8dab={'nSnmg':_0x204771(0x209)};console[_0x204771(0x1ec)](_0x4d8dab[_0x204771(0x1f5)],..._0x228417);}[_0x1c08bb(0x213)](..._0x49662e){var _0x21e38f=_0x1c08bb;console[_0x21e38f(0x1ec)](_0x21e38f(0x217),..._0x49662e);}[_0x1c08bb(0x1e9)](..._0x11689b){var _0xabfcab=_0x1c08bb,_0xe660e3={'KMkok':_0xabfcab(0x1f2)};console['log'](_0xe660e3[_0xabfcab(0x1fc)],..._0x11689b);}[_0x1c08bb(0x1fd)](..._0x5cc82a){var _0x8b880b=_0x1c08bb,_0x5f7da={'yMVPr':_0x8b880b(0x1ea)};console[_0x8b880b(0x1ec)](_0x5f7da[_0x8b880b(0x1f1)],..._0x5cc82a);}['onGroupSingleScreenNotifies'](..._0x5de77c){var _0x5fd2d3=_0x1c08bb,_0x2caaeb={'ULDgl':_0x5fd2d3(0x203)};console[_0x5fd2d3(0x1ec)](_0x2caaeb[_0x5fd2d3(0x1f8)],..._0x5de77c);}[_0x1c08bb(0x1ef)](..._0x239f5c){var _0xedfcfd=_0x1c08bb;console[_0xedfcfd(0x1ec)](_0xedfcfd(0x1f0),..._0x239f5c);}[_0x1c08bb(0x1eb)](..._0x2c3200){var _0x38823e=_0x1c08bb,_0x49f236={'lwdqw':'onGroupStatisticInfoChange:'};console[_0x38823e(0x1ec)](_0x49f236['lwdqw'],..._0x2c3200);}[_0x1c08bb(0x212)](..._0x1800fa){var _0x407b4a=_0x1c08bb;console[_0x407b4a(0x1ec)](_0x407b4a(0x216),..._0x1800fa);}[_0x1c08bb(0x1e4)](..._0x20bc1d){var _0x2720cf=_0x1c08bb;console[_0x2720cf(0x1ec)](_0x2720cf(0x208),..._0x20bc1d);}[_0x1c08bb(0x20b)](_0x323e2b,_0x2d7663,_0x5d0ce1){var _0xd13ab3=_0x1c08bb;console[_0xd13ab3(0x1ec)]('onMemberInfoChange:',_0x323e2b,_0x2d7663,_0x5d0ce1);}[_0x1c08bb(0x1fb)](..._0x2df877){var _0x274642=_0x1c08bb,_0x4e3b62={'BKkzZ':'onMemberListChange:'};console['log'](_0x4e3b62[_0x274642(0x205)],..._0x2df877);}[_0x1c08bb(0x1f7)](..._0x50b59e){var _0x496c1f=_0x1c08bb,_0x298418={'YHVeZ':_0x496c1f(0x1ed)};console['log'](_0x298418[_0x496c1f(0x1fa)],..._0x50b59e);}[_0x1c08bb(0x1f4)](..._0x3605f4){var _0x2afd18=_0x1c08bb;console['log'](_0x2afd18(0x206),..._0x3605f4);}}function _0x17ef(_0x483166,_0x46ddcd){var _0x1ae477=_0x1ae4();return _0x17ef=function(_0x17ef10,_0x104aa5){_0x17ef10=_0x17ef10-0x1e1;var _0x47c31a=_0x1ae477[_0x17ef10];return _0x47c31a;},_0x17ef(_0x483166,_0x46ddcd);}function _0x1ae4(){var _0x332499=['YHVeZ','onMemberListChange','KMkok','onGroupNotifiesUnreadCountUpdated','215010JZDdNk','onGroupExtListUpdate','onGroupDetailInfoChange','3340eiXEov','onGroupFirstBulletinNotify:','onGroupSingleScreenNotifies:','294952dItOBp','BKkzZ','onShutUpMemberListChanged:','onGroupAllInfoChange','onJoinGroupNoVerifyFlag:','onGroupListUpdate:','38347NZTJQV','onMemberInfoChange','onGroupExtListUpdate:','onGroupArkInviteStateResult','onGroupAllInfoChange:','onGroupConfMemberChange','cMIqv','onGetGroupBulletinListResult','onJoinGroupNotify','onGroupNotifiesUpdated','Pghvn','343536SCNibv','onJoinGroupNotify:','onGroupNotifiesUpdated:','1045457zOrrQO','18aWZJFi','onGroupMemberLevelInfoChange:','onGroupMemberLevelInfoChange','onGetGroupBulletinListResult:','onGroupBulletinRichMediaDownloadComplete','onGroupListUpdate','1112siDCQK','10wxrgLV','onGroupDetailInfoChange:','qOxTj','onGroupFirstBulletinNotify','onJoinGroupNoVerifyFlag','onGroupBulletinRemindNotify','1868690dOcRpE','onGroupSingleScreenNotifies','onGroupBulletinRemindNotify:','onGroupBulletinRichMediaProgressUpdate','onGroupNotifiesUnreadCountUpdated:','onGroupStatisticInfoChange','log','onSearchMemberChange:','onGroupBulletinChange:','onGroupsMsgMaskResult','onGroupsMsgMaskResult:','yMVPr','onGroupBulletinRichMediaProgressUpdate:','onGroupBulletinChange','onShutUpMemberListChanged','nSnmg','dYPUN','onSearchMemberChange','ULDgl','hIkMp'];_0x1ae4=function(){return _0x332499;};return _0x1ae4();} \ No newline at end of file +var _0x1eb23e=_0x3b45;(function(_0x5ce2d4,_0x5c5612){var _0x5351a5=_0x3b45,_0x5c54d1=_0x5ce2d4();while(!![]){try{var _0x55ab9c=parseInt(_0x5351a5(0xf0))/0x1+parseInt(_0x5351a5(0x112))/0x2+-parseInt(_0x5351a5(0x108))/0x3+parseInt(_0x5351a5(0x10c))/0x4+-parseInt(_0x5351a5(0xdc))/0x5*(parseInt(_0x5351a5(0xee))/0x6)+parseInt(_0x5351a5(0x105))/0x7*(parseInt(_0x5351a5(0xf2))/0x8)+parseInt(_0x5351a5(0xe4))/0x9*(-parseInt(_0x5351a5(0xd9))/0xa);if(_0x55ab9c===_0x5c5612)break;else _0x5c54d1['push'](_0x5c54d1['shift']());}catch(_0x4fb698){_0x5c54d1['push'](_0x5c54d1['shift']());}}}(_0x48b1,0x78c84));export class GroupListener{[_0x1eb23e(0xf1)](..._0x237161){}[_0x1eb23e(0xe1)](..._0x4bb77c){}[_0x1eb23e(0xea)](..._0x2038ba){}[_0x1eb23e(0x103)](..._0x86dfa0){}[_0x1eb23e(0x10e)](..._0x50fc29){}[_0x1eb23e(0x104)](..._0x2f5cc8){}[_0x1eb23e(0x111)](..._0x31e48d){}[_0x1eb23e(0x109)](..._0xf6058c){}['onGroupDetailInfoChange'](..._0x58962f){}[_0x1eb23e(0xf7)](..._0x3d9a30){}['onGroupFirstBulletinNotify'](..._0x10f632){}[_0x1eb23e(0xfa)](_0x16bea2,_0x29034b){}['onGroupNotifiesUpdated'](_0x32da95,_0x165284){}['onGroupBulletinRichMediaProgressUpdate'](..._0x598e22){}[_0x1eb23e(0xec)](..._0x3e323){}[_0x1eb23e(0x106)](..._0x392c45){}[_0x1eb23e(0xfb)](..._0x3d3151){}[_0x1eb23e(0x116)](..._0x7db697){}[_0x1eb23e(0xe9)](..._0x43974b){}[_0x1eb23e(0xe3)](..._0x55018c){}[_0x1eb23e(0xdd)](_0x27ef36,_0x3c4b06,_0x27f214){}[_0x1eb23e(0xed)](_0x23706d){}[_0x1eb23e(0x115)](..._0x4bc4a2){}[_0x1eb23e(0x101)](..._0xbd233e){}}function _0x3b45(_0x5c9d9a,_0x351704){var _0x48b133=_0x48b1();return _0x3b45=function(_0x3b455d,_0x59928e){_0x3b455d=_0x3b455d-0xd6;var _0x36f2f8=_0x48b133[_0x3b455d];return _0x36f2f8;},_0x3b45(_0x5c9d9a,_0x351704);}function _0x48b1(){var _0x9a0fe0=['onMemberInfoChange','onMemberInfoChange:','onGroupListUpdate:','onGroupBulletinRichMediaProgressUpdate','onGetGroupBulletinListResult','fHfCQ','onJoinGroupNoVerifyFlag','261urVQkC','onGroupFirstBulletinNotify:','onGroupDetailInfoChange:','onGroupDetailInfoChange','onGroupAllInfoChange:','onJoinGroupNotify','onGroupAllInfoChange','onGroupNotifiesUnreadCountUpdated:','onGroupNotifiesUnreadCountUpdated','onMemberListChange','9660kNqaXu','onGroupBulletinRichMediaDownloadComplete:','895067uMvrQy','onGroupMemberLevelInfoChange','15152vZZAXT','MTwhs','qFYWV','eCmKc','onJoinGroupNotify:','onGroupExtListUpdate','BLUzQ','onGroupExtListUpdate:','onGroupListUpdate','onGroupsMsgMaskResult','onSearchMemberChange:','onMemberListChange:','onGetGroupBulletinListResult:','ofpfH','HfYwj','onShutUpMemberListChanged','wXnZn','onGroupBulletinChange','onGroupArkInviteStateResult','1659VktPts','onGroupSingleScreenNotifies','fEget','800733gtHrCE','onGroupConfMemberChange','Hvwvb','onGroupBulletinRichMediaProgressUpdate:','756144ShAnLx','onGroupsMsgMaskResult:','onGroupBulletinRemindNotify','onJoinGroupNoVerifyFlag:','onShutUpMemberListChanged:','onGroupBulletinRichMediaDownloadComplete','255396XOSAUc','RFCCK','JEMvc','onSearchMemberChange','onGroupStatisticInfoChange','aJHpc','Ukxfb','onGroupNotifiesUpdated:','log','19660jujqJu','onGroupNotifiesUpdated','viGfn','2615fXoHiV'];_0x48b1=function(){return _0x9a0fe0;};return _0x48b1();}export class DebugGroupListener{[_0x1eb23e(0xf1)](..._0x20faed){var _0x3b64af=_0x1eb23e,_0x4567a0={'Ukxfb':'onGroupMemberLevelInfoChange:'};console[_0x3b64af(0xd8)](_0x4567a0[_0x3b64af(0xd6)],..._0x20faed);}['onGetGroupBulletinListResult'](..._0x2cf633){var _0x1fffcc=_0x1eb23e;console[_0x1fffcc(0xd8)](_0x1fffcc(0xfe),..._0x2cf633);}[_0x1eb23e(0xea)](..._0x1644ae){var _0x4d1652=_0x1eb23e,_0x2a7c8e={'qFYWV':_0x4d1652(0xe8)};console[_0x4d1652(0xd8)](_0x2a7c8e[_0x4d1652(0xf4)],..._0x1644ae);}['onGroupBulletinChange'](..._0x4ad35e){console['log']('onGroupBulletinChange:',..._0x4ad35e);}[_0x1eb23e(0x10e)](..._0x1b4803){var _0x56f2a2=_0x1eb23e,_0x1c2f3a={'NGYgK':'onGroupBulletinRemindNotify:'};console[_0x56f2a2(0xd8)](_0x1c2f3a['NGYgK'],..._0x1b4803);}[_0x1eb23e(0x104)](..._0xde0564){var _0x4bbb9f=_0x1eb23e,_0x20980a={'HfYwj':'onGroupArkInviteStateResult:'};console[_0x4bbb9f(0xd8)](_0x20980a[_0x4bbb9f(0x100)],..._0xde0564);}['onGroupBulletinRichMediaDownloadComplete'](..._0x22bb56){var _0x47431e=_0x1eb23e;console['log'](_0x47431e(0xef),..._0x22bb56);}[_0x1eb23e(0x109)](..._0x4654fc){var _0x3be3af=_0x1eb23e,_0x892cb={'RFCCK':'onGroupConfMemberChange:'};console[_0x3be3af(0xd8)](_0x892cb[_0x3be3af(0x113)],..._0x4654fc);}[_0x1eb23e(0xe7)](..._0x35f7a8){var _0xdb8d7=_0x1eb23e,_0x4f4322={'fEget':_0xdb8d7(0xe6)};console['log'](_0x4f4322[_0xdb8d7(0x107)],..._0x35f7a8);}[_0x1eb23e(0xf7)](..._0x2a9736){var _0x1139bc=_0x1eb23e,_0x2e37ca={'JEMvc':_0x1139bc(0xf9)};console[_0x1139bc(0xd8)](_0x2e37ca[_0x1139bc(0x114)],..._0x2a9736);}['onGroupFirstBulletinNotify'](..._0x2c246f){var _0x35c1ce=_0x1eb23e;console[_0x35c1ce(0xd8)](_0x35c1ce(0xe5),..._0x2c246f);}[_0x1eb23e(0xfa)](..._0x44aa8d){var _0x5ec5f0=_0x1eb23e,_0x2412ba={'MTwhs':_0x5ec5f0(0xdf)};console['log'](_0x2412ba[_0x5ec5f0(0xf3)],..._0x44aa8d);}[_0x1eb23e(0xda)](..._0x348c24){var _0x220e0c=_0x1eb23e,_0x50456a={'Hvwvb':_0x220e0c(0xd7)};console[_0x220e0c(0xd8)](_0x50456a[_0x220e0c(0x10a)],..._0x348c24);}[_0x1eb23e(0xe0)](..._0x6bf588){var _0x3619be=_0x1eb23e,_0x6b6093={'TSdVR':_0x3619be(0x10b)};console[_0x3619be(0xd8)](_0x6b6093['TSdVR'],..._0x6bf588);}[_0x1eb23e(0xec)](..._0x5be603){var _0x27b0ce=_0x1eb23e,_0x16e03f={'aJHpc':_0x27b0ce(0xeb)};console[_0x27b0ce(0xd8)](_0x16e03f[_0x27b0ce(0x117)],..._0x5be603);}[_0x1eb23e(0x106)](..._0x1a5f4e){var _0x21bb76=_0x1eb23e,_0x4eef43={'BLUzQ':'onGroupSingleScreenNotifies:'};console[_0x21bb76(0xd8)](_0x4eef43[_0x21bb76(0xf8)],..._0x1a5f4e);}[_0x1eb23e(0xfb)](..._0x2c20c6){var _0xc4a0f9=_0x1eb23e;console['log'](_0xc4a0f9(0x10d),..._0x2c20c6);}['onGroupStatisticInfoChange'](..._0x14fcc1){console['log']('onGroupStatisticInfoChange:',..._0x14fcc1);}['onJoinGroupNotify'](..._0x26be59){var _0x593614=_0x1eb23e,_0x50bc30={'fHfCQ':_0x593614(0xf6)};console[_0x593614(0xd8)](_0x50bc30[_0x593614(0xe2)],..._0x26be59);}[_0x1eb23e(0xe3)](..._0x4c828d){var _0xc8ec69=_0x1eb23e,_0x1f4048={'viGfn':_0xc8ec69(0x10f)};console[_0xc8ec69(0xd8)](_0x1f4048[_0xc8ec69(0xdb)],..._0x4c828d);}[_0x1eb23e(0xdd)](_0x3f10c7,_0x210f7e,_0x21e4e2){var _0x271049=_0x1eb23e,_0x4a6dd7={'eCmKc':_0x271049(0xde)};console[_0x271049(0xd8)](_0x4a6dd7[_0x271049(0xf5)],_0x3f10c7,_0x210f7e,_0x21e4e2);}[_0x1eb23e(0xed)](..._0x3e5337){var _0x2346f1=_0x1eb23e;console[_0x2346f1(0xd8)](_0x2346f1(0xfd),..._0x3e5337);}[_0x1eb23e(0x115)](..._0x72afd6){var _0x4d7f8c=_0x1eb23e,_0x16eda7={'wXnZn':_0x4d7f8c(0xfc)};console[_0x4d7f8c(0xd8)](_0x16eda7[_0x4d7f8c(0x102)],..._0x72afd6);}[_0x1eb23e(0x101)](..._0x167e6c){var _0x499e99=_0x1eb23e,_0x39d9bc={'ofpfH':_0x499e99(0x110)};console[_0x499e99(0xd8)](_0x39d9bc[_0x499e99(0xff)],..._0x167e6c);}} \ 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 98353396..77a4a703 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x1d6f83=_0x275e;(function(_0x4acba9,_0x283b25){var _0x2b008e=_0x275e,_0x3ace19=_0x4acba9();while(!![]){try{var _0x16c61f=parseInt(_0x2b008e(0xec))/0x1+-parseInt(_0x2b008e(0xea))/0x2+-parseInt(_0x2b008e(0xe7))/0x3+parseInt(_0x2b008e(0xe0))/0x4+parseInt(_0x2b008e(0xdc))/0x5+-parseInt(_0x2b008e(0xe1))/0x6+-parseInt(_0x2b008e(0xde))/0x7*(-parseInt(_0x2b008e(0xed))/0x8);if(_0x16c61f===_0x283b25)break;else _0x3ace19['push'](_0x3ace19['shift']());}catch(_0x153d4f){_0x3ace19['push'](_0x3ace19['shift']());}}}(_0x4b89,0x653d8));function _0x275e(_0x21159b,_0x8dd277){var _0x4b8937=_0x4b89();return _0x275e=function(_0x275edb,_0xf2c87){_0x275edb=_0x275edb-0xdb;var _0x2291c9=_0x4b8937[_0x275edb];return _0x2291c9;},_0x275e(_0x21159b,_0x8dd277);}function _0x4b89(){var _0x1df4c4=['onQRCodeSessionFailed','1537274otPNVj','onLogoutFailed','116648KOKbTf','9717256zoTtKH','onLoginDisConnected','onUserLoggedIn','488150YSUPxt','onQRCodeSessionQuickLoginFailed','7OpcSCJ','onLoginState','890988zriYxI','2754528xKVKMq','onQRCodeLoginSucceed','onQRCodeSessionUserScaned','onQQLoginNumLimited','onPasswordLoginFailed','onLoginConnecting','27831NqCTsz','onQRCodeLoginPollingStarted'];_0x4b89=function(){return _0x1df4c4;};return _0x4b89();}export class LoginListener{['onLoginConnected'](..._0x3a00f7){}[_0x1d6f83(0xee)](..._0x17d498){}[_0x1d6f83(0xe6)](..._0x16085e){}['onQRCodeGetPicture'](_0x3142a6){}[_0x1d6f83(0xe8)](..._0x40285f){}[_0x1d6f83(0xe3)](..._0x5e1465){}[_0x1d6f83(0xe2)](_0x27d5e4){}[_0x1d6f83(0xe9)](..._0x3da87c){}['onLoginFailed'](..._0x102747){}['onLogoutSucceed'](..._0xc7c987){}[_0x1d6f83(0xeb)](..._0x5c22dc){}[_0x1d6f83(0xdb)](..._0xea9557){}[_0x1d6f83(0xdd)](..._0x536ee4){}[_0x1d6f83(0xe5)](..._0x1fcaf3){}['OnConfirmUnusualDeviceFailed'](..._0x187791){}[_0x1d6f83(0xe4)](..._0x4ed0e4){}[_0x1d6f83(0xdf)](..._0x5a2741){}} \ No newline at end of file +function _0x9778(_0x6132a0,_0x132fc8){var _0x136dbd=_0x136d();return _0x9778=function(_0x9778b0,_0x2c929f){_0x9778b0=_0x9778b0-0xb2;var _0x178e8a=_0x136dbd[_0x9778b0];return _0x178e8a;},_0x9778(_0x6132a0,_0x132fc8);}var _0x1457dd=_0x9778;(function(_0x59fbd8,_0x50907b){var _0x3ecc70=_0x9778,_0x640a7e=_0x59fbd8();while(!![]){try{var _0x408671=parseInt(_0x3ecc70(0xbb))/0x1+-parseInt(_0x3ecc70(0xb7))/0x2+parseInt(_0x3ecc70(0xb8))/0x3+-parseInt(_0x3ecc70(0xb3))/0x4+-parseInt(_0x3ecc70(0xc2))/0x5*(parseInt(_0x3ecc70(0xc3))/0x6)+parseInt(_0x3ecc70(0xc1))/0x7*(parseInt(_0x3ecc70(0xbe))/0x8)+parseInt(_0x3ecc70(0xbd))/0x9;if(_0x408671===_0x50907b)break;else _0x640a7e['push'](_0x640a7e['shift']());}catch(_0x23d6fd){_0x640a7e['push'](_0x640a7e['shift']());}}}(_0x136d,0x35bd4));function _0x136d(){var _0x2690b9=['773378YCdXpA','419022dAtAfW','onLogoutFailed','onLoginState','146720elzGMJ','onQRCodeSessionQuickLoginFailed','1501767YDoOZZ','2601744Nubbla','onQRCodeSessionUserScaned','onLogoutSucceed','7RVScPm','5plwCYs','964254EjnaHP','onLoginDisConnected','onLoginConnected','onQRCodeSessionFailed','43844BgDhsf','onPasswordLoginFailed','onQRCodeLoginSucceed','onLoginFailed'];_0x136d=function(){return _0x2690b9;};return _0x136d();}export class LoginListener{[_0x1457dd(0xc5)](..._0x2e8270){}[_0x1457dd(0xc4)](..._0x3b9670){}['onLoginConnecting'](..._0xd864d9){}['onQRCodeGetPicture'](_0x534f97){}['onQRCodeLoginPollingStarted'](..._0x25614d){}[_0x1457dd(0xbf)](..._0x4839a5){}[_0x1457dd(0xb5)](_0x1fa8c2){}[_0x1457dd(0xb2)](..._0x3ee988){}[_0x1457dd(0xb6)](..._0x348e87){}[_0x1457dd(0xc0)](..._0x50c46c){}[_0x1457dd(0xb9)](..._0x6214a4){}['onUserLoggedIn'](..._0x1409f6){}[_0x1457dd(0xbc)](..._0x5bed94){}[_0x1457dd(0xb4)](..._0x4a51dc){}['OnConfirmUnusualDeviceFailed'](..._0x8175ea){}['onQQLoginNumLimited'](..._0x4eefc6){}[_0x1457dd(0xba)](..._0x9958c9){}} \ 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 172b1969..286ddaed 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x582a92=_0x2da9;(function(_0x3e49f7,_0x28bde0){var _0x297cd9=_0x2da9,_0x4dd85e=_0x3e49f7();while(!![]){try{var _0x2104cc=-parseInt(_0x297cd9(0xe1))/0x1*(-parseInt(_0x297cd9(0xd4))/0x2)+-parseInt(_0x297cd9(0xd5))/0x3*(-parseInt(_0x297cd9(0xc5))/0x4)+-parseInt(_0x297cd9(0xb7))/0x5+parseInt(_0x297cd9(0xb1))/0x6*(parseInt(_0x297cd9(0xea))/0x7)+parseInt(_0x297cd9(0xec))/0x8*(parseInt(_0x297cd9(0xe8))/0x9)+parseInt(_0x297cd9(0xe6))/0xa*(parseInt(_0x297cd9(0xdb))/0xb)+-parseInt(_0x297cd9(0xc7))/0xc;if(_0x2104cc===_0x28bde0)break;else _0x4dd85e['push'](_0x4dd85e['shift']());}catch(_0x55a3e6){_0x4dd85e['push'](_0x4dd85e['shift']());}}}(_0x32c1,0x9012d));function _0x32c1(){var _0x4d5f7b=['onDraftUpdate','onRichMediaProgerssUpdate','onSendMsgError','1377372UaldWc','onFirstViewGroupGuildMapping','onRecvGroupGuildFlag','onMsgSettingUpdate','onGuildMsgAbFlagChanged','onLineDev','3913435MdFERZ','onTempChatInfoUpdate','onGrabPasswordRedBag','onGroupTransferInfoAdd','onRecvS2CMsg','onLogLevelChanged','onRecvSysMsg','onUserOnlineStatusChanged','onContactUnreadCntUpdate','onFileMsgCome','onMsgWithRichLinkInfoUpdate','onUserChannelTabStatusChanged','onMsgSecurityNotify','onFeedEventUpdate','1176332SIHDmY','onFirstViewDirectMsgUpdate','13150272eYhbdf','onInputStatusPush','onHitEmojiKeywordResult','onRecvMsgSvrRspTransInfo','onHitRelatedEmojiResult','onKickedOffLine','onUnreadCntAfterFirstView','onUserSecQualityChanged','onBroadcastHelperProgerssUpdate','onGuildNotificationAbstractUpdate','onSearchGroupFileInfoUpdate','onReadFeedEventUpdate','onHitCsRelatedEmojiResult','1312tDnmdj','3jonAPr','onCustomWithdrawConfigUpdate','onRichMediaUploadComplete','onlineStatusBigIconDownloadPush','onMsgAbstractUpdate','onBroadcastHelperProgressUpdate','434049wNSGgE','onNtFirstViewMsgSyncEnd','onImportOldDbProgressUpdate','onNtMsgSyncEnd','onRecvUDCFlag','onChannelFreqLimitInfoUpdate','1301FtcnKR','onGroupGuildUpdate','onMsgInfoListAdd','onNtMsgSyncStart','onMsgRecall','10OOwIxD','onMsgDelete','1635399BZsxWa','onAddSendMsg','28fdnPUK','onSysMsgNotification','16RwfOpW','onUserTabStatusChanged'];_0x32c1=function(){return _0x4d5f7b;};return _0x32c1();}function _0x2da9(_0x168ab5,_0x52c22d){var _0x32c1e0=_0x32c1();return _0x2da9=function(_0x2da984,_0x192b46){_0x2da984=_0x2da984-0xaf;var _0xd17ecf=_0x32c1e0[_0x2da984];return _0xd17ecf;},_0x2da9(_0x168ab5,_0x52c22d);}export class MsgListener{[_0x582a92(0xe9)](_0x3c0007){}['onBroadcastHelperDownloadComplete'](_0x57e595){}[_0x582a92(0xda)](_0x17d1af){}[_0x582a92(0xe0)](_0xebcd94,_0x26d114,_0x2af443){}[_0x582a92(0xbf)](_0x107276){}[_0x582a92(0xd6)](_0x2a665b){}[_0x582a92(0xee)](_0x21b79d,_0x21dd20,_0x1b96cb){}['onEmojiDownloadComplete'](_0x41cd59){}['onEmojiResourceUpdate'](_0x2cd042){}[_0x582a92(0xc4)](_0x238fc9){}[_0x582a92(0xc0)](_0x4f4c93){}[_0x582a92(0xc6)](_0x3d03ca){}[_0x582a92(0xb2)](_0x3a00a3){}[_0x582a92(0xb9)](_0x3d7301,_0x188679,_0x19709f,_0x38692c,_0x45bc91){}['onGroupFileInfoAdd'](_0x5eaf90){}['onGroupFileInfoUpdate'](_0x221676){}[_0x582a92(0xe2)](_0x1fa04c){}[_0x582a92(0xba)](_0x400c5c){}['onGroupTransferInfoUpdate'](_0x27c474){}['onGuildInteractiveUpdate'](_0x135723){}[_0x582a92(0xb5)](_0x137e21){}[_0x582a92(0xd0)](_0x726552){}[_0x582a92(0xd3)](_0x31098d){}[_0x582a92(0xc9)](_0x47f769){}[_0x582a92(0xcb)](_0x4eef85){}[_0x582a92(0xdd)](_0x41850f){}[_0x582a92(0xc8)](_0x42aaa1){}[_0x582a92(0xcc)](_0x296508){}[_0x582a92(0xb6)](_0x1b853b){}[_0x582a92(0xbc)](_0x876c0e){}[_0x582a92(0xd9)](_0x89c36b){}['onMsgBoxChanged'](_0x2afb9d){}[_0x582a92(0xe7)](_0x431e3e,_0x7ebd58){}['onMsgEventListUpdate'](_0x578581){}[_0x582a92(0xe3)](_0x5d1f4b){}['onMsgInfoListUpdate'](_0x5a39c7){}['onMsgQRCodeStatusChanged'](_0xbbee28){}[_0x582a92(0xe5)](_0x58b431,_0x580b87,_0x106758){}[_0x582a92(0xc3)](_0x1d4758){}[_0x582a92(0xb4)](_0x469c1f){}[_0x582a92(0xdc)](){}[_0x582a92(0xde)](){}[_0x582a92(0xe4)](){}[_0x582a92(0xd2)](_0xdd91f0){}[_0x582a92(0xb3)](_0x5c70e2){}['onRecvMsg'](_0x4b0e72){}[_0x582a92(0xca)](_0x5f45dd,_0x4cba75,_0x25b1ab,_0x3509b9,_0x75b48b,_0x2bb9d3){}['onRecvOnlineFileMsg'](_0x599dbc){}[_0x582a92(0xbb)](_0x157bcc){}[_0x582a92(0xbd)](_0x23b7ae){}[_0x582a92(0xdf)](_0x2fe362){}['onRichMediaDownloadComplete'](_0x129942){}[_0x582a92(0xaf)](_0x34aed5){}[_0x582a92(0xd7)](_0x5b7ebf){}[_0x582a92(0xd1)](_0x47729b){}[_0x582a92(0xb0)](_0x456185,_0x12853e,_0x2bf8f9,_0x19ae7e){}[_0x582a92(0xeb)](_0x357ad9,_0x3aecbf,_0x5e51d6,_0x1170df){}[_0x582a92(0xb8)](_0x3cfdeb){}[_0x582a92(0xcd)](_0xab2a01){}['onUnreadCntUpdate'](_0x519f7a){}[_0x582a92(0xc2)](_0x351dd0){}[_0x582a92(0xbe)](_0x10ba5d){}[_0x582a92(0xed)](_0x12c07d){}[_0x582a92(0xd8)](_0x5b0dd2,_0xcabea1,_0x1f67f9){}['onlineStatusSmallIconDownloadPush'](_0x2facaa,_0x50d48e,_0x34a0a1){}[_0x582a92(0xce)](..._0x2c8197){}[_0x582a92(0xc1)](..._0x5bf9b4){}['onRedTouchChanged'](..._0x4b35b8){}[_0x582a92(0xcf)](..._0x6bcbf7){}} \ No newline at end of file +var _0x4d3bfa=_0x4d02;(function(_0x3a991f,_0x3ef07b){var _0xdc45f8=_0x4d02,_0x189b65=_0x3a991f();while(!![]){try{var _0x2cd8c0=parseInt(_0xdc45f8(0xb8))/0x1+parseInt(_0xdc45f8(0xd3))/0x2+parseInt(_0xdc45f8(0xdf))/0x3*(parseInt(_0xdc45f8(0xe1))/0x4)+-parseInt(_0xdc45f8(0xca))/0x5+-parseInt(_0xdc45f8(0xc4))/0x6*(parseInt(_0xdc45f8(0xc5))/0x7)+-parseInt(_0xdc45f8(0xb9))/0x8*(parseInt(_0xdc45f8(0xaa))/0x9)+-parseInt(_0xdc45f8(0xd8))/0xa*(parseInt(_0xdc45f8(0xb7))/0xb);if(_0x2cd8c0===_0x3ef07b)break;else _0x189b65['push'](_0x189b65['shift']());}catch(_0x20423d){_0x189b65['push'](_0x189b65['shift']());}}}(_0x3189,0xae880));function _0x4d02(_0x14bbdd,_0x5601c7){var _0x318942=_0x3189();return _0x4d02=function(_0x4d0298,_0x540e50){_0x4d0298=_0x4d0298-0xa4;var _0x47a1b8=_0x318942[_0x4d0298];return _0x47a1b8;},_0x4d02(_0x14bbdd,_0x5601c7);}function _0x3189(){var _0x19ab5a=['onTempChatInfoUpdate','onHitRelatedEmojiResult','onRecvUDCFlag','onMsgEventListUpdate','onGroupTransferInfoUpdate','8199iRwdQz','onGuildInteractiveUpdate','852ohCbSQ','onRecvGroupGuildFlag','onlineStatusSmallIconDownloadPush','onChannelFreqLimitInfoUpdate','onGroupFileInfoAdd','onRichMediaDownloadComplete','onSysMsgNotification','onFileMsgCome','onSearchGroupFileInfoUpdate','399582lhtlBq','onMsgDelete','onUnreadCntAfterFirstView','onAddSendMsg','onGrabPasswordRedBag','onHitEmojiKeywordResult','onGroupGuildUpdate','onDraftUpdate','onNtFirstViewMsgSyncEnd','onRichMediaProgerssUpdate','onContactUnreadCntUpdate','onFeedEventUpdate','onMsgWithRichLinkInfoUpdate','63338hCWSFi','713041DipSGc','8ROYDyp','onRecvS2CMsg','onCustomWithdrawConfigUpdate','onGuildNotificationAbstractUpdate','onSendMsgError','onUserSecQualityChanged','onUserChannelTabStatusChanged','onLineDev','onBroadcastHelperProgerssUpdate','onReadFeedEventUpdate','onUserTabStatusChanged','2513892LXcgDZ','7kSdAAR','onBroadcastHelperProgressUpdate','onInputStatusPush','onFirstViewDirectMsgUpdate','onEmojiResourceUpdate','5260055GmEMTA','onMsgRecall','onEmojiDownloadComplete','onMsgInfoListUpdate','onRichMediaUploadComplete','onRecvOnlineFileMsg','onNtMsgSyncStart','onUserOnlineStatusChanged','onImportOldDbProgressUpdate','1916266nzkDsu','onMsgSecurityNotify','onUnreadCntUpdate','onRecvSysMsg','onRedTouchChanged','40JmKyYY','onlineStatusBigIconDownloadPush'];_0x3189=function(){return _0x19ab5a;};return _0x3189();}export class MsgListener{[_0x4d3bfa(0xad)](_0x5dfc79){}['onBroadcastHelperDownloadComplete'](_0x5be539){}[_0x4d3bfa(0xc6)](_0x40ea2d){}[_0x4d3bfa(0xa4)](_0x2af27d,_0x49d0d5,_0x1a187c){}[_0x4d3bfa(0xb4)](_0x41bb57){}[_0x4d3bfa(0xbb)](_0x3139c2){}[_0x4d3bfa(0xb1)](_0x520684,_0x2c75ac,_0x21f790){}[_0x4d3bfa(0xcc)](_0x21167e){}[_0x4d3bfa(0xc9)](_0x5bbfcb){}[_0x4d3bfa(0xb5)](_0x193543){}[_0x4d3bfa(0xa8)](_0x11cbe5){}[_0x4d3bfa(0xc8)](_0x57e4f7){}['onFirstViewGroupGuildMapping'](_0x5811f2){}[_0x4d3bfa(0xae)](_0x4e2c87,_0x3316ab,_0x26e9aa,_0x2b1020,_0x186170){}[_0x4d3bfa(0xa5)](_0x25793c){}['onGroupFileInfoUpdate'](_0x439d27){}[_0x4d3bfa(0xb0)](_0x298a16){}['onGroupTransferInfoAdd'](_0x157658){}[_0x4d3bfa(0xde)](_0x4990e6){}[_0x4d3bfa(0xe0)](_0x5ec210){}['onGuildMsgAbFlagChanged'](_0x2c62b6){}[_0x4d3bfa(0xbc)](_0xb7a503){}['onHitCsRelatedEmojiResult'](_0x3d4875){}[_0x4d3bfa(0xaf)](_0x5813c4){}[_0x4d3bfa(0xdb)](_0x21fd08){}[_0x4d3bfa(0xd2)](_0x2219d2){}[_0x4d3bfa(0xc7)](_0x30b072){}['onKickedOffLine'](_0xee4268){}[_0x4d3bfa(0xc0)](_0x29f848){}['onLogLevelChanged'](_0x3579a7){}['onMsgAbstractUpdate'](_0x4697a1){}['onMsgBoxChanged'](_0xa7dd8e){}[_0x4d3bfa(0xab)](_0x1aa1d9,_0x550809){}[_0x4d3bfa(0xdd)](_0x2725a0){}['onMsgInfoListAdd'](_0x5c9852){}[_0x4d3bfa(0xcd)](_0x59cb34){}['onMsgQRCodeStatusChanged'](_0x1cfa80){}[_0x4d3bfa(0xcb)](_0x222f73,_0x555d51,_0x151d9f){}[_0x4d3bfa(0xd4)](_0x2cad90){}['onMsgSettingUpdate'](_0x2b7745){}[_0x4d3bfa(0xb2)](){}['onNtMsgSyncEnd'](){}[_0x4d3bfa(0xd0)](){}[_0x4d3bfa(0xc2)](_0x10cb26){}[_0x4d3bfa(0xe2)](_0x370ee8){}['onRecvMsg'](_0x491c50){}['onRecvMsgSvrRspTransInfo'](_0x4480eb,_0x336b29,_0x2b59e0,_0x4b440b,_0x251109,_0x15ed96){}[_0x4d3bfa(0xcf)](_0x4b7050){}[_0x4d3bfa(0xba)](_0x4839bf){}[_0x4d3bfa(0xd6)](_0x197043){}[_0x4d3bfa(0xdc)](_0x233228){}[_0x4d3bfa(0xa6)](_0x56d059){}[_0x4d3bfa(0xb3)](_0x31d193){}[_0x4d3bfa(0xce)](_0x379349){}[_0x4d3bfa(0xa9)](_0x57b1ec){}[_0x4d3bfa(0xbd)](_0x1c1929,_0xe0278a,_0x1b4580,_0x2a5146){}[_0x4d3bfa(0xa7)](_0x16bda2,_0x1e125e,_0x5d0a00,_0x104d15){}[_0x4d3bfa(0xda)](_0x47b299){}[_0x4d3bfa(0xac)](_0x1d3fbb){}[_0x4d3bfa(0xd5)](_0x336172){}[_0x4d3bfa(0xbf)](_0x2b851f){}[_0x4d3bfa(0xd1)](_0x44ea03){}[_0x4d3bfa(0xc3)](_0x4c9d16){}[_0x4d3bfa(0xd9)](_0xf9ff3c,_0x1e5449,_0x56a4e2){}[_0x4d3bfa(0xe3)](_0x10d4c9,_0x12d657,_0x2186dd){}[_0x4d3bfa(0xbe)](..._0x405a6a){}[_0x4d3bfa(0xb6)](..._0x237ab4){}[_0x4d3bfa(0xd7)](..._0xe5b696){}[_0x4d3bfa(0xc1)](..._0x2bfb76){}} \ 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 a77f5167..42c00426 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x2df212=_0x352e;(function(_0x57ef16,_0xa0f702){var _0x451ed2=_0x352e,_0x51940d=_0x57ef16();while(!![]){try{var _0x3ccd8d=parseInt(_0x451ed2(0x94))/0x1+-parseInt(_0x451ed2(0x91))/0x2*(parseInt(_0x451ed2(0x8d))/0x3)+parseInt(_0x451ed2(0x92))/0x4+-parseInt(_0x451ed2(0x8f))/0x5+-parseInt(_0x451ed2(0x93))/0x6*(-parseInt(_0x451ed2(0x8c))/0x7)+parseInt(_0x451ed2(0x90))/0x8+-parseInt(_0x451ed2(0x8b))/0x9*(parseInt(_0x451ed2(0x96))/0xa);if(_0x3ccd8d===_0xa0f702)break;else _0x51940d['push'](_0x51940d['shift']());}catch(_0x2dc419){_0x51940d['push'](_0x51940d['shift']());}}}(_0x1882,0x39349));function _0x352e(_0x513080,_0x516e37){var _0x188260=_0x1882();return _0x352e=function(_0x352e76,_0x4fa67d){_0x352e76=_0x352e76-0x8b;var _0x2f6cd1=_0x188260[_0x352e76];return _0x2f6cd1;},_0x352e(_0x513080,_0x516e37);}export class ProfileListener{[_0x2df212(0x8e)](..._0x123b47){}['onProfileDetailInfoChanged'](_0x169af4){}[_0x2df212(0x95)](..._0x4f33f7){}[_0x2df212(0x97)](..._0x1afbb4){}['onStrangerRemarkChanged'](..._0x480c74){}}function _0x1882(){var _0x105d8f=['910764EYRMMs','388154KGrjeo','onStatusUpdate','10tRhgBz','onSelfStatusChanged','2059173pWoMcS','14kKKSHX','3cylEfa','onProfileSimpleChanged','1624850UFnofo','974248MFbMdy','527954pAXKdo','954136nNDdQW'];_0x1882=function(){return _0x105d8f;};return _0x1882();} \ No newline at end of file +function _0x4361(){var _0xa923fc=['3801WfCiED','1771185AAJtZu','9328dYhNEf','31391jnbArA','2NOpvyb','1180422pCTUAR','onProfileSimpleChanged','onStrangerRemarkChanged','272932GCOnzG','90RBgRdF','onSelfStatusChanged','1917444QKSqMs','29425nnUXYy','onProfileDetailInfoChanged','268mQDlZK'];_0x4361=function(){return _0xa923fc;};return _0x4361();}var _0x3553c6=_0x281e;(function(_0xc04783,_0x22e7c3){var _0x3434ea=_0x281e,_0x573aa7=_0xc04783();while(!![]){try{var _0x32bfe0=-parseInt(_0x3434ea(0xd8))/0x1*(-parseInt(_0x3434ea(0xd9))/0x2)+-parseInt(_0x3434ea(0xd6))/0x3+parseInt(_0x3434ea(0xd4))/0x4*(parseInt(_0x3434ea(0xe1))/0x5)+-parseInt(_0x3434ea(0xe0))/0x6+parseInt(_0x3434ea(0xd5))/0x7*(parseInt(_0x3434ea(0xd7))/0x8)+parseInt(_0x3434ea(0xda))/0x9+parseInt(_0x3434ea(0xde))/0xa*(parseInt(_0x3434ea(0xdd))/0xb);if(_0x32bfe0===_0x22e7c3)break;else _0x573aa7['push'](_0x573aa7['shift']());}catch(_0x22dc61){_0x573aa7['push'](_0x573aa7['shift']());}}}(_0x4361,0x7ae19));function _0x281e(_0x28be84,_0x419bf7){var _0x43618a=_0x4361();return _0x281e=function(_0x281ecf,_0x38ace8){_0x281ecf=_0x281ecf-0xd3;var _0x29ee77=_0x43618a[_0x281ecf];return _0x29ee77;},_0x281e(_0x28be84,_0x419bf7);}export class ProfileListener{[_0x3553c6(0xdb)](..._0x269b9a){}[_0x3553c6(0xd3)](_0x1af270){}['onStatusUpdate'](..._0x16c25a){}[_0x3553c6(0xdf)](..._0x513411){}[_0x3553c6(0xdc)](..._0x2a7b9d){}} \ 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 000e888a..14a0226b 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x427bc7=_0x18ae;function _0x1dfc(){var _0x301b07=['4027261CnyYWn','1027428sMVRHX','234061DDSnYs','2729950FEYwgg','onRobotFriendListChanged','onRobotListChanged','427986jRdqtq','1213110UgPwks','onRobotProfileChanged','2347692DkEuiv'];_0x1dfc=function(){return _0x301b07;};return _0x1dfc();}(function(_0x1b4685,_0x1f3dd2){var _0x2e1cea=_0x18ae,_0x4c8e02=_0x1b4685();while(!![]){try{var _0x3a18c0=-parseInt(_0x2e1cea(0x8c))/0x1+parseInt(_0x2e1cea(0x90))/0x2+parseInt(_0x2e1cea(0x87))/0x3+parseInt(_0x2e1cea(0x8b))/0x4+-parseInt(_0x2e1cea(0x8d))/0x5+-parseInt(_0x2e1cea(0x89))/0x6+parseInt(_0x2e1cea(0x8a))/0x7;if(_0x3a18c0===_0x1f3dd2)break;else _0x4c8e02['push'](_0x4c8e02['shift']());}catch(_0xc7905a){_0x4c8e02['push'](_0x4c8e02['shift']());}}}(_0x1dfc,0x442aa));function _0x18ae(_0x5b011d,_0x3b0a3e){var _0x1dfc8e=_0x1dfc();return _0x18ae=function(_0x18aec0,_0x13e44e){_0x18aec0=_0x18aec0-0x87;var _0x13edcd=_0x1dfc8e[_0x18aec0];return _0x13edcd;},_0x18ae(_0x5b011d,_0x3b0a3e);}export class KernelRobotListener{[_0x427bc7(0x8e)](..._0x2a16cf){}[_0x427bc7(0x8f)](..._0x30d592){}[_0x427bc7(0x88)](..._0x173aec){}} \ No newline at end of file +function _0x2608(){var _0x56d292=['33030LZZNpo','90HUVFar','onRobotFriendListChanged','1eljYdu','328hpUiWS','483THGPlf','2292072gdavBa','onRobotProfileChanged','55984PleGyC','897288hivPPl','1298846noHiwj','209853cqYHau','onRobotListChanged','188056CRldCk'];_0x2608=function(){return _0x56d292;};return _0x2608();}var _0x25a03e=_0x3d2a;function _0x3d2a(_0x3ec6af,_0x412201){var _0x26089d=_0x2608();return _0x3d2a=function(_0x3d2acd,_0x42dd08){_0x3d2acd=_0x3d2acd-0xec;var _0x1da1ca=_0x26089d[_0x3d2acd];return _0x1da1ca;},_0x3d2a(_0x3ec6af,_0x412201);}(function(_0x4205b5,_0x537380){var _0x41b694=_0x3d2a,_0xf1acd0=_0x4205b5();while(!![]){try{var _0xa79d13=-parseInt(_0x41b694(0xf0))/0x1*(-parseInt(_0x41b694(0xf7))/0x2)+parseInt(_0x41b694(0xf6))/0x3+-parseInt(_0x41b694(0xf1))/0x4*(parseInt(_0x41b694(0xed))/0x5)+-parseInt(_0x41b694(0xf3))/0x6+-parseInt(_0x41b694(0xf2))/0x7*(-parseInt(_0x41b694(0xf5))/0x8)+parseInt(_0x41b694(0xf8))/0x9+parseInt(_0x41b694(0xee))/0xa*(-parseInt(_0x41b694(0xec))/0xb);if(_0xa79d13===_0x537380)break;else _0xf1acd0['push'](_0xf1acd0['shift']());}catch(_0x44965f){_0xf1acd0['push'](_0xf1acd0['shift']());}}}(_0x2608,0x5c12a));export class KernelRobotListener{[_0x25a03e(0xef)](..._0x2f444c){}[_0x25a03e(0xf9)](..._0x1a7a09){}[_0x25a03e(0xf4)](..._0x1053ec){}} \ 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 b8638383..771468f3 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x1c12d5=_0x97c4;(function(_0x5c8fcc,_0x3e6cac){var _0x1500ad=_0x97c4,_0x2696d5=_0x5c8fcc();while(!![]){try{var _0x54a9c5=-parseInt(_0x1500ad(0x14a))/0x1*(parseInt(_0x1500ad(0x150))/0x2)+parseInt(_0x1500ad(0x154))/0x3*(-parseInt(_0x1500ad(0x14f))/0x4)+-parseInt(_0x1500ad(0x148))/0x5+-parseInt(_0x1500ad(0x149))/0x6+-parseInt(_0x1500ad(0x151))/0x7*(-parseInt(_0x1500ad(0x14c))/0x8)+-parseInt(_0x1500ad(0x14b))/0x9+parseInt(_0x1500ad(0x152))/0xa;if(_0x54a9c5===_0x3e6cac)break;else _0x2696d5['push'](_0x2696d5['shift']());}catch(_0xf8067e){_0x2696d5['push'](_0x2696d5['shift']());}}}(_0x4bfd,0x1e05a));function _0x4bfd(){var _0x3b6695=['600309rODwhG','208632JWfaZw','onSessionInitComplete','onGetSelfTinyId','4cxrjmf','698YmwpmB','21yewSlP','5836930OwvIlt','onUserOnlineResult','460683TEShAt','onGProSessionCreate','onOpentelemetryInit','onNTSessionCreate','160915zHJTTy','519228piaJYu','573TZJHCF'];_0x4bfd=function(){return _0x3b6695;};return _0x4bfd();}function _0x97c4(_0x1c544e,_0x1cb51a){var _0x4bfd66=_0x4bfd();return _0x97c4=function(_0x97c478,_0x1dc874){_0x97c478=_0x97c478-0x146;var _0x581bf4=_0x4bfd66[_0x97c478];return _0x581bf4;},_0x97c4(_0x1c544e,_0x1cb51a);}export class SessionListener{[_0x1c12d5(0x147)](_0x42ca05){}[_0x1c12d5(0x155)](_0x325b3b){}[_0x1c12d5(0x14d)](_0x31af88){}[_0x1c12d5(0x146)](_0x4507d2){}[_0x1c12d5(0x153)](_0x3468ce){}[_0x1c12d5(0x14e)](_0x13606a){}} \ No newline at end of file +function _0x2a9f(_0x50f974,_0x333b28){var _0x281133=_0x2811();return _0x2a9f=function(_0x2a9ff1,_0x5b1558){_0x2a9ff1=_0x2a9ff1-0x1e8;var _0x4e15fb=_0x281133[_0x2a9ff1];return _0x4e15fb;},_0x2a9f(_0x50f974,_0x333b28);}var _0x102292=_0x2a9f;(function(_0x592761,_0x5dd63f){var _0x3b0d44=_0x2a9f,_0x417d82=_0x592761();while(!![]){try{var _0x34390c=parseInt(_0x3b0d44(0x1e8))/0x1+parseInt(_0x3b0d44(0x1f2))/0x2*(-parseInt(_0x3b0d44(0x1f3))/0x3)+parseInt(_0x3b0d44(0x1e9))/0x4*(-parseInt(_0x3b0d44(0x1ea))/0x5)+-parseInt(_0x3b0d44(0x1f4))/0x6*(-parseInt(_0x3b0d44(0x1eb))/0x7)+-parseInt(_0x3b0d44(0x1ef))/0x8+-parseInt(_0x3b0d44(0x1ed))/0x9+parseInt(_0x3b0d44(0x1ee))/0xa;if(_0x34390c===_0x5dd63f)break;else _0x417d82['push'](_0x417d82['shift']());}catch(_0x27ded9){_0x417d82['push'](_0x417d82['shift']());}}}(_0x2811,0x6e065));export class SessionListener{['onNTSessionCreate'](_0x4066ea){}[_0x102292(0x1f0)](_0x566662){}[_0x102292(0x1f5)](_0xbd33b3){}[_0x102292(0x1f1)](_0x38c2e5){}[_0x102292(0x1ec)](_0x1cd2bd){}['onGetSelfTinyId'](_0x5c8adb){}}function _0x2811(){var _0x1e8c15=['1158512juwIej','onGProSessionCreate','onOpentelemetryInit','1270lydSFc','2433bvMTvE','377976lDGUYh','onSessionInitComplete','192590UoQFCT','288820OqqqRj','5wYLtTc','63ganqPS','onUserOnlineResult','6396030HXrtkO','11337810VCMwrv'];_0x2811=function(){return _0x1e8c15;};return _0x2811();} \ 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 8c118aea..b02f7b8d 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x47dac7=_0x4be4;(function(_0x590cd1,_0x187e52){var _0x8c1f30=_0x4be4,_0x4d005d=_0x590cd1();while(!![]){try{var _0x19bb93=parseInt(_0x8c1f30(0x96))/0x1+-parseInt(_0x8c1f30(0x8b))/0x2*(parseInt(_0x8c1f30(0x8f))/0x3)+-parseInt(_0x8c1f30(0x8e))/0x4*(parseInt(_0x8c1f30(0x90))/0x5)+-parseInt(_0x8c1f30(0x92))/0x6*(-parseInt(_0x8c1f30(0x8c))/0x7)+-parseInt(_0x8c1f30(0x97))/0x8+parseInt(_0x8c1f30(0x8d))/0x9+parseInt(_0x8c1f30(0x95))/0xa;if(_0x19bb93===_0x187e52)break;else _0x4d005d['push'](_0x4d005d['shift']());}catch(_0x426cae){_0x4d005d['push'](_0x4d005d['shift']());}}}(_0x3e11,0x533b1));function _0x3e11(){var _0x394214=['492865TNMIdl','onCleanCacheProgressChanged','251628fzMVoE','onFinishScan','onScanCacheProgressChanged','1330440HgPzbG','335024CBdPVq','2129800MjEcQl','onCleanCacheStorageChanged','onChatCleanDone','444660pqnOYf','42JedDtG','5877045MNcqDM','4yVsfsr','9dyxUIz'];_0x3e11=function(){return _0x394214;};return _0x3e11();}function _0x4be4(_0x40f66a,_0x52a9cb){var _0x3e1124=_0x3e11();return _0x4be4=function(_0x4be43b,_0xa88a14){_0x4be43b=_0x4be43b-0x89;var _0x1c557b=_0x3e1124[_0x4be43b];return _0x1c557b;},_0x4be4(_0x40f66a,_0x52a9cb);}export class StorageCleanListener{[_0x47dac7(0x91)](_0x1541d6){}[_0x47dac7(0x94)](_0x511e17){}[_0x47dac7(0x89)](_0x159b64){}[_0x47dac7(0x93)](_0x1aa26b){}[_0x47dac7(0x8a)](_0x5f0a8d){}} \ No newline at end of file +var _0x49b1cb=_0x766c;(function(_0x39c007,_0x3e97f7){var _0x1d4061=_0x766c,_0x2ab49d=_0x39c007();while(!![]){try{var _0x1045b1=parseInt(_0x1d4061(0x199))/0x1*(-parseInt(_0x1d4061(0x197))/0x2)+parseInt(_0x1d4061(0x18d))/0x3+-parseInt(_0x1d4061(0x195))/0x4*(parseInt(_0x1d4061(0x194))/0x5)+-parseInt(_0x1d4061(0x193))/0x6*(parseInt(_0x1d4061(0x18f))/0x7)+parseInt(_0x1d4061(0x198))/0x8+parseInt(_0x1d4061(0x18e))/0x9*(-parseInt(_0x1d4061(0x192))/0xa)+parseInt(_0x1d4061(0x196))/0xb;if(_0x1045b1===_0x3e97f7)break;else _0x2ab49d['push'](_0x2ab49d['shift']());}catch(_0x11e841){_0x2ab49d['push'](_0x2ab49d['shift']());}}}(_0x46f7,0xf1e82));function _0x766c(_0x43ed49,_0x552b4b){var _0x46f752=_0x46f7();return _0x766c=function(_0x766cb4,_0x588dbb){_0x766cb4=_0x766cb4-0x18a;var _0x140d4a=_0x46f752[_0x766cb4];return _0x140d4a;},_0x766c(_0x43ed49,_0x552b4b);}function _0x46f7(){var _0x1b8d96=['7076768ytjFjh','1TwHuBO','onFinishScan','onCleanCacheProgressChanged','onChatCleanDone','3904356Zizusw','117jkgdPm','2888452OrJGxq','onScanCacheProgressChanged','onCleanCacheStorageChanged','1403390gUHkNV','24iMXeNU','376280XkcuLT','40NVQKNn','33928807jxmTYk','104248TjkLXj'];_0x46f7=function(){return _0x1b8d96;};return _0x46f7();}export class StorageCleanListener{[_0x49b1cb(0x18b)](_0x29924f){}[_0x49b1cb(0x190)](_0x251f36){}[_0x49b1cb(0x191)](_0x25fac1){}[_0x49b1cb(0x18a)](_0x4157bf){}[_0x49b1cb(0x18c)](_0x214042){}} \ 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 0fdeafa7..7b8b6d8a 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x26c19f,_0x18865c){var _0x4233dc=_0x6f4d,_0x3a424a=_0x26c19f();while(!![]){try{var _0x4eae2d=-parseInt(_0x4233dc(0x156))/0x1+parseInt(_0x4233dc(0x152))/0x2*(parseInt(_0x4233dc(0x155))/0x3)+-parseInt(_0x4233dc(0x153))/0x4+-parseInt(_0x4233dc(0x14e))/0x5*(-parseInt(_0x4233dc(0x154))/0x6)+parseInt(_0x4233dc(0x151))/0x7+parseInt(_0x4233dc(0x14f))/0x8*(parseInt(_0x4233dc(0x157))/0x9)+-parseInt(_0x4233dc(0x150))/0xa;if(_0x4eae2d===_0x18865c)break;else _0x3a424a['push'](_0x3a424a['shift']());}catch(_0x492afe){_0x3a424a['push'](_0x3a424a['shift']());}}}(_0xd5d3,0xb0569));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x6f4d(_0x40d25,_0x56b164){var _0xd5d31c=_0xd5d3();return _0x6f4d=function(_0x6f4dbe,_0x183a38){_0x6f4dbe=_0x6f4dbe-0x14e;var _0x39b6d5=_0xd5d31c[_0x6f4dbe];return _0x39b6d5;},_0x6f4d(_0x40d25,_0x56b164);}export*from'./NodeIKernelStorageCleanListener';function _0xd5d3(){var _0x14939c=['2udwIoD','848112KGJmEG','6dUPYvn','2658615LOlkgv','1110807SROxfx','36GIYcrP','4775510ZVIQiP','2531984IcKlfP','19479290HEwYSQ','6200222JIcaYG'];_0xd5d3=function(){return _0x14939c;};return _0xd5d3();}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x3c09b5,_0x2d36db){var _0x1811fc=_0xf65f,_0x5058e6=_0x3c09b5();while(!![]){try{var _0x447e05=parseInt(_0x1811fc(0x94))/0x1*(parseInt(_0x1811fc(0x9b))/0x2)+parseInt(_0x1811fc(0x99))/0x3*(parseInt(_0x1811fc(0x93))/0x4)+parseInt(_0x1811fc(0x9a))/0x5+-parseInt(_0x1811fc(0x98))/0x6*(parseInt(_0x1811fc(0x9d))/0x7)+-parseInt(_0x1811fc(0x9c))/0x8*(-parseInt(_0x1811fc(0x95))/0x9)+parseInt(_0x1811fc(0x97))/0xa*(-parseInt(_0x1811fc(0x96))/0xb)+-parseInt(_0x1811fc(0x92))/0xc;if(_0x447e05===_0x2d36db)break;else _0x5058e6['push'](_0x5058e6['shift']());}catch(_0x53c99d){_0x5058e6['push'](_0x5058e6['shift']());}}}(_0x1db2,0x85437));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x1db2(){var _0x479902=['28GhCbyi','73aLYJQf','45qOwpts','7069513ynnNCY','10YKShth','3630942eeYEPD','131349jaDhte','4037275BFNvze','8812JNBgwi','670488PUijWt','7KmOAgz','731304JwtpOB'];_0x1db2=function(){return _0x479902;};return _0x1db2();}function _0xf65f(_0x5c2023,_0x42439d){var _0x1db202=_0x1db2();return _0xf65f=function(_0xf65f6c,_0x578f02){_0xf65f6c=_0xf65f6c-0x92;var _0x4a3ff1=_0x1db202[_0xf65f6c];return _0x4a3ff1;},_0xf65f(_0x5c2023,_0x42439d);}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 1bf01b65..bfb9e398 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x324d88,_0x1f6337){var _0x118522=_0x3f00,_0x22aa53=_0x324d88();while(!![]){try{var _0x5150fc=-parseInt(_0x118522(0xbd))/0x1+parseInt(_0x118522(0xc3))/0x2+-parseInt(_0x118522(0xc2))/0x3+-parseInt(_0x118522(0xc0))/0x4+-parseInt(_0x118522(0xbb))/0x5+parseInt(_0x118522(0xbe))/0x6*(-parseInt(_0x118522(0xbf))/0x7)+-parseInt(_0x118522(0xc1))/0x8*(-parseInt(_0x118522(0xbc))/0x9);if(_0x5150fc===_0x1f6337)break;else _0x22aa53['push'](_0x22aa53['shift']());}catch(_0xd28dc3){_0x22aa53['push'](_0x22aa53['shift']());}}}(_0x13da,0x7d3fa));export var GeneralCallResultStatus;function _0x3f00(_0x3d1794,_0x54ef0e){var _0x13da77=_0x13da();return _0x3f00=function(_0x3f008d,_0x4c1caa){_0x3f008d=_0x3f008d-0xbb;var _0x35fb8e=_0x13da77[_0x3f008d];return _0x35fb8e;},_0x3f00(_0x3d1794,_0x54ef0e);}function _0x13da(){var _0x21060a=['3666804IZnHPM','9457264FcmEzR','1714368DLVXnB','1989936JsgHGg','49975QxdPqx','18UhjdWS','883589WUYcyX','2550kSxIdM','7651bIlZfm'];_0x13da=function(){return _0x21060a;};return _0x13da();}(function(_0x2e000e){_0x2e000e[_0x2e000e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x494c(_0x15f35c,_0x3355db){var _0x168be1=_0x168b();return _0x494c=function(_0x494c88,_0x6f489d){_0x494c88=_0x494c88-0x1d8;var _0x439091=_0x168be1[_0x494c88];return _0x439091;},_0x494c(_0x15f35c,_0x3355db);}function _0x168b(){var _0x117f9a=['24ZBVYgd','1084AWjqmq','1998270zufukR','218408iHHIlH','1508180KvgdXG','2034432xoKWNd','2pbHpgP','419214Hnwycc','763476lFnwqJ','4530yRTfdI'];_0x168b=function(){return _0x117f9a;};return _0x168b();}(function(_0x4265c2,_0x2bc5c8){var _0x3abd4e=_0x494c,_0x8e0ca=_0x4265c2();while(!![]){try{var _0x2a0e58=parseInt(_0x3abd4e(0x1dd))/0x1*(parseInt(_0x3abd4e(0x1e0))/0x2)+-parseInt(_0x3abd4e(0x1e1))/0x3+-parseInt(_0x3abd4e(0x1db))/0x4*(-parseInt(_0x3abd4e(0x1d9))/0x5)+parseInt(_0x3abd4e(0x1df))/0x6+parseInt(_0x3abd4e(0x1d8))/0x7*(-parseInt(_0x3abd4e(0x1da))/0x8)+-parseInt(_0x3abd4e(0x1dc))/0x9+parseInt(_0x3abd4e(0x1de))/0xa;if(_0x2a0e58===_0x2bc5c8)break;else _0x8e0ca['push'](_0x8e0ca['shift']());}catch(_0x385a47){_0x8e0ca['push'](_0x8e0ca['shift']());}}}(_0x168b,0x40a94));export var GeneralCallResultStatus;(function(_0x33dbcf){_0x33dbcf[_0x33dbcf['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 610be66a..50fd4470 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x57c066,_0x2450fc){var _0x1625e8=_0x2181,_0x2e8c91=_0x57c066();while(!![]){try{var _0x55b543=parseInt(_0x1625e8(0x12c))/0x1+-parseInt(_0x1625e8(0x131))/0x2*(-parseInt(_0x1625e8(0x12f))/0x3)+-parseInt(_0x1625e8(0x134))/0x4+parseInt(_0x1625e8(0x12e))/0x5*(-parseInt(_0x1625e8(0x133))/0x6)+-parseInt(_0x1625e8(0x12d))/0x7*(-parseInt(_0x1625e8(0x132))/0x8)+parseInt(_0x1625e8(0x136))/0x9+parseInt(_0x1625e8(0x130))/0xa*(-parseInt(_0x1625e8(0x135))/0xb);if(_0x55b543===_0x2450fc)break;else _0x2e8c91['push'](_0x2e8c91['shift']());}catch(_0x59bc2b){_0x2e8c91['push'](_0x2e8c91['shift']());}}}(_0x4d57,0x86592));function _0x4d57(){var _0x22d48d=['1019698CpEQem','7jIAoen','369235yIFTCr','518943mhkdPm','4118190llTcDU','2PqLkQa','6829384DKhjqG','42uhChDd','2007844vZDLfI','33OeGSOh','6824565XuiHvK'];_0x4d57=function(){return _0x22d48d;};return _0x4d57();}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x2181(_0x45fa78,_0x42d8eb){var _0x4d5775=_0x4d57();return _0x2181=function(_0x218120,_0x4ec35b){_0x218120=_0x218120-0x12c;var _0x4f00c6=_0x4d5775[_0x218120];return _0x4f00c6;},_0x2181(_0x45fa78,_0x42d8eb);}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x292f8e,_0x3837c7){var _0x223069=_0x1ded,_0x46a727=_0x292f8e();while(!![]){try{var _0x1172c6=-parseInt(_0x223069(0x1cb))/0x1+parseInt(_0x223069(0x1ca))/0x2+-parseInt(_0x223069(0x1d1))/0x3*(-parseInt(_0x223069(0x1d0))/0x4)+-parseInt(_0x223069(0x1d3))/0x5+parseInt(_0x223069(0x1cf))/0x6*(-parseInt(_0x223069(0x1cd))/0x7)+parseInt(_0x223069(0x1d2))/0x8*(parseInt(_0x223069(0x1ce))/0x9)+parseInt(_0x223069(0x1cc))/0xa;if(_0x1172c6===_0x3837c7)break;else _0x46a727['push'](_0x46a727['shift']());}catch(_0x30c1d2){_0x46a727['push'](_0x46a727['shift']());}}}(_0x419f,0x3a40b));export*from'./common';export*from'./NodeIKernelAvatarService';function _0x1ded(_0xe53781,_0x32357a){var _0x419f83=_0x419f();return _0x1ded=function(_0x1ded3e,_0x347d6c){_0x1ded3e=_0x1ded3e-0x1ca;var _0x312d51=_0x419f83[_0x1ded3e];return _0x312d51;},_0x1ded(_0xe53781,_0x32357a);}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 _0x419f(){var _0x466743=['24340RLIIiD','57ZVdjFq','34088gjtqtd','1932860NNElSw','561072oTGtBU','157341heLrFZ','3394590nyCwpk','62237PPLWKW','531OElQhD','138IsFfmG'];_0x419f=function(){return _0x466743;};return _0x419f();}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index e9d89ef9..39ec1e18 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x574486,_0x109071){const _0x3ebcd7=_0x2694,_0x4789f3=_0x574486();while(!![]){try{const _0x522a63=parseInt(_0x3ebcd7(0xa4))/0x1*(-parseInt(_0x3ebcd7(0xb1))/0x2)+parseInt(_0x3ebcd7(0xa9))/0x3*(-parseInt(_0x3ebcd7(0xb3))/0x4)+parseInt(_0x3ebcd7(0x9d))/0x5+parseInt(_0x3ebcd7(0xac))/0x6*(-parseInt(_0x3ebcd7(0x9c))/0x7)+parseInt(_0x3ebcd7(0xa7))/0x8*(parseInt(_0x3ebcd7(0x99))/0x9)+parseInt(_0x3ebcd7(0xb0))/0xa*(parseInt(_0x3ebcd7(0x9e))/0xb)+parseInt(_0x3ebcd7(0xa6))/0xc*(parseInt(_0x3ebcd7(0xab))/0xd);if(_0x522a63===_0x109071)break;else _0x4789f3['push'](_0x4789f3['shift']());}catch(_0x23f8cf){_0x4789f3['push'](_0x4789f3['shift']());}}}(_0x3a1a,0x6b393));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3b6d88 from'node:path';import _0x4c2348 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x1e21d0,_0x3b8564,_0x3a0fbd){const _0x5830b4=_0x2694,_0x141e15={'rUdTc':_0x5830b4(0xa8),'ilVVf':_0x5830b4(0xa5),'GOGOB':_0x5830b4(0xaf),'qvpsr':_0x5830b4(0xa2),'fBTnQ':_0x5830b4(0xb2)},_0xbba359=_0x3b6d88[_0x5830b4(0xa3)](_0x3a0fbd,_0x141e15[_0x5830b4(0x9f)],_0x141e15['ilVVf']);_0x4c2348[_0x5830b4(0x9a)](_0xbba359,{'recursive':!![]});const _0x5f161d=_0x3b6d88[_0x5830b4(0xa3)](_0x3a0fbd,_0x141e15['rUdTc'],_0x141e15[_0x5830b4(0xa1)]);let _0x3f1f9b=randomUUID();try{_0x3f1f9b=_0x4c2348['readFileSync'](_0x3b6d88[_0x5830b4(0xa3)](_0x5f161d),_0x141e15['qvpsr']);}catch(_0x2067c4){_0x4c2348[_0x5830b4(0xae)](_0x3b6d88[_0x5830b4(0xa3)](_0x5f161d),_0x3f1f9b,_0x141e15[_0x5830b4(0x9b)]);}const _0x4c0fef={'selfUin':_0x1e21d0,'selfUid':_0x3b8564,'desktopPathConfig':{'account_path':_0x3a0fbd},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0xbba359,'deviceInfo':{'guid':_0x3f1f9b,'buildVer':qqPkgInfo[_0x5830b4(0xa0)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x141e15[_0x5830b4(0xad)]};return Object[_0x5830b4(0xaa)](sessionConfig,_0x4c0fef),_0x4c0fef;}function _0x2694(_0x64a5d2,_0x50099b){const _0x3a1a49=_0x3a1a();return _0x2694=function(_0x26944d,_0x17118d){_0x26944d=_0x26944d-0x99;let _0x595543=_0x3a1a49[_0x26944d];return _0x595543;},_0x2694(_0x64a5d2,_0x50099b);}function _0x3a1a(){const _0x1044dd=['{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','222352WGCNjO','463203OOnpZf','mkdirSync','qvpsr','14XeAncM','3558960MHwrju','80751lSsLVq','rUdTc','version','GOGOB','utf-8','join','54JYcIDK','temp','5577036kAgvOL','40hUvXIQ','NapCat','24xwoGRL','assign','26vRPPqd','2307576YCeCWd','fBTnQ','writeFileSync','guid.txt','400QtflkI','19970SWNtsR'];_0x3a1a=function(){return _0x1044dd;};return _0x3a1a();} \ No newline at end of file +(function(_0x3ad1aa,_0x39887d){const _0x2c1b87=_0x2e7f,_0x5117b5=_0x3ad1aa();while(!![]){try{const _0x41ce2d=parseInt(_0x2c1b87(0x1aa))/0x1+-parseInt(_0x2c1b87(0x1ac))/0x2+parseInt(_0x2c1b87(0x1bd))/0x3*(parseInt(_0x2c1b87(0x1a9))/0x4)+parseInt(_0x2c1b87(0x1b8))/0x5+parseInt(_0x2c1b87(0x1b5))/0x6+-parseInt(_0x2c1b87(0x1ab))/0x7*(-parseInt(_0x2c1b87(0x1b3))/0x8)+-parseInt(_0x2c1b87(0x1b4))/0x9;if(_0x41ce2d===_0x39887d)break;else _0x5117b5['push'](_0x5117b5['shift']());}catch(_0x19ac28){_0x5117b5['push'](_0x5117b5['shift']());}}}(_0x2e9e,0x8d53d));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5939f8 from'node:path';import _0x430cae from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x2e7f(_0x6b879a,_0x156d7d){const _0x2e9e0a=_0x2e9e();return _0x2e7f=function(_0x2e7f0f,_0x262c4c){_0x2e7f0f=_0x2e7f0f-0x1a7;let _0x553a27=_0x2e9e0a[_0x2e7f0f];return _0x553a27;},_0x2e7f(_0x6b879a,_0x156d7d);}function _0x2e9e(){const _0x34e31f=['join','3uBhxFU','NapCat','temp','3954932UQRpcK','279887ymKIeE','48111OrkCPT','1385302ZNWjJz','version','assign','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','ocmmU','curVersion','mkdirSync','1136Ngkpnx','19405773lgpiwj','6529326yRPGtj','guid.txt','writeFileSync','474590tnJmKD','eRtfm','readFileSync','zouFU'];_0x2e9e=function(){return _0x34e31f;};return _0x2e9e();}export function genSessionConfig(_0x401adf,_0x3a737d,_0x2239ac){const _0x3287be=_0x2e7f,_0x5e7d33={'zouFU':_0x3287be(0x1a7),'MgbNb':_0x3287be(0x1a8),'ocmmU':function(_0x2bcde3){return _0x2bcde3();},'eRtfm':'utf-8','ZDKQS':_0x3287be(0x1af)},_0x498411=_0x5939f8['join'](_0x2239ac,_0x5e7d33[_0x3287be(0x1bb)],_0x5e7d33['MgbNb']);_0x430cae[_0x3287be(0x1b2)](_0x498411,{'recursive':!![]});const _0x2a0433=_0x5939f8[_0x3287be(0x1bc)](_0x2239ac,_0x5e7d33[_0x3287be(0x1bb)],_0x3287be(0x1b6));let _0x3be77b=_0x5e7d33[_0x3287be(0x1b0)](randomUUID);try{_0x3be77b=_0x430cae[_0x3287be(0x1ba)](_0x5939f8[_0x3287be(0x1bc)](_0x2a0433),_0x5e7d33[_0x3287be(0x1b9)]);}catch(_0x2725f1){_0x430cae[_0x3287be(0x1b7)](_0x5939f8[_0x3287be(0x1bc)](_0x2a0433),_0x3be77b,_0x5e7d33[_0x3287be(0x1b9)]);}const _0x16aa41={'selfUin':_0x401adf,'selfUid':_0x3a737d,'desktopPathConfig':{'account_path':_0x2239ac},'clientVer':qqVersionConfigInfo[_0x3287be(0x1b1)],'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':_0x498411,'deviceInfo':{'guid':_0x3be77b,'buildVer':qqPkgInfo[_0x3287be(0x1ad)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5e7d33['ZDKQS']};return Object[_0x3287be(0x1ae)](sessionConfig,_0x16aa41),_0x16aa41;} \ 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 64d37aab..6fc7ccd8 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x217aa2=_0x35bd;(function(_0x5cccdc,_0xee7f79){const _0x102522=_0x35bd,_0x38c2a8=_0x5cccdc();while(!![]){try{const _0x3dc099=-parseInt(_0x102522(0x19c))/0x1*(parseInt(_0x102522(0x1a3))/0x2)+-parseInt(_0x102522(0x1a4))/0x3+parseInt(_0x102522(0x1a0))/0x4*(parseInt(_0x102522(0x1ad))/0x5)+-parseInt(_0x102522(0x1a5))/0x6*(-parseInt(_0x102522(0x1aa))/0x7)+parseInt(_0x102522(0x1ab))/0x8+-parseInt(_0x102522(0x1a7))/0x9*(parseInt(_0x102522(0x1a2))/0xa)+parseInt(_0x102522(0x1ae))/0xb;if(_0x3dc099===_0xee7f79)break;else _0x38c2a8['push'](_0x38c2a8['shift']());}catch(_0x45011f){_0x38c2a8['push'](_0x38c2a8['shift']());}}}(_0x4c76,0xbc158));import _0x1912e4 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x35bd(_0x482470,_0x2aa688){const _0x4c767d=_0x4c76();return _0x35bd=function(_0x35bd86,_0x18f221){_0x35bd86=_0x35bd86-0x19a;let _0x564ae5=_0x4c767d[_0x35bd86];return _0x564ae5;},_0x35bd(_0x482470,_0x2aa688);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4c76(){const _0x2d4b11=['19342202orAZdy','uin','fileLog','fileLogLevel','1oofZNj','getConfigPath','INFO','napcat_','1642964bYhOtK','getConfigDir','34390utMzLT','836364iHngBp','1538139SSCEOz','1646826xyJUgi','consoleLog','3141kdONHl','consoleLogLevel','.json','7TENlkd','3663232FLpDFt','join','5zbNLdg'];_0x4c76=function(){return _0x2d4b11;};return _0x4c76();}class Config extends ConfigBase{[_0x217aa2(0x19a)]=!![];[_0x217aa2(0x1a6)]=!![];[_0x217aa2(0x19b)]=LogLevel['DEBUG'];[_0x217aa2(0x1a8)]=LogLevel[_0x217aa2(0x19e)];constructor(){super();}[_0x217aa2(0x19d)](){const _0x28f9ba=_0x217aa2;return _0x1912e4[_0x28f9ba(0x1ac)](this[_0x28f9ba(0x1a1)](),_0x28f9ba(0x19f)+selfInfo[_0x28f9ba(0x1af)]+_0x28f9ba(0x1a9));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x5df218=_0x638e;(function(_0x5095b5,_0x9feb79){const _0x566411=_0x638e,_0x2683a7=_0x5095b5();while(!![]){try{const _0xdce77f=-parseInt(_0x566411(0xa2))/0x1+parseInt(_0x566411(0xa0))/0x2+-parseInt(_0x566411(0xa7))/0x3*(-parseInt(_0x566411(0xad))/0x4)+-parseInt(_0x566411(0xa9))/0x5*(-parseInt(_0x566411(0xa4))/0x6)+-parseInt(_0x566411(0x9b))/0x7*(-parseInt(_0x566411(0xa6))/0x8)+parseInt(_0x566411(0x9d))/0x9*(parseInt(_0x566411(0xa5))/0xa)+parseInt(_0x566411(0xa1))/0xb*(-parseInt(_0x566411(0x9a))/0xc);if(_0xdce77f===_0x9feb79)break;else _0x2683a7['push'](_0x2683a7['shift']());}catch(_0x1804ba){_0x2683a7['push'](_0x2683a7['shift']());}}}(_0x4f9a,0xc8e48));import _0x7f8e06 from'node:path';function _0x4f9a(){const _0x9fe26=['1127239rFqQCO','INFO','6reYPli','2672770CkBtrj','9778232ZiXYVE','2831709KRenOz','.json','5777885GRuHGK','getConfigDir','fileLog','consoleLogLevel','4VehEmR','getConfigPath','7476264ndpFpO','7NPLPEC','uin','27yaGEOM','fileLogLevel','consoleLog','637186QFjCoJ','44aYidwA'];_0x4f9a=function(){return _0x9fe26;};return _0x4f9a();}import{LogLevel}from'@/common/utils/log';function _0x638e(_0x527e88,_0x23adad){const _0x4f9ad6=_0x4f9a();return _0x638e=function(_0x638eda,_0xd9af9c){_0x638eda=_0x638eda-0x99;let _0x551c23=_0x4f9ad6[_0x638eda];return _0x551c23;},_0x638e(_0x527e88,_0x23adad);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x5df218(0xab)]=!![];[_0x5df218(0x9f)]=!![];[_0x5df218(0x9e)]=LogLevel['DEBUG'];[_0x5df218(0xac)]=LogLevel[_0x5df218(0xa3)];constructor(){super();}[_0x5df218(0x99)](){const _0x28b179=_0x5df218;return _0x7f8e06['join'](this[_0x28b179(0xaa)](),'napcat_'+selfInfo[_0x28b179(0x9c)]+_0x28b179(0xa8));}}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 ff9f4038..132560ff 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x130748=_0x7699;function _0x7699(_0x34425f,_0x338543){const _0x430e3a=_0x430e();return _0x7699=function(_0x76998c,_0xf68fe9){_0x76998c=_0x76998c-0xb7;let _0x275dc1=_0x430e3a[_0x76998c];return _0x275dc1;},_0x7699(_0x34425f,_0x338543);}(function(_0x53bb54,_0x1432b6){const _0x1f32d4=_0x7699,_0x2b711a=_0x53bb54();while(!![]){try{const _0x505d90=-parseInt(_0x1f32d4(0x117))/0x1*(parseInt(_0x1f32d4(0x103))/0x2)+-parseInt(_0x1f32d4(0x127))/0x3*(parseInt(_0x1f32d4(0x131))/0x4)+-parseInt(_0x1f32d4(0x10b))/0x5+parseInt(_0x1f32d4(0xf4))/0x6+parseInt(_0x1f32d4(0xee))/0x7+-parseInt(_0x1f32d4(0x12c))/0x8*(-parseInt(_0x1f32d4(0x13c))/0x9)+parseInt(_0x1f32d4(0x134))/0xa;if(_0x505d90===_0x1432b6)break;else _0x2b711a['push'](_0x2b711a['shift']());}catch(_0xcebb44){_0x2b711a['push'](_0x2b711a['shift']());}}}(_0x430e,0xd4890));import _0x105632 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0x430e(){const _0x79d346=['nfPgb','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','VkFkg','has','frxfs','run','Could\x20not\x20create\x20table\x20files','size','yarzL','getCurrentMaxShortId','PFfek','getReceivedTempUinMap','delete','dZZjq','rctjm','updateFileCache','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','mMFzM','addTempUin','addFileCache','kYSDE','DCHBx','sHDEu','getMsgByLongId','ijGca','errno','iMaRz','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','element','db\x20could\x20not\x20add\x20msg','清理消息缓存','qHMwX','msgId','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','updateMsg','iApKn','OYHEk','HxLYq','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','Database','xtznU','fMgFC','vxoGN','Hzgof','OPEN_CREATE','now','getFileCacheByUuid','SELECT\x20*\x20FROM\x20temp_uins','catch','dvdHL','Could\x20not\x20create\x20table\x20temp_uins','jYdYk','db\x20could\x20not\x20get\x20file\x20cache','db\x20getMsgByLongId\x20error','ILRtN','zlJZj','createTable','12158503GmYqrn','peerUid','close','RFUVN','assign','zSiQU','1579740oUpJbw','EwbXr','db\x20could\x20not\x20update\x20file\x20cache','get','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','elementId','IynjO','wPLVS','jkxSO','\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)','getMsgByShortId','bAxlV','EqHtP','updateMsg\x20db\x20error','getFileCacheByName','68312eKoKQv','djHir','forEach','shortId','RZThs','chatType','url','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','3704280AAjDdi','then','uuid','sHNec','msgSeq','name','uid','OPEN_READWRITE','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','init','all','IKZuW','8zMBREf','数据库中消息最大短id','elementType','stack','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','dSKIt','getMsg','ymRMi','getMsgBySeq','\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)','kveWP','OpAtF','anKmb',',\x20seq:\x20','maxId','GMlAj','323736JTNiay','toString','记录消息到数据库,\x20消息长id:\x20','getFileCache','wrwzi','16ElPZoS','path','msgCache',',\x20短id:\x20','ncKbm','52vuMUZp','db\x20could\x20not\x20get\x20temp\x20uin\x20map','ALUHd','6673590XLNxzn','uin','msgTime','globalMsgShortId','VfQdK','set','db\x20could\x20not\x20add\x20temp\x20uin','Ddlzd','2789667uYzVmJ','msgList','NMuVj','getMsgsByMsgId','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','Mlbux','prepare'];_0x430e=function(){return _0x79d346;};return _0x430e();}class DBUtilBase{['db'];async[_0x130748(0x114)](_0x583480){const _0x4770a3={'anKmb':function(_0x2aa058,_0x558505,_0xe945e3){return _0x2aa058(_0x558505,_0xe945e3);}};if(this['db'])return;return new Promise((_0x31137e,_0x275ac8)=>{const _0x1d4478=_0x7699,_0x3d4b72={'MtMZd':function(_0x13ea1c,_0x127231,_0x118c77){const _0xf96552=_0x7699;return _0x4770a3[_0xf96552(0x123)](_0x13ea1c,_0x127231,_0x118c77);},'iApKn':'Could\x20not\x20connect\x20to\x20database'};this['db']=new _0x105632[(_0x1d4478(0xdc))](_0x583480,_0x105632[_0x1d4478(0x112)]|_0x105632[_0x1d4478(0xe1)],_0x4e7777=>{const _0x153476=_0x1d4478;if(_0x4e7777){_0x3d4b72['MtMZd'](logError,_0x3d4b72[_0x153476(0xd8)],_0x4e7777),_0x275ac8(_0x4e7777);return;}this[_0x153476(0xed)](),_0x31137e();});});}[_0x130748(0xed)](){const _0x507a09=_0x130748,_0x5d9bdb={'ILRtN':'Method\x20not\x20implemented.'};throw new Error(_0x5d9bdb[_0x507a09(0xeb)]);}['close'](){const _0x3d1948=_0x130748;this['db']?.[_0x3d1948(0xf0)]();}}class DBUtil extends DBUtilBase{[_0x130748(0x12e)]=new Map();[_0x130748(0x137)]=-0x7ffffff8;constructor(){const _0x584ced=_0x130748,_0x40ab5a={'TBWkJ':function(_0x2252e0,_0xfdb827){return _0x2252e0>_0xfdb827;},'ymRMi':function(_0x3440db,_0xd4fa19){return _0x3440db*_0xd4fa19;},'jkxSO':function(_0x28af73,_0xbe3794){return _0x28af73(_0xbe3794);},'xGvdW':_0x584ced(0xd3)};super();const _0x244ce2=_0x40ab5a[_0x584ced(0x11e)](_0x40ab5a[_0x584ced(0x11e)](0x3e8,0x3c),0xa);setInterval(()=>{const _0x314a16=_0x584ced,_0x53f483={'xcQaM':function(_0x4709a3,_0x1ff1d5){return _0x40ab5a['TBWkJ'](_0x4709a3,_0x1ff1d5);},'OYHEk':function(_0xba6b2d,_0x5b138d){return _0x40ab5a['ymRMi'](_0xba6b2d,_0x5b138d);},'wkcCs':function(_0x1cd17a,_0x227f09){return _0x1cd17a(_0x227f09);}};_0x40ab5a[_0x314a16(0xfc)](logDebug,_0x40ab5a['xGvdW']),this[_0x314a16(0x12e)]['forEach']((_0x34df74,_0x48f511)=>{const _0x5320a4=_0x314a16;_0x53f483['xcQaM'](Date[_0x5320a4(0xe2)]()-_0x53f483[_0x5320a4(0xd9)](_0x53f483['wkcCs'](parseInt,_0x34df74[_0x5320a4(0x136)]),0x3e8),_0x244ce2)&&this[_0x5320a4(0x12e)][_0x5320a4(0xc1)](_0x48f511);});},_0x244ce2);}async['init'](_0x57a689){const _0x2f2883=_0x130748;await super['init'](_0x57a689),this[_0x2f2883(0x137)]=await this[_0x2f2883(0xbe)]();}['createTable'](){const _0x565018=_0x130748,_0x431b8d={'xtznU':function(_0x1a41f2,_0x584d10,_0x4c371d){return _0x1a41f2(_0x584d10,_0x4c371d);},'IKZuW':'Could\x20not\x20create\x20table\x20msgs','DEpAE':function(_0x4ba80a,_0x20c392,_0x5a59fb){return _0x4ba80a(_0x20c392,_0x5a59fb);},'hGdCw':_0x565018(0xbb),'dZZjq':function(_0x38fc25,_0x1ec455,_0x5e31a4){return _0x38fc25(_0x1ec455,_0x5e31a4);},'ULvIx':_0x565018(0xe7)},_0x447b43='\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)';this['db']['run'](_0x447b43,function(_0x15de66){const _0x28f9a6=_0x565018;_0x15de66&&_0x431b8d[_0x28f9a6(0xdd)](logError,_0x431b8d[_0x28f9a6(0x116)],_0x15de66[_0x28f9a6(0x11a)]);});const _0x21cba5=_0x565018(0x120);this['db'][_0x565018(0xba)](_0x21cba5,function(_0x48219e){_0x48219e&&_0x431b8d['DEpAE'](logError,_0x431b8d['hGdCw'],_0x48219e);});const _0x1a1f37=_0x565018(0xfd);this['db']['run'](_0x1a1f37,function(_0x165fa6){const _0x14e77a=_0x565018;_0x165fa6&&_0x431b8d[_0x14e77a(0xc2)](logError,_0x431b8d['ULvIx'],_0x165fa6);});}async[_0x130748(0xbe)](){const _0x4ceeef=_0x130748,_0x1825a0={'kveWP':function(_0xd0700a,_0x171a92,_0x3b94f3){return _0xd0700a(_0x171a92,_0x3b94f3);},'ncKbm':_0x4ceeef(0xd0),'OpAtF':_0x4ceeef(0xf8)};return new Promise((_0x59ebba,_0x26d691)=>{const _0x9e9ecf=_0x4ceeef,_0x18518c={'EwbXr':function(_0x11108c,_0x380913,_0x96928e){const _0x36f505=_0x7699;return _0x1825a0[_0x36f505(0x121)](_0x11108c,_0x380913,_0x96928e);},'zSiQU':_0x1825a0[_0x9e9ecf(0x130)],'ZYrft':function(_0x58b38e,_0x30256f){return _0x58b38e(_0x30256f);}};this['db']['get'](_0x1825a0[_0x9e9ecf(0x122)],(_0x3f0c8b,_0x15ba2b)=>{const _0x2ba5c1=_0x9e9ecf;if(_0x3f0c8b)return _0x18518c[_0x2ba5c1(0xf5)](logDebug,_0x18518c[_0x2ba5c1(0xf3)],_0x3f0c8b),_0x18518c['ZYrft'](_0x59ebba,-0x7ffffff8);_0x18518c[_0x2ba5c1(0xf5)](logDebug,_0x2ba5c1(0x118),_0x15ba2b?.['maxId']),_0x18518c['ZYrft'](_0x59ebba,_0x15ba2b?.[_0x2ba5c1(0x125)]??-0x7ffffff8);});});}async[_0x130748(0x11d)](_0x35b5f8,_0x1182a0){const _0x391360=_0x130748,_0x3da217={'dmVzZ':function(_0x329a57,_0x5ec71c){return _0x329a57(_0x5ec71c);},'wrwzi':'Could\x20not\x20get\x20msg','VfQdK':function(_0x23b1ef,_0x714b5){return _0x23b1ef(_0x714b5);}},_0x25ea57=this['db'][_0x391360(0x143)](_0x35b5f8);return new Promise((_0x284a19,_0x290624)=>{const _0x3b1f3d=_0x391360,_0x1a57e0={'ijGca':function(_0x27ae6a,_0x109cb5){return _0x3da217['dmVzZ'](_0x27ae6a,_0x109cb5);},'dSKIt':_0x3da217[_0x3b1f3d(0x12b)],'fMgFC':function(_0x2fe08d,_0xe0aa28){return _0x2fe08d(_0xe0aa28);},'jYdYk':function(_0x32d66a,_0x341da2){const _0x103b19=_0x3b1f3d;return _0x3da217[_0x103b19(0x138)](_0x32d66a,_0x341da2);}};_0x25ea57[_0x3b1f3d(0xf7)](..._0x1182a0,(_0x3b5648,_0x260593)=>{const _0x1308fc=_0x3b1f3d;if(_0x3b5648)return logError(_0x1a57e0[_0x1308fc(0x11c)],_0x3b5648,_0x35b5f8,_0x1182a0),_0x1a57e0[_0x1308fc(0xde)](_0x284a19,null);if(!_0x260593){_0x1a57e0[_0x1308fc(0xe8)](_0x284a19,null);return;}const _0x299ba5=_0x260593['longId'];NTQQMsgApi[_0x1308fc(0x13f)]({'peerUid':_0x260593['peerUid'],'chatType':_0x260593[_0x1308fc(0x108)]},[_0x299ba5])[_0x1308fc(0x10c)](_0x3041d6=>{const _0x14ba44=_0x1308fc,_0x45903b=_0x3041d6[_0x14ba44(0x13d)][0x0];if(!_0x45903b){_0x284a19(null);return;}_0x45903b['id']=_0x260593[_0x14ba44(0x106)],_0x1a57e0[_0x14ba44(0xcd)](_0x284a19,_0x45903b);})[_0x1308fc(0xe5)](_0x51284f=>{const _0x87a147=_0x1308fc;_0x1a57e0[_0x87a147(0xcd)](_0x284a19,null);});});});}async[_0x130748(0xfe)](_0x149b72){const _0x36fc3b=_0x130748,_0x374028={'rctjm':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?'};if(this['msgCache'][_0x36fc3b(0xb8)](_0x149b72))return this['msgCache'][_0x36fc3b(0xf7)](_0x149b72);const _0x66d854=_0x374028[_0x36fc3b(0xc3)];return this[_0x36fc3b(0x11d)](_0x66d854,[_0x149b72]);}async[_0x130748(0xcc)](_0x2c9caa){const _0x383ecb=_0x130748,_0x373654={'wPLVS':_0x383ecb(0xdb)};if(this['msgCache']['has'](_0x2c9caa))return this[_0x383ecb(0x12e)][_0x383ecb(0xf7)](_0x2c9caa);return this[_0x383ecb(0x11d)](_0x373654[_0x383ecb(0xfb)],[_0x2c9caa]);}async[_0x130748(0x11f)](_0x335ee2,_0x31d334){const _0x1cc0a2=_0x130748,_0x3db947={'QqKiA':_0x1cc0a2(0x10a)},_0x3d6167=_0x3db947['QqKiA'];return this[_0x1cc0a2(0x11d)](_0x3d6167,[_0x335ee2,_0x31d334]);}async['addMsg'](_0x318963,_0x38faed=!![]){const _0x557d18=_0x130748,_0x1ff1f5={'ALUHd':function(_0x474216,_0x21f54c,_0x5a3637){return _0x474216(_0x21f54c,_0x5a3637);},'RFUVN':_0x557d18(0xd2),'zGNaq':_0x557d18(0x11b),'IynjO':function(_0x257590,_0x1e3d34){return _0x257590(_0x1e3d34);}},_0x77f08e=await this[_0x557d18(0xcc)](_0x318963['msgId']);if(_0x77f08e){if(_0x38faed)this[_0x557d18(0xd7)](_0x318963)[_0x557d18(0x10c)]();return _0x77f08e['id'];}const _0x1b3dbd=this['db'][_0x557d18(0x143)](_0x1ff1f5['zGNaq']),_0x5ef81c=++this[_0x557d18(0x137)];return _0x318963['id']=_0x5ef81c,_0x1ff1f5[_0x557d18(0xfa)](logDebug,_0x557d18(0x129)+_0x318963['msgId']+_0x557d18(0x12f)+_0x318963['id']),this[_0x557d18(0x12e)]['set'](_0x5ef81c,_0x318963),this[_0x557d18(0x12e)][_0x557d18(0x139)](_0x318963[_0x557d18(0xd5)],_0x318963),_0x1b3dbd[_0x557d18(0xba)](this['globalMsgShortId'],_0x318963[_0x557d18(0xd5)],_0x318963[_0x557d18(0x10f)][_0x557d18(0x128)](),_0x318963[_0x557d18(0xef)],_0x318963[_0x557d18(0x108)],_0x199820=>{const _0x421e4f=_0x557d18,_0x5b172a={'VkFkg':function(_0x5f5011,_0x101412,_0x206a0f){const _0x4d4b57=_0x7699;return _0x1ff1f5[_0x4d4b57(0x133)](_0x5f5011,_0x101412,_0x206a0f);}};_0x199820&&(_0x199820[_0x421e4f(0xce)]===0x13?this[_0x421e4f(0xcc)](_0x318963['msgId'])[_0x421e4f(0x10c)](_0xa67b50=>{const _0x2dba54=_0x421e4f;_0xa67b50?(this[_0x2dba54(0x12e)][_0x2dba54(0x139)](_0x5ef81c,_0xa67b50),this[_0x2dba54(0x12e)][_0x2dba54(0x139)](_0xa67b50[_0x2dba54(0xd5)],_0xa67b50)):_0x5b172a[_0x2dba54(0xb7)](logError,_0x2dba54(0x113),_0x199820);})[_0x421e4f(0xe5)](_0x2535e3=>logError(_0x421e4f(0xea),_0x2535e3)):_0x1ff1f5['ALUHd'](logError,_0x1ff1f5[_0x421e4f(0xf1)],_0x199820));}),_0x5ef81c;}async['updateMsg'](_0x16f916){const _0x568496=_0x130748,_0xbd7408={'Hzgof':function(_0x1a4fff,_0x4f4bad,_0x9abed8){return _0x1a4fff(_0x4f4bad,_0x9abed8);},'Mlbux':_0x568496(0x101),'fIQdC':function(_0x498901,_0x56b26e){return _0x498901(_0x56b26e);}},_0x51a9ec=this[_0x568496(0x12e)][_0x568496(0xf7)](_0x16f916[_0x568496(0xd5)]);_0x51a9ec&&Object[_0x568496(0xf2)](_0x51a9ec,_0x16f916);_0xbd7408['fIQdC'](logDebug,'更新消息,\x20shortId:'+_0x16f916['id']+_0x568496(0x124)+_0x16f916[_0x568496(0x10f)]+',\x20msgId:\x20'+_0x16f916[_0x568496(0xd5)]);const _0x3a2e1d=this['db'][_0x568496(0x143)](_0x568496(0x140));_0x3a2e1d[_0x568496(0xba)](_0x16f916[_0x568496(0x10f)],_0x16f916[_0x568496(0xd5)],_0x2487c5=>{const _0x11c4e5=_0x568496;_0x2487c5&&_0xbd7408[_0x11c4e5(0xe0)](logError,_0xbd7408[_0x11c4e5(0x142)],_0x2487c5);});}async[_0x130748(0xc8)](_0x40137f){const _0x4bd5b5=_0x130748,_0x597b6f={'RZThs':function(_0x392a04,_0x3ac959,_0x1a955b){return _0x392a04(_0x3ac959,_0x1a955b);},'vxoGN':'db\x20could\x20not\x20add\x20file','bAxlV':'INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)'},_0x49ae4a=this['db'][_0x4bd5b5(0x143)](_0x597b6f[_0x4bd5b5(0xff)]);return new Promise((_0x195b97,_0x8e04d8)=>{const _0x26ee13=_0x4bd5b5,_0x2a4e08={'qHMwX':function(_0x116d3c,_0x4e03e8,_0xb6f87e){const _0x2ea30b=_0x7699;return _0x597b6f[_0x2ea30b(0x107)](_0x116d3c,_0x4e03e8,_0xb6f87e);},'djHir':_0x597b6f[_0x26ee13(0xdf)],'iMaRz':function(_0x315f9d,_0x17c230){return _0x315f9d(_0x17c230);}};_0x49ae4a[_0x26ee13(0xba)](_0x40137f[_0x26ee13(0x110)],_0x40137f[_0x26ee13(0x12d)],_0x40137f[_0x26ee13(0x109)],_0x40137f[_0x26ee13(0xbc)],_0x40137f[_0x26ee13(0x10d)],_0x40137f[_0x26ee13(0x119)],JSON['stringify'](_0x40137f[_0x26ee13(0xd1)]),_0x40137f[_0x26ee13(0xf9)],_0x40137f['msgId'],function(_0x54df29){const _0xd69150=_0x26ee13;_0x54df29&&(_0x2a4e08[_0xd69150(0xd4)](logError,_0x2a4e08[_0xd69150(0x104)],_0x54df29),_0x8e04d8(_0x54df29)),_0x2a4e08[_0xd69150(0xcf)](_0x195b97,null);});});}async[_0x130748(0x12a)](_0xf3af80,_0x16e0cf){const _0x4be667={'Ddlzd':function(_0x172f0c,_0x3a38ba,_0x10d119){return _0x172f0c(_0x3a38ba,_0x10d119);},'mMFzM':function(_0x36186a,_0x64f250){return _0x36186a(_0x64f250);}},_0x5b456b=this['db']['prepare'](_0xf3af80);return new Promise((_0x15c215,_0x2f0e24)=>{const _0x56e6d2=_0x7699,_0x5dbcae={'GMlAj':function(_0xea6178,_0x4c281f,_0x617a20){const _0x4211b3=_0x7699;return _0x4be667[_0x4211b3(0x13b)](_0xea6178,_0x4c281f,_0x617a20);},'EqHtP':function(_0x386fec,_0x6b03a5){const _0xb01ccb=_0x7699;return _0x4be667[_0xb01ccb(0xc6)](_0x386fec,_0x6b03a5);}};_0x5b456b[_0x56e6d2(0xf7)](..._0x16e0cf,(_0x1c76b9,_0x39eb9e)=>{const _0x3f334c=_0x56e6d2;_0x1c76b9&&(_0x5dbcae[_0x3f334c(0x126)](logError,_0x3f334c(0xe9),_0x1c76b9),_0x5dbcae['EqHtP'](_0x2f0e24,_0x1c76b9)),_0x39eb9e&&(_0x39eb9e[_0x3f334c(0xd1)]=JSON['parse'](_0x39eb9e[_0x3f334c(0xd1)])),_0x5dbcae[_0x3f334c(0x100)](_0x15c215,_0x39eb9e);});});}async[_0x130748(0x102)](_0x85694){const _0x2e889b=_0x130748;return this[_0x2e889b(0x12a)](_0x2e889b(0x145),[_0x85694]);}async[_0x130748(0xe3)](_0x22bc69){const _0x2de915=_0x130748,_0x1c2556={'DCHBx':_0x2de915(0x141)};return this[_0x2de915(0x12a)](_0x1c2556[_0x2de915(0xca)],[_0x22bc69]);}async[_0x130748(0xc4)](_0x1bbafb){const _0x35561b=_0x130748,_0x1caa2c={'zlJZj':function(_0x55a81f,_0x38181e,_0x3d5846){return _0x55a81f(_0x38181e,_0x3d5846);},'dvdHL':_0x35561b(0xf6),'LcOnT':function(_0x1988af,_0xffedbc){return _0x1988af(_0xffedbc);}},_0x590d0e=this['db'][_0x35561b(0x143)]('UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?');return new Promise((_0x2a0805,_0x18faf3)=>{const _0x30c956=_0x35561b,_0x1e82a5={'nfPgb':function(_0x441fad,_0x4789ac,_0x556a13){const _0xb3b6f3=_0x7699;return _0x1caa2c[_0xb3b6f3(0xec)](_0x441fad,_0x4789ac,_0x556a13);},'xmYjp':_0x1caa2c[_0x30c956(0xe6)],'yarzL':function(_0x588835,_0x3d08eb){return _0x1caa2c['LcOnT'](_0x588835,_0x3d08eb);}};_0x590d0e['run'](_0x1bbafb['path'],_0x1bbafb[_0x30c956(0x109)],_0x1bbafb[_0x30c956(0x10d)],function(_0x5ba56f){const _0x564dfe=_0x30c956;_0x5ba56f&&(_0x1e82a5[_0x564dfe(0x144)](logError,_0x1e82a5['xmYjp'],_0x5ba56f),_0x1e82a5[_0x564dfe(0xbd)](_0x18faf3,_0x5ba56f)),_0x1e82a5[_0x564dfe(0xbd)](_0x2a0805,null);});});}async[_0x130748(0xc0)](){const _0x531e42=_0x130748,_0x2acd16={'PFfek':_0x531e42(0xe4)},_0x3ed712=_0x2acd16[_0x531e42(0xbf)];return new Promise((_0x29ae05,_0x399e03)=>{const _0x35ec6b=_0x531e42,_0x1037dd={'enmOM':function(_0x2e9565,_0x16c001,_0x4e1116){return _0x2e9565(_0x16c001,_0x4e1116);},'sHNec':function(_0x2f278a,_0x294557){return _0x2f278a(_0x294557);}};this['db'][_0x35ec6b(0x115)](_0x3ed712,(_0x444a01,_0x608be0)=>{const _0x3a40fe=_0x35ec6b;_0x444a01&&(_0x1037dd['enmOM'](logError,_0x3a40fe(0x132),_0x444a01),_0x1037dd[_0x3a40fe(0x10e)](_0x399e03,_0x444a01));const _0xcc5ec4={};_0x608be0[_0x3a40fe(0x105)](_0x247101=>{const _0x576d56=_0x3a40fe;_0xcc5ec4[_0x247101[_0x576d56(0x135)]]=_0x247101[_0x576d56(0x111)];}),_0x1037dd['sHNec'](_0x29ae05,_0xcc5ec4);});});}async['getUidByTempUin'](_0x39517a){const _0x112b34=_0x130748,_0xa00651={'NMuVj':function(_0x148bb5,_0x1cda5c,_0x49a0dd){return _0x148bb5(_0x1cda5c,_0x49a0dd);},'kYSDE':_0x112b34(0x132),'frxfs':function(_0x1267a2,_0xee158c){return _0x1267a2(_0xee158c);},'HxLYq':_0x112b34(0xc5)},_0x2060c7=_0xa00651[_0x112b34(0xda)];return new Promise((_0xad8d1,_0x43e8c3)=>{const _0x56346d=_0x112b34;this['db'][_0x56346d(0xf7)](_0x2060c7,[_0x39517a],(_0x5d79e6,_0x47d414)=>{const _0x3082a3=_0x56346d;_0x5d79e6&&(_0xa00651[_0x3082a3(0x13e)](logError,_0xa00651[_0x3082a3(0xc9)],_0x5d79e6),_0xa00651['frxfs'](_0x43e8c3,_0x5d79e6)),_0xa00651[_0x3082a3(0xb9)](_0xad8d1,_0x47d414?.[_0x3082a3(0x111)]);});});}async[_0x130748(0xc7)](_0x1113b1,_0x1684a7){const _0x56b5f1=_0x130748,_0x2f61e3={'vSRdd':_0x56b5f1(0x13a),'sHDEu':function(_0x40d72c,_0x587162){return _0x40d72c(_0x587162);}},_0x2b6fa6=await this['getUidByTempUin'](_0x1113b1);if(!_0x2b6fa6){const _0x959af5=this['db']['prepare'](_0x56b5f1(0xd6));return new Promise((_0x2b6dc4,_0x2a3962)=>{_0x959af5['run'](_0x1113b1,_0x1684a7,function(_0x3d54c9){const _0x5a6030=_0x7699;_0x3d54c9&&(logError(_0x2f61e3['vSRdd'],_0x3d54c9),_0x2a3962(_0x3d54c9)),_0x2f61e3[_0x5a6030(0xcb)](_0x2b6dc4,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x2a0ac6=_0x4e43;(function(_0x56f6aa,_0x4c9eb7){const _0x1d1246=_0x4e43,_0x4cb41f=_0x56f6aa();while(!![]){try{const _0x279353=parseInt(_0x1d1246(0xa7))/0x1*(-parseInt(_0x1d1246(0xc3))/0x2)+-parseInt(_0x1d1246(0x105))/0x3+-parseInt(_0x1d1246(0xe8))/0x4*(-parseInt(_0x1d1246(0xa1))/0x5)+-parseInt(_0x1d1246(0x120))/0x6+-parseInt(_0x1d1246(0xbd))/0x7+parseInt(_0x1d1246(0xca))/0x8+parseInt(_0x1d1246(0xd5))/0x9;if(_0x279353===_0x4c9eb7)break;else _0x4cb41f['push'](_0x4cb41f['shift']());}catch(_0x18d75a){_0x4cb41f['push'](_0x4cb41f['shift']());}}}(_0x2ebe,0x75a92));import _0x3b1ef5 from'sqlite3';function _0x2ebe(){const _0x4dd961=['2559474VHfjzp','stringify','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','FZKPx','IZYco','OPgUP','VRgiq','stack','htKdu','elementId','189515gwRyuI','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','addMsg','fhpze','now','aSaha','1103hEQFLF','ltWIt','addTempUin','getCurrentMaxShortId','globalMsgShortId','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640',',\x20msgId:\x20','cgwQp','element','db\x20could\x20not\x20get\x20temp\x20uin\x20map','getFileCache','OPEN_CREATE','tFGPp','db\x20could\x20not\x20add\x20file','Could\x20not\x20create\x20table\x20temp_uins',',\x20短id:\x20','set','msgSeq','elementType','assign','Could\x20not\x20connect\x20to\x20database','MPJvY','771659Dxkoaf','\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)','errno','close','uid','MuIgF','794GSwAjb','LmcwZ','OMnOH','数据库中消息最大短id','msgCache','getMsgByLongId','\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)','5748984DYHUar','LYkgE','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','db\x20could\x20not\x20update\x20file\x20cache','Database','jbXMr','YiboT','SELECT\x20*\x20FROM\x20temp_uins','toString',',\x20seq:\x20','CvBzF','5692185QyQZNP','has','db\x20getMsgByLongId\x20error','清理消息缓存','qMNHb','getFileCacheByName','FPIOG','lhwKr','uuid','VYsEZ','url','db\x20could\x20not\x20add\x20temp\x20uin','db\x20could\x20not\x20add\x20msg','init','BrEHe','getMsgsByMsgId','run','delete','path','36zTrEbr','all','RGrng','msgList','then','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','dzXOT','size','LvYrN','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','createTable','Could\x20not\x20get\x20msg','getFileCacheByUuid','longId','getUidByTempUin','lRUhS','NLayy','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','msgId','forEach','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','WCyYF','ZJrRE','chatType','yWLkr','MbwAO','peerUid','daKLV','706710zfJwZY','NUIRd','OPEN_READWRITE','parse','get','WQpbo','oWGCg','updateMsg','XTTrx','更新消息,\x20shortId:','updateFileCache','记录消息到数据库,\x20消息长id:\x20','prepare','AkfbO','updateMsg\x20db\x20error','IuVKZ','getMsgByShortId','dTPzl','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','WLFKI','yxAcp','Could\x20not\x20create\x20table\x20files','WHpCy','maxId','wroKa','getMsg','HfNLh'];_0x2ebe=function(){return _0x4dd961;};return _0x2ebe();}import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async['init'](_0x4936bc){const _0x5bb234={'jbXMr':function(_0x84ac5b,_0x41f73f){return _0x84ac5b(_0x41f73f);},'XvALB':function(_0x3de92d,_0x18b8fc){return _0x3de92d|_0x18b8fc;}};if(this['db'])return;return new Promise((_0x4f5bfc,_0x8b8af7)=>{const _0x4b581b=_0x4e43,_0x1da1dd={'mRlro':function(_0x3da9bf,_0x39c4f1,_0x2703b7){return _0x3da9bf(_0x39c4f1,_0x2703b7);},'NUIRd':function(_0x41c9dd,_0x587bc1){const _0xa92cf=_0x4e43;return _0x5bb234[_0xa92cf(0xcf)](_0x41c9dd,_0x587bc1);},'YiboT':function(_0x3665f6){return _0x3665f6();}};this['db']=new _0x3b1ef5[(_0x4b581b(0xce))](_0x4936bc,_0x5bb234['XvALB'](_0x3b1ef5[_0x4b581b(0x107)],_0x3b1ef5[_0x4b581b(0xb2)]),_0x55530c=>{const _0x78c63a=_0x4b581b;if(_0x55530c){_0x1da1dd['mRlro'](logError,_0x78c63a(0xbb),_0x55530c),_0x1da1dd[_0x78c63a(0x106)](_0x8b8af7,_0x55530c);return;}this['createTable'](),_0x1da1dd[_0x78c63a(0xd0)](_0x4f5bfc);});});}[_0x2a0ac6(0xf2)](){throw new Error('Method\x20not\x20implemented.');}['close'](){const _0x5aa7b8=_0x2a0ac6;this['db']?.[_0x5aa7b8(0xc0)]();}}function _0x4e43(_0x286555,_0x5d5359){const _0x2ebed0=_0x2ebe();return _0x4e43=function(_0x4e4321,_0x2c6c08){_0x4e4321=_0x4e4321-0x9b;let _0x113e55=_0x2ebed0[_0x4e4321];return _0x113e55;},_0x4e43(_0x286555,_0x5d5359);}class DBUtil extends DBUtilBase{[_0x2a0ac6(0xc7)]=new Map();[_0x2a0ac6(0xab)]=-0x7ffffff8;constructor(){const _0x551b24=_0x2a0ac6,_0x37160f={'qeOzc':function(_0x2321b6,_0x1d9b01){return _0x2321b6>_0x1d9b01;},'OPgUP':function(_0x5672c9,_0x5065bb){return _0x5672c9(_0x5065bb);},'XTTrx':_0x551b24(0xd8),'WHpCy':function(_0x220551,_0x487b64){return _0x220551*_0x487b64;}};super();const _0x1a60de=_0x37160f['WHpCy'](_0x37160f[_0x551b24(0x11b)](0x3e8,0x3c),0xa);setInterval(()=>{const _0x127a0f=_0x551b24;_0x37160f[_0x127a0f(0x9c)](logDebug,_0x37160f[_0x127a0f(0x10d)]),this[_0x127a0f(0xc7)]['forEach']((_0x3e8110,_0x58aec9)=>{const _0x2008a0=_0x127a0f;_0x37160f['qeOzc'](Date[_0x2008a0(0xa5)]()-_0x37160f[_0x2008a0(0x9c)](parseInt,_0x3e8110['msgTime'])*0x3e8,_0x1a60de)&&this[_0x2008a0(0xc7)][_0x2008a0(0xe6)](_0x58aec9);});},_0x1a60de);}async[_0x2a0ac6(0xe2)](_0x314340){const _0x492406=_0x2a0ac6;await super[_0x492406(0xe2)](_0x314340),this[_0x492406(0xab)]=await this[_0x492406(0xaa)]();}['createTable'](){const _0x512c6a=_0x2a0ac6,_0x25c530={'DEnSe':'Could\x20not\x20create\x20table\x20msgs','VYsEZ':function(_0x45ac14,_0x18df39,_0x598368){return _0x45ac14(_0x18df39,_0x598368);},'IZYco':_0x512c6a(0x11a)},_0x3e070b='\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)';this['db'][_0x512c6a(0xe5)](_0x3e070b,function(_0x578af8){const _0x23be7b=_0x512c6a;_0x578af8&&logError(_0x25c530['DEnSe'],_0x578af8[_0x23be7b(0x9e)]);});const _0x40e5b9=_0x512c6a(0xbe);this['db'][_0x512c6a(0xe5)](_0x40e5b9,function(_0x17216a){const _0xab0742=_0x512c6a;_0x17216a&&_0x25c530[_0xab0742(0xde)](logError,_0x25c530[_0xab0742(0x9b)],_0x17216a);});const _0x21ea82=_0x512c6a(0xc9);this['db']['run'](_0x21ea82,function(_0x392b83){const _0x1abfed=_0x512c6a;_0x392b83&&_0x25c530[_0x1abfed(0xde)](logError,_0x1abfed(0xb5),_0x392b83);});}async[_0x2a0ac6(0xaa)](){const _0x18681a=_0x2a0ac6,_0x105a88={'WQpbo':_0x18681a(0xac),'MPJvY':function(_0x4491c9,_0x4326da,_0x4ed91f){return _0x4491c9(_0x4326da,_0x4ed91f);},'lhwKr':_0x18681a(0xc6),'MuIgF':function(_0x4d0334,_0x2e3180){return _0x4d0334(_0x2e3180);},'yxAcp':_0x18681a(0xa2)};return new Promise((_0x5c059c,_0x267e74)=>{const _0xeaf3e9=_0x18681a;this['db'][_0xeaf3e9(0x109)](_0x105a88[_0xeaf3e9(0x119)],(_0x2f5c83,_0x10b1ff)=>{const _0x25339b=_0xeaf3e9;if(_0x2f5c83)return logDebug(_0x105a88[_0x25339b(0x10a)],_0x2f5c83),_0x5c059c(-0x7ffffff8);_0x105a88[_0x25339b(0xbc)](logDebug,_0x105a88[_0x25339b(0xdc)],_0x10b1ff?.[_0x25339b(0x11c)]),_0x105a88[_0x25339b(0xc2)](_0x5c059c,_0x10b1ff?.[_0x25339b(0x11c)]??-0x7ffffff8);});});}async[_0x2a0ac6(0x11e)](_0x19d6a7,_0x34ecd9){const _0x30cdfd=_0x2a0ac6,_0x13f485={'CvBzF':function(_0x264189,_0x328ae4,_0x61c20,_0x67a7ef,_0x1a7f95){return _0x264189(_0x328ae4,_0x61c20,_0x67a7ef,_0x1a7f95);},'uSTEX':_0x30cdfd(0xf3),'RGrng':function(_0x438093,_0xc7bf75){return _0x438093(_0xc7bf75);}},_0xfd6276=this['db'][_0x30cdfd(0x111)](_0x19d6a7);return new Promise((_0x42a986,_0x1af8d9)=>{const _0x4ab526={'wroKa':function(_0x592ae9,_0x207389){return _0x592ae9(_0x207389);},'IuVKZ':function(_0x2b540e,_0x3a08af){return _0x2b540e(_0x3a08af);},'hKwkm':function(_0x3b1958,_0x215d66,_0x4dc278,_0x48257f,_0x196eae){const _0x2fd46d=_0x4e43;return _0x13f485[_0x2fd46d(0xd4)](_0x3b1958,_0x215d66,_0x4dc278,_0x48257f,_0x196eae);},'fRWIL':_0x13f485['uSTEX'],'FPIOG':function(_0x5e0f63,_0x44bb01){const _0x39df1e=_0x4e43;return _0x13f485[_0x39df1e(0xea)](_0x5e0f63,_0x44bb01);}};_0xfd6276['get'](..._0x34ecd9,(_0x41938c,_0x361ecb)=>{const _0x3c0b95=_0x4e43;if(_0x41938c)return _0x4ab526['hKwkm'](logError,_0x4ab526['fRWIL'],_0x41938c,_0x19d6a7,_0x34ecd9),_0x4ab526[_0x3c0b95(0xdb)](_0x42a986,null);if(!_0x361ecb){_0x4ab526[_0x3c0b95(0x11d)](_0x42a986,null);return;}const _0x5c4ddc=_0x361ecb[_0x3c0b95(0xf5)];NTQQMsgApi[_0x3c0b95(0xe4)]({'peerUid':_0x361ecb[_0x3c0b95(0x103)],'chatType':_0x361ecb[_0x3c0b95(0x100)]},[_0x5c4ddc])[_0x3c0b95(0xec)](_0x55855a=>{const _0x5025f8=_0x3c0b95,_0x25d0b7=_0x55855a[_0x5025f8(0xeb)][0x0];if(!_0x25d0b7){_0x4ab526[_0x5025f8(0x11d)](_0x42a986,null);return;}_0x25d0b7['id']=_0x361ecb['shortId'],_0x4ab526[_0x5025f8(0x114)](_0x42a986,_0x25d0b7);})['catch'](_0x26f569=>{_0x4ab526['wroKa'](_0x42a986,null);});});});}async[_0x2a0ac6(0x115)](_0x56c3ce){const _0x34bab0=_0x2a0ac6,_0x569ace={'ojuMh':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?'};if(this['msgCache'][_0x34bab0(0xd6)](_0x56c3ce))return this[_0x34bab0(0xc7)][_0x34bab0(0x109)](_0x56c3ce);const _0x2b3fdd=_0x569ace['ojuMh'];return this[_0x34bab0(0x11e)](_0x2b3fdd,[_0x56c3ce]);}async[_0x2a0ac6(0xc8)](_0x31c007){const _0x47af00=_0x2a0ac6;if(this['msgCache'][_0x47af00(0xd6)](_0x31c007))return this[_0x47af00(0xc7)][_0x47af00(0x109)](_0x31c007);return this[_0x47af00(0x11e)](_0x47af00(0xcc),[_0x31c007]);}async['getMsgBySeq'](_0x4d652e,_0x470cac){const _0x6a903a=_0x2a0ac6,_0x2a5718={'yWLkr':_0x6a903a(0x122)},_0x1ca6bd=_0x2a5718[_0x6a903a(0x101)];return this['getMsg'](_0x1ca6bd,[_0x4d652e,_0x470cac]);}async[_0x2a0ac6(0xa3)](_0x1cb59e,_0x21907f=!![]){const _0x46cfe8=_0x2a0ac6,_0x1596f7={'ZJrRE':function(_0x38f13d,_0x12497c){return _0x38f13d===_0x12497c;},'htKdu':function(_0x4cbb55,_0xa28f77,_0x423aa6){return _0x4cbb55(_0xa28f77,_0x423aa6);},'LvYrN':_0x46cfe8(0xe1),'MbwAO':_0x46cfe8(0xed),'GNvLO':function(_0x3d555a,_0x493c19){return _0x3d555a(_0x493c19);}},_0xc7f8dc=await this['getMsgByLongId'](_0x1cb59e[_0x46cfe8(0xfa)]);if(_0xc7f8dc){if(_0x21907f)this['updateMsg'](_0x1cb59e)[_0x46cfe8(0xec)]();return _0xc7f8dc['id'];}const _0x495efd=this['db']['prepare'](_0x1596f7[_0x46cfe8(0x102)]),_0x24ddde=++this[_0x46cfe8(0xab)];return _0x1cb59e['id']=_0x24ddde,_0x1596f7['GNvLO'](logDebug,_0x46cfe8(0x110)+_0x1cb59e[_0x46cfe8(0xfa)]+_0x46cfe8(0xb6)+_0x1cb59e['id']),this[_0x46cfe8(0xc7)][_0x46cfe8(0xb7)](_0x24ddde,_0x1cb59e),this[_0x46cfe8(0xc7)][_0x46cfe8(0xb7)](_0x1cb59e['msgId'],_0x1cb59e),_0x495efd[_0x46cfe8(0xe5)](this[_0x46cfe8(0xab)],_0x1cb59e[_0x46cfe8(0xfa)],_0x1cb59e[_0x46cfe8(0xb8)][_0x46cfe8(0xd2)](),_0x1cb59e[_0x46cfe8(0x103)],_0x1cb59e[_0x46cfe8(0x100)],_0x458ebd=>{const _0x427884=_0x46cfe8,_0x1a81f4={'tFGPp':function(_0x344ac0,_0x161b45,_0x404493){return _0x344ac0(_0x161b45,_0x404493);}};_0x458ebd&&(_0x1596f7[_0x427884(0xff)](_0x458ebd[_0x427884(0xbf)],0x13)?this[_0x427884(0xc8)](_0x1cb59e[_0x427884(0xfa)])[_0x427884(0xec)](_0xdbd9d3=>{const _0x47bddf=_0x427884;_0xdbd9d3?(this[_0x47bddf(0xc7)][_0x47bddf(0xb7)](_0x24ddde,_0xdbd9d3),this['msgCache'][_0x47bddf(0xb7)](_0xdbd9d3[_0x47bddf(0xfa)],_0xdbd9d3)):_0x1a81f4[_0x47bddf(0xb3)](logError,_0x47bddf(0x117),_0x458ebd);})['catch'](_0x17f8ac=>logError(_0x427884(0xd7),_0x17f8ac)):_0x1596f7[_0x427884(0x9f)](logError,_0x1596f7[_0x427884(0xf0)],_0x458ebd));}),_0x24ddde;}async[_0x2a0ac6(0x10c)](_0x561bbc){const _0x317f26=_0x2a0ac6,_0x5b507d={'HfNLh':function(_0x41092f,_0x1f1b7b,_0x308422){return _0x41092f(_0x1f1b7b,_0x308422);},'oWGCg':function(_0x190ec1,_0x452e60){return _0x190ec1(_0x452e60);},'ltWIt':_0x317f26(0xfd)},_0x33bbb8=this['msgCache']['get'](_0x561bbc[_0x317f26(0xfa)]);_0x33bbb8&&Object[_0x317f26(0xba)](_0x33bbb8,_0x561bbc);_0x5b507d[_0x317f26(0x10b)](logDebug,_0x317f26(0x10e)+_0x561bbc['id']+_0x317f26(0xd3)+_0x561bbc[_0x317f26(0xb8)]+_0x317f26(0xad)+_0x561bbc[_0x317f26(0xfa)]);const _0x51e79c=this['db'][_0x317f26(0x111)](_0x5b507d[_0x317f26(0xa8)]);_0x51e79c[_0x317f26(0xe5)](_0x561bbc[_0x317f26(0xb8)],_0x561bbc[_0x317f26(0xfa)],_0x300a2c=>{const _0x452743=_0x317f26;_0x300a2c&&_0x5b507d[_0x452743(0x11f)](logError,_0x452743(0x113),_0x300a2c);});}async['addFileCache'](_0xce2ce0){const _0x54eb2e=_0x2a0ac6,_0x4858a8={'WLFKI':function(_0x4c4559,_0x12f3dd,_0x4dbce7){return _0x4c4559(_0x12f3dd,_0x4dbce7);},'lRUhS':function(_0x359bfb,_0x8fd507){return _0x359bfb(_0x8fd507);},'fhpze':_0x54eb2e(0xf9)},_0x2d0de5=this['db'][_0x54eb2e(0x111)](_0x4858a8[_0x54eb2e(0xa4)]);return new Promise((_0x4b58fe,_0x424650)=>{const _0x1383fe=_0x54eb2e,_0x3c5a3b={'qMNHb':function(_0x325cf2,_0x1e6c02,_0x51313d){const _0x1c302c=_0x4e43;return _0x4858a8[_0x1c302c(0x118)](_0x325cf2,_0x1e6c02,_0x51313d);},'dzXOT':function(_0x27e916,_0x59b26e){const _0x5d6f7b=_0x4e43;return _0x4858a8[_0x5d6f7b(0xf7)](_0x27e916,_0x59b26e);}};_0x2d0de5[_0x1383fe(0xe5)](_0xce2ce0['name'],_0xce2ce0[_0x1383fe(0xe7)],_0xce2ce0[_0x1383fe(0xdf)],_0xce2ce0[_0x1383fe(0xef)],_0xce2ce0['uuid'],_0xce2ce0[_0x1383fe(0xb9)],JSON[_0x1383fe(0x121)](_0xce2ce0[_0x1383fe(0xaf)]),_0xce2ce0[_0x1383fe(0xa0)],_0xce2ce0[_0x1383fe(0xfa)],function(_0x386e23){const _0x2a79c6=_0x1383fe;_0x386e23&&(_0x3c5a3b[_0x2a79c6(0xd9)](logError,_0x2a79c6(0xb4),_0x386e23),_0x424650(_0x386e23)),_0x3c5a3b[_0x2a79c6(0xee)](_0x4b58fe,null);});});}async['getFileCache'](_0xbb32a7,_0x2581b8){const _0x3aa017={'cgwQp':function(_0x2c29b1,_0xc28d5b){return _0x2c29b1(_0xc28d5b);}},_0x5c8ec0=this['db']['prepare'](_0xbb32a7);return new Promise((_0x5d9627,_0x35eb9d)=>{const _0x5df6af=_0x4e43;_0x5c8ec0[_0x5df6af(0x109)](..._0x2581b8,(_0x916393,_0x5bf938)=>{const _0x1069cc=_0x5df6af;_0x916393&&(logError('db\x20could\x20not\x20get\x20file\x20cache',_0x916393),_0x3aa017[_0x1069cc(0xae)](_0x35eb9d,_0x916393)),_0x5bf938&&(_0x5bf938[_0x1069cc(0xaf)]=JSON[_0x1069cc(0x108)](_0x5bf938['element'])),_0x5d9627(_0x5bf938);});});}async[_0x2a0ac6(0xda)](_0x4f3f14){const _0x5322e2=_0x2a0ac6,_0x8cf8f={'JTvpZ':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?'};return this[_0x5322e2(0xb1)](_0x8cf8f['JTvpZ'],[_0x4f3f14]);}async[_0x2a0ac6(0xf4)](_0x550a34){const _0x3c0c14=_0x2a0ac6,_0x3cf798={'hkZzi':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?'};return this[_0x3c0c14(0xb1)](_0x3cf798['hkZzi'],[_0x550a34]);}async[_0x2a0ac6(0x10f)](_0x44eb12){const _0x5239e3=_0x2a0ac6,_0xd19ae7={'sXrAT':function(_0x16ff56,_0x402323,_0x8b2c04){return _0x16ff56(_0x402323,_0x8b2c04);},'dTPzl':_0x5239e3(0xcd),'aSaha':function(_0x303b02,_0x4301f7){return _0x303b02(_0x4301f7);},'OMnOH':function(_0x3e7887,_0x3fe721){return _0x3e7887(_0x3fe721);},'wekzM':'UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?'},_0x2da5bc=this['db']['prepare'](_0xd19ae7['wekzM']);return new Promise((_0x7eb9bb,_0x28416f)=>{const _0x196796=_0x5239e3;_0x2da5bc['run'](_0x44eb12[_0x196796(0xe7)],_0x44eb12[_0x196796(0xdf)],_0x44eb12[_0x196796(0xdd)],function(_0x28909f){const _0x51cacc=_0x196796;_0x28909f&&(_0xd19ae7['sXrAT'](logError,_0xd19ae7[_0x51cacc(0x116)],_0x28909f),_0xd19ae7[_0x51cacc(0xa6)](_0x28416f,_0x28909f)),_0xd19ae7[_0x51cacc(0xc5)](_0x7eb9bb,null);});});}async['getReceivedTempUinMap'](){const _0x504a9a=_0x2a0ac6,_0x3ddf4b={'BrEHe':function(_0x305dec,_0x3556b1,_0x19983d){return _0x305dec(_0x3556b1,_0x19983d);},'CvkBK':_0x504a9a(0xb0),'NLayy':_0x504a9a(0xd1)},_0x507cd9=_0x3ddf4b[_0x504a9a(0xf8)];return new Promise((_0x5aefde,_0x4bf1b1)=>{const _0x1e231a=_0x504a9a,_0x1a0f7a={'LmcwZ':function(_0x48a435,_0x96df1,_0x322cef){const _0x14d49a=_0x4e43;return _0x3ddf4b[_0x14d49a(0xe3)](_0x48a435,_0x96df1,_0x322cef);},'WCyYF':_0x3ddf4b['CvkBK'],'fqUMF':function(_0x53f6f1,_0x59a899){return _0x53f6f1(_0x59a899);}};this['db'][_0x1e231a(0xe9)](_0x507cd9,(_0x367ecd,_0xbca3b3)=>{const _0x10fa06=_0x1e231a;_0x367ecd&&(_0x1a0f7a[_0x10fa06(0xc4)](logError,_0x1a0f7a[_0x10fa06(0xfe)],_0x367ecd),_0x4bf1b1(_0x367ecd));const _0x3433f6={};_0xbca3b3[_0x10fa06(0xfb)](_0x42c0ce=>{const _0x502403=_0x10fa06;_0x3433f6[_0x42c0ce['uin']]=_0x42c0ce[_0x502403(0xc1)];}),_0x1a0f7a['fqUMF'](_0x5aefde,_0x3433f6);});});}async[_0x2a0ac6(0xf6)](_0x5673d4){const _0x275258=_0x2a0ac6,_0x60bc6a={'QnFCq':function(_0x186a8f,_0x219e72,_0x44daf5){return _0x186a8f(_0x219e72,_0x44daf5);},'daKLV':function(_0x17f962,_0x119e1a){return _0x17f962(_0x119e1a);}},_0x37aac3=_0x275258(0xfc);return new Promise((_0x47d736,_0x3962fd)=>{this['db']['get'](_0x37aac3,[_0x5673d4],(_0xa5f569,_0x5c9f59)=>{const _0x1182f6=_0x4e43;_0xa5f569&&(_0x60bc6a['QnFCq'](logError,_0x1182f6(0xb0),_0xa5f569),_0x60bc6a[_0x1182f6(0x104)](_0x3962fd,_0xa5f569)),_0x47d736(_0x5c9f59?.[_0x1182f6(0xc1)]);});});}async[_0x2a0ac6(0xa9)](_0x560220,_0x4c85e3){const _0x49de3d=_0x2a0ac6,_0x461476={'VRgiq':function(_0x4ade6b,_0x47427a,_0x4a6c72){return _0x4ade6b(_0x47427a,_0x4a6c72);},'AkfbO':function(_0x4b7389,_0x42f22c){return _0x4b7389(_0x42f22c);}},_0x5da0d3=await this['getUidByTempUin'](_0x560220);if(!_0x5da0d3){const _0x54e15=this['db']['prepare'](_0x49de3d(0xf1));return new Promise((_0x2c7a89,_0x3e38b9)=>{const _0x43e5f1=_0x49de3d,_0x1bf8f={'LYkgE':function(_0x147af1,_0x22679c,_0x185a75){const _0x1280c3=_0x4e43;return _0x461476[_0x1280c3(0x9d)](_0x147af1,_0x22679c,_0x185a75);},'FZKPx':function(_0x415140,_0x1b0225){const _0x4bd638=_0x4e43;return _0x461476[_0x4bd638(0x112)](_0x415140,_0x1b0225);}};_0x54e15[_0x43e5f1(0xe5)](_0x560220,_0x4c85e3,function(_0x1abb38){const _0x484dfe=_0x43e5f1;_0x1abb38&&(_0x1bf8f[_0x484dfe(0xcb)](logError,_0x484dfe(0xe0),_0x1abb38),_0x1bf8f[_0x484dfe(0x123)](_0x3e38b9,_0x1abb38)),_0x2c7a89(null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index f36ebe6e..1331a484 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x506c99=_0x4336;(function(_0x5337c7,_0x56d8ff){const _0x4af06c=_0x4336,_0x85e2b5=_0x5337c7();while(!![]){try{const _0x4e2bcd=parseInt(_0x4af06c(0xd5))/0x1+parseInt(_0x4af06c(0xc9))/0x2+parseInt(_0x4af06c(0xd1))/0x3+-parseInt(_0x4af06c(0xcc))/0x4*(parseInt(_0x4af06c(0xc8))/0x5)+parseInt(_0x4af06c(0xd0))/0x6*(-parseInt(_0x4af06c(0xc6))/0x7)+parseInt(_0x4af06c(0xce))/0x8+parseInt(_0x4af06c(0xc4))/0x9;if(_0x4e2bcd===_0x56d8ff)break;else _0x85e2b5['push'](_0x85e2b5['shift']());}catch(_0x4127e8){_0x85e2b5['push'](_0x85e2b5['shift']());}}}(_0x5dc3,0x8bcae));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x506c99(0xcd)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x195fa4){const _0x9a571b=_0x506c99;this[_0x9a571b(0xd3)]=_0x195fa4;}async[_0x506c99(0xca)](){const _0x432ac9=_0x506c99,_0x107f7e={'BRPOm':'获取rkey失败'};if(this[_0x432ac9(0xc7)]())try{await this[_0x432ac9(0xd6)]();}catch(_0x5d9eb5){logError(_0x107f7e['BRPOm'],_0x5d9eb5);}return this['rkeyData'];}[_0x506c99(0xc7)](){const _0x569588=_0x506c99,_0x586552={'vHhkV':function(_0x5d2e87,_0x1774d7){return _0x5d2e87/_0x1774d7;},'dogIt':function(_0x21e064,_0x466900){return _0x21e064>_0x466900;}},_0x4053e3=_0x586552[_0x569588(0xcf)](new Date()[_0x569588(0xd4)](),0x3e8);return _0x586552['dogIt'](_0x4053e3,this[_0x569588(0xcd)]['expired_time']);}async[_0x506c99(0xd6)](){const _0x16cdea=_0x506c99,_0x20ca2e={'XjWJm':'GET'};this[_0x16cdea(0xcd)]=await RequestUtil[_0x16cdea(0xcb)](this[_0x16cdea(0xd3)],_0x20ca2e[_0x16cdea(0xc5)]);}}function _0x4336(_0x58f9aa,_0xbccdac){const _0x5dc3d3=_0x5dc3();return _0x4336=function(_0x43369d,_0x335813){_0x43369d=_0x43369d-0xc4;let _0x3d5a6b=_0x5dc3d3[_0x43369d];return _0x3d5a6b;},_0x4336(_0x58f9aa,_0xbccdac);}function _0x5dc3(){const _0x2f93a3=['isExpired','460hbqAEY','135560BJDVZe','getRkey','HttpGetJson','11612edHXlW','rkeyData','449576qATJPn','vHhkV','6KXzbjW','598896SfIknu','http://napcat-sign.wumiao.wang:2082/rkey','serverUrl','getTime','782524vWjzmz','refreshRkey','2504826hQVrCE','XjWJm','3813467DELCAN'];_0x5dc3=function(){return _0x2f93a3;};return _0x5dc3();}export const rkeyManager=new RkeyManager(_0x506c99(0xd2)); \ No newline at end of file +const _0x247ba7=_0x4a22;function _0x4a22(_0x2e2b4c,_0x5d7321){const _0x2bf18d=_0x2bf1();return _0x4a22=function(_0x4a22fd,_0x286373){_0x4a22fd=_0x4a22fd-0x1ca;let _0x36c7e3=_0x2bf18d[_0x4a22fd];return _0x36c7e3;},_0x4a22(_0x2e2b4c,_0x5d7321);}(function(_0x697c4b,_0xe64b85){const _0x2c66e3=_0x4a22,_0xe8aeb8=_0x697c4b();while(!![]){try{const _0x2d6fb2=-parseInt(_0x2c66e3(0x1da))/0x1*(-parseInt(_0x2c66e3(0x1dc))/0x2)+parseInt(_0x2c66e3(0x1ce))/0x3*(-parseInt(_0x2c66e3(0x1e1))/0x4)+-parseInt(_0x2c66e3(0x1ca))/0x5*(parseInt(_0x2c66e3(0x1d7))/0x6)+-parseInt(_0x2c66e3(0x1db))/0x7+parseInt(_0x2c66e3(0x1d3))/0x8*(-parseInt(_0x2c66e3(0x1cd))/0x9)+-parseInt(_0x2c66e3(0x1d0))/0xa*(-parseInt(_0x2c66e3(0x1d2))/0xb)+parseInt(_0x2c66e3(0x1d5))/0xc;if(_0x2d6fb2===_0xe64b85)break;else _0xe8aeb8['push'](_0xe8aeb8['shift']());}catch(_0x420f06){_0xe8aeb8['push'](_0xe8aeb8['shift']());}}}(_0x2bf1,0x21ce0));function _0x2bf1(){const _0xff4f96=['HttpGetJson','5ViDUVj','MRNME','getRkey','131589Uwqfyr','6EtnpbJ','nDSbn','10EwIMPZ','getTime','922977NwDEhO','24LEdQoZ','GET','2025780zuUnzM','rkeyData','952944FxRvxi','refreshRkey','euaZO','34519PLLKuZ','551026SqfpFH','14zeLpIJ','serverUrl','UNrnR','isExpired','获取rkey失败','148972kBbuPZ'];_0x2bf1=function(){return _0xff4f96;};return _0x2bf1();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x247ba7(0x1dd)]='';[_0x247ba7(0x1d6)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2b8cd7){const _0x1f11e6=_0x247ba7;this[_0x1f11e6(0x1dd)]=_0x2b8cd7;}async[_0x247ba7(0x1cc)](){const _0x24d137=_0x247ba7,_0x1687b9={'UNrnR':function(_0x28b4e7,_0x3ce4ef,_0x46b1ab){return _0x28b4e7(_0x3ce4ef,_0x46b1ab);}};if(this[_0x24d137(0x1df)]())try{await this[_0x24d137(0x1d8)]();}catch(_0x351167){_0x1687b9[_0x24d137(0x1de)](logError,_0x24d137(0x1e0),_0x351167);}return this[_0x24d137(0x1d6)];}[_0x247ba7(0x1df)](){const _0x5ec549=_0x247ba7,_0x2811f0={'nDSbn':function(_0x37bf28,_0x35ad1b){return _0x37bf28/_0x35ad1b;},'MRNME':function(_0x2d5b52,_0x57b77b){return _0x2d5b52>_0x57b77b;}},_0x1322c5=_0x2811f0[_0x5ec549(0x1cf)](new Date()[_0x5ec549(0x1d1)](),0x3e8);return _0x2811f0[_0x5ec549(0x1cb)](_0x1322c5,this[_0x5ec549(0x1d6)]['expired_time']);}async[_0x247ba7(0x1d8)](){const _0x2d38ad=_0x247ba7,_0x4e7486={'euaZO':_0x2d38ad(0x1d4)};this['rkeyData']=await RequestUtil[_0x2d38ad(0x1e2)](this[_0x2d38ad(0x1dd)],_0x4e7486[_0x2d38ad(0x1d9)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 0b309c96..cda6ebe7 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x10bc5b=_0x324f;(function(_0x13ac0a,_0x5390d0){const _0x35edc4=_0x324f,_0x19439b=_0x13ac0a();while(!![]){try{const _0x29d73a=-parseInt(_0x35edc4(0xd2))/0x1+-parseInt(_0x35edc4(0xcf))/0x2*(-parseInt(_0x35edc4(0xcd))/0x3)+parseInt(_0x35edc4(0xd3))/0x4*(-parseInt(_0x35edc4(0xca))/0x5)+parseInt(_0x35edc4(0xd4))/0x6*(parseInt(_0x35edc4(0xd5))/0x7)+parseInt(_0x35edc4(0xd1))/0x8+parseInt(_0x35edc4(0xcc))/0x9*(-parseInt(_0x35edc4(0xd0))/0xa)+parseInt(_0x35edc4(0xd9))/0xb;if(_0x29d73a===_0x5390d0)break;else _0x19439b['push'](_0x19439b['shift']());}catch(_0x21d2b2){_0x19439b['push'](_0x19439b['shift']());}}}(_0x5927,0xb8c63));import _0x2259d6 from'node:path';import _0x205b56 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x2259d6[_0x10bc5b(0xcb)](_0x2259d6['dirname'](process[_0x10bc5b(0xd6)]),_0x10bc5b(0xd7));!_0x205b56[_0x10bc5b(0xd8)](wrapperNodePath)&&(wrapperNodePath=_0x2259d6[_0x10bc5b(0xce)](_0x2259d6['dirname'](process['execPath']),_0x10bc5b(0xc9)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));function _0x5927(){const _0x36a5a9=['resources/app/versions/','405jZCXfl','resolve','18RBztIQ','112287pVMhZB','join','52pOhBRR','7460850zWbhNy','1029888pdFEuB','1161952pkGMTw','4388HXXThd','2032878OGqzUS','21fHGNPp','execPath','./resources/app/wrapper.node','existsSync','15196335JrKLxu'];_0x5927=function(){return _0x36a5a9;};return _0x5927();}function _0x324f(_0x3c3657,_0x79275b){const _0x592723=_0x5927();return _0x324f=function(_0x324f60,_0x50673a){_0x324f60=_0x324f60-0xc9;let _0x2522da=_0x592723[_0x324f60];return _0x2522da;},_0x324f(_0x3c3657,_0x79275b);}const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +function _0x496d(){const _0x2b1dbe=['650736tQyaUv','130WCglSR','6015625xpwanx','27530zwUSxW','12ZzdaiL','71661ZMZIgK','curVersion','966jFBwNA','dirname','resources/app/versions/','5656456liZFWy','945458KXMxrc','execPath','join','/wrapper.node','1tIaFqa','./resources/app/wrapper.node','4533562SCOIpD','104UTRilT'];_0x496d=function(){return _0x2b1dbe;};return _0x496d();}const _0x4a0a75=_0x5a4c;(function(_0x1419f9,_0x5395a9){const _0x3bfc82=_0x5a4c,_0x15ad26=_0x1419f9();while(!![]){try{const _0x170a87=parseInt(_0x3bfc82(0x7a))/0x1*(parseInt(_0x3bfc82(0x76))/0x2)+-parseInt(_0x3bfc82(0x70))/0x3*(parseInt(_0x3bfc82(0x7d))/0x4)+-parseInt(_0x3bfc82(0x6e))/0x5*(-parseInt(_0x3bfc82(0x72))/0x6)+-parseInt(_0x3bfc82(0x6d))/0x7+-parseInt(_0x3bfc82(0x75))/0x8+parseInt(_0x3bfc82(0x6b))/0x9*(parseInt(_0x3bfc82(0x6c))/0xa)+parseInt(_0x3bfc82(0x7c))/0xb*(parseInt(_0x3bfc82(0x6f))/0xc);if(_0x170a87===_0x5395a9)break;else _0x15ad26['push'](_0x15ad26['shift']());}catch(_0x5a4cdd){_0x15ad26['push'](_0x15ad26['shift']());}}}(_0x496d,0x7fe13));import _0x50b1c6 from'node:path';import _0x13dd8e from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x50b1c6['resolve'](_0x50b1c6['dirname'](process[_0x4a0a75(0x77)]),_0x4a0a75(0x7b));function _0x5a4c(_0x6681fc,_0x2181e6){const _0x496def=_0x496d();return _0x5a4c=function(_0x5a4ce8,_0x2e1e3b){_0x5a4ce8=_0x5a4ce8-0x6b;let _0x8a6010=_0x496def[_0x5a4ce8];return _0x8a6010;},_0x5a4c(_0x6681fc,_0x2181e6);}!_0x13dd8e['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x50b1c6[_0x4a0a75(0x78)](_0x50b1c6[_0x4a0a75(0x73)](process[_0x4a0a75(0x77)]),_0x4a0a75(0x74)+qqVersionConfigInfo[_0x4a0a75(0x71)]+_0x4a0a75(0x79)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file