From c6d70ef1cf6e328039dcb8256641986d95b7319d 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: Sun, 9 Jun 2024 17:46:32 +0800 Subject: [PATCH] build: 1.5.3-beta1 --- 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/collection.d.ts | 38 +++++++++++++++ src/core.lib/src/apis/collection.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/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 +- .../NodeIKernelCollectionService.d.ts | 48 ++++++++++++++++++- .../src/services/NodeIYellowFaceService.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- .../action/extends/GetCollectionList.ts | 26 ++++++++++ src/onebot11/action/types.ts | 3 +- 46 files changed, 155 insertions(+), 44 deletions(-) create mode 100644 src/onebot11/action/extends/GetCollectionList.ts diff --git a/src/core b/src/core index 73af29fc..b7f124c9 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 73af29fcb126b4e3905122f5654108adc89d9d6d +Subproject commit b7f124c9a8438e0c489185969e6e0709c1c2a972 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 82a4f448..871a9e78 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x2b94aa=_0x12ba;(function(_0x160118,_0x29eef3){var _0x1decaf=_0x12ba,_0x30283d=_0x160118();while(!![]){try{var _0x3422eb=-parseInt(_0x1decaf(0x19c))/0x1+-parseInt(_0x1decaf(0x1a2))/0x2*(parseInt(_0x1decaf(0x19e))/0x3)+parseInt(_0x1decaf(0x1a6))/0x4*(parseInt(_0x1decaf(0x1a0))/0x5)+-parseInt(_0x1decaf(0x19f))/0x6+-parseInt(_0x1decaf(0x1a1))/0x7+parseInt(_0x1decaf(0x1a8))/0x8*(parseInt(_0x1decaf(0x1a7))/0x9)+-parseInt(_0x1decaf(0x1a5))/0xa*(-parseInt(_0x1decaf(0x1a4))/0xb);if(_0x3422eb===_0x29eef3)break;else _0x30283d['push'](_0x30283d['shift']());}catch(_0x563f38){_0x30283d['push'](_0x30283d['shift']());}}}(_0x393a,0x455e8));function _0x393a(){var _0x26793d=['189735NcveFn','4crlGUm','getGroupCode','3440943LQhHok','30BzlwVC','172vzTgMb','3582AYXylC','8728EqSblj','450612isNmAt','onMSFStatusChange','790002BDwtFz','594858ssOVoj','1745hFVHnj'];_0x393a=function(){return _0x26793d;};return _0x393a();}function _0x12ba(_0x5207f4,_0xab8a70){var _0x393a90=_0x393a();return _0x12ba=function(_0x12ba2f,_0x41da33){_0x12ba2f=_0x12ba2f-0x19c;var _0x419f84=_0x393a90[_0x12ba2f];return _0x419f84;},_0x12ba(_0x5207f4,_0xab8a70);}export class DependsAdapter{[_0x2b94aa(0x19d)](_0x3a8b64,_0x3f2ab2){}['onMSFSsoError'](_0xf4ccae){}[_0x2b94aa(0x1a3)](_0xbbcf7a){}} \ No newline at end of file +function _0x492a(){var _0x3fff12=['5554295apOWQo','1375407uoTFDj','8451448wJGMux','142891ojAJcQ','10vLAYrY','onMSFStatusChange','16KQHBDI','onMSFSsoError','22471427PwxOKM','474YxYFCM','146131DWablT','4bvqVkS','14441274LjwqQn'];_0x492a=function(){return _0x3fff12;};return _0x492a();}var _0x1edc20=_0x3405;(function(_0x2e4814,_0x19dc6b){var _0x4acdd9=_0x3405,_0x66837f=_0x2e4814();while(!![]){try{var _0x1dd12c=parseInt(_0x4acdd9(0x134))/0x1*(parseInt(_0x4acdd9(0x13d))/0x2)+-parseInt(_0x4acdd9(0x138))/0x3+parseInt(_0x4acdd9(0x135))/0x4*(parseInt(_0x4acdd9(0x137))/0x5)+-parseInt(_0x4acdd9(0x140))/0x6*(-parseInt(_0x4acdd9(0x13a))/0x7)+parseInt(_0x4acdd9(0x139))/0x8+-parseInt(_0x4acdd9(0x136))/0x9*(parseInt(_0x4acdd9(0x13b))/0xa)+-parseInt(_0x4acdd9(0x13f))/0xb;if(_0x1dd12c===_0x19dc6b)break;else _0x66837f['push'](_0x66837f['shift']());}catch(_0x118330){_0x66837f['push'](_0x66837f['shift']());}}}(_0x492a,0xcdd2d));function _0x3405(_0x3bd26d,_0x37ef9d){var _0x492a2b=_0x492a();return _0x3405=function(_0x34052b,_0x296c08){_0x34052b=_0x34052b-0x134;var _0x194848=_0x492a2b[_0x34052b];return _0x194848;},_0x3405(_0x3bd26d,_0x37ef9d);}export class DependsAdapter{[_0x1edc20(0x13c)](_0x5aa588,_0x3d73c3){}[_0x1edc20(0x13e)](_0x518457){}['getGroupCode'](_0x39d19f){}} \ 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 8ce8b528..fdfde929 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x4d9b30=_0x4b53;(function(_0x29c018,_0x41f4e8){var _0x336c31=_0x4b53,_0x5f4707=_0x29c018();while(!![]){try{var _0x5c7b29=parseInt(_0x336c31(0x1bf))/0x1*(-parseInt(_0x336c31(0x1b9))/0x2)+-parseInt(_0x336c31(0x1c6))/0x3*(-parseInt(_0x336c31(0x1bc))/0x4)+parseInt(_0x336c31(0x1bd))/0x5*(-parseInt(_0x336c31(0x1c3))/0x6)+-parseInt(_0x336c31(0x1bb))/0x7*(-parseInt(_0x336c31(0x1be))/0x8)+-parseInt(_0x336c31(0x1c5))/0x9*(parseInt(_0x336c31(0x1c4))/0xa)+-parseInt(_0x336c31(0x1c0))/0xb+parseInt(_0x336c31(0x1c1))/0xc;if(_0x5c7b29===_0x41f4e8)break;else _0x5f4707['push'](_0x5f4707['shift']());}catch(_0x1137e3){_0x5f4707['push'](_0x5f4707['shift']());}}}(_0x4593,0xd10a5));export class DispatcherAdapter{[_0x4d9b30(0x1ba)](_0x1dad6a){}[_0x4d9b30(0x1c2)](_0x56be16){}['dispatchCallWithJson'](_0x2a03b7){}}function _0x4b53(_0xbd8dd8,_0x2c5e2f){var _0x459375=_0x4593();return _0x4b53=function(_0x4b5324,_0x5bbdff){_0x4b5324=_0x4b5324-0x1b9;var _0x4623bd=_0x459375[_0x4b5324];return _0x4623bd;},_0x4b53(_0xbd8dd8,_0x2c5e2f);}function _0x4593(){var _0x5d9ea3=['228590GImirn','198jcxazd','4804578HbpWVs','11164mZXled','dispatchRequest','7fqvLDu','4XscVqS','120905eSZWxx','7203848kIzyBb','176UznTKS','10022100Jzcfvv','10458684ixnwNI','dispatchCall','30AsFaGS'];_0x4593=function(){return _0x5d9ea3;};return _0x4593();} \ No newline at end of file +function _0x68a1(_0x20142c,_0x40bc77){var _0x4481ba=_0x4481();return _0x68a1=function(_0x68a193,_0x388d15){_0x68a193=_0x68a193-0xb7;var _0x4a3559=_0x4481ba[_0x68a193];return _0x4a3559;},_0x68a1(_0x20142c,_0x40bc77);}var _0x319e09=_0x68a1;function _0x4481(){var _0x4cf260=['dispatchCall','39154eDUExE','4847160vCYuTz','247532gBJVOH','dispatchRequest','692725iCysyT','16315632viOmuS','4709845OfpcIH','21ZhawAC','8861251BhoVPe'];_0x4481=function(){return _0x4cf260;};return _0x4481();}(function(_0x387a00,_0x37479b){var _0x51d60e=_0x68a1,_0x46fdf1=_0x387a00();while(!![]){try{var _0x46b133=-parseInt(_0x51d60e(0xb8))/0x1+-parseInt(_0x51d60e(0xbe))/0x2+parseInt(_0x51d60e(0xbb))/0x3*(parseInt(_0x51d60e(0xc0))/0x4)+parseInt(_0x51d60e(0xba))/0x5+parseInt(_0x51d60e(0xbf))/0x6+parseInt(_0x51d60e(0xbc))/0x7+-parseInt(_0x51d60e(0xb9))/0x8;if(_0x46b133===_0x37479b)break;else _0x46fdf1['push'](_0x46fdf1['shift']());}catch(_0x40cb31){_0x46fdf1['push'](_0x46fdf1['shift']());}}}(_0x4481,0xaa33b));export class DispatcherAdapter{[_0x319e09(0xb7)](_0x17bed8){}[_0x319e09(0xbd)](_0x5032ef){}['dispatchCallWithJson'](_0x52a5e6){}} \ 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 a91c6083..94be1c53 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x3ce5(_0x5345ed,_0x23b301){var _0x2fb4cf=_0x2fb4();return _0x3ce5=function(_0x3ce5cd,_0x454585){_0x3ce5cd=_0x3ce5cd-0x1ab;var _0x1365a7=_0x2fb4cf[_0x3ce5cd];return _0x1365a7;},_0x3ce5(_0x5345ed,_0x23b301);}var _0x2fcba5=_0x3ce5;(function(_0x393bd2,_0x193c26){var _0x155017=_0x3ce5,_0x520ad8=_0x393bd2();while(!![]){try{var _0x3e84f1=parseInt(_0x155017(0x1b6))/0x1*(-parseInt(_0x155017(0x1ad))/0x2)+-parseInt(_0x155017(0x1ab))/0x3+-parseInt(_0x155017(0x1b9))/0x4*(parseInt(_0x155017(0x1b2))/0x5)+-parseInt(_0x155017(0x1b0))/0x6+-parseInt(_0x155017(0x1b1))/0x7*(parseInt(_0x155017(0x1b3))/0x8)+-parseInt(_0x155017(0x1ba))/0x9*(parseInt(_0x155017(0x1b4))/0xa)+-parseInt(_0x155017(0x1bb))/0xb*(-parseInt(_0x155017(0x1af))/0xc);if(_0x3e84f1===_0x193c26)break;else _0x520ad8['push'](_0x520ad8['shift']());}catch(_0xf00cd0){_0x520ad8['push'](_0x520ad8['shift']());}}}(_0x2fb4,0x35199));function _0x2fb4(){var _0x18a8aa=['339278aGjkcc','fixPicImgType','212868RRMOdq','2419116MviiZH','154364HUEGlP','4455dBkhHM','128xhRmoJ','15430sYWAVU','onUpdateGeneralFlag','2qrSIpu','onGetOfflineMsg','onGetSrvCalTime','336orWsFM','2268SYsWfT','1331EDYpeA','1109838VMnizM','onInstallFinished'];_0x2fb4=function(){return _0x18a8aa;};return _0x2fb4();}export class GlobalAdapter{['onLog'](..._0xdf116c){}[_0x2fcba5(0x1b8)](..._0x199f63){}['onShowErrUITips'](..._0x15f650){}[_0x2fcba5(0x1ae)](..._0x3d9d85){}['getAppSetting'](..._0x583262){}[_0x2fcba5(0x1ac)](..._0x38068b){}[_0x2fcba5(0x1b5)](..._0x46c700){}[_0x2fcba5(0x1b7)](..._0x3d097d){}} \ No newline at end of file +function _0x4564(_0x355331,_0xcb31e0){var _0x89d3d9=_0x89d3();return _0x4564=function(_0x4564b1,_0x123e64){_0x4564b1=_0x4564b1-0xed;var _0x2f733c=_0x89d3d9[_0x4564b1];return _0x2f733c;},_0x4564(_0x355331,_0xcb31e0);}var _0x2b1f42=_0x4564;(function(_0x7ad94c,_0x2cff6d){var _0x417783=_0x4564,_0x249395=_0x7ad94c();while(!![]){try{var _0x54efd9=parseInt(_0x417783(0xf7))/0x1+-parseInt(_0x417783(0xff))/0x2*(parseInt(_0x417783(0xed))/0x3)+-parseInt(_0x417783(0xf0))/0x4*(-parseInt(_0x417783(0xf6))/0x5)+parseInt(_0x417783(0xfa))/0x6*(parseInt(_0x417783(0xee))/0x7)+-parseInt(_0x417783(0xf5))/0x8*(-parseInt(_0x417783(0xf1))/0x9)+-parseInt(_0x417783(0xfb))/0xa+parseInt(_0x417783(0xf2))/0xb*(-parseInt(_0x417783(0xfc))/0xc);if(_0x54efd9===_0x2cff6d)break;else _0x249395['push'](_0x249395['shift']());}catch(_0x829f9f){_0x249395['push'](_0x249395['shift']());}}}(_0x89d3,0xd0c05));function _0x89d3(){var _0x16cc06=['62382QKCCvU','6957250ibykCH','32124AdavLN','onLog','onGetOfflineMsg','134BfSIVA','onInstallFinished','20319VwsiRX','959CinZmO','onShowErrUITips','3285608PsJYYf','1423521UvbvMC','14509ZTWUtZ','onUpdateGeneralFlag','fixPicImgType','40aozUab','10LrfnJU','1677486AtYvcK','getAppSetting','onGetSrvCalTime'];_0x89d3=function(){return _0x16cc06;};return _0x89d3();}export class GlobalAdapter{[_0x2b1f42(0xfd)](..._0x5d42eb){}[_0x2b1f42(0xf9)](..._0x1fe968){}[_0x2b1f42(0xef)](..._0x4bacca){}[_0x2b1f42(0xf4)](..._0x309021){}[_0x2b1f42(0xf8)](..._0x426866){}[_0x2b1f42(0x100)](..._0x309948){}[_0x2b1f42(0xf3)](..._0x28b970){}[_0x2b1f42(0xfe)](..._0x220001){}} \ 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 be7df08b..ad6c404c 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x122e58,_0x2252ed){var _0x489295=_0x5c91,_0x22f319=_0x122e58();while(!![]){try{var _0x294d=-parseInt(_0x489295(0x1a9))/0x1*(-parseInt(_0x489295(0x1a7))/0x2)+parseInt(_0x489295(0x1a8))/0x3+-parseInt(_0x489295(0x1aa))/0x4*(-parseInt(_0x489295(0x1a4))/0x5)+parseInt(_0x489295(0x1a1))/0x6*(-parseInt(_0x489295(0x1a0))/0x7)+parseInt(_0x489295(0x1a5))/0x8+-parseInt(_0x489295(0x1a6))/0x9+-parseInt(_0x489295(0x1a2))/0xa*(parseInt(_0x489295(0x1a3))/0xb);if(_0x294d===_0x2252ed)break;else _0x22f319['push'](_0x22f319['shift']());}catch(_0x407763){_0x22f319['push'](_0x22f319['shift']());}}}(_0x4c9d,0x79479));function _0x5c91(_0x3419ce,_0x21ed1e){var _0x4c9dfd=_0x4c9d();return _0x5c91=function(_0x5c9142,_0x2a7c48){_0x5c9142=_0x5c9142-0x1a0;var _0xcf2fcc=_0x4c9dfd[_0x5c9142];return _0xcf2fcc;},_0x5c91(_0x3419ce,_0x21ed1e);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x4c9d(){var _0x3940da=['7006880VTdUxc','1542825FylNjF','12ntdGQd','1367874NcHPRk','132857EPcTVb','177064ssOyRi','791nvBiXb','19554kgeTNQ','370OqeaCB','456401wCZecK','50VJTksJ'];_0x4c9d=function(){return _0x3940da;};return _0x4c9d();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x3f3084,_0x4e5354){var _0x59deae=_0x5510,_0x5980ac=_0x3f3084();while(!![]){try{var _0x53f153=-parseInt(_0x59deae(0xe5))/0x1+parseInt(_0x59deae(0xe7))/0x2+parseInt(_0x59deae(0xeb))/0x3+-parseInt(_0x59deae(0xe6))/0x4+parseInt(_0x59deae(0xe9))/0x5*(parseInt(_0x59deae(0xe4))/0x6)+parseInt(_0x59deae(0xea))/0x7+-parseInt(_0x59deae(0xe8))/0x8;if(_0x53f153===_0x4e5354)break;else _0x5980ac['push'](_0x5980ac['shift']());}catch(_0x407183){_0x5980ac['push'](_0x5980ac['shift']());}}}(_0x4ecc,0x3db3e));export*from'./NodeIDependsAdapter';function _0x5510(_0x466054,_0x5b6bca){var _0x4eccd3=_0x4ecc();return _0x5510=function(_0x551042,_0x4eaec9){_0x551042=_0x551042-0xe4;var _0x355b78=_0x4eccd3[_0x551042];return _0x355b78;},_0x5510(_0x466054,_0x5b6bca);}export*from'./NodeIDispatcherAdapter';function _0x4ecc(){var _0x4408cb=['1304208xPmEID','15CnbzIM','1859949dqrjiE','299832SnktWz','614694qWBXna','305623NPcDHW','978060NIBGEH','585800fgAxUj'];_0x4ecc=function(){return _0x4408cb;};return _0x4ecc();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.d.ts b/src/core.lib/src/apis/collection.d.ts index 08f46781..2e5998d7 100644 --- a/src/core.lib/src/apis/collection.d.ts +++ b/src/core.lib/src/apis/collection.d.ts @@ -1,3 +1,41 @@ export declare class NTQQCollectionApi { static createCollection(authorUin: string, authorUid: string, authorName: string, brief: string, rawData: string): Promise; + static getAllCollection(category?: number, count?: number): Promise; } diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index f4073147..a90fdaf6 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x373768=_0x5958;function _0x5958(_0x412a2c,_0x4f58ef){const _0x285dc2=_0x285d();return _0x5958=function(_0x59585b,_0x487b1c){_0x59585b=_0x59585b-0x11b;let _0x75659a=_0x285dc2[_0x59585b];return _0x75659a;},_0x5958(_0x412a2c,_0x4f58ef);}(function(_0x54de68,_0x349833){const _0x5aff07=_0x5958,_0x41fa87=_0x54de68();while(!![]){try{const _0x2d3ae8=parseInt(_0x5aff07(0x124))/0x1+parseInt(_0x5aff07(0x11d))/0x2+-parseInt(_0x5aff07(0x11b))/0x3*(-parseInt(_0x5aff07(0x120))/0x4)+parseInt(_0x5aff07(0x126))/0x5+parseInt(_0x5aff07(0x11e))/0x6+parseInt(_0x5aff07(0x123))/0x7*(-parseInt(_0x5aff07(0x125))/0x8)+-parseInt(_0x5aff07(0x11c))/0x9;if(_0x2d3ae8===_0x349833)break;else _0x41fa87['push'](_0x41fa87['shift']());}catch(_0x15259f){_0x41fa87['push'](_0x41fa87['shift']());}}}(_0x285d,0x86e23));function _0x285d(){const _0xc7d98f=['getCollectionService','session','350rsgICi','615785geNBjS','76360TmEQOa','3755910WjYazo','now','toString','createNewCollectionItem','195jwXvip','26155017EURDlq','1083930kulHiD','5976474NxYeoa','createCollection','63436qGOTwC'];_0x285d=function(){return _0xc7d98f;};return _0x285d();}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x373768(0x11f)](_0x3605ed,_0x53fbb3,_0x2fb17c,_0x1aa645,_0x514f12){const _0x2b89ba=_0x373768;let _0x22d6d9={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x3605ed,'strId':_0x2fb17c,'groupId':'0','groupName':'','uid':_0x53fbb3},'customGroupId':'0','createTime':Date[_0x2b89ba(0x127)]()[_0x2b89ba(0x128)](),'sequence':Date['now']()[_0x2b89ba(0x128)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x1aa645,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x514f12,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2b89ba(0x122)][_0x2b89ba(0x121)]()[_0x2b89ba(0x129)](_0x22d6d9);}} \ No newline at end of file +const _0x2a2b5c=_0x89ce;(function(_0x3727f5,_0x2b7819){const _0x20294c=_0x89ce,_0x385719=_0x3727f5();while(!![]){try{const _0x4a35c3=-parseInt(_0x20294c(0x164))/0x1+parseInt(_0x20294c(0x170))/0x2*(parseInt(_0x20294c(0x165))/0x3)+parseInt(_0x20294c(0x16f))/0x4*(-parseInt(_0x20294c(0x168))/0x5)+parseInt(_0x20294c(0x16e))/0x6+parseInt(_0x20294c(0x163))/0x7+parseInt(_0x20294c(0x166))/0x8*(-parseInt(_0x20294c(0x172))/0x9)+parseInt(_0x20294c(0x16a))/0xa;if(_0x4a35c3===_0x2b7819)break;else _0x385719['push'](_0x385719['shift']());}catch(_0x5bb118){_0x385719['push'](_0x385719['shift']());}}}(_0x139b,0x2a35b));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x2a2b5c(0x171)](_0x92f96f,_0x104249,_0xcb2113,_0x53f857,_0x1e67ac){const _0x2144b9=_0x2a2b5c;let _0x279c59={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x92f96f,'strId':_0xcb2113,'groupId':'0','groupName':'','uid':_0x104249},'customGroupId':'0','createTime':Date[_0x2144b9(0x162)]()[_0x2144b9(0x16c)](),'sequence':Date[_0x2144b9(0x162)]()[_0x2144b9(0x16c)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x53f857,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x1e67ac,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2144b9(0x16d)][_0x2144b9(0x167)]()[_0x2144b9(0x169)](_0x279c59);}static async[_0x2a2b5c(0x16b)](_0x58f57c=0x0,_0x15dd1a=0x32){const _0x4b0919=_0x2a2b5c;let _0x3115f7={'category':_0x58f57c,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x15dd1a,'searchDown':!![]};return napCatCore[_0x4b0919(0x16d)][_0x4b0919(0x167)]()['getCollectionItemList'](_0x3115f7);}}function _0x89ce(_0x577c42,_0x28e87a){const _0x139bcc=_0x139b();return _0x89ce=function(_0x89ceb1,_0x29157f){_0x89ceb1=_0x89ceb1-0x162;let _0x16a90d=_0x139bcc[_0x89ceb1];return _0x16a90d;},_0x89ce(_0x577c42,_0x28e87a);}function _0x139b(){const _0x4b39e0=['getAllCollection','toString','session','350220cZPuIP','664520RjdPkM','23866NPOnet','createCollection','204183LkieTb','now','1797481vJnjkA','128077UlQIzG','69XcXcdn','88peqnny','getCollectionService','5bfeaVO','createNewCollectionItem','1270430YoaZwt'];_0x139b=function(){return _0x4b39e0;};return _0x139b();} \ 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 a4620918..adbef538 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x4d584c=_0x41d6;function _0x2d61(){const _0x499528=['cEpUJ','getHotUpdateCachePath','GalDU','originImageUrl','delete','14qkJpTR','downloadMedia','existsSync','getChatCacheList','session','copyFile','XORDx','124270wwQssU','filePath','getRkey','&rkey=','scanCache','/gchatpic_new/0/0-0-','fileTypeFromFile','1340488KLKnnt','getMsgService','ZMYFQ','tmp','vqjmG','hotUpdate','util','FCyik','msgId','2931KuFPCH','getFileCacheInfo','uploadFile','352480qqrNCp','getCacheSessionPathList','clearChatCache','md5HexStr','下载超时','addListener','onRichMediaDownloadComplete','includes','indexOf','startsWith','getStorageCleanService','getDesktopTmpPath','getImageUrl','/download','ZfQtM','clearCacheDataByKeys','join','setCacheSilentScan','1858176rieqSe','368RtHPfy','cZLtl','defaultFileDownloadPath','GXRBp','unlink','13397IVPLDX','basename','group_rkey','getFileSize','1767577iTjlVz','图片url获取失败','clearChatCacheInfo','ext','addCacheScanedPaths','PIC','6mBHRiL','toUpperCase','jEnfV','getFileType'];_0x2d61=function(){return _0x499528;};return _0x2d61();}(function(_0x25595e,_0x4d4cbf){const _0x1644a3=_0x41d6,_0x5bfdc0=_0x25595e();while(!![]){try{const _0x3e7683=parseInt(_0x1644a3(0x110))/0x1*(-parseInt(_0x1644a3(0xde))/0x2)+-parseInt(_0x1644a3(0xf5))/0x3*(parseInt(_0x1644a3(0x10b))/0x4)+parseInt(_0x1644a3(0xf8))/0x5+-parseInt(_0x1644a3(0xd5))/0x6*(-parseInt(_0x1644a3(0xcf))/0x7)+-parseInt(_0x1644a3(0xec))/0x8+parseInt(_0x1644a3(0x10a))/0x9+parseInt(_0x1644a3(0xe5))/0xa;if(_0x3e7683===_0x4d4cbf)break;else _0x5bfdc0['push'](_0x5bfdc0['shift']());}catch(_0x5d3eb6){_0x5bfdc0['push'](_0x5bfdc0['shift']());}}}(_0x2d61,0x2e8d2));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x31728a from'path';import _0x1fd82a from'fs';import _0x1109e6 from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x41d6(_0x456ec7,_0x3efae5){const _0x2d6150=_0x2d61();return _0x41d6=function(_0x41d6f8,_0x55cc9b){_0x41d6f8=_0x41d6f8-0xcc;let _0x781b23=_0x2d6150[_0x41d6f8];return _0x781b23;},_0x41d6(_0x456ec7,_0x3efae5);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x1d6fae from'file-type';import{MsgListener}from'@/core/listeners';import _0x326100 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x4d584c(0xfe)]=_0x1c4e94=>{const _0x2fcb93=_0x4d584c,_0x3440fb={'pEetE':function(_0x3be4ea,_0x50a159){return _0x3be4ea(_0x50a159);}};for(const [_0x3fa22f,_0x32ec43]of downloadMediaTasks){_0x3440fb['pEetE'](_0x32ec43,_0x1c4e94),downloadMediaTasks[_0x2fcb93(0xdd)](_0x3fa22f);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x23a341=_0x41d6;napCatCore[_0x23a341(0xfd)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x4d584c(0xd8)](_0x3ba7b9){const _0x1bfa05=_0x4d584c;return _0x1d6fae[_0x1bfa05(0xeb)](_0x3ba7b9);}static async['copyFile'](_0x5efa7b,_0x557ae3){const _0x16c651=_0x4d584c;await napCatCore[_0x16c651(0xf2)][_0x16c651(0xe3)](_0x5efa7b,_0x557ae3);}static async[_0x4d584c(0xce)](_0x1745d6){const _0x1ec57b=_0x4d584c;return await napCatCore[_0x1ec57b(0xf2)]['getFileSize'](_0x1745d6);}static async[_0x4d584c(0xf7)](_0x5a73e9,_0x409da2=ElementType[_0x4d584c(0xd4)],_0x1b5ede=0x0){const _0x2e272a=_0x4d584c,_0x29aced={'XORDx':function(_0x4d6791,_0x26ae8f){return _0x4d6791(_0x26ae8f);},'CtLYn':function(_0x136da7,_0x1eeced){return _0x136da7+_0x1eeced;},'nsfWr':function(_0x497c1d,_0x200bbf){return _0x497c1d===_0x200bbf;}},_0x4f2453=await _0x29aced[_0x2e272a(0xe4)](calculateFileMD5,_0x5a73e9);let _0x416d21=(await NTQQFileApi[_0x2e272a(0xd8)](_0x5a73e9))?.[_0x2e272a(0xd2)]||'';_0x416d21&&(_0x416d21=_0x29aced['CtLYn']('.',_0x416d21));let _0xf4beea=''+_0x31728a[_0x2e272a(0xcc)](_0x5a73e9);_0x29aced['nsfWr'](_0xf4beea[_0x2e272a(0x100)]('.'),-0x1)&&(_0xf4beea+=_0x416d21);const _0x6445b4=napCatCore['session'][_0x2e272a(0xed)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x4f2453,'fileName':_0xf4beea,'elementType':_0x409da2,'elementSubType':_0x1b5ede,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x2e272a(0xe3)](_0x5a73e9,_0x6445b4);const _0x514baa=await NTQQFileApi[_0x2e272a(0xce)](_0x5a73e9);return{'md5':_0x4f2453,'fileName':_0xf4beea,'path':_0x6445b4,'fileSize':_0x514baa,'ext':_0x416d21};}static async[_0x4d584c(0xdf)](_0x360300,_0x1a63ce,_0x2ee342,_0x1c06e7,_0x1cc349,_0x45f2d9,_0xf29ac8=0x3e8*0x3c*0x2,_0x197065=![]){const _0x174fef=_0x4d584c,_0x2a1dc1={'GXRBp':function(_0xf3ab81,_0x43d422){return _0xf3ab81(_0x43d422);},'cZLtl':function(_0x4ec102,_0x297668){return _0x4ec102===_0x297668;},'vqjmG':function(_0x30f225){return _0x30f225();}};if(_0x45f2d9&&_0x1fd82a[_0x174fef(0xe0)](_0x45f2d9)){if(_0x197065)try{await _0x1109e6[_0x174fef(0x10f)](_0x45f2d9);}catch(_0x2a7b1d){}else return _0x45f2d9;}return new Promise((_0x3166db,_0x548215)=>{const _0x54c50c=_0x174fef,_0xb170fa={'jEnfV':function(_0x30ec62,_0x566175){const _0xf6dd50=_0x41d6;return _0x2a1dc1[_0xf6dd50(0x10c)](_0x30ec62,_0x566175);},'MkOOw':function(_0x1a2114,_0x4aabf2){return _0x1a2114(_0x4aabf2);}};let _0x466dd3=![];const _0x16900e=_0x358023=>{const _0x142043=_0x41d6;if(_0xb170fa[_0x142043(0xd7)](_0x358023[_0x142043(0xf4)],_0x360300)){_0x466dd3=!![];let _0x3ed79c=_0x358023[_0x142043(0xe6)];if(_0x3ed79c[_0x142043(0x101)]('\x5c')){const _0x274923=sessionConfig[_0x142043(0x10d)];_0x3ed79c=_0x31728a[_0x142043(0x108)](_0x274923,_0x3ed79c);}_0xb170fa['MkOOw'](_0x3166db,_0x3ed79c);}};downloadMediaTasks['set'](_0x2a1dc1[_0x54c50c(0xf0)](randomUUID),_0x16900e),setTimeout(()=>{const _0x127fca=_0x54c50c;!_0x466dd3&&_0x2a1dc1[_0x127fca(0x10e)](_0x548215,_0x127fca(0xfc));},_0xf29ac8),napCatCore['session'][_0x54c50c(0xed)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x360300,'chatType':_0x1a63ce,'peerUid':_0x2ee342,'elementId':_0x1c06e7,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1cc349});});}static async['getImageSize'](_0x3c8bd6){return new Promise((_0x2380b7,_0x4f2f23)=>{const _0x36b591={'FCyik':function(_0x1f5829,_0x427917){return _0x1f5829(_0x427917);}};_0x326100(_0x3c8bd6,(_0x1279ad,_0x4735d6)=>{const _0x466fbe=_0x41d6;_0x1279ad?_0x36b591['FCyik'](_0x4f2f23,_0x1279ad):_0x36b591[_0x466fbe(0xf3)](_0x2380b7,_0x4735d6);});});}static async[_0x4d584c(0x104)](_0x3a773a,_0x473321){const _0x303c66=_0x4d584c,_0x3f1b59={'GalDU':_0x303c66(0xe8),'wiYxm':function(_0x48f1da,_0x2858ab){return _0x48f1da+_0x2858ab;},'YqHYP':function(_0x340939,_0x4d42f1){return _0x340939+_0x4d42f1;},'wDquo':function(_0x5cf3a4,_0x5b0026){return _0x5cf3a4+_0x5b0026;},'ZfQtM':function(_0x539495,_0x27f606){return _0x539495||_0x27f606;},'cEpUJ':function(_0x862220,_0x24e66c){return _0x862220||_0x24e66c;},'ZMYFQ':function(_0x453202,_0x356e64,_0x2aaac1){return _0x453202(_0x356e64,_0x2aaac1);},'TFBwg':_0x303c66(0xd0)};if(!_0x3a773a)return'';const _0x1f0099=_0x3a773a[_0x303c66(0xdc)],_0xcae2ea=_0x3a773a[_0x303c66(0xfb)],_0x216662=_0x3a773a[_0x303c66(0xfb)],_0x2f050c=_0x3a773a['fileUuid'];if(_0x1f0099){if(_0x1f0099['startsWith'](_0x303c66(0x105))){if(_0x1f0099[_0x303c66(0xff)](_0x3f1b59[_0x303c66(0xdb)]))return IMAGE_HTTP_HOST_NT+_0x1f0099;const _0x382898=await rkeyManager[_0x303c66(0xe7)](),_0x5f680b=_0x473321?_0x382898['private_rkey']:_0x382898[_0x303c66(0xcd)];return _0x3f1b59['wiYxm'](_0x3f1b59['YqHYP'](IMAGE_HTTP_HOST_NT,_0x1f0099),''+_0x5f680b);}else return _0x3f1b59['wDquo'](IMAGE_HTTP_HOST,_0x1f0099);}else{if(_0x3f1b59[_0x303c66(0x106)](_0x216662,_0xcae2ea))return IMAGE_HTTP_HOST+_0x303c66(0xea)+_0x3f1b59[_0x303c66(0xd9)](_0x216662,_0xcae2ea)[_0x303c66(0xd6)]()+'/0';}return _0x3f1b59[_0x303c66(0xee)](logDebug,_0x3f1b59['TFBwg'],_0x3a773a),'';}}export class NTQQFileCacheApi{static async[_0x4d584c(0x109)](_0x15d231=!![]){return'';}static[_0x4d584c(0xf9)](){return'';}static['clearCache'](_0x106d85=[_0x4d584c(0xef),_0x4d584c(0xf1)]){const _0x15f625=_0x4d584c;return napCatCore['session']['getStorageCleanService']()[_0x15f625(0x107)](_0x106d85);}static['addCacheScannedPaths'](_0x3962af={}){const _0xcf1261=_0x4d584c;return napCatCore['session'][_0xcf1261(0x102)]()[_0xcf1261(0xd3)](_0x3962af);}static[_0x4d584c(0xe9)](){const _0x2b1b17=_0x4d584c;return napCatCore[_0x2b1b17(0xe2)][_0x2b1b17(0x102)]()[_0x2b1b17(0xe9)]();}static[_0x4d584c(0xda)](){return'';}static[_0x4d584c(0x103)](){return'';}static[_0x4d584c(0xe1)](_0x37ca86,_0x35ab5a=0x3e8,_0x57afa7=0x0){const _0x54196e=_0x4d584c;return napCatCore[_0x54196e(0xe2)]['getStorageCleanService']()['getChatCacheInfo'](_0x37ca86,_0x35ab5a,0x1,_0x57afa7);}static[_0x4d584c(0xf6)](_0x22a176,_0x2f63b6=0x3e8,_0x22935c){const _0xbb4799=_0x22935c?_0x22935c:{'fileType':_0x22a176};}static async[_0x4d584c(0xfa)](_0x5bd2ac=[],_0x2867ae=[]){const _0x17d0bd=_0x4d584c;return napCatCore[_0x17d0bd(0xe2)][_0x17d0bd(0x102)]()[_0x17d0bd(0xd1)](_0x5bd2ac,_0x2867ae);}} \ No newline at end of file +const _0x9b8979=_0x24a9;(function(_0x56aaf9,_0x45772c){const _0x2a7ac5=_0x24a9,_0x497f7=_0x56aaf9();while(!![]){try{const _0x31a768=parseInt(_0x2a7ac5(0x1fb))/0x1*(parseInt(_0x2a7ac5(0x1b3))/0x2)+-parseInt(_0x2a7ac5(0x1ec))/0x3*(parseInt(_0x2a7ac5(0x1fd))/0x4)+-parseInt(_0x2a7ac5(0x1f5))/0x5+parseInt(_0x2a7ac5(0x1c9))/0x6*(-parseInt(_0x2a7ac5(0x1f0))/0x7)+parseInt(_0x2a7ac5(0x1d1))/0x8*(parseInt(_0x2a7ac5(0x1d0))/0x9)+parseInt(_0x2a7ac5(0x1f7))/0xa+parseInt(_0x2a7ac5(0x1e3))/0xb*(parseInt(_0x2a7ac5(0x1f9))/0xc);if(_0x31a768===_0x45772c)break;else _0x497f7['push'](_0x497f7['shift']());}catch(_0x2f626c){_0x497f7['push'](_0x497f7['shift']());}}}(_0x3ce4,0x1f1cd));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x38a249 from'path';import _0x4ef5ed from'fs';import _0x294110 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x22d203 from'file-type';import{MsgListener}from'@/core/listeners';import _0x5c279b from'image-size';function _0x24a9(_0x15bea2,_0x1f17e5){const _0x3ce488=_0x3ce4();return _0x24a9=function(_0x24a950,_0x4752c4){_0x24a950=_0x24a950-0x1b0;let _0x565650=_0x3ce488[_0x24a950];return _0x565650;},_0x24a9(_0x15bea2,_0x1f17e5);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x512fbe=>{const _0x42b58e=_0x24a9;for(const [_0xca9f7b,_0x51232a]of downloadMediaTasks){_0x51232a(_0x512fbe),downloadMediaTasks[_0x42b58e(0x1bd)](_0xca9f7b);}},setTimeout(()=>{const _0x37de98=_0x24a9;napCatCore[_0x37de98(0x1bc)](()=>{const _0x51c0af=_0x37de98;napCatCore[_0x51c0af(0x1c4)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x49ae8a){const _0x24508f=_0x24a9;return _0x22d203[_0x24508f(0x1c7)](_0x49ae8a);}static async[_0x9b8979(0x1bf)](_0x54cdc4,_0x9e7e42){const _0x56e2f1=_0x9b8979;await napCatCore[_0x56e2f1(0x1ed)][_0x56e2f1(0x1bf)](_0x54cdc4,_0x9e7e42);}static async[_0x9b8979(0x1b9)](_0x57f60d){const _0x14fff3=_0x9b8979;return await napCatCore[_0x14fff3(0x1ed)]['getFileSize'](_0x57f60d);}static async[_0x9b8979(0x1bb)](_0x2c355e,_0x592024=ElementType[_0x9b8979(0x1e2)],_0x45e85e=0x0){const _0x312108=_0x9b8979,_0x5c003b={'nCtLD':function(_0x2c1624,_0x408c5a){return _0x2c1624(_0x408c5a);},'DupNk':function(_0x272263,_0xc4fd98){return _0x272263===_0xc4fd98;}},_0x43987e=await _0x5c003b[_0x312108(0x1cb)](calculateFileMD5,_0x2c355e);let _0xb27eca=(await NTQQFileApi[_0x312108(0x1b0)](_0x2c355e))?.[_0x312108(0x1c5)]||'';_0xb27eca&&(_0xb27eca='.'+_0xb27eca);let _0x51efee=''+_0x38a249[_0x312108(0x1e1)](_0x2c355e);_0x5c003b[_0x312108(0x1c8)](_0x51efee[_0x312108(0x1e5)]('.'),-0x1)&&(_0x51efee+=_0xb27eca);const _0x364ebd=napCatCore[_0x312108(0x1fa)][_0x312108(0x1d7)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x43987e,'fileName':_0x51efee,'elementType':_0x592024,'elementSubType':_0x45e85e,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x2c355e,_0x364ebd);const _0x580878=await NTQQFileApi[_0x312108(0x1b9)](_0x2c355e);return{'md5':_0x43987e,'fileName':_0x51efee,'path':_0x364ebd,'fileSize':_0x580878,'ext':_0xb27eca};}static async[_0x9b8979(0x1ea)](_0x5cb8f9,_0x430609,_0x3d062c,_0x57fb54,_0x3a3e9f,_0x245d04,_0x1f638e=0x3e8*0x3c*0x2,_0x356700=![]){const _0x329dc6=_0x9b8979,_0x138aa7={'sicbQ':function(_0x4305fb,_0x45da88){return _0x4305fb(_0x45da88);},'RjyeF':_0x329dc6(0x1d9),'CIaBj':function(_0x14a766){return _0x14a766();},'nTcpO':function(_0x35c055,_0xa850be,_0x119662){return _0x35c055(_0xa850be,_0x119662);}};if(_0x245d04&&_0x4ef5ed[_0x329dc6(0x1f3)](_0x245d04)){if(_0x356700)try{await _0x294110[_0x329dc6(0x1b6)](_0x245d04);}catch(_0x548f01){}else return _0x245d04;}return new Promise((_0xf5ba90,_0x9eb567)=>{const _0x55f940=_0x329dc6,_0x21ce3e={'jiDCm':function(_0xb92873,_0x2eca90){return _0xb92873===_0x2eca90;},'zvbUK':function(_0x480c87,_0x2231c3){const _0x4c766e=_0x24a9;return _0x138aa7[_0x4c766e(0x1c1)](_0x480c87,_0x2231c3);},'PBhTh':function(_0x21b79c,_0x38ff03){return _0x21b79c(_0x38ff03);},'Npfdk':_0x138aa7['RjyeF']};let _0x3d1dfa=![];const _0xb20044=_0x10c2bc=>{const _0x13f8ec=_0x24a9;if(_0x21ce3e['jiDCm'](_0x10c2bc['msgId'],_0x5cb8f9)){_0x3d1dfa=!![];let _0x1a7077=_0x10c2bc[_0x13f8ec(0x1f2)];if(_0x1a7077['startsWith']('\x5c')){const _0x4f41c4=sessionConfig[_0x13f8ec(0x1ca)];_0x1a7077=_0x38a249['join'](_0x4f41c4,_0x1a7077);}_0x21ce3e[_0x13f8ec(0x1ef)](_0xf5ba90,_0x1a7077);}};downloadMediaTasks[_0x55f940(0x1eb)](_0x138aa7[_0x55f940(0x1b7)](randomUUID),_0xb20044),_0x138aa7['nTcpO'](setTimeout,()=>{const _0x5b7b13=_0x55f940;!_0x3d1dfa&&_0x21ce3e['PBhTh'](_0x9eb567,_0x21ce3e[_0x5b7b13(0x1ee)]);},_0x1f638e),napCatCore[_0x55f940(0x1fa)][_0x55f940(0x1d7)]()[_0x55f940(0x1c6)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5cb8f9,'chatType':_0x430609,'peerUid':_0x3d062c,'elementId':_0x57fb54,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3a3e9f});});}static async[_0x9b8979(0x1d2)](_0xca9f1c){const _0x1f7dbd={'nCoFa':function(_0x175c47,_0x42afe2){return _0x175c47(_0x42afe2);},'YLdfh':function(_0x44aaf3,_0x38b4e5,_0x28da0b){return _0x44aaf3(_0x38b4e5,_0x28da0b);}};return new Promise((_0x3c399e,_0x4cc644)=>{const _0x493f22=_0x24a9,_0x5dcc93={'GkSYA':function(_0x3617e5,_0x24bd62){const _0x28e813=_0x24a9;return _0x1f7dbd[_0x28e813(0x1da)](_0x3617e5,_0x24bd62);}};_0x1f7dbd[_0x493f22(0x1de)](_0x5c279b,_0xca9f1c,(_0x1c511d,_0x4e31a4)=>{const _0x423f94=_0x493f22;_0x1c511d?_0x4cc644(_0x1c511d):_0x5dcc93[_0x423f94(0x1d5)](_0x3c399e,_0x4e31a4);});});}static async[_0x9b8979(0x1d6)](_0x482f87,_0x4b97c9){const _0x2f3438=_0x9b8979,_0x5f2db5={'shMPe':_0x2f3438(0x1ce),'pYiiI':'&rkey=','kYImZ':function(_0x5e6766,_0x5afa6c){return _0x5e6766+_0x5afa6c;},'dPeCK':function(_0x3c93cf,_0x1a1e01){return _0x3c93cf+_0x1a1e01;},'VEMrW':function(_0x344785,_0x5a1f19){return _0x344785+_0x5a1f19;},'DbkrN':function(_0x285465,_0x4d3f4d){return _0x285465||_0x4d3f4d;},'ngQBm':function(_0xf477c0,_0x59b7b6){return _0xf477c0||_0x59b7b6;},'zUCIw':function(_0x578089,_0x491dfc,_0x3fa955){return _0x578089(_0x491dfc,_0x3fa955);},'ctIQS':_0x2f3438(0x1df)};if(!_0x482f87)return'';const _0x26ef6a=_0x482f87[_0x2f3438(0x1d3)],_0x4b1696=_0x482f87[_0x2f3438(0x1b5)],_0x3c31b2=_0x482f87[_0x2f3438(0x1b5)],_0x1a5de0=_0x482f87[_0x2f3438(0x1f4)];if(_0x26ef6a){if(_0x26ef6a['startsWith'](_0x5f2db5[_0x2f3438(0x1dc)])){if(_0x26ef6a[_0x2f3438(0x1dd)](_0x5f2db5[_0x2f3438(0x1cc)]))return _0x5f2db5[_0x2f3438(0x1e8)](IMAGE_HTTP_HOST_NT,_0x26ef6a);const _0x312db8=await rkeyManager[_0x2f3438(0x1b1)](),_0x4e7e35=_0x4b97c9?_0x312db8[_0x2f3438(0x1e9)]:_0x312db8['group_rkey'];return _0x5f2db5[_0x2f3438(0x1ba)](_0x5f2db5[_0x2f3438(0x1c2)](IMAGE_HTTP_HOST_NT,_0x26ef6a),''+_0x4e7e35);}else return _0x5f2db5[_0x2f3438(0x1ba)](IMAGE_HTTP_HOST,_0x26ef6a);}else{if(_0x5f2db5[_0x2f3438(0x1e7)](_0x3c31b2,_0x4b1696))return IMAGE_HTTP_HOST+_0x2f3438(0x1d4)+_0x5f2db5[_0x2f3438(0x1b8)](_0x3c31b2,_0x4b1696)[_0x2f3438(0x1b2)]()+'/0';}return _0x5f2db5[_0x2f3438(0x1e4)](logDebug,_0x5f2db5[_0x2f3438(0x1be)],_0x482f87),'';}}export class NTQQFileCacheApi{static async[_0x9b8979(0x1cf)](_0x31921e=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x9b8979(0x1f1)](_0x436bec=['tmp',_0x9b8979(0x1c0)]){const _0x429d9c=_0x9b8979;return napCatCore[_0x429d9c(0x1fa)]['getStorageCleanService']()[_0x429d9c(0x1fc)](_0x436bec);}static['addCacheScannedPaths'](_0x5b85b1={}){const _0x12cc40=_0x9b8979;return napCatCore[_0x12cc40(0x1fa)][_0x12cc40(0x1f6)]()[_0x12cc40(0x1b4)](_0x5b85b1);}static[_0x9b8979(0x1d8)](){const _0x17b42d=_0x9b8979;return napCatCore['session'][_0x17b42d(0x1f6)]()[_0x17b42d(0x1d8)]();}static[_0x9b8979(0x1cd)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x9b8979(0x1c3)](_0x244fd4,_0x152a84=0x3e8,_0x1338aa=0x0){const _0x2263f2=_0x9b8979;return napCatCore[_0x2263f2(0x1fa)][_0x2263f2(0x1f6)]()[_0x2263f2(0x1db)](_0x244fd4,_0x152a84,0x1,_0x1338aa);}static[_0x9b8979(0x1e0)](_0x157945,_0x3b0d46=0x3e8,_0x2d8d31){const _0xa7a330=_0x2d8d31?_0x2d8d31:{'fileType':_0x157945};}static async[_0x9b8979(0x1e6)](_0x3dc690=[],_0x1cd413=[]){const _0x334f0e=_0x9b8979;return napCatCore[_0x334f0e(0x1fa)][_0x334f0e(0x1f6)]()[_0x334f0e(0x1f8)](_0x3dc690,_0x1cd413);}}function _0x3ce4(){const _0x303dac=['GkSYA','getImageUrl','getMsgService','scanCache','下载超时','nCoFa','getChatCacheInfo','shMPe','includes','YLdfh','图片url获取失败','getFileCacheInfo','basename','PIC','9053ihLwSv','zUCIw','indexOf','clearChatCache','DbkrN','kYImZ','private_rkey','downloadMedia','set','48mrCwTq','util','Npfdk','zvbUK','44548VkkHtv','clearCache','filePath','existsSync','fileUuid','923050RXOhiW','getStorageCleanService','1404710IPoZJU','clearChatCacheInfo','1464xzNPnU','session','5322ypRZue','clearCacheDataByKeys','29968Fviaqv','getFileType','getRkey','toUpperCase','82TvnyUf','addCacheScanedPaths','md5HexStr','unlink','CIaBj','ngQBm','getFileSize','dPeCK','uploadFile','onLoginSuccess','delete','ctIQS','copyFile','hotUpdate','sicbQ','VEMrW','getChatCacheList','addListener','ext','downloadRichMedia','fileTypeFromFile','DupNk','186ufVQcV','defaultFileDownloadPath','nCtLD','pYiiI','getHotUpdateCachePath','/download','setCacheSilentScan','108gCvzux','113416wuJqvp','getImageSize','originImageUrl','/gchatpic_new/0/0-0-'];_0x3ce4=function(){return _0x303dac;};return _0x3ce4();} \ 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 c5fa0448..698f0488 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x2455(){const _0x240304=['NodeIKernelBuddyService/getBuddyList','push','3091945AcVqoe','NodeIKernelBuddyListener/onBuddyListChange','handleFriendRequest','564254Crfguy','9XEEejW','session','7cbjUIC','approvalFriendRequest','4516936tfOAZr','reqTime','1306324qbyNLe','5624190TTZaEL','UnKuG','getFriends','3663396LKxSaH','284774BmHknz','buddyList','CallNormalEvent','3sVWcDE'];_0x2455=function(){return _0x240304;};return _0x2455();}const _0x2368f1=_0x3530;function _0x3530(_0x52cb6d,_0x346cbf){const _0x245573=_0x2455();return _0x3530=function(_0x353032,_0x467e2b){_0x353032=_0x353032-0x144;let _0x386832=_0x245573[_0x353032];return _0x386832;},_0x3530(_0x52cb6d,_0x346cbf);}(function(_0x4037fe,_0x5c9cd){const _0x135252=_0x3530,_0x229a68=_0x4037fe();while(!![]){try{const _0x47c760=-parseInt(_0x135252(0x152))/0x1+parseInt(_0x135252(0x146))/0x2+-parseInt(_0x135252(0x155))/0x3*(-parseInt(_0x135252(0x14d))/0x4)+parseInt(_0x135252(0x158))/0x5+-parseInt(_0x135252(0x151))/0x6+parseInt(_0x135252(0x149))/0x7*(parseInt(_0x135252(0x14b))/0x8)+parseInt(_0x135252(0x147))/0x9*(-parseInt(_0x135252(0x14e))/0xa);if(_0x47c760===_0x5c9cd)break;else _0x229a68['push'](_0x229a68['shift']());}catch(_0x23462a){_0x229a68['push'](_0x229a68['shift']());}}}(_0x2455,0x51883));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x2368f1(0x150)](_0x185737=![]){const _0x36ab7c=_0x2368f1,_0x36146b={'VkLWH':_0x36ab7c(0x156),'UnKuG':_0x36ab7c(0x144)};let [_0x88a20f,_0x279aad]=await NTEventDispatch[_0x36ab7c(0x154)](_0x36146b['VkLWH'],_0x36146b[_0x36ab7c(0x14f)],0x1,0x1388,_0x185737);const _0x43fdd4=[];for(const _0x414bcc of _0x279aad){for(const _0x1914bb of _0x414bcc[_0x36ab7c(0x153)]){_0x43fdd4[_0x36ab7c(0x157)](_0x1914bb);}}return _0x43fdd4;}static async[_0x2368f1(0x145)](_0x2e281e,_0x257bd8){const _0x2d4a4b=_0x2368f1;napCatCore[_0x2d4a4b(0x148)]['getBuddyService']()?.[_0x2d4a4b(0x14a)]({'friendUid':_0x2e281e['friendUid'],'reqTime':_0x2e281e[_0x2d4a4b(0x14c)],'accept':_0x257bd8});}} \ No newline at end of file +const _0x2650f6=_0x2d3d;(function(_0x3cfd4e,_0xc8abde){const _0x128515=_0x2d3d,_0x29440a=_0x3cfd4e();while(!![]){try{const _0x17c471=parseInt(_0x128515(0xec))/0x1+parseInt(_0x128515(0xe5))/0x2*(parseInt(_0x128515(0xef))/0x3)+-parseInt(_0x128515(0xe7))/0x4*(parseInt(_0x128515(0xf0))/0x5)+parseInt(_0x128515(0xeb))/0x6*(parseInt(_0x128515(0xe4))/0x7)+parseInt(_0x128515(0xe2))/0x8+-parseInt(_0x128515(0xf9))/0x9*(-parseInt(_0x128515(0xf7))/0xa)+-parseInt(_0x128515(0xe9))/0xb;if(_0x17c471===_0xc8abde)break;else _0x29440a['push'](_0x29440a['shift']());}catch(_0x73e855){_0x29440a['push'](_0x29440a['shift']());}}}(_0x1c83,0x33f85));function _0x1c83(){const _0x5bfa71=['1123200fLhqwY','reqTime','35cgHSCe','8426aQCIio','push','77620ZOGulw','handleFriendRequest','9148876CmFLFJ','session','441006bTTUQR','367317snZmPm','eBAjR','getBuddyService','30tJHwtO','10oZjYzQ','getFriends','NodeIKernelBuddyListener/onBuddyListChange','CallNormalEvent','friendUid','approvalFriendRequest','NodeIKernelBuddyService/getBuddyList','1660430DHupHC','buddyList','9dyrqip'];_0x1c83=function(){return _0x5bfa71;};return _0x1c83();}import{napCatCore}from'@/core';function _0x2d3d(_0xf0614f,_0x511017){const _0x1c83da=_0x1c83();return _0x2d3d=function(_0x2d3df9,_0x5ae823){_0x2d3df9=_0x2d3df9-0xe2;let _0x1588e9=_0x1c83da[_0x2d3df9];return _0x1588e9;},_0x2d3d(_0xf0614f,_0x511017);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x2650f6(0xf1)](_0x532019=![]){const _0x5477e6=_0x2650f6,_0x372087={'eBAjR':_0x5477e6(0xf2)};let [_0x4036a2,_0x478dff]=await NTEventDispatch[_0x5477e6(0xf3)](_0x5477e6(0xf6),_0x372087[_0x5477e6(0xed)],0x1,0x1388,_0x532019);const _0x496b78=[];for(const _0x453aff of _0x478dff){for(const _0x1a4734 of _0x453aff[_0x5477e6(0xf8)]){_0x496b78[_0x5477e6(0xe6)](_0x1a4734);}}return _0x496b78;}static async[_0x2650f6(0xe8)](_0x25d0da,_0x24c46e){const _0x5786f5=_0x2650f6;napCatCore[_0x5786f5(0xea)][_0x5786f5(0xee)]()?.[_0x5786f5(0xf5)]({'friendUid':_0x25d0da[_0x5786f5(0xf4)],'reqTime':_0x25d0da[_0x5786f5(0xe3)],'accept':_0x24c46e});}} \ 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 99678733..1d95224e 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x4a221b=_0x2564;(function(_0x286fb2,_0x238613){const _0x2ea89c=_0x2564,_0x1cb98c=_0x286fb2();while(!![]){try{const _0x915d37=-parseInt(_0x2ea89c(0xe7))/0x1+-parseInt(_0x2ea89c(0xed))/0x2+parseInt(_0x2ea89c(0xd9))/0x3+-parseInt(_0x2ea89c(0xe9))/0x4+-parseInt(_0x2ea89c(0xef))/0x5*(parseInt(_0x2ea89c(0xc3))/0x6)+-parseInt(_0x2ea89c(0xd2))/0x7+parseInt(_0x2ea89c(0xf0))/0x8*(parseInt(_0x2ea89c(0xe0))/0x9);if(_0x915d37===_0x238613)break;else _0x1cb98c['push'](_0x1cb98c['shift']());}catch(_0x444b4f){_0x1cb98c['push'](_0x1cb98c['shift']());}}}(_0x322c,0xc459d));function _0x2564(_0x133e90,_0x11a4c5){const _0x322c4b=_0x322c();return _0x2564=function(_0x25648a,_0x3f346d){_0x25648a=_0x25648a-0xb0;let _0x28bdf6=_0x322c4b[_0x25648a];return _0x28bdf6;},_0x2564(_0x133e90,_0x11a4c5);}import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x4a221b(0xe1)](_0xe234f0=![]){const _0x18045a=_0x4a221b,_0x41a930={'qwdCy':'NodeIKernelGroupService/getGroupList','xzQWO':_0x18045a(0xd5)};let [_0x1aab3e,_0x2b2959,_0x1e1e1f]=await NTEventDispatch[_0x18045a(0xd3)](_0x41a930['qwdCy'],_0x41a930[_0x18045a(0xda)],0x1,0x1388,_0xe234f0);return _0x1e1e1f;}static async['getGroupRecommendContactArkJson'](_0x566861){const _0x3201e8=_0x4a221b;return napCatCore['session'][_0x3201e8(0xb8)]()[_0x3201e8(0xb1)](_0x566861);}static async[_0x4a221b(0xb2)](_0x99785,_0x5d1105){const _0x388190=_0x4a221b;return napCatCore[_0x388190(0xec)][_0x388190(0xd0)]()['createGroupFolder'](_0x99785,_0x5d1105);}static async[_0x4a221b(0xb0)](_0x3a340a,_0x3bc7a2){const _0x51a3e7=_0x4a221b;return napCatCore[_0x51a3e7(0xec)][_0x51a3e7(0xd0)]()[_0x51a3e7(0xb4)](_0x3a340a,[0x66],_0x3bc7a2);}static async[_0x4a221b(0xe3)](_0xcaf1dd,_0xe211dc){const _0xebffea=_0x4a221b;return napCatCore['session'][_0xebffea(0xd0)]()[_0xebffea(0xea)](_0xcaf1dd,_0xe211dc);}static async[_0x4a221b(0xd1)](_0x28c57a){const _0x108088=_0x4a221b,_0x26670f={'Gtszj':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x51adc8,_0xccf597,_0x273dd4,_0x41b67c]=await NTEventDispatch[_0x108088(0xd3)](_0x108088(0xe4),_0x26670f['Gtszj'],0x1,0x1388,![],'',_0x28c57a);return _0x41b67c;}static async[_0x4a221b(0xde)](_0x5277b7,_0x236851=0xbb8){const _0x36b992=_0x4a221b,_0x39694e={'MWyGf':'groupMemberList_MainWindow','hKTxd':function(_0x2cc9c5,_0x8b2fba){return _0x2cc9c5!==_0x8b2fba;},'JzbmI':_0x36b992(0xbd)},_0x510744=napCatCore[_0x36b992(0xec)][_0x36b992(0xb8)](),_0x44c0b5=_0x510744[_0x36b992(0xce)](_0x5277b7,_0x39694e[_0x36b992(0xb5)]),_0x55b48c=await _0x510744['getNextMemberList'](_0x44c0b5,undefined,_0x236851);if(_0x39694e[_0x36b992(0xc1)](_0x55b48c[_0x36b992(0xc4)],0x0))throw _0x39694e[_0x36b992(0xd8)]+_0x55b48c[_0x36b992(0xe6)];return _0x55b48c[_0x36b992(0xc8)][_0x36b992(0xc6)];}static async[_0x4a221b(0xbe)](){}static async[_0x4a221b(0xba)](_0x369828){const _0x5c0414=_0x4a221b;return napCatCore[_0x5c0414(0xec)][_0x5c0414(0xd0)]()[_0x5c0414(0xb6)](_0x369828);}static async[_0x4a221b(0xbf)](){}static async['getArkJsonGroupShare'](_0x4d82b7){const _0x1ee4b2=_0x4a221b;let _0x19532f=await NTEventDispatch[_0x1ee4b2(0xb9)](_0x1ee4b2(0xdc),0x1388,_0x4d82b7);return _0x19532f[_0x1ee4b2(0xbb)];}static async[_0x4a221b(0xee)](_0x321ac2,_0xb7ee03){const _0x1d56b9=_0x4a221b,_0x5d4d1d={'YDWKU':_0x1d56b9(0xdd)},_0x2ddac2=(await NTQQUserApi[_0x1d56b9(0xdb)]([_0x5d4d1d[_0x1d56b9(0xc0)]]))[_0x1d56b9(0xdd)];return napCatCore[_0x1d56b9(0xec)][_0x1d56b9(0xb8)]()[_0x1d56b9(0xee)](_0x321ac2,_0x2ddac2,_0xb7ee03);}static async[_0x4a221b(0xc9)](_0x27d063,_0x4975c2,_0x1301e3){const _0x3edc29=_0x4a221b;return napCatCore[_0x3edc29(0xec)][_0x3edc29(0xb8)]()[_0x3edc29(0xdf)](![],{'operateType':_0x4975c2,'targetMsg':{'seq':_0x27d063['seq'],'type':_0x27d063[_0x3edc29(0xc5)],'groupCode':_0x27d063[_0x3edc29(0xd6)][_0x3edc29(0xc7)],'postscript':_0x1301e3||''}});}static async[_0x4a221b(0xbc)](_0x1bd1e2){const _0x52ee6a=_0x4a221b;return napCatCore[_0x52ee6a(0xec)][_0x52ee6a(0xb8)]()['quitGroup'](_0x1bd1e2);}static async[_0x4a221b(0xb3)](_0x3cb678,_0x4a2264,_0x47e207=![],_0x232053=''){const _0x4575bb=_0x4a221b;return napCatCore[_0x4575bb(0xec)][_0x4575bb(0xb8)]()['kickMember'](_0x3cb678,_0x4a2264,_0x47e207,_0x232053);}static async['banMember'](_0x33e221,_0x54a718){const _0x2da76f=_0x4a221b;return napCatCore[_0x2da76f(0xec)]['getGroupService']()[_0x2da76f(0xcc)](_0x33e221,_0x54a718);}static async[_0x4a221b(0xc2)](_0x38154b,_0x266114){const _0xf9a484=_0x4a221b;return napCatCore[_0xf9a484(0xec)][_0xf9a484(0xb8)]()[_0xf9a484(0xcf)](_0x38154b,_0x266114);}static async[_0x4a221b(0xd4)](_0x231e31,_0x4c68aa,_0x40ef02){const _0x4149d7=_0x4a221b;return napCatCore[_0x4149d7(0xec)][_0x4149d7(0xb8)]()[_0x4149d7(0xe2)](_0x231e31,_0x4c68aa,_0x40ef02);}static async['setMemberRole'](_0x2b8692,_0x4ac790,_0x579055){const _0x5cafae=_0x4a221b;return napCatCore[_0x5cafae(0xec)][_0x5cafae(0xb8)]()['modifyMemberRole'](_0x2b8692,_0x4ac790,_0x579055);}static async[_0x4a221b(0xe8)](_0x190351,_0x520779){const _0x3a230b=_0x4a221b;return napCatCore[_0x3a230b(0xec)][_0x3a230b(0xb8)]()[_0x3a230b(0xb7)](_0x190351,_0x520779,![]);}static async[_0x4a221b(0xcb)](_0x5cbfd6,_0x17821b,_0x340ca6){}static async['publishGroupBulletin'](_0x5cb136,_0x34d123,_0x56030d=undefined,_0x45e395=0x0,_0x3606ff=0x0){const _0x337c3f=_0x4a221b,_0x339bbf={'IBvPq':'qun.qq.com'},_0x21b8ff=(await NTQQUserApi[_0x337c3f(0xdb)]([_0x339bbf[_0x337c3f(0xcd)]]))[_0x339bbf['IBvPq']];let _0x5db620={'text':encodeURI(_0x34d123),'picInfo':_0x56030d,'oldFeedsId':'','pinned':_0x45e395,'confirmRequired':_0x3606ff};return napCatCore[_0x337c3f(0xec)]['getGroupService']()[_0x337c3f(0xe5)](_0x5cb136,_0x21b8ff,_0x5db620);}static async[_0x4a221b(0xeb)](_0x37eb7b){const _0x31701b=_0x4a221b;napCatCore[_0x31701b(0xec)]['getGroupService']()[_0x31701b(0xeb)](_0x37eb7b);}static async[_0x4a221b(0xd7)](_0x372da5,_0x8a9da4){const _0x3888b1=_0x4a221b;return napCatCore['session'][_0x3888b1(0xb8)]()[_0x3888b1(0xd7)]({'groupCode':_0x372da5,'sourceType':MemberExtSourceType[_0x3888b1(0xca)],'beginUin':'0','dataTime':'0','uinList':[_0x8a9da4],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}}function _0x322c(){const _0x242bf9=['qun.qq.com','getGroupMembers','operateSysNotify','9wJrXRz','getGroups','modifyMemberCardName','DelGroupFileFolder','NodeIKernelGroupService/getSingleScreenNotifies','publishGroupBulletin','errMsg','1116053WhDYhM','setGroupName','117352FjubKq','deleteGroupFolder','getGroupRemainAtTimes','session','2612636EsPbBh','uploadGroupBulletinPic','2157235FcThsb','36317536jwZhhN','DelGroupFile','getGroupRecommendContactArkJson','CreatGroupFileFolder','kickMember','deleteGroupFile','MWyGf','batchGetGroupFileCount','modifyGroupName','getGroupService','CallNoListenerEvent','GetGroupFileCount','arkJson','quitGroup','获取群成员列表出错,','getGroupNotifies','getGroupIgnoreNotifies','YDWKU','hKTxd','banGroup','18BpONuO','errCode','type','infos','groupCode','result','handleGroupRequest','TITLETYPE','setGroupTitle','setMemberShutUp','IBvPq','createMemberListScene','setGroupShutUp','getRichMediaService','getSingleScreenNotifies','911190dkshyG','CallNormalEvent','setMemberCard','NodeIKernelGroupListener/onGroupListUpdate','group','getMemberExtInfo','JzbmI','422343YpqXgI','xzQWO','getPSkey','NodeIKernelGroupService/getGroupRecommendContactArkJson'];_0x322c=function(){return _0x242bf9;};return _0x322c();} \ No newline at end of file +function _0x5f4f(){const _0x3fc5de=['获取群成员列表出错,','1902oYGgMS','1891280cpxwDv','quitGroup','publishGroupBulletin','TITLETYPE','session','banMember','lANTn','groupMemberList_MainWindow','modifyGroupName','createGroupFolder','result','NodeIKernelGroupService/getGroupList','321CifNZK','getGroupService','getRichMediaService','deleteGroupFolder','DelGroupFile','NodeIKernelGroupListener/onGroupListUpdate','GdiMy','NodeIKernelGroupService/getSingleScreenNotifies','DelGroupFileFolder','13112SvRJBl','CallNormalEvent','1176970oWmCqX','56dPJPew','efdoo','arkJson','CreatGroupFileFolder','modifyMemberCardName','getMemberExtInfo','kickMember','XeKFZ','qun.qq.com','handleGroupRequest','setMemberRole','UjfyY','221175QGZGMh','347wpGKRL','getGroupRemainAtTimes','539567yRqUrN','group','NodeIKernelGroupService/getGroupRecommendContactArkJson','operateSysNotify','11boSpSB','HqPBH','NodeIKernelGroupListener/onGroupSingleScreenNotifies','9948684ptfmRZ','setGroupShutUp','deleteGroupFile','createMemberListScene','18ciXzdH','errCode','getGroupRecommendContactArkJson','getNextMemberList','setGroupName','groupCode','uploadGroupBulletinPic','getGroupIgnoreNotifies','type','HTjwu'];_0x5f4f=function(){return _0x3fc5de;};return _0x5f4f();}const _0x1302bb=_0x2b0c;(function(_0x40822b,_0x478850){const _0x1a0041=_0x2b0c,_0xcc91f=_0x40822b();while(!![]){try{const _0x1dd884=-parseInt(_0x1a0041(0x200))/0x1*(-parseInt(_0x1a0041(0x1da))/0x2)+parseInt(_0x1a0041(0x1e7))/0x3*(parseInt(_0x1a0041(0x1f0))/0x4)+parseInt(_0x1a0041(0x1f2))/0x5+-parseInt(_0x1a0041(0x1cf))/0x6*(parseInt(_0x1a0041(0x1c4))/0x7)+-parseInt(_0x1a0041(0x1f3))/0x8*(-parseInt(_0x1a0041(0x1ff))/0x9)+parseInt(_0x1a0041(0x1db))/0xa+parseInt(_0x1a0041(0x1c8))/0xb*(-parseInt(_0x1a0041(0x1cb))/0xc);if(_0x1dd884===_0x478850)break;else _0xcc91f['push'](_0xcc91f['shift']());}catch(_0x44dcb7){_0xcc91f['push'](_0xcc91f['shift']());}}}(_0x5f4f,0x34f9e));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x2b0c(_0x4cce60,_0x469ef2){const _0x5f4fa0=_0x5f4f();return _0x2b0c=function(_0x2b0c33,_0x5e2c08){_0x2b0c33=_0x2b0c33-0x1c3;let _0x475f18=_0x5f4fa0[_0x2b0c33];return _0x475f18;},_0x2b0c(_0x4cce60,_0x469ef2);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x41df47=![]){const _0x196f35=_0x2b0c,_0x438557={'HqPBH':_0x196f35(0x1e6),'rJzeC':_0x196f35(0x1ec)};let [_0x3f7874,_0x4b79eb,_0x787ac4]=await NTEventDispatch[_0x196f35(0x1f1)](_0x438557[_0x196f35(0x1c9)],_0x438557['rJzeC'],0x1,0x1388,_0x41df47);return _0x787ac4;}static async[_0x1302bb(0x1d1)](_0x2c38af){const _0x112701=_0x1302bb;return napCatCore[_0x112701(0x1df)][_0x112701(0x1e8)]()[_0x112701(0x1d1)](_0x2c38af);}static async[_0x1302bb(0x1f6)](_0x19b099,_0x33d479){const _0x54848e=_0x1302bb;return napCatCore[_0x54848e(0x1df)]['getRichMediaService']()[_0x54848e(0x1e4)](_0x19b099,_0x33d479);}static async[_0x1302bb(0x1eb)](_0x441890,_0x3747cd){const _0x3bf4e4=_0x1302bb;return napCatCore[_0x3bf4e4(0x1df)][_0x3bf4e4(0x1e9)]()[_0x3bf4e4(0x1cd)](_0x441890,[0x66],_0x3747cd);}static async[_0x1302bb(0x1ef)](_0x56f5d8,_0x3a6764){const _0x43c05e=_0x1302bb;return napCatCore[_0x43c05e(0x1df)][_0x43c05e(0x1e9)]()[_0x43c05e(0x1ea)](_0x56f5d8,_0x3a6764);}static async['getSingleScreenNotifies'](_0x37f1b2){const _0xf380c7=_0x1302bb,_0x1d106d={'UjfyY':_0xf380c7(0x1ca)};let [_0x4a27b1,_0x364339,_0x41e890,_0x41c2c0]=await NTEventDispatch[_0xf380c7(0x1f1)](_0xf380c7(0x1ee),_0x1d106d[_0xf380c7(0x1fe)],0x1,0x1388,![],'',_0x37f1b2);return _0x41c2c0;}static async['getGroupMembers'](_0x568b66,_0x153916=0xbb8){const _0x2cbb5d=_0x1302bb,_0x490c9f={'GdiMy':_0x2cbb5d(0x1e2),'XeKFZ':function(_0x891dc8,_0x4cc0a1){return _0x891dc8+_0x4cc0a1;},'efdoo':_0x2cbb5d(0x1d9)},_0x269c8c=napCatCore[_0x2cbb5d(0x1df)]['getGroupService'](),_0xfcff87=_0x269c8c[_0x2cbb5d(0x1ce)](_0x568b66,_0x490c9f[_0x2cbb5d(0x1ed)]),_0x396adb=await _0x269c8c[_0x2cbb5d(0x1d2)](_0xfcff87,undefined,_0x153916);if(_0x396adb[_0x2cbb5d(0x1d0)]!==0x0)throw _0x490c9f[_0x2cbb5d(0x1fa)](_0x490c9f[_0x2cbb5d(0x1f4)],_0x396adb['errMsg']);return _0x396adb[_0x2cbb5d(0x1e5)]['infos'];}static async['getGroupNotifies'](){}static async['GetGroupFileCount'](_0x302082){const _0x2e33e6=_0x1302bb;return napCatCore[_0x2e33e6(0x1df)][_0x2e33e6(0x1e9)]()['batchGetGroupFileCount'](_0x302082);}static async[_0x1302bb(0x1d6)](){}static async['getArkJsonGroupShare'](_0x57c336){const _0x1c3686=_0x1302bb,_0x5f3bcb={'OVWzS':_0x1c3686(0x1c6)};let _0x429aa4=await NTEventDispatch['CallNoListenerEvent'](_0x5f3bcb['OVWzS'],0x1388,_0x57c336);return _0x429aa4[_0x1c3686(0x1f5)];}static async[_0x1302bb(0x1d5)](_0x29dfc4,_0x4ff611){const _0x2d8685=_0x1302bb,_0x2a9bcc={'EjRDC':_0x2d8685(0x1fb)},_0x550d36=(await NTQQUserApi['getPSkey']([_0x2d8685(0x1fb)]))[_0x2a9bcc['EjRDC']];return napCatCore[_0x2d8685(0x1df)][_0x2d8685(0x1e8)]()[_0x2d8685(0x1d5)](_0x29dfc4,_0x550d36,_0x4ff611);}static async[_0x1302bb(0x1fc)](_0x24ef10,_0x35b803,_0x37e271){const _0x57b43b=_0x1302bb,_0x567acd={'jiAeq':function(_0x55fe6d,_0x15994d){return _0x55fe6d||_0x15994d;}};return napCatCore[_0x57b43b(0x1df)][_0x57b43b(0x1e8)]()[_0x57b43b(0x1c7)](![],{'operateType':_0x35b803,'targetMsg':{'seq':_0x24ef10['seq'],'type':_0x24ef10[_0x57b43b(0x1d7)],'groupCode':_0x24ef10[_0x57b43b(0x1c5)][_0x57b43b(0x1d4)],'postscript':_0x567acd['jiAeq'](_0x37e271,'')}});}static async[_0x1302bb(0x1dc)](_0x509eb7){const _0x4ca9dc=_0x1302bb;return napCatCore[_0x4ca9dc(0x1df)]['getGroupService']()['quitGroup'](_0x509eb7);}static async[_0x1302bb(0x1f9)](_0x366d84,_0x120a5e,_0x42eb13=![],_0x396ac1=''){const _0x2d5ce0=_0x1302bb;return napCatCore[_0x2d5ce0(0x1df)][_0x2d5ce0(0x1e8)]()[_0x2d5ce0(0x1f9)](_0x366d84,_0x120a5e,_0x42eb13,_0x396ac1);}static async[_0x1302bb(0x1e0)](_0x1628c2,_0x139164){const _0x5e259f=_0x1302bb;return napCatCore['session'][_0x5e259f(0x1e8)]()['setMemberShutUp'](_0x1628c2,_0x139164);}static async['banGroup'](_0x46607b,_0x1e3769){const _0x1386b7=_0x1302bb;return napCatCore['session']['getGroupService']()[_0x1386b7(0x1cc)](_0x46607b,_0x1e3769);}static async['setMemberCard'](_0x5a9531,_0x546d4f,_0x5acec8){const _0x2ef86a=_0x1302bb;return napCatCore['session']['getGroupService']()[_0x2ef86a(0x1f7)](_0x5a9531,_0x546d4f,_0x5acec8);}static async[_0x1302bb(0x1fd)](_0x289db4,_0x27727c,_0x127a79){const _0x3f8dfe=_0x1302bb;return napCatCore[_0x3f8dfe(0x1df)][_0x3f8dfe(0x1e8)]()['modifyMemberRole'](_0x289db4,_0x27727c,_0x127a79);}static async[_0x1302bb(0x1d3)](_0x52a321,_0xaf5de5){const _0x100ff5=_0x1302bb;return napCatCore[_0x100ff5(0x1df)][_0x100ff5(0x1e8)]()[_0x100ff5(0x1e3)](_0x52a321,_0xaf5de5,![]);}static async['setGroupTitle'](_0x17e48c,_0x448865,_0x526ee0){}static async['publishGroupBulletin'](_0x914ca6,_0x315656,_0x2553d0=undefined,_0x5738be=0x0,_0x1a93cb=0x0){const _0x324b37=_0x1302bb,_0x2fa7a7={'HTjwu':_0x324b37(0x1fb),'lANTn':function(_0x50c7f5,_0x2099c9){return _0x50c7f5(_0x2099c9);}},_0x4caae7=(await NTQQUserApi['getPSkey']([_0x2fa7a7[_0x324b37(0x1d8)]]))[_0x2fa7a7[_0x324b37(0x1d8)]];let _0x221266={'text':_0x2fa7a7[_0x324b37(0x1e1)](encodeURI,_0x315656),'picInfo':_0x2553d0,'oldFeedsId':'','pinned':_0x5738be,'confirmRequired':_0x1a93cb};return napCatCore['session'][_0x324b37(0x1e8)]()[_0x324b37(0x1dd)](_0x914ca6,_0x4caae7,_0x221266);}static async[_0x1302bb(0x1c3)](_0x460e6d){const _0x5941b7=_0x1302bb;napCatCore[_0x5941b7(0x1df)]['getGroupService']()[_0x5941b7(0x1c3)](_0x460e6d);}static async['getMemberExtInfo'](_0x218a30,_0x2343a4){const _0x2489e8=_0x1302bb;return napCatCore[_0x2489e8(0x1df)][_0x2489e8(0x1e8)]()[_0x2489e8(0x1f8)]({'groupCode':_0x218a30,'sourceType':MemberExtSourceType[_0x2489e8(0x1de)],'beginUin':'0','dataTime':'0','uinList':[_0x2343a4],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index df027325..5c944fec 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x23b6b5,_0x43d04e){var _0x3e4d8d=_0x11a1,_0x5c0b43=_0x23b6b5();while(!![]){try{var _0x4004a5=parseInt(_0x3e4d8d(0x117))/0x1+parseInt(_0x3e4d8d(0x118))/0x2+-parseInt(_0x3e4d8d(0x114))/0x3*(-parseInt(_0x3e4d8d(0x11b))/0x4)+parseInt(_0x3e4d8d(0x11d))/0x5+-parseInt(_0x3e4d8d(0x116))/0x6*(-parseInt(_0x3e4d8d(0x11a))/0x7)+parseInt(_0x3e4d8d(0x11c))/0x8+-parseInt(_0x3e4d8d(0x119))/0x9*(parseInt(_0x3e4d8d(0x115))/0xa);if(_0x4004a5===_0x43d04e)break;else _0x5c0b43['push'](_0x5c0b43['shift']());}catch(_0x2782c7){_0x5c0b43['push'](_0x5c0b43['shift']());}}}(_0x31ae,0x610c0));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x31ae(){var _0x12364b=['2088751bLwWNa','180724WSwSDw','6318208dfLCbe','615845qxiaWg','15wGvRqV','70SQleGi','12xYWgqC','276381hAPqnE','135188avOeiQ','2162709QBuFro'];_0x31ae=function(){return _0x12364b;};return _0x31ae();}function _0x11a1(_0x15b97f,_0x2ca51e){var _0x31ae9b=_0x31ae();return _0x11a1=function(_0x11a18f,_0x995356){_0x11a18f=_0x11a18f-0x114;var _0x332b3c=_0x31ae9b[_0x11a18f];return _0x332b3c;},_0x11a1(_0x15b97f,_0x2ca51e);}export*from'./system'; \ No newline at end of file +(function(_0x2407ef,_0x182d6d){var _0x590b44=_0xf5fa,_0x5312a6=_0x2407ef();while(!![]){try{var _0x207ebc=-parseInt(_0x590b44(0x1cf))/0x1*(-parseInt(_0x590b44(0x1d2))/0x2)+parseInt(_0x590b44(0x1ce))/0x3*(parseInt(_0x590b44(0x1d4))/0x4)+-parseInt(_0x590b44(0x1d8))/0x5+parseInt(_0x590b44(0x1d7))/0x6+-parseInt(_0x590b44(0x1d5))/0x7*(parseInt(_0x590b44(0x1d6))/0x8)+-parseInt(_0x590b44(0x1d1))/0x9+-parseInt(_0x590b44(0x1d3))/0xa*(-parseInt(_0x590b44(0x1d0))/0xb);if(_0x207ebc===_0x182d6d)break;else _0x5312a6['push'](_0x5312a6['shift']());}catch(_0x59e052){_0x5312a6['push'](_0x5312a6['shift']());}}}(_0x1b7d,0x4e34d));export*from'./file';export*from'./friend';function _0x1b7d(){var _0x12db0c=['21679fPQWuF','1528QAnOCh','66618JroRlN','3148380ggTIzp','1986xPxEJu','510254ZoQmiu','2032074JErlKW','5096025orEfbQ','2FuzEkd','70yOqJgB','1772PDpjJm'];_0x1b7d=function(){return _0x12db0c;};return _0x1b7d();}function _0xf5fa(_0x3e2ebc,_0x398f15){var _0x1b7d61=_0x1b7d();return _0xf5fa=function(_0xf5faf,_0x2cd4bc){_0xf5faf=_0xf5faf-0x1ce;var _0x43e12f=_0x1b7d61[_0xf5faf];return _0x43e12f;},_0xf5fa(_0x3e2ebc,_0x398f15);}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 594775b4..2e1a59d2 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0xc3eefe=_0x14d4;function _0x14d4(_0x2360c3,_0x1a90a8){const _0x3dc33f=_0x3dc3();return _0x14d4=function(_0x14d431,_0x44860e){_0x14d431=_0x14d431-0xdd;let _0x3c3342=_0x3dc33f[_0x14d431];return _0x3c3342;},_0x14d4(_0x2360c3,_0x1a90a8);}(function(_0x19179a,_0x35c0a6){const _0xb6f129=_0x14d4,_0x2f7f59=_0x19179a();while(!![]){try{const _0x79def9=parseInt(_0xb6f129(0xe2))/0x1+-parseInt(_0xb6f129(0xfd))/0x2+-parseInt(_0xb6f129(0xea))/0x3*(parseInt(_0xb6f129(0xe8))/0x4)+-parseInt(_0xb6f129(0xff))/0x5+parseInt(_0xb6f129(0x111))/0x6*(parseInt(_0xb6f129(0x10f))/0x7)+parseInt(_0xb6f129(0x115))/0x8+parseInt(_0xb6f129(0xf5))/0x9;if(_0x79def9===_0x35c0a6)break;else _0x2f7f59['push'](_0x2f7f59['shift']());}catch(_0x55dc63){_0x2f7f59['push'](_0x2f7f59['shift']());}}}(_0x3dc3,0x34668));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x3dc3(){const _0x4367cc=['item','getMsgService','uid','uuwof','arkElement','toString','2328516GLOEYx','XvAnc','YVwww','length','session','recallMsg','hqFGj','addListener','137292CgiKiE','getRichMediaService','2126545AmHnaw','mtjic','activateChatAndGetHistory','igIaj','peerUid','getMsgsBySeqAndCount','msgId','发送超时','set','getMultiMsg','BjMRG','forEach','EOpaJ','getGroupFileList','TqdVk','forwardMsg','14UheTrs','ABfdI','714732GdVsqV','nick','onLoginSuccess','onAddSendMsg','1909552mXabQi','setMsgEmojiLikes','eYCdh','ZrgKH','multiForwardMsgWithComment','then','转发消息超时','onGroupFileInfoUpdate','DfeFH','WJzam','map','oLhNH','WUbpp','app','UgiOi','获取群文件列表超时','IffLT','msdJM','setMsgRead','getMsgsByMsgId','onMsgInfoListUpdate','eFsSX','156692TtVqMw','parse','fetchRecentContact','sendStatus','getMsgsIncludeSelf','KJLBI','4868fFOpVO','delete','453JZNEpp','TZGFo','multiForwardMsg','catch','iJGEe'];_0x3dc3=function(){return _0x4367cc;};return _0x3dc3();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0xc3eefe(0x11c)]=_0x173904=>{const _0x2a750a=_0xc3eefe;for(const [_0x42f6e2,_0x296bbb]of GroupFileInfoUpdateTasks){_0x296bbb(_0x173904),GroupFileInfoUpdateTasks[_0x2a750a(0xe9)](_0x42f6e2);}},msgListener[_0xc3eefe(0x114)]=_0x537b3c=>{const _0x8a73f7=_0xc3eefe,_0xe607d0={'JqohN':function(_0x1859c1,_0xe6c42b){return _0x1859c1(_0xe6c42b);},'eYCdh':function(_0x19eff5,_0x216acd){return _0x19eff5 instanceof _0x216acd;}};for(const [_0x288592,_0x179bbd]of sentMsgTasks){_0xe607d0['JqohN'](_0x179bbd,_0x537b3c),sentMsgTasks['delete'](_0x288592);}if(sendMessagePool[_0x537b3c['peerUid']]){const _0x4b3a34=sendMessagePool[_0x537b3c[_0x8a73f7(0x103)]]?.(_0x537b3c);_0xe607d0[_0x8a73f7(0x117)](_0x4b3a34,Promise)&&_0x4b3a34[_0x8a73f7(0x11a)]()[_0x8a73f7(0xed)](logError);}},msgListener[_0xc3eefe(0xe0)]=_0x1d2c0e=>{const _0x33f24e=_0xc3eefe,_0x1b54c8={'TZGFo':function(_0x6ccb86,_0x322546){return _0x6ccb86(_0x322546);}};_0x1d2c0e[_0x33f24e(0x10a)](_0x1d8e3f=>{const _0x3ce9cd=_0x33f24e;new Promise((_0x2d49d7,_0x455e50)=>{const _0x23f3fb=_0x14d4;for(const _0x31b351 in sendSuccessCBMap){const _0x292162=sendSuccessCBMap[_0x31b351],_0x33036e=_0x292162(_0x1d8e3f),_0x5c2026=_0x52a36a=>{_0x52a36a&&delete sendSuccessCBMap[_0x31b351];};_0x33036e instanceof Promise?_0x33036e[_0x23f3fb(0x11a)](_0x5c2026):_0x1b54c8[_0x23f3fb(0xeb)](_0x5c2026,_0x33036e);}})['then']()[_0x3ce9cd(0xed)](log);});},setTimeout(()=>{const _0x215825=_0xc3eefe;napCatCore[_0x215825(0x113)](()=>{const _0x2acfa1=_0x215825;napCatCore[_0x2acfa1(0xfc)](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x219aac,_0x1d3625,_0x3b6619,_0x367f79=!![]){const _0x2cf91a=_0xc3eefe;return _0x3b6619=_0x3b6619[_0x2cf91a(0xf4)](),napCatCore['session'][_0x2cf91a(0xf0)]()[_0x2cf91a(0x116)](_0x219aac,_0x1d3625,_0x3b6619,_0x3b6619[_0x2cf91a(0xf8)]>0x3?'2':'1',_0x367f79);}static async['getMultiMsg'](_0x2fbaab,_0x4fe29a,_0x595c93){const _0x4308ce=_0xc3eefe;return napCatCore[_0x4308ce(0xf9)]['getMsgService']()[_0x4308ce(0x108)](_0x2fbaab,_0x4fe29a,_0x595c93);}static async[_0xc3eefe(0xdf)](_0x562b01,_0x5e5c53){const _0x6b945b=_0xc3eefe;return await napCatCore[_0x6b945b(0xf9)]['getMsgService']()[_0x6b945b(0xdf)](_0x562b01,_0x5e5c53);}static async[_0xc3eefe(0x104)](_0x2c8250,_0x3ac101,_0x1dd2f6,_0x176bfd,_0x2f6c84){const _0x5b9f09=_0xc3eefe;return await napCatCore[_0x5b9f09(0xf9)][_0x5b9f09(0xf0)]()[_0x5b9f09(0x104)](_0x2c8250,_0x3ac101,_0x1dd2f6,_0x176bfd,_0x2f6c84);}static async['activateChat'](_0x1957ba){}static async[_0xc3eefe(0x101)](_0x4c0eed){}static async[_0xc3eefe(0xde)](_0x452fc4){const _0x19e87f=_0xc3eefe;return napCatCore[_0x19e87f(0xf9)][_0x19e87f(0xf0)]()[_0x19e87f(0xde)](_0x452fc4);}static async[_0xc3eefe(0x10c)](_0x3b576d,_0x217eb8){const _0x1c80a3=_0xc3eefe,_0x213570={'WUbpp':function(_0x4516f7,_0x283528){return _0x4516f7(_0x283528);},'IwqzR':_0x1c80a3(0x124),'qMUJR':function(_0x456420,_0x345e3d){return _0x456420(_0x345e3d);},'mtjic':function(_0x1646aa,_0x27c93a,_0x224b58){return _0x1646aa(_0x27c93a,_0x224b58);},'oLhNH':function(_0x2c2116){return _0x2c2116();}};return new Promise(async(_0x4db179,_0x2ced10)=>{const _0x46fff7=_0x1c80a3,_0x46c1a9={'JZSJT':function(_0x314064,_0x2f474c){const _0x187a26=_0x14d4;return _0x213570[_0x187a26(0x121)](_0x314064,_0x2f474c);},'eFsSX':_0x213570['IwqzR'],'WJzam':function(_0x2bc45e,_0x1c17e3){return _0x213570['qMUJR'](_0x2bc45e,_0x1c17e3);}};let _0x4dc4c5=![];_0x213570[_0x46fff7(0x100)](setTimeout,()=>{const _0x5d2f4f=_0x46fff7;!_0x4dc4c5&&_0x46c1a9['JZSJT'](_0x2ced10,_0x46c1a9[_0x5d2f4f(0xe1)]);},0x1388);const _0x2b35a8=_0x369d12=>{const _0x260a23=_0x46fff7;_0x4dc4c5=!![],_0x46c1a9[_0x260a23(0x11e)](_0x4db179,_0x369d12[_0x260a23(0xef)]);};GroupFileInfoUpdateTasks[_0x46fff7(0x107)](_0x213570[_0x46fff7(0x120)](randomUUID),_0x2b35a8),await napCatCore[_0x46fff7(0xf9)][_0x46fff7(0xfe)]()[_0x46fff7(0x10c)](_0x3b576d,_0x217eb8);});}static async['getMsgHistory'](_0x19728c,_0x45f041,_0x233653){const _0x1fb6da=_0xc3eefe;return napCatCore['session'][_0x1fb6da(0xf0)]()[_0x1fb6da(0xe6)](_0x19728c,_0x45f041,_0x233653,!![]);}static async[_0xc3eefe(0xe4)](){}static async[_0xc3eefe(0xfa)](_0x359dca,_0x21f5d9){const _0x1b95bd=_0xc3eefe;await napCatCore['session'][_0x1b95bd(0xf0)]()[_0x1b95bd(0xfa)]({'chatType':_0x359dca['chatType'],'peerUid':_0x359dca[_0x1b95bd(0x103)]},_0x21f5d9);}static async['sendMsg'](_0x5078a8,_0x5df708,_0x40cb5b=!![],_0x54ef60=0x2710){const _0xfc06ad=_0xc3eefe,_0x41d2ca={'BFxfy':function(_0xbacc7f,_0x2c2031){return _0xbacc7f>_0x2c2031;},'igIaj':_0xfc06ad(0x106),'BjMRG':function(_0x554f38,_0x25582d){return _0x554f38(_0x25582d);},'hqFGj':function(_0x3f8b54){return _0x3f8b54();},'ZrgKH':function(_0x514794,_0x3d991d){return _0x514794===_0x3d991d;},'iJGEe':function(_0x2f5eb6,_0x2dfaa7,_0x5a5f48){return _0x2f5eb6(_0x2dfaa7,_0x5a5f48);}},_0x52481b=_0x5078a8[_0xfc06ad(0x103)];let _0x1e9f0b=0x0;const _0x18f246=async()=>{const _0x57f925=_0xfc06ad;if(_0x41d2ca['BFxfy'](_0x1e9f0b,_0x54ef60))throw _0x41d2ca[_0x57f925(0x102)];const _0x4cd88b=sendMessagePool[_0x5078a8[_0x57f925(0x103)]];if(_0x4cd88b)return await _0x41d2ca['BjMRG'](sleep,0x1f4),_0x1e9f0b+=0x1f4,await _0x41d2ca[_0x57f925(0xfb)](_0x18f246);else return;};return await _0x41d2ca['hqFGj'](_0x18f246),new Promise((_0x51962c,_0x46c20a)=>{const _0x14eceb=_0xfc06ad,_0x500a2f={'XvAnc':function(_0x1819cd,_0x6f39c4){const _0xa18212=_0x14d4;return _0x41d2ca[_0xa18212(0x118)](_0x1819cd,_0x6f39c4);},'UgiOi':function(_0x35ce0a,_0x194ede){return _0x35ce0a(_0x194ede);}};let _0x33fcb4=![],_0x150b3d=null;const _0x4ff615=_0x41d2ca[_0x14eceb(0xfb)](randomUUID);sendSuccessCBMap[_0x4ff615]=_0x232828=>{const _0x1360bc=_0x14eceb;if(_0x500a2f[_0x1360bc(0xf6)](_0x232828[_0x1360bc(0x105)],_0x150b3d?.[_0x1360bc(0x105)])){if(_0x500a2f[_0x1360bc(0xf6)](_0x232828[_0x1360bc(0xe5)],0x2))return delete sendSuccessCBMap[_0x4ff615],_0x33fcb4=!![],_0x500a2f[_0x1360bc(0x123)](_0x51962c,_0x232828),!![];return![];}return![];},sendMessagePool[_0x52481b]=async _0x203689=>{delete sendMessagePool[_0x52481b],_0x150b3d=_0x203689;},_0x41d2ca[_0x14eceb(0xee)](setTimeout,()=>{const _0x26fbf5=_0x14eceb;if(_0x33fcb4)return;delete sendMessagePool[_0x52481b],delete sendSuccessCBMap[_0x4ff615],_0x41d2ca[_0x26fbf5(0x109)](_0x46c20a,_0x26fbf5(0x106));},_0x54ef60);const _0x2dcf6e=napCatCore[_0x14eceb(0xf9)][_0x14eceb(0xf0)]()['sendMsg']('0',_0x5078a8,_0x5df708,new Map());});}static async[_0xc3eefe(0x10e)](_0x3eb0e2,_0x5b8943,_0x5c4198){const _0x6bff6=_0xc3eefe;return napCatCore['session'][_0x6bff6(0xf0)]()[_0x6bff6(0x10e)](_0x5c4198,_0x3eb0e2,[_0x5b8943],new Map());}static async[_0xc3eefe(0xec)](_0x3a943b,_0x3e9635,_0x47429c){const _0x58e061=_0xc3eefe,_0x2abc96={'YVwww':function(_0x70b1b7,_0x17f913){return _0x70b1b7!=_0x17f913;},'TqdVk':'com.tencent.multimsg','DfeFH':function(_0x37f817,_0x34af0a){return _0x37f817==_0x34af0a;},'IffLT':function(_0x11cdc1,_0x224b8e){return _0x11cdc1(_0x224b8e);},'USzOM':_0x58e061(0x11b),'EOpaJ':function(_0x1d601c){return _0x1d601c();},'uuwof':function(_0x1cf9f6,_0x89bd92,_0x34397a){return _0x1cf9f6(_0x89bd92,_0x34397a);}},_0x524d8b=_0x47429c[_0x58e061(0x11f)](_0x3f42ee=>{const _0x5efd32=_0x58e061;return{'msgId':_0x3f42ee,'senderShowName':selfInfo[_0x5efd32(0x112)]};});return new Promise((_0x3ca129,_0x4202f3)=>{const _0x1508ab=_0x58e061,_0x38ddef={'aDNWX':function(_0x370016,_0x3caefa){const _0x5d3339=_0x14d4;return _0x2abc96[_0x5d3339(0xf7)](_0x370016,_0x3caefa);},'ndqYs':_0x2abc96[_0x1508ab(0x10d)],'msdJM':function(_0x16977c,_0x2c82f3){const _0x4832a0=_0x1508ab;return _0x2abc96[_0x4832a0(0x11d)](_0x16977c,_0x2c82f3);},'ABfdI':function(_0x2ac73a,_0x468ecb){const _0x2154c4=_0x1508ab;return _0x2abc96[_0x2154c4(0x125)](_0x2ac73a,_0x468ecb);},'KJLBI':_0x2abc96['USzOM']};let _0x16ef41=![];const _0x4c192f=_0x254844=>{const _0x57e43b=_0x1508ab,_0x278d55=_0x254844['elements']['find'](_0x59df1c=>_0x59df1c[_0x57e43b(0xf3)]);if(!_0x278d55)return;const _0x44cbf6=JSON[_0x57e43b(0xe3)](_0x278d55['arkElement']['bytesData']);if(_0x38ddef['aDNWX'](_0x44cbf6[_0x57e43b(0x122)],_0x38ddef['ndqYs']))return;_0x38ddef[_0x57e43b(0xdd)](_0x254844[_0x57e43b(0x103)],_0x3e9635[_0x57e43b(0x103)])&&_0x254844['senderUid']==selfInfo[_0x57e43b(0xf1)]&&(_0x16ef41=!![],_0x38ddef['ABfdI'](_0x3ca129,_0x254844));};sentMsgTasks[_0x1508ab(0x107)](_0x2abc96[_0x1508ab(0x10b)](randomUUID),_0x4c192f),_0x2abc96[_0x1508ab(0xf2)](setTimeout,()=>{const _0x2ede83=_0x1508ab;!_0x16ef41&&_0x38ddef[_0x2ede83(0x110)](_0x4202f3,_0x38ddef[_0x2ede83(0xe7)]);},0x1388),napCatCore[_0x1508ab(0xf9)][_0x1508ab(0xf0)]()[_0x1508ab(0x119)](_0x524d8b,_0x3a943b,_0x3e9635,[],new Map());});}} \ No newline at end of file +const _0xa5566e=_0x2c31;(function(_0x48487b,_0x1ebd34){const _0xf5929e=_0x2c31,_0x14a2b7=_0x48487b();while(!![]){try{const _0x168507=-parseInt(_0xf5929e(0x11e))/0x1+-parseInt(_0xf5929e(0x11a))/0x2*(-parseInt(_0xf5929e(0x118))/0x3)+parseInt(_0xf5929e(0x119))/0x4*(parseInt(_0xf5929e(0x151))/0x5)+parseInt(_0xf5929e(0x138))/0x6+-parseInt(_0xf5929e(0x152))/0x7*(parseInt(_0xf5929e(0x144))/0x8)+-parseInt(_0xf5929e(0x15a))/0x9+-parseInt(_0xf5929e(0x11f))/0xa*(-parseInt(_0xf5929e(0x116))/0xb);if(_0x168507===_0x1ebd34)break;else _0x14a2b7['push'](_0x14a2b7['shift']());}catch(_0x1af08d){_0x14a2b7['push'](_0x14a2b7['shift']());}}}(_0x2f8c,0xcd0b2));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x2f8c(){const _0x2d2b10=['2HfTrSv','senderUid','uid','catch','1091058MVQKfV','2180EIxbXt','SzrzD','recallMsg','onMsgInfoListUpdate','setMsgEmojiLikes','fetchRecentContact','kELne','SpHZa','arkElement','parse','LKNnT','VosTp','then','sendMsg','发送超时','lZiQB','nick','activateChatAndGetHistory','forwardMsg','edysW','set','getMsgsIncludeSelf','yFBRC','bPBsw','getMsgService','7972644AVtTtj','getMsgsByMsgId','FtiiX','SzRUz','RUqsF','item','session','setMsgRead','find','XaBhl','onLoginSuccess','onAddSendMsg','40ygsfKq','转发消息超时','getGroupFileList','peerUid','onGroupFileInfoUpdate','CbfYs','elements','jpOXm','WWQXl','tWGbD','getMultiMsg','msgId','nTQJd','2917435PKxCuZ','1791517wFWFNN','YyoHh','com.tencent.multimsg','length','delete','toString','otWTV','addListener','3903453JZfoUA','setEmojiLike','getMsgsBySeqAndCount','RLMhE','multiForwardMsgWithComment','sendStatus','85052dximfg','forEach','139353myybXe','4twYzQS'];_0x2f8c=function(){return _0x2d2b10;};return _0x2f8c();}import{randomUUID}from'crypto';function _0x2c31(_0x4b04b2,_0x26f063){const _0x2f8c01=_0x2f8c();return _0x2c31=function(_0x2c310a,_0x3b946e){_0x2c310a=_0x2c310a-0x115;let _0x28bf25=_0x2f8c01[_0x2c310a];return _0x28bf25;},_0x2c31(_0x4b04b2,_0x26f063);}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0xa5566e(0x148)]=_0x42fdf2=>{const _0x2b0f07={'TlLdm':function(_0xc07ccf,_0x9bcca7){return _0xc07ccf(_0x9bcca7);}};for(const [_0x28af08,_0x1cc8c6]of GroupFileInfoUpdateTasks){_0x2b0f07['TlLdm'](_0x1cc8c6,_0x42fdf2),GroupFileInfoUpdateTasks['delete'](_0x28af08);}},msgListener[_0xa5566e(0x143)]=_0x220059=>{const _0xd89ee6=_0xa5566e,_0x326a91={'lZiQB':function(_0x1e39c1,_0x59f1de){return _0x1e39c1(_0x59f1de);},'SpHZa':function(_0x366f38,_0x29bd6a){return _0x366f38 instanceof _0x29bd6a;}};for(const [_0x53858f,_0x147355]of sentMsgTasks){_0x326a91[_0xd89ee6(0x12e)](_0x147355,_0x220059),sentMsgTasks[_0xd89ee6(0x156)](_0x53858f);}if(sendMessagePool[_0x220059[_0xd89ee6(0x147)]]){const _0x923c7e=sendMessagePool[_0x220059[_0xd89ee6(0x147)]]?.(_0x220059);_0x326a91[_0xd89ee6(0x126)](_0x923c7e,Promise)&&_0x923c7e[_0xd89ee6(0x12b)]()[_0xd89ee6(0x11d)](logError);}},msgListener[_0xa5566e(0x122)]=_0xd67313=>{const _0x567c5e=_0xa5566e,_0x46f5b1={'YyoHh':function(_0x40849d,_0x213b30){return _0x40849d instanceof _0x213b30;}};_0xd67313[_0x567c5e(0x117)](_0x3ef707=>{const _0x5a1e69=_0x567c5e,_0x5303bd={'fDryZ':function(_0x58e66b,_0x75fe2b){return _0x58e66b(_0x75fe2b);},'VosTp':function(_0xa85732,_0x1c9eae){const _0x2627d0=_0x2c31;return _0x46f5b1[_0x2627d0(0x153)](_0xa85732,_0x1c9eae);}};new Promise((_0x55ffd0,_0x13ccfa)=>{const _0x5db503=_0x2c31;for(const _0x4a89b8 in sendSuccessCBMap){const _0x435c10=sendSuccessCBMap[_0x4a89b8],_0x367434=_0x5303bd['fDryZ'](_0x435c10,_0x3ef707),_0x2b9a54=_0x2f1c8a=>{_0x2f1c8a&&delete sendSuccessCBMap[_0x4a89b8];};_0x5303bd[_0x5db503(0x12a)](_0x367434,Promise)?_0x367434[_0x5db503(0x12b)](_0x2b9a54):_0x2b9a54(_0x367434);}})[_0x5a1e69(0x12b)]()[_0x5a1e69(0x11d)](log);});},setTimeout(()=>{const _0x3d9eec=_0xa5566e;napCatCore[_0x3d9eec(0x142)](()=>{const _0x1fda60=_0x3d9eec;napCatCore[_0x1fda60(0x159)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xa5566e(0x15b)](_0x3a4013,_0x2ea49c,_0xdb323,_0x27441f=!![]){const _0x792580=_0xa5566e,_0x362184={'SzrzD':function(_0x233ef5,_0x8892de){return _0x233ef5>_0x8892de;}};return _0xdb323=_0xdb323[_0x792580(0x157)](),napCatCore['session'][_0x792580(0x137)]()[_0x792580(0x123)](_0x3a4013,_0x2ea49c,_0xdb323,_0x362184[_0x792580(0x120)](_0xdb323[_0x792580(0x155)],0x3)?'2':'1',_0x27441f);}static async[_0xa5566e(0x14e)](_0x534e95,_0x1112f4,_0x247d31){const _0x2f8540=_0xa5566e;return napCatCore[_0x2f8540(0x13e)][_0x2f8540(0x137)]()[_0x2f8540(0x14e)](_0x534e95,_0x1112f4,_0x247d31);}static async[_0xa5566e(0x139)](_0x405910,_0x18efef){const _0xfdb831=_0xa5566e;return await napCatCore['session'][_0xfdb831(0x137)]()['getMsgsByMsgId'](_0x405910,_0x18efef);}static async['getMsgsBySeqAndCount'](_0x932fbf,_0x5cd5d3,_0x404578,_0x3e959d,_0x149b23){const _0x1cb096=_0xa5566e;return await napCatCore[_0x1cb096(0x13e)][_0x1cb096(0x137)]()[_0x1cb096(0x15c)](_0x932fbf,_0x5cd5d3,_0x404578,_0x3e959d,_0x149b23);}static async['activateChat'](_0x1531bd){}static async[_0xa5566e(0x130)](_0x1ae517){}static async[_0xa5566e(0x13f)](_0x379964){const _0x3eb1e0=_0xa5566e;return napCatCore[_0x3eb1e0(0x13e)]['getMsgService']()[_0x3eb1e0(0x13f)](_0x379964);}static async['getGroupFileList'](_0x4c5b13,_0x327940){const _0x244912={'FVqAj':function(_0x55039e,_0x224a52,_0x51b010){return _0x55039e(_0x224a52,_0x51b010);}};return new Promise(async(_0x5df704,_0x443fa6)=>{const _0x5394e4=_0x2c31,_0x3c5afb={'kFjOi':function(_0x3451e8,_0x356e6e){return _0x3451e8(_0x356e6e);},'SzRUz':'获取群文件列表超时'};let _0x13e765=![];_0x244912['FVqAj'](setTimeout,()=>{const _0x3c803f=_0x2c31;!_0x13e765&&_0x3c5afb['kFjOi'](_0x443fa6,_0x3c5afb[_0x3c803f(0x13b)]);},0x1388);const _0x3060b5=_0x57d2e7=>{const _0x210207=_0x2c31;_0x13e765=!![],_0x5df704(_0x57d2e7[_0x210207(0x13d)]);};GroupFileInfoUpdateTasks[_0x5394e4(0x133)](randomUUID(),_0x3060b5),await napCatCore[_0x5394e4(0x13e)]['getRichMediaService']()[_0x5394e4(0x146)](_0x4c5b13,_0x327940);});}static async['getMsgHistory'](_0x154486,_0x17018a,_0x55d8cc){const _0x27afc6=_0xa5566e;return napCatCore[_0x27afc6(0x13e)]['getMsgService']()[_0x27afc6(0x134)](_0x154486,_0x17018a,_0x55d8cc,!![]);}static async[_0xa5566e(0x124)](){}static async['recallMsg'](_0x4a191a,_0x2e7428){const _0x57478c=_0xa5566e;await napCatCore[_0x57478c(0x13e)][_0x57478c(0x137)]()[_0x57478c(0x121)]({'chatType':_0x4a191a['chatType'],'peerUid':_0x4a191a[_0x57478c(0x147)]},_0x2e7428);}static async[_0xa5566e(0x12c)](_0x15d8e2,_0x45319c,_0x45aec5=!![],_0x16e627=0x2710){const _0x411d33=_0xa5566e,_0x1236a2={'jpOXm':function(_0x3a7936,_0x108afd){return _0x3a7936>_0x108afd;},'CbfYs':function(_0x1a67c2,_0x41aaae){return _0x1a67c2(_0x41aaae);},'FtiiX':function(_0x3adb05){return _0x3adb05();},'bPBsw':function(_0x182241,_0x23db78){return _0x182241===_0x23db78;},'yFBRC':'发送超时'},_0x76787=_0x15d8e2[_0x411d33(0x147)];let _0x27ed44=0x0;const _0x50d1ab=async()=>{const _0x11fcb0=_0x411d33;if(_0x1236a2[_0x11fcb0(0x14b)](_0x27ed44,_0x16e627))throw _0x11fcb0(0x12d);const _0xd6cfd5=sendMessagePool[_0x15d8e2[_0x11fcb0(0x147)]];if(_0xd6cfd5)return await _0x1236a2[_0x11fcb0(0x149)](sleep,0x1f4),_0x27ed44+=0x1f4,await _0x1236a2['FtiiX'](_0x50d1ab);else return;};return await _0x1236a2[_0x411d33(0x13a)](_0x50d1ab),new Promise((_0x5ebedc,_0x5713da)=>{const _0x5227b5=_0x411d33,_0x43d428={'hcAYU':function(_0x36c62c,_0x5b866d){const _0x2f1ec3=_0x2c31;return _0x1236a2[_0x2f1ec3(0x136)](_0x36c62c,_0x5b866d);},'RLMhE':function(_0x49dffb,_0x3ad099){const _0x1739d1=_0x2c31;return _0x1236a2[_0x1739d1(0x149)](_0x49dffb,_0x3ad099);},'vxvNT':_0x1236a2[_0x5227b5(0x135)]};let _0x5a562b=![],_0x51ec4a=null;const _0x4c2353=randomUUID();sendSuccessCBMap[_0x4c2353]=_0x11cc1b=>{const _0x14815b=_0x5227b5;if(_0x43d428['hcAYU'](_0x11cc1b[_0x14815b(0x14f)],_0x51ec4a?.[_0x14815b(0x14f)])){if(_0x11cc1b[_0x14815b(0x115)]===0x2)return delete sendSuccessCBMap[_0x4c2353],_0x5a562b=!![],_0x5ebedc(_0x11cc1b),!![];return![];}return![];},sendMessagePool[_0x76787]=async _0x18505d=>{delete sendMessagePool[_0x76787],_0x51ec4a=_0x18505d;},setTimeout(()=>{const _0x27c5f4=_0x5227b5;if(_0x5a562b)return;delete sendMessagePool[_0x76787],delete sendSuccessCBMap[_0x4c2353],_0x43d428[_0x27c5f4(0x15d)](_0x5713da,_0x43d428['vxvNT']);},_0x16e627);const _0x15dee1=napCatCore[_0x5227b5(0x13e)][_0x5227b5(0x137)]()['sendMsg']('0',_0x15d8e2,_0x45319c,new Map());});}static async[_0xa5566e(0x131)](_0x119a95,_0x3611c8,_0x36a2d8){const _0x56dd3e=_0xa5566e;return napCatCore[_0x56dd3e(0x13e)][_0x56dd3e(0x137)]()[_0x56dd3e(0x131)](_0x36a2d8,_0x119a95,[_0x3611c8],new Map());}static async['multiForwardMsg'](_0x2d62e2,_0x5b2e21,_0x30d98d){const _0xbc11a8=_0xa5566e,_0x9d4ad5={'WWQXl':function(_0x5dbb08,_0x29c765){return _0x5dbb08(_0x29c765);},'nTQJd':function(_0x25142c,_0x30b4d2){return _0x25142c!=_0x30b4d2;},'kELne':_0xbc11a8(0x154),'MpfOd':function(_0x390a3a,_0x37f481){return _0x390a3a(_0x37f481);},'XaBhl':function(_0x49fda5,_0x32aff3,_0x472c06){return _0x49fda5(_0x32aff3,_0x472c06);}},_0x1a2c05=_0x30d98d['map'](_0x2589bc=>{const _0x1f5e9c=_0xbc11a8;return{'msgId':_0x2589bc,'senderShowName':selfInfo[_0x1f5e9c(0x12f)]};});return new Promise((_0x38bfcd,_0x5578ff)=>{const _0x383202=_0xbc11a8,_0x2c0c35={'RUqsF':function(_0x527405,_0x408c01){const _0x4eff47=_0x2c31;return _0x9d4ad5[_0x4eff47(0x150)](_0x527405,_0x408c01);},'LKNnT':_0x9d4ad5[_0x383202(0x125)],'tWGbD':function(_0x2f14ec,_0x3c62ae){return _0x2f14ec==_0x3c62ae;},'edysW':function(_0x67f7fd,_0xfbf240){return _0x67f7fd==_0xfbf240;},'otWTV':function(_0x5755d3,_0xef5ab7){return _0x9d4ad5['MpfOd'](_0x5755d3,_0xef5ab7);}};let _0x216f17=![];const _0x346303=_0x47cf3d=>{const _0x5cbffd=_0x383202,_0x2ff50b=_0x47cf3d[_0x5cbffd(0x14a)][_0x5cbffd(0x140)](_0x32b09d=>_0x32b09d['arkElement']);if(!_0x2ff50b)return;const _0x394a17=JSON[_0x5cbffd(0x128)](_0x2ff50b[_0x5cbffd(0x127)]['bytesData']);if(_0x2c0c35[_0x5cbffd(0x13c)](_0x394a17['app'],_0x2c0c35[_0x5cbffd(0x129)]))return;_0x2c0c35[_0x5cbffd(0x14d)](_0x47cf3d['peerUid'],_0x5b2e21['peerUid'])&&_0x2c0c35[_0x5cbffd(0x132)](_0x47cf3d[_0x5cbffd(0x11b)],selfInfo[_0x5cbffd(0x11c)])&&(_0x216f17=!![],_0x2c0c35[_0x5cbffd(0x158)](_0x38bfcd,_0x47cf3d));};sentMsgTasks[_0x383202(0x133)](randomUUID(),_0x346303),_0x9d4ad5[_0x383202(0x141)](setTimeout,()=>{const _0x2cd3ce=_0x383202;!_0x216f17&&_0x9d4ad5[_0x2cd3ce(0x14c)](_0x5578ff,_0x2cd3ce(0x145));},0x1388),napCatCore[_0x383202(0x13e)]['getMsgService']()[_0x383202(0x15e)](_0x1a2c05,_0x2d62e2,_0x5b2e21,[],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 98163fac..35824e3e 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0x1ec3(_0x105504,_0x49875e){const _0x436a4f=_0x436a();return _0x1ec3=function(_0x1ec37b,_0xa71066){_0x1ec37b=_0x1ec37b-0x90;let _0x470453=_0x436a4f[_0x1ec37b];return _0x470453;},_0x1ec3(_0x105504,_0x49875e);}function _0x436a(){const _0x278261=['778722SQvduD','3208219QvKUXl','125595FlyxdW','replace','1272488vAqonL','XJbYW','gUTpp','VhUdS','yzxiA','stringify','title','WRDXs','data','getQzoneCookies','p_skey','prompt','\x5c/\x5c/','hiUnk','miniapp','sourcelogo','HttpGetJson','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','94016prOWYL','cCdeo',';\x20skey=','GkEij','source','JzCIZ','mAGaf','GET','wOjDS','MiniApp\x20JSON\x20消息生成失败','cCnBG','DqtuC','1948302NySGgc','2AtthbQ','1298142HYiNHU',';\x20uin=o','com.tencent.miniapp.lua','skey','5ghjpDV','uin','jumpUrl','p_skey='];_0x436a=function(){return _0x278261;};return _0x436a();}(function(_0x1be915,_0x5f4768){const _0x1719f3=_0x1ec3,_0x51af70=_0x1be915();while(!![]){try{const _0x1006a9=parseInt(_0x1719f3(0x95))/0x1+-parseInt(_0x1719f3(0xb6))/0x2*(-parseInt(_0x1719f3(0x93))/0x3)+parseInt(_0x1719f3(0x97))/0x4+-parseInt(_0x1719f3(0xbb))/0x5*(-parseInt(_0x1719f3(0xb7))/0x6)+-parseInt(_0x1719f3(0x94))/0x7+-parseInt(_0x1719f3(0xa9))/0x8+-parseInt(_0x1719f3(0xb5))/0x9;if(_0x1006a9===_0x5f4768)break;else _0x51af70['push'](_0x51af70['shift']());}catch(_0x322c02){_0x51af70['push'](_0x51af70['shift']());}}}(_0x436a,0x38e8d));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(_0x149b66){const _0x22a0ce=_0x1ec3,_0x3f877a={'yzxiA':_0x22a0ce(0xb9),'JzCIZ':'tianxuan.imgJumpArk','cCnBG':_0x22a0ce(0xa3),'XJbYW':function(_0x352e29,_0x18db3e){return _0x352e29+_0x18db3e;},'gUTpp':function(_0x25d363,_0x1b8921){return _0x25d363+_0x1b8921;},'hiUnk':_0x22a0ce(0x92),'VhUdS':_0x22a0ce(0xab),'WRDXs':';\x20p_uin=o','ZqsHW':_0x22a0ce(0xb8),'mAGaf':function(_0x26ed51,_0x31bf6b){return _0x26ed51+_0x31bf6b;},'GkEij':_0x22a0ce(0xa8),'wOjDS':'&ark=','YCLeU':function(_0x540e6b,_0x423be7){return _0x540e6b(_0x423be7);},'cCdeo':function(_0x2046e2,_0x3aba18,_0x589ef2){return _0x2046e2(_0x3aba18,_0x589ef2);},'DqtuC':_0x22a0ce(0xb2)};let _0x3b0e5b={'app':_0x3f877a[_0x22a0ce(0x9b)],'bizsrc':_0x3f877a[_0x22a0ce(0xae)],'view':_0x22a0ce(0xa5),'prompt':_0x149b66[_0x22a0ce(0xa2)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x149b66[_0x22a0ce(0x9d)],'preview':_0x149b66['preview'][_0x22a0ce(0x96)](/\\/g,_0x3f877a[_0x22a0ce(0xb3)]),'jumpUrl':_0x149b66[_0x22a0ce(0x91)][_0x22a0ce(0x96)](/\\/g,_0x3f877a['cCnBG']),'tag':_0x149b66['tag'],'tagIcon':_0x149b66['tagIcon'][_0x22a0ce(0x96)](/\\/g,_0x3f877a[_0x22a0ce(0xb3)]),'source':_0x149b66[_0x22a0ce(0xad)],'sourcelogo':_0x149b66[_0x22a0ce(0xa6)][_0x22a0ce(0x96)](/\\/g,_0x3f877a['cCnBG'])}}};const _0x58bc12=await NTQQUserApi['getSkey']();let _0x32b7bf=await NTQQUserApi[_0x22a0ce(0xa0)]();const _0xe80cf0=WebApi['genBkn'](_0x32b7bf['p_skey']),_0x35ef3b=_0x3f877a['XJbYW'](_0x3f877a['XJbYW'](_0x3f877a[_0x22a0ce(0x98)](_0x3f877a['gUTpp'](_0x3f877a[_0x22a0ce(0x99)](_0x3f877a[_0x22a0ce(0xa4)],_0x32b7bf[_0x22a0ce(0xa1)]),_0x3f877a[_0x22a0ce(0x9a)]),_0x32b7bf[_0x22a0ce(0xba)]),_0x3f877a[_0x22a0ce(0x9e)])+selfInfo[_0x22a0ce(0x90)]+_0x3f877a['ZqsHW'],selfInfo['uin']);let _0xeed383=_0x3f877a['mAGaf'](_0x3f877a[_0x22a0ce(0xaf)](_0x3f877a[_0x22a0ce(0x98)](_0x3f877a[_0x22a0ce(0xac)],_0xe80cf0),_0x3f877a[_0x22a0ce(0xb1)]),_0x3f877a['YCLeU'](encodeURIComponent,JSON[_0x22a0ce(0x9c)](_0x3b0e5b))),_0x27b359='';try{let _0x321530=await RequestUtil[_0x22a0ce(0xa7)](_0xeed383,_0x22a0ce(0xb0),undefined,{'Cookie':_0x35ef3b});_0x27b359=_0x321530[_0x22a0ce(0x9f)]['signed_ark'];}catch(_0x508b09){_0x3f877a[_0x22a0ce(0xaa)](logDebug,_0x3f877a[_0x22a0ce(0xb4)],_0x508b09);}return _0x27b359;} \ No newline at end of file +(function(_0x2c8d6f,_0x440f50){const _0x11ee88=_0x5755,_0xcff08b=_0x2c8d6f();while(!![]){try{const _0x5b0186=parseInt(_0x11ee88(0xaa))/0x1*(-parseInt(_0x11ee88(0xa3))/0x2)+parseInt(_0x11ee88(0xac))/0x3+parseInt(_0x11ee88(0xa0))/0x4*(-parseInt(_0x11ee88(0xa1))/0x5)+parseInt(_0x11ee88(0x90))/0x6+parseInt(_0x11ee88(0x8d))/0x7*(parseInt(_0x11ee88(0x8a))/0x8)+parseInt(_0x11ee88(0x92))/0x9*(-parseInt(_0x11ee88(0x8f))/0xa)+-parseInt(_0x11ee88(0xa8))/0xb;if(_0x5b0186===_0x440f50)break;else _0xcff08b['push'](_0xcff08b['shift']());}catch(_0x39487e){_0xcff08b['push'](_0xcff08b['shift']());}}}(_0x2e9e,0x44491));function _0x5755(_0x2a8a79,_0x4e7f9b){const _0x2e9e82=_0x2e9e();return _0x5755=function(_0x5755b0,_0x75b89b){_0x5755b0=_0x5755b0-0x85;let _0x57fe2b=_0x2e9e82[_0x5755b0];return _0x57fe2b;},_0x5755(_0x2a8a79,_0x4e7f9b);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x2e9e(){const _0x2124d2=['CQpFH','7tLXsUC','kiRrT','4981160WZblnc','364290UqbbUp','title','9lrfJki','p_skey','&ark=','tag','replace','HttpGetJson','signed_ark','JIWwG','bhmvW','tianxuan.imgJumpArk','jwipJ','oDcJc','eRNpy','preview','16ZEfBzT','37585BavLwB','ppRBA','83924tTMtop','sourcelogo','\x5c/\x5c/','CLqte','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','238007nWbniH','source','3iPmSpk','LHoyZ','1138272QoYysG','com.tencent.miniapp.lua','stringify','p_skey=','skey','tqwMb','normal','jumpUrl','data','NnACD','dzOpO','MiniApp\x20JSON\x20消息生成失败','miniapp','getQzoneCookies','4122120zPiWuK','uin'];_0x2e9e=function(){return _0x2124d2;};return _0x2e9e();}import{WebApi}from'./webapi';export async function SignMiniApp(_0x4dd77b){const _0x203dbd=_0x5755,_0x192040={'CLqte':_0x203dbd(0xad),'CQpFH':_0x203dbd(0x88),'LHoyZ':_0x203dbd(0xb2),'tqwMb':_0x203dbd(0xa5),'eRNpy':function(_0x27ee0e,_0x56469d){return _0x27ee0e+_0x56469d;},'oDcJc':_0x203dbd(0xaf),'JIWwG':';\x20skey=','jwipJ':';\x20p_uin=o','bhmvW':function(_0x874fd2,_0x6dff72){return _0x874fd2+_0x6dff72;},'ppRBA':function(_0x25ec77,_0x4ffa64){return _0x25ec77+_0x4ffa64;},'dzOpO':_0x203dbd(0xa7),'NnACD':function(_0x35fe97,_0x323653){return _0x35fe97(_0x323653);},'vBeOp':'GET','kiRrT':function(_0x43c052,_0x28a0fa,_0x5a2526){return _0x43c052(_0x28a0fa,_0x5a2526);}};let _0x29cb78={'app':_0x192040[_0x203dbd(0xa6)],'bizsrc':_0x203dbd(0x9b),'view':_0x192040[_0x203dbd(0x8c)],'prompt':_0x4dd77b['prompt'],'config':{'type':_0x192040[_0x203dbd(0xab)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x4dd77b[_0x203dbd(0x91)],'preview':_0x4dd77b[_0x203dbd(0x9f)][_0x203dbd(0x96)](/\\/g,_0x192040[_0x203dbd(0xb1)]),'jumpUrl':_0x4dd77b[_0x203dbd(0xb3)][_0x203dbd(0x96)](/\\/g,_0x192040[_0x203dbd(0xb1)]),'tag':_0x4dd77b[_0x203dbd(0x95)],'tagIcon':_0x4dd77b['tagIcon'][_0x203dbd(0x96)](/\\/g,_0x192040[_0x203dbd(0xb1)]),'source':_0x4dd77b[_0x203dbd(0xa9)],'sourcelogo':_0x4dd77b[_0x203dbd(0xa4)][_0x203dbd(0x96)](/\\/g,_0x203dbd(0xa5))}}};const _0x4ce407=await NTQQUserApi['getSkey']();let _0x16da73=await NTQQUserApi[_0x203dbd(0x89)]();const _0x50116f=WebApi['genBkn'](_0x16da73[_0x203dbd(0x93)]),_0x3daeb0=_0x192040[_0x203dbd(0x9e)](_0x192040[_0x203dbd(0x9e)](_0x192040[_0x203dbd(0x9e)](_0x192040['eRNpy'](_0x192040[_0x203dbd(0x9d)],_0x16da73['p_skey']),_0x192040[_0x203dbd(0x99)])+_0x16da73[_0x203dbd(0xb0)],_0x192040[_0x203dbd(0x9c)])+selfInfo[_0x203dbd(0x8b)],';\x20uin=o')+selfInfo[_0x203dbd(0x8b)];let _0x363aac=_0x192040[_0x203dbd(0x9e)](_0x192040[_0x203dbd(0x9a)](_0x192040[_0x203dbd(0xa2)](_0x192040[_0x203dbd(0x86)],_0x50116f),_0x203dbd(0x94)),_0x192040[_0x203dbd(0x85)](encodeURIComponent,JSON[_0x203dbd(0xae)](_0x29cb78))),_0x30550a='';try{let _0x1aff91=await RequestUtil[_0x203dbd(0x97)](_0x363aac,_0x192040['vBeOp'],undefined,{'Cookie':_0x3daeb0});_0x30550a=_0x1aff91[_0x203dbd(0xb4)][_0x203dbd(0x98)];}catch(_0x59731c){_0x192040[_0x203dbd(0x8e)](logDebug,_0x203dbd(0x87),_0x59731c);}return _0x30550a;} \ 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 3df31499..427f8410 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x46dc(_0x252205,_0x596a7e){const _0x9cf560=_0x9cf5();return _0x46dc=function(_0x46dc5e,_0x1fbdbd){_0x46dc5e=_0x46dc5e-0x84;let _0x98d3b0=_0x9cf560[_0x46dc5e];return _0x98d3b0;},_0x46dc(_0x252205,_0x596a7e);}const _0x5f1731=_0x46dc;(function(_0x131e94,_0x339d89){const _0x13e4fb=_0x46dc,_0x4acac7=_0x131e94();while(!![]){try{const _0x4a4228=-parseInt(_0x13e4fb(0x8f))/0x1+-parseInt(_0x13e4fb(0x96))/0x2+-parseInt(_0x13e4fb(0x88))/0x3+parseInt(_0x13e4fb(0x94))/0x4*(-parseInt(_0x13e4fb(0x84))/0x5)+parseInt(_0x13e4fb(0x86))/0x6*(parseInt(_0x13e4fb(0x8e))/0x7)+parseInt(_0x13e4fb(0x8d))/0x8+parseInt(_0x13e4fb(0x8a))/0x9*(parseInt(_0x13e4fb(0x92))/0xa);if(_0x4a4228===_0x339d89)break;else _0x4acac7['push'](_0x4acac7['shift']());}catch(_0x315da7){_0x4acac7['push'](_0x4acac7['shift']());}}}(_0x9cf5,0x44204));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x5f1731(0x8c)](){const _0x21427f=_0x5f1731;return napCatCore[_0x21427f(0x85)][_0x21427f(0x8c)]();}static async['ORCImage'](_0x137341){const _0x491145=_0x5f1731;return napCatCore[_0x491145(0x95)][_0x491145(0x87)]()[_0x491145(0x97)](_0x137341);}static async[_0x5f1731(0x89)](_0x550cfd){const _0x3ba626=_0x5f1731;return napCatCore[_0x3ba626(0x95)][_0x3ba626(0x98)]()[_0x3ba626(0x89)](_0x550cfd);}static async[_0x5f1731(0x90)](){const _0x233ebe=_0x5f1731;return napCatCore['session'][_0x233ebe(0x8b)]()[_0x233ebe(0x91)]();}static async['getArkJsonCollection'](_0x5c97af){const _0xdca503=_0x5f1731,_0x25587b={'XPwbl':'NodeIKernelCollectionService/collectionArkShare','gSFvM':'1717662698058'};let _0x174920=await NTEventDispatch[_0xdca503(0x93)](_0x25587b['XPwbl'],0x1388,_0x25587b['gSFvM']);return _0x174920;}}function _0x9cf5(){const _0x2379ff=['16854jhGezX','getNodeMiscService','854847cjuHNZ','translateEnWordToZn','9RGVtBv','getMsgService','hasOtherRunningQQProcess','3677600dTUOuf','651nEKLwo','108927JDRqDc','getOnlineDev','getOnLineDev','4551990fvHFBw','CallNoListenerEvent','75496DJMJOy','session','666700WHYFjx','wantWinScreenOCR','getRichMediaService','45wafYzL','util'];_0x9cf5=function(){return _0x2379ff;};return _0x9cf5();} \ No newline at end of file +const _0x33269d=_0x4995;function _0x5357(){const _0x30b6b6=['18dlIHfO','getMsgService','getOnLineDev','10LVTmMX','NodeIKernelCollectionService/collectionArkShare','getOnlineDev','session','ORCImage','util','34445PcFiFV','getNodeMiscService','6AVMLsC','1717662698058','13109WfArlx','145166qPwZcV','getArkJsonCollection','translateEnWordToZn','4403439gKlcYs','713106lDcSNS','wantWinScreenOCR','8628928oAPyQv','getRichMediaService','138728WIphtn','akbVT','hasOtherRunningQQProcess','32eyTEOm','CallNoListenerEvent'];_0x5357=function(){return _0x30b6b6;};return _0x5357();}(function(_0x39d0d2,_0x41ad8f){const _0xa98dfa=_0x4995,_0x5ae3cd=_0x39d0d2();while(!![]){try{const _0x49b704=-parseInt(_0xa98dfa(0x132))/0x1*(-parseInt(_0xa98dfa(0x140))/0x2)+-parseInt(_0xa98dfa(0x130))/0x3*(-parseInt(_0xa98dfa(0x13b))/0x4)+parseInt(_0xa98dfa(0x12e))/0x5+-parseInt(_0xa98dfa(0x137))/0x6+-parseInt(_0xa98dfa(0x133))/0x7*(parseInt(_0xa98dfa(0x13e))/0x8)+parseInt(_0xa98dfa(0x136))/0x9*(-parseInt(_0xa98dfa(0x143))/0xa)+parseInt(_0xa98dfa(0x139))/0xb;if(_0x49b704===_0x41ad8f)break;else _0x5ae3cd['push'](_0x5ae3cd['shift']());}catch(_0x12bc75){_0x5ae3cd['push'](_0x5ae3cd['shift']());}}}(_0x5357,0x46378));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x4995(_0x25681f,_0xd7cf37){const _0x53576c=_0x5357();return _0x4995=function(_0x499511,_0x384667){_0x499511=_0x499511-0x12e;let _0x52d888=_0x53576c[_0x499511];return _0x52d888;},_0x4995(_0x25681f,_0xd7cf37);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x33269d(0x13d)](){const _0x4be2e1=_0x33269d;return napCatCore[_0x4be2e1(0x148)]['hasOtherRunningQQProcess']();}static async[_0x33269d(0x147)](_0x5be50b){const _0x2e00c1=_0x33269d;return napCatCore['session'][_0x2e00c1(0x12f)]()[_0x2e00c1(0x138)](_0x5be50b);}static async[_0x33269d(0x135)](_0x20def5){const _0x488366=_0x33269d;return napCatCore['session'][_0x488366(0x13a)]()[_0x488366(0x135)](_0x20def5);}static async[_0x33269d(0x145)](){const _0xdb9999=_0x33269d;return napCatCore[_0xdb9999(0x146)][_0xdb9999(0x141)]()[_0xdb9999(0x142)]();}static async[_0x33269d(0x134)](_0x289d23){const _0x742861=_0x33269d,_0x271b0a={'akbVT':_0x742861(0x144)};let _0x26c65d=await NTEventDispatch[_0x742861(0x13f)](_0x271b0a[_0x742861(0x13c)],0x1388,_0x742861(0x131));return _0x26c65d;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index f780dfed..946688d6 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x2812ba=_0x245f;(function(_0x261bce,_0x540c46){const _0x1510d4=_0x245f,_0x45c3a5=_0x261bce();while(!![]){try{const _0x47edd9=parseInt(_0x1510d4(0xdc))/0x1+-parseInt(_0x1510d4(0x105))/0x2+parseInt(_0x1510d4(0x119))/0x3+-parseInt(_0x1510d4(0xee))/0x4*(-parseInt(_0x1510d4(0x11b))/0x5)+-parseInt(_0x1510d4(0xe7))/0x6*(-parseInt(_0x1510d4(0x109))/0x7)+-parseInt(_0x1510d4(0xdf))/0x8+parseInt(_0x1510d4(0x10f))/0x9*(-parseInt(_0x1510d4(0x108))/0xa);if(_0x47edd9===_0x540c46)break;else _0x45c3a5['push'](_0x45c3a5['shift']());}catch(_0x59744b){_0x45c3a5['push'](_0x45c3a5['shift']());}}}(_0x4d97,0xd7c83));import{Credentials,selfInfo}from'@/core/data';function _0x4d97(){const _0x2ee077=['onLoginSuccess','XcRrK','VZCsV','mbKjw','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','get','VKBKW','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NodeIKernelUixConvertService/getUin','getBuddyService','CreatTime','getBuddyRecommendContactArkJson','2530214mzKFiM','获取Pskey失败','keyIndex','2950OAAjCW','14AczwsI','clientKey','robotUinRanges','addListener','gyUUg','getUserInfo','26541WpXlGm','MUKku','modifyDesktopMiniProfile','GOwlm','CpivC','setStatus','getSkey','lSoRr','aMFhx','HttpsGetCookies','2901726SbmdkY','uDfDw','5884090QLRedS','getUserDetailInfoWithBizInfo','TYpyL','getPskey','Skey','now','TgdYQ','getQzoneCookies','getProfileService','NodeIKernelProfileService/getUserDetailInfoByUin','ZtlVm','CallNoListenerEvent','setBuddyProfileLike','result','modifySelfProfile','ucCGH','getTicketService','set','uinInfo','getRobotUinRange','getUinByUid','plJif','uidInfo','&clientkey=','assign','MBNzI','fromEntries','getRobotService','length','FNnfi','uqVqF','getUidByUin','setHeader','then','AqTjg','1686546dMrMVc','getUserDetailInfo\x20timeout','rCGSw','8077784UYZHqZ','请求获取Skey时失败','delete','getProfileLikeService','avAKD','forEach','skey','vMuoD','594066aVuhZI','HKOag','PskeyTime','uid','getUserDetailInfoByUin','errMsg','domainPskeyMap','4SkxmAx','uin','setQQAvatar','ClientKey','NodeIKernelUixConvertService/getUid','push','KeyIndex','PskeyData','qYnVJ','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','session'];_0x4d97=function(){return _0x2ee077;};return _0x4d97();}function _0x245f(_0x371dcf,_0x4ac1e4){const _0x4d9783=_0x4d97();return _0x245f=function(_0x245fdf,_0x36b12e){_0x245fdf=_0x245fdf-0xbd;let _0x2178b1=_0x4d9783[_0x245fdf];return _0x2178b1;},_0x245f(_0x371dcf,_0x4ac1e4);}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['onProfileDetailInfoChanged']=_0x11fdf5=>{const _0x4abeb2=_0x245f;userInfoCache[_0x11fdf5['uid']]=_0x11fdf5,userDetailHandlers[_0x4abeb2(0xe4)](_0x2d3c81=>_0x2d3c81(_0x11fdf5));},setTimeout(()=>{const _0x1ae95b=_0x245f;napCatCore[_0x1ae95b(0xf9)](()=>{const _0x1005e3=_0x1ae95b;napCatCore[_0x1005e3(0x10c)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x51dbd9,_0x3d7d7a,_0x1dacf6){const _0x4e505d=_0x245f;return napCatCore['session']['getMsgService']()[_0x4e505d(0x114)]({'status':_0x51dbd9,'extStatus':_0x3d7d7a,'batteryStatus':_0x1dacf6});}static async[_0x2812ba(0x104)](_0x2a2e56,_0x50ddc8=''){const _0x33746e=_0x2812ba;return napCatCore[_0x33746e(0xf8)][_0x33746e(0x102)]()['getBuddyRecommendContactArkJson'](_0x2a2e56,_0x50ddc8);}static async['like'](_0x3048a7,_0x21e474=0x1){const _0x1d7f40=_0x2812ba;return napCatCore[_0x1d7f40(0xf8)][_0x1d7f40(0xe2)]()[_0x1d7f40(0xc5)]({'friendUid':_0x3048a7,'sourceId':0x47,'doLikeCount':_0x21e474,'doLikeTollCount':0x0});}static async[_0x2812ba(0xf0)](_0x31bc0e){const _0x1d3a78=_0x2812ba,_0x417f3d=await napCatCore[_0x1d3a78(0xf8)][_0x1d3a78(0xc1)]()[_0x1d3a78(0xd9)](_0x31bc0e);return{'result':_0x417f3d?.[_0x1d3a78(0xc6)],'errMsg':_0x417f3d?.[_0x1d3a78(0xec)]};}static async['getSelfInfo'](){}static async[_0x2812ba(0x10e)](_0x24861d){}static async['getUserDetailInfo'](_0x243b0e){const _0x33378c=_0x2812ba,_0x43373e={'rCGSw':function(_0x543930,_0x389d3f){return _0x543930(_0x389d3f);},'qYnVJ':_0x33378c(0xdd),'XcRrK':function(_0x50ad93){return _0x50ad93();},'aMFhx':function(_0x47b084,_0x7444f5,_0xd096d1){return _0x47b084(_0x7444f5,_0xd096d1);}},_0x3ece46=napCatCore['session'][_0x33378c(0xc1)]();return new Promise((_0x24b457,_0xee99a1)=>{const _0x32c337=_0x33378c,_0x3866db={'uqVqF':function(_0x3cfd8d,_0x2350dc){const _0x3bf55f=_0x245f;return _0x43373e[_0x3bf55f(0xde)](_0x3cfd8d,_0x2350dc);}},_0x1ea85f=_0x43373e[_0x32c337(0xfa)](randomUUID);let _0x101682=![],_0x2824cd=undefined,_0xeed443=!![];_0x43373e[_0x32c337(0x117)](setTimeout,()=>{const _0x56cac3=_0x32c337;!_0x101682&&(_0x2824cd?_0x43373e[_0x56cac3(0xde)](_0x24b457,_0x2824cd):_0xee99a1(_0x43373e[_0x56cac3(0xf6)])),userDetailHandlers[_0x56cac3(0xe1)](_0x1ea85f);},0x1388),userDetailHandlers[_0x32c337(0xca)](_0x1ea85f,_0x4eb223=>{const _0xeb731e=_0x32c337;_0x4eb223[_0xeb731e(0xea)]===_0x243b0e&&(_0xeed443?(_0x2824cd=_0x4eb223,_0xeed443=![]):(_0x101682=!![],_0x3866db[_0xeb731e(0xd7)](_0x24b457,_0x4eb223)));}),_0x3ece46[_0x32c337(0x11c)](_0x243b0e,[0x0])[_0x32c337(0xda)](_0x6b4efc=>{});});}static async[_0x2812ba(0xc7)](_0x395e58){const _0x27e0be=_0x2812ba;return napCatCore[_0x27e0be(0xf8)]['getProfileService']()[_0x27e0be(0x111)](_0x395e58);}static async['getPSkey'](_0x43a52a,_0x50fa14=!![]){const _0x497e79=_0x2812ba,_0x558b1c={'AqTjg':function(_0x4ecaf5,_0x35c9e3){return _0x4ecaf5||_0x35c9e3;},'mbKjw':function(_0x142a09,_0x37022f){return _0x142a09>_0x37022f;},'TYpyL':function(_0x3335b5,_0x2be280){return _0x3335b5-_0x2be280;},'FNnfi':function(_0xfe68ea,_0x486dd9){return _0xfe68ea*_0x486dd9;},'GOwlm':function(_0x431215,_0x2bb9be){return _0x431215===_0x2bb9be;},'avAKD':function(_0x45d40c,_0x1f7fb9,_0x40e0c5){return _0x45d40c(_0x1f7fb9,_0x40e0c5);},'uDfDw':_0x497e79(0x106)},_0x1a957c=[],_0x2329df={};for(const _0x1c022f in _0x43a52a){const _0x18f491=Credentials['PskeyData'][_0x497e79(0xfe)](_0x43a52a[_0x1c022f]),_0x53c50e=Credentials[_0x497e79(0xe9)]['get'](_0x43a52a[_0x1c022f]);_0x558b1c[_0x497e79(0xdb)](!_0x18f491,!_0x53c50e)||_0x558b1c['mbKjw'](_0x558b1c[_0x497e79(0x11d)](Date[_0x497e79(0xbe)](),_0x53c50e),_0x558b1c[_0x497e79(0xd6)](0x708,0x3e8))||!_0x50fa14?_0x1a957c[_0x497e79(0xf3)](_0x43a52a[_0x1c022f]):_0x2329df[_0x43a52a[_0x1c022f]]=_0x18f491;}let _0x14aa36={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x558b1c[_0x497e79(0xfc)](_0x1a957c[_0x497e79(0xd5)],0x0)&&(_0x14aa36=await napCatCore[_0x497e79(0xf8)]['getTipOffService']()[_0x497e79(0x11e)](_0x1a957c,!![]));const _0x55afb2=_0x14aa36[_0x497e79(0xed)];for(const _0x558ca7 of _0x55afb2['entries']()){Credentials[_0x497e79(0xf5)][_0x497e79(0xca)](_0x558ca7[0x0],_0x558ca7[0x1]),Credentials[_0x497e79(0xe9)][_0x497e79(0xca)](_0x558ca7[0x0],Date['now']());}const _0x571e1d=Object[_0x497e79(0xd1)](Object[_0x497e79(0xd3)](_0x55afb2),_0x2329df);if(_0x558b1c[_0x497e79(0x112)](_0x14aa36[_0x497e79(0xc6)],0x0))return _0x571e1d;else _0x558b1c[_0x497e79(0xe3)](logError,_0x558b1c[_0x497e79(0x11a)],_0x14aa36['errMsg']);return{};}static async['getRobotUinRange'](){const _0x5b1d73=_0x2812ba,_0x25f253=await napCatCore[_0x5b1d73(0xf8)][_0x5b1d73(0xd4)]()[_0x5b1d73(0xcc)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x25f253?.['response']?.[_0x5b1d73(0x10b)];}static async[_0x2812ba(0xc0)](){const _0x18ef40=_0x2812ba,_0x172ffd={'cREFO':function(_0x45f02d,_0x3e0269){return _0x45f02d+_0x3e0269;},'HKOag':function(_0x29ff22,_0x518705){return _0x29ff22+_0x518705;},'ucCGH':function(_0x1f7de1,_0x3910ef){return _0x1f7de1+_0x3910ef;},'vMuoD':function(_0x3a3cee,_0x480574){return _0x3a3cee+_0x480574;},'MBNzI':_0x18ef40(0x100)},_0x2611ad=_0x172ffd['cREFO'](_0x172ffd[_0x18ef40(0xe8)](_0x172ffd[_0x18ef40(0xc8)](_0x172ffd[_0x18ef40(0xe6)](_0x18ef40(0xfd),selfInfo[_0x18ef40(0xef)])+'&clientkey=',Credentials[_0x18ef40(0xf1)]),_0x172ffd[_0x18ef40(0xd2)])+selfInfo[_0x18ef40(0xef)],'%2Finfocenter&keyindex=19%27');let _0x4f7b25={};try{_0x4f7b25=await RequestUtil[_0x18ef40(0x118)](_0x2611ad);}catch(_0x2213f3){logDebug('请求获取Cookies时失败',_0x2213f3),_0x4f7b25={};}return _0x4f7b25;}static async[_0x2812ba(0x115)](_0x799889=!![]){const _0x5a59b7=_0x2812ba,_0x434bc0={'VKBKW':function(_0x4fb0a2,_0x4e4ab0){return _0x4fb0a2==_0x4e4ab0;},'gyUUg':function(_0x31c790,_0xfaed1a){return _0x31c790!==_0xfaed1a;},'CpivC':function(_0x32bd63,_0x41de76){return _0x32bd63+_0x41de76;},'CmYxv':function(_0x504b27,_0x4950b2){return _0x504b27+_0x4950b2;},'MUKku':function(_0x48dded,_0x155ca7){return _0x48dded+_0x155ca7;},'ZtlVm':_0x5a59b7(0xfd),'VZCsV':_0x5a59b7(0xd0),'TgdYQ':function(_0x311b2f,_0x5d0ec2,_0x3d770a){return _0x311b2f(_0x5d0ec2,_0x3d770a);},'xyvvI':_0x5a59b7(0xe5)};try{if(_0x434bc0[_0x5a59b7(0xff)](Credentials['CreatTime'],0x0)||Date['now']()-Credentials['CreatTime']>0x3e8*0xe10||!_0x799889){const _0x22fd94=await napCatCore['session'][_0x5a59b7(0xc9)]()['forceFetchClientKey']('');if(_0x434bc0[_0x5a59b7(0x10d)](_0x22fd94['result'],0x0))return'';const _0x140b1d=_0x22fd94[_0x5a59b7(0x10a)],_0x52bc33=_0x22fd94[_0x5a59b7(0x107)],_0x4cc85b=_0x434bc0[_0x5a59b7(0x113)](_0x434bc0['CmYxv'](_0x434bc0[_0x5a59b7(0x110)](_0x434bc0[_0x5a59b7(0x113)](_0x434bc0[_0x5a59b7(0xc3)]+selfInfo['uin'],_0x434bc0[_0x5a59b7(0xfb)]),_0x140b1d),_0x5a59b7(0xf7)),_0x52bc33);let _0x18f14b={};try{_0x18f14b=await RequestUtil[_0x5a59b7(0x118)](_0x4cc85b);}catch(_0x4fb52e){_0x434bc0[_0x5a59b7(0xbf)](logDebug,_0x5a59b7(0xe0),_0x4fb52e),_0x18f14b={};}const _0x817c43=_0x18f14b[_0x434bc0['xyvvI']];if(!_0x817c43)return'';return Credentials[_0x5a59b7(0xf1)]=_0x140b1d,Credentials[_0x5a59b7(0xf4)]=_0x52bc33,Credentials[_0x5a59b7(0x103)]=Date[_0x5a59b7(0xbe)](),Credentials[_0x5a59b7(0xbd)]=_0x817c43,_0x817c43;}return Credentials[_0x5a59b7(0xbd)];}catch(_0x27f52a){}return undefined;}static async[_0x2812ba(0xd8)](_0x1f45c6){const _0x3b4bf6=_0x2812ba,_0x159e55={'lSoRr':_0x3b4bf6(0xf2)};let _0x14059a=await NTEventDispatch[_0x3b4bf6(0xc4)](_0x159e55[_0x3b4bf6(0x116)],0x1388,[_0x1f45c6]);return _0x14059a[_0x3b4bf6(0xcf)][_0x3b4bf6(0xfe)](_0x1f45c6);}static async[_0x2812ba(0xcd)](_0x401124){const _0x508c7f=_0x2812ba,_0x277040={'plJif':_0x508c7f(0x101)};if(!_0x401124)return'';let _0x5aabe2=await NTEventDispatch['CallNoListenerEvent'](_0x277040[_0x508c7f(0xce)],0x1388,[_0x401124]);return _0x5aabe2[_0x508c7f(0xcb)]['get'](_0x401124);}static async[_0x2812ba(0xeb)](_0x20ee5f){const _0x134ec6=_0x2812ba;return NTEventDispatch[_0x134ec6(0xc4)](_0x134ec6(0xc2),0x1388,_0x20ee5f);}} \ No newline at end of file +const _0x14c5a7=_0x4146;(function(_0x32ed5f,_0x5e6817){const _0xdf1b33=_0x4146,_0x1486f0=_0x32ed5f();while(!![]){try{const _0x32e4a2=parseInt(_0xdf1b33(0xea))/0x1+-parseInt(_0xdf1b33(0xdb))/0x2+parseInt(_0xdf1b33(0xfa))/0x3+parseInt(_0xdf1b33(0x118))/0x4+-parseInt(_0xdf1b33(0x110))/0x5+-parseInt(_0xdf1b33(0x11c))/0x6*(-parseInt(_0xdf1b33(0x11e))/0x7)+-parseInt(_0xdf1b33(0xf2))/0x8;if(_0x32e4a2===_0x5e6817)break;else _0x1486f0['push'](_0x1486f0['shift']());}catch(_0x4dc310){_0x1486f0['push'](_0x1486f0['shift']());}}}(_0x5dcb,0x7ceee));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x5dcb(){const _0x4adc55=['setStatus','ehiMZ','ZCAyl','response','robotUinRanges','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','fromEntries','oSLaz','JuzYd','NodeIKernelUixConvertService/getUin','getMsgService','getQzoneCookies','KeyIndex','102042zdCpKD','GvVoC','uin','getRobotService','&clientkey=','setSelfOnlineStatus','NodeIKernelProfileService/getUserDetailInfoByUin','UVuRv','6846992Ecrpwa','jhHEM','assign','session','YcRlO','keyIndex','setQQAvatar','uYuUK','1562652VRIFZS','push','set','modifyDesktopMiniProfile','uid','getProfileService','getSelfInfo','like','CallNoListenerEvent','getRobotUinRange','PkZvf','clientKey','TgyCV','result','ClientKey','CreatTime','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','uEFAh','TGtHe','GNnZX','NodeIKernelUixConvertService/getUid','get','2740430HjuRKp','Skey','MNsBt','%2Finfocenter&keyindex=19%27','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getUserInfo','domainPskeyMap','PskeyTime','2905764CPNupL','errMsg','getUidByUin','getPSkey','228cPNGxN','获取Pskey失败','131838hdmDUs','pvYjw','onProfileDetailInfoChanged','getTipOffService','length','Kbvqs','VCQSN','请求获取Cookies时失败','now','wCvoY','getProfileLikeService','setHeader','dQknn','mxqYQ','uidInfo','HttpsGetCookies','getUserDetailInfoWithBizInfo','uinInfo','skey','fIJRv','then','RapFb','PskeyData','298746OuxadR','getPskey'];_0x5dcb=function(){return _0x4adc55;};return _0x5dcb();}function _0x4146(_0x4357aa,_0x210c82){const _0x5dcb00=_0x5dcb();return _0x4146=function(_0x414630,_0x1878da){_0x414630=_0x414630-0xd7;let _0x2ff298=_0x5dcb00[_0x414630];return _0x2ff298;},_0x4146(_0x4357aa,_0x210c82);}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[_0x14c5a7(0x120)]=_0x264df1=>{const _0x2f7485=_0x14c5a7;userInfoCache[_0x264df1[_0x2f7485(0xfe)]]=_0x264df1,userDetailHandlers['forEach'](_0x30cf92=>_0x30cf92(_0x264df1));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x14c5a7(0xef)](_0x181321,_0xb72100,_0x1f40d6){const _0x324f09=_0x14c5a7;return napCatCore[_0x324f09(0xf5)][_0x324f09(0xe7)]()[_0x324f09(0xdd)]({'status':_0x181321,'extStatus':_0xb72100,'batteryStatus':_0x1f40d6});}static async['getBuddyRecommendContactArkJson'](_0x94ba73,_0x28ba47=''){const _0x58c369=_0x14c5a7;return napCatCore[_0x58c369(0xf5)]['getBuddyService']()['getBuddyRecommendContactArkJson'](_0x94ba73,_0x28ba47);}static async[_0x14c5a7(0x101)](_0x447116,_0x74f81=0x1){const _0xcb9e78=_0x14c5a7;return napCatCore[_0xcb9e78(0xf5)][_0xcb9e78(0x128)]()['setBuddyProfileLike']({'friendUid':_0x447116,'sourceId':0x47,'doLikeCount':_0x74f81,'doLikeTollCount':0x0});}static async[_0x14c5a7(0xf8)](_0x10fe8d){const _0x458bf5=_0x14c5a7,_0x2d5e72=await napCatCore['session']['getProfileService']()[_0x458bf5(0x129)](_0x10fe8d);return{'result':_0x2d5e72?.[_0x458bf5(0x107)],'errMsg':_0x2d5e72?.['errMsg']};}static async[_0x14c5a7(0x100)](){}static async[_0x14c5a7(0x115)](_0x13012f){}static async['getUserDetailInfo'](_0x2578de){const _0x3cb668=_0x14c5a7,_0x4f2883={'uEFAh':function(_0x3de4b9,_0x171bbc){return _0x3de4b9(_0x171bbc);},'VCQSN':'getUserDetailInfo\x20timeout','pvYjw':function(_0x41a6b7,_0x5b016e){return _0x41a6b7===_0x5b016e;},'uYuUK':function(_0x47857e){return _0x47857e();}},_0x435968=napCatCore[_0x3cb668(0xf5)][_0x3cb668(0xff)]();return new Promise((_0x13c618,_0x43630c)=>{const _0x11a561=_0x3cb668,_0x3fcb2c={'dQknn':function(_0x5aeedf,_0x942a76){const _0x36d6eb=_0x4146;return _0x4f2883[_0x36d6eb(0x11f)](_0x5aeedf,_0x942a76);},'ehiMZ':function(_0x39014a,_0x372f17){return _0x4f2883['uEFAh'](_0x39014a,_0x372f17);}},_0x248316=_0x4f2883[_0x11a561(0xf9)](randomUUID);let _0x3738e3=![],_0x2587bd=undefined,_0x33dfaf=!![];setTimeout(()=>{const _0x2f528f=_0x11a561;!_0x3738e3&&(_0x2587bd?_0x4f2883[_0x2f528f(0x10b)](_0x13c618,_0x2587bd):_0x43630c(_0x4f2883[_0x2f528f(0x124)])),userDetailHandlers['delete'](_0x248316);},0x1388),userDetailHandlers['set'](_0x248316,_0x17155e=>{const _0x10b005=_0x11a561;_0x3fcb2c[_0x10b005(0x12a)](_0x17155e[_0x10b005(0xfe)],_0x2578de)&&(_0x33dfaf?(_0x2587bd=_0x17155e,_0x33dfaf=![]):(_0x3738e3=!![],_0x3fcb2c[_0x10b005(0xde)](_0x13c618,_0x17155e)));}),_0x435968[_0x11a561(0x12e)](_0x2578de,[0x0])[_0x11a561(0xd8)](_0x210aad=>{});});}static async['modifySelfProfile'](_0x19b9fd){const _0x260fff=_0x14c5a7;return napCatCore[_0x260fff(0xf5)][_0x260fff(0xff)]()[_0x260fff(0xfd)](_0x19b9fd);}static async[_0x14c5a7(0x11b)](_0x141aca,_0xfad02f=!![]){const _0x4eb0bd=_0x14c5a7,_0x47ac72={'GvVoC':function(_0x1ed0da,_0x32f4a8){return _0x1ed0da||_0x32f4a8;},'TgyCV':function(_0x5f287f,_0x10dfe2){return _0x5f287f-_0x10dfe2;},'jhHEM':function(_0x3ece97,_0x3fc919){return _0x3ece97*_0x3fc919;},'oSLaz':function(_0xbab146,_0x30cfc0){return _0xbab146>_0x30cfc0;},'fIJRv':function(_0x2f628a,_0x3a7f0d){return _0x2f628a===_0x3a7f0d;},'Kbvqs':_0x4eb0bd(0x11d)},_0x14c00d=[],_0x1b38ee={};for(const _0x392c31 in _0x141aca){const _0x2da3a9=Credentials[_0x4eb0bd(0xda)]['get'](_0x141aca[_0x392c31]),_0x3705f6=Credentials[_0x4eb0bd(0x117)]['get'](_0x141aca[_0x392c31]);_0x47ac72[_0x4eb0bd(0xeb)](!_0x2da3a9,!_0x3705f6)||_0x47ac72[_0x4eb0bd(0x106)](Date['now'](),_0x3705f6)>_0x47ac72[_0x4eb0bd(0xf3)](0x708,0x3e8)||!_0xfad02f?_0x14c00d[_0x4eb0bd(0xfb)](_0x141aca[_0x392c31]):_0x1b38ee[_0x141aca[_0x392c31]]=_0x2da3a9;}let _0x510041={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x47ac72[_0x4eb0bd(0xe4)](_0x14c00d[_0x4eb0bd(0x122)],0x0)&&(_0x510041=await napCatCore[_0x4eb0bd(0xf5)][_0x4eb0bd(0x121)]()[_0x4eb0bd(0xdc)](_0x14c00d,!![]));const _0x1a0fc2=_0x510041[_0x4eb0bd(0x116)];for(const _0x5a2aaf of _0x1a0fc2['entries']()){Credentials[_0x4eb0bd(0xda)][_0x4eb0bd(0xfc)](_0x5a2aaf[0x0],_0x5a2aaf[0x1]),Credentials[_0x4eb0bd(0x117)][_0x4eb0bd(0xfc)](_0x5a2aaf[0x0],Date[_0x4eb0bd(0x126)]());}const _0x356509=Object[_0x4eb0bd(0xf4)](Object[_0x4eb0bd(0xe3)](_0x1a0fc2),_0x1b38ee);if(_0x47ac72[_0x4eb0bd(0xd7)](_0x510041['result'],0x0))return _0x356509;else logError(_0x47ac72[_0x4eb0bd(0x123)],_0x510041[_0x4eb0bd(0x119)]);return{};}static async['getRobotUinRange'](){const _0xe255ff=_0x14c5a7,_0x16a19a=await napCatCore[_0xe255ff(0xf5)][_0xe255ff(0xed)]()[_0xe255ff(0x103)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x16a19a?.[_0xe255ff(0xe0)]?.[_0xe255ff(0xe1)];}static async[_0x14c5a7(0xe8)](){const _0x12f148=_0x14c5a7,_0x1a04c3={'MNsBt':function(_0xa68986,_0x118b50){return _0xa68986+_0x118b50;},'UVuRv':function(_0x411903,_0x2c35a4){return _0x411903+_0x2c35a4;},'YcRlO':_0x12f148(0x10a),'TGtHe':'&clientkey=','NgGxt':_0x12f148(0xe2),'kBIbx':_0x12f148(0x113),'habmw':function(_0x5f3b95,_0x3997da,_0x65197a){return _0x5f3b95(_0x3997da,_0x65197a);},'mxqYQ':_0x12f148(0x125)},_0x30e4da=_0x1a04c3[_0x12f148(0x112)](_0x1a04c3[_0x12f148(0x112)](_0x1a04c3[_0x12f148(0x112)](_0x1a04c3[_0x12f148(0xf1)](_0x1a04c3[_0x12f148(0xf6)],selfInfo[_0x12f148(0xec)]),_0x1a04c3[_0x12f148(0x10c)])+Credentials[_0x12f148(0x108)],_0x1a04c3['NgGxt'])+selfInfo[_0x12f148(0xec)],_0x1a04c3['kBIbx']);let _0x5daacd={};try{_0x5daacd=await RequestUtil[_0x12f148(0x12d)](_0x30e4da);}catch(_0x3015d8){_0x1a04c3['habmw'](logDebug,_0x1a04c3[_0x12f148(0x12b)],_0x3015d8),_0x5daacd={};}return _0x5daacd;}static async['getSkey'](_0x4b5860=!![]){const _0x6c7b84=_0x14c5a7,_0x1d1ca2={'XbsXA':function(_0x5450ed,_0x5d0df2){return _0x5450ed==_0x5d0df2;},'FeoEP':function(_0x26a6e6,_0xf1ceb6){return _0x26a6e6>_0xf1ceb6;},'GNnZX':function(_0x53e005,_0x21f232){return _0x53e005*_0x21f232;},'JuzYd':function(_0x47e9b6,_0x2e9e4c){return _0x47e9b6!==_0x2e9e4c;},'PkZvf':function(_0x542059,_0x206d03){return _0x542059+_0x206d03;},'wCvoY':_0x6c7b84(0xee),'ZCAyl':_0x6c7b84(0x114),'kxGMg':function(_0x58dc94,_0x5ad70f,_0x45d26b){return _0x58dc94(_0x5ad70f,_0x45d26b);},'RapFb':'请求获取Skey时失败'};try{if(_0x1d1ca2['XbsXA'](Credentials['CreatTime'],0x0)||_0x1d1ca2['FeoEP'](Date['now']()-Credentials[_0x6c7b84(0x109)],_0x1d1ca2[_0x6c7b84(0x10d)](0x3e8,0xe10))||!_0x4b5860){const _0xe2a241=await napCatCore[_0x6c7b84(0xf5)]['getTicketService']()['forceFetchClientKey']('');if(_0x1d1ca2[_0x6c7b84(0xe5)](_0xe2a241['result'],0x0))return'';const _0x1d07f2=_0xe2a241[_0x6c7b84(0x105)],_0x63f650=_0xe2a241[_0x6c7b84(0xf7)],_0x213769=_0x1d1ca2['PkZvf'](_0x1d1ca2[_0x6c7b84(0x104)](_0x1d1ca2[_0x6c7b84(0x104)](_0x1d1ca2[_0x6c7b84(0x104)](_0x1d1ca2[_0x6c7b84(0x104)](_0x6c7b84(0x10a),selfInfo[_0x6c7b84(0xec)]),_0x1d1ca2[_0x6c7b84(0x127)]),_0x1d07f2),_0x1d1ca2[_0x6c7b84(0xdf)]),_0x63f650);let _0x2e835c={};try{_0x2e835c=await RequestUtil[_0x6c7b84(0x12d)](_0x213769);}catch(_0x4403be){_0x1d1ca2['kxGMg'](logDebug,_0x1d1ca2[_0x6c7b84(0xd9)],_0x4403be),_0x2e835c={};}const _0x2bb894=_0x2e835c[_0x6c7b84(0x130)];if(!_0x2bb894)return'';return Credentials['ClientKey']=_0x1d07f2,Credentials[_0x6c7b84(0xe9)]=_0x63f650,Credentials[_0x6c7b84(0x109)]=Date[_0x6c7b84(0x126)](),Credentials['Skey']=_0x2bb894,_0x2bb894;}return Credentials[_0x6c7b84(0x111)];}catch(_0x1f9fcb){}return undefined;}static async[_0x14c5a7(0x11a)](_0x394feb){const _0x543f12=_0x14c5a7,_0x11cd10={'OyoKe':_0x543f12(0x10e)};let _0x50fb01=await NTEventDispatch[_0x543f12(0x102)](_0x11cd10['OyoKe'],0x1388,[_0x394feb]);return _0x50fb01[_0x543f12(0x12c)][_0x543f12(0x10f)](_0x394feb);}static async['getUinByUid'](_0x33dee4){const _0xad42c9=_0x14c5a7;if(!_0x33dee4)return'';let _0x44c548=await NTEventDispatch[_0xad42c9(0x102)](_0xad42c9(0xe6),0x1388,[_0x33dee4]);return _0x44c548[_0xad42c9(0x12f)]['get'](_0x33dee4);}static async['getUserDetailInfoByUin'](_0x1dc9e0){const _0x368704=_0x14c5a7;return NTEventDispatch['CallNoListenerEvent'](_0x368704(0xf0),0x1388,_0x1dc9e0);}} \ 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 692c1d08..d4b4ba8d 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -function _0x23e1(_0x2cdd28,_0x43189a){const _0x3bc5e0=_0x3bc5();return _0x23e1=function(_0x23e122,_0x461574){_0x23e122=_0x23e122-0x181;let _0x5cf09a=_0x3bc5e0[_0x23e122];return _0x5cf09a;},_0x23e1(_0x2cdd28,_0x43189a);}const _0xfc9634=_0x23e1;function _0x3bc5(){const _0x288d33=['zoyao','14296nWbDgi','189NxRDHw','getSkey','xnfdd','SkJWT','moQwa','VKeRb','HnnJF','caahL','PAXKr','YiKwj','IYxJN','retcode','trim','oFOQE','XrLpk','&end=','AasPo','1357696qsQedk','talkative','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','p_skey=','AqiiJ','dycWU','获取当前群荣耀失败','getGroupEssenceMsg','JtQQb','3SCZRGZ','获取龙王信息失败','&bkn=','GDtLV','LGGMs','gvUkq','getPSkey','3166115EAzMFe','siXtU','gFaCk','toString','https://qun.qq.com/interactive/honorlist?gc=','GqpJs','getGroupHonorInfo','KgOKe','split','legend_list','&group_code=','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','errcode','BBWVD','PLmVH','TUeSX','description','oaIUo','StYcN','uQPth','DIIbN','fmNjE','get','avwlp','&page_limit=20','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','Vlwzv','SZcpa','desc','qmWrW','udwjf','&qid=','uin','oEaNJ','mems','xRfvg','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','setGroupNotice','616780yEmJIJ','RZpxn','niFPD','avatar','WGHyE','all','YCgmB','legend','emotion_list','talkative_list','auCEt','TALKACTIVE','now','match','GroupData','Wottt','count','qHxbB','541882pZnMpB','charCodeAt','VPtZa','JhgDA','MqSOU','HttpGetJson',';\x20p_uin=o','KlNvs','4718777vvQYcV','talkativeList','&page_start=','emotion','push','获取快乐源泉失败','tYfjC','GET','2064336DAKVCS','EMOTION','POST','NqqEt','&type=',';\x20skey=','CTBCl','length','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','name','HkFkB','MZrUu','performer','nGqvh','HttpGetText','ebChm','getGroupMembers','GvbUz',';\x20uin=o','qun.qq.com','genBkn','dlNxZ','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','ATplc','UlTld','oASpv','qzqcx','Atumy','XfVlQ','0|4|2|5|1|3','Mkaxj','zqTMH','xTpto','ALL','PERFROMER','set','strong_newbie','qid=','ARlOU','laWPE','IeVys','performer_list','GroupTime','&text=','XlwAp','cvBpp','MYLmn','JRYLu','LEGEND','MXWow','icOiw'];_0x3bc5=function(){return _0x288d33;};return _0x3bc5();}(function(_0x3072d3,_0x4f2f5a){const _0x2e615f=_0x23e1,_0x2f218f=_0x3072d3();while(!![]){try{const _0x4e1be1=parseInt(_0x2e615f(0x20f))/0x1+-parseInt(_0x2e615f(0x1c7))/0x2+-parseInt(_0x2e615f(0x1d0))/0x3*(-parseInt(_0x2e615f(0x1fd))/0x4)+parseInt(_0x2e615f(0x1d7))/0x5+parseInt(_0x2e615f(0x181))/0x6+-parseInt(_0x2e615f(0x217))/0x7+parseInt(_0x2e615f(0x1b5))/0x8*(parseInt(_0x2e615f(0x1b6))/0x9);if(_0x4e1be1===_0x4f2f5a)break;else _0x2f218f['push'](_0x2f218f['shift']());}catch(_0x1bfe4e){_0x2f218f['push'](_0x2f218f['shift']());}}}(_0x3bc5,0x57624));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(_0x10babd){const _0x30eba9=_0x23e1,_0x116e5f={'KgOKe':'STORONGE_NEWBI','SZcpa':_0x30eba9(0x1a5),'qzqcx':_0x30eba9(0x18d),'fDJGt':_0x30eba9(0x21a),'BBWVD':_0x30eba9(0x1c8),'GczZN':_0x30eba9(0x1b1),'KlNvs':_0x30eba9(0x204)},_0x1fac32=_0x30eba9(0x19e)[_0x30eba9(0x1df)]('|');let _0x40be88=0x0;while(!![]){switch(_0x1fac32[_0x40be88++]){case'0':_0x10babd[_0x30eba9(0x1a2)]=_0x30eba9(0x202);continue;case'1':_0x10babd[_0x116e5f[_0x30eba9(0x1de)]]=_0x116e5f[_0x30eba9(0x1f2)];continue;case'2':_0x10babd[_0x30eba9(0x1a3)]=_0x116e5f[_0x30eba9(0x19b)];continue;case'3':_0x10babd[_0x30eba9(0x182)]=_0x116e5f['fDJGt'];continue;case'4':_0x10babd[_0x30eba9(0x208)]=_0x116e5f[_0x30eba9(0x1e4)];continue;case'5':_0x10babd[_0x116e5f['GczZN']]=_0x116e5f[_0x30eba9(0x216)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0xfc9634(0x1ce)](_0x342f26,_0x51874d){const _0x3148d8=_0xfc9634,_0x2f301a={'qHxbB':_0x3148d8(0x194),'dlNxZ':function(_0x11ae76,_0x512c0d){return _0x11ae76+_0x512c0d;},'DIIbN':function(_0x2215d7,_0x48554c){return _0x2215d7+_0x48554c;},'VKeRb':function(_0x3177c6,_0x3f83fb){return _0x3177c6+_0x3f83fb;},'jzsqg':_0x3148d8(0x1ca),'IYxJN':_0x3148d8(0x193),'UlTld':function(_0x1b3f77,_0x513135){return _0x1b3f77||_0x513135;},'NqqEt':function(_0x21cee5,_0x9c2698){return _0x21cee5+_0x9c2698;},'qmWrW':_0x3148d8(0x1e1),'Vlwzv':_0x3148d8(0x219),'jPhWU':_0x3148d8(0x1ef)},_0x5a28fb=(await NTQQUserApi[_0x3148d8(0x1d6)]([_0x2f301a[_0x3148d8(0x20e)]]))[_0x2f301a['qHxbB']],_0x1e5bc5=await NTQQUserApi[_0x3148d8(0x1b7)](),_0x283d=_0x2f301a[_0x3148d8(0x196)](_0x2f301a[_0x3148d8(0x1eb)](_0x2f301a[_0x3148d8(0x1bb)](_0x2f301a[_0x3148d8(0x196)](_0x2f301a['jzsqg']+_0x5a28fb,_0x3148d8(0x186)),_0x1e5bc5)+';\x20p_uin=o'+selfInfo[_0x3148d8(0x1f7)],_0x2f301a[_0x3148d8(0x1c0)]),selfInfo[_0x3148d8(0x1f7)]);if(_0x2f301a[_0x3148d8(0x199)](!_0x1e5bc5,!_0x5a28fb))return undefined;const _0x3a3616=WebApi[_0x3148d8(0x195)](_0x1e5bc5),_0x1c5777=_0x2f301a[_0x3148d8(0x184)](_0x2f301a[_0x3148d8(0x1eb)](_0x2f301a[_0x3148d8(0x196)](_0x2f301a['dlNxZ'](_0x2f301a[_0x3148d8(0x1eb)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x3a3616),_0x2f301a[_0x3148d8(0x1f4)])+_0x342f26,_0x2f301a[_0x3148d8(0x1f1)]),_0x51874d),_0x2f301a['jPhWU']);let _0x4ef546;try{_0x4ef546=await RequestUtil[_0x3148d8(0x214)](_0x1c5777,_0x3148d8(0x21e),'',{'Cookie':_0x283d});}catch{return undefined;}if(_0x4ef546[_0x3148d8(0x1c1)]!==0x0)return undefined;return _0x4ef546;}static async[_0xfc9634(0x191)](_0x25e4b2,_0x15fd14=!![]){const _0x5bba2d=_0xfc9634,_0x3f9aa8={'VPtZa':function(_0x43ea96,_0xa044ad){return _0x43ea96>_0xa044ad;},'Wottt':function(_0x1e8e2f,_0x6fba1c){return _0x1e8e2f-_0x6fba1c;},'TUeSX':_0x5bba2d(0x194),'WGHyE':function(_0x2c4bfc,_0x26797d){return _0x2c4bfc+_0x26797d;},'JvtgI':function(_0x9533fd,_0x771baf){return _0x9533fd+_0x771baf;},'GDtLV':_0x5bba2d(0x1ca),'eOUsm':_0x5bba2d(0x186),'ErikS':_0x5bba2d(0x215),'GvbUz':function(_0x2d42b1,_0x56ecb3){return _0x2d42b1||_0x56ecb3;},'WgpRS':function(_0x462774,_0x346ad5){return _0x462774+_0x346ad5;},'nGqvh':function(_0x287d2e,_0x47ad6d){return _0x287d2e+_0x47ad6d;},'XfVlQ':_0x5bba2d(0x183),'uQPth':function(_0x20c77a,_0xb4afb8){return _0x20c77a/_0xb4afb8;},'SzZma':function(_0x399f50,_0x460103){return _0x399f50<=_0x460103;},'gvUkq':function(_0x5a5da8,_0x5f3a89){return _0x5a5da8+_0x5f3a89;},'RZpxn':function(_0x1ed720,_0x2a0b9b){return _0x1ed720+_0x2a0b9b;},'gFaCk':function(_0x4cf14b,_0x44b838){return _0x4cf14b+_0x44b838;},'XrLpk':function(_0x2f97fa,_0x3f39f7){return _0x2f97fa+_0x3f39f7;},'SkJWT':_0x5bba2d(0x1fb),'MYLmn':function(_0x4c87eb,_0x5b683a){return _0x4c87eb*_0x5b683a;},'fmNjE':function(_0x6294ca,_0x4bca28){return _0x6294ca-_0x4bca28;},'niFPD':_0x5bba2d(0x1c5),'GqpJs':'&sort=1&gc=','ucnrR':function(_0x27b7df,_0x415b98){return _0x27b7df!==_0x415b98;}};let _0x59cb05=new Array();try{let _0x3c38a9=WebGroupData[_0x5bba2d(0x20b)][_0x5bba2d(0x1ed)](_0x25e4b2),_0x312013=WebGroupData[_0x5bba2d(0x1ab)][_0x5bba2d(0x1ed)](_0x25e4b2);if(!_0x312013||_0x3f9aa8[_0x5bba2d(0x211)](_0x3f9aa8[_0x5bba2d(0x20c)](Date[_0x5bba2d(0x209)](),_0x312013),0x708*0x3e8)||!_0x15fd14){const _0x1fee7a=(await NTQQUserApi[_0x5bba2d(0x1d6)]([_0x3f9aa8[_0x5bba2d(0x1e6)]]))[_0x3f9aa8['TUeSX']],_0x497a8e=await NTQQUserApi[_0x5bba2d(0x1b7)](),_0x5f46a4=_0x3f9aa8[_0x5bba2d(0x201)](_0x3f9aa8[_0x5bba2d(0x201)](_0x3f9aa8[_0x5bba2d(0x201)](_0x3f9aa8['JvtgI'](_0x3f9aa8['JvtgI'](_0x3f9aa8[_0x5bba2d(0x1d3)],_0x1fee7a),_0x3f9aa8['eOUsm']),_0x497a8e),_0x3f9aa8['ErikS']),selfInfo[_0x5bba2d(0x1f7)]);if(_0x3f9aa8[_0x5bba2d(0x192)](!_0x497a8e,!_0x1fee7a))return _0x59cb05;const _0x39e4ea=WebApi[_0x5bba2d(0x195)](_0x497a8e),_0x213a2a=[],_0x281ddb=await RequestUtil[_0x5bba2d(0x214)](_0x3f9aa8['WgpRS'](_0x3f9aa8[_0x5bba2d(0x18e)](_0x5bba2d(0x1c9),_0x25e4b2),_0x5bba2d(0x1d2))+_0x39e4ea,_0x3f9aa8[_0x5bba2d(0x19d)],'',{'Cookie':_0x5f46a4});if(!_0x281ddb?.[_0x5bba2d(0x20d)]||_0x281ddb?.[_0x5bba2d(0x1e3)]!==0x0||!_0x281ddb?.['mems'])return[];else for(const _0x1cbee5 in _0x281ddb[_0x5bba2d(0x1f9)]){_0x59cb05['push'](_0x281ddb[_0x5bba2d(0x1f9)][_0x1cbee5]);}const _0x5c4f4c=Math['ceil'](_0x3f9aa8[_0x5bba2d(0x1ea)](_0x281ddb[_0x5bba2d(0x20d)],0x28));for(let _0x279017=0x2;_0x3f9aa8['SzZma'](_0x279017,_0x5c4f4c);_0x279017++){const _0x5a9a2a=RequestUtil['HttpGetJson'](_0x3f9aa8['nGqvh'](_0x3f9aa8[_0x5bba2d(0x18e)](_0x3f9aa8[_0x5bba2d(0x1d5)](_0x3f9aa8[_0x5bba2d(0x1fe)](_0x3f9aa8[_0x5bba2d(0x1d9)](_0x3f9aa8[_0x5bba2d(0x1c4)](_0x3f9aa8[_0x5bba2d(0x1b9)],_0x3f9aa8[_0x5bba2d(0x1af)](_0x3f9aa8[_0x5bba2d(0x1ec)](_0x279017,0x1),0x28))+_0x3f9aa8[_0x5bba2d(0x1ff)],_0x279017*0x28),_0x3f9aa8[_0x5bba2d(0x1dc)]),_0x25e4b2),_0x5bba2d(0x1d2)),_0x39e4ea),_0x3f9aa8['XfVlQ'],'',{'Cookie':_0x5f46a4});_0x213a2a[_0x5bba2d(0x21b)](_0x5a9a2a);}for(let _0x284184=0x1;_0x3f9aa8['SzZma'](_0x284184,_0x5c4f4c);_0x284184++){const _0x23bcaf=await _0x213a2a[_0x284184];if(!_0x23bcaf?.[_0x5bba2d(0x20d)]||_0x3f9aa8['ucnrR'](_0x23bcaf?.[_0x5bba2d(0x1e3)],0x0)||!_0x23bcaf?.['mems'])continue;for(const _0x301311 in _0x23bcaf[_0x5bba2d(0x1f9)]){_0x59cb05[_0x5bba2d(0x21b)](_0x23bcaf['mems'][_0x301311]);}}WebGroupData['GroupData'][_0x5bba2d(0x1a4)](_0x25e4b2,_0x59cb05),WebGroupData['GroupTime'][_0x5bba2d(0x1a4)](_0x25e4b2,Date[_0x5bba2d(0x209)]());}else _0x59cb05=_0x3c38a9;}catch{return _0x59cb05;}return _0x59cb05;}static async[_0xfc9634(0x1fc)](_0x35ba20,_0x41e3c9=''){const _0x4d2367=_0xfc9634,_0x145185={'caahL':'qun.qq.com','udwjf':function(_0xbfb134,_0x20ade5){return _0xbfb134+_0x20ade5;},'PAXKr':_0x4d2367(0x1ca),'Mkaxj':function(_0x248341,_0x389658){return _0x248341||_0x389658;},'xRfvg':function(_0x30513e,_0x48b186){return _0x30513e+_0x48b186;},'anemr':function(_0x36c8cb,_0x3a3bf5){return _0x36c8cb+_0x3a3bf5;},'xTpto':function(_0xeca7da,_0x5021de){return _0xeca7da+_0x5021de;},'PLmVH':_0x4d2367(0x1a6),'ARlOU':'&bkn=','Atumy':_0x4d2367(0x1ac),'MqSOU':_0x4d2367(0x189),'AqiiJ':function(_0x1c0140,_0x4dde28){return _0x1c0140+_0x4dde28;},'tYfjC':_0x4d2367(0x21e)},_0x3e1319=(await NTQQUserApi[_0x4d2367(0x1d6)]([_0x145185['caahL']]))[_0x145185[_0x4d2367(0x1bd)]],_0x9e60e0=await NTQQUserApi[_0x4d2367(0x1b7)](),_0x3c5db7=_0x145185[_0x4d2367(0x1f5)](_0x145185[_0x4d2367(0x1f5)](_0x145185[_0x4d2367(0x1f5)](_0x145185[_0x4d2367(0x1be)],_0x3e1319)+_0x4d2367(0x186)+_0x9e60e0,_0x4d2367(0x215)),selfInfo[_0x4d2367(0x1f7)]);let _0x2f6883=undefined;if(_0x145185[_0x4d2367(0x19f)](!_0x9e60e0,!_0x3e1319))return undefined;const _0xd5b6ac=WebApi[_0x4d2367(0x195)](_0x9e60e0),_0x3df3b1=_0x145185[_0x4d2367(0x1fa)](_0x145185[_0x4d2367(0x1f5)](_0x145185['anemr'](_0x145185[_0x4d2367(0x1a1)](_0x145185[_0x4d2367(0x1e5)]+_0x35ba20,_0x145185[_0x4d2367(0x1a7)]),_0xd5b6ac)+_0x145185[_0x4d2367(0x19c)],_0x41e3c9),_0x145185[_0x4d2367(0x213)]),_0x10cc03=_0x145185[_0x4d2367(0x1cb)](_0x4d2367(0x1e2),_0xd5b6ac);try{return _0x2f6883=await RequestUtil[_0x4d2367(0x214)](_0x10cc03,_0x145185[_0x4d2367(0x21d)],'',{'Cookie':_0x3c5db7}),_0x2f6883;}catch(_0x576ed1){return undefined;}return undefined;}static async['getGrouptNotice'](_0xb9a98f){const _0x299d49=_0xfc9634,_0x444f86={'xnfdd':_0x299d49(0x194),'YiKwj':function(_0x1196ac,_0x37c5b3){return _0x1196ac+_0x37c5b3;},'auCEt':function(_0x3629f0,_0x6aabdb){return _0x3629f0+_0x6aabdb;},'Asotc':'p_skey=','qYfSL':function(_0x15f9a8,_0x8378ce){return _0x15f9a8||_0x8378ce;},'oaIUo':function(_0x16ebfc,_0xde6fe9){return _0x16ebfc+_0xde6fe9;},'oEaNJ':_0x299d49(0x197),'RSBhO':_0x299d49(0x1f6),'uUprL':_0x299d49(0x1f0),'moQwa':_0x299d49(0x21e),'fLjbh':function(_0x433072,_0x4a57d6){return _0x433072!==_0x4a57d6;}},_0x87727a=(await NTQQUserApi['getPSkey']([_0x444f86[_0x299d49(0x1b8)]]))[_0x444f86[_0x299d49(0x1b8)]],_0x51b9a1=await NTQQUserApi[_0x299d49(0x1b7)](),_0x1d536a=_0x444f86[_0x299d49(0x1bf)](_0x444f86[_0x299d49(0x207)](_0x444f86[_0x299d49(0x1bf)](_0x444f86[_0x299d49(0x207)](_0x444f86['Asotc'],_0x87727a),_0x299d49(0x186))+_0x51b9a1,_0x299d49(0x215)),selfInfo[_0x299d49(0x1f7)]);let _0x128b49=undefined;if(_0x444f86['qYfSL'](!_0x51b9a1,!_0x87727a))return undefined;const _0x54a403=WebApi[_0x299d49(0x195)](_0x51b9a1),_0x24fa69=_0x444f86['auCEt'](_0x444f86['YiKwj'](_0x444f86[_0x299d49(0x1e8)](_0x444f86[_0x299d49(0x1f8)],_0x54a403)+_0x444f86['RSBhO'],_0xb9a98f),_0x444f86['uUprL']);try{_0x128b49=await RequestUtil[_0x299d49(0x214)](_0x24fa69,_0x444f86[_0x299d49(0x1ba)],'',{'Cookie':_0x1d536a});if(_0x444f86['fLjbh'](_0x128b49?.['ec'],0x0))return undefined;return _0x128b49;}catch(_0x58f08f){return undefined;}return undefined;}static[_0xfc9634(0x195)](_0x166182){const _0x441759=_0xfc9634,_0x3a0b8f={'JRYLu':function(_0x5be52a,_0x419df3){return _0x5be52a||_0x419df3;},'StYcN':function(_0x114198,_0x52c5bb){return _0x114198<_0x52c5bb;},'cvBpp':function(_0x5d0da8,_0x2df7f2){return _0x5d0da8+_0x2df7f2;},'mQbSc':function(_0x135f95,_0x4096ee){return _0x135f95&_0x4096ee;}};_0x166182=_0x3a0b8f[_0x441759(0x1b0)](_0x166182,'');let _0x13dcd8=0x1505;for(let _0x4a62fa=0x0;_0x3a0b8f[_0x441759(0x1e9)](_0x4a62fa,_0x166182[_0x441759(0x188)]);_0x4a62fa++){const _0x5def57=_0x166182[_0x441759(0x210)](_0x4a62fa);_0x13dcd8=_0x3a0b8f[_0x441759(0x1ae)](_0x3a0b8f[_0x441759(0x1ae)](_0x13dcd8,_0x13dcd8<<0x5),_0x5def57);}return _0x3a0b8f['mQbSc'](_0x13dcd8,0x7fffffff)['toString']();}static async[_0xfc9634(0x1dd)](_0x37730b,_0x15b2d2){const _0x284dee=_0xfc9634,_0x403d2f={'LGGMs':function(_0x4bea7d,_0x127848){return _0x4bea7d+_0x127848;},'oFOQE':_0x284dee(0x1db),'zoyao':'GET','hgKGw':function(_0x5ca578,_0x208952,_0x5c0a1e,_0x2995f8){return _0x5ca578(_0x208952,_0x5c0a1e,_0x2995f8);},'LBjly':_0x284dee(0x1cd),'HkFkB':_0x284dee(0x194),'dycWU':function(_0xae46a0,_0xa1936f){return _0xae46a0+_0xa1936f;},'oASpv':function(_0xb3f683,_0x3f977a){return _0xb3f683+_0x3f977a;},'siXtU':function(_0x298813,_0x516054){return _0x298813+_0x516054;},'laWPE':_0x284dee(0x1ca),'MXWow':_0x284dee(0x186),'YCgmB':_0x284dee(0x215),'JtQQb':_0x284dee(0x193),'icOiw':function(_0x37beac,_0x391f58){return _0x37beac===_0x391f58;},'CTBCl':function(_0x509c64,_0x552f63,_0x439c30){return _0x509c64(_0x552f63,_0x439c30);},'ebChm':_0x284dee(0x1d1),'MZrUu':function(_0x5b707e,_0x98c265){return _0x5b707e(_0x98c265);},'AasPo':function(_0x5265e8,_0x3ee4be){return _0x5265e8===_0x3ee4be;},'Ryjto':'获取群聊之火失败','IeVys':function(_0x2cbd98,_0x44e825){return _0x2cbd98===_0x44e825;},'avwlp':function(_0x1b9942,_0x209ade){return _0x1b9942===_0x209ade;},'zqTMH':function(_0x5c482e,_0x2a830d,_0x4f6de5){return _0x5c482e(_0x2a830d,_0x4f6de5);},'HnnJF':'获取群聊炽焰失败','JhgDA':function(_0x1289f5,_0x2f0f53,_0x16a445){return _0x1289f5(_0x2f0f53,_0x16a445);},'dyaYo':function(_0x402d1b,_0x2200f6){return _0x402d1b===_0x2200f6;},'ATplc':function(_0x240677,_0xa8fe34,_0x12af6a){return _0x240677(_0xa8fe34,_0x12af6a);},'XlwAp':_0x284dee(0x21c),'lALBc':function(_0x4d377d,_0x98ad8b){return _0x4d377d===_0x98ad8b;},'mxhFn':function(_0x428bf9,_0x5e7c65){return _0x428bf9===_0x5e7c65;}},_0x4a5f39=(await NTQQUserApi['getPSkey']([_0x403d2f['HkFkB']]))[_0x403d2f[_0x284dee(0x18b)]],_0x188b8e=await NTQQUserApi['getSkey']();if(!_0x188b8e||!_0x4a5f39)return undefined;async function _0x1a8407(_0x5c5976,_0x5ad2df){const _0x4613aa=_0x284dee;let _0x5dced0=_0x403d2f[_0x4613aa(0x1d4)](_0x403d2f[_0x4613aa(0x1d4)](_0x403d2f[_0x4613aa(0x1d4)](_0x403d2f[_0x4613aa(0x1c3)],_0x5c5976),_0x4613aa(0x185)),_0x5ad2df[_0x4613aa(0x1da)]()),_0x37a421='',_0x4b0a93;try{_0x37a421=await RequestUtil[_0x4613aa(0x18f)](_0x5dced0,_0x403d2f[_0x4613aa(0x1b4)],'',{'Cookie':_0x56b762});const _0x3e9151=_0x37a421[_0x4613aa(0x20a)](/window\.__INITIAL_STATE__=(.*?);/);return _0x3e9151&&(_0x4b0a93=JSON['parse'](_0x3e9151[0x1][_0x4613aa(0x1c2)]())),_0x5ad2df===0x1?_0x4b0a93?.[_0x4613aa(0x218)]:_0x4b0a93?.['actorList'];}catch(_0x152494){_0x403d2f['hgKGw'](logDebug,_0x403d2f['LBjly'],_0x5dced0,_0x152494);}return undefined;}let _0x20f9a0={'group_id':_0x37730b};const _0x56b762=_0x403d2f[_0x284dee(0x1cc)](_0x403d2f[_0x284dee(0x1d4)](_0x403d2f[_0x284dee(0x19a)](_0x403d2f[_0x284dee(0x19a)](_0x403d2f[_0x284dee(0x19a)](_0x403d2f['LGGMs'](_0x403d2f[_0x284dee(0x1d8)](_0x403d2f[_0x284dee(0x1a8)],_0x4a5f39),_0x403d2f[_0x284dee(0x1b2)]),_0x188b8e),_0x403d2f[_0x284dee(0x203)]),selfInfo[_0x284dee(0x1f7)]),_0x403d2f[_0x284dee(0x1cf)]),selfInfo[_0x284dee(0x1f7)]);if(_0x403d2f[_0x284dee(0x1b3)](_0x15b2d2,WebHonorType[_0x284dee(0x208)])||_0x15b2d2===WebHonorType[_0x284dee(0x1a2)])try{let _0x599725=await _0x403d2f[_0x284dee(0x187)](_0x1a8407,_0x37730b,0x1);if(!_0x599725)throw new Error(_0x403d2f[_0x284dee(0x190)]);_0x20f9a0['current_talkative']={'user_id':_0x599725[0x0]?.[_0x284dee(0x1f7)],'avatar':_0x599725[0x0]?.[_0x284dee(0x200)],'nickname':_0x599725[0x0]?.[_0x284dee(0x18a)],'day_count':0x0,'description':_0x599725[0x0]?.[_0x284dee(0x1f3)]},_0x20f9a0[_0x284dee(0x206)]=[];for(const _0x5c4780 of _0x599725){_0x20f9a0[_0x284dee(0x206)]['push']({'user_id':_0x5c4780?.['uin'],'avatar':_0x5c4780?.['avatar'],'description':_0x5c4780?.[_0x284dee(0x1f3)],'day_count':0x0,'nickname':_0x5c4780?.['name']});}}catch(_0x3a5a4f){_0x403d2f[_0x284dee(0x18c)](logDebug,_0x3a5a4f);}if(_0x403d2f[_0x284dee(0x1c6)](_0x15b2d2,WebHonorType[_0x284dee(0x1a3)])||_0x403d2f[_0x284dee(0x1b3)](_0x15b2d2,WebHonorType[_0x284dee(0x1a2)]))try{let _0x32c68e=await _0x1a8407(_0x37730b,0x2);if(!_0x32c68e)throw new Error(_0x403d2f['Ryjto']);_0x20f9a0[_0x284dee(0x1aa)]=[];for(const _0x4c93e0 of _0x32c68e){_0x20f9a0[_0x284dee(0x1aa)][_0x284dee(0x21b)]({'user_id':_0x4c93e0?.[_0x284dee(0x1f7)],'nickname':_0x4c93e0?.[_0x284dee(0x18a)],'avatar':_0x4c93e0?.[_0x284dee(0x200)],'description':_0x4c93e0?.['desc']});}}catch(_0x328668){_0x403d2f[_0x284dee(0x18c)](logDebug,_0x328668);}if(_0x403d2f[_0x284dee(0x1a9)](_0x15b2d2,WebHonorType[_0x284dee(0x1a3)])||_0x403d2f[_0x284dee(0x1ee)](_0x15b2d2,WebHonorType[_0x284dee(0x1a2)]))try{let _0x2a5a09=await _0x403d2f[_0x284dee(0x1a0)](_0x1a8407,_0x37730b,0x3);if(!_0x2a5a09)throw new Error(_0x403d2f[_0x284dee(0x1bc)]);_0x20f9a0[_0x284dee(0x1e0)]=[];for(const _0x257ae2 of _0x2a5a09){_0x20f9a0[_0x284dee(0x1e0)]['push']({'user_id':_0x257ae2?.[_0x284dee(0x1f7)],'nickname':_0x257ae2?.[_0x284dee(0x18a)],'avatar':_0x257ae2?.['avatar'],'desc':_0x257ae2?.[_0x284dee(0x1e7)]});}}catch(_0x42d825){_0x403d2f[_0x284dee(0x212)](logDebug,_0x403d2f['HnnJF'],_0x42d825);}if(_0x403d2f['dyaYo'](_0x15b2d2,WebHonorType['EMOTION'])||_0x15b2d2===WebHonorType[_0x284dee(0x1a2)])try{let _0x2d53b3=await _0x1a8407(_0x37730b,0x6);if(!_0x2d53b3)throw new Error(_0x284dee(0x21c));_0x20f9a0[_0x284dee(0x205)]=[];for(const _0x383192 of _0x2d53b3){_0x20f9a0[_0x284dee(0x205)][_0x284dee(0x21b)]({'user_id':_0x383192?.[_0x284dee(0x1f7)],'nickname':_0x383192?.[_0x284dee(0x18a)],'avatar':_0x383192?.[_0x284dee(0x200)],'desc':_0x383192?.[_0x284dee(0x1e7)]});}}catch(_0xf7525a){_0x403d2f[_0x284dee(0x198)](logDebug,_0x403d2f[_0x284dee(0x1ad)],_0xf7525a);}return(_0x403d2f['lALBc'](_0x15b2d2,WebHonorType[_0x284dee(0x182)])||_0x403d2f['mxhFn'](_0x15b2d2,WebHonorType[_0x284dee(0x1a2)]))&&(_0x20f9a0['strong_newbie_list']=[]),_0x20f9a0;}} \ No newline at end of file +const _0x40b854=_0x580d;(function(_0x1762c7,_0x316308){const _0x41c67c=_0x580d,_0x2ae9d3=_0x1762c7();while(!![]){try{const _0x3deac=-parseInt(_0x41c67c(0x14d))/0x1*(parseInt(_0x41c67c(0x126))/0x2)+-parseInt(_0x41c67c(0x17f))/0x3+-parseInt(_0x41c67c(0x17e))/0x4+-parseInt(_0x41c67c(0x12a))/0x5*(-parseInt(_0x41c67c(0x14a))/0x6)+parseInt(_0x41c67c(0x178))/0x7+-parseInt(_0x41c67c(0x1a0))/0x8*(parseInt(_0x41c67c(0x158))/0x9)+parseInt(_0x41c67c(0x19f))/0xa;if(_0x3deac===_0x316308)break;else _0x2ae9d3['push'](_0x2ae9d3['shift']());}catch(_0xe619ac){_0x2ae9d3['push'](_0x2ae9d3['shift']());}}}(_0x1f34,0xa006e));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x580d(_0x44aac1,_0x412f23){const _0x1f3467=_0x1f34();return _0x580d=function(_0x580d5f,_0x25602b){_0x580d5f=_0x580d5f-0x119;let _0xb41a11=_0x1f3467[_0x580d5f];return _0xb41a11;},_0x580d(_0x44aac1,_0x412f23);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x1f34(){const _0x3d2cfe=['TALKACTIVE','MEoTi','getGrouptNotice','retcode','McWuf','desc',';\x20uin=o','878zMSKiE','count','ddRVZ','TIXTL','4670545hpNCuh','zZzUh','OEUtc','GOEnA',';\x20skey=','KqVKA','dStLB','MTyqy','WRkIm','push','name','Ajmxg','YAUjA','spuBj','nmlXo','all','eYgpp','getGroupMembers','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','ceil','&type=','IWqdB','获取快乐源泉失败','TUTrQ','ghnqt','get','kTqBL','strong_newbie','avatar','mFbSG','genBkn','EMOTION','6vYtPhB','KHBxs','match','769xnOwPm','LVWRS','uIUOR','ILndR','FgqRI','mEKBw','获取群聊炽焰失败','PERFROMER','AJAiZ','talkative_list','LXKZf','9XqXrCi','vRVjQ','DzXee','eYgxT','GET',';\x20p_uin=o','jHbBr','&bkn=','DKzpx','mems','CBgoQ','AmZgq','&text=','DQKfH','&sort=1&gc=','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','twSpR','&group_code=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','length','erydz','zXYtn','qwjGf','errcode','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','BtesI','sPntU','DLTeH','legend_list','SDEDY','ALL','charCodeAt','2358727ZYMGkD','getGroupEssenceMsg','TZVbB','setGroupNotice','p_skey=','vKTmb','1571108wmwLTM','1987218Olubna','&page_limit=20','HTREr','qid=','PQvaw','aLwHF','parse','tPZFL','performer_list','UJyyq','qQQly','&end=','wUQuX','IxBwQ','TOXnP','XSGzB','&page_start=','qun.qq.com','uin','NTIlO','emotion_list','HttpGetJson','https://qun.qq.com/interactive/honorlist?gc=','ykMcE','getPSkey','UjQtq','bIHdY','bkzPZ','mVNYW','SFXAN','now','trim','9316670DvbViS','1235944goTUpO','ytoCn','nxxrF','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','zbXfi','zqDlO','performer','获取群聊之火失败','WzRAZ','&qid=','set','abfqz','YFSMv','giusH','toString','oUGnn','Cehxb','XnoWs','UDqAm','qgtJb','getGroupHonorInfo','GroupData','getSkey','description'];_0x1f34=function(){return _0x3d2cfe;};return _0x1f34();}export var WebHonorType;(function(_0x151880){const _0x41087f=_0x580d,_0xae77a={'HTREr':'ALL','DbJZz':_0x41087f(0x139),'qgtJb':_0x41087f(0x11f),'wUQuX':'talkative','WRkIm':_0x41087f(0x154),'CPkLj':_0x41087f(0x1a6),'LjZBt':'LEGEND','ePOkV':'legend','bkzPZ':'STORONGE_NEWBI','LPrCV':'EMOTION'};_0x151880[_0xae77a[_0x41087f(0x181)]]=_0xae77a['DbJZz'],_0x151880[_0xae77a[_0x41087f(0x11a)]]=_0xae77a[_0x41087f(0x18b)],_0x151880[_0xae77a[_0x41087f(0x132)]]=_0xae77a['CPkLj'],_0x151880[_0xae77a['LjZBt']]=_0xae77a['ePOkV'],_0x151880[_0xae77a[_0x41087f(0x19a)]]=_0x41087f(0x145),_0x151880[_0xae77a['LPrCV']]='emotion';}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x40b854(0x179)](_0x3e2db0,_0x172c81){const _0x289f13=_0x40b854,_0x4fe2b0={'LBjig':'qun.qq.com','IWqdB':function(_0x4101c6,_0x5693cf){return _0x4101c6+_0x5693cf;},'PQvaw':_0x289f13(0x12e),'CBgoQ':_0x289f13(0x15d),'nmlXo':_0x289f13(0x125),'GURvh':function(_0x3a111f,_0x2bc3d6){return _0x3a111f||_0x2bc3d6;},'erydz':function(_0x413491,_0x521dd5){return _0x413491+_0x521dd5;},'jHbBr':function(_0x2e2595,_0x40339c){return _0x2e2595+_0x40339c;},'TUTrQ':function(_0x2c48a7,_0x4a0540){return _0x2c48a7+_0x4a0540;},'kFPiz':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','vkmQK':_0x289f13(0x18f),'McWuf':'GET'},_0x11f217=(await NTQQUserApi[_0x289f13(0x197)]([_0x4fe2b0['LBjig']]))[_0x289f13(0x190)],_0x2a4c50=await NTQQUserApi[_0x289f13(0x11d)](),_0x496869=_0x4fe2b0[_0x289f13(0x13f)](_0x4fe2b0['IWqdB'](_0x4fe2b0[_0x289f13(0x13f)](_0x4fe2b0['IWqdB']('p_skey=',_0x11f217)+_0x4fe2b0[_0x289f13(0x183)],_0x2a4c50),_0x4fe2b0[_0x289f13(0x162)])+selfInfo[_0x289f13(0x191)]+_0x4fe2b0[_0x289f13(0x138)],selfInfo[_0x289f13(0x191)]);if(_0x4fe2b0['GURvh'](!_0x2a4c50,!_0x11f217))return undefined;const _0xce2710=WebApi[_0x289f13(0x148)](_0x2a4c50),_0x3b7e4d=_0x4fe2b0['erydz'](_0x4fe2b0['IWqdB'](_0x4fe2b0[_0x289f13(0x15e)](_0x4fe2b0[_0x289f13(0x141)](_0x4fe2b0[_0x289f13(0x16c)](_0x4fe2b0['kFPiz'],_0xce2710),_0x289f13(0x169)),_0x3e2db0),_0x4fe2b0['vkmQK'])+_0x172c81,_0x289f13(0x180));let _0x4c6996;try{_0x4c6996=await RequestUtil[_0x289f13(0x194)](_0x3b7e4d,_0x4fe2b0[_0x289f13(0x123)],'',{'Cookie':_0x496869});}catch{return undefined;}if(_0x4c6996[_0x289f13(0x122)]!==0x0)return undefined;return _0x4c6996;}static async[_0x40b854(0x13b)](_0x419442,_0x190135=!![]){const _0x3670d8=_0x40b854,_0x443264={'YKgoq':function(_0x2bdcf5,_0x4150d8){return _0x2bdcf5>_0x4150d8;},'ddRVZ':function(_0x11c4ae,_0x2e94c1){return _0x11c4ae-_0x2e94c1;},'WzRAZ':function(_0x1f15eb,_0x282a49){return _0x1f15eb*_0x282a49;},'DGdtx':_0x3670d8(0x190),'oUGnn':function(_0x3ab731,_0x6f8be4){return _0x3ab731+_0x6f8be4;},'NTIlO':function(_0x1deca7,_0x1cef3d){return _0x1deca7+_0x1cef3d;},'mEKBw':'p_skey=','dHAeY':_0x3670d8(0x12e),'UJyyq':';\x20p_uin=o','TIXTL':function(_0x5b889d,_0x3e3b8b){return _0x5b889d||_0x3e3b8b;},'MTyqy':_0x3670d8(0x13c),'DzXee':'POST','mFbSG':function(_0x70eec6,_0xc2391a){return _0x70eec6!==_0xc2391a;},'giusH':function(_0xe7c2d5,_0x2fb62d){return _0xe7c2d5/_0x2fb62d;},'abfqz':function(_0xd93293,_0x5e983a){return _0xd93293<=_0x5e983a;},'XSGzB':function(_0x9485a3,_0x153805){return _0x9485a3+_0x153805;},'AJAiZ':function(_0x406035,_0x494d6b){return _0x406035+_0x494d6b;},'IxBwQ':function(_0x2ecb00,_0xf64e8c){return _0x2ecb00+_0xf64e8c;},'mVNYW':function(_0x39c0f6,_0x2c7617){return _0x39c0f6*_0x2c7617;},'ykMcE':_0x3670d8(0x18a),'LoyMJ':function(_0x45066f,_0x40d00d){return _0x45066f*_0x40d00d;},'UDqAm':'&bkn='};let _0x4b4f7e=new Array();try{let _0x2cf415=WebGroupData[_0x3670d8(0x11c)]['get'](_0x419442),_0x393b0c=WebGroupData['GroupTime'][_0x3670d8(0x143)](_0x419442);if(!_0x393b0c||_0x443264['YKgoq'](_0x443264[_0x3670d8(0x128)](Date[_0x3670d8(0x19d)](),_0x393b0c),_0x443264[_0x3670d8(0x1a8)](0x708,0x3e8))||!_0x190135){const _0xa0a11c=(await NTQQUserApi[_0x3670d8(0x197)]([_0x443264['DGdtx']]))['qun.qq.com'],_0x722140=await NTQQUserApi['getSkey'](),_0x4ef4dd=_0x443264[_0x3670d8(0x1af)](_0x443264['NTIlO'](_0x443264[_0x3670d8(0x152)],_0xa0a11c)+_0x443264['dHAeY'],_0x722140)+_0x443264[_0x3670d8(0x188)]+selfInfo[_0x3670d8(0x191)];if(_0x443264[_0x3670d8(0x129)](!_0x722140,!_0xa0a11c))return _0x4b4f7e;const _0x18e363=WebApi[_0x3670d8(0x148)](_0x722140),_0x4edc94=[],_0x1dfcb0=await RequestUtil[_0x3670d8(0x194)](_0x443264['NTIlO'](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x131)],_0x419442)+'&bkn=',_0x18e363),_0x443264[_0x3670d8(0x15a)],'',{'Cookie':_0x4ef4dd});if(!_0x1dfcb0?.[_0x3670d8(0x127)]||_0x443264[_0x3670d8(0x147)](_0x1dfcb0?.[_0x3670d8(0x16f)],0x0)||!_0x1dfcb0?.['mems'])return[];else for(const _0x291c0a in _0x1dfcb0[_0x3670d8(0x161)]){_0x4b4f7e[_0x3670d8(0x133)](_0x1dfcb0[_0x3670d8(0x161)][_0x291c0a]);}const _0x14633b=Math[_0x3670d8(0x13d)](_0x443264[_0x3670d8(0x1ad)](_0x1dfcb0[_0x3670d8(0x127)],0x28));for(let _0x3d794d=0x2;_0x443264[_0x3670d8(0x1ab)](_0x3d794d,_0x14633b);_0x3d794d++){const _0xd550d7=RequestUtil[_0x3670d8(0x194)](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x1af)](_0x443264[_0x3670d8(0x18e)](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x155)](_0x443264[_0x3670d8(0x18c)](_0x3670d8(0x170),_0x443264[_0x3670d8(0x19b)](_0x3d794d-0x1,0x28)),_0x443264[_0x3670d8(0x196)]),_0x443264['LoyMJ'](_0x3d794d,0x28)),_0x3670d8(0x166)),_0x419442),_0x443264[_0x3670d8(0x119)]),_0x18e363),_0x443264['DzXee'],'',{'Cookie':_0x4ef4dd});_0x4edc94['push'](_0xd550d7);}for(let _0x5d7f34=0x1;_0x443264[_0x3670d8(0x1ab)](_0x5d7f34,_0x14633b);_0x5d7f34++){const _0x2fe750=await _0x4edc94[_0x5d7f34];if(!_0x2fe750?.['count']||_0x443264[_0x3670d8(0x147)](_0x2fe750?.[_0x3670d8(0x16f)],0x0)||!_0x2fe750?.['mems'])continue;for(const _0x381eab in _0x2fe750[_0x3670d8(0x161)]){_0x4b4f7e[_0x3670d8(0x133)](_0x2fe750[_0x3670d8(0x161)][_0x381eab]);}}WebGroupData['GroupData'][_0x3670d8(0x1aa)](_0x419442,_0x4b4f7e),WebGroupData['GroupTime'][_0x3670d8(0x1aa)](_0x419442,Date[_0x3670d8(0x19d)]());}else _0x4b4f7e=_0x2cf415;}catch{return _0x4b4f7e;}return _0x4b4f7e;}static async[_0x40b854(0x17b)](_0x28ad15,_0xa02cb3=''){const _0x4f7fb0=_0x40b854,_0x1e45d0={'bIHdY':function(_0x2d77a1,_0x6cd213){return _0x2d77a1+_0x6cd213;},'YAUjA':function(_0x2be928,_0x2963c4){return _0x2be928+_0x2963c4;},'TZVbB':function(_0x2ffb87,_0x4e5fd2){return _0x2ffb87+_0x4e5fd2;},'sPntU':function(_0x5a41ba,_0x3ec727){return _0x5a41ba+_0x3ec727;},'LXKZf':_0x4f7fb0(0x17c),'uIUOR':_0x4f7fb0(0x12e),'SFXAN':function(_0x11de04,_0xd593a6){return _0x11de04||_0xd593a6;},'zqDlO':function(_0x1d4259,_0x455170){return _0x1d4259+_0x455170;},'GOEnA':function(_0x26ce5e,_0xcaf90e){return _0x26ce5e+_0xcaf90e;},'qqaHs':_0x4f7fb0(0x182),'KqVKA':_0x4f7fb0(0x15f),'Ajmxg':_0x4f7fb0(0x167),'MEoTi':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','eYgxT':_0x4f7fb0(0x15c)},_0x1eb133=(await NTQQUserApi['getPSkey']([_0x4f7fb0(0x190)]))[_0x4f7fb0(0x190)],_0x2d6a02=await NTQQUserApi[_0x4f7fb0(0x11d)](),_0x2e3860=_0x1e45d0[_0x4f7fb0(0x199)](_0x1e45d0['YAUjA'](_0x1e45d0[_0x4f7fb0(0x136)](_0x1e45d0[_0x4f7fb0(0x17a)](_0x1e45d0[_0x4f7fb0(0x172)](_0x1e45d0[_0x4f7fb0(0x157)],_0x1eb133),_0x1e45d0[_0x4f7fb0(0x14f)]),_0x2d6a02),_0x4f7fb0(0x15d)),selfInfo[_0x4f7fb0(0x191)]);let _0x354871=undefined;if(_0x1e45d0[_0x4f7fb0(0x19c)](!_0x2d6a02,!_0x1eb133))return undefined;const _0x6a6492=WebApi[_0x4f7fb0(0x148)](_0x2d6a02),_0x2cf6b8=_0x1e45d0[_0x4f7fb0(0x1a5)](_0x1e45d0[_0x4f7fb0(0x12d)](_0x1e45d0[_0x4f7fb0(0x1a5)](_0x1e45d0[_0x4f7fb0(0x1a5)](_0x1e45d0['qqaHs'],_0x28ad15),_0x1e45d0[_0x4f7fb0(0x12f)]),_0x6a6492)+_0x4f7fb0(0x164),_0xa02cb3)+_0x1e45d0[_0x4f7fb0(0x135)],_0x1f5e2f=_0x1e45d0[_0x4f7fb0(0x136)](_0x1e45d0[_0x4f7fb0(0x120)],_0x6a6492);try{return _0x354871=await RequestUtil[_0x4f7fb0(0x194)](_0x1f5e2f,_0x1e45d0[_0x4f7fb0(0x15b)],'',{'Cookie':_0x2e3860}),_0x354871;}catch(_0x10ae79){return undefined;}return undefined;}static async[_0x40b854(0x121)](_0x1ebf21){const _0x181ad9=_0x40b854,_0x3af4b8={'Cehxb':_0x181ad9(0x190),'twSpR':function(_0x528771,_0x18cca3){return _0x528771+_0x18cca3;},'LzLZE':function(_0x4d2b37,_0x177a0b){return _0x4d2b37+_0x177a0b;},'zbXfi':function(_0x368d91,_0x497f31){return _0x368d91+_0x497f31;},'DLTeH':'p_skey=','ytoCn':_0x181ad9(0x12e),'spuBj':_0x181ad9(0x15d),'DQKfH':function(_0x9bf932,_0x582260){return _0x9bf932||_0x582260;},'kTqBL':function(_0x46065f,_0x118821){return _0x46065f+_0x118821;},'BtesI':function(_0x1bfd6c,_0x132d1b){return _0x1bfd6c+_0x132d1b;},'qwjGf':_0x181ad9(0x1a3),'UjQtq':_0x181ad9(0x1a9),'MCyqZ':_0x181ad9(0x16a),'tPZFL':_0x181ad9(0x15c),'LVWRS':function(_0x389988,_0x51ca63){return _0x389988!==_0x51ca63;}},_0x55a1fb=(await NTQQUserApi[_0x181ad9(0x197)]([_0x3af4b8[_0x181ad9(0x1b0)]]))[_0x3af4b8[_0x181ad9(0x1b0)]],_0x4e2858=await NTQQUserApi[_0x181ad9(0x11d)](),_0x88660e=_0x3af4b8['twSpR'](_0x3af4b8[_0x181ad9(0x168)](_0x3af4b8[_0x181ad9(0x168)](_0x3af4b8['LzLZE'](_0x3af4b8[_0x181ad9(0x1a4)](_0x3af4b8[_0x181ad9(0x173)],_0x55a1fb),_0x3af4b8[_0x181ad9(0x1a1)]),_0x4e2858),_0x3af4b8[_0x181ad9(0x137)]),selfInfo[_0x181ad9(0x191)]);let _0x2d9c7b=undefined;if(_0x3af4b8[_0x181ad9(0x165)](!_0x4e2858,!_0x55a1fb))return undefined;const _0x297b31=WebApi[_0x181ad9(0x148)](_0x4e2858),_0x5a5db2=_0x3af4b8[_0x181ad9(0x144)](_0x3af4b8[_0x181ad9(0x1a4)](_0x3af4b8[_0x181ad9(0x171)](_0x3af4b8[_0x181ad9(0x16e)],_0x297b31)+_0x3af4b8[_0x181ad9(0x198)],_0x1ebf21),_0x3af4b8['MCyqZ']);try{_0x2d9c7b=await RequestUtil[_0x181ad9(0x194)](_0x5a5db2,_0x3af4b8[_0x181ad9(0x186)],'',{'Cookie':_0x88660e});if(_0x3af4b8[_0x181ad9(0x14e)](_0x2d9c7b?.['ec'],0x0))return undefined;return _0x2d9c7b;}catch(_0x24480a){return undefined;}return undefined;}static[_0x40b854(0x148)](_0x455860){const _0x54dd95=_0x40b854,_0x1065c9={'eulky':function(_0x2bfcf4,_0x29cd64){return _0x2bfcf4||_0x29cd64;},'QLGKf':function(_0x148090,_0x2f7163){return _0x148090<_0x2f7163;},'QBpGk':function(_0x1af4ad,_0x9a6b0a){return _0x1af4ad+_0x9a6b0a;},'qQQly':function(_0x4f4200,_0x649c49){return _0x4f4200<<_0x649c49;},'WJSlz':function(_0xd47a80,_0x46840d){return _0xd47a80&_0x46840d;}};_0x455860=_0x1065c9['eulky'](_0x455860,'');let _0x2241e4=0x1505;for(let _0x1e6677=0x0;_0x1065c9['QLGKf'](_0x1e6677,_0x455860[_0x54dd95(0x16b)]);_0x1e6677++){const _0x308439=_0x455860[_0x54dd95(0x177)](_0x1e6677);_0x2241e4=_0x1065c9['QBpGk'](_0x1065c9['QBpGk'](_0x2241e4,_0x1065c9[_0x54dd95(0x189)](_0x2241e4,0x5)),_0x308439);}return _0x1065c9['WJSlz'](_0x2241e4,0x7fffffff)[_0x54dd95(0x1ae)]();}static async[_0x40b854(0x11b)](_0x36e663,_0x161beb){const _0x20e4ab=_0x40b854,_0x59aea3={'AmZgq':function(_0xdf87ea,_0x4d0f70){return _0xdf87ea+_0x4d0f70;},'eYgpp':function(_0x321468,_0x102c2f){return _0x321468+_0x102c2f;},'xCSyv':_0x20e4ab(0x195),'aLwHF':_0x20e4ab(0x13e),'dStLB':'GET','TOXnP':function(_0x10c121,_0x4a7d9d){return _0x10c121===_0x4a7d9d;},'hWJwg':function(_0x123a73,_0x34ab5e,_0x47ffe2,_0x43f063){return _0x123a73(_0x34ab5e,_0x47ffe2,_0x43f063);},'YFSMv':'qun.qq.com','OEUtc':function(_0x482c24,_0x47c1aa){return _0x482c24||_0x47c1aa;},'KHBxs':function(_0x4a389a,_0x3a4851){return _0x4a389a+_0x3a4851;},'nxxrF':_0x20e4ab(0x17c),'SDEDY':_0x20e4ab(0x15d),'FgqRI':_0x20e4ab(0x125),'ghnqt':function(_0x4749d3,_0x6ae0bf,_0x4ef9ec){return _0x4749d3(_0x6ae0bf,_0x4ef9ec);},'DKzpx':function(_0x437478,_0xf19a90){return _0x437478===_0xf19a90;},'wlhla':function(_0x2b1e1f,_0x29c65c,_0x26b48c){return _0x2b1e1f(_0x29c65c,_0x26b48c);},'vRVjQ':function(_0x58448f,_0x3f05aa){return _0x58448f(_0x3f05aa);},'vcKit':function(_0x186152,_0x52d4ae){return _0x186152===_0x52d4ae;},'XnoWs':function(_0x2f32ad,_0x26f18f,_0x34e08a){return _0x2f32ad(_0x26f18f,_0x34e08a);},'zXYtn':function(_0x383866,_0x45c437,_0x1f5f81){return _0x383866(_0x45c437,_0x1f5f81);},'zZzUh':_0x20e4ab(0x153),'ILndR':function(_0x275f4f,_0x32df08){return _0x275f4f===_0x32df08;},'vKTmb':_0x20e4ab(0x140)},_0x57d664=(await NTQQUserApi['getPSkey']([_0x59aea3[_0x20e4ab(0x1ac)]]))[_0x59aea3[_0x20e4ab(0x1ac)]],_0x20c49c=await NTQQUserApi[_0x20e4ab(0x11d)]();if(_0x59aea3[_0x20e4ab(0x12c)](!_0x20c49c,!_0x57d664))return undefined;async function _0x960bb2(_0x1d1711,_0x3c6fcc){const _0x41e222=_0x20e4ab;let _0x12336b=_0x59aea3['AmZgq'](_0x59aea3[_0x41e222(0x13a)](_0x59aea3[_0x41e222(0x163)](_0x59aea3['xCSyv'],_0x1d1711),_0x59aea3[_0x41e222(0x184)]),_0x3c6fcc[_0x41e222(0x1ae)]()),_0xe97eea='',_0x11df99;try{_0xe97eea=await RequestUtil['HttpGetText'](_0x12336b,_0x59aea3[_0x41e222(0x130)],'',{'Cookie':_0x507ea4});const _0x360d4c=_0xe97eea[_0x41e222(0x14c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x360d4c&&(_0x11df99=JSON[_0x41e222(0x185)](_0x360d4c[0x1][_0x41e222(0x19e)]())),_0x59aea3[_0x41e222(0x18d)](_0x3c6fcc,0x1)?_0x11df99?.['talkativeList']:_0x11df99?.['actorList'];}catch(_0x4544fe){_0x59aea3['hWJwg'](logDebug,'获取当前群荣耀失败',_0x12336b,_0x4544fe);}return undefined;}let _0x4c9d11={'group_id':_0x36e663};const _0x507ea4=_0x59aea3[_0x20e4ab(0x14b)](_0x59aea3[_0x20e4ab(0x1a2)],_0x57d664)+_0x20e4ab(0x12e)+_0x20c49c+_0x59aea3[_0x20e4ab(0x175)]+selfInfo[_0x20e4ab(0x191)]+_0x59aea3[_0x20e4ab(0x151)]+selfInfo[_0x20e4ab(0x191)];if(_0x59aea3[_0x20e4ab(0x18d)](_0x161beb,WebHonorType['TALKACTIVE'])||_0x161beb===WebHonorType['ALL'])try{let _0x5a7d2b=await _0x59aea3[_0x20e4ab(0x142)](_0x960bb2,_0x36e663,0x1);if(!_0x5a7d2b)throw new Error('获取龙王信息失败');_0x4c9d11['current_talkative']={'user_id':_0x5a7d2b[0x0]?.[_0x20e4ab(0x191)],'avatar':_0x5a7d2b[0x0]?.[_0x20e4ab(0x146)],'nickname':_0x5a7d2b[0x0]?.[_0x20e4ab(0x134)],'day_count':0x0,'description':_0x5a7d2b[0x0]?.['desc']},_0x4c9d11['talkative_list']=[];for(const _0x94a98c of _0x5a7d2b){_0x4c9d11[_0x20e4ab(0x156)]['push']({'user_id':_0x94a98c?.[_0x20e4ab(0x191)],'avatar':_0x94a98c?.['avatar'],'description':_0x94a98c?.[_0x20e4ab(0x124)],'day_count':0x0,'nickname':_0x94a98c?.[_0x20e4ab(0x134)]});}}catch(_0x3b0f56){logDebug(_0x3b0f56);}if(_0x161beb===WebHonorType[_0x20e4ab(0x154)]||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))try{let _0x5f2ab4=await _0x59aea3['wlhla'](_0x960bb2,_0x36e663,0x2);if(!_0x5f2ab4)throw new Error(_0x20e4ab(0x1a7));_0x4c9d11[_0x20e4ab(0x187)]=[];for(const _0x507e5b of _0x5f2ab4){_0x4c9d11[_0x20e4ab(0x187)]['push']({'user_id':_0x507e5b?.[_0x20e4ab(0x191)],'nickname':_0x507e5b?.[_0x20e4ab(0x134)],'avatar':_0x507e5b?.[_0x20e4ab(0x146)],'description':_0x507e5b?.[_0x20e4ab(0x124)]});}}catch(_0x4278f6){_0x59aea3[_0x20e4ab(0x159)](logDebug,_0x4278f6);}if(_0x59aea3['vcKit'](_0x161beb,WebHonorType[_0x20e4ab(0x154)])||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))try{let _0x361eb3=await _0x59aea3[_0x20e4ab(0x1b1)](_0x960bb2,_0x36e663,0x3);if(!_0x361eb3)throw new Error('获取群聊炽焰失败');_0x4c9d11['legend_list']=[];for(const _0x4fb4f0 of _0x361eb3){_0x4c9d11[_0x20e4ab(0x174)][_0x20e4ab(0x133)]({'user_id':_0x4fb4f0?.[_0x20e4ab(0x191)],'nickname':_0x4fb4f0?.['name'],'avatar':_0x4fb4f0?.['avatar'],'desc':_0x4fb4f0?.[_0x20e4ab(0x11e)]});}}catch(_0x3a67a6){_0x59aea3[_0x20e4ab(0x16d)](logDebug,_0x59aea3[_0x20e4ab(0x12b)],_0x3a67a6);}if(_0x59aea3[_0x20e4ab(0x150)](_0x161beb,WebHonorType['EMOTION'])||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))try{let _0x9265a0=await _0x960bb2(_0x36e663,0x6);if(!_0x9265a0)throw new Error(_0x59aea3[_0x20e4ab(0x17d)]);_0x4c9d11[_0x20e4ab(0x193)]=[];for(const _0x554b67 of _0x9265a0){_0x4c9d11['emotion_list'][_0x20e4ab(0x133)]({'user_id':_0x554b67?.[_0x20e4ab(0x191)],'nickname':_0x554b67?.[_0x20e4ab(0x134)],'avatar':_0x554b67?.[_0x20e4ab(0x146)],'desc':_0x554b67?.['description']});}}catch(_0x36e486){_0x59aea3[_0x20e4ab(0x16d)](logDebug,_0x59aea3[_0x20e4ab(0x17d)],_0x36e486);}return(_0x161beb===WebHonorType[_0x20e4ab(0x149)]||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))&&(_0x4c9d11['strong_newbie_list']=[]),_0x4c9d11;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 3662d66f..86405ec1 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x10dfe3=_0x2e92;(function(_0x5cc18b,_0x54f07f){const _0x4426f0=_0x2e92,_0x516b9c=_0x5cc18b();while(!![]){try{const _0x13f994=-parseInt(_0x4426f0(0x22e))/0x1+-parseInt(_0x4426f0(0x237))/0x2+-parseInt(_0x4426f0(0x1c6))/0x3+-parseInt(_0x4426f0(0x21f))/0x4+parseInt(_0x4426f0(0x1ca))/0x5+parseInt(_0x4426f0(0x267))/0x6*(-parseInt(_0x4426f0(0x1d1))/0x7)+parseInt(_0x4426f0(0x201))/0x8;if(_0x13f994===_0x54f07f)break;else _0x516b9c['push'](_0x516b9c['shift']());}catch(_0x4d24a7){_0x516b9c['push'](_0x516b9c['shift']());}}}(_0x3091,0x2ecd3));import _0x3c5fe2 from'@/core/wrapper';function _0x2e92(_0x495dfc,_0x2fea4f){const _0x309172=_0x3091();return _0x2e92=function(_0x2e92e8,_0x4744b0){_0x2e92e8=_0x2e92e8-0x1be;let _0x195a16=_0x309172[_0x2e92e8];return _0x195a16;},_0x2e92(_0x495dfc,_0x2fea4f);}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x384fdb from'node:path';import _0x37e6ee from'node:os';import _0x3ba07b 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 _0x419e0d 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{[_0x10dfe3(0x212)];[_0x10dfe3(0x245)];['engine'];[_0x10dfe3(0x234)];[_0x10dfe3(0x219)];['onLoginSuccessFuncList']=[];[_0x10dfe3(0x209)]={'get'(target,prop,receiver){const _0xc54216=_0x10dfe3,tHeNFG={'AkGkS':function(callee,param1){return callee(param1);},'wdNCe':function(x,y){return x===y;},'BQkJE':_0xc54216(0x1dc)};if(tHeNFG[_0xc54216(0x1f1)](typeof target[prop],tHeNFG['BQkJE']))return(...args)=>{const _0x25b170=_0xc54216;tHeNFG[_0x25b170(0x222)](logDebug,target[_0x25b170(0x26d)][_0x25b170(0x236)]+_0x25b170(0x223)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x1bec3d=_0x10dfe3,_0x17921e={'SUWNQ':function(_0x33aec2,_0x1a11b0){return _0x33aec2(_0x1a11b0);},'apWEx':function(_0x3d0f0c,_0x3f3695){return _0x3d0f0c+_0x3f3695;},'uGCMZ':_0x1bec3d(0x1c9),'NcXYK':function(_0x3f29c4,_0x478c40,_0x43cf08){return _0x3f29c4(_0x478c40,_0x43cf08);},'POyZs':function(_0x4e3dfe,_0x255a38){return _0x4e3dfe(_0x255a38);},'kIdJP':_0x1bec3d(0x22b),'VWMzI':function(_0x213cfe,_0x8c30b2,_0xe0dcad){return _0x213cfe(_0x8c30b2,_0xe0dcad);},'waDjT':'本账号数据/缓存目录:','RwXWY':function(_0x4e48f3,_0x56ab17,_0x47f9fc){return _0x4e48f3(_0x56ab17,_0x47f9fc);},'kNKun':_0x1bec3d(0x1e2),'EcpJs':function(_0x364b0f,_0x130d47){return _0x364b0f==_0x130d47;},'poZxJ':function(_0x2afe5b,_0x5a3e8d){return _0x2afe5b==_0x5a3e8d;},'AbgCn':_0x1bec3d(0x1d3)};this[_0x1bec3d(0x1d0)]=new _0x3c5fe2['NodeIQQNTWrapperEngine'](),this[_0x1bec3d(0x245)]=new _0x3c5fe2['NodeQQNTWrapperUtil'](),this[_0x1bec3d(0x219)]=new _0x3c5fe2['NodeIKernelLoginService'](),this[_0x1bec3d(0x212)]=new _0x3c5fe2[(_0x1bec3d(0x1f5))](),this[_0x1bec3d(0x234)]=new LoginListener(),this['loginListener'][_0x1bec3d(0x232)]=_0x30339c=>{const _0x44b115=_0x1bec3d;_0x17921e[_0x44b115(0x1fd)](logError,_0x17921e[_0x44b115(0x25d)]('当前账号(',_0x30339c)+_0x17921e[_0x44b115(0x1e1)]);},this[_0x1bec3d(0x234)][_0x1bec3d(0x262)]=_0x40f27b=>{const _0x4dcce1=_0x1bec3d,_0x27afb7={'tZmVg':_0x4dcce1(0x1f8),'hKOgC':function(_0x3a5661,_0x4d3083,_0x9079b9){const _0x4387fc=_0x4dcce1;return _0x17921e[_0x4387fc(0x1fa)](_0x3a5661,_0x4d3083,_0x9079b9);},'OXsfq':_0x17921e[_0x4dcce1(0x20f)]};this['initSession'](_0x40f27b['uin'],_0x40f27b[_0x4dcce1(0x1cf)])[_0x4dcce1(0x218)](_0x453586=>{const _0x1beb56=_0x4dcce1,_0x24e776={'IGEvM':function(_0xe16727,_0x2c7d14,_0x47ea0e){return _0x17921e['NcXYK'](_0xe16727,_0x2c7d14,_0x47ea0e);}};selfInfo['uin']=_0x40f27b[_0x1beb56(0x1f7)],selfInfo[_0x1beb56(0x1cf)]=_0x40f27b[_0x1beb56(0x1cf)],napCatConfig[_0x1beb56(0x227)](),_0x17921e[_0x1beb56(0x20b)](setLogLevel,napCatConfig[_0x1beb56(0x1d2)],napCatConfig[_0x1beb56(0x1f2)]),_0x17921e[_0x1beb56(0x26f)](enableFileLog,napCatConfig['fileLog']),enableConsoleLog(napCatConfig['consoleLog']),_0x17921e['SUWNQ'](setLogSelfInfo,selfInfo);const _0x3db127=_0x384fdb['resolve'](this[_0x1beb56(0x228)],_0x17921e['kIdJP']);_0x3ba07b[_0x1beb56(0x268)](_0x3db127,{'recursive':!![]}),_0x17921e['VWMzI'](logDebug,_0x17921e[_0x1beb56(0x1fc)],_0x3db127),dbUtil[_0x1beb56(0x21c)](_0x384fdb[_0x1beb56(0x220)](_0x3db127,'./'+_0x40f27b[_0x1beb56(0x1f7)]+_0x1beb56(0x271)))[_0x1beb56(0x218)](()=>{const _0x18ed3a=_0x1beb56,_0x2b9c60={'dHZln':function(_0x152764,_0xd31852,_0x36119d){const _0xde4d61=_0x2e92;return _0x24e776[_0xde4d61(0x1de)](_0x152764,_0xd31852,_0x36119d);}};this['initDataListener'](),this[_0x18ed3a(0x200)][_0x18ed3a(0x20d)](_0x202adf=>{const _0x4354d9=_0x18ed3a;new Promise((_0x40c8ea,_0x336193)=>{const _0xaac7fb=_0x2e92,_0x141d16=_0x2b9c60['dHZln'](_0x202adf,_0x40f27b[_0xaac7fb(0x1f7)],_0x40f27b['uid']);_0x141d16 instanceof Promise&&_0x141d16['then'](_0x40c8ea)['catch'](_0x336193);})[_0x4354d9(0x218)]();});})[_0x1beb56(0x22a)](_0x169e1a=>{const _0x337d9b=_0x1beb56;logError(_0x27afb7[_0x337d9b(0x23b)],_0x169e1a);});})[_0x4dcce1(0x22a)](_0x2e8c99=>{const _0x1a942c=_0x4dcce1;_0x27afb7[_0x1a942c(0x251)](logError,_0x27afb7[_0x1a942c(0x1df)],_0x2e8c99);throw new Error(_0x1a942c(0x1bf)+JSON[_0x1a942c(0x25b)](_0x2e8c99));});},this[_0x1bec3d(0x234)][_0x1bec3d(0x27a)]=(_0x5eea50,_0x12bd32,_0x2e4695)=>{const _0x468497=_0x1bec3d;logError(_0x468497(0x1d3),_0x2e4695),_0x17921e[_0x468497(0x278)](_0x5eea50,0x1)&&_0x17921e[_0x468497(0x270)](_0x12bd32,0x3)&&this['loginService'][_0x468497(0x272)]();},this['loginListener']['onLoginFailed']=_0x3b5320=>{const _0x2e3d9a=_0x1bec3d;_0x17921e[_0x2e3d9a(0x20b)](logError,_0x17921e[_0x2e3d9a(0x1c2)],_0x3b5320);},this[_0x1bec3d(0x234)]=new Proxy(this[_0x1bec3d(0x234)],this[_0x1bec3d(0x209)]),this[_0x1bec3d(0x219)][_0x1bec3d(0x275)](new _0x3c5fe2[(_0x1bec3d(0x1f3))](this[_0x1bec3d(0x234)])),this[_0x1bec3d(0x1d6)]();}get['dataPath'](){const _0x5d5c0e=_0x10dfe3,_0x11f96f={'wBOsE':_0x5d5c0e(0x217)};let _0x9e5ee9=this['util'][_0x5d5c0e(0x1d8)]();return!_0x9e5ee9&&(_0x9e5ee9=_0x384fdb[_0x5d5c0e(0x220)](_0x37e6ee[_0x5d5c0e(0x247)](),_0x11f96f[_0x5d5c0e(0x23d)]),_0x3ba07b[_0x5d5c0e(0x268)](_0x9e5ee9,{'recursive':!![]})),_0x9e5ee9;}get[_0x10dfe3(0x252)](){const _0x4dadc6=_0x10dfe3,_0x797f29={'kLiIx':_0x4dadc6(0x1ed)};return _0x384fdb['resolve'](this[_0x4dadc6(0x228)],_0x797f29[_0x4dadc6(0x21d)]);}[_0x10dfe3(0x1d6)](){const _0xf10dd9=_0x10dfe3,_0x4b113e={'HLTeg':'Windows\x2010\x20Pro'};this[_0xf10dd9(0x1d0)][_0xf10dd9(0x25f)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0xf10dd9(0x24b)],'os_version':_0x4b113e[_0xf10dd9(0x265)],'use_xlog':!![],'qua':_0xf10dd9(0x22f)+qqVersionConfigInfo[_0xf10dd9(0x24b)]['replace']('-','_')+_0xf10dd9(0x26c),'global_path_config':{'desktopGlobalPath':this[_0xf10dd9(0x252)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x3c5fe2[(_0xf10dd9(0x258))](new GlobalAdapter())),this[_0xf10dd9(0x219)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0xf10dd9(0x252)],'clientVer':qqVersionConfigInfo[_0xf10dd9(0x24b)],'hostName':hostname});}['initSession'](_0x2331b1,_0x52930d){const _0x4d2cfb=_0x10dfe3,_0x5563c3={'ryfuT':function(_0x16d67b,_0x56eaa8){return _0x16d67b===_0x56eaa8;},'LNscL':function(_0x2dbe48,_0x49163d){return _0x2dbe48(_0x49163d);},'vWThy':function(_0x38cccd,_0x2c532a,_0x4b0890,_0x30e3e1){return _0x38cccd(_0x2c532a,_0x4b0890,_0x30e3e1);},'awMWl':function(_0x370324,_0x3e40c9){return _0x370324+_0x3e40c9;},'wFcWy':_0x4d2cfb(0x22d)};return new Promise(async(_0x89c169,_0x196ee9)=>{const _0x2e28cf=_0x4d2cfb,_0x1f6a2a=await _0x5563c3['vWThy'](genSessionConfig,_0x2331b1,_0x52930d,this['dataPath']),_0x312ad2=new SessionListener();_0x312ad2[_0x2e28cf(0x1c1)]=_0x2cf17d=>{const _0x5b40b7=_0x2e28cf;if(_0x5563c3[_0x5b40b7(0x202)](_0x2cf17d,0x0))return _0x89c169(0x0);_0x5563c3[_0x5b40b7(0x273)](_0x196ee9,_0x2cf17d);},this[_0x2e28cf(0x212)]['init'](_0x1f6a2a,new _0x3c5fe2['NodeIDependsAdapter'](new DependsAdapter()),new _0x3c5fe2[(_0x2e28cf(0x1be))](new DispatcherAdapter()),new _0x3c5fe2['NodeIKernelSessionListener'](_0x312ad2));try{this[_0x2e28cf(0x212)][_0x2e28cf(0x246)](0x0);}catch(_0x4292ec){try{this[_0x2e28cf(0x212)][_0x2e28cf(0x246)]();}catch(_0x11aea8){_0x5563c3[_0x2e28cf(0x273)](_0x196ee9,_0x5563c3[_0x2e28cf(0x25c)](_0x5563c3['wFcWy'],_0x11aea8));}}});}[_0x10dfe3(0x248)](){const _0x1cf2be=_0x10dfe3,_0x352cb8={'ZiOaE':function(_0x30d35d,_0x53134d){return _0x30d35d===_0x53134d;},'UvpAr':function(_0x137afe,_0x7d8da8){return _0x137afe(_0x7d8da8);},'PahWO':'账号设备(','rdsXv':_0x1cf2be(0x269),'vkmjg':function(_0x5be580,_0x1fd4f6){return _0x5be580+_0x1fd4f6;},'wyOZX':_0x1cf2be(0x1ce),'QWlAx':function(_0x59fac7,_0x11325f){return _0x59fac7/_0x11325f;},'CXlfV':function(_0x1d8f91,_0x572e9a){return _0x1d8f91/_0x572e9a;},'EVPmL':function(_0x4eb525,_0x1e5e9a){return _0x4eb525===_0x1e5e9a;},'OSpvB':function(_0x595fa6,_0x1a0bc1,_0xf35cdc){return _0x595fa6(_0x1a0bc1,_0xf35cdc);}},_0x246831=new MsgListener();_0x246831[_0x1cf2be(0x231)]=_0x2fd826=>{const _0x3723b0=_0x1cf2be,_0x518643={'YgHRH':function(_0x3cfd3b,_0x7dd2bb){const _0x27eea5=_0x2e92;return _0x352cb8[_0x27eea5(0x250)](_0x3cfd3b,_0x7dd2bb);},'lplnl':function(_0x2bf857,_0x1b9d95){const _0x1734b9=_0x2e92;return _0x352cb8[_0x1734b9(0x261)](_0x2bf857,_0x1b9d95);},'guymS':_0x352cb8[_0x3723b0(0x25a)],'ePqRj':_0x352cb8['rdsXv']};_0x2fd826[_0x3723b0(0x20d)](_0x2be5b7=>{const _0x2d75e7=_0x3723b0;_0x518643[_0x2d75e7(0x243)](_0x2be5b7[_0x2d75e7(0x224)],0x2)&&_0x518643[_0x2d75e7(0x1db)](log,_0x518643[_0x2d75e7(0x1dd)]+_0x2be5b7['devUid']+_0x518643['ePqRj']);});},_0x246831[_0x1cf2be(0x1ef)]=_0x3bbf9f=>{const _0x4753a9=_0x1cf2be;log(_0x352cb8[_0x4753a9(0x21b)](_0x352cb8[_0x4753a9(0x21b)](_0x352cb8[_0x4753a9(0x23a)],_0x3bbf9f[_0x4753a9(0x23c)]),']\x20')+_0x3bbf9f[_0x4753a9(0x256)]);},_0x246831['onAddSendMsg']=_0x360c10=>{const _0x191ebc=_0x1cf2be;stat[_0x191ebc(0x24d)]+=0x1,stat[_0x191ebc(0x276)]+=0x1,stat[_0x191ebc(0x1eb)]=Math[_0x191ebc(0x1c0)](_0x352cb8[_0x191ebc(0x257)](Date[_0x191ebc(0x211)](),0x3e8));},_0x246831[_0x1cf2be(0x205)]=_0x581214=>{const _0x5d53b6=_0x1cf2be;stat['packet_received']+=0x1,stat[_0x5d53b6(0x266)]+=_0x581214[_0x5d53b6(0x239)],stat['last_message_time']=Math['floor'](_0x352cb8[_0x5d53b6(0x26a)](Date['now'](),0x3e8));},_0x246831[_0x1cf2be(0x1ff)]=(..._0x5142d9)=>{const _0x2a4fee=_0x1cf2be;stat[_0x2a4fee(0x259)]+=0x1;},this['addListener'](_0x246831);const _0x1407d3=new BuddyListener();_0x1407d3[_0x1cf2be(0x1f0)]=_0x2d2cbe=>{const _0x3470c3=_0x1cf2be;rawFriends[_0x3470c3(0x239)]=0x0,rawFriends[_0x3470c3(0x23e)](..._0x2d2cbe);for(const _0x1844b3 of _0x2d2cbe){for(const _0x16763f of _0x1844b3[_0x3470c3(0x214)]){const _0x243914=friends[_0x3470c3(0x1e8)](_0x16763f['uid']);_0x243914?Object[_0x3470c3(0x230)](_0x243914,_0x16763f):friends[_0x3470c3(0x226)](_0x16763f[_0x3470c3(0x1cf)],_0x16763f);}}},this[_0x1cf2be(0x1d4)](_0x1407d3),this['session'][_0x1cf2be(0x1cb)]()[_0x1cf2be(0x1d5)](!![])[_0x1cf2be(0x218)](_0x13fd06=>{});const _0xb25931=new ProfileListener();_0xb25931['onProfileDetailInfoChanged']=_0x46e636=>{const _0x1dbe71=_0x1cf2be;_0x46e636[_0x1dbe71(0x1cf)]===selfInfo[_0x1dbe71(0x1cf)]&&Object['assign'](selfInfo,_0x46e636);},_0xb25931[_0x1cf2be(0x1e5)]=_0x23a7ab=>{},this[_0x1cf2be(0x1d4)](_0xb25931);const _0x331974=new GroupListener();_0x331974[_0x1cf2be(0x1fb)]=(_0x3648b6,_0x58d34f)=>{const _0x18573f={'IORsj':function(_0x1dff77,_0x5969a1){const _0x49b27c=_0x2e92;return _0x352cb8[_0x49b27c(0x250)](_0x1dff77,_0x5969a1);}};_0x58d34f['map'](_0x54a38f=>{const _0x24bbe8=_0x2e92,_0x26c21f=groups[_0x24bbe8(0x1e8)](_0x54a38f[_0x24bbe8(0x215)]);_0x26c21f&&_0x18573f[_0x24bbe8(0x213)](_0x54a38f['memberCount'],_0x26c21f['memberCount'])?Object['assign'](_0x26c21f,_0x54a38f):groups[_0x24bbe8(0x226)](_0x54a38f[_0x24bbe8(0x215)],_0x54a38f);const _0x35026c=this[_0x24bbe8(0x212)][_0x24bbe8(0x1c5)]()['createMemberListScene'](_0x54a38f[_0x24bbe8(0x215)],_0x24bbe8(0x1da));this[_0x24bbe8(0x212)][_0x24bbe8(0x1c5)]()[_0x24bbe8(0x22c)](_0x35026c,undefined,0xbb8)[_0x24bbe8(0x218)](_0x338ba3=>{});});},_0x331974[_0x1cf2be(0x24c)]=_0x411f44=>{const _0xabf42f=_0x1cf2be,_0x5799b3=_0x411f44[_0xabf42f(0x26b)]['split']('_')[0x0];if(groupMembers[_0xabf42f(0x1e9)](_0x5799b3)){const _0x3ff0bf=groupMembers[_0xabf42f(0x1e8)](_0x5799b3);_0x411f44[_0xabf42f(0x24a)][_0xabf42f(0x1c4)]((_0x23a392,_0x48e015)=>{const _0x1fe6f0=_0xabf42f,_0x4829bf=_0x3ff0bf[_0x1fe6f0(0x1e8)](_0x48e015);_0x4829bf?Object[_0x1fe6f0(0x230)](_0x4829bf,_0x23a392):_0x3ff0bf[_0x1fe6f0(0x226)](_0x48e015,_0x23a392);});}else groupMembers[_0xabf42f(0x226)](_0x5799b3,_0x411f44['infos']);},_0x331974[_0x1cf2be(0x1c3)]=(_0x3dbe08,_0x4705c3,_0x9a73ce)=>{const _0x42810c=_0x1cf2be;_0x352cb8[_0x42810c(0x20e)](_0x4705c3,0x0)&&_0x9a73ce['get'](selfInfo[_0x42810c(0x1cf)])&&_0x9a73ce[_0x42810c(0x1e8)](selfInfo[_0x42810c(0x1cf)])?.[_0x42810c(0x1ea)]&&_0x352cb8[_0x42810c(0x1cc)](setTimeout,()=>{const _0x3b4f0a=_0x42810c;groups[_0x3b4f0a(0x1cd)](_0x3dbe08);},0x1388);const _0x12be78=groupMembers['get'](_0x3dbe08);_0x12be78?_0x9a73ce[_0x42810c(0x1c4)]((_0xd5a00d,_0x42c57a)=>{const _0x8f613e=_0x42810c,_0x4acdf7=_0x12be78['get'](_0x42c57a);_0x4acdf7?Object[_0x8f613e(0x230)](_0x4acdf7,_0xd5a00d):_0x12be78[_0x8f613e(0x226)](_0x42c57a,_0xd5a00d);}):groupMembers[_0x42810c(0x226)](_0x3dbe08,_0x9a73ce);},this[_0x1cf2be(0x1d4)](_0x331974);}[_0x10dfe3(0x1d4)](_0x58189d){const _0x34d3d7=_0x10dfe3,_0x1217b2={'DkqqM':_0x34d3d7(0x1e6),'IFHUb':_0x34d3d7(0x24e),'UGoKx':_0x34d3d7(0x210)};_0x58189d=new Proxy(_0x58189d,this[_0x34d3d7(0x209)]);switch(_0x58189d['constructor'][_0x34d3d7(0x236)]){case _0x1217b2[_0x34d3d7(0x24f)]:{return this[_0x34d3d7(0x212)][_0x34d3d7(0x1cb)]()[_0x34d3d7(0x1fe)](new _0x3c5fe2[(_0x34d3d7(0x254))](_0x58189d));}case _0x1217b2[_0x34d3d7(0x225)]:{return this[_0x34d3d7(0x212)]['getGroupService']()[_0x34d3d7(0x1f4)](new _0x3c5fe2[(_0x34d3d7(0x1ee))](_0x58189d));}case _0x34d3d7(0x1ec):{return this[_0x34d3d7(0x212)][_0x34d3d7(0x263)]()[_0x34d3d7(0x1c7)](new _0x3c5fe2[(_0x34d3d7(0x229))](_0x58189d));}case _0x1217b2[_0x34d3d7(0x206)]:{return this[_0x34d3d7(0x212)][_0x34d3d7(0x21e)]()['addKernelProfileListener'](new _0x3c5fe2['NodeIKernelProfileListener'](_0x58189d));}default:return-0x1;}}[_0x10dfe3(0x240)](_0x38d972){const _0x31bf8f=_0x10dfe3;NTEventDispatch['init']({'ListenerMap':_0x3c5fe2,'WrapperSession':this['session']}),this[_0x31bf8f(0x200)][_0x31bf8f(0x23e)](_0x38d972);}async[_0x10dfe3(0x233)](_0x537f4d){const _0x51d983=_0x10dfe3,_0x30eb6d={'bJhJQ':_0x51d983(0x238),'wyPTf':_0x51d983(0x23f)},_0x106575=await this[_0x51d983(0x219)][_0x51d983(0x274)]();if(_0x106575[_0x51d983(0x242)]!==0x0)throw new Error(_0x30eb6d[_0x51d983(0x1e3)]);const _0x448ac5=_0x106575[_0x51d983(0x216)][_0x51d983(0x1f9)](_0x17445f=>_0x17445f[_0x51d983(0x1f7)]===_0x537f4d);if(!_0x448ac5||!_0x448ac5?.[_0x51d983(0x249)])throw new Error(_0x537f4d+_0x51d983(0x21a));await sleep(0x3e8);const _0x429a02=await this['loginService'][_0x51d983(0x1e7)](_0x537f4d);if(!_0x429a02[_0x51d983(0x242)])throw new Error(_0x30eb6d[_0x51d983(0x1e4)]+_0x429a02[_0x51d983(0x1d7)][_0x51d983(0x279)]);return _0x429a02;}async[_0x10dfe3(0x244)](_0x54d919){const _0x1eb7da=_0x10dfe3,_0x4103ac={'CKmLn':_0x1eb7da(0x277),'rdQII':function(_0x353f98,_0x407361,_0x1a6724,_0x4350c6){return _0x353f98(_0x407361,_0x1a6724,_0x4350c6);}};return new Promise((_0xe75e7b,_0x4243e7)=>{const _0x161e41=_0x1eb7da,_0x5265af={'dbazU':_0x4103ac['CKmLn'],'gqwDe':function(_0x5d44ed,_0x519dd5,_0x57bff9,_0x5346dd){const _0x3be7f3=_0x2e92;return _0x4103ac[_0x3be7f3(0x25e)](_0x5d44ed,_0x519dd5,_0x57bff9,_0x5346dd);}};this['loginListener'][_0x161e41(0x264)]=_0x423eeb=>{const _0x8da649=_0x161e41,_0x51df69=_0x423eeb['pngBase64QrcodeData'][_0x8da649(0x20a)](_0x8da649(0x208))[0x1],_0x282a7c=Buffer[_0x8da649(0x255)](_0x51df69,_0x5265af['dbazU']);_0x5265af[_0x8da649(0x20c)](_0x54d919,_0x423eeb['qrcodeUrl'],_0x423eeb[_0x8da649(0x260)],_0x282a7c);},this['loginService'][_0x161e41(0x272)]();});}async[_0x10dfe3(0x207)](_0x586f31,_0x105709,_0x718359,_0x11279c,_0x3aab19){const _0x47d740=_0x10dfe3,_0x6fdc69={'HMwZO':_0x47d740(0x241),'wGyKb':'hex','AgHSP':function(_0x26b54a,_0x24d583){return _0x26b54a||_0x24d583;},'uUJxz':function(_0x26fad9,_0x26807a){return _0x26fad9(_0x26807a);},'vhNIp':_0x47d740(0x1e0)},_0x428075=_0x419e0d[_0x47d740(0x221)](_0x6fdc69[_0x47d740(0x26e)])[_0x47d740(0x203)](_0x105709)[_0x47d740(0x1d9)](_0x6fdc69[_0x47d740(0x1f6)]),_0x3cc122={'uin':_0x586f31,'passwordMd5':_0x428075,'step':_0x718359&&_0x11279c&&_0x3aab19?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x718359||'','proofWaterRand':_0x6fdc69[_0x47d740(0x204)](_0x11279c,''),'proofWaterSid':_0x3aab19||''};await this[_0x47d740(0x219)]['getLoginList'](),await _0x6fdc69[_0x47d740(0x235)](sleep,0x3e8);const _0xa5d4a1=await this['loginService'][_0x47d740(0x207)](_0x3cc122);switch(_0xa5d4a1[_0x47d740(0x242)]){case'0':{break;}case'140022008':{break;}case'4':case _0x6fdc69[_0x47d740(0x253)]:default:}}async[_0x10dfe3(0x1c8)](){const _0x3dd8b4=_0x10dfe3,_0x39006c=await this[_0x3dd8b4(0x219)][_0x3dd8b4(0x274)]();return _0x39006c;}}function _0x3091(){const _0x12553a=['map','EVPmL','kNKun','ProfileListener','now','session','IORsj','buddyList','groupCode','LocalLoginInfoList','./.config/QQ','then','loginService','快速登录不可用','vkmjg','init','kLiIx','getProfileService','464708ynfbNb','resolve','createHash','AkGkS','\x20has\x20no\x20method\x20','clientType','IFHUb','set','read','dataPath','NodeIKernelMsgListener','catch','./NapCat/data','getNextMemberList','init\x20failed\x20','211826nrOgPL','V1_WIN_NQ_','assign','onLineDev','onUserLoggedIn','quickLogin','loginListener','uUJxz','name','206132kJmYhL','没有可快速登录的QQ号','length','wyOZX','tZmVg','tipsTitle','wBOsE','push','快速登录失败\x20','onLoginSuccess','md5','result','YgHRH','qrLogin','util','startNT','homedir','initDataListener','isQuickLogin','infos','curVersion','onMemberListChange','packet_sent','GroupListener','DkqqM','ZiOaE','hKOgC','dataPathGlobal','vhNIp','NodeIKernelBuddyListener','from','tipsDesc','QWlAx','NodeIGlobalAdapter','packet_received','PahWO','stringify','awMWl','apWEx','rdQII','initWithDeskTopConfig','pngBase64QrcodeData','UvpAr','onQRCodeLoginSucceed','getMsgService','onQRCodeGetPicture','HLTeg','message_received','106284jeOxUL','mkdirSync',')\x20在线状态变更','CXlfV','sceneId','_GW_B','constructor','HMwZO','POyZs','poZxJ','-v2.db','getQRCodePicture','LNscL','getLoginList','addKernelLoginListener','message_sent','base64','EcpJs','errMsg','onQRCodeSessionFailed','NodeIDispatcherAdapter','启动失败:\x20','floor','onSessionInitComplete','AbgCn','onMemberInfoChange','forEach','getGroupService','1070400GFJhtb','addKernelMsgListener','getQuickLoginList',')已登录,无法重复登录','998285JifYfC','getBuddyService','OSpvB','delete','[KickedOffLine]\x20[','uid','engine','7SjlTri','fileLogLevel','登录失败','addListener','getBuddyList','initConfig','loginErrorInfo','getNTUserDataInfoConfig','digest','groupMemberList_MainWindow','lplnl','undefined','guymS','IGEvM','OXsfq','140022013','uGCMZ','initSession\x20failed','bJhJQ','wyPTf','onSelfStatusChanged','BuddyListener','quickLoginWithUin','get','has','isDelete','last_message_time','MsgListener','./nt_qq/global','NodeIKernelGroupListener','onKickedOffLine','onBuddyListChange','wdNCe','consoleLogLevel','NodeIKernelLoginListener','addKernelGroupListener','NodeIQQNTWrapperSession','wGyKb','uin','数据库初始化失败','find','RwXWY','onGroupListUpdate','waDjT','SUWNQ','addKernelBuddyListener','onRecvSysMsg','onLoginSuccessFuncList','6381000IwCeHR','ryfuT','update','AgHSP','onRecvMsg','UGoKx','passwordLogin','data:image/png;base64,','proxyHandler','split','NcXYK','gqwDe'];_0x3091=function(){return _0x12553a;};return _0x3091();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x172af7=_0x5f25;(function(_0x5a8285,_0x1a8d4f){const _0x15ce94=_0x5f25,_0xdf4b8e=_0x5a8285();while(!![]){try{const _0x1c8070=parseInt(_0x15ce94(0x289))/0x1*(-parseInt(_0x15ce94(0x23f))/0x2)+parseInt(_0x15ce94(0x1fe))/0x3+-parseInt(_0x15ce94(0x256))/0x4*(parseInt(_0x15ce94(0x28d))/0x5)+parseInt(_0x15ce94(0x214))/0x6+parseInt(_0x15ce94(0x236))/0x7*(-parseInt(_0x15ce94(0x298))/0x8)+-parseInt(_0x15ce94(0x284))/0x9*(parseInt(_0x15ce94(0x243))/0xa)+-parseInt(_0x15ce94(0x1fa))/0xb*(-parseInt(_0x15ce94(0x22d))/0xc);if(_0x1c8070===_0x1a8d4f)break;else _0xdf4b8e['push'](_0xdf4b8e['shift']());}catch(_0x3c1a58){_0xdf4b8e['push'](_0xdf4b8e['shift']());}}}(_0x1b06,0x815a6));import _0x5694df from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x4b3798 from'node:path';import _0x16e31e from'node:os';import _0xed30da 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 _0x396ab4 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{[_0x172af7(0x232)];[_0x172af7(0x248)];[_0x172af7(0x294)];[_0x172af7(0x274)];[_0x172af7(0x250)];[_0x172af7(0x21c)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x1f1fba=_0x172af7,IUlAyr={'oszMV':'undefined'};if(typeof target[prop]===IUlAyr['oszMV'])return(...args)=>{const _0x3c7e14=_0x5f25;logDebug(target['constructor']['name']+_0x3c7e14(0x21a)+prop);};return Reflect[_0x1f1fba(0x23b)](target,prop,receiver);}};constructor(){const _0x43f308=_0x172af7,_0x48a7ea={'ZATAX':function(_0x251f9f,_0x75b179){return _0x251f9f+_0x75b179;},'IbZCj':'当前账号(','dHtHO':function(_0x3e799f,_0x290ce0){return _0x3e799f(_0x290ce0);},'AJvNf':function(_0x443cb9,_0x40c0d8){return _0x443cb9(_0x40c0d8);},'GXDEc':_0x43f308(0x22f),'gkcQg':function(_0x5db28e,_0x4d12f8,_0x4fd5c6){return _0x5db28e(_0x4d12f8,_0x4fd5c6);},'BSxEg':'数据库初始化失败','Lxpcq':_0x43f308(0x287),'sxlFH':function(_0x1cd080,_0x54f603,_0x3cbb3c){return _0x1cd080(_0x54f603,_0x3cbb3c);},'cKCGm':_0x43f308(0x20a),'mjzNg':function(_0x2212a8,_0x2a8f0a){return _0x2212a8==_0x2a8f0a;}};this[_0x43f308(0x294)]=new _0x5694df[(_0x43f308(0x27e))](),this[_0x43f308(0x248)]=new _0x5694df[(_0x43f308(0x262))](),this[_0x43f308(0x250)]=new _0x5694df[(_0x43f308(0x222))](),this[_0x43f308(0x232)]=new _0x5694df[(_0x43f308(0x224))](),this['loginListener']=new LoginListener(),this[_0x43f308(0x274)]['onUserLoggedIn']=_0x1de9c3=>{const _0xd8515=_0x43f308;logError(_0x48a7ea[_0xd8515(0x25f)](_0x48a7ea[_0xd8515(0x25f)](_0x48a7ea[_0xd8515(0x255)],_0x1de9c3),_0xd8515(0x28a)));},this[_0x43f308(0x274)][_0x43f308(0x260)]=_0x7a7607=>{const _0x3f9988=_0x43f308,_0xce5f4c={'BVLfb':function(_0xfcb68a,_0x56aa30,_0x1ea7a5){const _0x505dc2=_0x5f25;return _0x48a7ea[_0x505dc2(0x23a)](_0xfcb68a,_0x56aa30,_0x1ea7a5);},'NSUoF':_0x48a7ea[_0x3f9988(0x296)],'wPVAM':_0x48a7ea[_0x3f9988(0x261)]};this['initSession'](_0x7a7607[_0x3f9988(0x23d)],_0x7a7607['uid'])[_0x3f9988(0x235)](_0x4c7825=>{const _0x4a3e33=_0x3f9988;selfInfo[_0x4a3e33(0x23d)]=_0x7a7607[_0x4a3e33(0x23d)],selfInfo[_0x4a3e33(0x28b)]=_0x7a7607[_0x4a3e33(0x28b)],napCatConfig[_0x4a3e33(0x25e)](),setLogLevel(napCatConfig[_0x4a3e33(0x229)],napCatConfig[_0x4a3e33(0x20c)]),_0x48a7ea[_0x4a3e33(0x267)](enableFileLog,napCatConfig[_0x4a3e33(0x254)]),_0x48a7ea['AJvNf'](enableConsoleLog,napCatConfig['consoleLog']),_0x48a7ea['dHtHO'](setLogSelfInfo,selfInfo);const _0x47c328=_0x4b3798[_0x4a3e33(0x28e)](this[_0x4a3e33(0x286)],_0x48a7ea[_0x4a3e33(0x22e)]);_0xed30da[_0x4a3e33(0x282)](_0x47c328,{'recursive':!![]}),logDebug(_0x4a3e33(0x27b),_0x47c328),dbUtil['init'](_0x4b3798[_0x4a3e33(0x28e)](_0x47c328,'./'+_0x7a7607[_0x4a3e33(0x23d)]+_0x4a3e33(0x1f1)))['then'](()=>{const _0x1282dc=_0x4a3e33,_0x2e9523={'fKHjb':function(_0x58789b,_0x428d70,_0xe9b831){const _0x1d8b2d=_0x5f25;return _0xce5f4c[_0x1d8b2d(0x22b)](_0x58789b,_0x428d70,_0xe9b831);},'leYpX':function(_0x12c86f,_0x5d5ce0){return _0x12c86f instanceof _0x5d5ce0;}};this[_0x1282dc(0x29a)](),this[_0x1282dc(0x21c)]['map'](_0x3d3704=>{const _0x26b19b=_0x1282dc;new Promise((_0x55e08a,_0x2520cb)=>{const _0x5b3952=_0x5f25,_0x2d7fe4=_0x2e9523[_0x5b3952(0x273)](_0x3d3704,_0x7a7607[_0x5b3952(0x23d)],_0x7a7607[_0x5b3952(0x28b)]);_0x2e9523[_0x5b3952(0x240)](_0x2d7fe4,Promise)&&_0x2d7fe4[_0x5b3952(0x235)](_0x55e08a)['catch'](_0x2520cb);})[_0x26b19b(0x235)]();});})[_0x4a3e33(0x207)](_0x4e2267=>{const _0x4a3e3c=_0x4a3e33;_0xce5f4c[_0x4a3e3c(0x22b)](logError,_0xce5f4c[_0x4a3e3c(0x21b)],_0x4e2267);});})[_0x3f9988(0x207)](_0x4d1fc9=>{const _0x323beb=_0x3f9988;_0xce5f4c[_0x323beb(0x22b)](logError,_0xce5f4c[_0x323beb(0x238)],_0x4d1fc9);throw new Error(_0x323beb(0x27d)+JSON[_0x323beb(0x279)](_0x4d1fc9));});},this[_0x43f308(0x274)][_0x43f308(0x24a)]=(_0x2d0ce4,_0x307fb9,_0xe6f2a0)=>{const _0x4debea=_0x43f308;_0x48a7ea[_0x4debea(0x29b)](logError,_0x48a7ea[_0x4debea(0x225)],_0xe6f2a0),_0x2d0ce4==0x1&&_0x48a7ea['mjzNg'](_0x307fb9,0x3)&&this[_0x4debea(0x250)][_0x4debea(0x242)]();},this['loginListener']['onLoginFailed']=_0x345809=>{const _0x4ea185=_0x43f308;_0x48a7ea[_0x4ea185(0x29b)](logError,_0x48a7ea[_0x4ea185(0x225)],_0x345809);},this[_0x43f308(0x274)]=new Proxy(this[_0x43f308(0x274)],this[_0x43f308(0x220)]),this[_0x43f308(0x250)][_0x43f308(0x1f9)](new _0x5694df[(_0x43f308(0x230))](this[_0x43f308(0x274)])),this['initConfig']();}get[_0x172af7(0x286)](){const _0x188c7a=_0x172af7,_0xfd830c={'TBrwI':'./.config/QQ'};let _0x326de5=this[_0x188c7a(0x248)][_0x188c7a(0x29f)]();return!_0x326de5&&(_0x326de5=_0x4b3798['resolve'](_0x16e31e['homedir'](),_0xfd830c['TBrwI']),_0xed30da[_0x188c7a(0x282)](_0x326de5,{'recursive':!![]})),_0x326de5;}get[_0x172af7(0x227)](){const _0x225507=_0x172af7,_0x38b54b={'XfHFP':_0x225507(0x24b)};return _0x4b3798[_0x225507(0x28e)](this[_0x225507(0x286)],_0x38b54b['XfHFP']);}[_0x172af7(0x1f7)](){const _0x3dfcc1=_0x172af7,_0x2a1c9a={'cbcGt':_0x3dfcc1(0x285)};this[_0x3dfcc1(0x294)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3dfcc1(0x25c)],'os_version':_0x2a1c9a[_0x3dfcc1(0x1ff)],'use_xlog':!![],'qua':_0x3dfcc1(0x24c)+qqVersionConfigInfo[_0x3dfcc1(0x25c)][_0x3dfcc1(0x252)]('-','_')+_0x3dfcc1(0x221),'global_path_config':{'desktopGlobalPath':this[_0x3dfcc1(0x227)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5694df[(_0x3dfcc1(0x26a))](new GlobalAdapter())),this[_0x3dfcc1(0x250)][_0x3dfcc1(0x1f7)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x172af7(0x290)](_0x454e72,_0x1c3248){const _0x39cb80=_0x172af7,_0x38e90b={'yEbMk':function(_0x5ecaa6,_0x25e4d0){return _0x5ecaa6===_0x25e4d0;},'YMdVD':function(_0x2a2527,_0x3f27bb){return _0x2a2527(_0x3f27bb);},'AkpBm':function(_0x21555d,_0x45f731,_0x2ec547,_0x41a8e4){return _0x21555d(_0x45f731,_0x2ec547,_0x41a8e4);},'tHolG':function(_0x36a2f4,_0x92a588){return _0x36a2f4+_0x92a588;},'AhLix':_0x39cb80(0x24e)};return new Promise(async(_0x418b8e,_0x4a7c3b)=>{const _0x119903=_0x39cb80,_0x162ec3=await _0x38e90b[_0x119903(0x292)](genSessionConfig,_0x454e72,_0x1c3248,this['dataPath']),_0x587c1d=new SessionListener();_0x587c1d[_0x119903(0x226)]=_0x522bad=>{const _0x1ab9ae=_0x119903;if(_0x38e90b[_0x1ab9ae(0x21f)](_0x522bad,0x0))return _0x38e90b[_0x1ab9ae(0x20e)](_0x418b8e,0x0);_0x38e90b[_0x1ab9ae(0x20e)](_0x4a7c3b,_0x522bad);},this['session'][_0x119903(0x203)](_0x162ec3,new _0x5694df[(_0x119903(0x245))](new DependsAdapter()),new _0x5694df[(_0x119903(0x22c))](new DispatcherAdapter()),new _0x5694df['NodeIKernelSessionListener'](_0x587c1d));try{this[_0x119903(0x232)]['startNT'](0x0);}catch(_0xd48c94){try{this['session'][_0x119903(0x208)]();}catch(_0x47916d){_0x38e90b['YMdVD'](_0x4a7c3b,_0x38e90b[_0x119903(0x29e)](_0x38e90b[_0x119903(0x2a2)],_0x47916d));}}});}[_0x172af7(0x29a)](){const _0x5784f6=_0x172af7,_0x411ee2={'fbkyl':function(_0x3752f5,_0x579e11){return _0x3752f5(_0x579e11);},'BkxhY':function(_0x230d06,_0x5eeac4){return _0x230d06+_0x5eeac4;},'cWlfW':_0x5784f6(0x23c),'yOpoZ':_0x5784f6(0x27c),'nLWWf':function(_0x4e0f57,_0x349431){return _0x4e0f57+_0x349431;},'eFjRV':_0x5784f6(0x280),'dJIet':function(_0x14ac90,_0x35b47e){return _0x14ac90/_0x35b47e;},'kBbjO':function(_0x194fbe,_0x3a37c7){return _0x194fbe/_0x3a37c7;},'mgYJf':function(_0xb0452e,_0x18da75){return _0xb0452e===_0x18da75;},'IprGp':'groupMemberList_MainWindow','QxdqG':function(_0x24d0e1,_0xefcdf4,_0x10c4bc){return _0x24d0e1(_0xefcdf4,_0x10c4bc);}},_0x5e2eaa=new MsgListener();_0x5e2eaa[_0x5784f6(0x231)]=_0x15ba2f=>{const _0x38a78e=_0x5784f6;_0x15ba2f[_0x38a78e(0x257)](_0x2ff768=>{const _0x56553f=_0x38a78e;_0x2ff768['clientType']===0x2&&_0x411ee2[_0x56553f(0x21d)](log,_0x411ee2[_0x56553f(0x271)](_0x411ee2[_0x56553f(0x213)],_0x2ff768['devUid'])+_0x411ee2['yOpoZ']);});},_0x5e2eaa['onKickedOffLine']=_0x4b894b=>{const _0x4b172a=_0x5784f6;log(_0x411ee2['BkxhY'](_0x411ee2[_0x4b172a(0x271)](_0x411ee2[_0x4b172a(0x278)](_0x411ee2[_0x4b172a(0x218)],_0x4b894b[_0x4b172a(0x27f)]),']\x20'),_0x4b894b[_0x4b172a(0x276)]));},_0x5e2eaa['onAddSendMsg']=_0x25ac41=>{const _0x152da0=_0x5784f6;stat[_0x152da0(0x275)]+=0x1,stat['message_sent']+=0x1,stat['last_message_time']=Math['floor'](_0x411ee2[_0x152da0(0x2a1)](Date['now'](),0x3e8));},_0x5e2eaa['onRecvMsg']=_0x4babb8=>{const _0x475a1f=_0x5784f6;stat[_0x475a1f(0x264)]+=0x1,stat[_0x475a1f(0x26f)]+=_0x4babb8['length'],stat['last_message_time']=Math['floor'](_0x411ee2[_0x475a1f(0x24f)](Date[_0x475a1f(0x217)](),0x3e8));},_0x5e2eaa[_0x5784f6(0x269)]=(..._0x4d0c92)=>{stat['packet_received']+=0x1;},this[_0x5784f6(0x204)](_0x5e2eaa);const _0x16eebf=new BuddyListener();_0x16eebf[_0x5784f6(0x244)]=_0x2c2906=>{const _0x25c75e=_0x5784f6;rawFriends[_0x25c75e(0x247)]=0x0,rawFriends[_0x25c75e(0x1f4)](..._0x2c2906);for(const _0x3410ed of _0x2c2906){for(const _0xb12ff2 of _0x3410ed['buddyList']){const _0x232dfd=friends[_0x25c75e(0x23b)](_0xb12ff2[_0x25c75e(0x28b)]);_0x232dfd?Object[_0x25c75e(0x28f)](_0x232dfd,_0xb12ff2):friends[_0x25c75e(0x206)](_0xb12ff2[_0x25c75e(0x28b)],_0xb12ff2);}}},this[_0x5784f6(0x204)](_0x16eebf),this[_0x5784f6(0x232)][_0x5784f6(0x270)]()['getBuddyList'](!![])[_0x5784f6(0x235)](_0x20c468=>{});const _0x5192bb=new ProfileListener();_0x5192bb[_0x5784f6(0x20d)]=_0x83601c=>{const _0x50d0cc=_0x5784f6;_0x411ee2['mgYJf'](_0x83601c[_0x50d0cc(0x28b)],selfInfo[_0x50d0cc(0x28b)])&&Object[_0x50d0cc(0x28f)](selfInfo,_0x83601c);},_0x5192bb['onSelfStatusChanged']=_0x3da95f=>{},this['addListener'](_0x5192bb);const _0x283561=new GroupListener();_0x283561[_0x5784f6(0x211)]=(_0x3cb25a,_0x4386c2)=>{const _0x411008=_0x5784f6;_0x4386c2[_0x411008(0x257)](_0x5860d7=>{const _0x3e52e7=_0x411008,_0x294765=groups[_0x3e52e7(0x23b)](_0x5860d7[_0x3e52e7(0x1fc)]);_0x294765&&_0x5860d7[_0x3e52e7(0x1fd)]===_0x294765['memberCount']?Object[_0x3e52e7(0x28f)](_0x294765,_0x5860d7):groups[_0x3e52e7(0x206)](_0x5860d7[_0x3e52e7(0x1fc)],_0x5860d7);const _0x29a2df=this[_0x3e52e7(0x232)]['getGroupService']()[_0x3e52e7(0x27a)](_0x5860d7[_0x3e52e7(0x1fc)],_0x411ee2[_0x3e52e7(0x205)]);this[_0x3e52e7(0x232)][_0x3e52e7(0x22a)]()['getNextMemberList'](_0x29a2df,undefined,0xbb8)[_0x3e52e7(0x235)](_0x31c457=>{});});},_0x283561[_0x5784f6(0x297)]=_0x147b12=>{const _0x23a520=_0x5784f6,_0x21440e=_0x147b12[_0x23a520(0x253)][_0x23a520(0x24d)]('_')[0x0];if(groupMembers[_0x23a520(0x1f6)](_0x21440e)){const _0x411418=groupMembers[_0x23a520(0x23b)](_0x21440e);_0x147b12[_0x23a520(0x272)][_0x23a520(0x202)]((_0x507d71,_0x1edda1)=>{const _0x4b22e2=_0x23a520,_0x4784db=_0x411418[_0x4b22e2(0x23b)](_0x1edda1);_0x4784db?Object[_0x4b22e2(0x28f)](_0x4784db,_0x507d71):_0x411418['set'](_0x1edda1,_0x507d71);});}else groupMembers[_0x23a520(0x206)](_0x21440e,_0x147b12[_0x23a520(0x272)]);},_0x283561[_0x5784f6(0x239)]=(_0x41059c,_0x166ee1,_0x138c27)=>{const _0x53892b=_0x5784f6;_0x166ee1===0x0&&_0x138c27[_0x53892b(0x23b)](selfInfo[_0x53892b(0x28b)])&&_0x138c27[_0x53892b(0x23b)](selfInfo['uid'])?.[_0x53892b(0x237)]&&_0x411ee2[_0x53892b(0x200)](setTimeout,()=>{const _0x3fc327=_0x53892b;groups[_0x3fc327(0x216)](_0x41059c);},0x1388);const _0x2e3cca=groupMembers[_0x53892b(0x23b)](_0x41059c);_0x2e3cca?_0x138c27['forEach']((_0xdaa0c4,_0x1c0db0)=>{const _0x1f682b=_0x53892b,_0x33fc66=_0x2e3cca[_0x1f682b(0x23b)](_0x1c0db0);_0x33fc66?Object['assign'](_0x33fc66,_0xdaa0c4):_0x2e3cca[_0x1f682b(0x206)](_0x1c0db0,_0xdaa0c4);}):groupMembers[_0x53892b(0x206)](_0x41059c,_0x138c27);},this[_0x5784f6(0x204)](_0x283561);}[_0x172af7(0x204)](_0x849690){const _0x41947b=_0x172af7,_0x308d41={'NCvbK':_0x41947b(0x28c),'xUhCq':'ProfileListener'};_0x849690=new Proxy(_0x849690,this[_0x41947b(0x220)]);switch(_0x849690[_0x41947b(0x25a)][_0x41947b(0x259)]){case'BuddyListener':{return this[_0x41947b(0x232)][_0x41947b(0x270)]()[_0x41947b(0x1f2)](new _0x5694df[(_0x41947b(0x291))](_0x849690));}case _0x41947b(0x219):{return this[_0x41947b(0x232)][_0x41947b(0x22a)]()[_0x41947b(0x295)](new _0x5694df[(_0x41947b(0x26b))](_0x849690));}case _0x308d41['NCvbK']:{return this[_0x41947b(0x232)][_0x41947b(0x210)]()[_0x41947b(0x25b)](new _0x5694df[(_0x41947b(0x209))](_0x849690));}case _0x308d41[_0x41947b(0x1f3)]:{return this[_0x41947b(0x232)][_0x41947b(0x241)]()[_0x41947b(0x29d)](new _0x5694df['NodeIKernelProfileListener'](_0x849690));}default:return-0x1;}}[_0x172af7(0x228)](_0x4da20b){const _0xf56e34=_0x172af7;NTEventDispatch[_0xf56e34(0x203)]({'ListenerMap':_0x5694df,'WrapperSession':this[_0xf56e34(0x232)]}),this[_0xf56e34(0x21c)][_0xf56e34(0x1f4)](_0x4da20b);}async[_0x172af7(0x223)](_0x5cec92){const _0xc30ea7=_0x172af7,_0xd0d708={'tTsIF':function(_0x27d6b3,_0x42bb9d){return _0x27d6b3!==_0x42bb9d;},'vnBel':'没有可快速登录的QQ号','HTvWz':function(_0x2f89b8,_0x5500ae){return _0x2f89b8(_0x5500ae);},'LbXqc':function(_0x1e2d6b,_0x2f88ec){return _0x1e2d6b+_0x2f88ec;},'axnvI':_0xc30ea7(0x25d)},_0x1e7f69=await this['loginService']['getLoginList']();if(_0xd0d708[_0xc30ea7(0x215)](_0x1e7f69[_0xc30ea7(0x266)],0x0))throw new Error(_0xd0d708[_0xc30ea7(0x26c)]);const _0x4732ba=_0x1e7f69[_0xc30ea7(0x1f8)][_0xc30ea7(0x1fb)](_0x2cc5c4=>_0x2cc5c4[_0xc30ea7(0x23d)]===_0x5cec92);if(!_0x4732ba||!_0x4732ba?.['isQuickLogin'])throw new Error(_0x5cec92+'快速登录不可用');await _0xd0d708['HTvWz'](sleep,0x3e8);const _0x139b5a=await this[_0xc30ea7(0x250)]['quickLoginWithUin'](_0x5cec92);if(!_0x139b5a[_0xc30ea7(0x266)])throw new Error(_0xd0d708[_0xc30ea7(0x283)](_0xd0d708[_0xc30ea7(0x265)],_0x139b5a[_0xc30ea7(0x23e)][_0xc30ea7(0x212)]));return _0x139b5a;}async[_0x172af7(0x29c)](_0x30aa81){const _0xf9fcb1=_0x172af7,_0x5c574a={'EIUUo':_0xf9fcb1(0x263),'RRznz':function(_0x59c6df,_0x54407a,_0x30f726,_0x275d99){return _0x59c6df(_0x54407a,_0x30f726,_0x275d99);}};return new Promise((_0x523d30,_0x111a39)=>{const _0xcccd5=_0xf9fcb1;this[_0xcccd5(0x274)][_0xcccd5(0x258)]=_0x5e6bb6=>{const _0x525124=_0xcccd5,_0x276c7f=_0x5e6bb6[_0x525124(0x299)][_0x525124(0x24d)](_0x5c574a[_0x525124(0x288)])[0x1],_0x99e362=Buffer[_0x525124(0x21e)](_0x276c7f,_0x525124(0x281));_0x5c574a['RRznz'](_0x30aa81,_0x5e6bb6[_0x525124(0x277)],_0x5e6bb6['pngBase64QrcodeData'],_0x99e362);},this['loginService'][_0xcccd5(0x242)]();});}async['passwordLogin'](_0x106fdf,_0x2e8bb8,_0x314b47,_0x30aecc,_0x2f6fd9){const _0x1ed05b=_0x172af7,_0x269a11={'BvgQQ':'hex','xpFfJ':function(_0x185670,_0x4e0bb4){return _0x185670||_0x4e0bb4;},'voTtk':function(_0x2c559e,_0x11fb8f){return _0x2c559e||_0x11fb8f;},'YqiYl':function(_0x10db8e,_0x258804){return _0x10db8e||_0x258804;},'mrBrp':function(_0x336602,_0x1d64e8){return _0x336602(_0x1d64e8);},'cXZdU':_0x1ed05b(0x1f5)},_0x5384d1=_0x396ab4[_0x1ed05b(0x293)](_0x1ed05b(0x251))[_0x1ed05b(0x20b)](_0x2e8bb8)[_0x1ed05b(0x26d)](_0x269a11[_0x1ed05b(0x20f)]),_0x548be2={'uin':_0x106fdf,'passwordMd5':_0x5384d1,'step':_0x314b47&&_0x30aecc&&_0x2f6fd9?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x269a11[_0x1ed05b(0x26e)](_0x314b47,''),'proofWaterRand':_0x269a11[_0x1ed05b(0x2a0)](_0x30aecc,''),'proofWaterSid':_0x269a11[_0x1ed05b(0x201)](_0x2f6fd9,'')};await this[_0x1ed05b(0x250)][_0x1ed05b(0x246)](),await _0x269a11[_0x1ed05b(0x234)](sleep,0x3e8);const _0x5e5121=await this[_0x1ed05b(0x250)]['passwordLogin'](_0x548be2);switch(_0x5e5121[_0x1ed05b(0x266)]){case'0':{break;}case _0x1ed05b(0x233):{break;}case'4':case _0x269a11[_0x1ed05b(0x249)]:default:}}async[_0x172af7(0x268)](){const _0x50b8ef=_0x172af7,_0x4988ba=await this['loginService'][_0x50b8ef(0x246)]();return _0x4988ba;}}function _0x5f25(_0x4ef522,_0x2c3dd5){const _0x1b06ef=_0x1b06();return _0x5f25=function(_0x5f2577,_0x453f97){_0x5f2577=_0x5f2577-0x1f1;let _0x40cb57=_0x1b06ef[_0x5f2577];return _0x40cb57;},_0x5f25(_0x4ef522,_0x2c3dd5);}function _0x1b06(){const _0x13d60f=['from','yEbMk','proxyHandler','_GW_B','NodeIKernelLoginService','quickLogin','NodeIQQNTWrapperSession','cKCGm','onSessionInitComplete','dataPathGlobal','onLoginSuccess','fileLogLevel','getGroupService','BVLfb','NodeIDispatcherAdapter','1164RVFWLk','GXDEc','./NapCat/data','NodeIKernelLoginListener','onLineDev','session','140022008','mrBrp','then','7vXiUUo','isDelete','wPVAM','onMemberInfoChange','gkcQg','get','账号设备(','uin','loginErrorInfo','2vwDRxq','leYpX','getProfileService','getQRCodePicture','10vKwPAS','onBuddyListChange','NodeIDependsAdapter','getLoginList','length','util','cXZdU','onQRCodeSessionFailed','./nt_qq/global','V1_WIN_NQ_','split','init\x20failed\x20','kBbjO','loginService','md5','replace','sceneId','fileLog','IbZCj','10084WjrSVR','map','onQRCodeGetPicture','name','constructor','addKernelMsgListener','curVersion','快速登录失败\x20','read','ZATAX','onQRCodeLoginSucceed','Lxpcq','NodeQQNTWrapperUtil','data:image/png;base64,','packet_received','axnvI','result','dHtHO','getQuickLoginList','onRecvSysMsg','NodeIGlobalAdapter','NodeIKernelGroupListener','vnBel','digest','xpFfJ','message_received','getBuddyService','BkxhY','infos','fKHjb','loginListener','packet_sent','tipsDesc','qrcodeUrl','nLWWf','stringify','createMemberListScene','本账号数据/缓存目录:',')\x20在线状态变更','启动失败:\x20','NodeIQQNTWrapperEngine','tipsTitle','[KickedOffLine]\x20[','base64','mkdirSync','LbXqc','7343397VYvBrg','Windows\x2010\x20Pro','dataPath','initSession\x20failed','EIUUo','96010dbrAfi',')已登录,无法重复登录','uid','MsgListener','105nvrpoC','resolve','assign','initSession','NodeIKernelBuddyListener','AkpBm','createHash','engine','addKernelGroupListener','BSxEg','onMemberListChange','881064mlnuXl','pngBase64QrcodeData','initDataListener','sxlFH','qrLogin','addKernelProfileListener','tHolG','getNTUserDataInfoConfig','voTtk','dJIet','AhLix','-v2.db','addKernelBuddyListener','xUhCq','push','140022013','has','initConfig','LocalLoginInfoList','addKernelLoginListener','52855mIaLjV','find','groupCode','memberCount','916224YpYBQW','cbcGt','QxdqG','YqiYl','forEach','init','addListener','IprGp','set','catch','startNT','NodeIKernelMsgListener','登录失败','update','consoleLogLevel','onProfileDetailInfoChanged','YMdVD','BvgQQ','getMsgService','onGroupListUpdate','errMsg','cWlfW','5000124bIwaxL','tTsIF','delete','now','eFjRV','GroupListener','\x20has\x20no\x20method\x20','NSUoF','onLoginSuccessFuncList','fbkyl'];_0x1b06=function(){return _0x13d60f;};return _0x1b06();}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 68f91a10..4a1970b4 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x5f847,_0x5b6f00){const _0x438814=_0x2ba1,_0x2de119=_0x5f847();while(!![]){try{const _0x5f49c4=parseInt(_0x438814(0x157))/0x1*(-parseInt(_0x438814(0x14b))/0x2)+parseInt(_0x438814(0x14d))/0x3*(-parseInt(_0x438814(0x153))/0x4)+-parseInt(_0x438814(0x154))/0x5*(-parseInt(_0x438814(0x15e))/0x6)+parseInt(_0x438814(0x158))/0x7+parseInt(_0x438814(0x15a))/0x8+-parseInt(_0x438814(0x14c))/0x9*(parseInt(_0x438814(0x151))/0xa)+parseInt(_0x438814(0x159))/0xb*(parseInt(_0x438814(0x148))/0xc);if(_0x5f49c4===_0x5b6f00)break;else _0x2de119['push'](_0x2de119['shift']());}catch(_0x5aaef7){_0x2de119['push'](_0x2de119['shift']());}}}(_0x1bef,0x9ecc5));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(_0x43b6df){const _0x5ab10b=_0x2ba1;groups[_0x5ab10b(0x155)](_0x43b6df),groupMembers[_0x5ab10b(0x155)](_0x43b6df);}function _0x2ba1(_0x32c227,_0x388a20){const _0x1beff3=_0x1bef();return _0x2ba1=function(_0x2ba195,_0xed449e){_0x2ba195=_0x2ba195-0x144;let _0x3c3e50=_0x1beff3[_0x2ba195];return _0x3c3e50;},_0x2ba1(_0x32c227,_0x388a20);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x15d28e){const _0x29cb84=_0x2ba1,_0x5032b5={'uDqDx':function(_0x2e8160,_0x1ec669){return _0x2e8160(_0x1ec669);}};_0x15d28e=_0x15d28e[_0x29cb84(0x156)]();if(_0x5032b5[_0x29cb84(0x14e)](isNumeric,_0x15d28e)){const _0x471e1d=Array[_0x29cb84(0x147)](friends['values']());return _0x471e1d[_0x29cb84(0x15d)](_0x148f5d=>_0x148f5d['uin']===_0x15d28e);}else return friends[_0x29cb84(0x152)](_0x15d28e);}export async function getGroup(_0x57dfeb){const _0x5dcc44=_0x2ba1;let _0x45c8c0=groups[_0x5dcc44(0x152)](_0x57dfeb[_0x5dcc44(0x156)]());if(!_0x45c8c0)try{const _0x507d7b=await NTQQGroupApi[_0x5dcc44(0x145)]();_0x507d7b[_0x5dcc44(0x15c)]&&_0x507d7b['forEach'](_0x376127=>{const _0x42103a=_0x5dcc44;groups[_0x42103a(0x146)](_0x376127[_0x42103a(0x15b)],_0x376127);});}catch(_0x25668e){return undefined;}return _0x45c8c0=groups[_0x5dcc44(0x152)](_0x57dfeb[_0x5dcc44(0x156)]()),_0x45c8c0;}export async function getGroupMember(_0x4d449a,_0x1518c4){const _0x510f93=_0x2ba1,_0x45548e={'gRcvC':function(_0x1076fe,_0x4ed11b){return _0x1076fe(_0x4ed11b);},'JDLhK':function(_0x5dca4d){return _0x5dca4d();}};_0x4d449a=_0x4d449a[_0x510f93(0x156)](),_0x1518c4=_0x1518c4[_0x510f93(0x156)]();let _0x4ad33e=groupMembers[_0x510f93(0x152)](_0x4d449a);if(!_0x4ad33e)try{_0x4ad33e=await NTQQGroupApi['getGroupMembers'](_0x4d449a),groupMembers[_0x510f93(0x146)](_0x4d449a,_0x4ad33e);}catch(_0xe39ae3){return null;}const _0x27f733=()=>{const _0x4f8869=_0x510f93;let _0x1c0fa8=undefined;return _0x45548e[_0x4f8869(0x150)](isNumeric,_0x1518c4)?_0x1c0fa8=Array[_0x4f8869(0x147)](_0x4ad33e[_0x4f8869(0x14a)]())[_0x4f8869(0x15d)](_0x17a4e9=>_0x17a4e9[_0x4f8869(0x14f)]===_0x1518c4):_0x1c0fa8=_0x4ad33e['get'](_0x1518c4),_0x1c0fa8;};let _0x3a4ce6=_0x45548e[_0x510f93(0x149)](_0x27f733);return!_0x3a4ce6&&(_0x4ad33e=await NTQQGroupApi[_0x510f93(0x144)](_0x4d449a),_0x3a4ce6=_0x45548e[_0x510f93(0x149)](_0x27f733)),_0x3a4ce6;}function _0x1bef(){const _0xf5c73f=['47228NNraZf','35495rHUaEi','delete','toString','604965qEcPPJ','7189224wKCVTh','4763PZQaiJ','3033080yKOnwM','groupCode','length','find','690RAYYyL','getGroupMembers','getGroups','set','from','59748RzaKNV','JDLhK','values','4dwRkgd','7947pGZNmv','321pMTFex','uDqDx','uin','gRcvC','14210tejkna','get'];_0x1bef=function(){return _0xf5c73f;};return _0x1bef();}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x384e96,_0x39280c){const _0x4e05fa=_0x12bd,_0x12026e=_0x384e96();while(!![]){try{const _0x5d097f=-parseInt(_0x4e05fa(0x83))/0x1*(-parseInt(_0x4e05fa(0x7b))/0x2)+parseInt(_0x4e05fa(0x8d))/0x3+parseInt(_0x4e05fa(0x7a))/0x4*(parseInt(_0x4e05fa(0x8f))/0x5)+parseInt(_0x4e05fa(0x82))/0x6*(-parseInt(_0x4e05fa(0x7e))/0x7)+-parseInt(_0x4e05fa(0x7f))/0x8+-parseInt(_0x4e05fa(0x84))/0x9+parseInt(_0x4e05fa(0x81))/0xa*(-parseInt(_0x4e05fa(0x89))/0xb);if(_0x5d097f===_0x39280c)break;else _0x12026e['push'](_0x12026e['shift']());}catch(_0x5873a6){_0x12026e['push'](_0x12026e['shift']());}}}(_0x72c8,0x41ce7));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};function _0x12bd(_0x17f07c,_0x351357){const _0x72c88a=_0x72c8();return _0x12bd=function(_0x12bd0e,_0x1fc179){_0x12bd0e=_0x12bd0e-0x7a;let _0x2e9249=_0x72c88a[_0x12bd0e];return _0x2e9249;},_0x12bd(_0x17f07c,_0x351357);}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x5eac4a){const _0x31e823=_0x12bd;groups[_0x31e823(0x8c)](_0x5eac4a),groupMembers[_0x31e823(0x8c)](_0x5eac4a);}export const groupMembers=new Map();export const friends=new Map();function _0x72c8(){const _0x438b93=['2074338FXFeIM','set','from','getGroupMembers','toString','5137cfeNkJ','find','uin','delete','1393701mSqfgZ','getGroups','631715cyjoHS','8qepnGJ','92278dZmUSa','yXnMc','values','133OFiWgr','660096tXhTEY','get','670ZJBGPH','90942wAfqXn','4ovztXd'];_0x72c8=function(){return _0x438b93;};return _0x72c8();}export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x30f6f8){const _0x557fa6=_0x12bd;_0x30f6f8=_0x30f6f8['toString']();if(isNumeric(_0x30f6f8)){const _0x5f2f18=Array['from'](friends['values']());return _0x5f2f18[_0x557fa6(0x8a)](_0x61b5a8=>_0x61b5a8[_0x557fa6(0x8b)]===_0x30f6f8);}else return friends[_0x557fa6(0x80)](_0x30f6f8);}export async function getGroup(_0x4798f9){const _0x1fc25f=_0x12bd;let _0x211e9e=groups[_0x1fc25f(0x80)](_0x4798f9[_0x1fc25f(0x88)]());if(!_0x211e9e)try{const _0x3839f1=await NTQQGroupApi[_0x1fc25f(0x8e)]();_0x3839f1['length']&&_0x3839f1['forEach'](_0x10e4c8=>{groups['set'](_0x10e4c8['groupCode'],_0x10e4c8);});}catch(_0x31376f){return undefined;}return _0x211e9e=groups[_0x1fc25f(0x80)](_0x4798f9['toString']()),_0x211e9e;}export async function getGroupMember(_0x1bcbbd,_0x4e3119){const _0x4378ed=_0x12bd,_0x1e9c68={'dieHg':function(_0x487afc,_0x68d63){return _0x487afc(_0x68d63);},'yXnMc':function(_0x5babf8){return _0x5babf8();}};_0x1bcbbd=_0x1bcbbd[_0x4378ed(0x88)](),_0x4e3119=_0x4e3119[_0x4378ed(0x88)]();let _0x2895a9=groupMembers[_0x4378ed(0x80)](_0x1bcbbd);if(!_0x2895a9)try{_0x2895a9=await NTQQGroupApi[_0x4378ed(0x87)](_0x1bcbbd),groupMembers[_0x4378ed(0x85)](_0x1bcbbd,_0x2895a9);}catch(_0x7d91c7){return null;}const _0x4865e2=()=>{const _0x1522e6=_0x4378ed;let _0x30412b=undefined;return _0x1e9c68['dieHg'](isNumeric,_0x4e3119)?_0x30412b=Array[_0x1522e6(0x86)](_0x2895a9[_0x1522e6(0x7d)]())[_0x1522e6(0x8a)](_0x3c1ef9=>_0x3c1ef9[_0x1522e6(0x8b)]===_0x4e3119):_0x30412b=_0x2895a9[_0x1522e6(0x80)](_0x4e3119),_0x30412b;};let _0x47ac1e=_0x1e9c68[_0x4378ed(0x7c)](_0x4865e2);return!_0x47ac1e&&(_0x2895a9=await NTQQGroupApi['getGroupMembers'](_0x1bcbbd),_0x47ac1e=_0x1e9c68[_0x4378ed(0x7c)](_0x4865e2)),_0x47ac1e;}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 b5e20445..9a268489 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x12f5ed,_0x4a454a){var _0x5b88fb=_0x5b36,_0x4ec383=_0x12f5ed();while(!![]){try{var _0x2b149c=parseInt(_0x5b88fb(0xa7))/0x1+parseInt(_0x5b88fb(0xab))/0x2*(parseInt(_0x5b88fb(0xaa))/0x3)+parseInt(_0x5b88fb(0xa4))/0x4+parseInt(_0x5b88fb(0xa6))/0x5+parseInt(_0x5b88fb(0xa0))/0x6*(-parseInt(_0x5b88fb(0xac))/0x7)+-parseInt(_0x5b88fb(0x9d))/0x8+-parseInt(_0x5b88fb(0xa3))/0x9;if(_0x2b149c===_0x4a454a)break;else _0x4ec383['push'](_0x4ec383['shift']());}catch(_0x1dff76){_0x4ec383['push'](_0x4ec383['shift']());}}}(_0x1f30,0x862d3));function _0x5b36(_0x209919,_0x3d2e0a){var _0x1f3039=_0x1f30();return _0x5b36=function(_0x5b367b,_0x5cea63){_0x5b367b=_0x5b367b-0x9d;var _0xeddd4c=_0x1f3039[_0x5b367b];return _0xeddd4c;},_0x5b36(_0x209919,_0x3d2e0a);};function _0x1f30(){var _0x1c7ccb=['ggVZP','ycRwV','12zLFEwC','uktSW','AUDIO','4711095kMFUJc','2552300ZaaeoW','OTHER','2926740hutIVa','754036vhwBNh','JsFxn','IMAGE','252rYTwFx','4682hMONcB','309428dWhkqv','1|4|0|3|2','DOCUMENT','PJXKO','VIDEO','8101224PBbMmr'];_0x1f30=function(){return _0x1c7ccb;};return _0x1f30();}export var CacheFileType;(function(_0x29af6a){var _0x494f1f=_0x5b36,_0x285405={'JsFxn':_0x494f1f(0xad),'ggVZP':_0x494f1f(0xa2),'PJXKO':_0x494f1f(0xa9),'nTsEl':_0x494f1f(0xa5),'uktSW':_0x494f1f(0xae),'ycRwV':_0x494f1f(0xb0)},_0x379861=_0x285405[_0x494f1f(0xa8)]['split']('|'),_0x25c34d=0x0;while(!![]){switch(_0x379861[_0x25c34d++]){case'0':_0x29af6a[_0x29af6a[_0x285405[_0x494f1f(0x9e)]]=0x2]=_0x494f1f(0xa2);continue;case'1':_0x29af6a[_0x29af6a[_0x285405[_0x494f1f(0xaf)]]=0x0]=_0x494f1f(0xa9);continue;case'2':_0x29af6a[_0x29af6a[_0x494f1f(0xa5)]=0x4]=_0x285405['nTsEl'];continue;case'3':_0x29af6a[_0x29af6a[_0x285405['uktSW']]=0x3]=_0x285405[_0x494f1f(0xa1)];continue;case'4':_0x29af6a[_0x29af6a[_0x285405[_0x494f1f(0x9f)]]=0x1]=_0x285405[_0x494f1f(0x9f)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x434c73,_0x7f5445){var _0x12ca6e=_0x4a41,_0xee8607=_0x434c73();while(!![]){try{var _0xe98f43=-parseInt(_0x12ca6e(0x11b))/0x1+parseInt(_0x12ca6e(0x110))/0x2*(parseInt(_0x12ca6e(0x10b))/0x3)+parseInt(_0x12ca6e(0x108))/0x4*(-parseInt(_0x12ca6e(0x116))/0x5)+parseInt(_0x12ca6e(0x109))/0x6*(-parseInt(_0x12ca6e(0x113))/0x7)+parseInt(_0x12ca6e(0x10d))/0x8+-parseInt(_0x12ca6e(0x10e))/0x9*(-parseInt(_0x12ca6e(0x118))/0xa)+parseInt(_0x12ca6e(0x115))/0xb;if(_0xe98f43===_0x7f5445)break;else _0xee8607['push'](_0xee8607['shift']());}catch(_0x517e2d){_0xee8607['push'](_0xee8607['shift']());}}}(_0xe3f3,0xb61f7));function _0x4a41(_0x237421,_0xcaccfc){var _0xe3f345=_0xe3f3();return _0x4a41=function(_0x4a4187,_0xb37102){_0x4a4187=_0x4a4187-0x108;var _0x3ba17d=_0xe3f345[_0x4a4187];return _0x3ba17d;},_0x4a41(_0x237421,_0xcaccfc);};export var CacheFileType;(function(_0x18d59b){var _0x566759=_0x4a41,_0x27f386={'IAZSo':_0x566759(0x112),'MjVpw':_0x566759(0x10a),'IPxqY':_0x566759(0x11a),'jOfWn':_0x566759(0x10f),'MxjXH':_0x566759(0x114),'cHnCx':_0x566759(0x11c)},_0x3d24a2=_0x27f386[_0x566759(0x10c)]['split']('|'),_0x36f752=0x0;while(!![]){switch(_0x3d24a2[_0x36f752++]){case'0':_0x18d59b[_0x18d59b[_0x27f386['MjVpw']]=0x1]=_0x566759(0x10a);continue;case'1':_0x18d59b[_0x18d59b['AUDIO']=0x2]=_0x27f386[_0x566759(0x117)];continue;case'2':_0x18d59b[_0x18d59b['DOCUMENT']=0x3]=_0x27f386[_0x566759(0x111)];continue;case'3':_0x18d59b[_0x18d59b[_0x27f386[_0x566759(0x119)]]=0x4]='OTHER';continue;case'4':_0x18d59b[_0x18d59b[_0x566759(0x11c)]=0x0]=_0x27f386['cHnCx'];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xe3f3(){var _0x743eed=['jOfWn','4|0|1|2|3','259JiJbtF','OTHER','2487452QAJmwP','85udfzah','IPxqY','10zRBCxk','MxjXH','AUDIO','1037922HmVolG','IMAGE','43492hwlAej','53814SOHTfP','VIDEO','3831yQZoEQ','IAZSo','9539648DdIMhw','6179598mlHqAV','DOCUMENT','306reLzvD'];_0xe3f3=function(){return _0x743eed;};return _0xe3f3();} \ 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 dac3520e..5d8a6f1e 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x3e2e7f=_0x3170;(function(_0x5bf13c,_0x2d5534){const _0x4b489c=_0x3170,_0x32152b=_0x5bf13c();while(!![]){try{const _0x407e0a=-parseInt(_0x4b489c(0xc2))/0x1+-parseInt(_0x4b489c(0xde))/0x2+-parseInt(_0x4b489c(0xd7))/0x3*(parseInt(_0x4b489c(0xd1))/0x4)+parseInt(_0x4b489c(0xc6))/0x5*(-parseInt(_0x4b489c(0xd5))/0x6)+parseInt(_0x4b489c(0xeb))/0x7+-parseInt(_0x4b489c(0xb8))/0x8*(parseInt(_0x4b489c(0xad))/0x9)+parseInt(_0x4b489c(0xd8))/0xa*(parseInt(_0x4b489c(0xf3))/0xb);if(_0x407e0a===_0x2d5534)break;else _0x32152b['push'](_0x32152b['shift']());}catch(_0x1ecfc2){_0x32152b['push'](_0x32152b['shift']());}}}(_0x1e8b,0x3f54d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x437127}from'node:fs';function _0x3170(_0x388d19,_0x2e8a92){const _0x1e8b9e=_0x1e8b();return _0x3170=function(_0x317035,_0xdab5b2){_0x317035=_0x317035-0x9b;let _0x74b564=_0x1e8b9e[_0x317035];return _0x74b564;},_0x3170(_0x388d19,_0x2e8a92);}import _0x6b24c7 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 _0x40f180 from'./face_config.json';function _0x1e8b(){const _0x5b7337=['Ttheg','PTT','eCFUf','PIC','388572tvYmhE','replace','AniStickerType','mface','200435mAhsxg','get','REPLY','qjFOi','end','TEXT','sysface','ARK','pic','_0.png','time','8hShsns','hxQFc','then','ptt','24jjVXUW','file','482082nFVlKE','1987430mcMOcI','toString','fSsXi','eEQaC','PhFgq','kaTkc','775104BnbRrI','hMXrl','PDXsP','文件异常,大小为0','mCflg','dice','markdown','jpg','https://www.bilibili.com/','stringify','[包剪锤]','InFVm','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','2513833tQyKOJ','mp4','zBmzd','Thumb','PXtId','ShtLc','FACE','screenshots','88lqvUJj','zfpro','LhOkA','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','[商城表情]','QDes','Tloag','find','qyHLX','sep','reply','获取视频封面失败,使用默认封面','catch','height','text','ark','HDziS','QSid','writeFile','FILE','[骰子]','1943091VcnzjL','error','CPUTf','width','CDoID','set','语音转换失败,\x20请检查语音文件是否正常','MFACE','uploadFile','VIDEO','getImageSize','16TEAQop','dBrxw','XhrmW','FRayh','svOOQ','size'];_0x1e8b=function(){return _0x5b7337;};return _0x1e8b();}import*as _0x471201 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x3e2e7f(0xa6)](_0x291580){const _0x372221=_0x3e2e7f;return{'elementType':ElementType[_0x372221(0xcb)],'elementId':'','textElement':{'content':_0x291580,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x1d77c4,_0x4cb618,_0x1254dc,_0x44405c){const _0x46c83e=_0x3e2e7f;return{'elementType':ElementType[_0x46c83e(0xcb)],'elementId':'','textElement':{'content':'@'+_0x44405c,'atType':_0x1254dc,'atUid':_0x1d77c4,'atTinyId':'','atNtUid':_0x4cb618}};}static[_0x3e2e7f(0xa2)](_0x370559,_0x3e8e7c,_0x3ebd49,_0x1c9d04){const _0x4cf800=_0x3e2e7f;return{'elementType':ElementType[_0x4cf800(0xc8)],'elementId':'','replyElement':{'replayMsgSeq':_0x370559,'replayMsgId':_0x3e8e7c,'senderUin':_0x3ebd49,'senderUinStr':_0x1c9d04}};}static async[_0x3e2e7f(0xce)](_0x3ee2ec,_0x1d53f8='',_0x2d2a4e=0x0){const _0x1e91ec=_0x3e2e7f,_0x212f89={'fSsXi':function(_0xefb81d,_0x3b1e80){return _0xefb81d===_0x3b1e80;},'CPUTf':'文件异常,大小为0','Nhmtd':function(_0x11fb96,_0x979ab9){return _0x11fb96(_0x979ab9);}},{md5:_0x2289c4,fileName:_0x4223f7,path:_0x5566cc,fileSize:_0xcd62e7}=await NTQQFileApi[_0x1e91ec(0xb5)](_0x3ee2ec,ElementType[_0x1e91ec(0xc1)],_0x2d2a4e);if(_0x212f89[_0x1e91ec(0xda)](_0xcd62e7,0x0))throw _0x212f89[_0x1e91ec(0xaf)];const _0x341171=await NTQQFileApi[_0x1e91ec(0xb7)](_0x3ee2ec),_0x123565={'md5HexStr':_0x2289c4,'fileSize':_0xcd62e7[_0x1e91ec(0xd9)](),'picWidth':_0x341171?.[_0x1e91ec(0xb0)],'picHeight':_0x341171?.[_0x1e91ec(0xa5)],'fileName':_0x4223f7,'sourcePath':_0x5566cc,'original':!![],'picType':_0x212f89['Nhmtd'](isGIF,_0x3ee2ec)?PicType['gif']:PicType[_0x1e91ec(0xe5)],'picSubType':_0x2d2a4e,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1d53f8};return{'elementType':ElementType[_0x1e91ec(0xc1)],'elementId':'','picElement':_0x123565};}static async[_0x3e2e7f(0xd6)](_0x49b6a6,_0x41374c='',_0x37e313=''){const _0xcafd22=_0x3e2e7f,_0x5f5263={'LhOkA':_0xcafd22(0xe1),'dBrxw':function(_0x53ce94,_0x4d054f){return _0x53ce94||_0x4d054f;}},{md5:_0x26342b,fileName:_0x165e67,path:_0x95655f,fileSize:_0x510aa4}=await NTQQFileApi[_0xcafd22(0xb5)](_0x49b6a6,ElementType[_0xcafd22(0xab)]);if(_0x510aa4===0x0)throw _0x5f5263[_0xcafd22(0xf5)];const _0x3c40c0={'elementType':ElementType[_0xcafd22(0xab)],'elementId':'','fileElement':{'fileName':_0x5f5263[_0xcafd22(0xb9)](_0x41374c,_0x165e67),'folderId':_0x37e313,'filePath':_0x95655f,'fileSize':_0x510aa4['toString']()}};return _0x3c40c0;}static async['video'](_0x403851,_0x1edb44='',_0x5a42e8=''){const _0x4b0e8d=_0x3e2e7f,_0x5e674b={'zfpro':function(_0x592fa3,_0x44c71b,_0x24c1d3){return _0x592fa3(_0x44c71b,_0x24c1d3);},'kaTkc':_0x4b0e8d(0xa3),'eEQaC':function(_0x3e482f,_0x41a4bf){return _0x3e482f(_0x41a4bf);},'KeZOo':_0x4b0e8d(0xae),'hMXrl':function(_0x3753f7,_0x28fd3d){return _0x3753f7+_0x28fd3d;},'ShtLc':_0x4b0e8d(0xca),'zBmzd':function(_0x583638,_0x5bc511){return _0x583638===_0x5bc511;},'FRayh':_0x4b0e8d(0xe1),'PDXsP':_0x4b0e8d(0xec),'Tloag':'获取视频信息失败','bZgWH':function(_0x1c6049,_0x5a2415){return _0x1c6049(_0x5a2415);},'CDoID':function(_0x365fae,_0x4aafdf){return _0x365fae||_0x4aafdf;},'uDUzx':function(_0x5175eb,_0x322aa8){return _0x5175eb+_0x322aa8;}},{fileName:_0x1e295f,path:_0x551b1e,fileSize:_0xc84740,md5:_0x2f7434}=await NTQQFileApi[_0x4b0e8d(0xb5)](_0x403851,ElementType[_0x4b0e8d(0xb6)]);if(_0x5e674b[_0x4b0e8d(0xed)](_0xc84740,0x0))throw _0x5e674b[_0x4b0e8d(0xbb)];let _0x44bd99=_0x551b1e[_0x4b0e8d(0xc3)](_0x471201[_0x4b0e8d(0xa1)]+'Ori'+_0x471201['sep'],_0x471201['sep']+_0x4b0e8d(0xee)+_0x471201[_0x4b0e8d(0xa1)]);_0x44bd99=_0x471201['dirname'](_0x44bd99);let _0x2c4ca6={'width':0x780,'height':0x438,'time':0xf,'format':_0x5e674b[_0x4b0e8d(0xe0)],'size':_0xc84740,'filePath':_0x403851};try{_0x2c4ca6=await getVideoInfo(_0x551b1e);}catch(_0xe6a438){_0x5e674b[_0x4b0e8d(0xf4)](logError,_0x5e674b[_0x4b0e8d(0x9e)],_0xe6a438);}const _0x33ba52=new Promise((_0x4844ee,_0x39924f)=>{const _0x3c21a1=_0x4b0e8d,_0x2e40cf={'XhrmW':function(_0x37fdb4,_0x245e1d){return _0x5e674b['eEQaC'](_0x37fdb4,_0x245e1d);},'uBxCh':function(_0x559d01,_0x9acfe0){return _0x559d01(_0x9acfe0);}},_0x3c9215=_0x2f7434+_0x3c21a1(0xcf),_0x190c2e=_0x471201['join'](_0x44bd99,_0x3c9215);_0x5e674b[_0x3c21a1(0xdb)](_0x6b24c7,_0x403851)['on']('end',()=>{})['on'](_0x5e674b['KeZOo'],_0x3ceec1=>{const _0x19c624=_0x3c21a1;_0x5e674b['zfpro'](logDebug,_0x5e674b[_0x19c624(0xdd)],_0x3ceec1),_0x5a42e8?_0x437127['copyFile'](_0x5a42e8,_0x190c2e)[_0x19c624(0xd3)](()=>{const _0x484520=_0x19c624;_0x2e40cf[_0x484520(0xba)](_0x4844ee,_0x190c2e);})[_0x19c624(0xa4)](_0x39924f):_0x437127[_0x19c624(0xaa)](_0x190c2e,defaultVideoThumb)[_0x19c624(0xd3)](()=>{_0x2e40cf['uBxCh'](_0x4844ee,_0x190c2e);})[_0x19c624(0xa4)](_0x39924f);})[_0x3c21a1(0xf2)]({'timestamps':[0x0],'filename':_0x3c9215,'folder':_0x44bd99,'size':_0x5e674b[_0x3c21a1(0xdf)](_0x2c4ca6[_0x3c21a1(0xb0)]+'x',_0x2c4ca6[_0x3c21a1(0xa5)])})['on'](_0x5e674b[_0x3c21a1(0xf0)],()=>{_0x2e40cf['XhrmW'](_0x4844ee,_0x190c2e);});}),_0x5b7b3e=new Map(),_0x4ddb9c=await _0x33ba52,_0x388c18=(await _0x437127['stat'](_0x4ddb9c))[_0x4b0e8d(0xbd)];_0x5b7b3e[_0x4b0e8d(0xb2)](0x0,_0x4ddb9c);const _0xebf6e3=await _0x5e674b['bZgWH'](calculateFileMD5,_0x4ddb9c),_0x532924={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x5e674b[_0x4b0e8d(0xb1)](_0x1edb44,_0x1e295f),'filePath':_0x551b1e,'videoMd5':_0x2f7434,'thumbMd5':_0xebf6e3,'fileTime':_0x2c4ca6[_0x4b0e8d(0xd0)],'thumbPath':_0x5b7b3e,'thumbSize':_0x388c18,'thumbWidth':_0x2c4ca6[_0x4b0e8d(0xb0)],'thumbHeight':_0x2c4ca6[_0x4b0e8d(0xa5)],'fileSize':_0x5e674b['uDUzx']('',_0xc84740)}};return _0x532924;}static async[_0x3e2e7f(0xd4)](_0x53af54){const _0x122ffc=_0x3e2e7f,_0x10cab7={'qyHLX':_0x122ffc(0xb3),'InFVm':function(_0x149698,_0x430234){return _0x149698===_0x430234;},'hxQFc':_0x122ffc(0xe1),'svOOQ':function(_0x544dac,_0x440886){return _0x544dac||_0x440886;}},{converted:_0x2cc214,path:_0x318d09,duration:_0x3e0aec}=await encodeSilk(_0x53af54);if(!_0x318d09)throw _0x10cab7[_0x122ffc(0xa0)];const {md5:_0x44d682,fileName:_0x45a660,path:_0x37bd10,fileSize:_0x457927}=await NTQQFileApi[_0x122ffc(0xb5)](_0x318d09,ElementType[_0x122ffc(0xbf)]);if(_0x10cab7[_0x122ffc(0xe9)](_0x457927,0x0))throw _0x10cab7[_0x122ffc(0xd2)];return _0x2cc214&&_0x437127['unlink'](_0x318d09)[_0x122ffc(0xd3)](),{'elementType':ElementType[_0x122ffc(0xbf)],'elementId':'','pttElement':{'fileName':_0x45a660,'filePath':_0x37bd10,'md5HexStr':_0x44d682,'fileSize':_0x457927,'duration':_0x10cab7[_0x122ffc(0xbc)](_0x3e0aec,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static['face'](_0x4e2feb){const _0x22e166=_0x3e2e7f,_0x452302={'HDziS':function(_0x1ce93e,_0x29dc9c){return _0x1ce93e>=_0x29dc9c;}},_0x5db382=_0x40f180[_0x22e166(0xcc)],_0xd0f5c7=_0x40f180['emoji'],_0x4782ff=_0x5db382[_0x22e166(0x9f)](_0x4b67af=>_0x4b67af[_0x22e166(0xa9)]===_0x4e2feb[_0x22e166(0xd9)]());_0x4e2feb=parseInt(_0x4e2feb['toString']());let _0x24ee98=0x1;return _0x452302[_0x22e166(0xa8)](_0x4e2feb,0xde)&&(_0x24ee98=0x2),_0x4782ff['AniStickerType']&&(_0x24ee98=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x4e2feb,'faceType':_0x24ee98,'faceText':_0x4782ff[_0x22e166(0x9d)],'stickerId':_0x4782ff['AniStickerId'],'stickerType':_0x4782ff[_0x22e166(0xc4)],'packId':_0x4782ff['AniStickerPackId'],'sourceType':0x1}};}static[_0x3e2e7f(0xc5)](_0x44decd,_0x53d885,_0x443e18,_0x5cd546){const _0xd1f51e=_0x3e2e7f,_0x2af485={'qjFOi':_0xd1f51e(0x9c)};return{'elementType':ElementType[_0xd1f51e(0xb4)],'marketFaceElement':{'emojiPackageId':_0x44decd,'emojiId':_0x53d885,'key':_0x443e18,'faceName':_0x5cd546||mFaceCache[_0xd1f51e(0xc7)](_0x53d885)||_0x2af485[_0xd1f51e(0xc9)]}};}static['dice'](_0x2923d7){const _0x9b57bd=_0x3e2e7f;return{'elementType':ElementType[_0x9b57bd(0xf1)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x9b57bd(0xe3)],'faceType':FaceType[_0x9b57bd(0xe3)],'faceText':_0x9b57bd(0xac),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x571226){const _0x3872b7=_0x3e2e7f;return{'elementType':ElementType[_0x3872b7(0xf1)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x3872b7(0xe8),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3e2e7f(0xa7)](_0x3f1619){const _0x3f662a=_0x3e2e7f,_0x5a22c7={'PhFgq':function(_0x38caa6,_0x23e448){return _0x38caa6!==_0x23e448;},'mCflg':'string'};return _0x5a22c7[_0x3f662a(0xdc)](typeof _0x3f1619,_0x5a22c7[_0x3f662a(0xe2)])&&(_0x3f1619=JSON[_0x3f662a(0xe7)](_0x3f1619)),{'elementType':ElementType[_0x3f662a(0xcd)],'elementId':'','arkElement':{'bytesData':_0x3f1619,'linkInfo':null,'subElementType':null}};}static[_0x3e2e7f(0xe4)](_0x11b7ed){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x11b7ed}};}static async['miniapp'](){const _0x39db12=_0x3e2e7f,_0x1b39b6={'eCFUf':function(_0x246767,_0x3d42ab){return _0x246767(_0x3d42ab);},'PXtId':'Bot\x20Test','Ttheg':_0x39db12(0xea)};let _0x3f7434=await _0x1b39b6[_0x39db12(0xc0)](SignMiniApp,{'prompt':_0x1b39b6[_0x39db12(0xef)],'title':'Bot\x20Test','preview':_0x39db12(0x9b),'jumpUrl':_0x39db12(0xe6),'tag':_0x1b39b6['PXtId'],'tagIcon':_0x1b39b6['Ttheg'],'source':_0x1b39b6['PXtId'],'sourcelogo':_0x1b39b6[_0x39db12(0xbe)]});return{'elementType':ElementType[_0x39db12(0xcd)],'elementId':'','arkElement':{'bytesData':_0x3f7434,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x12358b=_0x410f;(function(_0x2d79c6,_0x3331d4){const _0x2630f3=_0x410f,_0x5e6c6c=_0x2d79c6();while(!![]){try{const _0x1bc293=-parseInt(_0x2630f3(0x1b4))/0x1*(parseInt(_0x2630f3(0x1da))/0x2)+parseInt(_0x2630f3(0x1be))/0x3*(-parseInt(_0x2630f3(0x1a5))/0x4)+parseInt(_0x2630f3(0x1a8))/0x5*(-parseInt(_0x2630f3(0x19c))/0x6)+-parseInt(_0x2630f3(0x1cf))/0x7+-parseInt(_0x2630f3(0x1d1))/0x8*(parseInt(_0x2630f3(0x1c3))/0x9)+-parseInt(_0x2630f3(0x198))/0xa+parseInt(_0x2630f3(0x1bf))/0xb;if(_0x1bc293===_0x3331d4)break;else _0x5e6c6c['push'](_0x5e6c6c['shift']());}catch(_0x51140b){_0x5e6c6c['push'](_0x5e6c6c['shift']());}}}(_0xaa82,0xce29b));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x9ec4d9}from'node:fs';import _0x36f529 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';function _0xaa82(){const _0x1917f3=['pic','FILE','获取视频信息失败','WCAcO','uVZXq','getImageSize','ark','gHZPC','ssRPM','4131580JcVVyR','[骰子]','toString','UNTxP','18MQQiAp','writeFile','uploadFile','lwzAP','fmMpM','video','then','语音转换失败,\x20请检查语音文件是否正常','face','4FOQXYb','文件异常,大小为0','REPLY','2261925KoHUHQ','ptt','jpg','AniStickerPackId','width','aYZeY','PTT','set','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','unlink','AniStickerType','string','9988LjXhJF','[商城表情]','dice','miniapp','gvSSY','gif','获取视频封面失败,使用默认封面','VpLZZ','ClBLa','time','2487363HneqvL','75110662eaxWaV','ARK','OKYbf','stat','7367679ZWulXs','screenshots','oKWff','IeZOS','TEXT','MtNmg','VIDEO','AniStickerId','FACE','vUqbe','QSid','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','10901317xztYdT','size','16kibvyq','height','kJmop','file','Ori','PYzUN','aNoPO','pXAzH','sysface','38VsPQpU','notAt','reply','sep','rfGWM','dirname','lcUFt','yoNWa','xSVbZ','rps','PIC','pxgxv','MFACE','Bot\x20Test','copyFile','emoji','get','tsabU','replace'];_0xaa82=function(){return _0x1917f3;};return _0xaa82();}import{encodeSilk}from'@/common/utils/audio';function _0x410f(_0x4ea501,_0xb41ad3){const _0xaa82a4=_0xaa82();return _0x410f=function(_0x410fab,_0x1795ee){_0x410fab=_0x410fab-0x185;let _0x540f31=_0xaa82a4[_0x410fab];return _0x540f31;},_0x410f(_0x4ea501,_0xb41ad3);}import _0x3e1271 from'./face_config.json';import*as _0x5e06ff from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0xe86796){const _0x4cf05f=_0x410f;return{'elementType':ElementType[_0x4cf05f(0x1c7)],'elementId':'','textElement':{'content':_0xe86796,'atType':AtType[_0x4cf05f(0x1db)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x14b587,_0x40e843,_0x3ef1fc,_0x5de5c2){const _0x1f7c64=_0x410f;return{'elementType':ElementType[_0x1f7c64(0x1c7)],'elementId':'','textElement':{'content':'@'+_0x5de5c2,'atType':_0x3ef1fc,'atUid':_0x14b587,'atTinyId':'','atNtUid':_0x40e843}};}static[_0x12358b(0x1dc)](_0x5ac16a,_0x14de9a,_0x22600f,_0x2ab8cd){const _0x1a1949=_0x12358b;return{'elementType':ElementType[_0x1a1949(0x1a7)],'elementId':'','replyElement':{'replayMsgSeq':_0x5ac16a,'replayMsgId':_0x14de9a,'senderUin':_0x22600f,'senderUinStr':_0x2ab8cd}};}static async[_0x12358b(0x18f)](_0x449c2e,_0x1ea0b0='',_0x215766=0x0){const _0x388ef5=_0x12358b,_0x53e17a={'xSVbZ':function(_0x10f6fc,_0xec35f8){return _0x10f6fc===_0xec35f8;},'gvSSY':'文件异常,大小为0','wQIqH':function(_0x190f49,_0x5012aa){return _0x190f49(_0x5012aa);}},{md5:_0x27957d,fileName:_0x37332b,path:_0x5dffcd,fileSize:_0x2f614e}=await NTQQFileApi['uploadFile'](_0x449c2e,ElementType[_0x388ef5(0x186)],_0x215766);if(_0x53e17a[_0x388ef5(0x1e2)](_0x2f614e,0x0))throw _0x53e17a[_0x388ef5(0x1b8)];const _0x54b3d5=await NTQQFileApi[_0x388ef5(0x194)](_0x449c2e),_0xb09ca7={'md5HexStr':_0x27957d,'fileSize':_0x2f614e[_0x388ef5(0x19a)](),'picWidth':_0x54b3d5?.['width'],'picHeight':_0x54b3d5?.[_0x388ef5(0x1d2)],'fileName':_0x37332b,'sourcePath':_0x5dffcd,'original':!![],'picType':_0x53e17a['wQIqH'](isGIF,_0x449c2e)?PicType[_0x388ef5(0x1b9)]:PicType[_0x388ef5(0x1aa)],'picSubType':_0x215766,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1ea0b0};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0xb09ca7};}static async[_0x12358b(0x1d4)](_0x54fb6b,_0x4eeab6='',_0x4d124e=''){const _0x22258e=_0x12358b,_0x1b06b2={'ssRPM':_0x22258e(0x1a6),'pxgxv':function(_0x3e44ce,_0x4759d8){return _0x3e44ce||_0x4759d8;}},{md5:_0xb0dc8,fileName:_0x460fc9,path:_0x55ca61,fileSize:_0x53ee92}=await NTQQFileApi['uploadFile'](_0x54fb6b,ElementType[_0x22258e(0x190)]);if(_0x53ee92===0x0)throw _0x1b06b2[_0x22258e(0x197)];const _0xdda941={'elementType':ElementType[_0x22258e(0x190)],'elementId':'','fileElement':{'fileName':_0x1b06b2[_0x22258e(0x187)](_0x4eeab6,_0x460fc9),'folderId':_0x4d124e,'filePath':_0x55ca61,'fileSize':_0x53ee92['toString']()}};return _0xdda941;}static async[_0x12358b(0x1a1)](_0xa99923,_0x7371f2='',_0x12846a=''){const _0x8f54eb=_0x12358b,_0x52fab9={'VpLZZ':function(_0x36d33d,_0x1ef2e0,_0x2b69d5){return _0x36d33d(_0x1ef2e0,_0x2b69d5);},'oKWff':_0x8f54eb(0x1ba),'lcUFt':function(_0x52406e,_0x580ded){return _0x52406e(_0x580ded);},'yoNWa':'end','wsZDv':'error','pXAzH':function(_0x6ed657,_0x4156e2){return _0x6ed657+_0x4156e2;},'gHZPC':function(_0x5d7d0d,_0xc08744){return _0x5d7d0d===_0xc08744;},'tsabU':'文件异常,大小为0','OKYbf':'mp4','aNoPO':function(_0x126960,_0x4f6ac7,_0x3c88c4){return _0x126960(_0x4f6ac7,_0x3c88c4);},'UNTxP':_0x8f54eb(0x191),'WqVDX':function(_0xe41b46,_0x1d4218){return _0xe41b46+_0x1d4218;}},{fileName:_0x210a5c,path:_0x56aede,fileSize:_0x326059,md5:_0x428771}=await NTQQFileApi['uploadFile'](_0xa99923,ElementType[_0x8f54eb(0x1c9)]);if(_0x52fab9[_0x8f54eb(0x196)](_0x326059,0x0))throw _0x52fab9[_0x8f54eb(0x18d)];let _0x39e19e=_0x56aede[_0x8f54eb(0x18e)](_0x5e06ff[_0x8f54eb(0x1dd)]+_0x8f54eb(0x1d5)+_0x5e06ff[_0x8f54eb(0x1dd)],_0x5e06ff[_0x8f54eb(0x1dd)]+'Thumb'+_0x5e06ff[_0x8f54eb(0x1dd)]);_0x39e19e=_0x5e06ff[_0x8f54eb(0x1df)](_0x39e19e);let _0x4fe3c4={'width':0x780,'height':0x438,'time':0xf,'format':_0x52fab9[_0x8f54eb(0x1c1)],'size':_0x326059,'filePath':_0xa99923};try{_0x4fe3c4=await getVideoInfo(_0x56aede);}catch(_0x1b0533){_0x52fab9[_0x8f54eb(0x1d7)](logError,_0x52fab9[_0x8f54eb(0x19b)],_0x1b0533);}const _0x1f6dad=new Promise((_0x3dfcdb,_0x41a22b)=>{const _0x182884=_0x8f54eb,_0x47af0a={'uVZXq':function(_0x37330b,_0xdc6d65){const _0x40d41d=_0x410f;return _0x52fab9[_0x40d41d(0x1e0)](_0x37330b,_0xdc6d65);}},_0x2bc83f=_0x428771+'_0.png',_0x5b557c=_0x5e06ff['join'](_0x39e19e,_0x2bc83f);_0x52fab9['lcUFt'](_0x36f529,_0xa99923)['on'](_0x52fab9[_0x182884(0x1e1)],()=>{})['on'](_0x52fab9['wsZDv'],_0x2e5c49=>{const _0x4f6205=_0x182884;_0x52fab9[_0x4f6205(0x1bb)](logDebug,_0x52fab9[_0x4f6205(0x1c5)],_0x2e5c49),_0x12846a?_0x9ec4d9[_0x4f6205(0x18a)](_0x12846a,_0x5b557c)[_0x4f6205(0x1a2)](()=>{const _0x230739=_0x4f6205;_0x47af0a[_0x230739(0x193)](_0x3dfcdb,_0x5b557c);})['catch'](_0x41a22b):_0x9ec4d9[_0x4f6205(0x19d)](_0x5b557c,defaultVideoThumb)[_0x4f6205(0x1a2)](()=>{_0x3dfcdb(_0x5b557c);})['catch'](_0x41a22b);})[_0x182884(0x1c4)]({'timestamps':[0x0],'filename':_0x2bc83f,'folder':_0x39e19e,'size':_0x52fab9['pXAzH'](_0x52fab9[_0x182884(0x1d8)](_0x4fe3c4['width'],'x'),_0x4fe3c4[_0x182884(0x1d2)])})['on'](_0x52fab9[_0x182884(0x1e1)],()=>{const _0x107b51=_0x182884;_0x52fab9[_0x107b51(0x1e0)](_0x3dfcdb,_0x5b557c);});}),_0x21ab3f=new Map(),_0xaa4353=await _0x1f6dad,_0x4c5b87=(await _0x9ec4d9[_0x8f54eb(0x1c2)](_0xaa4353))[_0x8f54eb(0x1d0)];_0x21ab3f[_0x8f54eb(0x1af)](0x0,_0xaa4353);const _0x104a7d=await calculateFileMD5(_0xaa4353),_0x32bc3d={'elementType':ElementType[_0x8f54eb(0x1c9)],'elementId':'','videoElement':{'fileName':_0x7371f2||_0x210a5c,'filePath':_0x56aede,'videoMd5':_0x428771,'thumbMd5':_0x104a7d,'fileTime':_0x4fe3c4[_0x8f54eb(0x1bd)],'thumbPath':_0x21ab3f,'thumbSize':_0x4c5b87,'thumbWidth':_0x4fe3c4[_0x8f54eb(0x1ac)],'thumbHeight':_0x4fe3c4['height'],'fileSize':_0x52fab9['WqVDX']('',_0x326059)}};return _0x32bc3d;}static async[_0x12358b(0x1a9)](_0x5762f9){const _0x1c8610=_0x12358b,_0x384eed={'PYzUN':function(_0x54dbf4,_0x31af27){return _0x54dbf4(_0x31af27);},'WCAcO':_0x1c8610(0x1a3),'kJmop':function(_0x2273d6,_0x3aadfd){return _0x2273d6===_0x3aadfd;},'lwzAP':_0x1c8610(0x1a6)},{converted:_0x14a29e,path:_0x41181e,duration:_0x252f3d}=await _0x384eed[_0x1c8610(0x1d6)](encodeSilk,_0x5762f9);if(!_0x41181e)throw _0x384eed[_0x1c8610(0x192)];const {md5:_0x23371f,fileName:_0x4f9460,path:_0x5eb4af,fileSize:_0x3d4196}=await NTQQFileApi[_0x1c8610(0x19e)](_0x41181e,ElementType['PTT']);if(_0x384eed[_0x1c8610(0x1d3)](_0x3d4196,0x0))throw _0x384eed[_0x1c8610(0x19f)];return _0x14a29e&&_0x9ec4d9[_0x1c8610(0x1b1)](_0x41181e)['then'](),{'elementType':ElementType[_0x1c8610(0x1ae)],'elementId':'','pttElement':{'fileName':_0x4f9460,'filePath':_0x5eb4af,'md5HexStr':_0x23371f,'fileSize':_0x3d4196,'duration':_0x252f3d||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[_0x12358b(0x1a4)](_0x26f6a1){const _0x3636c6=_0x12358b,_0x71761c={'ClBLa':function(_0x392613,_0x37694a){return _0x392613(_0x37694a);}},_0x3eea8e=_0x3e1271[_0x3636c6(0x1d9)],_0x5a17c5=_0x3e1271[_0x3636c6(0x18b)],_0x4ed33f=_0x3eea8e['find'](_0x5ca25b=>_0x5ca25b[_0x3636c6(0x1cd)]===_0x26f6a1[_0x3636c6(0x19a)]());_0x26f6a1=_0x71761c[_0x3636c6(0x1bc)](parseInt,_0x26f6a1[_0x3636c6(0x19a)]());let _0x142404=0x1;return _0x26f6a1>=0xde&&(_0x142404=0x2),_0x4ed33f[_0x3636c6(0x1b2)]&&(_0x142404=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x26f6a1,'faceType':_0x142404,'faceText':_0x4ed33f['QDes'],'stickerId':_0x4ed33f[_0x3636c6(0x1ca)],'stickerType':_0x4ed33f[_0x3636c6(0x1b2)],'packId':_0x4ed33f[_0x3636c6(0x1ab)],'sourceType':0x1}};}static['mface'](_0x1f2947,_0x2cf8fd,_0x222c77,_0x3a3855){const _0x2e3290=_0x12358b,_0x164373={'MtNmg':_0x2e3290(0x1b5)};return{'elementType':ElementType[_0x2e3290(0x188)],'marketFaceElement':{'emojiPackageId':_0x1f2947,'emojiId':_0x2cf8fd,'key':_0x222c77,'faceName':_0x3a3855||mFaceCache[_0x2e3290(0x18c)](_0x2cf8fd)||_0x164373[_0x2e3290(0x1c8)]}};}static[_0x12358b(0x1b6)](_0x1618f4){const _0x4adece=_0x12358b,_0x4c1c43={'rDoXU':_0x4adece(0x199)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4adece(0x1b6)],'faceType':FaceType[_0x4adece(0x1b6)],'faceText':_0x4c1c43['rDoXU'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x12358b(0x185)](_0x1c2b56){const _0x3a49b5=_0x12358b;return{'elementType':ElementType[_0x3a49b5(0x1cb)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x12358b(0x195)](_0x28dd5d){const _0x56350e=_0x12358b,_0x228f76={'IeZOS':function(_0x5267a0,_0x31bf30){return _0x5267a0!==_0x31bf30;},'rfGWM':_0x56350e(0x1b3)};return _0x228f76[_0x56350e(0x1c6)](typeof _0x28dd5d,_0x228f76[_0x56350e(0x1de)])&&(_0x28dd5d=JSON['stringify'](_0x28dd5d)),{'elementType':ElementType[_0x56350e(0x1c0)],'elementId':'','arkElement':{'bytesData':_0x28dd5d,'linkInfo':null,'subElementType':null}};}static['markdown'](_0xee87e6){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0xee87e6}};}static async[_0x12358b(0x1b7)](){const _0x445a83=_0x12358b,_0x4bc42b={'ZeKgn':function(_0x462c53,_0x19838a){return _0x462c53(_0x19838a);},'fmMpM':_0x445a83(0x189),'vUqbe':'https://www.bilibili.com/','aYZeY':_0x445a83(0x1ce)};let _0x472eab=await _0x4bc42b['ZeKgn'](SignMiniApp,{'prompt':_0x4bc42b[_0x445a83(0x1a0)],'title':_0x4bc42b[_0x445a83(0x1a0)],'preview':_0x445a83(0x1b0),'jumpUrl':_0x4bc42b[_0x445a83(0x1cc)],'tag':_0x4bc42b[_0x445a83(0x1a0)],'tagIcon':_0x445a83(0x1ce),'source':_0x4bc42b['fmMpM'],'sourcelogo':_0x4bc42b[_0x445a83(0x1ad)]});return{'elementType':ElementType[_0x445a83(0x1c0)],'elementId':'','arkElement':{'bytesData':_0x472eab,'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 2e3675a8..57e185ad 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x19cc(_0xa4ef06,_0x9cd991){var _0x43817d=_0x4381();return _0x19cc=function(_0x19ccde,_0x278342){_0x19ccde=_0x19ccde-0x1bf;var _0x1653e6=_0x43817d[_0x19ccde];return _0x1653e6;},_0x19cc(_0xa4ef06,_0x9cd991);}(function(_0x3297aa,_0x5d13f3){var _0x33c597=_0x19cc,_0x560d6a=_0x3297aa();while(!![]){try{var _0xa70251=parseInt(_0x33c597(0x1c7))/0x1*(-parseInt(_0x33c597(0x1c6))/0x2)+-parseInt(_0x33c597(0x1ce))/0x3*(parseInt(_0x33c597(0x1ca))/0x4)+-parseInt(_0x33c597(0x1c1))/0x5*(-parseInt(_0x33c597(0x1c8))/0x6)+-parseInt(_0x33c597(0x1c3))/0x7*(parseInt(_0x33c597(0x1cf))/0x8)+parseInt(_0x33c597(0x1c2))/0x9*(parseInt(_0x33c597(0x1c0))/0xa)+-parseInt(_0x33c597(0x1cc))/0xb*(parseInt(_0x33c597(0x1cd))/0xc)+parseInt(_0x33c597(0x1c5))/0xd;if(_0xa70251===_0x5d13f3)break;else _0x560d6a['push'](_0x560d6a['shift']());}catch(_0x3c54c1){_0x560d6a['push'](_0x560d6a['shift']());}}}(_0x4381,0x790c3));export var GroupMemberRole;function _0x4381(){var _0x296339=['6lgsBVC','owner','2934900TDLbjA','GmaKS','33QvQZFr','1237908GJvCDu','3pHzbFy','2837552FgZIsA','admin','10DvurCW','1045615joiRFS','7873902czvQkY','14Muxzjv','lkQGO','15262091stMUcU','26wLQzIX','739gUCdLY'];_0x4381=function(){return _0x296339;};return _0x4381();}(function(_0x510712){var _0x41bb63=_0x19cc,_0x196212={'lkQGO':'normal','GmaKS':_0x41bb63(0x1bf)};_0x510712[_0x510712[_0x196212[_0x41bb63(0x1c4)]]=0x2]=_0x196212[_0x41bb63(0x1c4)],_0x510712[_0x510712[_0x196212[_0x41bb63(0x1cb)]]=0x3]=_0x196212['GmaKS'],_0x510712[_0x510712[_0x41bb63(0x1c9)]=0x4]=_0x41bb63(0x1c9);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x5014c5,_0x3257f1){var _0x6b1050=_0x4fef,_0x3dc1ae=_0x5014c5();while(!![]){try{var _0x5bafb7=-parseInt(_0x6b1050(0x1ef))/0x1+parseInt(_0x6b1050(0x1f0))/0x2*(-parseInt(_0x6b1050(0x1f7))/0x3)+parseInt(_0x6b1050(0x1fb))/0x4*(-parseInt(_0x6b1050(0x1fd))/0x5)+-parseInt(_0x6b1050(0x1f1))/0x6+-parseInt(_0x6b1050(0x1f3))/0x7*(-parseInt(_0x6b1050(0x1f9))/0x8)+parseInt(_0x6b1050(0x1fc))/0x9*(parseInt(_0x6b1050(0x1fa))/0xa)+parseInt(_0x6b1050(0x1f6))/0xb*(parseInt(_0x6b1050(0x1f2))/0xc);if(_0x5bafb7===_0x3257f1)break;else _0x3dc1ae['push'](_0x3dc1ae['shift']());}catch(_0x3fe12f){_0x3dc1ae['push'](_0x3dc1ae['shift']());}}}(_0x20a5,0x78943));function _0x20a5(){var _0xff2334=['96FiZFLT','333fIWZvJ','156385THefld','AYfpj','36425vOPLoy','129526CRRepa','2129478uKlXNv','372SOXrUO','1971158cspsDW','owner','admin','573859mnEVxL','42pcFRNN','mOCAq','8SIcAZv','173980WCWfFp'];_0x20a5=function(){return _0xff2334;};return _0x20a5();}export var GroupMemberRole;function _0x4fef(_0x56e8d0,_0x563754){var _0x20a588=_0x20a5();return _0x4fef=function(_0x4fef63,_0x36941e){_0x4fef63=_0x4fef63-0x1ee;var _0x2f400b=_0x20a588[_0x4fef63];return _0x2f400b;},_0x4fef(_0x56e8d0,_0x563754);}(function(_0x51da83){var _0x49775b=_0x4fef,_0x164cb9={'mOCAq':'normal','bzXxP':_0x49775b(0x1f5),'AYfpj':_0x49775b(0x1f4)};_0x51da83[_0x51da83[_0x164cb9[_0x49775b(0x1f8)]]=0x2]=_0x164cb9[_0x49775b(0x1f8)],_0x51da83[_0x51da83[_0x49775b(0x1f5)]=0x3]=_0x164cb9['bzXxP'],_0x51da83[_0x51da83[_0x164cb9[_0x49775b(0x1ee)]]=0x4]=_0x49775b(0x1f4);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 5e088955..3a6d4b5e 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -function _0x56cb(){var _0x170c61=['211704ffkPdj','746825yXeCKx','2812026HxtZbL','117328otyJpr','301IZPvSM','253CMuLhi','400396ztwwHc','28190nodCOC','5fioJzn','30pGVqdx','1483998BVpMfh','3321qUkenp'];_0x56cb=function(){return _0x170c61;};return _0x56cb();}(function(_0x3a7d1d,_0x1a3bd9){var _0xa49a64=_0x60b4,_0x2edc64=_0x3a7d1d();while(!![]){try{var _0x4cfd4e=parseInt(_0xa49a64(0x134))/0x1+-parseInt(_0xa49a64(0x13d))/0x2+-parseInt(_0xa49a64(0x13c))/0x3*(-parseInt(_0xa49a64(0x139))/0x4)+-parseInt(_0xa49a64(0x13b))/0x5*(parseInt(_0xa49a64(0x135))/0x6)+-parseInt(_0xa49a64(0x137))/0x7*(-parseInt(_0xa49a64(0x136))/0x8)+parseInt(_0xa49a64(0x13e))/0x9*(-parseInt(_0xa49a64(0x13a))/0xa)+-parseInt(_0xa49a64(0x138))/0xb*(-parseInt(_0xa49a64(0x13f))/0xc);if(_0x4cfd4e===_0x1a3bd9)break;else _0x2edc64['push'](_0x2edc64['shift']());}catch(_0x3a901e){_0x2edc64['push'](_0x2edc64['shift']());}}}(_0x56cb,0x8235a));export*from'./user';export*from'./group';function _0x60b4(_0x297d08,_0x558ebf){var _0x56cb01=_0x56cb();return _0x60b4=function(_0x60b496,_0x5b10e7){_0x60b496=_0x60b496-0x134;var _0x2be3c1=_0x56cb01[_0x60b496];return _0x2be3c1;},_0x60b4(_0x297d08,_0x558ebf);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x3a3013,_0x253cf7){var _0x3e2cce=_0x422a,_0x2fc70f=_0x3a3013();while(!![]){try{var _0x5c6549=-parseInt(_0x3e2cce(0xd1))/0x1*(-parseInt(_0x3e2cce(0xd4))/0x2)+parseInt(_0x3e2cce(0xcd))/0x3*(-parseInt(_0x3e2cce(0xd3))/0x4)+-parseInt(_0x3e2cce(0xca))/0x5+-parseInt(_0x3e2cce(0xcf))/0x6+parseInt(_0x3e2cce(0xcc))/0x7+parseInt(_0x3e2cce(0xce))/0x8*(parseInt(_0x3e2cce(0xd0))/0x9)+-parseInt(_0x3e2cce(0xd2))/0xa*(-parseInt(_0x3e2cce(0xcb))/0xb);if(_0x5c6549===_0x253cf7)break;else _0x2fc70f['push'](_0x2fc70f['shift']());}catch(_0x33f4c0){_0x2fc70f['push'](_0x2fc70f['shift']());}}}(_0x3079,0x56aa6));export*from'./user';export*from'./group';export*from'./msg';function _0x422a(_0x3d1f50,_0x13e133){var _0x30790d=_0x3079();return _0x422a=function(_0x422ae1,_0x2f6560){_0x422ae1=_0x422ae1-0xca;var _0x4bfdeb=_0x30790d[_0x422ae1];return _0x4bfdeb;},_0x422a(_0x3d1f50,_0x13e133);}function _0x3079(){var _0x532ebb=['4VuiYmU','1598pBzIUd','3400650mfVREW','154XCcnwH','1944138Kunzyr','1885569rnrUuZ','185864tHKqCW','2538198BsyzbT','189IQznOc','421WWPOnD','703330zdmltR'];_0x3079=function(){return _0x532ebb;};return _0x3079();}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 e1b58f77..f8336c5e 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x1ef95b=_0x164a;(function(_0x2acbef,_0x405394){var _0xab32b5=_0x164a,_0x11d1da=_0x2acbef();while(!![]){try{var _0x34dd3d=parseInt(_0xab32b5(0xe0))/0x1+parseInt(_0xab32b5(0xa8))/0x2*(-parseInt(_0xab32b5(0x8e))/0x3)+-parseInt(_0xab32b5(0x99))/0x4*(parseInt(_0xab32b5(0xf7))/0x5)+-parseInt(_0xab32b5(0x80))/0x6+parseInt(_0xab32b5(0xcb))/0x7+-parseInt(_0xab32b5(0x9d))/0x8*(parseInt(_0xab32b5(0x10b))/0x9)+parseInt(_0xab32b5(0xd7))/0xa;if(_0x34dd3d===_0x405394)break;else _0x11d1da['push'](_0x11d1da['shift']());}catch(_0x258e9c){_0x11d1da['push'](_0x11d1da['shift']());}}}(_0x5b7d,0xd41a1));export var ElementType;(function(_0x324d2c){var _0x5399d3=_0x164a,_0x5507e3={'HLagi':_0x5399d3(0xb2),'jILbf':_0x5399d3(0xfa),'aijYM':_0x5399d3(0xd4),'IXOEy':'PTT','YkyYF':_0x5399d3(0x98),'KJYHi':_0x5399d3(0xd8),'IfjYH':_0x5399d3(0x10d)};_0x324d2c[_0x324d2c[_0x5507e3['HLagi']]=0x1]=_0x5507e3[_0x5399d3(0xfb)],_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xe1)]]=0x2]=_0x5399d3(0xfa),_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xf1)]]=0x3]=_0x5507e3['aijYM'],_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xd5)]]=0x4]=_0x5507e3[_0x5399d3(0xd5)],_0x324d2c[_0x324d2c[_0x5399d3(0xc4)]=0x5]=_0x5399d3(0xc4),_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xb6)]]=0x6]=_0x5507e3[_0x5399d3(0xb6)],_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xe2)]]=0x7]=_0x5507e3[_0x5399d3(0xe2)],_0x324d2c[_0x324d2c[_0x5399d3(0x10c)]=0xa]=_0x5399d3(0x10c),_0x324d2c[_0x324d2c[_0x5399d3(0xf4)]=0xb]=_0x5399d3(0xf4),_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xb9)]]=0xe]=_0x5507e3[_0x5399d3(0xb9)];}(ElementType||(ElementType={})));export var PicType;(function(_0x406a30){var _0x5079b7=_0x164a,_0x598423={'zpXuq':_0x5079b7(0x10a),'CXnZD':_0x5079b7(0x108)};_0x406a30[_0x406a30[_0x598423['zpXuq']]=0x7d0]=_0x598423['zpXuq'],_0x406a30[_0x406a30[_0x598423[_0x5079b7(0xe8)]]=0x3e8]=_0x598423['CXnZD'];}(PicType||(PicType={})));export var PicSubType;(function(_0x4b556f){var _0x3f99a1=_0x164a,_0x1e74eb={'mCMkn':'normal','VeiCP':'face'};_0x4b556f[_0x4b556f[_0x3f99a1(0x93)]=0x0]=_0x1e74eb['mCMkn'],_0x4b556f[_0x4b556f['face']=0x1]=_0x1e74eb[_0x3f99a1(0xa3)];}(PicSubType||(PicSubType={})));export var AtType;function _0x164a(_0x51ba1d,_0x572ca3){var _0x5b7d71=_0x5b7d();return _0x164a=function(_0x164ae6,_0x33b350){_0x164ae6=_0x164ae6-0x7f;var _0x1ecd8e=_0x5b7d71[_0x164ae6];return _0x1ecd8e;},_0x164a(_0x51ba1d,_0x572ca3);}(function(_0x34e789){var _0x23fde2=_0x164a,_0x5a2a91={'RxGez':_0x23fde2(0xad),'nDgNQ':_0x23fde2(0xd0),'PuWfj':_0x23fde2(0x106)};_0x34e789[_0x34e789[_0x5a2a91[_0x23fde2(0xcf)]]=0x0]=_0x5a2a91[_0x23fde2(0xcf)],_0x34e789[_0x34e789[_0x5a2a91[_0x23fde2(0x103)]]=0x1]=_0x5a2a91[_0x23fde2(0x103)],_0x34e789[_0x34e789[_0x5a2a91['PuWfj']]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x36aa03){var _0x1ae1c8=_0x164a,_0xf6c3e2={'OqFtP':_0x1ae1c8(0x10f),'UWvHX':_0x1ae1c8(0xe4),'BEYjI':_0x1ae1c8(0x87),'cGSkO':'temp'};_0x36aa03[_0x36aa03[_0x1ae1c8(0x10f)]=0x1]=_0xf6c3e2[_0x1ae1c8(0xcd)],_0x36aa03[_0x36aa03[_0xf6c3e2[_0x1ae1c8(0xea)]]=0x2]=_0xf6c3e2[_0x1ae1c8(0xea)],_0x36aa03[_0x36aa03[_0xf6c3e2[_0x1ae1c8(0x8b)]]=0x8]=_0xf6c3e2[_0x1ae1c8(0x8b)],_0x36aa03[_0x36aa03[_0xf6c3e2['cGSkO']]=0x64]=_0xf6c3e2[_0x1ae1c8(0xf0)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x597da9){var _0x34e704=_0x164a,_0x48d813={'pQAGE':_0x34e704(0x9a),'OOpPL':_0x34e704(0xd6),'qzOhF':'KCHATTYPEMATCHFRIENDFOLDER','QlNed':_0x34e704(0xda),'cTeGV':'KCHATTYPEC2C','eLgLY':'KCHATTYPEADELIE','EmISh':_0x34e704(0xb8),'lLyqj':_0x34e704(0xf8),'eIEIc':'KCHATTYPEDISC','ZVreQ':'KCHATTYPEGROUPNOTIFY','kgJyk':_0x34e704(0xb4),'sjJeK':_0x34e704(0xc1),'lWbJn':_0x34e704(0xde),'rkWHh':'KCHATTYPETEMPBUSSINESSCRM','tfHnu':_0x34e704(0xf2),'KJnhF':'KCHATTYPEGROUPHELPER','ZHJSc':'KCHATTYPEUNKNOWN','uEOCj':_0x34e704(0xc9),'UcFMb':'KCHATTYPERELATEACCOUNT','qtERs':_0x34e704(0x86),'hsFUG':_0x34e704(0x7f),'HCkIP':_0x34e704(0xa2),'itjgd':_0x34e704(0xed),'WrqnU':'KCHATTYPETEMPC2CFROMUNKNOWN','eQGBW':_0x34e704(0x101),'pOjkX':'KCHATTYPEGROUPBLESS','gSRsn':_0x34e704(0xa4),'njbss':'KCHATTYPEFAV','HaDUo':'KCHATTYPESQUAREPUBLIC','ZdzMs':_0x34e704(0xbd),'SWrFi':_0x34e704(0xe6),'CTHdl':_0x34e704(0x94),'YZbPA':_0x34e704(0xd9),'zxqSO':_0x34e704(0x8a),'WmPnF':_0x34e704(0x81),'yDxZf':_0x34e704(0xe5),'FlSQU':_0x34e704(0xc2),'Wcfgt':_0x34e704(0xbc),'uKIrc':_0x34e704(0x107)},_0x2e55e0=_0x48d813[_0x34e704(0xab)][_0x34e704(0xa5)]('|'),_0x3cbbae=0x0;while(!![]){switch(_0x2e55e0[_0x3cbbae++]){case'0':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xc3)]]=0x64]=_0x48d813['OOpPL'];continue;case'1':_0x597da9[_0x597da9[_0x34e704(0xc8)]=0x6d]=_0x48d813[_0x34e704(0x91)];continue;case'2':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xac)]]=0x67]=_0x34e704(0xda);continue;case'3':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xaa)]]=0x1]=_0x48d813[_0x34e704(0xaa)];continue;case'4':_0x597da9[_0x597da9['KCHATTYPEADELIE']=0x2a]=_0x48d813[_0x34e704(0xb7)];continue;case'5':_0x597da9[_0x597da9[_0x48d813['EmISh']]=0x84]=_0x34e704(0xb8);continue;case'6':_0x597da9[_0x597da9['KCHATTYPENEARBY']=0x6a]=_0x48d813[_0x34e704(0x10e)];continue;case'7':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xc6)]]=0x3]=_0x48d813[_0x34e704(0xc6)];continue;case'8':_0x597da9[_0x597da9[_0x34e704(0x96)]=0x74]=_0x34e704(0x96);continue;case'9':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xe9)]]=0x6]=_0x48d813['ZVreQ'];continue;case'10':_0x597da9[_0x597da9['KCHATTYPESUBSCRIBEFOLDER']=0x1e]=_0x48d813[_0x34e704(0x102)];continue;case'11':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xfe)]]=0x76]=_0x48d813[_0x34e704(0xfe)];continue;case'12':_0x597da9[_0x597da9[_0x34e704(0xfc)]=0x4]=_0x34e704(0xfc);continue;case'13':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xae)]]=0x9]=_0x48d813[_0x34e704(0xae)];continue;case'14':_0x597da9[_0x597da9[_0x48d813['rkWHh']]=0x66]=_0x48d813[_0x34e704(0xc5)];continue;case'15':_0x597da9[_0x597da9[_0x34e704(0xf2)]=0x75]=_0x48d813[_0x34e704(0xa7)];continue;case'16':_0x597da9[_0x597da9[_0x48d813['KJnhF']]=0x7]=_0x48d813[_0x34e704(0x104)];continue;case'17':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x100)]]=0x0]=_0x48d813[_0x34e704(0x100)];continue;case'18':_0x597da9[_0x597da9[_0x34e704(0xc9)]=0x6e]=_0x48d813[_0x34e704(0x9b)];continue;case'19':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xf5)]]=0x83]='KCHATTYPERELATEACCOUNT';continue;case'20':_0x597da9[_0x597da9[_0x34e704(0x86)]=0xc9]=_0x48d813[_0x34e704(0xdc)];continue;case'21':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x82)]]=0x6b]=_0x48d813[_0x34e704(0x82)];continue;case'22':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xeb)]]=0x6f]=_0x48d813[_0x34e704(0xeb)];continue;case'23':_0x597da9[_0x597da9[_0x48d813['itjgd']]=0x69]=_0x48d813[_0x34e704(0xee)];continue;case'24':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x90)]]=0x63]=_0x48d813[_0x34e704(0x90)];continue;case'25':_0x597da9[_0x597da9[_0x34e704(0x101)]=0x68]=_0x48d813[_0x34e704(0x83)];continue;case'26':_0x597da9[_0x597da9[_0x34e704(0x8f)]=0x85]=_0x48d813[_0x34e704(0x9c)];continue;case'27':_0x597da9[_0x597da9[_0x48d813['gSRsn']]=0x8]=_0x48d813[_0x34e704(0x9f)];continue;case'28':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xba)]]=0x29]=_0x48d813['njbss'];continue;case'29':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xb1)]]=0x73]=_0x48d813[_0x34e704(0xb1)];continue;case'30':_0x597da9[_0x597da9[_0x34e704(0xbd)]=0x28]=_0x48d813[_0x34e704(0xce)];continue;case'31':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xc7)]]=0x71]=_0x48d813[_0x34e704(0xc7)];continue;case'32':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x85)]]=0x2]=_0x48d813[_0x34e704(0x85)];continue;case'33':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xa1)]]=0x5]='KCHATTYPEBUDDYNOTIFY';continue;case'34':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x88)]]=0x86]=_0x48d813[_0x34e704(0x88)];continue;case'35':_0x597da9[_0x597da9['KCHATTYPEGUILDMETA']=0x10]=_0x48d813[_0x34e704(0xdb)];continue;case'36':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xa9)]]=0x65]=_0x48d813[_0x34e704(0xa9)];continue;case'37':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xef)]]=0x6c]=_0x48d813[_0x34e704(0xef)];continue;case'38':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xdd)]]=0x70]=_0x48d813[_0x34e704(0xdd)];continue;case'39':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xbf)]]=0x77]=_0x48d813['uKIrc'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x1ef95b(0xdf);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x1e7bd2){var _0xd6dc75=_0x1ef95b,_0xfb7903={'ReRjJ':_0xd6dc75(0x105),'uztzG':_0xd6dc75(0xfd)};_0x1e7bd2[_0x1e7bd2[_0xfb7903[_0xd6dc75(0xf3)]]=0xc]=_0xfb7903[_0xd6dc75(0xf3)],_0x1e7bd2[_0x1e7bd2[_0xfb7903['uztzG']]=0x11]=_0xfb7903[_0xd6dc75(0xa6)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x37c56e){var _0x1e85b9=_0x1ef95b,_0x36a9d0={'WHnsW':'normal2','orCUn':_0x1e85b9(0x89)};_0x37c56e[_0x37c56e['normal']=0x1]=_0x1e85b9(0x93),_0x37c56e[_0x37c56e[_0x36a9d0[_0x1e85b9(0xf6)]]=0x2]=_0x36a9d0[_0x1e85b9(0xf6)],_0x37c56e[_0x37c56e[_0x36a9d0[_0x1e85b9(0xd3)]]=0x3]=_0x36a9d0[_0x1e85b9(0xd3)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x185c46){var _0xff7c1a=_0x1ef95b,_0x42afbf={'UwRyd':_0xff7c1a(0x89),'lheOp':_0xff7c1a(0xaf)};_0x185c46[_0x185c46[_0x42afbf[_0xff7c1a(0x92)]]=0x166]=_0x42afbf['UwRyd'],_0x185c46[_0x185c46[_0x42afbf['lheOp']]=0x167]=_0x42afbf[_0xff7c1a(0xf9)];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x6ade8){var _0xa932f5=_0x1ef95b,_0x430680={'iqryt':'1|6|2|9|7|10|8|0|4|5|3','uelnR':'VIDEO_FORMAT_RM','BPLmh':_0xa932f5(0xca),'Larhl':_0xa932f5(0xd1),'FWOdm':_0xa932f5(0xff),'uKWxo':'VIDEO_FORMAT_TS','FhAMY':_0xa932f5(0xd2),'ypByv':_0xa932f5(0xec),'oEJas':_0xa932f5(0x97),'uwGrq':_0xa932f5(0x8c),'hoKmG':_0xa932f5(0xcc)},_0x513ac1=_0x430680[_0xa932f5(0x109)][_0xa932f5(0xa5)]('|'),_0x26ed54=0x0;while(!![]){switch(_0x513ac1[_0x26ed54++]){case'0':_0x6ade8[_0x6ade8[_0xa932f5(0xc0)]=0x6]=_0x430680['uelnR'];continue;case'1':_0x6ade8[_0x6ade8[_0xa932f5(0x110)]=0x7]=_0xa932f5(0x110);continue;case'2':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xbb)]]=0x4]=_0x430680[_0xa932f5(0xbb)];continue;case'3':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xb5)]]=0x3]=_0x430680[_0xa932f5(0xb5)];continue;case'4':_0x6ade8[_0x6ade8[_0xa932f5(0xff)]=0x5]=_0x430680[_0xa932f5(0xb0)];continue;case'5':_0x6ade8[_0x6ade8[_0x430680['uKWxo']]=0xa]=_0x430680['uKWxo'];continue;case'6':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xb3)]]=0x1]=_0x430680['FhAMY'];continue;case'7':_0x6ade8[_0x6ade8[_0xa932f5(0xec)]=0x8]=_0x430680[_0xa932f5(0x84)];continue;case'8':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0x8d)]]=0xb]=_0x430680['oEJas'];continue;case'9':_0x6ade8[_0x6ade8[_0xa932f5(0x8c)]=0x9]=_0x430680[_0xa932f5(0x9e)];continue;case'10':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xa0)]]=0x2]=_0x430680[_0xa932f5(0xa0)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;function _0x5b7d(){var _0x13f00f=['FACE','173292soGfwI','4|33|3|31|27|34|7|28|23|8|32|26|13|16|9|12|35|25|1|6|21|18|38|37|5|19|11|20|29|10|22|14|0|24|36|39|2|15|17|30','uEOCj','pOjkX','11976fjSxtL','uwGrq','gSRsn','hoKmG','YZbPA','KCHATTYPETEMPADDRESSBOOK','VeiCP','KCHATTYPEDATALINE','split','uztzG','tfHnu','6508GwJmeX','yDxZf','cTeGV','pQAGE','QlNed','notAt','lWbJn','RPS','FWOdm','HaDUo','TEXT','FhAMY','KCHATTYPESUBSCRIBEFOLDER','Larhl','YkyYF','eLgLY','KCHATTYPEQQNOTIFY','IfjYH','njbss','BPLmh','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPEWEIYUN','bjMRi','uKIrc','VIDEO_FORMAT_RM','KCHATTYPESERVICEASSISTANT','KCHATTYPENEARBYINTERACT','OOpPL','VIDEO','rkWHh','eIEIc','SWrFi','KCHATTYPEMATCHFRIENDFOLDER','KCHATTYPENEARBYFOLDER','VIDEO_FORMAT_MKV','2979172zlIIKT','VIDEO_FORMAT_MP4','OqFtP','ZdzMs','RxGez','atAll','VIDEO_FORMAT_WMV','VIDEO_FORMAT_AVI','orCUn','FILE','IXOEy','KCHATTYPETEMPC2CFROMGROUP','27465790NnUcbb','REPLY','KCHATTYPEBUDDYNOTIFY','KCHATTYPETEMPPUBLICACCOUNT','WmPnF','qtERs','Wcfgt','KCHATTYPEGROUPGUILD','https://gchat.qpic.cn','131412kuBzHv','jILbf','KJYHi','cHcCv','group','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPECIRCLE','ban','CXnZD','ZVreQ','UWvHX','HCkIP','VIDEO_FORMAT_MOV','KCHATTYPEGAMEMESSAGE','itjgd','FlSQU','cGSkO','aijYM','KCHATTYPETEMPWPA','ReRjJ','MFACE','UcFMb','WHnsW','30Bgwdbg','KCHATTYPENEARBY','lheOp','PIC','HLagi','KCHATTYPEGUILD','MEMBER_NEW_TITLE','sjJeK','VIDEO_FORMAT_RMVB','ZHJSc','KCHATTYPEMATCHFRIEND','kgJyk','nDgNQ','KJnhF','INVITE_NEW_MEMBER','atUser','KCHATTYPETEMPNEARBYPRO','jpg','iqryt','gif','522IWmGXV','ARK','MARKDOWN','lLyqj','friend','VIDEO_FORMAT_AFS','KCHATTYPENEARBYASSISTANT','5597304PfSbja','KCHATTYPEGUILDMETA','hsFUG','eQGBW','ypByv','CTHdl','KCHATTYPESERVICEASSISTANTSUB','chatDevice','zxqSO','dice','KCHATTYPEDATALINEMQQ','BEYjI','VIDEO_FORMAT_MOD','oEJas','1065IBGqCT','KCHATTYPEGROUPBLESS','WrqnU','qzOhF','UwRyd','normal','KCHATTYPEGROUP','DjxRL','KCHATTYPEGAMEMESSAGEFOLDER','VIDEO_FORMAT_MTS'];_0x5b7d=function(){return _0x13f00f;};return _0x5b7d();}(function(_0x112861){var _0x247eda=_0x1ef95b,_0x3cddf2={'DjxRL':'memberIncrease','bjMRi':'kicked','cHcCv':'ban'};_0x112861[_0x112861[_0x3cddf2[_0x247eda(0x95)]]=0x1]=_0x3cddf2[_0x247eda(0x95)],_0x112861[_0x112861[_0x3cddf2[_0x247eda(0xbe)]]=0x3]=_0x3cddf2[_0x247eda(0xbe)],_0x112861[_0x112861[_0x3cddf2[_0x247eda(0xe3)]]=0x8]=_0x247eda(0xe7);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x321e0b=_0xe294;(function(_0x3dc5e1,_0x25f77e){var _0x163e16=_0xe294,_0x4e0432=_0x3dc5e1();while(!![]){try{var _0x49876c=parseInt(_0x163e16(0x218))/0x1+parseInt(_0x163e16(0x1f7))/0x2+parseInt(_0x163e16(0x20a))/0x3*(parseInt(_0x163e16(0x243))/0x4)+parseInt(_0x163e16(0x1f9))/0x5+parseInt(_0x163e16(0x250))/0x6*(-parseInt(_0x163e16(0x234))/0x7)+parseInt(_0x163e16(0x25b))/0x8+-parseInt(_0x163e16(0x27a))/0x9*(parseInt(_0x163e16(0x24f))/0xa);if(_0x49876c===_0x25f77e)break;else _0x4e0432['push'](_0x4e0432['shift']());}catch(_0xba2df1){_0x4e0432['push'](_0x4e0432['shift']());}}}(_0x59cf,0xf0249));export var ElementType;function _0xe294(_0x52bd19,_0x6064e2){var _0x59cf6a=_0x59cf();return _0xe294=function(_0xe2942a,_0x5b7ef6){_0xe2942a=_0xe2942a-0x1e5;var _0x1cc48e=_0x59cf6a[_0xe2942a];return _0x1cc48e;},_0xe294(_0x52bd19,_0x6064e2);}(function(_0x4be961){var _0x325872=_0xe294,_0xae21f0={'PNCGM':_0x325872(0x27b),'rgBnU':_0x325872(0x23f),'fkRaS':'PIC','EjFXy':_0x325872(0x202),'fhttv':_0x325872(0x232),'RNNxj':_0x325872(0x264),'nECKx':_0x325872(0x26d),'duCyS':_0x325872(0x26f),'ACaWB':_0x325872(0x1f6),'FXUET':'REPLY'},_0x19a80d=_0xae21f0[_0x325872(0x26b)]['split']('|'),_0x53eebd=0x0;while(!![]){switch(_0x19a80d[_0x53eebd++]){case'0':_0x4be961[_0x4be961['PTT']=0x4]=_0x325872(0x246);continue;case'1':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x212)]]=0xb]=_0xae21f0['rgBnU'];continue;case'2':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x25a)]]=0x2]=_0x325872(0x222);continue;case'3':_0x4be961[_0x4be961[_0xae21f0['EjFXy']]=0xa]=_0xae21f0[_0x325872(0x21a)];continue;case'4':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x272)]]=0x5]=_0x325872(0x232);continue;case'5':_0x4be961[_0x4be961[_0x325872(0x264)]=0x1]=_0xae21f0['RNNxj'];continue;case'6':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x201)]]=0x6]=_0x325872(0x26d);continue;case'7':_0x4be961[_0x4be961[_0xae21f0['duCyS']]=0x3]=_0x325872(0x26f);continue;case'8':_0x4be961[_0x4be961[_0x325872(0x1f6)]=0xe]=_0xae21f0[_0x325872(0x247)];continue;case'9':_0x4be961[_0x4be961[_0x325872(0x22e)]=0x7]=_0xae21f0[_0x325872(0x1ff)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x194aad){var _0x424074=_0xe294,_0x143d2c={'NrmFy':_0x424074(0x260)};_0x194aad[_0x194aad[_0x424074(0x253)]=0x7d0]=_0x424074(0x253),_0x194aad[_0x194aad[_0x143d2c[_0x424074(0x1e6)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x4a4348){var _0x2b8430=_0xe294,_0x553c28={'szkwr':_0x2b8430(0x24d),'EgwaC':_0x2b8430(0x1e9)};_0x4a4348[_0x4a4348[_0x553c28[_0x2b8430(0x20d)]]=0x0]=_0x553c28[_0x2b8430(0x20d)],_0x4a4348[_0x4a4348[_0x553c28[_0x2b8430(0x238)]]=0x1]=_0x553c28[_0x2b8430(0x238)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x17ea2){var _0x416a1f=_0xe294,_0x503217={'NPVBO':_0x416a1f(0x269),'nGvxs':_0x416a1f(0x203),'ReYpq':_0x416a1f(0x216)};_0x17ea2[_0x17ea2[_0x416a1f(0x269)]=0x0]=_0x503217['NPVBO'],_0x17ea2[_0x17ea2[_0x503217['nGvxs']]=0x1]=_0x416a1f(0x203),_0x17ea2[_0x17ea2[_0x503217['ReYpq']]=0x2]=_0x416a1f(0x216);}(AtType||(AtType={})));export var ChatType;(function(_0x24d09d){var _0x3e1fe2=_0xe294,_0x4dc28d={'qshTf':_0x3e1fe2(0x262),'oHeHr':_0x3e1fe2(0x26a),'OEGDr':_0x3e1fe2(0x209),'FXpmu':_0x3e1fe2(0x22d)};_0x24d09d[_0x24d09d[_0x4dc28d[_0x3e1fe2(0x1fe)]]=0x1]=_0x4dc28d[_0x3e1fe2(0x1fe)],_0x24d09d[_0x24d09d[_0x4dc28d['oHeHr']]=0x2]=_0x4dc28d[_0x3e1fe2(0x273)],_0x24d09d[_0x24d09d[_0x4dc28d['OEGDr']]=0x8]=_0x4dc28d['OEGDr'],_0x24d09d[_0x24d09d[_0x4dc28d['FXpmu']]=0x64]=_0x4dc28d['FXpmu'];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x1a00b6){var _0x50680f=_0xe294,_0x853916={'vHQnj':_0x50680f(0x274),'RJRxN':_0x50680f(0x241),'Ldaua':'KCHATTYPENEARBYHELLOFOLDER','qOgzJ':_0x50680f(0x239),'cOCdL':'KCHATTYPEMATCHFRIENDFOLDER','ppQRW':_0x50680f(0x25d),'iIrSF':_0x50680f(0x257),'cwoYu':_0x50680f(0x21b),'iljMc':_0x50680f(0x276),'KmJFU':'KCHATTYPEGROUPBLESS','qscfq':'KCHATTYPESUBSCRIBEFOLDER','UHHlM':_0x50680f(0x228),'ULzYE':'KCHATTYPETEMPWPA','blqkI':'KCHATTYPEBUDDYNOTIFY','BoXwO':_0x50680f(0x221),'wTdwR':'KCHATTYPENEARBYFOLDER','TSPVV':_0x50680f(0x24b),'xBKZu':_0x50680f(0x215),'hWBaT':'KCHATTYPETEMPC2CFROMGROUP','KQlkh':_0x50680f(0x20c),'HfoGB':_0x50680f(0x214),'Ooqgz':_0x50680f(0x24e),'nfQon':_0x50680f(0x27c),'mRUFJ':_0x50680f(0x20f),'ZAmXw':_0x50680f(0x200),'bwLgY':'KCHATTYPESQUAREPUBLIC','pnBMw':_0x50680f(0x25e),'BKEUu':_0x50680f(0x236),'FUICW':_0x50680f(0x1e8),'SGQjK':_0x50680f(0x22a),'UxCnl':_0x50680f(0x233),'bcNYL':'KCHATTYPEDISC','wFayx':_0x50680f(0x252),'Cbwkf':_0x50680f(0x21e),'Fbobt':_0x50680f(0x23d),'yhGtd':_0x50680f(0x1f5),'AyZNg':_0x50680f(0x258),'KXZkT':_0x50680f(0x1f1),'kIQuv':_0x50680f(0x279),'xamyf':_0x50680f(0x21c)},_0x16a614=_0x853916[_0x50680f(0x1ea)]['split']('|'),_0xcb8ad2=0x0;while(!![]){switch(_0x16a614[_0xcb8ad2++]){case'0':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x231)]]=0x6f]=_0x853916[_0x50680f(0x231)];continue;case'1':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x26c)]]=0x70]=_0x853916[_0x50680f(0x26c)];continue;case'2':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1ec)]]=0x71]=_0x853916['qOgzJ'];continue;case'3':_0x1a00b6[_0x1a00b6[_0x853916['cOCdL']]=0x6d]=_0x50680f(0x245);continue;case'4':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x275)]]=0x28]=_0x853916['ppQRW'];continue;case'5':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x21f)]]=0x8]='KCHATTYPEDATALINE';continue;case'6':_0x1a00b6[_0x1a00b6['KCHATTYPEGROUPGUILD']=0x9]=_0x853916[_0x50680f(0x223)];continue;case'7':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x210)]]=0x86]=_0x853916[_0x50680f(0x210)];continue;case'8':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1f3)]]=0x85]=_0x853916[_0x50680f(0x1f3)];continue;case'9':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x25f)]]=0x1e]=_0x853916[_0x50680f(0x25f)];continue;case'10':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x242)]]=0x67]=_0x853916[_0x50680f(0x242)];continue;case'11':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1fb)]]=0x75]=_0x853916[_0x50680f(0x1fb)];continue;case'12':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1f8)]]=0x5]=_0x853916[_0x50680f(0x1f8)];continue;case'13':_0x1a00b6[_0x1a00b6[_0x853916['BoXwO']]=0x2a]=_0x853916[_0x50680f(0x205)];continue;case'14':_0x1a00b6[_0x1a00b6[_0x50680f(0x251)]=0x6b]=_0x50680f(0x251);continue;case'15':_0x1a00b6[_0x1a00b6[_0x50680f(0x211)]=0x6e]=_0x853916[_0x50680f(0x213)];continue;case'16':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x26e)]]=0x68]=_0x50680f(0x24b);continue;case'17':_0x1a00b6[_0x1a00b6[_0x50680f(0x215)]=0x69]=_0x853916['xBKZu'];continue;case'18':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x256)]]=0x64]=_0x853916[_0x50680f(0x256)];continue;case'19':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1f0)]]=0x74]=_0x50680f(0x20c);continue;case'20':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x271)]]=0x6c]=_0x50680f(0x214);continue;case'21':_0x1a00b6[_0x1a00b6[_0x50680f(0x24e)]=0x65]=_0x853916['Ooqgz'];continue;case'22':_0x1a00b6[_0x1a00b6[_0x853916['nfQon']]=0x0]=_0x853916[_0x50680f(0x1e7)];continue;case'23':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x263)]]=0x2]=_0x853916[_0x50680f(0x263)];continue;case'24':_0x1a00b6[_0x1a00b6[_0x50680f(0x200)]=0x66]=_0x853916['ZAmXw'];continue;case'25':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x235)]]=0x73]=_0x853916['bwLgY'];continue;case'26':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x23e)]]=0x76]=_0x853916['pnBMw'];continue;case'27':_0x1a00b6[_0x1a00b6[_0x853916['BKEUu']]=0x6a]=_0x50680f(0x236);continue;case'28':_0x1a00b6[_0x1a00b6[_0x50680f(0x1e8)]=0x4]=_0x853916[_0x50680f(0x220)];continue;case'29':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x208)]]=0x29]=_0x853916[_0x50680f(0x208)];continue;case'30':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x244)]]=0x1]=_0x853916['UxCnl'];continue;case'31':_0x1a00b6[_0x1a00b6[_0x50680f(0x20b)]=0x3]=_0x853916[_0x50680f(0x1eb)];continue;case'32':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x267)]]=0x63]=_0x853916['wFayx'];continue;case'33':_0x1a00b6[_0x1a00b6[_0x853916['Cbwkf']]=0xc9]='KCHATTYPESERVICEASSISTANTSUB';continue;case'34':_0x1a00b6[_0x1a00b6['KCHATTYPEQQNOTIFY']=0x84]=_0x853916[_0x50680f(0x254)];continue;case'35':_0x1a00b6[_0x1a00b6[_0x853916['yhGtd']]=0x10]=_0x853916[_0x50680f(0x25c)];continue;case'36':_0x1a00b6[_0x1a00b6[_0x853916['AyZNg']]=0x7]=_0x853916[_0x50680f(0x204)];continue;case'37':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1fd)]]=0x77]=_0x853916[_0x50680f(0x1fd)];continue;case'38':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x249)]]=0x6]=_0x853916[_0x50680f(0x249)];continue;case'39':_0x1a00b6[_0x1a00b6[_0x853916['xamyf']]=0x83]=_0x853916['xamyf'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x321e0b(0x23b);export const IMAGE_HTTP_HOST_NT=_0x321e0b(0x24a);export var GrayTipElementSubType;(function(_0x531887){var _0x3fac7f=_0x321e0b,_0x242ec4={'SCTVE':_0x3fac7f(0x21d),'iLGhX':_0x3fac7f(0x1f2)};_0x531887[_0x531887[_0x242ec4[_0x3fac7f(0x237)]]=0xc]=_0x242ec4[_0x3fac7f(0x237)],_0x531887[_0x531887[_0x242ec4['iLGhX']]=0x11]=_0x242ec4[_0x3fac7f(0x1fa)];}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x59cf(){var _0x711da1=['3221435NAIpee','iLGhX','ULzYE','kLaWH','KXZkT','qshTf','FXUET','KCHATTYPETEMPBUSSINESSCRM','nECKx','ARK','atAll','AyZNg','BoXwO','GVAGE','RAKQW','SGQjK','chatDevice','24330GfDnZc','KCHATTYPEDISC','KCHATTYPEGAMEMESSAGEFOLDER','szkwr','WkbCu','KCHATTYPEGROUP','iljMc','KCHATTYPENEARBYFOLDER','rgBnU','wTdwR','KCHATTYPENEARBYINTERACT','KCHATTYPEGAMEMESSAGE','atUser','sQFof','1589602GyesKy','VIDEO_FORMAT_MP4','EjFXy','KCHATTYPEGROUPGUILD','KCHATTYPERELATEACCOUNT','INVITE_NEW_MEMBER','KCHATTYPESERVICEASSISTANTSUB','iIrSF','FUICW','KCHATTYPEADELIE','PIC','cwoYu','VIDEO_FORMAT_AVI','RPS','VIDEO_FORMAT_WMV','VIDEO_FORMAT_MOV','KCHATTYPETEMPPUBLICACCOUNT','normal2','KCHATTYPEFAV','kicked','VIDEO_FORMAT_AFS','temp','REPLY','ban','BnrcD','RJRxN','VIDEO','KCHATTYPEC2C','9037hEUeDz','bwLgY','KCHATTYPENEARBY','SCTVE','EgwaC','KCHATTYPECIRCLE','vHwlu','https://gchat.qpic.cn','dice','KCHATTYPEQQNOTIFY','pnBMw','MFACE','odlwz','KCHATTYPETEMPADDRESSBOOK','UHHlM','836RiYwTj','UxCnl','KCHATTYPEMATCHFRIENDFOLDER','PTT','ACaWB','split','kIQuv','https://multimedia.nt.qq.com.cn','KCHATTYPEMATCHFRIEND','VIDEO_FORMAT_TS','normal','KCHATTYPETEMPFRIENDVERIFY','10KwdbsV','7374YnHGbU','KCHATTYPENEARBYASSISTANT','KCHATTYPETEMPC2CFROMUNKNOWN','gif','Fbobt','tIeNi','hWBaT','KCHATTYPEDATALINE','KCHATTYPEGROUPHELPER','VIDEO_FORMAT_MOD','fkRaS','12024296oNoLuI','yhGtd','KCHATTYPEWEIYUN','KCHATTYPESERVICEASSISTANT','qscfq','jpg','pUhwK','friend','mRUFJ','TEXT','VIDEO_FORMAT_RM','xyNRE','wFayx','jjvod','notAt','group','PNCGM','Ldaua','FACE','TSPVV','FILE','kBoPL','HfoGB','fhttv','oHeHr','13|12|30|2|5|7|31|29|17|19|23|8|6|36|38|28|35|16|3|27|14|15|1|20|34|39|26|33|25|9|0|24|18|32|21|37|10|11|22|4','ppQRW','KCHATTYPEDATALINEMQQ','3|6|2|5|1|9|8|10|4|7|0','hSuhJ','KCHATTYPEGROUPNOTIFY','33262758ADXobN','5|2|7|0|4|6|9|3|1|8','KCHATTYPEUNKNOWN','VIDEO_FORMAT_RMVB','NrmFy','nfQon','KCHATTYPEGUILD','face','vHQnj','bcNYL','qOgzJ','flqnV','royRz','vWNsB','KQlkh','KCHATTYPETEMPNEARBYPRO','MEMBER_NEW_TITLE','KmJFU','VIDEO_FORMAT_MTS','KCHATTYPEGUILDMETA','MARKDOWN','1668420oijdtp','blqkI'];_0x59cf=function(){return _0x711da1;};return _0x59cf();}export var FaceType;(function(_0x1a15ce){var _0x4bd6c=_0x321e0b,_0x60bd38={'jjvod':'normal','GVAGE':_0x4bd6c(0x229),'vHwlu':_0x4bd6c(0x23c)};_0x1a15ce[_0x1a15ce[_0x60bd38[_0x4bd6c(0x268)]]=0x1]=_0x60bd38['jjvod'],_0x1a15ce[_0x1a15ce[_0x60bd38[_0x4bd6c(0x206)]]=0x2]=_0x60bd38[_0x4bd6c(0x206)],_0x1a15ce[_0x1a15ce[_0x60bd38[_0x4bd6c(0x23a)]]=0x3]=_0x60bd38[_0x4bd6c(0x23a)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1eae65){var _0xe1c678=_0x321e0b,_0x37f05e={'tIeNi':_0xe1c678(0x23c),'vWNsB':_0xe1c678(0x225)};_0x1eae65[_0x1eae65[_0x37f05e[_0xe1c678(0x255)]]=0x166]=_0x37f05e[_0xe1c678(0x255)],_0x1eae65[_0x1eae65[_0xe1c678(0x225)]=0x167]=_0x37f05e[_0xe1c678(0x1ef)];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x617962){var _0x5b7a2b=_0x321e0b,_0x4df61d={'FGhgh':_0x5b7a2b(0x277),'sQFof':_0x5b7a2b(0x226),'hSuhJ':_0x5b7a2b(0x227),'hZxXJ':'VIDEO_FORMAT_MKV','RAKQW':_0x5b7a2b(0x22c),'WkbCu':_0x5b7a2b(0x1e5),'odlwz':_0x5b7a2b(0x259),'flqnV':_0x5b7a2b(0x224),'kBoPL':_0x5b7a2b(0x24c),'royRz':_0x5b7a2b(0x1f4),'ylJGc':_0x5b7a2b(0x219),'kLaWH':_0x5b7a2b(0x265)},_0x578b8f=_0x4df61d['FGhgh'][_0x5b7a2b(0x248)]('|'),_0xdc434d=0x0;while(!![]){switch(_0x578b8f[_0xdc434d++]){case'0':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x217)]]=0x3]=_0x4df61d[_0x5b7a2b(0x217)];continue;case'1':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x278)]]=0x8]=_0x4df61d[_0x5b7a2b(0x278)];continue;case'2':_0x617962[_0x617962[_0x4df61d['hZxXJ']]=0x4]=_0x4df61d['hZxXJ'];continue;case'3':_0x617962[_0x617962[_0x5b7a2b(0x22c)]=0x7]=_0x4df61d[_0x5b7a2b(0x207)];continue;case'4':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x20e)]]=0x5]=_0x5b7a2b(0x1e5);continue;case'5':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x240)]]=0x9]=_0x5b7a2b(0x259);continue;case'6':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x1ed)]]=0x1]=_0x5b7a2b(0x224);continue;case'7':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x270)]]=0xa]=_0x4df61d['kBoPL'];continue;case'8':_0x617962[_0x617962[_0x5b7a2b(0x1f4)]=0xb]=_0x4df61d[_0x5b7a2b(0x1ee)];continue;case'9':_0x617962[_0x617962[_0x4df61d['ylJGc']]=0x2]=_0x5b7a2b(0x219);continue;case'10':_0x617962[_0x617962[_0x5b7a2b(0x265)]=0x6]=_0x4df61d[_0x5b7a2b(0x1fc)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x49dd21){var _0x50dbaf=_0x321e0b,_0x28b696={'pUhwK':'memberIncrease','BnrcD':_0x50dbaf(0x22b),'xyNRE':_0x50dbaf(0x22f)};_0x49dd21[_0x49dd21[_0x28b696[_0x50dbaf(0x261)]]=0x1]=_0x28b696['pUhwK'],_0x49dd21[_0x49dd21[_0x28b696[_0x50dbaf(0x230)]]=0x3]='kicked',_0x49dd21[_0x49dd21[_0x28b696[_0x50dbaf(0x266)]]=0x8]=_0x28b696[_0x50dbaf(0x266)];}(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 8b10ce6c..ad460c0e 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x2639de,_0x1a1a10){var _0x3d9bc4=_0x4870,_0x431b2c=_0x2639de();while(!![]){try{var _0x320f05=parseInt(_0x3d9bc4(0x1d9))/0x1*(-parseInt(_0x3d9bc4(0x1e3))/0x2)+-parseInt(_0x3d9bc4(0x1c5))/0x3+-parseInt(_0x3d9bc4(0x1cc))/0x4+-parseInt(_0x3d9bc4(0x1dd))/0x5*(-parseInt(_0x3d9bc4(0x1c9))/0x6)+parseInt(_0x3d9bc4(0x1c8))/0x7+-parseInt(_0x3d9bc4(0x1d0))/0x8+parseInt(_0x3d9bc4(0x1d8))/0x9;if(_0x320f05===_0x1a1a10)break;else _0x431b2c['push'](_0x431b2c['shift']());}catch(_0x46dc8b){_0x431b2c['push'](_0x431b2c['shift']());}}}(_0x2fe2,0x4dc61));export var GroupNotifyTypes;(function(_0x202c0f){var _0x213730=_0x4870,_0x106d26={'tfkrP':_0x213730(0x1ce),'AVjkh':'JOIN_REQUEST','UXKdB':_0x213730(0x1cb),'BPTef':'KICK_MEMBER','nELYi':_0x213730(0x1c6),'zZJbL':'ADMIN_UNSET'};_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1e5)]]=0x1]=_0x213730(0x1ce),_0x202c0f[_0x202c0f[_0x213730(0x1d6)]=0x4]=_0x213730(0x1d6),_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1db)]]=0x7]=_0x106d26['AVjkh'],_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1d4)]]=0x8]=_0x106d26[_0x213730(0x1d4)],_0x202c0f[_0x202c0f['KICK_MEMBER']=0x9]=_0x106d26[_0x213730(0x1e6)],_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1cd)]]=0xb]=_0x106d26[_0x213730(0x1cd)],_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1d2)]]=0xc]=_0x106d26[_0x213730(0x1d2)],_0x202c0f[_0x202c0f['ADMIN_UNSET_OTHER']=0xd]=_0x213730(0x1ca);}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4870(_0x43f2fa,_0x195173){var _0x2fe252=_0x2fe2();return _0x4870=function(_0x48703f,_0x1348ed){_0x48703f=_0x48703f-0x1c5;var _0x4f7340=_0x2fe252[_0x48703f];return _0x4f7340;},_0x4870(_0x43f2fa,_0x195173);}export var GroupNotifyStatus;(function(_0x4098d4){var _0x3230fb=_0x4870,_0x5e1ce={'PMneD':_0x3230fb(0x1d5),'BjCou':_0x3230fb(0x1cf)};_0x4098d4[_0x4098d4[_0x3230fb(0x1d1)]=0x0]='IGNORE',_0x4098d4[_0x4098d4[_0x5e1ce['PMneD']]=0x1]=_0x5e1ce[_0x3230fb(0x1da)],_0x4098d4[_0x4098d4['APPROVE']=0x2]=_0x5e1ce[_0x3230fb(0x1e1)],_0x4098d4[_0x4098d4[_0x3230fb(0x1e0)]=0x3]='REJECT';}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x362768){var _0x5ec0f7=_0x4870,_0x4d2d90={'OFhAl':_0x5ec0f7(0x1d7),'KzTun':_0x5ec0f7(0x1c7)};_0x362768[_0x362768[_0x4d2d90['OFhAl']]=0x1]=_0x4d2d90[_0x5ec0f7(0x1e2)],_0x362768[_0x362768[_0x4d2d90[_0x5ec0f7(0x1d3)]]=0x2]=_0x5ec0f7(0x1c7);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;function _0x2fe2(){var _0x5d10a1=['474466DszcUA','PMneD','AVjkh','DEFAULTTYPE','1490NdSuqY','SlcUi','GLBJj','REJECT','BjCou','OFhAl','2dDBzvJ','TITLETYPE','tfkrP','BPTef','FXGxq','NEWGROUPTYPE','981549QgXTsh','MEMBER_EXIT','reject','1543388IIolgk','570WEMPZH','ADMIN_UNSET_OTHER','ADMIN_SET','239800iQhDzs','nELYi','INVITE_ME','APPROVE','668376IdyZwV','IGNORE','zZJbL','KzTun','UXKdB','WAIT_HANDLE','INVITED_JOIN','approve','9134217lFuJiX'];_0x2fe2=function(){return _0x5d10a1;};return _0x2fe2();}(function(_0x3bb696){var _0x54cb2d=_0x4870,_0x108ec8={'FXGxq':_0x54cb2d(0x1dc),'SlcUi':_0x54cb2d(0x1e4),'GLBJj':'NEWGROUPTYPE'};_0x3bb696[_0x3bb696[_0x108ec8[_0x54cb2d(0x1e7)]]=0x0]='DEFAULTTYPE',_0x3bb696[_0x3bb696[_0x108ec8['SlcUi']]=0x1]=_0x108ec8[_0x54cb2d(0x1de)],_0x3bb696[_0x3bb696[_0x108ec8[_0x54cb2d(0x1df)]]=0x2]=_0x54cb2d(0x1e8);}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x3991a3,_0x4a17ee){var _0x3dbe3e=_0x5b5d,_0x23c956=_0x3991a3();while(!![]){try{var _0x32aacb=-parseInt(_0x3dbe3e(0x213))/0x1*(-parseInt(_0x3dbe3e(0x202))/0x2)+parseInt(_0x3dbe3e(0x1fd))/0x3*(-parseInt(_0x3dbe3e(0x203))/0x4)+parseInt(_0x3dbe3e(0x201))/0x5*(-parseInt(_0x3dbe3e(0x1f5))/0x6)+parseInt(_0x3dbe3e(0x212))/0x7*(parseInt(_0x3dbe3e(0x204))/0x8)+parseInt(_0x3dbe3e(0x1fa))/0x9*(-parseInt(_0x3dbe3e(0x20d))/0xa)+-parseInt(_0x3dbe3e(0x21d))/0xb*(-parseInt(_0x3dbe3e(0x206))/0xc)+parseInt(_0x3dbe3e(0x21b))/0xd*(parseInt(_0x3dbe3e(0x1f4))/0xe);if(_0x32aacb===_0x4a17ee)break;else _0x23c956['push'](_0x23c956['shift']());}catch(_0x3e3ef4){_0x23c956['push'](_0x23c956['shift']());}}}(_0x1866,0x6c4a3));export var GroupNotifyTypes;(function(_0x14421c){var _0x24b9c1=_0x5b5d,_0x919389={'DTail':_0x24b9c1(0x210),'mUXFd':_0x24b9c1(0x217),'WWRCw':_0x24b9c1(0x200),'IHXIE':_0x24b9c1(0x219),'UKxQP':'JOIN_REQUEST','Mrfyt':_0x24b9c1(0x1f9),'HOidV':_0x24b9c1(0x21c),'LJYJv':_0x24b9c1(0x1fe)},_0x8888bf=_0x919389[_0x24b9c1(0x21e)][_0x24b9c1(0x207)]('|'),_0x1fd465=0x0;while(!![]){switch(_0x8888bf[_0x1fd465++]){case'0':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x1fc)]]=0xb]=_0x24b9c1(0x217);continue;case'1':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x21a)]]=0x1]=_0x24b9c1(0x200);continue;case'2':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x20e)]]=0x8]='ADMIN_SET';continue;case'3':_0x14421c[_0x14421c['JOIN_REQUEST']=0x7]=_0x919389[_0x24b9c1(0x21f)];continue;case'4':_0x14421c[_0x14421c['KICK_MEMBER']=0x9]=_0x24b9c1(0x218);continue;case'5':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x1f8)]]=0x4]=_0x919389[_0x24b9c1(0x1f8)];continue;case'6':_0x14421c[_0x14421c[_0x24b9c1(0x21c)]=0xc]=_0x919389[_0x24b9c1(0x1f7)];continue;case'7':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x205)]]=0xd]=_0x919389['LJYJv'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x5b5d(_0xafbfbb,_0x189843){var _0x18667c=_0x1866();return _0x5b5d=function(_0x5b5d1c,_0x2f9010){_0x5b5d1c=_0x5b5d1c-0x1f4;var _0x53a25a=_0x18667c[_0x5b5d1c];return _0x53a25a;},_0x5b5d(_0xafbfbb,_0x189843);}export var GroupNotifyStatus;(function(_0x8e523a){var _0x1bec1b=_0x5b5d,_0x179060={'xBKMx':_0x1bec1b(0x215),'Qcvtw':_0x1bec1b(0x208),'dMVfb':_0x1bec1b(0x1f6)};_0x8e523a[_0x8e523a[_0x179060[_0x1bec1b(0x214)]]=0x0]=_0x1bec1b(0x215),_0x8e523a[_0x8e523a['WAIT_HANDLE']=0x1]='WAIT_HANDLE',_0x8e523a[_0x8e523a[_0x179060[_0x1bec1b(0x209)]]=0x2]=_0x179060[_0x1bec1b(0x209)],_0x8e523a[_0x8e523a[_0x179060[_0x1bec1b(0x20b)]]=0x3]=_0x1bec1b(0x1f6);}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x1866(){var _0x3331d8=['2cHSmnc','62044jncYXL','128Tzsuja','LJYJv','2928gAVRhY','split','APPROVE','Qcvtw','GbUTH','dMVfb','fyYmu','530DSIjlF','IHXIE','SsYbt','1|5|3|2|4|0|6|7','wYfNU','224stEWSN','726467DnCSwa','xBKMx','IGNORE','reject','MEMBER_EXIT','KICK_MEMBER','ADMIN_SET','WWRCw','949DbSNCn','ADMIN_UNSET','30624xJIvde','DTail','UKxQP','135758wCxoYu','140940uvvRcx','REJECT','HOidV','Mrfyt','INVITED_JOIN','29538JFZiLx','ngIwE','mUXFd','135sZSkBQ','ADMIN_UNSET_OTHER','NEWGROUPTYPE','INVITE_ME','170vteQwD'];_0x1866=function(){return _0x3331d8;};return _0x1866();}(function(_0x287650){var _0x3d4ec2=_0x5b5d,_0x5821a5={'GbUTH':'approve','ngIwE':_0x3d4ec2(0x216)};_0x287650[_0x287650[_0x5821a5[_0x3d4ec2(0x20a)]]=0x1]=_0x5821a5['GbUTH'],_0x287650[_0x287650[_0x5821a5[_0x3d4ec2(0x1fb)]]=0x2]=_0x5821a5[_0x3d4ec2(0x1fb)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x26fa04){var _0x91d0af=_0x5b5d,_0xa55c7a={'fyYmu':'DEFAULTTYPE','wYfNU':'TITLETYPE','SsYbt':_0x91d0af(0x1ff)};_0x26fa04[_0x26fa04[_0xa55c7a[_0x91d0af(0x20c)]]=0x0]=_0xa55c7a[_0x91d0af(0x20c)],_0x26fa04[_0x26fa04[_0xa55c7a[_0x91d0af(0x211)]]=0x1]=_0xa55c7a[_0x91d0af(0x211)],_0x26fa04[_0x26fa04[_0x91d0af(0x1ff)]=0x2]=_0xa55c7a[_0x91d0af(0x20f)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 6b70fac4..6ab2e10e 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x59cd09,_0x301dc5){var _0x30ff74=_0x47e7,_0x3ca58f=_0x59cd09();while(!![]){try{var _0x1dbb70=-parseInt(_0x30ff74(0x190))/0x1+parseInt(_0x30ff74(0x19b))/0x2+parseInt(_0x30ff74(0x18e))/0x3*(parseInt(_0x30ff74(0x18b))/0x4)+parseInt(_0x30ff74(0x188))/0x5+-parseInt(_0x30ff74(0x19a))/0x6*(parseInt(_0x30ff74(0x194))/0x7)+parseInt(_0x30ff74(0x196))/0x8+-parseInt(_0x30ff74(0x199))/0x9*(parseInt(_0x30ff74(0x193))/0xa);if(_0x1dbb70===_0x301dc5)break;else _0x3ca58f['push'](_0x3ca58f['shift']());}catch(_0x498baa){_0x3ca58f['push'](_0x3ca58f['shift']());}}}(_0xbad6,0x98faf));export var Sex;(function(_0x56ddea){var _0x323b16=_0x47e7,_0x5baac7={'MHxKW':_0x323b16(0x18a),'NxjMj':_0x323b16(0x18c),'HlYqw':_0x323b16(0x195)};_0x56ddea[_0x56ddea[_0x5baac7[_0x323b16(0x191)]]=0x1]=_0x5baac7['MHxKW'],_0x56ddea[_0x56ddea[_0x5baac7['NxjMj']]=0x2]=_0x5baac7[_0x323b16(0x197)],_0x56ddea[_0x56ddea[_0x323b16(0x195)]=0xff]=_0x5baac7[_0x323b16(0x198)];}(Sex||(Sex={})));export var BizKey;(function(_0x1b5332){var _0x4ee96f=_0x47e7,_0x1b0a83={'ciZlf':_0x4ee96f(0x18d),'IXfCY':_0x4ee96f(0x18f)};_0x1b5332[_0x1b5332[_0x1b0a83['ciZlf']]=0x0]=_0x1b0a83[_0x4ee96f(0x192)],_0x1b5332[_0x1b5332[_0x1b0a83['IXfCY']]=0x1]=_0x1b0a83[_0x4ee96f(0x189)];}(BizKey||(BizKey={})));function _0x47e7(_0x1662b8,_0x522b0c){var _0xbad630=_0xbad6();return _0x47e7=function(_0x47e76b,_0x4fcad2){_0x47e76b=_0x47e76b-0x188;var _0x22a3e5=_0xbad630[_0x47e76b];return _0x22a3e5;},_0x47e7(_0x1662b8,_0x522b0c);}function _0xbad6(){var _0x7a9aa=['8674552bpdNOS','NxjMj','HlYqw','914490iUkCTN','82662aCTOIq','1533726MUIwQD','1959650LXsDOt','IXfCY','male','92kUodlm','female','KPRIVILEGEICON','29535sjEObC','KPHOTOWALL','510006ZZHYve','MHxKW','ciZlf','20ppWuFN','574TQfVeL','unknown'];_0xbad6=function(){return _0x7a9aa;};return _0xbad6();} \ No newline at end of file +(function(_0x1e77e9,_0x4c2c7f){var _0x1bbc42=_0x4698,_0x384fd5=_0x1e77e9();while(!![]){try{var _0x1c9436=-parseInt(_0x1bbc42(0x9e))/0x1*(parseInt(_0x1bbc42(0x99))/0x2)+-parseInt(_0x1bbc42(0xa5))/0x3+-parseInt(_0x1bbc42(0x9b))/0x4+parseInt(_0x1bbc42(0xa4))/0x5*(parseInt(_0x1bbc42(0x98))/0x6)+parseInt(_0x1bbc42(0x9d))/0x7+-parseInt(_0x1bbc42(0xa0))/0x8+-parseInt(_0x1bbc42(0x97))/0x9*(-parseInt(_0x1bbc42(0x9a))/0xa);if(_0x1c9436===_0x4c2c7f)break;else _0x384fd5['push'](_0x384fd5['shift']());}catch(_0x5e5ad3){_0x384fd5['push'](_0x384fd5['shift']());}}}(_0x4a4b,0x90b53));function _0x4a4b(){var _0x15ad53=['female','ZHfSz','23498973jfXToP','684jFoqMv','2QNMcMN','10LVeQrP','4117388JqGOZy','dWEyi','5052117vyorwJ','895963QRWkHm','ilYIw','5164744tvZaeA','male','IFQgW','KPRIVILEGEICON','38635PnbQis','3149940VUFTIE'];_0x4a4b=function(){return _0x15ad53;};return _0x4a4b();}export var Sex;(function(_0x13d413){var _0x257882=_0x4698,_0x556930={'AYikw':_0x257882(0xa1),'ilYIw':_0x257882(0x95),'IFQgW':'unknown'};_0x13d413[_0x13d413[_0x556930['AYikw']]=0x1]=_0x556930['AYikw'],_0x13d413[_0x13d413[_0x556930[_0x257882(0x9f)]]=0x2]=_0x556930[_0x257882(0x9f)],_0x13d413[_0x13d413[_0x556930[_0x257882(0xa2)]]=0xff]=_0x556930[_0x257882(0xa2)];}(Sex||(Sex={})));function _0x4698(_0x4a3080,_0x192696){var _0x4a4b85=_0x4a4b();return _0x4698=function(_0x4698d8,_0x3c0c9f){_0x4698d8=_0x4698d8-0x95;var _0x54c870=_0x4a4b85[_0x4698d8];return _0x54c870;},_0x4698(_0x4a3080,_0x192696);}export var BizKey;(function(_0x422385){var _0x574ec6=_0x4698,_0x580e79={'ZHfSz':_0x574ec6(0xa3),'dWEyi':'KPHOTOWALL'};_0x422385[_0x422385[_0x580e79[_0x574ec6(0x96)]]=0x0]=_0x580e79[_0x574ec6(0x96)],_0x422385[_0x422385[_0x580e79['dWEyi']]=0x1]=_0x580e79[_0x574ec6(0x9c)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 60ecab9e..89cd2b70 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x32738d,_0x5cc8b2){var _0x1be3c7=_0x3f98,_0xc4c45e=_0x32738d();while(!![]){try{var _0x28d4df=parseInt(_0x1be3c7(0x6e))/0x1*(parseInt(_0x1be3c7(0x68))/0x2)+-parseInt(_0x1be3c7(0x6d))/0x3+parseInt(_0x1be3c7(0x70))/0x4+-parseInt(_0x1be3c7(0x6c))/0x5*(-parseInt(_0x1be3c7(0x69))/0x6)+-parseInt(_0x1be3c7(0x67))/0x7+parseInt(_0x1be3c7(0x6b))/0x8*(-parseInt(_0x1be3c7(0x6f))/0x9)+parseInt(_0x1be3c7(0x6a))/0xa;if(_0x28d4df===_0x5cc8b2)break;else _0xc4c45e['push'](_0xc4c45e['shift']());}catch(_0x44a6a4){_0xc4c45e['push'](_0xc4c45e['shift']());}}}(_0x1375,0x2327b));import _0x2c840b from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x1375(){var _0x4f6a60=['221LTauMv','9vEZWRW','214160uNwmez','822248cmRYHu','554SsfbIi','4458walEwG','2888230utTOKA','1361568VIFbZs','1930SeatpZ','776169cDoLUP'];_0x1375=function(){return _0x4f6a60;};return _0x1375();}export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x3f98(_0x4f37e9,_0x5bfe60){var _0x1375fc=_0x1375();return _0x3f98=function(_0x3f984c,_0x14d6c3){_0x3f984c=_0x3f984c-0x67;var _0x333bc2=_0x1375fc[_0x3f984c];return _0x333bc2;},_0x3f98(_0x4f37e9,_0x5bfe60);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x2c840b as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x33ac77,_0x220356){var _0x3e7cf1=_0x292d,_0x49d952=_0x33ac77();while(!![]){try{var _0x50f3db=parseInt(_0x3e7cf1(0x1f5))/0x1*(parseInt(_0x3e7cf1(0x1f0))/0x2)+-parseInt(_0x3e7cf1(0x1f8))/0x3*(parseInt(_0x3e7cf1(0x1f6))/0x4)+-parseInt(_0x3e7cf1(0x1f7))/0x5+parseInt(_0x3e7cf1(0x1ef))/0x6*(parseInt(_0x3e7cf1(0x1f2))/0x7)+parseInt(_0x3e7cf1(0x1f4))/0x8+parseInt(_0x3e7cf1(0x1f3))/0x9+parseInt(_0x3e7cf1(0x1ee))/0xa*(-parseInt(_0x3e7cf1(0x1f1))/0xb);if(_0x50f3db===_0x220356)break;else _0x49d952['push'](_0x49d952['shift']());}catch(_0x4773e8){_0x49d952['push'](_0x49d952['shift']());}}}(_0x3d85,0x3bf01));import _0x323c1f 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';function _0x292d(_0x29d1e9,_0x360f95){var _0x3d8592=_0x3d85();return _0x292d=function(_0x292d52,_0x5b4dc6){_0x292d52=_0x292d52-0x1ee;var _0x549fc1=_0x3d8592[_0x292d52];return _0x549fc1;},_0x292d(_0x29d1e9,_0x360f95);}function _0x3d85(){var _0x42a906=['4QFXhKy','12199yyKmYE','42UeUkKf','450990qmtgio','973784PTWfLK','191633XbxEBI','2316NQFPkb','1513180ffGYwr','1509XIvuPb','230wlugcl','309786AqrEQC'];_0x3d85=function(){return _0x42a906;};return _0x3d85();}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x323c1f 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 2838ebc6..4a416f5c 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x8681(_0x2cb271,_0x7abc60){var _0x465349=_0x4653();return _0x8681=function(_0x86811,_0x1fbe41){_0x86811=_0x86811-0x96;var _0x3cbe16=_0x465349[_0x86811];return _0x3cbe16;},_0x8681(_0x2cb271,_0x7abc60);}var _0x386aff=_0x8681;function _0x4653(){var _0xa9fd01=['5672kKWLNe','62BvptYh','onBuddyReqChange','2101268FKYpON','onBuddyInfoChange','6HJtwmV','onDelBatchBuddyInfos','onSpacePermissionInfos','9088695sZPoni','onDoubtBuddyReqUnreadNumChange','4093460YbxmzP','onDoubtBuddyReqChange','onAddMeSettingChanged','824qSNezm','onBuddyListChange','onBuddyDetailInfoChange','onNickUpdated','onAvatarUrlUpdated','1729218WNMacG','27369mEdntu','4772315rrvMgO','onCheckBuddySettingResult'];_0x4653=function(){return _0xa9fd01;};return _0x4653();}(function(_0x18fa34,_0x560eab){var _0xd28ac4=_0x8681,_0x320641=_0x18fa34();while(!![]){try{var _0x2cee58=-parseInt(_0xd28ac4(0xab))/0x1*(parseInt(_0xd28ac4(0xaa))/0x2)+parseInt(_0xd28ac4(0xa6))/0x3+parseInt(_0xd28ac4(0x97))/0x4+parseInt(_0xd28ac4(0xa8))/0x5*(parseInt(_0xd28ac4(0x99))/0x6)+-parseInt(_0xd28ac4(0x9c))/0x7+-parseInt(_0xd28ac4(0xa1))/0x8*(parseInt(_0xd28ac4(0xa7))/0x9)+parseInt(_0xd28ac4(0x9e))/0xa;if(_0x2cee58===_0x560eab)break;else _0x320641['push'](_0x320641['shift']());}catch(_0x4b34ac){_0x320641['push'](_0x320641['shift']());}}}(_0x4653,0xa58cc));export class BuddyListener{['onAddBuddyNeedVerify'](_0x4d4743){}[_0x386aff(0xa0)](_0x23db87){}[_0x386aff(0xa5)](_0x4e6e13){}['onBlockChanged'](_0x43fcbf){}[_0x386aff(0xa3)](_0x5ec560){}[_0x386aff(0x98)](_0x4438bb){}[_0x386aff(0xa2)](_0x58e524){}['onBuddyRemarkUpdated'](_0x1e3757){}[_0x386aff(0x96)](_0x42217e){}['onBuddyReqUnreadCntChange'](_0x58f1c9){}[_0x386aff(0xa9)](_0x490b4a){}[_0x386aff(0x9a)](_0x4e86d3){}[_0x386aff(0x9f)](_0x11801e){}[_0x386aff(0x9d)](_0x497a1d){}[_0x386aff(0xa4)](_0x500255){}['onSmartInfos'](_0x8eae03){}[_0x386aff(0x9b)](_0x30badf){}} \ No newline at end of file +var _0x9732bc=_0x16e2;function _0x16e2(_0x3dff87,_0x5a2780){var _0x58c60a=_0x58c6();return _0x16e2=function(_0x16e261,_0x7d1e1f){_0x16e261=_0x16e261-0xb6;var _0x4803a7=_0x58c60a[_0x16e261];return _0x4803a7;},_0x16e2(_0x3dff87,_0x5a2780);}(function(_0x23dece,_0x1d167d){var _0x1ba526=_0x16e2,_0x102de8=_0x23dece();while(!![]){try{var _0x50e940=parseInt(_0x1ba526(0xc5))/0x1*(parseInt(_0x1ba526(0xbc))/0x2)+-parseInt(_0x1ba526(0xba))/0x3+parseInt(_0x1ba526(0xb9))/0x4+parseInt(_0x1ba526(0xb6))/0x5*(-parseInt(_0x1ba526(0xbb))/0x6)+parseInt(_0x1ba526(0xb7))/0x7*(parseInt(_0x1ba526(0xcb))/0x8)+parseInt(_0x1ba526(0xc1))/0x9+-parseInt(_0x1ba526(0xbd))/0xa*(parseInt(_0x1ba526(0xca))/0xb);if(_0x50e940===_0x1d167d)break;else _0x102de8['push'](_0x102de8['shift']());}catch(_0x149eb8){_0x102de8['push'](_0x102de8['shift']());}}}(_0x58c6,0xa9dff));function _0x58c6(){var _0x417cb1=['onSmartInfos','onDoubtBuddyReqUnreadNumChange','29629rfSRUU','onBuddyInfoChange','onBuddyReqUnreadCntChange','onBuddyDetailInfoChange','onAddMeSettingChanged','84491bSTPdf','488TihOXv','onBuddyRemarkUpdated','onCheckBuddySettingResult','1076115eZshzv','45101LVJAJE','onBuddyListChange','1233984kLQVpa','1689876hwniZI','6ChELjA','22vzrpuu','530ZxBnIx','onSpacePermissionInfos','onDelBatchBuddyInfos','onBuddyReqChange','7685793QrXMcX','onAddBuddyNeedVerify'];_0x58c6=function(){return _0x417cb1;};return _0x58c6();}export class BuddyListener{[_0x9732bc(0xc2)](_0x5b9006){}[_0x9732bc(0xc9)](_0x240d86){}['onAvatarUrlUpdated'](_0x3a19b3){}['onBlockChanged'](_0xe4ab72){}[_0x9732bc(0xc8)](_0x491326){}[_0x9732bc(0xc6)](_0x21576e){}[_0x9732bc(0xb8)](_0x23645c){}[_0x9732bc(0xcc)](_0x1b6fbb){}[_0x9732bc(0xc0)](_0x3c2494){}[_0x9732bc(0xc7)](_0x597387){}[_0x9732bc(0xcd)](_0x542578){}[_0x9732bc(0xbf)](_0x514997){}['onDoubtBuddyReqChange'](_0x238074){}[_0x9732bc(0xc4)](_0xa3754d){}['onNickUpdated'](_0x1c1693){}[_0x9732bc(0xc3)](_0x32a8f9){}[_0x9732bc(0xbe)](_0xc3d49a){}} \ 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 6d038196..67225d90 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x17b12b=_0x2c90;function _0x2b8a(){var _0x372567=['onSessionChanged','256582DSKNET','onFileListChanged','6428871dEIPCd','3420400Nynlcc','2056926jQcIVX','onFileStatusChanged','217371JFQNzV','onFileSearch','8BDtqGQ','581040WGPIfY','2Mpiwnp','307772kdVJxV'];_0x2b8a=function(){return _0x372567;};return _0x2b8a();}function _0x2c90(_0x58e5d6,_0x2decca){var _0x2b8af1=_0x2b8a();return _0x2c90=function(_0x2c90d9,_0x4ec67d){_0x2c90d9=_0x2c90d9-0x153;var _0x3d5844=_0x2b8af1[_0x2c90d9];return _0x3d5844;},_0x2c90(_0x58e5d6,_0x2decca);}(function(_0x309af3,_0x3aa8c3){var _0x56ccd5=_0x2c90,_0x4bac84=_0x309af3();while(!![]){try{var _0x130f96=-parseInt(_0x56ccd5(0x15c))/0x1*(parseInt(_0x56ccd5(0x159))/0x2)+-parseInt(_0x56ccd5(0x153))/0x3+parseInt(_0x56ccd5(0x15a))/0x4+parseInt(_0x56ccd5(0x15f))/0x5+-parseInt(_0x56ccd5(0x158))/0x6+parseInt(_0x56ccd5(0x155))/0x7*(parseInt(_0x56ccd5(0x157))/0x8)+parseInt(_0x56ccd5(0x15e))/0x9;if(_0x130f96===_0x3aa8c3)break;else _0x4bac84['push'](_0x4bac84['shift']());}catch(_0xaca1ab){_0x4bac84['push'](_0x4bac84['shift']());}}}(_0x2b8a,0x72183));export class KernelFileAssistantListener{[_0x17b12b(0x154)](..._0x386dda){}['onSessionListChanged'](..._0x312078){}[_0x17b12b(0x15b)](..._0x532e5b){}[_0x17b12b(0x15d)](..._0x2d4cca){}[_0x17b12b(0x156)](..._0x1ec8b0){}} \ No newline at end of file +function _0xceaf(_0xf1b716,_0x278739){var _0x19a45f=_0x19a4();return _0xceaf=function(_0xceafc8,_0x28016a){_0xceafc8=_0xceafc8-0x89;var _0x1c62b0=_0x19a45f[_0xceafc8];return _0x1c62b0;},_0xceaf(_0xf1b716,_0x278739);}var _0x458c39=_0xceaf;(function(_0x2ac7f6,_0xd921ca){var _0x27818a=_0xceaf,_0x514e23=_0x2ac7f6();while(!![]){try{var _0x5524e7=-parseInt(_0x27818a(0x8e))/0x1*(-parseInt(_0x27818a(0x94))/0x2)+-parseInt(_0x27818a(0x92))/0x3+parseInt(_0x27818a(0x96))/0x4+-parseInt(_0x27818a(0x89))/0x5+parseInt(_0x27818a(0x93))/0x6*(parseInt(_0x27818a(0x8d))/0x7)+-parseInt(_0x27818a(0x8a))/0x8*(parseInt(_0x27818a(0x8b))/0x9)+parseInt(_0x27818a(0x8f))/0xa*(parseInt(_0x27818a(0x90))/0xb);if(_0x5524e7===_0xd921ca)break;else _0x514e23['push'](_0x514e23['shift']());}catch(_0x1badb3){_0x514e23['push'](_0x514e23['shift']());}}}(_0x19a4,0x6ed95));function _0x19a4(){var _0x287738=['104sBLLJX','452961yMCGuD','onFileStatusChanged','14kLfria','2SXvHFg','11354830gmSayt','11XPFVxn','onFileSearch','817842fNhclV','238452indwLg','167162AjpaJz','onFileListChanged','1948436AAwZpW','2441550lZqTqF'];_0x19a4=function(){return _0x287738;};return _0x19a4();}export class KernelFileAssistantListener{[_0x458c39(0x8c)](..._0x120200){}['onSessionListChanged'](..._0x4fb5f2){}['onSessionChanged'](..._0x1c0db0){}[_0x458c39(0x95)](..._0x328a06){}[_0x458c39(0x91)](..._0x91b3ee){}} \ 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 f66dd804..882d13c0 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x4682a9=_0x31e4;function _0x31e4(_0x390254,_0x15e276){var _0x2a2f2c=_0x2a2f();return _0x31e4=function(_0x31e489,_0x55cad3){_0x31e489=_0x31e489-0x1a4;var _0x3d082d=_0x2a2f2c[_0x31e489];return _0x3d082d;},_0x31e4(_0x390254,_0x15e276);}function _0x2a2f(){var _0x43e58e=['332930udqoTn','onGroupBulletinRichMediaDownloadComplete','onGroupExtListUpdate','onGroupFirstBulletinNotify','VvreP','onGroupArkInviteStateResult:','NWokl','12FcWHqC','37541180qtGcCg','236sxiDJU','onSearchMemberChange:','onMemberListChange:','GWjCg','jQpJO','15513129mpCKrk','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange:','PdwZt','onGetGroupBulletinListResult:','onGroupFirstBulletinNotify:','QpFyi','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinChange:','onGroupConfMemberChange','onMemberInfoChange','15975RYqCxq','4117936wKFmAt','onShutUpMemberListChanged','onGroupAllInfoChange:','onGroupNotifiesUpdated','933712XRKHXA','7HwUkJw','LkVSC','onGroupBulletinRichMediaProgressUpdate:','onMemberListChange','4520440xRIYcA','onShutUpMemberListChanged:','onGroupBulletinRemindNotify','onGroupArkInviteStateResult','onGroupStatisticInfoChange','onSearchMemberChange','onGroupsMsgMaskResult','onGroupDetailInfoChange','pltoz','onGroupNotifiesUpdated:','onJoinGroupNoVerifyFlag','onGroupBulletinRemindNotify:','wskvx','onGroupNotifiesUnreadCountUpdated','onGroupMemberLevelInfoChange','onMemberInfoChange:','EqaMf','dRAhC','kaebZ','onGetGroupBulletinListResult','onGroupSingleScreenNotifies','log','onGroupAllInfoChange','onJoinGroupNotify'];_0x2a2f=function(){return _0x43e58e;};return _0x2a2f();}(function(_0x15998b,_0x1ce2b3){var _0x4659c1=_0x31e4,_0x26e8ee=_0x15998b();while(!![]){try{var _0x186a92=parseInt(_0x4659c1(0x1db))/0x1+-parseInt(_0x4659c1(0x1be))/0x2+parseInt(_0x4659c1(0x1b9))/0x3*(parseInt(_0x4659c1(0x1a8))/0x4)+-parseInt(_0x4659c1(0x1c3))/0x5*(parseInt(_0x4659c1(0x1a6))/0x6)+parseInt(_0x4659c1(0x1bf))/0x7*(parseInt(_0x4659c1(0x1ba))/0x8)+-parseInt(_0x4659c1(0x1ad))/0x9+parseInt(_0x4659c1(0x1a7))/0xa;if(_0x186a92===_0x1ce2b3)break;else _0x26e8ee['push'](_0x26e8ee['shift']());}catch(_0xc9c835){_0x26e8ee['push'](_0x26e8ee['shift']());}}}(_0x2a2f,0xdff04));export class GroupListener{[_0x4682a9(0x1d1)](..._0x58c5d0){}[_0x4682a9(0x1d6)](..._0x495a89){}[_0x4682a9(0x1d9)](..._0x2fa465){}['onGroupBulletinChange'](..._0x124894){}[_0x4682a9(0x1c5)](..._0x40b0ff){}[_0x4682a9(0x1c6)](..._0x4024b0){}['onGroupBulletinRichMediaDownloadComplete'](..._0x3e3a10){}[_0x4682a9(0x1b7)](..._0x49d79a){}[_0x4682a9(0x1ca)](..._0x2ad584){}[_0x4682a9(0x1dd)](..._0x23976c){}[_0x4682a9(0x1de)](..._0x26e6fd){}['onGroupListUpdate'](_0x354a4d,_0x3bb71f){}['onGroupNotifiesUpdated'](_0x136892,_0x4906c5){}[_0x4682a9(0x1b5)](..._0x24f337){}[_0x4682a9(0x1d0)](..._0x423b50){}[_0x4682a9(0x1d7)](_0x4d34fb,_0x278426,_0x3a809e){}[_0x4682a9(0x1c9)](..._0x2efb0b){}['onGroupStatisticInfoChange'](..._0x3a9828){}[_0x4682a9(0x1da)](..._0x3b50c2){}[_0x4682a9(0x1cd)](..._0x424cba){}[_0x4682a9(0x1b8)](_0x1abfff,_0x3a7513,_0x4cb501){}[_0x4682a9(0x1c2)](_0x3c5354){}[_0x4682a9(0x1c8)](..._0x4939c0){}[_0x4682a9(0x1bb)](..._0xd0dc59){}}export class DebugGroupListener{[_0x4682a9(0x1d1)](..._0x50653c){var _0x243c3a=_0x4682a9,_0x555cf3={'jQpJO':_0x243c3a(0x1af)};console[_0x243c3a(0x1d8)](_0x555cf3[_0x243c3a(0x1ac)],..._0x50653c);}[_0x4682a9(0x1d6)](..._0x3e0167){var _0x364fb6=_0x4682a9,_0x5912d2={'PdwZt':_0x364fb6(0x1b1)};console[_0x364fb6(0x1d8)](_0x5912d2[_0x364fb6(0x1b0)],..._0x3e0167);}['onGroupAllInfoChange'](..._0x2e32a1){var _0x535ef5=_0x4682a9;console[_0x535ef5(0x1d8)](_0x535ef5(0x1bc),..._0x2e32a1);}['onGroupBulletinChange'](..._0x534692){var _0x47836c=_0x4682a9,_0x4fbf6a={'GWjCg':_0x47836c(0x1b6)};console['log'](_0x4fbf6a[_0x47836c(0x1ab)],..._0x534692);}[_0x4682a9(0x1c5)](..._0x1cf191){var _0x34c818=_0x4682a9,_0x16667f={'dRAhC':_0x34c818(0x1ce)};console[_0x34c818(0x1d8)](_0x16667f[_0x34c818(0x1d4)],..._0x1cf191);}[_0x4682a9(0x1c6)](..._0x5e402f){var _0xde1fe3=_0x4682a9;console['log'](_0xde1fe3(0x1a4),..._0x5e402f);}[_0x4682a9(0x1dc)](..._0x5e1361){var _0x370968=_0x4682a9,_0x315259={'DSdKc':_0x370968(0x1b4)};console[_0x370968(0x1d8)](_0x315259['DSdKc'],..._0x5e1361);}[_0x4682a9(0x1b7)](..._0x54888e){var _0x4edd5a=_0x4682a9;console[_0x4edd5a(0x1d8)]('onGroupConfMemberChange:',..._0x54888e);}[_0x4682a9(0x1ca)](..._0xc0539b){var _0x438b10=_0x4682a9,_0x39ffef={'QpFyi':'onGroupDetailInfoChange:'};console[_0x438b10(0x1d8)](_0x39ffef[_0x438b10(0x1b3)],..._0xc0539b);}['onGroupExtListUpdate'](..._0x924908){var _0x209052=_0x4682a9,_0x2fc1d1={'wskvx':'onGroupExtListUpdate:'};console[_0x209052(0x1d8)](_0x2fc1d1[_0x209052(0x1cf)],..._0x924908);}[_0x4682a9(0x1de)](..._0x12cfbc){var _0xa487dc=_0x4682a9,_0x2c6dc2={'LkVSC':_0xa487dc(0x1b2)};console[_0xa487dc(0x1d8)](_0x2c6dc2[_0xa487dc(0x1c0)],..._0x12cfbc);}['onGroupListUpdate'](..._0x3d789e){var _0x298fe4=_0x4682a9,_0x2df04e={'EqaMf':'onGroupListUpdate:'};console['log'](_0x2df04e[_0x298fe4(0x1d3)],..._0x3d789e);}[_0x4682a9(0x1bd)](..._0x140b74){var _0x1c3c79=_0x4682a9,_0x24ba32={'kaebZ':_0x1c3c79(0x1cc)};console['log'](_0x24ba32[_0x1c3c79(0x1d5)],..._0x140b74);}['onGroupBulletinRichMediaProgressUpdate'](..._0x297107){var _0x56d136=_0x4682a9;console[_0x56d136(0x1d8)](_0x56d136(0x1c1),..._0x297107);}[_0x4682a9(0x1d0)](..._0x4c7027){var _0x1ec8f9={'lFKzs':'onGroupNotifiesUnreadCountUpdated:'};console['log'](_0x1ec8f9['lFKzs'],..._0x4c7027);}[_0x4682a9(0x1d7)](_0x4844c8,_0x39fb55,_0x47f441){var _0x2c1415=_0x4682a9,_0x3a2c1b={'pltoz':'onGroupSingleScreenNotifies:'};console['log'](_0x3a2c1b[_0x2c1415(0x1cb)]);}['onGroupsMsgMaskResult'](..._0x3d17df){var _0xdfde53=_0x4682a9,_0x423072={'NWokl':_0xdfde53(0x1ae)};console[_0xdfde53(0x1d8)](_0x423072[_0xdfde53(0x1a5)],..._0x3d17df);}[_0x4682a9(0x1c7)](..._0x93e6b8){var _0x4fe34f=_0x4682a9,_0x576322={'VvreP':'onGroupStatisticInfoChange:'};console[_0x4fe34f(0x1d8)](_0x576322[_0x4fe34f(0x1df)],..._0x93e6b8);}[_0x4682a9(0x1da)](..._0x5c3662){var _0x822885=_0x4682a9;console[_0x822885(0x1d8)]('onJoinGroupNotify:',..._0x5c3662);}[_0x4682a9(0x1cd)](..._0x391096){var _0x2b2836=_0x4682a9,_0xa4993a={'BjBcC':'onJoinGroupNoVerifyFlag:'};console[_0x2b2836(0x1d8)](_0xa4993a['BjBcC'],..._0x391096);}['onMemberInfoChange'](_0x73d2ce,_0x1114bc,_0x1c3290){var _0x5a6353=_0x4682a9;console[_0x5a6353(0x1d8)](_0x5a6353(0x1d2),_0x73d2ce,_0x1114bc,_0x1c3290);}[_0x4682a9(0x1c2)](..._0x4d069d){var _0x2a7655=_0x4682a9;console[_0x2a7655(0x1d8)](_0x2a7655(0x1aa),..._0x4d069d);}[_0x4682a9(0x1c8)](..._0x31a0fe){var _0x3691c4=_0x4682a9;console[_0x3691c4(0x1d8)](_0x3691c4(0x1a9),..._0x31a0fe);}[_0x4682a9(0x1bb)](..._0x4b4369){var _0x1ae0dd=_0x4682a9;console[_0x1ae0dd(0x1d8)](_0x1ae0dd(0x1c4),..._0x4b4369);}} \ No newline at end of file +function _0x2396(){var _0x73f844=['dxPrf','onMemberInfoChange','onSearchMemberChange','UctDm','YpMXP','onGroupListUpdate','onGroupExtListUpdate','pnNki','1544BStmOl','onShutUpMemberListChanged:','onGroupBulletinRichMediaProgressUpdate','fVQhL','onGroupAllInfoChange:','log','gMzXP','133808YGFOPi','onGroupsMsgMaskResult','onJoinGroupNoVerifyFlag:','onGroupDetailInfoChange','onMemberListChange','onGetGroupBulletinListResult:','onGroupStatisticInfoChange','onGroupNotifiesUnreadCountUpdated','onShutUpMemberListChanged','onGroupNotifiesUpdated','lTdCO','onGroupConfMemberChange','onMemberInfoChange:','bsDiq','onGroupListUpdate:','937204OkKvmj','onGroupDetailInfoChange:','onGroupSingleScreenNotifies:','onGroupNotifiesUnreadCountUpdated:','onGroupArkInviteStateResult:','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinChange','onGroupStatisticInfoChange:','fRMho','503KElhaE','onGroupBulletinRemindNotify:','cXpXH','onGroupsMsgMaskResult:','6323702mYmlqR','onGroupSingleScreenNotifies','ksIFD','onGroupAllInfoChange','onGroupConfMemberChange:','onGroupBulletinRichMediaDownloadComplete','77ccbFxw','1278uzsWhn','onGroupNotifiesUpdated:','690inGIBu','PfEsP','onGroupBulletinChange:','SGHtt','onMemberListChange:','onJoinGroupNoVerifyFlag','onGetGroupBulletinListResult','onGroupBulletinRemindNotify','onGroupFirstBulletinNotify:','onGroupFirstBulletinNotify','onGroupMemberLevelInfoChange','1256208IRXpZV','rzEtD','19825TcqBHc','onGroupArkInviteStateResult','onSearchMemberChange:','25240yLrMIT','zGpOG','onJoinGroupNotify'];_0x2396=function(){return _0x73f844;};return _0x2396();}function _0x5279(_0xa59b7d,_0x41af92){var _0x2396a6=_0x2396();return _0x5279=function(_0x52797a,_0x1bf01b){_0x52797a=_0x52797a-0x128;var _0x2c2729=_0x2396a6[_0x52797a];return _0x2c2729;},_0x5279(_0xa59b7d,_0x41af92);}var _0x42b8e6=_0x5279;(function(_0xed33de,_0x279e12){var _0x5ad111=_0x5279,_0x1a5a05=_0xed33de();while(!![]){try{var _0x320154=-parseInt(_0x5ad111(0x142))/0x1*(parseInt(_0x5ad111(0x16a))/0x2)+parseInt(_0x5ad111(0x15a))/0x3+-parseInt(_0x5ad111(0x139))/0x4+-parseInt(_0x5ad111(0x15c))/0x5*(-parseInt(_0x5ad111(0x14f))/0x6)+-parseInt(_0x5ad111(0x14c))/0x7*(parseInt(_0x5ad111(0x12a))/0x8)+-parseInt(_0x5ad111(0x14d))/0x9*(parseInt(_0x5ad111(0x15f))/0xa)+parseInt(_0x5ad111(0x146))/0xb;if(_0x320154===_0x279e12)break;else _0x1a5a05['push'](_0x1a5a05['shift']());}catch(_0x47f13a){_0x1a5a05['push'](_0x1a5a05['shift']());}}}(_0x2396,0x457a6));export class GroupListener{[_0x42b8e6(0x159)](..._0x3ee918){}[_0x42b8e6(0x155)](..._0x444820){}[_0x42b8e6(0x149)](..._0x12e683){}[_0x42b8e6(0x13f)](..._0x4be18b){}[_0x42b8e6(0x156)](..._0x478428){}[_0x42b8e6(0x15d)](..._0x136d94){}[_0x42b8e6(0x14b)](..._0x1c9132){}['onGroupConfMemberChange'](..._0x2988ca){}[_0x42b8e6(0x12d)](..._0x193c70){}[_0x42b8e6(0x168)](..._0x182074){}[_0x42b8e6(0x158)](..._0x1544e8){}[_0x42b8e6(0x167)](_0x1f16ef,_0x32de0d){}[_0x42b8e6(0x133)](_0x11c871,_0x1202df){}[_0x42b8e6(0x16c)](..._0x458735){}[_0x42b8e6(0x131)](..._0x3ae5ed){}['onGroupSingleScreenNotifies'](_0x5b253e,_0x485f77,_0x5e2969){}[_0x42b8e6(0x12b)](..._0x12fca4){}[_0x42b8e6(0x130)](..._0x43f38d){}[_0x42b8e6(0x161)](..._0x1ae968){}[_0x42b8e6(0x154)](..._0x5636b8){}[_0x42b8e6(0x163)](_0x27cdd4,_0x5647ff,_0x285855){}['onMemberListChange'](_0xff68a0){}[_0x42b8e6(0x164)](..._0x5e41aa){}[_0x42b8e6(0x132)](..._0x55ca63){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x5bab91){var _0x5f51e4={'RIkTi':'onGroupMemberLevelInfoChange:'};console['log'](_0x5f51e4['RIkTi'],..._0x5bab91);}[_0x42b8e6(0x155)](..._0x1a036c){var _0x32c61f=_0x42b8e6,_0x5005a8={'cXpXH':_0x32c61f(0x12f)};console[_0x32c61f(0x128)](_0x5005a8[_0x32c61f(0x144)],..._0x1a036c);}[_0x42b8e6(0x149)](..._0x35c57d){var _0x1e2518=_0x42b8e6,_0x5a5054={'gMzXP':_0x1e2518(0x16e)};console[_0x1e2518(0x128)](_0x5a5054[_0x1e2518(0x129)],..._0x35c57d);}['onGroupBulletinChange'](..._0x132241){var _0x530ef2=_0x42b8e6,_0x1c2dfb={'bsDiq':_0x530ef2(0x151)};console[_0x530ef2(0x128)](_0x1c2dfb[_0x530ef2(0x137)],..._0x132241);}['onGroupBulletinRemindNotify'](..._0x1c41f6){var _0x391405=_0x42b8e6,_0x5a4443={'PfEsP':_0x391405(0x143)};console[_0x391405(0x128)](_0x5a4443[_0x391405(0x150)],..._0x1c41f6);}[_0x42b8e6(0x15d)](..._0x5bfc8c){var _0x7b4d93=_0x42b8e6,_0x26f164={'SGHtt':_0x7b4d93(0x13d)};console[_0x7b4d93(0x128)](_0x26f164[_0x7b4d93(0x152)],..._0x5bfc8c);}[_0x42b8e6(0x14b)](..._0x452510){var _0x4c3258=_0x42b8e6;console['log'](_0x4c3258(0x13e),..._0x452510);}[_0x42b8e6(0x135)](..._0x16e313){var _0x366a21=_0x42b8e6,_0x32ef23={'rzEtD':_0x366a21(0x14a)};console[_0x366a21(0x128)](_0x32ef23[_0x366a21(0x15b)],..._0x16e313);}[_0x42b8e6(0x12d)](..._0x24f658){var _0x5414ef=_0x42b8e6,_0x5eb765={'ksIFD':_0x5414ef(0x13a)};console[_0x5414ef(0x128)](_0x5eb765[_0x5414ef(0x148)],..._0x24f658);}[_0x42b8e6(0x168)](..._0x3278e5){console['log']('onGroupExtListUpdate:',..._0x3278e5);}[_0x42b8e6(0x158)](..._0x4c0a93){var _0x21096c=_0x42b8e6,_0xa19073={'fVQhL':_0x21096c(0x157)};console[_0x21096c(0x128)](_0xa19073[_0x21096c(0x16d)],..._0x4c0a93);}['onGroupListUpdate'](..._0x239531){var _0x43fc36=_0x42b8e6,_0x379f13={'pnNki':_0x43fc36(0x138)};console[_0x43fc36(0x128)](_0x379f13[_0x43fc36(0x169)],..._0x239531);}['onGroupNotifiesUpdated'](..._0x34e0fb){var _0x3a331d=_0x42b8e6,_0x134f7={'dCBwF':_0x3a331d(0x14e)};console[_0x3a331d(0x128)](_0x134f7['dCBwF'],..._0x34e0fb);}[_0x42b8e6(0x16c)](..._0x4bbe0b){var _0x281bb1=_0x42b8e6,_0x2276b1={'YpMXP':'onGroupBulletinRichMediaProgressUpdate:'};console['log'](_0x2276b1[_0x281bb1(0x166)],..._0x4bbe0b);}[_0x42b8e6(0x131)](..._0x55555c){var _0x4752be=_0x42b8e6,_0x4b09ef={'fRMho':_0x4752be(0x13c)};console['log'](_0x4b09ef[_0x4752be(0x141)],..._0x55555c);}[_0x42b8e6(0x147)](_0x3585cb,_0x5abae7,_0x5879f4){var _0x3e9820=_0x42b8e6;console[_0x3e9820(0x128)](_0x3e9820(0x13b));}['onGroupsMsgMaskResult'](..._0x199820){var _0x5358dd=_0x42b8e6,_0x16703d={'UctDm':_0x5358dd(0x145)};console[_0x5358dd(0x128)](_0x16703d[_0x5358dd(0x165)],..._0x199820);}[_0x42b8e6(0x130)](..._0x7da0d1){var _0x154ebd=_0x42b8e6,_0x49e5b2={'dxPrf':_0x154ebd(0x140)};console[_0x154ebd(0x128)](_0x49e5b2[_0x154ebd(0x162)],..._0x7da0d1);}[_0x42b8e6(0x161)](..._0x3d337f){console['log']('onJoinGroupNotify:',..._0x3d337f);}['onJoinGroupNoVerifyFlag'](..._0x699458){var _0x2e923c=_0x42b8e6,_0x5b4be0={'jGCIx':_0x2e923c(0x12c)};console[_0x2e923c(0x128)](_0x5b4be0['jGCIx'],..._0x699458);}[_0x42b8e6(0x163)](_0x9d38e4,_0x75c403,_0xb29d0f){var _0x3da17e=_0x42b8e6,_0x150095={'BolXY':_0x3da17e(0x136)};console[_0x3da17e(0x128)](_0x150095['BolXY'],_0x9d38e4,_0x75c403,_0xb29d0f);}[_0x42b8e6(0x12e)](..._0x43b1ca){var _0x358e37=_0x42b8e6,_0x59beee={'lTdCO':_0x358e37(0x153)};console[_0x358e37(0x128)](_0x59beee[_0x358e37(0x134)],..._0x43b1ca);}[_0x42b8e6(0x164)](..._0x290f49){var _0x5595b4=_0x42b8e6,_0x3cd2af={'zGpOG':_0x5595b4(0x15e)};console[_0x5595b4(0x128)](_0x3cd2af[_0x5595b4(0x160)],..._0x290f49);}[_0x42b8e6(0x132)](..._0x542036){var _0x59ce3c=_0x42b8e6;console['log'](_0x59ce3c(0x16b),..._0x542036);}} \ 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 93a76ab2..2d198a12 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x1539d7=_0x219c;(function(_0x51c4ff,_0x1caebb){var _0x6e8024=_0x219c,_0x2bb4a6=_0x51c4ff();while(!![]){try{var _0x4b81bb=-parseInt(_0x6e8024(0x1e4))/0x1*(-parseInt(_0x6e8024(0x1ec))/0x2)+-parseInt(_0x6e8024(0x1e1))/0x3*(parseInt(_0x6e8024(0x1e0))/0x4)+-parseInt(_0x6e8024(0x1e2))/0x5+parseInt(_0x6e8024(0x1dd))/0x6+parseInt(_0x6e8024(0x1e3))/0x7+parseInt(_0x6e8024(0x1ed))/0x8*(parseInt(_0x6e8024(0x1e7))/0x9)+-parseInt(_0x6e8024(0x1df))/0xa*(-parseInt(_0x6e8024(0x1ea))/0xb);if(_0x4b81bb===_0x1caebb)break;else _0x2bb4a6['push'](_0x2bb4a6['shift']());}catch(_0x9f2c11){_0x2bb4a6['push'](_0x2bb4a6['shift']());}}}(_0x2931,0x589d9));function _0x219c(_0x289634,_0x1c9081){var _0x29311f=_0x2931();return _0x219c=function(_0x219ca2,_0x1cb5b3){_0x219ca2=_0x219ca2-0x1da;var _0xad96cb=_0x29311f[_0x219ca2];return _0xad96cb;},_0x219c(_0x289634,_0x1c9081);}function _0x2931(){var _0x816d06=['66JraPBG','onQRCodeSessionUserScaned','998gEEaNf','387688kfuKxa','onLoginConnecting','onLoginDisConnected','onLogoutSucceed','onLoginState','onQRCodeGetPicture','onUserLoggedIn','OnConfirmUnusualDeviceFailed','2480868wiUhdc','onLoginFailed','389370esJhXy','24vCXtAs','106422GqblfS','1671250BIMvEy','1253511wYeACy','71jqNlUb','onPasswordLoginFailed','onQQLoginNumLimited','9DZwQZT','onLogoutFailed','onQRCodeLoginSucceed'];_0x2931=function(){return _0x816d06;};return _0x2931();}export class LoginListener{['onLoginConnected'](..._0x26249e){}[_0x1539d7(0x1ef)](..._0x4c6cb2){}[_0x1539d7(0x1ee)](..._0x4dc568){}[_0x1539d7(0x1da)](_0x59df3c){}['onQRCodeLoginPollingStarted'](..._0x2a7d86){}[_0x1539d7(0x1eb)](..._0x1e4396){}[_0x1539d7(0x1e9)](_0x35e904){}['onQRCodeSessionFailed'](..._0x321f2d){}[_0x1539d7(0x1de)](..._0x129b27){}[_0x1539d7(0x1f0)](..._0x4fc909){}[_0x1539d7(0x1e8)](..._0x37f005){}[_0x1539d7(0x1db)](..._0x24e0af){}['onQRCodeSessionQuickLoginFailed'](..._0x13d284){}[_0x1539d7(0x1e5)](..._0x476be9){}[_0x1539d7(0x1dc)](..._0x313bcd){}[_0x1539d7(0x1e6)](..._0x410399){}[_0x1539d7(0x1f1)](..._0x1cb385){}} \ No newline at end of file +var _0xc507b4=_0x39df;(function(_0x52db1e,_0x2bb0e5){var _0x3ba848=_0x39df,_0x4255fa=_0x52db1e();while(!![]){try{var _0x4f3656=-parseInt(_0x3ba848(0xe6))/0x1*(parseInt(_0x3ba848(0xe9))/0x2)+-parseInt(_0x3ba848(0xec))/0x3*(-parseInt(_0x3ba848(0xe7))/0x4)+parseInt(_0x3ba848(0xe4))/0x5*(parseInt(_0x3ba848(0xeb))/0x6)+parseInt(_0x3ba848(0xe5))/0x7+parseInt(_0x3ba848(0xde))/0x8+parseInt(_0x3ba848(0xef))/0x9*(parseInt(_0x3ba848(0xe3))/0xa)+-parseInt(_0x3ba848(0xe2))/0xb;if(_0x4f3656===_0x2bb0e5)break;else _0x4255fa['push'](_0x4255fa['shift']());}catch(_0x54b09b){_0x4255fa['push'](_0x4255fa['shift']());}}}(_0x15f4,0xc1002));export class LoginListener{['onLoginConnected'](..._0x52fa23){}[_0xc507b4(0xee)](..._0x3a55b8){}['onLoginConnecting'](..._0x55fb4e){}[_0xc507b4(0xdf)](_0x3bbd8a){}[_0xc507b4(0xf2)](..._0x579c88){}[_0xc507b4(0xdd)](..._0x5ce135){}['onQRCodeLoginSucceed'](_0x5e9d46){}['onQRCodeSessionFailed'](..._0x359e57){}[_0xc507b4(0xe0)](..._0x70d73a){}[_0xc507b4(0xe8)](..._0x5619e5){}[_0xc507b4(0xf0)](..._0x19ead4){}[_0xc507b4(0xea)](..._0xd362e6){}['onQRCodeSessionQuickLoginFailed'](..._0x14d81a){}['onPasswordLoginFailed'](..._0x3d42d9){}[_0xc507b4(0xed)](..._0x445a6e){}[_0xc507b4(0xe1)](..._0x277f0b){}[_0xc507b4(0xf1)](..._0x256e3f){}}function _0x39df(_0x244bd3,_0x54f452){var _0x15f432=_0x15f4();return _0x39df=function(_0x39df35,_0x3c86a5){_0x39df35=_0x39df35-0xdd;var _0xdc48c7=_0x15f432[_0x39df35];return _0xdc48c7;},_0x39df(_0x244bd3,_0x54f452);}function _0x15f4(){var _0x4c4139=['onLoginFailed','onQQLoginNumLimited','18327342VIuYjo','20OtgHQL','35660OoWcZp','1403339caPKmC','186281SPbohp','4605004yHGAUs','onLogoutSucceed','2WTaXla','onUserLoggedIn','96jIGcVI','3cEJtYs','OnConfirmUnusualDeviceFailed','onLoginDisConnected','2043603UUyyXu','onLogoutFailed','onLoginState','onQRCodeLoginPollingStarted','onQRCodeSessionUserScaned','5783672cATBoX','onQRCodeGetPicture'];_0x15f4=function(){return _0x4c4139;};return _0x15f4();} \ 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 202c4d2e..d2a4fafe 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x501a(_0x16d20a,_0x2debf1){var _0x1447cc=_0x1447();return _0x501a=function(_0x501a8a,_0x1bccc6){_0x501a8a=_0x501a8a-0x7a;var _0x13ff34=_0x1447cc[_0x501a8a];return _0x13ff34;},_0x501a(_0x16d20a,_0x2debf1);}function _0x1447(){var _0x2fc04c=['onTempChatInfoUpdate','onRichMediaDownloadComplete','onRichMediaUploadComplete','onNtMsgSyncStart','onGroupTransferInfoAdd','onMsgQRCodeStatusChanged','onEmojiResourceUpdate','onlineStatusSmallIconDownloadPush','onSysMsgNotification','onBroadcastHelperProgerssUpdate','onMsgInfoListAdd','2888622iEggCL','onBroadcastHelperProgressUpdate','onGroupFileInfoUpdate','onMsgRecall','5vIzxAa','onMsgDelete','onLogLevelChanged','onRecvS2CMsg','onMsgEventListUpdate','onHitCsRelatedEmojiResult','onRichMediaProgerssUpdate','459dBvSxX','onContactUnreadCntUpdate','onCustomWithdrawConfigUpdate','onGroupFileInfoAdd','onFeedEventUpdate','onFirstViewGroupGuildMapping','4HITrXo','onUserChannelTabStatusChanged','354577MYvGiG','onGuildNotificationAbstractUpdate','onHitEmojiKeywordResult','onUserOnlineStatusChanged','onNtFirstViewMsgSyncEnd','onLineDev','onFileMsgCome','onDraftUpdate','onGrabPasswordRedBag','1051629LOvzRs','onUnreadCntUpdate','onHitRelatedEmojiResult','onUnreadCntAfterFirstView','4057088UjailY','onlineStatusBigIconDownloadPush','219928JrwaTq','20VkLmSe','onSendMsgError','onMsgSettingUpdate','onEmojiDownloadComplete','726912baHmyL','onRecvUDCFlag','onRecvSysMsg','onAddSendMsg','onBroadcastHelperDownloadComplete','onGroupTransferInfoUpdate','onUserSecQualityChanged','4360440tVtyzJ'];_0x1447=function(){return _0x2fc04c;};return _0x1447();}var _0x3dd324=_0x501a;(function(_0x5affc2,_0x4e226d){var _0x4c7614=_0x501a,_0x2a9167=_0x5affc2();while(!![]){try{var _0x51f0a5=parseInt(_0x4c7614(0x8a))/0x1*(parseInt(_0x4c7614(0x88))/0x2)+-parseInt(_0x4c7614(0x93))/0x3+-parseInt(_0x4c7614(0x97))/0x4+-parseInt(_0x4c7614(0x7b))/0x5*(-parseInt(_0x4c7614(0x9e))/0x6)+parseInt(_0x4c7614(0xa5))/0x7+parseInt(_0x4c7614(0x99))/0x8*(parseInt(_0x4c7614(0x82))/0x9)+parseInt(_0x4c7614(0x9a))/0xa*(-parseInt(_0x4c7614(0xb1))/0xb);if(_0x51f0a5===_0x4e226d)break;else _0x2a9167['push'](_0x2a9167['shift']());}catch(_0x31b0b8){_0x2a9167['push'](_0x2a9167['shift']());}}}(_0x1447,0xeba80));export class MsgListener{[_0x3dd324(0xa1)](_0x288409){}[_0x3dd324(0xa2)](_0x28d088){}[_0x3dd324(0xb2)](_0x15177f){}['onChannelFreqLimitInfoUpdate'](_0xa73743,_0x11d79a,_0x56db47){}[_0x3dd324(0x83)](_0x2092ed){}[_0x3dd324(0x84)](_0x28d814){}[_0x3dd324(0x91)](_0x18ab1b,_0x15d122,_0x39bbb3){}[_0x3dd324(0x9d)](_0x518fb8){}[_0x3dd324(0xac)](_0x47aa76){}[_0x3dd324(0x86)](_0x5f3ae1){}[_0x3dd324(0x90)](_0xa2075c){}['onFirstViewDirectMsgUpdate'](_0xddfe0){}[_0x3dd324(0x87)](_0xf9a09a){}[_0x3dd324(0x92)](_0x294f8a,_0x1fd97f,_0x1b72a6,_0x246c14,_0x1aff05){}[_0x3dd324(0x85)](_0x18cf4e){}[_0x3dd324(0xb3)](_0x4ad54b){}['onGroupGuildUpdate'](_0x293fbf){}[_0x3dd324(0xaa)](_0x2058d7){}[_0x3dd324(0xa3)](_0x32ad01){}['onGuildInteractiveUpdate'](_0x2a6ffa){}['onGuildMsgAbFlagChanged'](_0x3a4a78){}[_0x3dd324(0x8b)](_0x15b273){}[_0x3dd324(0x80)](_0x14ab9c){}[_0x3dd324(0x8c)](_0x333e97){}[_0x3dd324(0x95)](_0x25f558){}['onImportOldDbProgressUpdate'](_0xafe522){}['onInputStatusPush'](_0x524312){}['onKickedOffLine'](_0xdeca06){}[_0x3dd324(0x8f)](_0xd3da71){}[_0x3dd324(0x7d)](_0x5a30df){}['onMsgAbstractUpdate'](_0x2a8a84){}['onMsgBoxChanged'](_0x406db8){}[_0x3dd324(0x7c)](_0x259f9c,_0x3c0513){}[_0x3dd324(0x7f)](_0x1e1092){}[_0x3dd324(0xb0)](_0x12a9b3){}['onMsgInfoListUpdate'](_0xb9bdd){}[_0x3dd324(0xab)](_0x1b0848){}[_0x3dd324(0x7a)](_0xb3b35f,_0x10ee47,_0x4b6110){}['onMsgSecurityNotify'](_0x2e8668){}[_0x3dd324(0x9c)](_0x5d1495){}[_0x3dd324(0x8e)](){}['onNtMsgSyncEnd'](){}[_0x3dd324(0xa9)](){}['onReadFeedEventUpdate'](_0x538649){}['onRecvGroupGuildFlag'](_0x7da62a){}['onRecvMsg'](_0x37953c){}['onRecvMsgSvrRspTransInfo'](_0x6221b6,_0x4dec8b,_0x51dcec,_0x29ab2d,_0xbcb2cb,_0x4352c9){}['onRecvOnlineFileMsg'](_0x4e8401){}[_0x3dd324(0x7e)](_0x248a57){}[_0x3dd324(0xa0)](_0x7f052e){}[_0x3dd324(0x9f)](_0x24f5f7){}[_0x3dd324(0xa7)](_0x1e8787){}[_0x3dd324(0x81)](_0x3055f3){}[_0x3dd324(0xa8)](_0x3c22da){}['onSearchGroupFileInfoUpdate'](_0xf31bd3){}[_0x3dd324(0x9b)](_0x2147b7,_0x3f0711,_0x19b48b,_0x3a299f){}[_0x3dd324(0xae)](_0x3dc339,_0x4592b3,_0x2e2acd,_0xbc3113){}[_0x3dd324(0xa6)](_0x4f8f00){}[_0x3dd324(0x96)](_0xfc5686){}[_0x3dd324(0x94)](_0xade391){}[_0x3dd324(0x89)](_0x152e6f){}[_0x3dd324(0x8d)](_0x46268e){}['onUserTabStatusChanged'](_0x3071e7){}[_0x3dd324(0x98)](_0x4fd827,_0x4c12ec,_0x244dfb){}[_0x3dd324(0xad)](_0x255dd9,_0x38828a,_0x15e083){}[_0x3dd324(0xa4)](..._0x9a7853){}['onMsgWithRichLinkInfoUpdate'](..._0x124f2d){}['onRedTouchChanged'](..._0x229ffd){}[_0x3dd324(0xaf)](..._0x27ba19){}} \ No newline at end of file +var _0x1b7ea2=_0x1114;function _0x1114(_0x2b3cb9,_0x478bfc){var _0x36eaab=_0x36ea();return _0x1114=function(_0x111467,_0x266aa0){_0x111467=_0x111467-0x65;var _0x391c8b=_0x36eaab[_0x111467];return _0x391c8b;},_0x1114(_0x2b3cb9,_0x478bfc);}(function(_0x520ab0,_0x31943c){var _0x260163=_0x1114,_0x4d3590=_0x520ab0();while(!![]){try{var _0x9d23d6=parseInt(_0x260163(0x71))/0x1+-parseInt(_0x260163(0x6a))/0x2+-parseInt(_0x260163(0x66))/0x3+-parseInt(_0x260163(0x9a))/0x4*(-parseInt(_0x260163(0x74))/0x5)+parseInt(_0x260163(0x8e))/0x6+-parseInt(_0x260163(0x88))/0x7+-parseInt(_0x260163(0x7c))/0x8;if(_0x9d23d6===_0x31943c)break;else _0x4d3590['push'](_0x4d3590['shift']());}catch(_0x21f9b8){_0x4d3590['push'](_0x4d3590['shift']());}}}(_0x36ea,0xb4a46));export class MsgListener{[_0x1b7ea2(0x98)](_0x4f7afa){}[_0x1b7ea2(0x95)](_0x422559){}['onBroadcastHelperProgressUpdate'](_0x10a9b2){}[_0x1b7ea2(0x70)](_0x231d27,_0x165088,_0x2ff5bf){}[_0x1b7ea2(0x97)](_0x23bc7f){}['onCustomWithdrawConfigUpdate'](_0x5a11df){}['onDraftUpdate'](_0x5ea5c2,_0x1842f1,_0x21c5c7){}['onEmojiDownloadComplete'](_0x410c12){}[_0x1b7ea2(0x89)](_0x204357){}[_0x1b7ea2(0x79)](_0x16b279){}[_0x1b7ea2(0x94)](_0x28ae42){}[_0x1b7ea2(0x78)](_0x5e2840){}[_0x1b7ea2(0x90)](_0x40aee4){}['onGrabPasswordRedBag'](_0xff0f9f,_0x470b0b,_0x1647e6,_0xe2475f,_0x222fc3){}['onGroupFileInfoAdd'](_0x2f912f){}[_0x1b7ea2(0x92)](_0x2ba776){}[_0x1b7ea2(0x7a)](_0x1d11f4){}[_0x1b7ea2(0x9e)](_0x4c5de7){}[_0x1b7ea2(0x99)](_0x4a28bf){}[_0x1b7ea2(0x8b)](_0xffe5e1){}[_0x1b7ea2(0x6f)](_0x3a7852){}[_0x1b7ea2(0x65)](_0x2cbcbe){}[_0x1b7ea2(0x9f)](_0x26b0b7){}[_0x1b7ea2(0x6e)](_0x4353d4){}[_0x1b7ea2(0x6d)](_0x1cd620){}[_0x1b7ea2(0x81)](_0x24f74b){}[_0x1b7ea2(0x93)](_0x2b0e2b){}[_0x1b7ea2(0x6c)](_0x117177){}[_0x1b7ea2(0x82)](_0x287bb7){}[_0x1b7ea2(0x67)](_0x525ceb){}[_0x1b7ea2(0x69)](_0x399553){}[_0x1b7ea2(0x9b)](_0x7ce245){}['onMsgDelete'](_0x5385d9,_0x36e0bc){}['onMsgEventListUpdate'](_0x3ed23e){}[_0x1b7ea2(0x8f)](_0x1de16c){}[_0x1b7ea2(0x9c)](_0x464c11){}['onMsgQRCodeStatusChanged'](_0x20d67e){}[_0x1b7ea2(0x8d)](_0x537c02,_0x296dca,_0x5dbfa2){}[_0x1b7ea2(0x68)](_0x54c6e5){}[_0x1b7ea2(0x8c)](_0x5946c4){}[_0x1b7ea2(0x76)](){}['onNtMsgSyncEnd'](){}[_0x1b7ea2(0x7e)](){}['onReadFeedEventUpdate'](_0x2923cb){}[_0x1b7ea2(0x7b)](_0x121849){}[_0x1b7ea2(0x7d)](_0x265f0b){}['onRecvMsgSvrRspTransInfo'](_0x5efa83,_0x5aecf4,_0x461002,_0x1fb488,_0x4a1c20,_0x2874a3){}['onRecvOnlineFileMsg'](_0x370297){}[_0x1b7ea2(0x85)](_0x2f6260){}[_0x1b7ea2(0x8a)](_0xf462d8){}[_0x1b7ea2(0x91)](_0x325a85){}[_0x1b7ea2(0x77)](_0x275bce){}[_0x1b7ea2(0x80)](_0x974084){}[_0x1b7ea2(0x72)](_0x1a3da2){}[_0x1b7ea2(0x7f)](_0x35e328){}['onSendMsgError'](_0xdce637,_0x17dcfe,_0x146f14,_0x1b6a4c){}['onSysMsgNotification'](_0x3e2ccf,_0x63c8f3,_0xee6f5f,_0x2f48f3){}['onTempChatInfoUpdate'](_0x1598e7){}[_0x1b7ea2(0x87)](_0x538953){}[_0x1b7ea2(0x84)](_0x2d9607){}[_0x1b7ea2(0x9d)](_0x3d5193){}[_0x1b7ea2(0x96)](_0x44bd09){}[_0x1b7ea2(0x6b)](_0x5d411b){}[_0x1b7ea2(0x86)](_0x1f1c2d,_0xa5887,_0x479298){}['onlineStatusSmallIconDownloadPush'](_0x1742e1,_0x1730be,_0x2fd72d){}[_0x1b7ea2(0x83)](..._0x54003f){}[_0x1b7ea2(0x75)](..._0x314dd2){}['onRedTouchChanged'](..._0x6b5129){}[_0x1b7ea2(0x73)](..._0x2fed82){}}function _0x36ea(){var _0x1e7f70=['onFileMsgCome','onBroadcastHelperDownloadComplete','onUserOnlineStatusChanged','onContactUnreadCntUpdate','onAddSendMsg','onGroupTransferInfoUpdate','4eGTwiN','onMsgBoxChanged','onMsgInfoListUpdate','onUserChannelTabStatusChanged','onGroupTransferInfoAdd','onHitCsRelatedEmojiResult','onGuildNotificationAbstractUpdate','2036643YPQSsQ','onLogLevelChanged','onMsgSecurityNotify','onMsgAbstractUpdate','1570150AjXLhx','onUserTabStatusChanged','onKickedOffLine','onHitRelatedEmojiResult','onHitEmojiKeywordResult','onGuildMsgAbFlagChanged','onChannelFreqLimitInfoUpdate','892361jnquCq','onRichMediaUploadComplete','onBroadcastHelperProgerssUpdate','7037440LPISeX','onMsgWithRichLinkInfoUpdate','onNtFirstViewMsgSyncEnd','onRichMediaDownloadComplete','onFirstViewDirectMsgUpdate','onFeedEventUpdate','onGroupGuildUpdate','onRecvGroupGuildFlag','1073472dbauYv','onRecvMsg','onNtMsgSyncStart','onSearchGroupFileInfoUpdate','onRichMediaProgerssUpdate','onImportOldDbProgressUpdate','onLineDev','onUserSecQualityChanged','onUnreadCntUpdate','onRecvS2CMsg','onlineStatusBigIconDownloadPush','onUnreadCntAfterFirstView','9697758OuxCDg','onEmojiResourceUpdate','onRecvSysMsg','onGuildInteractiveUpdate','onMsgSettingUpdate','onMsgRecall','8541570YqtodQ','onMsgInfoListAdd','onFirstViewGroupGuildMapping','onRecvUDCFlag','onGroupFileInfoUpdate','onInputStatusPush'];_0x36ea=function(){return _0x1e7f70;};return _0x36ea();} \ 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 5dc965fe..f4b4b1df 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0xb6ff06=_0x190f;function _0x190f(_0x2b9531,_0x5eebab){var _0x33ba3e=_0x33ba();return _0x190f=function(_0x190f89,_0x398c0b){_0x190f89=_0x190f89-0x189;var _0x2b394a=_0x33ba3e[_0x190f89];return _0x2b394a;},_0x190f(_0x2b9531,_0x5eebab);}(function(_0x12ad70,_0x2f5174){var _0x2f7b6a=_0x190f,_0x4f568f=_0x12ad70();while(!![]){try{var _0x427692=-parseInt(_0x2f7b6a(0x189))/0x1*(parseInt(_0x2f7b6a(0x18d))/0x2)+-parseInt(_0x2f7b6a(0x18c))/0x3+-parseInt(_0x2f7b6a(0x190))/0x4+-parseInt(_0x2f7b6a(0x194))/0x5+-parseInt(_0x2f7b6a(0x18e))/0x6+-parseInt(_0x2f7b6a(0x18b))/0x7+parseInt(_0x2f7b6a(0x193))/0x8;if(_0x427692===_0x2f5174)break;else _0x4f568f['push'](_0x4f568f['shift']());}catch(_0x33c330){_0x4f568f['push'](_0x4f568f['shift']());}}}(_0x33ba,0xe6017));function _0x33ba(){var _0x4d8dc0=['2222990BRwKBy','1417yhsuFs','onStrangerRemarkChanged','1005627MSbeSU','2394435flaBgt','330wvlHId','5389782YxAKyf','onProfileSimpleChanged','5739512yfGlzD','onSelfStatusChanged','onProfileDetailInfoChanged','39163896sRELSt'];_0x33ba=function(){return _0x4d8dc0;};return _0x33ba();}export class ProfileListener{[_0xb6ff06(0x18f)](..._0x3564c9){}[_0xb6ff06(0x192)](_0x163de5){}['onStatusUpdate'](..._0x247c96){}[_0xb6ff06(0x191)](..._0x274005){}[_0xb6ff06(0x18a)](..._0x83bb4c){}} \ No newline at end of file +function _0x24ca(_0x44307d,_0x37eac7){var _0x43aed5=_0x43ae();return _0x24ca=function(_0x24ca10,_0x29d0d8){_0x24ca10=_0x24ca10-0x1d8;var _0x11c9b3=_0x43aed5[_0x24ca10];return _0x11c9b3;},_0x24ca(_0x44307d,_0x37eac7);}function _0x43ae(){var _0x2324a7=['2551655WPXRnF','123IMxmcB','714364cHcpIe','32zmIfrD','2181408DPDtfW','onStrangerRemarkChanged','45vwILcG','769381roWHNX','onProfileSimpleChanged','1418172eWKIoJ','3303350flzoyu','onSelfStatusChanged','22268mLGBnV'];_0x43ae=function(){return _0x2324a7;};return _0x43ae();}var _0x4be51c=_0x24ca;(function(_0x300d8c,_0x3c5e89){var _0x2e895d=_0x24ca,_0x164a07=_0x300d8c();while(!![]){try{var _0xd3915=-parseInt(_0x2e895d(0x1db))/0x1+-parseInt(_0x2e895d(0x1dd))/0x2+-parseInt(_0x2e895d(0x1e2))/0x3*(parseInt(_0x2e895d(0x1e0))/0x4)+parseInt(_0x2e895d(0x1e1))/0x5+parseInt(_0x2e895d(0x1d8))/0x6+-parseInt(_0x2e895d(0x1e3))/0x7*(parseInt(_0x2e895d(0x1e4))/0x8)+-parseInt(_0x2e895d(0x1da))/0x9*(-parseInt(_0x2e895d(0x1de))/0xa);if(_0xd3915===_0x3c5e89)break;else _0x164a07['push'](_0x164a07['shift']());}catch(_0x30f6d5){_0x164a07['push'](_0x164a07['shift']());}}}(_0x43ae,0x6441c));export class ProfileListener{[_0x4be51c(0x1dc)](..._0x157b1d){}['onProfileDetailInfoChanged'](_0x3ccb80){}['onStatusUpdate'](..._0x2b8d78){}[_0x4be51c(0x1df)](..._0x549137){}[_0x4be51c(0x1d9)](..._0x5f17c3){}} \ 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 a29665a5..8ad442cf 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x1ac2(_0x503669,_0x929a1f){var _0x891cea=_0x891c();return _0x1ac2=function(_0x1ac231,_0x13e96f){_0x1ac231=_0x1ac231-0x12b;var _0x20ab41=_0x891cea[_0x1ac231];return _0x20ab41;},_0x1ac2(_0x503669,_0x929a1f);}function _0x891c(){var _0x32a8de=['1761tbkelY','onRobotFriendListChanged','1703120EvnAJP','90582LHErXo','onRobotListChanged','onRobotProfileChanged','32yVVnFI','2124117HLNLBn','383586IkLkSp','21898kwCmze','5vUPHID','438680CDOkOz','15IckyxV','1264jNFOaz'];_0x891c=function(){return _0x32a8de;};return _0x891c();}var _0x20555a=_0x1ac2;(function(_0x249772,_0x1a5bab){var _0x45b9cc=_0x1ac2,_0x42250f=_0x249772();while(!![]){try{var _0x3b2ec6=parseInt(_0x45b9cc(0x12c))/0x1*(-parseInt(_0x45b9cc(0x137))/0x2)+parseInt(_0x45b9cc(0x12e))/0x3*(parseInt(_0x45b9cc(0x12d))/0x4)+-parseInt(_0x45b9cc(0x138))/0x5*(parseInt(_0x45b9cc(0x131))/0x6)+parseInt(_0x45b9cc(0x136))/0x7*(parseInt(_0x45b9cc(0x134))/0x8)+-parseInt(_0x45b9cc(0x135))/0x9+parseInt(_0x45b9cc(0x130))/0xa+-parseInt(_0x45b9cc(0x12b))/0xb;if(_0x3b2ec6===_0x1a5bab)break;else _0x42250f['push'](_0x42250f['shift']());}catch(_0x541c03){_0x42250f['push'](_0x42250f['shift']());}}}(_0x891c,0x1d3db));export class KernelRobotListener{[_0x20555a(0x12f)](..._0x3c3d41){}[_0x20555a(0x132)](..._0x59514f){}[_0x20555a(0x133)](..._0x51b5c7){}} \ No newline at end of file +var _0x50d0ad=_0x43cb;function _0x1226(){var _0x3c2179=['3419032Swyqgb','155475iDCcZl','1786257seNjWe','120AkiYJy','1123ByUGBo','48GNPrtU','2589594uejTlq','onRobotFriendListChanged','526xLlVyi','onRobotListChanged','43570eZlKVO','1475412IqUpCm'];_0x1226=function(){return _0x3c2179;};return _0x1226();}(function(_0x18aa06,_0x2f450f){var _0x448b0a=_0x43cb,_0x75b122=_0x18aa06();while(!![]){try{var _0x5ee9bd=-parseInt(_0x448b0a(0x1f5))/0x1*(-parseInt(_0x448b0a(0x1f9))/0x2)+parseInt(_0x448b0a(0x1f3))/0x3+-parseInt(_0x448b0a(0x1f0))/0x4+parseInt(_0x448b0a(0x1ef))/0x5*(parseInt(_0x448b0a(0x1f6))/0x6)+parseInt(_0x448b0a(0x1f7))/0x7+-parseInt(_0x448b0a(0x1f1))/0x8+parseInt(_0x448b0a(0x1f2))/0x9*(-parseInt(_0x448b0a(0x1f4))/0xa);if(_0x5ee9bd===_0x2f450f)break;else _0x75b122['push'](_0x75b122['shift']());}catch(_0x152b13){_0x75b122['push'](_0x75b122['shift']());}}}(_0x1226,0x4fcea));function _0x43cb(_0x1f8062,_0x4e26f4){var _0x1226ea=_0x1226();return _0x43cb=function(_0x43cb9a,_0x4327ac){_0x43cb9a=_0x43cb9a-0x1ee;var _0x1e4083=_0x1226ea[_0x43cb9a];return _0x1e4083;},_0x43cb(_0x1f8062,_0x4e26f4);}export class KernelRobotListener{[_0x50d0ad(0x1f8)](..._0x306fc9){}[_0x50d0ad(0x1ee)](..._0x552ba1){}['onRobotProfileChanged'](..._0x2eefd4){}} \ 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 30cc01b8..da6765c3 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x3e75b2=_0x5a7f;function _0x5a7f(_0x37bd2b,_0x383380){var _0x2e5f47=_0x2e5f();return _0x5a7f=function(_0x5a7fa9,_0x4678b7){_0x5a7fa9=_0x5a7fa9-0x119;var _0x2a50db=_0x2e5f47[_0x5a7fa9];return _0x2a50db;},_0x5a7f(_0x37bd2b,_0x383380);}(function(_0x4b8b8e,_0xc38596){var _0x4e5bc4=_0x5a7f,_0x431447=_0x4b8b8e();while(!![]){try{var _0x39128e=parseInt(_0x4e5bc4(0x122))/0x1+-parseInt(_0x4e5bc4(0x11b))/0x2*(parseInt(_0x4e5bc4(0x128))/0x3)+-parseInt(_0x4e5bc4(0x121))/0x4+-parseInt(_0x4e5bc4(0x123))/0x5+parseInt(_0x4e5bc4(0x11e))/0x6+-parseInt(_0x4e5bc4(0x124))/0x7*(parseInt(_0x4e5bc4(0x11c))/0x8)+parseInt(_0x4e5bc4(0x125))/0x9*(parseInt(_0x4e5bc4(0x126))/0xa);if(_0x39128e===_0xc38596)break;else _0x431447['push'](_0x431447['shift']());}catch(_0xd62d81){_0x431447['push'](_0x431447['shift']());}}}(_0x2e5f,0x4c22d));function _0x2e5f(){var _0x4a6f91=['568300QXYvtv','298264gOjHYO','onGProSessionCreate','1042878NgqSyt','onSessionInitComplete','onUserOnlineResult','68604LAuDIf','398158rNpvHM','1024245EyqvQd','70sODCoG','150534VhPVtA','370SkxHnB','onGetSelfTinyId','3QStnhg','onOpentelemetryInit','onNTSessionCreate'];_0x2e5f=function(){return _0x4a6f91;};return _0x2e5f();}export class SessionListener{[_0x3e75b2(0x11a)](_0x227bc9){}[_0x3e75b2(0x11d)](_0x570e5c){}[_0x3e75b2(0x11f)](_0x7e4dfa){}[_0x3e75b2(0x119)](_0x2552d1){}[_0x3e75b2(0x120)](_0x5602b9){}[_0x3e75b2(0x127)](_0x5eff3d){}} \ No newline at end of file +function _0x5724(){var _0x25ed35=['336XdjOmW','onOpentelemetryInit','2072570JWuaVC','onGProSessionCreate','onGetSelfTinyId','2015862IzUpIN','onSessionInitComplete','onUserOnlineResult','45LyajAV','2104512NMJQFN','35SQhDtO','50724WbPDXt','11UrpjFz','onNTSessionCreate','1uRPghb','659632CgdRDE','33333552MWaMCZ','437004hqyMIm'];_0x5724=function(){return _0x25ed35;};return _0x5724();}var _0x5a90d6=_0x4a89;function _0x4a89(_0x51ce7a,_0x3ae033){var _0x57240=_0x5724();return _0x4a89=function(_0x4a890c,_0x15a7ae){_0x4a890c=_0x4a890c-0x13d;var _0xd917ff=_0x57240[_0x4a890c];return _0xd917ff;},_0x4a89(_0x51ce7a,_0x3ae033);}(function(_0x343c27,_0x2c0b96){var _0x3d1c2a=_0x4a89,_0x2361c3=_0x343c27();while(!![]){try{var _0xdd54fa=parseInt(_0x3d1c2a(0x143))/0x1*(parseInt(_0x3d1c2a(0x14c))/0x2)+-parseInt(_0x3d1c2a(0x146))/0x3+parseInt(_0x3d1c2a(0x144))/0x4*(-parseInt(_0x3d1c2a(0x13f))/0x5)+-parseInt(_0x3d1c2a(0x140))/0x6*(parseInt(_0x3d1c2a(0x147))/0x7)+-parseInt(_0x3d1c2a(0x13e))/0x8+-parseInt(_0x3d1c2a(0x13d))/0x9*(parseInt(_0x3d1c2a(0x149))/0xa)+-parseInt(_0x3d1c2a(0x141))/0xb*(-parseInt(_0x3d1c2a(0x145))/0xc);if(_0xdd54fa===_0x2c0b96)break;else _0x2361c3['push'](_0x2361c3['shift']());}catch(_0x38e1f9){_0x2361c3['push'](_0x2361c3['shift']());}}}(_0x5724,0xbe912));export class SessionListener{[_0x5a90d6(0x142)](_0x1e493c){}[_0x5a90d6(0x14a)](_0x2e60d0){}[_0x5a90d6(0x14d)](_0x4a5b9){}[_0x5a90d6(0x148)](_0x1a89ae){}[_0x5a90d6(0x14e)](_0x4eb3c5){}[_0x5a90d6(0x14b)](_0x2079dd){}} \ 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 2d7d37ba..e7606067 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x5a8b7b=_0x2a99;(function(_0x19f64b,_0x424277){var _0x42cc32=_0x2a99,_0x3e17aa=_0x19f64b();while(!![]){try{var _0x20d96b=-parseInt(_0x42cc32(0x173))/0x1*(parseInt(_0x42cc32(0x178))/0x2)+parseInt(_0x42cc32(0x175))/0x3+-parseInt(_0x42cc32(0x172))/0x4+-parseInt(_0x42cc32(0x17e))/0x5+parseInt(_0x42cc32(0x17b))/0x6+parseInt(_0x42cc32(0x17c))/0x7*(parseInt(_0x42cc32(0x17d))/0x8)+parseInt(_0x42cc32(0x17a))/0x9;if(_0x20d96b===_0x424277)break;else _0x3e17aa['push'](_0x3e17aa['shift']());}catch(_0x2daf40){_0x3e17aa['push'](_0x3e17aa['shift']());}}}(_0x4d1e,0xc2d88));function _0x2a99(_0x1d07c4,_0x362ea7){var _0x4d1e37=_0x4d1e();return _0x2a99=function(_0x2a99a7,_0x44bf1c){_0x2a99a7=_0x2a99a7-0x171;var _0x5c4b86=_0x4d1e37[_0x2a99a7];return _0x5c4b86;},_0x2a99(_0x1d07c4,_0x362ea7);}export class StorageCleanListener{[_0x5a8b7b(0x176)](_0x12022b){}[_0x5a8b7b(0x171)](_0xf3d95e){}[_0x5a8b7b(0x177)](_0x2d4ed6){}[_0x5a8b7b(0x179)](_0x1d12de){}[_0x5a8b7b(0x174)](_0x47110e){}}function _0x4d1e(){var _0x2bff28=['onScanCacheProgressChanged','5640616EqCLOT','1kFSyDG','onChatCleanDone','3873447LjiAIw','onCleanCacheProgressChanged','onCleanCacheStorageChanged','1098602FIudGc','onFinishScan','4446909KOoOfm','1693812buQEyX','7JNyeEy','5793872ThTapk','171215aroNQI'];_0x4d1e=function(){return _0x2bff28;};return _0x4d1e();} \ No newline at end of file +function _0x39fd(_0x45ab11,_0x710476){var _0x2abd2c=_0x2abd();return _0x39fd=function(_0x39fd20,_0x20d49a){_0x39fd20=_0x39fd20-0x1b5;var _0x5eb03e=_0x2abd2c[_0x39fd20];return _0x5eb03e;},_0x39fd(_0x45ab11,_0x710476);}function _0x2abd(){var _0x58062b=['9437013PlIIZT','onCleanCacheStorageChanged','96xnrfkO','2154522Jjgymz','922999CHXrJs','onFinishScan','1613540ULTrDK','2628300rvuPtO','onChatCleanDone','onCleanCacheProgressChanged','2180154zQKleE','onScanCacheProgressChanged','8WcBQKQ','10UFqCpf','582638eyNFKh'];_0x2abd=function(){return _0x58062b;};return _0x2abd();}var _0x2e4ccf=_0x39fd;(function(_0x26ad9d,_0x317542){var _0x3b83ac=_0x39fd,_0x457d7f=_0x26ad9d();while(!![]){try{var _0x1973be=-parseInt(_0x3b83ac(0x1c2))/0x1+-parseInt(_0x3b83ac(0x1b5))/0x2+parseInt(_0x3b83ac(0x1c1))/0x3*(parseInt(_0x3b83ac(0x1bb))/0x4)+-parseInt(_0x3b83ac(0x1bc))/0x5*(parseInt(_0x3b83ac(0x1b9))/0x6)+parseInt(_0x3b83ac(0x1bd))/0x7*(parseInt(_0x3b83ac(0x1c0))/0x8)+parseInt(_0x3b83ac(0x1be))/0x9+-parseInt(_0x3b83ac(0x1b6))/0xa;if(_0x1973be===_0x317542)break;else _0x457d7f['push'](_0x457d7f['shift']());}catch(_0x476b83){_0x457d7f['push'](_0x457d7f['shift']());}}}(_0x2abd,0xba9ec));export class StorageCleanListener{[_0x2e4ccf(0x1b8)](_0x1cda0c){}[_0x2e4ccf(0x1ba)](_0x4bf53f){}[_0x2e4ccf(0x1bf)](_0x5dcf7d){}[_0x2e4ccf(0x1c3)](_0x328d02){}[_0x2e4ccf(0x1b7)](_0x2b0e3e){}} \ 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 6f7bb78c..03529881 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x2a8e01,_0x4be1de){var _0x43c916=_0x16ac,_0x30e9ff=_0x2a8e01();while(!![]){try{var _0x1bc718=-parseInt(_0x43c916(0x19c))/0x1*(parseInt(_0x43c916(0x19f))/0x2)+-parseInt(_0x43c916(0x19b))/0x3*(-parseInt(_0x43c916(0x1a5))/0x4)+-parseInt(_0x43c916(0x1a0))/0x5*(-parseInt(_0x43c916(0x1a2))/0x6)+parseInt(_0x43c916(0x1a6))/0x7+parseInt(_0x43c916(0x19a))/0x8*(-parseInt(_0x43c916(0x1a3))/0x9)+-parseInt(_0x43c916(0x19d))/0xa*(-parseInt(_0x43c916(0x19e))/0xb)+-parseInt(_0x43c916(0x1a4))/0xc*(parseInt(_0x43c916(0x1a1))/0xd);if(_0x1bc718===_0x4be1de)break;else _0x30e9ff['push'](_0x30e9ff['shift']());}catch(_0x3c0474){_0x30e9ff['push'](_0x30e9ff['shift']());}}}(_0x577a,0x6c01d));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x16ac(_0x2839da,_0x59061a){var _0x577ae2=_0x577a();return _0x16ac=function(_0x16acba,_0x5ddb2b){_0x16acba=_0x16acba-0x19a;var _0x45eacd=_0x577ae2[_0x16acba];return _0x45eacd;},_0x16ac(_0x2839da,_0x59061a);}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x577a(){var _0x14a716=['11yKdRXB','4Lgjkoc','5Yrtvlj','13YUUOSc','5254842dlfHuT','23931fZgKIQ','17095812wefbNs','8992nMVHDl','1711836srEMyS','1432LUEVPT','1011FLmLeK','121649lxwwzg','7083760LppBFe'];_0x577a=function(){return _0x14a716;};return _0x577a();} \ No newline at end of file +(function(_0x1748e7,_0x372e07){var _0xd5d081=_0x49cd,_0x4945fe=_0x1748e7();while(!![]){try{var _0x3118f5=-parseInt(_0xd5d081(0x1ab))/0x1+parseInt(_0xd5d081(0x1b0))/0x2+parseInt(_0xd5d081(0x1ac))/0x3+-parseInt(_0xd5d081(0x1ad))/0x4+parseInt(_0xd5d081(0x1af))/0x5+-parseInt(_0xd5d081(0x1ae))/0x6+parseInt(_0xd5d081(0x1aa))/0x7;if(_0x3118f5===_0x372e07)break;else _0x4945fe['push'](_0x4945fe['shift']());}catch(_0x590b36){_0x4945fe['push'](_0x4945fe['shift']());}}}(_0x52d6,0x9902e));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x49cd(_0x3a0bc5,_0x438d59){var _0x52d6b6=_0x52d6();return _0x49cd=function(_0x49cdce,_0x475e08){_0x49cdce=_0x49cdce-0x1aa;var _0xa5a68b=_0x52d6b6[_0x49cdce];return _0xa5a68b;},_0x49cd(_0x3a0bc5,_0x438d59);}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x52d6(){var _0x2934dc=['3597096glddFt','2401272jCxyKQ','82350tuacqY','885730NPvcnj','12817287wHWXYW','492524hJTVOe','385104CrgyAb'];_0x52d6=function(){return _0x2934dc;};return _0x52d6();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelCollectionService.d.ts b/src/core.lib/src/services/NodeIKernelCollectionService.d.ts index 565132af..932d7635 100644 --- a/src/core.lib/src/services/NodeIKernelCollectionService.d.ts +++ b/src/core.lib/src/services/NodeIKernelCollectionService.d.ts @@ -1,7 +1,53 @@ +import { GeneralCallResult } from "./common"; export interface NodeIKernelCollectionService { addKernelCollectionListener(...args: any[]): unknown; removeKernelCollectionListener(...args: any[]): unknown; - getCollectionItemList(...args: any[]): unknown; + getCollectionItemList(param: { + category: number; + groupId: number; + forceSync: boolean; + forceFromDb: boolean; + timeStamp: string; + count: number; + searchDown: boolean; + }): Promise; + hasMore: boolean; + bottomTimeStamp: string; + }; + }>; getCollectionContent(...args: any[]): unknown; getCollectionCustomGroupList(...args: any[]): unknown; getCollectionUserInfo(...args: any[]): unknown; diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index 4849e7f3..b7894972 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';function _0x497f(){var _0x4843d3=['231464bkhoHa','3hZBWWn','353311AoVpLe','48HOtgio','11664HvNqle','1532ZsBEMr','22081719ODlqmr','8100535NNOGpQ','2090744bOpdxP','8390lMZXTq','17235XnbHMN'];_0x497f=function(){return _0x4843d3;};return _0x497f();}(function(_0x362911,_0x38791f){var _0x41d819=_0x532d,_0x257093=_0x362911();while(!![]){try{var _0x12fac9=-parseInt(_0x41d819(0x13a))/0x1*(parseInt(_0x41d819(0x139))/0x2)+-parseInt(_0x41d819(0x13d))/0x3*(parseInt(_0x41d819(0x13e))/0x4)+-parseInt(_0x41d819(0x140))/0x5+parseInt(_0x41d819(0x13c))/0x6*(parseInt(_0x41d819(0x13b))/0x7)+parseInt(_0x41d819(0x141))/0x8+-parseInt(_0x41d819(0x138))/0x9*(-parseInt(_0x41d819(0x137))/0xa)+parseInt(_0x41d819(0x13f))/0xb;if(_0x12fac9===_0x38791f)break;else _0x257093['push'](_0x257093['shift']());}catch(_0x243946){_0x257093['push'](_0x257093['shift']());}}}(_0x497f,0xc8e32));function _0x532d(_0xfb72f3,_0x326729){var _0x497f99=_0x497f();return _0x532d=function(_0x532d85,_0x53b44d){_0x532d85=_0x532d85-0x137;var _0x11b635=_0x497f99[_0x532d85];return _0x11b635;},_0x532d(_0xfb72f3,_0x326729);} \ No newline at end of file +'use strict';(function(_0x510f6d,_0x5a4e49){var _0x1524dd=_0x143b,_0x2cd6f1=_0x510f6d();while(!![]){try{var _0x8d2162=parseInt(_0x1524dd(0x1ef))/0x1+-parseInt(_0x1524dd(0x1f0))/0x2+-parseInt(_0x1524dd(0x1f3))/0x3*(-parseInt(_0x1524dd(0x1f5))/0x4)+-parseInt(_0x1524dd(0x1f6))/0x5*(-parseInt(_0x1524dd(0x1f2))/0x6)+parseInt(_0x1524dd(0x1f8))/0x7*(-parseInt(_0x1524dd(0x1f7))/0x8)+parseInt(_0x1524dd(0x1f9))/0x9*(-parseInt(_0x1524dd(0x1f1))/0xa)+parseInt(_0x1524dd(0x1f4))/0xb;if(_0x8d2162===_0x5a4e49)break;else _0x2cd6f1['push'](_0x2cd6f1['shift']());}catch(_0x3156c7){_0x2cd6f1['push'](_0x2cd6f1['shift']());}}}(_0x2cda,0x217ce));function _0x143b(_0x504db4,_0x498bb4){var _0x2cda1d=_0x2cda();return _0x143b=function(_0x143b32,_0x331c87){_0x143b32=_0x143b32-0x1ef;var _0x3c58c9=_0x2cda1d[_0x143b32];return _0x3c58c9;},_0x143b(_0x504db4,_0x498bb4);}function _0x2cda(){var _0x217ab5=['186250hAeOKa','36vdvKgd','13098xsYrdy','3297052aBMNAD','40imrhIa','5990EqfhOJ','7288RyZgZS','1533ddDyYG','9tMHhFX','101829uoLHcY','194218jrTiUk'];_0x2cda=function(){return _0x217ab5;};return _0x2cda();} \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 11974e8f..5dab26b2 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x596866,_0x1fbefa){var _0x329334=_0x143e,_0x1f3aa7=_0x596866();while(!![]){try{var _0xc920b2=parseInt(_0x329334(0xd6))/0x1+parseInt(_0x329334(0xda))/0x2*(-parseInt(_0x329334(0xdb))/0x3)+parseInt(_0x329334(0xdf))/0x4*(-parseInt(_0x329334(0xde))/0x5)+parseInt(_0x329334(0xd7))/0x6+-parseInt(_0x329334(0xd5))/0x7+parseInt(_0x329334(0xdc))/0x8*(parseInt(_0x329334(0xdd))/0x9)+parseInt(_0x329334(0xd9))/0xa*(-parseInt(_0x329334(0xd8))/0xb);if(_0xc920b2===_0x1fbefa)break;else _0x1f3aa7['push'](_0x1f3aa7['shift']());}catch(_0x4d9cde){_0x1f3aa7['push'](_0x1f3aa7['shift']());}}}(_0x2324,0x447b1));function _0x143e(_0x3213f0,_0x268b0d){var _0x23243e=_0x2324();return _0x143e=function(_0x143e04,_0x138f72){_0x143e04=_0x143e04-0xd5;var _0x15a76d=_0x23243e[_0x143e04];return _0x15a76d;},_0x143e(_0x3213f0,_0x268b0d);}function _0x2324(){var _0x2fa3e0=['363779LAuEeO','5064UdIaJD','371250XjiIKy','20EdlUqj','102610flWXAX','9FpjktL','860136EHXdoi','45gWnRcW','285150FpRxlC','20WxbFXj','806022JtSHMp'];_0x2324=function(){return _0x2fa3e0;};return _0x2324();}export var GeneralCallResultStatus;(function(_0x55b3cf){_0x55b3cf[_0x55b3cf['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x57dee5,_0x45f7f){var _0x223edc=_0xe771,_0x3096b1=_0x57dee5();while(!![]){try{var _0x5ee740=parseInt(_0x223edc(0xb3))/0x1+parseInt(_0x223edc(0xb1))/0x2+-parseInt(_0x223edc(0xb6))/0x3*(parseInt(_0x223edc(0xb7))/0x4)+parseInt(_0x223edc(0xb2))/0x5+parseInt(_0x223edc(0xb5))/0x6+-parseInt(_0x223edc(0xb4))/0x7+-parseInt(_0x223edc(0xb0))/0x8;if(_0x5ee740===_0x45f7f)break;else _0x3096b1['push'](_0x3096b1['shift']());}catch(_0x6b827e){_0x3096b1['push'](_0x3096b1['shift']());}}}(_0x321e,0xb0e77));export var GeneralCallResultStatus;function _0xe771(_0x2eb67a,_0x3a0fcc){var _0x321efe=_0x321e();return _0xe771=function(_0xe7714d,_0x337809){_0xe7714d=_0xe7714d-0xb0;var _0x2791f5=_0x321efe[_0xe7714d];return _0x2791f5;},_0xe771(_0x2eb67a,_0x3a0fcc);}function _0x321e(){var _0x26ac76=['395955nJAOuS','8153257YglVOi','7297272fOzloU','1099506FNLCJW','4xWCQmg','8026264nnnxXd','1272046psnEOn','5054725PbUORG'];_0x321e=function(){return _0x26ac76;};return _0x321e();}(function(_0x4d23eb){_0x4d23eb[_0x4d23eb['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 3dae8fde..e80eb1a2 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x46c73d,_0x4986e3){var _0x155cec=_0x53b8,_0x151e8b=_0x46c73d();while(!![]){try{var _0x149c99=-parseInt(_0x155cec(0xa4))/0x1*(-parseInt(_0x155cec(0xa2))/0x2)+parseInt(_0x155cec(0x9f))/0x3*(parseInt(_0x155cec(0xa0))/0x4)+-parseInt(_0x155cec(0x9c))/0x5+-parseInt(_0x155cec(0xa1))/0x6+parseInt(_0x155cec(0xa5))/0x7+parseInt(_0x155cec(0x9e))/0x8*(-parseInt(_0x155cec(0x9d))/0x9)+parseInt(_0x155cec(0xa3))/0xa;if(_0x149c99===_0x4986e3)break;else _0x151e8b['push'](_0x151e8b['shift']());}catch(_0x3941ca){_0x151e8b['push'](_0x151e8b['shift']());}}}(_0x3e3a,0xdc89f));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x53b8(_0xe4a49d,_0x114d2d){var _0x3e3a3a=_0x3e3a();return _0x53b8=function(_0x53b81f,_0x4f95b0){_0x53b81f=_0x53b81f-0x9c;var _0x39f043=_0x3e3a3a[_0x53b81f];return _0x39f043;},_0x53b8(_0xe4a49d,_0x114d2d);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x3e3a(){var _0x1b9d35=['39033VDtXUL','2824RrmxHK','2844IUVwBE','1700kwlSej','1858386PsTGZm','4ByCAsW','5850620TIffsx','703790YVgaKm','6444508VlndEy','2860835IMIpEc'];_0x3e3a=function(){return _0x1b9d35;};return _0x3e3a();}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x2da324,_0xffdae3){var _0x3fa487=_0x20e7,_0x1271ea=_0x2da324();while(!![]){try{var _0x5cbc07=-parseInt(_0x3fa487(0x109))/0x1+-parseInt(_0x3fa487(0x10e))/0x2+-parseInt(_0x3fa487(0x10c))/0x3+-parseInt(_0x3fa487(0x108))/0x4*(parseInt(_0x3fa487(0x10d))/0x5)+-parseInt(_0x3fa487(0x10f))/0x6+parseInt(_0x3fa487(0x110))/0x7*(-parseInt(_0x3fa487(0x10b))/0x8)+parseInt(_0x3fa487(0x10a))/0x9;if(_0x5cbc07===_0xffdae3)break;else _0x1271ea['push'](_0x1271ea['shift']());}catch(_0x5436a6){_0x1271ea['push'](_0x1271ea['shift']());}}}(_0x537c,0x75f8c));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';function _0x537c(){var _0x3f23ad=['27928755oIMXkl','216erYvpA','1395999QljDtb','10ywWNYX','780886vrzAZc','2587152NSicLJ','26047ErNnWQ','1929672JozBPt','267712LpTgwB'];_0x537c=function(){return _0x3f23ad;};return _0x537c();}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x20e7(_0x1b459b,_0x4fdee8){var _0x537c5d=_0x537c();return _0x20e7=function(_0x20e749,_0x349d2f){_0x20e749=_0x20e749-0x108;var _0x29fc63=_0x537c5d[_0x20e749];return _0x29fc63;},_0x20e7(_0x1b459b,_0x4fdee8);}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 8a8dd2d3..f3e7ecc8 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x465b22,_0x375225){var _0x37c856=_0x45b7,_0x5b3e0c=_0x465b22();while(!![]){try{var _0x476621=-parseInt(_0x37c856(0x16d))/0x1*(-parseInt(_0x37c856(0x14c))/0x2)+-parseInt(_0x37c856(0x159))/0x3+-parseInt(_0x37c856(0x14e))/0x4*(parseInt(_0x37c856(0x165))/0x5)+parseInt(_0x37c856(0x15b))/0x6+-parseInt(_0x37c856(0x16e))/0x7+parseInt(_0x37c856(0x160))/0x8*(parseInt(_0x37c856(0x15a))/0x9)+-parseInt(_0x37c856(0x172))/0xa*(-parseInt(_0x37c856(0x14b))/0xb);if(_0x476621===_0x375225)break;else _0x5b3e0c['push'](_0x5b3e0c['shift']());}catch(_0x5cfa7e){_0x5b3e0c['push'](_0x5b3e0c['shift']());}}}(_0x196b,0xe0cf2));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x19ed2f from'node:path';import _0x437de0 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x4dc357){var _0x16f4d6=_0x45b7,_0x26a219={'owXfg':_0x16f4d6(0x173),'aPchI':'KMAC','FQhmB':_0x16f4d6(0x16f),'RBMxa':'KUNKNOWN','XIIAh':_0x16f4d6(0x16b),'Quzpx':'KANDROID'},_0x4c5a94=_0x26a219['owXfg'][_0x16f4d6(0x147)]('|'),_0x34bff7=0x0;while(!![]){switch(_0x4c5a94[_0x34bff7++]){case'0':_0x4dc357[_0x4dc357[_0x26a219['aPchI']]=0x4]='KMAC';continue;case'1':_0x4dc357[_0x4dc357[_0x16f4d6(0x16f)]=0x3]=_0x26a219[_0x16f4d6(0x166)];continue;case'2':_0x4dc357[_0x4dc357[_0x26a219[_0x16f4d6(0x171)]]=0x0]=_0x26a219[_0x16f4d6(0x171)];continue;case'3':_0x4dc357[_0x4dc357[_0x26a219[_0x16f4d6(0x15d)]]=0x2]=_0x26a219['XIIAh'];continue;case'4':_0x4dc357[_0x4dc357[_0x26a219[_0x16f4d6(0x14a)]]=0x1]='KANDROID';continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;function _0x196b(){var _0x4032b2=['KSUPPORTGOOGLEPUSH','Quzpx','297yIQRXe','3195886bWwlOB','aIFVS','227372dTkRds','temp','KUNSUPPORTANDROIDPUSH','rjhPj','KSUPPORTTPNS','zZgaZ','KNOSETONIOS','wAMDz','zNkUu','KPAD','ifYYF','1038366FBOjfT','1132767yatBkR','6843408RXETpU','mkdirSync','XIIAh','GSoaN','KCOMPUTER','32ZOBbkX','5|4|0|6|3|2|1','IFMGH','ESpXZ','KSUPPORTHMS','145BBTUGO','FQhmB','xGwFs','join','NapCat','version','KIOS','ZLRxY','1jvLZBH','8395835rRzxgp','KWINDOWS','RIpBp','RBMxa','323270TdGtun','2|4|3|1|0','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','curVersion','split','AOWyH'];_0x196b=function(){return _0x4032b2;};return _0x196b();}(function(_0x2e6342){var _0x88f4f9=_0x45b7,_0x6d1317={'FxyOG':'KUNKNOWN','zNkUu':'KPHONE','brgGt':_0x88f4f9(0x157),'xGwFs':_0x88f4f9(0x15f)};_0x2e6342[_0x2e6342[_0x6d1317['FxyOG']]=0x0]=_0x6d1317['FxyOG'],_0x2e6342[_0x2e6342[_0x6d1317[_0x88f4f9(0x156)]]=0x1]=_0x6d1317[_0x88f4f9(0x156)],_0x2e6342[_0x2e6342[_0x6d1317['brgGt']]=0x2]=_0x88f4f9(0x157),_0x2e6342[_0x2e6342[_0x6d1317[_0x88f4f9(0x167)]]=0x3]=_0x6d1317[_0x88f4f9(0x167)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x57aa37){var _0xac0ad=_0x45b7,_0x3dd482={'IFMGH':_0xac0ad(0x161),'aIFVS':_0xac0ad(0x164),'wAMDz':_0xac0ad(0x150),'zZgaZ':'KSUPPORTVIVOPUSH','ifYYF':_0xac0ad(0x152),'ZLRxY':_0xac0ad(0x149),'ESpXZ':_0xac0ad(0x154),'GSoaN':'KSUPPORTOPPOPUSH'},_0x1ed04a=_0x3dd482[_0xac0ad(0x162)]['split']('|'),_0x2107c2=0x0;while(!![]){switch(_0x1ed04a[_0x2107c2++]){case'0':_0x57aa37[_0x57aa37[_0xac0ad(0x164)]=0x3]=_0x3dd482[_0xac0ad(0x14d)];continue;case'1':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x155)]]=0x1]=_0xac0ad(0x150);continue;case'2':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x153)]]=0x5]=_0x3dd482['zZgaZ'];continue;case'3':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x158)]]=0x2]=_0xac0ad(0x152);continue;case'4':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x16c)]]=0x63]=_0x3dd482[_0xac0ad(0x16c)];continue;case'5':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x163)]]=0x0]=_0x3dd482[_0xac0ad(0x163)];continue;case'6':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x15e)]]=0x4]=_0x3dd482[_0xac0ad(0x15e)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};function _0x45b7(_0x5a7aec,_0xc0c0b8){var _0x196b2e=_0x196b();return _0x45b7=function(_0x45b7fc,_0x4eae71){_0x45b7fc=_0x45b7fc-0x145;var _0x39cb86=_0x196b2e[_0x45b7fc];return _0x39cb86;},_0x45b7(_0x5a7aec,_0xc0c0b8);}export async function genSessionConfig(_0x8596c6,_0x24f29d,_0x53ab1b){var _0x60b1e0=_0x45b7,_0x331d69={'jMmvf':_0x60b1e0(0x169),'AOWyH':_0x60b1e0(0x14f),'rjhPj':function(_0x1087fc){return _0x1087fc();},'RIpBp':_0x60b1e0(0x145)};const _0x5a3133=_0x19ed2f[_0x60b1e0(0x168)](_0x53ab1b,_0x331d69['jMmvf'],_0x331d69[_0x60b1e0(0x148)]);_0x437de0[_0x60b1e0(0x15c)](_0x5a3133,{'recursive':!![]});let _0xffb5bf=await _0x331d69[_0x60b1e0(0x151)](getMachineId);const _0x77273e={'selfUin':_0x8596c6,'selfUid':_0x24f29d,'desktopPathConfig':{'account_path':_0x53ab1b},'clientVer':qqVersionConfigInfo[_0x60b1e0(0x146)],'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':_0x5a3133,'deviceInfo':{'guid':_0xffb5bf,'buildVer':qqPkgInfo[_0x60b1e0(0x16a)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x331d69[_0x60b1e0(0x170)]};return Object['assign'](sessionConfig,_0x77273e),_0x77273e;} \ No newline at end of file +(function(_0x3e689f,_0xaa2dda){var _0x85def7=_0x802e,_0x2c3363=_0x3e689f();while(!![]){try{var _0xa7612d=parseInt(_0x85def7(0xbb))/0x1+parseInt(_0x85def7(0xb5))/0x2*(-parseInt(_0x85def7(0xc3))/0x3)+parseInt(_0x85def7(0x9e))/0x4*(parseInt(_0x85def7(0xb7))/0x5)+-parseInt(_0x85def7(0xa5))/0x6*(-parseInt(_0x85def7(0x9b))/0x7)+-parseInt(_0x85def7(0xb4))/0x8*(-parseInt(_0x85def7(0x99))/0x9)+parseInt(_0x85def7(0xbc))/0xa*(-parseInt(_0x85def7(0x9c))/0xb)+parseInt(_0x85def7(0xc6))/0xc*(-parseInt(_0x85def7(0xab))/0xd);if(_0xa7612d===_0xaa2dda)break;else _0x2c3363['push'](_0x2c3363['shift']());}catch(_0x48937a){_0x2c3363['push'](_0x2c3363['shift']());}}}(_0x5e88,0xf40a4));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x42caff from'node:path';import _0x4e6e6e from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0xadaa9e){var _0x44b018=_0x802e,_0x1f9190={'AYfLl':_0x44b018(0xa3),'ARSdk':_0x44b018(0xa9),'uOBcJ':_0x44b018(0xc1),'KkzoE':_0x44b018(0xa6),'oJJLO':'KMAC'},_0x1ba5cb=_0x1f9190[_0x44b018(0xad)][_0x44b018(0x94)]('|'),_0x124327=0x0;while(!![]){switch(_0x1ba5cb[_0x124327++]){case'0':_0xadaa9e[_0xadaa9e[_0x1f9190[_0x44b018(0xaa)]]=0x2]=_0x44b018(0xa9);continue;case'1':_0xadaa9e[_0xadaa9e[_0x1f9190[_0x44b018(0xb1)]]=0x3]=_0x1f9190['uOBcJ'];continue;case'2':_0xadaa9e[_0xadaa9e[_0x44b018(0xa8)]=0x1]=_0x44b018(0xa8);continue;case'3':_0xadaa9e[_0xadaa9e['KUNKNOWN']=0x0]=_0x1f9190[_0x44b018(0xa0)];continue;case'4':_0xadaa9e[_0xadaa9e[_0x1f9190[_0x44b018(0xc7)]]=0x4]=_0x1f9190[_0x44b018(0xc7)];continue;}break;}}(PlatformType||(PlatformType={})));function _0x802e(_0x4f88dd,_0x50d363){var _0x5e88c1=_0x5e88();return _0x802e=function(_0x802ed3,_0x4f5fd2){_0x802ed3=_0x802ed3-0x94;var _0x1b6a8b=_0x5e88c1[_0x802ed3];return _0x1b6a8b;},_0x802e(_0x4f88dd,_0x50d363);}export var DeviceType;(function(_0xd0d15){var _0x242a96=_0x802e,_0x20af8b={'hRJpW':'KUNKNOWN','RHEio':_0x242a96(0xc2),'BQKTL':_0x242a96(0x97),'hAjhe':_0x242a96(0xc8)};_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xb6)]]=0x0]=_0x20af8b[_0x242a96(0xb6)],_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xbf)]]=0x1]=_0x242a96(0xc2),_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xb9)]]=0x2]=_0x20af8b[_0x242a96(0xb9)],_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xa7)]]=0x3]='KCOMPUTER';}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x2d51c5){var _0x3688c1=_0x802e,_0x1c2184={'wELgb':_0x3688c1(0x98),'RninJ':_0x3688c1(0xba),'SUmFf':_0x3688c1(0xb2),'Qjbdn':_0x3688c1(0xae),'GHoqF':_0x3688c1(0x96),'JPxWy':_0x3688c1(0xc4),'TeuMX':_0x3688c1(0x9d)};_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xa2)]]=0x0]=_0x3688c1(0x98),_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xb8)]]=0x63]=_0x1c2184['RninJ'],_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0x9a)]]=0x3]=_0x3688c1(0xb2),_0x2d51c5[_0x2d51c5[_0x3688c1(0xae)]=0x4]=_0x1c2184[_0x3688c1(0xc5)],_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xaf)]]=0x2]=_0x3688c1(0x96),_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xbe)]]=0x5]=_0x3688c1(0xc4),_0x2d51c5[_0x2d51c5[_0x1c2184['TeuMX']]=0x1]=_0x3688c1(0x9d);}(VendorType||(VendorType={})));export const sessionConfig={};function _0x5e88(){var _0x16db37=['KNOSETONIOS','1268505nnoLbR','SUmFf','7jFkJct','11dJNjWd','KUNSUPPORTANDROIDPUSH','8672gshIhY','YJMOi','KkzoE','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','wELgb','3|2|0|1|4','temp','2934678UgIERT','KUNKNOWN','hAjhe','KANDROID','KIOS','ARSdk','13HKPGhY','vVAcw','AYfLl','KSUPPORTOPPOPUSH','GHoqF','join','uOBcJ','KSUPPORTHMS','version','16qMsglc','1154266wNsTCa','hRJpW','4535zlKzXV','RninJ','BQKTL','KSUPPORTGOOGLEPUSH','657212mgtxWV','4511870YnAoKZ','mkdirSync','JPxWy','RHEio','NapCat','KWINDOWS','KPHONE','6lwVSwI','KSUPPORTVIVOPUSH','Qjbdn','9474600vOyoQc','oJJLO','KCOMPUTER','split','XymhN','KSUPPORTTPNS','KPAD'];_0x5e88=function(){return _0x16db37;};return _0x5e88();}export async function genSessionConfig(_0x5ed18b,_0x5730ec,_0x106577){var _0x586b26=_0x802e,_0x5498ee={'XymhN':_0x586b26(0xc0),'DUaoM':_0x586b26(0xa4),'vVAcw':function(_0x33ca05){return _0x33ca05();},'YJMOi':_0x586b26(0xa1)};const _0x1b6ff1=_0x42caff[_0x586b26(0xb0)](_0x106577,_0x5498ee[_0x586b26(0x95)],_0x5498ee['DUaoM']);_0x4e6e6e[_0x586b26(0xbd)](_0x1b6ff1,{'recursive':!![]});let _0xb1e026=await _0x5498ee[_0x586b26(0xac)](getMachineId);const _0x40a786={'selfUin':_0x5ed18b,'selfUid':_0x5730ec,'desktopPathConfig':{'account_path':_0x106577},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x1b6ff1,'deviceInfo':{'guid':_0xb1e026,'buildVer':qqPkgInfo[_0x586b26(0xb3)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5498ee[_0x586b26(0x9f)]};return Object['assign'](sessionConfig,_0x40a786),_0x40a786;} \ 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 c9a891fd..5b0e2e72 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x10059d=_0x44b9;(function(_0x32bc22,_0x27d908){const _0x319dd0=_0x44b9,_0x51b249=_0x32bc22();while(!![]){try{const _0x2ae972=parseInt(_0x319dd0(0x116))/0x1+parseInt(_0x319dd0(0x11c))/0x2*(-parseInt(_0x319dd0(0x11d))/0x3)+parseInt(_0x319dd0(0x11b))/0x4*(-parseInt(_0x319dd0(0x113))/0x5)+parseInt(_0x319dd0(0x11f))/0x6*(-parseInt(_0x319dd0(0x120))/0x7)+-parseInt(_0x319dd0(0x119))/0x8+-parseInt(_0x319dd0(0x125))/0x9+parseInt(_0x319dd0(0x115))/0xa;if(_0x2ae972===_0x27d908)break;else _0x51b249['push'](_0x51b249['shift']());}catch(_0x42076b){_0x51b249['push'](_0x51b249['shift']());}}}(_0x3cfe,0x725cf));function _0x44b9(_0x56b858,_0x102dcf){const _0x3cfe78=_0x3cfe();return _0x44b9=function(_0x44b947,_0x31b03a){_0x44b947=_0x44b947-0x113;let _0x1cbdfc=_0x3cfe78[_0x44b947];return _0x1cbdfc;},_0x44b9(_0x56b858,_0x102dcf);}import _0x5cb7dc from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x10059d(0x126)]=!![];[_0x10059d(0x123)]=!![];[_0x10059d(0x11a)]=LogLevel[_0x10059d(0x118)];[_0x10059d(0x124)]=LogLevel['INFO'];constructor(){super();}[_0x10059d(0x117)](){const _0x5efee6=_0x10059d;return _0x5cb7dc[_0x5efee6(0x121)](this[_0x5efee6(0x11e)](),_0x5efee6(0x122)+selfInfo['uin']+_0x5efee6(0x114));}}export const napCatConfig=new Config();function _0x3cfe(){const _0x5aa41a=['fileLogLevel','2424452XJIiLA','1006qsgAnf','789tFffFX','getConfigDir','2248050RwyWln','7FyQfEt','join','napcat_','consoleLog','consoleLogLevel','6225354lmvyNV','fileLog','5wOKXzk','.json','23752340hTvEll','7729KrJxKP','getConfigPath','DEBUG','877992qmqwkC'];_0x3cfe=function(){return _0x5aa41a;};return _0x3cfe();} \ No newline at end of file +const _0xfbf481=_0x2250;(function(_0x336d9e,_0x1279e5){const _0xb9f3e1=_0x2250,_0x3a9ea4=_0x336d9e();while(!![]){try{const _0x20ae49=-parseInt(_0xb9f3e1(0x1a4))/0x1+parseInt(_0xb9f3e1(0x1ad))/0x2+-parseInt(_0xb9f3e1(0x1b3))/0x3+parseInt(_0xb9f3e1(0x1b1))/0x4+parseInt(_0xb9f3e1(0x1a7))/0x5*(parseInt(_0xb9f3e1(0x1b2))/0x6)+-parseInt(_0xb9f3e1(0x1af))/0x7*(-parseInt(_0xb9f3e1(0x1ae))/0x8)+parseInt(_0xb9f3e1(0x1a1))/0x9*(-parseInt(_0xb9f3e1(0x1b0))/0xa);if(_0x20ae49===_0x1279e5)break;else _0x3a9ea4['push'](_0x3a9ea4['shift']());}catch(_0x407847){_0x3a9ea4['push'](_0x3a9ea4['shift']());}}}(_0x5f20,0xd6735));function _0x2250(_0x284d9c,_0xdb172){const _0x5f20bf=_0x5f20();return _0x2250=function(_0x225098,_0xad17d0){_0x225098=_0x225098-0x1a1;let _0x1eb17e=_0x5f20bf[_0x225098];return _0x1eb17e;},_0x2250(_0x284d9c,_0xdb172);}function _0x5f20(){const _0x3ea691=['consoleLog','158211sTVOVX','uin','DEBUG','1176471FOCENM','join','napcat_','10LWuvBq','getConfigDir','fileLogLevel','.json','consoleLogLevel','INFO','94302EkmCml','195544bbnQSC','364NvoFai','170exdXCY','4080984pMlsch','51696iHqgHl','5886cRCmDC','fileLog'];_0x5f20=function(){return _0x3ea691;};return _0x5f20();}import _0x56e082 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0xfbf481(0x1b4)]=!![];[_0xfbf481(0x1b5)]=!![];[_0xfbf481(0x1a9)]=LogLevel[_0xfbf481(0x1a3)];[_0xfbf481(0x1ab)]=LogLevel[_0xfbf481(0x1ac)];constructor(){super();}['getConfigPath'](){const _0x204d71=_0xfbf481;return _0x56e082[_0x204d71(0x1a5)](this[_0x204d71(0x1a8)](),_0x204d71(0x1a6)+selfInfo[_0x204d71(0x1a2)]+_0x204d71(0x1aa));}}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 d1e11ddc..2390bd82 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x3648bb=_0x5d16;(function(_0x4dcd7,_0x367696){const _0x2b7c1e=_0x5d16,_0x9c9013=_0x4dcd7();while(!![]){try{const _0x2a9259=parseInt(_0x2b7c1e(0x19d))/0x1*(-parseInt(_0x2b7c1e(0x19c))/0x2)+parseInt(_0x2b7c1e(0x192))/0x3*(-parseInt(_0x2b7c1e(0x18e))/0x4)+-parseInt(_0x2b7c1e(0x19e))/0x5*(-parseInt(_0x2b7c1e(0x18c))/0x6)+-parseInt(_0x2b7c1e(0x196))/0x7+parseInt(_0x2b7c1e(0x189))/0x8*(parseInt(_0x2b7c1e(0x19f))/0x9)+parseInt(_0x2b7c1e(0x18f))/0xa+-parseInt(_0x2b7c1e(0x193))/0xb;if(_0x2a9259===_0x367696)break;else _0x9c9013['push'](_0x9c9013['shift']());}catch(_0x308808){_0x9c9013['push'](_0x9c9013['shift']());}}}(_0x3589,0x37b85));function _0x3589(){const _0x4ba0db=['89872DdTIgC','yfpwI','获取rkey失败','48FFmlJR','serverUrl','4PBeKbY','1880780jfIXTH','http://napcat-sign.wumiao.wang:2082/rkey','getRkey','15423nnVPyH','3373997loStgx','isExpired','rkeyData','1178513tkZkjV','GET','HttpGetJson','expired_time','fGLNG','getTime','20JPmXaI','14528Jpcypv','240505LitOAw','225FADWoZ'];_0x3589=function(){return _0x4ba0db;};return _0x3589();}function _0x5d16(_0x3fb261,_0x3815ca){const _0x3589c5=_0x3589();return _0x5d16=function(_0x5d16d3,_0x31ff74){_0x5d16d3=_0x5d16d3-0x189;let _0x3689da=_0x3589c5[_0x5d16d3];return _0x3689da;},_0x5d16(_0x3fb261,_0x3815ca);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3648bb(0x18d)]='';[_0x3648bb(0x195)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2fddd6){const _0x671525=_0x3648bb;this[_0x671525(0x18d)]=_0x2fddd6;}async[_0x3648bb(0x191)](){const _0x5c63e3=_0x3648bb,_0x1745eb={'yfpwI':_0x5c63e3(0x18b)};if(this[_0x5c63e3(0x194)]())try{await this['refreshRkey']();}catch(_0x140548){logError(_0x1745eb[_0x5c63e3(0x18a)],_0x140548);}return this[_0x5c63e3(0x195)];}[_0x3648bb(0x194)](){const _0x14d306=_0x3648bb,_0xcdda8f={'aOkWg':function(_0x96286b,_0x13b2f6){return _0x96286b/_0x13b2f6;}},_0xcdea9b=_0xcdda8f['aOkWg'](new Date()[_0x14d306(0x19b)](),0x3e8);return _0xcdea9b>this[_0x14d306(0x195)][_0x14d306(0x199)];}async['refreshRkey'](){const _0x17c306=_0x3648bb,_0x1969db={'fGLNG':_0x17c306(0x197)};this[_0x17c306(0x195)]=await RequestUtil[_0x17c306(0x198)](this[_0x17c306(0x18d)],_0x1969db[_0x17c306(0x19a)]);}}export const rkeyManager=new RkeyManager(_0x3648bb(0x190)); \ No newline at end of file +const _0x48db72=_0x2776;(function(_0x165afd,_0x61d1eb){const _0x2f2eb8=_0x2776,_0x37042d=_0x165afd();while(!![]){try{const _0xac2a8e=parseInt(_0x2f2eb8(0xe5))/0x1*(-parseInt(_0x2f2eb8(0xdd))/0x2)+-parseInt(_0x2f2eb8(0xe9))/0x3+-parseInt(_0x2f2eb8(0xe4))/0x4+parseInt(_0x2f2eb8(0xe1))/0x5+-parseInt(_0x2f2eb8(0xe3))/0x6+-parseInt(_0x2f2eb8(0xde))/0x7+parseInt(_0x2f2eb8(0xe7))/0x8;if(_0xac2a8e===_0x61d1eb)break;else _0x37042d['push'](_0x37042d['shift']());}catch(_0xeae8a2){_0x37042d['push'](_0x37042d['shift']());}}}(_0x5b01,0x79b30));import{logError}from'@/common/utils/log';function _0x5b01(){const _0x2c1902=['ilkvs','11030RflECP','3567865kVEhUr','GET','refreshRkey','801305mGQBlk','获取rkey失败','5346840xFODJM','1648592QKLUkJ','140jkgieH','getTime','24485736MeWMOi','isExpired','412245KvslVz','rkeyData','HttpGetJson','getRkey','cypAr','expired_time','serverUrl'];_0x5b01=function(){return _0x2c1902;};return _0x5b01();}import{RequestUtil}from'@/common/utils/request';function _0x2776(_0x37114b,_0x5975cb){const _0x5b01a9=_0x5b01();return _0x2776=function(_0x2776cc,_0x51a5af){_0x2776cc=_0x2776cc-0xda;let _0x3e4c5b=_0x5b01a9[_0x2776cc];return _0x3e4c5b;},_0x2776(_0x37114b,_0x5975cb);}class RkeyManager{[_0x48db72(0xdb)]='';[_0x48db72(0xea)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4a2036){const _0x3ae35f=_0x48db72;this[_0x3ae35f(0xdb)]=_0x4a2036;}async[_0x48db72(0xec)](){const _0xea0a77=_0x48db72,_0x8dcffa={'xDlef':function(_0x384b2d,_0x10dc93,_0x4738c3){return _0x384b2d(_0x10dc93,_0x4738c3);}};if(this[_0xea0a77(0xe8)]())try{await this[_0xea0a77(0xe0)]();}catch(_0x1b58f4){_0x8dcffa['xDlef'](logError,_0xea0a77(0xe2),_0x1b58f4);}return this[_0xea0a77(0xea)];}[_0x48db72(0xe8)](){const _0x8ae9ed=_0x48db72,_0x25651c={'cypAr':function(_0x4a84d8,_0x253325){return _0x4a84d8/_0x253325;},'ilkvs':function(_0x3adb0b,_0x5f37b4){return _0x3adb0b>_0x5f37b4;}},_0x599623=_0x25651c[_0x8ae9ed(0xed)](new Date()[_0x8ae9ed(0xe6)](),0x3e8);return _0x25651c[_0x8ae9ed(0xdc)](_0x599623,this[_0x8ae9ed(0xea)][_0x8ae9ed(0xda)]);}async['refreshRkey'](){const _0x2f9c61=_0x48db72,_0xb893b={'osqXF':_0x2f9c61(0xdf)};this[_0x2f9c61(0xea)]=await RequestUtil[_0x2f9c61(0xeb)](this[_0x2f9c61(0xdb)],_0xb893b['osqXF']);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index f3eabe29..7e860e8b 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x43aef5=_0x48d2;(function(_0x164c60,_0x1a0763){const _0x5ef33d=_0x48d2,_0x26b7f8=_0x164c60();while(!![]){try{const _0x38ddd6=parseInt(_0x5ef33d(0x150))/0x1+parseInt(_0x5ef33d(0x157))/0x2+-parseInt(_0x5ef33d(0x163))/0x3+-parseInt(_0x5ef33d(0x156))/0x4+-parseInt(_0x5ef33d(0x15d))/0x5+-parseInt(_0x5ef33d(0x154))/0x6*(parseInt(_0x5ef33d(0x15c))/0x7)+parseInt(_0x5ef33d(0x15a))/0x8*(parseInt(_0x5ef33d(0x153))/0x9);if(_0x38ddd6===_0x1a0763)break;else _0x26b7f8['push'](_0x26b7f8['shift']());}catch(_0x174aaa){_0x26b7f8['push'](_0x26b7f8['shift']());}}}(_0x3b5a,0x21157));import _0x2d38db from'node:path';function _0x48d2(_0x2e134d,_0x22a5b5){const _0x3b5a79=_0x3b5a();return _0x48d2=function(_0x48d26d,_0xf09b80){_0x48d26d=_0x48d26d-0x14f;let _0x3601f4=_0x3b5a79[_0x48d26d];return _0x3601f4;},_0x48d2(_0x2e134d,_0x22a5b5);}import _0x4995de from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);function _0x3b5a(){const _0x4d17bb=['existsSync','116272nlQqRO','./resources/app/wrapper.node','default','18396cnZwKz','13404ngyWrq','join','935156WLBeuJ','258050EvJpEq','writeFileSync','curVersion','2352lfXfdL','\x22);\x0aexports\x20=\x20module.exports;\x0a','735rKgnHX','1170225ZILlSw','resources/app/versions/','dirname','file://','\x0amodule.exports\x20=\x20require(\x22','execPath','24954omEFNc'];_0x3b5a=function(){return _0x4d17bb;};return _0x3b5a();}let wrapperNodePath=_0x2d38db['resolve'](_0x2d38db['dirname'](process['execPath']),_0x43aef5(0x151));!_0x4995de[_0x43aef5(0x14f)](wrapperNodePath)&&(wrapperNodePath=_0x2d38db[_0x43aef5(0x155)](_0x2d38db[_0x43aef5(0x15f)](process[_0x43aef5(0x162)]),_0x43aef5(0x15e)+qqVersionConfigInfo[_0x43aef5(0x159)]+'/wrapper.node'));let WrapperLoader=_0x2d38db[_0x43aef5(0x155)](__dirname,'WrapperLoader.cjs');_0x4995de[_0x43aef5(0x158)](WrapperLoader,_0x43aef5(0x161)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x43aef5(0x15b));const QQWrapper=(await import(_0x43aef5(0x160)+WrapperLoader))[_0x43aef5(0x152)];export default QQWrapper; \ No newline at end of file +const _0x265c2b=_0x34cc;(function(_0x532f2b,_0x126829){const _0x3417f1=_0x34cc,_0x1033d0=_0x532f2b();while(!![]){try{const _0x148260=-parseInt(_0x3417f1(0x175))/0x1+parseInt(_0x3417f1(0x17a))/0x2+parseInt(_0x3417f1(0x186))/0x3+-parseInt(_0x3417f1(0x184))/0x4+-parseInt(_0x3417f1(0x185))/0x5+parseInt(_0x3417f1(0x17e))/0x6+parseInt(_0x3417f1(0x183))/0x7;if(_0x148260===_0x126829)break;else _0x1033d0['push'](_0x1033d0['shift']());}catch(_0x4f0e6f){_0x1033d0['push'](_0x1033d0['shift']());}}}(_0xb421,0x5c93f));import _0x56a77b from'node:path';import _0x2ceecf from'node:fs';function _0xb421(){const _0x578eb9=['file://','dirname','3277836rNqlWd','resolve','WrapperLoader.cjs','existsSync','resources/app/versions/','1570618BiilAb','1431084lpMvZg','2185610FTVHHl','1681761obNizS','join','\x22);\x0aexports\x20=\x20module.exports;\x0a','679308GpXxuY','default','writeFileSync','url','replace','1044266oKIdCx','curVersion'];_0xb421=function(){return _0x578eb9;};return _0xb421();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x34cc(_0x21375e,_0x37f614){const _0xb42171=_0xb421();return _0x34cc=function(_0x34cc08,_0x1b18c0){_0x34cc08=_0x34cc08-0x175;let _0x23fb1f=_0xb42171[_0x34cc08];return _0x23fb1f;},_0x34cc(_0x21375e,_0x37f614);}const __filename=fileURLToPath(import.meta[_0x265c2b(0x178)]),__dirname=dirname(__filename);let wrapperNodePath=_0x56a77b[_0x265c2b(0x17f)](_0x56a77b[_0x265c2b(0x17d)](process['execPath']),'./resources/app/wrapper.node');!_0x2ceecf[_0x265c2b(0x181)](wrapperNodePath)&&(wrapperNodePath=_0x56a77b[_0x265c2b(0x187)](_0x56a77b['dirname'](process['execPath']),_0x265c2b(0x182)+qqVersionConfigInfo[_0x265c2b(0x17b)]+'/wrapper.node'));let WrapperLoader=_0x56a77b[_0x265c2b(0x187)](__dirname,_0x265c2b(0x180));_0x2ceecf[_0x265c2b(0x177)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x265c2b(0x179)](/\\/g,'\x5c\x5c')+_0x265c2b(0x188));const QQWrapper=(await import(_0x265c2b(0x17c)+WrapperLoader))[_0x265c2b(0x176)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/extends/GetCollectionList.ts b/src/onebot11/action/extends/GetCollectionList.ts new file mode 100644 index 00000000..c45ea23b --- /dev/null +++ b/src/onebot11/action/extends/GetCollectionList.ts @@ -0,0 +1,26 @@ + +import { NTQQCollectionApi } from '@/core/apis/collection'; +import BaseAction from '../BaseAction'; +import { ActionName } from '../types'; +import { NTQQUserApi } from '@/core/apis'; +import { FromSchema, JSONSchema } from 'json-schema-to-ts'; +import { selfInfo } from '@/core/data'; + +const SchemaData = { + type: 'object', + properties: { + category: { type: 'number' }, + count: { type: 'number' } + }, + required: ['category', 'count'], +} as const satisfies JSONSchema; + +type Payload = FromSchema; + +export class GetCollectionList extends BaseAction { + actionName = ActionName.GetCollectionList; + PayloadSchema = SchemaData; + protected async _handle(payload: Payload) { + return await NTQQCollectionApi.getAllCollection(payload.category, payload.count); + } +} diff --git a/src/onebot11/action/types.ts b/src/onebot11/action/types.ts index c3567f69..7eb37ac6 100644 --- a/src/onebot11/action/types.ts +++ b/src/onebot11/action/types.ts @@ -91,5 +91,6 @@ export enum ActionName { OCRImage = 'ocr_image', IOCRImage = '.ocr_image', SetSelfProfile = "set_self_profile", - CreateCollection = "create_collection" + CreateCollection = "create_collection", + GetCollectionList = "get_collection_list" }