diff --git a/src/common/utils/request.ts b/src/common/utils/request.ts index 9bf9247a..875b871f 100644 --- a/src/common/utils/request.ts +++ b/src/common/utils/request.ts @@ -49,7 +49,7 @@ export class RequestUtil { // 请求和回复都是JSON data传原始内容 自动编码json - static async HttpGetJson(url: string, method: string = 'GET', data?: any, headers: Record = {}, isJsonRet: boolean = true, isArgJson: boolean = true): Promise { + static async HttpGetJson(url: string, method: string = 'GET', data?: any, headers: { [key: string]: string } = {}, isJsonRet: boolean = true, isArgJson: boolean = true): Promise { const option = new URL(url); const protocol = url.startsWith('https://') ? https : http; const options = { @@ -59,6 +59,10 @@ export class RequestUtil { method: method, headers: headers }; + // headers: { + // * 'Content-Type': 'application/json', + // * 'Content-Length': Buffer.byteLength(postData), + // * }, return new Promise((resolve, reject) => { const req = protocol.request(options, (res: any) => { let responseBody = ''; @@ -100,10 +104,10 @@ export class RequestUtil { } // 请求返回都是原始内容 - static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: Record = {}) { + static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: { [key: string]: string } = {}) { return this.HttpGetJson(url, method, data, headers, false, false); } - static async HttpUploadFile(url: string, filePath: string, headers: Record = {}) { + static async HttpUploadFile(url: string, filePath: string, headers: { [key: string]: string } = {}) { // 验证URL try { new URL(url); diff --git a/src/core b/src/core index 7463f72f..7a033095 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 7463f72fd790a5fb1bf32c92cb96c15915cbd0de +Subproject commit 7a0330956b9085b42f0fe5c56fcd9ee59f8756b8 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 00ab2295..2f145f2e 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x17fd(_0x23a70a,_0xcc3797){var _0x5c2a74=_0x5c2a();return _0x17fd=function(_0x17fd40,_0xa47965){_0x17fd40=_0x17fd40-0xeb;var _0x5ed4e9=_0x5c2a74[_0x17fd40];return _0x5ed4e9;},_0x17fd(_0x23a70a,_0xcc3797);}var _0xef5c1=_0x17fd;(function(_0x20465e,_0x4799da){var _0x11e402=_0x17fd,_0xc4093a=_0x20465e();while(!![]){try{var _0x192bfa=parseInt(_0x11e402(0xed))/0x1*(-parseInt(_0x11e402(0xf4))/0x2)+-parseInt(_0x11e402(0xf6))/0x3*(parseInt(_0x11e402(0xee))/0x4)+parseInt(_0x11e402(0xeb))/0x5*(-parseInt(_0x11e402(0xf0))/0x6)+parseInt(_0x11e402(0xf5))/0x7*(-parseInt(_0x11e402(0xf2))/0x8)+-parseInt(_0x11e402(0xec))/0x9+parseInt(_0x11e402(0xf3))/0xa+parseInt(_0x11e402(0xef))/0xb;if(_0x192bfa===_0x4799da)break;else _0xc4093a['push'](_0xc4093a['shift']());}catch(_0xa267c6){_0xc4093a['push'](_0xc4093a['shift']());}}}(_0x5c2a,0x98f4f));function _0x5c2a(){var _0x1ad2a3=['6439797QxeSDS','88FBCfVn','140sTVvJn','29722363sTxCeV','6AzDEVB','getGroupCode','2336pLbOGd','8344750zwOGGh','25852ZcKVAe','3122YUaRBj','13047BeXfUt','3872645jsdWJz'];_0x5c2a=function(){return _0x1ad2a3;};return _0x5c2a();}export class DependsAdapter{['onMSFStatusChange'](_0x5ce819,_0x716335){}['onMSFSsoError'](_0x1201b1){}[_0xef5c1(0xf1)](_0x1a0ea5){}} \ No newline at end of file +var _0x567a0a=_0x3979;function _0x3afd(){var _0x4d50dd=['4456172OLDoVC','1903653EbpyeM','onMSFStatusChange','12853144buOfwL','onMSFSsoError','55295Xuqkgq','576eVbVww','2011670VJBMZW','3751220zcsTUS','147909KEwkes'];_0x3afd=function(){return _0x4d50dd;};return _0x3afd();}(function(_0x8f4518,_0xcab45d){var _0x5ded54=_0x3979,_0x3348d3=_0x8f4518();while(!![]){try{var _0x29bb76=-parseInt(_0x5ded54(0x18e))/0x1+-parseInt(_0x5ded54(0x18c))/0x2+-parseInt(_0x5ded54(0x190))/0x3+-parseInt(_0x5ded54(0x18d))/0x4+parseInt(_0x5ded54(0x194))/0x5*(parseInt(_0x5ded54(0x18b))/0x6)+parseInt(_0x5ded54(0x18f))/0x7+parseInt(_0x5ded54(0x192))/0x8;if(_0x29bb76===_0xcab45d)break;else _0x3348d3['push'](_0x3348d3['shift']());}catch(_0x38dfa8){_0x3348d3['push'](_0x3348d3['shift']());}}}(_0x3afd,0x8d4f3));function _0x3979(_0x46cdff,_0x27dd47){var _0x3afdb7=_0x3afd();return _0x3979=function(_0x39796b,_0x2ae49c){_0x39796b=_0x39796b-0x18b;var _0xc20c10=_0x3afdb7[_0x39796b];return _0xc20c10;},_0x3979(_0x46cdff,_0x27dd47);}export class DependsAdapter{[_0x567a0a(0x191)](_0x443ba7,_0x4d0256){}[_0x567a0a(0x193)](_0x15c3aa){}['getGroupCode'](_0x21023e){}} \ 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 2f6ece27..c003eaaf 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x44368b=_0x18c0;function _0x5f37(){var _0x4f7c87=['18520qcYhlt','185izPiUO','14UryQMD','356WgcsvJ','3982572jxVfCN','143esyBwt','dispatchCallWithJson','1227482UoLcKl','dispatchRequest','7476776yDLoAw','115578EhhCkS','1496383YWjfvH','8028ZvCcIV','25572sqUqaY'];_0x5f37=function(){return _0x4f7c87;};return _0x5f37();}function _0x18c0(_0x51797d,_0x2d056a){var _0x5f372d=_0x5f37();return _0x18c0=function(_0x18c0f4,_0x14b3d8){_0x18c0f4=_0x18c0f4-0x194;var _0x1af7c8=_0x5f372d[_0x18c0f4];return _0x1af7c8;},_0x18c0(_0x51797d,_0x2d056a);}(function(_0x2ea512,_0x299634){var _0x58af43=_0x18c0,_0x479494=_0x2ea512();while(!![]){try{var _0x76f502=-parseInt(_0x58af43(0x19e))/0x1+-parseInt(_0x58af43(0x19a))/0x2+parseInt(_0x58af43(0x1a0))/0x3*(-parseInt(_0x58af43(0x196))/0x4)+-parseInt(_0x58af43(0x194))/0x5*(parseInt(_0x58af43(0x19d))/0x6)+parseInt(_0x58af43(0x195))/0x7*(parseInt(_0x58af43(0x19c))/0x8)+-parseInt(_0x58af43(0x19f))/0x9*(parseInt(_0x58af43(0x1a1))/0xa)+parseInt(_0x58af43(0x198))/0xb*(parseInt(_0x58af43(0x197))/0xc);if(_0x76f502===_0x299634)break;else _0x479494['push'](_0x479494['shift']());}catch(_0x59d740){_0x479494['push'](_0x479494['shift']());}}}(_0x5f37,0xe7f9c));export class DispatcherAdapter{[_0x44368b(0x19b)](_0x1c973){}['dispatchCall'](_0x572d1a){}[_0x44368b(0x199)](_0x67bd7b){}} \ No newline at end of file +var _0x4fb5e8=_0x4378;(function(_0x2936be,_0x31c986){var _0xfe4bc0=_0x4378,_0x4ae0fe=_0x2936be();while(!![]){try{var _0x2e6bca=-parseInt(_0xfe4bc0(0x1e9))/0x1+parseInt(_0xfe4bc0(0x1e2))/0x2*(-parseInt(_0xfe4bc0(0x1e0))/0x3)+parseInt(_0xfe4bc0(0x1df))/0x4+-parseInt(_0xfe4bc0(0x1e5))/0x5+parseInt(_0xfe4bc0(0x1e6))/0x6+parseInt(_0xfe4bc0(0x1e1))/0x7*(-parseInt(_0xfe4bc0(0x1e3))/0x8)+parseInt(_0xfe4bc0(0x1e8))/0x9;if(_0x2e6bca===_0x31c986)break;else _0x4ae0fe['push'](_0x4ae0fe['shift']());}catch(_0x30dda8){_0x4ae0fe['push'](_0x4ae0fe['shift']());}}}(_0x138f,0xe8c0e));function _0x138f(){var _0x3f0894=['18640620SUmYKp','481814GNlwsW','5394628eVJATc','3DnWpmb','700qfHmQt','2550578kEfjAs','140224VSxkHh','dispatchCallWithJson','3661140cEuFzf','10653912OLMOzc','dispatchRequest'];_0x138f=function(){return _0x3f0894;};return _0x138f();}function _0x4378(_0xf1157,_0x446a3f){var _0x138f73=_0x138f();return _0x4378=function(_0x437865,_0x571faf){_0x437865=_0x437865-0x1df;var _0x5868c3=_0x138f73[_0x437865];return _0x5868c3;},_0x4378(_0xf1157,_0x446a3f);}export class DispatcherAdapter{[_0x4fb5e8(0x1e7)](_0xbc498a){}['dispatchCall'](_0x194824){}[_0x4fb5e8(0x1e4)](_0x25370c){}} \ 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 16c56308..717cc54d 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x4e82(){var _0x5c1ba7=['8DIlXiS','5503TfxwiB','onLog','onGetSrvCalTime','9nACLtn','getAppSetting','2230974nMQCeP','277905yuZpFx','862499knAJCQ','7gqgOIT','494142bqVPcI','966720YUrAcv','onShowErrUITips','onGetOfflineMsg','74jvgLLj','167704wvUuhb','onInstallFinished'];_0x4e82=function(){return _0x5c1ba7;};return _0x4e82();}var _0x30ff53=_0x2e1e;(function(_0x5dc3a3,_0x4f9149){var _0xa8b1ce=_0x2e1e,_0x2da262=_0x5dc3a3();while(!![]){try{var _0x5d2abc=-parseInt(_0xa8b1ce(0x1b4))/0x1*(parseInt(_0xa8b1ce(0x1c1))/0x2)+parseInt(_0xa8b1ce(0x1bd))/0x3*(parseInt(_0xa8b1ce(0x1b3))/0x4)+-parseInt(_0xa8b1ce(0x1ba))/0x5+-parseInt(_0xa8b1ce(0x1b9))/0x6*(-parseInt(_0xa8b1ce(0x1bc))/0x7)+parseInt(_0xa8b1ce(0x1c2))/0x8*(-parseInt(_0xa8b1ce(0x1b7))/0x9)+-parseInt(_0xa8b1ce(0x1be))/0xa+parseInt(_0xa8b1ce(0x1bb))/0xb;if(_0x5d2abc===_0x4f9149)break;else _0x2da262['push'](_0x2da262['shift']());}catch(_0x32b2e3){_0x2da262['push'](_0x2da262['shift']());}}}(_0x4e82,0x62597));function _0x2e1e(_0x77712b,_0x150b2e){var _0x4e8261=_0x4e82();return _0x2e1e=function(_0x2e1e3,_0x8de99c){_0x2e1e3=_0x2e1e3-0x1b2;var _0x24cd35=_0x4e8261[_0x2e1e3];return _0x24cd35;},_0x2e1e(_0x77712b,_0x150b2e);}export class GlobalAdapter{[_0x30ff53(0x1b5)](..._0x1c9cd2){}[_0x30ff53(0x1b6)](..._0x41a3fe){}[_0x30ff53(0x1bf)](..._0x57817a){}['fixPicImgType'](..._0x1fa11e){}[_0x30ff53(0x1b8)](..._0x1bc416){}[_0x30ff53(0x1b2)](..._0x785c07){}['onUpdateGeneralFlag'](..._0xb92b5d){}[_0x30ff53(0x1c0)](..._0x5c5eb2){}} \ No newline at end of file +var _0x102263=_0x22c6;function _0x5c28(){var _0x30668e=['6198IdOgJE','14vaItzq','onInstallFinished','onUpdateGeneralFlag','91CxxyCi','207663vzvjIb','3823893IzLNJj','fixPicImgType','getAppSetting','4YfdNdF','6502505johbGM','onShowErrUITips','onGetSrvCalTime','28130pTHIqZ','4418964OVQoDv','50PUNcyR','60016zClOli'];_0x5c28=function(){return _0x30668e;};return _0x5c28();}(function(_0xb1551a,_0x6818f2){var _0x1ea854=_0x22c6,_0x358d88=_0xb1551a();while(!![]){try{var _0x354e75=parseInt(_0x1ea854(0xfb))/0x1+-parseInt(_0x1ea854(0x100))/0x2*(parseInt(_0x1ea854(0xf3))/0x3)+parseInt(_0x1ea854(0xf7))/0x4*(-parseInt(_0x1ea854(0xf8))/0x5)+-parseInt(_0x1ea854(0xff))/0x6*(-parseInt(_0x1ea854(0xf2))/0x7)+-parseInt(_0x1ea854(0xfe))/0x8+parseInt(_0x1ea854(0xf4))/0x9+-parseInt(_0x1ea854(0xfd))/0xa*(-parseInt(_0x1ea854(0xfc))/0xb);if(_0x354e75===_0x6818f2)break;else _0x358d88['push'](_0x358d88['shift']());}catch(_0x157759){_0x358d88['push'](_0x358d88['shift']());}}}(_0x5c28,0xa6a0a));function _0x22c6(_0x26ef9f,_0x58c661){var _0x5c288d=_0x5c28();return _0x22c6=function(_0x22c629,_0x45d8ac){_0x22c629=_0x22c629-0xf0;var _0x3c678d=_0x5c288d[_0x22c629];return _0x3c678d;},_0x22c6(_0x26ef9f,_0x58c661);}export class GlobalAdapter{['onLog'](..._0x101efa){}[_0x102263(0xfa)](..._0x2db58a){}[_0x102263(0xf9)](..._0x42fbf1){}[_0x102263(0xf5)](..._0x4c300b){}[_0x102263(0xf6)](..._0x36fb85){}[_0x102263(0xf0)](..._0x4df8b5){}[_0x102263(0xf1)](..._0x2bd7cd){}['onGetOfflineMsg'](..._0x51abd0){}} \ 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 15436f7e..83a4b8fa 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x2f7c39,_0x287c75){var _0x3bf422=_0x9b9f,_0xa4d6ad=_0x2f7c39();while(!![]){try{var _0xe2e56b=-parseInt(_0x3bf422(0x172))/0x1*(parseInt(_0x3bf422(0x173))/0x2)+-parseInt(_0x3bf422(0x170))/0x3*(parseInt(_0x3bf422(0x177))/0x4)+parseInt(_0x3bf422(0x178))/0x5+parseInt(_0x3bf422(0x171))/0x6+parseInt(_0x3bf422(0x179))/0x7+parseInt(_0x3bf422(0x174))/0x8*(parseInt(_0x3bf422(0x175))/0x9)+parseInt(_0x3bf422(0x176))/0xa*(-parseInt(_0x3bf422(0x16f))/0xb);if(_0xe2e56b===_0x287c75)break;else _0xa4d6ad['push'](_0xa4d6ad['shift']());}catch(_0x4b1655){_0xa4d6ad['push'](_0xa4d6ad['shift']());}}}(_0x55b2,0x62d6b));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x9b9f(_0x56021e,_0x44cb37){var _0x55b2e2=_0x55b2();return _0x9b9f=function(_0x9b9fe,_0x1aacfb){_0x9b9fe=_0x9b9fe-0x16f;var _0x2c9632=_0x55b2e2[_0x9b9fe];return _0x2c9632;},_0x9b9f(_0x56021e,_0x44cb37);}export*from'./NodeIGlobalAdapter';function _0x55b2(){var _0x2c960a=['2896cUFxkq','3681BaGAEc','230IryHeP','66108TnZGwS','2903855xiZbHT','906024RVuZiK','154473VzfGRV','126PnWSPt','3515700CisuuT','7415zbLdnm','6SAFwBZ'];_0x55b2=function(){return _0x2c960a;};return _0x55b2();} \ No newline at end of file +(function(_0x5e80aa,_0x36adf8){var _0x4869ca=_0x3606,_0x428666=_0x5e80aa();while(!![]){try{var _0x545e4b=parseInt(_0x4869ca(0x15b))/0x1+-parseInt(_0x4869ca(0x161))/0x2+-parseInt(_0x4869ca(0x160))/0x3+parseInt(_0x4869ca(0x15a))/0x4+-parseInt(_0x4869ca(0x15f))/0x5*(-parseInt(_0x4869ca(0x15d))/0x6)+-parseInt(_0x4869ca(0x15c))/0x7*(-parseInt(_0x4869ca(0x15e))/0x8)+parseInt(_0x4869ca(0x162))/0x9;if(_0x545e4b===_0x36adf8)break;else _0x428666['push'](_0x428666['shift']());}catch(_0xfb43d2){_0x428666['push'](_0x428666['shift']());}}}(_0x1aa2,0x8d7aa));export*from'./NodeIDependsAdapter';function _0x3606(_0x465442,_0x58c394){var _0x1aa297=_0x1aa2();return _0x3606=function(_0x3606f4,_0xaf52e8){_0x3606f4=_0x3606f4-0x15a;var _0x19d4d6=_0x1aa297[_0x3606f4];return _0x19d4d6;},_0x3606(_0x465442,_0x58c394);}function _0x1aa2(){var _0x282122=['2584RzlBmm','48175NnMGfZ','203147MILlON','18BwgfYu','296iwiauf','191845vNZLkH','2471844IVeqWy','1381388fKXfwi','7707915ZOvIiU'];_0x1aa2=function(){return _0x282122;};return _0x1aa2();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index 8893bcdf..b3a4151f 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x5293b2=_0x133e;function _0x133e(_0x3ac5c5,_0x4b1da0){const _0x17ec66=_0x17ec();return _0x133e=function(_0x133e09,_0x10efc5){_0x133e09=_0x133e09-0xc1;let _0x377271=_0x17ec66[_0x133e09];return _0x377271;},_0x133e(_0x3ac5c5,_0x4b1da0);}function _0x17ec(){const _0x5172b0=['136686GCwRJK','189CRCrxh','getCollectionItemList','2681833QgyEor','createNewCollectionItem','session','117LsMTRG','getAllCollection','1673ehVVMI','6224zzPQVJ','39476HwsHTF','1767051aoqotO','2322pWtlNV','10iCKktN','599795TVDbDX','createCollection','now','getCollectionService','toString'];_0x17ec=function(){return _0x5172b0;};return _0x17ec();}(function(_0x5f35dc,_0x16a370){const _0x163af5=_0x133e,_0x42f897=_0x5f35dc();while(!![]){try{const _0xeffc7a=-parseInt(_0x163af5(0xcd))/0x1*(parseInt(_0x163af5(0xc5))/0x2)+parseInt(_0x163af5(0xd2))/0x3*(parseInt(_0x163af5(0xc3))/0x4)+-parseInt(_0x163af5(0xc7))/0x5+parseInt(_0x163af5(0xcc))/0x6+parseInt(_0x163af5(0xc1))/0x7*(parseInt(_0x163af5(0xc2))/0x8)+parseInt(_0x163af5(0xc4))/0x9+-parseInt(_0x163af5(0xc6))/0xa*(parseInt(_0x163af5(0xcf))/0xb);if(_0xeffc7a===_0x16a370)break;else _0x42f897['push'](_0x42f897['shift']());}catch(_0x260ec5){_0x42f897['push'](_0x42f897['shift']());}}}(_0x17ec,0x327aa));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x5293b2(0xc8)](_0x5262a9,_0x3ecf96,_0x33fc69,_0x2595b8,_0x2db61e){const _0x4e35dc=_0x5293b2;let _0x2b601a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x5262a9,'strId':_0x33fc69,'groupId':'0','groupName':'','uid':_0x3ecf96},'customGroupId':'0','createTime':Date[_0x4e35dc(0xc9)]()[_0x4e35dc(0xcb)](),'sequence':Date[_0x4e35dc(0xc9)]()[_0x4e35dc(0xcb)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x2595b8,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x2db61e,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x4e35dc(0xd1)][_0x4e35dc(0xca)]()[_0x4e35dc(0xd0)](_0x2b601a);}static async[_0x5293b2(0xd3)](_0x2cdc7d=0x0,_0x5958d=0x32){const _0x41fa3a=_0x5293b2;let _0x238b46={'category':_0x2cdc7d,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x5958d,'searchDown':!![]};return napCatCore['session'][_0x41fa3a(0xca)]()[_0x41fa3a(0xce)](_0x238b46);}} \ No newline at end of file +function _0x218c(_0x3873db,_0x190031){const _0x1ebe9f=_0x1ebe();return _0x218c=function(_0x218c97,_0x51d493){_0x218c97=_0x218c97-0x82;let _0x365a3a=_0x1ebe9f[_0x218c97];return _0x365a3a;},_0x218c(_0x3873db,_0x190031);}const _0x5f24a3=_0x218c;(function(_0x36ea9d,_0x42de59){const _0x420c89=_0x218c,_0x2485ae=_0x36ea9d();while(!![]){try{const _0x2326bb=parseInt(_0x420c89(0x8d))/0x1*(parseInt(_0x420c89(0x96))/0x2)+parseInt(_0x420c89(0x87))/0x3*(-parseInt(_0x420c89(0x95))/0x4)+-parseInt(_0x420c89(0x8e))/0x5*(-parseInt(_0x420c89(0x8f))/0x6)+parseInt(_0x420c89(0x85))/0x7*(-parseInt(_0x420c89(0x84))/0x8)+parseInt(_0x420c89(0x88))/0x9*(parseInt(_0x420c89(0x97))/0xa)+-parseInt(_0x420c89(0x94))/0xb*(parseInt(_0x420c89(0x83))/0xc)+parseInt(_0x420c89(0x93))/0xd*(parseInt(_0x420c89(0x8c))/0xe);if(_0x2326bb===_0x42de59)break;else _0x2485ae['push'](_0x2485ae['shift']());}catch(_0xc88842){_0x2485ae['push'](_0x2485ae['shift']());}}}(_0x1ebe,0x1aec5));import{napCatCore}from'..';function _0x1ebe(){const _0x1299a5=['214992CXDoIg','getCollectionService','getCollectionItemList','createNewCollectionItem','10543Beqhmc','187FgCboL','44edTPlZ','764YHUDQE','10seleGz','toString','122952DhuNVQ','952NFoQzV','8813kidoGf','session','28023lcZUfc','850482QoIwRz','createCollection','getAllCollection','now','1190BqaDFQ','509LMChyA','25WRiLKu'];_0x1ebe=function(){return _0x1299a5;};return _0x1ebe();}export class NTQQCollectionApi{static async[_0x5f24a3(0x89)](_0x1021e1,_0x2fecb1,_0x538ae4,_0x5f1aa5,_0x19bec9){const _0x453c72=_0x5f24a3;let _0xa6d800={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x1021e1,'strId':_0x538ae4,'groupId':'0','groupName':'','uid':_0x2fecb1},'customGroupId':'0','createTime':Date[_0x453c72(0x8b)]()[_0x453c72(0x82)](),'sequence':Date[_0x453c72(0x8b)]()[_0x453c72(0x82)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x5f1aa5,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x19bec9,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x453c72(0x90)]()[_0x453c72(0x92)](_0xa6d800);}static async[_0x5f24a3(0x8a)](_0x6436b5=0x0,_0x36eea0=0x32){const _0x2320a7=_0x5f24a3;let _0x2287e4={'category':_0x6436b5,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x36eea0,'searchDown':!![]};return napCatCore[_0x2320a7(0x86)][_0x2320a7(0x90)]()[_0x2320a7(0x91)](_0x2287e4);}} \ 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 16a68a6b..e745f002 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x509a74=_0x5300;(function(_0x4a65ba,_0x3d8e30){const _0x228a25=_0x5300,_0x30671e=_0x4a65ba();while(!![]){try{const _0x4fc452=parseInt(_0x228a25(0xed))/0x1*(parseInt(_0x228a25(0xb9))/0x2)+parseInt(_0x228a25(0xc4))/0x3*(parseInt(_0x228a25(0xb1))/0x4)+parseInt(_0x228a25(0xd3))/0x5+parseInt(_0x228a25(0xe0))/0x6+parseInt(_0x228a25(0xad))/0x7+parseInt(_0x228a25(0xdb))/0x8*(parseInt(_0x228a25(0xac))/0x9)+parseInt(_0x228a25(0xdd))/0xa*(-parseInt(_0x228a25(0xbc))/0xb);if(_0x4fc452===_0x3d8e30)break;else _0x30671e['push'](_0x30671e['shift']());}catch(_0x478be7){_0x30671e['push'](_0x30671e['shift']());}}}(_0x4c1b,0xbf8ee));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x537e12 from'path';import _0x4cd3ba from'fs';import _0x47a7a0 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x5df397 from'file-type';function _0x4c1b(){const _0xae6777=['wLOsf','zLUTA','tmp','util','getFileType','setCacheSilentScan','sVwda','fileUuid','2385110otcioQ','KXlIJ','wRfmx','indexOf','basename','msgId','getRichMediaService','elementId','2523256nmDJAJ','getFileCacheInfo','7758410WqmJof','下载超时','unlink','3756204TTwTLb','getRichMediaFilePathForGuild','set','ogmdn','/gchatpic_new/0/0-0-','clearChatCacheInfo','LqVAm','clearChatCache','domainUrl','addListener','getFileSize','downloadMedia','delete','1lWPvdT','originImageUrl','lzCkf','addCacheScanedPaths','uploadFile','/download','md5HexStr','startsWith','session','romPd','onLoginSuccess','fileTypeFromFile','9SWSadk','7210707eBjeAc','CqEEL','getStorageCleanService','chatType','1876408YUgVpw','hotUpdate','addCacheScannedPaths','includes','getChatCacheList','urlResult','图片url获取失败','copyFile','388958BslXja','ext','join','33aaaGOv','getMsgService','getImageSize','private_rkey','onRichMediaDownloadComplete','getVideoPlayUrlV2','SmLZO','hXjws','3ZFpprK','peerUid','PIC','clearCacheDataByKeys','nKlUJ','getImageUrl','scanCache'];_0x4c1b=function(){return _0xae6777;};return _0x4c1b();}import{MsgListener}from'@/core/listeners';import _0x17a615 from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x5300(_0x3215a8,_0x547dc6){const _0x4c1b99=_0x4c1b();return _0x5300=function(_0x5300be,_0x35a5e2){_0x5300be=_0x5300be-0xab;let _0x409530=_0x4c1b99[_0x5300be];return _0x409530;},_0x5300(_0x3215a8,_0x547dc6);}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[_0x509a74(0xc0)]=_0x5f1bbc=>{const _0x480b20=_0x509a74,_0x580081={'wRfmx':function(_0x46fe38,_0x57e460){return _0x46fe38(_0x57e460);}};for(const [_0x3e5713,_0x2557c6]of downloadMediaTasks){_0x580081[_0x480b20(0xd5)](_0x2557c6,_0x5f1bbc),downloadMediaTasks[_0x480b20(0xec)](_0x3e5713);}},setTimeout(()=>{const _0x3cd8ad=_0x509a74;napCatCore[_0x3cd8ad(0xf7)](()=>{const _0x1a6ed9=_0x3cd8ad;napCatCore[_0x1a6ed9(0xe9)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x4cf5b8){const _0x1b03e7=_0x509a74;return _0x5df397[_0x1b03e7(0xab)](_0x4cf5b8);}static async[_0x509a74(0xb8)](_0x2b5440,_0x3763b4){const _0x23b8d1=_0x509a74;await napCatCore['util'][_0x23b8d1(0xb8)](_0x2b5440,_0x3763b4);}static async[_0x509a74(0xea)](_0x4539c6){const _0x46ce34=_0x509a74;return await napCatCore[_0x46ce34(0xce)][_0x46ce34(0xea)](_0x4539c6);}static async['getVideoUrl'](_0x38a5ab,_0x10dcec){const _0xf858dd=_0x509a74;return(await napCatCore['session'][_0xf858dd(0xd9)]()[_0xf858dd(0xc1)]({'chatType':_0x38a5ab[_0xf858dd(0xb0)],'peerUid':_0x38a5ab[_0xf858dd(0xc5)],'guildId':'0'},_0x38a5ab[_0xf858dd(0xd8)],_0x10dcec[_0xf858dd(0xda)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0xf858dd(0xb6)][_0xf858dd(0xe8)][0x0]['url'];}static async[_0x509a74(0xf1)](_0x4ca8a6,_0x4adfaf=ElementType[_0x509a74(0xc6)],_0x35051c=0x0){const _0x312efc=_0x509a74,_0x105c87={'romPd':function(_0x576bf5,_0xc92dc9){return _0x576bf5+_0xc92dc9;},'BjxYQ':function(_0x1c2bfe,_0x1a72d0){return _0x1c2bfe===_0x1a72d0;}},_0x1b37ce=await calculateFileMD5(_0x4ca8a6);let _0x478c33=(await NTQQFileApi[_0x312efc(0xcf)](_0x4ca8a6))?.[_0x312efc(0xba)]||'';_0x478c33&&(_0x478c33=_0x105c87[_0x312efc(0xf6)]('.',_0x478c33));let _0x102fdf=''+_0x537e12[_0x312efc(0xd7)](_0x4ca8a6);_0x105c87['BjxYQ'](_0x102fdf[_0x312efc(0xd6)]('.'),-0x1)&&(_0x102fdf+=_0x478c33);const _0x4fead1=napCatCore[_0x312efc(0xf5)][_0x312efc(0xbd)]()[_0x312efc(0xe1)]({'md5HexStr':_0x1b37ce,'fileName':_0x102fdf,'elementType':_0x4adfaf,'elementSubType':_0x35051c,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x312efc(0xb8)](_0x4ca8a6,_0x4fead1);const _0x23543f=await NTQQFileApi['getFileSize'](_0x4ca8a6);return{'md5':_0x1b37ce,'fileName':_0x102fdf,'path':_0x4fead1,'fileSize':_0x23543f,'ext':_0x478c33};}static async[_0x509a74(0xeb)](_0x57cdc1,_0x2c965b,_0x510a76,_0x4e2314,_0x38827d,_0x41f64a,_0x5dcb4b=0x3e8*0x3c*0x2,_0x418d3a=![]){const _0x3896fb=_0x509a74,_0x5007a6={'ZEhEf':function(_0x15f979,_0x45460f){return _0x15f979(_0x45460f);},'sVwda':_0x3896fb(0xde),'LqVAm':function(_0x1e5354,_0x33fd51,_0x1398a4){return _0x1e5354(_0x33fd51,_0x1398a4);}};if(_0x41f64a&&_0x4cd3ba['existsSync'](_0x41f64a)){if(_0x418d3a)try{await _0x47a7a0[_0x3896fb(0xdf)](_0x41f64a);}catch(_0x471387){}else return _0x41f64a;}return new Promise((_0x16bad1,_0x18c7ab)=>{const _0x227919=_0x3896fb,_0x196859={'zLUTA':function(_0x439572,_0xaf19aa){return _0x5007a6['ZEhEf'](_0x439572,_0xaf19aa);},'ogmdn':_0x5007a6[_0x227919(0xd1)]};let _0xbae5c4=![];const _0x7b3363=_0x108acc=>{const _0x4ed05c=_0x227919;if(_0x108acc[_0x4ed05c(0xd8)]===_0x57cdc1){_0xbae5c4=!![];let _0x2de962=_0x108acc['filePath'];if(_0x2de962[_0x4ed05c(0xf4)]('\x5c')){const _0x12a8eb=sessionConfig['defaultFileDownloadPath'];_0x2de962=_0x537e12[_0x4ed05c(0xbb)](_0x12a8eb,_0x2de962);}_0x16bad1(_0x2de962);}};downloadMediaTasks[_0x227919(0xe2)](randomUUID(),_0x7b3363),_0x5007a6[_0x227919(0xe6)](setTimeout,()=>{const _0x41bd9c=_0x227919;!_0xbae5c4&&_0x196859[_0x41bd9c(0xcc)](_0x18c7ab,_0x196859[_0x41bd9c(0xe3)]);},_0x5dcb4b),napCatCore[_0x227919(0xf5)][_0x227919(0xbd)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x57cdc1,'chatType':_0x2c965b,'peerUid':_0x510a76,'elementId':_0x4e2314,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x38827d});});}static async[_0x509a74(0xbe)](_0x46e90e){const _0x28c214={'KXlIJ':function(_0x34028b,_0x78ad0e){return _0x34028b(_0x78ad0e);},'lzCkf':function(_0x5136a2,_0xf883b,_0x15840){return _0x5136a2(_0xf883b,_0x15840);}};return new Promise((_0x491279,_0x2e25d7)=>{const _0x493f8b=_0x5300,_0x18d0d4={'LEgyv':function(_0x54e086,_0xdef318){const _0x3a1934=_0x5300;return _0x28c214[_0x3a1934(0xd4)](_0x54e086,_0xdef318);}};_0x28c214[_0x493f8b(0xef)](_0x17a615,_0x46e90e,(_0xd45663,_0x452ebd)=>{_0xd45663?_0x18d0d4['LEgyv'](_0x2e25d7,_0xd45663):_0x491279(_0x452ebd);});});}static async[_0x509a74(0xc9)](_0x349203,_0x37e00b){const _0x4237c1=_0x509a74,_0x466385={'DhrlG':_0x4237c1(0xf2),'wLOsf':'&rkey=','hXjws':function(_0x48f559,_0x515b89){return _0x48f559+_0x515b89;},'nKlUJ':function(_0x3a1c33,_0x131178){return _0x3a1c33+_0x131178;},'SmLZO':function(_0x334e20,_0x39d5cb){return _0x334e20+_0x39d5cb;},'kDOev':function(_0x396572,_0x33e2d5){return _0x396572||_0x33e2d5;},'NRvXw':function(_0x5b2015,_0x509d88,_0x37e631){return _0x5b2015(_0x509d88,_0x37e631);},'CqEEL':_0x4237c1(0xb7)};if(!_0x349203)return'';const _0x382733=_0x349203[_0x4237c1(0xee)],_0x153df5=_0x349203[_0x4237c1(0xf3)],_0x2520b3=_0x349203[_0x4237c1(0xf3)],_0x5b8d9d=_0x349203[_0x4237c1(0xd2)];if(_0x382733){if(_0x382733['startsWith'](_0x466385['DhrlG'])){if(_0x382733[_0x4237c1(0xb4)](_0x466385[_0x4237c1(0xcb)]))return _0x466385[_0x4237c1(0xc3)](IMAGE_HTTP_HOST_NT,_0x382733);const _0x1aae4c=await rkeyManager['getRkey'](),_0x51b94f=_0x37e00b?_0x1aae4c[_0x4237c1(0xbf)]:_0x1aae4c['group_rkey'];return _0x466385[_0x4237c1(0xc3)](_0x466385[_0x4237c1(0xc8)](IMAGE_HTTP_HOST_NT,_0x382733),''+_0x51b94f);}else return _0x466385[_0x4237c1(0xc2)](IMAGE_HTTP_HOST,_0x382733);}else{if(_0x466385['kDOev'](_0x2520b3,_0x153df5))return IMAGE_HTTP_HOST+_0x4237c1(0xe4)+_0x466385['kDOev'](_0x2520b3,_0x153df5)['toUpperCase']()+'/0';}return _0x466385['NRvXw'](logDebug,_0x466385[_0x4237c1(0xae)],_0x349203),'';}}export class NTQQFileCacheApi{static async[_0x509a74(0xd0)](_0x1dac41=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x2bf924=[_0x509a74(0xcd),_0x509a74(0xb2)]){const _0x2e489e=_0x509a74;return napCatCore[_0x2e489e(0xf5)][_0x2e489e(0xaf)]()[_0x2e489e(0xc7)](_0x2bf924);}static[_0x509a74(0xb3)](_0x49b8b0={}){const _0x4396f6=_0x509a74;return napCatCore[_0x4396f6(0xf5)][_0x4396f6(0xaf)]()[_0x4396f6(0xf0)](_0x49b8b0);}static[_0x509a74(0xca)](){const _0x5b58d0=_0x509a74;return napCatCore['session'][_0x5b58d0(0xaf)]()[_0x5b58d0(0xca)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x509a74(0xb5)](_0x4ff74c,_0xec9763=0x3e8,_0xe812be=0x0){const _0x52b739=_0x509a74;return napCatCore['session'][_0x52b739(0xaf)]()['getChatCacheInfo'](_0x4ff74c,_0xec9763,0x1,_0xe812be);}static[_0x509a74(0xdc)](_0x28d6ca,_0x1a834f=0x3e8,_0x198df6){const _0x13f481=_0x198df6?_0x198df6:{'fileType':_0x28d6ca};}static async[_0x509a74(0xe7)](_0x4e5c08=[],_0x58a95e=[]){const _0x151746=_0x509a74;return napCatCore[_0x151746(0xf5)]['getStorageCleanService']()[_0x151746(0xe5)](_0x4e5c08,_0x58a95e);}} \ No newline at end of file +const _0x14c271=_0x42ca;(function(_0xed578,_0x7ddce5){const _0x4b4593=_0x42ca,_0x4d8ad9=_0xed578();while(!![]){try{const _0xc64252=-parseInt(_0x4b4593(0x1e7))/0x1+parseInt(_0x4b4593(0x1eb))/0x2*(parseInt(_0x4b4593(0x1ca))/0x3)+parseInt(_0x4b4593(0x1d4))/0x4+-parseInt(_0x4b4593(0x1e2))/0x5+parseInt(_0x4b4593(0x1e4))/0x6+parseInt(_0x4b4593(0x1b5))/0x7*(parseInt(_0x4b4593(0x1c1))/0x8)+parseInt(_0x4b4593(0x1d3))/0x9*(-parseInt(_0x4b4593(0x1bf))/0xa);if(_0xc64252===_0x7ddce5)break;else _0x4d8ad9['push'](_0x4d8ad9['shift']());}catch(_0x277d72){_0x4d8ad9['push'](_0x4d8ad9['shift']());}}}(_0x1575,0xf31df));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x325ac7 from'path';import _0x56dfae from'fs';function _0x1575(){const _0x4e8bd4=['uploadFile','1503752YQGuRd','getVideoPlayUrlV2','gBhKl','onRichMediaDownloadComplete','34wzVWMk','indexOf','addCacheScanedPaths','filePath','YPfvw','jhobf','OsDZV','oNiPw','scanCache','下载超时','getVideoUrl','addListener','downloadRichMedia','getMsgService','/gchatpic_new/0/0-0-','unlink','IpOqY','dGRYH','urlResult','defaultFileDownloadPath','1407xnqqsa','msgId','getHotUpdateCachePath','copyFile','clearCache','getRkey','DySau','getDesktopTmpPath','getChatCacheList','fileUuid','19370oXONzy','PIC','26024IIyZyP','util','clearCacheDataByKeys','aldbh','delete','GiCUW','/download','group_rkey','domainUrl','57453UDTjvk','fileTypeFromFile','clearChatCache','startsWith','getRichMediaService','includes','getStorageCleanService','join','session','999XtIDGr','4667776Affihm','url','clearChatCacheInfo','downloadMedia','&rkey=','FpHEC','set','getCacheSessionPathList','TwGKy','md5HexStr','elementId','getFileSize','existsSync','addCacheScannedPaths','4411285zkABJR','setCacheSilentScan','8702754nsjrXY','basename'];_0x1575=function(){return _0x4e8bd4;};return _0x1575();}import _0x1bc39c from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x42ca(_0x19c4ab,_0x1d03e8){const _0x15757b=_0x1575();return _0x42ca=function(_0x42ca71,_0x5633fb){_0x42ca71=_0x42ca71-0x1ae;let _0x4dd7c4=_0x15757b[_0x42ca71];return _0x4dd7c4;},_0x42ca(_0x19c4ab,_0x1d03e8);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x238258 from'file-type';import{MsgListener}from'@/core/listeners';import _0x438b17 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[_0x14c271(0x1ea)]=_0xf74431=>{const _0x1ac714=_0x14c271,_0x34e416={'YPfvw':function(_0x112eb3,_0x26e2f9){return _0x112eb3(_0x26e2f9);}};for(const [_0x17dd4c,_0xb5b0c3]of downloadMediaTasks){_0x34e416[_0x1ac714(0x1ef)](_0xb5b0c3,_0xf74431),downloadMediaTasks[_0x1ac714(0x1c5)](_0x17dd4c);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x498ea7=_0x42ca;napCatCore[_0x498ea7(0x1f6)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x5d2f52){const _0x5367bd=_0x14c271;return _0x238258[_0x5367bd(0x1cb)](_0x5d2f52);}static async[_0x14c271(0x1b8)](_0xf23ba0,_0xa5583c){const _0x2d44be=_0x14c271;await napCatCore[_0x2d44be(0x1c2)][_0x2d44be(0x1b8)](_0xf23ba0,_0xa5583c);}static async[_0x14c271(0x1df)](_0x2af09e){const _0x18b0bd=_0x14c271;return await napCatCore[_0x18b0bd(0x1c2)][_0x18b0bd(0x1df)](_0x2af09e);}static async[_0x14c271(0x1f5)](_0x4c0d21,_0x586dce){const _0x2cd39d=_0x14c271;return(await napCatCore[_0x2cd39d(0x1d2)][_0x2cd39d(0x1ce)]()[_0x2cd39d(0x1e8)]({'chatType':_0x4c0d21['chatType'],'peerUid':_0x4c0d21['peerUid'],'guildId':'0'},_0x4c0d21[_0x2cd39d(0x1b6)],_0x586dce[_0x2cd39d(0x1de)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x2cd39d(0x1b3)][_0x2cd39d(0x1c9)][0x0][_0x2cd39d(0x1d5)];}static async[_0x14c271(0x1e6)](_0xd539a3,_0x55bfa6=ElementType[_0x14c271(0x1c0)],_0x119189=0x0){const _0x1c6a98=_0x14c271,_0x26b474={'GiCUW':function(_0x561188,_0x3fb410){return _0x561188(_0x3fb410);},'OsDZV':function(_0x4cafe1,_0x2557b8){return _0x4cafe1===_0x2557b8;}},_0x7ead50=await _0x26b474[_0x1c6a98(0x1c6)](calculateFileMD5,_0xd539a3);let _0x4e6e3a=(await NTQQFileApi['getFileType'](_0xd539a3))?.['ext']||'';_0x4e6e3a&&(_0x4e6e3a='.'+_0x4e6e3a);let _0xb086f7=''+_0x325ac7[_0x1c6a98(0x1e5)](_0xd539a3);_0x26b474[_0x1c6a98(0x1f1)](_0xb086f7[_0x1c6a98(0x1ec)]('.'),-0x1)&&(_0xb086f7+=_0x4e6e3a);const _0x2b644b=napCatCore['session'][_0x1c6a98(0x1ae)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x7ead50,'fileName':_0xb086f7,'elementType':_0x55bfa6,'elementSubType':_0x119189,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1c6a98(0x1b8)](_0xd539a3,_0x2b644b);const _0x1c7390=await NTQQFileApi[_0x1c6a98(0x1df)](_0xd539a3);return{'md5':_0x7ead50,'fileName':_0xb086f7,'path':_0x2b644b,'fileSize':_0x1c7390,'ext':_0x4e6e3a};}static async[_0x14c271(0x1d7)](_0x471b1c,_0x1b12c3,_0x2a5852,_0x4878d2,_0x5954f9,_0x3a7204,_0xa03b46=0x3e8*0x3c*0x2,_0x2305ca=![]){const _0x84b936=_0x14c271,_0x5d1c81={'jhobf':function(_0x1c8c79,_0xce963){return _0x1c8c79(_0xce963);},'gBhKl':_0x84b936(0x1f4),'dGRYH':function(_0x550ecf){return _0x550ecf();}};if(_0x3a7204&&_0x56dfae[_0x84b936(0x1e0)](_0x3a7204)){if(_0x2305ca)try{await _0x1bc39c[_0x84b936(0x1b0)](_0x3a7204);}catch(_0x3cadc4){}else return _0x3a7204;}return new Promise((_0xb72706,_0x2189d1)=>{const _0x3463e6=_0x84b936;let _0x5f3eaf=![];const _0xd20ee8=_0x2591b7=>{const _0x39ac38=_0x42ca;if(_0x2591b7[_0x39ac38(0x1b6)]===_0x471b1c){_0x5f3eaf=!![];let _0x4bdff6=_0x2591b7[_0x39ac38(0x1ee)];if(_0x4bdff6[_0x39ac38(0x1cd)]('\x5c')){const _0xa327=sessionConfig[_0x39ac38(0x1b4)];_0x4bdff6=_0x325ac7[_0x39ac38(0x1d1)](_0xa327,_0x4bdff6);}_0x5d1c81[_0x39ac38(0x1f0)](_0xb72706,_0x4bdff6);}};downloadMediaTasks[_0x3463e6(0x1da)](_0x5d1c81[_0x3463e6(0x1b2)](randomUUID),_0xd20ee8),setTimeout(()=>{const _0x4d31be=_0x3463e6;!_0x5f3eaf&&_0x2189d1(_0x5d1c81[_0x4d31be(0x1e9)]);},_0xa03b46),napCatCore[_0x3463e6(0x1d2)][_0x3463e6(0x1ae)]()[_0x3463e6(0x1f7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x471b1c,'chatType':_0x1b12c3,'peerUid':_0x2a5852,'elementId':_0x4878d2,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x5954f9});});}static async['getImageSize'](_0x5e3783){const _0x21fbda={'DySau':function(_0x5d32b9,_0x341f20){return _0x5d32b9(_0x341f20);},'oNiPw':function(_0x23769d,_0x1e4767,_0x3ce2bc){return _0x23769d(_0x1e4767,_0x3ce2bc);}};return new Promise((_0x58ebc9,_0x1b3b38)=>{const _0x3c8c89=_0x42ca;_0x21fbda[_0x3c8c89(0x1f2)](_0x438b17,_0x5e3783,(_0x14a3e6,_0x32cfb7)=>{const _0x1f843b=_0x3c8c89;_0x14a3e6?_0x21fbda[_0x1f843b(0x1bb)](_0x1b3b38,_0x14a3e6):_0x58ebc9(_0x32cfb7);});});}static async['getImageUrl'](_0x1588fe,_0x1f60e9){const _0x1e8788=_0x14c271,_0x4712c1={'zWQpC':_0x1e8788(0x1c7),'TwGKy':_0x1e8788(0x1d8),'FpHEC':function(_0x1817dd,_0x5af522){return _0x1817dd+_0x5af522;},'aldbh':function(_0x23865f,_0x5a89a0){return _0x23865f+_0x5a89a0;},'RShXP':function(_0x5c7637,_0x2ff667){return _0x5c7637+_0x2ff667;},'IpOqY':function(_0x581956,_0x50bfc4,_0x3fbbd8){return _0x581956(_0x50bfc4,_0x3fbbd8);}};if(!_0x1588fe)return'';const _0x149dbd=_0x1588fe['originImageUrl'],_0x499820=_0x1588fe[_0x1e8788(0x1dd)],_0x5c6759=_0x1588fe[_0x1e8788(0x1dd)],_0x28c46f=_0x1588fe[_0x1e8788(0x1be)];if(_0x149dbd){if(_0x149dbd[_0x1e8788(0x1cd)](_0x4712c1['zWQpC'])){if(_0x149dbd[_0x1e8788(0x1cf)](_0x4712c1[_0x1e8788(0x1dc)]))return _0x4712c1[_0x1e8788(0x1d9)](IMAGE_HTTP_HOST_NT,_0x149dbd);const _0x21c34b=await rkeyManager[_0x1e8788(0x1ba)](),_0x42f672=_0x1f60e9?_0x21c34b['private_rkey']:_0x21c34b[_0x1e8788(0x1c8)];return _0x4712c1[_0x1e8788(0x1c4)](_0x4712c1['RShXP'](IMAGE_HTTP_HOST_NT,_0x149dbd),''+_0x42f672);}else return IMAGE_HTTP_HOST+_0x149dbd;}else{if(_0x5c6759||_0x499820)return IMAGE_HTTP_HOST+_0x1e8788(0x1af)+(_0x5c6759||_0x499820)['toUpperCase']()+'/0';}return _0x4712c1[_0x1e8788(0x1b1)](logDebug,'图片url获取失败',_0x1588fe),'';}}export class NTQQFileCacheApi{static async[_0x14c271(0x1e3)](_0x232b7=!![]){return'';}static[_0x14c271(0x1db)](){return'';}static[_0x14c271(0x1b9)](_0x14d2ba=['tmp','hotUpdate']){const _0x4e986e=_0x14c271;return napCatCore[_0x4e986e(0x1d2)][_0x4e986e(0x1d0)]()[_0x4e986e(0x1c3)](_0x14d2ba);}static[_0x14c271(0x1e1)](_0x432905={}){const _0x64a291=_0x14c271;return napCatCore[_0x64a291(0x1d2)][_0x64a291(0x1d0)]()[_0x64a291(0x1ed)](_0x432905);}static[_0x14c271(0x1f3)](){const _0x54dfb5=_0x14c271;return napCatCore[_0x54dfb5(0x1d2)][_0x54dfb5(0x1d0)]()[_0x54dfb5(0x1f3)]();}static[_0x14c271(0x1b7)](){return'';}static[_0x14c271(0x1bc)](){return'';}static[_0x14c271(0x1bd)](_0x3dbb89,_0x19a5c7=0x3e8,_0x51f02b=0x0){const _0x5b43ba=_0x14c271;return napCatCore[_0x5b43ba(0x1d2)][_0x5b43ba(0x1d0)]()['getChatCacheInfo'](_0x3dbb89,_0x19a5c7,0x1,_0x51f02b);}static['getFileCacheInfo'](_0x256a4f,_0x14f17b=0x3e8,_0x57391a){const _0x468318=_0x57391a?_0x57391a:{'fileType':_0x256a4f};}static async[_0x14c271(0x1cc)](_0x2f25a0=[],_0x25c571=[]){const _0x25189a=_0x14c271;return napCatCore[_0x25189a(0x1d2)][_0x25189a(0x1d0)]()[_0x25189a(0x1d6)](_0x2f25a0,_0x25c571);}} \ 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 2bcad064..9651e2ee 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x4786b3=_0x12b2;(function(_0x1d7eed,_0x11acdb){const _0x35eca1=_0x12b2,_0x5cb2af=_0x1d7eed();while(!![]){try{const _0x2645bc=parseInt(_0x35eca1(0x18a))/0x1*(parseInt(_0x35eca1(0x18f))/0x2)+parseInt(_0x35eca1(0x198))/0x3*(-parseInt(_0x35eca1(0x18c))/0x4)+-parseInt(_0x35eca1(0x18d))/0x5+-parseInt(_0x35eca1(0x195))/0x6+-parseInt(_0x35eca1(0x18e))/0x7+parseInt(_0x35eca1(0x190))/0x8+parseInt(_0x35eca1(0x197))/0x9;if(_0x2645bc===_0x11acdb)break;else _0x5cb2af['push'](_0x5cb2af['shift']());}catch(_0x418b83){_0x5cb2af['push'](_0x5cb2af['shift']());}}}(_0x53d6,0x35d17));import{napCatCore}from'@/core';function _0x53d6(){const _0x191e1c=['leRiM','getBuddyService','split','1298BLttbY','CallNormalEvent','12YFcIfl','913635JcYTlk','2265900elEyiG','354rZvLId','1220528tcaHDP','session','NodeIKernelBuddyService/getBuddyList','buddyList','approvalFriendRequest','831762eAHnjl','isBuddy','6224103mZDdgM','208386DAakOs','handleFriendRequest'];_0x53d6=function(){return _0x191e1c;};return _0x53d6();}function _0x12b2(_0x412aa9,_0x55711c){const _0x53d656=_0x53d6();return _0x12b2=function(_0x12b2aa,_0x89399a){_0x12b2aa=_0x12b2aa-0x18a;let _0x28ec99=_0x53d656[_0x12b2aa];return _0x28ec99;},_0x12b2(_0x412aa9,_0x55711c);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x4786b3(0x196)](_0x521e4d){const _0xe247f8=_0x4786b3;return napCatCore[_0xe247f8(0x191)][_0xe247f8(0x19b)]()['isBuddy'](_0x521e4d);}static async['getFriends'](_0x4bdbf1=![]){const _0xc775f7=_0x4786b3,_0xf8b710={'QyXXY':_0xc775f7(0x192)};let [_0x335dee,_0x2bb5ea]=await NTEventDispatch[_0xc775f7(0x18b)](_0xf8b710['QyXXY'],'NodeIKernelBuddyListener/onBuddyListChange',0x1,0x1388,_0x4bdbf1);const _0x5c8ba5=[];for(const _0x332ca5 of _0x2bb5ea){for(const _0x3e827d of _0x332ca5[_0xc775f7(0x193)]){_0x5c8ba5['push'](_0x3e827d);}}return _0x5c8ba5;}static async[_0x4786b3(0x199)](_0x1c4b3c,_0x142d51){const _0x8fb7af=_0x4786b3,_0x1e6d02={'leRiM':function(_0x3f4aad,_0x8b408f){return _0x3f4aad<_0x8b408f;}};let _0x239cfc=_0x1c4b3c[_0x8fb7af(0x19c)]('|');if(_0x1e6d02[_0x8fb7af(0x19a)](_0x239cfc['length'],0x2))return;let _0x1838cc=_0x239cfc[0x0],_0x35ac41=_0x239cfc[0x1];napCatCore[_0x8fb7af(0x191)][_0x8fb7af(0x19b)]()?.[_0x8fb7af(0x194)]({'friendUid':_0x1838cc,'reqTime':_0x35ac41,'accept':_0x142d51});}} \ No newline at end of file +const _0x5c87b6=_0x3eff;function _0x3eff(_0x15c943,_0x3d6702){const _0x28aa3c=_0x28aa();return _0x3eff=function(_0x3eff5b,_0x3f0356){_0x3eff5b=_0x3eff5b-0x1f0;let _0x4433c2=_0x28aa3c[_0x3eff5b];return _0x4433c2;},_0x3eff(_0x15c943,_0x3d6702);}(function(_0x594d9d,_0x16bae9){const _0x23d444=_0x3eff,_0x3f115b=_0x594d9d();while(!![]){try{const _0x5bb067=-parseInt(_0x23d444(0x1f3))/0x1*(-parseInt(_0x23d444(0x1ff))/0x2)+-parseInt(_0x23d444(0x1fc))/0x3+parseInt(_0x23d444(0x1f9))/0x4+parseInt(_0x23d444(0x1fe))/0x5+-parseInt(_0x23d444(0x1fa))/0x6+-parseInt(_0x23d444(0x1fb))/0x7+parseInt(_0x23d444(0x1f6))/0x8;if(_0x5bb067===_0x16bae9)break;else _0x3f115b['push'](_0x3f115b['shift']());}catch(_0x558fab){_0x3f115b['push'](_0x3f115b['shift']());}}}(_0x28aa,0x976cf));function _0x28aa(){const _0x2af90d=['getFriends','ScTIj','111bxRQfX','handleFriendRequest','getBuddyService','4796464JYfgtF','isBuddy','approvalFriendRequest','2684540PVqxjc','4671960IPssJP','2798327Dcvqhn','3226950tyKIxs','NodeIKernelBuddyListener/onBuddyListChange','5555550hqjTJw','8874OGzrpw','FWyNC','session','CallNormalEvent','split','length','NodeIKernelBuddyService/getBuddyList'];_0x28aa=function(){return _0x2af90d;};return _0x28aa();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x5c87b6(0x1f7)](_0x5739b0){const _0x41d4b2=_0x5c87b6;return napCatCore[_0x41d4b2(0x201)][_0x41d4b2(0x1f5)]()['isBuddy'](_0x5739b0);}static async[_0x5c87b6(0x1f1)](_0x70a85=![]){const _0x27694a=_0x5c87b6,_0x1e0c45={'ScTIj':_0x27694a(0x1f0),'FWyNC':_0x27694a(0x1fd)};let [_0xa3fa8a,_0x241ff6]=await NTEventDispatch[_0x27694a(0x202)](_0x1e0c45[_0x27694a(0x1f2)],_0x1e0c45[_0x27694a(0x200)],0x1,0x1388,_0x70a85);const _0x5a9b64=[];for(const _0x2b2da6 of _0x241ff6){for(const _0x43e6c5 of _0x2b2da6['buddyList']){_0x5a9b64['push'](_0x43e6c5);}}return _0x5a9b64;}static async[_0x5c87b6(0x1f4)](_0x55551b,_0x561fa2){const _0x4bebc5=_0x5c87b6,_0x5008de={'BTczs':function(_0x292daa,_0x46e227){return _0x292daa<_0x46e227;}};let _0x466a19=_0x55551b[_0x4bebc5(0x203)]('|');if(_0x5008de['BTczs'](_0x466a19[_0x4bebc5(0x204)],0x2))return;let _0x4a481e=_0x466a19[0x0],_0x5bd6bc=_0x466a19[0x1];napCatCore['session'][_0x4bebc5(0x1f5)]()?.[_0x4bebc5(0x1f8)]({'friendUid':_0x4a481e,'reqTime':_0x5bd6bc,'accept':_0x561fa2});}} \ 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 ad87e6a0..5c2858f6 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x473e(_0x289dc6,_0x1367d1){const _0xc9325f=_0xc932();return _0x473e=function(_0x473e32,_0x1d8d54){_0x473e32=_0x473e32-0xaa;let _0x5c535c=_0xc9325f[_0x473e32];return _0x5c535c;},_0x473e(_0x289dc6,_0x1367d1);}const _0x54d456=_0x473e;(function(_0x16cb1e,_0x3d8171){const _0x46dea6=_0x473e,_0x520b32=_0x16cb1e();while(!![]){try{const _0x222a33=parseInt(_0x46dea6(0xc4))/0x1+parseInt(_0x46dea6(0xad))/0x2*(parseInt(_0x46dea6(0xdd))/0x3)+-parseInt(_0x46dea6(0xd5))/0x4+-parseInt(_0x46dea6(0xb9))/0x5*(-parseInt(_0x46dea6(0xbb))/0x6)+-parseInt(_0x46dea6(0xe7))/0x7*(parseInt(_0x46dea6(0xda))/0x8)+parseInt(_0x46dea6(0xd8))/0x9+-parseInt(_0x46dea6(0xab))/0xa;if(_0x222a33===_0x3d8171)break;else _0x520b32['push'](_0x520b32['shift']());}catch(_0x5e01c8){_0x520b32['push'](_0x520b32['shift']());}}}(_0xc932,0xaba7b));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0xc932(){const _0x3ad29=['kjqGV','getPSkey','446722PGXcAC','setMemberCard','operateSysNotify','getRichMediaService','modifyMemberRole','getArkJsonGroupShare','groupCode','infos','domainPskeyMap','CreatGroupFileFolder','errMsg','arkJson','groupMemberList_MainWindow','session','uploadGroupBulletinPic','modifyGroupName','type','940792zxTlwM','getGroupRemainAtTimes','getGroups','5576346ksiPxE','CallNormalEvent','192544hVLhiE','kickMember','batchGetGroupFileCount','783tJRdvq','TXChR','DelGroupFileFolder','setMemberRole','NodeIKernelGroupListener/onGroupSingleScreenNotifies','get','deleteGroupFolder','NodeIKernelGroupService/getSingleScreenNotifies','NodeIKernelGroupListener/onGroupListUpdate','TPEFB','259PfzhZD','getMemberExtInfo','banGroup','FLoMI','1614780rtUOgo','getGroupMembers','1130zxGWQT','publishGroupBulletin','setGroupName','获取群成员列表出错,','quitGroup','handleGroupRequest','VCZdN','qun.qq.com','getGroupNotifies','errCode','getGroupService','bPTXs','554650gKXjsp','getGroupRecommendContactArkJson','42MjaEGa','result','group','NodeIKernelGroupService/getGroupRecommendContactArkJson','deleteGroupFile','modifyMemberCardName','DqdLp'];_0xc932=function(){return _0x3ad29;};return _0xc932();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x54d456(0xd7)](_0x21e909=![]){const _0xe9e50b=_0x54d456,_0x38aae1={'RMUTP':'NodeIKernelGroupService/getGroupList'};let [_0x192d32,_0xc6a5b5,_0x16b1ab]=await NTEventDispatch[_0xe9e50b(0xd9)](_0x38aae1['RMUTP'],_0xe9e50b(0xe5),0x1,0x1388,_0x21e909);return _0x16b1ab;}static async['getGroupRecommendContactArkJson'](_0x4332f9){const _0x1cd611=_0x54d456;return napCatCore['session'][_0x1cd611(0xb7)]()[_0x1cd611(0xba)](_0x4332f9);}static async[_0x54d456(0xcd)](_0xbc2406,_0x94ebd3){const _0x1f077f=_0x54d456;return napCatCore[_0x1f077f(0xd1)][_0x1f077f(0xc7)]()['createGroupFolder'](_0xbc2406,_0x94ebd3);}static async['DelGroupFile'](_0x2dcd71,_0x2bf4d8){const _0x51fe0e=_0x54d456;return napCatCore[_0x51fe0e(0xd1)][_0x51fe0e(0xc7)]()[_0x51fe0e(0xbf)](_0x2dcd71,[0x66],_0x2bf4d8);}static async[_0x54d456(0xdf)](_0x4ae4a0,_0x2bd4f4){const _0x11aed8=_0x54d456;return napCatCore[_0x11aed8(0xd1)][_0x11aed8(0xc7)]()[_0x11aed8(0xe3)](_0x4ae4a0,_0x2bd4f4);}static async['getSingleScreenNotifies'](_0x861302){const _0x472e5f=_0x54d456,_0x2f32ef={'FLoMI':_0x472e5f(0xe4),'DqdLp':_0x472e5f(0xe1)};let [_0x1069d0,_0x171f7a,_0x15f2d1,_0xa7c31b]=await NTEventDispatch[_0x472e5f(0xd9)](_0x2f32ef[_0x472e5f(0xaa)],_0x2f32ef[_0x472e5f(0xc1)],0x1,0x1388,![],'',_0x861302);return _0xa7c31b;}static async[_0x54d456(0xac)](_0x2e4058,_0x58c810=0xbb8){const _0x6f65f1=_0x54d456,_0x5aca46={'TPEFB':_0x6f65f1(0xd0),'TXChR':function(_0x13b564,_0x5565b1){return _0x13b564!==_0x5565b1;},'kjqGV':_0x6f65f1(0xb0)},_0x2e92e0=napCatCore[_0x6f65f1(0xd1)][_0x6f65f1(0xb7)](),_0xc0f6a2=_0x2e92e0['createMemberListScene'](_0x2e4058,_0x5aca46[_0x6f65f1(0xe6)]),_0x2542fe=await _0x2e92e0['getNextMemberList'](_0xc0f6a2,undefined,_0x58c810);if(_0x5aca46[_0x6f65f1(0xde)](_0x2542fe[_0x6f65f1(0xb6)],0x0))throw _0x5aca46[_0x6f65f1(0xc2)]+_0x2542fe[_0x6f65f1(0xce)];return _0x2542fe[_0x6f65f1(0xbc)][_0x6f65f1(0xcb)];}static async[_0x54d456(0xb5)](){}static async['GetGroupFileCount'](_0x21657a){const _0x528083=_0x54d456;return napCatCore[_0x528083(0xd1)][_0x528083(0xc7)]()[_0x528083(0xdc)](_0x21657a);}static async['getGroupIgnoreNotifies'](){}static async[_0x54d456(0xc9)](_0x1210e6){const _0x1c1b64=_0x54d456;let _0x48b3ae=await NTEventDispatch['CallNoListenerEvent'](_0x1c1b64(0xbe),0x1388,_0x1210e6);return _0x48b3ae[_0x1c1b64(0xcf)];}static async[_0x54d456(0xd2)](_0x6acc3a,_0xa7da71){const _0x406391=_0x54d456,_0x5cc9db={'VCZdN':_0x406391(0xb4)},_0x548181=(await NTQQUserApi[_0x406391(0xc3)]([_0x5cc9db['VCZdN']]))['domainPskeyMap'][_0x406391(0xe2)](_0x5cc9db[_0x406391(0xb3)]);return napCatCore['session']['getGroupService']()[_0x406391(0xd2)](_0x6acc3a,_0x548181,_0xa7da71);}static async[_0x54d456(0xb2)](_0x205a96,_0x5459ae,_0x13ca64){const _0x26f4cf=_0x54d456,_0x457e5b={'vRUKp':function(_0x3cf861,_0x2eb605){return _0x3cf861||_0x2eb605;}};return napCatCore['session'][_0x26f4cf(0xb7)]()[_0x26f4cf(0xc6)](![],{'operateType':_0x5459ae,'targetMsg':{'seq':_0x205a96['seq'],'type':_0x205a96[_0x26f4cf(0xd4)],'groupCode':_0x205a96[_0x26f4cf(0xbd)][_0x26f4cf(0xca)],'postscript':_0x457e5b['vRUKp'](_0x13ca64,'')}});}static async[_0x54d456(0xb1)](_0x564a50){const _0x3af8fe=_0x54d456;return napCatCore[_0x3af8fe(0xd1)][_0x3af8fe(0xb7)]()[_0x3af8fe(0xb1)](_0x564a50);}static async[_0x54d456(0xdb)](_0x1466c5,_0x110de5,_0x4c2cd8=![],_0x44623e=''){const _0x317024=_0x54d456;return napCatCore[_0x317024(0xd1)]['getGroupService']()['kickMember'](_0x1466c5,_0x110de5,_0x4c2cd8,_0x44623e);}static async['banMember'](_0xa6b7c2,_0x2a3d0e){const _0xc13f0b=_0x54d456;return napCatCore[_0xc13f0b(0xd1)][_0xc13f0b(0xb7)]()['setMemberShutUp'](_0xa6b7c2,_0x2a3d0e);}static async[_0x54d456(0xe9)](_0x6e586a,_0x3b2d14){const _0xb6acdb=_0x54d456;return napCatCore['session'][_0xb6acdb(0xb7)]()['setGroupShutUp'](_0x6e586a,_0x3b2d14);}static async[_0x54d456(0xc5)](_0x3f0716,_0xd6a675,_0x5ba882){const _0x4f3df2=_0x54d456;return napCatCore[_0x4f3df2(0xd1)][_0x4f3df2(0xb7)]()[_0x4f3df2(0xc0)](_0x3f0716,_0xd6a675,_0x5ba882);}static async[_0x54d456(0xe0)](_0x4d1484,_0x3bec52,_0x47c625){const _0x390834=_0x54d456;return napCatCore[_0x390834(0xd1)][_0x390834(0xb7)]()[_0x390834(0xc8)](_0x4d1484,_0x3bec52,_0x47c625);}static async[_0x54d456(0xaf)](_0x1f4341,_0x1c5586){const _0x1edb9a=_0x54d456;return napCatCore[_0x1edb9a(0xd1)][_0x1edb9a(0xb7)]()[_0x1edb9a(0xd3)](_0x1f4341,_0x1c5586,![]);}static async['setGroupTitle'](_0x257d59,_0x5b80b3,_0x289474){}static async[_0x54d456(0xae)](_0x2d9256,_0x21f343,_0x31fa21=undefined,_0x1d5192=0x0,_0x3a572c=0x0){const _0x5345b6=_0x54d456,_0x591a46={'bPTXs':_0x5345b6(0xb4),'KtCmR':function(_0x38d904,_0x1d2cbd){return _0x38d904(_0x1d2cbd);}},_0x1604ba=(await NTQQUserApi[_0x5345b6(0xc3)]([_0x591a46[_0x5345b6(0xb8)]]))[_0x5345b6(0xcc)][_0x5345b6(0xe2)](_0x591a46[_0x5345b6(0xb8)]);let _0x21b5f7={'text':_0x591a46['KtCmR'](encodeURI,_0x21f343),'picInfo':_0x31fa21,'oldFeedsId':'','pinned':_0x1d5192,'confirmRequired':_0x3a572c};return napCatCore[_0x5345b6(0xd1)][_0x5345b6(0xb7)]()[_0x5345b6(0xae)](_0x2d9256,_0x1604ba,_0x21b5f7);}static async[_0x54d456(0xd6)](_0x2757f9){const _0x415064=_0x54d456;napCatCore[_0x415064(0xd1)]['getGroupService']()['getGroupRemainAtTimes'](_0x2757f9);}static async[_0x54d456(0xe8)](_0xbe08b7,_0x3ae289){const _0x188054=_0x54d456;return napCatCore['session']['getGroupService']()[_0x188054(0xe8)]({'groupCode':_0xbe08b7,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x3ae289],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +const _0x5b8cf6=_0xa00c;function _0xa00c(_0x584479,_0x1b7066){const _0x3c7851=_0x3c78();return _0xa00c=function(_0xa00c68,_0xaa2837){_0xa00c68=_0xa00c68-0x1cd;let _0x4fbd7b=_0x3c7851[_0xa00c68];return _0x4fbd7b;},_0xa00c(_0x584479,_0x1b7066);}(function(_0x42e994,_0x10521f){const _0x4c0c4d=_0xa00c,_0x1e13b5=_0x42e994();while(!![]){try{const _0x229164=parseInt(_0x4c0c4d(0x1fe))/0x1+-parseInt(_0x4c0c4d(0x1dc))/0x2*(-parseInt(_0x4c0c4d(0x1da))/0x3)+parseInt(_0x4c0c4d(0x1fd))/0x4*(parseInt(_0x4c0c4d(0x1d4))/0x5)+-parseInt(_0x4c0c4d(0x1e4))/0x6+-parseInt(_0x4c0c4d(0x1d3))/0x7+-parseInt(_0x4c0c4d(0x1f7))/0x8*(parseInt(_0x4c0c4d(0x1db))/0x9)+parseInt(_0x4c0c4d(0x1e5))/0xa;if(_0x229164===_0x10521f)break;else _0x1e13b5['push'](_0x1e13b5['shift']());}catch(_0x24afb3){_0x1e13b5['push'](_0x1e13b5['shift']());}}}(_0x3c78,0x3abc9));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x5b8cf6(0x1e1)](_0x219039=![]){const _0x589c2f=_0x5b8cf6,_0x1efe39={'YJxth':'NodeIKernelGroupService/getGroupList','hVvhg':_0x589c2f(0x1e2)};let [_0x1c6645,_0x52ad07,_0x10877e]=await NTEventDispatch[_0x589c2f(0x1ed)](_0x1efe39['YJxth'],_0x1efe39[_0x589c2f(0x206)],0x1,0x1388,_0x219039);return _0x10877e;}static async['getGroupRecommendContactArkJson'](_0x1423b9){const _0x529899=_0x5b8cf6;return napCatCore['session'][_0x529899(0x210)]()[_0x529899(0x20c)](_0x1423b9);}static async[_0x5b8cf6(0x209)](_0x111a14,_0x4f5825){const _0x84a96=_0x5b8cf6;return napCatCore['session'][_0x84a96(0x1f3)]()[_0x84a96(0x212)](_0x111a14,_0x4f5825);}static async[_0x5b8cf6(0x1f0)](_0x34a796,_0x5573b6){const _0x3df075=_0x5b8cf6;return napCatCore[_0x3df075(0x1e9)]['getRichMediaService']()[_0x3df075(0x1d8)](_0x34a796,[0x66],_0x5573b6);}static async[_0x5b8cf6(0x20a)](_0x56a264,_0x2975ba){const _0x30ac72=_0x5b8cf6;return napCatCore[_0x30ac72(0x1e9)][_0x30ac72(0x1f3)]()[_0x30ac72(0x213)](_0x56a264,_0x2975ba);}static async[_0x5b8cf6(0x211)](_0x33fe70){const _0x5d1730=_0x5b8cf6,_0x3ca076={'KYNEo':_0x5d1730(0x1e6),'jsdMq':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x48c906,_0x51e485,_0x929f1d,_0x5d8ac0]=await NTEventDispatch[_0x5d1730(0x1ed)](_0x3ca076['KYNEo'],_0x3ca076[_0x5d1730(0x1ee)],0x1,0x1388,![],'',_0x33fe70);return _0x5d8ac0;}static async['getGroupMembers'](_0x124da7,_0x13be4a=0xbb8){const _0x299a06=_0x5b8cf6,_0x5dbaba={'CxRYT':_0x299a06(0x1ff),'pKpxy':function(_0x2ab97a,_0x5938fd){return _0x2ab97a!==_0x5938fd;},'ntNpZ':function(_0x220eaa,_0x37ea6b){return _0x220eaa+_0x37ea6b;},'Voveg':_0x299a06(0x1d2)},_0x3e3b95=napCatCore[_0x299a06(0x1e9)]['getGroupService'](),_0x5005db=_0x3e3b95['createMemberListScene'](_0x124da7,_0x5dbaba[_0x299a06(0x1e8)]),_0xb7f768=await _0x3e3b95[_0x299a06(0x1de)](_0x5005db,undefined,_0x13be4a);if(_0x5dbaba[_0x299a06(0x1f5)](_0xb7f768[_0x299a06(0x207)],0x0))throw _0x5dbaba[_0x299a06(0x1fa)](_0x5dbaba['Voveg'],_0xb7f768[_0x299a06(0x201)]);return _0xb7f768[_0x299a06(0x1f2)][_0x299a06(0x1fc)];}static async[_0x5b8cf6(0x1e0)](){}static async[_0x5b8cf6(0x1f4)](_0x4f1bae){const _0x16ff3e=_0x5b8cf6;return napCatCore[_0x16ff3e(0x1e9)][_0x16ff3e(0x1f3)]()[_0x16ff3e(0x20b)](_0x4f1bae);}static async[_0x5b8cf6(0x1d5)](){}static async[_0x5b8cf6(0x1f1)](_0x57854f){const _0x2fb060=_0x5b8cf6,_0x27bc20={'LGihN':_0x2fb060(0x1d6)};let _0x453bb3=await NTEventDispatch[_0x2fb060(0x20e)](_0x27bc20[_0x2fb060(0x20d)],0x1388,_0x57854f);return _0x453bb3[_0x2fb060(0x202)];}static async[_0x5b8cf6(0x20f)](_0xd32683,_0x3f667b){const _0x17c8ab=_0x5b8cf6,_0x132fff={'ALMuR':_0x17c8ab(0x1dd)},_0x243b70=(await NTQQUserApi[_0x17c8ab(0x204)]([_0x132fff[_0x17c8ab(0x205)]]))[_0x17c8ab(0x1ef)][_0x17c8ab(0x1ec)](_0x132fff[_0x17c8ab(0x205)]);return napCatCore[_0x17c8ab(0x1e9)][_0x17c8ab(0x210)]()['uploadGroupBulletinPic'](_0xd32683,_0x243b70,_0x3f667b);}static async[_0x5b8cf6(0x1e7)](_0x5baf16,_0x5e7ae6,_0xcc3d00){const _0x8347cf=_0x5b8cf6,_0x299a91={'kbuwk':function(_0x558d66,_0x32284c){return _0x558d66||_0x32284c;}};return napCatCore[_0x8347cf(0x1e9)][_0x8347cf(0x210)]()[_0x8347cf(0x1f6)](![],{'operateType':_0x5e7ae6,'targetMsg':{'seq':_0x5baf16[_0x8347cf(0x1d0)],'type':_0x5baf16['type'],'groupCode':_0x5baf16[_0x8347cf(0x1ce)]['groupCode'],'postscript':_0x299a91['kbuwk'](_0xcc3d00,'')}});}static async[_0x5b8cf6(0x203)](_0xaa5c5c){const _0x1277f6=_0x5b8cf6;return napCatCore['session'][_0x1277f6(0x210)]()['quitGroup'](_0xaa5c5c);}static async[_0x5b8cf6(0x1fb)](_0x22f46a,_0x2b8ba8,_0x367560=![],_0x2998b1=''){const _0x296b5e=_0x5b8cf6;return napCatCore[_0x296b5e(0x1e9)][_0x296b5e(0x210)]()[_0x296b5e(0x1fb)](_0x22f46a,_0x2b8ba8,_0x367560,_0x2998b1);}static async[_0x5b8cf6(0x1d7)](_0x55a648,_0x53be11){const _0x441e22=_0x5b8cf6;return napCatCore[_0x441e22(0x1e9)][_0x441e22(0x210)]()[_0x441e22(0x1cd)](_0x55a648,_0x53be11);}static async[_0x5b8cf6(0x1cf)](_0x41b076,_0x17f04e){const _0x32c387=_0x5b8cf6;return napCatCore['session'][_0x32c387(0x210)]()[_0x32c387(0x1df)](_0x41b076,_0x17f04e);}static async[_0x5b8cf6(0x208)](_0x30b2f1,_0xeecbed,_0x1d7cb1){const _0x53d18f=_0x5b8cf6;return napCatCore[_0x53d18f(0x1e9)]['getGroupService']()['modifyMemberCardName'](_0x30b2f1,_0xeecbed,_0x1d7cb1);}static async[_0x5b8cf6(0x1e3)](_0x492cdf,_0x4fbc97,_0x1bc7cb){const _0x30f454=_0x5b8cf6;return napCatCore[_0x30f454(0x1e9)][_0x30f454(0x210)]()['modifyMemberRole'](_0x492cdf,_0x4fbc97,_0x1bc7cb);}static async[_0x5b8cf6(0x1f9)](_0x890049,_0x44bbc5){const _0x151c78=_0x5b8cf6;return napCatCore['session'][_0x151c78(0x210)]()[_0x151c78(0x200)](_0x890049,_0x44bbc5,![]);}static async['setGroupTitle'](_0x569a6b,_0x5b3d61,_0x1173df){}static async[_0x5b8cf6(0x1d1)](_0x2a4efc,_0x22694f,_0x83dcbe=undefined,_0x5d9238=0x0,_0x4fca80=0x0){const _0x2184cc=_0x5b8cf6,_0x4ddbe0={'BABxv':_0x2184cc(0x1dd),'gaVwc':function(_0x8bae1c,_0x365a5b){return _0x8bae1c(_0x365a5b);}},_0x172df3=(await NTQQUserApi[_0x2184cc(0x204)]([_0x4ddbe0[_0x2184cc(0x1eb)]]))[_0x2184cc(0x1ef)][_0x2184cc(0x1ec)](_0x4ddbe0[_0x2184cc(0x1eb)]);let _0x22dc22={'text':_0x4ddbe0['gaVwc'](encodeURI,_0x22694f),'picInfo':_0x83dcbe,'oldFeedsId':'','pinned':_0x5d9238,'confirmRequired':_0x4fca80};return napCatCore[_0x2184cc(0x1e9)]['getGroupService']()[_0x2184cc(0x1d1)](_0x2a4efc,_0x172df3,_0x22dc22);}static async['getGroupRemainAtTimes'](_0x535d60){const _0x2bdff3=_0x5b8cf6;napCatCore[_0x2bdff3(0x1e9)][_0x2bdff3(0x210)]()[_0x2bdff3(0x1f8)](_0x535d60);}static async['getMemberExtInfo'](_0x28ef3b,_0x4950fe){const _0x350135=_0x5b8cf6;return napCatCore[_0x350135(0x1e9)][_0x350135(0x210)]()[_0x350135(0x1d9)]({'groupCode':_0x28ef3b,'sourceType':MemberExtSourceType[_0x350135(0x1ea)],'beginUin':'0','dataTime':'0','uinList':[_0x4950fe],'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 _0x3c78(){const _0x1573a7=['LGihN','CallNoListenerEvent','uploadGroupBulletinPic','getGroupService','getSingleScreenNotifies','createGroupFolder','deleteGroupFolder','setMemberShutUp','group','banGroup','seq','publishGroupBulletin','获取群成员列表出错,','2116457SzNuDV','6970qygVfo','getGroupIgnoreNotifies','NodeIKernelGroupService/getGroupRecommendContactArkJson','banMember','deleteGroupFile','getMemberExtInfo','162186fjebJP','4020399mOmUYQ','2trmQSp','qun.qq.com','getNextMemberList','setGroupShutUp','getGroupNotifies','getGroups','NodeIKernelGroupListener/onGroupListUpdate','setMemberRole','2293590KtdGJo','6813080hajEgj','NodeIKernelGroupService/getSingleScreenNotifies','handleGroupRequest','CxRYT','session','TITLETYPE','BABxv','get','CallNormalEvent','jsdMq','domainPskeyMap','DelGroupFile','getArkJsonGroupShare','result','getRichMediaService','GetGroupFileCount','pKpxy','operateSysNotify','8DwoFUi','getGroupRemainAtTimes','setGroupName','ntNpZ','kickMember','infos','492SuSfPC','465080LDzqzx','groupMemberList_MainWindow','modifyGroupName','errMsg','arkJson','quitGroup','getPSkey','ALMuR','hVvhg','errCode','setMemberCard','CreatGroupFileFolder','DelGroupFileFolder','batchGetGroupFileCount','getGroupRecommendContactArkJson'];_0x3c78=function(){return _0x1573a7;};return _0x3c78();} \ 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 63dc2d19..137c5dab 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2502b9,_0x1a84fe){var _0x5085a6=_0x2300,_0x511d0e=_0x2502b9();while(!![]){try{var _0x92c541=-parseInt(_0x5085a6(0x1f0))/0x1+parseInt(_0x5085a6(0x1f3))/0x2+-parseInt(_0x5085a6(0x1ef))/0x3+-parseInt(_0x5085a6(0x1f5))/0x4*(-parseInt(_0x5085a6(0x1f2))/0x5)+parseInt(_0x5085a6(0x1f4))/0x6+parseInt(_0x5085a6(0x1ee))/0x7+-parseInt(_0x5085a6(0x1f1))/0x8;if(_0x92c541===_0x1a84fe)break;else _0x511d0e['push'](_0x511d0e['shift']());}catch(_0x3bdebf){_0x511d0e['push'](_0x511d0e['shift']());}}}(_0x2af6,0x767e5));export*from'./file';export*from'./friend';export*from'./group';function _0x2300(_0x61fc75,_0x270b98){var _0x2af665=_0x2af6();return _0x2300=function(_0x23003f,_0x58b5cd){_0x23003f=_0x23003f-0x1ee;var _0x4a1aba=_0x2af665[_0x23003f];return _0x4a1aba;},_0x2300(_0x61fc75,_0x270b98);}export*from'./msg';function _0x2af6(){var _0x72c704=['1569078OdTSvt','4397106ERwLDY','1027484YRNaCn','3354001iHvXSW','2594163xCPcSG','52278uDIsGZ','10918384tmeXKx','15hcdipO'];_0x2af6=function(){return _0x72c704;};return _0x2af6();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x21e3b7,_0x2ec31e){var _0x276643=_0x1990,_0x5c819e=_0x21e3b7();while(!![]){try{var _0x56aa51=-parseInt(_0x276643(0x166))/0x1*(parseInt(_0x276643(0x16c))/0x2)+parseInt(_0x276643(0x16a))/0x3*(-parseInt(_0x276643(0x169))/0x4)+-parseInt(_0x276643(0x167))/0x5+parseInt(_0x276643(0x16d))/0x6*(parseInt(_0x276643(0x165))/0x7)+parseInt(_0x276643(0x16f))/0x8*(parseInt(_0x276643(0x164))/0x9)+-parseInt(_0x276643(0x16b))/0xa+-parseInt(_0x276643(0x168))/0xb*(-parseInt(_0x276643(0x16e))/0xc);if(_0x56aa51===_0x2ec31e)break;else _0x5c819e['push'](_0x5c819e['shift']());}catch(_0x127cf6){_0x5c819e['push'](_0x5c819e['shift']());}}}(_0x4273,0x607e2));export*from'./file';function _0x4273(){var _0x493c6a=['833348AXIaFq','6CgFMIa','3908840lqWEbw','2YDUmZD','4418514BMhJOA','8004ngswFu','1552XikMFh','6894WnJjkf','7cRwjXc','226591CoTGug','1286870BjemGk','13222XfIlKs'];_0x4273=function(){return _0x493c6a;};return _0x4273();}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x1990(_0x29987b,_0x12a6a5){var _0x4273d5=_0x4273();return _0x1990=function(_0x19905c,_0x582e2a){_0x19905c=_0x19905c-0x164;var _0x3ca440=_0x4273d5[_0x19905c];return _0x3ca440;},_0x1990(_0x29987b,_0x12a6a5);}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 92f3b5f7..a2f735c2 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x904de2=_0x266b;(function(_0x5b6560,_0x43486b){const _0x29ebb3=_0x266b,_0x264a29=_0x5b6560();while(!![]){try{const _0x53d40b=parseInt(_0x29ebb3(0x1b3))/0x1+-parseInt(_0x29ebb3(0x1cd))/0x2+parseInt(_0x29ebb3(0x1da))/0x3+-parseInt(_0x29ebb3(0x1bf))/0x4*(-parseInt(_0x29ebb3(0x1bc))/0x5)+parseInt(_0x29ebb3(0x1d5))/0x6*(-parseInt(_0x29ebb3(0x1b7))/0x7)+parseInt(_0x29ebb3(0x1c9))/0x8*(parseInt(_0x29ebb3(0x1b1))/0x9)+-parseInt(_0x29ebb3(0x1d6))/0xa;if(_0x53d40b===_0x43486b)break;else _0x264a29['push'](_0x264a29['shift']());}catch(_0x33b07f){_0x264a29['push'](_0x264a29['shift']());}}}(_0x4b8a,0x5417c));import{selfInfo}from'@/core/data';function _0x266b(_0x2647ca,_0x3d9371){const _0x4b8a11=_0x4b8a();return _0x266b=function(_0x266b74,_0x35afac){_0x266b74=_0x266b74-0x19a;let _0x5dd983=_0x4b8a11[_0x266b74];return _0x5dd983;},_0x266b(_0x2647ca,_0x3d9371);}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x4b8a(){const _0x167473=['forwardMsg','onGroupFileInfoUpdate','146776VWZmAh','VORuw','sendStatus','hrtAf','getMsgsIncludeSelf','762585iXnfDj','recallMsg','ULjXl','8dvstJX','uid','com.tencent.multimsg','CwecE','addListener','getGroupFileList','naCJr','catch','chatType','toString','3847656zIzySn','peerUid','aLPqS','getMsgService','967934ZvmSxv','TDKEq','length','item','multiForwardMsg','sendMsg','KsFod','arkElement','12xaeOkI','10823920SkZCDP','onAddSendMsg','then','delete','1517889ykSSOZ','ZhzoO','siFSF','gWjHj','activateChatAndGetHistory','setEmojiLike','dDCIZ','set','getMsgHistory','senderUid','获取群文件列表超时','kSULh','getMultiMsg','msgId','发送超时','GJidt','转发消息超时','bytesData','lOkxL','nick','JnFFV','map','izJtl','getMsgsBySeqAndCount','setMsgEmojiLikes','find','getMsgsByMsgId','forEach','kkjsC','session','setMsgRead','elements','FBTeq','onMsgInfoListUpdate','9VREshr','YLrMQ','660785ocUhpW','JDtDC'];_0x4b8a=function(){return _0x167473;};return _0x4b8a();}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x904de2(0x1b6)]=_0x374332=>{const _0x65e035=_0x904de2,_0x3c447f={'CwecE':function(_0x54c10e,_0x45b625){return _0x54c10e(_0x45b625);}};for(const [_0x2f5abb,_0x47872b]of GroupFileInfoUpdateTasks){_0x3c447f[_0x65e035(0x1c2)](_0x47872b,_0x374332),GroupFileInfoUpdateTasks[_0x65e035(0x1d9)](_0x2f5abb);}},msgListener[_0x904de2(0x1d7)]=_0x1eed1d=>{const _0x584a6d=_0x904de2,_0x2a38e0={'GgoIm':function(_0x4752e3,_0x16090e){return _0x4752e3(_0x16090e);},'kSULh':function(_0x745ef8,_0x37febc){return _0x745ef8 instanceof _0x37febc;}};for(const [_0x2235a9,_0x1e043a]of sentMsgTasks){_0x2a38e0['GgoIm'](_0x1e043a,_0x1eed1d),sentMsgTasks[_0x584a6d(0x1d9)](_0x2235a9);}if(sendMessagePool[_0x1eed1d[_0x584a6d(0x1ca)]]){const _0x570b41=sendMessagePool[_0x1eed1d[_0x584a6d(0x1ca)]]?.(_0x1eed1d);_0x2a38e0[_0x584a6d(0x19a)](_0x570b41,Promise)&&_0x570b41[_0x584a6d(0x1d8)]()[_0x584a6d(0x1c6)](logError);}},msgListener[_0x904de2(0x1b0)]=_0x19f6fc=>{const _0x30ef21=_0x904de2,_0x4dff27={'naCJr':function(_0x27be07,_0x502ce7){return _0x27be07 instanceof _0x502ce7;},'FBTeq':function(_0x3fb7ab,_0x367a33){return _0x3fb7ab(_0x367a33);}};_0x19f6fc[_0x30ef21(0x1aa)](_0x371f27=>{const _0xa765e=_0x30ef21;new Promise((_0x445fc4,_0x1c1692)=>{const _0x3c5e55=_0x266b;for(const _0x432cd8 in sendSuccessCBMap){const _0x1d812d=sendSuccessCBMap[_0x432cd8],_0x40b406=_0x1d812d(_0x371f27),_0xdcb721=_0x3f6781=>{_0x3f6781&&delete sendSuccessCBMap[_0x432cd8];};_0x4dff27[_0x3c5e55(0x1c5)](_0x40b406,Promise)?_0x40b406[_0x3c5e55(0x1d8)](_0xdcb721):_0x4dff27[_0x3c5e55(0x1af)](_0xdcb721,_0x40b406);}})[_0xa765e(0x1d8)]()[_0xa765e(0x1c6)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x38eb80=_0x266b;napCatCore[_0x38eb80(0x1c3)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x904de2(0x1df)](_0x3dc4a9,_0x526d97,_0x4e96ab,_0x4eec25=!![]){const _0x16354b=_0x904de2,_0xab2c3a={'JDtDC':function(_0x3b755d,_0x5d16f8){return _0x3b755d>_0x5d16f8;}};return _0x4e96ab=_0x4e96ab[_0x16354b(0x1c8)](),napCatCore[_0x16354b(0x1ac)][_0x16354b(0x1cc)]()[_0x16354b(0x1a7)](_0x3dc4a9,_0x526d97,_0x4e96ab,_0xab2c3a[_0x16354b(0x1b4)](_0x4e96ab[_0x16354b(0x1cf)],0x3)?'2':'1',_0x4eec25);}static async[_0x904de2(0x19b)](_0x20bc7f,_0x3a5ba7,_0x450f45){const _0x1c77cb=_0x904de2;return napCatCore[_0x1c77cb(0x1ac)]['getMsgService']()[_0x1c77cb(0x19b)](_0x20bc7f,_0x3a5ba7,_0x450f45);}static async[_0x904de2(0x1a9)](_0x45a095,_0x432043){const _0xd7d38a=_0x904de2;return await napCatCore[_0xd7d38a(0x1ac)][_0xd7d38a(0x1cc)]()[_0xd7d38a(0x1a9)](_0x45a095,_0x432043);}static async[_0x904de2(0x1a6)](_0x2d62c6,_0x18619a,_0x2af844,_0x3dd4c0,_0x1d717a){const _0x4df933=_0x904de2;return await napCatCore[_0x4df933(0x1ac)]['getMsgService']()[_0x4df933(0x1a6)](_0x2d62c6,_0x18619a,_0x2af844,_0x3dd4c0,_0x1d717a);}static async['activateChat'](_0x3d9146){}static async[_0x904de2(0x1de)](_0x5156b7){}static async[_0x904de2(0x1ad)](_0x2dd594){const _0x34cfd7=_0x904de2;return napCatCore[_0x34cfd7(0x1ac)]['getMsgService']()[_0x34cfd7(0x1ad)](_0x2dd594);}static async[_0x904de2(0x1c4)](_0x588ddc,_0x5ed4fb){const _0x4d7c34=_0x904de2,_0x1b386e={'BTmbc':function(_0x2ce345,_0x348a89){return _0x2ce345(_0x348a89);},'kkjsC':_0x4d7c34(0x1e4),'KsFod':function(_0x441e7d,_0x567a90){return _0x441e7d(_0x567a90);},'GJidt':function(_0x50809){return _0x50809();}};return new Promise(async(_0x11d45b,_0x9ca292)=>{const _0x2bda4d=_0x4d7c34;let _0x19e7f8=![];setTimeout(()=>{const _0x4f0243=_0x266b;!_0x19e7f8&&_0x1b386e['BTmbc'](_0x9ca292,_0x1b386e[_0x4f0243(0x1ab)]);},0x1388);const _0x16d8cd=_0x4713ca=>{const _0x17e5af=_0x266b;_0x19e7f8=!![],_0x1b386e[_0x17e5af(0x1d3)](_0x11d45b,_0x4713ca[_0x17e5af(0x1d0)]);};GroupFileInfoUpdateTasks[_0x2bda4d(0x1e1)](_0x1b386e[_0x2bda4d(0x19e)](randomUUID),_0x16d8cd),await napCatCore[_0x2bda4d(0x1ac)]['getRichMediaService']()[_0x2bda4d(0x1c4)](_0x588ddc,_0x5ed4fb);});}static async[_0x904de2(0x1e2)](_0x4cf360,_0x9093e4,_0x146aef){const _0x2462fb=_0x904de2;return napCatCore[_0x2462fb(0x1ac)][_0x2462fb(0x1cc)]()[_0x2462fb(0x1bb)](_0x4cf360,_0x9093e4,_0x146aef,!![]);}static async['fetchRecentContact'](){}static async[_0x904de2(0x1bd)](_0x45b3f5,_0x408949){const _0x3726bb=_0x904de2;await napCatCore[_0x3726bb(0x1ac)]['getMsgService']()[_0x3726bb(0x1bd)]({'chatType':_0x45b3f5[_0x3726bb(0x1c7)],'peerUid':_0x45b3f5['peerUid']},_0x408949);}static async[_0x904de2(0x1d2)](_0x4ade0b,_0x41dc81,_0x24c2cc=!![],_0x15cf76=0x2710){const _0x3a8502=_0x904de2,_0x2d2c09={'gWjHj':_0x3a8502(0x19d),'VORuw':function(_0x27e9b6,_0x354df0){return _0x27e9b6(_0x354df0);},'hrtAf':function(_0x27f8db){return _0x27f8db();},'JnFFV':function(_0x39db4f,_0x1174ea){return _0x39db4f(_0x1174ea);},'izJtl':function(_0x2d2065,_0x157527,_0x30cf5e){return _0x2d2065(_0x157527,_0x30cf5e);}},_0x35ead9=_0x4ade0b[_0x3a8502(0x1ca)];let _0x102a7c=0x0;const _0x5ba3ec=async()=>{const _0x5df7a9=_0x3a8502;if(_0x102a7c>_0x15cf76)throw _0x2d2c09[_0x5df7a9(0x1dd)];const _0x5d8e24=sendMessagePool[_0x4ade0b[_0x5df7a9(0x1ca)]];if(_0x5d8e24)return await _0x2d2c09[_0x5df7a9(0x1b8)](sleep,0x1f4),_0x102a7c+=0x1f4,await _0x2d2c09[_0x5df7a9(0x1ba)](_0x5ba3ec);else return;};return await _0x5ba3ec(),new Promise((_0x4dea62,_0xbd3db3)=>{const _0x155839=_0x3a8502,_0x59cf30={'fJOzD':function(_0x37aeb6,_0xa67978){const _0x47a840=_0x266b;return _0x2d2c09[_0x47a840(0x1a3)](_0x37aeb6,_0xa67978);},'TDKEq':_0x2d2c09[_0x155839(0x1dd)]};let _0x33c750=![],_0x2dd766=null;const _0x2bb5b0=_0x2d2c09[_0x155839(0x1ba)](randomUUID);sendSuccessCBMap[_0x2bb5b0]=_0x458631=>{const _0xf4ead5=_0x155839;if(_0x458631[_0xf4ead5(0x19c)]===_0x2dd766?.[_0xf4ead5(0x19c)]){if(_0x458631[_0xf4ead5(0x1b9)]===0x2)return delete sendSuccessCBMap[_0x2bb5b0],_0x33c750=!![],_0x59cf30['fJOzD'](_0x4dea62,_0x458631),!![];return![];}return![];},sendMessagePool[_0x35ead9]=async _0x204724=>{delete sendMessagePool[_0x35ead9],_0x2dd766=_0x204724;},_0x2d2c09[_0x155839(0x1a5)](setTimeout,()=>{const _0xdfb8bc=_0x155839;if(_0x33c750)return;delete sendMessagePool[_0x35ead9],delete sendSuccessCBMap[_0x2bb5b0],_0xbd3db3(_0x59cf30[_0xdfb8bc(0x1ce)]);},_0x15cf76);const _0x2a9f3f=napCatCore[_0x155839(0x1ac)][_0x155839(0x1cc)]()['sendMsg']('0',_0x4ade0b,_0x41dc81,new Map());});}static async[_0x904de2(0x1b5)](_0x25cd06,_0x1bd172,_0x7c2d7a){const _0x347ac7=_0x904de2;return napCatCore[_0x347ac7(0x1ac)][_0x347ac7(0x1cc)]()[_0x347ac7(0x1b5)](_0x7c2d7a,_0x25cd06,[_0x1bd172],new Map());}static async[_0x904de2(0x1d1)](_0x13885e,_0x2ff246,_0x105072){const _0x1b12c8=_0x904de2,_0x57d884={'lOkxL':function(_0x38e747,_0x502200){return _0x38e747!=_0x502200;},'ZhzoO':_0x1b12c8(0x1c1),'aLPqS':function(_0x41e5cf,_0x234bae){return _0x41e5cf==_0x234bae;},'ULjXl':function(_0x140ecc,_0x573cc9){return _0x140ecc(_0x573cc9);},'KxJaR':function(_0x4ac994,_0x5d92be){return _0x4ac994(_0x5d92be);},'siFSF':_0x1b12c8(0x19f),'MuMmx':function(_0x3cb02e){return _0x3cb02e();}},_0x2c399d=_0x105072[_0x1b12c8(0x1a4)](_0x27f700=>{const _0x276bcc=_0x1b12c8;return{'msgId':_0x27f700,'senderShowName':selfInfo[_0x276bcc(0x1a2)]};});return new Promise((_0x59f8ca,_0x310d09)=>{const _0x3cf800=_0x1b12c8,_0x3b67b7={'dDCIZ':function(_0x2633f4,_0xd7bd54){return _0x57d884['KxJaR'](_0x2633f4,_0xd7bd54);},'YLrMQ':_0x57d884[_0x3cf800(0x1dc)]};let _0xc864e9=![];const _0x176af1=_0x12639f=>{const _0x282eb4=_0x3cf800,_0x3292f3=_0x12639f[_0x282eb4(0x1ae)][_0x282eb4(0x1a8)](_0x54d329=>_0x54d329[_0x282eb4(0x1d4)]);if(!_0x3292f3)return;const _0x45235d=JSON['parse'](_0x3292f3['arkElement'][_0x282eb4(0x1a0)]);if(_0x57d884[_0x282eb4(0x1a1)](_0x45235d['app'],_0x57d884[_0x282eb4(0x1db)]))return;_0x57d884[_0x282eb4(0x1cb)](_0x12639f[_0x282eb4(0x1ca)],_0x2ff246[_0x282eb4(0x1ca)])&&_0x12639f[_0x282eb4(0x1e3)]==selfInfo[_0x282eb4(0x1c0)]&&(_0xc864e9=!![],_0x57d884[_0x282eb4(0x1be)](_0x59f8ca,_0x12639f));};sentMsgTasks[_0x3cf800(0x1e1)](_0x57d884['MuMmx'](randomUUID),_0x176af1),setTimeout(()=>{const _0x537395=_0x3cf800;!_0xc864e9&&_0x3b67b7[_0x537395(0x1e0)](_0x310d09,_0x3b67b7[_0x537395(0x1b2)]);},0x1388),napCatCore[_0x3cf800(0x1ac)][_0x3cf800(0x1cc)]()['multiForwardMsgWithComment'](_0x2c399d,_0x13885e,_0x2ff246,[],new Map());});}} \ No newline at end of file +const _0x2a3aa6=_0x5ee4;(function(_0x2f04b4,_0x6c71e){const _0x15a4d8=_0x5ee4,_0x82e6ef=_0x2f04b4();while(!![]){try{const _0x2e7592=parseInt(_0x15a4d8(0x20b))/0x1+parseInt(_0x15a4d8(0x215))/0x2+parseInt(_0x15a4d8(0x1ff))/0x3+parseInt(_0x15a4d8(0x209))/0x4*(parseInt(_0x15a4d8(0x20f))/0x5)+-parseInt(_0x15a4d8(0x1f9))/0x6+-parseInt(_0x15a4d8(0x20a))/0x7+-parseInt(_0x15a4d8(0x1e8))/0x8;if(_0x2e7592===_0x6c71e)break;else _0x82e6ef['push'](_0x82e6ef['shift']());}catch(_0x363f0d){_0x82e6ef['push'](_0x82e6ef['shift']());}}}(_0x309d,0xd1670));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 _0x5ee4(_0x1228ae,_0x246ff4){const _0x309df9=_0x309d();return _0x5ee4=function(_0x5ee4f0,_0x100e36){_0x5ee4f0=_0x5ee4f0-0x1de;let _0x1a8145=_0x309df9[_0x5ee4f0];return _0x1a8145;},_0x5ee4(_0x1228ae,_0x246ff4);}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x2a3aa6(0x216)]=_0x14a9f1=>{const _0x5ed36c=_0x2a3aa6,_0x3f432a={'GaIVA':function(_0x450c72,_0x188f28){return _0x450c72(_0x188f28);}};for(const [_0x13652f,_0x45ec62]of GroupFileInfoUpdateTasks){_0x3f432a[_0x5ed36c(0x229)](_0x45ec62,_0x14a9f1),GroupFileInfoUpdateTasks[_0x5ed36c(0x224)](_0x13652f);}},msgListener[_0x2a3aa6(0x1e9)]=_0x407238=>{const _0x32bd5b=_0x2a3aa6,_0x26043={'LCBrj':function(_0x574802,_0x479cbb){return _0x574802(_0x479cbb);},'SOoIi':function(_0x34faa4,_0x313bb8){return _0x34faa4 instanceof _0x313bb8;}};for(const [_0x4ca324,_0x5790d2]of sentMsgTasks){_0x26043[_0x32bd5b(0x21e)](_0x5790d2,_0x407238),sentMsgTasks[_0x32bd5b(0x224)](_0x4ca324);}if(sendMessagePool[_0x407238[_0x32bd5b(0x1df)]]){const _0xc5909a=sendMessagePool[_0x407238[_0x32bd5b(0x1df)]]?.(_0x407238);_0x26043[_0x32bd5b(0x1fa)](_0xc5909a,Promise)&&_0xc5909a['then']()['catch'](logError);}},msgListener['onMsgInfoListUpdate']=_0x1afe3a=>{const _0x3529c9=_0x2a3aa6,_0x4f1b1f={'FwhrO':function(_0x366c19,_0x596721){return _0x366c19(_0x596721);}};_0x1afe3a[_0x3529c9(0x1f3)](_0x462790=>{const _0x4c4dfe=_0x3529c9,_0x4cd476={'geVYh':function(_0xbe18d3,_0x58956f){return _0xbe18d3(_0x58956f);},'gwfhQ':function(_0x1dbe2d,_0x5afb9b){const _0x186d3f=_0x5ee4;return _0x4f1b1f[_0x186d3f(0x1e1)](_0x1dbe2d,_0x5afb9b);}};new Promise((_0x5952c2,_0x38bf45)=>{const _0xdcaa19=_0x5ee4;for(const _0x3004f4 in sendSuccessCBMap){const _0x3f3bfe=sendSuccessCBMap[_0x3004f4],_0x20fc75=_0x4cd476[_0xdcaa19(0x1f1)](_0x3f3bfe,_0x462790),_0x443f99=_0x53b1a2=>{_0x53b1a2&&delete sendSuccessCBMap[_0x3004f4];};_0x20fc75 instanceof Promise?_0x20fc75[_0xdcaa19(0x1e4)](_0x443f99):_0x4cd476[_0xdcaa19(0x1e7)](_0x443f99,_0x20fc75);}})[_0x4c4dfe(0x1e4)]()[_0x4c4dfe(0x220)](log);});},setTimeout(()=>{const _0x3bfdad=_0x2a3aa6;napCatCore[_0x3bfdad(0x1e0)](()=>{const _0x536350=_0x3bfdad;napCatCore[_0x536350(0x228)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x2a3aa6(0x1f5)](_0x116339,_0x135831,_0x2ec76a,_0x53ee56=!![]){const _0x191682=_0x2a3aa6,_0x5a46a4={'fKHUd':function(_0x4ab1a4,_0x2bc84e){return _0x4ab1a4>_0x2bc84e;}};return _0x2ec76a=_0x2ec76a[_0x191682(0x1fd)](),napCatCore[_0x191682(0x1f0)]['getMsgService']()[_0x191682(0x1fe)](_0x116339,_0x135831,_0x2ec76a,_0x5a46a4[_0x191682(0x1eb)](_0x2ec76a[_0x191682(0x202)],0x3)?'2':'1',_0x53ee56);}static async[_0x2a3aa6(0x21a)](_0x249bfe,_0x1ec0d6,_0xc1a562){const _0x5ee498=_0x2a3aa6;return napCatCore[_0x5ee498(0x1f0)][_0x5ee498(0x226)]()[_0x5ee498(0x21a)](_0x249bfe,_0x1ec0d6,_0xc1a562);}static async[_0x2a3aa6(0x1ea)](_0x562dc5,_0x52ada2){const _0x4f6041=_0x2a3aa6;return await napCatCore[_0x4f6041(0x1f0)][_0x4f6041(0x226)]()[_0x4f6041(0x1ea)](_0x562dc5,_0x52ada2);}static async[_0x2a3aa6(0x223)](_0x3a9238,_0x30bd3f,_0x195bec,_0xb9a430,_0x532870){const _0x2b987b=_0x2a3aa6;return await napCatCore['session'][_0x2b987b(0x226)]()[_0x2b987b(0x223)](_0x3a9238,_0x30bd3f,_0x195bec,_0xb9a430,_0x532870);}static async[_0x2a3aa6(0x1f6)](_0x136096){}static async[_0x2a3aa6(0x21f)](_0x4ddb20){}static async[_0x2a3aa6(0x206)](_0x4fb16e){const _0x57c89b=_0x2a3aa6;return napCatCore[_0x57c89b(0x1f0)][_0x57c89b(0x226)]()[_0x57c89b(0x206)](_0x4fb16e);}static async[_0x2a3aa6(0x213)](_0x3492ba,_0x58317c){const _0x41adb8=_0x2a3aa6,_0xeb793e={'UDiQR':function(_0x4796bd,_0x5ef173){return _0x4796bd(_0x5ef173);},'bgQBb':_0x41adb8(0x221)};return new Promise(async(_0x36e2d5,_0x99ff4f)=>{const _0x1a7f0d=_0x41adb8;let _0x512e71=![];setTimeout(()=>{const _0x4b9345=_0x5ee4;!_0x512e71&&_0xeb793e[_0x4b9345(0x1ee)](_0x99ff4f,_0xeb793e[_0x4b9345(0x222)]);},0x1388);const _0x57f358=_0x2a8010=>{const _0x5d7a95=_0x5ee4;_0x512e71=!![],_0xeb793e[_0x5d7a95(0x1ee)](_0x36e2d5,_0x2a8010[_0x5d7a95(0x1ef)]);};GroupFileInfoUpdateTasks[_0x1a7f0d(0x21b)](randomUUID(),_0x57f358),await napCatCore[_0x1a7f0d(0x1f0)][_0x1a7f0d(0x219)]()[_0x1a7f0d(0x213)](_0x3492ba,_0x58317c);});}static async['getMsgHistory'](_0x353f3c,_0x13f1fa,_0x289d27){const _0x217f0e=_0x2a3aa6;return napCatCore['session']['getMsgService']()[_0x217f0e(0x20e)](_0x353f3c,_0x13f1fa,_0x289d27,!![]);}static async[_0x2a3aa6(0x218)](){}static async[_0x2a3aa6(0x1ec)](_0x46fca2,_0x31776f){const _0x549f7d=_0x2a3aa6;await napCatCore[_0x549f7d(0x1f0)][_0x549f7d(0x226)]()['recallMsg']({'chatType':_0x46fca2[_0x549f7d(0x205)],'peerUid':_0x46fca2[_0x549f7d(0x1df)]},_0x31776f);}static async[_0x2a3aa6(0x217)](_0x7f8373,_0x3901cd,_0x33c6e2=!![],_0xd6fd90=0x2710){const _0x3f30d5=_0x2a3aa6,_0x56c56f={'JbcqQ':function(_0x132824,_0x322ef7){return _0x132824>_0x322ef7;},'TZcse':function(_0x583ad9,_0x296b3a){return _0x583ad9(_0x296b3a);},'Jdect':function(_0x32196d){return _0x32196d();},'IHTxz':'发送超时','XXytC':function(_0xc3995d,_0x5acaef){return _0xc3995d===_0x5acaef;},'AAptD':function(_0x515617,_0x2588b1){return _0x515617(_0x2588b1);},'zfVri':function(_0x264ada,_0x3e57c0,_0x47c0ad){return _0x264ada(_0x3e57c0,_0x47c0ad);}},_0x5b40dc=_0x7f8373[_0x3f30d5(0x1df)];let _0xa12d6c=0x0;const _0x3dea70=async()=>{const _0x2b3402=_0x3f30d5;if(_0x56c56f[_0x2b3402(0x1f2)](_0xa12d6c,_0xd6fd90))throw _0x2b3402(0x1e3);const _0x1840e6=sendMessagePool[_0x7f8373[_0x2b3402(0x1df)]];if(_0x1840e6)return await _0x56c56f[_0x2b3402(0x21d)](sleep,0x1f4),_0xa12d6c+=0x1f4,await _0x56c56f['Jdect'](_0x3dea70);else return;};return await _0x56c56f['Jdect'](_0x3dea70),new Promise((_0x336a8c,_0x4ec657)=>{const _0xd16576=_0x3f30d5,_0x503778={'rVoHR':function(_0x5dac0e,_0x2f44cd){const _0x3589be=_0x5ee4;return _0x56c56f[_0x3589be(0x1de)](_0x5dac0e,_0x2f44cd);},'uslzR':function(_0xa4034,_0x81c079){return _0x56c56f['AAptD'](_0xa4034,_0x81c079);}};let _0x31f17c=![],_0x5234ca=null;const _0x184753=_0x56c56f[_0xd16576(0x21c)](randomUUID);sendSuccessCBMap[_0x184753]=_0x369f3b=>{const _0x10177b=_0xd16576;if(_0x503778[_0x10177b(0x1e2)](_0x369f3b[_0x10177b(0x1ed)],_0x5234ca?.['msgId'])){if(_0x369f3b[_0x10177b(0x208)]===0x2)return delete sendSuccessCBMap[_0x184753],_0x31f17c=!![],_0x503778['uslzR'](_0x336a8c,_0x369f3b),!![];return![];}return![];},sendMessagePool[_0x5b40dc]=async _0x4eb8cd=>{delete sendMessagePool[_0x5b40dc],_0x5234ca=_0x4eb8cd;},_0x56c56f[_0xd16576(0x201)](setTimeout,()=>{const _0x58bec0=_0xd16576;if(_0x31f17c)return;delete sendMessagePool[_0x5b40dc],delete sendSuccessCBMap[_0x184753],_0x4ec657(_0x56c56f[_0x58bec0(0x1f4)]);},_0xd6fd90);const _0x288e29=napCatCore[_0xd16576(0x1f0)][_0xd16576(0x226)]()['sendMsg']('0',_0x7f8373,_0x3901cd,new Map());});}static async[_0x2a3aa6(0x1fc)](_0xec06c4,_0x267e1f,_0x30e7c1){const _0x146f43=_0x2a3aa6;return napCatCore['session'][_0x146f43(0x226)]()[_0x146f43(0x1fc)](_0x30e7c1,_0xec06c4,[_0x267e1f],new Map());}static async[_0x2a3aa6(0x207)](_0x532110,_0x599b76,_0x301886){const _0x1ba329=_0x2a3aa6,_0xddbb0b={'Kefga':function(_0xe8afe3,_0x237a9d){return _0xe8afe3(_0x237a9d);},'RCrFg':'转发消息超时','rAIlZ':function(_0x28910f,_0x5bc85a){return _0x28910f(_0x5bc85a);},'AIKpm':function(_0x4b7e26){return _0x4b7e26();},'TFcls':function(_0x15978f,_0x3de7ad,_0x3c33d3){return _0x15978f(_0x3de7ad,_0x3c33d3);}},_0x3a7861=_0x301886[_0x1ba329(0x212)](_0x24dca2=>{const _0x1a3dec=_0x1ba329;return{'msgId':_0x24dca2,'senderShowName':selfInfo[_0x1a3dec(0x225)]};});return new Promise((_0x51e3b6,_0x23626a)=>{const _0x27870a=_0x1ba329,_0x9e16bc={'DvZUE':function(_0x241016,_0x4ed868){const _0x21774a=_0x5ee4;return _0xddbb0b[_0x21774a(0x211)](_0x241016,_0x4ed868);}};let _0x141cdd=![];const _0x33d081=_0x31d656=>{const _0x52d577=_0x5ee4,_0x3de105=_0x31d656[_0x52d577(0x1e6)][_0x52d577(0x214)](_0x387da6=>_0x387da6[_0x52d577(0x210)]);if(!_0x3de105)return;const _0x39c9c0=JSON[_0x52d577(0x1f8)](_0x3de105[_0x52d577(0x210)][_0x52d577(0x204)]);if(_0x39c9c0[_0x52d577(0x1f7)]!='com.tencent.multimsg')return;_0x31d656['peerUid']==_0x599b76[_0x52d577(0x1df)]&&_0x31d656[_0x52d577(0x1e5)]==selfInfo[_0x52d577(0x200)]&&(_0x141cdd=!![],_0x9e16bc[_0x52d577(0x20c)](_0x51e3b6,_0x31d656));};sentMsgTasks[_0x27870a(0x21b)](_0xddbb0b[_0x27870a(0x203)](randomUUID),_0x33d081),_0xddbb0b[_0x27870a(0x227)](setTimeout,()=>{const _0x3aaf70=_0x27870a;!_0x141cdd&&_0xddbb0b[_0x3aaf70(0x1fb)](_0x23626a,_0xddbb0b['RCrFg']);},0x1388),napCatCore[_0x27870a(0x1f0)]['getMsgService']()[_0x27870a(0x20d)](_0x3a7861,_0x532110,_0x599b76,[],new Map());});}}function _0x309d(){const _0x42d919=['sendMsg','fetchRecentContact','getRichMediaService','getMultiMsg','set','Jdect','TZcse','LCBrj','activateChatAndGetHistory','catch','获取群文件列表超时','bgQBb','getMsgsBySeqAndCount','delete','nick','getMsgService','TFcls','addListener','GaIVA','XXytC','peerUid','onLoginSuccess','FwhrO','rVoHR','发送超时','then','senderUid','elements','gwfhQ','4797536POSQjw','onAddSendMsg','getMsgsByMsgId','fKHUd','recallMsg','msgId','UDiQR','item','session','geVYh','JbcqQ','forEach','IHTxz','setEmojiLike','activateChat','app','parse','6454398vMiutR','SOoIi','Kefga','forwardMsg','toString','setMsgEmojiLikes','855531MjUbXZ','uid','zfVri','length','AIKpm','bytesData','chatType','setMsgRead','multiForwardMsg','sendStatus','3076208gXtYiu','9878190IJsNRQ','539913suZUue','DvZUE','multiForwardMsgWithComment','getMsgsIncludeSelf','10cCmCtU','arkElement','rAIlZ','map','getGroupFileList','find','3162226jFLPvr','onGroupFileInfoUpdate'];_0x309d=function(){return _0x42d919;};return _0x309d();} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.d.ts b/src/core.lib/src/apis/sign.d.ts index c68af0f2..1334b507 100644 --- a/src/core.lib/src/apis/sign.d.ts +++ b/src/core.lib/src/apis/sign.d.ts @@ -21,3 +21,16 @@ export interface MiniAppLuaJsonType { sourcelogo: string; } export declare function SignMiniApp(CardData: MiniAppLuaJsonType): Promise; +export declare function SignMusicInternal(songname: string, singer: string, songmid: string, songmusic: string): Promise<{ + code: number; + data: { + signed_ark: string; + }; +}>; +export declare function CreateMusicThridWay0(id?: string, mid?: string): Promise<{ + mid: string; + name?: string | undefined; + singer?: string | undefined; + url?: string | undefined; + cover?: string | undefined; +}>; diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 722bf4e8..09f4c242 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0x477f(){const _0x4fcd67=['252rXePaN','\x5c/\x5c/','preview','56ktLkUY',';\x20skey=','uin','mOfMa','miniapp','tagIcon','signed_ark','com.tencent.miniapp.lua','ZBoiN','IQFae','YmvMo','41694EIzlfL','DRZpu','2686401aZDhFo',';\x20p_uin=o','source',';\x20uin=o','sourcelogo','title','jumpUrl','skey','49705OWAEfN','p_skey=','172755eiuaRG','stringify','spJKs','VeHYd','MiniApp\x20JSON\x20消息生成失败','tag','&ark=','data','nTMqz','jdXxJ','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','replace','581910JupUhW','p_skey','VmMcq','BgXhr','187320ekXpoA','WlBBZ','1002032xzkhYk'];_0x477f=function(){return _0x4fcd67;};return _0x477f();}(function(_0x2bc87a,_0x1e41aa){const _0x3c1ef9=_0x1ff0,_0x1bd9e0=_0x2bc87a();while(!![]){try{const _0x543351=-parseInt(_0x3c1ef9(0x141))/0x1+-parseInt(_0x3c1ef9(0x120))/0x2+-parseInt(_0x3c1ef9(0x135))/0x3*(parseInt(_0x3c1ef9(0x12a))/0x4)+parseInt(_0x3c1ef9(0x13f))/0x5*(parseInt(_0x3c1ef9(0x127))/0x6)+parseInt(_0x3c1ef9(0x124))/0x7+parseInt(_0x3c1ef9(0x126))/0x8+parseInt(_0x3c1ef9(0x137))/0x9;if(_0x543351===_0x1e41aa)break;else _0x1bd9e0['push'](_0x1bd9e0['shift']());}catch(_0x3d1967){_0x1bd9e0['push'](_0x1bd9e0['shift']());}}}(_0x477f,0x3334f));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x1ff0(_0x4bec11,_0x15bb3b){const _0x477f97=_0x477f();return _0x1ff0=function(_0x1ff038,_0x3fb424){_0x1ff038=_0x1ff038-0x11c;let _0x1ebeb7=_0x477f97[_0x1ff038];return _0x1ebeb7;},_0x1ff0(_0x4bec11,_0x15bb3b);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x586f25){const _0x4e86c2=_0x1ff0,_0x582a22={'DRZpu':_0x4e86c2(0x131),'BgXhr':'tianxuan.imgJumpArk','SebVs':_0x4e86c2(0x12e),'mOfMa':'normal','ZBoiN':_0x4e86c2(0x128),'nTMqz':function(_0x22cf76,_0x59fea2){return _0x22cf76+_0x59fea2;},'jdXxJ':_0x4e86c2(0x12b),'VmMcq':_0x4e86c2(0x138),'YmvMo':_0x4e86c2(0x13a),'spJKs':function(_0x1c44e0,_0x571053){return _0x1c44e0+_0x571053;},'WlBBZ':_0x4e86c2(0x11e),'IQFae':_0x4e86c2(0x147),'VeHYd':'GET','ZOcrU':function(_0x3307f0,_0x1f2a77,_0x393fea){return _0x3307f0(_0x1f2a77,_0x393fea);}};let _0xe7b77e={'app':_0x582a22[_0x4e86c2(0x136)],'bizsrc':_0x582a22[_0x4e86c2(0x123)],'view':_0x582a22['SebVs'],'prompt':_0x586f25['prompt'],'config':{'type':_0x582a22[_0x4e86c2(0x12d)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x586f25[_0x4e86c2(0x13c)],'preview':_0x586f25[_0x4e86c2(0x129)]['replace'](/\\/g,_0x582a22[_0x4e86c2(0x132)]),'jumpUrl':_0x586f25[_0x4e86c2(0x13d)][_0x4e86c2(0x11f)](/\\/g,_0x582a22['ZBoiN']),'tag':_0x586f25[_0x4e86c2(0x146)],'tagIcon':_0x586f25[_0x4e86c2(0x12f)][_0x4e86c2(0x11f)](/\\/g,_0x4e86c2(0x128)),'source':_0x586f25[_0x4e86c2(0x139)],'sourcelogo':_0x586f25[_0x4e86c2(0x13b)][_0x4e86c2(0x11f)](/\\/g,_0x582a22[_0x4e86c2(0x132)])}}},_0x5e465b=await NTQQUserApi['getQzoneCookies']();const _0x50918d=WebApi['genBkn'](_0x5e465b['p_skey']),_0x24098e=_0x582a22[_0x4e86c2(0x11c)](_0x582a22[_0x4e86c2(0x11c)](_0x582a22[_0x4e86c2(0x11c)](_0x582a22['nTMqz'](_0x582a22[_0x4e86c2(0x11c)](_0x4e86c2(0x140),_0x5e465b[_0x4e86c2(0x121)])+_0x582a22[_0x4e86c2(0x11d)],_0x5e465b[_0x4e86c2(0x13e)]),_0x582a22[_0x4e86c2(0x122)]),selfInfo[_0x4e86c2(0x12c)])+_0x582a22[_0x4e86c2(0x134)],selfInfo['uin']);let _0x4b16dd=_0x582a22[_0x4e86c2(0x143)](_0x582a22[_0x4e86c2(0x125)]+_0x50918d+_0x582a22[_0x4e86c2(0x133)],encodeURIComponent(JSON[_0x4e86c2(0x142)](_0xe7b77e))),_0xfc2b67='';try{let _0x7c28b0=await RequestUtil['HttpGetJson'](_0x4b16dd,_0x582a22[_0x4e86c2(0x144)],undefined,{'Cookie':_0x24098e});_0xfc2b67=_0x7c28b0[_0x4e86c2(0x148)][_0x4e86c2(0x130)];}catch(_0x2e2fdf){_0x582a22['ZOcrU'](logDebug,_0x4e86c2(0x145),_0x2e2fdf);}return _0xfc2b67;} \ No newline at end of file +function _0x2528(){const _0xc04d73=['2361498mRwMNW','0.0.0.1','ZtLqH','POST','uin','fufBC','JvDUA','&type=8','240ujjEuo','stringify','6691024FDkoXC','getQzoneCookies',';\x20uin=o','miniapp','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','sourcelogo','EcIiz','NFBVS','348908wuFnpP','preview','CwxlG','\x22},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','PqTFO','QQ音乐','2294524ycgsKA','https://i.y.qq.com/v8/playsong.html?songmid=','HttpGetJson','tagIcon','track_info','p_skey=','data','mQCrN','com.tencent.miniapp.lua','103118PyADVa','QKtsh','normal','72UrcXEs','Hnwdx','https://y.qq.com/music/photo_new/T002R800x800M000000MkMni19ClKG.jpg','songinfo','wOOiK','skey','YjAho','UQzUE','5EUaRef','9NeKYvD','application/json','genBkn','42561OkBCGQ','awKJU','cunLg','11746460GwsIhu','jumpUrl','icIwI','wHoIA','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','\x5c/\x5c/','wRzEE','XCsyC','GET','tag','music','skyot','YkDNr','PmfRL',';\x20skey=','CfkCh','prompt','source','replace','&type=0','MiniApp\x20JSON\x20消息生成失败','afhED','OYHaN','pIKvi','zncui','com.tencent.qqreader.share','PPWHT','GmsOk','uin=o10086','RtTzx'];_0x2528=function(){return _0xc04d73;};return _0x2528();}(function(_0x16a6a3,_0x1c7d86){const _0x1f2d57=_0x373a,_0x509322=_0x16a6a3();while(!![]){try{const _0x6f2447=parseInt(_0x1f2d57(0x1b5))/0x1*(parseInt(_0x1f2d57(0x1a9))/0x2)+parseInt(_0x1f2d57(0x188))/0x3+-parseInt(_0x1f2d57(0x1a0))/0x4*(parseInt(_0x1f2d57(0x1b4))/0x5)+parseInt(_0x1f2d57(0x1ac))/0x6*(-parseInt(_0x1f2d57(0x19a))/0x7)+-parseInt(_0x1f2d57(0x192))/0x8+-parseInt(_0x1f2d57(0x167))/0x9*(-parseInt(_0x1f2d57(0x190))/0xa)+parseInt(_0x1f2d57(0x16a))/0xb;if(_0x6f2447===_0x1c7d86)break;else _0x509322['push'](_0x509322['shift']());}catch(_0x202c73){_0x509322['push'](_0x509322['shift']());}}}(_0x2528,0x679e0));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x373a(_0x413195,_0x1a146c){const _0x252802=_0x2528();return _0x373a=function(_0x373a48,_0x5d3c44){_0x373a48=_0x373a48-0x167;let _0x57fe43=_0x252802[_0x373a48];return _0x57fe43;},_0x373a(_0x413195,_0x1a146c);}export async function SignMiniApp(_0x2cb6f9){const _0x5d1e3a=_0x373a,_0x539361={'YLgCJ':_0x5d1e3a(0x1a8),'PPWHT':'tianxuan.imgJumpArk','wHoIA':_0x5d1e3a(0x195),'CwxlG':_0x5d1e3a(0x1ab),'OYHaN':'\x5c/\x5c/','cunLg':function(_0x321d5b,_0x5e2bbe){return _0x321d5b+_0x5e2bbe;},'skyot':function(_0x3a8b55,_0x2500ef){return _0x3a8b55+_0x2500ef;},'NFBVS':function(_0x409e59,_0x3ec3f5){return _0x409e59+_0x3ec3f5;},'tREuH':';\x20p_uin=o','fufBC':_0x5d1e3a(0x194),'afhED':'&ark=','CfkCh':_0x5d1e3a(0x172),'EcIiz':_0x5d1e3a(0x17e)};let _0x457ffd={'app':_0x539361['YLgCJ'],'bizsrc':_0x539361[_0x5d1e3a(0x184)],'view':_0x539361[_0x5d1e3a(0x16d)],'prompt':_0x2cb6f9[_0x5d1e3a(0x17a)],'config':{'type':_0x539361[_0x5d1e3a(0x19c)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2cb6f9['title'],'preview':_0x2cb6f9[_0x5d1e3a(0x19b)][_0x5d1e3a(0x17c)](/\\/g,_0x5d1e3a(0x16f)),'jumpUrl':_0x2cb6f9[_0x5d1e3a(0x16b)][_0x5d1e3a(0x17c)](/\\/g,_0x539361[_0x5d1e3a(0x180)]),'tag':_0x2cb6f9[_0x5d1e3a(0x173)],'tagIcon':_0x2cb6f9[_0x5d1e3a(0x1a3)][_0x5d1e3a(0x17c)](/\\/g,_0x539361[_0x5d1e3a(0x180)]),'source':_0x2cb6f9[_0x5d1e3a(0x17b)],'sourcelogo':_0x2cb6f9[_0x5d1e3a(0x197)][_0x5d1e3a(0x17c)](/\\/g,_0x539361[_0x5d1e3a(0x180)])}}},_0x16a858=await NTQQUserApi[_0x5d1e3a(0x193)]();const _0x3cf45e=WebApi[_0x5d1e3a(0x1b7)](_0x16a858['p_skey']),_0x1d2f49=_0x539361['cunLg'](_0x539361[_0x5d1e3a(0x169)](_0x539361['cunLg'](_0x539361[_0x5d1e3a(0x175)](_0x539361['NFBVS'](_0x5d1e3a(0x1a5)+_0x16a858['p_skey'],_0x5d1e3a(0x178))+_0x16a858[_0x5d1e3a(0x1b1)],_0x539361['tREuH']),selfInfo[_0x5d1e3a(0x18c)]),_0x539361[_0x5d1e3a(0x18d)]),selfInfo[_0x5d1e3a(0x18c)]);let _0x3c245b=_0x539361[_0x5d1e3a(0x199)](_0x5d1e3a(0x16e),_0x3cf45e)+_0x539361[_0x5d1e3a(0x17f)]+encodeURIComponent(JSON[_0x5d1e3a(0x191)](_0x457ffd)),_0x285466='';try{let _0x17a825=await RequestUtil[_0x5d1e3a(0x1a2)](_0x3c245b,_0x539361[_0x5d1e3a(0x179)],undefined,{'Cookie':_0x1d2f49});_0x285466=_0x17a825['data']['signed_ark'];}catch(_0xd2dfb1){logDebug(_0x539361[_0x5d1e3a(0x198)],_0xd2dfb1);}return _0x285466;}export async function SignMusicInternal(_0x1a0589,_0x53dc93,_0x53e1da,_0x3cf81d){const _0x5a451e=_0x373a,_0xa8c6bd={'Hnwdx':'https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','icIwI':_0x5a451e(0x1ab),'JvDUA':function(_0x2639a7,_0x2f4352){return _0x2639a7+_0x2f4352;},'awKJU':_0x5a451e(0x1a1),'RtTzx':_0x5a451e(0x17d),'XCsyC':_0x5a451e(0x196),'YkDNr':_0x5a451e(0x19f),'zncui':function(_0x190a51,_0x431fc0){return _0x190a51+_0x431fc0;},'mQCrN':'[分享]','wRzEE':_0x5a451e(0x189),'QKtsh':_0x5a451e(0x18b),'FpCQb':_0x5a451e(0x186),'PqTFO':_0x5a451e(0x1b6)};let _0x334d66=_0xa8c6bd[_0x5a451e(0x1ad)],_0x2f97f1=_0x5a451e(0x1ae),_0x479502={'app':_0x5a451e(0x183),'config':{'ctime':0x6670467e,'forward':0x1,'token':'9a63343c32d5a16bcde653eb97faa25d','type':_0xa8c6bd[_0x5a451e(0x16c)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x53dc93,'jumpUrl':_0xa8c6bd[_0x5a451e(0x18e)](_0xa8c6bd[_0x5a451e(0x168)],_0x53e1da)+_0xa8c6bd[_0x5a451e(0x187)],'musicUrl':_0x3cf81d,'preview':_0x2f97f1,'cover':_0x2f97f1,'sourceMsgId':'0','source_icon':_0xa8c6bd[_0x5a451e(0x171)],'source_url':'','tag':_0xa8c6bd[_0x5a451e(0x176)],'title':_0x1a0589,'uin':0x2766}},'prompt':_0xa8c6bd[_0x5a451e(0x182)](_0xa8c6bd[_0x5a451e(0x1a7)],_0x1a0589),'ver':_0xa8c6bd[_0x5a451e(0x170)],'view':_0x5a451e(0x174)},_0x377795=await RequestUtil[_0x5a451e(0x1a2)](_0x334d66,_0xa8c6bd[_0x5a451e(0x1aa)],_0x479502,{'Cookie':_0xa8c6bd['FpCQb'],'Content-Type':_0xa8c6bd[_0x5a451e(0x19e)]});return _0x377795;}export async function CreateMusicThridWay0(_0x403d85='',_0x445190=''){const _0x15abeb=_0x373a,_0x53ae97={'ZtLqH':function(_0x22533c,_0x305a2f){return _0x22533c+_0x305a2f;},'wOOiK':'https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:\x22','GmsOk':_0x15abeb(0x19d),'YjAho':'GET','UQzUE':function(_0x4b30c3,_0x2eeaf7){return _0x4b30c3+_0x2eeaf7;},'PmfRL':'https://api.leafone.cn/api/qqmusic?id=','pIKvi':_0x15abeb(0x18f)};if(_0x445190==''){let _0x1ba588=await RequestUtil[_0x15abeb(0x1a2)](_0x53ae97[_0x15abeb(0x18a)](_0x53ae97[_0x15abeb(0x1b0)]+_0x403d85,_0x53ae97[_0x15abeb(0x185)]),_0x53ae97[_0x15abeb(0x1b2)],undefined);_0x445190=_0x1ba588[_0x15abeb(0x1af)]?.[_0x15abeb(0x1a6)]?.[_0x15abeb(0x1a4)]['mid'];}let _0x3c1851=await RequestUtil[_0x15abeb(0x1a2)](_0x53ae97[_0x15abeb(0x18a)](_0x53ae97[_0x15abeb(0x1b3)](_0x53ae97[_0x15abeb(0x177)],_0x445190),_0x53ae97[_0x15abeb(0x181)]),_0x53ae97['YjAho'],undefined);return{..._0x3c1851[_0x15abeb(0x1a6)],'mid':_0x445190};} \ 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 e71a837b..242f8204 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x490294=_0x2c5f;(function(_0x142313,_0xcc3203){const _0x56674a=_0x2c5f,_0x364e51=_0x142313();while(!![]){try{const _0xd2cfd2=parseInt(_0x56674a(0xbc))/0x1*(-parseInt(_0x56674a(0xb2))/0x2)+parseInt(_0x56674a(0xa5))/0x3*(parseInt(_0x56674a(0xb9))/0x4)+-parseInt(_0x56674a(0xac))/0x5+parseInt(_0x56674a(0xa9))/0x6*(-parseInt(_0x56674a(0xa1))/0x7)+-parseInt(_0x56674a(0xb8))/0x8+-parseInt(_0x56674a(0xb5))/0x9+parseInt(_0x56674a(0xa2))/0xa*(parseInt(_0x56674a(0xae))/0xb);if(_0xd2cfd2===_0xcc3203)break;else _0x364e51['push'](_0x364e51['shift']());}catch(_0x44a842){_0x364e51['push'](_0x364e51['shift']());}}}(_0xb42d,0x90580));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2c5f(_0x35f37e,_0xf18b67){const _0xb42d6=_0xb42d();return _0x2c5f=function(_0x2c5f59,_0x2a5bc9){_0x2c5f59=_0x2c5f59-0xa0;let _0x312b94=_0xb42d6[_0x2c5f59];return _0x312b94;},_0x2c5f(_0x35f37e,_0xf18b67);}import{napCatCore}from'@/core';function _0xb42d(){const _0xcf575e=['4741710SUOgRM','getRichMediaService','CallNoListenerEvent','249015vPcdBO','RPxzd','22mEwXSr','getMiniAppPath','ntmEW','NodeIKernelCollectionService/collectionArkShare','265544xODvRJ','setMiniAppVersion','BootMiniApp','8367507ypArdm','translateEnWordToZn','wantWinScreenOCR','3969048qjUrqj','16CNfmkV','2.16.4','getMsgService','5lJltCm','hasOtherRunningQQProcess','7LFTlxb','14967490vagxgu','util','getNodeMiscService','395652igMIQv','getOnlineDev','log','session'];_0xb42d=function(){return _0xcf575e;};return _0xb42d();}export class NTQQSystemApi{static async[_0x490294(0xa0)](){const _0x3f5bf0=_0x490294;return napCatCore[_0x3f5bf0(0xa3)][_0x3f5bf0(0xa0)]();}static async['ORCImage'](_0x2cce8f){const _0x1ad3ac=_0x490294;return napCatCore['session'][_0x1ad3ac(0xa4)]()[_0x1ad3ac(0xb7)](_0x2cce8f);}static async[_0x490294(0xb6)](_0x21ccb3){const _0x39cf4d=_0x490294;return napCatCore['session'][_0x39cf4d(0xaa)]()[_0x39cf4d(0xb6)](_0x21ccb3);}static async[_0x490294(0xa6)](){const _0x2ff995=_0x490294;return napCatCore[_0x2ff995(0xa8)][_0x2ff995(0xbb)]()['getOnLineDev']();}static async['getArkJsonCollection'](_0x2ef663){const _0x337d3a=_0x490294,_0x57d968={'ntmEW':_0x337d3a(0xb1)};let _0x12e489=await NTEventDispatch[_0x337d3a(0xab)](_0x57d968[_0x337d3a(0xb0)],0x1388,'1717662698058');return _0x12e489;}static async[_0x490294(0xb4)](_0x50b214,_0xf9603e){const _0x1067f4=_0x490294,_0x17ca94={'RPxzd':_0x1067f4(0xba)};await napCatCore[_0x1067f4(0xa8)]['getNodeMiscService']()[_0x1067f4(0xb3)](_0x17ca94[_0x1067f4(0xad)]);let _0x568609=await napCatCore['session']['getNodeMiscService']()[_0x1067f4(0xaf)]();return console[_0x1067f4(0xa7)](_0x568609),napCatCore[_0x1067f4(0xa8)][_0x1067f4(0xa4)]()['startNewMiniApp'](_0x50b214,_0xf9603e);}} \ No newline at end of file +function _0x10ec(){const _0x5b3803=['3654153oLrYvd','CallNoListenerEvent','1717662698058','translateEnWordToZn','6045910aOHyMN','13172TZhUHA','1005718GUCVwd','getMsgService','BootMiniApp','setMiniAppVersion','NodeIKernelCollectionService/collectionArkShare','57310GUpoNn','lKFyG','wantWinScreenOCR','log','2.16.4','getNodeMiscService','getRichMediaService','279480CandEH','12IyNVWy','util','1BgmIRF','402YggZgb','2608360nuFogJ','session','ZNuvI'];_0x10ec=function(){return _0x5b3803;};return _0x10ec();}const _0x371a22=_0x34b6;(function(_0x4ed3d7,_0x3ff865){const _0x50e883=_0x34b6,_0x1bfb87=_0x4ed3d7();while(!![]){try{const _0x425092=parseInt(_0x50e883(0x140))/0x1*(parseInt(_0x50e883(0x14a))/0x2)+parseInt(_0x50e883(0x13d))/0x3*(-parseInt(_0x50e883(0x13e))/0x4)+-parseInt(_0x50e883(0x150))/0x5*(-parseInt(_0x50e883(0x141))/0x6)+parseInt(_0x50e883(0x14b))/0x7+-parseInt(_0x50e883(0x142))/0x8+-parseInt(_0x50e883(0x145))/0x9+parseInt(_0x50e883(0x149))/0xa;if(_0x425092===_0x3ff865)break;else _0x1bfb87['push'](_0x1bfb87['shift']());}catch(_0x63feef){_0x1bfb87['push'](_0x1bfb87['shift']());}}}(_0x10ec,0x7cd1f));function _0x34b6(_0x38b50b,_0x3666e0){const _0x10ec9e=_0x10ec();return _0x34b6=function(_0x34b607,_0x27bc7f){_0x34b607=_0x34b607-0x13b;let _0x170d23=_0x10ec9e[_0x34b607];return _0x170d23;},_0x34b6(_0x38b50b,_0x3666e0);}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x6b5952=_0x34b6;return napCatCore[_0x6b5952(0x13f)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x325afa){const _0x57465f=_0x34b6;return napCatCore[_0x57465f(0x143)]['getNodeMiscService']()[_0x57465f(0x152)](_0x325afa);}static async[_0x371a22(0x148)](_0x1a9cad){const _0xed938a=_0x371a22;return napCatCore[_0xed938a(0x143)][_0xed938a(0x13c)]()[_0xed938a(0x148)](_0x1a9cad);}static async['getOnlineDev'](){const _0x16348=_0x371a22;return napCatCore[_0x16348(0x143)][_0x16348(0x14c)]()['getOnLineDev']();}static async['getArkJsonCollection'](_0x477710){const _0x310aca=_0x371a22,_0x5e7b3c={'ZNuvI':_0x310aca(0x14f),'lKFyG':_0x310aca(0x147)};let _0x350e34=await NTEventDispatch[_0x310aca(0x146)](_0x5e7b3c[_0x310aca(0x144)],0x1388,_0x5e7b3c[_0x310aca(0x151)]);return _0x350e34;}static async[_0x371a22(0x14d)](_0x1f3952,_0x160a64){const _0x14f163=_0x371a22,_0x38c172={'xQUib':_0x14f163(0x154)};await napCatCore['session'][_0x14f163(0x13b)]()[_0x14f163(0x14e)](_0x38c172['xQUib']);let _0x3a478b=await napCatCore[_0x14f163(0x143)][_0x14f163(0x13b)]()['getMiniAppPath']();return console[_0x14f163(0x153)](_0x3a478b),napCatCore[_0x14f163(0x143)][_0x14f163(0x13b)]()['startNewMiniApp'](_0x1f3952,_0x160a64);}} \ 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 eeaf9f5f..12ce8a1b 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x16554a=_0x2fb1;(function(_0x3933be,_0x5115ea){const _0x286676=_0x2fb1,_0x26d66d=_0x3933be();while(!![]){try{const _0x540bfa=parseInt(_0x286676(0x188))/0x1+parseInt(_0x286676(0x16d))/0x2*(-parseInt(_0x286676(0x1ba))/0x3)+-parseInt(_0x286676(0x1ad))/0x4*(parseInt(_0x286676(0x193))/0x5)+-parseInt(_0x286676(0x1af))/0x6*(parseInt(_0x286676(0x1b5))/0x7)+parseInt(_0x286676(0x1c1))/0x8*(-parseInt(_0x286676(0x190))/0x9)+parseInt(_0x286676(0x178))/0xa+parseInt(_0x286676(0x1c9))/0xb;if(_0x540bfa===_0x5115ea)break;else _0x26d66d['push'](_0x26d66d['shift']());}catch(_0x43d789){_0x26d66d['push'](_0x26d66d['shift']());}}}(_0x2b3e,0x28919));var __decorate=this&&this['__decorate']||function(_0xc205ce,_0x3de706,_0x209977,_0x5c3686){const _0x52aada=_0x2fb1,_0xb36caa={'zLeOM':function(_0x5b47ce,_0x535bbc){return _0x5b47ce<_0x535bbc;},'aLETj':function(_0x34e1b1,_0xd75436){return _0x34e1b1===_0xd75436;},'ZvdAu':function(_0x3842b4,_0x3bbd3e){return _0x3842b4===_0x3bbd3e;},'sTRZu':_0x52aada(0x176),'dnFLo':function(_0x1d4970,_0x14265a){return _0x1d4970-_0x14265a;},'KoeYz':function(_0x492111,_0xf99592){return _0x492111>=_0xf99592;},'bxiYs':function(_0x5c1708,_0xb52218,_0x4693c3,_0x5cd8db){return _0x5c1708(_0xb52218,_0x4693c3,_0x5cd8db);},'dDyEd':function(_0x44d8df,_0x5e7b40,_0x3d1877){return _0x44d8df(_0x5e7b40,_0x3d1877);},'UoZYz':function(_0x5c6d66,_0x5ae11c){return _0x5c6d66>_0x5ae11c;}};var _0x46a327=arguments[_0x52aada(0x183)],_0x94a5d1=_0xb36caa[_0x52aada(0x19c)](_0x46a327,0x3)?_0x3de706:_0xb36caa[_0x52aada(0x1a0)](_0x5c3686,null)?_0x5c3686=Object[_0x52aada(0x1a8)](_0x3de706,_0x209977):_0x5c3686,_0x2dd218;if(_0xb36caa[_0x52aada(0x180)](typeof Reflect,_0xb36caa[_0x52aada(0x17a)])&&_0xb36caa[_0x52aada(0x180)](typeof Reflect[_0x52aada(0x187)],_0x52aada(0x19a)))_0x94a5d1=Reflect[_0x52aada(0x187)](_0xc205ce,_0x3de706,_0x209977,_0x5c3686);else{for(var _0x49bb2d=_0xb36caa[_0x52aada(0x182)](_0xc205ce['length'],0x1);_0xb36caa[_0x52aada(0x18b)](_0x49bb2d,0x0);_0x49bb2d--)if(_0x2dd218=_0xc205ce[_0x49bb2d])_0x94a5d1=(_0xb36caa[_0x52aada(0x19c)](_0x46a327,0x3)?_0x2dd218(_0x94a5d1):_0x46a327>0x3?_0xb36caa[_0x52aada(0x18f)](_0x2dd218,_0x3de706,_0x209977,_0x94a5d1):_0xb36caa[_0x52aada(0x17e)](_0x2dd218,_0x3de706,_0x209977))||_0x94a5d1;}return _0xb36caa[_0x52aada(0x181)](_0x46a327,0x3)&&_0x94a5d1&&Object['defineProperty'](_0x3de706,_0x209977,_0x94a5d1),_0x94a5d1;};function _0x2fb1(_0x350b95,_0x4d8167){const _0x2b3e7f=_0x2b3e();return _0x2fb1=function(_0x2fb107,_0xbaf04e){_0x2fb107=_0x2fb107-0x16a;let _0x503977=_0x2b3e7f[_0x2fb107];return _0x503977;},_0x2fb1(_0x350b95,_0x4d8167);}import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x2b3e(){const _0x2e0ef5=['getPskey','iBxXQ','LkoGt','object','getRobotUinRange','1853750XzGjcj','ThLwz','sTRZu','set','hNCyQ','NodeIKernelProfileService/getUserDetailInfoByUin','dDyEd','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','ZvdAu','UoZYz','dnFLo','length','skey','rcxIf','setSelfOnlineStatus','decorate','308063jHpSBk','&clientkey=','setBuddyProfileLike','KoeYz','result','%2F','getMsgService','bxiYs','2129526UmgKAf','uinInfo','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','188690VVNFjr','GEsYr','getUserDetailInfoWithBizInfo','forEach','uid','getUserDetailInfo\x20timeout','get','function','VlfzH','zLeOM','getTipOffService','请求获取Cookies时失败','setStatus','aLETj','getPSkey','getUidByUin','eklBL','jMcJr','getProfileService','onLoginSuccess','errMsg','getOwnPropertyDescriptor','ClientKey','keyIndex','ocTvQ','getQzoneCookies','28stlnOV','getBuddyRecommendContactArkJson','378078fCxeLD','LZEnp','session','like','vIbMb','uidInfo','14cdyETr','robotUinRanges','%2Finfocenter&keyindex=19%27','KdtjE','HttpsGetCookies','303357wSpmtd','uin','getTicketService','TiZOb','getCookies','delete','addListener','8XEWWfB','forceFetchClientKey','getUserDetailInfo','hNYfB','FNBDB','MWmOy','getSelfInfo','bgAeT','5519525uNziRV','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','CallNoListenerEvent','请求获取Skey时失败','clientKey','4umqLTC','then','getSkey','tiyJe','KYpRr','setQQAvatar'];_0x2b3e=function(){return _0x2e0ef5;};return _0x2b3e();}profileListener['onProfileDetailInfoChanged']=_0xa93e2d=>{const _0x34440a=_0x2fb1;userInfoCache[_0xa93e2d[_0x34440a(0x197)]]=_0xa93e2d,userDetailHandlers[_0x34440a(0x196)](_0x29d9af=>_0x29d9af(_0xa93e2d));},setTimeout(()=>{const _0x32ed34=_0x2fb1;napCatCore[_0x32ed34(0x1a6)](()=>{const _0x13370d=_0x32ed34;napCatCore[_0x13370d(0x1c0)](profileListener);});},0x64);export class NTQQUserApi{static async['setLongNick'](_0x10510d){const _0x12caf0=_0x2fb1;return napCatCore[_0x12caf0(0x1b1)][_0x12caf0(0x1a5)]()['setLongNick'](_0x10510d);}static async[_0x16554a(0x186)](_0x3c7d7d,_0x445df8,_0x386930){const _0x5ea882=_0x16554a;return napCatCore[_0x5ea882(0x1b1)][_0x5ea882(0x18e)]()[_0x5ea882(0x19f)]({'status':_0x3c7d7d,'extStatus':_0x445df8,'batteryStatus':_0x386930});}static async[_0x16554a(0x1ae)](_0x27d34c,_0x2e9dd5=''){const _0xd10e03=_0x16554a;return napCatCore[_0xd10e03(0x1b1)]['getBuddyService']()[_0xd10e03(0x1ae)](_0x27d34c,_0x2e9dd5);}static async[_0x16554a(0x1b2)](_0x13ab1a,_0xcd1723=0x1){const _0x51a029=_0x16554a;return napCatCore['session']['getProfileLikeService']()[_0x51a029(0x18a)]({'friendUid':_0x13ab1a,'sourceId':0x47,'doLikeCount':_0xcd1723,'doLikeTollCount':0x0});}static async[_0x16554a(0x172)](_0x273fe8){const _0x1dd838=_0x16554a,_0x46ab22=await napCatCore[_0x1dd838(0x1b1)][_0x1dd838(0x1a5)]()['setHeader'](_0x273fe8);return{'result':_0x46ab22?.[_0x1dd838(0x18c)],'errMsg':_0x46ab22?.[_0x1dd838(0x1a7)]};}static async[_0x16554a(0x1c7)](){}static async['getUserInfo'](_0x2c1689){}static async[_0x16554a(0x1c3)](_0x1ac3c1){const _0x2cb542=_0x16554a,_0xc87ec3={'jMcJr':function(_0x3cd6ee,_0x529256){return _0x3cd6ee(_0x529256);},'eklBL':function(_0x6f26d1,_0x216200){return _0x6f26d1(_0x216200);},'VlfzH':function(_0x66b14){return _0x66b14();}},_0x3260e1=napCatCore[_0x2cb542(0x1b1)]['getProfileService']();return new Promise((_0x448854,_0x212250)=>{const _0x252bc3=_0x2cb542,_0x2eb97c={'vIbMb':function(_0x157c99,_0x35fef7){const _0x15a8e5=_0x2fb1;return _0xc87ec3[_0x15a8e5(0x1a3)](_0x157c99,_0x35fef7);}},_0x1ea829=_0xc87ec3[_0x252bc3(0x19b)](randomUUID);let _0x1799fb=![],_0x184429=undefined,_0x2b37b4=!![];setTimeout(()=>{const _0xc999b0=_0x252bc3;!_0x1799fb&&(_0x184429?_0xc87ec3[_0xc999b0(0x1a4)](_0x448854,_0x184429):_0xc87ec3[_0xc999b0(0x1a4)](_0x212250,_0xc999b0(0x198))),userDetailHandlers[_0xc999b0(0x1bf)](_0x1ea829);},0x1388),userDetailHandlers[_0x252bc3(0x17b)](_0x1ea829,_0x11262f=>{const _0x197d96=_0x252bc3;_0x11262f[_0x197d96(0x197)]===_0x1ac3c1&&(_0x2b37b4?(_0x184429=_0x11262f,_0x2b37b4=![]):(_0x1799fb=!![],_0x2eb97c[_0x197d96(0x1b3)](_0x448854,_0x11262f)));}),_0x3260e1[_0x252bc3(0x195)](_0x1ac3c1,[0x0])[_0x252bc3(0x16e)](_0x53c29e=>{});});}static async['modifySelfProfile'](_0xecbfdb){const _0x3d172f=_0x16554a;return napCatCore[_0x3d172f(0x1b1)][_0x3d172f(0x1a5)]()['modifyDesktopMiniProfile'](_0xecbfdb);}static async[_0x16554a(0x1be)](_0x2a0c69){const _0x551dd3=_0x16554a,_0x47eab7={'LkoGt':function(_0x4d9d7c,_0x179f5d){return _0x4d9d7c+_0x179f5d;},'KdtjE':function(_0x144ea5,_0x1d754d){return _0x144ea5+_0x1d754d;},'ThLwz':function(_0xfd585,_0x18574f){return _0xfd585+_0x18574f;},'njOUj':_0x551dd3(0x1ca),'FNBDB':_0x551dd3(0x189),'VendX':'&u1=https%3A%2F%2F','iBxXQ':_0x551dd3(0x18d),'ocTvQ':function(_0x99a2ad,_0x2adb08,_0x5e624f){return _0x99a2ad(_0x2adb08,_0x5e624f);},'tdQge':_0x551dd3(0x19e)},_0x2ab8e7=await NTQQUserApi[_0x551dd3(0x1c2)](),_0x231dd0=_0x47eab7[_0x551dd3(0x175)](_0x47eab7[_0x551dd3(0x175)](_0x47eab7[_0x551dd3(0x1b8)](_0x47eab7[_0x551dd3(0x179)](_0x47eab7['LkoGt'](_0x47eab7['KdtjE'](_0x47eab7['njOUj'],selfInfo[_0x551dd3(0x1bb)]),_0x47eab7[_0x551dd3(0x1c5)]),_0x2ab8e7['clientKey']),_0x47eab7['VendX'])+_0x2a0c69,_0x47eab7[_0x551dd3(0x174)])+selfInfo[_0x551dd3(0x1bb)],_0x551dd3(0x1b7));let _0x132535={};try{_0x132535=await RequestUtil['HttpsGetCookies'](_0x231dd0);}catch(_0x1272a5){_0x47eab7[_0x551dd3(0x1ab)](logDebug,_0x47eab7['tdQge'],_0x1272a5),_0x132535={};}return _0x132535;}static async[_0x16554a(0x1a1)](_0x55c675){const _0x25b32d=_0x16554a;return await napCatCore[_0x25b32d(0x1b1)][_0x25b32d(0x19d)]()[_0x25b32d(0x173)](_0x55c675,!![]);}static async[_0x16554a(0x177)](){const _0x5e5c58=_0x16554a,_0xb3200c=await napCatCore['session']['getRobotService']()[_0x5e5c58(0x177)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xb3200c?.['response']?.[_0x5e5c58(0x1b6)];}static async[_0x16554a(0x1ac)](){const _0x551ea8=_0x16554a,_0x4c59ad={'jomzI':function(_0x583a6f,_0x2026dd){return _0x583a6f+_0x2026dd;},'GEsYr':function(_0x3dfe86,_0x15f564){return _0x3dfe86+_0x15f564;},'hNYfB':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','bgAeT':'&clientkey=','uQlRt':_0x551ea8(0x192),'TiZOb':_0x551ea8(0x1b7),'MWmOy':function(_0x41edbf,_0x10cb54,_0x4d0fe5){return _0x41edbf(_0x10cb54,_0x4d0fe5);},'KYpRr':_0x551ea8(0x19e)},_0x57fd49=await NTQQUserApi[_0x551ea8(0x1c2)](),_0x20937b=_0x4c59ad['jomzI'](_0x4c59ad['jomzI'](_0x4c59ad[_0x551ea8(0x194)](_0x4c59ad[_0x551ea8(0x194)](_0x4c59ad[_0x551ea8(0x1c4)]+selfInfo['uin']+_0x4c59ad[_0x551ea8(0x1c8)],_0x57fd49[_0x551ea8(0x16c)]),_0x4c59ad['uQlRt']),selfInfo['uin']),_0x4c59ad[_0x551ea8(0x1bd)]);let _0x3ffb10={};try{_0x3ffb10=await RequestUtil[_0x551ea8(0x1b9)](_0x20937b);}catch(_0x6ae46){_0x4c59ad[_0x551ea8(0x1c6)](logDebug,_0x4c59ad[_0x551ea8(0x171)],_0x6ae46),_0x3ffb10={};}return _0x3ffb10;}static async[_0x16554a(0x16f)](){const _0x1b7311=_0x16554a,_0x33d0ca={'tiyJe':function(_0x428606,_0x5ea03a){return _0x428606!==_0x5ea03a;},'KZaUv':function(_0x5721ef,_0x4631e8){return _0x5721ef+_0x4631e8;},'rcxIf':function(_0x355c31,_0x462718){return _0x355c31+_0x462718;},'DoUEQ':_0x1b7311(0x189),'hNCyQ':_0x1b7311(0x17f),'pVDnt':function(_0x123d51,_0x90cd73,_0x5802e7){return _0x123d51(_0x90cd73,_0x5802e7);},'JwIRH':_0x1b7311(0x16b)};try{const _0x30acf3=await NTQQUserApi[_0x1b7311(0x1c2)]();if(_0x33d0ca[_0x1b7311(0x170)](_0x30acf3[_0x1b7311(0x18c)],0x0))return'';const _0x4f19c1=_0x30acf3[_0x1b7311(0x16c)],_0x587131=_0x30acf3[_0x1b7311(0x1aa)],_0x3f694a=_0x33d0ca['KZaUv'](_0x33d0ca[_0x1b7311(0x185)](_0x1b7311(0x1ca)+selfInfo[_0x1b7311(0x1bb)]+_0x33d0ca['DoUEQ'],_0x4f19c1),_0x33d0ca[_0x1b7311(0x17c)]);let _0x315024={};try{_0x315024=await RequestUtil[_0x1b7311(0x1b9)](_0x3f694a);}catch(_0x438378){_0x33d0ca['pVDnt'](logDebug,_0x33d0ca['JwIRH'],_0x438378),_0x315024={};}const _0x45d693=_0x315024[_0x1b7311(0x184)];if(!_0x45d693)return'';return _0x45d693;}catch(_0x20d24b){}return undefined;}static async[_0x16554a(0x1a2)](_0x5caa77){const _0x4d67f2=_0x16554a;let _0x569436=await NTEventDispatch[_0x4d67f2(0x16a)]('NodeIKernelUixConvertService/getUid',0x1388,[_0x5caa77]);return _0x569436[_0x4d67f2(0x1b4)][_0x4d67f2(0x199)](_0x5caa77);}static async['getUinByUid'](_0x1dfd4d){const _0x57d8f4=_0x16554a,_0x2da660={'LZEnp':'NodeIKernelUixConvertService/getUin'};if(!_0x1dfd4d)return'';let _0x1314f0=await NTEventDispatch[_0x57d8f4(0x16a)](_0x2da660[_0x57d8f4(0x1b0)],0x1388,[_0x1dfd4d]);return _0x1314f0[_0x57d8f4(0x191)][_0x57d8f4(0x199)](_0x1dfd4d);}static async['getUserDetailInfoByUin'](_0x34876b){const _0x3d9773=_0x16554a,_0x2c618e={'VHOkK':_0x3d9773(0x17d)};return NTEventDispatch['CallNoListenerEvent'](_0x2c618e['VHOkK'],0x1388,_0x34876b);}static async[_0x16554a(0x1c2)](){const _0x9c343=_0x16554a;return await napCatCore[_0x9c343(0x1b1)][_0x9c343(0x1bc)]()[_0x9c343(0x1c2)]('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x16554a(0x1a1),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getQzoneCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x16554a(0x16f),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x16554a(0x1a9))],NTQQUserApi,'forceFetchClientKey',null); \ No newline at end of file +const _0x598564=_0xff90;(function(_0x3f8f0b,_0x204067){const _0x6f7760=_0xff90,_0x84ac16=_0x3f8f0b();while(!![]){try{const _0x26f0ef=-parseInt(_0x6f7760(0x1b7))/0x1*(parseInt(_0x6f7760(0x1d7))/0x2)+parseInt(_0x6f7760(0x181))/0x3*(parseInt(_0x6f7760(0x198))/0x4)+parseInt(_0x6f7760(0x18a))/0x5+parseInt(_0x6f7760(0x1d9))/0x6*(-parseInt(_0x6f7760(0x192))/0x7)+-parseInt(_0x6f7760(0x1da))/0x8*(-parseInt(_0x6f7760(0x1b1))/0x9)+-parseInt(_0x6f7760(0x1cb))/0xa+-parseInt(_0x6f7760(0x196))/0xb;if(_0x26f0ef===_0x204067)break;else _0x84ac16['push'](_0x84ac16['shift']());}catch(_0x1449b3){_0x84ac16['push'](_0x84ac16['shift']());}}}(_0x21f7,0x21ac3));var __decorate=this&&this[_0x598564(0x187)]||function(_0x51d448,_0x3059cd,_0x5d2e16,_0x57c477){const _0x419c5e=_0x598564,_0x3e2f84={'DnqaP':function(_0x4879c7,_0xc27f46){return _0x4879c7<_0xc27f46;},'KXOYT':function(_0x21bae9,_0x2a4297){return _0x21bae9===_0x2a4297;},'ORJOK':function(_0x5775a9,_0xccd1bd){return _0x5775a9===_0xccd1bd;},'efAAG':_0x419c5e(0x18d),'rfEWl':function(_0x4a70df,_0x5c71e9){return _0x4a70df>=_0x5c71e9;},'mVfSQ':function(_0x330333,_0x369a5a){return _0x330333>_0x369a5a;},'kfpws':function(_0x55b2ce,_0x5fa342,_0x4df997,_0xfeeea1){return _0x55b2ce(_0x5fa342,_0x4df997,_0xfeeea1);}};var _0x3531b6=arguments[_0x419c5e(0x19a)],_0x28331e=_0x3e2f84[_0x419c5e(0x1b4)](_0x3531b6,0x3)?_0x3059cd:_0x3e2f84[_0x419c5e(0x195)](_0x57c477,null)?_0x57c477=Object[_0x419c5e(0x1af)](_0x3059cd,_0x5d2e16):_0x57c477,_0x360010;if(typeof Reflect==='object'&&_0x3e2f84[_0x419c5e(0x1cd)](typeof Reflect[_0x419c5e(0x1c0)],_0x3e2f84[_0x419c5e(0x1c9)]))_0x28331e=Reflect[_0x419c5e(0x1c0)](_0x51d448,_0x3059cd,_0x5d2e16,_0x57c477);else{for(var _0x4cc557=_0x51d448[_0x419c5e(0x19a)]-0x1;_0x3e2f84[_0x419c5e(0x1be)](_0x4cc557,0x0);_0x4cc557--)if(_0x360010=_0x51d448[_0x4cc557])_0x28331e=(_0x3e2f84[_0x419c5e(0x1b4)](_0x3531b6,0x3)?_0x360010(_0x28331e):_0x3e2f84[_0x419c5e(0x1bd)](_0x3531b6,0x3)?_0x3e2f84['kfpws'](_0x360010,_0x3059cd,_0x5d2e16,_0x28331e):_0x360010(_0x3059cd,_0x5d2e16))||_0x28331e;}return _0x3e2f84[_0x419c5e(0x1bd)](_0x3531b6,0x3)&&_0x28331e&&Object[_0x419c5e(0x1b8)](_0x3059cd,_0x5d2e16,_0x28331e),_0x28331e;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';function _0xff90(_0x21be18,_0x54e4dc){const _0x21f72b=_0x21f7();return _0xff90=function(_0xff9003,_0x3bdfc7){_0xff9003=_0xff9003-0x17e;let _0x20bfab=_0x21f72b[_0xff9003];return _0x20bfab;},_0xff90(_0x21be18,_0x54e4dc);}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x598564(0x18f)]=_0x250114=>{const _0x581edc=_0x598564;userInfoCache[_0x250114[_0x581edc(0x1ac)]]=_0x250114,userDetailHandlers[_0x581edc(0x197)](_0x12d716=>_0x12d716(_0x250114));},setTimeout(()=>{const _0x13ac22=_0x598564;napCatCore[_0x13ac22(0x1c1)](()=>{const _0x3f0bc8=_0x13ac22;napCatCore[_0x3f0bc8(0x1d4)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x598564(0x186)](_0x59c364){const _0x3c393a=_0x598564;return napCatCore[_0x3c393a(0x19c)][_0x3c393a(0x1a8)]()[_0x3c393a(0x186)](_0x59c364);}static async[_0x598564(0x1bc)](_0x15451e,_0x458abb,_0x2c7d0d){const _0x210af6=_0x598564;return napCatCore[_0x210af6(0x19c)][_0x210af6(0x189)]()[_0x210af6(0x190)]({'status':_0x15451e,'extStatus':_0x458abb,'batteryStatus':_0x2c7d0d});}static async['getBuddyRecommendContactArkJson'](_0x1a885e,_0x47f5af=''){const _0x5814d9=_0x598564;return napCatCore[_0x5814d9(0x19c)][_0x5814d9(0x1ce)]()[_0x5814d9(0x17f)](_0x1a885e,_0x47f5af);}static async[_0x598564(0x1c8)](_0x176165,_0x58d730=0x1){const _0x50c435=_0x598564;return napCatCore[_0x50c435(0x19c)][_0x50c435(0x1cf)]()['setBuddyProfileLike']({'friendUid':_0x176165,'sourceId':0x47,'doLikeCount':_0x58d730,'doLikeTollCount':0x0});}static async[_0x598564(0x194)](_0x7b04bf){const _0x3aac5d=_0x598564,_0x194490=await napCatCore[_0x3aac5d(0x19c)]['getProfileService']()[_0x3aac5d(0x1e3)](_0x7b04bf);return{'result':_0x194490?.[_0x3aac5d(0x1dd)],'errMsg':_0x194490?.[_0x3aac5d(0x18b)]};}static async[_0x598564(0x1a0)](){}static async['getUserInfo'](_0x2e3c88){}static async['getUserDetailInfo'](_0x5c9e22){const _0x21e47d=_0x598564,_0xda2c50={'nsMiA':function(_0x1f4cf8,_0x48f7a0){return _0x1f4cf8(_0x48f7a0);},'VIcdm':'getUserDetailInfo\x20timeout','CpkxY':function(_0x212a50,_0x327616,_0x250bc7){return _0x212a50(_0x327616,_0x250bc7);}},_0x211742=napCatCore[_0x21e47d(0x19c)][_0x21e47d(0x1a8)]();return new Promise((_0x5e4e3f,_0x461055)=>{const _0x24f60=_0x21e47d,_0x236f0d={'YxWxE':function(_0x1b686f,_0x5c3faa){const _0x546d72=_0xff90;return _0xda2c50[_0x546d72(0x1d3)](_0x1b686f,_0x5c3faa);},'ErbrV':_0xda2c50[_0x24f60(0x1a7)],'yITIX':function(_0x447f28,_0x5beeb6){return _0xda2c50['nsMiA'](_0x447f28,_0x5beeb6);}},_0x3b2338=randomUUID();let _0x4b0859=![],_0x4a1d07=undefined,_0xc8d34e=!![];_0xda2c50[_0x24f60(0x182)](setTimeout,()=>{const _0x33b48=_0x24f60;!_0x4b0859&&(_0x4a1d07?_0x236f0d['YxWxE'](_0x5e4e3f,_0x4a1d07):_0x461055(_0x236f0d[_0x33b48(0x184)])),userDetailHandlers['delete'](_0x3b2338);},0x1388),userDetailHandlers[_0x24f60(0x1dc)](_0x3b2338,_0x465fc3=>{const _0x1a176a=_0x24f60;_0x465fc3['uid']===_0x5c9e22&&(_0xc8d34e?(_0x4a1d07=_0x465fc3,_0xc8d34e=![]):(_0x4b0859=!![],_0x236f0d[_0x1a176a(0x1ab)](_0x5e4e3f,_0x465fc3)));}),_0x211742[_0x24f60(0x1a3)](_0x5c9e22,[0x0])[_0x24f60(0x19d)](_0x256541=>{});});}static async['modifySelfProfile'](_0x46e4d8){const _0x4b974a=_0x598564;return napCatCore['session'][_0x4b974a(0x1a8)]()[_0x4b974a(0x191)](_0x46e4d8);}static async['getCookies'](_0x36d674){const _0xb78804=_0x598564,_0x519534={'qoOSs':function(_0x8f340d,_0x46721c){return _0x8f340d+_0x46721c;},'GzMrQ':function(_0x2e2a22,_0x3133d3){return _0x2e2a22+_0x3133d3;},'OECyA':function(_0x1215af,_0x1d56cf){return _0x1215af+_0x1d56cf;},'VFcfQ':_0xb78804(0x1b9),'kABPW':_0xb78804(0x1de),'kzrtx':_0xb78804(0x185),'UvjGu':_0xb78804(0x1e0),'Fddwg':'%2Finfocenter&keyindex=19%27','KCyyo':function(_0x24b343,_0x2b5b5c,_0x43ab2c){return _0x24b343(_0x2b5b5c,_0x43ab2c);},'LURch':_0xb78804(0x19e)},_0xc2ff75=await NTQQUserApi[_0xb78804(0x183)](),_0x5b2ba3=_0x519534[_0xb78804(0x1c6)](_0x519534[_0xb78804(0x1d6)](_0x519534[_0xb78804(0x1d2)](_0x519534['GzMrQ'](_0x519534[_0xb78804(0x1d2)](_0x519534[_0xb78804(0x1d2)](_0x519534[_0xb78804(0x1aa)],selfInfo[_0xb78804(0x1db)]),_0x519534[_0xb78804(0x1b5)]),_0xc2ff75[_0xb78804(0x1a5)])+_0x519534[_0xb78804(0x188)]+_0x36d674,_0x519534['UvjGu']),selfInfo[_0xb78804(0x1db)]),_0x519534[_0xb78804(0x1cc)]);let _0x1c7875={};try{_0x1c7875=await RequestUtil[_0xb78804(0x1ca)](_0x5b2ba3);}catch(_0x5b6c97){_0x519534[_0xb78804(0x1a2)](logDebug,_0x519534['LURch'],_0x5b6c97),_0x1c7875={};}return _0x1c7875;}static async[_0x598564(0x199)](_0x24dd7c){const _0x1efd52=_0x598564;return await napCatCore[_0x1efd52(0x19c)][_0x1efd52(0x1ad)]()['getPskey'](_0x24dd7c,!![]);}static async['getRobotUinRange'](){const _0x16bd30=_0x598564,_0x5d99af=await napCatCore[_0x16bd30(0x19c)][_0x16bd30(0x19f)]()[_0x16bd30(0x1df)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5d99af?.[_0x16bd30(0x1d5)]?.['robotUinRanges'];}static async['getQzoneCookies'](){const _0x9d3d00=_0x598564,_0x1f6e33={'WwIwf':function(_0x10e500,_0x2ed51d){return _0x10e500+_0x2ed51d;},'nzRrG':function(_0x1e7bf2,_0x251c06){return _0x1e7bf2+_0x251c06;},'AIAlx':_0x9d3d00(0x1b9),'bMoct':_0x9d3d00(0x1de),'YTfpf':'&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','JfqAn':_0x9d3d00(0x1c3),'SEtuu':function(_0x19f22d,_0x527e7a,_0x533488){return _0x19f22d(_0x527e7a,_0x533488);},'tKiYU':_0x9d3d00(0x19e)},_0x45f244=await NTQQUserApi[_0x9d3d00(0x183)](),_0xa613fc=_0x1f6e33['WwIwf'](_0x1f6e33[_0x9d3d00(0x1ae)](_0x1f6e33[_0x9d3d00(0x1c4)](_0x1f6e33['WwIwf'](_0x1f6e33['nzRrG'](_0x1f6e33[_0x9d3d00(0x1a6)],selfInfo[_0x9d3d00(0x1db)])+_0x1f6e33[_0x9d3d00(0x1d1)],_0x45f244[_0x9d3d00(0x1a5)]),_0x1f6e33[_0x9d3d00(0x1a4)]),selfInfo['uin']),_0x1f6e33['JfqAn']);let _0x3db1c5={};try{_0x3db1c5=await RequestUtil[_0x9d3d00(0x1ca)](_0xa613fc);}catch(_0x1dfa72){_0x1f6e33['SEtuu'](logDebug,_0x1f6e33[_0x9d3d00(0x18e)],_0x1dfa72),_0x3db1c5={};}return _0x3db1c5;}static async['getSkey'](){const _0x7466f1=_0x598564,_0x138774={'uacrA':function(_0x118676,_0x4d2afe){return _0x118676!==_0x4d2afe;},'WMoVM':function(_0x51870d,_0x42e1a2){return _0x51870d+_0x42e1a2;},'VJzYW':function(_0x3f8dc0,_0x42436c){return _0x3f8dc0+_0x42436c;},'safDW':_0x7466f1(0x1b9),'vaqbH':_0x7466f1(0x17e),'MlkFV':function(_0x597565,_0x501f7f,_0x27a761){return _0x597565(_0x501f7f,_0x27a761);},'MZSQW':_0x7466f1(0x1bf),'rgmSN':'skey'};try{const _0x232b64=await NTQQUserApi[_0x7466f1(0x183)]();if(_0x138774[_0x7466f1(0x1b2)](_0x232b64[_0x7466f1(0x1dd)],0x0))return'';const _0x443902=_0x232b64['clientKey'],_0xac6dbc=_0x232b64[_0x7466f1(0x1ba)],_0x58a1e1=_0x138774[_0x7466f1(0x180)](_0x138774[_0x7466f1(0x1c5)](_0x138774[_0x7466f1(0x1c2)]+selfInfo[_0x7466f1(0x1db)],_0x7466f1(0x1de))+_0x443902,_0x138774[_0x7466f1(0x193)]);let _0x104db5={};try{_0x104db5=await RequestUtil[_0x7466f1(0x1ca)](_0x58a1e1);}catch(_0x5ab16d){_0x138774[_0x7466f1(0x1b0)](logDebug,_0x138774[_0x7466f1(0x1d8)],_0x5ab16d),_0x104db5={};}const _0x445859=_0x104db5[_0x138774[_0x7466f1(0x1c7)]];if(!_0x445859)return'';return _0x445859;}catch(_0xcbf247){}return undefined;}static async['getUidByUin'](_0xd54c28){const _0x3a838a=_0x598564,_0x33e398={'VAkYj':_0x3a838a(0x1b3)};let _0x295502=await NTEventDispatch[_0x3a838a(0x1a1)](_0x33e398[_0x3a838a(0x1b6)],0x1388,[_0xd54c28]);return _0x295502['uidInfo'][_0x3a838a(0x19b)](_0xd54c28);}static async[_0x598564(0x18c)](_0x5be4d1){const _0x47ea5b=_0x598564;if(!_0x5be4d1)return'';let _0x570e54=await NTEventDispatch[_0x47ea5b(0x1a1)]('NodeIKernelUixConvertService/getUin',0x1388,[_0x5be4d1]);return _0x570e54[_0x47ea5b(0x1d0)][_0x47ea5b(0x19b)](_0x5be4d1);}static async[_0x598564(0x1e1)](_0x571b6a){const _0x2340aa=_0x598564,_0xb94f0b={'sNUGI':'NodeIKernelProfileService/getUserDetailInfoByUin'};return NTEventDispatch[_0x2340aa(0x1a1)](_0xb94f0b['sNUGI'],0x1388,_0x571b6a);}static async[_0x598564(0x183)](){const _0x575fac=_0x598564;return await napCatCore[_0x575fac(0x19c)][_0x575fac(0x1bb)]()['forceFetchClientKey']('');}}function _0x21f7(){const _0x3e3aae=['NodeIKernelUixConvertService/getUid','DnqaP','kABPW','VAkYj','27842PkySWK','defineProperty','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','keyIndex','getTicketService','setSelfOnlineStatus','mVfSQ','rfEWl','请求获取Skey时失败','decorate','onLoginSuccess','safDW','%2Finfocenter&keyindex=19%27','nzRrG','VJzYW','qoOSs','rgmSN','like','efAAG','HttpsGetCookies','106040VvlgEv','Fddwg','ORJOK','getBuddyService','getProfileLikeService','uinInfo','bMoct','OECyA','nsMiA','addListener','response','GzMrQ','2GQcuUl','MZSQW','636WwkZtn','8hhkTsp','uin','set','result','&clientkey=','getRobotUinRange','%2F','getUserDetailInfoByUin','getSkey','setHeader','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','getBuddyRecommendContactArkJson','WMoVM','141528hRbtRE','CpkxY','forceFetchClientKey','ErbrV','&u1=https%3A%2F%2F','setLongNick','__decorate','kzrtx','getMsgService','689560pRmYJY','errMsg','getUinByUid','function','tKiYU','onProfileDetailInfoChanged','setStatus','modifyDesktopMiniProfile','3017OSmqZn','vaqbH','setQQAvatar','KXOYT','2464858kybRRd','forEach','16MKdhZN','getPSkey','length','get','session','then','请求获取Cookies时失败','getRobotService','getSelfInfo','CallNoListenerEvent','KCyyo','getUserDetailInfoWithBizInfo','YTfpf','clientKey','AIAlx','VIcdm','getProfileService','getQzoneCookies','VFcfQ','yITIX','uid','getTipOffService','WwIwf','getOwnPropertyDescriptor','MlkFV','1075653BZtDZN','uacrA'];_0x21f7=function(){return _0x3e3aae;};return _0x21f7();}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x598564(0x199),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x598564(0x1a9),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x598564(0x1e2),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'ClientKey')],NTQQUserApi,_0x598564(0x183),null); \ 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 f0653fe8..bb161cff 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x5d645a=_0x45fe;(function(_0x25717d,_0x3449f6){const _0x4d2bbc=_0x45fe,_0x24158f=_0x25717d();while(!![]){try{const _0x4e23d1=-parseInt(_0x4d2bbc(0x28f))/0x1+parseInt(_0x4d2bbc(0x24a))/0x2+parseInt(_0x4d2bbc(0x238))/0x3*(-parseInt(_0x4d2bbc(0x206))/0x4)+parseInt(_0x4d2bbc(0x217))/0x5*(parseInt(_0x4d2bbc(0x253))/0x6)+-parseInt(_0x4d2bbc(0x21e))/0x7*(-parseInt(_0x4d2bbc(0x23f))/0x8)+-parseInt(_0x4d2bbc(0x203))/0x9+parseInt(_0x4d2bbc(0x228))/0xa*(-parseInt(_0x4d2bbc(0x212))/0xb);if(_0x4e23d1===_0x3449f6)break;else _0x24158f['push'](_0x24158f['shift']());}catch(_0x5bdbec){_0x24158f['push'](_0x24158f['shift']());}}}(_0xbabb,0x851c1));var __decorate=this&&this[_0x5d645a(0x25d)]||function(_0x1aba53,_0x1b97a7,_0x230a19,_0x25ee49){const _0x109826=_0x5d645a,_0x480285={'kyWJR':function(_0x28366a,_0x1f1cfb){return _0x28366a<_0x1f1cfb;},'eKSgA':function(_0x35956f,_0x355652){return _0x35956f===_0x355652;},'ySAAa':_0x109826(0x232),'UZjdr':function(_0x5a3ce4,_0x390da8){return _0x5a3ce4===_0x390da8;},'nimkJ':_0x109826(0x1fd),'PgXom':function(_0x477fbb,_0x1f355e){return _0x477fbb-_0x1f355e;},'PCAUp':function(_0x47f53c,_0xa4e90b){return _0x47f53c>=_0xa4e90b;},'eOLHQ':function(_0x4e1c60,_0x2e212d){return _0x4e1c60(_0x2e212d);},'sERsI':function(_0x39a7e3,_0xa87f52){return _0x39a7e3>_0xa87f52;},'obVZz':function(_0x3c4e77,_0x261efb,_0x4c9cc1,_0x2cad8b){return _0x3c4e77(_0x261efb,_0x4c9cc1,_0x2cad8b);}};var _0x34e191=arguments['length'],_0x3058ed=_0x480285['kyWJR'](_0x34e191,0x3)?_0x1b97a7:_0x480285['eKSgA'](_0x25ee49,null)?_0x25ee49=Object[_0x109826(0x1ec)](_0x1b97a7,_0x230a19):_0x25ee49,_0x330bcc;if(_0x480285[_0x109826(0x205)](typeof Reflect,_0x480285[_0x109826(0x268)])&&_0x480285['UZjdr'](typeof Reflect[_0x109826(0x27e)],_0x480285[_0x109826(0x246)]))_0x3058ed=Reflect['decorate'](_0x1aba53,_0x1b97a7,_0x230a19,_0x25ee49);else{for(var _0x5c1c81=_0x480285[_0x109826(0x237)](_0x1aba53[_0x109826(0x249)],0x1);_0x480285[_0x109826(0x1ee)](_0x5c1c81,0x0);_0x5c1c81--)if(_0x330bcc=_0x1aba53[_0x5c1c81])_0x3058ed=(_0x34e191<0x3?_0x480285['eOLHQ'](_0x330bcc,_0x3058ed):_0x480285[_0x109826(0x270)](_0x34e191,0x3)?_0x480285['obVZz'](_0x330bcc,_0x1b97a7,_0x230a19,_0x3058ed):_0x330bcc(_0x1b97a7,_0x230a19))||_0x3058ed;}return _0x480285[_0x109826(0x270)](_0x34e191,0x3)&&_0x3058ed&&Object[_0x109826(0x26c)](_0x1b97a7,_0x230a19,_0x3058ed),_0x3058ed;};import{WebGroupData,selfInfo}from'@/core/data';function _0xbabb(){const _0x2dc67b=['&type=','PFRdf','qmoVD','wuOnJ','EMOTION','qazYR','retcode','ZHsDf','all','ijbnQ','FWEBW','decorate','getGroupHonorInfo','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','获取快乐源泉失败','SHpWX','PERFROMER','xKzOv','getPSkey','errcode','获取龙王信息失败','HttpGetText','getSkey','STORONGE_NEWBI','&page_start=','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',';\x20skey=','HBiLv','392268fAoGBn','Rzldq','HttpGetJson','FYeZv',';\x20p_uin=o','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','bqRBH','GET','getOwnPropertyDescriptor','&sort=1&gc=','PCAUp','bSMBN',';\x20uin=o','kPbYB','uJsYq','actorList','set','now','ALL','HCgLv','mems','charCodeAt','LNKHV','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','&bkn=','function','qid=','desc','aaiiS','RkXcr','VgMTV','752886DLfsRK','legend_list','eKSgA','73384CWAVUO','&end=','XEZXu','gtpTT','toString','dScRm','strong_newbie','srJQq','name','mlrnD','sFDXy','RxYgo','187RzefFD','emotion_list','rsEDH','MXhFM','zHbGK','5ZjtGKy','RiveS','XvGAH','talkativeList','performer_list','LEGEND','get','854nqZPrD','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ZBaMm','qun.qq.com','ODuYQ','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','strong_newbie_list','MDbPH','p_skey=','476490GAahNw','TALKACTIVE','UkDQS','UJKCs','vPoGs','cBGdc','QSgDP','wxYmd','DFVaq','KeZvG','object','push','nwvqq','TjSHB','talkative_list','PgXom','84dmhmtt','domainPskeyMap','UysOT','jFpTK','lzxHu','Qxtqr','trim','64168GraUPa','getGroupEssenceMsg','DAuEE','https://qun.qq.com/interactive/honorlist?gc=','lzHkr','genBkn','inUlX','nimkJ','WXCbK','fmRmj','length','1010490rDKaAw','gaIPV','RWrKZ','GroupHonorInfo','liFSi','ZQJIK','URBet','QpJtW','CSEtT','5166318iKnzEu','hwzqT','description','xPKbg','uvRQe','bIUPF','uin','suDVK','setGroupNotice','获取当前群荣耀失败','__decorate','match','YorsK','emotion','GroupData','lkGCp','NdIDi','QgqkL','AemSw','yJZSt','count','ySAAa','avatar','gTRnD','talkative','defineProperty','&qid=','POST','TfZsM','sERsI','GroupTime','&group_code='];_0xbabb=function(){return _0x2dc67b;};return _0xbabb();}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0x445b6d){const _0x524226=_0x5d645a,_0x442847={'Rzldq':'ALL','RWrKZ':_0x524226(0x27b),'jmGQF':_0x524226(0x26b),'bIUPF':_0x524226(0x283),'DFVaq':'performer','gTRnD':_0x524226(0x21c),'fmRmj':_0x524226(0x28a),'uvRQe':_0x524226(0x20c),'nQZnL':_0x524226(0x277),'XEZXu':_0x524226(0x260)};_0x445b6d[_0x442847[_0x524226(0x290)]]=_0x442847[_0x524226(0x24c)],_0x445b6d[_0x524226(0x229)]=_0x442847['jmGQF'],_0x445b6d[_0x442847[_0x524226(0x258)]]=_0x442847[_0x524226(0x230)],_0x445b6d[_0x442847[_0x524226(0x26a)]]='legend',_0x445b6d[_0x442847[_0x524226(0x248)]]=_0x442847[_0x524226(0x257)],_0x445b6d[_0x442847['nQZnL']]=_0x442847[_0x524226(0x208)];}(WebHonorType||(WebHonorType={})));function _0x45fe(_0x35352c,_0x45b6d2){const _0xbabb11=_0xbabb();return _0x45fe=function(_0x45fe7d,_0x50a81d){_0x45fe7d=_0x45fe7d-0x1ec;let _0x4dcf3b=_0xbabb11[_0x45fe7d];return _0x4dcf3b;},_0x45fe(_0x35352c,_0x45b6d2);}export class WebApi{static async[_0x5d645a(0x240)](_0x31ffe6,_0x3af426){const _0x5b2b4c=_0x5d645a,_0x169fcc={'GyJnj':_0x5b2b4c(0x222),'UJKCs':function(_0x196339,_0x1b3478){return _0x196339+_0x1b3478;},'AemSw':function(_0x5a8788,_0x1e9083){return _0x5a8788+_0x1e9083;},'inUlX':_0x5b2b4c(0x227),'eSAfR':_0x5b2b4c(0x28d),'qazYR':_0x5b2b4c(0x293),'MDbPH':_0x5b2b4c(0x1f0),'yJZSt':function(_0x2787d8,_0x5360a7){return _0x2787d8||_0x5360a7;},'KeZvG':function(_0x284f,_0x18abf0){return _0x284f+_0x18abf0;},'kPbYB':_0x5b2b4c(0x224),'MXhFM':_0x5b2b4c(0x272),'ijbnQ':_0x5b2b4c(0x28b),'RxYgo':function(_0x104374,_0x1ce14e){return _0x104374!==_0x1ce14e;}},_0x591fd9=(await NTQQUserApi['getPSkey']([_0x169fcc['GyJnj']]))['domainPskeyMap'][_0x5b2b4c(0x21d)](_0x169fcc['GyJnj']),_0x3f7df8=await NTQQUserApi[_0x5b2b4c(0x289)](),_0x3b2e4b=_0x169fcc[_0x5b2b4c(0x22b)](_0x169fcc[_0x5b2b4c(0x265)](_0x169fcc[_0x5b2b4c(0x265)](_0x169fcc[_0x5b2b4c(0x265)](_0x169fcc[_0x5b2b4c(0x245)]+_0x591fd9+_0x169fcc['eSAfR'],_0x3f7df8)+_0x169fcc[_0x5b2b4c(0x278)],selfInfo[_0x5b2b4c(0x259)]),_0x169fcc[_0x5b2b4c(0x226)]),selfInfo[_0x5b2b4c(0x259)]);if(_0x169fcc[_0x5b2b4c(0x266)](!_0x3f7df8,!_0x591fd9))return undefined;const _0xcfc4cb=WebApi[_0x5b2b4c(0x244)](_0x3f7df8),_0x38ab8a=_0x169fcc[_0x5b2b4c(0x231)](_0x169fcc[_0x5b2b4c(0x231)](_0x169fcc['UJKCs'](_0x169fcc[_0x5b2b4c(0x22b)](_0x169fcc['UJKCs'](_0x169fcc[_0x5b2b4c(0x1f1)],_0xcfc4cb),_0x169fcc[_0x5b2b4c(0x215)]),_0x31ffe6),_0x169fcc[_0x5b2b4c(0x27c)]),_0x3af426)+'&page_limit=20';let _0x234986;try{_0x234986=await RequestUtil[_0x5b2b4c(0x291)](_0x38ab8a,_0x5b2b4c(0x296),'',{'Cookie':_0x3b2e4b});}catch{return undefined;}if(_0x169fcc[_0x5b2b4c(0x211)](_0x234986[_0x5b2b4c(0x279)],0x0))return undefined;return _0x234986;}static async['getGroupMembers'](_0x2407d9,_0x49e0b9=!![]){const _0x387504=_0x5d645a,_0x8ad22d={'liFSi':function(_0x819592,_0x23f589){return _0x819592*_0x23f589;},'FWEBW':_0x387504(0x222),'lkGCp':function(_0x570b6c,_0x1f30d0){return _0x570b6c+_0x1f30d0;},'ZQJIK':function(_0xc694bb,_0x3b4fc6){return _0xc694bb+_0x3b4fc6;},'WXCbK':'p_skey=','vsxtJ':function(_0x14b787,_0x18728a){return _0x14b787||_0x18728a;},'bqRBH':function(_0x1e54bb,_0x3bcf2e){return _0x1e54bb+_0x3bcf2e;},'cNjpi':function(_0x3ff53b,_0x3307d1){return _0x3ff53b+_0x3307d1;},'LNKHV':function(_0x358f9d,_0x2465f8){return _0x358f9d+_0x2465f8;},'FYeZv':_0x387504(0x294),'UkDQS':_0x387504(0x1fc),'TfZsM':_0x387504(0x26e),'dScRm':function(_0x5dfd77,_0x29abaf){return _0x5dfd77!==_0x29abaf;},'CSEtT':function(_0x4c31a8,_0x382804){return _0x4c31a8/_0x382804;},'QgqkL':function(_0x17c384,_0x505277){return _0x17c384<=_0x505277;},'lXTuN':function(_0x101223,_0x1a5f91){return _0x101223+_0x1a5f91;},'sFDXy':function(_0xe86482,_0x4f812f){return _0xe86482+_0x4f812f;},'EBmpd':function(_0x2fbeac,_0x242631){return _0x2fbeac-_0x242631;},'cBGdc':_0x387504(0x207),'WrhvB':function(_0x497239,_0x214d17){return _0x497239*_0x214d17;}};let _0x20ddfc=new Array();try{let _0x412ce7=WebGroupData['GroupData'][_0x387504(0x21d)](_0x2407d9),_0x3fcb96=WebGroupData[_0x387504(0x271)]['get'](_0x2407d9);if(!_0x3fcb96||Date['now']()-_0x3fcb96>_0x8ad22d[_0x387504(0x24e)](0x708,0x3e8)||!_0x49e0b9){const _0x425d28=(await NTQQUserApi[_0x387504(0x285)]([_0x8ad22d[_0x387504(0x27d)]]))[_0x387504(0x239)][_0x387504(0x21d)](_0x8ad22d['FWEBW']),_0x135356=await NTQQUserApi[_0x387504(0x289)](),_0x57d5e3=_0x8ad22d[_0x387504(0x262)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d['ZQJIK'](_0x8ad22d[_0x387504(0x247)],_0x425d28),_0x387504(0x28d)),_0x135356),_0x387504(0x293)),selfInfo[_0x387504(0x259)]);if(_0x8ad22d['vsxtJ'](!_0x135356,!_0x425d28))return _0x20ddfc;const _0x1ca278=WebApi[_0x387504(0x244)](_0x135356),_0x3cf833=[],_0x2f34a7=await RequestUtil[_0x387504(0x291)](_0x8ad22d[_0x387504(0x295)](_0x8ad22d['cNjpi'](_0x8ad22d[_0x387504(0x1fa)](_0x8ad22d[_0x387504(0x292)],_0x2407d9),_0x8ad22d[_0x387504(0x22a)]),_0x1ca278),_0x8ad22d[_0x387504(0x26f)],'',{'Cookie':_0x57d5e3});if(!_0x2f34a7?.[_0x387504(0x267)]||_0x8ad22d[_0x387504(0x20b)](_0x2f34a7?.['errcode'],0x0)||!_0x2f34a7?.['mems'])return[];else for(const _0x13eada in _0x2f34a7['mems']){_0x20ddfc[_0x387504(0x233)](_0x2f34a7[_0x387504(0x1f8)][_0x13eada]);}const _0x1e1d63=Math['ceil'](_0x8ad22d[_0x387504(0x252)](_0x2f34a7[_0x387504(0x267)],0x28));for(let _0x282672=0x2;_0x8ad22d[_0x387504(0x264)](_0x282672,_0x1e1d63);_0x282672++){const _0x35a1d9=RequestUtil[_0x387504(0x291)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d['lXTuN'](_0x8ad22d[_0x387504(0x210)](_0x8ad22d[_0x387504(0x295)](_0x8ad22d[_0x387504(0x210)](_0x387504(0x280),_0x8ad22d['liFSi'](_0x8ad22d['EBmpd'](_0x282672,0x1),0x28)),_0x8ad22d[_0x387504(0x22d)]),_0x8ad22d['WrhvB'](_0x282672,0x28)),_0x387504(0x1ed))+_0x2407d9,'&bkn=')+_0x1ca278,_0x8ad22d[_0x387504(0x26f)],'',{'Cookie':_0x57d5e3});_0x3cf833['push'](_0x35a1d9);}for(let _0x1f7eff=0x1;_0x1f7eff<=_0x1e1d63;_0x1f7eff++){const _0xc1d0f0=await _0x3cf833[_0x1f7eff];if(!_0xc1d0f0?.[_0x387504(0x267)]||_0x8ad22d[_0x387504(0x20b)](_0xc1d0f0?.[_0x387504(0x286)],0x0)||!_0xc1d0f0?.[_0x387504(0x1f8)])continue;for(const _0x555552 in _0xc1d0f0[_0x387504(0x1f8)]){_0x20ddfc[_0x387504(0x233)](_0xc1d0f0[_0x387504(0x1f8)][_0x555552]);}}WebGroupData[_0x387504(0x261)][_0x387504(0x1f4)](_0x2407d9,_0x20ddfc),WebGroupData['GroupTime'][_0x387504(0x1f4)](_0x2407d9,Date[_0x387504(0x1f5)]());}else _0x20ddfc=_0x412ce7;}catch{return _0x20ddfc;}return _0x20ddfc;}static async[_0x5d645a(0x25b)](_0x3f84bd,_0x149e2b=''){const _0x35670e=_0x5d645a,_0x5e09b0={'YorsK':_0x35670e(0x222),'DAuEE':function(_0x3ee10b,_0x215f57){return _0x3ee10b+_0x215f57;},'PFRdf':function(_0x59fb80,_0x5e58b7){return _0x59fb80+_0x5e58b7;},'tMXPU':_0x35670e(0x227),'PTsUk':_0x35670e(0x28d),'aaiiS':_0x35670e(0x293),'rsEDH':function(_0x3c59cb,_0x54cb45){return _0x3c59cb||_0x54cb45;},'vQSpw':function(_0x23c7e4,_0xc95490){return _0x23c7e4+_0xc95490;},'bSMBN':_0x35670e(0x1fe),'qmoVD':'&text=','XvGAH':_0x35670e(0x1fb),'hwzqT':'GET'},_0x34d5c2=(await NTQQUserApi[_0x35670e(0x285)]([_0x5e09b0[_0x35670e(0x25f)]]))[_0x35670e(0x239)][_0x35670e(0x21d)](_0x35670e(0x222)),_0x746c1f=await NTQQUserApi[_0x35670e(0x289)](),_0x16debb=_0x5e09b0[_0x35670e(0x241)](_0x5e09b0[_0x35670e(0x274)](_0x5e09b0['DAuEE'](_0x5e09b0['tMXPU'],_0x34d5c2)+_0x5e09b0['PTsUk']+_0x746c1f,_0x5e09b0[_0x35670e(0x200)]),selfInfo[_0x35670e(0x259)]);let _0x1ff6fc=undefined;if(_0x5e09b0[_0x35670e(0x214)](!_0x746c1f,!_0x34d5c2))return undefined;const _0x5e74a2=WebApi[_0x35670e(0x244)](_0x746c1f),_0x6c3c5c=_0x5e09b0[_0x35670e(0x274)](_0x5e09b0['vQSpw'](_0x5e09b0['vQSpw'](_0x5e09b0['PFRdf'](_0x5e09b0[_0x35670e(0x1ef)],_0x3f84bd),_0x35670e(0x1fc)),_0x5e74a2),_0x5e09b0[_0x35670e(0x275)])+_0x149e2b+_0x5e09b0[_0x35670e(0x219)],_0x3af987=_0x5e09b0[_0x35670e(0x241)](_0x35670e(0x21f),_0x5e74a2);try{return _0x1ff6fc=await RequestUtil[_0x35670e(0x291)](_0x3af987,_0x5e09b0[_0x35670e(0x254)],'',{'Cookie':_0x16debb}),_0x1ff6fc;}catch(_0x1940b6){return undefined;}return undefined;}static async['getGrouptNotice'](_0x3bfde5){const _0x35386e=_0x5d645a,_0x4b5177={'ZBaMm':_0x35386e(0x222),'QSgDP':function(_0x43a8a6,_0x5a638b){return _0x43a8a6+_0x5a638b;},'lzxHu':function(_0x452abb,_0x1d49bc){return _0x452abb+_0x1d49bc;},'nwvqq':_0x35386e(0x28d),'evgcn':';\x20p_uin=o','gaIPV':function(_0x3b7dab,_0x59b975){return _0x3b7dab+_0x59b975;},'xPKbg':function(_0x15a5f3,_0x6ad6ba){return _0x15a5f3+_0x6ad6ba;},'ODuYQ':_0x35386e(0x28c),'QMcaM':_0x35386e(0x26d),'ANWaA':_0x35386e(0x220),'jFpTK':function(_0x4aa293,_0x7c81fb){return _0x4aa293!==_0x7c81fb;}},_0x36b2e1=(await NTQQUserApi[_0x35386e(0x285)]([_0x4b5177[_0x35386e(0x221)]]))[_0x35386e(0x239)][_0x35386e(0x21d)](_0x4b5177[_0x35386e(0x221)]),_0x2bc480=await NTQQUserApi[_0x35386e(0x289)](),_0x2302e8=_0x4b5177[_0x35386e(0x22e)](_0x4b5177[_0x35386e(0x23c)](_0x4b5177[_0x35386e(0x22e)](_0x4b5177[_0x35386e(0x22e)](_0x35386e(0x227),_0x36b2e1)+_0x4b5177[_0x35386e(0x234)],_0x2bc480),_0x4b5177['evgcn']),selfInfo[_0x35386e(0x259)]);let _0x32856b=undefined;if(!_0x2bc480||!_0x36b2e1)return undefined;const _0x2ca4ce=WebApi[_0x35386e(0x244)](_0x2bc480),_0x32bdd6=_0x4b5177[_0x35386e(0x23c)](_0x4b5177[_0x35386e(0x24b)](_0x4b5177[_0x35386e(0x256)](_0x4b5177[_0x35386e(0x223)]+_0x2ca4ce,_0x4b5177['QMcaM']),_0x3bfde5),_0x4b5177['ANWaA']);try{_0x32856b=await RequestUtil[_0x35386e(0x291)](_0x32bdd6,_0x35386e(0x296),'',{'Cookie':_0x2302e8});if(_0x4b5177[_0x35386e(0x23b)](_0x32856b?.['ec'],0x0))return undefined;return _0x32856b;}catch(_0x297e1e){return undefined;}return undefined;}static[_0x5d645a(0x244)](_0x5cacc5){const _0x14ea2c=_0x5d645a,_0x3d4f61={'jZRbo':function(_0x5099ac,_0x47e729){return _0x5099ac||_0x47e729;},'RkXcr':function(_0xaadc1b,_0x4ac1d3){return _0xaadc1b<_0x4ac1d3;},'mlrnD':function(_0x5cb82c,_0x43fbb2){return _0x5cb82c+_0x43fbb2;},'ZHsDf':function(_0x1c1a68,_0x21c463){return _0x1c1a68<<_0x21c463;}};_0x5cacc5=_0x3d4f61['jZRbo'](_0x5cacc5,'');let _0xad2cb5=0x1505;for(let _0x15658b=0x0;_0x3d4f61[_0x14ea2c(0x201)](_0x15658b,_0x5cacc5[_0x14ea2c(0x249)]);_0x15658b++){const _0x43761e=_0x5cacc5[_0x14ea2c(0x1f9)](_0x15658b);_0xad2cb5=_0x3d4f61['mlrnD'](_0x3d4f61[_0x14ea2c(0x20f)](_0xad2cb5,_0x3d4f61[_0x14ea2c(0x27a)](_0xad2cb5,0x5)),_0x43761e);}return(_0xad2cb5&0x7fffffff)[_0x14ea2c(0x20a)]();}static async[_0x5d645a(0x27f)](_0x319593,_0x30e66d){const _0x4627d9=_0x5d645a,_0x18aa3d={'SHpWX':function(_0x62b8e8,_0x19b794){return _0x62b8e8+_0x19b794;},'suDVK':function(_0x9c7d54,_0x23e3ee){return _0x9c7d54+_0x23e3ee;},'UysOT':_0x4627d9(0x273),'HCgLv':function(_0x3517f2,_0x5a601b,_0x1c1901,_0x4dc609){return _0x3517f2(_0x5a601b,_0x1c1901,_0x4dc609);},'uJsYq':_0x4627d9(0x25c),'wxYmd':_0x4627d9(0x222),'xKzOv':function(_0x371e56,_0x5b7d82){return _0x371e56+_0x5b7d82;},'URBet':function(_0x46ad62,_0x4356c0){return _0x46ad62+_0x4356c0;},'RiveS':function(_0x4f61af,_0x413317){return _0x4f61af+_0x413317;},'NdIDi':function(_0x4af7e7,_0x5c594e){return _0x4af7e7+_0x5c594e;},'Qxtqr':'p_skey=','wuOnJ':_0x4627d9(0x1f0),'gtpTT':function(_0x460848,_0x288410){return _0x460848===_0x288410;},'lzHkr':_0x4627d9(0x287),'VgMTV':function(_0x3addbe,_0x4192a9){return _0x3addbe(_0x4192a9);},'DRCqy':function(_0x40a690,_0x28043b){return _0x40a690===_0x28043b;},'TjSHB':function(_0x310b56,_0x3e5a65,_0x4e0030){return _0x310b56(_0x3e5a65,_0x4e0030);},'HBiLv':'获取群聊之火失败','zHbGK':function(_0x2b9a1b,_0x170ccd){return _0x2b9a1b===_0x170ccd;},'srJQq':'获取群聊炽焰失败','QpJtW':function(_0x51bbaf,_0x11796e,_0x4e27c0){return _0x51bbaf(_0x11796e,_0x4e27c0);},'vPoGs':_0x4627d9(0x281)},_0x3200e6=(await NTQQUserApi[_0x4627d9(0x285)]([_0x18aa3d['wxYmd']]))[_0x4627d9(0x239)][_0x4627d9(0x21d)](_0x18aa3d[_0x4627d9(0x22f)]),_0x3b81f5=await NTQQUserApi[_0x4627d9(0x289)]();if(!_0x3b81f5||!_0x3200e6)return undefined;async function _0x2cfd10(_0x3efe58,_0xe3f600){const _0x17aa3c=_0x4627d9;let _0x4b88df=_0x18aa3d[_0x17aa3c(0x282)](_0x18aa3d[_0x17aa3c(0x25a)](_0x17aa3c(0x242),_0x3efe58),_0x18aa3d[_0x17aa3c(0x23a)])+_0xe3f600['toString'](),_0x495acd='',_0x25cb0d;try{_0x495acd=await RequestUtil[_0x17aa3c(0x288)](_0x4b88df,_0x17aa3c(0x296),'',{'Cookie':_0x5984e0});const _0x4cbbec=_0x495acd[_0x17aa3c(0x25e)](/window\.__INITIAL_STATE__=(.*?);/);return _0x4cbbec&&(_0x25cb0d=JSON['parse'](_0x4cbbec[0x1][_0x17aa3c(0x23e)]())),_0xe3f600===0x1?_0x25cb0d?.[_0x17aa3c(0x21a)]:_0x25cb0d?.[_0x17aa3c(0x1f3)];}catch(_0x4de329){_0x18aa3d[_0x17aa3c(0x1f7)](logDebug,_0x18aa3d[_0x17aa3c(0x1f2)],_0x4b88df,_0x4de329);}return undefined;}let _0x4405ea={'group_id':_0x319593};const _0x5984e0=_0x18aa3d['suDVK'](_0x18aa3d[_0x4627d9(0x284)](_0x18aa3d[_0x4627d9(0x25a)](_0x18aa3d[_0x4627d9(0x250)](_0x18aa3d[_0x4627d9(0x218)](_0x18aa3d[_0x4627d9(0x263)](_0x18aa3d[_0x4627d9(0x23d)],_0x3200e6),_0x4627d9(0x28d)),_0x3b81f5),_0x4627d9(0x293)),selfInfo[_0x4627d9(0x259)]),_0x18aa3d[_0x4627d9(0x276)])+selfInfo[_0x4627d9(0x259)];if(_0x18aa3d[_0x4627d9(0x209)](_0x30e66d,WebHonorType[_0x4627d9(0x229)])||_0x30e66d===WebHonorType[_0x4627d9(0x1f6)])try{let _0x4dd567=await _0x2cfd10(_0x319593,0x1);if(!_0x4dd567)throw new Error(_0x18aa3d[_0x4627d9(0x243)]);_0x4405ea['current_talkative']={'user_id':_0x4dd567[0x0]?.[_0x4627d9(0x259)],'avatar':_0x4dd567[0x0]?.[_0x4627d9(0x269)],'nickname':_0x4dd567[0x0]?.['name'],'day_count':0x0,'description':_0x4dd567[0x0]?.['desc']},_0x4405ea[_0x4627d9(0x236)]=[];for(const _0x949b7b of _0x4dd567){_0x4405ea[_0x4627d9(0x236)][_0x4627d9(0x233)]({'user_id':_0x949b7b?.[_0x4627d9(0x259)],'avatar':_0x949b7b?.[_0x4627d9(0x269)],'description':_0x949b7b?.['desc'],'day_count':0x0,'nickname':_0x949b7b?.[_0x4627d9(0x20e)]});}}catch(_0x56b754){_0x18aa3d[_0x4627d9(0x202)](logDebug,_0x56b754);}if(_0x18aa3d['gtpTT'](_0x30e66d,WebHonorType[_0x4627d9(0x283)])||_0x18aa3d['DRCqy'](_0x30e66d,WebHonorType['ALL']))try{let _0x34115f=await _0x18aa3d[_0x4627d9(0x235)](_0x2cfd10,_0x319593,0x2);if(!_0x34115f)throw new Error(_0x18aa3d[_0x4627d9(0x28e)]);_0x4405ea[_0x4627d9(0x21b)]=[];for(const _0x1c9ce4 of _0x34115f){_0x4405ea[_0x4627d9(0x21b)][_0x4627d9(0x233)]({'user_id':_0x1c9ce4?.['uin'],'nickname':_0x1c9ce4?.['name'],'avatar':_0x1c9ce4?.[_0x4627d9(0x269)],'description':_0x1c9ce4?.[_0x4627d9(0x1ff)]});}}catch(_0x4cf1d3){_0x18aa3d[_0x4627d9(0x202)](logDebug,_0x4cf1d3);}if(_0x30e66d===WebHonorType[_0x4627d9(0x283)]||_0x18aa3d[_0x4627d9(0x216)](_0x30e66d,WebHonorType[_0x4627d9(0x1f6)]))try{let _0x4e0557=await _0x2cfd10(_0x319593,0x3);if(!_0x4e0557)throw new Error(_0x18aa3d[_0x4627d9(0x20d)]);_0x4405ea[_0x4627d9(0x204)]=[];for(const _0x13d985 of _0x4e0557){_0x4405ea['legend_list'][_0x4627d9(0x233)]({'user_id':_0x13d985?.['uin'],'nickname':_0x13d985?.[_0x4627d9(0x20e)],'avatar':_0x13d985?.[_0x4627d9(0x269)],'desc':_0x13d985?.[_0x4627d9(0x255)]});}}catch(_0x52af50){logDebug('获取群聊炽焰失败',_0x52af50);}if(_0x18aa3d[_0x4627d9(0x209)](_0x30e66d,WebHonorType[_0x4627d9(0x277)])||_0x18aa3d[_0x4627d9(0x209)](_0x30e66d,WebHonorType['ALL']))try{let _0x5b37ae=await _0x18aa3d[_0x4627d9(0x251)](_0x2cfd10,_0x319593,0x6);if(!_0x5b37ae)throw new Error(_0x18aa3d[_0x4627d9(0x22c)]);_0x4405ea['emotion_list']=[];for(const _0x5b2525 of _0x5b37ae){_0x4405ea[_0x4627d9(0x213)][_0x4627d9(0x233)]({'user_id':_0x5b2525?.[_0x4627d9(0x259)],'nickname':_0x5b2525?.[_0x4627d9(0x20e)],'avatar':_0x5b2525?.[_0x4627d9(0x269)],'desc':_0x5b2525?.['description']});}}catch(_0x1d5c7c){_0x18aa3d[_0x4627d9(0x235)](logDebug,_0x18aa3d['vPoGs'],_0x1d5c7c);}return(_0x18aa3d['gtpTT'](_0x30e66d,WebHonorType[_0x4627d9(0x277)])||_0x30e66d===WebHonorType[_0x4627d9(0x1f6)])&&(_0x4405ea[_0x4627d9(0x225)]=[]),_0x4405ea;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x5d645a(0x24d))],WebApi,_0x5d645a(0x27f),null); \ No newline at end of file +const _0x3493d5=_0x19b5;(function(_0x2ab1f5,_0x490750){const _0x2d8c9c=_0x19b5,_0x4ff362=_0x2ab1f5();while(!![]){try{const _0x3b77ed=-parseInt(_0x2d8c9c(0x140))/0x1+parseInt(_0x2d8c9c(0x142))/0x2+-parseInt(_0x2d8c9c(0xf1))/0x3*(-parseInt(_0x2d8c9c(0x15f))/0x4)+parseInt(_0x2d8c9c(0x13e))/0x5*(parseInt(_0x2d8c9c(0xc9))/0x6)+-parseInt(_0x2d8c9c(0x115))/0x7*(parseInt(_0x2d8c9c(0x14a))/0x8)+parseInt(_0x2d8c9c(0x15d))/0x9*(parseInt(_0x2d8c9c(0x12e))/0xa)+-parseInt(_0x2d8c9c(0x156))/0xb*(-parseInt(_0x2d8c9c(0xe0))/0xc);if(_0x3b77ed===_0x490750)break;else _0x4ff362['push'](_0x4ff362['shift']());}catch(_0x137c0c){_0x4ff362['push'](_0x4ff362['shift']());}}}(_0x3d99,0x8e317));var __decorate=this&&this[_0x3493d5(0x12c)]||function(_0x4cb6f2,_0x4ac6e6,_0x42c7fe,_0xc7e4a){const _0x51af9f=_0x3493d5,_0x317f70={'iqUUk':function(_0xa729e9,_0x50824f){return _0xa729e9<_0x50824f;},'DeKbU':function(_0x5f519a,_0x49566e){return _0x5f519a===_0x49566e;},'OxtqL':'object','fzWga':function(_0x343f30,_0x17f7ee){return _0x343f30-_0x17f7ee;},'ixOBR':function(_0x4297df,_0x46efc5){return _0x4297df>=_0x46efc5;},'MqLOB':function(_0x6d9b10,_0x1a3735){return _0x6d9b10>_0x1a3735;},'HgVYg':function(_0x8b130e,_0x57499e,_0x46825d,_0x2750ae){return _0x8b130e(_0x57499e,_0x46825d,_0x2750ae);},'FpuyW':function(_0x1566a9,_0x18c5c2){return _0x1566a9>_0x18c5c2;}};var _0x292880=arguments[_0x51af9f(0x124)],_0x9b369b=_0x317f70['iqUUk'](_0x292880,0x3)?_0x4ac6e6:_0x317f70[_0x51af9f(0xe9)](_0xc7e4a,null)?_0xc7e4a=Object['getOwnPropertyDescriptor'](_0x4ac6e6,_0x42c7fe):_0xc7e4a,_0x5377fb;if(_0x317f70[_0x51af9f(0xe9)](typeof Reflect,_0x317f70['OxtqL'])&&_0x317f70[_0x51af9f(0xe9)](typeof Reflect[_0x51af9f(0xea)],_0x51af9f(0x16b)))_0x9b369b=Reflect[_0x51af9f(0xea)](_0x4cb6f2,_0x4ac6e6,_0x42c7fe,_0xc7e4a);else{for(var _0x31447a=_0x317f70[_0x51af9f(0x139)](_0x4cb6f2[_0x51af9f(0x124)],0x1);_0x317f70[_0x51af9f(0x15a)](_0x31447a,0x0);_0x31447a--)if(_0x5377fb=_0x4cb6f2[_0x31447a])_0x9b369b=(_0x292880<0x3?_0x5377fb(_0x9b369b):_0x317f70['MqLOB'](_0x292880,0x3)?_0x317f70['HgVYg'](_0x5377fb,_0x4ac6e6,_0x42c7fe,_0x9b369b):_0x5377fb(_0x4ac6e6,_0x42c7fe))||_0x9b369b;}return _0x317f70[_0x51af9f(0x10a)](_0x292880,0x3)&&_0x9b369b&&Object[_0x51af9f(0x163)](_0x4ac6e6,_0x42c7fe,_0x9b369b),_0x9b369b;};import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0x26fc9a){const _0x2adaac=_0x3493d5,_0x2f3dc8={'yGuSH':'0|5|1|2|3|4','UfhPQ':'ALL','mprxF':_0x2adaac(0x169),'GIRHM':_0x2adaac(0x133),'HQdXO':'performer','zdhNB':_0x2adaac(0xe3),'kAAuz':_0x2adaac(0xfb),'ADMhU':_0x2adaac(0x161)},_0x457936=_0x2f3dc8[_0x2adaac(0xcb)][_0x2adaac(0x148)]('|');let _0x206628=0x0;while(!![]){switch(_0x457936[_0x206628++]){case'0':_0x26fc9a[_0x2f3dc8[_0x2adaac(0x10b)]]=_0x2f3dc8[_0x2adaac(0x13b)];continue;case'1':_0x26fc9a[_0x2f3dc8[_0x2adaac(0xe2)]]=_0x2f3dc8[_0x2adaac(0xe7)];continue;case'2':_0x26fc9a['LEGEND']=_0x2adaac(0xe1);continue;case'3':_0x26fc9a[_0x2adaac(0xc3)]=_0x2adaac(0x16d);continue;case'4':_0x26fc9a[_0x2f3dc8[_0x2adaac(0x110)]]=_0x2f3dc8[_0x2adaac(0x116)];continue;case'5':_0x26fc9a['TALKACTIVE']=_0x2f3dc8[_0x2adaac(0x127)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3493d5(0xf8)](_0x40f934,_0x2b6983){const _0x47d923=_0x3493d5,_0x1e522d={'qdExb':'qun.qq.com','VlAll':function(_0x31251a,_0x20de6f){return _0x31251a+_0x20de6f;},'tJTYq':function(_0x4f4511,_0x4c9f35){return _0x4f4511+_0x4c9f35;},'PQeqW':function(_0x27b87e,_0x54a1a3){return _0x27b87e+_0x54a1a3;},'PQvKW':'p_skey=','IYApq':_0x47d923(0x100),'wCraX':_0x47d923(0x12d),'aOmvD':_0x47d923(0xe5),'Sjlfq':function(_0x4035f5,_0x1b1300){return _0x4035f5||_0x1b1300;},'vWxQu':function(_0x1294e2,_0x5465a9){return _0x1294e2+_0x5465a9;},'AFSiR':function(_0x414af8,_0x573a55){return _0x414af8+_0x573a55;},'fzpeM':function(_0x19305b,_0x5bba40){return _0x19305b+_0x5bba40;},'JfPAL':_0x47d923(0x122),'WYZaK':_0x47d923(0xfc),'YKgCu':_0x47d923(0x109),'HNfVu':'GET'},_0x2230eb=(await NTQQUserApi['getPSkey']([_0x1e522d[_0x47d923(0xf2)]]))['domainPskeyMap']['get'](_0x47d923(0x10e)),_0x223171=await NTQQUserApi[_0x47d923(0x10f)](),_0x55a3e5=_0x1e522d['VlAll'](_0x1e522d[_0x47d923(0x112)](_0x1e522d[_0x47d923(0xd0)](_0x1e522d[_0x47d923(0xd0)](_0x1e522d[_0x47d923(0xf9)](_0x1e522d[_0x47d923(0xf9)](_0x1e522d['PQvKW'],_0x2230eb),_0x1e522d[_0x47d923(0xd6)])+_0x223171,_0x1e522d['wCraX']),selfInfo['uin']),_0x1e522d[_0x47d923(0x154)]),selfInfo[_0x47d923(0x13c)]);if(_0x1e522d[_0x47d923(0x106)](!_0x223171,!_0x2230eb))return undefined;const _0x18e032=WebApi[_0x47d923(0x11a)](_0x223171),_0x203abf=_0x1e522d[_0x47d923(0xbf)](_0x1e522d['AFSiR'](_0x1e522d[_0x47d923(0xbf)](_0x1e522d[_0x47d923(0xc8)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x18e032),_0x1e522d[_0x47d923(0x104)]),_0x40f934)+_0x1e522d[_0x47d923(0x12f)],_0x2b6983)+_0x1e522d[_0x47d923(0x14d)];let _0x410f73;try{_0x410f73=await RequestUtil['HttpGetJson'](_0x203abf,_0x1e522d[_0x47d923(0xd1)],'',{'Cookie':_0x55a3e5});}catch{return undefined;}if(_0x410f73[_0x47d923(0x12a)]!==0x0)return undefined;return _0x410f73;}static async[_0x3493d5(0x15e)](_0x3a5ea3,_0x53aae6=!![]){const _0x15dbe2=_0x3493d5,_0x3c1598={'dDDma':function(_0x247497,_0x52ad4e){return _0x247497>_0x52ad4e;},'MpTYL':_0x15dbe2(0x10e),'ZCQEf':function(_0x40e64a,_0x3e4fee){return _0x40e64a+_0x3e4fee;},'PmYOo':function(_0x5f1939,_0x2f8060){return _0x5f1939+_0x2f8060;},'JzpxC':function(_0x4771c9,_0x513645){return _0x4771c9+_0x513645;},'wgDxg':_0x15dbe2(0x136),'Chuzs':';\x20skey=','UMPNs':';\x20p_uin=o','BswJn':function(_0x3f014a,_0x49282b){return _0x3f014a+_0x49282b;},'gSwFT':function(_0x2aa0af,_0x37bb65){return _0x2aa0af+_0x37bb65;},'CoUSE':_0x15dbe2(0xe6),'mysbf':_0x15dbe2(0x105),'aIXfB':function(_0x1df05e,_0x30de25){return _0x1df05e!==_0x30de25;},'kMsLn':function(_0x3e9273,_0x513748){return _0x3e9273/_0x513748;},'NAOgN':function(_0x65a727,_0x39445e){return _0x65a727+_0x39445e;},'VXUPm':function(_0x4b2b5c,_0x7da618){return _0x4b2b5c+_0x7da618;},'sUFKj':function(_0x5e702f,_0x34d91d){return _0x5e702f+_0x34d91d;},'jwYzz':function(_0x52720a,_0x52e8ad){return _0x52720a+_0x52e8ad;},'uLwbG':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','ApdTq':function(_0x14c6c1,_0x22efa3){return _0x14c6c1-_0x22efa3;},'wHKcU':'&end=','GKUrE':function(_0x36d6be,_0x3eaba3){return _0x36d6be*_0x3eaba3;},'LZYiE':_0x15dbe2(0x11d),'ijIuE':function(_0x21ebfa,_0x2d77c6){return _0x21ebfa<=_0x2d77c6;},'Jzotv':function(_0x585c3e,_0x2c7133){return _0x585c3e!==_0x2c7133;}};let _0x5bb0a2=new Array();try{let _0x208a2f=WebGroupData[_0x15dbe2(0xeb)]['get'](_0x3a5ea3),_0x5a925a=WebGroupData[_0x15dbe2(0x125)][_0x15dbe2(0x143)](_0x3a5ea3);if(!_0x5a925a||_0x3c1598[_0x15dbe2(0xef)](Date['now']()-_0x5a925a,0x708*0x3e8)||!_0x53aae6){const _0xa9b95c=(await NTQQUserApi[_0x15dbe2(0xca)]([_0x3c1598[_0x15dbe2(0xec)]]))[_0x15dbe2(0x146)]['get'](_0x3c1598[_0x15dbe2(0xec)]),_0xb03c8=await NTQQUserApi[_0x15dbe2(0x10f)](),_0x17d4a9=_0x3c1598[_0x15dbe2(0xdd)](_0x3c1598['PmYOo'](_0x3c1598[_0x15dbe2(0x118)](_0x3c1598['JzpxC'](_0x3c1598['ZCQEf'](_0x3c1598[_0x15dbe2(0xf0)],_0xa9b95c),_0x3c1598[_0x15dbe2(0xbd)]),_0xb03c8),_0x3c1598[_0x15dbe2(0xc7)]),selfInfo[_0x15dbe2(0x13c)]);if(!_0xb03c8||!_0xa9b95c)return _0x5bb0a2;const _0x3bc874=WebApi[_0x15dbe2(0x11a)](_0xb03c8),_0x14ae92=[],_0x24a4a3=await RequestUtil[_0x15dbe2(0xd7)](_0x3c1598[_0x15dbe2(0x14e)](_0x3c1598[_0x15dbe2(0x10d)](_0x3c1598[_0x15dbe2(0x108)],_0x3a5ea3)+_0x3c1598['mysbf'],_0x3bc874),_0x15dbe2(0xfe),'',{'Cookie':_0x17d4a9});if(!_0x24a4a3?.[_0x15dbe2(0x134)]||_0x3c1598['aIXfB'](_0x24a4a3?.[_0x15dbe2(0xd8)],0x0)||!_0x24a4a3?.[_0x15dbe2(0xc5)])return[];else for(const _0x4ae07b in _0x24a4a3[_0x15dbe2(0xc5)]){_0x5bb0a2[_0x15dbe2(0xfd)](_0x24a4a3[_0x15dbe2(0xc5)][_0x4ae07b]);}const _0x1da36b=Math[_0x15dbe2(0x117)](_0x3c1598['kMsLn'](_0x24a4a3['count'],0x28));for(let _0x4c337f=0x2;_0x4c337f<=_0x1da36b;_0x4c337f++){const _0x5a7834=RequestUtil['HttpGetJson'](_0x3c1598[_0x15dbe2(0x138)](_0x3c1598[_0x15dbe2(0xdd)](_0x3c1598[_0x15dbe2(0xee)](_0x3c1598[_0x15dbe2(0x118)](_0x3c1598[_0x15dbe2(0x158)](_0x3c1598[_0x15dbe2(0x152)](_0x3c1598[_0x15dbe2(0xf6)],_0x3c1598[_0x15dbe2(0x16a)](_0x4c337f,0x1)*0x28),_0x3c1598[_0x15dbe2(0x166)]),_0x3c1598[_0x15dbe2(0xce)](_0x4c337f,0x28)),_0x3c1598[_0x15dbe2(0x16f)]),_0x3a5ea3),_0x3c1598[_0x15dbe2(0xed)])+_0x3bc874,_0x15dbe2(0xfe),'',{'Cookie':_0x17d4a9});_0x14ae92[_0x15dbe2(0xfd)](_0x5a7834);}for(let _0x3e6160=0x1;_0x3c1598['ijIuE'](_0x3e6160,_0x1da36b);_0x3e6160++){const _0x4d3147=await _0x14ae92[_0x3e6160];if(!_0x4d3147?.[_0x15dbe2(0x134)]||_0x3c1598[_0x15dbe2(0x14f)](_0x4d3147?.[_0x15dbe2(0xd8)],0x0)||!_0x4d3147?.[_0x15dbe2(0xc5)])continue;for(const _0x83cd7f in _0x4d3147[_0x15dbe2(0xc5)]){_0x5bb0a2[_0x15dbe2(0xfd)](_0x4d3147[_0x15dbe2(0xc5)][_0x83cd7f]);}}WebGroupData[_0x15dbe2(0xeb)][_0x15dbe2(0x168)](_0x3a5ea3,_0x5bb0a2),WebGroupData['GroupTime'][_0x15dbe2(0x168)](_0x3a5ea3,Date['now']());}else _0x5bb0a2=_0x208a2f;}catch{return _0x5bb0a2;}return _0x5bb0a2;}static async['setGroupNotice'](_0x37a172,_0x405c6b=''){const _0x545a27=_0x3493d5,_0x1c26bf={'eSnLi':'qun.qq.com','CrdPl':function(_0x28d609,_0x1c0767){return _0x28d609+_0x1c0767;},'aaoTi':function(_0x3c8567,_0x528033){return _0x3c8567+_0x528033;},'MRnYm':function(_0x10890a,_0x510acb){return _0x10890a+_0x510acb;},'thYCB':_0x545a27(0x136),'eElQd':_0x545a27(0x12d),'RnimJ':function(_0x520f49,_0x5215b1){return _0x520f49+_0x5215b1;},'hGpZU':_0x545a27(0x105),'EluRv':_0x545a27(0xfa),'rMdnO':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','ZTEcQ':_0x545a27(0xcf)},_0xe02c47=(await NTQQUserApi['getPSkey']([_0x1c26bf['eSnLi']]))[_0x545a27(0x146)]['get'](_0x1c26bf[_0x545a27(0xd4)]),_0x4415c6=await NTQQUserApi[_0x545a27(0x10f)](),_0xcffe12=_0x1c26bf['CrdPl'](_0x1c26bf[_0x545a27(0x113)](_0x1c26bf[_0x545a27(0x15b)](_0x1c26bf[_0x545a27(0x11e)],_0xe02c47)+_0x545a27(0x100),_0x4415c6)+_0x1c26bf[_0x545a27(0x130)],selfInfo[_0x545a27(0x13c)]);let _0xc92c56=undefined;if(!_0x4415c6||!_0xe02c47)return undefined;const _0x1807f8=WebApi[_0x545a27(0x11a)](_0x4415c6),_0x2fcbcf=_0x1c26bf['MRnYm'](_0x1c26bf[_0x545a27(0x15b)](_0x1c26bf[_0x545a27(0x159)](_0x1c26bf[_0x545a27(0x15b)](_0x545a27(0x16c),_0x37a172)+_0x1c26bf['hGpZU'],_0x1807f8),'&text='),_0x405c6b)+_0x1c26bf[_0x545a27(0xc2)],_0x229a47=_0x1c26bf[_0x545a27(0x14b)](_0x1c26bf[_0x545a27(0xf4)],_0x1807f8);try{return _0xc92c56=await RequestUtil[_0x545a27(0xd7)](_0x229a47,_0x1c26bf[_0x545a27(0xd2)],'',{'Cookie':_0xcffe12}),_0xc92c56;}catch(_0x263d55){return undefined;}return undefined;}static async[_0x3493d5(0x144)](_0x3841b9){const _0x37c6ac=_0x3493d5,_0x353b7d={'EZsha':'qun.qq.com','EJVcc':function(_0x386418,_0xde3653){return _0x386418+_0xde3653;},'wTuqr':function(_0x4c8268,_0x2eae2c){return _0x4c8268+_0x2eae2c;},'YDzJQ':_0x37c6ac(0x136),'xkuUF':_0x37c6ac(0x100),'KAERk':_0x37c6ac(0x12d),'SjrSS':function(_0x367ad2,_0x2e1076){return _0x367ad2+_0x2e1076;},'qLLuR':function(_0x2e17ac,_0x4c6ce9){return _0x2e17ac+_0x4c6ce9;},'QLZFM':function(_0x2ec2e5,_0x3a44f1){return _0x2ec2e5+_0x3a44f1;},'qJkIw':_0x37c6ac(0xf7),'maKew':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','wbbyI':_0x37c6ac(0xcf),'KXIJt':function(_0x52ad1a,_0x4de363){return _0x52ad1a!==_0x4de363;}},_0x542eea=(await NTQQUserApi[_0x37c6ac(0xca)]([_0x353b7d[_0x37c6ac(0x162)]]))[_0x37c6ac(0x146)][_0x37c6ac(0x143)](_0x353b7d[_0x37c6ac(0x162)]),_0x1cbb73=await NTQQUserApi['getSkey'](),_0x574674=_0x353b7d[_0x37c6ac(0x11c)](_0x353b7d[_0x37c6ac(0x11c)](_0x353b7d['EJVcc'](_0x353b7d[_0x37c6ac(0xde)](_0x353b7d['YDzJQ'],_0x542eea),_0x353b7d[_0x37c6ac(0x135)]),_0x1cbb73)+_0x353b7d[_0x37c6ac(0x167)],selfInfo['uin']);let _0x1a235d=undefined;if(!_0x1cbb73||!_0x542eea)return undefined;const _0xd34209=WebApi[_0x37c6ac(0x11a)](_0x1cbb73),_0x2fe052=_0x353b7d['SjrSS'](_0x353b7d['SjrSS'](_0x353b7d['qLLuR'](_0x353b7d[_0x37c6ac(0x121)](_0x353b7d[_0x37c6ac(0xcc)],_0xd34209),_0x37c6ac(0x149)),_0x3841b9),_0x353b7d[_0x37c6ac(0x102)]);try{_0x1a235d=await RequestUtil['HttpGetJson'](_0x2fe052,_0x353b7d['wbbyI'],'',{'Cookie':_0x574674});if(_0x353b7d[_0x37c6ac(0x165)](_0x1a235d?.['ec'],0x0))return undefined;return _0x1a235d;}catch(_0x289dfe){return undefined;}return undefined;}static[_0x3493d5(0x11a)](_0x1b94c4){const _0x4cd5f0=_0x3493d5,_0x7efeef={'lxFDl':function(_0x584c2a,_0x3237ea){return _0x584c2a||_0x3237ea;},'SqoAX':function(_0x5e3a79,_0x18d063){return _0x5e3a79<_0x18d063;},'gTiTX':function(_0x395571,_0x22c7a1){return _0x395571+_0x22c7a1;},'BTcak':function(_0x5df45d,_0x15d703){return _0x5df45d<<_0x15d703;},'IVgmF':function(_0x385e1b,_0xba11c0){return _0x385e1b&_0xba11c0;}};_0x1b94c4=_0x7efeef[_0x4cd5f0(0xbe)](_0x1b94c4,'');let _0x1bee81=0x1505;for(let _0x15a7bd=0x0;_0x7efeef['SqoAX'](_0x15a7bd,_0x1b94c4[_0x4cd5f0(0x124)]);_0x15a7bd++){const _0xa75cee=_0x1b94c4[_0x4cd5f0(0xbc)](_0x15a7bd);_0x1bee81=_0x7efeef[_0x4cd5f0(0x13f)](_0x7efeef['gTiTX'](_0x1bee81,_0x7efeef['BTcak'](_0x1bee81,0x5)),_0xa75cee);}return _0x7efeef[_0x4cd5f0(0xe4)](_0x1bee81,0x7fffffff)[_0x4cd5f0(0x12b)]();}static async[_0x3493d5(0xc0)](_0x423456,_0x53ed9d){const _0x312119=_0x3493d5,_0x4dcdad={'OmHRX':function(_0x2a2c6f,_0x3ae899){return _0x2a2c6f+_0x3ae899;},'KNQmA':function(_0x54e834,_0x19ecbf){return _0x54e834+_0x19ecbf;},'GbZMv':_0x312119(0x131),'hUkUa':_0x312119(0x107),'WiHNK':_0x312119(0xcf),'edbgQ':function(_0x2aa374,_0x4e9535){return _0x2aa374===_0x4e9535;},'INrNu':function(_0x4569d0,_0x4a495f,_0x442d79,_0x16b496){return _0x4569d0(_0x4a495f,_0x442d79,_0x16b496);},'OyUkx':_0x312119(0x10e),'rvzkw':function(_0x55ba4a,_0x345a22){return _0x55ba4a+_0x345a22;},'LTnRC':function(_0x57642e,_0x38f796){return _0x57642e+_0x38f796;},'zQabI':function(_0x5eb990,_0x3227aa){return _0x5eb990+_0x3227aa;},'gkWVn':_0x312119(0x136),'TLEHe':_0x312119(0x100),'seRje':';\x20p_uin=o','QYKOE':_0x312119(0xe5),'SStQv':function(_0x2c561f,_0x58966a){return _0x2c561f===_0x58966a;},'koAMF':function(_0x57a53f,_0x57caf7,_0x5a141a){return _0x57a53f(_0x57caf7,_0x5a141a);},'Amkzv':_0x312119(0x145),'pvSPS':function(_0x5e7e00,_0x1ac5fc){return _0x5e7e00===_0x1ac5fc;},'vSrau':_0x312119(0x14c),'fpmGG':function(_0x15a430,_0x42a3eb){return _0x15a430(_0x42a3eb);},'GPhmh':_0x312119(0xdf),'hKGUK':function(_0x27e8a7,_0x5ca92f,_0x169473){return _0x27e8a7(_0x5ca92f,_0x169473);},'SfaYO':_0x312119(0x126),'NQmxf':function(_0x3ead9a,_0x398f84){return _0x3ead9a===_0x398f84;}},_0x17aa75=(await NTQQUserApi[_0x312119(0xca)]([_0x4dcdad[_0x312119(0xdb)]]))['domainPskeyMap'][_0x312119(0x143)](_0x4dcdad['OyUkx']),_0x2e5488=await NTQQUserApi[_0x312119(0x10f)]();if(!_0x2e5488||!_0x17aa75)return undefined;async function _0x561488(_0x580210,_0x86697f){const _0x5cb178=_0x312119;let _0x26fe44=_0x4dcdad['OmHRX'](_0x4dcdad[_0x5cb178(0x123)](_0x4dcdad[_0x5cb178(0x11b)],_0x580210)+_0x4dcdad[_0x5cb178(0x111)],_0x86697f['toString']()),_0x50bfee='',_0x26e69c;try{_0x50bfee=await RequestUtil[_0x5cb178(0xc6)](_0x26fe44,_0x4dcdad[_0x5cb178(0x137)],'',{'Cookie':_0x307539});const _0x28ce79=_0x50bfee[_0x5cb178(0x119)](/window\.__INITIAL_STATE__=(.*?);/);return _0x28ce79&&(_0x26e69c=JSON[_0x5cb178(0x129)](_0x28ce79[0x1][_0x5cb178(0x10c)]())),_0x4dcdad[_0x5cb178(0x150)](_0x86697f,0x1)?_0x26e69c?.[_0x5cb178(0xd3)]:_0x26e69c?.[_0x5cb178(0x103)];}catch(_0x3fd449){_0x4dcdad[_0x5cb178(0x13a)](logDebug,_0x5cb178(0x101),_0x26fe44,_0x3fd449);}return undefined;}let _0x5e1ca5={'group_id':_0x423456};const _0x307539=_0x4dcdad[_0x312119(0x153)](_0x4dcdad[_0x312119(0x123)](_0x4dcdad[_0x312119(0x16e)](_0x4dcdad['OmHRX'](_0x4dcdad[_0x312119(0x132)](_0x4dcdad[_0x312119(0x128)],_0x17aa75),_0x4dcdad[_0x312119(0x11f)]),_0x2e5488),_0x4dcdad['seRje']),selfInfo['uin'])+_0x4dcdad['QYKOE']+selfInfo[_0x312119(0x13c)];if(_0x4dcdad[_0x312119(0x150)](_0x53ed9d,WebHonorType[_0x312119(0x164)])||_0x4dcdad['SStQv'](_0x53ed9d,WebHonorType[_0x312119(0xe8)]))try{let _0x27b2c7=await _0x4dcdad[_0x312119(0xcd)](_0x561488,_0x423456,0x1);if(!_0x27b2c7)throw new Error(_0x4dcdad['Amkzv']);_0x5e1ca5[_0x312119(0x141)]={'user_id':_0x27b2c7[0x0]?.['uin'],'avatar':_0x27b2c7[0x0]?.[_0x312119(0xc1)],'nickname':_0x27b2c7[0x0]?.['name'],'day_count':0x0,'description':_0x27b2c7[0x0]?.[_0x312119(0x120)]},_0x5e1ca5[_0x312119(0xd5)]=[];for(const _0x114976 of _0x27b2c7){_0x5e1ca5[_0x312119(0xd5)][_0x312119(0xfd)]({'user_id':_0x114976?.[_0x312119(0x13c)],'avatar':_0x114976?.['avatar'],'description':_0x114976?.['desc'],'day_count':0x0,'nickname':_0x114976?.[_0x312119(0x15c)]});}}catch(_0x53a555){logDebug(_0x53a555);}if(_0x4dcdad['SStQv'](_0x53ed9d,WebHonorType[_0x312119(0x133)])||_0x4dcdad['pvSPS'](_0x53ed9d,WebHonorType['ALL']))try{let _0x226bf4=await _0x4dcdad[_0x312119(0xcd)](_0x561488,_0x423456,0x2);if(!_0x226bf4)throw new Error(_0x4dcdad[_0x312119(0xd9)]);_0x5e1ca5[_0x312119(0x160)]=[];for(const _0x1ceb4b of _0x226bf4){_0x5e1ca5[_0x312119(0x160)][_0x312119(0xfd)]({'user_id':_0x1ceb4b?.[_0x312119(0x13c)],'nickname':_0x1ceb4b?.[_0x312119(0x15c)],'avatar':_0x1ceb4b?.[_0x312119(0xc1)],'description':_0x1ceb4b?.[_0x312119(0x120)]});}}catch(_0xb66dde){_0x4dcdad[_0x312119(0x157)](logDebug,_0xb66dde);}if(_0x53ed9d===WebHonorType[_0x312119(0x133)]||_0x53ed9d===WebHonorType[_0x312119(0xe8)])try{let _0x4dd379=await _0x4dcdad[_0x312119(0xcd)](_0x561488,_0x423456,0x3);if(!_0x4dd379)throw new Error(_0x4dcdad['GPhmh']);_0x5e1ca5[_0x312119(0x114)]=[];for(const _0xd3d203 of _0x4dd379){_0x5e1ca5[_0x312119(0x114)][_0x312119(0xfd)]({'user_id':_0xd3d203?.['uin'],'nickname':_0xd3d203?.[_0x312119(0x15c)],'avatar':_0xd3d203?.['avatar'],'desc':_0xd3d203?.[_0x312119(0x151)]});}}catch(_0x1aa4b2){_0x4dcdad[_0x312119(0xcd)](logDebug,_0x4dcdad[_0x312119(0xdc)],_0x1aa4b2);}if(_0x4dcdad[_0x312119(0xf5)](_0x53ed9d,WebHonorType['EMOTION'])||_0x4dcdad[_0x312119(0xf3)](_0x53ed9d,WebHonorType['ALL']))try{let _0x271b5e=await _0x4dcdad[_0x312119(0x155)](_0x561488,_0x423456,0x6);if(!_0x271b5e)throw new Error(_0x4dcdad[_0x312119(0x147)]);_0x5e1ca5['emotion_list']=[];for(const _0x5eb8dc of _0x271b5e){_0x5e1ca5[_0x312119(0xda)][_0x312119(0xfd)]({'user_id':_0x5eb8dc?.[_0x312119(0x13c)],'nickname':_0x5eb8dc?.[_0x312119(0x15c)],'avatar':_0x5eb8dc?.[_0x312119(0xc1)],'desc':_0x5eb8dc?.[_0x312119(0x151)]});}}catch(_0xeb134){logDebug(_0x4dcdad[_0x312119(0x147)],_0xeb134);}return(_0x4dcdad[_0x312119(0xf5)](_0x53ed9d,WebHonorType[_0x312119(0xe3)])||_0x4dcdad[_0x312119(0xc4)](_0x53ed9d,WebHonorType[_0x312119(0xe8)]))&&(_0x5e1ca5[_0x312119(0xff)]=[]),_0x5e1ca5;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x3493d5(0x13d))],WebApi,_0x3493d5(0xc0),null);function _0x19b5(_0x2c5442,_0x416b3c){const _0x3d9947=_0x3d99();return _0x19b5=function(_0x19b559,_0x150fc8){_0x19b559=_0x19b559-0xbc;let _0x54ddbb=_0x3d9947[_0x19b559];return _0x54ddbb;},_0x19b5(_0x2c5442,_0x416b3c);}function _0x3d99(){const _0x325f5b=['emotion_list','OyUkx','GPhmh','ZCQEf','wTuqr','获取群聊炽焰失败','8393796mOiZmK','legend','GIRHM','EMOTION','IVgmF',';\x20uin=o','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','HQdXO','ALL','DeKbU','decorate','GroupData','MpTYL','mysbf','VXUPm','dDDma','wgDxg','31623nPfGRB','qdExb','SStQv','rMdnO','pvSPS','uLwbG','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','getGroupEssenceMsg','VlAll','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','emotion','&page_start=','push','POST','strong_newbie_list',';\x20skey=','获取当前群荣耀失败','maKew','actorList','JfPAL','&bkn=','Sjlfq','&type=','CoUSE','&page_limit=20','FpuyW','UfhPQ','trim','gSwFT','qun.qq.com','getSkey','zdhNB','hUkUa','tJTYq','aaoTi','legend_list','4435214jUkpYk','kAAuz','ceil','JzpxC','match','genBkn','GbZMv','EJVcc','&sort=1&gc=','thYCB','TLEHe','desc','QLZFM','&group_code=','KNQmA','length','GroupTime','获取快乐源泉失败','ADMhU','gkWVn','parse','retcode','toString','__decorate',';\x20p_uin=o','30cARMYi','WYZaK','eElQd','https://qun.qq.com/interactive/honorlist?gc=','zQabI','PERFROMER','count','xkuUF','p_skey=','WiHNK','NAOgN','fzWga','INrNu','mprxF','uin','GroupHonorInfo','215byVbWS','gTiTX','737209wkQyYJ','current_talkative','553744tzROMu','get','getGrouptNotice','获取龙王信息失败','domainPskeyMap','SfaYO','split','&qid=','8anTCxd','CrdPl','获取群聊之火失败','YKgCu','BswJn','Jzotv','edbgQ','description','jwYzz','rvzkw','aOmvD','hKGUK','11qmJiEz','fpmGG','sUFKj','RnimJ','ixOBR','MRnYm','name','117324yHTrHk','getGroupMembers','104MRnWTK','performer_list','talkative','EZsha','defineProperty','TALKACTIVE','KXIJt','wHKcU','KAERk','set','all','ApdTq','function','qid=','strong_newbie','LTnRC','LZYiE','charCodeAt','Chuzs','lxFDl','vWxQu','getGroupHonorInfo','avatar','EluRv','STORONGE_NEWBI','NQmxf','mems','HttpGetText','UMPNs','fzpeM','92610rYAfTC','getPSkey','yGuSH','qJkIw','koAMF','GKUrE','GET','PQeqW','HNfVu','ZTEcQ','talkativeList','eSnLi','talkative_list','IYApq','HttpGetJson','errcode','vSrau'];_0x3d99=function(){return _0x325f5b;};return _0x3d99();} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 0d29d31d..b364d7b0 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x2263d0=_0x3ceb;(function(_0x14bb8f,_0x10ae19){const _0x3bc10f=_0x3ceb,_0x358fee=_0x14bb8f();while(!![]){try{const _0x55c055=parseInt(_0x3bc10f(0x191))/0x1+-parseInt(_0x3bc10f(0x11e))/0x2*(parseInt(_0x3bc10f(0x1ab))/0x3)+parseInt(_0x3bc10f(0x11a))/0x4+parseInt(_0x3bc10f(0x17c))/0x5+parseInt(_0x3bc10f(0x1b5))/0x6+-parseInt(_0x3bc10f(0x15a))/0x7*(parseInt(_0x3bc10f(0x18c))/0x8)+-parseInt(_0x3bc10f(0x175))/0x9*(parseInt(_0x3bc10f(0x16d))/0xa);if(_0x55c055===_0x10ae19)break;else _0x358fee['push'](_0x358fee['shift']());}catch(_0x5e8619){_0x358fee['push'](_0x358fee['shift']());}}}(_0x12f3,0x7bd2f));import _0x3cd8a9 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5e2c3d from'node:path';import _0x56a68b from'node:os';import _0x2be878 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';function _0x12f3(){const _0x857e02=['登录失败(onQRCodeSessionFailed)','LocalLoginInfoList','map','onMemberInfoChange','2850516DnZFsi','onQRCodeSessionFailed','onQRCodeLoginSucceed','getMsgService','46jcJXVK','last_message_time','dataPathGlobal','mlrRZ','addKernelGroupListener','loginErrorInfo','resolve','onSelfStatusChanged','undefined','push',')已登录,无法重复登录','onGroupListUpdate','WCvkq','./.config/QQ','getLoginList','PbiiP','onSessionInitComplete','没有可快速登录的QQ号','onBuddyListChange','addKernelLoginListener','addListener','sSNkB','assign','delete','ulDJC','./NapCat/data','message_received','账号设备(','[KickedOffLine]\x20[','constructor','gRBcH','find','Pnzrg','packet_sent','rbpps','aTIiN','当前账号(','NodeIKernelMsgListener','uqiZr','tipsTitle','initWithDeskTopConfig','CSeKh','stringify','hGjsq','uin','md5','fzhLD','exrau','init\x20failed\x20','vMYyM','IKFat','NodeIQQNTWrapperEngine','initConfig','NodeIKernelLoginService','vAXCI','NodeIDependsAdapter','result','dataPath','onRecvMsg','groupCode','37331OtlOBw','KURSw','onMemberListChange','isDelete','NodeIKernelGroupListener','loginListener','buddyList','GroupListener','isQuickLogin','catch','getQRCodePicture','peBLS','initSession\x20failed','NodeQQNTWrapperUtil','packet_received','V1_WIN_NQ_','get','memberCount','homedir','190zRnRFq','split','登录失败(onLoginFailed)','FtoZZ','uid','groupMemberList_MainWindow','devUid','VHOOc','181044RAJlWV','quickLoginWithUin','qrLogin','ZOOKG','set','onQRCodeGetPicture','passwordLogin','2952370Tpjwqq','onLoginSuccessFuncList','has','mkdirSync','onRecvSysMsg','replace','curVersion','getNextMemberList','onProfileDetailInfoChanged','digest','floor','IsuOr','\x20has\x20no\x20method\x20','quickLogin','startNT','initDataListener','1400FdmGaR','base64','session','GwIMC','loginService','8400BsOPzP','HICzJ','soZQP','message_sent','pngBase64QrcodeData','pSkGh','consoleLogLevel','onLoginFailed','addKernelMsgListener','NodeIDispatcherAdapter','poifh','MbFUW','cBSRB','iTIZC','TTGwu','from','infos','KtBzo','now','lIKXD','DtNuS','./nt_qq/global','then','本账号数据/缓存目录:','getBuddyService','length','22863CeNJaW','uURdw','proxyHandler','engine','NodeIKernelProfileListener','consoleLog','KQsHr','oCtDp','140022008','dXmWe','4118652OQugGb','GraYI','NodeIKernelSessionListener','NodeIQQNTWrapperSession','onLineDev','addKernelBuddyListener','init','forEach','UqOMJ','qrcodeUrl','fileLogLevel','YvyuQ','-v2.db','util','getQuickLoginList','uxvHM','clientType','JZxxh','createHash','name','140022013','快速登录失败\x20','快速登录不可用','hex','getProfileService','_GW_B','read','BuddyListener','FcYJq','getGroupService','getBuddyList'];_0x12f3=function(){return _0x857e02;};return _0x12f3();}import{sleep}from'@/common/utils/helper';import _0x4f05e3 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{[_0x2263d0(0x18e)];[_0x2263d0(0x1c2)];[_0x2263d0(0x1ae)];[_0x2263d0(0x15f)];[_0x2263d0(0x190)];[_0x2263d0(0x17d)]=[];[_0x2263d0(0x1ad)]={'get'(target,prop,receiver){const _0x2cfd4b=_0x2263d0,MhSWXM={'JZxxh':function(x,y){return x===y;},'VHOOc':_0x2cfd4b(0x126)};if(MhSWXM[_0x2cfd4b(0x1c6)](typeof target[prop],MhSWXM[_0x2cfd4b(0x174)]))return(...args)=>{const _0xb7608d=_0x2cfd4b;logDebug(target[_0xb7608d(0x13b)][_0xb7608d(0x1c8)]+_0xb7608d(0x188)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x4665b9=_0x2263d0,_0x55f819={'lIKXD':function(_0x4517ff,_0x5a6fd1){return _0x4517ff+_0x5a6fd1;},'IsuOr':_0x4665b9(0x142),'soZQP':_0x4665b9(0x128),'TjBQf':function(_0x22e232,_0x3681e5){return _0x22e232(_0x3681e5);},'peBLS':function(_0x59b5ae,_0x324144){return _0x59b5ae(_0x324144);},'TJuWJ':function(_0xf5cb80,_0x54a8de,_0x56e555){return _0xf5cb80(_0x54a8de,_0x56e555);},'Pnzrg':_0x4665b9(0x1a8),'vAXCI':function(_0x593519,_0x3d2ba3,_0x2942df){return _0x593519(_0x3d2ba3,_0x2942df);},'GwMWR':_0x4665b9(0x166),'YvyuQ':_0x4665b9(0x1d4),'gvdqB':function(_0x58f252,_0x4dcbb5){return _0x58f252==_0x4dcbb5;}};this[_0x4665b9(0x1ae)]=new _0x3cd8a9[(_0x4665b9(0x151))](),this[_0x4665b9(0x1c2)]=new _0x3cd8a9[(_0x4665b9(0x167))](),this[_0x4665b9(0x190)]=new _0x3cd8a9[(_0x4665b9(0x153))](),this[_0x4665b9(0x18e)]=new _0x3cd8a9[(_0x4665b9(0x1b8))](),this[_0x4665b9(0x15f)]=new LoginListener(),this[_0x4665b9(0x15f)]['onUserLoggedIn']=_0x4e1a42=>{const _0x525b7b=_0x4665b9;logError(_0x55f819[_0x525b7b(0x1a4)](_0x55f819[_0x525b7b(0x187)],_0x4e1a42)+_0x55f819[_0x525b7b(0x193)]);},this['initConfig'](),this[_0x4665b9(0x15f)][_0x4665b9(0x11c)]=_0x4a2a7d=>{const _0x420095=_0x4665b9,_0x11607a={'MbFUW':function(_0x57817c,_0xad8025,_0x276fd2){return _0x57817c(_0xad8025,_0x276fd2);},'uURdw':function(_0x23d4dd,_0x472980,_0x39e8df){return _0x23d4dd(_0x472980,_0x39e8df);},'IKFat':function(_0x1a24f2,_0x9c2bea){return _0x55f819['TjBQf'](_0x1a24f2,_0x9c2bea);},'GraYI':function(_0x36aeb4,_0x1aee2d){const _0x2a2a36=_0x3ceb;return _0x55f819[_0x2a2a36(0x165)](_0x36aeb4,_0x1aee2d);},'dXmWe':function(_0x22ad5e,_0x13d90e,_0x3828a5){return _0x55f819['TJuWJ'](_0x22ad5e,_0x13d90e,_0x3828a5);},'exrau':_0x55f819[_0x420095(0x13e)],'vteWi':function(_0x34b91f,_0x58b7e3,_0x5db3a5){return _0x55f819['vAXCI'](_0x34b91f,_0x58b7e3,_0x5db3a5);},'LXlSI':_0x55f819['GwMWR']};this['initSession'](_0x4a2a7d[_0x420095(0x14a)],_0x4a2a7d[_0x420095(0x171)])['then'](_0x484465=>{const _0x379ae3=_0x420095,_0x120bc6={'vMYyM':function(_0x3d29d6,_0x426bbc,_0x59faed){const _0x4433d2=_0x3ceb;return _0x11607a[_0x4433d2(0x19c)](_0x3d29d6,_0x426bbc,_0x59faed);},'qumcO':'数据库初始化失败'};selfInfo[_0x379ae3(0x14a)]=_0x4a2a7d['uin'],selfInfo['uid']=_0x4a2a7d[_0x379ae3(0x171)],napCatConfig[_0x379ae3(0x1cf)](),_0x11607a[_0x379ae3(0x1ac)](setLogLevel,napCatConfig[_0x379ae3(0x1bf)],napCatConfig[_0x379ae3(0x197)]),enableFileLog(napCatConfig['fileLog']),_0x11607a[_0x379ae3(0x150)](enableConsoleLog,napCatConfig[_0x379ae3(0x1b0)]),_0x11607a[_0x379ae3(0x1b6)](setLogSelfInfo,selfInfo);const _0x87fc9f=_0x5e2c3d['resolve'](this[_0x379ae3(0x157)],_0x379ae3(0x137));_0x2be878[_0x379ae3(0x17f)](_0x87fc9f,{'recursive':!![]}),_0x11607a[_0x379ae3(0x1b4)](logDebug,_0x11607a[_0x379ae3(0x14d)],_0x87fc9f),dbUtil['init'](_0x5e2c3d[_0x379ae3(0x124)](_0x87fc9f,'./'+_0x4a2a7d['uin']+_0x379ae3(0x1c1)))[_0x379ae3(0x1a7)](()=>{const _0x57b4ef=_0x379ae3;this[_0x57b4ef(0x18b)](),this[_0x57b4ef(0x17d)]['map'](_0x445ca8=>{const _0x4b2d9d=_0x57b4ef;new Promise((_0x37b25f,_0x4ea29d)=>{const _0xe1df42=_0x3ceb,_0x137539=_0x445ca8(_0x4a2a7d[_0xe1df42(0x14a)],_0x4a2a7d[_0xe1df42(0x171)]);_0x137539 instanceof Promise&&_0x137539['then'](_0x37b25f)[_0xe1df42(0x163)](_0x4ea29d);})[_0x4b2d9d(0x1a7)]();});})[_0x379ae3(0x163)](_0x33ff12=>{const _0x160a54=_0x379ae3;_0x120bc6[_0x160a54(0x14f)](logError,_0x120bc6['qumcO'],_0x33ff12);});})['catch'](_0x50cfeb=>{const _0x5192d4=_0x420095;_0x11607a['vteWi'](logError,_0x11607a['LXlSI'],_0x50cfeb);throw new Error('启动失败:\x20'+JSON[_0x5192d4(0x148)](_0x50cfeb));});},this['loginListener'][_0x4665b9(0x11b)]=(_0x46be09,_0x3e0868,_0x11cb09)=>{const _0x352b62=_0x4665b9;_0x55f819['TJuWJ'](logError,_0x55f819[_0x352b62(0x1c0)],_0x11cb09),_0x46be09==0x1&&_0x55f819['gvdqB'](_0x3e0868,0x3)&&this[_0x352b62(0x190)][_0x352b62(0x164)]();},this['loginListener'][_0x4665b9(0x198)]=_0x40f7e8=>{const _0x27324b=_0x4665b9;_0x55f819[_0x27324b(0x154)](logError,_0x27324b(0x16f),_0x40f7e8);},this[_0x4665b9(0x15f)]=new Proxy(this[_0x4665b9(0x15f)],this['proxyHandler']),this[_0x4665b9(0x190)][_0x4665b9(0x131)](new _0x3cd8a9['NodeIKernelLoginListener'](this[_0x4665b9(0x15f)]));}get[_0x2263d0(0x157)](){const _0x3df437=_0x2263d0,_0x3c8ac9={'poifh':_0x3df437(0x12b)};let _0x40254d=this[_0x3df437(0x1c2)]['getNTUserDataInfoConfig']();return!_0x40254d&&(_0x40254d=_0x5e2c3d[_0x3df437(0x124)](_0x56a68b[_0x3df437(0x16c)](),_0x3c8ac9[_0x3df437(0x19b)]),_0x2be878[_0x3df437(0x17f)](_0x40254d,{'recursive':!![]})),_0x40254d;}get[_0x2263d0(0x120)](){const _0x4fb054=_0x2263d0,_0x3506c7={'UqOMJ':_0x4fb054(0x1a6)};return _0x5e2c3d[_0x4fb054(0x124)](this[_0x4fb054(0x157)],_0x3506c7[_0x4fb054(0x1bd)]);}[_0x2263d0(0x152)](){const _0x55af89=_0x2263d0;this['engine'][_0x55af89(0x146)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':'Windows\x2010\x20Pro','use_xlog':!![],'qua':_0x55af89(0x169)+qqVersionConfigInfo['curVersion'][_0x55af89(0x181)]('-','_')+_0x55af89(0x1ce),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x3cd8a9['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x55af89(0x190)][_0x55af89(0x152)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x55af89(0x120)],'clientVer':qqVersionConfigInfo[_0x55af89(0x182)],'hostName':hostname});}['initSession'](_0x549432,_0x27ee9a){const _0x33ce76=_0x2263d0,_0x3cc39e={'oCtDp':function(_0x4830f,_0x1a7816){return _0x4830f===_0x1a7816;},'DtNuS':function(_0x1fcf0f,_0x19d573){return _0x1fcf0f(_0x19d573);},'PbiiP':function(_0x3989f8,_0x2647ff){return _0x3989f8(_0x2647ff);},'ZOOKG':function(_0x51a2c3,_0x3f82ab,_0x260301,_0x17d3ad){return _0x51a2c3(_0x3f82ab,_0x260301,_0x17d3ad);},'fzhLD':function(_0x4282a8,_0x458885){return _0x4282a8(_0x458885);},'aTIiN':function(_0x3714f9,_0x56a5e2){return _0x3714f9+_0x56a5e2;},'CNzbK':_0x33ce76(0x14e)};return new Promise(async(_0x4c5fd4,_0x1d969c)=>{const _0x316709=_0x33ce76,_0x11abed=await _0x3cc39e[_0x316709(0x178)](genSessionConfig,_0x549432,_0x27ee9a,this['dataPath']),_0x45878e=new SessionListener();_0x45878e[_0x316709(0x12e)]=_0x3ce336=>{const _0x53c433=_0x316709;if(_0x3cc39e[_0x53c433(0x1b2)](_0x3ce336,0x0))return _0x3cc39e[_0x53c433(0x1a5)](_0x4c5fd4,0x0);_0x3cc39e[_0x53c433(0x12d)](_0x1d969c,_0x3ce336);},this['session'][_0x316709(0x1bb)](_0x11abed,new _0x3cd8a9[(_0x316709(0x155))](new DependsAdapter()),new _0x3cd8a9[(_0x316709(0x19a))](new DispatcherAdapter()),new _0x3cd8a9[(_0x316709(0x1b7))](_0x45878e));try{this[_0x316709(0x18e)]['startNT'](0x0);}catch(_0x5813b6){try{this['session'][_0x316709(0x18a)]();}catch(_0x5a5c77){_0x3cc39e[_0x316709(0x14c)](_0x1d969c,_0x3cc39e[_0x316709(0x141)](_0x3cc39e['CNzbK'],_0x5a5c77));}}});}[_0x2263d0(0x18b)](){const _0x34ea9a=_0x2263d0,_0x4c66fa={'HICzJ':function(_0x1bffc5,_0x3c3be3){return _0x1bffc5===_0x3c3be3;},'NCTWD':function(_0x42ad7c,_0x30c631){return _0x42ad7c(_0x30c631);},'KURSw':function(_0x5bf655,_0x156756){return _0x5bf655+_0x156756;},'KtBzo':_0x34ea9a(0x139),'GwIMC':function(_0x57a25c,_0x536e24){return _0x57a25c+_0x536e24;},'pSkGh':_0x34ea9a(0x13a),'ulDJC':function(_0x187609,_0x277a05){return _0x187609/_0x277a05;},'FcYJq':function(_0x19510e,_0x48c732){return _0x19510e/_0x48c732;},'iTIZC':_0x34ea9a(0x172),'WCvkq':function(_0x481f9a,_0x3d3e2e){return _0x481f9a===_0x3d3e2e;}},_0x54c700=new MsgListener();_0x54c700[_0x34ea9a(0x1b9)]=_0x6ee7b7=>{_0x6ee7b7['map'](_0xb9e5cb=>{const _0x233eb3=_0x3ceb;_0x4c66fa['HICzJ'](_0xb9e5cb[_0x233eb3(0x1c5)],0x2)&&_0x4c66fa['NCTWD'](log,_0x4c66fa[_0x233eb3(0x15b)](_0x4c66fa[_0x233eb3(0x1a2)]+_0xb9e5cb[_0x233eb3(0x173)],')\x20在线状态变更'));});},_0x54c700['onKickedOffLine']=_0x43c2e2=>{const _0x1672f4=_0x34ea9a;log(_0x4c66fa['KURSw'](_0x4c66fa[_0x1672f4(0x18f)](_0x4c66fa[_0x1672f4(0x15b)](_0x4c66fa[_0x1672f4(0x196)],_0x43c2e2[_0x1672f4(0x145)]),']\x20'),_0x43c2e2['tipsDesc']));},_0x54c700['onAddSendMsg']=_0x5bf4f7=>{const _0x19e149=_0x34ea9a;stat[_0x19e149(0x13f)]+=0x1,stat[_0x19e149(0x194)]+=0x1,stat[_0x19e149(0x11f)]=Math['floor'](_0x4c66fa[_0x19e149(0x136)](Date['now'](),0x3e8));},_0x54c700[_0x34ea9a(0x158)]=_0xe47309=>{const _0x5dce2d=_0x34ea9a;stat['packet_received']+=0x1,stat[_0x5dce2d(0x138)]+=_0xe47309['length'],stat['last_message_time']=Math[_0x5dce2d(0x186)](_0x4c66fa[_0x5dce2d(0x1d1)](Date[_0x5dce2d(0x1a3)](),0x3e8));},_0x54c700[_0x34ea9a(0x180)]=(..._0x473f12)=>{const _0x130d9f=_0x34ea9a;stat[_0x130d9f(0x168)]+=0x1;},this[_0x34ea9a(0x132)](_0x54c700);const _0x5d1696=new BuddyListener();_0x5d1696[_0x34ea9a(0x130)]=_0x55223d=>{const _0x4852d8=_0x34ea9a;rawFriends[_0x4852d8(0x1aa)]=0x0,rawFriends['push'](..._0x55223d);for(const _0xeeef3c of _0x55223d){for(const _0x45c52d of _0xeeef3c[_0x4852d8(0x160)]){const _0x79b42d=friends[_0x4852d8(0x16a)](_0x45c52d[_0x4852d8(0x171)]);_0x79b42d?Object[_0x4852d8(0x134)](_0x79b42d,_0x45c52d):friends[_0x4852d8(0x179)](_0x45c52d['uid'],_0x45c52d);}}},this[_0x34ea9a(0x132)](_0x5d1696),this[_0x34ea9a(0x18e)][_0x34ea9a(0x1a9)]()[_0x34ea9a(0x1d3)](!![])['then'](_0x565933=>{});const _0x53388a=new ProfileListener();_0x53388a[_0x34ea9a(0x184)]=_0x3ece49=>{const _0x12f805=_0x34ea9a;_0x3ece49[_0x12f805(0x171)]===selfInfo[_0x12f805(0x171)]&&Object[_0x12f805(0x134)](selfInfo,_0x3ece49);},_0x53388a[_0x34ea9a(0x125)]=_0x685c4=>{},this[_0x34ea9a(0x132)](_0x53388a);const _0x937e3=new GroupListener();_0x937e3[_0x34ea9a(0x129)]=(_0x300c80,_0x474126)=>{const _0x438da4=_0x34ea9a;_0x474126[_0x438da4(0x1d6)](_0x43dc4e=>{const _0x2dd19a=_0x438da4,_0x2f9610=groups[_0x2dd19a(0x16a)](_0x43dc4e[_0x2dd19a(0x159)]);_0x2f9610&&_0x4c66fa[_0x2dd19a(0x192)](_0x43dc4e[_0x2dd19a(0x16b)],_0x2f9610[_0x2dd19a(0x16b)])?Object[_0x2dd19a(0x134)](_0x2f9610,_0x43dc4e):groups[_0x2dd19a(0x179)](_0x43dc4e[_0x2dd19a(0x159)],_0x43dc4e);const _0x4bca07=this[_0x2dd19a(0x18e)][_0x2dd19a(0x1d2)]()['createMemberListScene'](_0x43dc4e[_0x2dd19a(0x159)],_0x4c66fa[_0x2dd19a(0x19e)]);this[_0x2dd19a(0x18e)]['getGroupService']()[_0x2dd19a(0x183)](_0x4bca07,undefined,0xbb8)[_0x2dd19a(0x1a7)](_0x2c4aa9=>{});});},_0x937e3[_0x34ea9a(0x15c)]=_0x5eef8e=>{const _0x538392=_0x34ea9a,_0x3e0a39=_0x5eef8e['sceneId'][_0x538392(0x16e)]('_')[0x0];if(groupMembers[_0x538392(0x17e)](_0x3e0a39)){const _0x5af4bb=groupMembers[_0x538392(0x16a)](_0x3e0a39);_0x5eef8e[_0x538392(0x1a1)][_0x538392(0x1bc)]((_0x5a5692,_0x1782e4)=>{const _0x4c8ba3=_0x538392,_0x2e001d=_0x5af4bb[_0x4c8ba3(0x16a)](_0x1782e4);_0x2e001d?Object[_0x4c8ba3(0x134)](_0x2e001d,_0x5a5692):_0x5af4bb[_0x4c8ba3(0x179)](_0x1782e4,_0x5a5692);});}else groupMembers[_0x538392(0x179)](_0x3e0a39,_0x5eef8e[_0x538392(0x1a1)]);},_0x937e3[_0x34ea9a(0x1d7)]=(_0x39f86e,_0x5c7002,_0x656fc7)=>{const _0x241224=_0x34ea9a;_0x4c66fa[_0x241224(0x12a)](_0x5c7002,0x0)&&_0x656fc7[_0x241224(0x16a)](selfInfo[_0x241224(0x171)])&&_0x656fc7['get'](selfInfo[_0x241224(0x171)])?.[_0x241224(0x15d)]&&setTimeout(()=>{const _0x9fda7c=_0x241224;groups[_0x9fda7c(0x135)](_0x39f86e);},0x1388);const _0x245072=groupMembers['get'](_0x39f86e);_0x245072?_0x656fc7[_0x241224(0x1bc)]((_0x130224,_0x5cdea5)=>{const _0x383a05=_0x241224,_0x4903fa=_0x245072[_0x383a05(0x16a)](_0x5cdea5);_0x4903fa?Object['assign'](_0x4903fa,_0x130224):_0x245072[_0x383a05(0x179)](_0x5cdea5,_0x130224);}):groupMembers['set'](_0x39f86e,_0x656fc7);},this[_0x34ea9a(0x132)](_0x937e3);}[_0x2263d0(0x132)](_0x54d223){const _0x1e8289=_0x2263d0,_0x523548={'KQsHr':_0x1e8289(0x161),'uqiZr':'MsgListener','uxvHM':'ProfileListener'};_0x54d223=new Proxy(_0x54d223,this[_0x1e8289(0x1ad)]);switch(_0x54d223[_0x1e8289(0x13b)]['name']){case _0x1e8289(0x1d0):{return this[_0x1e8289(0x18e)][_0x1e8289(0x1a9)]()[_0x1e8289(0x1ba)](new _0x3cd8a9['NodeIKernelBuddyListener'](_0x54d223));}case _0x523548[_0x1e8289(0x1b1)]:{return this['session'][_0x1e8289(0x1d2)]()[_0x1e8289(0x122)](new _0x3cd8a9[(_0x1e8289(0x15e))](_0x54d223));}case _0x523548[_0x1e8289(0x144)]:{return this[_0x1e8289(0x18e)][_0x1e8289(0x11d)]()[_0x1e8289(0x199)](new _0x3cd8a9[(_0x1e8289(0x143))](_0x54d223));}case _0x523548[_0x1e8289(0x1c4)]:{return this[_0x1e8289(0x18e)][_0x1e8289(0x1cd)]()['addKernelProfileListener'](new _0x3cd8a9[(_0x1e8289(0x1af))](_0x54d223));}default:return-0x1;}}['onLoginSuccess'](_0x370782){const _0x1f96fe=_0x2263d0;NTEventDispatch[_0x1f96fe(0x1bb)]({'ListenerMap':_0x3cd8a9,'WrapperSession':this[_0x1f96fe(0x18e)]}),this['onLoginSuccessFuncList'][_0x1f96fe(0x127)](_0x370782);}async[_0x2263d0(0x189)](_0x3194a2){const _0x87dc32=_0x2263d0,_0x95142f={'sSNkB':function(_0x55db73,_0x4b6573){return _0x55db73!==_0x4b6573;},'hGjsq':_0x87dc32(0x1ca)},_0x589c80=await this[_0x87dc32(0x190)][_0x87dc32(0x12c)]();if(_0x95142f[_0x87dc32(0x133)](_0x589c80['result'],0x0))throw new Error(_0x87dc32(0x12f));const _0x46b6a1=_0x589c80[_0x87dc32(0x1d5)][_0x87dc32(0x13d)](_0x57ffc0=>_0x57ffc0['uin']===_0x3194a2);if(!_0x46b6a1||!_0x46b6a1?.[_0x87dc32(0x162)])throw new Error(_0x3194a2+_0x87dc32(0x1cb));await sleep(0x3e8);const _0x11f47e=await this[_0x87dc32(0x190)][_0x87dc32(0x176)](_0x3194a2);if(!_0x11f47e[_0x87dc32(0x156)])throw new Error(_0x95142f[_0x87dc32(0x149)]+_0x11f47e[_0x87dc32(0x123)]['errMsg']);return _0x11f47e;}async[_0x2263d0(0x177)](_0x160a3a){const _0x34b94e=_0x2263d0,_0xe282dc={'TTGwu':'data:image/png;base64,','gRBcH':_0x34b94e(0x18d),'FtoZZ':function(_0x4f3983,_0x467686,_0x1d594c,_0x12beea){return _0x4f3983(_0x467686,_0x1d594c,_0x12beea);}};return new Promise((_0x4c4355,_0x1c577a)=>{const _0xe0e48b=_0x34b94e;this['loginListener'][_0xe0e48b(0x17a)]=_0x3a424f=>{const _0x674f10=_0xe0e48b,_0x25ba40=_0x3a424f['pngBase64QrcodeData'][_0x674f10(0x16e)](_0xe282dc[_0x674f10(0x19f)])[0x1],_0x46bacd=Buffer[_0x674f10(0x1a0)](_0x25ba40,_0xe282dc[_0x674f10(0x13c)]);_0xe282dc[_0x674f10(0x170)](_0x160a3a,_0x3a424f[_0x674f10(0x1be)],_0x3a424f[_0x674f10(0x195)],_0x46bacd);},this[_0xe0e48b(0x190)][_0xe0e48b(0x164)]();});}async[_0x2263d0(0x17b)](_0x76348b,_0x422a54,_0xeaf2cf,_0x3fc346,_0xa40a32){const _0x147efb=_0x2263d0,_0xa72003={'mlrRZ':_0x147efb(0x14b),'IWKEO':_0x147efb(0x1cc),'CSeKh':function(_0x240ffc,_0x217b96){return _0x240ffc||_0x217b96;},'bzrtp':function(_0x40cc89,_0x378715){return _0x40cc89(_0x378715);},'cBSRB':_0x147efb(0x1b3),'rbpps':_0x147efb(0x1c9)},_0x8c9544=_0x4f05e3[_0x147efb(0x1c7)](_0xa72003[_0x147efb(0x121)])['update'](_0x422a54)[_0x147efb(0x185)](_0xa72003['IWKEO']),_0x14e7f8={'uin':_0x76348b,'passwordMd5':_0x8c9544,'step':_0xeaf2cf&&_0x3fc346&&_0xa40a32?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xa72003[_0x147efb(0x147)](_0xeaf2cf,''),'proofWaterRand':_0xa72003[_0x147efb(0x147)](_0x3fc346,''),'proofWaterSid':_0xa72003[_0x147efb(0x147)](_0xa40a32,'')};await this[_0x147efb(0x190)][_0x147efb(0x12c)](),await _0xa72003['bzrtp'](sleep,0x3e8);const _0x587626=await this[_0x147efb(0x190)]['passwordLogin'](_0x14e7f8);switch(_0x587626[_0x147efb(0x156)]){case'0':{break;}case _0xa72003[_0x147efb(0x19d)]:{break;}case'4':case _0xa72003[_0x147efb(0x140)]:default:}}async[_0x2263d0(0x1c3)](){const _0x1795d8=_0x2263d0,_0x18df5a=await this[_0x1795d8(0x190)][_0x1795d8(0x12c)]();return _0x18df5a;}}function _0x3ceb(_0x599d78,_0x22eff2){const _0x12f3aa=_0x12f3();return _0x3ceb=function(_0x3ceb01,_0x398712){_0x3ceb01=_0x3ceb01-0x11a;let _0xbc77e9=_0x12f3aa[_0x3ceb01];return _0xbc77e9;},_0x3ceb(_0x599d78,_0x22eff2);}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x47d4f=_0x5753;function _0x5753(_0x337cc7,_0x44e771){const _0x2cade5=_0x2cad();return _0x5753=function(_0x57532f,_0x1f102f){_0x57532f=_0x57532f-0x19a;let _0x1185f1=_0x2cade5[_0x57532f];return _0x1185f1;},_0x5753(_0x337cc7,_0x44e771);}(function(_0x2ccafe,_0x3744e8){const _0xfc528b=_0x5753,_0x22d023=_0x2ccafe();while(!![]){try{const _0x2f759a=parseInt(_0xfc528b(0x1a7))/0x1*(parseInt(_0xfc528b(0x1d0))/0x2)+parseInt(_0xfc528b(0x23c))/0x3*(parseInt(_0xfc528b(0x1ee))/0x4)+parseInt(_0xfc528b(0x1a0))/0x5+-parseInt(_0xfc528b(0x1f3))/0x6*(parseInt(_0xfc528b(0x23a))/0x7)+parseInt(_0xfc528b(0x25a))/0x8*(-parseInt(_0xfc528b(0x206))/0x9)+parseInt(_0xfc528b(0x209))/0xa+-parseInt(_0xfc528b(0x1ea))/0xb;if(_0x2f759a===_0x3744e8)break;else _0x22d023['push'](_0x22d023['shift']());}catch(_0x1dee83){_0x22d023['push'](_0x22d023['shift']());}}}(_0x2cad,0x3116b));import _0xf55dad from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0xa29d8e from'node:path';import _0xdc6fe4 from'node:os';function _0x2cad(){const _0x39d34c=['xpbpp','hnaAq','V1_WIN_NQ_','has','140022008','facKE','ProfileListener','stringify','catch','assign','find','./.config/QQ','MGJec','onQRCodeLoginSucceed','UYWOC','nzZPX','OYuOS','45297oJAYZr','onLoginSuccessFuncList','登录失败(onLoginFailed)','967210XKzmdk','push','onSessionInitComplete','init','passwordLogin','homedir','consoleLogLevel','groupCode','initConfig','session','QElUW','onKickedOffLine','QneEj','getNTUserDataInfoConfig','DnLLS','kWvSB','fileLog','onProfileDetailInfoChanged','NodeIKernelLoginListener','nYnCq','NodeIDispatcherAdapter','./NapCat/data','pngBase64QrcodeData','map',')\x20在线状态变更','Windows\x2010\x20Pro','\x20has\x20no\x20method\x20','MKpLi','engine','createMemberListScene','tipsTitle','dataPathGlobal','loginListener','xiFPI','NodeIDependsAdapter','then','onUserLoggedIn','oLORX','XOFWW','initSession','qrLogin','NodeIKernelMsgListener','快速登录不可用','快速登录失败\x20','UAWvf','message_sent','uid','set','data:image/png;base64,','500276tkbNSJ','fileLogLevel','3iGsYTC','packet_sent','onBuddyListChange','resolve','SaOsD','fGIyi','onQRCodeSessionFailed','clientType','rXZmf','没有可快速登录的QQ号','loginErrorInfo','yjoUv','NodeIQQNTWrapperSession','NaCNv','getGroupService','replace','addListener','Bopvg','qgWtD','length','InshG','consoleLog','NodeIKernelSessionListener','MsgListener','md5','getNextMemberList','FgsNh','floor','maQlF','zxtKT','8IFPsBY','proxyHandler','iZCdp','isQuickLogin','base64','packet_received','xPPzL','startNT','groupMemberList_MainWindow','NodeIKernelProfileListener','get','数据库初始化失败','996475tyAcLu','dvvKB','dkpKO','now','PFbeh','quickLogin','util','608VYbNpv','LocalLoginInfoList','digest','onLineDev','qQfcF','getQRCodePicture','getProfileService','uin','NodeIGlobalAdapter','getBuddyService','sceneId','tipsDesc','update','onQRCodeGetPicture','NodeQQNTWrapperUtil','clIFi','onGroupListUpdate','本账号数据/缓存目录:','undefined',')已登录,无法重复登录','-v2.db','onSelfStatusChanged','启动失败:\x20','onLoginSuccess','onMemberListChange','czzYU','addKernelProfileListener','quickLoginWithUin','result','onAddSendMsg','memberCount','EVjco','登录失败(onQRCodeSessionFailed)','dLfYa','createHash','name','infos','NodeIKernelLoginService','140022013','yGwlI','getLoginList','996WARlwk','icfUZ','initDataListener','bbrXK','MjRiu','from','addKernelMsgListener','initSession\x20failed','dataPath','last_message_time','curVersion','HVSix','onRecvSysMsg','mkdirSync','loginService','mLaVp','errMsg','read','[KickedOffLine]\x20[','isDelete','cBHmg','getQuickLoginList','forEach','message_received','bqnhj','GroupListener','4763693lKAtyp','NodeIKernelGroupListener','constructor','split','1590812wMBXKD','NodeIKernelBuddyListener','bqHig','addKernelGroupListener','Kjoev','30QuQgvL','pxzky'];_0x2cad=function(){return _0x39d34c;};return _0x2cad();}import _0x47dd27 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 _0x56fb6b 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{[_0x47d4f(0x212)];[_0x47d4f(0x1a6)];[_0x47d4f(0x225)];[_0x47d4f(0x229)];[_0x47d4f(0x1de)];[_0x47d4f(0x207)]=[];[_0x47d4f(0x25b)]={'get'(target,prop,receiver){const _0x3ed660=_0x47d4f,rYPdff={'yjoUv':function(callee,param1){return callee(param1);},'bqnhj':_0x3ed660(0x1b9)};if(typeof target[prop]===rYPdff[_0x3ed660(0x1e8)])return(...args)=>{const _0x4c54de=_0x3ed660;rYPdff[_0x4c54de(0x247)](logDebug,target[_0x4c54de(0x1ec)]['name']+_0x4c54de(0x223)+prop);};return Reflect[_0x3ed660(0x19e)](target,prop,receiver);}};constructor(){const _0x485946=_0x47d4f,_0x1c9419={'UAWvf':function(_0x19e60d,_0x339d68){return _0x19e60d(_0x339d68);},'GNZeC':function(_0x56693c,_0x52f862){return _0x56693c+_0x52f862;},'Kjoev':function(_0xbeb507,_0x2788c9){return _0xbeb507+_0x2788c9;},'EVjco':_0x485946(0x1ba),'aHxnR':function(_0x793357,_0x1789c4,_0x30af3c){return _0x793357(_0x1789c4,_0x30af3c);},'NaCNv':function(_0x57a7f0,_0x418f19){return _0x57a7f0 instanceof _0x418f19;},'dLfYa':_0x485946(0x19f),'maQlF':function(_0xf5e670,_0x1f6dc1,_0x2a0d2d){return _0xf5e670(_0x1f6dc1,_0x2a0d2d);},'facKE':_0x485946(0x21e),'xPPzL':_0x485946(0x1b8),'dkpKO':_0x485946(0x1d7),'yGwlI':_0x485946(0x1c7),'FgsNh':function(_0x2b9d90,_0x28ef30){return _0x2b9d90==_0x28ef30;},'QElUW':function(_0x33a4c9,_0x21e854,_0x57c46c){return _0x33a4c9(_0x21e854,_0x57c46c);},'bqHig':_0x485946(0x208)};this[_0x485946(0x225)]=new _0xf55dad['NodeIQQNTWrapperEngine'](),this[_0x485946(0x1a6)]=new _0xf55dad[(_0x485946(0x1b5))](),this['loginService']=new _0xf55dad[(_0x485946(0x1cc))](),this[_0x485946(0x212)]=new _0xf55dad[(_0x485946(0x248))](),this[_0x485946(0x229)]=new LoginListener(),this[_0x485946(0x229)][_0x485946(0x22d)]=_0x33f5c2=>{const _0x1d335d=_0x485946;_0x1c9419['UAWvf'](logError,_0x1c9419['GNZeC'](_0x1c9419[_0x1d335d(0x1f2)]('当前账号(',_0x33f5c2),_0x1c9419[_0x1d335d(0x1c6)]));},this[_0x485946(0x211)](),this[_0x485946(0x229)][_0x485946(0x202)]=_0x35ea10=>{const _0x520f6c=_0x485946,_0x58babf={'rXZmf':_0x1c9419[_0x520f6c(0x1a2)]};this['initSession'](_0x35ea10['uin'],_0x35ea10[_0x520f6c(0x237)])[_0x520f6c(0x22c)](_0x19c07d=>{const _0x4917d5=_0x520f6c,_0xa949d1={'MjRiu':function(_0x5adb87,_0x48c1ac,_0x1df3a0){return _0x1c9419['aHxnR'](_0x5adb87,_0x48c1ac,_0x1df3a0);},'xNsBj':function(_0x2d7934,_0x34d547){const _0x14bb7b=_0x5753;return _0x1c9419[_0x14bb7b(0x249)](_0x2d7934,_0x34d547);},'wlPOU':_0x1c9419[_0x4917d5(0x1c8)]};selfInfo[_0x4917d5(0x1ae)]=_0x35ea10[_0x4917d5(0x1ae)],selfInfo[_0x4917d5(0x237)]=_0x35ea10[_0x4917d5(0x237)],napCatConfig[_0x4917d5(0x1e1)](),_0x1c9419[_0x4917d5(0x258)](setLogLevel,napCatConfig[_0x4917d5(0x23b)],napCatConfig[_0x4917d5(0x20f)]),_0x1c9419[_0x4917d5(0x235)](enableFileLog,napCatConfig[_0x4917d5(0x219)]),enableConsoleLog(napCatConfig[_0x4917d5(0x251)]),_0x1c9419[_0x4917d5(0x235)](setLogSelfInfo,selfInfo);const _0x1e7f8a=_0xa29d8e[_0x4917d5(0x23f)](this[_0x4917d5(0x1d8)],_0x1c9419[_0x4917d5(0x1fa)]);_0x47dd27[_0x4917d5(0x1dd)](_0x1e7f8a,{'recursive':!![]}),logDebug(_0x1c9419[_0x4917d5(0x19a)],_0x1e7f8a),dbUtil[_0x4917d5(0x20c)](_0xa29d8e[_0x4917d5(0x23f)](_0x1e7f8a,'./'+_0x35ea10[_0x4917d5(0x1ae)]+_0x4917d5(0x1bb)))[_0x4917d5(0x22c)](()=>{const _0x226aea=_0x4917d5;this[_0x226aea(0x1d2)](),this['onLoginSuccessFuncList'][_0x226aea(0x220)](_0x4cd64d=>{const _0x3c228f=_0x226aea,_0x484df1={'kWvSB':function(_0x38ed67,_0x42ed34,_0x524f2f){const _0x5caaa3=_0x5753;return _0xa949d1[_0x5caaa3(0x1d4)](_0x38ed67,_0x42ed34,_0x524f2f);},'OYuOS':function(_0x3db1fe,_0x1e6749){return _0xa949d1['xNsBj'](_0x3db1fe,_0x1e6749);}};new Promise((_0x62959c,_0x311380)=>{const _0x1f0582=_0x5753,_0x3f892a=_0x484df1[_0x1f0582(0x218)](_0x4cd64d,_0x35ea10[_0x1f0582(0x1ae)],_0x35ea10[_0x1f0582(0x237)]);_0x484df1[_0x1f0582(0x205)](_0x3f892a,Promise)&&_0x3f892a[_0x1f0582(0x22c)](_0x62959c)[_0x1f0582(0x1fd)](_0x311380);})[_0x3c228f(0x22c)]();});})['catch'](_0x5939bb=>{_0xa949d1['MjRiu'](logError,_0xa949d1['wlPOU'],_0x5939bb);});})['catch'](_0x197f33=>{const _0x143218=_0x520f6c;logError(_0x58babf[_0x143218(0x244)],_0x197f33);throw new Error(_0x143218(0x1bd)+JSON[_0x143218(0x1fc)](_0x197f33));});},this[_0x485946(0x229)][_0x485946(0x242)]=(_0x329c22,_0x779f4,_0x444c4e)=>{const _0x54b876=_0x485946;logError(_0x1c9419[_0x54b876(0x1ce)],_0x444c4e),_0x1c9419[_0x54b876(0x256)](_0x329c22,0x1)&&_0x779f4==0x3&&this['loginService'][_0x54b876(0x1ac)]();},this['loginListener']['onLoginFailed']=_0x175075=>{const _0x49e34a=_0x485946;_0x1c9419[_0x49e34a(0x213)](logError,_0x1c9419[_0x49e34a(0x1f0)],_0x175075);},this['loginListener']=new Proxy(this[_0x485946(0x229)],this['proxyHandler']),this['loginService']['addKernelLoginListener'](new _0xf55dad[(_0x485946(0x21b))](this[_0x485946(0x229)]));}get[_0x47d4f(0x1d8)](){const _0x168d43=_0x47d4f;let _0x1538a7=this[_0x168d43(0x1a6)][_0x168d43(0x216)]();return!_0x1538a7&&(_0x1538a7=_0xa29d8e['resolve'](_0xdc6fe4[_0x168d43(0x20e)](),_0x168d43(0x200)),_0x47dd27[_0x168d43(0x1dd)](_0x1538a7,{'recursive':!![]})),_0x1538a7;}get[_0x47d4f(0x228)](){const _0x403606=_0x47d4f,_0x5ca379={'vVoVG':'./nt_qq/global'};return _0xa29d8e[_0x403606(0x23f)](this['dataPath'],_0x5ca379['vVoVG']);}[_0x47d4f(0x211)](){const _0x35fddd=_0x47d4f,_0x5f4c73={'XOcTk':_0x35fddd(0x222)};this[_0x35fddd(0x225)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x35fddd(0x1da)],'os_version':_0x5f4c73['XOcTk'],'use_xlog':!![],'qua':_0x35fddd(0x1f7)+qqVersionConfigInfo[_0x35fddd(0x1da)][_0x35fddd(0x24b)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x35fddd(0x228)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0xf55dad[(_0x35fddd(0x1af))](new GlobalAdapter())),this['loginService'][_0x35fddd(0x211)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x35fddd(0x1da)],'hostName':hostname});}[_0x47d4f(0x230)](_0x39a0e6,_0x35ac43){const _0x43af33={'tbhkV':function(_0x549b5e,_0x730da7){return _0x549b5e(_0x730da7);},'hnaAq':function(_0x18f056,_0x1153f5){return _0x18f056+_0x1153f5;}};return new Promise(async(_0x234746,_0x421126)=>{const _0x6a1d58=_0x5753,_0x4a2f42={'UYWOC':function(_0x24f8a0,_0xfad965){return _0x43af33['tbhkV'](_0x24f8a0,_0xfad965);},'PFbeh':function(_0x5dde32,_0x101454){return _0x5dde32(_0x101454);}},_0x157871=await genSessionConfig(_0x39a0e6,_0x35ac43,this['dataPath']),_0x3ff3ac=new SessionListener();_0x3ff3ac[_0x6a1d58(0x20b)]=_0x3954fb=>{const _0x400c03=_0x6a1d58;if(_0x3954fb===0x0)return _0x4a2f42[_0x400c03(0x203)](_0x234746,0x0);_0x4a2f42[_0x400c03(0x1a4)](_0x421126,_0x3954fb);},this[_0x6a1d58(0x212)]['init'](_0x157871,new _0xf55dad[(_0x6a1d58(0x22b))](new DependsAdapter()),new _0xf55dad[(_0x6a1d58(0x21d))](new DispatcherAdapter()),new _0xf55dad[(_0x6a1d58(0x252))](_0x3ff3ac));try{this[_0x6a1d58(0x212)][_0x6a1d58(0x19b)](0x0);}catch(_0x484bc1){try{this[_0x6a1d58(0x212)][_0x6a1d58(0x19b)]();}catch(_0x502c92){_0x421126(_0x43af33[_0x6a1d58(0x1f6)]('init\x20failed\x20',_0x502c92));}}});}['initDataListener'](){const _0x3bc66f=_0x47d4f,_0x181e7b={'czzYU':function(_0x1cc61b,_0x1cee71){return _0x1cc61b(_0x1cee71);},'xpbpp':function(_0x2b59f5,_0x339891){return _0x2b59f5+_0x339891;},'qgWtD':'账号设备(','mLaVp':_0x3bc66f(0x221),'fGIyi':_0x3bc66f(0x1e2),'zxtKT':function(_0x3f87f2,_0xc25034){return _0x3f87f2/_0xc25034;},'qQfcF':function(_0x24db7,_0x400b26){return _0x24db7/_0x400b26;},'clIFi':function(_0x4be6e0,_0x2aac38){return _0x4be6e0===_0x2aac38;},'InshG':_0x3bc66f(0x19c),'nzZPX':function(_0x5f5b3d,_0x59c0d2){return _0x5f5b3d===_0x59c0d2;}},_0x403ac8=new MsgListener();_0x403ac8[_0x3bc66f(0x1aa)]=_0x3c3f21=>{const _0x440d06=_0x3bc66f,_0xbe7d8b={'pxzky':function(_0x4c2769,_0x10d820){const _0x3ec974=_0x5753;return _0x181e7b[_0x3ec974(0x1c0)](_0x4c2769,_0x10d820);},'iZCdp':function(_0x58fcdc,_0x21ebd6){const _0x29feff=_0x5753;return _0x181e7b[_0x29feff(0x1f5)](_0x58fcdc,_0x21ebd6);},'HVSix':_0x181e7b[_0x440d06(0x24e)],'nYnCq':_0x181e7b[_0x440d06(0x1df)]};_0x3c3f21[_0x440d06(0x220)](_0x1f6c9e=>{const _0x39b0ee=_0x440d06;_0x1f6c9e[_0x39b0ee(0x243)]===0x2&&_0xbe7d8b[_0x39b0ee(0x1f4)](log,_0xbe7d8b[_0x39b0ee(0x25c)](_0xbe7d8b[_0x39b0ee(0x1db)]+_0x1f6c9e['devUid'],_0xbe7d8b[_0x39b0ee(0x21c)]));});},_0x403ac8[_0x3bc66f(0x214)]=_0x2c7738=>{const _0x386be2=_0x3bc66f;log(_0x181e7b['xpbpp'](_0x181e7b[_0x386be2(0x1f5)](_0x181e7b[_0x386be2(0x241)],_0x2c7738[_0x386be2(0x227)]),']\x20')+_0x2c7738[_0x386be2(0x1b2)]);},_0x403ac8[_0x3bc66f(0x1c4)]=_0x48b0a2=>{const _0x26f7fa=_0x3bc66f;stat[_0x26f7fa(0x23d)]+=0x1,stat[_0x26f7fa(0x236)]+=0x1,stat['last_message_time']=Math[_0x26f7fa(0x257)](_0x181e7b[_0x26f7fa(0x259)](Date[_0x26f7fa(0x1a3)](),0x3e8));},_0x403ac8['onRecvMsg']=_0x2437c4=>{const _0x3ad050=_0x3bc66f;stat[_0x3ad050(0x25f)]+=0x1,stat[_0x3ad050(0x1e7)]+=_0x2437c4[_0x3ad050(0x24f)],stat[_0x3ad050(0x1d9)]=Math['floor'](_0x181e7b[_0x3ad050(0x1ab)](Date['now'](),0x3e8));},_0x403ac8[_0x3bc66f(0x1dc)]=(..._0x438df9)=>{const _0x43d095=_0x3bc66f;stat[_0x43d095(0x25f)]+=0x1;},this[_0x3bc66f(0x24c)](_0x403ac8);const _0x3bdab1=new BuddyListener();_0x3bdab1[_0x3bc66f(0x23e)]=_0x3c5772=>{const _0x23ce7b=_0x3bc66f;rawFriends['length']=0x0,rawFriends[_0x23ce7b(0x20a)](..._0x3c5772);for(const _0x60eac5 of _0x3c5772){for(const _0x3881aa of _0x60eac5['buddyList']){const _0x5420c8=friends[_0x23ce7b(0x19e)](_0x3881aa['uid']);_0x5420c8?Object['assign'](_0x5420c8,_0x3881aa):friends['set'](_0x3881aa[_0x23ce7b(0x237)],_0x3881aa);}}},this[_0x3bc66f(0x24c)](_0x3bdab1),this[_0x3bc66f(0x212)][_0x3bc66f(0x1b0)]()['getBuddyList'](!![])['then'](_0x47a9ab=>{});const _0x3b2b5c=new ProfileListener();_0x3b2b5c[_0x3bc66f(0x21a)]=_0x36b517=>{const _0x72988a=_0x3bc66f;_0x181e7b[_0x72988a(0x1b6)](_0x36b517[_0x72988a(0x237)],selfInfo[_0x72988a(0x237)])&&Object[_0x72988a(0x1fe)](selfInfo,_0x36b517);},_0x3b2b5c[_0x3bc66f(0x1bc)]=_0x270010=>{},this[_0x3bc66f(0x24c)](_0x3b2b5c);const _0x37e0c8=new GroupListener();_0x37e0c8[_0x3bc66f(0x1b7)]=(_0x43ec65,_0xcc84c)=>{const _0x4a53f0=_0x3bc66f;_0xcc84c[_0x4a53f0(0x220)](_0x454f11=>{const _0x18cd36=_0x4a53f0,_0x583f15=groups[_0x18cd36(0x19e)](_0x454f11[_0x18cd36(0x210)]);_0x583f15&&_0x181e7b[_0x18cd36(0x1b6)](_0x454f11[_0x18cd36(0x1c5)],_0x583f15[_0x18cd36(0x1c5)])?Object[_0x18cd36(0x1fe)](_0x583f15,_0x454f11):groups['set'](_0x454f11[_0x18cd36(0x210)],_0x454f11);const _0x31ec41=this[_0x18cd36(0x212)][_0x18cd36(0x24a)]()[_0x18cd36(0x226)](_0x454f11['groupCode'],_0x181e7b[_0x18cd36(0x250)]);this['session'][_0x18cd36(0x24a)]()[_0x18cd36(0x255)](_0x31ec41,undefined,0xbb8)['then'](_0x7a9898=>{});});},_0x37e0c8[_0x3bc66f(0x1bf)]=_0x358eb8=>{const _0x1e8d95=_0x3bc66f,_0x29b375=_0x358eb8[_0x1e8d95(0x1b1)][_0x1e8d95(0x1ed)]('_')[0x0];if(groupMembers[_0x1e8d95(0x1f8)](_0x29b375)){const _0xe2c1ce=groupMembers[_0x1e8d95(0x19e)](_0x29b375);_0x358eb8[_0x1e8d95(0x1cb)][_0x1e8d95(0x1e6)]((_0x3f323c,_0x253655)=>{const _0x122b49=_0x1e8d95,_0x5b0887=_0xe2c1ce[_0x122b49(0x19e)](_0x253655);_0x5b0887?Object[_0x122b49(0x1fe)](_0x5b0887,_0x3f323c):_0xe2c1ce[_0x122b49(0x238)](_0x253655,_0x3f323c);});}else groupMembers[_0x1e8d95(0x238)](_0x29b375,_0x358eb8[_0x1e8d95(0x1cb)]);},_0x37e0c8['onMemberInfoChange']=(_0x20ffe3,_0x286ef3,_0x574746)=>{const _0x5c51fd=_0x3bc66f;_0x181e7b[_0x5c51fd(0x204)](_0x286ef3,0x0)&&_0x574746[_0x5c51fd(0x19e)](selfInfo[_0x5c51fd(0x237)])&&_0x574746['get'](selfInfo[_0x5c51fd(0x237)])?.[_0x5c51fd(0x1e3)]&&setTimeout(()=>{groups['delete'](_0x20ffe3);},0x1388);const _0x3b4177=groupMembers['get'](_0x20ffe3);_0x3b4177?_0x574746[_0x5c51fd(0x1e6)]((_0xd78c15,_0x5e4708)=>{const _0x3979af=_0x5c51fd,_0x541292=_0x3b4177[_0x3979af(0x19e)](_0x5e4708);_0x541292?Object['assign'](_0x541292,_0xd78c15):_0x3b4177['set'](_0x5e4708,_0xd78c15);}):groupMembers[_0x5c51fd(0x238)](_0x20ffe3,_0x574746);},this[_0x3bc66f(0x24c)](_0x37e0c8);}['addListener'](_0x33d586){const _0xee15ef=_0x47d4f,_0x2c4a4a={'MKpLi':'BuddyListener','icfUZ':_0xee15ef(0x1e9)};_0x33d586=new Proxy(_0x33d586,this[_0xee15ef(0x25b)]);switch(_0x33d586[_0xee15ef(0x1ec)][_0xee15ef(0x1ca)]){case _0x2c4a4a[_0xee15ef(0x224)]:{return this[_0xee15ef(0x212)][_0xee15ef(0x1b0)]()['addKernelBuddyListener'](new _0xf55dad[(_0xee15ef(0x1ef))](_0x33d586));}case _0x2c4a4a[_0xee15ef(0x1d1)]:{return this[_0xee15ef(0x212)]['getGroupService']()[_0xee15ef(0x1f1)](new _0xf55dad[(_0xee15ef(0x1eb))](_0x33d586));}case _0xee15ef(0x253):{return this[_0xee15ef(0x212)]['getMsgService']()[_0xee15ef(0x1d6)](new _0xf55dad[(_0xee15ef(0x232))](_0x33d586));}case _0xee15ef(0x1fb):{return this['session'][_0xee15ef(0x1ad)]()[_0xee15ef(0x1c1)](new _0xf55dad[(_0xee15ef(0x19d))](_0x33d586));}default:return-0x1;}}[_0x47d4f(0x1be)](_0x1b762d){const _0x1662dd=_0x47d4f;NTEventDispatch[_0x1662dd(0x20c)]({'ListenerMap':_0xf55dad,'WrapperSession':this[_0x1662dd(0x212)]}),this[_0x1662dd(0x207)][_0x1662dd(0x20a)](_0x1b762d);}async[_0x47d4f(0x1a5)](_0x27462e){const _0x3ad85c=_0x47d4f,_0x2effd1={'DnLLS':function(_0x389651,_0x5033fa){return _0x389651!==_0x5033fa;},'wdWgm':_0x3ad85c(0x245),'QneEj':function(_0x4853be,_0x14a419){return _0x4853be(_0x14a419);},'jdAWw':function(_0x22aac9,_0x5b69e2){return _0x22aac9+_0x5b69e2;},'XOFWW':_0x3ad85c(0x234)},_0xb1bf24=await this['loginService'][_0x3ad85c(0x1cf)]();if(_0x2effd1[_0x3ad85c(0x217)](_0xb1bf24['result'],0x0))throw new Error(_0x2effd1['wdWgm']);const _0x39ef4e=_0xb1bf24[_0x3ad85c(0x1a8)][_0x3ad85c(0x1ff)](_0x2837a4=>_0x2837a4[_0x3ad85c(0x1ae)]===_0x27462e);if(!_0x39ef4e||!_0x39ef4e?.[_0x3ad85c(0x25d)])throw new Error(_0x27462e+_0x3ad85c(0x233));await _0x2effd1[_0x3ad85c(0x215)](sleep,0x3e8);const _0x4de2ad=await this[_0x3ad85c(0x1de)][_0x3ad85c(0x1c2)](_0x27462e);if(!_0x4de2ad[_0x3ad85c(0x1c3)])throw new Error(_0x2effd1['jdAWw'](_0x2effd1[_0x3ad85c(0x22f)],_0x4de2ad[_0x3ad85c(0x246)][_0x3ad85c(0x1e0)]));return _0x4de2ad;}async[_0x47d4f(0x231)](_0x167213){const _0x2e2546=_0x47d4f,_0x4f7b91={'mjeUA':_0x2e2546(0x239),'MGJec':_0x2e2546(0x25e)};return new Promise((_0x198e3e,_0x5e8dcf)=>{const _0x444358=_0x2e2546,_0x2590a4={'cBHmg':_0x4f7b91['mjeUA'],'bbrXK':_0x4f7b91[_0x444358(0x201)],'xiFPI':function(_0x21c844,_0x2254b0,_0x50cb66,_0x53d0c8){return _0x21c844(_0x2254b0,_0x50cb66,_0x53d0c8);}};this[_0x444358(0x229)][_0x444358(0x1b4)]=_0x4726c7=>{const _0x33b4ad=_0x444358,_0x3e2ffa=_0x4726c7[_0x33b4ad(0x21f)]['split'](_0x2590a4[_0x33b4ad(0x1e4)])[0x1],_0x3902d7=Buffer[_0x33b4ad(0x1d5)](_0x3e2ffa,_0x2590a4[_0x33b4ad(0x1d3)]);_0x2590a4[_0x33b4ad(0x22a)](_0x167213,_0x4726c7['qrcodeUrl'],_0x4726c7[_0x33b4ad(0x21f)],_0x3902d7);},this[_0x444358(0x1de)][_0x444358(0x1ac)]();});}async[_0x47d4f(0x20d)](_0x5032a7,_0xef2d11,_0x2d0f7f,_0x23d04e,_0x45dab0){const _0x3b322f=_0x47d4f,_0x2dca23={'Bopvg':_0x3b322f(0x254),'RzdVj':'hex','SaOsD':function(_0x644108,_0x4e0a59){return _0x644108||_0x4e0a59;},'oLORX':function(_0x2a8648,_0x35ffb9){return _0x2a8648||_0x35ffb9;},'vfmsR':function(_0x591331,_0x348026){return _0x591331(_0x348026);},'dvvKB':_0x3b322f(0x1cd)},_0x5bcb4f=_0x56fb6b[_0x3b322f(0x1c9)](_0x2dca23[_0x3b322f(0x24d)])[_0x3b322f(0x1b3)](_0xef2d11)[_0x3b322f(0x1a9)](_0x2dca23['RzdVj']),_0xa6fd8b={'uin':_0x5032a7,'passwordMd5':_0x5bcb4f,'step':_0x2d0f7f&&_0x23d04e&&_0x45dab0?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x2dca23[_0x3b322f(0x240)](_0x2d0f7f,''),'proofWaterRand':_0x2dca23[_0x3b322f(0x22e)](_0x23d04e,''),'proofWaterSid':_0x2dca23[_0x3b322f(0x22e)](_0x45dab0,'')};await this[_0x3b322f(0x1de)][_0x3b322f(0x1cf)](),await _0x2dca23['vfmsR'](sleep,0x3e8);const _0x556e40=await this[_0x3b322f(0x1de)][_0x3b322f(0x20d)](_0xa6fd8b);switch(_0x556e40[_0x3b322f(0x1c3)]){case'0':{break;}case _0x3b322f(0x1f9):{break;}case'4':case _0x2dca23[_0x3b322f(0x1a1)]:default:}}async[_0x47d4f(0x1e5)](){const _0x522e3d=_0x47d4f,_0x8571a0=await this[_0x522e3d(0x1de)][_0x522e3d(0x1cf)]();return _0x8571a0;}}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 8ccc0c78..057dfca0 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x3c126f,_0x360ed5){const _0x5245f3=_0x4ad1,_0x3fd776=_0x3c126f();while(!![]){try{const _0xe94e9=-parseInt(_0x5245f3(0x14f))/0x1*(-parseInt(_0x5245f3(0x157))/0x2)+-parseInt(_0x5245f3(0x15a))/0x3+-parseInt(_0x5245f3(0x158))/0x4+parseInt(_0x5245f3(0x159))/0x5+-parseInt(_0x5245f3(0x156))/0x6+parseInt(_0x5245f3(0x151))/0x7*(parseInt(_0x5245f3(0x15d))/0x8)+parseInt(_0x5245f3(0x152))/0x9;if(_0xe94e9===_0x360ed5)break;else _0x3fd776['push'](_0x3fd776['shift']());}catch(_0x471ad0){_0x3fd776['push'](_0x3fd776['shift']());}}}(_0x518d,0x65abc));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(_0xe77c04){const _0x3504d6=_0x4ad1;groups[_0x3504d6(0x14d)](_0xe77c04),groupMembers[_0x3504d6(0x14d)](_0xe77c04);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getGroup(_0x9c99b5){const _0x27dc48=_0x4ad1;let _0x4f4fc8=groups['get'](_0x9c99b5[_0x27dc48(0x15c)]());if(!_0x4f4fc8)try{const _0x2450d2=await NTQQGroupApi[_0x27dc48(0x154)]();_0x2450d2[_0x27dc48(0x153)]&&_0x2450d2['forEach'](_0x377a22=>{const _0x5b0939=_0x27dc48;groups['set'](_0x377a22[_0x5b0939(0x150)],_0x377a22);});}catch(_0x42b6f6){return undefined;}return _0x4f4fc8=groups[_0x27dc48(0x14e)](_0x9c99b5[_0x27dc48(0x15c)]()),_0x4f4fc8;}function _0x518d(){const _0x2e68e1=['2449569OfOPso','from','toString','6634160tcaHxY','uin','yKeCz','MvdHn','delete','get','8sMXwdy','groupCode','7zFmomS','4199553GmjuEL','length','getGroups','getGroupMembers','1133190wENIqX','107990WMKtPP','1659968CfiiHf','544885afMDrm'];_0x518d=function(){return _0x2e68e1;};return _0x518d();}export async function getGroupMember(_0xaef6e5,_0x15b773){const _0x52058f=_0x4ad1,_0x454165={'yKeCz':function(_0x413291,_0x31ab1c){return _0x413291(_0x31ab1c);},'MvdHn':function(_0x9043f5){return _0x9043f5();}};_0xaef6e5=_0xaef6e5[_0x52058f(0x15c)](),_0x15b773=_0x15b773['toString']();let _0x237f16=groupMembers[_0x52058f(0x14e)](_0xaef6e5);if(!_0x237f16)try{_0x237f16=await NTQQGroupApi[_0x52058f(0x155)](_0xaef6e5),groupMembers['set'](_0xaef6e5,_0x237f16);}catch(_0xcaa62d){return null;}const _0x8df5c=()=>{const _0x176da9=_0x52058f;let _0x3a4fb3=undefined;return _0x454165[_0x176da9(0x14b)](isNumeric,_0x15b773)?_0x3a4fb3=Array[_0x176da9(0x15b)](_0x237f16['values']())['find'](_0x3c73fe=>_0x3c73fe[_0x176da9(0x14a)]===_0x15b773):_0x3a4fb3=_0x237f16[_0x176da9(0x14e)](_0x15b773),_0x3a4fb3;};let _0x61a17d=_0x454165['MvdHn'](_0x8df5c);return!_0x61a17d&&(_0x237f16=await NTQQGroupApi[_0x52058f(0x155)](_0xaef6e5),_0x61a17d=_0x454165[_0x52058f(0x14c)](_0x8df5c)),_0x61a17d;}function _0x4ad1(_0x4afab6,_0x33fef6){const _0x518dca=_0x518d();return _0x4ad1=function(_0x4ad108,_0x37b402){_0x4ad108=_0x4ad108-0x14a;let _0x407907=_0x518dca[_0x4ad108];return _0x407907;},_0x4ad1(_0x4afab6,_0x33fef6);}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(_0x5eba4a,_0x11cfff){const _0x4f66cb=_0x274b,_0x33a1d1=_0x5eba4a();while(!![]){try{const _0x6aaa14=parseInt(_0x4f66cb(0x134))/0x1+-parseInt(_0x4f66cb(0x138))/0x2+parseInt(_0x4f66cb(0x131))/0x3+-parseInt(_0x4f66cb(0x133))/0x4+-parseInt(_0x4f66cb(0x13e))/0x5+parseInt(_0x4f66cb(0x137))/0x6*(parseInt(_0x4f66cb(0x143))/0x7)+parseInt(_0x4f66cb(0x13f))/0x8*(parseInt(_0x4f66cb(0x141))/0x9);if(_0x6aaa14===_0x11cfff)break;else _0x33a1d1['push'](_0x33a1d1['shift']());}catch(_0x216123){_0x33a1d1['push'](_0x33a1d1['shift']());}}}(_0x743b,0x95eb7));import{isNumeric}from'@/common/utils/helper';function _0x274b(_0x40112d,_0x56e9eb){const _0x743bde=_0x743b();return _0x274b=function(_0x274b01,_0x3fa79a){_0x274b01=_0x274b01-0x12f;let _0x5b3f10=_0x743bde[_0x274b01];return _0x5b3f10;},_0x274b(_0x40112d,_0x56e9eb);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x743b(){const _0x498647=['11766GSOPvc','2361792roGfpQ','getGroups','uin','getGroupMembers','set','toString','2745585nzlEUK','808Avadwu','get','26955adcQLK','delete','3675qtEaqK','values','forEach','from','1383471qbbreM','length','1582652wWUnvo','946570CtaAgx','BpHCo','groupCode'];_0x743b=function(){return _0x498647;};return _0x743b();}export const groups=new Map();export function deleteGroup(_0x3ecb1d){const _0x400978=_0x274b;groups[_0x400978(0x142)](_0x3ecb1d),groupMembers['delete'](_0x3ecb1d);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getGroup(_0x143d4c){const _0x420b23=_0x274b;let _0x2aabea=groups['get'](_0x143d4c[_0x420b23(0x13d)]());if(!_0x2aabea)try{const _0x331bc7=await NTQQGroupApi[_0x420b23(0x139)]();_0x331bc7[_0x420b23(0x132)]&&_0x331bc7[_0x420b23(0x12f)](_0x3f969b=>{const _0x5255e4=_0x420b23;groups[_0x5255e4(0x13c)](_0x3f969b[_0x5255e4(0x136)],_0x3f969b);});}catch(_0x1d7124){return undefined;}return _0x2aabea=groups[_0x420b23(0x140)](_0x143d4c['toString']()),_0x2aabea;}export async function getGroupMember(_0x2c11d8,_0x3a493a){const _0x38a20d=_0x274b,_0x38bd12={'BpHCo':function(_0x4cc065){return _0x4cc065();}};_0x2c11d8=_0x2c11d8['toString'](),_0x3a493a=_0x3a493a[_0x38a20d(0x13d)]();let _0x432a37=groupMembers[_0x38a20d(0x140)](_0x2c11d8);if(!_0x432a37)try{_0x432a37=await NTQQGroupApi['getGroupMembers'](_0x2c11d8),groupMembers['set'](_0x2c11d8,_0x432a37);}catch(_0x552747){return null;}const _0x46949d=()=>{const _0x5c4b4d=_0x38a20d;let _0x3aa306=undefined;return isNumeric(_0x3a493a)?_0x3aa306=Array[_0x5c4b4d(0x130)](_0x432a37[_0x5c4b4d(0x144)]())['find'](_0x493ee0=>_0x493ee0[_0x5c4b4d(0x13a)]===_0x3a493a):_0x3aa306=_0x432a37[_0x5c4b4d(0x140)](_0x3a493a),_0x3aa306;};let _0x3401bb=_0x38bd12[_0x38a20d(0x135)](_0x46949d);return!_0x3401bb&&(_0x432a37=await NTQQGroupApi[_0x38a20d(0x13b)](_0x2c11d8),_0x3401bb=_0x46949d()),_0x3401bb;}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 fbea4aae..3806af40 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x5a621d,_0x36ae58){var _0x42149e=_0x4a52,_0x44c174=_0x5a621d();while(!![]){try{var _0x5469f0=parseInt(_0x42149e(0xac))/0x1+parseInt(_0x42149e(0xa1))/0x2*(-parseInt(_0x42149e(0xae))/0x3)+parseInt(_0x42149e(0xa4))/0x4*(parseInt(_0x42149e(0xab))/0x5)+-parseInt(_0x42149e(0xaa))/0x6*(-parseInt(_0x42149e(0xb0))/0x7)+-parseInt(_0x42149e(0xa0))/0x8+-parseInt(_0x42149e(0xa3))/0x9*(parseInt(_0x42149e(0xaf))/0xa)+parseInt(_0x42149e(0xa6))/0xb;if(_0x5469f0===_0x36ae58)break;else _0x44c174['push'](_0x44c174['shift']());}catch(_0x3e9ca7){_0x44c174['push'](_0x44c174['shift']());}}}(_0x3e8f,0x8896d));function _0x4a52(_0xdcbf4,_0x606f78){var _0x3e8fd5=_0x3e8f();return _0x4a52=function(_0x4a523d,_0x445771){_0x4a523d=_0x4a523d-0xa0;var _0x26d728=_0x3e8fd5[_0x4a523d];return _0x26d728;},_0x4a52(_0xdcbf4,_0x606f78);}function _0x3e8f(){var _0x2aa672=['EQBSb','ynAPI','Dvciw','2808sLBxlg','125HNRrpT','321095mLvvHq','AUDIO','18nbzdtf','30HSERLr','14959GjylxY','VIDEO','KVDVK','7379000fDzwlP','60748ykGDKb','DOCUMENT','1317843ONLtIb','22864timePA','OTHER','7031838lvAzvp'];_0x3e8f=function(){return _0x2aa672;};return _0x3e8f();};export var CacheFileType;(function(_0x576eee){var _0x477ac2=_0x4a52,_0x4a600b={'EQBSb':'IMAGE','ynAPI':'VIDEO','AiqSP':_0x477ac2(0xad),'KVDVK':_0x477ac2(0xa2),'Dvciw':_0x477ac2(0xa5)};_0x576eee[_0x576eee[_0x4a600b[_0x477ac2(0xa7)]]=0x0]=_0x4a600b[_0x477ac2(0xa7)],_0x576eee[_0x576eee[_0x477ac2(0xb1)]=0x1]=_0x4a600b[_0x477ac2(0xa8)],_0x576eee[_0x576eee[_0x4a600b['AiqSP']]=0x2]=_0x4a600b['AiqSP'],_0x576eee[_0x576eee[_0x477ac2(0xa2)]=0x3]=_0x4a600b[_0x477ac2(0xb2)],_0x576eee[_0x576eee[_0x4a600b['Dvciw']]=0x4]=_0x4a600b[_0x477ac2(0xa9)];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x3bcc6a,_0x533aee){var _0x57c014=_0x5dc4,_0x3305c5=_0x3bcc6a();while(!![]){try{var _0x24207c=parseInt(_0x57c014(0x183))/0x1*(-parseInt(_0x57c014(0x193))/0x2)+-parseInt(_0x57c014(0x18d))/0x3*(parseInt(_0x57c014(0x181))/0x4)+-parseInt(_0x57c014(0x17f))/0x5*(parseInt(_0x57c014(0x18e))/0x6)+-parseInt(_0x57c014(0x189))/0x7*(parseInt(_0x57c014(0x17e))/0x8)+-parseInt(_0x57c014(0x190))/0x9*(-parseInt(_0x57c014(0x194))/0xa)+parseInt(_0x57c014(0x186))/0xb*(-parseInt(_0x57c014(0x187))/0xc)+parseInt(_0x57c014(0x191))/0xd;if(_0x24207c===_0x533aee)break;else _0x3305c5['push'](_0x3305c5['shift']());}catch(_0x6cc81){_0x3305c5['push'](_0x3305c5['shift']());}}}(_0x4bd0,0x89e26));function _0x4bd0(){var _0x511ff4=['82KnrTyR','1030hTAekH','split','640424BpTboi','10jGlatI','3|4|2|1|0','668AVcsHq','OTHER','20977zpQxpd','zvRYL','VIDEO','2339843QNazjO','60utiHJq','AUDIO','14UGqRoh','hLsXR','Tktvj','IMAGE','1764Vpcsqj','3235422jxpmyG','izrCJ','38277RDdrTs','44032469GMtdIY','bltQy'];_0x4bd0=function(){return _0x511ff4;};return _0x4bd0();}function _0x5dc4(_0x324515,_0x35785d){var _0x4bd08d=_0x4bd0();return _0x5dc4=function(_0x5dc4c4,_0x42f3ec){_0x5dc4c4=_0x5dc4c4-0x17d;var _0x14cee4=_0x4bd08d[_0x5dc4c4];return _0x14cee4;},_0x5dc4(_0x324515,_0x35785d);};export var CacheFileType;(function(_0x17f52b){var _0x2d5e81=_0x5dc4,_0x32bfce={'bltQy':_0x2d5e81(0x182),'izrCJ':'DOCUMENT','hLsXR':_0x2d5e81(0x188),'Tktvj':_0x2d5e81(0x18c),'zvRYL':_0x2d5e81(0x185)},_0x5b9267=_0x2d5e81(0x180)[_0x2d5e81(0x17d)]('|'),_0x3f16c2=0x0;while(!![]){switch(_0x5b9267[_0x3f16c2++]){case'0':_0x17f52b[_0x17f52b[_0x2d5e81(0x182)]=0x4]=_0x32bfce[_0x2d5e81(0x192)];continue;case'1':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x18f)]]=0x3]=_0x32bfce[_0x2d5e81(0x18f)];continue;case'2':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x18a)]]=0x2]=_0x32bfce[_0x2d5e81(0x18a)];continue;case'3':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x18b)]]=0x0]=_0x32bfce['Tktvj'];continue;case'4':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x184)]]=0x1]=_0x32bfce[_0x2d5e81(0x184)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 460ac97e..0a4b5da7 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x3139ba=_0x2665;(function(_0x5d5eb4,_0x4def2d){const _0x30db90=_0x2665,_0x4adc7b=_0x5d5eb4();while(!![]){try{const _0x4619a1=-parseInt(_0x30db90(0x13a))/0x1+-parseInt(_0x30db90(0x12d))/0x2+-parseInt(_0x30db90(0x10c))/0x3*(parseInt(_0x30db90(0xfc))/0x4)+parseInt(_0x30db90(0x115))/0x5*(parseInt(_0x30db90(0x148))/0x6)+parseInt(_0x30db90(0x13f))/0x7*(parseInt(_0x30db90(0x10a))/0x8)+parseInt(_0x30db90(0x122))/0x9*(parseInt(_0x30db90(0x133))/0xa)+-parseInt(_0x30db90(0x143))/0xb*(-parseInt(_0x30db90(0x106))/0xc);if(_0x4619a1===_0x4def2d)break;else _0x4adc7b['push'](_0x4adc7b['shift']());}catch(_0x51818e){_0x4adc7b['push'](_0x4adc7b['shift']());}}}(_0x49ed,0x617fa));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5b50c0}from'node:fs';import _0x1987a3 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 _0x2665(_0x3b504e,_0x59286c){const _0x49ede3=_0x49ed();return _0x2665=function(_0x2665de,_0x2168c5){_0x2665de=_0x2665de-0xed;let _0x8a080d=_0x49ede3[_0x2665de];return _0x8a080d;},_0x2665(_0x3b504e,_0x59286c);}import{encodeSilk}from'@/common/utils/audio';import _0x49eeac from'./face_config.json';function _0x49ed(){const _0x3d32e9=['end','file','emoji','564026xpbLoR','[骰子]','sysface','TEXT','RPS','518GaVjcv','Bot\x20Test','jpg','MFACE','902jKraZT','TgjLB','find','height','sep','2892NZhYcI','saWWs','replace','ptt','FPOMY','video','miniapp','FILE','size','join','asWmZ','dirname','nTksU','WCokw','markdown','amBna','getImageSize','hoSUC','136RGIsZX','error','HzLKA','screenshots','string','face','jAvKp','dice','bvyCp','gyQGq','184596aMDgTv','stat','PIC','set','392HWoKLW','[包剪锤]','31197SEqAFf','mface','lWqMJ','Ori','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','_0.png','unlink','width','rTMBQ','2260WGdZsw','stringify','VIDEO','REPLY','reply','get','语音转换失败,\x20请检查语音文件是否正常','dLLVu','REPid','writeFile','FACE','https://www.bilibili.com/','toString','45Wvanyc','mHptD','gif','QSid','[商城表情]','catch','wpSfx','获取视频信息失败','pic','AniStickerType','文件异常,大小为0','1523010fbOCxA','then','uploadFile','QDes','LmwTs','mp4','1191110srAWnK','Thumb','copyFile','bRIDs'];_0x49ed=function(){return _0x3d32e9;};return _0x49ed();}import*as _0x393019 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x555c6e){const _0x53c0f1=_0x2665;return{'elementType':ElementType[_0x53c0f1(0x13d)],'elementId':'','textElement':{'content':_0x555c6e,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4ca4cd,_0x378810,_0x29543b,_0x261830){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x261830,'atType':_0x29543b,'atUid':_0x4ca4cd,'atTinyId':'','atNtUid':_0x378810}};}static[_0x3139ba(0x119)](_0x30f436,_0x19411c,_0xd2d2df,_0xfcd2d9){const _0x1647ae=_0x3139ba;return{'elementType':ElementType[_0x1647ae(0x118)],'elementId':'','replyElement':{'replayMsgSeq':_0x30f436,'replayMsgId':_0x19411c,'senderUin':_0xd2d2df,'senderUinStr':_0xfcd2d9}};}static async[_0x3139ba(0x12a)](_0x120f1b,_0x41e389='',_0x28c3e2=0x0){const _0x5c53b7=_0x3139ba,_0x4023b9={'FKnew':function(_0x1b44ab,_0x225cb4){return _0x1b44ab===_0x225cb4;},'nTksU':'文件异常,大小为0','WCokw':function(_0x63ee76,_0x55be9d){return _0x63ee76(_0x55be9d);}},{md5:_0x199fdc,fileName:_0x3f2c15,path:_0x406467,fileSize:_0x90c209}=await NTQQFileApi[_0x5c53b7(0x12f)](_0x120f1b,ElementType[_0x5c53b7(0x108)],_0x28c3e2);if(_0x4023b9['FKnew'](_0x90c209,0x0))throw _0x4023b9[_0x5c53b7(0xf6)];const _0x34a085=await NTQQFileApi[_0x5c53b7(0xfa)](_0x120f1b),_0x325f7f={'md5HexStr':_0x199fdc,'fileSize':_0x90c209[_0x5c53b7(0x121)](),'picWidth':_0x34a085?.['width'],'picHeight':_0x34a085?.[_0x5c53b7(0x146)],'fileName':_0x3f2c15,'sourcePath':_0x406467,'original':!![],'picType':_0x4023b9[_0x5c53b7(0xf7)](isGIF,_0x120f1b)?PicType[_0x5c53b7(0x124)]:PicType[_0x5c53b7(0x141)],'picSubType':_0x28c3e2,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x41e389};return{'elementType':ElementType[_0x5c53b7(0x108)],'elementId':'','picElement':_0x325f7f};}static async[_0x3139ba(0x138)](_0x386845,_0x2f33b9='',_0x6c8e32=''){const _0x48d784=_0x3139ba,_0x2dc242={'asWmZ':function(_0x360835,_0x464048){return _0x360835===_0x464048;},'sKnqB':_0x48d784(0x12c),'lWqMJ':function(_0x329537,_0x59a271){return _0x329537||_0x59a271;}},{md5:_0x4b18cc,fileName:_0x19e413,path:_0x59954e,fileSize:_0x18d6d2}=await NTQQFileApi[_0x48d784(0x12f)](_0x386845,ElementType[_0x48d784(0xf1)]);if(_0x2dc242[_0x48d784(0xf4)](_0x18d6d2,0x0))throw _0x2dc242['sKnqB'];const _0x29da2a={'elementType':ElementType[_0x48d784(0xf1)],'elementId':'','fileElement':{'fileName':_0x2dc242[_0x48d784(0x10e)](_0x2f33b9,_0x19e413),'folderId':_0x6c8e32,'filePath':_0x59954e,'fileSize':_0x18d6d2[_0x48d784(0x121)]()}};return _0x29da2a;}static async[_0x3139ba(0xef)](_0x2274b8,_0x2d1c7b='',_0x10f5f6=''){const _0x282a83=_0x3139ba,_0x54ce83={'TgjLB':function(_0x1e6263,_0x1b02c9,_0x46bdb9){return _0x1e6263(_0x1b02c9,_0x46bdb9);},'amBna':'获取视频封面失败,使用默认封面','mHptD':function(_0x8f6d47,_0x5beabd){return _0x8f6d47(_0x5beabd);},'hwZtA':function(_0x4587ad,_0x446c20){return _0x4587ad(_0x446c20);},'REPid':_0x282a83(0x137),'bvyCp':function(_0x49713b,_0x18715a){return _0x49713b+_0x18715a;},'KGNMR':function(_0x98270d,_0x598163){return _0x98270d===_0x598163;},'jAvKp':_0x282a83(0x132),'xSrnO':function(_0x50861a,_0x315767){return _0x50861a(_0x315767);},'dLLVu':_0x282a83(0x129),'FrQbv':function(_0x42a019,_0x215406){return _0x42a019||_0x215406;}},{fileName:_0x1b80cb,path:_0x2bcb97,fileSize:_0x3d84a4,md5:_0x426354}=await NTQQFileApi['uploadFile'](_0x2274b8,ElementType[_0x282a83(0x117)]);if(_0x54ce83['KGNMR'](_0x3d84a4,0x0))throw _0x282a83(0x12c);let _0x26d60a=_0x2bcb97[_0x282a83(0x14a)](_0x393019[_0x282a83(0x147)]+_0x282a83(0x10f)+_0x393019[_0x282a83(0x147)],_0x393019[_0x282a83(0x147)]+_0x282a83(0x134)+_0x393019[_0x282a83(0x147)]);_0x26d60a=_0x393019[_0x282a83(0xf5)](_0x26d60a);let _0x34f17e={'width':0x780,'height':0x438,'time':0xf,'format':_0x54ce83[_0x282a83(0x102)],'size':_0x3d84a4,'filePath':_0x2274b8};try{_0x34f17e=await _0x54ce83['xSrnO'](getVideoInfo,_0x2bcb97);}catch(_0x4d798a){_0x54ce83['TgjLB'](logError,_0x54ce83[_0x282a83(0x11c)],_0x4d798a);}const _0x196ba8=new Promise((_0x4637f2,_0x2b88d8)=>{const _0x4a4789=_0x282a83,_0xde9402={'adIMd':function(_0x174025,_0x49f24e){const _0x32e56e=_0x2665;return _0x54ce83[_0x32e56e(0x123)](_0x174025,_0x49f24e);}},_0x528509=_0x426354+_0x4a4789(0x111),_0x53d9d1=_0x393019[_0x4a4789(0xf3)](_0x26d60a,_0x528509);_0x54ce83['hwZtA'](_0x1987a3,_0x2274b8)['on'](_0x54ce83[_0x4a4789(0x11d)],()=>{})['on'](_0x4a4789(0xfd),_0x4011ab=>{const _0x45950a=_0x4a4789;_0x54ce83[_0x45950a(0x144)](logDebug,_0x54ce83[_0x45950a(0xf9)],_0x4011ab),_0x10f5f6?_0x5b50c0[_0x45950a(0x135)](_0x10f5f6,_0x53d9d1)[_0x45950a(0x12e)](()=>{_0x4637f2(_0x53d9d1);})[_0x45950a(0x127)](_0x2b88d8):_0x5b50c0[_0x45950a(0x11e)](_0x53d9d1,defaultVideoThumb)[_0x45950a(0x12e)](()=>{_0x4637f2(_0x53d9d1);})[_0x45950a(0x127)](_0x2b88d8);})[_0x4a4789(0xff)]({'timestamps':[0x0],'filename':_0x528509,'folder':_0x26d60a,'size':_0x54ce83[_0x4a4789(0x104)](_0x34f17e[_0x4a4789(0x113)]+'x',_0x34f17e['height'])})['on'](_0x54ce83[_0x4a4789(0x11d)],()=>{_0xde9402['adIMd'](_0x4637f2,_0x53d9d1);});}),_0x915a71=new Map(),_0x353869=await _0x196ba8,_0x31691b=(await _0x5b50c0[_0x282a83(0x107)](_0x353869))[_0x282a83(0xf2)];_0x915a71[_0x282a83(0x109)](0x0,_0x353869);const _0x58e969=await calculateFileMD5(_0x353869),_0x375144={'elementType':ElementType[_0x282a83(0x117)],'elementId':'','videoElement':{'fileName':_0x54ce83['FrQbv'](_0x2d1c7b,_0x1b80cb),'filePath':_0x2bcb97,'videoMd5':_0x426354,'thumbMd5':_0x58e969,'fileTime':_0x34f17e['time'],'thumbPath':_0x915a71,'thumbSize':_0x31691b,'thumbWidth':_0x34f17e['width'],'thumbHeight':_0x34f17e[_0x282a83(0x146)],'fileSize':_0x54ce83[_0x282a83(0x104)]('',_0x3d84a4)}};return _0x375144;}static async[_0x3139ba(0xed)](_0x1bb877){const _0x339c0c=_0x3139ba,_0x3e3bb3={'saWWs':function(_0x2852ad,_0x39c717){return _0x2852ad(_0x39c717);},'wpSfx':_0x339c0c(0x11b),'hoSUC':function(_0xeb99f6,_0x366d65){return _0xeb99f6===_0x366d65;},'eoEsT':function(_0x36def8,_0x2f3583){return _0x36def8||_0x2f3583;}},{converted:_0x7edb47,path:_0x3fd88e,duration:_0x2880d6}=await _0x3e3bb3[_0x339c0c(0x149)](encodeSilk,_0x1bb877);if(!_0x3fd88e)throw _0x3e3bb3[_0x339c0c(0x128)];const {md5:_0x48de22,fileName:_0x3981a2,path:_0x5d3e3f,fileSize:_0x417d65}=await NTQQFileApi['uploadFile'](_0x3fd88e,ElementType['PTT']);if(_0x3e3bb3[_0x339c0c(0xfb)](_0x417d65,0x0))throw _0x339c0c(0x12c);return _0x7edb47&&_0x5b50c0[_0x339c0c(0x112)](_0x3fd88e)[_0x339c0c(0x12e)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x3981a2,'filePath':_0x5d3e3f,'md5HexStr':_0x48de22,'fileSize':_0x417d65,'duration':_0x3e3bb3['eoEsT'](_0x2880d6,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[_0x3139ba(0x101)](_0x13d8ea){const _0x4e6bb7=_0x3139ba,_0x44f959={'rTMBQ':function(_0xd59ff8,_0x41389e){return _0xd59ff8>=_0x41389e;}},_0xc69f60=_0x49eeac[_0x4e6bb7(0x13c)],_0x3b15b9=_0x49eeac[_0x4e6bb7(0x139)],_0x54f0fa=_0xc69f60[_0x4e6bb7(0x145)](_0x4c355a=>_0x4c355a[_0x4e6bb7(0x125)]===_0x13d8ea[_0x4e6bb7(0x121)]());_0x13d8ea=parseInt(_0x13d8ea[_0x4e6bb7(0x121)]());let _0x2189e7=0x1;return _0x44f959[_0x4e6bb7(0x114)](_0x13d8ea,0xde)&&(_0x2189e7=0x2),_0x54f0fa[_0x4e6bb7(0x12b)]&&(_0x2189e7=0x3),{'elementType':ElementType[_0x4e6bb7(0x11f)],'elementId':'','faceElement':{'faceIndex':_0x13d8ea,'faceType':_0x2189e7,'faceText':_0x54f0fa[_0x4e6bb7(0x130)],'stickerId':_0x54f0fa['AniStickerId'],'stickerType':_0x54f0fa['AniStickerType'],'packId':_0x54f0fa['AniStickerPackId'],'sourceType':0x1}};}static[_0x3139ba(0x10d)](_0x92fc18,_0x1f9199,_0x5875ef,_0x4dcac2){const _0x4ac3b4=_0x3139ba;return{'elementType':ElementType[_0x4ac3b4(0x142)],'marketFaceElement':{'emojiPackageId':_0x92fc18,'emojiId':_0x1f9199,'key':_0x5875ef,'faceName':_0x4dcac2||mFaceCache[_0x4ac3b4(0x11a)](_0x1f9199)||_0x4ac3b4(0x126)}};}static['dice'](_0xcccadc){const _0x57fd63=_0x3139ba,_0x2cbd46={'HzLKA':_0x57fd63(0x13b)};return{'elementType':ElementType[_0x57fd63(0x11f)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x57fd63(0x103)],'faceType':FaceType[_0x57fd63(0x103)],'faceText':_0x2cbd46[_0x57fd63(0xfe)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x505b49){const _0x37df76=_0x3139ba,_0x14a655={'LmwTs':_0x37df76(0x10b)};return{'elementType':ElementType[_0x37df76(0x11f)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x37df76(0x13e)],'faceText':_0x14a655[_0x37df76(0x131)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x2b70e6){const _0x3bf686=_0x3139ba,_0x22aca1={'FPOMY':function(_0x2e55eb,_0x2263ae){return _0x2e55eb!==_0x2263ae;}};return _0x22aca1[_0x3bf686(0xee)](typeof _0x2b70e6,_0x3bf686(0x100))&&(_0x2b70e6=JSON[_0x3bf686(0x116)](_0x2b70e6)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x2b70e6,'linkInfo':null,'subElementType':null}};}static[_0x3139ba(0xf8)](_0xbdc69c){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0xbdc69c}};}static async[_0x3139ba(0xf0)](){const _0x224d62=_0x3139ba,_0x55792a={'dscvi':function(_0x527118,_0x55d9ea){return _0x527118(_0x55d9ea);},'gyQGq':_0x224d62(0x140),'Lkaje':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','bRIDs':_0x224d62(0x120)};let _0xd36444=await _0x55792a['dscvi'](SignMiniApp,{'prompt':_0x224d62(0x140),'title':_0x55792a['gyQGq'],'preview':_0x55792a['Lkaje'],'jumpUrl':_0x55792a[_0x224d62(0x136)],'tag':_0x55792a[_0x224d62(0x105)],'tagIcon':_0x224d62(0x110),'source':_0x55792a[_0x224d62(0x105)],'sourcelogo':_0x224d62(0x110)});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0xd36444,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +function _0x453f(){const _0x42ddc3=['sysface','TcFDa','face','获取视频封面失败,使用默认封面','tuQVu','TEXT','text','AniStickerType','height','gWfHG','gif','writeFile','tnWpE','find','VIDEO','markdown','hJxRo','mp4','size','PTT','FACE','set','REPLY','iBpwP','then','getImageSize','文件异常,大小为0','DBKpn','Hbicx','tLGYL','fDEtW','Bot\x20Test','932841OirRsy','SJutN','WBWpw','dirname','sWvmr','[商城表情]','sep','stringify','ppfnK','Ori','KZjam','xsvsc','video','catch','ZecZD','9918246MxMrhM','Thumb','517328fKMvvg','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','width','end','4642EZzEtL','screenshots','replace','FXbRi','https://www.bilibili.com/','ark','960qjngYo','ordKh','7811120SfuQfX','string','join','19AwUekn','file','TCzMy','rClBY','[骰子]','dice','pic','PIC','Cxbgy','1985930TrFmaU','mface','emoji','miniapp','91mQvWuM','AniStickerId','QSid','stat','toString','QDes','FILE','获取视频信息失败','MFACE','copyFile','uploadFile','GhCCq','XyKWH','notAt','ptt','3243DqFsJF','ARK','RnoeG','语音转换失败,\x20请检查语音文件是否正常','rLXpf','rps','fqaeo','MARKDOWN'];_0x453f=function(){return _0x42ddc3;};return _0x453f();}const _0x5a12e4=_0x5c12;(function(_0x13cbc5,_0x1b1358){const _0x255049=_0x5c12,_0xa2b68d=_0x13cbc5();while(!![]){try{const _0x1b64e8=-parseInt(_0x255049(0xc6))/0x1*(-parseInt(_0x255049(0xbb))/0x2)+parseInt(_0x255049(0xe2))/0x3*(-parseInt(_0x255049(0xc1))/0x4)+parseInt(_0x255049(0xc3))/0x5+-parseInt(_0x255049(0xb4))/0x6+-parseInt(_0x255049(0xd3))/0x7*(-parseInt(_0x255049(0xb6))/0x8)+parseInt(_0x255049(0xa5))/0x9+parseInt(_0x255049(0xcf))/0xa;if(_0x1b64e8===_0x1b1358)break;else _0xa2b68d['push'](_0xa2b68d['shift']());}catch(_0x59f2b6){_0xa2b68d['push'](_0xa2b68d['shift']());}}}(_0x453f,0xcc486));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x5c12(_0x42e25b,_0x3f0288){const _0x453fc8=_0x453f();return _0x5c12=function(_0x5c12dc,_0x1588c8){_0x5c12dc=_0x5c12dc-0x98;let _0x286fe3=_0x453fc8[_0x5c12dc];return _0x286fe3;},_0x5c12(_0x42e25b,_0x3f0288);}import{promises as _0x359ba2}from'node:fs';import _0x11320b 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 _0x545460 from'./face_config.json';import*as _0x311ddf from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x5a12e4(0xf0)](_0x3ef49a){const _0x5482d2=_0x5a12e4;return{'elementType':ElementType[_0x5482d2(0xef)],'elementId':'','textElement':{'content':_0x3ef49a,'atType':AtType[_0x5482d2(0xe0)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x36a908,_0x18ee18,_0x5becb4,_0xcd41aa){const _0x5db557=_0x5a12e4;return{'elementType':ElementType[_0x5db557(0xef)],'elementId':'','textElement':{'content':'@'+_0xcd41aa,'atType':_0x5becb4,'atUid':_0x36a908,'atTinyId':'','atNtUid':_0x18ee18}};}static['reply'](_0x82ff1f,_0x30b95a,_0x4a9d90,_0x1d7376){const _0x28d89b=_0x5a12e4;return{'elementType':ElementType[_0x28d89b(0x9b)],'elementId':'','replyElement':{'replayMsgSeq':_0x82ff1f,'replayMsgId':_0x30b95a,'senderUin':_0x4a9d90,'senderUinStr':_0x1d7376}};}static async[_0x5a12e4(0xcc)](_0x1b8f98,_0x5ef649='',_0x39cc9a=0x0){const _0x5b18d5=_0x5a12e4,_0x57ce99={'hJxRo':_0x5b18d5(0x9f)},{md5:_0x4ae8ba,fileName:_0x4a2d73,path:_0x5cd32f,fileSize:_0x16a102}=await NTQQFileApi[_0x5b18d5(0xdd)](_0x1b8f98,ElementType[_0x5b18d5(0xcd)],_0x39cc9a);if(_0x16a102===0x0)throw _0x57ce99[_0x5b18d5(0xfa)];const _0x2f0d7a=await NTQQFileApi[_0x5b18d5(0x9e)](_0x1b8f98),_0x3c5892={'md5HexStr':_0x4ae8ba,'fileSize':_0x16a102[_0x5b18d5(0xd7)](),'picWidth':_0x2f0d7a?.[_0x5b18d5(0xb9)],'picHeight':_0x2f0d7a?.['height'],'fileName':_0x4a2d73,'sourcePath':_0x5cd32f,'original':!![],'picType':isGIF(_0x1b8f98)?PicType[_0x5b18d5(0xf4)]:PicType['jpg'],'picSubType':_0x39cc9a,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5ef649};return{'elementType':ElementType[_0x5b18d5(0xcd)],'elementId':'','picElement':_0x3c5892};}static async[_0x5a12e4(0xc7)](_0x1a3b38,_0xdc34ab='',_0x559f17=''){const _0x416450=_0x5a12e4,_0x51e745={'iBpwP':function(_0x4456b5,_0x7ada49){return _0x4456b5===_0x7ada49;},'ZecZD':'文件异常,大小为0'},{md5:_0x5aefc8,fileName:_0x145cd6,path:_0x3ff682,fileSize:_0x4647ca}=await NTQQFileApi[_0x416450(0xdd)](_0x1a3b38,ElementType['FILE']);if(_0x51e745[_0x416450(0x9c)](_0x4647ca,0x0))throw _0x51e745[_0x416450(0xb3)];const _0x3be241={'elementType':ElementType[_0x416450(0xd9)],'elementId':'','fileElement':{'fileName':_0xdc34ab||_0x145cd6,'folderId':_0x559f17,'filePath':_0x3ff682,'fileSize':_0x4647ca['toString']()}};return _0x3be241;}static async[_0x5a12e4(0xb1)](_0x3f1fe6,_0x848618='',_0x17a472=''){const _0x2684fe=_0x5a12e4,_0xea0df3={'KZjam':function(_0x4feb02,_0x306e0c){return _0x4feb02(_0x306e0c);},'TCzMy':function(_0xfffca3,_0x150a22){return _0xfffca3(_0x150a22);},'ordKh':_0x2684fe(0xba),'Cxbgy':'error','vzLyp':function(_0x5dd18e,_0x2b41be){return _0x5dd18e+_0x2b41be;},'SJutN':function(_0x3c52b5,_0x13c99f){return _0x3c52b5===_0x13c99f;},'TcFDa':_0x2684fe(0x9f),'WBWpw':function(_0x359de3,_0x345975,_0x21d663){return _0x359de3(_0x345975,_0x21d663);},'wJcJN':_0x2684fe(0xda),'FXbRi':function(_0x14b86a,_0x5d4ffc){return _0x14b86a+_0x5d4ffc;}},{fileName:_0x4daf62,path:_0x4e86b1,fileSize:_0x5db5a5,md5:_0xc827ee}=await NTQQFileApi[_0x2684fe(0xdd)](_0x3f1fe6,ElementType[_0x2684fe(0xf8)]);if(_0xea0df3[_0x2684fe(0xa6)](_0x5db5a5,0x0))throw _0xea0df3[_0x2684fe(0xeb)];let _0x35cc3=_0x4e86b1[_0x2684fe(0xbd)](_0x311ddf['sep']+_0x2684fe(0xae)+_0x311ddf['sep'],_0x311ddf[_0x2684fe(0xab)]+_0x2684fe(0xb5)+_0x311ddf[_0x2684fe(0xab)]);_0x35cc3=_0x311ddf[_0x2684fe(0xa8)](_0x35cc3);let _0x3f805e={'width':0x780,'height':0x438,'time':0xf,'format':_0x2684fe(0xfb),'size':_0x5db5a5,'filePath':_0x3f1fe6};try{_0x3f805e=await _0xea0df3[_0x2684fe(0xc8)](getVideoInfo,_0x4e86b1);}catch(_0x3f1f8d){_0xea0df3[_0x2684fe(0xa7)](logError,_0xea0df3['wJcJN'],_0x3f1f8d);}const _0xa68967=new Promise((_0x47c1e7,_0xa2f9fa)=>{const _0x18278b=_0x2684fe,_0x2b6d74={'aaGFR':function(_0x262507,_0x10bf84){const _0x403cb4=_0x5c12;return _0xea0df3[_0x403cb4(0xaf)](_0x262507,_0x10bf84);},'gWfHG':function(_0x1712c6,_0x416ed9,_0x1fd188){return _0x1712c6(_0x416ed9,_0x1fd188);},'lIiJt':_0x18278b(0xed)},_0x299140=_0xc827ee+'_0.png',_0xbac3b4=_0x311ddf[_0x18278b(0xc5)](_0x35cc3,_0x299140);_0xea0df3['TCzMy'](_0x11320b,_0x3f1fe6)['on'](_0xea0df3['ordKh'],()=>{})['on'](_0xea0df3[_0x18278b(0xce)],_0x7fc95d=>{const _0x3dba3d=_0x18278b,_0xb16ae9={'sWvmr':function(_0x574e13,_0x8ef25e){return _0x2b6d74['aaGFR'](_0x574e13,_0x8ef25e);}};_0x2b6d74[_0x3dba3d(0xf3)](logDebug,_0x2b6d74['lIiJt'],_0x7fc95d),_0x17a472?_0x359ba2[_0x3dba3d(0xdc)](_0x17a472,_0xbac3b4)[_0x3dba3d(0x9d)](()=>{const _0x323d14=_0x3dba3d;_0xb16ae9[_0x323d14(0xa9)](_0x47c1e7,_0xbac3b4);})[_0x3dba3d(0xb2)](_0xa2f9fa):_0x359ba2[_0x3dba3d(0xf5)](_0xbac3b4,defaultVideoThumb)[_0x3dba3d(0x9d)](()=>{_0xb16ae9['sWvmr'](_0x47c1e7,_0xbac3b4);})[_0x3dba3d(0xb2)](_0xa2f9fa);})[_0x18278b(0xbc)]({'timestamps':[0x0],'filename':_0x299140,'folder':_0x35cc3,'size':_0xea0df3['vzLyp'](_0x3f805e['width'],'x')+_0x3f805e[_0x18278b(0xf2)]})['on'](_0xea0df3[_0x18278b(0xc2)],()=>{_0x47c1e7(_0xbac3b4);});}),_0x4e0136=new Map(),_0x152cd9=await _0xa68967,_0xa4fbb1=(await _0x359ba2[_0x2684fe(0xd6)](_0x152cd9))[_0x2684fe(0xfc)];_0x4e0136[_0x2684fe(0x9a)](0x0,_0x152cd9);const _0x137991=await calculateFileMD5(_0x152cd9),_0x1a1597={'elementType':ElementType[_0x2684fe(0xf8)],'elementId':'','videoElement':{'fileName':_0x848618||_0x4daf62,'filePath':_0x4e86b1,'videoMd5':_0xc827ee,'thumbMd5':_0x137991,'fileTime':_0x3f805e['time'],'thumbPath':_0x4e0136,'thumbSize':_0xa4fbb1,'thumbWidth':_0x3f805e['width'],'thumbHeight':_0x3f805e[_0x2684fe(0xf2)],'fileSize':_0xea0df3[_0x2684fe(0xbe)]('',_0x5db5a5)}};return _0x1a1597;}static async[_0x5a12e4(0xe1)](_0x504b4c){const _0x51019c=_0x5a12e4,_0xa5bef4={'RnoeG':function(_0x26c1be,_0xfbf70){return _0x26c1be(_0xfbf70);},'rLXpf':function(_0xa67e9f,_0x14d6a7){return _0xa67e9f===_0x14d6a7;},'fDEtW':_0x51019c(0x9f),'GhCCq':function(_0x5a317e,_0x1c5539){return _0x5a317e||_0x1c5539;}},{converted:_0x48854e,path:_0x47c6a5,duration:_0x4ce9d5}=await _0xa5bef4[_0x51019c(0xe4)](encodeSilk,_0x504b4c);if(!_0x47c6a5)throw _0x51019c(0xe5);const {md5:_0x4beeb5,fileName:_0x180e0b,path:_0x44c036,fileSize:_0x2ca72e}=await NTQQFileApi['uploadFile'](_0x47c6a5,ElementType[_0x51019c(0x98)]);if(_0xa5bef4[_0x51019c(0xe6)](_0x2ca72e,0x0))throw _0xa5bef4[_0x51019c(0xa3)];return _0x48854e&&_0x359ba2['unlink'](_0x47c6a5)[_0x51019c(0x9d)](),{'elementType':ElementType[_0x51019c(0x98)],'elementId':'','pttElement':{'fileName':_0x180e0b,'filePath':_0x44c036,'md5HexStr':_0x4beeb5,'fileSize':_0x2ca72e,'duration':_0xa5bef4[_0x51019c(0xde)](_0x4ce9d5,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[_0x5a12e4(0xec)](_0x58c059){const _0x1101ec=_0x5a12e4,_0x420497={'rClBY':function(_0x41eb77,_0x8a1dbb){return _0x41eb77(_0x8a1dbb);},'DBKpn':function(_0x139ed8,_0x5786b4){return _0x139ed8>=_0x5786b4;}},_0x4c6eef=_0x545460[_0x1101ec(0xea)],_0x480d64=_0x545460[_0x1101ec(0xd1)],_0x3eb1f5=_0x4c6eef[_0x1101ec(0xf7)](_0x480974=>_0x480974[_0x1101ec(0xd5)]===_0x58c059[_0x1101ec(0xd7)]());_0x58c059=_0x420497[_0x1101ec(0xc9)](parseInt,_0x58c059[_0x1101ec(0xd7)]());let _0x69ecd8=0x1;return _0x420497[_0x1101ec(0xa0)](_0x58c059,0xde)&&(_0x69ecd8=0x2),_0x3eb1f5[_0x1101ec(0xf1)]&&(_0x69ecd8=0x3),{'elementType':ElementType[_0x1101ec(0x99)],'elementId':'','faceElement':{'faceIndex':_0x58c059,'faceType':_0x69ecd8,'faceText':_0x3eb1f5[_0x1101ec(0xd8)],'stickerId':_0x3eb1f5[_0x1101ec(0xd4)],'stickerType':_0x3eb1f5[_0x1101ec(0xf1)],'packId':_0x3eb1f5['AniStickerPackId'],'sourceType':0x1}};}static[_0x5a12e4(0xd0)](_0x326783,_0x2003c3,_0x1fbc6d,_0x5a4de5){const _0x256f9f=_0x5a12e4,_0x37bbaf={'tLGYL':_0x256f9f(0xaa)};return{'elementType':ElementType[_0x256f9f(0xdb)],'marketFaceElement':{'emojiPackageId':_0x326783,'emojiId':_0x2003c3,'key':_0x1fbc6d,'faceName':_0x5a4de5||mFaceCache['get'](_0x2003c3)||_0x37bbaf[_0x256f9f(0xa2)]}};}static[_0x5a12e4(0xcb)](_0x3b4fde){const _0x3bb769=_0x5a12e4,_0x3310f2={'tuQVu':_0x3bb769(0xca)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x3bb769(0xcb)],'faceText':_0x3310f2[_0x3bb769(0xee)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a12e4(0xe7)](_0x525f26){return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a12e4(0xc0)](_0x17fdc7){const _0x2a7f19=_0x5a12e4,_0x555b91={'Hbicx':_0x2a7f19(0xc4)};return typeof _0x17fdc7!==_0x555b91[_0x2a7f19(0xa1)]&&(_0x17fdc7=JSON[_0x2a7f19(0xac)](_0x17fdc7)),{'elementType':ElementType[_0x2a7f19(0xe3)],'elementId':'','arkElement':{'bytesData':_0x17fdc7,'linkInfo':null,'subElementType':null}};}static[_0x5a12e4(0xf9)](_0xd256d7){const _0x46b9d4=_0x5a12e4;return{'elementType':ElementType[_0x46b9d4(0xe9)],'elementId':'','markdownElement':{'content':_0xd256d7}};}static async[_0x5a12e4(0xd2)](){const _0x13d07d=_0x5a12e4,_0x52c353={'tnWpE':function(_0x563b0f,_0x2d619b){return _0x563b0f(_0x2d619b);},'ppfnK':_0x13d07d(0xa4),'xsvsc':_0x13d07d(0xb7),'fqaeo':_0x13d07d(0xbf),'XyKWH':_0x13d07d(0xb8)};let _0x5c1efd=await _0x52c353[_0x13d07d(0xf6)](SignMiniApp,{'prompt':_0x52c353[_0x13d07d(0xad)],'title':'Bot\x20Test','preview':_0x52c353[_0x13d07d(0xb0)],'jumpUrl':_0x52c353[_0x13d07d(0xe8)],'tag':_0x52c353['ppfnK'],'tagIcon':_0x52c353[_0x13d07d(0xdf)],'source':_0x52c353[_0x13d07d(0xad)],'sourcelogo':_0x52c353[_0x13d07d(0xdf)]});return{'elementType':ElementType[_0x13d07d(0xe3)],'elementId':'','arkElement':{'bytesData':_0x5c1efd,'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 01b85d8e..267417ff 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x7c1763,_0xfe9aad){var _0x3fcfa4=_0x53e6,_0x44ba28=_0x7c1763();while(!![]){try{var _0x47da07=-parseInt(_0x3fcfa4(0x1d2))/0x1+-parseInt(_0x3fcfa4(0x1d1))/0x2*(parseInt(_0x3fcfa4(0x1d0))/0x3)+parseInt(_0x3fcfa4(0x1d7))/0x4+parseInt(_0x3fcfa4(0x1d6))/0x5+parseInt(_0x3fcfa4(0x1cc))/0x6*(-parseInt(_0x3fcfa4(0x1d8))/0x7)+parseInt(_0x3fcfa4(0x1ce))/0x8+-parseInt(_0x3fcfa4(0x1cf))/0x9;if(_0x47da07===_0xfe9aad)break;else _0x44ba28['push'](_0x44ba28['shift']());}catch(_0x28c791){_0x44ba28['push'](_0x44ba28['shift']());}}}(_0x4b79,0x7277b));function _0x53e6(_0x253eed,_0x235928){var _0x4b7916=_0x4b79();return _0x53e6=function(_0x53e60e,_0x4b2b82){_0x53e60e=_0x53e60e-0x1cb;var _0xa6e563=_0x4b7916[_0x53e60e];return _0xa6e563;},_0x53e6(_0x253eed,_0x235928);}export var GroupMemberRole;(function(_0x247720){var _0x10bbf4=_0x53e6,_0x21c439={'KrzTl':_0x10bbf4(0x1cd),'nGiqc':_0x10bbf4(0x1d5),'CqXPv':_0x10bbf4(0x1cb)};_0x247720[_0x247720[_0x10bbf4(0x1cd)]=0x2]=_0x21c439['KrzTl'],_0x247720[_0x247720[_0x10bbf4(0x1d5)]=0x3]=_0x21c439[_0x10bbf4(0x1d4)],_0x247720[_0x247720[_0x21c439[_0x10bbf4(0x1d3)]]=0x4]=_0x21c439[_0x10bbf4(0x1d3)];}(GroupMemberRole||(GroupMemberRole={})));function _0x4b79(){var _0x340188=['nGiqc','admin','2715480RJeDQv','2781904rhYPDW','476vyTuVf','owner','21468UbIEVN','normal','7205616LuwdRA','8781174AgNIeq','3ZxygKc','574172ETcfGq','164339DWgodH','CqXPv'];_0x4b79=function(){return _0x340188;};return _0x4b79();} \ No newline at end of file +(function(_0x57667b,_0x80711a){var _0x254e86=_0x58d4,_0x52c5cb=_0x57667b();while(!![]){try{var _0x176d75=parseInt(_0x254e86(0x1d1))/0x1*(parseInt(_0x254e86(0x1d2))/0x2)+-parseInt(_0x254e86(0x1ca))/0x3*(parseInt(_0x254e86(0x1cb))/0x4)+-parseInt(_0x254e86(0x1d9))/0x5+-parseInt(_0x254e86(0x1d5))/0x6*(-parseInt(_0x254e86(0x1d4))/0x7)+parseInt(_0x254e86(0x1cc))/0x8+-parseInt(_0x254e86(0x1cf))/0x9+parseInt(_0x254e86(0x1cd))/0xa*(parseInt(_0x254e86(0x1d0))/0xb);if(_0x176d75===_0x80711a)break;else _0x52c5cb['push'](_0x52c5cb['shift']());}catch(_0x6681dd){_0x52c5cb['push'](_0x52c5cb['shift']());}}}(_0x3f6e,0x7b8e0));function _0x58d4(_0x46c77b,_0x4fd805){var _0x3f6ee2=_0x3f6e();return _0x58d4=function(_0x58d4d6,_0xa3cfeb){_0x58d4d6=_0x58d4d6-0x1ca;var _0x22ca21=_0x3f6ee2[_0x58d4d6];return _0x22ca21;},_0x58d4(_0x46c77b,_0x4fd805);}export var GroupMemberRole;function _0x3f6e(){var _0x310caf=['normal','1036210iUjUfO','18EPPIci','owner','admin','NwEmq','2763705JWUzNy','1469334awvAEy','8plTNpK','2531448YQiztJ','344210eEwVJN','SHEOr','3600243jxbCbJ','286tpAhHC','86993vqUzhG','18ZSnPkf'];_0x3f6e=function(){return _0x310caf;};return _0x3f6e();}(function(_0x233258){var _0x20d030=_0x58d4,_0x2eceb7={'SHEOr':_0x20d030(0x1d3),'NwEmq':_0x20d030(0x1d7)};_0x233258[_0x233258[_0x2eceb7['SHEOr']]=0x2]=_0x2eceb7[_0x20d030(0x1ce)],_0x233258[_0x233258[_0x2eceb7[_0x20d030(0x1d8)]]=0x3]=_0x2eceb7[_0x20d030(0x1d8)],_0x233258[_0x233258[_0x20d030(0x1d6)]=0x4]=_0x20d030(0x1d6);}(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 85cc2c6d..daa6c0c6 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x4adfed,_0xbf96e6){var _0x27c3cd=_0x108a,_0x15a959=_0x4adfed();while(!![]){try{var _0x87d737=parseInt(_0x27c3cd(0x8a))/0x1*(parseInt(_0x27c3cd(0x8c))/0x2)+parseInt(_0x27c3cd(0x8e))/0x3*(parseInt(_0x27c3cd(0x85))/0x4)+parseInt(_0x27c3cd(0x8b))/0x5+-parseInt(_0x27c3cd(0x87))/0x6*(parseInt(_0x27c3cd(0x84))/0x7)+parseInt(_0x27c3cd(0x89))/0x8+parseInt(_0x27c3cd(0x88))/0x9*(-parseInt(_0x27c3cd(0x86))/0xa)+-parseInt(_0x27c3cd(0x8d))/0xb;if(_0x87d737===_0xbf96e6)break;else _0x15a959['push'](_0x15a959['shift']());}catch(_0x1af82a){_0x15a959['push'](_0x15a959['shift']());}}}(_0x55d4,0x337f5));export*from'./user';export*from'./group';export*from'./msg';function _0x108a(_0x5d74d2,_0x56c658){var _0x55d457=_0x55d4();return _0x108a=function(_0x108a36,_0xde80fb){_0x108a36=_0x108a36-0x84;var _0x28e827=_0x55d457[_0x108a36];return _0x28e827;},_0x108a(_0x5d74d2,_0x56c658);}function _0x55d4(){var _0x1b978a=['2mRVHHp','2053730uNNpMF','207346ICmmrB','2192157HNSyUZ','39jFsrGP','991459dLDzZw','45332yBHObM','40mzYHyB','12UqwLnO','578457utWpui','1481320bZJvEQ'];_0x55d4=function(){return _0x1b978a;};return _0x55d4();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x41dd29,_0x27c819){var _0x54a448=_0x3759,_0x2e4d59=_0x41dd29();while(!![]){try{var _0x5b9fa7=parseInt(_0x54a448(0x11e))/0x1+-parseInt(_0x54a448(0x121))/0x2+-parseInt(_0x54a448(0x11c))/0x3*(parseInt(_0x54a448(0x119))/0x4)+parseInt(_0x54a448(0x117))/0x5*(-parseInt(_0x54a448(0x11d))/0x6)+-parseInt(_0x54a448(0x122))/0x7*(-parseInt(_0x54a448(0x11f))/0x8)+parseInt(_0x54a448(0x120))/0x9*(parseInt(_0x54a448(0x118))/0xa)+-parseInt(_0x54a448(0x11a))/0xb*(-parseInt(_0x54a448(0x11b))/0xc);if(_0x5b9fa7===_0x27c819)break;else _0x2e4d59['push'](_0x2e4d59['shift']());}catch(_0x439218){_0x2e4d59['push'](_0x2e4d59['shift']());}}}(_0x3e71,0x7938e));export*from'./user';export*from'./group';function _0x3759(_0x14dc7e,_0x312bbc){var _0x3e71fa=_0x3e71();return _0x3759=function(_0x375977,_0x592f5b){_0x375977=_0x375977-0x117;var _0x104fff=_0x3e71fa[_0x375977];return _0x104fff;},_0x3759(_0x14dc7e,_0x312bbc);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0x3e71(){var _0x5691a6=['113510ICrLWq','23344MCndzc','33nnjyoV','3891204hQkUtF','498miMKrh','906dhXlWi','405827PDYngu','176oiidDB','603vJyhPM','108172UibGam','13580yPJSOG','21935nkNVNJ'];_0x3e71=function(){return _0x5691a6;};return _0x3e71();} \ 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 c5482014..1417e17c 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x294efa=_0x49fb;(function(_0x4d2d67,_0x38b6e9){var _0xab569b=_0x49fb,_0xaccddb=_0x4d2d67();while(!![]){try{var _0x40282d=parseInt(_0xab569b(0x1e2))/0x1+-parseInt(_0xab569b(0x204))/0x2+parseInt(_0xab569b(0x1f2))/0x3+parseInt(_0xab569b(0x20f))/0x4+-parseInt(_0xab569b(0x237))/0x5*(-parseInt(_0xab569b(0x264))/0x6)+parseInt(_0xab569b(0x1db))/0x7*(parseInt(_0xab569b(0x1d7))/0x8)+parseInt(_0xab569b(0x229))/0x9*(-parseInt(_0xab569b(0x25e))/0xa);if(_0x40282d===_0x38b6e9)break;else _0xaccddb['push'](_0xaccddb['shift']());}catch(_0x54fba8){_0xaccddb['push'](_0xaccddb['shift']());}}}(_0x2712,0xa60b7));export var ElementType;(function(_0x2f3721){var _0x225c44=_0x49fb,_0x2cf984={'MNUHf':_0x225c44(0x1de),'dsERv':_0x225c44(0x219),'PFNbd':_0x225c44(0x1f8),'nCVNb':'FILE','mTrpi':_0x225c44(0x223),'fKnvM':'ARK','WRFct':_0x225c44(0x257),'yLGti':_0x225c44(0x1e1),'tnHbM':_0x225c44(0x250),'dsZCo':_0x225c44(0x20e),'Kyyfy':_0x225c44(0x230)},_0x21d2da=_0x2cf984['MNUHf'][_0x225c44(0x25a)]('|'),_0x24f1a9=0x0;while(!![]){switch(_0x21d2da[_0x24f1a9++]){case'0':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x1d6)]]=0x2]=_0x2cf984[_0x225c44(0x1d6)];continue;case'1':_0x2f3721[_0x2f3721[_0x2cf984['PFNbd']]=0xe]=_0x2cf984[_0x225c44(0x1e5)];continue;case'2':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x243)]]=0x3]=_0x225c44(0x212);continue;case'3':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x253)]]=0x1]=_0x2cf984[_0x225c44(0x253)];continue;case'4':_0x2f3721[_0x2f3721[_0x2cf984['fKnvM']]=0xa]=_0x225c44(0x200);continue;case'5':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x239)]]=0x5]=_0x2cf984['WRFct'];continue;case'6':_0x2f3721[_0x2f3721[_0x2cf984['yLGti']]=0x7]=_0x2cf984['yLGti'];continue;case'7':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x206)]]=0x4]=_0x2cf984[_0x225c44(0x206)];continue;case'8':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x252)]]=0x6]=_0x2cf984[_0x225c44(0x252)];continue;case'9':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x23f)]]=0xb]=_0x2cf984[_0x225c44(0x23f)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x5a1203){var _0x380472=_0x49fb,_0x2b4d2e={'kbeYY':_0x380472(0x1e8),'JOucA':_0x380472(0x244)};_0x5a1203[_0x5a1203[_0x2b4d2e[_0x380472(0x1da)]]=0x7d0]=_0x2b4d2e['kbeYY'],_0x5a1203[_0x5a1203['jpg']=0x3e8]=_0x2b4d2e['JOucA'];}(PicType||(PicType={})));export var PicSubType;(function(_0x393838){var _0x58ed97=_0x49fb,_0x179ea5={'XUUCD':_0x58ed97(0x1dd),'LSXhy':_0x58ed97(0x23a)};_0x393838[_0x393838[_0x179ea5['XUUCD']]=0x0]=_0x179ea5['XUUCD'],_0x393838[_0x393838[_0x58ed97(0x23a)]=0x1]=_0x179ea5[_0x58ed97(0x208)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x385497){var _0x2bd7c9=_0x49fb,_0x4592e3={'dprSK':_0x2bd7c9(0x1ff),'ZMYlb':_0x2bd7c9(0x24a)};_0x385497[_0x385497[_0x4592e3[_0x2bd7c9(0x1f0)]]=0x0]=_0x4592e3['dprSK'],_0x385497[_0x385497[_0x2bd7c9(0x22d)]=0x1]='atAll',_0x385497[_0x385497[_0x2bd7c9(0x24a)]=0x2]=_0x4592e3[_0x2bd7c9(0x1d9)];}(AtType||(AtType={})));function _0x2712(){var _0x226bf5=['KCHATTYPEC2C','KCHATTYPEGUILD','qDLOz','KCHATTYPEGROUPBLESS','WzByP','MARKDOWN','KCHATTYPEDATALINE','chatDevice','XxzaC','KCHATTYPEGAMEMESSAGEFOLDER','KCHATTYPENEARBYINTERACT','tBCLo','notAt','ARK','KCHATTYPESUBSCRIBEFOLDER','EcrDG','hjVpe','1892250EJDerg','pHHXU','tnHbM','oHzNG','LSXhy','eoAgK','KCHATTYPESERVICEASSISTANT','FtvXX','YGbnS','KCHATTYPEGROUPGUILD','FACE','4508336coJNQM','KCHATTYPENEARBY','qzfuM','FILE','KCHATTYPECIRCLE','KCHATTYPEGROUP','KCHATTYPETEMPC2CFROMUNKNOWN','ecIlm','VIDEO_FORMAT_MOV','VIDEO_FORMAT_MOD','PIC','uQWvl','HRlvY','VIDEO_FORMAT_MKV','KCHATTYPEGAMEMESSAGE','KCHATTYPETEMPC2CFROMGROUP','KCHATTYPEDATALINEMQQ','VIDEO_FORMAT_RMVB','VIDEO_FORMAT_TS','rVKbB','TEXT','normal2','KCHATTYPETEMPPUBLICACCOUNT','kxyYr','friend','KCHATTYPENEARBYFOLDER','49158MiVvfq','LgCzF','QqLQc','KCHATTYPETEMPADDRESSBOOK','atAll','zGdei','KCHATTYPEMATCHFRIEND','MFACE','VxpjI','VIDEO_FORMAT_MTS','DYpue','JyaWb','vRWNp','RPS','1636525ORXRBb','KCHATTYPETEMPBUSSINESSCRM','WRFct','face','KCHATTYPEGROUPHELPER','vHwHO','KCHATTYPENEARBYASSISTANT','dlqMK','Kyyfy','MGdrZ','MEMBER_NEW_TITLE','KCHATTYPEBUDDYNOTIFY','nCVNb','jpg','mxLGt','4|0|5|7|9|3|10|6|1|8|2','KCHATTYPETEMPWPA','https://multimedia.nt.qq.com.cn','KCHATTYPEFAV','atUser','WAmUD','fYggR','zJSbU','VIDEO_FORMAT_AVI','nHJwP','PTT','saUIT','dsZCo','mTrpi','LnZav','KCHATTYPEGUILDMETA','VIDEO_FORMAT_WMV','VIDEO','VBDdd','jVHVf','split','VIDEO_FORMAT_MP4','enSLP','GpMQC','4520VmfMpG','axutE','KCHATTYPEUNKNOWN','KCHATTYPEDISC','KCHATTYPETEMPNEARBYPRO','KCHATTYPEADELIE','6JrLbiP','KCHATTYPESQUAREPUBLIC','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPERELATEACCOUNT','dsERv','72fzEaJo','temp','ZMYlb','kbeYY','1017709AKUApy','dice','normal','3|0|2|7|5|8|6|4|9|1','VIDEO_FORMAT_RM','gWgvm','REPLY','848001lumcvn','eIkUJ','XElZL','PFNbd','pmDdn','EFJRI','gif','kicked','KCHATTYPEGROUPNOTIFY','OjESk','fXzBB','ImZJp','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPEWEIYUN','dprSK','group','1452585xXTWDo'];_0x2712=function(){return _0x226bf5;};return _0x2712();}export var ChatType;(function(_0x1fb754){var _0x159a96=_0x49fb,_0x50fdbd={'VBDdd':_0x159a96(0x227),'EcrDG':_0x159a96(0x1f1),'cCRfQ':'chatDevice','rEFUX':_0x159a96(0x1d8)};_0x1fb754[_0x1fb754[_0x50fdbd[_0x159a96(0x258)]]=0x1]=_0x50fdbd['VBDdd'],_0x1fb754[_0x1fb754[_0x50fdbd[_0x159a96(0x202)]]=0x2]=_0x50fdbd[_0x159a96(0x202)],_0x1fb754[_0x1fb754[_0x159a96(0x1fa)]=0x8]=_0x50fdbd['cCRfQ'],_0x1fb754[_0x1fb754[_0x50fdbd['rEFUX']]=0x64]=_0x159a96(0x1d8);}(ChatType||(ChatType={})));export var ChatType2;function _0x49fb(_0x29a752,_0x3fd5c9){var _0x271298=_0x2712();return _0x49fb=function(_0x49fb9d,_0x43e425){_0x49fb9d=_0x49fb9d-0x1d5;var _0x26b793=_0x271298[_0x49fb9d];return _0x26b793;},_0x49fb(_0x29a752,_0x3fd5c9);}(function(_0x27df51){var _0x56e728=_0x49fb,_0x35da68={'LnZav':'35|34|12|29|14|24|15|7|19|32|31|22|26|20|28|23|13|1|33|6|25|0|21|16|8|27|4|3|18|30|11|36|38|9|10|2|5|37|39|17','zGdei':_0x56e728(0x228),'ZSmku':_0x56e728(0x22f),'qzfuM':_0x56e728(0x262),'QqLQc':'KCHATTYPESERVICEASSISTANTSUB','VxpjI':_0x56e728(0x20a),'enSLP':_0x56e728(0x225),'xyMZJ':_0x56e728(0x210),'saUIT':_0x56e728(0x249),'OjESk':'KCHATTYPEQQNOTIFY','nHJwP':_0x56e728(0x215),'kWSQH':_0x56e728(0x266),'kxyYr':_0x56e728(0x22c),'dlqMK':_0x56e728(0x1f3),'fYggR':_0x56e728(0x255),'lbPjy':'KCHATTYPEDATALINE','JyaWb':'KCHATTYPEDISC','HkPtW':_0x56e728(0x1fd),'pmDdn':'KCHATTYPEWEIYUN','PoTcI':_0x56e728(0x265),'eoAgK':_0x56e728(0x21d),'XElZL':_0x56e728(0x23b),'WAmUD':_0x56e728(0x1ee),'TjDVQ':_0x56e728(0x1f6),'qDLOz':_0x56e728(0x1f4),'MGdrZ':_0x56e728(0x21f),'jVHVf':_0x56e728(0x23d),'rVKbB':_0x56e728(0x20d),'GpMQC':_0x56e728(0x1d5),'tBCLo':_0x56e728(0x1ea),'QrWUH':_0x56e728(0x213),'eIkUJ':_0x56e728(0x214),'EFJRI':_0x56e728(0x1fc),'pHHXU':'KCHATTYPEMATCHFRIENDFOLDER','nVBfv':_0x56e728(0x242),'YGbnS':_0x56e728(0x263),'LgCzF':_0x56e728(0x238),'zJSbU':'KCHATTYPETEMPWPA','gWgvm':_0x56e728(0x21e),'loBJX':_0x56e728(0x260)},_0x159029=_0x35da68[_0x56e728(0x254)][_0x56e728(0x25a)]('|'),_0x1b61c9=0x0;while(!![]){switch(_0x159029[_0x1b61c9++]){case'0':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x22e)]]=0x6e]=_0x35da68[_0x56e728(0x22e)];continue;case'1':_0x27df51[_0x27df51[_0x35da68['ZSmku']]=0x68]=_0x56e728(0x22f);continue;case'2':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x211)]]=0x77]=_0x56e728(0x262);continue;case'3':_0x27df51[_0x27df51[_0x35da68['QqLQc']]=0xc9]=_0x35da68[_0x56e728(0x22b)];continue;case'4':_0x27df51[_0x27df51[_0x35da68['VxpjI']]=0x76]=_0x35da68[_0x56e728(0x231)];continue;case'5':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x25c)]]=0x67]=_0x35da68[_0x56e728(0x25c)];continue;case'6':_0x27df51[_0x27df51[_0x35da68['xyMZJ']]=0x6a]=_0x35da68['xyMZJ'];continue;case'7':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x251)]]=0x29]=_0x35da68[_0x56e728(0x251)];continue;case'8':_0x27df51[_0x27df51[_0x35da68['OjESk']]=0x84]=_0x35da68[_0x56e728(0x1eb)];continue;case'9':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x24f)]]=0x63]='KCHATTYPETEMPC2CFROMUNKNOWN';continue;case'10':_0x27df51[_0x27df51[_0x35da68['kWSQH']]=0x65]='KCHATTYPETEMPFRIENDVERIFY';continue;case'11':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x226)]]=0x6f]=_0x56e728(0x22c);continue;case'12':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x23e)]]=0x1]=_0x56e728(0x1f3);continue;case'13':_0x27df51[_0x27df51[_0x35da68['fYggR']]=0x10]=_0x35da68[_0x56e728(0x24c)];continue;case'14':_0x27df51[_0x27df51[_0x56e728(0x1f9)]=0x8]=_0x35da68['lbPjy'];continue;case'15':_0x27df51[_0x27df51[_0x56e728(0x261)]=0x3]=_0x35da68[_0x56e728(0x234)];continue;case'16':_0x27df51[_0x27df51[_0x56e728(0x1fd)]=0x6c]=_0x35da68['HkPtW'];continue;case'17':_0x27df51[_0x27df51[_0x56e728(0x1ef)]=0x28]=_0x35da68[_0x56e728(0x1e6)];continue;case'18':_0x27df51[_0x27df51[_0x35da68['PoTcI']]=0x73]=_0x35da68['PoTcI'];continue;case'19':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x209)]]=0x69]=_0x35da68[_0x56e728(0x209)];continue;case'20':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x1e4)]]=0x7]=_0x35da68[_0x56e728(0x1e4)];continue;case'21':_0x27df51[_0x27df51[_0x35da68['WAmUD']]=0x70]=_0x35da68[_0x56e728(0x24b)];continue;case'22':_0x27df51[_0x27df51[_0x56e728(0x1f6)]=0x85]=_0x35da68['TjDVQ'];continue;case'23':_0x27df51[_0x27df51[_0x56e728(0x1f4)]=0x4]=_0x35da68[_0x56e728(0x1f5)];continue;case'24':_0x27df51[_0x27df51['KCHATTYPEDATALINEMQQ']=0x86]=_0x35da68[_0x56e728(0x240)];continue;case'25':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x259)]]=0x6b]=_0x35da68[_0x56e728(0x259)];continue;case'26':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x222)]]=0x9]=_0x35da68['rVKbB'];continue;case'27':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x25d)]]=0x83]=_0x35da68[_0x56e728(0x25d)];continue;case'28':_0x27df51[_0x27df51[_0x56e728(0x1ea)]=0x6]=_0x35da68[_0x56e728(0x1fe)];continue;case'29':_0x27df51[_0x27df51[_0x35da68['QrWUH']]=0x71]=_0x56e728(0x213);continue;case'30':_0x27df51[_0x27df51[_0x56e728(0x201)]=0x1e]=_0x56e728(0x201);continue;case'31':_0x27df51[_0x27df51[_0x56e728(0x214)]=0x2]=_0x35da68[_0x56e728(0x1e3)];continue;case'32':_0x27df51[_0x27df51[_0x35da68['EFJRI']]=0x74]=_0x35da68[_0x56e728(0x1e7)];continue;case'33':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x205)]]=0x6d]=_0x35da68[_0x56e728(0x205)];continue;case'34':_0x27df51[_0x27df51[_0x35da68['nVBfv']]=0x5]=_0x35da68['nVBfv'];continue;case'35':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x20c)]]=0x2a]=_0x35da68['YGbnS'];continue;case'36':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x22a)]]=0x66]=_0x35da68[_0x56e728(0x22a)];continue;case'37':_0x27df51[_0x27df51[_0x56e728(0x247)]=0x75]=_0x35da68[_0x56e728(0x24d)];continue;case'38':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x1e0)]]=0x64]=_0x35da68[_0x56e728(0x1e0)];continue;case'39':_0x27df51[_0x27df51[_0x35da68['loBJX']]=0x0]=_0x35da68['loBJX'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x294efa(0x248);export var GrayTipElementSubType;(function(_0x52cec4){var _0x8af371=_0x294efa,_0x35b1b8={'mxLGt':'INVITE_NEW_MEMBER','WzByP':_0x8af371(0x241)};_0x52cec4[_0x52cec4[_0x35b1b8[_0x8af371(0x245)]]=0xc]=_0x35b1b8['mxLGt'],_0x52cec4[_0x52cec4[_0x35b1b8['WzByP']]=0x11]=_0x35b1b8[_0x8af371(0x1f7)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xd21680){var _0x30ce08=_0x294efa,_0xb5be8d={'HRlvY':_0x30ce08(0x1dd),'hjVpe':_0x30ce08(0x224)};_0xd21680[_0xd21680[_0xb5be8d[_0x30ce08(0x21b)]]=0x1]=_0x30ce08(0x1dd),_0xd21680[_0xd21680[_0xb5be8d[_0x30ce08(0x203)]]=0x2]=_0x30ce08(0x224),_0xd21680[_0xd21680[_0x30ce08(0x1dc)]=0x3]=_0x30ce08(0x1dc);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x58abc7){var _0xcf4332=_0x294efa,_0x1ee5ff={'Bfidv':_0xcf4332(0x236)};_0x58abc7[_0x58abc7[_0xcf4332(0x1dc)]=0x166]=_0xcf4332(0x1dc),_0x58abc7[_0x58abc7[_0x1ee5ff['Bfidv']]=0x167]=_0xcf4332(0x236);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x10b95a){var _0x3b6046=_0x294efa,_0x3850f7={'ImZJp':_0x3b6046(0x246),'XxzaC':_0x3b6046(0x24e),'vRWNp':_0x3b6046(0x220),'fXzBB':_0x3b6046(0x256),'uQWvl':_0x3b6046(0x25b),'oHzNG':'VIDEO_FORMAT_AFS','ecIlm':_0x3b6046(0x21c),'URjGF':_0x3b6046(0x1df),'DYpue':_0x3b6046(0x218),'CnkUm':_0x3b6046(0x221),'WmglM':_0x3b6046(0x217),'axutE':_0x3b6046(0x232)},_0x58239b=_0x3850f7[_0x3b6046(0x1ed)][_0x3b6046(0x25a)]('|'),_0x510517=0x0;while(!![]){switch(_0x58239b[_0x510517++]){case'0':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x1fb)]]=0x1]=_0x3850f7[_0x3b6046(0x1fb)];continue;case'1':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x235)]]=0x5]=_0x3850f7[_0x3b6046(0x235)];continue;case'2':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x1ec)]]=0x3]=_0x3850f7[_0x3b6046(0x1ec)];continue;case'3':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x21a)]]=0x2]=_0x3850f7[_0x3b6046(0x21a)];continue;case'4':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x207)]]=0x7]=_0x3850f7[_0x3b6046(0x207)];continue;case'5':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x216)]]=0x4]=_0x3850f7[_0x3b6046(0x216)];continue;case'6':_0x10b95a[_0x10b95a[_0x3b6046(0x1df)]=0x6]=_0x3850f7['URjGF'];continue;case'7':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x233)]]=0x9]=_0x3850f7['DYpue'];continue;case'8':_0x10b95a[_0x10b95a[_0x3b6046(0x221)]=0xa]=_0x3850f7['CnkUm'];continue;case'9':_0x10b95a[_0x10b95a[_0x3850f7['WmglM']]=0x8]='VIDEO_FORMAT_MOV';continue;case'10':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x25f)]]=0xb]=_0x3b6046(0x232);continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x439341){var _0x4808ff=_0x294efa,_0x2e9551={'vHwHO':'memberIncrease','dlBvI':_0x4808ff(0x1e9),'FtvXX':'ban'};_0x439341[_0x439341[_0x2e9551[_0x4808ff(0x23c)]]=0x1]=_0x2e9551[_0x4808ff(0x23c)],_0x439341[_0x439341[_0x2e9551['dlBvI']]=0x3]=_0x2e9551['dlBvI'],_0x439341[_0x439341[_0x2e9551['FtvXX']]=0x8]=_0x2e9551[_0x4808ff(0x20b)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x484894=_0x1eea;(function(_0x529f42,_0x38395a){var _0x1ace3d=_0x1eea,_0x2f5b97=_0x529f42();while(!![]){try{var _0x4e060c=-parseInt(_0x1ace3d(0xb0))/0x1+-parseInt(_0x1ace3d(0xef))/0x2+-parseInt(_0x1ace3d(0xd3))/0x3*(parseInt(_0x1ace3d(0x123))/0x4)+-parseInt(_0x1ace3d(0xb5))/0x5+-parseInt(_0x1ace3d(0x11e))/0x6+-parseInt(_0x1ace3d(0x115))/0x7+parseInt(_0x1ace3d(0xe5))/0x8*(parseInt(_0x1ace3d(0xac))/0x9);if(_0x4e060c===_0x38395a)break;else _0x2f5b97['push'](_0x2f5b97['shift']());}catch(_0x416695){_0x2f5b97['push'](_0x2f5b97['shift']());}}}(_0x4af9,0xa9f8b));export var ElementType;(function(_0xe537e6){var _0x31bdbe=_0x1eea,_0x507a4c={'oeUbw':_0x31bdbe(0xa0),'USePo':_0x31bdbe(0xc9),'fLtxj':_0x31bdbe(0xf7),'IveoT':_0x31bdbe(0xeb),'XadeS':'FILE','jUEwi':_0x31bdbe(0xe4),'cgNNb':_0x31bdbe(0xa4),'WzxhP':_0x31bdbe(0x110),'TogJJ':_0x31bdbe(0xa1),'nBfxH':_0x31bdbe(0xae),'dIGOO':_0x31bdbe(0x102)},_0x4dfa28=_0x507a4c[_0x31bdbe(0x10b)]['split']('|'),_0x17dcab=0x0;while(!![]){switch(_0x4dfa28[_0x17dcab++]){case'0':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x9a)]]=0x1]=_0x31bdbe(0xc9);continue;case'1':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0xdf)]]=0xb]=_0x31bdbe(0xf7);continue;case'2':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0xb7)]]=0x2]=_0x507a4c[_0x31bdbe(0xb7)];continue;case'3':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x128)]]=0x3]=_0x507a4c[_0x31bdbe(0x128)];continue;case'4':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x9e)]]=0x4]=_0x507a4c[_0x31bdbe(0x9e)];continue;case'5':_0xe537e6[_0xe537e6[_0x31bdbe(0xa4)]=0x5]=_0x507a4c[_0x31bdbe(0x11a)];continue;case'6':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x99)]]=0xa]=_0x507a4c[_0x31bdbe(0x99)];continue;case'7':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x114)]]=0x7]=_0x507a4c[_0x31bdbe(0x114)];continue;case'8':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x119)]]=0x6]=_0x507a4c['nBfxH'];continue;case'9':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x111)]]=0xe]=_0x507a4c[_0x31bdbe(0x111)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2fff5d){var _0x1f8521=_0x1eea,_0x2e0afe={'KZxeo':'gif','twcBI':_0x1f8521(0xa9)};_0x2fff5d[_0x2fff5d[_0x2e0afe['KZxeo']]=0x7d0]=_0x1f8521(0xc1),_0x2fff5d[_0x2fff5d[_0x2e0afe[_0x1f8521(0xd1)]]=0x3e8]=_0x1f8521(0xa9);}(PicType||(PicType={})));export var PicSubType;(function(_0x2d187c){var _0x385405=_0x1eea,_0x303fab={'EvOcc':'normal','FPSEA':_0x385405(0xd9)};_0x2d187c[_0x2d187c[_0x303fab['EvOcc']]=0x0]=_0x303fab[_0x385405(0x106)],_0x2d187c[_0x2d187c[_0x303fab[_0x385405(0xa2)]]=0x1]=_0x385405(0xd9);}(PicSubType||(PicSubType={})));export var AtType;function _0x1eea(_0x40bc03,_0x1ac756){var _0x4af9d9=_0x4af9();return _0x1eea=function(_0x1eea2e,_0x5ea3d4){_0x1eea2e=_0x1eea2e-0x98;var _0x488cd4=_0x4af9d9[_0x1eea2e];return _0x488cd4;},_0x1eea(_0x40bc03,_0x1ac756);}(function(_0x103804){var _0x17b9e5=_0x1eea,_0x18c4ac={'HMHfg':'atAll'};_0x103804[_0x103804[_0x17b9e5(0xf6)]=0x0]='notAt',_0x103804[_0x103804[_0x18c4ac[_0x17b9e5(0x116)]]=0x1]=_0x17b9e5(0xd6),_0x103804[_0x103804[_0x17b9e5(0xb6)]=0x2]=_0x17b9e5(0xb6);}(AtType||(AtType={})));export var ChatType;function _0x4af9(){var _0x167cf1=['bLSAK','VIDEO_FORMAT_AFS','KCHATTYPEDATALINEMQQ','EvOcc','hVlVJ','WmGxC','tIDRN','KCHATTYPEGROUPHELPER','oeUbw','dice','AHuro','KCHATTYPETEMPWPA','lTOyT','ARK','dIGOO','KCHATTYPEDATALINE','KCHATTYPEFAV','TogJJ','2232104QlQCEG','HMHfg','KCHATTYPEQQNOTIFY','1|6|5|7|3|9|10|4|0|2|8','nBfxH','cgNNb','HChzy','https://gchat.qpic.cn','wmdXm','699594mDGnpi','MEMBER_NEW_TITLE','RPS','normal','IqGNo','4JEOtPR','nMivP','URrYQ','fukVz','group','XadeS','NCLhP','KCHATTYPEBUDDYNOTIFY','WEFjA','sxsvr','KCHATTYPERELATEACCOUNT','VIDEO_FORMAT_RMVB','WzxhP','USePo','kInMV','MkAyV','friend','jUEwi','zKEML','0|2|3|4|5|8|7|6|1|9','REPLY','FPSEA','RHBLY','VIDEO','GQpzU','chatDevice','VIDEO_FORMAT_TS','UOzhr','jpg','YIlXG','KCHATTYPEGROUPNOTIFY','41012964TYWaUC','KCHATTYPEGUILDMETA','FACE','aMxjB','1350039hTUGzW','kjIWN','KCHATTYPENEARBYFOLDER','KCHATTYPECIRCLE','rWZzX','3815010lAfkNr','atUser','IveoT','sqpOo','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPETEMPADDRESSBOOK','KCHATTYPEGROUPBLESS','KCHATTYPEC2C','VnXSe','AotMI','akyTF','fbPhW','gif','HuxsM','KCHATTYPENEARBYASSISTANT','KCHATTYPESERVICEASSISTANT','nQKDi','IcGsy','JdtuD','split','TEXT','KCHATTYPEMATCHFRIEND','KCHATTYPENEARBY','bUJFu','GLrPu','KCHATTYPETEMPPUBLICACCOUNT','VIDEO_FORMAT_WMV','qaROr','twcBI','VIDEO_FORMAT_MOD','1442481gvSgqZ','temp','oVRAf','atAll','KCHATTYPENEARBYINTERACT','fwwHa','face','KCHATTYPEWEIYUN','PrRuY','AvxgN','IHsnC','KCHATTYPEDISC','fLtxj','kicked','NWrRm','mQXqG','UpsfR','PTT','8WVimGk','QYqvn','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPEGUILD','KCHATTYPETEMPBUSSINESSCRM','uMLAf','PIC','nBbzt','KCHATTYPEADELIE','KCHATTYPESQUAREPUBLIC','1662908YhQzKV','VIDEO_FORMAT_MOV','xpohP','VIDEO_FORMAT_MP4','KCHATTYPEGAMEMESSAGEFOLDER','ban','VIDEO_FORMAT_RM','notAt','MFACE','hAfHY','ujpYm','IrudY','VIDEO_FORMAT_MTS','vSgEG','KCHATTYPETEMPNEARBYPRO','KCHATTYPEGROUP','TAwJR','xFAHP','qXjmT','MARKDOWN'];_0x4af9=function(){return _0x167cf1;};return _0x4af9();}(function(_0x396d23){var _0x44433d=_0x1eea,_0x3bead7={'bLSAK':_0x44433d(0x9d),'UOzhr':_0x44433d(0x127),'AvxgN':_0x44433d(0xa6),'uOYrq':_0x44433d(0xd4)};_0x396d23[_0x396d23[_0x3bead7[_0x44433d(0x103)]]=0x1]=_0x44433d(0x9d),_0x396d23[_0x396d23[_0x3bead7[_0x44433d(0xa8)]]=0x2]=_0x3bead7[_0x44433d(0xa8)],_0x396d23[_0x396d23[_0x3bead7[_0x44433d(0xdc)]]=0x8]=_0x3bead7[_0x44433d(0xdc)],_0x396d23[_0x396d23[_0x3bead7['uOYrq']]=0x64]=_0x3bead7['uOYrq'];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x13f0f5){var _0x4439d2=_0x1eea,_0x4e1cab={'MGgie':'KCHATTYPEADELIE','IqGNo':'KCHATTYPEBUDDYNOTIFY','HuxsM':_0x4439d2(0xbc),'xpKuO':_0x4439d2(0xb3),'aMxjB':_0x4439d2(0x112),'tIDRN':_0x4439d2(0x105),'qXjmT':'KCHATTYPEDISC','xFAHP':_0x4439d2(0x113),'hAfHY':'KCHATTYPEGAMEMESSAGE','UpsfR':_0x4439d2(0xf3),'lTOyT':_0x4439d2(0xfe),'vSgEG':_0x4439d2(0xbb),'NCLhP':'KCHATTYPEGROUPGUILD','JdtuD':_0x4439d2(0xab),'WmGxC':_0x4439d2(0xe8),'bUJFu':_0x4439d2(0xad),'PrRuY':_0x4439d2(0xca),'nMivP':'KCHATTYPEMATCHFRIENDFOLDER','hVlVJ':_0x4439d2(0xcb),'URrYQ':_0x4439d2(0xc3),'sqpOo':_0x4439d2(0xb2),'IcGsy':'KCHATTYPENEARBYHELLOFOLDER','xpohP':_0x4439d2(0xd7),'akyTF':_0x4439d2(0x117),'kjIWN':_0x4439d2(0x12d),'IHsnC':_0x4439d2(0xe7),'VnXSe':_0x4439d2(0xee),'TAwJR':'KCHATTYPESUBSCRIBEFOLDER','tOmTp':'KCHATTYPETEMPADDRESSBOOK','tnoUC':_0x4439d2(0xe9),'RHBLY':'KCHATTYPETEMPC2CFROMGROUP','qaROr':'KCHATTYPETEMPC2CFROMUNKNOWN','MkAyV':_0x4439d2(0xb9),'IrudY':_0x4439d2(0xfd),'WEFjA':_0x4439d2(0xce),'GLrPu':_0x4439d2(0x10e),'AHuro':'KCHATTYPEUNKNOWN','wmdXm':_0x4439d2(0xda)};_0x13f0f5[_0x13f0f5[_0x4439d2(0xed)]=0x2a]=_0x4e1cab['MGgie'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x122)]]=0x5]=_0x4439d2(0x12a),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xc2)]]=0x1]=_0x4e1cab['HuxsM'],_0x13f0f5[_0x13f0f5[_0x4e1cab['xpKuO']]=0x71]=_0x4439d2(0xb3),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xaf)]]=0x8]=_0x4439d2(0x112),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x109)]]=0x86]=_0x4e1cab[_0x4439d2(0x109)],_0x13f0f5[_0x13f0f5[_0x4439d2(0xde)]=0x3]=_0x4e1cab[_0x4439d2(0x101)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x100)]]=0x29]=_0x4439d2(0x113),_0x13f0f5[_0x13f0f5[_0x4e1cab['hAfHY']]=0x69]=_0x4e1cab[_0x4439d2(0xf8)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xe3)]]=0x74]=_0x4e1cab[_0x4439d2(0xe3)],_0x13f0f5[_0x13f0f5[_0x4e1cab['lTOyT']]=0x2]=_0x4e1cab[_0x4439d2(0x10f)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xfc)]]=0x85]=_0x4e1cab[_0x4439d2(0xfc)],_0x13f0f5[_0x13f0f5[_0x4e1cab['NCLhP']]=0x9]=_0x4e1cab[_0x4439d2(0x129)],_0x13f0f5[_0x13f0f5[_0x4439d2(0x10a)]=0x7]=_0x4439d2(0x10a),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xc7)]]=0x6]=_0x4e1cab['JdtuD'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x108)]]=0x4]=_0x4e1cab[_0x4439d2(0x108)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xcc)]]=0x10]=_0x4e1cab[_0x4439d2(0xcc)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xdb)]]=0x68]=_0x4e1cab[_0x4439d2(0xdb)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x124)]]=0x6d]=_0x4e1cab[_0x4439d2(0x124)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x107)]]=0x6a]=_0x4e1cab[_0x4439d2(0x107)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x125)]]=0x6b]=_0x4e1cab[_0x4439d2(0x125)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xb8)]]=0x6e]=_0x4439d2(0xb2),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xc6)]]=0x70]=_0x4e1cab[_0x4439d2(0xc6)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xf1)]]=0x6c]=_0x4e1cab[_0x4439d2(0xf1)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xbf)]]=0x84]=_0x4e1cab[_0x4439d2(0xbf)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xb1)]]=0x83]=_0x4e1cab[_0x4439d2(0xb1)],_0x13f0f5[_0x13f0f5[_0x4439d2(0xc4)]=0x76]=_0x4439d2(0xc4),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xdd)]]=0xc9]=_0x4e1cab['IHsnC'],_0x13f0f5[_0x13f0f5['KCHATTYPESQUAREPUBLIC']=0x73]=_0x4e1cab[_0x4439d2(0xbd)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xff)]]=0x1e]=_0x4e1cab['TAwJR'],_0x13f0f5[_0x13f0f5[_0x4439d2(0xba)]=0x6f]=_0x4e1cab['tOmTp'],_0x13f0f5[_0x13f0f5[_0x4439d2(0xe9)]=0x66]=_0x4e1cab['tnoUC'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xa3)]]=0x64]=_0x4e1cab['RHBLY'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xd0)]]=0x63]=_0x4e1cab[_0x4439d2(0xd0)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x9c)]]=0x65]=_0x4e1cab[_0x4439d2(0x9c)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xfa)]]=0x77]=_0x4439d2(0xfd),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x12b)]]=0x67]=_0x4e1cab[_0x4439d2(0x12b)],_0x13f0f5[_0x13f0f5[_0x4439d2(0x10e)]=0x75]=_0x4e1cab[_0x4439d2(0xcd)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x10d)]]=0x0]=_0x4e1cab['AHuro'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x11d)]]=0x28]=_0x4e1cab['wmdXm'];}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x484894(0x11c);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x30bdbb){var _0x302d9f=_0x484894,_0x1948e5={'kInMV':'MEMBER_NEW_TITLE'};_0x30bdbb[_0x30bdbb['INVITE_NEW_MEMBER']=0xc]='INVITE_NEW_MEMBER',_0x30bdbb[_0x30bdbb[_0x1948e5[_0x302d9f(0x9b)]]=0x11]=_0x302d9f(0x11f);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3893f5){var _0xc97666=_0x484894,_0x2ef600={'mQXqG':_0xc97666(0x121),'GQpzU':'normal2','JuPNq':_0xc97666(0x10c)};_0x3893f5[_0x3893f5[_0x2ef600[_0xc97666(0xe2)]]=0x1]=_0xc97666(0x121),_0x3893f5[_0x3893f5[_0x2ef600[_0xc97666(0xa5)]]=0x2]=_0x2ef600['GQpzU'],_0x3893f5[_0x3893f5[_0x2ef600['JuPNq']]=0x3]=_0x2ef600['JuPNq'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1b7b0e){var _0x22c53b=_0x484894,_0x4c3f17={'nBbzt':'dice','fwwHa':_0x22c53b(0x120)};_0x1b7b0e[_0x1b7b0e[_0x4c3f17[_0x22c53b(0xec)]]=0x166]=_0x22c53b(0x10c),_0x1b7b0e[_0x1b7b0e[_0x4c3f17[_0x22c53b(0xd8)]]=0x167]=_0x22c53b(0x120);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x193f9c){var _0x177d55=_0x484894,_0x4d2bbf={'fbPhW':_0x177d55(0x118),'zKEML':_0x177d55(0x98),'rWZzX':'VIDEO_FORMAT_AFS','oVRAf':_0x177d55(0xa7),'nQKDi':'VIDEO_FORMAT_MOV','YIlXG':'VIDEO_FORMAT_RM','QYqvn':'VIDEO_FORMAT_MKV','fukVz':'VIDEO_FORMAT_AVI','uMLAf':_0x177d55(0xd2),'BAela':_0x177d55(0xcf),'HChzy':_0x177d55(0xf2),'sxsvr':_0x177d55(0xfb)},_0x4d077f=_0x4d2bbf[_0x177d55(0xc0)][_0x177d55(0xc8)]('|'),_0x5c977f=0x0;while(!![]){switch(_0x4d077f[_0x5c977f++]){case'0':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0x9f)]]=0x5]=_0x4d2bbf[_0x177d55(0x9f)];continue;case'1':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xb4)]]=0x7]=_0x177d55(0x104);continue;case'2':_0x193f9c[_0x193f9c[_0x4d2bbf['oVRAf']]=0xa]=_0x4d2bbf[_0x177d55(0xd5)];continue;case'3':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xc5)]]=0x8]=_0x177d55(0xf0);continue;case'4':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xaa)]]=0x6]=_0x177d55(0xf5);continue;case'5':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xe6)]]=0x4]=_0x4d2bbf['QYqvn'];continue;case'6':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0x126)]]=0x1]=_0x4d2bbf[_0x177d55(0x126)];continue;case'7':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xea)]]=0x9]=_0x4d2bbf[_0x177d55(0xea)];continue;case'8':_0x193f9c[_0x193f9c[_0x4d2bbf['BAela']]=0x3]=_0x177d55(0xcf);continue;case'9':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0x11b)]]=0x2]=_0x4d2bbf[_0x177d55(0x11b)];continue;case'10':_0x193f9c[_0x193f9c[_0x177d55(0xfb)]=0xb]=_0x4d2bbf[_0x177d55(0x12c)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0xcc514){var _0x4236b7=_0x484894,_0x4788ab={'AotMI':'memberIncrease','ujpYm':_0x4236b7(0xe0),'NWrRm':_0x4236b7(0xf4)};_0xcc514[_0xcc514[_0x4788ab['AotMI']]=0x1]=_0x4788ab[_0x4236b7(0xbe)],_0xcc514[_0xcc514[_0x4788ab[_0x4236b7(0xf9)]]=0x3]=_0x4788ab[_0x4236b7(0xf9)],_0xcc514[_0xcc514[_0x4236b7(0xf4)]=0x8]=_0x4788ab[_0x4236b7(0xe1)];}(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 be4766fb..d2d3f027 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x1b983c,_0x128708){var _0x50db59=_0x80b5,_0x3ca44f=_0x1b983c();while(!![]){try{var _0x592b1b=parseInt(_0x50db59(0x1bb))/0x1+-parseInt(_0x50db59(0x1e4))/0x2+-parseInt(_0x50db59(0x1d0))/0x3*(parseInt(_0x50db59(0x1e8))/0x4)+parseInt(_0x50db59(0x1c2))/0x5+parseInt(_0x50db59(0x1de))/0x6*(parseInt(_0x50db59(0x1d9))/0x7)+-parseInt(_0x50db59(0x1eb))/0x8*(-parseInt(_0x50db59(0x1d4))/0x9)+parseInt(_0x50db59(0x1d3))/0xa;if(_0x592b1b===_0x128708)break;else _0x3ca44f['push'](_0x3ca44f['shift']());}catch(_0x7f796f){_0x3ca44f['push'](_0x3ca44f['shift']());}}}(_0x136a,0x1fee4));function _0x136a(){var _0x51acbd=['xsCLx','663712npOGPC','VjWtq','KPEERINITIATOR','rOYKZ','split','vSauE','pLllY','INVITE_ME','PPxgh','KMSGINFO','rhNQv','ajYVF','REJECT','kqKEC','APPROVE','1|4|6|2|7|5|3|0','LNtiT','OPMzN','9|5|1|7|6|0|8|13|3|11|10|4|2|12','64703FlzENl','ADMIN_SET','ICOdM','flHHb','approve','DMdAq','ntdIF','229180gwVMQe','TITLETYPE','reject','MEMBER_EXIT','ADMIN_UNSET_OTHER','ADMIN_UNSET','KMEAGREED','KPEERREFUSED','JOIN_REQUEST','IGNORE','KMEIGNORED','KMEINITIATOR','oGirF','KMEREFUSED','9JUAiYk','OUpkO','INVITED_JOIN','245420ofNqqO','18dnpWKb','UEKVa','mnfcO','DYqVW','VoSTj','14oXSryJ','WAIT_HANDLE','KICK_MEMBER','vXajw','KMESETQUESTION','15342EnBRib','NEWGROUPTYPE','GtMVH','KMEAGREEDANDADDED','KMEAGREEANYONE','KMEINITIATORWAITPEERCONFIRM','227952PeNAog','nTZDI','uAqtq','drQRm','81812VTmIHL','KMEAGREEANDADDFAILED'];_0x136a=function(){return _0x51acbd;};return _0x136a();}export var GroupNotifyTypes;(function(_0x126b5e){var _0x131df3=_0x80b5,_0x3da7e6={'ntdIF':_0x131df3(0x1b7),'BTVMQ':_0x131df3(0x1c6),'UEKVa':_0x131df3(0x1af),'mnfcO':_0x131df3(0x1bc),'VoSTj':_0x131df3(0x1c7),'DMdAq':_0x131df3(0x1d2),'vSauE':_0x131df3(0x1c5),'VjWtq':_0x131df3(0x1ca),'oLuqD':_0x131df3(0x1db)},_0x13f121=_0x3da7e6[_0x131df3(0x1c1)][_0x131df3(0x1ef)]('|'),_0x55b885=0x0;while(!![]){switch(_0x13f121[_0x55b885++]){case'0':_0x126b5e[_0x126b5e[_0x3da7e6['BTVMQ']]=0xd]=_0x131df3(0x1c6);continue;case'1':_0x126b5e[_0x126b5e[_0x131df3(0x1af)]=0x1]=_0x3da7e6[_0x131df3(0x1d5)];continue;case'2':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1d6)]]=0x8]='ADMIN_SET';continue;case'3':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1d8)]]=0xc]=_0x3da7e6['VoSTj'];continue;case'4':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1c0)]]=0x4]=_0x3da7e6['DMdAq'];continue;case'5':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1ad)]]=0xb]='MEMBER_EXIT';continue;case'6':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1ec)]]=0x7]=_0x3da7e6[_0x131df3(0x1ec)];continue;case'7':_0x126b5e[_0x126b5e[_0x3da7e6['oLuqD']]=0x9]='KICK_MEMBER';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2c050e){var _0x1d8500=_0x80b5,_0x159edd={'anWgP':_0x1d8500(0x1cb),'lcxtY':_0x1d8500(0x1da),'nTZDI':_0x1d8500(0x1b6),'kqKEC':_0x1d8500(0x1b4)};_0x2c050e[_0x2c050e[_0x1d8500(0x1cb)]=0x0]=_0x159edd['anWgP'],_0x2c050e[_0x2c050e[_0x159edd['lcxtY']]=0x1]=_0x159edd['lcxtY'],_0x2c050e[_0x2c050e[_0x1d8500(0x1b6)]=0x2]=_0x159edd[_0x1d8500(0x1e5)],_0x2c050e[_0x2c050e[_0x159edd[_0x1d8500(0x1b5)]]=0x3]=_0x159edd['kqKEC'];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x80b5(_0xe667b6,_0x3488e4){var _0x136a9f=_0x136a();return _0x80b5=function(_0x80b5c4,_0x2c6c28){_0x80b5c4=_0x80b5c4-0x1ad;var _0x159f68=_0x136a9f[_0x80b5c4];return _0x159f68;},_0x80b5(_0xe667b6,_0x3488e4);}export var GroupRequestOperateTypes;(function(_0x242349){var _0x9776b3=_0x80b5,_0x1a05fe={'drQRm':_0x9776b3(0x1bf),'DYqVW':_0x9776b3(0x1c4)};_0x242349[_0x242349[_0x1a05fe[_0x9776b3(0x1e7)]]=0x1]=_0x1a05fe[_0x9776b3(0x1e7)],_0x242349[_0x242349[_0x1a05fe[_0x9776b3(0x1d7)]]=0x2]=_0x9776b3(0x1c4);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x22f807){var _0x533add=_0x80b5,_0x5dc447={'Vthpq':_0x533add(0x1ba),'ICOdM':'KPEERAGREEDANDADDED','uAqtq':_0x533add(0x1c8),'rhNQv':_0x533add(0x1b1),'flHHb':_0x533add(0x1cc),'GtMVH':_0x533add(0x1e9),'ajYVF':_0x533add(0x1ed),'vXajw':'KPEERAGREED','PPxgh':_0x533add(0x1e1),'oGirF':_0x533add(0x1c9),'OUpkO':_0x533add(0x1cd),'rOYKZ':_0x533add(0x1e2),'OPMzN':_0x533add(0x1cf)},_0x134393=_0x5dc447['Vthpq'][_0x533add(0x1ef)]('|'),_0x125104=0x0;while(!![]){switch(_0x134393[_0x125104++]){case'0':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1bd)]]=0x5]=_0x5dc447[_0x533add(0x1bd)];continue;case'1':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1e6)]]=0x2]=_0x5dc447[_0x533add(0x1e6)];continue;case'2':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1b2)]]=0xc]=_0x533add(0x1b1);continue;case'3':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1be)]]=0x8]=_0x5dc447[_0x533add(0x1be)];continue;case'4':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1e0)]]=0xb]=_0x5dc447['GtMVH'];continue;case'5':_0x22f807[_0x22f807[_0x5dc447['ajYVF']]=0x1]=_0x5dc447[_0x533add(0x1b3)];continue;case'6':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1dc)]]=0x4]=_0x5dc447[_0x533add(0x1dc)];continue;case'7':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1b0)]]=0x3]=_0x533add(0x1e1);continue;case'8':_0x22f807[_0x22f807[_0x5dc447['oGirF']]=0x6]=_0x5dc447[_0x533add(0x1ce)];continue;case'9':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1d1)]]=0x0]=_0x533add(0x1cd);continue;case'10':_0x22f807[_0x22f807[_0x533add(0x1dd)]=0xa]='KMESETQUESTION';continue;case'11':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1ee)]]=0x9]=_0x5dc447['rOYKZ'];continue;case'12':_0x22f807[_0x22f807[_0x533add(0x1e3)]=0xd]=_0x533add(0x1e3);continue;case'13':_0x22f807[_0x22f807[_0x533add(0x1cf)]=0x7]=_0x5dc447[_0x533add(0x1b9)];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x5519f0){var _0x5fa0a0=_0x80b5,_0x49ea34={'xsCLx':'DEFAULTTYPE','LNtiT':_0x5fa0a0(0x1c3),'pLllY':_0x5fa0a0(0x1df)};_0x5519f0[_0x5519f0[_0x49ea34['xsCLx']]=0x0]=_0x49ea34[_0x5fa0a0(0x1ea)],_0x5519f0[_0x5519f0[_0x49ea34[_0x5fa0a0(0x1b8)]]=0x1]=_0x49ea34['LNtiT'],_0x5519f0[_0x5519f0[_0x49ea34[_0x5fa0a0(0x1ae)]]=0x2]=_0x49ea34[_0x5fa0a0(0x1ae)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x15e39f,_0x29f9ff){var _0x36f9b4=_0xb54a,_0x3f5a53=_0x15e39f();while(!![]){try{var _0x2c1b38=parseInt(_0x36f9b4(0x11e))/0x1+parseInt(_0x36f9b4(0xff))/0x2*(parseInt(_0x36f9b4(0xef))/0x3)+-parseInt(_0x36f9b4(0xee))/0x4+parseInt(_0x36f9b4(0x113))/0x5+parseInt(_0x36f9b4(0xec))/0x6*(parseInt(_0x36f9b4(0xf3))/0x7)+parseInt(_0x36f9b4(0xf7))/0x8*(-parseInt(_0x36f9b4(0x100))/0x9)+-parseInt(_0x36f9b4(0x11b))/0xa;if(_0x2c1b38===_0x29f9ff)break;else _0x3f5a53['push'](_0x3f5a53['shift']());}catch(_0x185262){_0x3f5a53['push'](_0x3f5a53['shift']());}}}(_0x35b9,0xa9833));export var GroupNotifyTypes;(function(_0x276717){var _0x198a1c=_0xb54a,_0x35575b={'lZuky':_0x198a1c(0x103),'JQARK':_0x198a1c(0xe1),'sdPUJ':_0x198a1c(0x117),'ihidH':_0x198a1c(0x106),'STFIP':_0x198a1c(0xea),'SXpQO':_0x198a1c(0x10f),'PoHdI':'ADMIN_SET','rCNdh':_0x198a1c(0x10a)},_0x4faf6d=_0x35575b[_0x198a1c(0xdf)][_0x198a1c(0x111)]('|'),_0x2dbfa7=0x0;while(!![]){switch(_0x4faf6d[_0x2dbfa7++]){case'0':_0x276717[_0x276717[_0x198a1c(0xe1)]=0x7]=_0x35575b['JQARK'];continue;case'1':_0x276717[_0x276717[_0x198a1c(0xe3)]=0xd]=_0x198a1c(0xe3);continue;case'2':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x101)]]=0x4]=_0x35575b['sdPUJ'];continue;case'3':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x104)]]=0x1]='INVITE_ME';continue;case'4':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x10e)]]=0xc]=_0x35575b[_0x198a1c(0x10e)];continue;case'5':_0x276717[_0x276717[_0x35575b[_0x198a1c(0xf4)]]=0x9]=_0x35575b['SXpQO'];continue;case'6':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x11d)]]=0x8]=_0x35575b[_0x198a1c(0x11d)];continue;case'7':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x112)]]=0xb]=_0x35575b['rCNdh'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x37ebac){var _0x492342=_0xb54a,_0x1eec64={'cULox':_0x492342(0xe8),'fqoEu':_0x492342(0xe4),'jpXgc':_0x492342(0x107),'MMjXi':_0x492342(0xdc)};_0x37ebac[_0x37ebac[_0x1eec64[_0x492342(0xf5)]]=0x0]=_0x1eec64[_0x492342(0xf5)],_0x37ebac[_0x37ebac[_0x1eec64[_0x492342(0x118)]]=0x1]=_0x1eec64['fqoEu'],_0x37ebac[_0x37ebac[_0x1eec64[_0x492342(0x102)]]=0x2]=_0x1eec64[_0x492342(0x102)],_0x37ebac[_0x37ebac[_0x1eec64['MMjXi']]=0x3]=_0x492342(0xdc);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0xb54a(_0x10a556,_0x471d85){var _0x35b9aa=_0x35b9();return _0xb54a=function(_0xb54a8a,_0x2b26c2){_0xb54a8a=_0xb54a8a-0xdb;var _0x245d54=_0x35b9aa[_0xb54a8a];return _0x245d54;},_0xb54a(_0x10a556,_0x471d85);}export var GroupRequestOperateTypes;(function(_0x4fabb3){var _0xbdfa40=_0xb54a,_0x345d17={'IwELG':_0xbdfa40(0xf8),'bidiA':_0xbdfa40(0x108)};_0x4fabb3[_0x4fabb3[_0x345d17[_0xbdfa40(0xf1)]]=0x1]=_0x345d17[_0xbdfa40(0xf1)],_0x4fabb3[_0x4fabb3[_0x345d17[_0xbdfa40(0x11c)]]=0x2]=_0x345d17[_0xbdfa40(0x11c)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x2f1083){var _0x276b2d=_0xb54a,_0x1a1604={'yQuXo':_0x276b2d(0x10d),'NqXpI':'KMEREFUSED','SbLFp':_0x276b2d(0xde),'rcsUI':_0x276b2d(0xfd),'kslIT':_0x276b2d(0xe6),'gEpFu':_0x276b2d(0x105),'jRxTu':_0x276b2d(0x119),'WHGBE':_0x276b2d(0x115),'FDFGI':_0x276b2d(0x109),'vkJRy':_0x276b2d(0x11a),'KuEhi':_0x276b2d(0x114),'VdWeY':_0x276b2d(0xeb),'GGTvm':_0x276b2d(0xe5),'tlvDt':_0x276b2d(0xe0),'lFKBq':_0x276b2d(0x10c)},_0x2cd6fb=_0x1a1604[_0x276b2d(0xf9)][_0x276b2d(0x111)]('|'),_0x360e6b=0x0;while(!![]){switch(_0x2cd6fb[_0x360e6b++]){case'0':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0x110)]]=0x7]=_0x276b2d(0xfa);continue;case'1':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xe9)]]=0xd]=_0x1a1604[_0x276b2d(0xe9)];continue;case'2':_0x2f1083[_0x2f1083[_0x276b2d(0xfd)]=0x3]=_0x1a1604[_0x276b2d(0xed)];continue;case'3':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xf0)]]=0x0]=_0x1a1604[_0x276b2d(0xf0)];continue;case'4':_0x2f1083[_0x2f1083[_0x276b2d(0x105)]=0x8]=_0x1a1604[_0x276b2d(0xfc)];continue;case'5':_0x2f1083[_0x2f1083[_0x1a1604['jRxTu']]=0xc]='KMSGINFO';continue;case'6':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xe2)]]=0x5]='KPEERAGREEDANDADDED';continue;case'7':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0x116)]]=0x4]=_0x1a1604[_0x276b2d(0x116)];continue;case'8':_0x2f1083[_0x2f1083[_0x1a1604['vkJRy']]=0xb]=_0x1a1604[_0x276b2d(0xfe)];continue;case'9':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xfb)]]=0xa]=_0x1a1604[_0x276b2d(0xfb)];continue;case'10':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0x10b)]]=0x2]=_0x1a1604[_0x276b2d(0x10b)];continue;case'11':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xf6)]]=0x9]=_0x1a1604['GGTvm'];continue;case'12':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xdb)]]=0x6]=_0x1a1604[_0x276b2d(0xdb)];continue;case'13':_0x2f1083[_0x2f1083[_0x1a1604['lFKBq']]=0x1]=_0x1a1604['lFKBq'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x215f8b){var _0x3e32d7=_0xb54a,_0x56e7a9={'sYuLI':'DEFAULTTYPE','JfaiF':_0x3e32d7(0xdd),'CBKaq':'NEWGROUPTYPE'};_0x215f8b[_0x215f8b[_0x56e7a9['sYuLI']]=0x0]=_0x56e7a9['sYuLI'],_0x215f8b[_0x215f8b[_0x56e7a9[_0x3e32d7(0xe7)]]=0x1]=_0x56e7a9[_0x3e32d7(0xe7)],_0x215f8b[_0x215f8b[_0x56e7a9[_0x3e32d7(0xf2)]]=0x2]=_0x56e7a9[_0x3e32d7(0xf2)];}(MemberExtSourceType||(MemberExtSourceType={})));function _0x35b9(){var _0x2fd288=['KPEERAGREEDANDADDED','FDFGI','INVITED_JOIN','fqoEu','KMSGINFO','KMEAGREEANDADDFAILED','6056330gRvYdW','bidiA','PoHdI','317940PtQOoK','tlvDt','REJECT','TITLETYPE','KMEINITIATORWAITPEERCONFIRM','lZuky','KPEERREFUSED','JOIN_REQUEST','WHGBE','ADMIN_UNSET_OTHER','WAIT_HANDLE','KMEAGREEANYONE','KMEINITIATOR','JfaiF','IGNORE','SbLFp','ADMIN_UNSET','KMEAGREED','1791606YmBDsK','rcsUI','3219932DjQIOP','12339KCZGUk','kslIT','IwELG','CBKaq','28kpYhqK','SXpQO','cULox','GGTvm','8pFHVxm','approve','yQuXo','KMEREFUSED','KuEhi','gEpFu','KMEAGREEDANDADDED','vkJRy','188xNWXTA','2780676VpTsoI','sdPUJ','jpXgc','3|2|0|6|5|7|4|1','ihidH','KMEIGNORED','INVITE_ME','APPROVE','reject','KPEERAGREED','MEMBER_EXIT','VdWeY','KPEERINITIATOR','3|13|10|2|7|6|12|0|4|11|9|8|5|1','STFIP','KICK_MEMBER','NqXpI','split','rCNdh','2574685oPeVzI','KMESETQUESTION'];_0x35b9=function(){return _0x2fd288;};return _0x35b9();} \ 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 8515e18a..7a7cbc7b 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x34871a,_0x494743){var _0x51a366=_0x4ea6,_0x263a6c=_0x34871a();while(!![]){try{var _0x419954=-parseInt(_0x51a366(0x13a))/0x1+-parseInt(_0x51a366(0x138))/0x2*(-parseInt(_0x51a366(0x137))/0x3)+parseInt(_0x51a366(0x12b))/0x4+parseInt(_0x51a366(0x136))/0x5+-parseInt(_0x51a366(0x132))/0x6*(parseInt(_0x51a366(0x13c))/0x7)+parseInt(_0x51a366(0x12c))/0x8+-parseInt(_0x51a366(0x12d))/0x9*(parseInt(_0x51a366(0x139))/0xa);if(_0x419954===_0x494743)break;else _0x263a6c['push'](_0x263a6c['shift']());}catch(_0x5e8d22){_0x263a6c['push'](_0x263a6c['shift']());}}}(_0x2aa4,0xd9ec4));function _0x4ea6(_0x4e9973,_0x3b787e){var _0x2aa41c=_0x2aa4();return _0x4ea6=function(_0x4ea631,_0x3b3c2d){_0x4ea631=_0x4ea631-0x12b;var _0x462926=_0x2aa41c[_0x4ea631];return _0x462926;},_0x4ea6(_0x4e9973,_0x3b787e);}export var Sex;(function(_0x3ac6e0){var _0x58f707=_0x4ea6,_0x2d4ece={'LrLDs':_0x58f707(0x12f),'akEXe':_0x58f707(0x13b),'lPWPy':_0x58f707(0x134)};_0x3ac6e0[_0x3ac6e0[_0x58f707(0x12f)]=0x1]=_0x2d4ece['LrLDs'],_0x3ac6e0[_0x3ac6e0[_0x2d4ece[_0x58f707(0x131)]]=0x2]='female',_0x3ac6e0[_0x3ac6e0[_0x2d4ece[_0x58f707(0x12e)]]=0xff]=_0x2d4ece[_0x58f707(0x12e)];}(Sex||(Sex={})));export var BizKey;(function(_0x5cf1c2){var _0x3a98a4=_0x4ea6,_0x741eb8={'CSWFe':_0x3a98a4(0x130),'SLuLd':'KPHOTOWALL'};_0x5cf1c2[_0x5cf1c2[_0x741eb8[_0x3a98a4(0x133)]]=0x0]=_0x3a98a4(0x130),_0x5cf1c2[_0x5cf1c2[_0x741eb8[_0x3a98a4(0x135)]]=0x1]='KPHOTOWALL';}(BizKey||(BizKey={})));function _0x2aa4(){var _0x180bc4=['5264392PhBhcy','9IslWoS','lPWPy','male','KPRIVILEGEICON','akEXe','362676nMLbqH','CSWFe','unknown','SLuLd','3962495goChIJ','3PhCmCC','455558yEBiMe','11062120gAxxdp','571153LyembR','female','35gzxFDF','4775520eIpTnz'];_0x2aa4=function(){return _0x180bc4;};return _0x2aa4();} \ No newline at end of file +(function(_0x5eabaf,_0x1e8cf3){var _0x207b87=_0x5d21,_0x5cd2a2=_0x5eabaf();while(!![]){try{var _0x46cddd=parseInt(_0x207b87(0x161))/0x1+parseInt(_0x207b87(0x168))/0x2+parseInt(_0x207b87(0x15b))/0x3+-parseInt(_0x207b87(0x15c))/0x4+parseInt(_0x207b87(0x16a))/0x5*(-parseInt(_0x207b87(0x169))/0x6)+parseInt(_0x207b87(0x15d))/0x7+parseInt(_0x207b87(0x15e))/0x8*(-parseInt(_0x207b87(0x160))/0x9);if(_0x46cddd===_0x1e8cf3)break;else _0x5cd2a2['push'](_0x5cd2a2['shift']());}catch(_0x3f3cb4){_0x5cd2a2['push'](_0x5cd2a2['shift']());}}}(_0x1d39,0x6822c));function _0x1d39(){var _0x31c172=['dkVAT','8871444FliQXU','775743QXXORv','unknown','THDAC','female','KPRIVILEGEICON','FAfWp','PopnH','2758XWtUIm','972IMayjH','2845NiuJls','2338275WjHqOu','1911348VRqBUx','2980068jgxdlU','8ZyzhsC'];_0x1d39=function(){return _0x31c172;};return _0x1d39();}export var Sex;function _0x5d21(_0x4abf42,_0x34fa8a){var _0x1d39a4=_0x1d39();return _0x5d21=function(_0x5d2143,_0x3fdab2){_0x5d2143=_0x5d2143-0x15b;var _0x4be08d=_0x1d39a4[_0x5d2143];return _0x4be08d;},_0x5d21(_0x4abf42,_0x34fa8a);}(function(_0x269d21){var _0x3008c5=_0x5d21,_0x12bb4f={'THDAC':'male','PopnH':_0x3008c5(0x164),'FAfWp':_0x3008c5(0x162)};_0x269d21[_0x269d21[_0x12bb4f['THDAC']]=0x1]=_0x12bb4f[_0x3008c5(0x163)],_0x269d21[_0x269d21[_0x12bb4f[_0x3008c5(0x167)]]=0x2]=_0x12bb4f[_0x3008c5(0x167)],_0x269d21[_0x269d21['unknown']=0xff]=_0x12bb4f[_0x3008c5(0x166)];}(Sex||(Sex={})));export var BizKey;(function(_0x2aafd0){var _0xa938f7=_0x5d21,_0x28af2b={'dkVAT':_0xa938f7(0x165),'Szzsc':'KPHOTOWALL'};_0x2aafd0[_0x2aafd0[_0x28af2b['dkVAT']]=0x0]=_0x28af2b[_0xa938f7(0x15f)],_0x2aafd0[_0x2aafd0[_0x28af2b['Szzsc']]=0x1]=_0x28af2b['Szzsc'];}(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 b23eca6e..eb26b4fc 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0xe5c35e,_0x3e7e90){var _0x47c632=_0x24b5,_0x581c24=_0xe5c35e();while(!![]){try{var _0x2b2072=parseInt(_0x47c632(0x82))/0x1+-parseInt(_0x47c632(0x7d))/0x2+-parseInt(_0x47c632(0x81))/0x3+-parseInt(_0x47c632(0x83))/0x4+-parseInt(_0x47c632(0x84))/0x5*(parseInt(_0x47c632(0x7c))/0x6)+parseInt(_0x47c632(0x7f))/0x7+parseInt(_0x47c632(0x80))/0x8*(parseInt(_0x47c632(0x7e))/0x9);if(_0x2b2072===_0x3e7e90)break;else _0x581c24['push'](_0x581c24['shift']());}catch(_0x23f57f){_0x581c24['push'](_0x581c24['shift']());}}}(_0x2282,0xc67e0));import _0x332b61 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x332b61 as Wrapper};function _0x24b5(_0x124679,_0x2dafa2){var _0x2282ff=_0x2282();return _0x24b5=function(_0x24b5f6,_0xaaa19){_0x24b5f6=_0x24b5f6-0x7c;var _0x2197a4=_0x2282ff[_0x24b5f6];return _0x2197a4;},_0x24b5(_0x124679,_0x2dafa2);}export*as WrapperInterface from'./wrapper';function _0x2282(){var _0x16a9d5=['2082411hdrjIi','1268699UCTFwT','1205452zkwLIO','3620HXiGPc','7746hFiCqL','1886332gyCFyn','8928wlJldq','7285453nLndrV','11104FbrOJn'];_0x2282=function(){return _0x16a9d5;};return _0x2282();}export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0xfd48fa,_0x35ef38){var _0x5e1054=_0x48e2,_0x9493b2=_0xfd48fa();while(!![]){try{var _0x22d7b5=parseInt(_0x5e1054(0x1ea))/0x1*(parseInt(_0x5e1054(0x1e4))/0x2)+parseInt(_0x5e1054(0x1e6))/0x3+parseInt(_0x5e1054(0x1e8))/0x4+-parseInt(_0x5e1054(0x1e5))/0x5+-parseInt(_0x5e1054(0x1e2))/0x6+parseInt(_0x5e1054(0x1e3))/0x7+-parseInt(_0x5e1054(0x1e7))/0x8*(-parseInt(_0x5e1054(0x1e9))/0x9);if(_0x22d7b5===_0x35ef38)break;else _0x9493b2['push'](_0x9493b2['shift']());}catch(_0x132219){_0x9493b2['push'](_0x9493b2['shift']());}}}(_0x3bde,0x916ca));import _0xb6961c from'./wrapper';function _0x3bde(){var _0x3dcd41=['6810918SrwEMA','494704MZlLna','36164VYbAHp','632625qIgQPh','982998iNCwuD','152976kjTAVo','4620504OyXryo','126HLbeOa','2JqouJO'];_0x3bde=function(){return _0x3dcd41;};return _0x3bde();}export*from'./adapters';export*from'./apis';function _0x48e2(_0x2904a1,_0x19d9b4){var _0x3bde97=_0x3bde();return _0x48e2=function(_0x48e24a,_0x2ca67d){_0x48e24a=_0x48e24a-0x1e2;var _0x43e66b=_0x3bde97[_0x48e24a];return _0x43e66b;},_0x48e2(_0x2904a1,_0x19d9b4);}export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0xb6961c 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 8bbdecec..8044b0c5 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x5820ae=_0x345e;function _0x345e(_0x15472d,_0x1c4f61){var _0x23fee3=_0x23fe();return _0x345e=function(_0x345efa,_0x37c191){_0x345efa=_0x345efa-0x1db;var _0x20deb8=_0x23fee3[_0x345efa];return _0x20deb8;},_0x345e(_0x15472d,_0x1c4f61);}function _0x23fe(){var _0x238d0e=['10952sNslGZ','964790acaHUj','onBuddyDetailInfoChange','onSmartInfos','785871kKuNvh','77rKotqw','4030569SPByIC','4643215taSpQU','20NsBDfX','onBuddyInfoChange','onBuddyReqUnreadCntChange','onSpacePermissionInfos','368536arZhoK','5663yqeNum','onBuddyReqChange','6ufMeFH','1907020yKPiYy','onCheckBuddySettingResult','onBuddyRemarkUpdated','onAddMeSettingChanged','onBuddyListChange','onAvatarUrlUpdated','onAddBuddyNeedVerify'];_0x23fe=function(){return _0x238d0e;};return _0x23fe();}(function(_0x33dada,_0x2ce6f7){var _0x548da9=_0x345e,_0x37a49=_0x33dada();while(!![]){try{var _0x109491=parseInt(_0x548da9(0x1e7))/0x1+-parseInt(_0x548da9(0x1eb))/0x2+parseInt(_0x548da9(0x1df))/0x3*(parseInt(_0x548da9(0x1e3))/0x4)+parseInt(_0x548da9(0x1e2))/0x5*(-parseInt(_0x548da9(0x1ea))/0x6)+parseInt(_0x548da9(0x1e8))/0x7*(parseInt(_0x548da9(0x1db))/0x8)+parseInt(_0x548da9(0x1e1))/0x9+-parseInt(_0x548da9(0x1dc))/0xa*(parseInt(_0x548da9(0x1e0))/0xb);if(_0x109491===_0x2ce6f7)break;else _0x37a49['push'](_0x37a49['shift']());}catch(_0x5d4cb6){_0x37a49['push'](_0x37a49['shift']());}}}(_0x23fe,0xa5151));export class BuddyListener{[_0x5820ae(0x1f1)](_0x2c9826){}[_0x5820ae(0x1ee)](_0x251400){}[_0x5820ae(0x1f0)](_0x6dc9eb){}['onBlockChanged'](_0x1143a5){}[_0x5820ae(0x1dd)](_0x168d0e){}[_0x5820ae(0x1e4)](_0x1e2d50){}[_0x5820ae(0x1ef)](_0x3aeb84){}[_0x5820ae(0x1ed)](_0x47e756){}[_0x5820ae(0x1e9)](_0x1497a4){}[_0x5820ae(0x1e5)](_0x153b2a){}[_0x5820ae(0x1ec)](_0x47db2e){}['onDelBatchBuddyInfos'](_0x42cd9a){}['onDoubtBuddyReqChange'](_0x47d516){}['onDoubtBuddyReqUnreadNumChange'](_0x4ee743){}['onNickUpdated'](_0x48d675){}[_0x5820ae(0x1de)](_0x4503be){}[_0x5820ae(0x1e6)](_0x139640){}} \ No newline at end of file +var _0x23f41a=_0x3584;(function(_0x192b2f,_0x499f50){var _0x15d944=_0x3584,_0x48f761=_0x192b2f();while(!![]){try{var _0x114afc=-parseInt(_0x15d944(0x1fd))/0x1*(-parseInt(_0x15d944(0x1ed))/0x2)+parseInt(_0x15d944(0x203))/0x3*(-parseInt(_0x15d944(0x1f3))/0x4)+parseInt(_0x15d944(0x1f7))/0x5*(parseInt(_0x15d944(0x200))/0x6)+-parseInt(_0x15d944(0x1fa))/0x7*(-parseInt(_0x15d944(0x1f6))/0x8)+parseInt(_0x15d944(0x1f4))/0x9*(parseInt(_0x15d944(0x1ec))/0xa)+-parseInt(_0x15d944(0x1fc))/0xb*(parseInt(_0x15d944(0x202))/0xc)+-parseInt(_0x15d944(0x1ea))/0xd*(parseInt(_0x15d944(0x1f8))/0xe);if(_0x114afc===_0x499f50)break;else _0x48f761['push'](_0x48f761['shift']());}catch(_0xb9ca43){_0x48f761['push'](_0x48f761['shift']());}}}(_0xbbc0,0x965a1));export class BuddyListener{[_0x23f41a(0x1fb)](_0x4b0ab5){}[_0x23f41a(0x201)](_0x40c8c0){}[_0x23f41a(0x1f9)](_0x1041d8){}[_0x23f41a(0x205)](_0x442ba6){}[_0x23f41a(0x1f5)](_0x197a78){}[_0x23f41a(0x1ff)](_0x4c0015){}[_0x23f41a(0x1ee)](_0x254539){}[_0x23f41a(0x1eb)](_0x20fd0a){}[_0x23f41a(0x1f0)](_0x514195){}[_0x23f41a(0x1ef)](_0x14918d){}[_0x23f41a(0x1f1)](_0x2203bb){}[_0x23f41a(0x1f2)](_0x4b974b){}[_0x23f41a(0x1fe)](_0x3594b7){}['onDoubtBuddyReqUnreadNumChange'](_0x55a2b3){}['onNickUpdated'](_0x1a680f){}[_0x23f41a(0x204)](_0x2bee56){}['onSpacePermissionInfos'](_0x4ffdbb){}}function _0x3584(_0x111a10,_0x295b3e){var _0xbbc088=_0xbbc0();return _0x3584=function(_0x358498,_0x4adbc1){_0x358498=_0x358498-0x1ea;var _0x19dcc7=_0xbbc088[_0x358498];return _0x19dcc7;},_0x3584(_0x111a10,_0x295b3e);}function _0xbbc0(){var _0xd416ad=['26JHzZhO','onBuddyRemarkUpdated','260Dqmvom','14340efhZZR','onBuddyListChange','onBuddyReqUnreadCntChange','onBuddyReqChange','onCheckBuddySettingResult','onDelBatchBuddyInfos','17732leMMnk','171081KYFHqY','onBuddyDetailInfoChange','24QhIgMb','61690uXFsOD','7503398BLLyCN','onAvatarUrlUpdated','2666881yTLrUA','onAddBuddyNeedVerify','33OrEqaH','113lHILEb','onDoubtBuddyReqChange','onBuddyInfoChange','144tjGZMl','onAddMeSettingChanged','268764uCrspK','669IucmQt','onSmartInfos','onBlockChanged'];_0xbbc0=function(){return _0xd416ad;};return _0xbbc0();} \ 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 2b1878c7..2d74896b 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x5cc46e=_0x12ff;(function(_0x134349,_0x137905){var _0x45518c=_0x12ff,_0x8d13bd=_0x134349();while(!![]){try{var _0x11b0f5=parseInt(_0x45518c(0x133))/0x1+parseInt(_0x45518c(0x130))/0x2+-parseInt(_0x45518c(0x132))/0x3+-parseInt(_0x45518c(0x136))/0x4*(-parseInt(_0x45518c(0x135))/0x5)+parseInt(_0x45518c(0x13a))/0x6+parseInt(_0x45518c(0x137))/0x7+-parseInt(_0x45518c(0x138))/0x8;if(_0x11b0f5===_0x137905)break;else _0x8d13bd['push'](_0x8d13bd['shift']());}catch(_0x366682){_0x8d13bd['push'](_0x8d13bd['shift']());}}}(_0x3ac8,0xa222d));function _0x12ff(_0x2d5205,_0x440851){var _0x3ac8e3=_0x3ac8();return _0x12ff=function(_0x12ffcd,_0x20c801){_0x12ffcd=_0x12ffcd-0x130;var _0x25af2d=_0x3ac8e3[_0x12ffcd];return _0x25af2d;},_0x12ff(_0x2d5205,_0x440851);}function _0x3ac8(){var _0x5ccbdc=['2247171AjrxFR','502310glImQE','onFileSearch','5665tsBhBz','3316pVCHry','1030120arVYHB','3998824qBUrdR','onFileListChanged','682998JkiFYG','420918aYFqvz','onFileStatusChanged'];_0x3ac8=function(){return _0x5ccbdc;};return _0x3ac8();}export class KernelFileAssistantListener{[_0x5cc46e(0x131)](..._0x5e46ce){}['onSessionListChanged'](..._0x576884){}['onSessionChanged'](..._0x4cdb9b){}[_0x5cc46e(0x139)](..._0x511c0b){}[_0x5cc46e(0x134)](..._0x14361e){}} \ No newline at end of file +function _0x3799(){var _0x1a326e=['onFileListChanged','10179136StJQaZ','2242471OCufaF','onSessionChanged','4zYZite','1761040iMevwU','18BZzGvF','3758991hnKOVl','138290csdoZk','1845400xVzXZk','63qWQLKz','1230294QJVkJH','onSessionListChanged','onFileSearch','onFileStatusChanged'];_0x3799=function(){return _0x1a326e;};return _0x3799();}var _0x3afa4d=_0x2722;(function(_0x1f20fb,_0x47ba95){var _0x16c7d=_0x2722,_0x296ee0=_0x1f20fb();while(!![]){try{var _0x11995e=parseInt(_0x16c7d(0xbc))/0x1+-parseInt(_0x16c7d(0xc8))/0x2+-parseInt(_0x16c7d(0xc7))/0x3*(parseInt(_0x16c7d(0xc4))/0x4)+-parseInt(_0x16c7d(0xc9))/0x5*(-parseInt(_0x16c7d(0xc6))/0x6)+-parseInt(_0x16c7d(0xc2))/0x7+-parseInt(_0x16c7d(0xc1))/0x8+-parseInt(_0x16c7d(0xbb))/0x9*(-parseInt(_0x16c7d(0xc5))/0xa);if(_0x11995e===_0x47ba95)break;else _0x296ee0['push'](_0x296ee0['shift']());}catch(_0x3c0866){_0x296ee0['push'](_0x296ee0['shift']());}}}(_0x3799,0xa000f));function _0x2722(_0x28851c,_0x49288e){var _0x37991b=_0x3799();return _0x2722=function(_0x272209,_0x54eed4){_0x272209=_0x272209-0xbb;var _0x2fbc89=_0x37991b[_0x272209];return _0x2fbc89;},_0x2722(_0x28851c,_0x49288e);}export class KernelFileAssistantListener{[_0x3afa4d(0xbf)](..._0x3181b4){}[_0x3afa4d(0xbd)](..._0x26e367){}[_0x3afa4d(0xc3)](..._0x34c856){}[_0x3afa4d(0xc0)](..._0x5a79e4){}[_0x3afa4d(0xbe)](..._0x16c21a){}} \ 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 7b0139d9..67996f67 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x58dd(_0x1d00c1,_0x1eddb8){var _0x280479=_0x2804();return _0x58dd=function(_0x58dd61,_0x1691b9){_0x58dd61=_0x58dd61-0xf8;var _0x3922aa=_0x280479[_0x58dd61];return _0x3922aa;},_0x58dd(_0x1d00c1,_0x1eddb8);}function _0x2804(){var _0x2c4a35=['onMemberInfoChange','YHpbF','onGroupNotifiesUpdated','onGetGroupBulletinListResult','9ATGIXj','onGroupBulletinRichMediaProgressUpdate:','1622424oaKIBk','onGroupConfMemberChange:','onJoinGroupNoVerifyFlag','onJoinGroupNoVerifyFlag:','QoFpf','dYIzR','294IWxYpb','onSearchMemberChange','onGroupMemberLevelInfoChange:','onMemberInfoChange:','log','onMemberListChange','onGroupExtListUpdate','430rNbzyT','571RbLoWF','CYCDo','onShutUpMemberListChanged','onJoinGroupNotify:','YBZhh','onGroupAllInfoChange','onGroupSingleScreenNotifies:','onGroupBulletinRemindNotify','onGroupFirstBulletinNotify','onGetGroupBulletinListResult:','2636vLpXXx','onGroupNotifiesUnreadCountUpdated:','onGroupMemberLevelInfoChange','iQBvM','KAOlH','siACk','onGroupConfMemberChange','onGroupListUpdate','onSearchMemberChange:','onGroupBulletinRichMediaDownloadComplete:','1756190QapHMQ','onGroupArkInviteStateResult','onGroupBulletinRichMediaDownloadComplete','onGroupDetailInfoChange','onGroupNotifiesUnreadCountUpdated','444033IXLyGn','Pnbae','onGroupsMsgMaskResult','usyDa','1760099yURXcb','onGroupNotifiesUpdated:','onGroupStatisticInfoChange:','onGroupArkInviteStateResult:','bTZDX','15547RMbKtn','onGroupBulletinChange','onGroupListUpdate:','qABJY','onGroupBulletinRichMediaProgressUpdate','onGroupStatisticInfoChange','304aYqPWV','oSkcI','UhKzv'];_0x2804=function(){return _0x2c4a35;};return _0x2804();}var _0x329fcd=_0x58dd;(function(_0x4af057,_0x51a2db){var _0x5a0285=_0x58dd,_0x29b6eb=_0x4af057();while(!![]){try{var _0x364ea0=-parseInt(_0x5a0285(0x12a))/0x1*(-parseInt(_0x5a0285(0x113))/0x2)+-parseInt(_0x5a0285(0x104))/0x3+-parseInt(_0x5a0285(0x134))/0x4*(-parseInt(_0x5a0285(0x129))/0x5)+parseInt(_0x5a0285(0x122))/0x6*(-parseInt(_0x5a0285(0x10d))/0x7)+-parseInt(_0x5a0285(0x11c))/0x8*(-parseInt(_0x5a0285(0x11a))/0x9)+parseInt(_0x5a0285(0xff))/0xa+-parseInt(_0x5a0285(0x108))/0xb;if(_0x364ea0===_0x51a2db)break;else _0x29b6eb['push'](_0x29b6eb['shift']());}catch(_0x3e07b5){_0x29b6eb['push'](_0x29b6eb['shift']());}}}(_0x2804,0x19a4f));export class GroupListener{[_0x329fcd(0x136)](..._0x39f855){}[_0x329fcd(0x119)](..._0x23f55d){}[_0x329fcd(0x12f)](..._0xd97520){}['onGroupBulletinChange'](..._0x503805){}[_0x329fcd(0x131)](..._0x1a3186){}[_0x329fcd(0x100)](..._0x296882){}['onGroupBulletinRichMediaDownloadComplete'](..._0x61b3c8){}[_0x329fcd(0xfb)](..._0x558f07){}[_0x329fcd(0x102)](..._0x13552d){}[_0x329fcd(0x128)](..._0x12752c){}[_0x329fcd(0x132)](..._0xb83305){}[_0x329fcd(0xfc)](_0x20cef4,_0x5b0bb7){}[_0x329fcd(0x118)](_0x2988bd,_0x38e80a){}['onGroupBulletinRichMediaProgressUpdate'](..._0x135026){}['onGroupNotifiesUnreadCountUpdated'](..._0x13d863){}['onGroupSingleScreenNotifies'](_0xbd1371,_0x573527,_0x4b7939){}[_0x329fcd(0x106)](..._0x5f151e){}[_0x329fcd(0x112)](..._0xa06834){}['onJoinGroupNotify'](..._0x2668e6){}[_0x329fcd(0x11e)](..._0x2e2962){}[_0x329fcd(0x116)](_0x196fc9,_0x947e65,_0x37bbb8){}['onMemberListChange'](_0xd55199){}[_0x329fcd(0x123)](..._0x306fba){}[_0x329fcd(0x12c)](..._0x8c749c){}}export class DebugGroupListener{[_0x329fcd(0x136)](..._0x439c2c){var _0x1f7f42=_0x329fcd;console[_0x1f7f42(0x126)](_0x1f7f42(0x124),..._0x439c2c);}[_0x329fcd(0x119)](..._0xd109f9){var _0x31373d=_0x329fcd,_0x794f1a={'bTZDX':_0x31373d(0x133)};console[_0x31373d(0x126)](_0x794f1a[_0x31373d(0x10c)],..._0xd109f9);}['onGroupAllInfoChange'](..._0x5ec29c){var _0x1e9d87=_0x329fcd;console[_0x1e9d87(0x126)]('onGroupAllInfoChange:',..._0x5ec29c);}[_0x329fcd(0x10e)](..._0x3a0b7d){console['log']('onGroupBulletinChange:',..._0x3a0b7d);}[_0x329fcd(0x131)](..._0x9b4012){var _0x5e1456=_0x329fcd,_0x49bf2c={'siACk':'onGroupBulletinRemindNotify:'};console[_0x5e1456(0x126)](_0x49bf2c[_0x5e1456(0xfa)],..._0x9b4012);}[_0x329fcd(0x100)](..._0x160dbc){var _0x50736f=_0x329fcd;console['log'](_0x50736f(0x10b),..._0x160dbc);}[_0x329fcd(0x101)](..._0xafa57e){var _0x49418a=_0x329fcd;console[_0x49418a(0x126)](_0x49418a(0xfe),..._0xafa57e);}[_0x329fcd(0xfb)](..._0x5d504b){var _0x10fa92=_0x329fcd;console[_0x10fa92(0x126)](_0x10fa92(0x11d),..._0x5d504b);}['onGroupDetailInfoChange'](..._0x24601a){var _0x5138ac=_0x329fcd,_0xf658bd={'Pnbae':'onGroupDetailInfoChange:'};console[_0x5138ac(0x126)](_0xf658bd[_0x5138ac(0x105)],..._0x24601a);}[_0x329fcd(0x128)](..._0x18552e){var _0xbd5de7=_0x329fcd,_0x5a5c96={'usyDa':'onGroupExtListUpdate:'};console[_0xbd5de7(0x126)](_0x5a5c96[_0xbd5de7(0x107)],..._0x18552e);}[_0x329fcd(0x132)](..._0x478b34){var _0xc1de2a=_0x329fcd,_0x47ab33={'CYCDo':'onGroupFirstBulletinNotify:'};console[_0xc1de2a(0x126)](_0x47ab33[_0xc1de2a(0x12b)],..._0x478b34);}[_0x329fcd(0xfc)](..._0x3343db){var _0x415f35=_0x329fcd,_0x3b6d61={'UhKzv':_0x415f35(0x10f)};console[_0x415f35(0x126)](_0x3b6d61[_0x415f35(0x115)],..._0x3343db);}[_0x329fcd(0x118)](..._0x4c7b29){var _0x2dfd2f=_0x329fcd,_0x2f9301={'QoFpf':_0x2dfd2f(0x109)};console['log'](_0x2f9301[_0x2dfd2f(0x120)],..._0x4c7b29);}[_0x329fcd(0x111)](..._0xc41ca9){var _0x5ee10f=_0x329fcd,_0x42daf5={'dYIzR':_0x5ee10f(0x11b)};console[_0x5ee10f(0x126)](_0x42daf5[_0x5ee10f(0x121)],..._0xc41ca9);}[_0x329fcd(0x103)](..._0x1ec268){var _0x531e5e=_0x329fcd,_0x305155={'qABJY':_0x531e5e(0x135)};console[_0x531e5e(0x126)](_0x305155[_0x531e5e(0x110)],..._0x1ec268);}['onGroupSingleScreenNotifies'](_0x138788,_0x5a2518,_0x6b84c8){var _0x3cc9fb=_0x329fcd,_0x43dcf4={'iQBvM':_0x3cc9fb(0x130)};console[_0x3cc9fb(0x126)](_0x43dcf4[_0x3cc9fb(0xf8)]);}[_0x329fcd(0x106)](..._0x2cb65e){var _0x487cd3=_0x329fcd,_0x5ea778={'oSkcI':'onGroupsMsgMaskResult:'};console[_0x487cd3(0x126)](_0x5ea778[_0x487cd3(0x114)],..._0x2cb65e);}[_0x329fcd(0x112)](..._0x371447){var _0x4395bc=_0x329fcd,_0x44952a={'KAOlH':_0x4395bc(0x10a)};console[_0x4395bc(0x126)](_0x44952a[_0x4395bc(0xf9)],..._0x371447);}['onJoinGroupNotify'](..._0x4f12fb){var _0x599c46=_0x329fcd,_0x10e90f={'YBZhh':_0x599c46(0x12d)};console[_0x599c46(0x126)](_0x10e90f[_0x599c46(0x12e)],..._0x4f12fb);}[_0x329fcd(0x11e)](..._0x54d89d){var _0x1e3532=_0x329fcd;console[_0x1e3532(0x126)](_0x1e3532(0x11f),..._0x54d89d);}[_0x329fcd(0x116)](_0xfce2c8,_0x3c6d5c,_0xce2fd6){var _0x27795f=_0x329fcd,_0x1c44bc={'xyzTs':_0x27795f(0x125)};console[_0x27795f(0x126)](_0x1c44bc['xyzTs'],_0xfce2c8,_0x3c6d5c,_0xce2fd6);}[_0x329fcd(0x127)](..._0x4a8243){console['log']('onMemberListChange:',..._0x4a8243);}[_0x329fcd(0x123)](..._0x26e167){var _0x55558f=_0x329fcd;console['log'](_0x55558f(0xfd),..._0x26e167);}[_0x329fcd(0x12c)](..._0x4cb2fb){var _0x575b24=_0x329fcd,_0xe8c438={'YHpbF':'onShutUpMemberListChanged:'};console['log'](_0xe8c438[_0x575b24(0x117)],..._0x4cb2fb);}} \ No newline at end of file +var _0x34ce4b=_0x2282;function _0x2282(_0x5e55c0,_0x1f5d09){var _0x1a30f7=_0x1a30();return _0x2282=function(_0x2282cc,_0x5b896a){_0x2282cc=_0x2282cc-0xd5;var _0x46d875=_0x1a30f7[_0x2282cc];return _0x46d875;},_0x2282(_0x5e55c0,_0x1f5d09);}(function(_0x95f915,_0x24bd69){var _0x284563=_0x2282,_0x2af34c=_0x95f915();while(!![]){try{var _0x33ede5=parseInt(_0x284563(0xdc))/0x1+parseInt(_0x284563(0xfa))/0x2+-parseInt(_0x284563(0xea))/0x3*(parseInt(_0x284563(0xd9))/0x4)+parseInt(_0x284563(0x11a))/0x5*(-parseInt(_0x284563(0xe4))/0x6)+parseInt(_0x284563(0xde))/0x7+-parseInt(_0x284563(0xf3))/0x8+-parseInt(_0x284563(0xee))/0x9*(-parseInt(_0x284563(0x11b))/0xa);if(_0x33ede5===_0x24bd69)break;else _0x2af34c['push'](_0x2af34c['shift']());}catch(_0x2aff56){_0x2af34c['push'](_0x2af34c['shift']());}}}(_0x1a30,0x58a5b));function _0x1a30(){var _0x27b216=['onGroupStatisticInfoChange:','mfJco','onGroupConfMemberChange','onGroupAllInfoChange:','1315686lHvZLU','onGroupsMsgMaskResult','onGroupFirstBulletinNotify:','onGroupNotifiesUnreadCountUpdated:','mbWCh','onGroupBulletinRichMediaProgressUpdate','gkotc','onGroupsMsgMaskResult:','onGroupNotifiesUnreadCountUpdated','onGroupListUpdate','cbCmA','onGroupAllInfoChange','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete','onGroupStatisticInfoChange','onMemberListChange','onJoinGroupNotify:','onGroupNotifiesUpdated','onJoinGroupNoVerifyFlag','onGroupBulletinRichMediaProgressUpdate:','onGroupArkInviteStateResult','onGroupArkInviteStateResult:','CGHeW','onGroupListUpdate:','onGroupSingleScreenNotifies:','WlPmW','onGroupBulletinChange:','raEgX','xFXDh','log','onShutUpMemberListChanged','onGroupBulletinRemindNotify','410155jtiUbB','2130PkCvaQ','onSearchMemberChange:','aEOIt','UdzPk','onGetGroupBulletinListResult:','onGroupSingleScreenNotifies','553016dyeDWb','onGetGroupBulletinListResult','onJoinGroupNoVerifyFlag:','594427OTTXAQ','nkTIh','694764olZQHh','PvpLV','onSearchMemberChange','SgbEe','dWDsF','onMemberInfoChange:','42AXttMc','onGroupDetailInfoChange:','onGroupMemberLevelInfoChange:','onMemberListChange:','bKrMv','onGroupBulletinRemindNotify:','3QOMLCs','onGroupMemberLevelInfoChange','onGroupExtListUpdate:','ZKOMG','2601sqNVgP','qNOiQ','onShutUpMemberListChanged:','onJoinGroupNotify','onGroupNotifiesUpdated:','2700072EWNEaP','NgvpC','onGroupDetailInfoChange'];_0x1a30=function(){return _0x27b216;};return _0x1a30();}export class GroupListener{[_0x34ce4b(0xeb)](..._0x3946ec){}[_0x34ce4b(0xda)](..._0x1b26c9){}[_0x34ce4b(0x105)](..._0x436fa7){}['onGroupBulletinChange'](..._0x290f72){}[_0x34ce4b(0x119)](..._0x3f3e94){}[_0x34ce4b(0x10e)](..._0x1c76e8){}['onGroupBulletinRichMediaDownloadComplete'](..._0x1d23cb){}[_0x34ce4b(0xf8)](..._0xb6d39a){}[_0x34ce4b(0xf5)](..._0x5b6fd1){}['onGroupExtListUpdate'](..._0x3bcde3){}['onGroupFirstBulletinNotify'](..._0x4f4279){}[_0x34ce4b(0x103)](_0x1a383b,_0xe80e5){}[_0x34ce4b(0x10b)](_0x573375,_0x2d97bd){}[_0x34ce4b(0xff)](..._0x21fadf){}[_0x34ce4b(0x102)](..._0x179c23){}[_0x34ce4b(0xd8)](_0x555923,_0x52b16d,_0x322bac){}[_0x34ce4b(0xfb)](..._0xc434fb){}[_0x34ce4b(0x108)](..._0x2348d4){}[_0x34ce4b(0xf1)](..._0x2b7b8d){}[_0x34ce4b(0x10c)](..._0x2d716c){}[_0x34ce4b(0x106)](_0x4cecaa,_0xff33a,_0x39b20a){}['onMemberListChange'](_0x5a5086){}[_0x34ce4b(0xe0)](..._0x301be2){}[_0x34ce4b(0x118)](..._0x374970){}}export class DebugGroupListener{[_0x34ce4b(0xeb)](..._0xbf7ec5){var _0x6b14d=_0x34ce4b,_0x3ebef6={'NgvpC':_0x6b14d(0xe6)};console[_0x6b14d(0x117)](_0x3ebef6[_0x6b14d(0xf4)],..._0xbf7ec5);}[_0x34ce4b(0xda)](..._0x4f0feb){var _0x587b55=_0x34ce4b,_0xc462d7={'mbWCh':_0x587b55(0xd7)};console[_0x587b55(0x117)](_0xc462d7[_0x587b55(0xfe)],..._0x4f0feb);}['onGroupAllInfoChange'](..._0x18f10c){var _0x2790d4=_0x34ce4b,_0x269f67={'bKrMv':_0x2790d4(0xf9)};console['log'](_0x269f67[_0x2790d4(0xe8)],..._0x18f10c);}['onGroupBulletinChange'](..._0x20a3f6){var _0x158e19=_0x34ce4b,_0x254719={'NckSe':_0x158e19(0x114)};console['log'](_0x254719['NckSe'],..._0x20a3f6);}[_0x34ce4b(0x119)](..._0x727813){var _0x317110=_0x34ce4b,_0x36d297={'PvpLV':_0x317110(0xe9)};console[_0x317110(0x117)](_0x36d297[_0x317110(0xdf)],..._0x727813);}[_0x34ce4b(0x10e)](..._0x2de636){var _0x3eeb96=_0x34ce4b,_0xf0e1c={'gkotc':_0x3eeb96(0x10f)};console[_0x3eeb96(0x117)](_0xf0e1c[_0x3eeb96(0x100)],..._0x2de636);}[_0x34ce4b(0x107)](..._0x46335f){var _0x5418cf=_0x34ce4b,_0x4a77bc={'GRMTl':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x5418cf(0x117)](_0x4a77bc['GRMTl'],..._0x46335f);}[_0x34ce4b(0xf8)](..._0x1991f0){var _0x42d862=_0x34ce4b,_0x48e3cb={'cbCmA':'onGroupConfMemberChange:'};console['log'](_0x48e3cb[_0x42d862(0x104)],..._0x1991f0);}[_0x34ce4b(0xf5)](..._0x5d1df2){var _0x566c7a=_0x34ce4b,_0x4a6851={'mfJco':_0x566c7a(0xe5)};console[_0x566c7a(0x117)](_0x4a6851[_0x566c7a(0xf7)],..._0x5d1df2);}['onGroupExtListUpdate'](..._0x2664d1){var _0x35c913=_0x34ce4b,_0x6b331c={'aEOIt':_0x35c913(0xec)};console[_0x35c913(0x117)](_0x6b331c[_0x35c913(0xd5)],..._0x2664d1);}['onGroupFirstBulletinNotify'](..._0x4077a2){var _0x250fd5=_0x34ce4b,_0x3ef4b8={'WlPmW':_0x250fd5(0xfc)};console[_0x250fd5(0x117)](_0x3ef4b8[_0x250fd5(0x113)],..._0x4077a2);}[_0x34ce4b(0x103)](..._0x51e996){var _0x117c5a=_0x34ce4b,_0x2a8232={'xvboX':_0x117c5a(0x111)};console[_0x117c5a(0x117)](_0x2a8232['xvboX'],..._0x51e996);}[_0x34ce4b(0x10b)](..._0x320fe4){var _0xd9eec3=_0x34ce4b,_0x3080b2={'raEgX':_0xd9eec3(0xf2)};console['log'](_0x3080b2[_0xd9eec3(0x115)],..._0x320fe4);}[_0x34ce4b(0xff)](..._0x521af8){var _0x6e5c9f=_0x34ce4b,_0x34f780={'jLRAF':_0x6e5c9f(0x10d)};console['log'](_0x34f780['jLRAF'],..._0x521af8);}['onGroupNotifiesUnreadCountUpdated'](..._0x419a02){var _0x63cdfb=_0x34ce4b,_0x4fe525={'xFXDh':_0x63cdfb(0xfd)};console['log'](_0x4fe525[_0x63cdfb(0x116)],..._0x419a02);}[_0x34ce4b(0xd8)](_0x436e0f,_0x300d10,_0x35d107){var _0x5bd506=_0x34ce4b,_0x38d604={'CGHeW':_0x5bd506(0x112)};console['log'](_0x38d604[_0x5bd506(0x110)]);}[_0x34ce4b(0xfb)](..._0x3417f6){var _0x1fa502=_0x34ce4b,_0x179926={'ZKOMG':_0x1fa502(0x101)};console[_0x1fa502(0x117)](_0x179926[_0x1fa502(0xed)],..._0x3417f6);}[_0x34ce4b(0x108)](..._0xfb2a42){var _0x17bd7d=_0x34ce4b,_0x3fd5b9={'dWDsF':_0x17bd7d(0xf6)};console[_0x17bd7d(0x117)](_0x3fd5b9[_0x17bd7d(0xe2)],..._0xfb2a42);}[_0x34ce4b(0xf1)](..._0x114645){var _0x5abdf3=_0x34ce4b,_0x25b7ac={'qNOiQ':_0x5abdf3(0x10a)};console[_0x5abdf3(0x117)](_0x25b7ac[_0x5abdf3(0xef)],..._0x114645);}['onJoinGroupNoVerifyFlag'](..._0x5bc3e1){var _0x59ffa6=_0x34ce4b,_0x6b6423={'nkTIh':_0x59ffa6(0xdb)};console[_0x59ffa6(0x117)](_0x6b6423[_0x59ffa6(0xdd)],..._0x5bc3e1);}[_0x34ce4b(0x106)](_0x2fe421,_0x19801b,_0x3f1f9f){var _0x543ead=_0x34ce4b,_0x3ea9c5={'UdzPk':_0x543ead(0xe3)};console['log'](_0x3ea9c5[_0x543ead(0xd6)],_0x2fe421,_0x19801b,_0x3f1f9f);}[_0x34ce4b(0x109)](..._0x22e14f){var _0xc339ff=_0x34ce4b,_0x21691={'YiULT':_0xc339ff(0xe7)};console[_0xc339ff(0x117)](_0x21691['YiULT'],..._0x22e14f);}[_0x34ce4b(0xe0)](..._0x2eab66){var _0x47ed1b=_0x34ce4b,_0x94b477={'SgbEe':_0x47ed1b(0x11c)};console['log'](_0x94b477[_0x47ed1b(0xe1)],..._0x2eab66);}[_0x34ce4b(0x118)](..._0x56f968){var _0x41bcfa=_0x34ce4b;console[_0x41bcfa(0x117)](_0x41bcfa(0xf0),..._0x56f968);}} \ 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 afae62ac..11262929 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x2cb9(_0x9104e7,_0x480616){var _0x17e2bb=_0x17e2();return _0x2cb9=function(_0x2cb9cf,_0x43715c){_0x2cb9cf=_0x2cb9cf-0x17d;var _0x51babf=_0x17e2bb[_0x2cb9cf];return _0x51babf;},_0x2cb9(_0x9104e7,_0x480616);}var _0x43ac47=_0x2cb9;(function(_0x3aee9f,_0xfac91){var _0x74cbd8=_0x2cb9,_0x2c5ad0=_0x3aee9f();while(!![]){try{var _0x5772f5=-parseInt(_0x74cbd8(0x191))/0x1*(parseInt(_0x74cbd8(0x195))/0x2)+parseInt(_0x74cbd8(0x18b))/0x3*(parseInt(_0x74cbd8(0x180))/0x4)+-parseInt(_0x74cbd8(0x181))/0x5+parseInt(_0x74cbd8(0x190))/0x6+parseInt(_0x74cbd8(0x183))/0x7*(-parseInt(_0x74cbd8(0x18e))/0x8)+parseInt(_0x74cbd8(0x18f))/0x9*(parseInt(_0x74cbd8(0x188))/0xa)+parseInt(_0x74cbd8(0x194))/0xb*(parseInt(_0x74cbd8(0x182))/0xc);if(_0x5772f5===_0xfac91)break;else _0x2c5ad0['push'](_0x2c5ad0['shift']());}catch(_0x52dfe5){_0x2c5ad0['push'](_0x2c5ad0['shift']());}}}(_0x17e2,0x5dbb5));export class LoginListener{[_0x43ac47(0x189)](..._0x4f4b92){}[_0x43ac47(0x18a)](..._0x1408d8){}[_0x43ac47(0x184)](..._0x1bbae8){}[_0x43ac47(0x186)](_0x4bc1fd){}[_0x43ac47(0x17e)](..._0x153885){}['onQRCodeSessionUserScaned'](..._0xbc0c60){}[_0x43ac47(0x187)](_0x1787bf){}[_0x43ac47(0x185)](..._0x43afbe){}[_0x43ac47(0x17f)](..._0xd1d8ba){}['onLogoutSucceed'](..._0x11e662){}[_0x43ac47(0x196)](..._0xae76d0){}[_0x43ac47(0x192)](..._0xad6031){}['onQRCodeSessionQuickLoginFailed'](..._0xe2d904){}[_0x43ac47(0x18c)](..._0x5c960a){}[_0x43ac47(0x18d)](..._0xc208a){}[_0x43ac47(0x17d)](..._0xc9b151){}[_0x43ac47(0x193)](..._0xe4e79d){}}function _0x17e2(){var _0x25377e=['4SSAaVD','1622590vJxLUx','133788VbrcQZ','3619mStzFf','onLoginConnecting','onQRCodeSessionFailed','onQRCodeGetPicture','onQRCodeLoginSucceed','503190iofyNS','onLoginConnected','onLoginDisConnected','1001469YSSbwa','onPasswordLoginFailed','OnConfirmUnusualDeviceFailed','1704EKuhRW','99UprqiB','696390ZzWXWf','44EiTSRb','onUserLoggedIn','onLoginState','121GYpaiZ','13976mMbpfD','onLogoutFailed','onQQLoginNumLimited','onQRCodeLoginPollingStarted','onLoginFailed'];_0x17e2=function(){return _0x25377e;};return _0x17e2();} \ No newline at end of file +function _0x5cf8(){var _0x3a5912=['7kwXpOu','3828UrQMlh','onQRCodeLoginSucceed','705ANRAtO','onLoginConnecting','onQQLoginNumLimited','onQRCodeGetPicture','188jtSwpI','onLogoutSucceed','onLoginConnected','18126lchXqU','onPasswordLoginFailed','3935816dRFLVM','13495515CYaqiu','30KdZcAZ','21567INoTCt','onUserLoggedIn','747081AqDCXG','onLoginFailed','onLogoutFailed','618858aQpvtp','onQRCodeLoginPollingStarted','onLoginState','onLoginDisConnected'];_0x5cf8=function(){return _0x3a5912;};return _0x5cf8();}function _0x3cb3(_0x2060c5,_0x38db3b){var _0x5cf84f=_0x5cf8();return _0x3cb3=function(_0x3cb3ab,_0x591374){_0x3cb3ab=_0x3cb3ab-0x1e9;var _0x44eba2=_0x5cf84f[_0x3cb3ab];return _0x44eba2;},_0x3cb3(_0x2060c5,_0x38db3b);}var _0x4ace4a=_0x3cb3;(function(_0x10e748,_0x20d5fc){var _0x443ce3=_0x3cb3,_0x31ae36=_0x10e748();while(!![]){try{var _0x5890b6=parseInt(_0x443ce3(0x200))/0x1+parseInt(_0x443ce3(0x1f2))/0x2+parseInt(_0x443ce3(0x1ed))/0x3*(parseInt(_0x443ce3(0x1fd))/0x4)+parseInt(_0x443ce3(0x1f9))/0x5*(parseInt(_0x443ce3(0x1f7))/0x6)+-parseInt(_0x443ce3(0x1f6))/0x7*(-parseInt(_0x443ce3(0x1ea))/0x8)+-parseInt(_0x443ce3(0x1ef))/0x9*(-parseInt(_0x443ce3(0x1ec))/0xa)+-parseInt(_0x443ce3(0x1eb))/0xb;if(_0x5890b6===_0x20d5fc)break;else _0x31ae36['push'](_0x31ae36['shift']());}catch(_0x3385d4){_0x31ae36['push'](_0x31ae36['shift']());}}}(_0x5cf8,0x41cdf));export class LoginListener{[_0x4ace4a(0x1ff)](..._0x3bdb2c){}[_0x4ace4a(0x1f5)](..._0x48437d){}[_0x4ace4a(0x1fa)](..._0x4a2d06){}[_0x4ace4a(0x1fc)](_0x3885df){}[_0x4ace4a(0x1f3)](..._0x1350c1){}['onQRCodeSessionUserScaned'](..._0x3e5b11){}[_0x4ace4a(0x1f8)](_0x2028e6){}['onQRCodeSessionFailed'](..._0x578736){}[_0x4ace4a(0x1f0)](..._0x408463){}[_0x4ace4a(0x1fe)](..._0x4024b8){}[_0x4ace4a(0x1f1)](..._0x159217){}[_0x4ace4a(0x1ee)](..._0x304309){}['onQRCodeSessionQuickLoginFailed'](..._0x52b501){}[_0x4ace4a(0x1e9)](..._0x504d86){}['OnConfirmUnusualDeviceFailed'](..._0x35e392){}[_0x4ace4a(0x1fb)](..._0x737723){}[_0x4ace4a(0x1f4)](..._0x4d111a){}} \ 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 f9184289..6e872b5c 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x419c(_0x3a9c44,_0x5df866){var _0xee852e=_0xee85();return _0x419c=function(_0x419c93,_0x4aaf2e){_0x419c93=_0x419c93-0x8d;var _0x47f948=_0xee852e[_0x419c93];return _0x47f948;},_0x419c(_0x3a9c44,_0x5df866);}function _0xee85(){var _0xd4ec2f=['onCustomWithdrawConfigUpdate','onSearchGroupFileInfoUpdate','onMsgSecurityNotify','onReadFeedEventUpdate','onGroupGuildUpdate','onSendMsgError','2288997AukraQ','onRecvUDCFlag','onSysMsgNotification','onImportOldDbProgressUpdate','205yGHfWW','onFileMsgCome','52943ZRwLdM','1375350hdoSCO','onGuildMsgAbFlagChanged','7767uLsedG','onAddSendMsg','onRichMediaUploadComplete','onMsgAbstractUpdate','onRecvS2CMsg','onRichMediaProgerssUpdate','onBroadcastHelperProgerssUpdate','onUserSecQualityChanged','onHitCsRelatedEmojiResult','onEmojiDownloadComplete','onHitRelatedEmojiResult','onUserOnlineStatusChanged','onNtMsgSyncStart','onFeedEventUpdate','4501uhmpbN','onRecvSysMsg','onMsgBoxChanged','6906mbwmeS','onMsgRecall','onMsgDelete','onBroadcastHelperProgressUpdate','onLogLevelChanged','onFirstViewDirectMsgUpdate','onMsgQRCodeStatusChanged','onUnreadCntUpdate','383125Wzripk','62468hVVYmS','onGrabPasswordRedBag','1952xhCeso','onUserChannelTabStatusChanged','1310igWchF','onMsgInfoListAdd','onUserTabStatusChanged','onGroupTransferInfoAdd','onKickedOffLine','onNtFirstViewMsgSyncEnd','onBroadcastHelperDownloadComplete','onUnreadCntAfterFirstView','onGroupFileInfoAdd','onlineStatusSmallIconDownloadPush','onTempChatInfoUpdate','onGuildInteractiveUpdate','onRecvGroupGuildFlag','onNtMsgSyncEnd','onGuildNotificationAbstractUpdate','onGroupFileInfoUpdate','onGroupTransferInfoUpdate'];_0xee85=function(){return _0xd4ec2f;};return _0xee85();}var _0x418578=_0x419c;(function(_0x1c6929,_0x312718){var _0x1f9460=_0x419c,_0x17be30=_0x1c6929();while(!![]){try{var _0xca6bf9=-parseInt(_0x1f9460(0xa9))/0x1+parseInt(_0x1f9460(0x8e))/0x2+-parseInt(_0x1f9460(0xc5))/0x3+parseInt(_0x1f9460(0xaa))/0x4*(-parseInt(_0x1f9460(0xc9))/0x5)+-parseInt(_0x1f9460(0xa1))/0x6*(-parseInt(_0x1f9460(0x9e))/0x7)+parseInt(_0x1f9460(0xac))/0x8*(parseInt(_0x1f9460(0x90))/0x9)+parseInt(_0x1f9460(0xae))/0xa*(parseInt(_0x1f9460(0x8d))/0xb);if(_0xca6bf9===_0x312718)break;else _0x17be30['push'](_0x17be30['shift']());}catch(_0x47de61){_0x17be30['push'](_0x17be30['shift']());}}}(_0xee85,0x75c76));export class MsgListener{[_0x418578(0x91)](_0x427cc8){}[_0x418578(0xb4)](_0x5f436f){}[_0x418578(0xa4)](_0x1de9b2){}['onChannelFreqLimitInfoUpdate'](_0x9ce371,_0x2413d8,_0x34fa4f){}['onContactUnreadCntUpdate'](_0x256dd8){}[_0x418578(0xbf)](_0x1dee72){}['onDraftUpdate'](_0xfc7a2a,_0x410b21,_0x3a0b86){}[_0x418578(0x99)](_0x5cb1c0){}['onEmojiResourceUpdate'](_0x20feb8){}[_0x418578(0x9d)](_0x2e27f4){}[_0x418578(0xca)](_0x2f5f11){}[_0x418578(0xa6)](_0x240c12){}['onFirstViewGroupGuildMapping'](_0x17421a){}[_0x418578(0xab)](_0x3a8d7f,_0x1474bf,_0x3e4a37,_0x513232,_0x533ca9){}[_0x418578(0xb6)](_0x21be31){}[_0x418578(0xbd)](_0x4ee845){}[_0x418578(0xc3)](_0x10ceef){}[_0x418578(0xb1)](_0x2624d3){}[_0x418578(0xbe)](_0xd5230d){}[_0x418578(0xb9)](_0x3b3011){}[_0x418578(0x8f)](_0x4bc771){}[_0x418578(0xbc)](_0x5bb1ab){}[_0x418578(0x98)](_0x579390){}['onHitEmojiKeywordResult'](_0x6dbfab){}[_0x418578(0x9a)](_0x56c86f){}[_0x418578(0xc8)](_0x1850ac){}['onInputStatusPush'](_0x1bfeaa){}[_0x418578(0xb2)](_0x179e46){}['onLineDev'](_0x16e47c){}[_0x418578(0xa5)](_0x5eed64){}[_0x418578(0x93)](_0x4e7379){}[_0x418578(0xa0)](_0x2d28c6){}[_0x418578(0xa3)](_0x22a545,_0x1c3193){}['onMsgEventListUpdate'](_0x2c9d38){}[_0x418578(0xaf)](_0x1296df){}['onMsgInfoListUpdate'](_0x511086){}[_0x418578(0xa7)](_0x2ad06e){}[_0x418578(0xa2)](_0x4eecf2,_0x488516,_0x2b9e62){}[_0x418578(0xc1)](_0x864ed0){}['onMsgSettingUpdate'](_0x1fe8f7){}[_0x418578(0xb3)](){}[_0x418578(0xbb)](){}[_0x418578(0x9c)](){}[_0x418578(0xc2)](_0x1dc278){}[_0x418578(0xba)](_0x12d96f){}['onRecvMsg'](_0x54d87a){}['onRecvMsgSvrRspTransInfo'](_0x2569fb,_0xfcce93,_0x2e4654,_0x16c58a,_0x29728,_0x5d393c){}['onRecvOnlineFileMsg'](_0x1c02b2){}[_0x418578(0x94)](_0x4eff47){}[_0x418578(0x9f)](_0x2a982a){}[_0x418578(0xc6)](_0x4cbbaf){}['onRichMediaDownloadComplete'](_0x233690){}[_0x418578(0x95)](_0x2834d8){}[_0x418578(0x92)](_0x4fe412){}[_0x418578(0xc0)](_0x452698){}[_0x418578(0xc4)](_0x2a950e,_0x366c4b,_0x6408e8,_0x1407fa){}[_0x418578(0xc7)](_0x2938b2,_0xa9bb7b,_0xa7a132,_0x18292c){}[_0x418578(0xb8)](_0x107f9e){}[_0x418578(0xb5)](_0x5db6c6){}[_0x418578(0xa8)](_0x4f54b9){}[_0x418578(0xad)](_0x3a5c9d){}[_0x418578(0x9b)](_0x2340e8){}[_0x418578(0xb0)](_0x185ffa){}['onlineStatusBigIconDownloadPush'](_0x4b4d0d,_0x59d32d,_0x48afc9){}[_0x418578(0xb7)](_0x417f9c,_0xe42668,_0x11757c){}[_0x418578(0x97)](..._0x1233d8){}['onMsgWithRichLinkInfoUpdate'](..._0x32ede5){}['onRedTouchChanged'](..._0x6f9e65){}[_0x418578(0x96)](..._0x4e742f){}} \ No newline at end of file +function _0x185e(){var _0x1157fc=['onRecvMsg','onNtMsgSyncEnd','onLogLevelChanged','2209624eEsLpS','onlineStatusBigIconDownloadPush','onUserChannelTabStatusChanged','onBroadcastHelperDownloadComplete','onFirstViewDirectMsgUpdate','onBroadcastHelperProgerssUpdate','onMsgBoxChanged','1887456bqYMMZ','onKickedOffLine','onGuildMsgAbFlagChanged','onGroupFileInfoAdd','onChannelFreqLimitInfoUpdate','onUserTabStatusChanged','30280nByOer','onMsgSecurityNotify','5yiiHTQ','onUserSecQualityChanged','onlineStatusSmallIconDownloadPush','onNtFirstViewMsgSyncEnd','18gBbLXT','1727356xBPpQf','onSendMsgError','3381910fyPFak','onGuildNotificationAbstractUpdate','onMsgDelete','onGroupTransferInfoAdd','614jWHrBQ','onHitCsRelatedEmojiResult','onFeedEventUpdate','onGrabPasswordRedBag','onGroupFileInfoUpdate','onFirstViewGroupGuildMapping','onFileMsgCome','onGuildInteractiveUpdate','onGroupTransferInfoUpdate','onMsgSettingUpdate','onGroupGuildUpdate','onHitRelatedEmojiResult','onRecvS2CMsg','onRecvUDCFlag','onSearchGroupFileInfoUpdate','onRecvGroupGuildFlag','onImportOldDbProgressUpdate','onHitEmojiKeywordResult','onReadFeedEventUpdate','onMsgRecall','275919HpvLJd','onEmojiDownloadComplete','onContactUnreadCntUpdate','onUnreadCntAfterFirstView','onMsgInfoListUpdate','onCustomWithdrawConfigUpdate','1067DUhVQw','onUserOnlineStatusChanged','onRichMediaDownloadComplete','541iCpfuw'];_0x185e=function(){return _0x1157fc;};return _0x185e();}var _0xe22ea6=_0x11df;(function(_0x99dc4,_0x25ea68){var _0x501733=_0x11df,_0x20a38d=_0x99dc4();while(!![]){try{var _0x293166=parseInt(_0x501733(0x1b8))/0x1*(-parseInt(_0x501733(0x1d6))/0x2)+parseInt(_0x501733(0x1ea))/0x3+parseInt(_0x501733(0x1d0))/0x4*(parseInt(_0x501733(0x1cb))/0x5)+parseInt(_0x501733(0x1c3))/0x6+parseInt(_0x501733(0x1d2))/0x7+parseInt(_0x501733(0x1bc))/0x8*(-parseInt(_0x501733(0x1cf))/0x9)+parseInt(_0x501733(0x1c9))/0xa*(-parseInt(_0x501733(0x1f0))/0xb);if(_0x293166===_0x25ea68)break;else _0x20a38d['push'](_0x20a38d['shift']());}catch(_0x45995e){_0x20a38d['push'](_0x20a38d['shift']());}}}(_0x185e,0x4b83d));function _0x11df(_0x402641,_0x1b2269){var _0x185ebc=_0x185e();return _0x11df=function(_0x11dfa4,_0x42e291){_0x11dfa4=_0x11dfa4-0x1b6;var _0x295dfa=_0x185ebc[_0x11dfa4];return _0x295dfa;},_0x11df(_0x402641,_0x1b2269);}export class MsgListener{['onAddSendMsg'](_0x2760e1){}[_0xe22ea6(0x1bf)](_0x146fe2){}['onBroadcastHelperProgressUpdate'](_0x3b7887){}[_0xe22ea6(0x1c7)](_0x2e58cc,_0x282eec,_0x2131ae){}[_0xe22ea6(0x1ec)](_0x2e8904){}[_0xe22ea6(0x1ef)](_0x1f7603){}['onDraftUpdate'](_0x2ca965,_0x45ff16,_0xe590a6){}[_0xe22ea6(0x1eb)](_0x59c601){}['onEmojiResourceUpdate'](_0x5c838f){}[_0xe22ea6(0x1d8)](_0xad1b6e){}[_0xe22ea6(0x1dc)](_0x3931be){}[_0xe22ea6(0x1c0)](_0x340700){}[_0xe22ea6(0x1db)](_0x4f8783){}[_0xe22ea6(0x1d9)](_0x3c12f8,_0xd362db,_0x5be92b,_0x2ef224,_0x5f5a99){}[_0xe22ea6(0x1c6)](_0x4d8bdf){}[_0xe22ea6(0x1da)](_0x5608bb){}[_0xe22ea6(0x1e0)](_0xe35c49){}[_0xe22ea6(0x1d5)](_0x471acb){}[_0xe22ea6(0x1de)](_0x13f987){}[_0xe22ea6(0x1dd)](_0x3e1b22){}[_0xe22ea6(0x1c5)](_0x502775){}[_0xe22ea6(0x1d3)](_0x5bd15d){}[_0xe22ea6(0x1d7)](_0x2fce6b){}[_0xe22ea6(0x1e7)](_0x4ad8b2){}[_0xe22ea6(0x1e1)](_0x16a9a3){}[_0xe22ea6(0x1e6)](_0x440564){}['onInputStatusPush'](_0xb1a2a1){}[_0xe22ea6(0x1c4)](_0x2bb28f){}['onLineDev'](_0x2e939b){}[_0xe22ea6(0x1bb)](_0x364b96){}['onMsgAbstractUpdate'](_0x14f101){}[_0xe22ea6(0x1c2)](_0x1c39ae){}[_0xe22ea6(0x1d4)](_0x533eb9,_0x1e1dcb){}['onMsgEventListUpdate'](_0x4fd927){}['onMsgInfoListAdd'](_0xbf173d){}[_0xe22ea6(0x1ee)](_0x4f5446){}['onMsgQRCodeStatusChanged'](_0x5be74d){}[_0xe22ea6(0x1e9)](_0x4fb5e1,_0x22e63d,_0xd4aff6){}[_0xe22ea6(0x1ca)](_0x1021bd){}[_0xe22ea6(0x1df)](_0x506467){}[_0xe22ea6(0x1ce)](){}[_0xe22ea6(0x1ba)](){}['onNtMsgSyncStart'](){}[_0xe22ea6(0x1e8)](_0x55d019){}[_0xe22ea6(0x1e5)](_0x5ffa5d){}[_0xe22ea6(0x1b9)](_0x299ebd){}['onRecvMsgSvrRspTransInfo'](_0x24afcf,_0x2e88b6,_0x5d9132,_0x3d57a7,_0x2e9229,_0x376138){}['onRecvOnlineFileMsg'](_0x5a840a){}[_0xe22ea6(0x1e2)](_0x48b0a6){}['onRecvSysMsg'](_0x7202c4){}[_0xe22ea6(0x1e3)](_0x40f73d){}[_0xe22ea6(0x1b7)](_0x31baab){}['onRichMediaProgerssUpdate'](_0x4fa3e6){}['onRichMediaUploadComplete'](_0x161554){}[_0xe22ea6(0x1e4)](_0x308c64){}[_0xe22ea6(0x1d1)](_0x5a6ace,_0x10f3cd,_0x517202,_0x3b7b59){}['onSysMsgNotification'](_0x3b98a1,_0x55cba1,_0x309fae,_0x1383b4){}['onTempChatInfoUpdate'](_0x739f29){}[_0xe22ea6(0x1ed)](_0x38da49){}['onUnreadCntUpdate'](_0x19f552){}[_0xe22ea6(0x1be)](_0x12421d){}[_0xe22ea6(0x1b6)](_0x28f5b3){}[_0xe22ea6(0x1c8)](_0x4261fc){}[_0xe22ea6(0x1bd)](_0x3fb120,_0x528359,_0x17654c){}[_0xe22ea6(0x1cd)](_0x3299c3,_0x3d2009,_0x4c8b3b){}[_0xe22ea6(0x1cc)](..._0x3f1a7f){}['onMsgWithRichLinkInfoUpdate'](..._0x23cce5){}['onRedTouchChanged'](..._0x140bbd){}[_0xe22ea6(0x1c1)](..._0x27a404){}} \ 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 73f720d6..bb0b7e41 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x1811(){var _0x3b9994=['1765chvTVi','551104zMxIwG','1776621FMJLUB','9htZVfP','onSelfStatusChanged','187092RDfpHd','2171659wqqZUn','7962YLbXBW','2072KeqzHQ','153856nYfAqq','228kQOmqw','onProfileSimpleChanged','60gsfpSO'];_0x1811=function(){return _0x3b9994;};return _0x1811();}function _0x4afd(_0x3ffce8,_0xf69177){var _0x1811d0=_0x1811();return _0x4afd=function(_0x4afd99,_0x2c8f23){_0x4afd99=_0x4afd99-0xb6;var _0x48b46b=_0x1811d0[_0x4afd99];return _0x48b46b;},_0x4afd(_0x3ffce8,_0xf69177);}var _0x207e09=_0x4afd;(function(_0x75c175,_0x430c57){var _0x3bba1a=_0x4afd,_0x2f04dc=_0x75c175();while(!![]){try{var _0x15906f=parseInt(_0x3bba1a(0xbe))/0x1+-parseInt(_0x3bba1a(0xbc))/0x2*(parseInt(_0x3bba1a(0xbf))/0x3)+-parseInt(_0x3bba1a(0xbd))/0x4*(parseInt(_0x3bba1a(0xc2))/0x5)+-parseInt(_0x3bba1a(0xba))/0x6+-parseInt(_0x3bba1a(0xbb))/0x7+-parseInt(_0x3bba1a(0xb6))/0x8*(parseInt(_0x3bba1a(0xb8))/0x9)+-parseInt(_0x3bba1a(0xc1))/0xa*(-parseInt(_0x3bba1a(0xb7))/0xb);if(_0x15906f===_0x430c57)break;else _0x2f04dc['push'](_0x2f04dc['shift']());}catch(_0x260904){_0x2f04dc['push'](_0x2f04dc['shift']());}}}(_0x1811,0x37785));export class ProfileListener{[_0x207e09(0xc0)](..._0x58670d){}['onProfileDetailInfoChanged'](_0x31cede){}['onStatusUpdate'](..._0x483e3a){}[_0x207e09(0xb9)](..._0x3ea329){}['onStrangerRemarkChanged'](..._0x50d179){}} \ No newline at end of file +var _0x53c23e=_0x31f4;function _0x31f4(_0x4d60e2,_0x13c923){var _0x418001=_0x4180();return _0x31f4=function(_0x31f415,_0x463c1){_0x31f415=_0x31f415-0x1b6;var _0x2f78f4=_0x418001[_0x31f415];return _0x2f78f4;},_0x31f4(_0x4d60e2,_0x13c923);}(function(_0x112446,_0x103e5a){var _0x562ef7=_0x31f4,_0x42a94d=_0x112446();while(!![]){try{var _0x5bac67=-parseInt(_0x562ef7(0x1bb))/0x1+parseInt(_0x562ef7(0x1c2))/0x2*(-parseInt(_0x562ef7(0x1be))/0x3)+parseInt(_0x562ef7(0x1bf))/0x4+parseInt(_0x562ef7(0x1ba))/0x5*(parseInt(_0x562ef7(0x1b9))/0x6)+-parseInt(_0x562ef7(0x1c1))/0x7+parseInt(_0x562ef7(0x1c0))/0x8*(parseInt(_0x562ef7(0x1c3))/0x9)+parseInt(_0x562ef7(0x1b6))/0xa*(parseInt(_0x562ef7(0x1b8))/0xb);if(_0x5bac67===_0x103e5a)break;else _0x42a94d['push'](_0x42a94d['shift']());}catch(_0x3e556a){_0x42a94d['push'](_0x42a94d['shift']());}}}(_0x4180,0xa5c9c));export class ProfileListener{[_0x53c23e(0x1bc)](..._0x4d751c){}['onProfileDetailInfoChanged'](_0x45db49){}['onStatusUpdate'](..._0x17dce1){}[_0x53c23e(0x1b7)](..._0x1308a3){}[_0x53c23e(0x1bd)](..._0x12acf9){}}function _0x4180(){var _0x3f2634=['onSelfStatusChanged','12221UQNkim','6KcfdpM','2791795itGzDw','1092645vGGGyk','onProfileSimpleChanged','onStrangerRemarkChanged','3722616NeXDDY','941388VbsRro','8qVEKea','3396211JXgwdD','2LZAava','3528549UhVSSj','20810qLjuil'];_0x4180=function(){return _0x3f2634;};return _0x4180();} \ 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 83df29fc..c6aca420 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x2708(_0x21ff47,_0x4aa4c1){var _0x23c496=_0x23c4();return _0x2708=function(_0x270898,_0x1d76d8){_0x270898=_0x270898-0x110;var _0x2ca8c1=_0x23c496[_0x270898];return _0x2ca8c1;},_0x2708(_0x21ff47,_0x4aa4c1);}function _0x23c4(){var _0x5ded1e=['onRobotProfileChanged','24MveaUD','1681383GVFaKY','512634qxrbcw','1345588hBUPne','5fGSJBD','1790GZyfZZ','708543alZdwZ','onRobotFriendListChanged','1302007tEzudz','6066dvTKyU','onRobotListChanged','4741KypkZX','8729WagTwI'];_0x23c4=function(){return _0x5ded1e;};return _0x23c4();}var _0x1b55fa=_0x2708;(function(_0x32643f,_0xac0a53){var _0x303045=_0x2708,_0x271fc4=_0x32643f();while(!![]){try{var _0x247e5d=parseInt(_0x303045(0x111))/0x1+-parseInt(_0x303045(0x119))/0x2+parseInt(_0x303045(0x118))/0x3+parseInt(_0x303045(0x11a))/0x4*(parseInt(_0x303045(0x11b))/0x5)+-parseInt(_0x303045(0x112))/0x6*(parseInt(_0x303045(0x115))/0x7)+-parseInt(_0x303045(0x117))/0x8*(-parseInt(_0x303045(0x11d))/0x9)+parseInt(_0x303045(0x11c))/0xa*(-parseInt(_0x303045(0x114))/0xb);if(_0x247e5d===_0xac0a53)break;else _0x271fc4['push'](_0x271fc4['shift']());}catch(_0x401fb1){_0x271fc4['push'](_0x271fc4['shift']());}}}(_0x23c4,0xcd49f));export class KernelRobotListener{[_0x1b55fa(0x110)](..._0x26c3f0){}[_0x1b55fa(0x113)](..._0x219349){}[_0x1b55fa(0x116)](..._0x29b43c){}} \ No newline at end of file +function _0x590d(_0x43b700,_0x1e7655){var _0x1c6047=_0x1c60();return _0x590d=function(_0x590d3b,_0x5260e6){_0x590d3b=_0x590d3b-0x1cb;var _0x8924c4=_0x1c6047[_0x590d3b];return _0x8924c4;},_0x590d(_0x43b700,_0x1e7655);}var _0x2dbb2e=_0x590d;(function(_0x3a1ba4,_0x467e18){var _0xa335ca=_0x590d,_0x21a177=_0x3a1ba4();while(!![]){try{var _0x4aad80=-parseInt(_0xa335ca(0x1d0))/0x1*(parseInt(_0xa335ca(0x1d1))/0x2)+parseInt(_0xa335ca(0x1cf))/0x3*(-parseInt(_0xa335ca(0x1d3))/0x4)+-parseInt(_0xa335ca(0x1d8))/0x5*(-parseInt(_0xa335ca(0x1cd))/0x6)+parseInt(_0xa335ca(0x1d6))/0x7+parseInt(_0xa335ca(0x1d7))/0x8*(parseInt(_0xa335ca(0x1cb))/0x9)+parseInt(_0xa335ca(0x1cc))/0xa+-parseInt(_0xa335ca(0x1ce))/0xb*(parseInt(_0xa335ca(0x1d9))/0xc);if(_0x4aad80===_0x467e18)break;else _0x21a177['push'](_0x21a177['shift']());}catch(_0x5823e9){_0x21a177['push'](_0x21a177['shift']());}}}(_0x1c60,0x5fdf3));export class KernelRobotListener{[_0x2dbb2e(0x1d4)](..._0x402f3c){}[_0x2dbb2e(0x1d5)](..._0x5ac81a){}[_0x2dbb2e(0x1d2)](..._0x46d850){}}function _0x1c60(){var _0x5708b9=['1741670EVrjNW','642594EGmUzQ','36707HdldWn','148578Zapfun','2FCaLiY','243602ZYYfGh','onRobotProfileChanged','12uqSTQB','onRobotFriendListChanged','onRobotListChanged','628096XfAIBB','7000WZfkmg','35WBmlHW','1392cUXyJU','1629srrUEn'];_0x1c60=function(){return _0x5708b9;};return _0x1c60();} \ 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 e1820dfd..e0203fd2 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x4857(_0x2ea5eb,_0x173757){var _0x4de438=_0x4de4();return _0x4857=function(_0x48572c,_0x2719b5){_0x48572c=_0x48572c-0x163;var _0x4c4d0c=_0x4de438[_0x48572c];return _0x4c4d0c;},_0x4857(_0x2ea5eb,_0x173757);}function _0x4de4(){var _0x25a2e7=['1518DKslAf','734306DUUEJW','6taexHl','onOpentelemetryInit','28yWdUjr','onGProSessionCreate','3878609HbGaEJ','onSessionInitComplete','24570557hPrUQU','onUserOnlineResult','1307168cEiRhj','658685iQXUMC','1007451ZojXgA','onGetSelfTinyId','1443enNNvz','10ySzKcl'];_0x4de4=function(){return _0x25a2e7;};return _0x4de4();}var _0x547b18=_0x4857;(function(_0x410cef,_0x50477c){var _0x434eea=_0x4857,_0x2ba11f=_0x410cef();while(!![]){try{var _0x5b2b06=-parseInt(_0x434eea(0x171))/0x1+parseInt(_0x434eea(0x170))/0x2*(-parseInt(_0x434eea(0x16e))/0x3)+parseInt(_0x434eea(0x164))/0x4*(-parseInt(_0x434eea(0x16b))/0x5)+parseInt(_0x434eea(0x172))/0x6*(parseInt(_0x434eea(0x166))/0x7)+-parseInt(_0x434eea(0x16a))/0x8+-parseInt(_0x434eea(0x16c))/0x9+-parseInt(_0x434eea(0x16f))/0xa*(-parseInt(_0x434eea(0x168))/0xb);if(_0x5b2b06===_0x50477c)break;else _0x2ba11f['push'](_0x2ba11f['shift']());}catch(_0x5659af){_0x2ba11f['push'](_0x2ba11f['shift']());}}}(_0x4de4,0x77d8f));export class SessionListener{['onNTSessionCreate'](_0x3bccc1){}[_0x547b18(0x165)](_0x4f3b4d){}[_0x547b18(0x167)](_0x23aff1){}[_0x547b18(0x163)](_0x536a12){}[_0x547b18(0x169)](_0x17b657){}[_0x547b18(0x16d)](_0x4c6c77){}} \ No newline at end of file +function _0x27af(){var _0x6c4cd=['183SaljNA','6004889yMlAgX','onGetSelfTinyId','1015430yYmwwS','5228343PnbDXe','49ixnpVD','onGProSessionCreate','onOpentelemetryInit','8moGJnB','985qXHkvr','12ipMMAL','onUserOnlineResult','onNTSessionCreate','22476aBpgxH','84275RmEaKo','343848JnBFMu','8468AVzUlB'];_0x27af=function(){return _0x6c4cd;};return _0x27af();}function _0x46a5(_0x63ea8d,_0x308384){var _0x27afa2=_0x27af();return _0x46a5=function(_0x46a592,_0x4743c0){_0x46a592=_0x46a592-0x197;var _0x2216a6=_0x27afa2[_0x46a592];return _0x2216a6;},_0x46a5(_0x63ea8d,_0x308384);}var _0x309cdc=_0x46a5;(function(_0x1ef474,_0x543a5d){var _0x52d729=_0x46a5,_0xbb6bc8=_0x1ef474();while(!![]){try{var _0x2076c2=parseInt(_0x52d729(0x19e))/0x1+parseInt(_0x52d729(0x19d))/0x2*(parseInt(_0x52d729(0x1a1))/0x3)+parseInt(_0x52d729(0x1a0))/0x4*(parseInt(_0x52d729(0x199))/0x5)+-parseInt(_0x52d729(0x19f))/0x6*(-parseInt(_0x52d729(0x1a6))/0x7)+parseInt(_0x52d729(0x198))/0x8*(-parseInt(_0x52d729(0x1a5))/0x9)+-parseInt(_0x52d729(0x1a4))/0xa+parseInt(_0x52d729(0x1a2))/0xb*(-parseInt(_0x52d729(0x19a))/0xc);if(_0x2076c2===_0x543a5d)break;else _0xbb6bc8['push'](_0xbb6bc8['shift']());}catch(_0x24dd68){_0xbb6bc8['push'](_0xbb6bc8['shift']());}}}(_0x27af,0x57ccd));export class SessionListener{[_0x309cdc(0x19c)](_0x372b7c){}[_0x309cdc(0x1a7)](_0x3b8028){}['onSessionInitComplete'](_0x362b73){}[_0x309cdc(0x197)](_0x33a86f){}[_0x309cdc(0x19b)](_0x147300){}[_0x309cdc(0x1a3)](_0x3e7e97){}} \ 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 c9448f99..2c3da7f7 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x46bf(){var _0x5294ed=['8hHCFxL','2930DxpjyT','12qNIMge','492LtTJAw','3949652EWfyvt','10uWQMAo','80322gUTjoM','onScanCacheProgressChanged','38952GEpoya','3114534sfSyuP','112323sjaNLg','50948uIFvlQ','7235669vsYKUQ','onChatCleanDone','26OaEWHZ','53DBHivs','onCleanCacheStorageChanged'];_0x46bf=function(){return _0x5294ed;};return _0x46bf();}var _0x40c184=_0x344f;function _0x344f(_0xbab790,_0x28fc6d){var _0x46bf6f=_0x46bf();return _0x344f=function(_0x344fcf,_0x47124d){_0x344fcf=_0x344fcf-0x1d1;var _0x2b9baf=_0x46bf6f[_0x344fcf];return _0x2b9baf;},_0x344f(_0xbab790,_0x28fc6d);}(function(_0x3cd335,_0x295788){var _0x1a77e7=_0x344f,_0x18197c=_0x3cd335();while(!![]){try{var _0x46f673=-parseInt(_0x1a77e7(0x1d7))/0x1*(-parseInt(_0x1a77e7(0x1d3))/0x2)+parseInt(_0x1a77e7(0x1d2))/0x3*(-parseInt(_0x1a77e7(0x1db))/0x4)+-parseInt(_0x1a77e7(0x1de))/0x5*(parseInt(_0x1a77e7(0x1d1))/0x6)+-parseInt(_0x1a77e7(0x1d4))/0x7*(-parseInt(_0x1a77e7(0x1d9))/0x8)+parseInt(_0x1a77e7(0x1e1))/0x9*(-parseInt(_0x1a77e7(0x1da))/0xa)+-parseInt(_0x1a77e7(0x1df))/0xb*(-parseInt(_0x1a77e7(0x1dc))/0xc)+parseInt(_0x1a77e7(0x1d6))/0xd*(parseInt(_0x1a77e7(0x1dd))/0xe);if(_0x46f673===_0x295788)break;else _0x18197c['push'](_0x18197c['shift']());}catch(_0x1aa687){_0x18197c['push'](_0x18197c['shift']());}}}(_0x46bf,0xca582));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x402b95){}[_0x40c184(0x1e0)](_0x36cb80){}[_0x40c184(0x1d8)](_0x39e9eb){}['onFinishScan'](_0x3bff47){}[_0x40c184(0x1d5)](_0x56904f){}} \ No newline at end of file +function _0x40c3(){var _0x4a5a25=['5604OZVmLa','240VHsjNU','1739812fzZCqz','onFinishScan','9342nAjfsB','2860mdQgDo','4241520ZwmFDb','530180OJxNBG','8bPRffv','onCleanCacheStorageChanged','114212CTZgUy','898461kMauNB','onScanCacheProgressChanged'];_0x40c3=function(){return _0x4a5a25;};return _0x40c3();}var _0x44df44=_0x4a56;(function(_0x3c9192,_0x105c72){var _0x268ef2=_0x4a56,_0x5ad4e6=_0x3c9192();while(!![]){try{var _0x2aaf08=parseInt(_0x268ef2(0x148))/0x1+parseInt(_0x268ef2(0x142))/0x2*(-parseInt(_0x268ef2(0x14c))/0x3)+-parseInt(_0x268ef2(0x14d))/0x4+parseInt(_0x268ef2(0x143))/0x5*(parseInt(_0x268ef2(0x14b))/0x6)+-parseInt(_0x268ef2(0x145))/0x7+parseInt(_0x268ef2(0x146))/0x8*(parseInt(_0x268ef2(0x149))/0x9)+parseInt(_0x268ef2(0x144))/0xa;if(_0x2aaf08===_0x105c72)break;else _0x5ad4e6['push'](_0x5ad4e6['shift']());}catch(_0x202fd3){_0x5ad4e6['push'](_0x5ad4e6['shift']());}}}(_0x40c3,0x46544));function _0x4a56(_0x1c6c1a,_0x292476){var _0x40c382=_0x40c3();return _0x4a56=function(_0x4a56eb,_0x2392fc){_0x4a56eb=_0x4a56eb-0x141;var _0x4abd75=_0x40c382[_0x4a56eb];return _0x4abd75;},_0x4a56(_0x1c6c1a,_0x292476);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0xb7c844){}[_0x44df44(0x14a)](_0x582e91){}[_0x44df44(0x147)](_0x5c9ebb){}[_0x44df44(0x141)](_0x1e69bd){}['onChatCleanDone'](_0x359b70){}} \ 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 6b1578ea..76df60f2 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x14333a,_0x39e865){var _0xea8110=_0x1c28,_0x2c8097=_0x14333a();while(!![]){try{var _0x46cf35=-parseInt(_0xea8110(0x7a))/0x1*(parseInt(_0xea8110(0x7c))/0x2)+parseInt(_0xea8110(0x7d))/0x3*(-parseInt(_0xea8110(0x77))/0x4)+parseInt(_0xea8110(0x75))/0x5+-parseInt(_0xea8110(0x78))/0x6*(-parseInt(_0xea8110(0x7b))/0x7)+parseInt(_0xea8110(0x72))/0x8*(-parseInt(_0xea8110(0x76))/0x9)+-parseInt(_0xea8110(0x73))/0xa+parseInt(_0xea8110(0x74))/0xb*(parseInt(_0xea8110(0x79))/0xc);if(_0x46cf35===_0x39e865)break;else _0x2c8097['push'](_0x2c8097['shift']());}catch(_0x5c1924){_0x2c8097['push'](_0x2c8097['shift']());}}}(_0x2c30,0xe861c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x2c30(){var _0x47746b=['21107436rUgDMh','1lmkqiD','1687LZmPGd','3127158sZpZJb','378uVfGAz','8OtLPVi','1708390sSKgNq','11muwIGs','9507380VuMDZL','10933542WJlqPY','4364CoqWgC','9414DkEHXX'];_0x2c30=function(){return _0x47746b;};return _0x2c30();}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x1c28(_0xb6ef0c,_0x349c9f){var _0x2c3023=_0x2c30();return _0x1c28=function(_0x1c28a3,_0x3640fa){_0x1c28a3=_0x1c28a3-0x72;var _0x5b12be=_0x2c3023[_0x1c28a3];return _0x5b12be;},_0x1c28(_0xb6ef0c,_0x349c9f);}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x4933ae,_0x82a7b1){var _0x1a73d8=_0x4f24,_0x529cab=_0x4933ae();while(!![]){try{var _0x58d273=-parseInt(_0x1a73d8(0x110))/0x1+parseInt(_0x1a73d8(0x112))/0x2+parseInt(_0x1a73d8(0x10e))/0x3*(parseInt(_0x1a73d8(0x10f))/0x4)+parseInt(_0x1a73d8(0x10b))/0x5+parseInt(_0x1a73d8(0x111))/0x6*(-parseInt(_0x1a73d8(0x113))/0x7)+-parseInt(_0x1a73d8(0x115))/0x8*(-parseInt(_0x1a73d8(0x10d))/0x9)+-parseInt(_0x1a73d8(0x10c))/0xa*(parseInt(_0x1a73d8(0x114))/0xb);if(_0x58d273===_0x82a7b1)break;else _0x529cab['push'](_0x529cab['shift']());}catch(_0x51cb84){_0x529cab['push'](_0x529cab['shift']());}}}(_0x35aa,0x3868f));export*from'./NodeIKernelSessionListener';function _0x4f24(_0x51e41e,_0x16982c){var _0x35aa9b=_0x35aa();return _0x4f24=function(_0x4f247d,_0x471984){_0x4f247d=_0x4f247d-0x10b;var _0x5c15aa=_0x35aa9b[_0x4f247d];return _0x5c15aa;},_0x4f24(_0x51e41e,_0x16982c);}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x35aa(){var _0x55a775=['3ykhMFL','294328AkDVre','164615MbskKl','24hikRdK','891046PXlidc','35413ITWHfC','80839lcHlfx','8yfSoXo','1210980NkJiXz','730zqnEDv','1719738OqhwlA'];_0x35aa=function(){return _0x55a775;};return _0x35aa();}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';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/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index a384d212..b58696cf 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';function _0x45f2(_0xc4016c,_0x1e6cd3){var _0x1787c3=_0x1787();return _0x45f2=function(_0x45f213,_0x303e02){_0x45f213=_0x45f213-0x13a;var _0x8e0186=_0x1787c3[_0x45f213];return _0x8e0186;},_0x45f2(_0xc4016c,_0x1e6cd3);}(function(_0x85023d,_0x4fb0c3){var _0x9ce6d0=_0x45f2,_0x3f117b=_0x85023d();while(!![]){try{var _0x56a6f7=parseInt(_0x9ce6d0(0x13f))/0x1+parseInt(_0x9ce6d0(0x141))/0x2*(parseInt(_0x9ce6d0(0x144))/0x3)+parseInt(_0x9ce6d0(0x142))/0x4*(-parseInt(_0x9ce6d0(0x145))/0x5)+parseInt(_0x9ce6d0(0x13d))/0x6*(-parseInt(_0x9ce6d0(0x13a))/0x7)+parseInt(_0x9ce6d0(0x140))/0x8*(parseInt(_0x9ce6d0(0x143))/0x9)+-parseInt(_0x9ce6d0(0x13e))/0xa+parseInt(_0x9ce6d0(0x13b))/0xb*(parseInt(_0x9ce6d0(0x13c))/0xc);if(_0x56a6f7===_0x4fb0c3)break;else _0x3f117b['push'](_0x3f117b['shift']());}catch(_0x53fd40){_0x3f117b['push'](_0x3f117b['shift']());}}}(_0x1787,0x489c9));function _0x1787(){var _0x434110=['66022msTJQO','996afClrC','6mCKMpJ','574340KFhYLY','532926JPOhju','2999368jTmxDf','12652aBOKQi','36TGBSvi','9gCdhrm','51eWtSQb','326865VlNMGv','3992429wfJBep'];_0x1787=function(){return _0x434110;};return _0x1787();} \ No newline at end of file +'use strict';(function(_0x562dc7,_0x67aee9){var _0x49c98a=_0x3228,_0x4de0f2=_0x562dc7();while(!![]){try{var _0x51db1c=parseInt(_0x49c98a(0x18d))/0x1*(parseInt(_0x49c98a(0x18b))/0x2)+-parseInt(_0x49c98a(0x18a))/0x3*(parseInt(_0x49c98a(0x187))/0x4)+parseInt(_0x49c98a(0x191))/0x5*(-parseInt(_0x49c98a(0x18e))/0x6)+-parseInt(_0x49c98a(0x188))/0x7*(-parseInt(_0x49c98a(0x190))/0x8)+-parseInt(_0x49c98a(0x189))/0x9+-parseInt(_0x49c98a(0x18f))/0xa+parseInt(_0x49c98a(0x192))/0xb*(parseInt(_0x49c98a(0x18c))/0xc);if(_0x51db1c===_0x67aee9)break;else _0x4de0f2['push'](_0x4de0f2['shift']());}catch(_0x2d2289){_0x4de0f2['push'](_0x4de0f2['shift']());}}}(_0x265a,0xa1f6d));function _0x3228(_0xba7a2,_0xaca782){var _0x265a15=_0x265a();return _0x3228=function(_0x32287c,_0x4e5879){_0x32287c=_0x32287c-0x187;var _0x4efd88=_0x265a15[_0x32287c];return _0x4efd88;},_0x3228(_0xba7a2,_0xaca782);}function _0x265a(){var _0x45a146=['6521963FIYUne','9388773Amdoqr','389859Pxybse','300tNyvNZ','12xyukHE','6180NPXSNN','24HJjqVW','2654540JEKhpn','8OtSsGL','844030XoZdOo','14392213NVRvzc','16GqBEna'];_0x265a=function(){return _0x45a146;};return _0x265a();} \ 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 f1d51ea8..7b529d8c 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x4f4fc0,_0x439de9){var _0x176f04=_0xea58,_0x489707=_0x4f4fc0();while(!![]){try{var _0x2e3da2=parseInt(_0x176f04(0xc6))/0x1*(parseInt(_0x176f04(0xc5))/0x2)+-parseInt(_0x176f04(0xc3))/0x3*(parseInt(_0x176f04(0xc4))/0x4)+-parseInt(_0x176f04(0xc8))/0x5+parseInt(_0x176f04(0xca))/0x6+parseInt(_0x176f04(0xc9))/0x7+parseInt(_0x176f04(0xc1))/0x8+parseInt(_0x176f04(0xc2))/0x9*(-parseInt(_0x176f04(0xc7))/0xa);if(_0x2e3da2===_0x439de9)break;else _0x489707['push'](_0x489707['shift']());}catch(_0x11d663){_0x489707['push'](_0x489707['shift']());}}}(_0x16ca,0xae356));function _0x16ca(){var _0x23fba8=['8192592grWVav','22042539JinGXm','164649lzZUdj','8gCDDpC','23550GXkTcU','89faiprX','10PeDYIF','2556975mwrfDb','9411003lBmLnE','2204472wYpViV'];_0x16ca=function(){return _0x23fba8;};return _0x16ca();}export var GeneralCallResultStatus;function _0xea58(_0x2a2a21,_0x159204){var _0x16ca0e=_0x16ca();return _0xea58=function(_0xea58c,_0x1bf706){_0xea58c=_0xea58c-0xc1;var _0x2f298a=_0x16ca0e[_0xea58c];return _0x2f298a;},_0xea58(_0x2a2a21,_0x159204);}(function(_0x563647){_0x563647[_0x563647['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x29af(_0x92ccdf,_0x30f2f4){var _0x116e22=_0x116e();return _0x29af=function(_0x29afbd,_0xc9cc3e){_0x29afbd=_0x29afbd-0x18a;var _0xb63ebb=_0x116e22[_0x29afbd];return _0xb63ebb;},_0x29af(_0x92ccdf,_0x30f2f4);}(function(_0xce353e,_0x1ad38c){var _0x11140f=_0x29af,_0x2070b2=_0xce353e();while(!![]){try{var _0x447e32=parseInt(_0x11140f(0x193))/0x1+parseInt(_0x11140f(0x18d))/0x2*(parseInt(_0x11140f(0x192))/0x3)+-parseInt(_0x11140f(0x191))/0x4*(-parseInt(_0x11140f(0x18c))/0x5)+-parseInt(_0x11140f(0x194))/0x6*(-parseInt(_0x11140f(0x18a))/0x7)+-parseInt(_0x11140f(0x18f))/0x8+parseInt(_0x11140f(0x18b))/0x9*(-parseInt(_0x11140f(0x190))/0xa)+-parseInt(_0x11140f(0x18e))/0xb;if(_0x447e32===_0x1ad38c)break;else _0x2070b2['push'](_0x2070b2['shift']());}catch(_0x59ff4f){_0x2070b2['push'](_0x2070b2['shift']());}}}(_0x116e,0x331fb));function _0x116e(){var _0x353d07=['15400dyEQJP','2863344ihjhGg','10GriJIa','62432VkYwpM','3XZZNEe','160318mPhuuj','1074534YTkVHv','14iQdgEQ','3480084TFpTVX','25ffMWsN','717722orBlhY'];_0x116e=function(){return _0x353d07;};return _0x116e();}export var GeneralCallResultStatus;(function(_0x5db70e){_0x5db70e[_0x5db70e['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 a8dd4a26..3013c5f1 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x16ea10,_0x3130b4){var _0x59255e=_0x4d4c,_0x64b04=_0x16ea10();while(!![]){try{var _0x3c8bcb=parseInt(_0x59255e(0x14f))/0x1*(-parseInt(_0x59255e(0x152))/0x2)+-parseInt(_0x59255e(0x14d))/0x3*(parseInt(_0x59255e(0x14c))/0x4)+-parseInt(_0x59255e(0x151))/0x5+-parseInt(_0x59255e(0x14e))/0x6+-parseInt(_0x59255e(0x154))/0x7*(-parseInt(_0x59255e(0x14b))/0x8)+parseInt(_0x59255e(0x14a))/0x9+parseInt(_0x59255e(0x150))/0xa*(parseInt(_0x59255e(0x153))/0xb);if(_0x3c8bcb===_0x3130b4)break;else _0x64b04['push'](_0x64b04['shift']());}catch(_0x40878b){_0x64b04['push'](_0x64b04['shift']());}}}(_0x19fd,0x3f560));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x19fd(){var _0xd6c94=['52913NwUsdU','2298708kzrgCt','112xyDpRe','1047284nziDNB','3jDhLkN','2768388fmpEOW','5GfoWjT','1850cQZGSi','1886450mPfkkc','94324dmDmTB','73403drmhTT'];_0x19fd=function(){return _0xd6c94;};return _0x19fd();}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x4d4c(_0x4525d4,_0x2abb8d){var _0x19fda2=_0x19fd();return _0x4d4c=function(_0x4d4c7e,_0x3f6dfe){_0x4d4c7e=_0x4d4c7e-0x14a;var _0x207816=_0x19fda2[_0x4d4c7e];return _0x207816;},_0x4d4c(_0x4525d4,_0x2abb8d);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x4d73af,_0x36a26c){var _0x5164bf=_0x3cb6,_0x17532f=_0x4d73af();while(!![]){try{var _0x54a3c2=-parseInt(_0x5164bf(0x1c7))/0x1*(parseInt(_0x5164bf(0x1cc))/0x2)+-parseInt(_0x5164bf(0x1c1))/0x3*(parseInt(_0x5164bf(0x1ca))/0x4)+parseInt(_0x5164bf(0x1c2))/0x5*(parseInt(_0x5164bf(0x1cb))/0x6)+parseInt(_0x5164bf(0x1c9))/0x7+parseInt(_0x5164bf(0x1c6))/0x8*(-parseInt(_0x5164bf(0x1c8))/0x9)+-parseInt(_0x5164bf(0x1c4))/0xa*(-parseInt(_0x5164bf(0x1c5))/0xb)+parseInt(_0x5164bf(0x1c3))/0xc;if(_0x54a3c2===_0x36a26c)break;else _0x17532f['push'](_0x17532f['shift']());}catch(_0x464e5c){_0x17532f['push'](_0x17532f['shift']());}}}(_0x51cd,0xe665e));export*from'./common';function _0x3cb6(_0x2b2104,_0x18ebc4){var _0x51cdf2=_0x51cd();return _0x3cb6=function(_0x3cb6da,_0x5eab21){_0x3cb6da=_0x3cb6da-0x1c1;var _0x418e5d=_0x51cdf2[_0x3cb6da];return _0x418e5d;},_0x3cb6(_0x2b2104,_0x18ebc4);}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x51cd(){var _0x5f47ec=['99639vNateF','3146451XDKqTL','7083644dQCqrn','3054bGbPbv','209810tGfhKV','3WoGZbl','1565ZXzdDz','30645852DyjLqH','74990QpYDYT','1331pvtjin','752WiHYuZ','3Ylzevy'];_0x51cd=function(){return _0x5f47ec;};return _0x51cd();}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 3191ece5..30eeddba 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0xc419(_0x3d5e4f,_0x5e8b24){var _0x1852b7=_0x1852();return _0xc419=function(_0xc419c0,_0x5610b2){_0xc419c0=_0xc419c0-0x117;var _0x4d12b4=_0x1852b7[_0xc419c0];return _0x4d12b4;},_0xc419(_0x3d5e4f,_0x5e8b24);}(function(_0x593ea0,_0x2fa36f){var _0x321583=_0xc419,_0x8d5f97=_0x593ea0();while(!![]){try{var _0x387366=parseInt(_0x321583(0x124))/0x1+-parseInt(_0x321583(0x11b))/0x2+parseInt(_0x321583(0x11a))/0x3+parseInt(_0x321583(0x12d))/0x4+parseInt(_0x321583(0x129))/0x5*(-parseInt(_0x321583(0x12f))/0x6)+-parseInt(_0x321583(0x12e))/0x7*(parseInt(_0x321583(0x127))/0x8)+parseInt(_0x321583(0x139))/0x9*(parseInt(_0x321583(0x145))/0xa);if(_0x387366===_0x2fa36f)break;else _0x8d5f97['push'](_0x8d5f97['shift']());}catch(_0x7fb2d9){_0x8d5f97['push'](_0x8d5f97['shift']());}}}(_0x1852,0x90a11));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x2b7e3c from'node:path';import _0x5334ff from'node:fs';function _0x1852(){var _0x2c057a=['KMAC','6707781fZtZTZ','KUNSUPPORTANDROIDPUSH','version','mkdirSync','KSUPPORTGOOGLEPUSH','KPAD','join','SEQdy','KUNKNOWN','fAbbV','KCOMPUTER','NmoUC','10zGKMBZ','WnSMu','vhsTl','UZpXH','NapCat','vEqhG','2164833ljTPOa','1186914bknXeT','KPHONE','GxXtl','KSUPPORTTPNS','yDHnn','dKCJf','KANDROID','temp','QUCxb','1010053aeIaaI','2|1|4|3|0','KSUPPORTHMS','8TzHjRY','split','405JJTWlt','KSUPPORTOPPOPUSH','StLhC','KSUPPORTVIVOPUSH','32636yCtuKE','4549279AtBzwC','48102KNIydk','1|5|6|2|4|3|0','CjiYk','dlYNJ','curVersion','KIOS','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','uIvzd','SQiBh'];_0x1852=function(){return _0x2c057a;};return _0x1852();}import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x274089){var _0x22f736=_0xc419,_0x35c705={'vhsTl':_0x22f736(0x138),'yDHnn':_0x22f736(0x121),'SQiBh':'KUNKNOWN','WnSMu':'KWINDOWS','AnZhp':'KIOS'},_0x546dab=_0x22f736(0x125)[_0x22f736(0x128)]('|'),_0x3e0628=0x0;while(!![]){switch(_0x546dab[_0x3e0628++]){case'0':_0x274089[_0x274089[_0x35c705[_0x22f736(0x147)]]=0x4]=_0x22f736(0x138);continue;case'1':_0x274089[_0x274089['KANDROID']=0x1]=_0x35c705[_0x22f736(0x11f)];continue;case'2':_0x274089[_0x274089[_0x35c705[_0x22f736(0x137)]]=0x0]=_0x22f736(0x141);continue;case'3':_0x274089[_0x274089[_0x35c705[_0x22f736(0x146)]]=0x3]=_0x35c705[_0x22f736(0x146)];continue;case'4':_0x274089[_0x274089[_0x22f736(0x134)]=0x2]=_0x35c705['AnZhp'];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x37d8b9){var _0x46c96c=_0xc419,_0x8eb61b={'NmoUC':_0x46c96c(0x141),'GxXtl':_0x46c96c(0x11c),'SEQdy':_0x46c96c(0x13e),'azjUq':_0x46c96c(0x143)};_0x37d8b9[_0x37d8b9[_0x8eb61b[_0x46c96c(0x144)]]=0x0]=_0x8eb61b[_0x46c96c(0x144)],_0x37d8b9[_0x37d8b9[_0x8eb61b[_0x46c96c(0x11d)]]=0x1]=_0x8eb61b[_0x46c96c(0x11d)],_0x37d8b9[_0x37d8b9['KPAD']=0x2]=_0x8eb61b[_0x46c96c(0x140)],_0x37d8b9[_0x37d8b9[_0x8eb61b['azjUq']]=0x3]=_0x46c96c(0x143);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x3acfe1){var _0x43abc8=_0xc419,_0x1a1192={'fAbbV':_0x43abc8(0x130),'QUCxb':_0x43abc8(0x13a),'CjiYk':'KNOSETONIOS','dlYNJ':_0x43abc8(0x12a),'dKCJf':_0x43abc8(0x12c),'AlMFa':_0x43abc8(0x11e),'vEqhG':_0x43abc8(0x13d),'uIvzd':_0x43abc8(0x126)},_0x2bdfdb=_0x1a1192[_0x43abc8(0x142)][_0x43abc8(0x128)]('|'),_0x2f752c=0x0;while(!![]){switch(_0x2bdfdb[_0x2f752c++]){case'0':_0x3acfe1[_0x3acfe1[_0x1a1192['QUCxb']]=0x1]=_0x1a1192[_0x43abc8(0x123)];continue;case'1':_0x3acfe1[_0x3acfe1[_0x1a1192[_0x43abc8(0x131)]]=0x0]=_0x1a1192[_0x43abc8(0x131)];continue;case'2':_0x3acfe1[_0x3acfe1[_0x1a1192[_0x43abc8(0x132)]]=0x4]=_0x1a1192['dlYNJ'];continue;case'3':_0x3acfe1[_0x3acfe1[_0x1a1192['dKCJf']]=0x5]=_0x1a1192[_0x43abc8(0x120)];continue;case'4':_0x3acfe1[_0x3acfe1[_0x1a1192['AlMFa']]=0x2]=_0x43abc8(0x11e);continue;case'5':_0x3acfe1[_0x3acfe1[_0x1a1192[_0x43abc8(0x119)]]=0x63]=_0x1a1192[_0x43abc8(0x119)];continue;case'6':_0x3acfe1[_0x3acfe1[_0x43abc8(0x126)]=0x3]=_0x1a1192[_0x43abc8(0x136)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x36710f,_0x943ac9,_0x1d6c80){var _0x3f93f4=_0xc419,_0x5e2350={'modrB':_0x3f93f4(0x118),'StLhC':_0x3f93f4(0x122),'UZpXH':function(_0x1697f5){return _0x1697f5();}};const _0x32de6e=_0x2b7e3c[_0x3f93f4(0x13f)](_0x1d6c80,_0x5e2350['modrB'],_0x5e2350[_0x3f93f4(0x12b)]);_0x5334ff[_0x3f93f4(0x13c)](_0x32de6e,{'recursive':!![]});let _0x173a71=await _0x5e2350[_0x3f93f4(0x117)](getMachineId);const _0x5a44f2={'selfUin':_0x36710f,'selfUid':_0x943ac9,'desktopPathConfig':{'account_path':_0x1d6c80},'clientVer':qqVersionConfigInfo[_0x3f93f4(0x133)],'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':_0x32de6e,'deviceInfo':{'guid':_0x173a71,'buildVer':qqPkgInfo[_0x3f93f4(0x13b)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3f93f4(0x135)};return Object['assign'](sessionConfig,_0x5a44f2),_0x5a44f2;} \ No newline at end of file +(function(_0x41ad26,_0x2545dd){var _0x4e3536=_0x7ba2,_0x9e02f1=_0x41ad26();while(!![]){try{var _0x40ef15=parseInt(_0x4e3536(0x1f4))/0x1+-parseInt(_0x4e3536(0x1fc))/0x2*(parseInt(_0x4e3536(0x20c))/0x3)+-parseInt(_0x4e3536(0x1eb))/0x4+parseInt(_0x4e3536(0x214))/0x5*(-parseInt(_0x4e3536(0x1fd))/0x6)+parseInt(_0x4e3536(0x1f2))/0x7+parseInt(_0x4e3536(0x1fb))/0x8*(-parseInt(_0x4e3536(0x1fa))/0x9)+parseInt(_0x4e3536(0x210))/0xa*(parseInt(_0x4e3536(0x203))/0xb);if(_0x40ef15===_0x2545dd)break;else _0x9e02f1['push'](_0x9e02f1['shift']());}catch(_0x2ed4bb){_0x9e02f1['push'](_0x9e02f1['shift']());}}}(_0x3098,0xee984));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x3098(){var _0x4a683d=['1623712OYtkfK','366vuzvSi','3045342pMjNdE','NBjSu','MdpYn','NapCat','AOEoy','KNOSETONIOS','496023AHVAnm','IDjjp','vvNvT','VsCvS','jzbeJ','CEQDq','KSUPPORTGOOGLEPUSH','rdJtP','temp','10359FLjjwW','fSeDS','KPHONE','KUNKNOWN','470IYlzeD','version','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','KSUPPORTHMS','10AjBxPu','KSUPPORTVIVOPUSH','KPAD','mVylF','KWINDOWS','4807724kfKLtM','pQEAH','KUNSUPPORTANDROIDPUSH','inTBC','3|2|4|0|1','mkdirSync','KSUPPORTOPPOPUSH','9744840FqbFlS','join','517701EqdruZ','KCOMPUTER','curVersion','ndYXp','KANDROID','IcDTG','9TYFXcN'];_0x3098=function(){return _0x4a683d;};return _0x3098();}import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x7ba2(_0x82510b,_0x41ad7d){var _0x309880=_0x3098();return _0x7ba2=function(_0x7ba2a9,_0x38b8bd){_0x7ba2a9=_0x7ba2a9-0x1eb;var _0x2aee9b=_0x309880[_0x7ba2a9];return _0x2aee9b;},_0x7ba2(_0x82510b,_0x41ad7d);}import _0x17aad8 from'node:path';import _0x9aefc1 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x1479de){var _0x5ef677=_0x7ba2,_0x313b61={'AOEoy':_0x5ef677(0x1ef),'MdpYn':_0x5ef677(0x218),'ndYXp':'KMAC','rdJtP':_0x5ef677(0x1f8),'IDjjp':_0x5ef677(0x20f)},_0x285b69=_0x313b61[_0x5ef677(0x201)]['split']('|'),_0x5710be=0x0;while(!![]){switch(_0x285b69[_0x5710be++]){case'0':_0x1479de[_0x1479de[_0x313b61[_0x5ef677(0x1ff)]]=0x3]=_0x313b61[_0x5ef677(0x1ff)];continue;case'1':_0x1479de[_0x1479de[_0x313b61[_0x5ef677(0x1f7)]]=0x4]=_0x313b61['ndYXp'];continue;case'2':_0x1479de[_0x1479de[_0x313b61['rdJtP']]=0x1]=_0x313b61[_0x5ef677(0x20a)];continue;case'3':_0x1479de[_0x1479de[_0x313b61[_0x5ef677(0x204)]]=0x0]=_0x5ef677(0x20f);continue;case'4':_0x1479de[_0x1479de['KIOS']=0x2]='KIOS';continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x5b7369){var _0x39753a=_0x7ba2,_0x22dc5e={'AatDb':_0x39753a(0x20f),'inTBC':_0x39753a(0x20e),'CEQDq':_0x39753a(0x216),'jzbeJ':'KCOMPUTER'};_0x5b7369[_0x5b7369[_0x22dc5e['AatDb']]=0x0]=_0x22dc5e['AatDb'],_0x5b7369[_0x5b7369[_0x22dc5e[_0x39753a(0x1ee)]]=0x1]='KPHONE',_0x5b7369[_0x5b7369[_0x22dc5e[_0x39753a(0x208)]]=0x2]=_0x22dc5e[_0x39753a(0x208)],_0x5b7369[_0x5b7369[_0x22dc5e[_0x39753a(0x207)]]=0x3]=_0x39753a(0x1f5);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x22e93a){var _0x2921af=_0x7ba2,_0x3b54f3={'fSeDS':'KNOSETONIOS','mVylF':_0x2921af(0x209),'IcDTG':_0x2921af(0x213),'NBjSu':_0x2921af(0x1f1),'CCRbS':'KSUPPORTTPNS','pQEAH':_0x2921af(0x215),'nmMbM':_0x2921af(0x1ed)};_0x22e93a[_0x22e93a[_0x2921af(0x202)]=0x0]=_0x3b54f3[_0x2921af(0x20d)],_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x217)]]=0x63]=_0x3b54f3['mVylF'],_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x1f9)]]=0x3]=_0x3b54f3['IcDTG'],_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x1fe)]]=0x4]=_0x3b54f3[_0x2921af(0x1fe)],_0x22e93a[_0x22e93a[_0x3b54f3['CCRbS']]=0x2]='KSUPPORTTPNS',_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x1ec)]]=0x5]=_0x3b54f3['pQEAH'],_0x22e93a[_0x22e93a[_0x3b54f3['nmMbM']]=0x1]=_0x3b54f3['nmMbM'];}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x4b69c3,_0x3b1826,_0x38b65c){var _0x3ed8d6=_0x7ba2,_0x3fee02={'akwqn':_0x3ed8d6(0x200),'VsCvS':_0x3ed8d6(0x20b),'vvNvT':function(_0x5f1dc2){return _0x5f1dc2();}};const _0x186830=_0x17aad8[_0x3ed8d6(0x1f3)](_0x38b65c,_0x3fee02['akwqn'],_0x3fee02[_0x3ed8d6(0x206)]);_0x9aefc1[_0x3ed8d6(0x1f0)](_0x186830,{'recursive':!![]});let _0x169f4b=await _0x3fee02[_0x3ed8d6(0x205)](getMachineId);const _0x25ecc2={'selfUin':_0x4b69c3,'selfUid':_0x3b1826,'desktopPathConfig':{'account_path':_0x38b65c},'clientVer':qqVersionConfigInfo[_0x3ed8d6(0x1f6)],'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':_0x186830,'deviceInfo':{'guid':_0x169f4b,'buildVer':qqPkgInfo[_0x3ed8d6(0x211)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3ed8d6(0x212)};return Object['assign'](sessionConfig,_0x25ecc2),_0x25ecc2;} \ 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 2b608210..0fd5b01b 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0xc61bff=_0x5e11;function _0x5e11(_0x166f60,_0x29d2ce){const _0x343498=_0x3434();return _0x5e11=function(_0x5e11e4,_0x29317b){_0x5e11e4=_0x5e11e4-0x111;let _0x24c4f1=_0x343498[_0x5e11e4];return _0x24c4f1;},_0x5e11(_0x166f60,_0x29d2ce);}(function(_0x298574,_0x9a04c4){const _0xe52ea=_0x5e11,_0x306973=_0x298574();while(!![]){try{const _0x163358=-parseInt(_0xe52ea(0x11e))/0x1+parseInt(_0xe52ea(0x112))/0x2*(-parseInt(_0xe52ea(0x118))/0x3)+parseInt(_0xe52ea(0x11c))/0x4+-parseInt(_0xe52ea(0x116))/0x5*(-parseInt(_0xe52ea(0x124))/0x6)+parseInt(_0xe52ea(0x11f))/0x7+parseInt(_0xe52ea(0x115))/0x8*(-parseInt(_0xe52ea(0x122))/0x9)+parseInt(_0xe52ea(0x114))/0xa*(parseInt(_0xe52ea(0x121))/0xb);if(_0x163358===_0x9a04c4)break;else _0x306973['push'](_0x306973['shift']());}catch(_0x5a2dae){_0x306973['push'](_0x306973['shift']());}}}(_0x3434,0xef3c1));import _0xe8d287 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x3434(){const _0x4950bc=['14720jYTGgG','4072rKRCcR','14890qaJWpQ','getConfigPath','381CyzTqN','INFO','join','napcat_','2480736hlAkkZ','.json','1915019QSTZVz','3052196mrtftg','fileLogLevel','30899YXPrgm','28107fwurce','consoleLogLevel','1374yTNAMS','getConfigDir','uin','DEBUG','21866xzsYJL','consoleLog'];_0x3434=function(){return _0x4950bc;};return _0x3434();}import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];[_0xc61bff(0x113)]=!![];[_0xc61bff(0x120)]=LogLevel[_0xc61bff(0x111)];[_0xc61bff(0x123)]=LogLevel[_0xc61bff(0x119)];constructor(){super();}[_0xc61bff(0x117)](){const _0x13bf8a=_0xc61bff;return _0xe8d287[_0x13bf8a(0x11a)](this[_0x13bf8a(0x125)](),_0x13bf8a(0x11b)+selfInfo[_0x13bf8a(0x126)]+_0x13bf8a(0x11d));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x58ed5b=_0x3532;(function(_0x2235bc,_0x72a851){const _0x12cc57=_0x3532,_0x76f9b3=_0x2235bc();while(!![]){try{const _0x22e557=parseInt(_0x12cc57(0x1f9))/0x1+parseInt(_0x12cc57(0x1f2))/0x2+-parseInt(_0x12cc57(0x1f5))/0x3*(parseInt(_0x12cc57(0x1ed))/0x4)+-parseInt(_0x12cc57(0x1f0))/0x5+-parseInt(_0x12cc57(0x1f1))/0x6+parseInt(_0x12cc57(0x1f6))/0x7+parseInt(_0x12cc57(0x1ef))/0x8;if(_0x22e557===_0x72a851)break;else _0x76f9b3['push'](_0x76f9b3['shift']());}catch(_0x12a636){_0x76f9b3['push'](_0x76f9b3['shift']());}}}(_0x4d3e,0x4c52e));import _0xb4e4f2 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x4d3e(){const _0x383736=['1667676toYZLZ','534832eddjpE','.json','INFO','33hgUQuc','2739394sHmbRd','uin','fileLogLevel','97164SEzTkN','fileLog','125556PNEXDB','getConfigDir','5451312qAcFrc','2507445mZRCQm'];_0x4d3e=function(){return _0x383736;};return _0x4d3e();}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x58ed5b(0x1fa)]=!![];['consoleLog']=!![];[_0x58ed5b(0x1f8)]=LogLevel['DEBUG'];['consoleLogLevel']=LogLevel[_0x58ed5b(0x1f4)];constructor(){super();}['getConfigPath'](){const _0x5a61aa=_0x58ed5b;return _0xb4e4f2['join'](this[_0x5a61aa(0x1ee)](),'napcat_'+selfInfo[_0x5a61aa(0x1f7)]+_0x5a61aa(0x1f3));}}function _0x3532(_0x56b637,_0x5a1f9a){const _0x4d3e1=_0x4d3e();return _0x3532=function(_0x353216,_0x1dce7e){_0x353216=_0x353216-0x1ed;let _0x477fe2=_0x4d3e1[_0x353216];return _0x477fe2;},_0x3532(_0x56b637,_0x5a1f9a);}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 03f2adc3..100df6b7 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x233bd7=_0x2be3;(function(_0x4d006a,_0x14c038){const _0x594ed1=_0x2be3,_0x4d54e4=_0x4d006a();while(!![]){try{const _0x18dc45=-parseInt(_0x594ed1(0x12c))/0x1*(-parseInt(_0x594ed1(0x129))/0x2)+-parseInt(_0x594ed1(0x136))/0x3+-parseInt(_0x594ed1(0x130))/0x4*(parseInt(_0x594ed1(0x13a))/0x5)+-parseInt(_0x594ed1(0x138))/0x6*(parseInt(_0x594ed1(0x132))/0x7)+parseInt(_0x594ed1(0x128))/0x8*(-parseInt(_0x594ed1(0x12a))/0x9)+-parseInt(_0x594ed1(0x13c))/0xa+parseInt(_0x594ed1(0x12d))/0xb;if(_0x18dc45===_0x14c038)break;else _0x4d54e4['push'](_0x4d54e4['shift']());}catch(_0x4364e6){_0x4d54e4['push'](_0x4d54e4['shift']());}}}(_0x3ce6,0x3b619));function _0x2be3(_0x734da6,_0x4ba861){const _0x3ce6fe=_0x3ce6();return _0x2be3=function(_0x2be3a2,_0x3e98ee){_0x2be3a2=_0x2be3a2-0x126;let _0x3a8cfb=_0x3ce6fe[_0x2be3a2];return _0x3a8cfb;},_0x2be3(_0x734da6,_0x4ba861);}function _0x3ce6(){const _0x507f2f=['150OwMhOZ','http://napcat-sign.wumiao.wang:2082/rkey','619610sTebIZ','HttpGetJson','isExpired','104WkgUrR','219862gGPzNA','227934muIUpq','expired_time','1QUuBdi','12905068pfAoWH','ItCfU','获取rkey失败','14952FoDtoH','refreshRkey','14777iBhkST','LrOJV','rkeyData','GET','932034CKXPvZ','serverUrl','642GVCNsR','ENQDj'];_0x3ce6=function(){return _0x507f2f;};return _0x3ce6();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x233bd7(0x137)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x272455){const _0x45f85a=_0x233bd7;this[_0x45f85a(0x137)]=_0x272455;}async['getRkey'](){const _0x53f1b8=_0x233bd7,_0x32d69a={'ENQDj':function(_0x326bb1,_0x46b96a,_0x1dd921){return _0x326bb1(_0x46b96a,_0x1dd921);},'LrOJV':_0x53f1b8(0x12f)};if(this['isExpired']())try{await this[_0x53f1b8(0x131)]();}catch(_0x3d623b){_0x32d69a[_0x53f1b8(0x139)](logError,_0x32d69a[_0x53f1b8(0x133)],_0x3d623b);}return this[_0x53f1b8(0x134)];}[_0x233bd7(0x127)](){const _0x221cba=_0x233bd7,_0x469861={'ItCfU':function(_0x5235e5,_0x2feb50){return _0x5235e5/_0x2feb50;},'ILase':function(_0x387a86,_0x547771){return _0x387a86>_0x547771;}},_0x3e4da0=_0x469861[_0x221cba(0x12e)](new Date()['getTime'](),0x3e8);return _0x469861['ILase'](_0x3e4da0,this[_0x221cba(0x134)][_0x221cba(0x12b)]);}async[_0x233bd7(0x131)](){const _0x5d053c=_0x233bd7;this[_0x5d053c(0x134)]=await RequestUtil[_0x5d053c(0x126)](this[_0x5d053c(0x137)],_0x5d053c(0x135));}}export const rkeyManager=new RkeyManager(_0x233bd7(0x13b)); \ No newline at end of file +const _0x5fe2d5=_0x41e7;(function(_0x9ac957,_0xfd5def){const _0x55c160=_0x41e7,_0x38241b=_0x9ac957();while(!![]){try{const _0x330c31=-parseInt(_0x55c160(0xc5))/0x1*(parseInt(_0x55c160(0xb8))/0x2)+parseInt(_0x55c160(0xbd))/0x3+parseInt(_0x55c160(0xc4))/0x4+-parseInt(_0x55c160(0xbc))/0x5*(parseInt(_0x55c160(0xc3))/0x6)+parseInt(_0x55c160(0xc0))/0x7*(-parseInt(_0x55c160(0xba))/0x8)+-parseInt(_0x55c160(0xbe))/0x9*(parseInt(_0x55c160(0xbb))/0xa)+parseInt(_0x55c160(0xc1))/0xb;if(_0x330c31===_0xfd5def)break;else _0x38241b['push'](_0x38241b['shift']());}catch(_0x862ad9){_0x38241b['push'](_0x38241b['shift']());}}}(_0x76a7,0xd6356));function _0x41e7(_0x54d537,_0x19db9a){const _0x76a771=_0x76a7();return _0x41e7=function(_0x41e712,_0x420bb3){_0x41e712=_0x41e712-0xb5;let _0x4e3d36=_0x76a771[_0x41e712];return _0x4e3d36;},_0x41e7(_0x54d537,_0x19db9a);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x5fe2d5(0xb7)]='';[_0x5fe2d5(0xc2)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2ae531){this['serverUrl']=_0x2ae531;}async['getRkey'](){const _0x459707=_0x5fe2d5;if(this[_0x459707(0xc8)]())try{await this[_0x459707(0xbf)]();}catch(_0x34c380){logError('获取rkey失败',_0x34c380);}return this[_0x459707(0xc2)];}[_0x5fe2d5(0xc8)](){const _0x3ec486=_0x5fe2d5,_0x2628f5={'wAslo':function(_0x4b374e,_0x30e8cf){return _0x4b374e/_0x30e8cf;}},_0x18ede1=_0x2628f5[_0x3ec486(0xb6)](new Date()[_0x3ec486(0xb5)](),0x3e8);return _0x18ede1>this[_0x3ec486(0xc2)]['expired_time'];}async[_0x5fe2d5(0xbf)](){const _0x87e768=_0x5fe2d5,_0x21d2c6={'XfGxA':_0x87e768(0xc6)};this[_0x87e768(0xc2)]=await RequestUtil[_0x87e768(0xc9)](this[_0x87e768(0xb7)],_0x21d2c6[_0x87e768(0xb9)]);}}function _0x76a7(){const _0x2ebf52=['HttpGetJson','getTime','wAslo','serverUrl','20906nikdbF','XfGxA','8zjWRAI','997410yazqbG','5kyBFKq','4181883HeFBCZ','45kaXzYm','refreshRkey','11997377LpBggm','38408975qGWcIU','rkeyData','8069862ykLjla','1333120hnGqvX','75IfDhRW','GET','http://napcat-sign.wumiao.wang:2082/rkey','isExpired'];_0x76a7=function(){return _0x2ebf52;};return _0x76a7();}export const rkeyManager=new RkeyManager(_0x5fe2d5(0xc7)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index ee776316..a59416e1 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x48378b=_0x23a3;function _0x23a3(_0x499f50,_0x53dc1f){const _0x4339bc=_0x4339();return _0x23a3=function(_0x23a30a,_0x4ffab9){_0x23a30a=_0x23a30a-0x85;let _0x1e25f6=_0x4339bc[_0x23a30a];return _0x1e25f6;},_0x23a3(_0x499f50,_0x53dc1f);}(function(_0x201f27,_0x3b8553){const _0x5df436=_0x23a3,_0x28f9f2=_0x201f27();while(!![]){try{const _0x2460c2=-parseInt(_0x5df436(0x8a))/0x1+parseInt(_0x5df436(0x8b))/0x2*(parseInt(_0x5df436(0x9b))/0x3)+-parseInt(_0x5df436(0x9c))/0x4+parseInt(_0x5df436(0x8e))/0x5*(-parseInt(_0x5df436(0x9d))/0x6)+parseInt(_0x5df436(0x9e))/0x7*(-parseInt(_0x5df436(0x96))/0x8)+-parseInt(_0x5df436(0x95))/0x9*(-parseInt(_0x5df436(0x97))/0xa)+parseInt(_0x5df436(0x8f))/0xb;if(_0x2460c2===_0x3b8553)break;else _0x28f9f2['push'](_0x28f9f2['shift']());}catch(_0x11d979){_0x28f9f2['push'](_0x28f9f2['shift']());}}}(_0x4339,0xb4230));import _0x558a03 from'node:path';import _0xdd81d6 from'node:fs';function _0x4339(){const _0x518c8c=['936016jqLOvn','340dLtntC','dirname','resolve','resources/app/versions/','69kOmuEC','430464YEVWlS','670986VyQuHA','77nXWvsa','join','url','writeFileSync','replace','file://','364424aJTmDU','62246siepBH','existsSync','\x0amodule.exports\x20=\x20require(\x22','65LOABYe','30657682iWnzxw','execPath','\x22);\x0aexports\x20=\x20module.exports;\x0a','WrapperLoader.cjs','/wrapper.node','default','118539aNnTAc'];_0x4339=function(){return _0x518c8c;};return _0x4339();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x48378b(0x86)]),__dirname=dirname(__filename);let wrapperNodePath=_0x558a03[_0x48378b(0x99)](_0x558a03[_0x48378b(0x98)](process['execPath']),'./resources/app/wrapper.node');!_0xdd81d6[_0x48378b(0x8c)](wrapperNodePath)&&(wrapperNodePath=_0x558a03['join'](_0x558a03['dirname'](process[_0x48378b(0x90)]),_0x48378b(0x9a)+qqVersionConfigInfo['curVersion']+_0x48378b(0x93)));let WrapperLoader=_0x558a03[_0x48378b(0x85)](__dirname,_0x48378b(0x92));_0xdd81d6[_0x48378b(0x87)](WrapperLoader,_0x48378b(0x8d)+wrapperNodePath[_0x48378b(0x88)](/\\/g,'\x5c\x5c')+_0x48378b(0x91));const QQWrapper=(await import(_0x48378b(0x89)+WrapperLoader))[_0x48378b(0x94)];export default QQWrapper; \ No newline at end of file +function _0x30ad(_0x2d0855,_0xbfa4d7){const _0x415888=_0x4158();return _0x30ad=function(_0x30ad16,_0x156b50){_0x30ad16=_0x30ad16-0x84;let _0x131a91=_0x415888[_0x30ad16];return _0x131a91;},_0x30ad(_0x2d0855,_0xbfa4d7);}const _0x6e11b4=_0x30ad;(function(_0x55a97f,_0x14f744){const _0xc27ebe=_0x30ad,_0x2e4e9d=_0x55a97f();while(!![]){try{const _0x26d425=-parseInt(_0xc27ebe(0x8f))/0x1+parseInt(_0xc27ebe(0x96))/0x2+parseInt(_0xc27ebe(0x98))/0x3+parseInt(_0xc27ebe(0x8d))/0x4*(-parseInt(_0xc27ebe(0x8a))/0x5)+-parseInt(_0xc27ebe(0x95))/0x6+parseInt(_0xc27ebe(0x89))/0x7*(-parseInt(_0xc27ebe(0x8c))/0x8)+parseInt(_0xc27ebe(0x99))/0x9;if(_0x26d425===_0x14f744)break;else _0x2e4e9d['push'](_0x2e4e9d['shift']());}catch(_0x2a4c93){_0x2e4e9d['push'](_0x2e4e9d['shift']());}}}(_0x4158,0x651e4));import _0x1ccaea from'node:path';import _0x5f0084 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x4158(){const _0x428ea8=['524256qraYDW','554302YYklHX','resolve','59376FoEJmw','8585271fcRIkp','url','WrapperLoader.cjs','\x0amodule.exports\x20=\x20require(\x22','execPath','file://','curVersion','4095eEaoNG','35ddRfZy','default','2232DBUsDT','4308OKbugf','\x22);\x0aexports\x20=\x20module.exports;\x0a','578552XOtnWc','dirname','join','existsSync','resources/app/versions/','./resources/app/wrapper.node'];_0x4158=function(){return _0x428ea8;};return _0x4158();}const __filename=fileURLToPath(import.meta[_0x6e11b4(0x9a)]),__dirname=dirname(__filename);let wrapperNodePath=_0x1ccaea[_0x6e11b4(0x97)](_0x1ccaea[_0x6e11b4(0x90)](process[_0x6e11b4(0x86)]),_0x6e11b4(0x94));!_0x5f0084[_0x6e11b4(0x92)](wrapperNodePath)&&(wrapperNodePath=_0x1ccaea[_0x6e11b4(0x91)](_0x1ccaea[_0x6e11b4(0x90)](process[_0x6e11b4(0x86)]),_0x6e11b4(0x93)+qqVersionConfigInfo[_0x6e11b4(0x88)]+'/wrapper.node'));let WrapperLoader=_0x1ccaea[_0x6e11b4(0x91)](__dirname,_0x6e11b4(0x84));_0x5f0084['writeFileSync'](WrapperLoader,_0x6e11b4(0x85)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x6e11b4(0x8e));const QQWrapper=(await import(_0x6e11b4(0x87)+WrapperLoader))[_0x6e11b4(0x8b)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/user/GetCookies.ts b/src/onebot11/action/user/GetCookies.ts index cf0c76ff..98f23360 100644 --- a/src/onebot11/action/user/GetCookies.ts +++ b/src/onebot11/action/user/GetCookies.ts @@ -6,7 +6,8 @@ import { ActionName } from '../types'; import { NTQQUserApi, WebApi } from '@/core/apis'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; interface Response { - cookies: string + cookies: string, + bkn: string } const SchemaData = { type: 'object', @@ -18,7 +19,7 @@ const SchemaData = { type Payload = FromSchema; -export class GetCookies extends BaseAction { +export class GetCookies extends BaseAction { actionName = ActionName.GetCookies; PayloadSchema = SchemaData; protected async _handle(payload: Payload) {