From 21b6928ca669a5041304e396c7adbd9d115abe36 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: Thu, 30 May 2024 16:24:09 +0800 Subject: [PATCH] chore: sync core --- 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.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/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 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 19d9c44e..94634275 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x25a6(){var _0xdd7643=['171480fTSZGd','13mTAWhM','212UxsLaG','218104NjVwMP','176PerDSv','6gTIyto','999355ASHHIg','4114uTcLFG','getGroupCode','188488EaPnYY','11621736UKRGew','35SooqVm','onMSFSsoError','157848LdBgRG','45VADGBR'];_0x25a6=function(){return _0xdd7643;};return _0x25a6();}var _0x4edd10=_0x5825;function _0x5825(_0x3ca2ee,_0x2ea4bb){var _0x25a61d=_0x25a6();return _0x5825=function(_0x58250a,_0x450460){_0x58250a=_0x58250a-0x18b;var _0x304a6d=_0x25a61d[_0x58250a];return _0x304a6d;},_0x5825(_0x3ca2ee,_0x2ea4bb);}(function(_0x34a7e7,_0x28e4cb){var _0x5cd101=_0x5825,_0xfe3b98=_0x34a7e7();while(!![]){try{var _0x48368d=-parseInt(_0x5cd101(0x18f))/0x1*(parseInt(_0x5cd101(0x199))/0x2)+parseInt(_0x5cd101(0x18d))/0x3*(-parseInt(_0x5cd101(0x191))/0x4)+-parseInt(_0x5cd101(0x18e))/0x5+-parseInt(_0x5cd101(0x195))/0x6*(parseInt(_0x5cd101(0x193))/0x7)+-parseInt(_0x5cd101(0x18b))/0x8*(parseInt(_0x5cd101(0x196))/0x9)+parseInt(_0x5cd101(0x197))/0xa*(parseInt(_0x5cd101(0x18c))/0xb)+-parseInt(_0x5cd101(0x192))/0xc*(-parseInt(_0x5cd101(0x198))/0xd);if(_0x48368d===_0x28e4cb)break;else _0xfe3b98['push'](_0xfe3b98['shift']());}catch(_0x2b3d8b){_0xfe3b98['push'](_0xfe3b98['shift']());}}}(_0x25a6,0x3bc38));export class DependsAdapter{['onMSFStatusChange'](_0x3c4517,_0x2bacbb){}[_0x4edd10(0x194)](_0x185a15){}[_0x4edd10(0x190)](_0x16e148){}} \ No newline at end of file +function _0x1475(){var _0x2917c4=['4zlJgUI','10PCXFEj','187032ihsQZn','1562GSpatN','6HHGUFY','2447004kuAdjB','1238286NMbIGu','1732624fuLHZx','onMSFSsoError','141066acUsZF','1747840HPLnuO','514sbzJOR','3466vsjCSd','onMSFStatusChange'];_0x1475=function(){return _0x2917c4;};return _0x1475();}var _0x32c1af=_0x2a2b;function _0x2a2b(_0x7d8788,_0x2b77a6){var _0x1475e7=_0x1475();return _0x2a2b=function(_0x2a2be1,_0x2fa0c9){_0x2a2be1=_0x2a2be1-0x12e;var _0xb5cbb5=_0x1475e7[_0x2a2be1];return _0xb5cbb5;},_0x2a2b(_0x7d8788,_0x2b77a6);}(function(_0x508369,_0xed04aa){var _0x254f25=_0x2a2b,_0x57c2b8=_0x508369();while(!![]){try{var _0xa91b1c=-parseInt(_0x254f25(0x13b))/0x1*(parseInt(_0x254f25(0x12e))/0x2)+-parseInt(_0x254f25(0x135))/0x3+-parseInt(_0x254f25(0x130))/0x4*(-parseInt(_0x254f25(0x13a))/0x5)+-parseInt(_0x254f25(0x134))/0x6*(parseInt(_0x254f25(0x136))/0x7)+-parseInt(_0x254f25(0x137))/0x8+-parseInt(_0x254f25(0x139))/0x9*(-parseInt(_0x254f25(0x131))/0xa)+-parseInt(_0x254f25(0x133))/0xb*(-parseInt(_0x254f25(0x132))/0xc);if(_0xa91b1c===_0xed04aa)break;else _0x57c2b8['push'](_0x57c2b8['shift']());}catch(_0x53d8f8){_0x57c2b8['push'](_0x57c2b8['shift']());}}}(_0x1475,0x74d54));export class DependsAdapter{[_0x32c1af(0x12f)](_0x4ae2e4,_0x4d2c5b){}[_0x32c1af(0x138)](_0x559e2c){}['getGroupCode'](_0x5bf549){}} \ 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 74355e01..0296d844 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x5ae8(_0x5671e6,_0x1b7701){var _0x5d8967=_0x5d89();return _0x5ae8=function(_0x5ae8cf,_0x13afaf){_0x5ae8cf=_0x5ae8cf-0xf6;var _0x3b9185=_0x5d8967[_0x5ae8cf];return _0x3b9185;},_0x5ae8(_0x5671e6,_0x1b7701);}var _0x5676ef=_0x5ae8;function _0x5d89(){var _0x4251a7=['2390jmWPaL','75892IwWhIs','9IyWOXX','2212231YLtLBE','1434865bwkTfO','5592464yunGFX','16935220QmZfLP','dispatchCallWithJson','6cmAJYT','dispatchCall','75507iVSdbn','41BKOKcG'];_0x5d89=function(){return _0x4251a7;};return _0x5d89();}(function(_0x14c371,_0x3171b4){var _0x45f357=_0x5ae8,_0x1dbbc3=_0x14c371();while(!![]){try{var _0x24695c=parseInt(_0x45f357(0xf7))/0x1*(-parseInt(_0x45f357(0xf8))/0x2)+parseInt(_0x45f357(0xf6))/0x3+parseInt(_0x45f357(0xf9))/0x4+-parseInt(_0x45f357(0xfc))/0x5+parseInt(_0x45f357(0x100))/0x6*(-parseInt(_0x45f357(0xfb))/0x7)+-parseInt(_0x45f357(0xfd))/0x8+parseInt(_0x45f357(0xfa))/0x9*(parseInt(_0x45f357(0xfe))/0xa);if(_0x24695c===_0x3171b4)break;else _0x1dbbc3['push'](_0x1dbbc3['shift']());}catch(_0x36c716){_0x1dbbc3['push'](_0x1dbbc3['shift']());}}}(_0x5d89,0x5e62d));export class DispatcherAdapter{['dispatchRequest'](_0x5ed5e9){}[_0x5676ef(0x101)](_0xf81cc4){}[_0x5676ef(0xff)](_0x5e48a7){}} \ No newline at end of file +function _0x8779(_0x182efc,_0x1ba152){var _0x570779=_0x5707();return _0x8779=function(_0x8779d5,_0x17c22e){_0x8779d5=_0x8779d5-0x1b1;var _0x2d383c=_0x570779[_0x8779d5];return _0x2d383c;},_0x8779(_0x182efc,_0x1ba152);}var _0x440ffd=_0x8779;(function(_0x2815cf,_0x4fb7a7){var _0x1df47a=_0x8779,_0x45bd26=_0x2815cf();while(!![]){try{var _0x116c42=parseInt(_0x1df47a(0x1ba))/0x1+parseInt(_0x1df47a(0x1b3))/0x2*(parseInt(_0x1df47a(0x1b6))/0x3)+-parseInt(_0x1df47a(0x1b8))/0x4+-parseInt(_0x1df47a(0x1bc))/0x5+-parseInt(_0x1df47a(0x1b7))/0x6*(-parseInt(_0x1df47a(0x1bb))/0x7)+parseInt(_0x1df47a(0x1b2))/0x8*(parseInt(_0x1df47a(0x1b1))/0x9)+parseInt(_0x1df47a(0x1b4))/0xa;if(_0x116c42===_0x4fb7a7)break;else _0x45bd26['push'](_0x45bd26['shift']());}catch(_0x9117fe){_0x45bd26['push'](_0x45bd26['shift']());}}}(_0x5707,0xe0eed));function _0x5707(){var _0x395265=['9MvrRRi','10015736NowFZn','2EtrWJE','969550nqHxgu','dispatchCallWithJson','3385617QYqbVj','102nhirny','5806788eJHvsG','dispatchCall','1017688ayQcFu','228851tkJMMq','8389540ZeRmtD','dispatchRequest'];_0x5707=function(){return _0x395265;};return _0x5707();}export class DispatcherAdapter{[_0x440ffd(0x1bd)](_0x2521be){}[_0x440ffd(0x1b9)](_0x3177ca){}[_0x440ffd(0x1b5)](_0x3fd151){}} \ 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 0789cc5e..e522e728 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x5969b5=_0x648f;(function(_0x2e5b6b,_0x537384){var _0x392e47=_0x648f,_0x222f7f=_0x2e5b6b();while(!![]){try{var _0x3393d4=-parseInt(_0x392e47(0x1f6))/0x1*(-parseInt(_0x392e47(0x1fc))/0x2)+-parseInt(_0x392e47(0x1fa))/0x3+parseInt(_0x392e47(0x1f0))/0x4*(parseInt(_0x392e47(0x1f9))/0x5)+-parseInt(_0x392e47(0x1f5))/0x6+parseInt(_0x392e47(0x1f7))/0x7*(-parseInt(_0x392e47(0x1ef))/0x8)+-parseInt(_0x392e47(0x1fb))/0x9+-parseInt(_0x392e47(0x1fd))/0xa*(-parseInt(_0x392e47(0x1f4))/0xb);if(_0x3393d4===_0x537384)break;else _0x222f7f['push'](_0x222f7f['shift']());}catch(_0x188d3d){_0x222f7f['push'](_0x222f7f['shift']());}}}(_0x200b,0x5183c));function _0x648f(_0x459708,_0x5021fc){var _0x200be7=_0x200b();return _0x648f=function(_0x648fc5,_0x5ad5e9){_0x648fc5=_0x648fc5-0x1ef;var _0x5f58ef=_0x200be7[_0x648fc5];return _0x5f58ef;},_0x648f(_0x459708,_0x5021fc);}function _0x200b(){var _0x27af87=['2110yJeksz','1962246oZlEUS','4789350GBUiol','36fzDwZn','243730JXrBXC','onGetSrvCalTime','48936GVHAAb','5540KcCnpw','fixPicImgType','onUpdateGeneralFlag','onLog','407fYllKo','1345488GZlWjQ','21475xNAgeJ','147viHBLw','onInstallFinished'];_0x200b=function(){return _0x27af87;};return _0x200b();}export class GlobalAdapter{[_0x5969b5(0x1f3)](..._0x4cd67a){}[_0x5969b5(0x1fe)](..._0x53d3e9){}['onShowErrUITips'](..._0x10e098){}[_0x5969b5(0x1f1)](..._0x83880a){}['getAppSetting'](..._0x19369d){}[_0x5969b5(0x1f8)](..._0x5918ba){}[_0x5969b5(0x1f2)](..._0x334fda){}['onGetOfflineMsg'](..._0xf51674){}} \ No newline at end of file +var _0x55d8d8=_0x5499;(function(_0x7fab98,_0x88ce4b){var _0x4c3bc5=_0x5499,_0x4d63e2=_0x7fab98();while(!![]){try{var _0x1e4d71=parseInt(_0x4c3bc5(0x170))/0x1*(-parseInt(_0x4c3bc5(0x16e))/0x2)+parseInt(_0x4c3bc5(0x16b))/0x3*(parseInt(_0x4c3bc5(0x178))/0x4)+-parseInt(_0x4c3bc5(0x179))/0x5+parseInt(_0x4c3bc5(0x17a))/0x6+parseInt(_0x4c3bc5(0x176))/0x7*(-parseInt(_0x4c3bc5(0x175))/0x8)+parseInt(_0x4c3bc5(0x177))/0x9*(parseInt(_0x4c3bc5(0x173))/0xa)+parseInt(_0x4c3bc5(0x171))/0xb;if(_0x1e4d71===_0x88ce4b)break;else _0x4d63e2['push'](_0x4d63e2['shift']());}catch(_0x55cb83){_0x4d63e2['push'](_0x4d63e2['shift']());}}}(_0x5600,0xd9b92));function _0x5499(_0x517676,_0x518f01){var _0x56007d=_0x5600();return _0x5499=function(_0x5499bc,_0x59e170){_0x5499bc=_0x5499bc-0x16b;var _0x58cffd=_0x56007d[_0x5499bc];return _0x58cffd;},_0x5499(_0x517676,_0x518f01);}export class GlobalAdapter{[_0x55d8d8(0x16c)](..._0x433054){}[_0x55d8d8(0x172)](..._0x473890){}['onShowErrUITips'](..._0x37626c){}['fixPicImgType'](..._0x2f20a3){}['getAppSetting'](..._0x4f2cde){}[_0x55d8d8(0x16d)](..._0xf99b3d){}[_0x55d8d8(0x16f)](..._0x1f249d){}[_0x55d8d8(0x174)](..._0x2f3017){}}function _0x5600(){var _0x2e4fdc=['210wzPnVI','onGetOfflineMsg','4467112ubWRgb','21UVuMxo','656037GYRugw','3170916mMLtWL','4082750iLfpJh','1325094nwmwVW','3GPfRlM','onLog','onInstallFinished','41284gpniEA','onUpdateGeneralFlag','66CowbAe','24217072RtohOA','onGetSrvCalTime'];_0x5600=function(){return _0x2e4fdc;};return _0x5600();} \ 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 491053a1..6832b2b6 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x4c96(){var _0x564383=['480hqnzId','27790IeIBqZ','30AZvOeB','60354qNVEll','413611LzSUdm','1508454vPtBkh','3iXDfng','4059hpIePC','26148sfNiWG','1096uRvExm','1329638RwNvBG','26444aSdHqz'];_0x4c96=function(){return _0x564383;};return _0x4c96();}(function(_0x3ea820,_0x55d7cd){var _0x37b964=_0x296f,_0x2c7e67=_0x3ea820();while(!![]){try{var _0x1913b0=-parseInt(_0x37b964(0x182))/0x1+parseInt(_0x37b964(0x17c))/0x2*(parseInt(_0x37b964(0x184))/0x3)+parseInt(_0x37b964(0x17d))/0x4*(-parseInt(_0x37b964(0x17e))/0x5)+-parseInt(_0x37b964(0x181))/0x6+parseInt(_0x37b964(0x17f))/0x7*(-parseInt(_0x37b964(0x17b))/0x8)+-parseInt(_0x37b964(0x183))/0x9*(-parseInt(_0x37b964(0x180))/0xa)+-parseInt(_0x37b964(0x185))/0xb*(-parseInt(_0x37b964(0x17a))/0xc);if(_0x1913b0===_0x55d7cd)break;else _0x2c7e67['push'](_0x2c7e67['shift']());}catch(_0x37256a){_0x2c7e67['push'](_0x2c7e67['shift']());}}}(_0x4c96,0x5a340));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x296f(_0x210b60,_0x58f4fc){var _0x4c967e=_0x4c96();return _0x296f=function(_0x296f8e,_0x5e96bb){_0x296f8e=_0x296f8e-0x17a;var _0x466ae3=_0x4c967e[_0x296f8e];return _0x466ae3;},_0x296f(_0x210b60,_0x58f4fc);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x550740,_0x1f7ea3){var _0x578011=_0x2235,_0x4b0b9d=_0x550740();while(!![]){try{var _0x17c7ea=parseInt(_0x578011(0x198))/0x1+parseInt(_0x578011(0x195))/0x2+parseInt(_0x578011(0x197))/0x3+parseInt(_0x578011(0x19a))/0x4+parseInt(_0x578011(0x196))/0x5+parseInt(_0x578011(0x199))/0x6+-parseInt(_0x578011(0x194))/0x7;if(_0x17c7ea===_0x1f7ea3)break;else _0x4b0b9d['push'](_0x4b0b9d['shift']());}catch(_0x12a135){_0x4b0b9d['push'](_0x4b0b9d['shift']());}}}(_0x1e89,0xb7851));export*from'./NodeIDependsAdapter';function _0x2235(_0x3e20eb,_0x1d2666){var _0x1e89a=_0x1e89();return _0x2235=function(_0x2235f7,_0x5c8521){_0x2235f7=_0x2235f7-0x194;var _0x358172=_0x1e89a[_0x2235f7];return _0x358172;},_0x2235(_0x3e20eb,_0x1d2666);}function _0x1e89(){var _0x38391c=['2008533SSSpSP','786580LuXQUa','4922532kbygSo','66440AKumhc','17526026GtAYub','510490CHEgYB','3535235CfrsYM'];_0x1e89=function(){return _0x38391c;};return _0x1e89();}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 9b95c23d..71b0e8d3 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x13d265=_0x476b;(function(_0x39ca06,_0x584da5){const _0x434280=_0x476b,_0x15bdc5=_0x39ca06();while(!![]){try{const _0x45f2bc=parseInt(_0x434280(0x107))/0x1+parseInt(_0x434280(0x140))/0x2+parseInt(_0x434280(0x100))/0x3+-parseInt(_0x434280(0x118))/0x4*(-parseInt(_0x434280(0x13b))/0x5)+parseInt(_0x434280(0x116))/0x6+parseInt(_0x434280(0xff))/0x7*(-parseInt(_0x434280(0x103))/0x8)+-parseInt(_0x434280(0x12c))/0x9;if(_0x45f2bc===_0x584da5)break;else _0x15bdc5['push'](_0x15bdc5['shift']());}catch(_0x7dc01a){_0x15bdc5['push'](_0x15bdc5['shift']());}}}(_0x5286,0x5c3f7));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2a4948 from'path';import _0x7391f3 from'fs';import _0x4ae4d3 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x5286(){const _0x243c94=['clearChatCache','hNvfY','msgId','indexOf','toUpperCase','getDesktopTmpPath','basename','getImageUrl','downloadRichMedia','group_rkey','11779065bRIUjN','set','ext','copyFile','hotUpdate','Xbzuw','CkgRV','fileUuid','session','wFvhS','getFileType','getChatCacheList','tmp','setCacheSilentScan','getRkey','142315szHtaF','getFileSize','getMsgService','scanCache','PnlJp','850386NOBauw','originImageUrl','VGJaD','PIC','CPHjX','Hbkuf','unlink','66402LALnFs','1713009neMFrp','onLoginSuccess','includes','232QnAmJB','private_rkey','getStorageCleanService','getCacheSessionPathList','633706QyfGuD','JuaVF','md5HexStr','下载超时','uploadFile','downloadMedia','/gchatpic_new/0/0-0-','addCacheScanedPaths','getRichMediaFilePathForGuild','mSKWR','defaultFileDownloadPath','qvqQL','util','getHotUpdateCachePath','NMkFA','1137054tirrBx','pXVnB','20WpxOYz','图片url获取失败','existsSync','addListener','fileTypeFromFile','filePath','clearCache','join','startsWith','XajVF'];_0x5286=function(){return _0x243c94;};return _0x5286();}import*as _0x5426b0 from'file-type';import{MsgListener}from'@/core/listeners';import _0x10cabb from'image-size';function _0x476b(_0x52c07e,_0x490d0a){const _0x5286a9=_0x5286();return _0x476b=function(_0x476b01,_0x518fe7){_0x476b01=_0x476b01-0xfb;let _0x27f2d4=_0x5286a9[_0x476b01];return _0x27f2d4;},_0x476b(_0x52c07e,_0x490d0a);}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['onRichMediaDownloadComplete']=_0x8b3e3c=>{const _0x4519a4={'ZghID':function(_0x709300,_0x4768e1){return _0x709300(_0x4768e1);}};for(const [_0x563fde,_0x445c81]of downloadMediaTasks){_0x4519a4['ZghID'](_0x445c81,_0x8b3e3c),downloadMediaTasks['delete'](_0x563fde);}},setTimeout(()=>{const _0x1d70ee=_0x476b;napCatCore[_0x1d70ee(0x101)](()=>{const _0x25e56a=_0x1d70ee;napCatCore[_0x25e56a(0x11b)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x13d265(0x136)](_0x50adf1){const _0x15dbe2=_0x13d265;return _0x5426b0[_0x15dbe2(0x11c)](_0x50adf1);}static async[_0x13d265(0x12f)](_0x170da5,_0x49eb05){const _0xcba571=_0x13d265;await napCatCore[_0xcba571(0x113)][_0xcba571(0x12f)](_0x170da5,_0x49eb05);}static async[_0x13d265(0x13c)](_0x2e2e82){const _0x23a7b3=_0x13d265;return await napCatCore['util'][_0x23a7b3(0x13c)](_0x2e2e82);}static async[_0x13d265(0x10b)](_0x41f21b,_0x68f6e9=ElementType[_0x13d265(0xfb)],_0x5c28a4=0x0){const _0x257d43=_0x13d265,_0x497d36={'dmZKt':function(_0x37e15c,_0x315a8c){return _0x37e15c(_0x315a8c);},'JuaVF':function(_0x2b6b57,_0x3f95b7){return _0x2b6b57+_0x3f95b7;},'CkgRV':function(_0x3a97d7,_0x4c4083){return _0x3a97d7===_0x4c4083;}},_0x5328bd=await _0x497d36['dmZKt'](calculateFileMD5,_0x41f21b);let _0x114b1f=(await NTQQFileApi[_0x257d43(0x136)](_0x41f21b))?.[_0x257d43(0x12e)]||'';_0x114b1f&&(_0x114b1f=_0x497d36[_0x257d43(0x108)]('.',_0x114b1f));let _0x2d56b7=''+_0x2a4948[_0x257d43(0x128)](_0x41f21b);_0x497d36[_0x257d43(0x132)](_0x2d56b7[_0x257d43(0x125)]('.'),-0x1)&&(_0x2d56b7+=_0x114b1f);const _0x4cfbb5=napCatCore[_0x257d43(0x134)][_0x257d43(0x13d)]()[_0x257d43(0x10f)]({'md5HexStr':_0x5328bd,'fileName':_0x2d56b7,'elementType':_0x68f6e9,'elementSubType':_0x5c28a4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x257d43(0x12f)](_0x41f21b,_0x4cfbb5);const _0x31316d=await NTQQFileApi['getFileSize'](_0x41f21b);return{'md5':_0x5328bd,'fileName':_0x2d56b7,'path':_0x4cfbb5,'fileSize':_0x31316d,'ext':_0x114b1f};}static async[_0x13d265(0x10c)](_0x447f91,_0x218371,_0x2c3182,_0x26d494,_0x146d00,_0x323a3b,_0x5c50ad=0x3e8*0x3c*0x2,_0x10a123=![]){const _0x41928c=_0x13d265,_0x4d6a64={'wFvhS':function(_0x133a40,_0x154df2){return _0x133a40===_0x154df2;},'mSKWR':function(_0x24fa1d){return _0x24fa1d();},'rqkDm':function(_0x43374e,_0x1e1805,_0x4bc9b6){return _0x43374e(_0x1e1805,_0x4bc9b6);}};if(_0x323a3b&&_0x7391f3[_0x41928c(0x11a)](_0x323a3b)){if(_0x10a123)try{await _0x4ae4d3[_0x41928c(0xfe)](_0x323a3b);}catch(_0xb62c22){}else return _0x323a3b;}return new Promise((_0x3bbb5b,_0x26b9c7)=>{const _0x44dc9f=_0x41928c,_0x83110a={'qvqQL':function(_0x52e1bc,_0x10acb2){const _0x1c0d03=_0x476b;return _0x4d6a64[_0x1c0d03(0x135)](_0x52e1bc,_0x10acb2);},'XajVF':function(_0x101fd0,_0x5a0c46){return _0x101fd0(_0x5a0c46);}};let _0x4f55d1=![];const _0x1a8782=_0x20fdd4=>{const _0xe3ad48=_0x476b;if(_0x83110a[_0xe3ad48(0x112)](_0x20fdd4[_0xe3ad48(0x124)],_0x447f91)){_0x4f55d1=!![];let _0x2833b0=_0x20fdd4[_0xe3ad48(0x11d)];if(_0x2833b0[_0xe3ad48(0x120)]('\x5c')){const _0x4f1d4a=sessionConfig[_0xe3ad48(0x111)];_0x2833b0=_0x2a4948[_0xe3ad48(0x11f)](_0x4f1d4a,_0x2833b0);}_0x83110a['XajVF'](_0x3bbb5b,_0x2833b0);}};downloadMediaTasks[_0x44dc9f(0x12d)](_0x4d6a64[_0x44dc9f(0x110)](randomUUID),_0x1a8782),_0x4d6a64['rqkDm'](setTimeout,()=>{const _0x25d90d=_0x44dc9f;!_0x4f55d1&&_0x83110a[_0x25d90d(0x121)](_0x26b9c7,_0x25d90d(0x10a));},_0x5c50ad),napCatCore['session']['getMsgService']()[_0x44dc9f(0x12a)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x447f91,'chatType':_0x218371,'peerUid':_0x2c3182,'elementId':_0x26d494,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x146d00});});}static async['getImageSize'](_0x4e0fa){const _0x41cc5e={'VGJaD':function(_0x162481,_0x589f0d){return _0x162481(_0x589f0d);},'Xbzuw':function(_0x215b69,_0x387943,_0x5b374c){return _0x215b69(_0x387943,_0x5b374c);}};return new Promise((_0x27298d,_0x16a9e3)=>{const _0x3223be=_0x476b;_0x41cc5e[_0x3223be(0x131)](_0x10cabb,_0x4e0fa,(_0x1c44fb,_0x540964)=>{const _0x16a713=_0x3223be;_0x1c44fb?_0x16a9e3(_0x1c44fb):_0x41cc5e[_0x16a713(0x142)](_0x27298d,_0x540964);});});}static async[_0x13d265(0x129)](_0x38ff07,_0xbffb1a){const _0xb3049f=_0x13d265,_0x383a09={'pXVnB':'/download','CzpVV':'&rkey=','Hbkuf':function(_0x57581f,_0x448d03){return _0x57581f+_0x448d03;},'hNvfY':function(_0x31e2ee,_0x37aa49){return _0x31e2ee+_0x37aa49;},'PnlJp':function(_0x2ad662,_0x3f1440){return _0x2ad662||_0x3f1440;},'NMkFA':function(_0x1c0963,_0x28895b,_0x45530d){return _0x1c0963(_0x28895b,_0x45530d);},'CPHjX':_0xb3049f(0x119)};if(!_0x38ff07)return'';const _0x110a8e=_0x38ff07[_0xb3049f(0x141)],_0x3f719e=_0x38ff07['md5HexStr'],_0x29b77a=_0x38ff07[_0xb3049f(0x109)],_0x4968b6=_0x38ff07[_0xb3049f(0x133)];if(_0x110a8e){if(_0x110a8e['startsWith'](_0x383a09[_0xb3049f(0x117)])){if(_0x110a8e[_0xb3049f(0x102)](_0x383a09['CzpVV']))return _0x383a09[_0xb3049f(0xfd)](IMAGE_HTTP_HOST_NT,_0x110a8e);const _0x41ed23=await rkeyManager[_0xb3049f(0x13a)](),_0x1f2da0=_0xbffb1a?_0x41ed23[_0xb3049f(0x104)]:_0x41ed23[_0xb3049f(0x12b)];return _0x383a09[_0xb3049f(0x123)](_0x383a09[_0xb3049f(0x123)](IMAGE_HTTP_HOST_NT,_0x110a8e),''+_0x1f2da0);}else return _0x383a09[_0xb3049f(0x123)](IMAGE_HTTP_HOST,_0x110a8e);}else{if(_0x29b77a||_0x3f719e)return IMAGE_HTTP_HOST+_0xb3049f(0x10d)+_0x383a09[_0xb3049f(0x13f)](_0x29b77a,_0x3f719e)[_0xb3049f(0x126)]()+'/0';}return _0x383a09[_0xb3049f(0x115)](logDebug,_0x383a09[_0xb3049f(0xfc)],_0x38ff07),'';}}export class NTQQFileCacheApi{static async[_0x13d265(0x139)](_0x8a9962=!![]){return'';}static[_0x13d265(0x106)](){return'';}static[_0x13d265(0x11e)](_0x95c34f=[_0x13d265(0x138),_0x13d265(0x130)]){const _0x141ce5=_0x13d265;return napCatCore[_0x141ce5(0x134)][_0x141ce5(0x105)]()['clearCacheDataByKeys'](_0x95c34f);}static['addCacheScannedPaths'](_0x590692={}){const _0x1e45ff=_0x13d265;return napCatCore[_0x1e45ff(0x134)][_0x1e45ff(0x105)]()[_0x1e45ff(0x10e)](_0x590692);}static[_0x13d265(0x13e)](){const _0x280e9b=_0x13d265;return napCatCore[_0x280e9b(0x134)][_0x280e9b(0x105)]()['scanCache']();}static[_0x13d265(0x114)](){return'';}static[_0x13d265(0x127)](){return'';}static[_0x13d265(0x137)](_0x3096ea,_0x33b513=0x3e8,_0x1ae037=0x0){const _0x460061=_0x13d265;return napCatCore[_0x460061(0x134)]['getStorageCleanService']()['getChatCacheInfo'](_0x3096ea,_0x33b513,0x1,_0x1ae037);}static['getFileCacheInfo'](_0xa32801,_0xc30459=0x3e8,_0x3015f9){const _0x354b1e=_0x3015f9?_0x3015f9:{'fileType':_0xa32801};}static async[_0x13d265(0x122)](_0x322ee8=[],_0x3a5d55=[]){const _0x604cf7=_0x13d265;return napCatCore['session'][_0x604cf7(0x105)]()['clearChatCacheInfo'](_0x322ee8,_0x3a5d55);}} \ No newline at end of file +const _0x1e5772=_0x1b14;(function(_0x222e52,_0x5b0d6a){const _0x5a6ca8=_0x1b14,_0x32c37f=_0x222e52();while(!![]){try{const _0x3759ea=-parseInt(_0x5a6ca8(0x184))/0x1*(parseInt(_0x5a6ca8(0x192))/0x2)+parseInt(_0x5a6ca8(0x182))/0x3+-parseInt(_0x5a6ca8(0x198))/0x4+-parseInt(_0x5a6ca8(0x190))/0x5*(parseInt(_0x5a6ca8(0x16f))/0x6)+parseInt(_0x5a6ca8(0x17e))/0x7+parseInt(_0x5a6ca8(0x194))/0x8+-parseInt(_0x5a6ca8(0x158))/0x9*(-parseInt(_0x5a6ca8(0x162))/0xa);if(_0x3759ea===_0x5b0d6a)break;else _0x32c37f['push'](_0x32c37f['shift']());}catch(_0x5d985c){_0x32c37f['push'](_0x32c37f['shift']());}}}(_0x6aa9,0xb5f98));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3f2bc9 from'path';import _0x4e3ae1 from'fs';import _0x3f8494 from'fs/promises';function _0x6aa9(){const _0x2252c5=['&rkey=','8498063LEMmzd','ext','hotUpdate','oWmEP','1789326Hppmdu','getDesktopTmpPath','1389lZuewn','hVTsn','clearChatCache','getChatCacheList','dwhsY','DsVIm','clearChatCacheInfo','getCacheSessionPathList','defaultFileDownloadPath','AnfkM','KBQNg','fileTypeFromFile','266885jwIMbJ','uploadFile','1200UMDwyM','downloadRichMedia','307512bssvMM','unlink','util','set','2778016eSYWTl','filePath','clearCache','/gchatpic_new/0/0-0-','setCacheSilentScan','group_rkey','getFileSize','downloadMedia','75321Vwapim','tDXkm','图片url获取失败','getStorageCleanService','originImageUrl','/download','getFileCacheInfo','WwsTX','下载超时','rqEPf','1400XcbDUe','getFileType','onLoginSuccess','clearCacheDataByKeys','tmp','basename','copyFile','session','getHotUpdateCachePath','apDIy','jFQJe','eOZNV','scanCache','84kTtXGo','msgId','startsWith','getRichMediaFilePathForGuild','MWFDq','addListener','addCacheScanedPaths','PIC','getMsgService','md5HexStr','getImageUrl','includes','indexOf','getChatCacheInfo'];_0x6aa9=function(){return _0x2252c5;};return _0x6aa9();}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x373f31 from'file-type';import{MsgListener}from'@/core/listeners';import _0x40f49d from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x1b14(_0x49743a,_0x320ce7){const _0x6aa936=_0x6aa9();return _0x1b14=function(_0x1b1430,_0x344e91){_0x1b1430=_0x1b1430-0x155;let _0x4332e1=_0x6aa936[_0x1b1430];return _0x4332e1;},_0x1b14(_0x49743a,_0x320ce7);}import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x40139b=>{const _0x17a051=_0x1b14,_0x27640b={'AnfkM':function(_0x1e55ce,_0x3f3115){return _0x1e55ce(_0x3f3115);}};for(const [_0x3c26c7,_0x51654c]of downloadMediaTasks){_0x27640b[_0x17a051(0x18d)](_0x51654c,_0x40139b),downloadMediaTasks['delete'](_0x3c26c7);}},setTimeout(()=>{const _0x52197d=_0x1b14;napCatCore[_0x52197d(0x164)](()=>{const _0x2e4c48=_0x52197d;napCatCore[_0x2e4c48(0x174)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1e5772(0x163)](_0x550d98){const _0x17f066=_0x1e5772;return _0x373f31[_0x17f066(0x18f)](_0x550d98);}static async[_0x1e5772(0x168)](_0x595efe,_0x4b2ff0){const _0x232fad=_0x1e5772;await napCatCore[_0x232fad(0x196)][_0x232fad(0x168)](_0x595efe,_0x4b2ff0);}static async[_0x1e5772(0x156)](_0x2683ce){const _0x5223f7=_0x1e5772;return await napCatCore[_0x5223f7(0x196)]['getFileSize'](_0x2683ce);}static async[_0x1e5772(0x191)](_0x20d64c,_0x2bbbe9=ElementType[_0x1e5772(0x176)],_0x1ab51b=0x0){const _0x11336c=_0x1e5772,_0x14c53e={'kClMV':function(_0x40dc25,_0x388a39){return _0x40dc25+_0x388a39;},'tDXkm':function(_0x3e90f0,_0x304bf0){return _0x3e90f0===_0x304bf0;}},_0x50b2b7=await calculateFileMD5(_0x20d64c);let _0x369ccc=(await NTQQFileApi[_0x11336c(0x163)](_0x20d64c))?.[_0x11336c(0x17f)]||'';_0x369ccc&&(_0x369ccc=_0x14c53e['kClMV']('.',_0x369ccc));let _0x2cfcef=''+_0x3f2bc9[_0x11336c(0x167)](_0x20d64c);_0x14c53e[_0x11336c(0x159)](_0x2cfcef[_0x11336c(0x17b)]('.'),-0x1)&&(_0x2cfcef+=_0x369ccc);const _0xc8a946=napCatCore[_0x11336c(0x169)]['getMsgService']()[_0x11336c(0x172)]({'md5HexStr':_0x50b2b7,'fileName':_0x2cfcef,'elementType':_0x2bbbe9,'elementSubType':_0x1ab51b,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x11336c(0x168)](_0x20d64c,_0xc8a946);const _0x1a8632=await NTQQFileApi[_0x11336c(0x156)](_0x20d64c);return{'md5':_0x50b2b7,'fileName':_0x2cfcef,'path':_0xc8a946,'fileSize':_0x1a8632,'ext':_0x369ccc};}static async[_0x1e5772(0x157)](_0xd9a88e,_0x305cbc,_0x586106,_0x461fda,_0x2bf00b,_0x5c598f,_0x262895=0x3e8*0x3c*0x2,_0x308cf4=![]){const _0x4f275d=_0x1e5772,_0x3a1fbe={'apDIy':_0x4f275d(0x160),'dwhsY':function(_0x14f403){return _0x14f403();},'jFQJe':function(_0x5d6e8c,_0x54241b,_0x4f166d){return _0x5d6e8c(_0x54241b,_0x4f166d);}};if(_0x5c598f&&_0x4e3ae1['existsSync'](_0x5c598f)){if(_0x308cf4)try{await _0x3f8494[_0x4f275d(0x195)](_0x5c598f);}catch(_0x212de7){}else return _0x5c598f;}return new Promise((_0x5caecc,_0xcb7a0a)=>{const _0x3cb81c=_0x4f275d,_0x2d0762={'hVTsn':function(_0x6de315,_0x43ccca){return _0x6de315===_0x43ccca;},'eOZNV':_0x3a1fbe[_0x3cb81c(0x16b)]};let _0x481bff=![];const _0x53eb5a=_0x3eabe9=>{const _0x4948ca=_0x3cb81c;if(_0x2d0762[_0x4948ca(0x185)](_0x3eabe9[_0x4948ca(0x170)],_0xd9a88e)){_0x481bff=!![];let _0x1c0799=_0x3eabe9[_0x4948ca(0x199)];if(_0x1c0799[_0x4948ca(0x171)]('\x5c')){const _0x22cc61=sessionConfig[_0x4948ca(0x18c)];_0x1c0799=_0x3f2bc9['join'](_0x22cc61,_0x1c0799);}_0x5caecc(_0x1c0799);}};downloadMediaTasks[_0x3cb81c(0x197)](_0x3a1fbe[_0x3cb81c(0x188)](randomUUID),_0x53eb5a),_0x3a1fbe[_0x3cb81c(0x16c)](setTimeout,()=>{const _0x1a7cec=_0x3cb81c;!_0x481bff&&_0xcb7a0a(_0x2d0762[_0x1a7cec(0x16d)]);},_0x262895),napCatCore[_0x3cb81c(0x169)][_0x3cb81c(0x177)]()[_0x3cb81c(0x193)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xd9a88e,'chatType':_0x305cbc,'peerUid':_0x586106,'elementId':_0x461fda,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2bf00b});});}static async['getImageSize'](_0x29b790){const _0x576537={'WwsTX':function(_0x5d751d,_0x17e439,_0xa101a6){return _0x5d751d(_0x17e439,_0xa101a6);}};return new Promise((_0x5794ef,_0x359821)=>{const _0x38aa84=_0x1b14;_0x576537[_0x38aa84(0x15f)](_0x40f49d,_0x29b790,(_0x2ca4fa,_0x3011bb)=>{_0x2ca4fa?_0x359821(_0x2ca4fa):_0x5794ef(_0x3011bb);});});}static async[_0x1e5772(0x179)](_0x3ffb53,_0x313452){const _0x555e04=_0x1e5772,_0x1656be={'KBQNg':_0x555e04(0x15d),'DsVIm':_0x555e04(0x17d),'LrbZb':function(_0x39757f,_0x4c5da2){return _0x39757f+_0x4c5da2;},'KMzym':function(_0x412964,_0x2d0cd9){return _0x412964+_0x2d0cd9;},'MWFDq':function(_0x8bcfdc,_0x4eefcf){return _0x8bcfdc+_0x4eefcf;},'oWmEP':function(_0x2feb1f,_0xc134a7){return _0x2feb1f+_0xc134a7;},'eTwFm':function(_0x390e1d,_0xcc03ec){return _0x390e1d||_0xcc03ec;},'ZzHXG':function(_0x1cf537,_0x2073da){return _0x1cf537||_0x2073da;},'rqEPf':function(_0x25e021,_0x18ae43,_0x23127e){return _0x25e021(_0x18ae43,_0x23127e);},'lJmkV':_0x555e04(0x15a)};if(!_0x3ffb53)return'';const _0x2bd4eb=_0x3ffb53[_0x555e04(0x15c)],_0x206164=_0x3ffb53[_0x555e04(0x178)],_0x367be3=_0x3ffb53['md5HexStr'],_0x540a33=_0x3ffb53['fileUuid'];if(_0x2bd4eb){if(_0x2bd4eb['startsWith'](_0x1656be[_0x555e04(0x18e)])){if(_0x2bd4eb[_0x555e04(0x17a)](_0x1656be[_0x555e04(0x189)]))return _0x1656be['LrbZb'](IMAGE_HTTP_HOST_NT,_0x2bd4eb);const _0x46322b=await rkeyManager['getRkey'](),_0x5326a5=_0x313452?_0x46322b['private_rkey']:_0x46322b[_0x555e04(0x155)];return _0x1656be['KMzym'](_0x1656be[_0x555e04(0x173)](IMAGE_HTTP_HOST_NT,_0x2bd4eb),''+_0x5326a5);}else return _0x1656be[_0x555e04(0x181)](IMAGE_HTTP_HOST,_0x2bd4eb);}else{if(_0x1656be['eTwFm'](_0x367be3,_0x206164))return IMAGE_HTTP_HOST+_0x555e04(0x19b)+_0x1656be['ZzHXG'](_0x367be3,_0x206164)['toUpperCase']()+'/0';}return _0x1656be[_0x555e04(0x161)](logDebug,_0x1656be['lJmkV'],_0x3ffb53),'';}}export class NTQQFileCacheApi{static async[_0x1e5772(0x19c)](_0x481c8f=!![]){return'';}static[_0x1e5772(0x18b)](){return'';}static[_0x1e5772(0x19a)](_0x4b60f5=[_0x1e5772(0x166),_0x1e5772(0x180)]){const _0x13f622=_0x1e5772;return napCatCore[_0x13f622(0x169)]['getStorageCleanService']()[_0x13f622(0x165)](_0x4b60f5);}static['addCacheScannedPaths'](_0x479c61={}){const _0x463dd7=_0x1e5772;return napCatCore[_0x463dd7(0x169)]['getStorageCleanService']()[_0x463dd7(0x175)](_0x479c61);}static[_0x1e5772(0x16e)](){const _0x5a4808=_0x1e5772;return napCatCore[_0x5a4808(0x169)][_0x5a4808(0x15b)]()[_0x5a4808(0x16e)]();}static[_0x1e5772(0x16a)](){return'';}static[_0x1e5772(0x183)](){return'';}static[_0x1e5772(0x187)](_0x5cfe11,_0x3bded8=0x3e8,_0x5ce2c6=0x0){const _0x48788b=_0x1e5772;return napCatCore[_0x48788b(0x169)]['getStorageCleanService']()[_0x48788b(0x17c)](_0x5cfe11,_0x3bded8,0x1,_0x5ce2c6);}static[_0x1e5772(0x15e)](_0x21cf8c,_0x56891c=0x3e8,_0x44d9ad){const _0x1bb14a=_0x44d9ad?_0x44d9ad:{'fileType':_0x21cf8c};}static async[_0x1e5772(0x186)](_0x2840ac=[],_0x4d8213=[]){const _0x5b862d=_0x1e5772;return napCatCore[_0x5b862d(0x169)]['getStorageCleanService']()[_0x5b862d(0x18a)](_0x2840ac,_0x4d8213);}} \ 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 cb61f4c2..066a3ef2 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x50b69a=_0xb7af;(function(_0x49561b,_0x466f91){const _0x2024d3=_0xb7af,_0x1b6a68=_0x49561b();while(!![]){try{const _0x1c4700=parseInt(_0x2024d3(0x73))/0x1*(parseInt(_0x2024d3(0x93))/0x2)+parseInt(_0x2024d3(0x8b))/0x3*(-parseInt(_0x2024d3(0x6f))/0x4)+-parseInt(_0x2024d3(0x91))/0x5+-parseInt(_0x2024d3(0x89))/0x6+parseInt(_0x2024d3(0x87))/0x7*(-parseInt(_0x2024d3(0x78))/0x8)+-parseInt(_0x2024d3(0x79))/0x9+parseInt(_0x2024d3(0x86))/0xa*(parseInt(_0x2024d3(0x7c))/0xb);if(_0x1c4700===_0x466f91)break;else _0x1b6a68['push'](_0x1b6a68['shift']());}catch(_0x4c3cc6){_0x1b6a68['push'](_0x1b6a68['shift']());}}}(_0x205d,0x530ec));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0xb7af(_0x2b2f77,_0x52a784){const _0x205d86=_0x205d();return _0xb7af=function(_0xb7af5,_0x49fb4b){_0xb7af5=_0xb7af5-0x6e;let _0x51898b=_0x205d86[_0xb7af5];return _0x51898b;},_0xb7af(_0x2b2f77,_0x52a784);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x50b69a(0x74)]=_0x4d9c68=>{const _0x37af23=_0x50b69a,_0x31aa08={'mzKVs':function(_0x7f37fb,_0x2dfeb1){return _0x7f37fb(_0x2dfeb1);}};for(const [_0x275511,_0x12df34]of buddyChangeTasks){_0x31aa08[_0x37af23(0x81)](_0x12df34,_0x4d9c68),buddyChangeTasks[_0x37af23(0x8e)](_0x275511);}},setTimeout(()=>{const _0x6fe4aa=_0x50b69a;napCatCore[_0x6fe4aa(0x75)](()=>{const _0x2e11fb=_0x6fe4aa;napCatCore[_0x2e11fb(0x80)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x50b69a(0x8c)](_0x54e974=![]){const _0x324411=_0x50b69a,_0x44693f={'FqrpM':function(_0x3afe93,_0x33aed7){return _0x3afe93(_0x33aed7);},'RThMz':function(_0x407758,_0x5ea025){return _0x407758(_0x5ea025);},'aMcav':function(_0x226af9,_0x439972,_0x5b8805){return _0x226af9(_0x439972,_0x5b8805);},'iWFZN':_0x324411(0x83),'HFvch':function(_0x425288,_0x2a4369,_0x12bc0e){return _0x425288(_0x2a4369,_0x12bc0e);}};return new Promise((_0x52cb26,_0x4a1c32)=>{const _0x3702bd=_0x324411,_0x3642ee={'VDRGI':function(_0x2d47e,_0xb9c0f4){const _0x5f118b=_0xb7af;return _0x44693f[_0x5f118b(0x88)](_0x2d47e,_0xb9c0f4);},'gnCdZ':_0x3702bd(0x94),'SBFgi':function(_0xf163c4,_0x25efc0){const _0x36815b=_0x3702bd;return _0x44693f[_0x36815b(0x8d)](_0xf163c4,_0x25efc0);},'EDqUi':function(_0x4fa12f,_0x35d0b4,_0x5c4e0a){const _0x3f23ac=_0x3702bd;return _0x44693f[_0x3f23ac(0x90)](_0x4fa12f,_0x35d0b4,_0x5c4e0a);},'zybhj':_0x44693f[_0x3702bd(0x82)]};let _0x2533d=![];_0x44693f['HFvch'](setTimeout,()=>{const _0x5742f3=_0x3702bd;!_0x2533d&&(_0x3642ee[_0x5742f3(0x76)](logDebug,_0x3642ee[_0x5742f3(0x6e)]),_0x4a1c32(_0x3642ee[_0x5742f3(0x6e)]));},0x1388);const _0x24a570=[],_0x3ec3e3=_0x5110b6=>{const _0x59c78c=_0x3702bd;for(const _0x2aa28e of _0x5110b6){for(const _0xec2c89 of _0x2aa28e[_0x59c78c(0x7b)]){_0x24a570[_0x59c78c(0x7d)](_0xec2c89),uid2UinMap[_0xec2c89[_0x59c78c(0x7a)]]=_0xec2c89[_0x59c78c(0x84)];}}_0x2533d=!![],_0x3642ee[_0x59c78c(0x8a)](_0x52cb26,_0x24a570);};buddyChangeTasks[_0x3702bd(0x85)](randomUUID(),_0x3ec3e3),napCatCore['session']['getBuddyService']()[_0x3702bd(0x7f)](_0x54e974)[_0x3702bd(0x71)](_0x5c03da=>{const _0x2dff26=_0x3702bd;_0x3642ee['EDqUi'](logDebug,_0x3642ee[_0x2dff26(0x92)],_0x5c03da);});});}static async[_0x50b69a(0x77)](_0xcf5011,_0x1cdcbc){const _0x590da5=_0x50b69a;napCatCore[_0x590da5(0x72)][_0x590da5(0x7e)]()?.[_0x590da5(0x70)]({'friendUid':_0xcf5011['friendUid'],'reqTime':_0xcf5011[_0x590da5(0x8f)],'accept':_0x1cdcbc});}}function _0x205d(){const _0x3c1026=['8376ucNUSw','approvalFriendRequest','then','session','434597pJWeCS','onBuddyListChange','onLoginSuccess','VDRGI','handleFriendRequest','48eZkWkz','3824694pyBKoH','uid','buddyList','429GyJxXK','push','getBuddyService','getBuddyList','addListener','mzKVs','iWFZN','开始获取好友列表','uin','set','344670pEbwCU','36638NvbGpd','FqrpM','3667572thHfLR','SBFgi','48DSqcjw','getFriends','RThMz','delete','reqTime','aMcav','1687350GlhCmo','zybhj','2tvtQhj','获取好友列表超时','gnCdZ'];_0x205d=function(){return _0x3c1026;};return _0x205d();} \ No newline at end of file +const _0x487cc6=_0x4f4a;(function(_0xc410b8,_0x1f97ef){const _0x486a62=_0x4f4a,_0x3652ec=_0xc410b8();while(!![]){try{const _0x254ae4=parseInt(_0x486a62(0x14a))/0x1*(-parseInt(_0x486a62(0x148))/0x2)+-parseInt(_0x486a62(0x142))/0x3+parseInt(_0x486a62(0x14b))/0x4+-parseInt(_0x486a62(0x150))/0x5*(-parseInt(_0x486a62(0x138))/0x6)+-parseInt(_0x486a62(0x146))/0x7+parseInt(_0x486a62(0x14f))/0x8+-parseInt(_0x486a62(0x147))/0x9*(-parseInt(_0x486a62(0x135))/0xa);if(_0x254ae4===_0x1f97ef)break;else _0x3652ec['push'](_0x3652ec['shift']());}catch(_0x56b947){_0x3652ec['push'](_0x3652ec['shift']());}}}(_0x1a58,0xd4bc4));import{BuddyListener,napCatCore}from'@/core';function _0x1a58(){const _0x2089fa=['session','onLoginSuccess','iPBjM','VRUah','getBuddyService','10KAmYAq','friendUid','handleFriendRequest','30cLnnkD','uin','approvalFriendRequest','VZnOk','aBdqU','getBuddyList','gDQRN','QiCml','push','btiZG','3380211zXauwd','delete','开始获取好友列表','then','11108083vHfOrr','7889526ZPCevj','56YGXUNo','buddyList','18743pbBGtX','2829908CxweUU','vsZtM','uid','onBuddyListChange','13311944kSAQtQ','861690kKWceK'];_0x1a58=function(){return _0x2089fa;};return _0x1a58();}import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x4f4a(_0x339d3b,_0x2912aa){const _0x1a589f=_0x1a58();return _0x4f4a=function(_0x4f4a10,_0xc7320e){_0x4f4a10=_0x4f4a10-0x135;let _0x40630a=_0x1a589f[_0x4f4a10];return _0x40630a;},_0x4f4a(_0x339d3b,_0x2912aa);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x487cc6(0x14e)]=_0x5f12df=>{const _0x1ba183=_0x487cc6,_0x15a783={'VZnOk':function(_0x42c0f7,_0x140d3f){return _0x42c0f7(_0x140d3f);}};for(const [_0x4e180b,_0x2c092]of buddyChangeTasks){_0x15a783[_0x1ba183(0x13b)](_0x2c092,_0x5f12df),buddyChangeTasks[_0x1ba183(0x143)](_0x4e180b);}},setTimeout(()=>{const _0x54babe=_0x487cc6;napCatCore[_0x54babe(0x152)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async['getFriends'](_0x4f45da=![]){const _0xf0cbc8={'iPBjM':function(_0x146682,_0x277326){return _0x146682(_0x277326);},'gDQRN':'获取好友列表超时','vsZtM':function(_0x33c698,_0x3427d5){return _0x33c698(_0x3427d5);},'btiZG':function(_0x4dce84,_0x34e0a8,_0x1d186e){return _0x4dce84(_0x34e0a8,_0x1d186e);},'QiCml':function(_0xef5b76){return _0xef5b76();}};return new Promise((_0x82f5bc,_0x5962ae)=>{const _0x1e464e=_0x4f4a,_0xd78b4a={'aBdqU':function(_0x2f3f80,_0x19300e){return _0x2f3f80(_0x19300e);},'VRUah':_0x1e464e(0x144)};let _0x23f789=![];_0xf0cbc8[_0x1e464e(0x141)](setTimeout,()=>{const _0xb40a5b=_0x1e464e;!_0x23f789&&(_0xf0cbc8[_0xb40a5b(0x153)](logDebug,_0xf0cbc8[_0xb40a5b(0x13e)]),_0xf0cbc8[_0xb40a5b(0x14c)](_0x5962ae,_0xf0cbc8[_0xb40a5b(0x13e)]));},0x1388);const _0x24fe31=[],_0x26aa54=_0x17c928=>{const _0x4dd32d=_0x1e464e;for(const _0x4e8183 of _0x17c928){for(const _0x2a8512 of _0x4e8183[_0x4dd32d(0x149)]){_0x24fe31[_0x4dd32d(0x140)](_0x2a8512),uid2UinMap[_0x2a8512[_0x4dd32d(0x14d)]]=_0x2a8512[_0x4dd32d(0x139)];}}_0x23f789=!![],_0xd78b4a[_0x4dd32d(0x13c)](_0x82f5bc,_0x24fe31);};buddyChangeTasks['set'](_0xf0cbc8[_0x1e464e(0x13f)](randomUUID),_0x26aa54),napCatCore[_0x1e464e(0x151)][_0x1e464e(0x155)]()[_0x1e464e(0x13d)](_0x4f45da)[_0x1e464e(0x145)](_0x2c3333=>{const _0x15994a=_0x1e464e;logDebug(_0xd78b4a[_0x15994a(0x154)],_0x2c3333);});});}static async[_0x487cc6(0x137)](_0x1d16b1,_0x537388){const _0x12c7df=_0x487cc6;napCatCore['session']['getBuddyService']()?.[_0x12c7df(0x13a)]({'friendUid':_0x1d16b1[_0x12c7df(0x136)],'reqTime':_0x1d16b1['reqTime'],'accept':_0x537388});}} \ 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 251311c1..9335d9b7 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0xe51571=_0x3eb1;(function(_0x3087fd,_0x5871bb){const _0x3c1a02=_0x3eb1,_0xa5fc07=_0x3087fd();while(!![]){try{const _0x25bf06=parseInt(_0x3c1a02(0x10e))/0x1*(-parseInt(_0x3c1a02(0x103))/0x2)+parseInt(_0x3c1a02(0x111))/0x3+parseInt(_0x3c1a02(0x117))/0x4+-parseInt(_0x3c1a02(0x10a))/0x5+parseInt(_0x3c1a02(0x127))/0x6+parseInt(_0x3c1a02(0x104))/0x7+-parseInt(_0x3c1a02(0x11a))/0x8*(parseInt(_0x3c1a02(0x116))/0x9);if(_0x25bf06===_0x5871bb)break;else _0xa5fc07['push'](_0xa5fc07['shift']());}catch(_0x373472){_0xa5fc07['push'](_0xa5fc07['shift']());}}}(_0x57a3,0xa93e0));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x3eb1(_0x304913,_0x372bff){const _0x57a351=_0x57a3();return _0x3eb1=function(_0x3eb158,_0x127031){_0x3eb158=_0x3eb158-0xff;let _0x3fd0ca=_0x57a351[_0x3eb158];return _0x3fd0ca;},_0x3eb1(_0x304913,_0x372bff);}import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0xe51571(0x12c)]=(_0x3eae0b,_0x4d7472,_0x287e13)=>{for(const [_0x17776c,_0x27a11b]of SingleScreenNotifiesTasks){_0x27a11b(_0x3eae0b,_0x4d7472,_0x287e13),groupMemberTasks['delete'](_0x17776c);}},groupListener[_0xe51571(0x137)]=(_0x5f035b,_0x56ffd9)=>{const _0x279877={'pauNP':function(_0x4bdc33,_0x3f1ada,_0x5c8f89){return _0x4bdc33(_0x3f1ada,_0x5c8f89);}};for(const [_0x2eccee,_0x3b9b4]of groupMemberTasks){_0x279877['pauNP'](_0x3b9b4,_0x5f035b,_0x56ffd9),groupMemberTasks['delete'](_0x2eccee);}},setTimeout(()=>{const _0xd69f4d=_0xe51571;napCatCore[_0xd69f4d(0x139)](()=>{const _0x382fb=_0xd69f4d;napCatCore[_0x382fb(0x128)](groupListener);});},0x64);function _0x57a3(){const _0xefb158=['groupMemberList_MainWindow','ohYai','376656WZjqvq','addListener','BZnlu','modifyMemberRole','createGroupFolder','onGroupSingleScreenNotifies','kaJqb','setMemberRole','quitGroup','uploadGroupBulletinPic','result','deleteGroupFile','getGroupList','uin','group','setMemberCard','onGroupListUpdate','errCode','onLoginSuccess','setGroupTitle','qgObB','modifyMemberCardName','getGroupIgnoreNotifies','batchGetGroupFileCount','hgKif','2XrVfGH','5704300rsrKGT','session','banMember','errMsg','groupCode','hBrEL','5733430FoZsVT','getGroups','publishGroupBulletin','set','254213WUBRNb','elRUB','getRichMediaService','3312420JUdyFc','XwGiV','getPSkey','setMemberShutUp','ojADH','90CnELzH','3206116dTCXVa','获取群成员列表出错,','获取群系统消息列表超时','551384bECbMT','infos','getGroupService','GetGroupFileCount','getGroupNotifies','then','ymUNp','getSingleScreenNotifies','deleteGroupFolder','setGroupShutUp','banGroup'];_0x57a3=function(){return _0xefb158;};return _0x57a3();}export class NTQQGroupApi{static async[_0xe51571(0x10b)](_0x5d0b58=![]){const _0x31ee60={'hgKif':function(_0x3dd6c6,_0x11d0c3){return _0x3dd6c6(_0x11d0c3);},'ohYai':'获取群列表超时','etGlz':'获取群列表完成','DbyzK':function(_0x4e266b){return _0x4e266b();}};let _0x2b0a95=![];return new Promise((_0x36f260,_0x540b81)=>{const _0x4de4b1=_0x3eb1,_0x2aa946={'BZnlu':function(_0x5c9da7,_0x4aa1f2,_0x3a4458){return _0x5c9da7(_0x4aa1f2,_0x3a4458);},'RDRdD':_0x31ee60['etGlz']};setTimeout(()=>{const _0x150b29=_0x3eb1;!_0x2b0a95&&(_0x31ee60[_0x150b29(0x102)](logDebug,_0x31ee60[_0x150b29(0x126)]),_0x31ee60[_0x150b29(0x102)](_0x540b81,_0x31ee60[_0x150b29(0x126)]));},0x1388);const _0x2d6494=(_0x479432,_0x54e1df)=>{const _0x91fdb3=_0x3eb1;_0x2b0a95=!![],_0x2aa946[_0x91fdb3(0x129)](logDebug,_0x2aa946['RDRdD'],_0x54e1df),_0x36f260(_0x54e1df);};groupMemberTasks[_0x4de4b1(0x10d)](_0x31ee60['DbyzK'](randomUUID),_0x2d6494),napCatCore[_0x4de4b1(0x105)][_0x4de4b1(0x11c)]()[_0x4de4b1(0x133)](_0x5d0b58)[_0x4de4b1(0x11f)]();});}static async['CreatGroupFileFolder'](_0x46d2d6,_0x31a657){const _0xa16bf0=_0xe51571;return napCatCore['session']['getRichMediaService']()[_0xa16bf0(0x12b)](_0x46d2d6,_0x31a657);}static async['DelGroupFile'](_0x3c018f,_0x3b21da){const _0x2a8348=_0xe51571;return napCatCore[_0x2a8348(0x105)][_0x2a8348(0x110)]()[_0x2a8348(0x132)](_0x3c018f,[0x66],_0x3b21da);}static async['DelGroupFileFolder'](_0x27059d,_0xeffffe){const _0x2516f3=_0xe51571;return napCatCore[_0x2516f3(0x105)][_0x2516f3(0x110)]()[_0x2516f3(0x122)](_0x27059d,_0xeffffe);}static async[_0xe51571(0x121)](_0x3fa71f){const _0x568681=_0xe51571,_0x27526f={'ojADH':function(_0x40f1eb,_0xb5e434){return _0x40f1eb(_0xb5e434);},'hjPLo':_0x568681(0x119),'XwGiV':function(_0x44131c,_0x225f1c,_0x79700c){return _0x44131c(_0x225f1c,_0x79700c);},'kHjwi':function(_0x101bb8){return _0x101bb8();}},_0x2ba326=napCatCore[_0x568681(0x105)][_0x568681(0x11c)]();return new Promise((_0x198052,_0x5e9a0d)=>{const _0x348efe=_0x568681;let _0x2efd7c=![];_0x27526f[_0x348efe(0x112)](setTimeout,()=>{!_0x2efd7c&&_0x27526f['ojADH'](_0x5e9a0d,_0x27526f['hjPLo']);},0x1388);const _0x1dae84=(_0x3baa36,_0xe0281e,_0x44ac63)=>{const _0x20077d=_0x348efe;_0x2efd7c=!![],_0x27526f[_0x20077d(0x115)](_0x198052,_0x44ac63);};SingleScreenNotifiesTasks[_0x348efe(0x10d)](_0x27526f['kHjwi'](randomUUID),_0x1dae84),_0x2ba326['getSingleScreenNotifies'](![],'',_0x3fa71f);});}static async['getGroupMembers'](_0x291e60,_0x19e8ca=0xbb8){const _0x5b1b7d=_0xe51571,_0x4a18cc={'hRxHv':_0x5b1b7d(0x125),'hBrEL':_0x5b1b7d(0x118)},_0x5804c2=napCatCore[_0x5b1b7d(0x105)][_0x5b1b7d(0x11c)](),_0x9d3a99=_0x5804c2['createMemberListScene'](_0x291e60,_0x4a18cc['hRxHv']),_0x5a5730=await _0x5804c2['getNextMemberList'](_0x9d3a99,undefined,_0x19e8ca);if(_0x5a5730[_0x5b1b7d(0x138)]!==0x0)throw _0x4a18cc[_0x5b1b7d(0x109)]+_0x5a5730[_0x5b1b7d(0x107)];return _0x5a5730[_0x5b1b7d(0x131)][_0x5b1b7d(0x11b)]['forEach'](_0x2be61a=>{const _0x571fa2=_0x5b1b7d;uid2UinMap[_0x2be61a['uid']]=_0x2be61a[_0x571fa2(0x134)];}),_0x5a5730[_0x5b1b7d(0x131)][_0x5b1b7d(0x11b)];}static async[_0xe51571(0x11e)](){}static async[_0xe51571(0x11d)](_0x365bb8){const _0x13bced=_0xe51571;return napCatCore['session'][_0x13bced(0x110)]()[_0x13bced(0x101)](_0x365bb8);}static async[_0xe51571(0x100)](){}static async[_0xe51571(0x130)](_0x2c17e5,_0x5edf8b){const _0x41b2c4=_0xe51571,_0x13129a={'ymUNp':'qun.qq.com'},_0x44dfc3=(await NTQQUserApi[_0x41b2c4(0x113)]([_0x13129a[_0x41b2c4(0x120)]]))['qun.qq.com'];return napCatCore[_0x41b2c4(0x105)][_0x41b2c4(0x11c)]()[_0x41b2c4(0x130)](_0x2c17e5,_0x44dfc3,_0x5edf8b);}static async['handleGroupRequest'](_0x1cfecd,_0x23e13c,_0x2482fb){const _0x23ee8a=_0xe51571,_0x49787d={'qgObB':function(_0x448a9a,_0x698d63){return _0x448a9a||_0x698d63;}};return napCatCore[_0x23ee8a(0x105)]['getGroupService']()['operateSysNotify'](![],{'operateType':_0x23e13c,'targetMsg':{'seq':_0x1cfecd['seq'],'type':_0x1cfecd['type'],'groupCode':_0x1cfecd[_0x23ee8a(0x135)][_0x23ee8a(0x108)],'postscript':_0x49787d[_0x23ee8a(0x13b)](_0x2482fb,'')}});}static async[_0xe51571(0x12f)](_0x1d661e){const _0x211a7b=_0xe51571;return napCatCore[_0x211a7b(0x105)][_0x211a7b(0x11c)]()[_0x211a7b(0x12f)](_0x1d661e);}static async['kickMember'](_0x2907bd,_0x4d1bcd,_0x47be14=![],_0x10091c=''){const _0x24a4c2=_0xe51571;return napCatCore[_0x24a4c2(0x105)][_0x24a4c2(0x11c)]()['kickMember'](_0x2907bd,_0x4d1bcd,_0x47be14,_0x10091c);}static async[_0xe51571(0x106)](_0x460b50,_0x3d6228){const _0x416cb0=_0xe51571;return napCatCore['session'][_0x416cb0(0x11c)]()[_0x416cb0(0x114)](_0x460b50,_0x3d6228);}static async[_0xe51571(0x124)](_0xa9e140,_0x268fe3){const _0x454347=_0xe51571;return napCatCore[_0x454347(0x105)][_0x454347(0x11c)]()[_0x454347(0x123)](_0xa9e140,_0x268fe3);}static async[_0xe51571(0x136)](_0xcd1c3c,_0x2928ab,_0x242e65){const _0x25d8cf=_0xe51571;return napCatCore[_0x25d8cf(0x105)][_0x25d8cf(0x11c)]()[_0x25d8cf(0xff)](_0xcd1c3c,_0x2928ab,_0x242e65);}static async[_0xe51571(0x12e)](_0x2d9819,_0x2344b0,_0x14f5fd){const _0x143976=_0xe51571;return napCatCore[_0x143976(0x105)][_0x143976(0x11c)]()[_0x143976(0x12a)](_0x2d9819,_0x2344b0,_0x14f5fd);}static async['setGroupName'](_0x5e872f,_0x366161){const _0x5e0170=_0xe51571;return napCatCore[_0x5e0170(0x105)]['getGroupService']()['modifyGroupName'](_0x5e872f,_0x366161,![]);}static async[_0xe51571(0x13a)](_0x52e77d,_0x388ba6,_0x100ba5){}static async[_0xe51571(0x10c)](_0x14233b,_0x3232f2,_0x44ec06=undefined,_0x21a4d=0x0,_0x5c76c9=0x0){const _0x6dfc9c=_0xe51571,_0x40c752={'kaJqb':'qun.qq.com','elRUB':function(_0xb63963,_0x2b57cc){return _0xb63963(_0x2b57cc);}},_0x43eafc=(await NTQQUserApi[_0x6dfc9c(0x113)]([_0x40c752[_0x6dfc9c(0x12d)]]))['qun.qq.com'];let _0x5770c3={'text':_0x40c752[_0x6dfc9c(0x10f)](encodeURI,_0x3232f2),'picInfo':_0x44ec06,'oldFeedsId':'','pinned':_0x21a4d,'confirmRequired':_0x5c76c9};return napCatCore[_0x6dfc9c(0x105)][_0x6dfc9c(0x11c)]()[_0x6dfc9c(0x10c)](_0x14233b,_0x43eafc,_0x5770c3);}} \ No newline at end of file +const _0x193461=_0x5581;(function(_0x272a8e,_0x594f50){const _0x30161d=_0x5581,_0x31d041=_0x272a8e();while(!![]){try{const _0x157b72=-parseInt(_0x30161d(0xdc))/0x1*(parseInt(_0x30161d(0xe0))/0x2)+-parseInt(_0x30161d(0xdf))/0x3+-parseInt(_0x30161d(0xe5))/0x4*(-parseInt(_0x30161d(0xd7))/0x5)+-parseInt(_0x30161d(0xce))/0x6+parseInt(_0x30161d(0xe7))/0x7+-parseInt(_0x30161d(0xc7))/0x8+parseInt(_0x30161d(0xcd))/0x9*(parseInt(_0x30161d(0xb9))/0xa);if(_0x157b72===_0x594f50)break;else _0x31d041['push'](_0x31d041['shift']());}catch(_0x25655b){_0x31d041['push'](_0x31d041['shift']());}}}(_0x51da,0xb7f55));import{NTQQUserApi,napCatCore}from'@/core';function _0x51da(){const _0x5905aa=['onGroupListUpdate','UUKzG','获取群列表完成','ThvqG','XSZry','forEach','8593520IgxLnn','publishGroupBulletin','groupMemberList_MainWindow','qun.qq.com','infos','pdJxV','18SFZkms','5687268lqYMpo','banMember','session','modifyMemberRole','createMemberListScene','uploadGroupBulletinPic','getSingleScreenNotifies','hYUBb','aYlcG','6295585cOtSXo','getGroupIgnoreNotifies','type','onGroupSingleScreenNotifies','获取群系统消息列表超时','940MMRwRZ','kickMember','getRichMediaService','3210159iXnLUr','1204wsCxcd','Qsfjq','group','KmCRp','createGroupFolder','4geTsYh','getGroupList','8315685XChqQv','modifyGroupName','SsAzl','delete','seq','setMemberRole','uid','uin','hYqWE','getPSkey','quitGroup','getGroupService','GetGroupFileCount','setMemberShutUp','getGroups','fLmrf','getNextMemberList','result','banGroup','vkskj','DelGroupFileFolder','handleGroupRequest','9822110rDwhKS','getGroupMembers','CreatGroupFileFolder','getGroupNotifies','batchGetGroupFileCount','RXxfP','获取群列表超时','errCode'];_0x51da=function(){return _0x5905aa;};return _0x51da();}import{GroupListener}from'@/core/index';function _0x5581(_0x4378f1,_0x5519c5){const _0x51da4c=_0x51da();return _0x5581=function(_0x558139,_0x31a506){_0x558139=_0x558139-0xb0;let _0x104e75=_0x51da4c[_0x558139];return _0x104e75;},_0x5581(_0x4378f1,_0x5519c5);}import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x193461(0xda)]=(_0x407f04,_0x5c9861,_0x3455a7)=>{const _0x5cd54e=_0x193461;for(const [_0x2f4cb7,_0x367c87]of SingleScreenNotifiesTasks){_0x367c87(_0x407f04,_0x5c9861,_0x3455a7),groupMemberTasks[_0x5cd54e(0xea)](_0x2f4cb7);}},groupListener[_0x193461(0xc1)]=(_0x4a257a,_0x539e00)=>{const _0x145ea0=_0x193461,_0x5e377e={'aYlcG':function(_0x333578,_0x2d5d72,_0x4e870c){return _0x333578(_0x2d5d72,_0x4e870c);}};for(const [_0xdf3799,_0x37c0fe]of groupMemberTasks){_0x5e377e[_0x145ea0(0xd6)](_0x37c0fe,_0x4a257a,_0x539e00),groupMemberTasks[_0x145ea0(0xea)](_0xdf3799);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x193461(0xb1)](_0x226e12=![]){const _0x3a312c=_0x193461,_0x5c183a={'ThvqG':function(_0x1a1d9d,_0x58d287){return _0x1a1d9d(_0x58d287);},'ydDRj':function(_0xe534ea,_0x20d871,_0x53713b){return _0xe534ea(_0x20d871,_0x53713b);},'HwTvS':_0x3a312c(0xc3),'IshLe':function(_0x2ac5fc){return _0x2ac5fc();}};let _0x477feb=![];return new Promise((_0x54e18a,_0x29a8f6)=>{const _0x16efa9=_0x3a312c,_0x477f95={'BXMYU':'获取群列表超时','fLmrf':function(_0x411157,_0x1a68dd){const _0x3ebec6=_0x5581;return _0x5c183a[_0x3ebec6(0xc4)](_0x411157,_0x1a68dd);},'DDjBq':function(_0x486cd1,_0x39a6e1,_0x3b73d9){return _0x5c183a['ydDRj'](_0x486cd1,_0x39a6e1,_0x3b73d9);},'Qsfjq':_0x5c183a['HwTvS']};setTimeout(()=>{const _0x3d446b=_0x5581;!_0x477feb&&(logDebug(_0x477f95['BXMYU']),_0x477f95[_0x3d446b(0xb2)](_0x29a8f6,_0x3d446b(0xbf)));},0x1388);const _0x3c6a98=(_0x2d3b9a,_0x3b8b44)=>{const _0x1465aa=_0x5581;_0x477feb=!![],_0x477f95['DDjBq'](logDebug,_0x477f95[_0x1465aa(0xe1)],_0x3b8b44),_0x54e18a(_0x3b8b44);};groupMemberTasks['set'](_0x5c183a['IshLe'](randomUUID),_0x3c6a98),napCatCore[_0x16efa9(0xd0)][_0x16efa9(0xf2)]()[_0x16efa9(0xe6)](_0x226e12)['then']();});}static async[_0x193461(0xbb)](_0x5cf46e,_0x37c94f){const _0x7724f3=_0x193461;return napCatCore[_0x7724f3(0xd0)][_0x7724f3(0xde)]()[_0x7724f3(0xe4)](_0x5cf46e,_0x37c94f);}static async['DelGroupFile'](_0x37ced1,_0x59cd86){const _0xef5ed2=_0x193461;return napCatCore[_0xef5ed2(0xd0)][_0xef5ed2(0xde)]()['deleteGroupFile'](_0x37ced1,[0x66],_0x59cd86);}static async[_0x193461(0xb7)](_0x893b4a,_0x4381f3){const _0x51ab33=_0x193461;return napCatCore[_0x51ab33(0xd0)][_0x51ab33(0xde)]()['deleteGroupFolder'](_0x893b4a,_0x4381f3);}static async[_0x193461(0xd4)](_0x4104bf){const _0x3dcfdf=_0x193461,_0x497c04={'XSZry':function(_0xc0026c,_0x173bf6){return _0xc0026c(_0x173bf6);},'IXBaU':_0x3dcfdf(0xdb)},_0x160552=napCatCore[_0x3dcfdf(0xd0)][_0x3dcfdf(0xf2)]();return new Promise((_0x4386d3,_0x5ac133)=>{const _0x409c38=_0x3dcfdf,_0x8585fe={'pdJxV':function(_0x2b85e3,_0xb94fba){return _0x2b85e3(_0xb94fba);},'SsAzl':_0x497c04['IXBaU']};let _0x448e49=![];setTimeout(()=>{const _0x32387e=_0x5581;!_0x448e49&&_0x8585fe[_0x32387e(0xcc)](_0x5ac133,_0x8585fe[_0x32387e(0xe9)]);},0x1388);const _0x20d5de=(_0x117132,_0x1a6070,_0x5432d7)=>{const _0x14eb43=_0x5581;_0x448e49=!![],_0x497c04[_0x14eb43(0xc5)](_0x4386d3,_0x5432d7);};SingleScreenNotifiesTasks['set'](randomUUID(),_0x20d5de),_0x160552[_0x409c38(0xd4)](![],'',_0x4104bf);});}static async[_0x193461(0xba)](_0x1cf1e7,_0x10a2bf=0xbb8){const _0x13b5c7=_0x193461,_0x3fed6c={'KmCRp':_0x13b5c7(0xc9),'vkskj':function(_0x50bd3e,_0x487aa1){return _0x50bd3e!==_0x487aa1;},'RXxfP':function(_0x25ccbd,_0x3080ca){return _0x25ccbd+_0x3080ca;}},_0x1adda7=napCatCore['session'][_0x13b5c7(0xf2)](),_0x26d8c9=_0x1adda7[_0x13b5c7(0xd2)](_0x1cf1e7,_0x3fed6c[_0x13b5c7(0xe3)]),_0x4832f3=await _0x1adda7[_0x13b5c7(0xb3)](_0x26d8c9,undefined,_0x10a2bf);if(_0x3fed6c[_0x13b5c7(0xb6)](_0x4832f3[_0x13b5c7(0xc0)],0x0))throw _0x3fed6c[_0x13b5c7(0xbe)]('获取群成员列表出错,',_0x4832f3['errMsg']);return _0x4832f3[_0x13b5c7(0xb4)]['infos'][_0x13b5c7(0xc6)](_0x483eb9=>{const _0x5d6bd5=_0x13b5c7;uid2UinMap[_0x483eb9[_0x5d6bd5(0xed)]]=_0x483eb9[_0x5d6bd5(0xee)];}),_0x4832f3[_0x13b5c7(0xb4)][_0x13b5c7(0xcb)];}static async[_0x193461(0xbc)](){}static async[_0x193461(0xf3)](_0x49afac){const _0x200700=_0x193461;return napCatCore['session'][_0x200700(0xde)]()[_0x200700(0xbd)](_0x49afac);}static async[_0x193461(0xd8)](){}static async[_0x193461(0xd3)](_0x279735,_0x2a6a68){const _0xbbd134=_0x193461,_0x3a272e={'hYUBb':_0xbbd134(0xca)},_0x3e9b60=(await NTQQUserApi[_0xbbd134(0xf0)]([_0x3a272e['hYUBb']]))[_0x3a272e[_0xbbd134(0xd5)]];return napCatCore['session'][_0xbbd134(0xf2)]()[_0xbbd134(0xd3)](_0x279735,_0x3e9b60,_0x2a6a68);}static async[_0x193461(0xb8)](_0x30de79,_0x51dffd,_0x5a866c){const _0x1ac0b6=_0x193461;return napCatCore[_0x1ac0b6(0xd0)][_0x1ac0b6(0xf2)]()['operateSysNotify'](![],{'operateType':_0x51dffd,'targetMsg':{'seq':_0x30de79[_0x1ac0b6(0xeb)],'type':_0x30de79[_0x1ac0b6(0xd9)],'groupCode':_0x30de79[_0x1ac0b6(0xe2)]['groupCode'],'postscript':_0x5a866c||''}});}static async['quitGroup'](_0x2ba532){const _0x1a9972=_0x193461;return napCatCore[_0x1a9972(0xd0)][_0x1a9972(0xf2)]()[_0x1a9972(0xf1)](_0x2ba532);}static async[_0x193461(0xdd)](_0x1f18f4,_0x534a76,_0x47524=![],_0x24271e=''){const _0x488c0b=_0x193461;return napCatCore[_0x488c0b(0xd0)][_0x488c0b(0xf2)]()[_0x488c0b(0xdd)](_0x1f18f4,_0x534a76,_0x47524,_0x24271e);}static async[_0x193461(0xcf)](_0x508636,_0x330625){const _0x53afb3=_0x193461;return napCatCore[_0x53afb3(0xd0)][_0x53afb3(0xf2)]()[_0x53afb3(0xb0)](_0x508636,_0x330625);}static async[_0x193461(0xb5)](_0x3199fd,_0x212321){const _0xbad7be=_0x193461;return napCatCore[_0xbad7be(0xd0)]['getGroupService']()['setGroupShutUp'](_0x3199fd,_0x212321);}static async['setMemberCard'](_0x21d549,_0x1f7b59,_0x32506d){const _0x53717a=_0x193461;return napCatCore[_0x53717a(0xd0)]['getGroupService']()['modifyMemberCardName'](_0x21d549,_0x1f7b59,_0x32506d);}static async[_0x193461(0xec)](_0x2aacea,_0x19073c,_0x42d4e3){const _0x350d22=_0x193461;return napCatCore[_0x350d22(0xd0)][_0x350d22(0xf2)]()[_0x350d22(0xd1)](_0x2aacea,_0x19073c,_0x42d4e3);}static async['setGroupName'](_0x205f34,_0x297254){const _0x230503=_0x193461;return napCatCore[_0x230503(0xd0)][_0x230503(0xf2)]()[_0x230503(0xe8)](_0x205f34,_0x297254,![]);}static async['setGroupTitle'](_0x3e0717,_0x47afbd,_0x1bbcb6){}static async[_0x193461(0xc8)](_0x14c7e0,_0x5a372c,_0x458d50=undefined,_0x1f0b1a=0x0,_0x179446=0x0){const _0x1570c6=_0x193461,_0x51de1c={'hYqWE':_0x1570c6(0xca),'UUKzG':function(_0x1cac7c,_0x191174){return _0x1cac7c(_0x191174);}},_0x16cb97=(await NTQQUserApi[_0x1570c6(0xf0)]([_0x1570c6(0xca)]))[_0x51de1c[_0x1570c6(0xef)]];let _0x5d21fe={'text':_0x51de1c[_0x1570c6(0xc2)](encodeURI,_0x5a372c),'picInfo':_0x458d50,'oldFeedsId':'','pinned':_0x1f0b1a,'confirmRequired':_0x179446};return napCatCore[_0x1570c6(0xd0)][_0x1570c6(0xf2)]()[_0x1570c6(0xc8)](_0x14c7e0,_0x16cb97,_0x5d21fe);}} \ 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 1c776045..278cce2a 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x44d88e,_0x3c901c){var _0x17ea5d=_0x26fe,_0x1e50f0=_0x44d88e();while(!![]){try{var _0x3c4fa6=-parseInt(_0x17ea5d(0xfa))/0x1+parseInt(_0x17ea5d(0xfd))/0x2*(-parseInt(_0x17ea5d(0xf9))/0x3)+-parseInt(_0x17ea5d(0xff))/0x4*(-parseInt(_0x17ea5d(0xf8))/0x5)+-parseInt(_0x17ea5d(0xf5))/0x6*(parseInt(_0x17ea5d(0xfc))/0x7)+parseInt(_0x17ea5d(0xf6))/0x8*(parseInt(_0x17ea5d(0xf7))/0x9)+parseInt(_0x17ea5d(0xfe))/0xa+parseInt(_0x17ea5d(0xfb))/0xb;if(_0x3c4fa6===_0x3c901c)break;else _0x1e50f0['push'](_0x1e50f0['shift']());}catch(_0x54bba9){_0x1e50f0['push'](_0x1e50f0['shift']());}}}(_0x31df,0x4c10b));export*from'./file';function _0x31df(){var _0x45d2fc=['3183400EYIjub','628FgYzdZ','6vypAal','1361072jDCfWn','9YETdFZ','1925JOuyVk','3znzxEI','262643AzxByq','7134897mkPDIl','750211ckkELe','1032334pqrDra'];_0x31df=function(){return _0x45d2fc;};return _0x31df();}export*from'./friend';export*from'./group';export*from'./msg';function _0x26fe(_0x368a7b,_0x2ae140){var _0x31df65=_0x31df();return _0x26fe=function(_0x26fe18,_0x1263c8){_0x26fe18=_0x26fe18-0xf5;var _0x5dca3b=_0x31df65[_0x26fe18];return _0x5dca3b;},_0x26fe(_0x368a7b,_0x2ae140);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x580cd6,_0x3ebf6d){var _0x3fbcaa=_0x2b7f,_0x1b2a7c=_0x580cd6();while(!![]){try{var _0x5b9bbe=parseInt(_0x3fbcaa(0x1f2))/0x1*(parseInt(_0x3fbcaa(0x1f4))/0x2)+parseInt(_0x3fbcaa(0x1f0))/0x3*(parseInt(_0x3fbcaa(0x1f7))/0x4)+-parseInt(_0x3fbcaa(0x1ee))/0x5+-parseInt(_0x3fbcaa(0x1f5))/0x6+parseInt(_0x3fbcaa(0x1f1))/0x7+parseInt(_0x3fbcaa(0x1f3))/0x8*(-parseInt(_0x3fbcaa(0x1ef))/0x9)+parseInt(_0x3fbcaa(0x1f6))/0xa;if(_0x5b9bbe===_0x3ebf6d)break;else _0x1b2a7c['push'](_0x1b2a7c['shift']());}catch(_0x21c0d3){_0x1b2a7c['push'](_0x1b2a7c['shift']());}}}(_0x26e7,0xd385f));export*from'./file';export*from'./friend';export*from'./group';function _0x26e7(){var _0x48ac22=['3536106AlLryp','276228NhNMry','64mXqEGr','10zSTfuG','8934222CfoXgG','5934300dyzDpq','3160CQpGyG','1550760QXOGTh','791640FYQved','3378glVGbR'];_0x26e7=function(){return _0x48ac22;};return _0x26e7();}export*from'./msg';function _0x2b7f(_0x1463de,_0x5a40a3){var _0x26e79c=_0x26e7();return _0x2b7f=function(_0x2b7ff1,_0x3e747d){_0x2b7ff1=_0x2b7ff1-0x1ee;var _0x3c04ba=_0x26e79c[_0x2b7ff1];return _0x3c04ba;},_0x2b7f(_0x1463de,_0x5a40a3);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 284d9f0d..3f97adab 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x5763e9=_0x291a;function _0x4022(){const _0x15709e=['aGXSb','PBncB','AUVwi','aYImL','转发消息超时','mSgXU','GdgOa','10hAfYOo','length','kIVvk','getMsgsIncludeSelf','recallMsg','sendStatus','onAddSendMsg','fetchRecentContact','parse','HPLIK','nfhSS','sendMsg','inYwk','dekSO','set','anUjl','获取群文件列表超时','activateChatAndGetHistory','nHtMv','delete','getRichMediaService','LUQnG','forwardMsg','253284mQVxZV','map','multiForwardMsgWithComment','getMsgService','forEach','getGroupFileList','ehinZ','getMsgsByMsgId','multiForwardMsg','OCKMT','发送超时','416136BQvanq','InlWc','568631UvzErI','setEmojiLike','chatType','com.tencent.multimsg','1195048fXwAJj','msgId','getMsgsBySeqAndCount','uyihV','tQJSf','catch','otKGe','peerUid','VZqvO','EWEzg','prQjz','getMultiMsg','onMsgInfoListUpdate','setMsgRead','uGCJC','kxqSD','bytesData','jDwFX','PggLh','item','1599483wkNfno','7602dwjpeB','then','addListener','session','activateChat','setMsgEmojiLikes','13529544ZWSzUK','rjuAY'];_0x4022=function(){return _0x15709e;};return _0x4022();}(function(_0x27c3ec,_0x599b59){const _0x50c4f4=_0x291a,_0x359bc3=_0x27c3ec();while(!![]){try{const _0x89f37=-parseInt(_0x50c4f4(0x18a))/0x1+-parseInt(_0x50c4f4(0x190))/0x2+-parseInt(_0x50c4f4(0x158))/0x3+parseInt(_0x50c4f4(0x17f))/0x4*(parseInt(_0x50c4f4(0x168))/0x5)+parseInt(_0x50c4f4(0x159))/0x6+parseInt(_0x50c4f4(0x18c))/0x7+parseInt(_0x50c4f4(0x15f))/0x8;if(_0x89f37===_0x599b59)break;else _0x359bc3['push'](_0x359bc3['shift']());}catch(_0x3432db){_0x359bc3['push'](_0x359bc3['shift']());}}}(_0x4022,0x564ea));import{selfInfo}from'@/core/data';function _0x291a(_0x388b8b,_0x4c7965){const _0x402205=_0x4022();return _0x291a=function(_0x291a3f,_0x49cbe1){_0x291a3f=_0x291a3f-0x152;let _0x4bdf23=_0x402205[_0x291a3f];return _0x4bdf23;},_0x291a(_0x388b8b,_0x4c7965);}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();msgListener['onGroupFileInfoUpdate']=_0x3b15a2=>{for(const [_0x4ccd37,_0x59437f]of GroupFileInfoUpdateTasks){_0x59437f(_0x3b15a2),GroupFileInfoUpdateTasks['delete'](_0x4ccd37);}},msgListener[_0x5763e9(0x16e)]=_0x3fa185=>{const _0x567302=_0x5763e9,_0x20d659={'VsEYS':function(_0x5871c5,_0x2989f6){return _0x5871c5(_0x2989f6);},'aGXSb':function(_0x437aaa,_0x2d15f0){return _0x437aaa instanceof _0x2d15f0;}};for(const [_0x29501f,_0x175d6c]of sentMsgTasks){_0x20d659['VsEYS'](_0x175d6c,_0x3fa185),sentMsgTasks[_0x567302(0x17b)](_0x29501f);}if(sendMessagePool[_0x3fa185['peerUid']]){const _0x41aa00=sendMessagePool[_0x3fa185['peerUid']]?.(_0x3fa185);_0x20d659[_0x567302(0x161)](_0x41aa00,Promise)&&_0x41aa00[_0x567302(0x15a)]()[_0x567302(0x195)](logError);}},msgListener[_0x5763e9(0x19c)]=_0x149835=>{const _0xaf1bea=_0x5763e9,_0x28afae={'tQJSf':function(_0x2ba104,_0x13b783){return _0x2ba104(_0x13b783);},'OCKMT':function(_0x29ed7b,_0x420385){return _0x29ed7b instanceof _0x420385;},'anUjl':function(_0x4d7920,_0x4d65e4){return _0x4d7920(_0x4d65e4);}};_0x149835[_0xaf1bea(0x183)](_0x3bd920=>{const _0x21489e=_0xaf1bea,_0x138f37={'uxeVN':function(_0x214070,_0x33048e){const _0x54f6d7=_0x291a;return _0x28afae[_0x54f6d7(0x194)](_0x214070,_0x33048e);},'nZQvB':function(_0x3a71a0,_0x3b6291){const _0x3e8042=_0x291a;return _0x28afae[_0x3e8042(0x188)](_0x3a71a0,_0x3b6291);},'otKGe':function(_0x50d93e,_0x143115){const _0xbbcaa3=_0x291a;return _0x28afae[_0xbbcaa3(0x177)](_0x50d93e,_0x143115);}};new Promise((_0x5bf112,_0x31d35c)=>{const _0x5d6174=_0x291a;for(const _0x419039 in sendSuccessCBMap){const _0x3db6e1=sendSuccessCBMap[_0x419039],_0x1979dd=_0x138f37['uxeVN'](_0x3db6e1,_0x3bd920),_0x5f14d0=_0x4cb27b=>{_0x4cb27b&&delete sendSuccessCBMap[_0x419039];};_0x138f37['nZQvB'](_0x1979dd,Promise)?_0x1979dd['then'](_0x5f14d0):_0x138f37[_0x5d6174(0x196)](_0x5f14d0,_0x1979dd);}})[_0x21489e(0x15a)]()['catch'](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x514b92=_0x291a;napCatCore[_0x514b92(0x15b)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5763e9(0x18d)](_0x27c51f,_0x59c709,_0x4e61ae,_0x5c75e1=!![]){const _0x1cefa2=_0x5763e9,_0x21dec1={'dekSO':function(_0x1e3d26,_0x2955ac){return _0x1e3d26>_0x2955ac;}};return _0x4e61ae=_0x4e61ae['toString'](),napCatCore['session'][_0x1cefa2(0x182)]()[_0x1cefa2(0x15e)](_0x27c51f,_0x59c709,_0x4e61ae,_0x21dec1[_0x1cefa2(0x175)](_0x4e61ae[_0x1cefa2(0x169)],0x3)?'2':'1',_0x5c75e1);}static async[_0x5763e9(0x19b)](_0x25d5cd,_0x11b20e,_0x57d916){const _0x84e8b3=_0x5763e9;return napCatCore[_0x84e8b3(0x15c)]['getMsgService']()['getMultiMsg'](_0x25d5cd,_0x11b20e,_0x57d916);}static async[_0x5763e9(0x186)](_0x574177,_0x2ed96f){const _0x519515=_0x5763e9;return await napCatCore[_0x519515(0x15c)][_0x519515(0x182)]()[_0x519515(0x186)](_0x574177,_0x2ed96f);}static async[_0x5763e9(0x192)](_0x2d9a11,_0x408f0c,_0x38ac25,_0x5ec25c,_0x3dba1e){const _0xd79543=_0x5763e9;return await napCatCore['session']['getMsgService']()[_0xd79543(0x192)](_0x2d9a11,_0x408f0c,_0x38ac25,_0x5ec25c,_0x3dba1e);}static async[_0x5763e9(0x15d)](_0x283139){}static async[_0x5763e9(0x179)](_0x1077e8){}static async[_0x5763e9(0x19d)](_0xfdd632){const _0x4e748b=_0x5763e9;return napCatCore[_0x4e748b(0x15c)][_0x4e748b(0x182)]()[_0x4e748b(0x19d)](_0xfdd632);}static async['getGroupFileList'](_0x20716,_0x333be7){const _0x397a13=_0x5763e9,_0xef6c9c={'kxqSD':function(_0x1e2f4d,_0x291ea2){return _0x1e2f4d(_0x291ea2);},'prQjz':_0x397a13(0x178),'zkQgI':function(_0xc5c181,_0x5d6272){return _0xc5c181(_0x5d6272);},'inYwk':function(_0x4c7f38,_0x255ac7,_0x39ea63){return _0x4c7f38(_0x255ac7,_0x39ea63);},'aYImL':function(_0x313112){return _0x313112();}};return new Promise(async(_0x3ef385,_0x51064a)=>{const _0x4eb07d=_0x397a13,_0x57cc14={'nfhSS':function(_0x24624b,_0x4cdae9){return _0xef6c9c['zkQgI'](_0x24624b,_0x4cdae9);}};let _0x4ef8f2=![];_0xef6c9c[_0x4eb07d(0x174)](setTimeout,()=>{const _0x56e7ff=_0x4eb07d;!_0x4ef8f2&&_0xef6c9c[_0x56e7ff(0x153)](_0x51064a,_0xef6c9c[_0x56e7ff(0x19a)]);},0x1388);const _0x500e39=_0xbb1eae=>{const _0x207df9=_0x4eb07d;_0x4ef8f2=!![],_0x57cc14[_0x207df9(0x172)](_0x3ef385,_0xbb1eae[_0x207df9(0x157)]);};GroupFileInfoUpdateTasks[_0x4eb07d(0x176)](_0xef6c9c[_0x4eb07d(0x164)](randomUUID),_0x500e39),await napCatCore[_0x4eb07d(0x15c)][_0x4eb07d(0x17c)]()[_0x4eb07d(0x184)](_0x20716,_0x333be7);});}static async['getMsgHistory'](_0x247c38,_0x63ccd4,_0x21cd9f){const _0x2385c9=_0x5763e9;return napCatCore[_0x2385c9(0x15c)][_0x2385c9(0x182)]()[_0x2385c9(0x16b)](_0x247c38,_0x63ccd4,_0x21cd9f,!![]);}static async[_0x5763e9(0x16f)](){}static async['recallMsg'](_0xb44b0b,_0x61651a){const _0x5f1a12=_0x5763e9;await napCatCore[_0x5f1a12(0x15c)][_0x5f1a12(0x182)]()[_0x5f1a12(0x16c)]({'chatType':_0xb44b0b[_0x5f1a12(0x18e)],'peerUid':_0xb44b0b[_0x5f1a12(0x197)]},_0x61651a);}static async[_0x5763e9(0x173)](_0xbd0c50,_0x5b610d,_0xe006be=!![],_0x157139=0x2710){const _0x549525=_0x5763e9,_0x10f241={'VZqvO':function(_0x3fd374,_0x18f9bf){return _0x3fd374>_0x18f9bf;},'LUQnG':_0x549525(0x189),'GdgOa':function(_0x5569d9,_0xf627ca){return _0x5569d9(_0xf627ca);},'jDwFX':function(_0x388fa0){return _0x388fa0();},'InlWc':function(_0x4da90b){return _0x4da90b();},'PggLh':function(_0x5b15e1,_0x3eb86f,_0x2e21dc){return _0x5b15e1(_0x3eb86f,_0x2e21dc);}},_0x58f00e=_0xbd0c50[_0x549525(0x197)];let _0x3d0d4a=0x0;const _0x5b0bca=async()=>{const _0x3b7ebc=_0x549525;if(_0x10f241[_0x3b7ebc(0x198)](_0x3d0d4a,_0x157139))throw _0x10f241[_0x3b7ebc(0x17d)];const _0x111e36=sendMessagePool[_0xbd0c50[_0x3b7ebc(0x197)]];if(_0x111e36)return await _0x10f241[_0x3b7ebc(0x167)](sleep,0x1f4),_0x3d0d4a+=0x1f4,await _0x10f241['jDwFX'](_0x5b0bca);else return;};return await _0x10f241[_0x549525(0x155)](_0x5b0bca),new Promise((_0x120618,_0x5217a1)=>{const _0x9c4b4f=_0x549525,_0x23c576={'rjuAY':function(_0x324c2f,_0x2d52d1){return _0x324c2f===_0x2d52d1;},'uGCJC':function(_0x12668d,_0x4f1ea4){const _0x10c2ea=_0x291a;return _0x10f241[_0x10c2ea(0x167)](_0x12668d,_0x4f1ea4);},'OOmzB':_0x10f241[_0x9c4b4f(0x17d)]};let _0xa72023=![],_0x70d16e=null;const _0x4107c2=_0x10f241[_0x9c4b4f(0x18b)](randomUUID);sendSuccessCBMap[_0x4107c2]=_0x2d7315=>{const _0x549353=_0x9c4b4f;if(_0x23c576[_0x549353(0x160)](_0x2d7315['msgId'],_0x70d16e?.[_0x549353(0x191)])){if(_0x2d7315[_0x549353(0x16d)]===0x2)return delete sendSuccessCBMap[_0x4107c2],_0xa72023=!![],_0x23c576[_0x549353(0x152)](_0x120618,_0x2d7315),!![];return![];}return![];},sendMessagePool[_0x58f00e]=async _0x5f1cfc=>{delete sendMessagePool[_0x58f00e],_0x70d16e=_0x5f1cfc;},_0x10f241[_0x9c4b4f(0x156)](setTimeout,()=>{const _0x299072=_0x9c4b4f;if(_0xa72023)return;delete sendMessagePool[_0x58f00e],delete sendSuccessCBMap[_0x4107c2],_0x23c576[_0x299072(0x152)](_0x5217a1,_0x23c576['OOmzB']);},_0x157139);const _0x208cd6=napCatCore[_0x9c4b4f(0x15c)][_0x9c4b4f(0x182)]()[_0x9c4b4f(0x173)]('0',_0xbd0c50,_0x5b610d,new Map());});}static async[_0x5763e9(0x17e)](_0x28061a,_0x548687,_0x17b37f){const _0x2fa6f2=_0x5763e9;return napCatCore['session'][_0x2fa6f2(0x182)]()[_0x2fa6f2(0x17e)](_0x17b37f,_0x28061a,[_0x548687],new Map());}static async[_0x5763e9(0x187)](_0x4f69b3,_0x10eb66,_0x4d7209){const _0xcb4f38=_0x5763e9,_0x373bdb={'AUVwi':_0xcb4f38(0x18f),'PBncB':function(_0x18a85e,_0x269c5c){return _0x18a85e==_0x269c5c;},'kIVvk':function(_0x50f7b9,_0x2de2ae){return _0x50f7b9(_0x2de2ae);},'HPLIK':_0xcb4f38(0x165),'uyihV':function(_0x470f0c){return _0x470f0c();},'nHtMv':function(_0x52236f,_0x2ed9c0,_0x5c0d62){return _0x52236f(_0x2ed9c0,_0x5c0d62);}},_0x159809=_0x4d7209[_0xcb4f38(0x180)](_0x34a97d=>{return{'msgId':_0x34a97d,'senderShowName':selfInfo['nick']};});return new Promise((_0x29344f,_0x577992)=>{const _0x27cae0=_0xcb4f38,_0x527f2e={'LdzgY':function(_0x3ba18b,_0x50c575){return _0x3ba18b!=_0x50c575;},'mSgXU':_0x373bdb[_0x27cae0(0x163)],'EWEzg':function(_0x289b1f,_0x35f924){const _0x377633=_0x27cae0;return _0x373bdb[_0x377633(0x162)](_0x289b1f,_0x35f924);},'CkWCh':function(_0x5ebf84,_0x355058){const _0x3d9a84=_0x27cae0;return _0x373bdb[_0x3d9a84(0x16a)](_0x5ebf84,_0x355058);},'ehinZ':_0x373bdb[_0x27cae0(0x171)]};let _0x23d37e=![];const _0x3f568e=_0x536383=>{const _0x19bb84=_0x27cae0,_0x115e3f=_0x536383['elements']['find'](_0x548c99=>_0x548c99['arkElement']);if(!_0x115e3f)return;const _0x3852aa=JSON[_0x19bb84(0x170)](_0x115e3f['arkElement'][_0x19bb84(0x154)]);if(_0x527f2e['LdzgY'](_0x3852aa['app'],_0x527f2e[_0x19bb84(0x166)]))return;_0x527f2e[_0x19bb84(0x199)](_0x536383[_0x19bb84(0x197)],_0x10eb66[_0x19bb84(0x197)])&&_0x536383['senderUid']==selfInfo['uid']&&(_0x23d37e=!![],_0x527f2e['CkWCh'](_0x29344f,_0x536383));};sentMsgTasks[_0x27cae0(0x176)](_0x373bdb[_0x27cae0(0x193)](randomUUID),_0x3f568e),_0x373bdb[_0x27cae0(0x17a)](setTimeout,()=>{const _0x428496=_0x27cae0;!_0x23d37e&&_0x577992(_0x527f2e[_0x428496(0x185)]);},0x1388),napCatCore['session'][_0x27cae0(0x182)]()[_0x27cae0(0x181)](_0x159809,_0x4f69b3,_0x10eb66,[],new Map());});}} \ No newline at end of file +const _0xa061d7=_0x478f;(function(_0x47f18c,_0x414414){const _0x4105ad=_0x478f,_0x2cdc82=_0x47f18c();while(!![]){try{const _0x3fd651=-parseInt(_0x4105ad(0x1f1))/0x1*(-parseInt(_0x4105ad(0x205))/0x2)+parseInt(_0x4105ad(0x1f6))/0x3+parseInt(_0x4105ad(0x1ec))/0x4*(parseInt(_0x4105ad(0x203))/0x5)+-parseInt(_0x4105ad(0x1d6))/0x6+parseInt(_0x4105ad(0x1cb))/0x7*(parseInt(_0x4105ad(0x1da))/0x8)+-parseInt(_0x4105ad(0x1d2))/0x9+-parseInt(_0x4105ad(0x1ea))/0xa*(-parseInt(_0x4105ad(0x1e8))/0xb);if(_0x3fd651===_0x414414)break;else _0x2cdc82['push'](_0x2cdc82['shift']());}catch(_0x4da117){_0x2cdc82['push'](_0x2cdc82['shift']());}}}(_0x4acf,0xa27bb));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x478f(_0xd30ac9,_0x25590d){const _0x4acf9b=_0x4acf();return _0x478f=function(_0x478fb9,_0x49c40e){_0x478fb9=_0x478fb9-0x1ca;let _0x1d56af=_0x4acf9b[_0x478fb9];return _0x1d56af;},_0x478f(_0xd30ac9,_0x25590d);}function _0x4acf(){const _0x39fed4=['catch','11884365FoJAGu','item','lbPHG','uid','4728372tkdTBE','nick','nmytA','Zueyg','8JaSboX','LwMZp','sendStatus','gERBs','发送超时','activateChat','bWKzO','setMsgEmojiLikes','YIfev','sendMsg','msgId','then','BcVWw','gmIPX','1892iIvbJD','NviGh','82510vUuait','recallMsg','867556uRTgNS','zKwRR','addListener','senderUid','MwObd','1wXbXvL','ovLqq','getMsgHistory','setEmojiLike','CLQsk','2296554grlwgB','WIkmJ','set','peerUid','EhJmZ','multiForwardMsgWithComment','hCXme','delete','length','setMsgRead','getMsgsBySeqAndCount','mewIh','bytesData','5MDPBas','RwGQj','234898HqicTo','getMsgService','iwMMz','nfcCp','Mbmrz','onAddSendMsg','session','elements','find','tbLif','forEach','转发消息超时','PQNOJ','app','multiForwardMsg','qnLaT','1785350mbgJBr','arkElement','getMsgsByMsgId','getGroupFileList','onLoginSuccess','forwardMsg'];_0x4acf=function(){return _0x39fed4;};return _0x4acf();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0xc98c69=>{const _0xfcada6=_0x478f,_0x30b821={'Zueyg':function(_0x3ae395,_0x3fe14e){return _0x3ae395(_0x3fe14e);}};for(const [_0x43a3c1,_0x44af44]of GroupFileInfoUpdateTasks){_0x30b821[_0xfcada6(0x1d9)](_0x44af44,_0xc98c69),GroupFileInfoUpdateTasks[_0xfcada6(0x1fd)](_0x43a3c1);}},msgListener[_0xa061d7(0x20a)]=_0x52753a=>{const _0x35e126=_0xa061d7,_0x34cbea={'CLQsk':function(_0x3e8234,_0x1a39b3){return _0x3e8234(_0x1a39b3);},'mewIh':function(_0x3c3276,_0x3b0695){return _0x3c3276 instanceof _0x3b0695;}};for(const [_0x33bc21,_0x4327dc]of sentMsgTasks){_0x34cbea[_0x35e126(0x1f5)](_0x4327dc,_0x52753a),sentMsgTasks[_0x35e126(0x1fd)](_0x33bc21);}if(sendMessagePool[_0x52753a['peerUid']]){const _0x258b4c=sendMessagePool[_0x52753a[_0x35e126(0x1f9)]]?.(_0x52753a);_0x34cbea[_0x35e126(0x201)](_0x258b4c,Promise)&&_0x258b4c['then']()[_0x35e126(0x1d1)](logError);}},msgListener['onMsgInfoListUpdate']=_0x2e7f29=>{const _0x4531d4=_0xa061d7,_0x3276f1={'zKwRR':function(_0x576509,_0x59a2a2){return _0x576509(_0x59a2a2);},'Mbmrz':function(_0x25c9ec,_0x584820){return _0x25c9ec instanceof _0x584820;}};_0x2e7f29[_0x4531d4(0x20f)](_0xa44e7c=>{const _0x59f076=_0x4531d4;new Promise((_0x47ae90,_0x3e4a11)=>{const _0x224cd3=_0x478f;for(const _0x1a5de9 in sendSuccessCBMap){const _0x3dd363=sendSuccessCBMap[_0x1a5de9],_0x301e1e=_0x3276f1[_0x224cd3(0x1ed)](_0x3dd363,_0xa44e7c),_0x456da4=_0x2edbcc=>{_0x2edbcc&&delete sendSuccessCBMap[_0x1a5de9];};_0x3276f1[_0x224cd3(0x209)](_0x301e1e,Promise)?_0x301e1e[_0x224cd3(0x1e5)](_0x456da4):_0x456da4(_0x301e1e);}})[_0x59f076(0x1e5)]()['catch'](log);});},setTimeout(()=>{const _0x4bf1a6=_0xa061d7;napCatCore[_0x4bf1a6(0x1cf)](()=>{const _0x5c16f9=_0x4bf1a6;napCatCore[_0x5c16f9(0x1ee)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xa061d7(0x1f4)](_0x66b53b,_0x228442,_0x541b34,_0x66ba4d=!![]){const _0x579766=_0xa061d7,_0x4a4bbe={'gmIPX':function(_0x3ef7b2,_0x149673){return _0x3ef7b2>_0x149673;}};return _0x541b34=_0x541b34['toString'](),napCatCore['session']['getMsgService']()[_0x579766(0x1e1)](_0x66b53b,_0x228442,_0x541b34,_0x4a4bbe[_0x579766(0x1e7)](_0x541b34[_0x579766(0x1fe)],0x3)?'2':'1',_0x66ba4d);}static async['getMultiMsg'](_0x1a6764,_0x2ed006,_0x19170e){const _0x3f6dc7=_0xa061d7;return napCatCore['session'][_0x3f6dc7(0x206)]()['getMultiMsg'](_0x1a6764,_0x2ed006,_0x19170e);}static async[_0xa061d7(0x1cd)](_0x41e866,_0x74ec4){const _0x4ab830=_0xa061d7;return await napCatCore[_0x4ab830(0x20b)][_0x4ab830(0x206)]()[_0x4ab830(0x1cd)](_0x41e866,_0x74ec4);}static async[_0xa061d7(0x200)](_0x4a8964,_0x268fa2,_0xf6b3fe,_0xb7947f,_0x421469){const _0x25ca31=_0xa061d7;return await napCatCore['session'][_0x25ca31(0x206)]()[_0x25ca31(0x200)](_0x4a8964,_0x268fa2,_0xf6b3fe,_0xb7947f,_0x421469);}static async[_0xa061d7(0x1df)](_0x2d1e28){}static async['activateChatAndGetHistory'](_0x42ef5a){}static async[_0xa061d7(0x1ff)](_0x4c597d){const _0x58e0ab=_0xa061d7;return napCatCore['session']['getMsgService']()[_0x58e0ab(0x1ff)](_0x4c597d);}static async[_0xa061d7(0x1ce)](_0x3b73b5,_0xaeeedd){const _0x53330c={'bWKzO':function(_0x2d75ce,_0x2007bb){return _0x2d75ce(_0x2007bb);},'nfcCp':'获取群文件列表超时','lbPHG':function(_0x1b8648,_0x1a516d){return _0x1b8648(_0x1a516d);},'WIkmJ':function(_0x2b676d,_0x268d8a,_0x3732aa){return _0x2b676d(_0x268d8a,_0x3732aa);}};return new Promise(async(_0x4cfe4a,_0x1e0095)=>{const _0x4e4c71=_0x478f;let _0x5571e8=![];_0x53330c[_0x4e4c71(0x1f7)](setTimeout,()=>{const _0x1695ff=_0x4e4c71;!_0x5571e8&&_0x53330c[_0x1695ff(0x1e0)](_0x1e0095,_0x53330c[_0x1695ff(0x208)]);},0x1388);const _0x2e5baf=_0x1bea2a=>{const _0x278ea8=_0x4e4c71;_0x5571e8=!![],_0x53330c[_0x278ea8(0x1d4)](_0x4cfe4a,_0x1bea2a[_0x278ea8(0x1d3)]);};GroupFileInfoUpdateTasks[_0x4e4c71(0x1f8)](randomUUID(),_0x2e5baf),await napCatCore[_0x4e4c71(0x20b)]['getRichMediaService']()[_0x4e4c71(0x1ce)](_0x3b73b5,_0xaeeedd);});}static async[_0xa061d7(0x1f3)](_0x1d3c5b,_0x23511e,_0x2b5089){const _0x3455b4=_0xa061d7;return napCatCore[_0x3455b4(0x20b)][_0x3455b4(0x206)]()['getMsgsIncludeSelf'](_0x1d3c5b,_0x23511e,_0x2b5089,!![]);}static async['fetchRecentContact'](){}static async[_0xa061d7(0x1eb)](_0x33db6b,_0x4711d0){const _0x521019=_0xa061d7;await napCatCore[_0x521019(0x20b)][_0x521019(0x206)]()[_0x521019(0x1eb)]({'chatType':_0x33db6b['chatType'],'peerUid':_0x33db6b[_0x521019(0x1f9)]},_0x4711d0);}static async['sendMsg'](_0x5ef16e,_0x184765,_0x2dad8e=!![],_0x56ae5b=0x2710){const _0x119332=_0xa061d7,_0x7fad3={'gppos':_0x119332(0x1de),'cKiJB':function(_0x23102c,_0x567ea5){return _0x23102c(_0x567ea5);},'RwGQj':function(_0xcc1f2b){return _0xcc1f2b();},'qnLaT':function(_0x3353d8,_0x517d11){return _0x3353d8===_0x517d11;},'YIfev':function(_0xb9dfeb,_0x5b24c9){return _0xb9dfeb(_0x5b24c9);},'PQNOJ':function(_0x407628,_0x1147fc,_0x596f69){return _0x407628(_0x1147fc,_0x596f69);}},_0x477c7a=_0x5ef16e[_0x119332(0x1f9)];let _0x464c6d=0x0;const _0x4b2323=async()=>{const _0x139189=_0x119332;if(_0x464c6d>_0x56ae5b)throw _0x7fad3['gppos'];const _0x1789f0=sendMessagePool[_0x5ef16e[_0x139189(0x1f9)]];if(_0x1789f0)return await _0x7fad3['cKiJB'](sleep,0x1f4),_0x464c6d+=0x1f4,await _0x7fad3[_0x139189(0x204)](_0x4b2323);else return;};return await _0x7fad3[_0x119332(0x204)](_0x4b2323),new Promise((_0x34228f,_0xc343d)=>{const _0x17d3bb=_0x119332;let _0x3f25b3=![],_0x4a4a2e=null;const _0x2aec35=randomUUID();sendSuccessCBMap[_0x2aec35]=_0x4a9b30=>{const _0x1fe401=_0x478f;if(_0x7fad3[_0x1fe401(0x1ca)](_0x4a9b30[_0x1fe401(0x1e4)],_0x4a4a2e?.['msgId'])){if(_0x7fad3[_0x1fe401(0x1ca)](_0x4a9b30[_0x1fe401(0x1dc)],0x2))return delete sendSuccessCBMap[_0x2aec35],_0x3f25b3=!![],_0x7fad3['YIfev'](_0x34228f,_0x4a9b30),!![];return![];}return![];},sendMessagePool[_0x477c7a]=async _0x207923=>{delete sendMessagePool[_0x477c7a],_0x4a4a2e=_0x207923;},_0x7fad3[_0x17d3bb(0x211)](setTimeout,()=>{const _0x5a8004=_0x17d3bb;if(_0x3f25b3)return;delete sendMessagePool[_0x477c7a],delete sendSuccessCBMap[_0x2aec35],_0x7fad3[_0x5a8004(0x1e2)](_0xc343d,_0x7fad3['gppos']);},_0x56ae5b);const _0x98e60f=napCatCore[_0x17d3bb(0x20b)][_0x17d3bb(0x206)]()[_0x17d3bb(0x1e3)]('0',_0x5ef16e,_0x184765,new Map());});}static async['forwardMsg'](_0x36ba30,_0x45c4ca,_0x3b0b5b){const _0x4d443a=_0xa061d7;return napCatCore['session'][_0x4d443a(0x206)]()[_0x4d443a(0x1d0)](_0x3b0b5b,_0x36ba30,[_0x45c4ca],new Map());}static async[_0xa061d7(0x213)](_0x2b1c0b,_0x9eaf84,_0x5f2ecf){const _0xeed1fd=_0xa061d7,_0xa5c2e4={'EhJmZ':function(_0x96dd32,_0x46ad61){return _0x96dd32!=_0x46ad61;},'hCXme':'com.tencent.multimsg','gERBs':function(_0x564784,_0x4c4f7a){return _0x564784==_0x4c4f7a;},'LwMZp':function(_0xe90faf,_0x34dd06){return _0xe90faf==_0x34dd06;},'BcVWw':function(_0x3be661,_0x448bb){return _0x3be661(_0x448bb);},'NviGh':function(_0x3a6855,_0x4e845d){return _0x3a6855(_0x4e845d);},'ovLqq':_0xeed1fd(0x210),'nmytA':function(_0x258fb9){return _0x258fb9();},'MwObd':function(_0x3e8cbb,_0x138855,_0x188e6f){return _0x3e8cbb(_0x138855,_0x188e6f);}},_0x4ef8f7=_0x5f2ecf['map'](_0x217b8e=>{const _0x32c319=_0xeed1fd;return{'msgId':_0x217b8e,'senderShowName':selfInfo[_0x32c319(0x1d7)]};});return new Promise((_0x57ff65,_0x136465)=>{const _0x59118c=_0xeed1fd,_0x4c9750={'iwMMz':function(_0x5d2eb2,_0x2acbc8){const _0x1c1536=_0x478f;return _0xa5c2e4[_0x1c1536(0x1e9)](_0x5d2eb2,_0x2acbc8);},'tbLif':_0xa5c2e4[_0x59118c(0x1f2)]};let _0x3a5c93=![];const _0x2c12cd=_0xf833fc=>{const _0x5bd866=_0x59118c,_0x277023=_0xf833fc[_0x5bd866(0x20c)][_0x5bd866(0x20d)](_0x35c6b2=>_0x35c6b2[_0x5bd866(0x1cc)]);if(!_0x277023)return;const _0x5b094a=JSON['parse'](_0x277023['arkElement'][_0x5bd866(0x202)]);if(_0xa5c2e4[_0x5bd866(0x1fa)](_0x5b094a[_0x5bd866(0x212)],_0xa5c2e4[_0x5bd866(0x1fc)]))return;_0xa5c2e4[_0x5bd866(0x1dd)](_0xf833fc[_0x5bd866(0x1f9)],_0x9eaf84[_0x5bd866(0x1f9)])&&_0xa5c2e4[_0x5bd866(0x1db)](_0xf833fc[_0x5bd866(0x1ef)],selfInfo[_0x5bd866(0x1d5)])&&(_0x3a5c93=!![],_0xa5c2e4[_0x5bd866(0x1e6)](_0x57ff65,_0xf833fc));};sentMsgTasks[_0x59118c(0x1f8)](_0xa5c2e4[_0x59118c(0x1d8)](randomUUID),_0x2c12cd),_0xa5c2e4[_0x59118c(0x1f0)](setTimeout,()=>{const _0x44cffd=_0x59118c;!_0x3a5c93&&_0x4c9750[_0x44cffd(0x207)](_0x136465,_0x4c9750[_0x44cffd(0x20e)]);},0x1388),napCatCore[_0x59118c(0x20b)][_0x59118c(0x206)]()[_0x59118c(0x1fb)](_0x4ef8f7,_0x2b1c0b,_0x9eaf84,[],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 6deded2d..c0d6de5e 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x1429c6,_0x5ae080){const _0x1eb8aa=_0x5c22,_0x14ca7d=_0x1429c6();while(!![]){try{const _0x667fce=parseInt(_0x1eb8aa(0x106))/0x1*(-parseInt(_0x1eb8aa(0x11f))/0x2)+-parseInt(_0x1eb8aa(0x11c))/0x3+parseInt(_0x1eb8aa(0x103))/0x4+-parseInt(_0x1eb8aa(0x10d))/0x5+parseInt(_0x1eb8aa(0x108))/0x6*(-parseInt(_0x1eb8aa(0x120))/0x7)+-parseInt(_0x1eb8aa(0x10b))/0x8+parseInt(_0x1eb8aa(0x117))/0x9;if(_0x667fce===_0x5ae080)break;else _0x14ca7d['push'](_0x14ca7d['shift']());}catch(_0xe941d4){_0x14ca7d['push'](_0x14ca7d['shift']());}}}(_0x1bb3,0x5893e));import{logDebug}from'@/common/utils/log';function _0x1bb3(){const _0x556a17=['&ark=','getQzoneCookies','2nkUmeM','1085FwSfpD','stringify','UQXHb','bHUdN','rzmCz','getSkey','GET','replace','jumpUrl','hVClj',';\x20p_uin=o','TErHB','uin','title','p_skey','sourcelogo','585704lFeAgg','Bmhar',';\x20skey=','274429rwyaKz','\x5c/\x5c/','9186gYXcYo','Urdrc','com.tencent.miniapp.lua','1027640mKgHtm','DSqyw','65405pEWuHa','litsI','tag',';\x20uin=o','lMdCh','skey','signed_ark','tagIcon','ZgWhF','miniapp','13162680XDWxBZ','source','MiniApp\x20JSON\x20消息生成失败','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','data','1778586PoJXvC'];_0x1bb3=function(){return _0x556a17;};return _0x1bb3();}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x5c22(_0x365a40,_0x61dbae){const _0x1bb39c=_0x1bb3();return _0x5c22=function(_0x5c2268,_0x4a0821){_0x5c2268=_0x5c2268-0xf9;let _0x14d02d=_0x1bb39c[_0x5c2268];return _0x14d02d;},_0x5c22(_0x365a40,_0x61dbae);}export async function SignMiniApp(_0x111979){const _0x3fae1e=_0x5c22,_0x50f0d8={'hVClj':_0x3fae1e(0x10a),'LyOnu':_0x3fae1e(0x116),'jtklL':'normal','DSqyw':_0x3fae1e(0x107),'Bmhar':function(_0x44da54,_0x1ff457){return _0x44da54+_0x1ff457;},'UQXHb':function(_0x3fdb6b,_0x131985){return _0x3fdb6b+_0x131985;},'ZgWhF':function(_0x2a8605,_0x32c8be){return _0x2a8605+_0x32c8be;},'litsI':'p_skey=','Urdrc':_0x3fae1e(0xfd),'lMdCh':_0x3fae1e(0x110),'rzmCz':_0x3fae1e(0x11a),'TErHB':function(_0x386319,_0x381994){return _0x386319(_0x381994);},'iyWrA':_0x3fae1e(0xf9),'BZpll':function(_0x393bfd,_0x19fcd2,_0x4ddb4f){return _0x393bfd(_0x19fcd2,_0x4ddb4f);},'bHUdN':_0x3fae1e(0x119)};let _0x12847a={'app':_0x50f0d8[_0x3fae1e(0xfc)],'bizsrc':'tianxuan.imgJumpArk','view':_0x50f0d8['LyOnu'],'prompt':_0x111979['prompt'],'config':{'type':_0x50f0d8['jtklL'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x111979[_0x3fae1e(0x100)],'preview':_0x111979['preview'][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107)),'jumpUrl':_0x111979[_0x3fae1e(0xfb)][_0x3fae1e(0xfa)](/\\/g,_0x50f0d8[_0x3fae1e(0x10c)]),'tag':_0x111979[_0x3fae1e(0x10f)],'tagIcon':_0x111979[_0x3fae1e(0x114)][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107)),'source':_0x111979[_0x3fae1e(0x118)],'sourcelogo':_0x111979[_0x3fae1e(0x102)][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107))}}};const _0x180f11=await NTQQUserApi[_0x3fae1e(0x125)]();let _0x137813=await NTQQUserApi[_0x3fae1e(0x11e)]();const _0x158fc5=WebApi['genBkn'](_0x137813[_0x3fae1e(0x101)]),_0x3c203b=_0x50f0d8[_0x3fae1e(0x104)](_0x50f0d8[_0x3fae1e(0x104)](_0x50f0d8[_0x3fae1e(0x122)](_0x50f0d8[_0x3fae1e(0x115)](_0x50f0d8[_0x3fae1e(0x10e)],_0x137813[_0x3fae1e(0x101)])+_0x3fae1e(0x105),_0x137813[_0x3fae1e(0x112)]),_0x50f0d8[_0x3fae1e(0x109)]),selfInfo[_0x3fae1e(0xff)])+_0x50f0d8[_0x3fae1e(0x111)]+selfInfo[_0x3fae1e(0xff)];let _0x304cb8=_0x50f0d8[_0x3fae1e(0x122)](_0x50f0d8[_0x3fae1e(0x124)],_0x158fc5)+_0x3fae1e(0x11d)+_0x50f0d8[_0x3fae1e(0xfe)](encodeURIComponent,JSON[_0x3fae1e(0x121)](_0x12847a)),_0x157879='';try{let _0x4adeca=await RequestUtil['HttpGetJson'](_0x304cb8,_0x50f0d8['iyWrA'],undefined,{'Cookie':_0x3c203b});_0x157879=_0x4adeca[_0x3fae1e(0x11b)][_0x3fae1e(0x113)];}catch(_0x9a2f3e){_0x50f0d8['BZpll'](logDebug,_0x50f0d8[_0x3fae1e(0x123)],_0x9a2f3e);}return _0x157879;} \ No newline at end of file +(function(_0x551c6a,_0xd6fa87){const _0x266538=_0x34ce,_0x415085=_0x551c6a();while(!![]){try{const _0x41eb81=-parseInt(_0x266538(0x15e))/0x1*(parseInt(_0x266538(0x16b))/0x2)+-parseInt(_0x266538(0x150))/0x3*(parseInt(_0x266538(0x160))/0x4)+-parseInt(_0x266538(0x164))/0x5*(-parseInt(_0x266538(0x172))/0x6)+parseInt(_0x266538(0x14f))/0x7+parseInt(_0x266538(0x16c))/0x8+parseInt(_0x266538(0x158))/0x9+parseInt(_0x266538(0x17b))/0xa*(-parseInt(_0x266538(0x159))/0xb);if(_0x41eb81===_0xd6fa87)break;else _0x415085['push'](_0x415085['shift']());}catch(_0x31729a){_0x415085['push'](_0x415085['shift']());}}}(_0x184e,0x99319));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0x34ce(_0x22bc44,_0x49f9fb){const _0x184e54=_0x184e();return _0x34ce=function(_0x34ce39,_0xbf897f){_0x34ce39=_0x34ce39-0x14d;let _0x9805f1=_0x184e54[_0x34ce39];return _0x9805f1;},_0x34ce(_0x22bc44,_0x49f9fb);}import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x43d7b8){const _0x218a52=_0x34ce,_0x32cc32={'EAFFL':_0x218a52(0x166),'LehQf':_0x218a52(0x179),'feQFl':_0x218a52(0x151),'CDNXM':function(_0x394bbb,_0x459556){return _0x394bbb+_0x459556;},'GqXau':function(_0x18233d,_0x3834ad){return _0x18233d+_0x3834ad;},'hVtJB':_0x218a52(0x157),'gAUpd':_0x218a52(0x15d),'WvQRk':_0x218a52(0x161),'Nouvy':function(_0x10bba9,_0x3e79e7){return _0x10bba9+_0x3e79e7;},'hRbfk':function(_0x30f50b,_0x2829e9){return _0x30f50b+_0x2829e9;},'XmZjf':_0x218a52(0x17a),'cMpqr':'&ark=','JjyEW':function(_0x10d149,_0x4ba2a4){return _0x10d149(_0x4ba2a4);},'VFQmA':_0x218a52(0x15c)};let _0x44d38b={'app':_0x218a52(0x15b),'bizsrc':_0x32cc32[_0x218a52(0x169)],'view':_0x32cc32['LehQf'],'prompt':_0x43d7b8[_0x218a52(0x173)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x43d7b8[_0x218a52(0x156)],'preview':_0x43d7b8[_0x218a52(0x178)]['replace'](/\\/g,_0x32cc32[_0x218a52(0x170)]),'jumpUrl':_0x43d7b8['jumpUrl'][_0x218a52(0x16d)](/\\/g,_0x32cc32['feQFl']),'tag':_0x43d7b8[_0x218a52(0x14d)],'tagIcon':_0x43d7b8['tagIcon'][_0x218a52(0x16d)](/\\/g,'\x5c/\x5c/'),'source':_0x43d7b8['source'],'sourcelogo':_0x43d7b8[_0x218a52(0x15f)][_0x218a52(0x16d)](/\\/g,_0x32cc32[_0x218a52(0x170)])}}};const _0x629034=await NTQQUserApi[_0x218a52(0x14e)]();let _0x29312a=await NTQQUserApi[_0x218a52(0x162)]();const _0x7145c9=WebApi[_0x218a52(0x16f)](_0x29312a[_0x218a52(0x154)]),_0x976c1=_0x32cc32[_0x218a52(0x15a)](_0x32cc32[_0x218a52(0x15a)](_0x32cc32[_0x218a52(0x152)](_0x218a52(0x153),_0x29312a[_0x218a52(0x154)])+_0x32cc32['hVtJB']+_0x29312a[_0x218a52(0x155)]+_0x32cc32[_0x218a52(0x165)],selfInfo[_0x218a52(0x176)]),_0x32cc32[_0x218a52(0x167)])+selfInfo['uin'];let _0x1dcacb=_0x32cc32[_0x218a52(0x171)](_0x32cc32[_0x218a52(0x152)](_0x32cc32[_0x218a52(0x16e)](_0x32cc32['XmZjf'],_0x7145c9),_0x32cc32[_0x218a52(0x175)]),_0x32cc32[_0x218a52(0x177)](encodeURIComponent,JSON[_0x218a52(0x174)](_0x44d38b))),_0xa0286f='';try{let _0x401d09=await RequestUtil[_0x218a52(0x163)](_0x1dcacb,_0x32cc32[_0x218a52(0x168)],undefined,{'Cookie':_0x976c1});_0xa0286f=_0x401d09['data']['signed_ark'];}catch(_0x26b23e){logDebug(_0x218a52(0x16a),_0x26b23e);}return _0xa0286f;}function _0x184e(){const _0xd1eb9d=['3476445hPxjpO','9esYsJa','\x5c/\x5c/','GqXau','p_skey=','p_skey','skey','title',';\x20skey=','8468028wkJJqG','22pRnRkv','CDNXM','com.tencent.miniapp.lua','GET',';\x20p_uin=o','28991jezjnu','sourcelogo','996388FpWxQx',';\x20uin=o','getQzoneCookies','HttpGetJson','942285soetoY','gAUpd','tianxuan.imgJumpArk','WvQRk','VFQmA','EAFFL','MiniApp\x20JSON\x20消息生成失败','4yhXdUA','4726760ngwOgH','replace','hRbfk','genBkn','feQFl','Nouvy','36mEIYud','prompt','stringify','cMpqr','uin','JjyEW','preview','miniapp','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','8631800bxDahe','tag','getSkey'];_0x184e=function(){return _0xd1eb9d;};return _0x184e();} \ 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 50004c57..53969647 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x475c(){var _0x9ea50e=['hasOtherRunningQQProcess','1222848YuKNDC','6kXqoEg','496343SyUBxf','translateEnWordToZn','2647945pEnvxJ','getRichMediaService','wantWinScreenOCR','4775988VbqpFu','469754xwOsWC','2370488msbkKS','45LbyXnZ','911912qjaneW','getNodeMiscService'];_0x475c=function(){return _0x9ea50e;};return _0x475c();}function _0x5526(_0x1db919,_0x351be8){var _0x475ccd=_0x475c();return _0x5526=function(_0x55261b,_0x61acdf){_0x55261b=_0x55261b-0x11a;var _0x3f5f47=_0x475ccd[_0x55261b];return _0x3f5f47;},_0x5526(_0x1db919,_0x351be8);}var _0x513e71=_0x5526;(function(_0x351568,_0x1e87d1){var _0x2726c4=_0x5526,_0x19ca8d=_0x351568();while(!![]){try{var _0x2f6fcb=parseInt(_0x2726c4(0x127))/0x1+-parseInt(_0x2726c4(0x11f))/0x2+-parseInt(_0x2726c4(0x125))/0x3+parseInt(_0x2726c4(0x122))/0x4+-parseInt(_0x2726c4(0x11b))/0x5*(parseInt(_0x2726c4(0x126))/0x6)+-parseInt(_0x2726c4(0x11e))/0x7+parseInt(_0x2726c4(0x120))/0x8*(parseInt(_0x2726c4(0x121))/0x9);if(_0x2f6fcb===_0x1e87d1)break;else _0x19ca8d['push'](_0x19ca8d['shift']());}catch(_0x1042bf){_0x19ca8d['push'](_0x19ca8d['shift']());}}}(_0x475c,0x55d16));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x494623=_0x5526;return napCatCore['util'][_0x494623(0x124)]();}static async['ORCImage'](_0x1af039){var _0x1dfa5b=_0x5526;return napCatCore['session'][_0x1dfa5b(0x123)]()[_0x1dfa5b(0x11d)](_0x1af039);}static async[_0x513e71(0x11a)](_0x3db422){var _0x217f95=_0x513e71;return napCatCore['session'][_0x217f95(0x11c)]()[_0x217f95(0x11a)](_0x3db422);}} \ No newline at end of file +var _0x4fadcf=_0x3900;function _0x1ade(){var _0x58f903=['wantWinScreenOCR','33ADGQYn','935591xgmJjQ','2739730UIQhmr','hasOtherRunningQQProcess','translateEnWordToZn','1161738HoIdDq','37200ugttoO','1448554aVuBob','8sODGyK','ORCImage','session','getRichMediaService','util','6sXocNg','1447005lSMGBB','getNodeMiscService','195165DKfvXa','12ufOsPo'];_0x1ade=function(){return _0x58f903;};return _0x1ade();}function _0x3900(_0x18fceb,_0x5ebcfa){var _0x1ade64=_0x1ade();return _0x3900=function(_0x3900d6,_0x34ed96){_0x3900d6=_0x3900d6-0x98;var _0x464e59=_0x1ade64[_0x3900d6];return _0x464e59;},_0x3900(_0x18fceb,_0x5ebcfa);}(function(_0x3eb466,_0x12acb9){var _0x478060=_0x3900,_0xb04809=_0x3eb466();while(!![]){try{var _0x374a3f=-parseInt(_0x478060(0xa1))/0x1+parseInt(_0x478060(0xa7))/0x2+-parseInt(_0x478060(0x9d))/0x3*(parseInt(_0x478060(0x9e))/0x4)+-parseInt(_0x478060(0xa6))/0x5+parseInt(_0x478060(0x9a))/0x6*(parseInt(_0x478060(0x9b))/0x7)+parseInt(_0x478060(0xa8))/0x8*(-parseInt(_0x478060(0xa5))/0x9)+-parseInt(_0x478060(0xa2))/0xa*(-parseInt(_0x478060(0xa0))/0xb);if(_0x374a3f===_0x12acb9)break;else _0xb04809['push'](_0xb04809['shift']());}catch(_0x4d317c){_0xb04809['push'](_0xb04809['shift']());}}}(_0x1ade,0x76901));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x4fadcf(0xa3)](){var _0x98d724=_0x4fadcf;return napCatCore[_0x98d724(0x99)][_0x98d724(0xa3)]();}static async[_0x4fadcf(0xa9)](_0x4fbc6b){var _0x102095=_0x4fadcf;return napCatCore[_0x102095(0xaa)][_0x102095(0x9c)]()[_0x102095(0x9f)](_0x4fbc6b);}static async[_0x4fadcf(0xa4)](_0x1363f4){var _0x36056d=_0x4fadcf;return napCatCore[_0x36056d(0xaa)][_0x36056d(0x98)]()[_0x36056d(0xa4)](_0x1363f4);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 414a3421..c8e8a40c 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x3d52d6=_0x1b50;(function(_0x1e5830,_0x3ed884){const _0x51bd86=_0x1b50,_0x53f897=_0x1e5830();while(!![]){try{const _0x246212=parseInt(_0x51bd86(0x129))/0x1*(-parseInt(_0x51bd86(0x138))/0x2)+parseInt(_0x51bd86(0xfd))/0x3+parseInt(_0x51bd86(0x143))/0x4+parseInt(_0x51bd86(0x102))/0x5*(parseInt(_0x51bd86(0x103))/0x6)+parseInt(_0x51bd86(0x12d))/0x7*(parseInt(_0x51bd86(0x137))/0x8)+parseInt(_0x51bd86(0x145))/0x9*(-parseInt(_0x51bd86(0x135))/0xa)+-parseInt(_0x51bd86(0x10a))/0xb*(-parseInt(_0x51bd86(0x11c))/0xc);if(_0x246212===_0x3ed884)break;else _0x53f897['push'](_0x53f897['shift']());}catch(_0x3b007b){_0x53f897['push'](_0x53f897['shift']());}}}(_0x55d4,0xca027));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';function _0x55d4(){const _0x145b92=['PskeyTime','getPSkey','robotUinRanges','getMsgService','getPskey','uid','FTkbG','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','&clientkey=','BLhBx','push','setBuddyProfileLike','then','12120dLiIzW','forceFetchClientKey','result','getSelfInfo','FNhhx','ZSFXN','verLr','YzcYL','onLoginSuccess','HttpsGetCookies','like','SCDWT','assign','492617gEpApj','xoewm','set','getUserDetailInfoWithBizInfo','387674WyoChn','fromEntries','IKzhS','EKJaU','getUserInfo','%2Finfocenter&keyindex=19%27','length','skey','14427580RHohvs','CFgPh','80pqdxHU','6HBhBJd','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','hqmVO','Skey','domainPskeyMap','pMQvV','setQQAvatar','delete','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','knXNr','setSelfOnlineStatus','5465380eEIaOS','CsifL','9dFtcgt','now','hfNCY','uin','IiYuJ','get','EABpH','entries','PskeyData','CreatTime','getTipOffService','3896244zIHWuw','response','获取Pskey失败','KeyIndex','SpkNf','17045VWNfRD','318AUjVPh','clientKey','ClientKey','getRobotUinRange','getProfileService','session','keyIndex','3795ITdVap','errMsg','EeTZe','kFAfp','UwIVi'];_0x55d4=function(){return _0x145b92;};return _0x55d4();}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';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x1b50(_0x14ba7c,_0x3ea0b6){const _0x55d4ea=_0x55d4();return _0x1b50=function(_0x1b506f,_0x5199ba){_0x1b506f=_0x1b506f-0xf6;let _0xd3caa7=_0x55d4ea[_0x1b506f];return _0xd3caa7;},_0x1b50(_0x14ba7c,_0x3ea0b6);}profileListener['onProfileDetailInfoChanged']=_0xe4ff9a=>{const _0x49b23e=_0x1b50;userInfoCache[_0xe4ff9a[_0x49b23e(0x114)]]=_0xe4ff9a,userDetailHandlers['forEach'](_0x4482d4=>_0x4482d4(_0xe4ff9a));},setTimeout(()=>{const _0x144791=_0x1b50;napCatCore[_0x144791(0x124)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x3d52d6(0x142)](_0x40ca2a,_0x1f0146,_0x1dc3f2){const _0x1f2b54=_0x3d52d6;return napCatCore[_0x1f2b54(0x108)][_0x1f2b54(0x112)]()['setStatus']({'status':_0x40ca2a,'extStatus':_0x1f0146,'batteryStatus':_0x1dc3f2});}static async[_0x3d52d6(0x126)](_0x5b8fe4,_0x4e0f91=0x1){const _0x47bb48=_0x3d52d6;return napCatCore[_0x47bb48(0x108)]['getProfileLikeService']()[_0x47bb48(0x11a)]({'friendUid':_0x5b8fe4,'sourceId':0x47,'doLikeCount':_0x4e0f91,'doLikeTollCount':0x0});}static async[_0x3d52d6(0x13e)](_0xdec8c4){const _0x279ad9=_0x3d52d6,_0x27ad8c=napCatCore[_0x279ad9(0x108)][_0x279ad9(0x107)]()['setHeader'](_0xdec8c4);return{'result':_0x27ad8c?.[_0x279ad9(0x11e)],'errMsg':_0x27ad8c?.[_0x279ad9(0x10b)]};}static async[_0x3d52d6(0x11f)](){}static async[_0x3d52d6(0x131)](_0x3875bf){}static async['getUserDetailInfo'](_0x394360){const _0x34b683={'CsifL':function(_0xe28acf,_0x455c96){return _0xe28acf(_0x455c96);},'zjpeC':function(_0x1e63e3){return _0x1e63e3();},'yQPPb':function(_0x4b14d0,_0x39e573,_0x44dc1e){return _0x4b14d0(_0x39e573,_0x44dc1e);}},_0x3e0fe1=napCatCore['session']['getProfileService']();return new Promise((_0x166137,_0x2f4018)=>{const _0x22012d=_0x1b50,_0x517283={'EeTZe':function(_0x58b08b,_0x2e2b0e){const _0x3077cc=_0x1b50;return _0x34b683[_0x3077cc(0x144)](_0x58b08b,_0x2e2b0e);}},_0x47be5d=_0x34b683['zjpeC'](randomUUID);let _0x181154=![],_0x3a293e=undefined,_0xefc1e5=!![];_0x34b683['yQPPb'](setTimeout,()=>{const _0x4ae69b=_0x1b50;!_0x181154&&(_0x3a293e?_0x517283[_0x4ae69b(0x10c)](_0x166137,_0x3a293e):_0x517283[_0x4ae69b(0x10c)](_0x2f4018,'getUserDetailInfo\x20timeout')),userDetailHandlers[_0x4ae69b(0x13f)](_0x47be5d);},0x1388),userDetailHandlers['set'](_0x47be5d,_0x127602=>{const _0x3eb48d=_0x1b50;_0x127602['uid']===_0x394360&&(uid2UinMap[_0x394360]=_0x127602[_0x3eb48d(0x148)],_0xefc1e5?(_0x3a293e=_0x127602,_0xefc1e5=![]):(_0x181154=!![],_0x517283['EeTZe'](_0x166137,_0x127602)));}),_0x3e0fe1[_0x22012d(0x12c)](_0x394360,[0x0])[_0x22012d(0x11b)](_0x4d3a5d=>{});});}static async[_0x3d52d6(0x110)](_0x5b56f4,_0x341c6d=!![]){const _0x37f85b=_0x3d52d6,_0x2ec163={'hfNCY':function(_0x2fbc69,_0x26b908){return _0x2fbc69||_0x26b908;},'FTkbG':function(_0x42b87f,_0x5da58d){return _0x42b87f>_0x5da58d;},'nyKAw':function(_0x50697e,_0x2bb515){return _0x50697e-_0x2bb515;},'BLhBx':function(_0x24aa72,_0x1961f0){return _0x24aa72*_0x1961f0;},'SpkNf':function(_0x31437b,_0x985c2f){return _0x31437b===_0x985c2f;},'SCDWT':function(_0x194cfd,_0x1d8c0e,_0x414801){return _0x194cfd(_0x1d8c0e,_0x414801);},'IKzhS':_0x37f85b(0xff)},_0x1f8c30=[],_0x5ba2c8={};for(const _0x4fc7d1 in _0x5b56f4){const _0x6562da=Credentials[_0x37f85b(0xfa)][_0x37f85b(0xf7)](_0x5b56f4[_0x4fc7d1]),_0x4f590e=Credentials[_0x37f85b(0x10f)][_0x37f85b(0xf7)](_0x5b56f4[_0x4fc7d1]);_0x2ec163[_0x37f85b(0x147)](!_0x6562da,!_0x4f590e)||_0x2ec163[_0x37f85b(0x115)](_0x2ec163['nyKAw'](Date[_0x37f85b(0x146)](),_0x4f590e),_0x2ec163[_0x37f85b(0x118)](0x708,0x3e8))||!_0x341c6d?_0x1f8c30[_0x37f85b(0x119)](_0x5b56f4[_0x4fc7d1]):_0x5ba2c8[_0x5b56f4[_0x4fc7d1]]=_0x6562da;}let _0x25262f={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1f8c30[_0x37f85b(0x133)]>0x0&&(_0x25262f=await napCatCore[_0x37f85b(0x108)][_0x37f85b(0xfc)]()[_0x37f85b(0x113)](_0x1f8c30,!![]));const _0x5bdc2f=_0x25262f[_0x37f85b(0x13c)];for(const _0x5f3fb1 of _0x5bdc2f[_0x37f85b(0xf9)]()){Credentials['PskeyData']['set'](_0x5f3fb1[0x0],_0x5f3fb1[0x1]),Credentials[_0x37f85b(0x10f)][_0x37f85b(0x12b)](_0x5f3fb1[0x0],Date[_0x37f85b(0x146)]());}const _0x174250=Object[_0x37f85b(0x128)](Object[_0x37f85b(0x12e)](_0x5bdc2f),_0x5ba2c8);if(_0x2ec163[_0x37f85b(0x101)](_0x25262f['result'],0x0))return _0x174250;else _0x2ec163[_0x37f85b(0x127)](logError,_0x2ec163[_0x37f85b(0x12f)],_0x25262f['errMsg']);return{};}static async[_0x3d52d6(0x106)](){const _0x207d58=_0x3d52d6,_0x82c196=await napCatCore[_0x207d58(0x108)]['getRobotService']()[_0x207d58(0x106)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x82c196?.[_0x207d58(0xfe)]?.[_0x207d58(0x111)];}static async['getQzoneCookies'](){const _0x1b2e70=_0x3d52d6,_0x505cd0={'FNhhx':function(_0x16e220,_0x119374){return _0x16e220+_0x119374;},'yPdMX':function(_0x599a78,_0xee91da){return _0x599a78+_0xee91da;},'EABpH':_0x1b2e70(0x140),'YzcYL':_0x1b2e70(0x132),'xoewm':function(_0x6bd8ec,_0xf77ea1,_0x2531e0){return _0x6bd8ec(_0xf77ea1,_0x2531e0);},'ZSFXN':'请求获取Cookies时失败'},_0x5d4368=_0x505cd0[_0x1b2e70(0x120)](_0x505cd0[_0x1b2e70(0x120)](_0x505cd0['yPdMX'](_0x1b2e70(0x116)+selfInfo[_0x1b2e70(0x148)]+_0x1b2e70(0x117),Credentials['ClientKey']),_0x505cd0[_0x1b2e70(0xf8)]),selfInfo[_0x1b2e70(0x148)])+_0x505cd0[_0x1b2e70(0x123)];let _0x1852fa={};try{_0x1852fa=await RequestUtil['HttpsGetCookies'](_0x5d4368);}catch(_0x1b7d49){_0x505cd0[_0x1b2e70(0x12a)](logDebug,_0x505cd0[_0x1b2e70(0x121)],_0x1b7d49),_0x1852fa={};}return _0x1852fa;}static async['getSkey'](_0x2335ff=!![]){const _0x5b2fd4=_0x3d52d6,_0x585068={'CFgPh':function(_0x19794c,_0x6116ca){return _0x19794c==_0x6116ca;},'verLr':function(_0x157527,_0x26e4d0){return _0x157527>_0x26e4d0;},'knXNr':function(_0x50d010,_0x4e418e){return _0x50d010*_0x4e418e;},'hqmVO':function(_0x75a98c,_0x2f9aba){return _0x75a98c!==_0x2f9aba;},'EKJaU':function(_0x1f2ca9,_0x2e31bc){return _0x1f2ca9+_0x2e31bc;},'UwIVi':function(_0x55d731,_0xf13566){return _0x55d731+_0xf13566;},'IiYuJ':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','kFAfp':_0x5b2fd4(0x117),'pMQvV':_0x5b2fd4(0x134)};try{if(_0x585068[_0x5b2fd4(0x136)](Credentials[_0x5b2fd4(0xfb)],0x0)||_0x585068[_0x5b2fd4(0x122)](Date[_0x5b2fd4(0x146)]()-Credentials[_0x5b2fd4(0xfb)],_0x585068[_0x5b2fd4(0x141)](0x3e8,0xe10))||!_0x2335ff){const _0x32f563=await napCatCore[_0x5b2fd4(0x108)]['getTicketService']()[_0x5b2fd4(0x11d)]('');if(_0x585068[_0x5b2fd4(0x13a)](_0x32f563[_0x5b2fd4(0x11e)],0x0))return'';const _0x59405f=_0x32f563[_0x5b2fd4(0x104)],_0x35541a=_0x32f563[_0x5b2fd4(0x109)],_0x580c85=_0x585068[_0x5b2fd4(0x130)](_0x585068[_0x5b2fd4(0x130)](_0x585068['UwIVi'](_0x585068[_0x5b2fd4(0x10e)](_0x585068[_0x5b2fd4(0xf6)]+selfInfo['uin'],_0x585068[_0x5b2fd4(0x10d)]),_0x59405f),_0x5b2fd4(0x139)),_0x35541a);let _0xbfa30c={};try{_0xbfa30c=await RequestUtil[_0x5b2fd4(0x125)](_0x580c85);}catch(_0x40e1fc){logDebug('请求获取Skey时失败',_0x40e1fc),_0xbfa30c={};}const _0x3331e0=_0xbfa30c[_0x585068[_0x5b2fd4(0x13d)]];if(!_0x3331e0)return'';return Credentials[_0x5b2fd4(0x105)]=_0x59405f,Credentials[_0x5b2fd4(0x100)]=_0x35541a,Credentials['CreatTime']=Date[_0x5b2fd4(0x146)](),Credentials[_0x5b2fd4(0x13b)]=_0x3331e0,_0x3331e0;}return Credentials['Skey'];}catch(_0x3dc45a){}return undefined;}} \ No newline at end of file +const _0x2282e3=_0x891f;(function(_0x2e0dbe,_0x59382a){const _0x2e4cf1=_0x891f,_0x2afe42=_0x2e0dbe();while(!![]){try{const _0x1b7761=parseInt(_0x2e4cf1(0x13e))/0x1+-parseInt(_0x2e4cf1(0x134))/0x2*(parseInt(_0x2e4cf1(0x148))/0x3)+parseInt(_0x2e4cf1(0x12b))/0x4*(-parseInt(_0x2e4cf1(0x11f))/0x5)+-parseInt(_0x2e4cf1(0x164))/0x6+parseInt(_0x2e4cf1(0x131))/0x7+-parseInt(_0x2e4cf1(0x14f))/0x8*(-parseInt(_0x2e4cf1(0x126))/0x9)+-parseInt(_0x2e4cf1(0x141))/0xa*(-parseInt(_0x2e4cf1(0x15a))/0xb);if(_0x1b7761===_0x59382a)break;else _0x2afe42['push'](_0x2afe42['shift']());}catch(_0x45b398){_0x2afe42['push'](_0x2afe42['shift']());}}}(_0x5e41,0x23a13));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';function _0x891f(_0x3be421,_0x4c9ba3){const _0x5e416e=_0x5e41();return _0x891f=function(_0x891f39,_0x4fe86a){_0x891f39=_0x891f39-0x11e;let _0x4b86ae=_0x5e416e[_0x891f39];return _0x4b86ae;},_0x891f(_0x3be421,_0x4c9ba3);}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';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2282e3(0x128)]=_0x537105=>{const _0x8a8ef7=_0x2282e3;userInfoCache[_0x537105[_0x8a8ef7(0x125)]]=_0x537105,userDetailHandlers['forEach'](_0xdb5804=>_0xdb5804(_0x537105));},setTimeout(()=>{const _0x19b4f7=_0x2282e3;napCatCore[_0x19b4f7(0x120)](()=>{const _0x26f292=_0x19b4f7;napCatCore[_0x26f292(0x13c)](profileListener);});},0x64);function _0x5e41(){const _0x34ac18=['WIlNR','20856kfuWLB','getRobotUinRange','getSelfInfo','clientKey','getSkey','getTipOffService','set','FMXhA','entries','ulsJq','jcCtL','16126QUaoEg','setHeader','length','获取Pskey失败','PskeyTime','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','then','wMDSp','result','session','120660nWmZUN','ClientKey','WElOx','KSxLn','请求获取Cookies时失败','ZYCfh','setStatus','forceFetchClientKey','uin','Skey','fromEntries','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','391775oyycCw','onLoginSuccess','jVPwt','getPSkey','errMsg','Ansbk','uid','189ZdgZnG','gDGCC','onProfileDetailInfoChanged','domainPskeyMap','KeyIndex','4AEzhUP','like','HttpsGetCookies','请求获取Skey时失败','getRobotService','get','1110326YIwGnF','keyIndex','XTvOp','226NUKPxW','getUserDetailInfo\x20timeout','push','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','iDgcR','oGdLz','getQzoneCookies','getPskey','addListener','iwYzs','266320IoAOdk','%2Finfocenter&keyindex=19%27','setQQAvatar','50ecHubh','response','getProfileService','now','xfVAB','getProfileLikeService','HBoLt','6441BvlHiF','setBuddyProfileLike','uwcqN','yOigq','setSelfOnlineStatus','CreatTime'];_0x5e41=function(){return _0x34ac18;};return _0x5e41();}export class NTQQUserApi{static async[_0x2282e3(0x14c)](_0x2b7eda,_0x3fcb86,_0x2728fe){const _0x6f0ed5=_0x2282e3;return napCatCore['session']['getMsgService']()[_0x6f0ed5(0x16a)]({'status':_0x2b7eda,'extStatus':_0x3fcb86,'batteryStatus':_0x2728fe});}static async[_0x2282e3(0x12c)](_0x505e58,_0x53b47e=0x1){const _0x52731d=_0x2282e3;return napCatCore[_0x52731d(0x163)][_0x52731d(0x146)]()[_0x52731d(0x149)]({'friendUid':_0x505e58,'sourceId':0x47,'doLikeCount':_0x53b47e,'doLikeTollCount':0x0});}static async[_0x2282e3(0x140)](_0x344ed1){const _0x470d0b=_0x2282e3,_0x322696=napCatCore['session'][_0x470d0b(0x143)]()[_0x470d0b(0x15b)](_0x344ed1);return{'result':_0x322696?.[_0x470d0b(0x162)],'errMsg':_0x322696?.[_0x470d0b(0x123)]};}static async[_0x2282e3(0x151)](){}static async['getUserInfo'](_0x244cf9){}static async['getUserDetailInfo'](_0x2e7997){const _0x588dba=_0x2282e3,_0x18f0d0={'yOigq':function(_0x50fd9c,_0x3463d9){return _0x50fd9c(_0x3463d9);},'KyfvQ':_0x588dba(0x135),'xfVAB':function(_0x4d95fc,_0x31662f){return _0x4d95fc===_0x31662f;},'hdZqu':function(_0x4f1b6e,_0x376392){return _0x4f1b6e(_0x376392);},'Ulhjm':function(_0x532d7d){return _0x532d7d();},'Ansbk':function(_0x2409ac,_0x30221a,_0xf4339d){return _0x2409ac(_0x30221a,_0xf4339d);}},_0x3e9dbe=napCatCore[_0x588dba(0x163)][_0x588dba(0x143)]();return new Promise((_0x6f0dfa,_0x1bb90c)=>{const _0x4fd24b=_0x588dba,_0x4e669f=_0x18f0d0['Ulhjm'](randomUUID);let _0x121f39=![],_0x4bd9c8=undefined,_0x2bd263=!![];_0x18f0d0[_0x4fd24b(0x124)](setTimeout,()=>{const _0x2718e0=_0x4fd24b;!_0x121f39&&(_0x4bd9c8?_0x6f0dfa(_0x4bd9c8):_0x18f0d0[_0x2718e0(0x14b)](_0x1bb90c,_0x18f0d0['KyfvQ'])),userDetailHandlers['delete'](_0x4e669f);},0x1388),userDetailHandlers[_0x4fd24b(0x155)](_0x4e669f,_0x406f12=>{const _0x2cf142=_0x4fd24b;_0x18f0d0[_0x2cf142(0x145)](_0x406f12[_0x2cf142(0x125)],_0x2e7997)&&(uid2UinMap[_0x2e7997]=_0x406f12['uin'],_0x2bd263?(_0x4bd9c8=_0x406f12,_0x2bd263=![]):(_0x121f39=!![],_0x18f0d0['hdZqu'](_0x6f0dfa,_0x406f12)));}),_0x3e9dbe['getUserDetailInfoWithBizInfo'](_0x2e7997,[0x0])[_0x4fd24b(0x160)](_0x21acfb=>{});});}static async[_0x2282e3(0x122)](_0x45cd1b,_0x14d7c8=!![]){const _0x43ecbd=_0x2282e3,_0x1a3efd={'uwcqN':function(_0x5db0d9,_0xb6475){return _0x5db0d9||_0xb6475;},'KijbO':function(_0x161b86,_0x58ad0e){return _0x161b86>_0x58ad0e;},'HBoLt':function(_0x573c2b,_0x1c4e06){return _0x573c2b-_0x1c4e06;},'WElOx':function(_0x28c85b,_0x1705dc){return _0x28c85b===_0x1705dc;},'ulsJq':function(_0x4825d1,_0x41a217,_0x981e0a){return _0x4825d1(_0x41a217,_0x981e0a);},'oGdLz':_0x43ecbd(0x15d)},_0x5d20d8=[],_0x961f10={};for(const _0x43f45e in _0x45cd1b){const _0x2eb9a4=Credentials['PskeyData'][_0x43ecbd(0x130)](_0x45cd1b[_0x43f45e]),_0x36773d=Credentials[_0x43ecbd(0x15e)]['get'](_0x45cd1b[_0x43f45e]);_0x1a3efd[_0x43ecbd(0x14a)](!_0x2eb9a4,!_0x36773d)||_0x1a3efd['KijbO'](_0x1a3efd[_0x43ecbd(0x147)](Date[_0x43ecbd(0x144)](),_0x36773d),0x708*0x3e8)||!_0x14d7c8?_0x5d20d8[_0x43ecbd(0x136)](_0x45cd1b[_0x43f45e]):_0x961f10[_0x45cd1b[_0x43f45e]]=_0x2eb9a4;}let _0x2912e3={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1a3efd['KijbO'](_0x5d20d8[_0x43ecbd(0x15c)],0x0)&&(_0x2912e3=await napCatCore[_0x43ecbd(0x163)][_0x43ecbd(0x154)]()[_0x43ecbd(0x13b)](_0x5d20d8,!![]));const _0x5b91fe=_0x2912e3[_0x43ecbd(0x129)];for(const _0x3a3f2f of _0x5b91fe[_0x43ecbd(0x157)]()){Credentials['PskeyData'][_0x43ecbd(0x155)](_0x3a3f2f[0x0],_0x3a3f2f[0x1]),Credentials[_0x43ecbd(0x15e)][_0x43ecbd(0x155)](_0x3a3f2f[0x0],Date['now']());}const _0x334891=Object['assign'](Object[_0x43ecbd(0x16e)](_0x5b91fe),_0x961f10);if(_0x1a3efd[_0x43ecbd(0x166)](_0x2912e3[_0x43ecbd(0x162)],0x0))return _0x334891;else _0x1a3efd[_0x43ecbd(0x158)](logError,_0x1a3efd[_0x43ecbd(0x139)],_0x2912e3[_0x43ecbd(0x123)]);return{};}static async[_0x2282e3(0x150)](){const _0x36969f=_0x2282e3,_0x18f2e9=await napCatCore['session'][_0x36969f(0x12f)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x18f2e9?.[_0x36969f(0x142)]?.['robotUinRanges'];}static async[_0x2282e3(0x13a)](){const _0x4422c5=_0x2282e3,_0x207ef9={'KSxLn':function(_0x590451,_0x2efe7b){return _0x590451+_0x2efe7b;},'ZYCfh':_0x4422c5(0x11e),'TgbRl':_0x4422c5(0x137),'XWCRF':_0x4422c5(0x13f)},_0x1c7c00=_0x207ef9[_0x4422c5(0x167)](_0x207ef9[_0x4422c5(0x167)](_0x207ef9[_0x4422c5(0x169)],selfInfo['uin'])+'&clientkey='+Credentials[_0x4422c5(0x165)]+_0x207ef9['TgbRl']+selfInfo[_0x4422c5(0x16c)],_0x207ef9['XWCRF']);let _0x2cfab4={};try{_0x2cfab4=await RequestUtil['HttpsGetCookies'](_0x1c7c00);}catch(_0xad899){logDebug(_0x4422c5(0x168),_0xad899),_0x2cfab4={};}return _0x2cfab4;}static async[_0x2282e3(0x153)](_0x4b363a=!![]){const _0x27adc1=_0x2282e3,_0x51fb6d={'LvxCJ':function(_0x249223,_0x581f85){return _0x249223-_0x581f85;},'WIlNR':function(_0x481a9a,_0x32e011){return _0x481a9a*_0x32e011;},'hiNXL':function(_0x57b346,_0x578dd5){return _0x57b346!==_0x578dd5;},'gDGCC':function(_0x1c9317,_0x11b658){return _0x1c9317+_0x11b658;},'iwYzs':function(_0x193028,_0x43e05e){return _0x193028+_0x43e05e;},'jVPwt':function(_0x53eac5,_0x2f1854){return _0x53eac5+_0x2f1854;},'ZYOiT':_0x27adc1(0x11e),'iDgcR':'&clientkey=','wMDSp':_0x27adc1(0x15f),'jcCtL':function(_0x21f272,_0x58e7ac,_0x5e7e1e){return _0x21f272(_0x58e7ac,_0x5e7e1e);},'FMXhA':_0x27adc1(0x12e),'XTvOp':'skey'};try{if(Credentials['CreatTime']==0x0||_0x51fb6d['LvxCJ'](Date[_0x27adc1(0x144)](),Credentials[_0x27adc1(0x14d)])>_0x51fb6d[_0x27adc1(0x14e)](0x3e8,0xe10)||!_0x4b363a){const _0x43969f=await napCatCore[_0x27adc1(0x163)]['getTicketService']()[_0x27adc1(0x16b)]('');if(_0x51fb6d['hiNXL'](_0x43969f[_0x27adc1(0x162)],0x0))return'';const _0x4815ee=_0x43969f[_0x27adc1(0x152)],_0xf9c375=_0x43969f[_0x27adc1(0x132)],_0x529a9c=_0x51fb6d[_0x27adc1(0x127)](_0x51fb6d['gDGCC'](_0x51fb6d[_0x27adc1(0x13d)](_0x51fb6d[_0x27adc1(0x121)](_0x51fb6d[_0x27adc1(0x13d)](_0x51fb6d['ZYOiT'],selfInfo[_0x27adc1(0x16c)]),_0x51fb6d[_0x27adc1(0x138)]),_0x4815ee),_0x51fb6d[_0x27adc1(0x161)]),_0xf9c375);let _0x1edab9={};try{_0x1edab9=await RequestUtil[_0x27adc1(0x12d)](_0x529a9c);}catch(_0x299383){_0x51fb6d[_0x27adc1(0x159)](logDebug,_0x51fb6d[_0x27adc1(0x156)],_0x299383),_0x1edab9={};}const _0x5ee4f1=_0x1edab9[_0x51fb6d[_0x27adc1(0x133)]];if(!_0x5ee4f1)return'';return Credentials[_0x27adc1(0x165)]=_0x4815ee,Credentials[_0x27adc1(0x12a)]=_0xf9c375,Credentials[_0x27adc1(0x14d)]=Date[_0x27adc1(0x144)](),Credentials[_0x27adc1(0x16d)]=_0x5ee4f1,_0x5ee4f1;}return Credentials[_0x27adc1(0x16d)];}catch(_0x1f4f6b){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 128de431..238cffc7 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x2484db=_0x21a5;(function(_0x36a334,_0x194a4e){const _0x15e4d7=_0x21a5,_0x11d847=_0x36a334();while(!![]){try{const _0x6d43c5=parseInt(_0x15e4d7(0x1e2))/0x1*(parseInt(_0x15e4d7(0x1ed))/0x2)+parseInt(_0x15e4d7(0x1c9))/0x3*(-parseInt(_0x15e4d7(0x232))/0x4)+parseInt(_0x15e4d7(0x24e))/0x5*(-parseInt(_0x15e4d7(0x23a))/0x6)+parseInt(_0x15e4d7(0x1e8))/0x7*(-parseInt(_0x15e4d7(0x212))/0x8)+-parseInt(_0x15e4d7(0x21e))/0x9+parseInt(_0x15e4d7(0x223))/0xa+-parseInt(_0x15e4d7(0x226))/0xb*(parseInt(_0x15e4d7(0x203))/0xc);if(_0x6d43c5===_0x194a4e)break;else _0x11d847['push'](_0x11d847['shift']());}catch(_0x36acea){_0x11d847['push'](_0x11d847['shift']());}}}(_0x3fa6,0x88ada));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(_0x57ac00){const _0x3964a9=_0x21a5,_0x2b2470={'tjkcm':_0x3964a9(0x1ce),'MPpRH':_0x3964a9(0x22f),'FWHbR':_0x3964a9(0x239),'pZAsT':_0x3964a9(0x202),'DlQbK':_0x3964a9(0x207),'VDFNF':_0x3964a9(0x1de),'ZHskB':_0x3964a9(0x24a),'RNymX':_0x3964a9(0x241),'ahWRQ':_0x3964a9(0x1ec),'TzMBq':'EMOTION'},_0x5ad34f=_0x2b2470['tjkcm'][_0x3964a9(0x1cc)]('|');let _0x28ef80=0x0;while(!![]){switch(_0x5ad34f[_0x28ef80++]){case'0':_0x57ac00[_0x2b2470[_0x3964a9(0x1dc)]]=_0x2b2470[_0x3964a9(0x240)];continue;case'1':_0x57ac00[_0x2b2470[_0x3964a9(0x243)]]=_0x2b2470[_0x3964a9(0x252)];continue;case'2':_0x57ac00[_0x3964a9(0x217)]=_0x2b2470['VDFNF'];continue;case'3':_0x57ac00[_0x2b2470[_0x3964a9(0x22a)]]=_0x2b2470[_0x3964a9(0x222)];continue;case'4':_0x57ac00[_0x2b2470[_0x3964a9(0x224)]]=_0x3964a9(0x259);continue;case'5':_0x57ac00[_0x2b2470[_0x3964a9(0x1ca)]]=_0x3964a9(0x211);continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x21a5(_0x48231e,_0x5d10f7){const _0x3fa605=_0x3fa6();return _0x21a5=function(_0x21a53d,_0x288c22){_0x21a53d=_0x21a53d-0x1c2;let _0xce74e4=_0x3fa605[_0x21a53d];return _0xce74e4;},_0x21a5(_0x48231e,_0x5d10f7);}function _0x3fa6(){const _0x4f82e2=['https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','aOPdO','push','2003193LkUoWi','GET','KzgSb','https://qun.qq.com/interactive/honorlist?gc=','RNymX','9166500FpJbQX','ahWRQ','zGnhH','62249MOsvib','Qqzfq','WIokH','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','ZHskB','vDnVe','RJDCt','获取群聊之火失败','legend_list','STORONGE_NEWBI','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','TFKvC','417212AElwgj','dQnVm','performer_list','arukL','&group_code=','getGroupMembers','qid=','strong_newbie','778098SqSTJt','IOtKw','lxhfh','zvoMT','zwXbC','KobDk','FWHbR','performer','getSkey','pZAsT','uDRfI','UHIGB','length','kSjgn','getPSkey','avatar','PERFROMER','parse','retcode','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','10PvuVHi','&end=','&bkn=','qun.qq.com','DlQbK','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','KrHeQ','NoPGp','uin','ivjAO','noDoc','legend','ysElp','Pyjkf','ExWEE','charCodeAt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','BEVCM','bpHfK','uXUIN','ceil',';\x20p_uin=o','RiJUK','errcode','getGroupEssenceMsg','GroupData','dMqyB','OrhiI','p_skey=','MDgCp','tjJNt','VVHCj','HwCDe','12geQqIn','TzMBq','获取快乐源泉失败','split','SSmPd','1|2|3|4|0|5','MTiau','MnTbj','pNmHe','yFfNz','qgrZM','JLTDW',';\x20skey=','match','获取当前群荣耀失败','mems','get','CMnug','talkativeList','MPpRH','talkative_list','talkative','YxghZ','HBQEj','MTyTX','927413DyPHIi','HttpGetJson','Evbpu','description','fcUKU','emotion_list','1309063SremUA','QrBvK','PSAOy','count','LEGEND','2yOJZEs','mSFme','&type=','set','osvme','trim','获取群聊炽焰失败','now','QbGuk','iLFyk','strong_newbie_list','dufAH','utcCt','toString','yxAXB','Txhke','desc','kebAO','EMOTION','CWUEg','sHNiS','ALL','420LJqHCI','RafKu','GroupTime','qMDKw','all','name','KSoMp','POST','ikSLs','pgoTj','genBkn','获取龙王信息失败','JvJJg','nGuoi','emotion','8KYdBnF','actorList','FXWIG','RvgAY',';\x20uin=o','TALKACTIVE','&sort=1&gc=','&qid=','SHOCU'];_0x3fa6=function(){return _0x4f82e2;};return _0x3fa6();}export class WebApi{static async[_0x2484db(0x266)](_0x24e876,_0x5d46b0){const _0x2a4588=_0x2484db,_0xf8cbab={'ExWEE':_0x2a4588(0x251),'NoPGp':function(_0x340c1f,_0x1212b2){return _0x340c1f+_0x1212b2;},'sHNiS':function(_0x5a916f,_0xd3dfab){return _0x5a916f+_0xd3dfab;},'arukL':function(_0x142f04,_0x24ef83){return _0x142f04+_0x24ef83;},'tjJNt':_0x2a4588(0x1c4),'SSmPd':_0x2a4588(0x1d5),'qMDKw':_0x2a4588(0x263),'osvme':_0x2a4588(0x216),'pgoTj':function(_0x2acdeb,_0xf85699){return _0x2acdeb||_0xf85699;},'zMXcs':function(_0x14494c,_0x4029fb){return _0x14494c+_0x4029fb;},'RafKu':function(_0x4b9d11,_0x57fe2a){return _0x4b9d11+_0x57fe2a;},'Pyjkf':'&page_start=','fcUKU':'&page_limit=20','WIokH':_0x2a4588(0x21f),'zGnhH':function(_0x5f59ba,_0x5942d5){return _0x5f59ba!==_0x5942d5;}},_0x502b54=(await NTQQUserApi[_0x2a4588(0x248)]([_0xf8cbab[_0x2a4588(0x25c)]]))[_0xf8cbab['ExWEE']],_0x4f36aa=await NTQQUserApi[_0x2a4588(0x242)](),_0x1b648f=_0xf8cbab[_0x2a4588(0x255)](_0xf8cbab['NoPGp'](_0xf8cbab[_0x2a4588(0x201)](_0xf8cbab[_0x2a4588(0x255)](_0xf8cbab[_0x2a4588(0x235)](_0xf8cbab[_0x2a4588(0x201)](_0xf8cbab[_0x2a4588(0x1c6)],_0x502b54),_0xf8cbab[_0x2a4588(0x1cd)]),_0x4f36aa),_0xf8cbab[_0x2a4588(0x206)]),selfInfo['uin']),_0xf8cbab[_0x2a4588(0x1f1)])+selfInfo['uin'];if(_0xf8cbab[_0x2a4588(0x20c)](!_0x4f36aa,!_0x502b54))return undefined;const _0x382a50=WebApi['genBkn'](_0x4f36aa),_0x1f20fc=_0xf8cbab[_0x2a4588(0x201)](_0xf8cbab[_0x2a4588(0x235)](_0xf8cbab['zMXcs'](_0xf8cbab[_0x2a4588(0x204)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x382a50),_0x2a4588(0x236)),_0x24e876)+_0xf8cbab[_0x2a4588(0x25b)],_0x5d46b0)+_0xf8cbab[_0x2a4588(0x1e6)];let _0x16f131;try{_0x16f131=await RequestUtil[_0x2a4588(0x1e3)](_0x1f20fc,_0xf8cbab[_0x2a4588(0x228)],'',{'Cookie':_0x1b648f});}catch{return undefined;}if(_0xf8cbab[_0x2a4588(0x225)](_0x16f131[_0x2a4588(0x24c)],0x0))return undefined;return _0x16f131;}static async[_0x2484db(0x237)](_0x5d1df2,_0xafe7c=!![]){const _0x542ed6=_0x2484db,_0x18003f={'JZIzW':function(_0x1435fb,_0x234407){return _0x1435fb>_0x234407;},'Txhke':function(_0x4789d6,_0x40afc8){return _0x4789d6-_0x40afc8;},'FXWIG':function(_0x51d745,_0x1d1104){return _0x51d745*_0x1d1104;},'BEVCM':'qun.qq.com','kSjgn':function(_0x40b526,_0x2ed8b5){return _0x40b526+_0x2ed8b5;},'Dqoss':function(_0x4a5b96,_0x572be3){return _0x4a5b96+_0x572be3;},'dufAH':function(_0x4b03f4,_0x2432b6){return _0x4b03f4+_0x2432b6;},'dQnVm':'p_skey=','VVHCj':_0x542ed6(0x1d5),'lJSZQ':';\x20p_uin=o','PSAOy':function(_0x2a6270,_0x2b5f9f){return _0x2a6270+_0x2b5f9f;},'qgrZM':_0x542ed6(0x250),'utcCt':_0x542ed6(0x20a),'zwXbC':function(_0x4c6b8b,_0x87af67){return _0x4c6b8b!==_0x87af67;},'JLTDW':function(_0x4c1b5d,_0x1aaa88){return _0x4c1b5d/_0x1aaa88;},'CzTPM':function(_0x1d6c1e,_0x235076){return _0x1d6c1e+_0x235076;},'zvoMT':function(_0xed022,_0x2cd17e){return _0xed022+_0x2cd17e;},'YxghZ':function(_0xf75240,_0x6cc471){return _0xf75240+_0x6cc471;},'XErdr':function(_0x4b2e5c,_0xd3c25c){return _0x4b2e5c+_0xd3c25c;},'Evbpu':function(_0x2d47e8,_0x5d9a86){return _0x2d47e8*_0x5d9a86;}};let _0x4553c4=new Array();try{let _0x4ffcad=WebGroupData[_0x542ed6(0x267)][_0x542ed6(0x1d9)](_0x5d1df2),_0xefc069=WebGroupData['GroupTime'][_0x542ed6(0x1d9)](_0x5d1df2);if(!_0xefc069||_0x18003f['JZIzW'](_0x18003f[_0x542ed6(0x1fc)](Date[_0x542ed6(0x1f4)](),_0xefc069),_0x18003f[_0x542ed6(0x214)](0x708,0x3e8))||!_0xafe7c){const _0x461502=(await NTQQUserApi['getPSkey']([_0x18003f[_0x542ed6(0x25f)]]))[_0x18003f[_0x542ed6(0x25f)]],_0x439bf3=await NTQQUserApi[_0x542ed6(0x242)](),_0x1013ee=_0x18003f[_0x542ed6(0x247)](_0x18003f['Dqoss'](_0x18003f[_0x542ed6(0x1f8)](_0x18003f[_0x542ed6(0x1f8)](_0x18003f['kSjgn'](_0x18003f[_0x542ed6(0x233)],_0x461502),_0x18003f[_0x542ed6(0x1c7)]),_0x439bf3),_0x18003f['lJSZQ']),selfInfo[_0x542ed6(0x256)]);if(!_0x439bf3||!_0x461502)return _0x4553c4;const _0x405ac4=WebApi[_0x542ed6(0x20d)](_0x439bf3),_0x2ec0cb=[],_0x80111a=await RequestUtil[_0x542ed6(0x1e3)](_0x18003f[_0x542ed6(0x1ea)](_0x542ed6(0x25e)+_0x5d1df2+_0x18003f[_0x542ed6(0x1d3)],_0x405ac4),_0x18003f[_0x542ed6(0x1f9)],'',{'Cookie':_0x1013ee});if(!_0x80111a?.[_0x542ed6(0x1eb)]||_0x18003f[_0x542ed6(0x23e)](_0x80111a?.['errcode'],0x0)||!_0x80111a?.[_0x542ed6(0x1d8)])return[];else for(const _0x1d9d83 in _0x80111a['mems']){_0x4553c4[_0x542ed6(0x21d)](_0x80111a[_0x542ed6(0x1d8)][_0x1d9d83]);}const _0x40d7c3=Math[_0x542ed6(0x262)](_0x18003f[_0x542ed6(0x1d4)](_0x80111a[_0x542ed6(0x1eb)],0x28));for(let _0x42f08a=0x2;_0x42f08a<=_0x40d7c3;_0x42f08a++){const _0x420177=RequestUtil[_0x542ed6(0x1e3)](_0x18003f[_0x542ed6(0x1f8)](_0x18003f['CzTPM'](_0x18003f[_0x542ed6(0x23d)](_0x18003f[_0x542ed6(0x1df)](_0x18003f['XErdr'](_0x18003f['YxghZ'](_0x542ed6(0x229)+_0x18003f['FXWIG'](_0x18003f[_0x542ed6(0x1fc)](_0x42f08a,0x1),0x28),_0x542ed6(0x24f)),_0x18003f[_0x542ed6(0x1e4)](_0x42f08a,0x28)),_0x542ed6(0x218)),_0x5d1df2),_0x18003f[_0x542ed6(0x1d3)]),_0x405ac4),'POST','',{'Cookie':_0x1013ee});_0x2ec0cb[_0x542ed6(0x21d)](_0x420177);}for(let _0x6868eb=0x1;_0x6868eb<=_0x40d7c3;_0x6868eb++){const _0x227a7f=await _0x2ec0cb[_0x6868eb];if(!_0x227a7f?.[_0x542ed6(0x1eb)]||_0x227a7f?.[_0x542ed6(0x265)]!==0x0||!_0x227a7f?.[_0x542ed6(0x1d8)])continue;for(const _0x41132c in _0x227a7f[_0x542ed6(0x1d8)]){_0x4553c4[_0x542ed6(0x21d)](_0x227a7f[_0x542ed6(0x1d8)][_0x41132c]);}}WebGroupData['GroupData'][_0x542ed6(0x1f0)](_0x5d1df2,_0x4553c4),WebGroupData[_0x542ed6(0x205)][_0x542ed6(0x1f0)](_0x5d1df2,Date[_0x542ed6(0x1f4)]());}else _0x4553c4=_0x4ffcad;}catch{return _0x4553c4;}return _0x4553c4;}static async['setGroupNotice'](_0x54fc66,_0x186509=''){const _0x575ace=_0x2484db,_0x4ecda9={'noDoc':_0x575ace(0x251),'KzgSb':function(_0x2aa181,_0x4027c7){return _0x2aa181+_0x4027c7;},'JvJJg':function(_0x4825fb,_0x51dc32){return _0x4825fb+_0x51dc32;},'ThmmT':_0x575ace(0x1c4),'uDRfI':_0x575ace(0x1d5),'MnTbj':';\x20p_uin=o','pmmyg':function(_0x2a0201,_0x243fcb){return _0x2a0201||_0x243fcb;},'yFfNz':_0x575ace(0x238),'jwdeK':_0x575ace(0x250),'HnRVB':'&text=','QrBvK':_0x575ace(0x230),'HwCDe':_0x575ace(0x253),'KrHeQ':_0x575ace(0x21f)},_0x12f79f=(await NTQQUserApi[_0x575ace(0x248)]([_0x4ecda9[_0x575ace(0x258)]]))[_0x4ecda9[_0x575ace(0x258)]],_0x537c43=await NTQQUserApi[_0x575ace(0x242)](),_0x5bf4eb=_0x4ecda9[_0x575ace(0x220)](_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9['ThmmT']+_0x12f79f,_0x4ecda9[_0x575ace(0x244)]),_0x537c43)+_0x4ecda9[_0x575ace(0x1d0)]+selfInfo[_0x575ace(0x256)];let _0x5141ed=undefined;if(_0x4ecda9['pmmyg'](!_0x537c43,!_0x12f79f))return undefined;const _0x4fe53e=WebApi[_0x575ace(0x20d)](_0x537c43),_0xa1d151=_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9[_0x575ace(0x220)](_0x4ecda9['JvJJg'](_0x4ecda9[_0x575ace(0x1d2)],_0x54fc66),_0x4ecda9['jwdeK'])+_0x4fe53e+_0x4ecda9['HnRVB'],_0x186509),_0x4ecda9[_0x575ace(0x1e9)]),_0x37d83b=_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9[_0x575ace(0x1c8)],_0x4fe53e);try{return _0x5141ed=await RequestUtil[_0x575ace(0x1e3)](_0x37d83b,_0x4ecda9[_0x575ace(0x254)],'',{'Cookie':_0x5bf4eb}),_0x5141ed;}catch(_0x35fb25){return undefined;}return undefined;}static async['getGrouptNotice'](_0x2930e2){const _0x357a5a=_0x2484db,_0x5ad212={'vXatL':_0x357a5a(0x251),'RJDCt':function(_0x52484c,_0x54bc60){return _0x52484c+_0x54bc60;},'ikSLs':function(_0x4a9007,_0x11d2fe){return _0x4a9007+_0x11d2fe;},'lIUpu':_0x357a5a(0x1c4),'kebAO':_0x357a5a(0x1d5),'KjdXM':_0x357a5a(0x263),'ivjAO':function(_0x21eb2f,_0x8078c4){return _0x21eb2f||_0x8078c4;},'IOtKw':function(_0x232b18,_0x331f24){return _0x232b18+_0x331f24;},'lxhfh':function(_0x5baf52,_0x3286f7){return _0x5baf52+_0x3286f7;},'yxAXB':_0x357a5a(0x24d),'vVNht':_0x357a5a(0x21f),'HBQEj':function(_0x364f62,_0x56b1fa){return _0x364f62!==_0x56b1fa;}},_0x5a270c=(await NTQQUserApi[_0x357a5a(0x248)]([_0x5ad212['vXatL']]))[_0x5ad212['vXatL']],_0x1910b0=await NTQQUserApi[_0x357a5a(0x242)](),_0x4e30cd=_0x5ad212[_0x357a5a(0x22c)](_0x5ad212[_0x357a5a(0x20b)](_0x5ad212[_0x357a5a(0x20b)](_0x5ad212['RJDCt'](_0x5ad212['lIUpu'],_0x5a270c),_0x5ad212[_0x357a5a(0x1fe)]),_0x1910b0)+_0x5ad212['KjdXM'],selfInfo[_0x357a5a(0x256)]);let _0x4c1131=undefined;if(_0x5ad212[_0x357a5a(0x257)](!_0x1910b0,!_0x5a270c))return undefined;const _0x33b833=WebApi[_0x357a5a(0x20d)](_0x1910b0),_0x3afd06=_0x5ad212[_0x357a5a(0x23b)](_0x5ad212['RJDCt'](_0x5ad212[_0x357a5a(0x23c)](_0x357a5a(0x21b),_0x33b833)+_0x357a5a(0x219),_0x2930e2),_0x5ad212[_0x357a5a(0x1fb)]);try{_0x4c1131=await RequestUtil[_0x357a5a(0x1e3)](_0x3afd06,_0x5ad212['vVNht'],'',{'Cookie':_0x4e30cd});if(_0x5ad212[_0x357a5a(0x1e0)](_0x4c1131?.['ec'],0x0))return undefined;return _0x4c1131;}catch(_0x5172df){return undefined;}return undefined;}static[_0x2484db(0x20d)](_0x3271d8){const _0x13f572=_0x2484db,_0x53e460={'SHOCU':function(_0x47513b,_0x2adcdb){return _0x47513b||_0x2adcdb;},'DBAIR':function(_0x1a432e,_0xbcd57b){return _0x1a432e<_0xbcd57b;},'ganww':function(_0x31e5f1,_0x1b3747){return _0x31e5f1+_0x1b3747;},'ojrGk':function(_0x5d78a5,_0x1f7246){return _0x5d78a5<<_0x1f7246;},'iLFyk':function(_0x2b6859,_0x46a25b){return _0x2b6859&_0x46a25b;}};_0x3271d8=_0x53e460[_0x13f572(0x21a)](_0x3271d8,'');let _0x5959fd=0x1505;for(let _0x2c0cc7=0x0;_0x53e460['DBAIR'](_0x2c0cc7,_0x3271d8[_0x13f572(0x246)]);_0x2c0cc7++){const _0x3f1717=_0x3271d8[_0x13f572(0x25d)](_0x2c0cc7);_0x5959fd=_0x53e460['ganww'](_0x53e460['ganww'](_0x5959fd,_0x53e460['ojrGk'](_0x5959fd,0x5)),_0x3f1717);}return _0x53e460[_0x13f572(0x1f6)](_0x5959fd,0x7fffffff)['toString']();}static async['getGroupHonorInfo'](_0x1b16c1,_0x2ca946){const _0x3428ee=_0x2484db,_0x6a3a9={'MTyTX':function(_0x31ed33,_0x3cf727){return _0x31ed33+_0x3cf727;},'KobDk':_0x3428ee(0x1ef),'gSsoa':function(_0x1a7780,_0x5a0542,_0x1a79e9,_0x1870fe){return _0x1a7780(_0x5a0542,_0x1a79e9,_0x1870fe);},'MDgCp':_0x3428ee(0x1d7),'CWUEg':'qun.qq.com','Qqzfq':function(_0x34e82d,_0x593c40){return _0x34e82d||_0x593c40;},'aOPdO':function(_0x22f5ab,_0x39564b){return _0x22f5ab+_0x39564b;},'dMqyB':function(_0x5b9b7b,_0x3acbb0){return _0x5b9b7b+_0x3acbb0;},'QbGuk':function(_0x13149c,_0x211fd3){return _0x13149c+_0x211fd3;},'RiJUK':function(_0x4369b7,_0x25028b){return _0x4369b7+_0x25028b;},'mSFme':function(_0x14c19f,_0x110b8b){return _0x14c19f+_0x110b8b;},'uXUIN':_0x3428ee(0x1c4),'KSoMp':_0x3428ee(0x263),'OrhiI':_0x3428ee(0x216),'nGuoi':function(_0x11da24,_0x446580){return _0x11da24===_0x446580;},'bpHfK':function(_0x1b4f90,_0x1b4fc8,_0x3fbf7d){return _0x1b4f90(_0x1b4fc8,_0x3fbf7d);},'RvgAY':function(_0xa9e9c8,_0x18b2d5){return _0xa9e9c8(_0x18b2d5);},'VQZXW':function(_0x9af029,_0x1a316c){return _0x9af029===_0x1a316c;},'MTiau':function(_0x4e6b12,_0x17533b){return _0x4e6b12===_0x17533b;},'vDnVe':_0x3428ee(0x22d),'ysElp':function(_0x2ee51d,_0x405120){return _0x2ee51d===_0x405120;},'pNmHe':_0x3428ee(0x1f3),'UHIGB':function(_0x52f192,_0x4f4a5a){return _0x52f192===_0x4f4a5a;},'TFKvC':_0x3428ee(0x1cb),'CMnug':function(_0x4334c9,_0x2c3970){return _0x4334c9===_0x2c3970;}},_0x1a8dba=(await NTQQUserApi['getPSkey']([_0x3428ee(0x251)]))[_0x6a3a9[_0x3428ee(0x200)]],_0x4b4002=await NTQQUserApi['getSkey']();if(_0x6a3a9[_0x3428ee(0x227)](!_0x4b4002,!_0x1a8dba))return undefined;async function _0x2d9e8a(_0x98b7be,_0x43ffe6){const _0x5cc70b=_0x3428ee;let _0x419d30=_0x6a3a9[_0x5cc70b(0x1e1)](_0x5cc70b(0x221),_0x98b7be)+_0x6a3a9[_0x5cc70b(0x23f)]+_0x43ffe6[_0x5cc70b(0x1fa)](),_0x3270b5='',_0x1f32d6;try{_0x3270b5=await RequestUtil['HttpGetText'](_0x419d30,_0x5cc70b(0x21f),'',{'Cookie':_0x4dcbb7});const _0x2abd62=_0x3270b5[_0x5cc70b(0x1d6)](/window\.__INITIAL_STATE__=(.*?);/);return _0x2abd62&&(_0x1f32d6=JSON[_0x5cc70b(0x24b)](_0x2abd62[0x1][_0x5cc70b(0x1f2)]())),_0x43ffe6===0x1?_0x1f32d6?.[_0x5cc70b(0x1db)]:_0x1f32d6?.[_0x5cc70b(0x213)];}catch(_0x476d35){_0x6a3a9['gSsoa'](logDebug,_0x6a3a9[_0x5cc70b(0x1c5)],_0x419d30,_0x476d35);}return undefined;}let _0x3b27cd={'group_id':_0x1b16c1};const _0x4dcbb7=_0x6a3a9[_0x3428ee(0x21c)](_0x6a3a9[_0x3428ee(0x1c2)](_0x6a3a9['dMqyB'](_0x6a3a9[_0x3428ee(0x1f5)](_0x6a3a9[_0x3428ee(0x264)](_0x6a3a9[_0x3428ee(0x1ee)](_0x6a3a9[_0x3428ee(0x1c2)](_0x6a3a9[_0x3428ee(0x261)],_0x1a8dba),_0x3428ee(0x1d5)),_0x4b4002),_0x6a3a9[_0x3428ee(0x209)]),selfInfo[_0x3428ee(0x256)]),_0x6a3a9[_0x3428ee(0x1c3)]),selfInfo[_0x3428ee(0x256)]);if(_0x6a3a9[_0x3428ee(0x210)](_0x2ca946,WebHonorType['TALKACTIVE'])||_0x2ca946===WebHonorType[_0x3428ee(0x202)])try{let _0x7fc5a7=await _0x6a3a9['bpHfK'](_0x2d9e8a,_0x1b16c1,0x1);if(!_0x7fc5a7)throw new Error(_0x3428ee(0x20e));_0x3b27cd['current_talkative']={'user_id':_0x7fc5a7[0x0]?.[_0x3428ee(0x256)],'avatar':_0x7fc5a7[0x0]?.[_0x3428ee(0x249)],'nickname':_0x7fc5a7[0x0]?.[_0x3428ee(0x208)],'day_count':0x0,'description':_0x7fc5a7[0x0]?.['desc']},_0x3b27cd[_0x3428ee(0x1dd)]=[];for(const _0x54c6c4 of _0x7fc5a7){_0x3b27cd['talkative_list']['push']({'user_id':_0x54c6c4?.['uin'],'avatar':_0x54c6c4?.[_0x3428ee(0x249)],'description':_0x54c6c4?.[_0x3428ee(0x1fd)],'day_count':0x0,'nickname':_0x54c6c4?.[_0x3428ee(0x208)]});}}catch(_0x2f56c4){_0x6a3a9[_0x3428ee(0x215)](logDebug,_0x2f56c4);}if(_0x6a3a9['VQZXW'](_0x2ca946,WebHonorType['PERFROMER'])||_0x6a3a9['MTiau'](_0x2ca946,WebHonorType['ALL']))try{let _0x1db754=await _0x6a3a9['bpHfK'](_0x2d9e8a,_0x1b16c1,0x2);if(!_0x1db754)throw new Error(_0x6a3a9[_0x3428ee(0x22b)]);_0x3b27cd[_0x3428ee(0x234)]=[];for(const _0x317ac9 of _0x1db754){_0x3b27cd[_0x3428ee(0x234)]['push']({'user_id':_0x317ac9?.[_0x3428ee(0x256)],'nickname':_0x317ac9?.[_0x3428ee(0x208)],'avatar':_0x317ac9?.[_0x3428ee(0x249)],'description':_0x317ac9?.[_0x3428ee(0x1fd)]});}}catch(_0x1afe43){_0x6a3a9[_0x3428ee(0x215)](logDebug,_0x1afe43);}if(_0x6a3a9[_0x3428ee(0x25a)](_0x2ca946,WebHonorType['PERFROMER'])||_0x6a3a9[_0x3428ee(0x1cf)](_0x2ca946,WebHonorType['ALL']))try{let _0x4d0102=await _0x6a3a9[_0x3428ee(0x260)](_0x2d9e8a,_0x1b16c1,0x3);if(!_0x4d0102)throw new Error(_0x6a3a9['pNmHe']);_0x3b27cd[_0x3428ee(0x22e)]=[];for(const _0x3528b6 of _0x4d0102){_0x3b27cd[_0x3428ee(0x22e)]['push']({'user_id':_0x3528b6?.['uin'],'nickname':_0x3528b6?.[_0x3428ee(0x208)],'avatar':_0x3528b6?.[_0x3428ee(0x249)],'desc':_0x3528b6?.[_0x3428ee(0x1e5)]});}}catch(_0x1d542b){logDebug(_0x6a3a9[_0x3428ee(0x1d1)],_0x1d542b);}if(_0x6a3a9[_0x3428ee(0x210)](_0x2ca946,WebHonorType[_0x3428ee(0x1ff)])||_0x6a3a9[_0x3428ee(0x245)](_0x2ca946,WebHonorType[_0x3428ee(0x202)]))try{let _0x550a4f=await _0x2d9e8a(_0x1b16c1,0x6);if(!_0x550a4f)throw new Error(_0x6a3a9['TFKvC']);_0x3b27cd['emotion_list']=[];for(const _0x5a251e of _0x550a4f){_0x3b27cd[_0x3428ee(0x1e7)][_0x3428ee(0x21d)]({'user_id':_0x5a251e?.[_0x3428ee(0x256)],'nickname':_0x5a251e?.['name'],'avatar':_0x5a251e?.[_0x3428ee(0x249)],'desc':_0x5a251e?.['description']});}}catch(_0x48610a){_0x6a3a9[_0x3428ee(0x260)](logDebug,_0x6a3a9[_0x3428ee(0x231)],_0x48610a);}return(_0x6a3a9[_0x3428ee(0x245)](_0x2ca946,WebHonorType[_0x3428ee(0x1ff)])||_0x6a3a9[_0x3428ee(0x1da)](_0x2ca946,WebHonorType[_0x3428ee(0x202)]))&&(_0x3b27cd[_0x3428ee(0x1f7)]=[]),_0x3b27cd;}} \ No newline at end of file +const _0x9b3a6f=_0x3600;(function(_0x2b8846,_0xb24fea){const _0x376fe5=_0x3600,_0x39036f=_0x2b8846();while(!![]){try{const _0x288ec0=-parseInt(_0x376fe5(0xd9))/0x1*(-parseInt(_0x376fe5(0x115))/0x2)+-parseInt(_0x376fe5(0x121))/0x3+-parseInt(_0x376fe5(0xf0))/0x4+parseInt(_0x376fe5(0x143))/0x5+parseInt(_0x376fe5(0x10a))/0x6*(-parseInt(_0x376fe5(0x12e))/0x7)+-parseInt(_0x376fe5(0xd1))/0x8+parseInt(_0x376fe5(0x13f))/0x9;if(_0x288ec0===_0xb24fea)break;else _0x39036f['push'](_0x39036f['shift']());}catch(_0x22f7c2){_0x39036f['push'](_0x39036f['shift']());}}}(_0x1bba,0x5f46d));function _0x1bba(){const _0x35b9ef=['ceil','VGbuZ','current_talkative','kcJRv','oWiBE','jgoUI','PERFROMER','UNkgf','2960560qiXHwW','Ckthi','GroupTime','iBbJg','strong_newbie_list','VzXAW','WASaZ','RvjrK','genBkn','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','Vqdca','uoTEb','lnYqh','bHihW','JrBwC','获取当前群荣耀失败','RpruQ','mems','mJRQS','POST','performer_list','set','XObaw','toString','jLJvl','getSkey','30lCvflB','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','CdqYn','HttpGetJson','&text=','emotion','push','jviFN','获取快乐源泉失败','CqaHq','CoyVT','4ayJOdZ','emotion_list','BDpPp','getPSkey','charCodeAt','wyRLZ','DOXrI','AeVAk','match','VsGsC','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','BeSYM','2138415qqxdUu','tBryf',';\x20p_uin=o','NtVEu','Iiwzc','actorList','AyzYB','AThzR','all','strong_newbie','wMYhC','YORIn','MVqbk','163982DAUGAj','NYwmP','MrtRz','cyHhG','rOOSE','talkative_list','retcode','ZIZDe','TKGZm','获取龙王信息失败','get','STORONGE_NEWBI','PdPuz','parse','dMnCn','GroupData',';\x20uin=o','15563358EmDwmA','TALKACTIVE','errcode','LEGEND','3814480KNbkNq','UbxAL','JtzXJ','dJLsV','EMOTION','UAusS','sZhes','UdDoj','getGroupHonorInfo','count','lFJLt','QnuuJ','GET','svKTv','now','name','performer','qun.qq.com','auyCz','bUQui','trim','ALL','WgYWZ','ajUdS','JiILB','zoxrM','lcKZd','p_skey=','lkBfU','rOyWP','PneTm','获取群聊炽焰失败','&end=','MLVED','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=',';\x20skey=','AriUM','desc','HttpGetText','6226816JNDjaG','TZrra','CioJo','oBxnq','hOGPY','获取群聊之火失败','sEJgq','sZSAC','123261MSZhrs','hYmMg','gUdDz','lqtzT','fsDhA','UkSKC','&page_start=','RNVUl','setGroupNotice','uin','SjCgW','avatar','OjeHJ','cQgVZ','WiJKE'];_0x1bba=function(){return _0x35b9ef;};return _0x1bba();}import{WebGroupData,selfInfo}from'@/core/data';function _0x3600(_0x1618cf,_0x593e0d){const _0x1bba59=_0x1bba();return _0x3600=function(_0x360077,_0xb965ad){_0x360077=_0x360077-0xb7;let _0x2a85a4=_0x1bba59[_0x360077];return _0x2a85a4;},_0x3600(_0x1618cf,_0x593e0d);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x407c22){const _0x2dfcb1=_0x3600,_0x2d4fa7={'VDMcl':'3|0|2|1|4|5','LycLd':_0x2dfcb1(0x142),'QnuuJ':_0x2dfcb1(0xee),'WgYWZ':_0x2dfcb1(0xba),'zNZnk':_0x2dfcb1(0xbf),'UbxAL':_0x2dfcb1(0x129),'lnYqh':_0x2dfcb1(0x139),'dMnCn':_0x2dfcb1(0x12a),'oWiBE':_0x2dfcb1(0x10f)},_0x4489da=_0x2d4fa7['VDMcl']['split']('|');let _0x2d2153=0x0;while(!![]){switch(_0x4489da[_0x2d2153++]){case'0':_0x407c22[_0x2dfcb1(0x140)]='talkative';continue;case'1':_0x407c22[_0x2d4fa7['LycLd']]='legend';continue;case'2':_0x407c22[_0x2d4fa7[_0x2dfcb1(0x14e)]]=_0x2d4fa7[_0x2dfcb1(0xc0)];continue;case'3':_0x407c22[_0x2d4fa7['zNZnk']]=_0x2d4fa7[_0x2dfcb1(0x144)];continue;case'4':_0x407c22[_0x2d4fa7[_0x2dfcb1(0xfc)]]=_0x2d4fa7[_0x2dfcb1(0x13c)];continue;case'5':_0x407c22[_0x2dfcb1(0x147)]=_0x2d4fa7[_0x2dfcb1(0xec)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x3f9a05,_0x5de57f){const _0x5c6f78=_0x3600,_0x562826={'MLVED':'qun.qq.com','VsGsC':function(_0x189a0b,_0x3c12b3){return _0x189a0b+_0x3c12b3;},'wMYhC':function(_0x4e5422,_0x21b507){return _0x4e5422+_0x21b507;},'YORIn':_0x5c6f78(0xc5),'hOGPY':_0x5c6f78(0xcd),'iBbJg':_0x5c6f78(0x123),'VzXAW':function(_0x4648a6,_0x58db2f){return _0x4648a6||_0x58db2f;},'cyHhG':function(_0xafe3cc,_0x2ade6b){return _0xafe3cc+_0x2ade6b;},'NYwmP':function(_0x16ce97,_0x176ac4){return _0x16ce97+_0x176ac4;},'WASaZ':_0x5c6f78(0xf9),'TrTUb':'&group_code=','fRWSz':_0x5c6f78(0xdf),'TZrra':'&page_limit=20','fsDhA':_0x5c6f78(0x14f),'XObaw':function(_0x4e1fef,_0xef05aa){return _0x4e1fef!==_0xef05aa;}},_0x27c4fb=(await NTQQUserApi[_0x5c6f78(0x118)]([_0x562826[_0x5c6f78(0xcb)]]))[_0x562826[_0x5c6f78(0xcb)]],_0x319d4b=await NTQQUserApi[_0x5c6f78(0x109)](),_0x265bf7=_0x562826[_0x5c6f78(0x11e)](_0x562826[_0x5c6f78(0x11e)](_0x562826['wMYhC'](_0x562826['wMYhC'](_0x562826[_0x5c6f78(0x12b)](_0x562826[_0x5c6f78(0x12c)],_0x27c4fb)+_0x562826[_0x5c6f78(0xd5)]+_0x319d4b,_0x562826[_0x5c6f78(0xf3)]),selfInfo['uin']),_0x5c6f78(0x13e)),selfInfo[_0x5c6f78(0xe2)]);if(_0x562826[_0x5c6f78(0xf5)](!_0x319d4b,!_0x27c4fb))return undefined;const _0x17cde5=WebApi[_0x5c6f78(0xf8)](_0x319d4b),_0xf014fa=_0x562826[_0x5c6f78(0x131)](_0x562826[_0x5c6f78(0x131)](_0x562826[_0x5c6f78(0x12b)](_0x562826['NYwmP'](_0x562826['VsGsC'](_0x562826[_0x5c6f78(0x12f)](_0x562826[_0x5c6f78(0xf6)],_0x17cde5),_0x562826['TrTUb']),_0x3f9a05),_0x562826['fRWSz']),_0x5de57f),_0x562826[_0x5c6f78(0xd2)]);let _0x56a749;try{_0x56a749=await RequestUtil['HttpGetJson'](_0xf014fa,_0x562826[_0x5c6f78(0xdd)],'',{'Cookie':_0x265bf7});}catch{return undefined;}if(_0x562826[_0x5c6f78(0x106)](_0x56a749[_0x5c6f78(0x134)],0x0))return undefined;return _0x56a749;}static async['getGroupMembers'](_0x4ac611,_0x520f57=!![]){const _0x2f2db3=_0x3600,_0x2ab4d2={'Vqdca':function(_0x10ba39,_0x53ea4a){return _0x10ba39>_0x53ea4a;},'RpruQ':function(_0xc5201,_0x3c809d){return _0xc5201-_0x3c809d;},'svKTv':function(_0xf5df84,_0x5b3178){return _0xf5df84*_0x5b3178;},'SjCgW':'qun.qq.com','Iiwzc':function(_0x4836a8,_0x26ed88){return _0x4836a8+_0x26ed88;},'sZSAC':function(_0x3146bf,_0x158e21){return _0x3146bf+_0x158e21;},'YLtLj':function(_0x16ffd3,_0xa24102){return _0x16ffd3+_0xa24102;},'kcJRv':_0x2f2db3(0xcd),'uoTEb':';\x20p_uin=o','PneTm':function(_0x5e0507,_0x312269){return _0x5e0507||_0x312269;},'PdPuz':function(_0x4b5d53,_0x5c184c){return _0x4b5d53+_0x5c184c;},'EMkCJ':function(_0x3ae924,_0x4635bf){return _0x3ae924+_0x4635bf;},'UVcnc':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','lqtzT':'&bkn=','CdqYn':'POST','bHihW':function(_0x2ab67f,_0x2a182d){return _0x2ab67f!==_0x2a182d;},'TKGZm':function(_0x499883,_0x1304ea){return _0x499883+_0x1304ea;},'AeVAk':function(_0x15f7b6,_0x782b2d){return _0x15f7b6+_0x782b2d;},'IpQbe':_0x2f2db3(0xcc),'CioJo':function(_0x30ccb4,_0xc839ed){return _0x30ccb4*_0xc839ed;},'lFJLt':_0x2f2db3(0xca),'wyRLZ':function(_0x32e4c9,_0x38e0fb){return _0x32e4c9*_0x38e0fb;},'UNkgf':'&sort=1&gc=','ajUdS':function(_0x24e644,_0x4b1cb9){return _0x24e644<=_0x4b1cb9;}};let _0x36ffbe=new Array();try{let _0x2bfbb7=WebGroupData[_0x2f2db3(0x13d)][_0x2f2db3(0x138)](_0x4ac611),_0x2e5c19=WebGroupData[_0x2f2db3(0xf2)][_0x2f2db3(0x138)](_0x4ac611);if(!_0x2e5c19||_0x2ab4d2[_0x2f2db3(0xfa)](_0x2ab4d2[_0x2f2db3(0x100)](Date[_0x2f2db3(0xb8)](),_0x2e5c19),_0x2ab4d2[_0x2f2db3(0xb7)](0x708,0x3e8))||!_0x520f57){const _0x1d0902=(await NTQQUserApi[_0x2f2db3(0x118)]([_0x2ab4d2[_0x2f2db3(0xe3)]]))[_0x2ab4d2[_0x2f2db3(0xe3)]],_0x1a205f=await NTQQUserApi[_0x2f2db3(0x109)](),_0x21c940=_0x2ab4d2['Iiwzc'](_0x2ab4d2[_0x2f2db3(0x125)](_0x2ab4d2['sZSAC'](_0x2ab4d2['YLtLj'](_0x2f2db3(0xc5),_0x1d0902)+_0x2ab4d2[_0x2f2db3(0xeb)],_0x1a205f),_0x2ab4d2[_0x2f2db3(0xfb)]),selfInfo[_0x2f2db3(0xe2)]);if(_0x2ab4d2[_0x2f2db3(0xc8)](!_0x1a205f,!_0x1d0902))return _0x36ffbe;const _0x1591f6=WebApi[_0x2f2db3(0xf8)](_0x1a205f),_0x5060c0=[],_0x2ab836=await RequestUtil[_0x2f2db3(0x10d)](_0x2ab4d2[_0x2f2db3(0x13a)](_0x2ab4d2[_0x2f2db3(0xd8)](_0x2ab4d2['EMkCJ'](_0x2ab4d2['UVcnc'],_0x4ac611),_0x2ab4d2[_0x2f2db3(0xdc)]),_0x1591f6),_0x2ab4d2[_0x2f2db3(0x10c)],'',{'Cookie':_0x21c940});if(!_0x2ab836?.[_0x2f2db3(0x14c)]||_0x2ab4d2[_0x2f2db3(0xfd)](_0x2ab836?.['errcode'],0x0)||!_0x2ab836?.[_0x2f2db3(0x101)])return[];else for(const _0x4e2fe5 in _0x2ab836['mems']){_0x36ffbe['push'](_0x2ab836[_0x2f2db3(0x101)][_0x4e2fe5]);}const _0x33cd4f=Math[_0x2f2db3(0xe8)](_0x2ab836['count']/0x28);for(let _0x506c32=0x2;_0x506c32<=_0x33cd4f;_0x506c32++){const _0x34a39b=RequestUtil[_0x2f2db3(0x10d)](_0x2ab4d2['YLtLj'](_0x2ab4d2[_0x2f2db3(0x136)](_0x2ab4d2['Iiwzc'](_0x2ab4d2[_0x2f2db3(0x11c)](_0x2ab4d2['IpQbe'],_0x2ab4d2[_0x2f2db3(0xd3)](_0x2ab4d2[_0x2f2db3(0x100)](_0x506c32,0x1),0x28))+_0x2ab4d2[_0x2f2db3(0x14d)],_0x2ab4d2[_0x2f2db3(0x11a)](_0x506c32,0x28))+_0x2ab4d2[_0x2f2db3(0xef)],_0x4ac611),_0x2ab4d2['lqtzT'])+_0x1591f6,_0x2f2db3(0x103),'',{'Cookie':_0x21c940});_0x5060c0['push'](_0x34a39b);}for(let _0x2703a4=0x1;_0x2ab4d2[_0x2f2db3(0xc1)](_0x2703a4,_0x33cd4f);_0x2703a4++){const _0x122ad1=await _0x5060c0[_0x2703a4];if(!_0x122ad1?.['count']||_0x2ab4d2[_0x2f2db3(0xfd)](_0x122ad1?.[_0x2f2db3(0x141)],0x0)||!_0x122ad1?.[_0x2f2db3(0x101)])continue;for(const _0x351aa8 in _0x122ad1[_0x2f2db3(0x101)]){_0x36ffbe[_0x2f2db3(0x110)](_0x122ad1[_0x2f2db3(0x101)][_0x351aa8]);}}WebGroupData[_0x2f2db3(0x13d)][_0x2f2db3(0x105)](_0x4ac611,_0x36ffbe),WebGroupData[_0x2f2db3(0xf2)][_0x2f2db3(0x105)](_0x4ac611,Date[_0x2f2db3(0xb8)]());}else _0x36ffbe=_0x2bfbb7;}catch{return _0x36ffbe;}return _0x36ffbe;}static async[_0x9b3a6f(0xe1)](_0x552793,_0x56ca4d=''){const _0x4c5b05=_0x9b3a6f,_0x58f0d5={'iFwSv':_0x4c5b05(0xbb),'jviFN':function(_0x270c1c,_0x31258c){return _0x270c1c+_0x31258c;},'AyzYB':function(_0xab5ca1,_0x2691be){return _0xab5ca1+_0x2691be;},'UAusS':function(_0xfc246,_0x685275){return _0xfc246+_0x685275;},'CoyVT':_0x4c5b05(0xc5),'dJLsV':';\x20skey=','DOXrI':function(_0x178451,_0x4109c8){return _0x178451+_0x4109c8;},'AThzR':function(_0x433b2e,_0x25a6aa){return _0x433b2e+_0x25a6aa;},'zoxrM':function(_0x4e3f6c,_0x4141d0){return _0x4e3f6c+_0x4141d0;},'hYmMg':function(_0x46ef8a,_0x4d660b){return _0x46ef8a+_0x4d660b;},'Ckthi':'qid=','MrtRz':'&bkn=','JtzXJ':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','opiCF':_0x4c5b05(0x14f)},_0x5061b6=(await NTQQUserApi['getPSkey']([_0x4c5b05(0xbb)]))[_0x58f0d5['iFwSv']],_0x5e7c63=await NTQQUserApi[_0x4c5b05(0x109)](),_0x577506=_0x58f0d5[_0x4c5b05(0x111)](_0x58f0d5[_0x4c5b05(0x127)](_0x58f0d5[_0x4c5b05(0x148)](_0x58f0d5[_0x4c5b05(0x148)](_0x58f0d5[_0x4c5b05(0x114)],_0x5061b6),_0x58f0d5[_0x4c5b05(0x146)])+_0x5e7c63,_0x4c5b05(0x123)),selfInfo[_0x4c5b05(0xe2)]);let _0x2f6023=undefined;if(!_0x5e7c63||!_0x5061b6)return undefined;const _0x3f6600=WebApi[_0x4c5b05(0xf8)](_0x5e7c63),_0x8bb93b=_0x58f0d5['AyzYB'](_0x58f0d5[_0x4c5b05(0x11b)](_0x58f0d5[_0x4c5b05(0x128)](_0x58f0d5[_0x4c5b05(0xc3)](_0x58f0d5[_0x4c5b05(0x127)](_0x58f0d5[_0x4c5b05(0xda)](_0x58f0d5[_0x4c5b05(0xf1)],_0x552793),_0x58f0d5[_0x4c5b05(0x130)]),_0x3f6600),_0x4c5b05(0x10e)),_0x56ca4d),_0x4c5b05(0x10b)),_0x10793d=_0x58f0d5[_0x4c5b05(0x128)](_0x58f0d5[_0x4c5b05(0x145)],_0x3f6600);try{return _0x2f6023=await RequestUtil['HttpGetJson'](_0x10793d,_0x58f0d5['opiCF'],'',{'Cookie':_0x577506}),_0x2f6023;}catch(_0x269357){return undefined;}return undefined;}static async['getGrouptNotice'](_0x4e7571){const _0x3068b3=_0x9b3a6f,_0x4d6b75={'CqaHq':_0x3068b3(0xbb),'sEJgq':function(_0x5eb252,_0x165ed6){return _0x5eb252+_0x165ed6;},'OjeHJ':_0x3068b3(0xc5),'iZbFX':_0x3068b3(0xcd),'VGbuZ':function(_0x1330d7,_0x10cef1){return _0x1330d7||_0x10cef1;},'MVqbk':function(_0x5713b0,_0x7bb767){return _0x5713b0+_0x7bb767;},'bUQui':function(_0x555338,_0x3664a5){return _0x555338+_0x3664a5;},'tBryf':function(_0xc8c6c6,_0x5ab98f){return _0xc8c6c6+_0x5ab98f;},'ZIZDe':'&qid=','OhQSB':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','jgoUI':_0x3068b3(0x14f)},_0x47a296=(await NTQQUserApi[_0x3068b3(0x118)]([_0x4d6b75[_0x3068b3(0x113)]]))[_0x4d6b75[_0x3068b3(0x113)]],_0x5c2d41=await NTQQUserApi[_0x3068b3(0x109)](),_0x5e96e5=_0x4d6b75[_0x3068b3(0xd7)](_0x4d6b75[_0x3068b3(0xd7)](_0x4d6b75['sEJgq'](_0x4d6b75[_0x3068b3(0xe5)],_0x47a296),_0x4d6b75['iZbFX'])+_0x5c2d41+_0x3068b3(0x123),selfInfo[_0x3068b3(0xe2)]);let _0x40de58=undefined;if(_0x4d6b75[_0x3068b3(0xe9)](!_0x5c2d41,!_0x47a296))return undefined;const _0x9a4c05=WebApi[_0x3068b3(0xf8)](_0x5c2d41),_0x240ca6=_0x4d6b75[_0x3068b3(0x12d)](_0x4d6b75[_0x3068b3(0xbd)](_0x4d6b75[_0x3068b3(0xd7)](_0x4d6b75[_0x3068b3(0x122)](_0x3068b3(0x11f),_0x9a4c05),_0x4d6b75[_0x3068b3(0x135)]),_0x4e7571),_0x4d6b75['OhQSB']);try{_0x40de58=await RequestUtil[_0x3068b3(0x10d)](_0x240ca6,_0x4d6b75[_0x3068b3(0xed)],'',{'Cookie':_0x5e96e5});if(_0x40de58?.['ec']!==0x0)return undefined;return _0x40de58;}catch(_0x1ee6c8){return undefined;}return undefined;}static[_0x9b3a6f(0xf8)](_0x595309){const _0xa5cc0c=_0x9b3a6f,_0x50e981={'BeSYM':function(_0x3bd955,_0x28844c){return _0x3bd955||_0x28844c;},'RNVUl':function(_0x29cb2c,_0x563c80){return _0x29cb2c+_0x563c80;},'IMprA':function(_0x3e0c6b,_0x825b93){return _0x3e0c6b<<_0x825b93;}};_0x595309=_0x50e981[_0xa5cc0c(0x120)](_0x595309,'');let _0x54a79b=0x1505;for(let _0x472e8a=0x0;_0x472e8a<_0x595309['length'];_0x472e8a++){const _0x45b87e=_0x595309[_0xa5cc0c(0x119)](_0x472e8a);_0x54a79b=_0x50e981[_0xa5cc0c(0xe0)](_0x50e981[_0xa5cc0c(0xe0)](_0x54a79b,_0x50e981['IMprA'](_0x54a79b,0x5)),_0x45b87e);}return(_0x54a79b&0x7fffffff)[_0xa5cc0c(0x107)]();}static async[_0x9b3a6f(0x14b)](_0x4c3969,_0x4b26b9){const _0x53a9df=_0x9b3a6f,_0x4125db={'rOOSE':function(_0xd51de6,_0x4ca3d5){return _0xd51de6+_0x4ca3d5;},'zugrI':function(_0x329b54,_0x9827f3){return _0x329b54+_0x9827f3;},'rOyWP':'https://qun.qq.com/interactive/honorlist?gc=','mJRQS':'&type=','UdDoj':function(_0x34fd20,_0x4f11bb){return _0x34fd20===_0x4f11bb;},'auyCz':function(_0x5dfeea,_0xcc49bb,_0x502f79,_0x206606){return _0x5dfeea(_0xcc49bb,_0x502f79,_0x206606);},'UkSKC':_0x53a9df(0xff),'cJCzy':_0x53a9df(0xbb),'WiJKE':function(_0x185938,_0x4cda82){return _0x185938||_0x4cda82;},'RvjrK':function(_0x59bc2e,_0xef5917){return _0x59bc2e+_0xef5917;},'UHJil':function(_0x4cc385,_0x3f5fca){return _0x4cc385+_0x3f5fca;},'cQgVZ':function(_0xb849e8,_0x207497){return _0xb849e8+_0x207497;},'JrBwC':function(_0x283831,_0x50640c){return _0x283831+_0x50640c;},'BDpPp':_0x53a9df(0xc5),'jLJvl':_0x53a9df(0x13e),'sZhes':function(_0x54da8f,_0x4c3a50,_0x22d2f0){return _0x54da8f(_0x4c3a50,_0x22d2f0);},'gUdDz':function(_0x1e393c,_0xce82e){return _0x1e393c(_0xce82e);},'lcKZd':function(_0xa2f909,_0x5b6f73){return _0xa2f909===_0x5b6f73;},'NtVEu':function(_0x5d50bf,_0xc2b022,_0x4899a7){return _0x5d50bf(_0xc2b022,_0x4899a7);},'lkBfU':_0x53a9df(0xd6),'AriUM':function(_0x59d25e,_0x9a1133){return _0x59d25e(_0x9a1133);},'JiILB':_0x53a9df(0xc9),'oBxnq':function(_0x152d80,_0x363724){return _0x152d80===_0x363724;},'GfxMf':'获取快乐源泉失败'},_0x48cc30=(await NTQQUserApi[_0x53a9df(0x118)](['qun.qq.com']))[_0x4125db['cJCzy']],_0x58899c=await NTQQUserApi[_0x53a9df(0x109)]();if(_0x4125db[_0x53a9df(0xe7)](!_0x58899c,!_0x48cc30))return undefined;async function _0xf8da6a(_0x28f450,_0x2497db){const _0x34f959=_0x53a9df;let _0x53a644=_0x4125db[_0x34f959(0x132)](_0x4125db['zugrI'](_0x4125db[_0x34f959(0xc7)],_0x28f450),_0x4125db[_0x34f959(0x102)])+_0x2497db[_0x34f959(0x107)](),_0x5b21d3='',_0x31561c;try{_0x5b21d3=await RequestUtil[_0x34f959(0xd0)](_0x53a644,_0x34f959(0x14f),'',{'Cookie':_0x38c041});const _0x539192=_0x5b21d3[_0x34f959(0x11d)](/window\.__INITIAL_STATE__=(.*?);/);return _0x539192&&(_0x31561c=JSON[_0x34f959(0x13b)](_0x539192[0x1][_0x34f959(0xbe)]())),_0x4125db['UdDoj'](_0x2497db,0x1)?_0x31561c?.['talkativeList']:_0x31561c?.[_0x34f959(0x126)];}catch(_0x4d5677){_0x4125db[_0x34f959(0xbc)](logDebug,_0x4125db[_0x34f959(0xde)],_0x53a644,_0x4d5677);}return undefined;}let _0x172e56={'group_id':_0x4c3969};const _0x38c041=_0x4125db[_0x53a9df(0xf7)](_0x4125db['UHJil'](_0x4125db[_0x53a9df(0xf7)](_0x4125db[_0x53a9df(0xf7)](_0x4125db[_0x53a9df(0xe6)](_0x4125db[_0x53a9df(0x132)](_0x4125db[_0x53a9df(0xfe)](_0x4125db[_0x53a9df(0x117)],_0x48cc30),_0x53a9df(0xcd)),_0x58899c),';\x20p_uin=o'),selfInfo[_0x53a9df(0xe2)]),_0x4125db[_0x53a9df(0x108)]),selfInfo[_0x53a9df(0xe2)]);if(_0x4125db['UdDoj'](_0x4b26b9,WebHonorType[_0x53a9df(0x140)])||_0x4125db[_0x53a9df(0x14a)](_0x4b26b9,WebHonorType[_0x53a9df(0xbf)]))try{let _0x30740c=await _0x4125db[_0x53a9df(0x149)](_0xf8da6a,_0x4c3969,0x1);if(!_0x30740c)throw new Error(_0x53a9df(0x137));_0x172e56[_0x53a9df(0xea)]={'user_id':_0x30740c[0x0]?.[_0x53a9df(0xe2)],'avatar':_0x30740c[0x0]?.[_0x53a9df(0xe4)],'nickname':_0x30740c[0x0]?.[_0x53a9df(0xb9)],'day_count':0x0,'description':_0x30740c[0x0]?.[_0x53a9df(0xcf)]},_0x172e56[_0x53a9df(0x133)]=[];for(const _0x148ab1 of _0x30740c){_0x172e56[_0x53a9df(0x133)]['push']({'user_id':_0x148ab1?.[_0x53a9df(0xe2)],'avatar':_0x148ab1?.[_0x53a9df(0xe4)],'description':_0x148ab1?.['desc'],'day_count':0x0,'nickname':_0x148ab1?.[_0x53a9df(0xb9)]});}}catch(_0x204d63){_0x4125db[_0x53a9df(0xdb)](logDebug,_0x204d63);}if(_0x4125db[_0x53a9df(0xc4)](_0x4b26b9,WebHonorType[_0x53a9df(0xee)])||_0x4b26b9===WebHonorType[_0x53a9df(0xbf)])try{let _0x4fdc96=await _0x4125db[_0x53a9df(0x124)](_0xf8da6a,_0x4c3969,0x2);if(!_0x4fdc96)throw new Error(_0x4125db[_0x53a9df(0xc6)]);_0x172e56[_0x53a9df(0x104)]=[];for(const _0x17c7fc of _0x4fdc96){_0x172e56['performer_list'][_0x53a9df(0x110)]({'user_id':_0x17c7fc?.[_0x53a9df(0xe2)],'nickname':_0x17c7fc?.[_0x53a9df(0xb9)],'avatar':_0x17c7fc?.['avatar'],'description':_0x17c7fc?.[_0x53a9df(0xcf)]});}}catch(_0x44b5cb){_0x4125db[_0x53a9df(0xce)](logDebug,_0x44b5cb);}if(_0x4125db['lcKZd'](_0x4b26b9,WebHonorType[_0x53a9df(0xee)])||_0x4125db['lcKZd'](_0x4b26b9,WebHonorType[_0x53a9df(0xbf)]))try{let _0x217fc1=await _0x4125db[_0x53a9df(0x149)](_0xf8da6a,_0x4c3969,0x3);if(!_0x217fc1)throw new Error(_0x53a9df(0xc9));_0x172e56['legend_list']=[];for(const _0x1e79a7 of _0x217fc1){_0x172e56['legend_list'][_0x53a9df(0x110)]({'user_id':_0x1e79a7?.[_0x53a9df(0xe2)],'nickname':_0x1e79a7?.[_0x53a9df(0xb9)],'avatar':_0x1e79a7?.[_0x53a9df(0xe4)],'desc':_0x1e79a7?.['description']});}}catch(_0x356a1d){logDebug(_0x4125db[_0x53a9df(0xc2)],_0x356a1d);}if(_0x4125db[_0x53a9df(0xc4)](_0x4b26b9,WebHonorType['EMOTION'])||_0x4125db[_0x53a9df(0xd4)](_0x4b26b9,WebHonorType['ALL']))try{let _0x5bee62=await _0xf8da6a(_0x4c3969,0x6);if(!_0x5bee62)throw new Error(_0x4125db['GfxMf']);_0x172e56[_0x53a9df(0x116)]=[];for(const _0x1815cc of _0x5bee62){_0x172e56[_0x53a9df(0x116)][_0x53a9df(0x110)]({'user_id':_0x1815cc?.[_0x53a9df(0xe2)],'nickname':_0x1815cc?.[_0x53a9df(0xb9)],'avatar':_0x1815cc?.[_0x53a9df(0xe4)],'desc':_0x1815cc?.['description']});}}catch(_0x24ab4a){_0x4125db[_0x53a9df(0x124)](logDebug,_0x53a9df(0x112),_0x24ab4a);}return(_0x4b26b9===WebHonorType[_0x53a9df(0x147)]||_0x4125db[_0x53a9df(0xd4)](_0x4b26b9,WebHonorType['ALL']))&&(_0x172e56[_0x53a9df(0xf4)]=[]),_0x172e56;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 41ffec63..03a1dde3 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x1b51e1=_0x33cf;(function(_0x4e5840,_0x29e2af){const _0x1cbbb4=_0x33cf,_0x387092=_0x4e5840();while(!![]){try{const _0x2cf78b=-parseInt(_0x1cbbb4(0x222))/0x1+-parseInt(_0x1cbbb4(0x1da))/0x2*(-parseInt(_0x1cbbb4(0x1d2))/0x3)+-parseInt(_0x1cbbb4(0x25a))/0x4+-parseInt(_0x1cbbb4(0x1df))/0x5*(-parseInt(_0x1cbbb4(0x1ef))/0x6)+-parseInt(_0x1cbbb4(0x20a))/0x7*(-parseInt(_0x1cbbb4(0x1f4))/0x8)+-parseInt(_0x1cbbb4(0x1e4))/0x9+parseInt(_0x1cbbb4(0x1d9))/0xa*(-parseInt(_0x1cbbb4(0x1d8))/0xb);if(_0x2cf78b===_0x29e2af)break;else _0x387092['push'](_0x387092['shift']());}catch(_0x3d7a1){_0x387092['push'](_0x387092['shift']());}}}(_0x2f25,0xcf6cf));import _0x1c9126 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x15fd77 from'node:path';import _0x591651 from'node:os';function _0x2f25(){const _0x266f89=['addKernelProfileListener','getLoginList','QaXme','getNTUserDataInfoConfig','6811WaZDDI','proxyHandler','onQRCodeSessionFailed','loginErrorInfo','GgBNm','ZBldH','addListener','getBuddyService','clientType','updateMsg','aojEw','pngBase64QrcodeData','groupCode','initWithDeskTopConfig','./nt_qq/global','GYPNd','addKernelGroupListener','qeTTD','push','tipsTitle','createMemberListScene','util','memberCount','addKernelLoginListener','38923TlYUFc','LocalLoginInfoList','message_received','curVersion',')已登录,无法重复登录','update','140022013','homedir','groupMemberList_MainWindow','has','AVOhx','\x20has\x20no\x20method\x20','没有可快速登录的QQ号','initSession','ukWyU','undefined','resolve','replace','startNT','onQRCodeLoginSucceed','NodeIDependsAdapter','isQuickLogin','addKernelMsgListener','登录失败','engine','quickLogin','fileLogLevel','NodeIQQNTWrapperSession','账号设备(','zgMmG','getQRCodePicture','onBuddyListChange','QvbMY','quickLoginWithUin','NodeIKernelProfileListener','NodeIKernelBuddyListener','onMemberListChange','getNextMemberList','zMyGA','zzEoY','HFDHi','getBuddyList','qYuZN','nSzLE','LaNee','catch','consoleLogLevel','length','uin','YBhMp','hcMgg','loginService','packet_sent','createHash','uVomb','./.config/QQ','783264pHFJUH','qIQqX','onMsgInfoListUpdate','uid','onQRCodeGetPicture','onProfileDetailInfoChanged','pkqrt','ctaAX','_GW_B','DurEo','session','uOUGe','快速登录失败\x20','启动失败:\x20','bSQja','digest','hDHmQ',')\x20在线状态变更','sceneId','data:image/png;base64,','MRnto','constructor','onAddSendMsg','MsgListener','NodeIKernelMsgListener','oCiah','packet_received','onRecvMsg','delete','dataPathGlobal','then','last_message_time','initConfig','LsLVd','split','map','NodeIKernelLoginListener','message_sent','cabtl','GroupListener','VJlDv','zUcxt','loginListener','onLoginSuccessFuncList','IMMoA','uRRLk','set','mkdirSync','SMNSH','xSFls','FNTml','62307cxiNjA','onLoginSuccess','getMsgByLongId','uuFKo','ebHxZ','UGMNc','7271ipkETR','7180eTpUWU','22sgmhKC','initDataListener','name','assign','XHJSO','15LTiQLX','getQuickLoginList','init','onSessionInitComplete','./NapCat/data','5904783Vkorkr','onUserLoggedIn','dataPath','IlkJE','stringify','onKickedOffLine','tOdjM','lEBNX','getGroupService','qrcodeUrl','forEach','1641852sxijuD','-v2.db','result','lVGgp','NodeIKernelSessionListener','9584pzvtaP','dWyha','passwordLogin','addMsg','find','recallTime','数据库初始化失败','OLSeP','getMsgService','本账号数据/缓存目录:','tipsDesc','errMsg','addKernelBuddyListener','[KickedOffLine]\x20[','koHrK','zOyfk','get','onLineDev'];_0x2f25=function(){return _0x266f89;};return _0x2f25();}import _0x70fcfd 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 _0xa65f28 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];[_0x1b51e1(0x21f)];['engine'];[_0x1b51e1(0x1c9)];[_0x1b51e1(0x255)];['onLoginSuccessFuncList']=[];[_0x1b51e1(0x20b)]={'get'(target,prop,receiver){const _0x3e6957=_0x1b51e1,vlUtIz={'QaXme':function(x,y){return x===y;},'DurEo':_0x3e6957(0x231)};if(vlUtIz[_0x3e6957(0x208)](typeof target[prop],vlUtIz[_0x3e6957(0x263)]))return(...args)=>{const _0x550d57=_0x3e6957;logDebug(target['constructor']['name']+_0x550d57(0x22d)+prop);};return Reflect[_0x3e6957(0x204)](target,prop,receiver);}};constructor(){const _0x37c6f4=_0x1b51e1,_0x4a2a5c={'aojEw':function(_0x5199a5,_0x3aefc8){return _0x5199a5(_0x3aefc8);},'uuFKo':function(_0x26a4b8,_0x597c9a){return _0x26a4b8+_0x597c9a;},'zNPbs':'当前账号(','cabtl':_0x37c6f4(0x226),'LaNee':function(_0x3b452b,_0xaba91,_0x1fc512){return _0x3b452b(_0xaba91,_0x1fc512);},'zgMmG':'initSession\x20failed','qIQqX':_0x37c6f4(0x1fa),'pNvIY':_0x37c6f4(0x1e3),'YBhMp':function(_0x120dfc,_0x29301f,_0x31607c){return _0x120dfc(_0x29301f,_0x31607c);},'hsbUE':'登录失败','MRnto':function(_0x18ce0a,_0x437116){return _0x18ce0a==_0x437116;},'ebHxZ':function(_0x372385,_0x590798,_0x27da92){return _0x372385(_0x590798,_0x27da92);}};this[_0x37c6f4(0x23a)]=new _0x1c9126['NodeIQQNTWrapperEngine'](),this[_0x37c6f4(0x21f)]=new _0x1c9126['NodeQQNTWrapperUtil'](),this[_0x37c6f4(0x255)]=new _0x1c9126['NodeIKernelLoginService'](),this[_0x37c6f4(0x264)]=new _0x1c9126[(_0x37c6f4(0x23d))](),this[_0x37c6f4(0x1c9)]=new LoginListener(),this['loginListener'][_0x37c6f4(0x1e5)]=_0x2d2b95=>{const _0x287014=_0x37c6f4;_0x4a2a5c[_0x287014(0x214)](logError,_0x4a2a5c[_0x287014(0x1d5)](_0x4a2a5c['zNPbs'],_0x2d2b95)+_0x4a2a5c[_0x287014(0x1c5)]);},this[_0x37c6f4(0x1c9)][_0x37c6f4(0x235)]=_0x54bde2=>{const _0x5f26d2=_0x37c6f4,_0x4e44fd={'SUhpJ':function(_0x49850b,_0x49803c,_0x33fb6b){const _0x9ab625=_0x33cf;return _0x4a2a5c[_0x9ab625(0x24e)](_0x49850b,_0x49803c,_0x33fb6b);},'JpFZK':_0x4a2a5c[_0x5f26d2(0x25b)],'bSQja':function(_0x5cf71c,_0xb22b15){return _0x5cf71c(_0xb22b15);},'xSFls':_0x4a2a5c['pNvIY'],'oCiah':function(_0x41a911,_0x28981d,_0x1f1c04){const _0x16f4ac=_0x5f26d2;return _0x4a2a5c[_0x16f4ac(0x24e)](_0x41a911,_0x28981d,_0x1f1c04);},'WwpmV':_0x5f26d2(0x1fd)};this[_0x5f26d2(0x22f)](_0x54bde2[_0x5f26d2(0x252)],_0x54bde2['uid'])[_0x5f26d2(0x278)](_0x88764=>{const _0x216068=_0x5f26d2,_0x85fef0={'qeTTD':function(_0x5a78fc,_0x4bbd4d,_0x316b42){return _0x4e44fd['SUhpJ'](_0x5a78fc,_0x4bbd4d,_0x316b42);},'FNTml':function(_0xca7fb8,_0x4285ca){return _0xca7fb8 instanceof _0x4285ca;},'GIxSw':_0x4e44fd['JpFZK']};selfInfo['uin']=_0x54bde2['uin'],selfInfo[_0x216068(0x25d)]=_0x54bde2[_0x216068(0x25d)],napCatConfig['read'](),setLogLevel(napCatConfig[_0x216068(0x23c)],napCatConfig[_0x216068(0x250)]),enableFileLog(napCatConfig['fileLog']),_0x4e44fd[_0x216068(0x268)](enableConsoleLog,napCatConfig['consoleLog']),_0x4e44fd[_0x216068(0x268)](setLogSelfInfo,selfInfo);const _0x273442=_0x15fd77[_0x216068(0x232)](this[_0x216068(0x1e6)],_0x4e44fd[_0x216068(0x1d0)]);_0x70fcfd['mkdirSync'](_0x273442,{'recursive':!![]}),_0x4e44fd[_0x216068(0x273)](logDebug,_0x4e44fd['WwpmV'],_0x273442),dbUtil['init'](_0x15fd77['resolve'](_0x273442,'./'+_0x54bde2['uin']+_0x216068(0x1f0)))[_0x216068(0x278)](()=>{const _0x158ec5=_0x216068,_0x3a8439={'SMNSH':function(_0x669ab7,_0x4e425d,_0x525491){const _0x49275=_0x33cf;return _0x85fef0[_0x49275(0x21b)](_0x669ab7,_0x4e425d,_0x525491);},'ukWyU':function(_0x2e0de5,_0x512bd6){const _0x28097a=_0x33cf;return _0x85fef0[_0x28097a(0x1d1)](_0x2e0de5,_0x512bd6);}};this[_0x158ec5(0x1db)](),this[_0x158ec5(0x1ca)]['map'](_0x420b89=>{const _0x42d3ae=_0x158ec5;new Promise((_0x49adef,_0x1f830c)=>{const _0x4464b8=_0x33cf,_0x1c7e83=_0x3a8439[_0x4464b8(0x1cf)](_0x420b89,_0x54bde2[_0x4464b8(0x252)],_0x54bde2[_0x4464b8(0x25d)]);_0x3a8439[_0x4464b8(0x230)](_0x1c7e83,Promise)&&_0x1c7e83[_0x4464b8(0x278)](_0x49adef)[_0x4464b8(0x24f)](_0x1f830c);})[_0x42d3ae(0x278)]();});})[_0x216068(0x24f)](_0x48dc0d=>{const _0x1ca006=_0x216068;_0x85fef0[_0x1ca006(0x21b)](logError,_0x85fef0['GIxSw'],_0x48dc0d);});})[_0x5f26d2(0x24f)](_0x191f9c=>{const _0x291b27=_0x5f26d2;_0x4a2a5c['LaNee'](logError,_0x4a2a5c[_0x291b27(0x23f)],_0x191f9c);throw new Error(_0x291b27(0x267)+JSON[_0x291b27(0x1e8)](_0x191f9c));});},this['loginListener'][_0x37c6f4(0x20c)]=(_0x54356f,_0x1450f8,_0x28a4f0)=>{const _0x125803=_0x37c6f4;_0x4a2a5c[_0x125803(0x253)](logError,_0x4a2a5c['hsbUE'],_0x28a4f0),_0x4a2a5c[_0x125803(0x26e)](_0x54356f,0x1)&&_0x1450f8==0x3&&this['loginService'][_0x125803(0x240)]();},this[_0x37c6f4(0x1c9)]['onLoginFailed']=_0x26be01=>{const _0x4cf072=_0x37c6f4;_0x4a2a5c[_0x4cf072(0x1d6)](logError,_0x4cf072(0x239),_0x26be01);},this['loginListener']=new Proxy(this[_0x37c6f4(0x1c9)],this[_0x37c6f4(0x20b)]),this[_0x37c6f4(0x255)][_0x37c6f4(0x221)](new _0x1c9126[(_0x37c6f4(0x1c3))](this[_0x37c6f4(0x1c9)])),this[_0x37c6f4(0x27a)]();}get[_0x1b51e1(0x1e6)](){const _0xc4fe4a=_0x1b51e1;let _0x9d6613=this[_0xc4fe4a(0x21f)][_0xc4fe4a(0x209)]();return!_0x9d6613&&(_0x9d6613=_0x15fd77[_0xc4fe4a(0x232)](_0x591651[_0xc4fe4a(0x229)](),_0xc4fe4a(0x259)),_0x70fcfd[_0xc4fe4a(0x1ce)](_0x9d6613,{'recursive':!![]})),_0x9d6613;}get['dataPathGlobal'](){const _0xc9448b=_0x1b51e1,_0x52ca6f={'zMyGA':_0xc9448b(0x218)};return _0x15fd77[_0xc9448b(0x232)](this[_0xc9448b(0x1e6)],_0x52ca6f[_0xc9448b(0x248)]);}[_0x1b51e1(0x27a)](){const _0x295a3a=_0x1b51e1;this[_0x295a3a(0x23a)][_0x295a3a(0x217)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x295a3a(0x225)],'os_version':'Windows\x2010\x20Pro','use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x295a3a(0x225)][_0x295a3a(0x233)]('-','_')+_0x295a3a(0x262),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x1c9126['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x295a3a(0x27a)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x295a3a(0x277)],'clientVer':qqVersionConfigInfo[_0x295a3a(0x225)],'hostName':hostname});}['initSession'](_0x1b2307,_0x4ea7ce){const _0x1a4442={'ZBldH':function(_0x3594fa,_0x104196){return _0x3594fa(_0x104196);},'VJlDv':function(_0x591f21,_0x59b2c0){return _0x591f21(_0x59b2c0);},'QvbMY':function(_0x5ea87b,_0x591ac4,_0x236444,_0x6da74f){return _0x5ea87b(_0x591ac4,_0x236444,_0x6da74f);},'dWyha':'init\x20failed\x20'};return new Promise((_0x37a163,_0x1ffb32)=>{const _0x4ddc6b=_0x33cf,_0x108c6a=_0x1a4442[_0x4ddc6b(0x242)](genSessionConfig,_0x1b2307,_0x4ea7ce,this[_0x4ddc6b(0x1e6)]),_0x1e5bc1=new SessionListener();_0x1e5bc1[_0x4ddc6b(0x1e2)]=_0x463743=>{const _0xe520c8=_0x4ddc6b;if(_0x463743===0x0)return _0x1a4442[_0xe520c8(0x20f)](_0x37a163,0x0);_0x1a4442[_0xe520c8(0x1c7)](_0x1ffb32,_0x463743);},this['session'][_0x4ddc6b(0x1e1)](_0x108c6a,new _0x1c9126[(_0x4ddc6b(0x236))](new DependsAdapter()),new _0x1c9126['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x1c9126[(_0x4ddc6b(0x1f3))](_0x1e5bc1));try{this[_0x4ddc6b(0x264)][_0x4ddc6b(0x234)](0x0);}catch(_0x887cf8){try{this['session']['startNT']();}catch(_0x30636e){_0x1ffb32(_0x1a4442[_0x4ddc6b(0x1f5)]+_0x30636e);}}});}['initDataListener'](){const _0x21a471=_0x1b51e1,_0x2e5eef={'LsLVd':function(_0x3549bc,_0x22b2fe){return _0x3549bc===_0x22b2fe;},'ruqDl':function(_0x345647,_0x216f07){return _0x345647(_0x216f07);},'GYPNd':function(_0x42bcf2,_0x5538d5){return _0x42bcf2+_0x5538d5;},'tOdjM':function(_0x32fb98,_0x1d4141){return _0x32fb98+_0x1d4141;},'gUccH':_0x21a471(0x23e),'mbDfK':_0x21a471(0x26b),'ctaAX':function(_0x25ca9c,_0x5ebee4){return _0x25ca9c+_0x5ebee4;},'IlkJE':_0x21a471(0x201),'pkqrt':function(_0x53d0d1,_0x5a573e){return _0x53d0d1/_0x5a573e;},'uRRLk':function(_0x6c6201,_0x1df2d7){return _0x6c6201/_0x1df2d7;},'IMMoA':function(_0x53938e,_0x5c9427){return _0x53938e===_0x5c9427;},'JICsU':_0x21a471(0x22a),'OLSeP':function(_0x36dd67,_0x688008,_0x17b22b){return _0x36dd67(_0x688008,_0x17b22b);}},_0x3482d0=new MsgListener();_0x3482d0[_0x21a471(0x205)]=_0x43845a=>{const _0x58c254=_0x21a471;_0x43845a[_0x58c254(0x1c2)](_0x1b856a=>{const _0x3d69e=_0x58c254;_0x2e5eef[_0x3d69e(0x27b)](_0x1b856a[_0x3d69e(0x212)],0x2)&&_0x2e5eef['ruqDl'](log,_0x2e5eef[_0x3d69e(0x219)](_0x2e5eef[_0x3d69e(0x1ea)](_0x2e5eef['gUccH'],_0x1b856a['devUid']),_0x2e5eef['mbDfK']));});},_0x3482d0[_0x21a471(0x1e9)]=_0x5039be=>{const _0x2347e0=_0x21a471;log(_0x2e5eef['ctaAX'](_0x2e5eef[_0x2347e0(0x261)](_0x2e5eef[_0x2347e0(0x1e7)],_0x5039be[_0x2347e0(0x21d)])+']\x20',_0x5039be[_0x2347e0(0x1fe)]));},_0x3482d0[_0x21a471(0x25c)]=_0x576305=>{const _0x5e85cd=_0x21a471;stat[_0x5e85cd(0x274)]+=0x1,_0x576305['map'](_0x2c2617=>{const _0x507777=_0x5e85cd;_0x2e5eef[_0x507777(0x27b)](_0x2c2617[_0x507777(0x1f9)],'0')?dbUtil[_0x507777(0x1f7)](_0x2c2617)['then']()['catch']():dbUtil[_0x507777(0x1d4)](_0x2c2617['msgId'])[_0x507777(0x278)](_0x199e3f=>{const _0x341802=_0x507777;_0x199e3f&&(_0x199e3f[_0x341802(0x1f9)]=_0x2c2617['recallTime'],dbUtil[_0x341802(0x213)](_0x199e3f)[_0x341802(0x278)]());});});},_0x3482d0[_0x21a471(0x270)]=_0x2bb89f=>{const _0x3ac646=_0x21a471;stat[_0x3ac646(0x256)]+=0x1,stat[_0x3ac646(0x1c4)]+=0x1,stat['last_message_time']=Math['floor'](_0x2e5eef[_0x3ac646(0x260)](Date['now'](),0x3e8));},_0x3482d0[_0x21a471(0x275)]=_0x45a910=>{const _0x16fefb=_0x21a471;stat['packet_received']+=0x1,stat[_0x16fefb(0x224)]+=_0x45a910[_0x16fefb(0x251)],stat[_0x16fefb(0x279)]=Math['floor'](_0x2e5eef[_0x16fefb(0x1cc)](Date['now'](),0x3e8));},_0x3482d0['onRecvSysMsg']=(..._0x13c99c)=>{stat['packet_received']+=0x1;},this[_0x21a471(0x210)](_0x3482d0);const _0x355cee=new BuddyListener();_0x355cee[_0x21a471(0x241)]=_0x513e2a=>{const _0x1ab790=_0x21a471;rawFriends[_0x1ab790(0x251)]=0x0,rawFriends['push'](..._0x513e2a);for(const _0x5b95aa of _0x513e2a){for(const _0x30ebb7 of _0x5b95aa['buddyList']){const _0x79d14f=friends['get'](_0x30ebb7['uid']);uid2UinMap[_0x30ebb7['uid']]=_0x30ebb7['uin'],_0x79d14f?Object[_0x1ab790(0x1dd)](_0x79d14f,_0x30ebb7):friends['set'](_0x30ebb7[_0x1ab790(0x25d)],_0x30ebb7);}}},this[_0x21a471(0x210)](_0x355cee),this[_0x21a471(0x264)][_0x21a471(0x211)]()[_0x21a471(0x24b)](!![])[_0x21a471(0x278)](_0x19d883=>{});const _0x575390=new ProfileListener();_0x575390[_0x21a471(0x25f)]=_0x344c61=>{const _0xa1ca98=_0x21a471;_0x2e5eef[_0xa1ca98(0x1cb)](_0x344c61['uid'],selfInfo['uid'])&&Object[_0xa1ca98(0x1dd)](selfInfo,_0x344c61);},_0x575390['onSelfStatusChanged']=_0x32eff9=>{},this[_0x21a471(0x210)](_0x575390);const _0x42daa2=new GroupListener();_0x42daa2['onGroupListUpdate']=(_0x5cbb8c,_0x4d2ca0)=>{const _0x307237=_0x21a471,_0x11a377={'uOUGe':function(_0x3bc40b,_0x28bc4e){return _0x3bc40b===_0x28bc4e;},'zOyfk':_0x2e5eef['JICsU']};_0x4d2ca0[_0x307237(0x1c2)](_0x482369=>{const _0x278d35=_0x307237,_0x2472ba=groups['get'](_0x482369[_0x278d35(0x216)]);if(_0x2472ba&&_0x11a377[_0x278d35(0x265)](_0x482369[_0x278d35(0x220)],_0x2472ba['memberCount']))Object['assign'](_0x2472ba,_0x482369);else{groups[_0x278d35(0x1cd)](_0x482369[_0x278d35(0x216)],_0x482369);const _0x346c02=this[_0x278d35(0x264)][_0x278d35(0x1ec)]()[_0x278d35(0x21e)](_0x482369['groupCode'],_0x11a377[_0x278d35(0x203)]);this[_0x278d35(0x264)]['getGroupService']()[_0x278d35(0x247)](_0x346c02,undefined,0xbb8)[_0x278d35(0x278)](_0x476f80=>{});}});},_0x42daa2[_0x21a471(0x246)]=_0x71c5ec=>{const _0x21ea13=_0x21a471,_0x1f9a11=_0x71c5ec[_0x21ea13(0x26c)]['split']('_')[0x0];if(groupMembers[_0x21ea13(0x22b)](_0x1f9a11)){const _0x5de030=groupMembers[_0x21ea13(0x204)](_0x1f9a11);_0x71c5ec['infos']['forEach']((_0x26097c,_0x227b15)=>{const _0x4e6a3f=_0x21ea13,_0x160078=_0x5de030['get'](_0x227b15);_0x160078?Object[_0x4e6a3f(0x1dd)](_0x160078,_0x26097c):_0x5de030[_0x4e6a3f(0x1cd)](_0x227b15,_0x26097c);});}else groupMembers['set'](_0x1f9a11,_0x71c5ec['infos']);},_0x42daa2['onMemberInfoChange']=(_0xcaa6b0,_0x457d0d,_0x45b5aa)=>{const _0x4ffca1=_0x21a471;_0x457d0d===0x0&&_0x45b5aa[_0x4ffca1(0x204)](selfInfo[_0x4ffca1(0x25d)])&&_0x45b5aa[_0x4ffca1(0x204)](selfInfo[_0x4ffca1(0x25d)])?.['isDelete']&&_0x2e5eef[_0x4ffca1(0x1fb)](setTimeout,()=>{const _0x1d741c=_0x4ffca1;groups[_0x1d741c(0x276)](_0xcaa6b0);},0x1388);_0x45b5aa[_0x4ffca1(0x1ee)]((_0x2bdd20,_0x5ad20b)=>{const _0x3ad9bd=_0x4ffca1;uid2UinMap[_0x5ad20b]=_0x2bdd20[_0x3ad9bd(0x252)];});const _0x23b6a5=groupMembers[_0x4ffca1(0x204)](_0xcaa6b0);_0x23b6a5?_0x45b5aa[_0x4ffca1(0x1ee)]((_0x3f0149,_0x1ba5d3)=>{const _0x357b14=_0x4ffca1,_0x123239=_0x23b6a5['get'](_0x1ba5d3);_0x123239?Object[_0x357b14(0x1dd)](_0x123239,_0x3f0149):_0x23b6a5[_0x357b14(0x1cd)](_0x1ba5d3,_0x3f0149);}):groupMembers[_0x4ffca1(0x1cd)](_0xcaa6b0,_0x45b5aa);},this[_0x21a471(0x210)](_0x42daa2);}['addListener'](_0x202d03){const _0xe91207=_0x1b51e1,_0x55da6e={'hDHmQ':'BuddyListener','qYuZN':_0xe91207(0x1c6),'lVGgp':_0xe91207(0x271),'zUcxt':'ProfileListener'};_0x202d03=new Proxy(_0x202d03,this['proxyHandler']);switch(_0x202d03[_0xe91207(0x26f)][_0xe91207(0x1dc)]){case _0x55da6e[_0xe91207(0x26a)]:{return this['session'][_0xe91207(0x211)]()[_0xe91207(0x200)](new _0x1c9126[(_0xe91207(0x245))](_0x202d03));}case _0x55da6e[_0xe91207(0x24c)]:{return this[_0xe91207(0x264)][_0xe91207(0x1ec)]()[_0xe91207(0x21a)](new _0x1c9126['NodeIKernelGroupListener'](_0x202d03));}case _0x55da6e[_0xe91207(0x1f2)]:{return this['session'][_0xe91207(0x1fc)]()[_0xe91207(0x238)](new _0x1c9126[(_0xe91207(0x272))](_0x202d03));}case _0x55da6e[_0xe91207(0x1c8)]:{return this[_0xe91207(0x264)]['getProfileService']()[_0xe91207(0x206)](new _0x1c9126[(_0xe91207(0x244))](_0x202d03));}default:return-0x1;}}[_0x1b51e1(0x1d3)](_0x438418){const _0x5c1e5d=_0x1b51e1;this[_0x5c1e5d(0x1ca)][_0x5c1e5d(0x21c)](_0x438418);}async[_0x1b51e1(0x23b)](_0x447008){const _0x451ab0=_0x1b51e1,_0x1fba67={'koHrK':function(_0x50e0e9,_0x5acfd3){return _0x50e0e9+_0x5acfd3;}},_0xdbdffd=await this['loginService'][_0x451ab0(0x207)]();if(_0xdbdffd[_0x451ab0(0x1f1)]!==0x0)throw new Error(_0x451ab0(0x22e));const _0x3447de=_0xdbdffd[_0x451ab0(0x223)][_0x451ab0(0x1f8)](_0x577997=>_0x577997[_0x451ab0(0x252)]===_0x447008);if(!_0x3447de||!_0x3447de?.[_0x451ab0(0x237)])throw new Error(_0x447008+'快速登录不可用');await sleep(0x3e8);const _0x4686dd=await this[_0x451ab0(0x255)][_0x451ab0(0x243)](_0x447008);if(!_0x4686dd['result'])throw new Error(_0x1fba67[_0x451ab0(0x202)](_0x451ab0(0x266),_0x4686dd[_0x451ab0(0x20d)][_0x451ab0(0x1ff)]));return _0x4686dd;}async['qrLogin'](_0x2c7d55){const _0x128585=_0x1b51e1,_0x1cab2b={'AVOhx':_0x128585(0x26d),'HFDHi':'base64'};return new Promise((_0x44308c,_0xd2e42a)=>{const _0x108050=_0x128585,_0xedfb4={'XHJSO':_0x1cab2b[_0x108050(0x22c)],'nSzLE':_0x1cab2b[_0x108050(0x24a)],'ZsWJJ':function(_0x5aa676,_0x2fc15d,_0x409335,_0x3e3097){return _0x5aa676(_0x2fc15d,_0x409335,_0x3e3097);}};this[_0x108050(0x1c9)][_0x108050(0x25e)]=_0x81f0dc=>{const _0x640e4d=_0x108050,_0x33042d=_0x81f0dc[_0x640e4d(0x215)][_0x640e4d(0x27c)](_0xedfb4[_0x640e4d(0x1de)])[0x1],_0x305ba7=Buffer['from'](_0x33042d,_0xedfb4[_0x640e4d(0x24d)]);_0xedfb4['ZsWJJ'](_0x2c7d55,_0x81f0dc[_0x640e4d(0x1ed)],_0x81f0dc[_0x640e4d(0x215)],_0x305ba7);},this[_0x108050(0x255)][_0x108050(0x240)]();});}async[_0x1b51e1(0x1f6)](_0x544721,_0x4e2a0c,_0x584046,_0x4c6a2c,_0x2c30de){const _0x565979=_0x1b51e1,_0x359a81={'hcMgg':'md5','lEBNX':'hex','GgBNm':function(_0x3a0598,_0x31c86b){return _0x3a0598&&_0x31c86b;},'SljqQ':function(_0x15227f,_0x338f2c){return _0x15227f||_0x338f2c;},'UGMNc':function(_0x231dac,_0x3a6483){return _0x231dac||_0x3a6483;},'zzEoY':function(_0x3e6244,_0x17b62f){return _0x3e6244||_0x17b62f;},'uVomb':'140022008','hoHwr':_0x565979(0x228)},_0x1e0b1f=_0xa65f28[_0x565979(0x257)](_0x359a81[_0x565979(0x254)])[_0x565979(0x227)](_0x4e2a0c)[_0x565979(0x269)](_0x359a81[_0x565979(0x1eb)]),_0x372952={'uin':_0x544721,'passwordMd5':_0x1e0b1f,'step':_0x359a81[_0x565979(0x20e)](_0x584046,_0x4c6a2c)&&_0x2c30de?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x359a81['SljqQ'](_0x584046,''),'proofWaterRand':_0x359a81[_0x565979(0x1d7)](_0x4c6a2c,''),'proofWaterSid':_0x359a81[_0x565979(0x249)](_0x2c30de,'')};await this[_0x565979(0x255)][_0x565979(0x207)](),await sleep(0x3e8);const _0x4a042a=await this[_0x565979(0x255)][_0x565979(0x1f6)](_0x372952);switch(_0x4a042a['result']){case'0':{break;}case _0x359a81[_0x565979(0x258)]:{break;}case'4':case _0x359a81['hoHwr']:default:}}async[_0x1b51e1(0x1e0)](){const _0x387ef7=_0x1b51e1,_0x2b775c=await this[_0x387ef7(0x255)][_0x387ef7(0x207)]();return _0x2b775c;}}function _0x33cf(_0x1ceb47,_0x1c2103){const _0x2f2513=_0x2f25();return _0x33cf=function(_0x33cf01,_0x3419a2){_0x33cf01=_0x33cf01-0x1c2;let _0x457926=_0x2f2513[_0x33cf01];return _0x457926;},_0x33cf(_0x1ceb47,_0x1c2103);}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x3039e8=_0x13fb;(function(_0x54f25e,_0xf86bbc){const _0x241f6e=_0x13fb,_0x562037=_0x54f25e();while(!![]){try{const _0xc2fa81=parseInt(_0x241f6e(0x234))/0x1+parseInt(_0x241f6e(0x1e9))/0x2+-parseInt(_0x241f6e(0x228))/0x3*(parseInt(_0x241f6e(0x215))/0x4)+-parseInt(_0x241f6e(0x1eb))/0x5*(parseInt(_0x241f6e(0x282))/0x6)+-parseInt(_0x241f6e(0x24a))/0x7*(parseInt(_0x241f6e(0x24e))/0x8)+-parseInt(_0x241f6e(0x1f6))/0x9+parseInt(_0x241f6e(0x20c))/0xa*(parseInt(_0x241f6e(0x274))/0xb);if(_0xc2fa81===_0xf86bbc)break;else _0x562037['push'](_0x562037['shift']());}catch(_0x1fe468){_0x562037['push'](_0x562037['shift']());}}}(_0x3ecc,0x513e5));import _0x51604c from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';function _0x3ecc(){const _0x219902=['loginErrorInfo','replace','assign','onRecvMsg','msgId','catch','MDmEk','onMsgInfoListUpdate','undefined','3130182ejADgk','loginService','快速登录不可用','onQRCodeLoginSucceed','getQuickLoginList','pKleu','uid','ttigE','createMemberListScene','NodeIDispatcherAdapter','vEXTR','xqUTP','MsgListener','fileLog','NodeIKernelSessionListener','onLoginFailed','addKernelMsgListener','addKernelGroupListener','NodeIKernelMsgListener','util','NodeIGlobalAdapter','curVersion','1210gpShGX','bxiJO','zKftI','onUserLoggedIn','ySMkv','NTBpT','delete','onRecvSysMsg','wRRoo','46372xXjhUX','onLoginSuccessFuncList','AfTbO','bjJRT','length','RGEch','memberCount','isQuickLogin','zsvUy','GroupListener','MZkxT','initConfig','init','getLoginList','proxyHandler','LUYZi','getBuddyService','getMsgByLongId','onProfileDetailInfoChanged','117fJgMyY','yuOdf','push','forEach','now','./.config/QQ','name','dataPath','Qlxaz','BpSYO','stringify','get','510523dnaOMu','homedir','onKickedOffLine','cLOTp','updateMsg','initDataListener','initWithDeskTopConfig','140022008','账号设备(','addKernelLoginListener','EyYVV','ZnNHq','cthGk','constructor','mkdirSync','session','NodeIKernelLoginListener','quickLogin','engine','本账号数据/缓存目录:','fileLogLevel','addKernelBuddyListener','469HOFKUO','onMemberListChange','floor','vWsTX','13864CLErOU','initSession','split','JfcYt','createHash','axRIW','onMemberInfoChange','groupCode','NodeIQQNTWrapperEngine','passwordLogin','then','onGroupListUpdate','groupMemberList_MainWindow','NodeIKernelBuddyListener','TwzAB','onSelfStatusChanged','onLoginSuccess','buddyList','NodeIQQNTWrapperSession','addListener','HwUCF','BnUqt','NodeIKernelGroupListener','consoleLogLevel','resolve','hxZyt','getQRCodePicture','devUid','uin','eKnLM','init\x20failed\x20','kqWsa','md5','base64','NRKwq','digest','vCGmv','getMsgService','90860SOyOHy','qrcodeUrl','\x20has\x20no\x20method\x20','onQRCodeSessionFailed','ProfileListener','isDelete','kilya','SpPzR','数据库初始化失败','Windows\x2010\x20Pro','nKorK','当前账号(','NodeIKernelLoginService','V1_WIN_NQ_','6XYVlYi','quickLoginWithUin','ULDOk','startNT','ghnPZ','-v2.db','onBuddyListChange','packet_sent',')已登录,无法重复登录','onQRCodeGetPicture','infos','message_sent','map','MuVmh','NodeIDependsAdapter','iEahq','consoleLog','onSessionInitComplete','last_message_time','sceneId','set','./nt_qq/global','getGroupService','update','result','getProfileService','addMsg','NodeQQNTWrapperUtil','dataPathGlobal','ERbcT',')\x20在线状态变更','tOMoB','启动失败:\x20','MQcPU','pngBase64QrcodeData','loginListener','快速登录失败\x20','EodTL','xYkMZ','recallTime','18102VeSlIF','message_received','1351125nXWMEW','packet_received'];_0x3ecc=function(){return _0x219902;};return _0x3ecc();}import _0x549e7c from'node:path';import _0x362fad from'node:os';import _0x378e68 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 _0x2cb0ce from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x13fb(_0x479645,_0x647084){const _0x3ecc54=_0x3ecc();return _0x13fb=function(_0x13fbc2,_0x48a648){_0x13fbc2=_0x13fbc2-0x1ca;let _0x2e48bf=_0x3ecc54[_0x13fbc2];return _0x2e48bf;},_0x13fb(_0x479645,_0x647084);}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];['util'];[_0x3039e8(0x246)];[_0x3039e8(0x1e4)];[_0x3039e8(0x1f7)];[_0x3039e8(0x216)]=[];[_0x3039e8(0x223)]={'get'(target,prop,receiver){const _0x3aad2b=_0x3039e8,glWqdK={'ghnPZ':function(callee,param1){return callee(param1);},'sZHsG':function(x,y){return x===y;},'HwUCF':_0x3aad2b(0x1f5)};if(glWqdK['sZHsG'](typeof target[prop],glWqdK[_0x3aad2b(0x262)]))return(...args)=>{const _0x4e67f8=_0x3aad2b;glWqdK[_0x4e67f8(0x286)](logDebug,target['constructor'][_0x4e67f8(0x22e)]+_0x4e67f8(0x276)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x1db711=_0x3039e8,_0x182069={'xYkMZ':function(_0x2a8ae1,_0x47cbce){return _0x2a8ae1(_0x47cbce);},'CjcWc':function(_0x508e8a,_0x3e0174){return _0x508e8a+_0x3e0174;},'NTBpT':_0x1db711(0x27f),'ctoVl':_0x1db711(0x28a),'hxZyt':function(_0x1f78e7,_0x13d09e,_0x5a7925){return _0x1f78e7(_0x13d09e,_0x5a7925);},'scqjc':function(_0x9716b8,_0x3cd41b){return _0x9716b8 instanceof _0x3cd41b;},'oNzRk':function(_0x17bf4c,_0x4ad454){return _0x17bf4c(_0x4ad454);},'kqWsa':function(_0x2714d9,_0x29c162,_0x12728f){return _0x2714d9(_0x29c162,_0x12728f);},'nKorK':function(_0x20a8b3,_0x9a0a2f,_0x4d8183){return _0x20a8b3(_0x9a0a2f,_0x4d8183);},'tOMoB':'initSession\x20failed','bxiJO':function(_0x3b42e3,_0x5c7b71,_0x1c3a63){return _0x3b42e3(_0x5c7b71,_0x1c3a63);},'LUYZi':'登录失败','ttigE':function(_0x24a534,_0x29d99c){return _0x24a534==_0x29d99c;},'xpQfq':function(_0x3b3c26,_0xcca9af,_0x4452f5){return _0x3b3c26(_0xcca9af,_0x4452f5);}};this[_0x1db711(0x246)]=new _0x51604c[(_0x1db711(0x256))](),this[_0x1db711(0x209)]=new _0x51604c[(_0x1db711(0x1dc))](),this[_0x1db711(0x1f7)]=new _0x51604c[(_0x1db711(0x280))](),this['session']=new _0x51604c[(_0x1db711(0x260))](),this[_0x1db711(0x1e4)]=new LoginListener(),this[_0x1db711(0x1e4)][_0x1db711(0x20f)]=_0x2cc801=>{const _0x1cd97f=_0x1db711;_0x182069[_0x1cd97f(0x1e7)](logError,_0x182069['CjcWc'](_0x182069[_0x1cd97f(0x211)]+_0x2cc801,_0x182069['ctoVl']));},this[_0x1db711(0x1e4)][_0x1db711(0x1f9)]=_0x3481fc=>{const _0x42fde5=_0x1db711;this[_0x42fde5(0x24f)](_0x3481fc[_0x42fde5(0x26a)],_0x3481fc['uid'])[_0x42fde5(0x258)](_0x23a17e=>{const _0x2cb954=_0x42fde5,_0x4d5cf8={'bjJRT':function(_0x39c63a,_0x50b08a,_0x4ff672){const _0x41cf7b=_0x13fb;return _0x182069[_0x41cf7b(0x267)](_0x39c63a,_0x50b08a,_0x4ff672);},'myrKz':function(_0x1fc173,_0x2e42c5){return _0x182069['scqjc'](_0x1fc173,_0x2e42c5);},'ULDOk':_0x2cb954(0x27c)};selfInfo['uin']=_0x3481fc[_0x2cb954(0x26a)],selfInfo[_0x2cb954(0x1fc)]=_0x3481fc['uid'],napCatConfig['read'](),_0x182069[_0x2cb954(0x267)](setLogLevel,napCatConfig[_0x2cb954(0x248)],napCatConfig[_0x2cb954(0x265)]),_0x182069['oNzRk'](enableFileLog,napCatConfig[_0x2cb954(0x203)]),_0x182069['oNzRk'](enableConsoleLog,napCatConfig[_0x2cb954(0x1d1)]),_0x182069[_0x2cb954(0x1e7)](setLogSelfInfo,selfInfo);const _0x128b98=_0x549e7c[_0x2cb954(0x266)](this[_0x2cb954(0x22f)],'./NapCat/data');_0x378e68[_0x2cb954(0x242)](_0x128b98,{'recursive':!![]}),_0x182069[_0x2cb954(0x26d)](logDebug,_0x2cb954(0x247),_0x128b98),dbUtil[_0x2cb954(0x221)](_0x549e7c[_0x2cb954(0x266)](_0x128b98,'./'+_0x3481fc[_0x2cb954(0x26a)]+_0x2cb954(0x287)))[_0x2cb954(0x258)](()=>{const _0x4cbfdf=_0x2cb954,_0x30a53c={'pKleu':function(_0x2ea1a2,_0x5ac4a1,_0x54a7b7){const _0x4151fd=_0x13fb;return _0x4d5cf8[_0x4151fd(0x218)](_0x2ea1a2,_0x5ac4a1,_0x54a7b7);},'axRIW':function(_0x308124,_0x509d4c){return _0x4d5cf8['myrKz'](_0x308124,_0x509d4c);}};this[_0x4cbfdf(0x239)](),this['onLoginSuccessFuncList'][_0x4cbfdf(0x1cd)](_0x2645c0=>{const _0x588b95=_0x4cbfdf;new Promise((_0x5c5240,_0x30a49b)=>{const _0x19c035=_0x13fb,_0x3cf39c=_0x30a53c[_0x19c035(0x1fb)](_0x2645c0,_0x3481fc[_0x19c035(0x26a)],_0x3481fc[_0x19c035(0x1fc)]);_0x30a53c[_0x19c035(0x253)](_0x3cf39c,Promise)&&_0x3cf39c[_0x19c035(0x258)](_0x5c5240)['catch'](_0x30a49b);})[_0x588b95(0x258)]();});})[_0x2cb954(0x1f2)](_0x395aed=>{const _0x5d6fef=_0x2cb954;_0x4d5cf8[_0x5d6fef(0x218)](logError,_0x4d5cf8[_0x5d6fef(0x284)],_0x395aed);});})[_0x42fde5(0x1f2)](_0xefec82=>{const _0x524b68=_0x42fde5;_0x182069[_0x524b68(0x27e)](logError,_0x182069[_0x524b68(0x1e0)],_0xefec82);throw new Error(_0x524b68(0x1e1)+JSON[_0x524b68(0x232)](_0xefec82));});},this[_0x1db711(0x1e4)][_0x1db711(0x277)]=(_0x31810e,_0x38f2e6,_0x24360a)=>{const _0x5215f9=_0x1db711;_0x182069[_0x5215f9(0x20d)](logError,_0x182069[_0x5215f9(0x224)],_0x24360a),_0x31810e==0x1&&_0x182069[_0x5215f9(0x1fd)](_0x38f2e6,0x3)&&this[_0x5215f9(0x1f7)][_0x5215f9(0x268)]();},this[_0x1db711(0x1e4)][_0x1db711(0x205)]=_0x589931=>{const _0x509cd1=_0x1db711;_0x182069['xpQfq'](logError,_0x182069[_0x509cd1(0x224)],_0x589931);},this['loginListener']=new Proxy(this[_0x1db711(0x1e4)],this['proxyHandler']),this[_0x1db711(0x1f7)][_0x1db711(0x23d)](new _0x51604c[(_0x1db711(0x244))](this['loginListener'])),this[_0x1db711(0x220)]();}get[_0x3039e8(0x22f)](){const _0x4d770d=_0x3039e8;let _0x119fe0=this['util']['getNTUserDataInfoConfig']();return!_0x119fe0&&(_0x119fe0=_0x549e7c[_0x4d770d(0x266)](_0x362fad[_0x4d770d(0x235)](),_0x4d770d(0x22d)),_0x378e68['mkdirSync'](_0x119fe0,{'recursive':!![]})),_0x119fe0;}get['dataPathGlobal'](){const _0x3eb5cc=_0x3039e8,_0x1ff31d={'zsvUy':_0x3eb5cc(0x1d6)};return _0x549e7c[_0x3eb5cc(0x266)](this[_0x3eb5cc(0x22f)],_0x1ff31d[_0x3eb5cc(0x21d)]);}['initConfig'](){const _0x1c84b7=_0x3039e8,_0x3c7102={'BnUqt':_0x1c84b7(0x27d)};this[_0x1c84b7(0x246)][_0x1c84b7(0x23a)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1c84b7(0x20b)],'os_version':_0x3c7102[_0x1c84b7(0x263)],'use_xlog':!![],'qua':_0x1c84b7(0x281)+qqVersionConfigInfo[_0x1c84b7(0x20b)][_0x1c84b7(0x1ee)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x1c84b7(0x1dd)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x51604c[(_0x1c84b7(0x20a))](new GlobalAdapter())),this['loginService'][_0x1c84b7(0x220)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1c84b7(0x1dd)],'clientVer':qqVersionConfigInfo[_0x1c84b7(0x20b)],'hostName':hostname});}[_0x3039e8(0x24f)](_0x4569c3,_0x416ed1){const _0x3a8cac=_0x3039e8,_0x2fe90a={'hrIao':function(_0x1890ee,_0xb1a3d4){return _0x1890ee===_0xb1a3d4;},'ZOlQi':function(_0x313d5a,_0x2f847c){return _0x313d5a(_0x2f847c);},'MQcPU':function(_0x41af46,_0x4e7d11,_0x16b80e,_0x466d97){return _0x41af46(_0x4e7d11,_0x16b80e,_0x466d97);},'HZzWc':function(_0x9f1f2c,_0x57d265){return _0x9f1f2c+_0x57d265;},'iEahq':_0x3a8cac(0x26c)};return new Promise((_0x7f9c35,_0x3aa3ac)=>{const _0x1608c9=_0x3a8cac,_0x4102fa={'xhMcO':function(_0x56fb92,_0x3fdbff){return _0x2fe90a['hrIao'](_0x56fb92,_0x3fdbff);},'vEXTR':function(_0x27d8ad,_0x2469a8){return _0x2fe90a['ZOlQi'](_0x27d8ad,_0x2469a8);}},_0x3aa10e=_0x2fe90a[_0x1608c9(0x1e2)](genSessionConfig,_0x4569c3,_0x416ed1,this[_0x1608c9(0x22f)]),_0x555cde=new SessionListener();_0x555cde[_0x1608c9(0x1d2)]=_0x5b6b4b=>{const _0x524a77=_0x1608c9;if(_0x4102fa['xhMcO'](_0x5b6b4b,0x0))return _0x4102fa['vEXTR'](_0x7f9c35,0x0);_0x4102fa[_0x524a77(0x200)](_0x3aa3ac,_0x5b6b4b);},this[_0x1608c9(0x243)][_0x1608c9(0x221)](_0x3aa10e,new _0x51604c[(_0x1608c9(0x1cf))](new DependsAdapter()),new _0x51604c[(_0x1608c9(0x1ff))](new DispatcherAdapter()),new _0x51604c[(_0x1608c9(0x204))](_0x555cde));try{this[_0x1608c9(0x243)]['startNT'](0x0);}catch(_0x521683){try{this['session'][_0x1608c9(0x285)]();}catch(_0x2629f0){_0x3aa3ac(_0x2fe90a['HZzWc'](_0x2fe90a[_0x1608c9(0x1d0)],_0x2629f0));}}});}[_0x3039e8(0x239)](){const _0x36ed49=_0x3039e8,_0x4caabf={'xqUTP':function(_0x5c3d0a,_0x374383){return _0x5c3d0a===_0x374383;},'JfcYt':function(_0x14af71,_0x3242f4){return _0x14af71(_0x3242f4);},'BpSYO':function(_0x282b9c,_0x56ab16){return _0x282b9c+_0x56ab16;},'eKnLM':_0x36ed49(0x23c),'cthGk':_0x36ed49(0x1df),'oqUVM':function(_0x53d106,_0x33539a){return _0x53d106+_0x33539a;},'ERbcT':'[KickedOffLine]\x20[','yuOdf':function(_0x2fddd8,_0x4bda9d){return _0x2fddd8/_0x4bda9d;},'MDmEk':function(_0x26e53c,_0x5298f5){return _0x26e53c/_0x5298f5;},'wRRoo':function(_0x14073d,_0x44cca2){return _0x14073d===_0x44cca2;}},_0x481200=new MsgListener();_0x481200['onLineDev']=_0x36ad00=>{const _0x4f40b9=_0x36ed49;_0x36ad00[_0x4f40b9(0x1cd)](_0x14d621=>{const _0x4ae24a=_0x4f40b9;_0x4caabf['xqUTP'](_0x14d621['clientType'],0x2)&&_0x4caabf[_0x4ae24a(0x251)](log,_0x4caabf[_0x4ae24a(0x231)](_0x4caabf[_0x4ae24a(0x231)](_0x4caabf[_0x4ae24a(0x26b)],_0x14d621[_0x4ae24a(0x269)]),_0x4caabf[_0x4ae24a(0x240)]));});},_0x481200[_0x36ed49(0x236)]=_0xb5bfb9=>{const _0x209e71=_0x36ed49;_0x4caabf[_0x209e71(0x251)](log,_0x4caabf[_0x209e71(0x231)](_0x4caabf['oqUVM'](_0x4caabf[_0x209e71(0x1de)]+_0xb5bfb9['tipsTitle'],']\x20'),_0xb5bfb9['tipsDesc']));},_0x481200[_0x36ed49(0x1f4)]=_0x3d5655=>{const _0x3f5b8b=_0x36ed49,_0x385f0e={'Qlxaz':function(_0x500351,_0x4f3212){const _0x103844=_0x13fb;return _0x4caabf[_0x103844(0x201)](_0x500351,_0x4f3212);}};stat['packet_received']+=0x1,_0x3d5655[_0x3f5b8b(0x1cd)](_0x127433=>{const _0x708141=_0x3f5b8b;_0x385f0e[_0x708141(0x230)](_0x127433['recallTime'],'0')?dbUtil[_0x708141(0x1db)](_0x127433)[_0x708141(0x258)]()[_0x708141(0x1f2)]():dbUtil[_0x708141(0x226)](_0x127433[_0x708141(0x1f1)])['then'](_0x43cdb=>{const _0x21c0f1=_0x708141;_0x43cdb&&(_0x43cdb[_0x21c0f1(0x1e8)]=_0x127433[_0x21c0f1(0x1e8)],dbUtil[_0x21c0f1(0x238)](_0x43cdb)['then']());});});},_0x481200['onAddSendMsg']=_0x3a4265=>{const _0x2ebf56=_0x36ed49;stat[_0x2ebf56(0x289)]+=0x1,stat[_0x2ebf56(0x1cc)]+=0x1,stat[_0x2ebf56(0x1d3)]=Math[_0x2ebf56(0x24c)](_0x4caabf[_0x2ebf56(0x229)](Date[_0x2ebf56(0x22c)](),0x3e8));},_0x481200[_0x36ed49(0x1f0)]=_0x387895=>{const _0x415e35=_0x36ed49;stat['packet_received']+=0x1,stat[_0x415e35(0x1ea)]+=_0x387895[_0x415e35(0x219)],stat[_0x415e35(0x1d3)]=Math[_0x415e35(0x24c)](_0x4caabf[_0x415e35(0x1f3)](Date['now'](),0x3e8));},_0x481200[_0x36ed49(0x213)]=(..._0x3dbf29)=>{const _0x21a78b=_0x36ed49;stat[_0x21a78b(0x1ec)]+=0x1;},this['addListener'](_0x481200);const _0x248f8b=new BuddyListener();_0x248f8b[_0x36ed49(0x288)]=_0xa94c11=>{const _0x55e250=_0x36ed49;rawFriends[_0x55e250(0x219)]=0x0,rawFriends[_0x55e250(0x22a)](..._0xa94c11);for(const _0x324267 of _0xa94c11){for(const _0x53846d of _0x324267[_0x55e250(0x25f)]){const _0x1b0684=friends['get'](_0x53846d[_0x55e250(0x1fc)]);uid2UinMap[_0x53846d[_0x55e250(0x1fc)]]=_0x53846d[_0x55e250(0x26a)],_0x1b0684?Object[_0x55e250(0x1ef)](_0x1b0684,_0x53846d):friends[_0x55e250(0x1d5)](_0x53846d[_0x55e250(0x1fc)],_0x53846d);}}},this[_0x36ed49(0x261)](_0x248f8b),this[_0x36ed49(0x243)][_0x36ed49(0x225)]()['getBuddyList'](!![])['then'](_0xb52f73=>{});const _0x258064=new ProfileListener();_0x258064[_0x36ed49(0x227)]=_0x5f1ca0=>{const _0x57a211=_0x36ed49;_0x5f1ca0[_0x57a211(0x1fc)]===selfInfo[_0x57a211(0x1fc)]&&Object[_0x57a211(0x1ef)](selfInfo,_0x5f1ca0);},_0x258064[_0x36ed49(0x25d)]=_0x229389=>{},this[_0x36ed49(0x261)](_0x258064);const _0x5e143c=new GroupListener();_0x5e143c[_0x36ed49(0x259)]=(_0x2d289d,_0x1c5ddb)=>{const _0x144cd2=_0x36ed49,_0x5123c7={'AfTbO':function(_0x1fcfc6,_0x3100bf){const _0x106383=_0x13fb;return _0x4caabf[_0x106383(0x201)](_0x1fcfc6,_0x3100bf);}};_0x1c5ddb[_0x144cd2(0x1cd)](_0x3a9c2d=>{const _0xe00706=_0x144cd2,_0x514f22=groups[_0xe00706(0x233)](_0x3a9c2d[_0xe00706(0x255)]);_0x514f22&&_0x5123c7[_0xe00706(0x217)](_0x3a9c2d[_0xe00706(0x21b)],_0x514f22[_0xe00706(0x21b)])?Object[_0xe00706(0x1ef)](_0x514f22,_0x3a9c2d):groups[_0xe00706(0x1d5)](_0x3a9c2d['groupCode'],_0x3a9c2d);const _0x2e4c5f=this[_0xe00706(0x243)][_0xe00706(0x1d7)]()[_0xe00706(0x1fe)](_0x3a9c2d[_0xe00706(0x255)],_0xe00706(0x25a));this[_0xe00706(0x243)][_0xe00706(0x1d7)]()['getNextMemberList'](_0x2e4c5f,undefined,0xbb8)['then'](_0x4f9c96=>{});});},_0x5e143c[_0x36ed49(0x24b)]=_0x1dc1c8=>{const _0x2e73d0=_0x36ed49,_0x5a91ab=_0x1dc1c8[_0x2e73d0(0x1d4)][_0x2e73d0(0x250)]('_')[0x0];if(groupMembers['has'](_0x5a91ab)){const _0x3cc28d=groupMembers[_0x2e73d0(0x233)](_0x5a91ab);_0x1dc1c8[_0x2e73d0(0x1cb)]['forEach']((_0x366c4d,_0x4b854)=>{const _0x2d9f95=_0x2e73d0,_0x53d746=_0x3cc28d[_0x2d9f95(0x233)](_0x4b854);_0x53d746?Object['assign'](_0x53d746,_0x366c4d):_0x3cc28d[_0x2d9f95(0x1d5)](_0x4b854,_0x366c4d);});}else groupMembers['set'](_0x5a91ab,_0x1dc1c8[_0x2e73d0(0x1cb)]);},_0x5e143c[_0x36ed49(0x254)]=(_0x364a1b,_0x1fb814,_0x23ffd1)=>{const _0x5587ad=_0x36ed49;_0x4caabf[_0x5587ad(0x214)](_0x1fb814,0x0)&&_0x23ffd1[_0x5587ad(0x233)](selfInfo[_0x5587ad(0x1fc)])&&_0x23ffd1[_0x5587ad(0x233)](selfInfo[_0x5587ad(0x1fc)])?.[_0x5587ad(0x279)]&&setTimeout(()=>{const _0x2894b0=_0x5587ad;groups[_0x2894b0(0x212)](_0x364a1b);},0x1388);_0x23ffd1[_0x5587ad(0x22b)]((_0x1d1e5a,_0x22d020)=>{const _0x4132a6=_0x5587ad;uid2UinMap[_0x22d020]=_0x1d1e5a[_0x4132a6(0x26a)];});const _0x7c41e8=groupMembers['get'](_0x364a1b);_0x7c41e8?_0x23ffd1['forEach']((_0x5ec4dc,_0xcc8538)=>{const _0x350651=_0x7c41e8['get'](_0xcc8538);_0x350651?Object['assign'](_0x350651,_0x5ec4dc):_0x7c41e8['set'](_0xcc8538,_0x5ec4dc);}):groupMembers[_0x5587ad(0x1d5)](_0x364a1b,_0x23ffd1);},this['addListener'](_0x5e143c);}[_0x3039e8(0x261)](_0x491ea6){const _0x19d038=_0x3039e8,_0x2bcb7a={'vCGmv':'BuddyListener','SpPzR':_0x19d038(0x21e),'ySMkv':_0x19d038(0x202),'ZnNHq':_0x19d038(0x278)};_0x491ea6=new Proxy(_0x491ea6,this['proxyHandler']);switch(_0x491ea6[_0x19d038(0x241)][_0x19d038(0x22e)]){case _0x2bcb7a[_0x19d038(0x272)]:{return this[_0x19d038(0x243)][_0x19d038(0x225)]()[_0x19d038(0x249)](new _0x51604c[(_0x19d038(0x25b))](_0x491ea6));}case _0x2bcb7a[_0x19d038(0x27b)]:{return this[_0x19d038(0x243)][_0x19d038(0x1d7)]()[_0x19d038(0x207)](new _0x51604c[(_0x19d038(0x264))](_0x491ea6));}case _0x2bcb7a[_0x19d038(0x210)]:{return this[_0x19d038(0x243)][_0x19d038(0x273)]()[_0x19d038(0x206)](new _0x51604c[(_0x19d038(0x208))](_0x491ea6));}case _0x2bcb7a[_0x19d038(0x23f)]:{return this[_0x19d038(0x243)][_0x19d038(0x1da)]()['addKernelProfileListener'](new _0x51604c['NodeIKernelProfileListener'](_0x491ea6));}default:return-0x1;}}[_0x3039e8(0x25e)](_0x5094a5){const _0x5d2072=_0x3039e8;this[_0x5d2072(0x216)]['push'](_0x5094a5);}async[_0x3039e8(0x245)](_0x34da8f){const _0x3c3076=_0x3039e8,_0x39d2d3={'zKftI':function(_0x2b10a1,_0x2de16e){return _0x2b10a1!==_0x2de16e;},'kilya':function(_0x1035de,_0x481f30){return _0x1035de(_0x481f30);},'pVrnY':function(_0x32d5cd,_0x37a745){return _0x32d5cd+_0x37a745;},'EyYVV':_0x3c3076(0x1e5)},_0x5530f9=await this[_0x3c3076(0x1f7)][_0x3c3076(0x222)]();if(_0x39d2d3[_0x3c3076(0x20e)](_0x5530f9['result'],0x0))throw new Error('没有可快速登录的QQ号');const _0x48c17d=_0x5530f9['LocalLoginInfoList']['find'](_0x21a903=>_0x21a903[_0x3c3076(0x26a)]===_0x34da8f);if(!_0x48c17d||!_0x48c17d?.[_0x3c3076(0x21c)])throw new Error(_0x34da8f+_0x3c3076(0x1f8));await _0x39d2d3[_0x3c3076(0x27a)](sleep,0x3e8);const _0x5e7f53=await this['loginService'][_0x3c3076(0x283)](_0x34da8f);if(!_0x5e7f53[_0x3c3076(0x1d9)])throw new Error(_0x39d2d3['pVrnY'](_0x39d2d3[_0x3c3076(0x23e)],_0x5e7f53[_0x3c3076(0x1ed)]['errMsg']));return _0x5e7f53;}async['qrLogin'](_0x23e399){const _0x411642=_0x3039e8,_0x4c05af={'IwTPK':'data:image/png;base64,','RIpjr':_0x411642(0x26f),'EodTL':function(_0x46ca26,_0x139ad5,_0x41edbb,_0x304358){return _0x46ca26(_0x139ad5,_0x41edbb,_0x304358);}};return new Promise((_0x2fdf4d,_0x7745c6)=>{const _0x4784d6=_0x411642,_0x1e5315={'RGEch':_0x4c05af['IwTPK'],'vWsTX':_0x4c05af['RIpjr'],'MuVmh':function(_0x3f8fd8,_0x2d06af,_0x316147,_0x281886){const _0x4946e4=_0x13fb;return _0x4c05af[_0x4946e4(0x1e6)](_0x3f8fd8,_0x2d06af,_0x316147,_0x281886);}};this[_0x4784d6(0x1e4)][_0x4784d6(0x1ca)]=_0x1b5a6d=>{const _0xc5974d=_0x4784d6,_0x41186f=_0x1b5a6d[_0xc5974d(0x1e3)][_0xc5974d(0x250)](_0x1e5315[_0xc5974d(0x21a)])[0x1],_0x1579a7=Buffer['from'](_0x41186f,_0x1e5315[_0xc5974d(0x24d)]);_0x1e5315[_0xc5974d(0x1ce)](_0x23e399,_0x1b5a6d[_0xc5974d(0x275)],_0x1b5a6d[_0xc5974d(0x1e3)],_0x1579a7);},this[_0x4784d6(0x1f7)]['getQRCodePicture']();});}async[_0x3039e8(0x257)](_0x10910b,_0x19e4ec,_0x519fa0,_0x31a7dc,_0x3880c6){const _0x45f249=_0x3039e8,_0x1051e5={'NRKwq':_0x45f249(0x26e),'cLOTp':'hex','TwzAB':function(_0x34271b,_0x5c10ee){return _0x34271b&&_0x5c10ee;},'xdDNH':function(_0x557505,_0x8c5cf1){return _0x557505||_0x8c5cf1;},'MZkxT':'140022013'},_0x50676c=_0x2cb0ce[_0x45f249(0x252)](_0x1051e5[_0x45f249(0x270)])[_0x45f249(0x1d8)](_0x19e4ec)[_0x45f249(0x271)](_0x1051e5[_0x45f249(0x237)]),_0x568367={'uin':_0x10910b,'passwordMd5':_0x50676c,'step':_0x1051e5[_0x45f249(0x25c)](_0x519fa0,_0x31a7dc)&&_0x3880c6?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x1051e5['xdDNH'](_0x519fa0,''),'proofWaterRand':_0x31a7dc||'','proofWaterSid':_0x1051e5['xdDNH'](_0x3880c6,'')};await this[_0x45f249(0x1f7)][_0x45f249(0x222)](),await sleep(0x3e8);const _0x5bc0f7=await this[_0x45f249(0x1f7)]['passwordLogin'](_0x568367);switch(_0x5bc0f7['result']){case'0':{break;}case _0x45f249(0x23b):{break;}case'4':case _0x1051e5[_0x45f249(0x21f)]:default:}}async[_0x3039e8(0x1fa)](){const _0x35889b=_0x3039e8,_0x1d475f=await this[_0x35889b(0x1f7)]['getLoginList']();return _0x1d475f;}}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 f0dc135e..ad78f212 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -function _0x1e9c(){const _0x447d40=['set','6dTpiBU','toString','5086xmspbx','3518383QspPdD','2647393kSNvhj','Dmiix','uin','values','getGroups','795xSaWuO','oAVBh','3832jaSWpx','7627944RNryNB','delete','351mulPEA','find','6097446JtIhsz','NapCat未能正常启动,请检查日志查看错误','length','from','getGroupMembers','72494eRuxkp','JdDYt','get','50nBgkIg'];_0x1e9c=function(){return _0x447d40;};return _0x1e9c();}const _0x3e979e=_0x48f4;(function(_0x5a0e64,_0x266733){const _0x55ca6c=_0x48f4,_0x3a2fab=_0x5a0e64();while(!![]){try{const _0x262a03=parseInt(_0x55ca6c(0x1fc))/0x1+-parseInt(_0x55ca6c(0x203))/0x2*(-parseInt(_0x55ca6c(0x1f5))/0x3)+parseInt(_0x55ca6c(0x1f2))/0x4*(-parseInt(_0x55ca6c(0x1f0))/0x5)+-parseInt(_0x55ca6c(0x201))/0x6*(-parseInt(_0x55ca6c(0x205))/0x7)+parseInt(_0x55ca6c(0x1f3))/0x8+parseInt(_0x55ca6c(0x1f7))/0x9+parseInt(_0x55ca6c(0x1ff))/0xa*(-parseInt(_0x55ca6c(0x204))/0xb);if(_0x262a03===_0x266733)break;else _0x3a2fab['push'](_0x3a2fab['shift']());}catch(_0x211806){_0x3a2fab['push'](_0x3a2fab['shift']());}}}(_0x1e9c,0x993a8));import{isNumeric}from'@/common/utils/helper';function _0x48f4(_0x4c2439,_0x458292){const _0x1e9c8f=_0x1e9c();return _0x48f4=function(_0x48f4f9,_0x550b1d){_0x48f4f9=_0x48f4f9-0x1f0;let _0x5effea=_0x1e9c8f[_0x48f4f9];return _0x5effea;},_0x48f4(_0x4c2439,_0x458292);}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(_0x43443e){const _0x2581d1=_0x48f4;groups['delete'](_0x43443e),groupMembers[_0x2581d1(0x1f4)](_0x43443e);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x3e979e(0x1f8)};export async function getFriend(_0x35624a){const _0x5ad968=_0x3e979e;_0x35624a=_0x35624a['toString']();if(isNumeric(_0x35624a)){const _0x28b0c4=Array[_0x5ad968(0x1fa)](friends['values']());return _0x28b0c4[_0x5ad968(0x1f6)](_0x77f617=>_0x77f617[_0x5ad968(0x207)]===_0x35624a);}else return friends['get'](_0x35624a);}export async function getGroup(_0x2928c8){const _0x431367=_0x3e979e;let _0x32197f=groups[_0x431367(0x1fe)](_0x2928c8[_0x431367(0x202)]());if(!_0x32197f)try{const _0x48aad6=await NTQQGroupApi[_0x431367(0x209)]();_0x48aad6[_0x431367(0x1f9)]&&_0x48aad6['forEach'](_0x1068b5=>{const _0x459d61=_0x431367;groups[_0x459d61(0x200)](_0x1068b5['groupCode'],_0x1068b5);});}catch(_0x288b9a){return undefined;}return _0x32197f=groups[_0x431367(0x1fe)](_0x2928c8[_0x431367(0x202)]()),_0x32197f;}export async function getGroupMember(_0x2984f9,_0x5acbf1){const _0x41f643=_0x3e979e,_0x2f7e06={'JdDYt':function(_0x5ed1b8,_0x276ae8){return _0x5ed1b8(_0x276ae8);},'Dmiix':function(_0x15a7c1){return _0x15a7c1();}};_0x2984f9=_0x2984f9[_0x41f643(0x202)](),_0x5acbf1=_0x5acbf1[_0x41f643(0x202)]();let _0x17269a=groupMembers['get'](_0x2984f9);if(!_0x17269a)try{_0x17269a=await NTQQGroupApi[_0x41f643(0x1fb)](_0x2984f9),groupMembers[_0x41f643(0x200)](_0x2984f9,_0x17269a);}catch(_0x28b61a){return null;}const _0x1dc81f=()=>{const _0x5291ec=_0x41f643;let _0x423f1a=undefined;return _0x2f7e06[_0x5291ec(0x1fd)](isNumeric,_0x5acbf1)?_0x423f1a=Array[_0x5291ec(0x1fa)](_0x17269a[_0x5291ec(0x208)]())['find'](_0x260cea=>_0x260cea['uin']===_0x5acbf1):_0x423f1a=_0x17269a[_0x5291ec(0x1fe)](_0x5acbf1),_0x423f1a;};let _0x228b6c=_0x2f7e06[_0x41f643(0x206)](_0x1dc81f);return!_0x228b6c&&(_0x17269a=await NTQQGroupApi[_0x41f643(0x1fb)](_0x2984f9),_0x228b6c=_0x1dc81f()),_0x228b6c;}export const uid2UinMap={};export function getUidByUin(_0x6a6856){const _0x281b58=_0x3e979e,_0x17392b={'oAVBh':function(_0x43f456,_0x451ad7){return _0x43f456===_0x451ad7;}};for(const _0x3df1c5 in uid2UinMap){if(_0x17392b[_0x281b58(0x1f1)](uid2UinMap[_0x3df1c5],_0x6a6856))return _0x3df1c5;}}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(_0x446591,_0x5d404e){const _0x2ca88e=_0x3c07,_0x93bb35=_0x446591();while(!![]){try{const _0x1af2ba=parseInt(_0x2ca88e(0x10d))/0x1*(-parseInt(_0x2ca88e(0x116))/0x2)+-parseInt(_0x2ca88e(0x114))/0x3*(parseInt(_0x2ca88e(0x11c))/0x4)+parseInt(_0x2ca88e(0x11a))/0x5*(-parseInt(_0x2ca88e(0x110))/0x6)+parseInt(_0x2ca88e(0x10a))/0x7*(parseInt(_0x2ca88e(0x10f))/0x8)+parseInt(_0x2ca88e(0x117))/0x9*(parseInt(_0x2ca88e(0x107))/0xa)+-parseInt(_0x2ca88e(0x105))/0xb+-parseInt(_0x2ca88e(0x113))/0xc*(-parseInt(_0x2ca88e(0x10e))/0xd);if(_0x1af2ba===_0x5d404e)break;else _0x93bb35['push'](_0x93bb35['shift']());}catch(_0x1e5948){_0x93bb35['push'](_0x93bb35['shift']());}}}(_0x1f6a,0x7fac9));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()};function _0x3c07(_0x132f72,_0x2617f1){const _0x1f6a5d=_0x1f6a();return _0x3c07=function(_0x3c074c,_0x4da471){_0x3c074c=_0x3c074c-0x102;let _0x41ff1c=_0x1f6a5d[_0x3c074c];return _0x41ff1c;},_0x3c07(_0x132f72,_0x2617f1);}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x1f6a(){const _0x2813d0=['62440GYWVKR','2410806gbtMrK','delete','groupCode','18449292GGVBZx','423keXMOB','length','4aHwBSj','9QvoLbL','from','values','10axTSzo','UGaNP','19016WSXAwg','set','forEach','NrlJX','find','5465779ypKeNo','get','1840010uZrUUK','getGroupMembers','PoiMT','798lXnkHo','toString','uin','58727qOYmqz','13hbdxik'];_0x1f6a=function(){return _0x2813d0;};return _0x1f6a();}export const groups=new Map();export function deleteGroup(_0x438a5d){const _0xd78ab9=_0x3c07;groups['delete'](_0x438a5d),groupMembers[_0xd78ab9(0x111)](_0x438a5d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x464a19){const _0x3fe95c=_0x3c07,_0x2a7ec5={'NrlJX':function(_0x372f59,_0xb312c3){return _0x372f59(_0xb312c3);}};_0x464a19=_0x464a19[_0x3fe95c(0x10b)]();if(_0x2a7ec5[_0x3fe95c(0x103)](isNumeric,_0x464a19)){const _0x3bd93e=Array['from'](friends[_0x3fe95c(0x119)]());return _0x3bd93e['find'](_0x27577d=>_0x27577d['uin']===_0x464a19);}else return friends[_0x3fe95c(0x106)](_0x464a19);}export async function getGroup(_0x481a3f){const _0x55eef0=_0x3c07;let _0xd34e40=groups[_0x55eef0(0x106)](_0x481a3f[_0x55eef0(0x10b)]());if(!_0xd34e40)try{const _0x167ff4=await NTQQGroupApi['getGroups']();_0x167ff4[_0x55eef0(0x115)]&&_0x167ff4[_0x55eef0(0x102)](_0x5451b1=>{const _0x482400=_0x55eef0;groups[_0x482400(0x11d)](_0x5451b1[_0x482400(0x112)],_0x5451b1);});}catch(_0x57a059){return undefined;}return _0xd34e40=groups[_0x55eef0(0x106)](_0x481a3f[_0x55eef0(0x10b)]()),_0xd34e40;}export async function getGroupMember(_0x5db336,_0x546b73){const _0x18f524=_0x3c07,_0x4cf117={'nwFNw':function(_0x56cb86,_0x2e5b63){return _0x56cb86(_0x2e5b63);},'PoiMT':function(_0x51d416){return _0x51d416();}};_0x5db336=_0x5db336[_0x18f524(0x10b)](),_0x546b73=_0x546b73[_0x18f524(0x10b)]();let _0x513b1a=groupMembers[_0x18f524(0x106)](_0x5db336);if(!_0x513b1a)try{_0x513b1a=await NTQQGroupApi[_0x18f524(0x108)](_0x5db336),groupMembers[_0x18f524(0x11d)](_0x5db336,_0x513b1a);}catch(_0x121162){return null;}const _0x1a0778=()=>{const _0x394b43=_0x18f524;let _0x25b156=undefined;return _0x4cf117['nwFNw'](isNumeric,_0x546b73)?_0x25b156=Array[_0x394b43(0x118)](_0x513b1a['values']())[_0x394b43(0x104)](_0x4f9c1f=>_0x4f9c1f[_0x394b43(0x10c)]===_0x546b73):_0x25b156=_0x513b1a[_0x394b43(0x106)](_0x546b73),_0x25b156;};let _0x6f3a81=_0x1a0778();return!_0x6f3a81&&(_0x513b1a=await NTQQGroupApi[_0x18f524(0x108)](_0x5db336),_0x6f3a81=_0x4cf117[_0x18f524(0x109)](_0x1a0778)),_0x6f3a81;}export const uid2UinMap={};export function getUidByUin(_0x5a3290){const _0x1c7353=_0x3c07,_0x2789cc={'UGaNP':function(_0x3930bf,_0x218a1a){return _0x3930bf===_0x218a1a;}};for(const _0x21ea61 in uid2UinMap){if(_0x2789cc[_0x1c7353(0x11b)](uid2UinMap[_0x21ea61],_0x5a3290))return _0x21ea61;}}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 690d1104..508abb2f 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x2785(_0x53a375,_0x5ad036){var _0xea5dc3=_0xea5d();return _0x2785=function(_0x27858a,_0xc4f20f){_0x27858a=_0x27858a-0x1b3;var _0xb85139=_0xea5dc3[_0x27858a];return _0xb85139;},_0x2785(_0x53a375,_0x5ad036);}(function(_0xa9ba95,_0x2d8d2b){var _0x24af7d=_0x2785,_0x4b628c=_0xa9ba95();while(!![]){try{var _0x40c8f8=parseInt(_0x24af7d(0x1bd))/0x1*(-parseInt(_0x24af7d(0x1b5))/0x2)+-parseInt(_0x24af7d(0x1b8))/0x3+parseInt(_0x24af7d(0x1c5))/0x4+parseInt(_0x24af7d(0x1c0))/0x5+parseInt(_0x24af7d(0x1b4))/0x6*(parseInt(_0x24af7d(0x1c1))/0x7)+-parseInt(_0x24af7d(0x1ba))/0x8*(parseInt(_0x24af7d(0x1b9))/0x9)+-parseInt(_0x24af7d(0x1c6))/0xa;if(_0x40c8f8===_0x2d8d2b)break;else _0x4b628c['push'](_0x4b628c['shift']());}catch(_0x3970b){_0x4b628c['push'](_0x4b628c['shift']());}}}(_0xea5d,0x52f94));function _0xea5d(){var _0x1dc2c0=['2038940AyFeQR','ejEHv','223134givfsc','10pJuhtm','IMriL','AUDIO','138051FrTync','477dOtuPj','16144xcnwwD','0|3|1|4|2','lDvXO','37775uEIhvB','uYeNv','split','833065LRDNfU','98wgeBtc','KXJaw','DOCUMENT','IMAGE','793364lWHHle'];_0xea5d=function(){return _0x1dc2c0;};return _0xea5d();};export var CacheFileType;(function(_0x228ea3){var _0x1c26c0=_0x2785,_0xe76f57={'KXJaw':_0x1c26c0(0x1c4),'lDvXO':_0x1c26c0(0x1b7),'IMriL':'OTHER','ejEHv':'VIDEO','uYeNv':_0x1c26c0(0x1c3)},_0x32bb0c=_0x1c26c0(0x1bb)[_0x1c26c0(0x1bf)]('|'),_0x15d8b9=0x0;while(!![]){switch(_0x32bb0c[_0x15d8b9++]){case'0':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1c2)]]=0x0]=_0xe76f57[_0x1c26c0(0x1c2)];continue;case'1':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1bc)]]=0x2]=_0xe76f57['lDvXO'];continue;case'2':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1b6)]]=0x4]=_0xe76f57[_0x1c26c0(0x1b6)];continue;case'3':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1b3)]]=0x1]=_0xe76f57['ejEHv'];continue;case'4':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1be)]]=0x3]=_0xe76f57[_0x1c26c0(0x1be)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0xbedce4,_0x2a3470){var _0x5a0747=_0x1410,_0x21b856=_0xbedce4();while(!![]){try{var _0x17ac79=parseInt(_0x5a0747(0xce))/0x1+parseInt(_0x5a0747(0xd7))/0x2+parseInt(_0x5a0747(0xdb))/0x3+parseInt(_0x5a0747(0xd9))/0x4+parseInt(_0x5a0747(0xdd))/0x5*(-parseInt(_0x5a0747(0xd0))/0x6)+-parseInt(_0x5a0747(0xd3))/0x7*(-parseInt(_0x5a0747(0xd2))/0x8)+-parseInt(_0x5a0747(0xd4))/0x9*(parseInt(_0x5a0747(0xd1))/0xa);if(_0x17ac79===_0x2a3470)break;else _0x21b856['push'](_0x21b856['shift']());}catch(_0x51cf1b){_0x21b856['push'](_0x21b856['shift']());}}}(_0x5bce,0x5216b));;function _0x5bce(){var _0xbdecfb=['Gvqla','946340VDtFQP','SdQpS','1811972bwCEKl','DOCUMENT','1790004JpvOxy','VIDEO','5gYCmjU','GEqsc','AUDIO','278440ZAQauz','ghWZa','5466ZRjqrk','90locihK','4873784IEKehW','7uZYzHc','2073348LDRqzc','OTHER'];_0x5bce=function(){return _0xbdecfb;};return _0x5bce();}function _0x1410(_0x190c4e,_0x5aa5ce){var _0x5bce52=_0x5bce();return _0x1410=function(_0x1410f9,_0x4e2499){_0x1410f9=_0x1410f9-0xcc;var _0x4e4f76=_0x5bce52[_0x1410f9];return _0x4e4f76;},_0x1410(_0x190c4e,_0x5aa5ce);}export var CacheFileType;(function(_0x2da895){var _0x23ce21=_0x1410,_0x233021={'ghWZa':'IMAGE','GEqsc':_0x23ce21(0xdc),'Gvqla':_0x23ce21(0xcd),'SdQpS':_0x23ce21(0xda),'sRkkS':_0x23ce21(0xd5)};_0x2da895[_0x2da895[_0x233021['ghWZa']]=0x0]=_0x233021[_0x23ce21(0xcf)],_0x2da895[_0x2da895['VIDEO']=0x1]=_0x233021[_0x23ce21(0xcc)],_0x2da895[_0x2da895[_0x233021[_0x23ce21(0xd6)]]=0x2]=_0x233021[_0x23ce21(0xd6)],_0x2da895[_0x2da895[_0x23ce21(0xda)]=0x3]=_0x233021[_0x23ce21(0xd8)],_0x2da895[_0x2da895[_0x233021['sRkkS']]=0x4]=_0x233021['sRkkS'];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index e10755cf..31620ff6 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x173afa=_0x7d2c;(function(_0xbbda81,_0x478ca8){const _0x3d657f=_0x7d2c,_0x28f3c8=_0xbbda81();while(!![]){try{const _0x30995b=parseInt(_0x3d657f(0x95))/0x1*(-parseInt(_0x3d657f(0x9c))/0x2)+-parseInt(_0x3d657f(0x87))/0x3+-parseInt(_0x3d657f(0xaf))/0x4*(-parseInt(_0x3d657f(0x9f))/0x5)+parseInt(_0x3d657f(0x96))/0x6+-parseInt(_0x3d657f(0xd5))/0x7*(parseInt(_0x3d657f(0x86))/0x8)+-parseInt(_0x3d657f(0xcf))/0x9+-parseInt(_0x3d657f(0xd2))/0xa*(-parseInt(_0x3d657f(0x98))/0xb);if(_0x30995b===_0x478ca8)break;else _0x28f3c8['push'](_0x28f3c8['shift']());}catch(_0x37624a){_0x28f3c8['push'](_0x28f3c8['shift']());}}}(_0x3050,0xe54d7));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1676d5}from'node:fs';import _0x2e093e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x3050(){const _0x125af2=['FILE','writeFile','语音转换失败,\x20请检查语音文件是否正常','NHUgK','maOmy','RPS','sysface','end','text','toString','CbONM','zxIHf','PHpFw','stringify','134072EbmhWG','1234686gopkcv','ark','[骰子]','QDes','获取视频封面失败,使用默认封面','mface','string','error','rqDXm','AIEFz','replace','cePLt','gPCPE','JFxgc','13pxDqUA','5781918AowJlr','emoji','99NyJEnJ','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','reply','ROfpO','9974HTsVyQ','MARKDOWN','FACE','2500yoDagq','get','[商城表情]','dice','APGcV','iXbQe','AniStickerId','jpg','qPAfZ','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','video','sep','PTT','lGgyh','VYyVA','face','11328BtPMPH','dirname','mp4','hnMsj','time','screenshots','Ori','copyFile','width','markdown','unlink','AniStickerType','catch','VIDEO','size','find','miniapp','rps','uploadFile','notAt','Bot\x20Test','getImageSize','file','pic','then','TEXT','文件异常,大小为0','join','fRGNc','REPLY','QJHaj','WsCPW','9623799KdVgzJ','PIC','height','2109430IvdfNH','ARK','SFFuH','749DtDcGW'];_0x3050=function(){return _0x125af2;};return _0x3050();}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 _0x4b53b1 from'./face_config.json';import*as _0x43d789 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();function _0x7d2c(_0x3c0545,_0x1dca83){const _0x30509d=_0x3050();return _0x7d2c=function(_0x7d2cb9,_0x1742f2){_0x7d2cb9=_0x7d2cb9-0x79;let _0x3c38db=_0x30509d[_0x7d2cb9];return _0x3c38db;},_0x7d2c(_0x3c0545,_0x1dca83);}export class SendMsgElementConstructor{static[_0x173afa(0x80)](_0x4968cc){const _0xd22d5e=_0x173afa;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x4968cc,'atType':AtType[_0xd22d5e(0xc2)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4ee219,_0x423d8e,_0x5eed39,_0x3ce04c){const _0x2d8d4a=_0x173afa;return{'elementType':ElementType[_0x2d8d4a(0xc8)],'elementId':'','textElement':{'content':'@'+_0x3ce04c,'atType':_0x5eed39,'atUid':_0x4ee219,'atTinyId':'','atNtUid':_0x423d8e}};}static[_0x173afa(0x9a)](_0x53f49a,_0x8a8a76,_0x267667,_0x1228b6){const _0x46e227=_0x173afa;return{'elementType':ElementType[_0x46e227(0xcc)],'elementId':'','replyElement':{'replayMsgSeq':_0x53f49a,'replayMsgId':_0x8a8a76,'senderUin':_0x267667,'senderUinStr':_0x1228b6}};}static async[_0x173afa(0xc6)](_0x552dc6,_0x22ed64='',_0x5a31ec=0x0){const _0xc4c0fa=_0x173afa,_0x31f159={'rQDTp':function(_0x471885,_0xebfcc0){return _0x471885===_0xebfcc0;},'eAnAn':_0xc4c0fa(0xc9),'ZzJiF':function(_0x4e190c,_0x2a6730){return _0x4e190c(_0x2a6730);}},{md5:_0x3cb239,fileName:_0x511dcc,path:_0x25a0bc,fileSize:_0x6284aa}=await NTQQFileApi[_0xc4c0fa(0xc1)](_0x552dc6,ElementType[_0xc4c0fa(0xd0)],_0x5a31ec);if(_0x31f159['rQDTp'](_0x6284aa,0x0))throw _0x31f159['eAnAn'];const _0x2de761=await NTQQFileApi[_0xc4c0fa(0xc4)](_0x552dc6),_0x2c78d5={'md5HexStr':_0x3cb239,'fileSize':_0x6284aa['toString'](),'picWidth':_0x2de761?.[_0xc4c0fa(0xb7)],'picHeight':_0x2de761?.[_0xc4c0fa(0xd1)],'fileName':_0x511dcc,'sourcePath':_0x25a0bc,'original':!![],'picType':_0x31f159['ZzJiF'](isGIF,_0x552dc6)?PicType['gif']:PicType[_0xc4c0fa(0xa6)],'picSubType':_0x5a31ec,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x22ed64};return{'elementType':ElementType[_0xc4c0fa(0xd0)],'elementId':'','picElement':_0x2c78d5};}static async[_0x173afa(0xc5)](_0x113d4f,_0x1f2cf2=''){const _0x38b83f=_0x173afa,_0x2b1b20={'hFYht':function(_0xbb1f0b,_0x46a4b6){return _0xbb1f0b||_0x46a4b6;}},{md5:_0x536402,fileName:_0x350242,path:_0x11068c,fileSize:_0xc62c4e}=await NTQQFileApi[_0x38b83f(0xc1)](_0x113d4f,ElementType[_0x38b83f(0xd6)]);if(_0xc62c4e===0x0)throw'文件异常,大小为0';const _0x373623={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x2b1b20['hFYht'](_0x1f2cf2,_0x350242),'filePath':_0x11068c,'fileSize':_0xc62c4e[_0x38b83f(0x81)]()}};return _0x373623;}static async[_0x173afa(0xa9)](_0x35a2f6,_0x2280dc='',_0x2a78b0=''){const _0x60fe6a=_0x173afa,_0x1d1061={'NHUgK':function(_0x472816,_0x5de5ad){return _0x472816(_0x5de5ad);},'APGcV':function(_0x2913cc,_0x3962e7,_0x3be057){return _0x2913cc(_0x3962e7,_0x3be057);},'JFxgc':_0x60fe6a(0x7f),'iXbQe':_0x60fe6a(0x8e),'AIEFz':function(_0x495aad,_0x42db6a){return _0x495aad+_0x42db6a;},'WsCPW':function(_0x3d866f,_0x167dee){return _0x3d866f===_0x167dee;},'rqDXm':_0x60fe6a(0xc9),'maOmy':_0x60fe6a(0xb1),'fRGNc':function(_0x16f7b6,_0x4fa47e,_0x13411e){return _0x16f7b6(_0x4fa47e,_0x13411e);},'gPCPE':'获取视频信息失败'},{fileName:_0x272275,path:_0x5e4296,fileSize:_0xcf13b9,md5:_0xbaa23e}=await NTQQFileApi['uploadFile'](_0x35a2f6,ElementType[_0x60fe6a(0xbc)]);if(_0x1d1061[_0x60fe6a(0xce)](_0xcf13b9,0x0))throw _0x1d1061[_0x60fe6a(0x8f)];let _0x22243a=_0x5e4296[_0x60fe6a(0x91)](_0x43d789['sep']+_0x60fe6a(0xb5)+_0x43d789[_0x60fe6a(0xaa)],_0x43d789[_0x60fe6a(0xaa)]+'Thumb'+_0x43d789['sep']);_0x22243a=_0x43d789[_0x60fe6a(0xb0)](_0x22243a);let _0x6089c1={'width':0x780,'height':0x438,'time':0xf,'format':_0x1d1061[_0x60fe6a(0x7c)],'size':_0xcf13b9,'filePath':_0x35a2f6};try{_0x6089c1=await getVideoInfo(_0x5e4296);}catch(_0x29b82d){_0x1d1061[_0x60fe6a(0xcb)](logError,_0x1d1061[_0x60fe6a(0x93)],_0x29b82d);}const _0xbdf056=new Promise((_0x21b2be,_0x3be151)=>{const _0x826a39=_0x60fe6a,_0x49080c=_0xbaa23e+'_0.png',_0x5db846=_0x43d789[_0x826a39(0xca)](_0x22243a,_0x49080c);_0x1d1061['NHUgK'](_0x2e093e,_0x35a2f6)['on'](_0x1d1061['JFxgc'],()=>{})['on'](_0x1d1061[_0x826a39(0xa4)],_0x4ff4d7=>{const _0x1f30a1=_0x826a39,_0x1496ab={'hnMsj':function(_0x57cbb2,_0x31fdc3){const _0x4bc5f2=_0x7d2c;return _0x1d1061[_0x4bc5f2(0x7b)](_0x57cbb2,_0x31fdc3);}};_0x1d1061[_0x1f30a1(0xa3)](logDebug,_0x1f30a1(0x8b),_0x4ff4d7),_0x2a78b0?_0x1676d5[_0x1f30a1(0xb6)](_0x2a78b0,_0x5db846)['then'](()=>{_0x21b2be(_0x5db846);})[_0x1f30a1(0xbb)](_0x3be151):_0x1676d5[_0x1f30a1(0x79)](_0x5db846,defaultVideoThumb)[_0x1f30a1(0xc7)](()=>{const _0x28152c=_0x1f30a1;_0x1496ab[_0x28152c(0xb2)](_0x21b2be,_0x5db846);})[_0x1f30a1(0xbb)](_0x3be151);})[_0x826a39(0xb4)]({'timestamps':[0x0],'filename':_0x49080c,'folder':_0x22243a,'size':_0x1d1061[_0x826a39(0x90)](_0x6089c1[_0x826a39(0xb7)],'x')+_0x6089c1[_0x826a39(0xd1)]})['on'](_0x1d1061[_0x826a39(0x94)],()=>{_0x21b2be(_0x5db846);});}),_0x33bb2e=new Map(),_0x3de7e4=await _0xbdf056,_0x270f9f=(await _0x1676d5['stat'](_0x3de7e4))[_0x60fe6a(0xbd)];_0x33bb2e['set'](0x0,_0x3de7e4);const _0x198359=await _0x1d1061[_0x60fe6a(0x7b)](calculateFileMD5,_0x3de7e4),_0x2554f8={'elementType':ElementType[_0x60fe6a(0xbc)],'elementId':'','videoElement':{'fileName':_0x2280dc||_0x272275,'filePath':_0x5e4296,'videoMd5':_0xbaa23e,'thumbMd5':_0x198359,'fileTime':_0x6089c1[_0x60fe6a(0xb3)],'thumbPath':_0x33bb2e,'thumbSize':_0x270f9f,'thumbWidth':_0x6089c1[_0x60fe6a(0xb7)],'thumbHeight':_0x6089c1['height'],'fileSize':_0x1d1061[_0x60fe6a(0x90)]('',_0xcf13b9)}};return _0x2554f8;}static async['ptt'](_0x18dd0b){const _0x29c9cc=_0x173afa,_0x66a705={'PHpFw':function(_0x544652,_0x5c6de9){return _0x544652(_0x5c6de9);},'QJHaj':_0x29c9cc(0x7a),'SFFuH':'文件异常,大小为0'},{converted:_0x3aaf34,path:_0x3391b7,duration:_0x3bcf44}=await _0x66a705[_0x29c9cc(0x84)](encodeSilk,_0x18dd0b);if(!_0x3391b7)throw _0x66a705[_0x29c9cc(0xcd)];const {md5:_0x4dff4c,fileName:_0x554882,path:_0x1a0e9a,fileSize:_0x4ded2d}=await NTQQFileApi[_0x29c9cc(0xc1)](_0x3391b7,ElementType[_0x29c9cc(0xab)]);if(_0x4ded2d===0x0)throw _0x66a705[_0x29c9cc(0xd4)];return _0x3aaf34&&_0x1676d5[_0x29c9cc(0xb9)](_0x3391b7)[_0x29c9cc(0xc7)](),{'elementType':ElementType[_0x29c9cc(0xab)],'elementId':'','pttElement':{'fileName':_0x554882,'filePath':_0x1a0e9a,'md5HexStr':_0x4dff4c,'fileSize':_0x4ded2d,'duration':_0x3bcf44||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[_0x173afa(0xae)](_0x49dbdb){const _0x3c7ef3=_0x173afa,_0xfaed43={'xOXua':function(_0x16ec52,_0x5f2057){return _0x16ec52>=_0x5f2057;}},_0x35aacf=_0x4b53b1[_0x3c7ef3(0x7e)],_0x57993f=_0x4b53b1[_0x3c7ef3(0x97)],_0x55e7e3=_0x35aacf[_0x3c7ef3(0xbe)](_0x3438ba=>_0x3438ba['QSid']===_0x49dbdb[_0x3c7ef3(0x81)]());_0x49dbdb=parseInt(_0x49dbdb['toString']());let _0xb93d47=0x1;return _0xfaed43['xOXua'](_0x49dbdb,0xde)&&(_0xb93d47=0x2),_0x55e7e3[_0x3c7ef3(0xba)]&&(_0xb93d47=0x3),{'elementType':ElementType[_0x3c7ef3(0x9e)],'elementId':'','faceElement':{'faceIndex':_0x49dbdb,'faceType':_0xb93d47,'faceText':_0x55e7e3[_0x3c7ef3(0x8a)],'stickerId':_0x55e7e3[_0x3c7ef3(0xa5)],'stickerType':_0x55e7e3[_0x3c7ef3(0xba)],'packId':_0x55e7e3['AniStickerPackId'],'sourceType':0x1}};}static[_0x173afa(0x8c)](_0x3b18e0,_0x48fed3,_0x2aeea0,_0x53ce66){const _0x4125ff=_0x173afa,_0x2d93f9={'lGgyh':_0x4125ff(0xa1)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x3b18e0,'emojiId':_0x48fed3,'key':_0x2aeea0,'faceName':_0x53ce66||mFaceCache[_0x4125ff(0xa0)](_0x48fed3)||_0x2d93f9[_0x4125ff(0xac)]}};}static[_0x173afa(0xa2)](_0x142e0a){const _0x120865=_0x173afa;return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x120865(0xa2)],'faceType':FaceType['dice'],'faceText':_0x120865(0x89),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x173afa(0xc0)](_0x35068d){const _0x373ab3=_0x173afa;return{'elementType':ElementType[_0x373ab3(0x9e)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x373ab3(0x7d)],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x173afa(0x88)](_0x5514fb){const _0x292fdc=_0x173afa,_0x21cba6={'CbONM':function(_0x48cf5f,_0x19d8b1){return _0x48cf5f!==_0x19d8b1;},'qPAfZ':_0x292fdc(0x8d)};return _0x21cba6[_0x292fdc(0x82)](typeof _0x5514fb,_0x21cba6[_0x292fdc(0xa7)])&&(_0x5514fb=JSON[_0x292fdc(0x85)](_0x5514fb)),{'elementType':ElementType[_0x292fdc(0xd3)],'elementId':'','arkElement':{'bytesData':_0x5514fb,'linkInfo':null,'subElementType':null}};}static[_0x173afa(0xb8)](_0x17f405){const _0x9fc54e=_0x173afa;return{'elementType':ElementType[_0x9fc54e(0x9d)],'elementId':'','markdownElement':{'content':_0x17f405}};}static async[_0x173afa(0xbf)](){const _0x1965f9=_0x173afa,_0x5671ef={'StwDI':function(_0x508e63,_0x2ab001){return _0x508e63(_0x2ab001);},'VYyVA':_0x1965f9(0xc3),'zxIHf':_0x1965f9(0xa8),'cePLt':'https://www.bilibili.com/','ROfpO':_0x1965f9(0x99)};let _0x5662a4=await _0x5671ef['StwDI'](SignMiniApp,{'prompt':_0x5671ef['VYyVA'],'title':'Bot\x20Test','preview':_0x5671ef[_0x1965f9(0x83)],'jumpUrl':_0x5671ef[_0x1965f9(0x92)],'tag':_0x5671ef[_0x1965f9(0xad)],'tagIcon':_0x5671ef[_0x1965f9(0x9b)],'source':_0x5671ef['VYyVA'],'sourcelogo':_0x1965f9(0x99)});return{'elementType':ElementType[_0x1965f9(0xd3)],'elementId':'','arkElement':{'bytesData':_0x5662a4,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x4c376c=_0x4ae8;(function(_0x2a5c81,_0x524ff4){const _0x394b7a=_0x4ae8,_0x8270a7=_0x2a5c81();while(!![]){try{const _0x4d13e2=parseInt(_0x394b7a(0x19c))/0x1+parseInt(_0x394b7a(0x1ad))/0x2*(-parseInt(_0x394b7a(0x170))/0x3)+-parseInt(_0x394b7a(0x1a3))/0x4*(parseInt(_0x394b7a(0x1b2))/0x5)+-parseInt(_0x394b7a(0x175))/0x6+-parseInt(_0x394b7a(0x189))/0x7*(parseInt(_0x394b7a(0x1b1))/0x8)+-parseInt(_0x394b7a(0x158))/0x9+parseInt(_0x394b7a(0x1a0))/0xa*(parseInt(_0x394b7a(0x1b3))/0xb);if(_0x4d13e2===_0x524ff4)break;else _0x8270a7['push'](_0x8270a7['shift']());}catch(_0x1f8e5b){_0x8270a7['push'](_0x8270a7['shift']());}}}(_0x3499,0x41a72));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5dd3ab}from'node:fs';import _0x37859a 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 _0x3499(){const _0x5ec7da=['MARKDOWN','pTipf','VIDEO','VtmUz','string','emoji','catch','QEKCZ','6906BuqzDk','dice','Npwqa','USXYd','width','1495674GeNnTJ','stThm','QRSJe','MFACE','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','SwHNH','face','qqUaG','find','QDes','copyFile','ARK','Vziky','获取视频信息失败','语音转换失败,\x20请检查语音文件是否正常','ptt','stringify','QSid','UTFlq','PIC','7IqLbXP','time','mxDEb','MZduk','dirname','ZZrdj','gApVM','set','lXHuW','PNcld','error','PTT','文件异常,大小为0','join','[骰子]','[商城表情]','zoIsZ','FILE','AniStickerPackId','295084dxpixV','notAt','_0.png','lKsPI','14570mgMvkI','KYxXY','wzMda','4lTJxiA','YCLSq','jpg','REPLY','USskn','sep','AniStickerType','uploadFile','Bot\x20Test','height','192mLzBer','end','Ori','djzzs','1033080tcRUeA','2078305NEPQob','9933aGmtgR','getImageSize','caRbs','toString','2940966rZFtpX','pic','TEXT','size','file','https://www.bilibili.com/','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','AwoBN','replace','nItjL','XcgVi','sysface','kaisR','unlink','FACE','then'];_0x3499=function(){return _0x5ec7da;};return _0x3499();}import _0x31122b from'./face_config.json';import*as _0xc1049c from'node:path';function _0x4ae8(_0x75d879,_0x3b5186){const _0x3499d4=_0x3499();return _0x4ae8=function(_0x4ae869,_0x3ec659){_0x4ae869=_0x4ae869-0x157;let _0x4d7d8a=_0x3499d4[_0x4ae869];return _0x4d7d8a;},_0x4ae8(_0x75d879,_0x3b5186);}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0xbd02f7){const _0x451bb1=_0x4ae8;return{'elementType':ElementType[_0x451bb1(0x15a)],'elementId':'','textElement':{'content':_0xbd02f7,'atType':AtType[_0x451bb1(0x19d)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x308f16,_0x4ae941,_0x375a2c,_0xbc933e){const _0x566077=_0x4ae8;return{'elementType':ElementType[_0x566077(0x15a)],'elementId':'','textElement':{'content':'@'+_0xbc933e,'atType':_0x375a2c,'atUid':_0x308f16,'atTinyId':'','atNtUid':_0x4ae941}};}static['reply'](_0x571798,_0x4221a7,_0x21d89a,_0x453235){const _0x397a68=_0x4ae8;return{'elementType':ElementType[_0x397a68(0x1a6)],'elementId':'','replyElement':{'replayMsgSeq':_0x571798,'replayMsgId':_0x4221a7,'senderUin':_0x21d89a,'senderUinStr':_0x453235}};}static async[_0x4c376c(0x159)](_0x349551,_0x22b664='',_0x300715=0x0){const _0x320995=_0x4c376c,_0x7992e1={'mxDEb':function(_0x3415fc,_0x3def41){return _0x3415fc===_0x3def41;},'YCLSq':_0x320995(0x195),'XcgVi':function(_0x49e6b0,_0xa94d22){return _0x49e6b0(_0xa94d22);}},{md5:_0x593003,fileName:_0x539b4a,path:_0x764d2a,fileSize:_0x175c81}=await NTQQFileApi['uploadFile'](_0x349551,ElementType['PIC'],_0x300715);if(_0x7992e1[_0x320995(0x18b)](_0x175c81,0x0))throw _0x7992e1[_0x320995(0x1a4)];const _0xc3ef35=await NTQQFileApi[_0x320995(0x1b4)](_0x349551),_0x2dfa7b={'md5HexStr':_0x593003,'fileSize':_0x175c81[_0x320995(0x157)](),'picWidth':_0xc3ef35?.[_0x320995(0x174)],'picHeight':_0xc3ef35?.[_0x320995(0x1ac)],'fileName':_0x539b4a,'sourcePath':_0x764d2a,'original':!![],'picType':_0x7992e1[_0x320995(0x162)](isGIF,_0x349551)?PicType['gif']:PicType[_0x320995(0x1a5)],'picSubType':_0x300715,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x22b664};return{'elementType':ElementType[_0x320995(0x188)],'elementId':'','picElement':_0x2dfa7b};}static async[_0x4c376c(0x15c)](_0x24d309,_0x2937d1=''){const _0x2bf3e7=_0x4c376c,_0x3923={'Npwqa':function(_0x34022e,_0x4f84cc){return _0x34022e===_0x4f84cc;},'lKsPI':_0x2bf3e7(0x195),'SwHNH':function(_0x45d534,_0x3ef806){return _0x45d534||_0x3ef806;}},{md5:_0x2ec3ea,fileName:_0x6c539,path:_0x6a0269,fileSize:_0x52d82e}=await NTQQFileApi[_0x2bf3e7(0x1aa)](_0x24d309,ElementType['FILE']);if(_0x3923[_0x2bf3e7(0x172)](_0x52d82e,0x0))throw _0x3923[_0x2bf3e7(0x19f)];const _0x547062={'elementType':ElementType[_0x2bf3e7(0x19a)],'elementId':'','fileElement':{'fileName':_0x3923[_0x2bf3e7(0x17a)](_0x2937d1,_0x6c539),'filePath':_0x6a0269,'fileSize':_0x52d82e['toString']()}};return _0x547062;}static async['video'](_0x597df2,_0x58f261='',_0x180bcf=''){const _0x394226=_0x4c376c,_0x105279={'QRSJe':'获取视频封面失败,使用默认封面','MZduk':_0x394226(0x1ae),'AwoBN':function(_0xf2ee18,_0xa5ea4b){return _0xf2ee18+_0xa5ea4b;},'nItjL':function(_0x349cc1,_0x25864b){return _0x349cc1===_0x25864b;},'Vziky':_0x394226(0x195),'PNcld':function(_0x434d07,_0x393839){return _0x434d07(_0x393839);},'KYxXY':function(_0xf4d408,_0x416803,_0x3d684b){return _0xf4d408(_0x416803,_0x3d684b);},'UTFlq':_0x394226(0x182),'stThm':function(_0x55fb0b,_0x399352){return _0x55fb0b||_0x399352;},'gApVM':function(_0x167c21,_0x11bf86){return _0x167c21+_0x11bf86;}},{fileName:_0x25f506,path:_0xd3542d,fileSize:_0x16be27,md5:_0x130804}=await NTQQFileApi[_0x394226(0x1aa)](_0x597df2,ElementType[_0x394226(0x16a)]);if(_0x105279[_0x394226(0x161)](_0x16be27,0x0))throw _0x105279[_0x394226(0x181)];let _0x225f8b=_0xd3542d[_0x394226(0x160)](_0xc1049c['sep']+_0x394226(0x1af)+_0xc1049c[_0x394226(0x1a8)],_0xc1049c['sep']+'Thumb'+_0xc1049c[_0x394226(0x1a8)]);_0x225f8b=_0xc1049c[_0x394226(0x18d)](_0x225f8b);let _0x5499d9={'width':0x780,'height':0x438,'time':0xf,'format':'mp4','size':_0x16be27,'filePath':_0x597df2};try{_0x5499d9=await _0x105279[_0x394226(0x192)](getVideoInfo,_0xd3542d);}catch(_0x334eab){_0x105279[_0x394226(0x1a1)](logError,_0x105279[_0x394226(0x187)],_0x334eab);}const _0x1bedf1=new Promise((_0x189493,_0x233eac)=>{const _0x371f3a=_0x394226,_0x41dc74={'qqUaG':function(_0x42af3f,_0x2b0a0f){return _0x42af3f(_0x2b0a0f);},'caRbs':_0x105279[_0x371f3a(0x177)]},_0x84c09=_0x130804+_0x371f3a(0x19e),_0x4545a6=_0xc1049c[_0x371f3a(0x196)](_0x225f8b,_0x84c09);_0x37859a(_0x597df2)['on'](_0x105279[_0x371f3a(0x18c)],()=>{})['on'](_0x371f3a(0x193),_0xa951d=>{const _0x5de922=_0x371f3a;logDebug(_0x41dc74[_0x5de922(0x1b5)],_0xa951d),_0x180bcf?_0x5dd3ab[_0x5de922(0x17f)](_0x180bcf,_0x4545a6)[_0x5de922(0x167)](()=>{const _0x53ebcd=_0x5de922;_0x41dc74[_0x53ebcd(0x17c)](_0x189493,_0x4545a6);})[_0x5de922(0x16e)](_0x233eac):_0x5dd3ab['writeFile'](_0x4545a6,defaultVideoThumb)[_0x5de922(0x167)](()=>{_0x189493(_0x4545a6);})[_0x5de922(0x16e)](_0x233eac);})['screenshots']({'timestamps':[0x0],'filename':_0x84c09,'folder':_0x225f8b,'size':_0x105279[_0x371f3a(0x15f)](_0x5499d9['width'],'x')+_0x5499d9[_0x371f3a(0x1ac)]})['on'](_0x371f3a(0x1ae),()=>{_0x189493(_0x4545a6);});}),_0x4ed22d=new Map(),_0x6780df=await _0x1bedf1,_0x352518=(await _0x5dd3ab['stat'](_0x6780df))[_0x394226(0x15b)];_0x4ed22d[_0x394226(0x190)](0x0,_0x6780df);const _0x34b918=await _0x105279[_0x394226(0x192)](calculateFileMD5,_0x6780df),_0x3a215a={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x105279[_0x394226(0x176)](_0x58f261,_0x25f506),'filePath':_0xd3542d,'videoMd5':_0x130804,'thumbMd5':_0x34b918,'fileTime':_0x5499d9[_0x394226(0x18a)],'thumbPath':_0x4ed22d,'thumbSize':_0x352518,'thumbWidth':_0x5499d9['width'],'thumbHeight':_0x5499d9[_0x394226(0x1ac)],'fileSize':_0x105279[_0x394226(0x18f)]('',_0x16be27)}};return _0x3a215a;}static async[_0x4c376c(0x184)](_0x107fa9){const _0x130a2f=_0x4c376c,_0xd0082c={'djzzs':function(_0x216e6d,_0x305b1d){return _0x216e6d(_0x305b1d);},'xEeSg':_0x130a2f(0x183),'VtmUz':function(_0xee453f,_0x444065){return _0xee453f===_0x444065;},'ZZrdj':_0x130a2f(0x195),'lXHuW':function(_0x391e1a,_0x8f1e13){return _0x391e1a||_0x8f1e13;}},{converted:_0x6c9198,path:_0x7f934b,duration:_0x31e5db}=await _0xd0082c[_0x130a2f(0x1b0)](encodeSilk,_0x107fa9);if(!_0x7f934b)throw _0xd0082c['xEeSg'];const {md5:_0x5520ed,fileName:_0x215e4a,path:_0x224f8d,fileSize:_0x267086}=await NTQQFileApi[_0x130a2f(0x1aa)](_0x7f934b,ElementType[_0x130a2f(0x194)]);if(_0xd0082c[_0x130a2f(0x16b)](_0x267086,0x0))throw _0xd0082c[_0x130a2f(0x18e)];return _0x6c9198&&_0x5dd3ab[_0x130a2f(0x165)](_0x7f934b)[_0x130a2f(0x167)](),{'elementType':ElementType[_0x130a2f(0x194)],'elementId':'','pttElement':{'fileName':_0x215e4a,'filePath':_0x224f8d,'md5HexStr':_0x5520ed,'fileSize':_0x267086,'duration':_0xd0082c[_0x130a2f(0x191)](_0x31e5db,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[_0x4c376c(0x17b)](_0x340e19){const _0x1fae96=_0x4c376c,_0x41d5f1={'ZNAzq':function(_0x454d4b,_0x3d2561){return _0x454d4b(_0x3d2561);},'USXYd':function(_0x5444c5,_0x527987){return _0x5444c5>=_0x527987;}},_0x36847d=_0x31122b[_0x1fae96(0x163)],_0x4e61f7=_0x31122b[_0x1fae96(0x16d)],_0x750918=_0x36847d[_0x1fae96(0x17d)](_0x4b1bec=>_0x4b1bec[_0x1fae96(0x186)]===_0x340e19[_0x1fae96(0x157)]());_0x340e19=_0x41d5f1['ZNAzq'](parseInt,_0x340e19[_0x1fae96(0x157)]());let _0x17fa1b=0x1;return _0x41d5f1[_0x1fae96(0x173)](_0x340e19,0xde)&&(_0x17fa1b=0x2),_0x750918['AniStickerType']&&(_0x17fa1b=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x340e19,'faceType':_0x17fa1b,'faceText':_0x750918[_0x1fae96(0x17e)],'stickerId':_0x750918['AniStickerId'],'stickerType':_0x750918[_0x1fae96(0x1a9)],'packId':_0x750918[_0x1fae96(0x19b)],'sourceType':0x1}};}static['mface'](_0x823f69,_0x2c93fd,_0x1eb02e,_0x1f9f7a){const _0x519a85=_0x4c376c,_0x52141d={'QEKCZ':_0x519a85(0x198)};return{'elementType':ElementType[_0x519a85(0x178)],'marketFaceElement':{'emojiPackageId':_0x823f69,'emojiId':_0x2c93fd,'key':_0x1eb02e,'faceName':_0x1f9f7a||mFaceCache['get'](_0x2c93fd)||_0x52141d[_0x519a85(0x16f)]}};}static['dice'](_0x5546a5){const _0x18d323=_0x4c376c,_0x1d6392={'USskn':_0x18d323(0x197)};return{'elementType':ElementType[_0x18d323(0x166)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x18d323(0x171)],'faceType':FaceType['dice'],'faceText':_0x1d6392[_0x18d323(0x1a7)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x135192){const _0x42edb7=_0x4c376c,_0x3af444={'pTipf':'[包剪锤]'};return{'elementType':ElementType[_0x42edb7(0x166)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x3af444[_0x42edb7(0x169)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x11ecdf){const _0x18fd94=_0x4c376c,_0x15bd05={'wzMda':function(_0x1fbd74,_0x4d93e5){return _0x1fbd74!==_0x4d93e5;}};return _0x15bd05[_0x18fd94(0x1a2)](typeof _0x11ecdf,_0x18fd94(0x16c))&&(_0x11ecdf=JSON[_0x18fd94(0x185)](_0x11ecdf)),{'elementType':ElementType[_0x18fd94(0x180)],'elementId':'','arkElement':{'bytesData':_0x11ecdf,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x5ce503){const _0x1e9ee0=_0x4c376c;return{'elementType':ElementType[_0x1e9ee0(0x168)],'elementId':'','markdownElement':{'content':_0x5ce503}};}static async['miniapp'](){const _0xbe2f13=_0x4c376c,_0x19b30a={'OeIsP':_0xbe2f13(0x1ab),'kaisR':_0xbe2f13(0x15d),'zoIsZ':_0xbe2f13(0x179)};let _0x1a90fb=await SignMiniApp({'prompt':_0x19b30a['OeIsP'],'title':_0x19b30a['OeIsP'],'preview':_0xbe2f13(0x15e),'jumpUrl':_0x19b30a[_0xbe2f13(0x164)],'tag':_0x19b30a['OeIsP'],'tagIcon':_0x19b30a[_0xbe2f13(0x199)],'source':_0x19b30a['OeIsP'],'sourcelogo':_0xbe2f13(0x179)});return{'elementType':ElementType[_0xbe2f13(0x180)],'elementId':'','arkElement':{'bytesData':_0x1a90fb,'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 dac4a88b..3a6359f0 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x47ea7,_0x615584){var _0x2fcf1b=_0x1fe6,_0xbcbb46=_0x47ea7();while(!![]){try{var _0x4770ce=parseInt(_0x2fcf1b(0x90))/0x1+-parseInt(_0x2fcf1b(0x8c))/0x2+parseInt(_0x2fcf1b(0x89))/0x3+parseInt(_0x2fcf1b(0x8e))/0x4+-parseInt(_0x2fcf1b(0x92))/0x5*(-parseInt(_0x2fcf1b(0x88))/0x6)+parseInt(_0x2fcf1b(0x8a))/0x7+-parseInt(_0x2fcf1b(0x91))/0x8*(parseInt(_0x2fcf1b(0x94))/0x9);if(_0x4770ce===_0x615584)break;else _0xbcbb46['push'](_0xbcbb46['shift']());}catch(_0x24ced3){_0xbcbb46['push'](_0xbcbb46['shift']());}}}(_0x3027,0xc65aa));function _0x1fe6(_0x390948,_0x38eb27){var _0x3027b6=_0x3027();return _0x1fe6=function(_0x1fe64a,_0x4d90e5){_0x1fe64a=_0x1fe64a-0x87;var _0x264c42=_0x3027b6[_0x1fe64a];return _0x264c42;},_0x1fe6(_0x390948,_0x38eb27);}export var GroupMemberRole;function _0x3027(){var _0x2d7c64=['owner','2027304ZeJBoU','4058124IocVxH','5436781zgpwjn','WMXwQ','3241482gNeCwP','ZaTfq','1085176oTPRLC','cTFga','444975nvOPlK','2000920aYmzCI','5TDCmgT','normal','27ZlYhYs','admin'];_0x3027=function(){return _0x2d7c64;};return _0x3027();}(function(_0x1a1243){var _0x234594=_0x1fe6,_0x1d1ea8={'WMXwQ':_0x234594(0x93),'cTFga':_0x234594(0x95),'ZaTfq':_0x234594(0x87)};_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8b)]]=0x2]=_0x234594(0x93),_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8f)]]=0x3]=_0x1d1ea8[_0x234594(0x8f)],_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8d)]]=0x4]='owner';}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x28f620,_0x2ac53f){var _0x5e31fb=_0x3459,_0x3ffa6e=_0x28f620();while(!![]){try{var _0x18ff29=-parseInt(_0x5e31fb(0xef))/0x1*(parseInt(_0x5e31fb(0xe6))/0x2)+parseInt(_0x5e31fb(0xea))/0x3+parseInt(_0x5e31fb(0xf1))/0x4+-parseInt(_0x5e31fb(0xec))/0x5+-parseInt(_0x5e31fb(0xee))/0x6+-parseInt(_0x5e31fb(0xf0))/0x7*(-parseInt(_0x5e31fb(0xe9))/0x8)+parseInt(_0x5e31fb(0xeb))/0x9;if(_0x18ff29===_0x2ac53f)break;else _0x3ffa6e['push'](_0x3ffa6e['shift']());}catch(_0x2c7f71){_0x3ffa6e['push'](_0x3ffa6e['shift']());}}}(_0x104f,0xd7874));export var GroupMemberRole;function _0x104f(){var _0x45b890=['21902076siBzSE','3176075IzeEfB','lkTzd','10210230QtqtTT','89742SluPYx','1330007GQDzvu','3999804tBzsPX','28bEbWmo','iKurL','admin','32dTdPmT','847779IwnMCy'];_0x104f=function(){return _0x45b890;};return _0x104f();}function _0x3459(_0x1f5296,_0x2f76b9){var _0x104fb5=_0x104f();return _0x3459=function(_0x345959,_0x2110cf){_0x345959=_0x345959-0xe6;var _0x218c69=_0x104fb5[_0x345959];return _0x218c69;},_0x3459(_0x1f5296,_0x2f76b9);}(function(_0x556723){var _0x4bf129=_0x3459,_0x5aa9ef={'vfxSZ':'normal','iKurL':_0x4bf129(0xe8),'lkTzd':'owner'};_0x556723[_0x556723['normal']=0x2]=_0x5aa9ef['vfxSZ'],_0x556723[_0x556723[_0x5aa9ef[_0x4bf129(0xe7)]]=0x3]=_0x5aa9ef[_0x4bf129(0xe7)],_0x556723[_0x556723[_0x5aa9ef[_0x4bf129(0xed)]]=0x4]=_0x5aa9ef[_0x4bf129(0xed)];}(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 2f104747..7e7222a4 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x4f55b6,_0x31914f){var _0x571f44=_0x48d8,_0x5a1005=_0x4f55b6();while(!![]){try{var _0x3039c3=-parseInt(_0x571f44(0x1a6))/0x1*(parseInt(_0x571f44(0x1a4))/0x2)+parseInt(_0x571f44(0x1a2))/0x3*(parseInt(_0x571f44(0x1a1))/0x4)+-parseInt(_0x571f44(0x19f))/0x5+parseInt(_0x571f44(0x1a5))/0x6+parseInt(_0x571f44(0x1a3))/0x7+-parseInt(_0x571f44(0x1a7))/0x8+parseInt(_0x571f44(0x1a0))/0x9;if(_0x3039c3===_0x31914f)break;else _0x5a1005['push'](_0x5a1005['shift']());}catch(_0x27a3d7){_0x5a1005['push'](_0x5a1005['shift']());}}}(_0x4987,0x586d2));export*from'./user';function _0x4987(){var _0x48d492=['3409712VpjpKM','1411480NAQryD','8477919Qheyob','4bzMyxF','705531AqoFOe','284151MagfXx','6CfQCOY','1511460arJbLt','132989nZqIFI'];_0x4987=function(){return _0x48d492;};return _0x4987();}export*from'./group';export*from'./msg';function _0x48d8(_0x5ca237,_0x548dbc){var _0x498788=_0x4987();return _0x48d8=function(_0x48d8cd,_0x15c216){_0x48d8cd=_0x48d8cd-0x19f;var _0x106d11=_0x498788[_0x48d8cd];return _0x106d11;},_0x48d8(_0x5ca237,_0x548dbc);}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x4d2445,_0x5e432e){var _0x236581=_0x47fa,_0x2d0ba0=_0x4d2445();while(!![]){try{var _0x2c42cd=parseInt(_0x236581(0x111))/0x1+-parseInt(_0x236581(0x10f))/0x2*(parseInt(_0x236581(0x115))/0x3)+-parseInt(_0x236581(0x114))/0x4*(parseInt(_0x236581(0x113))/0x5)+-parseInt(_0x236581(0x110))/0x6+-parseInt(_0x236581(0x112))/0x7+-parseInt(_0x236581(0x10e))/0x8*(-parseInt(_0x236581(0x10c))/0x9)+parseInt(_0x236581(0x10d))/0xa;if(_0x2c42cd===_0x5e432e)break;else _0x2d0ba0['push'](_0x2d0ba0['shift']());}catch(_0x2250b5){_0x2d0ba0['push'](_0x2d0ba0['shift']());}}}(_0x213c,0x48899));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x47fa(_0x48a54e,_0x4f4d9b){var _0x213cdf=_0x213c();return _0x47fa=function(_0x47fa9f,_0x565b32){_0x47fa9f=_0x47fa9f-0x10c;var _0x56b0e2=_0x213cdf[_0x47fa9f];return _0x56b0e2;},_0x47fa(_0x48a54e,_0x4f4d9b);}function _0x213c(){var _0x508e7c=['10692680khLZiC','707288owvIEb','126LMPWqk','2145336cSZVNW','111852jklTao','3363136RyJPqg','5zOdiPN','880136FTlwOF','8553zITMMf','36snzmyU'];_0x213c=function(){return _0x508e7c;};return _0x213c();}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 5c4258f6..0ca8d796 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x30156e=_0xa76c;(function(_0x27dea2,_0x308e0b){var _0x215a41=_0xa76c,_0x406047=_0x27dea2();while(!![]){try{var _0x2b378c=-parseInt(_0x215a41(0x18b))/0x1+parseInt(_0x215a41(0x176))/0x2*(-parseInt(_0x215a41(0x17a))/0x3)+parseInt(_0x215a41(0x172))/0x4*(parseInt(_0x215a41(0x171))/0x5)+parseInt(_0x215a41(0x182))/0x6+parseInt(_0x215a41(0x18e))/0x7+parseInt(_0x215a41(0x156))/0x8+parseInt(_0x215a41(0x173))/0x9*(-parseInt(_0x215a41(0x193))/0xa);if(_0x2b378c===_0x308e0b)break;else _0x406047['push'](_0x406047['shift']());}catch(_0x14605d){_0x406047['push'](_0x406047['shift']());}}}(_0x52f0,0x4f6d6));function _0x52f0(){var _0x2e1ef4=['3825896DMzQgO','mmFpl','jpg','PTT','ban','JpsFe','FvLNL','DfoRb','LPoMG','tzGwN','vnbeo','CrzFX','LoJJP','FILE','TEXT','normal2','PIC','MFACE','TsSNo','notAt','RPS','FACE','atAll','zHpNH','Jrdif','DePIy','https://multimedia.nt.qq.com.cn','54125ThhNbD','200eOEyap','11055537eLrDgu','OvTHG','lbgRH','8WpCtpV','INVITE_NEW_MEMBER','BTosA','wCvAP','330453tixpXW','face','VIDEO','bavLZ','SBKTa','VUkpd','gif','MEMBER_NEW_TITLE','3644688poedXb','vzPEA','SZZMn','ikBjO','friend','REPLY','kicked','VYDxr','chatDevice','126718vdrnQY','temp','KINez','3458798lThxHB','split','ozaRL','memberIncrease','atUser','10PCSYHB','wDuvo','normal','VLSfJ','ARK','dice','MARKDOWN'];_0x52f0=function(){return _0x2e1ef4;};return _0x52f0();}export var ElementType;(function(_0x3ffa77){var _0x164a0a=_0xa76c,_0x5e6ef9={'ZlIhq':'6|9|8|5|0|4|3|7|2|1','SBKTa':_0x164a0a(0x17c),'zHpNH':_0x164a0a(0x199),'DfoRb':_0x164a0a(0x187),'ikBjO':_0x164a0a(0x16b),'bavLZ':_0x164a0a(0x159),'Jrdif':_0x164a0a(0x164),'JpsFe':_0x164a0a(0x197),'wDuvo':_0x164a0a(0x163),'VLSfJ':_0x164a0a(0x166)},_0x2a77c1=_0x5e6ef9['ZlIhq'][_0x164a0a(0x18f)]('|'),_0xce9f25=0x0;while(!![]){switch(_0x2a77c1[_0xce9f25++]){case'0':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x17e)]]=0x5]=_0x5e6ef9[_0x164a0a(0x17e)];continue;case'1':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x16d)]]=0xe]=_0x164a0a(0x199);continue;case'2':_0x3ffa77[_0x3ffa77[_0x164a0a(0x167)]=0xb]=_0x164a0a(0x167);continue;case'3':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x15d)]]=0x7]=_0x5e6ef9[_0x164a0a(0x15d)];continue;case'4':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x185)]]=0x6]=_0x164a0a(0x16b);continue;case'5':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x17d)]]=0x4]=_0x5e6ef9[_0x164a0a(0x17d)];continue;case'6':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x16e)]]=0x1]=_0x164a0a(0x164);continue;case'7':_0x3ffa77[_0x3ffa77[_0x5e6ef9['JpsFe']]=0xa]=_0x5e6ef9[_0x164a0a(0x15b)];continue;case'8':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x194)]]=0x3]=_0x5e6ef9[_0x164a0a(0x194)];continue;case'9':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x196)]]=0x2]=_0x5e6ef9['VLSfJ'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2bd409){var _0x555066=_0xa76c,_0x53e266={'lbgRH':_0x555066(0x180),'TsSNo':_0x555066(0x158)};_0x2bd409[_0x2bd409['gif']=0x7d0]=_0x53e266[_0x555066(0x175)],_0x2bd409[_0x2bd409[_0x53e266[_0x555066(0x168)]]=0x3e8]=_0x53e266[_0x555066(0x168)];}(PicType||(PicType={})));export var PicSubType;function _0xa76c(_0x4468c0,_0x346cb6){var _0x52f09a=_0x52f0();return _0xa76c=function(_0xa76cb1,_0x52a1c5){_0xa76cb1=_0xa76cb1-0x156;var _0x56ae6b=_0x52f09a[_0xa76cb1];return _0x56ae6b;},_0xa76c(_0x4468c0,_0x346cb6);}(function(_0x6d2056){var _0x2cdb98=_0xa76c,_0x5aa3ff={'VUkpd':_0x2cdb98(0x195),'BTosA':_0x2cdb98(0x17b)};_0x6d2056[_0x6d2056['normal']=0x0]=_0x5aa3ff[_0x2cdb98(0x17f)],_0x6d2056[_0x6d2056[_0x5aa3ff[_0x2cdb98(0x178)]]=0x1]=_0x5aa3ff['BTosA'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x567d1a){var _0x11d12c=_0xa76c,_0x575366={'wCvAP':_0x11d12c(0x169),'DePIy':_0x11d12c(0x16c),'FvLNL':_0x11d12c(0x192)};_0x567d1a[_0x567d1a[_0x11d12c(0x169)]=0x0]=_0x575366[_0x11d12c(0x179)],_0x567d1a[_0x567d1a[_0x575366[_0x11d12c(0x16f)]]=0x1]=_0x575366[_0x11d12c(0x16f)],_0x567d1a[_0x567d1a[_0x575366[_0x11d12c(0x15c)]]=0x2]=_0x575366['FvLNL'];}(AtType||(AtType={})));export var ChatType;(function(_0x1712f0){var _0x5d8b69=_0xa76c,_0x58d2e6={'SZZMn':_0x5d8b69(0x186),'VYDxr':'group','LPoMG':_0x5d8b69(0x18a),'LoJJP':_0x5d8b69(0x18c)};_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x184)]]=0x1]=_0x58d2e6[_0x5d8b69(0x184)],_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x189)]]=0x2]=_0x58d2e6[_0x5d8b69(0x189)],_0x1712f0[_0x1712f0[_0x58d2e6['LPoMG']]=0x8]=_0x58d2e6[_0x5d8b69(0x15e)],_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x162)]]=0x64]=_0x58d2e6[_0x5d8b69(0x162)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x30156e(0x170);export var GrayTipElementSubType;(function(_0x577195){var _0x5ee983=_0x30156e,_0x1b01ec={'tzGwN':_0x5ee983(0x181)};_0x577195[_0x577195[_0x5ee983(0x177)]=0xc]=_0x5ee983(0x177),_0x577195[_0x577195[_0x1b01ec[_0x5ee983(0x15f)]]=0x11]=_0x1b01ec[_0x5ee983(0x15f)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4c6b07){var _0x5a4ec4=_0x30156e,_0x34e22f={'OIZzl':_0x5a4ec4(0x195),'mmFpl':_0x5a4ec4(0x165),'CrzFX':_0x5a4ec4(0x198)};_0x4c6b07[_0x4c6b07[_0x34e22f['OIZzl']]=0x1]=_0x5a4ec4(0x195),_0x4c6b07[_0x4c6b07[_0x34e22f['mmFpl']]=0x2]=_0x34e22f[_0x5a4ec4(0x157)],_0x4c6b07[_0x4c6b07[_0x5a4ec4(0x198)]=0x3]=_0x34e22f[_0x5a4ec4(0x161)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x62d9cb){var _0x2c699a=_0x30156e,_0x54170={'KINez':_0x2c699a(0x198),'OvTHG':_0x2c699a(0x16a)};_0x62d9cb[_0x62d9cb[_0x2c699a(0x198)]=0x166]=_0x54170[_0x2c699a(0x18d)],_0x62d9cb[_0x62d9cb[_0x54170[_0x2c699a(0x174)]]=0x167]=_0x2c699a(0x16a);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x455bc8){var _0x586f2b=_0x30156e,_0x40f8a4={'vnbeo':_0x586f2b(0x191),'vzPEA':_0x586f2b(0x188),'ozaRL':_0x586f2b(0x15a)};_0x455bc8[_0x455bc8[_0x40f8a4['vnbeo']]=0x1]=_0x40f8a4[_0x586f2b(0x160)],_0x455bc8[_0x455bc8[_0x40f8a4['vzPEA']]=0x3]=_0x40f8a4[_0x586f2b(0x183)],_0x455bc8[_0x455bc8[_0x40f8a4[_0x586f2b(0x190)]]=0x8]=_0x586f2b(0x15a);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x150b90=_0x22c4;(function(_0x3bfcde,_0x4aac12){var _0x406289=_0x22c4,_0x43c870=_0x3bfcde();while(!![]){try{var _0x40ecf2=parseInt(_0x406289(0x8f))/0x1*(parseInt(_0x406289(0x97))/0x2)+-parseInt(_0x406289(0x93))/0x3*(parseInt(_0x406289(0xbd))/0x4)+parseInt(_0x406289(0x96))/0x5+parseInt(_0x406289(0xa8))/0x6+-parseInt(_0x406289(0xac))/0x7*(-parseInt(_0x406289(0xb0))/0x8)+-parseInt(_0x406289(0xb8))/0x9+parseInt(_0x406289(0x9d))/0xa*(parseInt(_0x406289(0xb3))/0xb);if(_0x40ecf2===_0x4aac12)break;else _0x43c870['push'](_0x43c870['shift']());}catch(_0x36614d){_0x43c870['push'](_0x43c870['shift']());}}}(_0x6eab,0xc0385));export var ElementType;(function(_0x342b7c){var _0x41ab98=_0x22c4,_0xddf9fa={'KXEsg':'TEXT','qLjhq':_0x41ab98(0xb1),'yyDzb':'FILE','GaBWL':_0x41ab98(0xc5),'ijSfq':'VIDEO','fMNzZ':'FACE','OmRkg':_0x41ab98(0xa2),'QbfCj':_0x41ab98(0xc6),'fgqkK':_0x41ab98(0xa5),'DGhNp':_0x41ab98(0xc8)};_0x342b7c[_0x342b7c[_0xddf9fa['KXEsg']]=0x1]=_0xddf9fa[_0x41ab98(0xc3)],_0x342b7c[_0x342b7c[_0x41ab98(0xb1)]=0x2]=_0xddf9fa[_0x41ab98(0x95)],_0x342b7c[_0x342b7c[_0xddf9fa['yyDzb']]=0x3]=_0xddf9fa['yyDzb'],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xbe)]]=0x4]=_0xddf9fa[_0x41ab98(0xbe)],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xb4)]]=0x5]=_0xddf9fa[_0x41ab98(0xb4)],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xaf)]]=0x6]=_0xddf9fa[_0x41ab98(0xaf)],_0x342b7c[_0x342b7c[_0xddf9fa['OmRkg']]=0x7]=_0xddf9fa['OmRkg'],_0x342b7c[_0x342b7c[_0x41ab98(0xc6)]=0xa]=_0xddf9fa[_0x41ab98(0x91)],_0x342b7c[_0x342b7c[_0xddf9fa['fgqkK']]=0xb]=_0xddf9fa[_0x41ab98(0xae)],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xc0)]]=0xe]=_0xddf9fa[_0x41ab98(0xc0)];}(ElementType||(ElementType={})));export var PicType;(function(_0xdc8f0f){var _0x3d693d=_0x22c4,_0x4dc1ac={'SDvsV':'gif','XYAGr':_0x3d693d(0x98)};_0xdc8f0f[_0xdc8f0f[_0x4dc1ac[_0x3d693d(0xc2)]]=0x7d0]=_0x4dc1ac['SDvsV'],_0xdc8f0f[_0xdc8f0f[_0x4dc1ac[_0x3d693d(0xad)]]=0x3e8]=_0x3d693d(0x98);}(PicType||(PicType={})));export var PicSubType;(function(_0x4ba749){var _0x3612ea=_0x22c4,_0x76fcbf={'arTzc':_0x3612ea(0x9c),'rqbfH':_0x3612ea(0xbc)};_0x4ba749[_0x4ba749[_0x76fcbf['arTzc']]=0x0]=_0x76fcbf[_0x3612ea(0x8e)],_0x4ba749[_0x4ba749['face']=0x1]=_0x76fcbf['rqbfH'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x860cbb){var _0x493f27=_0x22c4,_0x47ade2={'iNNxa':_0x493f27(0xab),'jXdWD':'atAll','vtlZo':_0x493f27(0x90)};_0x860cbb[_0x860cbb[_0x47ade2[_0x493f27(0xba)]]=0x0]='notAt',_0x860cbb[_0x860cbb[_0x47ade2[_0x493f27(0x9e)]]=0x1]=_0x493f27(0xbb),_0x860cbb[_0x860cbb[_0x47ade2['vtlZo']]=0x2]=_0x47ade2[_0x493f27(0xa3)];}(AtType||(AtType={})));export var ChatType;(function(_0x291fbe){var _0x4c59da=_0x22c4,_0x5e6fb5={'JmAJo':_0x4c59da(0xb5),'PetYf':'group','AyVbq':_0x4c59da(0xaa),'ieMhg':_0x4c59da(0xb2)};_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0x9f)]]=0x1]=_0x5e6fb5['JmAJo'],_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0x94)]]=0x2]=_0x5e6fb5[_0x4c59da(0x94)],_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0xbf)]]=0x8]=_0x5e6fb5[_0x4c59da(0xbf)],_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0xc1)]]=0x64]=_0x5e6fb5['ieMhg'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x150b90(0xc7);export const IMAGE_HTTP_HOST_NT=_0x150b90(0xa9);export var GrayTipElementSubType;(function(_0x587af1){var _0x167011=_0x150b90,_0x2215e5={'ccyWV':'INVITE_NEW_MEMBER','Yctso':_0x167011(0xa6)};_0x587af1[_0x587af1[_0x167011(0xa1)]=0xc]=_0x2215e5[_0x167011(0xb9)],_0x587af1[_0x587af1[_0x2215e5[_0x167011(0x99)]]=0x11]=_0x2215e5[_0x167011(0x99)];}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x22c4(_0x2ecb91,_0x1571ed){var _0x6eab5d=_0x6eab();return _0x22c4=function(_0x22c457,_0x1bcec){_0x22c457=_0x22c457-0x8e;var _0x56810f=_0x6eab5d[_0x22c457];return _0x56810f;},_0x22c4(_0x2ecb91,_0x1571ed);}export var FaceType;(function(_0x398466){var _0x459e11=_0x150b90,_0x1b6659={'pkgIU':'normal','dWUYv':_0x459e11(0xa0),'HbSPK':_0x459e11(0x9a)};_0x398466[_0x398466[_0x1b6659[_0x459e11(0xb6)]]=0x1]=_0x1b6659[_0x459e11(0xb6)],_0x398466[_0x398466[_0x459e11(0xa0)]=0x2]=_0x1b6659[_0x459e11(0xc4)],_0x398466[_0x398466[_0x1b6659['HbSPK']]=0x3]=_0x459e11(0x9a);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3c0e9b){var _0x3f4ef1=_0x150b90,_0x508f1a={'bmCtv':_0x3f4ef1(0x9a),'JQyoj':_0x3f4ef1(0xa4)};_0x3c0e9b[_0x3c0e9b[_0x508f1a[_0x3f4ef1(0x9b)]]=0x166]=_0x508f1a[_0x3f4ef1(0x9b)],_0x3c0e9b[_0x3c0e9b[_0x508f1a[_0x3f4ef1(0x92)]]=0x167]='RPS';}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x6eab(){var _0x11b6e0=['face','43592xzjgqc','GaBWL','AyVbq','DGhNp','ieMhg','SDvsV','KXEsg','dWUYv','PTT','ARK','https://gchat.qpic.cn','MARKDOWN','arTzc','1306121JCAJaP','atUser','QbfCj','JQyoj','174znFWKU','PetYf','qLjhq','419890dEcKpg','2IYSrBu','jpg','Yctso','dice','bmCtv','normal','2410bZGTnW','jXdWD','JmAJo','normal2','INVITE_NEW_MEMBER','REPLY','vtlZo','RPS','MFACE','MEMBER_NEW_TITLE','bYBLW','2349744xWxjmA','https://multimedia.nt.qq.com.cn','chatDevice','notAt','40894quvtNJ','XYAGr','fgqkK','fMNzZ','232cEEHHI','PIC','temp','31922tVHNts','ijSfq','friend','pkgIU','memberIncrease','11079954uFChON','ccyWV','iNNxa','atAll'];_0x6eab=function(){return _0x11b6e0;};return _0x6eab();}(function(_0x3feaed){var _0x5ff8f0=_0x150b90,_0x37a1c1={'KCpyZ':_0x5ff8f0(0xb7),'mWGMI':'kicked','bYBLW':'ban'};_0x3feaed[_0x3feaed[_0x5ff8f0(0xb7)]=0x1]=_0x37a1c1['KCpyZ'],_0x3feaed[_0x3feaed[_0x37a1c1['mWGMI']]=0x3]=_0x37a1c1['mWGMI'],_0x3feaed[_0x3feaed[_0x37a1c1[_0x5ff8f0(0xa7)]]=0x8]=_0x37a1c1[_0x5ff8f0(0xa7)];}(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 4bedbe2d..cdbceb0d 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x54e5fe,_0x382a2e){var _0x15dd85=_0x4780,_0x1a1fa7=_0x54e5fe();while(!![]){try{var _0x5b692c=parseInt(_0x15dd85(0xeb))/0x1*(parseInt(_0x15dd85(0xda))/0x2)+parseInt(_0x15dd85(0xf0))/0x3*(-parseInt(_0x15dd85(0xfa))/0x4)+parseInt(_0x15dd85(0x100))/0x5*(-parseInt(_0x15dd85(0xe0))/0x6)+parseInt(_0x15dd85(0xdf))/0x7+-parseInt(_0x15dd85(0x101))/0x8*(-parseInt(_0x15dd85(0xf4))/0x9)+-parseInt(_0x15dd85(0xe2))/0xa*(parseInt(_0x15dd85(0xe6))/0xb)+parseInt(_0x15dd85(0xe1))/0xc*(-parseInt(_0x15dd85(0xdb))/0xd);if(_0x5b692c===_0x382a2e)break;else _0x1a1fa7['push'](_0x1a1fa7['shift']());}catch(_0x1be192){_0x1a1fa7['push'](_0x1a1fa7['shift']());}}}(_0x4c68,0x89101));function _0x4c68(){var _0x1f16dd=['8CwMsYi','6XgntSd','5339555JMvtjg','KICK_MEMBER','approve','WAIT_HANDLE','4996033sulzTn','9954oiHPun','12BNbOPS','992570kftWLX','DYfGS','split','reject','33GJIvGK','RmcZr','esvOO','sZJhG','FSaRv','243031gYvpqO','INVITE_ME','ADMIN_SET','MEMBER_EXIT','ADMIN_UNSET_OTHER','429YQvzUm','APPROVE','ADMIN_UNSET','FnoAC','7818489mjxbqY','mkpQW','BPOec','wyMuD','hMsqL','INVITED_JOIN','21108btTqhQ','SRQAA','IGNORE','JOIN_REQUEST','7|5|4|2|6|1|0|3','zTtYS','865JDsfsH'];_0x4c68=function(){return _0x1f16dd;};return _0x4c68();}export var GroupNotifyTypes;(function(_0x5d9214){var _0x436ce5=_0x4780,_0x44fca0={'ESxZR':_0x436ce5(0xfe),'SRQAA':_0x436ce5(0xf2),'FnoAC':_0x436ce5(0xee),'esvOO':_0x436ce5(0xed),'FSaRv':_0x436ce5(0xef),'UfZxw':'JOIN_REQUEST','hMsqL':_0x436ce5(0xf9),'sZJhG':_0x436ce5(0xdc),'wyMuD':_0x436ce5(0xec)},_0x3bc9a0=_0x44fca0['ESxZR'][_0x436ce5(0xe4)]('|'),_0x59262a=0x0;while(!![]){switch(_0x3bc9a0[_0x59262a++]){case'0':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xfb)]]=0xc]=_0x44fca0[_0x436ce5(0xfb)];continue;case'1':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf3)]]=0xb]=_0x44fca0[_0x436ce5(0xf3)];continue;case'2':_0x5d9214[_0x5d9214[_0x436ce5(0xed)]=0x8]=_0x44fca0[_0x436ce5(0xe8)];continue;case'3':_0x5d9214[_0x5d9214['ADMIN_UNSET_OTHER']=0xd]=_0x44fca0[_0x436ce5(0xea)];continue;case'4':_0x5d9214[_0x5d9214[_0x436ce5(0xfd)]=0x7]=_0x44fca0['UfZxw'];continue;case'5':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf8)]]=0x4]='INVITED_JOIN';continue;case'6':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xe9)]]=0x9]=_0x44fca0[_0x436ce5(0xe9)];continue;case'7':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf7)]]=0x1]=_0x44fca0['wyMuD'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4780(_0x1a2d49,_0x24cd8b){var _0x4c684a=_0x4c68();return _0x4780=function(_0x478063,_0x3dd5a2){_0x478063=_0x478063-0xda;var _0x42312e=_0x4c684a[_0x478063];return _0x42312e;},_0x4780(_0x1a2d49,_0x24cd8b);}export var GroupNotifyStatus;(function(_0xb9d825){var _0x5787bc=_0x4780,_0x2b38eb={'RmcZr':_0x5787bc(0xfc),'mkpQW':_0x5787bc(0xde),'DYfGS':_0x5787bc(0xf1),'NPmPa':'REJECT'};_0xb9d825[_0xb9d825[_0x5787bc(0xfc)]=0x0]=_0x2b38eb[_0x5787bc(0xe7)],_0xb9d825[_0xb9d825[_0x2b38eb[_0x5787bc(0xf5)]]=0x1]=_0x2b38eb[_0x5787bc(0xf5)],_0xb9d825[_0xb9d825[_0x2b38eb[_0x5787bc(0xe3)]]=0x2]=_0x5787bc(0xf1),_0xb9d825[_0xb9d825[_0x2b38eb['NPmPa']]=0x3]=_0x2b38eb['NPmPa'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x599d25){var _0x2f5b82=_0x4780,_0x17977a={'zTtYS':_0x2f5b82(0xdd),'BPOec':_0x2f5b82(0xe5)};_0x599d25[_0x599d25[_0x2f5b82(0xdd)]=0x1]=_0x17977a[_0x2f5b82(0xff)],_0x599d25[_0x599d25[_0x17977a[_0x2f5b82(0xf6)]]=0x2]=_0x2f5b82(0xe5);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x1a889d,_0x215237){var _0x90fb8d=_0x50cb,_0x3b46a8=_0x1a889d();while(!![]){try{var _0xbc09d8=-parseInt(_0x90fb8d(0x11d))/0x1*(parseInt(_0x90fb8d(0x115))/0x2)+-parseInt(_0x90fb8d(0x10d))/0x3*(parseInt(_0x90fb8d(0x101))/0x4)+-parseInt(_0x90fb8d(0x112))/0x5*(parseInt(_0x90fb8d(0x10e))/0x6)+-parseInt(_0x90fb8d(0x106))/0x7*(parseInt(_0x90fb8d(0x118))/0x8)+parseInt(_0x90fb8d(0x109))/0x9+parseInt(_0x90fb8d(0x11b))/0xa*(-parseInt(_0x90fb8d(0x110))/0xb)+parseInt(_0x90fb8d(0x116))/0xc;if(_0xbc09d8===_0x215237)break;else _0x3b46a8['push'](_0x3b46a8['shift']());}catch(_0x48a6f7){_0x3b46a8['push'](_0x3b46a8['shift']());}}}(_0x36dc,0xdc53a));export var GroupNotifyTypes;function _0x50cb(_0x16fe89,_0x3ebcd2){var _0x36dc6a=_0x36dc();return _0x50cb=function(_0x50cb04,_0x478313){_0x50cb04=_0x50cb04-0xff;var _0x5c51ac=_0x36dc6a[_0x50cb04];return _0x5c51ac;},_0x50cb(_0x16fe89,_0x3ebcd2);}(function(_0x106868){var _0x2ebcf1=_0x50cb,_0x4542fc={'SvUwd':_0x2ebcf1(0x103),'OxAjG':_0x2ebcf1(0x114),'OYXak':_0x2ebcf1(0x11a),'trwzH':_0x2ebcf1(0xff),'OdBpI':'KICK_MEMBER','OMOfL':'MEMBER_EXIT','YRbHI':_0x2ebcf1(0x105),'NiJtx':'ADMIN_UNSET_OTHER'};_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x11c)]]=0x1]=_0x4542fc[_0x2ebcf1(0x11c)],_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x108)]]=0x4]=_0x4542fc[_0x2ebcf1(0x108)],_0x106868[_0x106868[_0x4542fc['OYXak']]=0x7]=_0x4542fc['OYXak'],_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x111)]]=0x8]=_0x4542fc['trwzH'],_0x106868[_0x106868[_0x4542fc['OdBpI']]=0x9]='KICK_MEMBER',_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x11e)]]=0xb]=_0x4542fc[_0x2ebcf1(0x11e)],_0x106868[_0x106868[_0x4542fc['YRbHI']]=0xc]=_0x4542fc[_0x2ebcf1(0x113)],_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x100)]]=0xd]=_0x4542fc[_0x2ebcf1(0x100)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x36dc(){var _0x394e66=['YRbHI','INVITED_JOIN','149208NlNxFF','54644856NVilcO','RTemD','24GgEwld','APPROVE','JOIN_REQUEST','250uOUKyc','SvUwd','10uBHAhP','OMOfL','ADMIN_SET','NiJtx','4uEpZjo','BkuTG','INVITE_ME','REJECT','ADMIN_UNSET','3219146aaWpML','approve','OxAjG','15257547vNTLQo','IGNORE','reject','OmsXi','3917379rqzXEe','6GocPgj','WAIT_HANDLE','174031DmIFtP','trwzH','7597855TFpizD'];_0x36dc=function(){return _0x394e66;};return _0x36dc();}(function(_0x14f024){var _0x1ff73d=_0x50cb,_0x317d3c={'BkuTG':_0x1ff73d(0x10f),'oPwjB':'APPROVE'};_0x14f024[_0x14f024[_0x1ff73d(0x10a)]=0x0]='IGNORE',_0x14f024[_0x14f024[_0x317d3c['BkuTG']]=0x1]=_0x317d3c[_0x1ff73d(0x102)],_0x14f024[_0x14f024[_0x1ff73d(0x119)]=0x2]=_0x317d3c['oPwjB'],_0x14f024[_0x14f024[_0x1ff73d(0x104)]=0x3]='REJECT';}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x4343e3){var _0x18981e=_0x50cb,_0x381851={'OmsXi':_0x18981e(0x107),'RTemD':_0x18981e(0x10b)};_0x4343e3[_0x4343e3[_0x381851[_0x18981e(0x10c)]]=0x1]=_0x18981e(0x107),_0x4343e3[_0x4343e3[_0x381851[_0x18981e(0x117)]]=0x2]=_0x18981e(0x10b);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 59952411..94f4ecc1 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x3238b0,_0x2b2960){var _0x95aa18=_0x291d,_0x12046c=_0x3238b0();while(!![]){try{var _0x5ec39c=parseInt(_0x95aa18(0x9c))/0x1+parseInt(_0x95aa18(0x99))/0x2*(parseInt(_0x95aa18(0x97))/0x3)+-parseInt(_0x95aa18(0x95))/0x4*(-parseInt(_0x95aa18(0x9b))/0x5)+parseInt(_0x95aa18(0x93))/0x6*(-parseInt(_0x95aa18(0x98))/0x7)+-parseInt(_0x95aa18(0x96))/0x8+parseInt(_0x95aa18(0xa2))/0x9+parseInt(_0x95aa18(0x9a))/0xa*(-parseInt(_0x95aa18(0x94))/0xb);if(_0x5ec39c===_0x2b2960)break;else _0x12046c['push'](_0x12046c['shift']());}catch(_0x297319){_0x12046c['push'](_0x12046c['shift']());}}}(_0x3368,0xb8982));function _0x291d(_0x48247b,_0x13364a){var _0x3368c6=_0x3368();return _0x291d=function(_0x291dcc,_0x4baf5d){_0x291dcc=_0x291dcc-0x93;var _0x5cf6e5=_0x3368c6[_0x291dcc];return _0x5cf6e5;},_0x291d(_0x48247b,_0x13364a);}export var Sex;function _0x3368(){var _0x2caf66=['VGFYs','10854387HdBJqy','18282lkBUUI','165lvjLwH','1532TNbQEq','4757224VddTMU','3HfQSLH','259ZCqYBm','597042yiIdGu','984520qVcZKA','18235HNlaPs','38905CWRnxv','female','male','PIGXL','Vjpjd'];_0x3368=function(){return _0x2caf66;};return _0x3368();}(function(_0x297b42){var _0x318c86=_0x291d,_0x3fa2d0={'Vjpjd':_0x318c86(0x9e),'PIGXL':_0x318c86(0x9d),'VGFYs':'unknown'};_0x297b42[_0x297b42[_0x318c86(0x9e)]=0x1]=_0x3fa2d0[_0x318c86(0xa0)],_0x297b42[_0x297b42[_0x3fa2d0[_0x318c86(0x9f)]]=0x2]=_0x3fa2d0[_0x318c86(0x9f)],_0x297b42[_0x297b42[_0x3fa2d0[_0x318c86(0xa1)]]=0xff]=_0x3fa2d0[_0x318c86(0xa1)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x417ada,_0x261103){var _0x1a2dfd=_0x1fed,_0x17ab41=_0x417ada();while(!![]){try{var _0x290cae=parseInt(_0x1a2dfd(0x85))/0x1+parseInt(_0x1a2dfd(0x8a))/0x2+-parseInt(_0x1a2dfd(0x90))/0x3*(-parseInt(_0x1a2dfd(0x88))/0x4)+-parseInt(_0x1a2dfd(0x89))/0x5*(-parseInt(_0x1a2dfd(0x91))/0x6)+parseInt(_0x1a2dfd(0x8f))/0x7+-parseInt(_0x1a2dfd(0x86))/0x8+-parseInt(_0x1a2dfd(0x87))/0x9*(parseInt(_0x1a2dfd(0x8c))/0xa);if(_0x290cae===_0x261103)break;else _0x17ab41['push'](_0x17ab41['shift']());}catch(_0x1f292){_0x17ab41['push'](_0x17ab41['shift']());}}}(_0xc972,0xd8703));function _0xc972(){var _0x590938=['11173914RdXHHf','67476LYVDtY','4057585vHWlMq','869464qmutyn','male','20BkMdEt','unknown','TxdtM','4043102TGzroM','210sHdkmf','12MqCKfy','ExFLa','904025RSHkqi','10804672QRJpPJ'];_0xc972=function(){return _0x590938;};return _0xc972();}export var Sex;function _0x1fed(_0x3810d8,_0x3daa8b){var _0xc97229=_0xc972();return _0x1fed=function(_0x1feddd,_0x57c1cf){_0x1feddd=_0x1feddd-0x85;var _0x3dccdd=_0xc97229[_0x1feddd];return _0x3dccdd;},_0x1fed(_0x3810d8,_0x3daa8b);}(function(_0x2bc578){var _0x5aa2da=_0x1fed,_0x439a0d={'ExFLa':_0x5aa2da(0x8b),'IeMxd':'female','TxdtM':_0x5aa2da(0x8d)};_0x2bc578[_0x2bc578[_0x439a0d['ExFLa']]=0x1]=_0x439a0d[_0x5aa2da(0x92)],_0x2bc578[_0x2bc578[_0x439a0d['IeMxd']]=0x2]='female',_0x2bc578[_0x2bc578[_0x439a0d['TxdtM']]=0xff]=_0x439a0d[_0x5aa2da(0x8e)];}(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 b1cd737a..7bc63927 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x203930,_0x4feede){var _0x827b9b=_0x4e1d,_0x1e5f63=_0x203930();while(!![]){try{var _0x20d07e=parseInt(_0x827b9b(0x1d7))/0x1+parseInt(_0x827b9b(0x1d5))/0x2*(-parseInt(_0x827b9b(0x1d3))/0x3)+-parseInt(_0x827b9b(0x1d9))/0x4+-parseInt(_0x827b9b(0x1d4))/0x5*(parseInt(_0x827b9b(0x1db))/0x6)+parseInt(_0x827b9b(0x1dd))/0x7*(parseInt(_0x827b9b(0x1d8))/0x8)+-parseInt(_0x827b9b(0x1d6))/0x9+parseInt(_0x827b9b(0x1da))/0xa*(parseInt(_0x827b9b(0x1dc))/0xb);if(_0x20d07e===_0x4feede)break;else _0x1e5f63['push'](_0x1e5f63['shift']());}catch(_0x3e18bf){_0x1e5f63['push'](_0x1e5f63['shift']());}}}(_0x4475,0xee377));import _0x1a2eb7 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1a2eb7 as Wrapper};function _0x4475(){var _0x23a7a9=['4090004suroYd','3156870OSmIPg','2070yRdbtj','33Ygiccc','28iIUvNl','6mCmOsB','8130iolLOb','274118SoJlFr','4433472pJbsKm','1267439hbtveV','2222864omUtRh'];_0x4475=function(){return _0x23a7a9;};return _0x4475();}export*as WrapperInterface from'./wrapper';function _0x4e1d(_0x43864e,_0xae9152){var _0x447577=_0x4475();return _0x4e1d=function(_0x4e1d66,_0x11b9bd){_0x4e1d66=_0x4e1d66-0x1d3;var _0x4c8b21=_0x447577[_0x4e1d66];return _0x4c8b21;},_0x4e1d(_0x43864e,_0xae9152);}export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x315f72,_0x485448){var _0x5f5400=_0x205a,_0x495cdf=_0x315f72();while(!![]){try{var _0x4820a1=-parseInt(_0x5f5400(0xc4))/0x1*(-parseInt(_0x5f5400(0xc1))/0x2)+-parseInt(_0x5f5400(0xbd))/0x3*(-parseInt(_0x5f5400(0xbe))/0x4)+parseInt(_0x5f5400(0xc2))/0x5+-parseInt(_0x5f5400(0xbf))/0x6*(parseInt(_0x5f5400(0xc3))/0x7)+parseInt(_0x5f5400(0xba))/0x8*(-parseInt(_0x5f5400(0xc0))/0x9)+-parseInt(_0x5f5400(0xc5))/0xa*(parseInt(_0x5f5400(0xbc))/0xb)+parseInt(_0x5f5400(0xc6))/0xc*(parseInt(_0x5f5400(0xbb))/0xd);if(_0x4820a1===_0x485448)break;else _0x495cdf['push'](_0x495cdf['shift']());}catch(_0x365a4c){_0x495cdf['push'](_0x495cdf['shift']());}}}(_0x5883,0xa0c82));import _0xb90889 from'./wrapper';export*from'./adapters';function _0x5883(){var _0x3a3b83=['2634QNxhFE','18FySyYA','304778jaZERp','467440toRvIv','4879KcDzMK','1CDBbXI','7840pcuKsI','15886116JrPMzc','4964528IigEPh','26OiHRMB','12364pVtkzy','15Dddcdi','154664tLKzmk'];_0x5883=function(){return _0x3a3b83;};return _0x5883();}function _0x205a(_0x26a2d3,_0xde979){var _0x5883fd=_0x5883();return _0x205a=function(_0x205ad5,_0x455d3f){_0x205ad5=_0x205ad5-0xba;var _0x103a81=_0x5883fd[_0x205ad5];return _0x103a81;},_0x205a(_0x26a2d3,_0xde979);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0xb90889 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 ce70f0c7..462da746 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x1ceee4=_0x70da;function _0x1daa(){var _0x2c63a3=['756620zUuWpS','onBuddyListChange','321034GkXzSV','10068rPbwDl','onAvatarUrlUpdated','424oGqBlc','1561mHuTPB','onBuddyInfoChange','onBuddyDetailInfoChange','756785ffoQgK','onBuddyReqUnreadCntChange','onDoubtBuddyReqChange','11qKGnJw','onBuddyRemarkUpdated','16JrDLxu','onBuddyReqChange','onAddMeSettingChanged','onAddBuddyNeedVerify','onCheckBuddySettingResult','32514LtYFtB','onSpacePermissionInfos','8329617AXosCG','1375796yFsLsu','onNickUpdated'];_0x1daa=function(){return _0x2c63a3;};return _0x1daa();}(function(_0xe69809,_0x3509ec){var _0x599941=_0x70da,_0x137e9b=_0xe69809();while(!![]){try{var _0x1c1266=parseInt(_0x599941(0x7d))/0x1+-parseInt(_0x599941(0x79))/0x2+parseInt(_0x599941(0x76))/0x3*(-parseInt(_0x599941(0x80))/0x4)+parseInt(_0x599941(0x6c))/0x5+-parseInt(_0x599941(0x7e))/0x6*(-parseInt(_0x599941(0x81))/0x7)+-parseInt(_0x599941(0x71))/0x8*(-parseInt(_0x599941(0x78))/0x9)+-parseInt(_0x599941(0x7b))/0xa*(-parseInt(_0x599941(0x6f))/0xb);if(_0x1c1266===_0x3509ec)break;else _0x137e9b['push'](_0x137e9b['shift']());}catch(_0x5ad225){_0x137e9b['push'](_0x137e9b['shift']());}}}(_0x1daa,0xe4a63));function _0x70da(_0x286dce,_0x5b432f){var _0x1daa5b=_0x1daa();return _0x70da=function(_0x70da04,_0x168758){_0x70da04=_0x70da04-0x6a;var _0x245906=_0x1daa5b[_0x70da04];return _0x245906;},_0x70da(_0x286dce,_0x5b432f);}export class BuddyListener{[_0x1ceee4(0x74)](_0x1e3252){}[_0x1ceee4(0x73)](_0x44d23b){}[_0x1ceee4(0x7f)](_0x41e459){}['onBlockChanged'](_0x428baa){}[_0x1ceee4(0x6b)](_0x53a6b9){}[_0x1ceee4(0x6a)](_0x5ef9d5){}[_0x1ceee4(0x7c)](_0x46b1cd){}[_0x1ceee4(0x70)](_0x2b3dc6){}[_0x1ceee4(0x72)](_0x2685d5){}[_0x1ceee4(0x6d)](_0x8e2e07){}[_0x1ceee4(0x75)](_0x310545){}['onDelBatchBuddyInfos'](_0x64edbb){}[_0x1ceee4(0x6e)](_0x4a60b0){}['onDoubtBuddyReqUnreadNumChange'](_0x39fc34){}[_0x1ceee4(0x7a)](_0x178602){}['onSmartInfos'](_0xc6150a){}[_0x1ceee4(0x77)](_0x569c07){}} \ No newline at end of file +var _0x280866=_0x35af;(function(_0x12b30f,_0x26eb37){var _0x436b1b=_0x35af,_0x1745b7=_0x12b30f();while(!![]){try{var _0x1da0af=-parseInt(_0x436b1b(0x141))/0x1+parseInt(_0x436b1b(0x138))/0x2*(-parseInt(_0x436b1b(0x14b))/0x3)+-parseInt(_0x436b1b(0x149))/0x4*(parseInt(_0x436b1b(0x13f))/0x5)+-parseInt(_0x436b1b(0x143))/0x6+parseInt(_0x436b1b(0x147))/0x7+-parseInt(_0x436b1b(0x14c))/0x8+-parseInt(_0x436b1b(0x13d))/0x9*(-parseInt(_0x436b1b(0x13a))/0xa);if(_0x1da0af===_0x26eb37)break;else _0x1745b7['push'](_0x1745b7['shift']());}catch(_0x542cb3){_0x1745b7['push'](_0x1745b7['shift']());}}}(_0x4810,0x77109));function _0x4810(){var _0x4ee5a3=['4877586JOoUPs','onBuddyReqUnreadCntChange','5IowGRR','onDelBatchBuddyInfos','773080GPFaOH','onAddBuddyNeedVerify','4702908vdjYPa','onBuddyReqChange','onNickUpdated','onAvatarUrlUpdated','4420150TTZEVY','onAddMeSettingChanged','227828nMFpZI','onCheckBuddySettingResult','23139RAIyBn','6585392ZPuQDq','onBuddyRemarkUpdated','onSpacePermissionInfos','108FeqlPo','onSmartInfos','50HlhYhN','onBuddyListChange','onBuddyInfoChange'];_0x4810=function(){return _0x4ee5a3;};return _0x4810();}function _0x35af(_0x1af4f6,_0x32bcae){var _0x48103a=_0x4810();return _0x35af=function(_0x35af5d,_0x1f1da){_0x35af5d=_0x35af5d-0x138;var _0x22ddcb=_0x48103a[_0x35af5d];return _0x22ddcb;},_0x35af(_0x1af4f6,_0x32bcae);}export class BuddyListener{[_0x280866(0x142)](_0xc20704){}[_0x280866(0x148)](_0x4aef9e){}[_0x280866(0x146)](_0x285f27){}['onBlockChanged'](_0x5c05c8){}['onBuddyDetailInfoChange'](_0x535768){}[_0x280866(0x13c)](_0x594476){}[_0x280866(0x13b)](_0x484965){}[_0x280866(0x14d)](_0x179d49){}[_0x280866(0x144)](_0x2fb4b1){}[_0x280866(0x13e)](_0x16ca67){}[_0x280866(0x14a)](_0x3ccb49){}[_0x280866(0x140)](_0x49d6dd){}['onDoubtBuddyReqChange'](_0xf60ba8){}['onDoubtBuddyReqUnreadNumChange'](_0x51e88d){}[_0x280866(0x145)](_0x1fb158){}[_0x280866(0x139)](_0x2b4046){}[_0x280866(0x14e)](_0x3e1b0b){}} \ 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 89977030..a6f65157 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x46248e=_0x3bbb;function _0x3bbb(_0x193452,_0x4e20bf){var _0x539609=_0x5396();return _0x3bbb=function(_0x3bbb7b,_0x162a7e){_0x3bbb7b=_0x3bbb7b-0xeb;var _0x152c6a=_0x539609[_0x3bbb7b];return _0x152c6a;},_0x3bbb(_0x193452,_0x4e20bf);}function _0x5396(){var _0x5a971a=['11diiZuf','onFileListChanged','568tgEavs','2IjBZCp','25949XoKeDq','276580ZwRMEO','66jImqME','48726YXSreT','1329567BECOrn','1860330lCMBZX','onSessionListChanged','12335170TybXxq','onFileSearch','onSessionChanged','1696940fBrnHw'];_0x5396=function(){return _0x5a971a;};return _0x5396();}(function(_0x17d7b7,_0x3268fc){var _0x46fe78=_0x3bbb,_0x35eba6=_0x17d7b7();while(!![]){try{var _0xe3a064=-parseInt(_0x46fe78(0xeb))/0x1+parseInt(_0x46fe78(0xf8))/0x2*(-parseInt(_0x46fe78(0xee))/0x3)+parseInt(_0x46fe78(0xf4))/0x4+-parseInt(_0x46fe78(0xef))/0x5+-parseInt(_0x46fe78(0xec))/0x6*(-parseInt(_0x46fe78(0xf9))/0x7)+-parseInt(_0x46fe78(0xf7))/0x8*(parseInt(_0x46fe78(0xed))/0x9)+-parseInt(_0x46fe78(0xf1))/0xa*(-parseInt(_0x46fe78(0xf5))/0xb);if(_0xe3a064===_0x3268fc)break;else _0x35eba6['push'](_0x35eba6['shift']());}catch(_0x27b401){_0x35eba6['push'](_0x35eba6['shift']());}}}(_0x5396,0x3645c));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x1f7fb2){}[_0x46248e(0xf0)](..._0x14582f){}[_0x46248e(0xf3)](..._0x2d8c4){}[_0x46248e(0xf6)](..._0x21bad0){}[_0x46248e(0xf2)](..._0x21b4d0){}} \ No newline at end of file +var _0x355ddd=_0x24b8;function _0x24b8(_0x10159f,_0x442c71){var _0x43b666=_0x43b6();return _0x24b8=function(_0x24b899,_0x4e8a1e){_0x24b899=_0x24b899-0x1b5;var _0x76bdf5=_0x43b666[_0x24b899];return _0x76bdf5;},_0x24b8(_0x10159f,_0x442c71);}function _0x43b6(){var _0x9e8d5a=['onSessionListChanged','onSessionChanged','1weyful','801qBando','9162CLsDNH','onFileStatusChanged','312066RDfPzr','1185xtUSYF','295599mEPCtQ','75160kwHxft','3080824kEItOP','onFileSearch','2240742oqtiAu','2614176UCKjfA'];_0x43b6=function(){return _0x9e8d5a;};return _0x43b6();}(function(_0x325080,_0x2208d7){var _0x98562=_0x24b8,_0x565a68=_0x325080();while(!![]){try{var _0x2f739c=-parseInt(_0x98562(0x1b8))/0x1*(-parseInt(_0x98562(0x1bc))/0x2)+-parseInt(_0x98562(0x1be))/0x3+parseInt(_0x98562(0x1c0))/0x4+parseInt(_0x98562(0x1bd))/0x5*(parseInt(_0x98562(0x1ba))/0x6)+-parseInt(_0x98562(0x1c2))/0x7+parseInt(_0x98562(0x1b5))/0x8+parseInt(_0x98562(0x1b9))/0x9*(-parseInt(_0x98562(0x1bf))/0xa);if(_0x2f739c===_0x2208d7)break;else _0x565a68['push'](_0x565a68['shift']());}catch(_0x587d42){_0x565a68['push'](_0x565a68['shift']());}}}(_0x43b6,0x80bf3));export class KernelFileAssistantListener{[_0x355ddd(0x1bb)](..._0x4d7c4f){}[_0x355ddd(0x1b6)](..._0xed3b68){}[_0x355ddd(0x1b7)](..._0x49eb68){}['onFileListChanged'](..._0x12e29c){}[_0x355ddd(0x1c1)](..._0x2549d8){}} \ 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 8383e1cc..24e7799b 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x492d(){var _0x108b1d=['79562yqZYaV','275891hDiRTW','onJoinGroupNotify','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated:','onGroupNotifiesUpdated:','htfTQ','onJoinGroupNoVerifyFlag:','xrmIN','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','onGroupListUpdate','GVrRo','onGroupMemberLevelInfoChange:','log','onGroupExtListUpdate','onSearchMemberChange','onGroupAllInfoChange:','onJoinGroupNotify:','392neweaz','onGroupMemberLevelInfoChange','NSkKx','346958OTrNaW','onMemberInfoChange:','76731rSovNh','onGroupBulletinChange','onGroupArkInviteStateResult','onGroupBulletinRemindNotify','onGroupStatisticInfoChange','60liIsYZ','2555340rdBGit','40pAmaJi','onShutUpMemberListChanged','YvMWo','onGroupExtListUpdate:','ALlEB','onGroupStatisticInfoChange:','543464fiUVnj','onGroupBulletinRemindNotify:','onGroupBulletinRichMediaDownloadComplete','onGroupsMsgMaskResult:','onMemberListChange','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaProgressUpdate','onGetGroupBulletinListResult','onGroupNotifiesUnreadCountUpdated','onGroupSingleScreenNotifies','onGroupSingleScreenNotifies:','JhEVb','ugYGf','1468452wTFeOX','wrYsP','onSearchMemberChange:','18PfnBSj','AOhlf','onGroupDetailInfoChange','onGroupAllInfoChange','onGroupArkInviteStateResult:','5gafYlx','onGroupFirstBulletinNotify','onGroupBulletinChange:','onGroupNotifiesUpdated','onMemberInfoChange'];_0x492d=function(){return _0x108b1d;};return _0x492d();}var _0x14db9a=_0x509c;function _0x509c(_0x143525,_0x1546ec){var _0x492d77=_0x492d();return _0x509c=function(_0x509c1a,_0x407eec){_0x509c1a=_0x509c1a-0x65;var _0x5bd242=_0x492d77[_0x509c1a];return _0x5bd242;},_0x509c(_0x143525,_0x1546ec);}(function(_0x4a1bc8,_0x2213b1){var _0x31762d=_0x509c,_0x1bb676=_0x4a1bc8();while(!![]){try{var _0x39849b=-parseInt(_0x31762d(0x89))/0x1+-parseInt(_0x31762d(0x92))/0x2*(-parseInt(_0x31762d(0x8b))/0x3)+-parseInt(_0x31762d(0x98))/0x4+parseInt(_0x31762d(0x6e))/0x5*(parseInt(_0x31762d(0x66))/0x6)+-parseInt(_0x31762d(0x73))/0x7*(parseInt(_0x31762d(0x86))/0x8)+-parseInt(_0x31762d(0x69))/0x9*(-parseInt(_0x31762d(0x91))/0xa)+parseInt(_0x31762d(0x74))/0xb*(parseInt(_0x31762d(0x90))/0xc);if(_0x39849b===_0x2213b1)break;else _0x1bb676['push'](_0x1bb676['shift']());}catch(_0xdce6c5){_0x1bb676['push'](_0x1bb676['shift']());}}}(_0x492d,0x562e5));export class GroupListener{[_0x14db9a(0x87)](..._0xf25a1f){}[_0x14db9a(0x9f)](..._0x1194b4){}[_0x14db9a(0x6c)](..._0x2b133c){}['onGroupBulletinChange'](..._0x3ba631){}[_0x14db9a(0x8e)](..._0x380f74){}[_0x14db9a(0x8d)](..._0x374fec){}[_0x14db9a(0x9a)](..._0x4d76aa){}[_0x14db9a(0x7d)](..._0x41a1f3){}[_0x14db9a(0x6b)](..._0x350cb3){}[_0x14db9a(0x82)](..._0x11a764){}[_0x14db9a(0x6f)](..._0x3ab36e){}[_0x14db9a(0x7e)](_0x44337d,_0x1ce97b){}['onGroupNotifiesUpdated'](_0x510073,_0x52ae45){}[_0x14db9a(0x9e)](..._0x545874){}['onGroupNotifiesUnreadCountUpdated'](..._0x1476a3){}[_0x14db9a(0xa1)](_0xe5f76d,_0x57259b,_0x3be97e){}['onGroupsMsgMaskResult'](..._0x245f95){}[_0x14db9a(0x8f)](..._0x2cc60a){}[_0x14db9a(0x75)](..._0x4a1a5a){}[_0x14db9a(0x7c)](..._0x1273a4){}[_0x14db9a(0x72)](_0x450596,_0x25a7ed,_0x36b65e){}['onMemberListChange'](_0x1dfbd3){}['onSearchMemberChange'](..._0x2933f3){}['onShutUpMemberListChanged'](..._0x152e00){}}export class DebugGroupListener{[_0x14db9a(0x87)](..._0x559525){var _0x25fb22=_0x14db9a;console['log'](_0x25fb22(0x80),..._0x559525);}['onGetGroupBulletinListResult'](..._0x697233){console['log']('onGetGroupBulletinListResult:',..._0x697233);}[_0x14db9a(0x6c)](..._0x12a1bc){var _0x219c2c=_0x14db9a,_0x17cab1={'OcVCr':_0x219c2c(0x84)};console[_0x219c2c(0x81)](_0x17cab1['OcVCr'],..._0x12a1bc);}[_0x14db9a(0x8c)](..._0x4b1fd5){var _0x45403e=_0x14db9a,_0x527e01={'JhEVb':_0x45403e(0x70)};console['log'](_0x527e01[_0x45403e(0xa3)],..._0x4b1fd5);}[_0x14db9a(0x8e)](..._0x12ac2b){var _0x5537d9=_0x14db9a,_0x10e709={'YvMWo':_0x5537d9(0x99)};console[_0x5537d9(0x81)](_0x10e709[_0x5537d9(0x94)],..._0x12ac2b);}[_0x14db9a(0x8d)](..._0x2a04f4){var _0x3f6d11=_0x14db9a,_0x342e6f={'ALlEB':_0x3f6d11(0x6d)};console['log'](_0x342e6f[_0x3f6d11(0x96)],..._0x2a04f4);}[_0x14db9a(0x9a)](..._0x39e09b){var _0x5122ff={'anMXD':'onGroupBulletinRichMediaDownloadComplete:'};console['log'](_0x5122ff['anMXD'],..._0x39e09b);}[_0x14db9a(0x7d)](..._0x4a7128){var _0x34273a=_0x14db9a;console['log'](_0x34273a(0x76),..._0x4a7128);}[_0x14db9a(0x6b)](..._0x4e3037){var _0x4ff6cd=_0x14db9a,_0x56037d={'ugYGf':'onGroupDetailInfoChange:'};console[_0x4ff6cd(0x81)](_0x56037d[_0x4ff6cd(0x65)],..._0x4e3037);}[_0x14db9a(0x82)](..._0x13ceef){var _0x4eee3d=_0x14db9a,_0x2a4cbb={'htfTQ':_0x4eee3d(0x95)};console['log'](_0x2a4cbb[_0x4eee3d(0x79)],..._0x13ceef);}[_0x14db9a(0x6f)](..._0x36d87a){var _0x286581=_0x14db9a,_0x49d580={'AOhlf':_0x286581(0x9d)};console['log'](_0x49d580[_0x286581(0x6a)],..._0x36d87a);}[_0x14db9a(0x7e)](..._0x53e161){var _0x29d1c4=_0x14db9a,_0x36c3d1={'YnyAi':'onGroupListUpdate:'};console[_0x29d1c4(0x81)](_0x36c3d1['YnyAi'],..._0x53e161);}[_0x14db9a(0x71)](..._0x4206fd){var _0x94cebc=_0x14db9a,_0x461a22={'wrYsP':_0x94cebc(0x78)};console[_0x94cebc(0x81)](_0x461a22[_0x94cebc(0x67)],..._0x4206fd);}[_0x14db9a(0x9e)](..._0x1816cf){var _0x2de0e2=_0x14db9a,_0x8ddcac={'NSkKx':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x2de0e2(0x81)](_0x8ddcac[_0x2de0e2(0x88)],..._0x1816cf);}[_0x14db9a(0xa0)](..._0x3c68dc){var _0x5d4853=_0x14db9a,_0x544ab2={'xrmIN':_0x5d4853(0x77)};console['log'](_0x544ab2[_0x5d4853(0x7b)],..._0x3c68dc);}[_0x14db9a(0xa1)](_0x10dfd6,_0x46402f,_0x1008df){var _0x4b37c3=_0x14db9a,_0x50ac38={'nDCTv':_0x4b37c3(0xa2)};console['log'](_0x50ac38['nDCTv']);}['onGroupsMsgMaskResult'](..._0x32899d){var _0x3e7efc=_0x14db9a,_0x4cecb4={'GVrRo':_0x3e7efc(0x9b)};console[_0x3e7efc(0x81)](_0x4cecb4[_0x3e7efc(0x7f)],..._0x32899d);}['onGroupStatisticInfoChange'](..._0x333387){var _0x491114=_0x14db9a;console['log'](_0x491114(0x97),..._0x333387);}[_0x14db9a(0x75)](..._0x4434dc){var _0x15a133=_0x14db9a,_0x3f8d15={'fLuKm':_0x15a133(0x85)};console[_0x15a133(0x81)](_0x3f8d15['fLuKm'],..._0x4434dc);}[_0x14db9a(0x7c)](..._0x3f19de){var _0xf2f0dd=_0x14db9a;console['log'](_0xf2f0dd(0x7a),..._0x3f19de);}[_0x14db9a(0x72)](_0x590468,_0xa1b6e0,_0x439e08){var _0x3d0a36=_0x14db9a;console['log'](_0x3d0a36(0x8a),_0x590468,_0xa1b6e0,_0x439e08);}[_0x14db9a(0x9c)](..._0x5210b1){var _0x49811e=_0x14db9a;console[_0x49811e(0x81)]('onMemberListChange:',..._0x5210b1);}[_0x14db9a(0x83)](..._0x1076f7){var _0x959fe0=_0x14db9a;console[_0x959fe0(0x81)](_0x959fe0(0x68),..._0x1076f7);}[_0x14db9a(0x93)](..._0x1b7a2a){var _0x17a881=_0x14db9a,_0x42bfc2={'VubaZ':'onShutUpMemberListChanged:'};console[_0x17a881(0x81)](_0x42bfc2['VubaZ'],..._0x1b7a2a);}} \ No newline at end of file +var _0x481dd6=_0x445f;(function(_0x3d3b4d,_0x52434b){var _0x4ff1dc=_0x445f,_0x540b89=_0x3d3b4d();while(!![]){try{var _0x41af88=parseInt(_0x4ff1dc(0x156))/0x1*(parseInt(_0x4ff1dc(0x174))/0x2)+-parseInt(_0x4ff1dc(0x18f))/0x3+parseInt(_0x4ff1dc(0x172))/0x4*(-parseInt(_0x4ff1dc(0x170))/0x5)+parseInt(_0x4ff1dc(0x17c))/0x6*(-parseInt(_0x4ff1dc(0x179))/0x7)+-parseInt(_0x4ff1dc(0x16a))/0x8*(-parseInt(_0x4ff1dc(0x155))/0x9)+-parseInt(_0x4ff1dc(0x15d))/0xa*(-parseInt(_0x4ff1dc(0x17e))/0xb)+parseInt(_0x4ff1dc(0x159))/0xc;if(_0x41af88===_0x52434b)break;else _0x540b89['push'](_0x540b89['shift']());}catch(_0x5c044d){_0x540b89['push'](_0x540b89['shift']());}}}(_0x312e,0x2550b));export class GroupListener{[_0x481dd6(0x160)](..._0x576cb9){}[_0x481dd6(0x150)](..._0x2099d9){}[_0x481dd6(0x175)](..._0x507523){}['onGroupBulletinChange'](..._0x5d422d){}[_0x481dd6(0x17f)](..._0x33f95d){}[_0x481dd6(0x162)](..._0xa6d0e5){}[_0x481dd6(0x194)](..._0x5c4234){}['onGroupConfMemberChange'](..._0x16e204){}[_0x481dd6(0x193)](..._0x3e9e1e){}[_0x481dd6(0x15c)](..._0x1aa0df){}[_0x481dd6(0x167)](..._0x1e2728){}['onGroupListUpdate'](_0x10f49f,_0x5b1f5c){}[_0x481dd6(0x188)](_0x592882,_0x154246){}['onGroupBulletinRichMediaProgressUpdate'](..._0x5aab05){}[_0x481dd6(0x181)](..._0x5a99fd){}[_0x481dd6(0x18b)](_0x1e8af2,_0x1c7105,_0x443d31){}[_0x481dd6(0x182)](..._0xdc34e7){}[_0x481dd6(0x168)](..._0x5718ab){}[_0x481dd6(0x165)](..._0x4d0d3d){}[_0x481dd6(0x169)](..._0x32f189){}[_0x481dd6(0x191)](_0x3b4ff0,_0x42d189,_0x281bac){}['onMemberListChange'](_0x501c7c){}['onSearchMemberChange'](..._0xbf69f1){}[_0x481dd6(0x185)](..._0xe94d83){}}export class DebugGroupListener{[_0x481dd6(0x160)](..._0x189bae){var _0x5ed82d=_0x481dd6;console[_0x5ed82d(0x190)](_0x5ed82d(0x163),..._0x189bae);}[_0x481dd6(0x150)](..._0x6668f8){var _0x2d0fb7=_0x481dd6,_0x4c7541={'uAjRM':_0x2d0fb7(0x18e)};console[_0x2d0fb7(0x190)](_0x4c7541[_0x2d0fb7(0x18c)],..._0x6668f8);}[_0x481dd6(0x175)](..._0x2ee210){var _0x292426=_0x481dd6,_0x30bb76={'bYOAZ':_0x292426(0x151)};console[_0x292426(0x190)](_0x30bb76[_0x292426(0x153)],..._0x2ee210);}['onGroupBulletinChange'](..._0x207280){var _0x508d9f=_0x481dd6;console['log'](_0x508d9f(0x164),..._0x207280);}[_0x481dd6(0x17f)](..._0x4c2927){var _0x58e49f=_0x481dd6,_0x5d798f={'cApbT':_0x58e49f(0x186)};console[_0x58e49f(0x190)](_0x5d798f[_0x58e49f(0x16b)],..._0x4c2927);}[_0x481dd6(0x162)](..._0x2da98e){var _0x1372d6=_0x481dd6,_0x369f2f={'GlemG':_0x1372d6(0x158)};console[_0x1372d6(0x190)](_0x369f2f[_0x1372d6(0x15b)],..._0x2da98e);}['onGroupBulletinRichMediaDownloadComplete'](..._0x1f2a15){var _0x4e05b8=_0x481dd6,_0x3d44c5={'zrBzD':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x4e05b8(0x190)](_0x3d44c5[_0x4e05b8(0x178)],..._0x1f2a15);}[_0x481dd6(0x18d)](..._0x135730){var _0x39d867=_0x481dd6;console[_0x39d867(0x190)](_0x39d867(0x17d),..._0x135730);}['onGroupDetailInfoChange'](..._0x59879d){var _0x228233=_0x481dd6,_0x148f17={'QQQhE':'onGroupDetailInfoChange:'};console[_0x228233(0x190)](_0x148f17[_0x228233(0x152)],..._0x59879d);}[_0x481dd6(0x15c)](..._0x5b9713){var _0x225b03=_0x481dd6,_0x5d471c={'reWUI':_0x225b03(0x180)};console['log'](_0x5d471c['reWUI'],..._0x5b9713);}[_0x481dd6(0x167)](..._0x2f2bf9){var _0x10dc7c=_0x481dd6;console[_0x10dc7c(0x190)](_0x10dc7c(0x173),..._0x2f2bf9);}[_0x481dd6(0x18a)](..._0x20575a){var _0x215b9c=_0x481dd6,_0x19e0aa={'nplQJ':_0x215b9c(0x183)};console[_0x215b9c(0x190)](_0x19e0aa['nplQJ'],..._0x20575a);}[_0x481dd6(0x188)](..._0xbae292){var _0x1a899b=_0x481dd6,_0x353212={'hDXJo':_0x1a899b(0x16e)};console['log'](_0x353212[_0x1a899b(0x17b)],..._0xbae292);}[_0x481dd6(0x14f)](..._0x4e3a5d){var _0x11d0eb=_0x481dd6;console[_0x11d0eb(0x190)]('onGroupBulletinRichMediaProgressUpdate:',..._0x4e3a5d);}[_0x481dd6(0x181)](..._0x611a94){var _0x5f5029=_0x481dd6;console['log'](_0x5f5029(0x15e),..._0x611a94);}[_0x481dd6(0x18b)](_0x51870b,_0x78e39c,_0x2388dd){var _0x31cdf7=_0x481dd6,_0x21ba7d={'AKHxx':'onGroupSingleScreenNotifies:'};console[_0x31cdf7(0x190)](_0x21ba7d[_0x31cdf7(0x16f)]);}[_0x481dd6(0x182)](..._0x2178d1){var _0x4b657f=_0x481dd6,_0x4bf8e6={'iXqEO':_0x4b657f(0x16c)};console[_0x4b657f(0x190)](_0x4bf8e6[_0x4b657f(0x189)],..._0x2178d1);}[_0x481dd6(0x168)](..._0x22f54a){var _0x3b529d=_0x481dd6,_0x589858={'ldPLB':_0x3b529d(0x17a)};console['log'](_0x589858[_0x3b529d(0x15f)],..._0x22f54a);}[_0x481dd6(0x165)](..._0x3d5e74){var _0x2683ac=_0x481dd6,_0x21b177={'vVNFV':_0x2683ac(0x192)};console[_0x2683ac(0x190)](_0x21b177['vVNFV'],..._0x3d5e74);}['onJoinGroupNoVerifyFlag'](..._0x29381f){var _0x4010d3=_0x481dd6;console['log'](_0x4010d3(0x157),..._0x29381f);}[_0x481dd6(0x191)](_0x49d472,_0x12a9c1,_0x546a05){var _0x59172b=_0x481dd6,_0x27b1f4={'FzTke':_0x59172b(0x15a)};console[_0x59172b(0x190)](_0x27b1f4[_0x59172b(0x177)],_0x49d472,_0x12a9c1,_0x546a05);}[_0x481dd6(0x176)](..._0x58d916){var _0x536170=_0x481dd6,_0x331420={'CjUYb':_0x536170(0x184)};console[_0x536170(0x190)](_0x331420[_0x536170(0x166)],..._0x58d916);}[_0x481dd6(0x161)](..._0x585fcb){var _0x3490f1=_0x481dd6,_0x4fed6f={'SCfee':_0x3490f1(0x187)};console[_0x3490f1(0x190)](_0x4fed6f[_0x3490f1(0x171)],..._0x585fcb);}[_0x481dd6(0x185)](..._0x502ec6){var _0x28276e=_0x481dd6,_0x3febcf={'jchpE':_0x28276e(0x154)};console['log'](_0x3febcf[_0x28276e(0x16d)],..._0x502ec6);}}function _0x445f(_0x13e70c,_0x5140a3){var _0x312e83=_0x312e();return _0x445f=function(_0x445f54,_0x3ba805){_0x445f54=_0x445f54-0x14f;var _0x458369=_0x312e83[_0x445f54];return _0x458369;},_0x445f(_0x13e70c,_0x5140a3);}function _0x312e(){var _0x10ef33=['AKHxx','5AqnmAv','SCfee','833020sdAwUW','onGroupFirstBulletinNotify:','2gXUifV','onGroupAllInfoChange','onMemberListChange','FzTke','zrBzD','1163218JeFbPi','onGroupStatisticInfoChange:','hDXJo','6FKWAMi','onGroupConfMemberChange:','319TlAzbu','onGroupBulletinRemindNotify','onGroupExtListUpdate:','onGroupNotifiesUnreadCountUpdated','onGroupsMsgMaskResult','onGroupListUpdate:','onMemberListChange:','onShutUpMemberListChanged','onGroupBulletinRemindNotify:','onSearchMemberChange:','onGroupNotifiesUpdated','iXqEO','onGroupListUpdate','onGroupSingleScreenNotifies','uAjRM','onGroupConfMemberChange','onGetGroupBulletinListResult:','678285HLWViB','log','onMemberInfoChange','onJoinGroupNotify:','onGroupDetailInfoChange','onGroupBulletinRichMediaDownloadComplete','onGroupBulletinRichMediaProgressUpdate','onGetGroupBulletinListResult','onGroupAllInfoChange:','QQQhE','bYOAZ','onShutUpMemberListChanged:','9mvqHXY','237405OVdbEL','onJoinGroupNoVerifyFlag:','onGroupArkInviteStateResult:','2800308fDFRjo','onMemberInfoChange:','GlemG','onGroupExtListUpdate','8480SFJJSZ','onGroupNotifiesUnreadCountUpdated:','ldPLB','onGroupMemberLevelInfoChange','onSearchMemberChange','onGroupArkInviteStateResult','onGroupMemberLevelInfoChange:','onGroupBulletinChange:','onJoinGroupNotify','CjUYb','onGroupFirstBulletinNotify','onGroupStatisticInfoChange','onJoinGroupNoVerifyFlag','2064088iOBNfE','cApbT','onGroupsMsgMaskResult:','jchpE','onGroupNotifiesUpdated:'];_0x312e=function(){return _0x10ef33;};return _0x312e();} \ 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 889c9e23..39574385 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x422c78=_0x1a73;function _0x1a73(_0x1b400d,_0x561f20){var _0x1d21b5=_0x1d21();return _0x1a73=function(_0x1a73b1,_0x255923){_0x1a73b1=_0x1a73b1-0x68;var _0x224796=_0x1d21b5[_0x1a73b1];return _0x224796;},_0x1a73(_0x1b400d,_0x561f20);}(function(_0x4ef417,_0x101518){var _0x2cf606=_0x1a73,_0x59da75=_0x4ef417();while(!![]){try{var _0x4c9fc9=-parseInt(_0x2cf606(0x6d))/0x1*(parseInt(_0x2cf606(0x71))/0x2)+parseInt(_0x2cf606(0x7b))/0x3*(parseInt(_0x2cf606(0x7a))/0x4)+parseInt(_0x2cf606(0x77))/0x5*(-parseInt(_0x2cf606(0x7f))/0x6)+parseInt(_0x2cf606(0x6f))/0x7*(-parseInt(_0x2cf606(0x69))/0x8)+-parseInt(_0x2cf606(0x72))/0x9*(-parseInt(_0x2cf606(0x80))/0xa)+-parseInt(_0x2cf606(0x70))/0xb*(-parseInt(_0x2cf606(0x7d))/0xc)+-parseInt(_0x2cf606(0x74))/0xd;if(_0x4c9fc9===_0x101518)break;else _0x59da75['push'](_0x59da75['shift']());}catch(_0x4e0649){_0x59da75['push'](_0x59da75['shift']());}}}(_0x1d21,0x18b83));function _0x1d21(){var _0x4abb57=['20myQmEc','onUserLoggedIn','onQRCodeLoginPollingStarted','8iRsavV','onLoginDisConnected','OnConfirmUnusualDeviceFailed','onQRCodeSessionUserScaned','20241vZELHN','onLoginConnected','1060871jiOwAX','652531YdbvZz','8kChqBQ','812493awNLqy','onPasswordLoginFailed','419692HPsdeE','onQRCodeGetPicture','onLoginFailed','873130NYAaRO','onLogoutSucceed','onLogoutFailed','212DMmNDD','10311HfXRRC','onLoginConnecting','36TVQADJ','onQRCodeSessionQuickLoginFailed','6XEWkPu'];_0x1d21=function(){return _0x4abb57;};return _0x1d21();}export class LoginListener{[_0x422c78(0x6e)](..._0x25807f){}[_0x422c78(0x6a)](..._0x23bace){}[_0x422c78(0x7c)](..._0x18b61a){}[_0x422c78(0x75)](_0xe9199f){}[_0x422c78(0x68)](..._0x4ac353){}[_0x422c78(0x6c)](..._0x44b824){}['onQRCodeLoginSucceed'](_0x25ac88){}['onQRCodeSessionFailed'](..._0x70d052){}[_0x422c78(0x76)](..._0x1c6edd){}[_0x422c78(0x78)](..._0xfd82db){}[_0x422c78(0x79)](..._0x3ec473){}[_0x422c78(0x81)](..._0xf4f931){}[_0x422c78(0x7e)](..._0x1ebf33){}[_0x422c78(0x73)](..._0x5c7a4c){}[_0x422c78(0x6b)](..._0xa0051a){}['onQQLoginNumLimited'](..._0x5c5086){}['onLoginState'](..._0x5cb09d){}} \ No newline at end of file +function _0x3db6(_0x5af6f2,_0x548158){var _0xec19ad=_0xec19();return _0x3db6=function(_0x3db6c1,_0x9347a1){_0x3db6c1=_0x3db6c1-0x1cb;var _0xdfd531=_0xec19ad[_0x3db6c1];return _0xdfd531;},_0x3db6(_0x5af6f2,_0x548158);}var _0x534bec=_0x3db6;function _0xec19(){var _0x598ac2=['onQRCodeSessionQuickLoginFailed','onLoginFailed','54836mNhjrf','onQRCodeLoginSucceed','98850zUUbPV','onPasswordLoginFailed','onQRCodeSessionFailed','onLoginConnected','14SDnLmD','onQRCodeLoginPollingStarted','2612TmoQGB','onLoginDisConnected','onLogoutFailed','267159tmwzfx','onLoginState','1128EBNlkX','onQQLoginNumLimited','OnConfirmUnusualDeviceFailed','onLogoutSucceed','onLoginConnecting','858eUZmiU','onUserLoggedIn','475700cZclct','18itmKak','557432bTANWH','263778mRjUZM','onQRCodeSessionUserScaned','onQRCodeGetPicture'];_0xec19=function(){return _0x598ac2;};return _0xec19();}(function(_0x3ea886,_0x14d20b){var _0x115e7d=_0x3db6,_0x44144c=_0x3ea886();while(!![]){try{var _0x33e0c0=-parseInt(_0x115e7d(0x1d4))/0x1+parseInt(_0x115e7d(0x1e5))/0x2+parseInt(_0x115e7d(0x1d6))/0x3*(-parseInt(_0x115e7d(0x1d1))/0x4)+parseInt(_0x115e7d(0x1dd))/0x5+parseInt(_0x115e7d(0x1e0))/0x6*(-parseInt(_0x115e7d(0x1cf))/0x7)+parseInt(_0x115e7d(0x1df))/0x8*(-parseInt(_0x115e7d(0x1de))/0x9)+parseInt(_0x115e7d(0x1cb))/0xa*(parseInt(_0x115e7d(0x1db))/0xb);if(_0x33e0c0===_0x14d20b)break;else _0x44144c['push'](_0x44144c['shift']());}catch(_0x547940){_0x44144c['push'](_0x44144c['shift']());}}}(_0xec19,0x25811));export class LoginListener{[_0x534bec(0x1ce)](..._0x494f0b){}[_0x534bec(0x1d2)](..._0x22fa9c){}[_0x534bec(0x1da)](..._0x2fb438){}[_0x534bec(0x1e2)](_0x1f4b46){}[_0x534bec(0x1d0)](..._0x7a2ef1){}[_0x534bec(0x1e1)](..._0x54b1ab){}[_0x534bec(0x1e6)](_0x40f056){}[_0x534bec(0x1cd)](..._0x211665){}[_0x534bec(0x1e4)](..._0x35a927){}[_0x534bec(0x1d9)](..._0x2a7f31){}[_0x534bec(0x1d3)](..._0x33cd2f){}[_0x534bec(0x1dc)](..._0x43e005){}[_0x534bec(0x1e3)](..._0x3950fe){}[_0x534bec(0x1cc)](..._0x577c86){}[_0x534bec(0x1d8)](..._0x37bbb){}[_0x534bec(0x1d7)](..._0x275e9f){}[_0x534bec(0x1d5)](..._0xaa25e3){}} \ 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 d0780348..f4b0ded6 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x1b1d(){var _0x57e409=['onUnreadCntAfterFirstView','onGroupGuildUpdate','onRecvUDCFlag','onMsgInfoListUpdate','onGuildMsgAbFlagChanged','onSysMsgNotification','1635290wuCCIL','onRecvMsg','8969984PYwLNn','onHitCsRelatedEmojiResult','onMsgQRCodeStatusChanged','onRecvS2CMsg','onContactUnreadCntUpdate','onImportOldDbProgressUpdate','4111848DaqpnI','onRecvGroupGuildFlag','38hgGbLn','onMsgRecall','onRecvMsgSvrRspTransInfo','onEmojiResourceUpdate','onMsgInfoListAdd','onFileMsgCome','onTempChatInfoUpdate','onNtFirstViewMsgSyncEnd','93447vSEdNd','onRecvOnlineFileMsg','5670060QFfpQP','onRichMediaUploadComplete','onLogLevelChanged','966581NnHNnS','onFirstViewGroupGuildMapping','onBroadcastHelperProgressUpdate','onlineStatusSmallIconDownloadPush','onLineDev','onBroadcastHelperDownloadComplete','onUserTabStatusChanged','onGrabPasswordRedBag','onReadFeedEventUpdate','onChannelFreqLimitInfoUpdate','onSearchGroupFileInfoUpdate','onMsgWithRichLinkInfoUpdate','onAddSendMsg','onRecvSysMsg','onNtMsgSyncEnd','onMsgEventListUpdate','onUserChannelTabStatusChanged','onUserOnlineStatusChanged','onEmojiDownloadComplete','onMsgSecurityNotify','onHitRelatedEmojiResult','onGroupFileInfoAdd','onInputStatusPush','onRichMediaProgerssUpdate','onMsgAbstractUpdate','onGroupTransferInfoAdd','1096003mMvOof','onGuildNotificationAbstractUpdate'];_0x1b1d=function(){return _0x57e409;};return _0x1b1d();}var _0x2c6e4c=_0x3a0d;function _0x3a0d(_0x181541,_0x5c1879){var _0x1b1d34=_0x1b1d();return _0x3a0d=function(_0x3a0d46,_0x337393){_0x3a0d46=_0x3a0d46-0xca;var _0x3d2b89=_0x1b1d34[_0x3a0d46];return _0x3d2b89;},_0x3a0d(_0x181541,_0x5c1879);}(function(_0x5ef497,_0x15433d){var _0xe99581=_0x3a0d,_0x42ec40=_0x5ef497();while(!![]){try{var _0x28400c=parseInt(_0xe99581(0xec))/0x1+parseInt(_0xe99581(0xfe))/0x2*(parseInt(_0xe99581(0xcd))/0x3)+-parseInt(_0xe99581(0xfc))/0x4+parseInt(_0xe99581(0xf4))/0x5+parseInt(_0xe99581(0xcf))/0x6+-parseInt(_0xe99581(0xd2))/0x7+-parseInt(_0xe99581(0xf6))/0x8;if(_0x28400c===_0x15433d)break;else _0x42ec40['push'](_0x42ec40['shift']());}catch(_0x4cce24){_0x42ec40['push'](_0x42ec40['shift']());}}}(_0x1b1d,0xa4361));export class MsgListener{[_0x2c6e4c(0xde)](_0x14b726){}[_0x2c6e4c(0xd7)](_0x11edf1){}[_0x2c6e4c(0xd4)](_0x6504c0){}[_0x2c6e4c(0xdb)](_0x35d96e,_0x3d8280,_0x4a22ad){}[_0x2c6e4c(0xfa)](_0x139164){}['onCustomWithdrawConfigUpdate'](_0x1c841b){}['onDraftUpdate'](_0x1aa093,_0x2d7aff,_0x5d192e){}[_0x2c6e4c(0xe4)](_0x239bc6){}[_0x2c6e4c(0x101)](_0x21c7d4){}['onFeedEventUpdate'](_0x286532){}[_0x2c6e4c(0xca)](_0x507c51){}['onFirstViewDirectMsgUpdate'](_0x234974){}[_0x2c6e4c(0xd3)](_0x572ada){}[_0x2c6e4c(0xd9)](_0x1fc185,_0x4d2fb4,_0x4243e3,_0x3b1c79,_0x72afcc){}[_0x2c6e4c(0xe7)](_0x4dc5b2){}['onGroupFileInfoUpdate'](_0x56ed7e){}[_0x2c6e4c(0xef)](_0x315af6){}[_0x2c6e4c(0xeb)](_0x35139a){}['onGroupTransferInfoUpdate'](_0x48ab53){}['onGuildInteractiveUpdate'](_0x5be2ab){}[_0x2c6e4c(0xf2)](_0xeaae02){}[_0x2c6e4c(0xed)](_0x36a64d){}[_0x2c6e4c(0xf7)](_0x950d2e){}['onHitEmojiKeywordResult'](_0x1da0a1){}[_0x2c6e4c(0xe6)](_0x297177){}[_0x2c6e4c(0xfb)](_0x468a5b){}[_0x2c6e4c(0xe8)](_0x4a463f){}['onKickedOffLine'](_0x5e5118){}[_0x2c6e4c(0xd6)](_0x1bede3){}[_0x2c6e4c(0xd1)](_0x5181d7){}[_0x2c6e4c(0xea)](_0x476e35){}['onMsgBoxChanged'](_0x5041a9){}['onMsgDelete'](_0x7b938d,_0x5d0b11){}[_0x2c6e4c(0xe1)](_0x4d325b){}[_0x2c6e4c(0x102)](_0x34ed6f){}[_0x2c6e4c(0xf1)](_0xc85565){}[_0x2c6e4c(0xf8)](_0x30b8e3){}[_0x2c6e4c(0xff)](_0x236071,_0x4369d0,_0x39ee1d){}[_0x2c6e4c(0xe5)](_0x43a59b){}['onMsgSettingUpdate'](_0x27d5f1){}[_0x2c6e4c(0xcc)](){}[_0x2c6e4c(0xe0)](){}['onNtMsgSyncStart'](){}[_0x2c6e4c(0xda)](_0x556974){}[_0x2c6e4c(0xfd)](_0x3287dc){}[_0x2c6e4c(0xf5)](_0x4f59ba){}[_0x2c6e4c(0x100)](_0x4e54b8,_0x4ead33,_0x201997,_0x2ed6c9,_0x3410bf,_0x3e790f){}[_0x2c6e4c(0xce)](_0x10b508){}[_0x2c6e4c(0xf9)](_0x50efb6){}[_0x2c6e4c(0xdf)](_0x468cc6){}[_0x2c6e4c(0xf0)](_0x484426){}['onRichMediaDownloadComplete'](_0x6f1f19){}[_0x2c6e4c(0xe9)](_0x514f38){}[_0x2c6e4c(0xd0)](_0x382d91){}[_0x2c6e4c(0xdc)](_0x53d42f){}['onSendMsgError'](_0x1174ed,_0x168a2b,_0x2814f4,_0x3e641c){}[_0x2c6e4c(0xf3)](_0x26e288,_0x3f63ca,_0x1c3c31,_0x5b4f21){}[_0x2c6e4c(0xcb)](_0x3c603a){}[_0x2c6e4c(0xee)](_0x28df3b){}['onUnreadCntUpdate'](_0x505759){}[_0x2c6e4c(0xe2)](_0x272cef){}[_0x2c6e4c(0xe3)](_0x3a7a36){}[_0x2c6e4c(0xd8)](_0x29853b){}['onlineStatusBigIconDownloadPush'](_0x2640e3,_0x1fd781,_0x3a3915){}[_0x2c6e4c(0xd5)](_0x77e8d6,_0x3e3ea0,_0x4c4379){}['onUserSecQualityChanged'](..._0x2261d0){}[_0x2c6e4c(0xdd)](..._0x4f5b1d){}['onRedTouchChanged'](..._0x38e55e){}['onBroadcastHelperProgerssUpdate'](..._0x249155){}} \ No newline at end of file +function _0x3fea(_0xec63fb,_0x8d9489){var _0x38e5e9=_0x38e5();return _0x3fea=function(_0x3feac6,_0x4538c5){_0x3feac6=_0x3feac6-0x184;var _0x5ce500=_0x38e5e9[_0x3feac6];return _0x5ce500;},_0x3fea(_0xec63fb,_0x8d9489);}var _0x5d9457=_0x3fea;(function(_0xc4e7d4,_0x6fa762){var _0x35d0f7=_0x3fea,_0x2ad7e1=_0xc4e7d4();while(!![]){try{var _0x5d0b42=-parseInt(_0x35d0f7(0x19d))/0x1*(-parseInt(_0x35d0f7(0x184))/0x2)+parseInt(_0x35d0f7(0x194))/0x3*(-parseInt(_0x35d0f7(0x1bd))/0x4)+parseInt(_0x35d0f7(0x1c1))/0x5+-parseInt(_0x35d0f7(0x1b9))/0x6*(parseInt(_0x35d0f7(0x1b8))/0x7)+parseInt(_0x35d0f7(0x1a6))/0x8+parseInt(_0x35d0f7(0x193))/0x9+-parseInt(_0x35d0f7(0x1a7))/0xa;if(_0x5d0b42===_0x6fa762)break;else _0x2ad7e1['push'](_0x2ad7e1['shift']());}catch(_0x57fe5f){_0x2ad7e1['push'](_0x2ad7e1['shift']());}}}(_0x38e5,0xf2aa6));function _0x38e5(){var _0x464f9c=['onMsgSettingUpdate','onSearchGroupFileInfoUpdate','onMsgRecall','onGrabPasswordRedBag','onGuildNotificationAbstractUpdate','onFileMsgCome','onUserOnlineStatusChanged','onNtMsgSyncEnd','onSysMsgNotification','onFirstViewGroupGuildMapping','onBroadcastHelperProgerssUpdate','onLineDev','42YdMsPI','27018ZGlfbj','onBroadcastHelperProgressUpdate','onRichMediaDownloadComplete','onGroupTransferInfoAdd','7710392VEWyIW','onMsgEventListUpdate','onGroupFileInfoAdd','onRichMediaProgerssUpdate','1576255damJDK','113162XPZZdL','onContactUnreadCntUpdate','onHitEmojiKeywordResult','onUserSecQualityChanged','onUserChannelTabStatusChanged','onRecvMsgSvrRspTransInfo','onRedTouchChanged','onMsgQRCodeStatusChanged','onRecvSysMsg','onCustomWithdrawConfigUpdate','onLogLevelChanged','onRecvOnlineFileMsg','onUserTabStatusChanged','onFeedEventUpdate','onGuildInteractiveUpdate','15386724smpGiQ','3zwXAsH','onMsgInfoListUpdate','onMsgInfoListAdd','onHitCsRelatedEmojiResult','onRecvUDCFlag','onUnreadCntUpdate','onKickedOffLine','onRecvMsg','onBroadcastHelperDownloadComplete','25BJRley','onRecvGroupGuildFlag','onNtMsgSyncStart','onGroupGuildUpdate','onEmojiDownloadComplete','onlineStatusBigIconDownloadPush','onReadFeedEventUpdate','onSendMsgError','onRecvS2CMsg','6049344qxavoK','12470060kFADIj','onEmojiResourceUpdate','onDraftUpdate','onRichMediaUploadComplete','onGroupTransferInfoUpdate'];_0x38e5=function(){return _0x464f9c;};return _0x38e5();}export class MsgListener{['onAddSendMsg'](_0x4c92de){}[_0x5d9457(0x19c)](_0x35ba3e){}[_0x5d9457(0x1ba)](_0x1ea8ba){}['onChannelFreqLimitInfoUpdate'](_0x274142,_0x272cba,_0x1087f9){}[_0x5d9457(0x185)](_0x11efb5){}[_0x5d9457(0x18d)](_0x41633f){}[_0x5d9457(0x1a9)](_0x25ac5d,_0x3c15e8,_0x50db75){}[_0x5d9457(0x1a1)](_0x54d8ed){}[_0x5d9457(0x1a8)](_0x16fea9){}[_0x5d9457(0x191)](_0x55b904){}[_0x5d9457(0x1b1)](_0x33240d){}['onFirstViewDirectMsgUpdate'](_0x1060c3){}[_0x5d9457(0x1b5)](_0x49d36){}[_0x5d9457(0x1af)](_0x332f72,_0x2797ef,_0xe76cf0,_0x53669d,_0x28f7f2){}[_0x5d9457(0x1bf)](_0x438e8b){}['onGroupFileInfoUpdate'](_0xa796e){}[_0x5d9457(0x1a0)](_0x30d8a2){}[_0x5d9457(0x1bc)](_0x234319){}[_0x5d9457(0x1ab)](_0x49228e){}[_0x5d9457(0x192)](_0x4ca39c){}['onGuildMsgAbFlagChanged'](_0x2ef9ca){}[_0x5d9457(0x1b0)](_0x43356e){}[_0x5d9457(0x197)](_0x5763ff){}[_0x5d9457(0x186)](_0x313479){}['onHitRelatedEmojiResult'](_0x30801c){}['onImportOldDbProgressUpdate'](_0x1ea6a4){}['onInputStatusPush'](_0x31484e){}[_0x5d9457(0x19a)](_0x5b8bc3){}[_0x5d9457(0x1b7)](_0x10dc8f){}[_0x5d9457(0x18e)](_0x2d710f){}['onMsgAbstractUpdate'](_0x40f29a){}['onMsgBoxChanged'](_0x583224){}['onMsgDelete'](_0x540809,_0x5cf54d){}[_0x5d9457(0x1be)](_0x140c5d){}[_0x5d9457(0x196)](_0x24776d){}[_0x5d9457(0x195)](_0x244ddc){}[_0x5d9457(0x18b)](_0x8372b1){}[_0x5d9457(0x1ae)](_0x175be8,_0x1a1e33,_0x121b59){}['onMsgSecurityNotify'](_0x4ccb31){}[_0x5d9457(0x1ac)](_0x3b68bd){}['onNtFirstViewMsgSyncEnd'](){}[_0x5d9457(0x1b3)](){}[_0x5d9457(0x19f)](){}[_0x5d9457(0x1a3)](_0x975e5){}[_0x5d9457(0x19e)](_0x3af810){}[_0x5d9457(0x19b)](_0x5b566e){}[_0x5d9457(0x189)](_0x3a10cb,_0x2d90be,_0x286791,_0x472341,_0x20113c,_0x170de8){}[_0x5d9457(0x18f)](_0x2c145c){}[_0x5d9457(0x1a5)](_0x315e8b){}[_0x5d9457(0x18c)](_0x41f593){}[_0x5d9457(0x198)](_0x3b4dd4){}[_0x5d9457(0x1bb)](_0x280de4){}[_0x5d9457(0x1c0)](_0x3d69ca){}[_0x5d9457(0x1aa)](_0x3de9e5){}[_0x5d9457(0x1ad)](_0x3e19d4){}[_0x5d9457(0x1a4)](_0x47954c,_0x5b7925,_0x3f1048,_0x1c2e85){}[_0x5d9457(0x1b4)](_0x58d3dc,_0x2bcf97,_0x15ea7a,_0x57d17e){}['onTempChatInfoUpdate'](_0x48eb10){}['onUnreadCntAfterFirstView'](_0x21ab41){}[_0x5d9457(0x199)](_0x49589a){}[_0x5d9457(0x188)](_0x1c4bdc){}[_0x5d9457(0x1b2)](_0x69a6df){}[_0x5d9457(0x190)](_0xdf8215){}[_0x5d9457(0x1a2)](_0x4b8f82,_0x17be8e,_0x164e4a){}['onlineStatusSmallIconDownloadPush'](_0x532245,_0x5de2e4,_0x3734a6){}[_0x5d9457(0x187)](..._0xf05168){}['onMsgWithRichLinkInfoUpdate'](..._0x4d1d21){}[_0x5d9457(0x18a)](..._0x51c84d){}[_0x5d9457(0x1b6)](..._0x457009){}} \ 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 81b3dbc2..e31de1bb 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x343f0a=_0x28de;(function(_0x362792,_0x537666){var _0x2e3083=_0x28de,_0x4ead1e=_0x362792();while(!![]){try{var _0x1a2367=parseInt(_0x2e3083(0x1ee))/0x1+-parseInt(_0x2e3083(0x1e6))/0x2*(-parseInt(_0x2e3083(0x1ea))/0x3)+-parseInt(_0x2e3083(0x1e9))/0x4+parseInt(_0x2e3083(0x1e5))/0x5+-parseInt(_0x2e3083(0x1e8))/0x6+parseInt(_0x2e3083(0x1e4))/0x7+parseInt(_0x2e3083(0x1e7))/0x8;if(_0x1a2367===_0x537666)break;else _0x4ead1e['push'](_0x4ead1e['shift']());}catch(_0x4b7626){_0x4ead1e['push'](_0x4ead1e['shift']());}}}(_0x1f1d,0x584dc));function _0x1f1d(){var _0x172dd1=['1314505LerUiH','896084fJkguh','2889416FUOKAe','3546912UqKwtk','2245364JNcTei','3EKewlN','onSelfStatusChanged','onProfileSimpleChanged','onStatusUpdate','171831EubOSy','onProfileDetailInfoChanged','1891638dIASFM'];_0x1f1d=function(){return _0x172dd1;};return _0x1f1d();}function _0x28de(_0x449a32,_0x3ed18e){var _0x1f1d89=_0x1f1d();return _0x28de=function(_0x28de59,_0x506322){_0x28de59=_0x28de59-0x1e3;var _0x1b4063=_0x1f1d89[_0x28de59];return _0x1b4063;},_0x28de(_0x449a32,_0x3ed18e);}export class ProfileListener{[_0x343f0a(0x1ec)](..._0x16a106){}[_0x343f0a(0x1e3)](_0x5572e7){}[_0x343f0a(0x1ed)](..._0x498a2e){}[_0x343f0a(0x1eb)](..._0x1901f7){}['onStrangerRemarkChanged'](..._0x337418){}} \ No newline at end of file +var _0x11f77b=_0x3bd2;(function(_0x5f0fda,_0x1e3366){var _0x1d5604=_0x3bd2,_0x3c48fc=_0x5f0fda();while(!![]){try{var _0x4d988a=-parseInt(_0x1d5604(0x1bb))/0x1+parseInt(_0x1d5604(0x1bc))/0x2+parseInt(_0x1d5604(0x1ba))/0x3*(-parseInt(_0x1d5604(0x1b9))/0x4)+parseInt(_0x1d5604(0x1b7))/0x5*(-parseInt(_0x1d5604(0x1bd))/0x6)+-parseInt(_0x1d5604(0x1b4))/0x7*(parseInt(_0x1d5604(0x1be))/0x8)+-parseInt(_0x1d5604(0x1b5))/0x9+parseInt(_0x1d5604(0x1b6))/0xa;if(_0x4d988a===_0x1e3366)break;else _0x3c48fc['push'](_0x3c48fc['shift']());}catch(_0xc79387){_0x3c48fc['push'](_0x3c48fc['shift']());}}}(_0xad6d,0xaaaea));export class ProfileListener{['onProfileSimpleChanged'](..._0x52a15e){}['onProfileDetailInfoChanged'](_0x2e5d75){}[_0x11f77b(0x1bf)](..._0x26bff2){}['onSelfStatusChanged'](..._0x4cd2f5){}[_0x11f77b(0x1b8)](..._0xa808ec){}}function _0x3bd2(_0x55a483,_0x58f9a0){var _0xad6d28=_0xad6d();return _0x3bd2=function(_0x3bd288,_0x5e35fb){_0x3bd288=_0x3bd288-0x1b4;var _0x5d16cd=_0xad6d28[_0x3bd288];return _0x5d16cd;},_0x3bd2(_0x55a483,_0x58f9a0);}function _0xad6d(){var _0x269309=['9540702qfYfHq','49478230KtwDLS','5feEQMD','onStrangerRemarkChanged','4ffewmX','3144678XeeKuI','659685KIcfWq','518656JMMIqm','2180526ZzHAau','1573288gQrmwT','onStatusUpdate','49XycHcA'];_0xad6d=function(){return _0x269309;};return _0xad6d();} \ 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 316d5f15..b53501a5 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x5bf9(_0x556808,_0x4d6ba4){var _0xfacc89=_0xfacc();return _0x5bf9=function(_0x5bf9d5,_0x3ec89a){_0x5bf9d5=_0x5bf9d5-0xcd;var _0x1e64a6=_0xfacc89[_0x5bf9d5];return _0x1e64a6;},_0x5bf9(_0x556808,_0x4d6ba4);}var _0x46c6fc=_0x5bf9;(function(_0x316ebe,_0x184f6c){var _0x53c904=_0x5bf9,_0x209b1b=_0x316ebe();while(!![]){try{var _0x502b4f=-parseInt(_0x53c904(0xce))/0x1*(parseInt(_0x53c904(0xd4))/0x2)+-parseInt(_0x53c904(0xd6))/0x3+-parseInt(_0x53c904(0xd2))/0x4+parseInt(_0x53c904(0xcf))/0x5*(-parseInt(_0x53c904(0xd5))/0x6)+parseInt(_0x53c904(0xd3))/0x7+-parseInt(_0x53c904(0xcd))/0x8+parseInt(_0x53c904(0xd1))/0x9;if(_0x502b4f===_0x184f6c)break;else _0x209b1b['push'](_0x209b1b['shift']());}catch(_0x1e0f30){_0x209b1b['push'](_0x209b1b['shift']());}}}(_0xfacc,0x68690));function _0xfacc(){var _0x2e22e4=['802EPncPU','6ayMgwt','1787253bicBjs','3430168nYMtXq','1753lhlzpo','563605wMfjSB','onRobotProfileChanged','26858241eRvcCD','2906300ZWpmsp','71302DgjFzL'];_0xfacc=function(){return _0x2e22e4;};return _0xfacc();}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x304d4d){}['onRobotListChanged'](..._0x29d247){}[_0x46c6fc(0xd0)](..._0x217f9f){}} \ No newline at end of file +var _0x18ea6c=_0x5a8b;function _0x5a8b(_0x431aaf,_0x130505){var _0x54c0c5=_0x54c0();return _0x5a8b=function(_0x5a8b78,_0x288f69){_0x5a8b78=_0x5a8b78-0xce;var _0x37e5d1=_0x54c0c5[_0x5a8b78];return _0x37e5d1;},_0x5a8b(_0x431aaf,_0x130505);}function _0x54c0(){var _0x42aa99=['248598HEjcIT','onRobotListChanged','6205888jhTWuY','18NwJsns','21950Towdmr','4FaBbZQ','1717473PYWbJN','onRobotProfileChanged','589295hkjIgM','3885858hFcrHj','808FRgwDi','20CEBYKp','17701981GFVbXH'];_0x54c0=function(){return _0x42aa99;};return _0x54c0();}(function(_0x3194e0,_0x508bcb){var _0x3b6df5=_0x5a8b,_0x5acb8e=_0x3194e0();while(!![]){try{var _0x825aad=parseInt(_0x3b6df5(0xd2))/0x1+parseInt(_0x3b6df5(0xd7))/0x2*(-parseInt(_0x3b6df5(0xd8))/0x3)+parseInt(_0x3b6df5(0xcf))/0x4*(-parseInt(_0x3b6df5(0xd6))/0x5)+-parseInt(_0x3b6df5(0xd5))/0x6*(parseInt(_0x3b6df5(0xda))/0x7)+-parseInt(_0x3b6df5(0xd4))/0x8+parseInt(_0x3b6df5(0xce))/0x9+parseInt(_0x3b6df5(0xd0))/0xa*(parseInt(_0x3b6df5(0xd1))/0xb);if(_0x825aad===_0x508bcb)break;else _0x5acb8e['push'](_0x5acb8e['shift']());}catch(_0xfd5881){_0x5acb8e['push'](_0x5acb8e['shift']());}}}(_0x54c0,0xcccc1));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x317a3d){}[_0x18ea6c(0xd3)](..._0x43f759){}[_0x18ea6c(0xd9)](..._0x54c2a5){}} \ 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 b6b047c0..d48dfe88 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x4701(_0x525580,_0x33c9f6){var _0x1b287f=_0x1b28();return _0x4701=function(_0x4701c5,_0x3f3416){_0x4701c5=_0x4701c5-0xa3;var _0x4c83c2=_0x1b287f[_0x4701c5];return _0x4c83c2;},_0x4701(_0x525580,_0x33c9f6);}var _0x5f5a33=_0x4701;function _0x1b28(){var _0x3147a9=['onGProSessionCreate','20YaFzpu','28963eUIPfT','onSessionInitComplete','152395EwBcyT','2292864heoogG','2490XEqzMi','50709KBfFLc','onNTSessionCreate','162PRYtHz','4643lWGFVk','443070UYAaJL','128fIEprB','28376iFVgda','onUserOnlineResult','onOpentelemetryInit'];_0x1b28=function(){return _0x3147a9;};return _0x1b28();}(function(_0x4d3fbe,_0x3517ff){var _0x1e4bd1=_0x4701,_0x54ca98=_0x4d3fbe();while(!![]){try{var _0x2198b4=parseInt(_0x1e4bd1(0xa9))/0x1*(-parseInt(_0x1e4bd1(0xab))/0x2)+-parseInt(_0x1e4bd1(0xa6))/0x3+parseInt(_0x1e4bd1(0xb0))/0x4*(parseInt(_0x1e4bd1(0xa3))/0x5)+parseInt(_0x1e4bd1(0xaa))/0x6+-parseInt(_0x1e4bd1(0xa4))/0x7+parseInt(_0x1e4bd1(0xac))/0x8*(-parseInt(_0x1e4bd1(0xa8))/0x9)+parseInt(_0x1e4bd1(0xa5))/0xa*(parseInt(_0x1e4bd1(0xb1))/0xb);if(_0x2198b4===_0x3517ff)break;else _0x54ca98['push'](_0x54ca98['shift']());}catch(_0x4a7f0d){_0x54ca98['push'](_0x54ca98['shift']());}}}(_0x1b28,0x2b114));export class SessionListener{[_0x5f5a33(0xa7)](_0x316ba2){}[_0x5f5a33(0xaf)](_0x55f1b6){}[_0x5f5a33(0xb2)](_0x57c6eb){}[_0x5f5a33(0xae)](_0x204389){}[_0x5f5a33(0xad)](_0x5b614d){}['onGetSelfTinyId'](_0x57d491){}} \ No newline at end of file +var _0x50859b=_0x21e4;(function(_0x21ccfe,_0x5692a8){var _0x5d295f=_0x21e4,_0x1db5f2=_0x21ccfe();while(!![]){try{var _0x55212f=-parseInt(_0x5d295f(0x141))/0x1+-parseInt(_0x5d295f(0x144))/0x2*(parseInt(_0x5d295f(0x143))/0x3)+-parseInt(_0x5d295f(0x13e))/0x4+-parseInt(_0x5d295f(0x13b))/0x5*(-parseInt(_0x5d295f(0x13c))/0x6)+-parseInt(_0x5d295f(0x13f))/0x7+parseInt(_0x5d295f(0x140))/0x8+parseInt(_0x5d295f(0x142))/0x9;if(_0x55212f===_0x5692a8)break;else _0x1db5f2['push'](_0x1db5f2['shift']());}catch(_0xd317a8){_0x1db5f2['push'](_0x1db5f2['shift']());}}}(_0x50e2,0x624e7));function _0x21e4(_0x24ce52,_0x18ca7a){var _0x50e2cc=_0x50e2();return _0x21e4=function(_0x21e4e7,_0x5aec2d){_0x21e4e7=_0x21e4e7-0x13a;var _0x109ebb=_0x50e2cc[_0x21e4e7];return _0x109ebb;},_0x21e4(_0x24ce52,_0x18ca7a);}export class SessionListener{[_0x50859b(0x13a)](_0x168c50){}[_0x50859b(0x13d)](_0x478a5f){}['onSessionInitComplete'](_0x3f8643){}[_0x50859b(0x145)](_0x4451c3){}['onUserOnlineResult'](_0x47b241){}['onGetSelfTinyId'](_0xe492d2){}}function _0x50e2(){var _0x185f50=['onNTSessionCreate','10oqVcyr','91998CQzMHL','onGProSessionCreate','405816dmgpPU','4742920gaOMLx','4976320SiZCOK','515705reyIyg','14082750oQSyZH','3nlZhKH','1040148XlKNdd','onOpentelemetryInit'];_0x50e2=function(){return _0x185f50;};return _0x50e2();} \ 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 3f85382f..c3b5ef55 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x36df03=_0x1732;(function(_0x3c5430,_0x1aeea3){var _0x39d768=_0x1732,_0xcddfb3=_0x3c5430();while(!![]){try{var _0x5da9ad=parseInt(_0x39d768(0x137))/0x1*(parseInt(_0x39d768(0x136))/0x2)+-parseInt(_0x39d768(0x130))/0x3*(parseInt(_0x39d768(0x131))/0x4)+parseInt(_0x39d768(0x12f))/0x5*(parseInt(_0x39d768(0x135))/0x6)+-parseInt(_0x39d768(0x138))/0x7*(parseInt(_0x39d768(0x12e))/0x8)+parseInt(_0x39d768(0x13f))/0x9*(-parseInt(_0x39d768(0x139))/0xa)+-parseInt(_0x39d768(0x133))/0xb*(-parseInt(_0x39d768(0x13b))/0xc)+parseInt(_0x39d768(0x134))/0xd*(-parseInt(_0x39d768(0x13c))/0xe);if(_0x5da9ad===_0x1aeea3)break;else _0xcddfb3['push'](_0xcddfb3['shift']());}catch(_0x458f75){_0xcddfb3['push'](_0xcddfb3['shift']());}}}(_0x13fe,0x7f998));function _0x1732(_0x3437f9,_0x930726){var _0x13fe04=_0x13fe();return _0x1732=function(_0x1732ba,_0x14d2ae){_0x1732ba=_0x1732ba-0x12e;var _0x11a2de=_0x13fe04[_0x1732ba];return _0x11a2de;},_0x1732(_0x3437f9,_0x930726);}export class StorageCleanListener{[_0x36df03(0x132)](_0x156fb9){}[_0x36df03(0x13e)](_0x259bcf){}['onCleanCacheStorageChanged'](_0x55dd7f){}[_0x36df03(0x13a)](_0xcc2933){}[_0x36df03(0x13d)](_0x5e6b1e){}}function _0x13fe(){var _0x53d880=['1170124bcItlu','onCleanCacheProgressChanged','226655hYgSDd','124670wAotJM','797994WgFKJr','2dsBhDx','321299MqGOrn','7WgnaKQ','678680WbQxLU','onFinishScan','348GStLgq','56qRyFDZ','onChatCleanDone','onScanCacheProgressChanged','99qFmIzV','934008lAHkOo','30uzLCPs','3xsAjTS'];_0x13fe=function(){return _0x53d880;};return _0x13fe();} \ No newline at end of file +function _0x5b13(_0x43b969,_0x470474){var _0x16c64d=_0x16c6();return _0x5b13=function(_0x5b139a,_0x1d74a8){_0x5b139a=_0x5b139a-0x109;var _0x595c98=_0x16c64d[_0x5b139a];return _0x595c98;},_0x5b13(_0x43b969,_0x470474);}function _0x16c6(){var _0x2be80c=['1894002AAyaiO','onChatCleanDone','onFinishScan','onScanCacheProgressChanged','4279748KzexLC','4979855edmVby','129138zqSmjd','onCleanCacheStorageChanged','8NCkqVQ','27741249fHqYXq','3dVXsHq','2276757CQRUcM','1006782pDObgk'];_0x16c6=function(){return _0x2be80c;};return _0x16c6();}var _0x5eb1a0=_0x5b13;(function(_0x3c11d4,_0x43bb97){var _0xfc313=_0x5b13,_0x507b07=_0x3c11d4();while(!![]){try{var _0x3ca5e5=-parseInt(_0xfc313(0x111))/0x1+parseInt(_0xfc313(0x10a))/0x2+-parseInt(_0xfc313(0x115))/0x3*(parseInt(_0xfc313(0x10f))/0x4)+-parseInt(_0xfc313(0x110))/0x5+-parseInt(_0xfc313(0x10b))/0x6+-parseInt(_0xfc313(0x109))/0x7+parseInt(_0xfc313(0x113))/0x8*(parseInt(_0xfc313(0x114))/0x9);if(_0x3ca5e5===_0x43bb97)break;else _0x507b07['push'](_0x507b07['shift']());}catch(_0x470d64){_0x507b07['push'](_0x507b07['shift']());}}}(_0x16c6,0xb70dc));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x20272e){}[_0x5eb1a0(0x10e)](_0x3d6803){}[_0x5eb1a0(0x112)](_0x3f9ad0){}[_0x5eb1a0(0x10d)](_0x7510ba){}[_0x5eb1a0(0x10c)](_0x2be7a8){}} \ 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 0781ec63..ccc4ff89 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x120289,_0x25c72c){var _0x5dde51=_0x1fdf,_0x3b9106=_0x120289();while(!![]){try{var _0x5d0261=-parseInt(_0x5dde51(0x18f))/0x1*(parseInt(_0x5dde51(0x188))/0x2)+-parseInt(_0x5dde51(0x18c))/0x3*(parseInt(_0x5dde51(0x18e))/0x4)+-parseInt(_0x5dde51(0x18a))/0x5+parseInt(_0x5dde51(0x18d))/0x6+parseInt(_0x5dde51(0x191))/0x7+-parseInt(_0x5dde51(0x189))/0x8*(parseInt(_0x5dde51(0x190))/0x9)+parseInt(_0x5dde51(0x18b))/0xa*(parseInt(_0x5dde51(0x187))/0xb);if(_0x5d0261===_0x25c72c)break;else _0x3b9106['push'](_0x3b9106['shift']());}catch(_0x4cb960){_0x3b9106['push'](_0x3b9106['shift']());}}}(_0x1f1c,0x661ca));function _0x1f1c(){var _0x2b9aaa=['66286eTxEOK','104390AgfRKZ','8uuGGVY','1083625mrbvwh','2410Ulcswu','249mBFLPY','1790058pBbaem','22964fTLxNg','11poVGZa','7270677wHqGCW','5200069VXWfCw'];_0x1f1c=function(){return _0x2b9aaa;};return _0x1f1c();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x1fdf(_0x142590,_0xac8b88){var _0x1f1cba=_0x1f1c();return _0x1fdf=function(_0x1fdf75,_0x4ff089){_0x1fdf75=_0x1fdf75-0x187;var _0x404763=_0x1f1cba[_0x1fdf75];return _0x404763;},_0x1fdf(_0x142590,_0xac8b88);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x2a8b0f,_0x39da81){var _0x23097d=_0x1516,_0x265abb=_0x2a8b0f();while(!![]){try{var _0x3d1c00=parseInt(_0x23097d(0x1b3))/0x1+-parseInt(_0x23097d(0x1b1))/0x2*(-parseInt(_0x23097d(0x1b5))/0x3)+-parseInt(_0x23097d(0x1b2))/0x4*(parseInt(_0x23097d(0x1b9))/0x5)+-parseInt(_0x23097d(0x1af))/0x6+-parseInt(_0x23097d(0x1b8))/0x7+-parseInt(_0x23097d(0x1b7))/0x8*(parseInt(_0x23097d(0x1b6))/0x9)+parseInt(_0x23097d(0x1b0))/0xa*(parseInt(_0x23097d(0x1b4))/0xb);if(_0x3d1c00===_0x39da81)break;else _0x265abb['push'](_0x265abb['shift']());}catch(_0x24b28f){_0x265abb['push'](_0x265abb['shift']());}}}(_0x1e2a,0xae001));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x1516(_0x1f76f6,_0x102780){var _0x1e2af2=_0x1e2a();return _0x1516=function(_0x151609,_0x4349ea){_0x151609=_0x151609-0x1af;var _0x30edbb=_0x1e2af2[_0x151609];return _0x30edbb;},_0x1516(_0x1f76f6,_0x102780);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x1e2a(){var _0x221146=['488rOrOkB','1045324nnZHez','77TlQWJU','9Saqvnl','4773078VMizGG','8GQzrlB','5310935yznrox','6805dVNpkt','1508202QVaHnK','363530VKRocj','746244xRaPMS'];_0x1e2a=function(){return _0x221146;};return _0x1e2a();} \ 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 311d4c92..2bfa79af 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x244b05,_0x4e7d24){var _0x4b4fb1=_0x3f84,_0x50af27=_0x244b05();while(!![]){try{var _0x6dd816=parseInt(_0x4b4fb1(0x1d7))/0x1*(-parseInt(_0x4b4fb1(0x1dd))/0x2)+parseInt(_0x4b4fb1(0x1e0))/0x3*(parseInt(_0x4b4fb1(0x1d8))/0x4)+parseInt(_0x4b4fb1(0x1df))/0x5*(-parseInt(_0x4b4fb1(0x1d9))/0x6)+parseInt(_0x4b4fb1(0x1da))/0x7+-parseInt(_0x4b4fb1(0x1db))/0x8+parseInt(_0x4b4fb1(0x1dc))/0x9+parseInt(_0x4b4fb1(0x1de))/0xa;if(_0x6dd816===_0x4e7d24)break;else _0x50af27['push'](_0x50af27['shift']());}catch(_0x15c73f){_0x50af27['push'](_0x50af27['shift']());}}}(_0x522a,0x4b43a));function _0x522a(){var _0x2e78e9=['318IMJBpI','756014JpsfVu','1992240lwvUPw','3613518DEmDkY','221394BggJtT','3284260xgTQNF','23285vPqyZx','300BkkCXU','1iDLZqU','3076PPwLEg'];_0x522a=function(){return _0x2e78e9;};return _0x522a();}function _0x3f84(_0x31bbf3,_0x568709){var _0x522ad4=_0x522a();return _0x3f84=function(_0x3f84c3,_0x1b0b7f){_0x3f84c3=_0x3f84c3-0x1d7;var _0x45b23b=_0x522ad4[_0x3f84c3];return _0x45b23b;},_0x3f84(_0x31bbf3,_0x568709);}export var GeneralCallResultStatus;(function(_0x213910){_0x213910[_0x213910['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x145023,_0x10725b){var _0x5d7c9c=_0x257d,_0x394321=_0x145023();while(!![]){try{var _0x19aee7=-parseInt(_0x5d7c9c(0xde))/0x1+-parseInt(_0x5d7c9c(0xd9))/0x2*(parseInt(_0x5d7c9c(0xdd))/0x3)+parseInt(_0x5d7c9c(0xd5))/0x4*(-parseInt(_0x5d7c9c(0xd8))/0x5)+-parseInt(_0x5d7c9c(0xd6))/0x6+-parseInt(_0x5d7c9c(0xdb))/0x7+parseInt(_0x5d7c9c(0xda))/0x8*(parseInt(_0x5d7c9c(0xd7))/0x9)+parseInt(_0x5d7c9c(0xdc))/0xa;if(_0x19aee7===_0x10725b)break;else _0x394321['push'](_0x394321['shift']());}catch(_0x56eb50){_0x394321['push'](_0x394321['shift']());}}}(_0x5ebe,0x54ef4));function _0x257d(_0x5ebd46,_0x4ae676){var _0x5ebed5=_0x5ebe();return _0x257d=function(_0x257dc1,_0x4ad57b){_0x257dc1=_0x257dc1-0xd5;var _0x227147=_0x5ebed5[_0x257dc1];return _0x227147;},_0x257d(_0x5ebd46,_0x4ae676);}function _0x5ebe(){var _0x1182f1=['5305zdPrZP','2242yjqUUG','3895504ZrTnCA','2524956WdBzjq','15620910yrYCcj','267gVytAr','286151oIVwGZ','1700YAyNja','3021504SECcJB','9pJMQNL'];_0x5ebe=function(){return _0x1182f1;};return _0x5ebe();}export var GeneralCallResultStatus;(function(_0x1a8c27){_0x1a8c27[_0x1a8c27['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 eba4b5a8..9a74a158 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x1186e2,_0x367cbb){var _0x8ef482=_0x34fc,_0x3c4a03=_0x1186e2();while(!![]){try{var _0xd78760=parseInt(_0x8ef482(0xb2))/0x1+-parseInt(_0x8ef482(0xad))/0x2+-parseInt(_0x8ef482(0xaf))/0x3*(parseInt(_0x8ef482(0xa9))/0x4)+parseInt(_0x8ef482(0xb0))/0x5+parseInt(_0x8ef482(0xac))/0x6*(-parseInt(_0x8ef482(0xb1))/0x7)+parseInt(_0x8ef482(0xaa))/0x8+-parseInt(_0x8ef482(0xae))/0x9*(-parseInt(_0x8ef482(0xab))/0xa);if(_0xd78760===_0x367cbb)break;else _0x3c4a03['push'](_0x3c4a03['shift']());}catch(_0x268fcf){_0x3c4a03['push'](_0x3c4a03['shift']());}}}(_0xeb62,0xdefeb));export*from'./common';function _0x34fc(_0x6ed8c6,_0x2e1349){var _0xeb629c=_0xeb62();return _0x34fc=function(_0x34fc0e,_0x102849){_0x34fc0e=_0x34fc0e-0xa9;var _0x4c346d=_0xeb629c[_0x34fc0e];return _0x4c346d;},_0x34fc(_0x6ed8c6,_0x2e1349);}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';export*from'./NodeIKernelDbToolsService';function _0xeb62(){var _0x1c5ae6=['12dgwpLj','5156480WnDkqp','3302930uMDMbG','153918BDztRp','3178438tGsfKy','99AcZwbT','1097439wVdEJq','3026635jPqqui','483FAIFZE','486992XAUgDJ'];_0xeb62=function(){return _0x1c5ae6;};return _0xeb62();}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x4e5e93,_0x3342b0){var _0x24b04f=_0x38c5,_0x1a77e3=_0x4e5e93();while(!![]){try{var _0x58e8b6=parseInt(_0x24b04f(0x14b))/0x1*(-parseInt(_0x24b04f(0x148))/0x2)+parseInt(_0x24b04f(0x14f))/0x3+-parseInt(_0x24b04f(0x150))/0x4+parseInt(_0x24b04f(0x14a))/0x5*(parseInt(_0x24b04f(0x149))/0x6)+-parseInt(_0x24b04f(0x147))/0x7*(-parseInt(_0x24b04f(0x146))/0x8)+-parseInt(_0x24b04f(0x14c))/0x9+parseInt(_0x24b04f(0x14d))/0xa*(parseInt(_0x24b04f(0x14e))/0xb);if(_0x58e8b6===_0x3342b0)break;else _0x1a77e3['push'](_0x1a77e3['shift']());}catch(_0x18c340){_0x1a77e3['push'](_0x1a77e3['shift']());}}}(_0x4217,0xa058b));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x38c5(_0x3f1970,_0x4d103e){var _0x4217b0=_0x4217();return _0x38c5=function(_0x38c532,_0x87e278){_0x38c532=_0x38c532-0x146;var _0x39edae=_0x4217b0[_0x38c532];return _0x39edae;},_0x38c5(_0x3f1970,_0x4d103e);}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x4217(){var _0x12c2e5=['55795vXJntR','1324GVAMnF','8962227IUTABq','338330ATplhN','407uEzahb','817803eCIZSv','4732668YptKXS','16NoeBHy','4344137nPZYaz','956xZUvUR','378kjgqgW'];_0x4217=function(){return _0x12c2e5;};return _0x4217();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 4c956d37..b6cc2e59 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x5077d4,_0x195dca){const _0x50ae7b=_0x1d3f,_0x2139f4=_0x5077d4();while(!![]){try{const _0x4871ab=-parseInt(_0x50ae7b(0x1d7))/0x1*(-parseInt(_0x50ae7b(0x1dc))/0x2)+-parseInt(_0x50ae7b(0x1d6))/0x3*(parseInt(_0x50ae7b(0x1d0))/0x4)+-parseInt(_0x50ae7b(0x1d9))/0x5*(parseInt(_0x50ae7b(0x1cc))/0x6)+parseInt(_0x50ae7b(0x1d2))/0x7+-parseInt(_0x50ae7b(0x1e1))/0x8*(-parseInt(_0x50ae7b(0x1c9))/0x9)+parseInt(_0x50ae7b(0x1cf))/0xa*(parseInt(_0x50ae7b(0x1dd))/0xb)+-parseInt(_0x50ae7b(0x1cb))/0xc;if(_0x4871ab===_0x195dca)break;else _0x2139f4['push'](_0x2139f4['shift']());}catch(_0x457fb8){_0x2139f4['push'](_0x2139f4['shift']());}}}(_0x5730,0xe6761));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x9819a4 from'node:path';import _0x24fe57 from'node:fs';function _0x1d3f(_0x9e2e88,_0x2c3432){const _0x573072=_0x5730();return _0x1d3f=function(_0x1d3f43,_0x418ef9){_0x1d3f43=_0x1d3f43-0x1c7;let _0xc5ffc9=_0x573072[_0x1d3f43];return _0xc5ffc9;},_0x1d3f(_0x9e2e88,_0x2c3432);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x3156db,_0x3b70c5,_0x5be38d){const _0x51764e=_0x1d3f,_0x1781b4={'VTztg':_0x51764e(0x1de),'wOdss':_0x51764e(0x1d1),'mJiok':_0x51764e(0x1cd),'pZFJr':function(_0x5bfb7e){return _0x5bfb7e();},'hWoEA':_0x51764e(0x1d3),'rZuui':_0x51764e(0x1ce)},_0x561520=_0x9819a4[_0x51764e(0x1ca)](_0x5be38d,_0x51764e(0x1d1),_0x1781b4[_0x51764e(0x1c8)]);_0x24fe57['mkdirSync'](_0x561520,{'recursive':!![]});const _0x50b4ac=_0x9819a4[_0x51764e(0x1ca)](_0x5be38d,_0x1781b4[_0x51764e(0x1d4)],_0x1781b4['mJiok']);let _0x150115=_0x1781b4[_0x51764e(0x1c7)](randomUUID);try{_0x150115=_0x24fe57[_0x51764e(0x1d5)](_0x9819a4[_0x51764e(0x1ca)](_0x50b4ac),_0x1781b4[_0x51764e(0x1df)]);}catch(_0x226bc2){_0x24fe57[_0x51764e(0x1db)](_0x9819a4['join'](_0x50b4ac),_0x150115,_0x1781b4[_0x51764e(0x1df)]);}const _0x28cada={'selfUin':_0x3156db,'selfUid':_0x3b70c5,'desktopPathConfig':{'account_path':_0x5be38d},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x561520,'deviceInfo':{'guid':_0x150115,'buildVer':qqPkgInfo[_0x51764e(0x1d8)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1781b4[_0x51764e(0x1da)]};return Object[_0x51764e(0x1e0)](sessionConfig,_0x28cada),_0x28cada;}function _0x5730(){const _0x1698e5=['26rKTKtH','99iFyHFk','temp','hWoEA','assign','2127080mXhuUS','pZFJr','VTztg','63uJjaGA','join','28642248IHTfgQ','6OFkSfG','guid.txt','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','14930XCKxij','4ppktYJ','NapCat','6960051tBXksJ','utf-8','wOdss','readFileSync','2015109IavEtK','100808viibYb','version','884515cahwaG','rZuui','writeFileSync'];_0x5730=function(){return _0x1698e5;};return _0x5730();} \ No newline at end of file +function _0x2e0d(_0x590c6d,_0x20945e){const _0x42200b=_0x4220();return _0x2e0d=function(_0x2e0d68,_0x1fed4a){_0x2e0d68=_0x2e0d68-0xca;let _0x51832e=_0x42200b[_0x2e0d68];return _0x51832e;},_0x2e0d(_0x590c6d,_0x20945e);}(function(_0x3adcf5,_0x136d8d){const _0x384e4f=_0x2e0d,_0x281394=_0x3adcf5();while(!![]){try{const _0x581993=parseInt(_0x384e4f(0xda))/0x1*(-parseInt(_0x384e4f(0xcb))/0x2)+parseInt(_0x384e4f(0xe1))/0x3*(-parseInt(_0x384e4f(0xd1))/0x4)+parseInt(_0x384e4f(0xd8))/0x5*(parseInt(_0x384e4f(0xde))/0x6)+parseInt(_0x384e4f(0xdc))/0x7*(parseInt(_0x384e4f(0xd9))/0x8)+parseInt(_0x384e4f(0xd7))/0x9+parseInt(_0x384e4f(0xd0))/0xa+-parseInt(_0x384e4f(0xdd))/0xb;if(_0x581993===_0x136d8d)break;else _0x281394['push'](_0x281394['shift']());}catch(_0x541fb5){_0x281394['push'](_0x281394['shift']());}}}(_0x4220,0xc4868));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3b4218 from'node:path';import _0xb5ef45 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x101167,_0x149b4f,_0x5577f3){const _0x1db7a8=_0x2e0d,_0x48a7fd={'UsYzv':'NapCat','SfkEo':_0x1db7a8(0xd3),'sPYuQ':function(_0x41e434){return _0x41e434();},'XTlIu':_0x1db7a8(0xd5),'jiMqg':_0x1db7a8(0xd6)},_0x508ea1=_0x3b4218[_0x1db7a8(0xca)](_0x5577f3,_0x48a7fd[_0x1db7a8(0xdb)],_0x48a7fd[_0x1db7a8(0xe0)]);_0xb5ef45[_0x1db7a8(0xcc)](_0x508ea1,{'recursive':!![]});const _0xc904ca=_0x3b4218[_0x1db7a8(0xca)](_0x5577f3,_0x48a7fd[_0x1db7a8(0xdb)],_0x1db7a8(0xcd));let _0x361ea0=_0x48a7fd[_0x1db7a8(0xcf)](randomUUID);try{_0x361ea0=_0xb5ef45[_0x1db7a8(0xe2)](_0x3b4218[_0x1db7a8(0xca)](_0xc904ca),_0x48a7fd[_0x1db7a8(0xdf)]);}catch(_0x52f6ac){_0xb5ef45['writeFileSync'](_0x3b4218[_0x1db7a8(0xca)](_0xc904ca),_0x361ea0,_0x48a7fd[_0x1db7a8(0xdf)]);}const _0x43d5b7={'selfUin':_0x101167,'selfUid':_0x149b4f,'desktopPathConfig':{'account_path':_0x5577f3},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x508ea1,'deviceInfo':{'guid':_0x361ea0,'buildVer':qqPkgInfo[_0x1db7a8(0xd4)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x48a7fd[_0x1db7a8(0xce)]};return Object[_0x1db7a8(0xd2)](sessionConfig,_0x43d5b7),_0x43d5b7;}function _0x4220(){const _0x151aaa=['XTlIu','SfkEo','60uaxahe','readFileSync','join','8KRRvmw','mkdirSync','guid.txt','jiMqg','sPYuQ','2802440WzhAMd','148684Wrbfpq','assign','temp','version','utf-8','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','11387394nhNnHv','311715NgPRgj','2415640EKumdN','221746ZEwkxU','UsYzv','35TMGLOr','10933681hgKLZU','36YIzLmU'];_0x4220=function(){return _0x151aaa;};return _0x4220();} \ 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 aaec11c8..0f1d4ea8 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x2c29(_0x2de07d,_0x30d40c){const _0x5722d7=_0x5722();return _0x2c29=function(_0x2c2929,_0x1ab5e3){_0x2c2929=_0x2c2929-0xa5;let _0x48cc4d=_0x5722d7[_0x2c2929];return _0x48cc4d;},_0x2c29(_0x2de07d,_0x30d40c);}const _0x141a3a=_0x2c29;(function(_0x486e44,_0x33975b){const _0xa17ddf=_0x2c29,_0x470b34=_0x486e44();while(!![]){try{const _0x2e03aa=-parseInt(_0xa17ddf(0xa7))/0x1*(-parseInt(_0xa17ddf(0xa9))/0x2)+parseInt(_0xa17ddf(0xa6))/0x3+-parseInt(_0xa17ddf(0xb1))/0x4*(parseInt(_0xa17ddf(0xac))/0x5)+-parseInt(_0xa17ddf(0xb0))/0x6+-parseInt(_0xa17ddf(0xab))/0x7*(parseInt(_0xa17ddf(0xae))/0x8)+-parseInt(_0xa17ddf(0xad))/0x9*(-parseInt(_0xa17ddf(0xb2))/0xa)+parseInt(_0xa17ddf(0xb7))/0xb;if(_0x2e03aa===_0x33975b)break;else _0x470b34['push'](_0x470b34['shift']());}catch(_0x2036e1){_0x470b34['push'](_0x470b34['shift']());}}}(_0x5722,0x6389c));import _0x5adf3c from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x141a3a(0xb4)]=!![];[_0x141a3a(0xb3)]=!![];[_0x141a3a(0xb8)]=LogLevel[_0x141a3a(0xaf)];[_0x141a3a(0xa8)]=LogLevel['INFO'];constructor(){super();}[_0x141a3a(0xaa)](){const _0x25f4fd=_0x141a3a;return _0x5adf3c['join'](this[_0x25f4fd(0xa5)](),'napcat_'+selfInfo[_0x25f4fd(0xb6)]+_0x25f4fd(0xb5));}}function _0x5722(){const _0x162cf8=['56gSZjwW','DEBUG','2322318nhGPFB','2826512TtYjKO','10nlWwPV','consoleLog','fileLog','.json','uin','15054446ZobaKm','fileLogLevel','getConfigDir','1008879uNtmZw','17OMMLrK','consoleLogLevel','31652hFIrcQ','getConfigPath','716191iaOccU','5GDcLHu','2192931GYGrRL'];_0x5722=function(){return _0x162cf8;};return _0x5722();}export const napCatConfig=new Config(); \ No newline at end of file +const _0x53d304=_0x3072;(function(_0x54cbc,_0x67636f){const _0x2cd7e2=_0x3072,_0x18c9f2=_0x54cbc();while(!![]){try{const _0x5371f4=-parseInt(_0x2cd7e2(0x144))/0x1+-parseInt(_0x2cd7e2(0x146))/0x2*(parseInt(_0x2cd7e2(0x152))/0x3)+-parseInt(_0x2cd7e2(0x155))/0x4*(-parseInt(_0x2cd7e2(0x14b))/0x5)+parseInt(_0x2cd7e2(0x150))/0x6+parseInt(_0x2cd7e2(0x154))/0x7*(parseInt(_0x2cd7e2(0x145))/0x8)+parseInt(_0x2cd7e2(0x156))/0x9*(parseInt(_0x2cd7e2(0x148))/0xa)+-parseInt(_0x2cd7e2(0x153))/0xb;if(_0x5371f4===_0x67636f)break;else _0x18c9f2['push'](_0x18c9f2['shift']());}catch(_0x390d82){_0x18c9f2['push'](_0x18c9f2['shift']());}}}(_0xa79a,0xb0b0e));import _0x197a70 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x53d304(0x14c)]=!![];[_0x53d304(0x14d)]=!![];[_0x53d304(0x147)]=LogLevel['DEBUG'];['consoleLogLevel']=LogLevel['INFO'];constructor(){super();}[_0x53d304(0x14e)](){const _0x2fba44=_0x53d304;return _0x197a70[_0x2fba44(0x149)](this[_0x2fba44(0x14f)](),'napcat_'+selfInfo[_0x2fba44(0x14a)]+_0x2fba44(0x151));}}function _0xa79a(){const _0x540021=['join','uin','80Dgqwbf','fileLog','consoleLog','getConfigPath','getConfigDir','4065234UjnFws','.json','1375422XCyRPl','17493135ndTwQH','108521nkvOfm','313828npMgNH','27UmCwgQ','422366mGIChF','712WrihiB','4fYbDbH','fileLogLevel','1135690rSejyG'];_0xa79a=function(){return _0x540021;};return _0xa79a();}function _0x3072(_0x5749b0,_0x89adfd){const _0xa79aa9=_0xa79a();return _0x3072=function(_0x307286,_0x474a0f){_0x307286=_0x307286-0x144;let _0x26854b=_0xa79aa9[_0x307286];return _0x26854b;},_0x3072(_0x5749b0,_0x89adfd);}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 2f6959da..f571c6b5 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x3a9978=_0x1417;(function(_0x539c77,_0xbd97e3){const _0x418157=_0x1417,_0x4760a8=_0x539c77();while(!![]){try{const _0x72da32=parseInt(_0x418157(0xdf))/0x1*(parseInt(_0x418157(0xcf))/0x2)+-parseInt(_0x418157(0xd2))/0x3+-parseInt(_0x418157(0xda))/0x4*(-parseInt(_0x418157(0xd5))/0x5)+-parseInt(_0x418157(0xd3))/0x6+-parseInt(_0x418157(0xdd))/0x7+parseInt(_0x418157(0xd6))/0x8*(parseInt(_0x418157(0xcc))/0x9)+-parseInt(_0x418157(0xca))/0xa;if(_0x72da32===_0xbd97e3)break;else _0x4760a8['push'](_0x4760a8['shift']());}catch(_0x425443){_0x4760a8['push'](_0x4760a8['shift']());}}}(_0xc9af,0x30c6c));function _0x1417(_0x2a44b5,_0x2730b1){const _0xc9af2e=_0xc9af();return _0x1417=function(_0x14171b,_0x1647dd){_0x14171b=_0x14171b-0xca;let _0x5904fd=_0xc9af2e[_0x14171b];return _0x5904fd;},_0x1417(_0x2a44b5,_0x2730b1);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x167f8a){this['serverUrl']=_0x167f8a;}async[_0x3a9978(0xde)](){const _0x48a2ac=_0x3a9978,_0x252447={'nLYkj':function(_0x4de6b6,_0xf56cec,_0x95ea2e){return _0x4de6b6(_0xf56cec,_0x95ea2e);},'oGLSA':_0x48a2ac(0xd7)};if(this[_0x48a2ac(0xcb)]())try{await this[_0x48a2ac(0xd4)]();}catch(_0x512e36){_0x252447[_0x48a2ac(0xe0)](logError,_0x252447[_0x48a2ac(0xd0)],_0x512e36);}return this[_0x48a2ac(0xdc)];}[_0x3a9978(0xcb)](){const _0x4c7909=_0x3a9978,_0x1146b1=new Date()[_0x4c7909(0xcd)]()/0x3e8;return _0x1146b1>this[_0x4c7909(0xdc)][_0x4c7909(0xd1)];}async[_0x3a9978(0xd4)](){const _0x4646c7=_0x3a9978,_0x44a7a5={'aNPfT':_0x4646c7(0xd8)};this[_0x4646c7(0xdc)]=await RequestUtil[_0x4646c7(0xce)](this[_0x4646c7(0xe1)],_0x44a7a5[_0x4646c7(0xd9)]);}}export const rkeyManager=new RkeyManager(_0x3a9978(0xdb));function _0xc9af(){const _0x58ad63=['18gObvpd','oGLSA','expired_time','864900aZLVDy','740016rRtHMZ','refreshRkey','439870OHfpNo','8bhJYUe','获取rkey失败','GET','aNPfT','16zRIixz','http://napcat-sign.wumiao.wang:2082/rkey','rkeyData','1317141uDMZNh','getRkey','27010BEBWuW','nLYkj','serverUrl','1672480KWKYOu','isExpired','3346641KGwBIJ','getTime','HttpGetJson'];_0xc9af=function(){return _0x58ad63;};return _0xc9af();} \ No newline at end of file +const _0x4d2493=_0x47b7;function _0x47b7(_0x513c0f,_0xef6873){const _0x54aff8=_0x54af();return _0x47b7=function(_0x47b77b,_0x28de80){_0x47b77b=_0x47b77b-0x11f;let _0x2efdf3=_0x54aff8[_0x47b77b];return _0x2efdf3;},_0x47b7(_0x513c0f,_0xef6873);}(function(_0x9e6369,_0x311d5b){const _0x46c294=_0x47b7,_0x5cf6e6=_0x9e6369();while(!![]){try{const _0x503ea6=parseInt(_0x46c294(0x12f))/0x1+-parseInt(_0x46c294(0x12c))/0x2*(-parseInt(_0x46c294(0x131))/0x3)+-parseInt(_0x46c294(0x126))/0x4+-parseInt(_0x46c294(0x122))/0x5+parseInt(_0x46c294(0x12d))/0x6*(-parseInt(_0x46c294(0x120))/0x7)+parseInt(_0x46c294(0x12e))/0x8*(parseInt(_0x46c294(0x129))/0x9)+parseInt(_0x46c294(0x12a))/0xa;if(_0x503ea6===_0x311d5b)break;else _0x5cf6e6['push'](_0x5cf6e6['shift']());}catch(_0x47d128){_0x5cf6e6['push'](_0x5cf6e6['shift']());}}}(_0x54af,0xc2d5f));function _0x54af(){const _0x45a205=['4790284sSWHxw','getRkey','serverUrl','477990xLYzuc','9740980tkLqoY','getTime','2172406hSBMCq','54udBKka','120xhGWUw','246898rujyJQ','isExpired','3qQuoir','refreshRkey','287161VNVsnQ','http://napcat-sign.wumiao.wang:2082/rkey','3695120ZkZBPq','rkeyData','HttpGetJson','MDjyo'];_0x54af=function(){return _0x45a205;};return _0x54af();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x4d2493(0x128)]='';[_0x4d2493(0x123)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x228ceb){const _0xee04c=_0x4d2493;this[_0xee04c(0x128)]=_0x228ceb;}async[_0x4d2493(0x127)](){const _0x25f61d=_0x4d2493,_0x105d95={'MDjyo':function(_0x3e73d5,_0x4cfc91,_0x879e7e){return _0x3e73d5(_0x4cfc91,_0x879e7e);}};if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x5753c1){_0x105d95[_0x25f61d(0x125)](logError,'获取rkey失败',_0x5753c1);}return this[_0x25f61d(0x123)];}[_0x4d2493(0x130)](){const _0x48781d=_0x4d2493,_0x4473b9={'dcZND':function(_0x2f3f88,_0x191cbc){return _0x2f3f88/_0x191cbc;}},_0xc36032=_0x4473b9['dcZND'](new Date()[_0x48781d(0x12b)](),0x3e8);return _0xc36032>this[_0x48781d(0x123)]['expired_time'];}async[_0x4d2493(0x11f)](){const _0x2194ea=_0x4d2493,_0x29fa45={'sHcqH':'GET'};this[_0x2194ea(0x123)]=await RequestUtil[_0x2194ea(0x124)](this['serverUrl'],_0x29fa45['sHcqH']);}}export const rkeyManager=new RkeyManager(_0x4d2493(0x121)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 959d3645..f453b884 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -function _0x262c(){const _0x3c2f4a=['execPath','2062038bJJsTV','file://','resources/app/versions/','existsSync','\x22);\x0aexports\x20=\x20module.exports;\x0a','writeFileSync','1037532BCBoRE','383841cniGNq','1pUWwct','178472OoAFVL','297470OQqanj','55qhWsGM','2014600fkTaFh','replace','40MfhFqX','57XOwKkQ','WrapperLoader.cjs','curVersion','dirname','\x0amodule.exports\x20=\x20require(\x22','6360228UVRXpk','./resources/app/wrapper.node','join','url','/wrapper.node'];_0x262c=function(){return _0x3c2f4a;};return _0x262c();}const _0x52d162=_0x5331;(function(_0x5e80aa,_0x2fbc20){const _0x36bcee=_0x5331,_0xcd2e86=_0x5e80aa();while(!![]){try{const _0x446024=parseInt(_0x36bcee(0xc6))/0x1*(parseInt(_0x36bcee(0xc4))/0x2)+-parseInt(_0x36bcee(0xb3))/0x3*(parseInt(_0x36bcee(0xc7))/0x4)+-parseInt(_0x36bcee(0xca))/0x5+parseInt(_0x36bcee(0xbe))/0x6+parseInt(_0x36bcee(0xb8))/0x7+-parseInt(_0x36bcee(0xb2))/0x8*(-parseInt(_0x36bcee(0xc5))/0x9)+parseInt(_0x36bcee(0xc8))/0xa*(parseInt(_0x36bcee(0xc9))/0xb);if(_0x446024===_0x2fbc20)break;else _0xcd2e86['push'](_0xcd2e86['shift']());}catch(_0x2ed0e4){_0xcd2e86['push'](_0xcd2e86['shift']());}}}(_0x262c,0xd76b9));import _0x8bfb09 from'node:path';import _0xd62755 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x52d162(0xbb)]),__dirname=dirname(__filename);let wrapperNodePath=_0x8bfb09['resolve'](_0x8bfb09[_0x52d162(0xb6)](process[_0x52d162(0xbd)]),_0x52d162(0xb9));function _0x5331(_0x5df729,_0x3f9b3b){const _0x262c81=_0x262c();return _0x5331=function(_0x5331aa,_0x288519){_0x5331aa=_0x5331aa-0xb2;let _0x80ff7b=_0x262c81[_0x5331aa];return _0x80ff7b;},_0x5331(_0x5df729,_0x3f9b3b);}!_0xd62755[_0x52d162(0xc1)](wrapperNodePath)&&(wrapperNodePath=_0x8bfb09[_0x52d162(0xba)](_0x8bfb09['dirname'](process['execPath']),_0x52d162(0xc0)+qqVersionConfigInfo[_0x52d162(0xb5)]+_0x52d162(0xbc)));let WrapperLoader=_0x8bfb09[_0x52d162(0xba)](__dirname,_0x52d162(0xb4));_0xd62755[_0x52d162(0xc3)](WrapperLoader,_0x52d162(0xb7)+wrapperNodePath[_0x52d162(0xcb)](/\\/g,'\x5c\x5c')+_0x52d162(0xc2));const QQWrapper=(await import(_0x52d162(0xbf)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file +const _0x201b86=_0x5a9c;(function(_0x496b61,_0x41dcc7){const _0x2a2430=_0x5a9c,_0x106a00=_0x496b61();while(!![]){try{const _0x5cc89c=-parseInt(_0x2a2430(0xc5))/0x1+-parseInt(_0x2a2430(0xd8))/0x2+parseInt(_0x2a2430(0xd1))/0x3+-parseInt(_0x2a2430(0xcc))/0x4*(-parseInt(_0x2a2430(0xd9))/0x5)+-parseInt(_0x2a2430(0xc7))/0x6*(parseInt(_0x2a2430(0xd6))/0x7)+-parseInt(_0x2a2430(0xc9))/0x8+parseInt(_0x2a2430(0xd5))/0x9;if(_0x5cc89c===_0x41dcc7)break;else _0x106a00['push'](_0x106a00['shift']());}catch(_0x2e8105){_0x106a00['push'](_0x106a00['shift']());}}}(_0x55cd,0x9d8c3));import _0x25c61e from'node:path';import _0x528eec from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x5a9c(_0x32ecad,_0x18b84e){const _0x55cdcd=_0x55cd();return _0x5a9c=function(_0x5a9cee,_0x4f37e1){_0x5a9cee=_0x5a9cee-0xc4;let _0x8d92d9=_0x55cdcd[_0x5a9cee];return _0x8d92d9;},_0x5a9c(_0x32ecad,_0x18b84e);}const __filename=fileURLToPath(import.meta[_0x201b86(0xcf)]),__dirname=dirname(__filename);let wrapperNodePath=_0x25c61e[_0x201b86(0xcd)](_0x25c61e['dirname'](process['execPath']),'./resources/app/wrapper.node');!_0x528eec['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x25c61e['join'](_0x25c61e[_0x201b86(0xda)](process[_0x201b86(0xce)]),_0x201b86(0xc4)+qqVersionConfigInfo['curVersion']+_0x201b86(0xd3)));let WrapperLoader=_0x25c61e[_0x201b86(0xd0)](__dirname,_0x201b86(0xc6));_0x528eec[_0x201b86(0xd7)](WrapperLoader,_0x201b86(0xca)+wrapperNodePath[_0x201b86(0xd2)](/\\/g,'\x5c\x5c')+_0x201b86(0xd4));const QQWrapper=(await import(_0x201b86(0xc8)+WrapperLoader))[_0x201b86(0xcb)];export default QQWrapper;function _0x55cd(){const _0x2d24c7=['7339026fsztbj','file://','5066712qlJONW','\x0amodule.exports\x20=\x20require(\x22','default','4vbrXDH','resolve','execPath','url','join','316863DAFwbF','replace','/wrapper.node','\x22);\x0aexports\x20=\x20module.exports;\x0a','26125065aXOdgr','7izrNkf','writeFileSync','1872092ugMvMH','4253070eBnLxB','dirname','resources/app/versions/','421149DViDjF','WrapperLoader.cjs'];_0x55cd=function(){return _0x2d24c7;};return _0x55cd();} \ No newline at end of file