From 907b5611eb5b5c5e801ad409f6fbe4d43eb8f52e 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: Tue, 28 May 2024 21:02:57 +0800 Subject: [PATCH] chore: sync core --- src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/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 +- 40 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/core b/src/core index 50cb003a..dc6d2ace 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 50cb003ab85f62a4b9830e426039d8208b66c5f3 +Subproject commit dc6d2ace4d494ae04b87f9f1aed8c8d88cf2e030 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index b245f306..437bf22c 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x4f4d(_0x30c911,_0x3629fb){var _0x319968=_0x3199();return _0x4f4d=function(_0x4f4ddd,_0x54371d){_0x4f4ddd=_0x4f4ddd-0x9a;var _0x5b2c9f=_0x319968[_0x4f4ddd];return _0x5b2c9f;},_0x4f4d(_0x30c911,_0x3629fb);}function _0x3199(){var _0x495ba3=['onMSFSsoError','4104009hClhgu','onMSFStatusChange','433061ZnlQqn','5180904CafCmp','5890920DCWbcb','3185176kMUkIu','4pVuSFj','7085UlsUwn','1805325vKmGWg','2118JSjFcP'];_0x3199=function(){return _0x495ba3;};return _0x3199();}var _0x1fb035=_0x4f4d;(function(_0x1a657e,_0x8372f8){var _0x4a2ac6=_0x4f4d,_0x60516b=_0x1a657e();while(!![]){try{var _0x8bd6f7=parseInt(_0x4a2ac6(0xa0))/0x1+-parseInt(_0x4a2ac6(0xa4))/0x2*(-parseInt(_0x4a2ac6(0x9b))/0x3)+-parseInt(_0x4a2ac6(0xa3))/0x4+-parseInt(_0x4a2ac6(0x9a))/0x5*(-parseInt(_0x4a2ac6(0x9c))/0x6)+-parseInt(_0x4a2ac6(0xa2))/0x7+parseInt(_0x4a2ac6(0xa1))/0x8+-parseInt(_0x4a2ac6(0x9e))/0x9;if(_0x8bd6f7===_0x8372f8)break;else _0x60516b['push'](_0x60516b['shift']());}catch(_0x4774b6){_0x60516b['push'](_0x60516b['shift']());}}}(_0x3199,0xa898a));export class DependsAdapter{[_0x1fb035(0x9f)](_0x3c70a7,_0x577f3f){}[_0x1fb035(0x9d)](_0x55b681){}['getGroupCode'](_0x267ddb){}} \ No newline at end of file +var _0x4286a3=_0xc001;function _0xc001(_0x4c2239,_0x96eba5){var _0x411e52=_0x411e();return _0xc001=function(_0xc0015f,_0xa050ce){_0xc0015f=_0xc0015f-0x131;var _0x38be80=_0x411e52[_0xc0015f];return _0x38be80;},_0xc001(_0x4c2239,_0x96eba5);}(function(_0x206675,_0x34f075){var _0x5471fa=_0xc001,_0x4a1e1e=_0x206675();while(!![]){try{var _0x27cb7b=-parseInt(_0x5471fa(0x139))/0x1+parseInt(_0x5471fa(0x134))/0x2*(-parseInt(_0x5471fa(0x137))/0x3)+parseInt(_0x5471fa(0x13a))/0x4+-parseInt(_0x5471fa(0x132))/0x5+-parseInt(_0x5471fa(0x138))/0x6*(parseInt(_0x5471fa(0x131))/0x7)+parseInt(_0x5471fa(0x135))/0x8*(-parseInt(_0x5471fa(0x13b))/0x9)+parseInt(_0x5471fa(0x136))/0xa;if(_0x27cb7b===_0x34f075)break;else _0x4a1e1e['push'](_0x4a1e1e['shift']());}catch(_0x138714){_0x4a1e1e['push'](_0x4a1e1e['shift']());}}}(_0x411e,0x450e7));function _0x411e(){var _0x755003=['214781tOSknq','1855195euFZTj','onMSFStatusChange','4714cSbHFO','8KTPhrc','17262790MMMkXf','141PjSgbd','102LdDKde','405414YILiZW','495392pIycFq','1425861FhlsKe','getGroupCode'];_0x411e=function(){return _0x755003;};return _0x411e();}export class DependsAdapter{[_0x4286a3(0x133)](_0x12de58,_0x1f0efe){}['onMSFSsoError'](_0xca0a39){}[_0x4286a3(0x13c)](_0x4c5eb1){}} \ 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 8891de4d..e84e36d6 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x5c6d99=_0x1273;(function(_0xd8dbfb,_0x5c5a6d){var _0x1dc1ef=_0x1273,_0xef1955=_0xd8dbfb();while(!![]){try{var _0x3f8541=-parseInt(_0x1dc1ef(0x109))/0x1+parseInt(_0x1dc1ef(0x108))/0x2*(parseInt(_0x1dc1ef(0x101))/0x3)+parseInt(_0x1dc1ef(0x10a))/0x4*(-parseInt(_0x1dc1ef(0x103))/0x5)+parseInt(_0x1dc1ef(0x104))/0x6*(parseInt(_0x1dc1ef(0x100))/0x7)+parseInt(_0x1dc1ef(0x10b))/0x8*(parseInt(_0x1dc1ef(0x102))/0x9)+parseInt(_0x1dc1ef(0x106))/0xa+-parseInt(_0x1dc1ef(0x10c))/0xb*(-parseInt(_0x1dc1ef(0x107))/0xc);if(_0x3f8541===_0x5c5a6d)break;else _0xef1955['push'](_0xef1955['shift']());}catch(_0x27c8f3){_0xef1955['push'](_0xef1955['shift']());}}}(_0x383e,0xd4c75));function _0x383e(){var _0x11da43=['5767362AJaMSN','10pACSUU','1400226tWMcNO','dispatchRequest','4845550eZunjL','72PZcWnP','844hOlhVI','821291RLKGaa','2931268TwhdZP','8DJgJfb','1596650mlYxvu','7ehjkcH','6603PDHmHE'];_0x383e=function(){return _0x11da43;};return _0x383e();}function _0x1273(_0x48b712,_0x40ebb3){var _0x383e8c=_0x383e();return _0x1273=function(_0x1273ca,_0x170b82){_0x1273ca=_0x1273ca-0x100;var _0x1f9683=_0x383e8c[_0x1273ca];return _0x1f9683;},_0x1273(_0x48b712,_0x40ebb3);}export class DispatcherAdapter{[_0x5c6d99(0x105)](_0x36d1ac){}['dispatchCall'](_0xbd73af){}['dispatchCallWithJson'](_0x2996ef){}} \ No newline at end of file +function _0x21e6(_0x440a57,_0x31f94d){var _0x12f5d4=_0x12f5();return _0x21e6=function(_0x21e66d,_0x4920fd){_0x21e66d=_0x21e66d-0x14d;var _0x526a9e=_0x12f5d4[_0x21e66d];return _0x526a9e;},_0x21e6(_0x440a57,_0x31f94d);}var _0x422013=_0x21e6;(function(_0x2fa66e,_0x22800f){var _0x3c19fc=_0x21e6,_0x156abb=_0x2fa66e();while(!![]){try{var _0x3cc608=parseInt(_0x3c19fc(0x15b))/0x1*(parseInt(_0x3c19fc(0x155))/0x2)+parseInt(_0x3c19fc(0x14f))/0x3*(parseInt(_0x3c19fc(0x14e))/0x4)+-parseInt(_0x3c19fc(0x157))/0x5*(parseInt(_0x3c19fc(0x153))/0x6)+parseInt(_0x3c19fc(0x15a))/0x7+-parseInt(_0x3c19fc(0x159))/0x8*(parseInt(_0x3c19fc(0x154))/0x9)+-parseInt(_0x3c19fc(0x152))/0xa*(-parseInt(_0x3c19fc(0x151))/0xb)+-parseInt(_0x3c19fc(0x14d))/0xc;if(_0x3cc608===_0x22800f)break;else _0x156abb['push'](_0x156abb['shift']());}catch(_0x339181){_0x156abb['push'](_0x156abb['shift']());}}}(_0x12f5,0x2b75c));function _0x12f5(){var _0x19fc02=['595HTUNEc','dispatchCall','647328fnItMm','555324BKjuJv','100sqUxWm','4116228XRMnZq','8ECbvNz','499635BYIhlI','dispatchCallWithJson','11JzQOIl','2169940VldTwi','1338JttKec','27HVAuMI','3218hAtPMn','dispatchRequest'];_0x12f5=function(){return _0x19fc02;};return _0x12f5();}export class DispatcherAdapter{[_0x422013(0x156)](_0x3d7e84){}[_0x422013(0x158)](_0x30bbe4){}[_0x422013(0x150)](_0x37dc2d){}} \ 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 a5e5afe7..3f4d5e29 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x553e76=_0x410d;(function(_0x5dcfef,_0x49a57e){var _0xa1e356=_0x410d,_0x282b21=_0x5dcfef();while(!![]){try{var _0x445a73=-parseInt(_0xa1e356(0x1f0))/0x1*(parseInt(_0xa1e356(0x1ec))/0x2)+parseInt(_0xa1e356(0x1e8))/0x3*(-parseInt(_0xa1e356(0x1ea))/0x4)+parseInt(_0xa1e356(0x1ed))/0x5+-parseInt(_0xa1e356(0x1f2))/0x6+parseInt(_0xa1e356(0x1f4))/0x7+parseInt(_0xa1e356(0x1f5))/0x8*(parseInt(_0xa1e356(0x1e9))/0x9)+parseInt(_0xa1e356(0x1f3))/0xa;if(_0x445a73===_0x49a57e)break;else _0x282b21['push'](_0x282b21['shift']());}catch(_0x1b7533){_0x282b21['push'](_0x282b21['shift']());}}}(_0xe405,0x86ec5));function _0x410d(_0x556c5,_0x2d4a33){var _0xe40526=_0xe405();return _0x410d=function(_0x410da8,_0x522bae){_0x410da8=_0x410da8-0x1e7;var _0x1e635f=_0xe40526[_0x410da8];return _0x1e635f;},_0x410d(_0x556c5,_0x2d4a33);}export class GlobalAdapter{[_0x553e76(0x1f1)](..._0x13f775){}[_0x553e76(0x1eb)](..._0x55eb41){}[_0x553e76(0x1ee)](..._0x3b6896){}[_0x553e76(0x1f6)](..._0x2dbee4){}[_0x553e76(0x1f7)](..._0x431eed){}[_0x553e76(0x1ef)](..._0x457c3c){}[_0x553e76(0x1e7)](..._0xaaca37){}['onGetOfflineMsg'](..._0x36d926){}}function _0xe405(){var _0x19c179=['3467325CCfBzg','onShowErrUITips','onInstallFinished','14leqfIY','onLog','5567334LEEnTM','11382110znDmWL','6628804POURqf','195792JNCyiZ','fixPicImgType','getAppSetting','onUpdateGeneralFlag','17454LkXwuY','108PDtyJy','708RLfbML','onGetSrvCalTime','80288oByaev'];_0xe405=function(){return _0x19c179;};return _0xe405();} \ No newline at end of file +var _0x2939c5=_0x5c92;function _0x444e(){var _0x387a96=['onGetOfflineMsg','508976CqGqPD','841056SpHjYV','1885953bvARcY','5vuDhBq','onUpdateGeneralFlag','539562iegsWb','1666696qZNLIt','1553646RwuGaH','300720tYgvjB'];_0x444e=function(){return _0x387a96;};return _0x444e();}function _0x5c92(_0x2b8964,_0x500df2){var _0x444e11=_0x444e();return _0x5c92=function(_0x5c92b2,_0x348f8a){_0x5c92b2=_0x5c92b2-0x96;var _0x5f1f53=_0x444e11[_0x5c92b2];return _0x5f1f53;},_0x5c92(_0x2b8964,_0x500df2);}(function(_0x12f213,_0x5b3c66){var _0x4b9e50=_0x5c92,_0x1df8cf=_0x12f213();while(!![]){try{var _0x3543f2=parseInt(_0x4b9e50(0x96))/0x1+-parseInt(_0x4b9e50(0x9b))/0x2+-parseInt(_0x4b9e50(0x98))/0x3+parseInt(_0x4b9e50(0x9c))/0x4+parseInt(_0x4b9e50(0x99))/0x5*(parseInt(_0x4b9e50(0x9d))/0x6)+-parseInt(_0x4b9e50(0x9e))/0x7+parseInt(_0x4b9e50(0x97))/0x8;if(_0x3543f2===_0x5b3c66)break;else _0x1df8cf['push'](_0x1df8cf['shift']());}catch(_0x48230a){_0x1df8cf['push'](_0x1df8cf['shift']());}}}(_0x444e,0x550ab));export class GlobalAdapter{['onLog'](..._0x134cfe){}['onGetSrvCalTime'](..._0x1ad4a8){}['onShowErrUITips'](..._0x4efcf4){}['fixPicImgType'](..._0x361410){}['getAppSetting'](..._0x59b72d){}['onInstallFinished'](..._0x5a6e5c){}[_0x2939c5(0x9a)](..._0x48be09){}[_0x2939c5(0x9f)](..._0x430918){}} \ 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 efa22523..f016588f 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x5d2c(_0x4ec6c3,_0x550021){var _0x3ff418=_0x3ff4();return _0x5d2c=function(_0x5d2cf8,_0x5d6a01){_0x5d2cf8=_0x5d2cf8-0xb7;var _0x5d1ff8=_0x3ff418[_0x5d2cf8];return _0x5d1ff8;},_0x5d2c(_0x4ec6c3,_0x550021);}(function(_0x11a37e,_0xb45554){var _0xa7c66c=_0x5d2c,_0x13ff9d=_0x11a37e();while(!![]){try{var _0x595e04=-parseInt(_0xa7c66c(0xb8))/0x1+-parseInt(_0xa7c66c(0xbe))/0x2+parseInt(_0xa7c66c(0xbb))/0x3*(parseInt(_0xa7c66c(0xba))/0x4)+parseInt(_0xa7c66c(0xbf))/0x5+-parseInt(_0xa7c66c(0xb7))/0x6+parseInt(_0xa7c66c(0xbd))/0x7+-parseInt(_0xa7c66c(0xbc))/0x8*(-parseInt(_0xa7c66c(0xb9))/0x9);if(_0x595e04===_0xb45554)break;else _0x13ff9d['push'](_0x13ff9d['shift']());}catch(_0x2a9bbf){_0x13ff9d['push'](_0x13ff9d['shift']());}}}(_0x3ff4,0xaa433));function _0x3ff4(){var _0x17fde9=['3921738NqCJYB','908657ZdVfxD','9MqIvpx','4cjqNpy','1769613WBaMVe','6830856rWZsiV','5025930PDqBse','1724168dbBciK','4800205BSgmrQ'];_0x3ff4=function(){return _0x17fde9;};return _0x3ff4();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x2ea151,_0x55cc34){var _0x38d405=_0x57a7,_0x4d6dfb=_0x2ea151();while(!![]){try{var _0x27d103=-parseInt(_0x38d405(0x1bd))/0x1*(-parseInt(_0x38d405(0x1c2))/0x2)+parseInt(_0x38d405(0x1bb))/0x3*(-parseInt(_0x38d405(0x1be))/0x4)+-parseInt(_0x38d405(0x1bf))/0x5*(-parseInt(_0x38d405(0x1c3))/0x6)+-parseInt(_0x38d405(0x1c0))/0x7+-parseInt(_0x38d405(0x1bc))/0x8+parseInt(_0x38d405(0x1c4))/0x9+-parseInt(_0x38d405(0x1c1))/0xa*(parseInt(_0x38d405(0x1c5))/0xb);if(_0x27d103===_0x55cc34)break;else _0x4d6dfb['push'](_0x4d6dfb['shift']());}catch(_0x4b2257){_0x4d6dfb['push'](_0x4d6dfb['shift']());}}}(_0x36fd,0x53bf0));export*from'./NodeIDependsAdapter';function _0x57a7(_0x100c5a,_0x54ff5f){var _0x36fd98=_0x36fd();return _0x57a7=function(_0x57a7aa,_0x1efa11){_0x57a7aa=_0x57a7aa-0x1bb;var _0x34959b=_0x36fd98[_0x57a7aa];return _0x34959b;},_0x57a7(_0x100c5a,_0x54ff5f);}export*from'./NodeIDispatcherAdapter';function _0x36fd(){var _0x309643=['35vQBpsy','1740284LmgFVU','1020940gmwWOG','1232aIFRDL','474072xaKzGu','4018950PKMWYM','33BpnFdQ','27339bOcqOC','1411032ZtBdjU','136cixToE','4niHgnn'];_0x36fd=function(){return _0x309643;};return _0x36fd();}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 f4cf3b02..cfd74245 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x187a19=_0x2448;(function(_0x55bf36,_0x234cbc){const _0x114f7a=_0x2448,_0x5b4656=_0x55bf36();while(!![]){try{const _0x576306=-parseInt(_0x114f7a(0x1c3))/0x1+-parseInt(_0x114f7a(0x1dc))/0x2*(-parseInt(_0x114f7a(0x1a0))/0x3)+-parseInt(_0x114f7a(0x1ac))/0x4+-parseInt(_0x114f7a(0x1bd))/0x5*(parseInt(_0x114f7a(0x1c2))/0x6)+parseInt(_0x114f7a(0x1d9))/0x7*(-parseInt(_0x114f7a(0x1b4))/0x8)+-parseInt(_0x114f7a(0x1a3))/0x9*(parseInt(_0x114f7a(0x1cb))/0xa)+-parseInt(_0x114f7a(0x19e))/0xb*(-parseInt(_0x114f7a(0x1a8))/0xc);if(_0x576306===_0x234cbc)break;else _0x5b4656['push'](_0x5b4656['shift']());}catch(_0x16613e){_0x5b4656['push'](_0x5b4656['shift']());}}}(_0x4e96,0xeb235));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x54c9d4 from'path';import _0x506249 from'fs';import _0x4607c7 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';function _0x2448(_0x3cb1e0,_0x5a045d){const _0x4e9644=_0x4e96();return _0x2448=function(_0x24487,_0x38bdc4){_0x24487=_0x24487-0x19c;let _0x1038bd=_0x4e9644[_0x24487];return _0x1038bd;},_0x2448(_0x3cb1e0,_0x5a045d);}import{calculateFileMD5}from'@/common/utils/file';import*as _0x4584d7 from'file-type';import{MsgListener}from'@/core/listeners';import _0x32dfec from'image-size';function _0x4e96(){const _0x1b589b=['getDesktopTmpPath','clearCache','indexOf','1554616OWbiQx','getCacheSessionPathList','scanCache','session','addCacheScanedPaths','DtkpH','getRichMediaFilePathForGuild','onRichMediaDownloadComplete','168OZJPif','nqIBZ','downloadRichMedia','getFileSize','iaVnv','ZvCWS','WUJuJ','acLEO','addCacheScannedPaths','155Tzxars','uploadFile','startsWith','onLoginSuccess','existsSync','100950NxlGMZ','689537ixCmPi','&rkey=','nkYHK','tmp','set','util','SLcKU','md5HexStr','858310SnedQK','getChatCacheInfo','PIC','copyFile','fileTypeFromFile','receive\x20downloadMedia\x20task','clearChatCacheInfo','private_rkey','clearCacheDataByKeys','setCacheSilentScan','tpyjX','getMsgService','downloadPath','originImageUrl','56623nAUXUW','jKFlA','getStorageCleanService','4PgLFPS','fileUuid','clearChatCache','cTYub','图片url获取失败','getImageUrl','defaultFileDownloadPath','BKvRb','basename','lasfG','group_rkey','oAnaJ','hotUpdate','pguYb','253wypNsO','filePath','848457tBUhAj','getFileType','/gchatpic_new/0/0-0-','153rkviBf','getHotUpdateCachePath','getRkey','ext','downloadMedia\x20complete','1891956bWTAbZ'];_0x4e96=function(){return _0x1b589b;};return _0x4e96();}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[_0x187a19(0x1b3)]=_0x2029c7=>{const _0x17962a=_0x187a19,_0x4a6f48={'oAnaJ':function(_0x3c9050,_0x5ac243){return _0x3c9050(_0x5ac243);}};for(const [_0x5f34b0,_0x4cf32f]of downloadMediaTasks){_0x4a6f48[_0x17962a(0x1e7)](_0x4cf32f,_0x2029c7),downloadMediaTasks['delete'](_0x5f34b0);}},setTimeout(()=>{const _0x30f3d0=_0x187a19;napCatCore[_0x30f3d0(0x1c0)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x187a19(0x1a1)](_0x34ccd9){const _0x295984=_0x187a19;return _0x4584d7[_0x295984(0x1cf)](_0x34ccd9);}static async[_0x187a19(0x1ce)](_0x33cbcf,_0x138701){const _0x549346=_0x187a19;await napCatCore[_0x549346(0x1c8)]['copyFile'](_0x33cbcf,_0x138701);}static async['getFileSize'](_0x52204c){const _0x62ad2f=_0x187a19;return await napCatCore['util'][_0x62ad2f(0x1b7)](_0x52204c);}static async[_0x187a19(0x1be)](_0x2ddf8a,_0x236fa3=ElementType[_0x187a19(0x1cd)],_0x448098=0x0){const _0x80e6a2=_0x187a19,_0x4c2bdf={'jKFlA':function(_0x406414,_0x308247){return _0x406414(_0x308247);},'WUJuJ':function(_0x56f079,_0x56e894){return _0x56f079+_0x56e894;}},_0x4bb1d1=await _0x4c2bdf[_0x80e6a2(0x1da)](calculateFileMD5,_0x2ddf8a);let _0x4a4000=(await NTQQFileApi[_0x80e6a2(0x1a1)](_0x2ddf8a))?.[_0x80e6a2(0x1a6)]||'';_0x4a4000&&(_0x4a4000=_0x4c2bdf[_0x80e6a2(0x1ba)]('.',_0x4a4000));let _0x591251=''+_0x54c9d4[_0x80e6a2(0x1e4)](_0x2ddf8a);_0x591251[_0x80e6a2(0x1ab)]('.')===-0x1&&(_0x591251+=_0x4a4000);const _0x215c4b=napCatCore['session'][_0x80e6a2(0x1d6)]()[_0x80e6a2(0x1b2)]({'md5HexStr':_0x4bb1d1,'fileName':_0x591251,'elementType':_0x236fa3,'elementSubType':_0x448098,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x2ddf8a,_0x215c4b);const _0x2ca7fa=await NTQQFileApi['getFileSize'](_0x2ddf8a);return{'md5':_0x4bb1d1,'fileName':_0x591251,'path':_0x215c4b,'fileSize':_0x2ca7fa,'ext':_0x4a4000};}static async['downloadMedia'](_0x7a3e53,_0x1852c9,_0x4d8b0e,_0x2a5ddd,_0xf9cbad,_0x591994,_0x1467ed=0x3e8*0x3c*0x2,_0x43d79b=![]){const _0x268dff=_0x187a19,_0x31b111={'ojHpt':function(_0x4002ca,_0x110ab3,_0x197726,_0x454354){return _0x4002ca(_0x110ab3,_0x197726,_0x454354);},'cTYub':_0x268dff(0x1a7),'ZvCWS':function(_0x1a5332,_0x1fe41d,_0x447750){return _0x1a5332(_0x1fe41d,_0x447750);},'tpyjX':_0x268dff(0x1d7),'nkYHK':function(_0x30947a,_0x38541a){return _0x30947a(_0x38541a);},'pguYb':'下载超时','DtkpH':function(_0xf76f3b){return _0xf76f3b();},'acLEO':function(_0x390bb7,_0x263cde,_0x40dff4,_0x138078,_0x3e7561,_0x1df638,_0x189b56,_0x366462,_0x55ab4a,_0x418fea){return _0x390bb7(_0x263cde,_0x40dff4,_0x138078,_0x3e7561,_0x1df638,_0x189b56,_0x366462,_0x55ab4a,_0x418fea);}};_0x31b111[_0x268dff(0x1bb)](logDebug,_0x268dff(0x1d0),_0x7a3e53,_0x1852c9,_0x4d8b0e,_0x2a5ddd,_0xf9cbad,_0x591994,_0x1467ed,_0x43d79b);if(_0x591994&&_0x506249[_0x268dff(0x1c1)](_0x591994)){if(_0x43d79b)try{await _0x4607c7['unlink'](_0x591994);}catch(_0x3bcf29){}else return _0x591994;}return logDebug('start\x20downloadMedia',_0x7a3e53,_0x1852c9,_0x4d8b0e,_0x2a5ddd,_0xf9cbad,_0x591994,_0x1467ed,_0x43d79b),new Promise((_0x571e35,_0x207ed7)=>{const _0x43e62f=_0x268dff;let _0x18d20b=![];const _0x1cc3c8=_0x386646=>{const _0x3d5130=_0x2448;_0x31b111['ojHpt'](logDebug,_0x31b111[_0x3d5130(0x1df)],_0x386646,_0x7a3e53);if(_0x386646['msgId']===_0x7a3e53){_0x18d20b=!![];let _0x5935d3=_0x386646[_0x3d5130(0x19f)];if(_0x5935d3[_0x3d5130(0x1bf)]('\x5c')){const _0x38a9c6=sessionConfig[_0x3d5130(0x1e2)];_0x31b111[_0x3d5130(0x1b9)](logDebug,_0x31b111[_0x3d5130(0x1d5)],_0x38a9c6),_0x5935d3=_0x54c9d4['join'](_0x38a9c6,_0x5935d3);}_0x31b111[_0x3d5130(0x1c5)](_0x571e35,_0x5935d3);}};downloadMediaTasks[_0x43e62f(0x1c7)](_0x31b111[_0x43e62f(0x1b1)](randomUUID),_0x1cc3c8),setTimeout(()=>{const _0x4fdf57=_0x43e62f;!_0x18d20b&&_0x31b111[_0x4fdf57(0x1c5)](_0x207ed7,_0x31b111[_0x4fdf57(0x19d)]);},_0x1467ed),napCatCore[_0x43e62f(0x1af)][_0x43e62f(0x1d6)]()[_0x43e62f(0x1b6)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x7a3e53,'chatType':_0x1852c9,'peerUid':_0x4d8b0e,'elementId':_0x2a5ddd,'thumbSize':0x0,'downloadType':0x1,'filePath':_0xf9cbad});});}static async['getImageSize'](_0x521974){const _0x362c48={'MWExB':function(_0x15a68c,_0x4bf9cc){return _0x15a68c(_0x4bf9cc);}};return new Promise((_0x3f7a2a,_0x3e794b)=>{const _0x4fc65c={'boTMb':function(_0x17a37c,_0x30451c){return _0x362c48['MWExB'](_0x17a37c,_0x30451c);},'iaVnv':function(_0x300c97,_0x313a7b){return _0x300c97(_0x313a7b);}};_0x32dfec(_0x521974,(_0x518767,_0x17eee2)=>{const _0x3e0332=_0x2448;_0x518767?_0x4fc65c['boTMb'](_0x3e794b,_0x518767):_0x4fc65c[_0x3e0332(0x1b8)](_0x3f7a2a,_0x17eee2);});});}static async[_0x187a19(0x1e1)](_0x5871fb,_0x1c8e93){const _0x34c779=_0x187a19,_0x1ab759={'nqIBZ':_0x34c779(0x1c4),'BKvRb':function(_0xc98c1f,_0x5910f1){return _0xc98c1f+_0x5910f1;},'FZbgW':function(_0x3eaa46,_0x5d559f){return _0x3eaa46||_0x5d559f;},'lasfG':function(_0xb6ae59,_0x257db4,_0x9bf43d){return _0xb6ae59(_0x257db4,_0x9bf43d);},'SLcKU':_0x34c779(0x1e0)};if(!_0x5871fb)return'';const _0x3c826f=_0x5871fb[_0x34c779(0x1d8)],_0x5ad3ce=_0x5871fb['md5HexStr'],_0x9c25ad=_0x5871fb[_0x34c779(0x1ca)],_0x155df9=_0x5871fb[_0x34c779(0x1dd)];if(_0x3c826f){if(_0x3c826f[_0x34c779(0x1bf)]('/download')){if(_0x3c826f['includes'](_0x1ab759[_0x34c779(0x1b5)]))return _0x1ab759['BKvRb'](IMAGE_HTTP_HOST_NT,_0x3c826f);const _0x3998ac=await rkeyManager[_0x34c779(0x1a5)](),_0x17252b=_0x1c8e93?_0x3998ac[_0x34c779(0x1d2)]:_0x3998ac[_0x34c779(0x1e6)];return _0x1ab759['BKvRb'](IMAGE_HTTP_HOST_NT,_0x3c826f)+(''+_0x17252b);}else return _0x1ab759[_0x34c779(0x1e3)](IMAGE_HTTP_HOST,_0x3c826f);}else{if(_0x9c25ad||_0x5ad3ce)return IMAGE_HTTP_HOST+_0x34c779(0x1a2)+_0x1ab759['FZbgW'](_0x9c25ad,_0x5ad3ce)['toUpperCase']()+'/0';}return _0x1ab759[_0x34c779(0x1e5)](logDebug,_0x1ab759[_0x34c779(0x1c9)],_0x5871fb),'';}}export class NTQQFileCacheApi{static async[_0x187a19(0x1d4)](_0x286fe1=!![]){return'';}static[_0x187a19(0x1ad)](){return'';}static[_0x187a19(0x1aa)](_0x5466da=[_0x187a19(0x1c6),_0x187a19(0x19c)]){const _0x533bb1=_0x187a19;return napCatCore[_0x533bb1(0x1af)]['getStorageCleanService']()[_0x533bb1(0x1d3)](_0x5466da);}static[_0x187a19(0x1bc)](_0x34aa83={}){const _0x33cf97=_0x187a19;return napCatCore['session']['getStorageCleanService']()[_0x33cf97(0x1b0)](_0x34aa83);}static['scanCache'](){const _0x14bbd9=_0x187a19;return napCatCore[_0x14bbd9(0x1af)]['getStorageCleanService']()[_0x14bbd9(0x1ae)]();}static[_0x187a19(0x1a4)](){return'';}static[_0x187a19(0x1a9)](){return'';}static['getChatCacheList'](_0xd5fa9a,_0xe6bf37=0x3e8,_0x229287=0x0){const _0x310e8e=_0x187a19;return napCatCore[_0x310e8e(0x1af)][_0x310e8e(0x1db)]()[_0x310e8e(0x1cc)](_0xd5fa9a,_0xe6bf37,0x1,_0x229287);}static['getFileCacheInfo'](_0x3f6a8d,_0x5adf9e=0x3e8,_0x594847){const _0x5ec836=_0x594847?_0x594847:{'fileType':_0x3f6a8d};}static async[_0x187a19(0x1de)](_0x310b75=[],_0x3bbe65=[]){const _0x1d3fb5=_0x187a19;return napCatCore[_0x1d3fb5(0x1af)][_0x1d3fb5(0x1db)]()[_0x1d3fb5(0x1d1)](_0x310b75,_0x3bbe65);}} \ No newline at end of file +const _0x55bf23=_0x309b;(function(_0x1e5f3e,_0x11d954){const _0x3a8fd9=_0x309b,_0x6b6c48=_0x1e5f3e();while(!![]){try{const _0x304267=-parseInt(_0x3a8fd9(0x184))/0x1+parseInt(_0x3a8fd9(0x183))/0x2*(parseInt(_0x3a8fd9(0x17e))/0x3)+parseInt(_0x3a8fd9(0x146))/0x4+parseInt(_0x3a8fd9(0x18a))/0x5*(-parseInt(_0x3a8fd9(0x176))/0x6)+parseInt(_0x3a8fd9(0x145))/0x7+parseInt(_0x3a8fd9(0x175))/0x8+-parseInt(_0x3a8fd9(0x171))/0x9;if(_0x304267===_0x11d954)break;else _0x6b6c48['push'](_0x6b6c48['shift']());}catch(_0x164b91){_0x6b6c48['push'](_0x6b6c48['shift']());}}}(_0x4b7d,0x7561b));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0xc33a9e from'path';import _0x194602 from'fs';import _0x51289b from'fs/promises';function _0x309b(_0x5411ff,_0x3c284d){const _0x4b7d54=_0x4b7d();return _0x309b=function(_0x309b7c,_0xaa3dff){_0x309b7c=_0x309b7c-0x143;let _0x5a311c=_0x4b7d54[_0x309b7c];return _0x5a311c;},_0x309b(_0x5411ff,_0x3c284d);}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x422dd5 from'file-type';import{MsgListener}from'@/core/listeners';function _0x4b7d(){const _0x5e59db=['delete','unlink','indexOf','392504sunuXl','2194732WxBveF','getChatCacheList','getRkey','ZYcOT','onRichMediaDownloadComplete','LjnmI','RRPXL','basename','tsKWI','downloadRichMedia','&rkey=','下载超时','getStorageCleanService','existsSync','getDesktopTmpPath','getRichMediaFilePathForGuild','MZNbB','clearCache','lhntQ','session','SinJG','HqPdx','ext','PqYKt','BgPux','addCacheScannedPaths','scanCache','getImageUrl','originImageUrl','getImageSize','getChatCacheInfo','getFileCacheInfo','/download','VCkwo','filePath','startsWith','hotUpdate','getCacheSessionPathList','getFileSize','private_rkey','defaultFileDownloadPath','toUpperCase','set','3060927Itmpuo','copyFile','clearCacheDataByKeys','downloadMedia','4951488fPtkZZ','5874TmoVck','IGetM','onLoginSuccess','mIbVI','addListener','FAKTz','md5HexStr','图片url获取失败','3RreJkS','UAvVb','/gchatpic_new/0/0-0-','getFileType','util','98364crEOaG','257154AKNFJx','setCacheSilentScan','getHotUpdateCachePath','PIC','getMsgService','clearChatCacheInfo','995ddeOsR','clearChatCache'];_0x4b7d=function(){return _0x5e59db;};return _0x4b7d();}import _0x219445 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x55bf23(0x14a)]=_0x30e1e9=>{const _0x1c8d6b=_0x55bf23,_0xd71df5={'BgPux':function(_0x4d57ee,_0x5393ba){return _0x4d57ee(_0x5393ba);}};for(const [_0x840339,_0x232915]of downloadMediaTasks){_0xd71df5[_0x1c8d6b(0x15e)](_0x232915,_0x30e1e9),downloadMediaTasks[_0x1c8d6b(0x18c)](_0x840339);}},setTimeout(()=>{const _0x14d545=_0x55bf23;napCatCore[_0x14d545(0x178)](()=>{const _0x222fa4=_0x14d545;napCatCore[_0x222fa4(0x17a)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x55bf23(0x181)](_0x296b01){return _0x422dd5['fileTypeFromFile'](_0x296b01);}static async[_0x55bf23(0x172)](_0x2b3e0c,_0x40e90b){const _0x41737f=_0x55bf23;await napCatCore[_0x41737f(0x182)][_0x41737f(0x172)](_0x2b3e0c,_0x40e90b);}static async[_0x55bf23(0x16c)](_0x54e9f){const _0x39c469=_0x55bf23;return await napCatCore[_0x39c469(0x182)]['getFileSize'](_0x54e9f);}static async['uploadFile'](_0x13eabc,_0x5c94e5=ElementType[_0x55bf23(0x187)],_0x263c29=0x0){const _0x1b9026=_0x55bf23,_0x41a1e0={'MZNbB':function(_0x572f59,_0x24ca78){return _0x572f59(_0x24ca78);},'FAKTz':function(_0x1f874b,_0x56add6){return _0x1f874b+_0x56add6;},'qCePU':function(_0x4ef9d7,_0x5f372d){return _0x4ef9d7===_0x5f372d;}},_0x343d6c=await _0x41a1e0[_0x1b9026(0x156)](calculateFileMD5,_0x13eabc);let _0x1c3003=(await NTQQFileApi[_0x1b9026(0x181)](_0x13eabc))?.[_0x1b9026(0x15c)]||'';_0x1c3003&&(_0x1c3003=_0x41a1e0[_0x1b9026(0x17b)]('.',_0x1c3003));let _0x5af45c=''+_0xc33a9e[_0x1b9026(0x14d)](_0x13eabc);_0x41a1e0['qCePU'](_0x5af45c[_0x1b9026(0x144)]('.'),-0x1)&&(_0x5af45c+=_0x1c3003);const _0x53f56c=napCatCore[_0x1b9026(0x159)]['getMsgService']()[_0x1b9026(0x155)]({'md5HexStr':_0x343d6c,'fileName':_0x5af45c,'elementType':_0x5c94e5,'elementSubType':_0x263c29,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x13eabc,_0x53f56c);const _0x3fc91e=await NTQQFileApi['getFileSize'](_0x13eabc);return{'md5':_0x343d6c,'fileName':_0x5af45c,'path':_0x53f56c,'fileSize':_0x3fc91e,'ext':_0x1c3003};}static async[_0x55bf23(0x174)](_0x46fce2,_0x41129a,_0x464b01,_0x56c4a5,_0x54d114,_0x2364e1,_0x115766=0x3e8*0x3c*0x2,_0x3ecd86=![]){const _0x1375d7=_0x55bf23,_0xed1a71={'PqYKt':function(_0x3e3bbb,_0x57af12){return _0x3e3bbb===_0x57af12;}};if(_0x2364e1&&_0x194602[_0x1375d7(0x153)](_0x2364e1)){if(_0x3ecd86)try{await _0x51289b[_0x1375d7(0x143)](_0x2364e1);}catch(_0x13648f){}else return _0x2364e1;}return new Promise((_0x48d40e,_0x19dccf)=>{const _0x2b4644=_0x1375d7,_0x11b88c={'lhntQ':function(_0x30ec35,_0x12143f){return _0x30ec35(_0x12143f);}};let _0xb0b014=![];const _0xe10cb3=_0x262dab=>{const _0x30b9d9=_0x309b;if(_0xed1a71[_0x30b9d9(0x15d)](_0x262dab['msgId'],_0x46fce2)){_0xb0b014=!![];let _0x23d81e=_0x262dab[_0x30b9d9(0x168)];if(_0x23d81e[_0x30b9d9(0x169)]('\x5c')){const _0x1ddeb9=sessionConfig[_0x30b9d9(0x16e)];_0x23d81e=_0xc33a9e['join'](_0x1ddeb9,_0x23d81e);}_0x48d40e(_0x23d81e);}};downloadMediaTasks[_0x2b4644(0x170)](randomUUID(),_0xe10cb3),setTimeout(()=>{const _0x44ed5e=_0x2b4644;!_0xb0b014&&_0x11b88c[_0x44ed5e(0x158)](_0x19dccf,_0x44ed5e(0x151));},_0x115766),napCatCore['session'][_0x2b4644(0x188)]()[_0x2b4644(0x14f)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x46fce2,'chatType':_0x41129a,'peerUid':_0x464b01,'elementId':_0x56c4a5,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x54d114});});}static async[_0x55bf23(0x163)](_0x4ed146){const _0x1176cd={'IGetM':function(_0x2f4b40,_0x222650){return _0x2f4b40(_0x222650);},'SinJG':function(_0x344f70,_0x5cd256){return _0x344f70(_0x5cd256);},'mIbVI':function(_0x5c5012,_0x4c23df,_0x993c98){return _0x5c5012(_0x4c23df,_0x993c98);}};return new Promise((_0x4ce4da,_0xca21cb)=>{const _0x1f94f3=_0x309b,_0x4b1d5e={'RRPXL':function(_0x50d35a,_0x5906ca){const _0x347b03=_0x309b;return _0x1176cd[_0x347b03(0x177)](_0x50d35a,_0x5906ca);},'xTSoy':function(_0x338374,_0xe88048){const _0x7df54e=_0x309b;return _0x1176cd[_0x7df54e(0x15a)](_0x338374,_0xe88048);}};_0x1176cd[_0x1f94f3(0x179)](_0x219445,_0x4ed146,(_0x20f474,_0x2cacbf)=>{const _0x24cc09=_0x1f94f3;_0x20f474?_0x4b1d5e[_0x24cc09(0x14c)](_0xca21cb,_0x20f474):_0x4b1d5e['xTSoy'](_0x4ce4da,_0x2cacbf);});});}static async[_0x55bf23(0x161)](_0x28c48c,_0x44e45e){const _0x38bd99=_0x55bf23,_0xbb0ca={'HqPdx':_0x38bd99(0x166),'tsKWI':_0x38bd99(0x150),'LjnmI':function(_0x2ee5bd,_0x142dd7){return _0x2ee5bd+_0x142dd7;},'fWupX':function(_0x132ac9,_0x168f18){return _0x132ac9+_0x168f18;},'GJpwf':function(_0x3d307e,_0x4cfba1){return _0x3d307e+_0x4cfba1;},'UAvVb':function(_0x3cecd2,_0x300f1e){return _0x3cecd2||_0x300f1e;},'ZYcOT':function(_0x1e4689,_0x1e8111,_0x2cd1fb){return _0x1e4689(_0x1e8111,_0x2cd1fb);},'VCkwo':_0x38bd99(0x17d)};if(!_0x28c48c)return'';const _0x4a6639=_0x28c48c[_0x38bd99(0x162)],_0xa7b803=_0x28c48c[_0x38bd99(0x17c)],_0x3aea04=_0x28c48c[_0x38bd99(0x17c)],_0x2fafc3=_0x28c48c['fileUuid'];if(_0x4a6639){if(_0x4a6639[_0x38bd99(0x169)](_0xbb0ca[_0x38bd99(0x15b)])){if(_0x4a6639['includes'](_0xbb0ca[_0x38bd99(0x14e)]))return _0xbb0ca[_0x38bd99(0x14b)](IMAGE_HTTP_HOST_NT,_0x4a6639);const _0x56fa09=await rkeyManager[_0x38bd99(0x148)](),_0x3c1d94=_0x44e45e?_0x56fa09[_0x38bd99(0x16d)]:_0x56fa09['group_rkey'];return _0xbb0ca['fWupX'](IMAGE_HTTP_HOST_NT,_0x4a6639)+(''+_0x3c1d94);}else return _0xbb0ca['GJpwf'](IMAGE_HTTP_HOST,_0x4a6639);}else{if(_0x3aea04||_0xa7b803)return IMAGE_HTTP_HOST+_0x38bd99(0x180)+_0xbb0ca[_0x38bd99(0x17f)](_0x3aea04,_0xa7b803)[_0x38bd99(0x16f)]()+'/0';}return _0xbb0ca[_0x38bd99(0x149)](logDebug,_0xbb0ca[_0x38bd99(0x167)],_0x28c48c),'';}}export class NTQQFileCacheApi{static async[_0x55bf23(0x185)](_0x4e0f0a=!![]){return'';}static[_0x55bf23(0x16b)](){return'';}static[_0x55bf23(0x157)](_0x100042=['tmp',_0x55bf23(0x16a)]){const _0x53d34d=_0x55bf23;return napCatCore[_0x53d34d(0x159)][_0x53d34d(0x152)]()[_0x53d34d(0x173)](_0x100042);}static[_0x55bf23(0x15f)](_0x8bbaa4={}){const _0x1f9779=_0x55bf23;return napCatCore[_0x1f9779(0x159)][_0x1f9779(0x152)]()['addCacheScanedPaths'](_0x8bbaa4);}static[_0x55bf23(0x160)](){const _0x13e780=_0x55bf23;return napCatCore[_0x13e780(0x159)][_0x13e780(0x152)]()[_0x13e780(0x160)]();}static[_0x55bf23(0x186)](){return'';}static[_0x55bf23(0x154)](){return'';}static[_0x55bf23(0x147)](_0x3d0d96,_0x11ad84=0x3e8,_0x4e3358=0x0){const _0x137aae=_0x55bf23;return napCatCore[_0x137aae(0x159)][_0x137aae(0x152)]()[_0x137aae(0x164)](_0x3d0d96,_0x11ad84,0x1,_0x4e3358);}static[_0x55bf23(0x165)](_0x34ce1a,_0x5b0f11=0x3e8,_0x455d1d){const _0x440dd8=_0x455d1d?_0x455d1d:{'fileType':_0x34ce1a};}static async[_0x55bf23(0x18b)](_0xf3d61e=[],_0x48cb84=[]){const _0x15d1cb=_0x55bf23;return napCatCore[_0x15d1cb(0x159)][_0x15d1cb(0x152)]()[_0x15d1cb(0x189)](_0xf3d61e,_0x48cb84);}} \ 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 18d5a029..d4603c0c 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x166616=_0x34fd;(function(_0x17e22e,_0x2b747a){const _0x282945=_0x34fd,_0x130943=_0x17e22e();while(!![]){try{const _0x416c79=parseInt(_0x282945(0x1e3))/0x1*(-parseInt(_0x282945(0x1d4))/0x2)+parseInt(_0x282945(0x1e4))/0x3*(-parseInt(_0x282945(0x1e8))/0x4)+parseInt(_0x282945(0x1d8))/0x5+parseInt(_0x282945(0x1e6))/0x6+-parseInt(_0x282945(0x1da))/0x7*(-parseInt(_0x282945(0x1dc))/0x8)+-parseInt(_0x282945(0x1ed))/0x9+-parseInt(_0x282945(0x1d9))/0xa*(-parseInt(_0x282945(0x1ef))/0xb);if(_0x416c79===_0x2b747a)break;else _0x130943['push'](_0x130943['shift']());}catch(_0x32172f){_0x130943['push'](_0x130943['shift']());}}}(_0x2b90,0xe1995));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';function _0x34fd(_0x1cabda,_0x1115f3){const _0x2b900c=_0x2b90();return _0x34fd=function(_0x34fd99,_0x47552e){_0x34fd99=_0x34fd99-0x1d3;let _0x36cf44=_0x2b900c[_0x34fd99];return _0x36cf44;},_0x34fd(_0x1cabda,_0x1115f3);}import{uid2UinMap}from'@/core/data';function _0x2b90(){const _0x2b970b=['uin','approvalFriendRequest','181591LlvHTf','3AlFVNv','addListener','2410536KoJQeI','INgyQ','7203568nMcBAx','BlZuS','getBuddyService','gEtnX','gOkwi','3687516tADKWQ','开始获取好友列表','3379563CbOqbg','push','buddyList','onBuddyListChange','iIgmN','获取好友列表超时','then','IIVXM','xoYsf','session','6oEUiDt','LVTqj','rOHaN','handleFriendRequest','6798775AeKItx','20SXwdVv','3605XHjtkv','EUJpm','20248PLjwAY','onLoginSuccess','获取好友列表完成','eNgnj','friendUid'];_0x2b90=function(){return _0x2b970b;};return _0x2b90();}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x166616(0x1f2)]=_0x529704=>{const _0x151ee5=_0x166616,_0x27a879={'xoYsf':function(_0x123a49,_0x1403eb){return _0x123a49(_0x1403eb);}};for(const [_0x5c9fb8,_0x32636c]of buddyChangeTasks){_0x27a879[_0x151ee5(0x1f7)](_0x32636c,_0x529704),buddyChangeTasks['delete'](_0x5c9fb8);}},setTimeout(()=>{const _0x40a377=_0x166616;napCatCore[_0x40a377(0x1dd)](()=>{const _0x5c99f9=_0x40a377;napCatCore[_0x5c99f9(0x1e5)](buddyListener);});},0x64);export class NTQQFriendApi{static async['getFriends'](_0x57ecd4=![]){const _0x4577a9=_0x166616,_0x5669ac={'gEtnX':function(_0x455f8e,_0xdec5e8){return _0x455f8e(_0xdec5e8);},'INgyQ':_0x4577a9(0x1f4),'BlZuS':function(_0x4af5c2,_0x27a35b,_0x192bb2){return _0x4af5c2(_0x27a35b,_0x192bb2);},'IIVXM':_0x4577a9(0x1ee),'rOHaN':function(_0x185a6d){return _0x185a6d();}};return new Promise((_0x451fe2,_0x13613f)=>{const _0x41cdd2=_0x4577a9,_0x36112b={'EUJpm':function(_0x3bcab7,_0x37373a){const _0x71259b=_0x34fd;return _0x5669ac[_0x71259b(0x1eb)](_0x3bcab7,_0x37373a);},'LVTqj':_0x5669ac[_0x41cdd2(0x1e7)],'eNgnj':function(_0x4ea5b0,_0x2a192c){const _0x4eab0f=_0x41cdd2;return _0x5669ac[_0x4eab0f(0x1eb)](_0x4ea5b0,_0x2a192c);},'gOkwi':function(_0x47a1b9,_0x7f3a88,_0x30b0f0){const _0x4b5b67=_0x41cdd2;return _0x5669ac[_0x4b5b67(0x1e9)](_0x47a1b9,_0x7f3a88,_0x30b0f0);},'iIgmN':_0x5669ac[_0x41cdd2(0x1f6)]};let _0xe4bdea=![];setTimeout(()=>{const _0x415b51=_0x41cdd2;!_0xe4bdea&&(_0x36112b[_0x415b51(0x1db)](logDebug,_0x36112b[_0x415b51(0x1d5)]),_0x13613f(_0x36112b[_0x415b51(0x1d5)]));},0x1388);const _0x568203=[],_0x2300d4=_0x2a0db9=>{const _0x524061=_0x41cdd2;for(const _0xd8267a of _0x2a0db9){for(const _0xc88a5 of _0xd8267a[_0x524061(0x1f1)]){_0x568203[_0x524061(0x1f0)](_0xc88a5),uid2UinMap[_0xc88a5['uid']]=_0xc88a5[_0x524061(0x1e1)];}}_0xe4bdea=!![],logDebug(_0x524061(0x1de),_0x568203),_0x36112b[_0x524061(0x1df)](_0x451fe2,_0x568203);};buddyChangeTasks['set'](_0x5669ac[_0x41cdd2(0x1d6)](randomUUID),_0x2300d4),napCatCore['session'][_0x41cdd2(0x1ea)]()['getBuddyList'](_0x57ecd4)[_0x41cdd2(0x1f5)](_0x41f29c=>{const _0x531ddb=_0x41cdd2;_0x36112b[_0x531ddb(0x1ec)](logDebug,_0x36112b[_0x531ddb(0x1f3)],_0x41f29c);});});}static async[_0x166616(0x1d7)](_0x5ec69b,_0x2d47b0){const _0x208d13=_0x166616;napCatCore[_0x208d13(0x1d3)]['getBuddyService']()?.[_0x208d13(0x1e2)]({'friendUid':_0x5ec69b[_0x208d13(0x1e0)],'reqTime':_0x5ec69b['reqTime'],'accept':_0x2d47b0});}} \ No newline at end of file +const _0x457e45=_0x4e0e;function _0x4b5b(){const _0x240b2b=['getBuddyService','uin','set','AKKSa','234905esmYTn','getFriends','handleFriendRequest','获取好友列表超时','then','24826QGlpMc','delete','reqTime','KdUKu','2718HumsHl','6MgUQiL','809763HqUALi','1595344wOHVui','push','uid','getBuddyList','qsLsI','onBuddyListChange','31AXCCFJ','NzWmT','2280061jdrGaL','approvalFriendRequest','16cTHQou','2765609liXDhA','onLoginSuccess','7500rqLYqO','friendUid','session'];_0x4b5b=function(){return _0x240b2b;};return _0x4b5b();}(function(_0xd63ec6,_0x2cba24){const _0x245a4a=_0x4e0e,_0x9931d6=_0xd63ec6();while(!![]){try{const _0x479e62=-parseInt(_0x245a4a(0x1e6))/0x1*(-parseInt(_0x245a4a(0x1f9))/0x2)+parseInt(_0x245a4a(0x1df))/0x3+parseInt(_0x245a4a(0x1ea))/0x4*(parseInt(_0x245a4a(0x1f4))/0x5)+-parseInt(_0x245a4a(0x1fe))/0x6*(parseInt(_0x245a4a(0x1e8))/0x7)+parseInt(_0x245a4a(0x1e0))/0x8+parseInt(_0x245a4a(0x1fd))/0x9*(-parseInt(_0x245a4a(0x1ed))/0xa)+-parseInt(_0x245a4a(0x1eb))/0xb;if(_0x479e62===_0x2cba24)break;else _0x9931d6['push'](_0x9931d6['shift']());}catch(_0x1bfb06){_0x9931d6['push'](_0x9931d6['shift']());}}}(_0x4b5b,0x3a358));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x4e0e(_0x492aba,_0x2490de){const _0x4b5b78=_0x4b5b();return _0x4e0e=function(_0x4e0ec9,_0x351c9d){_0x4e0ec9=_0x4e0ec9-0x1df;let _0x4612a2=_0x4b5b78[_0x4e0ec9];return _0x4612a2;},_0x4e0e(_0x492aba,_0x2490de);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x457e45(0x1e5)]=_0x1c2a8e=>{const _0x323186=_0x457e45,_0x3c7104={'HvjSC':function(_0x4f1440,_0x4d9691){return _0x4f1440(_0x4d9691);}};for(const [_0x5efea5,_0x480780]of buddyChangeTasks){_0x3c7104['HvjSC'](_0x480780,_0x1c2a8e),buddyChangeTasks[_0x323186(0x1fa)](_0x5efea5);}},setTimeout(()=>{const _0x377492=_0x457e45;napCatCore[_0x377492(0x1ec)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x457e45(0x1f5)](_0xb2ddf2=![]){const _0x328b82=_0x457e45,_0x1ce56b={'qsLsI':function(_0x4702e9,_0x283231){return _0x4702e9(_0x283231);},'KdUKu':_0x328b82(0x1f7),'NzWmT':function(_0x846f01,_0x413925){return _0x846f01(_0x413925);},'AKKSa':function(_0x40b5f6,_0x5b741f,_0x5ebbb3){return _0x40b5f6(_0x5b741f,_0x5ebbb3);}};return new Promise((_0x5ac26f,_0x263ade)=>{const _0x5d8984=_0x328b82;let _0x24f5a8=![];_0x1ce56b[_0x5d8984(0x1f3)](setTimeout,()=>{const _0x14e176=_0x5d8984;!_0x24f5a8&&(_0x1ce56b[_0x14e176(0x1e4)](logDebug,_0x1ce56b[_0x14e176(0x1fc)]),_0x1ce56b[_0x14e176(0x1e4)](_0x263ade,_0x14e176(0x1f7)));},0x1388);const _0x2a1e1e=[],_0x2b2771=_0x1b6532=>{const _0x4e755a=_0x5d8984;for(const _0x136476 of _0x1b6532){for(const _0x233f4d of _0x136476['buddyList']){_0x2a1e1e[_0x4e755a(0x1e1)](_0x233f4d),uid2UinMap[_0x233f4d[_0x4e755a(0x1e2)]]=_0x233f4d[_0x4e755a(0x1f1)];}}_0x24f5a8=!![],_0x1ce56b[_0x4e755a(0x1e7)](_0x5ac26f,_0x2a1e1e);};buddyChangeTasks[_0x5d8984(0x1f2)](randomUUID(),_0x2b2771),napCatCore[_0x5d8984(0x1ef)][_0x5d8984(0x1f0)]()[_0x5d8984(0x1e3)](_0xb2ddf2)[_0x5d8984(0x1f8)](_0x1d398c=>{logDebug('开始获取好友列表',_0x1d398c);});});}static async[_0x457e45(0x1f6)](_0x209772,_0x81cd4b){const _0x3648ed=_0x457e45;napCatCore[_0x3648ed(0x1ef)]['getBuddyService']()?.[_0x3648ed(0x1e9)]({'friendUid':_0x209772[_0x3648ed(0x1ee)],'reqTime':_0x209772[_0x3648ed(0x1fb)],'accept':_0x81cd4b});}} \ 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 b3fa6c5b..28748a5f 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x112f66=_0x1190;function _0x94f4(){const _0x5c2c2f=['getGroupService','zrWfB','set','seq','BUasQ','drkzc','onGroupSingleScreenNotifies','990YtGGrf','getGroupIgnoreNotifies','setGroupTitle','3559434piFAtA','createMemberListScene','setGroupShutUp','cpdQC','获取群(','220VnGEhY','getGroupNotifies','finish','finish:\x20','2104479ZAFGAj','type','getNextMemberList','获取群成员列表出错,','zrqqA','publishGroupBulletin','delete','session','getGroups','16670bLCyfQ','gEEfP','uploadGroupBulletinPic','quitGroup','VEFIM','SLPxi','fQHgX','rhUjm','QRWLi','onGroupListUpdate','uid','modifyGroupName','groupMemberList_MainWindow','getGroupMembers','banGroup','leCTL','7EGuQXg','modifyMemberRole','648gBAmIr','guPMk','vpSFT','infos','670195qnHjnW','errCode','UwndA','setMemberRole','1549536fBucex','20632hAaIdI','operateSysNotify','result','setMemberCard','ceKsx','getPSkey','IXdWe','kickMember','addListener','miNZT','then','qun.qq.com','获取群系统消息列表超时','326733EKCaLv','modifyMemberCardName','getSingleScreenNotifies','errMsg'];_0x94f4=function(){return _0x5c2c2f;};return _0x94f4();}(function(_0x5b5ff3,_0x330842){const _0xd1ba6d=_0x1190,_0x3d2072=_0x5b5ff3();while(!![]){try{const _0x6990e9=-parseInt(_0xd1ba6d(0xeb))/0x1+parseInt(_0xd1ba6d(0xef))/0x2+parseInt(_0xd1ba6d(0x114))/0x3+-parseInt(_0xd1ba6d(0xe7))/0x4*(parseInt(_0xd1ba6d(0x11d))/0x5)+-parseInt(_0xd1ba6d(0x10b))/0x6*(-parseInt(_0xd1ba6d(0xe5))/0x7)+-parseInt(_0xd1ba6d(0xf0))/0x8*(-parseInt(_0xd1ba6d(0x108))/0x9)+-parseInt(_0xd1ba6d(0x110))/0xa*(parseInt(_0xd1ba6d(0xfd))/0xb);if(_0x6990e9===_0x330842)break;else _0x3d2072['push'](_0x3d2072['shift']());}catch(_0x233e1d){_0x3d2072['push'](_0x3d2072['shift']());}}}(_0x94f4,0x777cd));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';function _0x1190(_0x3a79ad,_0x1227c8){const _0x94f445=_0x94f4();return _0x1190=function(_0x1190d7,_0x4c8a95){_0x1190d7=_0x1190d7-0xd9;let _0x206530=_0x94f445[_0x1190d7];return _0x206530;},_0x1190(_0x3a79ad,_0x1227c8);}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[_0x112f66(0x107)]=(_0x513661,_0x12dd7b,_0x6f38ff)=>{const _0x59d902=_0x112f66,_0x5d6867={'zrqqA':function(_0x4a6d8d,_0x183289,_0x5c2b6c,_0x328966){return _0x4a6d8d(_0x183289,_0x5c2b6c,_0x328966);}};for(const [_0x30a6c8,_0x91e65c]of SingleScreenNotifiesTasks){_0x5d6867[_0x59d902(0x118)](_0x91e65c,_0x513661,_0x12dd7b,_0x6f38ff),groupMemberTasks[_0x59d902(0x11a)](_0x30a6c8);}},groupListener[_0x112f66(0xde)]=(_0x1a307d,_0xcec5b6)=>{const _0x39103e=_0x112f66;for(const [_0x314e80,_0x45aab6]of groupMemberTasks){_0x45aab6(_0x1a307d,_0xcec5b6),groupMemberTasks[_0x39103e(0x11a)](_0x314e80);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x26e72b=_0x1190;napCatCore[_0x26e72b(0xf8)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x112f66(0x11c)](_0x4b37f6=![]){const _0x42a708={'IXdWe':function(_0x2309df,_0x552c93){return _0x2309df(_0x552c93);},'drkzc':'获取群列表超时','QRWLi':function(_0x541f41,_0x1a347d){return _0x541f41(_0x1a347d);},'BUasQ':function(_0x2236b6,_0x3d01e4,_0x490305){return _0x2236b6(_0x3d01e4,_0x490305);},'QVvgp':'获取群列表完成'};let _0x2c0096=![];return new Promise((_0x3f9548,_0x429652)=>{const _0x80d413=_0x1190,_0x23a157={'ofTiV':function(_0x1fd051,_0x447555,_0x32aa97){const _0x42e2c4=_0x1190;return _0x42a708[_0x42e2c4(0x105)](_0x1fd051,_0x447555,_0x32aa97);},'gEEfP':_0x42a708['QVvgp'],'leCTL':function(_0x24ab74,_0x37c458){const _0x383002=_0x1190;return _0x42a708[_0x383002(0xdd)](_0x24ab74,_0x37c458);}};_0x42a708[_0x80d413(0x105)](setTimeout,()=>{const _0x19f11a=_0x80d413;!_0x2c0096&&(_0x42a708[_0x19f11a(0xf6)](logDebug,_0x42a708[_0x19f11a(0x106)]),_0x42a708['QRWLi'](_0x429652,_0x42a708[_0x19f11a(0x106)]));},0x1388);const _0x8f784c=(_0xe2a81d,_0x885dcb)=>{const _0x555e3a=_0x80d413;_0x2c0096=!![],_0x23a157['ofTiV'](logDebug,_0x23a157[_0x555e3a(0x11e)],_0x885dcb),_0x23a157[_0x555e3a(0xe4)](_0x3f9548,_0x885dcb);};groupMemberTasks['set'](randomUUID(),_0x8f784c),napCatCore[_0x80d413(0x11b)][_0x80d413(0x101)]()['getGroupList'](_0x4b37f6)[_0x80d413(0xfa)]();});}static async['getSingleScreenNotifies'](_0x805cf2){const _0x11244e=_0x112f66,_0x44116d={'VEFIM':_0x11244e(0xfc),'miNZT':function(_0x25400b,_0x39a2f1){return _0x25400b(_0x39a2f1);},'lQfjn':function(_0x40fb47,_0x55b0d0,_0x282a61){return _0x40fb47(_0x55b0d0,_0x282a61);},'ceKsx':function(_0x2f8484){return _0x2f8484();}},_0x2f0289=napCatCore[_0x11244e(0x11b)][_0x11244e(0x101)]();return new Promise((_0x209c42,_0x5bf39c)=>{const _0x2cee7b=_0x11244e,_0x4bf6cc={'UwndA':_0x44116d[_0x2cee7b(0xd9)],'VADGP':'获取群系统消息列表完成','LrVhp':function(_0x398942,_0xf3848b){const _0x43c00a=_0x2cee7b;return _0x44116d[_0x43c00a(0xf9)](_0x398942,_0xf3848b);}};let _0x14019d=![];_0x44116d['lQfjn'](setTimeout,()=>{const _0x24172c=_0x2cee7b;!_0x14019d&&(logDebug(_0x4bf6cc[_0x24172c(0xed)]),_0x5bf39c(_0x24172c(0xfc)));},0x1388);const _0x480d3b=(_0x80f47a,_0x490347,_0x42fba3)=>{_0x14019d=!![],logDebug(_0x4bf6cc['VADGP'],_0x42fba3),_0x4bf6cc['LrVhp'](_0x209c42,_0x42fba3);};SingleScreenNotifiesTasks[_0x2cee7b(0x103)](_0x44116d[_0x2cee7b(0xf4)](randomUUID),_0x480d3b),_0x2f0289[_0x2cee7b(0xff)](![],'',_0x805cf2);});}static async[_0x112f66(0xe2)](_0x2e865f,_0x4245de=0xbb8){const _0x35ea15=_0x112f66,_0x21c2aa={'guPMk':_0x35ea15(0xe1),'SLPxi':function(_0x53e4ef,_0x45f267){return _0x53e4ef!==_0x45f267;},'zrWfB':_0x35ea15(0x117),'ksJEg':function(_0x5638f5,_0x429663,_0x439c15){return _0x5638f5(_0x429663,_0x439c15);}},_0x562bb5=napCatCore[_0x35ea15(0x11b)][_0x35ea15(0x101)](),_0x5e0d5a=_0x562bb5[_0x35ea15(0x10c)](_0x2e865f,_0x21c2aa[_0x35ea15(0xe8)]),_0xcaf5dd=await _0x562bb5[_0x35ea15(0x116)](_0x5e0d5a,undefined,_0x4245de);if(_0x21c2aa[_0x35ea15(0xda)](_0xcaf5dd[_0x35ea15(0xec)],0x0))throw _0x21c2aa[_0x35ea15(0x102)]+_0xcaf5dd[_0x35ea15(0x100)];return _0x21c2aa['ksJEg'](logDebug,_0x35ea15(0x10f)+_0x2e865f+')成员列表结果:',_0x35ea15(0x113)+_0xcaf5dd[_0x35ea15(0xf2)][_0x35ea15(0x112)]),_0xcaf5dd['result'][_0x35ea15(0xea)]['forEach'](_0x472dd5=>{const _0x3ea586=_0x35ea15;uid2UinMap[_0x472dd5[_0x3ea586(0xdf)]]=_0x472dd5['uin'];}),_0xcaf5dd[_0x35ea15(0xf2)][_0x35ea15(0xea)];}static async[_0x112f66(0x111)](){}static async[_0x112f66(0x109)](){}static async[_0x112f66(0x11f)](_0x2b76e9,_0x3d68bf){const _0xab7fb3=_0x112f66,_0x2f0780={'fQHgX':_0xab7fb3(0xfb)},_0x16b6f3=(await NTQQUserApi[_0xab7fb3(0xf5)]([_0x2f0780[_0xab7fb3(0xdb)]]))[_0x2f0780['fQHgX']];return napCatCore[_0xab7fb3(0x11b)]['getGroupService']()[_0xab7fb3(0x11f)](_0x2b76e9,_0x16b6f3,_0x3d68bf);}static async['handleGroupRequest'](_0x11f44c,_0x2cb0ea,_0xdeb1b1){const _0x4f425e=_0x112f66,_0x35c315={'cpdQC':function(_0x5a19bb,_0x213658){return _0x5a19bb||_0x213658;}};return napCatCore[_0x4f425e(0x11b)][_0x4f425e(0x101)]()[_0x4f425e(0xf1)](![],{'operateType':_0x2cb0ea,'targetMsg':{'seq':_0x11f44c[_0x4f425e(0x104)],'type':_0x11f44c[_0x4f425e(0x115)],'groupCode':_0x11f44c['group']['groupCode'],'postscript':_0x35c315[_0x4f425e(0x10e)](_0xdeb1b1,'')}});}static async[_0x112f66(0x120)](_0x220615){const _0x1708b1=_0x112f66;return napCatCore['session']['getGroupService']()[_0x1708b1(0x120)](_0x220615);}static async[_0x112f66(0xf7)](_0x4e8a4d,_0x157fb1,_0x55818d=![],_0x53a482=''){const _0x55fcf8=_0x112f66;return napCatCore[_0x55fcf8(0x11b)]['getGroupService']()['kickMember'](_0x4e8a4d,_0x157fb1,_0x55818d,_0x53a482);}static async['banMember'](_0x54e7f4,_0x34e33c){const _0x3b1d3b=_0x112f66;return napCatCore[_0x3b1d3b(0x11b)]['getGroupService']()['setMemberShutUp'](_0x54e7f4,_0x34e33c);}static async[_0x112f66(0xe3)](_0x2f3194,_0x4e872b){const _0x27a7ed=_0x112f66;return napCatCore[_0x27a7ed(0x11b)]['getGroupService']()[_0x27a7ed(0x10d)](_0x2f3194,_0x4e872b);}static async[_0x112f66(0xf3)](_0x4771c3,_0x1ef10d,_0x3b95ff){const _0x1fac6e=_0x112f66;return napCatCore[_0x1fac6e(0x11b)][_0x1fac6e(0x101)]()[_0x1fac6e(0xfe)](_0x4771c3,_0x1ef10d,_0x3b95ff);}static async[_0x112f66(0xee)](_0xdde195,_0x4b5738,_0x23b184){const _0x37d6f4=_0x112f66;return napCatCore[_0x37d6f4(0x11b)][_0x37d6f4(0x101)]()[_0x37d6f4(0xe6)](_0xdde195,_0x4b5738,_0x23b184);}static async['setGroupName'](_0x435237,_0x5415e5){const _0x83a32c=_0x112f66;return napCatCore[_0x83a32c(0x11b)]['getGroupService']()[_0x83a32c(0xe0)](_0x435237,_0x5415e5,![]);}static async[_0x112f66(0x10a)](_0x17b79f,_0x4728f8,_0x122ae8){}static async[_0x112f66(0x119)](_0x481f11,_0x19f8be,_0xb5cf3b=undefined,_0xb09fa=0x0,_0x2e2300=0x0){const _0xee6f90=_0x112f66,_0x304b01={'vpSFT':_0xee6f90(0xfb),'rhUjm':function(_0x28560b,_0x153db4){return _0x28560b(_0x153db4);}},_0x11d902=(await NTQQUserApi[_0xee6f90(0xf5)]([_0x304b01[_0xee6f90(0xe9)]]))[_0x304b01[_0xee6f90(0xe9)]];let _0x1583f0={'text':_0x304b01[_0xee6f90(0xdc)](encodeURI,_0x19f8be),'picInfo':_0xb5cf3b,'oldFeedsId':'','pinned':_0xb09fa,'confirmRequired':_0x2e2300};return napCatCore['session']['getGroupService']()['publishGroupBulletin'](_0x481f11,_0x11d902,_0x1583f0);}} \ No newline at end of file +const _0x1411f5=_0x1cb9;(function(_0x49162c,_0x46f52c){const _0x4fa21f=_0x1cb9,_0x156345=_0x49162c();while(!![]){try{const _0x3390c8=-parseInt(_0x4fa21f(0x200))/0x1+-parseInt(_0x4fa21f(0x1e3))/0x2*(parseInt(_0x4fa21f(0x1c8))/0x3)+-parseInt(_0x4fa21f(0x1e1))/0x4*(-parseInt(_0x4fa21f(0x1d6))/0x5)+parseInt(_0x4fa21f(0x203))/0x6+-parseInt(_0x4fa21f(0x1cb))/0x7+parseInt(_0x4fa21f(0x1ce))/0x8*(-parseInt(_0x4fa21f(0x1e2))/0x9)+-parseInt(_0x4fa21f(0x1d3))/0xa*(-parseInt(_0x4fa21f(0x1eb))/0xb);if(_0x3390c8===_0x46f52c)break;else _0x156345['push'](_0x156345['shift']());}catch(_0x3f7c4f){_0x156345['push'](_0x156345['shift']());}}}(_0x29fd,0x7b3ad));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x29fd(){const _0x469ca4=['uin','12312iMWZey','获取群列表超时','获取群成员列表出错,','wFzBn','iqoda','2260610rBSyoj','lSZjF','set','35xqbwQE','type','setGroupTitle','NCWkc','onGroupListUpdate','errCode','setGroupName','groupCode','groupMemberList_MainWindow','modifyMemberCardName','uploadGroupBulletinPic','564116lRHhmr','4185KpLHGL','369346nijsFd','setGroupShutUp','modifyGroupName','delete','setMemberShutUp','result','cDUUp','qun.qq.com','44RcJHcv','lmPPk','BlOVr','hdzfN','session','dwZhV','group','createMemberListScene','getPSkey','getGroupMembers','IPzIt','getGroupService','publishGroupBulletin','modifyMemberRole','errMsg','onLoginSuccess','tfJZS','addListener','setMemberCard','operateSysNotify','quitGroup','68874RZcIWd','kickMember','getGroups','1524360AOajmB','setMemberRole','infos','getSingleScreenNotifies','获取群系统消息列表超时','mEmQA','3lHnCZb','getGroupList','banMember','4701032nkJXsz','getGroupIgnoreNotifies'];_0x29fd=function(){return _0x469ca4;};return _0x29fd();}import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';function _0x1cb9(_0x572ade,_0x543ac1){const _0x29fdee=_0x29fd();return _0x1cb9=function(_0x1cb912,_0x383162){_0x1cb912=_0x1cb912-0x1c8;let _0x200c2b=_0x29fdee[_0x1cb912];return _0x200c2b;},_0x1cb9(_0x572ade,_0x543ac1);}const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener['onGroupSingleScreenNotifies']=(_0x36eb23,_0x4f642e,_0x16a475)=>{const _0x1d3479={'PDFNk':function(_0x1115fd,_0x122d8a,_0x3bd284,_0xa4e36b){return _0x1115fd(_0x122d8a,_0x3bd284,_0xa4e36b);}};for(const [_0x2faa6c,_0x4aad5d]of SingleScreenNotifiesTasks){_0x1d3479['PDFNk'](_0x4aad5d,_0x36eb23,_0x4f642e,_0x16a475),groupMemberTasks['delete'](_0x2faa6c);}},groupListener[_0x1411f5(0x1da)]=(_0x1343c7,_0x31f38d)=>{const _0x58b6f4=_0x1411f5,_0xbad26b={'lSZjF':function(_0x5c10bc,_0x54473f,_0xad94b7){return _0x5c10bc(_0x54473f,_0xad94b7);}};for(const [_0x5e0523,_0xdfe8eb]of groupMemberTasks){_0xbad26b[_0x58b6f4(0x1d4)](_0xdfe8eb,_0x1343c7,_0x31f38d),groupMemberTasks[_0x58b6f4(0x1e6)](_0x5e0523);}},setTimeout(()=>{const _0x34108d=_0x1411f5;napCatCore[_0x34108d(0x1fa)](()=>{const _0x39a6bf=_0x34108d;napCatCore[_0x39a6bf(0x1fc)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x1411f5(0x202)](_0xcd7e48=![]){const _0x52c6a0=_0x1411f5,_0x468dfe={'IPzIt':_0x52c6a0(0x1cf),'wFzBn':function(_0x23bde6,_0x3ba604){return _0x23bde6(_0x3ba604);},'dwZhV':'获取群列表完成','sZqoH':function(_0x581881,_0x36236f,_0x4ce65c){return _0x581881(_0x36236f,_0x4ce65c);}};let _0x543571=![];return new Promise((_0x2a6e4d,_0x25efd3)=>{const _0x56fde2=_0x52c6a0,_0x2f9688={'iqoda':_0x468dfe[_0x56fde2(0x1f0)]};_0x468dfe['sZqoH'](setTimeout,()=>{const _0x210365=_0x56fde2;!_0x543571&&(logDebug(_0x468dfe[_0x210365(0x1f5)]),_0x468dfe[_0x210365(0x1d1)](_0x25efd3,_0x468dfe[_0x210365(0x1f5)]));},0x1388);const _0x8f94f=(_0x1f2586,_0x13305d)=>{const _0x53e48a=_0x56fde2;_0x543571=!![],logDebug(_0x2f9688[_0x53e48a(0x1d2)],_0x13305d),_0x2a6e4d(_0x13305d);};groupMemberTasks[_0x56fde2(0x1d5)](randomUUID(),_0x8f94f),napCatCore['session']['getGroupService']()[_0x56fde2(0x1c9)](_0xcd7e48)['then']();});}static async[_0x1411f5(0x206)](_0x14c631){const _0x10f1a4=_0x1411f5,_0x11cfd6={'ObVLs':function(_0x4ee12f,_0x2f9739){return _0x4ee12f(_0x2f9739);},'lmPPk':_0x10f1a4(0x207),'rauAF':function(_0x2d70a9,_0x4af3f4){return _0x2d70a9(_0x4af3f4);},'NCWkc':function(_0x49676f,_0x459b14,_0x528223){return _0x49676f(_0x459b14,_0x528223);}},_0x256b64=napCatCore['session'][_0x10f1a4(0x1f6)]();return new Promise((_0x42aab0,_0x5ec90b)=>{const _0x1bfc28=_0x10f1a4,_0x41fd3f={'cDUUp':function(_0x401b07,_0x33e8cc){return _0x11cfd6['rauAF'](_0x401b07,_0x33e8cc);}};let _0x1e2aff=![];_0x11cfd6[_0x1bfc28(0x1d9)](setTimeout,()=>{const _0x335306=_0x1bfc28;!_0x1e2aff&&_0x11cfd6['ObVLs'](_0x5ec90b,_0x11cfd6[_0x335306(0x1ec)]);},0x1388);const _0x4efdae=(_0x5c5bc3,_0x491c86,_0x42e957)=>{const _0x4e3d71=_0x1bfc28;_0x1e2aff=!![],_0x41fd3f[_0x4e3d71(0x1e9)](_0x42aab0,_0x42e957);};SingleScreenNotifiesTasks[_0x1bfc28(0x1d5)](randomUUID(),_0x4efdae),_0x256b64[_0x1bfc28(0x206)](![],'',_0x14c631);});}static async[_0x1411f5(0x1f4)](_0x40122a,_0x4d5736=0xbb8){const _0x24520f=_0x1411f5,_0x38c7f5={'hdzfN':_0x24520f(0x1de),'RJPTy':function(_0xd3b250,_0xe131a0){return _0xd3b250+_0xe131a0;},'tfJZS':_0x24520f(0x1d0)},_0x40fa9e=napCatCore[_0x24520f(0x1ef)][_0x24520f(0x1f6)](),_0xfceab6=_0x40fa9e[_0x24520f(0x1f2)](_0x40122a,_0x38c7f5[_0x24520f(0x1ee)]),_0x765cd6=await _0x40fa9e['getNextMemberList'](_0xfceab6,undefined,_0x4d5736);if(_0x765cd6[_0x24520f(0x1db)]!==0x0)throw _0x38c7f5['RJPTy'](_0x38c7f5[_0x24520f(0x1fb)],_0x765cd6[_0x24520f(0x1f9)]);return _0x765cd6[_0x24520f(0x1e8)][_0x24520f(0x205)]['forEach'](_0x855a57=>{const _0x3c4d47=_0x24520f;uid2UinMap[_0x855a57['uid']]=_0x855a57[_0x3c4d47(0x1cd)];}),_0x765cd6['result'][_0x24520f(0x205)];}static async['getGroupNotifies'](){}static async[_0x1411f5(0x1cc)](){}static async[_0x1411f5(0x1e0)](_0x2da0d8,_0x1b0dda){const _0x45e61e=_0x1411f5,_0x388e7e={'mEmQA':_0x45e61e(0x1ea)},_0x586f81=(await NTQQUserApi[_0x45e61e(0x1f3)]([_0x388e7e[_0x45e61e(0x208)]]))[_0x388e7e[_0x45e61e(0x208)]];return napCatCore['session'][_0x45e61e(0x1f6)]()[_0x45e61e(0x1e0)](_0x2da0d8,_0x586f81,_0x1b0dda);}static async['handleGroupRequest'](_0x36e98f,_0xcb589c,_0x32695){const _0x2ed8dc=_0x1411f5;return napCatCore[_0x2ed8dc(0x1ef)][_0x2ed8dc(0x1f6)]()[_0x2ed8dc(0x1fe)](![],{'operateType':_0xcb589c,'targetMsg':{'seq':_0x36e98f['seq'],'type':_0x36e98f[_0x2ed8dc(0x1d7)],'groupCode':_0x36e98f[_0x2ed8dc(0x1f1)][_0x2ed8dc(0x1dd)],'postscript':_0x32695||''}});}static async[_0x1411f5(0x1ff)](_0x255c40){const _0x14f8a5=_0x1411f5;return napCatCore[_0x14f8a5(0x1ef)]['getGroupService']()[_0x14f8a5(0x1ff)](_0x255c40);}static async[_0x1411f5(0x201)](_0x2bb0e6,_0x3dbe8e,_0x305968=![],_0x3d2012=''){const _0x2a675=_0x1411f5;return napCatCore[_0x2a675(0x1ef)][_0x2a675(0x1f6)]()[_0x2a675(0x201)](_0x2bb0e6,_0x3dbe8e,_0x305968,_0x3d2012);}static async[_0x1411f5(0x1ca)](_0x565385,_0x2fcae8){const _0x28e0c6=_0x1411f5;return napCatCore[_0x28e0c6(0x1ef)]['getGroupService']()[_0x28e0c6(0x1e7)](_0x565385,_0x2fcae8);}static async['banGroup'](_0x16df0b,_0x4d74de){const _0x3eac76=_0x1411f5;return napCatCore[_0x3eac76(0x1ef)][_0x3eac76(0x1f6)]()[_0x3eac76(0x1e4)](_0x16df0b,_0x4d74de);}static async[_0x1411f5(0x1fd)](_0x239d49,_0xd5c87a,_0x3e7bae){const _0x322344=_0x1411f5;return napCatCore[_0x322344(0x1ef)][_0x322344(0x1f6)]()[_0x322344(0x1df)](_0x239d49,_0xd5c87a,_0x3e7bae);}static async[_0x1411f5(0x204)](_0x44a04b,_0x5f2bb6,_0x529dec){const _0x234f62=_0x1411f5;return napCatCore[_0x234f62(0x1ef)]['getGroupService']()[_0x234f62(0x1f8)](_0x44a04b,_0x5f2bb6,_0x529dec);}static async[_0x1411f5(0x1dc)](_0x30fa50,_0x53d178){const _0x2512a4=_0x1411f5;return napCatCore[_0x2512a4(0x1ef)]['getGroupService']()[_0x2512a4(0x1e5)](_0x30fa50,_0x53d178,![]);}static async[_0x1411f5(0x1d8)](_0x460373,_0x40d8d5,_0x6a3ace){}static async[_0x1411f5(0x1f7)](_0x44a33a,_0x1ff0ca,_0x1860dc=undefined,_0x1c553b=0x0,_0x1c1b1a=0x0){const _0x5ce242=_0x1411f5,_0x2f328e={'BlOVr':_0x5ce242(0x1ea)},_0x4c4ae1=(await NTQQUserApi[_0x5ce242(0x1f3)]([_0x2f328e['BlOVr']]))[_0x2f328e[_0x5ce242(0x1ed)]];let _0x8c96d0={'text':encodeURI(_0x1ff0ca),'picInfo':_0x1860dc,'oldFeedsId':'','pinned':_0x1c553b,'confirmRequired':_0x1c1b1a};return napCatCore[_0x5ce242(0x1ef)]['getGroupService']()[_0x5ce242(0x1f7)](_0x44a33a,_0x4c4ae1,_0x8c96d0);}} \ 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 325d6b49..6cb9f9d1 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -function _0x2c00(_0x2175fd,_0x21637a){var _0x5deb32=_0x5deb();return _0x2c00=function(_0x2c0060,_0x4f4639){_0x2c0060=_0x2c0060-0x100;var _0x2bed88=_0x5deb32[_0x2c0060];return _0x2bed88;},_0x2c00(_0x2175fd,_0x21637a);}(function(_0x55ecb3,_0x2b8fd0){var _0x16229f=_0x2c00,_0x28a4de=_0x55ecb3();while(!![]){try{var _0x16b75c=-parseInt(_0x16229f(0x100))/0x1*(parseInt(_0x16229f(0x103))/0x2)+parseInt(_0x16229f(0x107))/0x3+-parseInt(_0x16229f(0x104))/0x4+parseInt(_0x16229f(0x105))/0x5+parseInt(_0x16229f(0x108))/0x6*(parseInt(_0x16229f(0x102))/0x7)+parseInt(_0x16229f(0x101))/0x8+parseInt(_0x16229f(0x106))/0x9;if(_0x16b75c===_0x2b8fd0)break;else _0x28a4de['push'](_0x28a4de['shift']());}catch(_0x55102c){_0x28a4de['push'](_0x28a4de['shift']());}}}(_0x5deb,0x49a75));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';function _0x5deb(){var _0x5ae653=['1097079BlIqDK','42tEXMhD','273881OJwfxy','467648qDRBif','108311rFrLfA','2iWDCkn','2398276rzBVjW','2072360ilGlRE','2053827JXAuxA'];_0x5deb=function(){return _0x5ae653;};return _0x5deb();} \ No newline at end of file +function _0x5ba2(_0x46f271,_0x2cb014){var _0xff0d5d=_0xff0d();return _0x5ba2=function(_0x5ba2eb,_0x49c143){_0x5ba2eb=_0x5ba2eb-0xf7;var _0xb88bf3=_0xff0d5d[_0x5ba2eb];return _0xb88bf3;},_0x5ba2(_0x46f271,_0x2cb014);}(function(_0x418628,_0x3389d7){var _0x1546c0=_0x5ba2,_0x2b3a41=_0x418628();while(!![]){try{var _0x2ff6c0=-parseInt(_0x1546c0(0x101))/0x1*(-parseInt(_0x1546c0(0xf9))/0x2)+-parseInt(_0x1546c0(0x100))/0x3+-parseInt(_0x1546c0(0xf7))/0x4*(-parseInt(_0x1546c0(0xfd))/0x5)+parseInt(_0x1546c0(0xf8))/0x6*(parseInt(_0x1546c0(0xfa))/0x7)+parseInt(_0x1546c0(0xfc))/0x8+parseInt(_0x1546c0(0xfb))/0x9*(-parseInt(_0x1546c0(0xff))/0xa)+-parseInt(_0x1546c0(0xfe))/0xb;if(_0x2ff6c0===_0x3389d7)break;else _0x2b3a41['push'](_0x2b3a41['shift']());}catch(_0x524e16){_0x2b3a41['push'](_0x2b3a41['shift']());}}}(_0xff0d,0x2a687));function _0xff0d(){var _0x5cccba=['29844QHxsui','6rDqvXb','378eiptyC','409419yEpXuL','421808IXoyws','895hdAsXd','3359642GSqgVP','20pCLJNx','499728nKzdWv','110828nvUMqs','1852szNlXq'];_0xff0d=function(){return _0x5cccba;};return _0xff0d();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index e02a8aca..3fc8e1c7 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x32c362=_0x4981;(function(_0x2f8a01,_0x1c869b){const _0x110b96=_0x4981,_0x41b559=_0x2f8a01();while(!![]){try{const _0x14267d=-parseInt(_0x110b96(0x1bc))/0x1+-parseInt(_0x110b96(0x1ba))/0x2+-parseInt(_0x110b96(0x1b2))/0x3*(parseInt(_0x110b96(0x1a0))/0x4)+-parseInt(_0x110b96(0x19a))/0x5+-parseInt(_0x110b96(0x1af))/0x6+-parseInt(_0x110b96(0x1ad))/0x7+-parseInt(_0x110b96(0x1b6))/0x8*(-parseInt(_0x110b96(0x199))/0x9);if(_0x14267d===_0x1c869b)break;else _0x41b559['push'](_0x41b559['shift']());}catch(_0x1cc35a){_0x41b559['push'](_0x41b559['shift']());}}}(_0x4df8,0xe4c7c));import{selfInfo}from'@/core/data';function _0x4981(_0x552c12,_0x381724){const _0x4df8ab=_0x4df8();return _0x4981=function(_0x4981d2,_0x4c182c){_0x4981d2=_0x4981d2-0x18c;let _0x259247=_0x4df8ab[_0x4981d2];return _0x259247;},_0x4981(_0x552c12,_0x381724);}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';function _0x4df8(){const _0x2fb9a5=['arkElement','onLoginSuccess','onMsgInfoListUpdate','tjhrI','lvlgj','parse','multiForwardMsg','forwardMsg','getMsgsBySeqAndCount','XDjIj','8087709mtqPqZ','addListener','8307432PKFIIt','SxbXb','msgId','801237txvrKC','sendStatus','activateChatAndGetHistory','getMsgService','1816quTdKO','bytesData','fPTTW','find','1893294yNqNYF','catch','486203qWtCDQ','nick','QWRuA','setMsgEmojiLikes','xdNhl','getMsgHistory','toString','MRJMQ','getMsgsByMsgId','forEach','发送超时','map','elements','delete','getMultiMsg','oxfAi','senderUid','foHhd','session','then','转发消息超时','cqYvi','activateChat','330777xTgUlt','9152820RFYInq','set','sendMsg','length','fetchRecentContact','multiForwardMsgWithComment','24Wxwefd','vxRsl','peerUid'];_0x4df8=function(){return _0x2fb9a5;};return _0x4df8();}import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onAddSendMsg']=_0x113148=>{const _0x4f8cae=_0x4981,_0x238a15={'oxfAi':function(_0x4745e6,_0x2c0306){return _0x4745e6(_0x2c0306);},'lvlgj':function(_0x246301,_0x2536b4){return _0x246301 instanceof _0x2536b4;}};for(const [_0x6648f7,_0xdc249c]of sentMsgTasks){_0x238a15[_0x4f8cae(0x191)](_0xdc249c,_0x113148),sentMsgTasks[_0x4f8cae(0x18f)](_0x6648f7);}if(sendMessagePool[_0x113148[_0x4f8cae(0x1a2)]]){const _0x47f350=sendMessagePool[_0x113148['peerUid']]?.(_0x113148);_0x238a15[_0x4f8cae(0x1a7)](_0x47f350,Promise)&&_0x47f350[_0x4f8cae(0x195)]()[_0x4f8cae(0x1bb)](logError);}},msgListener[_0x32c362(0x1a5)]=_0xcbdf9b=>{const _0x1069eb=_0x32c362,_0x332c57={'vxRsl':function(_0xc31cda,_0x39ddc0){return _0xc31cda instanceof _0x39ddc0;},'XDjIj':function(_0x240359,_0x6358b8){return _0x240359(_0x6358b8);}};_0xcbdf9b[_0x1069eb(0x1c5)](_0x100a59=>{const _0x32d461=_0x1069eb,_0x2406f8={'gsyAf':function(_0x29f782,_0x47aa87){const _0x39f99b=_0x4981;return _0x332c57[_0x39f99b(0x1a1)](_0x29f782,_0x47aa87);},'EKTBy':function(_0x35efab,_0x3c9e2e){const _0x33f6c3=_0x4981;return _0x332c57[_0x33f6c3(0x1ac)](_0x35efab,_0x3c9e2e);}};new Promise((_0x3da46d,_0x1b45b3)=>{const _0x979ba3=_0x4981;for(const _0x1062b6 in sendSuccessCBMap){const _0xbe6320=sendSuccessCBMap[_0x1062b6],_0x2053f8=_0xbe6320(_0x100a59),_0x55416f=_0x3716af=>{_0x3716af&&delete sendSuccessCBMap[_0x1062b6];};_0x2406f8['gsyAf'](_0x2053f8,Promise)?_0x2053f8[_0x979ba3(0x195)](_0x55416f):_0x2406f8['EKTBy'](_0x55416f,_0x2053f8);}})[_0x32d461(0x195)]()[_0x32d461(0x1bb)](log);});},setTimeout(()=>{const _0x3976de=_0x32c362;napCatCore[_0x3976de(0x1a4)](()=>{const _0x389e0f=_0x3976de;napCatCore[_0x389e0f(0x1ae)](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x201af4,_0x116a0e,_0x51f7a8,_0x338984=!![]){const _0xed6f48=_0x32c362;return _0x51f7a8=_0x51f7a8[_0xed6f48(0x1c2)](),napCatCore[_0xed6f48(0x194)][_0xed6f48(0x1b5)]()[_0xed6f48(0x1bf)](_0x201af4,_0x116a0e,_0x51f7a8,_0x51f7a8[_0xed6f48(0x19d)]>0x3?'2':'1',_0x338984);}static async[_0x32c362(0x190)](_0x3c9587,_0xf5db2b,_0x49ce1d){const _0x25ebda=_0x32c362;return napCatCore[_0x25ebda(0x194)]['getMsgService']()['getMultiMsg'](_0x3c9587,_0xf5db2b,_0x49ce1d);}static async['getMsgsByMsgId'](_0x8ace84,_0x427fad){const _0x50e32b=_0x32c362;return await napCatCore[_0x50e32b(0x194)][_0x50e32b(0x1b5)]()[_0x50e32b(0x1c4)](_0x8ace84,_0x427fad);}static async[_0x32c362(0x1ab)](_0x4fab6c,_0x2ebdb4,_0x556a7e,_0x21896c,_0x2c5cc1){const _0x286cae=_0x32c362;return await napCatCore[_0x286cae(0x194)][_0x286cae(0x1b5)]()[_0x286cae(0x1ab)](_0x4fab6c,_0x2ebdb4,_0x556a7e,_0x21896c,_0x2c5cc1);}static async[_0x32c362(0x198)](_0x1c189f){}static async[_0x32c362(0x1b4)](_0x51252e){}static async['setMsgRead'](_0x3a0c5d){const _0x160be3=_0x32c362;return napCatCore['session'][_0x160be3(0x1b5)]()['setMsgRead'](_0x3a0c5d);}static async[_0x32c362(0x1c1)](_0x4db4ee,_0x1aca4e,_0xc93811){const _0x5c7b05=_0x32c362;return napCatCore[_0x5c7b05(0x194)]['getMsgService']()['getMsgsIncludeSelf'](_0x4db4ee,_0x1aca4e,_0xc93811,!![]);}static async[_0x32c362(0x19e)](){}static async['recallMsg'](_0x5357d9,_0x5955e2){const _0x10a3fa=_0x32c362;await napCatCore[_0x10a3fa(0x194)][_0x10a3fa(0x1b5)]()['recallMsg']({'chatType':_0x5357d9['chatType'],'peerUid':_0x5357d9[_0x10a3fa(0x1a2)]},_0x5955e2);}static async[_0x32c362(0x19c)](_0x51a50f,_0x5773cf,_0x376fd6=!![],_0x4fd980=0x2710){const _0x452447=_0x32c362,_0x1a0b6b={'SxbXb':_0x452447(0x18c),'MRJMQ':function(_0x449466,_0x388c1f){return _0x449466(_0x388c1f);},'QWRuA':function(_0x5cf942){return _0x5cf942();},'TWcEF':function(_0x53af49,_0x49a5c1){return _0x53af49===_0x49a5c1;},'GafqI':function(_0x3f1344,_0x294247){return _0x3f1344===_0x294247;},'SVymN':function(_0x17d3cf,_0x4a73d2){return _0x17d3cf(_0x4a73d2);},'fPTTW':function(_0x3f94e3){return _0x3f94e3();}},_0x23c58b=_0x51a50f[_0x452447(0x1a2)];let _0x44f6a6=0x0;const _0x50d9d2=async()=>{const _0x4f3e90=_0x452447;if(_0x44f6a6>_0x4fd980)throw _0x1a0b6b[_0x4f3e90(0x1b0)];const _0x34a274=sendMessagePool[_0x51a50f[_0x4f3e90(0x1a2)]];if(_0x34a274)return await _0x1a0b6b[_0x4f3e90(0x1c3)](sleep,0x1f4),_0x44f6a6+=0x1f4,await _0x1a0b6b[_0x4f3e90(0x1be)](_0x50d9d2);else return;};return await _0x1a0b6b[_0x452447(0x1be)](_0x50d9d2),new Promise((_0x292864,_0x1082fd)=>{const _0x362317=_0x452447,_0x40fd2a={'ppHzL':function(_0x5e8a3d,_0x4e40d4){return _0x5e8a3d(_0x4e40d4);}};let _0x20b721=![],_0x2c7cec=null;const _0x58c393=_0x1a0b6b[_0x362317(0x1b8)](randomUUID);sendSuccessCBMap[_0x58c393]=_0x1ca645=>{const _0x4b5244=_0x362317;if(_0x1a0b6b['TWcEF'](_0x1ca645[_0x4b5244(0x1b1)],_0x2c7cec?.['msgId'])){if(_0x1a0b6b['GafqI'](_0x1ca645[_0x4b5244(0x1b3)],0x2))return delete sendSuccessCBMap[_0x58c393],_0x20b721=!![],_0x1a0b6b['SVymN'](_0x292864,_0x1ca645),!![];return![];}return![];},sendMessagePool[_0x23c58b]=async _0x55964a=>{delete sendMessagePool[_0x23c58b],_0x2c7cec=_0x55964a;},setTimeout(()=>{if(_0x20b721)return;delete sendMessagePool[_0x23c58b],delete sendSuccessCBMap[_0x58c393],_0x40fd2a['ppHzL'](_0x1082fd,'发送超时');},_0x4fd980);const _0x30e774=napCatCore[_0x362317(0x194)][_0x362317(0x1b5)]()[_0x362317(0x19c)]('0',_0x51a50f,_0x5773cf,new Map());});}static async[_0x32c362(0x1aa)](_0x396495,_0x3da9ce,_0x7df8b5){const _0xb8456b=_0x32c362;return napCatCore[_0xb8456b(0x194)][_0xb8456b(0x1b5)]()[_0xb8456b(0x1aa)](_0x7df8b5,_0x396495,[_0x3da9ce],new Map());}static async[_0x32c362(0x1a9)](_0x2e936e,_0x5d37ac,_0x1c336f){const _0x507351=_0x32c362,_0x36f129={'foHhd':function(_0x792a85,_0x10b48c){return _0x792a85==_0x10b48c;},'xdNhl':function(_0x32d6db,_0x326c98){return _0x32d6db(_0x326c98);},'cqYvi':_0x507351(0x196),'tjhrI':function(_0x349fb3){return _0x349fb3();}},_0x599ae9=_0x1c336f[_0x507351(0x18d)](_0x43d47e=>{const _0x2dc6d3=_0x507351;return{'msgId':_0x43d47e,'senderShowName':selfInfo[_0x2dc6d3(0x1bd)]};});return new Promise((_0x16444b,_0x21f0c5)=>{const _0x12ff16=_0x507351;let _0x4a44a9=![];const _0x19beae=_0x51e1a1=>{const _0x3c8980=_0x4981,_0x1f5e51=_0x51e1a1[_0x3c8980(0x18e)][_0x3c8980(0x1b9)](_0x2df510=>_0x2df510['arkElement']);if(!_0x1f5e51)return;const _0x607f8=JSON[_0x3c8980(0x1a8)](_0x1f5e51[_0x3c8980(0x1a3)][_0x3c8980(0x1b7)]);if(_0x607f8['app']!='com.tencent.multimsg')return;_0x51e1a1[_0x3c8980(0x1a2)]==_0x5d37ac['peerUid']&&_0x36f129[_0x3c8980(0x193)](_0x51e1a1[_0x3c8980(0x192)],selfInfo['uid'])&&(_0x4a44a9=!![],_0x36f129['xdNhl'](_0x16444b,_0x51e1a1));};sentMsgTasks[_0x12ff16(0x19b)](_0x36f129[_0x12ff16(0x1a6)](randomUUID),_0x19beae),setTimeout(()=>{const _0x129065=_0x12ff16;!_0x4a44a9&&_0x36f129[_0x129065(0x1c0)](_0x21f0c5,_0x36f129[_0x129065(0x197)]);},0x1388),napCatCore['session'][_0x12ff16(0x1b5)]()[_0x12ff16(0x19f)](_0x599ae9,_0x2e936e,_0x5d37ac,[],new Map());});}} \ No newline at end of file +const _0x48d236=_0x2e0f;function _0x2e0f(_0x241dc5,_0x1a326c){const _0x943275=_0x9432();return _0x2e0f=function(_0x2e0f92,_0x5a01c1){_0x2e0f92=_0x2e0f92-0x14d;let _0x11129d=_0x943275[_0x2e0f92];return _0x11129d;},_0x2e0f(_0x241dc5,_0x1a326c);}(function(_0x1d6e0a,_0x18adc8){const _0x2242dc=_0x2e0f,_0x261c5f=_0x1d6e0a();while(!![]){try{const _0x4bb907=-parseInt(_0x2242dc(0x161))/0x1*(parseInt(_0x2242dc(0x16c))/0x2)+parseInt(_0x2242dc(0x174))/0x3+parseInt(_0x2242dc(0x171))/0x4*(parseInt(_0x2242dc(0x15c))/0x5)+parseInt(_0x2242dc(0x16b))/0x6*(parseInt(_0x2242dc(0x17d))/0x7)+parseInt(_0x2242dc(0x152))/0x8+parseInt(_0x2242dc(0x181))/0x9+-parseInt(_0x2242dc(0x165))/0xa;if(_0x4bb907===_0x18adc8)break;else _0x261c5f['push'](_0x261c5f['shift']());}catch(_0x4cc4a0){_0x261c5f['push'](_0x261c5f['shift']());}}}(_0x9432,0xd9678));function _0x9432(){const _0x692cdd=['onAddSendMsg','multiForwardMsgWithComment','addListener','com.tencent.multimsg','GYcow','getMsgHistory','find','WBUfw','TEdnz','KrdrB','setMsgRead','getMultiMsg','sendMsg','4906096TOmyhP','foBHP','nick','juUuv','setEmojiLike','yPrMQ','getMsgsByMsgId','dEtAJ','VxbbD','parse','590UQokaw','arkElement','zGxzY','msgId','session','52859Fekhzi','onLoginSuccess','nQHoG','elements','28350460rTJamY','NNzni','uid','getMsgService','set','forwardMsg','9055710BtmoSQ','24lJzGfB','sendStatus','getMsgsBySeqAndCount','catch','peerUid','25796CecsJy','then','WJtXb','1612848wnKGWQ','lQpZZ','LnQsQ','recallMsg','KcCxh','setMsgEmojiLikes','tNqhy','chatType','onMsgInfoListUpdate','7AnDPMb','activateChatAndGetHistory','fetchRecentContact','forEach','8448273dzjEUr'];_0x9432=function(){return _0x692cdd;};return _0x9432();}import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x48d236(0x182)]=_0x1861a2=>{const _0x44fbe1=_0x48d236,_0x4df7b8={'lQpZZ':function(_0x4a656c,_0x2050ca){return _0x4a656c(_0x2050ca);},'WPdju':function(_0x4a0e73,_0x1a9c64){return _0x4a0e73 instanceof _0x1a9c64;}};for(const [_0x44d69f,_0x5e8456]of sentMsgTasks){_0x4df7b8[_0x44fbe1(0x175)](_0x5e8456,_0x1861a2),sentMsgTasks['delete'](_0x44d69f);}if(sendMessagePool[_0x1861a2[_0x44fbe1(0x170)]]){const _0x41cf3c=sendMessagePool[_0x1861a2[_0x44fbe1(0x170)]]?.(_0x1861a2);_0x4df7b8['WPdju'](_0x41cf3c,Promise)&&_0x41cf3c[_0x44fbe1(0x172)]()[_0x44fbe1(0x16f)](logError);}},msgListener[_0x48d236(0x17c)]=_0x12b44f=>{const _0x259da8=_0x48d236,_0x3fa3c5={'mVBHl':function(_0x4456d6,_0x2081f7){return _0x4456d6(_0x2081f7);},'KlmUi':function(_0x205f8a,_0x5ab890){return _0x205f8a instanceof _0x5ab890;},'ihJNl':function(_0x256393,_0x512fbd){return _0x256393(_0x512fbd);}};_0x12b44f[_0x259da8(0x180)](_0x2d7084=>{const _0x244683=_0x259da8;new Promise((_0x402a7d,_0x29d3b2)=>{const _0x351d2a=_0x2e0f;for(const _0x3a0b0f in sendSuccessCBMap){const _0x5b30a7=sendSuccessCBMap[_0x3a0b0f],_0x319007=_0x3fa3c5['mVBHl'](_0x5b30a7,_0x2d7084),_0x44f70b=_0x5b11f5=>{_0x5b11f5&&delete sendSuccessCBMap[_0x3a0b0f];};_0x3fa3c5['KlmUi'](_0x319007,Promise)?_0x319007[_0x351d2a(0x172)](_0x44f70b):_0x3fa3c5['ihJNl'](_0x44f70b,_0x319007);}})[_0x244683(0x172)]()[_0x244683(0x16f)](log);});},setTimeout(()=>{const _0x301b7c=_0x48d236;napCatCore[_0x301b7c(0x162)](()=>{const _0xeafadd=_0x301b7c;napCatCore[_0xeafadd(0x184)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x48d236(0x156)](_0xb76078,_0x5bb283,_0x3d2f49,_0x27e3a4=!![]){const _0x18142a=_0x48d236,_0x323124={'GYcow':function(_0x246af2,_0x236f96){return _0x246af2>_0x236f96;}};return _0x3d2f49=_0x3d2f49['toString'](),napCatCore[_0x18142a(0x160)][_0x18142a(0x168)]()[_0x18142a(0x179)](_0xb76078,_0x5bb283,_0x3d2f49,_0x323124[_0x18142a(0x186)](_0x3d2f49['length'],0x3)?'2':'1',_0x27e3a4);}static async[_0x48d236(0x150)](_0x9a6b2e,_0x3ead61,_0x298689){const _0x57cc34=_0x48d236;return napCatCore[_0x57cc34(0x160)][_0x57cc34(0x168)]()[_0x57cc34(0x150)](_0x9a6b2e,_0x3ead61,_0x298689);}static async[_0x48d236(0x158)](_0x30889a,_0x551a9f){const _0x44d0f3=_0x48d236;return await napCatCore[_0x44d0f3(0x160)][_0x44d0f3(0x168)]()[_0x44d0f3(0x158)](_0x30889a,_0x551a9f);}static async['getMsgsBySeqAndCount'](_0x3137a8,_0x57ea7b,_0x2a6548,_0x40ae54,_0xf20ba7){const _0x58d9bc=_0x48d236;return await napCatCore[_0x58d9bc(0x160)][_0x58d9bc(0x168)]()[_0x58d9bc(0x16e)](_0x3137a8,_0x57ea7b,_0x2a6548,_0x40ae54,_0xf20ba7);}static async['activateChat'](_0x4cb441){}static async[_0x48d236(0x17e)](_0x1e11e4){}static async[_0x48d236(0x14f)](_0x3fd534){const _0x15c1c5=_0x48d236;return napCatCore['session'][_0x15c1c5(0x168)]()[_0x15c1c5(0x14f)](_0x3fd534);}static async[_0x48d236(0x187)](_0x20d235,_0x571046,_0x1c182a){const _0x245238=_0x48d236;return napCatCore[_0x245238(0x160)][_0x245238(0x168)]()['getMsgsIncludeSelf'](_0x20d235,_0x571046,_0x1c182a,!![]);}static async[_0x48d236(0x17f)](){}static async[_0x48d236(0x177)](_0x2fc273,_0x30b2c4){const _0x1a05ca=_0x48d236;await napCatCore[_0x1a05ca(0x160)][_0x1a05ca(0x168)]()[_0x1a05ca(0x177)]({'chatType':_0x2fc273[_0x1a05ca(0x17b)],'peerUid':_0x2fc273['peerUid']},_0x30b2c4);}static async[_0x48d236(0x151)](_0x49ef6a,_0x410c4b,_0x145f85=!![],_0x1ee35d=0x2710){const _0x3a62e7=_0x48d236,_0x4b4f67={'KmInG':function(_0x310e7f,_0x45dda9){return _0x310e7f>_0x45dda9;},'LnQsQ':'发送超时','tNqhy':function(_0x169e79,_0x45ce77){return _0x169e79(_0x45ce77);},'WBUfw':function(_0x5217e4){return _0x5217e4();},'zGxzY':function(_0x40ddd1,_0x58b6ad){return _0x40ddd1(_0x58b6ad);},'VxbbD':function(_0x3ef856,_0x18ac58){return _0x3ef856===_0x18ac58;},'KrdrB':function(_0x51729a,_0x18c097){return _0x51729a(_0x18c097);},'nvjEm':function(_0x2440b8,_0x21a42c,_0x1c2c16){return _0x2440b8(_0x21a42c,_0x1c2c16);},'WJtXb':function(_0x2340fd){return _0x2340fd();}},_0x5e55d4=_0x49ef6a[_0x3a62e7(0x170)];let _0x45bb46=0x0;const _0x526649=async()=>{const _0x453c73=_0x3a62e7;if(_0x4b4f67['KmInG'](_0x45bb46,_0x1ee35d))throw _0x4b4f67[_0x453c73(0x176)];const _0x4eabcc=sendMessagePool[_0x49ef6a[_0x453c73(0x170)]];if(_0x4eabcc)return await _0x4b4f67[_0x453c73(0x17a)](sleep,0x1f4),_0x45bb46+=0x1f4,await _0x4b4f67[_0x453c73(0x189)](_0x526649);else return;};return await _0x4b4f67[_0x3a62e7(0x173)](_0x526649),new Promise((_0x577e66,_0x4c9710)=>{const _0x5da374=_0x3a62e7,_0x5a22a1={'juUuv':function(_0x45650b,_0x2b9e8d){const _0x4b61b5=_0x2e0f;return _0x4b4f67[_0x4b61b5(0x15a)](_0x45650b,_0x2b9e8d);},'KcCxh':function(_0x1553fe,_0x3e1ec6){return _0x4b4f67['VxbbD'](_0x1553fe,_0x3e1ec6);},'yPrMQ':function(_0x4cc44c,_0x31c44b){const _0x5c726e=_0x2e0f;return _0x4b4f67[_0x5c726e(0x14e)](_0x4cc44c,_0x31c44b);}};let _0x4eed14=![],_0x4f6e6e=null;const _0x271efd=randomUUID();sendSuccessCBMap[_0x271efd]=_0x316da2=>{const _0x27eac9=_0x2e0f;if(_0x5a22a1[_0x27eac9(0x155)](_0x316da2[_0x27eac9(0x15f)],_0x4f6e6e?.['msgId'])){if(_0x5a22a1[_0x27eac9(0x178)](_0x316da2[_0x27eac9(0x16d)],0x2))return delete sendSuccessCBMap[_0x271efd],_0x4eed14=!![],_0x5a22a1[_0x27eac9(0x157)](_0x577e66,_0x316da2),!![];return![];}return![];},sendMessagePool[_0x5e55d4]=async _0x43e38b=>{delete sendMessagePool[_0x5e55d4],_0x4f6e6e=_0x43e38b;},_0x4b4f67['nvjEm'](setTimeout,()=>{const _0x4549fe=_0x2e0f;if(_0x4eed14)return;delete sendMessagePool[_0x5e55d4],delete sendSuccessCBMap[_0x271efd],_0x4b4f67[_0x4549fe(0x15e)](_0x4c9710,_0x4b4f67['LnQsQ']);},_0x1ee35d);const _0x38a4a1=napCatCore[_0x5da374(0x160)][_0x5da374(0x168)]()['sendMsg']('0',_0x49ef6a,_0x410c4b,new Map());});}static async[_0x48d236(0x16a)](_0x2b4e77,_0x12a906,_0x57ab71){const _0x4389aa=_0x48d236;return napCatCore['session'][_0x4389aa(0x168)]()[_0x4389aa(0x16a)](_0x57ab71,_0x2b4e77,[_0x12a906],new Map());}static async['multiForwardMsg'](_0x5dc56b,_0x129abe,_0x22f44b){const _0x522367={'zQony':function(_0x2edc47,_0x5180b8){return _0x2edc47!=_0x5180b8;},'foBHP':function(_0x27aebd,_0x47791e){return _0x27aebd==_0x47791e;},'TEdnz':function(_0x39f70b,_0x4fd3d7){return _0x39f70b(_0x4fd3d7);},'NNzni':'转发消息超时','dEtAJ':function(_0x396267){return _0x396267();},'nQHoG':function(_0x5c598a,_0x459ea4,_0xff5520){return _0x5c598a(_0x459ea4,_0xff5520);}},_0xfe14a9=_0x22f44b['map'](_0x35711d=>{const _0x2dc157=_0x2e0f;return{'msgId':_0x35711d,'senderShowName':selfInfo[_0x2dc157(0x154)]};});return new Promise((_0x2bf64f,_0x34a3d5)=>{const _0x263585=_0x2e0f;let _0x161176=![];const _0x576e39=_0xbd0bfe=>{const _0x4cfb8f=_0x2e0f,_0x585bd0=_0xbd0bfe[_0x4cfb8f(0x164)][_0x4cfb8f(0x188)](_0x569067=>_0x569067[_0x4cfb8f(0x15d)]);if(!_0x585bd0)return;const _0xf573bf=JSON[_0x4cfb8f(0x15b)](_0x585bd0[_0x4cfb8f(0x15d)]['bytesData']);if(_0x522367['zQony'](_0xf573bf['app'],_0x4cfb8f(0x185)))return;_0x522367[_0x4cfb8f(0x153)](_0xbd0bfe[_0x4cfb8f(0x170)],_0x129abe[_0x4cfb8f(0x170)])&&_0xbd0bfe['senderUid']==selfInfo[_0x4cfb8f(0x167)]&&(_0x161176=!![],_0x522367[_0x4cfb8f(0x14d)](_0x2bf64f,_0xbd0bfe));};sentMsgTasks[_0x263585(0x169)](_0x522367[_0x263585(0x159)](randomUUID),_0x576e39),_0x522367[_0x263585(0x163)](setTimeout,()=>{const _0x22bdca=_0x263585;!_0x161176&&_0x522367[_0x22bdca(0x14d)](_0x34a3d5,_0x522367[_0x22bdca(0x166)]);},0x1388),napCatCore[_0x263585(0x160)][_0x263585(0x168)]()[_0x263585(0x183)](_0xfe14a9,_0x5dc56b,_0x129abe,[],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 1e879b93..4f1d6344 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0x129e(){const _0x3b2df0=['1087122hNQgnz','AqFGf','wqXvI','p_skey=',';\x20p_uin=o','iQEbp','MiniApp\x20JSON\x20消息生成失败','getSkey','gimjt','UnqGd','signed_ark','MiniApp\x20JSON\x20消息生成成功','p_skey','1072974pbhwAp','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=',';\x20uin=o','553lAvLlF','tag','5432418gfRayt','4TFjxuZ','dHgKF','xmqOR','tianxuan.imgJumpArk','stringify','\x5c/\x5c/','oaiJE','com.tencent.miniapp.lua','rdyrI','uin','normal','HKnGJ','2620885KQlcKf','replace','YjVUr','genBkn','prompt','sourcelogo','getQzoneCookies','title','noMLN','670080ryqNIk','67674smZHod','Rknke','3415416gSEkkJ'];_0x129e=function(){return _0x3b2df0;};return _0x129e();}(function(_0xea84b2,_0x3e1674){const _0x7104ed=_0x3df4,_0x47074b=_0xea84b2();while(!![]){try{const _0x269421=parseInt(_0x7104ed(0x176))/0x1+-parseInt(_0x7104ed(0x172))/0x2+-parseInt(_0x7104ed(0x157))/0x3+-parseInt(_0x7104ed(0x15d))/0x4*(parseInt(_0x7104ed(0x169))/0x5)+-parseInt(_0x7104ed(0x173))/0x6*(-parseInt(_0x7104ed(0x15a))/0x7)+parseInt(_0x7104ed(0x175))/0x8+-parseInt(_0x7104ed(0x15c))/0x9;if(_0x269421===_0x3e1674)break;else _0x47074b['push'](_0x47074b['shift']());}catch(_0x41baee){_0x47074b['push'](_0x47074b['shift']());}}}(_0x129e,0x8eba5));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0x3df4(_0x246efd,_0x280c20){const _0x129ee7=_0x129e();return _0x3df4=function(_0x3df45d,_0x1f5fed){_0x3df45d=_0x3df45d-0x14e;let _0x540b2f=_0x129ee7[_0x3df45d];return _0x540b2f;},_0x3df4(_0x246efd,_0x280c20);}import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x3045f9){const _0x470fd7=_0x3df4,_0x2fff69={'dHgKF':_0x470fd7(0x164),'BfviR':_0x470fd7(0x160),'xmqOR':_0x470fd7(0x162),'iQEbp':function(_0x3ec886,_0x5c5365){return _0x3ec886+_0x5c5365;},'YEFQg':function(_0x3c0c81,_0x5341c9){return _0x3c0c81+_0x5341c9;},'HKnGJ':function(_0x19b9f8,_0x2013f6){return _0x19b9f8+_0x2013f6;},'wqXvI':_0x470fd7(0x179),'rdyrI':_0x470fd7(0x159),'eWdlt':function(_0x683e4,_0x5a9294){return _0x683e4+_0x5a9294;},'gimjt':function(_0x50d29d,_0x5ae2fb){return _0x50d29d+_0x5ae2fb;},'oaiJE':function(_0x1a4e89,_0x173050){return _0x1a4e89+_0x173050;},'AqFGf':_0x470fd7(0x158),'FpqpK':'&ark=','Rknke':function(_0x4f516e,_0x4dab7b){return _0x4f516e(_0x4dab7b);},'YjVUr':'GET','noMLN':function(_0x42522a,_0x2226ad,_0x152852){return _0x42522a(_0x2226ad,_0x152852);},'UnqGd':_0x470fd7(0x155)};let _0x1da6a8={'app':_0x2fff69[_0x470fd7(0x15e)],'bizsrc':_0x2fff69['BfviR'],'view':'miniapp','prompt':_0x3045f9[_0x470fd7(0x16d)],'config':{'type':_0x470fd7(0x167),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x3045f9[_0x470fd7(0x170)],'preview':_0x3045f9['preview'][_0x470fd7(0x16a)](/\\/g,_0x2fff69[_0x470fd7(0x15f)]),'jumpUrl':_0x3045f9['jumpUrl']['replace'](/\\/g,_0x470fd7(0x162)),'tag':_0x3045f9[_0x470fd7(0x15b)],'tagIcon':_0x3045f9['tagIcon'][_0x470fd7(0x16a)](/\\/g,_0x2fff69['xmqOR']),'source':_0x3045f9['source'],'sourcelogo':_0x3045f9[_0x470fd7(0x16e)]['replace'](/\\/g,_0x2fff69['xmqOR'])}}};const _0x1f5c2a=await NTQQUserApi[_0x470fd7(0x151)]();let _0x39c5a4=await NTQQUserApi[_0x470fd7(0x16f)]();const _0x1c6678=WebApi[_0x470fd7(0x16c)](_0x39c5a4[_0x470fd7(0x156)]),_0x1a4e0e=_0x2fff69['iQEbp'](_0x2fff69['YEFQg'](_0x2fff69[_0x470fd7(0x14f)](_0x2fff69[_0x470fd7(0x168)](_0x2fff69['HKnGJ'](_0x2fff69[_0x470fd7(0x168)](_0x2fff69[_0x470fd7(0x178)],_0x39c5a4[_0x470fd7(0x156)])+';\x20skey=',_0x39c5a4['skey']),_0x470fd7(0x14e)),selfInfo[_0x470fd7(0x166)]),_0x2fff69[_0x470fd7(0x165)]),selfInfo['uin']);let _0x4e07cf=_0x2fff69['eWdlt'](_0x2fff69[_0x470fd7(0x152)](_0x2fff69[_0x470fd7(0x163)](_0x2fff69[_0x470fd7(0x177)],_0x1c6678),_0x2fff69['FpqpK']),_0x2fff69[_0x470fd7(0x174)](encodeURIComponent,JSON[_0x470fd7(0x161)](_0x1da6a8))),_0x34f94d='';try{let _0xb02c36=await RequestUtil['HttpGetJson'](_0x4e07cf,_0x2fff69[_0x470fd7(0x16b)],undefined,{'Cookie':_0x1a4e0e});_0x2fff69[_0x470fd7(0x171)](logDebug,_0x2fff69[_0x470fd7(0x153)],_0xb02c36),_0x34f94d=_0xb02c36['data'][_0x470fd7(0x154)];}catch(_0xc81b95){_0x2fff69['noMLN'](logDebug,_0x470fd7(0x150),_0xc81b95);}return _0x34f94d;} \ No newline at end of file +(function(_0x29c259,_0x56fda5){const _0xd8cbb8=_0x4c87,_0x41cf3a=_0x29c259();while(!![]){try{const _0x11f1ce=-parseInt(_0xd8cbb8(0xe0))/0x1+parseInt(_0xd8cbb8(0xef))/0x2*(-parseInt(_0xd8cbb8(0xf7))/0x3)+parseInt(_0xd8cbb8(0x10a))/0x4*(parseInt(_0xd8cbb8(0xf9))/0x5)+-parseInt(_0xd8cbb8(0xe7))/0x6+-parseInt(_0xd8cbb8(0xe4))/0x7+-parseInt(_0xd8cbb8(0xe1))/0x8*(-parseInt(_0xd8cbb8(0x109))/0x9)+parseInt(_0xd8cbb8(0xf4))/0xa;if(_0x11f1ce===_0x56fda5)break;else _0x41cf3a['push'](_0x41cf3a['shift']());}catch(_0x3c5898){_0x41cf3a['push'](_0x41cf3a['shift']());}}}(_0x4694,0x4aa5c));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x4694(){const _0x47f8a5=['genBkn','\x5c/\x5c/','iSoxg','AvmGn',';\x20uin=o','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','p_skey','qwzTU',';\x20skey=','com.tencent.miniapp.lua','title','aykmh','18IWOXEi','373860sWFoRR','SsUTQ','169719LzGrGR','2100856GCINQv','FjBUg','GET','3201037ONZgmu','data','tDFCg','1542678iaMMoJ','tagIcon','tag','getQzoneCookies','MiniApp\x20JSON\x20消息生成失败','miniapp','PLcjX','HttpGetJson','170OxBniS','&ark=','uin','source','tianxuan.imgJumpArk','6745450iOHTnH','sourcelogo','normal','10245apqhVt','oCWfX','15AOKISF','p_skey=','replace','preview'];_0x4694=function(){return _0x47f8a5;};return _0x4694();}import{WebApi}from'./webapi';function _0x4c87(_0x58db78,_0x3fa61d){const _0x469427=_0x4694();return _0x4c87=function(_0x4c87b5,_0x31a4a9){_0x4c87b5=_0x4c87b5-0xe0;let _0xcb2930=_0x469427[_0x4c87b5];return _0xcb2930;},_0x4c87(_0x58db78,_0x3fa61d);}export async function SignMiniApp(_0x2e9d16){const _0x326440=_0x4c87,_0x7dacb6={'SsUTQ':_0x326440(0xf3),'tDFCg':_0x326440(0xec),'oCWfX':_0x326440(0xfe),'HpKyo':function(_0x15e743,_0x3187f6){return _0x15e743+_0x3187f6;},'sOsae':function(_0x40fd53,_0x30a91b){return _0x40fd53+_0x30a91b;},'PLcjX':function(_0x270089,_0x5dab18){return _0x270089+_0x5dab18;},'aykmh':_0x326440(0xfa),'cXvhQ':';\x20p_uin=o','FjBUg':function(_0x460c91,_0x247dab){return _0x460c91+_0x247dab;},'TkqEx':function(_0x2cbe23,_0x192edb){return _0x2cbe23+_0x192edb;},'AvmGn':_0x326440(0xf0),'EwsSP':function(_0x3dace0,_0x28fd7f){return _0x3dace0(_0x28fd7f);},'nJnYw':_0x326440(0xe3),'qwzTU':function(_0x4fb2e1,_0x4ec187,_0x4ea55d){return _0x4fb2e1(_0x4ec187,_0x4ea55d);},'iSoxg':_0x326440(0xeb)};let _0x3c1e1c={'app':_0x326440(0x106),'bizsrc':_0x7dacb6[_0x326440(0x10b)],'view':_0x7dacb6[_0x326440(0xe6)],'prompt':_0x2e9d16['prompt'],'config':{'type':_0x326440(0xf6),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2e9d16[_0x326440(0x107)],'preview':_0x2e9d16[_0x326440(0xfc)][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)]),'jumpUrl':_0x2e9d16['jumpUrl'][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)]),'tag':_0x2e9d16[_0x326440(0xe9)],'tagIcon':_0x2e9d16[_0x326440(0xe8)][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)]),'source':_0x2e9d16[_0x326440(0xf2)],'sourcelogo':_0x2e9d16[_0x326440(0xf5)][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)])}}};const _0x43f740=await NTQQUserApi['getSkey']();let _0x162301=await NTQQUserApi[_0x326440(0xea)]();const _0x5cca8f=WebApi[_0x326440(0xfd)](_0x162301[_0x326440(0x103)]),_0x3f889b=_0x7dacb6['HpKyo'](_0x7dacb6['sOsae'](_0x7dacb6['sOsae'](_0x7dacb6['HpKyo'](_0x7dacb6[_0x326440(0xed)](_0x7dacb6['sOsae'](_0x7dacb6[_0x326440(0x108)],_0x162301['p_skey']),_0x326440(0x105)),_0x162301['skey'])+_0x7dacb6['cXvhQ'],selfInfo[_0x326440(0xf1)]),_0x326440(0x101)),selfInfo['uin']);let _0x2c2205=_0x7dacb6[_0x326440(0xe2)](_0x7dacb6['TkqEx'](_0x326440(0x102),_0x5cca8f)+_0x7dacb6[_0x326440(0x100)],_0x7dacb6['EwsSP'](encodeURIComponent,JSON['stringify'](_0x3c1e1c))),_0x5e0c68='';try{let _0xfdf7eb=await RequestUtil[_0x326440(0xee)](_0x2c2205,_0x7dacb6['nJnYw'],undefined,{'Cookie':_0x3f889b});_0x5e0c68=_0xfdf7eb[_0x326440(0xe5)]['signed_ark'];}catch(_0x30d6fa){_0x7dacb6[_0x326440(0x104)](logDebug,_0x7dacb6[_0x326440(0xff)],_0x30d6fa);}return _0x5e0c68;} \ 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 ed465a5f..66024945 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x5e7a(_0xc09b1f,_0x37d22f){var _0x49fec7=_0x49fe();return _0x5e7a=function(_0x5e7aac,_0x49f1de){_0x5e7aac=_0x5e7aac-0x159;var _0xdca05b=_0x49fec7[_0x5e7aac];return _0xdca05b;},_0x5e7a(_0xc09b1f,_0x37d22f);}var _0x454363=_0x5e7a;(function(_0x30fd98,_0x2c217d){var _0x505996=_0x5e7a,_0x1fc33e=_0x30fd98();while(!![]){try{var _0x16389b=-parseInt(_0x505996(0x15d))/0x1*(parseInt(_0x505996(0x15c))/0x2)+-parseInt(_0x505996(0x16a))/0x3*(parseInt(_0x505996(0x161))/0x4)+parseInt(_0x505996(0x15f))/0x5*(parseInt(_0x505996(0x165))/0x6)+-parseInt(_0x505996(0x15e))/0x7+-parseInt(_0x505996(0x15b))/0x8*(-parseInt(_0x505996(0x166))/0x9)+-parseInt(_0x505996(0x162))/0xa*(parseInt(_0x505996(0x159))/0xb)+parseInt(_0x505996(0x169))/0xc*(parseInt(_0x505996(0x168))/0xd);if(_0x16389b===_0x2c217d)break;else _0x1fc33e['push'](_0x1fc33e['shift']());}catch(_0x4ab417){_0x1fc33e['push'](_0x1fc33e['shift']());}}}(_0x49fe,0xe1dbb));function _0x49fe(){var _0x19dfcf=['40YPOGVu','util','77432fauQra','926790ZARyec','getNodeMiscService','wantWinScreenOCR','69306NawcTH','14643zIiipo','ORCImage','26KZJBSP','12265608HImtUT','246LRmkxa','33lrxNdv','hasOtherRunningQQProcess','5904DqXxNB','2tGHjdX','150953bldCtp','2771587oZjbiq'];_0x49fe=function(){return _0x19dfcf;};return _0x49fe();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x454363(0x15a)](){var _0x2c28c1=_0x454363;return napCatCore[_0x2c28c1(0x160)]['hasOtherRunningQQProcess']();}static async[_0x454363(0x167)](_0x10112c){var _0x91a275=_0x454363;return napCatCore['session'][_0x91a275(0x163)]()[_0x91a275(0x164)](_0x10112c);}} \ No newline at end of file +var _0x1ff0b2=_0x24a7;function _0x24a7(_0x3e960f,_0x201e9b){var _0x4562f2=_0x4562();return _0x24a7=function(_0x24a782,_0x3b4a8b){_0x24a782=_0x24a782-0x187;var _0x336c82=_0x4562f2[_0x24a782];return _0x336c82;},_0x24a7(_0x3e960f,_0x201e9b);}(function(_0x470adb,_0x89a806){var _0x47bb02=_0x24a7,_0x1ce265=_0x470adb();while(!![]){try{var _0x482f2e=-parseInt(_0x47bb02(0x187))/0x1*(parseInt(_0x47bb02(0x195))/0x2)+parseInt(_0x47bb02(0x191))/0x3+-parseInt(_0x47bb02(0x18c))/0x4*(-parseInt(_0x47bb02(0x18a))/0x5)+-parseInt(_0x47bb02(0x189))/0x6*(-parseInt(_0x47bb02(0x192))/0x7)+parseInt(_0x47bb02(0x193))/0x8+parseInt(_0x47bb02(0x18d))/0x9+-parseInt(_0x47bb02(0x188))/0xa;if(_0x482f2e===_0x89a806)break;else _0x1ce265['push'](_0x1ce265['shift']());}catch(_0x5582ef){_0x1ce265['push'](_0x1ce265['shift']());}}}(_0x4562,0x41b25));import{napCatCore}from'@/core';function _0x4562(){var _0x4cbb98=['3936186HMDhOB','ORCImage','util','hasOtherRunningQQProcess','1465725iuRfHS','76363OLAjeF','1064200GqurEX','wantWinScreenOCR','1094CaHAoA','651XyktXm','9983520SkHQft','54EmlSDS','8935eAhdFy','session','1044yGuoLN'];_0x4562=function(){return _0x4cbb98;};return _0x4562();}export class NTQQSystemApi{static async[_0x1ff0b2(0x190)](){var _0x14fc63=_0x1ff0b2;return napCatCore[_0x14fc63(0x18f)][_0x14fc63(0x190)]();}static async[_0x1ff0b2(0x18e)](_0x533e9f){var _0x28a68a=_0x1ff0b2;return napCatCore[_0x28a68a(0x18b)]['getNodeMiscService']()[_0x28a68a(0x194)](_0x533e9f);}} \ 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 d79af290..124f2027 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x45b44e=_0x770c;(function(_0x31aff0,_0x396c19){const _0x3664f4=_0x770c,_0x14781d=_0x31aff0();while(!![]){try{const _0x17ed57=parseInt(_0x3664f4(0x130))/0x1*(parseInt(_0x3664f4(0x12e))/0x2)+-parseInt(_0x3664f4(0x14c))/0x3*(parseInt(_0x3664f4(0x16c))/0x4)+-parseInt(_0x3664f4(0x165))/0x5+-parseInt(_0x3664f4(0x169))/0x6+parseInt(_0x3664f4(0x132))/0x7+parseInt(_0x3664f4(0x14a))/0x8+-parseInt(_0x3664f4(0x146))/0x9*(-parseInt(_0x3664f4(0x148))/0xa);if(_0x17ed57===_0x396c19)break;else _0x14781d['push'](_0x14781d['shift']());}catch(_0x173d34){_0x14781d['push'](_0x14781d['shift']());}}}(_0x477e,0x2c81b));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x477e(){const _0x3b50a7=['625870XJJBPo','PskeyData','forEach','获取Pskey失败','1391118qmzzjp','domainPskeyMap','DsWkN','4WAgxXC','getTicketService','bQrfs','get','setSelfOnlineStatus','PskeyTime','getSelfInfo','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','setQQAvatar','tJDUd','QEaUJ','UCaFa','getUserDetailInfo','LPHdY','setBuddyProfileLike','lbAqI','qmEds','getUserInfo','uin','addListener','oYPCf','&clientkey=','KeyIndex','6FOCBpq','getUserDetailInfoWithBizInfo','32530cAVLuj','getQzoneCookies','1236697jUScve','RswAf','getRobotService','response','getProfileLikeService','VDjcz','getTipOffService','now','setStatus','zzCeC','set','请求获取Skey时失败','getMsgService','Skey','result','forceFetchClientKey','fromEntries','ZtwXy','HttpsGetCookies','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','9aqhoNJ','skey','2316970IMcgvX','ligfY','2361856MzWtZJ','WNsSl','785592dduzNf','tWYRd','请求获取Cookies时失败','getPSkey','AamsQ','CiZoq','uid','errMsg','uykdW','setHeader','CreatTime','delete','NeikK','session','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','onLoginSuccess','clientKey','onProfileDetailInfoChanged','ClientKey','getProfileService','miwBe','pOgkq','like','uYLCV','TSxVp'];_0x477e=function(){return _0x3b50a7;};return _0x477e();}import{logDebug,logError}from'@/common/utils/log';function _0x770c(_0x119b37,_0x638c4b){const _0x477e41=_0x477e();return _0x770c=function(_0x770c84,_0x59fe21){_0x770c84=_0x770c84-0x11d;let _0x3691bd=_0x477e41[_0x770c84];return _0x3691bd;},_0x770c(_0x119b37,_0x638c4b);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x45b44e(0x15d)]=_0xd0de82=>{const _0x3621e5=_0x45b44e;userInfoCache[_0xd0de82[_0x3621e5(0x152)]]=_0xd0de82,userDetailHandlers[_0x3621e5(0x167)](_0x1084bc=>_0x1084bc(_0xd0de82));},setTimeout(()=>{const _0x324642=_0x45b44e;napCatCore[_0x324642(0x15b)](()=>{const _0xad599b=_0x324642;napCatCore[_0xad599b(0x12a)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x45b44e(0x170)](_0x4033e1,_0x317e79,_0x276e17){const _0x7ac9bb=_0x45b44e;return napCatCore['session'][_0x7ac9bb(0x13e)]()[_0x7ac9bb(0x13a)]({'status':_0x4033e1,'extStatus':_0x317e79,'batteryStatus':_0x276e17});}static async[_0x45b44e(0x162)](_0x3a4bbf,_0x549dfd=0x1){const _0x10fe53=_0x45b44e;return napCatCore[_0x10fe53(0x159)][_0x10fe53(0x136)]()[_0x10fe53(0x125)]({'friendUid':_0x3a4bbf,'sourceId':0x47,'doLikeCount':_0x549dfd,'doLikeTollCount':0x0});}static async[_0x45b44e(0x11f)](_0x56e34b){const _0x1920de=_0x45b44e,_0x1c215a=napCatCore[_0x1920de(0x159)][_0x1920de(0x15f)]()[_0x1920de(0x155)](_0x56e34b);return{'result':_0x1c215a?.[_0x1920de(0x140)],'errMsg':_0x1c215a?.[_0x1920de(0x153)]};}static async[_0x45b44e(0x11d)](){}static async[_0x45b44e(0x128)](_0x304e68){}static async[_0x45b44e(0x123)](_0x31987b){const _0x4a9a3f=_0x45b44e,_0x43d5e5={'QEaUJ':function(_0x47e05f,_0x78e104){return _0x47e05f===_0x78e104;},'EKFOF':function(_0x4b335f,_0x3bac18){return _0x4b335f(_0x3bac18);},'CiZoq':'getUserDetailInfo\x20timeout','uYLCV':function(_0x1ac236){return _0x1ac236();},'AsjkQ':function(_0x11aa46,_0x17e969,_0x32ea70){return _0x11aa46(_0x17e969,_0x32ea70);}},_0x272055=napCatCore[_0x4a9a3f(0x159)][_0x4a9a3f(0x15f)]();return new Promise((_0x13c619,_0x44d0db)=>{const _0x547b20=_0x4a9a3f,_0x424197={'RswAf':function(_0xad558c,_0x27768b){return _0x43d5e5['EKFOF'](_0xad558c,_0x27768b);},'UCaFa':_0x43d5e5[_0x547b20(0x151)]},_0x3a0be6=_0x43d5e5[_0x547b20(0x163)](randomUUID);let _0x1d26e3=![],_0x2beea0=undefined,_0x24b90d=!![];_0x43d5e5['AsjkQ'](setTimeout,()=>{const _0x533990=_0x547b20;!_0x1d26e3&&(_0x2beea0?_0x13c619(_0x2beea0):_0x424197[_0x533990(0x133)](_0x44d0db,_0x424197[_0x533990(0x122)])),userDetailHandlers[_0x533990(0x157)](_0x3a0be6);},0x1388),userDetailHandlers[_0x547b20(0x13c)](_0x3a0be6,_0x247e3c=>{const _0x2e361a=_0x547b20;_0x43d5e5[_0x2e361a(0x121)](_0x247e3c[_0x2e361a(0x152)],_0x31987b)&&(uid2UinMap[_0x31987b]=_0x247e3c[_0x2e361a(0x129)],_0x24b90d?(_0x2beea0=_0x247e3c,_0x24b90d=![]):(_0x1d26e3=!![],_0x13c619(_0x247e3c)));}),_0x272055[_0x547b20(0x12f)](_0x31987b,[0x0])['then'](_0x587c8d=>{});});}static async[_0x45b44e(0x14f)](_0x36234b,_0x382b65=!![]){const _0x49d78c=_0x45b44e,_0x2bafbd={'lbAqI':function(_0x5965b7,_0x3c92e8){return _0x5965b7>_0x3c92e8;},'jdjDY':function(_0x1b77fe,_0x1d9b5b){return _0x1b77fe-_0x1d9b5b;},'uykdW':function(_0x24c53d,_0x121e0d){return _0x24c53d*_0x121e0d;},'miwBe':function(_0x2caa8e,_0x45b887,_0x29a701){return _0x2caa8e(_0x45b887,_0x29a701);}},_0x4db8c1=[],_0x1e6eae={};for(const _0x2d8db9 in _0x36234b){const _0x16bc0f=Credentials[_0x49d78c(0x166)][_0x49d78c(0x16f)](_0x36234b[_0x2d8db9]),_0x3a7d8e=Credentials[_0x49d78c(0x171)][_0x49d78c(0x16f)](_0x36234b[_0x2d8db9]);!_0x16bc0f||!_0x3a7d8e||_0x2bafbd[_0x49d78c(0x126)](_0x2bafbd['jdjDY'](Date[_0x49d78c(0x139)](),_0x3a7d8e),_0x2bafbd[_0x49d78c(0x154)](0x708,0x3e8))||!_0x382b65?_0x4db8c1['push'](_0x36234b[_0x2d8db9]):_0x1e6eae[_0x36234b[_0x2d8db9]]=_0x16bc0f;}let _0x4b2845={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4db8c1['length']>0x0&&(_0x4b2845=await napCatCore[_0x49d78c(0x159)][_0x49d78c(0x138)]()['getPskey'](_0x4db8c1,!![]));const _0x47da08=_0x4b2845[_0x49d78c(0x16a)];for(const _0x53358a of _0x47da08['entries']()){Credentials['PskeyData'][_0x49d78c(0x13c)](_0x53358a[0x0],_0x53358a[0x1]),Credentials[_0x49d78c(0x171)]['set'](_0x53358a[0x0],Date[_0x49d78c(0x139)]());}const _0x14fd80=Object['assign'](Object[_0x49d78c(0x142)](_0x47da08),_0x1e6eae);if(_0x4b2845[_0x49d78c(0x140)]===0x0)return _0x14fd80;else _0x2bafbd[_0x49d78c(0x160)](logError,_0x49d78c(0x168),_0x4b2845[_0x49d78c(0x153)]);return{};}static async['getRobotUinRange'](){const _0x40a248=_0x45b44e,_0x23a321=await napCatCore['session'][_0x40a248(0x134)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x23a321?.[_0x40a248(0x135)]?.['robotUinRanges'];}static async[_0x45b44e(0x131)](){const _0x29cc8d=_0x45b44e,_0x5c0ac7={'pOgkq':function(_0x514965,_0x22db9e){return _0x514965+_0x22db9e;},'VDjcz':function(_0x55a3a1,_0x2a0c3c){return _0x55a3a1+_0x2a0c3c;},'LPHdY':function(_0x15d8f9,_0xd6793e){return _0x15d8f9+_0xd6793e;},'TSxVp':_0x29cc8d(0x15a),'NeikK':_0x29cc8d(0x145),'XshEV':'%2Finfocenter&keyindex=19%27'},_0x316d9c=_0x5c0ac7[_0x29cc8d(0x161)](_0x5c0ac7[_0x29cc8d(0x137)](_0x5c0ac7[_0x29cc8d(0x124)](_0x5c0ac7['pOgkq'](_0x5c0ac7[_0x29cc8d(0x164)],selfInfo['uin'])+_0x29cc8d(0x12c),Credentials[_0x29cc8d(0x15e)])+_0x5c0ac7[_0x29cc8d(0x158)],selfInfo[_0x29cc8d(0x129)]),_0x5c0ac7['XshEV']);let _0x344705={};try{_0x344705=await RequestUtil[_0x29cc8d(0x144)](_0x316d9c);}catch(_0x105294){logDebug(_0x29cc8d(0x14e),_0x105294),_0x344705={};}return _0x344705;}static async['getSkey'](_0x12c4da=!![]){const _0x513be0=_0x45b44e,_0x5058ad={'ligfY':function(_0x42b747,_0x1e8e0e){return _0x42b747==_0x1e8e0e;},'qmEds':function(_0xbaf333,_0x39f2e5){return _0xbaf333>_0x39f2e5;},'DsWkN':function(_0x43b032,_0x3d9ddb){return _0x43b032-_0x3d9ddb;},'WNsSl':function(_0x4a372e,_0x27994f){return _0x4a372e*_0x27994f;},'DxXyN':function(_0x38c5a2,_0x26b23b){return _0x38c5a2!==_0x26b23b;},'ZtwXy':function(_0x2b03e1,_0x25a4da){return _0x2b03e1+_0x25a4da;},'oYPCf':function(_0x282a3c,_0x2a37be){return _0x282a3c+_0x2a37be;},'bQrfs':function(_0x337a0f,_0x5051af){return _0x337a0f+_0x5051af;},'puHMM':_0x513be0(0x15a),'tJDUd':_0x513be0(0x12c),'zzCeC':_0x513be0(0x11e),'tWYRd':_0x513be0(0x13d),'AamsQ':_0x513be0(0x147)};try{if(_0x5058ad[_0x513be0(0x149)](Credentials[_0x513be0(0x156)],0x0)||_0x5058ad[_0x513be0(0x127)](_0x5058ad[_0x513be0(0x16b)](Date['now'](),Credentials[_0x513be0(0x156)]),_0x5058ad[_0x513be0(0x14b)](0x3e8,0xe10))||!_0x12c4da){const _0x1f8ae8=await napCatCore['session'][_0x513be0(0x16d)]()[_0x513be0(0x141)]('');if(_0x5058ad['DxXyN'](_0x1f8ae8['result'],0x0))return'';const _0x45b8f6=_0x1f8ae8[_0x513be0(0x15c)],_0x28a108=_0x1f8ae8['keyIndex'],_0x46e832=_0x5058ad[_0x513be0(0x143)](_0x5058ad[_0x513be0(0x12b)](_0x5058ad[_0x513be0(0x16e)](_0x5058ad['puHMM'],selfInfo[_0x513be0(0x129)]),_0x5058ad[_0x513be0(0x120)])+_0x45b8f6+_0x5058ad[_0x513be0(0x13b)],_0x28a108);let _0xbd21cf={};try{_0xbd21cf=await RequestUtil[_0x513be0(0x144)](_0x46e832);}catch(_0x370bd3){logDebug(_0x5058ad[_0x513be0(0x14d)],_0x370bd3),_0xbd21cf={};}const _0x79c1b2=_0xbd21cf[_0x5058ad[_0x513be0(0x150)]];if(!_0x79c1b2)return'';return Credentials[_0x513be0(0x15e)]=_0x45b8f6,Credentials[_0x513be0(0x12d)]=_0x28a108,Credentials[_0x513be0(0x156)]=Date[_0x513be0(0x139)](),Credentials[_0x513be0(0x13f)]=_0x79c1b2,_0x79c1b2;}return Credentials[_0x513be0(0x13f)];}catch(_0x5cafbe){}return undefined;}} \ No newline at end of file +const _0x44d698=_0x37c1;(function(_0x361e94,_0x4ec3cd){const _0x478b40=_0x37c1,_0x38f8cf=_0x361e94();while(!![]){try{const _0x201124=-parseInt(_0x478b40(0x108))/0x1+parseInt(_0x478b40(0x126))/0x2*(-parseInt(_0x478b40(0x11d))/0x3)+parseInt(_0x478b40(0x119))/0x4*(-parseInt(_0x478b40(0x120))/0x5)+parseInt(_0x478b40(0x139))/0x6+parseInt(_0x478b40(0x13f))/0x7+parseInt(_0x478b40(0xfe))/0x8+-parseInt(_0x478b40(0x141))/0x9;if(_0x201124===_0x4ec3cd)break;else _0x38f8cf['push'](_0x38f8cf['shift']());}catch(_0x456fd2){_0x38f8cf['push'](_0x38f8cf['shift']());}}}(_0x4ad8,0x7d7de));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x4ad8(){const _0x4ddcca=['LNrcA','585515tkHtKu','AxaJx','forEach','getMsgService','CreatTime','getSkey','71726hlgNmO','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getProfileLikeService','Fdjzm','PskeyData','ClientKey','Htsao','getPSkey','setHeader','set','keyIndex','dKBKI','PskeyTime','RgjvK','fromEntries','push','then','KxmZF','getRobotUinRange','5037312nQytTY','LfORB','clientKey','getQzoneCookies','onLoginSuccess','请求获取Cookies时失败','3634540Xmxcmx','domainPskeyMap','6741891CLohqZ','now','setBuddyProfileLike','skxqX','获取Pskey失败','kVXKW','getProfileService','result','%2Finfocenter&keyindex=19%27','pgIZw','&clientkey=','uid','TinaE','MBBsS','qaMCJ','NwvbL','setStatus','addListener','7714152lvLukc','JCWmE','skey','response','jBBgJ','delete','onProfileDetailInfoChanged','getUserDetailInfo\x20timeout','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','forceFetchClientKey','108462qwSwHR','get','setSelfOnlineStatus','Skey','hTtYY','HttpsGetCookies','getTipOffService','setQQAvatar','mJKqf','getPskey','ixQcM','errMsg','LPZmT','entries','nYqkb','KeyIndex','iHPqM','8bqQWBq','pABGU','uin','session','60qmdofw','XLaXg'];_0x4ad8=function(){return _0x4ddcca;};return _0x4ad8();}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';function _0x37c1(_0x2d9f3e,_0x338281){const _0x4ad890=_0x4ad8();return _0x37c1=function(_0x37c1f6,_0xbe8db){_0x37c1f6=_0x37c1f6-0xfb;let _0x2f8bd5=_0x4ad890[_0x37c1f6];return _0x2f8bd5;},_0x37c1(_0x2d9f3e,_0x338281);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x44d698(0x104)]=_0x39b080=>{const _0x590f6c=_0x44d698;userInfoCache[_0x39b080[_0x590f6c(0x14c)]]=_0x39b080,userDetailHandlers[_0x590f6c(0x122)](_0x47aaa8=>_0x47aaa8(_0x39b080));},setTimeout(()=>{const _0x26bea9=_0x44d698;napCatCore[_0x26bea9(0x13d)](()=>{const _0x22cfd7=_0x26bea9;napCatCore[_0x22cfd7(0xfd)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x44d698(0x10a)](_0x8f282d,_0x4ed534,_0x313809){const _0x511da2=_0x44d698;return napCatCore[_0x511da2(0x11c)][_0x511da2(0x123)]()[_0x511da2(0xfc)]({'status':_0x8f282d,'extStatus':_0x4ed534,'batteryStatus':_0x313809});}static async['like'](_0x4a666f,_0x5d674f=0x1){const _0xcef9e7=_0x44d698;return napCatCore[_0xcef9e7(0x11c)][_0xcef9e7(0x128)]()[_0xcef9e7(0x143)]({'friendUid':_0x4a666f,'sourceId':0x47,'doLikeCount':_0x5d674f,'doLikeTollCount':0x0});}static async[_0x44d698(0x10f)](_0x66f082){const _0x163c9c=_0x44d698,_0x41101a=napCatCore[_0x163c9c(0x11c)][_0x163c9c(0x147)]()[_0x163c9c(0x12e)](_0x66f082);return{'result':_0x41101a?.[_0x163c9c(0x148)],'errMsg':_0x41101a?.[_0x163c9c(0x113)]};}static async['getSelfInfo'](){}static async['getUserInfo'](_0x3a413d){}static async['getUserDetailInfo'](_0x1cf865){const _0x4333be=_0x44d698,_0x23648d={'jBBgJ':function(_0x25f894,_0x3c689e){return _0x25f894===_0x3c689e;},'zXarJ':function(_0x465c3e,_0x5ecdd9){return _0x465c3e(_0x5ecdd9);},'nYqkb':function(_0x563b26){return _0x563b26();},'hTtYY':function(_0x37985c,_0x17b367,_0x1a5c23){return _0x37985c(_0x17b367,_0x1a5c23);}},_0x35e364=napCatCore[_0x4333be(0x11c)][_0x4333be(0x147)]();return new Promise((_0x4c2a02,_0x49fbd4)=>{const _0x42e21f=_0x4333be,_0x4566a9={'LNrcA':function(_0x3fdb69,_0x4998cf){return _0x23648d['zXarJ'](_0x3fdb69,_0x4998cf);}},_0x41441f=_0x23648d[_0x42e21f(0x116)](randomUUID);let _0x242019=![],_0x4b9f4b=undefined,_0x3d9069=!![];_0x23648d[_0x42e21f(0x10c)](setTimeout,()=>{const _0x23b85b=_0x42e21f;!_0x242019&&(_0x4b9f4b?_0x4566a9['LNrcA'](_0x4c2a02,_0x4b9f4b):_0x4566a9[_0x23b85b(0x11f)](_0x49fbd4,_0x23b85b(0x105))),userDetailHandlers[_0x23b85b(0x103)](_0x41441f);},0x1388),userDetailHandlers[_0x42e21f(0x12f)](_0x41441f,_0x3dbc9a=>{const _0x1ab4f4=_0x42e21f;_0x23648d[_0x1ab4f4(0x102)](_0x3dbc9a[_0x1ab4f4(0x14c)],_0x1cf865)&&(uid2UinMap[_0x1cf865]=_0x3dbc9a[_0x1ab4f4(0x11b)],_0x3d9069?(_0x4b9f4b=_0x3dbc9a,_0x3d9069=![]):(_0x242019=!![],_0x4c2a02(_0x3dbc9a)));}),_0x35e364['getUserDetailInfoWithBizInfo'](_0x1cf865,[0x0])[_0x42e21f(0x136)](_0x3218e3=>{});});}static async[_0x44d698(0x12d)](_0x121e9f,_0x742c2e=!![]){const _0x2581d3=_0x44d698,_0x4100ce={'dKBKI':function(_0x1372a5,_0x41d69b){return _0x1372a5||_0x41d69b;},'pgIZw':function(_0x29ad38,_0x20ac1a){return _0x29ad38>_0x20ac1a;},'PtPpA':function(_0x57aa54,_0x5f35e1){return _0x57aa54-_0x5f35e1;},'RgjvK':function(_0x1cd112,_0x15b2ef){return _0x1cd112*_0x15b2ef;},'MBBsS':function(_0x342972,_0x408ef0){return _0x342972>_0x408ef0;},'Dleiz':function(_0x184c2b,_0x3b04a3){return _0x184c2b===_0x3b04a3;},'JCWmE':function(_0x6a994c,_0x156620,_0x10557a){return _0x6a994c(_0x156620,_0x10557a);},'qaMCJ':_0x2581d3(0x145)},_0x2d1d4c=[],_0x43fcde={};for(const _0x437ed0 in _0x121e9f){const _0x4ae163=Credentials[_0x2581d3(0x12a)][_0x2581d3(0x109)](_0x121e9f[_0x437ed0]),_0x317f91=Credentials[_0x2581d3(0x132)][_0x2581d3(0x109)](_0x121e9f[_0x437ed0]);_0x4100ce[_0x2581d3(0x131)](!_0x4ae163,!_0x317f91)||_0x4100ce[_0x2581d3(0x14a)](_0x4100ce['PtPpA'](Date[_0x2581d3(0x142)](),_0x317f91),_0x4100ce[_0x2581d3(0x133)](0x708,0x3e8))||!_0x742c2e?_0x2d1d4c[_0x2581d3(0x135)](_0x121e9f[_0x437ed0]):_0x43fcde[_0x121e9f[_0x437ed0]]=_0x4ae163;}let _0x24ce9c={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4100ce[_0x2581d3(0x14e)](_0x2d1d4c['length'],0x0)&&(_0x24ce9c=await napCatCore[_0x2581d3(0x11c)][_0x2581d3(0x10e)]()[_0x2581d3(0x111)](_0x2d1d4c,!![]));const _0x10fddc=_0x24ce9c[_0x2581d3(0x140)];for(const _0x12656a of _0x10fddc[_0x2581d3(0x115)]()){Credentials[_0x2581d3(0x12a)][_0x2581d3(0x12f)](_0x12656a[0x0],_0x12656a[0x1]),Credentials['PskeyTime'][_0x2581d3(0x12f)](_0x12656a[0x0],Date[_0x2581d3(0x142)]());}const _0x42835e=Object['assign'](Object[_0x2581d3(0x134)](_0x10fddc),_0x43fcde);if(_0x4100ce['Dleiz'](_0x24ce9c['result'],0x0))return _0x42835e;else _0x4100ce[_0x2581d3(0xff)](logError,_0x4100ce[_0x2581d3(0x14f)],_0x24ce9c['errMsg']);return{};}static async['getRobotUinRange'](){const _0xd06dbb=_0x44d698,_0x46e4cd=await napCatCore[_0xd06dbb(0x11c)]['getRobotService']()[_0xd06dbb(0x138)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x46e4cd?.[_0xd06dbb(0x101)]?.['robotUinRanges'];}static async[_0x44d698(0x13c)](){const _0x43e16c=_0x44d698,_0x425f44={'wHaNK':function(_0x551ac9,_0x262d75){return _0x551ac9+_0x262d75;},'pABGU':function(_0x3d89ba,_0x54678e){return _0x3d89ba+_0x54678e;},'Fdjzm':function(_0xee8baa,_0x35fb59){return _0xee8baa+_0x35fb59;},'LfORB':function(_0x5d02af,_0x30a88c){return _0x5d02af+_0x30a88c;},'eECXN':_0x43e16c(0x127),'KxmZF':_0x43e16c(0x106),'iHPqM':_0x43e16c(0x149),'TinaE':function(_0x59654f,_0x123c2d,_0x8798eb){return _0x59654f(_0x123c2d,_0x8798eb);},'kVXKW':_0x43e16c(0x13e)},_0x968d0d=_0x425f44['wHaNK'](_0x425f44[_0x43e16c(0x11a)](_0x425f44[_0x43e16c(0x129)](_0x425f44[_0x43e16c(0x11a)](_0x425f44[_0x43e16c(0x13a)](_0x425f44['eECXN']+selfInfo[_0x43e16c(0x11b)],_0x43e16c(0x14b)),Credentials[_0x43e16c(0x12b)]),_0x425f44[_0x43e16c(0x137)]),selfInfo[_0x43e16c(0x11b)]),_0x425f44[_0x43e16c(0x118)]);let _0x2d3cea={};try{_0x2d3cea=await RequestUtil[_0x43e16c(0x10d)](_0x968d0d);}catch(_0x140ad9){_0x425f44[_0x43e16c(0x14d)](logDebug,_0x425f44[_0x43e16c(0x146)],_0x140ad9),_0x2d3cea={};}return _0x2d3cea;}static async[_0x44d698(0x125)](_0x8cfca=!![]){const _0x360f54=_0x44d698,_0x56323d={'ixQcM':function(_0x3931dd,_0x28e60d){return _0x3931dd-_0x28e60d;},'skxqX':function(_0x291bb0,_0x380782){return _0x291bb0*_0x380782;},'Htsao':function(_0x62056a,_0x317564){return _0x62056a+_0x317564;},'mJKqf':function(_0x279cca,_0x5f02fe){return _0x279cca+_0x5f02fe;},'sVeSw':function(_0x2eb746,_0x36c371){return _0x2eb746+_0x36c371;},'XLaXg':function(_0x598a3f,_0x1a5fc3){return _0x598a3f+_0x1a5fc3;},'AxaJx':_0x360f54(0x127),'twHtx':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','NwvbL':function(_0xaf77c0,_0x506c8a,_0x5da613){return _0xaf77c0(_0x506c8a,_0x5da613);},'LPZmT':'请求获取Skey时失败','xKFQl':_0x360f54(0x100)};try{if(Credentials[_0x360f54(0x124)]==0x0||_0x56323d[_0x360f54(0x112)](Date[_0x360f54(0x142)](),Credentials[_0x360f54(0x124)])>_0x56323d[_0x360f54(0x144)](0x3e8,0xe10)||!_0x8cfca){const _0x3e95dc=await napCatCore[_0x360f54(0x11c)]['getTicketService']()[_0x360f54(0x107)]('');if(_0x3e95dc[_0x360f54(0x148)]!==0x0)return'';const _0x44f972=_0x3e95dc[_0x360f54(0x13b)],_0x183105=_0x3e95dc[_0x360f54(0x130)],_0xdf38ad=_0x56323d[_0x360f54(0x12c)](_0x56323d[_0x360f54(0x110)](_0x56323d['sVeSw'](_0x56323d[_0x360f54(0x11e)](_0x56323d[_0x360f54(0x110)](_0x56323d[_0x360f54(0x121)],selfInfo[_0x360f54(0x11b)]),_0x360f54(0x14b)),_0x44f972),_0x56323d['twHtx']),_0x183105);let _0x4013a8={};try{_0x4013a8=await RequestUtil[_0x360f54(0x10d)](_0xdf38ad);}catch(_0x5e5c9f){_0x56323d[_0x360f54(0xfb)](logDebug,_0x56323d[_0x360f54(0x114)],_0x5e5c9f),_0x4013a8={};}const _0x3cd59e=_0x4013a8[_0x56323d['xKFQl']];if(!_0x3cd59e)return'';return Credentials['ClientKey']=_0x44f972,Credentials[_0x360f54(0x117)]=_0x183105,Credentials[_0x360f54(0x124)]=Date[_0x360f54(0x142)](),Credentials[_0x360f54(0x10b)]=_0x3cd59e,_0x3cd59e;}return Credentials['Skey'];}catch(_0x153607){}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 8007ab7e..268f7d69 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x16efaf=_0x1468;(function(_0x37b679,_0x3c2f00){const _0x1c6de1=_0x1468,_0x422e4a=_0x37b679();while(!![]){try{const _0x4c176d=-parseInt(_0x1c6de1(0x139))/0x1*(parseInt(_0x1c6de1(0x108))/0x2)+-parseInt(_0x1c6de1(0x182))/0x3+parseInt(_0x1c6de1(0x116))/0x4*(-parseInt(_0x1c6de1(0xf6))/0x5)+-parseInt(_0x1c6de1(0x141))/0x6*(-parseInt(_0x1c6de1(0x104))/0x7)+-parseInt(_0x1c6de1(0x134))/0x8+parseInt(_0x1c6de1(0x174))/0x9+parseInt(_0x1c6de1(0x121))/0xa;if(_0x4c176d===_0x3c2f00)break;else _0x422e4a['push'](_0x422e4a['shift']());}catch(_0x514fb8){_0x422e4a['push'](_0x422e4a['shift']());}}}(_0x2428,0xc4804));import{WebGroupData,selfInfo}from'@/core/data';function _0x1468(_0x530a7d,_0x484a02){const _0x2428ce=_0x2428();return _0x1468=function(_0x146817,_0x255017){_0x146817=_0x146817-0xe7;let _0x58ad74=_0x2428ce[_0x146817];return _0x58ad74;},_0x1468(_0x530a7d,_0x484a02);}import{logDebug}from'@/common/utils/log';function _0x2428(){const _0x412120=['JEsbO','legend_list','21IXqpyV','errcode','POST','Mlmnz','170XwSoYx','jcMBH','talkativeList','&page_limit=20','buGmj','YdauU','获取群聊炽焰失败','ceil','avatar','获取群聊之火失败','TkJds','cqOqJ','GCiLP','HttpGetText','1772fDIMZb','获取快乐源泉失败',';\x20uin=o','GroupTime','nSdfm','https://qun.qq.com/interactive/honorlist?gc=','current_talkative','desc','gDZdr','match','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','17917410VELIHX','STORONGE_NEWBI','emotion_list','&type=','ntxdy','IbRfC','get','vqfCp','NRocX','Ncpye','eoJjs','legend','yjkFy','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','GET','pmsuV','&bkn=','JEyVk','&page_start=','11135664bIeqpN','GYFXz','gvRvK','BEAak','PxkLF','6439vCYpUy','VWeMx','mems','BQMvx','actorList',';\x20p_uin=o','fdFQK','tzmqT','1885650KXeTpE','parse','kOUkq','IQefA','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','performer_list','strong_newbie_list','IkGKV','charCodeAt','p_skey=','talkative','getGroupMembers','jCmvm','qXWGn','DslfE','qaJGB','HttpGetJson','YJEjM','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','ZGfoB','rekvH','vnEPt','name','getSkey','talkative_list','getGrouptNotice','performer','&text=','now','RektA','dzDws','BYGcm','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','fMDEr','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','ALL','rastQ','genBkn','FNpzo','length','MKiOx','emotion','Uqcmj','LEGEND','HtILz','xHNba',';\x20skey=','pMyeW','AChOM','TevaZ','qun.qq.com','12689298MfGAEY','&end=','trim','PERFROMER','IJjEC','kEsDu','EMOTION','Imyhp','OmhgD','push','NxSGk','TALKACTIVE','hCgSm','zJPMK','409404QzQzLl','uin','wOvPS','setGroupNotice','获取龙王信息失败','BnLBW','getGroupHonorInfo','retcode','byTAv','CpaBv','description','PvuKz','strong_newbie','GroupData','nowYO','fyrWy','KUxPG','XLpGh','raWhL','RrTfS','QjOgm','HpWyD','count','getPSkey','LiOIo','frsjv','getGroupEssenceMsg','JQWZX','14265HqEADY','zhLht','qid=','LilhI','WIBoz','ivxfG','cvQTm','EZHmK','all','FPoie','webapi\x20获取群成员','BjMod'];_0x2428=function(){return _0x412120;};return _0x2428();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x37f897){const _0x4a94bf=_0x1468,_0x59c429={'Mlmnz':_0x4a94bf(0x164),'GYFXz':_0x4a94bf(0xfe),'MKiOx':_0x4a94bf(0x17f),'CpaBv':_0x4a94bf(0x177),'gstfB':_0x4a94bf(0x15b),'Ncpye':_0x4a94bf(0x16c),'OmhgD':_0x4a94bf(0x12c),'pmsuV':_0x4a94bf(0x122),'rastQ':_0x4a94bf(0x18e),'NRocX':_0x4a94bf(0x16a)};_0x37f897[_0x59c429[_0x4a94bf(0x107)]]=_0x59c429[_0x4a94bf(0x135)],_0x37f897[_0x59c429[_0x4a94bf(0x169)]]=_0x4a94bf(0x14b),_0x37f897[_0x59c429[_0x4a94bf(0x18b)]]=_0x59c429['gstfB'],_0x37f897[_0x59c429[_0x4a94bf(0x12a)]]=_0x59c429[_0x4a94bf(0x17c)],_0x37f897[_0x59c429[_0x4a94bf(0x130)]]=_0x59c429[_0x4a94bf(0x165)],_0x37f897[_0x4a94bf(0x17a)]=_0x59c429[_0x4a94bf(0x129)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x16efaf(0xf4)](_0x18f305,_0x4e14b4){const _0x50b36d=_0x16efaf,_0x4882e8={'IQefA':'qun.qq.com','rYfQe':function(_0x31a0b9,_0x1f8ca7){return _0x31a0b9+_0x1f8ca7;},'Uqcmj':function(_0x2da6ad,_0x2d15c1){return _0x2da6ad+_0x2d15c1;},'ZGfoB':function(_0x12b356,_0x2ea410){return _0x12b356+_0x2ea410;},'kEsDu':function(_0x1d2286,_0xfb1dfa){return _0x1d2286+_0xfb1dfa;},'gvRvK':function(_0x3a43d5,_0x4c7534){return _0x3a43d5+_0x4c7534;},'zhLht':_0x50b36d(0x14a),'ywkUq':_0x50b36d(0x13e),'frsjv':function(_0x3ab354,_0x24fbb0){return _0x3ab354||_0x24fbb0;},'fdFQK':function(_0x5146ca,_0x310010){return _0x5146ca+_0x310010;},'WCfaS':function(_0x13d445,_0x29b433){return _0x13d445+_0x29b433;},'BYGcm':_0x50b36d(0x12e),'tuHQo':'&group_code=','fMDEr':_0x50b36d(0x133),'IJjEC':_0x50b36d(0x10b),'qaJGB':_0x50b36d(0x12f),'KUxPG':function(_0x5be5cf,_0x106a64){return _0x5be5cf!==_0x106a64;}},_0x2e6d3f=(await NTQQUserApi['getPSkey']([_0x4882e8[_0x50b36d(0x144)]]))[_0x50b36d(0x173)],_0x4ab5a6=await NTQQUserApi[_0x50b36d(0x158)](),_0x4f2330=_0x4882e8['rYfQe'](_0x4882e8[_0x50b36d(0x16b)](_0x4882e8[_0x50b36d(0x154)](_0x4882e8['kEsDu'](_0x4882e8[_0x50b36d(0x179)](_0x4882e8[_0x50b36d(0x179)](_0x4882e8[_0x50b36d(0x136)](_0x4882e8[_0x50b36d(0xf7)],_0x2e6d3f),_0x50b36d(0x16f)),_0x4ab5a6),_0x4882e8['ywkUq']),selfInfo[_0x50b36d(0x183)]),';\x20uin=o'),selfInfo['uin']);if(_0x4882e8[_0x50b36d(0xf3)](!_0x4ab5a6,!_0x2e6d3f))return undefined;const _0x3ec26c=WebApi['genBkn'](_0x4ab5a6),_0x33c59d=_0x4882e8[_0x50b36d(0x13f)](_0x4882e8[_0x50b36d(0x136)](_0x4882e8['Uqcmj'](_0x4882e8['WCfaS'](_0x4882e8[_0x50b36d(0x160)],_0x3ec26c),_0x4882e8['tuHQo']),_0x18f305)+_0x4882e8[_0x50b36d(0x162)]+_0x4e14b4,_0x4882e8[_0x50b36d(0x178)]);let _0x99e6be;try{_0x99e6be=await RequestUtil[_0x50b36d(0x151)](_0x33c59d,_0x4882e8[_0x50b36d(0x150)],'',{'Cookie':_0x4f2330});}catch{return undefined;}if(_0x4882e8[_0x50b36d(0xea)](_0x99e6be[_0x50b36d(0x189)],0x0))return undefined;return _0x99e6be;}static async[_0x16efaf(0x14c)](_0x1cb09f,_0x143d8f=!![]){const _0x19a925=_0x16efaf,_0x54fff6={'WIBoz':function(_0x490bad,_0xfcb52f,_0x91ced3){return _0x490bad(_0xfcb52f,_0x91ced3);},'cvQTm':_0x19a925(0x100),'LiOIo':function(_0xd67dc6,_0x1c9c5a){return _0xd67dc6>_0x1c9c5a;},'AChOM':function(_0x5579c2,_0xfdf2e7){return _0x5579c2-_0xfdf2e7;},'EZHmK':function(_0x19dcfa,_0x191100){return _0x19dcfa*_0x191100;},'TevaZ':'qun.qq.com','YdauU':function(_0xb21549,_0x3a788b){return _0xb21549+_0x3a788b;},'wOvPS':function(_0x5533a3,_0x20b42d){return _0x5533a3+_0x20b42d;},'BnLBW':'p_skey=','rjoHY':';\x20skey=','eoJjs':_0x19a925(0x13e),'NxSGk':function(_0x25b697,_0x1fb4d9){return _0x25b697||_0x1fb4d9;},'cqOqJ':function(_0x5cadde,_0x1f62ba){return _0x5cadde+_0x1f62ba;},'RrTfS':_0x19a925(0x131),'RektA':function(_0xc6735a,_0x27a7b5){return _0xc6735a!==_0x27a7b5;},'hCgSm':function(_0x307f81,_0x202373){return _0x307f81/_0x202373;},'zJPMK':function(_0x1c3584,_0x4bef08){return _0x1c3584<=_0x4bef08;},'GTYkk':function(_0x28fe2d,_0xa88aff){return _0x28fe2d+_0xa88aff;},'xmAGk':function(_0x18b6ad,_0x28657c){return _0x18b6ad+_0x28657c;},'KwpXP':_0x19a925(0x161),'PxkLF':function(_0x39330f,_0x5a82a4){return _0x39330f*_0x5a82a4;},'pMyeW':_0x19a925(0x175),'yjkFy':'&sort=1&gc=','vqfCp':function(_0x3605c8,_0x4ec34c){return _0x3605c8<=_0x4ec34c;}};_0x54fff6[_0x19a925(0xfa)](logDebug,_0x54fff6[_0x19a925(0xfc)],_0x1cb09f);let _0x138768=new Array();try{let _0x55c9c7=WebGroupData[_0x19a925(0xe7)][_0x19a925(0x127)](_0x1cb09f),_0x4cc294=WebGroupData[_0x19a925(0x119)][_0x19a925(0x127)](_0x1cb09f);if(!_0x4cc294||_0x54fff6[_0x19a925(0xf2)](_0x54fff6[_0x19a925(0x171)](Date['now'](),_0x4cc294),_0x54fff6[_0x19a925(0xfd)](0x708,0x3e8))||!_0x143d8f){const _0x307ac3=(await NTQQUserApi[_0x19a925(0xf1)]([_0x19a925(0x173)]))[_0x54fff6[_0x19a925(0x172)]],_0x369c44=await NTQQUserApi['getSkey'](),_0x20f0c3=_0x54fff6['YdauU'](_0x54fff6['YdauU'](_0x54fff6[_0x19a925(0x10d)](_0x54fff6[_0x19a925(0x10d)](_0x54fff6['wOvPS'](_0x54fff6[_0x19a925(0x187)],_0x307ac3),_0x54fff6['rjoHY']),_0x369c44),_0x54fff6[_0x19a925(0x12b)]),selfInfo['uin']);if(_0x54fff6[_0x19a925(0x17e)](!_0x369c44,!_0x307ac3))return _0x138768;const _0x8b796e=WebApi['genBkn'](_0x369c44),_0x5c6f08=[],_0x5d5040=await RequestUtil[_0x19a925(0x151)](_0x54fff6[_0x19a925(0x113)](_0x54fff6[_0x19a925(0x10d)](_0x19a925(0x163),_0x1cb09f)+_0x54fff6[_0x19a925(0xed)],_0x8b796e),_0x19a925(0x106),'',{'Cookie':_0x20f0c3});if(!_0x5d5040?.['count']||_0x54fff6[_0x19a925(0x15e)](_0x5d5040?.['errcode'],0x0)||!_0x5d5040?.[_0x19a925(0x13b)])return[];else for(const _0x51850f in _0x5d5040[_0x19a925(0x13b)]){_0x138768[_0x19a925(0x17d)](_0x5d5040[_0x19a925(0x13b)][_0x51850f]);}const _0x837ae9=Math[_0x19a925(0x10f)](_0x54fff6[_0x19a925(0x180)](_0x5d5040[_0x19a925(0xf0)],0x28));for(let _0x20025f=0x2;_0x54fff6[_0x19a925(0x181)](_0x20025f,_0x837ae9);_0x20025f++){const _0x50f05f=RequestUtil[_0x19a925(0x151)](_0x54fff6['wOvPS'](_0x54fff6[_0x19a925(0x113)](_0x54fff6['GTYkk'](_0x54fff6[_0x19a925(0x184)](_0x54fff6['xmAGk'](_0x54fff6['KwpXP'],_0x54fff6[_0x19a925(0x138)](_0x20025f-0x1,0x28)),_0x54fff6[_0x19a925(0x170)]),_0x20025f*0x28),_0x54fff6[_0x19a925(0x12d)])+_0x1cb09f,_0x54fff6[_0x19a925(0xed)])+_0x8b796e,'POST','',{'Cookie':_0x20f0c3});_0x5c6f08[_0x19a925(0x17d)](_0x50f05f);}for(let _0x5908d3=0x1;_0x54fff6[_0x19a925(0x128)](_0x5908d3,_0x837ae9);_0x5908d3++){const _0x5e8e79=await _0x5c6f08[_0x5908d3];if(!_0x5e8e79?.[_0x19a925(0xf0)]||_0x5e8e79?.[_0x19a925(0x105)]!==0x0||!_0x5e8e79?.['mems'])continue;for(const _0x4df3ff in _0x5e8e79[_0x19a925(0x13b)]){_0x138768[_0x19a925(0x17d)](_0x5e8e79['mems'][_0x4df3ff]);}}WebGroupData[_0x19a925(0xe7)]['set'](_0x1cb09f,_0x138768),WebGroupData[_0x19a925(0x119)]['set'](_0x1cb09f,Date[_0x19a925(0x15d)]());}else _0x138768=_0x55c9c7;}catch{return _0x138768;}return _0x138768;}static async[_0x16efaf(0x185)](_0x434698,_0x3d8e52=''){const _0x2ec74a=_0x16efaf,_0x4224e5={'PvuKz':function(_0x137624,_0x95c20d){return _0x137624+_0x95c20d;},'ADKaH':function(_0xe63630,_0x153eaa){return _0xe63630+_0x153eaa;},'xHNba':function(_0x36d7c9,_0x5c9ee9){return _0x36d7c9+_0x5c9ee9;},'byTAv':_0x2ec74a(0x14a),'Gycvm':';\x20p_uin=o','gDZdr':function(_0x19f6c7,_0x5b53ab){return _0x19f6c7||_0x5b53ab;},'DslfE':function(_0x2587b7,_0x3e408b){return _0x2587b7+_0x3e408b;},'buGmj':_0x2ec74a(0xf8),'cyhbB':_0x2ec74a(0x131),'JEyVk':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','TkJds':function(_0x103ebb,_0x3810fc){return _0x103ebb+_0x3810fc;}},_0x2113ba=(await NTQQUserApi[_0x2ec74a(0xf1)]([_0x2ec74a(0x173)]))['qun.qq.com'],_0x45e7d8=await NTQQUserApi[_0x2ec74a(0x158)](),_0x9833d2=_0x4224e5[_0x2ec74a(0x18d)](_0x4224e5['ADKaH'](_0x4224e5['xHNba'](_0x4224e5[_0x2ec74a(0x18a)]+_0x2113ba,_0x2ec74a(0x16f)),_0x45e7d8)+_0x4224e5['Gycvm'],selfInfo[_0x2ec74a(0x183)]);let _0x7fd087=undefined;if(_0x4224e5[_0x2ec74a(0x11e)](!_0x45e7d8,!_0x2113ba))return undefined;const _0x3457c4=WebApi[_0x2ec74a(0x166)](_0x45e7d8),_0x15252e=_0x4224e5[_0x2ec74a(0x16e)](_0x4224e5['xHNba'](_0x4224e5[_0x2ec74a(0x14f)](_0x4224e5[_0x2ec74a(0x10c)],_0x434698),_0x4224e5['cyhbB'])+_0x3457c4,_0x2ec74a(0x15c))+_0x3d8e52+_0x4224e5[_0x2ec74a(0x132)],_0x2efce8=_0x4224e5[_0x2ec74a(0x112)](_0x2ec74a(0x145),_0x3457c4);try{return _0x7fd087=await RequestUtil[_0x2ec74a(0x151)](_0x2efce8,_0x2ec74a(0x12f),'',{'Cookie':_0x9833d2}),_0x7fd087;}catch(_0x244e4c){return undefined;}return undefined;}static async[_0x16efaf(0x15a)](_0x294ede){const _0xedf1ba=_0x16efaf,_0x27bdbf={'HpWyD':_0xedf1ba(0x173),'ivxfG':function(_0x172ce2,_0x997932){return _0x172ce2+_0x997932;},'FNpzo':function(_0x1b8177,_0x102c86){return _0x1b8177+_0x102c86;},'BQMvx':_0xedf1ba(0x16f),'qXWGn':_0xedf1ba(0x13e),'YJEjM':function(_0x19f405,_0x38981d){return _0x19f405||_0x38981d;},'LilhI':function(_0x22389f,_0x47da47){return _0x22389f+_0x47da47;},'GCiLP':_0xedf1ba(0x153),'jCmvm':_0xedf1ba(0x120)},_0x29792c=(await NTQQUserApi['getPSkey']([_0x27bdbf[_0xedf1ba(0xef)]]))[_0xedf1ba(0x173)],_0x3e748c=await NTQQUserApi[_0xedf1ba(0x158)](),_0xb36cfb=_0x27bdbf['ivxfG'](_0x27bdbf[_0xedf1ba(0xfb)](_0x27bdbf[_0xedf1ba(0x167)](_0x27bdbf[_0xedf1ba(0x167)](_0xedf1ba(0x14a)+_0x29792c,_0x27bdbf[_0xedf1ba(0x13c)]),_0x3e748c),_0x27bdbf[_0xedf1ba(0x14e)]),selfInfo[_0xedf1ba(0x183)]);let _0x508f63=undefined;if(_0x27bdbf[_0xedf1ba(0x152)](!_0x3e748c,!_0x29792c))return undefined;const _0x37af34=WebApi[_0xedf1ba(0x166)](_0x3e748c),_0x10389e=_0x27bdbf[_0xedf1ba(0xf9)](_0x27bdbf[_0xedf1ba(0xf9)](_0x27bdbf[_0xedf1ba(0xfb)](_0x27bdbf[_0xedf1ba(0x114)],_0x37af34)+'&qid=',_0x294ede),_0x27bdbf[_0xedf1ba(0x14d)]);try{_0x508f63=await RequestUtil[_0xedf1ba(0x151)](_0x10389e,_0xedf1ba(0x12f),'',{'Cookie':_0xb36cfb});if(_0x508f63?.['ec']!==0x0)return undefined;return _0x508f63;}catch(_0x47f98b){return undefined;}return undefined;}static[_0x16efaf(0x166)](_0x44351f){const _0x5b0a46=_0x16efaf,_0x1673a2={'tzmqT':function(_0x475186,_0x2f7f67){return _0x475186||_0x2f7f67;},'IxaaH':function(_0x23145c,_0x88a6d5){return _0x23145c<_0x88a6d5;},'JQWZX':function(_0xcf999d,_0x554018){return _0xcf999d+_0x554018;},'rekvH':function(_0x4ca86b,_0x157fbe){return _0x4ca86b+_0x157fbe;},'WkQhb':function(_0x476597,_0x198792){return _0x476597<<_0x198792;}};_0x44351f=_0x1673a2[_0x5b0a46(0x140)](_0x44351f,'');let _0x1294fc=0x1505;for(let _0x49bdcb=0x0;_0x1673a2['IxaaH'](_0x49bdcb,_0x44351f[_0x5b0a46(0x168)]);_0x49bdcb++){const _0xfb7b23=_0x44351f[_0x5b0a46(0x149)](_0x49bdcb);_0x1294fc=_0x1673a2[_0x5b0a46(0xf5)](_0x1673a2[_0x5b0a46(0x155)](_0x1294fc,_0x1673a2['WkQhb'](_0x1294fc,0x5)),_0xfb7b23);}return(_0x1294fc&0x7fffffff)['toString']();}static async[_0x16efaf(0x188)](_0x3114d8,_0xdd0f10){const _0x42a336=_0x16efaf,_0x2b49a6={'vnEPt':function(_0xc8c4ee,_0x1085e6){return _0xc8c4ee+_0x1085e6;},'XLpGh':function(_0x56e369,_0x205254){return _0x56e369+_0x205254;},'IbRfC':_0x42a336(0x11b),'raWhL':_0x42a336(0x124),'jcMBH':'GET','FPoie':function(_0x2c7064,_0x4aaaa5){return _0x2c7064===_0x4aaaa5;},'drhqi':'获取当前群荣耀失败','IkGKV':'qun.qq.com','QjOgm':function(_0x5362cf,_0x5778bf){return _0x5362cf||_0x5778bf;},'DMdsU':function(_0x7178a3,_0x3b917b){return _0x7178a3+_0x3b917b;},'AkpEF':function(_0x1d0c3b,_0x23d36a){return _0x1d0c3b+_0x23d36a;},'nbnpO':_0x42a336(0x14a),'fyrWy':';\x20p_uin=o','JEsbO':_0x42a336(0x118),'BjMod':function(_0x2ec395,_0x5f356b){return _0x2ec395===_0x5f356b;},'Imyhp':_0x42a336(0x186),'kOUkq':function(_0x3840d2,_0x4c8f02){return _0x3840d2(_0x4c8f02);},'ntxdy':function(_0x44480c,_0x59ed60,_0x491aa0){return _0x44480c(_0x59ed60,_0x491aa0);},'dzDws':function(_0x431127,_0x4f48f6){return _0x431127(_0x4f48f6);},'HtILz':function(_0x570fec,_0x13ac5e){return _0x570fec===_0x13ac5e;},'nSdfm':_0x42a336(0x10e),'BEAak':function(_0x51562f,_0x5d11a5,_0x596657){return _0x51562f(_0x5d11a5,_0x596657);},'VWeMx':_0x42a336(0x117),'nowYO':function(_0x1c24ae,_0x1e01db){return _0x1c24ae===_0x1e01db;}},_0x149090=(await NTQQUserApi[_0x42a336(0xf1)]([_0x2b49a6[_0x42a336(0x148)]]))[_0x2b49a6[_0x42a336(0x148)]],_0x36cf12=await NTQQUserApi[_0x42a336(0x158)]();if(_0x2b49a6[_0x42a336(0xee)](!_0x36cf12,!_0x149090))return undefined;async function _0x5dff6f(_0x471fae,_0x4794c7){const _0x5e938b=_0x42a336;let _0x56069=_0x2b49a6['vnEPt'](_0x2b49a6['XLpGh'](_0x2b49a6[_0x5e938b(0x126)]+_0x471fae,_0x2b49a6[_0x5e938b(0xec)]),_0x4794c7['toString']()),_0x16f968='',_0x547a95;try{_0x16f968=await RequestUtil[_0x5e938b(0x115)](_0x56069,_0x2b49a6[_0x5e938b(0x109)],'',{'Cookie':_0x4628a6});const _0x223f4a=_0x16f968[_0x5e938b(0x11f)](/window\.__INITIAL_STATE__=(.*?);/);return _0x223f4a&&(_0x547a95=JSON[_0x5e938b(0x142)](_0x223f4a[0x1][_0x5e938b(0x176)]())),_0x2b49a6[_0x5e938b(0xff)](_0x4794c7,0x1)?_0x547a95?.[_0x5e938b(0x10a)]:_0x547a95?.[_0x5e938b(0x13d)];}catch(_0x4d5087){logDebug(_0x2b49a6['drhqi'],_0x56069,_0x4d5087);}return undefined;}let _0x5eb2da={'group_id':_0x3114d8};const _0x4628a6=_0x2b49a6[_0x42a336(0x156)](_0x2b49a6[_0x42a336(0x156)](_0x2b49a6[_0x42a336(0x156)](_0x2b49a6['DMdsU'](_0x2b49a6[_0x42a336(0xeb)](_0x2b49a6['AkpEF'](_0x2b49a6['nbnpO'],_0x149090),';\x20skey='),_0x36cf12),_0x2b49a6[_0x42a336(0xe9)]),selfInfo['uin']),_0x2b49a6[_0x42a336(0x102)])+selfInfo[_0x42a336(0x183)];if(_0x2b49a6[_0x42a336(0x101)](_0xdd0f10,WebHonorType[_0x42a336(0x17f)])||_0x2b49a6[_0x42a336(0xff)](_0xdd0f10,WebHonorType[_0x42a336(0x164)]))try{let _0x387ab5=await _0x5dff6f(_0x3114d8,0x1);if(!_0x387ab5)throw new Error(_0x2b49a6[_0x42a336(0x17b)]);_0x5eb2da[_0x42a336(0x11c)]={'user_id':_0x387ab5[0x0]?.[_0x42a336(0x183)],'avatar':_0x387ab5[0x0]?.[_0x42a336(0x110)],'nickname':_0x387ab5[0x0]?.[_0x42a336(0x157)],'day_count':0x0,'description':_0x387ab5[0x0]?.[_0x42a336(0x11d)]},_0x5eb2da[_0x42a336(0x159)]=[];for(const _0x2b50f6 of _0x387ab5){_0x5eb2da[_0x42a336(0x159)]['push']({'user_id':_0x2b50f6?.[_0x42a336(0x183)],'avatar':_0x2b50f6?.[_0x42a336(0x110)],'description':_0x2b50f6?.['desc'],'day_count':0x0,'nickname':_0x2b50f6?.[_0x42a336(0x157)]});}}catch(_0x497cf8){_0x2b49a6[_0x42a336(0x143)](logDebug,_0x497cf8);}if(_0xdd0f10===WebHonorType[_0x42a336(0x177)]||_0xdd0f10===WebHonorType['ALL'])try{let _0x39b18e=await _0x2b49a6[_0x42a336(0x125)](_0x5dff6f,_0x3114d8,0x2);if(!_0x39b18e)throw new Error(_0x42a336(0x111));_0x5eb2da[_0x42a336(0x146)]=[];for(const _0xd66eb4 of _0x39b18e){_0x5eb2da[_0x42a336(0x146)]['push']({'user_id':_0xd66eb4?.[_0x42a336(0x183)],'nickname':_0xd66eb4?.[_0x42a336(0x157)],'avatar':_0xd66eb4?.['avatar'],'description':_0xd66eb4?.[_0x42a336(0x11d)]});}}catch(_0x1f6268){_0x2b49a6[_0x42a336(0x15f)](logDebug,_0x1f6268);}if(_0x2b49a6[_0x42a336(0x16d)](_0xdd0f10,WebHonorType[_0x42a336(0x177)])||_0x2b49a6[_0x42a336(0xff)](_0xdd0f10,WebHonorType['ALL']))try{let _0x429b66=await _0x2b49a6[_0x42a336(0x125)](_0x5dff6f,_0x3114d8,0x3);if(!_0x429b66)throw new Error(_0x2b49a6[_0x42a336(0x11a)]);_0x5eb2da[_0x42a336(0x103)]=[];for(const _0x27e401 of _0x429b66){_0x5eb2da[_0x42a336(0x103)][_0x42a336(0x17d)]({'user_id':_0x27e401?.[_0x42a336(0x183)],'nickname':_0x27e401?.['name'],'avatar':_0x27e401?.['avatar'],'desc':_0x27e401?.['description']});}}catch(_0x129371){_0x2b49a6[_0x42a336(0x137)](logDebug,_0x2b49a6['nSdfm'],_0x129371);}if(_0x2b49a6[_0x42a336(0x16d)](_0xdd0f10,WebHonorType[_0x42a336(0x17a)])||_0x2b49a6[_0x42a336(0x101)](_0xdd0f10,WebHonorType[_0x42a336(0x164)]))try{let _0x305a36=await _0x2b49a6['BEAak'](_0x5dff6f,_0x3114d8,0x6);if(!_0x305a36)throw new Error(_0x2b49a6[_0x42a336(0x13a)]);_0x5eb2da[_0x42a336(0x123)]=[];for(const _0x5a36d of _0x305a36){_0x5eb2da['emotion_list'][_0x42a336(0x17d)]({'user_id':_0x5a36d?.[_0x42a336(0x183)],'nickname':_0x5a36d?.['name'],'avatar':_0x5a36d?.[_0x42a336(0x110)],'desc':_0x5a36d?.[_0x42a336(0x18c)]});}}catch(_0x19cfb3){_0x2b49a6[_0x42a336(0x125)](logDebug,_0x42a336(0x117),_0x19cfb3);}return(_0x2b49a6['HtILz'](_0xdd0f10,WebHonorType[_0x42a336(0x17a)])||_0x2b49a6[_0x42a336(0xe8)](_0xdd0f10,WebHonorType[_0x42a336(0x164)]))&&(_0x5eb2da[_0x42a336(0x147)]=[]),_0x5eb2da;}} \ No newline at end of file +const _0x25b539=_0x2715;(function(_0x4d4e93,_0x574637){const _0x3dd37e=_0x2715,_0x232474=_0x4d4e93();while(!![]){try{const _0x32e525=parseInt(_0x3dd37e(0x17d))/0x1*(parseInt(_0x3dd37e(0x167))/0x2)+parseInt(_0x3dd37e(0x15c))/0x3*(parseInt(_0x3dd37e(0x141))/0x4)+-parseInt(_0x3dd37e(0x1a9))/0x5+parseInt(_0x3dd37e(0x1b2))/0x6*(-parseInt(_0x3dd37e(0x1b3))/0x7)+parseInt(_0x3dd37e(0x161))/0x8+parseInt(_0x3dd37e(0x11c))/0x9+parseInt(_0x3dd37e(0x1a6))/0xa;if(_0x32e525===_0x574637)break;else _0x232474['push'](_0x232474['shift']());}catch(_0x2eec3e){_0x232474['push'](_0x232474['shift']());}}}(_0x14e4,0x90220));import{WebGroupData,selfInfo}from'@/core/data';function _0x2715(_0x4b2c8c,_0x20fd55){const _0x14e4b6=_0x14e4();return _0x2715=function(_0x2715cd,_0x17289d){_0x2715cd=_0x2715cd-0x115;let _0x4e0ada=_0x14e4b6[_0x2715cd];return _0x4e0ada;},_0x2715(_0x4b2c8c,_0x20fd55);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x468b7a){const _0x22f792=_0x2715,_0x12c9ab={'xVzkY':_0x22f792(0x13e),'lfZRM':_0x22f792(0x120),'RcCzf':'performer','rixjA':_0x22f792(0x150),'JNGSg':_0x22f792(0x19d),'zJuKK':'STORONGE_NEWBI','eSacy':_0x22f792(0x19c),'UkYmZ':'TALKACTIVE','fScyN':_0x22f792(0x1a0),'pmsIo':_0x22f792(0x190)},_0x2ea059=_0x12c9ab[_0x22f792(0x115)][_0x22f792(0x158)]('|');let _0x29fa9b=0x0;while(!![]){switch(_0x2ea059[_0x29fa9b++]){case'0':_0x468b7a[_0x12c9ab[_0x22f792(0x1a1)]]=_0x12c9ab['RcCzf'];continue;case'1':_0x468b7a[_0x12c9ab['rixjA']]=_0x12c9ab['JNGSg'];continue;case'2':_0x468b7a[_0x12c9ab[_0x22f792(0x1ac)]]=_0x12c9ab['eSacy'];continue;case'3':_0x468b7a[_0x12c9ab[_0x22f792(0x1a8)]]='talkative';continue;case'4':_0x468b7a[_0x22f792(0x11f)]=_0x12c9ab[_0x22f792(0x164)];continue;case'5':_0x468b7a[_0x22f792(0x1b5)]=_0x12c9ab[_0x22f792(0x16e)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x25b539(0x19a)](_0x294a98,_0xb8390d){const _0x2f828f=_0x25b539,_0x2c937c={'CpiIo':_0x2f828f(0x121),'RiBSa':function(_0x408b4b,_0x42387c){return _0x408b4b+_0x42387c;},'cmwcX':function(_0x567466,_0x660b52){return _0x567466+_0x660b52;},'yNjHC':function(_0x488159,_0x1c0c49){return _0x488159+_0x1c0c49;},'uzhGi':function(_0x22ed43,_0x1af70f){return _0x22ed43+_0x1af70f;},'jaLSk':_0x2f828f(0x135),'XQLKY':_0x2f828f(0x126),'xtARQ':_0x2f828f(0x17a),'AtVGa':function(_0x5a2a61,_0x348a3e){return _0x5a2a61||_0x348a3e;},'zNlTF':function(_0x53e9eb,_0x104300){return _0x53e9eb+_0x104300;},'KqQvu':function(_0xa42188,_0x1565cf){return _0xa42188+_0x1565cf;},'AZiHc':_0x2f828f(0x142),'aJmIL':_0x2f828f(0x1b6),'BuQVa':'&page_limit=20','FZrkC':_0x2f828f(0x183)},_0x2f8d72=(await NTQQUserApi[_0x2f828f(0x119)]([_0x2c937c[_0x2f828f(0x13a)]]))[_0x2f828f(0x121)],_0x5646e8=await NTQQUserApi[_0x2f828f(0x169)](),_0x389d75=_0x2c937c[_0x2f828f(0x15f)](_0x2c937c[_0x2f828f(0x15f)](_0x2c937c[_0x2f828f(0x144)](_0x2c937c['cmwcX'](_0x2c937c['yNjHC'](_0x2c937c[_0x2f828f(0x139)](_0x2c937c[_0x2f828f(0x197)],_0x2f8d72),_0x2c937c[_0x2f828f(0x155)]),_0x5646e8),_0x2c937c[_0x2f828f(0x179)]),selfInfo['uin']),_0x2f828f(0x116))+selfInfo[_0x2f828f(0x122)];if(_0x2c937c['AtVGa'](!_0x5646e8,!_0x2f8d72))return undefined;const _0x761bfc=WebApi[_0x2f828f(0x184)](_0x5646e8),_0x5e9c7a=_0x2c937c[_0x2f828f(0x16d)](_0x2c937c['yNjHC'](_0x2c937c[_0x2f828f(0x14f)](_0x2c937c[_0x2f828f(0x139)](_0x2c937c[_0x2f828f(0x146)](_0x2c937c['AZiHc'],_0x761bfc),_0x2f828f(0x152)),_0x294a98),_0x2c937c[_0x2f828f(0x154)]),_0xb8390d)+_0x2c937c[_0x2f828f(0x15b)];let _0x2f5b5f;try{_0x2f5b5f=await RequestUtil['HttpGetJson'](_0x5e9c7a,_0x2c937c[_0x2f828f(0x140)],'',{'Cookie':_0x389d75});}catch{return undefined;}if(_0x2f5b5f['retcode']!==0x0)return undefined;return _0x2f5b5f;}static async[_0x25b539(0x1af)](_0x1e7682,_0x4f3d91=!![]){const _0x1504b7=_0x25b539,_0x4b902c={'aPzQZ':function(_0xbe8586,_0x33c07a){return _0xbe8586>_0x33c07a;},'TNNPf':function(_0x603de1,_0x406ff1){return _0x603de1-_0x406ff1;},'FKIed':function(_0x31c63a,_0x5c22bd){return _0x31c63a*_0x5c22bd;},'fltFg':'qun.qq.com','xIwiO':function(_0x17cbb6,_0x480ee3){return _0x17cbb6+_0x480ee3;},'VIDXT':function(_0x52dad1,_0x438d96){return _0x52dad1+_0x438d96;},'pZzqZ':_0x1504b7(0x135),'zvtpG':';\x20skey=','NkwKw':';\x20p_uin=o','DMzDe':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','mDHsQ':_0x1504b7(0x163),'ElpVC':_0x1504b7(0x16b),'svWNv':function(_0x3df868,_0x1c79b9){return _0x3df868!==_0x1c79b9;},'cccja':function(_0x242697,_0x37215c){return _0x242697/_0x37215c;},'LgCHh':function(_0x4ba087,_0x58ae4a){return _0x4ba087<=_0x58ae4a;},'TOpWf':function(_0x4327ad,_0x5ae878){return _0x4327ad+_0x5ae878;},'fIfzS':function(_0x258a1b,_0x40e729){return _0x258a1b+_0x40e729;},'ODWUU':_0x1504b7(0x133)};let _0x1fdc3d=new Array();try{let _0x4f4091=WebGroupData[_0x1504b7(0x124)][_0x1504b7(0x157)](_0x1e7682),_0x2c7461=WebGroupData['GroupTime'][_0x1504b7(0x157)](_0x1e7682);if(!_0x2c7461||_0x4b902c[_0x1504b7(0x181)](_0x4b902c[_0x1504b7(0x15d)](Date['now'](),_0x2c7461),_0x4b902c[_0x1504b7(0x14d)](0x708,0x3e8))||!_0x4f3d91){const _0x58c505=(await NTQQUserApi[_0x1504b7(0x119)]([_0x4b902c[_0x1504b7(0x15e)]]))[_0x4b902c[_0x1504b7(0x15e)]],_0x287f01=await NTQQUserApi[_0x1504b7(0x169)](),_0x5d332b=_0x4b902c[_0x1504b7(0x14a)](_0x4b902c[_0x1504b7(0x14a)](_0x4b902c[_0x1504b7(0x14a)](_0x4b902c['VIDXT'](_0x4b902c[_0x1504b7(0x16a)],_0x58c505)+_0x4b902c[_0x1504b7(0x11d)],_0x287f01),_0x4b902c[_0x1504b7(0x17e)]),selfInfo[_0x1504b7(0x122)]);if(!_0x287f01||!_0x58c505)return _0x1fdc3d;const _0x20b19d=WebApi['genBkn'](_0x287f01),_0x18bfdc=[],_0x59d9cf=await RequestUtil[_0x1504b7(0x12d)](_0x4b902c['xIwiO'](_0x4b902c[_0x1504b7(0x185)]+_0x1e7682+_0x4b902c[_0x1504b7(0x148)],_0x20b19d),_0x4b902c['ElpVC'],'',{'Cookie':_0x5d332b});if(!_0x59d9cf?.[_0x1504b7(0x1b0)]||_0x4b902c['svWNv'](_0x59d9cf?.[_0x1504b7(0x159)],0x0)||!_0x59d9cf?.[_0x1504b7(0x128)])return[];else for(const _0x671800 in _0x59d9cf[_0x1504b7(0x128)]){_0x1fdc3d['push'](_0x59d9cf['mems'][_0x671800]);}const _0x2da435=Math[_0x1504b7(0x145)](_0x4b902c[_0x1504b7(0x13f)](_0x59d9cf[_0x1504b7(0x1b0)],0x28));for(let _0x1d72c6=0x2;_0x4b902c['LgCHh'](_0x1d72c6,_0x2da435);_0x1d72c6++){const _0x1db605=RequestUtil[_0x1504b7(0x12d)](_0x4b902c[_0x1504b7(0x1a3)](_0x4b902c[_0x1504b7(0x1a3)](_0x4b902c[_0x1504b7(0x1a3)](_0x4b902c[_0x1504b7(0x13c)](_0x4b902c[_0x1504b7(0x188)](_0x1504b7(0x16f),_0x4b902c[_0x1504b7(0x14d)](_0x4b902c['TNNPf'](_0x1d72c6,0x1),0x28)),_0x4b902c[_0x1504b7(0x160)]),_0x4b902c['FKIed'](_0x1d72c6,0x28)),_0x1504b7(0x17b)),_0x1e7682)+_0x1504b7(0x163)+_0x20b19d,_0x4b902c[_0x1504b7(0x12e)],'',{'Cookie':_0x5d332b});_0x18bfdc[_0x1504b7(0x11a)](_0x1db605);}for(let _0x37ffe3=0x1;_0x4b902c[_0x1504b7(0x198)](_0x37ffe3,_0x2da435);_0x37ffe3++){const _0x21861c=await _0x18bfdc[_0x37ffe3];if(!_0x21861c?.[_0x1504b7(0x1b0)]||_0x4b902c[_0x1504b7(0x182)](_0x21861c?.[_0x1504b7(0x159)],0x0)||!_0x21861c?.['mems'])continue;for(const _0x247462 in _0x21861c[_0x1504b7(0x128)]){_0x1fdc3d[_0x1504b7(0x11a)](_0x21861c[_0x1504b7(0x128)][_0x247462]);}}WebGroupData[_0x1504b7(0x124)]['set'](_0x1e7682,_0x1fdc3d),WebGroupData['GroupTime'][_0x1504b7(0x136)](_0x1e7682,Date['now']());}else _0x1fdc3d=_0x4f4091;}catch{return _0x1fdc3d;}return _0x1fdc3d;}static async[_0x25b539(0x149)](_0x86c9be,_0x2a303e=''){const _0x48c862=_0x25b539,_0x4c6256={'QvLEw':function(_0x11b999,_0x2fd7d0){return _0x11b999+_0x2fd7d0;},'PXdQc':function(_0x4da7bd,_0x55fccb){return _0x4da7bd+_0x55fccb;},'UnMjU':function(_0x5b3f42,_0x239ed2){return _0x5b3f42+_0x239ed2;},'XlPjc':'p_skey=','KAcVF':_0x48c862(0x126),'JqbzJ':function(_0x327b13,_0x2c5120){return _0x327b13||_0x2c5120;},'PQbaF':_0x48c862(0x163),'sQIdM':_0x48c862(0x117),'QDdQp':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','fDtse':_0x48c862(0x156),'lxnLW':_0x48c862(0x183)},_0x53a168=(await NTQQUserApi[_0x48c862(0x119)]([_0x48c862(0x121)]))['qun.qq.com'],_0x14133d=await NTQQUserApi[_0x48c862(0x169)](),_0x281f5d=_0x4c6256[_0x48c862(0x172)](_0x4c6256['QvLEw'](_0x4c6256[_0x48c862(0x1ae)](_0x4c6256[_0x48c862(0x175)](_0x4c6256[_0x48c862(0x175)](_0x4c6256[_0x48c862(0x1a2)],_0x53a168),_0x4c6256['KAcVF']),_0x14133d),_0x48c862(0x17a)),selfInfo[_0x48c862(0x122)]);let _0x4fa335=undefined;if(_0x4c6256[_0x48c862(0x187)](!_0x14133d,!_0x53a168))return undefined;const _0x1b3ee8=WebApi[_0x48c862(0x184)](_0x14133d),_0x17c4c6=_0x4c6256[_0x48c862(0x175)](_0x4c6256['PXdQc'](_0x4c6256[_0x48c862(0x1ae)](_0x4c6256[_0x48c862(0x1ae)](_0x4c6256[_0x48c862(0x1ae)](_0x48c862(0x14b),_0x86c9be),_0x4c6256[_0x48c862(0x178)])+_0x1b3ee8,_0x4c6256[_0x48c862(0x18a)]),_0x2a303e),_0x4c6256[_0x48c862(0x15a)]),_0x3d3ffe=_0x4c6256[_0x48c862(0x175)](_0x4c6256['fDtse'],_0x1b3ee8);try{return _0x4fa335=await RequestUtil['HttpGetJson'](_0x3d3ffe,_0x4c6256[_0x48c862(0x196)],'',{'Cookie':_0x281f5d}),_0x4fa335;}catch(_0x47cfc4){return undefined;}return undefined;}static async['getGrouptNotice'](_0x289230){const _0x3b7713=_0x25b539,_0x14bff0={'WXoMj':_0x3b7713(0x121),'YQdrm':function(_0x34fec9,_0x29f688){return _0x34fec9+_0x29f688;},'xqWgf':function(_0xe7775e,_0x5e0a77){return _0xe7775e+_0x5e0a77;},'AEbCS':_0x3b7713(0x135),'leffB':';\x20skey=','qwTrl':_0x3b7713(0x17a),'vfFpz':function(_0x19745c,_0x39b7c3){return _0x19745c||_0x39b7c3;},'mbVlp':function(_0x1d7f50,_0x172c78){return _0x1d7f50+_0x172c78;},'vjlac':_0x3b7713(0x1ad),'WFIoI':_0x3b7713(0x192),'pZWfn':function(_0x1b93fe,_0x52bce3){return _0x1b93fe!==_0x52bce3;}},_0xb81d43=(await NTQQUserApi[_0x3b7713(0x119)]([_0x14bff0[_0x3b7713(0x1aa)]]))[_0x14bff0[_0x3b7713(0x1aa)]],_0x4079e3=await NTQQUserApi[_0x3b7713(0x169)](),_0x101876=_0x14bff0[_0x3b7713(0x19b)](_0x14bff0[_0x3b7713(0x19b)](_0x14bff0[_0x3b7713(0x19b)](_0x14bff0[_0x3b7713(0x19b)](_0x14bff0['xqWgf'](_0x14bff0['AEbCS'],_0xb81d43),_0x14bff0[_0x3b7713(0x134)]),_0x4079e3),_0x14bff0[_0x3b7713(0x153)]),selfInfo[_0x3b7713(0x122)]);let _0x2b2528=undefined;if(_0x14bff0[_0x3b7713(0x189)](!_0x4079e3,!_0xb81d43))return undefined;const _0x1016c5=WebApi[_0x3b7713(0x184)](_0x4079e3),_0x2acb1b=_0x14bff0[_0x3b7713(0x17f)](_0x14bff0['xqWgf'](_0x14bff0[_0x3b7713(0x17c)]+_0x1016c5+_0x14bff0[_0x3b7713(0x12f)],_0x289230),_0x3b7713(0x1b4));try{_0x2b2528=await RequestUtil[_0x3b7713(0x12d)](_0x2acb1b,'GET','',{'Cookie':_0x101876});if(_0x14bff0[_0x3b7713(0x177)](_0x2b2528?.['ec'],0x0))return undefined;return _0x2b2528;}catch(_0x250f0d){return undefined;}return undefined;}static[_0x25b539(0x184)](_0x24a7f3){const _0x339cf2=_0x25b539,_0x254b2d={'JEvZB':function(_0xf455d9,_0x21c914){return _0xf455d9||_0x21c914;},'GUyLw':function(_0x308a68,_0x241155){return _0x308a68<_0x241155;},'raIKz':function(_0x41d4f8,_0x25f2d8){return _0x41d4f8+_0x25f2d8;},'PObNn':function(_0x30a441,_0x3bfc47){return _0x30a441+_0x3bfc47;},'XTabt':function(_0x452a1b,_0xe3be57){return _0x452a1b<<_0xe3be57;},'dMDjO':function(_0x53fac0,_0x421776){return _0x53fac0&_0x421776;}};_0x24a7f3=_0x254b2d[_0x339cf2(0x11e)](_0x24a7f3,'');let _0x1045ae=0x1505;for(let _0x44ee6e=0x0;_0x254b2d['GUyLw'](_0x44ee6e,_0x24a7f3[_0x339cf2(0x118)]);_0x44ee6e++){const _0x5081cd=_0x24a7f3[_0x339cf2(0x18d)](_0x44ee6e);_0x1045ae=_0x254b2d['raIKz'](_0x254b2d[_0x339cf2(0x166)](_0x1045ae,_0x254b2d[_0x339cf2(0x174)](_0x1045ae,0x5)),_0x5081cd);}return _0x254b2d['dMDjO'](_0x1045ae,0x7fffffff)[_0x339cf2(0x143)]();}static async[_0x25b539(0x129)](_0x4d1306,_0x45e6e1){const _0x9a700c=_0x25b539,_0x1d71d9={'MHoYh':function(_0x50f716,_0x360b01){return _0x50f716+_0x360b01;},'bzHxH':function(_0xb16066,_0xc7d84f){return _0xb16066+_0xc7d84f;},'eyVvv':'https://qun.qq.com/interactive/honorlist?gc=','NLeRi':'GET','icrSz':function(_0x1c5c85,_0x52dffc){return _0x1c5c85===_0x52dffc;},'VTjAQ':_0x9a700c(0x147),'UWyXT':'qun.qq.com','bmsMo':function(_0xcec6b3,_0x2ee201){return _0xcec6b3||_0x2ee201;},'XeHKT':function(_0x3c56f4,_0x91a9ae){return _0x3c56f4+_0x91a9ae;},'bFPdE':function(_0x20e5ad,_0x423b82){return _0x20e5ad+_0x423b82;},'wxNVB':function(_0xe668e6,_0x1ba868){return _0xe668e6+_0x1ba868;},'WtSHa':function(_0x2660bc,_0x8fbca){return _0x2660bc+_0x8fbca;},'pVtxF':'p_skey=','GazkW':_0x9a700c(0x126),'zDVKA':';\x20p_uin=o','AdTLY':_0x9a700c(0x116),'YTTUs':function(_0x1cef1f,_0x32404a){return _0x1cef1f===_0x32404a;},'gBuGP':function(_0x12cb05,_0x5f0828,_0x523e78){return _0x12cb05(_0x5f0828,_0x523e78);},'lRMiJ':_0x9a700c(0x191),'gomFC':function(_0x5d26fc,_0x113f5c){return _0x5d26fc===_0x113f5c;},'tVMpW':_0x9a700c(0x19f),'bifdI':function(_0x6ab18,_0x4166c7){return _0x6ab18(_0x4166c7);},'CLaPQ':function(_0x2cb08f,_0x1bccc5){return _0x2cb08f===_0x1bccc5;},'RdNKR':function(_0x1417ac,_0x3300a7,_0x312390){return _0x1417ac(_0x3300a7,_0x312390);},'qrbSe':_0x9a700c(0x151),'azxZP':function(_0x5a03c1,_0x4c9fc0,_0x433106){return _0x5a03c1(_0x4c9fc0,_0x433106);},'kNEyj':function(_0x4866d9,_0x2f2f26){return _0x4866d9===_0x2f2f26;},'UaknA':_0x9a700c(0x171),'TJuRx':function(_0x315cfe,_0x4c3734){return _0x315cfe===_0x4c3734;}},_0x2e6c82=(await NTQQUserApi['getPSkey']([_0x1d71d9[_0x9a700c(0x12b)]]))['qun.qq.com'],_0x151a7b=await NTQQUserApi[_0x9a700c(0x169)]();if(_0x1d71d9[_0x9a700c(0x132)](!_0x151a7b,!_0x2e6c82))return undefined;async function _0xa9800c(_0xb473d2,_0x3771df){const _0x377bd0=_0x9a700c;let _0xf1dda7=_0x1d71d9[_0x377bd0(0x1a7)](_0x1d71d9[_0x377bd0(0x165)](_0x1d71d9[_0x377bd0(0x165)](_0x1d71d9[_0x377bd0(0x1a4)],_0xb473d2),'&type='),_0x3771df[_0x377bd0(0x143)]()),_0x41705a='',_0x19464f;try{_0x41705a=await RequestUtil['HttpGetText'](_0xf1dda7,_0x1d71d9[_0x377bd0(0x123)],'',{'Cookie':_0x2f11dc});const _0x46df5e=_0x41705a['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x46df5e&&(_0x19464f=JSON[_0x377bd0(0x170)](_0x46df5e[0x1][_0x377bd0(0x127)]())),_0x1d71d9[_0x377bd0(0x11b)](_0x3771df,0x1)?_0x19464f?.[_0x377bd0(0x131)]:_0x19464f?.[_0x377bd0(0x180)];}catch(_0x315d96){logDebug(_0x1d71d9[_0x377bd0(0x137)],_0xf1dda7,_0x315d96);}return undefined;}let _0x4e384d={'group_id':_0x4d1306};const _0x2f11dc=_0x1d71d9[_0x9a700c(0x16c)](_0x1d71d9['XeHKT'](_0x1d71d9[_0x9a700c(0x19e)](_0x1d71d9[_0x9a700c(0x1a7)](_0x1d71d9[_0x9a700c(0x125)](_0x1d71d9['WtSHa'](_0x1d71d9[_0x9a700c(0x18b)],_0x2e6c82),_0x1d71d9[_0x9a700c(0x18e)]),_0x151a7b),_0x1d71d9[_0x9a700c(0x12c)])+selfInfo['uin'],_0x1d71d9['AdTLY']),selfInfo[_0x9a700c(0x122)]);if(_0x1d71d9[_0x9a700c(0x162)](_0x45e6e1,WebHonorType[_0x9a700c(0x138)])||_0x1d71d9[_0x9a700c(0x162)](_0x45e6e1,WebHonorType[_0x9a700c(0x1b5)]))try{let _0x58b54b=await _0x1d71d9[_0x9a700c(0x168)](_0xa9800c,_0x4d1306,0x1);if(!_0x58b54b)throw new Error(_0x1d71d9[_0x9a700c(0x1ab)]);_0x4e384d['current_talkative']={'user_id':_0x58b54b[0x0]?.[_0x9a700c(0x122)],'avatar':_0x58b54b[0x0]?.[_0x9a700c(0x1a5)],'nickname':_0x58b54b[0x0]?.[_0x9a700c(0x193)],'day_count':0x0,'description':_0x58b54b[0x0]?.['desc']},_0x4e384d[_0x9a700c(0x173)]=[];for(const _0x2af894 of _0x58b54b){_0x4e384d['talkative_list'][_0x9a700c(0x11a)]({'user_id':_0x2af894?.[_0x9a700c(0x122)],'avatar':_0x2af894?.[_0x9a700c(0x1a5)],'description':_0x2af894?.['desc'],'day_count':0x0,'nickname':_0x2af894?.[_0x9a700c(0x193)]});}}catch(_0x52e0b5){logDebug(_0x52e0b5);}if(_0x1d71d9[_0x9a700c(0x130)](_0x45e6e1,WebHonorType[_0x9a700c(0x120)])||_0x1d71d9[_0x9a700c(0x130)](_0x45e6e1,WebHonorType['ALL']))try{let _0x5e7350=await _0xa9800c(_0x4d1306,0x2);if(!_0x5e7350)throw new Error(_0x1d71d9[_0x9a700c(0x176)]);_0x4e384d[_0x9a700c(0x199)]=[];for(const _0x4bb06d of _0x5e7350){_0x4e384d[_0x9a700c(0x199)][_0x9a700c(0x11a)]({'user_id':_0x4bb06d?.['uin'],'nickname':_0x4bb06d?.[_0x9a700c(0x193)],'avatar':_0x4bb06d?.['avatar'],'description':_0x4bb06d?.[_0x9a700c(0x12a)]});}}catch(_0x35ad2c){_0x1d71d9[_0x9a700c(0x194)](logDebug,_0x35ad2c);}if(_0x1d71d9[_0x9a700c(0x11b)](_0x45e6e1,WebHonorType[_0x9a700c(0x120)])||_0x1d71d9[_0x9a700c(0x18f)](_0x45e6e1,WebHonorType[_0x9a700c(0x1b5)]))try{let _0x32f170=await _0x1d71d9[_0x9a700c(0x13b)](_0xa9800c,_0x4d1306,0x3);if(!_0x32f170)throw new Error(_0x1d71d9['qrbSe']);_0x4e384d['legend_list']=[];for(const _0x261f7c of _0x32f170){_0x4e384d[_0x9a700c(0x14e)][_0x9a700c(0x11a)]({'user_id':_0x261f7c?.[_0x9a700c(0x122)],'nickname':_0x261f7c?.[_0x9a700c(0x193)],'avatar':_0x261f7c?.['avatar'],'desc':_0x261f7c?.['description']});}}catch(_0x2566b0){_0x1d71d9[_0x9a700c(0x18c)](logDebug,_0x9a700c(0x151),_0x2566b0);}if(_0x1d71d9['kNEyj'](_0x45e6e1,WebHonorType['EMOTION'])||_0x1d71d9[_0x9a700c(0x18f)](_0x45e6e1,WebHonorType[_0x9a700c(0x1b5)]))try{let _0x878987=await _0xa9800c(_0x4d1306,0x6);if(!_0x878987)throw new Error(_0x9a700c(0x171));_0x4e384d[_0x9a700c(0x1b1)]=[];for(const _0x4292f7 of _0x878987){_0x4e384d[_0x9a700c(0x1b1)][_0x9a700c(0x11a)]({'user_id':_0x4292f7?.['uin'],'nickname':_0x4292f7?.['name'],'avatar':_0x4292f7?.[_0x9a700c(0x1a5)],'desc':_0x4292f7?.[_0x9a700c(0x186)]});}}catch(_0x6a7304){logDebug(_0x1d71d9[_0x9a700c(0x14c)],_0x6a7304);}return(_0x45e6e1===WebHonorType[_0x9a700c(0x11f)]||_0x1d71d9[_0x9a700c(0x13d)](_0x45e6e1,WebHonorType[_0x9a700c(0x1b5)]))&&(_0x4e384d[_0x9a700c(0x195)]=[]),_0x4e384d;}}function _0x14e4(){const _0x4c14fe=['77dbUqwH','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ALL','&page_start=','xVzkY',';\x20uin=o','&text=','length','getPSkey','push','icrSz','2752857Kpedfp','zvtpG','JEvZB','EMOTION','PERFROMER','qun.qq.com','uin','NLeRi','GroupData','wxNVB',';\x20skey=','trim','mems','getGroupHonorInfo','desc','UWyXT','zDVKA','HttpGetJson','ElpVC','WFIoI','gomFC','talkativeList','bmsMo','&end=','leffB','p_skey=','set','VTjAQ','TALKACTIVE','uzhGi','CpiIo','RdNKR','TOpWf','TJuRx','5|3|0|1|2|4','cccja','FZrkC','1008HvbVnY','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','toString','cmwcX','ceil','yNjHC','获取当前群荣耀失败','mDHsQ','setGroupNotice','xIwiO','qid=','UaknA','FKIed','legend_list','KqQvu','LEGEND','获取群聊炽焰失败','&group_code=','qwTrl','aJmIL','XQLKY','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','get','split','errcode','QDdQp','BuQVa','1014pvNlua','TNNPf','fltFg','RiBSa','ODWUU','2684512pHWbvr','YTTUs','&bkn=','fScyN','bzHxH','PObNn','120wlRwdE','gBuGP','getSkey','pZzqZ','POST','XeHKT','zNlTF','pmsIo','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','parse','获取快乐源泉失败','QvLEw','talkative_list','XTabt','UnMjU','tVMpW','pZWfn','PQbaF','xtARQ',';\x20p_uin=o','&sort=1&gc=','vjlac','2332AXJJlm','NkwKw','mbVlp','actorList','aPzQZ','svWNv','GET','genBkn','DMzDe','description','JqbzJ','fIfzS','vfFpz','sQIdM','pVtxF','azxZP','charCodeAt','GazkW','CLaPQ','all','获取龙王信息失败','&qid=','name','bifdI','strong_newbie_list','lxnLW','jaLSk','LgCHh','performer_list','getGroupEssenceMsg','YQdrm','strong_newbie','legend','bFPdE','获取群聊之火失败','emotion','lfZRM','XlPjc','VIDXT','eyVvv','avatar','14671420BMwUqj','MHoYh','UkYmZ','4275340NujHAL','WXoMj','lRMiJ','zJuKK','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','PXdQc','getGroupMembers','count','emotion_list','484494YDYCaR'];_0x14e4=function(){return _0x4c14fe;};return _0x14e4();} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 13b1f4eb..f2c16300 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x126dce=_0x327d;(function(_0x992677,_0x11145e){const _0xa8c91d=_0x327d,_0x2b8531=_0x992677();while(!![]){try{const _0x5b8b2=-parseInt(_0xa8c91d(0x1e8))/0x1+-parseInt(_0xa8c91d(0x229))/0x2+parseInt(_0xa8c91d(0x223))/0x3+parseInt(_0xa8c91d(0x228))/0x4+parseInt(_0xa8c91d(0x24c))/0x5*(parseInt(_0xa8c91d(0x219))/0x6)+-parseInt(_0xa8c91d(0x1dd))/0x7*(parseInt(_0xa8c91d(0x1cb))/0x8)+-parseInt(_0xa8c91d(0x20a))/0x9*(-parseInt(_0xa8c91d(0x1e4))/0xa);if(_0x5b8b2===_0x11145e)break;else _0x2b8531['push'](_0x2b8531['shift']());}catch(_0x5a79e2){_0x2b8531['push'](_0x2b8531['shift']());}}}(_0x5e4a,0x5920a));import _0x1dface from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x5e4a(){const _0xab7ea5=['gNPfK','packet_sent','floor','homedir','isDelete','816150gXAgKU','onLoginFailed','addKernelProfileListener','onQRCodeGetPicture','415130FFyIIM','uid','then','mkdirSync','wERJI','packet_received','GDWzQ','XEcLJ','stringify','memberCount','initSession\x20failed','constructor','hex','map','createHash','MZEJX','last_message_time','OsdLX','ulnUU','fwudn','forEach','数据库初始化失败','MsgListener','wCEQV','initSession','fwOuw','infos','getGroupService','length','now','catch','onLoginSuccessFuncList','data:image/png;base64,','message_sent','18HAzRCa','loginListener','getQuickLoginList','icQVi','fileLog','resolve','loginService','getProfileService','EUCYz','fileLogLevel','-v2.db','onGroupListUpdate','tipsTitle','NodeIGlobalAdapter','getBuddyList','736272HLDceH','qrcodeUrl','oWicj','errMsg','tKfpG','createMemberListScene','aUINw','[KickedOffLine]\x20[','pgpoD','update','1702773DIHJBl','session','NodeIDispatcherAdapter','dataPathGlobal','curVersion','2552616gSLdlW','327644dLySBM','QlLux','groupCode','assign','ZwQJe','GPmys','initConfig','qrLogin','快速登录不可用','onLineDev','NodeIKernelLoginListener','init\x20failed\x20','recallTime','updateMsg','quickLogin','loginErrorInfo','read','isQuickLogin','NodeIKernelGroupListener','GroupListener','NodeQQNTWrapperUtil','getLoginList','PhCcV','lZvFc','Mvotw','tsJhB','快速登录失败\x20','onBuddyListChange','kOexp','onMemberListChange','启动失败:\x20','onRecvSysMsg','base64','getMsgService','getMsgByLongId','10pyduGZ','onRecvMsg','./nt_qq/global','lxyhA','init','pVtml','登录失败','ProfileListener',')\x20在线状态变更','initWithDeskTopConfig','passwordLogin','vbjmb','startNT','kWxAO','本账号数据/缓存目录:','siWAt','uin','getNTUserDataInfoConfig','getBuddyService','rNAGd','onUserLoggedIn','sceneId','PuIEr','groupMemberList_MainWindow','NodeIKernelLoginService','split','getQRCodePicture','dAhCF','util','MQDdp','./NapCat/data','set','from','addListener','consoleLogLevel','get','proxyHandler','BuddyListener','IrEHB','VboQh','onMsgInfoListUpdate','onProfileDetailInfoChanged','find','message_received','LocalLoginInfoList','Jlgtx','\x20has\x20no\x20method\x20','name','jFCQv','LxFCa','pngBase64QrcodeData','Baxhp','result','getNextMemberList','140022013','addKernelGroupListener','NodeIKernelSessionListener','140022008','5363048DcZSJT','push','initDataListener','dataPath','V1_WIN_NQ_','onKickedOffLine','devUid',')已登录,无法重复登录','KMCCO','NodeIKernelBuddyListener','NodeIKernelProfileListener','undefined','quickLoginWithUin','oBqVh','onQRCodeSessionFailed','tipsDesc','WTAAz','md5','7flUIEv','onQRCodeLoginSucceed'];_0x5e4a=function(){return _0xab7ea5;};return _0x5e4a();}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0xd9df8a from'node:path';import _0x2359e6 from'node:os';import _0x5b6a2c 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'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x32c28a from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x327d(_0x4f52e9,_0x49e187){const _0x5e4a4b=_0x5e4a();return _0x327d=function(_0x327d82,_0x596f4e){_0x327d82=_0x327d82-0x1a9;let _0x232786=_0x5e4a4b[_0x327d82];return _0x232786;},_0x327d(_0x4f52e9,_0x49e187);}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x126dce(0x224)];['util'];['engine'];[_0x126dce(0x20b)];[_0x126dce(0x210)];[_0x126dce(0x207)]=[];[_0x126dce(0x1b5)]={'get'(target,prop,receiver){const _0x31abce=_0x126dce,HuHbJp={'pgpoD':function(callee,param1){return callee(param1);},'KzOdY':function(x,y){return x===y;},'tKfpG':_0x31abce(0x1d6)};if(HuHbJp['KzOdY'](typeof target[prop],HuHbJp[_0x31abce(0x21d)]))return(...args)=>{const _0x84ad9c=_0x31abce;HuHbJp[_0x84ad9c(0x221)](logDebug,target['constructor'][_0x84ad9c(0x1c0)]+_0x84ad9c(0x1bf)+prop);};return Reflect[_0x31abce(0x1b4)](target,prop,receiver);}};constructor(){const _0x131913=_0x126dce,_0x22c43f={'wERJI':function(_0x50760b,_0x5f1573){return _0x50760b(_0x5f1573);},'MQDdp':function(_0x5acb52,_0x3ef5c2){return _0x5acb52+_0x3ef5c2;},'shAwx':'当前账号(','fwOuw':_0x131913(0x1d2),'vbjmb':function(_0x4da4c3,_0x403a43,_0x168936){return _0x4da4c3(_0x403a43,_0x168936);},'jFCQv':function(_0x5ddc08,_0x3d4de5,_0x3158ff){return _0x5ddc08(_0x3d4de5,_0x3158ff);},'siWAt':function(_0x59f8e1,_0xb53e4a,_0x3f0d0d){return _0x59f8e1(_0xb53e4a,_0x3f0d0d);},'PuIEr':_0x131913(0x25a),'aUINw':_0x131913(0x252),'VboQh':function(_0x20b93d,_0x4c030e){return _0x20b93d==_0x4c030e;},'lxGdc':function(_0x1f9e55,_0x1177a3,_0x27ec89){return _0x1f9e55(_0x1177a3,_0x27ec89);}};this['engine']=new _0x1dface['NodeIQQNTWrapperEngine'](),this[_0x131913(0x1ad)]=new _0x1dface[(_0x131913(0x23d))](),this[_0x131913(0x210)]=new _0x1dface[(_0x131913(0x1a9))](),this[_0x131913(0x224)]=new _0x1dface['NodeIQQNTWrapperSession'](),this[_0x131913(0x20b)]=new LoginListener(),this[_0x131913(0x20b)][_0x131913(0x260)]=_0x335f23=>{const _0x535f32=_0x131913;_0x22c43f[_0x535f32(0x1ec)](logError,_0x22c43f[_0x535f32(0x1ae)](_0x22c43f['MQDdp'](_0x22c43f['shAwx'],_0x335f23),_0x22c43f[_0x535f32(0x201)]));},this['loginListener'][_0x131913(0x1de)]=_0x49d3f7=>{const _0x2ebb36=_0x131913;this[_0x2ebb36(0x200)](_0x49d3f7[_0x2ebb36(0x25c)],_0x49d3f7[_0x2ebb36(0x1e9)])[_0x2ebb36(0x1ea)](_0x33cd44=>{const _0x5c356e=_0x2ebb36,_0xd3b4a2={'IrEHB':function(_0x3f9911,_0x2515bb,_0xe42557){const _0x3da229=_0x327d;return _0x22c43f[_0x3da229(0x257)](_0x3f9911,_0x2515bb,_0xe42557);}};selfInfo[_0x5c356e(0x25c)]=_0x49d3f7['uin'],selfInfo[_0x5c356e(0x1e9)]=_0x49d3f7[_0x5c356e(0x1e9)],napCatConfig[_0x5c356e(0x239)](),_0x22c43f[_0x5c356e(0x1c1)](setLogLevel,napCatConfig[_0x5c356e(0x213)],napCatConfig[_0x5c356e(0x1b3)]),enableFileLog(napCatConfig[_0x5c356e(0x20e)]),_0x22c43f[_0x5c356e(0x1ec)](enableConsoleLog,napCatConfig['consoleLog']),_0x22c43f['wERJI'](setLogSelfInfo,selfInfo);const _0x3761a5=_0xd9df8a[_0x5c356e(0x20f)](this['dataPath'],_0x5c356e(0x1af));_0x5b6a2c['mkdirSync'](_0x3761a5,{'recursive':!![]}),_0x22c43f['siWAt'](logDebug,_0x22c43f[_0x5c356e(0x262)],_0x3761a5),dbUtil[_0x5c356e(0x250)](_0xd9df8a[_0x5c356e(0x20f)](_0x3761a5,'./'+_0x49d3f7['uin']+_0x5c356e(0x214)))[_0x5c356e(0x1ea)](()=>{const _0x48f63f=_0x5c356e;this[_0x48f63f(0x1cd)](),this[_0x48f63f(0x207)][_0x48f63f(0x1f5)](_0x8a9ffc=>{const _0x547edc=_0x48f63f;new Promise((_0x5613ca,_0x5edb7c)=>{const _0x2fe9a0=_0x327d,_0x16bae1=_0x8a9ffc(_0x49d3f7[_0x2fe9a0(0x25c)],_0x49d3f7['uid']);_0x16bae1 instanceof Promise&&_0x16bae1['then'](_0x5613ca)[_0x2fe9a0(0x206)](_0x5edb7c);})[_0x547edc(0x1ea)]();});})[_0x5c356e(0x206)](_0xf9b370=>{const _0x4e4a3a=_0x5c356e;_0xd3b4a2[_0x4e4a3a(0x1b7)](logError,_0x4e4a3a(0x1fd),_0xf9b370);});})['catch'](_0x6cc324=>{const _0x5b41de=_0x2ebb36;_0x22c43f[_0x5b41de(0x25b)](logError,_0x5b41de(0x1f2),_0x6cc324);throw new Error(_0x5b41de(0x247)+JSON[_0x5b41de(0x1f0)](_0x6cc324));});},this[_0x131913(0x20b)][_0x131913(0x1d9)]=(_0x5f57c3,_0x4f32ea,_0x3ee8e9)=>{const _0x37fa59=_0x131913;_0x22c43f[_0x37fa59(0x25b)](logError,_0x22c43f[_0x37fa59(0x21f)],_0x3ee8e9),_0x22c43f[_0x37fa59(0x1b8)](_0x5f57c3,0x1)&&_0x4f32ea==0x3&&this[_0x37fa59(0x210)][_0x37fa59(0x1ab)]();},this[_0x131913(0x20b)][_0x131913(0x1e5)]=_0x4d9424=>{const _0x3e0a02=_0x131913;_0x22c43f['lxGdc'](logError,_0x3e0a02(0x252),_0x4d9424);},this['loginListener']=new Proxy(this[_0x131913(0x20b)],this[_0x131913(0x1b5)]),this[_0x131913(0x210)]['addKernelLoginListener'](new _0x1dface[(_0x131913(0x233))](this['loginListener'])),this[_0x131913(0x22f)]();}get[_0x126dce(0x1ce)](){const _0x4b61c2=_0x126dce,_0x13643b={'BQvOM':'./.config/QQ'};let _0x502a6a=this[_0x4b61c2(0x1ad)][_0x4b61c2(0x25d)]();return!_0x502a6a&&(_0x502a6a=_0xd9df8a[_0x4b61c2(0x20f)](_0x2359e6[_0x4b61c2(0x1e2)](),_0x13643b['BQvOM']),_0x5b6a2c[_0x4b61c2(0x1eb)](_0x502a6a,{'recursive':!![]})),_0x502a6a;}get[_0x126dce(0x226)](){const _0x1f1623=_0x126dce,_0x29acb5={'GDWzQ':_0x1f1623(0x24e)};return _0xd9df8a[_0x1f1623(0x20f)](this[_0x1f1623(0x1ce)],_0x29acb5[_0x1f1623(0x1ee)]);}[_0x126dce(0x22f)](){const _0x330357=_0x126dce,_0x4de684={'ktMTi':'Windows\x2010\x20Pro'};this['engine'][_0x330357(0x255)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x4de684['ktMTi'],'use_xlog':!![],'qua':_0x330357(0x1cf)+qqVersionConfigInfo[_0x330357(0x227)]['replace']('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x330357(0x226)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x1dface[(_0x330357(0x217))](new GlobalAdapter())),this[_0x330357(0x210)][_0x330357(0x22f)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x330357(0x226)],'clientVer':qqVersionConfigInfo[_0x330357(0x227)],'hostName':hostname});}[_0x126dce(0x200)](_0x597816,_0x3020a0){const _0x5c87cb=_0x126dce,_0x41c46b={'Jlgtx':function(_0x36f89f,_0x1f7b24){return _0x36f89f===_0x1f7b24;},'oBqVh':function(_0x5ca35b,_0x4197e7,_0x429bc1,_0x4b65b3){return _0x5ca35b(_0x4197e7,_0x429bc1,_0x4b65b3);},'WTAAz':function(_0x507f99,_0x3391fc){return _0x507f99(_0x3391fc);},'Mvotw':_0x5c87cb(0x234)};return new Promise((_0x428e69,_0x5256ff)=>{const _0x38e6f4=_0x5c87cb,_0x1c6d36={'pVtml':function(_0x4605b4,_0x197598){const _0x3a1805=_0x327d;return _0x41c46b[_0x3a1805(0x1be)](_0x4605b4,_0x197598);},'OsdLX':function(_0x1e7462,_0x30a3d6){return _0x1e7462(_0x30a3d6);}},_0x15fedb=_0x41c46b[_0x38e6f4(0x1d8)](genSessionConfig,_0x597816,_0x3020a0,this[_0x38e6f4(0x1ce)]),_0x2554da=new SessionListener();_0x2554da['onSessionInitComplete']=_0x48e42a=>{const _0x512c80=_0x38e6f4;if(_0x1c6d36[_0x512c80(0x251)](_0x48e42a,0x0))return _0x1c6d36[_0x512c80(0x1f9)](_0x428e69,0x0);_0x5256ff(_0x48e42a);},this[_0x38e6f4(0x224)][_0x38e6f4(0x250)](_0x15fedb,new _0x1dface['NodeIDependsAdapter'](new DependsAdapter()),new _0x1dface[(_0x38e6f4(0x225))](new DispatcherAdapter()),new _0x1dface[(_0x38e6f4(0x1c9))](_0x2554da));try{this[_0x38e6f4(0x224)][_0x38e6f4(0x258)](0x0);}catch(_0x4277b9){try{this[_0x38e6f4(0x224)]['startNT']();}catch(_0x7b49b0){_0x41c46b[_0x38e6f4(0x1db)](_0x5256ff,_0x41c46b[_0x38e6f4(0x241)]+_0x7b49b0);}}});}[_0x126dce(0x1cd)](){const _0x2ccc01=_0x126dce,_0x2bd986={'vWROK':function(_0x25e48f,_0xbe8d8f){return _0x25e48f===_0xbe8d8f;},'EUCYz':function(_0x698969,_0x57e9c5){return _0x698969(_0x57e9c5);},'kWxAO':function(_0x2ee5e6,_0xe9b7b1){return _0x2ee5e6+_0xe9b7b1;},'XEcLJ':function(_0x55ce44,_0x130e0c){return _0x55ce44+_0x130e0c;},'ZwQJe':function(_0x7ca5f4,_0x7641d1){return _0x7ca5f4+_0x7641d1;},'gNPfK':function(_0x554c2f,_0x302507){return _0x554c2f+_0x302507;},'rNAGd':_0x2ccc01(0x220),'lZvFc':function(_0x3e689d,_0x39c601){return _0x3e689d===_0x39c601;},'tsJhB':function(_0x518742,_0x3c5497){return _0x518742/_0x3c5497;},'Baxhp':function(_0x554220,_0x48d889){return _0x554220!==_0x48d889;},'oWicj':_0x2ccc01(0x263),'dAhCF':function(_0x1a9b2e,_0x5b765b,_0xd0211a){return _0x1a9b2e(_0x5b765b,_0xd0211a);}},_0xab0857=new MsgListener();_0xab0857[_0x2ccc01(0x232)]=_0x4957f7=>{const _0x3e6751={'wCEQV':function(_0x336dc3,_0x4abfee){return _0x2bd986['vWROK'](_0x336dc3,_0x4abfee);},'USDHT':function(_0x179ce1,_0xb3de3a){const _0x15be07=_0x327d;return _0x2bd986[_0x15be07(0x212)](_0x179ce1,_0xb3de3a);},'pZSAs':function(_0x2426ec,_0x2be915){return _0x2426ec+_0x2be915;},'LxFCa':function(_0x48e48a,_0x35550b){const _0x49a8c6=_0x327d;return _0x2bd986[_0x49a8c6(0x259)](_0x48e48a,_0x35550b);}};_0x4957f7['map'](_0x4faee7=>{const _0x4fdc89=_0x327d;_0x3e6751[_0x4fdc89(0x1ff)](_0x4faee7['clientType'],0x2)&&_0x3e6751['USDHT'](log,_0x3e6751['pZSAs'](_0x3e6751[_0x4fdc89(0x1c2)]('账号设备(',_0x4faee7[_0x4fdc89(0x1d1)]),_0x4fdc89(0x254)));});},_0xab0857[_0x2ccc01(0x1d0)]=_0x31797d=>{const _0x4fe43d=_0x2ccc01;_0x2bd986[_0x4fe43d(0x212)](log,_0x2bd986[_0x4fe43d(0x1ef)](_0x2bd986[_0x4fe43d(0x22d)](_0x2bd986[_0x4fe43d(0x1df)](_0x2bd986[_0x4fe43d(0x25f)],_0x31797d[_0x4fe43d(0x216)]),']\x20'),_0x31797d[_0x4fe43d(0x1da)]));},_0xab0857[_0x2ccc01(0x1b9)]=_0x32749c=>{const _0x2e3c85=_0x2ccc01,_0x41cc76={'GPmys':function(_0x37aebb,_0x47461f){const _0x59f4a3=_0x327d;return _0x2bd986[_0x59f4a3(0x240)](_0x37aebb,_0x47461f);}};stat[_0x2e3c85(0x1ed)]+=0x1,_0x32749c[_0x2e3c85(0x1f5)](_0x2df961=>{const _0x35ea63=_0x2e3c85;_0x41cc76[_0x35ea63(0x22e)](_0x2df961[_0x35ea63(0x235)],'0')?dbUtil['addMsg'](_0x2df961)[_0x35ea63(0x1ea)]()[_0x35ea63(0x206)]():dbUtil[_0x35ea63(0x24b)](_0x2df961['msgId'])[_0x35ea63(0x1ea)](_0x4e09b4=>{const _0x217b03=_0x35ea63;_0x4e09b4&&(_0x4e09b4[_0x217b03(0x235)]=_0x2df961[_0x217b03(0x235)],dbUtil[_0x217b03(0x236)](_0x4e09b4)[_0x217b03(0x1ea)]());});});},_0xab0857['onAddSendMsg']=_0x237fa5=>{const _0x304091=_0x2ccc01;stat[_0x304091(0x1e0)]+=0x1,stat[_0x304091(0x209)]+=0x1,stat[_0x304091(0x1f8)]=Math[_0x304091(0x1e1)](_0x2bd986['tsJhB'](Date[_0x304091(0x205)](),0x3e8));},_0xab0857[_0x2ccc01(0x24d)]=_0x162b28=>{const _0x568dc1=_0x2ccc01;stat[_0x568dc1(0x1ed)]+=0x1,stat[_0x568dc1(0x1bc)]+=_0x162b28[_0x568dc1(0x204)],stat[_0x568dc1(0x1f8)]=Math[_0x568dc1(0x1e1)](_0x2bd986[_0x568dc1(0x242)](Date['now'](),0x3e8));},_0xab0857[_0x2ccc01(0x248)]=(..._0x24f4f6)=>{stat['packet_received']+=0x1;},this[_0x2ccc01(0x1b2)](_0xab0857);const _0x4571ce=new BuddyListener();_0x4571ce[_0x2ccc01(0x244)]=_0x22fbd1=>{const _0x177ec4=_0x2ccc01;rawFriends[_0x177ec4(0x204)]=0x0,rawFriends[_0x177ec4(0x1cc)](..._0x22fbd1);for(const _0x642ad5 of _0x22fbd1){for(const _0x25c572 of _0x642ad5['buddyList']){const _0x4f5b84=friends['get'](_0x25c572['uid']);uid2UinMap[_0x25c572[_0x177ec4(0x1e9)]]=_0x25c572[_0x177ec4(0x25c)],_0x4f5b84?Object['assign'](_0x4f5b84,_0x25c572):friends[_0x177ec4(0x1b0)](_0x25c572['uid'],_0x25c572);}}},this[_0x2ccc01(0x1b2)](_0x4571ce),this['session']['getBuddyService']()[_0x2ccc01(0x218)](!![])[_0x2ccc01(0x1ea)](_0x323fc7=>{});const _0x2cfab6=new ProfileListener();_0x2cfab6[_0x2ccc01(0x1ba)]=_0x22f491=>{const _0x121208=_0x2ccc01;_0x22f491['uid']===selfInfo[_0x121208(0x1e9)]&&Object['assign'](selfInfo,_0x22f491);},_0x2cfab6['onSelfStatusChanged']=_0x149c94=>{},this[_0x2ccc01(0x1b2)](_0x2cfab6);const _0xf00aec=new GroupListener();_0xf00aec[_0x2ccc01(0x215)]=(_0x3e7d63,_0x443c5d)=>{const _0x13ec77=_0x2ccc01;_0x443c5d[_0x13ec77(0x1f5)](_0x369951=>{const _0xca3bb=_0x13ec77,_0x8cf1be=groups[_0xca3bb(0x1b4)](_0x369951[_0xca3bb(0x22b)]);if(_0x8cf1be&&_0x2bd986[_0xca3bb(0x1c4)](_0x369951[_0xca3bb(0x1f1)],_0x8cf1be[_0xca3bb(0x1f1)]))Object[_0xca3bb(0x22c)](_0x8cf1be,_0x369951);else{groups[_0xca3bb(0x1b0)](_0x369951[_0xca3bb(0x22b)],_0x369951);const _0x6c6a37=this[_0xca3bb(0x224)][_0xca3bb(0x203)]()[_0xca3bb(0x21e)](_0x369951[_0xca3bb(0x22b)],_0x2bd986[_0xca3bb(0x21b)]);this[_0xca3bb(0x224)][_0xca3bb(0x203)]()[_0xca3bb(0x1c6)](_0x6c6a37,undefined,0xbb8)[_0xca3bb(0x1ea)](_0xe94b91=>{});}});},_0xf00aec[_0x2ccc01(0x246)]=_0xa69d52=>{const _0x21d80c=_0x2ccc01,_0x3c81d7=_0xa69d52[_0x21d80c(0x261)][_0x21d80c(0x1aa)]('_')[0x0];if(groupMembers['has'](_0x3c81d7)){const _0x16de9a=groupMembers[_0x21d80c(0x1b4)](_0x3c81d7);_0xa69d52['infos']['forEach']((_0x5da56e,_0x50c174)=>{const _0x5dc4ef=_0x21d80c,_0xa28cee=_0x16de9a[_0x5dc4ef(0x1b4)](_0x50c174);_0xa28cee?Object['assign'](_0xa28cee,_0x5da56e):_0x16de9a[_0x5dc4ef(0x1b0)](_0x50c174,_0x5da56e);});}else groupMembers['set'](_0x3c81d7,_0xa69d52[_0x21d80c(0x202)]);},_0xf00aec['onMemberInfoChange']=(_0x6b297d,_0x5796cb,_0x40603b)=>{const _0x5eedbc=_0x2ccc01;_0x2bd986[_0x5eedbc(0x240)](_0x5796cb,0x0)&&_0x40603b[_0x5eedbc(0x1b4)](selfInfo[_0x5eedbc(0x1e9)])&&_0x40603b['get'](selfInfo[_0x5eedbc(0x1e9)])?.[_0x5eedbc(0x1e3)]&&_0x2bd986[_0x5eedbc(0x1ac)](setTimeout,()=>{groups['delete'](_0x6b297d);},0x1388);_0x40603b['forEach']((_0x308062,_0x5aafe6)=>{const _0x23718f=_0x5eedbc;uid2UinMap[_0x5aafe6]=_0x308062[_0x23718f(0x25c)];});const _0xe82273=groupMembers[_0x5eedbc(0x1b4)](_0x6b297d);_0xe82273?_0x40603b[_0x5eedbc(0x1fc)]((_0x2059a2,_0x1811d7)=>{const _0x3f3c20=_0x5eedbc,_0x4bca98=_0xe82273[_0x3f3c20(0x1b4)](_0x1811d7);_0x4bca98?Object[_0x3f3c20(0x22c)](_0x4bca98,_0x2059a2):_0xe82273['set'](_0x1811d7,_0x2059a2);}):groupMembers[_0x5eedbc(0x1b0)](_0x6b297d,_0x40603b);},this[_0x2ccc01(0x1b2)](_0xf00aec);}[_0x126dce(0x1b2)](_0x40296d){const _0xc55bd2=_0x126dce,_0x52f7b2={'DdTXU':_0xc55bd2(0x1b6),'PhCcV':_0xc55bd2(0x1fe)};_0x40296d=new Proxy(_0x40296d,this['proxyHandler']);switch(_0x40296d[_0xc55bd2(0x1f3)][_0xc55bd2(0x1c0)]){case _0x52f7b2['DdTXU']:{return this[_0xc55bd2(0x224)][_0xc55bd2(0x25e)]()['addKernelBuddyListener'](new _0x1dface[(_0xc55bd2(0x1d4))](_0x40296d));}case _0xc55bd2(0x23c):{return this[_0xc55bd2(0x224)][_0xc55bd2(0x203)]()[_0xc55bd2(0x1c8)](new _0x1dface[(_0xc55bd2(0x23b))](_0x40296d));}case _0x52f7b2[_0xc55bd2(0x23f)]:{return this[_0xc55bd2(0x224)][_0xc55bd2(0x24a)]()['addKernelMsgListener'](new _0x1dface['NodeIKernelMsgListener'](_0x40296d));}case _0xc55bd2(0x253):{return this[_0xc55bd2(0x224)][_0xc55bd2(0x211)]()[_0xc55bd2(0x1e6)](new _0x1dface[(_0xc55bd2(0x1d5))](_0x40296d));}default:return-0x1;}}['onLoginSuccess'](_0x516850){const _0x5a4e18=_0x126dce;this[_0x5a4e18(0x207)][_0x5a4e18(0x1cc)](_0x516850);}async[_0x126dce(0x237)](_0x297d24){const _0x550651=_0x126dce,_0x5eb0c8={'gVJtg':function(_0x52775d,_0x4f46ce){return _0x52775d!==_0x4f46ce;},'ulnUU':function(_0x498f7f,_0x2fedf4){return _0x498f7f(_0x2fedf4);},'cVHQL':function(_0x24d2b6,_0x5d3474){return _0x24d2b6+_0x5d3474;},'icQVi':_0x550651(0x243)},_0x27545d=await this['loginService'][_0x550651(0x23e)]();if(_0x5eb0c8['gVJtg'](_0x27545d['result'],0x0))throw new Error('没有可快速登录的QQ号');const _0x289f1a=_0x27545d[_0x550651(0x1bd)][_0x550651(0x1bb)](_0x381477=>_0x381477[_0x550651(0x25c)]===_0x297d24);if(!_0x289f1a||!_0x289f1a?.[_0x550651(0x23a)])throw new Error(_0x297d24+_0x550651(0x231));await _0x5eb0c8[_0x550651(0x1fa)](sleep,0x3e8);const _0x395120=await this[_0x550651(0x210)][_0x550651(0x1d7)](_0x297d24);if(!_0x395120[_0x550651(0x1c5)])throw new Error(_0x5eb0c8['cVHQL'](_0x5eb0c8[_0x550651(0x20d)],_0x395120[_0x550651(0x238)][_0x550651(0x21c)]));return _0x395120;}async[_0x126dce(0x230)](_0x47cb99){const _0x5a4df8=_0x126dce,_0x16bb33={'lxyhA':_0x5a4df8(0x208)};return new Promise((_0x552e80,_0x5db1f8)=>{const _0x223c65=_0x5a4df8,_0x56dd8f={'nFatr':_0x16bb33[_0x223c65(0x24f)],'XgQvk':function(_0x2be045,_0x3729df,_0x515c1e,_0xf8edd5){return _0x2be045(_0x3729df,_0x515c1e,_0xf8edd5);}};this[_0x223c65(0x20b)][_0x223c65(0x1e7)]=_0x46dd04=>{const _0x4944e8=_0x223c65,_0x5cd5be=_0x46dd04[_0x4944e8(0x1c3)][_0x4944e8(0x1aa)](_0x56dd8f['nFatr'])[0x1],_0x1a4aec=Buffer[_0x4944e8(0x1b1)](_0x5cd5be,_0x4944e8(0x249));_0x56dd8f['XgQvk'](_0x47cb99,_0x46dd04[_0x4944e8(0x21a)],_0x46dd04[_0x4944e8(0x1c3)],_0x1a4aec);},this[_0x223c65(0x210)]['getQRCodePicture']();});}async['passwordLogin'](_0xe02365,_0x5f58cb,_0x4204f7,_0x4d5545,_0x2f3d07){const _0x23107f=_0x126dce,_0x36aab8={'kOexp':_0x23107f(0x1dc),'MZEJX':_0x23107f(0x1f4),'SerVH':function(_0x4e01ce,_0x57c82d){return _0x4e01ce&&_0x57c82d;},'KMCCO':function(_0x122a03,_0x894906){return _0x122a03||_0x894906;},'QlLux':function(_0x5b4120,_0x19c537){return _0x5b4120(_0x19c537);},'fwudn':_0x23107f(0x1c7)},_0x25df05=_0x32c28a[_0x23107f(0x1f6)](_0x36aab8[_0x23107f(0x245)])[_0x23107f(0x222)](_0x5f58cb)['digest'](_0x36aab8[_0x23107f(0x1f7)]),_0x104be3={'uin':_0xe02365,'passwordMd5':_0x25df05,'step':_0x36aab8['SerVH'](_0x4204f7,_0x4d5545)&&_0x2f3d07?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x36aab8[_0x23107f(0x1d3)](_0x4204f7,''),'proofWaterRand':_0x4d5545||'','proofWaterSid':_0x36aab8[_0x23107f(0x1d3)](_0x2f3d07,'')};await this[_0x23107f(0x210)][_0x23107f(0x23e)](),await _0x36aab8[_0x23107f(0x22a)](sleep,0x3e8);const _0x470e28=await this['loginService'][_0x23107f(0x256)](_0x104be3);switch(_0x470e28[_0x23107f(0x1c5)]){case'0':{break;}case _0x23107f(0x1ca):{break;}case'4':case _0x36aab8[_0x23107f(0x1fb)]:default:}}async[_0x126dce(0x20c)](){const _0x17d78a=_0x126dce,_0x2cc5d5=await this[_0x17d78a(0x210)][_0x17d78a(0x23e)]();return _0x2cc5d5;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x5663c3=_0x13a7;(function(_0x5c436b,_0x22ccb2){const _0x4a5474=_0x13a7,_0x50f5f2=_0x5c436b();while(!![]){try{const _0x117b4b=parseInt(_0x4a5474(0x192))/0x1+-parseInt(_0x4a5474(0x1a3))/0x2+parseInt(_0x4a5474(0x1dd))/0x3+-parseInt(_0x4a5474(0x1d0))/0x4+-parseInt(_0x4a5474(0x1fb))/0x5+parseInt(_0x4a5474(0x223))/0x6+parseInt(_0x4a5474(0x185))/0x7;if(_0x117b4b===_0x22ccb2)break;else _0x50f5f2['push'](_0x50f5f2['shift']());}catch(_0x2dbfc2){_0x50f5f2['push'](_0x50f5f2['shift']());}}}(_0xeeb9,0xcd743));import _0x104b49 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5a1322 from'node:path';import _0x44de70 from'node:os';import _0x280043 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0xeeb9(){const _0x15f8b0=[')\x20在线状态变更','cNfda','createHash','dataPathGlobal','constructor','1710656zhENep','KCroq','isPki','tipsTitle','errMsg','RAruB','tipsDesc','IJJYv','\x20has\x20no\x20method\x20','getBuddyService','uin','NodeQQNTWrapperUtil','onSelfStatusChanged','2860866zOMwXs','loginListener','memberCount','dataPath','本账号数据/缓存目录:','onKickedOffLine','getProfileService','vpKmE','AbusP','V1_WIN_NQ_','onLoginSuccessFuncList','NEqLz','IFdwD','lWCwy','当前账号(','digest','mkdirSync','result','get','JYIfr','NodeIDependsAdapter','onSessionInitComplete','assign','addKernelProfileListener','getQuickLoginList','data:image/png;base64,','onMemberListChange','engine','floor','DPsND','2692370rLPUMP','getNextMemberList','./nt_qq/global','BuddyListener','find','length','VCTog','proxyHandler','HrHVj','loginService','onLineDev','aisOu','replace','onLoginSuccess','onLoginFailed','consoleLog','addMsg','getMsgByLongId','addListener','init','sLFul','util','_GW_B','loginErrorInfo','map','UMgXF','ETDdx','onBuddyListChange','split','session','wfdlt','OyaBH','catch','bCvOz','onRecvSysMsg','onUserLoggedIn','快速登录失败\x20','resolve','NodeIKernelGroupListener','NJvCQ','4371774fNPvYc','getGroupService','last_message_time','has','initWithDeskTopConfig','YqQTW','NodeIKernelSessionListener','NodeIKernelLoginService','message_sent','recallTime','./NapCat/data','initDataListener','hMDUT','登录失败','TtZDY','Wcxlb','getBuddyList','isDelete','sNPgK','IBKuB','passwordLogin','3668581gVxvtS','initSession','groupCode','pngBase64QrcodeData','message_received','NodeIGlobalAdapter','MsgListener','NodeIKernelLoginListener','fileLog','JlLSH','gnJWb','read','stringify','858437ThCqnu','initSession\x20failed','set','NodeIDispatcherAdapter','clientType','OSoYZ','now','PDXoI','forEach','./.config/QQ','uHQXC','finzU','没有可快速登录的QQ号','isQuickLogin','from','NodeIKernelMsgListener','wsQhc','2514188ULAHOn','infos','XzFQe','consoleLogLevel','MqRIP','undefined','packet_received','name','onQRCodeLoginSucceed','guteK','qrLogin','getLoginList','msgId','DGozr','startNT','dscDH','KHGlr','uid','HACSD','groupMemberList_MainWindow','curVersion','bREzt','getMsgService','devUid','NodeIQQNTWrapperEngine','onQRCodeSessionFailed','getQRCodePicture','base64','onMemberInfoChange','-v2.db','NodeIKernelProfileListener','GroupListener','push','LocalLoginInfoList','hex','getNTUserDataInfoConfig','EiDka','createMemberListScene','initConfig','then'];_0xeeb9=function(){return _0x15f8b0;};return _0xeeb9();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';function _0x13a7(_0x43846c,_0x30c3b5){const _0xeeb9d9=_0xeeb9();return _0x13a7=function(_0x13a74d,_0x152a68){_0x13a74d=_0x13a74d-0x17d;let _0x17d6b2=_0xeeb9d9[_0x13a74d];return _0x17d6b2;},_0x13a7(_0x43846c,_0x30c3b5);}import _0x56474a 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{[_0x5663c3(0x218)];['util'];[_0x5663c3(0x1f8)];[_0x5663c3(0x1de)];['loginService'];[_0x5663c3(0x1e7)]=[];[_0x5663c3(0x202)]={'get'(target,prop,receiver){const _0x462da4=_0x5663c3,Ynpbux={'YqQTW':_0x462da4(0x1a8)};if(typeof target[prop]===Ynpbux[_0x462da4(0x228)])return(...args)=>{const _0x3596f9=_0x462da4;logDebug(target[_0x3596f9(0x1cf)][_0x3596f9(0x1aa)]+_0x3596f9(0x1d8)+prop);};return Reflect[_0x462da4(0x1ef)](target,prop,receiver);}};constructor(){const _0x146576=_0x5663c3,_0x42877d={'HrHVj':function(_0x37a027,_0xf984ef){return _0x37a027(_0xf984ef);},'xoOjg':function(_0x34ec3c,_0x390de0){return _0x34ec3c+_0x390de0;},'Wcxlb':_0x146576(0x1eb),'KCroq':')已登录,无法重复登录','IBKuB':function(_0x4bea4c,_0x3ce746,_0x10209e){return _0x4bea4c(_0x3ce746,_0x10209e);},'NEqLz':function(_0x3bd45e,_0x50beab){return _0x3bd45e instanceof _0x50beab;},'UMgXF':function(_0x2a5f6b,_0x49aee5){return _0x2a5f6b(_0x49aee5);},'DGozr':_0x146576(0x22d),'OSoYZ':function(_0x1b9482,_0x3566e1,_0x25242b){return _0x1b9482(_0x3566e1,_0x25242b);},'NJvCQ':_0x146576(0x193),'bCvOz':_0x146576(0x17d),'DPsND':function(_0x4250ab,_0x514481){return _0x4250ab==_0x514481;},'XzFQe':function(_0x53a3ef,_0x3cc1ac,_0x2ed8c8){return _0x53a3ef(_0x3cc1ac,_0x2ed8c8);}};this[_0x146576(0x1f8)]=new _0x104b49[(_0x146576(0x1bb))](),this[_0x146576(0x210)]=new _0x104b49[(_0x146576(0x1db))](),this['loginService']=new _0x104b49[(_0x146576(0x22a))](),this[_0x146576(0x218)]=new _0x104b49['NodeIQQNTWrapperSession'](),this['loginListener']=new LoginListener(),this[_0x146576(0x1de)][_0x146576(0x21e)]=_0x2dcd4b=>{const _0x49eda3=_0x146576;_0x42877d['HrHVj'](logError,_0x42877d['xoOjg'](_0x42877d[_0x49eda3(0x17f)]+_0x2dcd4b,_0x42877d[_0x49eda3(0x1d1)]));},this[_0x146576(0x1de)][_0x146576(0x1ab)]=_0x5d0959=>{const _0xcff489=_0x146576;this[_0xcff489(0x186)](_0x5d0959[_0xcff489(0x1da)],_0x5d0959[_0xcff489(0x1b4)])[_0xcff489(0x1ca)](_0xf254=>{const _0xcc5d39=_0xcff489,_0x5a26c8={'sNPgK':function(_0x334eb5,_0x37b0f6,_0x356224){const _0x4b12d8=_0x13a7;return _0x42877d[_0x4b12d8(0x183)](_0x334eb5,_0x37b0f6,_0x356224);},'KHGlr':function(_0x3f5c96,_0x20bf6f){const _0x3dad6f=_0x13a7;return _0x42877d[_0x3dad6f(0x1e8)](_0x3f5c96,_0x20bf6f);},'HACSD':function(_0x282df8,_0x3b56c9,_0x56df25){return _0x282df8(_0x3b56c9,_0x56df25);}};selfInfo[_0xcc5d39(0x1da)]=_0x5d0959[_0xcc5d39(0x1da)],selfInfo[_0xcc5d39(0x1b4)]=_0x5d0959[_0xcc5d39(0x1b4)],napCatConfig[_0xcc5d39(0x190)](),setLogLevel(napCatConfig['fileLogLevel'],napCatConfig[_0xcc5d39(0x1a6)]),_0x42877d[_0xcc5d39(0x214)](enableFileLog,napCatConfig[_0xcc5d39(0x18d)]),_0x42877d[_0xcc5d39(0x203)](enableConsoleLog,napCatConfig[_0xcc5d39(0x20a)]),_0x42877d[_0xcc5d39(0x203)](setLogSelfInfo,selfInfo);const _0xac1d02=_0x5a1322['resolve'](this['dataPath'],_0x42877d[_0xcc5d39(0x1b0)]);_0x280043[_0xcc5d39(0x1ed)](_0xac1d02,{'recursive':!![]}),_0x42877d[_0xcc5d39(0x197)](logDebug,_0xcc5d39(0x1e1),_0xac1d02),dbUtil[_0xcc5d39(0x20e)](_0x5a1322[_0xcc5d39(0x220)](_0xac1d02,'./'+_0x5d0959[_0xcc5d39(0x1da)]+_0xcc5d39(0x1c0)))['then'](()=>{const _0x5f3420=_0xcc5d39,_0x153ec6={'PDXoI':function(_0x2b6aee,_0x137b7a,_0x3292a6){const _0x25a6a7=_0x13a7;return _0x5a26c8[_0x25a6a7(0x182)](_0x2b6aee,_0x137b7a,_0x3292a6);},'guteK':function(_0xb253ca,_0x2fb094){const _0x5cfb0a=_0x13a7;return _0x5a26c8[_0x5cfb0a(0x1b3)](_0xb253ca,_0x2fb094);}};this[_0x5f3420(0x22e)](),this[_0x5f3420(0x1e7)][_0x5f3420(0x213)](_0x5bb834=>{const _0x4c0478=_0x5f3420,_0x4f7167={'vpKmE':function(_0xe3c0d1,_0x437099,_0x432f72){const _0x3507db=_0x13a7;return _0x153ec6[_0x3507db(0x199)](_0xe3c0d1,_0x437099,_0x432f72);},'Mdghi':function(_0x44953f,_0x449b52){const _0x6e0113=_0x13a7;return _0x153ec6[_0x6e0113(0x1ac)](_0x44953f,_0x449b52);}};new Promise((_0x84af24,_0x42fc13)=>{const _0x19c4b9=_0x13a7,_0x146976=_0x4f7167[_0x19c4b9(0x1e4)](_0x5bb834,_0x5d0959['uin'],_0x5d0959[_0x19c4b9(0x1b4)]);_0x4f7167['Mdghi'](_0x146976,Promise)&&_0x146976[_0x19c4b9(0x1ca)](_0x84af24)[_0x19c4b9(0x21b)](_0x42fc13);})[_0x4c0478(0x1ca)]();});})['catch'](_0x911d1d=>{const _0x36a398=_0xcc5d39;_0x5a26c8[_0x36a398(0x1b5)](logError,'数据库初始化失败',_0x911d1d);});})[_0xcff489(0x21b)](_0x54e398=>{const _0xdae80e=_0xcff489;_0x42877d[_0xdae80e(0x197)](logError,_0x42877d[_0xdae80e(0x222)],_0x54e398);throw new Error('启动失败:\x20'+JSON[_0xdae80e(0x191)](_0x54e398));});},this[_0x146576(0x1de)][_0x146576(0x1bc)]=(_0x4980dc,_0x3ce95b,_0x512cae)=>{const _0x21b41f=_0x146576;logError(_0x42877d['bCvOz'],_0x512cae),_0x42877d[_0x21b41f(0x1fa)](_0x4980dc,0x1)&&_0x3ce95b==0x3&&this[_0x21b41f(0x204)][_0x21b41f(0x1bd)]();},this['loginListener'][_0x146576(0x209)]=_0x428f79=>{const _0x52a482=_0x146576;_0x42877d[_0x52a482(0x1a5)](logError,_0x42877d[_0x52a482(0x21c)],_0x428f79);},this[_0x146576(0x1de)]=new Proxy(this[_0x146576(0x1de)],this[_0x146576(0x202)]),this['loginService']['addKernelLoginListener'](new _0x104b49[(_0x146576(0x18c))](this['loginListener'])),this[_0x146576(0x1c9)]();}get[_0x5663c3(0x1e0)](){const _0x58a68e=_0x5663c3,_0x5b71ff={'cNfda':_0x58a68e(0x19b)};let _0x5b5496=this[_0x58a68e(0x210)][_0x58a68e(0x1c6)]();return!_0x5b5496&&(_0x5b5496=_0x5a1322[_0x58a68e(0x220)](_0x44de70['homedir'](),_0x5b71ff[_0x58a68e(0x1cc)]),_0x280043[_0x58a68e(0x1ed)](_0x5b5496,{'recursive':!![]})),_0x5b5496;}get[_0x5663c3(0x1ce)](){const _0x6c9ece=_0x5663c3;return _0x5a1322[_0x6c9ece(0x220)](this[_0x6c9ece(0x1e0)],_0x6c9ece(0x1fd));}[_0x5663c3(0x1c9)](){const _0x1e225d=_0x5663c3;this['engine'][_0x1e225d(0x227)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1e225d(0x1b7)],'os_version':'Windows\x2010\x20Pro','use_xlog':!![],'qua':_0x1e225d(0x1e6)+qqVersionConfigInfo[_0x1e225d(0x1b7)][_0x1e225d(0x207)]('-','_')+_0x1e225d(0x211),'global_path_config':{'desktopGlobalPath':this[_0x1e225d(0x1ce)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x104b49[(_0x1e225d(0x18a))](new GlobalAdapter())),this[_0x1e225d(0x204)][_0x1e225d(0x1c9)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1e225d(0x1ce)],'clientVer':qqVersionConfigInfo[_0x1e225d(0x1b7)],'hostName':hostname});}['initSession'](_0x15d55f,_0x595361){const _0x4898f2={'psNsY':function(_0x8d13c7,_0x82fc1a){return _0x8d13c7===_0x82fc1a;},'finzU':function(_0xa45430,_0x289e32){return _0xa45430(_0x289e32);},'lWCwy':function(_0x57744f,_0x15cd6b,_0x4096b7,_0x46cf5e){return _0x57744f(_0x15cd6b,_0x4096b7,_0x46cf5e);},'isPki':function(_0x26c6b5,_0x4f1a06){return _0x26c6b5+_0x4f1a06;}};return new Promise((_0x35d964,_0x511dda)=>{const _0x12c632=_0x13a7,_0x2d8f44=_0x4898f2[_0x12c632(0x1ea)](genSessionConfig,_0x15d55f,_0x595361,this[_0x12c632(0x1e0)]),_0x1ecb81=new SessionListener();_0x1ecb81[_0x12c632(0x1f2)]=_0x36ffe0=>{if(_0x4898f2['psNsY'](_0x36ffe0,0x0))return _0x35d964(0x0);_0x4898f2['finzU'](_0x511dda,_0x36ffe0);},this['session'][_0x12c632(0x20e)](_0x2d8f44,new _0x104b49[(_0x12c632(0x1f1))](new DependsAdapter()),new _0x104b49[(_0x12c632(0x195))](new DispatcherAdapter()),new _0x104b49[(_0x12c632(0x229))](_0x1ecb81));try{this[_0x12c632(0x218)][_0x12c632(0x1b1)](0x0);}catch(_0x13e569){try{this[_0x12c632(0x218)][_0x12c632(0x1b1)]();}catch(_0x186422){_0x4898f2[_0x12c632(0x19d)](_0x511dda,_0x4898f2[_0x12c632(0x1d2)]('init\x20failed\x20',_0x186422));}}});}[_0x5663c3(0x22e)](){const _0x6e08a8=_0x5663c3,_0x3227f2={'LJpww':function(_0x43aace,_0x491662){return _0x43aace===_0x491662;},'bREzt':function(_0x54ed05,_0x50bb5){return _0x54ed05(_0x50bb5);},'AbusP':function(_0x30bd54,_0x27136c){return _0x30bd54+_0x27136c;},'RAruB':'账号设备(','EiDka':_0x6e08a8(0x1cb),'wsQhc':function(_0x548d92,_0x4db9e3){return _0x548d92+_0x4db9e3;},'MqRIP':function(_0x22b72b,_0x317c7a){return _0x22b72b+_0x317c7a;},'voACG':'[KickedOffLine]\x20[','aisOu':function(_0x52b899,_0xf3ffb4){return _0x52b899/_0xf3ffb4;},'yDoAN':function(_0x264d37,_0x2b0d89){return _0x264d37===_0x2b0d89;},'uHQXC':function(_0x39bfd0,_0x134785){return _0x39bfd0!==_0x134785;},'gnJWb':_0x6e08a8(0x1b6),'dscDH':function(_0x106e02,_0x3a1103,_0x1dc60f){return _0x106e02(_0x3a1103,_0x1dc60f);}},_0x25cdb9=new MsgListener();_0x25cdb9[_0x6e08a8(0x205)]=_0x2e773f=>{const _0x43d035=_0x6e08a8;_0x2e773f[_0x43d035(0x213)](_0xcc21f7=>{const _0x877565=_0x43d035;_0x3227f2['LJpww'](_0xcc21f7[_0x877565(0x196)],0x2)&&_0x3227f2[_0x877565(0x1b8)](log,_0x3227f2[_0x877565(0x1e5)](_0x3227f2[_0x877565(0x1e5)](_0x3227f2[_0x877565(0x1d5)],_0xcc21f7[_0x877565(0x1ba)]),_0x3227f2[_0x877565(0x1c7)]));});},_0x25cdb9[_0x6e08a8(0x1e2)]=_0x501175=>{const _0x21bd5e=_0x6e08a8;log(_0x3227f2[_0x21bd5e(0x1a2)](_0x3227f2[_0x21bd5e(0x1a7)](_0x3227f2['voACG'],_0x501175[_0x21bd5e(0x1d3)])+']\x20',_0x501175[_0x21bd5e(0x1d6)]));},_0x25cdb9['onMsgInfoListUpdate']=_0x211c85=>{const _0x2246c1=_0x6e08a8;stat[_0x2246c1(0x1a9)]+=0x1,_0x211c85[_0x2246c1(0x213)](_0x1a9742=>{const _0x2bf0ac=_0x2246c1;_0x3227f2['LJpww'](_0x1a9742[_0x2bf0ac(0x22c)],'0')?dbUtil[_0x2bf0ac(0x20b)](_0x1a9742)[_0x2bf0ac(0x1ca)]()[_0x2bf0ac(0x21b)]():dbUtil[_0x2bf0ac(0x20c)](_0x1a9742[_0x2bf0ac(0x1af)])[_0x2bf0ac(0x1ca)](_0x1ca40d=>{const _0x4a585b=_0x2bf0ac;_0x1ca40d&&(_0x1ca40d[_0x4a585b(0x22c)]=_0x1a9742[_0x4a585b(0x22c)],dbUtil['updateMsg'](_0x1ca40d)[_0x4a585b(0x1ca)]());});});},_0x25cdb9['onAddSendMsg']=_0x1d098b=>{const _0x2b681e=_0x6e08a8;stat['packet_sent']+=0x1,stat[_0x2b681e(0x22b)]+=0x1,stat[_0x2b681e(0x225)]=Math[_0x2b681e(0x1f9)](_0x3227f2[_0x2b681e(0x206)](Date[_0x2b681e(0x198)](),0x3e8));},_0x25cdb9['onRecvMsg']=_0x295a62=>{const _0x41d256=_0x6e08a8;stat['packet_received']+=0x1,stat[_0x41d256(0x189)]+=_0x295a62[_0x41d256(0x200)],stat[_0x41d256(0x225)]=Math[_0x41d256(0x1f9)](_0x3227f2['aisOu'](Date[_0x41d256(0x198)](),0x3e8));},_0x25cdb9[_0x6e08a8(0x21d)]=(..._0x51e629)=>{const _0x42d203=_0x6e08a8;stat[_0x42d203(0x1a9)]+=0x1;},this[_0x6e08a8(0x20d)](_0x25cdb9);const _0x4f56f5=new BuddyListener();_0x4f56f5[_0x6e08a8(0x216)]=_0xb3f6f9=>{const _0x1f9f89=_0x6e08a8;rawFriends[_0x1f9f89(0x200)]=0x0,rawFriends[_0x1f9f89(0x1c3)](..._0xb3f6f9);for(const _0x5bc17d of _0xb3f6f9){for(const _0x4998e4 of _0x5bc17d['buddyList']){const _0x4cb37a=friends[_0x1f9f89(0x1ef)](_0x4998e4[_0x1f9f89(0x1b4)]);uid2UinMap[_0x4998e4[_0x1f9f89(0x1b4)]]=_0x4998e4[_0x1f9f89(0x1da)],_0x4cb37a?Object[_0x1f9f89(0x1f3)](_0x4cb37a,_0x4998e4):friends['set'](_0x4998e4['uid'],_0x4998e4);}}},this[_0x6e08a8(0x20d)](_0x4f56f5),this[_0x6e08a8(0x218)][_0x6e08a8(0x1d9)]()[_0x6e08a8(0x180)](!![])[_0x6e08a8(0x1ca)](_0x50445d=>{});const _0x3b593d=new ProfileListener();_0x3b593d['onProfileDetailInfoChanged']=_0xa15d01=>{const _0x1ff1b8=_0x6e08a8;_0x3227f2['yDoAN'](_0xa15d01[_0x1ff1b8(0x1b4)],selfInfo[_0x1ff1b8(0x1b4)])&&Object['assign'](selfInfo,_0xa15d01);},_0x3b593d[_0x6e08a8(0x1dc)]=_0x10d207=>{},this[_0x6e08a8(0x20d)](_0x3b593d);const _0x37cb47=new GroupListener();_0x37cb47['onGroupListUpdate']=(_0x3dea42,_0x5b6e51)=>{const _0x1a4e0f=_0x6e08a8;_0x5b6e51[_0x1a4e0f(0x213)](_0x3cdf74=>{const _0x460533=_0x1a4e0f,_0x807bc1=groups[_0x460533(0x1ef)](_0x3cdf74['groupCode']);if(_0x807bc1&&_0x3227f2[_0x460533(0x19c)](_0x3cdf74['memberCount'],_0x807bc1[_0x460533(0x1df)]))Object[_0x460533(0x1f3)](_0x807bc1,_0x3cdf74);else{groups['set'](_0x3cdf74[_0x460533(0x187)],_0x3cdf74);const _0x2fd522=this[_0x460533(0x218)][_0x460533(0x224)]()[_0x460533(0x1c8)](_0x3cdf74['groupCode'],_0x3227f2[_0x460533(0x18f)]);this[_0x460533(0x218)][_0x460533(0x224)]()[_0x460533(0x1fc)](_0x2fd522,undefined,0xbb8)['then'](_0x185348=>{});}});},_0x37cb47[_0x6e08a8(0x1f7)]=_0x51746e=>{const _0x24242a=_0x6e08a8,_0x49f278=_0x51746e['sceneId']['split']('_')[0x0];if(groupMembers[_0x24242a(0x226)](_0x49f278)){const _0x435e84=groupMembers[_0x24242a(0x1ef)](_0x49f278);_0x51746e[_0x24242a(0x1a4)]['forEach']((_0x17c857,_0x545721)=>{const _0x4b1dbc=_0x24242a,_0x3624d6=_0x435e84['get'](_0x545721);_0x3624d6?Object[_0x4b1dbc(0x1f3)](_0x3624d6,_0x17c857):_0x435e84['set'](_0x545721,_0x17c857);});}else groupMembers['set'](_0x49f278,_0x51746e[_0x24242a(0x1a4)]);},_0x37cb47[_0x6e08a8(0x1bf)]=(_0x2631dc,_0x46ed3f,_0x4a45dd)=>{const _0x353f33=_0x6e08a8;_0x46ed3f===0x0&&_0x4a45dd[_0x353f33(0x1ef)](selfInfo[_0x353f33(0x1b4)])&&_0x4a45dd[_0x353f33(0x1ef)](selfInfo[_0x353f33(0x1b4)])?.[_0x353f33(0x181)]&&_0x3227f2[_0x353f33(0x1b2)](setTimeout,()=>{groups['delete'](_0x2631dc);},0x1388);_0x4a45dd[_0x353f33(0x19a)]((_0x59ede1,_0x10815d)=>{const _0x3200a0=_0x353f33;uid2UinMap[_0x10815d]=_0x59ede1[_0x3200a0(0x1da)];});const _0x81220c=groupMembers['get'](_0x2631dc);_0x81220c?_0x4a45dd[_0x353f33(0x19a)]((_0x3c9a17,_0x532f69)=>{const _0x34c25a=_0x353f33,_0x23a20d=_0x81220c[_0x34c25a(0x1ef)](_0x532f69);_0x23a20d?Object[_0x34c25a(0x1f3)](_0x23a20d,_0x3c9a17):_0x81220c[_0x34c25a(0x194)](_0x532f69,_0x3c9a17);}):groupMembers[_0x353f33(0x194)](_0x2631dc,_0x4a45dd);},this[_0x6e08a8(0x20d)](_0x37cb47);}[_0x5663c3(0x20d)](_0x343f03){const _0x4d6dd9=_0x5663c3,_0x21cf9f={'ETDdx':_0x4d6dd9(0x1c2),'JYIfr':_0x4d6dd9(0x18b),'AyKIV':'ProfileListener'};_0x343f03=new Proxy(_0x343f03,this[_0x4d6dd9(0x202)]);switch(_0x343f03['constructor'][_0x4d6dd9(0x1aa)]){case _0x4d6dd9(0x1fe):{return this['session'][_0x4d6dd9(0x1d9)]()['addKernelBuddyListener'](new _0x104b49['NodeIKernelBuddyListener'](_0x343f03));}case _0x21cf9f[_0x4d6dd9(0x215)]:{return this['session'][_0x4d6dd9(0x224)]()['addKernelGroupListener'](new _0x104b49[(_0x4d6dd9(0x221))](_0x343f03));}case _0x21cf9f[_0x4d6dd9(0x1f0)]:{return this[_0x4d6dd9(0x218)][_0x4d6dd9(0x1b9)]()['addKernelMsgListener'](new _0x104b49[(_0x4d6dd9(0x1a1))](_0x343f03));}case _0x21cf9f['AyKIV']:{return this[_0x4d6dd9(0x218)][_0x4d6dd9(0x1e3)]()[_0x4d6dd9(0x1f4)](new _0x104b49[(_0x4d6dd9(0x1c1))](_0x343f03));}default:return-0x1;}}[_0x5663c3(0x208)](_0x5c6fa5){const _0x4eb110=_0x5663c3;this[_0x4eb110(0x1e7)][_0x4eb110(0x1c3)](_0x5c6fa5);}async['quickLogin'](_0x5497ca){const _0x6a790d=_0x5663c3,_0x4541de={'wfdlt':function(_0xcdd77c,_0x5bbb2b){return _0xcdd77c!==_0x5bbb2b;},'OyaBH':_0x6a790d(0x19e),'TtZDY':function(_0x15de69,_0x1e56e9){return _0x15de69(_0x1e56e9);},'ONcGd':_0x6a790d(0x21f)},_0x39ea17=await this[_0x6a790d(0x204)][_0x6a790d(0x1ae)]();if(_0x4541de[_0x6a790d(0x219)](_0x39ea17[_0x6a790d(0x1ee)],0x0))throw new Error(_0x4541de[_0x6a790d(0x21a)]);const _0x5d1918=_0x39ea17[_0x6a790d(0x1c4)][_0x6a790d(0x1ff)](_0x2a6e63=>_0x2a6e63[_0x6a790d(0x1da)]===_0x5497ca);if(!_0x5d1918||!_0x5d1918?.[_0x6a790d(0x19f)])throw new Error(_0x5497ca+'快速登录不可用');await _0x4541de[_0x6a790d(0x17e)](sleep,0x3e8);const _0x5f2c0c=await this[_0x6a790d(0x204)]['quickLoginWithUin'](_0x5497ca);if(!_0x5f2c0c['result'])throw new Error(_0x4541de['ONcGd']+_0x5f2c0c[_0x6a790d(0x212)][_0x6a790d(0x1d4)]);return _0x5f2c0c;}async[_0x5663c3(0x1ad)](_0x22edab){const _0x14a6b3=_0x5663c3,_0x438a36={'IFdwD':_0x14a6b3(0x1f6),'JlLSH':function(_0xef709,_0x1d9c59,_0x3a33f4,_0x11c593){return _0xef709(_0x1d9c59,_0x3a33f4,_0x11c593);}};return new Promise((_0x4ca904,_0x38f9a2)=>{const _0x8b78cc=_0x14a6b3;this[_0x8b78cc(0x1de)]['onQRCodeGetPicture']=_0x6b98a5=>{const _0x246f5f=_0x8b78cc,_0x6b4b4b=_0x6b98a5[_0x246f5f(0x188)][_0x246f5f(0x217)](_0x438a36[_0x246f5f(0x1e9)])[0x1],_0x5a84f6=Buffer[_0x246f5f(0x1a0)](_0x6b4b4b,_0x246f5f(0x1be));_0x438a36[_0x246f5f(0x18e)](_0x22edab,_0x6b98a5['qrcodeUrl'],_0x6b98a5[_0x246f5f(0x188)],_0x5a84f6);},this[_0x8b78cc(0x204)]['getQRCodePicture']();});}async['passwordLogin'](_0x2e6de0,_0x556953,_0xc1f2a7,_0x3f96e6,_0x27da38){const _0x5805e2=_0x5663c3,_0x37ef5e={'qzmYC':_0x5805e2(0x1c5),'hMDUT':function(_0x779439,_0x26d976){return _0x779439&&_0x26d976;},'VCTog':function(_0xc8a15a,_0x5d9f44){return _0xc8a15a||_0x5d9f44;},'IJJYv':'140022008','sLFul':'140022013'},_0x4d57a9=_0x56474a[_0x5805e2(0x1cd)]('md5')['update'](_0x556953)[_0x5805e2(0x1ec)](_0x37ef5e['qzmYC']),_0x2000b3={'uin':_0x2e6de0,'passwordMd5':_0x4d57a9,'step':_0x37ef5e[_0x5805e2(0x22f)](_0xc1f2a7,_0x3f96e6)&&_0x27da38?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x37ef5e[_0x5805e2(0x201)](_0xc1f2a7,''),'proofWaterRand':_0x3f96e6||'','proofWaterSid':_0x27da38||''};await this[_0x5805e2(0x204)][_0x5805e2(0x1ae)](),await sleep(0x3e8);const _0x5c260e=await this[_0x5805e2(0x204)][_0x5805e2(0x184)](_0x2000b3);switch(_0x5c260e[_0x5805e2(0x1ee)]){case'0':{break;}case _0x37ef5e[_0x5805e2(0x1d7)]:{break;}case'4':case _0x37ef5e[_0x5805e2(0x20f)]:default:}}async[_0x5663c3(0x1f5)](){const _0x814f2d=_0x5663c3,_0x154d8d=await this['loginService'][_0x814f2d(0x1ae)]();return _0x154d8d;}}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 e9e9483b..72125f78 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x2c89b7,_0x3eb487){const _0x7f0b7a=_0x55e4,_0x42b755=_0x2c89b7();while(!![]){try{const _0x38e637=parseInt(_0x7f0b7a(0xb0))/0x1*(parseInt(_0x7f0b7a(0xbf))/0x2)+parseInt(_0x7f0b7a(0xae))/0x3*(parseInt(_0x7f0b7a(0xa8))/0x4)+parseInt(_0x7f0b7a(0xb2))/0x5*(-parseInt(_0x7f0b7a(0xac))/0x6)+parseInt(_0x7f0b7a(0xb8))/0x7+parseInt(_0x7f0b7a(0xbe))/0x8*(parseInt(_0x7f0b7a(0xa6))/0x9)+-parseInt(_0x7f0b7a(0xb1))/0xa*(-parseInt(_0x7f0b7a(0xa5))/0xb)+-parseInt(_0x7f0b7a(0xb5))/0xc;if(_0x38e637===_0x3eb487)break;else _0x42b755['push'](_0x42b755['shift']());}catch(_0x411fd5){_0x42b755['push'](_0x42b755['shift']());}}}(_0x131a,0xca594));import{isNumeric}from'@/common/utils/helper';function _0x55e4(_0x4a108d,_0x28ecd6){const _0x131aa7=_0x131a();return _0x55e4=function(_0x55e494,_0x18f5fd){_0x55e494=_0x55e494-0xa5;let _0x4ffc38=_0x131aa7[_0x55e494];return _0x4ffc38;},_0x55e4(_0x4a108d,_0x28ecd6);}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(_0x127d8c){const _0x362de3=_0x55e4;groups[_0x362de3(0xbb)](_0x127d8c),groupMembers['delete'](_0x127d8c);}function _0x131a(){const _0x56afe1=['4353672UitAkh','xUssM','78378kVCNoE','find','5220WQjXoj','6316840wILZSw','5bthgUh','getGroups','uin','33645492vqRHqy','cCJHL','groupCode','5470773epaxOE','from','length','delete','getGroupMembers','values','104qpRgqY','256wFcbyl','11CxUGGJ','726174BDRpxR','toString','188MWTiav','YsCpW','forEach','get'];_0x131a=function(){return _0x56afe1;};return _0x131a();}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(_0x12d3cc){const _0x137c86=_0x55e4,_0x201c6b={'cCJHL':function(_0x137ec4,_0x6b7cc0){return _0x137ec4(_0x6b7cc0);}};_0x12d3cc=_0x12d3cc[_0x137c86(0xa7)]();if(_0x201c6b[_0x137c86(0xb6)](isNumeric,_0x12d3cc)){const _0x140f9b=Array[_0x137c86(0xb9)](friends[_0x137c86(0xbd)]());return _0x140f9b[_0x137c86(0xaf)](_0x48e3fe=>_0x48e3fe[_0x137c86(0xb4)]===_0x12d3cc);}else return friends[_0x137c86(0xab)](_0x12d3cc);}export async function getGroup(_0x423d67){const _0x2d291a=_0x55e4;let _0xcf2e45=groups[_0x2d291a(0xab)](_0x423d67[_0x2d291a(0xa7)]());if(!_0xcf2e45)try{const _0x59ff46=await NTQQGroupApi[_0x2d291a(0xb3)]();_0x59ff46[_0x2d291a(0xba)]&&_0x59ff46[_0x2d291a(0xaa)](_0x2fd41b=>{const _0x4bb7c9=_0x2d291a;groups['set'](_0x2fd41b[_0x4bb7c9(0xb7)],_0x2fd41b);});}catch(_0x221cb6){return undefined;}return _0xcf2e45=groups[_0x2d291a(0xab)](_0x423d67[_0x2d291a(0xa7)]()),_0xcf2e45;}export async function getGroupMember(_0x11c277,_0x41af0a){const _0xe59550=_0x55e4,_0x2b9cc1={'YsCpW':function(_0x5b092e,_0x1d974c){return _0x5b092e(_0x1d974c);},'xUssM':function(_0x1cfb1f){return _0x1cfb1f();}};_0x11c277=_0x11c277[_0xe59550(0xa7)](),_0x41af0a=_0x41af0a[_0xe59550(0xa7)]();let _0x339d52=groupMembers['get'](_0x11c277);if(!_0x339d52)try{_0x339d52=await NTQQGroupApi[_0xe59550(0xbc)](_0x11c277),groupMembers['set'](_0x11c277,_0x339d52);}catch(_0x37da94){return null;}const _0x303ffc=()=>{const _0x315134=_0xe59550;let _0x372513=undefined;return _0x2b9cc1[_0x315134(0xa9)](isNumeric,_0x41af0a)?_0x372513=Array[_0x315134(0xb9)](_0x339d52['values']())[_0x315134(0xaf)](_0x3c9b36=>_0x3c9b36['uin']===_0x41af0a):_0x372513=_0x339d52[_0x315134(0xab)](_0x41af0a),_0x372513;};let _0x460e4a=_0x303ffc();return!_0x460e4a&&(_0x339d52=await NTQQGroupApi['getGroupMembers'](_0x11c277),_0x460e4a=_0x2b9cc1[_0xe59550(0xad)](_0x303ffc)),_0x460e4a;}export const uid2UinMap={};export function getUidByUin(_0x4295ea){const _0x344b34={'faUgK':function(_0x228fcb,_0xd7f571){return _0x228fcb===_0xd7f571;}};for(const _0x1bcaab in uid2UinMap){if(_0x344b34['faUgK'](uid2UinMap[_0x1bcaab],_0x4295ea))return _0x1bcaab;}}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 +const _0x561b1e=_0x19d2;function _0x5786(){const _0x489834=['from','find','get','values','1557cmjHXv','326944HiInCs','2335476oLkzta','9340965ZjAOqL','NapCat未能正常启动,请检查日志查看错误','forEach','42AeObdy','delete','89576aUGkiN','set','vLnfG','groupCode','NvisB','WuDWz','8293YbscuB','toString','5251085nmPVYn','uin','8327ydUUrB','length','224IDxJuZ','8620QpPKtA'];_0x5786=function(){return _0x489834;};return _0x5786();}(function(_0x2cea5b,_0x5435b7){const _0x5ccfcd=_0x19d2,_0x442fb3=_0x2cea5b();while(!![]){try{const _0x519bc4=-parseInt(_0x5ccfcd(0xac))/0x1*(-parseInt(_0x5ccfcd(0x98))/0x2)+parseInt(_0x5ccfcd(0xa4))/0x3*(parseInt(_0x5ccfcd(0x9f))/0x4)+parseInt(_0x5ccfcd(0xa1))/0x5+parseInt(_0x5ccfcd(0xa0))/0x6+-parseInt(_0x5ccfcd(0x94))/0x7+parseInt(_0x5ccfcd(0xa6))/0x8*(-parseInt(_0x5ccfcd(0x9e))/0x9)+parseInt(_0x5ccfcd(0x99))/0xa*(-parseInt(_0x5ccfcd(0x96))/0xb);if(_0x519bc4===_0x5435b7)break;else _0x442fb3['push'](_0x442fb3['shift']());}catch(_0x35f6ea){_0x442fb3['push'](_0x442fb3['shift']());}}}(_0x5786,0xf1e45));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x40d3fb){const _0x504f58=_0x19d2;groups[_0x504f58(0xa5)](_0x40d3fb),groupMembers[_0x504f58(0xa5)](_0x40d3fb);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};function _0x19d2(_0x366433,_0x3d2af2){const _0x5786bc=_0x5786();return _0x19d2=function(_0x19d2a8,_0x2f03e6){_0x19d2a8=_0x19d2a8-0x93;let _0x8aad7=_0x5786bc[_0x19d2a8];return _0x8aad7;},_0x19d2(_0x366433,_0x3d2af2);}export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x561b1e(0xa2)};export async function getFriend(_0x447ef0){const _0x65681b=_0x561b1e,_0x1a8b34={'NvisB':function(_0x655d89,_0x1dfbc7){return _0x655d89(_0x1dfbc7);}};_0x447ef0=_0x447ef0['toString']();if(_0x1a8b34[_0x65681b(0xaa)](isNumeric,_0x447ef0)){const _0x26792d=Array[_0x65681b(0x9a)](friends['values']());return _0x26792d[_0x65681b(0x9b)](_0x910c14=>_0x910c14[_0x65681b(0x95)]===_0x447ef0);}else return friends[_0x65681b(0x9c)](_0x447ef0);}export async function getGroup(_0x5d4cad){const _0x1a9732=_0x561b1e;let _0xa7840a=groups['get'](_0x5d4cad[_0x1a9732(0x93)]());if(!_0xa7840a)try{const _0x547d01=await NTQQGroupApi['getGroups']();_0x547d01[_0x1a9732(0x97)]&&_0x547d01[_0x1a9732(0xa3)](_0x469a98=>{const _0x116d0e=_0x1a9732;groups[_0x116d0e(0xa7)](_0x469a98[_0x116d0e(0xa9)],_0x469a98);});}catch(_0x3b88e9){return undefined;}return _0xa7840a=groups[_0x1a9732(0x9c)](_0x5d4cad[_0x1a9732(0x93)]()),_0xa7840a;}export async function getGroupMember(_0x958a21,_0x5c9f28){const _0x4763df=_0x561b1e,_0x546dc2={'vLnfG':function(_0x5996fa,_0x121bc3){return _0x5996fa(_0x121bc3);},'ZNkdc':function(_0x1b6087){return _0x1b6087();}};_0x958a21=_0x958a21['toString'](),_0x5c9f28=_0x5c9f28[_0x4763df(0x93)]();let _0x45ec0c=groupMembers['get'](_0x958a21);if(!_0x45ec0c)try{_0x45ec0c=await NTQQGroupApi['getGroupMembers'](_0x958a21),groupMembers[_0x4763df(0xa7)](_0x958a21,_0x45ec0c);}catch(_0x19972c){return null;}const _0x538033=()=>{const _0x1401a2=_0x4763df;let _0x5e1e33=undefined;return _0x546dc2[_0x1401a2(0xa8)](isNumeric,_0x5c9f28)?_0x5e1e33=Array[_0x1401a2(0x9a)](_0x45ec0c[_0x1401a2(0x9d)]())[_0x1401a2(0x9b)](_0x19593d=>_0x19593d[_0x1401a2(0x95)]===_0x5c9f28):_0x5e1e33=_0x45ec0c[_0x1401a2(0x9c)](_0x5c9f28),_0x5e1e33;};let _0x4cbbe7=_0x538033();return!_0x4cbbe7&&(_0x45ec0c=await NTQQGroupApi['getGroupMembers'](_0x958a21),_0x4cbbe7=_0x546dc2['ZNkdc'](_0x538033)),_0x4cbbe7;}export const uid2UinMap={};export function getUidByUin(_0x5c668b){const _0x2ab4d9=_0x561b1e,_0xa000da={'WuDWz':function(_0x6771d1,_0x73bd53){return _0x6771d1===_0x73bd53;}};for(const _0x1799b0 in uid2UinMap){if(_0xa000da[_0x2ab4d9(0xab)](uid2UinMap[_0x1799b0],_0x5c668b))return _0x1799b0;}}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 437bf7c9..54360c1f 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0xe31e09,_0x31d73d){var _0x46e9fe=_0x105d,_0x8471f7=_0xe31e09();while(!![]){try{var _0x122e9c=parseInt(_0x46e9fe(0x176))/0x1+-parseInt(_0x46e9fe(0x17b))/0x2*(-parseInt(_0x46e9fe(0x17e))/0x3)+parseInt(_0x46e9fe(0x186))/0x4+parseInt(_0x46e9fe(0x175))/0x5*(parseInt(_0x46e9fe(0x177))/0x6)+parseInt(_0x46e9fe(0x178))/0x7*(-parseInt(_0x46e9fe(0x173))/0x8)+parseInt(_0x46e9fe(0x185))/0x9+-parseInt(_0x46e9fe(0x174))/0xa;if(_0x122e9c===_0x31d73d)break;else _0x8471f7['push'](_0x8471f7['shift']());}catch(_0x18b776){_0x8471f7['push'](_0x8471f7['shift']());}}}(_0x58a7,0xe55c8));;export var CacheFileType;(function(_0x109853){var _0x151743=_0x105d,_0x35a7b2={'xgymw':_0x151743(0x17d),'CcEeN':_0x151743(0x17a),'ibKHH':_0x151743(0x180),'ROLCs':_0x151743(0x187),'biikU':_0x151743(0x17c)},_0xb052d4='0|4|1|2|3'[_0x151743(0x184)]('|'),_0x37d06c=0x0;while(!![]){switch(_0xb052d4[_0x37d06c++]){case'0':_0x109853[_0x109853[_0x35a7b2[_0x151743(0x182)]]=0x0]=_0x35a7b2[_0x151743(0x182)];continue;case'1':_0x109853[_0x109853[_0x35a7b2[_0x151743(0x181)]]=0x2]=_0x35a7b2[_0x151743(0x181)];continue;case'2':_0x109853[_0x109853[_0x35a7b2['ibKHH']]=0x3]=_0x35a7b2[_0x151743(0x179)];continue;case'3':_0x109853[_0x109853[_0x35a7b2[_0x151743(0x183)]]=0x4]=_0x35a7b2[_0x151743(0x183)];continue;case'4':_0x109853[_0x109853[_0x35a7b2[_0x151743(0x17f)]]=0x1]=_0x35a7b2[_0x151743(0x17f)];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x105d(_0x3219c3,_0x41f855){var _0x58a774=_0x58a7();return _0x105d=function(_0x105df8,_0x1b86a6){_0x105df8=_0x105df8-0x173;var _0x103c40=_0x58a774[_0x105df8];return _0x103c40;},_0x105d(_0x3219c3,_0x41f855);}function _0x58a7(){var _0x5ca13a=['130CwHliO','729415wpfDJJ','94902UuPoKS','773731eRENfC','ibKHH','AUDIO','388wdSgtL','VIDEO','IMAGE','18801cBQryx','biikU','DOCUMENT','CcEeN','xgymw','ROLCs','split','1042911IJIyKF','6181532lYrDUE','OTHER','8pUihrg','29677200JLiBon'];_0x58a7=function(){return _0x5ca13a;};return _0x58a7();} \ No newline at end of file +(function(_0x3e1a0f,_0x1b567f){var _0x5d5053=_0x42a3,_0x517b92=_0x3e1a0f();while(!![]){try{var _0x50cb68=-parseInt(_0x5d5053(0x1c4))/0x1+parseInt(_0x5d5053(0x1c1))/0x2*(parseInt(_0x5d5053(0x1c9))/0x3)+-parseInt(_0x5d5053(0x1c7))/0x4+-parseInt(_0x5d5053(0x1c3))/0x5*(-parseInt(_0x5d5053(0x1cf))/0x6)+-parseInt(_0x5d5053(0x1cd))/0x7+-parseInt(_0x5d5053(0x1c5))/0x8*(parseInt(_0x5d5053(0x1ca))/0x9)+parseInt(_0x5d5053(0x1cc))/0xa;if(_0x50cb68===_0x1b567f)break;else _0x517b92['push'](_0x517b92['shift']());}catch(_0x23b68f){_0x517b92['push'](_0x517b92['shift']());}}}(_0x78aa,0x189de));;function _0x42a3(_0x1cf8f6,_0x648a48){var _0x78aa9c=_0x78aa();return _0x42a3=function(_0x42a3f2,_0x3eea2b){_0x42a3f2=_0x42a3f2-0x1c1;var _0x2e5cfa=_0x78aa9c[_0x42a3f2];return _0x2e5cfa;},_0x42a3(_0x1cf8f6,_0x648a48);}export var CacheFileType;function _0x78aa(){var _0x54db64=['4380EVElbb','naNRt','35795pWdIfR','112025chGuIt','6152qgoxfp','AUDIO','694380EMIxyA','OTHER','42AgMtGg','639EtmABB','VIDEO','4826570xAWBfU','555989vigWSg','ztYzc','6JqINkb','DOCUMENT','vOEgK','xCZLF'];_0x78aa=function(){return _0x54db64;};return _0x78aa();}(function(_0x1129e6){var _0x56a10b=_0x42a3,_0x132272={'vOEgK':'IMAGE','ztYzc':'VIDEO','xCZLF':_0x56a10b(0x1c6),'naNRt':_0x56a10b(0x1d0),'CuppO':_0x56a10b(0x1c8)};_0x1129e6[_0x1129e6[_0x132272['vOEgK']]=0x0]=_0x132272[_0x56a10b(0x1d1)],_0x1129e6[_0x1129e6[_0x56a10b(0x1cb)]=0x1]=_0x132272[_0x56a10b(0x1ce)],_0x1129e6[_0x1129e6[_0x132272[_0x56a10b(0x1d2)]]=0x2]=_0x132272[_0x56a10b(0x1d2)],_0x1129e6[_0x1129e6[_0x132272[_0x56a10b(0x1c2)]]=0x3]=_0x132272['naNRt'],_0x1129e6[_0x1129e6[_0x132272['CuppO']]=0x4]=_0x132272['CuppO'];}(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 a0618be9..2ff57203 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x3d1956=_0x1a19;(function(_0x25b58b,_0x2efa65){const _0x4d369d=_0x1a19,_0x378faf=_0x25b58b();while(!![]){try{const _0x507112=parseInt(_0x4d369d(0x148))/0x1+parseInt(_0x4d369d(0x138))/0x2*(parseInt(_0x4d369d(0x134))/0x3)+-parseInt(_0x4d369d(0x14f))/0x4*(-parseInt(_0x4d369d(0x130))/0x5)+-parseInt(_0x4d369d(0x15a))/0x6*(-parseInt(_0x4d369d(0x168))/0x7)+parseInt(_0x4d369d(0x140))/0x8*(parseInt(_0x4d369d(0x154))/0x9)+-parseInt(_0x4d369d(0x170))/0xa*(parseInt(_0x4d369d(0x18a))/0xb)+-parseInt(_0x4d369d(0x13b))/0xc;if(_0x507112===_0x2efa65)break;else _0x378faf['push'](_0x378faf['shift']());}catch(_0x22de1b){_0x378faf['push'](_0x378faf['shift']());}}}(_0x1a49,0x440f8));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1ad53c}from'node:fs';function _0x1a19(_0x51b966,_0x29f4f9){const _0x1a49e1=_0x1a49();return _0x1a19=function(_0x1a19b3,_0x12216f){_0x1a19b3=_0x1a19b3-0x130;let _0x5c5c2b=_0x1a49e1[_0x1a19b3];return _0x5c5c2b;},_0x1a19(_0x51b966,_0x29f4f9);}import _0x50ad4e 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 _0x1a49(){const _0x1b34b3=['AhezH','Thumb','20JWtZiZ','gbbOx','ark','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','3CpSMbd','Dwbxx','file','set','78652jbECdk','QzRvM','pOsag','6162000xDQuDJ','join','AniStickerType','SwaNL','EMaxU','24wGEQvq','图片信息','MARKDOWN','AniStickerId','get','sep','PTT','string','523798GGeKni','PIC','stat','rGJeB','dPAnE','YuXUX','ARK','40420exzcdE','getImageSize','error','miniapp','uploadFile','590166bVYKTB','ZHKvA','PiDkF','FACE','xtFbU','catch','1682028zkDoTK','screenshots','[包剪锤]','yxCjk','TEXT','文件异常,大小为0','AniStickerPackId','ArQzi','dice','height','copyFile','获取视频信息失败','KUKcI','https://www.bilibili.com/','7zQZjLh','Apyky','[商城表情]','MFACE','VIDEO','unlink','markdown','emoji','10Tqnnce','rps','width','face','视频信息','writeFile','Ori','video','toString','HaeXB','dirname','ptt','获取视频封面失败,使用默认封面','HjsEm','Bot\x20Test','yEqUq','jwizY','gif','语音转换失败,\x20请检查语音文件是否正常','then','vQzFf','TiCHJ','sysface','[骰子]','zgXhm','reply','3171608pBgRal','pic','MkkKo'];_0x1a49=function(){return _0x1b34b3;};return _0x1a49();}import _0x1e0a9f from'./face_config.json';import*as _0x5b2bb2 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x1a35c5){const _0x830a9f=_0x1a19;return{'elementType':ElementType[_0x830a9f(0x15e)],'elementId':'','textElement':{'content':_0x1a35c5,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4390cf,_0x311a98,_0x41cab4,_0x48c274){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x48c274,'atType':_0x41cab4,'atUid':_0x4390cf,'atTinyId':'','atNtUid':_0x311a98}};}static[_0x3d1956(0x189)](_0x517ac1,_0x228524,_0x472106,_0x4ff3d0){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x517ac1,'replayMsgId':_0x228524,'senderUin':_0x472106,'senderUinStr':_0x4ff3d0}};}static async[_0x3d1956(0x18b)](_0x98a45c,_0x5908af='',_0x240198=0x0){const _0x4700ef=_0x3d1956,_0x5d2297={'Qchut':_0x4700ef(0x15f),'HaeXB':function(_0x42b93c,_0x2bb113){return _0x42b93c(_0x2bb113);},'yxCjk':function(_0x16c364,_0x5196a3,_0x49e5f0){return _0x16c364(_0x5196a3,_0x49e5f0);}},{md5:_0x5cc89b,fileName:_0x1d6fc4,path:_0x57cccc,fileSize:_0x434657}=await NTQQFileApi[_0x4700ef(0x153)](_0x98a45c,ElementType[_0x4700ef(0x149)],_0x240198);if(_0x434657===0x0)throw _0x5d2297['Qchut'];const _0x1bef19=await NTQQFileApi[_0x4700ef(0x150)](_0x98a45c),_0x11308f={'md5HexStr':_0x5cc89b,'fileSize':_0x434657[_0x4700ef(0x178)](),'picWidth':_0x1bef19?.[_0x4700ef(0x172)],'picHeight':_0x1bef19?.[_0x4700ef(0x163)],'fileName':_0x1d6fc4,'sourcePath':_0x57cccc,'original':!![],'picType':_0x5d2297[_0x4700ef(0x179)](isGIF,_0x98a45c)?PicType[_0x4700ef(0x181)]:PicType['jpg'],'picSubType':_0x240198,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5908af};return _0x5d2297[_0x4700ef(0x15d)](logDebug,_0x4700ef(0x141),_0x11308f),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x11308f};}static async[_0x3d1956(0x136)](_0x432331,_0x18dbe0=''){const _0x107617=_0x3d1956,_0x580840={'SwaNL':function(_0x1a8d0d,_0x468219){return _0x1a8d0d===_0x468219;},'TiCHJ':'文件异常,大小为0','ArQzi':function(_0x319876,_0x378661){return _0x319876||_0x378661;}},{md5:_0x160cb5,fileName:_0x5f4097,path:_0x432508,fileSize:_0x5fd165}=await NTQQFileApi['uploadFile'](_0x432331,ElementType['FILE']);if(_0x580840[_0x107617(0x13e)](_0x5fd165,0x0))throw _0x580840[_0x107617(0x185)];const _0x5a26ff={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x580840[_0x107617(0x161)](_0x18dbe0,_0x5f4097),'filePath':_0x432508,'fileSize':_0x5fd165['toString']()}};return _0x5a26ff;}static async[_0x3d1956(0x177)](_0x3bd581,_0x131cb3='',_0x2a216a=''){const _0x3c7a61=_0x3d1956,_0x25a4a8={'QzRvM':function(_0x5a4220,_0x509dc0,_0x4234e5){return _0x5a4220(_0x509dc0,_0x4234e5);},'UtBak':_0x3c7a61(0x17c),'zgXhm':function(_0x2c63b9,_0x1f0047){return _0x2c63b9(_0x1f0047);},'MkkKo':'end','EMaxU':function(_0x2550c9,_0x497bec){return _0x2550c9+_0x497bec;},'khNPt':function(_0x515884,_0x34933b){return _0x515884===_0x34933b;},'AhezH':_0x3c7a61(0x174),'Dwbxx':_0x3c7a61(0x165),'YuXUX':function(_0x3d260f,_0x22fef8){return _0x3d260f(_0x22fef8);},'AYhJy':function(_0x1e4f76,_0x192ee9){return _0x1e4f76||_0x192ee9;}},{fileName:_0x334a80,path:_0x3dc9a2,fileSize:_0x3b1e79,md5:_0x2f48b3}=await NTQQFileApi[_0x3c7a61(0x153)](_0x3bd581,ElementType[_0x3c7a61(0x16c)]);if(_0x25a4a8['khNPt'](_0x3b1e79,0x0))throw _0x3c7a61(0x15f);let _0x15a899=_0x3dc9a2['replace'](_0x5b2bb2['sep']+_0x3c7a61(0x176)+_0x5b2bb2[_0x3c7a61(0x145)],_0x5b2bb2[_0x3c7a61(0x145)]+_0x3c7a61(0x18e)+_0x5b2bb2[_0x3c7a61(0x145)]);_0x15a899=_0x5b2bb2[_0x3c7a61(0x17a)](_0x15a899);let _0x2e9fc3={'width':0x780,'height':0x438,'time':0xf,'format':'mp4','size':_0x3b1e79,'filePath':_0x3bd581};try{_0x2e9fc3=await getVideoInfo(_0x3dc9a2),_0x25a4a8[_0x3c7a61(0x139)](logDebug,_0x25a4a8[_0x3c7a61(0x18d)],_0x2e9fc3);}catch(_0x2acb61){_0x25a4a8['QzRvM'](logError,_0x25a4a8[_0x3c7a61(0x135)],_0x2acb61);}const _0x4f0e62=new Promise((_0x1ecc78,_0x132c49)=>{const _0x936de2=_0x3c7a61,_0x36ff69={'ZHKvA':function(_0x57aaa9,_0x34b518){return _0x57aaa9(_0x34b518);}},_0x1999ec=_0x2f48b3+'_0.png',_0x438e64=_0x5b2bb2[_0x936de2(0x13c)](_0x15a899,_0x1999ec);_0x25a4a8[_0x936de2(0x188)](_0x50ad4e,_0x3bd581)['on'](_0x25a4a8[_0x936de2(0x18c)],()=>{})['on'](_0x936de2(0x151),_0x3c08f3=>{const _0x324295=_0x936de2,_0x5e1269={'RrDEa':function(_0x44969b,_0x2b7e65){return _0x44969b(_0x2b7e65);}};_0x25a4a8[_0x324295(0x139)](logDebug,_0x25a4a8['UtBak'],_0x3c08f3),_0x2a216a?_0x1ad53c[_0x324295(0x164)](_0x2a216a,_0x438e64)[_0x324295(0x183)](()=>{_0x5e1269['RrDEa'](_0x1ecc78,_0x438e64);})[_0x324295(0x159)](_0x132c49):_0x1ad53c[_0x324295(0x175)](_0x438e64,defaultVideoThumb)[_0x324295(0x183)](()=>{const _0x3aca3e=_0x324295;_0x36ff69[_0x3aca3e(0x155)](_0x1ecc78,_0x438e64);})[_0x324295(0x159)](_0x132c49);})[_0x936de2(0x15b)]({'timestamps':[0x0],'filename':_0x1999ec,'folder':_0x15a899,'size':_0x25a4a8[_0x936de2(0x13f)](_0x25a4a8[_0x936de2(0x13f)](_0x2e9fc3[_0x936de2(0x172)],'x'),_0x2e9fc3[_0x936de2(0x163)])})['on'](_0x25a4a8[_0x936de2(0x18c)],()=>{_0x1ecc78(_0x438e64);});}),_0x41fb0e=new Map(),_0x213455=await _0x4f0e62,_0x285fb0=(await _0x1ad53c[_0x3c7a61(0x14a)](_0x213455))['size'];_0x41fb0e[_0x3c7a61(0x137)](0x0,_0x213455);const _0x52cb08=await _0x25a4a8[_0x3c7a61(0x14d)](calculateFileMD5,_0x213455),_0x528e3d={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x25a4a8['AYhJy'](_0x131cb3,_0x334a80),'filePath':_0x3dc9a2,'videoMd5':_0x2f48b3,'thumbMd5':_0x52cb08,'fileTime':_0x2e9fc3['time'],'thumbPath':_0x41fb0e,'thumbSize':_0x285fb0,'thumbWidth':_0x2e9fc3[_0x3c7a61(0x172)],'thumbHeight':_0x2e9fc3[_0x3c7a61(0x163)],'fileSize':_0x25a4a8[_0x3c7a61(0x13f)]('',_0x3b1e79)}};return _0x528e3d;}static async[_0x3d1956(0x17b)](_0x362522){const _0x2cce00=_0x3d1956,_0x22f054={'PiDkF':function(_0x3d34dc,_0x3ef419){return _0x3d34dc(_0x3ef419);},'vQzFf':function(_0xc7feed,_0x3e7ff0){return _0xc7feed===_0x3e7ff0;},'cJeiS':_0x2cce00(0x15f),'rGJeB':function(_0x28cfc7,_0x4589fa){return _0x28cfc7||_0x4589fa;}},{converted:_0x17d6d9,path:_0x2f0495,duration:_0x190683}=await _0x22f054[_0x2cce00(0x156)](encodeSilk,_0x362522);if(!_0x2f0495)throw _0x2cce00(0x182);const {md5:_0x561c77,fileName:_0x2b6c30,path:_0xc7d84f,fileSize:_0x520da1}=await NTQQFileApi[_0x2cce00(0x153)](_0x2f0495,ElementType[_0x2cce00(0x146)]);if(_0x22f054[_0x2cce00(0x184)](_0x520da1,0x0))throw _0x22f054['cJeiS'];return _0x17d6d9&&_0x1ad53c[_0x2cce00(0x16d)](_0x2f0495)['then'](),{'elementType':ElementType[_0x2cce00(0x146)],'elementId':'','pttElement':{'fileName':_0x2b6c30,'filePath':_0xc7d84f,'md5HexStr':_0x561c77,'fileSize':_0x520da1,'duration':_0x22f054[_0x2cce00(0x14b)](_0x190683,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[_0x3d1956(0x173)](_0x4b6004){const _0xdef949=_0x3d1956,_0x4fa47f={'gbbOx':function(_0x46dd5c,_0x1ec455){return _0x46dd5c(_0x1ec455);},'xtFbU':function(_0x1ace36,_0x5b6e57){return _0x1ace36>=_0x5b6e57;}},_0x3063dc=_0x1e0a9f[_0xdef949(0x186)],_0x3667ea=_0x1e0a9f[_0xdef949(0x16f)],_0x197d43=_0x3063dc['find'](_0x1c1894=>_0x1c1894['QSid']===_0x4b6004[_0xdef949(0x178)]());_0x4b6004=_0x4fa47f[_0xdef949(0x131)](parseInt,_0x4b6004[_0xdef949(0x178)]());let _0x5b8fa2=0x1;return _0x4fa47f[_0xdef949(0x158)](_0x4b6004,0xde)&&(_0x5b8fa2=0x2),_0x197d43[_0xdef949(0x13d)]&&(_0x5b8fa2=0x3),{'elementType':ElementType[_0xdef949(0x157)],'elementId':'','faceElement':{'faceIndex':_0x4b6004,'faceType':_0x5b8fa2,'faceText':_0x197d43['QDes'],'stickerId':_0x197d43[_0xdef949(0x143)],'stickerType':_0x197d43[_0xdef949(0x13d)],'packId':_0x197d43[_0xdef949(0x160)],'sourceType':0x1}};}static['mface'](_0x19d61e,_0xb28209,_0xc4a14c,_0x13c3aa){const _0x4158fd=_0x3d1956,_0x54afcb={'Apyky':_0x4158fd(0x16a)};return{'elementType':ElementType[_0x4158fd(0x16b)],'marketFaceElement':{'emojiPackageId':_0x19d61e,'emojiId':_0xb28209,'key':_0xc4a14c,'faceName':_0x13c3aa||mFaceCache[_0x4158fd(0x144)](_0xb28209)||_0x54afcb[_0x4158fd(0x169)]}};}static[_0x3d1956(0x162)](_0x14d819){const _0x447383=_0x3d1956;return{'elementType':ElementType[_0x447383(0x157)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x447383(0x162)],'faceType':FaceType[_0x447383(0x162)],'faceText':_0x447383(0x187),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3d1956(0x171)](_0x3371d9){const _0x5c1937=_0x3d1956,_0x550a1d={'pOsag':_0x5c1937(0x15c)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x550a1d[_0x5c1937(0x13a)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3d1956(0x132)](_0x2d4261){const _0x52db3f=_0x3d1956,_0x53566a={'HjsEm':_0x52db3f(0x147)};return typeof _0x2d4261!==_0x53566a[_0x52db3f(0x17d)]&&(_0x2d4261=JSON['stringify'](_0x2d4261)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x2d4261,'linkInfo':null,'subElementType':null}};}static[_0x3d1956(0x16e)](_0x149698){const _0x12e96d=_0x3d1956;return{'elementType':ElementType[_0x12e96d(0x142)],'elementId':'','markdownElement':{'content':_0x149698}};}static async[_0x3d1956(0x152)](){const _0x694dda=_0x3d1956,_0x467e10={'yEqUq':_0x694dda(0x17e),'jwizY':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','KUKcI':_0x694dda(0x167),'dPAnE':_0x694dda(0x133)};let _0x207470=await SignMiniApp({'prompt':_0x467e10[_0x694dda(0x17f)],'title':_0x467e10['yEqUq'],'preview':_0x467e10[_0x694dda(0x180)],'jumpUrl':_0x467e10[_0x694dda(0x166)],'tag':_0x467e10['yEqUq'],'tagIcon':_0x467e10[_0x694dda(0x14c)],'source':_0x467e10[_0x694dda(0x17f)],'sourcelogo':_0x694dda(0x133)});return{'elementType':ElementType[_0x694dda(0x14e)],'elementId':'','arkElement':{'bytesData':_0x207470,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x34f78a=_0x5382;(function(_0x1eeae4,_0x11dc6b){const _0x98b8e6=_0x5382,_0x2fcb87=_0x1eeae4();while(!![]){try{const _0x9fec81=-parseInt(_0x98b8e6(0x13e))/0x1*(parseInt(_0x98b8e6(0x146))/0x2)+parseInt(_0x98b8e6(0x143))/0x3*(parseInt(_0x98b8e6(0x186))/0x4)+-parseInt(_0x98b8e6(0x140))/0x5*(-parseInt(_0x98b8e6(0x14d))/0x6)+-parseInt(_0x98b8e6(0x149))/0x7*(parseInt(_0x98b8e6(0x161))/0x8)+parseInt(_0x98b8e6(0x150))/0x9+-parseInt(_0x98b8e6(0x17c))/0xa+parseInt(_0x98b8e6(0x17b))/0xb;if(_0x9fec81===_0x11dc6b)break;else _0x2fcb87['push'](_0x2fcb87['shift']());}catch(_0x4ee840){_0x2fcb87['push'](_0x2fcb87['shift']());}}}(_0x52bf,0xb22bb));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x4af065}from'node:fs';import _0x3917c9 from'fluent-ffmpeg';function _0x52bf(){const _0x5c11a2=['VIDEO','qFWeI','AniStickerPackId','FILE','4fWUkSf','QSid','PTT','yBpVl','mface','uploadFile','https://www.bilibili.com/','ark','end','FACE','MARKDOWN','markdown','then','time','AniStickerType','toString','[包剪锤]','dirname','tjvQS','PUbEr','HOscU','1230079tSztbf','fegxT','25pGPqLw','jiWif','Bot\x20Test','2037495rhlbJE','rps','video','2UtoYjd','OqpQG','MwWTu','8653309VxoOxk','Thumb','XfrVC','string','651666jbXVKg','获取视频信息失败','reply','604206CyfSsp','sysface','mp4','catch','dice','writeFile','fQTkm','error','stringify','AeTNg','zjiaY','ptt','zcVGf','[骰子]','notAt','sep','file','8tbyWOu','screenshots','get','aoeZB','UuhDl','text','xudxV','jpg','MFACE','RPS','width','gvOBQ','ARK','文件异常,大小为0','stat','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','AniStickerId','unlink','getImageSize','FzeOL','REPLY','_0.png','PIC','[商城表情]','height','语音转换失败,\x20请检查语音文件是否正常','26358794gZUSjc','4895550SqiewB','gif','获取视频封面失败,使用默认封面','replace','JbcdN','xRfFr'];_0x52bf=function(){return _0x5c11a2;};return _0x52bf();}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 _0x5382(_0x6883f5,_0x40f5a1){const _0x52bfdf=_0x52bf();return _0x5382=function(_0x53821d,_0x298314){_0x53821d=_0x53821d-0x137;let _0x305765=_0x52bfdf[_0x53821d];return _0x305765;},_0x5382(_0x6883f5,_0x40f5a1);}import _0x1be45e from'./face_config.json';import*as _0x17c989 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x34f78a(0x166)](_0x28dfa6){const _0x55a657=_0x34f78a;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x28dfa6,'atType':AtType[_0x55a657(0x15e)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x35bb71,_0x245c70,_0x4dc219,_0x115d3b){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x115d3b,'atType':_0x4dc219,'atUid':_0x35bb71,'atTinyId':'','atNtUid':_0x245c70}};}static[_0x34f78a(0x14f)](_0x91bc82,_0xd00003,_0x2d3ac8,_0x353ea1){const _0x55e852=_0x34f78a;return{'elementType':ElementType[_0x55e852(0x175)],'elementId':'','replyElement':{'replayMsgSeq':_0x91bc82,'replayMsgId':_0xd00003,'senderUin':_0x2d3ac8,'senderUinStr':_0x353ea1}};}static async['pic'](_0x505fee,_0x4963a1='',_0x42ad8a=0x0){const _0x5c0ad8=_0x34f78a,_0x5baa8f={'fegxT':function(_0x47babc,_0x5442e0){return _0x47babc===_0x5442e0;},'GNmmQ':function(_0x2030c7,_0x51f02e){return _0x2030c7(_0x51f02e);}},{md5:_0x5e7b39,fileName:_0x3fa9a2,path:_0xb4295f,fileSize:_0x9f47f1}=await NTQQFileApi[_0x5c0ad8(0x18b)](_0x505fee,ElementType[_0x5c0ad8(0x177)],_0x42ad8a);if(_0x5baa8f[_0x5c0ad8(0x13f)](_0x9f47f1,0x0))throw _0x5c0ad8(0x16e);const _0x2b7c89=await NTQQFileApi[_0x5c0ad8(0x173)](_0x505fee),_0x4b9bb8={'md5HexStr':_0x5e7b39,'fileSize':_0x9f47f1[_0x5c0ad8(0x138)](),'picWidth':_0x2b7c89?.['width'],'picHeight':_0x2b7c89?.[_0x5c0ad8(0x179)],'fileName':_0x3fa9a2,'sourcePath':_0xb4295f,'original':!![],'picType':_0x5baa8f['GNmmQ'](isGIF,_0x505fee)?PicType[_0x5c0ad8(0x17d)]:PicType[_0x5c0ad8(0x168)],'picSubType':_0x42ad8a,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x4963a1};return{'elementType':ElementType[_0x5c0ad8(0x177)],'elementId':'','picElement':_0x4b9bb8};}static async[_0x34f78a(0x160)](_0x2b123a,_0x3a4444=''){const _0xcfa28f=_0x34f78a,_0x5aee44={'zjiaY':function(_0x9ee29b,_0x576955){return _0x9ee29b===_0x576955;},'HOscU':'文件异常,大小为0','WfUKt':function(_0x372ac4,_0xff9162){return _0x372ac4||_0xff9162;}},{md5:_0x5bf828,fileName:_0x456758,path:_0x53c8eb,fileSize:_0x865b5b}=await NTQQFileApi[_0xcfa28f(0x18b)](_0x2b123a,ElementType[_0xcfa28f(0x185)]);if(_0x5aee44[_0xcfa28f(0x15a)](_0x865b5b,0x0))throw _0x5aee44[_0xcfa28f(0x13d)];const _0x5ca9cb={'elementType':ElementType[_0xcfa28f(0x185)],'elementId':'','fileElement':{'fileName':_0x5aee44['WfUKt'](_0x3a4444,_0x456758),'filePath':_0x53c8eb,'fileSize':_0x865b5b[_0xcfa28f(0x138)]()}};return _0x5ca9cb;}static async[_0x34f78a(0x145)](_0x33a4c9,_0x283806='',_0x131e53=''){const _0x305721=_0x34f78a,_0x27dbc6={'qFWeI':function(_0x5061d2,_0xdbf57e,_0x53b718){return _0x5061d2(_0xdbf57e,_0x53b718);},'jiWif':_0x305721(0x17e),'yBpVl':function(_0xa12aef,_0x4160ac){return _0xa12aef(_0x4160ac);},'JDYgS':_0x305721(0x157),'XfrVC':function(_0x2a7b5d,_0x3c559e){return _0x2a7b5d+_0x3c559e;},'aoeZB':_0x305721(0x18e),'nKsyh':function(_0x552b7e,_0xb65561){return _0x552b7e(_0xb65561);},'zcVGf':_0x305721(0x14e),'astDn':function(_0x3d6b17,_0x272c50){return _0x3d6b17(_0x272c50);},'UuhDl':function(_0x317b24,_0x5e7479){return _0x317b24||_0x5e7479;},'tjvQS':function(_0x3656ab,_0x5e98a0){return _0x3656ab+_0x5e98a0;}},{fileName:_0x2fc2a2,path:_0x40deb9,fileSize:_0x2185c6,md5:_0x159494}=await NTQQFileApi[_0x305721(0x18b)](_0x33a4c9,ElementType[_0x305721(0x182)]);if(_0x2185c6===0x0)throw _0x305721(0x16e);let _0x26f65f=_0x40deb9[_0x305721(0x17f)](_0x17c989['sep']+'Ori'+_0x17c989[_0x305721(0x15f)],_0x17c989[_0x305721(0x15f)]+_0x305721(0x14a)+_0x17c989['sep']);_0x26f65f=_0x17c989[_0x305721(0x13a)](_0x26f65f);let _0x2f1aa4={'width':0x780,'height':0x438,'time':0xf,'format':_0x305721(0x152),'size':_0x2185c6,'filePath':_0x33a4c9};try{_0x2f1aa4=await _0x27dbc6['nKsyh'](getVideoInfo,_0x40deb9);}catch(_0x405230){logError(_0x27dbc6[_0x305721(0x15c)],_0x405230);}const _0x2ebb05=new Promise((_0xbf9477,_0x3c0096)=>{const _0x29ec22=_0x305721,_0x81dcc5={'SZDuZ':function(_0x1f89cd,_0xfc262c){const _0x5069fe=_0x5382;return _0x27dbc6[_0x5069fe(0x189)](_0x1f89cd,_0xfc262c);},'lebaJ':function(_0x4fe218,_0x3d64bb){return _0x4fe218(_0x3d64bb);}},_0xcd5f46=_0x159494+_0x29ec22(0x176),_0x4b2fa9=_0x17c989['join'](_0x26f65f,_0xcd5f46);_0x3917c9(_0x33a4c9)['on'](_0x29ec22(0x18e),()=>{})['on'](_0x27dbc6['JDYgS'],_0x2635b3=>{const _0x95d0db=_0x29ec22;_0x27dbc6[_0x95d0db(0x183)](logDebug,_0x27dbc6[_0x95d0db(0x141)],_0x2635b3),_0x131e53?_0x4af065['copyFile'](_0x131e53,_0x4b2fa9)[_0x95d0db(0x192)](()=>{_0xbf9477(_0x4b2fa9);})['catch'](_0x3c0096):_0x4af065[_0x95d0db(0x155)](_0x4b2fa9,defaultVideoThumb)[_0x95d0db(0x192)](()=>{_0x81dcc5['SZDuZ'](_0xbf9477,_0x4b2fa9);})[_0x95d0db(0x153)](_0x3c0096);})[_0x29ec22(0x162)]({'timestamps':[0x0],'filename':_0xcd5f46,'folder':_0x26f65f,'size':_0x27dbc6[_0x29ec22(0x14b)](_0x2f1aa4[_0x29ec22(0x16b)],'x')+_0x2f1aa4[_0x29ec22(0x179)]})['on'](_0x27dbc6[_0x29ec22(0x164)],()=>{_0x81dcc5['lebaJ'](_0xbf9477,_0x4b2fa9);});}),_0xa87d92=new Map(),_0x216f43=await _0x2ebb05,_0x3e5be5=(await _0x4af065[_0x305721(0x16f)](_0x216f43))['size'];_0xa87d92['set'](0x0,_0x216f43);const _0x3683e7=await _0x27dbc6['astDn'](calculateFileMD5,_0x216f43),_0x3b9ad3={'elementType':ElementType[_0x305721(0x182)],'elementId':'','videoElement':{'fileName':_0x27dbc6[_0x305721(0x165)](_0x283806,_0x2fc2a2),'filePath':_0x40deb9,'videoMd5':_0x159494,'thumbMd5':_0x3683e7,'fileTime':_0x2f1aa4[_0x305721(0x193)],'thumbPath':_0xa87d92,'thumbSize':_0x3e5be5,'thumbWidth':_0x2f1aa4[_0x305721(0x16b)],'thumbHeight':_0x2f1aa4[_0x305721(0x179)],'fileSize':_0x27dbc6[_0x305721(0x13b)]('',_0x2185c6)}};return _0x3b9ad3;}static async[_0x34f78a(0x15b)](_0x2a31ae){const _0x52885f=_0x34f78a,_0x274771={'gvOBQ':_0x52885f(0x17a),'fQTkm':'文件异常,大小为0'},{converted:_0x39bd21,path:_0x40ae63,duration:_0x57de99}=await encodeSilk(_0x2a31ae);if(!_0x40ae63)throw _0x274771[_0x52885f(0x16c)];const {md5:_0x2f09b5,fileName:_0x3b833f,path:_0x547d99,fileSize:_0x224443}=await NTQQFileApi[_0x52885f(0x18b)](_0x40ae63,ElementType['PTT']);if(_0x224443===0x0)throw _0x274771[_0x52885f(0x156)];return _0x39bd21&&_0x4af065[_0x52885f(0x172)](_0x40ae63)[_0x52885f(0x192)](),{'elementType':ElementType[_0x52885f(0x188)],'elementId':'','pttElement':{'fileName':_0x3b833f,'filePath':_0x547d99,'md5HexStr':_0x2f09b5,'fileSize':_0x224443,'duration':_0x57de99||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static['face'](_0x35f0b8){const _0x22622e=_0x34f78a,_0x976532={'MmuuF':function(_0x1f11be,_0x4b254a){return _0x1f11be(_0x4b254a);},'PUbEr':function(_0x1c496f,_0x1c543c){return _0x1c496f>=_0x1c543c;}},_0x1fb7b7=_0x1be45e[_0x22622e(0x151)],_0x2ca49d=_0x1be45e['emoji'],_0x497e62=_0x1fb7b7['find'](_0x2d29fe=>_0x2d29fe[_0x22622e(0x187)]===_0x35f0b8[_0x22622e(0x138)]());_0x35f0b8=_0x976532['MmuuF'](parseInt,_0x35f0b8['toString']());let _0x358e4f=0x1;return _0x976532[_0x22622e(0x13c)](_0x35f0b8,0xde)&&(_0x358e4f=0x2),_0x497e62[_0x22622e(0x137)]&&(_0x358e4f=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x35f0b8,'faceType':_0x358e4f,'faceText':_0x497e62['QDes'],'stickerId':_0x497e62[_0x22622e(0x171)],'stickerType':_0x497e62['AniStickerType'],'packId':_0x497e62[_0x22622e(0x184)],'sourceType':0x1}};}static[_0x34f78a(0x18a)](_0x2f54ca,_0x461898,_0x48f238,_0x5d8103){const _0x6fde9=_0x34f78a;return{'elementType':ElementType[_0x6fde9(0x169)],'marketFaceElement':{'emojiPackageId':_0x2f54ca,'emojiId':_0x461898,'key':_0x48f238,'faceName':_0x5d8103||mFaceCache[_0x6fde9(0x163)](_0x461898)||_0x6fde9(0x178)}};}static[_0x34f78a(0x154)](_0x36a57a){const _0x2476d6=_0x34f78a,_0x95dbf7={'FzeOL':_0x2476d6(0x15d)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2476d6(0x154)],'faceType':FaceType[_0x2476d6(0x154)],'faceText':_0x95dbf7[_0x2476d6(0x174)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x34f78a(0x144)](_0x4aa606){const _0x260e44=_0x34f78a;return{'elementType':ElementType[_0x260e44(0x18f)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x260e44(0x16a)],'faceText':_0x260e44(0x139),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x34f78a(0x18d)](_0x1ba093){const _0xda99e1=_0x34f78a,_0x27f14a={'xudxV':function(_0xfb03f,_0x47a008){return _0xfb03f!==_0x47a008;}};return _0x27f14a[_0xda99e1(0x167)](typeof _0x1ba093,_0xda99e1(0x14c))&&(_0x1ba093=JSON[_0xda99e1(0x158)](_0x1ba093)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x1ba093,'linkInfo':null,'subElementType':null}};}static[_0x34f78a(0x191)](_0x5da173){const _0x578448=_0x34f78a;return{'elementType':ElementType[_0x578448(0x190)],'elementId':'','markdownElement':{'content':_0x5da173}};}static async['miniapp'](){const _0x27948c=_0x34f78a,_0x55f885={'OqpQG':function(_0x3e9059,_0x37168c){return _0x3e9059(_0x37168c);},'JbcdN':_0x27948c(0x142),'AeTNg':_0x27948c(0x170),'MwWTu':_0x27948c(0x18c),'xRfFr':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x276db2=await _0x55f885[_0x27948c(0x147)](SignMiniApp,{'prompt':_0x27948c(0x142),'title':_0x55f885[_0x27948c(0x180)],'preview':_0x55f885[_0x27948c(0x159)],'jumpUrl':_0x55f885[_0x27948c(0x148)],'tag':_0x55f885[_0x27948c(0x180)],'tagIcon':_0x55f885['xRfFr'],'source':_0x55f885[_0x27948c(0x180)],'sourcelogo':_0x55f885[_0x27948c(0x181)]});return{'elementType':ElementType[_0x27948c(0x16d)],'elementId':'','arkElement':{'bytesData':_0x276db2,'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 396cae82..cc77fe03 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0xd7b3(){var _0x5c077b=['955VjcUda','9024DybvUJ','RcJJt','9332258lsYuHl','36SmOlOP','owner','24VPLDQw','yPGWO','1176142wAWNhu','11162HItMBL','77294mCTmMG','141BCDLZK','490yyhOFZ','464bedpiB','67TtMYPG','94275HCnqYd','admin'];_0xd7b3=function(){return _0x5c077b;};return _0xd7b3();}(function(_0x4c84b8,_0x11c7ee){var _0x208fd7=_0x5c39,_0x45166c=_0x4c84b8();while(!![]){try{var _0x164b0f=-parseInt(_0x208fd7(0x153))/0x1*(-parseInt(_0x208fd7(0x14e))/0x2)+-parseInt(_0x208fd7(0x150))/0x3*(-parseInt(_0x208fd7(0x149))/0x4)+-parseInt(_0x208fd7(0x156))/0x5*(parseInt(_0x208fd7(0x157))/0x6)+parseInt(_0x208fd7(0x14f))/0x7*(-parseInt(_0x208fd7(0x152))/0x8)+parseInt(_0x208fd7(0x154))/0x9*(parseInt(_0x208fd7(0x151))/0xa)+-parseInt(_0x208fd7(0x14d))/0xb*(parseInt(_0x208fd7(0x14b))/0xc)+parseInt(_0x208fd7(0x159))/0xd;if(_0x164b0f===_0x11c7ee)break;else _0x45166c['push'](_0x45166c['shift']());}catch(_0xed6708){_0x45166c['push'](_0x45166c['shift']());}}}(_0xd7b3,0x7144b));function _0x5c39(_0x1a7e6b,_0x201feb){var _0xd7b321=_0xd7b3();return _0x5c39=function(_0x5c398b,_0x559baa){_0x5c398b=_0x5c398b-0x149;var _0x2cc8d2=_0xd7b321[_0x5c398b];return _0x2cc8d2;},_0x5c39(_0x1a7e6b,_0x201feb);}export var GroupMemberRole;(function(_0x5c58dd){var _0x1977f8=_0x5c39,_0x4e59fb={'uwdsC':'normal','yPGWO':_0x1977f8(0x155),'RcJJt':_0x1977f8(0x14a)};_0x5c58dd[_0x5c58dd[_0x4e59fb['uwdsC']]=0x2]=_0x4e59fb['uwdsC'],_0x5c58dd[_0x5c58dd[_0x1977f8(0x155)]=0x3]=_0x4e59fb[_0x1977f8(0x14c)],_0x5c58dd[_0x5c58dd['owner']=0x4]=_0x4e59fb[_0x1977f8(0x158)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x2570(){var _0x538a5a=['1000212uFzhbF','2723ZFoyil','normal','1621865BAhmZk','3883852VlLWPr','129wrkmow','owner','VQqkh','50890GWsdLR','admin','CpVZD','6136waqguE','2383344hIXyVm','116302BnZNeJ','FcQXA'];_0x2570=function(){return _0x538a5a;};return _0x2570();}(function(_0x578f46,_0x16bfae){var _0x5bb041=_0x493c,_0x37052f=_0x578f46();while(!![]){try{var _0x5d1ef1=parseInt(_0x5bb041(0xc1))/0x1+parseInt(_0x5bb041(0xbc))/0x2*(parseInt(_0x5bb041(0xb9))/0x3)+-parseInt(_0x5bb041(0xb8))/0x4+-parseInt(_0x5bb041(0xb7))/0x5+parseInt(_0x5bb041(0xc3))/0x6+parseInt(_0x5bb041(0xc4))/0x7*(parseInt(_0x5bb041(0xbf))/0x8)+parseInt(_0x5bb041(0xc0))/0x9;if(_0x5d1ef1===_0x16bfae)break;else _0x37052f['push'](_0x37052f['shift']());}catch(_0x35f841){_0x37052f['push'](_0x37052f['shift']());}}}(_0x2570,0x9d776));export var GroupMemberRole;function _0x493c(_0x28e83f,_0x574985){var _0x257068=_0x2570();return _0x493c=function(_0x493cec,_0x5f4c75){_0x493cec=_0x493cec-0xb7;var _0x2031ee=_0x257068[_0x493cec];return _0x2031ee;},_0x493c(_0x28e83f,_0x574985);}(function(_0x2660b0){var _0x4687b5=_0x493c,_0x57db77={'VQqkh':_0x4687b5(0xc5),'CpVZD':_0x4687b5(0xbd),'FcQXA':_0x4687b5(0xba)};_0x2660b0[_0x2660b0[_0x57db77[_0x4687b5(0xbb)]]=0x2]='normal',_0x2660b0[_0x2660b0[_0x57db77['CpVZD']]=0x3]=_0x57db77[_0x4687b5(0xbe)],_0x2660b0[_0x2660b0[_0x57db77[_0x4687b5(0xc2)]]=0x4]=_0x57db77[_0x4687b5(0xc2)];}(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 e33b9304..c87331bc 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x428dfe,_0x3c78f1){var _0x56509b=_0x40e2,_0x4a58f9=_0x428dfe();while(!![]){try{var _0x541107=-parseInt(_0x56509b(0x196))/0x1+-parseInt(_0x56509b(0x19a))/0x2+parseInt(_0x56509b(0x19c))/0x3*(-parseInt(_0x56509b(0x198))/0x4)+-parseInt(_0x56509b(0x19d))/0x5+-parseInt(_0x56509b(0x195))/0x6+parseInt(_0x56509b(0x19e))/0x7*(parseInt(_0x56509b(0x199))/0x8)+parseInt(_0x56509b(0x19b))/0x9*(parseInt(_0x56509b(0x197))/0xa);if(_0x541107===_0x3c78f1)break;else _0x4a58f9['push'](_0x4a58f9['shift']());}catch(_0x34fba5){_0x4a58f9['push'](_0x4a58f9['shift']());}}}(_0x3093,0xde47d));export*from'./user';export*from'./group';function _0x3093(){var _0x1fdb5d=['1106395iCBHbE','3539361DQHpWL','5269500pesSGa','139156NolvRA','170LtVVpF','2319524VoGCRJ','8ilonXb','638334fTLbXk','1346067egcHUY','3iYrtol'];_0x3093=function(){return _0x1fdb5d;};return _0x3093();}export*from'./msg';export*from'./notify';export*from'./cache';function _0x40e2(_0x2fd815,_0x56e78b){var _0x3093c8=_0x3093();return _0x40e2=function(_0x40e2ca,_0x4afcf6){_0x40e2ca=_0x40e2ca-0x195;var _0x57a0f0=_0x3093c8[_0x40e2ca];return _0x57a0f0;},_0x40e2(_0x2fd815,_0x56e78b);}export*from'./constructor'; \ No newline at end of file +(function(_0x447077,_0x4e9de3){var _0x296cf3=_0x4f75,_0x30a1ff=_0x447077();while(!![]){try{var _0x3b7f5f=parseInt(_0x296cf3(0xce))/0x1*(-parseInt(_0x296cf3(0xca))/0x2)+-parseInt(_0x296cf3(0xcc))/0x3*(-parseInt(_0x296cf3(0xcd))/0x4)+parseInt(_0x296cf3(0xcf))/0x5*(-parseInt(_0x296cf3(0xcb))/0x6)+-parseInt(_0x296cf3(0xd4))/0x7*(parseInt(_0x296cf3(0xd3))/0x8)+-parseInt(_0x296cf3(0xd0))/0x9+parseInt(_0x296cf3(0xd1))/0xa+-parseInt(_0x296cf3(0xd2))/0xb*(-parseInt(_0x296cf3(0xc9))/0xc);if(_0x3b7f5f===_0x4e9de3)break;else _0x30a1ff['push'](_0x30a1ff['shift']());}catch(_0x1ca52d){_0x30a1ff['push'](_0x30a1ff['shift']());}}}(_0x2273,0x612a2));export*from'./user';export*from'./group';function _0x2273(){var _0x3202e5=['203VzbBbL','2126568sMuXFI','282688CkjuFr','600DhpJyP','138iXuFdJ','67356zrHQiO','2CiztRn','19030TCklrL','6128901MYzGUt','3425360fJjmQa','44dQrcph','23096AHQRVK'];_0x2273=function(){return _0x3202e5;};return _0x2273();}function _0x4f75(_0x7abcca,_0x9c1cea){var _0x2273d5=_0x2273();return _0x4f75=function(_0x4f75a3,_0x27d1ee){_0x4f75a3=_0x4f75a3-0xc9;var _0x4c4379=_0x2273d5[_0x4f75a3];return _0x4c4379;},_0x4f75(_0x7abcca,_0x9c1cea);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index a522219b..6708f84c 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x240e4f=_0x31a8;(function(_0x529088,_0x13f54e){var _0x5b9814=_0x31a8,_0x3ea26f=_0x529088();while(!![]){try{var _0x3eb855=-parseInt(_0x5b9814(0x212))/0x1+parseInt(_0x5b9814(0x1f9))/0x2+-parseInt(_0x5b9814(0x226))/0x3*(parseInt(_0x5b9814(0x1f6))/0x4)+-parseInt(_0x5b9814(0x1f8))/0x5+-parseInt(_0x5b9814(0x206))/0x6+parseInt(_0x5b9814(0x21b))/0x7+-parseInt(_0x5b9814(0x208))/0x8*(-parseInt(_0x5b9814(0x213))/0x9);if(_0x3eb855===_0x13f54e)break;else _0x3ea26f['push'](_0x3ea26f['shift']());}catch(_0x35595e){_0x3ea26f['push'](_0x3ea26f['shift']());}}}(_0x53d0,0x62cca));export var ElementType;(function(_0x33ba04){var _0xa5251c=_0x31a8,_0x5d90cb={'KHqGU':_0xa5251c(0x1f1),'zztJD':_0xa5251c(0x219),'xLBXh':_0xa5251c(0x20d),'Vdiln':_0xa5251c(0x224),'AGxpG':'FACE','UlwmN':_0xa5251c(0x1f0),'vAovb':'MFACE','Bjmxs':_0xa5251c(0x20a)};_0x33ba04[_0x33ba04[_0xa5251c(0x21e)]=0x1]=_0xa5251c(0x21e),_0x33ba04[_0x33ba04[_0x5d90cb['KHqGU']]=0x2]=_0x5d90cb[_0xa5251c(0x1f2)],_0x33ba04[_0x33ba04[_0x5d90cb[_0xa5251c(0x20f)]]=0x3]=_0xa5251c(0x219),_0x33ba04[_0x33ba04[_0x5d90cb[_0xa5251c(0x204)]]=0x4]=_0x5d90cb[_0xa5251c(0x204)],_0x33ba04[_0x33ba04[_0x5d90cb['Vdiln']]=0x5]=_0xa5251c(0x224),_0x33ba04[_0x33ba04[_0x5d90cb['AGxpG']]=0x6]=_0x5d90cb[_0xa5251c(0x21f)],_0x33ba04[_0x33ba04[_0x5d90cb[_0xa5251c(0x217)]]=0x7]=_0x5d90cb[_0xa5251c(0x217)],_0x33ba04[_0x33ba04['ARK']=0xa]=_0xa5251c(0x1f3),_0x33ba04[_0x33ba04[_0x5d90cb['vAovb']]=0xb]=_0x5d90cb[_0xa5251c(0x21d)],_0x33ba04[_0x33ba04[_0x5d90cb[_0xa5251c(0x207)]]=0xe]=_0x5d90cb[_0xa5251c(0x207)];}(ElementType||(ElementType={})));export var PicType;(function(_0x1d7103){var _0x25192e=_0x31a8,_0x1b92ff={'BckHN':_0x25192e(0x21a),'RVccY':_0x25192e(0x200)};_0x1d7103[_0x1d7103[_0x1b92ff['BckHN']]=0x7d0]=_0x1b92ff[_0x25192e(0x211)],_0x1d7103[_0x1d7103[_0x1b92ff['RVccY']]=0x3e8]=_0x1b92ff[_0x25192e(0x214)];}(PicType||(PicType={})));export var PicSubType;(function(_0x5632e2){var _0x21644c=_0x31a8,_0xe5b573={'xeiXf':_0x21644c(0x1ef),'LQJET':_0x21644c(0x225)};_0x5632e2[_0x5632e2[_0xe5b573[_0x21644c(0x205)]]=0x0]=_0x21644c(0x1ef),_0x5632e2[_0x5632e2[_0xe5b573['LQJET']]=0x1]=_0xe5b573['LQJET'];}(PicSubType||(PicSubType={})));export var AtType;function _0x31a8(_0x385475,_0x2bd3e9){var _0x53d068=_0x53d0();return _0x31a8=function(_0x31a8c4,_0x3f3bb3){_0x31a8c4=_0x31a8c4-0x1ee;var _0x5d0b42=_0x53d068[_0x31a8c4];return _0x5d0b42;},_0x31a8(_0x385475,_0x2bd3e9);}function _0x53d0(){var _0x46f91e=['VIDEO','face','735rECztE','RPS','eLCoA','normal','REPLY','PIC','KHqGU','ARK','bwQDt','atUser','3284iHEHPB','https://gchat.qpic.cn','1600195JwdULV','984968ETZKkO','wyOzv','DWeaV','INVITE_NEW_MEMBER','ban','clIjF','dMYQm','jpg','MJXqu','atAll','notAt','xLBXh','xeiXf','3415110oySrCr','Bjmxs','200iDTEcV','MxahC','MARKDOWN','normal2','memberIncrease','PTT','chatDevice','zztJD','friend','BckHN','631724ecTcbm','529263SnBUxZ','RVccY','nQDKX','MEMBER_NEW_TITLE','UlwmN','cRORB','FILE','gif','1148812pzhtpe','kicked','vAovb','TEXT','AGxpG','XcJZc','FkgGL','zukof','temp'];_0x53d0=function(){return _0x46f91e;};return _0x53d0();}(function(_0x4b28c9){var _0x221870=_0x31a8,_0x58afd2={'clIjF':_0x221870(0x203),'cRORB':_0x221870(0x202),'RqdRz':_0x221870(0x1f5)};_0x4b28c9[_0x4b28c9[_0x58afd2[_0x221870(0x1fe)]]=0x0]='notAt',_0x4b28c9[_0x4b28c9[_0x58afd2[_0x221870(0x218)]]=0x1]=_0x221870(0x202),_0x4b28c9[_0x4b28c9[_0x58afd2['RqdRz']]=0x2]=_0x58afd2['RqdRz'];}(AtType||(AtType={})));export var ChatType;(function(_0x7f45d6){var _0x4f6184=_0x31a8,_0x300727={'DWeaV':_0x4f6184(0x210),'FkgGL':'group','MJXqu':_0x4f6184(0x20e),'MxahC':_0x4f6184(0x223)};_0x7f45d6[_0x7f45d6[_0x300727[_0x4f6184(0x1fb)]]=0x1]=_0x300727['DWeaV'],_0x7f45d6[_0x7f45d6[_0x300727['FkgGL']]=0x2]=_0x300727[_0x4f6184(0x221)],_0x7f45d6[_0x7f45d6[_0x300727[_0x4f6184(0x201)]]=0x8]=_0x4f6184(0x20e),_0x7f45d6[_0x7f45d6[_0x300727[_0x4f6184(0x209)]]=0x64]=_0x300727[_0x4f6184(0x209)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x240e4f(0x1f7);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x5b0b49){var _0x1ee66f=_0x240e4f,_0x44fbea={'UeBkj':_0x1ee66f(0x1fc),'XcJZc':_0x1ee66f(0x216)};_0x5b0b49[_0x5b0b49[_0x44fbea['UeBkj']]=0xc]=_0x1ee66f(0x1fc),_0x5b0b49[_0x5b0b49['MEMBER_NEW_TITLE']=0x11]=_0x44fbea[_0x1ee66f(0x220)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x10762e){var _0x15c607=_0x240e4f,_0x597e5e={'nQDKX':_0x15c607(0x20b),'wyOzv':'dice'};_0x10762e[_0x10762e[_0x15c607(0x1ef)]=0x1]=_0x15c607(0x1ef),_0x10762e[_0x10762e[_0x597e5e[_0x15c607(0x215)]]=0x2]=_0x597e5e['nQDKX'],_0x10762e[_0x10762e[_0x597e5e[_0x15c607(0x1fa)]]=0x3]=_0x597e5e[_0x15c607(0x1fa)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4c9ebd){var _0x3d643b=_0x240e4f,_0x269e68={'zukof':'dice','bwQDt':_0x3d643b(0x227)};_0x4c9ebd[_0x4c9ebd[_0x269e68[_0x3d643b(0x222)]]=0x166]=_0x269e68['zukof'],_0x4c9ebd[_0x4c9ebd[_0x269e68[_0x3d643b(0x1f4)]]=0x167]=_0x3d643b(0x227);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x3dc84e){var _0x59804a=_0x240e4f,_0x3eddab={'sdQIl':_0x59804a(0x20c),'eLCoA':_0x59804a(0x21c),'dMYQm':_0x59804a(0x1fd)};_0x3dc84e[_0x3dc84e[_0x3eddab['sdQIl']]=0x1]=_0x3eddab['sdQIl'],_0x3dc84e[_0x3dc84e[_0x3eddab[_0x59804a(0x1ee)]]=0x3]=_0x3eddab[_0x59804a(0x1ee)],_0x3dc84e[_0x3dc84e[_0x3eddab[_0x59804a(0x1ff)]]=0x8]='ban';}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x2b4726=_0x2d40;(function(_0x3bbe49,_0x1e2b66){var _0x102966=_0x2d40,_0x46cc4c=_0x3bbe49();while(!![]){try{var _0x3b9a16=-parseInt(_0x102966(0x183))/0x1*(-parseInt(_0x102966(0x1b2))/0x2)+-parseInt(_0x102966(0x1a2))/0x3*(parseInt(_0x102966(0x198))/0x4)+-parseInt(_0x102966(0x1b7))/0x5+parseInt(_0x102966(0x1ab))/0x6+parseInt(_0x102966(0x199))/0x7+parseInt(_0x102966(0x181))/0x8+-parseInt(_0x102966(0x1b0))/0x9*(-parseInt(_0x102966(0x1b8))/0xa);if(_0x3b9a16===_0x1e2b66)break;else _0x46cc4c['push'](_0x46cc4c['shift']());}catch(_0x3cbd51){_0x46cc4c['push'](_0x46cc4c['shift']());}}}(_0x390f,0xa7f3b));export var ElementType;(function(_0x2f5216){var _0x512df7=_0x2d40,_0x75da0d={'CYrAu':_0x512df7(0x185),'OjOOj':_0x512df7(0x1a7),'TAoHO':_0x512df7(0x1b9),'sgbCY':_0x512df7(0x1a3),'UkjXW':'MFACE','qkJSN':_0x512df7(0x19e),'CxJnN':_0x512df7(0x197),'liliu':'FILE','CZNFc':_0x512df7(0x19c),'OxEye':_0x512df7(0x18b)},_0x4f7f1c=_0x75da0d['CYrAu'][_0x512df7(0x1b4)]('|'),_0x9beb45=0x0;while(!![]){switch(_0x4f7f1c[_0x9beb45++]){case'0':_0x2f5216[_0x2f5216[_0x75da0d['OjOOj']]=0x7]=_0x75da0d[_0x512df7(0x1bc)];continue;case'1':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x1a9)]]=0xe]=_0x512df7(0x1b9);continue;case'2':_0x2f5216[_0x2f5216[_0x75da0d['sgbCY']]=0x5]=_0x512df7(0x1a3);continue;case'3':_0x2f5216[_0x2f5216[_0x75da0d['UkjXW']]=0xb]=_0x75da0d[_0x512df7(0x1a0)];continue;case'4':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x1ad)]]=0xa]=_0x512df7(0x19e);continue;case'5':_0x2f5216[_0x2f5216[_0x512df7(0x197)]=0x1]=_0x75da0d['CxJnN'];continue;case'6':_0x2f5216[_0x2f5216['FACE']=0x6]=_0x512df7(0x1a4);continue;case'7':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x1ae)]]=0x3]=_0x75da0d[_0x512df7(0x1ae)];continue;case'8':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x190)]]=0x4]=_0x512df7(0x19c);continue;case'9':_0x2f5216[_0x2f5216['PIC']=0x2]=_0x75da0d['OxEye'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x205e83){var _0x25f45a=_0x2d40,_0x449bbf={'LgWOQ':_0x25f45a(0x196),'bqmgF':'jpg'};_0x205e83[_0x205e83[_0x25f45a(0x196)]=0x7d0]=_0x449bbf[_0x25f45a(0x18d)],_0x205e83[_0x205e83[_0x449bbf[_0x25f45a(0x19f)]]=0x3e8]=_0x449bbf['bqmgF'];}(PicType||(PicType={})));export var PicSubType;function _0x390f(){var _0x2a1cd4=['1ZGcefb','ObNrj','5|9|7|8|2|6|0|4|3|1','igoqC','oKmTZ','xgGCQ','notAt','GPmRX','PIC','uHkCZ','LgWOQ','normal','memberIncrease','CZNFc','pldMp','normal2','CXMUH','MEMBER_NEW_TITLE','https://multimedia.nt.qq.com.cn','gif','TEXT','250060ouXsft','8848798qWBJfT','xulkC','tYCMc','PTT','dice','ARK','bqmgF','UkjXW','atUser','21YovJex','VIDEO','FACE','CITTN','GQNIw','REPLY','LZRLX','TAoHO','atAll','3865674cUOwNe','MhVfb','qkJSN','liliu','AeSSS','127233xOtiPH','friend','339754EipVgi','KoEIc','split','group','ban','5576345FJiOwE','30SoZuGD','MARKDOWN','temp','chatDevice','OjOOj','960992FOzkni','https://gchat.qpic.cn'];_0x390f=function(){return _0x2a1cd4;};return _0x390f();}(function(_0x563fb2){var _0x9a3268=_0x2d40,_0x16e010={'ObNrj':_0x9a3268(0x18e),'MhVfb':'face'};_0x563fb2[_0x563fb2[_0x16e010[_0x9a3268(0x184)]]=0x0]=_0x9a3268(0x18e),_0x563fb2[_0x563fb2[_0x16e010[_0x9a3268(0x1ac)]]=0x1]=_0x16e010[_0x9a3268(0x1ac)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x33f3c6){var _0x239083=_0x2d40,_0x12dad4={'GPmRX':'notAt','GQNIw':_0x239083(0x1aa),'igoqC':_0x239083(0x1a1)};_0x33f3c6[_0x33f3c6[_0x12dad4[_0x239083(0x18a)]]=0x0]=_0x239083(0x189),_0x33f3c6[_0x33f3c6[_0x12dad4[_0x239083(0x1a6)]]=0x1]=_0x12dad4['GQNIw'],_0x33f3c6[_0x33f3c6[_0x12dad4[_0x239083(0x186)]]=0x2]=_0x12dad4['igoqC'];}(AtType||(AtType={})));export var ChatType;(function(_0x308bc8){var _0x399dee=_0x2d40,_0x271e88={'tYCMc':_0x399dee(0x1b1),'CITTN':_0x399dee(0x1b5),'pldMp':_0x399dee(0x1bb),'xulkC':_0x399dee(0x1ba)};_0x308bc8[_0x308bc8[_0x271e88[_0x399dee(0x19b)]]=0x1]=_0x271e88[_0x399dee(0x19b)],_0x308bc8[_0x308bc8[_0x271e88[_0x399dee(0x1a5)]]=0x2]=_0x271e88[_0x399dee(0x1a5)],_0x308bc8[_0x308bc8[_0x399dee(0x1bb)]=0x8]=_0x271e88[_0x399dee(0x191)],_0x308bc8[_0x308bc8[_0x271e88[_0x399dee(0x19a)]]=0x64]=_0x271e88[_0x399dee(0x19a)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x2b4726(0x182);export const IMAGE_HTTP_HOST_NT=_0x2b4726(0x195);export var GrayTipElementSubType;(function(_0x35e2ef){var _0x5b6594=_0x2b4726,_0x38d480={'CXMUH':'INVITE_NEW_MEMBER','xgGCQ':_0x5b6594(0x194)};_0x35e2ef[_0x35e2ef[_0x38d480['CXMUH']]=0xc]=_0x38d480[_0x5b6594(0x193)],_0x35e2ef[_0x35e2ef[_0x38d480[_0x5b6594(0x188)]]=0x11]=_0x5b6594(0x194);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x268c65){var _0xa6f3b=_0x2b4726,_0x2d0c30={'OYEIH':_0xa6f3b(0x18e),'ZcVpW':_0xa6f3b(0x192),'KoEIc':_0xa6f3b(0x19d)};_0x268c65[_0x268c65[_0x2d0c30['OYEIH']]=0x1]=_0x2d0c30['OYEIH'],_0x268c65[_0x268c65[_0x2d0c30['ZcVpW']]=0x2]='normal2',_0x268c65[_0x268c65[_0x2d0c30[_0xa6f3b(0x1b3)]]=0x3]=_0x2d0c30[_0xa6f3b(0x1b3)];}(FaceType||(FaceType={})));export var FaceIndex;function _0x2d40(_0x3596cd,_0x15dd22){var _0x390f88=_0x390f();return _0x2d40=function(_0x2d4035,_0x59b251){_0x2d4035=_0x2d4035-0x181;var _0x49faa1=_0x390f88[_0x2d4035];return _0x49faa1;},_0x2d40(_0x3596cd,_0x15dd22);}(function(_0x3302e9){var _0x500677=_0x2b4726,_0x57d6c2={'uHkCZ':_0x500677(0x19d),'AeSSS':'RPS'};_0x3302e9[_0x3302e9[_0x57d6c2[_0x500677(0x18c)]]=0x166]=_0x57d6c2[_0x500677(0x18c)],_0x3302e9[_0x3302e9[_0x57d6c2[_0x500677(0x1af)]]=0x167]=_0x57d6c2[_0x500677(0x1af)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x310658){var _0x45c573=_0x2b4726,_0xd2d4d9={'LZRLX':_0x45c573(0x18f),'oKmTZ':_0x45c573(0x1b6)};_0x310658[_0x310658[_0xd2d4d9[_0x45c573(0x1a8)]]=0x1]=_0xd2d4d9[_0x45c573(0x1a8)],_0x310658[_0x310658['kicked']=0x3]='kicked',_0x310658[_0x310658[_0xd2d4d9[_0x45c573(0x187)]]=0x8]=_0xd2d4d9[_0x45c573(0x187)];}(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 531424f6..80f12853 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x231cdd,_0x4992b9){var _0x4eb150=_0x50b3,_0x3d2d3c=_0x231cdd();while(!![]){try{var _0x3ca34f=-parseInt(_0x4eb150(0x12f))/0x1*(-parseInt(_0x4eb150(0x131))/0x2)+-parseInt(_0x4eb150(0x139))/0x3*(-parseInt(_0x4eb150(0x134))/0x4)+parseInt(_0x4eb150(0x13a))/0x5*(parseInt(_0x4eb150(0x13c))/0x6)+parseInt(_0x4eb150(0x126))/0x7+parseInt(_0x4eb150(0x124))/0x8+parseInt(_0x4eb150(0x140))/0x9*(parseInt(_0x4eb150(0x128))/0xa)+-parseInt(_0x4eb150(0x136))/0xb;if(_0x3ca34f===_0x4992b9)break;else _0x3d2d3c['push'](_0x3d2d3c['shift']());}catch(_0x5ee9e6){_0x3d2d3c['push'](_0x3d2d3c['shift']());}}}(_0x5a7e,0xcf56d));function _0x50b3(_0x34e0c9,_0x21a16e){var _0x5a7e7d=_0x5a7e();return _0x50b3=function(_0x50b3f6,_0x501578){_0x50b3f6=_0x50b3f6-0x11e;var _0x212ca3=_0x5a7e7d[_0x50b3f6];return _0x212ca3;},_0x50b3(_0x34e0c9,_0x21a16e);}export var GroupNotifyTypes;(function(_0x540cb8){var _0xbcb7d2=_0x50b3,_0x2a9f4c={'PsEfj':_0xbcb7d2(0x133),'kqOaa':'MEMBER_EXIT','qPaFS':'ADMIN_UNSET','MaOzd':_0xbcb7d2(0x11f),'HEfdG':_0xbcb7d2(0x13b),'bJuAq':_0xbcb7d2(0x13d),'ZkJUw':_0xbcb7d2(0x12e)},_0x36a0cb=_0x2a9f4c['PsEfj'][_0xbcb7d2(0x135)]('|'),_0x475cae=0x0;while(!![]){switch(_0x36a0cb[_0x475cae++]){case'0':_0x540cb8[_0x540cb8[_0x2a9f4c[_0xbcb7d2(0x12c)]]=0xb]=_0x2a9f4c[_0xbcb7d2(0x12c)];continue;case'1':_0x540cb8[_0x540cb8[_0x2a9f4c['qPaFS']]=0xc]=_0xbcb7d2(0x12d);continue;case'2':_0x540cb8[_0x540cb8[_0x2a9f4c['MaOzd']]=0x9]=_0x2a9f4c[_0xbcb7d2(0x138)];continue;case'3':_0x540cb8[_0x540cb8[_0x2a9f4c[_0xbcb7d2(0x11e)]]=0xd]=_0x2a9f4c[_0xbcb7d2(0x11e)];continue;case'4':_0x540cb8[_0x540cb8[_0x2a9f4c['bJuAq']]=0x8]=_0x2a9f4c[_0xbcb7d2(0x12a)];continue;case'5':_0x540cb8[_0x540cb8[_0x2a9f4c[_0xbcb7d2(0x12b)]]=0x1]=_0x2a9f4c[_0xbcb7d2(0x12b)];continue;case'6':_0x540cb8[_0x540cb8['JOIN_REQUEST']=0x7]='JOIN_REQUEST';continue;case'7':_0x540cb8[_0x540cb8[_0xbcb7d2(0x127)]=0x4]=_0xbcb7d2(0x127);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x5a7e(){var _0x1ac81a=['4219936IYzRaZ','APPROVE','3901191dnowcA','INVITED_JOIN','350JjfzkR','MdfYy','bJuAq','ZkJUw','kqOaa','ADMIN_UNSET','INVITE_ME','1yhKqgp','reject','1807094DbEwst','EkhQz','5|7|6|4|2|0|1|3','1076ltAMjo','split','38083738spOVyf','sJVUf','MaOzd','5154imKuGX','1631535GqRGEH','ADMIN_UNSET_OTHER','30DgyHQq','ADMIN_SET','WAIT_HANDLE','DmqLt','58986XkdNDo','HEfdG','KICK_MEMBER','IGNORE','REJECT','eavnq','LUXXS'];_0x5a7e=function(){return _0x1ac81a;};return _0x5a7e();}export var GroupNotifyStatus;(function(_0x6733a5){var _0x1278ba=_0x50b3,_0x31bd97={'DmqLt':_0x1278ba(0x120),'MdfYy':_0x1278ba(0x13e),'LUXXS':_0x1278ba(0x125),'eavnq':_0x1278ba(0x121)};_0x6733a5[_0x6733a5[_0x31bd97[_0x1278ba(0x13f)]]=0x0]=_0x31bd97[_0x1278ba(0x13f)],_0x6733a5[_0x6733a5[_0x31bd97[_0x1278ba(0x129)]]=0x1]=_0x1278ba(0x13e),_0x6733a5[_0x6733a5[_0x31bd97[_0x1278ba(0x123)]]=0x2]=_0x1278ba(0x125),_0x6733a5[_0x6733a5[_0x31bd97['eavnq']]=0x3]=_0x31bd97[_0x1278ba(0x122)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x435d54){var _0x2679ff=_0x50b3,_0x4d6bf1={'EkhQz':'approve','sJVUf':_0x2679ff(0x130)};_0x435d54[_0x435d54[_0x4d6bf1[_0x2679ff(0x132)]]=0x1]=_0x4d6bf1['EkhQz'],_0x435d54[_0x435d54[_0x4d6bf1['sJVUf']]=0x2]=_0x4d6bf1[_0x2679ff(0x137)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x5b47ec,_0x2862e8){var _0x356d71=_0x27d5,_0x4ead16=_0x5b47ec();while(!![]){try{var _0x490a0f=parseInt(_0x356d71(0x207))/0x1+-parseInt(_0x356d71(0x1e7))/0x2+parseInt(_0x356d71(0x1f0))/0x3+parseInt(_0x356d71(0x201))/0x4+-parseInt(_0x356d71(0x1e9))/0x5*(-parseInt(_0x356d71(0x1fb))/0x6)+parseInt(_0x356d71(0x1fc))/0x7+-parseInt(_0x356d71(0x200))/0x8;if(_0x490a0f===_0x2862e8)break;else _0x4ead16['push'](_0x4ead16['shift']());}catch(_0x8f00b){_0x4ead16['push'](_0x4ead16['shift']());}}}(_0x501d,0x9b053));export var GroupNotifyTypes;function _0x27d5(_0x2d7249,_0x4d0766){var _0x501de9=_0x501d();return _0x27d5=function(_0x27d58f,_0x588dfc){_0x27d58f=_0x27d58f-0x1e7;var _0x301411=_0x501de9[_0x27d58f];return _0x301411;},_0x27d5(_0x2d7249,_0x4d0766);}(function(_0x8ae0e9){var _0x2fc13e=_0x27d5,_0x2f98d9={'Gxczc':_0x2fc13e(0x1e8),'QqXlw':_0x2fc13e(0x202),'wuSur':_0x2fc13e(0x1fd),'awZCA':_0x2fc13e(0x208),'UVYUw':_0x2fc13e(0x1ed),'xRbVr':_0x2fc13e(0x1ec),'YYhhS':'ADMIN_UNSET','EcCkP':_0x2fc13e(0x1f6)},_0x2eeb54=_0x2fc13e(0x1ee)[_0x2fc13e(0x1f7)]('|'),_0xf22097=0x0;while(!![]){switch(_0x2eeb54[_0xf22097++]){case'0':_0x8ae0e9[_0x8ae0e9[_0x2fc13e(0x1e8)]=0x7]=_0x2f98d9['Gxczc'];continue;case'1':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1ea)]]=0xd]=_0x2f98d9[_0x2fc13e(0x1ea)];continue;case'2':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1fe)]]=0x8]=_0x2fc13e(0x1fd);continue;case'3':_0x8ae0e9[_0x8ae0e9[_0x2f98d9['awZCA']]=0x9]=_0x2f98d9[_0x2fc13e(0x1f3)];continue;case'4':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1fa)]]=0x4]=_0x2f98d9['UVYUw'];continue;case'5':_0x8ae0e9[_0x8ae0e9[_0x2f98d9['xRbVr']]=0xb]=_0x2fc13e(0x1ec);continue;case'6':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1eb)]]=0xc]=_0x2f98d9[_0x2fc13e(0x1eb)];continue;case'7':_0x8ae0e9[_0x8ae0e9[_0x2fc13e(0x1f6)]=0x1]=_0x2f98d9['EcCkP'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2f1eb9){var _0x3800df=_0x27d5,_0x2a0edd={'fDqsf':_0x3800df(0x1f9),'ODjYD':_0x3800df(0x203),'ShgRQ':_0x3800df(0x206),'TuCeJ':_0x3800df(0x1f5)};_0x2f1eb9[_0x2f1eb9[_0x3800df(0x1f9)]=0x0]=_0x2a0edd[_0x3800df(0x205)],_0x2f1eb9[_0x2f1eb9[_0x2a0edd[_0x3800df(0x1f2)]]=0x1]=_0x2a0edd[_0x3800df(0x1f2)],_0x2f1eb9[_0x2f1eb9[_0x2a0edd[_0x3800df(0x1ff)]]=0x2]=_0x3800df(0x206),_0x2f1eb9[_0x2f1eb9[_0x2a0edd[_0x3800df(0x1f4)]]=0x3]=_0x3800df(0x1f5);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x501d(){var _0x2ae724=['JOIN_REQUEST','20620NfZwoi','QqXlw','YYhhS','MEMBER_EXIT','INVITED_JOIN','7|4|0|2|3|5|6|1','reject','3258690OSKyBJ','approve','ODjYD','awZCA','TuCeJ','REJECT','INVITE_ME','split','nhMoG','IGNORE','UVYUw','1578GvvSaR','7915859AsEWhY','ADMIN_SET','wuSur','ShgRQ','20592352JTERUR','438420NfmtSt','ADMIN_UNSET_OTHER','WAIT_HANDLE','IytEu','fDqsf','APPROVE','547731xGTDnL','KICK_MEMBER','1500016vHqBFy'];_0x501d=function(){return _0x2ae724;};return _0x501d();}export var GroupRequestOperateTypes;(function(_0x482afc){var _0xdaae42=_0x27d5,_0x3f7c1c={'nhMoG':_0xdaae42(0x1f1),'IytEu':_0xdaae42(0x1ef)};_0x482afc[_0x482afc[_0x3f7c1c[_0xdaae42(0x1f8)]]=0x1]=_0x3f7c1c[_0xdaae42(0x1f8)],_0x482afc[_0x482afc[_0x3f7c1c[_0xdaae42(0x204)]]=0x2]=_0x3f7c1c[_0xdaae42(0x204)];}(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 7fa800aa..018190d0 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x50ab(_0x1bdcd5,_0xe88b79){var _0x36bf84=_0x36bf();return _0x50ab=function(_0x50abbb,_0x2b927d){_0x50abbb=_0x50abbb-0x121;var _0x3adbd5=_0x36bf84[_0x50abbb];return _0x3adbd5;},_0x50ab(_0x1bdcd5,_0xe88b79);}function _0x36bf(){var _0x1cc9db=['YWITk','835255ZhOQYx','10593639kvnpKA','4410400qjhiuE','wzywQ','196UYDjks','28OsknDt','515064xHoIEu','unknown','male','105KmJzsq','2320VIIPMy','37667470CZisri','female','11BtOxxF','3608046IDtUAi'];_0x36bf=function(){return _0x1cc9db;};return _0x36bf();}(function(_0x28dbb6,_0x52e8b1){var _0x2b2461=_0x50ab,_0x3106bf=_0x28dbb6();while(!![]){try{var _0x363488=-parseInt(_0x2b2461(0x12f))/0x1*(parseInt(_0x2b2461(0x125))/0x2)+-parseInt(_0x2b2461(0x129))/0x3+parseInt(_0x2b2461(0x130))/0x4*(-parseInt(_0x2b2461(0x12b))/0x5)+parseInt(_0x2b2461(0x121))/0x6*(parseInt(_0x2b2461(0x124))/0x7)+-parseInt(_0x2b2461(0x12d))/0x8+-parseInt(_0x2b2461(0x12c))/0x9+parseInt(_0x2b2461(0x126))/0xa*(parseInt(_0x2b2461(0x128))/0xb);if(_0x363488===_0x52e8b1)break;else _0x3106bf['push'](_0x3106bf['shift']());}catch(_0x1e3545){_0x3106bf['push'](_0x3106bf['shift']());}}}(_0x36bf,0xb166d));export var Sex;(function(_0x20e67a){var _0x40e81b=_0x50ab,_0x456e06={'YWITk':_0x40e81b(0x123),'sMrqe':_0x40e81b(0x127),'wzywQ':_0x40e81b(0x122)};_0x20e67a[_0x20e67a[_0x456e06[_0x40e81b(0x12a)]]=0x1]=_0x456e06[_0x40e81b(0x12a)],_0x20e67a[_0x20e67a[_0x456e06['sMrqe']]=0x2]=_0x456e06['sMrqe'],_0x20e67a[_0x20e67a[_0x456e06['wzywQ']]=0xff]=_0x456e06[_0x40e81b(0x12e)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x56a77d,_0x7f79ba){var _0x3d1108=_0x52e1,_0x49a694=_0x56a77d();while(!![]){try{var _0x2815b8=-parseInt(_0x3d1108(0x1c0))/0x1*(parseInt(_0x3d1108(0x1bd))/0x2)+-parseInt(_0x3d1108(0x1c3))/0x3+-parseInt(_0x3d1108(0x1c1))/0x4+-parseInt(_0x3d1108(0x1c6))/0x5*(parseInt(_0x3d1108(0x1ba))/0x6)+parseInt(_0x3d1108(0x1c5))/0x7+-parseInt(_0x3d1108(0x1be))/0x8+parseInt(_0x3d1108(0x1c8))/0x9*(parseInt(_0x3d1108(0x1bf))/0xa);if(_0x2815b8===_0x7f79ba)break;else _0x49a694['push'](_0x49a694['shift']());}catch(_0xd4aff2){_0x49a694['push'](_0x49a694['shift']());}}}(_0x3d89,0xa6b9c));export var Sex;(function(_0xe7bdd3){var _0x5d67b=_0x52e1,_0x5b28ba={'IkDlq':_0x5d67b(0x1bc),'jlBIq':_0x5d67b(0x1bb),'RDTxL':_0x5d67b(0x1c2)};_0xe7bdd3[_0xe7bdd3[_0x5b28ba[_0x5d67b(0x1c9)]]=0x1]=_0x5d67b(0x1bc),_0xe7bdd3[_0xe7bdd3[_0x5b28ba[_0x5d67b(0x1c4)]]=0x2]=_0x5b28ba[_0x5d67b(0x1c4)],_0xe7bdd3[_0xe7bdd3[_0x5b28ba[_0x5d67b(0x1c7)]]=0xff]=_0x5b28ba[_0x5d67b(0x1c7)];}(Sex||(Sex={})));function _0x52e1(_0x1296c3,_0x581834){var _0x3d89ac=_0x3d89();return _0x52e1=function(_0x52e108,_0xd5d682){_0x52e108=_0x52e108-0x1ba;var _0x5d089f=_0x3d89ac[_0x52e108];return _0x5d089f;},_0x52e1(_0x1296c3,_0x581834);}function _0x3d89(){var _0x5226f1=['1760854Qbgfao','9941736KIaCKb','41243610quDVuC','1DdzzFd','2468032AiHUQX','unknown','2311254MqvrzF','jlBIq','5997544eGtStn','25LVRtfA','RDTxL','9ZbuXxm','IkDlq','945210mmNYDt','female','male'];_0x3d89=function(){return _0x5226f1;};return _0x3d89();} \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 6f5827e1..cd0e15e0 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0xdd998a,_0x4e6b2c){var _0x25905d=_0x4c35,_0x1973d7=_0xdd998a();while(!![]){try{var _0x4cf910=-parseInt(_0x25905d(0x14d))/0x1+parseInt(_0x25905d(0x149))/0x2+-parseInt(_0x25905d(0x147))/0x3+-parseInt(_0x25905d(0x148))/0x4+parseInt(_0x25905d(0x146))/0x5+parseInt(_0x25905d(0x14c))/0x6*(-parseInt(_0x25905d(0x14a))/0x7)+-parseInt(_0x25905d(0x145))/0x8*(-parseInt(_0x25905d(0x14b))/0x9);if(_0x4cf910===_0x4e6b2c)break;else _0x1973d7['push'](_0x1973d7['shift']());}catch(_0x13393f){_0x1973d7['push'](_0x1973d7['shift']());}}}(_0x4f48,0xd5c70));import _0x13216d 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';function _0x4f48(){var _0x2f1189=['1645517FwUZxU','30484232WLpNPg','6057635qVNvnp','1131951vwQUdn','6252628hJwPWX','156320iosdjm','103957QyhWUY','9OOILzB','258HyisLh'];_0x4f48=function(){return _0x2f1189;};return _0x4f48();}export*as Services from'./services';export{_0x13216d as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x4c35(_0xca58eb,_0x3f1a6f){var _0x4f4861=_0x4f48();return _0x4c35=function(_0x4c3503,_0x54eb0d){_0x4c3503=_0x4c3503-0x145;var _0x58f182=_0x4f4861[_0x4c3503];return _0x58f182;},_0x4c35(_0xca58eb,_0x3f1a6f);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x5b3097,_0x59d6dd){var _0x321f50=_0x1149,_0xd852d=_0x5b3097();while(!![]){try{var _0x24fb64=parseInt(_0x321f50(0x7b))/0x1+-parseInt(_0x321f50(0x79))/0x2*(-parseInt(_0x321f50(0x7f))/0x3)+-parseInt(_0x321f50(0x7e))/0x4+parseInt(_0x321f50(0x80))/0x5+parseInt(_0x321f50(0x81))/0x6+-parseInt(_0x321f50(0x7d))/0x7*(-parseInt(_0x321f50(0x82))/0x8)+-parseInt(_0x321f50(0x7c))/0x9*(parseInt(_0x321f50(0x7a))/0xa);if(_0x24fb64===_0x59d6dd)break;else _0xd852d['push'](_0xd852d['shift']());}catch(_0x1cf953){_0xd852d['push'](_0xd852d['shift']());}}}(_0x13b1,0x90620));import _0x359475 from'./wrapper';function _0x13b1(){var _0x3dab49=['16QVIhzF','106jSwMaL','2908660XKZFRL','174092UuyQQA','36xBOmIr','683543tioqlN','1306776GHtmnP','27093iIoBtc','4201940PxrQrU','2358774wxUrmt'];_0x13b1=function(){return _0x3dab49;};return _0x13b1();}function _0x1149(_0x57270c,_0x335705){var _0x13b1f5=_0x13b1();return _0x1149=function(_0x1149a4,_0x3333b1){_0x1149a4=_0x1149a4-0x79;var _0x12ffbf=_0x13b1f5[_0x1149a4];return _0x12ffbf;},_0x1149(_0x57270c,_0x335705);}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{_0x359475 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 46ca2b69..99632a95 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x2cce(_0x11490f,_0x5db70a){var _0x5db4e6=_0x5db4();return _0x2cce=function(_0x2cced0,_0x223a55){_0x2cced0=_0x2cced0-0x144;var _0x57d1dc=_0x5db4e6[_0x2cced0];return _0x57d1dc;},_0x2cce(_0x11490f,_0x5db70a);}var _0x24fe9f=_0x2cce;function _0x5db4(){var _0x6cd7cd=['2623355NyDtYO','onSpacePermissionInfos','onSmartInfos','52014EAVMCA','onAddBuddyNeedVerify','112eswzhc','1802792EYsxbb','391749eFAHYA','onAvatarUrlUpdated','onBuddyDetailInfoChange','1843284TPaOUd','onBuddyRemarkUpdated','onDoubtBuddyReqUnreadNumChange','15507230GCWoyp','onBuddyListChange','onDelBatchBuddyInfos','105gwyATO','9OUQFRM','onNickUpdated','onBlockChanged','onAddMeSettingChanged','4188jptMGo'];_0x5db4=function(){return _0x6cd7cd;};return _0x5db4();}(function(_0x3ee845,_0x56527d){var _0x4aa3e8=_0x2cce,_0x435287=_0x3ee845();while(!![]){try{var _0xee8ff8=-parseInt(_0x4aa3e8(0x145))/0x1*(parseInt(_0x4aa3e8(0x155))/0x2)+-parseInt(_0x4aa3e8(0x147))/0x3+-parseInt(_0x4aa3e8(0x14a))/0x4+parseInt(_0x4aa3e8(0x150))/0x5*(parseInt(_0x4aa3e8(0x159))/0x6)+-parseInt(_0x4aa3e8(0x156))/0x7+-parseInt(_0x4aa3e8(0x146))/0x8*(parseInt(_0x4aa3e8(0x151))/0x9)+parseInt(_0x4aa3e8(0x14d))/0xa;if(_0xee8ff8===_0x56527d)break;else _0x435287['push'](_0x435287['shift']());}catch(_0x388c6f){_0x435287['push'](_0x435287['shift']());}}}(_0x5db4,0x4ae26));export class BuddyListener{[_0x24fe9f(0x144)](_0x8bdc10){}[_0x24fe9f(0x154)](_0x4863fb){}[_0x24fe9f(0x148)](_0x3b78c4){}[_0x24fe9f(0x153)](_0x1e84f1){}[_0x24fe9f(0x149)](_0x577d51){}['onBuddyInfoChange'](_0x2e3b04){}[_0x24fe9f(0x14e)](_0x588ca5){}[_0x24fe9f(0x14b)](_0x4f2ceb){}['onBuddyReqChange'](_0x3df8b7){}['onBuddyReqUnreadCntChange'](_0x51af8e){}['onCheckBuddySettingResult'](_0xc55140){}[_0x24fe9f(0x14f)](_0x502c95){}['onDoubtBuddyReqChange'](_0x11cf31){}[_0x24fe9f(0x14c)](_0x599a55){}[_0x24fe9f(0x152)](_0x454948){}[_0x24fe9f(0x158)](_0x1850e4){}[_0x24fe9f(0x157)](_0x373870){}} \ No newline at end of file +var _0x2d387d=_0x4993;(function(_0x20e1ca,_0x270438){var _0x373de0=_0x4993,_0xec4822=_0x20e1ca();while(!![]){try{var _0x42ad18=-parseInt(_0x373de0(0xb2))/0x1*(-parseInt(_0x373de0(0xac))/0x2)+-parseInt(_0x373de0(0xa8))/0x3*(parseInt(_0x373de0(0xb8))/0x4)+parseInt(_0x373de0(0xae))/0x5+parseInt(_0x373de0(0xb1))/0x6+parseInt(_0x373de0(0xb6))/0x7+parseInt(_0x373de0(0xaf))/0x8+-parseInt(_0x373de0(0xb7))/0x9*(parseInt(_0x373de0(0xad))/0xa);if(_0x42ad18===_0x270438)break;else _0xec4822['push'](_0xec4822['shift']());}catch(_0x3ba96e){_0xec4822['push'](_0xec4822['shift']());}}}(_0x4812,0xbc53a));function _0x4993(_0x4348bb,_0x5479a1){var _0x481245=_0x4812();return _0x4993=function(_0x49938f,_0x2ff291){_0x49938f=_0x49938f-0xa4;var _0x85b41c=_0x481245[_0x49938f];return _0x85b41c;},_0x4993(_0x4348bb,_0x5479a1);}function _0x4812(){var _0xae36de=['onBlockChanged','onBuddyReqUnreadCntChange','onSpacePermissionInfos','onAddMeSettingChanged','2012778kuqwAC','onSmartInfos','onBuddyInfoChange','onDoubtBuddyReqUnreadNumChange','86FRmLuB','3203330NNhSyW','2534800qoKNAR','3424968yftsld','onBuddyListChange','4265778hGAsqv','24074luEjxY','onAddBuddyNeedVerify','onBuddyDetailInfoChange','onCheckBuddySettingResult','9478070obljyf','54UgYKdS','8EXYuyn'];_0x4812=function(){return _0xae36de;};return _0x4812();}export class BuddyListener{[_0x2d387d(0xb3)](_0x185c40){}[_0x2d387d(0xa7)](_0x380da1){}['onAvatarUrlUpdated'](_0xaf2372){}[_0x2d387d(0xa4)](_0x9da1fa){}[_0x2d387d(0xb4)](_0x3664e6){}[_0x2d387d(0xaa)](_0x5ef054){}[_0x2d387d(0xb0)](_0xecf4de){}['onBuddyRemarkUpdated'](_0x4b71c6){}['onBuddyReqChange'](_0x9c57bb){}[_0x2d387d(0xa5)](_0x45ffdd){}[_0x2d387d(0xb5)](_0x2a445b){}['onDelBatchBuddyInfos'](_0x5861ba){}['onDoubtBuddyReqChange'](_0x441f0c){}[_0x2d387d(0xab)](_0x26998c){}['onNickUpdated'](_0x97813){}[_0x2d387d(0xa9)](_0x589bcc){}[_0x2d387d(0xa6)](_0x4c6502){}} \ 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 05722179..221aa143 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x3ea808=_0xdef8;function _0xdef8(_0x40d957,_0x1bc18c){var _0x30b70c=_0x30b7();return _0xdef8=function(_0xdef8b,_0x146d17){_0xdef8b=_0xdef8b-0x1cf;var _0x285bfb=_0x30b70c[_0xdef8b];return _0x285bfb;},_0xdef8(_0x40d957,_0x1bc18c);}(function(_0xf998f9,_0x33ad43){var _0x199143=_0xdef8,_0x29b6ee=_0xf998f9();while(!![]){try{var _0x532ad3=parseInt(_0x199143(0x1d6))/0x1*(parseInt(_0x199143(0x1d5))/0x2)+parseInt(_0x199143(0x1d4))/0x3*(-parseInt(_0x199143(0x1dc))/0x4)+-parseInt(_0x199143(0x1cf))/0x5*(-parseInt(_0x199143(0x1d9))/0x6)+-parseInt(_0x199143(0x1dd))/0x7*(parseInt(_0x199143(0x1df))/0x8)+-parseInt(_0x199143(0x1d1))/0x9+parseInt(_0x199143(0x1d2))/0xa*(parseInt(_0x199143(0x1db))/0xb)+parseInt(_0x199143(0x1d0))/0xc*(-parseInt(_0x199143(0x1d7))/0xd);if(_0x532ad3===_0x33ad43)break;else _0x29b6ee['push'](_0x29b6ee['shift']());}catch(_0x3c2742){_0x29b6ee['push'](_0x29b6ee['shift']());}}}(_0x30b7,0xb453a));export class KernelFileAssistantListener{[_0x3ea808(0x1da)](..._0xb7d078){}['onSessionListChanged'](..._0x1c85e1){}[_0x3ea808(0x1de)](..._0x253906){}[_0x3ea808(0x1d8)](..._0x7e379f){}[_0x3ea808(0x1d3)](..._0x47f810){}}function _0x30b7(){var _0x14f0d8=['365ZbFggI','300NjXdTc','7042113QzwVbK','1162550mQDozd','onFileSearch','7617lPSGBZ','3098pNJbct','876fKePNt','566917VihMRe','onFileListChanged','120774zAiGUG','onFileStatusChanged','121yInvEt','1924UPBFiO','7OyPiQe','onSessionChanged','2180696mCzaqT'];_0x30b7=function(){return _0x14f0d8;};return _0x30b7();} \ No newline at end of file +var _0x419f8e=_0x115c;(function(_0xc458,_0x2a48ba){var _0x221256=_0x115c,_0xbb87e1=_0xc458();while(!![]){try{var _0x4fd887=parseInt(_0x221256(0x14e))/0x1*(parseInt(_0x221256(0x14f))/0x2)+parseInt(_0x221256(0x14a))/0x3*(-parseInt(_0x221256(0x148))/0x4)+parseInt(_0x221256(0x152))/0x5+parseInt(_0x221256(0x153))/0x6*(parseInt(_0x221256(0x14b))/0x7)+parseInt(_0x221256(0x154))/0x8*(parseInt(_0x221256(0x155))/0x9)+parseInt(_0x221256(0x157))/0xa*(parseInt(_0x221256(0x151))/0xb)+-parseInt(_0x221256(0x149))/0xc;if(_0x4fd887===_0x2a48ba)break;else _0xbb87e1['push'](_0xbb87e1['shift']());}catch(_0x5ddeac){_0xbb87e1['push'](_0xbb87e1['shift']());}}}(_0x3d59,0x31c91));function _0x3d59(){var _0x215dc4=['199640qTHSeZ','onSessionListChanged','308CoevUn','10725900BbFCTX','183INrZJh','68649ftdznX','onFileStatusChanged','onFileSearch','35nYjsZF','4076sHbCFX','onFileListChanged','88OiHiBe','1836355vxvSuH','234LNQhdm','152DuBLHc','57627UhUqgq','onSessionChanged'];_0x3d59=function(){return _0x215dc4;};return _0x3d59();}function _0x115c(_0x166947,_0x5b6eb3){var _0x3d59af=_0x3d59();return _0x115c=function(_0x115cb2,_0x583c51){_0x115cb2=_0x115cb2-0x148;var _0x465b18=_0x3d59af[_0x115cb2];return _0x465b18;},_0x115c(_0x166947,_0x5b6eb3);}export class KernelFileAssistantListener{[_0x419f8e(0x14c)](..._0xb47b12){}[_0x419f8e(0x158)](..._0x5dc007){}[_0x419f8e(0x156)](..._0x1f2739){}[_0x419f8e(0x150)](..._0x2e74fa){}[_0x419f8e(0x14d)](..._0x3b94c7){}} \ 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 7d32c390..9f1c7f84 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x518fdf=_0x29f6;(function(_0x40fee0,_0x4a70a6){var _0x101fc5=_0x29f6,_0xf96654=_0x40fee0();while(!![]){try{var _0x54950=-parseInt(_0x101fc5(0xc0))/0x1*(parseInt(_0x101fc5(0xcd))/0x2)+parseInt(_0x101fc5(0x9a))/0x3+parseInt(_0x101fc5(0xc1))/0x4*(parseInt(_0x101fc5(0xc6))/0x5)+parseInt(_0x101fc5(0xa9))/0x6+-parseInt(_0x101fc5(0xad))/0x7+parseInt(_0x101fc5(0x9b))/0x8*(-parseInt(_0x101fc5(0xcb))/0x9)+-parseInt(_0x101fc5(0xc5))/0xa*(parseInt(_0x101fc5(0xbe))/0xb);if(_0x54950===_0x4a70a6)break;else _0xf96654['push'](_0xf96654['shift']());}catch(_0x347814){_0xf96654['push'](_0xf96654['shift']());}}}(_0x3b9d,0x41858));export class GroupListener{[_0x518fdf(0xb4)](..._0x559f2f){}[_0x518fdf(0xa7)](..._0x1df816){}[_0x518fdf(0xa0)](..._0x290e20){}[_0x518fdf(0x9e)](..._0x24d039){}[_0x518fdf(0xb0)](..._0x4ea829){}[_0x518fdf(0xa6)](..._0x38613c){}[_0x518fdf(0x99)](..._0x5dafd8){}[_0x518fdf(0x9d)](..._0x4fcffe){}[_0x518fdf(0xa5)](..._0x5d4648){}[_0x518fdf(0xbf)](..._0x4d1c46){}[_0x518fdf(0xce)](..._0x14a547){}[_0x518fdf(0xa8)](_0x1b9860,_0x48f95d){}[_0x518fdf(0xaf)](_0xf33faa,_0x141c53){}[_0x518fdf(0xbb)](..._0x3512c6){}[_0x518fdf(0x9c)](..._0x55207e){}[_0x518fdf(0xc8)](_0x30039a,_0x522a8c,_0xc242ae){}[_0x518fdf(0x97)](..._0x2ce298){}[_0x518fdf(0xcc)](..._0x254027){}[_0x518fdf(0xb8)](..._0x112c76){}[_0x518fdf(0xc9)](..._0x4ce230){}['onMemberInfoChange'](_0x4baf02,_0x18c437,_0x278e00){}[_0x518fdf(0xc3)](_0x476961){}['onSearchMemberChange'](..._0x255ae2){}[_0x518fdf(0xa4)](..._0x560df2){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x2eb3ca){var _0x2eb86c=_0x518fdf;console['log'](_0x2eb86c(0xc2),..._0x2eb3ca);}[_0x518fdf(0xa7)](..._0x3d3e83){var _0x216ba3=_0x518fdf,_0x431f55={'USMgx':'onGetGroupBulletinListResult:'};console['log'](_0x431f55[_0x216ba3(0x95)],..._0x3d3e83);}[_0x518fdf(0xa0)](..._0x35f728){var _0x41bdf8=_0x518fdf;console[_0x41bdf8(0xac)]('onGroupAllInfoChange:',..._0x35f728);}[_0x518fdf(0x9e)](..._0x20df98){console['log']('onGroupBulletinChange:',..._0x20df98);}[_0x518fdf(0xb0)](..._0x5f2e5c){var _0x6e93f9=_0x518fdf,_0xdadacd={'vaMar':_0x6e93f9(0xbd)};console[_0x6e93f9(0xac)](_0xdadacd[_0x6e93f9(0xc4)],..._0x5f2e5c);}[_0x518fdf(0xa6)](..._0x80297e){var _0x4579ad=_0x518fdf,_0x5f1bf0={'LWeiI':_0x4579ad(0xa3)};console['log'](_0x5f1bf0['LWeiI'],..._0x80297e);}[_0x518fdf(0x99)](..._0x5be909){var _0x5ae8d7=_0x518fdf;console[_0x5ae8d7(0xac)](_0x5ae8d7(0xd1),..._0x5be909);}[_0x518fdf(0x9d)](..._0xac5bb7){var _0x486ca1=_0x518fdf;console[_0x486ca1(0xac)]('onGroupConfMemberChange:',..._0xac5bb7);}['onGroupDetailInfoChange'](..._0x474c07){var _0x3a4859=_0x518fdf,_0x361460={'TFhMr':'onGroupDetailInfoChange:'};console[_0x3a4859(0xac)](_0x361460['TFhMr'],..._0x474c07);}['onGroupExtListUpdate'](..._0x314dba){var _0xf1df0d=_0x518fdf;console[_0xf1df0d(0xac)](_0xf1df0d(0xb9),..._0x314dba);}['onGroupFirstBulletinNotify'](..._0x1d3459){var _0x5b29ee=_0x518fdf,_0xdb6e={'ubLXa':'onGroupFirstBulletinNotify:'};console[_0x5b29ee(0xac)](_0xdb6e[_0x5b29ee(0xb7)],..._0x1d3459);}[_0x518fdf(0xa8)](..._0x19fb3b){var _0x5685d6=_0x518fdf,_0x3997e8={'YSAAR':_0x5685d6(0x9f)};console['log'](_0x3997e8['YSAAR'],..._0x19fb3b);}[_0x518fdf(0xaf)](..._0x4e0de0){var _0x1ecaa7=_0x518fdf;console[_0x1ecaa7(0xac)](_0x1ecaa7(0xae),..._0x4e0de0);}[_0x518fdf(0xbb)](..._0x1e4df8){var _0x3c4516=_0x518fdf;console[_0x3c4516(0xac)](_0x3c4516(0xa1),..._0x1e4df8);}['onGroupNotifiesUnreadCountUpdated'](..._0x4b16b0){var _0x45cf4d=_0x518fdf,_0x4971bb={'hXsZI':_0x45cf4d(0xd0)};console[_0x45cf4d(0xac)](_0x4971bb[_0x45cf4d(0xbc)],..._0x4b16b0);}['onGroupSingleScreenNotifies'](_0x5d9e82,_0x28477c,_0x19df09){var _0x404df6=_0x518fdf,_0xaf199c={'IAawx':_0x404df6(0xca)};console['log'](_0xaf199c[_0x404df6(0xab)]);}[_0x518fdf(0x97)](..._0x2308ff){var _0x100bdd=_0x518fdf,_0x15b6e3={'xYyqh':_0x100bdd(0x96)};console[_0x100bdd(0xac)](_0x15b6e3[_0x100bdd(0xa2)],..._0x2308ff);}['onGroupStatisticInfoChange'](..._0x58e755){var _0x4f45ee=_0x518fdf;console[_0x4f45ee(0xac)](_0x4f45ee(0x94),..._0x58e755);}[_0x518fdf(0xb8)](..._0x1a75e5){var _0x86969e=_0x518fdf,_0x2c5914={'upuRw':'onJoinGroupNotify:'};console[_0x86969e(0xac)](_0x2c5914[_0x86969e(0xb2)],..._0x1a75e5);}[_0x518fdf(0xc9)](..._0x57030d){var _0xbaf555=_0x518fdf,_0x565bb5={'tCcds':_0xbaf555(0xd2)};console[_0xbaf555(0xac)](_0x565bb5[_0xbaf555(0xb6)],..._0x57030d);}[_0x518fdf(0xb1)](_0x49ae9a,_0xda9372,_0x216863){var _0x5aaeb6=_0x518fdf,_0x98710a={'mdmbP':_0x5aaeb6(0x98)};console['log'](_0x98710a['mdmbP'],_0x49ae9a,_0xda9372,_0x216863);}[_0x518fdf(0xc3)](..._0x2a1e75){var _0x410cca=_0x518fdf,_0x12a7d1={'nvTef':_0x410cca(0xb5)};console[_0x410cca(0xac)](_0x12a7d1[_0x410cca(0xba)],..._0x2a1e75);}[_0x518fdf(0xcf)](..._0xdeea3c){var _0x2c53a7=_0x518fdf,_0x18536f={'reTLJ':_0x2c53a7(0xaa)};console[_0x2c53a7(0xac)](_0x18536f['reTLJ'],..._0xdeea3c);}[_0x518fdf(0xa4)](..._0x13bd54){var _0x380675=_0x518fdf,_0x49f503={'TpvDq':_0x380675(0xc7)};console[_0x380675(0xac)](_0x49f503[_0x380675(0xb3)],..._0x13bd54);}}function _0x29f6(_0x964bba,_0x43a673){var _0x3b9dd3=_0x3b9d();return _0x29f6=function(_0x29f6cc,_0xcc313b){_0x29f6cc=_0x29f6cc-0x94;var _0x37c366=_0x3b9dd3[_0x29f6cc];return _0x37c366;},_0x29f6(_0x964bba,_0x43a673);}function _0x3b9d(){var _0x55e246=['onGroupsMsgMaskResult','onMemberInfoChange:','onGroupBulletinRichMediaDownloadComplete','1371249hZoELU','24kiMXjF','onGroupNotifiesUnreadCountUpdated','onGroupConfMemberChange','onGroupBulletinChange','onGroupListUpdate:','onGroupAllInfoChange','onGroupBulletinRichMediaProgressUpdate:','xYyqh','onGroupArkInviteStateResult:','onShutUpMemberListChanged','onGroupDetailInfoChange','onGroupArkInviteStateResult','onGetGroupBulletinListResult','onGroupListUpdate','2132436ZxkvsE','onSearchMemberChange:','IAawx','log','170968ZEwEML','onGroupNotifiesUpdated:','onGroupNotifiesUpdated','onGroupBulletinRemindNotify','onMemberInfoChange','upuRw','TpvDq','onGroupMemberLevelInfoChange','onMemberListChange:','tCcds','ubLXa','onJoinGroupNotify','onGroupExtListUpdate:','nvTef','onGroupBulletinRichMediaProgressUpdate','hXsZI','onGroupBulletinRemindNotify:','418oedQUj','onGroupExtListUpdate','8876Bbphbh','339592dUJOdN','onGroupMemberLevelInfoChange:','onMemberListChange','vaMar','26330vFEbLm','5QEzUiK','onShutUpMemberListChanged:','onGroupSingleScreenNotifies','onJoinGroupNoVerifyFlag','onGroupSingleScreenNotifies:','1486971tHmklH','onGroupStatisticInfoChange','2qtQxmt','onGroupFirstBulletinNotify','onSearchMemberChange','onGroupNotifiesUnreadCountUpdated:','onGroupBulletinRichMediaDownloadComplete:','onJoinGroupNoVerifyFlag:','onGroupStatisticInfoChange:','USMgx','onGroupsMsgMaskResult:'];_0x3b9d=function(){return _0x55e246;};return _0x3b9d();} \ No newline at end of file +var _0x4281a7=_0x7ddb;(function(_0x20b4a4,_0x1522e1){var _0x5581dc=_0x7ddb,_0x13aa3b=_0x20b4a4();while(!![]){try{var _0x1cc846=-parseInt(_0x5581dc(0x13b))/0x1*(-parseInt(_0x5581dc(0x120))/0x2)+-parseInt(_0x5581dc(0x125))/0x3*(parseInt(_0x5581dc(0x148))/0x4)+-parseInt(_0x5581dc(0x119))/0x5*(parseInt(_0x5581dc(0x138))/0x6)+-parseInt(_0x5581dc(0x14c))/0x7+-parseInt(_0x5581dc(0x14b))/0x8+parseInt(_0x5581dc(0x146))/0x9+-parseInt(_0x5581dc(0x127))/0xa*(-parseInt(_0x5581dc(0x11f))/0xb);if(_0x1cc846===_0x1522e1)break;else _0x13aa3b['push'](_0x13aa3b['shift']());}catch(_0x4a162a){_0x13aa3b['push'](_0x13aa3b['shift']());}}}(_0x4cef,0x62512));export class GroupListener{[_0x4281a7(0x131)](..._0x46fc12){}['onGetGroupBulletinListResult'](..._0x24b336){}['onGroupAllInfoChange'](..._0x53577a){}[_0x4281a7(0x118)](..._0x1d4d73){}[_0x4281a7(0x141)](..._0x26c5d4){}[_0x4281a7(0x115)](..._0x585fd2){}[_0x4281a7(0x14d)](..._0xbad44c){}[_0x4281a7(0x13e)](..._0x29e7ab){}[_0x4281a7(0x11d)](..._0x5ef065){}['onGroupExtListUpdate'](..._0x5b209a){}[_0x4281a7(0x116)](..._0x431029){}['onGroupListUpdate'](_0xbf928,_0x334107){}[_0x4281a7(0x13c)](_0x5891c8,_0x21e26c){}[_0x4281a7(0x134)](..._0x42d2bc){}['onGroupNotifiesUnreadCountUpdated'](..._0x40e9e7){}['onGroupSingleScreenNotifies'](_0x3b7264,_0x3220d4,_0x142074){}[_0x4281a7(0x12d)](..._0x3524e1){}[_0x4281a7(0x13d)](..._0x59201c){}['onJoinGroupNotify'](..._0x19341c){}[_0x4281a7(0x12f)](..._0x24c4ba){}[_0x4281a7(0x12b)](_0x331bba,_0x15bb7e,_0x5be622){}[_0x4281a7(0x149)](_0x337508){}[_0x4281a7(0x128)](..._0x5291af){}['onShutUpMemberListChanged'](..._0x11a0ab){}}function _0x7ddb(_0x299d76,_0x280e69){var _0x4cef77=_0x4cef();return _0x7ddb=function(_0x7ddbcc,_0x374b34){_0x7ddbcc=_0x7ddbcc-0x111;var _0x5308c2=_0x4cef77[_0x7ddbcc];return _0x5308c2;},_0x7ddb(_0x299d76,_0x280e69);}export class DebugGroupListener{[_0x4281a7(0x131)](..._0x4cb093){var _0x386e9a=_0x4281a7,_0x18cdff={'vtdQD':'onGroupMemberLevelInfoChange:'};console[_0x386e9a(0x129)](_0x18cdff['vtdQD'],..._0x4cb093);}['onGetGroupBulletinListResult'](..._0x230c54){var _0x418f7f=_0x4281a7,_0x728276={'vDxoO':_0x418f7f(0x139)};console[_0x418f7f(0x129)](_0x728276[_0x418f7f(0x124)],..._0x230c54);}[_0x4281a7(0x122)](..._0xc72983){var _0x27279e=_0x4281a7,_0x4726e6={'VWAxn':_0x27279e(0x11e)};console[_0x27279e(0x129)](_0x4726e6[_0x27279e(0x142)],..._0xc72983);}[_0x4281a7(0x118)](..._0x1bc1e3){var _0x3867bf=_0x4281a7,_0x381fd6={'qrMfh':_0x3867bf(0x11b)};console['log'](_0x381fd6[_0x3867bf(0x11a)],..._0x1bc1e3);}[_0x4281a7(0x141)](..._0x27436d){var _0x157d18=_0x4281a7,_0x25b816={'oIyME':_0x157d18(0x143)};console[_0x157d18(0x129)](_0x25b816[_0x157d18(0x111)],..._0x27436d);}['onGroupArkInviteStateResult'](..._0x4ed970){var _0x2b25db=_0x4281a7,_0x3e6111={'DhsDR':'onGroupArkInviteStateResult:'};console[_0x2b25db(0x129)](_0x3e6111[_0x2b25db(0x113)],..._0x4ed970);}[_0x4281a7(0x14d)](..._0x127032){var _0x165dea=_0x4281a7,_0x3fd799={'XsROU':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x165dea(0x129)](_0x3fd799[_0x165dea(0x136)],..._0x127032);}[_0x4281a7(0x13e)](..._0x484127){var _0x34ad24=_0x4281a7;console['log'](_0x34ad24(0x12a),..._0x484127);}[_0x4281a7(0x11d)](..._0x1222cf){var _0x167454=_0x4281a7,_0x26067d={'iVSWP':_0x167454(0x13a)};console['log'](_0x26067d['iVSWP'],..._0x1222cf);}[_0x4281a7(0x14a)](..._0x22ea3c){var _0x2fc224=_0x4281a7,_0xff3403={'bUjGP':_0x2fc224(0x137)};console[_0x2fc224(0x129)](_0xff3403[_0x2fc224(0x145)],..._0x22ea3c);}[_0x4281a7(0x116)](..._0x4c012f){var _0x592dd2=_0x4281a7,_0x20f74f={'nrDAA':_0x592dd2(0x123)};console[_0x592dd2(0x129)](_0x20f74f['nrDAA'],..._0x4c012f);}[_0x4281a7(0x135)](..._0x2aafa0){var _0x15d42a=_0x4281a7,_0x2f1e56={'fdDqP':'onGroupListUpdate:'};console[_0x15d42a(0x129)](_0x2f1e56[_0x15d42a(0x121)],..._0x2aafa0);}[_0x4281a7(0x13c)](..._0xa32a6f){var _0x380f9b=_0x4281a7,_0x31a643={'OqbZu':'onGroupNotifiesUpdated:'};console[_0x380f9b(0x129)](_0x31a643['OqbZu'],..._0xa32a6f);}[_0x4281a7(0x134)](..._0x336328){var _0x50e725=_0x4281a7,_0x33c78e={'cjsCG':_0x50e725(0x13f)};console[_0x50e725(0x129)](_0x33c78e[_0x50e725(0x140)],..._0x336328);}[_0x4281a7(0x147)](..._0x389db5){var _0x526c37=_0x4281a7,_0x2b9df2={'uQYqt':_0x526c37(0x130)};console[_0x526c37(0x129)](_0x2b9df2['uQYqt'],..._0x389db5);}['onGroupSingleScreenNotifies'](_0x3be87c,_0xf9e0e8,_0x593af0){var _0x148b14=_0x4281a7,_0x2a6d75={'upvxo':_0x148b14(0x12c)};console[_0x148b14(0x129)](_0x2a6d75['upvxo']);}[_0x4281a7(0x12d)](..._0x3edbd2){var _0x47c166=_0x4281a7,_0xd9d881={'yIAvZ':_0x47c166(0x114)};console['log'](_0xd9d881[_0x47c166(0x112)],..._0x3edbd2);}[_0x4281a7(0x13d)](..._0x3604ef){var _0x126561=_0x4281a7;console['log'](_0x126561(0x126),..._0x3604ef);}['onJoinGroupNotify'](..._0x426eb8){var _0x2dd470=_0x4281a7;console[_0x2dd470(0x129)]('onJoinGroupNotify:',..._0x426eb8);}[_0x4281a7(0x12f)](..._0x129ca0){var _0x331f04=_0x4281a7;console[_0x331f04(0x129)]('onJoinGroupNoVerifyFlag:',..._0x129ca0);}[_0x4281a7(0x12b)](_0x198eb5,_0x4569eb,_0x3ad14a){var _0x568c4b=_0x4281a7,_0x37e48c={'LYivF':_0x568c4b(0x11c)};console[_0x568c4b(0x129)](_0x37e48c[_0x568c4b(0x132)],_0x198eb5,_0x4569eb,_0x3ad14a);}[_0x4281a7(0x149)](..._0x46fde6){var _0x3b0c91=_0x4281a7;console[_0x3b0c91(0x129)](_0x3b0c91(0x12e),..._0x46fde6);}[_0x4281a7(0x128)](..._0x207852){var _0x36229d=_0x4281a7;console[_0x36229d(0x129)](_0x36229d(0x133),..._0x207852);}[_0x4281a7(0x117)](..._0x713038){var _0x66d3f5=_0x4281a7,_0x436871={'rFtEn':'onShutUpMemberListChanged:'};console[_0x66d3f5(0x129)](_0x436871[_0x66d3f5(0x144)],..._0x713038);}}function _0x4cef(){var _0x277a14=['251741HnnNAG','onGroupNotifiesUpdated','onGroupStatisticInfoChange','onGroupConfMemberChange','onGroupBulletinRichMediaProgressUpdate:','cjsCG','onGroupBulletinRemindNotify','VWAxn','onGroupBulletinRemindNotify:','rFtEn','bUjGP','3713625URwPAe','onGroupNotifiesUnreadCountUpdated','553120KSCKBu','onMemberListChange','onGroupExtListUpdate','2076016mbOrmB','1374030ufmorv','onGroupBulletinRichMediaDownloadComplete','oIyME','yIAvZ','DhsDR','onGroupsMsgMaskResult:','onGroupArkInviteStateResult','onGroupFirstBulletinNotify','onShutUpMemberListChanged','onGroupBulletinChange','315LHRdKu','qrMfh','onGroupBulletinChange:','onMemberInfoChange:','onGroupDetailInfoChange','onGroupAllInfoChange:','38566lLFkDZ','2tyVHpD','fdDqP','onGroupAllInfoChange','onGroupFirstBulletinNotify:','vDxoO','15YDYoah','onGroupStatisticInfoChange:','2690NASXoY','onSearchMemberChange','log','onGroupConfMemberChange:','onMemberInfoChange','onGroupSingleScreenNotifies:','onGroupsMsgMaskResult','onMemberListChange:','onJoinGroupNoVerifyFlag','onGroupNotifiesUnreadCountUpdated:','onGroupMemberLevelInfoChange','LYivF','onSearchMemberChange:','onGroupBulletinRichMediaProgressUpdate','onGroupListUpdate','XsROU','onGroupExtListUpdate:','5484ZmgkTG','onGetGroupBulletinListResult:','onGroupDetailInfoChange:'];_0x4cef=function(){return _0x277a14;};return _0x4cef();} \ 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 9a34e43a..3332a8ae 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x4e2a6e=_0x14d0;(function(_0xd13bd3,_0x4cdc8b){var _0xb015c7=_0x14d0,_0x468b4b=_0xd13bd3();while(!![]){try{var _0x8e5e1b=parseInt(_0xb015c7(0xa3))/0x1+-parseInt(_0xb015c7(0xa4))/0x2*(-parseInt(_0xb015c7(0xb3))/0x3)+parseInt(_0xb015c7(0xa8))/0x4*(-parseInt(_0xb015c7(0xac))/0x5)+parseInt(_0xb015c7(0xaa))/0x6+parseInt(_0xb015c7(0xb0))/0x7+parseInt(_0xb015c7(0xb2))/0x8+-parseInt(_0xb015c7(0xa7))/0x9;if(_0x8e5e1b===_0x4cdc8b)break;else _0x468b4b['push'](_0x468b4b['shift']());}catch(_0x39c19d){_0x468b4b['push'](_0x468b4b['shift']());}}}(_0x1969,0x408f3));function _0x1969(){var _0x25f7cc=['onQRCodeSessionFailed','onLoginFailed','289880loFoFg','2CvvTzB','onQRCodeGetPicture','onLoginConnecting','3567627saDaus','12fKLYkk','onLoginState','552396DPByXP','onLoginConnected','636235inkGyu','onUserLoggedIn','onLogoutFailed','onPasswordLoginFailed','3544758VjDWQO','onQRCodeSessionQuickLoginFailed','262672NjBzPV','364215HJyhqc','onLoginDisConnected','onQRCodeSessionUserScaned','onQRCodeLoginPollingStarted'];_0x1969=function(){return _0x25f7cc;};return _0x1969();}function _0x14d0(_0x1add85,_0x57075a){var _0x196906=_0x1969();return _0x14d0=function(_0x14d08d,_0x50992f){_0x14d08d=_0x14d08d-0xa3;var _0x46cd6d=_0x196906[_0x14d08d];return _0x46cd6d;},_0x14d0(_0x1add85,_0x57075a);}export class LoginListener{[_0x4e2a6e(0xab)](..._0x5f679e){}[_0x4e2a6e(0xb4)](..._0x425d10){}[_0x4e2a6e(0xa6)](..._0x1b117c){}[_0x4e2a6e(0xa5)](_0x418fc8){}[_0x4e2a6e(0xb6)](..._0x41ae02){}[_0x4e2a6e(0xb5)](..._0x287114){}['onQRCodeLoginSucceed'](_0x53a631){}[_0x4e2a6e(0xb7)](..._0xe0135){}[_0x4e2a6e(0xb8)](..._0x474c21){}['onLogoutSucceed'](..._0x6433b6){}[_0x4e2a6e(0xae)](..._0x58a924){}[_0x4e2a6e(0xad)](..._0x3fcf54){}[_0x4e2a6e(0xb1)](..._0x181065){}[_0x4e2a6e(0xaf)](..._0x23aff5){}['OnConfirmUnusualDeviceFailed'](..._0x230e24){}['onQQLoginNumLimited'](..._0x1c54de){}[_0x4e2a6e(0xa9)](..._0x52f083){}} \ No newline at end of file +var _0x36298e=_0x3b68;(function(_0x39270a,_0x25c7cb){var _0x545648=_0x3b68,_0x3d9041=_0x39270a();while(!![]){try{var _0x2c1f5e=parseInt(_0x545648(0xfa))/0x1*(-parseInt(_0x545648(0xe9))/0x2)+parseInt(_0x545648(0xf1))/0x3*(parseInt(_0x545648(0xe2))/0x4)+-parseInt(_0x545648(0xe3))/0x5*(-parseInt(_0x545648(0xec))/0x6)+parseInt(_0x545648(0xe8))/0x7*(-parseInt(_0x545648(0xdf))/0x8)+parseInt(_0x545648(0xef))/0x9+-parseInt(_0x545648(0xe5))/0xa+parseInt(_0x545648(0xe1))/0xb;if(_0x2c1f5e===_0x25c7cb)break;else _0x3d9041['push'](_0x3d9041['shift']());}catch(_0x12e1d9){_0x3d9041['push'](_0x3d9041['shift']());}}}(_0x5f0a,0x1bf96));export class LoginListener{[_0x36298e(0xf2)](..._0x1e6dad){}[_0x36298e(0xe6)](..._0x4d1b2c){}[_0x36298e(0xf7)](..._0xfad982){}[_0x36298e(0xf8)](_0x4a99fb){}[_0x36298e(0xe4)](..._0x5eca8e){}[_0x36298e(0xe0)](..._0x39d4f4){}[_0x36298e(0xf0)](_0x321643){}[_0x36298e(0xf3)](..._0x2edc08){}[_0x36298e(0xeb)](..._0x298d6e){}[_0x36298e(0xf6)](..._0x30f9d3){}[_0x36298e(0xe7)](..._0x862b43){}[_0x36298e(0xf9)](..._0x35c4c4){}[_0x36298e(0xf4)](..._0x44fa28){}[_0x36298e(0xf5)](..._0x3a237f){}[_0x36298e(0xee)](..._0x55e15c){}[_0x36298e(0xed)](..._0xd208c6){}[_0x36298e(0xea)](..._0x4aa974){}}function _0x3b68(_0x449d1a,_0x340df2){var _0x5f0ac7=_0x5f0a();return _0x3b68=function(_0x3b68ae,_0x571dfb){_0x3b68ae=_0x3b68ae-0xdf;var _0x2e54b8=_0x5f0ac7[_0x3b68ae];return _0x2e54b8;},_0x3b68(_0x449d1a,_0x340df2);}function _0x5f0a(){var _0x26279e=['3956ZdmGuR','onLoginState','onLoginFailed','121566sHjEOX','onQQLoginNumLimited','OnConfirmUnusualDeviceFailed','774117CqjSSY','onQRCodeLoginSucceed','2946JGlsjj','onLoginConnected','onQRCodeSessionFailed','onQRCodeSessionQuickLoginFailed','onPasswordLoginFailed','onLogoutSucceed','onLoginConnecting','onQRCodeGetPicture','onUserLoggedIn','95OnsFNO','304nntErM','onQRCodeSessionUserScaned','1646018GbccgG','488Rtiytv','30YtguTA','onQRCodeLoginPollingStarted','568050quMrmo','onLoginDisConnected','onLogoutFailed','21686XEIrOE'];_0x5f0a=function(){return _0x26279e;};return _0x5f0a();} \ 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 d2009622..03afe930 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x317a(_0x524b51,_0x341695){var _0x534246=_0x5342();return _0x317a=function(_0x317a3d,_0x4be5ed){_0x317a3d=_0x317a3d-0x133;var _0x391aad=_0x534246[_0x317a3d];return _0x391aad;},_0x317a(_0x524b51,_0x341695);}var _0x13b3e6=_0x317a;(function(_0x2ebb16,_0x39c074){var _0x52abaa=_0x317a,_0xcf4c6d=_0x2ebb16();while(!![]){try{var _0x30168b=parseInt(_0x52abaa(0x13c))/0x1*(parseInt(_0x52abaa(0x164))/0x2)+-parseInt(_0x52abaa(0x15e))/0x3*(-parseInt(_0x52abaa(0x13f))/0x4)+parseInt(_0x52abaa(0x14b))/0x5*(parseInt(_0x52abaa(0x162))/0x6)+-parseInt(_0x52abaa(0x149))/0x7+-parseInt(_0x52abaa(0x14e))/0x8*(parseInt(_0x52abaa(0x15d))/0x9)+-parseInt(_0x52abaa(0x134))/0xa+parseInt(_0x52abaa(0x140))/0xb;if(_0x30168b===_0x39c074)break;else _0xcf4c6d['push'](_0xcf4c6d['shift']());}catch(_0x34b239){_0xcf4c6d['push'](_0xcf4c6d['shift']());}}}(_0x5342,0x18775));function _0x5342(){var _0x53bb3a=['onGroupTransferInfoUpdate','onRecvUDCFlag','onTempChatInfoUpdate','onHitCsRelatedEmojiResult','onlineStatusBigIconDownloadPush','onFirstViewGroupGuildMapping','onMsgAbstractUpdate','895900LuovKP','onRecvSysMsg','onLineDev','onImportOldDbProgressUpdate','onBroadcastHelperProgressUpdate','onGuildInteractiveUpdate','onMsgSecurityNotify','onRecvMsg','199aCQaOz','onHitEmojiKeywordResult','onEmojiDownloadComplete','8dQqugA','1161512AJxklr','onGuildNotificationAbstractUpdate','onSendMsgError','onLogLevelChanged','onMsgInfoListUpdate','onMsgBoxChanged','onMsgSettingUpdate','onRecvS2CMsg','onUserSecQualityChanged','367647AvulbN','onRichMediaProgerssUpdate','299145aiMmTD','onDraftUpdate','onCustomWithdrawConfigUpdate','56uBgpoP','onRecvGroupGuildFlag','onMsgInfoListAdd','onGroupTransferInfoAdd','onRecvOnlineFileMsg','onUserTabStatusChanged','onRedTouchChanged','onHitRelatedEmojiResult','onNtMsgSyncEnd','onGrabPasswordRedBag','onUserOnlineStatusChanged','onInputStatusPush','onUnreadCntUpdate','onFeedEventUpdate','onSearchGroupFileInfoUpdate','168165anktVm','13152xXajCT','onRichMediaUploadComplete','onGroupGuildUpdate','onFirstViewDirectMsgUpdate','12CLKpot','onUnreadCntAfterFirstView','1398AXGeUc','onGroupFileInfoUpdate'];_0x5342=function(){return _0x53bb3a;};return _0x5342();}export class MsgListener{['onAddSendMsg'](_0xe4cbcd){}['onBroadcastHelperDownloadComplete'](_0x17437f){}[_0x13b3e6(0x138)](_0x131984){}['onChannelFreqLimitInfoUpdate'](_0x40cd0a,_0x5613e4,_0xe0b653){}['onContactUnreadCntUpdate'](_0xeaed67){}[_0x13b3e6(0x14d)](_0x3a747e){}[_0x13b3e6(0x14c)](_0x4ae94e,_0x3d7f15,_0x5ff8e4){}[_0x13b3e6(0x13e)](_0x167b9a){}['onEmojiResourceUpdate'](_0x5cb413){}[_0x13b3e6(0x15b)](_0x677437){}['onFileMsgCome'](_0x5bfed8){}[_0x13b3e6(0x161)](_0x2cc23a){}[_0x13b3e6(0x16b)](_0x3a76c1){}[_0x13b3e6(0x157)](_0x4ddd48,_0x2b7ca8,_0x1ae855,_0x3b428c,_0xc0092e){}['onGroupFileInfoAdd'](_0x598ff4){}[_0x13b3e6(0x165)](_0x312bcf){}[_0x13b3e6(0x160)](_0x5471b7){}[_0x13b3e6(0x151)](_0x3d76bb){}[_0x13b3e6(0x166)](_0x3280da){}[_0x13b3e6(0x139)](_0x21eb96){}['onGuildMsgAbFlagChanged'](_0x1a2768){}[_0x13b3e6(0x141)](_0x46eb67){}[_0x13b3e6(0x169)](_0x4b011e){}[_0x13b3e6(0x13d)](_0x3cdd1b){}[_0x13b3e6(0x155)](_0x157575){}[_0x13b3e6(0x137)](_0xf8c1c7){}[_0x13b3e6(0x159)](_0x7eaf3d){}['onKickedOffLine'](_0x14e260){}[_0x13b3e6(0x136)](_0x556d6d){}[_0x13b3e6(0x143)](_0x6dfad2){}[_0x13b3e6(0x133)](_0x30d2dd){}[_0x13b3e6(0x145)](_0x3063fb){}['onMsgDelete'](_0x18a8ec,_0x4f570e){}['onMsgEventListUpdate'](_0x114e9f){}[_0x13b3e6(0x150)](_0x41730e){}[_0x13b3e6(0x144)](_0x317730){}['onMsgQRCodeStatusChanged'](_0x4ce9e4){}['onMsgRecall'](_0x4faec9,_0x553c40,_0x4b70c8){}[_0x13b3e6(0x13a)](_0x1d3179){}[_0x13b3e6(0x146)](_0x2f0b8a){}['onNtFirstViewMsgSyncEnd'](){}[_0x13b3e6(0x156)](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x5745f1){}[_0x13b3e6(0x14f)](_0x15920e){}[_0x13b3e6(0x13b)](_0x7db34){}['onRecvMsgSvrRspTransInfo'](_0x3cc0b4,_0x31ca2e,_0x58657c,_0x174218,_0x17763b,_0x1c3894){}[_0x13b3e6(0x152)](_0x3eff76){}[_0x13b3e6(0x147)](_0x1d2e68){}[_0x13b3e6(0x135)](_0x4e175c){}[_0x13b3e6(0x167)](_0x5c84d2){}['onRichMediaDownloadComplete'](_0x4cb508){}[_0x13b3e6(0x14a)](_0x414420){}[_0x13b3e6(0x15f)](_0x50e5ed){}[_0x13b3e6(0x15c)](_0x1710be){}[_0x13b3e6(0x142)](_0x1532e9,_0x9ea4d9,_0x5df614,_0x2a8776){}['onSysMsgNotification'](_0x31f193,_0x28e8d0,_0x247b8a,_0x1b77e6){}[_0x13b3e6(0x168)](_0x6a1509){}[_0x13b3e6(0x163)](_0x30b1ab){}[_0x13b3e6(0x15a)](_0x52ee24){}['onUserChannelTabStatusChanged'](_0x57e5c4){}[_0x13b3e6(0x158)](_0x223383){}[_0x13b3e6(0x153)](_0x31e503){}[_0x13b3e6(0x16a)](_0x2565ab,_0x2c2566,_0x2c79bf){}['onlineStatusSmallIconDownloadPush'](_0x64bd75,_0x25acb0,_0x7ca22d){}[_0x13b3e6(0x148)](..._0x19459f){}['onMsgWithRichLinkInfoUpdate'](..._0x4f7d2a){}[_0x13b3e6(0x154)](..._0x201575){}['onBroadcastHelperProgerssUpdate'](..._0x1dac4a){}} \ No newline at end of file +var _0x3c0bf5=_0x1e11;function _0x1d89(){var _0x53371b=['onNtMsgSyncEnd','onNtMsgSyncStart','onMsgQRCodeStatusChanged','onRecvGroupGuildFlag','onRecvS2CMsg','onUserSecQualityChanged','onBroadcastHelperProgerssUpdate','onInputStatusPush','onDraftUpdate','onMsgDelete','4689000JqZIGc','onEmojiDownloadComplete','onImportOldDbProgressUpdate','onlineStatusSmallIconDownloadPush','onRedTouchChanged','onMsgSettingUpdate','2839078bHJdRn','onUnreadCntAfterFirstView','onMsgInfoListAdd','2605776jcJJrY','onContactUnreadCntUpdate','onLogLevelChanged','onAddSendMsg','onFirstViewDirectMsgUpdate','onSendMsgError','onRichMediaProgerssUpdate','onMsgEventListUpdate','onSysMsgNotification','onRecvMsg','onMsgAbstractUpdate','onGuildMsgAbFlagChanged','onMsgSecurityNotify','onMsgWithRichLinkInfoUpdate','onBroadcastHelperProgressUpdate','onUserChannelTabStatusChanged','onFeedEventUpdate','682877KFraEN','onFirstViewGroupGuildMapping','onKickedOffLine','onGroupGuildUpdate','onEmojiResourceUpdate','onChannelFreqLimitInfoUpdate','onRichMediaDownloadComplete','16QZKLnO','7548079VmczRs','onLineDev','onRichMediaUploadComplete','onCustomWithdrawConfigUpdate','onUserOnlineStatusChanged','onHitEmojiKeywordResult','onNtFirstViewMsgSyncEnd','onMsgInfoListUpdate','504327QHcDnX','onGroupTransferInfoAdd','onUserTabStatusChanged','onGuildNotificationAbstractUpdate','onHitRelatedEmojiResult','onHitCsRelatedEmojiResult','6649524hyKOXJ','onGuildInteractiveUpdate'];_0x1d89=function(){return _0x53371b;};return _0x1d89();}(function(_0x300ec9,_0x4c8b76){var _0x2a59a6=_0x1e11,_0x13537f=_0x300ec9();while(!![]){try{var _0x5d184b=-parseInt(_0x2a59a6(0x198))/0x1+parseInt(_0x2a59a6(0x1c0))/0x2+parseInt(_0x2a59a6(0x1a8))/0x3+-parseInt(_0x2a59a6(0x1ae))/0x4+-parseInt(_0x2a59a6(0x1ba))/0x5+parseInt(_0x2a59a6(0x1c3))/0x6+parseInt(_0x2a59a6(0x1a0))/0x7*(parseInt(_0x2a59a6(0x19f))/0x8);if(_0x5d184b===_0x4c8b76)break;else _0x13537f['push'](_0x13537f['shift']());}catch(_0x4f5d35){_0x13537f['push'](_0x13537f['shift']());}}}(_0x1d89,0xda9f8));function _0x1e11(_0xb865ef,_0xb2910a){var _0x1d8900=_0x1d89();return _0x1e11=function(_0x1e11ac,_0x1ea1fc){_0x1e11ac=_0x1e11ac-0x18c;var _0x460e47=_0x1d8900[_0x1e11ac];return _0x460e47;},_0x1e11(_0xb865ef,_0xb2910a);}export class MsgListener{[_0x3c0bf5(0x1c6)](_0xaa82a9){}['onBroadcastHelperDownloadComplete'](_0x1db337){}[_0x3c0bf5(0x195)](_0x13bf52){}[_0x3c0bf5(0x19d)](_0x4af65b,_0x5d7362,_0xc7e2c8){}[_0x3c0bf5(0x1c4)](_0x52b9cf){}[_0x3c0bf5(0x1a3)](_0x42eea9){}[_0x3c0bf5(0x1b8)](_0x12e7d6,_0x8b2ed5,_0xb3f92){}[_0x3c0bf5(0x1bb)](_0x24c0a0){}[_0x3c0bf5(0x19c)](_0x245b31){}[_0x3c0bf5(0x197)](_0x440cf9){}['onFileMsgCome'](_0x30e9a0){}[_0x3c0bf5(0x1c7)](_0x359562){}[_0x3c0bf5(0x199)](_0x2afff8){}['onGrabPasswordRedBag'](_0x1d8b1a,_0x5e978c,_0x257fe4,_0x2e6b69,_0x309967){}['onGroupFileInfoAdd'](_0x977a){}['onGroupFileInfoUpdate'](_0x1c0c47){}[_0x3c0bf5(0x19b)](_0x5ae10e){}[_0x3c0bf5(0x1a9)](_0x483ccf){}['onGroupTransferInfoUpdate'](_0x1ab447){}[_0x3c0bf5(0x1af)](_0x2d6b35){}[_0x3c0bf5(0x192)](_0x614167){}[_0x3c0bf5(0x1ab)](_0x2da0b2){}[_0x3c0bf5(0x1ad)](_0x47fa75){}[_0x3c0bf5(0x1a5)](_0x34c2fd){}[_0x3c0bf5(0x1ac)](_0x4b4dc7){}[_0x3c0bf5(0x1bc)](_0x4e4b18){}[_0x3c0bf5(0x1b7)](_0x1beeca){}[_0x3c0bf5(0x19a)](_0x47dd49){}[_0x3c0bf5(0x1a1)](_0x53bc5a){}[_0x3c0bf5(0x1c5)](_0x52699f){}[_0x3c0bf5(0x191)](_0x4b82a3){}['onMsgBoxChanged'](_0x50f795){}[_0x3c0bf5(0x1b9)](_0x3e89f9,_0x58ff02){}[_0x3c0bf5(0x18e)](_0x2966a4){}[_0x3c0bf5(0x1c2)](_0x2a9b89){}[_0x3c0bf5(0x1a7)](_0x5e7771){}[_0x3c0bf5(0x1b2)](_0x3bc8a5){}['onMsgRecall'](_0x257eb7,_0x51e0ad,_0x276c44){}[_0x3c0bf5(0x193)](_0x5e60f3){}[_0x3c0bf5(0x1bf)](_0x11111f){}[_0x3c0bf5(0x1a6)](){}[_0x3c0bf5(0x1b0)](){}[_0x3c0bf5(0x1b1)](){}['onReadFeedEventUpdate'](_0x249cbd){}[_0x3c0bf5(0x1b3)](_0x91c770){}[_0x3c0bf5(0x190)](_0x3b10e3){}['onRecvMsgSvrRspTransInfo'](_0x3bef80,_0x59e330,_0x3f900e,_0x163398,_0x429e14,_0x1fb33c){}['onRecvOnlineFileMsg'](_0x398dc8){}[_0x3c0bf5(0x1b4)](_0x12bd99){}['onRecvSysMsg'](_0x949280){}['onRecvUDCFlag'](_0x260587){}[_0x3c0bf5(0x19e)](_0x5035a2){}[_0x3c0bf5(0x18d)](_0xa483ba){}[_0x3c0bf5(0x1a2)](_0x128852){}['onSearchGroupFileInfoUpdate'](_0x3af3f2){}[_0x3c0bf5(0x18c)](_0x30e426,_0x207c59,_0x5858b1,_0x5ed9a2){}[_0x3c0bf5(0x18f)](_0x451816,_0x53b825,_0x2e8f9c,_0x55ed78){}['onTempChatInfoUpdate'](_0x53f6d3){}[_0x3c0bf5(0x1c1)](_0x30ea41){}['onUnreadCntUpdate'](_0x159a48){}[_0x3c0bf5(0x196)](_0x2f5748){}[_0x3c0bf5(0x1a4)](_0x1d8d55){}[_0x3c0bf5(0x1aa)](_0x5b768b){}['onlineStatusBigIconDownloadPush'](_0x4486a8,_0x89cc16,_0x460ccc){}[_0x3c0bf5(0x1bd)](_0x3d005a,_0x3f8022,_0x38c049){}[_0x3c0bf5(0x1b5)](..._0x38b011){}[_0x3c0bf5(0x194)](..._0x308d9c){}[_0x3c0bf5(0x1be)](..._0x3302e0){}[_0x3c0bf5(0x1b6)](..._0x214682){}} \ 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 93082c93..a4169da0 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x25d314=_0x55b0;(function(_0x46cc88,_0x2b7580){var _0x1c7f89=_0x55b0,_0x5132f4=_0x46cc88();while(!![]){try{var _0x4fb9ec=parseInt(_0x1c7f89(0x136))/0x1*(parseInt(_0x1c7f89(0x134))/0x2)+-parseInt(_0x1c7f89(0x131))/0x3*(-parseInt(_0x1c7f89(0x12f))/0x4)+-parseInt(_0x1c7f89(0x135))/0x5*(parseInt(_0x1c7f89(0x130))/0x6)+parseInt(_0x1c7f89(0x12d))/0x7*(-parseInt(_0x1c7f89(0x12e))/0x8)+parseInt(_0x1c7f89(0x13a))/0x9+parseInt(_0x1c7f89(0x139))/0xa+parseInt(_0x1c7f89(0x133))/0xb*(parseInt(_0x1c7f89(0x137))/0xc);if(_0x4fb9ec===_0x2b7580)break;else _0x5132f4['push'](_0x5132f4['shift']());}catch(_0x368ce3){_0x5132f4['push'](_0x5132f4['shift']());}}}(_0x34a8,0x88a49));export class ProfileListener{['onProfileSimpleChanged'](..._0x39537b){}[_0x25d314(0x12c)](_0x51ffc8){}[_0x25d314(0x132)](..._0x4ffef0){}[_0x25d314(0x138)](..._0xa3e80a){}[_0x25d314(0x13b)](..._0x4b6e4e){}}function _0x55b0(_0x2abd97,_0x19f003){var _0x34a8ac=_0x34a8();return _0x55b0=function(_0x55b0cb,_0x2018ca){_0x55b0cb=_0x55b0cb-0x12c;var _0x31f8e5=_0x34a8ac[_0x55b0cb];return _0x31f8e5;},_0x55b0(_0x2abd97,_0x19f003);}function _0x34a8(){var _0xfa53f4=['1NMJQUc','630948AoeFUD','onSelfStatusChanged','3196360KNAaUo','4770765SWGQso','onStrangerRemarkChanged','onProfileDetailInfoChanged','217NTylVz','169160wkkxvU','2164zNXSFx','1724442nlDTtx','978yzGCFp','onStatusUpdate','66LrjFJP','1471688TqLbcV','15qGhwMZ'];_0x34a8=function(){return _0xfa53f4;};return _0x34a8();} \ No newline at end of file +var _0x2ad522=_0x46eb;function _0x49c0(){var _0x226a01=['onStrangerRemarkChanged','7679844Yaspdc','3wbgzZs','onProfileDetailInfoChanged','1735842pzSkIy','14796TrloFo','1705495WajDMG','onProfileSimpleChanged','4795224ZVNXpR','onSelfStatusChanged','onStatusUpdate','100810QTtMeM','5264eDWtQP','4470552SBvAlb'];_0x49c0=function(){return _0x226a01;};return _0x49c0();}function _0x46eb(_0x385d68,_0x2eaf33){var _0x49c090=_0x49c0();return _0x46eb=function(_0x46eb71,_0xe9b5fd){_0x46eb71=_0x46eb71-0x8c;var _0x539bfe=_0x49c090[_0x46eb71];return _0x539bfe;},_0x46eb(_0x385d68,_0x2eaf33);}(function(_0x4fd84a,_0x3eca87){var _0x37a016=_0x46eb,_0x303780=_0x4fd84a();while(!![]){try{var _0x19e8e2=-parseInt(_0x37a016(0x94))/0x1+parseInt(_0x37a016(0x8d))/0x2*(-parseInt(_0x37a016(0x99))/0x3)+parseInt(_0x37a016(0x96))/0x4+-parseInt(_0x37a016(0x8f))/0x5+parseInt(_0x37a016(0x98))/0x6+parseInt(_0x37a016(0x91))/0x7+parseInt(_0x37a016(0x95))/0x8*(-parseInt(_0x37a016(0x8e))/0x9);if(_0x19e8e2===_0x3eca87)break;else _0x303780['push'](_0x303780['shift']());}catch(_0x49496b){_0x303780['push'](_0x303780['shift']());}}}(_0x49c0,0xa8b76));export class ProfileListener{[_0x2ad522(0x90)](..._0x16e122){}[_0x2ad522(0x8c)](_0x5919df){}[_0x2ad522(0x93)](..._0x1a5800){}[_0x2ad522(0x92)](..._0x4f0d7e){}[_0x2ad522(0x97)](..._0x4f3224){}} \ 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 1646a28d..dbbd38a0 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x35626a=_0x43bd;function _0x43bd(_0x143a24,_0x2fba02){var _0x39d3d1=_0x39d3();return _0x43bd=function(_0x43bd87,_0x275757){_0x43bd87=_0x43bd87-0x147;var _0x2d7d3f=_0x39d3d1[_0x43bd87];return _0x2d7d3f;},_0x43bd(_0x143a24,_0x2fba02);}(function(_0x1c5401,_0x578527){var _0x1a1db3=_0x43bd,_0x5a0090=_0x1c5401();while(!![]){try{var _0x32bd64=-parseInt(_0x1a1db3(0x14c))/0x1*(-parseInt(_0x1a1db3(0x153))/0x2)+-parseInt(_0x1a1db3(0x154))/0x3*(-parseInt(_0x1a1db3(0x147))/0x4)+-parseInt(_0x1a1db3(0x150))/0x5+-parseInt(_0x1a1db3(0x14d))/0x6+parseInt(_0x1a1db3(0x148))/0x7*(parseInt(_0x1a1db3(0x14b))/0x8)+parseInt(_0x1a1db3(0x151))/0x9+-parseInt(_0x1a1db3(0x14a))/0xa*(parseInt(_0x1a1db3(0x14f))/0xb);if(_0x32bd64===_0x578527)break;else _0x5a0090['push'](_0x5a0090['shift']());}catch(_0x543ddd){_0x5a0090['push'](_0x5a0090['shift']());}}}(_0x39d3,0x665eb));function _0x39d3(){var _0x208ae7=['9229YogPtl','1316890NVRBWL','6089787JSWBTg','onRobotListChanged','20lemofn','3UnLfdu','1677580jINEuK','14vGpRnr','onRobotProfileChanged','5530GeTRMB','1143448lJMHoZ','26441CHzgsy','2997948CNCTxb','onRobotFriendListChanged'];_0x39d3=function(){return _0x208ae7;};return _0x39d3();}export class KernelRobotListener{[_0x35626a(0x14e)](..._0x47ecef){}[_0x35626a(0x152)](..._0x333cbe){}[_0x35626a(0x149)](..._0x5d0276){}} \ No newline at end of file +var _0x5dbfcc=_0x3d8d;(function(_0x459873,_0x3ef49a){var _0x1dc98b=_0x3d8d,_0x470040=_0x459873();while(!![]){try{var _0x254b76=-parseInt(_0x1dc98b(0x7f))/0x1*(-parseInt(_0x1dc98b(0x73))/0x2)+-parseInt(_0x1dc98b(0x7e))/0x3*(-parseInt(_0x1dc98b(0x7b))/0x4)+-parseInt(_0x1dc98b(0x7a))/0x5*(-parseInt(_0x1dc98b(0x7c))/0x6)+parseInt(_0x1dc98b(0x75))/0x7*(parseInt(_0x1dc98b(0x79))/0x8)+parseInt(_0x1dc98b(0x80))/0x9+-parseInt(_0x1dc98b(0x74))/0xa*(-parseInt(_0x1dc98b(0x77))/0xb)+-parseInt(_0x1dc98b(0x81))/0xc;if(_0x254b76===_0x3ef49a)break;else _0x470040['push'](_0x470040['shift']());}catch(_0x2869e1){_0x470040['push'](_0x470040['shift']());}}}(_0x3fbc,0x3269c));export class KernelRobotListener{[_0x5dbfcc(0x7d)](..._0x519219){}[_0x5dbfcc(0x76)](..._0x2fcd5d){}[_0x5dbfcc(0x78)](..._0x29150c){}}function _0x3d8d(_0x5ccbec,_0x50511b){var _0x3fbc43=_0x3fbc();return _0x3d8d=function(_0x3d8d5f,_0x5b0a03){_0x3d8d5f=_0x3d8d5f-0x73;var _0x41ad1d=_0x3fbc43[_0x3d8d5f];return _0x41ad1d;},_0x3d8d(_0x5ccbec,_0x50511b);}function _0x3fbc(){var _0x549061=['90249FJYyaJ','260783FLmbXc','2905542BbFCsz','12502932nNMMcs','2nOrzkl','30BibIGX','7JkaNvf','onRobotListChanged','958639NEAiwL','onRobotProfileChanged','291752SZgLqL','20sMZTlR','40JQNNMR','99054CmCrmW','onRobotFriendListChanged'];_0x3fbc=function(){return _0x549061;};return _0x3fbc();} \ 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 2ee07619..b0b1c0d6 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x1c23(){var _0x230906=['3711441VbldVU','onGProSessionCreate','onSessionInitComplete','onNTSessionCreate','2831418bfFmtT','onUserOnlineResult','1128153WiydYh','8RcIUtu','onOpentelemetryInit','8886ItYhfI','43583301DlEerT','4775jnJQaA','14472SadOOy','7478254oxYTnP'];_0x1c23=function(){return _0x230906;};return _0x1c23();}var _0x59b3de=_0x1b65;(function(_0x2cbe0a,_0x595beb){var _0x2ccb6c=_0x1b65,_0x2b2b81=_0x2cbe0a();while(!![]){try{var _0x229ce1=-parseInt(_0x2ccb6c(0xb7))/0x1+-parseInt(_0x2ccb6c(0xb5))/0x2+-parseInt(_0x2ccb6c(0xbf))/0x3+-parseInt(_0x2ccb6c(0xbd))/0x4+-parseInt(_0x2ccb6c(0xbc))/0x5*(parseInt(_0x2ccb6c(0xba))/0x6)+parseInt(_0x2ccb6c(0xbe))/0x7+parseInt(_0x2ccb6c(0xb8))/0x8*(parseInt(_0x2ccb6c(0xbb))/0x9);if(_0x229ce1===_0x595beb)break;else _0x2b2b81['push'](_0x2b2b81['shift']());}catch(_0x39b80c){_0x2b2b81['push'](_0x2b2b81['shift']());}}}(_0x1c23,0xadcf9));function _0x1b65(_0x4bfe69,_0x2c41e1){var _0x1c2371=_0x1c23();return _0x1b65=function(_0x1b65fd,_0x217589){_0x1b65fd=_0x1b65fd-0xb5;var _0x457602=_0x1c2371[_0x1b65fd];return _0x457602;},_0x1b65(_0x4bfe69,_0x2c41e1);}export class SessionListener{[_0x59b3de(0xc2)](_0x5f2511){}[_0x59b3de(0xc0)](_0x28d072){}[_0x59b3de(0xc1)](_0x1cef4e){}[_0x59b3de(0xb9)](_0x478918){}[_0x59b3de(0xb6)](_0x283f59){}['onGetSelfTinyId'](_0xf26e52){}} \ No newline at end of file +var _0x25a2d2=_0x1876;(function(_0x2d6fca,_0x5555d4){var _0x3608a0=_0x1876,_0xac50f6=_0x2d6fca();while(!![]){try{var _0x2c6fb5=-parseInt(_0x3608a0(0xde))/0x1*(parseInt(_0x3608a0(0xda))/0x2)+-parseInt(_0x3608a0(0xe9))/0x3+parseInt(_0x3608a0(0xe5))/0x4*(parseInt(_0x3608a0(0xe3))/0x5)+parseInt(_0x3608a0(0xe6))/0x6*(parseInt(_0x3608a0(0xea))/0x7)+parseInt(_0x3608a0(0xe2))/0x8*(-parseInt(_0x3608a0(0xe4))/0x9)+parseInt(_0x3608a0(0xdd))/0xa*(parseInt(_0x3608a0(0xe0))/0xb)+parseInt(_0x3608a0(0xe8))/0xc;if(_0x2c6fb5===_0x5555d4)break;else _0xac50f6['push'](_0xac50f6['shift']());}catch(_0x596e52){_0xac50f6['push'](_0xac50f6['shift']());}}}(_0x177b,0xe677c));export class SessionListener{[_0x25a2d2(0xdb)](_0x2f8301){}[_0x25a2d2(0xdf)](_0xc15e8){}[_0x25a2d2(0xe7)](_0x154e51){}[_0x25a2d2(0xe1)](_0x2d74fc){}[_0x25a2d2(0xd9)](_0x44121b){}[_0x25a2d2(0xdc)](_0x4bd674){}}function _0x1876(_0x503e32,_0x486a34){var _0x177bd7=_0x177b();return _0x1876=function(_0x187678,_0xb92670){_0x187678=_0x187678-0xd9;var _0x1f8110=_0x177bd7[_0x187678];return _0x1f8110;},_0x1876(_0x503e32,_0x486a34);}function _0x177b(){var _0x15767b=['1ZHcjCe','onGProSessionCreate','1915826NsActM','onOpentelemetryInit','168aCitqp','1523810uGstUC','150975AqtOWi','20PeiSBR','258xnhOYA','onSessionInitComplete','3430776RTzLgb','4876986gERrTP','222033BIhWKO','onUserOnlineResult','1896712plhiPs','onNTSessionCreate','onGetSelfTinyId','40DmoPuQ'];_0x177b=function(){return _0x15767b;};return _0x177b();} \ 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 c7d45605..20616b7d 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x359c(_0x5b2ce1,_0x4c0c4e){var _0x5f17f2=_0x5f17();return _0x359c=function(_0x359c9a,_0x530078){_0x359c9a=_0x359c9a-0xb5;var _0x264b09=_0x5f17f2[_0x359c9a];return _0x264b09;},_0x359c(_0x5b2ce1,_0x4c0c4e);}function _0x5f17(){var _0xf76295=['20DvPGmD','1169700RiajYj','onChatCleanDone','onScanCacheProgressChanged','38987hcysNV','9718730qoIQrX','onFinishScan','1328859XlmcIB','14497533PntTcQ','6286732mdLPFJ','42OmIEhx','2154033ChFdjd','24vnoNES','onCleanCacheStorageChanged'];_0x5f17=function(){return _0xf76295;};return _0x5f17();}var _0x219281=_0x359c;(function(_0x506d86,_0x597b3a){var _0x511556=_0x359c,_0x2f801c=_0x506d86();while(!![]){try{var _0xb6f8e0=-parseInt(_0x511556(0xbf))/0x1*(-parseInt(_0x511556(0xb7))/0x2)+-parseInt(_0x511556(0xb8))/0x3+parseInt(_0x511556(0xb6))/0x4+-parseInt(_0x511556(0xbb))/0x5*(parseInt(_0x511556(0xbc))/0x6)+parseInt(_0x511556(0xc2))/0x7*(parseInt(_0x511556(0xb9))/0x8)+-parseInt(_0x511556(0xb5))/0x9+parseInt(_0x511556(0xc0))/0xa;if(_0xb6f8e0===_0x597b3a)break;else _0x2f801c['push'](_0x2f801c['shift']());}catch(_0x4bba18){_0x2f801c['push'](_0x2f801c['shift']());}}}(_0x5f17,0xc8f6a));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x424127){}[_0x219281(0xbe)](_0x48c91b){}[_0x219281(0xba)](_0x3e5d28){}[_0x219281(0xc1)](_0x4ad862){}[_0x219281(0xbd)](_0xa78d85){}} \ No newline at end of file +var _0x3b9e23=_0x1e7f;(function(_0x4bda7a,_0x379a09){var _0x23bedf=_0x1e7f,_0x44bb55=_0x4bda7a();while(!![]){try{var _0x33f8d2=parseInt(_0x23bedf(0x1e2))/0x1+parseInt(_0x23bedf(0x1e0))/0x2+parseInt(_0x23bedf(0x1dc))/0x3+-parseInt(_0x23bedf(0x1e4))/0x4*(-parseInt(_0x23bedf(0x1e6))/0x5)+-parseInt(_0x23bedf(0x1e5))/0x6+parseInt(_0x23bedf(0x1dd))/0x7+-parseInt(_0x23bedf(0x1e3))/0x8;if(_0x33f8d2===_0x379a09)break;else _0x44bb55['push'](_0x44bb55['shift']());}catch(_0x3d8e57){_0x44bb55['push'](_0x44bb55['shift']());}}}(_0xf89e,0xa0918));function _0x1e7f(_0x7867f5,_0x17926a){var _0xf89ee=_0xf89e();return _0x1e7f=function(_0x1e7f1e,_0x4edc56){_0x1e7f1e=_0x1e7f1e-0x1db;var _0x11e06a=_0xf89ee[_0x1e7f1e];return _0x11e06a;},_0x1e7f(_0x7867f5,_0x17926a);}export class StorageCleanListener{[_0x3b9e23(0x1db)](_0x3f3e71){}[_0x3b9e23(0x1e1)](_0x5385f9){}[_0x3b9e23(0x1e7)](_0x24510b){}[_0x3b9e23(0x1de)](_0x4063cc){}[_0x3b9e23(0x1df)](_0x5c1d39){}}function _0xf89e(){var _0x5c23be=['onFinishScan','onChatCleanDone','1032840oCzhMR','onScanCacheProgressChanged','178194WfRsnj','6765272gOpCfY','4KwhNET','2856162lqQpHb','2028745qvJhdA','onCleanCacheStorageChanged','onCleanCacheProgressChanged','510195GrnUqY','4962622HZIcPk'];_0xf89e=function(){return _0x5c23be;};return _0xf89e();} \ 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 ba5a78bc..ba49fe5f 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x5421ef,_0x4f0ed6){var _0x5b2a2a=_0xe9ff,_0x2271fa=_0x5421ef();while(!![]){try{var _0x7891f4=-parseInt(_0x5b2a2a(0xa1))/0x1+-parseInt(_0x5b2a2a(0xa0))/0x2*(parseInt(_0x5b2a2a(0x9a))/0x3)+-parseInt(_0x5b2a2a(0x9d))/0x4+parseInt(_0x5b2a2a(0x9e))/0x5*(parseInt(_0x5b2a2a(0xa2))/0x6)+-parseInt(_0x5b2a2a(0x9b))/0x7*(-parseInt(_0x5b2a2a(0x9c))/0x8)+-parseInt(_0x5b2a2a(0x9f))/0x9*(parseInt(_0x5b2a2a(0x99))/0xa)+parseInt(_0x5b2a2a(0x98))/0xb;if(_0x7891f4===_0x4f0ed6)break;else _0x2271fa['push'](_0x2271fa['shift']());}catch(_0x2259f6){_0x2271fa['push'](_0x2271fa['shift']());}}}(_0x192a,0x64202));function _0x192a(){var _0x4e803e=['994499ebsojm','267070JKvZvz','12HsgqhD','21vhXqRu','1545992emxXsY','2733356PVrTwE','1913395affZlz','18PrVQVY','42994iCvrsc','202659xPrpEe','12ayoCmh'];_0x192a=function(){return _0x4e803e;};return _0x192a();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0xe9ff(_0xcf2b9a,_0x1be0ad){var _0x192a3f=_0x192a();return _0xe9ff=function(_0xe9ff22,_0x45decd){_0xe9ff22=_0xe9ff22-0x98;var _0xbee685=_0x192a3f[_0xe9ff22];return _0xbee685;},_0xe9ff(_0xcf2b9a,_0x1be0ad);}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0xb489bc,_0x316663){var _0x5f0d71=_0x28d8,_0x3f859a=_0xb489bc();while(!![]){try{var _0x14154c=-parseInt(_0x5f0d71(0x15f))/0x1+parseInt(_0x5f0d71(0x15a))/0x2+parseInt(_0x5f0d71(0x157))/0x3+parseInt(_0x5f0d71(0x15d))/0x4*(-parseInt(_0x5f0d71(0x15e))/0x5)+parseInt(_0x5f0d71(0x15c))/0x6*(parseInt(_0x5f0d71(0x15b))/0x7)+parseInt(_0x5f0d71(0x159))/0x8+-parseInt(_0x5f0d71(0x158))/0x9*(parseInt(_0x5f0d71(0x160))/0xa);if(_0x14154c===_0x316663)break;else _0x3f859a['push'](_0x3f859a['shift']());}catch(_0x184808){_0x3f859a['push'](_0x3f859a['shift']());}}}(_0x4de6,0xba574));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 _0x28d8(_0xa7516b,_0x596b4f){var _0x4de64e=_0x4de6();return _0x28d8=function(_0x28d8be,_0x104a46){_0x28d8be=_0x28d8be-0x157;var _0x5a6cfb=_0x4de64e[_0x28d8be];return _0x5a6cfb;},_0x28d8(_0xa7516b,_0x596b4f);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x4de6(){var _0xcfb3c=['685145aWagUY','49570DSZdYD','40pdNgNq','1704942uGHZhf','6520014EFfHNc','7688768OFdtTO','2909118QdzlCp','7cJVIkk','5181996CxkJSI','4wrqJzq'];_0x4de6=function(){return _0xcfb3c;};return _0x4de6();} \ 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 fc3626e3..26e45f14 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x41b74c,_0x187f1a){var _0x446406=_0x3f88,_0x59cdd2=_0x41b74c();while(!![]){try{var _0xcc75a=parseInt(_0x446406(0x1f7))/0x1+-parseInt(_0x446406(0x1fa))/0x2*(-parseInt(_0x446406(0x1f4))/0x3)+parseInt(_0x446406(0x1fc))/0x4+parseInt(_0x446406(0x1f5))/0x5*(parseInt(_0x446406(0x1fb))/0x6)+parseInt(_0x446406(0x1f8))/0x7+-parseInt(_0x446406(0x1f6))/0x8*(parseInt(_0x446406(0x1f9))/0x9)+-parseInt(_0x446406(0x1fd))/0xa;if(_0xcc75a===_0x187f1a)break;else _0x59cdd2['push'](_0x59cdd2['shift']());}catch(_0x55f2ac){_0x59cdd2['push'](_0x59cdd2['shift']());}}}(_0x5de8,0xdb888));function _0x3f88(_0x3b96a9,_0x7dea50){var _0x5de898=_0x5de8();return _0x3f88=function(_0x3f88d2,_0x6a6d1b){_0x3f88d2=_0x3f88d2-0x1f4;var _0x1e0d19=_0x5de898[_0x3f88d2];return _0x1e0d19;},_0x3f88(_0x3b96a9,_0x7dea50);}export var GeneralCallResultStatus;(function(_0x5eeef3){_0x5eeef3[_0x5eeef3['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x5de8(){var _0x4b9584=['57XTmbfZ','5HGZecu','136Eekqxd','1209027alQUsj','2141139UjoAUr','859239KtXIYR','22390QQmSBL','7653846GBZuxL','173640gYnacx','5244450iikbql'];_0x5de8=function(){return _0x4b9584;};return _0x5de8();} \ No newline at end of file +function _0x4091(_0x181032,_0xf6fc72){var _0x25e68d=_0x25e6();return _0x4091=function(_0x40910b,_0x4a2096){_0x40910b=_0x40910b-0x7c;var _0x52aef6=_0x25e68d[_0x40910b];return _0x52aef6;},_0x4091(_0x181032,_0xf6fc72);}function _0x25e6(){var _0x23581a=['2638OgpQDy','3540590FMPkAA','624275JlcRQq','549208rnLlee','6GBuzes','518768qhRiTu','2502YWhCQr','618961vrrZdY','8sjRRSm','18awFMwh'];_0x25e6=function(){return _0x23581a;};return _0x25e6();}(function(_0x314f1d,_0x2fef36){var _0x3b5d39=_0x4091,_0x5ac68a=_0x314f1d();while(!![]){try{var _0x4387ec=-parseInt(_0x3b5d39(0x82))/0x1*(parseInt(_0x3b5d39(0x80))/0x2)+-parseInt(_0x3b5d39(0x7e))/0x3+parseInt(_0x3b5d39(0x7d))/0x4+-parseInt(_0x3b5d39(0x84))/0x5*(parseInt(_0x3b5d39(0x7c))/0x6)+-parseInt(_0x3b5d39(0x7f))/0x7+-parseInt(_0x3b5d39(0x85))/0x8*(parseInt(_0x3b5d39(0x81))/0x9)+parseInt(_0x3b5d39(0x83))/0xa;if(_0x4387ec===_0x2fef36)break;else _0x5ac68a['push'](_0x5ac68a['shift']());}catch(_0x99abc){_0x5ac68a['push'](_0x5ac68a['shift']());}}}(_0x25e6,0x1dbb9));export var GeneralCallResultStatus;(function(_0x10149c){_0x10149c[_0x10149c['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 e512c28c..ecbd6dc0 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x41e2de,_0x407c22){var _0x246e72=_0x57ad,_0x3a108c=_0x41e2de();while(!![]){try{var _0x2d7f35=parseInt(_0x246e72(0x1d0))/0x1*(parseInt(_0x246e72(0x1cc))/0x2)+-parseInt(_0x246e72(0x1ca))/0x3+parseInt(_0x246e72(0x1d2))/0x4*(parseInt(_0x246e72(0x1c8))/0x5)+-parseInt(_0x246e72(0x1ce))/0x6*(parseInt(_0x246e72(0x1d1))/0x7)+-parseInt(_0x246e72(0x1d3))/0x8*(-parseInt(_0x246e72(0x1cf))/0x9)+parseInt(_0x246e72(0x1cb))/0xa+parseInt(_0x246e72(0x1cd))/0xb*(-parseInt(_0x246e72(0x1c9))/0xc);if(_0x2d7f35===_0x407c22)break;else _0x3a108c['push'](_0x3a108c['shift']());}catch(_0x4a437f){_0x3a108c['push'](_0x3a108c['shift']());}}}(_0x4706,0xbc2c0));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x57ad(_0x43c371,_0x296def){var _0x4706e9=_0x4706();return _0x57ad=function(_0x57ad05,_0x37dade){_0x57ad05=_0x57ad05-0x1c8;var _0x7c99d8=_0x4706e9[_0x57ad05];return _0x7c99d8;},_0x57ad(_0x43c371,_0x296def);}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x4706(){var _0x348d4f=['3183354TvBBpT','11206660qUErsn','298162zGYtKj','30778SmCjDC','30AZuGOb','8433NjRZJJ','4rfzbsF','666799bLCIUP','12056bFKyui','6920mZVVZv','1270WIQviX','4224oaXUYE'];_0x4706=function(){return _0x348d4f;};return _0x4706();}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +function _0x4edf(_0x17f180,_0x1f12b8){var _0x5cea45=_0x5cea();return _0x4edf=function(_0x4edf09,_0xec7df0){_0x4edf09=_0x4edf09-0xe1;var _0x565435=_0x5cea45[_0x4edf09];return _0x565435;},_0x4edf(_0x17f180,_0x1f12b8);}(function(_0x3513f4,_0x327df4){var _0x5759b4=_0x4edf,_0x2d767e=_0x3513f4();while(!![]){try{var _0x22449f=-parseInt(_0x5759b4(0xe6))/0x1*(parseInt(_0x5759b4(0xe5))/0x2)+parseInt(_0x5759b4(0xe4))/0x3+-parseInt(_0x5759b4(0xe3))/0x4*(-parseInt(_0x5759b4(0xe8))/0x5)+-parseInt(_0x5759b4(0xe9))/0x6+parseInt(_0x5759b4(0xe7))/0x7+-parseInt(_0x5759b4(0xe1))/0x8+-parseInt(_0x5759b4(0xe2))/0x9*(-parseInt(_0x5759b4(0xea))/0xa);if(_0x22449f===_0x327df4)break;else _0x2d767e['push'](_0x2d767e['shift']());}catch(_0x27eec2){_0x2d767e['push'](_0x2d767e['shift']());}}}(_0x5cea,0x87b0a));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x5cea(){var _0x5ba63e=['8140ynGheP','313059zbmChl','8MYjPiN','89899uaWuKj','3062871vPXsdX','1765LKdEny','2368560bJOhYO','50RByiTh','7876432BckWPU','1861983gvjaLf'];_0x5cea=function(){return _0x5ba63e;};return _0x5cea();}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 0049cc2f..399fe33b 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x5d59b3,_0x18a443){const _0x35cafc=_0x2ce0,_0x1b324e=_0x5d59b3();while(!![]){try{const _0x5b040e=parseInt(_0x35cafc(0xb7))/0x1+-parseInt(_0x35cafc(0xb6))/0x2*(-parseInt(_0x35cafc(0xaf))/0x3)+-parseInt(_0x35cafc(0xa0))/0x4+parseInt(_0x35cafc(0xb8))/0x5*(parseInt(_0x35cafc(0xa9))/0x6)+parseInt(_0x35cafc(0xb4))/0x7*(-parseInt(_0x35cafc(0xb3))/0x8)+-parseInt(_0x35cafc(0xa1))/0x9+-parseInt(_0x35cafc(0xab))/0xa*(-parseInt(_0x35cafc(0xb9))/0xb);if(_0x5b040e===_0x18a443)break;else _0x1b324e['push'](_0x1b324e['shift']());}catch(_0x3c1846){_0x1b324e['push'](_0x1b324e['shift']());}}}(_0x2fa2,0x71718));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x2fa2(){const _0x245efb=['version','UnuOC','temp','8obZGOI','2131976VtqfaA','join','22QsiWVL','771063eAKaBg','30KNtsHi','1078bhBaLt','188504uNLnbG','2628774GAZYEh','qSfYj','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','NapCat','hbGOV','oUToN','tkfhu','utf-8','145452DXenpS','assign','18910QVCJyI','writeFileSync','guid.txt','readFileSync','1803ShZHKz'];_0x2fa2=function(){return _0x245efb;};return _0x2fa2();}import _0x29d6be from'node:path';import _0xe71d6a from'node:fs';function _0x2ce0(_0x33077a,_0x40b56f){const _0x2fa24a=_0x2fa2();return _0x2ce0=function(_0x2ce07c,_0x3e37c7){_0x2ce07c=_0x2ce07c-0xa0;let _0x6516f8=_0x2fa24a[_0x2ce07c];return _0x6516f8;},_0x2ce0(_0x33077a,_0x40b56f);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0xf1c133,_0x26a1dc,_0x26e8df){const _0x32a434=_0x2ce0,_0x160771={'oUToN':_0x32a434(0xb2),'tkfhu':_0x32a434(0xa4),'hbGOV':function(_0x501190){return _0x501190();},'UnuOC':_0x32a434(0xa8),'qSfYj':_0x32a434(0xa3)},_0x8831ec=_0x29d6be['join'](_0x26e8df,'NapCat',_0x160771[_0x32a434(0xa6)]);_0xe71d6a['mkdirSync'](_0x8831ec,{'recursive':!![]});const _0x492b26=_0x29d6be['join'](_0x26e8df,_0x160771[_0x32a434(0xa7)],_0x32a434(0xad));let _0x403102=_0x160771[_0x32a434(0xa5)](randomUUID);try{_0x403102=_0xe71d6a[_0x32a434(0xae)](_0x29d6be['join'](_0x492b26),_0x160771[_0x32a434(0xb1)]);}catch(_0x169a63){_0xe71d6a[_0x32a434(0xac)](_0x29d6be[_0x32a434(0xb5)](_0x492b26),_0x403102,_0x32a434(0xa8));}const _0xfefb37={'selfUin':_0xf1c133,'selfUid':_0x26a1dc,'desktopPathConfig':{'account_path':_0x26e8df},'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':_0x8831ec,'deviceInfo':{'guid':_0x403102,'buildVer':qqPkgInfo[_0x32a434(0xb0)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x160771[_0x32a434(0xa2)]};return Object[_0x32a434(0xaa)](sessionConfig,_0xfefb37),_0xfefb37;} \ No newline at end of file +function _0x4577(_0x5d7a28,_0x5f217d){const _0x261673=_0x2616();return _0x4577=function(_0x4577dd,_0x2d26ee){_0x4577dd=_0x4577dd-0xab;let _0x47eb4d=_0x261673[_0x4577dd];return _0x47eb4d;},_0x4577(_0x5d7a28,_0x5f217d);}(function(_0x4b0e59,_0x312f3d){const _0x4d7933=_0x4577,_0x1b1cf3=_0x4b0e59();while(!![]){try{const _0x1cf138=parseInt(_0x4d7933(0xb6))/0x1+-parseInt(_0x4d7933(0xad))/0x2*(-parseInt(_0x4d7933(0xbe))/0x3)+-parseInt(_0x4d7933(0xb3))/0x4*(-parseInt(_0x4d7933(0xac))/0x5)+parseInt(_0x4d7933(0xb9))/0x6*(parseInt(_0x4d7933(0xb8))/0x7)+parseInt(_0x4d7933(0xbf))/0x8+parseInt(_0x4d7933(0xb7))/0x9+parseInt(_0x4d7933(0xb2))/0xa*(-parseInt(_0x4d7933(0xbb))/0xb);if(_0x1cf138===_0x312f3d)break;else _0x1b1cf3['push'](_0x1b1cf3['shift']());}catch(_0x2fe350){_0x1b1cf3['push'](_0x1b1cf3['shift']());}}}(_0x2616,0x68736));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x32cc5c from'node:path';import _0x23c21a from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x352e74,_0x5d6edc,_0x3e93ba){const _0x529b22=_0x4577,_0x959bad={'pCkXV':'temp','oynMx':'guid.txt','ahXAu':_0x529b22(0xae)},_0x42c34a=_0x32cc5c[_0x529b22(0xbd)](_0x3e93ba,_0x529b22(0xb5),_0x959bad[_0x529b22(0xbc)]);_0x23c21a[_0x529b22(0xb1)](_0x42c34a,{'recursive':!![]});const _0x4a853f=_0x32cc5c[_0x529b22(0xbd)](_0x3e93ba,_0x529b22(0xb5),_0x959bad[_0x529b22(0xb4)]);let _0x79485=randomUUID();try{_0x79485=_0x23c21a[_0x529b22(0xaf)](_0x32cc5c[_0x529b22(0xbd)](_0x4a853f),_0x959bad[_0x529b22(0xba)]);}catch(_0x2865dd){_0x23c21a[_0x529b22(0xab)](_0x32cc5c[_0x529b22(0xbd)](_0x4a853f),_0x79485,_0x529b22(0xae));}const _0x185145={'selfUin':_0x352e74,'selfUid':_0x5d6edc,'desktopPathConfig':{'account_path':_0x3e93ba},'clientVer':qqVersionConfigInfo[_0x529b22(0xc1)],'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':_0x42c34a,'deviceInfo':{'guid':_0x79485,'buildVer':qqPkgInfo[_0x529b22(0xc0)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object[_0x529b22(0xb0)](sessionConfig,_0x185145),_0x185145;}function _0x2616(){const _0x49651b=['version','curVersion','writeFileSync','5FZMSvV','298qlziuU','utf-8','readFileSync','assign','mkdirSync','670Gprfss','683916kozCXb','oynMx','NapCat','587934yqjsps','7212762vRUDBQ','11893rpqaoO','2580VEDyIU','ahXAu','412225pxLWoX','pCkXV','join','2871TekfqW','4041288IUcDTI'];_0x2616=function(){return _0x49651b;};return _0x2616();} \ 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 cecfee1c..ccc0c698 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x540cf1=_0x3d20;(function(_0x43b84c,_0x4ae949){const _0xa8cbd6=_0x3d20,_0x2b9e7a=_0x43b84c();while(!![]){try{const _0x33e09c=-parseInt(_0xa8cbd6(0xdb))/0x1*(-parseInt(_0xa8cbd6(0xd4))/0x2)+parseInt(_0xa8cbd6(0xce))/0x3+-parseInt(_0xa8cbd6(0xc7))/0x4*(-parseInt(_0xa8cbd6(0xcb))/0x5)+parseInt(_0xa8cbd6(0xda))/0x6+-parseInt(_0xa8cbd6(0xd8))/0x7*(parseInt(_0xa8cbd6(0xd9))/0x8)+parseInt(_0xa8cbd6(0xd6))/0x9+-parseInt(_0xa8cbd6(0xca))/0xa*(parseInt(_0xa8cbd6(0xc5))/0xb);if(_0x33e09c===_0x4ae949)break;else _0x2b9e7a['push'](_0x2b9e7a['shift']());}catch(_0x5890d0){_0x2b9e7a['push'](_0x2b9e7a['shift']());}}}(_0x518c,0x63185));import _0x2e18c9 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x3d20(_0x7417d5,_0x420b7d){const _0x518c5c=_0x518c();return _0x3d20=function(_0x3d20e1,_0x10e87d){_0x3d20e1=_0x3d20e1-0xc5;let _0xc9b9fe=_0x518c5c[_0x3d20e1];return _0xc9b9fe;},_0x3d20(_0x7417d5,_0x420b7d);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x540cf1(0xd5)]=!![];[_0x540cf1(0xd3)]=!![];[_0x540cf1(0xd0)]=LogLevel[_0x540cf1(0xd1)];[_0x540cf1(0xd2)]=LogLevel[_0x540cf1(0xc9)];constructor(){super();}[_0x540cf1(0xc6)](){const _0x13db1c=_0x540cf1;return _0x2e18c9[_0x13db1c(0xd7)](this[_0x13db1c(0xcc)](),_0x13db1c(0xcf)+selfInfo[_0x13db1c(0xc8)]+_0x13db1c(0xcd));}}function _0x518c(){const _0x2c63e5=['consoleLogLevel','consoleLog','664LpVppQ','fileLog','1223073qetqmD','join','91RlBSDH','401032Uraiev','4357452KxKbSV','1179YRVdlN','11keSWUx','getConfigPath','2564iLQqxC','uin','INFO','12520570HtxxsS','3155DbdfyK','getConfigDir','.json','1954767FoqeJy','napcat_','fileLogLevel','DEBUG'];_0x518c=function(){return _0x2c63e5;};return _0x518c();}export const napCatConfig=new Config(); \ No newline at end of file +const _0x37b4d6=_0x5e55;(function(_0x5b831d,_0x47cdf0){const _0x15b931=_0x5e55,_0x4a6f6a=_0x5b831d();while(!![]){try{const _0x59a1b6=parseInt(_0x15b931(0xf9))/0x1+-parseInt(_0x15b931(0x107))/0x2*(-parseInt(_0x15b931(0x103))/0x3)+-parseInt(_0x15b931(0xf8))/0x4+parseInt(_0x15b931(0xfc))/0x5+parseInt(_0x15b931(0x100))/0x6*(-parseInt(_0x15b931(0x101))/0x7)+-parseInt(_0x15b931(0x102))/0x8+parseInt(_0x15b931(0xfa))/0x9;if(_0x59a1b6===_0x47cdf0)break;else _0x4a6f6a['push'](_0x4a6f6a['shift']());}catch(_0x29af31){_0x4a6f6a['push'](_0x4a6f6a['shift']());}}}(_0x49f3,0x585f0));import _0x39ec80 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x5e55(_0x681293,_0xbde1c8){const _0x49f3a5=_0x49f3();return _0x5e55=function(_0x5e55d4,_0xd65a9b){_0x5e55d4=_0x5e55d4-0xf7;let _0xead9b1=_0x49f3a5[_0x5e55d4];return _0xead9b1;},_0x5e55(_0x681293,_0xbde1c8);}import{selfInfo}from'@/core/data';function _0x49f3(){const _0x4e3286=['consoleLogLevel','1773036AistwK','7cJZlcL','5739312wyQpNG','3prXSqJ','join','uin','getConfigDir','341974HKMeHB','napcat_','DEBUG','.json','2460508FTqlHH','375979zkyAsj','9557109uAKHNg','fileLog','1905740WNCJcG','consoleLog','INFO'];_0x49f3=function(){return _0x4e3286;};return _0x49f3();}class Config extends ConfigBase{[_0x37b4d6(0xfb)]=!![];[_0x37b4d6(0xfd)]=!![];['fileLogLevel']=LogLevel[_0x37b4d6(0x109)];[_0x37b4d6(0xff)]=LogLevel[_0x37b4d6(0xfe)];constructor(){super();}['getConfigPath'](){const _0x39dcf5=_0x37b4d6;return _0x39ec80[_0x39dcf5(0x104)](this[_0x39dcf5(0x106)](),_0x39dcf5(0x108)+selfInfo[_0x39dcf5(0x105)]+_0x39dcf5(0xf7));}}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 9be40aab..39308fbd 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x553e10=_0x2d91;(function(_0x38f0d4,_0x1aca78){const _0x4d1f90=_0x2d91,_0x1229ab=_0x38f0d4();while(!![]){try{const _0x3ce198=parseInt(_0x4d1f90(0x19f))/0x1+parseInt(_0x4d1f90(0x193))/0x2*(parseInt(_0x4d1f90(0x1a2))/0x3)+-parseInt(_0x4d1f90(0x1a4))/0x4+parseInt(_0x4d1f90(0x197))/0x5*(parseInt(_0x4d1f90(0x19a))/0x6)+parseInt(_0x4d1f90(0x1a0))/0x7+-parseInt(_0x4d1f90(0x192))/0x8+-parseInt(_0x4d1f90(0x18f))/0x9*(-parseInt(_0x4d1f90(0x198))/0xa);if(_0x3ce198===_0x1aca78)break;else _0x1229ab['push'](_0x1229ab['shift']());}catch(_0x274308){_0x1229ab['push'](_0x1229ab['shift']());}}}(_0x3fad,0xe6395));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x2d91(_0x2d958a,_0x5766b8){const _0x3fadf5=_0x3fad();return _0x2d91=function(_0x2d919a,_0x410273){_0x2d919a=_0x2d919a-0x18f;let _0x1ee07c=_0x3fadf5[_0x2d919a];return _0x1ee07c;},_0x2d91(_0x2d958a,_0x5766b8);}function _0x3fad(){const _0x25a201=['84Djuxdx','GET','PHhNo','serverUrl','http://napcat-sign.wumiao.wang:2082/rkey','1561885iHlnEX','6479025iKcVSX','Vagmy','3318303HeLpeN','HttpGetJson','6224316ZJPIZV','refreshRkey','45DPiCmC','JYqzM','getRkey','11686408WRhQzn','2AYxeor','isExpired','rkeyData','getTime','12245bqlzHC','664060nxvcKB','SHClc'];_0x3fad=function(){return _0x25a201;};return _0x3fad();}class RkeyManager{['serverUrl']='';[_0x553e10(0x195)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0xb7bb1){const _0x35e219=_0x553e10;this[_0x35e219(0x19d)]=_0xb7bb1;}async[_0x553e10(0x191)](){const _0x66a484=_0x553e10,_0x212c5d={'SHClc':function(_0x55c061,_0x5a5fff,_0x212621){return _0x55c061(_0x5a5fff,_0x212621);},'PHhNo':'获取rkey失败'};if(this[_0x66a484(0x194)]())try{await this[_0x66a484(0x1a5)]();}catch(_0x572c74){_0x212c5d[_0x66a484(0x199)](logError,_0x212c5d[_0x66a484(0x19c)],_0x572c74);}return this[_0x66a484(0x195)];}[_0x553e10(0x194)](){const _0x221ac3=_0x553e10,_0x405148={'Vagmy':function(_0x3b32d1,_0x40f003){return _0x3b32d1>_0x40f003;}},_0x94b16d=new Date()[_0x221ac3(0x196)]()/0x3e8;return _0x405148[_0x221ac3(0x1a1)](_0x94b16d,this[_0x221ac3(0x195)]['expired_time']);}async[_0x553e10(0x1a5)](){const _0x4f5a82=_0x553e10,_0x311f0b={'JYqzM':_0x4f5a82(0x19b)};this[_0x4f5a82(0x195)]=await RequestUtil[_0x4f5a82(0x1a3)](this[_0x4f5a82(0x19d)],_0x311f0b[_0x4f5a82(0x190)]);}}export const rkeyManager=new RkeyManager(_0x553e10(0x19e)); \ No newline at end of file +function _0x3a7a(_0x52cf98,_0xeb12c6){const _0x5721c4=_0x5721();return _0x3a7a=function(_0x3a7a8d,_0xc75625){_0x3a7a8d=_0x3a7a8d-0xd9;let _0xe92175=_0x5721c4[_0x3a7a8d];return _0xe92175;},_0x3a7a(_0x52cf98,_0xeb12c6);}const _0x479397=_0x3a7a;(function(_0x8bf183,_0x16c3e0){const _0x27721a=_0x3a7a,_0x318bf4=_0x8bf183();while(!![]){try{const _0x3da9bb=-parseInt(_0x27721a(0xea))/0x1+parseInt(_0x27721a(0xde))/0x2*(parseInt(_0x27721a(0xe7))/0x3)+parseInt(_0x27721a(0xdd))/0x4+-parseInt(_0x27721a(0xe6))/0x5+parseInt(_0x27721a(0xe4))/0x6*(parseInt(_0x27721a(0xd9))/0x7)+-parseInt(_0x27721a(0xe5))/0x8+-parseInt(_0x27721a(0xed))/0x9*(-parseInt(_0x27721a(0xec))/0xa);if(_0x3da9bb===_0x16c3e0)break;else _0x318bf4['push'](_0x318bf4['shift']());}catch(_0x5c112f){_0x318bf4['push'](_0x318bf4['shift']());}}}(_0x5721,0xae862));import{logError}from'@/common/utils/log';function _0x5721(){const _0x2e2947=['serverUrl','HttpGetJson','CCMda','30ZmbJeP','9037040LaMELT','1808660BJnWfh','33UGZNWe','refreshRkey','expired_time','838680UTpBWG','isExpired','2140yVJeaz','306fxiMfG','964684iUSKBg','获取rkey失败','czACC','RHQVe','5702492sBWlxC','167806VGRPRA','OFnOj','rkeyData'];_0x5721=function(){return _0x2e2947;};return _0x5721();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x479397(0xe1)]='';[_0x479397(0xe0)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x26fbf3){const _0x3e6b58=_0x479397;this[_0x3e6b58(0xe1)]=_0x26fbf3;}async['getRkey'](){const _0x3896b5=_0x479397,_0x58f0e6={'OFnOj':function(_0x582b9d,_0x1fc747,_0x46a028){return _0x582b9d(_0x1fc747,_0x46a028);},'RHQVe':_0x3896b5(0xda)};if(this['isExpired']())try{await this[_0x3896b5(0xe8)]();}catch(_0x412ba1){_0x58f0e6[_0x3896b5(0xdf)](logError,_0x58f0e6[_0x3896b5(0xdc)],_0x412ba1);}return this[_0x3896b5(0xe0)];}[_0x479397(0xeb)](){const _0x501fd6=_0x479397,_0x45ccd1={'CCMda':function(_0x1d0cae,_0xd0c71){return _0x1d0cae>_0xd0c71;}},_0x263996=new Date()['getTime']()/0x3e8;return _0x45ccd1[_0x501fd6(0xe3)](_0x263996,this['rkeyData'][_0x501fd6(0xe9)]);}async['refreshRkey'](){const _0x2d61c0=_0x479397,_0x28f025={'czACC':'GET'};this[_0x2d61c0(0xe0)]=await RequestUtil[_0x2d61c0(0xe2)](this[_0x2d61c0(0xe1)],_0x28f025[_0x2d61c0(0xdb)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index f85ea780..42116880 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x3b6094=_0x4ca0;(function(_0x428f83,_0x311383){const _0x56242b=_0x4ca0,_0x17ab78=_0x428f83();while(!![]){try{const _0x39936c=-parseInt(_0x56242b(0x1c1))/0x1*(-parseInt(_0x56242b(0x1b7))/0x2)+parseInt(_0x56242b(0x1bc))/0x3+-parseInt(_0x56242b(0x1b8))/0x4+parseInt(_0x56242b(0x1c8))/0x5+-parseInt(_0x56242b(0x1be))/0x6*(parseInt(_0x56242b(0x1bb))/0x7)+parseInt(_0x56242b(0x1c4))/0x8+parseInt(_0x56242b(0x1c7))/0x9*(-parseInt(_0x56242b(0x1c0))/0xa);if(_0x39936c===_0x311383)break;else _0x17ab78['push'](_0x17ab78['shift']());}catch(_0x4667d6){_0x17ab78['push'](_0x17ab78['shift']());}}}(_0x1fce,0x29d77));import _0xc6c404 from'node:path';function _0x4ca0(_0x5d0594,_0x130594){const _0x1fce49=_0x1fce();return _0x4ca0=function(_0x4ca008,_0x1c890c){_0x4ca008=_0x4ca008-0x1b3;let _0x3fa3a9=_0x1fce49[_0x4ca008];return _0x3fa3a9;},_0x4ca0(_0x5d0594,_0x130594);}import _0x59c803 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3b6094(0x1b3)]),__dirname=dirname(__filename);let wrapperNodePath=_0xc6c404[_0x3b6094(0x1c6)](_0xc6c404[_0x3b6094(0x1bd)](process[_0x3b6094(0x1c2)]),_0x3b6094(0x1cb));!_0x59c803[_0x3b6094(0x1bf)](wrapperNodePath)&&(wrapperNodePath=_0xc6c404['join'](_0xc6c404[_0x3b6094(0x1bd)](process[_0x3b6094(0x1c2)]),_0x3b6094(0x1ca)+qqVersionConfigInfo[_0x3b6094(0x1b4)]+_0x3b6094(0x1c5)));let WrapperLoader=_0xc6c404[_0x3b6094(0x1b5)](__dirname,_0x3b6094(0x1ba));function _0x1fce(){const _0x189bf4=['replace','WrapperLoader.cjs','289163RkuqHF','256761UfMxWW','dirname','12LHvlZK','existsSync','18790jnEUjd','46337Dwjmaq','execPath','default','2289704wvxRfL','/wrapper.node','resolve','909yIjJvP','1400300CKHdvK','writeFileSync','resources/app/versions/','./resources/app/wrapper.node','url','curVersion','join','\x22);\x0aexports\x20=\x20module.exports;\x0a','2RkPliG','1017668VPzKCf'];_0x1fce=function(){return _0x189bf4;};return _0x1fce();}_0x59c803[_0x3b6094(0x1c9)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x3b6094(0x1b9)](/\\/g,'\x5c\x5c')+_0x3b6094(0x1b6));const QQWrapper=(await import('file://'+WrapperLoader))[_0x3b6094(0x1c3)];export default QQWrapper; \ No newline at end of file +const _0x1e264b=_0xe36f;(function(_0x24563d,_0x5e207c){const _0x3083f6=_0xe36f,_0x5e806c=_0x24563d();while(!![]){try{const _0x6303b0=parseInt(_0x3083f6(0xd5))/0x1+-parseInt(_0x3083f6(0xd2))/0x2*(parseInt(_0x3083f6(0xd4))/0x3)+parseInt(_0x3083f6(0xe4))/0x4*(parseInt(_0x3083f6(0xda))/0x5)+-parseInt(_0x3083f6(0xdc))/0x6*(-parseInt(_0x3083f6(0xcf))/0x7)+parseInt(_0x3083f6(0xe6))/0x8+-parseInt(_0x3083f6(0xd6))/0x9*(-parseInt(_0x3083f6(0xd0))/0xa)+parseInt(_0x3083f6(0xdb))/0xb*(-parseInt(_0x3083f6(0xe1))/0xc);if(_0x6303b0===_0x5e207c)break;else _0x5e806c['push'](_0x5e806c['shift']());}catch(_0x2998f5){_0x5e806c['push'](_0x5e806c['shift']());}}}(_0x4cd5,0x7bc40));import _0x134562 from'node:path';import _0x5b55cb from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0xe36f(_0x135722,_0x4f5be7){const _0x4cd51f=_0x4cd5();return _0xe36f=function(_0xe36f27,_0x7f913d){_0xe36f27=_0xe36f27-0xce;let _0x5bd545=_0x4cd51f[_0xe36f27];return _0x5bd545;},_0xe36f(_0x135722,_0x4f5be7);}const __filename=fileURLToPath(import.meta[_0x1e264b(0xe0)]),__dirname=dirname(__filename);let wrapperNodePath=_0x134562['resolve'](_0x134562[_0x1e264b(0xd3)](process[_0x1e264b(0xe2)]),_0x1e264b(0xdd));!_0x5b55cb[_0x1e264b(0xdf)](wrapperNodePath)&&(wrapperNodePath=_0x134562[_0x1e264b(0xe3)](_0x134562[_0x1e264b(0xd3)](process[_0x1e264b(0xe2)]),'resources/app/versions/'+qqVersionConfigInfo[_0x1e264b(0xce)]+_0x1e264b(0xd8)));let WrapperLoader=_0x134562[_0x1e264b(0xe3)](__dirname,_0x1e264b(0xd7));_0x5b55cb[_0x1e264b(0xd9)](WrapperLoader,_0x1e264b(0xde)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x1e264b(0xd1));const QQWrapper=(await import('file://'+WrapperLoader))[_0x1e264b(0xe5)];function _0x4cd5(){const _0x3bb230=['./resources/app/wrapper.node','\x0amodule.exports\x20=\x20require(\x22','existsSync','url','4272XCajSt','execPath','join','50812ysPBQd','default','5105856witeBg','curVersion','10689nqWopR','170jknjiT','\x22);\x0aexports\x20=\x20module.exports;\x0a','9778zAPYJU','dirname','291ttDDIY','598207lNAVby','403371WbLZcO','WrapperLoader.cjs','/wrapper.node','writeFileSync','365iEPpXa','88770JsgXHn','3648tPKRwk'];_0x4cd5=function(){return _0x3bb230;};return _0x4cd5();}export default QQWrapper; \ No newline at end of file