From 725fccf4ed5d433e6621ed1e8f66efc495dee60e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 5 Jun 2024 11:19:34 +0800 Subject: [PATCH] refactor: GoCQHTTP_GetStrangerInfo --- src/core | 2 +- .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.d.ts | 3 +- 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.d.ts | 69 +++++++++++++++++++ src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- .../services/NodeIKernelProfileService.d.ts | 4 +- 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 +- .../action/go-cqhttp/GetStrangerInfo.ts | 30 +++++--- src/onebot11/constructor.ts | 4 +- 45 files changed, 136 insertions(+), 54 deletions(-) diff --git a/src/core b/src/core index 4f1266bd..2abb424c 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 4f1266bd7e682fe0c035eab018ecf6dba7e8c2f5 +Subproject commit 2abb424c620da4a1b47f7afac9ff054d2abf20dd diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 71580cb4..5dd0d7f1 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x37c6d5=_0x5a2b;function _0x5234(){var _0x599f32=['2946295dFbJOz','10876JmIMOu','101030oqNnWZ','getGroupCode','1388979axIeBH','4qiYLly','5626584rLvMbL','2519489KFJEPz','976518LURMdm','909NnvvpU','39cIJCDj','onMSFStatusChange'];_0x5234=function(){return _0x599f32;};return _0x5234();}(function(_0x264b4b,_0x222f5b){var _0x374e83=_0x5a2b,_0x2f3c3c=_0x264b4b();while(!![]){try{var _0x11ed3f=parseInt(_0x374e83(0x127))/0x1*(parseInt(_0x374e83(0x12a))/0x2)+parseInt(_0x374e83(0x12d))/0x3+parseInt(_0x374e83(0x12e))/0x4*(parseInt(_0x374e83(0x129))/0x5)+-parseInt(_0x374e83(0x131))/0x6+-parseInt(_0x374e83(0x130))/0x7+parseInt(_0x374e83(0x12f))/0x8+parseInt(_0x374e83(0x126))/0x9*(-parseInt(_0x374e83(0x12b))/0xa);if(_0x11ed3f===_0x222f5b)break;else _0x2f3c3c['push'](_0x2f3c3c['shift']());}catch(_0x444a02){_0x2f3c3c['push'](_0x2f3c3c['shift']());}}}(_0x5234,0x67a7e));function _0x5a2b(_0x1fcb21,_0x40be01){var _0x523420=_0x5234();return _0x5a2b=function(_0x5a2b64,_0x3267c3){_0x5a2b64=_0x5a2b64-0x126;var _0xbcf043=_0x523420[_0x5a2b64];return _0xbcf043;},_0x5a2b(_0x1fcb21,_0x40be01);}export class DependsAdapter{[_0x37c6d5(0x128)](_0x53b117,_0x55350b){}['onMSFSsoError'](_0x3f161d){}[_0x37c6d5(0x12c)](_0x45d1d6){}} \ No newline at end of file +var _0x180f33=_0x5925;(function(_0x19eec4,_0xca7740){var _0x2559b0=_0x5925,_0x2f6df2=_0x19eec4();while(!![]){try{var _0x23e091=-parseInt(_0x2559b0(0xd5))/0x1*(-parseInt(_0x2559b0(0xd2))/0x2)+-parseInt(_0x2559b0(0xca))/0x3*(-parseInt(_0x2559b0(0xd1))/0x4)+-parseInt(_0x2559b0(0xcd))/0x5*(-parseInt(_0x2559b0(0xcb))/0x6)+parseInt(_0x2559b0(0xd4))/0x7+parseInt(_0x2559b0(0xd3))/0x8*(-parseInt(_0x2559b0(0xcf))/0x9)+-parseInt(_0x2559b0(0xd0))/0xa*(parseInt(_0x2559b0(0xc9))/0xb)+-parseInt(_0x2559b0(0xcc))/0xc;if(_0x23e091===_0xca7740)break;else _0x2f6df2['push'](_0x2f6df2['shift']());}catch(_0x3a2656){_0x2f6df2['push'](_0x2f6df2['shift']());}}}(_0x1ddc,0x3f451));export class DependsAdapter{[_0x180f33(0xce)](_0x166ee6,_0x35dfd4){}['onMSFSsoError'](_0x6033d7){}[_0x180f33(0xc8)](_0x32d8a9){}}function _0x5925(_0x526448,_0xa72577){var _0x1ddc96=_0x1ddc();return _0x5925=function(_0x592548,_0x370baa){_0x592548=_0x592548-0xc8;var _0x5a445a=_0x1ddc96[_0x592548];return _0x5a445a;},_0x5925(_0x526448,_0xa72577);}function _0x1ddc(){var _0x5b3b36=['getGroupCode','1218019MkOeTo','393qFqFZy','21102teGnHC','11315400uVNWfO','415JHBZjn','onMSFStatusChange','417159rqnsAl','10mnELmi','11252zVdEBO','861338enwuLI','16KxIhqj','2201157xBBOeS','1dpEVPX'];_0x1ddc=function(){return _0x5b3b36;};return _0x1ddc();} \ 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 5bb7cea7..92252e56 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x3a582c=_0x2c28;function _0x4831(){var _0x46e4a5=['70827lGqHzc','9wPceDX','dispatchRequest','2745183XVpQud','2257794ruNgsr','2946HxIFfx','452848kuyeSE','dispatchCallWithJson','2270aRjdIn','1966657eHcDXm','389972fPSVin','24kIogLT','10WzKuyB'];_0x4831=function(){return _0x46e4a5;};return _0x4831();}function _0x2c28(_0x491527,_0xd6e583){var _0x48316c=_0x4831();return _0x2c28=function(_0x2c2838,_0x43a78a){_0x2c2838=_0x2c2838-0x6b;var _0x3b245f=_0x48316c[_0x2c2838];return _0x3b245f;},_0x2c28(_0x491527,_0xd6e583);}(function(_0x5d4f35,_0x2000aa){var _0x29d92c=_0x2c28,_0xdc4e1f=_0x5d4f35();while(!![]){try{var _0x5b69ae=parseInt(_0x29d92c(0x76))/0x1*(parseInt(_0x29d92c(0x74))/0x2)+-parseInt(_0x29d92c(0x77))/0x3*(-parseInt(_0x29d92c(0x73))/0x4)+-parseInt(_0x29d92c(0x71))/0x5*(parseInt(_0x29d92c(0x6e))/0x6)+-parseInt(_0x29d92c(0x6c))/0x7+parseInt(_0x29d92c(0x6f))/0x8+-parseInt(_0x29d92c(0x6d))/0x9+parseInt(_0x29d92c(0x75))/0xa*(parseInt(_0x29d92c(0x72))/0xb);if(_0x5b69ae===_0x2000aa)break;else _0xdc4e1f['push'](_0xdc4e1f['shift']());}catch(_0x4c3261){_0xdc4e1f['push'](_0xdc4e1f['shift']());}}}(_0x4831,0x7cf67));export class DispatcherAdapter{[_0x3a582c(0x6b)](_0x368abf){}['dispatchCall'](_0x31a85a){}[_0x3a582c(0x70)](_0x36efcb){}} \ No newline at end of file +var _0x4aa6ca=_0x1a5c;(function(_0x4cdb44,_0x43a77d){var _0x147eb1=_0x1a5c,_0x1b263f=_0x4cdb44();while(!![]){try{var _0x15e817=-parseInt(_0x147eb1(0x137))/0x1+parseInt(_0x147eb1(0x134))/0x2+parseInt(_0x147eb1(0x13a))/0x3+-parseInt(_0x147eb1(0x13b))/0x4*(parseInt(_0x147eb1(0x132))/0x5)+-parseInt(_0x147eb1(0x138))/0x6+-parseInt(_0x147eb1(0x135))/0x7+parseInt(_0x147eb1(0x131))/0x8;if(_0x15e817===_0x43a77d)break;else _0x1b263f['push'](_0x1b263f['shift']());}catch(_0x426d96){_0x1b263f['push'](_0x1b263f['shift']());}}}(_0x2e07,0x69a3f));function _0x1a5c(_0x3584e9,_0x19f578){var _0x2e0737=_0x2e07();return _0x1a5c=function(_0x1a5cd0,_0x212336){_0x1a5cd0=_0x1a5cd0-0x131;var _0x37545a=_0x2e0737[_0x1a5cd0];return _0x37545a;},_0x1a5c(_0x3584e9,_0x19f578);}export class DispatcherAdapter{[_0x4aa6ca(0x133)](_0x540a71){}[_0x4aa6ca(0x136)](_0x48afc5){}[_0x4aa6ca(0x139)](_0x32addf){}}function _0x2e07(){var _0x41d5cd=['290925nrSlmC','4499754vVFZZF','dispatchCallWithJson','1917246KiRfWX','8IUygde','8052592lcxhvi','336760YOAYnw','dispatchRequest','1067950qiLQac','3999380GnXDWN','dispatchCall'];_0x2e07=function(){return _0x41d5cd;};return _0x2e07();} \ 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 00aa07d0..4ad38bbf 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0xccda36=_0x296e;function _0x296e(_0x452fe2,_0x1b5649){var _0x528d7b=_0x528d();return _0x296e=function(_0x296e46,_0x1c19cb){_0x296e46=_0x296e46-0x77;var _0x439102=_0x528d7b[_0x296e46];return _0x439102;},_0x296e(_0x452fe2,_0x1b5649);}(function(_0x4ec0e6,_0x78c646){var _0x54124e=_0x296e,_0x3cd5b6=_0x4ec0e6();while(!![]){try{var _0x34a4cc=parseInt(_0x54124e(0x7a))/0x1*(-parseInt(_0x54124e(0x81))/0x2)+parseInt(_0x54124e(0x7f))/0x3+-parseInt(_0x54124e(0x84))/0x4+-parseInt(_0x54124e(0x83))/0x5+-parseInt(_0x54124e(0x79))/0x6*(-parseInt(_0x54124e(0x7c))/0x7)+parseInt(_0x54124e(0x80))/0x8+-parseInt(_0x54124e(0x78))/0x9*(-parseInt(_0x54124e(0x85))/0xa);if(_0x34a4cc===_0x78c646)break;else _0x3cd5b6['push'](_0x3cd5b6['shift']());}catch(_0x45d81a){_0x3cd5b6['push'](_0x3cd5b6['shift']());}}}(_0x528d,0x8c85f));function _0x528d(){var _0x4a9f57=['onShowErrUITips','onGetOfflineMsg','getAppSetting','9EmFabw','18gWTdgn','9403LUtRti','fixPicImgType','496300hAhHOx','onUpdateGeneralFlag','onLog','1241040jbXqPH','4814856XHgfWs','142afilMX','onInstallFinished','1921100ekTKul','942152PtRDen','6347170VWNOJP'];_0x528d=function(){return _0x4a9f57;};return _0x528d();}export class GlobalAdapter{[_0xccda36(0x7e)](..._0x29187e){}['onGetSrvCalTime'](..._0x272913){}[_0xccda36(0x86)](..._0xf116e8){}[_0xccda36(0x7b)](..._0xbb71db){}[_0xccda36(0x77)](..._0x43c944){}[_0xccda36(0x82)](..._0x4ae481){}[_0xccda36(0x7d)](..._0x4d1ed2){}[_0xccda36(0x87)](..._0x4cea8f){}} \ No newline at end of file +function _0x286c(_0x369b1f,_0x3eb745){var _0x1950b6=_0x1950();return _0x286c=function(_0x286c7d,_0x2cb412){_0x286c7d=_0x286c7d-0x89;var _0x348b17=_0x1950b6[_0x286c7d];return _0x348b17;},_0x286c(_0x369b1f,_0x3eb745);}var _0x316b46=_0x286c;function _0x1950(){var _0x30308f=['5884LorTNN','2GMiQaB','47620QScrxn','1659606cSkmDI','fixPicImgType','onInstallFinished','onGetOfflineMsg','getAppSetting','18iSMxub','onGetSrvCalTime','794804GiVpMz','2511005yEFuYs','1515720SWLpzA','105DdxPnD','onShowErrUITips','11EFRhZs','2879608aWmWzX','onLog'];_0x1950=function(){return _0x30308f;};return _0x1950();}(function(_0x1bf5b8,_0x3901f7){var _0x297e50=_0x286c,_0x338a9d=_0x1bf5b8();while(!![]){try{var _0x40dee8=-parseInt(_0x297e50(0x8c))/0x1*(-parseInt(_0x297e50(0x95))/0x2)+parseInt(_0x297e50(0x8e))/0x3+parseInt(_0x297e50(0x8b))/0x4*(-parseInt(_0x297e50(0x98))/0x5)+parseInt(_0x297e50(0x97))/0x6+-parseInt(_0x297e50(0x96))/0x7+parseInt(_0x297e50(0x89))/0x8*(-parseInt(_0x297e50(0x93))/0x9)+parseInt(_0x297e50(0x8d))/0xa*(-parseInt(_0x297e50(0x9a))/0xb);if(_0x40dee8===_0x3901f7)break;else _0x338a9d['push'](_0x338a9d['shift']());}catch(_0x1d7563){_0x338a9d['push'](_0x338a9d['shift']());}}}(_0x1950,0x76bd4));export class GlobalAdapter{[_0x316b46(0x8a)](..._0x3330be){}[_0x316b46(0x94)](..._0x2de10d){}[_0x316b46(0x99)](..._0x157aa6){}[_0x316b46(0x8f)](..._0x53d931){}[_0x316b46(0x92)](..._0x49663f){}[_0x316b46(0x90)](..._0x2d3b60){}['onUpdateGeneralFlag'](..._0x43cabf){}[_0x316b46(0x91)](..._0x5b6e08){}} \ 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 0abe6030..d829ae32 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x6bb3db,_0x3bc856){var _0x3da4aa=_0x3a4a,_0x2839f4=_0x6bb3db();while(!![]){try{var _0x5e076a=-parseInt(_0x3da4aa(0x1bc))/0x1+-parseInt(_0x3da4aa(0x1b6))/0x2+-parseInt(_0x3da4aa(0x1b8))/0x3*(-parseInt(_0x3da4aa(0x1b9))/0x4)+-parseInt(_0x3da4aa(0x1bb))/0x5+-parseInt(_0x3da4aa(0x1b7))/0x6*(-parseInt(_0x3da4aa(0x1bd))/0x7)+-parseInt(_0x3da4aa(0x1ba))/0x8+parseInt(_0x3da4aa(0x1b5))/0x9*(parseInt(_0x3da4aa(0x1be))/0xa);if(_0x5e076a===_0x3bc856)break;else _0x2839f4['push'](_0x2839f4['shift']());}catch(_0x2cc336){_0x2839f4['push'](_0x2839f4['shift']());}}}(_0x1cd6,0x20776));export*from'./NodeIDependsAdapter';function _0x3a4a(_0x682d25,_0x1c3b0a){var _0x1cd6ac=_0x1cd6();return _0x3a4a=function(_0x3a4a9d,_0x28cbc6){_0x3a4a9d=_0x3a4a9d-0x1b5;var _0x398373=_0x1cd6ac[_0x3a4a9d];return _0x398373;},_0x3a4a(_0x682d25,_0x1c3b0a);}export*from'./NodeIDispatcherAdapter';function _0x1cd6(){var _0x34e711=['45LshiHv','422920ZOZYId','197922tCAsMe','150gRQkjV','124HdsLNe','1017344sdeFqh','1033660IpwWBD','10412bwtZXg','49OUAaJg','912590FXWutx'];_0x1cd6=function(){return _0x34e711;};return _0x1cd6();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0xdb5248,_0x4f7241){var _0x2d969f=_0x5ba2,_0x58e949=_0xdb5248();while(!![]){try{var _0x5462e5=-parseInt(_0x2d969f(0xad))/0x1*(parseInt(_0x2d969f(0xac))/0x2)+-parseInt(_0x2d969f(0xb4))/0x3*(-parseInt(_0x2d969f(0xab))/0x4)+parseInt(_0x2d969f(0xae))/0x5+parseInt(_0x2d969f(0xb2))/0x6*(parseInt(_0x2d969f(0xb0))/0x7)+parseInt(_0x2d969f(0xaf))/0x8+parseInt(_0x2d969f(0xb3))/0x9+-parseInt(_0x2d969f(0xb1))/0xa*(parseInt(_0x2d969f(0xaa))/0xb);if(_0x5462e5===_0x4f7241)break;else _0x58e949['push'](_0x58e949['shift']());}catch(_0x5522cf){_0x58e949['push'](_0x58e949['shift']());}}}(_0x3e77,0x2a162));export*from'./NodeIDependsAdapter';function _0x3e77(){var _0x12a2f7=['20ZCDxwz','246faIjle','2128410GlRbhd','7542pawBRd','4439963CdzMuI','256hzJtHn','5498sibAUL','97BjCCdc','949415PVSqWs','2647304cBmfwy','56021NLmpkv'];_0x3e77=function(){return _0x12a2f7;};return _0x3e77();}function _0x5ba2(_0x57d9d3,_0x21b14d){var _0x3e771f=_0x3e77();return _0x5ba2=function(_0x5ba286,_0x55e926){_0x5ba286=_0x5ba286-0xaa;var _0x3f37fd=_0x3e771f[_0x5ba286];return _0x3f37fd;},_0x5ba2(_0x57d9d3,_0x21b14d);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index ceb9e3ea..06f9b898 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x1073b5=_0x32ba;(function(_0xe071e,_0x3f9343){const _0x55a381=_0x32ba,_0x6e2642=_0xe071e();while(!![]){try{const _0x5b3eab=-parseInt(_0x55a381(0x118))/0x1*(-parseInt(_0x55a381(0x10d))/0x2)+parseInt(_0x55a381(0x135))/0x3*(parseInt(_0x55a381(0xf4))/0x4)+-parseInt(_0x55a381(0x133))/0x5+parseInt(_0x55a381(0x12d))/0x6*(-parseInt(_0x55a381(0x120))/0x7)+-parseInt(_0x55a381(0x103))/0x8+parseInt(_0x55a381(0x110))/0x9+parseInt(_0x55a381(0x129))/0xa*(parseInt(_0x55a381(0x108))/0xb);if(_0x5b3eab===_0x3f9343)break;else _0x6e2642['push'](_0x6e2642['shift']());}catch(_0x57e5da){_0x6e2642['push'](_0x6e2642['shift']());}}}(_0xf0a3,0xd2df1));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x154491 from'path';import _0x1e7332 from'fs';import _0xea7a54 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x40564d from'file-type';import{MsgListener}from'@/core/listeners';import _0x503e81 from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x32ba(_0x3b428c,_0x33b80f){const _0xf0a3d1=_0xf0a3();return _0x32ba=function(_0x32ba10,_0x567dc3){_0x32ba10=_0x32ba10-0xef;let _0x1809c3=_0xf0a3d1[_0x32ba10];return _0x1809c3;},_0x32ba(_0x3b428c,_0x33b80f);}import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';function _0xf0a3(){const _0x98e133=['下载超时','pvoGO','sjPif','toUpperCase','2HnDPcy','onRichMediaDownloadComplete','RnHrB','6542847aqwSkz','util','getDesktopTmpPath','clearCacheDataByKeys','PIC','unlink','Qhsrb','getImageSize','705032siUcny','/gchatpic_new/0/0-0-','getChatCacheList','private_rkey','qudXF','copyFile','addCacheScannedPaths','msgId','198226aierUq','md5HexStr','originImageUrl','defaultFileDownloadPath','getChatCacheInfo','fileTypeFromFile','tmp','session','clearChatCacheInfo','11149700qlOZcy','getRkey','BJvAx','addListener','150RpjQih','WYMPs','OpxQa','getCacheSessionPathList','qnUby','uploadFile','1154975rXGhVb','getStorageCleanService','466566maapWK','includes','filePath','ext','getFileSize','lWoOd','sKtgY','24NJUcpx','indexOf','bYxbn','startsWith','addCacheScanedPaths','mvjLl','getMsgService','getHotUpdateCachePath','getFileType','LTMdD','group_rkey','/download','CGYRU','clearChatCache','existsSync','13419544mmhNgk','scanCache','clearCache','fileUuid','HcLWT','11vdWGpw'];_0xf0a3=function(){return _0x98e133;};return _0xf0a3();}import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x1073b5(0x10e)]=_0x1708ce=>{for(const [_0x587321,_0x3083c2]of downloadMediaTasks){_0x3083c2(_0x1708ce),downloadMediaTasks['delete'](_0x587321);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x18e958=_0x32ba;napCatCore[_0x18e958(0x12c)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1073b5(0xfc)](_0x22641e){const _0x4c3e7d=_0x1073b5;return _0x40564d[_0x4c3e7d(0x125)](_0x22641e);}static async['copyFile'](_0x542f2a,_0x368e3a){const _0x476906=_0x1073b5;await napCatCore[_0x476906(0x111)][_0x476906(0x11d)](_0x542f2a,_0x368e3a);}static async['getFileSize'](_0x3dcfc4){const _0x239c11=_0x1073b5;return await napCatCore[_0x239c11(0x111)]['getFileSize'](_0x3dcfc4);}static async[_0x1073b5(0x132)](_0x2afb52,_0x10f6bc=ElementType[_0x1073b5(0x114)],_0xd65b8d=0x0){const _0x301607=_0x1073b5,_0x511b4c={'LTMdD':function(_0x5062e4,_0x4ee531){return _0x5062e4(_0x4ee531);},'qudXF':function(_0x2e286b,_0x3c6e81){return _0x2e286b===_0x3c6e81;}},_0x36c9f2=await _0x511b4c[_0x301607(0xfd)](calculateFileMD5,_0x2afb52);let _0x3e252b=(await NTQQFileApi['getFileType'](_0x2afb52))?.[_0x301607(0xf0)]||'';_0x3e252b&&(_0x3e252b='.'+_0x3e252b);let _0x1b2e3b=''+_0x154491['basename'](_0x2afb52);_0x511b4c[_0x301607(0x11c)](_0x1b2e3b[_0x301607(0xf5)]('.'),-0x1)&&(_0x1b2e3b+=_0x3e252b);const _0x116dee=napCatCore[_0x301607(0x127)][_0x301607(0xfa)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x36c9f2,'fileName':_0x1b2e3b,'elementType':_0x10f6bc,'elementSubType':_0xd65b8d,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x2afb52,_0x116dee);const _0x574805=await NTQQFileApi[_0x301607(0xf1)](_0x2afb52);return{'md5':_0x36c9f2,'fileName':_0x1b2e3b,'path':_0x116dee,'fileSize':_0x574805,'ext':_0x3e252b};}static async['downloadMedia'](_0x1309f2,_0x20ac4e,_0x2451f7,_0x1cd8bc,_0x1d1f2b,_0x3abf71,_0x417daf=0x3e8*0x3c*0x2,_0x7e48a4=![]){const _0x1220e5=_0x1073b5,_0x19a7d8={'LbNRB':function(_0x201dcb,_0x1ea899){return _0x201dcb===_0x1ea899;},'HcLWT':function(_0x3abe5a,_0xce5bbc){return _0x3abe5a(_0xce5bbc);},'pvoGO':_0x1220e5(0x109),'BJvAx':function(_0xcc7e46){return _0xcc7e46();}};if(_0x3abf71&&_0x1e7332[_0x1220e5(0x102)](_0x3abf71)){if(_0x7e48a4)try{await _0xea7a54[_0x1220e5(0x115)](_0x3abf71);}catch(_0x2944a6){}else return _0x3abf71;}return new Promise((_0x434371,_0x20b9f0)=>{const _0x20cc2c=_0x1220e5,_0x4e7877={'bYxbn':function(_0xa94ae6,_0x30e81b){return _0x19a7d8['LbNRB'](_0xa94ae6,_0x30e81b);},'CGYRU':function(_0x3bfc49,_0x5d3d65){const _0x1bee3b=_0x32ba;return _0x19a7d8[_0x1bee3b(0x107)](_0x3bfc49,_0x5d3d65);},'mvjLl':_0x19a7d8[_0x20cc2c(0x10a)]};let _0xe4c209=![];const _0xf89bcc=_0x258136=>{const _0x2944ea=_0x20cc2c;if(_0x4e7877[_0x2944ea(0xf6)](_0x258136[_0x2944ea(0x11f)],_0x1309f2)){_0xe4c209=!![];let _0x288c29=_0x258136[_0x2944ea(0xef)];if(_0x288c29[_0x2944ea(0xf7)]('\x5c')){const _0x215846=sessionConfig[_0x2944ea(0x123)];_0x288c29=_0x154491['join'](_0x215846,_0x288c29);}_0x4e7877[_0x2944ea(0x100)](_0x434371,_0x288c29);}};downloadMediaTasks['set'](_0x19a7d8[_0x20cc2c(0x12b)](randomUUID),_0xf89bcc),setTimeout(()=>{const _0x28aeba=_0x20cc2c;!_0xe4c209&&_0x4e7877[_0x28aeba(0x100)](_0x20b9f0,_0x4e7877[_0x28aeba(0xf9)]);},_0x417daf),napCatCore[_0x20cc2c(0x127)][_0x20cc2c(0xfa)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x1309f2,'chatType':_0x20ac4e,'peerUid':_0x2451f7,'elementId':_0x1cd8bc,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1d1f2b});});}static async[_0x1073b5(0x117)](_0x5e0f49){const _0x2d79d9={'sjPif':function(_0x198cec,_0x2626ec){return _0x198cec(_0x2626ec);},'sKtgY':function(_0x4eaccf,_0xda0215,_0x7c1a99){return _0x4eaccf(_0xda0215,_0x7c1a99);}};return new Promise((_0x1587c2,_0xb86b38)=>{const _0x24c2ec=_0x32ba,_0x5011d1={'WYMPs':function(_0x14bf20,_0x4482d3){const _0x317264=_0x32ba;return _0x2d79d9[_0x317264(0x10b)](_0x14bf20,_0x4482d3);}};_0x2d79d9[_0x24c2ec(0xf3)](_0x503e81,_0x5e0f49,(_0x4d904d,_0x288fd6)=>{const _0x280bfb=_0x24c2ec;_0x4d904d?_0x5011d1[_0x280bfb(0x12e)](_0xb86b38,_0x4d904d):_0x5011d1[_0x280bfb(0x12e)](_0x1587c2,_0x288fd6);});});}static async['getImageUrl'](_0x3c28bb,_0x2d2f78){const _0x2a8935=_0x1073b5,_0x3a5405={'lWoOd':_0x2a8935(0xff),'RnHrB':'&rkey=','sDIwu':function(_0x406bf3,_0x56ad41){return _0x406bf3+_0x56ad41;},'Qhsrb':function(_0x2b9744,_0x240252){return _0x2b9744+_0x240252;},'qnUby':function(_0x47af7c,_0x34e026){return _0x47af7c||_0x34e026;},'OpxQa':function(_0x16dcdb,_0x348815){return _0x16dcdb||_0x348815;}};if(!_0x3c28bb)return'';const _0x8ad398=_0x3c28bb[_0x2a8935(0x122)],_0x43727b=_0x3c28bb[_0x2a8935(0x121)],_0x5a749d=_0x3c28bb['md5HexStr'],_0x31fb5e=_0x3c28bb[_0x2a8935(0x106)];if(_0x8ad398){if(_0x8ad398[_0x2a8935(0xf7)](_0x3a5405[_0x2a8935(0xf2)])){if(_0x8ad398[_0x2a8935(0x136)](_0x3a5405[_0x2a8935(0x10f)]))return _0x3a5405['sDIwu'](IMAGE_HTTP_HOST_NT,_0x8ad398);const _0x50ea66=await rkeyManager[_0x2a8935(0x12a)](),_0x81268b=_0x2d2f78?_0x50ea66[_0x2a8935(0x11b)]:_0x50ea66[_0x2a8935(0xfe)];return _0x3a5405['Qhsrb'](IMAGE_HTTP_HOST_NT,_0x8ad398)+(''+_0x81268b);}else return _0x3a5405[_0x2a8935(0x116)](IMAGE_HTTP_HOST,_0x8ad398);}else{if(_0x3a5405[_0x2a8935(0x131)](_0x5a749d,_0x43727b))return IMAGE_HTTP_HOST+_0x2a8935(0x119)+_0x3a5405[_0x2a8935(0x12f)](_0x5a749d,_0x43727b)[_0x2a8935(0x10c)]()+'/0';}return logDebug('图片url获取失败',_0x3c28bb),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x49567d=!![]){return'';}static[_0x1073b5(0x130)](){return'';}static[_0x1073b5(0x105)](_0x5a9784=[_0x1073b5(0x126),'hotUpdate']){const _0xfdc5d2=_0x1073b5;return napCatCore[_0xfdc5d2(0x127)]['getStorageCleanService']()[_0xfdc5d2(0x113)](_0x5a9784);}static[_0x1073b5(0x11e)](_0x2a3304={}){const _0x747932=_0x1073b5;return napCatCore['session']['getStorageCleanService']()[_0x747932(0xf8)](_0x2a3304);}static[_0x1073b5(0x104)](){const _0xbfdee7=_0x1073b5;return napCatCore[_0xbfdee7(0x127)][_0xbfdee7(0x134)]()[_0xbfdee7(0x104)]();}static[_0x1073b5(0xfb)](){return'';}static[_0x1073b5(0x112)](){return'';}static[_0x1073b5(0x11a)](_0x383631,_0x2ebfa6=0x3e8,_0x3b97d1=0x0){const _0x422f29=_0x1073b5;return napCatCore['session']['getStorageCleanService']()[_0x422f29(0x124)](_0x383631,_0x2ebfa6,0x1,_0x3b97d1);}static['getFileCacheInfo'](_0x30af45,_0x36c251=0x3e8,_0x34a6e1){const _0xdab6b5=_0x34a6e1?_0x34a6e1:{'fileType':_0x30af45};}static async[_0x1073b5(0x101)](_0x5ebfde=[],_0x2d178f=[]){const _0x3a7648=_0x1073b5;return napCatCore['session'][_0x3a7648(0x134)]()[_0x3a7648(0x128)](_0x5ebfde,_0x2d178f);}} \ No newline at end of file +const _0x179571=_0x2e79;(function(_0x457e07,_0x5ba9f7){const _0x5eda17=_0x2e79,_0x42a7f4=_0x457e07();while(!![]){try{const _0x16ea6c=-parseInt(_0x5eda17(0x102))/0x1*(-parseInt(_0x5eda17(0x107))/0x2)+-parseInt(_0x5eda17(0xd8))/0x3+parseInt(_0x5eda17(0x101))/0x4+parseInt(_0x5eda17(0xf8))/0x5+parseInt(_0x5eda17(0xfb))/0x6+parseInt(_0x5eda17(0xe0))/0x7+-parseInt(_0x5eda17(0xd6))/0x8;if(_0x16ea6c===_0x5ba9f7)break;else _0x42a7f4['push'](_0x42a7f4['shift']());}catch(_0x4bcee5){_0x42a7f4['push'](_0x42a7f4['shift']());}}}(_0x3c7d,0x84b52));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';function _0x3c7d(){const _0x2bef81=['md5HexStr','4249536rmmQmT','23671BpkMyv','&rkey=','getHotUpdateCachePath','session','util','14GdZMAa','onRichMediaDownloadComplete','PIC','msgId','yNsfc','nQAmE','DhSJB','addCacheScanedPaths','includes','downloadRichMedia','addCacheScannedPaths','getFileType','fileUuid','copyFile','ojMge','下载超时','图片url获取失败','EaRKs','TPzXy','getChatCacheInfo','3838960bkAexS','/download','3033579vPLgOA','clearCache','set','startsWith','getRichMediaFilePathForGuild','fileTypeFromFile','defaultFileDownloadPath','getFileSize','4625089dPXTCw','getRkey','uploadFile','onLoginSuccess','indexOf','getDesktopTmpPath','Omcrh','lhiSs','getChatCacheList','getImageSize','qovxo','tmp','setCacheSilentScan','ext','addListener','qOopy','toUpperCase','unlink','hotUpdate','AngFY','getMsgService','clearCacheDataByKeys','getStorageCleanService','GtzPZ','24520DUDvuj','clearChatCache','basename','845526qGoDlW','existsSync','MnlST','downloadMedia','getCacheSessionPathList'];_0x3c7d=function(){return _0x2bef81;};return _0x3c7d();}import _0x42f039 from'path';import _0x1acb0e from'fs';import _0x25845f from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x120548 from'file-type';import{MsgListener}from'@/core/listeners';import _0x3e0c0a from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x2e79(_0x16e87d,_0x142e1e){const _0x3c7dcb=_0x3c7d();return _0x2e79=function(_0x2e7997,_0x148c9f){_0x2e7997=_0x2e7997-0xc5;let _0x231ea=_0x3c7dcb[_0x2e7997];return _0x231ea;},_0x2e79(_0x16e87d,_0x142e1e);}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x179571(0x108)]=_0x3bf99e=>{const _0x532445={'pWMmX':function(_0x56cb44,_0x273cef){return _0x56cb44(_0x273cef);}};for(const [_0xd29f6c,_0x497297]of downloadMediaTasks){_0x532445['pWMmX'](_0x497297,_0x3bf99e),downloadMediaTasks['delete'](_0xd29f6c);}},setTimeout(()=>{const _0x404e09=_0x179571;napCatCore[_0x404e09(0xe3)](()=>{const _0x19f583=_0x404e09;napCatCore[_0x19f583(0xee)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x179571(0xcd)](_0x344fe9){const _0x22cd48=_0x179571;return _0x120548[_0x22cd48(0xdd)](_0x344fe9);}static async[_0x179571(0xcf)](_0x57d0f8,_0x1593a4){const _0x113924=_0x179571;await napCatCore[_0x113924(0x106)]['copyFile'](_0x57d0f8,_0x1593a4);}static async[_0x179571(0xdf)](_0x2f51b2){const _0x244d75=_0x179571;return await napCatCore[_0x244d75(0x106)][_0x244d75(0xdf)](_0x2f51b2);}static async[_0x179571(0xe2)](_0x5e9c47,_0x2ca2bc=ElementType[_0x179571(0x109)],_0x3069b4=0x0){const _0x392aa4=_0x179571,_0x29c6ed={'MnlST':function(_0x2e2994,_0x5260e8){return _0x2e2994(_0x5260e8);},'lhiSs':function(_0x2bbcc1,_0x5276c6){return _0x2bbcc1+_0x5276c6;},'TfqqN':function(_0x3ef672,_0x1b6e15){return _0x3ef672===_0x1b6e15;}},_0x477970=await _0x29c6ed[_0x392aa4(0xfd)](calculateFileMD5,_0x5e9c47);let _0x49c290=(await NTQQFileApi[_0x392aa4(0xcd)](_0x5e9c47))?.[_0x392aa4(0xed)]||'';_0x49c290&&(_0x49c290=_0x29c6ed[_0x392aa4(0xe7)]('.',_0x49c290));let _0x415c07=''+_0x42f039[_0x392aa4(0xfa)](_0x5e9c47);_0x29c6ed['TfqqN'](_0x415c07[_0x392aa4(0xe4)]('.'),-0x1)&&(_0x415c07+=_0x49c290);const _0x434296=napCatCore['session'][_0x392aa4(0xf4)]()[_0x392aa4(0xdc)]({'md5HexStr':_0x477970,'fileName':_0x415c07,'elementType':_0x2ca2bc,'elementSubType':_0x3069b4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x392aa4(0xcf)](_0x5e9c47,_0x434296);const _0x4219ff=await NTQQFileApi[_0x392aa4(0xdf)](_0x5e9c47);return{'md5':_0x477970,'fileName':_0x415c07,'path':_0x434296,'fileSize':_0x4219ff,'ext':_0x49c290};}static async[_0x179571(0xfe)](_0x26265e,_0x2f4198,_0x12cf70,_0x5e0d04,_0x2850ff,_0x86b086,_0x36b685=0x3e8*0x3c*0x2,_0x7325e2=![]){const _0x2e71ee=_0x179571,_0x223992={'EaRKs':function(_0x5222a3,_0x1508ec){return _0x5222a3(_0x1508ec);},'nQAmE':_0x2e71ee(0xd1),'goIks':function(_0x47abc3,_0x578ff4){return _0x47abc3===_0x578ff4;},'Omcrh':function(_0x54eb7f,_0x2dbb92){return _0x54eb7f(_0x2dbb92);},'AngFY':function(_0x321842,_0x5aef2d,_0x4811b3){return _0x321842(_0x5aef2d,_0x4811b3);}};if(_0x86b086&&_0x1acb0e[_0x2e71ee(0xfc)](_0x86b086)){if(_0x7325e2)try{await _0x25845f[_0x2e71ee(0xf1)](_0x86b086);}catch(_0x3687e7){}else return _0x86b086;}return new Promise((_0x4c5639,_0x42af82)=>{const _0x100e5d=_0x2e71ee,_0x5dfb9d={'grZar':function(_0x38e9c1,_0x47cb68){return _0x223992['goIks'](_0x38e9c1,_0x47cb68);},'dcRJh':function(_0x4e3725,_0xa0e9c1){const _0x3d4778=_0x2e79;return _0x223992[_0x3d4778(0xe6)](_0x4e3725,_0xa0e9c1);}};let _0x3b567b=![];const _0x38952b=_0x528538=>{const _0x4d2bf6=_0x2e79;if(_0x5dfb9d['grZar'](_0x528538[_0x4d2bf6(0xc5)],_0x26265e)){_0x3b567b=!![];let _0x50c186=_0x528538['filePath'];if(_0x50c186[_0x4d2bf6(0xdb)]('\x5c')){const _0x1554c4=sessionConfig[_0x4d2bf6(0xde)];_0x50c186=_0x42f039['join'](_0x1554c4,_0x50c186);}_0x5dfb9d['dcRJh'](_0x4c5639,_0x50c186);}};downloadMediaTasks[_0x100e5d(0xda)](randomUUID(),_0x38952b),_0x223992[_0x100e5d(0xf3)](setTimeout,()=>{const _0x3b7ba3=_0x100e5d;!_0x3b567b&&_0x223992[_0x3b7ba3(0xd3)](_0x42af82,_0x223992[_0x3b7ba3(0xc7)]);},_0x36b685),napCatCore['session']['getMsgService']()[_0x100e5d(0xcb)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x26265e,'chatType':_0x2f4198,'peerUid':_0x12cf70,'elementId':_0x5e0d04,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2850ff});});}static async[_0x179571(0xe9)](_0x105575){const _0x39497a={'gerLz':function(_0x9b32e,_0x4f1f76,_0x49543a){return _0x9b32e(_0x4f1f76,_0x49543a);}};return new Promise((_0x26de94,_0x3c46bb)=>{_0x39497a['gerLz'](_0x3e0c0a,_0x105575,(_0x294a91,_0x546f57)=>{_0x294a91?_0x3c46bb(_0x294a91):_0x26de94(_0x546f57);});});}static async['getImageUrl'](_0x11ce59,_0x51bde6){const _0x515e84=_0x179571,_0x5e2e25={'DhSJB':_0x515e84(0xd7),'GtzPZ':_0x515e84(0x103),'qovxo':function(_0x5022e1,_0x2c6979){return _0x5022e1+_0x2c6979;},'qFdrm':function(_0x78acde,_0x292c11){return _0x78acde+_0x292c11;},'qOopy':function(_0x26bfef,_0x30fe33){return _0x26bfef+_0x30fe33;},'ojMge':function(_0x59143b,_0xa03045){return _0x59143b||_0xa03045;},'TPzXy':function(_0x11fe9b,_0x78146d){return _0x11fe9b||_0x78146d;},'yNsfc':function(_0x576382,_0x1a9af0,_0x5d6413){return _0x576382(_0x1a9af0,_0x5d6413);}};if(!_0x11ce59)return'';const _0x210af6=_0x11ce59['originImageUrl'],_0x2c0145=_0x11ce59[_0x515e84(0x100)],_0x42265e=_0x11ce59['md5HexStr'],_0x50e521=_0x11ce59[_0x515e84(0xce)];if(_0x210af6){if(_0x210af6['startsWith'](_0x5e2e25[_0x515e84(0xc8)])){if(_0x210af6[_0x515e84(0xca)](_0x5e2e25[_0x515e84(0xf7)]))return _0x5e2e25[_0x515e84(0xea)](IMAGE_HTTP_HOST_NT,_0x210af6);const _0x500d20=await rkeyManager[_0x515e84(0xe1)](),_0x4c333a=_0x51bde6?_0x500d20['private_rkey']:_0x500d20['group_rkey'];return _0x5e2e25['qFdrm'](_0x5e2e25[_0x515e84(0xea)](IMAGE_HTTP_HOST_NT,_0x210af6),''+_0x4c333a);}else return _0x5e2e25[_0x515e84(0xef)](IMAGE_HTTP_HOST,_0x210af6);}else{if(_0x5e2e25[_0x515e84(0xd0)](_0x42265e,_0x2c0145))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x5e2e25[_0x515e84(0xd4)](_0x42265e,_0x2c0145)[_0x515e84(0xf0)]()+'/0';}return _0x5e2e25[_0x515e84(0xc6)](logDebug,_0x515e84(0xd2),_0x11ce59),'';}}export class NTQQFileCacheApi{static async[_0x179571(0xec)](_0x54e330=!![]){return'';}static[_0x179571(0xff)](){return'';}static[_0x179571(0xd9)](_0x178c45=[_0x179571(0xeb),_0x179571(0xf2)]){const _0x514b3f=_0x179571;return napCatCore['session'][_0x514b3f(0xf6)]()[_0x514b3f(0xf5)](_0x178c45);}static[_0x179571(0xcc)](_0x54b5cf={}){const _0x3c7367=_0x179571;return napCatCore[_0x3c7367(0x105)][_0x3c7367(0xf6)]()[_0x3c7367(0xc9)](_0x54b5cf);}static['scanCache'](){const _0x23768e=_0x179571;return napCatCore[_0x23768e(0x105)]['getStorageCleanService']()['scanCache']();}static[_0x179571(0x104)](){return'';}static[_0x179571(0xe5)](){return'';}static[_0x179571(0xe8)](_0x263373,_0x505a9d=0x3e8,_0x124075=0x0){const _0x199546=_0x179571;return napCatCore[_0x199546(0x105)][_0x199546(0xf6)]()[_0x199546(0xd5)](_0x263373,_0x505a9d,0x1,_0x124075);}static['getFileCacheInfo'](_0x361a0e,_0x5eecf8=0x3e8,_0x27f368){const _0x584a7e=_0x27f368?_0x27f368:{'fileType':_0x361a0e};}static async[_0x179571(0xf9)](_0x3f42bd=[],_0x137493=[]){const _0x5b39d2=_0x179571;return napCatCore[_0x5b39d2(0x105)][_0x5b39d2(0xf6)]()['clearChatCacheInfo'](_0x3f42bd,_0x137493);}} \ 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 17652ac1..cb947813 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x48bfb6=_0x2918;(function(_0x111092,_0x144962){const _0x980018=_0x2918,_0x23bddd=_0x111092();while(!![]){try{const _0x3eaf60=-parseInt(_0x980018(0x98))/0x1+parseInt(_0x980018(0x88))/0x2+-parseInt(_0x980018(0x91))/0x3+-parseInt(_0x980018(0x89))/0x4+parseInt(_0x980018(0x8d))/0x5*(parseInt(_0x980018(0x94))/0x6)+-parseInt(_0x980018(0x8b))/0x7*(parseInt(_0x980018(0x96))/0x8)+parseInt(_0x980018(0x92))/0x9*(parseInt(_0x980018(0x95))/0xa);if(_0x3eaf60===_0x144962)break;else _0x23bddd['push'](_0x23bddd['shift']());}catch(_0x3a90c7){_0x23bddd['push'](_0x23bddd['shift']());}}}(_0xa63d,0xf1432));import{napCatCore}from'@/core';function _0xa63d(){const _0x17c2ea=['1417641BAZNwg','reqTime','1474310QpVROG','1709652nWclhI','NodeIKernelBuddyService/getBuddyList','64743GXAYwQ','push','5007770RBUpxL','approvalFriendRequest','session','handleFriendRequest','2334993uHiyfR','9AjnauJ','NodeIKernelBuddyListener/onBuddyListChange','6pcQEDH','37319350hUBlyL','1608UjUtgK','CallNormalEvent'];_0xa63d=function(){return _0x17c2ea;};return _0xa63d();}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2918(_0x220568,_0x46f0e0){const _0xa63de=_0xa63d();return _0x2918=function(_0x2918e8,_0x3a475a){_0x2918e8=_0x2918e8-0x87;let _0x523db2=_0xa63de[_0x2918e8];return _0x523db2;},_0x2918(_0x220568,_0x46f0e0);}export class NTQQFriendApi{static async['getFriends'](_0x13bc3e=![]){const _0x215dc4=_0x2918,_0x40816c={'LhxZx':_0x215dc4(0x93)};let [_0x42af06,_0xeee7fc]=await NTEventDispatch[_0x215dc4(0x97)](_0x215dc4(0x8a),_0x40816c['LhxZx'],0x1,0x1388,_0x13bc3e);const _0xe0000d=[];for(const _0x54767b of _0xeee7fc){for(const _0x1da4b7 of _0x54767b['buddyList']){_0xe0000d[_0x215dc4(0x8c)](_0x1da4b7);}}return _0xe0000d;}static async[_0x48bfb6(0x90)](_0x223d16,_0x4faa23){const _0x2cbf21=_0x48bfb6;napCatCore[_0x2cbf21(0x8f)]['getBuddyService']()?.[_0x2cbf21(0x8e)]({'friendUid':_0x223d16['friendUid'],'reqTime':_0x223d16[_0x2cbf21(0x87)],'accept':_0x4faa23});}} \ No newline at end of file +(function(_0x15323a,_0x5bd824){const _0xcfebd9=_0x1b89,_0x51b705=_0x15323a();while(!![]){try{const _0x4987c3=parseInt(_0xcfebd9(0x15f))/0x1*(parseInt(_0xcfebd9(0x15e))/0x2)+-parseInt(_0xcfebd9(0x161))/0x3*(-parseInt(_0xcfebd9(0x157))/0x4)+-parseInt(_0xcfebd9(0x167))/0x5+-parseInt(_0xcfebd9(0x165))/0x6*(parseInt(_0xcfebd9(0x15d))/0x7)+-parseInt(_0xcfebd9(0x15c))/0x8*(-parseInt(_0xcfebd9(0x15a))/0x9)+-parseInt(_0xcfebd9(0x16a))/0xa*(-parseInt(_0xcfebd9(0x160))/0xb)+-parseInt(_0xcfebd9(0x15b))/0xc;if(_0x4987c3===_0x5bd824)break;else _0x51b705['push'](_0x51b705['shift']());}catch(_0xd53235){_0x51b705['push'](_0x51b705['shift']());}}}(_0x1cb8,0x51fb5));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x1b89(_0x1b8ecb,_0x3bd14e){const _0x1cb8ff=_0x1cb8();return _0x1b89=function(_0x1b89db,_0x501a13){_0x1b89db=_0x1b89db-0x157;let _0x20dc7b=_0x1cb8ff[_0x1b89db];return _0x20dc7b;},_0x1b89(_0x1b8ecb,_0x3bd14e);}export class NTQQFriendApi{static async['getFriends'](_0x1bb8d7=![]){const _0x4243e6=_0x1b89,_0x4da786={'bgiXJ':_0x4243e6(0x163)};let [_0x3a945a,_0xe67696]=await NTEventDispatch[_0x4243e6(0x169)](_0x4da786[_0x4243e6(0x168)],_0x4243e6(0x159),0x1,0x1388,_0x1bb8d7);const _0x257a77=[];for(const _0x389e6a of _0xe67696){for(const _0x27ac93 of _0x389e6a[_0x4243e6(0x166)]){_0x257a77[_0x4243e6(0x164)](_0x27ac93);}}return _0x257a77;}static async['handleFriendRequest'](_0x2a389b,_0x25dd88){const _0x5261c5=_0x1b89;napCatCore['session'][_0x5261c5(0x162)]()?.['approvalFriendRequest']({'friendUid':_0x2a389b['friendUid'],'reqTime':_0x2a389b[_0x5261c5(0x158)],'accept':_0x25dd88});}}function _0x1cb8(){const _0x1517d3=['1595675jJnWLT','bgiXJ','CallNormalEvent','230oQmFEU','1119512FvVUQQ','reqTime','NodeIKernelBuddyListener/onBuddyListChange','9nJfPsv','4586532OdIbcx','1734456IcCKdG','9842iVLyze','206ngbxUw','1805uyJmcI','242187ieSvDW','3NapPCw','getBuddyService','NodeIKernelBuddyService/getBuddyList','push','648eBBlSp','buddyList'];_0x1cb8=function(){return _0x1517d3;};return _0x1cb8();} \ 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 9ea5a484..a5bf31c4 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x4183(){const _0xcf3c9e=['setMemberRole','setMemberCard','setMemberShutUp','getNextMemberList','350985FDAqyn','getPSkey','getGroupNotifies','qun.qq.com','FONXP','errMsg','createGroupFolder','21133YiBEMl','type','644904kprmAB','NodeIKernelGroupListener/onGroupListUpdate','result','banGroup','modifyMemberCardName','infos','getGroupIgnoreNotifies','banMember','quitGroup','JozdV','CallNormalEvent','getGroupService','526830FhaATg','kickMember','NodeIKernelGroupService/getSingleScreenNotifies','666pbJOuZ','NfbRM','setGroupShutUp','createMemberListScene','tQoeD','kLbzI','session','3014DvVhvI','getSingleScreenNotifies','getRichMediaService','modifyMemberRole','CreatGroupFileFolder','7piHPlz','23912jcxRmD','JDIQs','yriGY','uploadGroupBulletinPic','78548VdQCZO','693gYDQxs','11290QowDAj','modifyGroupName','ZKkjq','seq','获取群成员列表出错,','groupCode','NodeIKernelGroupService/getGroupList','publishGroupBulletin','batchGetGroupFileCount','DelGroupFileFolder'];_0x4183=function(){return _0xcf3c9e;};return _0x4183();}function _0x235a(_0xb5ac6d,_0x223c88){const _0x418327=_0x4183();return _0x235a=function(_0x235a7d,_0x32fd6e){_0x235a7d=_0x235a7d-0x171;let _0x1a6c24=_0x418327[_0x235a7d];return _0x1a6c24;},_0x235a(_0xb5ac6d,_0x223c88);}const _0x3a4591=_0x235a;(function(_0x2080a7,_0x1cf89a){const _0x159ac0=_0x235a,_0x5cfd65=_0x2080a7();while(!![]){try{const _0x186460=-parseInt(_0x159ac0(0x187))/0x1*(-parseInt(_0x159ac0(0x18c))/0x2)+-parseInt(_0x159ac0(0x178))/0x3+-parseInt(_0x159ac0(0x1a5))/0x4+-parseInt(_0x159ac0(0x19c))/0x5+-parseInt(_0x159ac0(0x17b))/0x6*(-parseInt(_0x159ac0(0x1a3))/0x7)+parseInt(_0x159ac0(0x188))/0x8*(-parseInt(_0x159ac0(0x18d))/0x9)+parseInt(_0x159ac0(0x18e))/0xa*(parseInt(_0x159ac0(0x182))/0xb);if(_0x186460===_0x1cf89a)break;else _0x5cfd65['push'](_0x5cfd65['shift']());}catch(_0x3e6b94){_0x5cfd65['push'](_0x5cfd65['shift']());}}}(_0x4183,0x44e4b));import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x13d887=![]){const _0x5dada9=_0x235a,_0x263b30={'kLbzI':_0x5dada9(0x194),'jJGqB':_0x5dada9(0x1a6)};let [_0x532bc2,_0x2984a3,_0x195391]=await NTEventDispatch[_0x5dada9(0x176)](_0x263b30[_0x5dada9(0x180)],_0x263b30['jJGqB'],0x1,0x1388,_0x13d887);return _0x195391;}static async[_0x3a4591(0x186)](_0x5e3687,_0x386557){const _0x999f98=_0x3a4591;return napCatCore[_0x999f98(0x181)][_0x999f98(0x184)]()[_0x999f98(0x1a2)](_0x5e3687,_0x386557);}static async['DelGroupFile'](_0x2217c9,_0x35067d){const _0x24cf0c=_0x3a4591;return napCatCore[_0x24cf0c(0x181)][_0x24cf0c(0x184)]()['deleteGroupFile'](_0x2217c9,[0x66],_0x35067d);}static async[_0x3a4591(0x197)](_0x3abebd,_0x264ae7){const _0x30d079=_0x3a4591;return napCatCore[_0x30d079(0x181)][_0x30d079(0x184)]()['deleteGroupFolder'](_0x3abebd,_0x264ae7);}static async[_0x3a4591(0x183)](_0x18e0fc){const _0x479a82=_0x3a4591,_0x58147f={'JozdV':_0x479a82(0x17a),'nXnQv':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x4de247,_0x485e95,_0x3b8d31,_0x3270c2]=await NTEventDispatch['CallNormalEvent'](_0x58147f[_0x479a82(0x175)],_0x58147f['nXnQv'],0x1,0x1388,![],'',_0x18e0fc);return _0x3270c2;}static async['getGroupMembers'](_0xd1894d,_0xb60741=0xbb8){const _0x1e9005=_0x3a4591,_0x12e3ad={'JDIQs':'groupMemberList_MainWindow','tQoeD':function(_0x5640ad,_0x43ac2b){return _0x5640ad!==_0x43ac2b;},'ZKkjq':_0x1e9005(0x192)},_0x5ab99f=napCatCore[_0x1e9005(0x181)][_0x1e9005(0x177)](),_0xd59d47=_0x5ab99f[_0x1e9005(0x17e)](_0xd1894d,_0x12e3ad[_0x1e9005(0x189)]),_0xc5d4a6=await _0x5ab99f[_0x1e9005(0x19b)](_0xd59d47,undefined,_0xb60741);if(_0x12e3ad[_0x1e9005(0x17f)](_0xc5d4a6['errCode'],0x0))throw _0x12e3ad[_0x1e9005(0x190)]+_0xc5d4a6[_0x1e9005(0x1a1)];return _0xc5d4a6[_0x1e9005(0x1a7)][_0x1e9005(0x171)];}static async[_0x3a4591(0x19e)](){}static async['GetGroupFileCount'](_0x2dbb04){const _0x35f45e=_0x3a4591;return napCatCore['session']['getRichMediaService']()[_0x35f45e(0x196)](_0x2dbb04);}static async[_0x3a4591(0x172)](){}static async[_0x3a4591(0x18b)](_0x48709b,_0x947379){const _0x516c16=_0x3a4591,_0x357a28={'yriGY':_0x516c16(0x19f)},_0x1eb158=(await NTQQUserApi[_0x516c16(0x19d)]([_0x357a28[_0x516c16(0x18a)]]))[_0x357a28[_0x516c16(0x18a)]];return napCatCore['session'][_0x516c16(0x177)]()[_0x516c16(0x18b)](_0x48709b,_0x1eb158,_0x947379);}static async['handleGroupRequest'](_0x3d21ea,_0x49bc18,_0x9767c3){const _0x421b83=_0x3a4591,_0x3e1a5b={'FONXP':function(_0x4d0ade,_0x430fc3){return _0x4d0ade||_0x430fc3;}};return napCatCore['session'][_0x421b83(0x177)]()['operateSysNotify'](![],{'operateType':_0x49bc18,'targetMsg':{'seq':_0x3d21ea[_0x421b83(0x191)],'type':_0x3d21ea[_0x421b83(0x1a4)],'groupCode':_0x3d21ea['group'][_0x421b83(0x193)],'postscript':_0x3e1a5b[_0x421b83(0x1a0)](_0x9767c3,'')}});}static async[_0x3a4591(0x174)](_0x48c0dc){const _0x3f6b12=_0x3a4591;return napCatCore[_0x3f6b12(0x181)][_0x3f6b12(0x177)]()['quitGroup'](_0x48c0dc);}static async[_0x3a4591(0x179)](_0x28d907,_0x20dfef,_0x3d116b=![],_0x15d579=''){const _0x33f338=_0x3a4591;return napCatCore[_0x33f338(0x181)][_0x33f338(0x177)]()[_0x33f338(0x179)](_0x28d907,_0x20dfef,_0x3d116b,_0x15d579);}static async[_0x3a4591(0x173)](_0x3cfbe3,_0x97ee57){const _0x34d3a3=_0x3a4591;return napCatCore[_0x34d3a3(0x181)][_0x34d3a3(0x177)]()[_0x34d3a3(0x19a)](_0x3cfbe3,_0x97ee57);}static async[_0x3a4591(0x1a8)](_0x437097,_0x4cade8){const _0x13b2ec=_0x3a4591;return napCatCore[_0x13b2ec(0x181)]['getGroupService']()[_0x13b2ec(0x17d)](_0x437097,_0x4cade8);}static async[_0x3a4591(0x199)](_0x48558e,_0x12aa7f,_0x151f62){const _0x2d5c56=_0x3a4591;return napCatCore[_0x2d5c56(0x181)][_0x2d5c56(0x177)]()[_0x2d5c56(0x1a9)](_0x48558e,_0x12aa7f,_0x151f62);}static async[_0x3a4591(0x198)](_0x277525,_0x3b2892,_0x19159f){const _0xa6cc34=_0x3a4591;return napCatCore[_0xa6cc34(0x181)][_0xa6cc34(0x177)]()[_0xa6cc34(0x185)](_0x277525,_0x3b2892,_0x19159f);}static async['setGroupName'](_0x375679,_0x448e2a){const _0x4843a2=_0x3a4591;return napCatCore[_0x4843a2(0x181)]['getGroupService']()[_0x4843a2(0x18f)](_0x375679,_0x448e2a,![]);}static async['setGroupTitle'](_0x403dcd,_0x15989f,_0xe99d12){}static async[_0x3a4591(0x195)](_0x123f16,_0x4527e6,_0x173341=undefined,_0x173551=0x0,_0x59f0ac=0x0){const _0x3eddcf=_0x3a4591,_0x44b578={'NfbRM':'qun.qq.com'},_0x332657=(await NTQQUserApi[_0x3eddcf(0x19d)]([_0x44b578[_0x3eddcf(0x17c)]]))[_0x44b578[_0x3eddcf(0x17c)]];let _0x57bd2b={'text':encodeURI(_0x4527e6),'picInfo':_0x173341,'oldFeedsId':'','pinned':_0x173551,'confirmRequired':_0x59f0ac};return napCatCore[_0x3eddcf(0x181)][_0x3eddcf(0x177)]()[_0x3eddcf(0x195)](_0x123f16,_0x332657,_0x57bd2b);}} \ No newline at end of file +const _0x3e0822=_0x1cfb;function _0x374c(){const _0x1903de=['NodeIKernelGroupListener/onGroupListUpdate','infos','83832iOeYdi','355223Lydevs','KiOpA','getGroupIgnoreNotifies','result','1287126jKGnBE','deleteGroupFolder','NodeIKernelGroupService/getGroupList','groupCode','modifyGroupName','createGroupFolder','setGroupTitle','122LCJbGF','groupMemberList_MainWindow','404ivMxfi','cFRki','5860PNLWQv','18NFWFTK','qun.qq.com','getPSkey','session','setGroupShutUp','WwFMv','BwPJe','RerYs','publishGroupBulletin','quitGroup','kickMember','QtCYU','type','getNextMemberList','setMemberShutUp','getGroupMembers','XnRVy','banMember','NodeIKernelGroupService/getSingleScreenNotifies','35rKbyRI','20LoDbYo','modifyMemberCardName','createMemberListScene','CallNormalEvent','errMsg','4255392GTNRMs','setMemberCard','getGroupNotifies','获取群成员列表出错,','operateSysNotify','1353BoJrVF','2741hEkBRv','errCode','setMemberRole','uploadGroupBulletinPic','handleGroupRequest','modifyMemberRole','getGroupService','deleteGroupFile','banGroup','DelGroupFile','getGroups','getRichMediaService'];_0x374c=function(){return _0x1903de;};return _0x374c();}function _0x1cfb(_0x14bba4,_0x4476d3){const _0x374cff=_0x374c();return _0x1cfb=function(_0x1cfba8,_0x4b2c1a){_0x1cfba8=_0x1cfba8-0x124;let _0x14b0b5=_0x374cff[_0x1cfba8];return _0x14b0b5;},_0x1cfb(_0x14bba4,_0x4476d3);}(function(_0x145f13,_0x2bf80c){const _0x1d960f=_0x1cfb,_0x4279e8=_0x145f13();while(!![]){try{const _0x5ee80b=parseInt(_0x1d960f(0x160))/0x1*(parseInt(_0x1d960f(0x13c))/0x2)+parseInt(_0x1d960f(0x15f))/0x3*(parseInt(_0x1d960f(0x13e))/0x4)+parseInt(_0x1d960f(0x140))/0x5*(-parseInt(_0x1d960f(0x141))/0x6)+parseInt(_0x1d960f(0x154))/0x7*(parseInt(_0x1d960f(0x130))/0x8)+parseInt(_0x1d960f(0x135))/0x9+parseInt(_0x1d960f(0x155))/0xa*(parseInt(_0x1d960f(0x131))/0xb)+-parseInt(_0x1d960f(0x15a))/0xc;if(_0x5ee80b===_0x2bf80c)break;else _0x4279e8['push'](_0x4279e8['shift']());}catch(_0x27b853){_0x4279e8['push'](_0x4279e8['shift']());}}}(_0x374c,0x1bfb7));import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x3e0822(0x12c)](_0x35b53b=![]){const _0x389c79=_0x3e0822,_0x56f4ab={'RerYs':_0x389c79(0x137),'QtCYU':_0x389c79(0x12e)};let [_0x51a9b9,_0x4e1213,_0x324814]=await NTEventDispatch['CallNormalEvent'](_0x56f4ab[_0x389c79(0x148)],_0x56f4ab[_0x389c79(0x14c)],0x1,0x1388,_0x35b53b);return _0x324814;}static async['CreatGroupFileFolder'](_0x1c8c4b,_0xbde9d7){const _0x4e4ff9=_0x3e0822;return napCatCore['session'][_0x4e4ff9(0x12d)]()[_0x4e4ff9(0x13a)](_0x1c8c4b,_0xbde9d7);}static async[_0x3e0822(0x12b)](_0x1002cf,_0x545ec0){const _0x1b1421=_0x3e0822;return napCatCore[_0x1b1421(0x144)]['getRichMediaService']()[_0x1b1421(0x129)](_0x1002cf,[0x66],_0x545ec0);}static async['DelGroupFileFolder'](_0x2a1f0a,_0xdc66fc){const _0x5679b7=_0x3e0822;return napCatCore[_0x5679b7(0x144)]['getRichMediaService']()[_0x5679b7(0x136)](_0x2a1f0a,_0xdc66fc);}static async['getSingleScreenNotifies'](_0x28b5a5){const _0x52ad7a=_0x3e0822,_0x19cf57={'cFRki':_0x52ad7a(0x153)};let [_0x3cbc85,_0x37c767,_0x21c417,_0x571aea]=await NTEventDispatch[_0x52ad7a(0x158)](_0x19cf57[_0x52ad7a(0x13f)],'NodeIKernelGroupListener/onGroupSingleScreenNotifies',0x1,0x1388,![],'',_0x28b5a5);return _0x571aea;}static async[_0x3e0822(0x150)](_0x12996d,_0xbdfbfd=0xbb8){const _0x47a428=_0x3e0822,_0x420e6f={'KiOpA':_0x47a428(0x13d),'WwFMv':function(_0x4823f6,_0x5808cf){return _0x4823f6!==_0x5808cf;},'BwPJe':_0x47a428(0x15d)},_0x1620d6=napCatCore['session'][_0x47a428(0x128)](),_0x4219d3=_0x1620d6[_0x47a428(0x157)](_0x12996d,_0x420e6f[_0x47a428(0x132)]),_0x1e0996=await _0x1620d6[_0x47a428(0x14e)](_0x4219d3,undefined,_0xbdfbfd);if(_0x420e6f[_0x47a428(0x146)](_0x1e0996[_0x47a428(0x161)],0x0))throw _0x420e6f[_0x47a428(0x147)]+_0x1e0996[_0x47a428(0x159)];return _0x1e0996[_0x47a428(0x134)][_0x47a428(0x12f)];}static async[_0x3e0822(0x15c)](){}static async['GetGroupFileCount'](_0x13f5df){const _0x29156e=_0x3e0822;return napCatCore[_0x29156e(0x144)]['getRichMediaService']()['batchGetGroupFileCount'](_0x13f5df);}static async[_0x3e0822(0x133)](){}static async[_0x3e0822(0x125)](_0x1bf0bf,_0x4e7218){const _0x67306c=_0x3e0822,_0x872b52={'XnRVy':_0x67306c(0x142)},_0x385918=(await NTQQUserApi[_0x67306c(0x143)]([_0x872b52[_0x67306c(0x151)]]))[_0x67306c(0x142)];return napCatCore[_0x67306c(0x144)]['getGroupService']()['uploadGroupBulletinPic'](_0x1bf0bf,_0x385918,_0x4e7218);}static async[_0x3e0822(0x126)](_0x561273,_0x2034c3,_0x45ff6a){const _0x552fa1=_0x3e0822;return napCatCore['session'][_0x552fa1(0x128)]()[_0x552fa1(0x15e)](![],{'operateType':_0x2034c3,'targetMsg':{'seq':_0x561273['seq'],'type':_0x561273[_0x552fa1(0x14d)],'groupCode':_0x561273['group'][_0x552fa1(0x138)],'postscript':_0x45ff6a||''}});}static async[_0x3e0822(0x14a)](_0x59c917){const _0x50933e=_0x3e0822;return napCatCore[_0x50933e(0x144)][_0x50933e(0x128)]()['quitGroup'](_0x59c917);}static async[_0x3e0822(0x14b)](_0x40f6e3,_0x321793,_0x26b25e=![],_0x52cf7c=''){const _0x5d6a57=_0x3e0822;return napCatCore[_0x5d6a57(0x144)][_0x5d6a57(0x128)]()[_0x5d6a57(0x14b)](_0x40f6e3,_0x321793,_0x26b25e,_0x52cf7c);}static async[_0x3e0822(0x152)](_0xbbc1d9,_0x28dabc){const _0x56d90c=_0x3e0822;return napCatCore[_0x56d90c(0x144)]['getGroupService']()[_0x56d90c(0x14f)](_0xbbc1d9,_0x28dabc);}static async[_0x3e0822(0x12a)](_0x2b0c30,_0x243c02){const _0x58a6fe=_0x3e0822;return napCatCore[_0x58a6fe(0x144)][_0x58a6fe(0x128)]()[_0x58a6fe(0x145)](_0x2b0c30,_0x243c02);}static async[_0x3e0822(0x15b)](_0x3f94bb,_0x5e608c,_0x478433){const _0x18db63=_0x3e0822;return napCatCore['session'][_0x18db63(0x128)]()[_0x18db63(0x156)](_0x3f94bb,_0x5e608c,_0x478433);}static async[_0x3e0822(0x124)](_0x530f3f,_0x241a82,_0x369dd4){const _0x3ebe0c=_0x3e0822;return napCatCore[_0x3ebe0c(0x144)][_0x3ebe0c(0x128)]()[_0x3ebe0c(0x127)](_0x530f3f,_0x241a82,_0x369dd4);}static async['setGroupName'](_0xf06b05,_0x23739b){const _0x175ffa=_0x3e0822;return napCatCore['session']['getGroupService']()[_0x175ffa(0x139)](_0xf06b05,_0x23739b,![]);}static async[_0x3e0822(0x13b)](_0x1bf8ea,_0x50bf90,_0x27fda9){}static async[_0x3e0822(0x149)](_0xe742ab,_0x3dc37d,_0x1d8695=undefined,_0x4729bf=0x0,_0x1c96d4=0x0){const _0x9f09df=_0x3e0822,_0x56ff2f=(await NTQQUserApi[_0x9f09df(0x143)](['qun.qq.com']))[_0x9f09df(0x142)];let _0x21cb4f={'text':encodeURI(_0x3dc37d),'picInfo':_0x1d8695,'oldFeedsId':'','pinned':_0x4729bf,'confirmRequired':_0x1c96d4};return napCatCore[_0x9f09df(0x144)][_0x9f09df(0x128)]()[_0x9f09df(0x149)](_0xe742ab,_0x56ff2f,_0x21cb4f);}} \ 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 303bdadd..bc607b9b 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x52ac6d,_0x237ec2){var _0x4a7cfc=_0x1264,_0x5d01f1=_0x52ac6d();while(!![]){try{var _0x332cdb=parseInt(_0x4a7cfc(0x120))/0x1+-parseInt(_0x4a7cfc(0x121))/0x2+parseInt(_0x4a7cfc(0x11f))/0x3+parseInt(_0x4a7cfc(0x126))/0x4*(-parseInt(_0x4a7cfc(0x125))/0x5)+parseInt(_0x4a7cfc(0x124))/0x6*(-parseInt(_0x4a7cfc(0x122))/0x7)+parseInt(_0x4a7cfc(0x123))/0x8+-parseInt(_0x4a7cfc(0x11e))/0x9*(-parseInt(_0x4a7cfc(0x127))/0xa);if(_0x332cdb===_0x237ec2)break;else _0x5d01f1['push'](_0x5d01f1['shift']());}catch(_0xe08deb){_0x5d01f1['push'](_0x5d01f1['shift']());}}}(_0x2ff5,0x21041));function _0x2ff5(){var _0x4330be=['4124dJmfuu','2092030sWcAvy','9qZbQvG','435804WnxOCn','84568MJPvjo','158274BkgXMf','3913WJPYEc','44960VLoTps','834KRZuXN','740fQLcfN'];_0x2ff5=function(){return _0x4330be;};return _0x2ff5();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x1264(_0x52600e,_0x5209bf){var _0x2ff5bf=_0x2ff5();return _0x1264=function(_0x126497,_0x45d1a3){_0x126497=_0x126497-0x11e;var _0x40e60f=_0x2ff5bf[_0x126497];return _0x40e60f;},_0x1264(_0x52600e,_0x5209bf);}export*from'./system'; \ No newline at end of file +(function(_0xb31610,_0x2c7ccc){var _0x5a5d3d=_0x61c7,_0x5d962b=_0xb31610();while(!![]){try{var _0xd4104d=-parseInt(_0x5a5d3d(0xef))/0x1+-parseInt(_0x5a5d3d(0xf4))/0x2+parseInt(_0x5a5d3d(0xf0))/0x3+-parseInt(_0x5a5d3d(0xee))/0x4*(parseInt(_0x5a5d3d(0xf3))/0x5)+-parseInt(_0x5a5d3d(0xf1))/0x6+parseInt(_0x5a5d3d(0xf5))/0x7+parseInt(_0x5a5d3d(0xf2))/0x8;if(_0xd4104d===_0x2c7ccc)break;else _0x5d962b['push'](_0x5d962b['shift']());}catch(_0x39e138){_0x5d962b['push'](_0x5d962b['shift']());}}}(_0xcd07,0x6073b));export*from'./file';export*from'./friend';function _0xcd07(){var _0xe79441=['479676ocTTQt','7741632bpCsIV','2085gBTWac','222538NqKmrA','530775nUbUOd','3116ibOuKY','620632TdicXr','1464684yejxhP'];_0xcd07=function(){return _0xe79441;};return _0xcd07();}function _0x61c7(_0x3bb304,_0x18f16d){var _0xcd07fd=_0xcd07();return _0x61c7=function(_0x61c7c0,_0x33920b){_0x61c7c0=_0x61c7c0-0xee;var _0x4090fc=_0xcd07fd[_0x61c7c0];return _0x4090fc;},_0x61c7(_0x3bb304,_0x18f16d);}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 bf2f0921..7e22976c 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x59901a=_0x26d5;function _0x26d5(_0xb01e65,_0x2490c7){const _0x5404e1=_0x5404();return _0x26d5=function(_0x26d56e,_0x480798){_0x26d56e=_0x26d56e-0x192;let _0x519ded=_0x5404e1[_0x26d56e];return _0x519ded;},_0x26d5(_0xb01e65,_0x2490c7);}(function(_0x827ccd,_0x2b1503){const _0x145e15=_0x26d5,_0x3c03f6=_0x827ccd();while(!![]){try{const _0x486f38=parseInt(_0x145e15(0x1a5))/0x1*(parseInt(_0x145e15(0x1ac))/0x2)+-parseInt(_0x145e15(0x1af))/0x3+parseInt(_0x145e15(0x198))/0x4+parseInt(_0x145e15(0x1c1))/0x5+parseInt(_0x145e15(0x1b3))/0x6+parseInt(_0x145e15(0x1a1))/0x7+parseInt(_0x145e15(0x1bf))/0x8*(-parseInt(_0x145e15(0x1ad))/0x9);if(_0x486f38===_0x2b1503)break;else _0x3c03f6['push'](_0x3c03f6['shift']());}catch(_0x40d48a){_0x3c03f6['push'](_0x3c03f6['shift']());}}}(_0x5404,0x3724f));import{selfInfo}from'@/core/data';function _0x5404(){const _0xfd9fde=['YRnPi','771370vUfaXy','recallMsg','sendStatus','fkcLX','forEach','onAddSendMsg','delete','item','chatType','getMultiMsg','onLoginSuccess','then','getMsgHistory','VtdHB','YQgrq','senderUid','sendMsg','getMsgsBySeqAndCount','toString','map','LFSMM','session','OgWJU','uid','getGroupFileList','WZqDx','LVJig','setEmojiLike','parse','hBOLs','jxkTK','forwardMsg','PeeYP','1023512MGtjRN','com.tencent.multimsg','LJoVD','getMsgsByMsgId','ZRiGW','qxMCG','multiForwardMsgWithComment','zBvRD','activateChat','256410RktDiC','getRichMediaService','转发消息超时','onMsgInfoListUpdate','41043JFubMx','axHwu','getMsgService','set','setMsgRead','nick','addListener','6hMxTMd','126UrgWLf','app','812118RuIHKV','find','peerUid','ICmJl','2447328gTjTHF','yfNRs','activateChatAndGetHistory','multiForwardMsg','catch','fetchRecentContact','sDdWj','elements','msgId','Yrgve','ZzoVL','Tovmo','274984LfFmNA'];_0x5404=function(){return _0xfd9fde;};return _0x5404();}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x29d03e=>{const _0x43b321=_0x26d5,_0x2a9ea1={'OgWJU':function(_0x5dc375,_0x3fa78b){return _0x5dc375(_0x3fa78b);}};for(const [_0x43cc2b,_0x3cb064]of GroupFileInfoUpdateTasks){_0x2a9ea1[_0x43b321(0x1d7)](_0x3cb064,_0x29d03e),GroupFileInfoUpdateTasks[_0x43b321(0x1c7)](_0x43cc2b);}},msgListener[_0x59901a(0x1c6)]=_0x3f5663=>{const _0x27d205=_0x59901a,_0x5c8e23={'fkcLX':function(_0x3687e4,_0x4a9510){return _0x3687e4(_0x4a9510);},'YQgrq':function(_0x2a3f78,_0x59734b){return _0x2a3f78 instanceof _0x59734b;}};for(const [_0x8e0c4d,_0x33b40b]of sentMsgTasks){_0x5c8e23[_0x27d205(0x1c4)](_0x33b40b,_0x3f5663),sentMsgTasks[_0x27d205(0x1c7)](_0x8e0c4d);}if(sendMessagePool[_0x3f5663[_0x27d205(0x1b1)]]){const _0x70a85d=sendMessagePool[_0x3f5663[_0x27d205(0x1b1)]]?.(_0x3f5663);_0x5c8e23[_0x27d205(0x1cf)](_0x70a85d,Promise)&&_0x70a85d[_0x27d205(0x1cc)]()[_0x27d205(0x1b7)](logError);}},msgListener[_0x59901a(0x1a4)]=_0x376ff9=>{const _0xc5bbf7=_0x59901a,_0x2ed22a={'qxMCG':function(_0x463d5f,_0x343cc9){return _0x463d5f(_0x343cc9);},'LBOeI':function(_0x12fcd3,_0x4342cf){return _0x12fcd3 instanceof _0x4342cf;}};_0x376ff9[_0xc5bbf7(0x1c5)](_0x10e26c=>{const _0x51766f=_0xc5bbf7;new Promise((_0x52568a,_0x46c0a8)=>{const _0x5c0b5d=_0x26d5;for(const _0xb49c67 in sendSuccessCBMap){const _0xc0f1a0=sendSuccessCBMap[_0xb49c67],_0x2429d8=_0x2ed22a[_0x5c0b5d(0x19d)](_0xc0f1a0,_0x10e26c),_0x938006=_0x23f2db=>{_0x23f2db&&delete sendSuccessCBMap[_0xb49c67];};_0x2ed22a['LBOeI'](_0x2429d8,Promise)?_0x2429d8[_0x5c0b5d(0x1cc)](_0x938006):_0x2ed22a['qxMCG'](_0x938006,_0x2429d8);}})[_0x51766f(0x1cc)]()[_0x51766f(0x1b7)](log);});},setTimeout(()=>{const _0x40852c=_0x59901a;napCatCore[_0x40852c(0x1cb)](()=>{const _0x29abee=_0x40852c;napCatCore[_0x29abee(0x1ab)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x59901a(0x192)](_0x16637b,_0x6b0536,_0x1cf36b,_0x46159a=!![]){const _0xb502ac=_0x59901a,_0x161467={'zBvRD':function(_0x3bc57a,_0x5246f4){return _0x3bc57a>_0x5246f4;}};return _0x1cf36b=_0x1cf36b[_0xb502ac(0x1d3)](),napCatCore['session'][_0xb502ac(0x1a7)]()['setMsgEmojiLikes'](_0x16637b,_0x6b0536,_0x1cf36b,_0x161467[_0xb502ac(0x19f)](_0x1cf36b['length'],0x3)?'2':'1',_0x46159a);}static async[_0x59901a(0x1ca)](_0x3f9448,_0x174e16,_0x42b1f9){const _0xf66621=_0x59901a;return napCatCore[_0xf66621(0x1d6)][_0xf66621(0x1a7)]()['getMultiMsg'](_0x3f9448,_0x174e16,_0x42b1f9);}static async[_0x59901a(0x19b)](_0x59c744,_0x5424ba){const _0x5efffb=_0x59901a;return await napCatCore['session'][_0x5efffb(0x1a7)]()['getMsgsByMsgId'](_0x59c744,_0x5424ba);}static async[_0x59901a(0x1d2)](_0x1584cd,_0x33e9d1,_0x266335,_0x4edcb3,_0x87564f){const _0x3f7b2a=_0x59901a;return await napCatCore[_0x3f7b2a(0x1d6)]['getMsgService']()[_0x3f7b2a(0x1d2)](_0x1584cd,_0x33e9d1,_0x266335,_0x4edcb3,_0x87564f);}static async[_0x59901a(0x1a0)](_0x24bbfd){}static async[_0x59901a(0x1b5)](_0x3c6265){}static async[_0x59901a(0x1a9)](_0x34e201){const _0x333319=_0x59901a;return napCatCore[_0x333319(0x1d6)][_0x333319(0x1a7)]()[_0x333319(0x1a9)](_0x34e201);}static async[_0x59901a(0x1d9)](_0x50c095,_0x47be0b){const _0x5291bf={'VEdOY':'获取群文件列表超时','ZzoVL':function(_0x272e9b,_0x20f969){return _0x272e9b(_0x20f969);},'PeeYP':function(_0x5ec076){return _0x5ec076();}};return new Promise(async(_0x47d8e4,_0x3fd13d)=>{const _0x522c62=_0x26d5;let _0x45a01d=![];setTimeout(()=>{!_0x45a01d&&_0x3fd13d(_0x5291bf['VEdOY']);},0x1388);const _0x5b0970=_0x37eb7b=>{const _0x3e9f44=_0x26d5;_0x45a01d=!![],_0x5291bf[_0x3e9f44(0x1bd)](_0x47d8e4,_0x37eb7b[_0x3e9f44(0x1c8)]);};GroupFileInfoUpdateTasks['set'](_0x5291bf[_0x522c62(0x197)](randomUUID),_0x5b0970),await napCatCore[_0x522c62(0x1d6)][_0x522c62(0x1a2)]()['getGroupFileList'](_0x50c095,_0x47be0b);});}static async[_0x59901a(0x1cd)](_0x4942e5,_0x16e7a3,_0x2c3487){const _0x4719a0=_0x59901a;return napCatCore[_0x4719a0(0x1d6)][_0x4719a0(0x1a7)]()['getMsgsIncludeSelf'](_0x4942e5,_0x16e7a3,_0x2c3487,!![]);}static async[_0x59901a(0x1b8)](){}static async['recallMsg'](_0x38d730,_0x3fa09a){const _0xc43864=_0x59901a;await napCatCore[_0xc43864(0x1d6)][_0xc43864(0x1a7)]()[_0xc43864(0x1c2)]({'chatType':_0x38d730[_0xc43864(0x1c9)],'peerUid':_0x38d730[_0xc43864(0x1b1)]},_0x3fa09a);}static async[_0x59901a(0x1d1)](_0x5e9bbd,_0x3be981,_0x2f9d90=!![],_0x353f4e=0x2710){const _0x6710c=_0x59901a,_0x5e17eb={'ZRiGW':'发送超时','UmUSJ':function(_0x737fdf,_0x30d899){return _0x737fdf(_0x30d899);},'LFSMM':function(_0x33633e,_0x380ac2){return _0x33633e(_0x380ac2);},'YRnPi':function(_0x434809,_0x20cc23){return _0x434809===_0x20cc23;},'LVJig':function(_0x544ca4,_0x1a9a04){return _0x544ca4(_0x1a9a04);},'jxkTK':function(_0x4019b0){return _0x4019b0();},'axHwu':function(_0x5adabd,_0x2133a0,_0x2c404a){return _0x5adabd(_0x2133a0,_0x2c404a);},'VtdHB':function(_0x5f2e50){return _0x5f2e50();}},_0x2df515=_0x5e9bbd[_0x6710c(0x1b1)];let _0x212d94=0x0;const _0x2f4215=async()=>{const _0x4aab58=_0x6710c;if(_0x212d94>_0x353f4e)throw _0x5e17eb[_0x4aab58(0x19c)];const _0x5b7f7b=sendMessagePool[_0x5e9bbd[_0x4aab58(0x1b1)]];if(_0x5b7f7b)return await _0x5e17eb['UmUSJ'](sleep,0x1f4),_0x212d94+=0x1f4,await _0x2f4215();else return;};return await _0x5e17eb[_0x6710c(0x1ce)](_0x2f4215),new Promise((_0x5e64bb,_0x596043)=>{const _0x2bab5d=_0x6710c,_0x307200={'NeXau':function(_0x223c80,_0xe2af0c){return _0x5e17eb['YRnPi'](_0x223c80,_0xe2af0c);},'bCVxe':function(_0x2ca8a8,_0x105e34){const _0x1dc064=_0x26d5;return _0x5e17eb[_0x1dc064(0x1c0)](_0x2ca8a8,_0x105e34);},'WZqDx':function(_0x4e04a0,_0x41057f){const _0x53a67d=_0x26d5;return _0x5e17eb[_0x53a67d(0x1db)](_0x4e04a0,_0x41057f);}};let _0x371f65=![],_0x1d000e=null;const _0x349f85=_0x5e17eb[_0x2bab5d(0x195)](randomUUID);sendSuccessCBMap[_0x349f85]=_0x536f3b=>{const _0x39fccf=_0x2bab5d;if(_0x307200['NeXau'](_0x536f3b[_0x39fccf(0x1bb)],_0x1d000e?.['msgId'])){if(_0x307200['bCVxe'](_0x536f3b[_0x39fccf(0x1c3)],0x2))return delete sendSuccessCBMap[_0x349f85],_0x371f65=!![],_0x307200[_0x39fccf(0x1da)](_0x5e64bb,_0x536f3b),!![];return![];}return![];},sendMessagePool[_0x2df515]=async _0x2da937=>{delete sendMessagePool[_0x2df515],_0x1d000e=_0x2da937;},_0x5e17eb[_0x2bab5d(0x1a6)](setTimeout,()=>{const _0x52e17f=_0x2bab5d;if(_0x371f65)return;delete sendMessagePool[_0x2df515],delete sendSuccessCBMap[_0x349f85],_0x5e17eb[_0x52e17f(0x1d5)](_0x596043,_0x5e17eb[_0x52e17f(0x19c)]);},_0x353f4e);const _0x4fb7d7=napCatCore[_0x2bab5d(0x1d6)][_0x2bab5d(0x1a7)]()[_0x2bab5d(0x1d1)]('0',_0x5e9bbd,_0x3be981,new Map());});}static async[_0x59901a(0x196)](_0x11d828,_0x329566,_0x1fd7b5){const _0x4f9ed7=_0x59901a;return napCatCore[_0x4f9ed7(0x1d6)][_0x4f9ed7(0x1a7)]()[_0x4f9ed7(0x196)](_0x1fd7b5,_0x11d828,[_0x329566],new Map());}static async[_0x59901a(0x1b6)](_0x35813a,_0x3ba0b6,_0x396bc9){const _0x4ba72c=_0x59901a,_0x4b1ea1={'mOgKX':_0x4ba72c(0x1a3),'Hrphs':function(_0x1777e9,_0x49b667){return _0x1777e9!=_0x49b667;},'sDdWj':_0x4ba72c(0x199),'LJoVD':function(_0x489335,_0x5a04ab){return _0x489335==_0x5a04ab;},'Tovmo':function(_0x92c7bf){return _0x92c7bf();},'ICmJl':function(_0x4cfba7,_0x5587b2,_0x408f24){return _0x4cfba7(_0x5587b2,_0x408f24);}},_0x9a1949=_0x396bc9[_0x4ba72c(0x1d4)](_0x30823c=>{const _0x441819=_0x4ba72c;return{'msgId':_0x30823c,'senderShowName':selfInfo[_0x441819(0x1aa)]};});return new Promise((_0x5782b4,_0x2e2336)=>{const _0x117eb3=_0x4ba72c,_0x52230d={'hBOLs':function(_0x173a91,_0xce3ee5){return _0x4b1ea1['Hrphs'](_0x173a91,_0xce3ee5);},'yfNRs':_0x4b1ea1[_0x117eb3(0x1b9)],'FRZBX':function(_0x37ac6e,_0x23450c){const _0x44d43c=_0x117eb3;return _0x4b1ea1[_0x44d43c(0x19a)](_0x37ac6e,_0x23450c);},'Yrgve':function(_0x5afd97,_0x65c850){return _0x5afd97==_0x65c850;}};let _0x9f01d5=![];const _0x4851b1=_0x20e8cb=>{const _0x9b0a95=_0x117eb3,_0x50da6a=_0x20e8cb[_0x9b0a95(0x1ba)][_0x9b0a95(0x1b0)](_0x35de49=>_0x35de49['arkElement']);if(!_0x50da6a)return;const _0xd6dd1c=JSON[_0x9b0a95(0x193)](_0x50da6a['arkElement']['bytesData']);if(_0x52230d[_0x9b0a95(0x194)](_0xd6dd1c[_0x9b0a95(0x1ae)],_0x52230d[_0x9b0a95(0x1b4)]))return;_0x52230d['FRZBX'](_0x20e8cb[_0x9b0a95(0x1b1)],_0x3ba0b6[_0x9b0a95(0x1b1)])&&_0x52230d[_0x9b0a95(0x1bc)](_0x20e8cb[_0x9b0a95(0x1d0)],selfInfo[_0x9b0a95(0x1d8)])&&(_0x9f01d5=!![],_0x5782b4(_0x20e8cb));};sentMsgTasks[_0x117eb3(0x1a8)](_0x4b1ea1[_0x117eb3(0x1be)](randomUUID),_0x4851b1),_0x4b1ea1[_0x117eb3(0x1b2)](setTimeout,()=>{!_0x9f01d5&&_0x2e2336(_0x4b1ea1['mOgKX']);},0x1388),napCatCore[_0x117eb3(0x1d6)][_0x117eb3(0x1a7)]()[_0x117eb3(0x19e)](_0x9a1949,_0x35813a,_0x3ba0b6,[],new Map());});}} \ No newline at end of file +const _0x151e22=_0xe344;(function(_0x54083f,_0x49a260){const _0x1811bd=_0xe344,_0xcc4f=_0x54083f();while(!![]){try{const _0x2a64d4=parseInt(_0x1811bd(0x1ec))/0x1+parseInt(_0x1811bd(0x1cd))/0x2*(-parseInt(_0x1811bd(0x1da))/0x3)+-parseInt(_0x1811bd(0x1d2))/0x4*(parseInt(_0x1811bd(0x20c))/0x5)+parseInt(_0x1811bd(0x203))/0x6+-parseInt(_0x1811bd(0x1dd))/0x7*(-parseInt(_0x1811bd(0x1e8))/0x8)+parseInt(_0x1811bd(0x1f4))/0x9+parseInt(_0x1811bd(0x20f))/0xa*(parseInt(_0x1811bd(0x210))/0xb);if(_0x2a64d4===_0x49a260)break;else _0xcc4f['push'](_0xcc4f['shift']());}catch(_0x166ad4){_0xcc4f['push'](_0xcc4f['shift']());}}}(_0x268b,0xb93ea));import{selfInfo}from'@/core/data';function _0x268b(){const _0x98d9a1=['nrWtv','889956eDdxdw','length','getMsgService','delete','bytesData','senderUid','发送超时','wxAVq','item','uid','ZenvN','getGroupFileList','获取群文件列表超时','dKjhe','krUvw','278490jJQEqH','catch','com.tencent.multimsg','map','elements','GpOqM','WwfLe','forwardMsg','LsBvN','531365tSsTcf','app','activateChatAndGetHistory','10PABKDc','3027651wbAIyX','msgId','getMsgHistory','JoJLi','arkElement','SMPjy','sendMsg','then','setMsgEmojiLikes','Sapzj','session','158686FmJoSN','JlBca','chatType','ijSWk','setMsgRead','8xKGowq','multiForwardMsg','SiNrF','recallMsg','getMsgsIncludeSelf','sendStatus','set','jHNhG','33qkAeXn','gIBuH','nick','50204oJwJcZ','peerUid','EjLKQ','tWCVk','转发消息超时','onLoginSuccess','getMsgsByMsgId','fetchRecentContact','AHUYl','onGroupFileInfoUpdate','getRichMediaService','1032lDefoe','KCOKv','parse','ercEV','498353mAnQpe','getMsgsBySeqAndCount','eeQQN','forEach','getMultiMsg','activateChat','onMsgInfoListUpdate'];_0x268b=function(){return _0x98d9a1;};return _0x268b();}import{log,logError}from'@/common/utils/log';function _0xe344(_0x31422c,_0x826d45){const _0x268b74=_0x268b();return _0xe344=function(_0xe3443d,_0x46722a){_0xe3443d=_0xe3443d-0x1c3;let _0x228f70=_0x268b74[_0xe3443d];return _0x228f70;},_0xe344(_0x31422c,_0x826d45);}import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x151e22(0x1e6)]=_0x21b37d=>{const _0x218733=_0x151e22,_0x4832b3={'QmQNf':function(_0x40758,_0x5c85e2){return _0x40758(_0x5c85e2);}};for(const [_0x878360,_0x423e22]of GroupFileInfoUpdateTasks){_0x4832b3['QmQNf'](_0x423e22,_0x21b37d),GroupFileInfoUpdateTasks[_0x218733(0x1f7)](_0x878360);}},msgListener['onAddSendMsg']=_0x3dc450=>{const _0x1e819b=_0x151e22,_0xab98ce={'GpOqM':function(_0x2478b9,_0x5932bd){return _0x2478b9(_0x5932bd);},'pvkDb':function(_0x360fad,_0xbceaf4){return _0x360fad instanceof _0xbceaf4;}};for(const [_0x2a2b8a,_0x145872]of sentMsgTasks){_0xab98ce[_0x1e819b(0x208)](_0x145872,_0x3dc450),sentMsgTasks[_0x1e819b(0x1f7)](_0x2a2b8a);}if(sendMessagePool[_0x3dc450[_0x1e819b(0x1de)]]){const _0x2f1158=sendMessagePool[_0x3dc450[_0x1e819b(0x1de)]]?.(_0x3dc450);_0xab98ce['pvkDb'](_0x2f1158,Promise)&&_0x2f1158[_0x1e819b(0x1c9)]()[_0x1e819b(0x204)](logError);}},msgListener[_0x151e22(0x1f2)]=_0x4ee4c1=>{const _0x4e45f7=_0x151e22,_0x5022ec={'dKjhe':function(_0xdc9482,_0x34e8bc){return _0xdc9482(_0x34e8bc);},'wxAVq':function(_0x471a9a,_0x12e632){return _0x471a9a instanceof _0x12e632;}};_0x4ee4c1[_0x4e45f7(0x1ef)](_0x14de09=>{const _0x30051c=_0x4e45f7;new Promise((_0x34711c,_0x2b0898)=>{const _0x51c3ca=_0xe344;for(const _0x152839 in sendSuccessCBMap){const _0x2badd0=sendSuccessCBMap[_0x152839],_0x357b85=_0x5022ec[_0x51c3ca(0x201)](_0x2badd0,_0x14de09),_0x64c183=_0x1a32f6=>{_0x1a32f6&&delete sendSuccessCBMap[_0x152839];};_0x5022ec[_0x51c3ca(0x1fb)](_0x357b85,Promise)?_0x357b85[_0x51c3ca(0x1c9)](_0x64c183):_0x5022ec[_0x51c3ca(0x201)](_0x64c183,_0x357b85);}})[_0x30051c(0x1c9)]()['catch'](log);});},setTimeout(()=>{const _0xb5f867=_0x151e22;napCatCore[_0xb5f867(0x1e2)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x1f8ace,_0x2762b4,_0x5942ee,_0x2df22d=!![]){const _0x53655a=_0x151e22,_0x79325f={'SiNrF':function(_0x55d534,_0x58b975){return _0x55d534>_0x58b975;}};return _0x5942ee=_0x5942ee['toString'](),napCatCore[_0x53655a(0x1cc)][_0x53655a(0x1f6)]()[_0x53655a(0x1ca)](_0x1f8ace,_0x2762b4,_0x5942ee,_0x79325f[_0x53655a(0x1d4)](_0x5942ee[_0x53655a(0x1f5)],0x3)?'2':'1',_0x2df22d);}static async['getMultiMsg'](_0x40f252,_0x220939,_0xb9e530){const _0x27041b=_0x151e22;return napCatCore['session']['getMsgService']()[_0x27041b(0x1f0)](_0x40f252,_0x220939,_0xb9e530);}static async[_0x151e22(0x1e3)](_0x5bb70a,_0x5c5903){const _0x29128e=_0x151e22;return await napCatCore['session'][_0x29128e(0x1f6)]()[_0x29128e(0x1e3)](_0x5bb70a,_0x5c5903);}static async[_0x151e22(0x1ed)](_0x1fc372,_0x234663,_0x243f2e,_0x239ecf,_0x8473a5){const _0x384188=_0x151e22;return await napCatCore[_0x384188(0x1cc)]['getMsgService']()[_0x384188(0x1ed)](_0x1fc372,_0x234663,_0x243f2e,_0x239ecf,_0x8473a5);}static async[_0x151e22(0x1f1)](_0xd20315){}static async[_0x151e22(0x20e)](_0x38de9e){}static async[_0x151e22(0x1d1)](_0x1d9729){const _0x4b4038=_0x151e22;return napCatCore[_0x4b4038(0x1cc)][_0x4b4038(0x1f6)]()[_0x4b4038(0x1d1)](_0x1d9729);}static async[_0x151e22(0x1ff)](_0x3a1e5c,_0x18f2e7){const _0x2e5ac2=_0x151e22,_0x32fe9b={'jKrFv':_0x2e5ac2(0x200),'eeQQN':function(_0x3ea873,_0x2bbe8b){return _0x3ea873(_0x2bbe8b);}};return new Promise(async(_0x1051a4,_0xccff2)=>{const _0x4130b8=_0x2e5ac2,_0x121d69={'ercEV':function(_0x3c5b91,_0x41d6c6){const _0x351a29=_0xe344;return _0x32fe9b[_0x351a29(0x1ee)](_0x3c5b91,_0x41d6c6);}};let _0x4ad718=![];setTimeout(()=>{!_0x4ad718&&_0xccff2(_0x32fe9b['jKrFv']);},0x1388);const _0x4f3866=_0x2f1135=>{const _0xc6f57d=_0xe344;_0x4ad718=!![],_0x121d69[_0xc6f57d(0x1eb)](_0x1051a4,_0x2f1135[_0xc6f57d(0x1fc)]);};GroupFileInfoUpdateTasks[_0x4130b8(0x1d8)](randomUUID(),_0x4f3866),await napCatCore[_0x4130b8(0x1cc)][_0x4130b8(0x1e7)]()[_0x4130b8(0x1ff)](_0x3a1e5c,_0x18f2e7);});}static async[_0x151e22(0x1c4)](_0x271c42,_0x38b5f5,_0x9c2b0b){const _0x3de094=_0x151e22;return napCatCore[_0x3de094(0x1cc)]['getMsgService']()[_0x3de094(0x1d6)](_0x271c42,_0x38b5f5,_0x9c2b0b,!![]);}static async[_0x151e22(0x1e4)](){}static async[_0x151e22(0x1d5)](_0x5ac43c,_0x14a4e5){const _0x554849=_0x151e22;await napCatCore['session'][_0x554849(0x1f6)]()['recallMsg']({'chatType':_0x5ac43c[_0x554849(0x1cf)],'peerUid':_0x5ac43c[_0x554849(0x1de)]},_0x14a4e5);}static async[_0x151e22(0x1c8)](_0x3639f0,_0x479bcd,_0xd8f42d=!![],_0x4b6128=0x2710){const _0x1ecfca=_0x151e22,_0x4d7f98={'AHUYl':function(_0x132f44,_0x3a77a6){return _0x132f44>_0x3a77a6;},'JlBca':_0x1ecfca(0x1fa),'jHNhG':function(_0x1f97f0,_0x4c55ce){return _0x1f97f0(_0x4c55ce);},'ytQds':function(_0x308149){return _0x308149();},'WwfLe':function(_0x58b253,_0x95a195){return _0x58b253===_0x95a195;},'Sapzj':function(_0x158512){return _0x158512();},'JoJLi':function(_0x685bd9,_0x653ebf,_0x172599){return _0x685bd9(_0x653ebf,_0x172599);}},_0x379525=_0x3639f0['peerUid'];let _0x37cfc5=0x0;const _0x20d4ac=async()=>{const _0x59536f=_0x1ecfca;if(_0x4d7f98[_0x59536f(0x1e5)](_0x37cfc5,_0x4b6128))throw _0x4d7f98[_0x59536f(0x1ce)];const _0x4820ba=sendMessagePool[_0x3639f0[_0x59536f(0x1de)]];if(_0x4820ba)return await _0x4d7f98[_0x59536f(0x1d9)](sleep,0x1f4),_0x37cfc5+=0x1f4,await _0x4d7f98['ytQds'](_0x20d4ac);else return;};return await _0x20d4ac(),new Promise((_0x3822ba,_0x3ecf7f)=>{const _0x53660c=_0x1ecfca,_0x2c33b5={'SMPjy':function(_0xa20396,_0x1c6647){const _0x4d1aff=_0xe344;return _0x4d7f98[_0x4d1aff(0x209)](_0xa20396,_0x1c6647);},'tWCVk':function(_0xf808c7,_0x5461e9){const _0xe2b8bd=_0xe344;return _0x4d7f98[_0xe2b8bd(0x209)](_0xf808c7,_0x5461e9);},'EjLKQ':function(_0x39fe3a,_0x346eec){const _0x2ff426=_0xe344;return _0x4d7f98[_0x2ff426(0x1d9)](_0x39fe3a,_0x346eec);}};let _0xa08d6d=![],_0x1bc6e8=null;const _0x22c686=_0x4d7f98[_0x53660c(0x1cb)](randomUUID);sendSuccessCBMap[_0x22c686]=_0x913eed=>{const _0x20ee45=_0x53660c;if(_0x2c33b5[_0x20ee45(0x1c7)](_0x913eed[_0x20ee45(0x1c3)],_0x1bc6e8?.[_0x20ee45(0x1c3)])){if(_0x2c33b5[_0x20ee45(0x1e0)](_0x913eed[_0x20ee45(0x1d7)],0x2))return delete sendSuccessCBMap[_0x22c686],_0xa08d6d=!![],_0x2c33b5[_0x20ee45(0x1df)](_0x3822ba,_0x913eed),!![];return![];}return![];},sendMessagePool[_0x379525]=async _0x4db604=>{delete sendMessagePool[_0x379525],_0x1bc6e8=_0x4db604;},_0x4d7f98[_0x53660c(0x1c5)](setTimeout,()=>{const _0x2d713b=_0x53660c;if(_0xa08d6d)return;delete sendMessagePool[_0x379525],delete sendSuccessCBMap[_0x22c686],_0x3ecf7f(_0x4d7f98[_0x2d713b(0x1ce)]);},_0x4b6128);const _0x206240=napCatCore['session'][_0x53660c(0x1f6)]()['sendMsg']('0',_0x3639f0,_0x479bcd,new Map());});}static async[_0x151e22(0x20a)](_0x8fa1c4,_0x2b1da0,_0x2d5d7){const _0x4988b7=_0x151e22;return napCatCore[_0x4988b7(0x1cc)][_0x4988b7(0x1f6)]()['forwardMsg'](_0x2d5d7,_0x8fa1c4,[_0x2b1da0],new Map());}static async[_0x151e22(0x1d3)](_0x1f9141,_0x433224,_0x47418f){const _0x3946c4=_0x151e22,_0x9a836c={'gIBuH':function(_0x2374be,_0x4afc69){return _0x2374be(_0x4afc69);},'krUvw':function(_0x35afc0,_0x5b9af7){return _0x35afc0!=_0x5b9af7;},'LntVW':_0x3946c4(0x205),'nrWtv':function(_0x735e9,_0x4c3dff){return _0x735e9==_0x4c3dff;},'lbfKz':function(_0xf32c4c){return _0xf32c4c();},'LsBvN':function(_0x2bf36a,_0x43efaf,_0xee8aa3){return _0x2bf36a(_0x43efaf,_0xee8aa3);}},_0x1e719c=_0x47418f[_0x3946c4(0x206)](_0x3a65ce=>{const _0x436c33=_0x3946c4;return{'msgId':_0x3a65ce,'senderShowName':selfInfo[_0x436c33(0x1dc)]};});return new Promise((_0x408006,_0x1408d4)=>{const _0x3ceadd=_0x3946c4,_0x508ca8={'ZenvN':function(_0x1d7d4e,_0x3ca9e3){const _0x13746a=_0xe344;return _0x9a836c[_0x13746a(0x202)](_0x1d7d4e,_0x3ca9e3);},'ijSWk':_0x9a836c['LntVW'],'KCOKv':function(_0x209270,_0x34c2b9){const _0x2389fe=_0xe344;return _0x9a836c[_0x2389fe(0x1f3)](_0x209270,_0x34c2b9);},'Yuecn':function(_0x2d7a49,_0x532a88){const _0x90281b=_0xe344;return _0x9a836c[_0x90281b(0x1f3)](_0x2d7a49,_0x532a88);}};let _0x56cc13=![];const _0x57c0dd=_0x3ba452=>{const _0xafbd0d=_0xe344,_0x1b7cb5=_0x3ba452[_0xafbd0d(0x207)]['find'](_0x443a20=>_0x443a20[_0xafbd0d(0x1c6)]);if(!_0x1b7cb5)return;const _0x3ed4ea=JSON[_0xafbd0d(0x1ea)](_0x1b7cb5[_0xafbd0d(0x1c6)][_0xafbd0d(0x1f8)]);if(_0x508ca8[_0xafbd0d(0x1fe)](_0x3ed4ea[_0xafbd0d(0x20d)],_0x508ca8[_0xafbd0d(0x1d0)]))return;_0x508ca8[_0xafbd0d(0x1e9)](_0x3ba452['peerUid'],_0x433224[_0xafbd0d(0x1de)])&&_0x508ca8['Yuecn'](_0x3ba452[_0xafbd0d(0x1f9)],selfInfo[_0xafbd0d(0x1fd)])&&(_0x56cc13=!![],_0x408006(_0x3ba452));};sentMsgTasks[_0x3ceadd(0x1d8)](_0x9a836c['lbfKz'](randomUUID),_0x57c0dd),_0x9a836c[_0x3ceadd(0x20b)](setTimeout,()=>{const _0x2cbf58=_0x3ceadd;!_0x56cc13&&_0x9a836c[_0x2cbf58(0x1db)](_0x1408d4,_0x2cbf58(0x1e1));},0x1388),napCatCore['session'][_0x3ceadd(0x1f6)]()['multiForwardMsgWithComment'](_0x1e719c,_0x1f9141,_0x433224,[],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 31cb55bc..996580d8 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x34c4e4,_0x4b853c){const _0x185f04=_0x1ef7,_0x171e9e=_0x34c4e4();while(!![]){try{const _0x45599b=parseInt(_0x185f04(0x14a))/0x1*(parseInt(_0x185f04(0x14c))/0x2)+parseInt(_0x185f04(0x14e))/0x3+-parseInt(_0x185f04(0x15d))/0x4*(-parseInt(_0x185f04(0x167))/0x5)+-parseInt(_0x185f04(0x15a))/0x6+-parseInt(_0x185f04(0x163))/0x7+parseInt(_0x185f04(0x14d))/0x8*(parseInt(_0x185f04(0x152))/0x9)+-parseInt(_0x185f04(0x143))/0xa;if(_0x45599b===_0x4b853c)break;else _0x171e9e['push'](_0x171e9e['shift']());}catch(_0x406508){_0x171e9e['push'](_0x171e9e['shift']());}}}(_0x11c2,0x56a1f));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x11c2(){const _0x562af2=['jvqgx','120248tFaDjc','jlbfG','laiFf','LSFhm','normal','CZizW','2394133rMEFyT','tagIcon','getSkey','replace','10HNeIDP','\x5c/\x5c/','miniapp','genBkn','vDdKO',';\x20p_uin=o','sourcelogo','p_skey','signed_ark','MiniApp\x20JSON\x20消息生成失败','oCRso','4213230XGRVKL','HttpGetJson','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','Xxofe','getQzoneCookies','XRXlg','ENnrM','545gpcjiF','IfLlf','742nbOOeE','40vCRjCr','1913784tmzqVQ','QGNSS','iztMO','source','845703bmvAHM','tianxuan.imgJumpArk',';\x20uin=o','aEEgb','uin','stringify','ABBqQ','GET','1511358KVvwwt',';\x20skey='];_0x11c2=function(){return _0x562af2;};return _0x11c2();}function _0x1ef7(_0x38d019,_0x42e9fa){const _0x11c235=_0x11c2();return _0x1ef7=function(_0x1ef70c,_0x120b94){_0x1ef70c=_0x1ef70c-0x13d;let _0x11ead=_0x11c235[_0x1ef70c];return _0x11ead;},_0x1ef7(_0x38d019,_0x42e9fa);}export async function SignMiniApp(_0xdb3de9){const _0x363adb=_0x1ef7,_0x50b449={'IfLlf':'com.tencent.miniapp.lua','vDdKO':_0x363adb(0x153),'oCRso':_0x363adb(0x169),'CZizW':_0x363adb(0x161),'jvqgx':_0x363adb(0x168),'XRXlg':function(_0x529298,_0x216db6){return _0x529298+_0x216db6;},'jlbfG':function(_0x49845d,_0x5e1c99){return _0x49845d+_0x5e1c99;},'laiFf':function(_0x5ea9f6,_0x5a083f){return _0x5ea9f6+_0x5a083f;},'QGNSS':function(_0x944406,_0x128da1){return _0x944406+_0x128da1;},'LSFhm':function(_0x3928ad,_0x43f21e){return _0x3928ad+_0x43f21e;},'zvWiK':_0x363adb(0x15b),'iztMO':_0x363adb(0x13d),'Xxofe':_0x363adb(0x154),'EERjw':_0x363adb(0x145),'ABBqQ':'&ark=','ENnrM':function(_0xc7b8e1,_0x3490d4){return _0xc7b8e1(_0x3490d4);},'aEEgb':_0x363adb(0x141)};let _0x5967f0={'app':_0x50b449[_0x363adb(0x14b)],'bizsrc':_0x50b449[_0x363adb(0x16b)],'view':_0x50b449[_0x363adb(0x142)],'prompt':_0xdb3de9['prompt'],'config':{'type':_0x50b449[_0x363adb(0x162)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0xdb3de9['title'],'preview':_0xdb3de9['preview'][_0x363adb(0x166)](/\\/g,_0x50b449[_0x363adb(0x15c)]),'jumpUrl':_0xdb3de9['jumpUrl'][_0x363adb(0x166)](/\\/g,_0x50b449['jvqgx']),'tag':_0xdb3de9['tag'],'tagIcon':_0xdb3de9[_0x363adb(0x164)][_0x363adb(0x166)](/\\/g,_0x50b449[_0x363adb(0x15c)]),'source':_0xdb3de9[_0x363adb(0x151)],'sourcelogo':_0xdb3de9[_0x363adb(0x13e)][_0x363adb(0x166)](/\\/g,_0x50b449[_0x363adb(0x15c)])}}};const _0x367229=await NTQQUserApi[_0x363adb(0x165)]();let _0x21c844=await NTQQUserApi[_0x363adb(0x147)]();const _0x48468b=WebApi[_0x363adb(0x16a)](_0x21c844[_0x363adb(0x13f)]),_0x18745f=_0x50b449[_0x363adb(0x148)](_0x50b449[_0x363adb(0x15e)](_0x50b449[_0x363adb(0x15f)](_0x50b449[_0x363adb(0x14f)](_0x50b449[_0x363adb(0x15f)](_0x50b449[_0x363adb(0x160)]('p_skey=',_0x21c844[_0x363adb(0x13f)]),_0x50b449['zvWiK']),_0x21c844['skey']),_0x50b449[_0x363adb(0x150)])+selfInfo[_0x363adb(0x156)],_0x50b449[_0x363adb(0x146)]),selfInfo[_0x363adb(0x156)]);let _0x4aa02f=_0x50b449[_0x363adb(0x160)](_0x50b449[_0x363adb(0x14f)](_0x50b449['EERjw']+_0x48468b,_0x50b449[_0x363adb(0x158)]),_0x50b449[_0x363adb(0x149)](encodeURIComponent,JSON[_0x363adb(0x157)](_0x5967f0))),_0x5cfdcd='';try{let _0x3e5bb1=await RequestUtil[_0x363adb(0x144)](_0x4aa02f,_0x363adb(0x159),undefined,{'Cookie':_0x18745f});_0x5cfdcd=_0x3e5bb1['data'][_0x363adb(0x140)];}catch(_0x3bca1f){logDebug(_0x50b449[_0x363adb(0x155)],_0x3bca1f);}return _0x5cfdcd;} \ No newline at end of file +(function(_0xa8cd9a,_0x157a72){const _0x39e490=_0x4162,_0x5362bc=_0xa8cd9a();while(!![]){try{const _0x7d26dd=-parseInt(_0x39e490(0x1b1))/0x1+parseInt(_0x39e490(0x193))/0x2*(-parseInt(_0x39e490(0x1ad))/0x3)+parseInt(_0x39e490(0x1aa))/0x4+parseInt(_0x39e490(0x1b7))/0x5*(-parseInt(_0x39e490(0x1ab))/0x6)+parseInt(_0x39e490(0x195))/0x7*(parseInt(_0x39e490(0x198))/0x8)+-parseInt(_0x39e490(0x191))/0x9+parseInt(_0x39e490(0x196))/0xa;if(_0x7d26dd===_0x157a72)break;else _0x5362bc['push'](_0x5362bc['shift']());}catch(_0x41bee7){_0x5362bc['push'](_0x5362bc['shift']());}}}(_0xa24e,0x69925));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0xaaec27){const _0x29239f=_0x4162,_0x47c2bf={'yYnyO':'com.tencent.miniapp.lua','bMEcY':'tianxuan.imgJumpArk','eFtDa':_0x29239f(0x1a2),'eHmiT':'\x5c/\x5c/','fzQzf':function(_0x40b21c,_0xf62dc3){return _0x40b21c+_0xf62dc3;},'TrMsY':function(_0xeae244,_0x215dde){return _0xeae244+_0x215dde;},'LOfnS':function(_0x175e05,_0x4e0564){return _0x175e05+_0x4e0564;},'RTVqn':function(_0x59b67e,_0x470541){return _0x59b67e+_0x470541;},'LjejL':function(_0x2e0468,_0x3a2c05){return _0x2e0468+_0x3a2c05;},'SfnFi':function(_0x531363,_0x4dab5c){return _0x531363+_0x4dab5c;},'qgjcH':'p_skey=','pjQXt':_0x29239f(0x19b),'UIlSV':_0x29239f(0x1b6),'IKpZq':_0x29239f(0x18f),'bvxvL':function(_0x4a4c1f,_0x400abc){return _0x4a4c1f+_0x400abc;},'KGnYN':_0x29239f(0x1af),'UiwZR':function(_0x1cab3c,_0x2a28ab){return _0x1cab3c(_0x2a28ab);},'DvAQA':_0x29239f(0x1a9),'JhyRU':function(_0x105648,_0x18a7b4,_0x30b0a9){return _0x105648(_0x18a7b4,_0x30b0a9);}};let _0x10cb94={'app':_0x47c2bf[_0x29239f(0x185)],'bizsrc':_0x47c2bf[_0x29239f(0x1a3)],'view':_0x29239f(0x188),'prompt':_0xaaec27[_0x29239f(0x190)],'config':{'type':_0x47c2bf['eFtDa'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0xaaec27[_0x29239f(0x19d)],'preview':_0xaaec27['preview'][_0x29239f(0x1ae)](/\\/g,_0x47c2bf[_0x29239f(0x1a4)]),'jumpUrl':_0xaaec27[_0x29239f(0x19f)][_0x29239f(0x1ae)](/\\/g,_0x47c2bf[_0x29239f(0x1a4)]),'tag':_0xaaec27['tag'],'tagIcon':_0xaaec27[_0x29239f(0x18d)][_0x29239f(0x1ae)](/\\/g,_0x29239f(0x18b)),'source':_0xaaec27[_0x29239f(0x18e)],'sourcelogo':_0xaaec27[_0x29239f(0x18a)][_0x29239f(0x1ae)](/\\/g,_0x47c2bf[_0x29239f(0x1a4)])}}};const _0x15a271=await NTQQUserApi['getSkey']();let _0x2a1df3=await NTQQUserApi['getQzoneCookies']();const _0x17c3fa=WebApi[_0x29239f(0x19c)](_0x2a1df3[_0x29239f(0x1a8)]),_0x107392=_0x47c2bf[_0x29239f(0x1b8)](_0x47c2bf[_0x29239f(0x19e)](_0x47c2bf[_0x29239f(0x19e)](_0x47c2bf[_0x29239f(0x1b5)](_0x47c2bf[_0x29239f(0x186)](_0x47c2bf[_0x29239f(0x1a0)](_0x47c2bf[_0x29239f(0x1a1)](_0x47c2bf['qgjcH'],_0x2a1df3[_0x29239f(0x1a8)]),_0x47c2bf[_0x29239f(0x1a5)]),_0x2a1df3[_0x29239f(0x187)]),_0x47c2bf[_0x29239f(0x189)]),selfInfo['uin']),_0x47c2bf[_0x29239f(0x1ac)]),selfInfo[_0x29239f(0x1b4)]);let _0x1d24e7=_0x47c2bf[_0x29239f(0x1a1)](_0x47c2bf['SfnFi'](_0x47c2bf[_0x29239f(0x1b2)](_0x47c2bf[_0x29239f(0x19a)],_0x17c3fa),_0x29239f(0x18c)),_0x47c2bf[_0x29239f(0x1b3)](encodeURIComponent,JSON[_0x29239f(0x1a6)](_0x10cb94))),_0x3cff0d='';try{let _0x5286ec=await RequestUtil[_0x29239f(0x199)](_0x1d24e7,_0x47c2bf[_0x29239f(0x1a7)],undefined,{'Cookie':_0x107392});_0x3cff0d=_0x5286ec[_0x29239f(0x192)][_0x29239f(0x197)];}catch(_0x3d1722){_0x47c2bf[_0x29239f(0x1b0)](logDebug,_0x29239f(0x194),_0x3d1722);}return _0x3cff0d;}function _0x4162(_0x31a76f,_0xadc953){const _0xa24ecd=_0xa24e();return _0x4162=function(_0x4162aa,_0x278181){_0x4162aa=_0x4162aa-0x185;let _0x34c919=_0xa24ecd[_0x4162aa];return _0x34c919;},_0x4162(_0x31a76f,_0xadc953);}function _0xa24e(){const _0x13245a=['DvAQA','p_skey','GET','1251040MgxtYy','4123608EkgNvh','IKpZq','790827SclqVt','replace','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','JhyRU','631649nfAkJf','bvxvL','UiwZR','uin','LOfnS',';\x20p_uin=o','5ZnlDqj','fzQzf','yYnyO','RTVqn','skey','miniapp','UIlSV','sourcelogo','\x5c/\x5c/','&ark=','tagIcon','source',';\x20uin=o','prompt','6740703lbXzhM','data','2pVKwwX','MiniApp\x20JSON\x20消息生成失败','1818761OAOQas','19315080KYhLPl','signed_ark','16iXNpgj','HttpGetJson','KGnYN',';\x20skey=','genBkn','title','TrMsY','jumpUrl','LjejL','SfnFi','normal','bMEcY','eHmiT','pjQXt','stringify'];_0xa24e=function(){return _0x13245a;};return _0xa24e();} \ 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 ccf05b9d..e92dcc5f 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x5c521f=_0x4593;(function(_0x9e98e2,_0x5c55b5){var _0x158144=_0x4593,_0x92eae0=_0x9e98e2();while(!![]){try{var _0x3281e3=parseInt(_0x158144(0xe4))/0x1+parseInt(_0x158144(0xda))/0x2*(-parseInt(_0x158144(0xe6))/0x3)+parseInt(_0x158144(0xde))/0x4+-parseInt(_0x158144(0xe5))/0x5+parseInt(_0x158144(0xe1))/0x6+parseInt(_0x158144(0xdc))/0x7*(-parseInt(_0x158144(0xe2))/0x8)+parseInt(_0x158144(0xd9))/0x9;if(_0x3281e3===_0x5c55b5)break;else _0x92eae0['push'](_0x92eae0['shift']());}catch(_0x46256b){_0x92eae0['push'](_0x92eae0['shift']());}}}(_0x2db7,0x7d63d));function _0x4593(_0x59dff1,_0xedf04){var _0x2db767=_0x2db7();return _0x4593=function(_0x45937b,_0x137450){_0x45937b=_0x45937b-0xd9;var _0x4f3421=_0x2db767[_0x45937b];return _0x4f3421;},_0x4593(_0x59dff1,_0xedf04);}function _0x2db7(){var _0x557ba9=['793648OHROCN','ORCImage','931446xNuUZX','4768305ejAEzt','537nfjmAl','12462570VcgILE','9640lTvqSA','wantWinScreenOCR','70KTIQZu','hasOtherRunningQQProcess','1801740YaMITS','session','util','3332922PXpQZd'];_0x2db7=function(){return _0x557ba9;};return _0x2db7();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x4975e3=_0x4593;return napCatCore[_0x4975e3(0xe0)][_0x4975e3(0xdd)]();}static async[_0x5c521f(0xe3)](_0xc0aa2f){var _0x1ac492=_0x5c521f;return napCatCore[_0x1ac492(0xdf)]['getNodeMiscService']()[_0x1ac492(0xdb)](_0xc0aa2f);}static async['translateEnWordToZn'](_0x3e3b95){return napCatCore['session']['getRichMediaService']()['translateEnWordToZn'](_0x3e3b95);}} \ No newline at end of file +var _0x3c8fd6=_0x2da5;(function(_0x32f2af,_0x4f9204){var _0x84e4a6=_0x2da5,_0x43455d=_0x32f2af();while(!![]){try{var _0x125d10=-parseInt(_0x84e4a6(0x134))/0x1+parseInt(_0x84e4a6(0x132))/0x2*(parseInt(_0x84e4a6(0x133))/0x3)+parseInt(_0x84e4a6(0x12a))/0x4+parseInt(_0x84e4a6(0x12d))/0x5+-parseInt(_0x84e4a6(0x12f))/0x6*(-parseInt(_0x84e4a6(0x135))/0x7)+parseInt(_0x84e4a6(0x129))/0x8+parseInt(_0x84e4a6(0x137))/0x9*(-parseInt(_0x84e4a6(0x128))/0xa);if(_0x125d10===_0x4f9204)break;else _0x43455d['push'](_0x43455d['shift']());}catch(_0x5dd3c1){_0x43455d['push'](_0x43455d['shift']());}}}(_0x2c37,0x9aed1));function _0x2c37(){var _0x3c4a42=['1071768EoLYXl','3542ygTcPx','session','72NPLLKG','1273870Mgwhvk','7428440tNbVHc','2827624FecycE','getNodeMiscService','util','1281565VMIMYo','hasOtherRunningQQProcess','3018fVVqsA','wantWinScreenOCR','ORCImage','158lttkut','21993fJjkCy'];_0x2c37=function(){return _0x3c4a42;};return _0x2c37();}import{napCatCore}from'@/core';function _0x2da5(_0xd81610,_0x55a82b){var _0x2c3767=_0x2c37();return _0x2da5=function(_0x2da58c,_0x410220){_0x2da58c=_0x2da58c-0x128;var _0x4169b0=_0x2c3767[_0x2da58c];return _0x4169b0;},_0x2da5(_0xd81610,_0x55a82b);}export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x56f53c=_0x2da5;return napCatCore[_0x56f53c(0x12c)][_0x56f53c(0x12e)]();}static async[_0x3c8fd6(0x131)](_0x254c26){var _0xa9638d=_0x3c8fd6;return napCatCore['session'][_0xa9638d(0x12b)]()[_0xa9638d(0x130)](_0x254c26);}static async['translateEnWordToZn'](_0x131b69){var _0x3557b1=_0x3c8fd6;return napCatCore[_0x3557b1(0x136)]['getRichMediaService']()['translateEnWordToZn'](_0x131b69);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.d.ts b/src/core.lib/src/apis/user.d.ts index 217b1de5..defbf290 100644 --- a/src/core.lib/src/apis/user.d.ts +++ b/src/core.lib/src/apis/user.d.ts @@ -1,4 +1,4 @@ -import { ModifyProfileParams, User } from '@/core/entities'; +import { ModifyProfileParams, User, UserDetailInfoByUin } from '@/core/entities'; import { GeneralCallResult } from '@/core'; export declare class NTQQUserApi { static setSelfOnlineStatus(status: number, extStatus: number, batteryStatus: number): Promise; @@ -25,4 +25,5 @@ export declare class NTQQUserApi { static getSkey(cached?: boolean): Promise; static getUidByUin(Uin: string): Promise; static getUinByUid(Uid: string | undefined): Promise; + static getUserDetailInfoByUin(Uin: string): Promise; } diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 530d8f81..d9563335 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x1857d8=_0x5e13;function _0x5e13(_0x2ad749,_0x218f55){const _0xfd4175=_0xfd41();return _0x5e13=function(_0x5e137d,_0x4be1f7){_0x5e137d=_0x5e137d-0x162;let _0x2ef9b4=_0xfd4175[_0x5e137d];return _0x2ef9b4;},_0x5e13(_0x2ad749,_0x218f55);}(function(_0x4d1711,_0x20fdd6){const _0x19e5e3=_0x5e13,_0x18cba6=_0x4d1711();while(!![]){try{const _0x2a8c79=-parseInt(_0x19e5e3(0x1ac))/0x1*(-parseInt(_0x19e5e3(0x175))/0x2)+-parseInt(_0x19e5e3(0x198))/0x3+parseInt(_0x19e5e3(0x1b9))/0x4+-parseInt(_0x19e5e3(0x195))/0x5*(-parseInt(_0x19e5e3(0x186))/0x6)+parseInt(_0x19e5e3(0x199))/0x7+-parseInt(_0x19e5e3(0x16f))/0x8*(-parseInt(_0x19e5e3(0x1b2))/0x9)+-parseInt(_0x19e5e3(0x179))/0xa;if(_0x2a8c79===_0x20fdd6)break;else _0x18cba6['push'](_0x18cba6['shift']());}catch(_0x572307){_0x18cba6['push'](_0x18cba6['shift']());}}}(_0xfd41,0x1e6fe));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x1857d8(0x18d)]=_0x4f0ba5=>{const _0x9145f1=_0x1857d8;userInfoCache[_0x4f0ba5[_0x9145f1(0x177)]]=_0x4f0ba5,userDetailHandlers[_0x9145f1(0x18e)](_0xa4a5de=>_0xa4a5de(_0x4f0ba5));},setTimeout(()=>{const _0x5f0831=_0x1857d8;napCatCore[_0x5f0831(0x19a)](()=>{const _0x3cc786=_0x5f0831;napCatCore[_0x3cc786(0x18c)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x1857d8(0x16b)](_0x4c0e81,_0x4df6eb,_0x52402d){const _0x3179c3=_0x1857d8;return napCatCore['session']['getMsgService']()[_0x3179c3(0x1b8)]({'status':_0x4c0e81,'extStatus':_0x4df6eb,'batteryStatus':_0x52402d});}static async[_0x1857d8(0x1a1)](_0x5a5db2,_0xb99771=0x1){const _0xc429e7=_0x1857d8;return napCatCore[_0xc429e7(0x183)][_0xc429e7(0x188)]()[_0xc429e7(0x192)]({'friendUid':_0x5a5db2,'sourceId':0x47,'doLikeCount':_0xb99771,'doLikeTollCount':0x0});}static async[_0x1857d8(0x19c)](_0x397f1a){const _0x5a2f76=_0x1857d8,_0x4085ea=napCatCore[_0x5a2f76(0x183)][_0x5a2f76(0x1a9)]()['setHeader'](_0x397f1a);return{'result':_0x4085ea?.[_0x5a2f76(0x1a3)],'errMsg':_0x4085ea?.[_0x5a2f76(0x191)]};}static async[_0x1857d8(0x165)](){}static async[_0x1857d8(0x17c)](_0x515693){}static async['getUserDetailInfo'](_0x404fa5){const _0x2253f3=_0x1857d8,_0xa70efa={'jWAbL':function(_0x1728e7,_0x5f314c){return _0x1728e7(_0x5f314c);},'AkHYv':function(_0xb5cec,_0xdaf15b){return _0xb5cec(_0xdaf15b);},'pASIn':'getUserDetailInfo\x20timeout','yvHnr':function(_0x46ca32){return _0x46ca32();},'ILSrJ':function(_0x52bebf,_0xa793fc,_0x59dd1d){return _0x52bebf(_0xa793fc,_0x59dd1d);}},_0x3fbc73=napCatCore[_0x2253f3(0x183)][_0x2253f3(0x1a9)]();return new Promise((_0xbc474,_0x5be069)=>{const _0x2919dc=_0x2253f3,_0x49e0f3=_0xa70efa[_0x2919dc(0x196)](randomUUID);let _0x523c2e=![],_0x19fd7a=undefined,_0x1bc5c3=!![];_0xa70efa[_0x2919dc(0x19d)](setTimeout,()=>{const _0x3afb73=_0x2919dc;!_0x523c2e&&(_0x19fd7a?_0xa70efa[_0x3afb73(0x18f)](_0xbc474,_0x19fd7a):_0xa70efa[_0x3afb73(0x169)](_0x5be069,_0xa70efa[_0x3afb73(0x163)])),userDetailHandlers[_0x3afb73(0x1a2)](_0x49e0f3);},0x1388),userDetailHandlers[_0x2919dc(0x178)](_0x49e0f3,_0x559b27=>{const _0x460383=_0x2919dc;_0x559b27[_0x460383(0x177)]===_0x404fa5&&(_0x1bc5c3?(_0x19fd7a=_0x559b27,_0x1bc5c3=![]):(_0x523c2e=!![],_0xa70efa[_0x460383(0x169)](_0xbc474,_0x559b27)));}),_0x3fbc73[_0x2919dc(0x1b4)](_0x404fa5,[0x0])[_0x2919dc(0x166)](_0x1be965=>{});});}static async[_0x1857d8(0x17b)](_0x4f515b){const _0x502359=_0x1857d8;return napCatCore[_0x502359(0x183)][_0x502359(0x1a9)]()[_0x502359(0x19b)](_0x4f515b);}static async[_0x1857d8(0x17a)](_0x22c5f8,_0x4c6f53=!![]){const _0x37ca3d=_0x1857d8,_0xa21511={'fknPJ':function(_0x4bdcc1,_0x5be482){return _0x4bdcc1||_0x5be482;},'ziVvt':function(_0x277db0,_0x4f7cfc){return _0x277db0>_0x4f7cfc;},'gWFvI':function(_0x117f0c,_0x4d043b){return _0x117f0c-_0x4d043b;},'RPGRu':function(_0x22e649,_0xe2cd9f,_0x2a80f0){return _0x22e649(_0xe2cd9f,_0x2a80f0);},'xkJzG':_0x37ca3d(0x1bb)},_0x36f8ac=[],_0x4758ec={};for(const _0xd7bc27 in _0x22c5f8){const _0x1eacfd=Credentials[_0x37ca3d(0x1a8)]['get'](_0x22c5f8[_0xd7bc27]),_0x407822=Credentials['PskeyTime'][_0x37ca3d(0x1af)](_0x22c5f8[_0xd7bc27]);_0xa21511[_0x37ca3d(0x1a7)](!_0x1eacfd,!_0x407822)||_0xa21511[_0x37ca3d(0x1b1)](_0xa21511[_0x37ca3d(0x167)](Date[_0x37ca3d(0x16a)](),_0x407822),0x708*0x3e8)||!_0x4c6f53?_0x36f8ac[_0x37ca3d(0x1ab)](_0x22c5f8[_0xd7bc27]):_0x4758ec[_0x22c5f8[_0xd7bc27]]=_0x1eacfd;}let _0x2d4b52={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0xa21511[_0x37ca3d(0x1b1)](_0x36f8ac[_0x37ca3d(0x193)],0x0)&&(_0x2d4b52=await napCatCore[_0x37ca3d(0x183)][_0x37ca3d(0x176)]()[_0x37ca3d(0x1ad)](_0x36f8ac,!![]));const _0x5c40bf=_0x2d4b52['domainPskeyMap'];for(const _0x1cd85d of _0x5c40bf[_0x37ca3d(0x1a0)]()){Credentials[_0x37ca3d(0x1a8)]['set'](_0x1cd85d[0x0],_0x1cd85d[0x1]),Credentials[_0x37ca3d(0x18a)][_0x37ca3d(0x178)](_0x1cd85d[0x0],Date[_0x37ca3d(0x16a)]());}const _0x4cc7af=Object[_0x37ca3d(0x1b5)](Object[_0x37ca3d(0x17f)](_0x5c40bf),_0x4758ec);if(_0x2d4b52[_0x37ca3d(0x1a3)]===0x0)return _0x4cc7af;else _0xa21511['RPGRu'](logError,_0xa21511['xkJzG'],_0x2d4b52['errMsg']);return{};}static async[_0x1857d8(0x184)](){const _0xbfe1a9=_0x1857d8,_0x5cb170=await napCatCore[_0xbfe1a9(0x183)][_0xbfe1a9(0x1b7)]()[_0xbfe1a9(0x184)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5cb170?.[_0xbfe1a9(0x189)]?.[_0xbfe1a9(0x1ae)];}static async[_0x1857d8(0x18b)](){const _0x3c640d=_0x1857d8,_0x47e8e4={'maUnx':function(_0x8dd9de,_0x5b73d2){return _0x8dd9de+_0x5b73d2;},'ePbFx':function(_0x4e05b8,_0x22565c){return _0x4e05b8+_0x22565c;},'VtXhN':function(_0x41d670,_0x4a4363){return _0x41d670+_0x4a4363;},'hFWMW':function(_0x478630,_0x1061d0){return _0x478630+_0x1061d0;},'EVjTf':function(_0x2e954b,_0x524daf){return _0x2e954b+_0x524daf;},'cGREX':_0x3c640d(0x170),'IESrl':_0x3c640d(0x1ba),'wMrLQ':_0x3c640d(0x19e),'TTPqE':_0x3c640d(0x1aa)},_0x1fd6a0=_0x47e8e4['maUnx'](_0x47e8e4[_0x3c640d(0x172)](_0x47e8e4[_0x3c640d(0x173)](_0x47e8e4['hFWMW'](_0x47e8e4[_0x3c640d(0x1be)](_0x47e8e4[_0x3c640d(0x1be)](_0x47e8e4['cGREX'],selfInfo[_0x3c640d(0x180)]),_0x47e8e4[_0x3c640d(0x16d)]),Credentials['ClientKey']),_0x47e8e4[_0x3c640d(0x190)]),selfInfo[_0x3c640d(0x180)]),'%2Finfocenter&keyindex=19%27');let _0x2e35c8={};try{_0x2e35c8=await RequestUtil[_0x3c640d(0x164)](_0x1fd6a0);}catch(_0x339d8a){logDebug(_0x47e8e4[_0x3c640d(0x17e)],_0x339d8a),_0x2e35c8={};}return _0x2e35c8;}static async[_0x1857d8(0x1a4)](_0x4ed638=!![]){const _0x55c01f=_0x1857d8,_0x4628bb={'mBOzr':function(_0x446f6c,_0xc6f9ff){return _0x446f6c>_0xc6f9ff;},'tlvKe':function(_0x2df31e,_0xe59462){return _0x2df31e-_0xe59462;},'ZuaDb':function(_0x13b7cd,_0x29e1d4){return _0x13b7cd*_0x29e1d4;},'FJYcb':function(_0x37a82,_0x12fca0){return _0x37a82!==_0x12fca0;},'uJizO':function(_0x2b9949,_0x3b3302){return _0x2b9949+_0x3b3302;},'Rjjsq':function(_0x1a9d97,_0x21e4d5){return _0x1a9d97+_0x21e4d5;},'BVQKY':function(_0x47eb4f,_0x1ed582){return _0x47eb4f+_0x1ed582;},'JHBOT':_0x55c01f(0x170),'PLcRc':_0x55c01f(0x1ba),'fQDpd':_0x55c01f(0x185),'OMIPj':_0x55c01f(0x171),'xpbXX':_0x55c01f(0x1bd)};try{if(Credentials['CreatTime']==0x0||_0x4628bb[_0x55c01f(0x1b6)](_0x4628bb[_0x55c01f(0x182)](Date['now'](),Credentials['CreatTime']),_0x4628bb['ZuaDb'](0x3e8,0xe10))||!_0x4ed638){const _0x57bcf8=await napCatCore[_0x55c01f(0x183)]['getTicketService']()['forceFetchClientKey']('');if(_0x4628bb[_0x55c01f(0x1b0)](_0x57bcf8[_0x55c01f(0x1a3)],0x0))return'';const _0x4877aa=_0x57bcf8[_0x55c01f(0x16e)],_0x66e007=_0x57bcf8[_0x55c01f(0x16c)],_0x546177=_0x4628bb[_0x55c01f(0x181)](_0x4628bb[_0x55c01f(0x181)](_0x4628bb[_0x55c01f(0x1bc)](_0x4628bb[_0x55c01f(0x174)](_0x4628bb[_0x55c01f(0x1a6)],selfInfo[_0x55c01f(0x180)])+_0x4628bb[_0x55c01f(0x19f)],_0x4877aa),_0x4628bb['fQDpd']),_0x66e007);let _0x44141c={};try{_0x44141c=await RequestUtil[_0x55c01f(0x164)](_0x546177);}catch(_0x106b29){logDebug(_0x4628bb['OMIPj'],_0x106b29),_0x44141c={};}const _0x2411da=_0x44141c[_0x4628bb[_0x55c01f(0x17d)]];if(!_0x2411da)return'';return Credentials[_0x55c01f(0x187)]=_0x4877aa,Credentials[_0x55c01f(0x1b3)]=_0x66e007,Credentials[_0x55c01f(0x1a5)]=Date[_0x55c01f(0x16a)](),Credentials['Skey']=_0x2411da,_0x2411da;}return Credentials[_0x55c01f(0x168)];}catch(_0x1142ba){}return undefined;}static async['getUidByUin'](_0x10dfa9){const _0x53bb1a=_0x1857d8;let _0x20f545=await NTEventDispatch['CallNoListenerEvent']('NodeIKernelUixConvertService/getUid',0x1388,[_0x10dfa9]);return _0x20f545[_0x53bb1a(0x162)]['get'](_0x10dfa9);}static async[_0x1857d8(0x194)](_0x5816c1){const _0x6981c0=_0x1857d8,_0x3e6632={'abEYn':'NodeIKernelUixConvertService/getUin'};if(!_0x5816c1)return'';let _0x4569f8=await NTEventDispatch[_0x6981c0(0x197)](_0x3e6632['abEYn'],0x1388,[_0x5816c1]);return _0x4569f8['uinInfo'][_0x6981c0(0x1af)](_0x5816c1);}}function _0xfd41(){const _0x48f66f=['ClientKey','getProfileLikeService','response','PskeyTime','getQzoneCookies','addListener','onProfileDetailInfoChanged','forEach','jWAbL','wMrLQ','errMsg','setBuddyProfileLike','length','getUinByUid','10xvacdF','yvHnr','CallNoListenerEvent','518286KbxDOK','387877vjsvfb','onLoginSuccess','modifyDesktopMiniProfile','setQQAvatar','ILSrJ','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','PLcRc','entries','like','delete','result','getSkey','CreatTime','JHBOT','fknPJ','PskeyData','getProfileService','请求获取Cookies时失败','push','109FosVwa','getPskey','robotUinRanges','get','FJYcb','ziVvt','9RtLDff','KeyIndex','getUserDetailInfoWithBizInfo','assign','mBOzr','getRobotService','setStatus','90028DoXjxF','&clientkey=','获取Pskey失败','Rjjsq','skey','EVjTf','uidInfo','pASIn','HttpsGetCookies','getSelfInfo','then','gWFvI','Skey','AkHYv','now','setSelfOnlineStatus','keyIndex','IESrl','clientKey','1020152zislDP','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','请求获取Skey时失败','ePbFx','VtXhN','BVQKY','2540pKasPC','getTipOffService','uid','set','1991570sOxBUw','getPSkey','modifySelfProfile','getUserInfo','xpbXX','TTPqE','fromEntries','uin','uJizO','tlvKe','session','getRobotUinRange','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','458166HrKWfo'];_0xfd41=function(){return _0x48f66f;};return _0xfd41();} \ No newline at end of file +function _0x1276(_0x3c640b,_0x2dfebf){const _0xbd341e=_0xbd34();return _0x1276=function(_0x127665,_0x4d5764){_0x127665=_0x127665-0x17a;let _0x42db1d=_0xbd341e[_0x127665];return _0x42db1d;},_0x1276(_0x3c640b,_0x2dfebf);}const _0x34f98f=_0x1276;(function(_0x29117f,_0x1a972d){const _0x586535=_0x1276,_0x12fa1a=_0x29117f();while(!![]){try{const _0x14968c=-parseInt(_0x586535(0x1aa))/0x1+-parseInt(_0x586535(0x1ac))/0x2+parseInt(_0x586535(0x17b))/0x3+-parseInt(_0x586535(0x1b2))/0x4*(parseInt(_0x586535(0x19b))/0x5)+-parseInt(_0x586535(0x1a2))/0x6*(-parseInt(_0x586535(0x189))/0x7)+parseInt(_0x586535(0x19e))/0x8*(-parseInt(_0x586535(0x1b0))/0x9)+parseInt(_0x586535(0x184))/0xa;if(_0x14968c===_0x1a972d)break;else _0x12fa1a['push'](_0x12fa1a['shift']());}catch(_0x227c2e){_0x12fa1a['push'](_0x12fa1a['shift']());}}}(_0xbd34,0xef14a));import{Credentials,selfInfo}from'@/core/data';function _0xbd34(){const _0x45e156=['YKcPy','get','UMLyl','585VThkbf','yxdMs','2008852ARdXSW','PskeyTime','MtbtK','uin','errMsg','getRobotService','uinInfo','getProfileService','请求获取Skey时失败','Skey','uidInfo','getTipOffService','length','like','getMsgService','onProfileDetailInfoChanged','clientKey','session','uZNCk','ClientKey','now','NgWov','xcpCv','emXUP','HAejA','wSiSp','KeyIndex','UBzgf','hFNOH','getSelfInfo','rTkaH','modifySelfProfile','YIFLo','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','set','xshYG','getQzoneCookies','请求获取Cookies时失败','1066425CQiQzp','setHeader','JWgCH','getPskey','SDIxp','&clientkey=','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','getTicketService','CreatTime','28253110FTeLZw','bRupn','getUserDetailInfo\x20timeout','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','skey','7DDwaxM','sSAoV','fOLma','onLoginSuccess','forEach','getRobotUinRange','delete','PskeyData','NodeIKernelProfileService/getUserDetailInfoByUin','getUserDetailInfoByUin','qMAGz','then','getProfileLikeService','domainPskeyMap','LgPSG','getUserDetailInfoWithBizInfo','getUidByUin','rwSKY','5vxGMUX','forceFetchClientKey','getUserDetailInfo','156872YqwJFu','QDABy','获取Pskey失败','vgwPh','4042056AsSOzz','modifyDesktopMiniProfile','response','result','entries','LUAKV','CallNoListenerEvent','addListener','271921GFJiWs','oHZKw','1652938HWPuBH'];_0xbd34=function(){return _0x45e156;};return _0xbd34();}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x34f98f(0x1c1)]=_0x9f3c6b=>{const _0x498e7b=_0x34f98f;userInfoCache[_0x9f3c6b['uid']]=_0x9f3c6b,userDetailHandlers[_0x498e7b(0x18d)](_0xc6f2ba=>_0xc6f2ba(_0x9f3c6b));},setTimeout(()=>{const _0x2d2306=_0x34f98f;napCatCore[_0x2d2306(0x18c)](()=>{const _0x488ea3=_0x2d2306;napCatCore[_0x488ea3(0x1a9)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x1cf7e3,_0x19f7d8,_0x2ebdd7){const _0x2c7fe6=_0x34f98f;return napCatCore[_0x2c7fe6(0x1c3)][_0x2c7fe6(0x1c0)]()['setStatus']({'status':_0x1cf7e3,'extStatus':_0x19f7d8,'batteryStatus':_0x2ebdd7});}static async[_0x34f98f(0x1bf)](_0x548431,_0x8c7f88=0x1){const _0x2ee80b=_0x34f98f;return napCatCore['session'][_0x2ee80b(0x195)]()['setBuddyProfileLike']({'friendUid':_0x548431,'sourceId':0x47,'doLikeCount':_0x8c7f88,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x64999b){const _0x4cc756=_0x34f98f,_0xff8c29=napCatCore['session'][_0x4cc756(0x1b9)]()[_0x4cc756(0x17c)](_0x64999b);return{'result':_0xff8c29?.[_0x4cc756(0x1a5)],'errMsg':_0xff8c29?.[_0x4cc756(0x1b6)]};}static async[_0x34f98f(0x1cf)](){}static async['getUserInfo'](_0x2e7b13){}static async[_0x34f98f(0x19d)](_0x2a6174){const _0x56f0d0=_0x34f98f,_0x376eb3={'LgPSG':function(_0x3264ac,_0xf640b0){return _0x3264ac===_0xf640b0;},'bRupn':function(_0xb3948d,_0xe4c67a){return _0xb3948d(_0xe4c67a);},'wSiSp':function(_0x5853d4,_0x3c6e4e){return _0x5853d4(_0x3c6e4e);},'rTkaH':_0x56f0d0(0x186),'uZNCk':function(_0x44a9e1){return _0x44a9e1();},'LUAKV':function(_0x47e607,_0x69c493,_0x513a0a){return _0x47e607(_0x69c493,_0x513a0a);}},_0x15fa89=napCatCore['session'][_0x56f0d0(0x1b9)]();return new Promise((_0x59a77b,_0x7d0d3b)=>{const _0x149fc4=_0x56f0d0,_0x29f7b4={'MtbtK':function(_0x1918bb,_0x367c95){const _0x13ae3f=_0x1276;return _0x376eb3[_0x13ae3f(0x1cb)](_0x1918bb,_0x367c95);},'NgWov':_0x376eb3[_0x149fc4(0x1d0)]},_0x195a3d=_0x376eb3[_0x149fc4(0x1c4)](randomUUID);let _0x2bb6f6=![],_0x1810f4=undefined,_0xec12ce=!![];_0x376eb3[_0x149fc4(0x1a7)](setTimeout,()=>{const _0x4f8ed8=_0x149fc4;!_0x2bb6f6&&(_0x1810f4?_0x59a77b(_0x1810f4):_0x29f7b4[_0x4f8ed8(0x1b4)](_0x7d0d3b,_0x29f7b4[_0x4f8ed8(0x1c7)])),userDetailHandlers[_0x4f8ed8(0x18f)](_0x195a3d);},0x1388),userDetailHandlers[_0x149fc4(0x1d4)](_0x195a3d,_0x55d399=>{const _0x4a8da3=_0x149fc4;_0x376eb3[_0x4a8da3(0x197)](_0x55d399['uid'],_0x2a6174)&&(_0xec12ce?(_0x1810f4=_0x55d399,_0xec12ce=![]):(_0x2bb6f6=!![],_0x376eb3[_0x4a8da3(0x185)](_0x59a77b,_0x55d399)));}),_0x15fa89[_0x149fc4(0x198)](_0x2a6174,[0x0])[_0x149fc4(0x194)](_0x40427a=>{});});}static async[_0x34f98f(0x1d1)](_0x3949b2){const _0x5c9191=_0x34f98f;return napCatCore[_0x5c9191(0x1c3)][_0x5c9191(0x1b9)]()[_0x5c9191(0x1a3)](_0x3949b2);}static async['getPSkey'](_0x9c1b08,_0x2a97ae=!![]){const _0x1ef285=_0x34f98f,_0x4ea0ea={'rwSKY':function(_0x5d18e1,_0x382248){return _0x5d18e1||_0x382248;},'vgwPh':function(_0x44b576,_0x3d4959){return _0x44b576-_0x3d4959;},'MprXY':function(_0x7605eb,_0x272497){return _0x7605eb*_0x272497;},'HAejA':function(_0xb69a9d,_0x39ca75){return _0xb69a9d>_0x39ca75;},'emXUP':function(_0x13d07c,_0x2b9dc2){return _0x13d07c===_0x2b9dc2;},'xcpCv':function(_0x3600f2,_0xef9c2b,_0x5af89b){return _0x3600f2(_0xef9c2b,_0x5af89b);},'qMAGz':_0x1ef285(0x1a0)},_0x46cf28=[],_0x3b201a={};for(const _0x4f6ee2 in _0x9c1b08){const _0x260750=Credentials[_0x1ef285(0x190)]['get'](_0x9c1b08[_0x4f6ee2]),_0x49a9df=Credentials['PskeyTime'][_0x1ef285(0x1ae)](_0x9c1b08[_0x4f6ee2]);_0x4ea0ea[_0x1ef285(0x19a)](!_0x260750,!_0x49a9df)||_0x4ea0ea[_0x1ef285(0x1a1)](Date[_0x1ef285(0x1c6)](),_0x49a9df)>_0x4ea0ea['MprXY'](0x708,0x3e8)||!_0x2a97ae?_0x46cf28['push'](_0x9c1b08[_0x4f6ee2]):_0x3b201a[_0x9c1b08[_0x4f6ee2]]=_0x260750;}let _0xd6cc25={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4ea0ea[_0x1ef285(0x1ca)](_0x46cf28[_0x1ef285(0x1be)],0x0)&&(_0xd6cc25=await napCatCore[_0x1ef285(0x1c3)][_0x1ef285(0x1bd)]()[_0x1ef285(0x17e)](_0x46cf28,!![]));const _0x5783d1=_0xd6cc25[_0x1ef285(0x196)];for(const _0x50a352 of _0x5783d1[_0x1ef285(0x1a6)]()){Credentials[_0x1ef285(0x190)]['set'](_0x50a352[0x0],_0x50a352[0x1]),Credentials[_0x1ef285(0x1b3)][_0x1ef285(0x1d4)](_0x50a352[0x0],Date[_0x1ef285(0x1c6)]());}const _0x1754f1=Object['assign'](Object['fromEntries'](_0x5783d1),_0x3b201a);if(_0x4ea0ea[_0x1ef285(0x1c9)](_0xd6cc25[_0x1ef285(0x1a5)],0x0))return _0x1754f1;else _0x4ea0ea[_0x1ef285(0x1c8)](logError,_0x4ea0ea[_0x1ef285(0x193)],_0xd6cc25['errMsg']);return{};}static async[_0x34f98f(0x18e)](){const _0x7debfa=_0x34f98f,_0x4e7fc9=await napCatCore['session'][_0x7debfa(0x1b7)]()[_0x7debfa(0x18e)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4e7fc9?.[_0x7debfa(0x1a4)]?.['robotUinRanges'];}static async[_0x34f98f(0x1d6)](){const _0x275c26=_0x34f98f,_0x282c7c={'xshYG':function(_0x4415e8,_0x5c7d24){return _0x4415e8+_0x5c7d24;},'IcLei':function(_0x4e67ce,_0x18ee4d){return _0x4e67ce+_0x18ee4d;},'sSAoV':_0x275c26(0x187),'oHZKw':_0x275c26(0x181),'UBzgf':function(_0xb40b02,_0x10733c,_0x4a9f6a){return _0xb40b02(_0x10733c,_0x4a9f6a);},'DRbQA':_0x275c26(0x17a)},_0x140faa=_0x282c7c['xshYG'](_0x282c7c['IcLei'](_0x282c7c[_0x275c26(0x1d5)](_0x282c7c[_0x275c26(0x1d5)](_0x282c7c['IcLei'](_0x282c7c[_0x275c26(0x18a)],selfInfo[_0x275c26(0x1b5)]),_0x275c26(0x180)),Credentials[_0x275c26(0x1c5)]),_0x282c7c[_0x275c26(0x1ab)])+selfInfo['uin'],'%2Finfocenter&keyindex=19%27');let _0x3eeb19={};try{_0x3eeb19=await RequestUtil['HttpsGetCookies'](_0x140faa);}catch(_0x325094){_0x282c7c[_0x275c26(0x1cd)](logDebug,_0x282c7c['DRbQA'],_0x325094),_0x3eeb19={};}return _0x3eeb19;}static async['getSkey'](_0x1a9162=!![]){const _0x411b23=_0x34f98f,_0xa4aaa7={'uRuKc':function(_0x1e2c08,_0x31a462){return _0x1e2c08==_0x31a462;},'SDIxp':function(_0x1a0f95,_0xf5f582){return _0x1a0f95>_0xf5f582;},'yxdMs':function(_0x3d3b97,_0x41daea){return _0x3d3b97-_0x41daea;},'Pcrdv':function(_0x343eba,_0x963dc7){return _0x343eba*_0x963dc7;},'QDABy':function(_0x21dbc2,_0x2c4716){return _0x21dbc2!==_0x2c4716;},'dyTnw':function(_0x4e86f6,_0x10395e){return _0x4e86f6+_0x10395e;},'JWgCH':function(_0x29b73d,_0x166d5b){return _0x29b73d+_0x166d5b;},'fOLma':function(_0x4859eb,_0x2d6ffd){return _0x4859eb+_0x2d6ffd;},'XEpyh':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','UMLyl':_0x411b23(0x180),'aqarf':_0x411b23(0x1d3),'hFNOH':_0x411b23(0x1ba),'SgpWK':_0x411b23(0x188)};try{if(_0xa4aaa7['uRuKc'](Credentials['CreatTime'],0x0)||_0xa4aaa7[_0x411b23(0x17f)](_0xa4aaa7[_0x411b23(0x1b1)](Date[_0x411b23(0x1c6)](),Credentials[_0x411b23(0x183)]),_0xa4aaa7['Pcrdv'](0x3e8,0xe10))||!_0x1a9162){const _0x1c8302=await napCatCore[_0x411b23(0x1c3)][_0x411b23(0x182)]()[_0x411b23(0x19c)]('');if(_0xa4aaa7[_0x411b23(0x19f)](_0x1c8302['result'],0x0))return'';const _0x23e739=_0x1c8302[_0x411b23(0x1c2)],_0x36b206=_0x1c8302['keyIndex'],_0x3a782c=_0xa4aaa7['dyTnw'](_0xa4aaa7[_0x411b23(0x17d)](_0xa4aaa7[_0x411b23(0x18b)](_0xa4aaa7['XEpyh'],selfInfo[_0x411b23(0x1b5)]),_0xa4aaa7[_0x411b23(0x1af)]),_0x23e739)+_0xa4aaa7['aqarf']+_0x36b206;let _0x11caac={};try{_0x11caac=await RequestUtil['HttpsGetCookies'](_0x3a782c);}catch(_0x486d34){logDebug(_0xa4aaa7[_0x411b23(0x1ce)],_0x486d34),_0x11caac={};}const _0x31e622=_0x11caac[_0xa4aaa7['SgpWK']];if(!_0x31e622)return'';return Credentials['ClientKey']=_0x23e739,Credentials[_0x411b23(0x1cc)]=_0x36b206,Credentials['CreatTime']=Date[_0x411b23(0x1c6)](),Credentials[_0x411b23(0x1bb)]=_0x31e622,_0x31e622;}return Credentials[_0x411b23(0x1bb)];}catch(_0x552a48){}return undefined;}static async[_0x34f98f(0x199)](_0x380c11){const _0x3d73f8=_0x34f98f,_0x50c902={'YKcPy':'NodeIKernelUixConvertService/getUid'};let _0x56c270=await NTEventDispatch[_0x3d73f8(0x1a8)](_0x50c902[_0x3d73f8(0x1ad)],0x1388,[_0x380c11]);return _0x56c270[_0x3d73f8(0x1bc)][_0x3d73f8(0x1ae)](_0x380c11);}static async['getUinByUid'](_0xfad2be){const _0x4e5036=_0x34f98f,_0x2b8555={'DSkbc':'NodeIKernelUixConvertService/getUin'};if(!_0xfad2be)return'';let _0x30d5e0=await NTEventDispatch[_0x4e5036(0x1a8)](_0x2b8555['DSkbc'],0x1388,[_0xfad2be]);return _0x30d5e0[_0x4e5036(0x1b8)]['get'](_0xfad2be);}static async[_0x34f98f(0x192)](_0x3d11f1){const _0x5978fc=_0x34f98f,_0x32dec2={'YIFLo':_0x5978fc(0x191)};return NTEventDispatch[_0x5978fc(0x1a8)](_0x32dec2[_0x5978fc(0x1d2)],0x1388,_0x3d11f1);}} \ 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 70529b69..155bd43f 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x458c45=_0x37a5;(function(_0x36918e,_0x5cf68f){const _0x129258=_0x37a5,_0xd5f5e9=_0x36918e();while(!![]){try{const _0x3783c3=-parseInt(_0x129258(0x1d3))/0x1+-parseInt(_0x129258(0x15e))/0x2*(-parseInt(_0x129258(0x1bd))/0x3)+-parseInt(_0x129258(0x17f))/0x4*(-parseInt(_0x129258(0x1ac))/0x5)+parseInt(_0x129258(0x15b))/0x6*(parseInt(_0x129258(0x13a))/0x7)+parseInt(_0x129258(0x143))/0x8*(parseInt(_0x129258(0x17c))/0x9)+parseInt(_0x129258(0x1a0))/0xa*(parseInt(_0x129258(0x16a))/0xb)+-parseInt(_0x129258(0x19d))/0xc*(parseInt(_0x129258(0x1be))/0xd);if(_0x3783c3===_0x5cf68f)break;else _0xd5f5e9['push'](_0xd5f5e9['shift']());}catch(_0xa9c5b7){_0xd5f5e9['push'](_0xd5f5e9['shift']());}}}(_0x545b,0x609c4));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x545b(){const _0x2e34ed=['actorList',';\x20uin=o','FhrLx','STORONGE_NEWBI','84kxIlVv','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','kNASS','10860LmZhMN',';\x20p_uin=o','p_skey=','JPvbk','talkative','now','YMScW','cvdtU','KcGaC','strong_newbie','uin','GfPHV','30LSEgyK','QpGhC','wejfG','getGroupMembers','lEcLg','&bkn=','kANBL','JYUoy','legend_list','OlAOn','getPSkey','tDxVi','mRSAF','JyJMJ','NveAW','ixaLb','MYugG','1579536atvzLz','2381431QOFLGC','GAIwp','bRuhO','VRWnd','5|2|0|1|4|3','获取快乐源泉失败','yWcJq','gVdMG','OpFqM','EMOTION','KVDgc','KKaXS','performer_list','errcode','dFtGd','strong_newbie_list','TALKACTIVE','GroupData',';\x20skey=','FbmVg','AknHQ','456246WbuMbU','BYrKF','HttpGetText','cGHpZ','mLkrz','GroupTime','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','dKZff','ZUXuQ','dQevy','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','PERFROMER','ZRLfB','KEcwD','IkSXk','mems','hGhKP','rOrMt','wvJzy','508641fPzrov','获取群聊炽焰失败','iSRTA','getGroupHonorInfo','Dnzcy','geaIF','Ogtbc','GafLN','&qid=','4052032uaCTgz','RzMdq','UxURV','count','rfCFf','MjjLP','performer','TMCMT','getGrouptNotice','BnWjg','获取龙王信息失败','WsiMR','rCIYh','TLwIO','OqVgT','tNmQP','soGce','WjuKQ','desc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','&type=','dHsfv','parse','gAYEh','18xJuhAI','KmEYf','name','2hGCIxf','emotion_list','&sort=1&gc=','jTZQJ','AzIIP','split','RBYct','get','retcode','pRpjL','QJhiy','talkative_list','6622opNeXp','&group_code=','MkcRM','&page_start=','PdKSZ','获取群聊之火失败','fLqNs','UYocb','set','LuTKz','description','KzMcE','xsVuQ','GET','qun.qq.com','avatar','lqzHe','genBkn','9pzcvYQ','LkODa','omGrK','152996UFacQC','QXskw','&page_limit=20','IWWeB','getSkey','push','NOgvN','MlUhB','RmFcL','tjywl','jhCJQ','yMlcd','获取当前群荣耀失败','match','qid=','ceil','lDamV','iWKWj','emotion','toString','lpiTm','HttpGetJson','ELVzP','tdZMw','talkativeList','ALL'];_0x545b=function(){return _0x2e34ed;};return _0x545b();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x2b764b){const _0xb16166=_0x37a5,_0x3c18dc={'KzMcE':_0xb16166(0x1c2),'xsVuQ':_0xb16166(0x132),'omGrK':_0xb16166(0x149),'gVdMG':'LEGEND','AknHQ':'legend','UxURV':_0xb16166(0x1ce),'RBYct':_0xb16166(0x1a4),'gamXx':_0xb16166(0x1c7),'Ogtbc':_0xb16166(0x19c),'CXUuR':_0xb16166(0x1a9),'KoVhV':_0xb16166(0x198),'HKCmE':'all'},_0x5e53b7=_0x3c18dc[_0xb16166(0x175)][_0xb16166(0x163)]('|');let _0x13d50b=0x0;while(!![]){switch(_0x5e53b7[_0x13d50b++]){case'0':_0x2b764b[_0x3c18dc[_0xb16166(0x176)]]=_0x3c18dc[_0xb16166(0x17e)];continue;case'1':_0x2b764b[_0x3c18dc[_0xb16166(0x1c5)]]=_0x3c18dc[_0xb16166(0x1d2)];continue;case'2':_0x2b764b[_0x3c18dc[_0xb16166(0x145)]]=_0x3c18dc[_0xb16166(0x164)];continue;case'3':_0x2b764b[_0x3c18dc['gamXx']]=_0xb16166(0x191);continue;case'4':_0x2b764b[_0x3c18dc[_0xb16166(0x140)]]=_0x3c18dc['CXUuR'];continue;case'5':_0x2b764b[_0x3c18dc['KoVhV']]=_0x3c18dc['HKCmE'];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x37a5(_0x1b7f1e,_0x40f6ef){const _0x545bc5=_0x545b();return _0x37a5=function(_0x37a5e3,_0x51268e){_0x37a5e3=_0x37a5e3-0x12e;let _0x48d792=_0x545bc5[_0x37a5e3];return _0x48d792;},_0x37a5(_0x1b7f1e,_0x40f6ef);}export class WebApi{static async['getGroupEssenceMsg'](_0x5159b3,_0x330677){const _0x2e2ca0=_0x37a5,_0x2e20d1={'soGce':'qun.qq.com','KcGaC':function(_0x58f502,_0x155dd1){return _0x58f502+_0x155dd1;},'tDxVi':function(_0x2e136e,_0x9076bb){return _0x2e136e+_0x9076bb;},'Dnzcy':_0x2e2ca0(0x1a2),'mvBii':_0x2e2ca0(0x1d0),'IkSXk':_0x2e2ca0(0x19a),'LgiHC':function(_0x285e83,_0x106284){return _0x285e83||_0x106284;},'iWKWj':function(_0xb8b4ad,_0x2758a7){return _0xb8b4ad+_0x2758a7;},'QXskw':function(_0x186c7c,_0xab9599){return _0x186c7c+_0xab9599;},'jhCJQ':_0x2e2ca0(0x1d9),'VRWnd':_0x2e2ca0(0x16b),'lqzHe':_0x2e2ca0(0x16d),'GAIwp':_0x2e2ca0(0x181),'QpGhC':_0x2e2ca0(0x177),'fLqNs':function(_0xfdfd99,_0x194052){return _0xfdfd99!==_0x194052;}},_0x429a37=(await NTQQUserApi['getPSkey']([_0x2e20d1[_0x2e2ca0(0x153)]]))[_0x2e20d1[_0x2e2ca0(0x153)]],_0x21553a=await NTQQUserApi['getSkey'](),_0x1a87bd=_0x2e20d1[_0x2e2ca0(0x1a8)](_0x2e20d1[_0x2e2ca0(0x1b7)](_0x2e20d1[_0x2e2ca0(0x1a8)](_0x2e20d1['tDxVi'](_0x2e20d1['tDxVi'](_0x2e20d1[_0x2e2ca0(0x13e)],_0x429a37),_0x2e20d1['mvBii']),_0x21553a)+_0x2e2ca0(0x1a1),selfInfo['uin'])+_0x2e20d1[_0x2e2ca0(0x135)],selfInfo[_0x2e2ca0(0x1aa)]);if(_0x2e20d1['LgiHC'](!_0x21553a,!_0x429a37))return undefined;const _0x1d8d7c=WebApi[_0x2e2ca0(0x17b)](_0x21553a),_0x56c503=_0x2e20d1[_0x2e2ca0(0x1a8)](_0x2e20d1[_0x2e2ca0(0x190)](_0x2e20d1[_0x2e2ca0(0x180)](_0x2e20d1[_0x2e2ca0(0x1b7)](_0x2e20d1[_0x2e2ca0(0x189)],_0x1d8d7c),_0x2e20d1[_0x2e2ca0(0x1c1)])+_0x5159b3,_0x2e20d1[_0x2e2ca0(0x17a)])+_0x330677,_0x2e20d1[_0x2e2ca0(0x1bf)]);let _0x2ab91b;try{_0x2ab91b=await RequestUtil['HttpGetJson'](_0x56c503,_0x2e20d1[_0x2e2ca0(0x1ad)],'',{'Cookie':_0x1a87bd});}catch{return undefined;}if(_0x2e20d1[_0x2e2ca0(0x170)](_0x2ab91b[_0x2e2ca0(0x166)],0x0))return undefined;return _0x2ab91b;}static async[_0x458c45(0x1af)](_0x58e00c,_0x13c6df=!![]){const _0x3f3a6d=_0x458c45,_0x534e9c={'PCaZC':function(_0x31e963,_0x2fa639){return _0x31e963>_0x2fa639;},'BYrKF':function(_0x1abe1c,_0x5dc1cd){return _0x1abe1c-_0x5dc1cd;},'LuTKz':function(_0x23ac2c,_0x8fde30){return _0x23ac2c*_0x8fde30;},'WCxvt':_0x3f3a6d(0x178),'lpiTm':function(_0xfc45c5,_0x4679fc){return _0xfc45c5+_0x4679fc;},'JYUoy':function(_0x4fab57,_0x5a413d){return _0x4fab57+_0x5a413d;},'QJhiy':function(_0x6ef7e2,_0x56c616){return _0x6ef7e2+_0x56c616;},'OlAOn':_0x3f3a6d(0x1a2),'yWcJq':_0x3f3a6d(0x1d0),'FhrLx':_0x3f3a6d(0x1a1),'VAtzO':function(_0x6cbca4,_0x24bf3f){return _0x6cbca4||_0x24bf3f;},'lEcLg':function(_0x575b2b,_0x4893be){return _0x575b2b+_0x4893be;},'NOgvN':_0x3f3a6d(0x156),'mLkrz':_0x3f3a6d(0x1b1),'jTZQJ':'POST','LkODa':function(_0x445589,_0x3f4bb5){return _0x445589!==_0x3f4bb5;},'AzIIP':function(_0x4b59e1,_0x2e043b){return _0x4b59e1<=_0x2e043b;},'hGhKP':function(_0x580d9a,_0x5f2046){return _0x580d9a+_0x5f2046;},'bRuhO':function(_0x58ae40,_0x4e13c1){return _0x58ae40+_0x4e13c1;},'NveAW':function(_0x59c4a5,_0x839ac3){return _0x59c4a5+_0x839ac3;},'dKZff':function(_0x41d057,_0x515348){return _0x41d057+_0x515348;},'JPvbk':function(_0x1e948f,_0x5a2742){return _0x1e948f+_0x5a2742;},'dFtGd':function(_0x5a2f8e,_0x433b15){return _0x5a2f8e+_0x433b15;},'ixaLb':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','wejfG':function(_0x4b6bb7,_0x2eb59a){return _0x4b6bb7*_0x2eb59a;}};let _0x5a32b3=new Array();try{let _0x33803a=WebGroupData[_0x3f3a6d(0x1cf)][_0x3f3a6d(0x165)](_0x58e00c),_0xeea70d=WebGroupData[_0x3f3a6d(0x1d8)][_0x3f3a6d(0x165)](_0x58e00c);if(!_0xeea70d||_0x534e9c['PCaZC'](_0x534e9c[_0x3f3a6d(0x1d4)](Date[_0x3f3a6d(0x1a5)](),_0xeea70d),_0x534e9c[_0x3f3a6d(0x173)](0x708,0x3e8))||!_0x13c6df){const _0x24fd63=(await NTQQUserApi['getPSkey']([_0x3f3a6d(0x178)]))[_0x534e9c['WCxvt']],_0x9a2bb1=await NTQQUserApi['getSkey'](),_0x3da35e=_0x534e9c[_0x3f3a6d(0x193)](_0x534e9c['lpiTm'](_0x534e9c[_0x3f3a6d(0x1b3)](_0x534e9c[_0x3f3a6d(0x168)](_0x534e9c[_0x3f3a6d(0x1b5)]+_0x24fd63,_0x534e9c[_0x3f3a6d(0x1c4)]),_0x9a2bb1),_0x534e9c[_0x3f3a6d(0x19b)]),selfInfo[_0x3f3a6d(0x1aa)]);if(_0x534e9c['VAtzO'](!_0x9a2bb1,!_0x24fd63))return _0x5a32b3;const _0x4ac400=WebApi[_0x3f3a6d(0x17b)](_0x9a2bb1),_0x21c3cf=[],_0x28d127=await RequestUtil['HttpGetJson'](_0x534e9c[_0x3f3a6d(0x168)](_0x534e9c[_0x3f3a6d(0x1b0)](_0x534e9c[_0x3f3a6d(0x185)],_0x58e00c),_0x534e9c[_0x3f3a6d(0x1d7)])+_0x4ac400,_0x534e9c[_0x3f3a6d(0x161)],'',{'Cookie':_0x3da35e});if(!_0x28d127?.[_0x3f3a6d(0x146)]||_0x534e9c[_0x3f3a6d(0x17d)](_0x28d127?.[_0x3f3a6d(0x1cb)],0x0)||!_0x28d127?.['mems'])return[];else for(const _0x5db099 in _0x28d127[_0x3f3a6d(0x136)]){_0x5a32b3[_0x3f3a6d(0x184)](_0x28d127[_0x3f3a6d(0x136)][_0x5db099]);}const _0x1512a9=Math[_0x3f3a6d(0x18e)](_0x28d127[_0x3f3a6d(0x146)]/0x28);for(let _0x222bb7=0x2;_0x534e9c[_0x3f3a6d(0x162)](_0x222bb7,_0x1512a9);_0x222bb7++){const _0x3fc506=RequestUtil[_0x3f3a6d(0x194)](_0x534e9c[_0x3f3a6d(0x137)](_0x534e9c[_0x3f3a6d(0x1c0)](_0x534e9c[_0x3f3a6d(0x1ba)](_0x534e9c[_0x3f3a6d(0x1ba)](_0x534e9c[_0x3f3a6d(0x12e)](_0x534e9c[_0x3f3a6d(0x1a3)](_0x534e9c[_0x3f3a6d(0x1cc)](_0x534e9c[_0x3f3a6d(0x1bb)],_0x534e9c[_0x3f3a6d(0x173)](_0x534e9c[_0x3f3a6d(0x1d4)](_0x222bb7,0x1),0x28)),'&end='),_0x534e9c[_0x3f3a6d(0x1ae)](_0x222bb7,0x28)),_0x3f3a6d(0x160)),_0x58e00c),_0x3f3a6d(0x1b1)),_0x4ac400),_0x534e9c[_0x3f3a6d(0x161)],'',{'Cookie':_0x3da35e});_0x21c3cf[_0x3f3a6d(0x184)](_0x3fc506);}for(let _0x63dd1a=0x1;_0x63dd1a<=_0x1512a9;_0x63dd1a++){const _0x4690b5=await _0x21c3cf[_0x63dd1a];if(!_0x4690b5?.[_0x3f3a6d(0x146)]||_0x534e9c[_0x3f3a6d(0x17d)](_0x4690b5?.[_0x3f3a6d(0x1cb)],0x0)||!_0x4690b5?.[_0x3f3a6d(0x136)])continue;for(const _0x158b03 in _0x4690b5['mems']){_0x5a32b3['push'](_0x4690b5['mems'][_0x158b03]);}}WebGroupData['GroupData'][_0x3f3a6d(0x172)](_0x58e00c,_0x5a32b3),WebGroupData['GroupTime'][_0x3f3a6d(0x172)](_0x58e00c,Date[_0x3f3a6d(0x1a5)]());}else _0x5a32b3=_0x33803a;}catch{return _0x5a32b3;}return _0x5a32b3;}static async['setGroupNotice'](_0x27a420,_0x112b5c=''){const _0x2ced85=_0x458c45,_0x4bdd98={'RmFcL':_0x2ced85(0x178),'KVDgc':function(_0x45a7a0,_0x36a687){return _0x45a7a0+_0x36a687;},'KFHQT':function(_0x291e14,_0x3dfc26){return _0x291e14+_0x3dfc26;},'MjjLP':function(_0x565f5d,_0xe23e17){return _0x565f5d+_0xe23e17;},'cvdtU':_0x2ced85(0x1d0),'drBIo':_0x2ced85(0x1a1),'BnWjg':function(_0x18f2bb,_0x99692){return _0x18f2bb||_0x99692;},'lJFpV':function(_0xb2e1e,_0x396298){return _0xb2e1e+_0x396298;},'tdZMw':function(_0x17bb42,_0xfcd158){return _0x17bb42+_0xfcd158;},'rfCFf':function(_0x51aa4c,_0x3c6301){return _0x51aa4c+_0x3c6301;},'OpFqM':function(_0x50a80c,_0x1c902c){return _0x50a80c+_0x1c902c;},'bcynT':function(_0x381e10,_0xbbb9e1){return _0x381e10+_0xbbb9e1;},'iSRTA':_0x2ced85(0x18d),'MlUhB':_0x2ced85(0x1b1),'GfPHV':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x47462e=(await NTQQUserApi[_0x2ced85(0x1b6)]([_0x4bdd98[_0x2ced85(0x187)]]))[_0x4bdd98[_0x2ced85(0x187)]],_0x260cbd=await NTQQUserApi[_0x2ced85(0x183)](),_0x5a9938=_0x4bdd98[_0x2ced85(0x1c8)](_0x4bdd98['KFHQT'](_0x4bdd98[_0x2ced85(0x148)](_0x2ced85(0x1a2),_0x47462e),_0x4bdd98[_0x2ced85(0x1a7)])+_0x260cbd+_0x4bdd98['drBIo'],selfInfo[_0x2ced85(0x1aa)]);let _0x96f5d4=undefined;if(_0x4bdd98[_0x2ced85(0x14c)](!_0x260cbd,!_0x47462e))return undefined;const _0x4e71d3=WebApi[_0x2ced85(0x17b)](_0x260cbd),_0x3ad5ca=_0x4bdd98['lJFpV'](_0x4bdd98['tdZMw'](_0x4bdd98[_0x2ced85(0x147)](_0x4bdd98[_0x2ced85(0x1c6)](_0x4bdd98['bcynT'](_0x4bdd98[_0x2ced85(0x13c)],_0x27a420)+_0x4bdd98[_0x2ced85(0x186)],_0x4e71d3),'&text='),_0x112b5c),_0x2ced85(0x19e)),_0x165554=_0x4bdd98[_0x2ced85(0x196)](_0x4bdd98[_0x2ced85(0x1ab)],_0x4e71d3);try{return _0x96f5d4=await RequestUtil[_0x2ced85(0x194)](_0x165554,_0x2ced85(0x177),'',{'Cookie':_0x5a9938}),_0x96f5d4;}catch(_0x2f2411){return undefined;}return undefined;}static async[_0x458c45(0x14b)](_0x45f899){const _0x3ccdbb=_0x458c45,_0x53a85e={'MYugG':_0x3ccdbb(0x178),'ZRLfB':function(_0x108f82,_0x25df47){return _0x108f82+_0x25df47;},'geaIF':_0x3ccdbb(0x1a2),'KmEYf':_0x3ccdbb(0x1d0),'tjywl':_0x3ccdbb(0x1a1),'VivzQ':function(_0x26d164,_0x58abdc){return _0x26d164+_0x58abdc;},'wvJzy':function(_0x2fb0e2,_0x4af347){return _0x2fb0e2+_0x4af347;},'rCIYh':function(_0x375d8c,_0x24a44e){return _0x375d8c+_0x24a44e;},'rOrMt':function(_0x33bbbe,_0x40a7c3){return _0x33bbbe+_0x40a7c3;},'lDamV':_0x3ccdbb(0x131),'TLwIO':_0x3ccdbb(0x142),'yMlcd':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','GafLN':function(_0x57fc03,_0x260191){return _0x57fc03!==_0x260191;}},_0xbe5923=(await NTQQUserApi[_0x3ccdbb(0x1b6)]([_0x53a85e[_0x3ccdbb(0x1bc)]]))[_0x53a85e[_0x3ccdbb(0x1bc)]],_0x94c5f4=await NTQQUserApi['getSkey'](),_0x2fd7a5=_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x13f)],_0xbe5923)+_0x53a85e[_0x3ccdbb(0x15c)],_0x94c5f4),_0x53a85e[_0x3ccdbb(0x188)]),selfInfo[_0x3ccdbb(0x1aa)]);let _0x2043af=undefined;if(!_0x94c5f4||!_0xbe5923)return undefined;const _0x2c96fa=WebApi[_0x3ccdbb(0x17b)](_0x94c5f4),_0x474382=_0x53a85e['VivzQ'](_0x53a85e[_0x3ccdbb(0x139)](_0x53a85e[_0x3ccdbb(0x14f)](_0x53a85e[_0x3ccdbb(0x138)](_0x53a85e[_0x3ccdbb(0x18f)],_0x2c96fa),_0x53a85e[_0x3ccdbb(0x150)]),_0x45f899),_0x53a85e[_0x3ccdbb(0x18a)]);try{_0x2043af=await RequestUtil[_0x3ccdbb(0x194)](_0x474382,_0x3ccdbb(0x177),'',{'Cookie':_0x2fd7a5});if(_0x53a85e[_0x3ccdbb(0x141)](_0x2043af?.['ec'],0x0))return undefined;return _0x2043af;}catch(_0x30e6e3){return undefined;}return undefined;}static[_0x458c45(0x17b)](_0x23648e){const _0x1bd5c6=_0x458c45,_0x4f3020={'uRRxu':function(_0x4a3291,_0x36a358){return _0x4a3291||_0x36a358;},'kNASS':function(_0x2e7845,_0x4e433a){return _0x2e7845<_0x4e433a;},'dQevy':function(_0x27f89e,_0xfc047){return _0x27f89e<<_0xfc047;},'dLpHb':function(_0x24071e,_0x49a3bc){return _0x24071e&_0x49a3bc;}};_0x23648e=_0x4f3020['uRRxu'](_0x23648e,'');let _0x40f648=0x1505;for(let _0x1e433a=0x0;_0x4f3020[_0x1bd5c6(0x19f)](_0x1e433a,_0x23648e['length']);_0x1e433a++){const _0x577f70=_0x23648e['charCodeAt'](_0x1e433a);_0x40f648=_0x40f648+_0x4f3020[_0x1bd5c6(0x130)](_0x40f648,0x5)+_0x577f70;}return _0x4f3020['dLpHb'](_0x40f648,0x7fffffff)[_0x1bd5c6(0x192)]();}static async[_0x458c45(0x13d)](_0x3e77ad,_0x5e8430){const _0x4ee9d9=_0x458c45,_0x25f362={'kANBL':function(_0x22728e,_0x25a31e){return _0x22728e+_0x25a31e;},'IWWeB':function(_0x299006,_0x577a7d){return _0x299006+_0x577a7d;},'dHsfv':function(_0x4eea4c,_0x34d794){return _0x4eea4c+_0x34d794;},'PdKSZ':'https://qun.qq.com/interactive/honorlist?gc=','OSjpr':_0x4ee9d9(0x157),'fVwKf':_0x4ee9d9(0x177),'WjuKQ':function(_0x522737,_0x3412ff){return _0x522737===_0x3412ff;},'ZPdLJ':function(_0x3b86c6,_0x1437f1,_0x1992bd,_0x475e98){return _0x3b86c6(_0x1437f1,_0x1992bd,_0x475e98);},'WsiMR':_0x4ee9d9(0x18b),'MkcRM':'qun.qq.com','uRgte':function(_0x2cfd26,_0x55b5ab){return _0x2cfd26||_0x55b5ab;},'RzMdq':function(_0xc6a10c,_0x4e1a60){return _0xc6a10c+_0x4e1a60;},'KKaXS':function(_0x5ec684,_0x39ec1f){return _0x5ec684+_0x39ec1f;},'tNmQP':_0x4ee9d9(0x1a2),'cGHpZ':_0x4ee9d9(0x19a),'JyJMJ':function(_0x50d09a,_0x4961e0){return _0x50d09a===_0x4961e0;},'pRpjL':function(_0x414570,_0x530998,_0x571a6c){return _0x414570(_0x530998,_0x571a6c);},'UYocb':_0x4ee9d9(0x14d),'YMScW':function(_0x5b908e,_0x477a04){return _0x5b908e(_0x477a04);},'FbmVg':function(_0x343b1d,_0x281d8e){return _0x343b1d===_0x281d8e;},'KEcwD':function(_0x7a695f,_0x158aaf){return _0x7a695f===_0x158aaf;},'ELVzP':function(_0x489873,_0x15da56,_0x4182d7){return _0x489873(_0x15da56,_0x4182d7);},'gAYEh':_0x4ee9d9(0x16f),'ZUXuQ':function(_0x42a2c3,_0x214995){return _0x42a2c3===_0x214995;},'TMCMT':function(_0x1ad138,_0x59862b,_0xe3d707){return _0x1ad138(_0x59862b,_0xe3d707);},'dLpsT':function(_0x40b1ed,_0x4f7da7){return _0x40b1ed===_0x4f7da7;},'OqVgT':_0x4ee9d9(0x1c3),'lTLhj':function(_0x4548fb,_0x42e555,_0x2f240b){return _0x4548fb(_0x42e555,_0x2f240b);},'mRSAF':function(_0x1b1c4c,_0x5476d2){return _0x1b1c4c===_0x5476d2;}},_0x2a1628=(await NTQQUserApi[_0x4ee9d9(0x1b6)]([_0x25f362[_0x4ee9d9(0x16c)]]))[_0x25f362[_0x4ee9d9(0x16c)]],_0x160899=await NTQQUserApi['getSkey']();if(_0x25f362['uRgte'](!_0x160899,!_0x2a1628))return undefined;async function _0x3e1249(_0x3aa37d,_0x12d264){const _0x164cc3=_0x4ee9d9;let _0x3e0f3a=_0x25f362[_0x164cc3(0x1b2)](_0x25f362[_0x164cc3(0x182)](_0x25f362[_0x164cc3(0x158)](_0x25f362[_0x164cc3(0x16e)],_0x3aa37d),_0x25f362['OSjpr']),_0x12d264[_0x164cc3(0x192)]()),_0x2abc31='',_0x21464f;try{_0x2abc31=await RequestUtil[_0x164cc3(0x1d5)](_0x3e0f3a,_0x25f362['fVwKf'],'',{'Cookie':_0x3aa232});const _0x1a219d=_0x2abc31[_0x164cc3(0x18c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x1a219d&&(_0x21464f=JSON[_0x164cc3(0x159)](_0x1a219d[0x1]['trim']())),_0x25f362[_0x164cc3(0x154)](_0x12d264,0x1)?_0x21464f?.[_0x164cc3(0x197)]:_0x21464f?.[_0x164cc3(0x199)];}catch(_0x2043d8){_0x25f362['ZPdLJ'](logDebug,_0x25f362[_0x164cc3(0x14e)],_0x3e0f3a,_0x2043d8);}return undefined;}let _0x19cbb1={'group_id':_0x3e77ad};const _0x3aa232=_0x25f362[_0x4ee9d9(0x158)](_0x25f362[_0x4ee9d9(0x144)](_0x25f362[_0x4ee9d9(0x182)](_0x25f362[_0x4ee9d9(0x1c9)](_0x25f362[_0x4ee9d9(0x1c9)](_0x25f362[_0x4ee9d9(0x152)],_0x2a1628)+_0x4ee9d9(0x1d0),_0x160899)+_0x4ee9d9(0x1a1),selfInfo[_0x4ee9d9(0x1aa)]),_0x25f362[_0x4ee9d9(0x1d6)]),selfInfo[_0x4ee9d9(0x1aa)]);if(_0x25f362[_0x4ee9d9(0x1b9)](_0x5e8430,WebHonorType['TALKACTIVE'])||_0x25f362['JyJMJ'](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))try{let _0x39ec47=await _0x25f362[_0x4ee9d9(0x167)](_0x3e1249,_0x3e77ad,0x1);if(!_0x39ec47)throw new Error(_0x25f362[_0x4ee9d9(0x171)]);_0x19cbb1['current_talkative']={'user_id':_0x39ec47[0x0]?.[_0x4ee9d9(0x1aa)],'avatar':_0x39ec47[0x0]?.['avatar'],'nickname':_0x39ec47[0x0]?.[_0x4ee9d9(0x15d)],'day_count':0x0,'description':_0x39ec47[0x0]?.[_0x4ee9d9(0x155)]},_0x19cbb1[_0x4ee9d9(0x169)]=[];for(const _0x5f18dc of _0x39ec47){_0x19cbb1[_0x4ee9d9(0x169)][_0x4ee9d9(0x184)]({'user_id':_0x5f18dc?.[_0x4ee9d9(0x1aa)],'avatar':_0x5f18dc?.[_0x4ee9d9(0x179)],'description':_0x5f18dc?.[_0x4ee9d9(0x155)],'day_count':0x0,'nickname':_0x5f18dc?.[_0x4ee9d9(0x15d)]});}}catch(_0x18de5b){_0x25f362[_0x4ee9d9(0x1a6)](logDebug,_0x18de5b);}if(_0x25f362[_0x4ee9d9(0x1d1)](_0x5e8430,WebHonorType[_0x4ee9d9(0x132)])||_0x25f362[_0x4ee9d9(0x134)](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))try{let _0x261353=await _0x25f362[_0x4ee9d9(0x195)](_0x3e1249,_0x3e77ad,0x2);if(!_0x261353)throw new Error(_0x25f362[_0x4ee9d9(0x15a)]);_0x19cbb1[_0x4ee9d9(0x1ca)]=[];for(const _0xce0b70 of _0x261353){_0x19cbb1[_0x4ee9d9(0x1ca)][_0x4ee9d9(0x184)]({'user_id':_0xce0b70?.[_0x4ee9d9(0x1aa)],'nickname':_0xce0b70?.[_0x4ee9d9(0x15d)],'avatar':_0xce0b70?.[_0x4ee9d9(0x179)],'description':_0xce0b70?.['desc']});}}catch(_0x2e50fb){logDebug(_0x2e50fb);}if(_0x25f362[_0x4ee9d9(0x12f)](_0x5e8430,WebHonorType[_0x4ee9d9(0x132)])||_0x25f362[_0x4ee9d9(0x1d1)](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))try{let _0x36f3cb=await _0x25f362[_0x4ee9d9(0x195)](_0x3e1249,_0x3e77ad,0x3);if(!_0x36f3cb)throw new Error(_0x4ee9d9(0x13b));_0x19cbb1[_0x4ee9d9(0x1b4)]=[];for(const _0x5b1138 of _0x36f3cb){_0x19cbb1[_0x4ee9d9(0x1b4)][_0x4ee9d9(0x184)]({'user_id':_0x5b1138?.['uin'],'nickname':_0x5b1138?.[_0x4ee9d9(0x15d)],'avatar':_0x5b1138?.[_0x4ee9d9(0x179)],'desc':_0x5b1138?.[_0x4ee9d9(0x174)]});}}catch(_0x26589c){_0x25f362[_0x4ee9d9(0x14a)](logDebug,_0x4ee9d9(0x13b),_0x26589c);}if(_0x25f362['dLpsT'](_0x5e8430,WebHonorType[_0x4ee9d9(0x1c7)])||_0x5e8430===WebHonorType['ALL'])try{let _0x58a1bf=await _0x25f362[_0x4ee9d9(0x14a)](_0x3e1249,_0x3e77ad,0x6);if(!_0x58a1bf)throw new Error(_0x25f362[_0x4ee9d9(0x151)]);_0x19cbb1['emotion_list']=[];for(const _0x4bc951 of _0x58a1bf){_0x19cbb1[_0x4ee9d9(0x15f)][_0x4ee9d9(0x184)]({'user_id':_0x4bc951?.['uin'],'nickname':_0x4bc951?.[_0x4ee9d9(0x15d)],'avatar':_0x4bc951?.[_0x4ee9d9(0x179)],'desc':_0x4bc951?.[_0x4ee9d9(0x174)]});}}catch(_0x5b1b1e){_0x25f362['lTLhj'](logDebug,_0x25f362[_0x4ee9d9(0x151)],_0x5b1b1e);}return(_0x25f362['KEcwD'](_0x5e8430,WebHonorType['EMOTION'])||_0x25f362[_0x4ee9d9(0x1b8)](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))&&(_0x19cbb1[_0x4ee9d9(0x1cd)]=[]),_0x19cbb1;}} \ No newline at end of file +const _0x289139=_0x1c6d;function _0x1c6d(_0x3c5244,_0x1c2bb6){const _0x25350c=_0x2535();return _0x1c6d=function(_0x1c6d1f,_0x256544){_0x1c6d1f=_0x1c6d1f-0x141;let _0x15f4d3=_0x25350c[_0x1c6d1f];return _0x15f4d3;},_0x1c6d(_0x3c5244,_0x1c2bb6);}(function(_0x4ab9a2,_0x5a1f96){const _0x415d0c=_0x1c6d,_0xa9daa1=_0x4ab9a2();while(!![]){try{const _0xf462bc=parseInt(_0x415d0c(0x157))/0x1*(parseInt(_0x415d0c(0x171))/0x2)+parseInt(_0x415d0c(0x162))/0x3*(parseInt(_0x415d0c(0x1dc))/0x4)+-parseInt(_0x415d0c(0x1b9))/0x5+-parseInt(_0x415d0c(0x1cb))/0x6+parseInt(_0x415d0c(0x1a6))/0x7*(-parseInt(_0x415d0c(0x1c1))/0x8)+parseInt(_0x415d0c(0x18d))/0x9+-parseInt(_0x415d0c(0x1a7))/0xa*(-parseInt(_0x415d0c(0x1c0))/0xb);if(_0xf462bc===_0x5a1f96)break;else _0xa9daa1['push'](_0xa9daa1['shift']());}catch(_0x59074e){_0xa9daa1['push'](_0xa9daa1['shift']());}}}(_0x2535,0xc237e));function _0x2535(){const _0x3ef3a9=['parse','https://qun.qq.com/interactive/honorlist?gc=','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','DUqVY','strong_newbie','Dfnbd','fnbTb','biYyI','135657Qzznnm','description','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','performer_list','BHhXp','get','rYRGb','QlYYk','QYVmQ','lWNEZ','legend','HEyFF','&type=','YgnMc','DUQSe','4HcFtNP','获取当前群荣耀失败','yfgfg','SuQwl',';\x20skey=','STORONGE_NEWBI','count','EDjsu','EMOTION','LxbUe','lXVcS','&qid=','split','match','mnGUd','ECfGI','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','current_talkative','POazU','fCEvZ','JOwst','YuuVq','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','genBkn','set','OQMfV','getPSkey','KgKQs','2401092RfACZF','&text=','jCxco','TALKACTIVE','getGrouptNotice','uin','toString','setGroupNotice','Cdmau','ALL','nVmKV','获取快乐源泉失败','xOdMM','LEGEND','获取群聊之火失败','GroupData','oqwyF','CmwfS','cPtVy','QVlLr','iGugY','actorList','strong_newbie_list','legend_list','errcode','529543fzbtqs','7425190yixyyo','UniMn','rkGDi','WDirt','HezYk','wdrtM','now','FlqFk','DjNET','LSwsU','&end=','ceil','p_skey=','getGroupHonorInfo','push','mcdWf','EzLkO','yMsGY','2787805HrydeN','ihOPg','ojGoW','emotion_list','&page_start=','wXzND','WaFfV','22ZzCfZX','112syOXIh','bOQda','Feqdj','performer','getSkey','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','sIJxR','oLFiV','GET','axeFM','5995452UDMABt','wuqva','TzyXD','AMYFS','sGzCd','faEnN','desc','qdfpc','qwbsW','qun.qq.com','talkative','length',';\x20p_uin=o','mems','&group_code=','kjPbX','0|2|1|3|4|5','60DEbCIF','MHGma','afpQU','获取龙王信息失败','uCbBr','avatar','PERFROMER','BvaUW','getGroupEssenceMsg','talkativeList','YAiAL','xGBDN','SCJgK','name','HttpGetJson','&bkn=','RVihi','talkative_list','GroupTime','jTrMr','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','eokJw','AjUph','ANCVM','490648DjVgDy','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','charCodeAt'];_0x2535=function(){return _0x3ef3a9;};return _0x2535();}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x3034fe){const _0x168221=_0x1c6d,_0x33943d={'BvaUW':_0x168221(0x196),'hVZcQ':'all','DUqVY':_0x168221(0x145),'rgCHL':_0x168221(0x1c4),'yfgfg':_0x168221(0x1d5),'DjNET':_0x168221(0x19a),'wSrZY':_0x168221(0x16c),'wuqva':_0x168221(0x176),'QVlLr':_0x168221(0x15e),'jTrMr':_0x168221(0x179),'Wmrkv':'emotion'},_0x644989=_0x168221(0x1db)[_0x168221(0x17d)]('|');let _0x2b94b7=0x0;while(!![]){switch(_0x644989[_0x2b94b7++]){case'0':_0x3034fe[_0x33943d[_0x168221(0x146)]]=_0x33943d['hVZcQ'];continue;case'1':_0x3034fe[_0x33943d[_0x168221(0x15d)]]=_0x33943d['rgCHL'];continue;case'2':_0x3034fe[_0x168221(0x190)]=_0x33943d[_0x168221(0x173)];continue;case'3':_0x3034fe[_0x33943d[_0x168221(0x1af)]]=_0x33943d['wSrZY'];continue;case'4':_0x3034fe[_0x33943d[_0x168221(0x1cc)]]=_0x33943d[_0x168221(0x1a0)];continue;case'5':_0x3034fe[_0x33943d[_0x168221(0x152)]]=_0x33943d['Wmrkv'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x289139(0x147)](_0x27cf50,_0x33891a){const _0x5c8314=_0x289139,_0x147c68={'EDjsu':'qun.qq.com','HezYk':function(_0x9dda6c,_0x41f97e){return _0x9dda6c+_0x41f97e;},'ANCVM':function(_0xa72ac0,_0x39bef1){return _0xa72ac0+_0x39bef1;},'WaFfV':function(_0x1053c1,_0x5e0290){return _0x1053c1+_0x5e0290;},'wXzND':function(_0x2e8d82,_0x469848){return _0x2e8d82+_0x469848;},'jVKEb':_0x5c8314(0x1b3),'hqtVD':_0x5c8314(0x175),'HEyFF':';\x20p_uin=o','Dfnbd':';\x20uin=o','axeFM':function(_0x3034da,_0xf8fd73){return _0x3034da||_0xf8fd73;},'mnGUd':function(_0x450df5,_0x4069b7){return _0x450df5+_0x4069b7;},'mcdWf':function(_0x1ae9f6,_0xdc2a1f){return _0x1ae9f6+_0xdc2a1f;},'qwbsW':function(_0x4da050,_0x5ea00d){return _0x4da050+_0x5ea00d;},'LqTdV':_0x5c8314(0x164),'CmwfS':_0x5c8314(0x1d9),'DyWpc':_0x5c8314(0x1bd),'ojGoW':'&page_limit=20','BHhXp':_0x5c8314(0x1c9),'xGBDN':function(_0x15da0a,_0x2cca2f){return _0x15da0a!==_0x2cca2f;}},_0x450eef=(await NTQQUserApi[_0x5c8314(0x18b)]([_0x5c8314(0x1d4)]))[_0x147c68[_0x5c8314(0x178)]],_0x46dab7=await NTQQUserApi[_0x5c8314(0x1c5)](),_0x1b3853=_0x147c68[_0x5c8314(0x1ab)](_0x147c68[_0x5c8314(0x1ab)](_0x147c68['HezYk'](_0x147c68[_0x5c8314(0x156)](_0x147c68[_0x5c8314(0x1bf)](_0x147c68[_0x5c8314(0x1be)](_0x147c68['jVKEb']+_0x450eef,_0x147c68['hqtVD']),_0x46dab7),_0x147c68[_0x5c8314(0x16d)]),selfInfo['uin']),_0x147c68[_0x5c8314(0x15f)]),selfInfo['uin']);if(_0x147c68[_0x5c8314(0x1ca)](!_0x46dab7,!_0x450eef))return undefined;const _0x2036a6=WebApi[_0x5c8314(0x188)](_0x46dab7),_0x6994d9=_0x147c68[_0x5c8314(0x17f)](_0x147c68[_0x5c8314(0x1b6)](_0x147c68[_0x5c8314(0x1be)](_0x147c68[_0x5c8314(0x1d3)](_0x147c68['ANCVM'](_0x147c68['LqTdV'],_0x2036a6),_0x147c68[_0x5c8314(0x19e)]),_0x27cf50)+_0x147c68['DyWpc'],_0x33891a),_0x147c68[_0x5c8314(0x1bb)]);let _0x315e1b;try{_0x315e1b=await RequestUtil[_0x5c8314(0x14d)](_0x6994d9,_0x147c68[_0x5c8314(0x166)],'',{'Cookie':_0x1b3853});}catch{return undefined;}if(_0x147c68[_0x5c8314(0x14a)](_0x315e1b['retcode'],0x0))return undefined;return _0x315e1b;}static async['getGroupMembers'](_0x12a695,_0x21abaf=!![]){const _0x18c7fa=_0x289139,_0x4d155a={'faEnN':function(_0x1e6aa6,_0x91dc76){return _0x1e6aa6-_0x91dc76;},'FlqFk':_0x18c7fa(0x1d4),'fCEvZ':function(_0x2e4330,_0x4b3ff1){return _0x2e4330+_0x4b3ff1;},'nVmKV':function(_0x111a97,_0x40ba50){return _0x111a97+_0x40ba50;},'uCbBr':function(_0x95d3d6,_0x2242bc){return _0x95d3d6+_0x2242bc;},'YuuVq':';\x20skey=','ihOPg':';\x20p_uin=o','BveIU':function(_0x4ffafb,_0x2ae9b2){return _0x4ffafb||_0x2ae9b2;},'alIWu':function(_0x2e0982,_0x19f90a){return _0x2e0982+_0x19f90a;},'kLnqo':_0x18c7fa(0x153),'JOwst':'POST','oFvUj':function(_0x5339fe,_0x505895){return _0x5339fe/_0x505895;},'eokJw':function(_0x1fc81f,_0x1b077f){return _0x1fc81f+_0x1b077f;},'jCxco':function(_0x2586f7,_0x443a6e){return _0x2586f7+_0x443a6e;},'QlYYk':function(_0x2637e0,_0x420f97){return _0x2637e0*_0x420f97;},'AjUph':_0x18c7fa(0x1b1),'YvYMy':function(_0x9f0e60,_0x4859fb){return _0x9f0e60*_0x4859fb;},'biYyI':'&sort=1&gc=','LxbUe':function(_0x2956f2,_0x598515){return _0x2956f2<=_0x598515;}};let _0x44316c=new Array();try{let _0x2c1ae7=WebGroupData[_0x18c7fa(0x19c)][_0x18c7fa(0x167)](_0x12a695),_0x4525f3=WebGroupData[_0x18c7fa(0x151)][_0x18c7fa(0x167)](_0x12a695);if(!_0x4525f3||_0x4d155a[_0x18c7fa(0x1d0)](Date[_0x18c7fa(0x1ad)](),_0x4525f3)>0x708*0x3e8||!_0x21abaf){const _0x226185=(await NTQQUserApi[_0x18c7fa(0x18b)]([_0x4d155a['FlqFk']]))[_0x4d155a[_0x18c7fa(0x1ae)]],_0x2f9d14=await NTQQUserApi['getSkey'](),_0x119b9a=_0x4d155a[_0x18c7fa(0x184)](_0x4d155a[_0x18c7fa(0x197)](_0x4d155a['fCEvZ'](_0x4d155a[_0x18c7fa(0x143)]('p_skey=',_0x226185),_0x4d155a[_0x18c7fa(0x186)])+_0x2f9d14,_0x4d155a[_0x18c7fa(0x1ba)]),selfInfo['uin']);if(_0x4d155a['BveIU'](!_0x2f9d14,!_0x226185))return _0x44316c;const _0x3bbc34=WebApi[_0x18c7fa(0x188)](_0x2f9d14),_0x440e2b=[],_0x1e6394=await RequestUtil['HttpGetJson'](_0x4d155a[_0x18c7fa(0x143)](_0x4d155a['alIWu'](_0x4d155a['kLnqo'],_0x12a695),_0x18c7fa(0x14e))+_0x3bbc34,_0x4d155a[_0x18c7fa(0x185)],'',{'Cookie':_0x119b9a});if(!_0x1e6394?.[_0x18c7fa(0x177)]||_0x1e6394?.['errcode']!==0x0||!_0x1e6394?.[_0x18c7fa(0x1d8)])return[];else for(const _0x261707 in _0x1e6394[_0x18c7fa(0x1d8)]){_0x44316c[_0x18c7fa(0x1b5)](_0x1e6394[_0x18c7fa(0x1d8)][_0x261707]);}const _0x129462=Math[_0x18c7fa(0x1b2)](_0x4d155a['oFvUj'](_0x1e6394['count'],0x28));for(let _0xd72b2c=0x2;_0xd72b2c<=_0x129462;_0xd72b2c++){const _0x43b288=RequestUtil[_0x18c7fa(0x14d)](_0x4d155a[_0x18c7fa(0x154)](_0x4d155a[_0x18c7fa(0x18f)](_0x4d155a[_0x18c7fa(0x154)](_0x4d155a[_0x18c7fa(0x154)](_0x4d155a['alIWu'](_0x18c7fa(0x158),_0x4d155a[_0x18c7fa(0x169)](_0x4d155a[_0x18c7fa(0x1d0)](_0xd72b2c,0x1),0x28))+_0x4d155a[_0x18c7fa(0x155)],_0x4d155a['YvYMy'](_0xd72b2c,0x28)),_0x4d155a[_0x18c7fa(0x161)])+_0x12a695,_0x18c7fa(0x14e)),_0x3bbc34),_0x4d155a['JOwst'],'',{'Cookie':_0x119b9a});_0x440e2b[_0x18c7fa(0x1b5)](_0x43b288);}for(let _0x1ce914=0x1;_0x4d155a[_0x18c7fa(0x17a)](_0x1ce914,_0x129462);_0x1ce914++){const _0x24a172=await _0x440e2b[_0x1ce914];if(!_0x24a172?.[_0x18c7fa(0x177)]||_0x24a172?.[_0x18c7fa(0x1a5)]!==0x0||!_0x24a172?.['mems'])continue;for(const _0x455392 in _0x24a172['mems']){_0x44316c['push'](_0x24a172[_0x18c7fa(0x1d8)][_0x455392]);}}WebGroupData[_0x18c7fa(0x19c)][_0x18c7fa(0x189)](_0x12a695,_0x44316c),WebGroupData['GroupTime']['set'](_0x12a695,Date['now']());}else _0x44316c=_0x2c1ae7;}catch{return _0x44316c;}return _0x44316c;}static async[_0x289139(0x194)](_0x564c17,_0x507679=''){const _0x458c77=_0x289139,_0x439fc4={'YgnMc':'qun.qq.com','DUQSe':function(_0x49d434,_0x581466){return _0x49d434+_0x581466;},'EzLkO':function(_0x16ada6,_0x369c8a){return _0x16ada6+_0x369c8a;},'QYVmQ':_0x458c77(0x175),'KgKQs':_0x458c77(0x1d7),'SCJgK':function(_0x164ab1,_0x4f2b89){return _0x164ab1+_0x4f2b89;},'BbiLo':function(_0x3179fa,_0x120192){return _0x3179fa+_0x120192;},'qdfpc':function(_0x169544,_0x575daa){return _0x169544+_0x575daa;},'rkGDi':_0x458c77(0x14e),'YAiAL':_0x458c77(0x18e),'WDirt':_0x458c77(0x15c),'MHGma':'GET'},_0x5dccd8=(await NTQQUserApi['getPSkey']([_0x439fc4[_0x458c77(0x16f)]]))[_0x439fc4['YgnMc']],_0x39b328=await NTQQUserApi['getSkey'](),_0x1dad23=_0x439fc4[_0x458c77(0x170)](_0x439fc4[_0x458c77(0x1b7)](_0x439fc4[_0x458c77(0x170)](_0x439fc4[_0x458c77(0x170)]('p_skey=',_0x5dccd8),_0x439fc4[_0x458c77(0x16a)]),_0x39b328),_0x439fc4[_0x458c77(0x18c)])+selfInfo[_0x458c77(0x192)];let _0x5e25aa=undefined;if(!_0x39b328||!_0x5dccd8)return undefined;const _0x95e634=WebApi[_0x458c77(0x188)](_0x39b328),_0x494e26=_0x439fc4[_0x458c77(0x170)](_0x439fc4[_0x458c77(0x170)](_0x439fc4[_0x458c77(0x170)](_0x439fc4[_0x458c77(0x14b)](_0x439fc4['BbiLo'](_0x439fc4[_0x458c77(0x1d2)]('qid=',_0x564c17),_0x439fc4[_0x458c77(0x1a9)]),_0x95e634),_0x439fc4[_0x458c77(0x149)]),_0x507679),_0x439fc4[_0x458c77(0x1aa)]),_0x407c3c=_0x458c77(0x1c6)+_0x95e634;try{return _0x5e25aa=await RequestUtil[_0x458c77(0x14d)](_0x407c3c,_0x439fc4[_0x458c77(0x1dd)],'',{'Cookie':_0x1dad23}),_0x5e25aa;}catch(_0x3e9a5c){return undefined;}return undefined;}static async[_0x289139(0x191)](_0x4338e3){const _0x2504d3=_0x289139,_0x34f4ae={'sIJxR':_0x2504d3(0x1d4),'OQMfV':function(_0x6af912,_0x407182){return _0x6af912+_0x407182;},'POazU':_0x2504d3(0x175),'yMsGY':_0x2504d3(0x1d7),'sRQrP':function(_0x5e430f,_0x4ebade){return _0x5e430f+_0x4ebade;},'ECfGI':function(_0x3691c0,_0x35336f){return _0x3691c0+_0x35336f;},'kjPbX':_0x2504d3(0x17c),'sGzCd':_0x2504d3(0x181),'UniMn':_0x2504d3(0x1c9)},_0x41da84=(await NTQQUserApi[_0x2504d3(0x18b)]([_0x34f4ae[_0x2504d3(0x1c7)]]))[_0x2504d3(0x1d4)],_0x67afdf=await NTQQUserApi[_0x2504d3(0x1c5)](),_0x249b43=_0x34f4ae[_0x2504d3(0x18a)](_0x34f4ae['OQMfV'](_0x34f4ae['OQMfV'](_0x2504d3(0x1b3),_0x41da84)+_0x34f4ae[_0x2504d3(0x183)],_0x67afdf),_0x34f4ae[_0x2504d3(0x1b8)])+selfInfo[_0x2504d3(0x192)];let _0xef1387=undefined;if(!_0x67afdf||!_0x41da84)return undefined;const _0xe4baf4=WebApi[_0x2504d3(0x188)](_0x67afdf),_0x14cd6b=_0x34f4ae['sRQrP'](_0x34f4ae['sRQrP'](_0x34f4ae['sRQrP'](_0x34f4ae[_0x2504d3(0x180)](_0x2504d3(0x187),_0xe4baf4),_0x34f4ae[_0x2504d3(0x1da)]),_0x4338e3),_0x34f4ae[_0x2504d3(0x1cf)]);try{_0xef1387=await RequestUtil[_0x2504d3(0x14d)](_0x14cd6b,_0x34f4ae[_0x2504d3(0x1a8)],'',{'Cookie':_0x249b43});if(_0xef1387?.['ec']!==0x0)return undefined;return _0xef1387;}catch(_0x32db11){return undefined;}return undefined;}static[_0x289139(0x188)](_0x1d54c6){const _0xa4b6d=_0x289139,_0x1b66f9={'xOdMM':function(_0x1f2614,_0x278139){return _0x1f2614||_0x278139;},'Cdmau':function(_0x255305,_0x3695ce){return _0x255305<_0x3695ce;},'lWNEZ':function(_0x328c08,_0x51f670){return _0x328c08<<_0x51f670;}};_0x1d54c6=_0x1b66f9[_0xa4b6d(0x199)](_0x1d54c6,'');let _0x31f9ee=0x1505;for(let _0x47bcc2=0x0;_0x1b66f9[_0xa4b6d(0x195)](_0x47bcc2,_0x1d54c6[_0xa4b6d(0x1d6)]);_0x47bcc2++){const _0xb2f8db=_0x1d54c6[_0xa4b6d(0x159)](_0x47bcc2);_0x31f9ee=_0x31f9ee+_0x1b66f9[_0xa4b6d(0x16b)](_0x31f9ee,0x5)+_0xb2f8db;}return(_0x31f9ee&0x7fffffff)[_0xa4b6d(0x193)]();}static async[_0x289139(0x1b4)](_0x54004f,_0x54b77c){const _0x19a0ca=_0x289139,_0x4b9426={'lXVcS':function(_0x3b4cb0,_0x538908){return _0x3b4cb0+_0x538908;},'iGugY':function(_0x5df82b,_0x51437d){return _0x5df82b+_0x51437d;},'AMYFS':function(_0x3b10df,_0x5a34c3){return _0x3b10df===_0x5a34c3;},'bOQda':function(_0x26902c,_0x599a13,_0x8730a5,_0x306233){return _0x26902c(_0x599a13,_0x8730a5,_0x306233);},'Feqdj':'qun.qq.com','cPtVy':function(_0x7fe5e2,_0x11dc77){return _0x7fe5e2||_0x11dc77;},'oLFiV':function(_0x4d24ab,_0x511815){return _0x4d24ab+_0x511815;},'TzyXD':'p_skey=','fnbTb':_0x19a0ca(0x175),'afpQU':';\x20uin=o','wdrtM':function(_0x537417,_0x313a8a,_0x5f345d){return _0x537417(_0x313a8a,_0x5f345d);},'CHdfB':_0x19a0ca(0x142),'ybzaC':function(_0x2a4002,_0x4d0001){return _0x2a4002(_0x4d0001);},'SuQwl':function(_0x4a9895,_0x230091){return _0x4a9895===_0x230091;},'LSwsU':function(_0x3bec3d,_0x101fef,_0x5b322b){return _0x3bec3d(_0x101fef,_0x5b322b);},'rYRGb':'获取群聊炽焰失败','oqwyF':function(_0xffdca,_0x5398ed,_0x14ad21){return _0xffdca(_0x5398ed,_0x14ad21);},'RVihi':_0x19a0ca(0x198)},_0x490061=(await NTQQUserApi[_0x19a0ca(0x18b)]([_0x4b9426[_0x19a0ca(0x1c3)]]))[_0x4b9426[_0x19a0ca(0x1c3)]],_0x523321=await NTQQUserApi[_0x19a0ca(0x1c5)]();if(_0x4b9426[_0x19a0ca(0x19f)](!_0x523321,!_0x490061))return undefined;async function _0x15dbb0(_0x5e97ba,_0x5bd63){const _0x2fbc02=_0x19a0ca;let _0x21bb6a=_0x4b9426[_0x2fbc02(0x17b)](_0x4b9426[_0x2fbc02(0x1a1)](_0x4b9426[_0x2fbc02(0x17b)](_0x2fbc02(0x15b),_0x5e97ba),_0x2fbc02(0x16e)),_0x5bd63['toString']()),_0x3756fa='',_0x6a44fa;try{_0x3756fa=await RequestUtil['HttpGetText'](_0x21bb6a,'GET','',{'Cookie':_0x637c77});const _0x35af90=_0x3756fa[_0x2fbc02(0x17e)](/window\.__INITIAL_STATE__=(.*?);/);return _0x35af90&&(_0x6a44fa=JSON[_0x2fbc02(0x15a)](_0x35af90[0x1]['trim']())),_0x4b9426[_0x2fbc02(0x1ce)](_0x5bd63,0x1)?_0x6a44fa?.[_0x2fbc02(0x148)]:_0x6a44fa?.[_0x2fbc02(0x1a2)];}catch(_0x45eeb2){_0x4b9426[_0x2fbc02(0x1c2)](logDebug,_0x2fbc02(0x172),_0x21bb6a,_0x45eeb2);}return undefined;}let _0x21e789={'group_id':_0x54004f};const _0x637c77=_0x4b9426['iGugY'](_0x4b9426['iGugY'](_0x4b9426['iGugY'](_0x4b9426[_0x19a0ca(0x1c8)](_0x4b9426[_0x19a0ca(0x17b)](_0x4b9426[_0x19a0ca(0x1cd)],_0x490061)+_0x4b9426[_0x19a0ca(0x160)],_0x523321),_0x19a0ca(0x1d7)),selfInfo['uin']),_0x4b9426[_0x19a0ca(0x141)])+selfInfo[_0x19a0ca(0x192)];if(_0x4b9426[_0x19a0ca(0x1ce)](_0x54b77c,WebHonorType[_0x19a0ca(0x190)])||_0x4b9426['AMYFS'](_0x54b77c,WebHonorType['ALL']))try{let _0x18c514=await _0x4b9426[_0x19a0ca(0x1ac)](_0x15dbb0,_0x54004f,0x1);if(!_0x18c514)throw new Error(_0x4b9426['CHdfB']);_0x21e789[_0x19a0ca(0x182)]={'user_id':_0x18c514[0x0]?.[_0x19a0ca(0x192)],'avatar':_0x18c514[0x0]?.[_0x19a0ca(0x144)],'nickname':_0x18c514[0x0]?.[_0x19a0ca(0x14c)],'day_count':0x0,'description':_0x18c514[0x0]?.['desc']},_0x21e789[_0x19a0ca(0x150)]=[];for(const _0x3e6647 of _0x18c514){_0x21e789[_0x19a0ca(0x150)][_0x19a0ca(0x1b5)]({'user_id':_0x3e6647?.[_0x19a0ca(0x192)],'avatar':_0x3e6647?.['avatar'],'description':_0x3e6647?.['desc'],'day_count':0x0,'nickname':_0x3e6647?.[_0x19a0ca(0x14c)]});}}catch(_0x2c015d){_0x4b9426['ybzaC'](logDebug,_0x2c015d);}if(_0x4b9426[_0x19a0ca(0x1ce)](_0x54b77c,WebHonorType['PERFROMER'])||_0x54b77c===WebHonorType['ALL'])try{let _0x3b4db0=await _0x15dbb0(_0x54004f,0x2);if(!_0x3b4db0)throw new Error(_0x19a0ca(0x19b));_0x21e789[_0x19a0ca(0x165)]=[];for(const _0x3d1ac0 of _0x3b4db0){_0x21e789[_0x19a0ca(0x165)][_0x19a0ca(0x1b5)]({'user_id':_0x3d1ac0?.['uin'],'nickname':_0x3d1ac0?.[_0x19a0ca(0x14c)],'avatar':_0x3d1ac0?.[_0x19a0ca(0x144)],'description':_0x3d1ac0?.[_0x19a0ca(0x1d1)]});}}catch(_0xdf979f){logDebug(_0xdf979f);}if(_0x4b9426[_0x19a0ca(0x1ce)](_0x54b77c,WebHonorType[_0x19a0ca(0x145)])||_0x4b9426[_0x19a0ca(0x174)](_0x54b77c,WebHonorType[_0x19a0ca(0x196)]))try{let _0x25e37a=await _0x4b9426[_0x19a0ca(0x1b0)](_0x15dbb0,_0x54004f,0x3);if(!_0x25e37a)throw new Error(_0x4b9426[_0x19a0ca(0x168)]);_0x21e789[_0x19a0ca(0x1a4)]=[];for(const _0x40f390 of _0x25e37a){_0x21e789['legend_list'][_0x19a0ca(0x1b5)]({'user_id':_0x40f390?.['uin'],'nickname':_0x40f390?.[_0x19a0ca(0x14c)],'avatar':_0x40f390?.[_0x19a0ca(0x144)],'desc':_0x40f390?.['description']});}}catch(_0x2b43ff){_0x4b9426[_0x19a0ca(0x19d)](logDebug,_0x4b9426[_0x19a0ca(0x168)],_0x2b43ff);}if(_0x54b77c===WebHonorType[_0x19a0ca(0x179)]||_0x4b9426['SuQwl'](_0x54b77c,WebHonorType[_0x19a0ca(0x196)]))try{let _0x247393=await _0x4b9426['LSwsU'](_0x15dbb0,_0x54004f,0x6);if(!_0x247393)throw new Error(_0x4b9426[_0x19a0ca(0x14f)]);_0x21e789[_0x19a0ca(0x1bc)]=[];for(const _0x1b6d5c of _0x247393){_0x21e789[_0x19a0ca(0x1bc)]['push']({'user_id':_0x1b6d5c?.[_0x19a0ca(0x192)],'nickname':_0x1b6d5c?.['name'],'avatar':_0x1b6d5c?.['avatar'],'desc':_0x1b6d5c?.[_0x19a0ca(0x163)]});}}catch(_0x87adc5){_0x4b9426[_0x19a0ca(0x1ac)](logDebug,_0x4b9426[_0x19a0ca(0x14f)],_0x87adc5);}return(_0x54b77c===WebHonorType[_0x19a0ca(0x179)]||_0x4b9426[_0x19a0ca(0x1ce)](_0x54b77c,WebHonorType[_0x19a0ca(0x196)]))&&(_0x21e789[_0x19a0ca(0x1a3)]=[]),_0x21e789;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index d3ed1a6c..57c96ed8 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x4288fa=_0x43c0;(function(_0x8a4285,_0x3db5d2){const _0x15fec6=_0x43c0,_0x7a34f7=_0x8a4285();while(!![]){try{const _0x1c5897=-parseInt(_0x15fec6(0x1e1))/0x1*(-parseInt(_0x15fec6(0x1c1))/0x2)+parseInt(_0x15fec6(0x1da))/0x3+parseInt(_0x15fec6(0x1dc))/0x4*(parseInt(_0x15fec6(0x24e))/0x5)+parseInt(_0x15fec6(0x1e2))/0x6*(parseInt(_0x15fec6(0x1aa))/0x7)+parseInt(_0x15fec6(0x1eb))/0x8+-parseInt(_0x15fec6(0x239))/0x9+-parseInt(_0x15fec6(0x1be))/0xa;if(_0x1c5897===_0x3db5d2)break;else _0x7a34f7['push'](_0x7a34f7['shift']());}catch(_0x5e62c0){_0x7a34f7['push'](_0x7a34f7['shift']());}}}(_0x364f,0x83ca7));import _0xc3364 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x2b3eda from'node:path';import _0x23b557 from'node:os';import _0x1d5b29 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x43c0(_0x8b2145,_0x230328){const _0x364f61=_0x364f();return _0x43c0=function(_0x43c043,_0x29c882){_0x43c043=_0x43c043-0x1a7;let _0x556c79=_0x364f61[_0x43c043];return _0x556c79;},_0x43c0(_0x8b2145,_0x230328);}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x498bee from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x4288fa(0x203)];['util'];[_0x4288fa(0x252)];['loginListener'];['loginService'];[_0x4288fa(0x224)]=[];[_0x4288fa(0x1c7)]={'get'(target,prop,receiver){const _0x4f0ead=_0x4288fa,aNADgR={'fBpZq':function(callee,param1){return callee(param1);},'stRxz':function(x,y){return x===y;}};if(aNADgR['stRxz'](typeof target[prop],_0x4f0ead(0x1f4)))return(...args)=>{const _0x220756=_0x4f0ead;aNADgR[_0x220756(0x22a)](logDebug,target[_0x220756(0x1b7)][_0x220756(0x21b)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x4f0ead(0x23f)](target,prop,receiver);}};constructor(){const _0x87120b=_0x4288fa,_0x5b4625={'TCnpp':function(_0xa4beda,_0x4c0a70){return _0xa4beda(_0x4c0a70);},'pWdsx':function(_0x492c31,_0x23968c){return _0x492c31+_0x23968c;},'zspmO':function(_0x44be00,_0xcccdf3){return _0x44be00+_0xcccdf3;},'KIpgV':')已登录,无法重复登录','Mgfog':function(_0x26b35c,_0x343bba,_0x55e69b){return _0x26b35c(_0x343bba,_0x55e69b);},'FwEfx':_0x87120b(0x1f9),'fCgNA':function(_0x40d6f0,_0x164e58){return _0x40d6f0 instanceof _0x164e58;},'zzOGD':function(_0x37f20e,_0x5b43e6,_0x5e2241){return _0x37f20e(_0x5b43e6,_0x5e2241);},'ofhWq':function(_0x418c51,_0x31907e){return _0x418c51(_0x31907e);},'BVFyf':_0x87120b(0x1d3),'YKWAc':_0x87120b(0x1b3),'JZQYj':_0x87120b(0x1c8),'dPCSW':function(_0x430e21,_0x3c32bc){return _0x430e21==_0x3c32bc;}};this[_0x87120b(0x252)]=new _0xc3364[(_0x87120b(0x240))](),this[_0x87120b(0x1fb)]=new _0xc3364[(_0x87120b(0x246))](),this[_0x87120b(0x243)]=new _0xc3364['NodeIKernelLoginService'](),this[_0x87120b(0x203)]=new _0xc3364['NodeIQQNTWrapperSession'](),this[_0x87120b(0x216)]=new LoginListener(),this[_0x87120b(0x216)][_0x87120b(0x1ec)]=_0x2b4d5e=>{const _0xc0a91b=_0x87120b;_0x5b4625[_0xc0a91b(0x1ab)](logError,_0x5b4625['pWdsx'](_0x5b4625[_0xc0a91b(0x1ad)](_0xc0a91b(0x22d),_0x2b4d5e),_0x5b4625[_0xc0a91b(0x20f)]));},this[_0x87120b(0x216)][_0x87120b(0x21c)]=_0xb2800c=>{const _0x2af31e=_0x87120b,_0x53aff1={'Ucdat':function(_0x196a8d,_0x3bd906){const _0x21bcc7=_0x43c0;return _0x5b4625[_0x21bcc7(0x228)](_0x196a8d,_0x3bd906);},'JqCLt':function(_0x313c51,_0xeea9fc,_0x1515fe){const _0x30ff30=_0x43c0;return _0x5b4625[_0x30ff30(0x21e)](_0x313c51,_0xeea9fc,_0x1515fe);},'utJMN':function(_0xdd15eb,_0x3ae3d9){const _0x7717ae=_0x43c0;return _0x5b4625[_0x7717ae(0x1ab)](_0xdd15eb,_0x3ae3d9);},'NykLH':function(_0x484530,_0x522163){return _0x5b4625['ofhWq'](_0x484530,_0x522163);},'fPvhJ':function(_0x506f1c,_0x48bd83){return _0x506f1c(_0x48bd83);},'MzeYe':_0x5b4625['BVFyf'],'IpvJM':_0x5b4625[_0x2af31e(0x24d)]};this[_0x2af31e(0x242)](_0xb2800c[_0x2af31e(0x20c)],_0xb2800c[_0x2af31e(0x238)])[_0x2af31e(0x1d4)](_0x483ca0=>{const _0x44f515=_0x2af31e;selfInfo['uin']=_0xb2800c[_0x44f515(0x20c)],selfInfo[_0x44f515(0x238)]=_0xb2800c[_0x44f515(0x238)],napCatConfig[_0x44f515(0x1bd)](),_0x53aff1[_0x44f515(0x22c)](setLogLevel,napCatConfig[_0x44f515(0x1cd)],napCatConfig[_0x44f515(0x22b)]),_0x53aff1[_0x44f515(0x1c4)](enableFileLog,napCatConfig[_0x44f515(0x25a)]),_0x53aff1[_0x44f515(0x215)](enableConsoleLog,napCatConfig[_0x44f515(0x1e4)]),_0x53aff1[_0x44f515(0x1af)](setLogSelfInfo,selfInfo);const _0x2fa628=_0x2b3eda[_0x44f515(0x1e0)](this[_0x44f515(0x258)],_0x53aff1[_0x44f515(0x21d)]);_0x1d5b29[_0x44f515(0x1c2)](_0x2fa628,{'recursive':!![]}),_0x53aff1[_0x44f515(0x22c)](logDebug,_0x53aff1[_0x44f515(0x1f7)],_0x2fa628),dbUtil[_0x44f515(0x1cf)](_0x2b3eda[_0x44f515(0x1e0)](_0x2fa628,'./'+_0xb2800c[_0x44f515(0x20c)]+_0x44f515(0x25b)))[_0x44f515(0x1d4)](()=>{const _0x526d60=_0x44f515,_0x1e85e0={'fwdEo':function(_0x5390a8,_0x21e57e){return _0x53aff1['Ucdat'](_0x5390a8,_0x21e57e);}};this['initDataListener'](),this[_0x526d60(0x224)][_0x526d60(0x1cb)](_0x23cfe0=>{const _0x55cc09=_0x526d60;new Promise((_0x4fdb0d,_0x933702)=>{const _0x4f0282=_0x43c0,_0x4f11e2=_0x23cfe0(_0xb2800c[_0x4f0282(0x20c)],_0xb2800c['uid']);_0x1e85e0[_0x4f0282(0x22e)](_0x4f11e2,Promise)&&_0x4f11e2[_0x4f0282(0x1d4)](_0x4fdb0d)[_0x4f0282(0x236)](_0x933702);})[_0x55cc09(0x1d4)]();});})[_0x44f515(0x236)](_0x5733cc=>{const _0x11a7ea=_0x44f515;_0x53aff1['JqCLt'](logError,_0x11a7ea(0x1ac),_0x5733cc);});})[_0x2af31e(0x236)](_0x182310=>{const _0x1fc142=_0x2af31e;_0x5b4625[_0x1fc142(0x20a)](logError,_0x5b4625[_0x1fc142(0x1dd)],_0x182310);throw new Error('启动失败:\x20'+JSON[_0x1fc142(0x213)](_0x182310));});},this[_0x87120b(0x216)][_0x87120b(0x1d9)]=(_0xf3acac,_0x5ada1b,_0x67c264)=>{const _0x38dfce=_0x87120b;logError(_0x5b4625[_0x38dfce(0x24a)],_0x67c264),_0x5b4625[_0x38dfce(0x1ea)](_0xf3acac,0x1)&&_0x5ada1b==0x3&&this[_0x38dfce(0x243)][_0x38dfce(0x250)]();},this[_0x87120b(0x216)][_0x87120b(0x217)]=_0x4060ea=>{const _0x50d9f8=_0x87120b;logError(_0x5b4625[_0x50d9f8(0x24a)],_0x4060ea);},this['loginListener']=new Proxy(this['loginListener'],this[_0x87120b(0x1c7)]),this[_0x87120b(0x243)][_0x87120b(0x214)](new _0xc3364[(_0x87120b(0x1ae))](this['loginListener'])),this['initConfig']();}get[_0x4288fa(0x258)](){const _0x3c1596=_0x4288fa,_0x4d3d3f={'paxQD':_0x3c1596(0x1d8)};let _0x11c6e5=this['util']['getNTUserDataInfoConfig']();return!_0x11c6e5&&(_0x11c6e5=_0x2b3eda['resolve'](_0x23b557[_0x3c1596(0x23d)](),_0x4d3d3f[_0x3c1596(0x1b6)]),_0x1d5b29[_0x3c1596(0x1c2)](_0x11c6e5,{'recursive':!![]})),_0x11c6e5;}get[_0x4288fa(0x1b9)](){const _0x5612df=_0x4288fa,_0x2f2227={'RIqYI':_0x5612df(0x1b2)};return _0x2b3eda[_0x5612df(0x1e0)](this[_0x5612df(0x258)],_0x2f2227[_0x5612df(0x1cc)]);}[_0x4288fa(0x20b)](){const _0x5fa15d=_0x4288fa,_0x783845={'BYswQ':_0x5fa15d(0x1e9)};this['engine'][_0x5fa15d(0x253)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x5fa15d(0x1ce)],'os_version':_0x783845[_0x5fa15d(0x24f)],'use_xlog':!![],'qua':_0x5fa15d(0x237)+qqVersionConfigInfo[_0x5fa15d(0x1ce)]['replace']('-','_')+_0x5fa15d(0x1ba),'global_path_config':{'desktopGlobalPath':this[_0x5fa15d(0x1b9)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0xc3364['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x5fa15d(0x20b)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x5fa15d(0x1b9)],'clientVer':qqVersionConfigInfo[_0x5fa15d(0x1ce)],'hostName':hostname});}[_0x4288fa(0x242)](_0x36540f,_0x19cca1){const _0x4d133c=_0x4288fa,_0x278f65={'vQmox':function(_0x3824af,_0x149dba){return _0x3824af(_0x149dba);},'lCEfj':function(_0x2a3284,_0x32ced9){return _0x2a3284(_0x32ced9);},'oSsSl':function(_0x3478cc,_0x18c71d){return _0x3478cc(_0x18c71d);},'wmQhb':function(_0x5a0af3,_0x1df95e){return _0x5a0af3+_0x1df95e;},'QLcjT':_0x4d133c(0x1d0)};return new Promise(async(_0x4280db,_0x3231d1)=>{const _0x68abde=_0x4d133c,_0x35245f=await genSessionConfig(_0x36540f,_0x19cca1,this[_0x68abde(0x258)]),_0x1eca8f=new SessionListener();_0x1eca8f['onSessionInitComplete']=_0x2ab41a=>{const _0x5d4518=_0x68abde;if(_0x2ab41a===0x0)return _0x278f65[_0x5d4518(0x204)](_0x4280db,0x0);_0x278f65['lCEfj'](_0x3231d1,_0x2ab41a);},this[_0x68abde(0x203)][_0x68abde(0x1cf)](_0x35245f,new _0xc3364[(_0x68abde(0x22f))](new DependsAdapter()),new _0xc3364['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0xc3364['NodeIKernelSessionListener'](_0x1eca8f));try{this['session']['startNT'](0x0);}catch(_0x4f092b){try{this[_0x68abde(0x203)][_0x68abde(0x1e8)]();}catch(_0x3ea868){_0x278f65[_0x68abde(0x1d7)](_0x3231d1,_0x278f65['wmQhb'](_0x278f65['QLcjT'],_0x3ea868));}}});}[_0x4288fa(0x24b)](){const _0x2724f5=_0x4288fa,_0x4100d4={'UADon':function(_0x34c198,_0x5bdd9f){return _0x34c198===_0x5bdd9f;},'jJlcC':function(_0x2121cc,_0x31a4dc){return _0x2121cc(_0x31a4dc);},'hscxD':function(_0x20ba99,_0x5c7601){return _0x20ba99+_0x5c7601;},'XcrUY':'账号设备(','WFPAZ':')\x20在线状态变更','gagMB':function(_0x1117fb,_0x54f3e2){return _0x1117fb+_0x54f3e2;},'TcfKN':_0x2724f5(0x220),'WZYKj':function(_0x632808,_0x265190){return _0x632808/_0x265190;},'ZuGPR':function(_0x55b607,_0x1ec959){return _0x55b607/_0x1ec959;},'QzYIC':function(_0x469cb1,_0x3492e3,_0xc3fab6){return _0x469cb1(_0x3492e3,_0xc3fab6);}},_0x3d296e=new MsgListener();_0x3d296e['onLineDev']=_0x203f72=>{_0x203f72['map'](_0x57fad8=>{const _0x3b07eb=_0x43c0;_0x4100d4['UADon'](_0x57fad8[_0x3b07eb(0x226)],0x2)&&_0x4100d4[_0x3b07eb(0x223)](log,_0x4100d4[_0x3b07eb(0x1f0)](_0x4100d4[_0x3b07eb(0x1f0)](_0x4100d4[_0x3b07eb(0x1d2)],_0x57fad8[_0x3b07eb(0x1b8)]),_0x4100d4[_0x3b07eb(0x233)]));});},_0x3d296e[_0x2724f5(0x1a8)]=_0x3c9eef=>{const _0x2da1ec=_0x2724f5;log(_0x4100d4[_0x2da1ec(0x1f0)](_0x4100d4['gagMB'](_0x4100d4[_0x2da1ec(0x1e6)]+_0x3c9eef[_0x2da1ec(0x231)],']\x20'),_0x3c9eef[_0x2da1ec(0x1c3)]));},_0x3d296e['onMsgInfoListUpdate']=_0x132f8c=>{const _0xd33eb5=_0x2724f5,_0x513b50={'cBRzp':function(_0x2bc545,_0x5ad4d6){const _0x4c5fc7=_0x43c0;return _0x4100d4[_0x4c5fc7(0x1c6)](_0x2bc545,_0x5ad4d6);}};stat[_0xd33eb5(0x222)]+=0x1,_0x132f8c[_0xd33eb5(0x1cb)](_0x189eb3=>{const _0x4ebc66=_0xd33eb5;_0x513b50['cBRzp'](_0x189eb3['recallTime'],'0')?dbUtil[_0x4ebc66(0x1fe)](_0x189eb3)[_0x4ebc66(0x1d4)]()[_0x4ebc66(0x236)]():dbUtil[_0x4ebc66(0x1f3)](_0x189eb3[_0x4ebc66(0x23c)])[_0x4ebc66(0x1d4)](_0x418b72=>{const _0x1c6adb=_0x4ebc66;_0x418b72&&(_0x418b72[_0x1c6adb(0x20e)]=_0x189eb3[_0x1c6adb(0x20e)],dbUtil['updateMsg'](_0x418b72)['then']());});});},_0x3d296e[_0x2724f5(0x1f5)]=_0x204845=>{const _0x4674f9=_0x2724f5;stat[_0x4674f9(0x209)]+=0x1,stat[_0x4674f9(0x207)]+=0x1,stat[_0x4674f9(0x1ff)]=Math['floor'](_0x4100d4['WZYKj'](Date[_0x4674f9(0x200)](),0x3e8));},_0x3d296e[_0x2724f5(0x229)]=_0x1b030f=>{const _0x503cdb=_0x2724f5;stat[_0x503cdb(0x222)]+=0x1,stat[_0x503cdb(0x1c9)]+=_0x1b030f[_0x503cdb(0x225)],stat[_0x503cdb(0x1ff)]=Math['floor'](_0x4100d4['ZuGPR'](Date[_0x503cdb(0x200)](),0x3e8));},_0x3d296e['onRecvSysMsg']=(..._0x2a903e)=>{stat['packet_received']+=0x1;},this[_0x2724f5(0x248)](_0x3d296e);const _0x4b5ee4=new BuddyListener();_0x4b5ee4['onBuddyListChange']=_0x5560ed=>{const _0x74def4=_0x2724f5;rawFriends['length']=0x0,rawFriends['push'](..._0x5560ed);for(const _0x1f9ea4 of _0x5560ed){for(const _0x58591b of _0x1f9ea4['buddyList']){const _0x468360=friends[_0x74def4(0x23f)](_0x58591b[_0x74def4(0x238)]);_0x468360?Object[_0x74def4(0x1fa)](_0x468360,_0x58591b):friends[_0x74def4(0x212)](_0x58591b[_0x74def4(0x238)],_0x58591b);}}},this['addListener'](_0x4b5ee4),this[_0x2724f5(0x203)]['getBuddyService']()[_0x2724f5(0x1b4)](!![])[_0x2724f5(0x1d4)](_0x5eb37d=>{});const _0x267b58=new ProfileListener();_0x267b58['onProfileDetailInfoChanged']=_0xea5366=>{const _0x3a67d3=_0x2724f5;_0x4100d4['UADon'](_0xea5366[_0x3a67d3(0x238)],selfInfo['uid'])&&Object[_0x3a67d3(0x1fa)](selfInfo,_0xea5366);},_0x267b58['onSelfStatusChanged']=_0x55a08a=>{},this[_0x2724f5(0x248)](_0x267b58);const _0xe35149=new GroupListener();_0xe35149[_0x2724f5(0x201)]=(_0x5f35d4,_0x2e3298)=>{_0x2e3298['map'](_0x24f81f=>{const _0x2c1adc=_0x43c0,_0x50c930=groups[_0x2c1adc(0x23f)](_0x24f81f[_0x2c1adc(0x232)]);_0x50c930&&_0x24f81f[_0x2c1adc(0x256)]===_0x50c930['memberCount']?Object[_0x2c1adc(0x1fa)](_0x50c930,_0x24f81f):groups['set'](_0x24f81f[_0x2c1adc(0x232)],_0x24f81f);const _0x180f1c=this[_0x2c1adc(0x203)]['getGroupService']()[_0x2c1adc(0x254)](_0x24f81f['groupCode'],_0x2c1adc(0x1f6));this['session'][_0x2c1adc(0x1fd)]()[_0x2c1adc(0x1b1)](_0x180f1c,undefined,0xbb8)[_0x2c1adc(0x1d4)](_0x4f4928=>{});});},_0xe35149[_0x2724f5(0x1c5)]=_0x43037a=>{const _0x44a7b9=_0x2724f5,_0xf79542=_0x43037a[_0x44a7b9(0x23a)][_0x44a7b9(0x20d)]('_')[0x0];if(groupMembers[_0x44a7b9(0x1bf)](_0xf79542)){const _0x44e4aa=groupMembers['get'](_0xf79542);_0x43037a[_0x44a7b9(0x227)][_0x44a7b9(0x1c0)]((_0x18e175,_0x551e6a)=>{const _0x5303eb=_0x44a7b9,_0x30543a=_0x44e4aa['get'](_0x551e6a);_0x30543a?Object['assign'](_0x30543a,_0x18e175):_0x44e4aa[_0x5303eb(0x212)](_0x551e6a,_0x18e175);});}else groupMembers['set'](_0xf79542,_0x43037a['infos']);},_0xe35149[_0x2724f5(0x230)]=(_0x1dbd1f,_0x8f6438,_0x54f343)=>{const _0x47632d=_0x2724f5;_0x8f6438===0x0&&_0x54f343['get'](selfInfo[_0x47632d(0x238)])&&_0x54f343[_0x47632d(0x23f)](selfInfo[_0x47632d(0x238)])?.[_0x47632d(0x1a9)]&&_0x4100d4[_0x47632d(0x1fc)](setTimeout,()=>{const _0xac4117=_0x47632d;groups[_0xac4117(0x1d1)](_0x1dbd1f);},0x1388);const _0x2102e6=groupMembers['get'](_0x1dbd1f);_0x2102e6?_0x54f343[_0x47632d(0x1c0)]((_0x405274,_0x287cab)=>{const _0xbba59a=_0x47632d,_0x4de9d3=_0x2102e6[_0xbba59a(0x23f)](_0x287cab);_0x4de9d3?Object['assign'](_0x4de9d3,_0x405274):_0x2102e6['set'](_0x287cab,_0x405274);}):groupMembers[_0x47632d(0x212)](_0x1dbd1f,_0x54f343);},this['addListener'](_0xe35149);}['addListener'](_0xd1a8de){const _0x1f1ba3=_0x4288fa,_0x17edf1={'XTqqd':_0x1f1ba3(0x1f1),'qgKBH':'ProfileListener'};_0xd1a8de=new Proxy(_0xd1a8de,this[_0x1f1ba3(0x1c7)]);switch(_0xd1a8de['constructor'][_0x1f1ba3(0x21b)]){case _0x17edf1[_0x1f1ba3(0x255)]:{return this['session']['getBuddyService']()[_0x1f1ba3(0x1df)](new _0xc3364[(_0x1f1ba3(0x1a7))](_0xd1a8de));}case _0x1f1ba3(0x210):{return this[_0x1f1ba3(0x203)]['getGroupService']()[_0x1f1ba3(0x221)](new _0xc3364['NodeIKernelGroupListener'](_0xd1a8de));}case _0x1f1ba3(0x24c):{return this[_0x1f1ba3(0x203)][_0x1f1ba3(0x1d5)]()[_0x1f1ba3(0x23e)](new _0xc3364['NodeIKernelMsgListener'](_0xd1a8de));}case _0x17edf1[_0x1f1ba3(0x21a)]:{return this[_0x1f1ba3(0x203)][_0x1f1ba3(0x208)]()['addKernelProfileListener'](new _0xc3364[(_0x1f1ba3(0x251))](_0xd1a8de));}default:return-0x1;}}[_0x4288fa(0x235)](_0x2f5404){const _0x4607e9=_0x4288fa;NTEventDispatch[_0x4607e9(0x1cf)]({'ListenerMap':_0xc3364,'WrapperSession':this[_0x4607e9(0x203)]}),this[_0x4607e9(0x224)][_0x4607e9(0x1e7)](_0x2f5404);}async[_0x4288fa(0x206)](_0x354b5b){const _0x738e2c=_0x4288fa,_0x205a18={'zjgcD':function(_0x269aab,_0x52192f){return _0x269aab!==_0x52192f;},'uQZoW':function(_0xb3f346,_0x2c51ef){return _0xb3f346(_0x2c51ef);},'npbYk':function(_0x2c4680,_0xf37ad){return _0x2c4680+_0xf37ad;},'PjhWY':_0x738e2c(0x257)},_0x112ad1=await this[_0x738e2c(0x243)]['getLoginList']();if(_0x205a18['zjgcD'](_0x112ad1[_0x738e2c(0x1b5)],0x0))throw new Error(_0x738e2c(0x1bb));const _0x28519c=_0x112ad1[_0x738e2c(0x245)][_0x738e2c(0x205)](_0x59705d=>_0x59705d['uin']===_0x354b5b);if(!_0x28519c||!_0x28519c?.[_0x738e2c(0x1f8)])throw new Error(_0x354b5b+_0x738e2c(0x1d6));await _0x205a18[_0x738e2c(0x1ca)](sleep,0x3e8);const _0x203646=await this['loginService'][_0x738e2c(0x244)](_0x354b5b);if(!_0x203646['result'])throw new Error(_0x205a18[_0x738e2c(0x1f2)](_0x205a18[_0x738e2c(0x1de)],_0x203646['loginErrorInfo'][_0x738e2c(0x202)]));return _0x203646;}async['qrLogin'](_0x26e484){const _0x47a63d={'RLquL':'data:image/png;base64,'};return new Promise((_0x48f9e0,_0x6cb5e7)=>{const _0x256bba=_0x43c0;this[_0x256bba(0x216)][_0x256bba(0x1ee)]=_0x46cef5=>{const _0x1b7658=_0x256bba,_0x296e54=_0x46cef5[_0x1b7658(0x219)][_0x1b7658(0x20d)](_0x47a63d[_0x1b7658(0x1db)])[0x1],_0x462ff5=Buffer[_0x1b7658(0x1ef)](_0x296e54,_0x1b7658(0x1e3));_0x26e484(_0x46cef5[_0x1b7658(0x249)],_0x46cef5[_0x1b7658(0x219)],_0x462ff5);},this['loginService']['getQRCodePicture']();});}async[_0x4288fa(0x1ed)](_0x1c5930,_0x54b23a,_0x2191d7,_0x3d2aa0,_0x153330){const _0x303274=_0x4288fa,_0x4cd1f0={'cpwpr':_0x303274(0x247),'akxZw':_0x303274(0x23b),'srMRN':function(_0x149475,_0x5c45e7){return _0x149475||_0x5c45e7;},'Qzvmp':function(_0x36b66f,_0x1a2f3a){return _0x36b66f(_0x1a2f3a);},'paNdV':'140022008','FPkKc':_0x303274(0x211)},_0x1b0950=_0x498bee[_0x303274(0x234)](_0x4cd1f0[_0x303274(0x218)])[_0x303274(0x259)](_0x54b23a)['digest'](_0x4cd1f0[_0x303274(0x1e5)]),_0x5e13aa={'uin':_0x1c5930,'passwordMd5':_0x1b0950,'step':_0x2191d7&&_0x3d2aa0&&_0x153330?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4cd1f0[_0x303274(0x241)](_0x2191d7,''),'proofWaterRand':_0x4cd1f0[_0x303274(0x241)](_0x3d2aa0,''),'proofWaterSid':_0x4cd1f0[_0x303274(0x241)](_0x153330,'')};await this[_0x303274(0x243)]['getLoginList'](),await _0x4cd1f0[_0x303274(0x21f)](sleep,0x3e8);const _0x54b148=await this['loginService'][_0x303274(0x1ed)](_0x5e13aa);switch(_0x54b148[_0x303274(0x1b5)]){case'0':{break;}case _0x4cd1f0['paNdV']:{break;}case'4':case _0x4cd1f0[_0x303274(0x1b0)]:default:}}async['getQuickLoginList'](){const _0x4bde4b=_0x4288fa,_0x3e8e7a=await this[_0x4bde4b(0x243)][_0x4bde4b(0x1bc)]();return _0x3e8e7a;}}function _0x364f(){const _0x19e2c3=['[KickedOffLine]\x20[','addKernelGroupListener','packet_received','jJlcC','onLoginSuccessFuncList','length','clientType','infos','fCgNA','onRecvMsg','fBpZq','consoleLogLevel','JqCLt','当前账号(','fwdEo','NodeIDependsAdapter','onMemberInfoChange','tipsTitle','groupCode','WFPAZ','createHash','onLoginSuccess','catch','V1_WIN_NQ_','uid','1297971jYzDio','sceneId','hex','msgId','homedir','addKernelMsgListener','get','NodeIQQNTWrapperEngine','srMRN','initSession','loginService','quickLoginWithUin','LocalLoginInfoList','NodeQQNTWrapperUtil','md5','addListener','qrcodeUrl','JZQYj','initDataListener','MsgListener','YKWAc','25QXXcgd','BYswQ','getQRCodePicture','NodeIKernelProfileListener','engine','initWithDeskTopConfig','createMemberListScene','XTqqd','memberCount','快速登录失败\x20','dataPath','update','fileLog','-v2.db','NodeIKernelBuddyListener','onKickedOffLine','isDelete','385mQLSBh','TCnpp','数据库初始化失败','zspmO','NodeIKernelLoginListener','fPvhJ','FPkKc','getNextMemberList','./nt_qq/global','本账号数据/缓存目录:','getBuddyList','result','paxQD','constructor','devUid','dataPathGlobal','_GW_B','没有可快速登录的QQ号','getLoginList','read','16449490wgNKUS','has','forEach','242196XlMddD','mkdirSync','tipsDesc','utJMN','onMemberListChange','UADon','proxyHandler','登录失败','message_received','uQZoW','map','RIqYI','fileLogLevel','curVersion','init','init\x20failed\x20','delete','XcrUY','./NapCat/data','then','getMsgService','快速登录不可用','oSsSl','./.config/QQ','onQRCodeSessionFailed','2598744xIVNKu','RLquL','59356CAeFhN','FwEfx','PjhWY','addKernelBuddyListener','resolve','3njdokL','2244WthxnP','base64','consoleLog','akxZw','TcfKN','push','startNT','Windows\x2010\x20Pro','dPCSW','8037408fIzlGT','onUserLoggedIn','passwordLogin','onQRCodeGetPicture','from','hscxD','BuddyListener','npbYk','getMsgByLongId','undefined','onAddSendMsg','groupMemberList_MainWindow','IpvJM','isQuickLogin','initSession\x20failed','assign','util','QzYIC','getGroupService','addMsg','last_message_time','now','onGroupListUpdate','errMsg','session','vQmox','find','quickLogin','message_sent','getProfileService','packet_sent','Mgfog','initConfig','uin','split','recallTime','KIpgV','GroupListener','140022013','set','stringify','addKernelLoginListener','NykLH','loginListener','onLoginFailed','cpwpr','pngBase64QrcodeData','qgKBH','name','onQRCodeLoginSucceed','MzeYe','zzOGD','Qzvmp'];_0x364f=function(){return _0x19e2c3;};return _0x364f();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x5d015b=_0xf0f4;(function(_0x52e297,_0x2dc4f6){const _0x12f78d=_0xf0f4,_0x2fc6a0=_0x52e297();while(!![]){try{const _0x32294e=-parseInt(_0x12f78d(0xa7))/0x1*(parseInt(_0x12f78d(0x9a))/0x2)+parseInt(_0x12f78d(0x91))/0x3+-parseInt(_0x12f78d(0x85))/0x4+parseInt(_0x12f78d(0xeb))/0x5+-parseInt(_0x12f78d(0xdc))/0x6*(parseInt(_0x12f78d(0xe0))/0x7)+-parseInt(_0x12f78d(0x10b))/0x8+-parseInt(_0x12f78d(0x12f))/0x9*(-parseInt(_0x12f78d(0xe7))/0xa);if(_0x32294e===_0x2dc4f6)break;else _0x2fc6a0['push'](_0x2fc6a0['shift']());}catch(_0x20eda9){_0x2fc6a0['push'](_0x2fc6a0['shift']());}}}(_0x5262,0xa3ba0));import _0x44d006 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x78aee8 from'node:path';import _0x2dd982 from'node:os';import _0x2222dd from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x353f2a from'node:crypto';function _0x5262(){const _0x4c2579=['loginErrorInfo','lWcPk','140022013','replace','kxqcD','LocalLoginInfoList','getBuddyList','onGroupListUpdate','msgId','./nt_qq/global','onAddSendMsg','NodeIKernelProfileListener','EzBoG','ProfileListener','qrLogin','数据库初始化失败','passwordLogin','getMsgByLongId','ZYKVJ','NodeIQQNTWrapperEngine','initSession\x20failed','mkdirSync','JzUCC','find','oKDFT','engine','length','infos','onSelfStatusChanged','clientType','MicPf','onMemberListChange','OJmsG','onSessionInitComplete','constructor','dataPathGlobal','quickLoginWithUin','result','undefined',')已登录,无法重复登录','addKernelBuddyListener','addKernelMsgListener','ZqsPU','addListener','本账号数据/缓存目录:','4709214NFAlWI','data:image/png;base64,','dataPath','onRecvSysMsg','7eMRzHi','quickLogin','then','wGvDc','now','ZglFS','set','4088390OJVUDn','buddyList','forEach','onUserLoggedIn','5589165AKcjaZ','last_message_time','onQRCodeGetPicture','NodeIGlobalAdapter','rvuug','LHGBo','isDelete','onLoginSuccessFuncList','resolve','initDataListener','NodeIKernelBuddyListener','快速登录失败\x20','快速登录不可用','_GW_B','from','getNextMemberList','getQRCodePicture','XxCht','vOtcu','packet_received','YcNwI','HvoFy','uid','read','uin','kYuPW','proxyHandler','delete','[KickedOffLine]\x20[','NodeIKernelLoginListener','jKPxE','stringify','4063496jiKCVG','assign','catch','dFzKa','fileLogLevel','createHash','./.config/QQ','EXIjS','rLVJi','./NapCat/data','addMsg','onRecvMsg','EHBAK','DKmsb','addKernelProfileListener','init','message_received','initSession','getQuickLoginList','devUid','createMemberListScene','message_sent','groupCode','initWithDeskTopConfig','floor','NodeIQQNTWrapperSession','startNT','ncMuN','VRvxf','tipsDesc','Noehd','当前账号(','qlByE','loginService','kYOaL','loginListener','9XzzHcM','onQRCodeSessionFailed','util','base64','xzdFL','klreY','initConfig','VWXuB','onLoginSuccess','启动失败:\x20','-v2.db','SKFTX','kThZB','init\x20failed\x20','curVersion','V1_WIN_NQ_','getProfileService','qrcodeUrl','kEXJw','账号设备(','consoleLogLevel','push','split','groupMemberList_MainWindow','Windows\x2010\x20Pro','fileLog','recallTime','IHKgG','getGroupService','ZCJVr','1152084KMDtCx','ndKHo','pngBase64QrcodeData','ZUJIP',')\x20在线状态变更','gftBj','HdFrH','MrDNo','session','getMsgService','map','digest','2768262xnuMbx','update','getBuddyService','packet_sent','name','tipsTitle','getLoginList','sceneId','obxyo','2JFQiaG','HAqtG','DOwKS','updateMsg','memberCount','ksWGL','onLoginFailed','has','NodeIKernelMsgListener','jOhbc','get','hex','GroupListener','197975RGIitd','DbQmL','homedir','onMemberInfoChange','onKickedOffLine','140022008','\x20has\x20no\x20method\x20','没有可快速登录的QQ号'];_0x5262=function(){return _0x4c2579;};return _0x5262();}import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0xf0f4(_0x5618db,_0x474403){const _0x526285=_0x5262();return _0xf0f4=function(_0xf0f402,_0x4a5c9f){_0xf0f402=_0xf0f402-0x6e;let _0x52424a=_0x526285[_0xf0f402];return _0x52424a;},_0xf0f4(_0x5618db,_0x474403);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x5d015b(0x8d)];['util'];['engine'];[_0x5d015b(0x12e)];[_0x5d015b(0x12c)];[_0x5d015b(0xf2)]=[];[_0x5d015b(0x105)]={'get'(target,prop,receiver){const _0x4ea61a=_0x5d015b,ukOyqG={'EHBAK':function(callee,param1){return callee(param1);},'VRvxf':function(x,y){return x===y;},'dvPYp':_0x4ea61a(0xd5)};if(ukOyqG[_0x4ea61a(0x127)](typeof target[prop],ukOyqG['dvPYp']))return(...args)=>{const _0x66393e=_0x4ea61a;ukOyqG[_0x66393e(0x117)](logDebug,target[_0x66393e(0xd1)][_0x66393e(0x95)]+_0x66393e(0xad)+prop);};return Reflect[_0x4ea61a(0xa4)](target,prop,receiver);}};constructor(){const _0x47d883=_0x5d015b,_0x379a4d={'MyuNz':function(_0x4d660f,_0x1cdaf9){return _0x4d660f(_0x1cdaf9);},'DKmsb':function(_0x580689,_0x26a026){return _0x580689+_0x26a026;},'VWXuB':_0x47d883(0x12a),'YcNwI':_0x47d883(0xd6),'ezcvb':function(_0x517172,_0x311c9e,_0xe83fd0){return _0x517172(_0x311c9e,_0xe83fd0);},'kYOaL':function(_0x467701,_0x12efb3){return _0x467701(_0x12efb3);},'vOtcu':_0x47d883(0x114),'EaxBE':function(_0x394950,_0x4e2b20,_0x36fd4e){return _0x394950(_0x4e2b20,_0x36fd4e);},'Gcovc':_0x47d883(0xdb),'gftBj':function(_0x235862,_0x3c0637,_0x428334){return _0x235862(_0x3c0637,_0x428334);},'DOwKS':function(_0x4f208a,_0xc01b58){return _0x4f208a instanceof _0xc01b58;},'kxqcD':_0x47d883(0xbe),'HvoFy':function(_0x3ba603,_0x1d348a,_0x428527){return _0x3ba603(_0x1d348a,_0x428527);},'LHGBo':'登录失败','xzdFL':function(_0x133038,_0x54ba79){return _0x133038==_0x54ba79;},'jXOTy':function(_0x2d5018,_0x587c2a){return _0x2d5018==_0x587c2a;}};this[_0x47d883(0xc8)]=new _0x44d006[(_0x47d883(0xc2))](),this[_0x47d883(0x131)]=new _0x44d006['NodeQQNTWrapperUtil'](),this[_0x47d883(0x12c)]=new _0x44d006['NodeIKernelLoginService'](),this[_0x47d883(0x8d)]=new _0x44d006[(_0x47d883(0x124))](),this[_0x47d883(0x12e)]=new LoginListener(),this[_0x47d883(0x12e)][_0x47d883(0xea)]=_0x18643e=>{const _0x2ec4d3=_0x47d883;_0x379a4d['MyuNz'](logError,_0x379a4d[_0x2ec4d3(0x118)](_0x379a4d[_0x2ec4d3(0x118)](_0x379a4d[_0x2ec4d3(0x6e)],_0x18643e),_0x379a4d[_0x2ec4d3(0xff)]));},this[_0x47d883(0x12e)]['onQRCodeLoginSucceed']=_0x554cf3=>{const _0x2ae508=_0x47d883,_0x38ae62={'jOhbc':function(_0x13be1e,_0x1276df,_0x411f57){const _0x2aee7d=_0xf0f4;return _0x379a4d[_0x2aee7d(0x8a)](_0x13be1e,_0x1276df,_0x411f57);},'qlByE':function(_0x3154bc,_0x125224){const _0xdcceff=_0xf0f4;return _0x379a4d[_0xdcceff(0x9c)](_0x3154bc,_0x125224);},'tENCV':function(_0x2b2bb9,_0x17a3d3,_0x50a29a){return _0x2b2bb9(_0x17a3d3,_0x50a29a);},'kEXJw':_0x379a4d[_0x2ae508(0xb3)],'MrDNo':function(_0x1feb9f,_0x4275d5,_0x4e4f88){const _0x597b3=_0x2ae508;return _0x379a4d[_0x597b3(0x100)](_0x1feb9f,_0x4275d5,_0x4e4f88);},'XxCht':_0x2ae508(0xc3)};this['initSession'](_0x554cf3[_0x2ae508(0x103)],_0x554cf3[_0x2ae508(0x101)])[_0x2ae508(0xe2)](_0x2fc200=>{const _0x25af64=_0x2ae508;selfInfo[_0x25af64(0x103)]=_0x554cf3[_0x25af64(0x103)],selfInfo[_0x25af64(0x101)]=_0x554cf3[_0x25af64(0x101)],napCatConfig[_0x25af64(0x102)](),_0x379a4d['ezcvb'](setLogLevel,napCatConfig[_0x25af64(0x10f)],napCatConfig[_0x25af64(0x7b)]),_0x379a4d[_0x25af64(0x12d)](enableFileLog,napCatConfig[_0x25af64(0x80)]),enableConsoleLog(napCatConfig['consoleLog']),_0x379a4d['kYOaL'](setLogSelfInfo,selfInfo);const _0xba2d0e=_0x78aee8[_0x25af64(0xf3)](this[_0x25af64(0xde)],_0x379a4d[_0x25af64(0xfd)]);_0x2222dd[_0x25af64(0xc4)](_0xba2d0e,{'recursive':!![]}),_0x379a4d['EaxBE'](logDebug,_0x379a4d['Gcovc'],_0xba2d0e),dbUtil['init'](_0x78aee8[_0x25af64(0xf3)](_0xba2d0e,'./'+_0x554cf3[_0x25af64(0x103)]+_0x25af64(0x71)))[_0x25af64(0xe2)](()=>{const _0x16f502=_0x25af64,_0x4b74ba={'biyQX':function(_0x3db5fa,_0x2c60a6,_0x11fd22){const _0xfa8489=_0xf0f4;return _0x38ae62[_0xfa8489(0xa3)](_0x3db5fa,_0x2c60a6,_0x11fd22);},'ZYKVJ':function(_0x81c0da,_0x420965){const _0x30c43d=_0xf0f4;return _0x38ae62[_0x30c43d(0x12b)](_0x81c0da,_0x420965);}};this[_0x16f502(0xf4)](),this[_0x16f502(0xf2)][_0x16f502(0x8f)](_0x207310=>{const _0x2f025f=_0x16f502;new Promise((_0x156a99,_0x1522ad)=>{const _0x57b128=_0xf0f4,_0x3b6ce3=_0x4b74ba['biyQX'](_0x207310,_0x554cf3[_0x57b128(0x103)],_0x554cf3[_0x57b128(0x101)]);_0x4b74ba[_0x57b128(0xc1)](_0x3b6ce3,Promise)&&_0x3b6ce3[_0x57b128(0xe2)](_0x156a99)[_0x57b128(0x10d)](_0x1522ad);})[_0x2f025f(0xe2)]();});})[_0x25af64(0x10d)](_0x46e95d=>{const _0x1ddeea=_0x25af64;_0x38ae62['tENCV'](logError,_0x38ae62[_0x1ddeea(0x79)],_0x46e95d);});})[_0x2ae508(0x10d)](_0x2eac45=>{const _0x59657d=_0x2ae508;_0x38ae62[_0x59657d(0x8c)](logError,_0x38ae62[_0x59657d(0xfc)],_0x2eac45);throw new Error(_0x59657d(0x70)+JSON[_0x59657d(0x10a)](_0x2eac45));});},this[_0x47d883(0x12e)][_0x47d883(0x130)]=(_0x87f230,_0x37f1d4,_0x3a2c34)=>{const _0x53a182=_0x47d883;_0x379a4d[_0x53a182(0x8a)](logError,_0x379a4d['LHGBo'],_0x3a2c34),_0x379a4d[_0x53a182(0x133)](_0x87f230,0x1)&&_0x379a4d['jXOTy'](_0x37f1d4,0x3)&&this[_0x53a182(0x12c)][_0x53a182(0xfb)]();},this['loginListener'][_0x47d883(0xa0)]=_0xce1163=>{const _0x33de83=_0x47d883;_0x379a4d[_0x33de83(0x100)](logError,_0x379a4d[_0x33de83(0xf0)],_0xce1163);},this[_0x47d883(0x12e)]=new Proxy(this[_0x47d883(0x12e)],this[_0x47d883(0x105)]),this[_0x47d883(0x12c)]['addKernelLoginListener'](new _0x44d006[(_0x47d883(0x108))](this[_0x47d883(0x12e)])),this['initConfig']();}get['dataPath'](){const _0x5a8d9b=_0x5d015b,_0x58eb7e={'eFrjS':_0x5a8d9b(0x111)};let _0x4c5b53=this[_0x5a8d9b(0x131)]['getNTUserDataInfoConfig']();return!_0x4c5b53&&(_0x4c5b53=_0x78aee8[_0x5a8d9b(0xf3)](_0x2dd982[_0x5a8d9b(0xa9)](),_0x58eb7e['eFrjS']),_0x2222dd[_0x5a8d9b(0xc4)](_0x4c5b53,{'recursive':!![]})),_0x4c5b53;}get[_0x5d015b(0xd2)](){const _0x18cde1=_0x5d015b,_0x384c81={'Nyjhw':_0x18cde1(0xb8)};return _0x78aee8[_0x18cde1(0xf3)](this[_0x18cde1(0xde)],_0x384c81['Nyjhw']);}[_0x5d015b(0x135)](){const _0x4d84ab=_0x5d015b,_0x570df4={'OJmsG':_0x4d84ab(0x7f)};this[_0x4d84ab(0xc8)][_0x4d84ab(0x122)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x4d84ab(0x75)],'os_version':_0x570df4[_0x4d84ab(0xcf)],'use_xlog':!![],'qua':_0x4d84ab(0x76)+qqVersionConfigInfo[_0x4d84ab(0x75)][_0x4d84ab(0xb2)]('-','_')+_0x4d84ab(0xf8),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x44d006[(_0x4d84ab(0xee))](new GlobalAdapter())),this['loginService'][_0x4d84ab(0x135)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x4d84ab(0xd2)],'clientVer':qqVersionConfigInfo[_0x4d84ab(0x75)],'hostName':hostname});}[_0x5d015b(0x11c)](_0xfe8efd,_0x188880){const _0x30c84f=_0x5d015b,_0x2ff3b4={'EXIjS':function(_0x5f85c3,_0x502981){return _0x5f85c3(_0x502981);},'SKFTX':function(_0x52c962,_0x155a78,_0x1c37fd,_0xe1d183){return _0x52c962(_0x155a78,_0x1c37fd,_0xe1d183);},'dFzKa':function(_0x54e782,_0x403984){return _0x54e782+_0x403984;},'HdFrH':_0x30c84f(0x74)};return new Promise(async(_0x562b37,_0x51e200)=>{const _0x3a7b25=_0x30c84f,_0x5048be=await _0x2ff3b4[_0x3a7b25(0x72)](genSessionConfig,_0xfe8efd,_0x188880,this[_0x3a7b25(0xde)]),_0x4b7746=new SessionListener();_0x4b7746[_0x3a7b25(0xd0)]=_0xbc53f4=>{const _0x57fc2c=_0x3a7b25;if(_0xbc53f4===0x0)return _0x2ff3b4[_0x57fc2c(0x112)](_0x562b37,0x0);_0x2ff3b4[_0x57fc2c(0x112)](_0x51e200,_0xbc53f4);},this[_0x3a7b25(0x8d)][_0x3a7b25(0x11a)](_0x5048be,new _0x44d006['NodeIDependsAdapter'](new DependsAdapter()),new _0x44d006['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x44d006['NodeIKernelSessionListener'](_0x4b7746));try{this[_0x3a7b25(0x8d)][_0x3a7b25(0x125)](0x0);}catch(_0x3a6904){try{this[_0x3a7b25(0x8d)][_0x3a7b25(0x125)]();}catch(_0x27ca23){_0x2ff3b4[_0x3a7b25(0x112)](_0x51e200,_0x2ff3b4[_0x3a7b25(0x10e)](_0x2ff3b4[_0x3a7b25(0x8b)],_0x27ca23));}}});}[_0x5d015b(0xf4)](){const _0xf91016=_0x5d015b,_0x18b053={'DbQmL':function(_0x301ee2,_0x14af94){return _0x301ee2===_0x14af94;},'IHKgG':function(_0x299ef1,_0x2de93a){return _0x299ef1(_0x2de93a);},'klreY':function(_0x2ebc24,_0x3231bf){return _0x2ebc24+_0x3231bf;},'MicPf':function(_0x21c1e5,_0x992ee4){return _0x21c1e5+_0x992ee4;},'lWcPk':_0xf91016(0x7a),'oKDFT':_0xf91016(0x89),'ZqsPU':function(_0x55eb1a,_0x36c506){return _0x55eb1a+_0x36c506;},'wGvDc':function(_0x6d50e,_0x3289f7){return _0x6d50e+_0x3289f7;},'jKPxE':_0xf91016(0x107),'ZCJVr':function(_0x5bd983,_0x1a680e){return _0x5bd983===_0x1a680e;},'ksWGL':function(_0x7913b8,_0x1d5c76){return _0x7913b8/_0x1d5c76;}},_0x37719e=new MsgListener();_0x37719e['onLineDev']=_0x52f1b4=>{_0x52f1b4['map'](_0xb86d7f=>{const _0x1cd868=_0xf0f4;_0x18b053[_0x1cd868(0xa8)](_0xb86d7f[_0x1cd868(0xcc)],0x2)&&_0x18b053['IHKgG'](log,_0x18b053[_0x1cd868(0x134)](_0x18b053[_0x1cd868(0xcd)](_0x18b053[_0x1cd868(0xb0)],_0xb86d7f[_0x1cd868(0x11e)]),_0x18b053[_0x1cd868(0xc7)]));});},_0x37719e[_0xf91016(0xab)]=_0x35e162=>{const _0x17af3a=_0xf91016;_0x18b053[_0x17af3a(0x82)](log,_0x18b053[_0x17af3a(0xd9)](_0x18b053[_0x17af3a(0xe3)](_0x18b053[_0x17af3a(0x109)]+_0x35e162[_0x17af3a(0x96)],']\x20'),_0x35e162[_0x17af3a(0x128)]));},_0x37719e['onMsgInfoListUpdate']=_0xad7f2c=>{const _0x542b8e=_0xf91016;stat[_0x542b8e(0xfe)]+=0x1,_0xad7f2c[_0x542b8e(0x8f)](_0xa8fce3=>{const _0x14cc09=_0x542b8e;_0x18b053[_0x14cc09(0x84)](_0xa8fce3[_0x14cc09(0x81)],'0')?dbUtil[_0x14cc09(0x115)](_0xa8fce3)[_0x14cc09(0xe2)]()[_0x14cc09(0x10d)]():dbUtil[_0x14cc09(0xc0)](_0xa8fce3[_0x14cc09(0xb7)])['then'](_0x3ea3c2=>{const _0x32a333=_0x14cc09;_0x3ea3c2&&(_0x3ea3c2[_0x32a333(0x81)]=_0xa8fce3[_0x32a333(0x81)],dbUtil[_0x32a333(0x9d)](_0x3ea3c2)[_0x32a333(0xe2)]());});});},_0x37719e[_0xf91016(0xb9)]=_0xc10826=>{const _0x9c2abb=_0xf91016;stat[_0x9c2abb(0x94)]+=0x1,stat[_0x9c2abb(0x120)]+=0x1,stat[_0x9c2abb(0xec)]=Math[_0x9c2abb(0x123)](Date[_0x9c2abb(0xe4)]()/0x3e8);},_0x37719e[_0xf91016(0x116)]=_0x22de29=>{const _0x14c6cc=_0xf91016;stat['packet_received']+=0x1,stat[_0x14c6cc(0x11b)]+=_0x22de29[_0x14c6cc(0xc9)],stat[_0x14c6cc(0xec)]=Math['floor'](_0x18b053[_0x14c6cc(0x9f)](Date[_0x14c6cc(0xe4)](),0x3e8));},_0x37719e[_0xf91016(0xdf)]=(..._0x1ccce5)=>{const _0x187067=_0xf91016;stat[_0x187067(0xfe)]+=0x1;},this[_0xf91016(0xda)](_0x37719e);const _0x46dbbb=new BuddyListener();_0x46dbbb['onBuddyListChange']=_0x16393b=>{const _0x580e74=_0xf91016;rawFriends[_0x580e74(0xc9)]=0x0,rawFriends[_0x580e74(0x7c)](..._0x16393b);for(const _0x290dc5 of _0x16393b){for(const _0x381e96 of _0x290dc5[_0x580e74(0xe8)]){const _0x3b4f7b=friends[_0x580e74(0xa4)](_0x381e96[_0x580e74(0x101)]);_0x3b4f7b?Object['assign'](_0x3b4f7b,_0x381e96):friends[_0x580e74(0xe6)](_0x381e96[_0x580e74(0x101)],_0x381e96);}}},this[_0xf91016(0xda)](_0x46dbbb),this[_0xf91016(0x8d)][_0xf91016(0x93)]()[_0xf91016(0xb5)](!![])[_0xf91016(0xe2)](_0x48cfce=>{});const _0xdb13a1=new ProfileListener();_0xdb13a1['onProfileDetailInfoChanged']=_0x373971=>{const _0x2f70d8=_0xf91016;_0x18b053[_0x2f70d8(0xa8)](_0x373971[_0x2f70d8(0x101)],selfInfo[_0x2f70d8(0x101)])&&Object[_0x2f70d8(0x10c)](selfInfo,_0x373971);},_0xdb13a1[_0xf91016(0xcb)]=_0x54a22d=>{},this[_0xf91016(0xda)](_0xdb13a1);const _0x410124=new GroupListener();_0x410124[_0xf91016(0xb6)]=(_0x4bfdeb,_0x3032b4)=>{const _0x17a45f=_0xf91016;_0x3032b4[_0x17a45f(0x8f)](_0x2d28fb=>{const _0x172578=_0x17a45f,_0xe8ea6b=groups[_0x172578(0xa4)](_0x2d28fb['groupCode']);_0xe8ea6b&&_0x2d28fb['memberCount']===_0xe8ea6b[_0x172578(0x9e)]?Object[_0x172578(0x10c)](_0xe8ea6b,_0x2d28fb):groups[_0x172578(0xe6)](_0x2d28fb[_0x172578(0x121)],_0x2d28fb);const _0x1f65e9=this['session'][_0x172578(0x83)]()[_0x172578(0x11f)](_0x2d28fb['groupCode'],_0x172578(0x7e));this[_0x172578(0x8d)][_0x172578(0x83)]()[_0x172578(0xfa)](_0x1f65e9,undefined,0xbb8)[_0x172578(0xe2)](_0x3ec57e=>{});});},_0x410124[_0xf91016(0xce)]=_0x892edd=>{const _0x3e0547=_0xf91016,_0x17c24d=_0x892edd[_0x3e0547(0x98)][_0x3e0547(0x7d)]('_')[0x0];if(groupMembers[_0x3e0547(0xa1)](_0x17c24d)){const _0xde4214=groupMembers[_0x3e0547(0xa4)](_0x17c24d);_0x892edd[_0x3e0547(0xca)][_0x3e0547(0xe9)]((_0x4891d9,_0x397209)=>{const _0x4b54a9=_0x3e0547,_0x11bb48=_0xde4214[_0x4b54a9(0xa4)](_0x397209);_0x11bb48?Object[_0x4b54a9(0x10c)](_0x11bb48,_0x4891d9):_0xde4214[_0x4b54a9(0xe6)](_0x397209,_0x4891d9);});}else groupMembers[_0x3e0547(0xe6)](_0x17c24d,_0x892edd[_0x3e0547(0xca)]);},_0x410124[_0xf91016(0xaa)]=(_0x40146f,_0x54b269,_0x3bcd69)=>{const _0x26dca4=_0xf91016;_0x18b053[_0x26dca4(0x84)](_0x54b269,0x0)&&_0x3bcd69['get'](selfInfo['uid'])&&_0x3bcd69['get'](selfInfo[_0x26dca4(0x101)])?.[_0x26dca4(0xf1)]&&setTimeout(()=>{const _0x10d15=_0x26dca4;groups[_0x10d15(0x106)](_0x40146f);},0x1388);const _0x2437f3=groupMembers[_0x26dca4(0xa4)](_0x40146f);_0x2437f3?_0x3bcd69[_0x26dca4(0xe9)]((_0xd4ce,_0x310bd7)=>{const _0x16f0e0=_0x26dca4,_0x127c71=_0x2437f3[_0x16f0e0(0xa4)](_0x310bd7);_0x127c71?Object[_0x16f0e0(0x10c)](_0x127c71,_0xd4ce):_0x2437f3[_0x16f0e0(0xe6)](_0x310bd7,_0xd4ce);}):groupMembers[_0x26dca4(0xe6)](_0x40146f,_0x3bcd69);},this[_0xf91016(0xda)](_0x410124);}[_0x5d015b(0xda)](_0x342227){const _0x15ca09=_0x5d015b,_0x5e7caf={'yxsUm':'BuddyListener','JzUCC':_0x15ca09(0xa6),'Noehd':'MsgListener','kYuPW':_0x15ca09(0xbc)};_0x342227=new Proxy(_0x342227,this[_0x15ca09(0x105)]);switch(_0x342227[_0x15ca09(0xd1)][_0x15ca09(0x95)]){case _0x5e7caf['yxsUm']:{return this[_0x15ca09(0x8d)][_0x15ca09(0x93)]()[_0x15ca09(0xd7)](new _0x44d006[(_0x15ca09(0xf5))](_0x342227));}case _0x5e7caf[_0x15ca09(0xc5)]:{return this[_0x15ca09(0x8d)]['getGroupService']()['addKernelGroupListener'](new _0x44d006['NodeIKernelGroupListener'](_0x342227));}case _0x5e7caf[_0x15ca09(0x129)]:{return this[_0x15ca09(0x8d)][_0x15ca09(0x8e)]()[_0x15ca09(0xd8)](new _0x44d006[(_0x15ca09(0xa2))](_0x342227));}case _0x5e7caf[_0x15ca09(0x104)]:{return this['session'][_0x15ca09(0x77)]()[_0x15ca09(0x119)](new _0x44d006[(_0x15ca09(0xba))](_0x342227));}default:return-0x1;}}[_0x5d015b(0x6f)](_0x3120ec){const _0x5b573a=_0x5d015b;NTEventDispatch['init']({'ListenerMap':_0x44d006,'WrapperSession':this[_0x5b573a(0x8d)]}),this[_0x5b573a(0xf2)][_0x5b573a(0x7c)](_0x3120ec);}async[_0x5d015b(0xe1)](_0xfd1267){const _0x42c2ca=_0x5d015b,_0x16dea1={'APEds':function(_0x2b5a07,_0xa939){return _0x2b5a07!==_0xa939;},'rvuug':function(_0x1e383f,_0x5f1591){return _0x1e383f(_0x5f1591);}},_0x8d6aa2=await this[_0x42c2ca(0x12c)][_0x42c2ca(0x97)]();if(_0x16dea1['APEds'](_0x8d6aa2['result'],0x0))throw new Error(_0x42c2ca(0xae));const _0x51c8e8=_0x8d6aa2[_0x42c2ca(0xb4)][_0x42c2ca(0xc6)](_0x19910e=>_0x19910e['uin']===_0xfd1267);if(!_0x51c8e8||!_0x51c8e8?.['isQuickLogin'])throw new Error(_0xfd1267+_0x42c2ca(0xf7));await _0x16dea1[_0x42c2ca(0xef)](sleep,0x3e8);const _0x33d80e=await this[_0x42c2ca(0x12c)][_0x42c2ca(0xd3)](_0xfd1267);if(!_0x33d80e[_0x42c2ca(0xd4)])throw new Error(_0x42c2ca(0xf6)+_0x33d80e[_0x42c2ca(0xaf)]['errMsg']);return _0x33d80e;}async[_0x5d015b(0xbd)](_0x19d29c){const _0x3be9c7=_0x5d015b,_0x192641={'kThZB':_0x3be9c7(0xdd),'ncMuN':_0x3be9c7(0x132),'Civwh':function(_0xa1c387,_0x198a1e,_0xef50d1,_0x2515cf){return _0xa1c387(_0x198a1e,_0xef50d1,_0x2515cf);}};return new Promise((_0x4b2173,_0x494905)=>{const _0x4f14d9=_0x3be9c7;this[_0x4f14d9(0x12e)][_0x4f14d9(0xed)]=_0x12542c=>{const _0x17c0ed=_0x4f14d9,_0x173bc7=_0x12542c['pngBase64QrcodeData'][_0x17c0ed(0x7d)](_0x192641[_0x17c0ed(0x73)])[0x1],_0x568265=Buffer[_0x17c0ed(0xf9)](_0x173bc7,_0x192641[_0x17c0ed(0x126)]);_0x192641['Civwh'](_0x19d29c,_0x12542c[_0x17c0ed(0x78)],_0x12542c[_0x17c0ed(0x87)],_0x568265);},this[_0x4f14d9(0x12c)]['getQRCodePicture']();});}async[_0x5d015b(0xbf)](_0xa13d31,_0x47020b,_0x73edd4,_0x3ffcf9,_0x12a22b){const _0x1f20d3=_0x5d015b,_0x3f02a={'HAqtG':'md5','rLVJi':_0x1f20d3(0xa5),'ndKHo':function(_0x1af139,_0x543735){return _0x1af139&&_0x543735;},'GwFSh':function(_0x45ae88,_0x309093){return _0x45ae88||_0x309093;},'obxyo':function(_0x2cb647,_0xc9fc25){return _0x2cb647||_0xc9fc25;},'yOGrz':function(_0x274e0f,_0x22a0b2){return _0x274e0f||_0x22a0b2;},'EzBoG':function(_0x3b6eab,_0x5556f0){return _0x3b6eab(_0x5556f0);},'ZUJIP':_0x1f20d3(0xac),'ZglFS':_0x1f20d3(0xb1)},_0x53b727=_0x353f2a[_0x1f20d3(0x110)](_0x3f02a[_0x1f20d3(0x9b)])[_0x1f20d3(0x92)](_0x47020b)[_0x1f20d3(0x90)](_0x3f02a[_0x1f20d3(0x113)]),_0x3b9af4={'uin':_0xa13d31,'passwordMd5':_0x53b727,'step':_0x3f02a[_0x1f20d3(0x86)](_0x73edd4,_0x3ffcf9)&&_0x12a22b?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x3f02a['GwFSh'](_0x73edd4,''),'proofWaterRand':_0x3f02a[_0x1f20d3(0x99)](_0x3ffcf9,''),'proofWaterSid':_0x3f02a['yOGrz'](_0x12a22b,'')};await this[_0x1f20d3(0x12c)][_0x1f20d3(0x97)](),await _0x3f02a[_0x1f20d3(0xbb)](sleep,0x3e8);const _0x5b76ad=await this['loginService'][_0x1f20d3(0xbf)](_0x3b9af4);switch(_0x5b76ad[_0x1f20d3(0xd4)]){case'0':{break;}case _0x3f02a[_0x1f20d3(0x88)]:{break;}case'4':case _0x3f02a[_0x1f20d3(0xe5)]:default:}}async[_0x5d015b(0x11d)](){const _0x57fea2=_0x5d015b,_0x3a18ef=await this[_0x57fea2(0x12c)][_0x57fea2(0x97)]();return _0x3a18ef;}}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 299a9263..ecd6c8c2 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x58922d=_0x3f95;(function(_0xc4ad09,_0x587a1c){const _0x300b2=_0x3f95,_0x506817=_0xc4ad09();while(!![]){try{const _0x4b699e=-parseInt(_0x300b2(0xf1))/0x1+parseInt(_0x300b2(0xeb))/0x2+-parseInt(_0x300b2(0xe4))/0x3+parseInt(_0x300b2(0xec))/0x4*(parseInt(_0x300b2(0xf6))/0x5)+parseInt(_0x300b2(0xe0))/0x6*(-parseInt(_0x300b2(0xf4))/0x7)+parseInt(_0x300b2(0xed))/0x8*(parseInt(_0x300b2(0xf3))/0x9)+-parseInt(_0x300b2(0xe5))/0xa*(-parseInt(_0x300b2(0xdf))/0xb);if(_0x4b699e===_0x587a1c)break;else _0x506817['push'](_0x506817['shift']());}catch(_0x2dac91){_0x506817['push'](_0x506817['shift']());}}}(_0x4e8e,0xa03ab));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(_0xe42886){const _0x3e6b5f=_0x3f95;groups[_0x3e6b5f(0xea)](_0xe42886),groupMembers[_0x3e6b5f(0xea)](_0xe42886);}export const groupMembers=new Map();function _0x4e8e(){const _0x492778=['3617943LtynoE','484560RumVzn','from','find','groupCode','toString','delete','986450OQGaTP','819160xfDnFV','16LcqccN','getGroupMembers','values','set','254385xVNxOk','XyAuy','2583693TniAip','82369BBFvIi','length','10gOWaYa','GNdmk','uin','407bTTdUz','588sUUJcB','get','NapCat未能正常启动,请检查日志查看错误','forEach'];_0x4e8e=function(){return _0x492778;};return _0x4e8e();}export const friends=new Map();export const friendRequests={};function _0x3f95(_0x459f17,_0x3fce6a){const _0x4e8ed7=_0x4e8e();return _0x3f95=function(_0x3f95cf,_0x2c5da0){_0x3f95cf=_0x3f95cf-0xde;let _0x22c6cd=_0x4e8ed7[_0x3f95cf];return _0x22c6cd;},_0x3f95(_0x459f17,_0x3fce6a);}export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x58922d(0xe2)};export async function getFriend(_0x5b79b4){const _0x1b562f=_0x58922d,_0x4b9891={'GNdmk':function(_0xd972c3,_0x1b4a22){return _0xd972c3(_0x1b4a22);}};_0x5b79b4=_0x5b79b4[_0x1b562f(0xe9)]();if(_0x4b9891[_0x1b562f(0xf7)](isNumeric,_0x5b79b4)){const _0x5019be=Array[_0x1b562f(0xe6)](friends[_0x1b562f(0xef)]());return _0x5019be[_0x1b562f(0xe7)](_0xa1f8a4=>_0xa1f8a4[_0x1b562f(0xde)]===_0x5b79b4);}else return friends[_0x1b562f(0xe1)](_0x5b79b4);}export async function getGroup(_0x36e971){const _0x3b9e0a=_0x58922d;let _0x1d3a7b=groups[_0x3b9e0a(0xe1)](_0x36e971['toString']());if(!_0x1d3a7b)try{const _0x139915=await NTQQGroupApi['getGroups']();_0x139915[_0x3b9e0a(0xf5)]&&_0x139915[_0x3b9e0a(0xe3)](_0x3c59c7=>{const _0x1a0631=_0x3b9e0a;groups[_0x1a0631(0xf0)](_0x3c59c7[_0x1a0631(0xe8)],_0x3c59c7);});}catch(_0x403b96){return undefined;}return _0x1d3a7b=groups[_0x3b9e0a(0xe1)](_0x36e971['toString']()),_0x1d3a7b;}export async function getGroupMember(_0x2605c5,_0x3446de){const _0x160a7f=_0x58922d,_0x4d5f74={'XyAuy':function(_0x24ac41,_0x166194){return _0x24ac41(_0x166194);},'nfwGW':function(_0x742364){return _0x742364();},'UBzQc':function(_0x5d94e0){return _0x5d94e0();}};_0x2605c5=_0x2605c5[_0x160a7f(0xe9)](),_0x3446de=_0x3446de[_0x160a7f(0xe9)]();let _0x48a71c=groupMembers[_0x160a7f(0xe1)](_0x2605c5);if(!_0x48a71c)try{_0x48a71c=await NTQQGroupApi[_0x160a7f(0xee)](_0x2605c5),groupMembers['set'](_0x2605c5,_0x48a71c);}catch(_0x1bc42a){return null;}const _0xacbe14=()=>{const _0x524672=_0x160a7f;let _0x4e707c=undefined;return _0x4d5f74[_0x524672(0xf2)](isNumeric,_0x3446de)?_0x4e707c=Array[_0x524672(0xe6)](_0x48a71c[_0x524672(0xef)]())['find'](_0x5b7af2=>_0x5b7af2[_0x524672(0xde)]===_0x3446de):_0x4e707c=_0x48a71c['get'](_0x3446de),_0x4e707c;};let _0x120616=_0x4d5f74['nfwGW'](_0xacbe14);return!_0x120616&&(_0x48a71c=await NTQQGroupApi['getGroupMembers'](_0x2605c5),_0x120616=_0x4d5f74['UBzQc'](_0xacbe14)),_0x120616;}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 _0x90c644=_0x123d;(function(_0x3940bb,_0x51ad79){const _0x5a003e=_0x123d,_0x54f0bb=_0x3940bb();while(!![]){try{const _0x597c8b=parseInt(_0x5a003e(0xf8))/0x1+parseInt(_0x5a003e(0xfd))/0x2*(-parseInt(_0x5a003e(0xf1))/0x3)+-parseInt(_0x5a003e(0x105))/0x4*(-parseInt(_0x5a003e(0xfb))/0x5)+-parseInt(_0x5a003e(0xf7))/0x6*(-parseInt(_0x5a003e(0x106))/0x7)+parseInt(_0x5a003e(0x103))/0x8+parseInt(_0x5a003e(0xf6))/0x9+-parseInt(_0x5a003e(0x101))/0xa;if(_0x597c8b===_0x51ad79)break;else _0x54f0bb['push'](_0x54f0bb['shift']());}catch(_0x167d3c){_0x54f0bb['push'](_0x54f0bb['shift']());}}}(_0x246b,0x71229));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(_0x3dca23){const _0x8784a9=_0x123d;groups[_0x8784a9(0xf4)](_0x3dca23),groupMembers[_0x8784a9(0xf4)](_0x3dca23);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x90c644(0xf9)};export async function getFriend(_0x4df720){const _0x1931c8=_0x90c644,_0x4b86d8={'RgFrX':function(_0x123db4,_0x2216ae){return _0x123db4(_0x2216ae);}};_0x4df720=_0x4df720[_0x1931c8(0xff)]();if(_0x4b86d8[_0x1931c8(0x108)](isNumeric,_0x4df720)){const _0x2de032=Array[_0x1931c8(0x100)](friends[_0x1931c8(0x102)]());return _0x2de032['find'](_0xc7230e=>_0xc7230e[_0x1931c8(0xfa)]===_0x4df720);}else return friends[_0x1931c8(0xf0)](_0x4df720);}export async function getGroup(_0x27e68a){const _0x460266=_0x90c644;let _0x22521a=groups[_0x460266(0xf0)](_0x27e68a[_0x460266(0xff)]());if(!_0x22521a)try{const _0x3d52c6=await NTQQGroupApi[_0x460266(0xf5)]();_0x3d52c6['length']&&_0x3d52c6[_0x460266(0xfc)](_0x292473=>{const _0x3b68f1=_0x460266;groups[_0x3b68f1(0x109)](_0x292473[_0x3b68f1(0x107)],_0x292473);});}catch(_0x449a41){return undefined;}return _0x22521a=groups['get'](_0x27e68a[_0x460266(0xff)]()),_0x22521a;}function _0x123d(_0xd7768c,_0x37ef4b){const _0x246b7c=_0x246b();return _0x123d=function(_0x123d56,_0x3b527f){_0x123d56=_0x123d56-0xf0;let _0x3fe38a=_0x246b7c[_0x123d56];return _0x3fe38a;},_0x123d(_0xd7768c,_0x37ef4b);}function _0x246b(){const _0x1bd0f3=['get','9SMTtDy','getGroupMembers','bOSxo','delete','getGroups','5206401anodZZ','2574uhYjfn','277XtWdDB','NapCat未能正常启动,请检查日志查看错误','uin','847385flKNhp','forEach','116462BkuBux','OzWpi','toString','from','12369090LFYdWO','values','2650448wUauQe','find','20Lzbyyv','1918gIFIYs','groupCode','RgFrX','set'];_0x246b=function(){return _0x1bd0f3;};return _0x246b();}export async function getGroupMember(_0x5284d9,_0x20e5c9){const _0x26cdcb=_0x90c644,_0x16274e={'bOSxo':function(_0x4572f5,_0x38831a){return _0x4572f5(_0x38831a);},'xiQEB':function(_0x38e3f6){return _0x38e3f6();},'OzWpi':function(_0x22e0b7){return _0x22e0b7();}};_0x5284d9=_0x5284d9[_0x26cdcb(0xff)](),_0x20e5c9=_0x20e5c9[_0x26cdcb(0xff)]();let _0x3b7e1b=groupMembers[_0x26cdcb(0xf0)](_0x5284d9);if(!_0x3b7e1b)try{_0x3b7e1b=await NTQQGroupApi['getGroupMembers'](_0x5284d9),groupMembers[_0x26cdcb(0x109)](_0x5284d9,_0x3b7e1b);}catch(_0x2803ee){return null;}const _0x1596e7=()=>{const _0x2686cd=_0x26cdcb;let _0x435364=undefined;return _0x16274e[_0x2686cd(0xf3)](isNumeric,_0x20e5c9)?_0x435364=Array['from'](_0x3b7e1b['values']())[_0x2686cd(0x104)](_0x1de9f3=>_0x1de9f3['uin']===_0x20e5c9):_0x435364=_0x3b7e1b['get'](_0x20e5c9),_0x435364;};let _0x477a8f=_0x16274e['xiQEB'](_0x1596e7);return!_0x477a8f&&(_0x3b7e1b=await NTQQGroupApi[_0x26cdcb(0xf2)](_0x5284d9),_0x477a8f=_0x16274e[_0x26cdcb(0xfe)](_0x1596e7)),_0x477a8f;}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 946846bc..a77efe82 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x28f7cb,_0x24f086){var _0x44a489=_0x2d3f,_0x5f44dc=_0x28f7cb();while(!![]){try{var _0x1d461c=parseInt(_0x44a489(0x121))/0x1+-parseInt(_0x44a489(0x12c))/0x2*(-parseInt(_0x44a489(0x11c))/0x3)+parseInt(_0x44a489(0x11d))/0x4+-parseInt(_0x44a489(0x125))/0x5*(parseInt(_0x44a489(0x11a))/0x6)+-parseInt(_0x44a489(0x11b))/0x7*(parseInt(_0x44a489(0x11e))/0x8)+-parseInt(_0x44a489(0x124))/0x9*(-parseInt(_0x44a489(0x122))/0xa)+-parseInt(_0x44a489(0x128))/0xb;if(_0x1d461c===_0x24f086)break;else _0x5f44dc['push'](_0x5f44dc['shift']());}catch(_0x2067c2){_0x5f44dc['push'](_0x5f44dc['shift']());}}}(_0x4639,0xa6b66));function _0x2d3f(_0x333a8c,_0xa69eb5){var _0x46395b=_0x4639();return _0x2d3f=function(_0x2d3f65,_0xaefd32){_0x2d3f65=_0x2d3f65-0x11a;var _0x66cfe5=_0x46395b[_0x2d3f65];return _0x66cfe5;},_0x2d3f(_0x333a8c,_0xa69eb5);}function _0x4639(){var _0x2216e3=['dtjAw','3888711XhhWCI','210225CYnmTy','DOCUMENT','gzCmc','10063053ixdQop','4|2|3|1|0','azktW','AUDIO','315014JBXpVC','split','IMAGE','6mStrQM','7XqyROE','9LsXauj','1370872NuYvkF','2916312yIKCcf','OTHER','hrnvd','756943vHPyUL','10TFAcEG'];_0x4639=function(){return _0x2216e3;};return _0x4639();};export var CacheFileType;(function(_0x1f0896){var _0x4a9d4f=_0x2d3f,_0x29831a={'azktW':_0x4a9d4f(0x11f),'gzCmc':_0x4a9d4f(0x126),'hrnvd':'VIDEO','dtjAw':_0x4a9d4f(0x12b),'szPxT':_0x4a9d4f(0x12e)},_0x454571=_0x4a9d4f(0x129)[_0x4a9d4f(0x12d)]('|'),_0x23f20b=0x0;while(!![]){switch(_0x454571[_0x23f20b++]){case'0':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x12a)]]=0x4]=_0x4a9d4f(0x11f);continue;case'1':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x127)]]=0x3]=_0x29831a['gzCmc'];continue;case'2':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x120)]]=0x1]=_0x29831a['hrnvd'];continue;case'3':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x123)]]=0x2]=_0x29831a['dtjAw'];continue;case'4':_0x1f0896[_0x1f0896[_0x4a9d4f(0x12e)]=0x0]=_0x29831a['szPxT'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x571cd6,_0x4f3711){var _0x45c8cc=_0x5742,_0x10d69f=_0x571cd6();while(!![]){try{var _0x1a8798=-parseInt(_0x45c8cc(0xe3))/0x1+-parseInt(_0x45c8cc(0xea))/0x2*(parseInt(_0x45c8cc(0xe7))/0x3)+-parseInt(_0x45c8cc(0xec))/0x4*(-parseInt(_0x45c8cc(0xed))/0x5)+-parseInt(_0x45c8cc(0xf4))/0x6*(-parseInt(_0x45c8cc(0xe4))/0x7)+-parseInt(_0x45c8cc(0xf0))/0x8*(-parseInt(_0x45c8cc(0xee))/0x9)+-parseInt(_0x45c8cc(0xe2))/0xa+parseInt(_0x45c8cc(0xeb))/0xb;if(_0x1a8798===_0x4f3711)break;else _0x10d69f['push'](_0x10d69f['shift']());}catch(_0x5d8ca3){_0x10d69f['push'](_0x10d69f['shift']());}}}(_0x2279,0x3dab5));;export var CacheFileType;function _0x2279(){var _0x559982=['7VpxAZi','SOvfy','split','24675MRwhKn','VIDEO','FYODZ','14zOysSk','663388bHWuoO','8236KdZOhb','205FdyzIS','54nOJghj','DOCUMENT','49880rPqXTH','IMAGE','AUDIO','LUehk','2958198IiuVkN','lOqHC','OTHER','DgAml','3035560wRNTYR','61442IePxgt'];_0x2279=function(){return _0x559982;};return _0x2279();}function _0x5742(_0x550f0d,_0x4125a3){var _0x2279de=_0x2279();return _0x5742=function(_0x574215,_0x55e309){_0x574215=_0x574215-0xe1;var _0x5a0360=_0x2279de[_0x574215];return _0x5a0360;},_0x5742(_0x550f0d,_0x4125a3);}(function(_0x22d635){var _0x4ebe49=_0x5742,_0x29a76f={'DgAml':_0x4ebe49(0xef),'lOqHC':_0x4ebe49(0xe8),'SOvfy':_0x4ebe49(0xf1),'FYODZ':_0x4ebe49(0xf2),'LUehk':_0x4ebe49(0xf6)},_0x3fe20f='2|1|3|0|4'[_0x4ebe49(0xe6)]('|'),_0xd1d66a=0x0;while(!![]){switch(_0x3fe20f[_0xd1d66a++]){case'0':_0x22d635[_0x22d635[_0x29a76f['DgAml']]=0x3]=_0x29a76f[_0x4ebe49(0xe1)];continue;case'1':_0x22d635[_0x22d635[_0x29a76f[_0x4ebe49(0xf5)]]=0x1]=_0x29a76f['lOqHC'];continue;case'2':_0x22d635[_0x22d635[_0x29a76f[_0x4ebe49(0xe5)]]=0x0]=_0x4ebe49(0xf1);continue;case'3':_0x22d635[_0x22d635[_0x29a76f[_0x4ebe49(0xe9)]]=0x2]=_0x29a76f[_0x4ebe49(0xe9)];continue;case'4':_0x22d635[_0x22d635[_0x4ebe49(0xf6)]=0x4]=_0x29a76f[_0x4ebe49(0xf3)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index c03707b5..dc7e1168 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x5b59b2=_0x5147;(function(_0x11ee18,_0x16c5ac){const _0x22367a=_0x5147,_0x1536aa=_0x11ee18();while(!![]){try{const _0x15f636=parseInt(_0x22367a(0x1c5))/0x1*(parseInt(_0x22367a(0x1a9))/0x2)+-parseInt(_0x22367a(0x195))/0x3+-parseInt(_0x22367a(0x1d1))/0x4*(parseInt(_0x22367a(0x1c2))/0x5)+-parseInt(_0x22367a(0x182))/0x6*(-parseInt(_0x22367a(0x1ce))/0x7)+parseInt(_0x22367a(0x18b))/0x8+parseInt(_0x22367a(0x18e))/0x9+parseInt(_0x22367a(0x1c7))/0xa*(parseInt(_0x22367a(0x1a5))/0xb);if(_0x15f636===_0x16c5ac)break;else _0x1536aa['push'](_0x1536aa['shift']());}catch(_0x5a4ec8){_0x1536aa['push'](_0x1536aa['shift']());}}}(_0x5e20,0x3eb3a));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2af7f4}from'node:fs';import _0x2ed6e2 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x5147(_0x376e51,_0xb7f5a9){const _0x5e209d=_0x5e20();return _0x5147=function(_0x514732,_0x3895bc){_0x514732=_0x514732-0x173;let _0x2888fb=_0x5e209d[_0x514732];return _0x2888fb;},_0x5147(_0x376e51,_0xb7f5a9);}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 _0x5e20(){const _0x2cfa45=['222IlvsRy','text','screenshots','FFnzI','AniStickerType','iDDYA','catch','QlbzR','AniStickerId','1341784rBlMxV','DdonP','uploadFile','3158928wQWoUr','markdown','VIDEO','FDZHz','https://www.bilibili.com/','toString','notAt','1057182OwFZrN','dice','stat','emoji','fqtDK','string','TEXT','_0.png','[包剪锤]','mface','DIkJv','writeFile','FACE','UBeUe','ark','FILE','22SNTyqf','width','MlDMy','PlUdw','76060qOSBqC','face','QxIkl','rps','ARK','GHDiI','ptt','sep','REPLY','qWbIZ','JAmwy','join','aJUUB','NkoSk','jpg','file','XcgQk','WndpN','cJqZb','Ori','PIC','ramBn','YYaPB','获取视频信息失败','PTT','180gHzYrh','Bot\x20Test','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','4BMCuXw','error','1733140aTLIxA','文件异常,大小为0','height','MOcsq','NTAGX','HOnMw','pic','7035eFoLTS','语音转换失败,\x20请检查语音文件是否正常','find','49492KxCBVG','end','set','hcrqq','video','mwmxm','get','then','time','ofcOw','size','replace','unlink','stringify','RPS','aIiue','reply'];_0x5e20=function(){return _0x2cfa45;};return _0x5e20();}import _0x4e1ad3 from'./face_config.json';import*as _0x2dc826 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x5b59b2(0x183)](_0x2efced){const _0x50df93=_0x5b59b2;return{'elementType':ElementType[_0x50df93(0x19b)],'elementId':'','textElement':{'content':_0x2efced,'atType':AtType[_0x50df93(0x194)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x337f51,_0x5bb13d,_0x11e3f1,_0x203ae3){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x203ae3,'atType':_0x11e3f1,'atUid':_0x337f51,'atTinyId':'','atNtUid':_0x5bb13d}};}static[_0x5b59b2(0x181)](_0x5612d9,_0x4228ec,_0x1151bf,_0x501297){const _0xd730b7=_0x5b59b2;return{'elementType':ElementType[_0xd730b7(0x1b1)],'elementId':'','replyElement':{'replayMsgSeq':_0x5612d9,'replayMsgId':_0x4228ec,'senderUin':_0x1151bf,'senderUinStr':_0x501297}};}static async[_0x5b59b2(0x1cd)](_0x50155b,_0xf271f8='',_0x312e13=0x0){const _0x58e8cc=_0x5b59b2,_0xc83d8c={'mwmxm':function(_0x1ff380,_0x15b6ec){return _0x1ff380===_0x15b6ec;},'aIiue':_0x58e8cc(0x1c8)},{md5:_0x2e526b,fileName:_0x1087bc,path:_0x5aa414,fileSize:_0x1054e0}=await NTQQFileApi[_0x58e8cc(0x18d)](_0x50155b,ElementType[_0x58e8cc(0x1bd)],_0x312e13);if(_0xc83d8c[_0x58e8cc(0x176)](_0x1054e0,0x0))throw _0xc83d8c[_0x58e8cc(0x180)];const _0x54e60a=await NTQQFileApi['getImageSize'](_0x50155b),_0x1028b9={'md5HexStr':_0x2e526b,'fileSize':_0x1054e0[_0x58e8cc(0x193)](),'picWidth':_0x54e60a?.[_0x58e8cc(0x1a6)],'picHeight':_0x54e60a?.['height'],'fileName':_0x1087bc,'sourcePath':_0x5aa414,'original':!![],'picType':isGIF(_0x50155b)?PicType['gif']:PicType[_0x58e8cc(0x1b7)],'picSubType':_0x312e13,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0xf271f8};return{'elementType':ElementType[_0x58e8cc(0x1bd)],'elementId':'','picElement':_0x1028b9};}static async[_0x5b59b2(0x1b8)](_0x29a200,_0x52a64c='',_0x321679=''){const _0x519a2d=_0x5b59b2,_0x27a8f6={'lSBxZ':function(_0x2c6349,_0x320b7d){return _0x2c6349===_0x320b7d;},'PlUdw':_0x519a2d(0x1c8),'DdonP':function(_0x43de7c,_0x24be37){return _0x43de7c||_0x24be37;}},{md5:_0x1fc292,fileName:_0x317a44,path:_0x39e337,fileSize:_0x35bc27}=await NTQQFileApi[_0x519a2d(0x18d)](_0x29a200,ElementType[_0x519a2d(0x1a4)]);if(_0x27a8f6['lSBxZ'](_0x35bc27,0x0))throw _0x27a8f6[_0x519a2d(0x1a8)];const _0x4bca0f={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x27a8f6[_0x519a2d(0x18c)](_0x52a64c,_0x317a44),'folderId':_0x321679,'filePath':_0x39e337,'fileSize':_0x35bc27[_0x519a2d(0x193)]()}};return _0x4bca0f;}static async[_0x5b59b2(0x175)](_0x38126c,_0x56ebf0='',_0x40fc49=''){const _0x485ad7=_0x5b59b2,_0x4d30ab={'NkoSk':function(_0x20ccba,_0x46444a){return _0x20ccba(_0x46444a);},'NTAGX':function(_0x5cc2bd,_0x5cd58a){return _0x5cc2bd(_0x5cd58a);},'UBeUe':function(_0x421063,_0x49bc0c,_0x14e170){return _0x421063(_0x49bc0c,_0x14e170);},'qWbIZ':_0x485ad7(0x1d2),'wjPcF':_0x485ad7(0x1c6),'GHDiI':function(_0x196b83,_0x35f8e9){return _0x196b83+_0x35f8e9;},'iDDYA':function(_0x4c9a3a,_0x482140){return _0x4c9a3a===_0x482140;},'ypbZb':_0x485ad7(0x1c8),'KCBNy':'mp4','ExikU':_0x485ad7(0x1c0),'ofcOw':function(_0x829df0,_0x2938d0){return _0x829df0(_0x2938d0);},'QxIkl':function(_0x595796,_0x5899da){return _0x595796||_0x5899da;}},{fileName:_0x20b843,path:_0x329bdb,fileSize:_0x4a4d9e,md5:_0x14c730}=await NTQQFileApi[_0x485ad7(0x18d)](_0x38126c,ElementType[_0x485ad7(0x190)]);if(_0x4d30ab[_0x485ad7(0x187)](_0x4a4d9e,0x0))throw _0x4d30ab['ypbZb'];let _0xdad26a=_0x329bdb[_0x485ad7(0x17c)](_0x2dc826[_0x485ad7(0x1b0)]+_0x485ad7(0x1bc)+_0x2dc826[_0x485ad7(0x1b0)],_0x2dc826[_0x485ad7(0x1b0)]+'Thumb'+_0x2dc826['sep']);_0xdad26a=_0x2dc826['dirname'](_0xdad26a);let _0x2bc524={'width':0x780,'height':0x438,'time':0xf,'format':_0x4d30ab['KCBNy'],'size':_0x4a4d9e,'filePath':_0x38126c};try{_0x2bc524=await getVideoInfo(_0x329bdb);}catch(_0x395c7e){_0x4d30ab[_0x485ad7(0x1a2)](logError,_0x4d30ab['ExikU'],_0x395c7e);}const _0x46c45f=new Promise((_0x2af7ea,_0x25a0e7)=>{const _0x48b867=_0x485ad7,_0x5b5811={'ramBn':function(_0x85dd90,_0x152eaa){const _0x417ebe=_0x5147;return _0x4d30ab[_0x417ebe(0x1cb)](_0x85dd90,_0x152eaa);},'hcrqq':function(_0x1f850f,_0x105b28,_0x2a01dd){return _0x4d30ab['UBeUe'](_0x1f850f,_0x105b28,_0x2a01dd);},'WndpN':'获取视频封面失败,使用默认封面'},_0x15f564=_0x14c730+_0x48b867(0x19c),_0x50de04=_0x2dc826[_0x48b867(0x1b4)](_0xdad26a,_0x15f564);_0x4d30ab['NTAGX'](_0x2ed6e2,_0x38126c)['on'](_0x4d30ab['qWbIZ'],()=>{})['on'](_0x4d30ab['wjPcF'],_0x200e1d=>{const _0x4d22e5=_0x48b867,_0x3826f8={'QlbzR':function(_0x28b0dd,_0x5455e2){return _0x28b0dd(_0x5455e2);}};_0x5b5811[_0x4d22e5(0x174)](logDebug,_0x5b5811[_0x4d22e5(0x1ba)],_0x200e1d),_0x40fc49?_0x2af7f4['copyFile'](_0x40fc49,_0x50de04)[_0x4d22e5(0x178)](()=>{const _0x21f230=_0x4d22e5;_0x5b5811[_0x21f230(0x1be)](_0x2af7ea,_0x50de04);})[_0x4d22e5(0x188)](_0x25a0e7):_0x2af7f4[_0x4d22e5(0x1a0)](_0x50de04,defaultVideoThumb)['then'](()=>{const _0x143fae=_0x4d22e5;_0x3826f8[_0x143fae(0x189)](_0x2af7ea,_0x50de04);})[_0x4d22e5(0x188)](_0x25a0e7);})[_0x48b867(0x184)]({'timestamps':[0x0],'filename':_0x15f564,'folder':_0xdad26a,'size':_0x4d30ab[_0x48b867(0x1ae)](_0x2bc524['width'],'x')+_0x2bc524['height']})['on'](_0x4d30ab[_0x48b867(0x1b2)],()=>{const _0x139b1f=_0x48b867;_0x4d30ab[_0x139b1f(0x1b6)](_0x2af7ea,_0x50de04);});}),_0x21b38d=new Map(),_0x9ad027=await _0x46c45f,_0x5c736c=(await _0x2af7f4[_0x485ad7(0x197)](_0x9ad027))[_0x485ad7(0x17b)];_0x21b38d[_0x485ad7(0x173)](0x0,_0x9ad027);const _0x3865bb=await _0x4d30ab[_0x485ad7(0x17a)](calculateFileMD5,_0x9ad027),_0x20d3dd={'elementType':ElementType[_0x485ad7(0x190)],'elementId':'','videoElement':{'fileName':_0x4d30ab[_0x485ad7(0x1ab)](_0x56ebf0,_0x20b843),'filePath':_0x329bdb,'videoMd5':_0x14c730,'thumbMd5':_0x3865bb,'fileTime':_0x2bc524[_0x485ad7(0x179)],'thumbPath':_0x21b38d,'thumbSize':_0x5c736c,'thumbWidth':_0x2bc524[_0x485ad7(0x1a6)],'thumbHeight':_0x2bc524[_0x485ad7(0x1c9)],'fileSize':_0x4d30ab[_0x485ad7(0x1ae)]('',_0x4a4d9e)}};return _0x20d3dd;}static async[_0x5b59b2(0x1af)](_0x56a066){const _0x1ac0bd=_0x5b59b2,_0x51094e={'YYaPB':function(_0x2ec28d,_0x584011){return _0x2ec28d(_0x584011);},'MlDMy':_0x1ac0bd(0x1cf),'FDZHz':function(_0x550d3e,_0x57bc48){return _0x550d3e===_0x57bc48;},'DIkJv':'文件异常,大小为0'},{converted:_0x159ca9,path:_0x4df105,duration:_0x3a7a4f}=await _0x51094e[_0x1ac0bd(0x1bf)](encodeSilk,_0x56a066);if(!_0x4df105)throw _0x51094e[_0x1ac0bd(0x1a7)];const {md5:_0x4b9bfa,fileName:_0x2f6d71,path:_0x2f7ded,fileSize:_0x367e3e}=await NTQQFileApi[_0x1ac0bd(0x18d)](_0x4df105,ElementType[_0x1ac0bd(0x1c1)]);if(_0x51094e[_0x1ac0bd(0x191)](_0x367e3e,0x0))throw _0x51094e[_0x1ac0bd(0x19f)];return _0x159ca9&&_0x2af7f4[_0x1ac0bd(0x17d)](_0x4df105)[_0x1ac0bd(0x178)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x2f6d71,'filePath':_0x2f7ded,'md5HexStr':_0x4b9bfa,'fileSize':_0x367e3e,'duration':_0x3a7a4f||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[_0x5b59b2(0x1aa)](_0x1e67b2){const _0x1ee9cc=_0x5b59b2,_0x35cc7a={'XcgQk':function(_0xa4b2f5,_0x265df4){return _0xa4b2f5(_0x265df4);}},_0x178dbe=_0x4e1ad3['sysface'],_0x13daa3=_0x4e1ad3[_0x1ee9cc(0x198)],_0xa9f15=_0x178dbe[_0x1ee9cc(0x1d0)](_0x22cdf9=>_0x22cdf9['QSid']===_0x1e67b2[_0x1ee9cc(0x193)]());_0x1e67b2=_0x35cc7a[_0x1ee9cc(0x1b9)](parseInt,_0x1e67b2['toString']());let _0x1e45a6=0x1;return _0x1e67b2>=0xde&&(_0x1e45a6=0x2),_0xa9f15[_0x1ee9cc(0x186)]&&(_0x1e45a6=0x3),{'elementType':ElementType[_0x1ee9cc(0x1a1)],'elementId':'','faceElement':{'faceIndex':_0x1e67b2,'faceType':_0x1e45a6,'faceText':_0xa9f15['QDes'],'stickerId':_0xa9f15[_0x1ee9cc(0x18a)],'stickerType':_0xa9f15[_0x1ee9cc(0x186)],'packId':_0xa9f15['AniStickerPackId'],'sourceType':0x1}};}static[_0x5b59b2(0x19e)](_0x4c9d26,_0x5249b4,_0x5d37ba,_0x3483b0){const _0x2b98a7=_0x5b59b2,_0x1a4745={'cJqZb':'[商城表情]'};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x4c9d26,'emojiId':_0x5249b4,'key':_0x5d37ba,'faceName':_0x3483b0||mFaceCache[_0x2b98a7(0x177)](_0x5249b4)||_0x1a4745[_0x2b98a7(0x1bb)]}};}static[_0x5b59b2(0x196)](_0x46edf1){const _0x55c2c8=_0x5b59b2,_0x49e225={'aJUUB':'[骰子]'};return{'elementType':ElementType[_0x55c2c8(0x1a1)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x55c2c8(0x196)],'faceType':FaceType[_0x55c2c8(0x196)],'faceText':_0x49e225[_0x55c2c8(0x1b5)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5b59b2(0x1ac)](_0x2165c8){const _0x11fe9a=_0x5b59b2,_0x23ad4d={'jaNGF':_0x11fe9a(0x19d)};return{'elementType':ElementType[_0x11fe9a(0x1a1)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x11fe9a(0x17f)],'faceText':_0x23ad4d['jaNGF'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5b59b2(0x1a3)](_0x3da107){const _0x2b2150=_0x5b59b2,_0x4dc432={'hqWWA':function(_0x4ed626,_0x567075){return _0x4ed626!==_0x567075;}};return _0x4dc432['hqWWA'](typeof _0x3da107,_0x2b2150(0x19a))&&(_0x3da107=JSON[_0x2b2150(0x17e)](_0x3da107)),{'elementType':ElementType[_0x2b2150(0x1ad)],'elementId':'','arkElement':{'bytesData':_0x3da107,'linkInfo':null,'subElementType':null}};}static[_0x5b59b2(0x18f)](_0xe14f2){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0xe14f2}};}static async['miniapp'](){const _0x14e5b8=_0x5b59b2,_0x2f7b32={'JAmwy':function(_0x47bfa0,_0x414f51){return _0x47bfa0(_0x414f51);},'HOnMw':'Bot\x20Test','fqtDK':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','MOcsq':_0x14e5b8(0x192),'FFnzI':_0x14e5b8(0x1c4)};let _0x44b9a4=await _0x2f7b32[_0x14e5b8(0x1b3)](SignMiniApp,{'prompt':_0x2f7b32[_0x14e5b8(0x1cc)],'title':_0x2f7b32[_0x14e5b8(0x1cc)],'preview':_0x2f7b32[_0x14e5b8(0x199)],'jumpUrl':_0x2f7b32[_0x14e5b8(0x1ca)],'tag':_0x2f7b32['HOnMw'],'tagIcon':_0x2f7b32['FFnzI'],'source':_0x14e5b8(0x1c3),'sourcelogo':_0x2f7b32[_0x14e5b8(0x185)]});return{'elementType':ElementType[_0x14e5b8(0x1ad)],'elementId':'','arkElement':{'bytesData':_0x44b9a4,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x2fb4f2=_0x101a;(function(_0x5ee7cd,_0xf43172){const _0x91f074=_0x101a,_0x19ba1a=_0x5ee7cd();while(!![]){try{const _0x4cb920=-parseInt(_0x91f074(0x1d7))/0x1*(parseInt(_0x91f074(0x1cd))/0x2)+parseInt(_0x91f074(0x209))/0x3+-parseInt(_0x91f074(0x1cc))/0x4*(parseInt(_0x91f074(0x1ec))/0x5)+-parseInt(_0x91f074(0x1db))/0x6+-parseInt(_0x91f074(0x1df))/0x7+parseInt(_0x91f074(0x1ff))/0x8+parseInt(_0x91f074(0x1f0))/0x9;if(_0x4cb920===_0xf43172)break;else _0x19ba1a['push'](_0x19ba1a['shift']());}catch(_0x1abeaa){_0x19ba1a['push'](_0x19ba1a['shift']());}}}(_0x104e,0x64906));function _0x101a(_0x440b67,_0x266974){const _0x104ec9=_0x104e();return _0x101a=function(_0x101a14,_0x5bc915){_0x101a14=_0x101a14-0x1c9;let _0x97e1a4=_0x104ec9[_0x101a14];return _0x97e1a4;},_0x101a(_0x440b67,_0x266974);}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x38cc75}from'node:fs';import _0x4f8bbf from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x2f7077 from'./face_config.json';import*as _0x58b254 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();function _0x104e(){const _0x3fa7d3=['3428232eLMsRk','unlink','uploadFile','eVcFl','adTtU','amcGi','getImageSize','sep','sysface','SVPAp','572277bQNHqr','Ori','AHlLH','owSxS','end','mface','mp4','copyFile','get','igNsR','JQTsU','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','AaxCy','MARKDOWN','RPS','xnqsU','cEMoW','text','TEXT','FACE','puMQc','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','stat','jYCzk','catch','PIC','width','UPHlr','uSXhQ','MlaRB','qwWjZ','toString','size','RiKOo','https://www.bilibili.com/','ecPQK','then','screenshots','2874556oAEKOl','2rYxzbh','set','FILE','语音转换失败,\x20请检查语音文件是否正常','rps','find','获取视频信息失败','eOPjf','pic','文件异常,大小为0','557571yVDmRN','VIDEO','[商城表情]','LByHj','192498VMiPOj','writeFile','cstEI','markdown','2659286ApMYpm','PTT','time','_0.png','jpg','QDes','replace','string','eoTlu','cDMqQ','emoji','REPLY','TMwec','5PkfhnU','AniStickerId','join','error','13327317Wgsjox','sNxAi','bUImU','lGSnJ','jSNxK','height','reply','AniStickerType','[包剪锤]','face','Thumb','jslcs','AniStickerPackId','AZPnF','IsPSs'];_0x104e=function(){return _0x3fa7d3;};return _0x104e();}export class SendMsgElementConstructor{static[_0x2fb4f2(0x21a)](_0x177ee0){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x177ee0,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3c65a5,_0x4fbeac,_0x3cf700,_0x358237){const _0x53cb1c=_0x2fb4f2;return{'elementType':ElementType[_0x53cb1c(0x21b)],'elementId':'','textElement':{'content':'@'+_0x358237,'atType':_0x3cf700,'atUid':_0x3c65a5,'atTinyId':'','atNtUid':_0x4fbeac}};}static[_0x2fb4f2(0x1f6)](_0x556e80,_0x37ce83,_0x24eca4,_0x882c6a){const _0x4a24ac=_0x2fb4f2;return{'elementType':ElementType[_0x4a24ac(0x1ea)],'elementId':'','replyElement':{'replayMsgSeq':_0x556e80,'replayMsgId':_0x37ce83,'senderUin':_0x24eca4,'senderUinStr':_0x882c6a}};}static async[_0x2fb4f2(0x1d5)](_0x1aeaf5,_0x3cd496='',_0x2b899=0x0){const _0x1ec141=_0x2fb4f2,_0x2f96dd={'MlaRB':function(_0x299e4a,_0x145f99){return _0x299e4a===_0x145f99;},'TMwec':_0x1ec141(0x1d6),'igNsR':function(_0x1f459c,_0x322115){return _0x1f459c(_0x322115);}},{md5:_0x34665a,fileName:_0xd7809,path:_0x40f95a,fileSize:_0x91f958}=await NTQQFileApi[_0x1ec141(0x201)](_0x1aeaf5,ElementType[_0x1ec141(0x222)],_0x2b899);if(_0x2f96dd[_0x1ec141(0x226)](_0x91f958,0x0))throw _0x2f96dd[_0x1ec141(0x1eb)];const _0x43fc4f=await NTQQFileApi[_0x1ec141(0x205)](_0x1aeaf5),_0x10c000={'md5HexStr':_0x34665a,'fileSize':_0x91f958[_0x1ec141(0x228)](),'picWidth':_0x43fc4f?.[_0x1ec141(0x223)],'picHeight':_0x43fc4f?.[_0x1ec141(0x1f5)],'fileName':_0xd7809,'sourcePath':_0x40f95a,'original':!![],'picType':_0x2f96dd[_0x1ec141(0x212)](isGIF,_0x1aeaf5)?PicType['gif']:PicType[_0x1ec141(0x1e3)],'picSubType':_0x2b899,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3cd496};return{'elementType':ElementType[_0x1ec141(0x222)],'elementId':'','picElement':_0x10c000};}static async['file'](_0x51bdef,_0x59a432='',_0x344006=''){const _0x3ba733=_0x2fb4f2,_0x260ed0={'owSxS':function(_0x1ae0e8,_0x22e653){return _0x1ae0e8===_0x22e653;},'MyGqu':_0x3ba733(0x1d6)},{md5:_0x27e9c3,fileName:_0x418028,path:_0x28cd7a,fileSize:_0x43fce4}=await NTQQFileApi['uploadFile'](_0x51bdef,ElementType[_0x3ba733(0x1cf)]);if(_0x260ed0[_0x3ba733(0x20c)](_0x43fce4,0x0))throw _0x260ed0['MyGqu'];const _0x55d009={'elementType':ElementType[_0x3ba733(0x1cf)],'elementId':'','fileElement':{'fileName':_0x59a432||_0x418028,'folderId':_0x344006,'filePath':_0x28cd7a,'fileSize':_0x43fce4[_0x3ba733(0x228)]()}};return _0x55d009;}static async['video'](_0x22ec1f,_0x1e63f6='',_0x3d6af5=''){const _0x3f9e97=_0x2fb4f2,_0x27cb18={'SANFC':function(_0xf3923,_0x3d3296){return _0xf3923(_0x3d3296);},'bUImU':function(_0x2d6394,_0x3c0fae,_0x4cda25){return _0x2d6394(_0x3c0fae,_0x4cda25);},'JQTsU':'获取视频封面失败,使用默认封面','OuDrf':function(_0x5134ff,_0x1d37dd){return _0x5134ff(_0x1d37dd);},'AZPnF':function(_0x290991,_0x5b22ad){return _0x290991(_0x5b22ad);},'cstEI':_0x3f9e97(0x20d),'jslcs':_0x3f9e97(0x1ef),'eoTlu':function(_0x5a2205,_0x55bc34){return _0x5a2205+_0x55bc34;},'AaxCy':function(_0x299955,_0x4aff92){return _0x299955+_0x4aff92;},'sNxAi':function(_0x1c8649,_0x4370ba){return _0x1c8649===_0x4370ba;},'ecPQK':_0x3f9e97(0x1d6),'cDMqQ':function(_0x38b99e,_0x4a6a52,_0x702570){return _0x38b99e(_0x4a6a52,_0x702570);},'vUcKN':function(_0x521499,_0x4222ef){return _0x521499||_0x4222ef;},'obzTi':function(_0x4a936d,_0x3b5859){return _0x4a936d+_0x3b5859;}},{fileName:_0xb14119,path:_0x430b62,fileSize:_0x2ecc2f,md5:_0x48f3fb}=await NTQQFileApi['uploadFile'](_0x22ec1f,ElementType[_0x3f9e97(0x1d8)]);if(_0x27cb18[_0x3f9e97(0x1f1)](_0x2ecc2f,0x0))throw _0x27cb18[_0x3f9e97(0x1c9)];let _0x2adf35=_0x430b62[_0x3f9e97(0x1e5)](_0x58b254['sep']+_0x3f9e97(0x20a)+_0x58b254[_0x3f9e97(0x206)],_0x58b254[_0x3f9e97(0x206)]+_0x3f9e97(0x1fa)+_0x58b254['sep']);_0x2adf35=_0x58b254['dirname'](_0x2adf35);let _0x2dda10={'width':0x780,'height':0x438,'time':0xf,'format':_0x3f9e97(0x20f),'size':_0x2ecc2f,'filePath':_0x22ec1f};try{_0x2dda10=await _0x27cb18[_0x3f9e97(0x1fd)](getVideoInfo,_0x430b62);}catch(_0x572415){_0x27cb18[_0x3f9e97(0x1e8)](logError,_0x3f9e97(0x1d3),_0x572415);}const _0x51d470=new Promise((_0x4b1bf9,_0x5a2933)=>{const _0x162506=_0x3f9e97,_0x179af7={'IsPSs':function(_0x11d543,_0x50f577){return _0x27cb18['SANFC'](_0x11d543,_0x50f577);},'uSXhQ':function(_0x3f7868,_0x167828,_0x3bd323){const _0xc3b7ad=_0x101a;return _0x27cb18[_0xc3b7ad(0x1f2)](_0x3f7868,_0x167828,_0x3bd323);},'AHlLH':_0x27cb18[_0x162506(0x213)],'cEMoW':function(_0x2a3df6,_0x249605){return _0x27cb18['OuDrf'](_0x2a3df6,_0x249605);}},_0x4b9b8b=_0x48f3fb+_0x162506(0x1e2),_0x47a858=_0x58b254[_0x162506(0x1ee)](_0x2adf35,_0x4b9b8b);_0x27cb18['AZPnF'](_0x4f8bbf,_0x22ec1f)['on'](_0x27cb18[_0x162506(0x1dd)],()=>{})['on'](_0x27cb18[_0x162506(0x1fb)],_0x1bde15=>{const _0x4ff227=_0x162506,_0x3bd524={'qwWjZ':function(_0x52a63c,_0x1a0af4){const _0x30a9f8=_0x101a;return _0x179af7[_0x30a9f8(0x1fe)](_0x52a63c,_0x1a0af4);}};_0x179af7[_0x4ff227(0x225)](logDebug,_0x179af7[_0x4ff227(0x20b)],_0x1bde15),_0x3d6af5?_0x38cc75[_0x4ff227(0x210)](_0x3d6af5,_0x47a858)[_0x4ff227(0x1ca)](()=>{_0x179af7['IsPSs'](_0x4b1bf9,_0x47a858);})[_0x4ff227(0x221)](_0x5a2933):_0x38cc75[_0x4ff227(0x1dc)](_0x47a858,defaultVideoThumb)[_0x4ff227(0x1ca)](()=>{const _0x3310fb=_0x4ff227;_0x3bd524[_0x3310fb(0x227)](_0x4b1bf9,_0x47a858);})[_0x4ff227(0x221)](_0x5a2933);})[_0x162506(0x1cb)]({'timestamps':[0x0],'filename':_0x4b9b8b,'folder':_0x2adf35,'size':_0x27cb18[_0x162506(0x1e7)](_0x27cb18[_0x162506(0x215)](_0x2dda10[_0x162506(0x223)],'x'),_0x2dda10[_0x162506(0x1f5)])})['on'](_0x27cb18[_0x162506(0x1dd)],()=>{const _0x56a9ce=_0x162506;_0x179af7[_0x56a9ce(0x219)](_0x4b1bf9,_0x47a858);});}),_0x80ee9b=new Map(),_0x520fd4=await _0x51d470,_0x5d1549=(await _0x38cc75[_0x3f9e97(0x21f)](_0x520fd4))[_0x3f9e97(0x229)];_0x80ee9b[_0x3f9e97(0x1ce)](0x0,_0x520fd4);const _0x681679=await calculateFileMD5(_0x520fd4),_0x3e3328={'elementType':ElementType[_0x3f9e97(0x1d8)],'elementId':'','videoElement':{'fileName':_0x27cb18['vUcKN'](_0x1e63f6,_0xb14119),'filePath':_0x430b62,'videoMd5':_0x48f3fb,'thumbMd5':_0x681679,'fileTime':_0x2dda10[_0x3f9e97(0x1e1)],'thumbPath':_0x80ee9b,'thumbSize':_0x5d1549,'thumbWidth':_0x2dda10[_0x3f9e97(0x223)],'thumbHeight':_0x2dda10[_0x3f9e97(0x1f5)],'fileSize':_0x27cb18['obzTi']('',_0x2ecc2f)}};return _0x3e3328;}static async['ptt'](_0x51ce1a){const _0x53f14f=_0x2fb4f2,_0xfd9402={'eVcFl':function(_0x287604,_0x22d7d9){return _0x287604(_0x22d7d9);},'UPHlr':function(_0x7cac6b,_0x224383){return _0x7cac6b===_0x224383;},'puMQc':'文件异常,大小为0','SVPAp':function(_0x5b7183,_0x41a4d1){return _0x5b7183||_0x41a4d1;}},{converted:_0x5f3f9b,path:_0x1802a2,duration:_0x34b4ea}=await _0xfd9402[_0x53f14f(0x202)](encodeSilk,_0x51ce1a);if(!_0x1802a2)throw _0x53f14f(0x1d0);const {md5:_0x3dfc3b,fileName:_0x3536a4,path:_0xc33949,fileSize:_0x4ba289}=await NTQQFileApi[_0x53f14f(0x201)](_0x1802a2,ElementType[_0x53f14f(0x1e0)]);if(_0xfd9402[_0x53f14f(0x224)](_0x4ba289,0x0))throw _0xfd9402[_0x53f14f(0x21d)];return _0x5f3f9b&&_0x38cc75[_0x53f14f(0x200)](_0x1802a2)[_0x53f14f(0x1ca)](),{'elementType':ElementType[_0x53f14f(0x1e0)],'elementId':'','pttElement':{'fileName':_0x3536a4,'filePath':_0xc33949,'md5HexStr':_0x3dfc3b,'fileSize':_0x4ba289,'duration':_0xfd9402[_0x53f14f(0x208)](_0x34b4ea,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[_0x2fb4f2(0x1f9)](_0x5c2269){const _0x179e09=_0x2fb4f2,_0x58eee3={'lGSnJ':function(_0x3dc8dc,_0x30ad55){return _0x3dc8dc(_0x30ad55);}},_0x505ebc=_0x2f7077[_0x179e09(0x207)],_0x2ec696=_0x2f7077[_0x179e09(0x1e9)],_0x175210=_0x505ebc[_0x179e09(0x1d2)](_0xe2e94a=>_0xe2e94a['QSid']===_0x5c2269[_0x179e09(0x228)]());_0x5c2269=_0x58eee3[_0x179e09(0x1f3)](parseInt,_0x5c2269[_0x179e09(0x228)]());let _0x5208d4=0x1;return _0x5c2269>=0xde&&(_0x5208d4=0x2),_0x175210[_0x179e09(0x1f7)]&&(_0x5208d4=0x3),{'elementType':ElementType[_0x179e09(0x21c)],'elementId':'','faceElement':{'faceIndex':_0x5c2269,'faceType':_0x5208d4,'faceText':_0x175210[_0x179e09(0x1e4)],'stickerId':_0x175210[_0x179e09(0x1ed)],'stickerType':_0x175210[_0x179e09(0x1f7)],'packId':_0x175210[_0x179e09(0x1fc)],'sourceType':0x1}};}static[_0x2fb4f2(0x20e)](_0x446a36,_0x4878a2,_0x41a514,_0x1d4475){const _0x2ea8da=_0x2fb4f2,_0x346994={'LByHj':_0x2ea8da(0x1d9)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x446a36,'emojiId':_0x4878a2,'key':_0x41a514,'faceName':_0x1d4475||mFaceCache[_0x2ea8da(0x211)](_0x4878a2)||_0x346994[_0x2ea8da(0x1da)]}};}static['dice'](_0x4b0267){const _0x30482f=_0x2fb4f2;return{'elementType':ElementType[_0x30482f(0x21c)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':'[骰子]','packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2fb4f2(0x1d1)](_0x38e4b0){const _0x5e1ad6=_0x2fb4f2,_0x2ac623={'amcGi':_0x5e1ad6(0x1f8)};return{'elementType':ElementType[_0x5e1ad6(0x21c)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5e1ad6(0x217)],'faceText':_0x2ac623[_0x5e1ad6(0x204)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x3c2e6e){const _0x407916=_0x2fb4f2,_0x5632a6={'eOPjf':_0x407916(0x1e6)};return typeof _0x3c2e6e!==_0x5632a6[_0x407916(0x1d4)]&&(_0x3c2e6e=JSON['stringify'](_0x3c2e6e)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x3c2e6e,'linkInfo':null,'subElementType':null}};}static[_0x2fb4f2(0x1de)](_0x1068bf){const _0x233a59=_0x2fb4f2;return{'elementType':ElementType[_0x233a59(0x216)],'elementId':'','markdownElement':{'content':_0x1068bf}};}static async['miniapp'](){const _0x3384ad=_0x2fb4f2,_0x147279={'jSNxK':function(_0x80798b,_0x442bb6){return _0x80798b(_0x442bb6);},'adTtU':'Bot\x20Test','xnqsU':_0x3384ad(0x214),'jYCzk':_0x3384ad(0x22b),'RiKOo':_0x3384ad(0x21e)};let _0x11588d=await _0x147279[_0x3384ad(0x1f4)](SignMiniApp,{'prompt':_0x147279[_0x3384ad(0x203)],'title':_0x147279[_0x3384ad(0x203)],'preview':_0x147279[_0x3384ad(0x218)],'jumpUrl':_0x147279[_0x3384ad(0x220)],'tag':_0x147279['adTtU'],'tagIcon':_0x147279[_0x3384ad(0x22a)],'source':_0x147279[_0x3384ad(0x203)],'sourcelogo':_0x147279[_0x3384ad(0x22a)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x11588d,'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 394b9f57..62348e55 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x3f3399,_0x532698){var _0x2fc5e4=_0x114e,_0x3b1e89=_0x3f3399();while(!![]){try{var _0x2872d4=-parseInt(_0x2fc5e4(0xb5))/0x1+parseInt(_0x2fc5e4(0xb8))/0x2+parseInt(_0x2fc5e4(0xbb))/0x3+parseInt(_0x2fc5e4(0xbd))/0x4*(parseInt(_0x2fc5e4(0xb4))/0x5)+parseInt(_0x2fc5e4(0xb6))/0x6+-parseInt(_0x2fc5e4(0xbc))/0x7+-parseInt(_0x2fc5e4(0xb7))/0x8;if(_0x2872d4===_0x532698)break;else _0x3b1e89['push'](_0x3b1e89['shift']());}catch(_0x1b43c8){_0x3b1e89['push'](_0x3b1e89['shift']());}}}(_0x10d3,0xa86fe));export var GroupMemberRole;function _0x114e(_0x28052a,_0x239520){var _0x10d3a0=_0x10d3();return _0x114e=function(_0x114e19,_0x4b0c18){_0x114e19=_0x114e19-0xb1;var _0x3a09db=_0x10d3a0[_0x114e19];return _0x3a09db;},_0x114e(_0x28052a,_0x239520);}(function(_0x5c6151){var _0x3effc5=_0x114e,_0x55bbe0={'AmKLJ':_0x3effc5(0xb9),'cXFxg':_0x3effc5(0xb3),'pUHHj':'owner'};_0x5c6151[_0x5c6151[_0x55bbe0['AmKLJ']]=0x2]=_0x3effc5(0xb9),_0x5c6151[_0x5c6151[_0x55bbe0[_0x3effc5(0xb1)]]=0x3]=_0x55bbe0['cXFxg'],_0x5c6151[_0x5c6151[_0x3effc5(0xb2)]=0x4]=_0x55bbe0[_0x3effc5(0xba)];}(GroupMemberRole||(GroupMemberRole={})));function _0x10d3(){var _0x265dfc=['admin','5znHKrw','612218UfhSWB','4410378VhPWKz','16394528mBKneK','2291982IAdzgt','normal','pUHHj','3943854DZmnbs','4063437LNzZUp','2945084AdnItc','cXFxg','owner'];_0x10d3=function(){return _0x265dfc;};return _0x10d3();} \ No newline at end of file +(function(_0x3eba37,_0x497acf){var _0x57a4ab=_0x55e0,_0x130b4f=_0x3eba37();while(!![]){try{var _0xecf628=parseInt(_0x57a4ab(0x17c))/0x1+-parseInt(_0x57a4ab(0x177))/0x2*(-parseInt(_0x57a4ab(0x175))/0x3)+parseInt(_0x57a4ab(0x170))/0x4+parseInt(_0x57a4ab(0x17a))/0x5*(-parseInt(_0x57a4ab(0x176))/0x6)+-parseInt(_0x57a4ab(0x174))/0x7+parseInt(_0x57a4ab(0x17d))/0x8+-parseInt(_0x57a4ab(0x172))/0x9*(-parseInt(_0x57a4ab(0x17e))/0xa);if(_0xecf628===_0x497acf)break;else _0x130b4f['push'](_0x130b4f['shift']());}catch(_0x2fbf8d){_0x130b4f['push'](_0x130b4f['shift']());}}}(_0x3c9a,0xef86e));export var GroupMemberRole;function _0x55e0(_0x48630f,_0x2ef894){var _0x3c9a72=_0x3c9a();return _0x55e0=function(_0x55e0fb,_0xd5f033){_0x55e0fb=_0x55e0fb-0x16f;var _0x5a2abd=_0x3c9a72[_0x55e0fb];return _0x5a2abd;},_0x55e0(_0x48630f,_0x2ef894);}(function(_0x5ed4fe){var _0x382368=_0x55e0,_0x5ae093={'fJBqw':'normal','DBtFa':_0x382368(0x178),'lspvJ':_0x382368(0x173)};_0x5ed4fe[_0x5ed4fe[_0x5ae093[_0x382368(0x179)]]=0x2]=_0x382368(0x171),_0x5ed4fe[_0x5ed4fe[_0x5ae093[_0x382368(0x17b)]]=0x3]=_0x5ae093[_0x382368(0x17b)],_0x5ed4fe[_0x5ed4fe[_0x5ae093[_0x382368(0x16f)]]=0x4]=_0x5ae093[_0x382368(0x16f)];}(GroupMemberRole||(GroupMemberRole={})));function _0x3c9a(){var _0x57609b=['DBtFa','131804DlumfY','4111680ZHsNib','13235610izFxgw','lspvJ','1084276bJCTmi','normal','9FXJtsd','owner','10114272geIRjz','39hTvjYO','6rBqmVR','231698KnfXFC','admin','fJBqw','6602165hCGwNb'];_0x3c9a=function(){return _0x57609b;};return _0x3c9a();} \ 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 58f5651b..515c0795 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -function _0x1fcf(_0x48e868,_0x15bf13){var _0x17328e=_0x1732();return _0x1fcf=function(_0x1fcf92,_0x4d290a){_0x1fcf92=_0x1fcf92-0xcc;var _0x4a03ab=_0x17328e[_0x1fcf92];return _0x4a03ab;},_0x1fcf(_0x48e868,_0x15bf13);}(function(_0x15a80d,_0x4fa214){var _0xf00324=_0x1fcf,_0xbd4be5=_0x15a80d();while(!![]){try{var _0xae7877=parseInt(_0xf00324(0xd4))/0x1*(parseInt(_0xf00324(0xd2))/0x2)+parseInt(_0xf00324(0xd0))/0x3*(-parseInt(_0xf00324(0xce))/0x4)+-parseInt(_0xf00324(0xd1))/0x5+-parseInt(_0xf00324(0xcd))/0x6+-parseInt(_0xf00324(0xd3))/0x7+-parseInt(_0xf00324(0xcf))/0x8+parseInt(_0xf00324(0xcc))/0x9;if(_0xae7877===_0x4fa214)break;else _0xbd4be5['push'](_0xbd4be5['shift']());}catch(_0x537506){_0xbd4be5['push'](_0xbd4be5['shift']());}}}(_0x1732,0x77166));export*from'./user';export*from'./group';function _0x1732(){var _0x471b65=['21782115MqLZvB','3246630DILsmD','88PvYvcD','5738072uyzfxg','15588JYMgat','3617230pmUWnK','14YHEOZC','5387242YRIzfW','133325xEBpkm'];_0x1732=function(){return _0x471b65;};return _0x1732();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +function _0x529c(_0x34841d,_0x2a6039){var _0x498a17=_0x498a();return _0x529c=function(_0x529cee,_0xa4b0aa){_0x529cee=_0x529cee-0xf8;var _0xe4d279=_0x498a17[_0x529cee];return _0xe4d279;},_0x529c(_0x34841d,_0x2a6039);}(function(_0x3f3b10,_0x265363){var _0x3db235=_0x529c,_0x2e527b=_0x3f3b10();while(!![]){try{var _0x13ee98=-parseInt(_0x3db235(0xf8))/0x1*(parseInt(_0x3db235(0x100))/0x2)+parseInt(_0x3db235(0x102))/0x3+-parseInt(_0x3db235(0xfc))/0x4+parseInt(_0x3db235(0xfe))/0x5*(-parseInt(_0x3db235(0x103))/0x6)+-parseInt(_0x3db235(0xff))/0x7*(parseInt(_0x3db235(0x101))/0x8)+-parseInt(_0x3db235(0xf9))/0x9*(-parseInt(_0x3db235(0xfd))/0xa)+parseInt(_0x3db235(0xfa))/0xb*(parseInt(_0x3db235(0xfb))/0xc);if(_0x13ee98===_0x265363)break;else _0x2e527b['push'](_0x2e527b['shift']());}catch(_0x8782c5){_0x2e527b['push'](_0x2e527b['shift']());}}}(_0x498a,0x76326));export*from'./user';export*from'./group';function _0x498a(){var _0x3a2a4d=['744wNyLIN','188608wQddIZ','387570AJVwXd','139575TCDwJF','7fAOeuC','4GmhCJD','4424152BpiXAa','2268201QppAsq','120eBPoGq','481972chQkVc','198gTdWlb','177034rWaAMp'];_0x498a=function(){return _0x3a2a4d;};return _0x498a();}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 404e97b1..be38210e 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x51709e=_0x1cff;(function(_0x42a7b7,_0x10a67a){var _0xcabf73=_0x1cff,_0xf67dcf=_0x42a7b7();while(!![]){try{var _0x57c7d8=-parseInt(_0xcabf73(0x20d))/0x1*(-parseInt(_0xcabf73(0x219))/0x2)+parseInt(_0xcabf73(0x214))/0x3+parseInt(_0xcabf73(0x221))/0x4*(-parseInt(_0xcabf73(0x202))/0x5)+parseInt(_0xcabf73(0x20b))/0x6*(parseInt(_0xcabf73(0x1fb))/0x7)+parseInt(_0xcabf73(0x1ed))/0x8+-parseInt(_0xcabf73(0x20a))/0x9*(-parseInt(_0xcabf73(0x203))/0xa)+parseInt(_0xcabf73(0x20e))/0xb*(-parseInt(_0xcabf73(0x215))/0xc);if(_0x57c7d8===_0x10a67a)break;else _0xf67dcf['push'](_0xf67dcf['shift']());}catch(_0x4fee93){_0xf67dcf['push'](_0xf67dcf['shift']());}}}(_0xbac5,0x9cff2));export var ElementType;(function(_0x5cf56f){var _0x545c3b=_0x1cff,_0x4e2635={'OZsdu':'7|1|6|8|0|9|5|2|4|3','PnbCh':_0x545c3b(0x217),'bbWtc':_0x545c3b(0x20f),'ofhER':_0x545c3b(0x1eb),'BPcNV':_0x545c3b(0x226),'KTiyx':_0x545c3b(0x218),'JWvnk':_0x545c3b(0x223),'ZqIAy':'FILE','wvHqm':_0x545c3b(0x229),'XefSA':_0x545c3b(0x211)},_0x1f0980=_0x4e2635['OZsdu'][_0x545c3b(0x222)]('|'),_0xd0c08e=0x0;while(!![]){switch(_0x1f0980[_0xd0c08e++]){case'0':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x209)]]=0x5]=_0x4e2635[_0x545c3b(0x209)];continue;case'1':_0x5cf56f[_0x5cf56f[_0x4e2635['bbWtc']]=0x2]='PIC';continue;case'2':_0x5cf56f[_0x5cf56f[_0x4e2635['ofhER']]=0xa]=_0x4e2635[_0x545c3b(0x210)];continue;case'3':_0x5cf56f[_0x5cf56f[_0x545c3b(0x226)]=0xe]=_0x4e2635['BPcNV'];continue;case'4':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x1fe)]]=0xb]=_0x4e2635['KTiyx'];continue;case'5':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x1ff)]]=0x7]='REPLY';continue;case'6':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x1f5)]]=0x3]=_0x545c3b(0x1f1);continue;case'7':_0x5cf56f[_0x5cf56f[_0x545c3b(0x21c)]=0x1]='TEXT';continue;case'8':_0x5cf56f[_0x5cf56f[_0x4e2635['wvHqm']]=0x4]='PTT';continue;case'9':_0x5cf56f[_0x5cf56f[_0x4e2635['XefSA']]=0x6]=_0x4e2635[_0x545c3b(0x20c)];continue;}break;}}(ElementType||(ElementType={})));function _0xbac5(){var _0xc17d4e=['2DOptvQ','MEMBER_NEW_TITLE','vFrpi','TEXT','byTCX','normal','vTXXN','PuecA','3739180IRToaN','split','REPLY','RPS','https://gchat.qpic.cn','MARKDOWN','SfyXU','gif','PTT','WIftF','ARK','ctkJM','5830464TnZTAK','ITerj','chatDevice','rZqCd','FILE','jpg','zMsQB','dice','ZqIAy','PeJbA','RkEGo','https://multimedia.nt.qq.com.cn','kicked','VNTuT','14dizsDW','friend','GkkRs','KTiyx','JWvnk','face','AXcep','5LyPvET','10hazpWS','atAll','ban','group','LHwSC','temp','PnbCh','7817166HLKoyC','420978DsvelB','XefSA','518647WMNhiJ','11aurFiE','PIC','ofhER','FACE','atUser','notAt','1547949RCrcOn','14333820gncALf','normal2','VIDEO','MFACE'];_0xbac5=function(){return _0xc17d4e;};return _0xbac5();}export var PicType;(function(_0x3347e8){var _0x23eedf=_0x1cff,_0x181104={'PuecA':_0x23eedf(0x228),'byTCX':_0x23eedf(0x1f2)};_0x3347e8[_0x3347e8[_0x181104[_0x23eedf(0x220)]]=0x7d0]=_0x23eedf(0x228),_0x3347e8[_0x3347e8[_0x181104[_0x23eedf(0x21d)]]=0x3e8]=_0x181104[_0x23eedf(0x21d)];}(PicType||(PicType={})));export var PicSubType;(function(_0x2f47f1){var _0x5e1ea3=_0x1cff,_0x2e695f={'LHwSC':_0x5e1ea3(0x21e),'vFrpi':_0x5e1ea3(0x200)};_0x2f47f1[_0x2f47f1[_0x2e695f[_0x5e1ea3(0x207)]]=0x0]=_0x2e695f[_0x5e1ea3(0x207)],_0x2f47f1[_0x2f47f1[_0x2e695f[_0x5e1ea3(0x21b)]]=0x1]='face';}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2375a0){var _0xbae6d2=_0x1cff,_0x35c9f0={'zMsQB':_0xbae6d2(0x213),'fIhjb':_0xbae6d2(0x204),'SfyXU':_0xbae6d2(0x212)};_0x2375a0[_0x2375a0[_0x35c9f0[_0xbae6d2(0x1f3)]]=0x0]=_0x35c9f0[_0xbae6d2(0x1f3)],_0x2375a0[_0x2375a0[_0xbae6d2(0x204)]=0x1]=_0x35c9f0['fIhjb'],_0x2375a0[_0x2375a0[_0x35c9f0[_0xbae6d2(0x227)]]=0x2]=_0x35c9f0[_0xbae6d2(0x227)];}(AtType||(AtType={})));export var ChatType;(function(_0x478546){var _0x5e3cc3=_0x1cff,_0x1335c9={'ITerj':_0x5e3cc3(0x1fc),'VNTuT':_0x5e3cc3(0x206),'RkEGo':_0x5e3cc3(0x1ef),'ctkJM':_0x5e3cc3(0x208)};_0x478546[_0x478546[_0x1335c9[_0x5e3cc3(0x1ee)]]=0x1]=_0x1335c9['ITerj'],_0x478546[_0x478546[_0x1335c9[_0x5e3cc3(0x1fa)]]=0x2]=_0x1335c9[_0x5e3cc3(0x1fa)],_0x478546[_0x478546[_0x1335c9[_0x5e3cc3(0x1f7)]]=0x8]=_0x1335c9[_0x5e3cc3(0x1f7)],_0x478546[_0x478546['temp']=0x64]=_0x1335c9[_0x5e3cc3(0x1ec)];}(ChatType||(ChatType={})));function _0x1cff(_0x556594,_0x257798){var _0xbac5a3=_0xbac5();return _0x1cff=function(_0x1cff79,_0xcdf4c5){_0x1cff79=_0x1cff79-0x1ea;var _0x5dc9cd=_0xbac5a3[_0x1cff79];return _0x5dc9cd;},_0x1cff(_0x556594,_0x257798);}export const IMAGE_HTTP_HOST=_0x51709e(0x225);export const IMAGE_HTTP_HOST_NT=_0x51709e(0x1f8);export var GrayTipElementSubType;(function(_0xca293){var _0x47c243=_0x51709e;_0xca293[_0xca293['INVITE_NEW_MEMBER']=0xc]='INVITE_NEW_MEMBER',_0xca293[_0xca293[_0x47c243(0x21a)]=0x11]=_0x47c243(0x21a);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4c1711){var _0x86baa6=_0x51709e,_0x1da4ef={'vTXXN':_0x86baa6(0x21e),'pWqVS':_0x86baa6(0x216),'WIftF':'dice'};_0x4c1711[_0x4c1711[_0x1da4ef[_0x86baa6(0x21f)]]=0x1]=_0x1da4ef[_0x86baa6(0x21f)],_0x4c1711[_0x4c1711['normal2']=0x2]=_0x1da4ef['pWqVS'],_0x4c1711[_0x4c1711['dice']=0x3]=_0x1da4ef[_0x86baa6(0x1ea)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3437a5){var _0x300168=_0x51709e,_0x152c54={'GkkRs':_0x300168(0x1f4),'AXcep':_0x300168(0x224)};_0x3437a5[_0x3437a5[_0x152c54['GkkRs']]=0x166]=_0x152c54[_0x300168(0x1fd)],_0x3437a5[_0x3437a5[_0x152c54[_0x300168(0x201)]]=0x167]=_0x152c54[_0x300168(0x201)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x44a4c6){var _0x52233e=_0x51709e,_0x394146={'PeJbA':'memberIncrease','HaWey':_0x52233e(0x1f9),'rZqCd':_0x52233e(0x205)};_0x44a4c6[_0x44a4c6[_0x394146[_0x52233e(0x1f6)]]=0x1]=_0x394146[_0x52233e(0x1f6)],_0x44a4c6[_0x44a4c6['kicked']=0x3]=_0x394146['HaWey'],_0x44a4c6[_0x44a4c6[_0x394146[_0x52233e(0x1f0)]]=0x8]=_0x394146[_0x52233e(0x1f0)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x25ba93=_0x54ad;(function(_0x50fb17,_0x1327db){var _0x5d1135=_0x54ad,_0x222ab2=_0x50fb17();while(!![]){try{var _0x3862bf=parseInt(_0x5d1135(0x11d))/0x1+parseInt(_0x5d1135(0xff))/0x2*(-parseInt(_0x5d1135(0x10e))/0x3)+parseInt(_0x5d1135(0x117))/0x4*(parseInt(_0x5d1135(0xe7))/0x5)+parseInt(_0x5d1135(0x11e))/0x6*(parseInt(_0x5d1135(0xe9))/0x7)+-parseInt(_0x5d1135(0xfa))/0x8+-parseInt(_0x5d1135(0xf5))/0x9+-parseInt(_0x5d1135(0xe5))/0xa;if(_0x3862bf===_0x1327db)break;else _0x222ab2['push'](_0x222ab2['shift']());}catch(_0x25a750){_0x222ab2['push'](_0x222ab2['shift']());}}}(_0x4a6c,0x1e748));export var ElementType;function _0x4a6c(){var _0x3c15e0=['TEXT','FRPga','sOJIK','face','LKdAK','dice','PIC','jpg','notAt','gif','memberIncrease','BJGzE','3gRHYsv','tKWdB','wyptQ','KTFEn','TLedF','WAUKl','https://multimedia.nt.qq.com.cn','INVITE_NEW_MEMBER','ZlhRt','16PAwnzZ','JfXjm','FACE','atUser','PTT','FILE','164072EyRFnN','30eogfcu','5|2|4|9|3|8|0|6|1|7','https://gchat.qpic.cn','VIDEO','KPFIp','fDiia','glpJo','yTUCz','gCnpS','RzCnQ','95710xBwjNP','REPLY','20105SZLvkq','friend','318227ipZBnT','DGSNH','ban','split','kHbog','ARK','normal2','normal','Wsqli','atAll','GnVHW','gsDlw','1423170AyLsjC','YkdGB','MEMBER_NEW_TITLE','MARKDOWN','qafjs','658984fnMsyB','group','IzZEZ','CtuOe','JSrYN','65286NKdBey','kicked','MECoz'];_0x4a6c=function(){return _0x3c15e0;};return _0x4a6c();}(function(_0x220382){var _0x87292f=_0x54ad,_0x9eaafd={'wyptQ':_0x87292f(0x11f),'gCnpS':_0x87292f(0xe6),'glpJo':'MFACE','gsDlw':_0x87292f(0x108),'FRPga':_0x87292f(0xde),'JfXjm':_0x87292f(0x11c),'WAUKl':_0x87292f(0x102),'yTUCz':_0x87292f(0xee),'kHbog':_0x87292f(0xf8),'sOJIK':_0x87292f(0x119),'ADZRu':'PTT'},_0xa659c5=_0x9eaafd[_0x87292f(0x110)][_0x87292f(0xec)]('|'),_0x2aa73c=0x0;while(!![]){switch(_0xa659c5[_0x2aa73c++]){case'0':_0x220382[_0x220382[_0x9eaafd[_0x87292f(0xe3)]]=0x7]=_0x9eaafd[_0x87292f(0xe3)];continue;case'1':_0x220382[_0x220382[_0x9eaafd[_0x87292f(0xe1)]]=0xb]=_0x9eaafd[_0x87292f(0xe1)];continue;case'2':_0x220382[_0x220382[_0x9eaafd[_0x87292f(0xf4)]]=0x2]=_0x9eaafd['gsDlw'];continue;case'3':_0x220382[_0x220382[_0x87292f(0xde)]=0x5]=_0x9eaafd[_0x87292f(0x103)];continue;case'4':_0x220382[_0x220382[_0x9eaafd['JfXjm']]=0x3]=_0x9eaafd[_0x87292f(0x118)];continue;case'5':_0x220382[_0x220382[_0x9eaafd[_0x87292f(0x113)]]=0x1]=_0x9eaafd[_0x87292f(0x113)];continue;case'6':_0x220382[_0x220382[_0x9eaafd[_0x87292f(0xe2)]]=0xa]=_0x87292f(0xee);continue;case'7':_0x220382[_0x220382[_0x9eaafd[_0x87292f(0xed)]]=0xe]=_0x9eaafd[_0x87292f(0xed)];continue;case'8':_0x220382[_0x220382[_0x9eaafd[_0x87292f(0x104)]]=0x6]=_0x87292f(0x119);continue;case'9':_0x220382[_0x220382[_0x9eaafd['ADZRu']]=0x4]=_0x87292f(0x11b);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2089ad){var _0x5e3a0e=_0x54ad,_0x3e4e7a={'tKWdB':_0x5e3a0e(0x10b),'IzZEZ':_0x5e3a0e(0x109)};_0x2089ad[_0x2089ad[_0x5e3a0e(0x10b)]=0x7d0]=_0x3e4e7a[_0x5e3a0e(0x10f)],_0x2089ad[_0x2089ad[_0x3e4e7a[_0x5e3a0e(0xfc)]]=0x3e8]=_0x3e4e7a[_0x5e3a0e(0xfc)];}(PicType||(PicType={})));export var PicSubType;(function(_0x481acf){var _0x3117f2=_0x54ad,_0x1ef693={'Wsqli':_0x3117f2(0xf0),'qafjs':_0x3117f2(0x105)};_0x481acf[_0x481acf[_0x1ef693[_0x3117f2(0xf1)]]=0x0]=_0x1ef693['Wsqli'],_0x481acf[_0x481acf[_0x1ef693[_0x3117f2(0xf9)]]=0x1]=_0x1ef693[_0x3117f2(0xf9)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x324ad7){var _0x4bd79d=_0x54ad,_0x1d6859={'YkdGB':_0x4bd79d(0x10a),'KTFEn':_0x4bd79d(0xf2),'KPFIp':_0x4bd79d(0x11a)};_0x324ad7[_0x324ad7[_0x1d6859['YkdGB']]=0x0]=_0x1d6859[_0x4bd79d(0xf6)],_0x324ad7[_0x324ad7[_0x1d6859[_0x4bd79d(0x111)]]=0x1]='atAll',_0x324ad7[_0x324ad7[_0x1d6859[_0x4bd79d(0xdf)]]=0x2]=_0x1d6859['KPFIp'];}(AtType||(AtType={})));export var ChatType;function _0x54ad(_0x4ee67d,_0x4608ed){var _0x4a6cb8=_0x4a6c();return _0x54ad=function(_0x54ad3c,_0x245d09){_0x54ad3c=_0x54ad3c-0xde;var _0x16b887=_0x4a6cb8[_0x54ad3c];return _0x16b887;},_0x54ad(_0x4ee67d,_0x4608ed);}(function(_0x59b8ab){var _0x520216=_0x54ad,_0x2cea90={'DGSNH':_0x520216(0xe8),'CtuOe':_0x520216(0xfb),'TLedF':'chatDevice','JSrYN':'temp'};_0x59b8ab[_0x59b8ab[_0x520216(0xe8)]=0x1]=_0x2cea90[_0x520216(0xea)],_0x59b8ab[_0x59b8ab[_0x2cea90[_0x520216(0xfd)]]=0x2]=_0x2cea90[_0x520216(0xfd)],_0x59b8ab[_0x59b8ab[_0x2cea90[_0x520216(0x112)]]=0x8]=_0x2cea90[_0x520216(0x112)],_0x59b8ab[_0x59b8ab[_0x2cea90['JSrYN']]=0x64]=_0x2cea90[_0x520216(0xfe)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x25ba93(0x120);export const IMAGE_HTTP_HOST_NT=_0x25ba93(0x114);export var GrayTipElementSubType;(function(_0x52bd67){var _0xd3d00=_0x25ba93,_0x1debb4={'MECoz':_0xd3d00(0x115),'BJGzE':_0xd3d00(0xf7)};_0x52bd67[_0x52bd67[_0x1debb4[_0xd3d00(0x101)]]=0xc]='INVITE_NEW_MEMBER',_0x52bd67[_0x52bd67[_0x1debb4[_0xd3d00(0x10d)]]=0x11]=_0x1debb4[_0xd3d00(0x10d)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4144b3){var _0x33dd49=_0x25ba93,_0x136fae={'fzzFm':_0x33dd49(0xef),'ZlhRt':'dice'};_0x4144b3[_0x4144b3[_0x33dd49(0xf0)]=0x1]=_0x33dd49(0xf0),_0x4144b3[_0x4144b3['normal2']=0x2]=_0x136fae['fzzFm'],_0x4144b3[_0x4144b3[_0x136fae['ZlhRt']]=0x3]=_0x136fae[_0x33dd49(0x116)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xfee145){var _0x38bc09=_0x25ba93,_0x1f9541={'LKdAK':_0x38bc09(0x107),'GnVHW':'RPS'};_0xfee145[_0xfee145[_0x38bc09(0x107)]=0x166]=_0x1f9541[_0x38bc09(0x106)],_0xfee145[_0xfee145[_0x1f9541[_0x38bc09(0xf3)]]=0x167]=_0x1f9541['GnVHW'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x585cc0){var _0x452d61=_0x25ba93,_0x2c3266={'RzCnQ':_0x452d61(0x10c),'fDiia':_0x452d61(0x100),'wXniM':_0x452d61(0xeb)};_0x585cc0[_0x585cc0[_0x2c3266[_0x452d61(0xe4)]]=0x1]=_0x2c3266['RzCnQ'],_0x585cc0[_0x585cc0[_0x2c3266[_0x452d61(0xe0)]]=0x3]=_0x2c3266[_0x452d61(0xe0)],_0x585cc0[_0x585cc0[_0x2c3266['wXniM']]=0x8]=_0x452d61(0xeb);}(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 d0e1ac4c..b424d8da 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -function _0x5315(_0x5c71b5,_0x4346a3){var _0xa7f47b=_0xa7f4();return _0x5315=function(_0x531552,_0x47f1b1){_0x531552=_0x531552-0x1a3;var _0xf91898=_0xa7f47b[_0x531552];return _0xf91898;},_0x5315(_0x5c71b5,_0x4346a3);}(function(_0x38198b,_0xf87a5b){var _0x545990=_0x5315,_0x1af105=_0x38198b();while(!![]){try{var _0x253a77=-parseInt(_0x545990(0x1ac))/0x1+parseInt(_0x545990(0x1a4))/0x2+parseInt(_0x545990(0x1a7))/0x3+-parseInt(_0x545990(0x1a3))/0x4+parseInt(_0x545990(0x1b2))/0x5*(parseInt(_0x545990(0x1c4))/0x6)+parseInt(_0x545990(0x1a8))/0x7*(-parseInt(_0x545990(0x1c6))/0x8)+-parseInt(_0x545990(0x1a9))/0x9*(-parseInt(_0x545990(0x1c0))/0xa);if(_0x253a77===_0xf87a5b)break;else _0x1af105['push'](_0x1af105['shift']());}catch(_0x295f96){_0x1af105['push'](_0x1af105['shift']());}}}(_0xa7f4,0x40619));export var GroupNotifyTypes;(function(_0x4763b9){var _0x2515bc=_0x5315,_0x5d0b2e={'dGNHG':_0x2515bc(0x1a6),'EPWKb':_0x2515bc(0x1c2),'qdoYn':'ADMIN_SET','bxmFu':_0x2515bc(0x1be),'ZKxlQ':_0x2515bc(0x1c5),'qYNgQ':_0x2515bc(0x1a5),'KGbwL':_0x2515bc(0x1b6),'AAhHL':'MEMBER_EXIT'},_0x30e99f=_0x5d0b2e[_0x2515bc(0x1b0)][_0x2515bc(0x1bb)]('|'),_0x5b88c6=0x0;while(!![]){switch(_0x30e99f[_0x5b88c6++]){case'0':_0x4763b9[_0x4763b9[_0x5d0b2e['EPWKb']]=0xc]=_0x5d0b2e['EPWKb'];continue;case'1':_0x4763b9[_0x4763b9[_0x5d0b2e[_0x2515bc(0x1b7)]]=0x8]=_0x5d0b2e[_0x2515bc(0x1b7)];continue;case'2':_0x4763b9[_0x4763b9['INVITED_JOIN']=0x4]=_0x5d0b2e[_0x2515bc(0x1b3)];continue;case'3':_0x4763b9[_0x4763b9[_0x2515bc(0x1aa)]=0x7]=_0x2515bc(0x1aa);continue;case'4':_0x4763b9[_0x4763b9['ADMIN_UNSET_OTHER']=0xd]=_0x5d0b2e[_0x2515bc(0x1b5)];continue;case'5':_0x4763b9[_0x4763b9[_0x5d0b2e['qYNgQ']]=0x1]=_0x2515bc(0x1a5);continue;case'6':_0x4763b9[_0x4763b9[_0x5d0b2e[_0x2515bc(0x1b9)]]=0x9]=_0x5d0b2e[_0x2515bc(0x1b9)];continue;case'7':_0x4763b9[_0x4763b9[_0x2515bc(0x1bc)]=0xb]=_0x5d0b2e[_0x2515bc(0x1bf)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0xa7f4(){var _0x5923c2=['138520cPbgSn','141288aFTfjW','INVITE_ME','5|2|3|1|6|7|0|4','1231596OgLmfZ','7fnERVg','3870FpmqOA','JOIN_REQUEST','WTKxh','36735WLcIHk','IGNORE','hPAsh','approve','dGNHG','XyjEu','8895zxVtzm','bxmFu','APPROVE','ZKxlQ','KICK_MEMBER','qdoYn','WAIT_HANDLE','KGbwL','reject','split','MEMBER_EXIT','paoSu','INVITED_JOIN','AAhHL','1420HiJnpp','okAEQ','ADMIN_UNSET','nmhmW','786JdAmEI','ADMIN_UNSET_OTHER','3521720DtzGsb'];_0xa7f4=function(){return _0x5923c2;};return _0xa7f4();}export var GroupNotifyStatus;(function(_0x586b48){var _0x255abf=_0x5315,_0x9dac50={'nmhmW':_0x255abf(0x1ad),'WTKxh':_0x255abf(0x1b8),'paoSu':_0x255abf(0x1b4),'XyjEu':'REJECT'};_0x586b48[_0x586b48[_0x9dac50[_0x255abf(0x1c3)]]=0x0]=_0x9dac50[_0x255abf(0x1c3)],_0x586b48[_0x586b48[_0x9dac50[_0x255abf(0x1ab)]]=0x1]=_0x9dac50[_0x255abf(0x1ab)],_0x586b48[_0x586b48[_0x255abf(0x1b4)]=0x2]=_0x9dac50[_0x255abf(0x1bd)],_0x586b48[_0x586b48[_0x9dac50[_0x255abf(0x1b1)]]=0x3]=_0x9dac50[_0x255abf(0x1b1)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x5d0503){var _0x1a3a18=_0x5315,_0x480ce9={'hPAsh':_0x1a3a18(0x1af),'okAEQ':_0x1a3a18(0x1ba)};_0x5d0503[_0x5d0503[_0x480ce9[_0x1a3a18(0x1ae)]]=0x1]=_0x480ce9['hPAsh'],_0x5d0503[_0x5d0503[_0x480ce9[_0x1a3a18(0x1c1)]]=0x2]=_0x1a3a18(0x1ba);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x7d0811,_0x9559dc){var _0x2bc126=_0x5d56,_0x2d90d0=_0x7d0811();while(!![]){try{var _0x54f71d=parseInt(_0x2bc126(0x100))/0x1+parseInt(_0x2bc126(0x10b))/0x2*(-parseInt(_0x2bc126(0x101))/0x3)+-parseInt(_0x2bc126(0x11b))/0x4*(-parseInt(_0x2bc126(0x11c))/0x5)+-parseInt(_0x2bc126(0x105))/0x6+parseInt(_0x2bc126(0x11a))/0x7*(-parseInt(_0x2bc126(0x11f))/0x8)+-parseInt(_0x2bc126(0x111))/0x9+parseInt(_0x2bc126(0x119))/0xa;if(_0x54f71d===_0x9559dc)break;else _0x2d90d0['push'](_0x2d90d0['shift']());}catch(_0x3596b4){_0x2d90d0['push'](_0x2d90d0['shift']());}}}(_0x376e,0x63684));function _0x5d56(_0x4ce3b5,_0x259540){var _0x376e4a=_0x376e();return _0x5d56=function(_0x5d5641,_0xeaf8e6){_0x5d5641=_0x5d5641-0x100;var _0x3548a5=_0x376e4a[_0x5d5641];return _0x3548a5;},_0x5d56(_0x4ce3b5,_0x259540);}export var GroupNotifyTypes;(function(_0x310d35){var _0x149231=_0x5d56,_0x252710={'NZCnw':_0x149231(0x114),'uPFzG':_0x149231(0x108),'DwNXE':_0x149231(0x116),'yCiJX':_0x149231(0x10e),'BCOxf':_0x149231(0x107),'GAGDE':'ADMIN_UNSET','OiNWa':_0x149231(0x109),'pskiF':'MEMBER_EXIT','Bpgjo':'KICK_MEMBER'},_0x5b56b2=_0x252710['NZCnw'][_0x149231(0x10f)]('|'),_0x4626e2=0x0;while(!![]){switch(_0x5b56b2[_0x4626e2++]){case'0':_0x310d35[_0x310d35[_0x252710[_0x149231(0x117)]]=0xd]=_0x252710[_0x149231(0x117)];continue;case'1':_0x310d35[_0x310d35[_0x252710[_0x149231(0x110)]]=0x7]=_0x149231(0x116);continue;case'2':_0x310d35[_0x310d35[_0x149231(0x10e)]=0x8]=_0x252710[_0x149231(0x115)];continue;case'3':_0x310d35[_0x310d35[_0x252710[_0x149231(0x106)]]=0x1]=_0x252710['BCOxf'];continue;case'4':_0x310d35[_0x310d35[_0x252710[_0x149231(0x118)]]=0xc]=_0x252710[_0x149231(0x118)];continue;case'5':_0x310d35[_0x310d35[_0x252710['OiNWa']]=0x4]=_0x252710[_0x149231(0x120)];continue;case'6':_0x310d35[_0x310d35[_0x252710['pskiF']]=0xb]='MEMBER_EXIT';continue;case'7':_0x310d35[_0x310d35[_0x252710[_0x149231(0x102)]]=0x9]=_0x252710[_0x149231(0x102)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x376e(){var _0x9f7aea=['OiNWa','551978sJCSWv','3ItdETv','Bpgjo','AUuZe','APPROVE','432372hfqjfO','BCOxf','INVITE_ME','ADMIN_UNSET_OTHER','INVITED_JOIN','hyeoQ','130286qZdFuj','approve','ewsuQ','ADMIN_SET','split','DwNXE','3269115OUxudj','rJAOJ','NhqhX','3|5|1|2|7|6|4|0','yCiJX','JOIN_REQUEST','uPFzG','GAGDE','445560MqVxpy','5509NhgopD','196492RXobeV','75HVaGho','REJECT','mfiGK','4328IfBBZw'];_0x376e=function(){return _0x9f7aea;};return _0x376e();}(function(_0x5c4ac4){var _0x545e79=_0x5d56,_0x4e37ef={'ewsuQ':'IGNORE','rJAOJ':'WAIT_HANDLE','mfiGK':_0x545e79(0x104),'NhqhX':_0x545e79(0x11d)};_0x5c4ac4[_0x5c4ac4[_0x4e37ef[_0x545e79(0x10d)]]=0x0]=_0x4e37ef['ewsuQ'],_0x5c4ac4[_0x5c4ac4[_0x4e37ef['rJAOJ']]=0x1]=_0x4e37ef[_0x545e79(0x112)],_0x5c4ac4[_0x5c4ac4[_0x4e37ef[_0x545e79(0x11e)]]=0x2]=_0x545e79(0x104),_0x5c4ac4[_0x5c4ac4[_0x4e37ef[_0x545e79(0x113)]]=0x3]=_0x545e79(0x11d);}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x8f4409){var _0x2787e0=_0x5d56,_0x3a43a0={'AUuZe':'approve','hyeoQ':'reject'};_0x8f4409[_0x8f4409[_0x2787e0(0x10c)]=0x1]=_0x3a43a0[_0x2787e0(0x103)],_0x8f4409[_0x8f4409['reject']=0x2]=_0x3a43a0[_0x2787e0(0x10a)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.d.ts b/src/core.lib/src/entities/user.d.ts index 846d8635..003391da 100644 --- a/src/core.lib/src/entities/user.d.ts +++ b/src/core.lib/src/entities/user.d.ts @@ -98,3 +98,72 @@ export interface SelfInfo extends User { } export interface Friend extends User { } +export interface UserDetailInfoByUin { + result: number; + errMsg: string; + info: { + uid: string; + qid: string; + uin: string; + nick: string; + remark: string; + longNick: string; + avatarUrl: string; + birthday_year: number; + birthday_month: number; + birthday_day: number; + sex: number; + topTime: string; + constellation: number; + shengXiao: number; + kBloodType: number; + homeTown: string; + makeFriendCareer: number; + pos: string; + eMail: string; + phoneNum: string; + college: string; + country: string; + province: string; + city: string; + postCode: string; + address: string; + isBlock: boolean; + isSpecialCareOpen: boolean; + isSpecialCareZone: boolean; + ringId: string; + regTime: number; + interest: string; + termType: number; + labels: any[]; + qqLevel: { + crownNum: number; + sunNum: number; + moonNum: number; + starNum: number; + }; + isHideQQLevel: number; + privilegeIcon: { + jumpUrl: string; + openIconList: any[]; + closeIconList: any[]; + }; + isHidePrivilegeIcon: number; + photoWall: { + picList: any[]; + }; + vipFlag: boolean; + yearVipFlag: boolean; + svipFlag: boolean; + vipLevel: number; + status: number; + qidianMasterFlag: number; + qidianCrewFlag: number; + qidianCrewFlag2: number; + extStatus: number; + recommendImgFlag: number; + disableEmojiShortCuts: number; + pendantId: string; + vipNameColorId: string; + }; +} diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 57cc6eb7..239245de 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x20f0(){var _0x596a32=['tkXaJ','637496KYYYkl','54430NqpOTl','1621160LobUPN','1443500bmFtFf','female','92739pLtdkf','6bLlxss','1099574fbtSzU','9sQCZPk','rzuLT','1862640jSGSup','unknown','male'];_0x20f0=function(){return _0x596a32;};return _0x20f0();}(function(_0x3edac8,_0x582f32){var _0x15b4cc=_0x252e,_0x180f3e=_0x3edac8();while(!![]){try{var _0x5d8d64=parseInt(_0x15b4cc(0x134))/0x1+parseInt(_0x15b4cc(0x13e))/0x2*(-parseInt(_0x15b4cc(0x135))/0x3)+-parseInt(_0x15b4cc(0x13d))/0x4+parseInt(_0x15b4cc(0x132))/0x5+-parseInt(_0x15b4cc(0x139))/0x6+parseInt(_0x15b4cc(0x136))/0x7+-parseInt(_0x15b4cc(0x131))/0x8*(-parseInt(_0x15b4cc(0x137))/0x9);if(_0x5d8d64===_0x582f32)break;else _0x180f3e['push'](_0x180f3e['shift']());}catch(_0x53512e){_0x180f3e['push'](_0x180f3e['shift']());}}}(_0x20f0,0x34f5a));function _0x252e(_0x4c5e5a,_0x11a53a){var _0x20f017=_0x20f0();return _0x252e=function(_0x252e83,_0x4f1da8){_0x252e83=_0x252e83-0x131;var _0x123500=_0x20f017[_0x252e83];return _0x123500;},_0x252e(_0x4c5e5a,_0x11a53a);}export var Sex;(function(_0xc8f9b2){var _0x1526ab=_0x252e,_0x39fc92={'tkXaJ':_0x1526ab(0x133),'rzuLT':_0x1526ab(0x13a)};_0xc8f9b2[_0xc8f9b2[_0x1526ab(0x13b)]=0x1]=_0x1526ab(0x13b),_0xc8f9b2[_0xc8f9b2[_0x39fc92[_0x1526ab(0x13c)]]=0x2]='female',_0xc8f9b2[_0xc8f9b2[_0x1526ab(0x13a)]=0xff]=_0x39fc92[_0x1526ab(0x138)];}(Sex||(Sex={}))); \ No newline at end of file +function _0x558b(){var _0x2d7a37=['2DgwsfC','unknown','male','909007aLDGTT','female','40cJboYM','550ZnNSiv','251358ZSeMNF','8507223pxiWCJ','872tNciYj','52619qqgUxw','ogIfx','110170lfkhPG','japol','2492812hWIUSA','1340913ahJZBc'];_0x558b=function(){return _0x2d7a37;};return _0x558b();}function _0x224b(_0x4468a3,_0x34c094){var _0x558b52=_0x558b();return _0x224b=function(_0x224b73,_0x5d2b99){_0x224b73=_0x224b73-0x1a4;var _0x4bd9f2=_0x558b52[_0x224b73];return _0x4bd9f2;},_0x224b(_0x4468a3,_0x34c094);}(function(_0x2d4259,_0x7994db){var _0x2f727c=_0x224b,_0x552f46=_0x2d4259();while(!![]){try{var _0x1c622e=parseInt(_0x2f727c(0x1a6))/0x1*(parseInt(_0x2f727c(0x1b3))/0x2)+-parseInt(_0x2f727c(0x1b2))/0x3+-parseInt(_0x2f727c(0x1b1))/0x4+parseInt(_0x2f727c(0x1a8))/0x5*(parseInt(_0x2f727c(0x1aa))/0x6)+-parseInt(_0x2f727c(0x1ad))/0x7*(-parseInt(_0x2f727c(0x1ac))/0x8)+-parseInt(_0x2f727c(0x1ab))/0x9+-parseInt(_0x2f727c(0x1af))/0xa*(-parseInt(_0x2f727c(0x1a9))/0xb);if(_0x1c622e===_0x7994db)break;else _0x552f46['push'](_0x552f46['shift']());}catch(_0x5b18dd){_0x552f46['push'](_0x552f46['shift']());}}}(_0x558b,0x92395));export var Sex;(function(_0x5f3282){var _0x5a90b3=_0x224b,_0x13c50c={'SLLHM':_0x5a90b3(0x1a5),'japol':_0x5a90b3(0x1a7),'ogIfx':_0x5a90b3(0x1a4)};_0x5f3282[_0x5f3282[_0x5a90b3(0x1a5)]=0x1]=_0x13c50c['SLLHM'],_0x5f3282[_0x5f3282[_0x13c50c['japol']]=0x2]=_0x13c50c[_0x5a90b3(0x1b0)],_0x5f3282[_0x5f3282[_0x13c50c[_0x5a90b3(0x1ae)]]=0xff]=_0x5a90b3(0x1a4);}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 9eb064e4..9a039682 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x116d37,_0x5e592c){var _0x5bbb28=_0x454a,_0x1c76e4=_0x116d37();while(!![]){try{var _0x1ff634=-parseInt(_0x5bbb28(0x85))/0x1*(-parseInt(_0x5bbb28(0x86))/0x2)+-parseInt(_0x5bbb28(0x8c))/0x3+parseInt(_0x5bbb28(0x8b))/0x4+-parseInt(_0x5bbb28(0x8f))/0x5*(-parseInt(_0x5bbb28(0x90))/0x6)+parseInt(_0x5bbb28(0x8e))/0x7*(-parseInt(_0x5bbb28(0x8d))/0x8)+-parseInt(_0x5bbb28(0x8a))/0x9*(parseInt(_0x5bbb28(0x89))/0xa)+parseInt(_0x5bbb28(0x88))/0xb*(parseInt(_0x5bbb28(0x87))/0xc);if(_0x1ff634===_0x5e592c)break;else _0x1c76e4['push'](_0x1c76e4['shift']());}catch(_0x1ef7b7){_0x1c76e4['push'](_0x1c76e4['shift']());}}}(_0x21ec,0x43fbc));import _0x55831d from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';function _0x21ec(){var _0x4fbdc8=['39892aevhfM','67644yKEqNS','946zJAakz','30mPEhTD','862371bChmpP','41608iIzXiF','1660878OjqsMb','1890760eDUXCq','7oRsvDt','10wxiftg','1445190hqtEEV','19Mcpmjv'];_0x21ec=function(){return _0x4fbdc8;};return _0x21ec();}export{_0x55831d as Wrapper};export*as WrapperInterface from'./wrapper';function _0x454a(_0x1d5282,_0x21c74a){var _0x21ec5a=_0x21ec();return _0x454a=function(_0x454ac9,_0xffb4a7){_0x454ac9=_0x454ac9-0x85;var _0x106f07=_0x21ec5a[_0x454ac9];return _0x106f07;},_0x454a(_0x1d5282,_0x21c74a);}export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x541b13,_0x35fccd){var _0x2154d8=_0x2911,_0x1afe69=_0x541b13();while(!![]){try{var _0x589b2c=-parseInt(_0x2154d8(0x6d))/0x1*(-parseInt(_0x2154d8(0x6c))/0x2)+parseInt(_0x2154d8(0x68))/0x3+parseInt(_0x2154d8(0x69))/0x4+-parseInt(_0x2154d8(0x6b))/0x5+parseInt(_0x2154d8(0x6f))/0x6+-parseInt(_0x2154d8(0x6e))/0x7+parseInt(_0x2154d8(0x6a))/0x8;if(_0x589b2c===_0x35fccd)break;else _0x1afe69['push'](_0x1afe69['shift']());}catch(_0x57ecd0){_0x1afe69['push'](_0x1afe69['shift']());}}}(_0x3165,0x53e34));import _0x57022c from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x3165(){var _0x305877=['2264328RzFxvl','288606ZwHgPw','22688anxzHB','2580472dlEqwD','555150SjPbQS','71054TZWPGz','7EGAMfB','4171132FUZfjM'];_0x3165=function(){return _0x305877;};return _0x3165();}export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x2911(_0x11910c,_0x354014){var _0x316599=_0x3165();return _0x2911=function(_0x291128,_0x8cc84e){_0x291128=_0x291128-0x68;var _0x2a5653=_0x316599[_0x291128];return _0x2a5653;},_0x2911(_0x11910c,_0x354014);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x57022c 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 6f613295..693a3baa 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x396a9c=_0x5711;(function(_0x3b9900,_0x33f4a0){var _0x588ac3=_0x5711,_0x543efe=_0x3b9900();while(!![]){try{var _0x2c01a4=parseInt(_0x588ac3(0x170))/0x1+parseInt(_0x588ac3(0x15e))/0x2+-parseInt(_0x588ac3(0x168))/0x3+parseInt(_0x588ac3(0x16b))/0x4*(parseInt(_0x588ac3(0x162))/0x5)+-parseInt(_0x588ac3(0x15f))/0x6+parseInt(_0x588ac3(0x16f))/0x7+-parseInt(_0x588ac3(0x163))/0x8*(parseInt(_0x588ac3(0x16a))/0x9);if(_0x2c01a4===_0x33f4a0)break;else _0x543efe['push'](_0x543efe['shift']());}catch(_0x5a7a04){_0x543efe['push'](_0x543efe['shift']());}}}(_0x5934,0x20519));function _0x5711(_0x16251b,_0x483600){var _0x59342f=_0x5934();return _0x5711=function(_0x5711ce,_0x2ddf66){_0x5711ce=_0x5711ce-0x15c;var _0x1b120a=_0x59342f[_0x5711ce];return _0x1b120a;},_0x5711(_0x16251b,_0x483600);}function _0x5934(){var _0x22877f=['onAvatarUrlUpdated','onAddMeSettingChanged','502526BIkQnR','1357560Gquxnz','onBuddyReqChange','onCheckBuddySettingResult','880SLPItf','56PBeLpP','onDelBatchBuddyInfos','onDoubtBuddyReqUnreadNumChange','onBuddyDetailInfoChange','onBuddyReqUnreadCntChange','251406WmfRFR','onBlockChanged','717525YDvGBG','5080PaBNXM','onDoubtBuddyReqChange','onNickUpdated','onBuddyRemarkUpdated','1848770RfAkqi','261621sSziIL','onBuddyListChange','onBuddyInfoChange'];_0x5934=function(){return _0x22877f;};return _0x5934();}export class BuddyListener{['onAddBuddyNeedVerify'](_0xa5bda5){}[_0x396a9c(0x15d)](_0x179023){}[_0x396a9c(0x15c)](_0x13f40e){}[_0x396a9c(0x169)](_0x365872){}[_0x396a9c(0x166)](_0x338b7e){}[_0x396a9c(0x172)](_0x2659d8){}[_0x396a9c(0x171)](_0x6c33cf){}[_0x396a9c(0x16e)](_0x4ea2c2){}[_0x396a9c(0x160)](_0xee7268){}[_0x396a9c(0x167)](_0x58b32a){}[_0x396a9c(0x161)](_0x5c997c){}[_0x396a9c(0x164)](_0x271174){}[_0x396a9c(0x16c)](_0xac5cba){}[_0x396a9c(0x165)](_0x124592){}[_0x396a9c(0x16d)](_0x364105){}['onSmartInfos'](_0xb6b04b){}['onSpacePermissionInfos'](_0x3dff96){}} \ No newline at end of file +var _0x3261e9=_0x25da;function _0x25da(_0x4acf6b,_0x524728){var _0x4a1c20=_0x4a1c();return _0x25da=function(_0x25dabc,_0xc8d457){_0x25dabc=_0x25dabc-0x12e;var _0x2d5a0a=_0x4a1c20[_0x25dabc];return _0x2d5a0a;},_0x25da(_0x4acf6b,_0x524728);}(function(_0x2ac88b,_0x2ea05d){var _0x5c767=_0x25da,_0x36cfa6=_0x2ac88b();while(!![]){try{var _0x27cb5d=parseInt(_0x5c767(0x136))/0x1+-parseInt(_0x5c767(0x137))/0x2+parseInt(_0x5c767(0x131))/0x3+-parseInt(_0x5c767(0x13f))/0x4+parseInt(_0x5c767(0x134))/0x5+-parseInt(_0x5c767(0x132))/0x6+parseInt(_0x5c767(0x138))/0x7;if(_0x27cb5d===_0x2ea05d)break;else _0x36cfa6['push'](_0x36cfa6['shift']());}catch(_0x5e47ea){_0x36cfa6['push'](_0x36cfa6['shift']());}}}(_0x4a1c,0x6dea4));function _0x4a1c(){var _0x37142e=['onSmartInfos','onBlockChanged','onBuddyReqChange','onBuddyDetailInfoChange','1029921WHHwWZ','2865234HeJslG','onAddMeSettingChanged','1892405jLGijL','onNickUpdated','53073ATQIHq','1138794YdnQeC','7662767TOGxtq','onSpacePermissionInfos','onAddBuddyNeedVerify','onDoubtBuddyReqUnreadNumChange','onCheckBuddySettingResult','onBuddyInfoChange','onBuddyListChange','1489576ZcqAes'];_0x4a1c=function(){return _0x37142e;};return _0x4a1c();}export class BuddyListener{[_0x3261e9(0x13a)](_0x3b9999){}[_0x3261e9(0x133)](_0x2e4231){}['onAvatarUrlUpdated'](_0x1d4b33){}[_0x3261e9(0x12e)](_0x2086d7){}[_0x3261e9(0x130)](_0x3204d4){}[_0x3261e9(0x13d)](_0x44b810){}[_0x3261e9(0x13e)](_0x272484){}['onBuddyRemarkUpdated'](_0x17273f){}[_0x3261e9(0x12f)](_0x932bc6){}['onBuddyReqUnreadCntChange'](_0x3422b0){}[_0x3261e9(0x13c)](_0x3cd4b2){}['onDelBatchBuddyInfos'](_0x3000b0){}['onDoubtBuddyReqChange'](_0xf23596){}[_0x3261e9(0x13b)](_0x10adab){}[_0x3261e9(0x135)](_0x27c6ac){}[_0x3261e9(0x140)](_0x305895){}[_0x3261e9(0x139)](_0x12f358){}} \ 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 1924c290..b2ae9a40 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x126f4d=_0x5b91;function _0x5b91(_0x2de800,_0x27905d){var _0x12384a=_0x1238();return _0x5b91=function(_0x5b91fe,_0x27df32){_0x5b91fe=_0x5b91fe-0x17b;var _0x2523a8=_0x12384a[_0x5b91fe];return _0x2523a8;},_0x5b91(_0x2de800,_0x27905d);}function _0x1238(){var _0x33d4ba=['32WFlfiT','14745UpzSox','3077405clJTvB','296583JQbgoI','onFileListChanged','onSessionChanged','4527792irtiHh','356yyqRqq','onSessionListChanged','onFileStatusChanged','4399083viYBsx','onFileSearch','1531434ioXMYP','84978vlOreC'];_0x1238=function(){return _0x33d4ba;};return _0x1238();}(function(_0x22ec27,_0x3284de){var _0x26b312=_0x5b91,_0x5ea61c=_0x22ec27();while(!![]){try{var _0x539a90=parseInt(_0x26b312(0x17b))/0x1+-parseInt(_0x26b312(0x188))/0x2+parseInt(_0x26b312(0x17d))/0x3*(parseInt(_0x26b312(0x183))/0x4)+-parseInt(_0x26b312(0x17e))/0x5+-parseInt(_0x26b312(0x182))/0x6+parseInt(_0x26b312(0x17f))/0x7+-parseInt(_0x26b312(0x17c))/0x8*(-parseInt(_0x26b312(0x186))/0x9);if(_0x539a90===_0x3284de)break;else _0x5ea61c['push'](_0x5ea61c['shift']());}catch(_0x2b8d89){_0x5ea61c['push'](_0x5ea61c['shift']());}}}(_0x1238,0x5dc64));export class KernelFileAssistantListener{[_0x126f4d(0x185)](..._0x5251bb){}[_0x126f4d(0x184)](..._0x4e091c){}[_0x126f4d(0x181)](..._0xd5935e){}[_0x126f4d(0x180)](..._0x360ed0){}[_0x126f4d(0x187)](..._0x44a245){}} \ No newline at end of file +var _0x48f75f=_0x50f6;(function(_0x1a1898,_0x4a751e){var _0x214528=_0x50f6,_0x3d6479=_0x1a1898();while(!![]){try{var _0x50d730=parseInt(_0x214528(0x119))/0x1+-parseInt(_0x214528(0x114))/0x2*(parseInt(_0x214528(0x115))/0x3)+parseInt(_0x214528(0x117))/0x4*(-parseInt(_0x214528(0x118))/0x5)+-parseInt(_0x214528(0x11e))/0x6+-parseInt(_0x214528(0x112))/0x7*(-parseInt(_0x214528(0x11f))/0x8)+parseInt(_0x214528(0x111))/0x9*(-parseInt(_0x214528(0x116))/0xa)+parseInt(_0x214528(0x11d))/0xb*(parseInt(_0x214528(0x110))/0xc);if(_0x50d730===_0x4a751e)break;else _0x3d6479['push'](_0x3d6479['shift']());}catch(_0x3c180a){_0x3d6479['push'](_0x3d6479['shift']());}}}(_0x4c71,0x2707a));function _0x50f6(_0x5d7ece,_0x23b66){var _0x4c71e6=_0x4c71();return _0x50f6=function(_0x50f698,_0x21f9b2){_0x50f698=_0x50f698-0x110;var _0x40424b=_0x4c71e6[_0x50f698];return _0x40424b;},_0x50f6(_0x5d7ece,_0x23b66);}function _0x4c71(){var _0x518655=['344imwMhZ','478020vywqkp','487764AmsWpx','32543hYXWOX','onFileStatusChanged','74110PfhtyY','3kqtcDX','30cyMorN','6980jzEKlQ','665VUHXAE','230079kKHVjM','onFileListChanged','onFileSearch','onSessionListChanged','55ULkYXB','225402eHQZRZ'];_0x4c71=function(){return _0x518655;};return _0x4c71();}export class KernelFileAssistantListener{[_0x48f75f(0x113)](..._0x480017){}[_0x48f75f(0x11c)](..._0xa0dff8){}['onSessionChanged'](..._0x4efa91){}[_0x48f75f(0x11a)](..._0x25aeb8){}[_0x48f75f(0x11b)](..._0x28f471){}} \ 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 2016a8de..f259ca56 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x4b591e=_0x104a;(function(_0xe7e0a,_0x2b2af3){var _0x671be6=_0x104a,_0x2293f5=_0xe7e0a();while(!![]){try{var _0x45ab92=-parseInt(_0x671be6(0x118))/0x1+parseInt(_0x671be6(0x103))/0x2+parseInt(_0x671be6(0x119))/0x3+parseInt(_0x671be6(0x10f))/0x4*(-parseInt(_0x671be6(0x117))/0x5)+-parseInt(_0x671be6(0x110))/0x6+-parseInt(_0x671be6(0xf7))/0x7+-parseInt(_0x671be6(0x112))/0x8*(-parseInt(_0x671be6(0x114))/0x9);if(_0x45ab92===_0x2b2af3)break;else _0x2293f5['push'](_0x2293f5['shift']());}catch(_0x44e943){_0x2293f5['push'](_0x2293f5['shift']());}}}(_0x3433,0xd6b07));function _0x104a(_0x261b66,_0x4dcff2){var _0x3433bb=_0x3433();return _0x104a=function(_0x104a6c,_0x2318e4){_0x104a6c=_0x104a6c-0xde;var _0xe34317=_0x3433bb[_0x104a6c];return _0xe34317;},_0x104a(_0x261b66,_0x4dcff2);}function _0x3433(){var _0x536fd0=['onGroupBulletinRichMediaProgressUpdate:','6431299fyJbsw','ctTQj','QBtsm','onJoinGroupNotify:','onGroupStatisticInfoChange','onGroupNotifiesUpdated','onMemberListChange','onGroupSingleScreenNotifies:','onGroupExtListUpdate','onGroupMemberLevelInfoChange:','onGroupDetailInfoChange','VrEFU','116920wapwzH','mZutC','onGroupNotifiesUnreadCountUpdated','onGroupNotifiesUnreadCountUpdated:','onGroupSingleScreenNotifies','GXvov','onGroupAllInfoChange','onGroupAllInfoChange:','onGroupBulletinRichMediaProgressUpdate','onSearchMemberChange','onGroupNotifiesUpdated:','onGroupConfMemberChange:','329876iKjdlv','5863860HBqIKV','onGroupBulletinRichMediaDownloadComplete','8oSYOsc','onMemberInfoChange:','23163219qlxZDZ','onJoinGroupNotify','onGroupFirstBulletinNotify','10yrCTWY','740770VXmMLY','3146973hUrQrv','onGroupBulletinRemindNotify:','onGetGroupBulletinListResult','onGroupConfMemberChange','onMemberListChange:','TGCXn','onGroupDetailInfoChange:','rHyvq','onGroupStatisticInfoChange:','onGroupListUpdate','onJoinGroupNoVerifyFlag:','gKuyL','EheFX','onGroupsMsgMaskResult:','onGetGroupBulletinListResult:','hEGnN','ZTwAQ','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinChange:','onShutUpMemberListChanged','YfHYs','fcmmW','onMemberInfoChange','onJoinGroupNoVerifyFlag','CBVNF','onGroupsMsgMaskResult','onGroupFirstBulletinNotify:','onGroupExtListUpdate:','onGroupListUpdate:','onGroupBulletinChange','onGroupArkInviteStateResult','log','onShutUpMemberListChanged:','onGroupBulletinRemindNotify'];_0x3433=function(){return _0x536fd0;};return _0x3433();}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x3e55c2){}[_0x4b591e(0x11b)](..._0x1c9069){}[_0x4b591e(0x109)](..._0x5c695a){}['onGroupBulletinChange'](..._0x1ca565){}[_0x4b591e(0xf5)](..._0x10ea86){}[_0x4b591e(0xf2)](..._0x27e0ee){}[_0x4b591e(0x111)](..._0x37e94c){}[_0x4b591e(0x11c)](..._0x5032af){}[_0x4b591e(0x101)](..._0x2ae3b4){}[_0x4b591e(0xff)](..._0x4cdda4){}[_0x4b591e(0x116)](..._0x5b8301){}[_0x4b591e(0x122)](_0x23bf6b,_0x36f444){}['onGroupNotifiesUpdated'](_0x5bbd49,_0x5e0d10){}[_0x4b591e(0x10b)](..._0x4d8747){}[_0x4b591e(0x105)](..._0x5eb236){}[_0x4b591e(0x107)](_0x168983,_0xef8b66,_0x4330f4){}[_0x4b591e(0xed)](..._0x267030){}[_0x4b591e(0xfb)](..._0x36bcf6){}[_0x4b591e(0x115)](..._0x496e2b){}[_0x4b591e(0xeb)](..._0x52b437){}[_0x4b591e(0xea)](_0x13857a,_0x28b375,_0xa94cbc){}[_0x4b591e(0xfd)](_0x57fac4){}[_0x4b591e(0x10c)](..._0x2cd358){}[_0x4b591e(0xe7)](..._0x3ed4ee){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x319c59){var _0x2a3fac=_0x4b591e,_0x5a06c7={'ctTQj':_0x2a3fac(0x100)};console['log'](_0x5a06c7[_0x2a3fac(0xf8)],..._0x319c59);}[_0x4b591e(0x11b)](..._0x2906fe){var _0x29d8fa=_0x4b591e,_0x5d52fe={'hEGnN':_0x29d8fa(0xe2)};console[_0x29d8fa(0xf3)](_0x5d52fe[_0x29d8fa(0xe3)],..._0x2906fe);}[_0x4b591e(0x109)](..._0x10b832){var _0x28aa26=_0x4b591e,_0x369438={'QBtsm':_0x28aa26(0x10a)};console[_0x28aa26(0xf3)](_0x369438[_0x28aa26(0xf9)],..._0x10b832);}[_0x4b591e(0xf1)](..._0x8d6b4){var _0x1b523e=_0x4b591e,_0x216d4b={'gKuyL':_0x1b523e(0xe6)};console[_0x1b523e(0xf3)](_0x216d4b[_0x1b523e(0xdf)],..._0x8d6b4);}[_0x4b591e(0xf5)](..._0x2133bb){var _0x52a464=_0x4b591e,_0xf724c4={'gNQth':_0x52a464(0x11a)};console[_0x52a464(0xf3)](_0xf724c4['gNQth'],..._0x2133bb);}[_0x4b591e(0xf2)](..._0x27c988){var _0x23ec3a=_0x4b591e,_0x3287a3={'EheFX':'onGroupArkInviteStateResult:'};console['log'](_0x3287a3[_0x23ec3a(0xe0)],..._0x27c988);}[_0x4b591e(0x111)](..._0x3b0139){var _0x4e08b5=_0x4b591e,_0x1c2b6d={'ovqZp':_0x4e08b5(0xe5)};console['log'](_0x1c2b6d['ovqZp'],..._0x3b0139);}[_0x4b591e(0x11c)](..._0x277924){var _0x108879=_0x4b591e;console[_0x108879(0xf3)](_0x108879(0x10e),..._0x277924);}[_0x4b591e(0x101)](..._0x210e76){var _0x396de0=_0x4b591e;console[_0x396de0(0xf3)](_0x396de0(0x11f),..._0x210e76);}[_0x4b591e(0xff)](..._0x1c367c){var _0x8e882e=_0x4b591e;console[_0x8e882e(0xf3)](_0x8e882e(0xef),..._0x1c367c);}[_0x4b591e(0x116)](..._0x35309d){var _0x4e72d1=_0x4b591e,_0x1b4939={'GXvov':_0x4e72d1(0xee)};console['log'](_0x1b4939[_0x4e72d1(0x108)],..._0x35309d);}[_0x4b591e(0x122)](..._0x2cceec){var _0x2517f4=_0x4b591e,_0x1f6426={'lAgLC':_0x2517f4(0xf0)};console[_0x2517f4(0xf3)](_0x1f6426['lAgLC'],..._0x2cceec);}[_0x4b591e(0xfc)](..._0x6bf354){var _0x499c56=_0x4b591e;console[_0x499c56(0xf3)](_0x499c56(0x10d),..._0x6bf354);}['onGroupBulletinRichMediaProgressUpdate'](..._0x1d5e92){var _0x5f14a4=_0x4b591e;console[_0x5f14a4(0xf3)](_0x5f14a4(0xf6),..._0x1d5e92);}[_0x4b591e(0x105)](..._0x275d17){var _0x475255=_0x4b591e,_0x55744b={'wfcKK':_0x475255(0x106)};console['log'](_0x55744b['wfcKK'],..._0x275d17);}[_0x4b591e(0x107)](_0x415f26,_0xfa5c74,_0x3d01df){var _0x145ff2=_0x4b591e,_0x2f9df6={'VrEFU':_0x145ff2(0xfe)};console[_0x145ff2(0xf3)](_0x2f9df6[_0x145ff2(0x102)]);}[_0x4b591e(0xed)](..._0x430d4b){var _0x31d3ef=_0x4b591e,_0x1f9cbb={'mZutC':_0x31d3ef(0xe1)};console[_0x31d3ef(0xf3)](_0x1f9cbb[_0x31d3ef(0x104)],..._0x430d4b);}[_0x4b591e(0xfb)](..._0x1049c1){var _0x5d9bcc=_0x4b591e,_0x4845c2={'TGCXn':_0x5d9bcc(0x121)};console[_0x5d9bcc(0xf3)](_0x4845c2[_0x5d9bcc(0x11e)],..._0x1049c1);}[_0x4b591e(0x115)](..._0x297aa3){var _0x39cde0=_0x4b591e,_0x8a8f81={'ZTwAQ':_0x39cde0(0xfa)};console[_0x39cde0(0xf3)](_0x8a8f81[_0x39cde0(0xe4)],..._0x297aa3);}[_0x4b591e(0xeb)](..._0x23476c){var _0x133c24=_0x4b591e,_0xdffec7={'rHyvq':_0x133c24(0xde)};console[_0x133c24(0xf3)](_0xdffec7[_0x133c24(0x120)],..._0x23476c);}[_0x4b591e(0xea)](_0x38b102,_0x8dac23,_0x2c4718){var _0x2c0cac=_0x4b591e,_0x15bf44={'YfHYs':_0x2c0cac(0x113)};console[_0x2c0cac(0xf3)](_0x15bf44[_0x2c0cac(0xe8)],_0x38b102,_0x8dac23,_0x2c4718);}['onMemberListChange'](..._0x1d3e14){var _0x2222ef=_0x4b591e,_0x50143c={'fcmmW':_0x2222ef(0x11d)};console[_0x2222ef(0xf3)](_0x50143c[_0x2222ef(0xe9)],..._0x1d3e14);}[_0x4b591e(0x10c)](..._0x44a408){var _0x2cb5b9=_0x4b591e,_0x1f56bb={'CBVNF':'onSearchMemberChange:'};console[_0x2cb5b9(0xf3)](_0x1f56bb[_0x2cb5b9(0xec)],..._0x44a408);}[_0x4b591e(0xe7)](..._0x18b2f6){var _0x41da6b=_0x4b591e;console[_0x41da6b(0xf3)](_0x41da6b(0xf4),..._0x18b2f6);}} \ No newline at end of file +var _0x255299=_0x47c3;(function(_0x5b6e91,_0xe06e90){var _0x2c8277=_0x47c3,_0x3fe9a8=_0x5b6e91();while(!![]){try{var _0x1c730e=-parseInt(_0x2c8277(0xb3))/0x1*(-parseInt(_0x2c8277(0xc2))/0x2)+-parseInt(_0x2c8277(0xb5))/0x3+-parseInt(_0x2c8277(0xd8))/0x4*(parseInt(_0x2c8277(0xd5))/0x5)+-parseInt(_0x2c8277(0xdb))/0x6+parseInt(_0x2c8277(0xdc))/0x7*(-parseInt(_0x2c8277(0xc0))/0x8)+-parseInt(_0x2c8277(0xd7))/0x9+parseInt(_0x2c8277(0xce))/0xa*(parseInt(_0x2c8277(0xca))/0xb);if(_0x1c730e===_0xe06e90)break;else _0x3fe9a8['push'](_0x3fe9a8['shift']());}catch(_0x3b7c4e){_0x3fe9a8['push'](_0x3fe9a8['shift']());}}}(_0x2686,0x267a3));function _0x2686(){var _0x438e3a=['onGroupDetailInfoChange:','757323VfpywX','432364fTmhIm','onGroupListUpdate','onGroupFirstBulletinNotify:','184182hKLeJv','742iohCEj','onMemberListChange','oEwdL','onGroupListUpdate:','onMemberInfoChange','UPhoI','onGroupBulletinRemindNotify','onGroupStatisticInfoChange:','onGroupNotifiesUpdated:','DedFW','OeNqQ','onGroupFirstBulletinNotify','lPDFA','onGetGroupBulletinListResult:','onGroupConfMemberChange','HimRP','onGroupMemberLevelInfoChange','onGroupNotifiesUnreadCountUpdated:','ECCQf','onGroupNotifiesUnreadCountUpdated','onGroupsMsgMaskResult:','NJGKF','onGetGroupBulletinListResult','onGroupBulletinChange','onGroupMemberLevelInfoChange:','onGroupsMsgMaskResult','onShutUpMemberListChanged','onMemberInfoChange:','1832oaZmCk','skBuu','464382wCCodp','UfNOa','onGroupExtListUpdate:','onGroupBulletinChange:','onSearchMemberChange','log','onGroupSingleScreenNotifies:','pvBbJ','uGZfc','onGroupSingleScreenNotifies','onGroupDetailInfoChange','1736lEiVQM','sWLhM','158zRjuLL','onGroupStatisticInfoChange','onGroupAllInfoChange:','onJoinGroupNoVerifyFlag:','onJoinGroupNotify','onMemberListChange:','onGroupArkInviteStateResult','NKSxb','121sZSngn','onJoinGroupNotify:','onGroupBulletinRemindNotify:','onJoinGroupNoVerifyFlag','474270pPOfwj','onGroupAllInfoChange','onGroupBulletinRichMediaProgressUpdate','onGroupNotifiesUpdated','onGroupBulletinRichMediaDownloadComplete','orxHd','onSearchMemberChange:','10RFQhpO'];_0x2686=function(){return _0x438e3a;};return _0x2686();}function _0x47c3(_0x2e0159,_0xc4e94c){var _0x268631=_0x2686();return _0x47c3=function(_0x47c326,_0x5f5c13){_0x47c326=_0x47c326-0x9d;var _0x159f82=_0x268631[_0x47c326];return _0x159f82;},_0x47c3(_0x2e0159,_0xc4e94c);}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x49b404){}[_0x255299(0xad)](..._0x39a8a1){}['onGroupAllInfoChange'](..._0x353dbf){}[_0x255299(0xae)](..._0x28d7d5){}[_0x255299(0x9d)](..._0x2676b8){}[_0x255299(0xc8)](..._0xf6a81e){}[_0x255299(0xd2)](..._0x37f655){}[_0x255299(0xa5)](..._0x3b78a8){}[_0x255299(0xbf)](..._0x2051e2){}['onGroupExtListUpdate'](..._0xea9c3c){}[_0x255299(0xa2)](..._0x15e0dc){}[_0x255299(0xd9)](_0x338faf,_0x2c19dc){}[_0x255299(0xd1)](_0x59b754,_0x3e49d4){}[_0x255299(0xd0)](..._0x4131f1){}[_0x255299(0xaa)](..._0x49896a){}[_0x255299(0xbe)](_0x423a02,_0x2cd5ed,_0x4367ea){}[_0x255299(0xb0)](..._0x45d21e){}[_0x255299(0xc3)](..._0x4c2ec3){}[_0x255299(0xc6)](..._0x4b9a5b){}[_0x255299(0xcd)](..._0x29bf15){}['onMemberInfoChange'](_0x433170,_0x2aab9d,_0x288aa3){}[_0x255299(0xdd)](_0x32e69b){}[_0x255299(0xb9)](..._0xc504ee){}[_0x255299(0xb1)](..._0x18a1ea){}}export class DebugGroupListener{[_0x255299(0xa7)](..._0x40450d){var _0x50adfb=_0x255299,_0x58d912={'OeNqQ':_0x50adfb(0xaf)};console[_0x50adfb(0xba)](_0x58d912[_0x50adfb(0xa1)],..._0x40450d);}[_0x255299(0xad)](..._0x3b6850){var _0x742e84=_0x255299,_0x18faa9={'NJGKF':_0x742e84(0xa4)};console['log'](_0x18faa9[_0x742e84(0xac)],..._0x3b6850);}[_0x255299(0xcf)](..._0x377603){var _0x3d71a0=_0x255299,_0x1937c0={'DedFW':_0x3d71a0(0xc4)};console[_0x3d71a0(0xba)](_0x1937c0[_0x3d71a0(0xa0)],..._0x377603);}[_0x255299(0xae)](..._0x551154){var _0x248761=_0x255299,_0x379250={'UfNOa':_0x248761(0xb8)};console[_0x248761(0xba)](_0x379250[_0x248761(0xb6)],..._0x551154);}[_0x255299(0x9d)](..._0x516c35){var _0x936cf1=_0x255299;console[_0x936cf1(0xba)](_0x936cf1(0xcc),..._0x516c35);}['onGroupArkInviteStateResult'](..._0x1f0a26){var _0x5c0f8d=_0x255299,_0x5f08b5={'lPDFA':'onGroupArkInviteStateResult:'};console[_0x5c0f8d(0xba)](_0x5f08b5[_0x5c0f8d(0xa3)],..._0x1f0a26);}[_0x255299(0xd2)](..._0x4f4d4d){var _0x1af22f={'lUUPW':'onGroupBulletinRichMediaDownloadComplete:'};console['log'](_0x1af22f['lUUPW'],..._0x4f4d4d);}[_0x255299(0xa5)](..._0x4a6f9a){var _0x247a25=_0x255299,_0x1f5cee={'oEwdL':'onGroupConfMemberChange:'};console[_0x247a25(0xba)](_0x1f5cee[_0x247a25(0xde)],..._0x4a6f9a);}['onGroupDetailInfoChange'](..._0x431f1e){var _0x23ae39=_0x255299;console[_0x23ae39(0xba)](_0x23ae39(0xd6),..._0x431f1e);}['onGroupExtListUpdate'](..._0x3c5c3c){var _0x50cf88=_0x255299,_0x1a6247={'uGZfc':_0x50cf88(0xb7)};console[_0x50cf88(0xba)](_0x1a6247[_0x50cf88(0xbd)],..._0x3c5c3c);}[_0x255299(0xa2)](..._0x54d2c5){var _0x4407a0=_0x255299,_0x460d79={'ECCQf':_0x4407a0(0xda)};console[_0x4407a0(0xba)](_0x460d79[_0x4407a0(0xa9)],..._0x54d2c5);}[_0x255299(0xd9)](..._0x35536b){var _0x1f9792=_0x255299;console[_0x1f9792(0xba)](_0x1f9792(0xdf),..._0x35536b);}['onGroupNotifiesUpdated'](..._0x392649){var _0x3be917=_0x255299,_0x5ad882={'sWLhM':_0x3be917(0x9f)};console[_0x3be917(0xba)](_0x5ad882[_0x3be917(0xc1)],..._0x392649);}['onGroupBulletinRichMediaProgressUpdate'](..._0x54dbd1){var _0x5e1dde=_0x255299,_0x11a74c={'UPhoI':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x5e1dde(0xba)](_0x11a74c[_0x5e1dde(0xe1)],..._0x54dbd1);}[_0x255299(0xaa)](..._0x316b9e){var _0x15c8c=_0x255299,_0x438927={'NKSxb':_0x15c8c(0xa8)};console[_0x15c8c(0xba)](_0x438927[_0x15c8c(0xc9)],..._0x316b9e);}[_0x255299(0xbe)](_0x417967,_0x3b0266,_0x4a7557){var _0x19125a=_0x255299,_0x8fe9a0={'HimRP':_0x19125a(0xbb)};console[_0x19125a(0xba)](_0x8fe9a0[_0x19125a(0xa6)]);}[_0x255299(0xb0)](..._0x1e4898){var _0x3d62a6=_0x255299;console[_0x3d62a6(0xba)](_0x3d62a6(0xab),..._0x1e4898);}[_0x255299(0xc3)](..._0xd5e231){var _0x5d4230=_0x255299;console[_0x5d4230(0xba)](_0x5d4230(0x9e),..._0xd5e231);}[_0x255299(0xc6)](..._0x47fc3b){var _0x314fad=_0x255299,_0x19978d={'pvBbJ':_0x314fad(0xcb)};console[_0x314fad(0xba)](_0x19978d[_0x314fad(0xbc)],..._0x47fc3b);}[_0x255299(0xcd)](..._0x3c5ca9){var _0x281218=_0x255299,_0x590ac9={'orxHd':_0x281218(0xc5)};console[_0x281218(0xba)](_0x590ac9[_0x281218(0xd3)],..._0x3c5ca9);}[_0x255299(0xe0)](_0x26fdec,_0x10b1a1,_0xcb0dd4){var _0xa67834=_0x255299;console[_0xa67834(0xba)](_0xa67834(0xb2),_0x26fdec,_0x10b1a1,_0xcb0dd4);}[_0x255299(0xdd)](..._0x58ee95){var _0x2c9a14=_0x255299,_0x42cd4d={'wCgBp':_0x2c9a14(0xc7)};console[_0x2c9a14(0xba)](_0x42cd4d['wCgBp'],..._0x58ee95);}[_0x255299(0xb9)](..._0x224f9b){var _0x5083b6=_0x255299;console['log'](_0x5083b6(0xd4),..._0x224f9b);}[_0x255299(0xb1)](..._0xcb2b7a){var _0x490c89=_0x255299,_0x5442af={'skBuu':'onShutUpMemberListChanged:'};console[_0x490c89(0xba)](_0x5442af[_0x490c89(0xb4)],..._0xcb2b7a);}} \ 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 38be6836..411a7fea 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x49b68d=_0x5e51;(function(_0x41125d,_0x325cca){var _0x4d71c6=_0x5e51,_0x3a4c1a=_0x41125d();while(!![]){try{var _0xdba51f=-parseInt(_0x4d71c6(0x158))/0x1+-parseInt(_0x4d71c6(0x162))/0x2+parseInt(_0x4d71c6(0x16b))/0x3+-parseInt(_0x4d71c6(0x165))/0x4+-parseInt(_0x4d71c6(0x169))/0x5*(parseInt(_0x4d71c6(0x15d))/0x6)+parseInt(_0x4d71c6(0x15e))/0x7*(-parseInt(_0x4d71c6(0x15c))/0x8)+parseInt(_0x4d71c6(0x15b))/0x9;if(_0xdba51f===_0x325cca)break;else _0x3a4c1a['push'](_0x3a4c1a['shift']());}catch(_0x438a4e){_0x3a4c1a['push'](_0x3a4c1a['shift']());}}}(_0x4db6,0x954f1));function _0x5e51(_0x2acc30,_0x3e3532){var _0x4db6c0=_0x4db6();return _0x5e51=function(_0x5e5156,_0x3bd4bf){_0x5e5156=_0x5e5156-0x158;var _0x24ae1d=_0x4db6c0[_0x5e5156];return _0x24ae1d;},_0x5e51(_0x2acc30,_0x3e3532);}function _0x4db6(){var _0x1f1665=['8vQxDza','2688OxobRM','6968948YflKoL','OnConfirmUnusualDeviceFailed','onLogoutFailed','onQRCodeGetPicture','1186624QCBrAl','onLoginFailed','onLoginState','2794744pEpvmb','onLoginConnecting','onQRCodeSessionFailed','onQRCodeLoginPollingStarted','12430USnqci','onLoginDisConnected','2558469jwhtSX','onQQLoginNumLimited','onPasswordLoginFailed','onLogoutSucceed','onUserLoggedIn','onQRCodeLoginSucceed','595876qoseaQ','onQRCodeSessionUserScaned','onLoginConnected','33803208YvCBqs'];_0x4db6=function(){return _0x1f1665;};return _0x4db6();}export class LoginListener{[_0x49b68d(0x15a)](..._0x3de65d){}[_0x49b68d(0x16a)](..._0x21becf){}[_0x49b68d(0x166)](..._0x2aab3a){}[_0x49b68d(0x161)](_0x39ad95){}[_0x49b68d(0x168)](..._0x4a6254){}[_0x49b68d(0x159)](..._0x42a602){}[_0x49b68d(0x170)](_0x4c2d86){}[_0x49b68d(0x167)](..._0x1cf511){}[_0x49b68d(0x163)](..._0x162507){}[_0x49b68d(0x16e)](..._0x3590c7){}[_0x49b68d(0x160)](..._0x4688c8){}[_0x49b68d(0x16f)](..._0x5099be){}['onQRCodeSessionQuickLoginFailed'](..._0x9c02ba){}[_0x49b68d(0x16d)](..._0x34f709){}[_0x49b68d(0x15f)](..._0x2692fc){}[_0x49b68d(0x16c)](..._0x44b76d){}[_0x49b68d(0x164)](..._0x2ff1fc){}} \ No newline at end of file +var _0x18e8ae=_0x473b;function _0x473b(_0x1c8f90,_0x1a4943){var _0x53c582=_0x53c5();return _0x473b=function(_0x473bdf,_0x2df098){_0x473bdf=_0x473bdf-0x144;var _0x1914df=_0x53c582[_0x473bdf];return _0x1914df;},_0x473b(_0x1c8f90,_0x1a4943);}(function(_0x208fd4,_0x3dc67a){var _0xeebc33=_0x473b,_0x4c8d2b=_0x208fd4();while(!![]){try{var _0x678bff=parseInt(_0xeebc33(0x156))/0x1+parseInt(_0xeebc33(0x151))/0x2+parseInt(_0xeebc33(0x158))/0x3*(-parseInt(_0xeebc33(0x14c))/0x4)+-parseInt(_0xeebc33(0x145))/0x5+-parseInt(_0xeebc33(0x149))/0x6+-parseInt(_0xeebc33(0x14b))/0x7+-parseInt(_0xeebc33(0x14a))/0x8*(-parseInt(_0xeebc33(0x144))/0x9);if(_0x678bff===_0x3dc67a)break;else _0x4c8d2b['push'](_0x4c8d2b['shift']());}catch(_0x105c90){_0x4c8d2b['push'](_0x4c8d2b['shift']());}}}(_0x53c5,0xc000c));export class LoginListener{[_0x18e8ae(0x157)](..._0x347768){}['onLoginDisConnected'](..._0x59dfda){}[_0x18e8ae(0x146)](..._0xcbe7bf){}[_0x18e8ae(0x159)](_0x122b7c){}[_0x18e8ae(0x14d)](..._0x2a264c){}[_0x18e8ae(0x150)](..._0x80444e){}['onQRCodeLoginSucceed'](_0x154cbc){}[_0x18e8ae(0x153)](..._0x2273ff){}[_0x18e8ae(0x147)](..._0x11c8a8){}[_0x18e8ae(0x14e)](..._0x1b6dd6){}['onLogoutFailed'](..._0x41b867){}['onUserLoggedIn'](..._0x548ede){}[_0x18e8ae(0x154)](..._0x3c4c39){}[_0x18e8ae(0x148)](..._0x3053d6){}[_0x18e8ae(0x152)](..._0x3676bb){}[_0x18e8ae(0x155)](..._0x1c37ec){}[_0x18e8ae(0x14f)](..._0x412c6d){}}function _0x53c5(){var _0x499bb=['5240291xSNkXz','440gVcmGY','onQRCodeLoginPollingStarted','onLogoutSucceed','onLoginState','onQRCodeSessionUserScaned','1573278IbbVrQ','OnConfirmUnusualDeviceFailed','onQRCodeSessionFailed','onQRCodeSessionQuickLoginFailed','onQQLoginNumLimited','1544485CsIQcV','onLoginConnected','16077HOpYVp','onQRCodeGetPicture','9nRTgdO','7039330DQQNrI','onLoginConnecting','onLoginFailed','onPasswordLoginFailed','3122862MvvGqd','13774128QuSHAw'];_0x53c5=function(){return _0x499bb;};return _0x53c5();} \ 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 f3950f53..660a6410 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x10e8(_0x3d4ca0,_0x148d32){var _0x472891=_0x4728();return _0x10e8=function(_0x10e8e9,_0x54be61){_0x10e8e9=_0x10e8e9-0x136;var _0x54b46b=_0x472891[_0x10e8e9];return _0x54b46b;},_0x10e8(_0x3d4ca0,_0x148d32);}var _0x533944=_0x10e8;(function(_0x3dc467,_0x1d9cc8){var _0x19f18f=_0x10e8,_0x29e49f=_0x3dc467();while(!![]){try{var _0x4572ff=-parseInt(_0x19f18f(0x164))/0x1+-parseInt(_0x19f18f(0x15f))/0x2*(-parseInt(_0x19f18f(0x13b))/0x3)+parseInt(_0x19f18f(0x171))/0x4+-parseInt(_0x19f18f(0x13f))/0x5*(parseInt(_0x19f18f(0x157))/0x6)+-parseInt(_0x19f18f(0x148))/0x7+-parseInt(_0x19f18f(0x163))/0x8*(parseInt(_0x19f18f(0x150))/0x9)+-parseInt(_0x19f18f(0x16d))/0xa*(-parseInt(_0x19f18f(0x13c))/0xb);if(_0x4572ff===_0x1d9cc8)break;else _0x29e49f['push'](_0x29e49f['shift']());}catch(_0x3bfe30){_0x29e49f['push'](_0x29e49f['shift']());}}}(_0x4728,0xa8a9d));function _0x4728(){var _0x4008c0=['onReadFeedEventUpdate','5994335FMSbls','onGroupGuildUpdate','onInputStatusPush','onRecvGroupGuildFlag','onRecvMsg','onMsgRecall','onRichMediaDownloadComplete','onUserTabStatusChanged','onGuildInteractiveUpdate','5230589BeXCGX','onNtFirstViewMsgSyncEnd','onMsgAbstractUpdate','onHitCsRelatedEmojiResult','onGuildNotificationAbstractUpdate','onUserOnlineStatusChanged','onGroupTransferInfoUpdate','onKickedOffLine','991026DOdPQQ','onUnreadCntUpdate','onMsgSecurityNotify','onImportOldDbProgressUpdate','onGroupFileInfoAdd','onRecvSysMsg','onHitRelatedEmojiResult','6tdCbiC','onRecvUDCFlag','onEmojiResourceUpdate','onUnreadCntAfterFirstView','onRichMediaUploadComplete','onContactUnreadCntUpdate','onSysMsgNotification','onFeedEventUpdate','53258LMrOPV','onLogLevelChanged','onBroadcastHelperProgerssUpdate','onSearchGroupFileInfoUpdate','32wqbrCT','846826fczNEe','onlineStatusSmallIconDownloadPush','onChannelFreqLimitInfoUpdate','onDraftUpdate','onBroadcastHelperDownloadComplete','onRichMediaProgerssUpdate','onSendMsgError','onGrabPasswordRedBag','onCustomWithdrawConfigUpdate','10fiJIFV','onRedTouchChanged','onLineDev','onNtMsgSyncStart','2877564EVtIWv','onHitEmojiKeywordResult','onFirstViewGroupGuildMapping','onTempChatInfoUpdate','onMsgBoxChanged','onMsgDelete','onMsgWithRichLinkInfoUpdate','onUserSecQualityChanged','21fabeLB','33202697esDJGP','onBroadcastHelperProgressUpdate'];_0x4728=function(){return _0x4008c0;};return _0x4728();}export class MsgListener{['onAddSendMsg'](_0x1799b2){}[_0x533944(0x168)](_0x49219a){}[_0x533944(0x13d)](_0x497a74){}[_0x533944(0x166)](_0x46f1cf,_0x17326d,_0x49e259){}[_0x533944(0x15c)](_0x571284){}[_0x533944(0x16c)](_0x2e1231){}[_0x533944(0x167)](_0x22f3d1,_0x548213,_0x4d2832){}['onEmojiDownloadComplete'](_0x4597e9){}[_0x533944(0x159)](_0x4e24fa){}[_0x533944(0x15e)](_0x4f307c){}['onFileMsgCome'](_0x41236f){}['onFirstViewDirectMsgUpdate'](_0x11f2ae){}[_0x533944(0x173)](_0x2bdaec){}[_0x533944(0x16b)](_0x2bc5b5,_0x5981c9,_0x4a980b,_0x311f3f,_0x194eaa){}[_0x533944(0x154)](_0x9ae08){}['onGroupFileInfoUpdate'](_0x154c73){}[_0x533944(0x140)](_0x2175e2){}['onGroupTransferInfoAdd'](_0x2ee76e){}[_0x533944(0x14e)](_0x42277e){}[_0x533944(0x147)](_0x4d9953){}['onGuildMsgAbFlagChanged'](_0x1f58b3){}[_0x533944(0x14c)](_0x83007b){}[_0x533944(0x14b)](_0x2b61b8){}[_0x533944(0x172)](_0xcfbb5f){}[_0x533944(0x156)](_0x168374){}[_0x533944(0x153)](_0x22f2f1){}[_0x533944(0x141)](_0x514549){}[_0x533944(0x14f)](_0x5cdd0b){}[_0x533944(0x16f)](_0x454e60){}[_0x533944(0x160)](_0x17fad5){}[_0x533944(0x14a)](_0x14b315){}[_0x533944(0x137)](_0x547e6e){}[_0x533944(0x138)](_0x2d4e9a,_0x30ae33){}['onMsgEventListUpdate'](_0x83d38a){}['onMsgInfoListAdd'](_0x26fd63){}['onMsgInfoListUpdate'](_0x14285f){}['onMsgQRCodeStatusChanged'](_0x453be1){}[_0x533944(0x144)](_0x23ae2f,_0x39c4ae,_0x561335){}[_0x533944(0x152)](_0x2737ad){}['onMsgSettingUpdate'](_0x37c180){}[_0x533944(0x149)](){}['onNtMsgSyncEnd'](){}[_0x533944(0x170)](){}[_0x533944(0x13e)](_0xb653c1){}[_0x533944(0x142)](_0x51be96){}[_0x533944(0x143)](_0x2ae19e){}['onRecvMsgSvrRspTransInfo'](_0x42e222,_0x2510a4,_0x3136ee,_0x50f39e,_0x590fc9,_0x2164bd){}['onRecvOnlineFileMsg'](_0x51ca0d){}['onRecvS2CMsg'](_0x581bc7){}[_0x533944(0x155)](_0x2ad57a){}[_0x533944(0x158)](_0x291e30){}[_0x533944(0x145)](_0x42ea7c){}[_0x533944(0x169)](_0x130e40){}[_0x533944(0x15b)](_0x5b6201){}[_0x533944(0x162)](_0xea49b){}[_0x533944(0x16a)](_0x2cbbb3,_0x3cd5d0,_0xa1e527,_0x505b67){}[_0x533944(0x15d)](_0x5e1d62,_0x5de1ec,_0x3824aa,_0x24f861){}[_0x533944(0x136)](_0x15d571){}[_0x533944(0x15a)](_0x2a96ae){}[_0x533944(0x151)](_0xf31497){}['onUserChannelTabStatusChanged'](_0x1b31de){}[_0x533944(0x14d)](_0x5a0fc9){}[_0x533944(0x146)](_0x2df6fe){}['onlineStatusBigIconDownloadPush'](_0x23c21a,_0x4e02f0,_0x4c10eb){}[_0x533944(0x165)](_0xc69024,_0x188985,_0x55aa2f){}[_0x533944(0x13a)](..._0x9ec9bf){}[_0x533944(0x139)](..._0x33808c){}[_0x533944(0x16e)](..._0x4255d9){}[_0x533944(0x161)](..._0x1b9278){}} \ No newline at end of file +function _0x3462(_0x4c558e,_0x549ab7){var _0x2c34f7=_0x2c34();return _0x3462=function(_0x3462a5,_0x54c395){_0x3462a5=_0x3462a5-0xff;var _0x18c471=_0x2c34f7[_0x3462a5];return _0x18c471;},_0x3462(_0x4c558e,_0x549ab7);}var _0x1efc08=_0x3462;function _0x2c34(){var _0x73ef1c=['onNtMsgSyncStart','onLogLevelChanged','onGroupTransferInfoAdd','onGroupFileInfoUpdate','onUnreadCntAfterFirstView','onHitCsRelatedEmojiResult','onMsgBoxChanged','219733GKZHdW','3412JuMqYk','onKickedOffLine','onUnreadCntUpdate','onFirstViewGroupGuildMapping','onReadFeedEventUpdate','onCustomWithdrawConfigUpdate','95NeyWHM','onRecvMsg','onRecvOnlineFileMsg','onChannelFreqLimitInfoUpdate','onMsgSecurityNotify','onGrabPasswordRedBag','onMsgQRCodeStatusChanged','onEmojiDownloadComplete','onBroadcastHelperProgerssUpdate','185871LAbVYw','onNtMsgSyncEnd','264778ciYwhw','onRedTouchChanged','onRecvSysMsg','onRecvGroupGuildFlag','onlineStatusBigIconDownloadPush','onMsgDelete','onBroadcastHelperDownloadComplete','onMsgInfoListUpdate','onEmojiResourceUpdate','onAddSendMsg','onRecvMsgSvrRspTransInfo','onTempChatInfoUpdate','onRecvUDCFlag','onFirstViewDirectMsgUpdate','466140jNrvvu','850488ALAKKs','onHitEmojiKeywordResult','onUserSecQualityChanged','onUserOnlineStatusChanged','onMsgAbstractUpdate','onGuildMsgAbFlagChanged','onGroupFileInfoAdd','onMsgSettingUpdate','onMsgRecall','onContactUnreadCntUpdate','onFeedEventUpdate','onMsgWithRichLinkInfoUpdate','onMsgInfoListAdd','onRichMediaDownloadComplete','6728552rlpIIE'];_0x2c34=function(){return _0x73ef1c;};return _0x2c34();}(function(_0x388e00,_0x197b44){var _0x138acd=_0x3462,_0x20d854=_0x388e00();while(!![]){try{var _0x1e15ee=-parseInt(_0x138acd(0x12f))/0x1+-parseInt(_0x138acd(0x10a))/0x2+-parseInt(_0x138acd(0x118))/0x3+parseInt(_0x138acd(0x130))/0x4*(-parseInt(_0x138acd(0xff))/0x5)+-parseInt(_0x138acd(0x119))/0x6+-parseInt(_0x138acd(0x108))/0x7+parseInt(_0x138acd(0x127))/0x8;if(_0x1e15ee===_0x197b44)break;else _0x20d854['push'](_0x20d854['shift']());}catch(_0x5340a7){_0x20d854['push'](_0x20d854['shift']());}}}(_0x2c34,0x24643));export class MsgListener{[_0x1efc08(0x113)](_0x9ed98a){}[_0x1efc08(0x110)](_0x54ece4){}['onBroadcastHelperProgressUpdate'](_0x3e6294){}[_0x1efc08(0x102)](_0x5ece3c,_0x390e2f,_0x450dc9){}[_0x1efc08(0x122)](_0x238ad2){}[_0x1efc08(0x135)](_0x47f3a5){}['onDraftUpdate'](_0x1b85da,_0x4de41f,_0x5643ab){}[_0x1efc08(0x106)](_0x1396f1){}[_0x1efc08(0x112)](_0x54b650){}[_0x1efc08(0x123)](_0x40c0bb){}['onFileMsgCome'](_0x35f171){}[_0x1efc08(0x117)](_0x8c9b49){}[_0x1efc08(0x133)](_0x2ef7a5){}[_0x1efc08(0x104)](_0x4522e9,_0x2b8511,_0x3603d2,_0x121b16,_0x54426f){}[_0x1efc08(0x11f)](_0x2183d1){}[_0x1efc08(0x12b)](_0x54024c){}['onGroupGuildUpdate'](_0x58f15c){}[_0x1efc08(0x12a)](_0x20974c){}['onGroupTransferInfoUpdate'](_0x3124a6){}['onGuildInteractiveUpdate'](_0x1e4ab0){}[_0x1efc08(0x11e)](_0x31cc93){}['onGuildNotificationAbstractUpdate'](_0x284c1e){}[_0x1efc08(0x12d)](_0x464398){}[_0x1efc08(0x11a)](_0x1832f6){}['onHitRelatedEmojiResult'](_0x3157fb){}['onImportOldDbProgressUpdate'](_0x18eb8b){}['onInputStatusPush'](_0x96c82a){}[_0x1efc08(0x131)](_0x3d4747){}['onLineDev'](_0x1c385d){}[_0x1efc08(0x129)](_0x1ac62a){}[_0x1efc08(0x11d)](_0x5b5e25){}[_0x1efc08(0x12e)](_0x5c4b5f){}[_0x1efc08(0x10f)](_0x1317ab,_0x263405){}['onMsgEventListUpdate'](_0x201a66){}[_0x1efc08(0x125)](_0x5aa6f9){}[_0x1efc08(0x111)](_0x23de17){}[_0x1efc08(0x105)](_0xa5e600){}[_0x1efc08(0x121)](_0x4d6b6f,_0x58049f,_0x4f30ff){}[_0x1efc08(0x103)](_0x3cbcef){}[_0x1efc08(0x120)](_0x181db4){}['onNtFirstViewMsgSyncEnd'](){}[_0x1efc08(0x109)](){}[_0x1efc08(0x128)](){}[_0x1efc08(0x134)](_0x1ac971){}[_0x1efc08(0x10d)](_0xe02fca){}[_0x1efc08(0x100)](_0x4a887c){}[_0x1efc08(0x114)](_0x451891,_0x2e1e95,_0x133d22,_0x256af8,_0x117abf,_0x42dfee){}[_0x1efc08(0x101)](_0x3a5db5){}['onRecvS2CMsg'](_0xabd8ce){}[_0x1efc08(0x10c)](_0x321a71){}[_0x1efc08(0x116)](_0x5bd242){}[_0x1efc08(0x126)](_0x452124){}['onRichMediaProgerssUpdate'](_0x347bbd){}['onRichMediaUploadComplete'](_0x3fce3a){}['onSearchGroupFileInfoUpdate'](_0x3abe55){}['onSendMsgError'](_0x4c5204,_0x112b2f,_0x30d3a8,_0x73e6a8){}['onSysMsgNotification'](_0x24331b,_0x35b3a1,_0x2f0fe5,_0x1c5a7f){}[_0x1efc08(0x115)](_0x2a88cc){}[_0x1efc08(0x12c)](_0xe98653){}[_0x1efc08(0x132)](_0x299f47){}['onUserChannelTabStatusChanged'](_0x238a93){}[_0x1efc08(0x11c)](_0x538be9){}['onUserTabStatusChanged'](_0x35b118){}[_0x1efc08(0x10e)](_0x395299,_0x25bcb6,_0x35a097){}['onlineStatusSmallIconDownloadPush'](_0x1f97b4,_0x15afcd,_0x2e1c01){}[_0x1efc08(0x11b)](..._0x5d25db){}[_0x1efc08(0x124)](..._0x21fb7a){}[_0x1efc08(0x10b)](..._0x5245a1){}[_0x1efc08(0x107)](..._0xc7fc35){}} \ 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 93383a47..0b96bfec 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0xfc67(_0x330d91,_0x224120){var _0x445df6=_0x445d();return _0xfc67=function(_0xfc674,_0x1a1cec){_0xfc674=_0xfc674-0xd4;var _0x546f03=_0x445df6[_0xfc674];return _0x546f03;},_0xfc67(_0x330d91,_0x224120);}var _0x21fe1c=_0xfc67;function _0x445d(){var _0x5c0d91=['37330764JOluXw','onStatusUpdate','172WXSvlF','70428IXhwTF','8QWgBtQ','8270250GxOhQc','5665617qYdKHF','445TStCda','1438DjSEDN','1032aLpzMM','15720rsqSav','onProfileDetailInfoChanged','onStrangerRemarkChanged','7108675AQmHZm','11IiJWDw'];_0x445d=function(){return _0x5c0d91;};return _0x445d();}(function(_0x1e2f2b,_0x298171){var _0x5316a1=_0xfc67,_0x37886f=_0x1e2f2b();while(!![]){try{var _0xd05948=parseInt(_0x5316a1(0xda))/0x1*(-parseInt(_0x5316a1(0xdb))/0x2)+parseInt(_0x5316a1(0xd6))/0x3*(parseInt(_0x5316a1(0xd5))/0x4)+parseInt(_0x5316a1(0xdd))/0x5*(parseInt(_0x5316a1(0xdc))/0x6)+parseInt(_0x5316a1(0xe0))/0x7+-parseInt(_0x5316a1(0xd7))/0x8*(-parseInt(_0x5316a1(0xd9))/0x9)+parseInt(_0x5316a1(0xd8))/0xa*(parseInt(_0x5316a1(0xe1))/0xb)+-parseInt(_0x5316a1(0xe2))/0xc;if(_0xd05948===_0x298171)break;else _0x37886f['push'](_0x37886f['shift']());}catch(_0x557e71){_0x37886f['push'](_0x37886f['shift']());}}}(_0x445d,0x90657));export class ProfileListener{['onProfileSimpleChanged'](..._0x42ddb9){}[_0x21fe1c(0xde)](_0x2ae6d8){}[_0x21fe1c(0xd4)](..._0x5b648b){}['onSelfStatusChanged'](..._0x4b5bf8){}[_0x21fe1c(0xdf)](..._0x3ae2a2){}} \ No newline at end of file +var _0x2665ea=_0x52a7;(function(_0x2b115b,_0x13e15f){var _0x5a603c=_0x52a7,_0x5c924a=_0x2b115b();while(!![]){try{var _0x4c7570=-parseInt(_0x5a603c(0xa3))/0x1+-parseInt(_0x5a603c(0x9d))/0x2+-parseInt(_0x5a603c(0xa1))/0x3+parseInt(_0x5a603c(0x9c))/0x4+parseInt(_0x5a603c(0x9e))/0x5+-parseInt(_0x5a603c(0x9f))/0x6+parseInt(_0x5a603c(0xa0))/0x7;if(_0x4c7570===_0x13e15f)break;else _0x5c924a['push'](_0x5c924a['shift']());}catch(_0x1f1b03){_0x5c924a['push'](_0x5c924a['shift']());}}}(_0x5b49,0xedd4c));export class ProfileListener{[_0x2665ea(0xa2)](..._0x56344c){}[_0x2665ea(0xa5)](_0x3a0d39){}[_0x2665ea(0xa4)](..._0x1f8ffd){}['onSelfStatusChanged'](..._0x27011c){}[_0x2665ea(0xa6)](..._0x51ba2a){}}function _0x52a7(_0x42f7d8,_0x11739c){var _0x5b490e=_0x5b49();return _0x52a7=function(_0x52a71a,_0x4eafb1){_0x52a71a=_0x52a71a-0x9c;var _0x26f7b9=_0x5b490e[_0x52a71a];return _0x26f7b9;},_0x52a7(_0x42f7d8,_0x11739c);}function _0x5b49(){var _0x4e29ac=['5154000YuJcIX','onProfileSimpleChanged','1124311oafviN','onStatusUpdate','onProfileDetailInfoChanged','onStrangerRemarkChanged','6398952ybdssM','2461482CQdYne','5350505lGlmlB','10611018Nngsdu','29021104IceTaz'];_0x5b49=function(){return _0x4e29ac;};return _0x5b49();} \ 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 0306dd32..934dc3ba 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x5b50c4=_0x25e7;function _0x25e7(_0x2201be,_0x4757c9){var _0x144f32=_0x144f();return _0x25e7=function(_0x25e77e,_0x5bc954){_0x25e77e=_0x25e77e-0x18f;var _0x3d7b79=_0x144f32[_0x25e77e];return _0x3d7b79;},_0x25e7(_0x2201be,_0x4757c9);}function _0x144f(){var _0x1c7a5a=['852KsQSea','460456pCsnly','10618gPPdvp','21fByPSI','2084026ydRZVS','onRobotFriendListChanged','547707faBsHe','15539340nHTcNG','90zecwJm','6085CbzYKT','onRobotListChanged','534172HkqjSA'];_0x144f=function(){return _0x1c7a5a;};return _0x144f();}(function(_0x43fad5,_0x24656d){var _0x197401=_0x25e7,_0x3c2d6a=_0x43fad5();while(!![]){try{var _0x2b3d18=parseInt(_0x197401(0x195))/0x1*(parseInt(_0x197401(0x194))/0x2)+-parseInt(_0x197401(0x198))/0x3+-parseInt(_0x197401(0x191))/0x4+-parseInt(_0x197401(0x18f))/0x5*(parseInt(_0x197401(0x192))/0x6)+-parseInt(_0x197401(0x196))/0x7+-parseInt(_0x197401(0x193))/0x8*(parseInt(_0x197401(0x19a))/0x9)+parseInt(_0x197401(0x199))/0xa;if(_0x2b3d18===_0x24656d)break;else _0x3c2d6a['push'](_0x3c2d6a['shift']());}catch(_0xdd90c8){_0x3c2d6a['push'](_0x3c2d6a['shift']());}}}(_0x144f,0x4a069));export class KernelRobotListener{[_0x5b50c4(0x197)](..._0x396149){}[_0x5b50c4(0x190)](..._0x5ccc69){}['onRobotProfileChanged'](..._0x5efba2){}} \ No newline at end of file +var _0xf21a88=_0x5da0;function _0x4496(){var _0x4d0cfe=['onRobotProfileChanged','401124vfwKOr','143001tyOrJb','3545754njCrHK','293655BoaDIV','onRobotFriendListChanged','2ONpKWU','5FljFyC','264PGebnV','3801610olLngE','11tkBGuO','1521044fmLNyZ','28TccoCZ','240273SbNtHf'];_0x4496=function(){return _0x4d0cfe;};return _0x4496();}(function(_0x483805,_0x45e1e5){var _0x50a119=_0x5da0,_0x373dde=_0x483805();while(!![]){try{var _0xdfff7b=parseInt(_0x50a119(0x171))/0x1*(-parseInt(_0x50a119(0x173))/0x2)+parseInt(_0x50a119(0x17a))/0x3*(-parseInt(_0x50a119(0x179))/0x4)+parseInt(_0x50a119(0x174))/0x5*(parseInt(_0x50a119(0x170))/0x6)+-parseInt(_0x50a119(0x178))/0x7+-parseInt(_0x50a119(0x175))/0x8*(-parseInt(_0x50a119(0x16f))/0x9)+parseInt(_0x50a119(0x176))/0xa+-parseInt(_0x50a119(0x177))/0xb*(parseInt(_0x50a119(0x17c))/0xc);if(_0xdfff7b===_0x45e1e5)break;else _0x373dde['push'](_0x373dde['shift']());}catch(_0x3c3df1){_0x373dde['push'](_0x373dde['shift']());}}}(_0x4496,0x5f52e));function _0x5da0(_0xd19971,_0x587264){var _0x449650=_0x4496();return _0x5da0=function(_0x5da01b,_0xfe6e36){_0x5da01b=_0x5da01b-0x16f;var _0x3b0da9=_0x449650[_0x5da01b];return _0x3b0da9;},_0x5da0(_0xd19971,_0x587264);}export class KernelRobotListener{[_0xf21a88(0x172)](..._0x517a41){}['onRobotListChanged'](..._0x4ef76e){}[_0xf21a88(0x17b)](..._0x3680f){}} \ 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 9a342835..acb81275 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x52cb(_0x5edac3,_0x304db1){var _0xbcd843=_0xbcd8();return _0x52cb=function(_0x52cbd1,_0x13a3c7){_0x52cbd1=_0x52cbd1-0xe7;var _0x2adfb1=_0xbcd843[_0x52cbd1];return _0x2adfb1;},_0x52cb(_0x5edac3,_0x304db1);}var _0x1f1032=_0x52cb;function _0xbcd8(){var _0x42182a=['9Mwexlp','287642sworcg','4659515iVYEaJ','369642emIpPm','420UkHCgL','18982170kPdPoP','12wkoLYp','54063EMiDjF','onNTSessionCreate','onOpentelemetryInit','70odPXVO','onGProSessionCreate','1UaFdbq','3603272rwEpDh','7802707lqMoqm','onGetSelfTinyId'];_0xbcd8=function(){return _0x42182a;};return _0xbcd8();}(function(_0xe0e3e9,_0x331906){var _0x52ec11=_0x52cb,_0x52b97c=_0xe0e3e9();while(!![]){try{var _0x21cbd8=parseInt(_0x52ec11(0xf6))/0x1*(-parseInt(_0x52ec11(0xeb))/0x2)+-parseInt(_0x52ec11(0xf1))/0x3*(-parseInt(_0x52ec11(0xee))/0x4)+-parseInt(_0x52ec11(0xf4))/0x5*(parseInt(_0x52ec11(0xed))/0x6)+-parseInt(_0x52ec11(0xec))/0x7+-parseInt(_0x52ec11(0xe7))/0x8+-parseInt(_0x52ec11(0xea))/0x9*(-parseInt(_0x52ec11(0xef))/0xa)+parseInt(_0x52ec11(0xe8))/0xb*(-parseInt(_0x52ec11(0xf0))/0xc);if(_0x21cbd8===_0x331906)break;else _0x52b97c['push'](_0x52b97c['shift']());}catch(_0xadb34f){_0x52b97c['push'](_0x52b97c['shift']());}}}(_0xbcd8,0xea0f8));export class SessionListener{[_0x1f1032(0xf2)](_0x59e4e7){}[_0x1f1032(0xf5)](_0x50d674){}['onSessionInitComplete'](_0x41d365){}[_0x1f1032(0xf3)](_0x5f4369){}['onUserOnlineResult'](_0x364337){}[_0x1f1032(0xe9)](_0x3fc2d3){}} \ No newline at end of file +function _0x381b(){var _0x55fb0b=['837346xMLrgu','onSessionInitComplete','20ANfhNN','1954505lJMrza','3310152wSyVJz','197410rFVFZX','2253951PDctjm','onGetSelfTinyId','387892yOARSR','6RXGNcU','3yJYhjp','onOpentelemetryInit','1400036fxkevD'];_0x381b=function(){return _0x55fb0b;};return _0x381b();}var _0x2bb563=_0x192a;function _0x192a(_0x4af088,_0x28493d){var _0x381b98=_0x381b();return _0x192a=function(_0x192a8b,_0x5cb381){_0x192a8b=_0x192a8b-0x1c7;var _0x5f2cb8=_0x381b98[_0x192a8b];return _0x5f2cb8;},_0x192a(_0x4af088,_0x28493d);}(function(_0x1cef35,_0x1e457a){var _0x7e4b04=_0x192a,_0x3b5897=_0x1cef35();while(!![]){try{var _0x2b030f=parseInt(_0x7e4b04(0x1d2))/0x1+-parseInt(_0x7e4b04(0x1ca))/0x2*(-parseInt(_0x7e4b04(0x1c7))/0x3)+-parseInt(_0x7e4b04(0x1c9))/0x4+-parseInt(_0x7e4b04(0x1cf))/0x5+parseInt(_0x7e4b04(0x1d3))/0x6*(-parseInt(_0x7e4b04(0x1cd))/0x7)+-parseInt(_0x7e4b04(0x1ce))/0x8+-parseInt(_0x7e4b04(0x1d0))/0x9*(-parseInt(_0x7e4b04(0x1cc))/0xa);if(_0x2b030f===_0x1e457a)break;else _0x3b5897['push'](_0x3b5897['shift']());}catch(_0x374df6){_0x3b5897['push'](_0x3b5897['shift']());}}}(_0x381b,0x36ec8));export class SessionListener{['onNTSessionCreate'](_0x4c90e0){}['onGProSessionCreate'](_0xd28101){}[_0x2bb563(0x1cb)](_0x218496){}[_0x2bb563(0x1c8)](_0x5a9ca8){}['onUserOnlineResult'](_0x2982fe){}[_0x2bb563(0x1d1)](_0x430632){}} \ 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 7865f052..33e7170f 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x82bee=_0x58da;function _0x58da(_0x3e288d,_0x2b73d0){var _0x326b68=_0x326b();return _0x58da=function(_0x58da2f,_0x5ad405){_0x58da2f=_0x58da2f-0xcf;var _0x14f323=_0x326b68[_0x58da2f];return _0x14f323;},_0x58da(_0x3e288d,_0x2b73d0);}(function(_0x2b29ff,_0x22493c){var _0xece600=_0x58da,_0x40424a=_0x2b29ff();while(!![]){try{var _0x56ec6c=-parseInt(_0xece600(0xde))/0x1+-parseInt(_0xece600(0xda))/0x2*(parseInt(_0xece600(0xd7))/0x3)+-parseInt(_0xece600(0xd9))/0x4*(-parseInt(_0xece600(0xd8))/0x5)+parseInt(_0xece600(0xd3))/0x6*(parseInt(_0xece600(0xdd))/0x7)+parseInt(_0xece600(0xd0))/0x8*(-parseInt(_0xece600(0xd2))/0x9)+parseInt(_0xece600(0xdb))/0xa*(-parseInt(_0xece600(0xdc))/0xb)+parseInt(_0xece600(0xd1))/0xc;if(_0x56ec6c===_0x22493c)break;else _0x40424a['push'](_0x40424a['shift']());}catch(_0x36d19c){_0x40424a['push'](_0x40424a['shift']());}}}(_0x326b,0x612d7));export class StorageCleanListener{[_0x82bee(0xd4)](_0x518924){}[_0x82bee(0xd5)](_0x17c83c){}[_0x82bee(0xcf)](_0x2e0fa2){}['onFinishScan'](_0x433b92){}[_0x82bee(0xd6)](_0x4ab2ed){}}function _0x326b(){var _0x1efc38=['onCleanCacheStorageChanged','542456DNnsXH','15557640uylfGG','63AvWTRm','84rpuEoy','onCleanCacheProgressChanged','onScanCacheProgressChanged','onChatCleanDone','9WDeLxb','10BSoqdU','906784ombrAc','55586AZEjsw','4050zBPmRn','20625ABKUWp','34083wKqpzP','102586STujXg'];_0x326b=function(){return _0x1efc38;};return _0x326b();} \ No newline at end of file +function _0x4ee6(){var _0x3452d1=['65ykYlVX','5557527bvNJWo','650168jiOacy','1084374cwmeFH','34908DshChq','1692740uZGMMb','onCleanCacheStorageChanged','1197256pTdegm','onCleanCacheProgressChanged','69QNgoyY','678KFWkIb'];_0x4ee6=function(){return _0x3452d1;};return _0x4ee6();}function _0x40cf(_0x233a13,_0x4b2068){var _0x4ee606=_0x4ee6();return _0x40cf=function(_0x40cfdb,_0x44471a){_0x40cfdb=_0x40cfdb-0x180;var _0x572f5f=_0x4ee606[_0x40cfdb];return _0x572f5f;},_0x40cf(_0x233a13,_0x4b2068);}var _0x5df24f=_0x40cf;(function(_0x3ea69f,_0x1166f0){var _0x7ea9da=_0x40cf,_0x4050c1=_0x3ea69f();while(!![]){try{var _0x243141=parseInt(_0x7ea9da(0x184))/0x1*(-parseInt(_0x7ea9da(0x185))/0x2)+-parseInt(_0x7ea9da(0x189))/0x3+-parseInt(_0x7ea9da(0x188))/0x4+parseInt(_0x7ea9da(0x186))/0x5*(parseInt(_0x7ea9da(0x18a))/0x6)+parseInt(_0x7ea9da(0x180))/0x7+-parseInt(_0x7ea9da(0x182))/0x8+parseInt(_0x7ea9da(0x187))/0x9;if(_0x243141===_0x1166f0)break;else _0x4050c1['push'](_0x4050c1['shift']());}catch(_0x36f957){_0x4050c1['push'](_0x4050c1['shift']());}}}(_0x4ee6,0x3a155));export class StorageCleanListener{[_0x5df24f(0x183)](_0x1ef25b){}['onScanCacheProgressChanged'](_0x495fc1){}[_0x5df24f(0x181)](_0x90739a){}['onFinishScan'](_0x7b5ea0){}['onChatCleanDone'](_0x56d121){}} \ 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 3beeba93..9a9dbeac 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x2059ec,_0x1a88d3){var _0x3a1daf=_0x128c,_0xb71c2d=_0x2059ec();while(!![]){try{var _0x298c5b=parseInt(_0x3a1daf(0x177))/0x1+-parseInt(_0x3a1daf(0x173))/0x2+parseInt(_0x3a1daf(0x16d))/0x3*(-parseInt(_0x3a1daf(0x175))/0x4)+-parseInt(_0x3a1daf(0x16e))/0x5*(-parseInt(_0x3a1daf(0x170))/0x6)+-parseInt(_0x3a1daf(0x176))/0x7*(-parseInt(_0x3a1daf(0x171))/0x8)+parseInt(_0x3a1daf(0x16f))/0x9+parseInt(_0x3a1daf(0x172))/0xa*(-parseInt(_0x3a1daf(0x174))/0xb);if(_0x298c5b===_0x1a88d3)break;else _0xb71c2d['push'](_0xb71c2d['shift']());}catch(_0x512c10){_0xb71c2d['push'](_0xb71c2d['shift']());}}}(_0x2fff,0x4ed10));function _0x2fff(){var _0x46da1a=['75800AbwZCi','945782CQOwGG','88WmiaBq','16ffsTHe','1043MnIYib','184386eRJnCB','328074sqNsKJ','1490zEPWuP','1992321GAuSsq','7338nZaZdT','28112szYDyP'];_0x2fff=function(){return _0x46da1a;};return _0x2fff();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x128c(_0x2db2c7,_0x4d4b01){var _0x2fff30=_0x2fff();return _0x128c=function(_0x128cb2,_0x40f5e9){_0x128cb2=_0x128cb2-0x16d;var _0x536340=_0x2fff30[_0x128cb2];return _0x536340;},_0x128c(_0x2db2c7,_0x4d4b01);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x5a0b2a,_0x1341a7){var _0x432eee=_0x3bd1,_0x343708=_0x5a0b2a();while(!![]){try{var _0x482ac2=parseInt(_0x432eee(0x106))/0x1*(parseInt(_0x432eee(0xff))/0x2)+-parseInt(_0x432eee(0x104))/0x3+parseInt(_0x432eee(0x103))/0x4+-parseInt(_0x432eee(0x101))/0x5+-parseInt(_0x432eee(0xfe))/0x6+-parseInt(_0x432eee(0x102))/0x7*(-parseInt(_0x432eee(0x105))/0x8)+-parseInt(_0x432eee(0xfd))/0x9*(-parseInt(_0x432eee(0x100))/0xa);if(_0x482ac2===_0x1341a7)break;else _0x343708['push'](_0x343708['shift']());}catch(_0x29432a){_0x343708['push'](_0x343708['shift']());}}}(_0x42b6,0x3baec));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x3bd1(_0x31facd,_0x54ea8d){var _0x42b6c2=_0x42b6();return _0x3bd1=function(_0x3bd1a7,_0x1b911a){_0x3bd1a7=_0x3bd1a7-0xfd;var _0x62b709=_0x42b6c2[_0x3bd1a7];return _0x62b709;},_0x3bd1(_0x31facd,_0x54ea8d);}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x42b6(){var _0xa248f=['288clKFcF','1883046cSWBRE','2KrVXoQ','12590gPMAlm','654250UgMmTJ','231pRQkGl','763616XyNEKQ','1160454Vuksih','91648oFiduL','466729mgBdFM'];_0x42b6=function(){return _0xa248f;};return _0x42b6();}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelProfileService.d.ts b/src/core.lib/src/services/NodeIKernelProfileService.d.ts index b149bb1b..464b5c26 100644 --- a/src/core.lib/src/services/NodeIKernelProfileService.d.ts +++ b/src/core.lib/src/services/NodeIKernelProfileService.d.ts @@ -1,4 +1,4 @@ -import { ModifyProfileParams } from '../entities'; +import { ModifyProfileParams, UserDetailInfoByUin } from '../entities'; import { NodeIKernelProfileListener } from '../listeners'; import { GeneralCallResult } from '@/core/services/common'; export interface NodeIKernelProfileService { @@ -21,7 +21,7 @@ export interface NodeIKernelProfileService { getUserSimpleInfo(...args: unknown[]): unknown; getUserDetailInfo(...args: unknown[]): unknown; getUserDetailInfoWithBizInfo(uid: string, arg2: number[]): Promise; - getUserDetailInfoByUin(uin: string): Promise; + getUserDetailInfoByUin(uin: string): Promise; getZplanAvatarInfos(...args: unknown[]): unknown; getStatus(...args: unknown[]): unknown; startStatusPolling(...args: unknown[]): unknown; diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index ca0cba7a..5be02404 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x1f72bf,_0x1b9df8){var _0xf7749a=_0x22d9,_0x24d3fb=_0x1f72bf();while(!![]){try{var _0xb9e9c2=-parseInt(_0xf7749a(0xc9))/0x1+parseInt(_0xf7749a(0xc1))/0x2+-parseInt(_0xf7749a(0xc5))/0x3+parseInt(_0xf7749a(0xc6))/0x4*(parseInt(_0xf7749a(0xc3))/0x5)+parseInt(_0xf7749a(0xc4))/0x6+-parseInt(_0xf7749a(0xc7))/0x7*(-parseInt(_0xf7749a(0xc8))/0x8)+parseInt(_0xf7749a(0xc2))/0x9;if(_0xb9e9c2===_0x1b9df8)break;else _0x24d3fb['push'](_0x24d3fb['shift']());}catch(_0x261933){_0x24d3fb['push'](_0x24d3fb['shift']());}}}(_0x109b,0x775a7));function _0x109b(){var _0x5e9d22=['23396GIUPYg','1449VOcfgu','6584MJgooN','765476emPmrV','603010KZQfLJ','2883303sDgmTA','535eUyBHo','1531722sNckPX','1257048pgPoFe'];_0x109b=function(){return _0x5e9d22;};return _0x109b();}function _0x22d9(_0x45c5b0,_0x1608e1){var _0x109b01=_0x109b();return _0x22d9=function(_0x22d904,_0x1c09f0){_0x22d904=_0x22d904-0xc1;var _0xf65dcc=_0x109b01[_0x22d904];return _0xf65dcc;},_0x22d9(_0x45c5b0,_0x1608e1);}export var GeneralCallResultStatus;(function(_0x525b3e){_0x525b3e[_0x525b3e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x1fa8c7,_0x2a43ee){var _0x1286e9=_0x327d,_0x2de495=_0x1fa8c7();while(!![]){try{var _0x36b06a=-parseInt(_0x1286e9(0x10c))/0x1+-parseInt(_0x1286e9(0x109))/0x2+parseInt(_0x1286e9(0x10d))/0x3+parseInt(_0x1286e9(0x10a))/0x4*(-parseInt(_0x1286e9(0x107))/0x5)+-parseInt(_0x1286e9(0x105))/0x6+parseInt(_0x1286e9(0x106))/0x7*(parseInt(_0x1286e9(0x108))/0x8)+parseInt(_0x1286e9(0x10b))/0x9;if(_0x36b06a===_0x2a43ee)break;else _0x2de495['push'](_0x2de495['shift']());}catch(_0x44d2c6){_0x2de495['push'](_0x2de495['shift']());}}}(_0x259a,0x499ba));function _0x259a(){var _0x43c226=['2172LMBDKg','9146421bsiKqu','96372ckwsVA','865563zpLimu','1562208rJkySh','1701mrCXlO','4235nzQtzm','2472uIGBhl','523436DzNyKo'];_0x259a=function(){return _0x43c226;};return _0x259a();}export var GeneralCallResultStatus;function _0x327d(_0x5496e6,_0x3b0dd8){var _0x259ab5=_0x259a();return _0x327d=function(_0x327d32,_0xb76880){_0x327d32=_0x327d32-0x105;var _0x25dfe6=_0x259ab5[_0x327d32];return _0x25dfe6;},_0x327d(_0x5496e6,_0x3b0dd8);}(function(_0x3b0fc1){_0x3b0fc1[_0x3b0fc1['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 4f9fed5c..2826dc70 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x4af853,_0x580c04){var _0x303f88=_0x16d2,_0xcd9fc3=_0x4af853();while(!![]){try{var _0x30d402=-parseInt(_0x303f88(0x90))/0x1*(-parseInt(_0x303f88(0x88))/0x2)+parseInt(_0x303f88(0x8b))/0x3+-parseInt(_0x303f88(0x89))/0x4*(parseInt(_0x303f88(0x8f))/0x5)+-parseInt(_0x303f88(0x91))/0x6+parseInt(_0x303f88(0x8e))/0x7+parseInt(_0x303f88(0x8a))/0x8*(-parseInt(_0x303f88(0x8d))/0x9)+parseInt(_0x303f88(0x8c))/0xa;if(_0x30d402===_0x580c04)break;else _0xcd9fc3['push'](_0xcd9fc3['shift']());}catch(_0xa18949){_0xcd9fc3['push'](_0xcd9fc3['shift']());}}}(_0x1501,0x54a9d));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x1501(){var _0x18094f=['60600ejfUKG','12914ztPCsc','56praROP','259296FBRWIB','278688hNTCRt','3803370pXoySS','144mJAybc','2103829LgDbrF','25945gyxKFj','27MbewsF'];_0x1501=function(){return _0x18094f;};return _0x1501();}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x16d2(_0x47647c,_0x4725c4){var _0x15010c=_0x1501();return _0x16d2=function(_0x16d23e,_0x1ed5a2){_0x16d23e=_0x16d23e-0x88;var _0x57b692=_0x15010c[_0x16d23e];return _0x57b692;},_0x16d2(_0x47647c,_0x4725c4);}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +function _0x3886(){var _0x33c064=['60yKeUYS','4RjgnzY','832398mGHGVA','5774888edZyoR','989728hLCoQB','6034768PuJvvM','1774674UGGphu','1981359fzMTEL','190806paNQUz'];_0x3886=function(){return _0x33c064;};return _0x3886();}(function(_0xce9828,_0x16e957){var _0x1cb51c=_0x44d4,_0x2cf5a3=_0xce9828();while(!![]){try{var _0x4341d3=parseInt(_0x1cb51c(0x17c))/0x1+-parseInt(_0x1cb51c(0x17a))/0x2+parseInt(_0x1cb51c(0x176))/0x3*(parseInt(_0x1cb51c(0x179))/0x4)+parseInt(_0x1cb51c(0x178))/0x5*(-parseInt(_0x1cb51c(0x177))/0x6)+parseInt(_0x1cb51c(0x17b))/0x7+-parseInt(_0x1cb51c(0x174))/0x8+-parseInt(_0x1cb51c(0x175))/0x9;if(_0x4341d3===_0x16e957)break;else _0x2cf5a3['push'](_0x2cf5a3['shift']());}catch(_0x414bce){_0x2cf5a3['push'](_0x2cf5a3['shift']());}}}(_0x3886,0xb133e));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x44d4(_0x30224e,_0x382b5d){var _0x388675=_0x3886();return _0x44d4=function(_0x44d43a,_0x2bb41a){_0x44d43a=_0x44d43a-0x174;var _0xa78cb3=_0x388675[_0x44d43a];return _0xa78cb3;},_0x44d4(_0x30224e,_0x382b5d);}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';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 7fe219a4..80aa4891 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x347795,_0x354b77){const _0x50ee93=_0x24b9,_0x202798=_0x347795();while(!![]){try{const _0x182adc=-parseInt(_0x50ee93(0x80))/0x1+parseInt(_0x50ee93(0x75))/0x2*(parseInt(_0x50ee93(0x7e))/0x3)+-parseInt(_0x50ee93(0x73))/0x4+-parseInt(_0x50ee93(0x76))/0x5*(parseInt(_0x50ee93(0x81))/0x6)+parseInt(_0x50ee93(0x7b))/0x7*(parseInt(_0x50ee93(0x79))/0x8)+-parseInt(_0x50ee93(0x82))/0x9+parseInt(_0x50ee93(0x74))/0xa;if(_0x182adc===_0x354b77)break;else _0x202798['push'](_0x202798['shift']());}catch(_0x568ede){_0x202798['push'](_0x202798['shift']());}}}(_0x8764,0xd0b6c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x8764(){const _0x3aedd4=['285962wXYACZ','336vSyvWE','2320758tfRbSQ','4329048emiSur','12733340PeqHPg','2346686xnPKqa','33580gNGHgQ','version','curVersion','136PlKxAL','NapCat','168987uUlWnw','oQUNb','temp','3LPbUOT','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'];_0x8764=function(){return _0x3aedd4;};return _0x8764();}import _0x10dee2 from'node:path';import _0x4b1796 from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};function _0x24b9(_0x1de327,_0x541e9e){const _0x876420=_0x8764();return _0x24b9=function(_0x24b9dd,_0x53ec6f){_0x24b9dd=_0x24b9dd-0x73;let _0x58690b=_0x876420[_0x24b9dd];return _0x58690b;},_0x24b9(_0x1de327,_0x541e9e);}export async function genSessionConfig(_0x8ea4a3,_0x29840f,_0x4505c3){const _0xcc8b61=_0x24b9,_0x4755f4={'SPsvp':_0xcc8b61(0x7d),'oQUNb':function(_0x4214a7){return _0x4214a7();}},_0x79dded=_0x10dee2['join'](_0x4505c3,_0xcc8b61(0x7a),_0x4755f4['SPsvp']);_0x4b1796['mkdirSync'](_0x79dded,{'recursive':!![]});let _0x101f68=await _0x4755f4[_0xcc8b61(0x7c)](getMachineId);const _0x1fc3d9={'selfUin':_0x8ea4a3,'selfUid':_0x29840f,'desktopPathConfig':{'account_path':_0x4505c3},'clientVer':qqVersionConfigInfo[_0xcc8b61(0x78)],'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':_0x79dded,'deviceInfo':{'guid':_0x101f68,'buildVer':qqPkgInfo[_0xcc8b61(0x77)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xcc8b61(0x7f)};return Object['assign'](sessionConfig,_0x1fc3d9),_0x1fc3d9;} \ No newline at end of file +function _0x3b74(_0x10c6ee,_0x1bd2bf){const _0x274005=_0x2740();return _0x3b74=function(_0x3b7452,_0x2ac838){_0x3b7452=_0x3b7452-0xa4;let _0x501dd7=_0x274005[_0x3b7452];return _0x501dd7;},_0x3b74(_0x10c6ee,_0x1bd2bf);}(function(_0x44ba06,_0x388a5a){const _0x23d34b=_0x3b74,_0x2c604b=_0x44ba06();while(!![]){try{const _0x22cfd1=parseInt(_0x23d34b(0xa9))/0x1+-parseInt(_0x23d34b(0xb2))/0x2+-parseInt(_0x23d34b(0xac))/0x3+-parseInt(_0x23d34b(0xb3))/0x4*(parseInt(_0x23d34b(0xb7))/0x5)+parseInt(_0x23d34b(0xb1))/0x6*(parseInt(_0x23d34b(0xab))/0x7)+-parseInt(_0x23d34b(0xad))/0x8*(-parseInt(_0x23d34b(0xb5))/0x9)+parseInt(_0x23d34b(0xaa))/0xa*(parseInt(_0x23d34b(0xb6))/0xb);if(_0x22cfd1===_0x388a5a)break;else _0x2c604b['push'](_0x2c604b['shift']());}catch(_0x3a7f91){_0x2c604b['push'](_0x2c604b['shift']());}}}(_0x2740,0xb2df3));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1c6511 from'node:path';import _0x507faf from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};function _0x2740(){const _0xe746f3=['join','NapCat','curVersion','174lozDHR','2628550nWGjxg','7928GOlqVy','version','126dfwpwY','8356249nNSBxz','1735wNDkmZ','eQZom','temp','ekuOt','mkdirSync','uXcit','303021vRlrAN','40qXigMV','20013WyFWoD','3377982qDxcrT','249208cYIXRl'];_0x2740=function(){return _0xe746f3;};return _0x2740();}export async function genSessionConfig(_0xc44a5a,_0x519ae8,_0x26f269){const _0x416dc6=_0x3b74,_0x3fac45={'ekuOt':_0x416dc6(0xaf),'eQZom':_0x416dc6(0xa5),'vgmSE':function(_0x4e0cb6){return _0x4e0cb6();},'uXcit':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x1cda75=_0x1c6511[_0x416dc6(0xae)](_0x26f269,_0x3fac45[_0x416dc6(0xa6)],_0x3fac45[_0x416dc6(0xa4)]);_0x507faf[_0x416dc6(0xa7)](_0x1cda75,{'recursive':!![]});let _0x56ff91=await _0x3fac45['vgmSE'](getMachineId);const _0x682dee={'selfUin':_0xc44a5a,'selfUid':_0x519ae8,'desktopPathConfig':{'account_path':_0x26f269},'clientVer':qqVersionConfigInfo[_0x416dc6(0xb0)],'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':_0x1cda75,'deviceInfo':{'guid':_0x56ff91,'buildVer':qqPkgInfo[_0x416dc6(0xb4)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3fac45[_0x416dc6(0xa8)]};return Object['assign'](sessionConfig,_0x682dee),_0x682dee;} \ 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 dbdda5a4..0d5cbf18 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x1ec5(_0xb7106,_0x400524){const _0x415280=_0x4152();return _0x1ec5=function(_0x1ec5e7,_0x4ed773){_0x1ec5e7=_0x1ec5e7-0x1f0;let _0x28b7f6=_0x415280[_0x1ec5e7];return _0x28b7f6;},_0x1ec5(_0xb7106,_0x400524);}const _0x3bcfdd=_0x1ec5;(function(_0x494945,_0x4ac814){const _0x35d68d=_0x1ec5,_0x5e670b=_0x494945();while(!![]){try{const _0x589208=parseInt(_0x35d68d(0x1ff))/0x1*(parseInt(_0x35d68d(0x1f4))/0x2)+-parseInt(_0x35d68d(0x201))/0x3*(-parseInt(_0x35d68d(0x203))/0x4)+parseInt(_0x35d68d(0x1f0))/0x5+-parseInt(_0x35d68d(0x1f6))/0x6+parseInt(_0x35d68d(0x1f3))/0x7+parseInt(_0x35d68d(0x205))/0x8*(parseInt(_0x35d68d(0x1fe))/0x9)+-parseInt(_0x35d68d(0x1fc))/0xa*(parseInt(_0x35d68d(0x1f9))/0xb);if(_0x589208===_0x4ac814)break;else _0x5e670b['push'](_0x5e670b['shift']());}catch(_0x2d918f){_0x5e670b['push'](_0x5e670b['shift']());}}}(_0x4152,0xe9951));function _0x4152(){const _0x1190f0=['846608CUNKac','1396940JZNdyD','getConfigDir','getConfigPath','11310810IgwBGl','22HmVhIg','fileLog','1439172rPTZmW','fileLogLevel','join','1262129wcehoi','.json','napcat_','260XhbzqU','consoleLog','63ldzhiV','18133AYDzmQ','INFO','6EwAsch','uin','2688732mQNTwp','consoleLogLevel'];_0x4152=function(){return _0x1190f0;};return _0x4152();}import _0xb88c57 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x3bcfdd(0x1f5)]=!![];[_0x3bcfdd(0x1fd)]=!![];[_0x3bcfdd(0x1f7)]=LogLevel['DEBUG'];[_0x3bcfdd(0x204)]=LogLevel[_0x3bcfdd(0x200)];constructor(){super();}[_0x3bcfdd(0x1f2)](){const _0x15d4f1=_0x3bcfdd;return _0xb88c57[_0x15d4f1(0x1f8)](this[_0x15d4f1(0x1f1)](),_0x15d4f1(0x1fb)+selfInfo[_0x15d4f1(0x202)]+_0x15d4f1(0x1fa));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x331d74=_0x5a42;function _0x5a42(_0x49f1af,_0xa80552){const _0x21bbc4=_0x21bb();return _0x5a42=function(_0x5a42fa,_0x3eaebc){_0x5a42fa=_0x5a42fa-0x1dc;let _0x2a53ee=_0x21bbc4[_0x5a42fa];return _0x2a53ee;},_0x5a42(_0x49f1af,_0xa80552);}(function(_0x579b12,_0x2f0461){const _0x5a17ba=_0x5a42,_0x37e76f=_0x579b12();while(!![]){try{const _0x40dda1=-parseInt(_0x5a17ba(0x1e7))/0x1*(parseInt(_0x5a17ba(0x1ee))/0x2)+-parseInt(_0x5a17ba(0x1dd))/0x3+-parseInt(_0x5a17ba(0x1e6))/0x4+parseInt(_0x5a17ba(0x1e3))/0x5*(-parseInt(_0x5a17ba(0x1ed))/0x6)+parseInt(_0x5a17ba(0x1e0))/0x7+parseInt(_0x5a17ba(0x1f0))/0x8+-parseInt(_0x5a17ba(0x1e5))/0x9*(-parseInt(_0x5a17ba(0x1e1))/0xa);if(_0x40dda1===_0x2f0461)break;else _0x37e76f['push'](_0x37e76f['shift']());}catch(_0x48fc3c){_0x37e76f['push'](_0x37e76f['shift']());}}}(_0x21bb,0x823c3));import _0x4bd817 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x331d74(0x1eb)]=!![];[_0x331d74(0x1ec)]=!![];[_0x331d74(0x1e2)]=LogLevel[_0x331d74(0x1e8)];[_0x331d74(0x1ef)]=LogLevel[_0x331d74(0x1de)];constructor(){super();}[_0x331d74(0x1df)](){const _0x30a6ae=_0x331d74;return _0x4bd817[_0x30a6ae(0x1dc)](this[_0x30a6ae(0x1e4)](),_0x30a6ae(0x1e9)+selfInfo[_0x30a6ae(0x1ea)]+_0x30a6ae(0x1f1));}}function _0x21bb(){const _0x2d0e7b=['4185111GPlilI','20dKrrDy','fileLogLevel','2361495fToxDf','getConfigDir','3681972DBWBZW','2237328dmQuXW','2uxBIhs','DEBUG','napcat_','uin','fileLog','consoleLog','6BwrmZM','76036kIfUma','consoleLogLevel','6019896DPVQUY','.json','join','1582398pcaZdR','INFO','getConfigPath'];_0x21bb=function(){return _0x2d0e7b;};return _0x21bb();}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 bdebcc5d..6fafcfb9 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x947538=_0x271f;function _0x271f(_0x2f07ac,_0x1f72a2){const _0xecb7d0=_0xecb7();return _0x271f=function(_0x271fb9,_0xa71a93){_0x271fb9=_0x271fb9-0x1c6;let _0x264c94=_0xecb7d0[_0x271fb9];return _0x264c94;},_0x271f(_0x2f07ac,_0x1f72a2);}(function(_0x3bbb62,_0x42db6d){const _0x35213f=_0x271f,_0x47e577=_0x3bbb62();while(!![]){try{const _0xad0df3=parseInt(_0x35213f(0x1c7))/0x1*(-parseInt(_0x35213f(0x1dd))/0x2)+parseInt(_0x35213f(0x1d3))/0x3*(-parseInt(_0x35213f(0x1d1))/0x4)+parseInt(_0x35213f(0x1c6))/0x5*(-parseInt(_0x35213f(0x1cc))/0x6)+-parseInt(_0x35213f(0x1d9))/0x7*(parseInt(_0x35213f(0x1d2))/0x8)+-parseInt(_0x35213f(0x1d7))/0x9*(-parseInt(_0x35213f(0x1c9))/0xa)+parseInt(_0x35213f(0x1d5))/0xb*(parseInt(_0x35213f(0x1cd))/0xc)+parseInt(_0x35213f(0x1d8))/0xd;if(_0xad0df3===_0x42db6d)break;else _0x47e577['push'](_0x47e577['shift']());}catch(_0x2e3f99){_0x47e577['push'](_0x47e577['shift']());}}}(_0xecb7,0x3f97d));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x947538(0x1d0)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3cab14){const _0x33555d=_0x947538;this[_0x33555d(0x1d0)]=_0x3cab14;}async['getRkey'](){const _0x4f669b=_0x947538,_0x73c35e={'idogL':_0x4f669b(0x1cb)};if(this[_0x4f669b(0x1d6)]())try{await this[_0x4f669b(0x1d4)]();}catch(_0x5b2252){logError(_0x73c35e[_0x4f669b(0x1da)],_0x5b2252);}return this[_0x4f669b(0x1ce)];}[_0x947538(0x1d6)](){const _0x55436e=_0x947538,_0x552866={'jeYGd':function(_0x746bef,_0x4cfc8d){return _0x746bef/_0x4cfc8d;},'VpGJF':function(_0x382624,_0x37f58a){return _0x382624>_0x37f58a;}},_0x1824ce=_0x552866['jeYGd'](new Date()['getTime'](),0x3e8);return _0x552866[_0x55436e(0x1cf)](_0x1824ce,this[_0x55436e(0x1ce)][_0x55436e(0x1c8)]);}async[_0x947538(0x1d4)](){const _0x4b3e66=_0x947538,_0x5a9ca0={'OMbtB':_0x4b3e66(0x1db)};this[_0x4b3e66(0x1ce)]=await RequestUtil['HttpGetJson'](this[_0x4b3e66(0x1d0)],_0x5a9ca0[_0x4b3e66(0x1ca)]);}}function _0xecb7(){const _0x48fc0b=['http://napcat-sign.wumiao.wang:2082/rkey','246TGTmuU','180105sHVzbr','2643NsclzE','expired_time','3420iiaPWy','OMbtB','获取rkey失败','30qPJvAc','4951332dRpCUC','rkeyData','VpGJF','serverUrl','49148LZUxYC','48GDYIWr','15GxVZZC','refreshRkey','11bUrgnm','isExpired','11070iYipvP','1704729CPPstL','160181ZLxfJM','idogL','GET'];_0xecb7=function(){return _0x48fc0b;};return _0xecb7();}export const rkeyManager=new RkeyManager(_0x947538(0x1dc)); \ No newline at end of file +function _0x7630(_0x13c015,_0x2035e8){const _0x4e3df0=_0x4e3d();return _0x7630=function(_0x763065,_0x18a865){_0x763065=_0x763065-0x1a0;let _0x357b4a=_0x4e3df0[_0x763065];return _0x357b4a;},_0x7630(_0x13c015,_0x2035e8);}function _0x4e3d(){const _0x47b3ca=['DuFQm','serverUrl','182226xEHQVd','12BHSUzB','5805877TFNMmS','http://napcat-sign.wumiao.wang:2082/rkey','21CQXAch','getRkey','ftjbK','ZMViJ','381768BGbMUq','GET','pKrvg','24QPCBRB','refreshRkey','isExpired','10VcyLSw','231CZBlHS','nFOKQ','460555aUraHx','9239040CepUUh','getTime','rkeyData','1547073ajPqig','25922uIEUos'];_0x4e3d=function(){return _0x47b3ca;};return _0x4e3d();}const _0x20b835=_0x7630;(function(_0x9411a3,_0x51c1dd){const _0x486139=_0x7630,_0x330606=_0x9411a3();while(!![]){try{const _0x3a5bf7=parseInt(_0x486139(0x1ad))/0x1*(parseInt(_0x486139(0x1a6))/0x2)+-parseInt(_0x486139(0x1b1))/0x3+parseInt(_0x486139(0x1aa))/0x4*(-parseInt(_0x486139(0x1a1))/0x5)+-parseInt(_0x486139(0x1a9))/0x6*(parseInt(_0x486139(0x1b8))/0x7)+parseInt(_0x486139(0x1a2))/0x8+-parseInt(_0x486139(0x1a5))/0x9*(parseInt(_0x486139(0x1b7))/0xa)+parseInt(_0x486139(0x1ab))/0xb*(parseInt(_0x486139(0x1b4))/0xc);if(_0x3a5bf7===_0x51c1dd)break;else _0x330606['push'](_0x330606['shift']());}catch(_0x34f37e){_0x330606['push'](_0x330606['shift']());}}}(_0x4e3d,0xdcef2));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2480b9){const _0x16f918=_0x7630;this[_0x16f918(0x1a8)]=_0x2480b9;}async[_0x20b835(0x1ae)](){const _0x1775ad=_0x20b835,_0x52ba76={'ftjbK':function(_0x596862,_0x1eb2e2,_0x2c83a3){return _0x596862(_0x1eb2e2,_0x2c83a3);},'nFOKQ':'获取rkey失败'};if(this[_0x1775ad(0x1b6)]())try{await this[_0x1775ad(0x1b5)]();}catch(_0x28da9a){_0x52ba76[_0x1775ad(0x1af)](logError,_0x52ba76[_0x1775ad(0x1a0)],_0x28da9a);}return this[_0x1775ad(0x1a4)];}[_0x20b835(0x1b6)](){const _0x5e2e62=_0x20b835,_0x1eb1ce={'DuFQm':function(_0xbd23a0,_0x1f48ec){return _0xbd23a0/_0x1f48ec;},'ZMViJ':function(_0x44f409,_0x4248f6){return _0x44f409>_0x4248f6;}},_0x4080d7=_0x1eb1ce[_0x5e2e62(0x1a7)](new Date()[_0x5e2e62(0x1a3)](),0x3e8);return _0x1eb1ce[_0x5e2e62(0x1b0)](_0x4080d7,this['rkeyData']['expired_time']);}async[_0x20b835(0x1b5)](){const _0x2c0151=_0x20b835,_0x439875={'pKrvg':_0x2c0151(0x1b2)};this['rkeyData']=await RequestUtil['HttpGetJson'](this[_0x2c0151(0x1a8)],_0x439875[_0x2c0151(0x1b3)]);}}export const rkeyManager=new RkeyManager(_0x20b835(0x1ac)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 57f5621e..17e9096f 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -function _0x158c(_0x5bc38e,_0x1a074d){const _0x332f99=_0x332f();return _0x158c=function(_0x158c08,_0xccd81f){_0x158c08=_0x158c08-0x89;let _0x5ca9ec=_0x332f99[_0x158c08];return _0x5ca9ec;},_0x158c(_0x5bc38e,_0x1a074d);}function _0x332f(){const _0x53e8e5=['default','resolve','/wrapper.node','url','1992vtilVh','existsSync','dirname','./resources/app/wrapper.node','\x22);\x0aexports\x20=\x20module.exports;\x0a','join','\x0amodule.exports\x20=\x20require(\x22','67705qODLCo','2278692fJCXan','execPath','2618004LDypmY','replace','590wMMgEZ','4bvWLfz','3116YiUJEh','WrapperLoader.cjs','1423925KSqysA','writeFileSync','resources/app/versions/','98BYmpcs','14987ycOTva','1021389RTnYwD','file://'];_0x332f=function(){return _0x53e8e5;};return _0x332f();}const _0x3894a0=_0x158c;(function(_0x1756ad,_0x25449b){const _0x5b2ef1=_0x158c,_0xd40356=_0x1756ad();while(!![]){try{const _0x4bd62c=parseInt(_0x5b2ef1(0xa3))/0x1*(-parseInt(_0x5b2ef1(0x9e))/0x2)+-parseInt(_0x5b2ef1(0x8a))/0x3+-parseInt(_0x5b2ef1(0x9d))/0x4*(parseInt(_0x5b2ef1(0xa0))/0x5)+parseInt(_0x5b2ef1(0x9a))/0x6+parseInt(_0x5b2ef1(0x89))/0x7*(parseInt(_0x5b2ef1(0x90))/0x8)+-parseInt(_0x5b2ef1(0x98))/0x9+-parseInt(_0x5b2ef1(0x9c))/0xa*(-parseInt(_0x5b2ef1(0x97))/0xb);if(_0x4bd62c===_0x25449b)break;else _0xd40356['push'](_0xd40356['shift']());}catch(_0x4230d8){_0xd40356['push'](_0xd40356['shift']());}}}(_0x332f,0x4999c));import _0x563436 from'node:path';import _0x3e3dc9 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3894a0(0x8f)]),__dirname=dirname(__filename);let wrapperNodePath=_0x563436[_0x3894a0(0x8d)](_0x563436['dirname'](process[_0x3894a0(0x99)]),_0x3894a0(0x93));!_0x3e3dc9[_0x3894a0(0x91)](wrapperNodePath)&&(wrapperNodePath=_0x563436[_0x3894a0(0x95)](_0x563436[_0x3894a0(0x92)](process[_0x3894a0(0x99)]),_0x3894a0(0xa2)+qqVersionConfigInfo['curVersion']+_0x3894a0(0x8e)));let WrapperLoader=_0x563436[_0x3894a0(0x95)](__dirname,_0x3894a0(0x9f));_0x3e3dc9[_0x3894a0(0xa1)](WrapperLoader,_0x3894a0(0x96)+wrapperNodePath[_0x3894a0(0x9b)](/\\/g,'\x5c\x5c')+_0x3894a0(0x94));const QQWrapper=(await import(_0x3894a0(0x8b)+WrapperLoader))[_0x3894a0(0x8c)];export default QQWrapper; \ No newline at end of file +const _0xe7827d=_0x5d80;(function(_0x265e84,_0x281460){const _0x370c96=_0x5d80,_0x5eb3ce=_0x265e84();while(!![]){try{const _0x55c394=parseInt(_0x370c96(0x15d))/0x1*(-parseInt(_0x370c96(0x15e))/0x2)+-parseInt(_0x370c96(0x172))/0x3+-parseInt(_0x370c96(0x173))/0x4*(-parseInt(_0x370c96(0x170))/0x5)+parseInt(_0x370c96(0x16d))/0x6+-parseInt(_0x370c96(0x161))/0x7*(parseInt(_0x370c96(0x166))/0x8)+-parseInt(_0x370c96(0x16e))/0x9+parseInt(_0x370c96(0x164))/0xa;if(_0x55c394===_0x281460)break;else _0x5eb3ce['push'](_0x5eb3ce['shift']());}catch(_0x176d8a){_0x5eb3ce['push'](_0x5eb3ce['shift']());}}}(_0x2733,0xc06f7));import _0x28d2d0 from'node:path';import _0x427a61 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x5d80(_0x25e9f2,_0x92d641){const _0x273314=_0x2733();return _0x5d80=function(_0x5d807b,_0x40a933){_0x5d807b=_0x5d807b-0x15d;let _0x3bb513=_0x273314[_0x5d807b];return _0x3bb513;},_0x5d80(_0x25e9f2,_0x92d641);}import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0xe7827d(0x169)]),__dirname=dirname(__filename);let wrapperNodePath=_0x28d2d0[_0xe7827d(0x163)](_0x28d2d0[_0xe7827d(0x160)](process[_0xe7827d(0x15f)]),'./resources/app/wrapper.node');!_0x427a61[_0xe7827d(0x167)](wrapperNodePath)&&(wrapperNodePath=_0x28d2d0[_0xe7827d(0x16c)](_0x28d2d0['dirname'](process[_0xe7827d(0x15f)]),_0xe7827d(0x165)+qqVersionConfigInfo['curVersion']+_0xe7827d(0x168)));let WrapperLoader=_0x28d2d0[_0xe7827d(0x16c)](__dirname,_0xe7827d(0x16f));_0x427a61[_0xe7827d(0x16b)](WrapperLoader,_0xe7827d(0x16a)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0xe7827d(0x162));function _0x2733(){const _0x263df5=['134984eIQpxE','existsSync','/wrapper.node','url','\x0amodule.exports\x20=\x20require(\x22','writeFileSync','join','895104BFjpCn','7044291cidHNT','WrapperLoader.cjs','5LuqwIR','default','2056680XqvNZb','4267504ENlKZE','7OewEaq','390668SmRfKh','execPath','dirname','91tDdROM','\x22);\x0aexports\x20=\x20module.exports;\x0a','resolve','26271010tMwTjq','resources/app/versions/'];_0x2733=function(){return _0x263df5;};return _0x2733();}const QQWrapper=(await import('file://'+WrapperLoader))[_0xe7827d(0x171)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/go-cqhttp/GetStrangerInfo.ts b/src/onebot11/action/go-cqhttp/GetStrangerInfo.ts index e32f0b27..f4576624 100644 --- a/src/onebot11/action/go-cqhttp/GetStrangerInfo.ts +++ b/src/onebot11/action/go-cqhttp/GetStrangerInfo.ts @@ -1,14 +1,15 @@ import BaseAction from '../BaseAction'; -import { OB11User } from '../../types'; +import { OB11User, OB11UserSex } from '../../types'; import { OB11Constructor } from '../../constructor'; import { ActionName } from '../types'; import { NTQQUserApi } from '@/core/apis/user'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; +import { calcQQLevel } from '@/common/utils/qqlevel'; const SchemaData = { type: 'object', properties: { - user_id: { type: [ 'number' , 'string' ] }, + user_id: { type: ['number', 'string'] }, }, required: ['user_id'] } as const satisfies JSONSchema; @@ -20,12 +21,23 @@ export default class GoCQHTTPGetStrangerInfo extends BaseAction { const user_id = payload.user_id.toString(); - //logDebug('uidMaps', uidMaps); - // const uid = getUidByUin(user_id); - // if (!uid) { - // throw new Error('查无此人'); - // } - // !!!!!!!!!!!!!!!需要重构 - return OB11Constructor.stranger(await NTQQUserApi.getUserDetailInfo((await NTQQUserApi.getUidByUin(user_id))!)); + let extendData = await NTQQUserApi.getUserDetailInfoByUin(user_id); + let uid = (await NTQQUserApi.getUidByUin(user_id))!; + if (!uid || uid.indexOf('*') != -1) { + let ret = { + ...extendData, + user_id: parseInt(extendData.info.uin) || 0, + nickname: extendData.info.nick, + sex: OB11UserSex.unknown, + age: (extendData.info.birthday_year == 0) ? 0 : new Date().getFullYear() - extendData.info.birthday_year, + qid: extendData.info.qid, + level: extendData.info.qqLevel && calcQQLevel(extendData.info.qqLevel) || 0, + login_days: 0, + uid: '' + } + return ret; + } + let data = { ...extendData, ...(await NTQQUserApi.getUserDetailInfo(uid)) }; + return OB11Constructor.stranger(data); } } diff --git a/src/onebot11/constructor.ts b/src/onebot11/constructor.ts index 88d48229..4c57af11 100644 --- a/src/onebot11/constructor.ts +++ b/src/onebot11/constructor.ts @@ -521,7 +521,7 @@ export class OB11Constructor { } static stranger(user: User): OB11User { - logDebug('construct ob11 stranger', user); + //logDebug('construct ob11 stranger', user); return { ...user, user_id: parseInt(user.uin), @@ -535,7 +535,7 @@ export class OB11Constructor { } static groupMembers(group: Group): OB11GroupMember[] { - logDebug('construct ob11 group members', group); + //logDebug('construct ob11 group members', group); return Array.from(groupMembers.get(group.groupCode)?.values() || []).map(m => OB11Constructor.groupMember(group.groupCode, m)); }