From ccd155de718c2bdadf1a13dc2f98fe513db7c8d7 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: Fri, 7 Jun 2024 17:57:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A8=E8=8D=90=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E4=BA=BAArkJson?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.d.ts | 1 + src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- src/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/NodeIKernelBuddyService.d.ts | 2 +- src/core.lib/src/services/NodeIYellowFaceService.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 42 files changed, 42 insertions(+), 41 deletions(-) diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 82066938..62378081 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x4ed7(){var _0x11c5f5=['3703910crsguP','6215416LLzRxE','11548LHYJtm','437242OwPKpf','2003550bPMTOQ','85lACOFk','1282062mUhlYy','381244qNFtRv'];_0x4ed7=function(){return _0x11c5f5;};return _0x4ed7();}(function(_0x565391,_0x3f2696){var _0x521c94=_0x54f7,_0x1ae3af=_0x565391();while(!![]){try{var _0x5e37ac=-parseInt(_0x521c94(0x176))/0x1+parseInt(_0x521c94(0x17a))/0x2+-parseInt(_0x521c94(0x179))/0x3+parseInt(_0x521c94(0x175))/0x4*(parseInt(_0x521c94(0x178))/0x5)+-parseInt(_0x521c94(0x177))/0x6+parseInt(_0x521c94(0x173))/0x7+parseInt(_0x521c94(0x174))/0x8;if(_0x5e37ac===_0x3f2696)break;else _0x1ae3af['push'](_0x1ae3af['shift']());}catch(_0x3de71b){_0x1ae3af['push'](_0x1ae3af['shift']());}}}(_0x4ed7,0x54c65));function _0x54f7(_0xcbbc90,_0x5c4cfd){var _0x4ed77d=_0x4ed7();return _0x54f7=function(_0x54f755,_0x77e087){_0x54f755=_0x54f755-0x173;var _0x548380=_0x4ed77d[_0x54f755];return _0x548380;},_0x54f7(_0xcbbc90,_0x5c4cfd);}export class DependsAdapter{['onMSFStatusChange'](_0x1c25ee,_0x271c61){}['onMSFSsoError'](_0x1624b4){}['getGroupCode'](_0x4eb58c){}} \ No newline at end of file +function _0x154b(){var _0x19d84b=['32055380hKAsVE','6601085XpJHUk','78146SLaFUf','8YoryNO','onMSFStatusChange','24ZZyUDk','7645149giBFIa','177IgGXzZ','1862670HTcYlt','16432fDNlzf','8471239jyPyfG'];_0x154b=function(){return _0x19d84b;};return _0x154b();}var _0x26f9b7=_0x36b7;(function(_0x5a1684,_0x328281){var _0xa7ffd5=_0x36b7,_0x5e97b0=_0x5a1684();while(!![]){try{var _0x442b5a=parseInt(_0xa7ffd5(0x13b))/0x1*(-parseInt(_0xa7ffd5(0x13e))/0x2)+parseInt(_0xa7ffd5(0x135))/0x3*(-parseInt(_0xa7ffd5(0x137))/0x4)+-parseInt(_0xa7ffd5(0x13a))/0x5+-parseInt(_0xa7ffd5(0x136))/0x6+parseInt(_0xa7ffd5(0x138))/0x7+parseInt(_0xa7ffd5(0x13c))/0x8*(-parseInt(_0xa7ffd5(0x134))/0x9)+parseInt(_0xa7ffd5(0x139))/0xa;if(_0x442b5a===_0x328281)break;else _0x5e97b0['push'](_0x5e97b0['shift']());}catch(_0x35cf77){_0x5e97b0['push'](_0x5e97b0['shift']());}}}(_0x154b,0xb870c));function _0x36b7(_0x161664,_0x2a89ac){var _0x154b02=_0x154b();return _0x36b7=function(_0x36b71b,_0x20f910){_0x36b71b=_0x36b71b-0x134;var _0x9b769f=_0x154b02[_0x36b71b];return _0x9b769f;},_0x36b7(_0x161664,_0x2a89ac);}export class DependsAdapter{[_0x26f9b7(0x13d)](_0x27e93a,_0x123ff0){}['onMSFSsoError'](_0x27cce9){}['getGroupCode'](_0x552cf4){}} \ 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 31de0b5e..01e3e0eb 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x1db1fe=_0x4c17;(function(_0x571c48,_0x2e8352){var _0x27c0d9=_0x4c17,_0x5f034d=_0x571c48();while(!![]){try{var _0x54b6d7=-parseInt(_0x27c0d9(0x197))/0x1+-parseInt(_0x27c0d9(0x1a1))/0x2+parseInt(_0x27c0d9(0x19c))/0x3*(parseInt(_0x27c0d9(0x19f))/0x4)+parseInt(_0x27c0d9(0x19d))/0x5+parseInt(_0x27c0d9(0x1a0))/0x6+parseInt(_0x27c0d9(0x199))/0x7+-parseInt(_0x27c0d9(0x19a))/0x8;if(_0x54b6d7===_0x2e8352)break;else _0x5f034d['push'](_0x5f034d['shift']());}catch(_0x4fcb9d){_0x5f034d['push'](_0x5f034d['shift']());}}}(_0xa70e,0x4a32c));function _0x4c17(_0x5bf0b8,_0x24f026){var _0xa70eb0=_0xa70e();return _0x4c17=function(_0x4c171a,_0x2f52aa){_0x4c171a=_0x4c171a-0x197;var _0x5530f1=_0xa70eb0[_0x4c171a];return _0x5530f1;},_0x4c17(_0x5bf0b8,_0x24f026);}function _0xa70e(){var _0x1f14bd=['dispatchCall','3lPWxPJ','1545625pbRJGx','dispatchRequest','1404196lzZljs','1103136nVNsdA','261152VwKCMk','515895SWtIvB','dispatchCallWithJson','1342145agoeJh','683024jRuvxj'];_0xa70e=function(){return _0x1f14bd;};return _0xa70e();}export class DispatcherAdapter{[_0x1db1fe(0x19e)](_0xea32ad){}[_0x1db1fe(0x19b)](_0x16dfe7){}[_0x1db1fe(0x198)](_0x386b78){}} \ No newline at end of file +function _0x2bd2(){var _0x3e6087=['122034pDrLzk','2FNLUqg','30BUEQhw','9RdLkby','19580110PlebGo','669972NjipTE','dispatchCallWithJson','1844359RzjPLH','18882YEepSz','8781210lWznor','dispatchCall','1162pcHSoR','9061088gaPUzT'];_0x2bd2=function(){return _0x3e6087;};return _0x2bd2();}function _0x304b(_0x335c81,_0xc08e00){var _0x2bd290=_0x2bd2();return _0x304b=function(_0x304baa,_0x3835e1){_0x304baa=_0x304baa-0xee;var _0x46af11=_0x2bd290[_0x304baa];return _0x46af11;},_0x304b(_0x335c81,_0xc08e00);}var _0x584809=_0x304b;(function(_0x588af1,_0x422d15){var _0x462c7a=_0x304b,_0x4c9437=_0x588af1();while(!![]){try{var _0x11d093=parseInt(_0x462c7a(0xf1))/0x1*(parseInt(_0x462c7a(0xf8))/0x2)+parseInt(_0x462c7a(0xf9))/0x3*(-parseInt(_0x462c7a(0xef))/0x4)+-parseInt(_0x462c7a(0xf3))/0x5+parseInt(_0x462c7a(0xf2))/0x6*(-parseInt(_0x462c7a(0xf5))/0x7)+parseInt(_0x462c7a(0xf6))/0x8+parseInt(_0x462c7a(0xfa))/0x9*(parseInt(_0x462c7a(0xee))/0xa)+parseInt(_0x462c7a(0xf7))/0xb;if(_0x11d093===_0x422d15)break;else _0x4c9437['push'](_0x4c9437['shift']());}catch(_0x3428df){_0x4c9437['push'](_0x4c9437['shift']());}}}(_0x2bd2,0xf250e));export class DispatcherAdapter{['dispatchRequest'](_0x4be085){}[_0x584809(0xf4)](_0x56ed33){}[_0x584809(0xf0)](_0x3116e0){}} \ 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 f7469bc3..59fb2aed 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x56af38=_0x2d16;function _0x2d16(_0x5871ec,_0x35306e){var _0x160fd1=_0x160f();return _0x2d16=function(_0x2d1691,_0xa7e2){_0x2d1691=_0x2d1691-0x70;var _0x3d282e=_0x160fd1[_0x2d1691];return _0x3d282e;},_0x2d16(_0x5871ec,_0x35306e);}(function(_0x56dbb3,_0x4703e6){var _0x54025a=_0x2d16,_0x5a9ff4=_0x56dbb3();while(!![]){try{var _0x386fb6=-parseInt(_0x54025a(0x74))/0x1+-parseInt(_0x54025a(0x7e))/0x2+parseInt(_0x54025a(0x70))/0x3+-parseInt(_0x54025a(0x73))/0x4+-parseInt(_0x54025a(0x76))/0x5+-parseInt(_0x54025a(0x75))/0x6*(-parseInt(_0x54025a(0x7b))/0x7)+-parseInt(_0x54025a(0x72))/0x8*(-parseInt(_0x54025a(0x79))/0x9);if(_0x386fb6===_0x4703e6)break;else _0x5a9ff4['push'](_0x5a9ff4['shift']());}catch(_0x308a5d){_0x5a9ff4['push'](_0x5a9ff4['shift']());}}}(_0x160f,0xed9ef));export class GlobalAdapter{[_0x56af38(0x78)](..._0x206dd8){}['onGetSrvCalTime'](..._0x4038ee){}[_0x56af38(0x7c)](..._0x3f10d5){}[_0x56af38(0x77)](..._0x4210fe){}[_0x56af38(0x7a)](..._0x554a2d){}['onInstallFinished'](..._0xc56915){}[_0x56af38(0x71)](..._0x5a0f0b){}[_0x56af38(0x7d)](..._0x4a4b90){}}function _0x160f(){var _0x1371fc=['492779cvYjRs','onShowErrUITips','onGetOfflineMsg','1122264FwJBkz','79617TgzjlR','onUpdateGeneralFlag','8ljKkxi','7133968rLFpaO','658915LxfGet','84Mjuemh','5306230CGvmqI','fixPicImgType','onLog','36233847XRizeZ','getAppSetting'];_0x160f=function(){return _0x1371fc;};return _0x160f();} \ No newline at end of file +var _0xfa0b19=_0x5960;function _0x2c4d(){var _0x4989f6=['2984kmbUNm','onUpdateGeneralFlag','3458497zNOVGL','12251020XKdqJe','4ySCDRG','51RvKBnG','402HsXUKF','47221zqyeWj','onInstallFinished','15006915DQePoM','onGetSrvCalTime','25676232mZKZEv','getAppSetting','fixPicImgType','13rCJDij','8vpOMRn','9ijfema','20905CeNPbn'];_0x2c4d=function(){return _0x4989f6;};return _0x2c4d();}(function(_0x59da3e,_0x39155b){var _0x443774=_0x5960,_0x1d8e85=_0x59da3e();while(!![]){try{var _0x4b8366=-parseInt(_0x443774(0x169))/0x1*(-parseInt(_0x443774(0x166))/0x2)+parseInt(_0x443774(0x167))/0x3*(parseInt(_0x443774(0x162))/0x4)+-parseInt(_0x443774(0x161))/0x5*(parseInt(_0x443774(0x168))/0x6)+-parseInt(_0x443774(0x164))/0x7*(-parseInt(_0x443774(0x15f))/0x8)+parseInt(_0x443774(0x160))/0x9*(parseInt(_0x443774(0x165))/0xa)+parseInt(_0x443774(0x16b))/0xb+-parseInt(_0x443774(0x15b))/0xc*(parseInt(_0x443774(0x15e))/0xd);if(_0x4b8366===_0x39155b)break;else _0x1d8e85['push'](_0x1d8e85['shift']());}catch(_0x4b8ee9){_0x1d8e85['push'](_0x1d8e85['shift']());}}}(_0x2c4d,0xbc2bd));function _0x5960(_0x2c4a86,_0x104d63){var _0x2c4d14=_0x2c4d();return _0x5960=function(_0x596038,_0x3a25c5){_0x596038=_0x596038-0x15a;var _0xab67c8=_0x2c4d14[_0x596038];return _0xab67c8;},_0x5960(_0x2c4a86,_0x104d63);}export class GlobalAdapter{['onLog'](..._0xb52745){}[_0xfa0b19(0x15a)](..._0x2b09a6){}['onShowErrUITips'](..._0x5dce9b){}[_0xfa0b19(0x15d)](..._0x58731a){}[_0xfa0b19(0x15c)](..._0x3e8219){}[_0xfa0b19(0x16a)](..._0x4c2b9f){}[_0xfa0b19(0x163)](..._0x3267a1){}['onGetOfflineMsg'](..._0x1cf55f){}} \ 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 d6debc1e..1dfc0eba 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x4a4970,_0x5162ee){var _0x196842=_0x250a,_0x1cb25d=_0x4a4970();while(!![]){try{var _0x235aa3=-parseInt(_0x196842(0x71))/0x1+parseInt(_0x196842(0x73))/0x2+parseInt(_0x196842(0x6c))/0x3+-parseInt(_0x196842(0x6f))/0x4*(parseInt(_0x196842(0x72))/0x5)+-parseInt(_0x196842(0x6d))/0x6+parseInt(_0x196842(0x6e))/0x7+parseInt(_0x196842(0x70))/0x8;if(_0x235aa3===_0x5162ee)break;else _0x1cb25d['push'](_0x1cb25d['shift']());}catch(_0x5cb4c7){_0x1cb25d['push'](_0x1cb25d['shift']());}}}(_0x5b9c,0x41e08));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x5b9c(){var _0x50bea7=['1747265xQFaJJ','83866phZcrb','737550jXcCKu','1831428EXZUAf','3047030hHGqyY','4gwOPsL','4302536WgBcQH','336367skuPsZ'];_0x5b9c=function(){return _0x50bea7;};return _0x5b9c();}function _0x250a(_0x5271d2,_0x13932a){var _0x5b9c12=_0x5b9c();return _0x250a=function(_0x250aa3,_0x335712){_0x250aa3=_0x250aa3-0x6c;var _0x3da9d2=_0x5b9c12[_0x250aa3];return _0x3da9d2;},_0x250a(_0x5271d2,_0x13932a);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x1b522b,_0x2d1e32){var _0x4752b3=_0x4f72,_0x56081d=_0x1b522b();while(!![]){try{var _0x626767=-parseInt(_0x4752b3(0x10a))/0x1*(-parseInt(_0x4752b3(0x10d))/0x2)+-parseInt(_0x4752b3(0x10f))/0x3+-parseInt(_0x4752b3(0x109))/0x4+-parseInt(_0x4752b3(0x10e))/0x5+parseInt(_0x4752b3(0x10b))/0x6*(-parseInt(_0x4752b3(0x10c))/0x7)+parseInt(_0x4752b3(0x110))/0x8+parseInt(_0x4752b3(0x108))/0x9;if(_0x626767===_0x2d1e32)break;else _0x56081d['push'](_0x56081d['shift']());}catch(_0x4f649c){_0x56081d['push'](_0x56081d['shift']());}}}(_0xaffd,0xbdea3));function _0xaffd(){var _0x1cce67=['3207972lNPDIG','4367920vxPcwR','35112978hzsLxI','3690340XMaweL','11wczyay','66324DwiTBw','448NCfyAO','16982irLQtq','5317885dhBlEC'];_0xaffd=function(){return _0x1cce67;};return _0xaffd();}export*from'./NodeIDependsAdapter';function _0x4f72(_0x475b06,_0x558ddc){var _0xaffd73=_0xaffd();return _0x4f72=function(_0x4f72a3,_0x393939){_0x4f72a3=_0x4f72a3-0x108;var _0x29eabb=_0xaffd73[_0x4f72a3];return _0x29eabb;},_0x4f72(_0x475b06,_0x558ddc);}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 0758c190..bae62b83 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x4eb1a2=_0x189f;(function(_0x4250eb,_0x5ee3b1){const _0xe56991=_0x189f,_0x4747d6=_0x4250eb();while(!![]){try{const _0x7ef64a=-parseInt(_0xe56991(0x158))/0x1*(parseInt(_0xe56991(0x169))/0x2)+-parseInt(_0xe56991(0x130))/0x3+parseInt(_0xe56991(0x135))/0x4+parseInt(_0xe56991(0x168))/0x5*(-parseInt(_0xe56991(0x13a))/0x6)+-parseInt(_0xe56991(0x13c))/0x7+-parseInt(_0xe56991(0x131))/0x8*(parseInt(_0xe56991(0x12e))/0x9)+parseInt(_0xe56991(0x154))/0xa*(parseInt(_0xe56991(0x153))/0xb);if(_0x7ef64a===_0x5ee3b1)break;else _0x4747d6['push'](_0x4747d6['shift']());}catch(_0x3f92f8){_0x4747d6['push'](_0x4747d6['shift']());}}}(_0x506c,0x85c1c));function _0x189f(_0x415c6c,_0x332a7f){const _0x506ce3=_0x506c();return _0x189f=function(_0x189fea,_0x2eaeb7){_0x189fea=_0x189fea-0x12e;let _0x375222=_0x506ce3[_0x189fea];return _0x375222;},_0x189f(_0x415c6c,_0x332a7f);}import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2c90a5 from'path';import _0x40a171 from'fs';function _0x506c(){const _0x52f1b7=['getImageSize','1524728spPeoc','delete','kQmaw','图片url获取失败','getFileCacheInfo','30nZXaha','group_rkey','7641900MFQNGT','YLLdo','getRkey','includes','ikOox','onLoginSuccess','existsSync','getRichMediaFilePathForGuild','getStorageCleanService','hocZg','startsWith','getFileType','getMsgService','lkePp','unlink','ESSEB','addListener','hotUpdate','addCacheScanedPaths','util','copyFile','basename','set','2812139nIBTpa','140GkJPPo','md5HexStr','bhFmL','defaultFileDownloadPath','38102WRTVLv','PIC','getDesktopTmpPath','clearCacheDataByKeys','addCacheScannedPaths','toUpperCase','getImageUrl','aWszr','QprDV','clearChatCache','onRichMediaDownloadComplete','tmp','下载超时','sNvCN','downloadRichMedia','scanCache','549410cOisyW','22JnyWVR','&rkey=','getChatCacheList','filePath','btiuq','getFileSize','jYZcN','SEOay','session','HJTQe','getChatCacheInfo','9NmdAGt','TTHZc','1138992ksfZzG','7780032stNFOK','private_rkey','uploadFile'];_0x506c=function(){return _0x52f1b7;};return _0x506c();}import _0x37fd09 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x5ecb3e from'file-type';import{MsgListener}from'@/core/listeners';import _0x2d2aeb 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[_0x4eb1a2(0x162)]=_0x4ebc79=>{const _0x560b6a=_0x4eb1a2,_0x2991f4={'ikOox':function(_0x1391c7,_0x48e943){return _0x1391c7(_0x48e943);}};for(const [_0x10b278,_0x32ae3d]of downloadMediaTasks){_0x2991f4[_0x560b6a(0x140)](_0x32ae3d,_0x4ebc79),downloadMediaTasks[_0x560b6a(0x136)](_0x10b278);}},setTimeout(()=>{const _0x39a629=_0x4eb1a2;napCatCore[_0x39a629(0x141)](()=>{const _0x5bfe59=_0x39a629;napCatCore[_0x5bfe59(0x14c)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x4eb1a2(0x147)](_0x890314){return _0x5ecb3e['fileTypeFromFile'](_0x890314);}static async[_0x4eb1a2(0x150)](_0x3a6890,_0xc39f6){const _0x2133a0=_0x4eb1a2;await napCatCore[_0x2133a0(0x14f)][_0x2133a0(0x150)](_0x3a6890,_0xc39f6);}static async[_0x4eb1a2(0x16e)](_0x491fe7){const _0x568352=_0x4eb1a2;return await napCatCore[_0x568352(0x14f)]['getFileSize'](_0x491fe7);}static async[_0x4eb1a2(0x133)](_0x451829,_0x3c3dda=ElementType[_0x4eb1a2(0x159)],_0x4ff69f=0x0){const _0x51f137=_0x4eb1a2,_0x17f68c={'KIwdv':function(_0x28f356,_0x324c35){return _0x28f356(_0x324c35);},'sNvCN':function(_0x1a0613,_0x1b36bb){return _0x1a0613+_0x1b36bb;},'kQmaw':function(_0x21b5a8,_0x17c7c5){return _0x21b5a8===_0x17c7c5;}},_0x3957a0=await _0x17f68c['KIwdv'](calculateFileMD5,_0x451829);let _0xd075cd=(await NTQQFileApi[_0x51f137(0x147)](_0x451829))?.['ext']||'';_0xd075cd&&(_0xd075cd=_0x17f68c[_0x51f137(0x165)]('.',_0xd075cd));let _0x350c86=''+_0x2c90a5[_0x51f137(0x151)](_0x451829);_0x17f68c[_0x51f137(0x137)](_0x350c86['indexOf']('.'),-0x1)&&(_0x350c86+=_0xd075cd);const _0x43b3b4=napCatCore[_0x51f137(0x171)][_0x51f137(0x148)]()[_0x51f137(0x143)]({'md5HexStr':_0x3957a0,'fileName':_0x350c86,'elementType':_0x3c3dda,'elementSubType':_0x4ff69f,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x51f137(0x150)](_0x451829,_0x43b3b4);const _0x1e7bf9=await NTQQFileApi[_0x51f137(0x16e)](_0x451829);return{'md5':_0x3957a0,'fileName':_0x350c86,'path':_0x43b3b4,'fileSize':_0x1e7bf9,'ext':_0xd075cd};}static async['downloadMedia'](_0x3cf730,_0x7c919b,_0x4d4a2a,_0x21fb6e,_0x17ec68,_0x2d1d43,_0x1fca83=0x3e8*0x3c*0x2,_0x139f90=![]){const _0x3332f3=_0x4eb1a2,_0x46fe5a={'ndtKJ':function(_0x2af2fe,_0x5316e1){return _0x2af2fe===_0x5316e1;},'HJTQe':function(_0x481f2e,_0x5dc937){return _0x481f2e(_0x5dc937);},'TOAzE':function(_0x2d70bd,_0x47c111){return _0x2d70bd(_0x47c111);},'hocZg':_0x3332f3(0x164),'QprDV':function(_0x35a4f6){return _0x35a4f6();},'aWszr':function(_0x141570,_0x4fc16b,_0x36171d){return _0x141570(_0x4fc16b,_0x36171d);}};if(_0x2d1d43&&_0x40a171[_0x3332f3(0x142)](_0x2d1d43)){if(_0x139f90)try{await _0x37fd09[_0x3332f3(0x14a)](_0x2d1d43);}catch(_0x433c53){}else return _0x2d1d43;}return new Promise((_0x38e6e2,_0x47a8a8)=>{const _0x2131e3=_0x3332f3,_0x3c3435={'lkePp':function(_0x1eb89d,_0x88735c){return _0x46fe5a['TOAzE'](_0x1eb89d,_0x88735c);},'tWgAC':_0x46fe5a[_0x2131e3(0x145)]};let _0x32b3fd=![];const _0x41b971=_0x14221a=>{const _0x52dd6a=_0x2131e3;if(_0x46fe5a['ndtKJ'](_0x14221a['msgId'],_0x3cf730)){_0x32b3fd=!![];let _0x29ed29=_0x14221a[_0x52dd6a(0x16c)];if(_0x29ed29[_0x52dd6a(0x146)]('\x5c')){const _0x4c01e9=sessionConfig[_0x52dd6a(0x157)];_0x29ed29=_0x2c90a5['join'](_0x4c01e9,_0x29ed29);}_0x46fe5a[_0x52dd6a(0x172)](_0x38e6e2,_0x29ed29);}};downloadMediaTasks[_0x2131e3(0x152)](_0x46fe5a[_0x2131e3(0x160)](randomUUID),_0x41b971),_0x46fe5a[_0x2131e3(0x15f)](setTimeout,()=>{const _0x4f25aa=_0x2131e3;!_0x32b3fd&&_0x3c3435[_0x4f25aa(0x149)](_0x47a8a8,_0x3c3435['tWgAC']);},_0x1fca83),napCatCore[_0x2131e3(0x171)][_0x2131e3(0x148)]()[_0x2131e3(0x166)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3cf730,'chatType':_0x7c919b,'peerUid':_0x4d4a2a,'elementId':_0x21fb6e,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x17ec68});});}static async[_0x4eb1a2(0x134)](_0x390f5b){const _0xb412c3={'TTHZc':function(_0x5822fb,_0x95e10a){return _0x5822fb(_0x95e10a);},'YLLdo':function(_0x2010cc,_0x107317,_0xd64904){return _0x2010cc(_0x107317,_0xd64904);}};return new Promise((_0x1b1f41,_0x343c61)=>{const _0x2962bf=_0x189f,_0x362c68={'btiuq':function(_0x105276,_0x109aa4){const _0x3ff5c6=_0x189f;return _0xb412c3[_0x3ff5c6(0x12f)](_0x105276,_0x109aa4);}};_0xb412c3[_0x2962bf(0x13d)](_0x2d2aeb,_0x390f5b,(_0x52635f,_0x67cbe)=>{const _0x73e221=_0x2962bf;_0x52635f?_0x362c68[_0x73e221(0x16d)](_0x343c61,_0x52635f):_0x362c68[_0x73e221(0x16d)](_0x1b1f41,_0x67cbe);});});}static async[_0x4eb1a2(0x15e)](_0x13181f,_0x1f6f46){const _0x2b30d7=_0x4eb1a2,_0x4d1540={'jYZcN':'/download','bhFmL':_0x2b30d7(0x16a),'GJqSt':function(_0x40f448,_0x210510){return _0x40f448+_0x210510;},'ESSEB':function(_0x3624c9,_0x274b4d){return _0x3624c9||_0x274b4d;},'SEOay':function(_0x3a58d6,_0x245682,_0x16c52f){return _0x3a58d6(_0x245682,_0x16c52f);},'pRlVJ':_0x2b30d7(0x138)};if(!_0x13181f)return'';const _0x1683ab=_0x13181f['originImageUrl'],_0x5edbea=_0x13181f[_0x2b30d7(0x155)],_0x587907=_0x13181f[_0x2b30d7(0x155)],_0x3d8168=_0x13181f['fileUuid'];if(_0x1683ab){if(_0x1683ab[_0x2b30d7(0x146)](_0x4d1540[_0x2b30d7(0x16f)])){if(_0x1683ab[_0x2b30d7(0x13f)](_0x4d1540[_0x2b30d7(0x156)]))return IMAGE_HTTP_HOST_NT+_0x1683ab;const _0x2872d7=await rkeyManager[_0x2b30d7(0x13e)](),_0x4c644b=_0x1f6f46?_0x2872d7[_0x2b30d7(0x132)]:_0x2872d7[_0x2b30d7(0x13b)];return _0x4d1540['GJqSt'](IMAGE_HTTP_HOST_NT,_0x1683ab)+(''+_0x4c644b);}else return IMAGE_HTTP_HOST+_0x1683ab;}else{if(_0x587907||_0x5edbea)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x4d1540[_0x2b30d7(0x14b)](_0x587907,_0x5edbea)[_0x2b30d7(0x15d)]()+'/0';}return _0x4d1540[_0x2b30d7(0x170)](logDebug,_0x4d1540['pRlVJ'],_0x13181f),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0xafe12e=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x1c20b8=[_0x4eb1a2(0x163),_0x4eb1a2(0x14d)]){const _0x2d3040=_0x4eb1a2;return napCatCore[_0x2d3040(0x171)][_0x2d3040(0x144)]()[_0x2d3040(0x15b)](_0x1c20b8);}static[_0x4eb1a2(0x15c)](_0x477049={}){const _0x449e3e=_0x4eb1a2;return napCatCore[_0x449e3e(0x171)][_0x449e3e(0x144)]()[_0x449e3e(0x14e)](_0x477049);}static[_0x4eb1a2(0x167)](){const _0x2a9954=_0x4eb1a2;return napCatCore[_0x2a9954(0x171)][_0x2a9954(0x144)]()['scanCache']();}static['getHotUpdateCachePath'](){return'';}static[_0x4eb1a2(0x15a)](){return'';}static[_0x4eb1a2(0x16b)](_0x5c68d9,_0x3f9343=0x3e8,_0x91afb7=0x0){const _0x1f7f2e=_0x4eb1a2;return napCatCore['session'][_0x1f7f2e(0x144)]()[_0x1f7f2e(0x173)](_0x5c68d9,_0x3f9343,0x1,_0x91afb7);}static[_0x4eb1a2(0x139)](_0x4ec44d,_0x81e9e7=0x3e8,_0x33e247){const _0x33c7e3=_0x33e247?_0x33e247:{'fileType':_0x4ec44d};}static async[_0x4eb1a2(0x161)](_0x2a307e=[],_0x151bf9=[]){return napCatCore['session']['getStorageCleanService']()['clearChatCacheInfo'](_0x2a307e,_0x151bf9);}} \ No newline at end of file +const _0x463730=_0x5bc9;function _0x254f(){const _0x47b692=['4160886tdRMIQ','getHotUpdateCachePath','addCacheScanedPaths','util','getFileType','clearCache','10419054UZBPSp','toUpperCase','clearChatCache','msgId','getRichMediaFilePathForGuild','includes','Doqxo','clearCacheDataByKeys','set','图片url获取失败','filePath','getChatCacheInfo','startsWith','tmp','6qymWGq','getImageUrl','mZfNp','join','onRichMediaDownloadComplete','defaultFileDownloadPath','rGBdj','4ZFZipf','611389GBLsTq','getImageSize','mySeY','fileUuid','getCacheSessionPathList','uploadFile','md5HexStr','PIC','copyFile','getStorageCleanService','getChatCacheList','getDesktopTmpPath','/download','getFileSize','getRkey','originImageUrl','56prqgRx','hvSBn','ext','CtNoa','scanCache','ZCEmf','getMsgService','addCacheScannedPaths','tFgbc','9187920KFmfbB','AfzMo','fileTypeFromFile','uKGEO','1072184BSaXpe','downloadRichMedia','unlink','JVZWR','7419130AZVHwe','oPlAg','onLoginSuccess','1083699HjXmiZ','getFileCacheInfo','clearChatCacheInfo','session'];_0x254f=function(){return _0x47b692;};return _0x254f();}(function(_0x57cad8,_0x4b2039){const _0x466adf=_0x5bc9,_0x116eef=_0x57cad8();while(!![]){try{const _0x1021a7=parseInt(_0x466adf(0x11f))/0x1*(parseInt(_0x466adf(0x117))/0x2)+-parseInt(_0x466adf(0x103))/0x3+-parseInt(_0x466adf(0x11e))/0x4*(parseInt(_0x466adf(0xfc))/0x5)+parseInt(_0x466adf(0x109))/0x6+-parseInt(_0x466adf(0x12f))/0x7*(-parseInt(_0x466adf(0xf8))/0x8)+parseInt(_0x466adf(0xff))/0x9+-parseInt(_0x466adf(0xf4))/0xa;if(_0x1021a7===_0x4b2039)break;else _0x116eef['push'](_0x116eef['shift']());}catch(_0xbdf136){_0x116eef['push'](_0x116eef['shift']());}}}(_0x254f,0xedb7b));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x30d104 from'path';import _0x14504e from'fs';function _0x5bc9(_0x297afb,_0x1d2ee6){const _0x254fdc=_0x254f();return _0x5bc9=function(_0x5bc915,_0x458799){_0x5bc915=_0x5bc915-0xf4;let _0x407e7b=_0x254fdc[_0x5bc915];return _0x407e7b;},_0x5bc9(_0x297afb,_0x1d2ee6);}import _0x14714a from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x32b25f from'file-type';import{MsgListener}from'@/core/listeners';import _0x418758 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[_0x463730(0x11b)]=_0x1d9b5a=>{for(const [_0x1ed655,_0x4688c5]of downloadMediaTasks){_0x4688c5(_0x1d9b5a),downloadMediaTasks['delete'](_0x1ed655);}},setTimeout(()=>{const _0x52f133=_0x463730;napCatCore[_0x52f133(0xfe)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x463730(0x107)](_0x25f05e){const _0x3466c7=_0x463730;return _0x32b25f[_0x3466c7(0xf6)](_0x25f05e);}static async[_0x463730(0x127)](_0x506a76,_0x2a9a5c){const _0x3559f9=_0x463730;await napCatCore['util'][_0x3559f9(0x127)](_0x506a76,_0x2a9a5c);}static async[_0x463730(0x12c)](_0x1d0f14){const _0x1af303=_0x463730;return await napCatCore[_0x1af303(0x106)][_0x1af303(0x12c)](_0x1d0f14);}static async[_0x463730(0x124)](_0x25f818,_0x509700=ElementType[_0x463730(0x126)],_0x4b6e1c=0x0){const _0x3d7323=_0x463730,_0x4675d4={'Doqxo':function(_0x103348,_0xa39f79){return _0x103348(_0xa39f79);},'tFgbc':function(_0x26d66c,_0x21f5b9){return _0x26d66c+_0x21f5b9;},'mZfNp':function(_0x5cea31,_0x195db9){return _0x5cea31===_0x195db9;}},_0x20a680=await _0x4675d4[_0x3d7323(0x10f)](calculateFileMD5,_0x25f818);let _0x537682=(await NTQQFileApi['getFileType'](_0x25f818))?.[_0x3d7323(0x131)]||'';_0x537682&&(_0x537682=_0x4675d4[_0x3d7323(0x137)]('.',_0x537682));let _0x3d2b3e=''+_0x30d104['basename'](_0x25f818);_0x4675d4[_0x3d7323(0x119)](_0x3d2b3e['indexOf']('.'),-0x1)&&(_0x3d2b3e+=_0x537682);const _0x6687b8=napCatCore['session'][_0x3d7323(0x135)]()[_0x3d7323(0x10d)]({'md5HexStr':_0x20a680,'fileName':_0x3d2b3e,'elementType':_0x509700,'elementSubType':_0x4b6e1c,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x25f818,_0x6687b8);const _0x24c82b=await NTQQFileApi[_0x3d7323(0x12c)](_0x25f818);return{'md5':_0x20a680,'fileName':_0x3d2b3e,'path':_0x6687b8,'fileSize':_0x24c82b,'ext':_0x537682};}static async['downloadMedia'](_0x3ae782,_0x261335,_0x10f5d9,_0x22117f,_0x2b4208,_0x59926a,_0x294f03=0x3e8*0x3c*0x2,_0x3d73ec=![]){const _0x3103af=_0x463730,_0x9ece03={'AfzMo':function(_0x1128a1,_0x33775e){return _0x1128a1===_0x33775e;},'mySeY':function(_0x3293e7,_0x184022){return _0x3293e7(_0x184022);},'bCRXj':function(_0x21fc0c,_0x330d21,_0x48c136){return _0x21fc0c(_0x330d21,_0x48c136);}};if(_0x59926a&&_0x14504e['existsSync'](_0x59926a)){if(_0x3d73ec)try{await _0x14714a[_0x3103af(0xfa)](_0x59926a);}catch(_0x217101){}else return _0x59926a;}return new Promise((_0xd5ee0a,_0x217f6f)=>{const _0x321c8f=_0x3103af,_0x1ed068={'qdIxd':function(_0x102830,_0x150f59){return _0x9ece03['mySeY'](_0x102830,_0x150f59);}};let _0xf63f2e=![];const _0x17fc77=_0x4449b6=>{const _0x2ca264=_0x5bc9;if(_0x9ece03[_0x2ca264(0xf5)](_0x4449b6[_0x2ca264(0x10c)],_0x3ae782)){_0xf63f2e=!![];let _0x1a4b52=_0x4449b6[_0x2ca264(0x113)];if(_0x1a4b52[_0x2ca264(0x115)]('\x5c')){const _0x5465a5=sessionConfig[_0x2ca264(0x11c)];_0x1a4b52=_0x30d104[_0x2ca264(0x11a)](_0x5465a5,_0x1a4b52);}_0x9ece03[_0x2ca264(0x121)](_0xd5ee0a,_0x1a4b52);}};downloadMediaTasks[_0x321c8f(0x111)](randomUUID(),_0x17fc77),_0x9ece03['bCRXj'](setTimeout,()=>{!_0xf63f2e&&_0x1ed068['qdIxd'](_0x217f6f,'下载超时');},_0x294f03),napCatCore[_0x321c8f(0x102)][_0x321c8f(0x135)]()[_0x321c8f(0xf9)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3ae782,'chatType':_0x261335,'peerUid':_0x10f5d9,'elementId':_0x22117f,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2b4208});});}static async[_0x463730(0x120)](_0x4321b0){const _0x13ffd8={'rGBdj':function(_0x46f889,_0x51d483,_0xe96eb){return _0x46f889(_0x51d483,_0xe96eb);}};return new Promise((_0x414124,_0x3e2a95)=>{const _0x149279=_0x5bc9,_0x5a94af={'oPlAg':function(_0x460fc1,_0x453eac){return _0x460fc1(_0x453eac);}};_0x13ffd8[_0x149279(0x11d)](_0x418758,_0x4321b0,(_0x196f32,_0x30db80)=>{const _0x19e203=_0x149279;_0x196f32?_0x5a94af[_0x19e203(0xfd)](_0x3e2a95,_0x196f32):_0x5a94af[_0x19e203(0xfd)](_0x414124,_0x30db80);});});}static async[_0x463730(0x118)](_0x3ca838,_0x30fbaf){const _0x2e56e4=_0x463730,_0x6d30c1={'ZCEmf':'&rkey=','uKGEO':function(_0x697460,_0x26d739){return _0x697460+_0x26d739;},'JVZWR':function(_0x2458b3,_0x1612dd){return _0x2458b3+_0x1612dd;},'CtNoa':function(_0x358fa9,_0x41e522){return _0x358fa9+_0x41e522;},'SKnnn':function(_0x5ea937,_0x102083,_0x5e7629){return _0x5ea937(_0x102083,_0x5e7629);},'hvSBn':_0x2e56e4(0x112)};if(!_0x3ca838)return'';const _0x27a4db=_0x3ca838[_0x2e56e4(0x12e)],_0x41ebeb=_0x3ca838[_0x2e56e4(0x125)],_0x443a4a=_0x3ca838['md5HexStr'],_0x4d9fad=_0x3ca838[_0x2e56e4(0x122)];if(_0x27a4db){if(_0x27a4db['startsWith'](_0x2e56e4(0x12b))){if(_0x27a4db[_0x2e56e4(0x10e)](_0x6d30c1[_0x2e56e4(0x134)]))return _0x6d30c1[_0x2e56e4(0xf7)](IMAGE_HTTP_HOST_NT,_0x27a4db);const _0x20f6a0=await rkeyManager[_0x2e56e4(0x12d)](),_0x1f9ae0=_0x30fbaf?_0x20f6a0['private_rkey']:_0x20f6a0['group_rkey'];return _0x6d30c1[_0x2e56e4(0xf7)](_0x6d30c1[_0x2e56e4(0xfb)](IMAGE_HTTP_HOST_NT,_0x27a4db),''+_0x1f9ae0);}else return _0x6d30c1[_0x2e56e4(0x132)](IMAGE_HTTP_HOST,_0x27a4db);}else{if(_0x443a4a||_0x41ebeb)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+(_0x443a4a||_0x41ebeb)[_0x2e56e4(0x10a)]()+'/0';}return _0x6d30c1['SKnnn'](logDebug,_0x6d30c1[_0x2e56e4(0x130)],_0x3ca838),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x5bc609=!![]){return'';}static[_0x463730(0x123)](){return'';}static[_0x463730(0x108)](_0xa79f9b=[_0x463730(0x116),'hotUpdate']){const _0x5659e4=_0x463730;return napCatCore[_0x5659e4(0x102)][_0x5659e4(0x128)]()[_0x5659e4(0x110)](_0xa79f9b);}static[_0x463730(0x136)](_0xae050e={}){const _0x109227=_0x463730;return napCatCore[_0x109227(0x102)]['getStorageCleanService']()[_0x109227(0x105)](_0xae050e);}static[_0x463730(0x133)](){const _0x3105a5=_0x463730;return napCatCore[_0x3105a5(0x102)]['getStorageCleanService']()[_0x3105a5(0x133)]();}static[_0x463730(0x104)](){return'';}static[_0x463730(0x12a)](){return'';}static[_0x463730(0x129)](_0x4c0dd1,_0x10c3d6=0x3e8,_0x27f7e=0x0){const _0x5302ae=_0x463730;return napCatCore[_0x5302ae(0x102)][_0x5302ae(0x128)]()[_0x5302ae(0x114)](_0x4c0dd1,_0x10c3d6,0x1,_0x27f7e);}static[_0x463730(0x100)](_0x4d2490,_0x5aa851=0x3e8,_0x3e00b0){const _0x5543e5=_0x3e00b0?_0x3e00b0:{'fileType':_0x4d2490};}static async[_0x463730(0x10b)](_0x50db51=[],_0x526c55=[]){const _0x5bf969=_0x463730;return napCatCore[_0x5bf969(0x102)][_0x5bf969(0x128)]()[_0x5bf969(0x101)](_0x50db51,_0x526c55);}} \ 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 b34a1898..0be1234f 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x461552=_0x5d71;function _0x5273(){const _0x5c2388=['640886vTEcky','friendUid','1095656pNfiGX','FYDbE','327624iJOypC','getBuddyService','6viFMZi','18064zkrZmv','session','240iKClRA','buddyList','getFriends','5977720meJZCH','1290926GMwvVk','push','handleFriendRequest','9pHBNMg','NodeIKernelBuddyListener/onBuddyListChange','1752295vPeVgV'];_0x5273=function(){return _0x5c2388;};return _0x5273();}(function(_0x40d4cb,_0x8fb904){const _0x55d2ee=_0x5d71,_0x366080=_0x40d4cb();while(!![]){try{const _0x2260b8=parseInt(_0x55d2ee(0x1f7))/0x1+parseInt(_0x55d2ee(0x1f9))/0x2+-parseInt(_0x55d2ee(0x200))/0x3*(-parseInt(_0x55d2ee(0x1fe))/0x4)+-parseInt(_0x55d2ee(0x1f6))/0x5*(parseInt(_0x55d2ee(0x1fd))/0x6)+-parseInt(_0x55d2ee(0x204))/0x7+parseInt(_0x55d2ee(0x1fb))/0x8+parseInt(_0x55d2ee(0x1f4))/0x9*(-parseInt(_0x55d2ee(0x203))/0xa);if(_0x2260b8===_0x8fb904)break;else _0x366080['push'](_0x366080['shift']());}catch(_0x5ea35a){_0x366080['push'](_0x366080['shift']());}}}(_0x5273,0x6fe3a));import{napCatCore}from'@/core';function _0x5d71(_0x2d7cd7,_0x34c6c2){const _0x5273f3=_0x5273();return _0x5d71=function(_0x5d713d,_0x4bb5d6){_0x5d713d=_0x5d713d-0x1f4;let _0x29e200=_0x5273f3[_0x5d713d];return _0x29e200;},_0x5d71(_0x2d7cd7,_0x34c6c2);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x461552(0x202)](_0x47a935=![]){const _0x4ae5d5=_0x461552,_0x4ce179={'FYDbE':'NodeIKernelBuddyService/getBuddyList'};let [_0x51ffc0,_0x174acc]=await NTEventDispatch['CallNormalEvent'](_0x4ce179[_0x4ae5d5(0x1fa)],_0x4ae5d5(0x1f5),0x1,0x1388,_0x47a935);const _0x1b1f73=[];for(const _0x5e1008 of _0x174acc){for(const _0xa48e41 of _0x5e1008[_0x4ae5d5(0x201)]){_0x1b1f73[_0x4ae5d5(0x205)](_0xa48e41);}}return _0x1b1f73;}static async[_0x461552(0x206)](_0xfbb0af,_0x13f6f0){const _0x5ee8e9=_0x461552;napCatCore[_0x5ee8e9(0x1ff)][_0x5ee8e9(0x1fc)]()?.['approvalFriendRequest']({'friendUid':_0xfbb0af[_0x5ee8e9(0x1f8)],'reqTime':_0xfbb0af['reqTime'],'accept':_0x13f6f0});}} \ No newline at end of file +const _0x219a86=_0x5576;function _0x1ec7(){const _0x3170e5=['handleFriendRequest','NodeIKernelBuddyService/getBuddyList','getFriends','getBuddyService','377790dyuEYV','668652ZEmwqZ','32913MlVRwZ','YMVry','35623QtzdlA','232919KRvBWY','11090OhxrRs','approvalFriendRequest','NodeIKernelBuddyListener/onBuddyListChange','friendUid','5321796yVJiyx','3918tIGxQM','6085fDstDA','1704vlzLAN','reqTime'];_0x1ec7=function(){return _0x3170e5;};return _0x1ec7();}(function(_0x13ffde,_0x17f4d6){const _0x55b186=_0x5576,_0x3b1d3e=_0x13ffde();while(!![]){try{const _0x3d77a6=-parseInt(_0x55b186(0x7c))/0x1+parseInt(_0x55b186(0x8b))/0x2+-parseInt(_0x55b186(0x8a))/0x3+-parseInt(_0x55b186(0x81))/0x4+parseInt(_0x55b186(0x83))/0x5*(-parseInt(_0x55b186(0x82))/0x6)+parseInt(_0x55b186(0x7b))/0x7*(-parseInt(_0x55b186(0x84))/0x8)+parseInt(_0x55b186(0x8c))/0x9*(parseInt(_0x55b186(0x7d))/0xa);if(_0x3d77a6===_0x17f4d6)break;else _0x3b1d3e['push'](_0x3b1d3e['shift']());}catch(_0x4fd24e){_0x3b1d3e['push'](_0x3b1d3e['shift']());}}}(_0x1ec7,0xc8adf));import{napCatCore}from'@/core';function _0x5576(_0x38849f,_0x34ab84){const _0x1ec7ab=_0x1ec7();return _0x5576=function(_0x55765,_0xb6bd67){_0x55765=_0x55765-0x7b;let _0x437059=_0x1ec7ab[_0x55765];return _0x437059;},_0x5576(_0x38849f,_0x34ab84);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x219a86(0x88)](_0x12d183=![]){const _0x19577c=_0x219a86,_0x27dbd4={'YMVry':_0x19577c(0x87),'arYRR':_0x19577c(0x7f)};let [_0x15af98,_0x4dab10]=await NTEventDispatch['CallNormalEvent'](_0x27dbd4[_0x19577c(0x8d)],_0x27dbd4['arYRR'],0x1,0x1388,_0x12d183);const _0x33c8b0=[];for(const _0x15f868 of _0x4dab10){for(const _0x1d9ae9 of _0x15f868['buddyList']){_0x33c8b0['push'](_0x1d9ae9);}}return _0x33c8b0;}static async[_0x219a86(0x86)](_0xc5275a,_0x5d33a1){const _0xeae37e=_0x219a86;napCatCore['session'][_0xeae37e(0x89)]()?.[_0xeae37e(0x7e)]({'friendUid':_0xc5275a[_0xeae37e(0x80)],'reqTime':_0xc5275a[_0xeae37e(0x85)],'accept':_0x5d33a1});}} \ 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 0fcab220..54f2691a 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x4e9f(_0x2ee535,_0x2c03e9){const _0x2f98fe=_0x2f98();return _0x4e9f=function(_0x4e9fa4,_0x2056a4){_0x4e9fa4=_0x4e9fa4-0xfb;let _0x45312a=_0x2f98fe[_0x4e9fa4];return _0x45312a;},_0x4e9f(_0x2ee535,_0x2c03e9);}const _0x15c35f=_0x4e9f;(function(_0x5e8ab1,_0x47f132){const _0x469128=_0x4e9f,_0x420c7a=_0x5e8ab1();while(!![]){try{const _0x5a5bc2=parseInt(_0x469128(0x108))/0x1*(-parseInt(_0x469128(0x111))/0x2)+parseInt(_0x469128(0x119))/0x3+parseInt(_0x469128(0x12a))/0x4*(-parseInt(_0x469128(0x125))/0x5)+parseInt(_0x469128(0x102))/0x6*(-parseInt(_0x469128(0x105))/0x7)+parseInt(_0x469128(0x133))/0x8+-parseInt(_0x469128(0x135))/0x9*(-parseInt(_0x469128(0x121))/0xa)+parseInt(_0x469128(0x10b))/0xb;if(_0x5a5bc2===_0x47f132)break;else _0x420c7a['push'](_0x420c7a['shift']());}catch(_0x33bcda){_0x420c7a['push'](_0x420c7a['shift']());}}}(_0x2f98,0x361d9));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2f98(){const _0x5daa9b=['XxMHh','handleGroupRequest','modifyGroupName','publishGroupBulletin','getRichMediaService','getGroupNotifies','NodeIKernelGroupListener/onGroupSingleScreenNotifies','CallNoListenerEvent','1397712ELDLuK','TITLETYPE','999ZBsXja','qun.qq.com','GetGroupFileCount','modifyMemberRole','kickMember','getMemberExtInfo','getGroupService','deleteGroupFile','setMemberRole','getPSkey','HLiEJ','NodeIKernelGroupService/getGroupList','createGroupFolder','30UVSJYe','createMemberListScene','getGroups','111363KGdwgX','bHrXT','CallNormalEvent','29740FzmCqD','infos','group','3845919AhOuII','setGroupShutUp','groupCode','errCode','setGroupTitle','oFuKE','6MdoTwx','batchGetGroupFileCount','CWuaz','NodeIKernelGroupService/getSingleScreenNotifies','result','getNextMemberList','modifyMemberCardName','NodeIKernelGroupListener/onGroupListUpdate','256566sUhLsX','getSingleScreenNotifies','groupMemberList_MainWindow','uploadGroupBulletinPic','VXWSz','arkJson','getGroupRemainAtTimes','banGroup','14330etUypa','errMsg','quitGroup','ABsWU','10ABytVp','deleteGroupFolder','SJtGX','CreatGroupFileFolder','session','757012xjaIJE'];_0x2f98=function(){return _0x5daa9b;};return _0x2f98();}export class NTQQGroupApi{static async[_0x15c35f(0x104)](_0x2b23b1=![]){const _0x499b69=_0x15c35f,_0x2cefc2={'TBfpi':_0x499b69(0x100)};let [_0x561a26,_0x21a658,_0x55a1a4]=await NTEventDispatch[_0x499b69(0x107)](_0x2cefc2['TBfpi'],_0x499b69(0x118),0x1,0x1388,_0x2b23b1);return _0x55a1a4;}static async[_0x15c35f(0x128)](_0x34c9cd,_0x377df2){const _0x251079=_0x15c35f;return napCatCore['session'][_0x251079(0x12f)]()[_0x251079(0x101)](_0x34c9cd,_0x377df2);}static async['DelGroupFile'](_0x377155,_0x47c9e5){const _0x4d40be=_0x15c35f;return napCatCore[_0x4d40be(0x129)][_0x4d40be(0x12f)]()[_0x4d40be(0xfc)](_0x377155,[0x66],_0x47c9e5);}static async['DelGroupFileFolder'](_0x442932,_0x110657){const _0x4789ce=_0x15c35f;return napCatCore[_0x4789ce(0x129)]['getRichMediaService']()[_0x4789ce(0x126)](_0x442932,_0x110657);}static async[_0x15c35f(0x11a)](_0x41a296){const _0x3a31cd=_0x15c35f,_0x200382={'XxMHh':_0x3a31cd(0x114),'bHrXT':_0x3a31cd(0x131)};let [_0x1919ff,_0x1e6f3f,_0x223b0a,_0x55e537]=await NTEventDispatch[_0x3a31cd(0x107)](_0x200382[_0x3a31cd(0x12b)],_0x200382[_0x3a31cd(0x106)],0x1,0x1388,![],'',_0x41a296);return _0x55e537;}static async['getGroupMembers'](_0x5b71cf,_0x1a9f02=0xbb8){const _0x2a217a=_0x15c35f,_0x3df266={'sLnRI':_0x2a217a(0x11b),'oFuKE':function(_0x3ccc75,_0x3c4894){return _0x3ccc75!==_0x3c4894;},'VXWSz':function(_0xf73119,_0x413ba9){return _0xf73119+_0x413ba9;},'ABsWU':'获取群成员列表出错,'},_0x4bd544=napCatCore[_0x2a217a(0x129)][_0x2a217a(0xfb)](),_0x4aa6ab=_0x4bd544[_0x2a217a(0x103)](_0x5b71cf,_0x3df266['sLnRI']),_0xe867a2=await _0x4bd544[_0x2a217a(0x116)](_0x4aa6ab,undefined,_0x1a9f02);if(_0x3df266[_0x2a217a(0x110)](_0xe867a2[_0x2a217a(0x10e)],0x0))throw _0x3df266[_0x2a217a(0x11d)](_0x3df266[_0x2a217a(0x124)],_0xe867a2[_0x2a217a(0x122)]);return _0xe867a2[_0x2a217a(0x115)][_0x2a217a(0x109)];}static async[_0x15c35f(0x130)](){}static async[_0x15c35f(0x137)](_0x982722){const _0x5aedec=_0x15c35f;return napCatCore['session']['getRichMediaService']()[_0x5aedec(0x112)](_0x982722);}static async['getGroupIgnoreNotifies'](){}static async['getArkJsonGroupShare'](_0x11301b){const _0x574b20=_0x15c35f,_0x3cf793={'SJtGX':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x53d38c=await NTEventDispatch[_0x574b20(0x132)](_0x3cf793[_0x574b20(0x127)],0x1388,_0x11301b);return _0x53d38c[_0x574b20(0x11e)];}static async[_0x15c35f(0x11c)](_0x230f54,_0x527012){const _0x491e03=_0x15c35f,_0x36237b=(await NTQQUserApi[_0x491e03(0xfe)]([_0x491e03(0x136)]))[_0x491e03(0x136)];return napCatCore[_0x491e03(0x129)][_0x491e03(0xfb)]()[_0x491e03(0x11c)](_0x230f54,_0x36237b,_0x527012);}static async[_0x15c35f(0x12c)](_0x370b61,_0x33aa8b,_0x4cbd41){const _0x375793=_0x15c35f;return napCatCore['session'][_0x375793(0xfb)]()['operateSysNotify'](![],{'operateType':_0x33aa8b,'targetMsg':{'seq':_0x370b61['seq'],'type':_0x370b61['type'],'groupCode':_0x370b61[_0x375793(0x10a)][_0x375793(0x10d)],'postscript':_0x4cbd41||''}});}static async[_0x15c35f(0x123)](_0x3f872b){const _0x52630b=_0x15c35f;return napCatCore[_0x52630b(0x129)]['getGroupService']()[_0x52630b(0x123)](_0x3f872b);}static async[_0x15c35f(0x139)](_0x13723c,_0x5e6023,_0x4fe635=![],_0x5eb835=''){const _0x1e6953=_0x15c35f;return napCatCore[_0x1e6953(0x129)][_0x1e6953(0xfb)]()[_0x1e6953(0x139)](_0x13723c,_0x5e6023,_0x4fe635,_0x5eb835);}static async['banMember'](_0x3e1955,_0x56e50e){const _0xa1eac3=_0x15c35f;return napCatCore[_0xa1eac3(0x129)][_0xa1eac3(0xfb)]()['setMemberShutUp'](_0x3e1955,_0x56e50e);}static async[_0x15c35f(0x120)](_0x28ee2b,_0x310d2a){const _0x3823f8=_0x15c35f;return napCatCore[_0x3823f8(0x129)]['getGroupService']()[_0x3823f8(0x10c)](_0x28ee2b,_0x310d2a);}static async['setMemberCard'](_0x4fbf55,_0x373ba8,_0x4c9aa8){const _0x5a9c6f=_0x15c35f;return napCatCore['session'][_0x5a9c6f(0xfb)]()[_0x5a9c6f(0x117)](_0x4fbf55,_0x373ba8,_0x4c9aa8);}static async[_0x15c35f(0xfd)](_0xc4ac4f,_0x120eda,_0x344ba1){const _0x8333e5=_0x15c35f;return napCatCore[_0x8333e5(0x129)][_0x8333e5(0xfb)]()[_0x8333e5(0x138)](_0xc4ac4f,_0x120eda,_0x344ba1);}static async['setGroupName'](_0x52b53e,_0x1fab15){const _0xab395=_0x15c35f;return napCatCore['session'][_0xab395(0xfb)]()[_0xab395(0x12d)](_0x52b53e,_0x1fab15,![]);}static async[_0x15c35f(0x10f)](_0xe7d2ad,_0x40ede8,_0x5eae4e){}static async[_0x15c35f(0x12e)](_0x38a345,_0x253a32,_0x233d6c=undefined,_0x38d1be=0x0,_0x3ba810=0x0){const _0xaeac7b=_0x15c35f,_0x443f3e={'CWuaz':'qun.qq.com','HLiEJ':function(_0x489862,_0x46c5c0){return _0x489862(_0x46c5c0);}},_0x5252fc=(await NTQQUserApi[_0xaeac7b(0xfe)]([_0x443f3e[_0xaeac7b(0x113)]]))[_0x443f3e[_0xaeac7b(0x113)]];let _0x2d9d73={'text':_0x443f3e[_0xaeac7b(0xff)](encodeURI,_0x253a32),'picInfo':_0x233d6c,'oldFeedsId':'','pinned':_0x38d1be,'confirmRequired':_0x3ba810};return napCatCore[_0xaeac7b(0x129)][_0xaeac7b(0xfb)]()['publishGroupBulletin'](_0x38a345,_0x5252fc,_0x2d9d73);}static async[_0x15c35f(0x11f)](_0x53b99f){const _0x31ebcb=_0x15c35f;napCatCore['session']['getGroupService']()[_0x31ebcb(0x11f)](_0x53b99f);}static async[_0x15c35f(0x13a)](_0x4256dc,_0x5559b5){const _0x56fece=_0x15c35f;return napCatCore[_0x56fece(0x129)][_0x56fece(0xfb)]()[_0x56fece(0x13a)]({'groupCode':_0x4256dc,'sourceType':MemberExtSourceType[_0x56fece(0x134)],'beginUin':'0','dataTime':'0','uinList':[_0x5559b5],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +const _0x1f455d=_0x26fb;(function(_0x18f86d,_0x3303df){const _0xb7bd63=_0x26fb,_0x432b67=_0x18f86d();while(!![]){try{const _0x57ba19=-parseInt(_0xb7bd63(0xa4))/0x1+-parseInt(_0xb7bd63(0x82))/0x2*(-parseInt(_0xb7bd63(0x80))/0x3)+parseInt(_0xb7bd63(0xa9))/0x4*(parseInt(_0xb7bd63(0x83))/0x5)+parseInt(_0xb7bd63(0xa6))/0x6*(-parseInt(_0xb7bd63(0xaf))/0x7)+parseInt(_0xb7bd63(0x87))/0x8*(parseInt(_0xb7bd63(0x95))/0x9)+-parseInt(_0xb7bd63(0x8d))/0xa+parseInt(_0xb7bd63(0x84))/0xb;if(_0x57ba19===_0x3303df)break;else _0x432b67['push'](_0x432b67['shift']());}catch(_0x24ac04){_0x432b67['push'](_0x432b67['shift']());}}}(_0x6bde,0xaee84));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x26fb(_0x42a58d,_0x1c9f70){const _0x6bdeb5=_0x6bde();return _0x26fb=function(_0x26fb87,_0x50b008){_0x26fb87=_0x26fb87-0x78;let _0x4a8b4a=_0x6bdeb5[_0x26fb87];return _0x4a8b4a;},_0x26fb(_0x42a58d,_0x1c9f70);}function _0x6bde(){const _0x991eb3=['infos','13616090qojAmp','setMemberRole','CallNormalEvent','getArkJsonGroupShare','handleGroupRequest','type','quitGroup','getRichMediaService','27GPjyUG','deleteGroupFolder','groupCode','setMemberShutUp','vBEXX','CallNoListenerEvent','TITLETYPE','publishGroupBulletin','getGroupRemainAtTimes','getGroupNotifies','createMemberListScene','qun.qq.com','setMemberCard','modifyMemberCardName','getGroupIgnoreNotifies','1289702MeciIG','NodeIKernelGroupListener/onGroupListUpdate','180ZJfRIp','NodeIKernelGroupService/getGroupList','getGroupMembers','4NjVimW','获取群成员列表出错,','getMemberExtInfo','getGroupService','lqugR','batchGetGroupFileCount','192675AHqprO','DelGroupFileFolder','hzOdU','seq','NodeIKernelGroupService/getSingleScreenNotifies','groupMemberList_MainWindow','uploadGroupBulletinPic','banMember','NodeIKernelGroupService/getGroupRecommendContactArkJson','errCode','DelGroupFile','getSingleScreenNotifies','kickMember','getGroups','errMsg','result','svFgt','1220079lDpULo','modifyMemberRole','4JKtcpf','4720670XYWSZF','13346553ThbjbT','arkJson','session','3260368MqFszJ','FhOJA','cLdBc','deleteGroupFile','GetGroupFileCount'];_0x6bde=function(){return _0x991eb3;};return _0x6bde();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x1f455d(0x7c)](_0x61a496=![]){const _0xaf4ef9=_0x1f455d,_0x287b79={'uHNvb':_0xaf4ef9(0xa7)};let [_0x99d37f,_0x3b6303,_0x1b1d28]=await NTEventDispatch['CallNormalEvent'](_0x287b79['uHNvb'],_0xaf4ef9(0xa5),0x1,0x1388,_0x61a496);return _0x1b1d28;}static async['CreatGroupFileFolder'](_0x2f898c,_0x522bf7){const _0x181bb8=_0x1f455d;return napCatCore[_0x181bb8(0x86)][_0x181bb8(0x94)]()['createGroupFolder'](_0x2f898c,_0x522bf7);}static async[_0x1f455d(0x79)](_0x36ca27,_0x4d25be){const _0x379b57=_0x1f455d;return napCatCore[_0x379b57(0x86)]['getRichMediaService']()[_0x379b57(0x8a)](_0x36ca27,[0x66],_0x4d25be);}static async[_0x1f455d(0xb0)](_0x53007c,_0x3b501f){const _0xb8e572=_0x1f455d;return napCatCore['session']['getRichMediaService']()[_0xb8e572(0x96)](_0x53007c,_0x3b501f);}static async[_0x1f455d(0x7a)](_0x55f2a3){const _0x888324=_0x1f455d,_0x11c513={'hzOdU':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x38231b,_0x233bde,_0x14626c,_0x548aa7]=await NTEventDispatch[_0x888324(0x8f)](_0x888324(0xb3),_0x11c513[_0x888324(0xb1)],0x1,0x1388,![],'',_0x55f2a3);return _0x548aa7;}static async[_0x1f455d(0xa8)](_0x13e550,_0x1ad19d=0xbb8){const _0x4450f7=_0x1f455d,_0x341def={'jjHGc':function(_0x1d9089,_0x11a842){return _0x1d9089!==_0x11a842;},'FhOJA':function(_0x4c6b85,_0x59d379){return _0x4c6b85+_0x59d379;}},_0x252d21=napCatCore[_0x4450f7(0x86)][_0x4450f7(0xac)](),_0x2f85e0=_0x252d21[_0x4450f7(0x9f)](_0x13e550,_0x4450f7(0xb4)),_0x3bc088=await _0x252d21['getNextMemberList'](_0x2f85e0,undefined,_0x1ad19d);if(_0x341def['jjHGc'](_0x3bc088[_0x4450f7(0x78)],0x0))throw _0x341def[_0x4450f7(0x88)](_0x4450f7(0xaa),_0x3bc088[_0x4450f7(0x7d)]);return _0x3bc088[_0x4450f7(0x7e)][_0x4450f7(0x8c)];}static async[_0x1f455d(0x9e)](){}static async[_0x1f455d(0x8b)](_0x5db536){const _0x5c2b2b=_0x1f455d;return napCatCore[_0x5c2b2b(0x86)][_0x5c2b2b(0x94)]()[_0x5c2b2b(0xae)](_0x5db536);}static async[_0x1f455d(0xa3)](){}static async[_0x1f455d(0x90)](_0x351114){const _0x34acdb=_0x1f455d,_0x1d32fb={'LRrXX':_0x34acdb(0xb7)};let _0x194a01=await NTEventDispatch[_0x34acdb(0x9a)](_0x1d32fb['LRrXX'],0x1388,_0x351114);return _0x194a01[_0x34acdb(0x85)];}static async[_0x1f455d(0xb5)](_0x19f94a,_0x15319e){const _0x31c939=_0x1f455d,_0x27b4c6={'svFgt':_0x31c939(0xa0)},_0x234230=(await NTQQUserApi['getPSkey']([_0x31c939(0xa0)]))[_0x27b4c6[_0x31c939(0x7f)]];return napCatCore[_0x31c939(0x86)][_0x31c939(0xac)]()[_0x31c939(0xb5)](_0x19f94a,_0x234230,_0x15319e);}static async[_0x1f455d(0x91)](_0x310ffc,_0x21f7c4,_0x25bf23){const _0x50e4c4=_0x1f455d,_0x1ed01d={'cLdBc':function(_0x27a3a4,_0x5bd7f1){return _0x27a3a4||_0x5bd7f1;}};return napCatCore[_0x50e4c4(0x86)][_0x50e4c4(0xac)]()['operateSysNotify'](![],{'operateType':_0x21f7c4,'targetMsg':{'seq':_0x310ffc[_0x50e4c4(0xb2)],'type':_0x310ffc[_0x50e4c4(0x92)],'groupCode':_0x310ffc['group'][_0x50e4c4(0x97)],'postscript':_0x1ed01d[_0x50e4c4(0x89)](_0x25bf23,'')}});}static async[_0x1f455d(0x93)](_0x26063c){const _0x4e8e38=_0x1f455d;return napCatCore[_0x4e8e38(0x86)][_0x4e8e38(0xac)]()[_0x4e8e38(0x93)](_0x26063c);}static async[_0x1f455d(0x7b)](_0x4caab3,_0x4a3bc9,_0x40a3fa=![],_0x58b693=''){const _0x57917e=_0x1f455d;return napCatCore[_0x57917e(0x86)][_0x57917e(0xac)]()['kickMember'](_0x4caab3,_0x4a3bc9,_0x40a3fa,_0x58b693);}static async[_0x1f455d(0xb6)](_0x3cfc94,_0x145535){const _0x37726e=_0x1f455d;return napCatCore['session']['getGroupService']()[_0x37726e(0x98)](_0x3cfc94,_0x145535);}static async['banGroup'](_0xe58f6e,_0x56e3e7){const _0x564b50=_0x1f455d;return napCatCore[_0x564b50(0x86)][_0x564b50(0xac)]()['setGroupShutUp'](_0xe58f6e,_0x56e3e7);}static async[_0x1f455d(0xa1)](_0xf5c2bf,_0x1e5908,_0x1795a6){const _0x339a9b=_0x1f455d;return napCatCore[_0x339a9b(0x86)][_0x339a9b(0xac)]()[_0x339a9b(0xa2)](_0xf5c2bf,_0x1e5908,_0x1795a6);}static async[_0x1f455d(0x8e)](_0x24760f,_0xe05928,_0x22ff2e){const _0x47bf35=_0x1f455d;return napCatCore['session']['getGroupService']()[_0x47bf35(0x81)](_0x24760f,_0xe05928,_0x22ff2e);}static async['setGroupName'](_0x31e7da,_0x5795ed){const _0x29397b=_0x1f455d;return napCatCore[_0x29397b(0x86)][_0x29397b(0xac)]()['modifyGroupName'](_0x31e7da,_0x5795ed,![]);}static async['setGroupTitle'](_0x15c935,_0x2348e8,_0x7baf02){}static async[_0x1f455d(0x9c)](_0x590d46,_0x164b54,_0x5ec8b7=undefined,_0x31dc6e=0x0,_0x3c33fc=0x0){const _0x454695=_0x1f455d,_0x5d6978={'lqugR':'qun.qq.com','vBEXX':function(_0x83e8a4,_0xd72d58){return _0x83e8a4(_0xd72d58);}},_0xa545d=(await NTQQUserApi['getPSkey']([_0x454695(0xa0)]))[_0x5d6978[_0x454695(0xad)]];let _0x1c7957={'text':_0x5d6978[_0x454695(0x99)](encodeURI,_0x164b54),'picInfo':_0x5ec8b7,'oldFeedsId':'','pinned':_0x31dc6e,'confirmRequired':_0x3c33fc};return napCatCore['session']['getGroupService']()[_0x454695(0x9c)](_0x590d46,_0xa545d,_0x1c7957);}static async[_0x1f455d(0x9d)](_0x1536a7){const _0x2435dd=_0x1f455d;napCatCore[_0x2435dd(0x86)][_0x2435dd(0xac)]()['getGroupRemainAtTimes'](_0x1536a7);}static async['getMemberExtInfo'](_0x1cf856,_0x51f45d){const _0x1d1bf7=_0x1f455d;return napCatCore[_0x1d1bf7(0x86)][_0x1d1bf7(0xac)]()[_0x1d1bf7(0xab)]({'groupCode':_0x1cf856,'sourceType':MemberExtSourceType[_0x1d1bf7(0x9b)],'beginUin':'0','dataTime':'0','uinList':[_0x51f45d],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 4f981845..b27bd040 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2e63cb,_0x5c66bb){var _0x112edf=_0x46b5,_0x33ac3f=_0x2e63cb();while(!![]){try{var _0x1a9d3c=parseInt(_0x112edf(0x163))/0x1+-parseInt(_0x112edf(0x165))/0x2*(parseInt(_0x112edf(0x168))/0x3)+-parseInt(_0x112edf(0x161))/0x4+-parseInt(_0x112edf(0x169))/0x5+-parseInt(_0x112edf(0x164))/0x6*(-parseInt(_0x112edf(0x167))/0x7)+parseInt(_0x112edf(0x166))/0x8+parseInt(_0x112edf(0x162))/0x9;if(_0x1a9d3c===_0x5c66bb)break;else _0x33ac3f['push'](_0x33ac3f['shift']());}catch(_0x23e28b){_0x33ac3f['push'](_0x33ac3f['shift']());}}}(_0x49ca,0xc3364));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x49ca(){var _0x2fb9a8=['7854360NtvIMv','601300tzKKQQ','5186556STPCVA','91137YbzhFl','443718TtlOqq','886MjRxiH','8894744cZvfCC','126qKWCaY','3993FxbZeI'];_0x49ca=function(){return _0x2fb9a8;};return _0x49ca();}function _0x46b5(_0x195a56,_0x3f1148){var _0x49caea=_0x49ca();return _0x46b5=function(_0x46b577,_0x45ee67){_0x46b577=_0x46b577-0x161;var _0x12678a=_0x49caea[_0x46b577];return _0x12678a;},_0x46b5(_0x195a56,_0x3f1148);}export*from'./system'; \ No newline at end of file +(function(_0x574b3a,_0x57c79c){var _0x4a2e43=_0x967b,_0x4fcd7d=_0x574b3a();while(!![]){try{var _0xf2e4e0=-parseInt(_0x4a2e43(0x147))/0x1*(-parseInt(_0x4a2e43(0x141))/0x2)+parseInt(_0x4a2e43(0x142))/0x3+parseInt(_0x4a2e43(0x140))/0x4*(-parseInt(_0x4a2e43(0x145))/0x5)+parseInt(_0x4a2e43(0x148))/0x6+-parseInt(_0x4a2e43(0x146))/0x7+-parseInt(_0x4a2e43(0x143))/0x8*(-parseInt(_0x4a2e43(0x149))/0x9)+parseInt(_0x4a2e43(0x144))/0xa*(-parseInt(_0x4a2e43(0x13f))/0xb);if(_0xf2e4e0===_0x57c79c)break;else _0x4fcd7d['push'](_0x4fcd7d['shift']());}catch(_0x84a417){_0x4fcd7d['push'](_0x4fcd7d['shift']());}}}(_0x327b,0x4497f));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x967b(_0x373dec,_0x2581c1){var _0x327bee=_0x327b();return _0x967b=function(_0x967b6e,_0x582120){_0x967b6e=_0x967b6e-0x13f;var _0xbfa1bc=_0x327bee[_0x967b6e];return _0xbfa1bc;},_0x967b(_0x373dec,_0x2581c1);}export*from'./webapi';export*from'./sign';function _0x327b(){var _0x1e3d2d=['1438092sLjXKu','496719HRLQvJ','891PrqnBv','1275764CEqTOd','255620zjGdWC','635175kZOrPe','40uJONnJ','6010vTfDJs','5eEdeNK','1446137TQNPqD','1ZwJaOB'];_0x327b=function(){return _0x1e3d2d;};return _0x327b();}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 aaff544f..da1d32d5 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x33115c=_0x4c87;(function(_0x2d81f2,_0x11769e){const _0x50a2e7=_0x4c87,_0x381d41=_0x2d81f2();while(!![]){try{const _0x44e0d7=parseInt(_0x50a2e7(0x191))/0x1*(parseInt(_0x50a2e7(0x17e))/0x2)+parseInt(_0x50a2e7(0x17f))/0x3+parseInt(_0x50a2e7(0x156))/0x4+parseInt(_0x50a2e7(0x15e))/0x5*(-parseInt(_0x50a2e7(0x15d))/0x6)+-parseInt(_0x50a2e7(0x197))/0x7*(-parseInt(_0x50a2e7(0x167))/0x8)+parseInt(_0x50a2e7(0x181))/0x9*(-parseInt(_0x50a2e7(0x196))/0xa)+-parseInt(_0x50a2e7(0x198))/0xb*(parseInt(_0x50a2e7(0x189))/0xc);if(_0x44e0d7===_0x11769e)break;else _0x381d41['push'](_0x381d41['shift']());}catch(_0x19a26a){_0x381d41['push'](_0x381d41['shift']());}}}(_0x8b4d,0xb9eff));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={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();function _0x8b4d(){const _0x4cdf78=['activateChat','item','setMsgEmojiLikes','bytesData','app','delete','6006552UEsKfD','map','cAsjz','onGroupFileInfoUpdate','sbRCp','getMsgsByMsgId','VHqaF','7455606fptPNt','5ykmjgk','arkElement','Ulrrs','then','toString','epPZC','msgId','oGYCL','find','48lqZtaZ','getMsgsBySeqAndCount','onMsgInfoListUpdate','catch','FfzSs','uid','activateChatAndGetHistory','multiForwardMsg','length','PcmYV','sKUZX','转发消息超时','peerUid','getRichMediaService','forEach','获取群文件列表超时','yNybp','recallMsg','setEmojiLike','mSuIB','sendStatus','laKmv','WcvVF','51196lhffDr','3657060oOWuYK','getGroupFileList','10386YoTOTv','set','sendMsg','parse','com.tencent.multimsg','ssQHx','UhNuG','multiForwardMsgWithComment','10844712XCwupF','addListener','onAddSendMsg','elements','getMultiMsg','setMsgRead','klzcy','senderUid','15dcslfb','session','getMsgService','chatType','getMsgsIncludeSelf','4820CuCSrb','1473794AsVVfs','22RxXDxz','onLoginSuccess','MUWjt','forwardMsg'];_0x8b4d=function(){return _0x4cdf78;};return _0x8b4d();}function _0x4c87(_0x2e24e2,_0x1384f1){const _0x8b4d33=_0x8b4d();return _0x4c87=function(_0x4c87b8,_0x5ec52b){_0x4c87b8=_0x4c87b8-0x153;let _0x5b6246=_0x8b4d33[_0x4c87b8];return _0x5b6246;},_0x4c87(_0x2e24e2,_0x1384f1);}msgListener[_0x33115c(0x159)]=_0x3222c3=>{for(const [_0x3962ee,_0x424021]of GroupFileInfoUpdateTasks){_0x424021(_0x3222c3),GroupFileInfoUpdateTasks['delete'](_0x3962ee);}},msgListener[_0x33115c(0x18b)]=_0x1f90b7=>{const _0x8f6ed4=_0x33115c,_0x485098={'sKUZX':function(_0x312bef,_0x2dd516){return _0x312bef(_0x2dd516);}};for(const [_0x4aedab,_0x34c8c4]of sentMsgTasks){_0x485098[_0x8f6ed4(0x171)](_0x34c8c4,_0x1f90b7),sentMsgTasks[_0x8f6ed4(0x155)](_0x4aedab);}if(sendMessagePool[_0x1f90b7['peerUid']]){const _0x2431c1=sendMessagePool[_0x1f90b7[_0x8f6ed4(0x173)]]?.(_0x1f90b7);_0x2431c1 instanceof Promise&&_0x2431c1[_0x8f6ed4(0x161)]()['catch'](logError);}},msgListener[_0x33115c(0x169)]=_0x359a73=>{const _0x5cdfbc=_0x33115c,_0x3b9455={'VHqaF':function(_0x3c45ba,_0x15f65c){return _0x3c45ba(_0x15f65c);}};_0x359a73[_0x5cdfbc(0x175)](_0x3f6bbe=>{const _0x346726=_0x5cdfbc,_0x160d4b={'mSuIB':function(_0x11dd44,_0x5f03c8){const _0x3ef84c=_0x4c87;return _0x3b9455[_0x3ef84c(0x15c)](_0x11dd44,_0x5f03c8);}};new Promise((_0x8c8ba,_0xa1e084)=>{const _0x32424c=_0x4c87;for(const _0x53785a in sendSuccessCBMap){const _0x27313b=sendSuccessCBMap[_0x53785a],_0xd695af=_0x160d4b[_0x32424c(0x17a)](_0x27313b,_0x3f6bbe),_0x25ef9f=_0x4886e7=>{_0x4886e7&&delete sendSuccessCBMap[_0x53785a];};_0xd695af instanceof Promise?_0xd695af[_0x32424c(0x161)](_0x25ef9f):_0x160d4b[_0x32424c(0x17a)](_0x25ef9f,_0xd695af);}})[_0x346726(0x161)]()[_0x346726(0x16a)](log);});},setTimeout(()=>{const _0x49c31a=_0x33115c;napCatCore[_0x49c31a(0x199)](()=>{const _0x32f7fc=_0x49c31a;napCatCore[_0x32f7fc(0x18a)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x33115c(0x179)](_0x4220e7,_0x1d440b,_0x515f83,_0x2af00d=!![]){const _0x1b947e=_0x33115c,_0x2faa31={'sOGwP':function(_0x581b89,_0x307ec5){return _0x581b89>_0x307ec5;}};return _0x515f83=_0x515f83[_0x1b947e(0x162)](),napCatCore['session'][_0x1b947e(0x193)]()[_0x1b947e(0x19e)](_0x4220e7,_0x1d440b,_0x515f83,_0x2faa31['sOGwP'](_0x515f83[_0x1b947e(0x16f)],0x3)?'2':'1',_0x2af00d);}static async[_0x33115c(0x18d)](_0x43e5a3,_0x5cb3f4,_0x480346){const _0x1635cf=_0x33115c;return napCatCore['session']['getMsgService']()[_0x1635cf(0x18d)](_0x43e5a3,_0x5cb3f4,_0x480346);}static async[_0x33115c(0x15b)](_0x1a5ecb,_0x203077){const _0xd2b80a=_0x33115c;return await napCatCore['session'][_0xd2b80a(0x193)]()[_0xd2b80a(0x15b)](_0x1a5ecb,_0x203077);}static async[_0x33115c(0x168)](_0x398b3f,_0x578f24,_0x104787,_0x5577b2,_0x55da86){const _0x16437b=_0x33115c;return await napCatCore[_0x16437b(0x192)][_0x16437b(0x193)]()['getMsgsBySeqAndCount'](_0x398b3f,_0x578f24,_0x104787,_0x5577b2,_0x55da86);}static async[_0x33115c(0x19c)](_0xa0529d){}static async[_0x33115c(0x16d)](_0x4eb51b){}static async[_0x33115c(0x18e)](_0x512d91){const _0x39f67b=_0x33115c;return napCatCore['session']['getMsgService']()[_0x39f67b(0x18e)](_0x512d91);}static async[_0x33115c(0x180)](_0x1ed920,_0xee580f){const _0x4a1247=_0x33115c,_0x25c32e={'RcSsZ':function(_0xfe6b2e,_0x25cddf){return _0xfe6b2e(_0x25cddf);},'sbRCp':_0x4a1247(0x176),'laKmv':function(_0x5a8e47,_0x4ce424,_0x17547b){return _0x5a8e47(_0x4ce424,_0x17547b);},'MUWjt':function(_0x36f388){return _0x36f388();}};return new Promise(async(_0x24b027,_0x3526d6)=>{const _0x19e24c=_0x4a1247;let _0x3f3d2c=![];_0x25c32e[_0x19e24c(0x17c)](setTimeout,()=>{const _0x506bb0=_0x19e24c;!_0x3f3d2c&&_0x25c32e['RcSsZ'](_0x3526d6,_0x25c32e[_0x506bb0(0x15a)]);},0x1388);const _0x4db076=_0x15f6e2=>{const _0x5a9e94=_0x19e24c;_0x3f3d2c=!![],_0x24b027(_0x15f6e2[_0x5a9e94(0x19d)]);};GroupFileInfoUpdateTasks[_0x19e24c(0x182)](_0x25c32e[_0x19e24c(0x19a)](randomUUID),_0x4db076),await napCatCore[_0x19e24c(0x192)][_0x19e24c(0x174)]()[_0x19e24c(0x180)](_0x1ed920,_0xee580f);});}static async['getMsgHistory'](_0x3f8256,_0x56ecb3,_0x25f4a8){const _0xc9b2cc=_0x33115c;return napCatCore['session']['getMsgService']()[_0xc9b2cc(0x195)](_0x3f8256,_0x56ecb3,_0x25f4a8,!![]);}static async['fetchRecentContact'](){}static async[_0x33115c(0x178)](_0x48724e,_0x33402c){const _0x4a32ba=_0x33115c;await napCatCore[_0x4a32ba(0x192)][_0x4a32ba(0x193)]()[_0x4a32ba(0x178)]({'chatType':_0x48724e[_0x4a32ba(0x194)],'peerUid':_0x48724e[_0x4a32ba(0x173)]},_0x33402c);}static async[_0x33115c(0x183)](_0x545e23,_0x174420,_0x410852=!![],_0x186619=0x2710){const _0x3bbe04=_0x33115c,_0x57eac7={'UhNuG':function(_0xa822a0,_0x5d405a){return _0xa822a0>_0x5d405a;},'ssQHx':'发送超时','oGYCL':function(_0x547c1a){return _0x547c1a();},'cAsjz':function(_0x11ad5f,_0x25ded8){return _0x11ad5f===_0x25ded8;},'kOeWW':function(_0x44d6af,_0x31d15a,_0x214118){return _0x44d6af(_0x31d15a,_0x214118);}},_0x54667b=_0x545e23[_0x3bbe04(0x173)];let _0x4ca37e=0x0;const _0x2ba0f5=async()=>{const _0x1aeb51=_0x3bbe04;if(_0x57eac7[_0x1aeb51(0x187)](_0x4ca37e,_0x186619))throw _0x57eac7[_0x1aeb51(0x186)];const _0x5f1364=sendMessagePool[_0x545e23[_0x1aeb51(0x173)]];if(_0x5f1364)return await sleep(0x1f4),_0x4ca37e+=0x1f4,await _0x57eac7[_0x1aeb51(0x165)](_0x2ba0f5);else return;};return await _0x2ba0f5(),new Promise((_0x1a6613,_0x41b391)=>{const _0x85385d=_0x3bbe04;let _0x2621da=![],_0x505d5e=null;const _0x1a938d=randomUUID();sendSuccessCBMap[_0x1a938d]=_0x279802=>{const _0x8d7c14=_0x4c87;if(_0x57eac7[_0x8d7c14(0x158)](_0x279802['msgId'],_0x505d5e?.[_0x8d7c14(0x164)])){if(_0x57eac7[_0x8d7c14(0x158)](_0x279802[_0x8d7c14(0x17b)],0x2))return delete sendSuccessCBMap[_0x1a938d],_0x2621da=!![],_0x1a6613(_0x279802),!![];return![];}return![];},sendMessagePool[_0x54667b]=async _0x2844df=>{delete sendMessagePool[_0x54667b],_0x505d5e=_0x2844df;},_0x57eac7['kOeWW'](setTimeout,()=>{const _0x3a0457=_0x4c87;if(_0x2621da)return;delete sendMessagePool[_0x54667b],delete sendSuccessCBMap[_0x1a938d],_0x41b391(_0x57eac7[_0x3a0457(0x186)]);},_0x186619);const _0x5c32c8=napCatCore['session']['getMsgService']()[_0x85385d(0x183)]('0',_0x545e23,_0x174420,new Map());});}static async['forwardMsg'](_0x31d1c2,_0x89314f,_0x1b0b48){const _0x2ef6d9=_0x33115c;return napCatCore[_0x2ef6d9(0x192)]['getMsgService']()[_0x2ef6d9(0x19b)](_0x1b0b48,_0x31d1c2,[_0x89314f],new Map());}static async[_0x33115c(0x16e)](_0xc77c4e,_0x43c8c6,_0x76981a){const _0xf78952=_0x33115c,_0x495fd1={'dJHZi':_0xf78952(0x172),'FfzSs':function(_0x4605a4,_0x1f982e){return _0x4605a4!=_0x1f982e;},'Ulrrs':_0xf78952(0x185),'WcvVF':function(_0x52d925){return _0x52d925();},'PcmYV':function(_0x4c11fa,_0x2d2e36,_0x576953){return _0x4c11fa(_0x2d2e36,_0x576953);}},_0x2cb92b=_0x76981a[_0xf78952(0x157)](_0x2b33ad=>{return{'msgId':_0x2b33ad,'senderShowName':selfInfo['nick']};});return new Promise((_0x4801b0,_0x4a525d)=>{const _0x19fc35=_0xf78952,_0x4e2ce4={'yNybp':function(_0x5d6335,_0x391bac){const _0x5bd324=_0x4c87;return _0x495fd1[_0x5bd324(0x16b)](_0x5d6335,_0x391bac);},'klzcy':_0x495fd1[_0x19fc35(0x160)],'epPZC':function(_0x511c74,_0x5e747d){return _0x511c74==_0x5e747d;}};let _0x12dacf=![];const _0x2207bf=_0x231d7b=>{const _0x41672a=_0x19fc35,_0xdee648=_0x231d7b[_0x41672a(0x18c)][_0x41672a(0x166)](_0xda9a81=>_0xda9a81['arkElement']);if(!_0xdee648)return;const _0x5cc737=JSON[_0x41672a(0x184)](_0xdee648[_0x41672a(0x15f)][_0x41672a(0x153)]);if(_0x4e2ce4[_0x41672a(0x177)](_0x5cc737[_0x41672a(0x154)],_0x4e2ce4[_0x41672a(0x18f)]))return;_0x4e2ce4['epPZC'](_0x231d7b[_0x41672a(0x173)],_0x43c8c6[_0x41672a(0x173)])&&_0x4e2ce4[_0x41672a(0x163)](_0x231d7b[_0x41672a(0x190)],selfInfo[_0x41672a(0x16c)])&&(_0x12dacf=!![],_0x4801b0(_0x231d7b));};sentMsgTasks[_0x19fc35(0x182)](_0x495fd1[_0x19fc35(0x17d)](randomUUID),_0x2207bf),_0x495fd1[_0x19fc35(0x170)](setTimeout,()=>{!_0x12dacf&&_0x4a525d(_0x495fd1['dJHZi']);},0x1388),napCatCore[_0x19fc35(0x192)][_0x19fc35(0x193)]()[_0x19fc35(0x188)](_0x2cb92b,_0xc77c4e,_0x43c8c6,[],new Map());});}} \ No newline at end of file +function _0x38b4(){const _0x20a8ad=['2630340IalzgE','forEach','rELxr','YaTDo','setEmojiLike','onAddSendMsg','multiForwardMsg','getMsgsIncludeSelf','find','6fKYusK','837740SSXgXr','uid','bytesData','ElKaG','QTpCB','then','608083LljcCH','IimDV','map','vRRQV','activateChat','arkElement','IvUvj','VxrFS','onGroupFileInfoUpdate','sflqJ','getMsgsByMsgId','SRPNi','QVSxq','sendMsg','HkeBy','elements','JfNAd','发送超时','forwardMsg','onMsgInfoListUpdate','转发消息超时','224522FwlQuM','getGroupFileList','com.tencent.multimsg','msgId','getRichMediaService','nick','fetchRecentContact','sendStatus','length','getMsgsBySeqAndCount','recallMsg','onLoginSuccess','HArgS','chatType','senderUid','WziOi','getMsgHistory','activateChatAndGetHistory','359175avTmNh','delete','item','session','parse','8BVNLFu','getMultiMsg','nGEXc','getMsgService','peerUid','OZiDT','multiForwardMsgWithComment','QTrBa','toString','setMsgRead','FPQoL','qfJOW','330pnsnRD','879216UWOGhh','270729wkHplB'];_0x38b4=function(){return _0x20a8ad;};return _0x38b4();}const _0x5ca580=_0x3956;(function(_0x2862a8,_0x33abf3){const _0x559417=_0x3956,_0x6e284e=_0x2862a8();while(!![]){try{const _0xd83634=-parseInt(_0x559417(0x77))/0x1*(parseInt(_0x559417(0xa6))/0x2)+parseInt(_0x559417(0x9b))/0x3+parseInt(_0x559417(0xa7))/0x4+parseInt(_0x559417(0x89))/0x5+-parseInt(_0x559417(0x9d))/0x6+parseInt(_0x559417(0xad))/0x7*(-parseInt(_0x559417(0x8e))/0x8)+-parseInt(_0x559417(0x9c))/0x9*(-parseInt(_0x559417(0x9a))/0xa);if(_0xd83634===_0x33abf3)break;else _0x6e284e['push'](_0x6e284e['shift']());}catch(_0x4b8ba8){_0x6e284e['push'](_0x6e284e['shift']());}}}(_0x38b4,0x59e3e));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x3956(_0x3f3346,_0x213906){const _0x38b4cb=_0x38b4();return _0x3956=function(_0x395683,_0x2c3cba){_0x395683=_0x395683-0x6a;let _0x3f6fe5=_0x38b4cb[_0x395683];return _0x3f6fe5;},_0x3956(_0x3f3346,_0x213906);}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x5ca580(0x6a)]=_0xb05ccf=>{const _0x545003=_0x5ca580,_0x3f652f={'HkeBy':function(_0x3924ae,_0x554395){return _0x3924ae(_0x554395);}};for(const [_0x1c117e,_0x140d4f]of GroupFileInfoUpdateTasks){_0x3f652f[_0x545003(0x70)](_0x140d4f,_0xb05ccf),GroupFileInfoUpdateTasks['delete'](_0x1c117e);}},msgListener[_0x5ca580(0xa2)]=_0x42c9df=>{const _0x20f0af=_0x5ca580,_0x59dc6f={'ElKaG':function(_0x2c01e9,_0xafd405){return _0x2c01e9 instanceof _0xafd405;}};for(const [_0x4a4881,_0x5c53e4]of sentMsgTasks){_0x5c53e4(_0x42c9df),sentMsgTasks[_0x20f0af(0x8a)](_0x4a4881);}if(sendMessagePool[_0x42c9df[_0x20f0af(0x92)]]){const _0xd03a80=sendMessagePool[_0x42c9df[_0x20f0af(0x92)]]?.(_0x42c9df);_0x59dc6f[_0x20f0af(0xaa)](_0xd03a80,Promise)&&_0xd03a80['then']()['catch'](logError);}},msgListener[_0x5ca580(0x75)]=_0x3c5baa=>{const _0x34f8ba=_0x5ca580,_0x176aef={'ReKrA':function(_0x465cee,_0x27bf05){return _0x465cee(_0x27bf05);},'JfNAd':function(_0x18cdb1,_0x52b13c){return _0x18cdb1 instanceof _0x52b13c;}};_0x3c5baa[_0x34f8ba(0x9e)](_0x419039=>{const _0x3d31ae=_0x34f8ba,_0x4100f9={'qfJOW':function(_0x564ad6,_0x55f68a){return _0x176aef['ReKrA'](_0x564ad6,_0x55f68a);},'HArgS':function(_0xed5369,_0x146ef7){const _0x5dfc59=_0x3956;return _0x176aef[_0x5dfc59(0x72)](_0xed5369,_0x146ef7);}};new Promise((_0x5eacab,_0x238c68)=>{const _0x485b9f=_0x3956;for(const _0x4b84f2 in sendSuccessCBMap){const _0x1ec047=sendSuccessCBMap[_0x4b84f2],_0x11731f=_0x4100f9[_0x485b9f(0x99)](_0x1ec047,_0x419039),_0x32d771=_0x574a96=>{_0x574a96&&delete sendSuccessCBMap[_0x4b84f2];};_0x4100f9[_0x485b9f(0x83)](_0x11731f,Promise)?_0x11731f[_0x485b9f(0xac)](_0x32d771):_0x4100f9[_0x485b9f(0x99)](_0x32d771,_0x11731f);}})[_0x3d31ae(0xac)]()['catch'](log);});},setTimeout(()=>{const _0x3fe0f3=_0x5ca580;napCatCore[_0x3fe0f3(0x82)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5ca580(0xa1)](_0x12ceeb,_0x420ffe,_0x3e285d,_0x21ee1c=!![]){const _0x205e5e=_0x5ca580,_0x455e1c={'QVSxq':function(_0x4758d8,_0x48295f){return _0x4758d8>_0x48295f;}};return _0x3e285d=_0x3e285d[_0x205e5e(0x96)](),napCatCore['session']['getMsgService']()['setMsgEmojiLikes'](_0x12ceeb,_0x420ffe,_0x3e285d,_0x455e1c[_0x205e5e(0x6e)](_0x3e285d[_0x205e5e(0x7f)],0x3)?'2':'1',_0x21ee1c);}static async[_0x5ca580(0x8f)](_0x3da458,_0xcd7321,_0x442ac3){const _0xa335fb=_0x5ca580;return napCatCore[_0xa335fb(0x8c)][_0xa335fb(0x91)]()[_0xa335fb(0x8f)](_0x3da458,_0xcd7321,_0x442ac3);}static async['getMsgsByMsgId'](_0x54606,_0x566a7a){const _0x25984d=_0x5ca580;return await napCatCore[_0x25984d(0x8c)][_0x25984d(0x91)]()[_0x25984d(0x6c)](_0x54606,_0x566a7a);}static async[_0x5ca580(0x80)](_0x17cca6,_0x841f36,_0x858f7b,_0x48bb6a,_0x16dfc7){const _0x34db19=_0x5ca580;return await napCatCore[_0x34db19(0x8c)][_0x34db19(0x91)]()[_0x34db19(0x80)](_0x17cca6,_0x841f36,_0x858f7b,_0x48bb6a,_0x16dfc7);}static async[_0x5ca580(0xb1)](_0x3f1205){}static async[_0x5ca580(0x88)](_0x44753e){}static async[_0x5ca580(0x97)](_0x4abfed){const _0x8d5208=_0x5ca580;return napCatCore[_0x8d5208(0x8c)]['getMsgService']()[_0x8d5208(0x97)](_0x4abfed);}static async[_0x5ca580(0x78)](_0x4e7b32,_0x5a0f28){const _0x2a2d40={'rELxr':'获取群文件列表超时','XjZzs':function(_0x41f22e,_0x3bc3c1){return _0x41f22e(_0x3bc3c1);},'myLTe':function(_0x2ec176,_0x599a78,_0x1838de){return _0x2ec176(_0x599a78,_0x1838de);},'vRRQV':function(_0x3ce3ef){return _0x3ce3ef();}};return new Promise(async(_0x202646,_0x1ba1de)=>{const _0x4b0698=_0x3956,_0x42b853={'FPQoL':_0x2a2d40[_0x4b0698(0x9f)],'sflqJ':function(_0x11c357,_0x4526f3){return _0x2a2d40['XjZzs'](_0x11c357,_0x4526f3);}};let _0x50342b=![];_0x2a2d40['myLTe'](setTimeout,()=>{const _0x4ca36d=_0x4b0698;!_0x50342b&&_0x1ba1de(_0x42b853[_0x4ca36d(0x98)]);},0x1388);const _0x137323=_0x3c0646=>{const _0x59835e=_0x4b0698;_0x50342b=!![],_0x42b853[_0x59835e(0x6b)](_0x202646,_0x3c0646[_0x59835e(0x8b)]);};GroupFileInfoUpdateTasks['set'](_0x2a2d40[_0x4b0698(0xb0)](randomUUID),_0x137323),await napCatCore['session'][_0x4b0698(0x7b)]()['getGroupFileList'](_0x4e7b32,_0x5a0f28);});}static async[_0x5ca580(0x87)](_0x216a13,_0x15ed7e,_0x4247b4){const _0x12630c=_0x5ca580;return napCatCore[_0x12630c(0x8c)][_0x12630c(0x91)]()[_0x12630c(0xa4)](_0x216a13,_0x15ed7e,_0x4247b4,!![]);}static async[_0x5ca580(0x7d)](){}static async['recallMsg'](_0x341c00,_0x145eba){const _0x4897df=_0x5ca580;await napCatCore['session'][_0x4897df(0x91)]()[_0x4897df(0x81)]({'chatType':_0x341c00[_0x4897df(0x84)],'peerUid':_0x341c00[_0x4897df(0x92)]},_0x145eba);}static async[_0x5ca580(0x6f)](_0xde42f2,_0x108369,_0x29c84d=!![],_0x9fd84d=0x2710){const _0x91b897=_0x5ca580,_0x23538b={'OZiDT':_0x91b897(0x73),'QTrBa':function(_0xbf6d9b,_0x244a90){return _0xbf6d9b(_0x244a90);},'YaTDo':function(_0x390e2b){return _0x390e2b();},'IvUvj':function(_0x4bfed2,_0x1f3a85){return _0x4bfed2(_0x1f3a85);},'nGEXc':function(_0x3bb10d,_0x32cc5b,_0xcdf2f4){return _0x3bb10d(_0x32cc5b,_0xcdf2f4);}},_0x8a4ade=_0xde42f2[_0x91b897(0x92)];let _0x506675=0x0;const _0x16dc6c=async()=>{const _0x31b121=_0x91b897;if(_0x506675>_0x9fd84d)throw _0x23538b['OZiDT'];const _0xb9cba6=sendMessagePool[_0xde42f2[_0x31b121(0x92)]];if(_0xb9cba6)return await _0x23538b[_0x31b121(0x95)](sleep,0x1f4),_0x506675+=0x1f4,await _0x23538b[_0x31b121(0xa0)](_0x16dc6c);else return;};return await _0x16dc6c(),new Promise((_0x357f6b,_0x25ea7a)=>{const _0x19dc8a=_0x91b897,_0x4b5f28={'WziOi':function(_0x33bc46,_0x1bd20e){return _0x33bc46===_0x1bd20e;},'QTpCB':function(_0xf7d4b9,_0x423d80){const _0x26a2a8=_0x3956;return _0x23538b[_0x26a2a8(0xb3)](_0xf7d4b9,_0x423d80);},'dZdnS':_0x23538b[_0x19dc8a(0x93)]};let _0x54dc86=![],_0x54270a=null;const _0x4cf24a=_0x23538b['YaTDo'](randomUUID);sendSuccessCBMap[_0x4cf24a]=_0x4d40b4=>{const _0x9d8cef=_0x19dc8a;if(_0x4b5f28[_0x9d8cef(0x86)](_0x4d40b4[_0x9d8cef(0x7a)],_0x54270a?.[_0x9d8cef(0x7a)])){if(_0x4d40b4[_0x9d8cef(0x7e)]===0x2)return delete sendSuccessCBMap[_0x4cf24a],_0x54dc86=!![],_0x4b5f28[_0x9d8cef(0xab)](_0x357f6b,_0x4d40b4),!![];return![];}return![];},sendMessagePool[_0x8a4ade]=async _0x4ab9cb=>{delete sendMessagePool[_0x8a4ade],_0x54270a=_0x4ab9cb;},_0x23538b[_0x19dc8a(0x90)](setTimeout,()=>{const _0x33e32a=_0x19dc8a;if(_0x54dc86)return;delete sendMessagePool[_0x8a4ade],delete sendSuccessCBMap[_0x4cf24a],_0x4b5f28[_0x33e32a(0xab)](_0x25ea7a,_0x4b5f28['dZdnS']);},_0x9fd84d);const _0x2c37c6=napCatCore[_0x19dc8a(0x8c)]['getMsgService']()[_0x19dc8a(0x6f)]('0',_0xde42f2,_0x108369,new Map());});}static async[_0x5ca580(0x74)](_0x493d66,_0x127892,_0x5ad4e3){const _0x8d951e=_0x5ca580;return napCatCore[_0x8d951e(0x8c)][_0x8d951e(0x91)]()[_0x8d951e(0x74)](_0x5ad4e3,_0x493d66,[_0x127892],new Map());}static async[_0x5ca580(0xa3)](_0x37edd7,_0x1022a2,_0x34fb24){const _0x333390=_0x5ca580,_0x21a9c0={'IimDV':_0x333390(0x79),'SRPNi':function(_0x270883,_0x256ea1){return _0x270883==_0x256ea1;},'tyDKH':function(_0x5b4965,_0x287bba){return _0x5b4965(_0x287bba);},'VxrFS':function(_0x5d110f){return _0x5d110f();},'wkKFC':function(_0x7ac391,_0x42484f,_0x2ae77e){return _0x7ac391(_0x42484f,_0x2ae77e);}},_0x1def70=_0x34fb24[_0x333390(0xaf)](_0x3ce2ad=>{const _0xcd11f1=_0x333390;return{'msgId':_0x3ce2ad,'senderShowName':selfInfo[_0xcd11f1(0x7c)]};});return new Promise((_0x182aa5,_0x247a09)=>{const _0x303c92=_0x333390;let _0x424474=![];const _0x33dee5=_0x414450=>{const _0x190a06=_0x3956,_0x4bf4dd=_0x414450[_0x190a06(0x71)][_0x190a06(0xa5)](_0x446b09=>_0x446b09[_0x190a06(0xb2)]);if(!_0x4bf4dd)return;const _0x368c47=JSON[_0x190a06(0x8d)](_0x4bf4dd[_0x190a06(0xb2)][_0x190a06(0xa9)]);if(_0x368c47['app']!=_0x21a9c0[_0x190a06(0xae)])return;_0x414450[_0x190a06(0x92)]==_0x1022a2[_0x190a06(0x92)]&&_0x21a9c0[_0x190a06(0x6d)](_0x414450[_0x190a06(0x85)],selfInfo[_0x190a06(0xa8)])&&(_0x424474=!![],_0x21a9c0['tyDKH'](_0x182aa5,_0x414450));};sentMsgTasks['set'](_0x21a9c0[_0x303c92(0xb4)](randomUUID),_0x33dee5),_0x21a9c0['wkKFC'](setTimeout,()=>{const _0x139b16=_0x303c92;!_0x424474&&_0x247a09(_0x139b16(0x76));},0x1388),napCatCore['session']['getMsgService']()[_0x303c92(0x94)](_0x1def70,_0x37edd7,_0x1022a2,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 29320e4b..189d9a8f 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x54efab,_0xf25cd3){const _0x38d5f0=_0x5da2,_0x3ed9f7=_0x54efab();while(!![]){try{const _0x49673d=-parseInt(_0x38d5f0(0x16a))/0x1+-parseInt(_0x38d5f0(0x152))/0x2+parseInt(_0x38d5f0(0x15e))/0x3+-parseInt(_0x38d5f0(0x149))/0x4+-parseInt(_0x38d5f0(0x167))/0x5*(parseInt(_0x38d5f0(0x169))/0x6)+parseInt(_0x38d5f0(0x165))/0x7*(parseInt(_0x38d5f0(0x16e))/0x8)+parseInt(_0x38d5f0(0x171))/0x9;if(_0x49673d===_0xf25cd3)break;else _0x3ed9f7['push'](_0x3ed9f7['shift']());}catch(_0x2f9014){_0x3ed9f7['push'](_0x3ed9f7['shift']());}}}(_0x4045,0xf0463));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x5da2(_0x511911,_0x2001f7){const _0x404510=_0x4045();return _0x5da2=function(_0x5da299,_0x395890){_0x5da299=_0x5da299-0x144;let _0x318403=_0x404510[_0x5da299];return _0x318403;},_0x5da2(_0x511911,_0x2001f7);}export async function SignMiniApp(_0x2e7aca){const _0x214bf1=_0x5da2,_0x3e9346={'vzElO':_0x214bf1(0x160),'hiGep':_0x214bf1(0x150),'jaazW':_0x214bf1(0x158),'NxCPs':_0x214bf1(0x15a),'bdcbl':'\x5c/\x5c/','KUhvh':function(_0x1a1fa1,_0x30fb53){return _0x1a1fa1+_0x30fb53;},'IYhPo':function(_0x5f1aa9,_0x296068){return _0x5f1aa9+_0x296068;},'emEvs':function(_0x3c1c5a,_0x455494){return _0x3c1c5a+_0x455494;},'rIZRn':function(_0x2c49b6,_0x39de45){return _0x2c49b6+_0x39de45;},'XgPCz':function(_0x9a75f6,_0x557b9c){return _0x9a75f6+_0x557b9c;},'EDKNA':function(_0x40bd25,_0x153309){return _0x40bd25+_0x153309;},'kUteO':function(_0x560154,_0x41426b){return _0x560154+_0x41426b;},'pPMPR':'p_skey=','cCrWr':_0x214bf1(0x14e),'cmSUj':_0x214bf1(0x15f),'ihkYM':';\x20uin=o','AWbxU':function(_0x3a81c1,_0x34a7bf){return _0x3a81c1+_0x34a7bf;},'SgJxo':_0x214bf1(0x14d),'Ysdlo':'GET','knNRE':function(_0x4faac2,_0xfeee4,_0x21c2ee){return _0x4faac2(_0xfeee4,_0x21c2ee);},'xDUiM':'MiniApp\x20JSON\x20消息生成失败'};let _0x555551={'app':_0x3e9346[_0x214bf1(0x145)],'bizsrc':_0x3e9346['hiGep'],'view':_0x3e9346[_0x214bf1(0x16c)],'prompt':_0x2e7aca[_0x214bf1(0x153)],'config':{'type':_0x3e9346['NxCPs'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2e7aca[_0x214bf1(0x166)],'preview':_0x2e7aca['preview']['replace'](/\\/g,_0x3e9346[_0x214bf1(0x14f)]),'jumpUrl':_0x2e7aca[_0x214bf1(0x168)]['replace'](/\\/g,_0x3e9346[_0x214bf1(0x14f)]),'tag':_0x2e7aca['tag'],'tagIcon':_0x2e7aca[_0x214bf1(0x156)][_0x214bf1(0x144)](/\\/g,_0x214bf1(0x172)),'source':_0x2e7aca['source'],'sourcelogo':_0x2e7aca[_0x214bf1(0x14c)][_0x214bf1(0x144)](/\\/g,_0x3e9346['bdcbl'])}}};const _0x2f8f2f=await NTQQUserApi[_0x214bf1(0x157)]();let _0x4c5bda=await NTQQUserApi['getQzoneCookies']();const _0x462541=WebApi['genBkn'](_0x4c5bda[_0x214bf1(0x146)]),_0x363450=_0x3e9346[_0x214bf1(0x16b)](_0x3e9346[_0x214bf1(0x155)](_0x3e9346[_0x214bf1(0x15d)](_0x3e9346[_0x214bf1(0x14b)](_0x3e9346['XgPCz'](_0x3e9346[_0x214bf1(0x163)](_0x3e9346[_0x214bf1(0x16f)](_0x3e9346[_0x214bf1(0x164)],_0x4c5bda[_0x214bf1(0x146)]),_0x3e9346[_0x214bf1(0x147)]),_0x4c5bda[_0x214bf1(0x170)]),_0x3e9346[_0x214bf1(0x161)]),selfInfo[_0x214bf1(0x154)]),_0x3e9346[_0x214bf1(0x14a)]),selfInfo[_0x214bf1(0x154)]);let _0x2d5ec4=_0x3e9346[_0x214bf1(0x162)](_0x3e9346[_0x214bf1(0x148)]+_0x462541,_0x214bf1(0x151))+encodeURIComponent(JSON['stringify'](_0x555551)),_0x402d0f='';try{let _0x4e2002=await RequestUtil['HttpGetJson'](_0x2d5ec4,_0x3e9346['Ysdlo'],undefined,{'Cookie':_0x363450});_0x402d0f=_0x4e2002[_0x214bf1(0x15b)][_0x214bf1(0x15c)];}catch(_0x2dbe4f){_0x3e9346[_0x214bf1(0x159)](logDebug,_0x3e9346[_0x214bf1(0x16d)],_0x2dbe4f);}return _0x402d0f;}function _0x4045(){const _0x1e4679=['pPMPR','7FvdKaz','title','198520UMUmRU','jumpUrl','222FutiuV','52003nNkOer','KUhvh','jaazW','xDUiM','8135184bCnssS','kUteO','skey','16689222PNBXzm','\x5c/\x5c/','replace','vzElO','p_skey','cCrWr','SgJxo','130876SKxDpt','ihkYM','rIZRn','sourcelogo','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=',';\x20skey=','bdcbl','tianxuan.imgJumpArk','&ark=','1125788VdRdfp','prompt','uin','IYhPo','tagIcon','getSkey','miniapp','knNRE','normal','data','signed_ark','emEvs','688713LCMHTd',';\x20p_uin=o','com.tencent.miniapp.lua','cmSUj','AWbxU','EDKNA'];_0x4045=function(){return _0x1e4679;};return _0x4045();} \ No newline at end of file +(function(_0x3bd5b5,_0x3fdb14){const _0x13b0a3=_0x33b2,_0x7097bf=_0x3bd5b5();while(!![]){try{const _0x3a5885=-parseInt(_0x13b0a3(0x1da))/0x1+-parseInt(_0x13b0a3(0x1cf))/0x2*(-parseInt(_0x13b0a3(0x1c9))/0x3)+parseInt(_0x13b0a3(0x1d4))/0x4*(parseInt(_0x13b0a3(0x1c2))/0x5)+parseInt(_0x13b0a3(0x1ab))/0x6*(parseInt(_0x13b0a3(0x1c1))/0x7)+-parseInt(_0x13b0a3(0x1cc))/0x8+-parseInt(_0x13b0a3(0x1bf))/0x9*(parseInt(_0x13b0a3(0x1ca))/0xa)+-parseInt(_0x13b0a3(0x1b1))/0xb*(-parseInt(_0x13b0a3(0x1b5))/0xc);if(_0x3a5885===_0x3fdb14)break;else _0x7097bf['push'](_0x7097bf['shift']());}catch(_0x1f0d1e){_0x7097bf['push'](_0x7097bf['shift']());}}}(_0xcd78,0xa5936));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0xcd78(){const _0x3657af=['15podpOS','GET','source','OllyZ','ofslf','dyKID','WUviU','1931865CBKXfV','1510NhyExD',';\x20p_uin=o','6924424zuiytQ','replace','tag','2sBsEtd','normal','UCayw','VfQDy','eSOmH','13840fdmKeD','FyWOF','jumpUrl',';\x20uin=o','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','iFKTY','640162TluPUr','6PFDrxs','sourcelogo','FhraD','WknIi','umtJU','p_skey','22760551bRZVpq','MiniApp\x20JSON\x20消息生成失败','skey','data','12QkSxcP','prompt','HttpGetJson',';\x20skey=','\x5c/\x5c/','&ark=','uin','title','tianxuan.imgJumpArk','oCWXM','76149PjofaK','CcOAE','5166336waiZpT'];_0xcd78=function(){return _0x3657af;};return _0xcd78();}import{RequestUtil}from'@/common/utils/request';function _0x33b2(_0x4c3803,_0x29df50){const _0xcd780b=_0xcd78();return _0x33b2=function(_0x33b26f,_0x33eedf){_0x33b26f=_0x33b26f-0x1ab;let _0x5b77e5=_0xcd780b[_0x33b26f];return _0x5b77e5;},_0x33b2(_0x4c3803,_0x29df50);}import{WebApi}from'./webapi';export async function SignMiniApp(_0x106bff){const _0x5c2623=_0x33b2,_0xef9042={'eSOmH':'com.tencent.miniapp.lua','FhraD':'miniapp','dyKID':_0x5c2623(0x1d0),'ofslf':_0x5c2623(0x1b9),'umtJU':function(_0x3a3484,_0x4d68df){return _0x3a3484+_0x4d68df;},'WUviU':function(_0xb4a365,_0x593442){return _0xb4a365+_0x593442;},'OllyZ':function(_0x45eb04,_0x53e9ec){return _0x45eb04+_0x53e9ec;},'iFKTY':'p_skey=','UCayw':_0x5c2623(0x1cb),'CcOAE':function(_0x4bfd74,_0x50e217){return _0x4bfd74+_0x50e217;},'oCWXM':function(_0x1b301a,_0x2abb6f){return _0x1b301a+_0x2abb6f;},'QXAms':_0x5c2623(0x1d8),'FyWOF':_0x5c2623(0x1ba),'vbQiG':function(_0x25dccd,_0x44ce0e){return _0x25dccd(_0x44ce0e);},'nRimK':_0x5c2623(0x1c3),'WknIi':function(_0x2c3029,_0x4374d7,_0xb3cda7){return _0x2c3029(_0x4374d7,_0xb3cda7);},'VfQDy':_0x5c2623(0x1b2)};let _0x3e03a4={'app':_0xef9042[_0x5c2623(0x1d3)],'bizsrc':_0x5c2623(0x1bd),'view':_0xef9042[_0x5c2623(0x1ad)],'prompt':_0x106bff[_0x5c2623(0x1b6)],'config':{'type':_0xef9042[_0x5c2623(0x1c7)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x106bff[_0x5c2623(0x1bc)],'preview':_0x106bff['preview'][_0x5c2623(0x1cd)](/\\/g,_0xef9042[_0x5c2623(0x1c6)]),'jumpUrl':_0x106bff[_0x5c2623(0x1d6)][_0x5c2623(0x1cd)](/\\/g,_0xef9042[_0x5c2623(0x1c6)]),'tag':_0x106bff[_0x5c2623(0x1ce)],'tagIcon':_0x106bff['tagIcon'][_0x5c2623(0x1cd)](/\\/g,_0xef9042[_0x5c2623(0x1c6)]),'source':_0x106bff[_0x5c2623(0x1c4)],'sourcelogo':_0x106bff[_0x5c2623(0x1ac)]['replace'](/\\/g,_0x5c2623(0x1b9))}}};const _0x392d2c=await NTQQUserApi['getSkey']();let _0x37f819=await NTQQUserApi['getQzoneCookies']();const _0x5db59c=WebApi['genBkn'](_0x37f819[_0x5c2623(0x1b0)]),_0x24b2dd=_0xef9042[_0x5c2623(0x1af)](_0xef9042[_0x5c2623(0x1c8)](_0xef9042[_0x5c2623(0x1af)](_0xef9042['umtJU'](_0xef9042[_0x5c2623(0x1c5)](_0xef9042[_0x5c2623(0x1d9)],_0x37f819['p_skey']),_0x5c2623(0x1b8))+_0x37f819[_0x5c2623(0x1b3)]+_0xef9042[_0x5c2623(0x1d1)],selfInfo[_0x5c2623(0x1bb)]),_0x5c2623(0x1d7)),selfInfo[_0x5c2623(0x1bb)]);let _0x1c4cb0=_0xef9042[_0x5c2623(0x1c0)](_0xef9042[_0x5c2623(0x1c0)](_0xef9042[_0x5c2623(0x1be)](_0xef9042['QXAms'],_0x5db59c),_0xef9042[_0x5c2623(0x1d5)]),_0xef9042['vbQiG'](encodeURIComponent,JSON['stringify'](_0x3e03a4))),_0x181994='';try{let _0x33f1dc=await RequestUtil[_0x5c2623(0x1b7)](_0x1c4cb0,_0xef9042['nRimK'],undefined,{'Cookie':_0x24b2dd});_0x181994=_0x33f1dc[_0x5c2623(0x1b4)]['signed_ark'];}catch(_0x1db524){_0xef9042[_0x5c2623(0x1ae)](logDebug,_0xef9042[_0x5c2623(0x1d2)],_0x1db524);}return _0x181994;} \ 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 02ce0c0b..70db78c2 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x16ed57=_0x38f6;(function(_0x4a4f27,_0x37a1fe){const _0x1d69f9=_0x38f6,_0x218a33=_0x4a4f27();while(!![]){try{const _0x307d1a=parseInt(_0x1d69f9(0x1c4))/0x1*(-parseInt(_0x1d69f9(0x1c1))/0x2)+parseInt(_0x1d69f9(0x1ba))/0x3*(parseInt(_0x1d69f9(0x1b8))/0x4)+-parseInt(_0x1d69f9(0x1bf))/0x5*(-parseInt(_0x1d69f9(0x1bb))/0x6)+parseInt(_0x1d69f9(0x1ca))/0x7*(-parseInt(_0x1d69f9(0x1b9))/0x8)+-parseInt(_0x1d69f9(0x1cd))/0x9+parseInt(_0x1d69f9(0x1bd))/0xa+parseInt(_0x1d69f9(0x1bc))/0xb;if(_0x307d1a===_0x37a1fe)break;else _0x218a33['push'](_0x218a33['shift']());}catch(_0x1e5831){_0x218a33['push'](_0x218a33['shift']());}}}(_0x2fa9,0xe5c92));function _0x38f6(_0xcb9e61,_0x57e913){const _0x2fa91c=_0x2fa9();return _0x38f6=function(_0x38f689,_0x32e1bc){_0x38f689=_0x38f689-0x1b6;let _0x5945b1=_0x2fa91c[_0x38f689];return _0x5945b1;},_0x38f6(_0xcb9e61,_0x57e913);}function _0x2fa9(){const _0x1dba3f=['session','getRichMediaService','502145Dhcbnl','getOnlineDev','xaBlj','6248754wRYkCR','1717662698058','CallNoListenerEvent','wantWinScreenOCR','getMsgService','10076SjlXoY','80glWCye','1284IPwnCv','258BUxGlp','494461jfCXJJ','12730770myycQp','hasOtherRunningQQProcess','43415YvKosu','getArkJsonCollection','26882rraxCx','util','translateEnWordToZn','31GelBPt','NodeIKernelCollectionService/collectionArkShare','getOnLineDev','getNodeMiscService'];_0x2fa9=function(){return _0x1dba3f;};return _0x2fa9();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x4158e2=_0x38f6;return napCatCore[_0x4158e2(0x1c2)][_0x4158e2(0x1be)]();}static async['ORCImage'](_0x45f4de){const _0x46e9e2=_0x38f6;return napCatCore['session'][_0x46e9e2(0x1c7)]()[_0x46e9e2(0x1b6)](_0x45f4de);}static async[_0x16ed57(0x1c3)](_0x798671){const _0x35dc51=_0x16ed57;return napCatCore[_0x35dc51(0x1c8)][_0x35dc51(0x1c9)]()[_0x35dc51(0x1c3)](_0x798671);}static async[_0x16ed57(0x1cb)](){const _0x293e84=_0x16ed57;return napCatCore[_0x293e84(0x1c8)][_0x293e84(0x1b7)]()[_0x293e84(0x1c6)]();}static async[_0x16ed57(0x1c0)](_0x2cbed2){const _0x53a235=_0x16ed57,_0x2e2a28={'xaBlj':_0x53a235(0x1c5),'ukAYq':_0x53a235(0x1ce)};let _0x2d83fb=await NTEventDispatch[_0x53a235(0x1cf)](_0x2e2a28[_0x53a235(0x1cc)],0x1388,_0x2e2a28['ukAYq']);return _0x2d83fb;}} \ No newline at end of file +function _0x17e7(_0x2d2f41,_0x5a18e8){const _0x546989=_0x5469();return _0x17e7=function(_0x17e791,_0x347fb2){_0x17e791=_0x17e791-0x167;let _0x292034=_0x546989[_0x17e791];return _0x292034;},_0x17e7(_0x2d2f41,_0x5a18e8);}const _0x350bb5=_0x17e7;(function(_0xddfe48,_0x34897a){const _0xae6492=_0x17e7,_0x52bd72=_0xddfe48();while(!![]){try{const _0x359690=parseInt(_0xae6492(0x173))/0x1+parseInt(_0xae6492(0x17a))/0x2*(-parseInt(_0xae6492(0x17c))/0x3)+parseInt(_0xae6492(0x172))/0x4*(parseInt(_0xae6492(0x177))/0x5)+-parseInt(_0xae6492(0x17b))/0x6+-parseInt(_0xae6492(0x169))/0x7+-parseInt(_0xae6492(0x167))/0x8*(-parseInt(_0xae6492(0x171))/0x9)+parseInt(_0xae6492(0x16c))/0xa;if(_0x359690===_0x34897a)break;else _0x52bd72['push'](_0x52bd72['shift']());}catch(_0x16c9f5){_0x52bd72['push'](_0x52bd72['shift']());}}}(_0x5469,0xf3a4b));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x5469(){const _0x17a2e0=['18825320cPpRLv','hasOtherRunningQQProcess','CallNoListenerEvent','PYaRD','session','432LYwZIA','124iIthFc','757274XaZldP','getOnLineDev','getMsgService','translateEnWordToZn','137835AUsTbn','util','getRichMediaService','525338BonnBP','11091138pLdYFx','3lfCUeI','6392HFadsp','getNodeMiscService','2965060AbrZyg','getArkJsonCollection','getOnlineDev'];_0x5469=function(){return _0x17a2e0;};return _0x5469();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x4487ce=_0x17e7;return napCatCore[_0x4487ce(0x178)][_0x4487ce(0x16d)]();}static async['ORCImage'](_0x2f5a74){const _0x74462f=_0x17e7;return napCatCore[_0x74462f(0x170)][_0x74462f(0x168)]()['wantWinScreenOCR'](_0x2f5a74);}static async[_0x350bb5(0x176)](_0x20c8c8){const _0x8bc90a=_0x350bb5;return napCatCore[_0x8bc90a(0x170)][_0x8bc90a(0x179)]()[_0x8bc90a(0x176)](_0x20c8c8);}static async[_0x350bb5(0x16b)](){const _0x3b15c4=_0x350bb5;return napCatCore[_0x3b15c4(0x170)][_0x3b15c4(0x175)]()[_0x3b15c4(0x174)]();}static async[_0x350bb5(0x16a)](_0x2e1571){const _0x442973=_0x350bb5,_0x2a6d88={'LifZA':'NodeIKernelCollectionService/collectionArkShare','PYaRD':'1717662698058'};let _0x4d0f2f=await NTEventDispatch[_0x442973(0x16e)](_0x2a6d88['LifZA'],0x1388,_0x2a6d88[_0x442973(0x16f)]);return _0x4d0f2f;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.d.ts b/src/core.lib/src/apis/user.d.ts index defbf290..4212a804 100644 --- a/src/core.lib/src/apis/user.d.ts +++ b/src/core.lib/src/apis/user.d.ts @@ -2,6 +2,7 @@ import { ModifyProfileParams, User, UserDetailInfoByUin } from '@/core/entities' import { GeneralCallResult } from '@/core'; export declare class NTQQUserApi { static setSelfOnlineStatus(status: number, extStatus: number, batteryStatus: number): Promise; + static getBuddyRecommendContactArkJson(uin: string, sencenID?: string): Promise; static like(uid: string, count?: number): Promise<{ result: number; errMsg: string; diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 3e9f0234..97c82ce1 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x3a08b5=_0x1557;(function(_0x586b49,_0x4f671d){const _0x3716b8=_0x1557,_0x363264=_0x586b49();while(!![]){try{const _0x130863=-parseInt(_0x3716b8(0x92))/0x1*(-parseInt(_0x3716b8(0x8a))/0x2)+-parseInt(_0x3716b8(0x72))/0x3*(-parseInt(_0x3716b8(0x71))/0x4)+parseInt(_0x3716b8(0xad))/0x5*(parseInt(_0x3716b8(0x84))/0x6)+parseInt(_0x3716b8(0x8e))/0x7*(-parseInt(_0x3716b8(0x8f))/0x8)+-parseInt(_0x3716b8(0x6c))/0x9*(parseInt(_0x3716b8(0xa7))/0xa)+-parseInt(_0x3716b8(0x81))/0xb+parseInt(_0x3716b8(0xa4))/0xc;if(_0x130863===_0x4f671d)break;else _0x363264['push'](_0x363264['shift']());}catch(_0x4c0f79){_0x363264['push'](_0x363264['shift']());}}}(_0x4e79,0x27640));import{Credentials,selfInfo}from'@/core/data';function _0x1557(_0x5e2c3f,_0x359c8a){const _0x4e799a=_0x4e79();return _0x1557=function(_0x1557fb,_0x3a81e2){_0x1557fb=_0x1557fb-0x64;let _0x401699=_0x4e799a[_0x1557fb];return _0x401699;},_0x1557(_0x5e2c3f,_0x359c8a);}function _0x4e79(){const _0x59e6af=['fromEntries','dpxRY','set','20065SSydKy','uidInfo','addListener','getProfileService','onProfileDetailInfoChanged','RktRT','CreatTime','mCDvx','push','lXKza','YZFqJ','uin','DzRzd','lmNlZ','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','DzKEE','uid','xmBsP','ClientKey','get','getUidByUin','getUserDetailInfo','Knlde','now','domainPskeyMap','getQzoneCookies','RYeLY','JnucA','session','getUserDetailInfoByUin','modifyDesktopMiniProfile','length','getUserInfo','getRobotService','getUserDetailInfoWithBizInfo','entries','getMsgService','144efiGHZ','iPCjw','setStatus','getSkey','KeyIndex','44ZDiFTG','41988oKrtNy','getTicketService','modifySelfProfile','getPskey','setBuddyProfileLike','OniMP','KBwcu','NodeIKernelUixConvertService/getUin','result','xgQYC','setHeader','setQQAvatar','gUgZn','HttpsGetCookies','oGsVr','2787224xlKvJF','ECXAS','eugWs','90LfLvQM','getSelfInfo','getPSkey','response','keyIndex','forEach','8jwLDVG','robotUinRanges','assign','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','7qeOdDi','1591728MCPSjG','NodeIKernelUixConvertService/getUid','forceFetchClientKey','68633IYGkiI','like','getTipOffService','PskeyData','获取Pskey失败','clientKey','Bzkun','请求获取Skey时失败','NodeIKernelProfileService/getUserDetailInfoByUin','onLoginSuccess','uinInfo','getProfileLikeService','cwqKH','getRobotUinRange','PskeyTime','Skey','errMsg','%2Finfocenter&keyindex=19%27','1638564bELTDG','CallNoListenerEvent','&clientkey=','7210zoaAWk','getUinByUid','getUserDetailInfo\x20timeout'];_0x4e79=function(){return _0x59e6af;};return _0x4e79();}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x3a08b5(0xb1)]=_0x322f3f=>{const _0x208c9c=_0x3a08b5;userInfoCache[_0x322f3f[_0x208c9c(0xbd)]]=_0x322f3f,userDetailHandlers[_0x208c9c(0x89)](_0x35d15d=>_0x35d15d(_0x322f3f));},setTimeout(()=>{const _0xc0258=_0x3a08b5;napCatCore[_0xc0258(0x9b)](()=>{const _0x258fea=_0xc0258;napCatCore[_0x258fea(0xaf)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x3f5372,_0x5f370b,_0x481e83){const _0x4616ba=_0x3a08b5;return napCatCore[_0x4616ba(0xc9)][_0x4616ba(0x6b)]()[_0x4616ba(0x6e)]({'status':_0x3f5372,'extStatus':_0x5f370b,'batteryStatus':_0x481e83});}static async[_0x3a08b5(0x93)](_0x3283a8,_0x3ee48c=0x1){const _0x350773=_0x3a08b5;return napCatCore[_0x350773(0xc9)][_0x350773(0x9d)]()[_0x350773(0x76)]({'friendUid':_0x3283a8,'sourceId':0x47,'doLikeCount':_0x3ee48c,'doLikeTollCount':0x0});}static async[_0x3a08b5(0x7d)](_0x122246){const _0x4589b3=_0x3a08b5,_0x300cca=napCatCore[_0x4589b3(0xc9)][_0x4589b3(0xb0)]()[_0x4589b3(0x7c)](_0x122246);return{'result':_0x300cca?.['result'],'errMsg':_0x300cca?.['errMsg']};}static async[_0x3a08b5(0x85)](){}static async[_0x3a08b5(0x67)](_0x456128){}static async[_0x3a08b5(0xc2)](_0x4f927e){const _0x346526=_0x3a08b5,_0x469d56={'TOAcC':function(_0xc86dca,_0x3e6207){return _0xc86dca(_0x3e6207);},'iPCjw':function(_0x43faf){return _0x43faf();},'RktRT':function(_0x3f81f3,_0x24e69d,_0xbb1b90){return _0x3f81f3(_0x24e69d,_0xbb1b90);}},_0x2ad930=napCatCore[_0x346526(0xc9)][_0x346526(0xb0)]();return new Promise((_0x107804,_0x3c1afd)=>{const _0x53eb6a=_0x346526,_0x60ae69={'YTDGz':function(_0x28d57d,_0x311341){return _0x469d56['TOAcC'](_0x28d57d,_0x311341);}},_0x2fe0eb=_0x469d56[_0x53eb6a(0x6d)](randomUUID);let _0x282fe5=![],_0x57e95c=undefined,_0x42e1f0=!![];_0x469d56[_0x53eb6a(0xb2)](setTimeout,()=>{const _0x16e819=_0x53eb6a;!_0x282fe5&&(_0x57e95c?_0x107804(_0x57e95c):_0x3c1afd(_0x16e819(0xa9))),userDetailHandlers['delete'](_0x2fe0eb);},0x1388),userDetailHandlers[_0x53eb6a(0xac)](_0x2fe0eb,_0x541907=>{_0x541907['uid']===_0x4f927e&&(_0x42e1f0?(_0x57e95c=_0x541907,_0x42e1f0=![]):(_0x282fe5=!![],_0x60ae69['YTDGz'](_0x107804,_0x541907)));}),_0x2ad930[_0x53eb6a(0x69)](_0x4f927e,[0x0])['then'](_0x441020=>{});});}static async[_0x3a08b5(0x74)](_0x49d293){const _0x28517e=_0x3a08b5;return napCatCore[_0x28517e(0xc9)]['getProfileService']()[_0x28517e(0x65)](_0x49d293);}static async[_0x3a08b5(0x86)](_0x7c1129,_0x4033b3=!![]){const _0x37b9cb=_0x3a08b5,_0x4a87e5={'KBwcu':function(_0x157b64,_0x4b3afe){return _0x157b64>_0x4b3afe;},'DzKEE':function(_0x504499,_0x3ff738){return _0x504499-_0x3ff738;},'dpxRY':function(_0x174557,_0x1add0c){return _0x174557*_0x1add0c;},'oVUdg':function(_0x541127,_0x37ba54){return _0x541127===_0x37ba54;},'OniMP':function(_0x40288c,_0x287123,_0xf7b294){return _0x40288c(_0x287123,_0xf7b294);},'RYeLY':_0x37b9cb(0x96)},_0x4315e8=[],_0x2a084f={};for(const _0x2c05c5 in _0x7c1129){const _0x2ae855=Credentials[_0x37b9cb(0x95)][_0x37b9cb(0xc0)](_0x7c1129[_0x2c05c5]),_0x476271=Credentials[_0x37b9cb(0xa0)][_0x37b9cb(0xc0)](_0x7c1129[_0x2c05c5]);!_0x2ae855||!_0x476271||_0x4a87e5[_0x37b9cb(0x78)](_0x4a87e5[_0x37b9cb(0xbc)](Date[_0x37b9cb(0xc4)](),_0x476271),_0x4a87e5[_0x37b9cb(0xab)](0x708,0x3e8))||!_0x4033b3?_0x4315e8[_0x37b9cb(0xb5)](_0x7c1129[_0x2c05c5]):_0x2a084f[_0x7c1129[_0x2c05c5]]=_0x2ae855;}let _0x51ce2a={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4a87e5[_0x37b9cb(0x78)](_0x4315e8[_0x37b9cb(0x66)],0x0)&&(_0x51ce2a=await napCatCore['session'][_0x37b9cb(0x94)]()[_0x37b9cb(0x75)](_0x4315e8,!![]));const _0x5e3136=_0x51ce2a[_0x37b9cb(0xc5)];for(const _0x1255a5 of _0x5e3136[_0x37b9cb(0x6a)]()){Credentials[_0x37b9cb(0x95)][_0x37b9cb(0xac)](_0x1255a5[0x0],_0x1255a5[0x1]),Credentials[_0x37b9cb(0xa0)][_0x37b9cb(0xac)](_0x1255a5[0x0],Date[_0x37b9cb(0xc4)]());}const _0x2f2172=Object[_0x37b9cb(0x8c)](Object[_0x37b9cb(0xaa)](_0x5e3136),_0x2a084f);if(_0x4a87e5['oVUdg'](_0x51ce2a[_0x37b9cb(0x7a)],0x0))return _0x2f2172;else _0x4a87e5[_0x37b9cb(0x77)](logError,_0x4a87e5[_0x37b9cb(0xc7)],_0x51ce2a[_0x37b9cb(0xa2)]);return{};}static async[_0x3a08b5(0x9f)](){const _0x3a6c2d=_0x3a08b5,_0x48e9a6=await napCatCore[_0x3a6c2d(0xc9)][_0x3a6c2d(0x68)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x48e9a6?.[_0x3a6c2d(0x87)]?.[_0x3a6c2d(0x8b)];}static async[_0x3a08b5(0xc6)](){const _0x13f915=_0x3a08b5,_0x5d8be5={'Bzkun':function(_0x2f6d57,_0x2fdd58){return _0x2f6d57+_0x2fdd58;},'lXKza':_0x13f915(0xbb),'xgQYC':_0x13f915(0x8d),'Knlde':_0x13f915(0xa3),'ZOjvx':function(_0x1221ae,_0x4dc8c5,_0x6f240){return _0x1221ae(_0x4dc8c5,_0x6f240);},'lmNlZ':'请求获取Cookies时失败'},_0x4637dd=_0x5d8be5[_0x13f915(0x98)](_0x5d8be5['Bzkun'](_0x5d8be5[_0x13f915(0x98)](_0x5d8be5['Bzkun'](_0x5d8be5[_0x13f915(0xb6)]+selfInfo[_0x13f915(0xb8)]+_0x13f915(0xa6),Credentials[_0x13f915(0xbf)]),_0x5d8be5[_0x13f915(0x7b)]),selfInfo[_0x13f915(0xb8)]),_0x5d8be5[_0x13f915(0xc3)]);let _0x202f1c={};try{_0x202f1c=await RequestUtil[_0x13f915(0x7f)](_0x4637dd);}catch(_0x297c92){_0x5d8be5['ZOjvx'](logDebug,_0x5d8be5[_0x13f915(0xba)],_0x297c92),_0x202f1c={};}return _0x202f1c;}static async[_0x3a08b5(0x6f)](_0x6a04e5=!![]){const _0x405b14=_0x3a08b5,_0x3632ed={'cwqKH':function(_0x2ac195,_0x5630a8){return _0x2ac195>_0x5630a8;},'DzRzd':function(_0x34e1b2,_0x41fdf3){return _0x34e1b2*_0x41fdf3;},'ECXAS':function(_0x327d80,_0x47e1db){return _0x327d80+_0x47e1db;},'gUgZn':function(_0x39c089,_0x24d5e5){return _0x39c089+_0x24d5e5;},'mCDvx':function(_0x115213,_0x14eea3){return _0x115213+_0x14eea3;},'eugWs':_0x405b14(0xbb),'JnucA':_0x405b14(0xa6),'YZFqJ':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','oGsVr':function(_0x20b352,_0xf8d706,_0x475eb2){return _0x20b352(_0xf8d706,_0x475eb2);},'gETCq':_0x405b14(0x99),'xmBsP':'skey'};try{if(Credentials[_0x405b14(0xb3)]==0x0||_0x3632ed[_0x405b14(0x9e)](Date['now']()-Credentials['CreatTime'],_0x3632ed[_0x405b14(0xb9)](0x3e8,0xe10))||!_0x6a04e5){const _0x170dc8=await napCatCore[_0x405b14(0xc9)][_0x405b14(0x73)]()[_0x405b14(0x91)]('');if(_0x170dc8[_0x405b14(0x7a)]!==0x0)return'';const _0xebad49=_0x170dc8[_0x405b14(0x97)],_0x340ad7=_0x170dc8[_0x405b14(0x88)],_0x18ee7a=_0x3632ed[_0x405b14(0x82)](_0x3632ed[_0x405b14(0x82)](_0x3632ed[_0x405b14(0x7e)](_0x3632ed[_0x405b14(0xb4)](_0x3632ed[_0x405b14(0x83)]+selfInfo['uin'],_0x3632ed[_0x405b14(0xc8)]),_0xebad49),_0x3632ed[_0x405b14(0xb7)]),_0x340ad7);let _0x41328c={};try{_0x41328c=await RequestUtil['HttpsGetCookies'](_0x18ee7a);}catch(_0x1af5a2){_0x3632ed[_0x405b14(0x80)](logDebug,_0x3632ed['gETCq'],_0x1af5a2),_0x41328c={};}const _0x4e0800=_0x41328c[_0x3632ed[_0x405b14(0xbe)]];if(!_0x4e0800)return'';return Credentials[_0x405b14(0xbf)]=_0xebad49,Credentials[_0x405b14(0x70)]=_0x340ad7,Credentials[_0x405b14(0xb3)]=Date[_0x405b14(0xc4)](),Credentials[_0x405b14(0xa1)]=_0x4e0800,_0x4e0800;}return Credentials['Skey'];}catch(_0x3bd512){}return undefined;}static async[_0x3a08b5(0xc1)](_0x18b429){const _0x57aa28=_0x3a08b5;let _0x1f09a5=await NTEventDispatch[_0x57aa28(0xa5)](_0x57aa28(0x90),0x1388,[_0x18b429]);return _0x1f09a5[_0x57aa28(0xae)][_0x57aa28(0xc0)](_0x18b429);}static async[_0x3a08b5(0xa8)](_0x2f7008){const _0x54b5eb=_0x3a08b5,_0x5e7340={'gmxwE':_0x54b5eb(0x79)};if(!_0x2f7008)return'';let _0x2fc490=await NTEventDispatch[_0x54b5eb(0xa5)](_0x5e7340['gmxwE'],0x1388,[_0x2f7008]);return _0x2fc490[_0x54b5eb(0x9c)]['get'](_0x2f7008);}static async[_0x3a08b5(0x64)](_0x532936){const _0x38ee0e=_0x3a08b5,_0x4d57f5={'OPQpd':_0x38ee0e(0x9a)};return NTEventDispatch[_0x38ee0e(0xa5)](_0x4d57f5['OPQpd'],0x1388,_0x532936);}} \ No newline at end of file +const _0x38e534=_0xe429;(function(_0x240aa9,_0x37e6f9){const _0x5a4065=_0xe429,_0x301969=_0x240aa9();while(!![]){try{const _0x45505d=parseInt(_0x5a4065(0x1c8))/0x1+parseInt(_0x5a4065(0x1c2))/0x2+-parseInt(_0x5a4065(0x1a5))/0x3+parseInt(_0x5a4065(0x1ab))/0x4*(-parseInt(_0x5a4065(0x169))/0x5)+parseInt(_0x5a4065(0x1b9))/0x6+-parseInt(_0x5a4065(0x1ae))/0x7*(-parseInt(_0x5a4065(0x17e))/0x8)+-parseInt(_0x5a4065(0x1ad))/0x9*(parseInt(_0x5a4065(0x1b2))/0xa);if(_0x45505d===_0x37e6f9)break;else _0x301969['push'](_0x301969['shift']());}catch(_0x2aabc0){_0x301969['push'](_0x301969['shift']());}}}(_0xd6c6,0xaf4e4));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';function _0xd6c6(){const _0x1a1233=['CreatTime','EMJeb','domainPskeyMap','ymIBI','Magfy','Skey','robotUinRanges','getProfileService','PskeyData','uinInfo','kdzGb','onProfileDetailInfoChanged','entries','KVKyT','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','uid','onLoginSuccess','152EgzHhV','NodeIKernelUixConvertService/getUin','&clientkey=','BiuBC','clientKey','MVchT','biJhL','modifySelfProfile','setStatus','setHeader','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','now','CallNoListenerEvent','PskeyTime','getUserDetailInfoWithBizInfo','setQQAvatar','ayHXM','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','length','%2Finfocenter&keyindex=19%27','getQzoneCookies','getUserDetailInfo\x20timeout','getPskey','qAOph','NodeIKernelProfileService/getUserDetailInfoByUin','getSkey','getBuddyRecommendContactArkJson','forEach','getPSkey','KQnNK','GcJkN','then','getUidByUin','ClientKey','ahtop','mCsmu','getRobotUinRange','getUinByUid','addListener','2274894pgHTAW','请求获取Skey时失败','uin','getUserInfo','setBuddyProfileLike','push','765256feuhHo','lyNbm','8469AvZCKh','427371DxOvYt','ZGmCY','请求获取Cookies时失败','getProfileLikeService','10070VkXsBY','setSelfOnlineStatus','getMsgService','HttpsGetCookies','getTipOffService','set','KeyIndex','815544szzyVO','wOTXC','keyIndex','cMbrP','like','获取Pskey失败','EwwPN','assign','session','2146876iXZOjp','errMsg','CHhiQ','response','SMpcG','IGKMQ','245882YnLNST','VefDj','NodeIKernelUixConvertService/getUid','getBuddyService','getRobotService','result','5kMUaqy','fromEntries','modifyDesktopMiniProfile','get'];_0xd6c6=function(){return _0x1a1233;};return _0xd6c6();}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0xe429(_0x25bd93,_0x40c155){const _0xd6c639=_0xd6c6();return _0xe429=function(_0xe42969,_0x2d4e66){_0xe42969=_0xe42969-0x167;let _0x31af37=_0xd6c639[_0xe42969];return _0x31af37;},_0xe429(_0x25bd93,_0x40c155);}import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x38e534(0x178)]=_0xd7e8c3=>{const _0x2594e1=_0x38e534;userInfoCache[_0xd7e8c3[_0x2594e1(0x17c)]]=_0xd7e8c3,userDetailHandlers[_0x2594e1(0x199)](_0x583c6c=>_0x583c6c(_0xd7e8c3));},setTimeout(()=>{const _0xa186fd=_0x38e534;napCatCore[_0xa186fd(0x17d)](()=>{const _0x18d9e0=_0xa186fd;napCatCore[_0x18d9e0(0x1a4)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x38e534(0x1b3)](_0x2268f5,_0x1fc003,_0x2ccce5){const _0x3c7a67=_0x38e534;return napCatCore[_0x3c7a67(0x1c1)][_0x3c7a67(0x1b4)]()[_0x3c7a67(0x186)]({'status':_0x2268f5,'extStatus':_0x1fc003,'batteryStatus':_0x2ccce5});}static async[_0x38e534(0x198)](_0x362eb0,_0x5ee2d5=''){const _0x3f0b5e=_0x38e534;return napCatCore[_0x3f0b5e(0x1c1)][_0x3f0b5e(0x1cb)]()[_0x3f0b5e(0x198)](_0x362eb0,_0x5ee2d5);}static async[_0x38e534(0x1bd)](_0x37c690,_0x156d8e=0x1){const _0x1eda1d=_0x38e534;return napCatCore['session'][_0x1eda1d(0x1b1)]()[_0x1eda1d(0x1a9)]({'friendUid':_0x37c690,'sourceId':0x47,'doLikeCount':_0x156d8e,'doLikeTollCount':0x0});}static async[_0x38e534(0x18d)](_0x569e49){const _0x1ee397=_0x38e534,_0x2964e9=napCatCore['session']['getProfileService']()[_0x1ee397(0x187)](_0x569e49);return{'result':_0x2964e9?.[_0x1ee397(0x168)],'errMsg':_0x2964e9?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x38e534(0x1a8)](_0x28bf0c){}static async['getUserDetailInfo'](_0x59f096){const _0x12dfee=_0x38e534,_0x4a1641={'kdzGb':function(_0x509b70,_0x2f343a){return _0x509b70(_0x2f343a);},'KQnNK':function(_0x3b6973,_0x4a84d3){return _0x3b6973(_0x4a84d3);},'wOTXC':_0x12dfee(0x193),'RBozh':function(_0x4921b6,_0x4e655b){return _0x4921b6===_0x4e655b;},'mCsmu':function(_0x4bb4d1){return _0x4bb4d1();}},_0x2c43e6=napCatCore[_0x12dfee(0x1c1)][_0x12dfee(0x174)]();return new Promise((_0x4a6cd6,_0x28084a)=>{const _0x2b4673=_0x12dfee,_0x5f191c=_0x4a1641[_0x2b4673(0x1a1)](randomUUID);let _0x30f84c=![],_0x5320f0=undefined,_0x24fcb8=!![];setTimeout(()=>{const _0x1f03b0=_0x2b4673;!_0x30f84c&&(_0x5320f0?_0x4a1641[_0x1f03b0(0x177)](_0x4a6cd6,_0x5320f0):_0x4a1641[_0x1f03b0(0x19b)](_0x28084a,_0x4a1641[_0x1f03b0(0x1ba)])),userDetailHandlers['delete'](_0x5f191c);},0x1388),userDetailHandlers[_0x2b4673(0x1b7)](_0x5f191c,_0x59a56f=>{const _0x525ca4=_0x2b4673;_0x4a1641['RBozh'](_0x59a56f[_0x525ca4(0x17c)],_0x59f096)&&(_0x24fcb8?(_0x5320f0=_0x59a56f,_0x24fcb8=![]):(_0x30f84c=!![],_0x4a1641[_0x525ca4(0x19b)](_0x4a6cd6,_0x59a56f)));}),_0x2c43e6[_0x2b4673(0x18c)](_0x59f096,[0x0])[_0x2b4673(0x19d)](_0x5de958=>{});});}static async[_0x38e534(0x185)](_0x23009b){const _0x1d1a28=_0x38e534;return napCatCore[_0x1d1a28(0x1c1)][_0x1d1a28(0x174)]()[_0x1d1a28(0x16b)](_0x23009b);}static async[_0x38e534(0x19a)](_0x33b21f,_0x39a070=!![]){const _0x554c0d=_0x38e534,_0x3178ea={'Magfy':function(_0x4bb5e1,_0x7f0a6){return _0x4bb5e1||_0x7f0a6;},'SjAQn':function(_0x1d5639,_0xd49e39){return _0x1d5639>_0xd49e39;},'ahtop':function(_0x2f5273,_0x1bab55){return _0x2f5273-_0x1bab55;},'ayHXM':function(_0x3dfc79,_0x1a34aa){return _0x3dfc79*_0x1a34aa;},'IGKMQ':function(_0x5319a3,_0x4ab5ef){return _0x5319a3===_0x4ab5ef;},'oTgzf':_0x554c0d(0x1be)},_0x4a5819=[],_0x42d2d7={};for(const _0x495390 in _0x33b21f){const _0x5e48e9=Credentials[_0x554c0d(0x175)][_0x554c0d(0x16c)](_0x33b21f[_0x495390]),_0x28c109=Credentials[_0x554c0d(0x18b)][_0x554c0d(0x16c)](_0x33b21f[_0x495390]);_0x3178ea[_0x554c0d(0x171)](!_0x5e48e9,!_0x28c109)||_0x3178ea['SjAQn'](_0x3178ea[_0x554c0d(0x1a0)](Date[_0x554c0d(0x189)](),_0x28c109),_0x3178ea[_0x554c0d(0x18e)](0x708,0x3e8))||!_0x39a070?_0x4a5819[_0x554c0d(0x1aa)](_0x33b21f[_0x495390]):_0x42d2d7[_0x33b21f[_0x495390]]=_0x5e48e9;}let _0xce0b59={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4a5819[_0x554c0d(0x190)]>0x0&&(_0xce0b59=await napCatCore[_0x554c0d(0x1c1)][_0x554c0d(0x1b6)]()[_0x554c0d(0x194)](_0x4a5819,!![]));const _0x47b2ab=_0xce0b59[_0x554c0d(0x16f)];for(const _0x5b2fe7 of _0x47b2ab[_0x554c0d(0x179)]()){Credentials[_0x554c0d(0x175)][_0x554c0d(0x1b7)](_0x5b2fe7[0x0],_0x5b2fe7[0x1]),Credentials[_0x554c0d(0x18b)][_0x554c0d(0x1b7)](_0x5b2fe7[0x0],Date[_0x554c0d(0x189)]());}const _0xa957e5=Object[_0x554c0d(0x1c0)](Object[_0x554c0d(0x16a)](_0x47b2ab),_0x42d2d7);if(_0x3178ea[_0x554c0d(0x1c7)](_0xce0b59[_0x554c0d(0x168)],0x0))return _0xa957e5;else logError(_0x3178ea['oTgzf'],_0xce0b59[_0x554c0d(0x1c3)]);return{};}static async['getRobotUinRange'](){const _0x1beaea=_0x38e534,_0x4e200a=await napCatCore[_0x1beaea(0x1c1)][_0x1beaea(0x167)]()[_0x1beaea(0x1a2)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4e200a?.[_0x1beaea(0x1c5)]?.[_0x1beaea(0x173)];}static async[_0x38e534(0x192)](){const _0x5d424a=_0x38e534,_0x4b2407={'GcJkN':function(_0x1b4241,_0x4f9127){return _0x1b4241+_0x4f9127;},'EwwPN':function(_0x329191,_0x21bb3a){return _0x329191+_0x21bb3a;},'BiuBC':function(_0x162d7e,_0x3d24c8){return _0x162d7e+_0x3d24c8;},'AulWX':_0x5d424a(0x18f),'FCuRh':_0x5d424a(0x180),'IiobU':_0x5d424a(0x17b),'gkNQN':function(_0x6c5f9a,_0x39ba4c,_0x485fa8){return _0x6c5f9a(_0x39ba4c,_0x485fa8);}},_0x4d635e=_0x4b2407[_0x5d424a(0x19c)](_0x4b2407[_0x5d424a(0x1bf)](_0x4b2407[_0x5d424a(0x181)](_0x4b2407[_0x5d424a(0x1bf)](_0x4b2407[_0x5d424a(0x1bf)](_0x4b2407['AulWX'],selfInfo[_0x5d424a(0x1a7)]),_0x4b2407['FCuRh']),Credentials['ClientKey']),_0x4b2407['IiobU']),selfInfo[_0x5d424a(0x1a7)])+_0x5d424a(0x191);let _0x41d1c9={};try{_0x41d1c9=await RequestUtil[_0x5d424a(0x1b5)](_0x4d635e);}catch(_0x4fcbf6){_0x4b2407['gkNQN'](logDebug,_0x5d424a(0x1b0),_0x4fcbf6),_0x41d1c9={};}return _0x41d1c9;}static async[_0x38e534(0x197)](_0x373c98=!![]){const _0x358f88=_0x38e534,_0x154da6={'XPlKk':function(_0x37a6f4,_0x206beb){return _0x37a6f4>_0x206beb;},'MVchT':function(_0x4f487a,_0x52cf12){return _0x4f487a-_0x52cf12;},'lyNbm':function(_0xeee2de,_0x234d6c){return _0xeee2de*_0x234d6c;},'qAOph':function(_0x279fb8,_0x800fe1){return _0x279fb8!==_0x800fe1;},'ZGmCY':function(_0x4e5f16,_0x1884ce){return _0x4e5f16+_0x1884ce;},'biJhL':function(_0x24ae3f,_0x8a88ca){return _0x24ae3f+_0x8a88ca;},'vSdgV':function(_0xd81424,_0x51f829){return _0xd81424+_0x51f829;},'SMpcG':function(_0xd1c388,_0x33e46a){return _0xd1c388+_0x33e46a;},'CHhiQ':_0x358f88(0x18f),'VefDj':_0x358f88(0x188),'ymIBI':function(_0xb5f815,_0x436a10,_0x3e0be4){return _0xb5f815(_0x436a10,_0x3e0be4);},'KVKyT':_0x358f88(0x1a6),'cMbrP':'skey'};try{if(Credentials[_0x358f88(0x16d)]==0x0||_0x154da6['XPlKk'](_0x154da6[_0x358f88(0x183)](Date[_0x358f88(0x189)](),Credentials[_0x358f88(0x16d)]),_0x154da6[_0x358f88(0x1ac)](0x3e8,0xe10))||!_0x373c98){const _0x58a9cc=await napCatCore[_0x358f88(0x1c1)]['getTicketService']()['forceFetchClientKey']('');if(_0x154da6[_0x358f88(0x195)](_0x58a9cc[_0x358f88(0x168)],0x0))return'';const _0x175e24=_0x58a9cc[_0x358f88(0x182)],_0x2bf517=_0x58a9cc[_0x358f88(0x1bb)],_0x2356fe=_0x154da6[_0x358f88(0x1af)](_0x154da6[_0x358f88(0x184)](_0x154da6['vSdgV'](_0x154da6[_0x358f88(0x184)](_0x154da6[_0x358f88(0x1c6)](_0x154da6[_0x358f88(0x1c4)],selfInfo[_0x358f88(0x1a7)]),'&clientkey='),_0x175e24),_0x154da6[_0x358f88(0x1c9)]),_0x2bf517);let _0x52e3e0={};try{_0x52e3e0=await RequestUtil[_0x358f88(0x1b5)](_0x2356fe);}catch(_0x30fc71){_0x154da6[_0x358f88(0x170)](logDebug,_0x154da6[_0x358f88(0x17a)],_0x30fc71),_0x52e3e0={};}const _0x252e81=_0x52e3e0[_0x154da6[_0x358f88(0x1bc)]];if(!_0x252e81)return'';return Credentials[_0x358f88(0x19f)]=_0x175e24,Credentials[_0x358f88(0x1b8)]=_0x2bf517,Credentials['CreatTime']=Date['now'](),Credentials[_0x358f88(0x172)]=_0x252e81,_0x252e81;}return Credentials[_0x358f88(0x172)];}catch(_0x566b94){}return undefined;}static async[_0x38e534(0x19e)](_0x4eade8){const _0x5a9108=_0x38e534,_0x159b31={'EMJeb':_0x5a9108(0x1ca)};let _0x19775d=await NTEventDispatch[_0x5a9108(0x18a)](_0x159b31[_0x5a9108(0x16e)],0x1388,[_0x4eade8]);return _0x19775d['uidInfo'][_0x5a9108(0x16c)](_0x4eade8);}static async[_0x38e534(0x1a3)](_0x2de6b4){const _0x4316c0=_0x38e534;if(!_0x2de6b4)return'';let _0xa29ea2=await NTEventDispatch[_0x4316c0(0x18a)](_0x4316c0(0x17f),0x1388,[_0x2de6b4]);return _0xa29ea2[_0x4316c0(0x176)][_0x4316c0(0x16c)](_0x2de6b4);}static async['getUserDetailInfoByUin'](_0x3419b6){const _0x28b0fe=_0x38e534;return NTEventDispatch[_0x28b0fe(0x18a)](_0x28b0fe(0x196),0x1388,_0x3419b6);}} \ 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 d0004750..b5ce273c 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -function _0x41b6(){const _0xb29101=['current_talkative','AKgPF','ekPpf','7226728igOMos','OPAlx','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','strong_newbie_list','sBRxc','eEAKw','sYgfe','osbSW','parse','rHEki','&end=','charCodeAt','IsLKS','iPyJk','length','legend_list','XUjEt','TALKACTIVE','1918634ciRxyr','Itsqc','0|4|5|3|2|1','获取群聊炽焰失败','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','actorList','genBkn','1361976GKKytM','WCDju','获取当前群荣耀失败','LEGEND','HttpGetText','AtijQ','push','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','AYYuO','JjWPA','GroupTime','match','GET','lGHSs','MXKCk','ESPxz','IDDvh','sEDvi','CqFbD','GroupData','32978820oRbevt','emotion','nrGtd','talkativeList','YzbwT','trim',';\x20skey=','KrcBK','wTyTD','VKNHz','TPvcQ','lqeWX','mems','get','emotion_list','jIltY','获取群聊之火失败','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','idUXc','ISPXy','aQAaL','GYRjS','eFIgc',';\x20uin=o','piPBR','split','RGtTN','PERFROMER','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','desc','3drwTNX','APGRo','wfYiG','xxsCw','getSkey','cDWRD','vSZrI','setGroupNotice','errcode','获取龙王信息失败','fhUGt','138ixkgLn','hpqRu','QKNhG','POST','&page_start=','dGmTr','performer_list','qun.qq.com','NIlZp','SWCGX','249635YKzPMt','getGroupHonorInfo','&bkn=','bOtjp','AMBKK','&group_code=','6331892MSEnCv','ryfYR','LiMrE','EPmsZ','JjHGO','UsRkZ','ceil','vSYhN','xWZag','CaaeX','rWdxo','hNJfG','set','XTTOe','count','131859yPDPDW','AEWSJ','7jXQqRg','uin','HttpGetJson','ZQxgC','vQRWJ','jwiQN','&text=','name','talkative_list','DwxQL','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','yGWES','SMRsS','description','p_skey=','vFZbQ','STORONGE_NEWBI','CmbRu',';\x20p_uin=o','ALL','ssOVo','avatar','reBxO','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','getPSkey','legend','tfUoc','hJIvg','PrRce','xlIMD','eittS','Mfykq','OnVNR','InTjj','ztdRA','CrpOu','strong_newbie','XJyWS','yDUcT','getGrouptNotice','获取快乐源泉失败'];_0x41b6=function(){return _0xb29101;};return _0x41b6();}const _0x309aaa=_0x5ec4;(function(_0x3246bd,_0x4de492){const _0xc88b97=_0x5ec4,_0x43ccdd=_0x3246bd();while(!![]){try{const _0x11f380=parseInt(_0xc88b97(0x124))/0x1+parseInt(_0xc88b97(0x11d))/0x2+parseInt(_0xc88b97(0xb3))/0x3*(parseInt(_0xc88b97(0xce))/0x4)+parseInt(_0xc88b97(0xc8))/0x5*(parseInt(_0xc88b97(0xbe))/0x6)+-parseInt(_0xc88b97(0xdf))/0x7*(parseInt(_0xc88b97(0x10b))/0x8)+-parseInt(_0xc88b97(0xdd))/0x9+-parseInt(_0xc88b97(0x95))/0xa;if(_0x11f380===_0x4de492)break;else _0x43ccdd['push'](_0x43ccdd['shift']());}catch(_0x494539){_0x43ccdd['push'](_0x43ccdd['shift']());}}}(_0x41b6,0xcc469));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x5ec4(_0x1cba86,_0x54acbf){const _0x41b67b=_0x41b6();return _0x5ec4=function(_0x5ec428,_0x37548b){_0x5ec428=_0x5ec428-0x8a;let _0x3ea4b0=_0x41b67b[_0x5ec428];return _0x3ea4b0;},_0x5ec4(_0x1cba86,_0x54acbf);}(function(_0x3902ca){const _0x50264c=_0x5ec4,_0x3c8f22={'JhYPH':_0x50264c(0x11f),'jRLKG':'ALL','XTTOe':'all','nrGtd':'EMOTION','vWVQS':_0x50264c(0x96),'CmbRu':_0x50264c(0xef),'sYgfe':_0x50264c(0x103),'wTyTD':_0x50264c(0x127),'ssOVo':_0x50264c(0xf8),'osbSW':_0x50264c(0x11c),'LiMrE':_0x50264c(0xb0),'InTjj':'performer'},_0xa7e3fb=_0x3c8f22['JhYPH'][_0x50264c(0xae)]('|');let _0x223ace=0x0;while(!![]){switch(_0xa7e3fb[_0x223ace++]){case'0':_0x3902ca[_0x3c8f22['jRLKG']]=_0x3c8f22[_0x50264c(0xdb)];continue;case'1':_0x3902ca[_0x3c8f22[_0x50264c(0x97)]]=_0x3c8f22['vWVQS'];continue;case'2':_0x3902ca[_0x3c8f22[_0x50264c(0xf0)]]=_0x3c8f22[_0x50264c(0x111)];continue;case'3':_0x3902ca[_0x3c8f22[_0x50264c(0x9d)]]=_0x3c8f22[_0x50264c(0xf3)];continue;case'4':_0x3902ca[_0x3c8f22[_0x50264c(0x112)]]='talkative';continue;case'5':_0x3902ca[_0x3c8f22[_0x50264c(0xd0)]]=_0x3c8f22[_0x50264c(0x100)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x100206,_0x3fb5af){const _0x2b3aaa=_0x5ec4,_0x446df9={'vQRWJ':_0x2b3aaa(0xc5),'YzbwT':function(_0x26a3cd,_0x69963d){return _0x26a3cd+_0x69963d;},'iPyJk':function(_0x53da0e,_0x373431){return _0x53da0e+_0x373431;},'sEDvi':function(_0x211e7d,_0x3bef4c){return _0x211e7d+_0x3bef4c;},'jwiQN':function(_0x191f64,_0xe5f316){return _0x191f64+_0xe5f316;},'sBRxc':'p_skey=','AMBKK':_0x2b3aaa(0x9b),'piPBR':_0x2b3aaa(0xf1),'hJIvg':function(_0x5a05a7,_0x2affb4){return _0x5a05a7||_0x2affb4;},'NIlZp':function(_0x292fdd,_0x25af54){return _0x292fdd+_0x25af54;},'xnTHE':_0x2b3aaa(0x121),'dGmTr':_0x2b3aaa(0xc2),'aQAaL':'&page_limit=20','cWYUd':function(_0x4d581c,_0x5af241){return _0x4d581c!==_0x5af241;}},_0x29082d=(await NTQQUserApi[_0x2b3aaa(0xf7)]([_0x446df9[_0x2b3aaa(0xe3)]]))[_0x446df9[_0x2b3aaa(0xe3)]],_0x11679a=await NTQQUserApi[_0x2b3aaa(0xb7)](),_0x3c8d3d=_0x446df9[_0x2b3aaa(0x99)](_0x446df9[_0x2b3aaa(0x99)](_0x446df9['YzbwT'](_0x446df9[_0x2b3aaa(0x118)](_0x446df9[_0x2b3aaa(0x118)](_0x446df9[_0x2b3aaa(0x92)](_0x446df9[_0x2b3aaa(0xe4)](_0x446df9[_0x2b3aaa(0x10f)],_0x29082d),_0x446df9[_0x2b3aaa(0xcc)]),_0x11679a),_0x446df9[_0x2b3aaa(0xad)]),selfInfo[_0x2b3aaa(0xe0)]),_0x2b3aaa(0xac)),selfInfo[_0x2b3aaa(0xe0)]);if(_0x446df9[_0x2b3aaa(0xfa)](!_0x11679a,!_0x29082d))return undefined;const _0x1b14db=WebApi[_0x2b3aaa(0x123)](_0x11679a),_0x53be71=_0x446df9[_0x2b3aaa(0xc6)](_0x446df9[_0x2b3aaa(0x118)](_0x446df9[_0x2b3aaa(0xe4)](_0x446df9[_0x2b3aaa(0x99)](_0x446df9['xnTHE'],_0x1b14db),_0x2b3aaa(0xcd)),_0x100206)+_0x446df9[_0x2b3aaa(0xc3)],_0x3fb5af)+_0x446df9[_0x2b3aaa(0xa9)];let _0x2ff91b;try{_0x2ff91b=await RequestUtil[_0x2b3aaa(0xe1)](_0x53be71,'GET','',{'Cookie':_0x3c8d3d});}catch{return undefined;}if(_0x446df9['cWYUd'](_0x2ff91b['retcode'],0x0))return undefined;return _0x2ff91b;}static async['getGroupMembers'](_0x37bf9b,_0x2e5bc2=!![]){const _0x264783=_0x5ec4,_0x264109={'Mfykq':function(_0x38f6cb,_0x184339){return _0x38f6cb>_0x184339;},'EPmsZ':function(_0x14291d,_0x5e3d77){return _0x14291d-_0x5e3d77;},'rWdxo':function(_0x350e23,_0x3356d9){return _0x350e23*_0x3356d9;},'jIltY':_0x264783(0xc5),'vSYhN':function(_0x22a5e5,_0x17ba26){return _0x22a5e5+_0x17ba26;},'GYRjS':function(_0x54d090,_0x227f14){return _0x54d090+_0x227f14;},'CqFbD':';\x20skey=','cSkQC':_0x264783(0xf1),'APGRo':function(_0x170530,_0x53b568){return _0x170530+_0x53b568;},'TPvcQ':function(_0x441da1,_0x32008c){return _0x441da1+_0x32008c;},'yGWES':_0x264783(0x12b),'nQxEL':function(_0x2c18f5,_0x11f311){return _0x2c18f5!==_0x11f311;},'IsLKS':function(_0x2a8965,_0x4fc41c){return _0x2a8965+_0x4fc41c;},'VVRgJ':function(_0x400c57,_0x4c84e4){return _0x400c57+_0x4c84e4;},'RGtTN':function(_0xa1b14b,_0x3c359b){return _0xa1b14b+_0x3c359b;},'ZQxgC':_0x264783(0xb1),'CrpOu':function(_0x5afbb0,_0x161c1c){return _0x5afbb0*_0x161c1c;},'XUjEt':'&sort=1&gc=','vFZbQ':_0x264783(0xca),'KrcBK':'POST','ISPXy':function(_0x554f5d,_0x425804){return _0x554f5d<=_0x425804;},'VKNHz':function(_0x2d3d5b,_0x3adc36){return _0x2d3d5b!==_0x3adc36;}};let _0x3260f7=new Array();try{let _0x310558=WebGroupData['GroupData'][_0x264783(0xa2)](_0x37bf9b),_0x53e9ff=WebGroupData['GroupTime'][_0x264783(0xa2)](_0x37bf9b);if(!_0x53e9ff||_0x264109[_0x264783(0xfe)](_0x264109[_0x264783(0xd1)](Date['now'](),_0x53e9ff),_0x264109[_0x264783(0xd8)](0x708,0x3e8))||!_0x2e5bc2){const _0xf6cbb6=(await NTQQUserApi[_0x264783(0xf7)]([_0x264109[_0x264783(0xa4)]]))[_0x264109['jIltY']],_0x3d1745=await NTQQUserApi[_0x264783(0xb7)](),_0x164a67=_0x264109['vSYhN'](_0x264109[_0x264783(0xaa)](_0x264109['vSYhN'](_0x264109[_0x264783(0xd5)](_0x264783(0xed)+_0xf6cbb6,_0x264109[_0x264783(0x93)]),_0x3d1745),_0x264109['cSkQC']),selfInfo['uin']);if(!_0x3d1745||!_0xf6cbb6)return _0x3260f7;const _0x7bff50=WebApi[_0x264783(0x123)](_0x3d1745),_0x51aeb5=[],_0x1fc2d7=await RequestUtil[_0x264783(0xe1)](_0x264109[_0x264783(0xb4)](_0x264109[_0x264783(0x9f)](_0x264109[_0x264783(0xd5)](_0x264109[_0x264783(0xea)],_0x37bf9b),'&bkn='),_0x7bff50),_0x264783(0xc1),'',{'Cookie':_0x164a67});if(!_0x1fc2d7?.[_0x264783(0xdc)]||_0x264109['nQxEL'](_0x1fc2d7?.['errcode'],0x0)||!_0x1fc2d7?.[_0x264783(0xa1)])return[];else for(const _0x3ba89b in _0x1fc2d7[_0x264783(0xa1)]){_0x3260f7[_0x264783(0x12a)](_0x1fc2d7['mems'][_0x3ba89b]);}const _0x32512e=Math[_0x264783(0xd4)](_0x1fc2d7[_0x264783(0xdc)]/0x28);for(let _0x252ef7=0x2;_0x252ef7<=_0x32512e;_0x252ef7++){const _0x7233d0=RequestUtil[_0x264783(0xe1)](_0x264109[_0x264783(0xd5)](_0x264109[_0x264783(0x117)](_0x264109['VVRgJ'](_0x264109[_0x264783(0xd5)](_0x264109[_0x264783(0xaf)](_0x264109[_0x264783(0xe2)],(_0x252ef7-0x1)*0x28),_0x264783(0x115)),_0x264109[_0x264783(0x102)](_0x252ef7,0x28)),_0x264109[_0x264783(0x11b)])+_0x37bf9b,_0x264109[_0x264783(0xee)])+_0x7bff50,_0x264109[_0x264783(0x9c)],'',{'Cookie':_0x164a67});_0x51aeb5['push'](_0x7233d0);}for(let _0x514f27=0x1;_0x264109[_0x264783(0xa8)](_0x514f27,_0x32512e);_0x514f27++){const _0x59b7ee=await _0x51aeb5[_0x514f27];if(!_0x59b7ee?.[_0x264783(0xdc)]||_0x264109[_0x264783(0x9e)](_0x59b7ee?.[_0x264783(0xbb)],0x0)||!_0x59b7ee?.[_0x264783(0xa1)])continue;for(const _0x133aae in _0x59b7ee['mems']){_0x3260f7[_0x264783(0x12a)](_0x59b7ee['mems'][_0x133aae]);}}WebGroupData[_0x264783(0x94)][_0x264783(0xda)](_0x37bf9b,_0x3260f7),WebGroupData[_0x264783(0x8b)]['set'](_0x37bf9b,Date['now']());}else _0x3260f7=_0x310558;}catch{return _0x3260f7;}return _0x3260f7;}static async[_0x309aaa(0xba)](_0x41a7a9,_0x2be90a=''){const _0x147d08=_0x309aaa,_0x1d761f={'IDDvh':'qun.qq.com','JjHGO':function(_0x4a45e0,_0x1fef74){return _0x4a45e0+_0x1fef74;},'rHEki':function(_0x1f18c2,_0x4ed39a){return _0x1f18c2+_0x4ed39a;},'ESPxz':function(_0x1058dd,_0x1e6111){return _0x1058dd+_0x1e6111;},'bOtjp':'p_skey=','ZDXdG':_0x147d08(0x9b),'ekPpf':';\x20p_uin=o','CaaeX':function(_0x362dac,_0x48d4b5){return _0x362dac||_0x48d4b5;},'eFIgc':function(_0x45a626,_0x263c3a){return _0x45a626+_0x263c3a;},'PrRce':function(_0x108130,_0x11a934){return _0x108130+_0x11a934;},'iAXza':function(_0x49e256,_0x2e5e77){return _0x49e256+_0x2e5e77;},'lqeWX':function(_0x548423,_0x1137ac){return _0x548423+_0x1137ac;},'vSZrI':'qid=','zfzsv':_0x147d08(0xca),'AKgPF':_0x147d08(0xe5),'eittS':_0x147d08(0xa6),'QBeQu':'GET'},_0x124063=(await NTQQUserApi['getPSkey']([_0x1d761f['IDDvh']]))[_0x1d761f[_0x147d08(0x91)]],_0x1c0a2c=await NTQQUserApi[_0x147d08(0xb7)](),_0x4194f4=_0x1d761f[_0x147d08(0xd2)](_0x1d761f['rHEki'](_0x1d761f[_0x147d08(0x114)](_0x1d761f[_0x147d08(0x90)](_0x1d761f[_0x147d08(0xcb)]+_0x124063,_0x1d761f['ZDXdG']),_0x1c0a2c),_0x1d761f[_0x147d08(0x10a)]),selfInfo[_0x147d08(0xe0)]);let _0x1289da=undefined;if(_0x1d761f[_0x147d08(0xd7)](!_0x1c0a2c,!_0x124063))return undefined;const _0x339a8d=WebApi[_0x147d08(0x123)](_0x1c0a2c),_0x4d4644=_0x1d761f[_0x147d08(0xab)](_0x1d761f[_0x147d08(0xfb)](_0x1d761f[_0x147d08(0xfb)](_0x1d761f['iAXza'](_0x1d761f[_0x147d08(0xa0)](_0x1d761f[_0x147d08(0xb9)],_0x41a7a9)+_0x1d761f['zfzsv'],_0x339a8d),_0x1d761f[_0x147d08(0x109)]),_0x2be90a),_0x147d08(0xf6)),_0x3ce019=_0x1d761f[_0x147d08(0x90)](_0x1d761f[_0x147d08(0xfd)],_0x339a8d);try{return _0x1289da=await RequestUtil[_0x147d08(0xe1)](_0x3ce019,_0x1d761f['QBeQu'],'',{'Cookie':_0x4194f4}),_0x1289da;}catch(_0xf009bb){return undefined;}return undefined;}static async[_0x309aaa(0x106)](_0x5af416){const _0x1a3f02=_0x309aaa,_0x2dd157={'xWZag':'qun.qq.com','AtijQ':function(_0x8790ac,_0x5e5dc9){return _0x8790ac+_0x5e5dc9;},'bkTUg':_0x1a3f02(0xed),'DwxQL':_0x1a3f02(0x9b),'eEAKw':_0x1a3f02(0xf1),'OnVNR':function(_0x2018f6,_0x7e6d){return _0x2018f6||_0x7e6d;},'Dijsa':function(_0x2cfc35,_0x37670f){return _0x2cfc35+_0x37670f;},'XZhke':_0x1a3f02(0xe9),'MXKCk':'&qid=','tfUoc':_0x1a3f02(0x10d),'rawmV':_0x1a3f02(0x8d),'ryfYR':function(_0x831d01,_0x38f16a){return _0x831d01!==_0x38f16a;}},_0x1f6523=(await NTQQUserApi[_0x1a3f02(0xf7)]([_0x2dd157[_0x1a3f02(0xd6)]]))[_0x2dd157[_0x1a3f02(0xd6)]],_0x4f7af5=await NTQQUserApi['getSkey'](),_0x423d15=_0x2dd157[_0x1a3f02(0x129)](_0x2dd157[_0x1a3f02(0x129)](_0x2dd157[_0x1a3f02(0x129)](_0x2dd157['bkTUg'],_0x1f6523)+_0x2dd157[_0x1a3f02(0xe8)]+_0x4f7af5,_0x2dd157[_0x1a3f02(0x110)]),selfInfo[_0x1a3f02(0xe0)]);let _0x939d3f=undefined;if(_0x2dd157[_0x1a3f02(0xff)](!_0x4f7af5,!_0x1f6523))return undefined;const _0x3db5c4=WebApi[_0x1a3f02(0x123)](_0x4f7af5),_0x2c29c4=_0x2dd157[_0x1a3f02(0x129)](_0x2dd157['Dijsa'](_0x2dd157['XZhke'],_0x3db5c4),_0x2dd157[_0x1a3f02(0x8f)])+_0x5af416+_0x2dd157[_0x1a3f02(0xf9)];try{_0x939d3f=await RequestUtil[_0x1a3f02(0xe1)](_0x2c29c4,_0x2dd157['rawmV'],'',{'Cookie':_0x423d15});if(_0x2dd157[_0x1a3f02(0xcf)](_0x939d3f?.['ec'],0x0))return undefined;return _0x939d3f;}catch(_0x44c42a){return undefined;}return undefined;}static[_0x309aaa(0x123)](_0xff8a96){const _0x117ac8=_0x309aaa,_0x45539f={'wfYiG':function(_0x16fc38,_0x3c3528){return _0x16fc38<_0x3c3528;},'Itsqc':function(_0x38daa3,_0x5260a4){return _0x38daa3+_0x5260a4;},'reBxO':function(_0x1b2a8f,_0x27cf95){return _0x1b2a8f<<_0x27cf95;}};_0xff8a96=_0xff8a96||'';let _0x133fdf=0x1505;for(let _0x159b03=0x0;_0x45539f[_0x117ac8(0xb5)](_0x159b03,_0xff8a96[_0x117ac8(0x119)]);_0x159b03++){const _0x9ac271=_0xff8a96[_0x117ac8(0x116)](_0x159b03);_0x133fdf=_0x45539f[_0x117ac8(0x11e)](_0x133fdf+_0x45539f[_0x117ac8(0xf5)](_0x133fdf,0x5),_0x9ac271);}return(_0x133fdf&0x7fffffff)['toString']();}static async[_0x309aaa(0xc9)](_0x1910db,_0x1cf2e3){const _0xbb2cef=_0x309aaa,_0xfde054={'AYYuO':function(_0x40e092,_0x4c6253){return _0x40e092+_0x4c6253;},'QKNhG':function(_0x11e8fe,_0x5cdefd){return _0x11e8fe+_0x5cdefd;},'fhUGt':'https://qun.qq.com/interactive/honorlist?gc=','Yikab':'&type=','SWCGX':_0xbb2cef(0x8d),'YHftV':function(_0x594a9e,_0x569066,_0x5210e2,_0x2c658f){return _0x594a9e(_0x569066,_0x5210e2,_0x2c658f);},'lGHSs':_0xbb2cef(0x126),'hpqRu':_0xbb2cef(0xc5),'XJyWS':function(_0x23c163,_0x51452a){return _0x23c163||_0x51452a;},'JjWPA':function(_0xb3cc47,_0x44b403){return _0xb3cc47+_0x44b403;},'BUsSs':function(_0x8b0237,_0x84d12c){return _0x8b0237+_0x84d12c;},'cDWRD':function(_0x2331fe,_0x2f4f00){return _0x2331fe+_0x2f4f00;},'hNJfG':_0xbb2cef(0xed),'WCDju':';\x20p_uin=o','xlIMD':_0xbb2cef(0xac),'MgYdD':function(_0x563b26,_0x33775b){return _0x563b26===_0x33775b;},'goCvm':function(_0x1ab025,_0x41a509){return _0x1ab025===_0x41a509;},'UsRkZ':function(_0x501c8d,_0x404fa8,_0x9568f2){return _0x501c8d(_0x404fa8,_0x9568f2);},'AEWSJ':_0xbb2cef(0xbc),'yDUcT':function(_0xdd58e2,_0x998ddf){return _0xdd58e2===_0x998ddf;},'SMRsS':_0xbb2cef(0xa5),'ztdRA':function(_0x105b7e,_0x11ab15){return _0x105b7e===_0x11ab15;},'xxsCw':_0xbb2cef(0x120),'OPAlx':function(_0x5189aa,_0x12d112,_0x39d1c0){return _0x5189aa(_0x12d112,_0x39d1c0);},'pSCoh':function(_0x1db392,_0x25af61){return _0x1db392===_0x25af61;},'idUXc':function(_0x289cdb,_0x2258c4){return _0x289cdb===_0x2258c4;},'RUPev':_0xbb2cef(0x107)},_0x282867=(await NTQQUserApi[_0xbb2cef(0xf7)]([_0xfde054[_0xbb2cef(0xbf)]]))[_0xbb2cef(0xc5)],_0x27e4a0=await NTQQUserApi[_0xbb2cef(0xb7)]();if(_0xfde054[_0xbb2cef(0x104)](!_0x27e4a0,!_0x282867))return undefined;async function _0x19d756(_0x12f710,_0x1a44fe){const _0x5dc1a4=_0xbb2cef;let _0x2979c4=_0xfde054[_0x5dc1a4(0x12c)](_0xfde054[_0x5dc1a4(0x12c)](_0xfde054['QKNhG'](_0xfde054[_0x5dc1a4(0xbd)],_0x12f710),_0xfde054['Yikab']),_0x1a44fe['toString']()),_0x54a3d0='',_0x5555bc;try{_0x54a3d0=await RequestUtil[_0x5dc1a4(0x128)](_0x2979c4,_0xfde054[_0x5dc1a4(0xc7)],'',{'Cookie':_0x3b5bee});const _0x1d4c01=_0x54a3d0[_0x5dc1a4(0x8c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x1d4c01&&(_0x5555bc=JSON[_0x5dc1a4(0x113)](_0x1d4c01[0x1][_0x5dc1a4(0x9a)]())),_0x1a44fe===0x1?_0x5555bc?.[_0x5dc1a4(0x98)]:_0x5555bc?.[_0x5dc1a4(0x122)];}catch(_0x1f99e2){_0xfde054['YHftV'](logDebug,_0xfde054[_0x5dc1a4(0x8e)],_0x2979c4,_0x1f99e2);}return undefined;}let _0x544a15={'group_id':_0x1910db};const _0x3b5bee=_0xfde054[_0xbb2cef(0xc0)](_0xfde054[_0xbb2cef(0xc0)](_0xfde054[_0xbb2cef(0x8a)](_0xfde054['BUsSs'](_0xfde054[_0xbb2cef(0xb8)](_0xfde054[_0xbb2cef(0xd9)],_0x282867),_0xbb2cef(0x9b)),_0x27e4a0)+_0xfde054[_0xbb2cef(0x125)]+selfInfo[_0xbb2cef(0xe0)],_0xfde054[_0xbb2cef(0xfc)]),selfInfo[_0xbb2cef(0xe0)]);if(_0xfde054['MgYdD'](_0x1cf2e3,WebHonorType[_0xbb2cef(0x11c)])||_0xfde054['goCvm'](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))try{let _0x39783d=await _0xfde054[_0xbb2cef(0xd3)](_0x19d756,_0x1910db,0x1);if(!_0x39783d)throw new Error(_0xfde054[_0xbb2cef(0xde)]);_0x544a15[_0xbb2cef(0x108)]={'user_id':_0x39783d[0x0]?.[_0xbb2cef(0xe0)],'avatar':_0x39783d[0x0]?.[_0xbb2cef(0xf4)],'nickname':_0x39783d[0x0]?.[_0xbb2cef(0xe6)],'day_count':0x0,'description':_0x39783d[0x0]?.[_0xbb2cef(0xb2)]},_0x544a15['talkative_list']=[];for(const _0x415889 of _0x39783d){_0x544a15[_0xbb2cef(0xe7)][_0xbb2cef(0x12a)]({'user_id':_0x415889?.[_0xbb2cef(0xe0)],'avatar':_0x415889?.[_0xbb2cef(0xf4)],'description':_0x415889?.[_0xbb2cef(0xb2)],'day_count':0x0,'nickname':_0x415889?.[_0xbb2cef(0xe6)]});}}catch(_0x34e247){logDebug(_0x34e247);}if(_0xfde054[_0xbb2cef(0x105)](_0x1cf2e3,WebHonorType['PERFROMER'])||_0xfde054['yDUcT'](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))try{let _0x4d07f1=await _0xfde054[_0xbb2cef(0xd3)](_0x19d756,_0x1910db,0x2);if(!_0x4d07f1)throw new Error(_0xfde054[_0xbb2cef(0xeb)]);_0x544a15['performer_list']=[];for(const _0x2f631a of _0x4d07f1){_0x544a15[_0xbb2cef(0xc4)]['push']({'user_id':_0x2f631a?.['uin'],'nickname':_0x2f631a?.[_0xbb2cef(0xe6)],'avatar':_0x2f631a?.[_0xbb2cef(0xf4)],'description':_0x2f631a?.['desc']});}}catch(_0x3924b5){logDebug(_0x3924b5);}if(_0xfde054[_0xbb2cef(0x101)](_0x1cf2e3,WebHonorType['PERFROMER'])||_0x1cf2e3===WebHonorType['ALL'])try{let _0x593ccc=await _0x19d756(_0x1910db,0x3);if(!_0x593ccc)throw new Error(_0xfde054[_0xbb2cef(0xb6)]);_0x544a15[_0xbb2cef(0x11a)]=[];for(const _0x44e38e of _0x593ccc){_0x544a15[_0xbb2cef(0x11a)][_0xbb2cef(0x12a)]({'user_id':_0x44e38e?.[_0xbb2cef(0xe0)],'nickname':_0x44e38e?.[_0xbb2cef(0xe6)],'avatar':_0x44e38e?.[_0xbb2cef(0xf4)],'desc':_0x44e38e?.[_0xbb2cef(0xec)]});}}catch(_0x9dcc21){_0xfde054[_0xbb2cef(0x10c)](logDebug,_0xbb2cef(0x120),_0x9dcc21);}if(_0xfde054['pSCoh'](_0x1cf2e3,WebHonorType['EMOTION'])||_0xfde054[_0xbb2cef(0xa7)](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))try{let _0xde96b6=await _0xfde054[_0xbb2cef(0xd3)](_0x19d756,_0x1910db,0x6);if(!_0xde96b6)throw new Error(_0xfde054['RUPev']);_0x544a15[_0xbb2cef(0xa3)]=[];for(const _0x42bd72 of _0xde96b6){_0x544a15[_0xbb2cef(0xa3)][_0xbb2cef(0x12a)]({'user_id':_0x42bd72?.[_0xbb2cef(0xe0)],'nickname':_0x42bd72?.[_0xbb2cef(0xe6)],'avatar':_0x42bd72?.['avatar'],'desc':_0x42bd72?.['description']});}}catch(_0x413548){_0xfde054['UsRkZ'](logDebug,_0xbb2cef(0x107),_0x413548);}return(_0x1cf2e3===WebHonorType['EMOTION']||_0xfde054['ztdRA'](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))&&(_0x544a15[_0xbb2cef(0x10e)]=[]),_0x544a15;}} \ No newline at end of file +const _0x5a9111=_0x8a82;(function(_0x2c3f61,_0x58e177){const _0x5018ad=_0x8a82,_0x5c264f=_0x2c3f61();while(!![]){try{const _0x4458e7=-parseInt(_0x5018ad(0x191))/0x1+parseInt(_0x5018ad(0x19c))/0x2*(-parseInt(_0x5018ad(0x13e))/0x3)+parseInt(_0x5018ad(0x136))/0x4+parseInt(_0x5018ad(0x10d))/0x5*(parseInt(_0x5018ad(0x190))/0x6)+parseInt(_0x5018ad(0x193))/0x7+-parseInt(_0x5018ad(0x14d))/0x8+-parseInt(_0x5018ad(0x182))/0x9*(-parseInt(_0x5018ad(0x18a))/0xa);if(_0x4458e7===_0x58e177)break;else _0x5c264f['push'](_0x5c264f['shift']());}catch(_0x362205){_0x5c264f['push'](_0x5c264f['shift']());}}}(_0x5c85,0xb975e));function _0x5c85(){const _0x22115f=['HttpGetJson','zVhYL','STORONGE_NEWBI','count','XMGVA','72372KFkSqh','147816iipsAB','JKCYr','8301272RaNDeY','emotion','wTbEj','tdCLC','desc','Myhcz','4|3|5|2|1|0','获取快乐源泉失败','SmphB','2NNreOX','获取当前群荣耀失败','DtPid','legend_list','fpfYb','Mjsfl','TALKACTIVE','&page_start=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','description','swqFg','bbLpF','getGroupMembers','FHuKO','talkative_list','vygvE','uin','eEUxr','charCodeAt','get','EMOTION','dvzlP','mrNvl','25ONqVbM','JMscS','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','HttpGetText','ayhys','HOnbm','VAKfV','emotion_list','获取群聊炽焰失败','RWMgf','trim','hqbjg','length','bvWHk','getPSkey','qun.qq.com','YQCNL','kibCh','set','oPoFh','YDjSI','GroupTime','BEiji','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','mesEz','wxFpx','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','vfFqZ','HxMzh','Apymr','GTpmD','current_talkative','LEGEND','ALL','name','&end=','YEahG','https://qun.qq.com/interactive/honorlist?gc=','getSkey',';\x20p_uin=o','mems','4058484hrXUTr','fTbXw','获取群聊之火失败','parse','tXqtG','now','UeJpo','lyHFm','3762723rvmvDC','LuADu','CYpTW','hqWWc','errcode','fbXwJ','actorList','FMWSK','Acnvk','&bkn=','VmqEl','JJbXk','HVQbT','qziOy','sGqxK','1486848cowAbf','KuLFJ','GroupData','GET','ueBWn','tGptA','ZaemQ','KGfSA','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','toString','qEFYH','fVCtU','p_skey=','PlYyj','push','lhUXB','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','performer','zLdGn','KEpNA','sjxAU','VfsrO','OpfQi','HWMwB','all','AIsLa','gQDuW','获取龙王信息失败','RxUPd','OGSmn','FqhaY','WgvOV','CDRGQ','dVnZA','POST','retcode',';\x20skey=',';\x20uin=o','getGrouptNotice','EkQMW','&page_limit=20','LozBw','uoIom','eAZvI','rCLTf','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','cyTDe','JkwZi','ceil','genBkn','UTxko','avatar','setGroupNotice','18rTSYRM','qCdnO','talkative','talkativeList','jfQnb','PERFROMER','KQVIC','split','433660cUOhwI'];_0x5c85=function(){return _0x22115f;};return _0x5c85();}function _0x8a82(_0x2e5410,_0x5088fa){const _0x5c8569=_0x5c85();return _0x8a82=function(_0x8a827f,_0x453ddf){_0x8a827f=_0x8a827f-0xf8;let _0x53a9a4=_0x5c8569[_0x8a827f];return _0x53a9a4;},_0x8a82(_0x2e5410,_0x5088fa);}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x40c810){const _0x4c8687=_0x8a82,_0x5ceec7={'hJQmg':_0x4c8687(0x199),'JMscS':_0x4c8687(0x194),'oPoFh':_0x4c8687(0x18d),'vygvE':_0x4c8687(0x12d),'wTbEj':_0x4c8687(0xfc),'mrNvl':_0x4c8687(0x184),'PlYyj':_0x4c8687(0x12e),'tGptA':_0x4c8687(0x165),'dvzlP':_0x4c8687(0x187),'JxhNi':_0x4c8687(0x15e)},_0x11a372=_0x5ceec7['hJQmg'][_0x4c8687(0x189)]('|');let _0x4944d5=0x0;while(!![]){switch(_0x11a372[_0x4944d5++]){case'0':_0x40c810[_0x4c8687(0x10a)]=_0x5ceec7[_0x4c8687(0x10e)];continue;case'1':_0x40c810[_0x5ceec7[_0x4c8687(0x120)]]='strong_newbie';continue;case'2':_0x40c810[_0x5ceec7[_0x4c8687(0x105)]]='legend';continue;case'3':_0x40c810[_0x5ceec7[_0x4c8687(0x195)]]=_0x5ceec7[_0x4c8687(0x10c)];continue;case'4':_0x40c810[_0x5ceec7[_0x4c8687(0x15a)]]=_0x5ceec7[_0x4c8687(0x152)];continue;case'5':_0x40c810[_0x5ceec7[_0x4c8687(0x10b)]]=_0x5ceec7['JxhNi'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x583383,_0x140770){const _0x1190d8=_0x8a82,_0x5e4d30={'SmphB':_0x1190d8(0x11c),'WgvOV':function(_0x241291,_0x1898c7){return _0x241291+_0x1898c7;},'CDRGQ':function(_0x1a6c7d,_0x40af43){return _0x1a6c7d+_0x40af43;},'HWMwB':_0x1190d8(0x159),'lhUXB':_0x1190d8(0x134),'FqhaY':_0x1190d8(0x172),'fbXwJ':function(_0x205b32,_0x1ffc57){return _0x205b32||_0x1ffc57;},'FMWSK':function(_0x5c63d8,_0x53c520){return _0x5c63d8+_0x53c520;},'swqFg':function(_0x6287cf,_0x282754){return _0x6287cf+_0x282754;},'XMGVA':function(_0x12acc7,_0x5508fb){return _0x12acc7+_0x5508fb;},'LuADu':_0x1190d8(0x10f),'SqDWS':'&group_code=','YDjSI':_0x1190d8(0x175),'tlued':_0x1190d8(0x150)},_0xa76312=(await NTQQUserApi[_0x1190d8(0x11b)]([_0x5e4d30[_0x1190d8(0x19b)]]))[_0x5e4d30[_0x1190d8(0x19b)]],_0x3ae696=await NTQQUserApi['getSkey'](),_0x50a6f3=_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30['WgvOV'](_0x5e4d30[_0x1190d8(0x16d)](_0x5e4d30[_0x1190d8(0x164)],_0xa76312),_0x1190d8(0x171)),_0x3ae696),_0x5e4d30[_0x1190d8(0x15c)]),selfInfo['uin'])+_0x5e4d30[_0x1190d8(0x16b)],selfInfo['uin']);if(_0x5e4d30[_0x1190d8(0x143)](!_0x3ae696,!_0xa76312))return undefined;const _0x318339=WebApi[_0x1190d8(0x17e)](_0x3ae696),_0x50c6e7=_0x5e4d30[_0x1190d8(0x145)](_0x5e4d30[_0x1190d8(0x100)](_0x5e4d30[_0x1190d8(0x18f)](_0x5e4d30[_0x1190d8(0x13f)],_0x318339)+_0x5e4d30['SqDWS'],_0x583383)+_0x1190d8(0xfd),_0x140770)+_0x5e4d30[_0x1190d8(0x121)];let _0x1aa0e1;try{_0x1aa0e1=await RequestUtil['HttpGetJson'](_0x50c6e7,_0x5e4d30['tlued'],'',{'Cookie':_0x50a6f3});}catch{return undefined;}if(_0x1aa0e1[_0x1190d8(0x170)]!==0x0)return undefined;return _0x1aa0e1;}static async[_0x5a9111(0x102)](_0xb3f4c4,_0x745677=!![]){const _0x16ef08=_0x5a9111,_0x70d464={'lyHFm':function(_0x218534,_0xbdce2c){return _0x218534>_0xbdce2c;},'HOnbm':function(_0x11497e,_0x96ba7e){return _0x11497e-_0x96ba7e;},'jfQnb':function(_0x3f79c3,_0x2e94ed){return _0x3f79c3*_0x2e94ed;},'UeJpo':_0x16ef08(0x11c),'VAKfV':function(_0x259574,_0x31632c){return _0x259574+_0x31632c;},'RxUPd':function(_0x5ce00e,_0x343d04){return _0x5ce00e+_0x343d04;},'OGSmn':function(_0x4b1d2e,_0x31a66c){return _0x4b1d2e+_0x31a66c;},'YQCNL':_0x16ef08(0x159),'bvWHk':_0x16ef08(0x171),'ueBWn':_0x16ef08(0x134),'fTbXw':function(_0x3c69b2,_0x90a04c){return _0x3c69b2||_0x90a04c;},'JKCYr':function(_0x5b5b91,_0x520bc5){return _0x5b5b91+_0x520bc5;},'OpfQi':_0x16ef08(0xfe),'gQDuW':_0x16ef08(0x16f),'RSoky':function(_0x1de7e7,_0x1fec12){return _0x1de7e7!==_0x1fec12;},'LozBw':function(_0x171551,_0x3722ad){return _0x171551/_0x3722ad;},'kxbCc':function(_0x351ab1,_0xd4425f){return _0x351ab1<=_0xd4425f;},'zVhYL':function(_0x1454c9,_0x560846){return _0x1454c9+_0x560846;},'MawEU':function(_0x11c155,_0xec72d){return _0x11c155+_0xec72d;},'wxNaB':function(_0x983bdc,_0x2a3614){return _0x983bdc+_0x2a3614;},'Mjsfl':function(_0x311bd9,_0x12c7e2){return _0x311bd9-_0x12c7e2;},'GDTqE':_0x16ef08(0x130),'qCdnO':'&sort=1&gc=','ayhys':function(_0x2a31af,_0x7f4953){return _0x2a31af<=_0x7f4953;},'Myhcz':function(_0x27419c,_0x1a3e6b){return _0x27419c!==_0x1a3e6b;}};let _0x1f93b0=new Array();try{let _0x2e5935=WebGroupData[_0x16ef08(0x14f)][_0x16ef08(0x109)](_0xb3f4c4),_0x4d6ea2=WebGroupData[_0x16ef08(0x122)]['get'](_0xb3f4c4);if(!_0x4d6ea2||_0x70d464[_0x16ef08(0x13d)](_0x70d464[_0x16ef08(0x112)](Date[_0x16ef08(0x13b)](),_0x4d6ea2),_0x70d464[_0x16ef08(0x186)](0x708,0x3e8))||!_0x745677){const _0x1695d5=(await NTQQUserApi[_0x16ef08(0x11b)]([_0x16ef08(0x11c)]))[_0x70d464[_0x16ef08(0x13c)]],_0x48df27=await NTQQUserApi[_0x16ef08(0x133)](),_0x42bc5a=_0x70d464[_0x16ef08(0x113)](_0x70d464[_0x16ef08(0x169)](_0x70d464[_0x16ef08(0x113)](_0x70d464[_0x16ef08(0x16a)](_0x70d464[_0x16ef08(0x11d)],_0x1695d5),_0x70d464[_0x16ef08(0x11a)])+_0x48df27,_0x70d464[_0x16ef08(0x151)]),selfInfo[_0x16ef08(0x106)]);if(_0x70d464[_0x16ef08(0x137)](!_0x48df27,!_0x1695d5))return _0x1f93b0;const _0xfbe48e=WebApi[_0x16ef08(0x17e)](_0x48df27),_0x1977a0=[],_0x25da42=await RequestUtil[_0x16ef08(0x18b)](_0x70d464[_0x16ef08(0x192)](_0x70d464[_0x16ef08(0x163)],_0xb3f4c4)+_0x16ef08(0x147)+_0xfbe48e,_0x70d464[_0x16ef08(0x167)],'',{'Cookie':_0x42bc5a});if(!_0x25da42?.['count']||_0x70d464['RSoky'](_0x25da42?.[_0x16ef08(0x142)],0x0)||!_0x25da42?.[_0x16ef08(0x135)])return[];else for(const _0x29127f in _0x25da42[_0x16ef08(0x135)]){_0x1f93b0[_0x16ef08(0x15b)](_0x25da42[_0x16ef08(0x135)][_0x29127f]);}const _0x5e23c4=Math[_0x16ef08(0x17d)](_0x70d464[_0x16ef08(0x176)](_0x25da42['count'],0x28));for(let _0x2b3f5f=0x2;_0x70d464['kxbCc'](_0x2b3f5f,_0x5e23c4);_0x2b3f5f++){const _0x551f61=RequestUtil[_0x16ef08(0x18b)](_0x70d464[_0x16ef08(0x192)](_0x70d464[_0x16ef08(0x18c)](_0x70d464['RxUPd'](_0x70d464['MawEU'](_0x70d464['wxNaB'](_0x16ef08(0x15d),_0x70d464[_0x16ef08(0x186)](_0x70d464[_0x16ef08(0xfb)](_0x2b3f5f,0x1),0x28)),_0x70d464['GDTqE'])+_0x70d464[_0x16ef08(0x186)](_0x2b3f5f,0x28),_0x70d464[_0x16ef08(0x183)])+_0xb3f4c4,_0x16ef08(0x147)),_0xfbe48e),_0x70d464[_0x16ef08(0x167)],'',{'Cookie':_0x42bc5a});_0x1977a0[_0x16ef08(0x15b)](_0x551f61);}for(let _0x4f4b0a=0x1;_0x70d464[_0x16ef08(0x111)](_0x4f4b0a,_0x5e23c4);_0x4f4b0a++){const _0xab16ef=await _0x1977a0[_0x4f4b0a];if(!_0xab16ef?.[_0x16ef08(0x18e)]||_0x70d464[_0x16ef08(0x198)](_0xab16ef?.[_0x16ef08(0x142)],0x0)||!_0xab16ef?.[_0x16ef08(0x135)])continue;for(const _0x1bae37 in _0xab16ef[_0x16ef08(0x135)]){_0x1f93b0[_0x16ef08(0x15b)](_0xab16ef['mems'][_0x1bae37]);}}WebGroupData[_0x16ef08(0x14f)][_0x16ef08(0x11f)](_0xb3f4c4,_0x1f93b0),WebGroupData[_0x16ef08(0x122)][_0x16ef08(0x11f)](_0xb3f4c4,Date[_0x16ef08(0x13b)]());}else _0x1f93b0=_0x2e5935;}catch{return _0x1f93b0;}return _0x1f93b0;}static async[_0x5a9111(0x181)](_0xc0f056,_0x35b78c=''){const _0x5e8621=_0x5a9111,_0x476531={'DtPid':_0x5e8621(0x11c),'ZaemQ':function(_0x35db2c,_0x537dac){return _0x35db2c+_0x537dac;},'YqTIe':function(_0x1b868e,_0x58d853){return _0x1b868e+_0x58d853;},'GTpmD':function(_0x2439f2,_0x287bd2){return _0x2439f2+_0x287bd2;},'MJPdV':_0x5e8621(0x159),'TBkuh':_0x5e8621(0x171),'UTxko':';\x20p_uin=o','HVQbT':function(_0x3f7b99,_0x5ae811){return _0x3f7b99+_0x5ae811;},'uoIom':'&bkn=','rCLTf':_0x5e8621(0x155),'tXqtG':_0x5e8621(0x127),'fVCtU':_0x5e8621(0x150)},_0x1c6789=(await NTQQUserApi[_0x5e8621(0x11b)]([_0x476531['DtPid']]))[_0x476531[_0x5e8621(0xf8)]],_0x25f8bb=await NTQQUserApi[_0x5e8621(0x133)](),_0xaeebd3=_0x476531[_0x5e8621(0x153)](_0x476531['YqTIe'](_0x476531[_0x5e8621(0x12b)](_0x476531['MJPdV'],_0x1c6789),_0x476531['TBkuh'])+_0x25f8bb,_0x476531[_0x5e8621(0x17f)])+selfInfo[_0x5e8621(0x106)];let _0x3fd8c3=undefined;if(!_0x25f8bb||!_0x1c6789)return undefined;const _0x56fb5b=WebApi[_0x5e8621(0x17e)](_0x25f8bb),_0x4c16c9=_0x476531[_0x5e8621(0x153)](_0x476531[_0x5e8621(0x153)](_0x476531[_0x5e8621(0x14a)](_0x476531[_0x5e8621(0x153)](_0x476531[_0x5e8621(0x153)]('qid=',_0xc0f056),_0x476531[_0x5e8621(0x177)])+_0x56fb5b,'&text='),_0x35b78c),_0x476531[_0x5e8621(0x179)]),_0x35803a=_0x476531[_0x5e8621(0x13a)]+_0x56fb5b;try{return _0x3fd8c3=await RequestUtil[_0x5e8621(0x18b)](_0x35803a,_0x476531[_0x5e8621(0x158)],'',{'Cookie':_0xaeebd3}),_0x3fd8c3;}catch(_0x5bc1a2){return undefined;}return undefined;}static async[_0x5a9111(0x173)](_0x56de34){const _0x5ce74c=_0x5a9111,_0x3bac7b={'JJbXk':_0x5ce74c(0x11c),'VmqEl':function(_0x155c4e,_0xcf5f2d){return _0x155c4e+_0xcf5f2d;},'Apymr':function(_0x416c36,_0x104eb6){return _0x416c36+_0x104eb6;},'JkwZi':_0x5ce74c(0x159),'bbLpF':_0x5ce74c(0x171),'sjxAU':_0x5ce74c(0x134),'HxMzh':function(_0x5b799b,_0x3c48a9){return _0x5b799b||_0x3c48a9;},'dVnZA':function(_0x1d788f,_0x527407){return _0x1d788f+_0x527407;},'KEpNA':function(_0x2d6bd6,_0x584436){return _0x2d6bd6+_0x584436;},'Thrmi':_0x5ce74c(0x124),'tdCLC':'&qid=','BEiji':_0x5ce74c(0x150)},_0xe4bf97=(await NTQQUserApi['getPSkey']([_0x3bac7b[_0x5ce74c(0x149)]]))[_0x3bac7b[_0x5ce74c(0x149)]],_0x3c2b90=await NTQQUserApi[_0x5ce74c(0x133)](),_0x101384=_0x3bac7b['VmqEl'](_0x3bac7b[_0x5ce74c(0x148)](_0x3bac7b[_0x5ce74c(0x148)](_0x3bac7b[_0x5ce74c(0x12a)](_0x3bac7b['VmqEl'](_0x3bac7b[_0x5ce74c(0x17c)],_0xe4bf97),_0x3bac7b[_0x5ce74c(0x101)]),_0x3c2b90),_0x3bac7b[_0x5ce74c(0x161)]),selfInfo['uin']);let _0x2bbc0e=undefined;if(_0x3bac7b[_0x5ce74c(0x129)](!_0x3c2b90,!_0xe4bf97))return undefined;const _0x3f2fba=WebApi[_0x5ce74c(0x17e)](_0x3c2b90),_0x33194a=_0x3bac7b[_0x5ce74c(0x12a)](_0x3bac7b['VmqEl'](_0x3bac7b[_0x5ce74c(0x16e)](_0x3bac7b[_0x5ce74c(0x160)](_0x3bac7b['Thrmi'],_0x3f2fba),_0x3bac7b[_0x5ce74c(0x196)]),_0x56de34),_0x5ce74c(0x17a));try{_0x2bbc0e=await RequestUtil[_0x5ce74c(0x18b)](_0x33194a,_0x3bac7b[_0x5ce74c(0x123)],'',{'Cookie':_0x101384});if(_0x2bbc0e?.['ec']!==0x0)return undefined;return _0x2bbc0e;}catch(_0x579624){return undefined;}return undefined;}static[_0x5a9111(0x17e)](_0x184376){const _0x2c715e=_0x5a9111,_0x122640={'GzxjN':function(_0x5da87d,_0x543d88){return _0x5da87d||_0x543d88;},'sGqxK':function(_0x3f3b78,_0x6bdc6a){return _0x3f3b78<_0x6bdc6a;},'VfsrO':function(_0x1d5649,_0x564e8e){return _0x1d5649+_0x564e8e;},'mesEz':function(_0x2bf763,_0x322a46){return _0x2bf763<<_0x322a46;}};_0x184376=_0x122640['GzxjN'](_0x184376,'');let _0x25f8ca=0x1505;for(let _0x4a6571=0x0;_0x122640[_0x2c715e(0x14c)](_0x4a6571,_0x184376[_0x2c715e(0x119)]);_0x4a6571++){const _0x19b7a9=_0x184376[_0x2c715e(0x108)](_0x4a6571);_0x25f8ca=_0x122640[_0x2c715e(0x162)](_0x25f8ca,_0x122640[_0x2c715e(0x125)](_0x25f8ca,0x5))+_0x19b7a9;}return(_0x25f8ca&0x7fffffff)['toString']();}static async['getGroupHonorInfo'](_0x22b6db,_0x17ef10){const _0x4e3560=_0x5a9111,_0x4ec078={'eAZvI':function(_0x2806b1,_0x28a71b){return _0x2806b1+_0x28a71b;},'EkQMW':function(_0x503853,_0x15ecef){return _0x503853+_0x15ecef;},'vfFqZ':_0x4e3560(0x132),'YEahG':'&type=','hqbjg':_0x4e3560(0x150),'RWMgf':function(_0xd3375a,_0x488dcf){return _0xd3375a===_0x488dcf;},'FHuKO':'qun.qq.com','zLdGn':function(_0x5bfdfc,_0x4e0391){return _0x5bfdfc||_0x4e0391;},'KuLFJ':function(_0x5d53e6,_0x4c6600){return _0x5d53e6+_0x4c6600;},'KQVIC':_0x4e3560(0x171),'kibCh':_0x4e3560(0x134),'agFJY':_0x4e3560(0x172),'KGfSA':function(_0x4df09f,_0x16779b){return _0x4df09f===_0x16779b;},'AIsLa':function(_0x564ff7,_0x5c1343,_0x2ee7a2){return _0x564ff7(_0x5c1343,_0x2ee7a2);},'RXfsQ':_0x4e3560(0x168),'eEUxr':function(_0x435243,_0x42e195){return _0x435243(_0x42e195);},'qziOy':function(_0x3c22c4,_0x3f0118){return _0x3c22c4===_0x3f0118;},'cyTDe':function(_0x4aeda5,_0x4bb206,_0x1d74ca){return _0x4aeda5(_0x4bb206,_0x1d74ca);},'Ytwyr':_0x4e3560(0x138),'CYpTW':function(_0x3d6d80,_0x460181){return _0x3d6d80===_0x460181;},'qEFYH':_0x4e3560(0x115),'Acnvk':function(_0xd145b1,_0x368914){return _0xd145b1===_0x368914;},'fpfYb':function(_0x43c99d,_0x465386,_0x30a641){return _0x43c99d(_0x465386,_0x30a641);},'wxFpx':_0x4e3560(0x19a),'hqWWc':function(_0x3fed89,_0x4dad34){return _0x3fed89===_0x4dad34;},'BmMWI':function(_0x19442d,_0x34cb71){return _0x19442d===_0x34cb71;}},_0x570954=(await NTQQUserApi[_0x4e3560(0x11b)]([_0x4e3560(0x11c)]))[_0x4ec078[_0x4e3560(0x103)]],_0x4f7a86=await NTQQUserApi[_0x4e3560(0x133)]();if(_0x4ec078[_0x4e3560(0x15f)](!_0x4f7a86,!_0x570954))return undefined;async function _0x406689(_0x4336ca,_0x35fe4d){const _0x557139=_0x4e3560;let _0x214d21=_0x4ec078['eAZvI'](_0x4ec078[_0x557139(0x174)](_0x4ec078[_0x557139(0x128)],_0x4336ca)+_0x4ec078[_0x557139(0x131)],_0x35fe4d[_0x557139(0x156)]()),_0x19c039='',_0x276a7e;try{_0x19c039=await RequestUtil[_0x557139(0x110)](_0x214d21,_0x4ec078[_0x557139(0x118)],'',{'Cookie':_0x2aa0c8});const _0x190f45=_0x19c039['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x190f45&&(_0x276a7e=JSON[_0x557139(0x139)](_0x190f45[0x1][_0x557139(0x117)]())),_0x4ec078['RWMgf'](_0x35fe4d,0x1)?_0x276a7e?.[_0x557139(0x185)]:_0x276a7e?.[_0x557139(0x144)];}catch(_0x350a29){logDebug(_0x557139(0x19d),_0x214d21,_0x350a29);}return undefined;}let _0x2e690a={'group_id':_0x22b6db};const _0x2aa0c8=_0x4ec078[_0x4e3560(0x178)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x14e)](_0x4e3560(0x159)+_0x570954,_0x4ec078[_0x4e3560(0x188)]),_0x4f7a86),_0x4ec078[_0x4e3560(0x11e)]),selfInfo[_0x4e3560(0x106)]),_0x4ec078['agFJY']),selfInfo[_0x4e3560(0x106)]);if(_0x4ec078[_0x4e3560(0x116)](_0x17ef10,WebHonorType[_0x4e3560(0xfc)])||_0x4ec078[_0x4e3560(0x154)](_0x17ef10,WebHonorType[_0x4e3560(0x12e)]))try{let _0x3bc37d=await _0x4ec078[_0x4e3560(0x166)](_0x406689,_0x22b6db,0x1);if(!_0x3bc37d)throw new Error(_0x4ec078['RXfsQ']);_0x2e690a[_0x4e3560(0x12c)]={'user_id':_0x3bc37d[0x0]?.[_0x4e3560(0x106)],'avatar':_0x3bc37d[0x0]?.[_0x4e3560(0x180)],'nickname':_0x3bc37d[0x0]?.[_0x4e3560(0x12f)],'day_count':0x0,'description':_0x3bc37d[0x0]?.['desc']},_0x2e690a[_0x4e3560(0x104)]=[];for(const _0x40f54a of _0x3bc37d){_0x2e690a[_0x4e3560(0x104)][_0x4e3560(0x15b)]({'user_id':_0x40f54a?.[_0x4e3560(0x106)],'avatar':_0x40f54a?.[_0x4e3560(0x180)],'description':_0x40f54a?.[_0x4e3560(0x197)],'day_count':0x0,'nickname':_0x40f54a?.['name']});}}catch(_0x3eafc3){_0x4ec078[_0x4e3560(0x107)](logDebug,_0x3eafc3);}if(_0x4ec078[_0x4e3560(0x14b)](_0x17ef10,WebHonorType[_0x4e3560(0x187)])||_0x4ec078[_0x4e3560(0x14b)](_0x17ef10,WebHonorType[_0x4e3560(0x12e)]))try{let _0x46642a=await _0x4ec078[_0x4e3560(0x17b)](_0x406689,_0x22b6db,0x2);if(!_0x46642a)throw new Error(_0x4ec078['Ytwyr']);_0x2e690a['performer_list']=[];for(const _0x2db6f0 of _0x46642a){_0x2e690a['performer_list'][_0x4e3560(0x15b)]({'user_id':_0x2db6f0?.['uin'],'nickname':_0x2db6f0?.[_0x4e3560(0x12f)],'avatar':_0x2db6f0?.['avatar'],'description':_0x2db6f0?.[_0x4e3560(0x197)]});}}catch(_0x5cff13){_0x4ec078[_0x4e3560(0x107)](logDebug,_0x5cff13);}if(_0x4ec078[_0x4e3560(0x154)](_0x17ef10,WebHonorType[_0x4e3560(0x187)])||_0x4ec078[_0x4e3560(0x140)](_0x17ef10,WebHonorType[_0x4e3560(0x12e)]))try{let _0x12236b=await _0x4ec078[_0x4e3560(0x17b)](_0x406689,_0x22b6db,0x3);if(!_0x12236b)throw new Error(_0x4ec078[_0x4e3560(0x157)]);_0x2e690a[_0x4e3560(0xf9)]=[];for(const _0x3b612f of _0x12236b){_0x2e690a[_0x4e3560(0xf9)][_0x4e3560(0x15b)]({'user_id':_0x3b612f?.[_0x4e3560(0x106)],'nickname':_0x3b612f?.[_0x4e3560(0x12f)],'avatar':_0x3b612f?.[_0x4e3560(0x180)],'desc':_0x3b612f?.[_0x4e3560(0xff)]});}}catch(_0x5ae895){logDebug(_0x4ec078[_0x4e3560(0x157)],_0x5ae895);}if(_0x17ef10===WebHonorType[_0x4e3560(0x10a)]||_0x4ec078[_0x4e3560(0x146)](_0x17ef10,WebHonorType['ALL']))try{let _0x5764f4=await _0x4ec078[_0x4e3560(0xfa)](_0x406689,_0x22b6db,0x6);if(!_0x5764f4)throw new Error(_0x4ec078[_0x4e3560(0x126)]);_0x2e690a[_0x4e3560(0x114)]=[];for(const _0x17c1da of _0x5764f4){_0x2e690a['emotion_list'][_0x4e3560(0x15b)]({'user_id':_0x17c1da?.[_0x4e3560(0x106)],'nickname':_0x17c1da?.[_0x4e3560(0x12f)],'avatar':_0x17c1da?.['avatar'],'desc':_0x17c1da?.['description']});}}catch(_0x3fdff4){logDebug(_0x4ec078[_0x4e3560(0x126)],_0x3fdff4);}return(_0x4ec078[_0x4e3560(0x141)](_0x17ef10,WebHonorType['EMOTION'])||_0x4ec078['BmMWI'](_0x17ef10,WebHonorType['ALL']))&&(_0x2e690a['strong_newbie_list']=[]),_0x2e690a;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index b89b9aec..809e2816 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x56676e=_0x3f21;(function(_0xf8942d,_0x5244d7){const _0x2a459e=_0x3f21,_0x30c736=_0xf8942d();while(!![]){try{const _0x422de3=parseInt(_0x2a459e(0x138))/0x1+parseInt(_0x2a459e(0x1d9))/0x2*(parseInt(_0x2a459e(0x16a))/0x3)+parseInt(_0x2a459e(0x13b))/0x4+-parseInt(_0x2a459e(0x156))/0x5*(parseInt(_0x2a459e(0x1a9))/0x6)+-parseInt(_0x2a459e(0x12d))/0x7*(parseInt(_0x2a459e(0x1cb))/0x8)+parseInt(_0x2a459e(0x1de))/0x9+-parseInt(_0x2a459e(0x1b4))/0xa;if(_0x422de3===_0x5244d7)break;else _0x30c736['push'](_0x30c736['shift']());}catch(_0x6d08ad){_0x30c736['push'](_0x30c736['shift']());}}}(_0xa454,0x4d5a2));import _0x5a411d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x352171 from'node:path';import _0xb0fbb5 from'node:os';import _0x47fb7c from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x323fe from'node:crypto';function _0x3f21(_0x43b2df,_0x3c61b9){const _0xa454e5=_0xa454();return _0x3f21=function(_0x3f216a,_0x4b5235){_0x3f216a=_0x3f216a-0x128;let _0x375af1=_0xa454e5[_0x3f216a];return _0x375af1;},_0x3f21(_0x43b2df,_0x3c61b9);}import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0xa454(){const _0x5b2426=['DMpCp','18627whXbgk','TdaoX','BcaGX','登录失败','qTIjG','onLineDev','./NapCat/data','onLoginSuccess','session','consoleLogLevel','GroupListener','35119HgHWtr','from','loginErrorInfo','1827080MMHqzp','onMemberListChange','zciRo','read','FqCAZ','errMsg','data:image/png;base64,','oGeGU','pngBase64QrcodeData','getNextMemberList','V1_WIN_NQ_','ASSTW','digest','getQRCodePicture','WSTeu','dscYf','consoleLog','ubsCX','sceneId','tipsDesc','onQRCodeLoginSucceed','addKernelLoginListener','initDataListener','Ozeqh',')已登录,无法重复登录','MxoUt','onMemberInfoChange','680ZHhsPY','loginListener','initSession','onLoginSuccessFuncList','getBuddyList','./nt_qq/global','gSLbM','MMmbG','140022013','last_message_time','NodeIKernelLoginListener','fPHdF','set','getBuddyService','then','map','onRecvSysMsg','devUid','QCXuN','proxyHandler','3TyznfU','curVersion','initConfig','PvdqX','assign','message_sent','otPpw','NodeIKernelGroupListener','xIiCs','onGroupListUpdate','mGOsZ','onProfileDetailInfoChanged','addKernelMsgListener','groupCode','ZkTPH','getLoginList','memberCount','THmsC','yVENN','BkHPd','GMeXx','NodeQQNTWrapperUtil','140022008','onQRCodeGetPicture','tipsTitle','quickLoginWithUin','packet_received','NodeIKernelBuddyListener','NodeIDependsAdapter','NodeIGlobalAdapter','RTvtx','addListener','fileLog','ZlifW','addKernelBuddyListener','\x20has\x20no\x20method\x20','onRecvMsg','mkdirSync','initWithDeskTopConfig','RqLpU','本账号数据/缓存目录:','快速登录失败\x20','ProfileListener','onAddSendMsg','onLoginFailed','NodeIQQNTWrapperSession','mItxI','catch','hex','get','NodeIKernelLoginService','getNTUserDataInfoConfig','dataPathGlobal','uid','dataPath','getMsgService','getProfileService','init','gVZYV','getGroupService','qKnJW','createHash','pxDdf','4362ghSlbk','floor','GaNgU','MsgListener','forEach','addKernelProfileListener','pROeF','createMemberListScene','qrcodeUrl','MKbED','buddyList','5173450GoSfGV','onSelfStatusChanged','gFCDD','DERBL','replace','now','bBOuX','vtveH','NodeIKernelSessionListener','uin','engine','packet_sent','infos','split',')\x20在线状态变更','rFXLk','loginService','ZrhiD','isDelete','fMbha','length','NodeIKernelProfileListener','push','1096LMxvxQ','paaeQ','WestD','Windows\x2010\x20Pro','result','onSessionInitComplete','initSession\x20failed','quickLogin','onUserLoggedIn','util','NodeIKernelMsgListener','MGxFU','name','onQRCodeSessionFailed','557656pChLwS','base64','undefined','ICWXr','UrkNr','4742019WObGDE','addKernelGroupListener','./.config/QQ','resolve','FUEYt','zVbzA'];_0xa454=function(){return _0x5b2426;};return _0xa454();}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x56676e(0x135)];['util'];[_0x56676e(0x1be)];[_0x56676e(0x157)];['loginService'];[_0x56676e(0x159)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x554c6a=_0x56676e,rNlRox={'FqCAZ':function(x,y){return x===y;},'dscYf':_0x554c6a(0x1db)};if(rNlRox[_0x554c6a(0x13f)](typeof target[prop],rNlRox[_0x554c6a(0x14a)]))return(...args)=>{const _0x47e246=_0x554c6a;logDebug(target['constructor'][_0x47e246(0x1d7)]+_0x47e246(0x18d)+prop);};return Reflect[_0x554c6a(0x19b)](target,prop,receiver);}};constructor(){const _0x54ede9=_0x56676e,_0x4dd3c8={'cOTEe':function(_0x1b18cd,_0x49398d){return _0x1b18cd(_0x49398d);},'zVbzA':function(_0x5917bb,_0x5e32f9){return _0x5917bb+_0x5e32f9;},'YVNno':function(_0x5e1555,_0x4e2e62){return _0x5e1555+_0x4e2e62;},'MKbED':'当前账号(','gFCDD':_0x54ede9(0x153),'ZlifW':function(_0x21c612,_0x484713,_0x102566){return _0x21c612(_0x484713,_0x102566);},'gVdhf':_0x54ede9(0x133),'FUEYt':function(_0x550320,_0x56de62,_0x5a4212){return _0x550320(_0x56de62,_0x5a4212);},'DMpCp':_0x54ede9(0x192),'ZrhiD':_0x54ede9(0x1d1),'BcaGX':function(_0x4617e7,_0x5b3c6b,_0x11673e){return _0x4617e7(_0x5b3c6b,_0x11673e);},'JNHOj':_0x54ede9(0x130),'ICWXr':function(_0x525da8,_0x4e68f4){return _0x525da8==_0x4e68f4;},'TdaoX':function(_0x453470,_0x479424){return _0x453470==_0x479424;}};this[_0x54ede9(0x1be)]=new _0x5a411d['NodeIQQNTWrapperEngine'](),this[_0x54ede9(0x1d4)]=new _0x5a411d[(_0x54ede9(0x17f))](),this[_0x54ede9(0x1c4)]=new _0x5a411d[(_0x54ede9(0x19c))](),this['session']=new _0x5a411d[(_0x54ede9(0x197))](),this[_0x54ede9(0x157)]=new LoginListener(),this[_0x54ede9(0x157)][_0x54ede9(0x1d3)]=_0x735df9=>{const _0x50e4ce=_0x54ede9;_0x4dd3c8['cOTEe'](logError,_0x4dd3c8[_0x50e4ce(0x12b)](_0x4dd3c8['YVNno'](_0x4dd3c8[_0x50e4ce(0x1b2)],_0x735df9),_0x4dd3c8[_0x50e4ce(0x1b6)]));},this[_0x54ede9(0x157)][_0x54ede9(0x14f)]=_0x1717e7=>{const _0x2be679=_0x54ede9,_0x30a603={'gSLbM':function(_0x94ddf,_0x1e6c00,_0x3a53ad){return _0x94ddf(_0x1e6c00,_0x3a53ad);},'vtveH':'数据库初始化失败','GaNgU':_0x4dd3c8[_0x2be679(0x1c5)]};this[_0x2be679(0x158)](_0x1717e7[_0x2be679(0x1bd)],_0x1717e7[_0x2be679(0x19f)])['then'](_0x3e5345=>{const _0x571807=_0x2be679,_0x3b441a={'MGxFU':function(_0x58c349,_0x497c1c,_0x5f135b){const _0x84224=_0x3f21;return _0x4dd3c8[_0x84224(0x18b)](_0x58c349,_0x497c1c,_0x5f135b);}};selfInfo[_0x571807(0x1bd)]=_0x1717e7[_0x571807(0x1bd)],selfInfo['uid']=_0x1717e7[_0x571807(0x19f)],napCatConfig[_0x571807(0x13e)](),_0x4dd3c8[_0x571807(0x18b)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x571807(0x136)]),enableFileLog(napCatConfig[_0x571807(0x18a)]),_0x4dd3c8['cOTEe'](enableConsoleLog,napCatConfig[_0x571807(0x14b)]),_0x4dd3c8['cOTEe'](setLogSelfInfo,selfInfo);const _0x33fcca=_0x352171[_0x571807(0x129)](this[_0x571807(0x1a0)],_0x4dd3c8['gVdhf']);_0x47fb7c['mkdirSync'](_0x33fcca,{'recursive':!![]}),_0x4dd3c8[_0x571807(0x12a)](logDebug,_0x4dd3c8[_0x571807(0x12c)],_0x33fcca),dbUtil['init'](_0x352171[_0x571807(0x129)](_0x33fcca,'./'+_0x1717e7[_0x571807(0x1bd)]+'-v2.db'))[_0x571807(0x164)](()=>{const _0x1a9262=_0x571807,_0x21da42={'aPAlN':function(_0x1a3d31,_0x5c21e3,_0x2fa3f7){const _0x3e99cf=_0x3f21;return _0x3b441a[_0x3e99cf(0x1d6)](_0x1a3d31,_0x5c21e3,_0x2fa3f7);}};this[_0x1a9262(0x151)](),this['onLoginSuccessFuncList'][_0x1a9262(0x165)](_0x31259d=>{const _0x76ae38=_0x1a9262,_0x19f7fe={'RTvtx':function(_0x20ebe7,_0x4bfb83,_0x3b94ba){return _0x21da42['aPAlN'](_0x20ebe7,_0x4bfb83,_0x3b94ba);}};new Promise((_0x50b64b,_0x201dfd)=>{const _0x3a772d=_0x3f21,_0x47f20a=_0x19f7fe[_0x3a772d(0x188)](_0x31259d,_0x1717e7[_0x3a772d(0x1bd)],_0x1717e7['uid']);_0x47f20a instanceof Promise&&_0x47f20a[_0x3a772d(0x164)](_0x50b64b)[_0x3a772d(0x199)](_0x201dfd);})[_0x76ae38(0x164)]();});})[_0x571807(0x199)](_0x50b538=>{const _0x56b47e=_0x571807;_0x30a603[_0x56b47e(0x15c)](logError,_0x30a603[_0x56b47e(0x1bb)],_0x50b538);});})[_0x2be679(0x199)](_0x1d480c=>{const _0x238f70=_0x2be679;logError(_0x30a603[_0x238f70(0x1ab)],_0x1d480c);throw new Error('启动失败:\x20'+JSON['stringify'](_0x1d480c));});},this['loginListener'][_0x54ede9(0x1d8)]=(_0xe0cdcd,_0x5d0d2e,_0x591c85)=>{const _0x31e689=_0x54ede9;_0x4dd3c8[_0x31e689(0x12f)](logError,_0x4dd3c8['JNHOj'],_0x591c85),_0x4dd3c8[_0x31e689(0x1dc)](_0xe0cdcd,0x1)&&_0x4dd3c8[_0x31e689(0x12e)](_0x5d0d2e,0x3)&&this[_0x31e689(0x1c4)][_0x31e689(0x148)]();},this[_0x54ede9(0x157)][_0x54ede9(0x196)]=_0x3faaa2=>{logError(_0x4dd3c8['JNHOj'],_0x3faaa2);},this['loginListener']=new Proxy(this['loginListener'],this[_0x54ede9(0x169)]),this[_0x54ede9(0x1c4)][_0x54ede9(0x150)](new _0x5a411d[(_0x54ede9(0x160))](this[_0x54ede9(0x157)])),this[_0x54ede9(0x16c)]();}get[_0x56676e(0x1a0)](){const _0x2c6872=_0x56676e,_0xaec5d7={'ASSTW':_0x2c6872(0x128)};let _0x32904c=this[_0x2c6872(0x1d4)][_0x2c6872(0x19d)]();return!_0x32904c&&(_0x32904c=_0x352171[_0x2c6872(0x129)](_0xb0fbb5['homedir'](),_0xaec5d7[_0x2c6872(0x146)]),_0x47fb7c[_0x2c6872(0x18f)](_0x32904c,{'recursive':!![]})),_0x32904c;}get[_0x56676e(0x19e)](){const _0x20b9ab=_0x56676e,_0x316b38={'SongY':_0x20b9ab(0x15b)};return _0x352171[_0x20b9ab(0x129)](this[_0x20b9ab(0x1a0)],_0x316b38['SongY']);}[_0x56676e(0x16c)](){const _0x4e408b=_0x56676e,_0x107193={'GMeXx':_0x4e408b(0x1ce)};this['engine'][_0x4e408b(0x190)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x107193[_0x4e408b(0x17e)],'use_xlog':!![],'qua':_0x4e408b(0x145)+qqVersionConfigInfo['curVersion'][_0x4e408b(0x1b8)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x4e408b(0x19e)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5a411d[(_0x4e408b(0x187))](new GlobalAdapter())),this[_0x4e408b(0x1c4)][_0x4e408b(0x16c)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x4e408b(0x16b)],'hostName':hostname});}[_0x56676e(0x158)](_0x3484be,_0x5c7c03){const _0x174c6f={'bBOuX':function(_0x48299a,_0x15af35){return _0x48299a===_0x15af35;},'QFGOW':function(_0x1f8d5a,_0x1065ab){return _0x1f8d5a(_0x1065ab);},'paaeQ':function(_0x26882e,_0x563820,_0x22376c,_0x84e508){return _0x26882e(_0x563820,_0x22376c,_0x84e508);},'zciRo':'init\x20failed\x20'};return new Promise(async(_0x10e756,_0x97a2bd)=>{const _0x1da69e=_0x3f21,_0x43c941={'wSuCD':function(_0x5f4605,_0x1822fd){const _0x5ee1e4=_0x3f21;return _0x174c6f[_0x5ee1e4(0x1ba)](_0x5f4605,_0x1822fd);},'aGlMT':function(_0xec3e44,_0x1d50e4){return _0x174c6f['QFGOW'](_0xec3e44,_0x1d50e4);}},_0x27f652=await _0x174c6f[_0x1da69e(0x1cc)](genSessionConfig,_0x3484be,_0x5c7c03,this[_0x1da69e(0x1a0)]),_0x5a8614=new SessionListener();_0x5a8614[_0x1da69e(0x1d0)]=_0x56b60f=>{if(_0x43c941['wSuCD'](_0x56b60f,0x0))return _0x10e756(0x0);_0x43c941['aGlMT'](_0x97a2bd,_0x56b60f);},this[_0x1da69e(0x135)][_0x1da69e(0x1a3)](_0x27f652,new _0x5a411d[(_0x1da69e(0x186))](new DependsAdapter()),new _0x5a411d['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x5a411d[(_0x1da69e(0x1bc))](_0x5a8614));try{this[_0x1da69e(0x135)]['startNT'](0x0);}catch(_0x51a813){try{this[_0x1da69e(0x135)]['startNT']();}catch(_0x466758){_0x174c6f['QFGOW'](_0x97a2bd,_0x174c6f[_0x1da69e(0x13d)]+_0x466758);}}});}['initDataListener'](){const _0x38aa3b=_0x56676e,_0x1d1f34={'WSTeu':function(_0x23b6b8,_0x54a6d1){return _0x23b6b8===_0x54a6d1;},'RqLpU':'账号设备(','ZkTPH':_0x38aa3b(0x1c2),'YtLwO':function(_0x34235b,_0x446853){return _0x34235b+_0x446853;},'PvdqX':'[KickedOffLine]\x20[','ubsCX':function(_0xd91894,_0x1ada75){return _0xd91894/_0x1ada75;},'QCXuN':function(_0x6a8ae0,_0x58caf1){return _0x6a8ae0/_0x58caf1;},'UrkNr':function(_0x2dfb1f,_0xac06d){return _0x2dfb1f===_0xac06d;},'MxoUt':function(_0x404992,_0x3cf355,_0x2f3640){return _0x404992(_0x3cf355,_0x2f3640);}},_0x2a3d72=new MsgListener();_0x2a3d72[_0x38aa3b(0x132)]=_0x38bc28=>{const _0x2fa894=_0x38aa3b,_0x5705dd={'iRKdz':function(_0x244ef0,_0x564ad7){return _0x1d1f34['WSTeu'](_0x244ef0,_0x564ad7);},'kPkqf':function(_0x5ea4ea,_0x5cd39c){return _0x5ea4ea(_0x5cd39c);},'qKnJW':function(_0x37045c,_0x2d4c97){return _0x37045c+_0x2d4c97;},'CjhZe':_0x1d1f34[_0x2fa894(0x191)],'WestD':_0x1d1f34[_0x2fa894(0x178)]};_0x38bc28['map'](_0x2fb2c6=>{const _0x2ebb9c=_0x2fa894;_0x5705dd['iRKdz'](_0x2fb2c6['clientType'],0x2)&&_0x5705dd['kPkqf'](log,_0x5705dd[_0x2ebb9c(0x1a6)](_0x5705dd['CjhZe']+_0x2fb2c6[_0x2ebb9c(0x167)],_0x5705dd[_0x2ebb9c(0x1cd)]));});},_0x2a3d72['onKickedOffLine']=_0x26e56f=>{const _0x4f3bab=_0x38aa3b;log(_0x1d1f34['YtLwO'](_0x1d1f34[_0x4f3bab(0x16d)]+_0x26e56f[_0x4f3bab(0x182)],']\x20')+_0x26e56f[_0x4f3bab(0x14e)]);},_0x2a3d72[_0x38aa3b(0x195)]=_0x828d2d=>{const _0x1910cb=_0x38aa3b;stat[_0x1910cb(0x1bf)]+=0x1,stat[_0x1910cb(0x16f)]+=0x1,stat[_0x1910cb(0x15f)]=Math[_0x1910cb(0x1aa)](_0x1d1f34[_0x1910cb(0x14c)](Date['now'](),0x3e8));},_0x2a3d72[_0x38aa3b(0x18e)]=_0x5b9145=>{const _0x541953=_0x38aa3b;stat[_0x541953(0x184)]+=0x1,stat['message_received']+=_0x5b9145[_0x541953(0x1c8)],stat[_0x541953(0x15f)]=Math[_0x541953(0x1aa)](_0x1d1f34[_0x541953(0x168)](Date[_0x541953(0x1b9)](),0x3e8));},_0x2a3d72[_0x38aa3b(0x166)]=(..._0x3a81d7)=>{const _0x21060e=_0x38aa3b;stat[_0x21060e(0x184)]+=0x1;},this[_0x38aa3b(0x189)](_0x2a3d72);const _0x5ae044=new BuddyListener();_0x5ae044['onBuddyListChange']=_0x1da69a=>{const _0x2fedeb=_0x38aa3b;rawFriends[_0x2fedeb(0x1c8)]=0x0,rawFriends[_0x2fedeb(0x1ca)](..._0x1da69a);for(const _0x1c3943 of _0x1da69a){for(const _0x7cdfef of _0x1c3943[_0x2fedeb(0x1b3)]){const _0x4486eb=friends['get'](_0x7cdfef['uid']);_0x4486eb?Object[_0x2fedeb(0x16e)](_0x4486eb,_0x7cdfef):friends['set'](_0x7cdfef[_0x2fedeb(0x19f)],_0x7cdfef);}}},this[_0x38aa3b(0x189)](_0x5ae044),this['session'][_0x38aa3b(0x163)]()[_0x38aa3b(0x15a)](!![])['then'](_0x5d6257=>{});const _0x2852f4=new ProfileListener();_0x2852f4[_0x38aa3b(0x175)]=_0x318151=>{const _0x1b2601=_0x38aa3b;_0x1d1f34[_0x1b2601(0x149)](_0x318151[_0x1b2601(0x19f)],selfInfo[_0x1b2601(0x19f)])&&Object['assign'](selfInfo,_0x318151);},_0x2852f4[_0x38aa3b(0x1b5)]=_0x32e790=>{},this[_0x38aa3b(0x189)](_0x2852f4);const _0x1e1848=new GroupListener();_0x1e1848[_0x38aa3b(0x173)]=(_0x156811,_0x4f51be)=>{const _0x1aefd6=_0x38aa3b,_0x57f152={'xIiCs':function(_0x570e9f,_0x2f797d){const _0x52adf3=_0x3f21;return _0x1d1f34[_0x52adf3(0x149)](_0x570e9f,_0x2f797d);},'fPHdF':'groupMemberList_MainWindow'};_0x4f51be[_0x1aefd6(0x165)](_0x371001=>{const _0x469278=_0x1aefd6,_0x5518cc=groups[_0x469278(0x19b)](_0x371001['groupCode']);_0x5518cc&&_0x57f152[_0x469278(0x172)](_0x371001[_0x469278(0x17a)],_0x5518cc[_0x469278(0x17a)])?Object[_0x469278(0x16e)](_0x5518cc,_0x371001):groups[_0x469278(0x162)](_0x371001[_0x469278(0x177)],_0x371001);const _0x49ec17=this['session'][_0x469278(0x1a5)]()[_0x469278(0x1b0)](_0x371001[_0x469278(0x177)],_0x57f152[_0x469278(0x161)]);this[_0x469278(0x135)]['getGroupService']()[_0x469278(0x144)](_0x49ec17,undefined,0xbb8)[_0x469278(0x164)](_0x18b332=>{});});},_0x1e1848[_0x38aa3b(0x13c)]=_0x37d4bd=>{const _0x5817d2=_0x38aa3b,_0x9a48db=_0x37d4bd[_0x5817d2(0x14d)][_0x5817d2(0x1c1)]('_')[0x0];if(groupMembers['has'](_0x9a48db)){const _0x1bc2c0=groupMembers[_0x5817d2(0x19b)](_0x9a48db);_0x37d4bd[_0x5817d2(0x1c0)][_0x5817d2(0x1ad)]((_0x54dd11,_0x139318)=>{const _0x180e60=_0x5817d2,_0x2cfa14=_0x1bc2c0['get'](_0x139318);_0x2cfa14?Object[_0x180e60(0x16e)](_0x2cfa14,_0x54dd11):_0x1bc2c0[_0x180e60(0x162)](_0x139318,_0x54dd11);});}else groupMembers['set'](_0x9a48db,_0x37d4bd[_0x5817d2(0x1c0)]);},_0x1e1848[_0x38aa3b(0x155)]=(_0x10b72c,_0x53cfbe,_0x3074f3)=>{const _0x591168=_0x38aa3b;_0x1d1f34[_0x591168(0x1dd)](_0x53cfbe,0x0)&&_0x3074f3['get'](selfInfo['uid'])&&_0x3074f3[_0x591168(0x19b)](selfInfo[_0x591168(0x19f)])?.[_0x591168(0x1c6)]&&_0x1d1f34[_0x591168(0x154)](setTimeout,()=>{groups['delete'](_0x10b72c);},0x1388);const _0x20d5a1=groupMembers[_0x591168(0x19b)](_0x10b72c);_0x20d5a1?_0x3074f3['forEach']((_0x5da7b6,_0x369818)=>{const _0x88f2d5=_0x591168,_0x4dd89e=_0x20d5a1['get'](_0x369818);_0x4dd89e?Object[_0x88f2d5(0x16e)](_0x4dd89e,_0x5da7b6):_0x20d5a1[_0x88f2d5(0x162)](_0x369818,_0x5da7b6);}):groupMembers[_0x591168(0x162)](_0x10b72c,_0x3074f3);},this['addListener'](_0x1e1848);}[_0x56676e(0x189)](_0x16a137){const _0x50c9f8=_0x56676e,_0x4b15fc={'DERBL':'BuddyListener','THmsC':_0x50c9f8(0x137),'wiFVm':_0x50c9f8(0x1ac),'gVZYV':_0x50c9f8(0x194)};_0x16a137=new Proxy(_0x16a137,this[_0x50c9f8(0x169)]);switch(_0x16a137['constructor'][_0x50c9f8(0x1d7)]){case _0x4b15fc[_0x50c9f8(0x1b7)]:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x163)]()[_0x50c9f8(0x18c)](new _0x5a411d[(_0x50c9f8(0x185))](_0x16a137));}case _0x4b15fc[_0x50c9f8(0x17b)]:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x1a5)]()[_0x50c9f8(0x1df)](new _0x5a411d[(_0x50c9f8(0x171))](_0x16a137));}case _0x4b15fc['wiFVm']:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x1a1)]()[_0x50c9f8(0x176)](new _0x5a411d[(_0x50c9f8(0x1d5))](_0x16a137));}case _0x4b15fc[_0x50c9f8(0x1a4)]:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x1a2)]()[_0x50c9f8(0x1ae)](new _0x5a411d[(_0x50c9f8(0x1c9))](_0x16a137));}default:return-0x1;}}[_0x56676e(0x134)](_0x232560){const _0x3b2ab6=_0x56676e;NTEventDispatch[_0x3b2ab6(0x1a3)]({'ListenerMap':_0x5a411d,'WrapperSession':this[_0x3b2ab6(0x135)]}),this[_0x3b2ab6(0x159)]['push'](_0x232560);}async[_0x56676e(0x1d2)](_0x2dcdc5){const _0x71a749=_0x56676e,_0xb87552={'pxDdf':function(_0x518fa4,_0x329b1f){return _0x518fa4!==_0x329b1f;},'qTIjG':function(_0x405b22,_0x478b6a){return _0x405b22(_0x478b6a);},'fMbha':_0x71a749(0x193)},_0x137fcb=await this[_0x71a749(0x1c4)]['getLoginList']();if(_0xb87552[_0x71a749(0x1a8)](_0x137fcb[_0x71a749(0x1cf)],0x0))throw new Error('没有可快速登录的QQ号');const _0x361da2=_0x137fcb['LocalLoginInfoList']['find'](_0xca6b08=>_0xca6b08[_0x71a749(0x1bd)]===_0x2dcdc5);if(!_0x361da2||!_0x361da2?.['isQuickLogin'])throw new Error(_0x2dcdc5+'快速登录不可用');await _0xb87552[_0x71a749(0x131)](sleep,0x3e8);const _0x145e48=await this[_0x71a749(0x1c4)][_0x71a749(0x183)](_0x2dcdc5);if(!_0x145e48['result'])throw new Error(_0xb87552[_0x71a749(0x1c7)]+_0x145e48[_0x71a749(0x13a)][_0x71a749(0x140)]);return _0x145e48;}async['qrLogin'](_0x29e26b){const _0x48004a=_0x56676e,_0x49a5b2={'Ozeqh':_0x48004a(0x141),'otPpw':_0x48004a(0x1da),'mGOsZ':function(_0x2116bb,_0x3f6560,_0x5a39ff,_0x22e18f){return _0x2116bb(_0x3f6560,_0x5a39ff,_0x22e18f);}};return new Promise((_0x4f2ac8,_0x3cad58)=>{const _0x331400=_0x48004a,_0x295ad6={'rFXLk':_0x49a5b2[_0x331400(0x152)],'ramnz':_0x49a5b2[_0x331400(0x170)],'mItxI':function(_0x50ee3d,_0x25b347,_0x37457f,_0x54bb10){const _0x9713c6=_0x331400;return _0x49a5b2[_0x9713c6(0x174)](_0x50ee3d,_0x25b347,_0x37457f,_0x54bb10);}};this[_0x331400(0x157)][_0x331400(0x181)]=_0x1df84d=>{const _0xaeaa8d=_0x331400,_0x1dce4a=_0x1df84d[_0xaeaa8d(0x143)]['split'](_0x295ad6[_0xaeaa8d(0x1c3)])[0x1],_0x1e6a22=Buffer[_0xaeaa8d(0x139)](_0x1dce4a,_0x295ad6['ramnz']);_0x295ad6[_0xaeaa8d(0x198)](_0x29e26b,_0x1df84d[_0xaeaa8d(0x1b1)],_0x1df84d['pngBase64QrcodeData'],_0x1e6a22);},this[_0x331400(0x1c4)]['getQRCodePicture']();});}async['passwordLogin'](_0x54e247,_0x1a905d,_0x681116,_0x5326ef,_0x14eb3e){const _0xd9670=_0x56676e,_0x2a78ac={'yVENN':'md5','pROeF':_0xd9670(0x19a),'MMmbG':function(_0x2949d0,_0x3dfc2c){return _0x2949d0||_0x3dfc2c;},'BkHPd':_0xd9670(0x180),'oGeGU':_0xd9670(0x15e)},_0x19fa30=_0x323fe[_0xd9670(0x1a7)](_0x2a78ac[_0xd9670(0x17c)])['update'](_0x1a905d)[_0xd9670(0x147)](_0x2a78ac[_0xd9670(0x1af)]),_0x451c90={'uin':_0x54e247,'passwordMd5':_0x19fa30,'step':_0x681116&&_0x5326ef&&_0x14eb3e?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x2a78ac[_0xd9670(0x15d)](_0x681116,''),'proofWaterRand':_0x5326ef||'','proofWaterSid':_0x2a78ac[_0xd9670(0x15d)](_0x14eb3e,'')};await this[_0xd9670(0x1c4)]['getLoginList'](),await sleep(0x3e8);const _0x4f750f=await this[_0xd9670(0x1c4)]['passwordLogin'](_0x451c90);switch(_0x4f750f[_0xd9670(0x1cf)]){case'0':{break;}case _0x2a78ac[_0xd9670(0x17d)]:{break;}case'4':case _0x2a78ac[_0xd9670(0x142)]:default:}}async['getQuickLoginList'](){const _0x4f7484=_0x56676e,_0x2bdea0=await this[_0x4f7484(0x1c4)][_0x4f7484(0x179)]();return _0x2bdea0;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x246138=_0x2ca7;function _0x5541(){const _0x27492a=['resolve','kONRT','5338690IggbNF','now','loginService','Mosjb','then','onKickedOffLine','devUid','onGroupListUpdate','mCdMR','addKernelLoginListener','data:image/png;base64,','BFOOJ','ebRNM','uid','VslQY','quickLogin','ucilS','getQRCodePicture','update','xSeXa',')已登录,无法重复登录','Slhry','onMemberListChange','uvlfN','mkdirSync','本账号数据/缓存目录:','onRecvMsg','OnyEC','initSession','init','packet_sent','63PtpfNf','last_message_time','没有可快速登录的QQ号','onQRCodeSessionFailed','nCTbm','NodeQQNTWrapperUtil','Lutbh','getProfileService','isQuickLogin','stringify','NodeIKernelSessionListener','dSVxE','startNT','mvzmh','_GW_B','forEach','NodeIKernelGroupListener','groupMemberList_MainWindow','initDataListener','undefined','loginListener','result','onAddSendMsg','xAxeM','Ohrmu','from','infos','uNbLO','ytjNx','engine','qrLogin','init\x20failed\x20','qRUXH','alXIl','replace','WHwaw','mmDGL','createHash','read','GWXiu','has','sceneId','quickLoginWithUin','set','initConfig','GnWnz','mzzZn','get','getGroupService','ASWZQ','getQuickLoginList','登录失败','BuddyListener','onProfileDetailInfoChanged','NqqZW','addListener','catch','name','xSkaz','addKernelProfileListener','util','groupCode','dataPath','LmSxK','find','6059930YdXlmD','initSession\x20failed','NodeIQQNTWrapperEngine','memberCount','快速登录失败\x20','ZgFNI','isDelete','Windows\x2010\x20Pro','DcWWM','LocalLoginInfoList','HYDgi','wytLe','EHKSW','dataPathGlobal','fileLog','FJRip','getMsgService','rdtZb','LYnMq','getNTUserDataInfoConfig','NodeIKernelLoginService','gAnQh','GroupListener','数据库初始化失败','[KickedOffLine]\x20[','GSDHR','split','digest','floor','140022008','onLoginSuccess','addKernelMsgListener','uin','qrcodeUrl','NodeIDispatcherAdapter','constructor','sAryh','pngBase64QrcodeData','getBuddyList','push','39576IeviQQ','hex','message_sent','bAMLG','passwordLogin','./.config/QQ','assign','errMsg','IUjCm','ldWJo','proxyHandler','1534530RXbYXF','NodeIKernelLoginListener','curVersion','vRYhS','\x20has\x20no\x20method\x20','11pVrpZN','./nt_qq/global','1494472MSeaFO','consoleLog','packet_received','140022013','buddyList','./NapCat/data','启动失败:\x20','MWkWr','当前账号(','cEkqg','ProfileListener','NodeIKernelProfileListener','session','getLoginList','aPUXd','initWithDeskTopConfig','NodeIKernelMsgListener','LRyBj','CHQZR','NodeIGlobalAdapter','onUserLoggedIn','length','189784ewXTyg','oerQK','onMemberInfoChange','100218cHZVBY','sAmbZ','addKernelGroupListener','VNXrT','map','uebWL','290MfzBOg','onQRCodeGetPicture','onBuddyListChange'];_0x5541=function(){return _0x27492a;};return _0x5541();}(function(_0x58b80f,_0x7faa7f){const _0x240186=_0x2ca7,_0x547721=_0x58b80f();while(!![]){try{const _0x466817=parseInt(_0x240186(0x11d))/0x1*(-parseInt(_0x240186(0x138))/0x2)+parseInt(_0x240186(0x118))/0x3+parseInt(_0x240186(0x11f))/0x4+-parseInt(_0x240186(0x13e))/0x5*(-parseInt(_0x240186(0x10d))/0x6)+-parseInt(_0x240186(0x85))/0x7+-parseInt(_0x240186(0x135))/0x8*(parseInt(_0x240186(0xa4))/0x9)+parseInt(_0x240186(0xe5))/0xa;if(_0x466817===_0x7faa7f)break;else _0x547721['push'](_0x547721['shift']());}catch(_0x1daccb){_0x547721['push'](_0x547721['shift']());}}}(_0x5541,0x6021f));import _0x119aca from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x297a26 from'node:path';import _0x58edbe from'node:os';import _0x5915d1 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x48d290 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x246138(0x12b)];['util'];[_0x246138(0xc1)];[_0x246138(0xb8)];[_0x246138(0x87)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x3b0bb8=_0x246138,sBfOlK={'vRYhS':_0x3b0bb8(0xb7)};if(typeof target[prop]===sBfOlK[_0x3b0bb8(0x11b)])return(...args)=>{const _0x25b48b=_0x3b0bb8;logDebug(target[_0x25b48b(0x108)][_0x25b48b(0xdd)]+_0x25b48b(0x11c)+prop);};return Reflect[_0x3b0bb8(0xd3)](target,prop,receiver);}};constructor(){const _0xcb5b3=_0x246138,_0x29862b={'mCdMR':function(_0x5186ba,_0x253543){return _0x5186ba(_0x253543);},'ebRNM':function(_0x3458bf,_0x3e8a0b){return _0x3458bf+_0x3e8a0b;},'nCTbm':_0xcb5b3(0x127),'ucilS':_0xcb5b3(0x99),'PFaAi':function(_0x4e671f,_0x2c1f03){return _0x4e671f instanceof _0x2c1f03;},'xAxeM':_0xcb5b3(0xfc),'KLXen':function(_0x318d88,_0x4aa962,_0xa41cd8){return _0x318d88(_0x4aa962,_0xa41cd8);},'xSkaz':_0xcb5b3(0x9e),'CHQZR':function(_0x4e6319,_0x181b46,_0x4498ed){return _0x4e6319(_0x181b46,_0x4498ed);},'Lutbh':_0xcb5b3(0xd7),'cEkqg':function(_0x13105d,_0x85f118){return _0x13105d==_0x85f118;},'NqqZW':function(_0x1ba200,_0x45614a){return _0x1ba200==_0x45614a;},'ICjKM':function(_0x48b8c8,_0x543513,_0x241c7a){return _0x48b8c8(_0x543513,_0x241c7a);}};this['engine']=new _0x119aca[(_0xcb5b3(0xe7))](),this['util']=new _0x119aca[(_0xcb5b3(0xa9))](),this[_0xcb5b3(0x87)]=new _0x119aca[(_0xcb5b3(0xf9))](),this[_0xcb5b3(0x12b)]=new _0x119aca['NodeIQQNTWrapperSession'](),this[_0xcb5b3(0xb8)]=new LoginListener(),this['loginListener'][_0xcb5b3(0x133)]=_0x40d89f=>{const _0x51ee10=_0xcb5b3;_0x29862b[_0x51ee10(0x8d)](logError,_0x29862b[_0x51ee10(0x91)](_0x29862b[_0x51ee10(0xa8)]+_0x40d89f,_0x29862b[_0x51ee10(0x95)]));},this[_0xcb5b3(0xb8)]['onQRCodeLoginSucceed']=_0x1922b0=>{const _0x4aef96=_0xcb5b3,_0x4a9a70={'VNXrT':function(_0x59d6bc,_0x214d92){return _0x29862b['PFaAi'](_0x59d6bc,_0x214d92);},'mvzmh':_0x29862b[_0x4aef96(0xbb)],'xSeXa':function(_0x5278c6,_0x1aae7f,_0x4c2d76){return _0x29862b['KLXen'](_0x5278c6,_0x1aae7f,_0x4c2d76);},'sAryh':function(_0x567044,_0x522121){const _0x498ad6=_0x4aef96;return _0x29862b[_0x498ad6(0x8d)](_0x567044,_0x522121);},'uNbLO':_0x4aef96(0x124),'IUjCm':function(_0x432746,_0x4b490f,_0x23e164){return _0x29862b['KLXen'](_0x432746,_0x4b490f,_0x23e164);},'GxEgb':_0x29862b[_0x4aef96(0xde)],'xlhuE':_0x4aef96(0xe6)};this[_0x4aef96(0xa1)](_0x1922b0[_0x4aef96(0x105)],_0x1922b0['uid'])[_0x4aef96(0x89)](_0xf4d41b=>{const _0x5233b2=_0x4aef96,_0x21bc51={'bAMLG':function(_0xf9bcf5,_0x5d0672){const _0x5d13c3=_0x2ca7;return _0x4a9a70[_0x5d13c3(0x13b)](_0xf9bcf5,_0x5d0672);},'VslQY':function(_0x1777b2,_0x29d8c5,_0x319614){return _0x1777b2(_0x29d8c5,_0x319614);},'LmSxK':_0x4a9a70[_0x5233b2(0xb1)]};selfInfo[_0x5233b2(0x105)]=_0x1922b0['uin'],selfInfo['uid']=_0x1922b0[_0x5233b2(0x92)],napCatConfig[_0x5233b2(0xca)](),_0x4a9a70[_0x5233b2(0x98)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),_0x4a9a70[_0x5233b2(0x109)](enableFileLog,napCatConfig[_0x5233b2(0xf3)]),enableConsoleLog(napCatConfig[_0x5233b2(0x120)]),_0x4a9a70[_0x5233b2(0x109)](setLogSelfInfo,selfInfo);const _0x34281d=_0x297a26[_0x5233b2(0x83)](this[_0x5233b2(0xe2)],_0x4a9a70[_0x5233b2(0xbf)]);_0x5915d1[_0x5233b2(0x9d)](_0x34281d,{'recursive':!![]}),_0x4a9a70[_0x5233b2(0x115)](logDebug,_0x4a9a70['GxEgb'],_0x34281d),dbUtil[_0x5233b2(0xa2)](_0x297a26[_0x5233b2(0x83)](_0x34281d,'./'+_0x1922b0['uin']+'-v2.db'))[_0x5233b2(0x89)](()=>{const _0x295d3c=_0x5233b2;this[_0x295d3c(0xb6)](),this['onLoginSuccessFuncList'][_0x295d3c(0x13c)](_0x50b027=>{const _0xa9ff03=_0x295d3c,_0x3ef805={'BFOOJ':function(_0x21a2b9,_0x43ffe9){const _0x5676c2=_0x2ca7;return _0x21bc51[_0x5676c2(0x110)](_0x21a2b9,_0x43ffe9);}};new Promise((_0x2f34b0,_0x28bbf7)=>{const _0x1cdf58=_0x2ca7,_0x1b3601=_0x50b027(_0x1922b0[_0x1cdf58(0x105)],_0x1922b0['uid']);_0x3ef805[_0x1cdf58(0x90)](_0x1b3601,Promise)&&_0x1b3601['then'](_0x2f34b0)['catch'](_0x28bbf7);})[_0xa9ff03(0x89)]();});})[_0x5233b2(0xdc)](_0x376aa7=>{const _0x32de3e=_0x5233b2;_0x21bc51[_0x32de3e(0x93)](logError,_0x21bc51[_0x32de3e(0xe3)],_0x376aa7);});})[_0x4aef96(0xdc)](_0x11200e=>{const _0x27686f=_0x4aef96;logError(_0x4a9a70['xlhuE'],_0x11200e);throw new Error(_0x27686f(0x125)+JSON[_0x27686f(0xad)](_0x11200e));});},this[_0xcb5b3(0xb8)][_0xcb5b3(0xa7)]=(_0x448dcc,_0x3ec23f,_0x4f7bf9)=>{const _0x4d2698=_0xcb5b3;_0x29862b[_0x4d2698(0x131)](logError,_0x29862b[_0x4d2698(0xaa)],_0x4f7bf9),_0x29862b[_0x4d2698(0x128)](_0x448dcc,0x1)&&_0x29862b[_0x4d2698(0xda)](_0x3ec23f,0x3)&&this[_0x4d2698(0x87)][_0x4d2698(0x96)]();},this[_0xcb5b3(0xb8)]['onLoginFailed']=_0x13b252=>{const _0x4f7860=_0xcb5b3;_0x29862b['ICjKM'](logError,_0x4f7860(0xd7),_0x13b252);},this[_0xcb5b3(0xb8)]=new Proxy(this['loginListener'],this[_0xcb5b3(0x117)]),this[_0xcb5b3(0x87)][_0xcb5b3(0x8e)](new _0x119aca[(_0xcb5b3(0x119))](this[_0xcb5b3(0xb8)])),this[_0xcb5b3(0xd0)]();}get[_0x246138(0xe2)](){const _0x1bea17=_0x246138,_0x120ee2={'rdtZb':_0x1bea17(0x112)};let _0x4e2216=this[_0x1bea17(0xe0)][_0x1bea17(0xf8)]();return!_0x4e2216&&(_0x4e2216=_0x297a26['resolve'](_0x58edbe['homedir'](),_0x120ee2[_0x1bea17(0xf6)]),_0x5915d1[_0x1bea17(0x9d)](_0x4e2216,{'recursive':!![]})),_0x4e2216;}get[_0x246138(0xf2)](){const _0x44fa33=_0x246138,_0x548d23={'FJRip':_0x44fa33(0x11e)};return _0x297a26['resolve'](this[_0x44fa33(0xe2)],_0x548d23[_0x44fa33(0xf4)]);}[_0x246138(0xd0)](){const _0x3224a2=_0x246138,_0x1d1c4d={'ytjNx':_0x3224a2(0xec)};this[_0x3224a2(0xc1)][_0x3224a2(0x12e)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3224a2(0x11a)],'os_version':_0x1d1c4d[_0x3224a2(0xc0)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x3224a2(0x11a)][_0x3224a2(0xc6)]('-','_')+_0x3224a2(0xb2),'global_path_config':{'desktopGlobalPath':this[_0x3224a2(0xf2)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x119aca[(_0x3224a2(0x132))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x3224a2(0x11a)],'hostName':hostname});}[_0x246138(0xa1)](_0x2d3732,_0x14965b){const _0x45a3bf=_0x246138,_0x30db1a={'GnWnz':function(_0x11a44d,_0x511645){return _0x11a44d===_0x511645;},'Ohrmu':function(_0x4dde99,_0x18a0c9){return _0x4dde99(_0x18a0c9);},'oerQK':function(_0x6af6e3,_0x43364a,_0x98779f,_0x198b33){return _0x6af6e3(_0x43364a,_0x98779f,_0x198b33);},'uebWL':function(_0x116e2a,_0x562bac){return _0x116e2a(_0x562bac);},'mmDGL':function(_0x829ad4,_0xf94e9d){return _0x829ad4+_0xf94e9d;},'GwJXa':_0x45a3bf(0xc3)};return new Promise(async(_0x45433d,_0x239490)=>{const _0x287280=_0x45a3bf,_0x19de8e=await _0x30db1a[_0x287280(0x136)](genSessionConfig,_0x2d3732,_0x14965b,this[_0x287280(0xe2)]),_0x3d8979=new SessionListener();_0x3d8979['onSessionInitComplete']=_0x30809a=>{const _0x264160=_0x287280;if(_0x30db1a[_0x264160(0xd1)](_0x30809a,0x0))return _0x45433d(0x0);_0x30db1a[_0x264160(0xbc)](_0x239490,_0x30809a);},this['session'][_0x287280(0xa2)](_0x19de8e,new _0x119aca['NodeIDependsAdapter'](new DependsAdapter()),new _0x119aca[(_0x287280(0x107))](new DispatcherAdapter()),new _0x119aca[(_0x287280(0xae))](_0x3d8979));try{this[_0x287280(0x12b)][_0x287280(0xb0)](0x0);}catch(_0x65481d){try{this[_0x287280(0x12b)][_0x287280(0xb0)]();}catch(_0x2b6a4e){_0x30db1a[_0x287280(0x13d)](_0x239490,_0x30db1a[_0x287280(0xc8)](_0x30db1a['GwJXa'],_0x2b6a4e));}}});}[_0x246138(0xb6)](){const _0x3971fa=_0x246138,_0x3347f8={'HYDgi':function(_0x397b2f,_0x3549b1){return _0x397b2f===_0x3549b1;},'Mosjb':function(_0x53b1a6,_0x5ec67f){return _0x53b1a6(_0x5ec67f);},'kONRT':function(_0x1ae7bb,_0x9848c3){return _0x1ae7bb+_0x9848c3;},'joBBd':'账号设备(','aPUXd':_0x3971fa(0xfd),'GWXiu':function(_0x4087ee,_0xc185f7){return _0x4087ee/_0xc185f7;},'hOSFR':_0x3971fa(0xb5),'qRUXH':function(_0x4ebd4b,_0x10c10e,_0x32a968){return _0x4ebd4b(_0x10c10e,_0x32a968);}},_0x18325c=new MsgListener();_0x18325c['onLineDev']=_0x2d3e71=>{const _0x3c407e=_0x3971fa,_0x5de602={'LYnMq':function(_0xc14c7a,_0x7f0c5b){const _0x193fab=_0x2ca7;return _0x3347f8[_0x193fab(0xef)](_0xc14c7a,_0x7f0c5b);},'BAGpE':function(_0x7e2300,_0x3b1e33){const _0x75d316=_0x2ca7;return _0x3347f8[_0x75d316(0x88)](_0x7e2300,_0x3b1e33);},'GSDHR':function(_0x2911a2,_0x5cfec2){const _0x2a05c9=_0x2ca7;return _0x3347f8[_0x2a05c9(0x84)](_0x2911a2,_0x5cfec2);},'MWkWr':function(_0x3ee652,_0x66bd8a){const _0x50cd96=_0x2ca7;return _0x3347f8[_0x50cd96(0x84)](_0x3ee652,_0x66bd8a);},'wytLe':_0x3347f8['joBBd'],'sAmbZ':')\x20在线状态变更'};_0x2d3e71[_0x3c407e(0x13c)](_0x3b5e89=>{const _0x23237b=_0x3c407e;_0x5de602[_0x23237b(0xf7)](_0x3b5e89['clientType'],0x2)&&_0x5de602['BAGpE'](log,_0x5de602[_0x23237b(0xfe)](_0x5de602[_0x23237b(0x126)](_0x5de602[_0x23237b(0xf0)],_0x3b5e89[_0x23237b(0x8b)]),_0x5de602[_0x23237b(0x139)]));});},_0x18325c[_0x3971fa(0x8a)]=_0x10112c=>{const _0x45a003=_0x3971fa;log(_0x3347f8[_0x45a003(0x84)](_0x3347f8[_0x45a003(0x84)](_0x3347f8[_0x45a003(0x12d)],_0x10112c['tipsTitle'])+']\x20',_0x10112c['tipsDesc']));},_0x18325c[_0x3971fa(0xba)]=_0x468c69=>{const _0x921fea=_0x3971fa;stat[_0x921fea(0xa3)]+=0x1,stat[_0x921fea(0x10f)]+=0x1,stat[_0x921fea(0xa5)]=Math[_0x921fea(0x101)](Date[_0x921fea(0x86)]()/0x3e8);},_0x18325c[_0x3971fa(0x9f)]=_0x13dbe5=>{const _0x4d3050=_0x3971fa;stat[_0x4d3050(0x121)]+=0x1,stat['message_received']+=_0x13dbe5[_0x4d3050(0x134)],stat['last_message_time']=Math[_0x4d3050(0x101)](_0x3347f8[_0x4d3050(0xcb)](Date[_0x4d3050(0x86)](),0x3e8));},_0x18325c['onRecvSysMsg']=(..._0x55ea16)=>{stat['packet_received']+=0x1;},this['addListener'](_0x18325c);const _0x1a84c6=new BuddyListener();_0x1a84c6[_0x3971fa(0x140)]=_0x38a101=>{const _0x329c52=_0x3971fa;rawFriends[_0x329c52(0x134)]=0x0,rawFriends[_0x329c52(0x10c)](..._0x38a101);for(const _0x3e5b93 of _0x38a101){for(const _0x1d52cd of _0x3e5b93[_0x329c52(0x123)]){const _0x4b457a=friends['get'](_0x1d52cd['uid']);_0x4b457a?Object[_0x329c52(0x113)](_0x4b457a,_0x1d52cd):friends[_0x329c52(0xcf)](_0x1d52cd['uid'],_0x1d52cd);}}},this[_0x3971fa(0xdb)](_0x1a84c6),this[_0x3971fa(0x12b)]['getBuddyService']()[_0x3971fa(0x10b)](!![])[_0x3971fa(0x89)](_0x9ac26b=>{});const _0x908cfc=new ProfileListener();_0x908cfc[_0x3971fa(0xd9)]=_0x33f4cc=>{const _0x539f89=_0x3971fa;_0x33f4cc[_0x539f89(0x92)]===selfInfo[_0x539f89(0x92)]&&Object[_0x539f89(0x113)](selfInfo,_0x33f4cc);},_0x908cfc['onSelfStatusChanged']=_0x12a01d=>{},this['addListener'](_0x908cfc);const _0x2227db=new GroupListener();_0x2227db[_0x3971fa(0x8c)]=(_0x40bff9,_0x195303)=>{const _0x3d1910=_0x3971fa;_0x195303[_0x3d1910(0x13c)](_0x5ea820=>{const _0x26100f=_0x3d1910,_0x311ace=groups[_0x26100f(0xd3)](_0x5ea820[_0x26100f(0xe1)]);_0x311ace&&_0x3347f8['HYDgi'](_0x5ea820[_0x26100f(0xe8)],_0x311ace[_0x26100f(0xe8)])?Object[_0x26100f(0x113)](_0x311ace,_0x5ea820):groups[_0x26100f(0xcf)](_0x5ea820['groupCode'],_0x5ea820);const _0x269bd6=this[_0x26100f(0x12b)][_0x26100f(0xd4)]()['createMemberListScene'](_0x5ea820[_0x26100f(0xe1)],_0x3347f8['hOSFR']);this['session'][_0x26100f(0xd4)]()['getNextMemberList'](_0x269bd6,undefined,0xbb8)[_0x26100f(0x89)](_0x5b448f=>{});});},_0x2227db[_0x3971fa(0x9b)]=_0x1531a2=>{const _0x2b438f=_0x3971fa,_0x4bb03c=_0x1531a2[_0x2b438f(0xcd)][_0x2b438f(0xff)]('_')[0x0];if(groupMembers[_0x2b438f(0xcc)](_0x4bb03c)){const _0x4cccdc=groupMembers[_0x2b438f(0xd3)](_0x4bb03c);_0x1531a2[_0x2b438f(0xbe)][_0x2b438f(0xb3)]((_0x3cc917,_0x4133ac)=>{const _0xc0c37b=_0x2b438f,_0x5c6d5d=_0x4cccdc[_0xc0c37b(0xd3)](_0x4133ac);_0x5c6d5d?Object[_0xc0c37b(0x113)](_0x5c6d5d,_0x3cc917):_0x4cccdc[_0xc0c37b(0xcf)](_0x4133ac,_0x3cc917);});}else groupMembers[_0x2b438f(0xcf)](_0x4bb03c,_0x1531a2[_0x2b438f(0xbe)]);},_0x2227db[_0x3971fa(0x137)]=(_0x2d50ea,_0x228341,_0x71da51)=>{const _0xf42946=_0x3971fa;_0x3347f8[_0xf42946(0xef)](_0x228341,0x0)&&_0x71da51['get'](selfInfo['uid'])&&_0x71da51['get'](selfInfo['uid'])?.[_0xf42946(0xeb)]&&_0x3347f8[_0xf42946(0xc4)](setTimeout,()=>{groups['delete'](_0x2d50ea);},0x1388);const _0x32ce50=groupMembers[_0xf42946(0xd3)](_0x2d50ea);_0x32ce50?_0x71da51['forEach']((_0x7096e3,_0x23ffdf)=>{const _0x1b64da=_0xf42946,_0x36cb50=_0x32ce50['get'](_0x23ffdf);_0x36cb50?Object[_0x1b64da(0x113)](_0x36cb50,_0x7096e3):_0x32ce50[_0x1b64da(0xcf)](_0x23ffdf,_0x7096e3);}):groupMembers[_0xf42946(0xcf)](_0x2d50ea,_0x71da51);},this[_0x3971fa(0xdb)](_0x2227db);}[_0x246138(0xdb)](_0x31133b){const _0x184877=_0x246138,_0x9ae9f7={'sPFgl':_0x184877(0xd8),'UfKoT':_0x184877(0xfb),'AYcBQ':_0x184877(0x129)};_0x31133b=new Proxy(_0x31133b,this[_0x184877(0x117)]);switch(_0x31133b['constructor'][_0x184877(0xdd)]){case _0x9ae9f7['sPFgl']:{return this[_0x184877(0x12b)]['getBuddyService']()['addKernelBuddyListener'](new _0x119aca['NodeIKernelBuddyListener'](_0x31133b));}case _0x9ae9f7['UfKoT']:{return this['session'][_0x184877(0xd4)]()[_0x184877(0x13a)](new _0x119aca[(_0x184877(0xb4))](_0x31133b));}case'MsgListener':{return this['session'][_0x184877(0xf5)]()[_0x184877(0x104)](new _0x119aca[(_0x184877(0x12f))](_0x31133b));}case _0x9ae9f7['AYcBQ']:{return this['session'][_0x184877(0xab)]()[_0x184877(0xdf)](new _0x119aca[(_0x184877(0x12a))](_0x31133b));}default:return-0x1;}}[_0x246138(0x103)](_0x56e897){const _0x361833=_0x246138;NTEventDispatch[_0x361833(0xa2)]({'ListenerMap':_0x119aca,'WrapperSession':this[_0x361833(0x12b)]}),this['onLoginSuccessFuncList'][_0x361833(0x10c)](_0x56e897);}async[_0x246138(0x94)](_0x54a96f){const _0x404315=_0x246138,_0x3c537a={'ASWZQ':_0x404315(0xa6),'dSVxE':function(_0x1dab74,_0x1d4a9c){return _0x1dab74(_0x1d4a9c);},'uvlfN':function(_0x216c6b,_0x21ecb4){return _0x216c6b+_0x21ecb4;},'ZgFNI':_0x404315(0xe9)},_0x1ae541=await this[_0x404315(0x87)][_0x404315(0x12c)]();if(_0x1ae541[_0x404315(0xb9)]!==0x0)throw new Error(_0x3c537a[_0x404315(0xd5)]);const _0x54c225=_0x1ae541[_0x404315(0xee)][_0x404315(0xe4)](_0x4c22f9=>_0x4c22f9[_0x404315(0x105)]===_0x54a96f);if(!_0x54c225||!_0x54c225?.[_0x404315(0xac)])throw new Error(_0x54a96f+'快速登录不可用');await _0x3c537a[_0x404315(0xaf)](sleep,0x3e8);const _0x4a9a6b=await this[_0x404315(0x87)][_0x404315(0xce)](_0x54a96f);if(!_0x4a9a6b[_0x404315(0xb9)])throw new Error(_0x3c537a[_0x404315(0x9c)](_0x3c537a[_0x404315(0xea)],_0x4a9a6b['loginErrorInfo'][_0x404315(0x114)]));return _0x4a9a6b;}async[_0x246138(0xc2)](_0x332734){const _0xc30013=_0x246138,_0x4f5df5={'OnyEC':_0xc30013(0x8f),'mzzZn':function(_0x1f7973,_0x415746,_0xf62fd,_0x5516de){return _0x1f7973(_0x415746,_0xf62fd,_0x5516de);}};return new Promise((_0x19b0d5,_0x27f9fb)=>{const _0x5653dc=_0xc30013,_0x36ff68={'DcWWM':_0x4f5df5[_0x5653dc(0xa0)],'LRyBj':'base64','MOkTJ':function(_0x468206,_0x3f3aea,_0x758882,_0x2af032){const _0x608d30=_0x5653dc;return _0x4f5df5[_0x608d30(0xd2)](_0x468206,_0x3f3aea,_0x758882,_0x2af032);}};this[_0x5653dc(0xb8)][_0x5653dc(0x13f)]=_0x1a50cf=>{const _0x59f481=_0x5653dc,_0x26583a=_0x1a50cf[_0x59f481(0x10a)][_0x59f481(0xff)](_0x36ff68[_0x59f481(0xed)])[0x1],_0x217daa=Buffer[_0x59f481(0xbd)](_0x26583a,_0x36ff68[_0x59f481(0x130)]);_0x36ff68['MOkTJ'](_0x332734,_0x1a50cf[_0x59f481(0x106)],_0x1a50cf[_0x59f481(0x10a)],_0x217daa);},this[_0x5653dc(0x87)]['getQRCodePicture']();});}async[_0x246138(0x111)](_0x471480,_0x5d7046,_0x4c22e4,_0xfdcab8,_0x54ee80){const _0x2883d6=_0x246138,_0xf4b036={'ldWJo':'md5','alXIl':function(_0x3e4442,_0x3df5b1){return _0x3e4442&&_0x3df5b1;},'kbXwl':function(_0x3a772c,_0x156236){return _0x3a772c||_0x156236;},'gAnQh':function(_0x58a91f,_0x463d12){return _0x58a91f||_0x463d12;},'ovqYV':function(_0x2ad0ae,_0x32aaf5){return _0x2ad0ae||_0x32aaf5;},'Slhry':function(_0x35f434,_0x48ff8d){return _0x35f434(_0x48ff8d);},'EHKSW':_0x2883d6(0x102),'WHwaw':_0x2883d6(0x122)},_0x7139f2=_0x48d290[_0x2883d6(0xc9)](_0xf4b036[_0x2883d6(0x116)])[_0x2883d6(0x97)](_0x5d7046)[_0x2883d6(0x100)](_0x2883d6(0x10e)),_0x335c06={'uin':_0x471480,'passwordMd5':_0x7139f2,'step':_0xf4b036[_0x2883d6(0xc5)](_0x4c22e4,_0xfdcab8)&&_0x54ee80?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xf4b036['kbXwl'](_0x4c22e4,''),'proofWaterRand':_0xf4b036[_0x2883d6(0xfa)](_0xfdcab8,''),'proofWaterSid':_0xf4b036['ovqYV'](_0x54ee80,'')};await this[_0x2883d6(0x87)][_0x2883d6(0x12c)](),await _0xf4b036[_0x2883d6(0x9a)](sleep,0x3e8);const _0x7ecc85=await this[_0x2883d6(0x87)][_0x2883d6(0x111)](_0x335c06);switch(_0x7ecc85['result']){case'0':{break;}case _0xf4b036[_0x2883d6(0xf1)]:{break;}case'4':case _0xf4b036[_0x2883d6(0xc7)]:default:}}async[_0x246138(0xd6)](){const _0x9179af=_0x246138,_0xd01831=await this[_0x9179af(0x87)][_0x9179af(0x12c)]();return _0xd01831;}}function _0x2ca7(_0x4a730e,_0x13f6f7){const _0x554127=_0x5541();return _0x2ca7=function(_0x2ca7a6,_0x42c388){_0x2ca7a6=_0x2ca7a6-0x83;let _0x47e22b=_0x554127[_0x2ca7a6];return _0x47e22b;},_0x2ca7(_0x4a730e,_0x13f6f7);}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 4c9b29be..f2e20ede 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x8acfda,_0x259aa4){const _0x38bbdf=_0x5ae6,_0x7fcf12=_0x8acfda();while(!![]){try{const _0x1012c7=parseInt(_0x38bbdf(0x17b))/0x1*(-parseInt(_0x38bbdf(0x193))/0x2)+-parseInt(_0x38bbdf(0x18b))/0x3*(parseInt(_0x38bbdf(0x179))/0x4)+parseInt(_0x38bbdf(0x185))/0x5+parseInt(_0x38bbdf(0x17a))/0x6*(-parseInt(_0x38bbdf(0x18a))/0x7)+-parseInt(_0x38bbdf(0x186))/0x8*(-parseInt(_0x38bbdf(0x17e))/0x9)+parseInt(_0x38bbdf(0x18f))/0xa*(parseInt(_0x38bbdf(0x183))/0xb)+parseInt(_0x38bbdf(0x17d))/0xc*(parseInt(_0x38bbdf(0x188))/0xd);if(_0x1012c7===_0x259aa4)break;else _0x7fcf12['push'](_0x7fcf12['shift']());}catch(_0x35f646){_0x7fcf12['push'](_0x7fcf12['shift']());}}}(_0x15ba,0x40eb0));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x33d799){const _0x5c7472=_0x5ae6;groups[_0x5c7472(0x187)](_0x33d799),groupMembers[_0x5c7472(0x187)](_0x33d799);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x5a036c){const _0x4b3e59=_0x5ae6,_0x512d2b={'hWuOp':function(_0x90341a,_0x156d83){return _0x90341a(_0x156d83);}};_0x5a036c=_0x5a036c['toString']();if(_0x512d2b[_0x4b3e59(0x181)](isNumeric,_0x5a036c)){const _0xcd3c87=Array[_0x4b3e59(0x189)](friends['values']());return _0xcd3c87[_0x4b3e59(0x17f)](_0x3b0b8d=>_0x3b0b8d[_0x4b3e59(0x190)]===_0x5a036c);}else return friends['get'](_0x5a036c);}export async function getGroup(_0x35be39){const _0x4ba911=_0x5ae6;let _0x1c00c7=groups[_0x4ba911(0x192)](_0x35be39[_0x4ba911(0x18d)]());if(!_0x1c00c7)try{const _0x314f79=await NTQQGroupApi['getGroups']();_0x314f79[_0x4ba911(0x180)]&&_0x314f79[_0x4ba911(0x17c)](_0x52139e=>{const _0x4384d4=_0x4ba911;groups[_0x4384d4(0x191)](_0x52139e[_0x4384d4(0x194)],_0x52139e);});}catch(_0x5651e0){return undefined;}return _0x1c00c7=groups[_0x4ba911(0x192)](_0x35be39['toString']()),_0x1c00c7;}function _0x15ba(){const _0x61888f=['find','length','hWuOp','NlqwV','1207855OqVKak','getGroupMembers','1339840CAxRKA','4000176UXnLDY','delete','75166CcnKhQ','from','60879YQvpel','495366FdxyLy','FFWpR','toString','values','30yKPhRM','uin','set','get','22328VBKZSs','groupCode','8AHUcCf','42dYEmxn','41hlmwKK','forEach','36kjBgcQ','9gvveMl'];_0x15ba=function(){return _0x61888f;};return _0x15ba();}export async function getGroupMember(_0x347142,_0x2168ee){const _0x465bff=_0x5ae6,_0x27e5c0={'NlqwV':function(_0x2ceb6a){return _0x2ceb6a();},'FFWpR':function(_0x1c27e9){return _0x1c27e9();}};_0x347142=_0x347142[_0x465bff(0x18d)](),_0x2168ee=_0x2168ee['toString']();let _0x23d031=groupMembers[_0x465bff(0x192)](_0x347142);if(!_0x23d031)try{_0x23d031=await NTQQGroupApi[_0x465bff(0x184)](_0x347142),groupMembers[_0x465bff(0x191)](_0x347142,_0x23d031);}catch(_0x436f47){return null;}const _0x389968=()=>{const _0x442a1c=_0x465bff;let _0x547fb6=undefined;return isNumeric(_0x2168ee)?_0x547fb6=Array['from'](_0x23d031[_0x442a1c(0x18e)]())['find'](_0x372ae9=>_0x372ae9[_0x442a1c(0x190)]===_0x2168ee):_0x547fb6=_0x23d031[_0x442a1c(0x192)](_0x2168ee),_0x547fb6;};let _0x5ca8e4=_0x27e5c0[_0x465bff(0x182)](_0x389968);return!_0x5ca8e4&&(_0x23d031=await NTQQGroupApi[_0x465bff(0x184)](_0x347142),_0x5ca8e4=_0x27e5c0[_0x465bff(0x18c)](_0x389968)),_0x5ca8e4;}function _0x5ae6(_0x9a7a64,_0x5aa619){const _0x15bac0=_0x15ba();return _0x5ae6=function(_0x5ae650,_0x327d6b){_0x5ae650=_0x5ae650-0x179;let _0x513272=_0x15bac0[_0x5ae650];return _0x513272;},_0x5ae6(_0x9a7a64,_0x5aa619);}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 +(function(_0x16f57b,_0x3cafb4){const _0x278f8d=_0xd320,_0x4c1a6c=_0x16f57b();while(!![]){try{const _0x48f895=-parseInt(_0x278f8d(0x170))/0x1+-parseInt(_0x278f8d(0x174))/0x2+parseInt(_0x278f8d(0x171))/0x3*(parseInt(_0x278f8d(0x162))/0x4)+parseInt(_0x278f8d(0x16a))/0x5+-parseInt(_0x278f8d(0x175))/0x6*(parseInt(_0x278f8d(0x165))/0x7)+parseInt(_0x278f8d(0x16b))/0x8+-parseInt(_0x278f8d(0x16f))/0x9;if(_0x48f895===_0x3cafb4)break;else _0x4c1a6c['push'](_0x4c1a6c['shift']());}catch(_0x3df3c4){_0x4c1a6c['push'](_0x4c1a6c['shift']());}}}(_0x907f,0xc4d9b));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0xd320(_0x3cd7fb,_0x4aeb06){const _0x907f17=_0x907f();return _0xd320=function(_0xd320f3,_0x21794b){_0xd320f3=_0xd320f3-0x162;let _0x1221d7=_0x907f17[_0xd320f3];return _0x1221d7;},_0xd320(_0x3cd7fb,_0x4aeb06);}function _0x907f(){const _0x12470a=['find','delete','7031885xEsfbr','10383696SZQzIb','getGroups','uin','set','2685267sOGijp','383595RXABSW','390gmJxhp','toString','aFKgg','1055572vffBbc','8498556QxQrEc','22404BksBJm','forEach','get','7CbIppj','values','YcFri'];_0x907f=function(){return _0x12470a;};return _0x907f();}export const groups=new Map();export function deleteGroup(_0x5010a8){const _0x5f0a42=_0xd320;groups[_0x5f0a42(0x169)](_0x5010a8),groupMembers[_0x5f0a42(0x169)](_0x5010a8);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x1372a8){const _0x1770d5=_0xd320,_0x637f9c={'YcFri':function(_0x46d318,_0x4e8b6d){return _0x46d318(_0x4e8b6d);}};_0x1372a8=_0x1372a8[_0x1770d5(0x172)]();if(_0x637f9c[_0x1770d5(0x167)](isNumeric,_0x1372a8)){const _0x5b7407=Array['from'](friends[_0x1770d5(0x166)]());return _0x5b7407[_0x1770d5(0x168)](_0x5733c2=>_0x5733c2[_0x1770d5(0x16d)]===_0x1372a8);}else return friends[_0x1770d5(0x164)](_0x1372a8);}export async function getGroup(_0x586166){const _0x902284=_0xd320;let _0x31eca6=groups['get'](_0x586166[_0x902284(0x172)]());if(!_0x31eca6)try{const _0x405904=await NTQQGroupApi[_0x902284(0x16c)]();_0x405904['length']&&_0x405904[_0x902284(0x163)](_0x5b63a3=>{const _0x4405e2=_0x902284;groups[_0x4405e2(0x16e)](_0x5b63a3['groupCode'],_0x5b63a3);});}catch(_0x37b631){return undefined;}return _0x31eca6=groups[_0x902284(0x164)](_0x586166['toString']()),_0x31eca6;}export async function getGroupMember(_0x1f4ca8,_0x31e3b7){const _0x9a2c7e=_0xd320,_0x31f531={'aFKgg':function(_0x158595){return _0x158595();}};_0x1f4ca8=_0x1f4ca8['toString'](),_0x31e3b7=_0x31e3b7[_0x9a2c7e(0x172)]();let _0xcaa628=groupMembers['get'](_0x1f4ca8);if(!_0xcaa628)try{_0xcaa628=await NTQQGroupApi['getGroupMembers'](_0x1f4ca8),groupMembers[_0x9a2c7e(0x16e)](_0x1f4ca8,_0xcaa628);}catch(_0x1d75e0){return null;}const _0x2c27a2=()=>{const _0x2648d6=_0x9a2c7e;let _0x1e7b9f=undefined;return isNumeric(_0x31e3b7)?_0x1e7b9f=Array['from'](_0xcaa628[_0x2648d6(0x166)]())[_0x2648d6(0x168)](_0x1146d2=>_0x1146d2[_0x2648d6(0x16d)]===_0x31e3b7):_0x1e7b9f=_0xcaa628[_0x2648d6(0x164)](_0x31e3b7),_0x1e7b9f;};let _0x368367=_0x31f531[_0x9a2c7e(0x173)](_0x2c27a2);return!_0x368367&&(_0xcaa628=await NTQQGroupApi['getGroupMembers'](_0x1f4ca8),_0x368367=_0x31f531[_0x9a2c7e(0x173)](_0x2c27a2)),_0x368367;}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 dd5c92ac..c440df6f 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x48314b,_0x437408){var _0x23ce93=_0x1ece,_0x46bfbd=_0x48314b();while(!![]){try{var _0x5bbbe5=-parseInt(_0x23ce93(0x1dd))/0x1*(-parseInt(_0x23ce93(0x1cf))/0x2)+parseInt(_0x23ce93(0x1d9))/0x3+parseInt(_0x23ce93(0x1d3))/0x4*(parseInt(_0x23ce93(0x1d0))/0x5)+-parseInt(_0x23ce93(0x1cc))/0x6*(-parseInt(_0x23ce93(0x1cd))/0x7)+parseInt(_0x23ce93(0x1d5))/0x8*(-parseInt(_0x23ce93(0x1dc))/0x9)+-parseInt(_0x23ce93(0x1d4))/0xa+-parseInt(_0x23ce93(0x1db))/0xb*(parseInt(_0x23ce93(0x1d7))/0xc);if(_0x5bbbe5===_0x437408)break;else _0x46bfbd['push'](_0x46bfbd['shift']());}catch(_0x8bbf11){_0x46bfbd['push'](_0x46bfbd['shift']());}}}(_0x1a78,0x5b73e));function _0x1a78(){var _0x27d265=['3411924vhGUlP','VIDEO','1513497IhYoMl','PaibN','33YHFjGI','1149867Zygsss','248579ettFNo','OTHER','DOCUMENT','hvDUS','AUDIO','42VTfzGK','260988vHrezl','CNnwL','4OkMggT','1993815COWrAn','GRUJQ','kCUgy','4xRhFMt','505480lPzIyI','24icJDEF','IMAGE'];_0x1a78=function(){return _0x27d265;};return _0x1a78();};export var CacheFileType;function _0x1ece(_0x23215b,_0x4e0963){var _0x1a78e1=_0x1a78();return _0x1ece=function(_0x1ece1a,_0x1011c0){_0x1ece1a=_0x1ece1a-0x1ca;var _0x484691=_0x1a78e1[_0x1ece1a];return _0x484691;},_0x1ece(_0x23215b,_0x4e0963);}(function(_0x2a1074){var _0x16fbcf=_0x1ece,_0x1e2f56={'kCUgy':_0x16fbcf(0x1d6),'hvDUS':_0x16fbcf(0x1d8),'CNnwL':_0x16fbcf(0x1cb),'PaibN':_0x16fbcf(0x1df),'GRUJQ':_0x16fbcf(0x1de)};_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1d2)]]=0x0]=_0x16fbcf(0x1d6),_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1ca)]]=0x1]=_0x1e2f56[_0x16fbcf(0x1ca)],_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1ce)]]=0x2]=_0x16fbcf(0x1cb),_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1da)]]=0x3]=_0x1e2f56['PaibN'],_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1d1)]]=0x4]=_0x16fbcf(0x1de);}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x546327,_0x27d0c){var _0x1c0e93=_0x5ee7,_0x454a1c=_0x546327();while(!![]){try{var _0x5e04eb=parseInt(_0x1c0e93(0xfb))/0x1+-parseInt(_0x1c0e93(0xfe))/0x2+parseInt(_0x1c0e93(0x101))/0x3+parseInt(_0x1c0e93(0xfa))/0x4*(parseInt(_0x1c0e93(0xff))/0x5)+-parseInt(_0x1c0e93(0x102))/0x6+-parseInt(_0x1c0e93(0xf9))/0x7+-parseInt(_0x1c0e93(0xf8))/0x8;if(_0x5e04eb===_0x27d0c)break;else _0x454a1c['push'](_0x454a1c['shift']());}catch(_0x2e7ca5){_0x454a1c['push'](_0x454a1c['shift']());}}}(_0xc626,0xddeba));function _0x5ee7(_0x2702ba,_0x41ff0b){var _0xc626ea=_0xc626();return _0x5ee7=function(_0x5ee746,_0x399b26){_0x5ee746=_0x5ee746-0xf3;var _0x455ce5=_0xc626ea[_0x5ee746];return _0x455ce5;},_0x5ee7(_0x2702ba,_0x41ff0b);};export var CacheFileType;(function(_0x2fe4ad){var _0x55fa31=_0x5ee7,_0xafaac0={'jOjiX':'IMAGE','VLiGR':_0x55fa31(0xf4),'NtzNC':_0x55fa31(0xf6)},_0x11ebc7=_0x55fa31(0x100)[_0x55fa31(0xf3)]('|'),_0x119fad=0x0;while(!![]){switch(_0x11ebc7[_0x119fad++]){case'0':_0x2fe4ad[_0x2fe4ad[_0x55fa31(0xf7)]=0x3]='DOCUMENT';continue;case'1':_0x2fe4ad[_0x2fe4ad[_0xafaac0[_0x55fa31(0xfc)]]=0x0]=_0xafaac0[_0x55fa31(0xfc)];continue;case'2':_0x2fe4ad[_0x2fe4ad[_0xafaac0['VLiGR']]=0x1]=_0x55fa31(0xf4);continue;case'3':_0x2fe4ad[_0x2fe4ad[_0xafaac0[_0x55fa31(0xfd)]]=0x4]=_0xafaac0[_0x55fa31(0xfd)];continue;case'4':_0x2fe4ad[_0x2fe4ad[_0x55fa31(0xf5)]=0x2]='AUDIO';continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xc626(){var _0x2fc20d=['1|2|4|0|3','4687839Zvdxke','2813046GntXlr','split','VIDEO','AUDIO','OTHER','DOCUMENT','3143000zEohsz','3903347VKHOQf','2292afliKf','1814311solTcP','jOjiX','NtzNC','2270248XLAZEF','755IlqiEl'];_0xc626=function(){return _0x2fc20d;};return _0xc626();} \ 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 3e3d71b3..8715affc 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x4ad9cc=_0x209c;(function(_0x371d51,_0x262aad){const _0x2d53d1=_0x209c,_0x1979d1=_0x371d51();while(!![]){try{const _0x2cdfd7=parseInt(_0x2d53d1(0x20e))/0x1*(parseInt(_0x2d53d1(0x1fe))/0x2)+-parseInt(_0x2d53d1(0x1c8))/0x3*(parseInt(_0x2d53d1(0x1fb))/0x4)+-parseInt(_0x2d53d1(0x1c6))/0x5*(parseInt(_0x2d53d1(0x1fd))/0x6)+-parseInt(_0x2d53d1(0x1ef))/0x7+parseInt(_0x2d53d1(0x1e1))/0x8+-parseInt(_0x2d53d1(0x1c2))/0x9*(-parseInt(_0x2d53d1(0x1e6))/0xa)+parseInt(_0x2d53d1(0x1cd))/0xb;if(_0x2cdfd7===_0x262aad)break;else _0x1979d1['push'](_0x1979d1['shift']());}catch(_0x2a412e){_0x1979d1['push'](_0x1979d1['shift']());}}}(_0x8361,0x21405));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0xb2518b}from'node:fs';import _0x1ecbbd from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';function _0x8361(){const _0x18bbbc=['FjTZD','cghGG','hjWod','gif','ARK','PnnRs','HGkoJ','miniapp','sysface','Thumb','PkdDg','[骰子]','LxDLA','550320SXvdRx','uploadFile','then','TRWoZ','file','1341690cOHTeO','face','获取视频信息失败','MDkab','VIDEO','ark','QDes','AniStickerPackId','VbDji','1893542HHOZdl','video','catch','OdkwF','width','mface','uFLRV','toString','tQUTG','[包剪锤]','sep','语音转换失败,\x20请检查语音文件是否正常','89268Jscawy','height','12dFRiQN','249244kxfglK','writeFile','FILE','pSfIW','find','string','sIwyW','dice','FACE','copyFile','FajTv','set','stringify','[商城表情]','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','TEXT','2WYpGRo','markdown','https://www.bilibili.com/','uTJbo','AniStickerType','error','notAt','screenshots','REPLY','Bot\x20Test','size','IUGOt','stat','IalxJ','getImageSize','9lgWDex','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','cXuPP','DyUCF','509365rmNLBV','RPS','9fEviIw','文件异常,大小为0','jpg','rps','PIC','2477167CDuRtm','PTT','xinWE','QSid','AniStickerId','get','pic'];_0x8361=function(){return _0x18bbbc;};return _0x8361();}import _0x29779a from'./face_config.json';function _0x209c(_0x4ad0a6,_0x1c57ac){const _0x8361f3=_0x8361();return _0x209c=function(_0x209cc2,_0x2dd4ff){_0x209cc2=_0x209cc2-0x1b9;let _0x46bfbf=_0x8361f3[_0x209cc2];return _0x46bfbf;},_0x209c(_0x4ad0a6,_0x1c57ac);}import*as _0x36be95 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x4c060f){const _0x256847=_0x209c;return{'elementType':ElementType[_0x256847(0x20d)],'elementId':'','textElement':{'content':_0x4c060f,'atType':AtType[_0x256847(0x1b9)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x29afaf,_0x157a5f,_0x5a8c43,_0x2acb21){const _0x20186b=_0x209c;return{'elementType':ElementType[_0x20186b(0x20d)],'elementId':'','textElement':{'content':'@'+_0x2acb21,'atType':_0x5a8c43,'atUid':_0x29afaf,'atTinyId':'','atNtUid':_0x157a5f}};}static['reply'](_0x13a60e,_0x5cf8fd,_0x2efe88,_0x201df6){const _0x16a5fa=_0x209c;return{'elementType':ElementType[_0x16a5fa(0x1bb)],'elementId':'','replyElement':{'replayMsgSeq':_0x13a60e,'replayMsgId':_0x5cf8fd,'senderUin':_0x2efe88,'senderUinStr':_0x201df6}};}static async[_0x4ad9cc(0x1d3)](_0xd8e1b9,_0x11ec36='',_0x2da173=0x0){const _0x170818=_0x4ad9cc,_0x301391={'IalxJ':function(_0x3fa739,_0x4eb459){return _0x3fa739===_0x4eb459;},'FajTv':_0x170818(0x1c9),'caibV':function(_0x566db9,_0x2850d6){return _0x566db9(_0x2850d6);}},{md5:_0x18ad24,fileName:_0x551d19,path:_0x15a718,fileSize:_0x3efa7e}=await NTQQFileApi[_0x170818(0x1e2)](_0xd8e1b9,ElementType[_0x170818(0x1cc)],_0x2da173);if(_0x301391[_0x170818(0x1c0)](_0x3efa7e,0x0))throw _0x301391[_0x170818(0x208)];const _0x25a207=await NTQQFileApi[_0x170818(0x1c1)](_0xd8e1b9),_0x514f27={'md5HexStr':_0x18ad24,'fileSize':_0x3efa7e[_0x170818(0x1f6)](),'picWidth':_0x25a207?.[_0x170818(0x1f3)],'picHeight':_0x25a207?.[_0x170818(0x1fc)],'fileName':_0x551d19,'sourcePath':_0x15a718,'original':!![],'picType':_0x301391['caibV'](isGIF,_0xd8e1b9)?PicType[_0x170818(0x1d7)]:PicType[_0x170818(0x1ca)],'picSubType':_0x2da173,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x11ec36};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x514f27};}static async[_0x4ad9cc(0x1e5)](_0x5a45de,_0x9d17f0='',_0x8510ad=''){const _0x255a92=_0x4ad9cc,_0x29d154={'pSfIW':function(_0x3ccade,_0x54e22f){return _0x3ccade===_0x54e22f;}},{md5:_0x4c87bc,fileName:_0x36c498,path:_0x1f0079,fileSize:_0x10ebaa}=await NTQQFileApi[_0x255a92(0x1e2)](_0x5a45de,ElementType[_0x255a92(0x200)]);if(_0x29d154[_0x255a92(0x201)](_0x10ebaa,0x0))throw _0x255a92(0x1c9);const _0x1b34e3={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x9d17f0||_0x36c498,'folderId':_0x8510ad,'filePath':_0x1f0079,'fileSize':_0x10ebaa[_0x255a92(0x1f6)]()}};return _0x1b34e3;}static async[_0x4ad9cc(0x1f0)](_0x566067,_0x1e7708='',_0x589f2b=''){const _0x3d4b1c=_0x4ad9cc,_0x6f9d53={'TRWoZ':function(_0x4a9775,_0x1b0d71){return _0x4a9775(_0x1b0d71);},'xinWE':_0x3d4b1c(0x213),'sIwyW':function(_0x590ece,_0x3edb7b){return _0x590ece+_0x3edb7b;},'PkdDg':'end','uFLRV':function(_0x993a,_0x242d57){return _0x993a===_0x242d57;},'IoawA':_0x3d4b1c(0x1c9),'cXuPP':_0x3d4b1c(0x1e8),'MDkab':function(_0x284ffd,_0x3de936){return _0x284ffd||_0x3de936;}},{fileName:_0x2d8e3b,path:_0xce53cc,fileSize:_0x337f9d,md5:_0x3bfd83}=await NTQQFileApi[_0x3d4b1c(0x1e2)](_0x566067,ElementType['VIDEO']);if(_0x6f9d53[_0x3d4b1c(0x1f5)](_0x337f9d,0x0))throw _0x6f9d53['IoawA'];let _0x4c23a5=_0xce53cc['replace'](_0x36be95[_0x3d4b1c(0x1f9)]+'Ori'+_0x36be95[_0x3d4b1c(0x1f9)],_0x36be95[_0x3d4b1c(0x1f9)]+_0x3d4b1c(0x1dd)+_0x36be95[_0x3d4b1c(0x1f9)]);_0x4c23a5=_0x36be95['dirname'](_0x4c23a5);let _0x33ecc4={'width':0x780,'height':0x438,'time':0xf,'format':'mp4','size':_0x337f9d,'filePath':_0x566067};try{_0x33ecc4=await _0x6f9d53[_0x3d4b1c(0x1e4)](getVideoInfo,_0xce53cc);}catch(_0x2e7ed5){logError(_0x6f9d53[_0x3d4b1c(0x1c4)],_0x2e7ed5);}const _0x249bc9=new Promise((_0x5e5ee5,_0x417caa)=>{const _0x2d6967=_0x3d4b1c,_0x49d683={'FIbnH':function(_0x505e60,_0x1365dd){const _0x5cdf2d=_0x209c;return _0x6f9d53[_0x5cdf2d(0x1e4)](_0x505e60,_0x1365dd);},'HGkoJ':function(_0x59a8f7,_0x50a2a2){return _0x59a8f7(_0x50a2a2);},'DyUCF':'获取视频封面失败,使用默认封面'},_0x1828a4=_0x3bfd83+'_0.png',_0x8adb7c=_0x36be95['join'](_0x4c23a5,_0x1828a4);_0x1ecbbd(_0x566067)['on']('end',()=>{})['on'](_0x6f9d53[_0x2d6967(0x1cf)],_0x4cd392=>{const _0x360644=_0x2d6967,_0x54ee52={'OdkwF':function(_0x2d6f02,_0xe2ea65){return _0x49d683['FIbnH'](_0x2d6f02,_0xe2ea65);},'EGuQh':function(_0x4c0761,_0x31d28d){const _0x4693c9=_0x209c;return _0x49d683[_0x4693c9(0x1da)](_0x4c0761,_0x31d28d);}};logDebug(_0x49d683[_0x360644(0x1c5)],_0x4cd392),_0x589f2b?_0xb2518b[_0x360644(0x207)](_0x589f2b,_0x8adb7c)['then'](()=>{const _0x2486a7=_0x360644;_0x54ee52[_0x2486a7(0x1f2)](_0x5e5ee5,_0x8adb7c);})['catch'](_0x417caa):_0xb2518b[_0x360644(0x1ff)](_0x8adb7c,defaultVideoThumb)[_0x360644(0x1e3)](()=>{_0x54ee52['EGuQh'](_0x5e5ee5,_0x8adb7c);})[_0x360644(0x1f1)](_0x417caa);})[_0x2d6967(0x1ba)]({'timestamps':[0x0],'filename':_0x1828a4,'folder':_0x4c23a5,'size':_0x6f9d53[_0x2d6967(0x204)](_0x33ecc4[_0x2d6967(0x1f3)]+'x',_0x33ecc4[_0x2d6967(0x1fc)])})['on'](_0x6f9d53[_0x2d6967(0x1de)],()=>{_0x5e5ee5(_0x8adb7c);});}),_0x48a808=new Map(),_0x2fb19e=await _0x249bc9,_0x1974fd=(await _0xb2518b[_0x3d4b1c(0x1bf)](_0x2fb19e))[_0x3d4b1c(0x1bd)];_0x48a808[_0x3d4b1c(0x209)](0x0,_0x2fb19e);const _0x978b52=await _0x6f9d53['TRWoZ'](calculateFileMD5,_0x2fb19e),_0x549eb4={'elementType':ElementType[_0x3d4b1c(0x1ea)],'elementId':'','videoElement':{'fileName':_0x6f9d53[_0x3d4b1c(0x1e9)](_0x1e7708,_0x2d8e3b),'filePath':_0xce53cc,'videoMd5':_0x3bfd83,'thumbMd5':_0x978b52,'fileTime':_0x33ecc4['time'],'thumbPath':_0x48a808,'thumbSize':_0x1974fd,'thumbWidth':_0x33ecc4[_0x3d4b1c(0x1f3)],'thumbHeight':_0x33ecc4['height'],'fileSize':_0x6f9d53[_0x3d4b1c(0x204)]('',_0x337f9d)}};return _0x549eb4;}static async['ptt'](_0x3264ce){const _0x3cb49c=_0x4ad9cc,_0x90d199={'LxDLA':function(_0xe651ad,_0x5ed71d){return _0xe651ad(_0x5ed71d);},'staEx':function(_0x462dfc,_0x51af49){return _0x462dfc===_0x51af49;},'gkUVg':function(_0x5d696b,_0xe31af3){return _0x5d696b||_0xe31af3;}},{converted:_0xdfcd12,path:_0x1a4e29,duration:_0x11c7b7}=await _0x90d199[_0x3cb49c(0x1e0)](encodeSilk,_0x3264ce);if(!_0x1a4e29)throw _0x3cb49c(0x1fa);const {md5:_0x28b4a6,fileName:_0x3682d2,path:_0x2fa67e,fileSize:_0x437321}=await NTQQFileApi[_0x3cb49c(0x1e2)](_0x1a4e29,ElementType[_0x3cb49c(0x1ce)]);if(_0x90d199['staEx'](_0x437321,0x0))throw _0x3cb49c(0x1c9);return _0xdfcd12&&_0xb2518b['unlink'](_0x1a4e29)[_0x3cb49c(0x1e3)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x3682d2,'filePath':_0x2fa67e,'md5HexStr':_0x28b4a6,'fileSize':_0x437321,'duration':_0x90d199['gkUVg'](_0x11c7b7,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[_0x4ad9cc(0x1e7)](_0x51df4f){const _0x56f0d0=_0x4ad9cc,_0x3ba231={'PnnRs':function(_0x50cbd0,_0xa13410){return _0x50cbd0(_0xa13410);},'IUGOt':function(_0x3aab1a,_0x4ac8e5){return _0x3aab1a>=_0x4ac8e5;}},_0x1694b1=_0x29779a[_0x56f0d0(0x1dc)],_0x2bf3d4=_0x29779a['emoji'],_0x1bbbe2=_0x1694b1[_0x56f0d0(0x202)](_0x5456e9=>_0x5456e9[_0x56f0d0(0x1d0)]===_0x51df4f[_0x56f0d0(0x1f6)]());_0x51df4f=_0x3ba231[_0x56f0d0(0x1d9)](parseInt,_0x51df4f[_0x56f0d0(0x1f6)]());let _0x309bec=0x1;return _0x3ba231[_0x56f0d0(0x1be)](_0x51df4f,0xde)&&(_0x309bec=0x2),_0x1bbbe2[_0x56f0d0(0x212)]&&(_0x309bec=0x3),{'elementType':ElementType[_0x56f0d0(0x206)],'elementId':'','faceElement':{'faceIndex':_0x51df4f,'faceType':_0x309bec,'faceText':_0x1bbbe2[_0x56f0d0(0x1ec)],'stickerId':_0x1bbbe2[_0x56f0d0(0x1d1)],'stickerType':_0x1bbbe2[_0x56f0d0(0x212)],'packId':_0x1bbbe2[_0x56f0d0(0x1ed)],'sourceType':0x1}};}static[_0x4ad9cc(0x1f4)](_0x589fa9,_0x3733eb,_0x46f2a3,_0x351649){const _0x2b4dfb=_0x4ad9cc,_0x4f2060={'cghGG':_0x2b4dfb(0x20b)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x589fa9,'emojiId':_0x3733eb,'key':_0x46f2a3,'faceName':_0x351649||mFaceCache[_0x2b4dfb(0x1d2)](_0x3733eb)||_0x4f2060[_0x2b4dfb(0x1d5)]}};}static[_0x4ad9cc(0x205)](_0x2e97eb){const _0x50fb88=_0x4ad9cc,_0x3f18ab={'tQUTG':_0x50fb88(0x1df)};return{'elementType':ElementType[_0x50fb88(0x206)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x50fb88(0x205)],'faceType':FaceType['dice'],'faceText':_0x3f18ab[_0x50fb88(0x1f7)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x4ad9cc(0x1cb)](_0x49bb4d){const _0x6e8cb6=_0x4ad9cc,_0x47ca9f={'uTJbo':_0x6e8cb6(0x1f8)};return{'elementType':ElementType[_0x6e8cb6(0x206)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x6e8cb6(0x1c7)],'faceText':_0x47ca9f[_0x6e8cb6(0x211)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x4ad9cc(0x1eb)](_0x34570f){const _0x5593a1=_0x4ad9cc,_0x1c2f72={'VbDji':_0x5593a1(0x203)};return typeof _0x34570f!==_0x1c2f72[_0x5593a1(0x1ee)]&&(_0x34570f=JSON[_0x5593a1(0x20a)](_0x34570f)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x34570f,'linkInfo':null,'subElementType':null}};}static[_0x4ad9cc(0x20f)](_0x2106f9){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2106f9}};}static async[_0x4ad9cc(0x1db)](){const _0x23d5e8=_0x4ad9cc,_0x44ee3e={'hjWod':'Bot\x20Test','FjTZD':_0x23d5e8(0x210)};let _0x50125e=await SignMiniApp({'prompt':_0x44ee3e['hjWod'],'title':_0x44ee3e['hjWod'],'preview':_0x23d5e8(0x20c),'jumpUrl':_0x44ee3e[_0x23d5e8(0x1d4)],'tag':_0x23d5e8(0x1bc),'tagIcon':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','source':_0x44ee3e[_0x23d5e8(0x1d6)],'sourcelogo':_0x23d5e8(0x1c3)});return{'elementType':ElementType[_0x23d5e8(0x1d8)],'elementId':'','arkElement':{'bytesData':_0x50125e,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x5d8d63=_0x4f61;(function(_0x14eebb,_0x5105a8){const _0x49c520=_0x4f61,_0xcc655=_0x14eebb();while(!![]){try{const _0xa56118=-parseInt(_0x49c520(0x87))/0x1*(parseInt(_0x49c520(0x8a))/0x2)+-parseInt(_0x49c520(0x96))/0x3*(parseInt(_0x49c520(0x8e))/0x4)+parseInt(_0x49c520(0xb5))/0x5*(parseInt(_0x49c520(0x82))/0x6)+parseInt(_0x49c520(0x8c))/0x7*(-parseInt(_0x49c520(0x73))/0x8)+parseInt(_0x49c520(0xae))/0x9*(parseInt(_0x49c520(0xc6))/0xa)+parseInt(_0x49c520(0x95))/0xb*(parseInt(_0x49c520(0x81))/0xc)+parseInt(_0x49c520(0x89))/0xd;if(_0xa56118===_0x5105a8)break;else _0xcc655['push'](_0xcc655['shift']());}catch(_0x2fa5d9){_0xcc655['push'](_0xcc655['shift']());}}}(_0xe651,0x55987));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x4467ce}from'node:fs';function _0xe651(){const _0x22b986=['notAt','uploadFile','DNWSU','ZOzEA','edLdz','https://www.bilibili.com/','oXdzv','end','48XUtQnz','46890dOVNXZ','join','KEPWI','HWIre','video','79QadlNF','QDes','14663675TVWkYB','17036BCdHqU','then','3968251cUTyXI','get','4BGjuwq','stringify','BqsQO','ptt','EqRNm','mEKnd','XVhsp','1573396DRJUfE','1343214xpgslI','copyFile','jpg','REPLY','fWcVF','_0.png','fOgTe','reply','getImageSize','eeWSE','GEkVy','screenshots','width','replace','MSkrN','ARK','AniStickerPackId','find','zPHdN','MFACE','WwVRC','获取视频封面失败,使用默认封面','LBgqG','toString','18bLrbrb','AMNpY','WoorC','OQbsl','mp4','height','time','185cTiutG','MARKDOWN','RPS','[包剪锤]','miniapp','VKjhf','PTT','FACE','PIC','unlink','zXODt','AniStickerId','TEXT','pic','catch','writeFile','dice','244390IbgaQF','获取视频信息失败','DnWsQ','[商城表情]','gif','stat','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','Kjboh','Thumb','VIDEO','[骰子]','ark','error','emoji','AniStickerType','sep','size','BoKNf','FILE','8CkffMB','pyGyE','fPgDZ','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','语音转换失败,\x20请检查语音文件是否正常','NMVXs'];_0xe651=function(){return _0x22b986;};return _0xe651();}import _0x4bf459 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x3894ed from'./face_config.json';import*as _0x5b6c6e from'node:path';function _0x4f61(_0x44cefa,_0x1df44d){const _0xe651df=_0xe651();return _0x4f61=function(_0x4f6142,_0x32c554){_0x4f6142=_0x4f6142-0x69;let _0x3b2451=_0xe651df[_0x4f6142];return _0x3b2451;},_0x4f61(_0x44cefa,_0x1df44d);}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x229230){const _0x239be6=_0x4f61;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x229230,'atType':AtType[_0x239be6(0x79)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x58de53,_0x1a70c9,_0x3dc342,_0x21ec63){const _0x246776=_0x4f61;return{'elementType':ElementType[_0x246776(0xc1)],'elementId':'','textElement':{'content':'@'+_0x21ec63,'atType':_0x3dc342,'atUid':_0x58de53,'atTinyId':'','atNtUid':_0x1a70c9}};}static[_0x5d8d63(0x9d)](_0x4db0e4,_0x4193dd,_0x1fb576,_0x219a92){const _0x465857=_0x5d8d63;return{'elementType':ElementType[_0x465857(0x99)],'elementId':'','replyElement':{'replayMsgSeq':_0x4db0e4,'replayMsgId':_0x4193dd,'senderUin':_0x1fb576,'senderUinStr':_0x219a92}};}static async[_0x5d8d63(0xc2)](_0x35a756,_0x45b722='',_0x342eb8=0x0){const _0x1ed5a3=_0x5d8d63,_0x398fe5={'ZOzEA':function(_0x431f06,_0x5a9720){return _0x431f06===_0x5a9720;},'YUWSv':'文件异常,大小为0'},{md5:_0x425de9,fileName:_0x5c7122,path:_0x2516b6,fileSize:_0x584300}=await NTQQFileApi[_0x1ed5a3(0x7a)](_0x35a756,ElementType['PIC'],_0x342eb8);if(_0x398fe5[_0x1ed5a3(0x7c)](_0x584300,0x0))throw _0x398fe5['YUWSv'];const _0x599cb9=await NTQQFileApi[_0x1ed5a3(0x9e)](_0x35a756),_0x40f0ae={'md5HexStr':_0x425de9,'fileSize':_0x584300['toString'](),'picWidth':_0x599cb9?.[_0x1ed5a3(0xa2)],'picHeight':_0x599cb9?.['height'],'fileName':_0x5c7122,'sourcePath':_0x2516b6,'original':!![],'picType':isGIF(_0x35a756)?PicType[_0x1ed5a3(0xca)]:PicType[_0x1ed5a3(0x98)],'picSubType':_0x342eb8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x45b722};return{'elementType':ElementType[_0x1ed5a3(0xbd)],'elementId':'','picElement':_0x40f0ae};}static async['file'](_0x2181c0,_0x15ff4c='',_0x8b5cdd=''){const _0x22dbe1=_0x5d8d63,_0x50e152={'DnWsQ':function(_0x22631d,_0x5e64d9){return _0x22631d===_0x5e64d9;},'NMVXs':function(_0x52f552,_0x3e4e13){return _0x52f552||_0x3e4e13;}},{md5:_0x178d2a,fileName:_0x3a0b7d,path:_0x35c2c0,fileSize:_0x46654c}=await NTQQFileApi[_0x22dbe1(0x7a)](_0x2181c0,ElementType['FILE']);if(_0x50e152[_0x22dbe1(0xc8)](_0x46654c,0x0))throw'文件异常,大小为0';const _0x3fa43c={'elementType':ElementType[_0x22dbe1(0x72)],'elementId':'','fileElement':{'fileName':_0x50e152[_0x22dbe1(0x78)](_0x15ff4c,_0x3a0b7d),'folderId':_0x8b5cdd,'filePath':_0x35c2c0,'fileSize':_0x46654c['toString']()}};return _0x3fa43c;}static async[_0x5d8d63(0x86)](_0x417e3b,_0x4d5e30='',_0x59be62=''){const _0x4b530d=_0x5d8d63,_0x35e902={'BqsQO':function(_0x16da7d,_0x5cc53b){return _0x16da7d(_0x5cc53b);},'WoorC':function(_0x3b9bb3,_0x113d36){return _0x3b9bb3(_0x113d36);},'QxmEg':function(_0x204628,_0x4d64a2){return _0x204628(_0x4d64a2);},'jhyJp':_0x4b530d(0x80),'fPgDZ':_0x4b530d(0x6c),'eeWSE':function(_0x44f3e1,_0x18a195){return _0x44f3e1+_0x18a195;},'HWIre':function(_0xadc118,_0x595e9c){return _0xadc118===_0x595e9c;},'OQbsl':'文件异常,大小为0','AMNpY':_0x4b530d(0xb2),'fOgTe':function(_0x18d9fa,_0x411aa6,_0x5be1ce){return _0x18d9fa(_0x411aa6,_0x5be1ce);},'oXdzv':_0x4b530d(0xc7),'pyGyE':function(_0x105ab4,_0x179167){return _0x105ab4||_0x179167;}},{fileName:_0x9c9f4a,path:_0x578440,fileSize:_0x74c41e,md5:_0x50a228}=await NTQQFileApi[_0x4b530d(0x7a)](_0x417e3b,ElementType[_0x4b530d(0x69)]);if(_0x35e902[_0x4b530d(0x85)](_0x74c41e,0x0))throw _0x35e902[_0x4b530d(0xb1)];let _0x41cad2=_0x578440[_0x4b530d(0xa3)](_0x5b6c6e[_0x4b530d(0x6f)]+'Ori'+_0x5b6c6e['sep'],_0x5b6c6e[_0x4b530d(0x6f)]+_0x4b530d(0xce)+_0x5b6c6e[_0x4b530d(0x6f)]);_0x41cad2=_0x5b6c6e['dirname'](_0x41cad2);let _0x2a3171={'width':0x780,'height':0x438,'time':0xf,'format':_0x35e902[_0x4b530d(0xaf)],'size':_0x74c41e,'filePath':_0x417e3b};try{_0x2a3171=await _0x35e902['QxmEg'](getVideoInfo,_0x578440);}catch(_0x468a67){_0x35e902[_0x4b530d(0x9c)](logError,_0x35e902[_0x4b530d(0x7f)],_0x468a67);}const _0x8a4fb7=new Promise((_0x37f754,_0x34273f)=>{const _0x3a57fb=_0x4b530d,_0x23c192={'zPHdN':function(_0x45a3fd,_0x1c0aa2){const _0x11c055=_0x4f61;return _0x35e902[_0x11c055(0x90)](_0x45a3fd,_0x1c0aa2);},'MSkrN':function(_0x5eea2c,_0x5e8981,_0x237cbe){return _0x5eea2c(_0x5e8981,_0x237cbe);},'VKjhf':_0x3a57fb(0xab),'sZWWX':function(_0x4710ca,_0x13c022){const _0x3911e1=_0x3a57fb;return _0x35e902[_0x3911e1(0xb0)](_0x4710ca,_0x13c022);}},_0x43a809=_0x50a228+_0x3a57fb(0x9b),_0x111a2d=_0x5b6c6e[_0x3a57fb(0x83)](_0x41cad2,_0x43a809);_0x35e902['QxmEg'](_0x4bf459,_0x417e3b)['on'](_0x35e902['jhyJp'],()=>{})['on'](_0x35e902[_0x3a57fb(0x75)],_0x22d6b8=>{const _0x3bf066=_0x3a57fb,_0x4ec8f8={'zXODt':function(_0x5e990e,_0x499218){const _0x19e79a=_0x4f61;return _0x23c192[_0x19e79a(0xa8)](_0x5e990e,_0x499218);}};_0x23c192[_0x3bf066(0xa4)](logDebug,_0x23c192[_0x3bf066(0xba)],_0x22d6b8),_0x59be62?_0x4467ce[_0x3bf066(0x97)](_0x59be62,_0x111a2d)[_0x3bf066(0x8b)](()=>{const _0x158826=_0x3bf066;_0x4ec8f8[_0x158826(0xbf)](_0x37f754,_0x111a2d);})[_0x3bf066(0xc3)](_0x34273f):_0x4467ce[_0x3bf066(0xc4)](_0x111a2d,defaultVideoThumb)[_0x3bf066(0x8b)](()=>{_0x23c192['zPHdN'](_0x37f754,_0x111a2d);})[_0x3bf066(0xc3)](_0x34273f);})[_0x3a57fb(0xa1)]({'timestamps':[0x0],'filename':_0x43a809,'folder':_0x41cad2,'size':_0x35e902[_0x3a57fb(0x9f)](_0x2a3171[_0x3a57fb(0xa2)],'x')+_0x2a3171['height']})['on']('end',()=>{_0x23c192['sZWWX'](_0x37f754,_0x111a2d);});}),_0x1c3c73=new Map(),_0x2cd679=await _0x8a4fb7,_0x29da6d=(await _0x4467ce[_0x4b530d(0xcb)](_0x2cd679))[_0x4b530d(0x70)];_0x1c3c73['set'](0x0,_0x2cd679);const _0xbd7751=await calculateFileMD5(_0x2cd679),_0x59f455={'elementType':ElementType[_0x4b530d(0x69)],'elementId':'','videoElement':{'fileName':_0x35e902[_0x4b530d(0x74)](_0x4d5e30,_0x9c9f4a),'filePath':_0x578440,'videoMd5':_0x50a228,'thumbMd5':_0xbd7751,'fileTime':_0x2a3171[_0x4b530d(0xb4)],'thumbPath':_0x1c3c73,'thumbSize':_0x29da6d,'thumbWidth':_0x2a3171[_0x4b530d(0xa2)],'thumbHeight':_0x2a3171[_0x4b530d(0xb3)],'fileSize':''+_0x74c41e}};return _0x59f455;}static async[_0x5d8d63(0x91)](_0x5363ba){const _0x1405f8=_0x5d8d63,_0x28f9fa={'BoKNf':_0x1405f8(0x77),'Kjboh':function(_0x278870,_0x4cd7c3){return _0x278870===_0x4cd7c3;},'WwVRC':'文件异常,大小为0','KEPWI':function(_0x4eaeef,_0x5402cf){return _0x4eaeef||_0x5402cf;}},{converted:_0x4d456e,path:_0xafa79a,duration:_0x54b5c7}=await encodeSilk(_0x5363ba);if(!_0xafa79a)throw _0x28f9fa[_0x1405f8(0x71)];const {md5:_0x3f5e61,fileName:_0xe1353a,path:_0x4f4df6,fileSize:_0x597b4f}=await NTQQFileApi[_0x1405f8(0x7a)](_0xafa79a,ElementType['PTT']);if(_0x28f9fa[_0x1405f8(0xcd)](_0x597b4f,0x0))throw _0x28f9fa[_0x1405f8(0xaa)];return _0x4d456e&&_0x4467ce[_0x1405f8(0xbe)](_0xafa79a)[_0x1405f8(0x8b)](),{'elementType':ElementType[_0x1405f8(0xbb)],'elementId':'','pttElement':{'fileName':_0xe1353a,'filePath':_0x4f4df6,'md5HexStr':_0x3f5e61,'fileSize':_0x597b4f,'duration':_0x28f9fa[_0x1405f8(0x84)](_0x54b5c7,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static['face'](_0x366877){const _0x57fd2a=_0x5d8d63,_0x3e02a9={'LBgqG':function(_0x39352a,_0x41f949){return _0x39352a(_0x41f949);},'XVhsp':function(_0x1964a8,_0x3ad0e0){return _0x1964a8>=_0x3ad0e0;}},_0x3dd023=_0x3894ed['sysface'],_0x5cff87=_0x3894ed[_0x57fd2a(0x6d)],_0x25edce=_0x3dd023[_0x57fd2a(0xa7)](_0x5e5284=>_0x5e5284['QSid']===_0x366877[_0x57fd2a(0xad)]());_0x366877=_0x3e02a9[_0x57fd2a(0xac)](parseInt,_0x366877['toString']());let _0x5d8342=0x1;return _0x3e02a9[_0x57fd2a(0x94)](_0x366877,0xde)&&(_0x5d8342=0x2),_0x25edce[_0x57fd2a(0x6e)]&&(_0x5d8342=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x366877,'faceType':_0x5d8342,'faceText':_0x25edce[_0x57fd2a(0x88)],'stickerId':_0x25edce[_0x57fd2a(0xc0)],'stickerType':_0x25edce['AniStickerType'],'packId':_0x25edce[_0x57fd2a(0xa6)],'sourceType':0x1}};}static['mface'](_0x41c933,_0x40defa,_0x303bd2,_0x396da4){const _0x5ad9ae=_0x5d8d63;return{'elementType':ElementType[_0x5ad9ae(0xa9)],'marketFaceElement':{'emojiPackageId':_0x41c933,'emojiId':_0x40defa,'key':_0x303bd2,'faceName':_0x396da4||mFaceCache[_0x5ad9ae(0x8d)](_0x40defa)||_0x5ad9ae(0xc9)}};}static['dice'](_0x6943a6){const _0x158360=_0x5d8d63,_0x4020f0={'fWcVF':_0x158360(0x6a)};return{'elementType':ElementType[_0x158360(0xbc)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x158360(0xc5)],'faceType':FaceType['dice'],'faceText':_0x4020f0[_0x158360(0x9a)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x40d72f){const _0x305f83=_0x5d8d63,_0xa3b0f0={'GEkVy':_0x305f83(0xb8)};return{'elementType':ElementType[_0x305f83(0xbc)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x305f83(0xb7)],'faceText':_0xa3b0f0[_0x305f83(0xa0)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5d8d63(0x6b)](_0x2a22ea){const _0x320982=_0x5d8d63,_0x49527a={'edLdz':function(_0x5cd25e,_0x12c57e){return _0x5cd25e!==_0x12c57e;}};return _0x49527a[_0x320982(0x7d)](typeof _0x2a22ea,'string')&&(_0x2a22ea=JSON[_0x320982(0x8f)](_0x2a22ea)),{'elementType':ElementType[_0x320982(0xa5)],'elementId':'','arkElement':{'bytesData':_0x2a22ea,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x33db2a){const _0x49e3b5=_0x5d8d63;return{'elementType':ElementType[_0x49e3b5(0xb6)],'elementId':'','markdownElement':{'content':_0x33db2a}};}static async[_0x5d8d63(0xb9)](){const _0x144a8e=_0x5d8d63,_0x4b3c76={'EqRNm':'Bot\x20Test','mEKnd':_0x144a8e(0x7e),'DNWSU':_0x144a8e(0xcc)};let _0x268d76=await SignMiniApp({'prompt':_0x4b3c76[_0x144a8e(0x92)],'title':_0x4b3c76[_0x144a8e(0x92)],'preview':_0x144a8e(0x76),'jumpUrl':_0x4b3c76[_0x144a8e(0x93)],'tag':_0x4b3c76[_0x144a8e(0x92)],'tagIcon':_0x4b3c76['DNWSU'],'source':_0x4b3c76[_0x144a8e(0x92)],'sourcelogo':_0x4b3c76[_0x144a8e(0x7b)]});return{'elementType':ElementType[_0x144a8e(0xa5)],'elementId':'','arkElement':{'bytesData':_0x268d76,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index a98a4c6f..c016e0a2 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0xbfb3cc,_0x329927){var _0x3d3cf6=_0x3251,_0x48653c=_0xbfb3cc();while(!![]){try{var _0x3d30c4=parseInt(_0x3d3cf6(0x11d))/0x1+parseInt(_0x3d3cf6(0x120))/0x2+-parseInt(_0x3d3cf6(0x126))/0x3+parseInt(_0x3d3cf6(0x128))/0x4*(parseInt(_0x3d3cf6(0x127))/0x5)+-parseInt(_0x3d3cf6(0x124))/0x6*(-parseInt(_0x3d3cf6(0x123))/0x7)+-parseInt(_0x3d3cf6(0x122))/0x8*(-parseInt(_0x3d3cf6(0x11c))/0x9)+-parseInt(_0x3d3cf6(0x11f))/0xa;if(_0x3d30c4===_0x329927)break;else _0x48653c['push'](_0x48653c['shift']());}catch(_0x40faac){_0x48653c['push'](_0x48653c['shift']());}}}(_0x2774,0xbf42b));export var GroupMemberRole;(function(_0x460262){var _0x84706c=_0x3251,_0x3881d={'LiOUw':_0x84706c(0x125),'PRWfS':'owner'};_0x460262[_0x460262[_0x3881d['LiOUw']]=0x2]=_0x3881d[_0x84706c(0x121)],_0x460262[_0x460262[_0x84706c(0x11e)]=0x3]=_0x84706c(0x11e),_0x460262[_0x460262[_0x3881d[_0x84706c(0x11b)]]=0x4]=_0x3881d[_0x84706c(0x11b)];}(GroupMemberRole||(GroupMemberRole={})));function _0x3251(_0x7b3f8,_0x427c3f){var _0x2774bc=_0x2774();return _0x3251=function(_0x325120,_0x19bad){_0x325120=_0x325120-0x11b;var _0x329315=_0x2774bc[_0x325120];return _0x329315;},_0x3251(_0x7b3f8,_0x427c3f);}function _0x2774(){var _0x15e2d1=['PRWfS','9tuBqmO','1155390aEkKaM','admin','6543420rsiXRL','350300ooqWDB','LiOUw','536168CqjOKV','35nbikSz','237738yqQopU','normal','3004059jWPpaF','4217110iIQPUI','4oevibk'];_0x2774=function(){return _0x15e2d1;};return _0x2774();} \ No newline at end of file +(function(_0x2d0c52,_0x7d35c5){var _0x1b6eaf=_0xda8a,_0x2761f3=_0x2d0c52();while(!![]){try{var _0x22e1ad=parseInt(_0x1b6eaf(0x1bc))/0x1+-parseInt(_0x1b6eaf(0x1be))/0x2+parseInt(_0x1b6eaf(0x1c6))/0x3+parseInt(_0x1b6eaf(0x1bf))/0x4*(-parseInt(_0x1b6eaf(0x1c5))/0x5)+-parseInt(_0x1b6eaf(0x1bb))/0x6+parseInt(_0x1b6eaf(0x1c4))/0x7+parseInt(_0x1b6eaf(0x1c2))/0x8*(parseInt(_0x1b6eaf(0x1bd))/0x9);if(_0x22e1ad===_0x7d35c5)break;else _0x2761f3['push'](_0x2761f3['shift']());}catch(_0x160e2d){_0x2761f3['push'](_0x2761f3['shift']());}}}(_0x53cc,0x58374));function _0xda8a(_0x1cdd05,_0x53ef70){var _0x53cc0f=_0x53cc();return _0xda8a=function(_0xda8a5c,_0x13d3f4){_0xda8a5c=_0xda8a5c-0x1ba;var _0x4b5c8b=_0x53cc0f[_0xda8a5c];return _0x4b5c8b;},_0xda8a(_0x1cdd05,_0x53ef70);}function _0x53cc(){var _0x4fa624=['16SRwOmQ','SROoR','4184229TAouMa','5KVsefY','632556xodXCL','owner','FgvSk','normal','3579720KmYJpC','120643GpfQhu','3371031ABtlCU','690578lubAZL','1500476AoiHla','admin','eDOaJ'];_0x53cc=function(){return _0x4fa624;};return _0x53cc();}export var GroupMemberRole;(function(_0x3683af){var _0x2adcae=_0xda8a,_0x35c464={'FgvSk':_0x2adcae(0x1ba),'SROoR':_0x2adcae(0x1c0),'eDOaJ':_0x2adcae(0x1c7)};_0x3683af[_0x3683af[_0x35c464[_0x2adcae(0x1c8)]]=0x2]=_0x35c464[_0x2adcae(0x1c8)],_0x3683af[_0x3683af[_0x35c464[_0x2adcae(0x1c3)]]=0x3]=_0x35c464[_0x2adcae(0x1c3)],_0x3683af[_0x3683af[_0x35c464[_0x2adcae(0x1c1)]]=0x4]=_0x35c464[_0x2adcae(0x1c1)];}(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 8c1734af..75e8000c 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x45201a,_0x597b1a){var _0x11d380=_0x4041,_0x51afc5=_0x45201a();while(!![]){try{var _0x2903a3=-parseInt(_0x11d380(0x17b))/0x1*(parseInt(_0x11d380(0x17f))/0x2)+parseInt(_0x11d380(0x17e))/0x3+parseInt(_0x11d380(0x17c))/0x4*(-parseInt(_0x11d380(0x181))/0x5)+parseInt(_0x11d380(0x178))/0x6*(-parseInt(_0x11d380(0x183))/0x7)+-parseInt(_0x11d380(0x17a))/0x8*(-parseInt(_0x11d380(0x179))/0x9)+parseInt(_0x11d380(0x182))/0xa*(-parseInt(_0x11d380(0x180))/0xb)+parseInt(_0x11d380(0x17d))/0xc;if(_0x2903a3===_0x597b1a)break;else _0x51afc5['push'](_0x51afc5['shift']());}catch(_0x4fb186){_0x51afc5['push'](_0x51afc5['shift']());}}}(_0x2bfd,0xa17e9));export*from'./user';export*from'./group';function _0x2bfd(){var _0x1299d5=['264bfvnhm','2207605ZONCEk','266890bYXMnS','140KZcFio','370614NGMLYA','3637503LaYnzK','8faXgTh','9103FQNgGf','4xFViaj','25765848DywnYR','2566314PtKaaW','94LCXyqi'];_0x2bfd=function(){return _0x1299d5;};return _0x2bfd();}export*from'./msg';export*from'./notify';function _0x4041(_0x44ff0e,_0xa1fed2){var _0x2bfdc5=_0x2bfd();return _0x4041=function(_0x404107,_0x4122ca){_0x404107=_0x404107-0x178;var _0x4e5a59=_0x2bfdc5[_0x404107];return _0x4e5a59;},_0x4041(_0x44ff0e,_0xa1fed2);}export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x39e4ee,_0x4b5618){var _0x558c73=_0x2ec0,_0x226d8a=_0x39e4ee();while(!![]){try{var _0x186d5d=-parseInt(_0x558c73(0x1a8))/0x1*(-parseInt(_0x558c73(0x1a9))/0x2)+parseInt(_0x558c73(0x1a4))/0x3*(-parseInt(_0x558c73(0x1a5))/0x4)+parseInt(_0x558c73(0x1a3))/0x5*(-parseInt(_0x558c73(0x1a7))/0x6)+-parseInt(_0x558c73(0x1aa))/0x7*(-parseInt(_0x558c73(0x1ab))/0x8)+-parseInt(_0x558c73(0x1a6))/0x9*(-parseInt(_0x558c73(0x19f))/0xa)+-parseInt(_0x558c73(0x1a2))/0xb+-parseInt(_0x558c73(0x1a0))/0xc*(-parseInt(_0x558c73(0x1a1))/0xd);if(_0x186d5d===_0x4b5618)break;else _0x226d8a['push'](_0x226d8a['shift']());}catch(_0x2ff4c0){_0x226d8a['push'](_0x226d8a['shift']());}}}(_0x4789,0x6071d));function _0x4789(){var _0x5b3127=['9032AryaqE','1590cnGBJF','2952HxxUnx','31239AdVIsL','4210646HausnQ','15445DflTJC','45KFMuDB','84580ccxFUO','10899fCLRVi','696NOrZrZ','4bcKTFs','229256eOLlBz','1309ujvpzB'];_0x4789=function(){return _0x5b3127;};return _0x4789();}function _0x2ec0(_0x47704e,_0xa42b9c){var _0x478992=_0x4789();return _0x2ec0=function(_0x2ec055,_0x5c7928){_0x2ec055=_0x2ec055-0x19f;var _0xeccc38=_0x478992[_0x2ec055];return _0xeccc38;},_0x2ec0(_0x47704e,_0xa42b9c);}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 32ccf1d8..f9785f08 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x51afd9=_0x1807;(function(_0x304a1b,_0x141add){var _0x14fef8=_0x1807,_0x2294d4=_0x304a1b();while(!![]){try{var _0x4f4422=parseInt(_0x14fef8(0x1f0))/0x1*(parseInt(_0x14fef8(0x1d3))/0x2)+parseInt(_0x14fef8(0x1ef))/0x3*(-parseInt(_0x14fef8(0x1d6))/0x4)+parseInt(_0x14fef8(0x1c9))/0x5*(-parseInt(_0x14fef8(0x1e8))/0x6)+parseInt(_0x14fef8(0x1df))/0x7+-parseInt(_0x14fef8(0x1db))/0x8+-parseInt(_0x14fef8(0x1dc))/0x9+parseInt(_0x14fef8(0x1e0))/0xa;if(_0x4f4422===_0x141add)break;else _0x2294d4['push'](_0x2294d4['shift']());}catch(_0x82a924){_0x2294d4['push'](_0x2294d4['shift']());}}}(_0x54be,0xf1b48));export var ElementType;(function(_0x1e61d8){var _0x1bb507=_0x1807,_0x567937={'oERzP':_0x1bb507(0x1ba),'jBSZL':'REPLY','DQOTL':_0x1bb507(0x1dd),'yWbsr':_0x1bb507(0x1e7),'quxUx':_0x1bb507(0x1c6),'hmfpU':_0x1bb507(0x1ca),'MjAQY':'FILE','qFEfF':_0x1bb507(0x1be),'cSPlg':_0x1bb507(0x1f5)},_0x5b8875='8|2|7|5|9|3|1|0|6|4'[_0x1bb507(0x1f3)]('|'),_0x3581c5=0x0;while(!![]){switch(_0x5b8875[_0x3581c5++]){case'0':_0x1e61d8[_0x1e61d8[_0x567937['oERzP']]=0xa]=_0x567937[_0x1bb507(0x1e5)];continue;case'1':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e3)]]=0x7]=_0x567937[_0x1bb507(0x1e3)];continue;case'2':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e2)]]=0x2]=_0x567937[_0x1bb507(0x1e2)];continue;case'3':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1ed)]]=0x6]=_0x567937[_0x1bb507(0x1ed)];continue;case'4':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e4)]]=0xe]=_0x567937['quxUx'];continue;case'5':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e1)]]=0x4]=_0x1bb507(0x1ca);continue;case'6':_0x1e61d8[_0x1e61d8[_0x1bb507(0x1c3)]=0xb]=_0x1bb507(0x1c3);continue;case'7':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1cf)]]=0x3]=_0x567937[_0x1bb507(0x1cf)];continue;case'8':_0x1e61d8[_0x1e61d8['TEXT']=0x1]=_0x567937[_0x1bb507(0x1c8)];continue;case'9':_0x1e61d8[_0x1e61d8[_0x567937['cSPlg']]=0x5]='VIDEO';continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x1807(_0x5dcf47,_0x597382){var _0x54bef0=_0x54be();return _0x1807=function(_0x18079a,_0x1e1b68){_0x18079a=_0x18079a-0x1ba;var _0x1e9346=_0x54bef0[_0x18079a];return _0x1e9346;},_0x1807(_0x5dcf47,_0x597382);}(function(_0x20b559){var _0x264be6=_0x1807,_0x219fd4={'dZIHT':_0x264be6(0x1c5),'PEFOo':_0x264be6(0x1e9)};_0x20b559[_0x20b559[_0x219fd4[_0x264be6(0x1ea)]]=0x7d0]=_0x219fd4[_0x264be6(0x1ea)],_0x20b559[_0x20b559[_0x219fd4[_0x264be6(0x1de)]]=0x3e8]=_0x264be6(0x1e9);}(PicType||(PicType={})));export var PicSubType;(function(_0x2f3816){var _0x3e383b=_0x1807,_0x169313={'ttCMc':'normal','htpWl':'face'};_0x2f3816[_0x2f3816[_0x169313[_0x3e383b(0x1c2)]]=0x0]='normal',_0x2f3816[_0x2f3816[_0x169313['htpWl']]=0x1]='face';}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3a98be){var _0x3313e7=_0x1807,_0x2a1d6c={'laiGd':'notAt','SjoqH':_0x3313e7(0x1bd),'fqjhs':_0x3313e7(0x1d0)};_0x3a98be[_0x3a98be[_0x3313e7(0x1d8)]=0x0]=_0x2a1d6c[_0x3313e7(0x1da)],_0x3a98be[_0x3a98be[_0x2a1d6c[_0x3313e7(0x1d1)]]=0x1]=_0x2a1d6c['SjoqH'],_0x3a98be[_0x3a98be[_0x2a1d6c['fqjhs']]=0x2]=_0x2a1d6c[_0x3313e7(0x1bf)];}(AtType||(AtType={})));export var ChatType;(function(_0x5cd345){var _0x3bb251=_0x1807,_0x559652={'FsOtw':_0x3bb251(0x1ec),'iEseT':'group','ZShGw':'chatDevice','jZirE':_0x3bb251(0x1cd)};_0x5cd345[_0x5cd345[_0x559652['FsOtw']]=0x1]=_0x559652['FsOtw'],_0x5cd345[_0x5cd345[_0x559652[_0x3bb251(0x1c0)]]=0x2]=_0x559652['iEseT'],_0x5cd345[_0x5cd345[_0x559652['ZShGw']]=0x8]=_0x559652[_0x3bb251(0x1f2)],_0x5cd345[_0x5cd345[_0x559652[_0x3bb251(0x1c7)]]=0x64]=_0x559652[_0x3bb251(0x1c7)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x51afd9(0x1eb);export const IMAGE_HTTP_HOST_NT=_0x51afd9(0x1ce);export var GrayTipElementSubType;(function(_0x4902b3){var _0x5cd37f=_0x51afd9,_0x240dc7={'ectyI':'INVITE_NEW_MEMBER','bidbw':'MEMBER_NEW_TITLE'};_0x4902b3[_0x4902b3[_0x240dc7[_0x5cd37f(0x1cb)]]=0xc]=_0x5cd37f(0x1ee),_0x4902b3[_0x4902b3[_0x240dc7['bidbw']]=0x11]=_0x240dc7[_0x5cd37f(0x1d4)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3ee614){var _0x13fc6f=_0x51afd9,_0x56c42c={'rHpAM':_0x13fc6f(0x1e6),'tWQQW':_0x13fc6f(0x1c1),'njWXA':_0x13fc6f(0x1d9)};_0x3ee614[_0x3ee614['normal']=0x1]=_0x56c42c['rHpAM'],_0x3ee614[_0x3ee614[_0x13fc6f(0x1c1)]=0x2]=_0x56c42c[_0x13fc6f(0x1cc)],_0x3ee614[_0x3ee614[_0x56c42c[_0x13fc6f(0x1bc)]]=0x3]=_0x56c42c[_0x13fc6f(0x1bc)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1a9656){var _0x494e70=_0x51afd9,_0x2e7d38={'UwgNe':_0x494e70(0x1d9),'QsdLt':_0x494e70(0x1bb)};_0x1a9656[_0x1a9656['dice']=0x166]=_0x2e7d38[_0x494e70(0x1f4)],_0x1a9656[_0x1a9656[_0x2e7d38[_0x494e70(0x1d5)]]=0x167]=_0x2e7d38[_0x494e70(0x1d5)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0xdf44bf){var _0x130f55=_0x51afd9,_0x33e380={'TAIYt':_0x130f55(0x1c4),'OhJHy':'kicked'};_0xdf44bf[_0xdf44bf[_0x130f55(0x1c4)]=0x1]=_0x33e380[_0x130f55(0x1d7)],_0xdf44bf[_0xdf44bf[_0x33e380['OhJHy']]=0x3]=_0x33e380[_0x130f55(0x1f1)],_0xdf44bf[_0xdf44bf[_0x130f55(0x1d2)]=0x8]=_0x130f55(0x1d2);}(TipGroupElementType||(TipGroupElementType={})));function _0x54be(){var _0x50845e=['UwgNe','VIDEO','ARK','RPS','njWXA','atAll','TEXT','fqjhs','iEseT','normal2','ttCMc','MFACE','memberIncrease','gif','MARKDOWN','jZirE','qFEfF','961975scasXh','PTT','ectyI','tWQQW','temp','https://multimedia.nt.qq.com.cn','MjAQY','atUser','SjoqH','ban','8878vQYrvD','bidbw','QsdLt','443532qVkyms','TAIYt','notAt','dice','laiGd','15174336KAjrSP','4706667RjucnH','PIC','PEFOo','1012228JFzObg','39542780fGJwGH','hmfpU','DQOTL','jBSZL','quxUx','oERzP','normal','FACE','6hybEOg','jpg','dZIHT','https://gchat.qpic.cn','friend','yWbsr','INVITE_NEW_MEMBER','15LMcZgj','13yrcbbd','OhJHy','ZShGw','split'];_0x54be=function(){return _0x50845e;};return _0x54be();} \ No newline at end of file +var _0x163719=_0x4738;(function(_0x5886f5,_0x541cdd){var _0x5e4cef=_0x4738,_0x5771e3=_0x5886f5();while(!![]){try{var _0x3d28b5=parseInt(_0x5e4cef(0x1c8))/0x1*(-parseInt(_0x5e4cef(0x1b5))/0x2)+-parseInt(_0x5e4cef(0x19d))/0x3*(parseInt(_0x5e4cef(0x1b8))/0x4)+-parseInt(_0x5e4cef(0x1ba))/0x5*(-parseInt(_0x5e4cef(0x1d1))/0x6)+-parseInt(_0x5e4cef(0x1aa))/0x7+parseInt(_0x5e4cef(0x1d8))/0x8*(parseInt(_0x5e4cef(0x1d2))/0x9)+parseInt(_0x5e4cef(0x1ac))/0xa*(parseInt(_0x5e4cef(0x1de))/0xb)+parseInt(_0x5e4cef(0x1bc))/0xc;if(_0x3d28b5===_0x541cdd)break;else _0x5771e3['push'](_0x5771e3['shift']());}catch(_0x2d174b){_0x5771e3['push'](_0x5771e3['shift']());}}}(_0x2742,0xa214d));function _0x2742(){var _0x320406=['gmkXQ','chatDevice','198034oaOZSp','gwLpo','tAsQL','UdNsB','WMZZI','nLEeQ','split','REPLY','HOaME','1733478UlHbzE','7533rfPhjj','DcmtW','XyqUY','https://gchat.qpic.cn','yyeVN','SUKcX','9032YAmEJI','SWjtN','group','gvzLJ','hgSMv','notAt','561amEBtv','MARKDOWN','jpg','MFACE','3FkrFVN','QXxic','FXQzx','MEMBER_NEW_TITLE','MxaUo','INVITE_NEW_MEMBER','VIDEO','VdTxN','kicked','normal','FlkEf','ARK','gif','8120882EWVqZx','VzwKS','222890HhimAf','PIC','FACE','Cauth','FILE','atUser','atAll','dice','ban','10KMbfJk','temp','BOZoN','3524232htClww','1|9|4|8|0|7|2|5|6|3','20JkMUUp','TEXT','5494500CClRLJ','abmJt','QdUMA','NUoPO','RPS','NmbQW','memberIncrease','zQRzb','https://multimedia.nt.qq.com.cn','fTlYu'];_0x2742=function(){return _0x320406;};return _0x2742();}export var ElementType;(function(_0x37d9c9){var _0x133e70=_0x4738,_0x1d7663={'SWjtN':_0x133e70(0x1b9),'hgSMv':_0x133e70(0x1bb),'NUoPO':_0x133e70(0x1cf),'gvzLJ':_0x133e70(0x1df),'fTlYu':'FILE','Cauth':_0x133e70(0x1a8),'FXQzx':_0x133e70(0x19c),'HZGUK':_0x133e70(0x1ae),'gmkXQ':'PTT','tAsQL':_0x133e70(0x1ad)},_0x3a3789=_0x1d7663[_0x133e70(0x1d9)][_0x133e70(0x1ce)]('|'),_0x48573e=0x0;while(!![]){switch(_0x3a3789[_0x48573e++]){case'0':_0x37d9c9[_0x37d9c9['VIDEO']=0x5]=_0x133e70(0x1a3);continue;case'1':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1dc)]]=0x1]=_0x1d7663[_0x133e70(0x1dc)];continue;case'2':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1bf)]]=0x7]=_0x133e70(0x1cf);continue;case'3':_0x37d9c9[_0x37d9c9[_0x133e70(0x1df)]=0xe]=_0x1d7663[_0x133e70(0x1db)];continue;case'4':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1c5)]]=0x3]=_0x133e70(0x1b0);continue;case'5':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1af)]]=0xa]='ARK';continue;case'6':_0x37d9c9[_0x37d9c9[_0x133e70(0x19c)]=0xb]=_0x1d7663[_0x133e70(0x19f)];continue;case'7':_0x37d9c9[_0x37d9c9[_0x1d7663['HZGUK']]=0x6]='FACE';continue;case'8':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1c6)]]=0x4]=_0x1d7663['gmkXQ'];continue;case'9':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1ca)]]=0x2]=_0x1d7663[_0x133e70(0x1ca)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x38f964){var _0x1c792b=_0x4738,_0x118a1f={'WMZZI':_0x1c792b(0x1a9),'EyVQn':_0x1c792b(0x19b)};_0x38f964[_0x38f964[_0x118a1f[_0x1c792b(0x1cc)]]=0x7d0]=_0x1c792b(0x1a9),_0x38f964[_0x38f964[_0x1c792b(0x19b)]=0x3e8]=_0x118a1f['EyVQn'];}(PicType||(PicType={})));export var PicSubType;(function(_0xab558a){var _0x4ae615=_0x4738,_0xb066b0={'zQRzb':'normal','gwLpo':'face'};_0xab558a[_0xab558a[_0xb066b0[_0x4ae615(0x1c3)]]=0x0]=_0xb066b0[_0x4ae615(0x1c3)],_0xab558a[_0xab558a[_0xb066b0[_0x4ae615(0x1c9)]]=0x1]=_0xb066b0[_0x4ae615(0x1c9)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x24c5f8){var _0x2be8d6=_0x4738,_0x14152b={'NmbQW':_0x2be8d6(0x1dd),'abmJt':'atAll','yyeVN':'atUser'};_0x24c5f8[_0x24c5f8[_0x2be8d6(0x1dd)]=0x0]=_0x14152b[_0x2be8d6(0x1c1)],_0x24c5f8[_0x24c5f8[_0x14152b[_0x2be8d6(0x1bd)]]=0x1]=_0x2be8d6(0x1b2),_0x24c5f8[_0x24c5f8[_0x2be8d6(0x1b1)]=0x2]=_0x14152b[_0x2be8d6(0x1d6)];}(AtType||(AtType={})));export var ChatType;(function(_0x54888e){var _0xccedb3=_0x4738,_0x467f5d={'SUKcX':'friend','FlkEf':_0xccedb3(0x1da),'HOaME':_0xccedb3(0x1c7),'VdTxN':_0xccedb3(0x1b6)};_0x54888e[_0x54888e[_0x467f5d['SUKcX']]=0x1]=_0x467f5d[_0xccedb3(0x1d7)],_0x54888e[_0x54888e[_0x467f5d['FlkEf']]=0x2]=_0x467f5d[_0xccedb3(0x1a7)],_0x54888e[_0x54888e[_0x467f5d['HOaME']]=0x8]=_0x467f5d[_0xccedb3(0x1d0)],_0x54888e[_0x54888e[_0x467f5d[_0xccedb3(0x1a4)]]=0x64]=_0x467f5d[_0xccedb3(0x1a4)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x163719(0x1d5);export const IMAGE_HTTP_HOST_NT=_0x163719(0x1c4);export var GrayTipElementSubType;(function(_0x2fd2b0){var _0xf6cdb2=_0x163719,_0x564491={'XyqUY':_0xf6cdb2(0x1a2),'QXxic':'MEMBER_NEW_TITLE'};_0x2fd2b0[_0x2fd2b0[_0xf6cdb2(0x1a2)]=0xc]=_0x564491[_0xf6cdb2(0x1d4)],_0x2fd2b0[_0x2fd2b0[_0x564491[_0xf6cdb2(0x19e)]]=0x11]=_0xf6cdb2(0x1a0);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xed4f2a){var _0x1c7357=_0x163719,_0x1208bc={'UdNsB':_0x1c7357(0x1a6),'DcmtW':'normal2','QdUMA':_0x1c7357(0x1b3)};_0xed4f2a[_0xed4f2a[_0x1208bc[_0x1c7357(0x1cb)]]=0x1]=_0x1208bc[_0x1c7357(0x1cb)],_0xed4f2a[_0xed4f2a[_0x1208bc[_0x1c7357(0x1d3)]]=0x2]='normal2',_0xed4f2a[_0xed4f2a[_0x1c7357(0x1b3)]=0x3]=_0x1208bc[_0x1c7357(0x1be)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x42c5b7){var _0x5c13fe=_0x163719,_0x543406={'VzwKS':_0x5c13fe(0x1b3),'MxaUo':_0x5c13fe(0x1c0)};_0x42c5b7[_0x42c5b7[_0x543406[_0x5c13fe(0x1ab)]]=0x166]=_0x543406['VzwKS'],_0x42c5b7[_0x42c5b7[_0x543406[_0x5c13fe(0x1a1)]]=0x167]=_0x543406[_0x5c13fe(0x1a1)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x4738(_0xc61049,_0x475bf3){var _0x274213=_0x2742();return _0x4738=function(_0x473839,_0x209ab7){_0x473839=_0x473839-0x19b;var _0x4b4c71=_0x274213[_0x473839];return _0x4b4c71;},_0x4738(_0xc61049,_0x475bf3);}(function(_0x479580){var _0x3d5500=_0x163719,_0x7674d0={'BOZoN':_0x3d5500(0x1c2),'nLEeQ':_0x3d5500(0x1a5)};_0x479580[_0x479580[_0x7674d0['BOZoN']]=0x1]=_0x7674d0[_0x3d5500(0x1b7)],_0x479580[_0x479580[_0x3d5500(0x1a5)]=0x3]=_0x7674d0[_0x3d5500(0x1cd)],_0x479580[_0x479580[_0x3d5500(0x1b4)]=0x8]='ban';}(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 f45d647a..dd5e4067 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -function _0x63dc(_0x1b81d2,_0x1fc98c){var _0x4bb2e3=_0x4bb2();return _0x63dc=function(_0x63dcd1,_0x31cd20){_0x63dcd1=_0x63dcd1-0xc4;var _0x109461=_0x4bb2e3[_0x63dcd1];return _0x109461;},_0x63dc(_0x1b81d2,_0x1fc98c);}(function(_0x32b8e1,_0x9a9ca2){var _0xdc9c17=_0x63dc,_0x3a161d=_0x32b8e1();while(!![]){try{var _0x21e6d2=-parseInt(_0xdc9c17(0xe1))/0x1+-parseInt(_0xdc9c17(0xe7))/0x2*(-parseInt(_0xdc9c17(0xd7))/0x3)+parseInt(_0xdc9c17(0xcf))/0x4+-parseInt(_0xdc9c17(0xc8))/0x5*(parseInt(_0xdc9c17(0xc4))/0x6)+-parseInt(_0xdc9c17(0xea))/0x7*(parseInt(_0xdc9c17(0xc5))/0x8)+parseInt(_0xdc9c17(0xcb))/0x9*(-parseInt(_0xdc9c17(0xdc))/0xa)+parseInt(_0xdc9c17(0xd4))/0xb;if(_0x21e6d2===_0x9a9ca2)break;else _0x3a161d['push'](_0x3a161d['shift']());}catch(_0x57f2a8){_0x3a161d['push'](_0x3a161d['shift']());}}}(_0x4bb2,0x6161e));function _0x4bb2(){var _0x59c78e=['REJECT','4227rUVpLd','ADMIN_UNSET','RgGxD','ADMIN_UNSET_OTHER','QUPoC','1592120QjwLgg','ozxSU','split','KICK_MEMBER','JOIN_REQUEST','32599HcOLZz','wsmxF','approve','nHUku','NEWGROUPTYPE','cXFTg','614djZtjX','IGNORE','5|0|1|4|3|7|2|6','61096pAyGnF','DEFAULTTYPE','6SHoVfp','704gJPwbz','WZpru','rNwFo','2771470HkZhuj','cwQgR','Lsomm','27OSphhK','cgvvA','oKyDv','JFcIe','2909492JXDfrn','MEMBER_EXIT','MqKyl','APPROVE','reject','11786885dOhGpS','INVITE_ME'];_0x4bb2=function(){return _0x59c78e;};return _0x4bb2();}export var GroupNotifyTypes;(function(_0x531fcc){var _0x377892=_0x63dc,_0x4b123a={'rNwFo':_0x377892(0xe9),'cgvvA':'INVITED_JOIN','bOVMX':_0x377892(0xe0),'MqKyl':_0x377892(0xd8),'JFcIe':_0x377892(0xdf),'QUPoC':'ADMIN_SET','WZpru':_0x377892(0xd5),'oKyDv':_0x377892(0xda),'raVVi':_0x377892(0xd0)},_0x43b7c2=_0x4b123a[_0x377892(0xc7)][_0x377892(0xde)]('|'),_0x4fc452=0x0;while(!![]){switch(_0x43b7c2[_0x4fc452++]){case'0':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xcc)]]=0x4]=_0x4b123a[_0x377892(0xcc)];continue;case'1':_0x531fcc[_0x531fcc['JOIN_REQUEST']=0x7]=_0x4b123a['bOVMX'];continue;case'2':_0x531fcc[_0x531fcc[_0x4b123a['MqKyl']]=0xc]=_0x4b123a[_0x377892(0xd1)];continue;case'3':_0x531fcc[_0x531fcc[_0x377892(0xdf)]=0x9]=_0x4b123a[_0x377892(0xce)];continue;case'4':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xdb)]]=0x8]='ADMIN_SET';continue;case'5':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xc6)]]=0x1]=_0x377892(0xd5);continue;case'6':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xcd)]]=0xd]=_0x4b123a[_0x377892(0xcd)];continue;case'7':_0x531fcc[_0x531fcc[_0x377892(0xd0)]=0xb]=_0x4b123a['raVVi'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2dc3dc){var _0x5aed83=_0x63dc,_0x2f5b2c={'RgGxD':_0x5aed83(0xe8),'wsmxF':'WAIT_HANDLE','Lsomm':_0x5aed83(0xd2),'DkxlC':_0x5aed83(0xd6)};_0x2dc3dc[_0x2dc3dc[_0x2f5b2c[_0x5aed83(0xd9)]]=0x0]=_0x2f5b2c[_0x5aed83(0xd9)],_0x2dc3dc[_0x2dc3dc['WAIT_HANDLE']=0x1]=_0x2f5b2c[_0x5aed83(0xe2)],_0x2dc3dc[_0x2dc3dc[_0x2f5b2c[_0x5aed83(0xca)]]=0x2]=_0x5aed83(0xd2),_0x2dc3dc[_0x2dc3dc[_0x2f5b2c['DkxlC']]=0x3]=_0x5aed83(0xd6);}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x30b6ab){var _0x412dd0=_0x63dc,_0x43d220={'cXFTg':_0x412dd0(0xe3),'ozxSU':_0x412dd0(0xd3)};_0x30b6ab[_0x30b6ab[_0x412dd0(0xe3)]=0x1]=_0x43d220[_0x412dd0(0xe6)],_0x30b6ab[_0x30b6ab[_0x43d220[_0x412dd0(0xdd)]]=0x2]=_0x43d220[_0x412dd0(0xdd)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x50ffe0){var _0xc164cf=_0x63dc,_0x2d626b={'nHUku':_0xc164cf(0xeb),'cwQgR':_0xc164cf(0xe5)};_0x50ffe0[_0x50ffe0[_0xc164cf(0xeb)]=0x0]=_0x2d626b[_0xc164cf(0xe4)],_0x50ffe0[_0x50ffe0['TITLETYPE']=0x1]='TITLETYPE',_0x50ffe0[_0x50ffe0[_0x2d626b[_0xc164cf(0xc9)]]=0x2]=_0x2d626b['cwQgR'];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x10f15e,_0x218085){var _0x4c9d3a=_0x26f3,_0x14b7a=_0x10f15e();while(!![]){try{var _0x3725f1=parseInt(_0x4c9d3a(0x145))/0x1+-parseInt(_0x4c9d3a(0x154))/0x2*(parseInt(_0x4c9d3a(0x150))/0x3)+-parseInt(_0x4c9d3a(0x164))/0x4*(-parseInt(_0x4c9d3a(0x14a))/0x5)+-parseInt(_0x4c9d3a(0x168))/0x6*(-parseInt(_0x4c9d3a(0x15e))/0x7)+-parseInt(_0x4c9d3a(0x167))/0x8+-parseInt(_0x4c9d3a(0x14d))/0x9*(parseInt(_0x4c9d3a(0x13e))/0xa)+-parseInt(_0x4c9d3a(0x160))/0xb;if(_0x3725f1===_0x218085)break;else _0x14b7a['push'](_0x14b7a['shift']());}catch(_0x95ee4e){_0x14b7a['push'](_0x14b7a['shift']());}}}(_0x13d9,0xa379f));export var GroupNotifyTypes;(function(_0x377a7a){var _0x3bb818=_0x26f3,_0x2079f8={'JvNEa':'ADMIN_UNSET_OTHER','UnnoW':_0x3bb818(0x149),'FfdBH':_0x3bb818(0x159),'xwvgk':_0x3bb818(0x153),'LxeWI':_0x3bb818(0x144),'bMxAb':'KICK_MEMBER','SvpoY':_0x3bb818(0x15f),'mwUew':_0x3bb818(0x165)},_0x38e852=_0x3bb818(0x162)[_0x3bb818(0x14f)]('|'),_0x428e67=0x0;while(!![]){switch(_0x38e852[_0x428e67++]){case'0':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x14b)]]=0xd]=_0x2079f8[_0x3bb818(0x14b)];continue;case'1':_0x377a7a[_0x377a7a[_0x3bb818(0x149)]=0x8]=_0x2079f8['UnnoW'];continue;case'2':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x15b)]]=0x1]=_0x2079f8[_0x3bb818(0x15b)];continue;case'3':_0x377a7a[_0x377a7a[_0x2079f8['xwvgk']]=0xb]=_0x2079f8[_0x3bb818(0x163)];continue;case'4':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x155)]]=0xc]=_0x2079f8['LxeWI'];continue;case'5':_0x377a7a[_0x377a7a[_0x3bb818(0x157)]=0x9]=_0x2079f8[_0x3bb818(0x146)];continue;case'6':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x14e)]]=0x7]=_0x2079f8[_0x3bb818(0x14e)];continue;case'7':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x161)]]=0x4]=_0x3bb818(0x165);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x26f3(_0x501cbd,_0x3dd0db){var _0x13d992=_0x13d9();return _0x26f3=function(_0x26f33b,_0x12d1ad){_0x26f33b=_0x26f33b-0x13e;var _0xb59162=_0x13d992[_0x26f33b];return _0xb59162;},_0x26f3(_0x501cbd,_0x3dd0db);}function _0x13d9(){var _0x27bafd=['wsXSP','DEFAULTTYPE','ADMIN_SET','20ZPCxNm','JvNEa','APPROVE','979155IFclLq','SvpoY','split','687DMIbsw','approve','sQJWy','MEMBER_EXIT','3294xrmpAc','LxeWI','ejXMG','KICK_MEMBER','TITLETYPE','INVITE_ME','pQyLv','FfdBH','rkoDF','NEWGROUPTYPE','1204MgRRyr','JOIN_REQUEST','9333368lAPOYj','mwUew','2|7|6|1|5|3|4|0','xwvgk','860680mkCqVc','INVITED_JOIN','IGNORE','6208896HNgwin','40920Wqooxi','50ewPjJR','HNoBS','REJECT','sxlXO','TOINM','WAIT_HANDLE','ADMIN_UNSET','1181617ELIAhg','bMxAb'];_0x13d9=function(){return _0x27bafd;};return _0x13d9();}(function(_0x3c6800){var _0x5b6f9f=_0x26f3,_0x54fd58={'TOINM':_0x5b6f9f(0x166),'rkoDF':_0x5b6f9f(0x143),'bFSnm':'APPROVE','sxlXO':_0x5b6f9f(0x140)};_0x3c6800[_0x3c6800[_0x54fd58[_0x5b6f9f(0x142)]]=0x0]=_0x54fd58[_0x5b6f9f(0x142)],_0x3c6800[_0x3c6800[_0x54fd58[_0x5b6f9f(0x15c)]]=0x1]=_0x54fd58[_0x5b6f9f(0x15c)],_0x3c6800[_0x3c6800[_0x5b6f9f(0x14c)]=0x2]=_0x54fd58['bFSnm'],_0x3c6800[_0x3c6800[_0x54fd58[_0x5b6f9f(0x141)]]=0x3]=_0x54fd58[_0x5b6f9f(0x141)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0xcc7b6d){var _0x50ee02=_0x26f3,_0x3a08a6={'ejXMG':_0x50ee02(0x151),'wsXSP':'reject'};_0xcc7b6d[_0xcc7b6d[_0x3a08a6[_0x50ee02(0x156)]]=0x1]=_0x3a08a6[_0x50ee02(0x156)],_0xcc7b6d[_0xcc7b6d[_0x3a08a6[_0x50ee02(0x147)]]=0x2]=_0x3a08a6[_0x50ee02(0x147)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x226ff2){var _0x2a67af=_0x26f3,_0x3ce517={'HNoBS':_0x2a67af(0x148),'sQJWy':_0x2a67af(0x158),'pQyLv':_0x2a67af(0x15d)};_0x226ff2[_0x226ff2[_0x3ce517[_0x2a67af(0x13f)]]=0x0]=_0x3ce517['HNoBS'],_0x226ff2[_0x226ff2[_0x3ce517[_0x2a67af(0x152)]]=0x1]=_0x3ce517[_0x2a67af(0x152)],_0x226ff2[_0x226ff2[_0x3ce517['pQyLv']]=0x2]=_0x3ce517[_0x2a67af(0x15a)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 1d5d4655..0294e971 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x5b02(){var _0x5e88b9=['female','814458lDQkhO','2186492OVlKMC','1307645bAFYNr','4496896JIoGlj','MIJPw','male','258237SiWLRZ','4kOFbGd','dWYye','2999730kspUGg','OhQIO','7NaXutb','1100763UVuYWo'];_0x5b02=function(){return _0x5e88b9;};return _0x5b02();}(function(_0x4b3e52,_0x490a4b){var _0x3b1812=_0x4a1c,_0x188d21=_0x4b3e52();while(!![]){try{var _0x33403b=parseInt(_0x3b1812(0x1b9))/0x1+parseInt(_0x3b1812(0x1b8))/0x2+-parseInt(_0x3b1812(0x1af))/0x3+-parseInt(_0x3b1812(0x1b0))/0x4*(parseInt(_0x3b1812(0x1b2))/0x5)+parseInt(_0x3b1812(0x1b7))/0x6*(-parseInt(_0x3b1812(0x1b4))/0x7)+-parseInt(_0x3b1812(0x1ba))/0x8+-parseInt(_0x3b1812(0x1b5))/0x9;if(_0x33403b===_0x490a4b)break;else _0x188d21['push'](_0x188d21['shift']());}catch(_0x37ed4c){_0x188d21['push'](_0x188d21['shift']());}}}(_0x5b02,0xda6f0));export var Sex;function _0x4a1c(_0x455386,_0x235fc6){var _0x5b02d6=_0x5b02();return _0x4a1c=function(_0x4a1c88,_0x41a17b){_0x4a1c88=_0x4a1c88-0x1af;var _0x2d24c2=_0x5b02d6[_0x4a1c88];return _0x2d24c2;},_0x4a1c(_0x455386,_0x235fc6);}(function(_0x5166ce){var _0x1f46b2=_0x4a1c,_0x416d2e={'dWYye':_0x1f46b2(0x1bc),'OhQIO':_0x1f46b2(0x1b6),'MIJPw':'unknown'};_0x5166ce[_0x5166ce[_0x416d2e[_0x1f46b2(0x1b1)]]=0x1]=_0x1f46b2(0x1bc),_0x5166ce[_0x5166ce[_0x416d2e[_0x1f46b2(0x1b3)]]=0x2]=_0x416d2e[_0x1f46b2(0x1b3)],_0x5166ce[_0x5166ce[_0x416d2e[_0x1f46b2(0x1bb)]]=0xff]=_0x416d2e[_0x1f46b2(0x1bb)];}(Sex||(Sex={}))); \ No newline at end of file +function _0x5364(){var _0x4814e7=['33926475gIDozX','IVSdU','2881251nkRqUx','ZnizO','912524xGDlKZ','854hbAbri','unknown','1859340jjSOFx','1346479FMgYPR','10oLDYFC','TXmwr','50oBkPCg','2fpKHug','13728vttdRt','female','3704538ohorDM'];_0x5364=function(){return _0x4814e7;};return _0x5364();}function _0x2501(_0x41085f,_0x52b038){var _0x5364a2=_0x5364();return _0x2501=function(_0x250186,_0x5a39c1){_0x250186=_0x250186-0xc4;var _0x4eaab7=_0x5364a2[_0x250186];return _0x4eaab7;},_0x2501(_0x41085f,_0x52b038);}(function(_0x23416f,_0x2fdd9d){var _0x550516=_0x2501,_0x67c29e=_0x23416f();while(!![]){try{var _0x15743a=-parseInt(_0x550516(0xca))/0x1*(parseInt(_0x550516(0xce))/0x2)+parseInt(_0x550516(0xd1))/0x3+-parseInt(_0x550516(0xc6))/0x4*(parseInt(_0x550516(0xcb))/0x5)+-parseInt(_0x550516(0xc9))/0x6+parseInt(_0x550516(0xc7))/0x7*(parseInt(_0x550516(0xcf))/0x8)+parseInt(_0x550516(0xc4))/0x9*(-parseInt(_0x550516(0xcd))/0xa)+parseInt(_0x550516(0xd2))/0xb;if(_0x15743a===_0x2fdd9d)break;else _0x67c29e['push'](_0x67c29e['shift']());}catch(_0x203db2){_0x67c29e['push'](_0x67c29e['shift']());}}}(_0x5364,0xc6ff9));export var Sex;(function(_0x5018b3){var _0x26ad04=_0x2501,_0x59c773={'ZnizO':'male','TXmwr':_0x26ad04(0xd0),'IVSdU':_0x26ad04(0xc8)};_0x5018b3[_0x5018b3[_0x59c773[_0x26ad04(0xc5)]]=0x1]=_0x59c773[_0x26ad04(0xc5)],_0x5018b3[_0x5018b3[_0x59c773[_0x26ad04(0xcc)]]=0x2]=_0x59c773['TXmwr'],_0x5018b3[_0x5018b3[_0x59c773[_0x26ad04(0xd3)]]=0xff]=_0x59c773[_0x26ad04(0xd3)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index f926ed38..62343a05 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x15689b,_0x535047){var _0x5bfc86=_0x1eb2,_0x18966f=_0x15689b();while(!![]){try{var _0x4e3b9c=-parseInt(_0x5bfc86(0x196))/0x1+-parseInt(_0x5bfc86(0x197))/0x2*(-parseInt(_0x5bfc86(0x19a))/0x3)+-parseInt(_0x5bfc86(0x195))/0x4+parseInt(_0x5bfc86(0x198))/0x5*(parseInt(_0x5bfc86(0x199))/0x6)+-parseInt(_0x5bfc86(0x19b))/0x7+-parseInt(_0x5bfc86(0x19c))/0x8+parseInt(_0x5bfc86(0x19d))/0x9;if(_0x4e3b9c===_0x535047)break;else _0x18966f['push'](_0x18966f['shift']());}catch(_0xc48224){_0x18966f['push'](_0x18966f['shift']());}}}(_0x31e1,0x855c4));import _0x2eb6b2 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x1eb2(_0x36fddf,_0x5f3824){var _0x31e1d5=_0x31e1();return _0x1eb2=function(_0x1eb2ce,_0x24862f){_0x1eb2ce=_0x1eb2ce-0x195;var _0x2c4edd=_0x31e1d5[_0x1eb2ce];return _0x2c4edd;},_0x1eb2(_0x36fddf,_0x5f3824);}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{_0x2eb6b2 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x31e1(){var _0x4d0280=['6XIdfiQ','9EbLBbD','7001981WbtSUR','7006384XuZKjM','17381286WJwnYY','159732tFhuxr','264264fpzRni','4016YtLdap','3946220DJsHnK'];_0x31e1=function(){return _0x4d0280;};return _0x31e1();}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x5e348a,_0x2a70d4){var _0x3430dc=_0x20a8,_0x716267=_0x5e348a();while(!![]){try{var _0x3824a0=parseInt(_0x3430dc(0x1e9))/0x1+-parseInt(_0x3430dc(0x1e4))/0x2*(parseInt(_0x3430dc(0x1e8))/0x3)+parseInt(_0x3430dc(0x1e5))/0x4+parseInt(_0x3430dc(0x1eb))/0x5*(parseInt(_0x3430dc(0x1e6))/0x6)+parseInt(_0x3430dc(0x1ec))/0x7+-parseInt(_0x3430dc(0x1ed))/0x8+parseInt(_0x3430dc(0x1e7))/0x9*(-parseInt(_0x3430dc(0x1ea))/0xa);if(_0x3824a0===_0x2a70d4)break;else _0x716267['push'](_0x716267['shift']());}catch(_0x5b949c){_0x716267['push'](_0x716267['shift']());}}}(_0x4a34,0x4e05a));import _0x40544e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x20a8(_0x2a4890,_0x22d643){var _0x4a34b6=_0x4a34();return _0x20a8=function(_0x20a874,_0x49bad8){_0x20a874=_0x20a874-0x1e4;var _0x40ae9d=_0x4a34b6[_0x20a874];return _0x40ae9d;},_0x20a8(_0x2a4890,_0x22d643);}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 _0x4a34(){var _0x41b2eb=['36bUoZFz','372168CxbfNO','1359djlmPV','526513XqUxdT','160vASMWJ','430310dEuATz','216811ubgYsF','1188368toxkGC','548MSratI','720080HiNqNF'];_0x4a34=function(){return _0x41b2eb;};return _0x4a34();}export{_0x40544e 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 f07f3a66..31df62a8 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x169a(){var _0x139ab1=['30TkpAvf','45411xaOraf','15380dxYAbh','1392vxvIJN','onBuddyRemarkUpdated','onNickUpdated','onSpacePermissionInfos','34plWNoE','onDoubtBuddyReqUnreadNumChange','onBuddyInfoChange','7332hYiTei','5822628HLoMTV','onBuddyDetailInfoChange','onDelBatchBuddyInfos','onBlockChanged','onDoubtBuddyReqChange','onBuddyReqUnreadCntChange','5229vNFuJk','onBuddyListChange','3278qhCaoV','2490XcKyRQ','11440KZYThb','onAvatarUrlUpdated','29852nqBHws','onSmartInfos','91247sEqsDW','onBuddyReqChange','onCheckBuddySettingResult'];_0x169a=function(){return _0x139ab1;};return _0x169a();}var _0x2bbac2=_0x3f28;(function(_0x3dd81b,_0x49f549){var _0x51a26e=_0x3f28,_0x4861ff=_0x3dd81b();while(!![]){try{var _0x11bca2=-parseInt(_0x51a26e(0x1c0))/0x1*(-parseInt(_0x51a26e(0x1c6))/0x2)+-parseInt(_0x51a26e(0x1bf))/0x3*(parseInt(_0x51a26e(0x1ba))/0x4)+-parseInt(_0x51a26e(0x1d3))/0x5*(parseInt(_0x51a26e(0x1c9))/0x6)+parseInt(_0x51a26e(0x1ca))/0x7+-parseInt(_0x51a26e(0x1b8))/0x8*(parseInt(_0x51a26e(0x1d0))/0x9)+parseInt(_0x51a26e(0x1c1))/0xa*(-parseInt(_0x51a26e(0x1d2))/0xb)+parseInt(_0x51a26e(0x1c2))/0xc*(parseInt(_0x51a26e(0x1bc))/0xd);if(_0x11bca2===_0x49f549)break;else _0x4861ff['push'](_0x4861ff['shift']());}catch(_0x2bcec5){_0x4861ff['push'](_0x4861ff['shift']());}}}(_0x169a,0x6ccd7));function _0x3f28(_0x3c84e8,_0x27665b){var _0x169acb=_0x169a();return _0x3f28=function(_0x3f2897,_0x1f32d3){_0x3f2897=_0x3f2897-0x1b8;var _0x2c8b3e=_0x169acb[_0x3f2897];return _0x2c8b3e;},_0x3f28(_0x3c84e8,_0x27665b);}export class BuddyListener{['onAddBuddyNeedVerify'](_0xb67c1b){}['onAddMeSettingChanged'](_0x434e4d){}[_0x2bbac2(0x1b9)](_0x578a83){}[_0x2bbac2(0x1cd)](_0x281afb){}[_0x2bbac2(0x1cb)](_0x23f14e){}[_0x2bbac2(0x1c8)](_0x8231ba){}[_0x2bbac2(0x1d1)](_0x40d31f){}[_0x2bbac2(0x1c3)](_0x1b7485){}[_0x2bbac2(0x1bd)](_0xaa3a8f){}[_0x2bbac2(0x1cf)](_0x27efff){}[_0x2bbac2(0x1be)](_0x454f26){}[_0x2bbac2(0x1cc)](_0x4f1334){}[_0x2bbac2(0x1ce)](_0x293f6c){}[_0x2bbac2(0x1c7)](_0x4e9e06){}[_0x2bbac2(0x1c4)](_0x5a9d69){}[_0x2bbac2(0x1bb)](_0x1c0492){}[_0x2bbac2(0x1c5)](_0x3aff3f){}} \ No newline at end of file +var _0x3c4e96=_0x524e;(function(_0x270f16,_0x5c7bb2){var _0x205026=_0x524e,_0x3988ba=_0x270f16();while(!![]){try{var _0x51f0a4=parseInt(_0x205026(0x105))/0x1+-parseInt(_0x205026(0x106))/0x2*(-parseInt(_0x205026(0x10b))/0x3)+parseInt(_0x205026(0x102))/0x4*(parseInt(_0x205026(0x10a))/0x5)+-parseInt(_0x205026(0xfe))/0x6+parseInt(_0x205026(0xf8))/0x7*(parseInt(_0x205026(0x10c))/0x8)+parseInt(_0x205026(0x100))/0x9+-parseInt(_0x205026(0x104))/0xa*(parseInt(_0x205026(0x103))/0xb);if(_0x51f0a4===_0x5c7bb2)break;else _0x3988ba['push'](_0x3988ba['shift']());}catch(_0x25cc94){_0x3988ba['push'](_0x3988ba['shift']());}}}(_0x2950,0x33fd6));function _0x524e(_0x588e3f,_0x2e659b){var _0x295077=_0x2950();return _0x524e=function(_0x524e45,_0x5d194e){_0x524e45=_0x524e45-0xf6;var _0x59c9a7=_0x295077[_0x524e45];return _0x59c9a7;},_0x524e(_0x588e3f,_0x2e659b);}export class BuddyListener{[_0x3c4e96(0x10e)](_0xbe6b7){}[_0x3c4e96(0x101)](_0x18e969){}[_0x3c4e96(0xf7)](_0x5e8840){}[_0x3c4e96(0xfd)](_0x87f589){}[_0x3c4e96(0xff)](_0x584b21){}[_0x3c4e96(0x10d)](_0x5e079f){}['onBuddyListChange'](_0xc2f475){}[_0x3c4e96(0x107)](_0x404120){}['onBuddyReqChange'](_0x31554f){}[_0x3c4e96(0x109)](_0x35778b){}[_0x3c4e96(0x108)](_0x159e10){}[_0x3c4e96(0xfa)](_0x2855c4){}[_0x3c4e96(0xfb)](_0x401050){}[_0x3c4e96(0xf9)](_0x3ddbd8){}[_0x3c4e96(0xfc)](_0xc39d6a){}[_0x3c4e96(0xf6)](_0x37f57e){}[_0x3c4e96(0x10f)](_0x22cd54){}}function _0x2950(){var _0x4f4101=['onDelBatchBuddyInfos','onDoubtBuddyReqChange','onNickUpdated','onBlockChanged','420660RAIYgi','onBuddyDetailInfoChange','46242xGmYdx','onAddMeSettingChanged','1012jzCHus','475739SvbcCf','130eJYswD','164629joXiMP','490044CSNzYq','onBuddyRemarkUpdated','onCheckBuddySettingResult','onBuddyReqUnreadCntChange','5215BrDfeg','3nokyXu','24fCKNHh','onBuddyInfoChange','onAddBuddyNeedVerify','onSpacePermissionInfos','onSmartInfos','onAvatarUrlUpdated','388801zvtNxZ','onDoubtBuddyReqUnreadNumChange'];_0x2950=function(){return _0x4f4101;};return _0x2950();} \ 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 5137bb8b..02d36f85 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x405e(_0x3ada8a,_0x2b3a10){var _0x2d584d=_0x2d58();return _0x405e=function(_0x405ed7,_0x713943){_0x405ed7=_0x405ed7-0x19e;var _0x1cb799=_0x2d584d[_0x405ed7];return _0x1cb799;},_0x405e(_0x3ada8a,_0x2b3a10);}var _0x3cf0c1=_0x405e;function _0x2d58(){var _0x3c891c=['11THYtii','2902WqeCND','120tJDTVN','49iPkOCo','4776084CUTQjh','onSessionListChanged','onFileStatusChanged','195160tCcYew','2169564QnGnUq','onFileListChanged','4AEOSLr','7551700TrLLKp','278TCFUNr','175422mINbdq','onSessionChanged','141222BZPHBM'];_0x2d58=function(){return _0x3c891c;};return _0x2d58();}(function(_0x30a916,_0x5966ee){var _0x4bad01=_0x405e,_0x469448=_0x30a916();while(!![]){try{var _0x373c0e=parseInt(_0x4bad01(0x1aa))/0x1*(-parseInt(_0x4bad01(0x1a5))/0x2)+parseInt(_0x4bad01(0x1a6))/0x3*(parseInt(_0x4bad01(0x1a3))/0x4)+-parseInt(_0x4bad01(0x1ab))/0x5*(parseInt(_0x4bad01(0x1a8))/0x6)+-parseInt(_0x4bad01(0x1ac))/0x7*(parseInt(_0x4bad01(0x1a0))/0x8)+parseInt(_0x4bad01(0x1ad))/0x9+parseInt(_0x4bad01(0x1a4))/0xa+-parseInt(_0x4bad01(0x1a9))/0xb*(-parseInt(_0x4bad01(0x1a1))/0xc);if(_0x373c0e===_0x5966ee)break;else _0x469448['push'](_0x469448['shift']());}catch(_0x1e9df8){_0x469448['push'](_0x469448['shift']());}}}(_0x2d58,0x5e426));export class KernelFileAssistantListener{[_0x3cf0c1(0x19f)](..._0x3c1703){}[_0x3cf0c1(0x19e)](..._0xe1cf5a){}[_0x3cf0c1(0x1a7)](..._0x262c77){}[_0x3cf0c1(0x1a2)](..._0x22b4f4){}['onFileSearch'](..._0x338c86){}} \ No newline at end of file +var _0xcc9704=_0x4757;function _0x5875(){var _0x4eab39=['onFileStatusChanged','3177dUGxCD','11031394BUsayC','154664gdgnzx','17224tpJTdZ','53154whmBFi','onFileSearch','10575XcQHYj','onSessionChanged','30534pmiwje','onSessionListChanged','51SdiOqK','115qoVVfa','30edQdEA','12495910ZzbXTW','onFileListChanged'];_0x5875=function(){return _0x4eab39;};return _0x5875();}(function(_0xf62b01,_0x3fc438){var _0x67eb59=_0x4757,_0x5a1e5f=_0xf62b01();while(!![]){try{var _0x32c3a6=-parseInt(_0x67eb59(0xee))/0x1+-parseInt(_0x67eb59(0xf0))/0x2*(-parseInt(_0x67eb59(0xf2))/0x3)+parseInt(_0x67eb59(0xea))/0x4+-parseInt(_0x67eb59(0xf3))/0x5*(-parseInt(_0x67eb59(0xec))/0x6)+-parseInt(_0x67eb59(0xf5))/0x7+parseInt(_0x67eb59(0xeb))/0x8*(-parseInt(_0x67eb59(0xe8))/0x9)+parseInt(_0x67eb59(0xf4))/0xa*(parseInt(_0x67eb59(0xe9))/0xb);if(_0x32c3a6===_0x3fc438)break;else _0x5a1e5f['push'](_0x5a1e5f['shift']());}catch(_0x3b19e5){_0x5a1e5f['push'](_0x5a1e5f['shift']());}}}(_0x5875,0xe91ba));function _0x4757(_0x2c1548,_0x3232ba){var _0x587504=_0x5875();return _0x4757=function(_0x4757fc,_0x396943){_0x4757fc=_0x4757fc-0xe8;var _0x4ffa72=_0x587504[_0x4757fc];return _0x4ffa72;},_0x4757(_0x2c1548,_0x3232ba);}export class KernelFileAssistantListener{[_0xcc9704(0xf7)](..._0x3d1470){}[_0xcc9704(0xf1)](..._0x341c42){}[_0xcc9704(0xef)](..._0x14700c){}[_0xcc9704(0xf6)](..._0x182998){}[_0xcc9704(0xed)](..._0x4f4af0){}} \ 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 40854735..9dbba2e0 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x2421(_0x29b2ef,_0x2decb7){var _0x43ff5e=_0x43ff();return _0x2421=function(_0x24219e,_0x5ab479){_0x24219e=_0x24219e-0x8e;var _0x2f68d2=_0x43ff5e[_0x24219e];return _0x2f68d2;},_0x2421(_0x29b2ef,_0x2decb7);}var _0x43b6f9=_0x2421;(function(_0x174c8a,_0x378c2a){var _0x1410a7=_0x2421,_0xdd261c=_0x174c8a();while(!![]){try{var _0x2452a1=parseInt(_0x1410a7(0xa8))/0x1+-parseInt(_0x1410a7(0xaf))/0x2+-parseInt(_0x1410a7(0xba))/0x3+parseInt(_0x1410a7(0x90))/0x4+parseInt(_0x1410a7(0xcd))/0x5*(parseInt(_0x1410a7(0xc6))/0x6)+parseInt(_0x1410a7(0x9a))/0x7+-parseInt(_0x1410a7(0xa3))/0x8;if(_0x2452a1===_0x378c2a)break;else _0xdd261c['push'](_0xdd261c['shift']());}catch(_0xb2aeab){_0xdd261c['push'](_0xdd261c['shift']());}}}(_0x43ff,0x62e06));function _0x43ff(){var _0x924fd5=['onGroupSingleScreenNotifies','HXzUf','onGroupBulletinChange:','FUIAo','onGroupBulletinRemindNotify','onGroupConfMemberChange','onGetGroupBulletinListResult','1898487SWzcqU','onGroupBulletinRichMediaProgressUpdate','mYiHv','onGroupBulletinRichMediaDownloadComplete','KQZLi','onGroupMemberLevelInfoChange','onJoinGroupNotify','LAmZJ','onMemberInfoChange','log','onGroupDetailInfoChange:','onGroupFirstBulletinNotify','114CoqLlQ','onGroupConfMemberChange:','onGroupAllInfoChange:','onGroupsMsgMaskResult:','onMemberListChange','onGroupStatisticInfoChange','onGroupExtListUpdate:','162355oQzWEG','npldD','onGroupNotifiesUpdated','onGroupArkInviteStateResult','onGroupNotifiesUnreadCountUpdated','905004MWeunv','onShutUpMemberListChanged','onGroupArkInviteStateResult:','onGroupBulletinChange','onMemberInfoChange:','onJoinGroupNoVerifyFlag:','onGroupListUpdate:','rWzxo','onGroupNotifiesUpdated:','onJoinGroupNotify:','2647106eQQObl','onGroupExtListUpdate','onGroupsMsgMaskResult','dzbfI','onGroupBulletinRemindNotify:','reYVu','onGroupSingleScreenNotifies:','onSearchMemberChange','FEruD','87896qCLGHX','onGroupAllInfoChange','onGetGroupBulletinListResult:','StyZR','mVJjH','180895xSjXYd','XBOqk','onGroupMemberLevelInfoChange:','onGroupDetailInfoChange','bTjcq','fOjct','onJoinGroupNoVerifyFlag','706878JYHoAY','onShutUpMemberListChanged:','onGroupListUpdate','onMemberListChange:'];_0x43ff=function(){return _0x924fd5;};return _0x43ff();}export class GroupListener{[_0x43b6f9(0xbf)](..._0x51cb58){}[_0x43b6f9(0xb9)](..._0x792fb4){}['onGroupAllInfoChange'](..._0x15bca0){}[_0x43b6f9(0x93)](..._0x685ec9){}[_0x43b6f9(0xb7)](..._0x483fff){}[_0x43b6f9(0x8e)](..._0x3b27f8){}[_0x43b6f9(0xbd)](..._0x20c377){}[_0x43b6f9(0xb8)](..._0x4e6508){}[_0x43b6f9(0xab)](..._0x37ff07){}[_0x43b6f9(0x9b)](..._0x3b4e64){}[_0x43b6f9(0xc5)](..._0x13b030){}[_0x43b6f9(0xb1)](_0x54e573,_0x2402f4){}[_0x43b6f9(0xcf)](_0x12aa25,_0x1a88fc){}['onGroupBulletinRichMediaProgressUpdate'](..._0x511666){}[_0x43b6f9(0x8f)](..._0x5dbe03){}[_0x43b6f9(0xb3)](_0x55c098,_0x24877b,_0x2ded8b){}[_0x43b6f9(0x9c)](..._0x5cbac1){}[_0x43b6f9(0xcb)](..._0x2bd117){}[_0x43b6f9(0xc0)](..._0x13aa5a){}[_0x43b6f9(0xae)](..._0x5d9f45){}[_0x43b6f9(0xc2)](_0x5d5c34,_0x57f9ed,_0x5dc0f0){}[_0x43b6f9(0xca)](_0x3d2403){}['onSearchMemberChange'](..._0x5acdba){}[_0x43b6f9(0x91)](..._0x394dda){}}export class DebugGroupListener{[_0x43b6f9(0xbf)](..._0x566baf){var _0x59a1ed=_0x43b6f9;console[_0x59a1ed(0xc3)](_0x59a1ed(0xaa),..._0x566baf);}[_0x43b6f9(0xb9)](..._0xe66e36){var _0x2fcacc=_0x43b6f9,_0x2800e4={'XBOqk':_0x2fcacc(0xa5)};console['log'](_0x2800e4[_0x2fcacc(0xa9)],..._0xe66e36);}[_0x43b6f9(0xa4)](..._0x4861b8){var _0x1e74f3=_0x43b6f9,_0x1f3b94={'npldD':_0x1e74f3(0xc8)};console[_0x1e74f3(0xc3)](_0x1f3b94[_0x1e74f3(0xce)],..._0x4861b8);}['onGroupBulletinChange'](..._0x31f29c){var _0x50725d=_0x43b6f9,_0x48a5d1={'bTjcq':_0x50725d(0xb5)};console['log'](_0x48a5d1[_0x50725d(0xac)],..._0x31f29c);}['onGroupBulletinRemindNotify'](..._0x428e93){var _0x1d9cc1=_0x43b6f9,_0x55d5a1={'HXzUf':_0x1d9cc1(0x9e)};console['log'](_0x55d5a1[_0x1d9cc1(0xb4)],..._0x428e93);}[_0x43b6f9(0x8e)](..._0x3a223c){var _0x21885a=_0x43b6f9,_0x1b751b={'KQZLi':_0x21885a(0x92)};console['log'](_0x1b751b[_0x21885a(0xbe)],..._0x3a223c);}['onGroupBulletinRichMediaDownloadComplete'](..._0x58e3b1){var _0x1a8223=_0x43b6f9,_0x3edba5={'bstdS':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x1a8223(0xc3)](_0x3edba5['bstdS'],..._0x58e3b1);}[_0x43b6f9(0xb8)](..._0x515554){var _0x5632e8=_0x43b6f9,_0x1469cc={'LAmZJ':_0x5632e8(0xc7)};console[_0x5632e8(0xc3)](_0x1469cc[_0x5632e8(0xc1)],..._0x515554);}['onGroupDetailInfoChange'](..._0x3065ed){var _0x1de34c=_0x43b6f9;console[_0x1de34c(0xc3)](_0x1de34c(0xc4),..._0x3065ed);}[_0x43b6f9(0x9b)](..._0x4c8f30){var _0x1d773b=_0x43b6f9,_0x3ff00c={'FEruD':_0x1d773b(0xcc)};console['log'](_0x3ff00c[_0x1d773b(0xa2)],..._0x4c8f30);}[_0x43b6f9(0xc5)](..._0x570abb){var _0x2edc02=_0x43b6f9,_0x400199={'rWzxo':'onGroupFirstBulletinNotify:'};console[_0x2edc02(0xc3)](_0x400199[_0x2edc02(0x97)],..._0x570abb);}[_0x43b6f9(0xb1)](..._0x130d60){var _0x282718=_0x43b6f9;console[_0x282718(0xc3)](_0x282718(0x96),..._0x130d60);}['onGroupNotifiesUpdated'](..._0x2a1328){var _0x339ebb=_0x43b6f9,_0x50ded2={'dzbfI':_0x339ebb(0x98)};console[_0x339ebb(0xc3)](_0x50ded2[_0x339ebb(0x9d)],..._0x2a1328);}[_0x43b6f9(0xbb)](..._0x41065c){var _0x53ed01=_0x43b6f9,_0xa725fb={'StyZR':'onGroupBulletinRichMediaProgressUpdate:'};console['log'](_0xa725fb[_0x53ed01(0xa6)],..._0x41065c);}[_0x43b6f9(0x8f)](..._0x25c002){var _0x33fa01=_0x43b6f9,_0x3dfbb7={'reYVu':'onGroupNotifiesUnreadCountUpdated:'};console[_0x33fa01(0xc3)](_0x3dfbb7[_0x33fa01(0x9f)],..._0x25c002);}['onGroupSingleScreenNotifies'](_0x183204,_0x1e47b7,_0xe3cc52){var _0x2eef57=_0x43b6f9,_0xab2ee9={'eXTzb':_0x2eef57(0xa0)};console[_0x2eef57(0xc3)](_0xab2ee9['eXTzb']);}['onGroupsMsgMaskResult'](..._0x3a4b57){var _0x304120=_0x43b6f9,_0x499b7e={'mVJjH':_0x304120(0xc9)};console[_0x304120(0xc3)](_0x499b7e[_0x304120(0xa7)],..._0x3a4b57);}[_0x43b6f9(0xcb)](..._0x229dce){var _0xf52c76=_0x43b6f9,_0x214200={'JikHU':'onGroupStatisticInfoChange:'};console[_0xf52c76(0xc3)](_0x214200['JikHU'],..._0x229dce);}[_0x43b6f9(0xc0)](..._0x3bbd91){var _0x25c953=_0x43b6f9,_0xe452ae={'rLMiK':_0x25c953(0x99)};console[_0x25c953(0xc3)](_0xe452ae['rLMiK'],..._0x3bbd91);}[_0x43b6f9(0xae)](..._0x2fd3b7){var _0x4808ac=_0x43b6f9,_0x5c8231={'fOjct':_0x4808ac(0x95)};console['log'](_0x5c8231[_0x4808ac(0xad)],..._0x2fd3b7);}[_0x43b6f9(0xc2)](_0x2f4bab,_0xa31e78,_0xbc0581){var _0x4cff4e=_0x43b6f9;console[_0x4cff4e(0xc3)](_0x4cff4e(0x94),_0x2f4bab,_0xa31e78,_0xbc0581);}[_0x43b6f9(0xca)](..._0x37197b){var _0xf6071c=_0x43b6f9,_0x158c94={'tkzMG':_0xf6071c(0xb2)};console[_0xf6071c(0xc3)](_0x158c94['tkzMG'],..._0x37197b);}[_0x43b6f9(0xa1)](..._0xc00b9a){var _0x24ecb8=_0x43b6f9,_0xc251ea={'FUIAo':'onSearchMemberChange:'};console['log'](_0xc251ea[_0x24ecb8(0xb6)],..._0xc00b9a);}[_0x43b6f9(0x91)](..._0xac3258){var _0x10eca=_0x43b6f9,_0x5be252={'mYiHv':_0x10eca(0xb0)};console['log'](_0x5be252[_0x10eca(0xbc)],..._0xac3258);}} \ No newline at end of file +function _0x1f24(){var _0x5d7253=['onGroupArkInviteStateResult','onGroupNotifiesUpdated:','onGroupConfMemberChange:','onShutUpMemberListChanged:','UOemK','onGroupBulletinRemindNotify','AXBUY','AbCXO','siSNU','onShutUpMemberListChanged','onMemberInfoChange','867474cIkeVw','onGroupArkInviteStateResult:','onGroupNotifiesUnreadCountUpdated','DWrwV','onGetGroupBulletinListResult','onGroupDetailInfoChange:','GwnaO','44UVcYDc','nXIgo','onGetGroupBulletinListResult:','onGroupBulletinRichMediaProgressUpdate','log','32876hCuuqG','onGroupAllInfoChange','onJoinGroupNotify:','onGroupExtListUpdate','onMemberListChange','155iNJtFO','onJoinGroupNoVerifyFlag:','onGroupBulletinRichMediaDownloadComplete','onGroupsMsgMaskResult:','onJoinGroupNoVerifyFlag','ePSxk','onGroupMemberLevelInfoChange','onGroupNotifiesUnreadCountUpdated:','fdzfr','onGroupBulletinChange:','15suIYwo','onGroupBulletinChange','dPcWp','49MBZBoq','onGroupListUpdate','onGroupAllInfoChange:','onGroupConfMemberChange','48146MQHsik','jaeEh','onGroupMemberLevelInfoChange:','pSYig','onGroupSingleScreenNotifies','1016172Stikyo','onSearchMemberChange:','onGroupsMsgMaskResult','onGroupFirstBulletinNotify','zwrMH','260582hehxSE','onGroupDetailInfoChange','JPArj','onSearchMemberChange','onGroupNotifiesUpdated','868940guewKb','onGroupBulletinRichMediaProgressUpdate:','onMemberInfoChange:','248720rzreqV','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange'];_0x1f24=function(){return _0x5d7253;};return _0x1f24();}var _0x2fed18=_0x306c;function _0x306c(_0x54ad45,_0x2460b4){var _0x1f245d=_0x1f24();return _0x306c=function(_0x306c9e,_0x4f0cb8){_0x306c9e=_0x306c9e-0x95;var _0x18d32d=_0x1f245d[_0x306c9e];return _0x18d32d;},_0x306c(_0x54ad45,_0x2460b4);}(function(_0xed7dbf,_0x44a235){var _0xdf959a=_0x306c,_0x5bd54e=_0xed7dbf();while(!![]){try{var _0x42ec63=-parseInt(_0xdf959a(0xcb))/0x1+parseInt(_0xdf959a(0xc1))/0x2*(parseInt(_0xdf959a(0xba))/0x3)+-parseInt(_0xdf959a(0xab))/0x4*(parseInt(_0xdf959a(0xb0))/0x5)+-parseInt(_0xdf959a(0x9f))/0x6+-parseInt(_0xdf959a(0xbd))/0x7*(-parseInt(_0xdf959a(0xd3))/0x8)+parseInt(_0xdf959a(0xc6))/0x9+parseInt(_0xdf959a(0xd0))/0xa*(parseInt(_0xdf959a(0xa6))/0xb);if(_0x42ec63===_0x44a235)break;else _0x5bd54e['push'](_0x5bd54e['shift']());}catch(_0x92547b){_0x5bd54e['push'](_0x5bd54e['shift']());}}}(_0x1f24,0x21d21));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x4a991f){}[_0x2fed18(0xa3)](..._0x3f8a58){}[_0x2fed18(0xac)](..._0x40c30b){}[_0x2fed18(0xbb)](..._0x2ba001){}[_0x2fed18(0x99)](..._0x2fba2f){}[_0x2fed18(0xd6)](..._0xae98cc){}[_0x2fed18(0xb2)](..._0x651d5d){}[_0x2fed18(0xc0)](..._0x20bed3){}[_0x2fed18(0xcc)](..._0x161c41){}[_0x2fed18(0xae)](..._0x48e1ff){}[_0x2fed18(0xc9)](..._0x1fa09d){}['onGroupListUpdate'](_0xe88349,_0x31318a){}['onGroupNotifiesUpdated'](_0x208d73,_0x263349){}['onGroupBulletinRichMediaProgressUpdate'](..._0x22598b){}['onGroupNotifiesUnreadCountUpdated'](..._0x3cfb0c){}['onGroupSingleScreenNotifies'](_0x49fd13,_0x23ca28,_0xb09cd3){}[_0x2fed18(0xc8)](..._0x3dd82b){}['onGroupStatisticInfoChange'](..._0x3e7ec9){}['onJoinGroupNotify'](..._0x4cf499){}[_0x2fed18(0xb4)](..._0x4e8fee){}[_0x2fed18(0x9e)](_0x5a3cfa,_0x380ddf,_0x4d5371){}[_0x2fed18(0xaf)](_0x41090c){}[_0x2fed18(0xce)](..._0x3adcd8){}[_0x2fed18(0x9d)](..._0x11be89){}}export class DebugGroupListener{[_0x2fed18(0xb6)](..._0x353d65){var _0x1eed1c=_0x2fed18,_0x54759b={'DWrwV':_0x1eed1c(0xc3)};console[_0x1eed1c(0xaa)](_0x54759b[_0x1eed1c(0xa2)],..._0x353d65);}['onGetGroupBulletinListResult'](..._0x403b9f){var _0xaf6f3=_0x2fed18,_0x343e00={'jaeEh':_0xaf6f3(0xa8)};console[_0xaf6f3(0xaa)](_0x343e00[_0xaf6f3(0xc2)],..._0x403b9f);}[_0x2fed18(0xac)](..._0x285d2e){var _0x14328a=_0x2fed18,_0x599c4f={'GwnaO':_0x14328a(0xbf)};console[_0x14328a(0xaa)](_0x599c4f[_0x14328a(0xa5)],..._0x285d2e);}['onGroupBulletinChange'](..._0xdc6af3){var _0x33c311=_0x2fed18,_0x2a25d4={'pSYig':_0x33c311(0xb9)};console[_0x33c311(0xaa)](_0x2a25d4[_0x33c311(0xc4)],..._0xdc6af3);}[_0x2fed18(0x99)](..._0x33e5ae){var _0x5ec006=_0x2fed18,_0x51f01c={'AbCXO':'onGroupBulletinRemindNotify:'};console[_0x5ec006(0xaa)](_0x51f01c[_0x5ec006(0x9b)],..._0x33e5ae);}[_0x2fed18(0xd6)](..._0x58cd89){var _0x4e2458=_0x2fed18,_0x5e9b0c={'MdyoS':_0x4e2458(0xa0)};console[_0x4e2458(0xaa)](_0x5e9b0c['MdyoS'],..._0x58cd89);}[_0x2fed18(0xb2)](..._0x40b898){var _0x5de069=_0x2fed18,_0xb3c4ea={'UOemK':_0x5de069(0xd4)};console[_0x5de069(0xaa)](_0xb3c4ea[_0x5de069(0x98)],..._0x40b898);}[_0x2fed18(0xc0)](..._0x2ffa66){var _0x42403a=_0x2fed18,_0x19b1aa={'rieSx':_0x42403a(0x96)};console[_0x42403a(0xaa)](_0x19b1aa['rieSx'],..._0x2ffa66);}['onGroupDetailInfoChange'](..._0x4d72b6){var _0x18f08f=_0x2fed18,_0x3c01f7={'zwrMH':_0x18f08f(0xa4)};console[_0x18f08f(0xaa)](_0x3c01f7[_0x18f08f(0xca)],..._0x4d72b6);}[_0x2fed18(0xae)](..._0x4dffa5){console['log']('onGroupExtListUpdate:',..._0x4dffa5);}[_0x2fed18(0xc9)](..._0xb0181d){var _0x304a54=_0x2fed18,_0x221481={'dDRSA':'onGroupFirstBulletinNotify:'};console[_0x304a54(0xaa)](_0x221481['dDRSA'],..._0xb0181d);}[_0x2fed18(0xbe)](..._0x158cda){console['log']('onGroupListUpdate:',..._0x158cda);}[_0x2fed18(0xcf)](..._0x5629f5){var _0x18c260=_0x2fed18,_0x416f9b={'JPArj':_0x18c260(0x95)};console[_0x18c260(0xaa)](_0x416f9b[_0x18c260(0xcd)],..._0x5629f5);}[_0x2fed18(0xa9)](..._0x37aa8c){var _0x43398a=_0x2fed18,_0x1bd4ed={'kbFmm':_0x43398a(0xd1)};console[_0x43398a(0xaa)](_0x1bd4ed['kbFmm'],..._0x37aa8c);}[_0x2fed18(0xa1)](..._0xd985e5){var _0xbc16f4=_0x2fed18,_0x4cf2ca={'siSNU':_0xbc16f4(0xb7)};console[_0xbc16f4(0xaa)](_0x4cf2ca[_0xbc16f4(0x9c)],..._0xd985e5);}[_0x2fed18(0xc5)](_0x5cda44,_0x48c5f8,_0x54ad8d){var _0x89dd7e=_0x2fed18,_0x56aefa={'nXIgo':'onGroupSingleScreenNotifies:'};console[_0x89dd7e(0xaa)](_0x56aefa[_0x89dd7e(0xa7)]);}[_0x2fed18(0xc8)](..._0x41dc6c){var _0x10c3ae=_0x2fed18,_0x2f9789={'fdzfr':_0x10c3ae(0xb3)};console['log'](_0x2f9789[_0x10c3ae(0xb8)],..._0x41dc6c);}[_0x2fed18(0xd5)](..._0xfc961d){var _0x4a4952=_0x2fed18,_0x21a7a5={'dPcWp':'onGroupStatisticInfoChange:'};console[_0x4a4952(0xaa)](_0x21a7a5[_0x4a4952(0xbc)],..._0xfc961d);}['onJoinGroupNotify'](..._0x20b23e){var _0x5147a1=_0x2fed18;console['log'](_0x5147a1(0xad),..._0x20b23e);}[_0x2fed18(0xb4)](..._0x2bf1de){var _0x24ef5f=_0x2fed18,_0x45e19b={'ePSxk':_0x24ef5f(0xb1)};console[_0x24ef5f(0xaa)](_0x45e19b[_0x24ef5f(0xb5)],..._0x2bf1de);}[_0x2fed18(0x9e)](_0x2a0581,_0xe45935,_0x55672f){var _0x454146=_0x2fed18;console[_0x454146(0xaa)](_0x454146(0xd2),_0x2a0581,_0xe45935,_0x55672f);}[_0x2fed18(0xaf)](..._0x20fd50){var _0x1638c6=_0x2fed18,_0xa9d443={'aLQOG':'onMemberListChange:'};console[_0x1638c6(0xaa)](_0xa9d443['aLQOG'],..._0x20fd50);}[_0x2fed18(0xce)](..._0x4efae6){var _0x3bbd7c=_0x2fed18;console[_0x3bbd7c(0xaa)](_0x3bbd7c(0xc7),..._0x4efae6);}[_0x2fed18(0x9d)](..._0x11dea6){var _0x2dc315=_0x2fed18,_0x2b37a5={'AXBUY':_0x2dc315(0x97)};console[_0x2dc315(0xaa)](_0x2b37a5[_0x2dc315(0x9a)],..._0x11dea6);}} \ 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 ad847008..83b0c10d 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0xca362=_0x3bdf;function _0x4a29(){var _0x1612e8=['onLoginConnected','136227bNMoXj','204095CoAoBU','onLoginDisConnected','10HBcDER','12biAKUv','onLogoutSucceed','onLoginState','onLogoutFailed','onQRCodeSessionFailed','onLoginFailed','OnConfirmUnusualDeviceFailed','onQQLoginNumLimited','onQRCodeLoginSucceed','1399203vKKyHV','297345pCEaAp','116396eeKlhw','548712mbGbGd','onQRCodeGetPicture','onQRCodeSessionQuickLoginFailed','2uflDMr','56821ucBdJH'];_0x4a29=function(){return _0x1612e8;};return _0x4a29();}function _0x3bdf(_0x3d0a6b,_0xf81268){var _0x4a29a6=_0x4a29();return _0x3bdf=function(_0x3bdf30,_0x384941){_0x3bdf30=_0x3bdf30-0x1d3;var _0x94a053=_0x4a29a6[_0x3bdf30];return _0x94a053;},_0x3bdf(_0x3d0a6b,_0xf81268);}(function(_0x3d5ee5,_0xbe2c69){var _0x1736bd=_0x3bdf,_0x1c1cb5=_0x3d5ee5();while(!![]){try{var _0x38bec7=parseInt(_0x1736bd(0x1d4))/0x1*(parseInt(_0x1736bd(0x1d3))/0x2)+parseInt(_0x1736bd(0x1e4))/0x3+-parseInt(_0x1736bd(0x1e5))/0x4+parseInt(_0x1736bd(0x1d7))/0x5*(parseInt(_0x1736bd(0x1da))/0x6)+-parseInt(_0x1736bd(0x1d6))/0x7+parseInt(_0x1736bd(0x1e6))/0x8+parseInt(_0x1736bd(0x1e3))/0x9*(-parseInt(_0x1736bd(0x1d9))/0xa);if(_0x38bec7===_0xbe2c69)break;else _0x1c1cb5['push'](_0x1c1cb5['shift']());}catch(_0x10d58d){_0x1c1cb5['push'](_0x1c1cb5['shift']());}}}(_0x4a29,0x18ef8));export class LoginListener{[_0xca362(0x1d5)](..._0x563706){}[_0xca362(0x1d8)](..._0x515ba0){}['onLoginConnecting'](..._0x470067){}[_0xca362(0x1e7)](_0x2c4a90){}['onQRCodeLoginPollingStarted'](..._0x145f0e){}['onQRCodeSessionUserScaned'](..._0x3bc3dc){}[_0xca362(0x1e2)](_0x581576){}[_0xca362(0x1de)](..._0x441758){}[_0xca362(0x1df)](..._0x413748){}[_0xca362(0x1db)](..._0x3e2291){}[_0xca362(0x1dd)](..._0x247593){}['onUserLoggedIn'](..._0x4755b6){}[_0xca362(0x1e8)](..._0x1c90b3){}['onPasswordLoginFailed'](..._0x44cee7){}[_0xca362(0x1e0)](..._0x3908a1){}[_0xca362(0x1e1)](..._0x6f13be){}[_0xca362(0x1dc)](..._0x68085c){}} \ No newline at end of file +var _0x1710a4=_0x353e;(function(_0x489318,_0x2693fc){var _0x2ca3d8=_0x353e,_0x745ee3=_0x489318();while(!![]){try{var _0x4c7ccb=parseInt(_0x2ca3d8(0x1d1))/0x1*(parseInt(_0x2ca3d8(0x1c7))/0x2)+parseInt(_0x2ca3d8(0x1d4))/0x3+-parseInt(_0x2ca3d8(0x1d3))/0x4*(parseInt(_0x2ca3d8(0x1c9))/0x5)+-parseInt(_0x2ca3d8(0x1c6))/0x6*(-parseInt(_0x2ca3d8(0x1cb))/0x7)+parseInt(_0x2ca3d8(0x1ca))/0x8+-parseInt(_0x2ca3d8(0x1d6))/0x9+-parseInt(_0x2ca3d8(0x1c3))/0xa*(parseInt(_0x2ca3d8(0x1cf))/0xb);if(_0x4c7ccb===_0x2693fc)break;else _0x745ee3['push'](_0x745ee3['shift']());}catch(_0x209606){_0x745ee3['push'](_0x745ee3['shift']());}}}(_0x2c07,0xcdc46));function _0x2c07(){var _0x4595e6=['1846107cHprYI','OnConfirmUnusualDeviceFailed','onLoginConnecting','onQRCodeSessionQuickLoginFailed','onQQLoginNumLimited','onQRCodeGetPicture','1739370IrbWMO','onLogoutSucceed','onLogoutFailed','14142lEBnoL','74WQALXh','onLoginFailed','1518565EvoEtn','2985336whwQHp','3997MDGjEU','onQRCodeLoginPollingStarted','onLoginConnected','onQRCodeLoginSucceed','22lOvBQN','onLoginDisConnected','589OmjusZ','onUserLoggedIn','12zWBFRo','1698453RxPAic','onQRCodeSessionUserScaned'];_0x2c07=function(){return _0x4595e6;};return _0x2c07();}function _0x353e(_0x9fbaf4,_0x2ece06){var _0x2c0768=_0x2c07();return _0x353e=function(_0x353eba,_0x252f03){_0x353eba=_0x353eba-0x1c1;var _0x2ca9e9=_0x2c0768[_0x353eba];return _0x2ca9e9;},_0x353e(_0x9fbaf4,_0x2ece06);}export class LoginListener{[_0x1710a4(0x1cd)](..._0x5c339b){}[_0x1710a4(0x1d0)](..._0x24883a){}[_0x1710a4(0x1d8)](..._0x353da6){}[_0x1710a4(0x1c2)](_0x228828){}[_0x1710a4(0x1cc)](..._0x43ad29){}[_0x1710a4(0x1d5)](..._0x35d72d){}[_0x1710a4(0x1ce)](_0x5ee666){}['onQRCodeSessionFailed'](..._0x3533c9){}[_0x1710a4(0x1c8)](..._0x466ecc){}[_0x1710a4(0x1c4)](..._0x39c92d){}[_0x1710a4(0x1c5)](..._0x21b0a9){}[_0x1710a4(0x1d2)](..._0x2109fb){}[_0x1710a4(0x1d9)](..._0x3edeec){}['onPasswordLoginFailed'](..._0x42603f){}[_0x1710a4(0x1d7)](..._0x213d59){}[_0x1710a4(0x1c1)](..._0x5610ee){}['onLoginState'](..._0x50031b){}} \ 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 6c134339..5d7513c0 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x4d1e(){var _0x4afb38=['onSearchGroupFileInfoUpdate','onUserChannelTabStatusChanged','onGroupTransferInfoUpdate','onRichMediaDownloadComplete','onMsgInfoListAdd','onHitRelatedEmojiResult','4042926JkEVCs','2DvswoB','onMsgEventListUpdate','onMsgAbstractUpdate','onUnreadCntUpdate','onBroadcastHelperProgerssUpdate','785214VijmqD','onLineDev','onMsgWithRichLinkInfoUpdate','onMsgInfoListUpdate','onNtFirstViewMsgSyncEnd','7852144MMOyFJ','onSendMsgError','onHitEmojiKeywordResult','onRecvMsgSvrRspTransInfo','onEmojiDownloadComplete','onMsgDelete','24186tZrQNK','onReadFeedEventUpdate','onFileMsgCome','665HNiGym','onRecvUDCFlag','onMsgRecall','onBroadcastHelperProgressUpdate','onFeedEventUpdate','onGuildMsgAbFlagChanged','onFirstViewDirectMsgUpdate','onGrabPasswordRedBag','onlineStatusBigIconDownloadPush','onRichMediaProgerssUpdate','1743873pfwTen','3915813iqoeUr','onGuildInteractiveUpdate','onChannelFreqLimitInfoUpdate','onGroupTransferInfoAdd','onNtMsgSyncStart','onFirstViewGroupGuildMapping','3861745RwgfAS','onMsgSecurityNotify','onUserOnlineStatusChanged','onSysMsgNotification','onRecvS2CMsg','onGroupGuildUpdate','onRecvOnlineFileMsg','4MPnJlY','onAddSendMsg','20hKZcTd','onMsgBoxChanged','onBroadcastHelperDownloadComplete','onHitCsRelatedEmojiResult','onLogLevelChanged'];_0x4d1e=function(){return _0x4afb38;};return _0x4d1e();}var _0x3edfa8=_0x5c78;function _0x5c78(_0x83fba1,_0x4a88c4){var _0x4d1eab=_0x4d1e();return _0x5c78=function(_0x5c7861,_0x4e7fe5){_0x5c7861=_0x5c7861-0x117;var _0xa806b2=_0x4d1eab[_0x5c7861];return _0xa806b2;},_0x5c78(_0x83fba1,_0x4a88c4);}(function(_0x499b52,_0x550de6){var _0x49ca3d=_0x5c78,_0x2969da=_0x499b52();while(!![]){try{var _0x4f490c=-parseInt(_0x49ca3d(0x121))/0x1*(parseInt(_0x49ca3d(0x126))/0x2)+parseInt(_0x49ca3d(0x13e))/0x3+parseInt(_0x49ca3d(0x14c))/0x4*(parseInt(_0x49ca3d(0x145))/0x5)+-parseInt(_0x49ca3d(0x131))/0x6*(-parseInt(_0x49ca3d(0x134))/0x7)+parseInt(_0x49ca3d(0x12b))/0x8+parseInt(_0x49ca3d(0x120))/0x9*(-parseInt(_0x49ca3d(0x14e))/0xa)+-parseInt(_0x49ca3d(0x13f))/0xb;if(_0x4f490c===_0x550de6)break;else _0x2969da['push'](_0x2969da['shift']());}catch(_0x299b35){_0x2969da['push'](_0x2969da['shift']());}}}(_0x4d1e,0xa5a4e));export class MsgListener{[_0x3edfa8(0x14d)](_0x512ef5){}[_0x3edfa8(0x117)](_0x455f18){}[_0x3edfa8(0x137)](_0x3f54c9){}[_0x3edfa8(0x141)](_0x221e8e,_0x10555c,_0xf1f59a){}['onContactUnreadCntUpdate'](_0x326836){}['onCustomWithdrawConfigUpdate'](_0x19cbf0){}['onDraftUpdate'](_0x124936,_0x4c6b88,_0x5dabc2){}[_0x3edfa8(0x12f)](_0x1395f1){}['onEmojiResourceUpdate'](_0x214576){}[_0x3edfa8(0x138)](_0x541c51){}[_0x3edfa8(0x133)](_0x4ad691){}[_0x3edfa8(0x13a)](_0x5eefc1){}[_0x3edfa8(0x144)](_0x3ebf3e){}[_0x3edfa8(0x13b)](_0x41c577,_0x54664b,_0x9b0b01,_0x3d84b5,_0x48c8f2){}['onGroupFileInfoAdd'](_0x2594ea){}['onGroupFileInfoUpdate'](_0x2a341e){}[_0x3edfa8(0x14a)](_0x2e1159){}[_0x3edfa8(0x142)](_0x2db916){}[_0x3edfa8(0x11c)](_0x32f040){}[_0x3edfa8(0x140)](_0x3a4b4b){}[_0x3edfa8(0x139)](_0x1371a4){}['onGuildNotificationAbstractUpdate'](_0x586f6b){}[_0x3edfa8(0x118)](_0x5975ff){}[_0x3edfa8(0x12d)](_0x46f4c1){}[_0x3edfa8(0x11f)](_0x5932d0){}['onImportOldDbProgressUpdate'](_0x5cedcf){}['onInputStatusPush'](_0x57690f){}['onKickedOffLine'](_0x15baa0){}[_0x3edfa8(0x127)](_0x5d5f06){}[_0x3edfa8(0x119)](_0x2dadce){}[_0x3edfa8(0x123)](_0x5353e0){}[_0x3edfa8(0x14f)](_0xbfcae4){}[_0x3edfa8(0x130)](_0x2f169c,_0x28e0ec){}[_0x3edfa8(0x122)](_0x28e9e5){}[_0x3edfa8(0x11e)](_0x3ffab0){}[_0x3edfa8(0x129)](_0x2a8527){}['onMsgQRCodeStatusChanged'](_0x31668e){}[_0x3edfa8(0x136)](_0x3f6f95,_0x1db2aa,_0x96325c){}[_0x3edfa8(0x146)](_0x214ce2){}['onMsgSettingUpdate'](_0x41c56b){}[_0x3edfa8(0x12a)](){}['onNtMsgSyncEnd'](){}[_0x3edfa8(0x143)](){}[_0x3edfa8(0x132)](_0x31ac9b){}['onRecvGroupGuildFlag'](_0x41fc8b){}['onRecvMsg'](_0x5a8b8e){}[_0x3edfa8(0x12e)](_0x595841,_0x21d809,_0x1fe675,_0x3c10ff,_0x4fc878,_0x45bae6){}[_0x3edfa8(0x14b)](_0x3daf0d){}[_0x3edfa8(0x149)](_0x5e8053){}['onRecvSysMsg'](_0x46ecbd){}[_0x3edfa8(0x135)](_0xdcba3a){}[_0x3edfa8(0x11d)](_0xac774c){}[_0x3edfa8(0x13d)](_0x564a87){}['onRichMediaUploadComplete'](_0x3c38fd){}[_0x3edfa8(0x11a)](_0x29bbec){}[_0x3edfa8(0x12c)](_0x310115,_0x23cd8e,_0x52a474,_0x288692){}[_0x3edfa8(0x148)](_0x4ed18d,_0x3fcd9a,_0x5a65bc,_0x1cbf12){}['onTempChatInfoUpdate'](_0x51c475){}['onUnreadCntAfterFirstView'](_0x45cdef){}[_0x3edfa8(0x124)](_0x1b8d16){}[_0x3edfa8(0x11b)](_0x4f48e2){}[_0x3edfa8(0x147)](_0x3a58a6){}['onUserTabStatusChanged'](_0x68076d){}[_0x3edfa8(0x13c)](_0xe2e8ad,_0x264e1d,_0x3243e1){}['onlineStatusSmallIconDownloadPush'](_0x44aded,_0xf36283,_0x50caa6){}['onUserSecQualityChanged'](..._0x12068f){}[_0x3edfa8(0x128)](..._0x3ff77c){}['onRedTouchChanged'](..._0x2bd261){}[_0x3edfa8(0x125)](..._0x33ff99){}} \ No newline at end of file +function _0x1615(){var _0x4a5fb9=['onUserOnlineStatusChanged','1689678RWyAmA','onMsgWithRichLinkInfoUpdate','onRichMediaUploadComplete','onNtMsgSyncStart','onFirstViewGroupGuildMapping','onChannelFreqLimitInfoUpdate','onMsgEventListUpdate','onGroupGuildUpdate','onMsgInfoListAdd','onlineStatusBigIconDownloadPush','onReadFeedEventUpdate','2691999cLjGJk','onRedTouchChanged','onRecvMsgSvrRspTransInfo','6XQSQtR','onHitCsRelatedEmojiResult','onMsgInfoListUpdate','onGuildInteractiveUpdate','onContactUnreadCntUpdate','2052046gnglfk','onGroupFileInfoAdd','onCustomWithdrawConfigUpdate','onInputStatusPush','onNtFirstViewMsgSyncEnd','onMsgSecurityNotify','onSendMsgError','onGroupTransferInfoAdd','onFeedEventUpdate','2485535MiSpIT','onImportOldDbProgressUpdate','onlineStatusSmallIconDownloadPush','37744164XFXpCd','4RBNBok','onMsgRecall','onKickedOffLine','onUnreadCntUpdate','onHitEmojiKeywordResult','onSearchGroupFileInfoUpdate','onBroadcastHelperProgressUpdate','onRecvOnlineFileMsg','onFileMsgCome','onEmojiResourceUpdate','onGrabPasswordRedBag','onBroadcastHelperDownloadComplete','onSysMsgNotification','onRichMediaProgerssUpdate','onRecvSysMsg','onAddSendMsg','onMsgQRCodeStatusChanged','onRecvGroupGuildFlag','onLineDev','onMsgDelete','1000536NfGJiI','9127209nkatKT','onNtMsgSyncEnd','onGuildNotificationAbstractUpdate','onRichMediaDownloadComplete','onMsgAbstractUpdate'];_0x1615=function(){return _0x4a5fb9;};return _0x1615();}function _0x1015(_0x2c650e,_0x3fdf65){var _0x161524=_0x1615();return _0x1015=function(_0x10157f,_0x2b7ea3){_0x10157f=_0x10157f-0x74;var _0x13d5ad=_0x161524[_0x10157f];return _0x13d5ad;},_0x1015(_0x2c650e,_0x3fdf65);}var _0x50d6e8=_0x1015;(function(_0x10ec92,_0x32aef6){var _0x16b975=_0x1015,_0x2e4269=_0x10ec92();while(!![]){try{var _0x20aabd=-parseInt(_0x16b975(0x9c))/0x1+parseInt(_0x16b975(0x74))/0x2+-parseInt(_0x16b975(0xa7))/0x3*(parseInt(_0x16b975(0x81))/0x4)+-parseInt(_0x16b975(0x7d))/0x5+-parseInt(_0x16b975(0xaa))/0x6*(parseInt(_0x16b975(0x96))/0x7)+parseInt(_0x16b975(0x95))/0x8+parseInt(_0x16b975(0x80))/0x9;if(_0x20aabd===_0x32aef6)break;else _0x2e4269['push'](_0x2e4269['shift']());}catch(_0x5acf87){_0x2e4269['push'](_0x2e4269['shift']());}}}(_0x1615,0xe99d1));export class MsgListener{[_0x50d6e8(0x90)](_0x34bf0f){}[_0x50d6e8(0x8c)](_0x311ac6){}[_0x50d6e8(0x87)](_0x3a3c06){}[_0x50d6e8(0xa1)](_0x45de5d,_0xce39d9,_0x43916c){}[_0x50d6e8(0xae)](_0x5bb0be){}[_0x50d6e8(0x76)](_0x2f8c9a){}['onDraftUpdate'](_0x3c4bdf,_0x111ce0,_0x364298){}['onEmojiDownloadComplete'](_0x5ca972){}[_0x50d6e8(0x8a)](_0x39eb7d){}[_0x50d6e8(0x7c)](_0x7d1b9f){}[_0x50d6e8(0x89)](_0x4f6c40){}['onFirstViewDirectMsgUpdate'](_0x5d365b){}[_0x50d6e8(0xa0)](_0x5b95f2){}[_0x50d6e8(0x8b)](_0x1d3a99,_0x1dd2fe,_0x3a8b15,_0x521fcc,_0x2b67f1){}[_0x50d6e8(0x75)](_0x173598){}['onGroupFileInfoUpdate'](_0x3cc72f){}[_0x50d6e8(0xa3)](_0xe521c7){}[_0x50d6e8(0x7b)](_0x30d860){}['onGroupTransferInfoUpdate'](_0x17accf){}[_0x50d6e8(0xad)](_0x11a024){}['onGuildMsgAbFlagChanged'](_0x287b42){}[_0x50d6e8(0x98)](_0x2cfcdf){}[_0x50d6e8(0xab)](_0x204a93){}[_0x50d6e8(0x85)](_0x2548e3){}['onHitRelatedEmojiResult'](_0x2e5a25){}[_0x50d6e8(0x7e)](_0xb17bec){}[_0x50d6e8(0x77)](_0x231e07){}[_0x50d6e8(0x83)](_0x3747c5){}[_0x50d6e8(0x93)](_0x5b59ae){}['onLogLevelChanged'](_0x2adc27){}[_0x50d6e8(0x9a)](_0x1f3559){}['onMsgBoxChanged'](_0x478b19){}[_0x50d6e8(0x94)](_0x572893,_0x130968){}[_0x50d6e8(0xa2)](_0x5f4835){}[_0x50d6e8(0xa4)](_0x283323){}[_0x50d6e8(0xac)](_0x5b4d7d){}[_0x50d6e8(0x91)](_0x83978){}[_0x50d6e8(0x82)](_0xdd8889,_0x4a5de2,_0x3b41f0){}[_0x50d6e8(0x79)](_0x43c812){}['onMsgSettingUpdate'](_0x5c1786){}[_0x50d6e8(0x78)](){}[_0x50d6e8(0x97)](){}[_0x50d6e8(0x9f)](){}[_0x50d6e8(0xa6)](_0x26c507){}[_0x50d6e8(0x92)](_0x5b5213){}['onRecvMsg'](_0x5bf9ab){}[_0x50d6e8(0xa9)](_0x2195ef,_0x3fa329,_0x36a5d3,_0x358843,_0x26bb7d,_0x3ea5e2){}[_0x50d6e8(0x88)](_0x6e4df7){}['onRecvS2CMsg'](_0x2a45a7){}[_0x50d6e8(0x8f)](_0x186b3f){}['onRecvUDCFlag'](_0x37048a){}[_0x50d6e8(0x99)](_0x5126b3){}[_0x50d6e8(0x8e)](_0x3db45e){}[_0x50d6e8(0x9e)](_0x573e92){}[_0x50d6e8(0x86)](_0x296883){}[_0x50d6e8(0x7a)](_0x3887e,_0x1f7017,_0x22a7a9,_0x1c353e){}[_0x50d6e8(0x8d)](_0x4adc22,_0x2ff7e3,_0xe5bf34,_0x252beb){}['onTempChatInfoUpdate'](_0x9146b9){}['onUnreadCntAfterFirstView'](_0x4d5174){}[_0x50d6e8(0x84)](_0x28cffe){}['onUserChannelTabStatusChanged'](_0x419c04){}[_0x50d6e8(0x9b)](_0x14d93c){}['onUserTabStatusChanged'](_0x884011){}[_0x50d6e8(0xa5)](_0x1f4ebe,_0x4712af,_0x1d5a43){}[_0x50d6e8(0x7f)](_0x1a96b9,_0x1e4d27,_0x523188){}['onUserSecQualityChanged'](..._0x35e09a){}[_0x50d6e8(0x9d)](..._0x470ebf){}[_0x50d6e8(0xa8)](..._0x4e1f12){}['onBroadcastHelperProgerssUpdate'](..._0x2ae36b){}} \ 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 fc35a528..2de2c53a 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x10821c=_0x2f58;function _0x4751(){var _0xe711b4=['78FKyqWU','2169MxHRex','onStrangerRemarkChanged','10968816zqxIGy','81924gGHDpz','onSelfStatusChanged','16088XKVWCM','371917qPIFzO','319ffldbU','onStatusUpdate','42690TGYgSE','56438RwlKho','45PweJPZ','41856XtGDkz','onProfileDetailInfoChanged','185cEMGUF'];_0x4751=function(){return _0xe711b4;};return _0x4751();}function _0x2f58(_0x1c40fa,_0xe5eff8){var _0x47512f=_0x4751();return _0x2f58=function(_0x2f58b6,_0x457bd0){_0x2f58b6=_0x2f58b6-0xd1;var _0x14e40a=_0x47512f[_0x2f58b6];return _0x14e40a;},_0x2f58(_0x1c40fa,_0xe5eff8);}(function(_0x55ddd1,_0x3d2c5f){var _0x287e4a=_0x2f58,_0x565c42=_0x55ddd1();while(!![]){try{var _0x54b52c=parseInt(_0x287e4a(0xd8))/0x1+parseInt(_0x287e4a(0xd6))/0x2*(parseInt(_0x287e4a(0xd7))/0x3)+-parseInt(_0x287e4a(0xdf))/0x4*(-parseInt(_0x287e4a(0xda))/0x5)+-parseInt(_0x287e4a(0xdb))/0x6*(-parseInt(_0x287e4a(0xd2))/0x7)+parseInt(_0x287e4a(0xd1))/0x8*(-parseInt(_0x287e4a(0xdc))/0x9)+parseInt(_0x287e4a(0xd5))/0xa*(-parseInt(_0x287e4a(0xd3))/0xb)+-parseInt(_0x287e4a(0xde))/0xc;if(_0x54b52c===_0x3d2c5f)break;else _0x565c42['push'](_0x565c42['shift']());}catch(_0x3052ac){_0x565c42['push'](_0x565c42['shift']());}}}(_0x4751,0x5f7d1));export class ProfileListener{['onProfileSimpleChanged'](..._0x383db1){}[_0x10821c(0xd9)](_0x2637c6){}[_0x10821c(0xd4)](..._0x3bf764){}[_0x10821c(0xe0)](..._0x18fd49){}[_0x10821c(0xdd)](..._0x1f7dd8){}} \ No newline at end of file +function _0x5563(){var _0x1c9b75=['826810kVUAcV','1nnBHGK','1527666OIHNNL','60aYmnOn','onStrangerRemarkChanged','86656fFIydA','7922173HpXOTi','2219480sueslF','145252UXDTax','onStatusUpdate','12aAfULk','432FwOCFL','30187487pUyXzr','onProfileDetailInfoChanged','12PsucpY'];_0x5563=function(){return _0x1c9b75;};return _0x5563();}function _0x26d5(_0x2f818b,_0x1fa881){var _0x556301=_0x5563();return _0x26d5=function(_0x26d59a,_0x38ee64){_0x26d59a=_0x26d59a-0x171;var _0x4e2347=_0x556301[_0x26d59a];return _0x4e2347;},_0x26d5(_0x2f818b,_0x1fa881);}var _0x52517b=_0x26d5;(function(_0x198bb1,_0x3da096){var _0x3581a9=_0x26d5,_0x35734d=_0x198bb1();while(!![]){try{var _0x1021bc=-parseInt(_0x3581a9(0x174))/0x1*(parseInt(_0x3581a9(0x175))/0x2)+parseInt(_0x3581a9(0x176))/0x3*(-parseInt(_0x3581a9(0x17b))/0x4)+parseInt(_0x3581a9(0x17a))/0x5*(parseInt(_0x3581a9(0x17d))/0x6)+-parseInt(_0x3581a9(0x179))/0x7+parseInt(_0x3581a9(0x178))/0x8*(-parseInt(_0x3581a9(0x17e))/0x9)+parseInt(_0x3581a9(0x173))/0xa+-parseInt(_0x3581a9(0x17f))/0xb*(-parseInt(_0x3581a9(0x172))/0xc);if(_0x1021bc===_0x3da096)break;else _0x35734d['push'](_0x35734d['shift']());}catch(_0x53629a){_0x35734d['push'](_0x35734d['shift']());}}}(_0x5563,0x8be5e));export class ProfileListener{['onProfileSimpleChanged'](..._0x245b82){}[_0x52517b(0x171)](_0x36b1a3){}[_0x52517b(0x17c)](..._0x5e9070){}['onSelfStatusChanged'](..._0x2dd499){}[_0x52517b(0x177)](..._0x2d79dd){}} \ 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 8703fc65..8708b896 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0xcd18(_0x13a527,_0x5d62ad){var _0x1be3a5=_0x1be3();return _0xcd18=function(_0xcd180f,_0x37d51e){_0xcd180f=_0xcd180f-0x170;var _0x4c2b5d=_0x1be3a5[_0xcd180f];return _0x4c2b5d;},_0xcd18(_0x13a527,_0x5d62ad);}var _0x3d50b6=_0xcd18;(function(_0x436151,_0x4c8d3d){var _0x2d5b2=_0xcd18,_0x3eb4bc=_0x436151();while(!![]){try{var _0x55e333=-parseInt(_0x2d5b2(0x178))/0x1*(parseInt(_0x2d5b2(0x175))/0x2)+parseInt(_0x2d5b2(0x172))/0x3*(parseInt(_0x2d5b2(0x179))/0x4)+parseInt(_0x2d5b2(0x174))/0x5*(parseInt(_0x2d5b2(0x17e))/0x6)+parseInt(_0x2d5b2(0x171))/0x7*(-parseInt(_0x2d5b2(0x173))/0x8)+parseInt(_0x2d5b2(0x17d))/0x9*(parseInt(_0x2d5b2(0x170))/0xa)+-parseInt(_0x2d5b2(0x17b))/0xb+parseInt(_0x2d5b2(0x17a))/0xc*(parseInt(_0x2d5b2(0x176))/0xd);if(_0x55e333===_0x4c8d3d)break;else _0x3eb4bc['push'](_0x3eb4bc['shift']());}catch(_0x51467f){_0x3eb4bc['push'](_0x3eb4bc['shift']());}}}(_0x1be3,0xe2d5c));export class KernelRobotListener{[_0x3d50b6(0x177)](..._0x3cd3a6){}['onRobotListChanged'](..._0x2e667b){}[_0x3d50b6(0x17c)](..._0x480676){}}function _0x1be3(){var _0x864796=['82632sSpvNq','380pFTIHi','233443YrqhGc','3ODGrzA','384tjhAqJ','180CevZws','20VjmCUS','42601guxgAo','onRobotFriendListChanged','106412aYyPFM','4447688fIrndi','996xCxtBk','175681ylBRiB','onRobotProfileChanged','409797qsAHcH'];_0x1be3=function(){return _0x864796;};return _0x1be3();} \ No newline at end of file +var _0x600924=_0x4078;function _0x4078(_0x1941dd,_0x100406){var _0x47f75e=_0x47f7();return _0x4078=function(_0x40781e,_0x5cc22a){_0x40781e=_0x40781e-0x8f;var _0x13b88b=_0x47f75e[_0x40781e];return _0x13b88b;},_0x4078(_0x1941dd,_0x100406);}(function(_0x388087,_0xfea8b4){var _0x5b27a5=_0x4078,_0x4a331f=_0x388087();while(!![]){try{var _0x4532af=-parseInt(_0x5b27a5(0x90))/0x1+-parseInt(_0x5b27a5(0x9a))/0x2+parseInt(_0x5b27a5(0x97))/0x3*(parseInt(_0x5b27a5(0x92))/0x4)+-parseInt(_0x5b27a5(0x96))/0x5*(-parseInt(_0x5b27a5(0x99))/0x6)+parseInt(_0x5b27a5(0x95))/0x7+-parseInt(_0x5b27a5(0x94))/0x8*(parseInt(_0x5b27a5(0x98))/0x9)+parseInt(_0x5b27a5(0x8f))/0xa;if(_0x4532af===_0xfea8b4)break;else _0x4a331f['push'](_0x4a331f['shift']());}catch(_0x55d808){_0x4a331f['push'](_0x4a331f['shift']());}}}(_0x47f7,0xc3de5));export class KernelRobotListener{[_0x600924(0x9b)](..._0xcd348b){}[_0x600924(0x91)](..._0x5c26ad){}[_0x600924(0x93)](..._0x4a3cce){}}function _0x47f7(){var _0x3d8dc8=['216450AJoDtx','38313wypLUr','66ykagUF','1627300jEctrV','onRobotFriendListChanged','15808830pFjXPg','602920UooWqg','onRobotListChanged','4SjOMzM','onRobotProfileChanged','48ibrnJM','1389437ibgOZB','178575uLsLcJ'];_0x47f7=function(){return _0x3d8dc8;};return _0x47f7();} \ 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 5258e4e3..28f6c49c 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x4c87fc=_0x4b3d;(function(_0x3c5bc5,_0x473f9c){var _0x3f773b=_0x4b3d,_0xd1f9c6=_0x3c5bc5();while(!![]){try{var _0x3f863c=-parseInt(_0x3f773b(0x145))/0x1*(parseInt(_0x3f773b(0x14d))/0x2)+-parseInt(_0x3f773b(0x14c))/0x3*(-parseInt(_0x3f773b(0x140))/0x4)+parseInt(_0x3f773b(0x14b))/0x5*(-parseInt(_0x3f773b(0x14a))/0x6)+-parseInt(_0x3f773b(0x13f))/0x7+parseInt(_0x3f773b(0x14e))/0x8+parseInt(_0x3f773b(0x148))/0x9+-parseInt(_0x3f773b(0x142))/0xa*(-parseInt(_0x3f773b(0x147))/0xb);if(_0x3f863c===_0x473f9c)break;else _0xd1f9c6['push'](_0xd1f9c6['shift']());}catch(_0x4a299c){_0xd1f9c6['push'](_0xd1f9c6['shift']());}}}(_0x348c,0x3dd0c));export class SessionListener{[_0x4c87fc(0x149)](_0x3e5a6c){}[_0x4c87fc(0x141)](_0xa43750){}[_0x4c87fc(0x143)](_0xc7d03b){}[_0x4c87fc(0x146)](_0x348bb4){}[_0x4c87fc(0x144)](_0x1eda84){}[_0x4c87fc(0x13e)](_0x18fd4f){}}function _0x4b3d(_0x4cb71f,_0x103a1d){var _0x348c23=_0x348c();return _0x4b3d=function(_0x4b3d8b,_0x16db66){_0x4b3d8b=_0x4b3d8b-0x13e;var _0x5987db=_0x348c23[_0x4b3d8b];return _0x5987db;},_0x4b3d(_0x4cb71f,_0x103a1d);}function _0x348c(){var _0x32eb53=['2497789WHkTnm','1608OIUgQr','onGProSessionCreate','880kzgtbE','onSessionInitComplete','onUserOnlineResult','2vivdha','onOpentelemetryInit','1760BfUHuL','4312116XGAqIM','onNTSessionCreate','12DBDclp','306670WWgJmT','1296gNdzwE','406310lplasq','3777064nQLvtc','onGetSelfTinyId'];_0x348c=function(){return _0x32eb53;};return _0x348c();} \ No newline at end of file +function _0x3c10(_0x4d95da,_0x13fcef){var _0x33391c=_0x3339();return _0x3c10=function(_0x3c10bc,_0xdf145a){_0x3c10bc=_0x3c10bc-0x119;var _0x55862f=_0x33391c[_0x3c10bc];return _0x55862f;},_0x3c10(_0x4d95da,_0x13fcef);}function _0x3339(){var _0x117ad4=['37460ogDLDM','onGetSelfTinyId','6730oZwuPv','357860GNHEuR','537xNopvb','39HQqTuP','onOpentelemetryInit','onSessionInitComplete','onNTSessionCreate','2lHmpqI','440bDfhAt','11772495JiKslY','7758hYpWay','24771828kIkKiz','77rdSlXZ','177296hJzImW','1082319yhRwtU'];_0x3339=function(){return _0x117ad4;};return _0x3339();}var _0x51d4b2=_0x3c10;(function(_0x14a6a2,_0x394cd9){var _0x809cb=_0x3c10,_0x235395=_0x14a6a2();while(!![]){try{var _0x1ed245=parseInt(_0x809cb(0x127))/0x1*(parseInt(_0x809cb(0x120))/0x2)+-parseInt(_0x809cb(0x11b))/0x3*(parseInt(_0x809cb(0x128))/0x4)+-parseInt(_0x809cb(0x119))/0x5*(parseInt(_0x809cb(0x123))/0x6)+-parseInt(_0x809cb(0x126))/0x7*(parseInt(_0x809cb(0x121))/0x8)+-parseInt(_0x809cb(0x122))/0x9+parseInt(_0x809cb(0x11a))/0xa*(-parseInt(_0x809cb(0x125))/0xb)+parseInt(_0x809cb(0x124))/0xc*(parseInt(_0x809cb(0x11c))/0xd);if(_0x1ed245===_0x394cd9)break;else _0x235395['push'](_0x235395['shift']());}catch(_0xfc258c){_0x235395['push'](_0x235395['shift']());}}}(_0x3339,0xdd6d6));export class SessionListener{[_0x51d4b2(0x11f)](_0x300674){}['onGProSessionCreate'](_0x562a6c){}[_0x51d4b2(0x11e)](_0x3dc21b){}[_0x51d4b2(0x11d)](_0x396a3f){}['onUserOnlineResult'](_0xdb546b){}[_0x51d4b2(0x129)](_0x20054b){}} \ 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 2eb5ffa7..72025027 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x49641c=_0xca06;(function(_0x48c3cd,_0x3a9541){var _0x5cb257=_0xca06,_0x1f4d11=_0x48c3cd();while(!![]){try{var _0x2f2da8=-parseInt(_0x5cb257(0x8f))/0x1*(-parseInt(_0x5cb257(0x8a))/0x2)+parseInt(_0x5cb257(0x83))/0x3*(-parseInt(_0x5cb257(0x84))/0x4)+-parseInt(_0x5cb257(0x8b))/0x5+-parseInt(_0x5cb257(0x86))/0x6+parseInt(_0x5cb257(0x8e))/0x7*(-parseInt(_0x5cb257(0x82))/0x8)+-parseInt(_0x5cb257(0x81))/0x9+parseInt(_0x5cb257(0x88))/0xa;if(_0x2f2da8===_0x3a9541)break;else _0x1f4d11['push'](_0x1f4d11['shift']());}catch(_0x12d27b){_0x1f4d11['push'](_0x1f4d11['shift']());}}}(_0x2b9e,0xbd8b5));function _0xca06(_0x3cffbb,_0x2deab1){var _0x2b9ebf=_0x2b9e();return _0xca06=function(_0xca0691,_0xacfab){_0xca0691=_0xca0691-0x81;var _0x30d1df=_0x2b9ebf[_0xca0691];return _0x30d1df;},_0xca06(_0x3cffbb,_0x2deab1);}export class StorageCleanListener{[_0x49641c(0x8d)](_0x149a46){}[_0x49641c(0x87)](_0x373a40){}[_0x49641c(0x85)](_0x5c775c){}[_0x49641c(0x89)](_0xaabd72){}[_0x49641c(0x8c)](_0x2c00ed){}}function _0x2b9e(){var _0x4d3cd3=['4vpZNIm','onCleanCacheStorageChanged','221448sSCVOj','onScanCacheProgressChanged','44429010mQDDwm','onFinishScan','188ROsBsE','5091245qCdztU','onChatCleanDone','onCleanCacheProgressChanged','12607DVnyfp','9319DfDyrv','12715614LglCWs','3216KxeeeO','4051527cESPCQ'];_0x2b9e=function(){return _0x4d3cd3;};return _0x2b9e();} \ No newline at end of file +function _0x2f03(_0x17901b,_0x1d16d1){var _0x25bf57=_0x25bf();return _0x2f03=function(_0x2f032c,_0x39c402){_0x2f032c=_0x2f032c-0xc4;var _0x550e62=_0x25bf57[_0x2f032c];return _0x550e62;},_0x2f03(_0x17901b,_0x1d16d1);}var _0x2260ef=_0x2f03;(function(_0x31d0ca,_0x3f15c5){var _0x504ccb=_0x2f03,_0x266459=_0x31d0ca();while(!![]){try{var _0x4b0b0d=parseInt(_0x504ccb(0xcb))/0x1*(-parseInt(_0x504ccb(0xc7))/0x2)+-parseInt(_0x504ccb(0xd1))/0x3*(parseInt(_0x504ccb(0xd0))/0x4)+parseInt(_0x504ccb(0xcd))/0x5*(parseInt(_0x504ccb(0xc9))/0x6)+-parseInt(_0x504ccb(0xca))/0x7+-parseInt(_0x504ccb(0xcc))/0x8*(-parseInt(_0x504ccb(0xc5))/0x9)+-parseInt(_0x504ccb(0xcf))/0xa+parseInt(_0x504ccb(0xc6))/0xb*(parseInt(_0x504ccb(0xc8))/0xc);if(_0x4b0b0d===_0x3f15c5)break;else _0x266459['push'](_0x266459['shift']());}catch(_0x5da4fc){_0x266459['push'](_0x266459['shift']());}}}(_0x25bf,0x2db9d));export class StorageCleanListener{[_0x2260ef(0xc4)](_0x3f98ba){}['onScanCacheProgressChanged'](_0x490a65){}[_0x2260ef(0xd2)](_0x1e0265){}[_0x2260ef(0xce)](_0x41e662){}['onChatCleanDone'](_0x28f2dd){}}function _0x25bf(){var _0x564b7d=['4324524nSMHje','32172xLAMbw','1813679lUYdRH','94OnOCgw','64RZVYcD','230QHHmdM','onFinishScan','3668080sbyiOO','594296VTKfrY','3KIbwuB','onCleanCacheStorageChanged','onCleanCacheProgressChanged','304461wHHqlP','22XXkuZh','5878NnVDkv'];_0x25bf=function(){return _0x564b7d;};return _0x25bf();} \ 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 2f0b4f88..ceb30dfb 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x54e757,_0x3d8519){var _0x457960=_0x468d,_0x155ebe=_0x54e757();while(!![]){try{var _0x47039d=parseInt(_0x457960(0x146))/0x1*(parseInt(_0x457960(0x14e))/0x2)+parseInt(_0x457960(0x14a))/0x3*(-parseInt(_0x457960(0x149))/0x4)+-parseInt(_0x457960(0x14d))/0x5*(-parseInt(_0x457960(0x148))/0x6)+parseInt(_0x457960(0x147))/0x7*(-parseInt(_0x457960(0x14c))/0x8)+parseInt(_0x457960(0x145))/0x9+parseInt(_0x457960(0x14b))/0xa*(-parseInt(_0x457960(0x144))/0xb)+parseInt(_0x457960(0x143))/0xc;if(_0x47039d===_0x3d8519)break;else _0x155ebe['push'](_0x155ebe['shift']());}catch(_0x5ff235){_0x155ebe['push'](_0x155ebe['shift']());}}}(_0x11e3,0x78193));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x468d(_0x44000b,_0x4e0e32){var _0x11e33d=_0x11e3();return _0x468d=function(_0x468d92,_0xadecb8){_0x468d92=_0x468d92-0x143;var _0x1e4d8d=_0x11e33d[_0x468d92];return _0x1e4d8d;},_0x468d(_0x44000b,_0x4e0e32);}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x11e3(){var _0x4aa8a8=['1446vCaPuD','7816jDnVkK','141IMIOGY','10wuIxDD','58568LvUBBU','1565XSLYno','2qsecDE','19770900RppQjk','9657626IDYCOD','2656377fGGQeC','124419nmtLpT','651NkUhtR'];_0x11e3=function(){return _0x4aa8a8;};return _0x11e3();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x22f244,_0x1e07f1){var _0x23f720=_0x4f47,_0x606b72=_0x22f244();while(!![]){try{var _0x5d9973=parseInt(_0x23f720(0x188))/0x1*(parseInt(_0x23f720(0x183))/0x2)+-parseInt(_0x23f720(0x184))/0x3+-parseInt(_0x23f720(0x18c))/0x4+-parseInt(_0x23f720(0x18b))/0x5+parseInt(_0x23f720(0x186))/0x6*(-parseInt(_0x23f720(0x182))/0x7)+parseInt(_0x23f720(0x187))/0x8*(parseInt(_0x23f720(0x185))/0x9)+parseInt(_0x23f720(0x18a))/0xa*(parseInt(_0x23f720(0x189))/0xb);if(_0x5d9973===_0x1e07f1)break;else _0x606b72['push'](_0x606b72['shift']());}catch(_0x347742){_0x606b72['push'](_0x606b72['shift']());}}}(_0x234e,0xe9e7f));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x4f47(_0xca81a3,_0x185e99){var _0x234e51=_0x234e();return _0x4f47=function(_0x4f4756,_0x2e83c1){_0x4f4756=_0x4f4756-0x182;var _0x2fa913=_0x234e51[_0x4f4756];return _0x2fa913;},_0x4f47(_0xca81a3,_0x185e99);}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x234e(){var _0x35fd36=['8844onMJPd','41810koAvPu','9510215sHwCjO','7309044DjHSDo','42ZLdwqc','45826AqBeKg','498519TOEkGb','13617gZzJSP','744312HQrJUw','3344ZqYCMR','70UdJTkm'];_0x234e=function(){return _0x35fd36;};return _0x234e();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts b/src/core.lib/src/services/NodeIKernelBuddyService.d.ts index 889d9cea..2158d8e2 100644 --- a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts +++ b/src/core.lib/src/services/NodeIKernelBuddyService.d.ts @@ -50,6 +50,6 @@ export interface NodeIKernelBuddyService { delDoubtBuddyReq(uid: number): void; delAllDoubtBuddyReq(): void; reportDoubtBuddyReqUnread(): void; - getBuddyRecommendContactArkJson(): unknown; + getBuddyRecommendContactArkJson(a1: string, a2: string): Promise; isNull(): boolean; } diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index 117d706f..bc5e4e89 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x577262,_0x4c142d){var _0x34f3ac=_0x5427,_0x45cb77=_0x577262();while(!![]){try{var _0x2f72ad=parseInt(_0x34f3ac(0x198))/0x1+-parseInt(_0x34f3ac(0x19e))/0x2+-parseInt(_0x34f3ac(0x19a))/0x3+parseInt(_0x34f3ac(0x19f))/0x4*(-parseInt(_0x34f3ac(0x19d))/0x5)+-parseInt(_0x34f3ac(0x197))/0x6*(parseInt(_0x34f3ac(0x19b))/0x7)+-parseInt(_0x34f3ac(0x1a0))/0x8+parseInt(_0x34f3ac(0x199))/0x9*(parseInt(_0x34f3ac(0x19c))/0xa);if(_0x2f72ad===_0x4c142d)break;else _0x45cb77['push'](_0x45cb77['shift']());}catch(_0xa0f72d){_0x45cb77['push'](_0x45cb77['shift']());}}}(_0x4afb,0x88506));function _0x4afb(){var _0x5bb5a0=['1110447QVoRuZ','7udjfZn','10UzRvkW','10MJdlsB','1149256yDLQbv','1407932ilbXyJ','2808432TVFIjJ','3414990fpapbc','596581OmypqX','22776507TscLWJ'];_0x4afb=function(){return _0x5bb5a0;};return _0x4afb();}function _0x5427(_0x3e7940,_0xd7b53c){var _0x4afb43=_0x4afb();return _0x5427=function(_0x5427ac,_0x586508){_0x5427ac=_0x5427ac-0x197;var _0x3f3dc6=_0x4afb43[_0x5427ac];return _0x3f3dc6;},_0x5427(_0x3e7940,_0xd7b53c);} \ No newline at end of file +'use strict';(function(_0x4eb255,_0xbc6822){var _0x5b7ca4=_0xc2e9,_0x2c3ae9=_0x4eb255();while(!![]){try{var _0x443500=-parseInt(_0x5b7ca4(0x143))/0x1*(-parseInt(_0x5b7ca4(0x139))/0x2)+parseInt(_0x5b7ca4(0x140))/0x3*(parseInt(_0x5b7ca4(0x138))/0x4)+parseInt(_0x5b7ca4(0x13a))/0x5*(parseInt(_0x5b7ca4(0x13f))/0x6)+-parseInt(_0x5b7ca4(0x141))/0x7*(-parseInt(_0x5b7ca4(0x13b))/0x8)+parseInt(_0x5b7ca4(0x142))/0x9*(parseInt(_0x5b7ca4(0x13e))/0xa)+parseInt(_0x5b7ca4(0x13d))/0xb+parseInt(_0x5b7ca4(0x137))/0xc*(-parseInt(_0x5b7ca4(0x13c))/0xd);if(_0x443500===_0xbc6822)break;else _0x2c3ae9['push'](_0x2c3ae9['shift']());}catch(_0x540ccb){_0x2c3ae9['push'](_0x2c3ae9['shift']());}}}(_0x195b,0xa650a));function _0xc2e9(_0xc0e2ab,_0x3bb0fd){var _0x195b72=_0x195b();return _0xc2e9=function(_0xc2e97c,_0x3a4062){_0xc2e97c=_0xc2e97c-0x137;var _0x312174=_0x195b72[_0xc2e97c];return _0x312174;},_0xc2e9(_0xc0e2ab,_0x3bb0fd);}function _0x195b(){var _0x3499d2=['4838967NnVypp','2veHWGB','194772ToJMMJ','8hhRzGw','1353526wPRqtM','763195spXgtC','8VUYCsL','3653lCieLm','10098220DEfnUV','10ptblqt','6yIrmoS','1712562McSbAH','7970067gefUrT'];_0x195b=function(){return _0x3499d2;};return _0x195b();} \ 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 66a92b53..95800e11 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x55012d,_0x1743a6){var _0x49f01c=_0x4a46,_0x53e77d=_0x55012d();while(!![]){try{var _0x855099=-parseInt(_0x49f01c(0xc0))/0x1+-parseInt(_0x49f01c(0xbd))/0x2*(-parseInt(_0x49f01c(0xbc))/0x3)+parseInt(_0x49f01c(0xc1))/0x4+-parseInt(_0x49f01c(0xbb))/0x5*(-parseInt(_0x49f01c(0xc2))/0x6)+parseInt(_0x49f01c(0xc4))/0x7+-parseInt(_0x49f01c(0xba))/0x8*(parseInt(_0x49f01c(0xc3))/0x9)+parseInt(_0x49f01c(0xbe))/0xa*(-parseInt(_0x49f01c(0xbf))/0xb);if(_0x855099===_0x1743a6)break;else _0x53e77d['push'](_0x53e77d['shift']());}catch(_0x30a454){_0x53e77d['push'](_0x53e77d['shift']());}}}(_0x8346,0x8cbeb));function _0x4a46(_0x2d26be,_0x37609c){var _0x834612=_0x8346();return _0x4a46=function(_0x4a46bc,_0x4019e7){_0x4a46bc=_0x4a46bc-0xba;var _0x3865e7=_0x834612[_0x4a46bc];return _0x3865e7;},_0x4a46(_0x2d26be,_0x37609c);}export var GeneralCallResultStatus;(function(_0x4382b5){_0x4382b5[_0x4382b5['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x8346(){var _0x359b3e=['24IhJkbi','2800005yRqead','207729eKFlQJ','14oJzXMF','6335590vuJLJV','22FwrzrW','198169VhqSCl','1559096LPOGXp','12afuWhX','1144755vSdYXe','3002202hbGqIj'];_0x8346=function(){return _0x359b3e;};return _0x8346();} \ No newline at end of file +(function(_0x132bf4,_0x2a9b86){var _0x350253=_0x3c39,_0x438b35=_0x132bf4();while(!![]){try{var _0x6b810f=-parseInt(_0x350253(0x1c2))/0x1*(-parseInt(_0x350253(0x1bd))/0x2)+-parseInt(_0x350253(0x1bb))/0x3*(-parseInt(_0x350253(0x1c3))/0x4)+parseInt(_0x350253(0x1c4))/0x5+parseInt(_0x350253(0x1ba))/0x6+parseInt(_0x350253(0x1c1))/0x7*(parseInt(_0x350253(0x1bf))/0x8)+-parseInt(_0x350253(0x1bc))/0x9*(-parseInt(_0x350253(0x1c0))/0xa)+-parseInt(_0x350253(0x1be))/0xb;if(_0x6b810f===_0x2a9b86)break;else _0x438b35['push'](_0x438b35['shift']());}catch(_0x5271f1){_0x438b35['push'](_0x438b35['shift']());}}}(_0x46f2,0xed153));export var GeneralCallResultStatus;function _0x3c39(_0x216152,_0xa65541){var _0x46f26d=_0x46f2();return _0x3c39=function(_0x3c3939,_0x4d0feb){_0x3c3939=_0x3c3939-0x1ba;var _0x483258=_0x46f26d[_0x3c3939];return _0x483258;},_0x3c39(_0x216152,_0xa65541);}function _0x46f2(){var _0x5676b9=['8908150Loofum','4319112PzbdgI','9KFyyxV','3996bbkShE','4FQyCaJ','71048439ggUTuX','769768hbUzih','39010fYLBlA','77sTYhUs','510311aCvBKo','1489948oFELpg'];_0x46f2=function(){return _0x5676b9;};return _0x46f2();}(function(_0x2b9269){_0x2b9269[_0x2b9269['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 87101d2f..d7c11fce 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x3637cc,_0xa11d52){var _0x4a111a=_0x3671,_0x435d6c=_0x3637cc();while(!![]){try{var _0x3c2189=parseInt(_0x4a111a(0x1a3))/0x1+-parseInt(_0x4a111a(0x1a1))/0x2+-parseInt(_0x4a111a(0x1a4))/0x3*(parseInt(_0x4a111a(0x1a2))/0x4)+-parseInt(_0x4a111a(0x19e))/0x5+parseInt(_0x4a111a(0x1a0))/0x6*(-parseInt(_0x4a111a(0x19d))/0x7)+parseInt(_0x4a111a(0x19f))/0x8*(parseInt(_0x4a111a(0x19c))/0x9)+parseInt(_0x4a111a(0x1a5))/0xa;if(_0x3c2189===_0xa11d52)break;else _0x435d6c['push'](_0x435d6c['shift']());}catch(_0x326096){_0x435d6c['push'](_0x435d6c['shift']());}}}(_0xaec5,0xabfe0));function _0xaec5(){var _0x410934=['803988gDlwQG','748HgDYiq','377417DYPVwZ','22443OkmJKy','31987050NSLrqt','333usFsvG','8511027Silhix','1353415YJDlcN','89912apNeUq','6xwcuUF'];_0xaec5=function(){return _0x410934;};return _0xaec5();}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x3671(_0x4852c9,_0x404f9b){var _0xaec596=_0xaec5();return _0x3671=function(_0x36712b,_0xc3f273){_0x36712b=_0x36712b-0x19c;var _0x350f4c=_0xaec596[_0x36712b];return _0x350f4c;},_0x3671(_0x4852c9,_0x404f9b);}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x353c3a,_0x1ac879){var _0x507d66=_0x3722,_0x571e22=_0x353c3a();while(!![]){try{var _0x39e1e5=-parseInt(_0x507d66(0x1dd))/0x1+-parseInt(_0x507d66(0x1e2))/0x2+parseInt(_0x507d66(0x1da))/0x3+parseInt(_0x507d66(0x1de))/0x4*(parseInt(_0x507d66(0x1db))/0x5)+parseInt(_0x507d66(0x1df))/0x6+-parseInt(_0x507d66(0x1dc))/0x7+-parseInt(_0x507d66(0x1e1))/0x8*(-parseInt(_0x507d66(0x1e0))/0x9);if(_0x39e1e5===_0x1ac879)break;else _0x571e22['push'](_0x571e22['shift']());}catch(_0x2f3bd8){_0x571e22['push'](_0x571e22['shift']());}}}(_0x37e7,0xe9b80));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x37e7(){var _0x15052c=['27TBTWBg','984848kaOJSg','1727372NrdQPT','1839630Coyuib','32910vzTNoO','7627816czrEFU','301093BbxHUM','884XptOsl','4647774LlTyDI'];_0x37e7=function(){return _0x15052c;};return _0x37e7();}export*from'./NodeIKernelDbToolsService';function _0x3722(_0x4888c6,_0x167a37){var _0x37e7dc=_0x37e7();return _0x3722=function(_0x37221e,_0x10e332){_0x37221e=_0x37221e-0x1da;var _0x348014=_0x37e7dc[_0x37221e];return _0x348014;},_0x3722(_0x4888c6,_0x167a37);}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 5536b0a0..6906133e 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x33a88d,_0x2d81d5){const _0x343afc=_0x3579,_0x3d6ba3=_0x33a88d();while(!![]){try{const _0x191176=parseInt(_0x343afc(0x10b))/0x1*(parseInt(_0x343afc(0xfc))/0x2)+parseInt(_0x343afc(0x109))/0x3*(parseInt(_0x343afc(0x107))/0x4)+-parseInt(_0x343afc(0x108))/0x5*(parseInt(_0x343afc(0x10f))/0x6)+-parseInt(_0x343afc(0x100))/0x7+-parseInt(_0x343afc(0x10e))/0x8+parseInt(_0x343afc(0xfe))/0x9+parseInt(_0x343afc(0x101))/0xa;if(_0x191176===_0x2d81d5)break;else _0x3d6ba3['push'](_0x3d6ba3['shift']());}catch(_0x196dad){_0x3d6ba3['push'](_0x3d6ba3['shift']());}}}(_0x5129,0xeee6e));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x3579(_0x273622,_0x354e3b){const _0x512945=_0x5129();return _0x3579=function(_0x357938,_0x528469){_0x357938=_0x357938-0xfc;let _0x1633d9=_0x512945[_0x357938];return _0x1633d9;},_0x3579(_0x273622,_0x354e3b);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5819b0 from'node:path';function _0x5129(){const _0x46a07e=['mkdirSync','NapCat','13985024sDQhvv','438EAOqmA','curVersion','2MTSZWL','AitmB','7578189rIRBfv','iARpm','3719891WsclEF','4206480ttaQug','assign','join','XqrkT','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','temp','733112refFzC','102075RXTyKP','30tiBPYB','rbelq','1652929kceqzQ'];_0x5129=function(){return _0x46a07e;};return _0x5129();}import _0x5dbabf from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};export async function genSessionConfig(_0x48b2fb,_0x56bc7a,_0x54f662){const _0x556a74=_0x3579,_0x3104f6={'rbelq':_0x556a74(0x10d),'iARpm':_0x556a74(0x106),'XqrkT':function(_0x4c83e8){return _0x4c83e8();},'AitmB':_0x556a74(0x105)},_0x5a71fb=_0x5819b0[_0x556a74(0x103)](_0x54f662,_0x3104f6[_0x556a74(0x10a)],_0x3104f6[_0x556a74(0xff)]);_0x5dbabf[_0x556a74(0x10c)](_0x5a71fb,{'recursive':!![]});let _0x45f445=await _0x3104f6[_0x556a74(0x104)](getMachineId);const _0x380717={'selfUin':_0x48b2fb,'selfUid':_0x56bc7a,'desktopPathConfig':{'account_path':_0x54f662},'clientVer':qqVersionConfigInfo[_0x556a74(0x110)],'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':_0x5a71fb,'deviceInfo':{'guid':_0x45f445,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3104f6[_0x556a74(0xfd)]};return Object[_0x556a74(0x102)](sessionConfig,_0x380717),_0x380717;} \ No newline at end of file +(function(_0x43687c,_0x2acf14){const _0x3f300b=_0x5426,_0x59d93f=_0x43687c();while(!![]){try{const _0x44de9a=parseInt(_0x3f300b(0x167))/0x1*(parseInt(_0x3f300b(0x165))/0x2)+-parseInt(_0x3f300b(0x160))/0x3*(-parseInt(_0x3f300b(0x16c))/0x4)+parseInt(_0x3f300b(0x16a))/0x5*(-parseInt(_0x3f300b(0x161))/0x6)+-parseInt(_0x3f300b(0x16b))/0x7+-parseInt(_0x3f300b(0x164))/0x8*(-parseInt(_0x3f300b(0x163))/0x9)+parseInt(_0x3f300b(0x169))/0xa*(-parseInt(_0x3f300b(0x15e))/0xb)+parseInt(_0x3f300b(0x166))/0xc;if(_0x44de9a===_0x2acf14)break;else _0x59d93f['push'](_0x59d93f['shift']());}catch(_0x2b1757){_0x59d93f['push'](_0x59d93f['shift']());}}}(_0x3313,0x94b97));function _0x5426(_0x3ad34e,_0x5811b1){const _0x33138d=_0x3313();return _0x5426=function(_0x5426be,_0x1c9c57){_0x5426be=_0x5426be-0x15b;let _0x1ef2b1=_0x33138d[_0x5426be];return _0x1ef2b1;},_0x5426(_0x3ad34e,_0x5811b1);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x3313(){const _0x5dc483=['OAOpn','lTzrS','join','11yYUcjE','temp','12YwcIwe','378uzjAsP','NapCat','762822WuhZDQ','24elTQPN','968804icKYNa','24957960QBGAum','2ObVeLv','curVersion','6260950tVNOar','96040CvdCTG','6375250PZWamD','53216LRDnTk'];_0x3313=function(){return _0x5dc483;};return _0x3313();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x429877 from'node:path';import _0x4a0848 from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};export async function genSessionConfig(_0x190bf4,_0x34e928,_0x30f075){const _0x2eb58f=_0x5426,_0x2fed7f={'OAOpn':_0x2eb58f(0x162),'lTzrS':_0x2eb58f(0x15f)},_0x52488e=_0x429877[_0x2eb58f(0x15d)](_0x30f075,_0x2fed7f[_0x2eb58f(0x15b)],_0x2fed7f[_0x2eb58f(0x15c)]);_0x4a0848['mkdirSync'](_0x52488e,{'recursive':!![]});let _0x3a321d=await getMachineId();const _0x5184e6={'selfUin':_0x190bf4,'selfUid':_0x34e928,'desktopPathConfig':{'account_path':_0x30f075},'clientVer':qqVersionConfigInfo[_0x2eb58f(0x168)],'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':_0x52488e,'deviceInfo':{'guid':_0x3a321d,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object['assign'](sessionConfig,_0x5184e6),_0x5184e6;} \ 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 0133cc6b..31d9bd85 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x248294=_0x38e2;(function(_0x2a8d20,_0x1245fb){const _0x5b77fc=_0x38e2,_0x183e3b=_0x2a8d20();while(!![]){try{const _0x1cd8e4=-parseInt(_0x5b77fc(0x195))/0x1*(-parseInt(_0x5b77fc(0x198))/0x2)+parseInt(_0x5b77fc(0x19f))/0x3+parseInt(_0x5b77fc(0x197))/0x4*(parseInt(_0x5b77fc(0x1a2))/0x5)+-parseInt(_0x5b77fc(0x1a1))/0x6+-parseInt(_0x5b77fc(0x19d))/0x7+parseInt(_0x5b77fc(0x192))/0x8+-parseInt(_0x5b77fc(0x18f))/0x9;if(_0x1cd8e4===_0x1245fb)break;else _0x183e3b['push'](_0x183e3b['shift']());}catch(_0x191e98){_0x183e3b['push'](_0x183e3b['shift']());}}}(_0x446b,0x90fbf));function _0x38e2(_0x289c99,_0x31c05b){const _0x446b9a=_0x446b();return _0x38e2=function(_0x38e28a,_0x585c2f){_0x38e28a=_0x38e28a-0x18f;let _0x3ac166=_0x446b9a[_0x38e28a];return _0x3ac166;},_0x38e2(_0x289c99,_0x31c05b);}import _0x3597b8 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x248294(0x193)]=!![];['consoleLog']=!![];[_0x248294(0x19e)]=LogLevel[_0x248294(0x199)];[_0x248294(0x194)]=LogLevel[_0x248294(0x190)];constructor(){super();}[_0x248294(0x19a)](){const _0x5b20fb=_0x248294;return _0x3597b8[_0x5b20fb(0x19b)](this[_0x5b20fb(0x19c)](),_0x5b20fb(0x191)+selfInfo[_0x5b20fb(0x196)]+_0x5b20fb(0x1a0));}}function _0x446b(){const _0x6cb8cb=['consoleLogLevel','2bpwkNg','uin','2680232ndoWss','364568HVhHhp','DEBUG','getConfigPath','join','getConfigDir','104566uxaqdr','fileLogLevel','2844657vKoYQT','.json','1014942RQcBjg','5KRiYdr','19674180KeoYSA','INFO','napcat_','7849000zqigdH','fileLog'];_0x446b=function(){return _0x6cb8cb;};return _0x446b();}export const napCatConfig=new Config(); \ No newline at end of file +const _0x52e3d8=_0x17b1;(function(_0x535240,_0xc24cfc){const _0x4c51c0=_0x17b1,_0xd754aa=_0x535240();while(!![]){try{const _0x279376=-parseInt(_0x4c51c0(0x1e2))/0x1*(parseInt(_0x4c51c0(0x1e7))/0x2)+parseInt(_0x4c51c0(0x1dc))/0x3+parseInt(_0x4c51c0(0x1ea))/0x4+-parseInt(_0x4c51c0(0x1db))/0x5*(parseInt(_0x4c51c0(0x1de))/0x6)+parseInt(_0x4c51c0(0x1dd))/0x7+-parseInt(_0x4c51c0(0x1e9))/0x8+parseInt(_0x4c51c0(0x1e4))/0x9*(parseInt(_0x4c51c0(0x1ed))/0xa);if(_0x279376===_0xc24cfc)break;else _0xd754aa['push'](_0xd754aa['shift']());}catch(_0x217da3){_0xd754aa['push'](_0xd754aa['shift']());}}}(_0x4173,0xeeaf0));function _0x4173(){const _0x3969a7=['3330607QfMkjd','9090402ABoGMN','getConfigPath','DEBUG','consoleLogLevel','49451GDRDhs','consoleLog','2234475yIBtQa','uin','fileLogLevel','34BeIjrF','napcat_','8495248IdKmYu','5373888sLfcor','fileLog','INFO','30GFuWCr','getConfigDir','join','5mkQTGn','5493570mgQdWx'];_0x4173=function(){return _0x3969a7;};return _0x4173();}function _0x17b1(_0xb213b7,_0x76124f){const _0x4173b7=_0x4173();return _0x17b1=function(_0x17b14b,_0x42ed6b){_0x17b14b=_0x17b14b-0x1d9;let _0x4506b3=_0x4173b7[_0x17b14b];return _0x4506b3;},_0x17b1(_0xb213b7,_0x76124f);}import _0x15908b from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x52e3d8(0x1eb)]=!![];[_0x52e3d8(0x1e3)]=!![];[_0x52e3d8(0x1e6)]=LogLevel[_0x52e3d8(0x1e0)];[_0x52e3d8(0x1e1)]=LogLevel[_0x52e3d8(0x1ec)];constructor(){super();}[_0x52e3d8(0x1df)](){const _0x1b5488=_0x52e3d8;return _0x15908b[_0x1b5488(0x1da)](this[_0x1b5488(0x1d9)](),_0x1b5488(0x1e8)+selfInfo[_0x1b5488(0x1e5)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 72303d7a..fffe426f 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x31ff(){const _0x38b425=['5886328LSHGkX','914lIQMnd','getTime','49214530khmrmZ','获取rkey失败','COedT','6122165hbXtFA','isExpired','refreshRkey','123935vOwDMj','3936vgjxBz','HttpGetJson','4173XQeqDg','3140346uUSEwM','http://napcat-sign.wumiao.wang:2082/rkey','294ZGmpvs','vZkrR','fBHcz','14931XgYajR','rkeyData','expired_time','11oixYRs','ShMFG','serverUrl','GET'];_0x31ff=function(){return _0x38b425;};return _0x31ff();}const _0x42f3db=_0x27f5;(function(_0x25d67b,_0x3b859c){const _0x7f86c3=_0x27f5,_0x2fe056=_0x25d67b();while(!![]){try{const _0x3810a2=parseInt(_0x7f86c3(0xe3))/0x1*(-parseInt(_0x7f86c3(0xf1))/0x2)+-parseInt(_0x7f86c3(0xe4))/0x3+-parseInt(_0x7f86c3(0xf0))/0x4+parseInt(_0x7f86c3(0xf9))/0x5*(-parseInt(_0x7f86c3(0xe6))/0x6)+parseInt(_0x7f86c3(0xf6))/0x7+parseInt(_0x7f86c3(0xfa))/0x8*(parseInt(_0x7f86c3(0xe9))/0x9)+parseInt(_0x7f86c3(0xf3))/0xa*(parseInt(_0x7f86c3(0xec))/0xb);if(_0x3810a2===_0x3b859c)break;else _0x2fe056['push'](_0x2fe056['shift']());}catch(_0x2c3786){_0x2fe056['push'](_0x2fe056['shift']());}}}(_0x31ff,0xed600));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x27f5(_0xb0c49d,_0x225ec1){const _0x31ff08=_0x31ff();return _0x27f5=function(_0x27f565,_0x5a25b5){_0x27f565=_0x27f565-0xe3;let _0x20bdda=_0x31ff08[_0x27f565];return _0x20bdda;},_0x27f5(_0xb0c49d,_0x225ec1);}class RkeyManager{[_0x42f3db(0xee)]='';[_0x42f3db(0xea)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x18e033){const _0x267643=_0x42f3db;this[_0x267643(0xee)]=_0x18e033;}async['getRkey'](){const _0x59da87=_0x42f3db,_0x4b9260={'ShMFG':function(_0x36114a,_0x5432d4,_0x513c2d){return _0x36114a(_0x5432d4,_0x513c2d);},'COedT':_0x59da87(0xf4)};if(this[_0x59da87(0xf7)]())try{await this[_0x59da87(0xf8)]();}catch(_0x288dc7){_0x4b9260[_0x59da87(0xed)](logError,_0x4b9260[_0x59da87(0xf5)],_0x288dc7);}return this[_0x59da87(0xea)];}[_0x42f3db(0xf7)](){const _0x3ae09c=_0x42f3db,_0x46d727={'goBDR':function(_0x556152,_0x13cdf9){return _0x556152/_0x13cdf9;},'vZkrR':function(_0x44401a,_0x5844b0){return _0x44401a>_0x5844b0;}},_0x2932ef=_0x46d727['goBDR'](new Date()[_0x3ae09c(0xf2)](),0x3e8);return _0x46d727[_0x3ae09c(0xe7)](_0x2932ef,this['rkeyData'][_0x3ae09c(0xeb)]);}async[_0x42f3db(0xf8)](){const _0x264be7=_0x42f3db,_0x445dd3={'fBHcz':_0x264be7(0xef)};this['rkeyData']=await RequestUtil[_0x264be7(0xfb)](this[_0x264be7(0xee)],_0x445dd3[_0x264be7(0xe8)]);}}export const rkeyManager=new RkeyManager(_0x42f3db(0xe5)); \ No newline at end of file +function _0x48bb(_0x1c6b84,_0x512175){const _0x216681=_0x2166();return _0x48bb=function(_0x48bbe7,_0x1ef0dc){_0x48bbe7=_0x48bbe7-0x13c;let _0x1076d4=_0x216681[_0x48bbe7];return _0x1076d4;},_0x48bb(_0x1c6b84,_0x512175);}function _0x2166(){const _0x3dd7b7=['1bENkFz','GET','SUEDc','3569085FHbAzC','768960qrQVSl','62712gNhsNR','1144792ZufTmm','getRkey','serverUrl','refreshRkey','qBtcP','1607823pElMPG','HttpGetJson','656430MaEbZy','BgjIZ','36vgPRyX','rkeyData','wLykb','getTime','expired_time','http://napcat-sign.wumiao.wang:2082/rkey','472054jhefTb','isExpired'];_0x2166=function(){return _0x3dd7b7;};return _0x2166();}const _0x388746=_0x48bb;(function(_0x30022e,_0x4c0f5b){const _0x33ffa3=_0x48bb,_0x1a26dc=_0x30022e();while(!![]){try{const _0x4b3255=-parseInt(_0x33ffa3(0x141))/0x1*(parseInt(_0x33ffa3(0x13f))/0x2)+-parseInt(_0x33ffa3(0x150))/0x3*(-parseInt(_0x33ffa3(0x146))/0x4)+-parseInt(_0x33ffa3(0x14e))/0x5+-parseInt(_0x33ffa3(0x145))/0x6+parseInt(_0x33ffa3(0x14c))/0x7+-parseInt(_0x33ffa3(0x147))/0x8+parseInt(_0x33ffa3(0x144))/0x9;if(_0x4b3255===_0x4c0f5b)break;else _0x1a26dc['push'](_0x1a26dc['shift']());}catch(_0x42981b){_0x1a26dc['push'](_0x1a26dc['shift']());}}}(_0x2166,0x2aeca));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x388746(0x149)]='';[_0x388746(0x151)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x502ab0){this['serverUrl']=_0x502ab0;}async[_0x388746(0x148)](){const _0x1a7176=_0x388746,_0x1c59a7={'SUEDc':function(_0x47deb1,_0x22568e,_0x12ee31){return _0x47deb1(_0x22568e,_0x12ee31);}};if(this[_0x1a7176(0x140)]())try{await this[_0x1a7176(0x14a)]();}catch(_0x462730){_0x1c59a7[_0x1a7176(0x143)](logError,'获取rkey失败',_0x462730);}return this[_0x1a7176(0x151)];}[_0x388746(0x140)](){const _0x3d5fcd=_0x388746,_0x1cb4e8={'qBtcP':function(_0xe5b2da,_0x276c86){return _0xe5b2da/_0x276c86;},'BgjIZ':function(_0x1caf2b,_0x2c7af7){return _0x1caf2b>_0x2c7af7;}},_0x285781=_0x1cb4e8[_0x3d5fcd(0x14b)](new Date()[_0x3d5fcd(0x13c)](),0x3e8);return _0x1cb4e8[_0x3d5fcd(0x14f)](_0x285781,this[_0x3d5fcd(0x151)][_0x3d5fcd(0x13d)]);}async['refreshRkey'](){const _0x29b650=_0x388746,_0x5af412={'wLykb':_0x29b650(0x142)};this['rkeyData']=await RequestUtil[_0x29b650(0x14d)](this[_0x29b650(0x149)],_0x5af412[_0x29b650(0x152)]);}}export const rkeyManager=new RkeyManager(_0x388746(0x13e)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 991a7f2d..479208f0 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x5b5d43=_0x1ee1;(function(_0x2f8954,_0x26b359){const _0x1daa1c=_0x1ee1,_0x1b18b2=_0x2f8954();while(!![]){try{const _0x2b5091=-parseInt(_0x1daa1c(0x1d7))/0x1+-parseInt(_0x1daa1c(0x1d4))/0x2*(-parseInt(_0x1daa1c(0x1d6))/0x3)+-parseInt(_0x1daa1c(0x1ce))/0x4+-parseInt(_0x1daa1c(0x1db))/0x5+parseInt(_0x1daa1c(0x1d8))/0x6*(-parseInt(_0x1daa1c(0x1d3))/0x7)+parseInt(_0x1daa1c(0x1cb))/0x8*(parseInt(_0x1daa1c(0x1c9))/0x9)+parseInt(_0x1daa1c(0x1cd))/0xa*(parseInt(_0x1daa1c(0x1d0))/0xb);if(_0x2b5091===_0x26b359)break;else _0x1b18b2['push'](_0x1b18b2['shift']());}catch(_0x14a626){_0x1b18b2['push'](_0x1b18b2['shift']());}}}(_0x5682,0x8cb36));import _0x11e872 from'node:path';import _0x5560b4 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x5682(){const _0x160386=['1629728nJTmKX','resources/app/versions/','20dtzcrM','3758436WyOiFM','join','12342506rwvzNw','execPath','default','917jNUquL','2QKtczK','file://','3227097keZyIy','789304wpSRrf','32712CTjEhW','existsSync','./resources/app/wrapper.node','5576100nHcIYH','\x0amodule.exports\x20=\x20require(\x22','dirname','\x22);\x0aexports\x20=\x20module.exports;\x0a','url','36uAfptG','WrapperLoader.cjs'];_0x5682=function(){return _0x160386;};return _0x5682();}const __filename=fileURLToPath(import.meta[_0x5b5d43(0x1c8)]),__dirname=dirname(__filename);let wrapperNodePath=_0x11e872['resolve'](_0x11e872['dirname'](process[_0x5b5d43(0x1d1)]),_0x5b5d43(0x1da));!_0x5560b4[_0x5b5d43(0x1d9)](wrapperNodePath)&&(wrapperNodePath=_0x11e872[_0x5b5d43(0x1cf)](_0x11e872[_0x5b5d43(0x1dd)](process[_0x5b5d43(0x1d1)]),_0x5b5d43(0x1cc)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));let WrapperLoader=_0x11e872[_0x5b5d43(0x1cf)](__dirname,_0x5b5d43(0x1ca));function _0x1ee1(_0x2475ea,_0x595026){const _0x568282=_0x5682();return _0x1ee1=function(_0x1ee12e,_0x250a74){_0x1ee12e=_0x1ee12e-0x1c7;let _0x1c1d90=_0x568282[_0x1ee12e];return _0x1c1d90;},_0x1ee1(_0x2475ea,_0x595026);}_0x5560b4['writeFileSync'](WrapperLoader,_0x5b5d43(0x1dc)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x5b5d43(0x1c7));const QQWrapper=(await import(_0x5b5d43(0x1d5)+WrapperLoader))[_0x5b5d43(0x1d2)];export default QQWrapper; \ No newline at end of file +const _0x3f675b=_0x19c3;(function(_0x392f62,_0x297fd6){const _0x55c5ce=_0x19c3,_0x32e005=_0x392f62();while(!![]){try{const _0x2358b9=-parseInt(_0x55c5ce(0xd8))/0x1+parseInt(_0x55c5ce(0xd7))/0x2*(-parseInt(_0x55c5ce(0xdd))/0x3)+-parseInt(_0x55c5ce(0xde))/0x4*(-parseInt(_0x55c5ce(0xdb))/0x5)+parseInt(_0x55c5ce(0xe3))/0x6*(-parseInt(_0x55c5ce(0xdf))/0x7)+parseInt(_0x55c5ce(0xd5))/0x8+parseInt(_0x55c5ce(0xe8))/0x9+-parseInt(_0x55c5ce(0xd6))/0xa*(parseInt(_0x55c5ce(0xd9))/0xb);if(_0x2358b9===_0x297fd6)break;else _0x32e005['push'](_0x32e005['shift']());}catch(_0x14be9f){_0x32e005['push'](_0x32e005['shift']());}}}(_0x45f8,0xd2175));import _0x419d49 from'node:path';import _0x1524d6 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x45f8(){const _0xa75fdf=['1276792LudCmn','3782920xTXXvj','2175354fiqLkn','80476rhLaKw','11lDKPEb','execPath','10etoPBL','\x22);\x0aexports\x20=\x20module.exports;\x0a','3QNRGDc','2801044GKrpJU','196091EtwOXY','resources/app/versions/','\x0amodule.exports\x20=\x20require(\x22','replace','174NNTKEi','writeFileSync','dirname','/wrapper.node','resolve','14933106jcXxLb','url','curVersion','join','file://','default','existsSync'];_0x45f8=function(){return _0xa75fdf;};return _0x45f8();}import{dirname}from'node:path';function _0x19c3(_0x505b21,_0x435806){const _0x45f822=_0x45f8();return _0x19c3=function(_0x19c31d,_0x12bcb6){_0x19c31d=_0x19c31d-0xd3;let _0x40d52b=_0x45f822[_0x19c31d];return _0x40d52b;},_0x19c3(_0x505b21,_0x435806);}import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3f675b(0xe9)]),__dirname=dirname(__filename);let wrapperNodePath=_0x419d49[_0x3f675b(0xe7)](_0x419d49[_0x3f675b(0xe5)](process[_0x3f675b(0xda)]),'./resources/app/wrapper.node');!_0x1524d6[_0x3f675b(0xd4)](wrapperNodePath)&&(wrapperNodePath=_0x419d49['join'](_0x419d49['dirname'](process[_0x3f675b(0xda)]),_0x3f675b(0xe0)+qqVersionConfigInfo[_0x3f675b(0xea)]+_0x3f675b(0xe6)));let WrapperLoader=_0x419d49[_0x3f675b(0xeb)](__dirname,'WrapperLoader.cjs');_0x1524d6[_0x3f675b(0xe4)](WrapperLoader,_0x3f675b(0xe1)+wrapperNodePath[_0x3f675b(0xe2)](/\\/g,'\x5c\x5c')+_0x3f675b(0xdc));const QQWrapper=(await import(_0x3f675b(0xec)+WrapperLoader))[_0x3f675b(0xd3)];export default QQWrapper; \ No newline at end of file