diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index a0de720b..745dd662 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x867e97=_0x46ea;function _0x42a9(){var _0x542a6f=['5868531WWLjkI','6594608pnLMDf','5GkxSbB','8131458HdAVux','onMSFSsoError','2065082dgfadx','onMSFStatusChange','132kElQdj','10ChJeCB','112191uQxwcb','1900178CQPTYb','281883AeDQlm'];_0x42a9=function(){return _0x542a6f;};return _0x42a9();}function _0x46ea(_0x415548,_0xb729d0){var _0x42a987=_0x42a9();return _0x46ea=function(_0x46eac0,_0x8e0d64){_0x46eac0=_0x46eac0-0x9b;var _0x1124ca=_0x42a987[_0x46eac0];return _0x1124ca;},_0x46ea(_0x415548,_0xb729d0);}(function(_0x1c8fb7,_0x159822){var _0x1af623=_0x46ea,_0x398558=_0x1c8fb7();while(!![]){try{var _0xd922c2=-parseInt(_0x1af623(0x9c))/0x1+parseInt(_0x1af623(0xa2))/0x2+-parseInt(_0x1af623(0xa6))/0x3*(-parseInt(_0x1af623(0xa4))/0x4)+parseInt(_0x1af623(0x9f))/0x5*(-parseInt(_0x1af623(0xa0))/0x6)+parseInt(_0x1af623(0x9b))/0x7+-parseInt(_0x1af623(0x9e))/0x8+-parseInt(_0x1af623(0x9d))/0x9*(-parseInt(_0x1af623(0xa5))/0xa);if(_0xd922c2===_0x159822)break;else _0x398558['push'](_0x398558['shift']());}catch(_0x2509db){_0x398558['push'](_0x398558['shift']());}}}(_0x42a9,0xb1e7f));export class DependsAdapter{[_0x867e97(0xa3)](_0x6b9bb1,_0xb4b542){}[_0x867e97(0xa1)](_0x261b72){}['getGroupCode'](_0x4672a4){}} \ No newline at end of file +function _0x9626(_0x4aba00,_0x38c36b){var _0x110e42=_0x110e();return _0x9626=function(_0x9626c4,_0x4efc59){_0x9626c4=_0x9626c4-0x164;var _0x33e068=_0x110e42[_0x9626c4];return _0x33e068;},_0x9626(_0x4aba00,_0x38c36b);}function _0x110e(){var _0x43af00=['1916166uTCjhe','406554sDWftS','508yENioM','263439djNVEv','2YiWkKo','6310VXBCyC','onMSFStatusChange','getGroupCode','1422747nRkvtD','2105752HTWNVa','6ScGjRl','3341380fKPYss'];_0x110e=function(){return _0x43af00;};return _0x110e();}var _0x4b3007=_0x9626;(function(_0x688874,_0x5521c8){var _0x1c250f=_0x9626,_0x599e21=_0x688874();while(!![]){try{var _0x421d57=parseInt(_0x1c250f(0x16e))/0x1+parseInt(_0x1c250f(0x16f))/0x2*(-parseInt(_0x1c250f(0x16c))/0x3)+parseInt(_0x1c250f(0x16d))/0x4*(-parseInt(_0x1c250f(0x164))/0x5)+parseInt(_0x1c250f(0x169))/0x6*(parseInt(_0x1c250f(0x16b))/0x7)+-parseInt(_0x1c250f(0x168))/0x8+-parseInt(_0x1c250f(0x167))/0x9+parseInt(_0x1c250f(0x16a))/0xa;if(_0x421d57===_0x5521c8)break;else _0x599e21['push'](_0x599e21['shift']());}catch(_0x39e7eb){_0x599e21['push'](_0x599e21['shift']());}}}(_0x110e,0x25a6d));export class DependsAdapter{[_0x4b3007(0x165)](_0x39d652,_0x4459ef){}['onMSFSsoError'](_0x21204b){}[_0x4b3007(0x166)](_0x183212){}} \ 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 50d95631..d02d8d0e 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x57ac(){var _0x5ee083=['6iudbCk','10DjiLlM','163RKoGlK','dispatchCallWithJson','29996OXZKQd','dispatchRequest','739496ZbXlgy','8810703okPNVF','32onJNIq','4692200EQjECF','1370607uRgXls','27ZjgTtl','1951434TFbdgo'];_0x57ac=function(){return _0x5ee083;};return _0x57ac();}var _0x581c9b=_0x1fe5;(function(_0x5f51d3,_0x3e2344){var _0xf5ca77=_0x1fe5,_0x19908a=_0x5f51d3();while(!![]){try{var _0x1b7bc1=parseInt(_0xf5ca77(0xad))/0x1*(parseInt(_0xf5ca77(0xb3))/0x2)+-parseInt(_0xf5ca77(0xaa))/0x3+parseInt(_0xf5ca77(0xaf))/0x4*(-parseInt(_0xf5ca77(0xac))/0x5)+parseInt(_0xf5ca77(0xab))/0x6*(parseInt(_0xf5ca77(0xb5))/0x7)+parseInt(_0xf5ca77(0xb1))/0x8*(-parseInt(_0xf5ca77(0xb6))/0x9)+parseInt(_0xf5ca77(0xb4))/0xa+parseInt(_0xf5ca77(0xb2))/0xb;if(_0x1b7bc1===_0x3e2344)break;else _0x19908a['push'](_0x19908a['shift']());}catch(_0x5c0979){_0x19908a['push'](_0x19908a['shift']());}}}(_0x57ac,0x805f7));function _0x1fe5(_0x4ed2d4,_0x1618dc){var _0x57aca0=_0x57ac();return _0x1fe5=function(_0x1fe5fd,_0x3736b1){_0x1fe5fd=_0x1fe5fd-0xaa;var _0x2cc8bb=_0x57aca0[_0x1fe5fd];return _0x2cc8bb;},_0x1fe5(_0x4ed2d4,_0x1618dc);}export class DispatcherAdapter{[_0x581c9b(0xb0)](_0x3d49ce){}['dispatchCall'](_0x126830){}[_0x581c9b(0xae)](_0x3ae8b1){}} \ No newline at end of file +function _0x1674(_0x105230,_0x94ac2b){var _0x1731a5=_0x1731();return _0x1674=function(_0x16742d,_0x2b5fc3){_0x16742d=_0x16742d-0xe7;var _0x1e9d8f=_0x1731a5[_0x16742d];return _0x1e9d8f;},_0x1674(_0x105230,_0x94ac2b);}var _0x39a435=_0x1674;(function(_0x499b50,_0x4a9aaa){var _0x5145f2=_0x1674,_0xf0fe22=_0x499b50();while(!![]){try{var _0x597330=parseInt(_0x5145f2(0xed))/0x1*(-parseInt(_0x5145f2(0xf0))/0x2)+parseInt(_0x5145f2(0xf2))/0x3+-parseInt(_0x5145f2(0xf1))/0x4*(parseInt(_0x5145f2(0xeb))/0x5)+-parseInt(_0x5145f2(0xe9))/0x6*(parseInt(_0x5145f2(0xe8))/0x7)+-parseInt(_0x5145f2(0xef))/0x8*(-parseInt(_0x5145f2(0xee))/0x9)+parseInt(_0x5145f2(0xea))/0xa+parseInt(_0x5145f2(0xe7))/0xb;if(_0x597330===_0x4a9aaa)break;else _0xf0fe22['push'](_0xf0fe22['shift']());}catch(_0x43db2b){_0xf0fe22['push'](_0xf0fe22['shift']());}}}(_0x1731,0x4a1df));export class DispatcherAdapter{['dispatchRequest'](_0x44db15){}['dispatchCall'](_0x37bbc5){}[_0x39a435(0xec)](_0x3ca58d){}}function _0x1731(){var _0x118f85=['2bsrUPC','2178teBdqd','4576AxaNDK','492826klNdFX','4yBCotF','1194081ApfmyA','8495817BFJudF','14eNrRKZ','1399638HKrqea','3441380hUuJrY','1949905RWEMvH','dispatchCallWithJson'];_0x1731=function(){return _0x118f85;};return _0x1731();} \ 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 9992f2a1..51691635 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x22ea9c=_0x374c;(function(_0x3aac0e,_0x1591ce){var _0x2c5cc9=_0x374c,_0x4f792b=_0x3aac0e();while(!![]){try{var _0x44e5d0=parseInt(_0x2c5cc9(0x8f))/0x1+-parseInt(_0x2c5cc9(0x89))/0x2*(parseInt(_0x2c5cc9(0x83))/0x3)+-parseInt(_0x2c5cc9(0x81))/0x4*(-parseInt(_0x2c5cc9(0x8a))/0x5)+parseInt(_0x2c5cc9(0x8b))/0x6*(-parseInt(_0x2c5cc9(0x85))/0x7)+parseInt(_0x2c5cc9(0x80))/0x8+parseInt(_0x2c5cc9(0x88))/0x9+parseInt(_0x2c5cc9(0x8d))/0xa*(parseInt(_0x2c5cc9(0x7f))/0xb);if(_0x44e5d0===_0x1591ce)break;else _0x4f792b['push'](_0x4f792b['shift']());}catch(_0x5f04cc){_0x4f792b['push'](_0x4f792b['shift']());}}}(_0x1ce7,0x3e0f7));function _0x374c(_0x44bdea,_0x21a9a3){var _0x1ce788=_0x1ce7();return _0x374c=function(_0x374c55,_0x29c301){_0x374c55=_0x374c55-0x7f;var _0x25a2b5=_0x1ce788[_0x374c55];return _0x25a2b5;},_0x374c(_0x44bdea,_0x21a9a3);}function _0x1ce7(){var _0x670e3c=['11RctGuq','128232DicyQx','1516MtJJMY','onGetOfflineMsg','12tQAfJu','onUpdateGeneralFlag','1596avINzm','onShowErrUITips','fixPicImgType','2498787cdzZiP','107678kXzLwT','1295BPzadH','3702DNbncR','getAppSetting','72830OCaOfr','onGetSrvCalTime','211115YLYjzz'];_0x1ce7=function(){return _0x670e3c;};return _0x1ce7();}export class GlobalAdapter{['onLog'](..._0x277df4){}[_0x22ea9c(0x8e)](..._0x50eb79){}[_0x22ea9c(0x86)](..._0x54cc3f){}[_0x22ea9c(0x87)](..._0x2e96ad){}[_0x22ea9c(0x8c)](..._0xa4d115){}['onInstallFinished'](..._0x32d9fe){}[_0x22ea9c(0x84)](..._0x297189){}[_0x22ea9c(0x82)](..._0x680286){}} \ No newline at end of file +function _0x1a3b(){var _0x3302f7=['onLog','onUpdateGeneralFlag','onGetOfflineMsg','648282PJneqT','441060kjQqqI','40258iuiMpu','378351IYwVRF','938035MhXOOk','onGetSrvCalTime','4XcdERe','6932NYmZht','getAppSetting','8EzSmlm','250qsySzo','onShowErrUITips','2871540bUzHqy'];_0x1a3b=function(){return _0x3302f7;};return _0x1a3b();}function _0x4957(_0x3f3a22,_0x382643){var _0x1a3b99=_0x1a3b();return _0x4957=function(_0x495706,_0x63993d){_0x495706=_0x495706-0x19c;var _0x3c52dd=_0x1a3b99[_0x495706];return _0x3c52dd;},_0x4957(_0x3f3a22,_0x382643);}var _0x3dc70d=_0x4957;(function(_0x2c94c7,_0x4d76fa){var _0x56d730=_0x4957,_0x475d2e=_0x2c94c7();while(!![]){try{var _0x3cbc1a=-parseInt(_0x56d730(0x1a3))/0x1*(-parseInt(_0x56d730(0x19f))/0x2)+-parseInt(_0x56d730(0x19e))/0x3+parseInt(_0x56d730(0x1a4))/0x4*(parseInt(_0x56d730(0x1a7))/0x5)+-parseInt(_0x56d730(0x19d))/0x6+parseInt(_0x56d730(0x1a1))/0x7*(-parseInt(_0x56d730(0x1a6))/0x8)+parseInt(_0x56d730(0x1a0))/0x9+parseInt(_0x56d730(0x1a9))/0xa;if(_0x3cbc1a===_0x4d76fa)break;else _0x475d2e['push'](_0x475d2e['shift']());}catch(_0x39007c){_0x475d2e['push'](_0x475d2e['shift']());}}}(_0x1a3b,0x1a317));export class GlobalAdapter{[_0x3dc70d(0x1aa)](..._0x2c7e6c){}[_0x3dc70d(0x1a2)](..._0x131af5){}[_0x3dc70d(0x1a8)](..._0x2a0fbc){}['fixPicImgType'](..._0x51d41b){}[_0x3dc70d(0x1a5)](..._0x537831){}['onInstallFinished'](..._0x1e5165){}[_0x3dc70d(0x1ab)](..._0x291846){}[_0x3dc70d(0x19c)](..._0x587506){}} \ 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 e4417e4d..7f7e0344 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x5b4ce6,_0xd3f215){var _0x1f0439=_0x627e,_0x239dcf=_0x5b4ce6();while(!![]){try{var _0x2a0a10=-parseInt(_0x1f0439(0xe6))/0x1+-parseInt(_0x1f0439(0xdf))/0x2*(parseInt(_0x1f0439(0xe3))/0x3)+parseInt(_0x1f0439(0xe5))/0x4+-parseInt(_0x1f0439(0xe7))/0x5+-parseInt(_0x1f0439(0xe0))/0x6+parseInt(_0x1f0439(0xe2))/0x7+-parseInt(_0x1f0439(0xe4))/0x8*(-parseInt(_0x1f0439(0xe1))/0x9);if(_0x2a0a10===_0xd3f215)break;else _0x239dcf['push'](_0x239dcf['shift']());}catch(_0x1a5019){_0x239dcf['push'](_0x239dcf['shift']());}}}(_0x3a2c,0x73da7));function _0x627e(_0x3d989b,_0xe15262){var _0x3a2c8d=_0x3a2c();return _0x627e=function(_0x627eae,_0x269d53){_0x627eae=_0x627eae-0xdf;var _0xad2546=_0x3a2c8d[_0x627eae];return _0xad2546;},_0x627e(_0x3d989b,_0xe15262);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x3a2c(){var _0x3064ad=['5839134iCLfDf','3045ewMYlC','24uUnsrP','2752672EtseMT','114113bFGmYD','2292310ZsXVMj','1002xNsyLz','3793224meaEvn','1996497HeEFwK'];_0x3a2c=function(){return _0x3064ad;};return _0x3a2c();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x5dcf99,_0x31fda6){var _0x1ed331=_0xa0c0,_0x320ed2=_0x5dcf99();while(!![]){try{var _0x36cfb5=parseInt(_0x1ed331(0x102))/0x1*(parseInt(_0x1ed331(0x109))/0x2)+-parseInt(_0x1ed331(0x104))/0x3*(-parseInt(_0x1ed331(0x10c))/0x4)+parseInt(_0x1ed331(0x10a))/0x5*(parseInt(_0x1ed331(0x107))/0x6)+-parseInt(_0x1ed331(0x106))/0x7+parseInt(_0x1ed331(0x108))/0x8+parseInt(_0x1ed331(0x105))/0x9*(-parseInt(_0x1ed331(0x103))/0xa)+-parseInt(_0x1ed331(0x10b))/0xb;if(_0x36cfb5===_0x31fda6)break;else _0x320ed2['push'](_0x320ed2['shift']());}catch(_0x242613){_0x320ed2['push'](_0x320ed2['shift']());}}}(_0x4943,0x683d0));export*from'./NodeIDependsAdapter';function _0x4943(){var _0x3760ec=['3119184vFIqMv','2hPmiTn','61630JnpcLK','9140725XKkQVT','828220sktmBJ','852184flJaXh','50YUXSUd','3vJjMBz','269721kcbeOn','1238601HMpvsV','66cDNKBQ'];_0x4943=function(){return _0x3760ec;};return _0x4943();}function _0xa0c0(_0x120f06,_0xb82652){var _0x4943be=_0x4943();return _0xa0c0=function(_0xa0c048,_0x2571cb){_0xa0c048=_0xa0c048-0x102;var _0x107b21=_0x4943be[_0xa0c048];return _0x107b21;},_0xa0c0(_0x120f06,_0xb82652);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index df7492e5..84d3352d 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x571c3a=_0x396d;(function(_0x1a4956,_0x4e7c8c){const _0x227694=_0x396d,_0x107e4e=_0x1a4956();while(!![]){try{const _0x53ac00=-parseInt(_0x227694(0xf8))/0x1+parseInt(_0x227694(0xe3))/0x2*(parseInt(_0x227694(0x10f))/0x3)+parseInt(_0x227694(0x124))/0x4+-parseInt(_0x227694(0xe4))/0x5+parseInt(_0x227694(0x10a))/0x6+-parseInt(_0x227694(0x105))/0x7+parseInt(_0x227694(0xeb))/0x8;if(_0x53ac00===_0x4e7c8c)break;else _0x107e4e['push'](_0x107e4e['shift']());}catch(_0x543add){_0x107e4e['push'](_0x107e4e['shift']());}}}(_0x5a00,0xb90c4));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4a7068 from'path';import _0x215c2a from'fs';import _0x33d805 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x37496c from'file-type';import{MsgListener}from'@/core/listeners';import _0x3480bf from'image-size';function _0x396d(_0x53da89,_0x77d5c5){const _0x5a0082=_0x5a00();return _0x396d=function(_0x396da8,_0x4b6591){_0x396da8=_0x396da8-0xd9;let _0x218462=_0x5a0082[_0x396da8];return _0x218462;},_0x396d(_0x53da89,_0x77d5c5);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x6c284f=>{const _0x2cd374=_0x396d,_0x54775f={'XErbg':function(_0x132603,_0x23fef1){return _0x132603(_0x23fef1);}};for(const [_0x28c8c7,_0x28d82e]of downloadMediaTasks){_0x54775f[_0x2cd374(0xe6)](_0x28d82e,_0x6c284f),downloadMediaTasks[_0x2cd374(0x123)](_0x28c8c7);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3bf7d2=_0x396d;napCatCore[_0x3bf7d2(0xed)](downloadMediaListener);});},0x64);function _0x5a00(){const _0x136130=['getFileSize','WNQlx','clearChatCache','cWnyk','AAORJ','indexOf','getRkey','downloadMedia\x20complete','getRichMediaFilePathForGuild','getImageSize','scanCache','wiqII','unlink','owxpp','/download','join','delete','2190392WEvxni','md5HexStr','hotUpdate','/gchatpic_new/0/0-0-','KcpKz','set','getCacheSessionPathList','rlWTb','existsSync','includes','getChatCacheList','msgId','HVuld','getStorageCleanService','CvPtV','PIC','getFileType','73838qfmFga','744005FqftfY','addCacheScanedPaths','XErbg','GVejO','util','group_rkey','ydcXK','4777784jKIXUv','filePath','addListener','DuWhr','wxQBz','JSjwV','LECKs','clearCacheDataByKeys','clearCache','图片url获取失败','qKpWZ','addCacheScannedPaths','defaultFileDownloadPath','989078hwJnGj','receive\x20downloadMedia\x20task','start\x20downloadMedia','eTgLY','session','downloadPath','下载超时','downloadRichMedia','downloadMedia','startsWith','mvTSz','lMuse','ext','5854149PyNrtw','boomZ','basename','copyFile','danWV','4650618kMqyCu','HcDAn','fileUuid','getChatCacheInfo','tmp','66SlOxGq','kdZGE','EYNPp','clearChatCacheInfo'];_0x5a00=function(){return _0x136130;};return _0x5a00();}export class NTQQFileApi{static async['getFileType'](_0x1c6a73){return _0x37496c['fileTypeFromFile'](_0x1c6a73);}static async[_0x571c3a(0x108)](_0x419a49,_0x38478a){const _0x6ebb46=_0x571c3a;await napCatCore['util'][_0x6ebb46(0x108)](_0x419a49,_0x38478a);}static async[_0x571c3a(0x113)](_0x425be0){const _0xaf8752=_0x571c3a;return await napCatCore[_0xaf8752(0xe8)][_0xaf8752(0x113)](_0x425be0);}static async['uploadFile'](_0x2e6c5c,_0x4648ae=ElementType[_0x571c3a(0xe1)],_0x456874=0x0){const _0x41219f=_0x571c3a,_0x503161={'mGAoI':function(_0x462788,_0x427b6e){return _0x462788(_0x427b6e);},'mvTSz':function(_0x54754a,_0x2ebc37){return _0x54754a+_0x2ebc37;},'ydcXK':function(_0x46cfa4,_0x114e05){return _0x46cfa4===_0x114e05;}},_0x321adb=await _0x503161['mGAoI'](calculateFileMD5,_0x2e6c5c);let _0x417845=(await NTQQFileApi[_0x41219f(0xe2)](_0x2e6c5c))?.[_0x41219f(0x104)]||'';_0x417845&&(_0x417845=_0x503161[_0x41219f(0x102)]('.',_0x417845));let _0x770bae=''+_0x4a7068[_0x41219f(0x107)](_0x2e6c5c);_0x503161[_0x41219f(0xea)](_0x770bae[_0x41219f(0x118)]('.'),-0x1)&&(_0x770bae+=_0x417845);const _0xa6e4a8=napCatCore[_0x41219f(0xfc)]['getMsgService']()[_0x41219f(0x11b)]({'md5HexStr':_0x321adb,'fileName':_0x770bae,'elementType':_0x4648ae,'elementSubType':_0x456874,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x41219f(0x108)](_0x2e6c5c,_0xa6e4a8);const _0x115ca1=await NTQQFileApi['getFileSize'](_0x2e6c5c);return{'md5':_0x321adb,'fileName':_0x770bae,'path':_0xa6e4a8,'fileSize':_0x115ca1,'ext':_0x417845};}static async[_0x571c3a(0x100)](_0x2bc1c9,_0x15d4e5,_0x3ad967,_0x32dc81,_0x2bcb71,_0x42815d,_0x57707a=0x3e8*0x3c*0x2,_0x2a2006=![]){const _0x568ec4=_0x571c3a,_0x565373={'GVejO':_0x568ec4(0xfe),'danWV':_0x568ec4(0x11a),'wiqII':function(_0x5dc351,_0x545ecf){return _0x5dc351===_0x545ecf;},'cWnyk':function(_0x58cf5f,_0x316026,_0x2f23ac){return _0x58cf5f(_0x316026,_0x2f23ac);},'wxQBz':_0x568ec4(0xfd),'qKpWZ':function(_0x17de1d,_0x7a8bcc){return _0x17de1d(_0x7a8bcc);},'CvPtV':function(_0x297d53){return _0x297d53();},'HVuld':function(_0x1e44a0,_0xeb24fd,_0x150ec3,_0x5541a9,_0x4ea394,_0x189554,_0x3d8c9e,_0x26679b,_0x569937,_0x131444){return _0x1e44a0(_0xeb24fd,_0x150ec3,_0x5541a9,_0x4ea394,_0x189554,_0x3d8c9e,_0x26679b,_0x569937,_0x131444);},'AAORJ':_0x568ec4(0xf9),'KcpKz':_0x568ec4(0xfa)};_0x565373['HVuld'](logDebug,_0x565373[_0x568ec4(0x117)],_0x2bc1c9,_0x15d4e5,_0x3ad967,_0x32dc81,_0x2bcb71,_0x42815d,_0x57707a,_0x2a2006);if(_0x42815d&&_0x215c2a[_0x568ec4(0xda)](_0x42815d)){if(_0x2a2006)try{await _0x33d805[_0x568ec4(0x11f)](_0x42815d);}catch(_0x5e3115){}else return _0x42815d;}return _0x565373[_0x568ec4(0xde)](logDebug,_0x565373[_0x568ec4(0x128)],_0x2bc1c9,_0x15d4e5,_0x3ad967,_0x32dc81,_0x2bcb71,_0x42815d,_0x57707a,_0x2a2006),new Promise((_0x2bb46d,_0x3b9458)=>{const _0x47ae9c=_0x568ec4,_0x319020={'kdZGE':_0x565373[_0x47ae9c(0x109)],'DuWhr':function(_0x23c31e,_0x110dd9){const _0xbbce74=_0x47ae9c;return _0x565373[_0xbbce74(0x11e)](_0x23c31e,_0x110dd9);},'boomZ':function(_0x384c7d,_0x32e759,_0x24de9c){const _0x139903=_0x47ae9c;return _0x565373[_0x139903(0x116)](_0x384c7d,_0x32e759,_0x24de9c);},'BvZYF':_0x565373[_0x47ae9c(0xef)],'rlWTb':function(_0x2a6531,_0x1234be){const _0x1a2245=_0x47ae9c;return _0x565373[_0x1a2245(0xf5)](_0x2a6531,_0x1234be);}};let _0x48fc28=![];const _0xe551e4=_0x5cfd34=>{const _0x21a09f=_0x47ae9c;logDebug(_0x319020[_0x21a09f(0x110)],_0x5cfd34,_0x2bc1c9);if(_0x319020[_0x21a09f(0xee)](_0x5cfd34[_0x21a09f(0xdd)],_0x2bc1c9)){_0x48fc28=!![];let _0xaf38ec=_0x5cfd34[_0x21a09f(0xec)];if(_0xaf38ec[_0x21a09f(0x101)]('\x5c')){const _0x22e974=sessionConfig[_0x21a09f(0xf7)];_0x319020[_0x21a09f(0x106)](logDebug,_0x319020['BvZYF'],_0x22e974),_0xaf38ec=_0x4a7068[_0x21a09f(0x122)](_0x22e974,_0xaf38ec);}_0x319020[_0x21a09f(0xd9)](_0x2bb46d,_0xaf38ec);}};downloadMediaTasks[_0x47ae9c(0x129)](_0x565373[_0x47ae9c(0xe0)](randomUUID),_0xe551e4),_0x565373[_0x47ae9c(0x116)](setTimeout,()=>{const _0x164843=_0x47ae9c;!_0x48fc28&&_0x3b9458(_0x565373[_0x164843(0xe7)]);},_0x57707a),napCatCore[_0x47ae9c(0xfc)]['getMsgService']()[_0x47ae9c(0xff)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2bc1c9,'chatType':_0x15d4e5,'peerUid':_0x3ad967,'elementId':_0x32dc81,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2bcb71});});}static async[_0x571c3a(0x11c)](_0x32a93a){const _0x5da6a1={'HcDAn':function(_0x33fed3,_0x193f40){return _0x33fed3(_0x193f40);},'rerhn':function(_0x24cbe7,_0x533c90){return _0x24cbe7(_0x533c90);},'LECKs':function(_0x2d8920,_0x2902b4,_0x2fc523){return _0x2d8920(_0x2902b4,_0x2fc523);}};return new Promise((_0x4afd25,_0x19ce17)=>{const _0x1ec619=_0x396d;_0x5da6a1[_0x1ec619(0xf1)](_0x3480bf,_0x32a93a,(_0x5d71ee,_0x54e88b)=>{const _0x328911=_0x1ec619;_0x5d71ee?_0x5da6a1[_0x328911(0x10b)](_0x19ce17,_0x5d71ee):_0x5da6a1['rerhn'](_0x4afd25,_0x54e88b);});});}static async['getImageUrl'](_0x21db65,_0x41abe1){const _0x1d88a7=_0x571c3a,_0x20b000={'WNQlx':'&rkey=','EYNPp':function(_0x948ddd,_0x4f2cc9){return _0x948ddd+_0x4f2cc9;},'lMuse':function(_0x3e7a91,_0x31067d){return _0x3e7a91+_0x31067d;},'owxpp':function(_0x28074c,_0x155256){return _0x28074c||_0x155256;},'JSjwV':function(_0x4d0ddc,_0x10192a,_0x1990dd){return _0x4d0ddc(_0x10192a,_0x1990dd);},'eTgLY':_0x1d88a7(0xf4)};if(!_0x21db65)return'';const _0x2251ed=_0x21db65['originImageUrl'],_0x3acee8=_0x21db65['md5HexStr'],_0x5709cc=_0x21db65[_0x1d88a7(0x125)],_0x92cde0=_0x21db65[_0x1d88a7(0x10c)];if(_0x2251ed){if(_0x2251ed[_0x1d88a7(0x101)](_0x1d88a7(0x121))){if(_0x2251ed[_0x1d88a7(0xdb)](_0x20b000[_0x1d88a7(0x114)]))return _0x20b000[_0x1d88a7(0x111)](IMAGE_HTTP_HOST_NT,_0x2251ed);const _0x3ece6a=await rkeyManager[_0x1d88a7(0x119)](),_0x282d8a=_0x41abe1?_0x3ece6a['private_rkey']:_0x3ece6a[_0x1d88a7(0xe9)];return _0x20b000[_0x1d88a7(0x103)](IMAGE_HTTP_HOST_NT+_0x2251ed,''+_0x282d8a);}else return _0x20b000[_0x1d88a7(0x111)](IMAGE_HTTP_HOST,_0x2251ed);}else{if(_0x20b000[_0x1d88a7(0x120)](_0x5709cc,_0x3acee8))return IMAGE_HTTP_HOST+_0x1d88a7(0x127)+_0x20b000[_0x1d88a7(0x120)](_0x5709cc,_0x3acee8)['toUpperCase']()+'/0';}return _0x20b000[_0x1d88a7(0xf0)](logDebug,_0x20b000[_0x1d88a7(0xfb)],_0x21db65),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x1a2356=!![]){return'';}static[_0x571c3a(0x12a)](){return'';}static[_0x571c3a(0xf3)](_0x8ecdd2=[_0x571c3a(0x10e),_0x571c3a(0x126)]){const _0x168639=_0x571c3a;return napCatCore[_0x168639(0xfc)]['getStorageCleanService']()[_0x168639(0xf2)](_0x8ecdd2);}static[_0x571c3a(0xf6)](_0x306deb={}){const _0x23c97e=_0x571c3a;return napCatCore['session'][_0x23c97e(0xdf)]()[_0x23c97e(0xe5)](_0x306deb);}static['scanCache'](){const _0x3b2c51=_0x571c3a;return napCatCore[_0x3b2c51(0xfc)][_0x3b2c51(0xdf)]()[_0x3b2c51(0x11d)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x571c3a(0xdc)](_0x11f113,_0x445ccc=0x3e8,_0x31f780=0x0){const _0x3016e3=_0x571c3a;return napCatCore[_0x3016e3(0xfc)]['getStorageCleanService']()[_0x3016e3(0x10d)](_0x11f113,_0x445ccc,0x1,_0x31f780);}static['getFileCacheInfo'](_0x121665,_0x3862ac=0x3e8,_0x3b8f15){const _0x524a38=_0x3b8f15?_0x3b8f15:{'fileType':_0x121665};}static async[_0x571c3a(0x115)](_0x215b08=[],_0x2c1548=[]){const _0x21f6ad=_0x571c3a;return napCatCore['session']['getStorageCleanService']()[_0x21f6ad(0x112)](_0x215b08,_0x2c1548);}} \ No newline at end of file +const _0x4f84e1=_0x2261;(function(_0x2ff7b9,_0x120443){const _0x5a7ee8=_0x2261,_0x5981b3=_0x2ff7b9();while(!![]){try{const _0x5ad13a=-parseInt(_0x5a7ee8(0x109))/0x1*(-parseInt(_0x5a7ee8(0x106))/0x2)+-parseInt(_0x5a7ee8(0xdf))/0x3*(parseInt(_0x5a7ee8(0x117))/0x4)+-parseInt(_0x5a7ee8(0xf5))/0x5*(parseInt(_0x5a7ee8(0x11b))/0x6)+-parseInt(_0x5a7ee8(0xf3))/0x7+parseInt(_0x5a7ee8(0x11c))/0x8*(-parseInt(_0x5a7ee8(0xeb))/0x9)+-parseInt(_0x5a7ee8(0x101))/0xa+parseInt(_0x5a7ee8(0x121))/0xb;if(_0x5ad13a===_0x120443)break;else _0x5981b3['push'](_0x5981b3['shift']());}catch(_0x585716){_0x5981b3['push'](_0x5981b3['shift']());}}}(_0x20eb,0xe14d1));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x34774 from'path';import _0x3e1b39 from'fs';import _0x140e5e from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';function _0x2261(_0x13945c,_0x47b305){const _0x20eb16=_0x20eb();return _0x2261=function(_0x2261f1,_0x149b0a){_0x2261f1=_0x2261f1-0xd8;let _0x3ae41e=_0x20eb16[_0x2261f1];return _0x3ae41e;},_0x2261(_0x13945c,_0x47b305);}import{calculateFileMD5}from'@/common/utils/file';function _0x20eb(){const _0x2bd610=['clearCacheDataByKeys','downloadRichMedia','start\x20downloadMedia','158oUDLOk','ModSE','yBiRA','18353hHbNCD','group_rkey','下载超时','receive\x20downloadMedia\x20task','downloadMedia','msgId','basename','iTtss','图片url获取失败','util','/gchatpic_new/0/0-0-','private_rkey','getChatCacheList','OSQTb','2344984LoztPZ','getRkey','VwOMG','onLoginSuccess','984vUAMjd','8SfzIrC','DLSUx','md5HexStr','CaVBe','delete','46319702VfGyyX','filePath','downloadMedia\x20complete','copyFile','getImageSize','getFileType','scanCache','addCacheScannedPaths','&rkey=','includes','getStorageCleanService','9PjayXQ','getMsgService','qEgGy','eFYFo','ext','uiNFx','onRichMediaDownloadComplete','getHotUpdateCachePath','KFPOP','fileTypeFromFile','hotUpdate','tmp','2929023vGOyqf','/download','wiVxY','clearCache','fileUuid','unlink','setCacheSilentScan','HUmfB','12094012eBiqvv','getCacheSessionPathList','10405WxBGVi','getDesktopTmpPath','startsWith','downloadPath','getImageUrl','addCacheScanedPaths','izlBj','session','getChatCacheInfo','set','getFileSize','PIC','5847510ZlcmcG','existsSync'];_0x20eb=function(){return _0x2bd610;};return _0x20eb();}import*as _0xe32f95 from'file-type';import{MsgListener}from'@/core/listeners';import _0x505c5f 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[_0x4f84e1(0xe5)]=_0x507c1e=>{const _0x77dd68=_0x4f84e1;for(const [_0x99e4e3,_0xc29a33]of downloadMediaTasks){_0xc29a33(_0x507c1e),downloadMediaTasks[_0x77dd68(0x120)](_0x99e4e3);}},setTimeout(()=>{const _0x527428=_0x4f84e1;napCatCore[_0x527428(0x11a)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x1608d5){const _0x23b7db=_0x4f84e1;return _0xe32f95[_0x23b7db(0xe8)](_0x1608d5);}static async[_0x4f84e1(0x124)](_0x240829,_0x38ed63){const _0x2f7a56=_0x4f84e1;await napCatCore[_0x2f7a56(0x112)][_0x2f7a56(0x124)](_0x240829,_0x38ed63);}static async[_0x4f84e1(0xff)](_0x3282ca){const _0xdc46b1=_0x4f84e1;return await napCatCore['util'][_0xdc46b1(0xff)](_0x3282ca);}static async['uploadFile'](_0xbbba9b,_0x212a27=ElementType[_0x4f84e1(0x100)],_0x3fc526=0x0){const _0x2baabb=_0x4f84e1,_0x26f7da={'KFPOP':function(_0x285bb5,_0xbd8264){return _0x285bb5(_0xbd8264);}},_0x9052ac=await _0x26f7da[_0x2baabb(0xe7)](calculateFileMD5,_0xbbba9b);let _0x1b5097=(await NTQQFileApi[_0x2baabb(0xd9)](_0xbbba9b))?.[_0x2baabb(0xe3)]||'';_0x1b5097&&(_0x1b5097='.'+_0x1b5097);let _0x3adc57=''+_0x34774[_0x2baabb(0x10f)](_0xbbba9b);_0x3adc57['indexOf']('.')===-0x1&&(_0x3adc57+=_0x1b5097);const _0x341c02=napCatCore[_0x2baabb(0xfc)][_0x2baabb(0xe0)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x9052ac,'fileName':_0x3adc57,'elementType':_0x212a27,'elementSubType':_0x3fc526,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x2baabb(0x124)](_0xbbba9b,_0x341c02);const _0x3b77a1=await NTQQFileApi[_0x2baabb(0xff)](_0xbbba9b);return{'md5':_0x9052ac,'fileName':_0x3adc57,'path':_0x341c02,'fileSize':_0x3b77a1,'ext':_0x1b5097};}static async[_0x4f84e1(0x10d)](_0x9d3637,_0x4ffa12,_0x479e82,_0x927a01,_0x5d49fc,_0x1a2d71,_0xdd7a3c=0x3e8*0x3c*0x2,_0x50a2c3=![]){const _0x90baf8=_0x4f84e1,_0x517b1d={'CaVBe':_0x90baf8(0x123),'eFYFo':_0x90baf8(0xf8),'OSQTb':function(_0x1b6213,_0x5c8d6e){return _0x1b6213(_0x5c8d6e);},'JInvf':function(_0xda4b23){return _0xda4b23();},'izlBj':function(_0x3804d0,_0x3213f4,_0x115f52,_0x555ca2,_0xd9d82,_0x3d1c3f,_0x32b187,_0x1651d0,_0x463d7f,_0x5f4bdf){return _0x3804d0(_0x3213f4,_0x115f52,_0x555ca2,_0xd9d82,_0x3d1c3f,_0x32b187,_0x1651d0,_0x463d7f,_0x5f4bdf);},'HUmfB':_0x90baf8(0x10c),'wiVxY':_0x90baf8(0x105)};_0x517b1d[_0x90baf8(0xfb)](logDebug,_0x517b1d[_0x90baf8(0xf2)],_0x9d3637,_0x4ffa12,_0x479e82,_0x927a01,_0x5d49fc,_0x1a2d71,_0xdd7a3c,_0x50a2c3);if(_0x1a2d71&&_0x3e1b39[_0x90baf8(0x102)](_0x1a2d71)){if(_0x50a2c3)try{await _0x140e5e[_0x90baf8(0xf0)](_0x1a2d71);}catch(_0xb653a2){}else return _0x1a2d71;}return _0x517b1d['izlBj'](logDebug,_0x517b1d[_0x90baf8(0xed)],_0x9d3637,_0x4ffa12,_0x479e82,_0x927a01,_0x5d49fc,_0x1a2d71,_0xdd7a3c,_0x50a2c3),new Promise((_0x5bb1ab,_0x4d4823)=>{const _0x563661=_0x90baf8,_0x25a14d={'uiNFx':function(_0x380267,_0x445ba2){const _0x1cd1dc=_0x2261;return _0x517b1d[_0x1cd1dc(0x116)](_0x380267,_0x445ba2);}};let _0x3a848f=![];const _0x4cb605=_0x418c25=>{const _0x28d435=_0x2261;logDebug(_0x517b1d[_0x28d435(0x11f)],_0x418c25,_0x9d3637);if(_0x418c25[_0x28d435(0x10e)]===_0x9d3637){_0x3a848f=!![];let _0x494805=_0x418c25[_0x28d435(0x122)];if(_0x494805['startsWith']('\x5c')){const _0x517cdf=sessionConfig['defaultFileDownloadPath'];logDebug(_0x517b1d[_0x28d435(0xe2)],_0x517cdf),_0x494805=_0x34774['join'](_0x517cdf,_0x494805);}_0x517b1d[_0x28d435(0x116)](_0x5bb1ab,_0x494805);}};downloadMediaTasks[_0x563661(0xfe)](_0x517b1d['JInvf'](randomUUID),_0x4cb605),setTimeout(()=>{const _0x3eba1f=_0x563661;!_0x3a848f&&_0x25a14d[_0x3eba1f(0xe4)](_0x4d4823,_0x3eba1f(0x10b));},_0xdd7a3c),napCatCore[_0x563661(0xfc)][_0x563661(0xe0)]()[_0x563661(0x104)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x9d3637,'chatType':_0x4ffa12,'peerUid':_0x479e82,'elementId':_0x927a01,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x5d49fc});});}static async[_0x4f84e1(0xd8)](_0x4d7309){const _0x100135={'VwOMG':function(_0x155637,_0x5c0b70){return _0x155637(_0x5c0b70);}};return new Promise((_0xfa3143,_0x3f5d73)=>{_0x505c5f(_0x4d7309,(_0x15b730,_0x54208b)=>{const _0x5a5020=_0x2261;_0x15b730?_0x100135[_0x5a5020(0x119)](_0x3f5d73,_0x15b730):_0x100135[_0x5a5020(0x119)](_0xfa3143,_0x54208b);});});}static async[_0x4f84e1(0xf9)](_0x4d03af,_0x6b6bb5){const _0x36a132=_0x4f84e1,_0x89201={'DLSUx':_0x36a132(0xec),'EYGLl':_0x36a132(0xdc),'yBiRA':function(_0x2b3ae4,_0x379916){return _0x2b3ae4+_0x379916;},'qEgGy':function(_0x17b9e4,_0x33a21c){return _0x17b9e4||_0x33a21c;},'iTtss':function(_0x2fe937,_0x33b697,_0x1b250d){return _0x2fe937(_0x33b697,_0x1b250d);},'ModSE':_0x36a132(0x111)};if(!_0x4d03af)return'';const _0x375a94=_0x4d03af['originImageUrl'],_0x4c3598=_0x4d03af['md5HexStr'],_0x4a12dc=_0x4d03af[_0x36a132(0x11e)],_0x2e16e5=_0x4d03af[_0x36a132(0xef)];if(_0x375a94){if(_0x375a94[_0x36a132(0xf7)](_0x89201[_0x36a132(0x11d)])){if(_0x375a94[_0x36a132(0xdd)](_0x89201['EYGLl']))return IMAGE_HTTP_HOST_NT+_0x375a94;const _0x592286=await rkeyManager[_0x36a132(0x118)](),_0x4d4015=_0x6b6bb5?_0x592286[_0x36a132(0x114)]:_0x592286[_0x36a132(0x10a)];return _0x89201[_0x36a132(0x108)](_0x89201[_0x36a132(0x108)](IMAGE_HTTP_HOST_NT,_0x375a94),''+_0x4d4015);}else return _0x89201[_0x36a132(0x108)](IMAGE_HTTP_HOST,_0x375a94);}else{if(_0x89201[_0x36a132(0xe1)](_0x4a12dc,_0x4c3598))return IMAGE_HTTP_HOST+_0x36a132(0x113)+_0x89201[_0x36a132(0xe1)](_0x4a12dc,_0x4c3598)['toUpperCase']()+'/0';}return _0x89201[_0x36a132(0x110)](logDebug,_0x89201[_0x36a132(0x107)],_0x4d03af),'';}}export class NTQQFileCacheApi{static async[_0x4f84e1(0xf1)](_0x35c2d1=!![]){return'';}static[_0x4f84e1(0xf4)](){return'';}static[_0x4f84e1(0xee)](_0x2a2db2=[_0x4f84e1(0xea),_0x4f84e1(0xe9)]){const _0x283300=_0x4f84e1;return napCatCore[_0x283300(0xfc)][_0x283300(0xde)]()[_0x283300(0x103)](_0x2a2db2);}static[_0x4f84e1(0xdb)](_0x3fcfa5={}){const _0x47b225=_0x4f84e1;return napCatCore[_0x47b225(0xfc)][_0x47b225(0xde)]()[_0x47b225(0xfa)](_0x3fcfa5);}static['scanCache'](){const _0x3bd264=_0x4f84e1;return napCatCore[_0x3bd264(0xfc)][_0x3bd264(0xde)]()[_0x3bd264(0xda)]();}static[_0x4f84e1(0xe6)](){return'';}static[_0x4f84e1(0xf6)](){return'';}static[_0x4f84e1(0x115)](_0x76f688,_0x57626f=0x3e8,_0x42437f=0x0){const _0x1cbaf1=_0x4f84e1;return napCatCore['session'][_0x1cbaf1(0xde)]()[_0x1cbaf1(0xfd)](_0x76f688,_0x57626f,0x1,_0x42437f);}static['getFileCacheInfo'](_0x1dbb65,_0x4e51f8=0x3e8,_0x2bc411){const _0x1095e4=_0x2bc411?_0x2bc411:{'fileType':_0x1dbb65};}static async['clearChatCache'](_0x54708a=[],_0x124665=[]){return napCatCore['session']['getStorageCleanService']()['clearChatCacheInfo'](_0x54708a,_0x124665);}} \ 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 1990b790..55474c9d 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0xab4bb5=_0x2831;(function(_0x5c21cf,_0x1b96a5){const _0x58088f=_0x2831,_0x26895c=_0x5c21cf();while(!![]){try{const _0x129344=-parseInt(_0x58088f(0x161))/0x1+-parseInt(_0x58088f(0x174))/0x2*(-parseInt(_0x58088f(0x15d))/0x3)+-parseInt(_0x58088f(0x15f))/0x4+parseInt(_0x58088f(0x169))/0x5*(parseInt(_0x58088f(0x171))/0x6)+-parseInt(_0x58088f(0x175))/0x7*(parseInt(_0x58088f(0x16e))/0x8)+parseInt(_0x58088f(0x179))/0x9+parseInt(_0x58088f(0x178))/0xa;if(_0x129344===_0x1b96a5)break;else _0x26895c['push'](_0x26895c['shift']());}catch(_0x573142){_0x26895c['push'](_0x26895c['shift']());}}}(_0x376c,0xbb4b0));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();function _0x2831(_0x2bf0e6,_0x3fa3c5){const _0x376cc5=_0x376c();return _0x2831=function(_0x28313b,_0x5c1bec){_0x28313b=_0x28313b-0x15d;let _0x357408=_0x376cc5[_0x28313b];return _0x357408;},_0x2831(_0x2bf0e6,_0x3fa3c5);}buddyListener[_0xab4bb5(0x167)]=_0x5e9f39=>{const _0x3e0578=_0xab4bb5,_0x10751c={'jJdMb':function(_0x3e4b90,_0x107e58){return _0x3e4b90(_0x107e58);}};for(const [_0xa17eb5,_0x11d15b]of buddyChangeTasks){_0x10751c[_0x3e0578(0x17c)](_0x11d15b,_0x5e9f39),buddyChangeTasks[_0x3e0578(0x163)](_0xa17eb5);}},setTimeout(()=>{const _0x5109b6=_0xab4bb5;napCatCore[_0x5109b6(0x164)](()=>{const _0xd33cf1=_0x5109b6;napCatCore[_0xd33cf1(0x160)](buddyListener);});},0x64);function _0x376c(){const _0x3f082e=['16DbENeV','35xnenhV','获取好友列表超时','TGVpX','15440900DTHxXf','11090043RcpENf','approvalFriendRequest','getBuddyService','jJdMb','10239unydGd','fDAzZ','1664060KKCjoK','addListener','856742HpRTWv','VLSSh','delete','onLoginSuccess','uin','uid','onBuddyListChange','getBuddyList','138095ekoidy','NYtaA','buddyList','zhhPS','getFriends','1973176EmNHvB','eTnDD','session','102IaibJB','push','reqTime'];_0x376c=function(){return _0x3f082e;};return _0x376c();}export class NTQQFriendApi{static async[_0xab4bb5(0x16d)](_0x908e69=![]){const _0x3035f2=_0xab4bb5,_0x4b4026={'fDAzZ':function(_0x25c808,_0x4b25cb){return _0x25c808(_0x4b25cb);},'eTnDD':_0x3035f2(0x176),'TGVpX':function(_0x1cb39c,_0x50f053,_0x1309c3){return _0x1cb39c(_0x50f053,_0x1309c3);},'VLSSh':function(_0x23aada,_0x1bd081){return _0x23aada(_0x1bd081);},'zhhPS':function(_0xc77e22,_0x2401f5,_0x534441){return _0xc77e22(_0x2401f5,_0x534441);},'NYtaA':function(_0x50024d){return _0x50024d();}};return new Promise((_0x14bfe8,_0x315d29)=>{const _0x2fe389=_0x3035f2,_0x463fc7={'PBtCU':'开始获取好友列表'};let _0x11f52b=![];_0x4b4026[_0x2fe389(0x16c)](setTimeout,()=>{const _0x306202=_0x2fe389;!_0x11f52b&&(_0x4b4026[_0x306202(0x15e)](logDebug,_0x4b4026[_0x306202(0x16f)]),_0x315d29(_0x4b4026[_0x306202(0x16f)]));},0x1388);const _0x126876=[],_0x11aac7=_0x16034f=>{const _0x5cedf6=_0x2fe389;for(const _0x1bb84e of _0x16034f){for(const _0x56d67b of _0x1bb84e[_0x5cedf6(0x16b)]){_0x126876[_0x5cedf6(0x172)](_0x56d67b),uid2UinMap[_0x56d67b[_0x5cedf6(0x166)]]=_0x56d67b[_0x5cedf6(0x165)];}}_0x11f52b=!![],_0x4b4026[_0x5cedf6(0x177)](logDebug,'获取好友列表完成',_0x126876),_0x4b4026[_0x5cedf6(0x162)](_0x14bfe8,_0x126876);};buddyChangeTasks['set'](_0x4b4026[_0x2fe389(0x16a)](randomUUID),_0x11aac7),napCatCore[_0x2fe389(0x170)]['getBuddyService']()[_0x2fe389(0x168)](_0x908e69)['then'](_0x5bdb67=>{logDebug(_0x463fc7['PBtCU'],_0x5bdb67);});});}static async['handleFriendRequest'](_0x5d6b12,_0x456c19){const _0x2bbb2a=_0xab4bb5;napCatCore[_0x2bbb2a(0x170)][_0x2bbb2a(0x17b)]()?.[_0x2bbb2a(0x17a)]({'friendUid':_0x5d6b12['friendUid'],'reqTime':_0x5d6b12[_0x2bbb2a(0x173)],'accept':_0x456c19});}} \ No newline at end of file +const _0x3c2e30=_0x2673;(function(_0x1ebd25,_0x2e26cc){const _0x2250c4=_0x2673,_0x67ff14=_0x1ebd25();while(!![]){try{const _0x4f6741=parseInt(_0x2250c4(0x88))/0x1+parseInt(_0x2250c4(0x8c))/0x2+parseInt(_0x2250c4(0x83))/0x3*(-parseInt(_0x2250c4(0x72))/0x4)+parseInt(_0x2250c4(0x74))/0x5*(parseInt(_0x2250c4(0x7e))/0x6)+-parseInt(_0x2250c4(0x71))/0x7*(parseInt(_0x2250c4(0x84))/0x8)+-parseInt(_0x2250c4(0x78))/0x9*(parseInt(_0x2250c4(0x86))/0xa)+-parseInt(_0x2250c4(0x7b))/0xb*(-parseInt(_0x2250c4(0x7c))/0xc);if(_0x4f6741===_0x2e26cc)break;else _0x67ff14['push'](_0x67ff14['shift']());}catch(_0x4712c3){_0x67ff14['push'](_0x67ff14['shift']());}}}(_0x17b4,0xa9e73));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';function _0x2673(_0x272e0f,_0x1ec048){const _0x17b4f0=_0x17b4();return _0x2673=function(_0x26732b,_0x3acf33){_0x26732b=_0x26732b-0x6e;let _0x57603d=_0x17b4f0[_0x26732b];return _0x57603d;},_0x2673(_0x272e0f,_0x1ec048);}import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';function _0x17b4(){const _0x1d5f55=['push','then','VUcuE','获取好友列表超时','friendUid','3577kVMTVE','596DNFIFc','MJSfG','262295bbWTNm','ThHXh','handleFriendRequest','uid','1107OsYiXA','session','getBuddyService','307725bDsjZW','528dOQQex','onBuddyListChange','102gSpqfc','reqTime','获取好友列表完成','UdQjv','addListener','27903QiKJaA','3992iOSCII','buddyList','32420gMyaqs','uin','41339tYLmhO','set','delete','gXlXE','1142970wXgJvM'];_0x17b4=function(){return _0x1d5f55;};return _0x17b4();}const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x3c2e30(0x7d)]=_0x481410=>{const _0x4ddd70=_0x3c2e30,_0x4f33ff={'cpGos':function(_0x1d3e82,_0x1c42b9){return _0x1d3e82(_0x1c42b9);}};for(const [_0x1134ca,_0x3d4b92]of buddyChangeTasks){_0x4f33ff['cpGos'](_0x3d4b92,_0x481410),buddyChangeTasks[_0x4ddd70(0x8a)](_0x1134ca);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x267f62=_0x2673;napCatCore[_0x267f62(0x82)](buddyListener);});},0x64);export class NTQQFriendApi{static async['getFriends'](_0x463ac9=![]){const _0x17849e=_0x3c2e30,_0x44ea8a={'gXlXE':function(_0x2fbbca,_0x385728){return _0x2fbbca(_0x385728);},'UdQjv':'获取好友列表超时','ThHXh':_0x17849e(0x80),'MJSfG':function(_0x4d24e8,_0x5873ef){return _0x4d24e8(_0x5873ef);},'IVFCA':'开始获取好友列表','VUcuE':function(_0x196289,_0x5aa0c2,_0x1ace4e){return _0x196289(_0x5aa0c2,_0x1ace4e);},'ZYwPE':function(_0x3161cc){return _0x3161cc();}};return new Promise((_0x3c4ecd,_0x511540)=>{const _0x28b8af=_0x17849e;let _0x275cc1=![];_0x44ea8a[_0x28b8af(0x6e)](setTimeout,()=>{const _0x467ce9=_0x28b8af;!_0x275cc1&&(_0x44ea8a[_0x467ce9(0x8b)](logDebug,_0x44ea8a[_0x467ce9(0x81)]),_0x44ea8a[_0x467ce9(0x8b)](_0x511540,_0x467ce9(0x6f)));},0x1388);const _0x1a7556=[],_0x10c548=_0x4207ad=>{const _0x20482a=_0x28b8af;for(const _0x4982e7 of _0x4207ad){for(const _0x3abcf4 of _0x4982e7[_0x20482a(0x85)]){_0x1a7556[_0x20482a(0x8d)](_0x3abcf4),uid2UinMap[_0x3abcf4[_0x20482a(0x77)]]=_0x3abcf4[_0x20482a(0x87)];}}_0x275cc1=!![],logDebug(_0x44ea8a[_0x20482a(0x75)],_0x1a7556),_0x44ea8a[_0x20482a(0x73)](_0x3c4ecd,_0x1a7556);};buddyChangeTasks[_0x28b8af(0x89)](_0x44ea8a['ZYwPE'](randomUUID),_0x10c548),napCatCore[_0x28b8af(0x79)][_0x28b8af(0x7a)]()['getBuddyList'](_0x463ac9)[_0x28b8af(0x8e)](_0x389739=>{logDebug(_0x44ea8a['IVFCA'],_0x389739);});});}static async[_0x3c2e30(0x76)](_0x156375,_0x74df93){const _0x1ad834=_0x3c2e30;napCatCore['session'][_0x1ad834(0x7a)]()?.['approvalFriendRequest']({'friendUid':_0x156375[_0x1ad834(0x70)],'reqTime':_0x156375[_0x1ad834(0x7f)],'accept':_0x74df93});}} \ 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 ae786e18..88ca73e1 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x95a3(){const _0x3750aa=['513138bYKSjM','TgvWg','vlNzW','WcOVS','获取群(','infos','handleGroupRequest','modifyMemberRole','result','setMemberShutUp','getGroups','getGroupService','kickMember','获取群列表完成','groupMemberList_MainWindow','createMemberListScene','seq','3352MfRwxa','KoLBx','12gEHGgE','type','finish','425iEZIxX','uploadGroupBulletinPic','delete','1wqqbZD','2745432YCqUqi','获取群列表超时','iOxWt','48akvARP','8GjQmcp','getNextMemberList','setMemberCard','groupCode','349041qDsDDH','getPSkey','publishGroupBulletin','uin','onLoginSuccess','16258979hkIJUw','getGroupMembers','modifyMemberCardName','setGroupShutUp','banMember','setMemberRole','getGroupIgnoreNotifies','onGroupListUpdate','6484140liRkqF','RWubY','UFSDr','setGroupTitle','errMsg','errCode','quitGroup','session','GIyIa','banGroup','set','qun.qq.com','getGroupList','group','addListener','ksoYN','then','IfKKz','uid','644442FMuYRL'];_0x95a3=function(){return _0x3750aa;};return _0x95a3();}const _0x321ccf=_0x55ab;(function(_0x240eb2,_0x2ea072){const _0x577ca8=_0x55ab,_0x3f5d2e=_0x240eb2();while(!![]){try{const _0x23171a=parseInt(_0x577ca8(0x1ab))/0x1*(-parseInt(_0x577ca8(0x192))/0x2)+-parseInt(_0x577ca8(0x191))/0x3+-parseInt(_0x577ca8(0x1a3))/0x4*(-parseInt(_0x577ca8(0x1a8))/0x5)+-parseInt(_0x577ca8(0x1af))/0x6*(parseInt(_0x577ca8(0x1b4))/0x7)+-parseInt(_0x577ca8(0x1b0))/0x8*(-parseInt(_0x577ca8(0x1ac))/0x9)+-parseInt(_0x577ca8(0x17e))/0xa+parseInt(_0x577ca8(0x1b9))/0xb*(parseInt(_0x577ca8(0x1a5))/0xc);if(_0x23171a===_0x2ea072)break;else _0x3f5d2e['push'](_0x3f5d2e['shift']());}catch(_0x323eb6){_0x3f5d2e['push'](_0x3f5d2e['shift']());}}}(_0x95a3,0x51f32));function _0x55ab(_0x415d58,_0x52de17){const _0x95a37e=_0x95a3();return _0x55ab=function(_0x55ab47,_0x709536){_0x55ab47=_0x55ab47-0x17e;let _0x2ba44c=_0x95a37e[_0x55ab47];return _0x2ba44c;},_0x55ab(_0x415d58,_0x52de17);}import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x321ccf(0x1c0)]=(_0x34149f,_0x2f6114)=>{const _0x4208a6=_0x321ccf,_0x42f06d={'IfKKz':function(_0x3f961a,_0x1d706b,_0x32dd1b){return _0x3f961a(_0x1d706b,_0x32dd1b);}};for(const [_0x1bc72,_0x548262]of groupMemberTasks){_0x42f06d[_0x4208a6(0x18f)](_0x548262,_0x34149f,_0x2f6114),groupMemberTasks[_0x4208a6(0x1aa)](_0x1bc72);}},setTimeout(()=>{const _0x3dbc07=_0x321ccf;napCatCore[_0x3dbc07(0x1b8)](()=>{const _0x2f20aa=_0x3dbc07;napCatCore[_0x2f20aa(0x18c)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x321ccf(0x19c)](_0x3dd07d=![]){const _0x2932a6=_0x321ccf,_0x617231={'TgvWg':_0x2932a6(0x1ad),'WcOVS':function(_0x334617,_0x4c1486){return _0x334617(_0x4c1486);},'uXbsO':_0x2932a6(0x19f),'RWubY':function(_0x7052fb,_0x2d7052){return _0x7052fb(_0x2d7052);},'GIyIa':function(_0x3920ed,_0x309083,_0x1ad935){return _0x3920ed(_0x309083,_0x1ad935);},'vaQSV':function(_0x79ce23){return _0x79ce23();}};let _0x334c2d=![];return new Promise((_0x38c395,_0x31ad48)=>{const _0x20121d=_0x2932a6;_0x617231[_0x20121d(0x186)](setTimeout,()=>{const _0x356de8=_0x20121d;!_0x334c2d&&(logDebug(_0x617231[_0x356de8(0x193)]),_0x617231[_0x356de8(0x195)](_0x31ad48,_0x356de8(0x1ad)));},0x1388);const _0x4f5125=(_0x6f31db,_0x21d1cb)=>{const _0x1c7240=_0x20121d;_0x334c2d=!![],logDebug(_0x617231['uXbsO'],_0x21d1cb),_0x617231[_0x1c7240(0x17f)](_0x38c395,_0x21d1cb);};groupMemberTasks[_0x20121d(0x188)](_0x617231['vaQSV'](randomUUID),_0x4f5125),napCatCore['session'][_0x20121d(0x19d)]()[_0x20121d(0x18a)](_0x3dd07d)[_0x20121d(0x18e)]();});}static async[_0x321ccf(0x1ba)](_0x4a4175,_0x5b6dab=0xbb8){const _0x1d1f98=_0x321ccf,_0xbcb74b={'ksoYN':_0x1d1f98(0x1a0),'UFSDr':function(_0x3f79f1,_0x58efd7){return _0x3f79f1!==_0x58efd7;},'VHrsx':function(_0x7ced5b,_0x51dc1f,_0x342078){return _0x7ced5b(_0x51dc1f,_0x342078);}},_0x319e48=napCatCore[_0x1d1f98(0x185)]['getGroupService'](),_0xe0a6d0=_0x319e48[_0x1d1f98(0x1a1)](_0x4a4175,_0xbcb74b[_0x1d1f98(0x18d)]),_0x5a3bea=await _0x319e48[_0x1d1f98(0x1b1)](_0xe0a6d0,undefined,_0x5b6dab);if(_0xbcb74b[_0x1d1f98(0x180)](_0x5a3bea[_0x1d1f98(0x183)],0x0))throw'获取群成员列表出错,'+_0x5a3bea[_0x1d1f98(0x182)];return _0xbcb74b['VHrsx'](logDebug,_0x1d1f98(0x196)+_0x4a4175+')成员列表结果:','finish:\x20'+_0x5a3bea[_0x1d1f98(0x19a)][_0x1d1f98(0x1a7)]),_0x5a3bea[_0x1d1f98(0x19a)][_0x1d1f98(0x197)]['forEach'](_0x10e7a0=>{const _0x16b617=_0x1d1f98;uid2UinMap[_0x10e7a0[_0x16b617(0x190)]]=_0x10e7a0[_0x16b617(0x1b7)];}),_0x5a3bea['result'][_0x1d1f98(0x197)];}static async['getGroupNotifies'](){}static async[_0x321ccf(0x1bf)](){}static async[_0x321ccf(0x1a9)](_0xd94b68,_0x392fc2){const _0x30ab94=_0x321ccf,_0x4715a7={'vlNzW':_0x30ab94(0x189)},_0x2b7634=(await NTQQUserApi[_0x30ab94(0x1b5)]([_0x4715a7[_0x30ab94(0x194)]]))[_0x4715a7[_0x30ab94(0x194)]];return napCatCore[_0x30ab94(0x185)][_0x30ab94(0x19d)]()[_0x30ab94(0x1a9)](_0xd94b68,_0x2b7634,_0x392fc2);}static async[_0x321ccf(0x198)](_0x1c748f,_0x20c1f5,_0x5c75f2){const _0x1c1ee6=_0x321ccf,_0x2af5f6={'iOxWt':function(_0x31a358,_0x3514ad){return _0x31a358||_0x3514ad;}};return napCatCore[_0x1c1ee6(0x185)][_0x1c1ee6(0x19d)]()['operateSysNotify'](![],{'operateType':_0x20c1f5,'targetMsg':{'seq':_0x1c748f[_0x1c1ee6(0x1a2)],'type':_0x1c748f[_0x1c1ee6(0x1a6)],'groupCode':_0x1c748f[_0x1c1ee6(0x18b)][_0x1c1ee6(0x1b3)],'postscript':_0x2af5f6[_0x1c1ee6(0x1ae)](_0x5c75f2,'')}});}static async[_0x321ccf(0x184)](_0x354a6b){const _0x26325e=_0x321ccf;return napCatCore['session'][_0x26325e(0x19d)]()['quitGroup'](_0x354a6b);}static async[_0x321ccf(0x19e)](_0x317006,_0x333218,_0x37ce28=![],_0x214107=''){const _0x5ee7f7=_0x321ccf;return napCatCore['session']['getGroupService']()[_0x5ee7f7(0x19e)](_0x317006,_0x333218,_0x37ce28,_0x214107);}static async[_0x321ccf(0x1bd)](_0x55ecbc,_0x12d877){const _0x376264=_0x321ccf;return napCatCore[_0x376264(0x185)]['getGroupService']()[_0x376264(0x19b)](_0x55ecbc,_0x12d877);}static async[_0x321ccf(0x187)](_0x4e4a63,_0x3b31c1){const _0x31ead9=_0x321ccf;return napCatCore[_0x31ead9(0x185)][_0x31ead9(0x19d)]()[_0x31ead9(0x1bc)](_0x4e4a63,_0x3b31c1);}static async[_0x321ccf(0x1b2)](_0xc237c3,_0x8aa5b6,_0x55339f){const _0x1fede6=_0x321ccf;return napCatCore['session'][_0x1fede6(0x19d)]()[_0x1fede6(0x1bb)](_0xc237c3,_0x8aa5b6,_0x55339f);}static async[_0x321ccf(0x1be)](_0x1cce35,_0xda11ce,_0x505177){const _0x46b512=_0x321ccf;return napCatCore[_0x46b512(0x185)]['getGroupService']()[_0x46b512(0x199)](_0x1cce35,_0xda11ce,_0x505177);}static async['setGroupName'](_0x45decf,_0x4c4aab){const _0x3a73c0=_0x321ccf;return napCatCore['session'][_0x3a73c0(0x19d)]()['modifyGroupName'](_0x45decf,_0x4c4aab,![]);}static async[_0x321ccf(0x181)](_0x3b74cb,_0x413075,_0x2f1876){}static async[_0x321ccf(0x1b6)](_0x25fed2,_0x4b7878,_0x39777a=undefined,_0x5efd9c=0x0,_0x2ed4fa=0x0){const _0x4c9439=_0x321ccf,_0x4f1caf={'KoLBx':_0x4c9439(0x189),'LPHsX':function(_0x56d854,_0xe0d2f7){return _0x56d854(_0xe0d2f7);}},_0x16916c=(await NTQQUserApi[_0x4c9439(0x1b5)]([_0x4f1caf[_0x4c9439(0x1a4)]]))[_0x4f1caf[_0x4c9439(0x1a4)]];let _0x2f3fee={'text':_0x4f1caf['LPHsX'](encodeURI,_0x4b7878),'picInfo':_0x39777a,'oldFeedsId':'','pinned':_0x5efd9c,'confirmRequired':_0x2ed4fa};return napCatCore[_0x4c9439(0x185)][_0x4c9439(0x19d)]()['publishGroupBulletin'](_0x25fed2,_0x16916c,_0x2f3fee);}} \ No newline at end of file +const _0x76843d=_0x9909;(function(_0x2027e6,_0x20d9df){const _0x3ea7fd=_0x9909,_0x3718ee=_0x2027e6();while(!![]){try{const _0x5d2c4e=-parseInt(_0x3ea7fd(0x16b))/0x1*(parseInt(_0x3ea7fd(0x168))/0x2)+parseInt(_0x3ea7fd(0x178))/0x3+-parseInt(_0x3ea7fd(0x14d))/0x4+-parseInt(_0x3ea7fd(0x14a))/0x5+-parseInt(_0x3ea7fd(0x166))/0x6+parseInt(_0x3ea7fd(0x14c))/0x7+parseInt(_0x3ea7fd(0x147))/0x8;if(_0x5d2c4e===_0x20d9df)break;else _0x3718ee['push'](_0x3718ee['shift']());}catch(_0x41826a){_0x3718ee['push'](_0x3718ee['shift']());}}}(_0x4a0b,0x8d095));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';function _0x4a0b(){const _0x4fb0f9=['getGroupNotifies','618042alGtxq','PoGfA','operateSysNotify','1otzxVD','onGroupListUpdate','infos','group','groupMemberList_MainWindow','bFENh','uin','eERqC','type','set','getNextMemberList','nJxVY','result','1584294Ykspsr','modifyMemberRole','session','MPjeH','getPSkey','SvUXr','modifyMemberCardName','获取群列表超时','setMemberRole','hpxmu','banGroup','获取群(','4274304IjygYo','forEach','获取群成员列表出错,','3266725usRIBg','TYZHF','5265743UeyNoX','527884fZgjcV','getGroupService','getGroupList','获取群列表完成','errMsg','finish:\x20','ScyvF','createMemberListScene','publishGroupBulletin','TghyK','iyhjJ','setGroupShutUp','ybMDW','banMember',')成员列表结果:','quitGroup','groupCode','seq','uploadGroupBulletinPic','fjSHC','qun.qq.com','setGroupName','setGroupTitle','onLoginSuccess','addListener','855678VfWCzR'];_0x4a0b=function(){return _0x4fb0f9;};return _0x4a0b();}function _0x9909(_0x2525b9,_0x39d848){const _0x4a0b56=_0x4a0b();return _0x9909=function(_0x9909e4,_0x2b3ed8){_0x9909e4=_0x9909e4-0x143;let _0x48333f=_0x4a0b56[_0x9909e4];return _0x48333f;},_0x9909(_0x2525b9,_0x39d848);}import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x76843d(0x16c)]=(_0x28f691,_0x355763)=>{const _0x4f1d63=_0x76843d,_0x57ec48={'PoGfA':function(_0x1e17d6,_0x3bdd8d,_0x42bcd2){return _0x1e17d6(_0x3bdd8d,_0x42bcd2);}};for(const [_0x27ba36,_0x58ce8d]of groupMemberTasks){_0x57ec48[_0x4f1d63(0x169)](_0x58ce8d,_0x28f691,_0x355763),groupMemberTasks['delete'](_0x27ba36);}},setTimeout(()=>{const _0x4c3842=_0x76843d;napCatCore[_0x4c3842(0x164)](()=>{const _0x5d4074=_0x4c3842;napCatCore[_0x5d4074(0x165)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0xd6cae0=![]){const _0x4882b=_0x76843d,_0x1e060f={'ScyvF':function(_0x4381bb,_0x1db562,_0x2b55e2){return _0x4381bb(_0x1db562,_0x2b55e2);},'fjSHC':function(_0x3557ce,_0x2be4bf){return _0x3557ce(_0x2be4bf);},'SvUXr':_0x4882b(0x17f),'TYZHF':function(_0x67c26d,_0xfab70d){return _0x67c26d(_0xfab70d);},'ybMDW':function(_0x2f176d){return _0x2f176d();}};let _0x357c0a=![];return new Promise((_0x28d492,_0x57c6cb)=>{const _0x4222ac=_0x4882b,_0x4ab19f={'TghyK':_0x1e060f[_0x4222ac(0x17d)],'MPjeH':function(_0x16a306,_0x315cad){const _0x31d82c=_0x4222ac;return _0x1e060f[_0x31d82c(0x14b)](_0x16a306,_0x315cad);}};_0x1e060f[_0x4222ac(0x153)](setTimeout,()=>{const _0x24af76=_0x4222ac;!_0x357c0a&&(logDebug(_0x4ab19f[_0x24af76(0x156)]),_0x4ab19f[_0x24af76(0x17b)](_0x57c6cb,_0x24af76(0x17f)));},0x1388);const _0x2cff59=(_0x2f370e,_0x4e2257)=>{const _0x5dc8b7=_0x4222ac;_0x357c0a=!![],_0x1e060f[_0x5dc8b7(0x153)](logDebug,_0x5dc8b7(0x150),_0x4e2257),_0x1e060f[_0x5dc8b7(0x160)](_0x28d492,_0x4e2257);};groupMemberTasks[_0x4222ac(0x174)](_0x1e060f[_0x4222ac(0x159)](randomUUID),_0x2cff59),napCatCore[_0x4222ac(0x17a)]['getGroupService']()[_0x4222ac(0x14f)](_0xd6cae0)['then']();});}static async['getGroupMembers'](_0x5c3172,_0x2deac0=0xbb8){const _0x15956f=_0x76843d,_0x4f6e13={'nJxVY':_0x15956f(0x16f),'IhJUe':function(_0x2335c4,_0x2b0868){return _0x2335c4!==_0x2b0868;},'HpwDw':function(_0x4aafe6,_0x1ac525,_0x351aea){return _0x4aafe6(_0x1ac525,_0x351aea);}},_0x8e32f8=napCatCore[_0x15956f(0x17a)]['getGroupService'](),_0x53024a=_0x8e32f8[_0x15956f(0x154)](_0x5c3172,_0x4f6e13[_0x15956f(0x176)]),_0x3dae59=await _0x8e32f8[_0x15956f(0x175)](_0x53024a,undefined,_0x2deac0);if(_0x4f6e13['IhJUe'](_0x3dae59['errCode'],0x0))throw _0x15956f(0x149)+_0x3dae59[_0x15956f(0x151)];return _0x4f6e13['HpwDw'](logDebug,_0x15956f(0x146)+_0x5c3172+_0x15956f(0x15b),_0x15956f(0x152)+_0x3dae59[_0x15956f(0x177)]['finish']),_0x3dae59['result'][_0x15956f(0x16d)][_0x15956f(0x148)](_0x1a40e9=>{const _0x1206ef=_0x15956f;uid2UinMap[_0x1a40e9['uid']]=_0x1a40e9[_0x1206ef(0x171)];}),_0x3dae59[_0x15956f(0x177)]['infos'];}static async[_0x76843d(0x167)](){}static async['getGroupIgnoreNotifies'](){}static async[_0x76843d(0x15f)](_0x5ecb78,_0x157f6d){const _0x338830=_0x76843d,_0x39373f={'hpxmu':'qun.qq.com'},_0x4ca8d5=(await NTQQUserApi[_0x338830(0x17c)]([_0x39373f[_0x338830(0x144)]]))[_0x39373f['hpxmu']];return napCatCore[_0x338830(0x17a)][_0x338830(0x14e)]()[_0x338830(0x15f)](_0x5ecb78,_0x4ca8d5,_0x157f6d);}static async['handleGroupRequest'](_0x56cea6,_0x3c2ebc,_0x63f701){const _0x23d236=_0x76843d,_0x56bb9={'eERqC':function(_0x277ac1,_0x5d98b7){return _0x277ac1||_0x5d98b7;}};return napCatCore[_0x23d236(0x17a)]['getGroupService']()[_0x23d236(0x16a)](![],{'operateType':_0x3c2ebc,'targetMsg':{'seq':_0x56cea6[_0x23d236(0x15e)],'type':_0x56cea6[_0x23d236(0x173)],'groupCode':_0x56cea6[_0x23d236(0x16e)][_0x23d236(0x15d)],'postscript':_0x56bb9[_0x23d236(0x172)](_0x63f701,'')}});}static async[_0x76843d(0x15c)](_0x2cdc56){const _0x4d6b66=_0x76843d;return napCatCore[_0x4d6b66(0x17a)][_0x4d6b66(0x14e)]()[_0x4d6b66(0x15c)](_0x2cdc56);}static async['kickMember'](_0x1205a6,_0x45c1cc,_0x5de520=![],_0x27e6a4=''){const _0x598382=_0x76843d;return napCatCore[_0x598382(0x17a)][_0x598382(0x14e)]()['kickMember'](_0x1205a6,_0x45c1cc,_0x5de520,_0x27e6a4);}static async[_0x76843d(0x15a)](_0x78953d,_0x196bf3){const _0x22b2c8=_0x76843d;return napCatCore[_0x22b2c8(0x17a)][_0x22b2c8(0x14e)]()['setMemberShutUp'](_0x78953d,_0x196bf3);}static async[_0x76843d(0x145)](_0x1dcc61,_0x44d877){const _0x418d62=_0x76843d;return napCatCore[_0x418d62(0x17a)]['getGroupService']()[_0x418d62(0x158)](_0x1dcc61,_0x44d877);}static async['setMemberCard'](_0x155f2a,_0x3cd1bf,_0x2a97d3){const _0x5f3e4d=_0x76843d;return napCatCore['session'][_0x5f3e4d(0x14e)]()[_0x5f3e4d(0x17e)](_0x155f2a,_0x3cd1bf,_0x2a97d3);}static async[_0x76843d(0x143)](_0x345011,_0x542636,_0x219e20){const _0x2e96b5=_0x76843d;return napCatCore[_0x2e96b5(0x17a)][_0x2e96b5(0x14e)]()[_0x2e96b5(0x179)](_0x345011,_0x542636,_0x219e20);}static async[_0x76843d(0x162)](_0x58b00a,_0x28a279){const _0x5bf3bf=_0x76843d;return napCatCore[_0x5bf3bf(0x17a)][_0x5bf3bf(0x14e)]()['modifyGroupName'](_0x58b00a,_0x28a279,![]);}static async[_0x76843d(0x163)](_0x38989f,_0x20ad2d,_0x5aa449){}static async[_0x76843d(0x155)](_0x5c2484,_0x189d8d,_0x34fd12=undefined,_0x17e245=0x0,_0x398ed3=0x0){const _0x524a0c=_0x76843d,_0x56a5c2={'bFENh':_0x524a0c(0x161),'iyhjJ':function(_0x2948d5,_0x3e7835){return _0x2948d5(_0x3e7835);}},_0x512ee5=(await NTQQUserApi[_0x524a0c(0x17c)]([_0x56a5c2['bFENh']]))[_0x56a5c2[_0x524a0c(0x170)]];let _0x392209={'text':_0x56a5c2[_0x524a0c(0x157)](encodeURI,_0x189d8d),'picInfo':_0x34fd12,'oldFeedsId':'','pinned':_0x17e245,'confirmRequired':_0x398ed3};return napCatCore[_0x524a0c(0x17a)][_0x524a0c(0x14e)]()[_0x524a0c(0x155)](_0x5c2484,_0x512ee5,_0x392209);}} \ 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 d241cad0..b9355339 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x53a332,_0x535724){var _0x21fa6a=_0x42b8,_0xdf551f=_0x53a332();while(!![]){try{var _0x470483=-parseInt(_0x21fa6a(0x1cc))/0x1+parseInt(_0x21fa6a(0x1c8))/0x2+parseInt(_0x21fa6a(0x1c5))/0x3*(-parseInt(_0x21fa6a(0x1cb))/0x4)+parseInt(_0x21fa6a(0x1c7))/0x5*(parseInt(_0x21fa6a(0x1c9))/0x6)+parseInt(_0x21fa6a(0x1c6))/0x7*(parseInt(_0x21fa6a(0x1c3))/0x8)+parseInt(_0x21fa6a(0x1ca))/0x9+-parseInt(_0x21fa6a(0x1c4))/0xa;if(_0x470483===_0x535724)break;else _0xdf551f['push'](_0xdf551f['shift']());}catch(_0x1bd261){_0xdf551f['push'](_0xdf551f['shift']());}}}(_0x4654,0x19dbb));export*from'./file';export*from'./friend';export*from'./group';function _0x42b8(_0x3db451,_0xe35b9a){var _0x465404=_0x4654();return _0x42b8=function(_0x42b8cf,_0x4da282){_0x42b8cf=_0x42b8cf-0x1c3;var _0x392873=_0x465404[_0x42b8cf];return _0x392873;},_0x42b8(_0x3db451,_0xe35b9a);}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x4654(){var _0x3638dc=['1876630YHCHiv','306786fdFpeu','833189MnObGo','15165HDYOqS','395248lnnCYR','90vFKtmy','1609038KDSIam','8BCGJuJ','42826fWHUVz','8UCLOmr'];_0x4654=function(){return _0x3638dc;};return _0x4654();}export*from'./system'; \ No newline at end of file +(function(_0x1ce419,_0x27739c){var _0x48cb51=_0x5365,_0x55d201=_0x1ce419();while(!![]){try{var _0x2484ab=parseInt(_0x48cb51(0x85))/0x1+parseInt(_0x48cb51(0x83))/0x2*(-parseInt(_0x48cb51(0x87))/0x3)+-parseInt(_0x48cb51(0x86))/0x4+-parseInt(_0x48cb51(0x82))/0x5*(-parseInt(_0x48cb51(0x84))/0x6)+-parseInt(_0x48cb51(0x8a))/0x7+-parseInt(_0x48cb51(0x89))/0x8*(parseInt(_0x48cb51(0x88))/0x9)+parseInt(_0x48cb51(0x8b))/0xa;if(_0x2484ab===_0x27739c)break;else _0x55d201['push'](_0x55d201['shift']());}catch(_0x3d8849){_0x55d201['push'](_0x55d201['shift']());}}}(_0x3ea7,0x39436));export*from'./file';export*from'./friend';export*from'./group';function _0x3ea7(){var _0x577ed8=['2101128LmhibR','539203GuciDp','6672870JktYvt','5WYMlGK','13362aXPIxX','59466DvsfvL','120158wQBBuO','277892CMGCQp','69SkTQDa','9YHlddV'];_0x3ea7=function(){return _0x577ed8;};return _0x3ea7();}export*from'./msg';export*from'./user';export*from'./webapi';function _0x5365(_0x1dde6a,_0xb5616a){var _0x3ea726=_0x3ea7();return _0x5365=function(_0x53659c,_0x24cf72){_0x53659c=_0x53659c-0x82;var _0x40c21c=_0x3ea726[_0x53659c];return _0x40c21c;},_0x5365(_0x1dde6a,_0xb5616a);}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 bae55fdc..e1602a3e 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x322d7d=_0x404f;(function(_0x90399f,_0x121444){const _0x5d420b=_0x404f,_0x14b994=_0x90399f();while(!![]){try{const _0x2753c6=-parseInt(_0x5d420b(0x9f))/0x1+parseInt(_0x5d420b(0x9e))/0x2+parseInt(_0x5d420b(0xa8))/0x3*(-parseInt(_0x5d420b(0xa6))/0x4)+-parseInt(_0x5d420b(0xb0))/0x5*(parseInt(_0x5d420b(0x80))/0x6)+-parseInt(_0x5d420b(0xaa))/0x7+-parseInt(_0x5d420b(0xb4))/0x8*(parseInt(_0x5d420b(0x90))/0x9)+parseInt(_0x5d420b(0xae))/0xa*(parseInt(_0x5d420b(0xb9))/0xb);if(_0x2753c6===_0x121444)break;else _0x14b994['push'](_0x14b994['shift']());}catch(_0x1971b3){_0x14b994['push'](_0x14b994['shift']());}}}(_0x3669,0xdaf17));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x322d7d(0xa2)]=_0x633f4f=>{const _0x323dc1=_0x322d7d,_0x55cdb3={'udsZI':function(_0x184e11,_0x42e1e0){return _0x184e11(_0x42e1e0);},'BpjIS':function(_0x2ca67a,_0x320ec0){return _0x2ca67a instanceof _0x320ec0;}};for(const [_0x660d85,_0x4a77f5]of sentMsgTasks){_0x55cdb3[_0x323dc1(0x8a)](_0x4a77f5,_0x633f4f),sentMsgTasks['delete'](_0x660d85);}if(sendMessagePool[_0x633f4f['peerUid']]){const _0x323716=sendMessagePool[_0x633f4f['peerUid']]?.(_0x633f4f);_0x55cdb3[_0x323dc1(0xbd)](_0x323716,Promise)&&_0x323716[_0x323dc1(0x98)]()['catch'](logError);}},msgListener[_0x322d7d(0x84)]=_0x198ab5=>{const _0x4b9310=_0x322d7d,_0x4882f5={'Eulxu':function(_0x4995ab,_0x283a99){return _0x4995ab instanceof _0x283a99;}};_0x198ab5[_0x4b9310(0xad)](_0x1ebb9a=>{const _0x1c7ea0=_0x4b9310,_0x550af8={'kIrlk':function(_0x1db1a8,_0x395618){const _0x573a30=_0x404f;return _0x4882f5[_0x573a30(0xbc)](_0x1db1a8,_0x395618);},'UMjFV':function(_0x3fc5db,_0x409aa4){return _0x3fc5db(_0x409aa4);}};new Promise((_0x4fc9e5,_0xc80d4c)=>{const _0x1ae492=_0x404f;for(const _0x15a95f in sendSuccessCBMap){const _0x5d9278=sendSuccessCBMap[_0x15a95f],_0x2659f7=_0x5d9278(_0x1ebb9a),_0x9fd5fa=_0x1319a4=>{_0x1319a4&&delete sendSuccessCBMap[_0x15a95f];};_0x550af8['kIrlk'](_0x2659f7,Promise)?_0x2659f7[_0x1ae492(0x98)](_0x9fd5fa):_0x550af8['UMjFV'](_0x9fd5fa,_0x2659f7);}})[_0x1c7ea0(0x98)]()['catch'](log);});},setTimeout(()=>{const _0xa041b4=_0x322d7d;napCatCore[_0xa041b4(0x8c)](()=>{const _0x3bf57c=_0xa041b4;napCatCore[_0x3bf57c(0x81)](msgListener);});},0x64);function _0x3669(){const _0x2040d9=['addListener','setMsgEmojiLikes','toString','onMsgInfoListUpdate','chatType','senderUid','elements','qjIoT','getMsgsBySeqAndCount','udsZI','RCYgH','onLoginSuccess','getMsgService','com.tencent.multimsg','parse','2585475BzXjUS','JmZKc','PjrxE','activateChatAndGetHistory','转发消息超时','setEmojiLike','set','uid','then','getMsgsByMsgId','getMultiMsg','hthKQ','multiForwardMsg','arkElement','310726uMUyqf','888080QBIRqY','nick','activateChat','onAddSendMsg','session','RMHDU','ECuFI','2804YvHSCs','EFmxq','4647hthXgV','setMsgRead','3819326urdNIy','app','HgtTR','forEach','10UOwARk','bbglX','1532585kMzrro','sendMsg','length','sendStatus','24CMzoGj','getMsgsIncludeSelf','forwardMsg','multiForwardMsgWithComment','msgId','62209235ZZSxwP','peerUid','find','Eulxu','BpjIS','otwFC','mxGbj','发送超时','PGGeY','30KtEqeQ'];_0x3669=function(){return _0x2040d9;};return _0x3669();}function _0x404f(_0x29bb16,_0x2a4668){const _0x3669b7=_0x3669();return _0x404f=function(_0x404f9c,_0x482aaf){_0x404f9c=_0x404f9c-0x7e;let _0xf3aa57=_0x3669b7[_0x404f9c];return _0xf3aa57;},_0x404f(_0x29bb16,_0x2a4668);}export class NTQQMsgApi{static async[_0x322d7d(0x95)](_0x40c995,_0x4a3c38,_0x42a6ce,_0x53b946=!![]){const _0x6dc208=_0x322d7d;return _0x42a6ce=_0x42a6ce[_0x6dc208(0x83)](),napCatCore['session']['getMsgService']()[_0x6dc208(0x82)](_0x40c995,_0x4a3c38,_0x42a6ce,_0x42a6ce[_0x6dc208(0xb2)]>0x3?'2':'1',_0x53b946);}static async[_0x322d7d(0x9a)](_0x129ff0,_0x5f22cc,_0x557cd0){return napCatCore['session']['getMsgService']()['getMultiMsg'](_0x129ff0,_0x5f22cc,_0x557cd0);}static async['getMsgsByMsgId'](_0x5e68b8,_0x262bc1){const _0x3ae136=_0x322d7d;return await napCatCore[_0x3ae136(0xa3)][_0x3ae136(0x8d)]()[_0x3ae136(0x99)](_0x5e68b8,_0x262bc1);}static async[_0x322d7d(0x89)](_0xfdeb71,_0x35f264,_0x2516e9,_0xa5ccc8,_0x2bb4d0){const _0x34fca7=_0x322d7d;return await napCatCore['session']['getMsgService']()[_0x34fca7(0x89)](_0xfdeb71,_0x35f264,_0x2516e9,_0xa5ccc8,_0x2bb4d0);}static async[_0x322d7d(0xa1)](_0x386229){}static async[_0x322d7d(0x93)](_0x19b2fa){}static async[_0x322d7d(0xa9)](_0x90bc2a){const _0x533e75=_0x322d7d;return napCatCore[_0x533e75(0xa3)][_0x533e75(0x8d)]()[_0x533e75(0xa9)](_0x90bc2a);}static async['getMsgHistory'](_0x11d0fd,_0x3a991,_0x3c26a8){const _0x6f0112=_0x322d7d;return napCatCore[_0x6f0112(0xa3)][_0x6f0112(0x8d)]()[_0x6f0112(0xb5)](_0x11d0fd,_0x3a991,_0x3c26a8,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x30d351,_0x4d550c){const _0x1978a2=_0x322d7d;await napCatCore[_0x1978a2(0xa3)][_0x1978a2(0x8d)]()['recallMsg']({'chatType':_0x30d351[_0x1978a2(0x85)],'peerUid':_0x30d351['peerUid']},_0x4d550c);}static async[_0x322d7d(0xb1)](_0x19259f,_0x42573,_0x46f597=!![],_0x3f606e=0x2710){const _0x56c8bd=_0x322d7d,_0x4e7dd1={'bbglX':function(_0x2b80f1,_0x49f728){return _0x2b80f1>_0x49f728;},'TAfWo':_0x56c8bd(0x7e),'JmZKc':function(_0x4ea942,_0x59f202){return _0x4ea942(_0x59f202);},'qjIoT':function(_0x1a5f7f){return _0x1a5f7f();},'HcBZr':function(_0x3ca8b1,_0x284cc9){return _0x3ca8b1===_0x284cc9;},'RMHDU':function(_0x6afa4f){return _0x6afa4f();},'iDySm':function(_0x155c10){return _0x155c10();}},_0x438d28=_0x19259f[_0x56c8bd(0xba)];let _0x28f85c=0x0;const _0x4bf2f9=async()=>{const _0xdb4b1c=_0x56c8bd;if(_0x4e7dd1[_0xdb4b1c(0xaf)](_0x28f85c,_0x3f606e))throw _0x4e7dd1['TAfWo'];const _0x2f66d4=sendMessagePool[_0x19259f[_0xdb4b1c(0xba)]];if(_0x2f66d4)return await _0x4e7dd1[_0xdb4b1c(0x91)](sleep,0x1f4),_0x28f85c+=0x1f4,await _0x4e7dd1[_0xdb4b1c(0x88)](_0x4bf2f9);else return;};return await _0x4e7dd1['iDySm'](_0x4bf2f9),new Promise((_0x556f2f,_0x3365b5)=>{const _0x576941=_0x56c8bd,_0x432f54={'ECuFI':function(_0x521657,_0x25a7dd){return _0x521657===_0x25a7dd;},'PGGeY':function(_0x47a0ef,_0x24068f){return _0x4e7dd1['HcBZr'](_0x47a0ef,_0x24068f);},'otwFC':function(_0x244798,_0x3b7356){const _0x2df2ac=_0x404f;return _0x4e7dd1[_0x2df2ac(0x91)](_0x244798,_0x3b7356);},'hthKQ':function(_0x23fd2d,_0x25f557){const _0x42542c=_0x404f;return _0x4e7dd1[_0x42542c(0x91)](_0x23fd2d,_0x25f557);}};let _0x448578=![],_0x3477a4=null;const _0x2efb8e=_0x4e7dd1[_0x576941(0xa4)](randomUUID);sendSuccessCBMap[_0x2efb8e]=_0x4df10b=>{const _0x48a200=_0x576941;if(_0x432f54[_0x48a200(0xa5)](_0x4df10b[_0x48a200(0xb8)],_0x3477a4?.[_0x48a200(0xb8)])){if(_0x432f54[_0x48a200(0x7f)](_0x4df10b[_0x48a200(0xb3)],0x2))return delete sendSuccessCBMap[_0x2efb8e],_0x448578=!![],_0x432f54[_0x48a200(0xbe)](_0x556f2f,_0x4df10b),!![];return![];}return![];},sendMessagePool[_0x438d28]=async _0x2128fd=>{delete sendMessagePool[_0x438d28],_0x3477a4=_0x2128fd;},setTimeout(()=>{const _0x566bf9=_0x576941;if(_0x448578)return;delete sendMessagePool[_0x438d28],delete sendSuccessCBMap[_0x2efb8e],_0x432f54[_0x566bf9(0x9b)](_0x3365b5,'发送超时');},_0x3f606e);const _0x3b1067=napCatCore[_0x576941(0xa3)][_0x576941(0x8d)]()[_0x576941(0xb1)]('0',_0x19259f,_0x42573,new Map());});}static async[_0x322d7d(0xb6)](_0x49b924,_0x1dad38,_0x53d932){const _0x365720=_0x322d7d;return napCatCore['session']['getMsgService']()[_0x365720(0xb6)](_0x53d932,_0x49b924,[_0x1dad38],new Map());}static async[_0x322d7d(0x9c)](_0x3653fe,_0x3b376b,_0x7eeee9){const _0x42e0fe=_0x322d7d,_0xfccd1={'HgtTR':function(_0x5b08f5,_0x4ab8c5){return _0x5b08f5!=_0x4ab8c5;},'mxGbj':_0x42e0fe(0x8e),'LYvwn':function(_0x4e0f39,_0x317161){return _0x4e0f39==_0x317161;},'ZeNRh':function(_0x2171db,_0x348674){return _0x2171db(_0x348674);},'EFmxq':function(_0x411092,_0x299187){return _0x411092(_0x299187);},'RCYgH':_0x42e0fe(0x94),'PjrxE':function(_0x5823d4){return _0x5823d4();}},_0x547540=_0x7eeee9['map'](_0x5755c2=>{const _0x6f0f10=_0x42e0fe;return{'msgId':_0x5755c2,'senderShowName':selfInfo[_0x6f0f10(0xa0)]};});return new Promise((_0x1bad9d,_0x24fcfc)=>{const _0xa4d4f8=_0x42e0fe;let _0x18089a=![];const _0x8095df=_0x59afd5=>{const _0x48689d=_0x404f,_0x47cc75=_0x59afd5[_0x48689d(0x87)][_0x48689d(0xbb)](_0x403948=>_0x403948[_0x48689d(0x9d)]);if(!_0x47cc75)return;const _0x3617e2=JSON[_0x48689d(0x8f)](_0x47cc75[_0x48689d(0x9d)]['bytesData']);if(_0xfccd1[_0x48689d(0xac)](_0x3617e2[_0x48689d(0xab)],_0xfccd1[_0x48689d(0xbf)]))return;_0x59afd5['peerUid']==_0x3b376b[_0x48689d(0xba)]&&_0xfccd1['LYvwn'](_0x59afd5[_0x48689d(0x86)],selfInfo[_0x48689d(0x97)])&&(_0x18089a=!![],_0xfccd1['ZeNRh'](_0x1bad9d,_0x59afd5));};sentMsgTasks[_0xa4d4f8(0x96)](_0xfccd1[_0xa4d4f8(0x92)](randomUUID),_0x8095df),setTimeout(()=>{const _0x1276e4=_0xa4d4f8;!_0x18089a&&_0xfccd1[_0x1276e4(0xa7)](_0x24fcfc,_0xfccd1[_0x1276e4(0x8b)]);},0x1388),napCatCore[_0xa4d4f8(0xa3)][_0xa4d4f8(0x8d)]()[_0xa4d4f8(0xb7)](_0x547540,_0x3653fe,_0x3b376b,[],new Map());});}} \ No newline at end of file +const _0x164336=_0x67ec;(function(_0x5ac9cb,_0x3b382b){const _0x288adf=_0x67ec,_0xc44baf=_0x5ac9cb();while(!![]){try{const _0x361d9c=parseInt(_0x288adf(0x219))/0x1*(-parseInt(_0x288adf(0x1f6))/0x2)+-parseInt(_0x288adf(0x1eb))/0x3*(-parseInt(_0x288adf(0x1e6))/0x4)+-parseInt(_0x288adf(0x1fa))/0x5*(-parseInt(_0x288adf(0x20c))/0x6)+-parseInt(_0x288adf(0x1f9))/0x7+-parseInt(_0x288adf(0x1e9))/0x8+-parseInt(_0x288adf(0x21a))/0x9+parseInt(_0x288adf(0x209))/0xa*(parseInt(_0x288adf(0x1ff))/0xb);if(_0x361d9c===_0x3b382b)break;else _0xc44baf['push'](_0xc44baf['shift']());}catch(_0x1d5ed7){_0xc44baf['push'](_0xc44baf['shift']());}}}(_0x1b23,0x94482));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x67ec(_0x178041,_0x251638){const _0x1b236b=_0x1b23();return _0x67ec=function(_0x67ec15,_0x5b898d){_0x67ec15=_0x67ec15-0x1df;let _0x4e9fd7=_0x1b236b[_0x67ec15];return _0x4e9fd7;},_0x67ec(_0x178041,_0x251638);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x1b23(){const _0x5b9724=['HgVJy','PdqPB','getMsgsIncludeSelf','2372556ijojGs','YQdda','onLoginSuccess','3767256EOLzFM','oKqDk','3YbutUo','npBwd','jyHrf','parse','Jgdiz','uXASE','uid','arkElement','senderUid','catch','HOcrh','32218aLPUiv','peerUid','转发消息超时','3690260FthqNx','1356755EbRrcU','lQbMD','msgId','onAddSendMsg','tQbDo','1614602sUDIrO','multiForwardMsg','nick','session','forwardMsg','delete','sendMsg','Oddev','HTnMB','发送超时','170menesW','XSfzz','then','6iqmVIA','set','com.tencent.multimsg','chatType','getMsgsByMsgId','elements','onMsgInfoListUpdate','setMsgEmojiLikes','SViOC','activateChatAndGetHistory','sendStatus','qxBWV','getMultiMsg','59QAFWNT','7235136iXGONz','map','find','getMsgService','getMsgsBySeqAndCount','multiForwardMsgWithComment','recallMsg','forEach','fetchRecentContact','setEmojiLike','qGDGA','setMsgRead'];_0x1b23=function(){return _0x5b9724;};return _0x1b23();}const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x164336(0x1fd)]=_0x333c31=>{const _0x5411d1=_0x164336,_0x5b36bd={'HgVJy':function(_0x2b3b0e,_0x90b4b8){return _0x2b3b0e instanceof _0x90b4b8;}};for(const [_0x4bbbc4,_0x25eaf5]of sentMsgTasks){_0x25eaf5(_0x333c31),sentMsgTasks[_0x5411d1(0x204)](_0x4bbbc4);}if(sendMessagePool[_0x333c31['peerUid']]){const _0x41ba05=sendMessagePool[_0x333c31[_0x5411d1(0x1f7)]]?.(_0x333c31);_0x5b36bd[_0x5411d1(0x1e3)](_0x41ba05,Promise)&&_0x41ba05[_0x5411d1(0x20b)]()[_0x5411d1(0x1f4)](logError);}},msgListener[_0x164336(0x212)]=_0x4a335a=>{const _0x313ebe=_0x164336,_0x2af9c0={'TpeyD':function(_0x2a48d3,_0x4d1ff7){return _0x2a48d3(_0x4d1ff7);},'tQbDo':function(_0x121c85,_0x3b1804){return _0x121c85 instanceof _0x3b1804;}};_0x4a335a[_0x313ebe(0x221)](_0x4d11ce=>{const _0x4cd891=_0x313ebe,_0x2fcfd4={'jyHrf':function(_0x5774cc,_0x32f66d){return _0x2af9c0['TpeyD'](_0x5774cc,_0x32f66d);},'Oddev':function(_0x6af6d2,_0x4adabd){const _0x2d1900=_0x67ec;return _0x2af9c0[_0x2d1900(0x1fe)](_0x6af6d2,_0x4adabd);}};new Promise((_0x7c928f,_0x4ea86f)=>{const _0x31ffc0=_0x67ec;for(const _0x178a9d in sendSuccessCBMap){const _0x5a298d=sendSuccessCBMap[_0x178a9d],_0x1d07d2=_0x2fcfd4[_0x31ffc0(0x1ed)](_0x5a298d,_0x4d11ce),_0x2d490a=_0x2bd559=>{_0x2bd559&&delete sendSuccessCBMap[_0x178a9d];};_0x2fcfd4[_0x31ffc0(0x206)](_0x1d07d2,Promise)?_0x1d07d2[_0x31ffc0(0x20b)](_0x2d490a):_0x2fcfd4['jyHrf'](_0x2d490a,_0x1d07d2);}})['then']()[_0x4cd891(0x1f4)](log);});},setTimeout(()=>{const _0x109ec5=_0x164336;napCatCore[_0x109ec5(0x1e8)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x164336(0x1e0)](_0xcd94ec,_0x90e38f,_0x1f406a,_0x32959b=!![]){const _0x5d5841=_0x164336,_0x5c946d={'PdqPB':function(_0x2de22d,_0xdbfb2a){return _0x2de22d>_0xdbfb2a;}};return _0x1f406a=_0x1f406a['toString'](),napCatCore['session'][_0x5d5841(0x21d)]()[_0x5d5841(0x213)](_0xcd94ec,_0x90e38f,_0x1f406a,_0x5c946d[_0x5d5841(0x1e4)](_0x1f406a['length'],0x3)?'2':'1',_0x32959b);}static async[_0x164336(0x218)](_0x3ea536,_0x529e65,_0x2f1ec6){const _0x1e064f=_0x164336;return napCatCore['session'][_0x1e064f(0x21d)]()[_0x1e064f(0x218)](_0x3ea536,_0x529e65,_0x2f1ec6);}static async['getMsgsByMsgId'](_0x38dcd0,_0x54f563){const _0x1479a0=_0x164336;return await napCatCore['session'][_0x1479a0(0x21d)]()[_0x1479a0(0x210)](_0x38dcd0,_0x54f563);}static async['getMsgsBySeqAndCount'](_0x226fdf,_0x59ddf4,_0x5a370e,_0x3045a0,_0x20ca1d){const _0xcb5ce=_0x164336;return await napCatCore[_0xcb5ce(0x202)]['getMsgService']()[_0xcb5ce(0x21e)](_0x226fdf,_0x59ddf4,_0x5a370e,_0x3045a0,_0x20ca1d);}static async['activateChat'](_0x128dcf){}static async[_0x164336(0x215)](_0x312c9f){}static async[_0x164336(0x1e2)](_0x123b88){const _0xf9c8c0=_0x164336;return napCatCore['session'][_0xf9c8c0(0x21d)]()[_0xf9c8c0(0x1e2)](_0x123b88);}static async['getMsgHistory'](_0x258172,_0x4b5338,_0x4b32ea){const _0x45c79b=_0x164336;return napCatCore[_0x45c79b(0x202)][_0x45c79b(0x21d)]()[_0x45c79b(0x1e5)](_0x258172,_0x4b5338,_0x4b32ea,!![]);}static async[_0x164336(0x1df)](){}static async[_0x164336(0x220)](_0x4d84ed,_0x462156){const _0x3db827=_0x164336;await napCatCore['session'][_0x3db827(0x21d)]()[_0x3db827(0x220)]({'chatType':_0x4d84ed[_0x3db827(0x20f)],'peerUid':_0x4d84ed[_0x3db827(0x1f7)]},_0x462156);}static async['sendMsg'](_0xd12582,_0x2979ef,_0x1ed060=!![],_0x4f18f0=0x2710){const _0x499fa3=_0x164336,_0x39d536={'npBwd':function(_0x3c37cf,_0x4fd600){return _0x3c37cf>_0x4fd600;},'XSfzz':_0x499fa3(0x208),'Wyfcz':function(_0x32ac8d,_0x2185cd){return _0x32ac8d===_0x2185cd;},'lQbMD':function(_0x3ac5a7,_0x329986){return _0x3ac5a7(_0x329986);},'HTnMB':function(_0x126d8e,_0x3b5e74,_0x191683){return _0x126d8e(_0x3b5e74,_0x191683);}},_0x52ed06=_0xd12582[_0x499fa3(0x1f7)];let _0x4dfd26=0x0;const _0xb0e393=async()=>{const _0x47ad97=_0x499fa3;if(_0x39d536[_0x47ad97(0x1ec)](_0x4dfd26,_0x4f18f0))throw _0x39d536[_0x47ad97(0x20a)];const _0x2c0d48=sendMessagePool[_0xd12582[_0x47ad97(0x1f7)]];if(_0x2c0d48)return await sleep(0x1f4),_0x4dfd26+=0x1f4,await _0xb0e393();else return;};return await _0xb0e393(),new Promise((_0x10ea9e,_0x86f6d9)=>{const _0x45b134=_0x499fa3;let _0x336d98=![],_0x24b131=null;const _0x31686f=randomUUID();sendSuccessCBMap[_0x31686f]=_0x1773ae=>{const _0x43adcb=_0x67ec;if(_0x39d536['Wyfcz'](_0x1773ae[_0x43adcb(0x1fc)],_0x24b131?.[_0x43adcb(0x1fc)])){if(_0x1773ae[_0x43adcb(0x216)]===0x2)return delete sendSuccessCBMap[_0x31686f],_0x336d98=!![],_0x39d536[_0x43adcb(0x1fb)](_0x10ea9e,_0x1773ae),!![];return![];}return![];},sendMessagePool[_0x52ed06]=async _0x412022=>{delete sendMessagePool[_0x52ed06],_0x24b131=_0x412022;},_0x39d536[_0x45b134(0x207)](setTimeout,()=>{const _0x111656=_0x45b134;if(_0x336d98)return;delete sendMessagePool[_0x52ed06],delete sendSuccessCBMap[_0x31686f],_0x39d536[_0x111656(0x1fb)](_0x86f6d9,_0x111656(0x208));},_0x4f18f0);const _0x52478c=napCatCore[_0x45b134(0x202)][_0x45b134(0x21d)]()[_0x45b134(0x205)]('0',_0xd12582,_0x2979ef,new Map());});}static async[_0x164336(0x203)](_0xb358f,_0x5edc7d,_0x12723a){const _0x45b3ab=_0x164336;return napCatCore[_0x45b3ab(0x202)]['getMsgService']()[_0x45b3ab(0x203)](_0x12723a,_0xb358f,[_0x5edc7d],new Map());}static async[_0x164336(0x200)](_0x4257b5,_0x29a79c,_0x10761a){const _0x386202=_0x164336,_0x35508b={'uXASE':function(_0x8bba6a,_0x4c3e77){return _0x8bba6a!=_0x4c3e77;},'Jgdiz':_0x386202(0x20e),'CqErE':function(_0x3a8bab,_0x348a1b){return _0x3a8bab==_0x348a1b;},'nVwxO':function(_0xfb2177,_0x4c9acf){return _0xfb2177(_0x4c9acf);},'RAFpZ':function(_0x53b383,_0x2c6d4d){return _0x53b383(_0x2c6d4d);},'qxBWV':function(_0x59fa5e){return _0x59fa5e();}},_0x121090=_0x10761a[_0x386202(0x21b)](_0x37dd0a=>{const _0x5afe92=_0x386202;return{'msgId':_0x37dd0a,'senderShowName':selfInfo[_0x5afe92(0x201)]};});return new Promise((_0x1d1ac0,_0x423122)=>{const _0x34cb0e=_0x386202,_0x4c1d90={'SViOC':function(_0xccf2d8,_0x2b927c){const _0x225e92=_0x67ec;return _0x35508b[_0x225e92(0x1f0)](_0xccf2d8,_0x2b927c);},'YQdda':_0x35508b[_0x34cb0e(0x1ef)],'oKqDk':function(_0x15aee6,_0x5b6ddf){return _0x35508b['CqErE'](_0x15aee6,_0x5b6ddf);},'qGDGA':function(_0x29c960,_0x441c2e){return _0x35508b['nVwxO'](_0x29c960,_0x441c2e);},'HOcrh':function(_0x4cac69,_0x25985e){return _0x35508b['RAFpZ'](_0x4cac69,_0x25985e);}};let _0x4772bc=![];const _0x352b80=_0x378919=>{const _0x2b401b=_0x34cb0e,_0x59355b=_0x378919[_0x2b401b(0x211)][_0x2b401b(0x21c)](_0x45daa8=>_0x45daa8[_0x2b401b(0x1f2)]);if(!_0x59355b)return;const _0x2671cb=JSON[_0x2b401b(0x1ee)](_0x59355b[_0x2b401b(0x1f2)]['bytesData']);if(_0x4c1d90[_0x2b401b(0x214)](_0x2671cb['app'],_0x4c1d90[_0x2b401b(0x1e7)]))return;_0x4c1d90[_0x2b401b(0x1ea)](_0x378919[_0x2b401b(0x1f7)],_0x29a79c[_0x2b401b(0x1f7)])&&_0x378919[_0x2b401b(0x1f3)]==selfInfo[_0x2b401b(0x1f1)]&&(_0x4772bc=!![],_0x4c1d90[_0x2b401b(0x1e1)](_0x1d1ac0,_0x378919));};sentMsgTasks[_0x34cb0e(0x20d)](_0x35508b[_0x34cb0e(0x217)](randomUUID),_0x352b80),setTimeout(()=>{const _0x2e9882=_0x34cb0e;!_0x4772bc&&_0x4c1d90[_0x2e9882(0x1f5)](_0x423122,_0x2e9882(0x1f8));},0x1388),napCatCore[_0x34cb0e(0x202)][_0x34cb0e(0x21d)]()[_0x34cb0e(0x21f)](_0x121090,_0x4257b5,_0x29a79c,[],new Map());});}} \ 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 c51819c1..79862983 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x5b9f(_0x13a3d0,_0x4c60a0){var _0x1f6683=_0x1f66();return _0x5b9f=function(_0x5b9f0c,_0x5b76b9){_0x5b9f0c=_0x5b9f0c-0x133;var _0x2da1e0=_0x1f6683[_0x5b9f0c];return _0x2da1e0;},_0x5b9f(_0x13a3d0,_0x4c60a0);}(function(_0x1a055c,_0x47eb29){var _0x56dfcf=_0x5b9f,_0x2d8095=_0x1a055c();while(!![]){try{var _0x49b20c=-parseInt(_0x56dfcf(0x13e))/0x1*(-parseInt(_0x56dfcf(0x13b))/0x2)+-parseInt(_0x56dfcf(0x138))/0x3+parseInt(_0x56dfcf(0x136))/0x4*(parseInt(_0x56dfcf(0x139))/0x5)+-parseInt(_0x56dfcf(0x13d))/0x6*(-parseInt(_0x56dfcf(0x13a))/0x7)+-parseInt(_0x56dfcf(0x137))/0x8+-parseInt(_0x56dfcf(0x133))/0x9*(parseInt(_0x56dfcf(0x134))/0xa)+parseInt(_0x56dfcf(0x135))/0xb;if(_0x49b20c===_0x47eb29)break;else _0x2d8095['push'](_0x2d8095['shift']());}catch(_0x423973){_0x2d8095['push'](_0x2d8095['shift']());}}}(_0x1f66,0x23188));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x3a50ca=_0x5b9f;return napCatCore['util'][_0x3a50ca(0x13c)]();}}function _0x1f66(){var _0x38536a=['7QAyBcl','50510bGuQxE','hasOtherRunningQQProcess','785934dChesA','5NXHXgB','21798VrnbRC','720FdSqjn','579832qzYHUe','741072oskWeE','68176fEJtYE','505758PqtJSc','5OnLtTd'];_0x1f66=function(){return _0x38536a;};return _0x1f66();} \ No newline at end of file +(function(_0x45f63d,_0x1b96c2){var _0x27a84d=_0x4af0,_0x3bb1e9=_0x45f63d();while(!![]){try{var _0x492ff6=-parseInt(_0x27a84d(0x16f))/0x1+-parseInt(_0x27a84d(0x164))/0x2*(parseInt(_0x27a84d(0x166))/0x3)+-parseInt(_0x27a84d(0x165))/0x4*(parseInt(_0x27a84d(0x168))/0x5)+parseInt(_0x27a84d(0x170))/0x6+parseInt(_0x27a84d(0x16a))/0x7+parseInt(_0x27a84d(0x16e))/0x8*(parseInt(_0x27a84d(0x16d))/0x9)+parseInt(_0x27a84d(0x16c))/0xa*(-parseInt(_0x27a84d(0x169))/0xb);if(_0x492ff6===_0x1b96c2)break;else _0x3bb1e9['push'](_0x3bb1e9['shift']());}catch(_0x2b31f6){_0x3bb1e9['push'](_0x3bb1e9['shift']());}}}(_0x31ed,0x552bd));function _0x4af0(_0x26646e,_0x1fec93){var _0x31edba=_0x31ed();return _0x4af0=function(_0x4af0a1,_0x160484){_0x4af0a1=_0x4af0a1-0x164;var _0x1326df=_0x31edba[_0x4af0a1];return _0x1326df;},_0x4af0(_0x26646e,_0x1fec93);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x59f319=_0x4af0;return napCatCore[_0x59f319(0x16b)][_0x59f319(0x167)]();}}function _0x31ed(){var _0x1740b6=['870hOgOeh','18rKWnsq','1547800fWTtcT','83525WtHEMT','3611556USwSbW','578742gXuufk','607672zJIOkr','3TjZtOY','hasOtherRunningQQProcess','10zzNBqi','15026wiSQuE','1088913hwLzNI','util'];_0x31ed=function(){return _0x1740b6;};return _0x31ed();} \ 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 c2a7312c..cb0be989 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x43fba0=_0x30de;(function(_0x1ac75a,_0x16ab3c){const _0x2927ea=_0x30de,_0x590401=_0x1ac75a();while(!![]){try{const _0x5056e4=parseInt(_0x2927ea(0x9a))/0x1+parseInt(_0x2927ea(0xa7))/0x2*(-parseInt(_0x2927ea(0x98))/0x3)+-parseInt(_0x2927ea(0xbd))/0x4+-parseInt(_0x2927ea(0x90))/0x5*(-parseInt(_0x2927ea(0xa6))/0x6)+parseInt(_0x2927ea(0xc9))/0x7+-parseInt(_0x2927ea(0xc5))/0x8+parseInt(_0x2927ea(0x8b))/0x9;if(_0x5056e4===_0x16ab3c)break;else _0x590401['push'](_0x590401['shift']());}catch(_0x2a4abd){_0x590401['push'](_0x590401['shift']());}}}(_0x3ef1,0xde039));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';function _0x3ef1(){const _0x266d67=['getMsgService','length','forEach','3420KfpLqI','2JRazWf','onProfileDetailInfoChanged','mZhcH','setStatus','robotUinRanges','entries','session','dpPDv','vVCJv','CreatTime','uid','JtvWt','VEhnt','assign','PskeyTime','HttpsGetCookies','getTicketService','请求获取Skey时失败','setBuddyProfileLike','dQfmK','iDYzJ','now','2344232ZaOrDs','bojOx','onLoginSuccess','result','ZYbRw','response','getPSkey','setHeader','3704696oLaUNY','aZTHk','PSuff','OfMVv','8231979FUjFDY','wtvfS','get','fromEntries','getProfileLikeService','7096716YDITqE','forceFetchClientKey','getProfileService','clientKey','XJbeV','4630ZYbhLW','OGruZ','PskeyData','uin','&clientkey=','set','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getRobotUinRange','3798891ylUdBi','Skey','732470uqAscu','delete','setSelfOnlineStatus','errMsg','ChtRM','push','getSelfInfo','kTXGC','keyIndex'];_0x3ef1=function(){return _0x266d67;};return _0x3ef1();}function _0x30de(_0x7cef7c,_0xb4b146){const _0x3ef10f=_0x3ef1();return _0x30de=function(_0x30de34,_0x596e34){_0x30de34=_0x30de34-0x8a;let _0x436e04=_0x3ef10f[_0x30de34];return _0x436e04;},_0x30de(_0x7cef7c,_0xb4b146);}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x43fba0(0xa8)]=_0x4feee3=>{const _0x355437=_0x43fba0;userInfoCache[_0x4feee3[_0x355437(0xb1)]]=_0x4feee3,userDetailHandlers[_0x355437(0xa5)](_0x269934=>_0x269934(_0x4feee3));},setTimeout(()=>{const _0x10cfd8=_0x43fba0;napCatCore[_0x10cfd8(0xbf)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x43fba0(0x9c)](_0x1c2b4c,_0x194bd6,_0x5a6fdb){const _0x345023=_0x43fba0;return napCatCore[_0x345023(0xad)][_0x345023(0xa3)]()[_0x345023(0xaa)]({'status':_0x1c2b4c,'extStatus':_0x194bd6,'batteryStatus':_0x5a6fdb});}static async['like'](_0x55f267,_0x5aeec9=0x1){const _0x38d5e9=_0x43fba0;return napCatCore[_0x38d5e9(0xad)][_0x38d5e9(0x8a)]()[_0x38d5e9(0xb9)]({'friendUid':_0x55f267,'sourceId':0x47,'doLikeCount':_0x5aeec9,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x50f180){const _0x10fe0a=_0x43fba0,_0x3cc5c2=napCatCore['session'][_0x10fe0a(0x8d)]()[_0x10fe0a(0xc4)](_0x50f180);return{'result':_0x3cc5c2?.[_0x10fe0a(0xc0)],'errMsg':_0x3cc5c2?.['errMsg']};}static async[_0x43fba0(0xa0)](){}static async['getUserInfo'](_0x2e83ca){}static async['getUserDetailInfo'](_0x560d36){const _0x4172b9=_0x43fba0,_0x1e18c6={'mZhcH':function(_0x87b405,_0x1ffd52){return _0x87b405(_0x1ffd52);},'aZTHk':function(_0x5fccb1,_0x28630f){return _0x5fccb1===_0x28630f;},'vVCJv':function(_0x243e8e,_0x387fac,_0x4678d2){return _0x243e8e(_0x387fac,_0x4678d2);}},_0x52a0e4=napCatCore[_0x4172b9(0xad)]['getProfileService']();return new Promise((_0x184904,_0x5526ae)=>{const _0x4cef5d=_0x4172b9,_0x584baf={'jdYlz':function(_0x4fc7a9,_0x2ba01c){return _0x1e18c6['mZhcH'](_0x4fc7a9,_0x2ba01c);},'dQfmK':'getUserDetailInfo\x20timeout','JtvWt':function(_0x89cc6d,_0x3ac12f){const _0x4061fa=_0x30de;return _0x1e18c6[_0x4061fa(0xc6)](_0x89cc6d,_0x3ac12f);},'kTXGC':function(_0x5b6772,_0xabbb2e){const _0x4f47ac=_0x30de;return _0x1e18c6[_0x4f47ac(0xa9)](_0x5b6772,_0xabbb2e);}},_0x357bb5=randomUUID();let _0x52f592=![];_0x1e18c6[_0x4cef5d(0xaf)](setTimeout,()=>{const _0x24edda=_0x4cef5d;!_0x52f592&&_0x584baf['jdYlz'](_0x5526ae,_0x584baf[_0x24edda(0xba)]);},0x1388),userDetailHandlers[_0x4cef5d(0x95)](_0x357bb5,_0x1793c3=>{const _0x14effb=_0x4cef5d;_0x584baf[_0x14effb(0xb2)](_0x1793c3[_0x14effb(0xb1)],_0x560d36)&&(_0x52f592=!![],userDetailHandlers[_0x14effb(0x9b)](_0x357bb5),uid2UinMap[_0x560d36]=_0x1793c3[_0x14effb(0x93)],_0x584baf[_0x14effb(0xa1)](_0x184904,_0x1793c3));}),_0x52a0e4['getUserDetailInfoWithBizInfo'](_0x560d36,[0x0])['then'](_0x6e4ae1=>{});});}static async[_0x43fba0(0xc3)](_0x5b2343,_0x3455b4=!![]){const _0x41d10e=_0x43fba0,_0x3c1913={'ChtRM':function(_0x20f2e2,_0x4e5539){return _0x20f2e2||_0x4e5539;},'OGruZ':function(_0x24f661,_0x31852d){return _0x24f661>_0x31852d;},'wtvfS':function(_0x3a3e6d,_0x18ec68){return _0x3a3e6d*_0x18ec68;},'ZYbRw':function(_0x42679a,_0x1935dc){return _0x42679a===_0x1935dc;},'RhOgF':function(_0x464f23,_0x1384a8,_0x33e889){return _0x464f23(_0x1384a8,_0x33e889);}},_0x5ad618=[],_0x53452a={};for(const _0x2b1855 in _0x5b2343){const _0xe0f1b9=Credentials['PskeyData']['get'](_0x5b2343[_0x2b1855]),_0x71b9e6=Credentials['PskeyTime']['get'](_0x5b2343[_0x2b1855]);_0x3c1913[_0x41d10e(0x9e)](!_0xe0f1b9,!_0x71b9e6)||_0x3c1913[_0x41d10e(0x91)](Date[_0x41d10e(0xbc)]()-_0x71b9e6,_0x3c1913[_0x41d10e(0xca)](0x708,0x3e8))||!_0x3455b4?_0x5ad618[_0x41d10e(0x9f)](_0x5b2343[_0x2b1855]):_0x53452a[_0x5b2343[_0x2b1855]]=_0xe0f1b9;}let _0x22117c={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5ad618[_0x41d10e(0xa4)]>0x0&&(_0x22117c=await napCatCore[_0x41d10e(0xad)]['getTipOffService']()['getPskey'](_0x5ad618,!![]));const _0xd789ad=_0x22117c['domainPskeyMap'];for(const _0x185e74 of _0xd789ad[_0x41d10e(0xac)]()){Credentials[_0x41d10e(0x92)][_0x41d10e(0x95)](_0x185e74[0x0],_0x185e74[0x1]),Credentials[_0x41d10e(0xb5)]['set'](_0x185e74[0x0],Date['now']());}const _0x3ecd26=Object[_0x41d10e(0xb4)](Object[_0x41d10e(0xcc)](_0xd789ad),_0x53452a);if(_0x3c1913[_0x41d10e(0xc1)](_0x22117c[_0x41d10e(0xc0)],0x0))return _0x3ecd26;else _0x3c1913['RhOgF'](logError,'获取Pskey失败',_0x22117c[_0x41d10e(0x9d)]);return{};}static async['getRobotUinRange'](){const _0x3335a0=_0x43fba0,_0x2cf9c5=await napCatCore[_0x3335a0(0xad)]['getRobotService']()[_0x3335a0(0x97)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2cf9c5?.[_0x3335a0(0xc2)]?.[_0x3335a0(0xab)];}static async['getSkey'](_0x4481f9=!![]){const _0x4a6a92=_0x43fba0,_0x5e6069={'nDBro':function(_0x2b7bd8,_0x14745e){return _0x2b7bd8==_0x14745e;},'iDYzJ':function(_0x444fb5,_0x448a4b){return _0x444fb5-_0x448a4b;},'vdjcs':function(_0x301880,_0x2127d1){return _0x301880!==_0x2127d1;},'OfMVv':function(_0x1141ef,_0x18c063){return _0x1141ef+_0x18c063;},'XJbeV':function(_0x5e4772,_0x4686cf){return _0x5e4772+_0x4686cf;},'ccfkX':_0x4a6a92(0x94),'dpPDv':_0x4a6a92(0x96),'VEhnt':function(_0x10a123,_0x1fd351,_0x3d5e58){return _0x10a123(_0x1fd351,_0x3d5e58);},'PSuff':_0x4a6a92(0xb8),'bojOx':'skey'};try{if(_0x5e6069['nDBro'](Credentials[_0x4a6a92(0xb0)],0x0)||_0x5e6069[_0x4a6a92(0xbb)](Date['now'](),Credentials[_0x4a6a92(0xb0)])>0x3e8*0xe10||!_0x4481f9){const _0x5cec32=await napCatCore[_0x4a6a92(0xad)][_0x4a6a92(0xb7)]()[_0x4a6a92(0x8c)]('');if(_0x5e6069['vdjcs'](_0x5cec32[_0x4a6a92(0xc0)],0x0))return'';const _0x429793=_0x5cec32[_0x4a6a92(0x8e)],_0x11c3d5=_0x5cec32[_0x4a6a92(0xa2)],_0x3a7ba9=_0x5e6069[_0x4a6a92(0xc8)](_0x5e6069[_0x4a6a92(0x8f)](_0x5e6069[_0x4a6a92(0x8f)](_0x5e6069['XJbeV']('https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin='+selfInfo[_0x4a6a92(0x93)],_0x5e6069['ccfkX']),_0x429793),_0x5e6069[_0x4a6a92(0xae)]),_0x11c3d5);let _0x1b2bb3;try{_0x1b2bb3=await RequestUtil[_0x4a6a92(0xb6)](_0x3a7ba9);}catch(_0x3dde8b){_0x5e6069[_0x4a6a92(0xb3)](logDebug,_0x5e6069[_0x4a6a92(0xc7)],_0x3dde8b),_0x1b2bb3=new Map();}const _0x52866b=_0x1b2bb3[_0x4a6a92(0xcb)](_0x5e6069[_0x4a6a92(0xbe)]);if(!_0x52866b)return'';return Credentials[_0x4a6a92(0xb0)]=Date[_0x4a6a92(0xbc)](),Credentials[_0x4a6a92(0x99)]=_0x52866b,_0x52866b;}return Credentials['Skey'];}catch(_0x35bbfc){}return undefined;}} \ No newline at end of file +function _0x12f5(){const _0x58c0d6=['8pVApuH','getSelfInfo','uin','BviaD','rrlat','fromEntries','then','IfmHz','addListener','QuXnd','rKaKK','hOqNK','请求获取Skey时失败','keyIndex','318180qARfVQ','skey','getPSkey','get','CreatTime','getSkey','getPskey','30syjANy','825975ZyUWIm','getTicketService','getRobotUinRange','push','setStatus','setQQAvatar','bNuKJ','assign','THBxV','getUserDetailInfo\x20timeout','PskeyData','361827Muuwji','getProfileLikeService','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','uVEhm','getUserDetailInfo','response','176XzkCcW','setHeader','session','AaBWH','getTipOffService','12OUlAHo','sCkFP','2276085oaiQSv','MtELk','errMsg','1463ebDufK','set','3234616nTsOsx','Skey','HttpsGetCookies','1018lbweZo','clientKey','result','now','length','RciqI','1628949WGpZIO','robotUinRanges','PskeyTime','getProfileService','uid','AUkCw','HPpNP','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','UBqkM','domainPskeyMap','setSelfOnlineStatus'];_0x12f5=function(){return _0x58c0d6;};return _0x12f5();}const _0x1a662b=_0x31a9;(function(_0x4ac19b,_0x28609c){const _0xcd7bf5=_0x31a9,_0x44f490=_0x4ac19b();while(!![]){try{const _0x585c47=-parseInt(_0xcd7bf5(0xc9))/0x1*(parseInt(_0xcd7bf5(0xce))/0x2)+parseInt(_0xcd7bf5(0xf5))/0x3*(parseInt(_0xcd7bf5(0xdf))/0x4)+parseInt(_0xcd7bf5(0x10d))/0x5+-parseInt(_0xcd7bf5(0x10b))/0x6*(parseInt(_0xcd7bf5(0xd4))/0x7)+parseInt(_0xcd7bf5(0xcb))/0x8+-parseInt(_0xcd7bf5(0x100))/0x9*(parseInt(_0xcd7bf5(0xf4))/0xa)+parseInt(_0xcd7bf5(0x106))/0xb*(parseInt(_0xcd7bf5(0xed))/0xc);if(_0x585c47===_0x28609c)break;else _0x44f490['push'](_0x44f490['shift']());}catch(_0x31086f){_0x44f490['push'](_0x44f490['shift']());}}}(_0x12f5,0x7afc0));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x31a9(_0x4b1799,_0x1a6c9b){const _0x12f598=_0x12f5();return _0x31a9=function(_0x31a9dd,_0x37ea6c){_0x31a9dd=_0x31a9dd-0xc7;let _0x23af02=_0x12f598[_0x31a9dd];return _0x23af02;},_0x31a9(_0x4b1799,_0x1a6c9b);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x8726b4=>{const _0x2175ff=_0x31a9;userInfoCache[_0x8726b4[_0x2175ff(0xd8)]]=_0x8726b4,userDetailHandlers['forEach'](_0x43ff89=>_0x43ff89(_0x8726b4));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x212ebf=_0x31a9;napCatCore[_0x212ebf(0xe7)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x1a662b(0xde)](_0x12452f,_0x399d1d,_0x334647){const _0x22a3d3=_0x1a662b;return napCatCore[_0x22a3d3(0x108)]['getMsgService']()[_0x22a3d3(0xf9)]({'status':_0x12452f,'extStatus':_0x399d1d,'batteryStatus':_0x334647});}static async['like'](_0x4435aa,_0x113bda=0x1){const _0x2e422e=_0x1a662b;return napCatCore[_0x2e422e(0x108)][_0x2e422e(0x101)]()['setBuddyProfileLike']({'friendUid':_0x4435aa,'sourceId':0x47,'doLikeCount':_0x113bda,'doLikeTollCount':0x0});}static async[_0x1a662b(0xfa)](_0x488219){const _0x2d953e=_0x1a662b,_0x4aeb1d=napCatCore['session'][_0x2d953e(0xd7)]()[_0x2d953e(0x107)](_0x488219);return{'result':_0x4aeb1d?.[_0x2d953e(0xd0)],'errMsg':_0x4aeb1d?.[_0x2d953e(0xc8)]};}static async[_0x1a662b(0xe0)](){}static async['getUserInfo'](_0x2e6776){}static async[_0x1a662b(0x104)](_0x315445){const _0x15aee2=_0x1a662b,_0xcf1f1d={'oRNNj':function(_0x4927c2,_0x1d5b88){return _0x4927c2(_0x1d5b88);},'HPpNP':_0x15aee2(0xfe),'RciqI':function(_0x599a76,_0x1574cd){return _0x599a76===_0x1574cd;},'hOqNK':function(_0x4e6a28,_0x9d4b55){return _0x4e6a28(_0x9d4b55);},'rKaKK':function(_0x3b7f35,_0x19a19d,_0x1ed798){return _0x3b7f35(_0x19a19d,_0x1ed798);}},_0x5d9136=napCatCore[_0x15aee2(0x108)][_0x15aee2(0xd7)]();return new Promise((_0x24d7f7,_0x18396f)=>{const _0xfcd87c=_0x15aee2,_0x1258c8=randomUUID();let _0x4a0022=![];_0xcf1f1d[_0xfcd87c(0xe9)](setTimeout,()=>{const _0x15867=_0xfcd87c;!_0x4a0022&&_0xcf1f1d['oRNNj'](_0x18396f,_0xcf1f1d[_0x15867(0xda)]);},0x1388),userDetailHandlers[_0xfcd87c(0xca)](_0x1258c8,_0x3ec37c=>{const _0x58e30a=_0xfcd87c;_0xcf1f1d[_0x58e30a(0xd3)](_0x3ec37c['uid'],_0x315445)&&(_0x4a0022=!![],userDetailHandlers['delete'](_0x1258c8),uid2UinMap[_0x315445]=_0x3ec37c[_0x58e30a(0xe1)],_0xcf1f1d[_0x58e30a(0xea)](_0x24d7f7,_0x3ec37c));}),_0x5d9136['getUserDetailInfoWithBizInfo'](_0x315445,[0x0])[_0xfcd87c(0xe5)](_0x431809=>{});});}static async[_0x1a662b(0xef)](_0x542321,_0x40bb91=!![]){const _0x5683a3=_0x1a662b,_0x1dc861={'rrlat':function(_0x48cd70,_0x4092cf){return _0x48cd70||_0x4092cf;},'MtELk':function(_0x50cb93,_0x141bd5){return _0x50cb93>_0x141bd5;},'bNuKJ':function(_0x3fc626,_0x6e36b1){return _0x3fc626*_0x6e36b1;},'QuXnd':function(_0x5cf7d3,_0x1c1be7){return _0x5cf7d3===_0x1c1be7;},'IfmHz':function(_0x2d8e05,_0x2e8a04,_0x483190){return _0x2d8e05(_0x2e8a04,_0x483190);},'sZMrV':'获取Pskey失败'},_0x69a630=[],_0x408a8d={};for(const _0x5a922a in _0x542321){const _0x2938cb=Credentials[_0x5683a3(0xff)][_0x5683a3(0xf0)](_0x542321[_0x5a922a]),_0x2c4823=Credentials[_0x5683a3(0xd6)][_0x5683a3(0xf0)](_0x542321[_0x5a922a]);_0x1dc861[_0x5683a3(0xe3)](!_0x2938cb,!_0x2c4823)||_0x1dc861[_0x5683a3(0xc7)](Date['now']()-_0x2c4823,_0x1dc861[_0x5683a3(0xfb)](0x708,0x3e8))||!_0x40bb91?_0x69a630[_0x5683a3(0xf8)](_0x542321[_0x5a922a]):_0x408a8d[_0x542321[_0x5a922a]]=_0x2938cb;}let _0x43749b={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1dc861['MtELk'](_0x69a630[_0x5683a3(0xd2)],0x0)&&(_0x43749b=await napCatCore['session'][_0x5683a3(0x10a)]()[_0x5683a3(0xf3)](_0x69a630,!![]));const _0x187dff=_0x43749b[_0x5683a3(0xdd)];for(const _0x3be8dd of _0x187dff['entries']()){Credentials[_0x5683a3(0xff)]['set'](_0x3be8dd[0x0],_0x3be8dd[0x1]),Credentials[_0x5683a3(0xd6)][_0x5683a3(0xca)](_0x3be8dd[0x0],Date[_0x5683a3(0xd1)]());}const _0xd3245a=Object[_0x5683a3(0xfc)](Object[_0x5683a3(0xe4)](_0x187dff),_0x408a8d);if(_0x1dc861[_0x5683a3(0xe8)](_0x43749b[_0x5683a3(0xd0)],0x0))return _0xd3245a;else _0x1dc861[_0x5683a3(0xe6)](logError,_0x1dc861['sZMrV'],_0x43749b['errMsg']);return{};}static async[_0x1a662b(0xf7)](){const _0x56fc6e=_0x1a662b,_0x4328ef=await napCatCore[_0x56fc6e(0x108)]['getRobotService']()[_0x56fc6e(0xf7)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4328ef?.[_0x56fc6e(0x105)]?.[_0x56fc6e(0xd5)];}static async[_0x1a662b(0xf2)](_0x3eb135=!![]){const _0x21d057=_0x1a662b,_0x4416c6={'KpzSP':function(_0x88b3b0,_0x928dac){return _0x88b3b0==_0x928dac;},'dafeG':function(_0x581ecf,_0x4af6ec){return _0x581ecf-_0x4af6ec;},'BviaD':function(_0x2a751d,_0x30a07a){return _0x2a751d!==_0x30a07a;},'AaBWH':function(_0xe7ec4,_0x3d76a5){return _0xe7ec4+_0x3d76a5;},'UBqkM':function(_0x1f0eec,_0x3ad4fe){return _0x1f0eec+_0x3ad4fe;},'AUkCw':function(_0x39467b,_0x2a3965){return _0x39467b+_0x2a3965;},'sCkFP':_0x21d057(0x102),'uVEhm':function(_0x5ceda3,_0x32f59c,_0x22c901){return _0x5ceda3(_0x32f59c,_0x22c901);},'CYecL':_0x21d057(0xeb),'THBxV':_0x21d057(0xee)};try{if(_0x4416c6['KpzSP'](Credentials[_0x21d057(0xf1)],0x0)||_0x4416c6['dafeG'](Date[_0x21d057(0xd1)](),Credentials[_0x21d057(0xf1)])>0x3e8*0xe10||!_0x3eb135){const _0x4a899f=await napCatCore[_0x21d057(0x108)][_0x21d057(0xf6)]()['forceFetchClientKey']('');if(_0x4416c6[_0x21d057(0xe2)](_0x4a899f[_0x21d057(0xd0)],0x0))return'';const _0x38dcdd=_0x4a899f[_0x21d057(0xcf)],_0x48d470=_0x4a899f[_0x21d057(0xec)],_0x1b48b4=_0x4416c6['AaBWH'](_0x4416c6[_0x21d057(0x109)](_0x4416c6[_0x21d057(0xdc)](_0x4416c6[_0x21d057(0xd9)](_0x21d057(0xdb),selfInfo['uin']),'&clientkey='),_0x38dcdd),_0x4416c6[_0x21d057(0x10c)])+_0x48d470;let _0x418e04;try{_0x418e04=await RequestUtil[_0x21d057(0xcd)](_0x1b48b4);}catch(_0x133f86){_0x4416c6[_0x21d057(0x103)](logDebug,_0x4416c6['CYecL'],_0x133f86),_0x418e04=new Map();}const _0x59721a=_0x418e04[_0x21d057(0xf0)](_0x4416c6[_0x21d057(0xfd)]);if(!_0x59721a)return'';return Credentials[_0x21d057(0xf1)]=Date[_0x21d057(0xd1)](),Credentials[_0x21d057(0xcc)]=_0x59721a,_0x59721a;}return Credentials[_0x21d057(0xcc)];}catch(_0x43b381){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index dfc0dbd7..f056683f 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x528df8=_0x3f96;(function(_0x127b5b,_0x1359b0){const _0x103384=_0x3f96,_0x17df46=_0x127b5b();while(!![]){try{const _0x4289eb=parseInt(_0x103384(0x114))/0x1+-parseInt(_0x103384(0x11a))/0x2+parseInt(_0x103384(0xf8))/0x3*(parseInt(_0x103384(0xab))/0x4)+-parseInt(_0x103384(0x119))/0x5*(parseInt(_0x103384(0x8c))/0x6)+parseInt(_0x103384(0x93))/0x7*(-parseInt(_0x103384(0x109))/0x8)+parseInt(_0x103384(0xde))/0x9*(parseInt(_0x103384(0xac))/0xa)+parseInt(_0x103384(0x9a))/0xb;if(_0x4289eb===_0x1359b0)break;else _0x17df46['push'](_0x17df46['shift']());}catch(_0x41e2c0){_0x17df46['push'](_0x17df46['shift']());}}}(_0xa852,0xcb9ec));function _0x3f96(_0x3fdece,_0x1fd3dd){const _0xa8520b=_0xa852();return _0x3f96=function(_0x3f96c6,_0x5b2bf9){_0x3f96c6=_0x3f96c6-0x7f;let _0x570daa=_0xa8520b[_0x3f96c6];return _0x570daa;},_0x3f96(_0x3fdece,_0x1fd3dd);}function _0xa852(){const _0x47124c=['PERFROMER','176553eEDwNt','rZQag','tCJdc','获取龙王信息失败','JzxkD','20fUCpIA','3259330YbWlGE','strong_newbie','uxpvx','desc','&page_limit=20','SHOEi','push','XuwNU','oRvVA','charCodeAt','PYpbC','tcoLZ','name','SBjzE','current_talkative','QriiU','xXxTS','&text=','wDgso','dIvti','LEGEND','789072gZCBxY','errcode','ZLOIf','ALL','cmUTB','p_skey=','TBnBV','5152vhPsyT','emotion','umkzF','gMYah','CCRgl','getGrouptNotice','oifqX','19167676rGBcFy','toString','webapi\x20获取群成员','talkativeList','gOxfe','EGZYk','actorList','mOKNi','MgMnw','JVsjY','MLfWs','MXdDC','EMOTION',';\x20skey=','getSkey','LFzgV','CDfid','1971604GZofHm','146770QaPTqr','emotion_list','RUNhM','avatar','EoxJu','TuKpp','&qid=','&page_start=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','wZIij','获取快乐源泉失败','QDwmM','CfWAs','performer_list',';\x20p_uin=o','crZcU','mems','kQVSg','BIeQJ','iCzaN','Xqvhm','&end=','1|0|5|3|2|4','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','&bkn=','MkOkC','RnvRY','setGroupNotice','LLegI','&group_code=','&sort=1&gc=','onaoL','获取群聊炽焰失败','genBkn','NBgxh','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','HttpGetJson','NoRwd','strong_newbie_list','reSRj','ceil','qun.qq.com','GroupData','IOXNA','DrmYp','XDaoy','talkative','获取群聊之火失败','set','获取当前群荣耀失败','414KnRfwM','svHrC','QTrCL','zXgvI','HcGFq','NuWrp','GroupTime','parse','RZFHU','XVYWy','bFojG','WRRRc','description','ehRST','POST','nAIPX','now','RPaFb','jfZJW','hwWKD','legend_list','count','GET','length','eIcGi','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','6evYHPd','pQxGv','OXWLd','TALKACTIVE','getGroupMembers','XvPzb','match','VBaFn','jKRwZ','sMRVw','get','NAqOa','HttpGetText','legend','StmdL','uin','iKmuD','6416RoKpoh','CMjBO','talkative_list','ahrop','cHJAS','lbJZW','rPNwg','BfnDF','bEWmS','getPSkey'];_0xa852=function(){return _0x47124c;};return _0xa852();}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x269a64){const _0x4a0d2e=_0x3f96,_0x105f6d={'iCzaN':_0x4a0d2e(0xc2),'pJBFl':_0x4a0d2e(0xda),'VBaFn':'all','oifqX':'STORONGE_NEWBI','bFojG':_0x4a0d2e(0x11b),'NzICV':_0x4a0d2e(0x8b),'OXWLd':_0x4a0d2e(0x105),'hwWKD':_0x4a0d2e(0x94),'rPNwg':'PERFROMER','reSRj':'performer'},_0x26d784=_0x105f6d[_0x4a0d2e(0xbf)]['split']('|');let _0x3714b9=0x0;while(!![]){switch(_0x26d784[_0x3714b9++]){case'0':_0x269a64[_0x4a0d2e(0xfb)]=_0x105f6d['pJBFl'];continue;case'1':_0x269a64[_0x4a0d2e(0x8f)]=_0x105f6d[_0x4a0d2e(0xff)];continue;case'2':_0x269a64[_0x105f6d[_0x4a0d2e(0x99)]]=_0x105f6d[_0x4a0d2e(0xe8)];continue;case'3':_0x269a64[_0x105f6d['NzICV']]=_0x105f6d[_0x4a0d2e(0xfa)];continue;case'4':_0x269a64[_0x4a0d2e(0xa6)]=_0x105f6d[_0x4a0d2e(0xf1)];continue;case'5':_0x269a64[_0x105f6d[_0x4a0d2e(0x10f)]]=_0x105f6d[_0x4a0d2e(0xd3)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x9f6b80,_0x2e3425){const _0x176fef=_0x3f96,_0x3206fd={'HcGFq':_0x176fef(0xd5),'QriiU':function(_0x3737ad,_0x26022b){return _0x3737ad+_0x26022b;},'zXgvI':function(_0xef7e5b,_0x19b037){return _0xef7e5b+_0x19b037;},'ZLOIf':function(_0x436b75,_0x38ab09){return _0x436b75+_0x38ab09;},'byKNs':function(_0x415751,_0x180fb8){return _0x415751+_0x180fb8;},'crZcU':';\x20uin=o','BIeQJ':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','RUNhM':_0x176fef(0xc9),'MLfWs':_0x176fef(0xb3),'CzoXv':_0x176fef(0x11e),'onaoL':_0x176fef(0xf4),'XvPzb':function(_0x587c29,_0x55013c){return _0x587c29!==_0x55013c;}},_0x2c7f94=(await NTQQUserApi['getPSkey']([_0x3206fd[_0x176fef(0xe2)]]))[_0x3206fd[_0x176fef(0xe2)]],_0x4605da=await NTQQUserApi['getSkey'](),_0x2645a4=_0x3206fd[_0x176fef(0x86)](_0x3206fd[_0x176fef(0xe1)](_0x3206fd[_0x176fef(0x8e)](_0x3206fd['byKNs'](_0x3206fd[_0x176fef(0x8e)]('p_skey=',_0x2c7f94),';\x20skey='),_0x4605da),';\x20p_uin=o'),selfInfo[_0x176fef(0x107)])+_0x3206fd[_0x176fef(0xbb)]+selfInfo['uin'];if(!_0x4605da||!_0x2c7f94)return undefined;const _0x1bebd9=WebApi[_0x176fef(0xcd)](_0x4605da),_0x1ac65a=_0x3206fd['ZLOIf'](_0x3206fd[_0x176fef(0x86)](_0x3206fd[_0x176fef(0xe1)](_0x3206fd[_0x176fef(0x8e)](_0x3206fd[_0x176fef(0xbe)],_0x1bebd9),_0x3206fd[_0x176fef(0xae)])+_0x9f6b80,_0x3206fd[_0x176fef(0xa4)]),_0x2e3425)+_0x3206fd['CzoXv'];let _0x41650a;try{_0x41650a=await RequestUtil[_0x176fef(0xd0)](_0x1ac65a,_0x3206fd[_0x176fef(0xcb)],'',{'Cookie':_0x2645a4});}catch{return undefined;}if(_0x3206fd[_0x176fef(0xfd)](_0x41650a['retcode'],0x0))return undefined;return _0x41650a;}static async[_0x528df8(0xfc)](_0x3915b1,_0x27ee03=!![]){const _0x5cf6c5=_0x528df8,_0x5ed17a={'NBgxh':function(_0x30ef52,_0xe322cd,_0x1a072b){return _0x30ef52(_0xe322cd,_0x1a072b);},'NAqOa':_0x5cf6c5(0x9c),'TBnBV':function(_0x430593,_0x36e8a4){return _0x430593-_0x36e8a4;},'SBjzE':function(_0x32be01,_0x4b6d1c){return _0x32be01*_0x4b6d1c;},'kQVSg':'qun.qq.com','MkOkC':function(_0x4da0e3,_0xb50fb3){return _0x4da0e3+_0xb50fb3;},'IOXNA':function(_0x48d5f7,_0x16d10a){return _0x48d5f7+_0x16d10a;},'JVsjY':function(_0x2a2fed,_0x10f1dd){return _0x2a2fed+_0x10f1dd;},'RnvRY':function(_0xbc0621,_0x3d3267){return _0xbc0621+_0x3d3267;},'QDwmM':_0x5cf6c5(0x91),'oRvVA':_0x5cf6c5(0xa7),'mOKNi':_0x5cf6c5(0xba),'XDaoy':function(_0xbb11b1,_0x4e7f3c){return _0xbb11b1+_0x4e7f3c;},'nAIPX':_0x5cf6c5(0xc4),'CfWAs':_0x5cf6c5(0xec),'FfqAd':function(_0x19e7f0,_0x43e5f1){return _0x19e7f0/_0x43e5f1;},'CDfid':function(_0x471117,_0x5756d7){return _0x471117<=_0x5756d7;},'tCJdc':function(_0x2e6c1d,_0x4fa5e6){return _0x2e6c1d+_0x4fa5e6;},'svHrC':function(_0x231dd0,_0x102035){return _0x231dd0+_0x102035;},'QTrCL':function(_0x5f3ccd,_0x5c56cd){return _0x5f3ccd+_0x5c56cd;},'OnSUM':function(_0x55245e,_0x1573a5){return _0x55245e+_0x1573a5;},'CCRgl':function(_0x2faf90,_0x2efaba){return _0x2faf90+_0x2efaba;},'dIvti':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','sFweJ':function(_0x60edd,_0x38067a){return _0x60edd*_0x38067a;},'lbJZW':_0x5cf6c5(0xc1),'XHtuX':function(_0x400955,_0x1d3674){return _0x400955*_0x1d3674;},'DrmYp':_0x5cf6c5(0xca)};_0x5ed17a[_0x5cf6c5(0xce)](logDebug,_0x5ed17a[_0x5cf6c5(0x103)],_0x3915b1);let _0x5950d8=new Array();try{let _0x18fe49=WebGroupData[_0x5cf6c5(0xd6)][_0x5cf6c5(0x102)](_0x3915b1),_0x5864b7=WebGroupData[_0x5cf6c5(0xe4)][_0x5cf6c5(0x102)](_0x3915b1);if(!_0x5864b7||_0x5ed17a[_0x5cf6c5(0x92)](Date[_0x5cf6c5(0xee)](),_0x5864b7)>_0x5ed17a[_0x5cf6c5(0x84)](0x708,0x3e8)||!_0x27ee03){const _0x31e8c4=(await NTQQUserApi[_0x5cf6c5(0x112)]([_0x5cf6c5(0xd5)]))[_0x5ed17a[_0x5cf6c5(0xbd)]],_0x587427=await NTQQUserApi[_0x5cf6c5(0xa8)](),_0xe4b5fb=_0x5ed17a['MkOkC'](_0x5ed17a[_0x5cf6c5(0xc5)](_0x5ed17a[_0x5cf6c5(0xd7)](_0x5ed17a[_0x5cf6c5(0xa3)](_0x5ed17a[_0x5cf6c5(0xc6)](_0x5ed17a[_0x5cf6c5(0xb7)],_0x31e8c4),_0x5ed17a[_0x5cf6c5(0x7f)]),_0x587427),_0x5ed17a[_0x5cf6c5(0xa1)]),selfInfo[_0x5cf6c5(0x107)]);if(!_0x587427||!_0x31e8c4)return _0x5950d8;const _0x27e479=WebApi['genBkn'](_0x587427),_0x2a8560=[],_0x199d1b=await RequestUtil[_0x5cf6c5(0xd0)](_0x5ed17a[_0x5cf6c5(0xd9)](_0x5ed17a['IOXNA'](_0x5cf6c5(0xb4),_0x3915b1)+_0x5ed17a[_0x5cf6c5(0xed)],_0x27e479),_0x5ed17a[_0x5cf6c5(0xb8)],'',{'Cookie':_0xe4b5fb});if(!_0x199d1b?.[_0x5cf6c5(0xf3)]||_0x199d1b?.[_0x5cf6c5(0x8d)]!==0x0||!_0x199d1b?.[_0x5cf6c5(0xbc)])return[];else for(const _0x457060 in _0x199d1b[_0x5cf6c5(0xbc)]){_0x5950d8[_0x5cf6c5(0x120)](_0x199d1b[_0x5cf6c5(0xbc)][_0x457060]);}const _0x3e0862=Math[_0x5cf6c5(0xd4)](_0x5ed17a['FfqAd'](_0x199d1b[_0x5cf6c5(0xf3)],0x28));for(let _0xadc80d=0x2;_0x5ed17a[_0x5cf6c5(0xaa)](_0xadc80d,_0x3e0862);_0xadc80d++){const _0x366e27=RequestUtil['HttpGetJson'](_0x5ed17a[_0x5cf6c5(0x116)](_0x5ed17a[_0x5cf6c5(0xdf)](_0x5ed17a[_0x5cf6c5(0xe0)](_0x5ed17a['OnSUM'](_0x5ed17a[_0x5cf6c5(0x97)](_0x5ed17a[_0x5cf6c5(0x8a)],_0x5ed17a['sFweJ'](_0xadc80d-0x1,0x28)),_0x5ed17a[_0x5cf6c5(0x10e)])+_0x5ed17a['XHtuX'](_0xadc80d,0x28),_0x5ed17a[_0x5cf6c5(0xd8)]),_0x3915b1),_0x5ed17a[_0x5cf6c5(0xed)])+_0x27e479,_0x5cf6c5(0xec),'',{'Cookie':_0xe4b5fb});_0x2a8560['push'](_0x366e27);}for(let _0x5307b6=0x1;_0x5ed17a[_0x5cf6c5(0xaa)](_0x5307b6,_0x3e0862);_0x5307b6++){const _0x4537a8=await _0x2a8560[_0x5307b6];if(!_0x4537a8?.['count']||_0x4537a8?.[_0x5cf6c5(0x8d)]!==0x0||!_0x4537a8?.[_0x5cf6c5(0xbc)])continue;for(const _0x4bb049 in _0x4537a8[_0x5cf6c5(0xbc)]){_0x5950d8[_0x5cf6c5(0x120)](_0x4537a8[_0x5cf6c5(0xbc)][_0x4bb049]);}}WebGroupData['GroupData'][_0x5cf6c5(0xdc)](_0x3915b1,_0x5950d8),WebGroupData[_0x5cf6c5(0xe4)]['set'](_0x3915b1,Date[_0x5cf6c5(0xee)]());}else _0x5950d8=_0x18fe49;}catch{return _0x5950d8;}return _0x5950d8;}static async[_0x528df8(0xc7)](_0x114d6d,_0x43fe35=''){const _0x4e5c0d=_0x528df8,_0x3a8be1={'rZQag':_0x4e5c0d(0xd5),'jKRwZ':function(_0x3caf9c,_0x347a38){return _0x3caf9c+_0x347a38;},'pQxGv':function(_0x476543,_0x5196bd){return _0x476543+_0x5196bd;},'uxpvx':function(_0x3497ec,_0x31584b){return _0x3497ec+_0x31584b;},'gOxfe':function(_0x5ae262,_0x54266f){return _0x5ae262+_0x54266f;},'pRCtk':'p_skey=','iKmuD':_0x4e5c0d(0xa7),'SHOEi':_0x4e5c0d(0xba),'jfZJW':function(_0x55920b,_0x4375f5){return _0x55920b||_0x4375f5;},'EGZYk':function(_0x36a061,_0x4836b8){return _0x36a061+_0x4836b8;},'QQBvC':'qid=','ALaxd':_0x4e5c0d(0xc4),'RPaFb':_0x4e5c0d(0x88),'JzxkD':_0x4e5c0d(0xc3)},_0x288884=(await NTQQUserApi[_0x4e5c0d(0x112)]([_0x3a8be1[_0x4e5c0d(0x115)]]))[_0x4e5c0d(0xd5)],_0x4583a4=await NTQQUserApi[_0x4e5c0d(0xa8)](),_0xc9a3f9=_0x3a8be1[_0x4e5c0d(0x100)](_0x3a8be1['pQxGv'](_0x3a8be1['uxpvx'](_0x3a8be1[_0x4e5c0d(0x9e)](_0x3a8be1['pRCtk'],_0x288884),_0x3a8be1[_0x4e5c0d(0x108)])+_0x4583a4,_0x3a8be1[_0x4e5c0d(0x11f)]),selfInfo['uin']);let _0x1fc96a=undefined;if(_0x3a8be1[_0x4e5c0d(0xf0)](!_0x4583a4,!_0x288884))return undefined;const _0x133596=WebApi[_0x4e5c0d(0xcd)](_0x4583a4),_0x185434=_0x3a8be1[_0x4e5c0d(0x100)](_0x3a8be1[_0x4e5c0d(0x11c)](_0x3a8be1[_0x4e5c0d(0x9f)](_0x3a8be1[_0x4e5c0d(0x11c)](_0x3a8be1['QQBvC'],_0x114d6d)+_0x3a8be1['ALaxd'],_0x133596),_0x3a8be1[_0x4e5c0d(0xef)]),_0x43fe35)+_0x3a8be1[_0x4e5c0d(0x118)],_0x3ca02c=_0x3a8be1[_0x4e5c0d(0xf9)](_0x4e5c0d(0xf7),_0x133596);try{return _0x1fc96a=await RequestUtil[_0x4e5c0d(0xd0)](_0x3ca02c,'GET','',{'Cookie':_0xc9a3f9}),_0x1fc96a;}catch(_0x3fc531){return undefined;}return undefined;}static async[_0x528df8(0x98)](_0x38e739){const _0x498d7b=_0x528df8,_0x110c2a={'CMjBO':_0x498d7b(0xd5),'WRRRc':function(_0x4f8991,_0x1fecd9){return _0x4f8991+_0x1fecd9;},'peYNP':_0x498d7b(0x91),'StmdL':_0x498d7b(0xa7),'MgMnw':';\x20p_uin=o','cmUTB':function(_0x47b42a,_0x2253b6){return _0x47b42a||_0x2253b6;},'RsOZX':function(_0x4ca273,_0xdcf641){return _0x4ca273+_0xdcf641;},'NuWrp':function(_0x5103f1,_0x36299d){return _0x5103f1+_0x36299d;},'PYpbC':_0x498d7b(0xcf),'EoxJu':_0x498d7b(0xb2),'wDgso':_0x498d7b(0xf4)},_0x31cea8=(await NTQQUserApi[_0x498d7b(0x112)]([_0x110c2a[_0x498d7b(0x10a)]]))[_0x110c2a[_0x498d7b(0x10a)]],_0x3d3fbd=await NTQQUserApi[_0x498d7b(0xa8)](),_0x300426=_0x110c2a[_0x498d7b(0xe9)](_0x110c2a[_0x498d7b(0xe9)](_0x110c2a[_0x498d7b(0xe9)](_0x110c2a[_0x498d7b(0xe9)](_0x110c2a['peYNP'],_0x31cea8),_0x110c2a[_0x498d7b(0x106)]),_0x3d3fbd)+_0x110c2a[_0x498d7b(0xa2)],selfInfo['uin']);let _0x386111=undefined;if(_0x110c2a[_0x498d7b(0x90)](!_0x3d3fbd,!_0x31cea8))return undefined;const _0x3718ee=WebApi[_0x498d7b(0xcd)](_0x3d3fbd),_0x4cb27c=_0x110c2a['RsOZX'](_0x110c2a[_0x498d7b(0xe3)](_0x110c2a[_0x498d7b(0x81)]+_0x3718ee,_0x110c2a[_0x498d7b(0xb0)]),_0x38e739)+'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20';try{_0x386111=await RequestUtil[_0x498d7b(0xd0)](_0x4cb27c,_0x110c2a[_0x498d7b(0x89)],'',{'Cookie':_0x300426});if(_0x386111?.['ec']!==0x0)return undefined;return _0x386111;}catch(_0x5c8198){return undefined;}return undefined;}static[_0x528df8(0xcd)](_0x3d67af){const _0x195c87=_0x528df8,_0x1ed934={'rDJde':function(_0x42ed4a,_0x1b9554){return _0x42ed4a+_0x1b9554;},'BfnDF':function(_0x559448,_0x38ecd4){return _0x559448<<_0x38ecd4;},'umkzF':function(_0x418437,_0x252a89){return _0x418437&_0x252a89;}};_0x3d67af=_0x3d67af||'';let _0x368549=0x1505;for(let _0xab7d81=0x0;_0xab7d81<_0x3d67af[_0x195c87(0xf5)];_0xab7d81++){const _0x469acb=_0x3d67af[_0x195c87(0x80)](_0xab7d81);_0x368549=_0x1ed934['rDJde'](_0x368549+_0x1ed934[_0x195c87(0x110)](_0x368549,0x5),_0x469acb);}return _0x1ed934[_0x195c87(0x95)](_0x368549,0x7fffffff)[_0x195c87(0x9b)]();}static async['getGroupHonorInfo'](_0x28f5de,_0x1c3925){const _0x19548a=_0x528df8,_0x4bd829={'wZIij':function(_0x414710,_0x3bbcec){return _0x414710+_0x3bbcec;},'ahrop':function(_0x4d31dd,_0x1d55ab){return _0x4d31dd+_0x1d55ab;},'Xqvhm':'https://qun.qq.com/interactive/honorlist?gc=','TECBH':_0x19548a(0xf4),'XVYWy':'qun.qq.com','RZFHU':function(_0x10b52d,_0x388969){return _0x10b52d||_0x388969;},'LLegI':function(_0x4e0519,_0x5d53b2){return _0x4e0519+_0x5d53b2;},'kICbD':function(_0x59b462,_0x25f841){return _0x59b462+_0x25f841;},'ZfVBl':_0x19548a(0xba),'sMRVw':';\x20uin=o','gMYah':function(_0x562cee,_0x25df31){return _0x562cee===_0x25df31;},'bEWmS':function(_0x4523d9,_0x2d6002,_0x3cc168){return _0x4523d9(_0x2d6002,_0x3cc168);},'cHJAS':_0x19548a(0x117),'TuKpp':function(_0x30f866,_0x833254){return _0x30f866(_0x833254);},'tcoLZ':function(_0x4a2951,_0x1402ff){return _0x4a2951===_0x1402ff;},'XuwNU':function(_0x53ae55,_0x1be85f,_0x3a3d0d){return _0x53ae55(_0x1be85f,_0x3a3d0d);},'xXxTS':_0x19548a(0xdb),'ehRST':function(_0xb860bd,_0x434448){return _0xb860bd===_0x434448;},'MXdDC':function(_0xb1d5e,_0x40f374){return _0xb1d5e===_0x40f374;},'XsXWn':_0x19548a(0xcc),'NoRwd':_0x19548a(0xb6),'eIcGi':function(_0x5b5e0c,_0x1d1c50,_0x21ae97){return _0x5b5e0c(_0x1d1c50,_0x21ae97);},'LFzgV':function(_0x2692ab,_0x46ddbc){return _0x2692ab===_0x46ddbc;}},_0x50be3a=(await NTQQUserApi[_0x19548a(0x112)]([_0x4bd829[_0x19548a(0xe7)]]))[_0x4bd829[_0x19548a(0xe7)]],_0x125e34=await NTQQUserApi[_0x19548a(0xa8)]();if(_0x4bd829[_0x19548a(0xe6)](!_0x125e34,!_0x50be3a))return undefined;async function _0x425c5c(_0x3d44c1,_0x535894){const _0x3754d0=_0x19548a;let _0x2f2410=_0x4bd829[_0x3754d0(0xb5)](_0x4bd829[_0x3754d0(0x10c)](_0x4bd829[_0x3754d0(0xc0)]+_0x3d44c1,'&type='),_0x535894[_0x3754d0(0x9b)]()),_0xca9356='',_0x171eba;try{_0xca9356=await RequestUtil[_0x3754d0(0x104)](_0x2f2410,_0x4bd829['TECBH'],'',{'Cookie':_0x3647a2});const _0x18277d=_0xca9356[_0x3754d0(0xfe)](/window\.__INITIAL_STATE__=(.*?);/);return _0x18277d&&(_0x171eba=JSON[_0x3754d0(0xe5)](_0x18277d[0x1]['trim']())),_0x535894===0x1?_0x171eba?.[_0x3754d0(0x9d)]:_0x171eba?.[_0x3754d0(0xa0)];}catch(_0x3a2e8f){logDebug(_0x3754d0(0xdd),_0x2f2410,_0x3a2e8f);}return undefined;}let _0xeb5904={'group_id':_0x28f5de};const _0x3647a2=_0x4bd829['LLegI'](_0x4bd829[_0x19548a(0xc8)](_0x4bd829[_0x19548a(0xc8)](_0x4bd829[_0x19548a(0x10c)](_0x4bd829['kICbD'](_0x4bd829[_0x19548a(0x10c)](_0x19548a(0x91),_0x50be3a),_0x19548a(0xa7)),_0x125e34),_0x4bd829['ZfVBl']),selfInfo[_0x19548a(0x107)]),_0x4bd829[_0x19548a(0x101)])+selfInfo[_0x19548a(0x107)];if(_0x4bd829[_0x19548a(0x96)](_0x1c3925,WebHonorType['TALKACTIVE'])||_0x4bd829[_0x19548a(0x96)](_0x1c3925,WebHonorType[_0x19548a(0x8f)]))try{let _0x584bf6=await _0x4bd829[_0x19548a(0x111)](_0x425c5c,_0x28f5de,0x1);if(!_0x584bf6)throw new Error(_0x4bd829[_0x19548a(0x10d)]);_0xeb5904[_0x19548a(0x85)]={'user_id':_0x584bf6[0x0]?.[_0x19548a(0x107)],'avatar':_0x584bf6[0x0]?.['avatar'],'nickname':_0x584bf6[0x0]?.['name'],'day_count':0x0,'description':_0x584bf6[0x0]?.[_0x19548a(0x11d)]},_0xeb5904[_0x19548a(0x10b)]=[];for(const _0x5b9dec of _0x584bf6){_0xeb5904['talkative_list'][_0x19548a(0x120)]({'user_id':_0x5b9dec?.['uin'],'avatar':_0x5b9dec?.['avatar'],'description':_0x5b9dec?.[_0x19548a(0x11d)],'day_count':0x0,'nickname':_0x5b9dec?.[_0x19548a(0x83)]});}}catch(_0x2f2f55){_0x4bd829[_0x19548a(0xb1)](logDebug,_0x2f2f55);}if(_0x1c3925===WebHonorType[_0x19548a(0x113)]||_0x4bd829[_0x19548a(0x82)](_0x1c3925,WebHonorType[_0x19548a(0x8f)]))try{let _0x4fa21e=await _0x4bd829['XuwNU'](_0x425c5c,_0x28f5de,0x2);if(!_0x4fa21e)throw new Error(_0x4bd829[_0x19548a(0x87)]);_0xeb5904[_0x19548a(0xb9)]=[];for(const _0x342280 of _0x4fa21e){_0xeb5904[_0x19548a(0xb9)][_0x19548a(0x120)]({'user_id':_0x342280?.[_0x19548a(0x107)],'nickname':_0x342280?.[_0x19548a(0x83)],'avatar':_0x342280?.[_0x19548a(0xaf)],'description':_0x342280?.[_0x19548a(0x11d)]});}}catch(_0xa8eab2){logDebug(_0xa8eab2);}if(_0x4bd829[_0x19548a(0xeb)](_0x1c3925,WebHonorType[_0x19548a(0x113)])||_0x4bd829[_0x19548a(0xa5)](_0x1c3925,WebHonorType[_0x19548a(0x8f)]))try{let _0x47d9c2=await _0x425c5c(_0x28f5de,0x3);if(!_0x47d9c2)throw new Error(_0x19548a(0xcc));_0xeb5904['legend_list']=[];for(const _0x50acee of _0x47d9c2){_0xeb5904[_0x19548a(0xf2)][_0x19548a(0x120)]({'user_id':_0x50acee?.[_0x19548a(0x107)],'nickname':_0x50acee?.['name'],'avatar':_0x50acee?.['avatar'],'desc':_0x50acee?.[_0x19548a(0xea)]});}}catch(_0x47d65c){_0x4bd829[_0x19548a(0x121)](logDebug,_0x4bd829['XsXWn'],_0x47d65c);}if(_0x4bd829[_0x19548a(0x96)](_0x1c3925,WebHonorType['EMOTION'])||_0x4bd829[_0x19548a(0xeb)](_0x1c3925,WebHonorType[_0x19548a(0x8f)]))try{let _0x14c21d=await _0x4bd829[_0x19548a(0x111)](_0x425c5c,_0x28f5de,0x6);if(!_0x14c21d)throw new Error(_0x4bd829[_0x19548a(0xd1)]);_0xeb5904['emotion_list']=[];for(const _0x5466c0 of _0x14c21d){_0xeb5904[_0x19548a(0xad)][_0x19548a(0x120)]({'user_id':_0x5466c0?.[_0x19548a(0x107)],'nickname':_0x5466c0?.[_0x19548a(0x83)],'avatar':_0x5466c0?.[_0x19548a(0xaf)],'desc':_0x5466c0?.[_0x19548a(0xea)]});}}catch(_0x2a3a9b){_0x4bd829[_0x19548a(0xf6)](logDebug,_0x4bd829[_0x19548a(0xd1)],_0x2a3a9b);}return(_0x4bd829[_0x19548a(0xa5)](_0x1c3925,WebHonorType['EMOTION'])||_0x4bd829[_0x19548a(0xa9)](_0x1c3925,WebHonorType['ALL']))&&(_0xeb5904[_0x19548a(0xd2)]=[]),_0xeb5904;}} \ No newline at end of file +const _0x3c82c6=_0x6369;(function(_0x2dd8db,_0x118714){const _0x400bde=_0x6369,_0xeb88e1=_0x2dd8db();while(!![]){try{const _0x309859=-parseInt(_0x400bde(0x1fe))/0x1*(parseInt(_0x400bde(0x1a8))/0x2)+-parseInt(_0x400bde(0x215))/0x3+parseInt(_0x400bde(0x204))/0x4*(parseInt(_0x400bde(0x1d1))/0x5)+-parseInt(_0x400bde(0x21b))/0x6*(parseInt(_0x400bde(0x23d))/0x7)+-parseInt(_0x400bde(0x228))/0x8*(parseInt(_0x400bde(0x1db))/0x9)+parseInt(_0x400bde(0x223))/0xa*(parseInt(_0x400bde(0x200))/0xb)+-parseInt(_0x400bde(0x1c4))/0xc*(-parseInt(_0x400bde(0x237))/0xd);if(_0x309859===_0x118714)break;else _0xeb88e1['push'](_0xeb88e1['shift']());}catch(_0x491b07){_0xeb88e1['push'](_0xeb88e1['shift']());}}}(_0x3912,0x8c73b));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x6369(_0x48e30e,_0x528af6){const _0x3912d9=_0x3912();return _0x6369=function(_0x636956,_0x2a28dd){_0x636956=_0x636956-0x1a5;let _0x535e35=_0x3912d9[_0x636956];return _0x535e35;},_0x6369(_0x48e30e,_0x528af6);}import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x75349d){const _0x193f04=_0x6369,_0x1abaae={'OwBPX':_0x193f04(0x205),'AzGDW':_0x193f04(0x1e5),'sIoTv':_0x193f04(0x206),'rBdxL':_0x193f04(0x1d2),'PRExZ':_0x193f04(0x1b7),'TQVgv':_0x193f04(0x22b),'boRUT':_0x193f04(0x247),'LgNfj':_0x193f04(0x229),'DTkPD':_0x193f04(0x1fc)},_0x59ac07=_0x1abaae['OwBPX'][_0x193f04(0x1d9)]('|');let _0x7ad6d1=0x0;while(!![]){switch(_0x59ac07[_0x7ad6d1++]){case'0':_0x75349d[_0x193f04(0x1d8)]=_0x1abaae[_0x193f04(0x1ca)];continue;case'1':_0x75349d[_0x1abaae[_0x193f04(0x1dd)]]='legend';continue;case'2':_0x75349d[_0x1abaae[_0x193f04(0x1e8)]]=_0x1abaae[_0x193f04(0x1c9)];continue;case'3':_0x75349d[_0x1abaae[_0x193f04(0x1cd)]]=_0x1abaae[_0x193f04(0x216)];continue;case'4':_0x75349d[_0x193f04(0x1de)]='emotion';continue;case'5':_0x75349d[_0x1abaae[_0x193f04(0x1c2)]]=_0x1abaae[_0x193f04(0x232)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x3912(){const _0x2315d3=['STORONGE_NEWBI','KyIYn','sCoay','GET','nYPwT','MOIPZ','EVzxu','DTkPD','MsOAi','toString','eJQsQ','KsjBs','11711973JIzbAY','avatar','WHdaB','vECkr','performer_list','gEgqW','3143PtQgQN','DKoLO','POST','genBkn','brDZI','获取群聊炽焰失败','crIZl','wuzfx','gCAXu','IuTdu','strong_newbie','getPSkey','OOYqB','获取当前群荣耀失败','description','uKerl','tARls','getGroupMembers','531796txMvXV','gAxAT','OqZoT',';\x20uin=o','p_skey=','paNJG','&text=','NBMuT','KSNiH',';\x20p_uin=o','qun.qq.com','rWIMb','match','swoMk','lmpBA','talkative','GroupData','&page_limit=20','TdrOP','UubXU','UkofP','GYaiC','获取快乐源泉失败','cPGJZ','uMHxw','获取群聊之火失败','LgNfj','mfvEA','12IYRvaj','ooaVu','getGrouptNotice','HttpGetJson','VMHNz','PRExZ','AzGDW','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','ebabZ','TQVgv','name','Lltrz','WIirf','4015075YznwQz','TALKACTIVE','cRUEN','GfOob','bCfCC','emotion_list','ceil','ALL','split','getGroupHonorInfo','627498ZrqQFu','&type=','sIoTv','EMOTION','errcode','RHbad','nkCmI','&bkn=','fAMxO','eUzhJ','all','gMuyz','&end=','rBdxL','lDqtM','获取龙王信息失败','SYmJV','cedtQ',';\x20skey=','VvWWv','mdGCh','ntadq','EzWBu','PWyVj','bwQjw','set','wajIW','strong_newbie_list','aHeuV','push','&group_code=','count','MwYfA','performer','legend_list','1etfOSQ','OWVHJ','8134423Pdebtq','now','PJzTK','YJPSL','4EPwphd','0|2|5|1|3|4','LEGEND','VdReD','actorList','TsHAE','talkative_list','bbeGz','trim','rJhYr','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','GlHuC','wMDEk','&sort=1&gc=','SveCK','get','desc','1057080mHpjhk','boRUT','AvtIZ','yvKEC','mems','KUVVu','11112pferqA','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','qid=','jqxCK','getSkey','rBRMw','https://qun.qq.com/interactive/honorlist?gc=','webapi\x20获取群成员','10QrlxNh','JGpVx','&qid=','uin','CELUv','48ZCOAVk','PERFROMER','MkiOL'];_0x3912=function(){return _0x2315d3;};return _0x3912();}export class WebApi{static async['getGroupEssenceMsg'](_0x50bb91,_0x3fa3f6){const _0x28e37d=_0x6369,_0x1adfeb={'JGpVx':_0x28e37d(0x1b2),'yvKEC':function(_0x44f0ba,_0x135771){return _0x44f0ba+_0x135771;},'tARls':'p_skey=','vECkr':_0x28e37d(0x1ed),'eUzhJ':function(_0x3a4020,_0x327ab1){return _0x3a4020||_0x327ab1;},'swoMk':function(_0x56643d,_0x2f37a4){return _0x56643d+_0x2f37a4;},'VvWWv':function(_0x42b0bf,_0x6eff10){return _0x42b0bf+_0x6eff10;},'ooaVu':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','TdrOP':'&page_start=','FpQow':function(_0x1ff2a5,_0x445c71){return _0x1ff2a5!==_0x445c71;}},_0x584d6e=(await NTQQUserApi[_0x28e37d(0x248)]([_0x1adfeb[_0x28e37d(0x224)]]))[_0x1adfeb[_0x28e37d(0x224)]],_0x17d722=await NTQQUserApi['getSkey'](),_0x4f547e=_0x1adfeb[_0x28e37d(0x218)](_0x1adfeb[_0x28e37d(0x218)](_0x1adfeb['yvKEC'](_0x1adfeb[_0x28e37d(0x218)](_0x1adfeb['yvKEC'](_0x1adfeb[_0x28e37d(0x218)](_0x1adfeb[_0x28e37d(0x1a6)]+_0x584d6e,_0x1adfeb[_0x28e37d(0x23a)]),_0x17d722),_0x28e37d(0x1b1)),selfInfo[_0x28e37d(0x226)]),_0x28e37d(0x1ab)),selfInfo['uin']);if(_0x1adfeb[_0x28e37d(0x1e4)](!_0x17d722,!_0x584d6e))return undefined;const _0x4a97ce=WebApi[_0x28e37d(0x240)](_0x17d722),_0x16d7b1=_0x1adfeb[_0x28e37d(0x218)](_0x1adfeb[_0x28e37d(0x1b5)](_0x1adfeb[_0x28e37d(0x1b5)](_0x1adfeb[_0x28e37d(0x1ee)](_0x1adfeb[_0x28e37d(0x1c5)]+_0x4a97ce+_0x28e37d(0x1f9),_0x50bb91),_0x1adfeb[_0x28e37d(0x1ba)]),_0x3fa3f6),_0x28e37d(0x1b9));let _0x4720fc;try{_0x4720fc=await RequestUtil[_0x28e37d(0x1c7)](_0x16d7b1,'GET','',{'Cookie':_0x4f547e});}catch{return undefined;}if(_0x1adfeb['FpQow'](_0x4720fc['retcode'],0x0))return undefined;return _0x4720fc;}static async[_0x3c82c6(0x1a7)](_0x217f05,_0x1a6842=!![]){const _0x4f1d64=_0x3c82c6,_0x34c158={'Lltrz':function(_0x27aa13,_0x10244d,_0x4c6e81){return _0x27aa13(_0x10244d,_0x4c6e81);},'NBMuT':_0x4f1d64(0x222),'KyIYn':function(_0x29a1e3,_0x347a1f){return _0x29a1e3>_0x347a1f;},'wAxTG':function(_0x41bf1e,_0x59d3ee){return _0x41bf1e-_0x59d3ee;},'gMuyz':function(_0x3db06b,_0x566fed){return _0x3db06b*_0x566fed;},'YJPSL':'qun.qq.com','RHbad':function(_0x465a23,_0x2f6513){return _0x465a23+_0x2f6513;},'cedtQ':function(_0x22898e,_0x469870){return _0x22898e+_0x469870;},'WIirf':_0x4f1d64(0x1ac),'EzWBu':_0x4f1d64(0x1ed),'TsHAE':_0x4f1d64(0x1b1),'eJQsQ':function(_0x142456,_0xd2a9c6){return _0x142456||_0xd2a9c6;},'jqxCK':function(_0x4ced58,_0x1618bf){return _0x4ced58+_0x1618bf;},'IuTdu':function(_0x2e4892,_0x28491b){return _0x2e4892+_0x28491b;},'lmpBA':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','uMHxw':_0x4f1d64(0x1e2),'OWVHJ':function(_0x3afe50,_0x17ac3c){return _0x3afe50!==_0x17ac3c;},'MkiOL':function(_0x19b4de,_0x5afc2c){return _0x19b4de/_0x5afc2c;},'bbeGz':function(_0x18436a,_0x37fa2e){return _0x18436a<=_0x37fa2e;},'cRUEN':function(_0xc438b6,_0x42a6b4){return _0xc438b6+_0x42a6b4;},'tNltP':function(_0x3d3016,_0x140411){return _0x3d3016+_0x140411;},'jkmLR':function(_0xd74368,_0x16e746){return _0xd74368+_0x16e746;},'wuzfx':_0x4f1d64(0x1cb),'krtpr':_0x4f1d64(0x1e7),'MsOAi':function(_0x389e1e,_0x263a6d){return _0x389e1e*_0x263a6d;},'AvtIZ':_0x4f1d64(0x23f)};_0x34c158[_0x4f1d64(0x1cf)](logDebug,_0x34c158[_0x4f1d64(0x1af)],_0x217f05);let _0x4492b1=new Array();try{let _0x58c38d=WebGroupData[_0x4f1d64(0x1b8)][_0x4f1d64(0x213)](_0x217f05),_0x3423be=WebGroupData['GroupTime'][_0x4f1d64(0x213)](_0x217f05);if(!_0x3423be||_0x34c158[_0x4f1d64(0x22c)](_0x34c158['wAxTG'](Date['now'](),_0x3423be),_0x34c158[_0x4f1d64(0x1e6)](0x708,0x3e8))||!_0x1a6842){const _0x4733fa=(await NTQQUserApi[_0x4f1d64(0x248)]([_0x34c158[_0x4f1d64(0x203)]]))[_0x34c158[_0x4f1d64(0x203)]],_0x247259=await NTQQUserApi[_0x4f1d64(0x21f)](),_0x1dd076=_0x34c158[_0x4f1d64(0x1e0)](_0x34c158[_0x4f1d64(0x1e0)](_0x34c158[_0x4f1d64(0x1ec)](_0x34c158[_0x4f1d64(0x1d0)]+_0x4733fa,_0x34c158[_0x4f1d64(0x1f1)])+_0x247259,_0x34c158[_0x4f1d64(0x209)]),selfInfo[_0x4f1d64(0x226)]);if(_0x34c158[_0x4f1d64(0x235)](!_0x247259,!_0x4733fa))return _0x4492b1;const _0x773f4a=WebApi[_0x4f1d64(0x240)](_0x247259),_0x2f1c68=[],_0xb0a027=await RequestUtil['HttpGetJson'](_0x34c158[_0x4f1d64(0x21e)](_0x34c158[_0x4f1d64(0x246)](_0x34c158[_0x4f1d64(0x246)](_0x34c158[_0x4f1d64(0x1b6)],_0x217f05),_0x34c158[_0x4f1d64(0x1c0)]),_0x773f4a),_0x4f1d64(0x23f),'',{'Cookie':_0x1dd076});if(!_0xb0a027?.[_0x4f1d64(0x1fa)]||_0x34c158['OWVHJ'](_0xb0a027?.['errcode'],0x0)||!_0xb0a027?.[_0x4f1d64(0x219)])return[];else for(const _0xdba8fe in _0xb0a027[_0x4f1d64(0x219)]){_0x4492b1[_0x4f1d64(0x1f8)](_0xb0a027['mems'][_0xdba8fe]);}const _0x2ee12e=Math[_0x4f1d64(0x1d7)](_0x34c158[_0x4f1d64(0x22a)](_0xb0a027[_0x4f1d64(0x1fa)],0x28));for(let _0x48cca7=0x2;_0x34c158[_0x4f1d64(0x20b)](_0x48cca7,_0x2ee12e);_0x48cca7++){const _0x2b1721=RequestUtil[_0x4f1d64(0x1c7)](_0x34c158[_0x4f1d64(0x1d3)](_0x34c158[_0x4f1d64(0x21e)](_0x34c158[_0x4f1d64(0x21e)](_0x34c158['tNltP'](_0x34c158['RHbad'](_0x34c158[_0x4f1d64(0x1e0)](_0x34c158['jkmLR'](_0x34c158[_0x4f1d64(0x244)],(_0x48cca7-0x1)*0x28),_0x34c158['krtpr']),_0x34c158[_0x4f1d64(0x233)](_0x48cca7,0x28)),_0x4f1d64(0x211)),_0x217f05),_0x34c158[_0x4f1d64(0x1c0)]),_0x773f4a),_0x34c158[_0x4f1d64(0x217)],'',{'Cookie':_0x1dd076});_0x2f1c68['push'](_0x2b1721);}for(let _0xfd91be=0x1;_0xfd91be<=_0x2ee12e;_0xfd91be++){const _0x29a06d=await _0x2f1c68[_0xfd91be];if(!_0x29a06d?.[_0x4f1d64(0x1fa)]||_0x34c158[_0x4f1d64(0x1ff)](_0x29a06d?.[_0x4f1d64(0x1df)],0x0)||!_0x29a06d?.['mems'])continue;for(const _0x54ea3d in _0x29a06d[_0x4f1d64(0x219)]){_0x4492b1[_0x4f1d64(0x1f8)](_0x29a06d[_0x4f1d64(0x219)][_0x54ea3d]);}}WebGroupData[_0x4f1d64(0x1b8)]['set'](_0x217f05,_0x4492b1),WebGroupData['GroupTime'][_0x4f1d64(0x1f4)](_0x217f05,Date[_0x4f1d64(0x201)]());}else _0x4492b1=_0x58c38d;}catch{return _0x4492b1;}return _0x4492b1;}static async['setGroupNotice'](_0x5ade0d,_0x5369ac=''){const _0x825923=_0x3c82c6,_0x2cfc33={'DKoLO':'qun.qq.com','nYPwT':function(_0x311161,_0x5142f5){return _0x311161+_0x5142f5;},'IvAoY':function(_0x84aef8,_0x4b4bd2){return _0x84aef8+_0x4b4bd2;},'EVzxu':'p_skey=','KsjBs':_0x825923(0x1ed),'rWIMb':';\x20p_uin=o','nzwmf':function(_0x147deb,_0x2d3092){return _0x147deb||_0x2d3092;},'PJzTK':function(_0x4847b7,_0x3a71b5){return _0x4847b7+_0x3a71b5;},'hVehs':function(_0x274c8a,_0x5aaf67){return _0x274c8a+_0x5aaf67;},'rBRMw':_0x825923(0x21d),'KUVVu':_0x825923(0x1ae),'SYmJV':_0x825923(0x20e),'GYaiC':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x129cb4=(await NTQQUserApi['getPSkey']([_0x2cfc33[_0x825923(0x23e)]]))[_0x825923(0x1b2)],_0xcd7d48=await NTQQUserApi[_0x825923(0x21f)](),_0x157b42=_0x2cfc33[_0x825923(0x22f)](_0x2cfc33['IvAoY'](_0x2cfc33[_0x825923(0x231)]+_0x129cb4+_0x2cfc33[_0x825923(0x236)],_0xcd7d48)+_0x2cfc33[_0x825923(0x1b3)],selfInfo[_0x825923(0x226)]);let _0x243f02=undefined;if(_0x2cfc33['nzwmf'](!_0xcd7d48,!_0x129cb4))return undefined;const _0x259351=WebApi['genBkn'](_0xcd7d48),_0x53908e=_0x2cfc33[_0x825923(0x202)](_0x2cfc33['hVehs'](_0x2cfc33[_0x825923(0x22f)](_0x2cfc33[_0x825923(0x220)]+_0x5ade0d,'&bkn=')+_0x259351,_0x2cfc33[_0x825923(0x21a)])+_0x5369ac,_0x2cfc33[_0x825923(0x1eb)]),_0x330f05=_0x2cfc33[_0x825923(0x1bd)]+_0x259351;try{return _0x243f02=await RequestUtil[_0x825923(0x1c7)](_0x330f05,_0x825923(0x22e),'',{'Cookie':_0x157b42}),_0x243f02;}catch(_0x4edc41){return undefined;}return undefined;}static async[_0x3c82c6(0x1c6)](_0x209690){const _0x34fcb2=_0x3c82c6,_0x12940d={'Kgmor':_0x34fcb2(0x1b2),'nkCmI':function(_0x2962bc,_0x2cdcd2){return _0x2962bc+_0x2cdcd2;},'OqZoT':function(_0x3683e2,_0x47e300){return _0x3683e2+_0x47e300;},'wMDEk':function(_0x138929,_0x461c42){return _0x138929+_0x461c42;},'rJhYr':_0x34fcb2(0x1ac),'bHSoX':';\x20skey=','SEAmJ':_0x34fcb2(0x1b1),'LaqHS':function(_0x22e3e9,_0x4fee6e){return _0x22e3e9||_0x4fee6e;},'MwYfA':function(_0x45da9a,_0x27f695){return _0x45da9a+_0x27f695;},'bCfCC':function(_0x1cd344,_0x5d8ffc){return _0x1cd344+_0x5d8ffc;},'lDqtM':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','MOIPZ':_0x34fcb2(0x21c),'Icirf':function(_0x21ef72,_0x5f12ce){return _0x21ef72!==_0x5f12ce;}},_0x320043=(await NTQQUserApi[_0x34fcb2(0x248)]([_0x12940d['Kgmor']]))[_0x12940d['Kgmor']],_0x11bad2=await NTQQUserApi['getSkey'](),_0x3eacec=_0x12940d[_0x34fcb2(0x1e1)](_0x12940d[_0x34fcb2(0x1aa)](_0x12940d[_0x34fcb2(0x1e1)](_0x12940d[_0x34fcb2(0x210)](_0x12940d['OqZoT'](_0x12940d[_0x34fcb2(0x20d)],_0x320043),_0x12940d['bHSoX']),_0x11bad2),_0x12940d['SEAmJ']),selfInfo[_0x34fcb2(0x226)]);let _0x3f9b2c=undefined;if(_0x12940d['LaqHS'](!_0x11bad2,!_0x320043))return undefined;const _0x31bf6f=WebApi[_0x34fcb2(0x240)](_0x11bad2),_0x205454=_0x12940d[_0x34fcb2(0x210)](_0x12940d[_0x34fcb2(0x1fb)](_0x12940d[_0x34fcb2(0x1d5)](_0x12940d[_0x34fcb2(0x1fb)](_0x12940d[_0x34fcb2(0x1e9)],_0x31bf6f),_0x34fcb2(0x225)),_0x209690),_0x12940d[_0x34fcb2(0x230)]);try{_0x3f9b2c=await RequestUtil[_0x34fcb2(0x1c7)](_0x205454,_0x34fcb2(0x22e),'',{'Cookie':_0x3eacec});if(_0x12940d['Icirf'](_0x3f9b2c?.['ec'],0x0))return undefined;return _0x3f9b2c;}catch(_0x3b9cb5){return undefined;}return undefined;}static[_0x3c82c6(0x240)](_0x32042f){const _0x390eaa=_0x3c82c6,_0x343c26={'gAxAT':function(_0x51f62b,_0x45467e){return _0x51f62b||_0x45467e;},'ntadq':function(_0x100478,_0x3bd352){return _0x100478<_0x3bd352;},'OhuCq':function(_0x4cae15,_0x5438c1){return _0x4cae15+_0x5438c1;},'paNJG':function(_0x1303c1,_0x27f754){return _0x1303c1+_0x27f754;},'gCAXu':function(_0x5737d2,_0x238bea){return _0x5737d2<<_0x238bea;},'UubXU':function(_0x143c3e,_0x70094){return _0x143c3e&_0x70094;}};_0x32042f=_0x343c26[_0x390eaa(0x1a9)](_0x32042f,'');let _0x532841=0x1505;for(let _0x15d825=0x0;_0x343c26[_0x390eaa(0x1f0)](_0x15d825,_0x32042f['length']);_0x15d825++){const _0x4c4f23=_0x32042f['charCodeAt'](_0x15d825);_0x532841=_0x343c26['OhuCq'](_0x343c26[_0x390eaa(0x1ad)](_0x532841,_0x343c26[_0x390eaa(0x245)](_0x532841,0x5)),_0x4c4f23);}return _0x343c26[_0x390eaa(0x1bb)](_0x532841,0x7fffffff)[_0x390eaa(0x234)]();}static async[_0x3c82c6(0x1da)](_0x479d23,_0x557e39){const _0x3494e9=_0x3c82c6,_0x12274d={'VdReD':function(_0xef0359,_0x75fd28){return _0xef0359+_0x75fd28;},'GlHuC':function(_0x184a6a,_0x5ea8de){return _0x184a6a+_0x5ea8de;},'gEgqW':_0x3494e9(0x221),'CELUv':_0x3494e9(0x22e),'sCoay':_0x3494e9(0x24a),'mdGCh':'qun.qq.com','KSNiH':function(_0x567638,_0x178dbd){return _0x567638||_0x178dbd;},'GfOob':function(_0x2f5eb3,_0x52b2b3){return _0x2f5eb3+_0x52b2b3;},'cPGJZ':function(_0x4dd5d9,_0x49bba3){return _0x4dd5d9+_0x49bba3;},'SveCK':function(_0x319998,_0x23a92f){return _0x319998+_0x23a92f;},'UkofP':_0x3494e9(0x1ac),'PWyVj':_0x3494e9(0x1ed),'VMHNz':';\x20p_uin=o','OOYqB':_0x3494e9(0x1ab),'mfvEA':function(_0x37a36b,_0xfef07e){return _0x37a36b===_0xfef07e;},'brDZI':function(_0x17da74,_0x3ac4b5){return _0x17da74===_0x3ac4b5;},'wajIW':_0x3494e9(0x1ea),'ATKVs':function(_0x37d469,_0xe0ae3a){return _0x37d469===_0xe0ae3a;},'bwQjw':function(_0x2f6025,_0x8ec24c,_0xd521d5){return _0x2f6025(_0x8ec24c,_0xd521d5);},'gKXuW':function(_0x23c3c7,_0x2b2232){return _0x23c3c7(_0x2b2232);},'crIZl':function(_0x5df68c,_0xd50af4,_0x529a43){return _0x5df68c(_0xd50af4,_0x529a43);},'aHeuV':_0x3494e9(0x242),'uKerl':function(_0x467a49,_0x293637){return _0x467a49===_0x293637;},'fAMxO':function(_0x527bd7,_0x4de739){return _0x527bd7===_0x4de739;},'WHdaB':function(_0x40b1cc,_0x215d76,_0x23ed56){return _0x40b1cc(_0x215d76,_0x23ed56);},'ebabZ':_0x3494e9(0x1be)},_0x3a7b43=(await NTQQUserApi[_0x3494e9(0x248)]([_0x3494e9(0x1b2)]))[_0x12274d[_0x3494e9(0x1ef)]],_0x396761=await NTQQUserApi[_0x3494e9(0x21f)]();if(_0x12274d[_0x3494e9(0x1b0)](!_0x396761,!_0x3a7b43))return undefined;async function _0x3a4511(_0x144c39,_0x2753fb){const _0x1c2618=_0x3494e9;let _0x49278a=_0x12274d[_0x1c2618(0x207)](_0x12274d[_0x1c2618(0x20f)](_0x12274d[_0x1c2618(0x23c)],_0x144c39),_0x1c2618(0x1dc))+_0x2753fb[_0x1c2618(0x234)](),_0x244e7d='',_0x763edf;try{_0x244e7d=await RequestUtil['HttpGetText'](_0x49278a,_0x12274d[_0x1c2618(0x227)],'',{'Cookie':_0x1dae7c});const _0x25f7bc=_0x244e7d[_0x1c2618(0x1b4)](/window\.__INITIAL_STATE__=(.*?);/);return _0x25f7bc&&(_0x763edf=JSON['parse'](_0x25f7bc[0x1][_0x1c2618(0x20c)]())),_0x2753fb===0x1?_0x763edf?.['talkativeList']:_0x763edf?.[_0x1c2618(0x208)];}catch(_0x1ce982){logDebug(_0x12274d[_0x1c2618(0x22d)],_0x49278a,_0x1ce982);}return undefined;}let _0x33c0ad={'group_id':_0x479d23};const _0x1dae7c=_0x12274d[_0x3494e9(0x1d4)](_0x12274d['cPGJZ'](_0x12274d[_0x3494e9(0x1d4)](_0x12274d[_0x3494e9(0x212)](_0x12274d['cPGJZ'](_0x12274d[_0x3494e9(0x1bf)](_0x12274d[_0x3494e9(0x1bc)],_0x3a7b43),_0x12274d[_0x3494e9(0x1f2)]),_0x396761),_0x12274d[_0x3494e9(0x1c8)]),selfInfo['uin']),_0x12274d[_0x3494e9(0x249)])+selfInfo[_0x3494e9(0x226)];if(_0x12274d[_0x3494e9(0x1c3)](_0x557e39,WebHonorType[_0x3494e9(0x1d2)])||_0x12274d[_0x3494e9(0x241)](_0x557e39,WebHonorType[_0x3494e9(0x1d8)]))try{let _0x4dac8e=await _0x3a4511(_0x479d23,0x1);if(!_0x4dac8e)throw new Error(_0x12274d[_0x3494e9(0x1f5)]);_0x33c0ad['current_talkative']={'user_id':_0x4dac8e[0x0]?.[_0x3494e9(0x226)],'avatar':_0x4dac8e[0x0]?.[_0x3494e9(0x238)],'nickname':_0x4dac8e[0x0]?.[_0x3494e9(0x1ce)],'day_count':0x0,'description':_0x4dac8e[0x0]?.[_0x3494e9(0x214)]},_0x33c0ad['talkative_list']=[];for(const _0x333549 of _0x4dac8e){_0x33c0ad[_0x3494e9(0x20a)]['push']({'user_id':_0x333549?.[_0x3494e9(0x226)],'avatar':_0x333549?.['avatar'],'description':_0x333549?.[_0x3494e9(0x214)],'day_count':0x0,'nickname':_0x333549?.[_0x3494e9(0x1ce)]});}}catch(_0x10bd43){logDebug(_0x10bd43);}if(_0x12274d[_0x3494e9(0x241)](_0x557e39,WebHonorType[_0x3494e9(0x229)])||_0x12274d['ATKVs'](_0x557e39,WebHonorType[_0x3494e9(0x1d8)]))try{let _0x584247=await _0x12274d[_0x3494e9(0x1f3)](_0x3a4511,_0x479d23,0x2);if(!_0x584247)throw new Error(_0x3494e9(0x1c1));_0x33c0ad['performer_list']=[];for(const _0x21464a of _0x584247){_0x33c0ad[_0x3494e9(0x23b)][_0x3494e9(0x1f8)]({'user_id':_0x21464a?.['uin'],'nickname':_0x21464a?.[_0x3494e9(0x1ce)],'avatar':_0x21464a?.[_0x3494e9(0x238)],'description':_0x21464a?.[_0x3494e9(0x214)]});}}catch(_0x2ede19){_0x12274d['gKXuW'](logDebug,_0x2ede19);}if(_0x557e39===WebHonorType[_0x3494e9(0x229)]||_0x557e39===WebHonorType['ALL'])try{let _0x49589e=await _0x12274d[_0x3494e9(0x243)](_0x3a4511,_0x479d23,0x3);if(!_0x49589e)throw new Error(_0x12274d['aHeuV']);_0x33c0ad[_0x3494e9(0x1fd)]=[];for(const _0x53408e of _0x49589e){_0x33c0ad['legend_list'][_0x3494e9(0x1f8)]({'user_id':_0x53408e?.[_0x3494e9(0x226)],'nickname':_0x53408e?.[_0x3494e9(0x1ce)],'avatar':_0x53408e?.['avatar'],'desc':_0x53408e?.[_0x3494e9(0x24b)]});}}catch(_0x54d4ff){_0x12274d[_0x3494e9(0x243)](logDebug,_0x12274d[_0x3494e9(0x1f7)],_0x54d4ff);}if(_0x12274d[_0x3494e9(0x1a5)](_0x557e39,WebHonorType[_0x3494e9(0x1de)])||_0x12274d['fAMxO'](_0x557e39,WebHonorType[_0x3494e9(0x1d8)]))try{let _0x4a2107=await _0x12274d[_0x3494e9(0x239)](_0x3a4511,_0x479d23,0x6);if(!_0x4a2107)throw new Error(_0x12274d[_0x3494e9(0x1cc)]);_0x33c0ad[_0x3494e9(0x1d6)]=[];for(const _0x5647ef of _0x4a2107){_0x33c0ad[_0x3494e9(0x1d6)][_0x3494e9(0x1f8)]({'user_id':_0x5647ef?.['uin'],'nickname':_0x5647ef?.[_0x3494e9(0x1ce)],'avatar':_0x5647ef?.[_0x3494e9(0x238)],'desc':_0x5647ef?.[_0x3494e9(0x24b)]});}}catch(_0x70491){logDebug(_0x12274d[_0x3494e9(0x1cc)],_0x70491);}return(_0x12274d[_0x3494e9(0x1e3)](_0x557e39,WebHonorType[_0x3494e9(0x1de)])||_0x557e39===WebHonorType[_0x3494e9(0x1d8)])&&(_0x33c0ad[_0x3494e9(0x1f6)]=[]),_0x33c0ad;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 07bc587f..f1017bee 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x150935=_0x59d0;(function(_0x3a08b5,_0x11326a){const _0x34e696=_0x59d0,_0x43395e=_0x3a08b5();while(!![]){try{const _0x59beb5=parseInt(_0x34e696(0x1f3))/0x1+parseInt(_0x34e696(0x181))/0x2+parseInt(_0x34e696(0x19d))/0x3*(parseInt(_0x34e696(0x1a9))/0x4)+parseInt(_0x34e696(0x218))/0x5*(parseInt(_0x34e696(0x223))/0x6)+-parseInt(_0x34e696(0x19e))/0x7*(-parseInt(_0x34e696(0x1d9))/0x8)+parseInt(_0x34e696(0x20c))/0x9+-parseInt(_0x34e696(0x219))/0xa;if(_0x59beb5===_0x11326a)break;else _0x43395e['push'](_0x43395e['shift']());}catch(_0x15bb74){_0x43395e['push'](_0x43395e['shift']());}}}(_0x28cd,0x19c72));import _0x132c07 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3a70ba from'node:path';import _0x45c4fd from'node:os';import _0x431708 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x28cd(){const _0x4735c8=['addKernelMsgListener','addMsg','4GKjjeh','onGroupListUpdate','quickLoginWithUin','bUpKu','digest','OiVkm','initDataListener','本账号数据/缓存目录:','RGBWK','from','NodeIKernelGroupListener','addKernelGroupListener','eWPyj','map','message_sent','floor','isQuickLogin','now','onAddSendMsg','XptUP','VwZCG','zvGpc','NodeIKernelSessionListener','init\x20failed\x20','NodeIDispatcherAdapter','replace','WOOCc','assign','resolve','base64','onQRCodeGetPicture','DSfBC','md5','SEynN','140022013','getMsgService','onSelfStatusChanged','UELfh','140022008','_GW_B','initSession','-v2.db','没有可快速登录的QQ号','jUTqV','xspwj','getLoginList','pTVdt','NodeIDependsAdapter','48tKerjp','bLLvA','infos','./nt_qq/global','./.config/QQ','onLoginSuccess','wrMDQ','startNT','split','vOqSK','devUid','msgId','EqJqd','quickLogin','NodeIQQNTWrapperSession','get','addKernelProfileListener','jeYza','initConfig','RpvXh','hex','NodeIKernelBuddyListener','OUzIp','fiCro','passwordLogin','addListener','103993sIyORx','GGyFl','buddyList','onUserLoggedIn','message_received','qrLogin','uid','Hobqb','packet_sent','NodeIKernelLoginService','NodeIKernelProfileListener','nrHfr','rpkYm','ssWPw','onLoginSuccessFuncList','hyduI','catch','consoleLog','uin','createHash','push','onQRCodeLoginSucceed','updateMsg','forEach','engine','1341252hYAgcF','LetQp','init','INRpG','Windows\x2010\x20Pro','onSessionInitComplete','recallTime','DSYhX','loginService','stringify','homedir','getBuddyList','9840OVrjzB','5720670GnwKSm','dataPath','has','mOYSW','update','Opblf','length','createMemberListScene','then','NodeIGlobalAdapter','558FWFqqO','sMbnE','rrMhO','constructor','groupMemberList_MainWindow','ProfileListener','BuddyListener','loginListener','dataPathGlobal','addKernelLoginListener','V1_WIN_NQ_','BBDxT','set','getMsgByLongId','fileLog','快速登录不可用','账号设备(','lrUxC','session','result','45266Dumqjm','onQRCodeSessionFailed','getProfileService','isDelete','YEawY','addKernelBuddyListener','czvih','initSession\x20failed','mkdirSync','data:image/png;base64,','WyaGv','fileLogLevel','QwDnT','当前账号(','rFgtM','getBuddyService','登录失败','TnPLx','proxyHandler','packet_received','clientType','pngBase64QrcodeData','HrgUQ','onRecvMsg','onLoginFailed','name','find','getNextMemberList','613527WtNUfY','16877SvuqUM','\x20has\x20no\x20method\x20','onMsgInfoListUpdate','getGroupService','giOrc','curVersion','util','[KickedOffLine]\x20[','groupCode'];_0x28cd=function(){return _0x4735c8;};return _0x28cd();}import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x285363 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x59d0(_0x30dc51,_0x2d3835){const _0x28cd62=_0x28cd();return _0x59d0=function(_0x59d07e,_0x462e27){_0x59d07e=_0x59d07e-0x171;let _0x25a08c=_0x28cd62[_0x59d07e];return _0x25a08c;},_0x59d0(_0x30dc51,_0x2d3835);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];[_0x150935(0x1a4)];[_0x150935(0x20b)];['loginListener'];['loginService'];[_0x150935(0x201)]=[];[_0x150935(0x193)]={'get'(target,prop,receiver){const _0xf9f79d=_0x150935,RKrzbn={'GGyFl':function(callee,param1){return callee(param1);},'fiCro':function(x,y){return x===y;},'rFgtM':'undefined'};if(RKrzbn[_0xf9f79d(0x1f0)](typeof target[prop],RKrzbn[_0xf9f79d(0x18f)]))return(...args)=>{const _0x3bef27=_0xf9f79d;RKrzbn[_0x3bef27(0x1f4)](logDebug,target[_0x3bef27(0x226)][_0x3bef27(0x19a)]+_0x3bef27(0x19f)+prop);};return Reflect[_0xf9f79d(0x1e8)](target,prop,receiver);}};constructor(){const _0x4b95c4=_0x150935,_0x2fc3f1={'lrUxC':function(_0x214eb7,_0x58976b){return _0x214eb7(_0x58976b);},'wrMDQ':function(_0x9cb056,_0x58a3d4){return _0x9cb056+_0x58a3d4;},'xNywm':_0x4b95c4(0x18e),'WyaGv':')已登录,无法重复登录','giOrc':function(_0x3eb50b,_0x379d19,_0x10b65f){return _0x3eb50b(_0x379d19,_0x10b65f);},'Opblf':function(_0x7a6ce0,_0x59fa22,_0x2b4995){return _0x7a6ce0(_0x59fa22,_0x2b4995);},'YEawY':'./NapCat/data','GRQdv':function(_0x401c7e,_0x104743,_0x4d65ea){return _0x401c7e(_0x104743,_0x4d65ea);},'eWPyj':function(_0x38910f,_0x47294a,_0x203cdc){return _0x38910f(_0x47294a,_0x203cdc);},'TnPLx':_0x4b95c4(0x191),'mOYSW':function(_0x283790,_0x196b06){return _0x283790==_0x196b06;}};this[_0x4b95c4(0x20b)]=new _0x132c07['NodeIQQNTWrapperEngine'](),this[_0x4b95c4(0x1a4)]=new _0x132c07['NodeQQNTWrapperUtil'](),this[_0x4b95c4(0x214)]=new _0x132c07[(_0x4b95c4(0x1fc))](),this[_0x4b95c4(0x17f)]=new _0x132c07[(_0x4b95c4(0x1e7))](),this[_0x4b95c4(0x174)]=new LoginListener(),this['loginListener'][_0x4b95c4(0x1f6)]=_0x15d2ce=>{const _0x45ebb7=_0x4b95c4;_0x2fc3f1[_0x45ebb7(0x17e)](logError,_0x2fc3f1[_0x45ebb7(0x1df)](_0x2fc3f1[_0x45ebb7(0x1df)](_0x2fc3f1['xNywm'],_0x15d2ce),_0x2fc3f1[_0x45ebb7(0x18b)]));},this['loginListener'][_0x4b95c4(0x208)]=_0x597cab=>{const _0x35c81c=_0x4b95c4,_0x56b40f={'QwDnT':function(_0x387d41,_0x4b81fc,_0x42daed){return _0x2fc3f1['GRQdv'](_0x387d41,_0x4b81fc,_0x42daed);},'gTMVm':function(_0x3363dc,_0x34ea9a){return _0x3363dc instanceof _0x34ea9a;}};this['initSession'](_0x597cab[_0x35c81c(0x205)],_0x597cab['uid'])['then'](_0x5b4937=>{const _0x5036c7=_0x35c81c,_0xb193f2={'cdMot':function(_0x941e09,_0x42b252,_0x4c295e){return _0x2fc3f1['giOrc'](_0x941e09,_0x42b252,_0x4c295e);}};selfInfo[_0x5036c7(0x205)]=_0x597cab[_0x5036c7(0x205)],selfInfo['uid']=_0x597cab['uid'],napCatConfig['read'](),_0x2fc3f1[_0x5036c7(0x21e)](setLogLevel,napCatConfig[_0x5036c7(0x18c)],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig[_0x5036c7(0x17b)]),enableConsoleLog(napCatConfig[_0x5036c7(0x204)]),_0x2fc3f1[_0x5036c7(0x17e)](setLogSelfInfo,selfInfo);const _0x50e0c1=_0x3a70ba[_0x5036c7(0x1c5)](this[_0x5036c7(0x21a)],_0x2fc3f1[_0x5036c7(0x185)]);_0x431708[_0x5036c7(0x189)](_0x50e0c1,{'recursive':!![]}),_0x2fc3f1[_0x5036c7(0x1a2)](logDebug,_0x5036c7(0x1b0),_0x50e0c1),dbUtil[_0x5036c7(0x20e)](_0x3a70ba[_0x5036c7(0x1c5)](_0x50e0c1,'./'+_0x597cab['uin']+_0x5036c7(0x1d2)))[_0x5036c7(0x221)](()=>{const _0x1eebd0=_0x5036c7,_0xff2fff={'rTvEE':function(_0x57e7dd,_0x1e04a7,_0x8a0d1e){const _0x1133c9=_0x59d0;return _0x56b40f[_0x1133c9(0x18d)](_0x57e7dd,_0x1e04a7,_0x8a0d1e);},'RGBWK':function(_0x1d1968,_0x5ef908){return _0x56b40f['gTMVm'](_0x1d1968,_0x5ef908);}};this[_0x1eebd0(0x1af)](),this[_0x1eebd0(0x201)][_0x1eebd0(0x1b6)](_0x2c3303=>{const _0x5dec54=_0x1eebd0;new Promise((_0x153cc0,_0xfc6012)=>{const _0x15e14=_0x59d0,_0x3f79f2=_0xff2fff['rTvEE'](_0x2c3303,_0x597cab[_0x15e14(0x205)],_0x597cab['uid']);_0xff2fff[_0x15e14(0x1b1)](_0x3f79f2,Promise)&&_0x3f79f2['then'](_0x153cc0)[_0x15e14(0x203)](_0xfc6012);})[_0x5dec54(0x221)]();});})[_0x5036c7(0x203)](_0x2b2377=>{_0xb193f2['cdMot'](logError,'数据库初始化失败',_0x2b2377);});})[_0x35c81c(0x203)](_0x380ffa=>{const _0x4b57f4=_0x35c81c;_0x2fc3f1['Opblf'](logError,_0x4b57f4(0x188),_0x380ffa);throw new Error('启动失败:\x20'+JSON[_0x4b57f4(0x215)](_0x380ffa));});},this[_0x4b95c4(0x174)][_0x4b95c4(0x182)]=(_0x16276f,_0x53b14d,_0x2a96b9)=>{const _0x4f40d3=_0x4b95c4;_0x2fc3f1[_0x4f40d3(0x1b5)](logError,_0x2fc3f1[_0x4f40d3(0x192)],_0x2a96b9),_0x16276f==0x1&&_0x2fc3f1[_0x4f40d3(0x21c)](_0x53b14d,0x3)&&this['loginService']['getQRCodePicture']();},this[_0x4b95c4(0x174)][_0x4b95c4(0x199)]=_0x1beadc=>{const _0x48ed62=_0x4b95c4;logError(_0x2fc3f1[_0x48ed62(0x192)],_0x1beadc);},this['loginListener']=new Proxy(this[_0x4b95c4(0x174)],this[_0x4b95c4(0x193)]),this['loginService'][_0x4b95c4(0x176)](new _0x132c07['NodeIKernelLoginListener'](this[_0x4b95c4(0x174)])),this[_0x4b95c4(0x1eb)]();}get['dataPath'](){const _0x43ab6a=_0x150935;let _0xdb9d4b=this['util']['getNTUserDataInfoConfig']();return!_0xdb9d4b&&(_0xdb9d4b=_0x3a70ba['resolve'](_0x45c4fd[_0x43ab6a(0x216)](),_0x43ab6a(0x1dd)),_0x431708[_0x43ab6a(0x189)](_0xdb9d4b,{'recursive':!![]})),_0xdb9d4b;}get[_0x150935(0x175)](){const _0x37c287=_0x150935,_0x47e8ce={'HrgUQ':_0x37c287(0x1dc)};return _0x3a70ba[_0x37c287(0x1c5)](this[_0x37c287(0x21a)],_0x47e8ce[_0x37c287(0x197)]);}[_0x150935(0x1eb)](){const _0x1a4fe6=_0x150935,_0x3b58af={'EqJqd':_0x1a4fe6(0x210)};this[_0x1a4fe6(0x20b)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1a4fe6(0x1a3)],'os_version':_0x3b58af[_0x1a4fe6(0x1e5)],'use_xlog':!![],'qua':_0x1a4fe6(0x177)+qqVersionConfigInfo['curVersion'][_0x1a4fe6(0x1c2)]('-','_')+_0x1a4fe6(0x1d0),'global_path_config':{'desktopGlobalPath':this[_0x1a4fe6(0x175)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x132c07[(_0x1a4fe6(0x222))](new GlobalAdapter())),this[_0x1a4fe6(0x214)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1a4fe6(0x175)],'clientVer':qqVersionConfigInfo[_0x1a4fe6(0x1a3)],'hostName':hostname});}[_0x150935(0x1d1)](_0x1ae2f5,_0x788a67){const _0xe886d3=_0x150935,_0x1e0f56={'ibwNW':function(_0x1f0a61,_0x59510b){return _0x1f0a61(_0x59510b);},'bjfGJ':function(_0x132812,_0xac3acd,_0x10d56f,_0x100f88){return _0x132812(_0xac3acd,_0x10d56f,_0x100f88);},'zvGpc':function(_0x12457d,_0x4ec8df){return _0x12457d(_0x4ec8df);},'bLLvA':function(_0x345a76,_0x1a6829){return _0x345a76+_0x1a6829;},'kUnAJ':_0xe886d3(0x1c0)};return new Promise((_0x5d8996,_0x502736)=>{const _0x53f614=_0xe886d3,_0x3baa15={'LetQp':function(_0x478336,_0x47cf49){return _0x478336===_0x47cf49;},'ssWPw':function(_0x280876,_0x373c0d){return _0x1e0f56['ibwNW'](_0x280876,_0x373c0d);}},_0x290d29=_0x1e0f56['bjfGJ'](genSessionConfig,_0x1ae2f5,_0x788a67,this[_0x53f614(0x21a)]),_0x2828a7=new SessionListener();_0x2828a7[_0x53f614(0x211)]=_0x8ff1b2=>{const _0x37210e=_0x53f614;if(_0x3baa15[_0x37210e(0x20d)](_0x8ff1b2,0x0))return _0x3baa15[_0x37210e(0x200)](_0x5d8996,0x0);_0x3baa15[_0x37210e(0x200)](_0x502736,_0x8ff1b2);},this[_0x53f614(0x17f)][_0x53f614(0x20e)](_0x290d29,new _0x132c07[(_0x53f614(0x1d8))](new DependsAdapter()),new _0x132c07[(_0x53f614(0x1c1))](new DispatcherAdapter()),new _0x132c07[(_0x53f614(0x1bf))](_0x2828a7));try{this[_0x53f614(0x17f)][_0x53f614(0x1e0)](0x0);}catch(_0x4e323b){try{this[_0x53f614(0x17f)]['startNT']();}catch(_0x51c303){_0x1e0f56[_0x53f614(0x1be)](_0x502736,_0x1e0f56[_0x53f614(0x1da)](_0x1e0f56['kUnAJ'],_0x51c303));}}});}['initDataListener'](){const _0x71af15=_0x150935,_0x4a88e2={'SEynN':function(_0x3c55ff,_0x14b048){return _0x3c55ff===_0x14b048;},'nrHfr':function(_0x18a14c,_0x109ca2){return _0x18a14c(_0x109ca2);},'RpvXh':function(_0x17756f,_0x29b8b7){return _0x17756f+_0x29b8b7;},'VwZCG':_0x71af15(0x17d),'INRpG':')\x20在线状态变更','OUzIp':function(_0x409769,_0x474c73){return _0x409769(_0x474c73);},'jUTqV':function(_0xf20026,_0x57018a){return _0xf20026+_0x57018a;},'NzvDj':function(_0x175ba8,_0x5a75ca){return _0x175ba8/_0x5a75ca;}},_0x3279f5=new MsgListener();_0x3279f5['onLineDev']=_0x5d6df0=>{const _0x5de038=_0x71af15,_0xe07b93={'vOqSK':function(_0x3e125d,_0x517bff){const _0xf81f34=_0x59d0;return _0x4a88e2[_0xf81f34(0x1ca)](_0x3e125d,_0x517bff);},'czvih':function(_0x563747,_0xc0bdd0){const _0x416af0=_0x59d0;return _0x4a88e2[_0x416af0(0x1fe)](_0x563747,_0xc0bdd0);},'BBDxT':function(_0x143bac,_0x2e8af6){return _0x143bac+_0x2e8af6;},'xspwj':function(_0x346e1c,_0x59360d){const _0x5d8ce2=_0x59d0;return _0x4a88e2[_0x5d8ce2(0x1ec)](_0x346e1c,_0x59360d);},'sMbnE':_0x4a88e2[_0x5de038(0x1bd)],'DSYhX':_0x4a88e2[_0x5de038(0x20f)]};_0x5d6df0['map'](_0x37dbce=>{const _0x269c00=_0x5de038;_0xe07b93[_0x269c00(0x1e2)](_0x37dbce[_0x269c00(0x195)],0x2)&&_0xe07b93[_0x269c00(0x187)](log,_0xe07b93[_0x269c00(0x178)](_0xe07b93[_0x269c00(0x1d5)](_0xe07b93[_0x269c00(0x224)],_0x37dbce[_0x269c00(0x1e3)]),_0xe07b93[_0x269c00(0x213)]));});},_0x3279f5['onKickedOffLine']=_0x112e9a=>{const _0x552490=_0x71af15;_0x4a88e2[_0x552490(0x1ef)](log,_0x4a88e2[_0x552490(0x1ec)](_0x4a88e2[_0x552490(0x1d4)](_0x552490(0x1a5)+_0x112e9a['tipsTitle'],']\x20'),_0x112e9a['tipsDesc']));},_0x3279f5[_0x71af15(0x1a0)]=_0xeca334=>{const _0xe41ef6=_0x71af15;stat[_0xe41ef6(0x194)]+=0x1,_0xeca334[_0xe41ef6(0x1b6)](_0x3c0133=>{const _0x12d3e1=_0xe41ef6;_0x3c0133[_0x12d3e1(0x212)]==='0'?dbUtil[_0x12d3e1(0x1a8)](_0x3c0133)[_0x12d3e1(0x221)]()[_0x12d3e1(0x203)]():dbUtil[_0x12d3e1(0x17a)](_0x3c0133[_0x12d3e1(0x1e4)])[_0x12d3e1(0x221)](_0x36e46a=>{const _0xc9e526=_0x12d3e1;_0x36e46a&&(_0x36e46a[_0xc9e526(0x212)]=_0x3c0133[_0xc9e526(0x212)],dbUtil[_0xc9e526(0x209)](_0x36e46a)[_0xc9e526(0x221)]());});});},_0x3279f5[_0x71af15(0x1bb)]=_0x582026=>{const _0x28a7af=_0x71af15;stat[_0x28a7af(0x1fb)]+=0x1,stat[_0x28a7af(0x1b7)]+=0x1,stat['last_message_time']=Math[_0x28a7af(0x1b8)](_0x4a88e2['NzvDj'](Date[_0x28a7af(0x1ba)](),0x3e8));},_0x3279f5[_0x71af15(0x198)]=_0x5f0054=>{const _0x4ddbb2=_0x71af15;stat[_0x4ddbb2(0x194)]+=0x1,stat[_0x4ddbb2(0x1f7)]+=_0x5f0054['length'],stat['last_message_time']=Math['floor'](Date[_0x4ddbb2(0x1ba)]()/0x3e8);},_0x3279f5['onRecvSysMsg']=(..._0x1017eb)=>{const _0x28b9bf=_0x71af15;stat[_0x28b9bf(0x194)]+=0x1;},this['addListener'](_0x3279f5);const _0xfa14a0=new BuddyListener();_0xfa14a0['onBuddyListChange']=_0x574e6b=>{const _0x3cb678=_0x71af15;rawFriends[_0x3cb678(0x21f)]=0x0,rawFriends['push'](..._0x574e6b);for(const _0x18efb7 of _0x574e6b){for(const _0x1e576f of _0x18efb7[_0x3cb678(0x1f5)]){const _0x72f347=friends['get'](_0x1e576f[_0x3cb678(0x1f9)]);uid2UinMap[_0x1e576f['uid']]=_0x1e576f['uin'],_0x72f347?Object['assign'](_0x72f347,_0x1e576f):friends[_0x3cb678(0x179)](_0x1e576f[_0x3cb678(0x1f9)],_0x1e576f);}}},this['addListener'](_0xfa14a0),this[_0x71af15(0x17f)][_0x71af15(0x190)]()[_0x71af15(0x217)](!![])[_0x71af15(0x221)](_0x53d5c1=>{});const _0x438d9e=new ProfileListener();_0x438d9e['onProfileDetailInfoChanged']=_0xb232f4=>{const _0xfec988=_0x71af15;_0x4a88e2[_0xfec988(0x1ca)](_0xb232f4[_0xfec988(0x1f9)],selfInfo[_0xfec988(0x1f9)])&&Object[_0xfec988(0x1c4)](selfInfo,_0xb232f4);},_0x438d9e[_0x71af15(0x1cd)]=_0x33ca9a=>{},this[_0x71af15(0x1f2)](_0x438d9e);const _0x5a4ef4=new GroupListener();_0x5a4ef4[_0x71af15(0x1aa)]=(_0x3f5c4b,_0x47b7eb)=>{_0x47b7eb['map'](_0x205927=>{const _0x3e6c03=_0x59d0,_0x5a6141=groups[_0x3e6c03(0x1e8)](_0x205927[_0x3e6c03(0x1a6)]);if(_0x5a6141)Object[_0x3e6c03(0x1c4)](_0x5a6141,_0x205927);else{groups[_0x3e6c03(0x179)](_0x205927[_0x3e6c03(0x1a6)],_0x205927);const _0x1a9a23=this[_0x3e6c03(0x17f)][_0x3e6c03(0x1a1)]()[_0x3e6c03(0x220)](_0x205927[_0x3e6c03(0x1a6)],_0x3e6c03(0x171));this['session'][_0x3e6c03(0x1a1)]()[_0x3e6c03(0x19c)](_0x1a9a23,undefined,0xbb8)[_0x3e6c03(0x221)](_0x53e882=>{});}});},_0x5a4ef4['onMemberListChange']=_0x32103c=>{const _0x1cd223=_0x71af15,_0x398ca6=_0x32103c['sceneId'][_0x1cd223(0x1e1)]('_')[0x0];if(groupMembers[_0x1cd223(0x21b)](_0x398ca6)){const _0x10a3d5=groupMembers['get'](_0x398ca6);_0x32103c[_0x1cd223(0x1db)][_0x1cd223(0x20a)]((_0x571b6d,_0xefb626)=>{const _0x4a70eb=_0x1cd223,_0x3670a5=_0x10a3d5[_0x4a70eb(0x1e8)](_0xefb626);_0x3670a5?Object[_0x4a70eb(0x1c4)](_0x3670a5,_0x571b6d):_0x10a3d5['set'](_0xefb626,_0x571b6d);});}else groupMembers[_0x1cd223(0x179)](_0x398ca6,_0x32103c[_0x1cd223(0x1db)]);},_0x5a4ef4['onMemberInfoChange']=(_0xbab7b6,_0x2d34e6,_0x5c7282)=>{const _0x273af3=_0x71af15;_0x4a88e2[_0x273af3(0x1ca)](_0x2d34e6,0x0)&&_0x5c7282['get'](selfInfo[_0x273af3(0x1f9)])&&_0x5c7282['get'](selfInfo[_0x273af3(0x1f9)])?.[_0x273af3(0x184)]&&setTimeout(()=>{groups['delete'](_0xbab7b6);},0x1388);_0x5c7282['forEach']((_0x3b1ea7,_0x385c68)=>{const _0x2f14fb=_0x273af3;uid2UinMap[_0x385c68]=_0x3b1ea7[_0x2f14fb(0x205)];});const _0x393d5b=groupMembers[_0x273af3(0x1e8)](_0xbab7b6);_0x393d5b?_0x5c7282[_0x273af3(0x20a)]((_0x1fc5e8,_0x337112)=>{const _0x2d0915=_0x273af3,_0x17314d=_0x393d5b['get'](_0x337112);_0x17314d?Object[_0x2d0915(0x1c4)](_0x17314d,_0x1fc5e8):_0x393d5b[_0x2d0915(0x179)](_0x337112,_0x1fc5e8);}):groupMembers[_0x273af3(0x179)](_0xbab7b6,_0x5c7282);},this[_0x71af15(0x1f2)](_0x5a4ef4);}[_0x150935(0x1f2)](_0x539b01){const _0x5b4073=_0x150935,_0x53a25c={'GMVZv':_0x5b4073(0x173),'rrMhO':'GroupListener'};_0x539b01=new Proxy(_0x539b01,this[_0x5b4073(0x193)]);switch(_0x539b01['constructor'][_0x5b4073(0x19a)]){case _0x53a25c['GMVZv']:{return this[_0x5b4073(0x17f)][_0x5b4073(0x190)]()[_0x5b4073(0x186)](new _0x132c07[(_0x5b4073(0x1ee))](_0x539b01));}case _0x53a25c[_0x5b4073(0x225)]:{return this[_0x5b4073(0x17f)]['getGroupService']()[_0x5b4073(0x1b4)](new _0x132c07[(_0x5b4073(0x1b3))](_0x539b01));}case'MsgListener':{return this[_0x5b4073(0x17f)][_0x5b4073(0x1cc)]()[_0x5b4073(0x1a7)](new _0x132c07['NodeIKernelMsgListener'](_0x539b01));}case _0x5b4073(0x172):{return this['session'][_0x5b4073(0x183)]()[_0x5b4073(0x1e9)](new _0x132c07[(_0x5b4073(0x1fd))](_0x539b01));}default:return-0x1;}}[_0x150935(0x1de)](_0x325c16){const _0x460e22=_0x150935;this[_0x460e22(0x201)][_0x460e22(0x207)](_0x325c16);}async[_0x150935(0x1e6)](_0x55f7ca){const _0x198723=_0x150935,_0x35356b={'zXmBC':function(_0x16a535,_0x5e0172){return _0x16a535!==_0x5e0172;},'OiVkm':_0x198723(0x1d3),'hyduI':function(_0x55d3a5,_0x407eeb){return _0x55d3a5(_0x407eeb);},'Hobqb':function(_0x3bc1a1,_0x2ab364){return _0x3bc1a1+_0x2ab364;},'jeYza':'快速登录失败\x20'},_0x225c08=await this[_0x198723(0x214)][_0x198723(0x1d6)]();if(_0x35356b['zXmBC'](_0x225c08[_0x198723(0x180)],0x0))throw new Error(_0x35356b[_0x198723(0x1ae)]);const _0x3ec1d0=_0x225c08['LocalLoginInfoList'][_0x198723(0x19b)](_0x110117=>_0x110117[_0x198723(0x205)]===_0x55f7ca);if(!_0x3ec1d0||!_0x3ec1d0?.[_0x198723(0x1b9)])throw new Error(_0x55f7ca+_0x198723(0x17c));await _0x35356b[_0x198723(0x202)](sleep,0x3e8);const _0x398664=await this['loginService'][_0x198723(0x1ab)](_0x55f7ca);if(!_0x398664[_0x198723(0x180)])throw new Error(_0x35356b[_0x198723(0x1fa)](_0x35356b[_0x198723(0x1ea)],_0x398664['loginErrorInfo']['errMsg']));return _0x398664;}async[_0x150935(0x1f8)](_0x8e7c77){const _0x43e2d3=_0x150935,_0x34d2b4={'LKcID':_0x43e2d3(0x18a),'UELfh':_0x43e2d3(0x1c6)};return new Promise((_0x1f16cc,_0x30f3f7)=>{const _0x3d7aef=_0x43e2d3,_0x245761={'DqEMi':_0x34d2b4['LKcID'],'pTVdt':_0x34d2b4[_0x3d7aef(0x1ce)]};this[_0x3d7aef(0x174)][_0x3d7aef(0x1c7)]=_0x1172b2=>{const _0xeb549e=_0x3d7aef,_0x5f560e=_0x1172b2['pngBase64QrcodeData'][_0xeb549e(0x1e1)](_0x245761['DqEMi'])[0x1],_0x2c81a1=Buffer[_0xeb549e(0x1b2)](_0x5f560e,_0x245761[_0xeb549e(0x1d7)]);_0x8e7c77(_0x1172b2['qrcodeUrl'],_0x1172b2[_0xeb549e(0x196)],_0x2c81a1);},this[_0x3d7aef(0x214)]['getQRCodePicture']();});}async['passwordLogin'](_0xa0ef36,_0x448551,_0x4d06b1,_0xcef066,_0x3c3fea){const _0x90b35b=_0x150935,_0x4429c4={'ifvDU':_0x90b35b(0x1ed),'WOOCc':function(_0x35018d,_0x5a84f7){return _0x35018d&&_0x5a84f7;},'bUpKu':function(_0x248ef1,_0x5c5b70){return _0x248ef1||_0x5c5b70;},'AmueP':function(_0x2c5f90,_0x1f9d17){return _0x2c5f90||_0x1f9d17;},'rpkYm':function(_0x38cc2b,_0x25d914){return _0x38cc2b(_0x25d914);},'XptUP':_0x90b35b(0x1cf),'DSfBC':_0x90b35b(0x1cb)},_0x3e5593=_0x285363[_0x90b35b(0x206)](_0x90b35b(0x1c9))[_0x90b35b(0x21d)](_0x448551)[_0x90b35b(0x1ad)](_0x4429c4['ifvDU']),_0x399dec={'uin':_0xa0ef36,'passwordMd5':_0x3e5593,'step':_0x4429c4[_0x90b35b(0x1c3)](_0x4d06b1,_0xcef066)&&_0x3c3fea?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4429c4['bUpKu'](_0x4d06b1,''),'proofWaterRand':_0x4429c4['AmueP'](_0xcef066,''),'proofWaterSid':_0x4429c4[_0x90b35b(0x1ac)](_0x3c3fea,'')};await this[_0x90b35b(0x214)][_0x90b35b(0x1d6)](),await _0x4429c4[_0x90b35b(0x1ff)](sleep,0x3e8);const _0x7a73fa=await this[_0x90b35b(0x214)][_0x90b35b(0x1f1)](_0x399dec);switch(_0x7a73fa[_0x90b35b(0x180)]){case'0':{break;}case _0x4429c4[_0x90b35b(0x1bc)]:{break;}case'4':case _0x4429c4[_0x90b35b(0x1c8)]:default:}}async['getQuickLoginList'](){const _0x13e501=_0x150935,_0x26ea35=await this['loginService'][_0x13e501(0x1d6)]();return _0x26ea35;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x2d0b46=_0x10f4;function _0x17ab(){const _0x35d79e=['140022008','306724UqdZfA','数据库初始化失败','undefined','_GW_B','init','oJANL','dxNXn','UbJiQ','createMemberListScene','jGZoQ','data:image/png;base64,','WzJMt','登录失败','onGroupListUpdate','getNTUserDataInfoConfig','[KickedOffLine]\x20[','addKernelGroupListener','getProfileService','NodeIKernelMsgListener','getLoginList','getBuddyService','jDphp','quickLogin','constructor',')已登录,无法重复登录','set','INMoB','getBuddyList','initSession','keVzC','LaDxB','orbSU','ZCONH','get','delete','push','230352WmNbQZ','GIApW','GZNJk','length','groupMemberList_MainWindow','CvqhT','message_sent','map','1173428zzxbFT','uid','lqFTL','msgId','result','onMemberListChange','MsgListener','IoZqr','hex','HLtUG','cPgoF','PiqNF','本账号数据/缓存目录:','nTTAA','jefoK','21uswSNL','assign','catch','当前账号(','cNXDe','fileLogLevel','addMsg','onQRCodeLoginSucceed','NodeIGlobalAdapter','getQRCodePicture','LocalLoginInfoList','recallTime','now','getMsgService','jzIJk','MleUa','快速登录不可用','57123oGCogE','3ibTlLv','xRunz','ymfRv','./nt_qq/global','onLoginSuccessFuncList','qblhc','onLoginFailed','tipsDesc','session','Sjqci','forEach','consoleLogLevel','iDUZp','loginService','NodeIKernelGroupListener','V1_WIN_NQ_','isQuickLogin','NodeIKernelProfileListener','ProfileListener','clientType','BuddyListener','onProfileDetailInfoChanged','zvOaa','450WzqlQD','curVersion','xQIFO','GroupListener','kUKyB','md5','NodeQQNTWrapperUtil','addKernelLoginListener','NodeIKernelBuddyListener','loginListener','onRecvSysMsg','GZXFN','init\x20failed\x20','split','packet_received','base64','tipsTitle','EGVPU','uin','stringify','uPRQp','-v2.db','groupCode','floor','kdQRu','onKickedOffLine','digest','NodeIDependsAdapter','has','gfwad','resolve','onAddSendMsg','buddyList','initConfig','getNextMemberList','账号设备(','tXiyo','onBuddyListChange','CZWjR','EVxZH','last_message_time','engine','342950EmjQFi','RklOO','NodeIKernelLoginService','update','onQRCodeGetPicture','wUiGd','consoleLog','dataPath','then','VMNss','eHrRr','passwordLogin','addKernelMsgListener','./.config/QQ','\x20has\x20no\x20method\x20','IVBdd','klfBS','42dHRFbg','proxyHandler','pJzTl','getGroupService','mkdirSync','onSelfStatusChanged','hLFRw','addKernelProfileListener','initDataListener','util','onRecvMsg','onSessionInitComplete','dataPathGlobal','initWithDeskTopConfig','addListener','quickLoginWithUin','./NapCat/data','702440rCDPqh','5562469WuEvrF','getMsgByLongId','没有可快速登录的QQ号'];_0x17ab=function(){return _0x35d79e;};return _0x17ab();}(function(_0x462a95,_0x270fae){const _0x4c1e12=_0x10f4,_0x414398=_0x462a95();while(!![]){try{const _0x583c3f=parseInt(_0x4c1e12(0x170))/0x1+parseInt(_0x4c1e12(0xec))/0x2*(-parseInt(_0x4c1e12(0x10d))/0x3)+parseInt(_0x4c1e12(0x175))/0x4+parseInt(_0x4c1e12(0x14e))/0x5*(parseInt(_0x4c1e12(0x15f))/0x6)+parseInt(_0x4c1e12(0xfb))/0x7*(parseInt(_0x4c1e12(0x199))/0x8)+parseInt(_0x4c1e12(0x10c))/0x9*(-parseInt(_0x4c1e12(0x124))/0xa)+parseInt(_0x4c1e12(0x171))/0xb;if(_0x583c3f===_0x270fae)break;else _0x414398['push'](_0x414398['shift']());}catch(_0x292958){_0x414398['push'](_0x414398['shift']());}}}(_0x17ab,0xef027));import _0x4abd27 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x598642 from'node:path';import _0x3e3427 from'node:os';function _0x10f4(_0xbb1991,_0xe5a5b8){const _0x17ab76=_0x17ab();return _0x10f4=function(_0x10f41a,_0x15981e){_0x10f41a=_0x10f41a-0xea;let _0x4a8bd7=_0x17ab76[_0x10f41a];return _0x4a8bd7;},_0x10f4(_0xbb1991,_0xe5a5b8);}import _0x56ce36 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x366ad8 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x2d0b46(0x115)];[_0x2d0b46(0x168)];[_0x2d0b46(0x14d)];[_0x2d0b46(0x12d)];['loginService'];[_0x2d0b46(0x111)]=[];[_0x2d0b46(0x160)]={'get'(target,prop,receiver){const _0x50e564=_0x2d0b46,cGesin={'IoZqr':function(callee,param1){return callee(param1);},'keVzC':_0x50e564(0x177)};if(typeof target[prop]===cGesin[_0x50e564(0x192)])return(...args)=>{const _0xd3a33f=_0x50e564;cGesin[_0xd3a33f(0xf3)](logDebug,target[_0xd3a33f(0x18c)]['name']+_0xd3a33f(0x15c)+prop);};return Reflect[_0x50e564(0x196)](target,prop,receiver);}};constructor(){const _0x28b474=_0x2d0b46,_0x483cc0={'dxNXn':function(_0x237436,_0x353504){return _0x237436(_0x353504);},'UbJiQ':function(_0xd13e,_0x412290){return _0xd13e+_0x412290;},'INMoB':_0x28b474(0x18d),'gfwad':function(_0x3246fa,_0x608fca,_0x2151ad){return _0x3246fa(_0x608fca,_0x2151ad);},'oDSrv':function(_0x18ebbc,_0x19aa6d){return _0x18ebbc instanceof _0x19aa6d;},'HLtUG':function(_0x2de282,_0x246c25){return _0x2de282(_0x246c25);},'cPgoF':function(_0x4bcaa2,_0x4c54df,_0x47bc32){return _0x4bcaa2(_0x4c54df,_0x47bc32);},'GIApW':_0x28b474(0xf8),'klfBS':'initSession\x20failed','tXiyo':_0x28b474(0x181),'WzJMt':function(_0x1e9157,_0x5d545f){return _0x1e9157==_0x5d545f;}};this[_0x28b474(0x14d)]=new _0x4abd27['NodeIQQNTWrapperEngine'](),this['util']=new _0x4abd27[(_0x28b474(0x12a))](),this['loginService']=new _0x4abd27[(_0x28b474(0x150))](),this[_0x28b474(0x115)]=new _0x4abd27['NodeIQQNTWrapperSession'](),this[_0x28b474(0x12d)]=new LoginListener(),this[_0x28b474(0x12d)]['onUserLoggedIn']=_0x76cae8=>{const _0x444e82=_0x28b474;_0x483cc0[_0x444e82(0x17b)](logError,_0x483cc0[_0x444e82(0x17c)](_0x444e82(0xfe),_0x76cae8)+_0x483cc0[_0x444e82(0x18f)]);},this[_0x28b474(0x12d)][_0x28b474(0x102)]=_0x515ea1=>{const _0x3fe6ea=_0x28b474;this[_0x3fe6ea(0x191)](_0x515ea1[_0x3fe6ea(0x136)],_0x515ea1[_0x3fe6ea(0xed)])[_0x3fe6ea(0x156)](_0x59b024=>{const _0x27f538=_0x3fe6ea,_0x31df37={'wUiGd':function(_0x21c923,_0x3fbf8a,_0x5175bf){const _0x30dbb5=_0x10f4;return _0x483cc0[_0x30dbb5(0x141)](_0x21c923,_0x3fbf8a,_0x5175bf);},'ebwiV':function(_0x2067c4,_0x1e61f7){return _0x483cc0['oDSrv'](_0x2067c4,_0x1e61f7);}};selfInfo[_0x27f538(0x136)]=_0x515ea1['uin'],selfInfo[_0x27f538(0xed)]=_0x515ea1[_0x27f538(0xed)],napCatConfig['read'](),setLogLevel(napCatConfig[_0x27f538(0x100)],napCatConfig[_0x27f538(0x118)]),_0x483cc0[_0x27f538(0xf5)](enableFileLog,napCatConfig['fileLog']),_0x483cc0['dxNXn'](enableConsoleLog,napCatConfig[_0x27f538(0x154)]),_0x483cc0[_0x27f538(0xf5)](setLogSelfInfo,selfInfo);const _0x5b9949=_0x598642['resolve'](this[_0x27f538(0x155)],_0x27f538(0x16f));_0x56ce36[_0x27f538(0x163)](_0x5b9949,{'recursive':!![]}),_0x483cc0['cPgoF'](logDebug,_0x483cc0[_0x27f538(0x19a)],_0x5b9949),dbUtil[_0x27f538(0x179)](_0x598642[_0x27f538(0x142)](_0x5b9949,'./'+_0x515ea1[_0x27f538(0x136)]+_0x27f538(0x139)))['then'](()=>{const _0x697eae=_0x27f538,_0x49b131={'RfWBX':function(_0x1e2f79,_0x47709b,_0x37df7e){const _0x31e13e=_0x10f4;return _0x31df37[_0x31e13e(0x153)](_0x1e2f79,_0x47709b,_0x37df7e);},'xQIFO':function(_0xb63fc8,_0xfb38b7){return _0x31df37['ebwiV'](_0xb63fc8,_0xfb38b7);}};this[_0x697eae(0x167)](),this[_0x697eae(0x111)][_0x697eae(0xeb)](_0x5a3c91=>{const _0xd666a8=_0x697eae,_0x1ed62a={'EGVPU':function(_0x5e407d,_0x5436eb,_0x21d432){return _0x49b131['RfWBX'](_0x5e407d,_0x5436eb,_0x21d432);},'jefoK':function(_0x4c990c,_0x318e47){const _0x3f460d=_0x10f4;return _0x49b131[_0x3f460d(0x126)](_0x4c990c,_0x318e47);}};new Promise((_0x3c5367,_0x4d5448)=>{const _0x1b52cc=_0x10f4,_0x2c3e39=_0x1ed62a[_0x1b52cc(0x135)](_0x5a3c91,_0x515ea1[_0x1b52cc(0x136)],_0x515ea1['uid']);_0x1ed62a[_0x1b52cc(0xfa)](_0x2c3e39,Promise)&&_0x2c3e39['then'](_0x3c5367)['catch'](_0x4d5448);})[_0xd666a8(0x156)]();});})['catch'](_0x4377d6=>{const _0xac5002=_0x27f538;_0x31df37['wUiGd'](logError,_0xac5002(0x176),_0x4377d6);});})[_0x3fe6ea(0xfd)](_0x5b96b2=>{const _0x515889=_0x3fe6ea;_0x483cc0[_0x515889(0xf6)](logError,_0x483cc0[_0x515889(0x15e)],_0x5b96b2);throw new Error('启动失败:\x20'+JSON[_0x515889(0x137)](_0x5b96b2));});},this[_0x28b474(0x12d)]['onQRCodeSessionFailed']=(_0x895edb,_0xcb8ab3,_0x156530)=>{const _0x13701d=_0x28b474;_0x483cc0[_0x13701d(0x141)](logError,_0x483cc0[_0x13701d(0x148)],_0x156530),_0x483cc0['WzJMt'](_0x895edb,0x1)&&_0x483cc0[_0x13701d(0x180)](_0xcb8ab3,0x3)&&this['loginService'][_0x13701d(0x104)]();},this[_0x28b474(0x12d)][_0x28b474(0x113)]=_0x1e89ec=>{const _0x435198=_0x28b474;_0x483cc0[_0x435198(0xf6)](logError,_0x435198(0x181),_0x1e89ec);},this[_0x28b474(0x12d)]=new Proxy(this[_0x28b474(0x12d)],this[_0x28b474(0x160)]),this[_0x28b474(0x11a)][_0x28b474(0x12b)](new _0x4abd27['NodeIKernelLoginListener'](this[_0x28b474(0x12d)])),this[_0x28b474(0x145)]();}get[_0x2d0b46(0x155)](){const _0x4f93da=_0x2d0b46,_0x2d1e73={'eHrRr':_0x4f93da(0x15b)};let _0x422208=this[_0x4f93da(0x168)][_0x4f93da(0x183)]();return!_0x422208&&(_0x422208=_0x598642[_0x4f93da(0x142)](_0x3e3427['homedir'](),_0x2d1e73[_0x4f93da(0x158)]),_0x56ce36[_0x4f93da(0x163)](_0x422208,{'recursive':!![]})),_0x422208;}get['dataPathGlobal'](){const _0x3dcacb=_0x2d0b46,_0x22d0ba={'iDUZp':_0x3dcacb(0x110)};return _0x598642[_0x3dcacb(0x142)](this[_0x3dcacb(0x155)],_0x22d0ba[_0x3dcacb(0x119)]);}[_0x2d0b46(0x145)](){const _0x24cd77=_0x2d0b46,_0x2c51bb={'uPRQp':'Windows\x2010\x20Pro'};this[_0x24cd77(0x14d)][_0x24cd77(0x16c)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x24cd77(0x125)],'os_version':_0x2c51bb[_0x24cd77(0x138)],'use_xlog':!![],'qua':_0x24cd77(0x11c)+qqVersionConfigInfo[_0x24cd77(0x125)]['replace']('-','_')+_0x24cd77(0x178),'global_path_config':{'desktopGlobalPath':this[_0x24cd77(0x16b)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4abd27[(_0x24cd77(0x103))](new GlobalAdapter())),this[_0x24cd77(0x11a)][_0x24cd77(0x145)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x24cd77(0x125)],'hostName':hostname});}[_0x2d0b46(0x191)](_0x23082d,_0x3068c3){const _0x5aef36=_0x2d0b46,_0xe427e2={'CZWjR':function(_0x2a815e,_0x34747f){return _0x2a815e===_0x34747f;},'GZXFN':function(_0x571ed2,_0x3efa93,_0x12d4cd,_0x1a9e99){return _0x571ed2(_0x3efa93,_0x12d4cd,_0x1a9e99);},'kdQRu':function(_0x6e45ea,_0x4c3515){return _0x6e45ea(_0x4c3515);},'orbSU':function(_0x48541a,_0x40d1ec){return _0x48541a+_0x40d1ec;},'xRunz':_0x5aef36(0x130)};return new Promise((_0x204c97,_0x45eece)=>{const _0x187ae4=_0x5aef36,_0x296508=_0xe427e2[_0x187ae4(0x12f)](genSessionConfig,_0x23082d,_0x3068c3,this[_0x187ae4(0x155)]),_0x3673e9=new SessionListener();_0x3673e9[_0x187ae4(0x16a)]=_0x271d1d=>{const _0x19091c=_0x187ae4;if(_0xe427e2[_0x19091c(0x14a)](_0x271d1d,0x0))return _0x204c97(0x0);_0x45eece(_0x271d1d);},this[_0x187ae4(0x115)][_0x187ae4(0x179)](_0x296508,new _0x4abd27[(_0x187ae4(0x13f))](new DependsAdapter()),new _0x4abd27['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x4abd27['NodeIKernelSessionListener'](_0x3673e9));try{this['session']['startNT'](0x0);}catch(_0x535a1e){try{this['session']['startNT']();}catch(_0xb35feb){_0xe427e2[_0x187ae4(0x13c)](_0x45eece,_0xe427e2[_0x187ae4(0x194)](_0xe427e2[_0x187ae4(0x10e)],_0xb35feb));}}});}[_0x2d0b46(0x167)](){const _0x88abe3=_0x2d0b46,_0x3e5a0b={'CvqhT':function(_0x3976c2,_0x47401b){return _0x3976c2===_0x47401b;},'Sjqci':function(_0x304c41,_0x5c72aa){return _0x304c41+_0x5c72aa;},'jDphp':_0x88abe3(0x147),'oJANL':')\x20在线状态变更','pJzTl':function(_0x20e337,_0x5008f1){return _0x20e337(_0x5008f1);},'IVBdd':function(_0x5c2afd,_0x4f7cda){return _0x5c2afd+_0x4f7cda;},'MiWcC':_0x88abe3(0x184),'RklOO':function(_0x1d1981,_0x27677a){return _0x1d1981/_0x27677a;},'EVxZH':function(_0x3a8aa7,_0x5c1548){return _0x3a8aa7===_0x5c1548;},'jzIJk':_0x88abe3(0x19d)},_0x53faf0=new MsgListener();_0x53faf0['onLineDev']=_0x2eea80=>{const _0x2436c4=_0x88abe3,_0x4e3dde={'PiqNF':function(_0x5ceb76,_0x1ad98b){const _0x5d59a3=_0x10f4;return _0x3e5a0b[_0x5d59a3(0x19e)](_0x5ceb76,_0x1ad98b);},'jTMRe':function(_0x4ddfdc,_0x4ef350){return _0x4ddfdc(_0x4ef350);},'QxROI':function(_0x225df8,_0x361c1a){const _0x2613e5=_0x10f4;return _0x3e5a0b[_0x2613e5(0x116)](_0x225df8,_0x361c1a);},'VMNss':_0x3e5a0b[_0x2436c4(0x18a)],'jGZoQ':_0x3e5a0b[_0x2436c4(0x17a)]};_0x2eea80[_0x2436c4(0xeb)](_0x2bfbcd=>{const _0x36409e=_0x2436c4;_0x4e3dde[_0x36409e(0xf7)](_0x2bfbcd[_0x36409e(0x120)],0x2)&&_0x4e3dde['jTMRe'](log,_0x4e3dde['QxROI'](_0x4e3dde[_0x36409e(0x157)],_0x2bfbcd['devUid'])+_0x4e3dde[_0x36409e(0x17e)]);});},_0x53faf0[_0x88abe3(0x13d)]=_0x2da15d=>{const _0x49a9c2=_0x88abe3;_0x3e5a0b[_0x49a9c2(0x161)](log,_0x3e5a0b[_0x49a9c2(0x15d)](_0x3e5a0b['Sjqci'](_0x3e5a0b['MiWcC']+_0x2da15d[_0x49a9c2(0x134)],']\x20'),_0x2da15d[_0x49a9c2(0x114)]));},_0x53faf0['onMsgInfoListUpdate']=_0x2b6720=>{const _0x97b13e=_0x88abe3;stat[_0x97b13e(0x132)]+=0x1,_0x2b6720[_0x97b13e(0xeb)](_0x4356f1=>{const _0x4bf5ad=_0x97b13e;_0x4356f1[_0x4bf5ad(0x106)]==='0'?dbUtil[_0x4bf5ad(0x101)](_0x4356f1)[_0x4bf5ad(0x156)]()['catch']():dbUtil[_0x4bf5ad(0x172)](_0x4356f1[_0x4bf5ad(0xef)])[_0x4bf5ad(0x156)](_0x20162e=>{const _0x121b5e=_0x4bf5ad;_0x20162e&&(_0x20162e[_0x121b5e(0x106)]=_0x4356f1['recallTime'],dbUtil['updateMsg'](_0x20162e)[_0x121b5e(0x156)]());});});},_0x53faf0[_0x88abe3(0x143)]=_0x4aab32=>{const _0x35ee54=_0x88abe3;stat['packet_sent']+=0x1,stat[_0x35ee54(0xea)]+=0x1,stat[_0x35ee54(0x14c)]=Math[_0x35ee54(0x13b)](_0x3e5a0b[_0x35ee54(0x14f)](Date[_0x35ee54(0x107)](),0x3e8));},_0x53faf0[_0x88abe3(0x169)]=_0x595354=>{const _0x4358d6=_0x88abe3;stat[_0x4358d6(0x132)]+=0x1,stat['message_received']+=_0x595354[_0x4358d6(0x19c)],stat[_0x4358d6(0x14c)]=Math[_0x4358d6(0x13b)](Date[_0x4358d6(0x107)]()/0x3e8);},_0x53faf0[_0x88abe3(0x12e)]=(..._0x59b28b)=>{const _0x9a4bc6=_0x88abe3;stat[_0x9a4bc6(0x132)]+=0x1;},this[_0x88abe3(0x16d)](_0x53faf0);const _0x5020cd=new BuddyListener();_0x5020cd[_0x88abe3(0x149)]=_0x594019=>{const _0x10dc41=_0x88abe3;rawFriends[_0x10dc41(0x19c)]=0x0,rawFriends['push'](..._0x594019);for(const _0x2d9efe of _0x594019){for(const _0x1e0342 of _0x2d9efe[_0x10dc41(0x144)]){const _0x28f45c=friends[_0x10dc41(0x196)](_0x1e0342[_0x10dc41(0xed)]);uid2UinMap[_0x1e0342[_0x10dc41(0xed)]]=_0x1e0342[_0x10dc41(0x136)],_0x28f45c?Object[_0x10dc41(0xfc)](_0x28f45c,_0x1e0342):friends[_0x10dc41(0x18e)](_0x1e0342['uid'],_0x1e0342);}}},this[_0x88abe3(0x16d)](_0x5020cd),this[_0x88abe3(0x115)][_0x88abe3(0x189)]()[_0x88abe3(0x190)](!![])['then'](_0x54b9da=>{});const _0x4f5c3d=new ProfileListener();_0x4f5c3d[_0x88abe3(0x122)]=_0x39855e=>{const _0x95564c=_0x88abe3;_0x3e5a0b[_0x95564c(0x14b)](_0x39855e[_0x95564c(0xed)],selfInfo[_0x95564c(0xed)])&&Object[_0x95564c(0xfc)](selfInfo,_0x39855e);},_0x4f5c3d[_0x88abe3(0x164)]=_0xbebdb4=>{},this[_0x88abe3(0x16d)](_0x4f5c3d);const _0x1ebd71=new GroupListener();_0x1ebd71[_0x88abe3(0x182)]=(_0x5562b6,_0x43c47e)=>{const _0x15adde=_0x88abe3;_0x43c47e[_0x15adde(0xeb)](_0x407050=>{const _0x195379=_0x15adde,_0x227b2e=groups[_0x195379(0x196)](_0x407050[_0x195379(0x13a)]);if(_0x227b2e)Object[_0x195379(0xfc)](_0x227b2e,_0x407050);else{groups[_0x195379(0x18e)](_0x407050[_0x195379(0x13a)],_0x407050);const _0x139023=this[_0x195379(0x115)]['getGroupService']()[_0x195379(0x17d)](_0x407050['groupCode'],_0x3e5a0b[_0x195379(0x109)]);this['session'][_0x195379(0x162)]()[_0x195379(0x146)](_0x139023,undefined,0xbb8)[_0x195379(0x156)](_0x3e5978=>{});}});},_0x1ebd71[_0x88abe3(0xf1)]=_0xb0535=>{const _0xb639e8=_0x88abe3,_0x3a2536=_0xb0535['sceneId'][_0xb639e8(0x131)]('_')[0x0];if(groupMembers[_0xb639e8(0x140)](_0x3a2536)){const _0x3a5fa1=groupMembers[_0xb639e8(0x196)](_0x3a2536);_0xb0535['infos'][_0xb639e8(0x117)]((_0x199adc,_0x388139)=>{const _0x3f3684=_0xb639e8,_0x37c63d=_0x3a5fa1[_0x3f3684(0x196)](_0x388139);_0x37c63d?Object[_0x3f3684(0xfc)](_0x37c63d,_0x199adc):_0x3a5fa1[_0x3f3684(0x18e)](_0x388139,_0x199adc);});}else groupMembers[_0xb639e8(0x18e)](_0x3a2536,_0xb0535['infos']);},_0x1ebd71['onMemberInfoChange']=(_0x2f9f2f,_0xf58c1e,_0x493098)=>{const _0x2540f3=_0x88abe3;_0x3e5a0b[_0x2540f3(0x14b)](_0xf58c1e,0x0)&&_0x493098['get'](selfInfo[_0x2540f3(0xed)])&&_0x493098[_0x2540f3(0x196)](selfInfo[_0x2540f3(0xed)])?.['isDelete']&&setTimeout(()=>{const _0x506e3b=_0x2540f3;groups[_0x506e3b(0x197)](_0x2f9f2f);},0x1388);_0x493098['forEach']((_0x3a0611,_0xcb6af1)=>{const _0x36f78b=_0x2540f3;uid2UinMap[_0xcb6af1]=_0x3a0611[_0x36f78b(0x136)];});const _0x3ea969=groupMembers[_0x2540f3(0x196)](_0x2f9f2f);_0x3ea969?_0x493098['forEach']((_0xfc93b5,_0x2e0dd4)=>{const _0x3b204a=_0x2540f3,_0x15596f=_0x3ea969['get'](_0x2e0dd4);_0x15596f?Object['assign'](_0x15596f,_0xfc93b5):_0x3ea969[_0x3b204a(0x18e)](_0x2e0dd4,_0xfc93b5);}):groupMembers[_0x2540f3(0x18e)](_0x2f9f2f,_0x493098);},this[_0x88abe3(0x16d)](_0x1ebd71);}[_0x2d0b46(0x16d)](_0x1da2fd){const _0x148f4a=_0x2d0b46,_0x39ca6e={'cOaSU':_0x148f4a(0x121),'JLPuM':_0x148f4a(0x11f)};_0x1da2fd=new Proxy(_0x1da2fd,this['proxyHandler']);switch(_0x1da2fd[_0x148f4a(0x18c)]['name']){case _0x39ca6e['cOaSU']:{return this[_0x148f4a(0x115)]['getBuddyService']()['addKernelBuddyListener'](new _0x4abd27[(_0x148f4a(0x12c))](_0x1da2fd));}case _0x148f4a(0x127):{return this[_0x148f4a(0x115)][_0x148f4a(0x162)]()[_0x148f4a(0x185)](new _0x4abd27[(_0x148f4a(0x11b))](_0x1da2fd));}case _0x148f4a(0xf2):{return this['session'][_0x148f4a(0x108)]()[_0x148f4a(0x15a)](new _0x4abd27[(_0x148f4a(0x187))](_0x1da2fd));}case _0x39ca6e['JLPuM']:{return this[_0x148f4a(0x115)][_0x148f4a(0x186)]()[_0x148f4a(0x166)](new _0x4abd27[(_0x148f4a(0x11e))](_0x1da2fd));}default:return-0x1;}}['onLoginSuccess'](_0x14eea2){const _0xd3f93d=_0x2d0b46;this[_0xd3f93d(0x111)][_0xd3f93d(0x198)](_0x14eea2);}async[_0x2d0b46(0x18b)](_0x2785e8){const _0x438d48=_0x2d0b46,_0x193758={'ZCONH':function(_0x49a43a,_0x5c81ae){return _0x49a43a!==_0x5c81ae;},'ymfRv':_0x438d48(0x173),'hLFRw':function(_0x4ae98b,_0x34e338){return _0x4ae98b(_0x34e338);},'zvOaa':function(_0x4d6d5e,_0x583d38){return _0x4d6d5e+_0x583d38;},'LaDxB':'快速登录失败\x20'},_0x2d882a=await this[_0x438d48(0x11a)][_0x438d48(0x188)]();if(_0x193758[_0x438d48(0x195)](_0x2d882a[_0x438d48(0xf0)],0x0))throw new Error(_0x193758[_0x438d48(0x10f)]);const _0x445fc9=_0x2d882a[_0x438d48(0x105)]['find'](_0x31104f=>_0x31104f[_0x438d48(0x136)]===_0x2785e8);if(!_0x445fc9||!_0x445fc9?.[_0x438d48(0x11d)])throw new Error(_0x2785e8+_0x438d48(0x10b));await _0x193758[_0x438d48(0x165)](sleep,0x3e8);const _0x5b506e=await this[_0x438d48(0x11a)][_0x438d48(0x16e)](_0x2785e8);if(!_0x5b506e[_0x438d48(0xf0)])throw new Error(_0x193758[_0x438d48(0x123)](_0x193758[_0x438d48(0x193)],_0x5b506e['loginErrorInfo']['errMsg']));return _0x5b506e;}async['qrLogin'](_0x277090){const _0x585858=_0x2d0b46,_0x4ba9bd={'MleUa':_0x585858(0x133),'nTTAA':function(_0x17e1e8,_0x4e9203,_0x54a71f,_0x827aba){return _0x17e1e8(_0x4e9203,_0x54a71f,_0x827aba);}};return new Promise((_0x1ca646,_0x2cc769)=>{const _0x23f04b=_0x585858;this[_0x23f04b(0x12d)][_0x23f04b(0x152)]=_0x1a1c08=>{const _0x4a767a=_0x23f04b,_0x37d4b8=_0x1a1c08['pngBase64QrcodeData'][_0x4a767a(0x131)](_0x4a767a(0x17f))[0x1],_0x3dc116=Buffer['from'](_0x37d4b8,_0x4ba9bd[_0x4a767a(0x10a)]);_0x4ba9bd[_0x4a767a(0xf9)](_0x277090,_0x1a1c08['qrcodeUrl'],_0x1a1c08['pngBase64QrcodeData'],_0x3dc116);},this[_0x23f04b(0x11a)]['getQRCodePicture']();});}async[_0x2d0b46(0x159)](_0xb770cd,_0x5d3263,_0x37bc97,_0x13bf38,_0x33c993){const _0x4a4cc9=_0x2d0b46,_0x4d93d1={'kUKyB':_0x4a4cc9(0xf4),'cNXDe':function(_0x475454,_0x5cfcc2){return _0x475454&&_0x5cfcc2;},'lqFTL':function(_0x4b92dd,_0x4dd670){return _0x4b92dd||_0x4dd670;},'dQCby':function(_0x2799fe,_0x41154f){return _0x2799fe||_0x41154f;},'qblhc':_0x4a4cc9(0x174),'GZNJk':'140022013'},_0x4dcb98=_0x366ad8['createHash'](_0x4a4cc9(0x129))[_0x4a4cc9(0x151)](_0x5d3263)[_0x4a4cc9(0x13e)](_0x4d93d1[_0x4a4cc9(0x128)]),_0xc74db4={'uin':_0xb770cd,'passwordMd5':_0x4dcb98,'step':_0x4d93d1[_0x4a4cc9(0xff)](_0x37bc97,_0x13bf38)&&_0x33c993?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4d93d1[_0x4a4cc9(0xee)](_0x37bc97,''),'proofWaterRand':_0x4d93d1['lqFTL'](_0x13bf38,''),'proofWaterSid':_0x4d93d1['dQCby'](_0x33c993,'')};await this['loginService']['getLoginList'](),await sleep(0x3e8);const _0x341069=await this['loginService'][_0x4a4cc9(0x159)](_0xc74db4);switch(_0x341069[_0x4a4cc9(0xf0)]){case'0':{break;}case _0x4d93d1[_0x4a4cc9(0x112)]:{break;}case'4':case _0x4d93d1[_0x4a4cc9(0x19b)]:default:}}async['getQuickLoginList'](){const _0x6b2e8a=_0x2d0b46,_0x5a6658=await this[_0x6b2e8a(0x11a)][_0x6b2e8a(0x188)]();return _0x5a6658;}}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 8fda66ac..46ff26b5 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x5a2a52,_0x6f5345){const _0x197bc6=_0x3011,_0x349c2f=_0x5a2a52();while(!![]){try{const _0x736f09=-parseInt(_0x197bc6(0x165))/0x1+-parseInt(_0x197bc6(0x156))/0x2+parseInt(_0x197bc6(0x169))/0x3+-parseInt(_0x197bc6(0x164))/0x4*(-parseInt(_0x197bc6(0x163))/0x5)+-parseInt(_0x197bc6(0x159))/0x6+parseInt(_0x197bc6(0x16b))/0x7*(parseInt(_0x197bc6(0x161))/0x8)+parseInt(_0x197bc6(0x157))/0x9;if(_0x736f09===_0x6f5345)break;else _0x349c2f['push'](_0x349c2f['shift']());}catch(_0x4c50be){_0x349c2f['push'](_0x349c2f['shift']());}}}(_0x4c22,0x777f0));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x4c22(){const _0x4f170d=['zXaJp','665KIvlwG','7948pyManA','955711uUyUMS','values','uin','from','1842444epbCrZ','YTEWw','7HoLFAy','find','groupCode','1061986sQupUJ','11620206jnHhqM','toString','2927712BgAdQb','get','getGroups','length','delete','pcIWl','getGroupMembers','forEach','2356472oUdGpN'];_0x4c22=function(){return _0x4f170d;};return _0x4c22();}export const groups=new Map();function _0x3011(_0x39f3dd,_0x503011){const _0x4c2219=_0x4c22();return _0x3011=function(_0x301189,_0x4d005a){_0x301189=_0x301189-0x156;let _0x5b9b83=_0x4c2219[_0x301189];return _0x5b9b83;},_0x3011(_0x39f3dd,_0x503011);}export function deleteGroup(_0x3c3e98){const _0x59fdf8=_0x3011;groups[_0x59fdf8(0x15d)](_0x3c3e98),groupMembers[_0x59fdf8(0x15d)](_0x3c3e98);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x4efc1d){const _0x37db0e=_0x3011,_0xd1fd29={'zXaJp':function(_0x5c9344,_0x4424e7){return _0x5c9344(_0x4424e7);}};_0x4efc1d=_0x4efc1d[_0x37db0e(0x158)]();if(_0xd1fd29[_0x37db0e(0x162)](isNumeric,_0x4efc1d)){const _0xc04cca=Array[_0x37db0e(0x168)](friends[_0x37db0e(0x166)]());return _0xc04cca[_0x37db0e(0x16c)](_0x5c3b43=>_0x5c3b43['uin']===_0x4efc1d);}else return friends['get'](_0x4efc1d);}export async function getGroup(_0x52a93f){const _0x2fa0c5=_0x3011;let _0x48d9f5=groups[_0x2fa0c5(0x15a)](_0x52a93f[_0x2fa0c5(0x158)]());if(!_0x48d9f5)try{const _0x4a6ae7=await NTQQGroupApi[_0x2fa0c5(0x15b)]();_0x4a6ae7[_0x2fa0c5(0x15c)]&&_0x4a6ae7[_0x2fa0c5(0x160)](_0x3b4d19=>{const _0x55d1e8=_0x2fa0c5;groups['set'](_0x3b4d19[_0x55d1e8(0x16d)],_0x3b4d19);});}catch(_0x32c278){return undefined;}return _0x48d9f5=groups[_0x2fa0c5(0x15a)](_0x52a93f[_0x2fa0c5(0x158)]()),_0x48d9f5;}export async function getGroupMember(_0x45d4ae,_0x3e63a4){const _0x39f0b4=_0x3011,_0x2790a1={'GAkuD':function(_0x14f205,_0x39ba15){return _0x14f205(_0x39ba15);},'YTEWw':function(_0x42c760){return _0x42c760();}};_0x45d4ae=_0x45d4ae[_0x39f0b4(0x158)](),_0x3e63a4=_0x3e63a4[_0x39f0b4(0x158)]();let _0xb8911c=groupMembers['get'](_0x45d4ae);if(!_0xb8911c)try{_0xb8911c=await NTQQGroupApi[_0x39f0b4(0x15f)](_0x45d4ae),groupMembers['set'](_0x45d4ae,_0xb8911c);}catch(_0x199fc2){return null;}const _0x1f7f0c=()=>{const _0x2b08e2=_0x39f0b4;let _0x2ffeea=undefined;return _0x2790a1['GAkuD'](isNumeric,_0x3e63a4)?_0x2ffeea=Array[_0x2b08e2(0x168)](_0xb8911c[_0x2b08e2(0x166)]())[_0x2b08e2(0x16c)](_0x44587c=>_0x44587c[_0x2b08e2(0x167)]===_0x3e63a4):_0x2ffeea=_0xb8911c[_0x2b08e2(0x15a)](_0x3e63a4),_0x2ffeea;};let _0x2286dc=_0x2790a1[_0x39f0b4(0x16a)](_0x1f7f0c);return!_0x2286dc&&(_0xb8911c=await NTQQGroupApi[_0x39f0b4(0x15f)](_0x45d4ae),_0x2286dc=_0x2790a1[_0x39f0b4(0x16a)](_0x1f7f0c)),_0x2286dc;}export const uid2UinMap={};export function getUidByUin(_0x162f50){const _0x26b5b7=_0x3011,_0x3a2b4d={'pcIWl':function(_0x30628a,_0x4456c2){return _0x30628a===_0x4456c2;}};for(const _0x1d9908 in uid2UinMap){if(_0x3a2b4d[_0x26b5b7(0x15e)](uid2UinMap[_0x1d9908],_0x162f50))return _0x1d9908;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +const _0x3c3e59=_0x1947;(function(_0x64d918,_0x1b5cc1){const _0x3551b1=_0x1947,_0x417298=_0x64d918();while(!![]){try{const _0x17c33d=parseInt(_0x3551b1(0x7c))/0x1*(-parseInt(_0x3551b1(0x7d))/0x2)+parseInt(_0x3551b1(0x76))/0x3*(-parseInt(_0x3551b1(0x69))/0x4)+-parseInt(_0x3551b1(0x70))/0x5*(parseInt(_0x3551b1(0x7a))/0x6)+parseInt(_0x3551b1(0x6a))/0x7+-parseInt(_0x3551b1(0x72))/0x8+-parseInt(_0x3551b1(0x6e))/0x9+parseInt(_0x3551b1(0x68))/0xa;if(_0x17c33d===_0x1b5cc1)break;else _0x417298['push'](_0x417298['shift']());}catch(_0xd2b573){_0x417298['push'](_0x417298['shift']());}}}(_0x50f0,0x30a29));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};function _0x50f0(){const _0x178115=['4aJtzoz','2575727XXYAwi','EFjCC','uin','getGroupMembers','1461834SkSkBj','values','382705usPvtI','groupCode','1385096HDZTVM','from','getGroups','SJpzh','462657ajolpt','toString','NapCat未能正常启动,请检查日志查看错误','get','12TSKMYf','delete','301133yKTscV','2ggicRX','nqZtQ','find','forEach','set','7752450hAaIKv'];_0x50f0=function(){return _0x178115;};return _0x50f0();}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x1ef7bb){const _0x2ec15b=_0x1947;groups[_0x2ec15b(0x7b)](_0x1ef7bb),groupMembers['delete'](_0x1ef7bb);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x3c3e59(0x78)};export async function getFriend(_0x5c8ea3){const _0x18f29e=_0x3c3e59,_0x58bafa={'SJpzh':function(_0x1f57eb,_0x2e5cf8){return _0x1f57eb(_0x2e5cf8);}};_0x5c8ea3=_0x5c8ea3['toString']();if(_0x58bafa[_0x18f29e(0x75)](isNumeric,_0x5c8ea3)){const _0x432057=Array['from'](friends[_0x18f29e(0x6f)]());return _0x432057[_0x18f29e(0x7f)](_0xd1df80=>_0xd1df80['uin']===_0x5c8ea3);}else return friends[_0x18f29e(0x79)](_0x5c8ea3);}function _0x1947(_0x22beee,_0x3009a3){const _0x50f0fc=_0x50f0();return _0x1947=function(_0x19475a,_0x2475fc){_0x19475a=_0x19475a-0x66;let _0x4d4419=_0x50f0fc[_0x19475a];return _0x4d4419;},_0x1947(_0x22beee,_0x3009a3);}export async function getGroup(_0x234200){const _0x56ed20=_0x3c3e59;let _0x2b1bb4=groups[_0x56ed20(0x79)](_0x234200['toString']());if(!_0x2b1bb4)try{const _0x216164=await NTQQGroupApi[_0x56ed20(0x74)]();_0x216164['length']&&_0x216164[_0x56ed20(0x66)](_0x2b819a=>{const _0x1dddfe=_0x56ed20;groups[_0x1dddfe(0x67)](_0x2b819a[_0x1dddfe(0x71)],_0x2b819a);});}catch(_0x24d234){return undefined;}return _0x2b1bb4=groups[_0x56ed20(0x79)](_0x234200['toString']()),_0x2b1bb4;}export async function getGroupMember(_0x1a93ab,_0x330b43){const _0x58f39e=_0x3c3e59,_0x2f99d2={'EFjCC':function(_0x33d188,_0x1784fa){return _0x33d188(_0x1784fa);},'nqZtQ':function(_0x503eed){return _0x503eed();}};_0x1a93ab=_0x1a93ab['toString'](),_0x330b43=_0x330b43[_0x58f39e(0x77)]();let _0x2b6d34=groupMembers[_0x58f39e(0x79)](_0x1a93ab);if(!_0x2b6d34)try{_0x2b6d34=await NTQQGroupApi[_0x58f39e(0x6d)](_0x1a93ab),groupMembers['set'](_0x1a93ab,_0x2b6d34);}catch(_0x44ba55){return null;}const _0x361076=()=>{const _0x33efa2=_0x58f39e;let _0x47f408=undefined;return _0x2f99d2[_0x33efa2(0x6b)](isNumeric,_0x330b43)?_0x47f408=Array[_0x33efa2(0x73)](_0x2b6d34[_0x33efa2(0x6f)]())['find'](_0x465dee=>_0x465dee[_0x33efa2(0x6c)]===_0x330b43):_0x47f408=_0x2b6d34[_0x33efa2(0x79)](_0x330b43),_0x47f408;};let _0x2e293f=_0x2f99d2[_0x58f39e(0x7e)](_0x361076);return!_0x2e293f&&(_0x2b6d34=await NTQQGroupApi[_0x58f39e(0x6d)](_0x1a93ab),_0x2e293f=_0x361076()),_0x2e293f;}export const uid2UinMap={};export function getUidByUin(_0x1abb5b){for(const _0x582847 in uid2UinMap){if(uid2UinMap[_0x582847]===_0x1abb5b)return _0x582847;}}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 c1ae967f..39b214cf 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x2572f5,_0x448aa3){var _0x41c8db=_0x2539,_0xefa25a=_0x2572f5();while(!![]){try{var _0x5c4f08=-parseInt(_0x41c8db(0x1d9))/0x1*(parseInt(_0x41c8db(0x1df))/0x2)+-parseInt(_0x41c8db(0x1dd))/0x3*(parseInt(_0x41c8db(0x1db))/0x4)+parseInt(_0x41c8db(0x1e7))/0x5*(-parseInt(_0x41c8db(0x1e3))/0x6)+-parseInt(_0x41c8db(0x1ec))/0x7*(parseInt(_0x41c8db(0x1e6))/0x8)+-parseInt(_0x41c8db(0x1de))/0x9*(-parseInt(_0x41c8db(0x1dc))/0xa)+parseInt(_0x41c8db(0x1e2))/0xb*(-parseInt(_0x41c8db(0x1ed))/0xc)+parseInt(_0x41c8db(0x1e9))/0xd*(parseInt(_0x41c8db(0x1e5))/0xe);if(_0x5c4f08===_0x448aa3)break;else _0xefa25a['push'](_0xefa25a['shift']());}catch(_0x1162e6){_0xefa25a['push'](_0xefa25a['shift']());}}}(_0x1db5,0xc8b94));;function _0x1db5(){var _0x58c02b=['bvAMa','AUDIO','75663lRweyO','1056Yoqsgt','split','PGQjB','3|0|2|4|1','419fikEYm','kiNVb','4vpophx','11065170MVKNrO','569355GXWCOD','9mphiVV','5718DWONfU','UfwvN','OTHER','13442NVktVp','2931150CmIzUw','IMAGE','14GghVsQ','1160hYmmCf','5eBysun','DOCUMENT','42467347qdSTAO'];_0x1db5=function(){return _0x58c02b;};return _0x1db5();}function _0x2539(_0x560aca,_0x2aef91){var _0x1db50d=_0x1db5();return _0x2539=function(_0x253978,_0x27e5ba){_0x253978=_0x253978-0x1d6;var _0xe7dc51=_0x1db50d[_0x253978];return _0xe7dc51;},_0x2539(_0x560aca,_0x2aef91);}export var CacheFileType;(function(_0x19a55f){var _0x2d9a53=_0x2539,_0x21e0cb={'UfwvN':_0x2d9a53(0x1d8),'lPkAQ':'VIDEO','kiNVb':_0x2d9a53(0x1e1),'xRsjw':_0x2d9a53(0x1eb),'PGQjB':_0x2d9a53(0x1e4),'bvAMa':'DOCUMENT'},_0x45780d=_0x21e0cb[_0x2d9a53(0x1e0)][_0x2d9a53(0x1d6)]('|'),_0x230d0e=0x0;while(!![]){switch(_0x45780d[_0x230d0e++]){case'0':_0x19a55f[_0x19a55f[_0x21e0cb['lPkAQ']]=0x1]=_0x21e0cb['lPkAQ'];continue;case'1':_0x19a55f[_0x19a55f[_0x21e0cb[_0x2d9a53(0x1da)]]=0x4]=_0x21e0cb[_0x2d9a53(0x1da)];continue;case'2':_0x19a55f[_0x19a55f[_0x2d9a53(0x1eb)]=0x2]=_0x21e0cb['xRsjw'];continue;case'3':_0x19a55f[_0x19a55f[_0x21e0cb[_0x2d9a53(0x1d7)]]=0x0]=_0x2d9a53(0x1e4);continue;case'4':_0x19a55f[_0x19a55f[_0x21e0cb[_0x2d9a53(0x1ea)]]=0x3]=_0x2d9a53(0x1e8);continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x594fe7,_0x2e27ef){var _0x51f4b1=_0xa81e,_0x33f8e8=_0x594fe7();while(!![]){try{var _0x35751d=parseInt(_0x51f4b1(0x1cd))/0x1*(-parseInt(_0x51f4b1(0x1cf))/0x2)+-parseInt(_0x51f4b1(0x1c1))/0x3*(parseInt(_0x51f4b1(0x1cc))/0x4)+parseInt(_0x51f4b1(0x1c3))/0x5*(-parseInt(_0x51f4b1(0x1c0))/0x6)+-parseInt(_0x51f4b1(0x1c8))/0x7+-parseInt(_0x51f4b1(0x1d1))/0x8*(-parseInt(_0x51f4b1(0x1d0))/0x9)+parseInt(_0x51f4b1(0x1c4))/0xa*(-parseInt(_0x51f4b1(0x1ce))/0xb)+parseInt(_0x51f4b1(0x1c2))/0xc*(parseInt(_0x51f4b1(0x1cb))/0xd);if(_0x35751d===_0x2e27ef)break;else _0x33f8e8['push'](_0x33f8e8['shift']());}catch(_0x565e2a){_0x33f8e8['push'](_0x33f8e8['shift']());}}}(_0x4563,0x8c18f));function _0xa81e(_0x3ac586,_0x41c281){var _0x4563eb=_0x4563();return _0xa81e=function(_0xa81e3e,_0x309d4c){_0xa81e3e=_0xa81e3e-0x1c0;var _0x25cb43=_0x4563eb[_0xa81e3e];return _0x25cb43;},_0xa81e(_0x3ac586,_0x41c281);}function _0x4563(){var _0x28a14a=['1056YErwvP','6XIaaCP','27925476atkYJo','210ahHofP','10EUjZsd','UWPxL','OTHER','qLZWy','6494768ersEuq','DOoJt','IMAGE','13VKvrbX','612748ryJbnw','41gotvEv','8514451rJLTMk','358priidd','16074XwoGcm','1208QYtFqn'];_0x4563=function(){return _0x28a14a;};return _0x4563();};export var CacheFileType;(function(_0x4ec210){var _0x1f0361=_0xa81e,_0x569a84={'UWPxL':_0x1f0361(0x1ca),'qLZWy':'VIDEO','vsGTG':'AUDIO','DOoJt':'DOCUMENT','bUjPV':_0x1f0361(0x1c6)};_0x4ec210[_0x4ec210[_0x569a84['UWPxL']]=0x0]=_0x569a84[_0x1f0361(0x1c5)],_0x4ec210[_0x4ec210[_0x569a84['qLZWy']]=0x1]=_0x569a84[_0x1f0361(0x1c7)],_0x4ec210[_0x4ec210['AUDIO']=0x2]=_0x569a84['vsGTG'],_0x4ec210[_0x4ec210[_0x569a84[_0x1f0361(0x1c9)]]=0x3]='DOCUMENT',_0x4ec210[_0x4ec210[_0x1f0361(0x1c6)]=0x4]=_0x569a84['bUjPV'];}(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 e4c669a8..10c5ea8c 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x4739a8=_0x17d5;(function(_0x1a1c8e,_0xa9e3fd){const _0x3255df=_0x17d5,_0x3adac6=_0x1a1c8e();while(!![]){try{const _0xfcf3=parseInt(_0x3255df(0xaf))/0x1+-parseInt(_0x3255df(0xa5))/0x2+-parseInt(_0x3255df(0x8c))/0x3+-parseInt(_0x3255df(0xa3))/0x4*(parseInt(_0x3255df(0x99))/0x5)+-parseInt(_0x3255df(0x7c))/0x6+parseInt(_0x3255df(0x97))/0x7*(-parseInt(_0x3255df(0x72))/0x8)+-parseInt(_0x3255df(0x7f))/0x9*(-parseInt(_0x3255df(0xab))/0xa);if(_0xfcf3===_0xa9e3fd)break;else _0x3adac6['push'](_0x3adac6['shift']());}catch(_0xe5ad81){_0x3adac6['push'](_0x3adac6['shift']());}}}(_0x110a,0x815df));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x110a(){const _0xfe3979=['KANml','4248AmEopV','gif','uploadFile','catch','REvxR','MHuqb','text','PSscf','HkFhn','[骰子]','dfFaY','PIC','ezDPv','1664094DZmQUm','ark','yXOcp','Thumb','writeFile','size','screenshots','feJCk','FILE','jpg','ptt','4607771vzbOVm','path','115oaitzq','join','MVzBh','markdown','file','dirname','FACE','图片信息','BKEIC','string','151516CCsOeX','语音转换失败,\x20请检查语音文件是否正常','573260GuHuUn','gQIIw','zemsn','face','MARKDOWN','文件异常,大小为0','74990dSZJIE','toString','getImageSize','height','52096qaZtbC','stat','replace','width','then','rps','[商城表情]','dice','gKMvf','DjsDt','_0.png','REPLY','kaXwA','sep','WieQU','notAt','8oFkMGU','RPS','IZAza','PTT','VIDEO','pic','normal2','TEXT','iPdUJ','JiveN','4145634flhKCB','video'];_0x110a=function(){return _0xfe3979;};return _0x110a();}import{promises as _0x35c404}from'node:fs';import _0x49a3b7 from'fluent-ffmpeg';function _0x17d5(_0x9b167,_0x2dbad8){const _0x110a47=_0x110a();return _0x17d5=function(_0x17d582,_0x4eddc6){_0x17d582=_0x17d582-0x66;let _0x3f48ac=_0x110a47[_0x17d582];return _0x3f48ac;},_0x17d5(_0x9b167,_0x2dbad8);}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';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x4739a8(0x85)](_0x2dfc8e){const _0x184ee4=_0x4739a8;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x2dfc8e,'atType':AtType[_0x184ee4(0x71)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0xb123ce,_0x2f8c5c,_0x1d2f96,_0x4c7dcf){const _0x2d7948=_0x4739a8;return{'elementType':ElementType[_0x2d7948(0x79)],'elementId':'','textElement':{'content':'@'+_0x4c7dcf,'atType':_0x1d2f96,'atUid':_0xb123ce,'atTinyId':'','atNtUid':_0x2f8c5c}};}static['reply'](_0x38465a,_0x753e1,_0x5650d1,_0x17faa9){const _0xebe011=_0x4739a8;return{'elementType':ElementType[_0xebe011(0x6d)],'elementId':'','replyElement':{'replayMsgSeq':_0x38465a,'replayMsgId':_0x753e1,'senderUin':_0x5650d1,'senderUinStr':_0x17faa9}};}static async[_0x4739a8(0x77)](_0x3d7fba,_0x5839e8='',_0x21eaf6=0x0){const _0x5cf41a=_0x4739a8,_0x12fb61={'dfFaY':_0x5cf41a(0xaa),'PSscf':function(_0x2e3ab7,_0x3a1dc6,_0x1d08af){return _0x2e3ab7(_0x3a1dc6,_0x1d08af);},'snWbz':_0x5cf41a(0xa0)},{md5:_0x199363,fileName:_0x165216,path:_0x1915b8,fileSize:_0x434121}=await NTQQFileApi[_0x5cf41a(0x81)](_0x3d7fba,ElementType[_0x5cf41a(0x8a)],_0x21eaf6);if(_0x434121===0x0)throw _0x12fb61[_0x5cf41a(0x89)];const _0x21215b=await NTQQFileApi[_0x5cf41a(0xad)](_0x3d7fba),_0x1f9c9b={'md5HexStr':_0x199363,'fileSize':_0x434121['toString'](),'picWidth':_0x21215b?.[_0x5cf41a(0xb2)],'picHeight':_0x21215b?.[_0x5cf41a(0xae)],'fileName':_0x165216,'sourcePath':_0x1915b8,'original':!![],'picType':isGIF(_0x3d7fba)?PicType[_0x5cf41a(0x80)]:PicType[_0x5cf41a(0x95)],'picSubType':_0x21eaf6,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5839e8};return _0x12fb61[_0x5cf41a(0x86)](logDebug,_0x12fb61['snWbz'],_0x1f9c9b),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x1f9c9b};}static async[_0x4739a8(0x9d)](_0x2719db,_0x3cb17e=''){const _0x47ce31=_0x4739a8,_0x3b9713={'REvxR':function(_0x479cb7,_0x102aa9){return _0x479cb7===_0x102aa9;},'KANml':_0x47ce31(0xaa),'BKEIC':function(_0x5c169e,_0x10f541){return _0x5c169e||_0x10f541;}},{md5:_0x306624,fileName:_0x19f0d6,path:_0x5265d2,fileSize:_0x190543}=await NTQQFileApi['uploadFile'](_0x2719db,ElementType[_0x47ce31(0x94)]);if(_0x3b9713[_0x47ce31(0x83)](_0x190543,0x0))throw _0x3b9713[_0x47ce31(0x7e)];const _0x58556d={'elementType':ElementType[_0x47ce31(0x94)],'elementId':'','fileElement':{'fileName':_0x3b9713[_0x47ce31(0xa1)](_0x3cb17e,_0x19f0d6),'filePath':_0x5265d2,'fileSize':_0x190543[_0x47ce31(0xac)]()}};return _0x58556d;}static async[_0x4739a8(0x7d)](_0x10f44c,_0x3995e7='',_0x495fed=''){const _0x5185a2=_0x4739a8,_0x44283a={'kaXwA':function(_0x38c680,_0x567126){return _0x38c680(_0x567126);},'feJCk':'获取视频封面失败,使用默认封面','HkFhn':function(_0x1d2ca3,_0x45c686){return _0x1d2ca3(_0x45c686);},'KrHsN':function(_0x4ed10a,_0x2f6c88){return _0x4ed10a(_0x2f6c88);},'zemsn':'end','iPdUJ':function(_0x454152,_0x305e04){return _0x454152+_0x305e04;},'MHuqb':function(_0x132ac6,_0x38534e){return _0x132ac6===_0x38534e;},'JiveN':function(_0xa4c1df,_0x172b95){return _0xa4c1df(_0x172b95);},'gQIIw':_0x5185a2(0x98),'IZAza':'mp4','MVzBh':function(_0x3645d4,_0x39ccbc){return _0x3645d4(_0x39ccbc);},'DjsDt':function(_0x2e9c02,_0x42c033,_0x417fc5){return _0x2e9c02(_0x42c033,_0x417fc5);},'WieQU':'视频信息','rpjKE':function(_0x5a6037,_0x30569c,_0x596a46){return _0x5a6037(_0x30569c,_0x596a46);},'zuNcW':function(_0x55f8b1,_0x2f87ac){return _0x55f8b1||_0x2f87ac;}},{fileName:_0x582cb0,path:_0x561b3a,fileSize:_0x4663b5,md5:_0x16aebb}=await NTQQFileApi['uploadFile'](_0x10f44c,ElementType[_0x5185a2(0x76)]);if(_0x44283a[_0x5185a2(0x84)](_0x4663b5,0x0))throw _0x5185a2(0xaa);const _0x536987=_0x44283a[_0x5185a2(0x7b)](require,_0x44283a[_0x5185a2(0xa6)]);let _0x4c514a=_0x561b3a[_0x5185a2(0xb1)](_0x536987['sep']+'Ori'+_0x536987[_0x5185a2(0x6f)],_0x536987[_0x5185a2(0x6f)]+_0x5185a2(0x8f)+_0x536987[_0x5185a2(0x6f)]);_0x4c514a=_0x536987[_0x5185a2(0x9e)](_0x4c514a);let _0x2b84c1={'width':0x780,'height':0x438,'time':0xf,'format':_0x44283a[_0x5185a2(0x74)],'size':_0x4663b5,'filePath':_0x10f44c};try{_0x2b84c1=await _0x44283a[_0x5185a2(0x9b)](getVideoInfo,_0x561b3a),_0x44283a[_0x5185a2(0x6b)](logDebug,_0x44283a[_0x5185a2(0x70)],_0x2b84c1);}catch(_0xabe243){_0x44283a['rpjKE'](logError,'获取视频信息失败',_0xabe243);}const _0x7f833c=new Promise((_0x34300b,_0xaab222)=>{const _0x1de106=_0x5185a2,_0x17c6b8={'gKMvf':function(_0x268738,_0x1bf457){const _0xf4018=_0x17d5;return _0x44283a[_0xf4018(0x6e)](_0x268738,_0x1bf457);}},_0x31b162=_0x16aebb+_0x1de106(0x6c),_0xbb15f4=_0x536987[_0x1de106(0x9a)](_0x4c514a,_0x31b162);_0x44283a['KrHsN'](_0x49a3b7,_0x10f44c)['on'](_0x44283a[_0x1de106(0xa7)],()=>{})['on']('error',_0x40a3e5=>{const _0x40a6dd=_0x1de106,_0x178e29={'ezDPv':function(_0x22cad9,_0x4fd894){return _0x44283a['kaXwA'](_0x22cad9,_0x4fd894);}};logDebug(_0x44283a[_0x40a6dd(0x93)],_0x40a3e5),_0x495fed?_0x35c404['copyFile'](_0x495fed,_0xbb15f4)['then'](()=>{const _0x4cccb3=_0x40a6dd;_0x17c6b8[_0x4cccb3(0x6a)](_0x34300b,_0xbb15f4);})[_0x40a6dd(0x82)](_0xaab222):_0x35c404[_0x40a6dd(0x90)](_0xbb15f4,defaultVideoThumb)[_0x40a6dd(0x66)](()=>{const _0x572fff=_0x40a6dd;_0x178e29[_0x572fff(0x8b)](_0x34300b,_0xbb15f4);})[_0x40a6dd(0x82)](_0xaab222);})[_0x1de106(0x92)]({'timestamps':[0x0],'filename':_0x31b162,'folder':_0x4c514a,'size':_0x44283a['iPdUJ'](_0x44283a[_0x1de106(0x7a)](_0x2b84c1[_0x1de106(0xb2)],'x'),_0x2b84c1[_0x1de106(0xae)])})['on'](_0x44283a[_0x1de106(0xa7)],()=>{const _0x592f50=_0x1de106;_0x44283a[_0x592f50(0x87)](_0x34300b,_0xbb15f4);});}),_0x5d8d8c=new Map(),_0x55675c=await _0x7f833c,_0x312c01=(await _0x35c404[_0x5185a2(0xb0)](_0x55675c))[_0x5185a2(0x91)];_0x5d8d8c['set'](0x0,_0x55675c);const _0x269f6d=await _0x44283a[_0x5185a2(0x87)](calculateFileMD5,_0x55675c),_0x5ceed7={'elementType':ElementType[_0x5185a2(0x76)],'elementId':'','videoElement':{'fileName':_0x44283a['zuNcW'](_0x3995e7,_0x582cb0),'filePath':_0x561b3a,'videoMd5':_0x16aebb,'thumbMd5':_0x269f6d,'fileTime':_0x2b84c1['time'],'thumbPath':_0x5d8d8c,'thumbSize':_0x312c01,'thumbWidth':_0x2b84c1[_0x5185a2(0xb2)],'thumbHeight':_0x2b84c1['height'],'fileSize':_0x44283a[_0x5185a2(0x7a)]('',_0x4663b5)}};return _0x5ceed7;}static async[_0x4739a8(0x96)](_0x133557){const _0x2d3c98=_0x4739a8,_0x475e80={'JfldM':function(_0x2767e2,_0x76eaf){return _0x2767e2(_0x76eaf);},'UaWrY':_0x2d3c98(0xa4),'UAzxy':function(_0x49575e,_0x1dd8c9){return _0x49575e===_0x1dd8c9;},'RvUAS':function(_0x18018b,_0x1ce82e){return _0x18018b||_0x1ce82e;}},{converted:_0x3bc655,path:_0x3af06f,duration:_0x46cd5e}=await _0x475e80['JfldM'](encodeSilk,_0x133557);if(!_0x3af06f)throw _0x475e80['UaWrY'];const {md5:_0x3daa94,fileName:_0x5ad1d4,path:_0x114b82,fileSize:_0x13078a}=await NTQQFileApi['uploadFile'](_0x3af06f,ElementType['PTT']);if(_0x475e80['UAzxy'](_0x13078a,0x0))throw'文件异常,大小为0';return _0x3bc655&&_0x35c404['unlink'](_0x3af06f)[_0x2d3c98(0x66)](),{'elementType':ElementType[_0x2d3c98(0x75)],'elementId':'','pttElement':{'fileName':_0x5ad1d4,'filePath':_0x114b82,'md5HexStr':_0x3daa94,'fileSize':_0x13078a,'duration':_0x475e80['RvUAS'](_0x46cd5e,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[_0x4739a8(0xa8)](_0x5afbd9){const _0x1ae383=_0x4739a8;return{'elementType':ElementType[_0x1ae383(0x9f)],'elementId':'','faceElement':{'faceIndex':_0x5afbd9,'faceType':_0x5afbd9<0xde?FaceType['normal']:FaceType[_0x1ae383(0x78)]}};}static['mface'](_0x51007f,_0xb67b70,_0x3828fc,_0x45cd68){const _0x277ba7=_0x4739a8,_0x483ca2={'XsqTM':_0x277ba7(0x68)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x51007f,'emojiId':_0xb67b70,'key':_0x3828fc,'faceName':_0x45cd68||mFaceCache['get'](_0xb67b70)||_0x483ca2['XsqTM']}};}static[_0x4739a8(0x69)](_0x727772){const _0x3007fd=_0x4739a8;return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x3007fd(0x69)],'faceText':_0x3007fd(0x88),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x4739a8(0x67)](_0x3e0b3a){const _0xaec2e8=_0x4739a8,_0x48d68f={'yXOcp':'[包剪锤]'};return{'elementType':ElementType[_0xaec2e8(0x9f)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xaec2e8(0x73)],'faceText':_0x48d68f[_0xaec2e8(0x8e)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x4739a8(0x8d)](_0x28bee9){const _0x23ec82=_0x4739a8,_0xe1578e={'Fuyiy':function(_0xbb972a,_0x2733fd){return _0xbb972a!==_0x2733fd;}};return _0xe1578e['Fuyiy'](typeof _0x28bee9,_0x23ec82(0xa2))&&(_0x28bee9=JSON['stringify'](_0x28bee9)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x28bee9,'linkInfo':null,'subElementType':null}};}static[_0x4739a8(0x9c)](_0x1e0c14){const _0x4a5ded=_0x4739a8;return{'elementType':ElementType[_0x4a5ded(0xa9)],'elementId':'','markdownElement':{'content':_0x1e0c14}};}} \ No newline at end of file +const _0x38f35c=_0x1c93;function _0x1c93(_0x56b978,_0x2a713e){const _0x27fcf3=_0x27fc();return _0x1c93=function(_0x1c93d8,_0x2c9d4a){_0x1c93d8=_0x1c93d8-0x102;let _0x28b559=_0x27fcf3[_0x1c93d8];return _0x28b559;},_0x1c93(_0x56b978,_0x2a713e);}(function(_0x56ddcf,_0x43fcba){const _0x50ce28=_0x1c93,_0x57e7d7=_0x56ddcf();while(!![]){try{const _0x5001a4=-parseInt(_0x50ce28(0x13a))/0x1*(parseInt(_0x50ce28(0x15d))/0x2)+parseInt(_0x50ce28(0x136))/0x3+parseInt(_0x50ce28(0x102))/0x4*(-parseInt(_0x50ce28(0x119))/0x5)+-parseInt(_0x50ce28(0x132))/0x6*(-parseInt(_0x50ce28(0x15e))/0x7)+parseInt(_0x50ce28(0x12a))/0x8*(parseInt(_0x50ce28(0x143))/0x9)+parseInt(_0x50ce28(0x126))/0xa*(parseInt(_0x50ce28(0x152))/0xb)+-parseInt(_0x50ce28(0x14a))/0xc;if(_0x5001a4===_0x43fcba)break;else _0x57e7d7['push'](_0x57e7d7['shift']());}catch(_0x7c789b){_0x57e7d7['push'](_0x57e7d7['shift']());}}}(_0x27fc,0xcbb6d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x428b96}from'node:fs';import _0x1eea64 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x27fc(){const _0x47b8bb=['set','视频信息','4XbSmNy','6088586ZQbSdY','7316ANvJdV','fhMVY','dirname','PIC','notAt','copyFile','error','rGhzV','Ori','reply','HadWD','IGJIt','REPLY','图片信息','FILE','path','TEXT','then','emoji','sep','mface','VIDEO','ark','1090XLJAqr','AniStickerPackId','video','get','toString','获取视频封面失败,使用默认封面','gif','MFACE','ARK','guKjk','MgerZ','markdown','jpg','10QyuVkU','uuBFF','qVznw','stringify','1822272FVHXOO','width','oylnb','FACE','GaOvG','[包剪锤]','face','AniStickerType','6XxVUSG','getImageSize','end','PNUTS','2353404sIkMfq','_0.png','PTT','time','834343hreQbS','writeFile','cTieB','find','文件异常,大小为0','QDes','height','QSid','gcELJ','54Kxdrfk','replace','UdqdK','size','jyeYF','catch','stat','19533696mZDSXk','QkUaE','unlink','uploadFile','TxRfQ','text','dice','UIkBm','16595249DGdTOX','ciPff','rps','语音转换失败,\x20请检查语音文件是否正常','file','mp4','RPS','YoqrM','iCBLB'];_0x27fc=function(){return _0x47b8bb;};return _0x27fc();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x25e016 from'./face_config.json';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x38f35c(0x14f)](_0x3ca08b){const _0x41cc06=_0x38f35c;return{'elementType':ElementType[_0x41cc06(0x112)],'elementId':'','textElement':{'content':_0x3ca08b,'atType':AtType[_0x41cc06(0x106)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x494599,_0x1e3c80,_0x52d97c,_0xde29ec){const _0xe6822b=_0x38f35c;return{'elementType':ElementType[_0xe6822b(0x112)],'elementId':'','textElement':{'content':'@'+_0xde29ec,'atType':_0x52d97c,'atUid':_0x494599,'atTinyId':'','atNtUid':_0x1e3c80}};}static[_0x38f35c(0x10b)](_0x59acc2,_0x27dbba,_0x503892,_0x549afb){const _0x178dbb=_0x38f35c;return{'elementType':ElementType[_0x178dbb(0x10e)],'elementId':'','replyElement':{'replayMsgSeq':_0x59acc2,'replayMsgId':_0x27dbba,'senderUin':_0x503892,'senderUinStr':_0x549afb}};}static async['pic'](_0x2aac99,_0x2e963d='',_0x48bc87=0x0){const _0x2f593c=_0x38f35c,_0x4e9793={'UIkBm':'文件异常,大小为0','uuBFF':function(_0x5d25d8,_0x2de8eb,_0x125407){return _0x5d25d8(_0x2de8eb,_0x125407);},'eMUFW':_0x2f593c(0x10f)},{md5:_0x3db373,fileName:_0x52476a,path:_0x20409b,fileSize:_0x242679}=await NTQQFileApi[_0x2f593c(0x14d)](_0x2aac99,ElementType[_0x2f593c(0x105)],_0x48bc87);if(_0x242679===0x0)throw _0x4e9793[_0x2f593c(0x151)];const _0xc85b66=await NTQQFileApi[_0x2f593c(0x133)](_0x2aac99),_0x585f5b={'md5HexStr':_0x3db373,'fileSize':_0x242679[_0x2f593c(0x11d)](),'picWidth':_0xc85b66?.[_0x2f593c(0x12b)],'picHeight':_0xc85b66?.[_0x2f593c(0x140)],'fileName':_0x52476a,'sourcePath':_0x20409b,'original':!![],'picType':isGIF(_0x2aac99)?PicType[_0x2f593c(0x11f)]:PicType[_0x2f593c(0x125)],'picSubType':_0x48bc87,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2e963d};return _0x4e9793[_0x2f593c(0x127)](logDebug,_0x4e9793['eMUFW'],_0x585f5b),{'elementType':ElementType[_0x2f593c(0x105)],'elementId':'','picElement':_0x585f5b};}static async[_0x38f35c(0x156)](_0x46c0a2,_0x437356=''){const _0x4bbd1f=_0x38f35c,_0x1ece31={'ciPff':function(_0x388ade,_0x2993b8){return _0x388ade===_0x2993b8;},'rGhzV':_0x4bbd1f(0x13e)},{md5:_0x1607b9,fileName:_0x5a5def,path:_0x503dfc,fileSize:_0x3438ca}=await NTQQFileApi[_0x4bbd1f(0x14d)](_0x46c0a2,ElementType['FILE']);if(_0x1ece31[_0x4bbd1f(0x153)](_0x3438ca,0x0))throw _0x1ece31[_0x4bbd1f(0x109)];const _0x30e92c={'elementType':ElementType[_0x4bbd1f(0x110)],'elementId':'','fileElement':{'fileName':_0x437356||_0x5a5def,'filePath':_0x503dfc,'fileSize':_0x3438ca['toString']()}};return _0x30e92c;}static async[_0x38f35c(0x11b)](_0x2b8b17,_0x1cff9b='',_0x32282c=''){const _0x505d29=_0x38f35c,_0x1f7eb8={'jyeYF':function(_0x3f2cf2,_0x137243){return _0x3f2cf2(_0x137243);},'iCBLB':function(_0x154a27,_0x319a1c){return _0x154a27(_0x319a1c);},'TxRfQ':function(_0x205d93,_0x3ff650,_0x96e1d7){return _0x205d93(_0x3ff650,_0x96e1d7);},'pKGAO':_0x505d29(0x11e),'YoqrM':_0x505d29(0x134),'fhMVY':function(_0x54cf6d,_0x21d265){return _0x54cf6d+_0x21d265;},'oylnb':'文件异常,大小为0','gcELJ':_0x505d29(0x111),'guKjk':_0x505d29(0x157),'cTieB':function(_0x512cd6,_0x108c6b,_0x4b5dff){return _0x512cd6(_0x108c6b,_0x4b5dff);},'GaOvG':_0x505d29(0x15c),'xeueW':function(_0x184ff2,_0x41c2cb){return _0x184ff2||_0x41c2cb;},'UdqdK':function(_0x1292b9,_0x2ea87e){return _0x1292b9+_0x2ea87e;}},{fileName:_0x895f12,path:_0x3d8450,fileSize:_0x2386ba,md5:_0x1b93b6}=await NTQQFileApi[_0x505d29(0x14d)](_0x2b8b17,ElementType[_0x505d29(0x117)]);if(_0x2386ba===0x0)throw _0x1f7eb8[_0x505d29(0x12c)];const _0x5b9d16=_0x1f7eb8['jyeYF'](require,_0x1f7eb8[_0x505d29(0x142)]);let _0x203208=_0x3d8450[_0x505d29(0x144)](_0x5b9d16[_0x505d29(0x115)]+_0x505d29(0x10a)+_0x5b9d16['sep'],_0x5b9d16[_0x505d29(0x115)]+'Thumb'+_0x5b9d16['sep']);_0x203208=_0x5b9d16[_0x505d29(0x104)](_0x203208);let _0x23ab14={'width':0x780,'height':0x438,'time':0xf,'format':_0x1f7eb8[_0x505d29(0x122)],'size':_0x2386ba,'filePath':_0x2b8b17};try{_0x23ab14=await _0x1f7eb8['iCBLB'](getVideoInfo,_0x3d8450),_0x1f7eb8[_0x505d29(0x13c)](logDebug,_0x1f7eb8[_0x505d29(0x12e)],_0x23ab14);}catch(_0x2bfdc7){_0x1f7eb8[_0x505d29(0x14e)](logError,'获取视频信息失败',_0x2bfdc7);}const _0x2f163e=new Promise((_0x897849,_0x3b6bc3)=>{const _0x221d7a=_0x505d29,_0x864095={'pMHaY':function(_0x412c65,_0x277e08){const _0xe9e6c8=_0x1c93;return _0x1f7eb8[_0xe9e6c8(0x15a)](_0x412c65,_0x277e08);},'qVznw':function(_0x3f8ce5,_0x2dba1b,_0x116994){const _0x552a2e=_0x1c93;return _0x1f7eb8[_0x552a2e(0x14e)](_0x3f8ce5,_0x2dba1b,_0x116994);},'ERAaR':_0x1f7eb8['pKGAO']},_0x553d1a=_0x1b93b6+_0x221d7a(0x137),_0x6286f2=_0x5b9d16['join'](_0x203208,_0x553d1a);_0x1eea64(_0x2b8b17)['on'](_0x1f7eb8[_0x221d7a(0x159)],()=>{})['on'](_0x221d7a(0x108),_0x53bf3b=>{const _0x2c8923=_0x221d7a;_0x864095[_0x2c8923(0x128)](logDebug,_0x864095['ERAaR'],_0x53bf3b),_0x32282c?_0x428b96[_0x2c8923(0x107)](_0x32282c,_0x6286f2)['then'](()=>{_0x864095['pMHaY'](_0x897849,_0x6286f2);})[_0x2c8923(0x148)](_0x3b6bc3):_0x428b96[_0x2c8923(0x13b)](_0x6286f2,defaultVideoThumb)[_0x2c8923(0x113)](()=>{_0x864095['pMHaY'](_0x897849,_0x6286f2);})[_0x2c8923(0x148)](_0x3b6bc3);})['screenshots']({'timestamps':[0x0],'filename':_0x553d1a,'folder':_0x203208,'size':_0x1f7eb8[_0x221d7a(0x103)](_0x23ab14[_0x221d7a(0x12b)],'x')+_0x23ab14[_0x221d7a(0x140)]})['on'](_0x1f7eb8[_0x221d7a(0x159)],()=>{const _0xb8452b=_0x221d7a;_0x1f7eb8[_0xb8452b(0x147)](_0x897849,_0x6286f2);});}),_0x3030dc=new Map(),_0x3089e8=await _0x2f163e,_0x56792f=(await _0x428b96[_0x505d29(0x149)](_0x3089e8))[_0x505d29(0x146)];_0x3030dc[_0x505d29(0x15b)](0x0,_0x3089e8);const _0x1f5873=await calculateFileMD5(_0x3089e8),_0x535ac0={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x1f7eb8['xeueW'](_0x1cff9b,_0x895f12),'filePath':_0x3d8450,'videoMd5':_0x1b93b6,'thumbMd5':_0x1f5873,'fileTime':_0x23ab14[_0x505d29(0x139)],'thumbPath':_0x3030dc,'thumbSize':_0x56792f,'thumbWidth':_0x23ab14[_0x505d29(0x12b)],'thumbHeight':_0x23ab14['height'],'fileSize':_0x1f7eb8[_0x505d29(0x145)]('',_0x2386ba)}};return _0x535ac0;}static async['ptt'](_0x4b3605){const _0x46f0ca=_0x38f35c,_0x24b30f={'IGJIt':_0x46f0ca(0x155),'VRUfa':_0x46f0ca(0x13e),'eXrsi':function(_0x5ecace,_0x2e30a5){return _0x5ecace||_0x2e30a5;}},{converted:_0x194a5e,path:_0x470c6c,duration:_0x150aab}=await encodeSilk(_0x4b3605);if(!_0x470c6c)throw _0x24b30f[_0x46f0ca(0x10d)];const {md5:_0x33a7d4,fileName:_0x4f2005,path:_0x526d2b,fileSize:_0x50dcd6}=await NTQQFileApi[_0x46f0ca(0x14d)](_0x470c6c,ElementType[_0x46f0ca(0x138)]);if(_0x50dcd6===0x0)throw _0x24b30f['VRUfa'];return _0x194a5e&&_0x428b96[_0x46f0ca(0x14c)](_0x470c6c)[_0x46f0ca(0x113)](),{'elementType':ElementType[_0x46f0ca(0x138)],'elementId':'','pttElement':{'fileName':_0x4f2005,'filePath':_0x526d2b,'md5HexStr':_0x33a7d4,'fileSize':_0x50dcd6,'duration':_0x24b30f['eXrsi'](_0x150aab,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[_0x38f35c(0x130)](_0x6c472e){const _0xa0e329=_0x38f35c,_0x1a35cf={'QkUaE':function(_0x2eb84c,_0x2bb1dd){return _0x2eb84c(_0x2bb1dd);},'PNUTS':function(_0x3da88c,_0x3b32f3){return _0x3da88c>=_0x3b32f3;}},_0x56cf32=_0x25e016['sysface'],_0x39f26c=_0x25e016[_0xa0e329(0x114)],_0x26179f=_0x56cf32[_0xa0e329(0x13d)](_0x2730f3=>_0x2730f3[_0xa0e329(0x141)]===_0x6c472e[_0xa0e329(0x11d)]());_0x6c472e=_0x1a35cf[_0xa0e329(0x14b)](parseInt,_0x6c472e[_0xa0e329(0x11d)]());let _0x2572fa=0x1;return _0x1a35cf[_0xa0e329(0x135)](_0x6c472e,0xde)&&(_0x2572fa=0x2),_0x26179f[_0xa0e329(0x131)]&&(_0x2572fa=0x3),{'elementType':ElementType[_0xa0e329(0x12d)],'elementId':'','faceElement':{'faceIndex':_0x6c472e,'faceType':_0x2572fa,'faceText':_0x26179f[_0xa0e329(0x13f)],'stickerId':_0x26179f['AniStickerId'],'stickerType':_0x26179f[_0xa0e329(0x131)],'packId':_0x26179f[_0xa0e329(0x11a)],'sourceType':0x1}};}static[_0x38f35c(0x116)](_0x3178ba,_0x22c559,_0x520107,_0x4ae1b0){const _0x3dbe07=_0x38f35c,_0x1dfe0e={'FjFpr':'[商城表情]'};return{'elementType':ElementType[_0x3dbe07(0x120)],'marketFaceElement':{'emojiPackageId':_0x3178ba,'emojiId':_0x22c559,'key':_0x520107,'faceName':_0x4ae1b0||mFaceCache[_0x3dbe07(0x11c)](_0x22c559)||_0x1dfe0e['FjFpr']}};}static[_0x38f35c(0x150)](_0x370982){const _0x4f7e8c=_0x38f35c,_0xb6a46={'oihjK':'[骰子]'};return{'elementType':ElementType[_0x4f7e8c(0x12d)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4f7e8c(0x150)],'faceType':FaceType['dice'],'faceText':_0xb6a46['oihjK'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x38f35c(0x154)](_0x561220){const _0x41ccd9=_0x38f35c,_0x306945={'MgerZ':_0x41ccd9(0x12f)};return{'elementType':ElementType[_0x41ccd9(0x12d)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x41ccd9(0x158)],'faceText':_0x306945[_0x41ccd9(0x123)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x38f35c(0x118)](_0x54f8d4){const _0x74bcd3=_0x38f35c,_0x48fb56={'cOfRH':function(_0x26a5ff,_0x313b70){return _0x26a5ff!==_0x313b70;},'HadWD':'string'};return _0x48fb56['cOfRH'](typeof _0x54f8d4,_0x48fb56[_0x74bcd3(0x10c)])&&(_0x54f8d4=JSON[_0x74bcd3(0x129)](_0x54f8d4)),{'elementType':ElementType[_0x74bcd3(0x121)],'elementId':'','arkElement':{'bytesData':_0x54f8d4,'linkInfo':null,'subElementType':null}};}static[_0x38f35c(0x124)](_0x5513c5){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x5513c5}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/face_config.json b/src/core.lib/src/entities/face_config.json new file mode 100644 index 00000000..d065e29e --- /dev/null +++ b/src/core.lib/src/entities/face_config.json @@ -0,0 +1,3665 @@ +{ + "sysface": [ + { + "QSid": "392", + "QDes": "/龙年快乐", + "IQLid": "392", + "AQLid": "392", + "EMCode": "10392", + "AniStickerType": 3, + "AniStickerPackId": "1", + "AniStickerId": "38" + }, + { + "QSid": "393", + "QDes": "/新年中龙", + "IQLid": "393", + "AQLid": "393", + "EMCode": "10393", + "QHide": "1", + "AniStickerType": 3, + "AniStickerPackId": "1", + "AniStickerId": "39" + }, + { + "QSid": "364", + "QDes": "/超级赞", + "IQLid": "364", + "AQLid": "364", + "EMCode": "10364", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "1", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "366", + "QDes": "/芒狗", + "IQLid": "366", + "AQLid": "366", + "EMCode": "10366", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "2", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "362", + "QDes": "/好兄弟", + "IQLid": "362", + "AQLid": "362", + "EMCode": "10362", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "3", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "397", + "QDes": "/抛媚眼", + "IQLid": "397", + "AQLid": "397", + "EMCode": "10397", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "4", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "396", + "QDes": "/狼狗", + "IQLid": "396", + "AQLid": "396", + "EMCode": "10396", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "5", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "360", + "QDes": "/亲亲", + "IQLid": "360", + "AQLid": "360", + "EMCode": "10360", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "6", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "361", + "QDes": "/狗狗笑哭", + "IQLid": "361", + "AQLid": "361", + "EMCode": "10361", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "7", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "363", + "QDes": "/狗狗可怜", + "IQLid": "363", + "AQLid": "363", + "EMCode": "10363", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "8", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "365", + "QDes": "/狗狗生气", + "IQLid": "365", + "AQLid": "365", + "EMCode": "10365", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "9", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "367", + "QDes": "/狗狗疑问", + "IQLid": "367", + "AQLid": "367", + "EMCode": "10367", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "10", + "AniStickerPackId": "2", + "AniStickerPackName": "汪汪" + }, + { + "QSid": "399", + "QDes": "/tui", + "IQLid": "399", + "AQLid": "399", + "EMCode": "10399", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "1", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "398", + "QDes": "/超级ok", + "IQLid": "398", + "AQLid": "398", + "EMCode": "10398", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "2", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "373", + "QDes": "/忙", + "IQLid": "373", + "AQLid": "373", + "EMCode": "10373", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "3", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "370", + "QDes": "/祝贺", + "IQLid": "370", + "AQLid": "370", + "EMCode": "10370", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "4", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "375", + "QDes": "/超级鼓掌", + "IQLid": "375", + "AQLid": "375", + "EMCode": "10375", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "5", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "368", + "QDes": "/奥特笑哭", + "IQLid": "368", + "AQLid": "368", + "EMCode": "10368", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "6", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "369", + "QDes": "/彩虹", + "IQLid": "369", + "AQLid": "369", + "EMCode": "10369", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "7", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "371", + "QDes": "/冒泡", + "IQLid": "371", + "AQLid": "371", + "EMCode": "10371", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "8", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "372", + "QDes": "/气呼呼", + "IQLid": "372", + "AQLid": "372", + "EMCode": "10372", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "9", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "374", + "QDes": "/波波流泪", + "IQLid": "374", + "AQLid": "374", + "EMCode": "10374", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "10", + "AniStickerPackId": "6", + "AniStickerPackName": "噗噗星人" + }, + { + "QSid": "382", + "QDes": "/emo", + "IQLid": "382", + "AQLid": "382", + "EMCode": "10382", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "1", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "383", + "QDes": "/企鹅爱心", + "IQLid": "383", + "AQLid": "383", + "EMCode": "10383", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "2", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "401", + "QDes": "/超级转圈", + "IQLid": "401", + "AQLid": "401", + "EMCode": "10401", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "3", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "400", + "QDes": "/快乐", + "IQLid": "400", + "AQLid": "400", + "EMCode": "10400", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "4", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "380", + "QDes": "/真棒", + "IQLid": "380", + "AQLid": "380", + "EMCode": "10380", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "5", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "381", + "QDes": "/路过", + "IQLid": "381", + "AQLid": "381", + "EMCode": "10381", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "6", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "379", + "QDes": "/企鹅流泪", + "IQLid": "379", + "AQLid": "379", + "EMCode": "10379", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "7", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "376", + "QDes": "/跺脚", + "IQLid": "376", + "AQLid": "376", + "EMCode": "10376", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "8", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "378", + "QDes": "/企鹅笑哭", + "IQLid": "378", + "AQLid": "378", + "EMCode": "10378", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "9", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "377", + "QDes": "/嗨", + "IQLid": "377", + "AQLid": "377", + "EMCode": "10377", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "10", + "AniStickerPackId": "5", + "AniStickerPackName": "企鹅" + }, + { + "QSid": "403", + "QDes": "/出去玩", + "IQLid": "403", + "AQLid": "403", + "EMCode": "10403", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "1", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "402", + "QDes": "/别说话", + "IQLid": "402", + "AQLid": "402", + "EMCode": "10402", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "2", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "390", + "QDes": "/太头秃", + "IQLid": "390", + "AQLid": "390", + "EMCode": "10390", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "3", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "391", + "QDes": "/太沧桑", + "IQLid": "391", + "AQLid": "391", + "EMCode": "10391", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "4", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "388", + "QDes": "/太头疼", + "IQLid": "388", + "AQLid": "388", + "EMCode": "10388", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "5", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "389", + "QDes": "/太赞了", + "IQLid": "389", + "AQLid": "389", + "EMCode": "10389", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "6", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "386", + "QDes": "/呜呜呜", + "IQLid": "386", + "AQLid": "386", + "EMCode": "10386", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "7", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "385", + "QDes": "/太气了", + "IQLid": "385", + "AQLid": "385", + "EMCode": "10385", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "8", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "384", + "QDes": "/晚安", + "IQLid": "384", + "AQLid": "384", + "EMCode": "10384", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "9", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "387", + "QDes": "/太好笑", + "IQLid": "387", + "AQLid": "387", + "EMCode": "10387", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "10", + "AniStickerPackId": "4", + "AniStickerPackName": "QQ黄脸" + }, + { + "QSid": "413", + "QDes": "/摇起来", + "IQLid": "413", + "AQLid": "413", + "EMCode": "10413", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "1", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "405", + "QDes": "/好运来", + "IQLid": "405", + "AQLid": "405", + "EMCode": "10405", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "2", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "404", + "QDes": "/闪亮登场", + "IQLid": "404", + "AQLid": "404", + "EMCode": "10404", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "3", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "406", + "QDes": "/姐是女王", + "IQLid": "406", + "AQLid": "406", + "EMCode": "10406", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "4", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "410", + "QDes": "/么么哒", + "IQLid": "410", + "AQLid": "410", + "EMCode": "10410", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "5", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "411", + "QDes": "/一起嗨", + "IQLid": "411", + "AQLid": "411", + "EMCode": "10411", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "6", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "407", + "QDes": "/我听听", + "IQLid": "407", + "AQLid": "407", + "EMCode": "10407", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "7", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "408", + "QDes": "/臭美", + "IQLid": "408", + "AQLid": "408", + "EMCode": "10408", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "8", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "412", + "QDes": "/开心", + "IQLid": "412", + "AQLid": "412", + "EMCode": "10412", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "9", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "409", + "QDes": "/送你花花", + "IQLid": "409", + "AQLid": "409", + "EMCode": "10409", + "QHide": "1", + "AniStickerType": 1, + "AniStickerId": "10", + "AniStickerPackId": "3", + "AniStickerPackName": "喜花妮" + }, + { + "QSid": "394", + "QDes": "/新年大龙", + "IQLid": "394", + "AQLid": "394", + "EMCode": "10394", + "QHide": "1", + "AniStickerType": 3, + "AniStickerPackId": "1", + "AniStickerId": "40" + }, + { + "QSid": "14", + "QDes": "/微笑", + "IQLid": "23", + "AQLid": "23", + "EMCode": "100" + }, + { + "QSid": "1", + "QDes": "/撇嘴", + "IQLid": "40", + "AQLid": "40", + "EMCode": "101" + }, + { + "QSid": "2", + "QDes": "/色", + "IQLid": "19", + "AQLid": "19", + "EMCode": "102" + }, + { + "QSid": "3", + "QDes": "/发呆", + "IQLid": "43", + "AQLid": "43", + "EMCode": "103" + }, + { + "QSid": "4", + "QDes": "/得意", + "IQLid": "21", + "AQLid": "21", + "EMCode": "104" + }, + { + "QSid": "6", + "QDes": "/害羞", + "IQLid": "20", + "AQLid": "20", + "EMCode": "106" + }, + { + "QSid": "7", + "QDes": "/闭嘴", + "IQLid": "104", + "AQLid": "106", + "EMCode": "107" + }, + { + "QSid": "8", + "QDes": "/睡", + "IQLid": "35", + "AQLid": "35", + "EMCode": "108" + }, + { + "QSid": "9", + "QDes": "/大哭", + "IQLid": "10", + "AQLid": "10", + "EMCode": "109" + }, + { + "QSid": "5", + "QDes": "/流泪", + "IQLid": "9", + "AQLid": "9", + "EMCode": "105", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "16" + }, + { + "QSid": "10", + "QDes": "/尴尬", + "IQLid": "25", + "AQLid": "25", + "EMCode": "110" + }, + { + "QSid": "11", + "QDes": "/发怒", + "IQLid": "24", + "AQLid": "24", + "EMCode": "111" + }, + { + "QSid": "12", + "QDes": "/调皮", + "IQLid": "1", + "AQLid": "1", + "EMCode": "112" + }, + { + "QSid": "13", + "QDes": "/呲牙", + "IQLid": "0", + "AQLid": "0", + "EMCode": "113" + }, + { + "QSid": "0", + "QDes": "/惊讶", + "IQLid": "33", + "AQLid": "33", + "EMCode": "114" + }, + { + "QSid": "15", + "QDes": "/难过", + "IQLid": "32", + "AQLid": "32", + "EMCode": "115" + }, + { + "QSid": "16", + "QDes": "/酷", + "IQLid": "12", + "AQLid": "12", + "EMCode": "116" + }, + { + "QSid": "96", + "QDes": "/冷汗", + "IQLid": "27", + "AQLid": "27", + "EMCode": "117" + }, + { + "QSid": "18", + "QDes": "/抓狂", + "IQLid": "13", + "AQLid": "13", + "EMCode": "118" + }, + { + "QSid": "19", + "QDes": "/吐", + "IQLid": "22", + "AQLid": "22", + "EMCode": "119" + }, + { + "QSid": "20", + "QDes": "/偷笑", + "IQLid": "3", + "AQLid": "3", + "EMCode": "120" + }, + { + "QSid": "21", + "QDes": "/可爱", + "IQLid": "18", + "AQLid": "18", + "EMCode": "121" + }, + { + "QSid": "22", + "QDes": "/白眼", + "IQLid": "30", + "AQLid": "30", + "EMCode": "122" + }, + { + "QSid": "23", + "QDes": "/傲慢", + "IQLid": "31", + "AQLid": "31", + "EMCode": "123" + }, + { + "QSid": "24", + "QDes": "/饥饿", + "IQLid": "79", + "AQLid": "81", + "EMCode": "124" + }, + { + "QSid": "25", + "QDes": "/困", + "IQLid": "80", + "AQLid": "82", + "EMCode": "125" + }, + { + "QSid": "26", + "QDes": "/惊恐", + "IQLid": "26", + "AQLid": "26", + "EMCode": "126" + }, + { + "QSid": "27", + "QDes": "/流汗", + "IQLid": "2", + "AQLid": "2", + "EMCode": "127" + }, + { + "QSid": "28", + "QDes": "/憨笑", + "IQLid": "37", + "AQLid": "37", + "EMCode": "128" + }, + { + "QSid": "29", + "QDes": "/悠闲", + "IQLid": "50", + "AQLid": "50", + "EMCode": "129" + }, + { + "QSid": "30", + "QDes": "/奋斗", + "IQLid": "42", + "AQLid": "42", + "EMCode": "130" + }, + { + "QSid": "31", + "QDes": "/咒骂", + "IQLid": "81", + "AQLid": "83", + "EMCode": "131" + }, + { + "QSid": "32", + "QDes": "/疑问", + "IQLid": "34", + "AQLid": "34", + "EMCode": "132" + }, + { + "QSid": "33", + "QDes": "/嘘", + "IQLid": "11", + "AQLid": "11", + "EMCode": "133" + }, + { + "QSid": "34", + "QDes": "/晕", + "IQLid": "49", + "AQLid": "49", + "EMCode": "134" + }, + { + "QSid": "35", + "QDes": "/折磨", + "IQLid": "82", + "AQLid": "84", + "EMCode": "135" + }, + { + "QSid": "36", + "QDes": "/衰", + "IQLid": "39", + "AQLid": "39", + "EMCode": "136" + }, + { + "QSid": "37", + "QDes": "/骷髅", + "isStatic": "1", + "IQLid": "76", + "AQLid": "78", + "EMCode": "137" + }, + { + "QSid": "38", + "QDes": "/敲打", + "IQLid": "5", + "AQLid": "5", + "EMCode": "138" + }, + { + "QSid": "39", + "QDes": "/再见", + "IQLid": "4", + "AQLid": "4", + "EMCode": "139" + }, + { + "QSid": "97", + "QDes": "/擦汗", + "IQLid": "6", + "AQLid": "6", + "EMCode": "140" + }, + { + "QSid": "98", + "QDes": "/抠鼻", + "IQLid": "83", + "AQLid": "85", + "EMCode": "141" + }, + { + "QSid": "99", + "QDes": "/鼓掌", + "IQLid": "84", + "AQLid": "86", + "EMCode": "142" + }, + { + "QSid": "100", + "QDes": "/糗大了", + "IQLid": "85", + "AQLid": "87", + "EMCode": "143" + }, + { + "QSid": "101", + "QDes": "/坏笑", + "IQLid": "46", + "AQLid": "46", + "EMCode": "144" + }, + { + "QSid": "102", + "QDes": "/左哼哼", + "IQLid": "86", + "AQLid": "88", + "EMCode": "145" + }, + { + "QSid": "103", + "QDes": "/右哼哼", + "IQLid": "44", + "AQLid": "44", + "EMCode": "146" + }, + { + "QSid": "104", + "QDes": "/哈欠", + "IQLid": "87", + "AQLid": "89", + "EMCode": "147" + }, + { + "QSid": "105", + "QDes": "/鄙视", + "IQLid": "48", + "AQLid": "48", + "EMCode": "148" + }, + { + "QSid": "106", + "QDes": "/委屈", + "IQLid": "14", + "AQLid": "14", + "EMCode": "149" + }, + { + "QSid": "107", + "QDes": "/快哭了", + "IQLid": "88", + "AQLid": "90", + "EMCode": "150" + }, + { + "QSid": "108", + "QDes": "/阴险", + "IQLid": "41", + "AQLid": "41", + "EMCode": "151" + }, + { + "QSid": "305", + "QDes": "/右亲亲", + "IQLid": "305", + "AQLid": "305", + "EMCode": "10305" + }, + { + "QSid": "109", + "QDes": "/左亲亲", + "IQLid": "36", + "AQLid": "36", + "EMCode": "152" + }, + { + "QSid": "110", + "QDes": "/吓", + "IQLid": "89", + "AQLid": "91", + "EMCode": "153" + }, + { + "QSid": "111", + "QDes": "/可怜", + "IQLid": "51", + "AQLid": "51", + "EMCode": "154" + }, + { + "QSid": "172", + "QDes": "/眨眼睛", + "IQLid": "142", + "AQLid": "164", + "EMCode": "242" + }, + { + "QSid": "182", + "QDes": "/笑哭", + "IQLid": "152", + "AQLid": "174", + "EMCode": "252" + }, + { + "QSid": "179", + "QDes": "/doge", + "IQLid": "149", + "AQLid": "171", + "EMCode": "249" + }, + { + "QSid": "173", + "QDes": "/泪奔", + "IQLid": "143", + "AQLid": "165", + "EMCode": "243" + }, + { + "QSid": "174", + "QDes": "/无奈", + "IQLid": "144", + "AQLid": "166", + "EMCode": "244" + }, + { + "QSid": "212", + "QDes": "/托腮", + "IQLid": "182", + "AQLid": "161", + "EMCode": "282" + }, + { + "QSid": "175", + "QDes": "/卖萌", + "IQLid": "145", + "AQLid": "167", + "EMCode": "245" + }, + { + "QSid": "178", + "QDes": "/斜眼笑", + "IQLid": "148", + "AQLid": "170", + "EMCode": "248" + }, + { + "QSid": "177", + "QDes": "/喷血", + "IQLid": "147", + "AQLid": "169", + "EMCode": "247" + }, + { + "QSid": "176", + "QDes": "/小纠结", + "IQLid": "146", + "AQLid": "168", + "EMCode": "246" + }, + { + "QSid": "183", + "QDes": "/我最美", + "IQLid": "153", + "AQLid": "175", + "EMCode": "253" + }, + { + "QSid": "262", + "QDes": "/脑阔疼", + "IQLid": "262", + "AQLid": "262", + "EMCode": "10262" + }, + { + "QSid": "263", + "QDes": "/沧桑", + "IQLid": "263", + "AQLid": "263", + "EMCode": "10263" + }, + { + "QSid": "264", + "QDes": "/捂脸", + "IQLid": "264", + "AQLid": "264", + "EMCode": "10264" + }, + { + "QSid": "265", + "QDes": "/辣眼睛", + "IQLid": "265", + "AQLid": "265", + "EMCode": "10265" + }, + { + "QSid": "266", + "QDes": "/哦哟", + "IQLid": "266", + "AQLid": "266", + "EMCode": "10266" + }, + { + "QSid": "267", + "QDes": "/头秃", + "IQLid": "267", + "AQLid": "267", + "EMCode": "10267" + }, + { + "QSid": "268", + "QDes": "/问号脸", + "IQLid": "268", + "AQLid": "268", + "EMCode": "10268" + }, + { + "QSid": "269", + "QDes": "/暗中观察", + "IQLid": "269", + "AQLid": "269", + "EMCode": "10269" + }, + { + "QSid": "270", + "QDes": "/emm", + "IQLid": "270", + "AQLid": "270", + "EMCode": "10270" + }, + { + "QSid": "271", + "QDes": "/吃瓜", + "IQLid": "271", + "AQLid": "271", + "EMCode": "10271" + }, + { + "QSid": "272", + "QDes": "/呵呵哒", + "IQLid": "272", + "AQLid": "272", + "EMCode": "10272" + }, + { + "QSid": "277", + "QDes": "/汪汪", + "IQLid": "277", + "AQLid": "277", + "EMCode": "10277" + }, + { + "QSid": "307", + "QDes": "/喵喵", + "IQLid": "307", + "AQLid": "307", + "EMCode": "10307" + }, + { + "QSid": "306", + "QDes": "/牛气冲天", + "isStatic": "1", + "IQLid": "306", + "AQLid": "306", + "EMCode": "10306" + }, + { + "QSid": "281", + "QDes": "/无眼笑", + "IQLid": "281", + "AQLid": "281", + "EMCode": "10281" + }, + { + "QSid": "282", + "QDes": "/敬礼", + "IQLid": "282", + "AQLid": "282", + "EMCode": "10282" + }, + { + "QSid": "283", + "QDes": "/狂笑", + "IQLid": "283", + "AQLid": "283", + "EMCode": "10283" + }, + { + "QSid": "284", + "QDes": "/面无表情", + "IQLid": "284", + "AQLid": "284", + "EMCode": "10284" + }, + { + "QSid": "285", + "QDes": "/摸鱼", + "IQLid": "285", + "AQLid": "285", + "EMCode": "10285" + }, + { + "QSid": "293", + "QDes": "/摸锦鲤", + "IQLid": "293", + "AQLid": "293", + "EMCode": "10293" + }, + { + "QSid": "286", + "QDes": "/魔鬼笑", + "IQLid": "286", + "AQLid": "286", + "EMCode": "10286" + }, + { + "QSid": "287", + "QDes": "/哦", + "IQLid": "287", + "AQLid": "287", + "EMCode": "10287" + }, + { + "QSid": "289", + "QDes": "/睁眼", + "IQLid": "289", + "AQLid": "289", + "EMCode": "10289" + }, + { + "QSid": "294", + "QDes": "/期待", + "IQLid": "294", + "AQLid": "294", + "EMCode": "10294" + }, + { + "QSid": "297", + "QDes": "/拜谢", + "IQLid": "297", + "AQLid": "297", + "EMCode": "10297" + }, + { + "QSid": "298", + "QDes": "/元宝", + "IQLid": "298", + "AQLid": "298", + "EMCode": "10298" + }, + { + "QSid": "299", + "QDes": "/牛啊", + "IQLid": "299", + "AQLid": "299", + "EMCode": "10299" + }, + { + "QSid": "300", + "QDes": "/胖三斤", + "IQLid": "300", + "AQLid": "300", + "EMCode": "10300" + }, + { + "QSid": "323", + "QDes": "/嫌弃", + "IQLid": "323", + "AQLid": "323", + "EMCode": "10323" + }, + { + "QSid": "332", + "QDes": "/举牌牌", + "IQLid": "332", + "AQLid": "332", + "EMCode": "10332" + }, + { + "QSid": "336", + "QDes": "/豹富", + "IQLid": "336", + "AQLid": "336", + "EMCode": "10336" + }, + { + "QSid": "353", + "QDes": "/拜托", + "IQLid": "353", + "AQLid": "353", + "EMCode": "10353" + }, + { + "QSid": "355", + "QDes": "/耶", + "IQLid": "355", + "AQLid": "355", + "EMCode": "10355" + }, + { + "QSid": "356", + "QDes": "/666", + "IQLid": "356", + "AQLid": "356", + "EMCode": "10356" + }, + { + "QSid": "354", + "QDes": "/尊嘟假嘟", + "IQLid": "354", + "AQLid": "354", + "EMCode": "10354" + }, + { + "QSid": "352", + "QDes": "/咦", + "IQLid": "352", + "AQLid": "352", + "EMCode": "10352" + }, + { + "QSid": "357", + "QDes": "/裂开", + "IQLid": "357", + "AQLid": "357", + "EMCode": "10357" + }, + { + "QSid": "334", + "QDes": "/虎虎生威", + "IQLid": "334", + "AQLid": "334", + "EMCode": "10334" + }, + { + "QSid": "347", + "QDes": "/大展宏兔", + "IQLid": "347", + "AQLid": "347", + "EMCode": "10347" + }, + { + "QSid": "303", + "QDes": "/右拜年", + "IQLid": "303", + "AQLid": "303", + "EMCode": "10303" + }, + { + "QSid": "302", + "QDes": "/左拜年", + "IQLid": "302", + "AQLid": "302", + "EMCode": "10302" + }, + { + "QSid": "295", + "QDes": "/拿到红包", + "IQLid": "295", + "AQLid": "295", + "EMCode": "10295" + }, + { + "QSid": "311", + "QDes": "/打call", + "IQLid": "311", + "AQLid": "311", + "EMCode": "10311", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "1" + }, + { + "QSid": "312", + "QDes": "/变形", + "IQLid": "312", + "AQLid": "312", + "EMCode": "10312", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "2" + }, + { + "QSid": "314", + "QDes": "/仔细分析", + "IQLid": "314", + "AQLid": "314", + "EMCode": "10314", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "4" + }, + { + "QSid": "317", + "QDes": "/菜汪", + "IQLid": "317", + "AQLid": "317", + "EMCode": "10317", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "7" + }, + { + "QSid": "318", + "QDes": "/崇拜", + "IQLid": "318", + "AQLid": "318", + "EMCode": "10318", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "8" + }, + { + "QSid": "319", + "QDes": "/比心", + "IQLid": "319", + "AQLid": "319", + "EMCode": "10319", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "9" + }, + { + "QSid": "320", + "QDes": "/庆祝", + "IQLid": "320", + "AQLid": "320", + "EMCode": "10320", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "10" + }, + { + "QSid": "324", + "QDes": "/吃糖", + "IQLid": "324", + "AQLid": "324", + "EMCode": "10324", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "12" + }, + { + "QSid": "325", + "QDes": "/惊吓", + "IQLid": "325", + "AQLid": "325", + "EMCode": "10325", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "14" + }, + { + "QSid": "337", + "QDes": "/花朵脸", + "IQLid": "337", + "AQLid": "337", + "EMCode": "10337", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "22" + }, + { + "QSid": "338", + "QDes": "/我想开了", + "IQLid": "338", + "AQLid": "338", + "EMCode": "10338", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "20" + }, + { + "QSid": "339", + "QDes": "/舔屏", + "IQLid": "339", + "AQLid": "339", + "EMCode": "10339", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "21" + }, + { + "QSid": "341", + "QDes": "/打招呼", + "IQLid": "341", + "AQLid": "341", + "EMCode": "10341", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "24" + }, + { + "QSid": "342", + "QDes": "/酸Q", + "IQLid": "342", + "AQLid": "342", + "EMCode": "10342", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "26" + }, + { + "QSid": "343", + "QDes": "/我方了", + "IQLid": "343", + "AQLid": "343", + "EMCode": "10343", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "27" + }, + { + "QSid": "344", + "QDes": "/大怨种", + "IQLid": "344", + "AQLid": "344", + "EMCode": "10344", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "28" + }, + { + "QSid": "345", + "QDes": "/红包多多", + "IQLid": "345", + "AQLid": "345", + "EMCode": "10345", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "29" + }, + { + "QSid": "346", + "QDes": "/你真棒棒", + "IQLid": "346", + "AQLid": "346", + "EMCode": "10346", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "25" + }, + { + "QSid": "181", + "QDes": "/戳一戳", + "IQLid": "151", + "AQLid": "173", + "EMCode": "251", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "37" + }, + { + "QSid": "74", + "QDes": "/太阳", + "isStatic": "1", + "IQLid": "73", + "AQLid": "75", + "EMCode": "176", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "35" + }, + { + "QSid": "75", + "QDes": "/月亮", + "isStatic": "1", + "IQLid": "67", + "AQLid": "68", + "EMCode": "175", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "36" + }, + { + "QSid": "351", + "QDes": "/敲敲", + "IQLid": "351", + "AQLid": "351", + "EMCode": "10351", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "30" + }, + { + "QSid": "349", + "QDes": "/坚强", + "IQLid": "349", + "AQLid": "349", + "EMCode": "10349", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "32" + }, + { + "QSid": "350", + "QDes": "/贴贴", + "IQLid": "350", + "AQLid": "350", + "EMCode": "10350", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "31" + }, + { + "QSid": "395", + "QDes": "/略略略", + "IQLid": "395", + "AQLid": "395", + "EMCode": "10395", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "41" + }, + { + "QSid": "114", + "QDes": "/篮球", + "IQLid": "90", + "AQLid": "92", + "EMCode": "158", + "AniStickerType": 2, + "AniStickerPackId": "1", + "AniStickerId": "13" + }, + { + "QSid": "358", + "QDes": "/骰子", + "IQLid": "358", + "AQLid": "358", + "QHide": "1", + "EMCode": "10358", + "AniStickerType": 2, + "AniStickerPackId": "1", + "AniStickerId": "33" + }, + { + "QSid": "359", + "QDes": "/包剪锤", + "IQLid": "359", + "AQLid": "359", + "QHide": "1", + "EMCode": "10359", + "AniStickerType": 2, + "AniStickerPackId": "1", + "AniStickerId": "34" + }, + { + "QSid": "326", + "QDes": "/生气", + "IQLid": "326", + "AQLid": "326", + "EMCode": "10326", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "15" + }, + { + "QSid": "53", + "QDes": "/蛋糕", + "IQLid": "59", + "AQLid": "59", + "EMCode": "168", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "17" + }, + { + "QSid": "49", + "QDes": "/拥抱", + "IQLid": "45", + "AQLid": "45", + "EMCode": "178" + }, + { + "QSid": "66", + "QDes": "/爱心", + "IQLid": "28", + "AQLid": "28", + "EMCode": "166" + }, + { + "QSid": "63", + "QDes": "/玫瑰", + "IQLid": "8", + "AQLid": "8", + "EMCode": "163" + }, + { + "QSid": "64", + "QDes": "/凋谢", + "IQLid": "57", + "AQLid": "57", + "EMCode": "164" + }, + { + "QSid": "187", + "QDes": "/幽灵", + "IQLid": "157", + "AQLid": "179", + "EMCode": "257" + }, + { + "QSid": "146", + "QDes": "/爆筋", + "IQLid": "116", + "AQLid": "118", + "EMCode": "121011" + }, + { + "QSid": "116", + "QDes": "/示爱", + "IQLid": "29", + "AQLid": "29", + "EMCode": "165" + }, + { + "QSid": "67", + "QDes": "/心碎", + "IQLid": "72", + "AQLid": "74", + "EMCode": "167" + }, + { + "QSid": "60", + "QDes": "/咖啡", + "IQLid": "66", + "AQLid": "66", + "EMCode": "160" + }, + { + "QSid": "185", + "QDes": "/羊驼", + "IQLid": "155", + "AQLid": "177", + "EMCode": "255" + }, + { + "QSid": "137", + "QDes": "/鞭炮", + "isStatic": "1", + "IQLid": "107", + "AQLid": "109", + "EMCode": "121002", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "18" + }, + { + "QSid": "333", + "QDes": "/烟花", + "isStatic": "1", + "IQLid": "333", + "AQLid": "333", + "EMCode": "10333", + "AniStickerType": 1, + "AniStickerPackId": "1", + "AniStickerId": "19" + }, + { + "QSid": "76", + "QDes": "/赞", + "IQLid": "52", + "AQLid": "52", + "EMCode": "179" + }, + { + "QSid": "124", + "QDes": "/OK", + "IQLid": "64", + "AQLid": "64", + "EMCode": "189" + }, + { + "QSid": "118", + "QDes": "/抱拳", + "IQLid": "56", + "AQLid": "56", + "EMCode": "183" + }, + { + "QSid": "78", + "QDes": "/握手", + "IQLid": "54", + "AQLid": "54", + "EMCode": "181" + }, + { + "QSid": "119", + "QDes": "/勾引", + "IQLid": "63", + "AQLid": "63", + "EMCode": "184" + }, + { + "QSid": "79", + "QDes": "/胜利", + "IQLid": "55", + "AQLid": "55", + "EMCode": "182" + }, + { + "QSid": "120", + "QDes": "/拳头", + "IQLid": "71", + "AQLid": "73", + "EMCode": "185" + }, + { + "QSid": "121", + "QDes": "/差劲", + "IQLid": "70", + "AQLid": "72", + "EMCode": "186" + }, + { + "QSid": "77", + "QDes": "/踩", + "IQLid": "53", + "AQLid": "53", + "EMCode": "180" + }, + { + "QSid": "123", + "QDes": "/NO", + "IQLid": "92", + "AQLid": "94", + "EMCode": "188" + }, + { + "QSid": "201", + "QDes": "/点赞", + "IQLid": "171", + "AQLid": "150", + "EMCode": "271" + }, + { + "QSid": "273", + "QDes": "/我酸了", + "isStatic": "1", + "IQLid": "273", + "AQLid": "273", + "EMCode": "10273" + }, + { + "QSid": "46", + "QDes": "/猪头", + "isStatic": "1", + "IQLid": "7", + "AQLid": "7", + "EMCode": "162" + }, + { + "QSid": "112", + "QDes": "/菜刀", + "IQLid": "17", + "AQLid": "17", + "EMCode": "155" + }, + { + "QSid": "56", + "QDes": "/刀", + "IQLid": "68", + "AQLid": "70", + "EMCode": "171" + }, + { + "QSid": "169", + "QDes": "/手枪", + "isStatic": "1", + "IQLid": "139", + "AQLid": "141", + "EMCode": "121034" + }, + { + "QSid": "171", + "QDes": "/茶", + "IQLid": "141", + "AQLid": "163", + "EMCode": "241" + }, + { + "QSid": "59", + "QDes": "/便便", + "IQLid": "15", + "AQLid": "15", + "EMCode": "174" + }, + { + "QSid": "144", + "QDes": "/喝彩", + "isStatic": "1", + "IQLid": "114", + "AQLid": "116", + "EMCode": "121009" + }, + { + "QSid": "147", + "QDes": "/棒棒糖", + "isStatic": "1", + "IQLid": "117", + "AQLid": "119", + "EMCode": "121012" + }, + { + "QSid": "89", + "QDes": "/西瓜", + "isStatic": "1", + "IQLid": "60", + "AQLid": "60", + "EMCode": "156" + }, + { + "QSid": "148", + "QDes": "/喝奶", + "isStatic": "1", + "IQLid": "118", + "AQLid": "120", + "QHide": "1", + "EMCode": "121013" + }, + { + "QSid": "55", + "QDes": "/炸弹", + "isStatic": "1", + "IQLid": "16", + "AQLid": "16", + "QHide": "1", + "EMCode": "170" + }, + { + "QSid": "41", + "QDes": "/发抖", + "isStatic": "1", + "IQLid": "69", + "AQLid": "71", + "EMCode": "193" + }, + { + "QSid": "125", + "QDes": "/转圈", + "IQLid": "95", + "AQLid": "97", + "EMCode": "195" + }, + { + "QSid": "42", + "QDes": "/爱情", + "IQLid": "38", + "AQLid": "38", + "EMCode": "190" + }, + { + "QSid": "43", + "QDes": "/跳跳", + "IQLid": "93", + "AQLid": "95", + "EMCode": "192" + }, + { + "QSid": "86", + "QDes": "/怄火", + "IQLid": "94", + "AQLid": "96", + "EMCode": "194" + }, + { + "QSid": "129", + "QDes": "/挥手", + "IQLid": "77", + "AQLid": "79", + "EMCode": "199" + }, + { + "QSid": "226", + "QDes": "/拍桌", + "IQLid": "196", + "isCMEmoji": "1", + "AQLid": "198", + "QHide": "1", + "EMCode": "297" + }, + { + "QSid": "85", + "QDes": "/飞吻", + "isStatic": "1", + "IQLid": "47", + "AQLid": "47", + "EMCode": "191" + }, + { + "QSid": "215", + "QDes": "/糊脸", + "IQLid": "185", + "isCMEmoji": "1", + "AQLid": "187", + "QHide": "1", + "EMCode": "285" + }, + { + "QSid": "214", + "QDes": "/啵啵", + "IQLid": "184", + "isCMEmoji": "1", + "AQLid": "186", + "QHide": "1", + "EMCode": "284" + }, + { + "QSid": "222", + "QDes": "/抱抱", + "IQLid": "192", + "isCMEmoji": "1", + "AQLid": "194", + "QHide": "1", + "EMCode": "292" + }, + { + "QSid": "203", + "QDes": "/托脸", + "IQLid": "173", + "AQLid": "152", + "QHide": "1", + "EMCode": "273" + }, + { + "QSid": "235", + "QDes": "/颤抖", + "IQLid": "205", + "isCMEmoji": "1", + "AQLid": "207", + "QHide": "1", + "EMCode": "305" + }, + { + "QSid": "241", + "QDes": "/生日快乐", + "IQLid": "211", + "isCMEmoji": "1", + "AQLid": "213", + "QHide": "1", + "EMCode": "311" + }, + { + "QSid": "237", + "QDes": "/偷看", + "IQLid": "207", + "isCMEmoji": "1", + "AQLid": "209", + "QHide": "1", + "EMCode": "307" + }, + { + "QSid": "218", + "QDes": "/舔一舔", + "IQLid": "188", + "isCMEmoji": "1", + "AQLid": "190", + "QHide": "1", + "EMCode": "288" + }, + { + "QSid": "233", + "QDes": "/掐一掐", + "IQLid": "203", + "isCMEmoji": "1", + "AQLid": "205", + "QHide": "1", + "EMCode": "303" + }, + { + "QSid": "232", + "QDes": "/佛系", + "IQLid": "202", + "isCMEmoji": "1", + "AQLid": "204", + "QHide": "1", + "EMCode": "302" + }, + { + "QSid": "238", + "QDes": "/扇脸", + "IQLid": "208", + "isCMEmoji": "1", + "AQLid": "210", + "QHide": "1", + "EMCode": "308" + }, + { + "QSid": "217", + "QDes": "/扯一扯", + "IQLid": "187", + "isCMEmoji": "1", + "AQLid": "189", + "QHide": "1", + "EMCode": "287" + }, + { + "QSid": "225", + "QDes": "/撩一撩", + "IQLid": "195", + "isCMEmoji": "1", + "AQLid": "197", + "QHide": "1", + "EMCode": "296" + }, + { + "QSid": "230", + "QDes": "/嘲讽", + "IQLid": "200", + "isCMEmoji": "1", + "AQLid": "202", + "QHide": "1", + "EMCode": "300" + }, + { + "QSid": "194", + "QDes": "/不开心", + "IQLid": "164", + "AQLid": "143", + "QHide": "1", + "EMCode": "264" + }, + { + "QSid": "210", + "QDes": "/飙泪", + "IQLid": "180", + "AQLid": "159", + "QHide": "1", + "EMCode": "280" + }, + { + "QSid": "193", + "QDes": "/大笑", + "IQLid": "163", + "AQLid": "185", + "QHide": "1", + "EMCode": "263" + }, + { + "QSid": "204", + "QDes": "/吃", + "IQLid": "174", + "AQLid": "153", + "QHide": "1", + "EMCode": "274" + }, + { + "QSid": "200", + "QDes": "/求求", + "IQLid": "170", + "AQLid": "149", + "QHide": "1", + "EMCode": "270" + }, + { + "QSid": "290", + "QDes": "/敲开心", + "IQLid": "290", + "isCMEmoji": "1", + "AQLid": "290", + "QHide": "1", + "EMCode": "20240" + }, + { + "QSid": "224", + "QDes": "/开枪", + "IQLid": "194", + "isCMEmoji": "1", + "AQLid": "196", + "QHide": "1", + "EMCode": "295" + }, + { + "QSid": "229", + "QDes": "/干杯", + "IQLid": "199", + "isCMEmoji": "1", + "AQLid": "201", + "QHide": "1", + "EMCode": "299" + }, + { + "QSid": "221", + "QDes": "/顶呱呱", + "IQLid": "191", + "isCMEmoji": "1", + "AQLid": "193", + "QHide": "1", + "EMCode": "291" + }, + { + "QSid": "219", + "QDes": "/蹭一蹭", + "IQLid": "189", + "isCMEmoji": "1", + "AQLid": "191", + "QHide": "1", + "EMCode": "289" + }, + { + "QSid": "227", + "QDes": "/拍手", + "IQLid": "197", + "isCMEmoji": "1", + "AQLid": "199", + "QHide": "1", + "EMCode": "294" + }, + { + "QSid": "216", + "QDes": "/拍头", + "IQLid": "186", + "isCMEmoji": "1", + "AQLid": "188", + "QHide": "1", + "EMCode": "286" + }, + { + "QSid": "231", + "QDes": "/哼", + "IQLid": "201", + "isCMEmoji": "1", + "AQLid": "203", + "QHide": "1", + "EMCode": "301" + }, + { + "QSid": "244", + "QDes": "/扔狗", + "IQLid": "214", + "isCMEmoji": "1", + "AQLid": "216", + "QHide": "1", + "EMCode": "312" + }, + { + "QSid": "223", + "QDes": "/暴击", + "IQLid": "193", + "isCMEmoji": "1", + "AQLid": "195", + "QHide": "1", + "EMCode": "293" + }, + { + "QSid": "243", + "QDes": "/甩头", + "IQLid": "213", + "isCMEmoji": "1", + "AQLid": "215", + "QHide": "1", + "EMCode": "313" + }, + { + "QSid": "211", + "QDes": "/我不看", + "IQLid": "181", + "AQLid": "160", + "QHide": "1", + "EMCode": "281" + }, + { + "QSid": "292", + "QDes": "/让我康康", + "IQLid": "292", + "isCMEmoji": "1", + "AQLid": "292", + "QHide": "1", + "EMCode": "20242" + }, + { + "QSid": "240", + "QDes": "/喷脸", + "IQLid": "210", + "isCMEmoji": "1", + "AQLid": "212", + "QHide": "1", + "EMCode": "310" + }, + { + "QSid": "180", + "QDes": "/惊喜", + "IQLid": "150", + "AQLid": "172", + "QHide": "1", + "EMCode": "250" + }, + { + "QSid": "122", + "QDes": "/爱你", + "IQLid": "65", + "AQLid": "65", + "QHide": "1", + "EMCode": "187" + }, + { + "QSid": "202", + "QDes": "/无聊", + "IQLid": "172", + "AQLid": "151", + "QHide": "1", + "EMCode": "272" + }, + { + "QSid": "278", + "QDes": "/汗", + "IQLid": "278", + "isCMEmoji": "1", + "AQLid": "278", + "QHide": "1", + "EMCode": "20237" + }, + { + "QSid": "301", + "QDes": "/好闪", + "IQLid": "301", + "AQLid": "301", + "QHide": "1", + "EMCode": "10301" + }, + { + "QSid": "288", + "QDes": "/请", + "IQLid": "288", + "AQLid": "288", + "QHide": "1", + "EMCode": "10288" + }, + { + "QSid": "322", + "QDes": "/拒绝", + "IQLid": "322", + "AQLid": "322", + "QHide": "1", + "EMCode": "10322" + }, + { + "QSid": "198", + "QDes": "/呃", + "IQLid": "168", + "AQLid": "147", + "QHide": "1", + "EMCode": "268" + }, + { + "QSid": "348", + "QDes": "/福萝卜", + "IQLid": "348", + "AQLid": "348", + "QHide": "1", + "EMCode": "10348" + }, + { + "QSid": "206", + "QDes": "/害怕", + "IQLid": "176", + "AQLid": "155", + "QHide": "1", + "EMCode": "276" + }, + { + "QSid": "239", + "QDes": "/原谅", + "IQLid": "209", + "isCMEmoji": "1", + "AQLid": "211", + "QHide": "1", + "EMCode": "309" + } + ], + "emoji": [ + { + "QSid": "😊", + "QCid": "128522", + "AQLid": "0", + "QDes": "/嘿嘿", + "EMCode": "400832" + }, + { + "QSid": "😌", + "QCid": "128524", + "AQLid": "1", + "QDes": "/羞涩", + "EMCode": "400834" + }, + { + "QSid": "😚", + "QCid": "128538", + "AQLid": "2", + "QDes": "/亲亲", + "EMCode": "400848" + }, + { + "QSid": "😓", + "QCid": "128531", + "AQLid": "3", + "QDes": "/汗", + "EMCode": "400841" + }, + { + "QSid": "😰", + "QCid": "128560", + "AQLid": "4", + "QDes": "/紧张", + "EMCode": "400870" + }, + { + "QSid": "😝", + "QCid": "128541", + "AQLid": "5", + "QDes": "/吐舌", + "EMCode": "400851" + }, + { + "QSid": "😁", + "QCid": "128513", + "AQLid": "6", + "QDes": "/呲牙", + "EMCode": "400823" + }, + { + "QSid": "😜", + "QCid": "128540", + "AQLid": "7", + "QDes": "/淘气", + "EMCode": "400850" + }, + { + "QSid": "☺", + "QCid": "9786", + "AQLid": "8", + "QDes": "/可爱", + "EMCode": "401181" + }, + { + "QSid": "😉", + "QCid": "128521", + "AQLid": "9", + "QDes": "/媚眼", + "QHide": "1", + "EMCode": "400831" + }, + { + "QSid": "😍", + "QCid": "128525", + "AQLid": "10", + "QDes": "/花痴", + "EMCode": "400835" + }, + { + "QSid": "😔", + "QCid": "128532", + "AQLid": "11", + "QDes": "/失落", + "EMCode": "400842" + }, + { + "QSid": "😄", + "QCid": "128516", + "AQLid": "12", + "QDes": "/高兴", + "EMCode": "400826" + }, + { + "QSid": "😏", + "QCid": "128527", + "AQLid": "13", + "QDes": "/哼哼", + "EMCode": "400837" + }, + { + "QSid": "😒", + "QCid": "128530", + "AQLid": "14", + "QDes": "/不屑", + "EMCode": "400840" + }, + { + "QSid": "😳", + "QCid": "128563", + "AQLid": "15", + "QDes": "/瞪眼", + "EMCode": "400873" + }, + { + "QSid": "😘", + "QCid": "128536", + "AQLid": "16", + "QDes": "/飞吻", + "EMCode": "400846" + }, + { + "QSid": "😭", + "QCid": "128557", + "AQLid": "17", + "QDes": "/大哭", + "EMCode": "400867" + }, + { + "QSid": "😱", + "QCid": "128561", + "AQLid": "18", + "QDes": "/害怕", + "EMCode": "400871" + }, + { + "QSid": "😂", + "QCid": "128514", + "AQLid": "19", + "QDes": "/激动", + "EMCode": "400824" + }, + { + "QSid": "💪", + "QCid": "128170", + "AQLid": "20", + "QDes": "/肌肉", + "EMCode": "400644" + }, + { + "QSid": "👊", + "QCid": "128074", + "AQLid": "21", + "QDes": "/拳头", + "EMCode": "400390" + }, + { + "QSid": "👍", + "QCid": "128077", + "AQLid": "22", + "QDes": "/厉害", + "EMCode": "400408" + }, + { + "QSid": "☝", + "QCid": "9757", + "AQLid": "23", + "QDes": "/向上", + "QHide": "1", + "EMCode": "401203" + }, + { + "QSid": "👏", + "QCid": "128079", + "AQLid": "24", + "QDes": "/鼓掌", + "EMCode": "400420" + }, + { + "QSid": "✌", + "QCid": "9996", + "AQLid": "25", + "QDes": "/胜利", + "QHide": "1", + "EMCode": "401210" + }, + { + "QSid": "👎", + "QCid": "128078", + "AQLid": "26", + "QDes": "/鄙视", + "EMCode": "400414" + }, + { + "QSid": "🙏", + "QCid": "128591", + "AQLid": "27", + "QDes": "/合十", + "EMCode": "400396" + }, + { + "QSid": "👌", + "QCid": "128076", + "AQLid": "28", + "QDes": "/好的", + "EMCode": "400402" + }, + { + "QSid": "👈", + "QCid": "128072", + "AQLid": "29", + "QDes": "/向左", + "QHide": "1", + "EMCode": "400378" + }, + { + "QSid": "👉", + "QCid": "128073", + "AQLid": "30", + "QDes": "/向右", + "QHide": "1", + "EMCode": "400384" + }, + { + "QSid": "👆", + "QCid": "128070", + "AQLid": "31", + "QDes": "/向上", + "EMCode": "400366" + }, + { + "QSid": "👇", + "QCid": "128071", + "AQLid": "32", + "QDes": "/向下", + "QHide": "1", + "EMCode": "400372" + }, + { + "QSid": "👀", + "QCid": "128064", + "AQLid": "33", + "QDes": "/眼睛", + "EMCode": "400351" + }, + { + "QSid": "👃", + "QCid": "128067", + "AQLid": "34", + "QDes": "/鼻子", + "QHide": "1", + "EMCode": "400358" + }, + { + "QSid": "👄", + "QCid": "128068", + "AQLid": "35", + "QDes": "/嘴唇", + "QHide": "1", + "EMCode": "400364" + }, + { + "QSid": "👂", + "QCid": "128066", + "AQLid": "36", + "QDes": "/耳朵", + "QHide": "1", + "EMCode": "400352" + }, + { + "QSid": "🍚", + "QCid": "127834", + "AQLid": "37", + "QDes": "/米饭", + "QHide": "1", + "EMCode": "400149" + }, + { + "QSid": "🍝", + "QCid": "127837", + "AQLid": "38", + "QDes": "/意面", + "QHide": "1", + "EMCode": "400152" + }, + { + "QSid": "🍜", + "QCid": "127836", + "AQLid": "39", + "QDes": "/拉面", + "EMCode": "400151" + }, + { + "QSid": "🍙", + "QCid": "127833", + "AQLid": "40", + "QDes": "/饭团", + "QHide": "1", + "EMCode": "400148" + }, + { + "QSid": "🍧", + "QCid": "127847", + "AQLid": "41", + "QDes": "/刨冰", + "EMCode": "400162" + }, + { + "QSid": "🍣", + "QCid": "127843", + "AQLid": "42", + "QDes": "/寿司", + "QHide": "1", + "EMCode": "400158" + }, + { + "QSid": "🎂", + "QCid": "127874", + "AQLid": "43", + "QDes": "/蛋糕", + "QHide": "1", + "EMCode": "400186" + }, + { + "QSid": "🍞", + "QCid": "127838", + "AQLid": "44", + "QDes": "/面包", + "EMCode": "400153" + }, + { + "QSid": "🍔", + "QCid": "127828", + "AQLid": "45", + "QDes": "/汉堡", + "QHide": "1", + "EMCode": "400143" + }, + { + "QSid": "🍳", + "QCid": "127859", + "AQLid": "46", + "QDes": "/煎蛋", + "QHide": "1", + "EMCode": "400174" + }, + { + "QSid": "🍟", + "QCid": "127839", + "AQLid": "47", + "QDes": "/薯条", + "QHide": "1", + "EMCode": "400154" + }, + { + "QSid": "🍺", + "QCid": "127866", + "AQLid": "48", + "QDes": "/啤酒", + "EMCode": "400181" + }, + { + "QSid": "🍻", + "QCid": "127867", + "AQLid": "49", + "QDes": "/干杯", + "EMCode": "400182" + }, + { + "QSid": "🍸", + "QCid": "127864", + "AQLid": "50", + "QDes": "/高脚杯", + "QHide": "1", + "EMCode": "400179" + }, + { + "QSid": "☕", + "QCid": "9749", + "AQLid": "51", + "QDes": "/咖啡", + "EMCode": "401262" + }, + { + "QSid": "🍎", + "QCid": "127822", + "AQLid": "52", + "QDes": "/苹果", + "EMCode": "400137" + }, + { + "QSid": "🍊", + "QCid": "127818", + "AQLid": "53", + "QDes": "/橙子", + "QHide": "1", + "EMCode": "400133" + }, + { + "QSid": "🍓", + "QCid": "127827", + "AQLid": "54", + "QDes": "/草莓", + "EMCode": "400142" + }, + { + "QSid": "🍉", + "QCid": "127817", + "AQLid": "55", + "QDes": "/西瓜", + "EMCode": "400132" + }, + { + "QSid": "💊", + "QCid": "128138", + "AQLid": "56", + "QDes": "/药丸", + "QHide": "1", + "EMCode": "400612" + }, + { + "QSid": "🚬", + "QCid": "128684", + "AQLid": "57", + "QDes": "/吸烟", + "EMCode": "400987" + }, + { + "QSid": "🎄", + "QCid": "127876", + "AQLid": "58", + "QDes": "/圣诞树", + "QHide": "1", + "EMCode": "400188" + }, + { + "QSid": "🌹", + "QCid": "127801", + "AQLid": "59", + "QDes": "/玫瑰", + "EMCode": "400116" + }, + { + "QSid": "🎉", + "QCid": "127881", + "AQLid": "60", + "QDes": "/庆祝", + "EMCode": "400198" + }, + { + "QSid": "🌴", + "QCid": "127796", + "AQLid": "61", + "QDes": "/椰子树", + "QHide": "1", + "EMCode": "400112" + }, + { + "QSid": "💝", + "QCid": "128157", + "AQLid": "62", + "QDes": "/礼物", + "EMCode": "400631" + }, + { + "QSid": "🎀", + "QCid": "127872", + "AQLid": "63", + "QDes": "/蝴蝶结", + "QHide": "1", + "EMCode": "400184" + }, + { + "QSid": "🎈", + "QCid": "127880", + "AQLid": "64", + "QDes": "/气球", + "QHide": "1", + "EMCode": "400197" + }, + { + "QSid": "🐚", + "QCid": "128026", + "AQLid": "65", + "QDes": "/海螺", + "QHide": "1", + "EMCode": "400314" + }, + { + "QSid": "💍", + "QCid": "128141", + "AQLid": "66", + "QDes": "/戒指", + "QHide": "1", + "EMCode": "400615" + }, + { + "QSid": "💣", + "QCid": "128163", + "AQLid": "67", + "QDes": "/炸弹", + "EMCode": "400637" + }, + { + "QSid": "👑", + "QCid": "128081", + "AQLid": "68", + "QDes": "/皇冠", + "QHide": "1", + "EMCode": "400432" + }, + { + "QSid": "🔔", + "QCid": "128276", + "AQLid": "69", + "QDes": "/铃铛", + "QHide": "1", + "EMCode": "400751" + }, + { + "QSid": "⭐", + "QCid": "11088", + "AQLid": "70", + "QDes": "/星星", + "QHide": "1", + "EMCode": "401686" + }, + { + "QSid": "✨", + "QCid": "10024", + "AQLid": "71", + "QDes": "/闪光", + "EMCode": "401137" + }, + { + "QSid": "💨", + "QCid": "128168", + "AQLid": "72", + "QDes": "/吹气", + "EMCode": "400642" + }, + { + "QSid": "💦", + "QCid": "128166", + "AQLid": "73", + "QDes": "/水", + "EMCode": "400640" + }, + { + "QSid": "🔥", + "QCid": "128293", + "AQLid": "74", + "QDes": "/火", + "EMCode": "400768" + }, + { + "QSid": "🏆", + "QCid": "127942", + "AQLid": "75", + "QDes": "/奖杯", + "QHide": "1", + "EMCode": "400256" + }, + { + "QSid": "💰", + "QCid": "128176", + "AQLid": "76", + "QDes": "/钱", + "QHide": "1", + "EMCode": "400655" + }, + { + "QSid": "💤", + "QCid": "128164", + "AQLid": "77", + "QDes": "/睡觉", + "EMCode": "400638" + }, + { + "QSid": "⚡", + "QCid": "9889", + "AQLid": "78", + "QDes": "/闪电", + "QHide": "1", + "EMCode": "401685" + }, + { + "QSid": "👣", + "QCid": "128099", + "AQLid": "79", + "QDes": "/脚印", + "QHide": "1", + "EMCode": "400450" + }, + { + "QSid": "💩", + "QCid": "128169", + "AQLid": "80", + "QDes": "/便便", + "EMCode": "400643" + }, + { + "QSid": "💉", + "QCid": "128137", + "AQLid": "81", + "QDes": "/打针", + "EMCode": "400611" + }, + { + "QSid": "♨", + "QCid": "9832", + "AQLid": "82", + "QDes": "/热", + "QHide": "1", + "EMCode": "401287" + }, + { + "QSid": "📫", + "QCid": "128235", + "AQLid": "83", + "QDes": "/邮箱", + "EMCode": "400714" + }, + { + "QSid": "🔑", + "QCid": "128273", + "AQLid": "84", + "QDes": "/钥匙", + "QHide": "1", + "EMCode": "400748" + }, + { + "QSid": "🔒", + "QCid": "128274", + "AQLid": "85", + "QDes": "/锁", + "QHide": "1", + "EMCode": "400749" + }, + { + "QSid": "✈", + "QCid": "9992", + "AQLid": "86", + "QDes": "/飞机", + "QHide": "1", + "EMCode": "401298" + }, + { + "QSid": "🚄", + "QCid": "128644", + "AQLid": "87", + "QDes": "/列车", + "QHide": "1", + "EMCode": "400942" + }, + { + "QSid": "🚗", + "QCid": "128663", + "AQLid": "88", + "QDes": "/汽车", + "QHide": "1", + "EMCode": "400961" + }, + { + "QSid": "🚤", + "QCid": "128676", + "AQLid": "89", + "QDes": "/快艇", + "QHide": "1", + "EMCode": "400979" + }, + { + "QSid": "🚲", + "QCid": "128690", + "AQLid": "90", + "QDes": "/自行车", + "QHide": "1", + "EMCode": "400993" + }, + { + "QSid": "🐎", + "QCid": "128014", + "AQLid": "91", + "QDes": "/骑马", + "EMCode": "400302" + }, + { + "QSid": "🚀", + "QCid": "128640", + "AQLid": "92", + "QDes": "/火箭", + "QHide": "1", + "EMCode": "400938" + }, + { + "QSid": "🚌", + "QCid": "128652", + "AQLid": "93", + "QDes": "/公交", + "QHide": "1", + "EMCode": "400950" + }, + { + "QSid": "⛵", + "QCid": "9973", + "AQLid": "94", + "QDes": "/船", + "QHide": "1", + "EMCode": "401294" + }, + { + "QSid": "👩", + "QCid": "128105", + "AQLid": "95", + "QDes": "/妈妈", + "QHide": "1", + "EMCode": "400482" + }, + { + "QSid": "👨", + "QCid": "128104", + "AQLid": "96", + "QDes": "/爸爸", + "QHide": "1", + "EMCode": "400465" + }, + { + "QSid": "👧", + "QCid": "128103", + "AQLid": "97", + "QDes": "/女孩", + "EMCode": "400459" + }, + { + "QSid": "👦", + "QCid": "128102", + "AQLid": "98", + "QDes": "/男孩", + "EMCode": "400453" + }, + { + "QSid": "🐵", + "QCid": "128053", + "AQLid": "99", + "QDes": "/猴", + "EMCode": "400341" + }, + { + "QSid": "🐙", + "QCid": "128025", + "AQLid": "100", + "QDes": "/章鱼", + "QHide": "1", + "EMCode": "400313" + }, + { + "QSid": "🐷", + "QCid": "128055", + "AQLid": "101", + "QDes": "/猪", + "EMCode": "400343" + }, + { + "QSid": "💀", + "QCid": "128128", + "AQLid": "102", + "QDes": "/骷髅", + "QHide": "1", + "EMCode": "400572" + }, + { + "QSid": "🐤", + "QCid": "128036", + "AQLid": "103", + "QDes": "/小鸡", + "QHide": "1", + "EMCode": "400324" + }, + { + "QSid": "🐨", + "QCid": "128040", + "AQLid": "104", + "QDes": "/树懒", + "QHide": "1", + "EMCode": "400328" + }, + { + "QSid": "🐮", + "QCid": "128046", + "AQLid": "105", + "QDes": "/牛", + "EMCode": "400334" + }, + { + "QSid": "🐔", + "QCid": "128020", + "AQLid": "106", + "QDes": "/公鸡", + "EMCode": "400308" + }, + { + "QSid": "🐸", + "QCid": "128056", + "AQLid": "107", + "QDes": "/青蛙", + "EMCode": "400344" + }, + { + "QSid": "👻", + "QCid": "128123", + "AQLid": "108", + "QDes": "/幽灵", + "EMCode": "400562" + }, + { + "QSid": "🐛", + "QCid": "128027", + "AQLid": "109", + "QDes": "/虫", + "EMCode": "400315" + }, + { + "QSid": "🐠", + "QCid": "128032", + "AQLid": "110", + "QDes": "/鱼", + "QHide": "1", + "EMCode": "400320" + }, + { + "QSid": "🐶", + "QCid": "128054", + "AQLid": "111", + "QDes": "/狗", + "EMCode": "400342" + }, + { + "QSid": "🐯", + "QCid": "128047", + "AQLid": "112", + "QDes": "/老虎", + "QHide": "1", + "EMCode": "400335" + }, + { + "QSid": "👼", + "QCid": "128124", + "AQLid": "113", + "QDes": "/天使", + "QHide": "1", + "EMCode": "400563" + }, + { + "QSid": "🐧", + "QCid": "128039", + "AQLid": "114", + "QDes": "/企鹅", + "QHide": "1", + "EMCode": "400327" + }, + { + "QSid": "🐳", + "QCid": "128051", + "AQLid": "115", + "QDes": "/鲸鱼", + "EMCode": "400339" + }, + { + "QSid": "🐭", + "QCid": "128045", + "AQLid": "116", + "QDes": "/老鼠", + "QHide": "1", + "EMCode": "400333" + }, + { + "QSid": "👒", + "QCid": "128082", + "AQLid": "117", + "QDes": "/帽子", + "QHide": "1", + "EMCode": "400433" + }, + { + "QSid": "👗", + "QCid": "128087", + "AQLid": "118", + "QDes": "/连衣裙", + "QHide": "1", + "EMCode": "400438" + }, + { + "QSid": "💄", + "QCid": "128132", + "AQLid": "119", + "QDes": "/口红", + "QHide": "1", + "EMCode": "400591" + }, + { + "QSid": "👠", + "QCid": "128096", + "AQLid": "120", + "QDes": "/高跟鞋", + "QHide": "1", + "EMCode": "400447" + }, + { + "QSid": "👢", + "QCid": "128098", + "AQLid": "121", + "QDes": "/靴子", + "EMCode": "400449" + }, + { + "QSid": "🌂", + "QCid": "127746", + "AQLid": "122", + "QDes": "/雨伞", + "QHide": "1", + "EMCode": "400077" + }, + { + "QSid": "👜", + "QCid": "128092", + "AQLid": "123", + "QDes": "/包", + "QHide": "1", + "EMCode": "400443" + }, + { + "QSid": "👙", + "QCid": "128089", + "AQLid": "124", + "QDes": "/内衣", + "QHide": "1", + "EMCode": "400440" + }, + { + "QSid": "👕", + "QCid": "128085", + "AQLid": "125", + "QDes": "/衣服", + "QHide": "1", + "EMCode": "400436" + }, + { + "QSid": "👟", + "QCid": "128095", + "AQLid": "126", + "QDes": "/鞋子", + "QHide": "1", + "EMCode": "400446" + }, + { + "QSid": "☁", + "QCid": "9729", + "AQLid": "127", + "QDes": "/云朵", + "QHide": "1", + "EMCode": "401329" + }, + { + "QSid": "☀", + "QCid": "9728", + "AQLid": "128", + "QDes": "/晴天", + "EMCode": "401328" + }, + { + "QSid": "☔", + "QCid": "9748", + "AQLid": "129", + "QDes": "/雨天", + "QHide": "1", + "EMCode": "401342" + }, + { + "QSid": "🌙", + "QCid": "127769", + "AQLid": "130", + "QDes": "/月亮", + "QHide": "1", + "EMCode": "400100" + }, + { + "QSid": "⛄", + "QCid": "9924", + "AQLid": "131", + "QDes": "/雪人", + "QHide": "1", + "EMCode": "401346" + }, + { + "QSid": "⭕", + "QCid": "11093", + "AQLid": "132", + "QDes": "/正确", + "QHide": "1", + "EMCode": "401687" + }, + { + "QSid": "❌", + "QCid": "10060", + "AQLid": "133", + "QDes": "/错误", + "QHide": "1", + "EMCode": "401142" + }, + { + "QSid": "❔", + "QCid": "10068", + "AQLid": "134", + "QDes": "/问号", + "EMCode": "401145" + }, + { + "QSid": "❕", + "QCid": "10069", + "AQLid": "135", + "QDes": "/叹号", + "QHide": "1", + "EMCode": "401146" + }, + { + "QSid": "☎", + "QCid": "9742", + "AQLid": "136", + "QDes": "/电话", + "QHide": "1", + "EMCode": "401398" + }, + { + "QSid": "📷", + "QCid": "128247", + "AQLid": "137", + "QDes": "/相机", + "QHide": "1", + "EMCode": "400726" + }, + { + "QSid": "📱", + "QCid": "128241", + "AQLid": "138", + "QDes": "/手机", + "QHide": "1", + "EMCode": "400720" + }, + { + "QSid": "📠", + "QCid": "128224", + "AQLid": "139", + "QDes": "/传真", + "QHide": "1", + "EMCode": "400703" + }, + { + "QSid": "💻", + "QCid": "128187", + "AQLid": "140", + "QDes": "/电脑", + "QHide": "1", + "EMCode": "400666" + }, + { + "QSid": "🎥", + "QCid": "127909", + "AQLid": "141", + "QDes": "/摄影机", + "QHide": "1", + "EMCode": "400214" + }, + { + "QSid": "🎤", + "QCid": "127908", + "AQLid": "142", + "QDes": "/话筒", + "QHide": "1", + "EMCode": "400213" + }, + { + "QSid": "🔫", + "QCid": "128299", + "AQLid": "143", + "QDes": "/手枪", + "EMCode": "400774" + }, + { + "QSid": "💿", + "QCid": "128191", + "AQLid": "144", + "QDes": "/光碟", + "QHide": "1", + "EMCode": "400670" + }, + { + "QSid": "💓", + "QCid": "128147", + "AQLid": "145", + "QDes": "/爱心", + "EMCode": "400621" + }, + { + "QSid": "♣", + "QCid": "9827", + "AQLid": "146", + "QDes": "/扑克", + "QHide": "1", + "EMCode": "401385" + }, + { + "QSid": "🀄", + "QCid": "126980", + "AQLid": "147", + "QDes": "/麻将", + "QHide": "1", + "EMCode": "401386" + }, + { + "QSid": "〽", + "QCid": "12349", + "AQLid": "148", + "QDes": "/股票", + "QHide": "1", + "EMCode": "401691" + }, + { + "QSid": "🎰", + "QCid": "127920", + "AQLid": "149", + "QDes": "/老虎机", + "QHide": "1", + "EMCode": "400225" + }, + { + "QSid": "🚥", + "QCid": "128677", + "AQLid": "150", + "QDes": "/信号灯", + "QHide": "1", + "EMCode": "400980" + }, + { + "QSid": "🚧", + "QCid": "128679", + "AQLid": "151", + "QDes": "/路障", + "QHide": "1", + "EMCode": "400982" + }, + { + "QSid": "🎸", + "QCid": "127928", + "AQLid": "152", + "QDes": "/吉他", + "QHide": "1", + "EMCode": "400233" + }, + { + "QSid": "💈", + "QCid": "128136", + "AQLid": "153", + "QDes": "/理发厅", + "QHide": "1", + "EMCode": "400610" + }, + { + "QSid": "🛀", + "QCid": "128704", + "AQLid": "154", + "QDes": "/浴缸", + "QHide": "1", + "EMCode": "401022" + }, + { + "QSid": "🚽", + "QCid": "128701", + "AQLid": "155", + "QDes": "/马桶", + "QHide": "1", + "EMCode": "401019" + }, + { + "QSid": "🏠", + "QCid": "127968", + "AQLid": "156", + "QDes": "/家", + "QHide": "1", + "EMCode": "400271" + }, + { + "QSid": "⛪", + "QCid": "9962", + "AQLid": "157", + "QDes": "/教堂", + "QHide": "1", + "EMCode": "401281" + }, + { + "QSid": "🏦", + "QCid": "127974", + "AQLid": "158", + "QDes": "/银行", + "QHide": "1", + "EMCode": "400277" + }, + { + "QSid": "🏥", + "QCid": "127973", + "AQLid": "159", + "QDes": "/医院", + "QHide": "1", + "EMCode": "400276" + }, + { + "QSid": "🏨", + "QCid": "127976", + "AQLid": "160", + "QDes": "/酒店", + "QHide": "1", + "EMCode": "400279" + }, + { + "QSid": "🏧", + "QCid": "127975", + "AQLid": "161", + "QDes": "/取款机", + "QHide": "1", + "EMCode": "400278" + }, + { + "QSid": "🏪", + "QCid": "127978", + "AQLid": "162", + "QDes": "/便利店", + "EMCode": "400281" + }, + { + "QSid": "🚹", + "QCid": "128697", + "AQLid": "163", + "QDes": "/男性", + "QHide": "1", + "EMCode": "401015" + }, + { + "QSid": "🚺", + "QCid": "128698", + "AQLid": "164", + "QDes": "/女性", + "QHide": "1", + "EMCode": "401016" + } + ] +} diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 7316fa01..46ac6fac 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x1f5626,_0x3b3409){var _0x3279f0=_0x12f5,_0x3f262e=_0x1f5626();while(!![]){try{var _0x5d5898=-parseInt(_0x3279f0(0x18c))/0x1*(-parseInt(_0x3279f0(0x189))/0x2)+parseInt(_0x3279f0(0x194))/0x3+-parseInt(_0x3279f0(0x18b))/0x4*(-parseInt(_0x3279f0(0x188))/0x5)+-parseInt(_0x3279f0(0x187))/0x6*(-parseInt(_0x3279f0(0x18a))/0x7)+parseInt(_0x3279f0(0x18e))/0x8+parseInt(_0x3279f0(0x18f))/0x9+-parseInt(_0x3279f0(0x195))/0xa;if(_0x5d5898===_0x3b3409)break;else _0x3f262e['push'](_0x3f262e['shift']());}catch(_0x1f9fe2){_0x3f262e['push'](_0x3f262e['shift']());}}}(_0x47f2,0x4a983));export var GroupMemberRole;(function(_0x1888c2){var _0x5ca9ff=_0x12f5,_0x43a5f3={'BMUIp':_0x5ca9ff(0x190),'LavPW':_0x5ca9ff(0x186),'eNKJj':_0x5ca9ff(0x191)};_0x1888c2[_0x1888c2[_0x43a5f3[_0x5ca9ff(0x192)]]=0x2]=_0x5ca9ff(0x190),_0x1888c2[_0x1888c2[_0x43a5f3[_0x5ca9ff(0x193)]]=0x3]='admin',_0x1888c2[_0x1888c2[_0x43a5f3[_0x5ca9ff(0x18d)]]=0x4]=_0x43a5f3[_0x5ca9ff(0x18d)];}(GroupMemberRole||(GroupMemberRole={})));function _0x12f5(_0x441fcf,_0x2f709a){var _0x47f25f=_0x47f2();return _0x12f5=function(_0x12f51f,_0x7573ad){_0x12f51f=_0x12f51f-0x186;var _0x1198ee=_0x47f25f[_0x12f51f];return _0x1198ee;},_0x12f5(_0x441fcf,_0x2f709a);}function _0x47f2(){var _0x3a3141=['eNKJj','1408832stwYSo','3573126WWcIbj','normal','owner','BMUIp','LavPW','1505907Jwjtaj','18263570dzaFTE','admin','2599158lxkWpA','11990jAhOgT','22028lyERkm','7znRdcm','140FRrziC','49eaAdWH'];_0x47f2=function(){return _0x3a3141;};return _0x47f2();} \ No newline at end of file +(function(_0x33e778,_0x44a95a){var _0x421da2=_0x581f,_0x3a2442=_0x33e778();while(!![]){try{var _0x3436e1=-parseInt(_0x421da2(0xc2))/0x1*(parseInt(_0x421da2(0xc5))/0x2)+-parseInt(_0x421da2(0xc7))/0x3+-parseInt(_0x421da2(0xca))/0x4+parseInt(_0x421da2(0xce))/0x5*(parseInt(_0x421da2(0xc4))/0x6)+parseInt(_0x421da2(0xc0))/0x7*(parseInt(_0x421da2(0xbf))/0x8)+-parseInt(_0x421da2(0xcf))/0x9*(parseInt(_0x421da2(0xc3))/0xa)+parseInt(_0x421da2(0xcd))/0xb*(parseInt(_0x421da2(0xc6))/0xc);if(_0x3436e1===_0x44a95a)break;else _0x3a2442['push'](_0x3a2442['shift']());}catch(_0x461408){_0x3a2442['push'](_0x3a2442['shift']());}}}(_0x3dc7,0x4a50d));export var GroupMemberRole;function _0x581f(_0x4650fb,_0x26cf6b){var _0x3dc7c4=_0x3dc7();return _0x581f=function(_0x581fc2,_0x4f5f99){_0x581fc2=_0x581fc2-0xbf;var _0x433f44=_0x3dc7c4[_0x581fc2];return _0x433f44;},_0x581f(_0x4650fb,_0x26cf6b);}(function(_0x28abeb){var _0x1c0caf=_0x581f,_0x218261={'NroYp':'normal','RFwJt':_0x1c0caf(0xcc),'xoVcu':_0x1c0caf(0xc8)};_0x28abeb[_0x28abeb[_0x218261[_0x1c0caf(0xc9)]]=0x2]=_0x218261['NroYp'],_0x28abeb[_0x28abeb[_0x218261['RFwJt']]=0x3]=_0x218261[_0x1c0caf(0xcb)],_0x28abeb[_0x28abeb[_0x218261[_0x1c0caf(0xc1)]]=0x4]=_0x218261[_0x1c0caf(0xc1)];}(GroupMemberRole||(GroupMemberRole={})));function _0x3dc7(){var _0x558fba=['5330vOuaex','16074LKaolq','787922LsEgiF','3996pyAwgt','287070KASvSJ','owner','NroYp','326808vaapIt','RFwJt','admin','29469Naetcf','315mYmaxV','9675JRPmVa','3102728SIvcds','7ZzyATk','xoVcu','1PxnPKi'];_0x3dc7=function(){return _0x558fba;};return _0x3dc7();} \ 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 e4cf0e8b..11433876 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3ceee9,_0x282f06){var _0x239172=_0x531f,_0x1ed27e=_0x3ceee9();while(!![]){try{var _0x4357de=parseInt(_0x239172(0x16d))/0x1+-parseInt(_0x239172(0x16b))/0x2+-parseInt(_0x239172(0x16a))/0x3*(-parseInt(_0x239172(0x173))/0x4)+parseInt(_0x239172(0x171))/0x5+parseInt(_0x239172(0x172))/0x6*(parseInt(_0x239172(0x170))/0x7)+-parseInt(_0x239172(0x16f))/0x8*(parseInt(_0x239172(0x16c))/0x9)+-parseInt(_0x239172(0x16e))/0xa;if(_0x4357de===_0x282f06)break;else _0x1ed27e['push'](_0x1ed27e['shift']());}catch(_0x3c3648){_0x1ed27e['push'](_0x1ed27e['shift']());}}}(_0x544f,0xc4beb));function _0x531f(_0x53877e,_0x259034){var _0x544f88=_0x544f();return _0x531f=function(_0x531f1,_0x59ab60){_0x531f1=_0x531f1-0x16a;var _0x48ce1e=_0x544f88[_0x531f1];return _0x48ce1e;},_0x531f(_0x53877e,_0x259034);}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x544f(){var _0x556993=['1343257hjKuKY','5424170UJJVHH','8kZdxTl','224ezbwli','1390120tQQxUp','74112jXIQlW','186936tneElP','93eGtlau','2521088dxHOYJ','7708239pWjxdo'];_0x544f=function(){return _0x556993;};return _0x544f();}export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x5cd2dd,_0x33e956){var _0x4f4d65=_0x5e45,_0x54891=_0x5cd2dd();while(!![]){try{var _0x13f21d=-parseInt(_0x4f4d65(0x1d6))/0x1+-parseInt(_0x4f4d65(0x1d7))/0x2*(parseInt(_0x4f4d65(0x1d3))/0x3)+-parseInt(_0x4f4d65(0x1d8))/0x4+parseInt(_0x4f4d65(0x1d9))/0x5*(parseInt(_0x4f4d65(0x1dc))/0x6)+-parseInt(_0x4f4d65(0x1da))/0x7*(-parseInt(_0x4f4d65(0x1d5))/0x8)+parseInt(_0x4f4d65(0x1d4))/0x9+parseInt(_0x4f4d65(0x1db))/0xa;if(_0x13f21d===_0x33e956)break;else _0x54891['push'](_0x54891['shift']());}catch(_0x13ddc4){_0x54891['push'](_0x54891['shift']());}}}(_0x1227,0x33465));export*from'./user';export*from'./group';function _0x1227(){var _0x27b089=['1437712tGcpJM','232818UeLxhA','194466ccXgAf','241872ChOwjv','725AaLLEF','14vzWTpb','222430lhxgZf','11274xyNhzu','12FpjPhc','2143017kRETtf'];_0x1227=function(){return _0x27b089;};return _0x1227();}export*from'./msg';export*from'./notify';function _0x5e45(_0x24116f,_0x37b042){var _0x12277f=_0x1227();return _0x5e45=function(_0x5e454e,_0x57122d){_0x5e454e=_0x5e454e-0x1d3;var _0x642e44=_0x12277f[_0x5e454e];return _0x642e44;},_0x5e45(_0x24116f,_0x37b042);}export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 2867467e..819bf213 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x5976d0=_0x397e;function _0x397e(_0x64ecbc,_0x1a0443){var _0x597912=_0x5979();return _0x397e=function(_0x397e18,_0x40513a){_0x397e18=_0x397e18-0x166;var _0xcd833a=_0x597912[_0x397e18];return _0xcd833a;},_0x397e(_0x64ecbc,_0x1a0443);}(function(_0x3e1097,_0x1396be){var _0xb711e5=_0x397e,_0x5b6ae5=_0x3e1097();while(!![]){try{var _0xe9044c=parseInt(_0xb711e5(0x18e))/0x1*(parseInt(_0xb711e5(0x188))/0x2)+parseInt(_0xb711e5(0x184))/0x3*(-parseInt(_0xb711e5(0x16c))/0x4)+-parseInt(_0xb711e5(0x191))/0x5*(parseInt(_0xb711e5(0x185))/0x6)+-parseInt(_0xb711e5(0x177))/0x7+-parseInt(_0xb711e5(0x19d))/0x8+parseInt(_0xb711e5(0x167))/0x9*(-parseInt(_0xb711e5(0x18d))/0xa)+parseInt(_0xb711e5(0x18a))/0xb*(parseInt(_0xb711e5(0x170))/0xc);if(_0xe9044c===_0x1396be)break;else _0x5b6ae5['push'](_0x5b6ae5['shift']());}catch(_0x346250){_0x5b6ae5['push'](_0x5b6ae5['shift']());}}}(_0x5979,0x3de1a));export var ElementType;(function(_0x3ff5df){var _0x217349=_0x397e,_0x2bf333={'lcOGk':_0x217349(0x168),'HDdIO':_0x217349(0x172),'sEDxW':'VIDEO','kPzUF':_0x217349(0x16e),'NlSrc':_0x217349(0x1a6),'Ltjmu':_0x217349(0x179),'cgQRX':_0x217349(0x186),'pUKFz':_0x217349(0x19a),'YRNyM':'MARKDOWN','pTZCM':'FACE'},_0x3151aa=_0x2bf333[_0x217349(0x19f)][_0x217349(0x187)]('|'),_0x16156c=0x0;while(!![]){switch(_0x3151aa[_0x16156c++]){case'0':_0x3ff5df[_0x3ff5df[_0x2bf333[_0x217349(0x192)]]=0xb]=_0x2bf333[_0x217349(0x192)];continue;case'1':_0x3ff5df[_0x3ff5df[_0x2bf333[_0x217349(0x1a5)]]=0x5]=_0x2bf333['sEDxW'];continue;case'2':_0x3ff5df[_0x3ff5df[_0x2bf333[_0x217349(0x166)]]=0x2]=_0x2bf333['kPzUF'];continue;case'3':_0x3ff5df[_0x3ff5df[_0x217349(0x174)]=0x1]=_0x217349(0x174);continue;case'4':_0x3ff5df[_0x3ff5df[_0x2bf333[_0x217349(0x17a)]]=0x4]=_0x2bf333['NlSrc'];continue;case'5':_0x3ff5df[_0x3ff5df[_0x217349(0x179)]=0xa]=_0x2bf333[_0x217349(0x1a7)];continue;case'6':_0x3ff5df[_0x3ff5df['REPLY']=0x7]=_0x2bf333[_0x217349(0x189)];continue;case'7':_0x3ff5df[_0x3ff5df[_0x2bf333[_0x217349(0x182)]]=0x3]=_0x217349(0x19a);continue;case'8':_0x3ff5df[_0x3ff5df[_0x2bf333[_0x217349(0x19e)]]=0xe]=_0x2bf333[_0x217349(0x19e)];continue;case'9':_0x3ff5df[_0x3ff5df[_0x2bf333['pTZCM']]=0x6]=_0x2bf333[_0x217349(0x18b)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x192f80){var _0x2badc3=_0x397e,_0x1105c4={'pWdxE':'gif','NEibf':_0x2badc3(0x19c)};_0x192f80[_0x192f80['gif']=0x7d0]=_0x1105c4[_0x2badc3(0x197)],_0x192f80[_0x192f80[_0x1105c4[_0x2badc3(0x16a)]]=0x3e8]=_0x1105c4[_0x2badc3(0x16a)];}(PicType||(PicType={})));export var PicSubType;(function(_0x1bc242){var _0x302957=_0x397e,_0x543472={'EVQzj':_0x302957(0x175),'OAREA':_0x302957(0x194)};_0x1bc242[_0x1bc242[_0x543472[_0x302957(0x199)]]=0x0]=_0x302957(0x175),_0x1bc242[_0x1bc242[_0x543472['OAREA']]=0x1]=_0x543472[_0x302957(0x196)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x24bfc){var _0x1765e8=_0x397e,_0x6f39ce={'acCjh':_0x1765e8(0x183),'BsdpL':_0x1765e8(0x193)};_0x24bfc[_0x24bfc[_0x6f39ce['acCjh']]=0x0]=_0x6f39ce[_0x1765e8(0x181)],_0x24bfc[_0x24bfc[_0x1765e8(0x171)]=0x1]='atAll',_0x24bfc[_0x24bfc[_0x6f39ce[_0x1765e8(0x18f)]]=0x2]=_0x6f39ce['BsdpL'];}(AtType||(AtType={})));export var ChatType;(function(_0x585007){var _0x479769=_0x397e,_0xfc494b={'ivfBu':_0x479769(0x180),'EKDXt':_0x479769(0x190),'rbUnq':_0x479769(0x1a3)};_0x585007[_0x585007[_0xfc494b[_0x479769(0x178)]]=0x1]=_0xfc494b[_0x479769(0x178)],_0x585007[_0x585007[_0xfc494b['EKDXt']]=0x2]=_0xfc494b[_0x479769(0x17e)],_0x585007[_0x585007[_0x479769(0x169)]=0x8]='chatDevice',_0x585007[_0x585007[_0xfc494b[_0x479769(0x17d)]]=0x64]=_0x479769(0x1a3);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x5976d0(0x17b);export const IMAGE_HTTP_HOST_NT=_0x5976d0(0x1a2);export var GrayTipElementSubType;(function(_0x476f5b){var _0x53522d=_0x5976d0,_0x2e7ae4={'bCXxF':_0x53522d(0x17f),'meaiD':_0x53522d(0x17c)};_0x476f5b[_0x476f5b[_0x2e7ae4['bCXxF']]=0xc]='INVITE_NEW_MEMBER',_0x476f5b[_0x476f5b[_0x2e7ae4[_0x53522d(0x16d)]]=0x11]=_0x2e7ae4[_0x53522d(0x16d)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x55f61b){var _0x2de20c=_0x5976d0,_0x4aeb6b={'YjvQA':_0x2de20c(0x175),'OfvZL':_0x2de20c(0x176),'vAGQZ':_0x2de20c(0x1a1)};_0x55f61b[_0x55f61b[_0x4aeb6b[_0x2de20c(0x1a4)]]=0x1]=_0x2de20c(0x175),_0x55f61b[_0x55f61b['normal2']=0x2]=_0x4aeb6b[_0x2de20c(0x198)],_0x55f61b[_0x55f61b[_0x4aeb6b[_0x2de20c(0x16f)]]=0x3]=_0x4aeb6b[_0x2de20c(0x16f)];}(FaceType||(FaceType={})));function _0x5979(){var _0x549880=['ARK','NlSrc','https://gchat.qpic.cn','MEMBER_NEW_TITLE','rbUnq','EKDXt','INVITE_NEW_MEMBER','friend','acCjh','pUKFz','notAt','36muJNui','12sExSVV','REPLY','split','4gteMmo','cgQRX','1683xGTzmv','pTZCM','ban','2326130sRceSd','38256pbdRtn','BsdpL','group','259055yAVvDc','HDdIO','atUser','face','hDQLR','OAREA','pWdxE','OfvZL','EVQzj','FILE','EeAdm','jpg','451944uPxBCO','YRNyM','lcOGk','MKpaJ','dice','https://multimedia.nt.qq.com.cn','temp','YjvQA','sEDxW','PTT','Ltjmu','kPzUF','9oNvrXH','3|2|7|4|1|9|6|5|0|8','chatDevice','NEibf','memberIncrease','150132HttBma','meaiD','PIC','vAGQZ','103548FyLZvb','atAll','MFACE','ynEeO','TEXT','normal','normal2','2101113Toflkn','ivfBu'];_0x5979=function(){return _0x549880;};return _0x5979();}export var FaceIndex;(function(_0x3dacc6){var _0x1c82bd=_0x5976d0,_0x24b088={'oVErI':_0x1c82bd(0x1a1),'ynEeO':'RPS'};_0x3dacc6[_0x3dacc6['dice']=0x166]=_0x24b088['oVErI'],_0x3dacc6[_0x3dacc6[_0x24b088[_0x1c82bd(0x173)]]=0x167]='RPS';}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x2d110e){var _0x1c879d=_0x5976d0,_0x3c01d7={'MKpaJ':'memberIncrease','hDQLR':'kicked','EeAdm':_0x1c879d(0x18c)};_0x2d110e[_0x2d110e[_0x3c01d7[_0x1c879d(0x1a0)]]=0x1]=_0x1c879d(0x16b),_0x2d110e[_0x2d110e[_0x3c01d7[_0x1c879d(0x195)]]=0x3]=_0x3c01d7['hDQLR'],_0x2d110e[_0x2d110e[_0x1c879d(0x18c)]=0x8]=_0x3c01d7[_0x1c879d(0x19b)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x1dcad0=_0x5022;(function(_0x216201,_0x4658c4){var _0x4dd203=_0x5022,_0x463742=_0x216201();while(!![]){try{var _0x4305d7=parseInt(_0x4dd203(0xee))/0x1+parseInt(_0x4dd203(0x103))/0x2+-parseInt(_0x4dd203(0x100))/0x3*(-parseInt(_0x4dd203(0xf7))/0x4)+-parseInt(_0x4dd203(0xdd))/0x5+-parseInt(_0x4dd203(0x104))/0x6*(-parseInt(_0x4dd203(0x105))/0x7)+parseInt(_0x4dd203(0xe8))/0x8+-parseInt(_0x4dd203(0xdb))/0x9;if(_0x4305d7===_0x4658c4)break;else _0x463742['push'](_0x463742['shift']());}catch(_0x4e5787){_0x463742['push'](_0x463742['shift']());}}}(_0x5327,0x52c44));export var ElementType;(function(_0x153ff7){var _0x546987=_0x5022,_0x36633f={'OFmGF':'VIDEO','MolIN':_0x546987(0x10a),'wHDxK':_0x546987(0xe9),'OGkmB':'REPLY','mqgBJ':_0x546987(0xf6),'GYjAh':_0x546987(0xfb),'gWwID':_0x546987(0xf2),'HTuCD':_0x546987(0xe1),'vfsqm':_0x546987(0xe0)},_0x3e52e2=_0x546987(0x101)[_0x546987(0xdf)]('|'),_0x5036eb=0x0;while(!![]){switch(_0x3e52e2[_0x5036eb++]){case'0':_0x153ff7[_0x153ff7[_0x546987(0xec)]=0x4]='PTT';continue;case'1':_0x153ff7[_0x153ff7[_0x546987(0xef)]=0x5]=_0x36633f['OFmGF'];continue;case'2':_0x153ff7[_0x153ff7[_0x546987(0x10a)]=0xb]=_0x36633f['MolIN'];continue;case'3':_0x153ff7[_0x153ff7[_0x36633f[_0x546987(0x102)]]=0x3]=_0x36633f['wHDxK'];continue;case'4':_0x153ff7[_0x153ff7[_0x36633f[_0x546987(0xf5)]]=0x7]=_0x36633f[_0x546987(0xf5)];continue;case'5':_0x153ff7[_0x153ff7[_0x36633f[_0x546987(0xe7)]]=0x6]=_0x36633f['mqgBJ'];continue;case'6':_0x153ff7[_0x153ff7[_0x36633f[_0x546987(0xfd)]]=0x2]=_0x36633f['GYjAh'];continue;case'7':_0x153ff7[_0x153ff7[_0x546987(0xf2)]=0x1]=_0x36633f[_0x546987(0xf1)];continue;case'8':_0x153ff7[_0x153ff7[_0x36633f[_0x546987(0xdc)]]=0xe]=_0x36633f[_0x546987(0xdc)];continue;case'9':_0x153ff7[_0x153ff7[_0x36633f[_0x546987(0xd9)]]=0xa]=_0x36633f['vfsqm'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x1e9e6b){var _0x406a36=_0x5022,_0x53c9e3={'kLZpO':_0x406a36(0xeb),'ojBOJ':'jpg'};_0x1e9e6b[_0x1e9e6b[_0x53c9e3[_0x406a36(0xfa)]]=0x7d0]=_0x53c9e3[_0x406a36(0xfa)],_0x1e9e6b[_0x1e9e6b[_0x406a36(0xd4)]=0x3e8]=_0x53c9e3['ojBOJ'];}(PicType||(PicType={})));export var PicSubType;(function(_0x5edf2c){var _0x24b055=_0x5022,_0x10c353={'VueiD':_0x24b055(0xda),'Aozwr':_0x24b055(0xde)};_0x5edf2c[_0x5edf2c[_0x24b055(0xda)]=0x0]=_0x10c353[_0x24b055(0x10b)],_0x5edf2c[_0x5edf2c[_0x10c353['Aozwr']]=0x1]=_0x10c353['Aozwr'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5503a8){var _0x1ebb7a=_0x5022,_0x34e8b6={'Snvkm':'notAt','rbnbW':'atAll','arjJp':_0x1ebb7a(0xe2)};_0x5503a8[_0x5503a8[_0x34e8b6[_0x1ebb7a(0xed)]]=0x0]=_0x34e8b6['Snvkm'],_0x5503a8[_0x5503a8[_0x1ebb7a(0xf9)]=0x1]=_0x34e8b6[_0x1ebb7a(0xff)],_0x5503a8[_0x5503a8[_0x34e8b6[_0x1ebb7a(0xd7)]]=0x2]=_0x34e8b6[_0x1ebb7a(0xd7)];}(AtType||(AtType={})));export var ChatType;(function(_0x1dff67){var _0x5aa33f=_0x5022,_0x274bf5={'zemwJ':_0x5aa33f(0xf0),'fkRJI':_0x5aa33f(0x10c),'IXMqS':'chatDevice','mXPer':_0x5aa33f(0x107)};_0x1dff67[_0x1dff67[_0x274bf5['zemwJ']]=0x1]=_0x5aa33f(0xf0),_0x1dff67[_0x1dff67[_0x274bf5[_0x5aa33f(0x108)]]=0x2]=_0x274bf5[_0x5aa33f(0x108)],_0x1dff67[_0x1dff67[_0x274bf5[_0x5aa33f(0xe3)]]=0x8]=_0x274bf5[_0x5aa33f(0xe3)],_0x1dff67[_0x1dff67[_0x274bf5[_0x5aa33f(0xe5)]]=0x64]=_0x274bf5[_0x5aa33f(0xe5)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x1dcad0(0x106);export const IMAGE_HTTP_HOST_NT=_0x1dcad0(0x10e);export var GrayTipElementSubType;function _0x5022(_0x11a026,_0x5b86de){var _0x5327e8=_0x5327();return _0x5022=function(_0x502236,_0x520937){_0x502236=_0x502236-0xd3;var _0x183de7=_0x5327e8[_0x502236];return _0x183de7;},_0x5022(_0x11a026,_0x5b86de);}(function(_0xbde99){var _0xd0ae54=_0x1dcad0,_0x44bcd2={'TpFYV':_0xd0ae54(0xf4),'NMWup':_0xd0ae54(0x109)};_0xbde99[_0xbde99['INVITE_NEW_MEMBER']=0xc]=_0x44bcd2[_0xd0ae54(0xd3)],_0xbde99[_0xbde99[_0x44bcd2[_0xd0ae54(0xe6)]]=0x11]=_0x44bcd2[_0xd0ae54(0xe6)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x5347c5){var _0x1d87f8=_0x1dcad0,_0x406634={'LkRZA':'normal','EKmkT':_0x1d87f8(0xf8),'JLoQs':_0x1d87f8(0xfe)};_0x5347c5[_0x5347c5[_0x406634['LkRZA']]=0x1]=_0x406634['LkRZA'],_0x5347c5[_0x5347c5[_0x406634[_0x1d87f8(0xd5)]]=0x2]=_0x406634[_0x1d87f8(0xd5)],_0x5347c5[_0x5347c5[_0x406634[_0x1d87f8(0x10d)]]=0x3]=_0x1d87f8(0xfe);}(FaceType||(FaceType={})));export var FaceIndex;function _0x5327(){var _0x4aecbd=['kLZpO','PIC','ban','GYjAh','dice','rbnbW','165uQwpPl','7|6|3|0|1|5|4|9|2|8','wHDxK','228340NQMAmi','5286YXJXRx','238Ncalwf','https://gchat.qpic.cn','temp','fkRJI','MEMBER_NEW_TITLE','MFACE','VueiD','group','JLoQs','https://multimedia.nt.qq.com.cn','TpFYV','jpg','EKmkT','memberIncrease','arjJp','RPS','vfsqm','normal','721710WbWdBn','HTuCD','2177360LMibay','face','split','ARK','MARKDOWN','atUser','IXMqS','VyuJL','mXPer','NMWup','mqgBJ','951632XliVHe','FILE','pMyQS','gif','PTT','Snvkm','360541KVdvCw','VIDEO','friend','gWwID','TEXT','pmmvo','INVITE_NEW_MEMBER','OGkmB','FACE','16804MrfMdh','normal2','atAll'];_0x5327=function(){return _0x4aecbd;};return _0x5327();}(function(_0x45df72){var _0x33f88a=_0x1dcad0,_0x1c073d={'pmmvo':_0x33f88a(0xfe),'VyuJL':'RPS'};_0x45df72[_0x45df72[_0x1c073d[_0x33f88a(0xf3)]]=0x166]=_0x1c073d[_0x33f88a(0xf3)],_0x45df72[_0x45df72[_0x1c073d[_0x33f88a(0xe4)]]=0x167]=_0x33f88a(0xd8);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x258cb5){var _0x2cc97f=_0x1dcad0,_0x3edbbf={'pMyQS':'kicked'};_0x258cb5[_0x258cb5['memberIncrease']=0x1]=_0x2cc97f(0xd6),_0x258cb5[_0x258cb5[_0x3edbbf[_0x2cc97f(0xea)]]=0x3]=_0x3edbbf[_0x2cc97f(0xea)],_0x258cb5[_0x258cb5[_0x2cc97f(0xfc)]=0x8]=_0x2cc97f(0xfc);}(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 ab874441..2b5483a5 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x4e365f,_0x4843f6){var _0x4dc18d=_0x1290,_0x250cd5=_0x4e365f();while(!![]){try{var _0x9a9cc2=-parseInt(_0x4dc18d(0x112))/0x1+parseInt(_0x4dc18d(0x10a))/0x2+-parseInt(_0x4dc18d(0x107))/0x3+-parseInt(_0x4dc18d(0x10d))/0x4+-parseInt(_0x4dc18d(0x109))/0x5+-parseInt(_0x4dc18d(0x121))/0x6+parseInt(_0x4dc18d(0x11b))/0x7;if(_0x9a9cc2===_0x4843f6)break;else _0x250cd5['push'](_0x250cd5['shift']());}catch(_0x1b3e60){_0x250cd5['push'](_0x250cd5['shift']());}}}(_0x442e,0xc71e0));export var GroupNotifyTypes;function _0x442e(){var _0x35ae0a=['7829945jiynPG','1117498bfLLdU','sCKqL','APPROVE','2406436MzGJlN','cHcyN','REJECT','approve','INVITED_JOIN','209164LkcqDf','MEMBER_EXIT','YQnax','YMCWn','bvwRP','WXbUe','svuMp','ADMIN_UNSET','XYuLu','27315855nHkzOX','WAIT_HANDLE','ADMIN_SET','XWWSe','split','JOIN_REQUEST','2698524ZEaYoE','6|4|3|2|1|0|7|5','KICK_MEMBER','IGNORE','ADMIN_UNSET_OTHER','INVITE_ME','2456742XQkieK','XcZYO'];_0x442e=function(){return _0x35ae0a;};return _0x442e();}function _0x1290(_0xb12772,_0x458d68){var _0x442e21=_0x442e();return _0x1290=function(_0x129049,_0x4167c5){_0x129049=_0x129049-0x105;var _0x5c6805=_0x442e21[_0x129049];return _0x5c6805;},_0x1290(_0xb12772,_0x458d68);}(function(_0xf52c7c){var _0x56dbbd=_0x1290,_0x35282a={'bvwRP':_0x56dbbd(0x122),'PXEhD':'MEMBER_EXIT','XcZYO':_0x56dbbd(0x123),'cHcyN':_0x56dbbd(0x111),'XWWSe':_0x56dbbd(0x105),'YMCWn':_0x56dbbd(0x106),'WXbUe':_0x56dbbd(0x119)},_0x292bc8=_0x35282a[_0x56dbbd(0x116)][_0x56dbbd(0x11f)]('|'),_0x216f62=0x0;while(!![]){switch(_0x292bc8[_0x216f62++]){case'0':_0xf52c7c[_0xf52c7c[_0x35282a['PXEhD']]=0xb]=_0x56dbbd(0x113);continue;case'1':_0xf52c7c[_0xf52c7c[_0x35282a[_0x56dbbd(0x108)]]=0x9]=_0x35282a[_0x56dbbd(0x108)];continue;case'2':_0xf52c7c[_0xf52c7c[_0x56dbbd(0x11d)]=0x8]='ADMIN_SET';continue;case'3':_0xf52c7c[_0xf52c7c[_0x56dbbd(0x120)]=0x7]=_0x56dbbd(0x120);continue;case'4':_0xf52c7c[_0xf52c7c[_0x35282a[_0x56dbbd(0x10e)]]=0x4]=_0x35282a[_0x56dbbd(0x10e)];continue;case'5':_0xf52c7c[_0xf52c7c[_0x35282a[_0x56dbbd(0x11e)]]=0xd]=_0x35282a[_0x56dbbd(0x11e)];continue;case'6':_0xf52c7c[_0xf52c7c[_0x35282a[_0x56dbbd(0x115)]]=0x1]=_0x35282a[_0x56dbbd(0x115)];continue;case'7':_0xf52c7c[_0xf52c7c[_0x35282a[_0x56dbbd(0x117)]]=0xc]=_0x56dbbd(0x119);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x25f4a4){var _0x31a17d=_0x1290,_0x51d8b1={'XYuLu':_0x31a17d(0x124),'YQnax':_0x31a17d(0x11c),'svuMp':_0x31a17d(0x10c),'iKdEw':_0x31a17d(0x10f)};_0x25f4a4[_0x25f4a4[_0x51d8b1[_0x31a17d(0x11a)]]=0x0]=_0x51d8b1[_0x31a17d(0x11a)],_0x25f4a4[_0x25f4a4[_0x51d8b1[_0x31a17d(0x114)]]=0x1]=_0x51d8b1[_0x31a17d(0x114)],_0x25f4a4[_0x25f4a4[_0x51d8b1[_0x31a17d(0x118)]]=0x2]=_0x51d8b1[_0x31a17d(0x118)],_0x25f4a4[_0x25f4a4[_0x31a17d(0x10f)]=0x3]=_0x51d8b1['iKdEw'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x5ea232){var _0x345295=_0x1290,_0x577026={'QKfkE':'approve','sCKqL':'reject'};_0x5ea232[_0x5ea232[_0x345295(0x110)]=0x1]=_0x577026['QKfkE'],_0x5ea232[_0x5ea232[_0x577026[_0x345295(0x10b)]]=0x2]=_0x577026[_0x345295(0x10b)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x4ff19b,_0xac9719){var _0x46410c=_0x18fc,_0x3c4c4e=_0x4ff19b();while(!![]){try{var _0x5abd77=-parseInt(_0x46410c(0xb2))/0x1*(-parseInt(_0x46410c(0xcb))/0x2)+parseInt(_0x46410c(0xc6))/0x3*(parseInt(_0x46410c(0xd1))/0x4)+-parseInt(_0x46410c(0xbd))/0x5*(parseInt(_0x46410c(0xaf))/0x6)+parseInt(_0x46410c(0xb8))/0x7+parseInt(_0x46410c(0xcc))/0x8+-parseInt(_0x46410c(0xbb))/0x9+parseInt(_0x46410c(0xcd))/0xa;if(_0x5abd77===_0xac9719)break;else _0x3c4c4e['push'](_0x3c4c4e['shift']());}catch(_0x34dfe0){_0x3c4c4e['push'](_0x3c4c4e['shift']());}}}(_0x5cb4,0x786e1));export var GroupNotifyTypes;(function(_0xeca5c6){var _0x2c1d3b=_0x18fc,_0x68de92={'cHwIg':_0x2c1d3b(0xc0),'qBFWV':_0x2c1d3b(0xc4),'SjgLU':_0x2c1d3b(0xbf),'BVYiO':_0x2c1d3b(0xb9),'NHNWm':_0x2c1d3b(0xca),'tNvLi':_0x2c1d3b(0xc2),'Vdzeh':'INVITE_ME','qqTLg':_0x2c1d3b(0xb5),'WNmJb':_0x2c1d3b(0xc7)},_0xa042c2=_0x68de92['cHwIg']['split']('|'),_0x58a04f=0x0;while(!![]){switch(_0xa042c2[_0x58a04f++]){case'0':_0xeca5c6[_0xeca5c6[_0x68de92[_0x2c1d3b(0xc8)]]=0xd]=_0x68de92[_0x2c1d3b(0xc8)];continue;case'1':_0xeca5c6[_0xeca5c6[_0x68de92['SjgLU']]=0xc]=_0x2c1d3b(0xbf);continue;case'2':_0xeca5c6[_0xeca5c6[_0x2c1d3b(0xb9)]=0x8]=_0x68de92['BVYiO'];continue;case'3':_0xeca5c6[_0xeca5c6[_0x2c1d3b(0xca)]=0x7]=_0x68de92[_0x2c1d3b(0xb1)];continue;case'4':_0xeca5c6[_0xeca5c6[_0x68de92['tNvLi']]=0x9]=_0x68de92[_0x2c1d3b(0xcf)];continue;case'5':_0xeca5c6[_0xeca5c6[_0x68de92[_0x2c1d3b(0xc9)]]=0x1]=_0x68de92[_0x2c1d3b(0xc9)];continue;case'6':_0xeca5c6[_0xeca5c6[_0x68de92[_0x2c1d3b(0xc3)]]=0xb]=_0x68de92[_0x2c1d3b(0xc3)];continue;case'7':_0xeca5c6[_0xeca5c6[_0x68de92[_0x2c1d3b(0xd0)]]=0x4]='INVITED_JOIN';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x18fc(_0x4e51e1,_0xf3428d){var _0x5cb422=_0x5cb4();return _0x18fc=function(_0x18fccc,_0x579711){_0x18fccc=_0x18fccc-0xaf;var _0x54b5b8=_0x5cb422[_0x18fccc];return _0x54b5b8;},_0x18fc(_0x4e51e1,_0xf3428d);}(function(_0x51ec75){var _0xddbc91=_0x18fc,_0x45e766={'AbTLo':_0xddbc91(0xc1),'tAesy':_0xddbc91(0xb7),'CvZoo':_0xddbc91(0xc5),'eXKCH':_0xddbc91(0xb0)};_0x51ec75[_0x51ec75[_0x45e766['AbTLo']]=0x0]=_0x45e766[_0xddbc91(0xbe)],_0x51ec75[_0x51ec75[_0x45e766['tAesy']]=0x1]=_0x45e766[_0xddbc91(0xba)],_0x51ec75[_0x51ec75[_0x45e766[_0xddbc91(0xb6)]]=0x2]=_0x45e766[_0xddbc91(0xb6)],_0x51ec75[_0x51ec75[_0x45e766['eXKCH']]=0x3]=_0x45e766[_0xddbc91(0xbc)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x5cb4(){var _0x3556b8=['564KCJKOB','REJECT','NHNWm','172cGDLCx','reject','approve','MEMBER_EXIT','CvZoo','WAIT_HANDLE','6733405cTfEHX','ADMIN_SET','tAesy','8190189GxdhZi','eXKCH','46030TuXNDr','AbTLo','ADMIN_UNSET','5|7|3|2|4|6|1|0','IGNORE','KICK_MEMBER','qqTLg','ADMIN_UNSET_OTHER','APPROVE','71520IAWhvv','INVITED_JOIN','qBFWV','Vdzeh','JOIN_REQUEST','5314amrorE','3332224JGmbtE','2663390iZesRG','ByKAX','tNvLi','WNmJb','28PMMOrz'];_0x5cb4=function(){return _0x3556b8;};return _0x5cb4();}export var GroupRequestOperateTypes;(function(_0x5be7ed){var _0x4447b0=_0x18fc,_0x35f4e4={'ByKAX':_0x4447b0(0xb4),'Qycak':_0x4447b0(0xb3)};_0x5be7ed[_0x5be7ed[_0x35f4e4['ByKAX']]=0x1]=_0x35f4e4[_0x4447b0(0xce)],_0x5be7ed[_0x5be7ed[_0x35f4e4['Qycak']]=0x2]=_0x35f4e4['Qycak'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 79c8bb55..0639339d 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x324ae4,_0x339e8f){var _0x3640a0=_0x37e1,_0x46ad0a=_0x324ae4();while(!![]){try{var _0x5b59b1=parseInt(_0x3640a0(0x1a8))/0x1*(parseInt(_0x3640a0(0x1a2))/0x2)+parseInt(_0x3640a0(0x1ac))/0x3+-parseInt(_0x3640a0(0x19e))/0x4*(parseInt(_0x3640a0(0x1ad))/0x5)+parseInt(_0x3640a0(0x1a6))/0x6*(-parseInt(_0x3640a0(0x1ae))/0x7)+parseInt(_0x3640a0(0x1a1))/0x8*(parseInt(_0x3640a0(0x1a0))/0x9)+-parseInt(_0x3640a0(0x1ab))/0xa+parseInt(_0x3640a0(0x19f))/0xb;if(_0x5b59b1===_0x339e8f)break;else _0x46ad0a['push'](_0x46ad0a['shift']());}catch(_0x259ea6){_0x46ad0a['push'](_0x46ad0a['shift']());}}}(_0x5b8e,0x1c2e8));export var Sex;function _0x37e1(_0x56f830,_0x5ce73a){var _0x5b8e4b=_0x5b8e();return _0x37e1=function(_0x37e16c,_0x508dee){_0x37e16c=_0x37e16c-0x19e;var _0x57dbed=_0x5b8e4b[_0x37e16c];return _0x57dbed;},_0x37e1(_0x56f830,_0x5ce73a);}(function(_0x42fab3){var _0x2eed5a=_0x37e1,_0x193a1d={'nFEwu':_0x2eed5a(0x1aa),'ucLDw':_0x2eed5a(0x1a5),'GaErI':_0x2eed5a(0x1a4)};_0x42fab3[_0x42fab3[_0x193a1d[_0x2eed5a(0x1a9)]]=0x1]=_0x2eed5a(0x1aa),_0x42fab3[_0x42fab3[_0x193a1d[_0x2eed5a(0x1a7)]]=0x2]=_0x193a1d[_0x2eed5a(0x1a7)],_0x42fab3[_0x42fab3[_0x193a1d[_0x2eed5a(0x1a3)]]=0xff]=_0x193a1d[_0x2eed5a(0x1a3)];}(Sex||(Sex={})));function _0x5b8e(){var _0x3f8c28=['2ushEbc','GaErI','unknown','female','1110mwDwRz','ucLDw','83964sSnKTD','nFEwu','male','589510OvDAEy','314394MVEoNG','818215fqguBN','1211qRcMSD','4UqprBd','1280235AHvXLi','27JlfvJg','173024wHoKCf'];_0x5b8e=function(){return _0x3f8c28;};return _0x5b8e();} \ No newline at end of file +function _0x321d(_0x3b36dd,_0x502bd8){var _0x2e0986=_0x2e09();return _0x321d=function(_0x321d28,_0x5653a7){_0x321d28=_0x321d28-0xab;var _0x1c49dd=_0x2e0986[_0x321d28];return _0x1c49dd;},_0x321d(_0x3b36dd,_0x502bd8);}(function(_0x37b893,_0x3863bd){var _0x618c8b=_0x321d,_0x57c12d=_0x37b893();while(!![]){try{var _0x38b0f2=-parseInt(_0x618c8b(0xb5))/0x1+parseInt(_0x618c8b(0xb6))/0x2+-parseInt(_0x618c8b(0xaf))/0x3+parseInt(_0x618c8b(0xb4))/0x4+-parseInt(_0x618c8b(0xab))/0x5+parseInt(_0x618c8b(0xac))/0x6+parseInt(_0x618c8b(0xb7))/0x7*(parseInt(_0x618c8b(0xad))/0x8);if(_0x38b0f2===_0x3863bd)break;else _0x57c12d['push'](_0x57c12d['shift']());}catch(_0x572705){_0x57c12d['push'](_0x57c12d['shift']());}}}(_0x2e09,0x280f1));export var Sex;(function(_0x53e7c4){var _0x4e405d=_0x321d,_0x2d1430={'RYqwv':_0x4e405d(0xb3),'ryfFO':_0x4e405d(0xb2)};_0x53e7c4[_0x53e7c4['male']=0x1]=_0x2d1430[_0x4e405d(0xb0)],_0x53e7c4[_0x53e7c4[_0x2d1430['ryfFO']]=0x2]=_0x2d1430[_0x4e405d(0xae)],_0x53e7c4[_0x53e7c4[_0x4e405d(0xb1)]=0xff]=_0x4e405d(0xb1);}(Sex||(Sex={})));function _0x2e09(){var _0x4a81dd=['male','332776FRrkGs','144415OugfFQ','477504fWGWmv','27587HrufSo','1598455blBfDN','748470AFRHld','784mCvdqA','ryfFO','614166CLBuVf','RYqwv','unknown','female'];_0x2e09=function(){return _0x4a81dd;};return _0x2e09();} \ No newline at end of file diff --git a/src/core.lib/src/external/hook.js b/src/core.lib/src/external/hook.js index f908326a..afc13e4d 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0x193e91=_0x14d9;(function(_0x456c37,_0x120ea0){const _0x4deb0f=_0x14d9,_0x4b0cc7=_0x456c37();while(!![]){try{const _0x3944d6=-parseInt(_0x4deb0f(0x1d7))/0x1+parseInt(_0x4deb0f(0x1cc))/0x2*(parseInt(_0x4deb0f(0x1c9))/0x3)+parseInt(_0x4deb0f(0x1ce))/0x4+parseInt(_0x4deb0f(0x1c6))/0x5+-parseInt(_0x4deb0f(0x1c7))/0x6+parseInt(_0x4deb0f(0x1cf))/0x7+-parseInt(_0x4deb0f(0x1d2))/0x8;if(_0x3944d6===_0x120ea0)break;else _0x4b0cc7['push'](_0x4b0cc7['shift']());}catch(_0x22c4af){_0x4b0cc7['push'](_0x4b0cc7['shift']());}}}(_0x480f,0x61283));import{logError}from'@/common/utils/log';function _0x480f(){const _0x4b7684=['401797XVwXHV','2451560NrYqQi','2737488pTbgYP','CCeXA','2315883NzbDpB','OtnfU','moeHook','2FagTQh','GetRkey','2149628unBlML','1967336uGJxiV','version','isAvailable','6597824YEywgR','MoeHoo','./MoeHoo.node','getRKey','krIIV'];_0x480f=function(){return _0x4b7684;};return _0x480f();}function _0x14d9(_0xae0ddb,_0x1cca10){const _0x480f09=_0x480f();return _0x14d9=function(_0x14d962,_0x318d46){_0x14d962=_0x14d962-0x1c6;let _0x5994c0=_0x480f09[_0x14d962];return _0x5994c0;},_0x14d9(_0xae0ddb,_0x1cca10);}import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{['moeHook']=null;constructor(){const _0x4665b7=_0x14d9,_0x1e79be={'CCeXA':_0x4665b7(0x1d3),'krIIV':function(_0x29e0a4,_0x3f61ea){return _0x29e0a4(_0x3f61ea);},'MtdZY':_0x4665b7(0x1d4),'OtnfU':'加载\x20moehoo\x20失败'};try{cpModule(_0x1e79be[_0x4665b7(0x1c8)]),this[_0x4665b7(0x1cb)]=_0x1e79be[_0x4665b7(0x1d6)](require,_0x1e79be['MtdZY']),this[_0x4665b7(0x1cb)]['HookRkey'](qqPkgInfo[_0x4665b7(0x1d0)]);}catch(_0x262e55){logError(_0x1e79be[_0x4665b7(0x1ca)],_0x262e55);}}[_0x193e91(0x1d5)](){const _0x25fc45=_0x193e91;return this[_0x25fc45(0x1cb)]?.[_0x25fc45(0x1cd)]()||'';}[_0x193e91(0x1d1)](){const _0x21f064=_0x193e91;return!!this[_0x21f064(0x1cb)];}}export const hookApi=new HookApi(); \ No newline at end of file +const _0x4ea059=_0x206f;(function(_0x3b75d5,_0x1eed46){const _0x4e2376=_0x206f,_0x3aa72b=_0x3b75d5();while(!![]){try{const _0x4abdef=-parseInt(_0x4e2376(0x76))/0x1+parseInt(_0x4e2376(0x6e))/0x2*(-parseInt(_0x4e2376(0x77))/0x3)+parseInt(_0x4e2376(0x6c))/0x4+-parseInt(_0x4e2376(0x6d))/0x5*(-parseInt(_0x4e2376(0x6b))/0x6)+-parseInt(_0x4e2376(0x6a))/0x7+-parseInt(_0x4e2376(0x68))/0x8*(parseInt(_0x4e2376(0x79))/0x9)+-parseInt(_0x4e2376(0x78))/0xa*(-parseInt(_0x4e2376(0x73))/0xb);if(_0x4abdef===_0x1eed46)break;else _0x3aa72b['push'](_0x3aa72b['shift']());}catch(_0x3c9047){_0x3aa72b['push'](_0x3aa72b['shift']());}}}(_0x11f0,0xa012a));import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';function _0x11f0(){const _0x3526c5=['150889QyMQtE','3ameUdx','913030raeJDY','185373dzZpbw','inYeM','moeHook','jeKsf','24GjyJjY','JVqjB','8632456WfSFZM','130404IrQtjK','407608cLWvXa','25ulXLPQ','52778OrpIDF','SqGvJ','DEltV','TQkmT','MoeHoo','231TtiyrB','getRKey','isAvailable'];_0x11f0=function(){return _0x3526c5;};return _0x11f0();}function _0x206f(_0x2734fc,_0x341d6c){const _0x11f0da=_0x11f0();return _0x206f=function(_0x206f26,_0x183b48){_0x206f26=_0x206f26-0x68;let _0x784dc8=_0x11f0da[_0x206f26];return _0x784dc8;},_0x206f(_0x2734fc,_0x341d6c);}import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0x4ea059(0x7b)]=null;constructor(){const _0x2eb95b=_0x4ea059,_0x3d4d69={'TQkmT':function(_0x4da841,_0x3e28a2){return _0x4da841(_0x3e28a2);},'inYeM':_0x2eb95b(0x72),'jeKsf':function(_0x103ca3,_0x415c71){return _0x103ca3(_0x415c71);},'DEltV':'./MoeHoo.node','JVqjB':function(_0x39b950,_0x1c87a0,_0x3ac983){return _0x39b950(_0x1c87a0,_0x3ac983);},'SqGvJ':'加载\x20moehoo\x20失败'};try{_0x3d4d69[_0x2eb95b(0x71)](cpModule,_0x3d4d69[_0x2eb95b(0x7a)]),this[_0x2eb95b(0x7b)]=_0x3d4d69[_0x2eb95b(0x7c)](require,_0x3d4d69[_0x2eb95b(0x70)]),this['moeHook']['HookRkey'](qqPkgInfo['version']);}catch(_0x28ef2f){_0x3d4d69[_0x2eb95b(0x69)](logError,_0x3d4d69[_0x2eb95b(0x6f)],_0x28ef2f);}}[_0x4ea059(0x74)](){const _0x209c98=_0x4ea059;return this[_0x209c98(0x7b)]?.['GetRkey']()||'';}[_0x4ea059(0x75)](){const _0x58100a=_0x4ea059;return!!this[_0x58100a(0x7b)];}}export const hookApi=new HookApi(); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 559487f9..65a97b98 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x3650e7,_0x42245f){var _0x16f861=_0x499a,_0x53c518=_0x3650e7();while(!![]){try{var _0x68e202=parseInt(_0x16f861(0x92))/0x1+-parseInt(_0x16f861(0x90))/0x2+parseInt(_0x16f861(0x8e))/0x3*(-parseInt(_0x16f861(0x8f))/0x4)+parseInt(_0x16f861(0x91))/0x5*(-parseInt(_0x16f861(0x96))/0x6)+parseInt(_0x16f861(0x94))/0x7+-parseInt(_0x16f861(0x95))/0x8+parseInt(_0x16f861(0x93))/0x9;if(_0x68e202===_0x42245f)break;else _0x53c518['push'](_0x53c518['shift']());}catch(_0x4cd540){_0x53c518['push'](_0x53c518['shift']());}}}(_0x33d4,0x52a87));import _0x28f637 from'./wrapper';export*from'./adapters';function _0x499a(_0x40328a,_0xca06a1){var _0x33d4e1=_0x33d4();return _0x499a=function(_0x499a08,_0x4492c7){_0x499a08=_0x499a08-0x8e;var _0x27b77e=_0x33d4e1[_0x499a08];return _0x27b77e;},_0x499a(_0x40328a,_0xca06a1);}export*from'./apis';export*from'./entities';function _0x33d4(){var _0x57378d=['644630avoSZa','290NAvYvQ','442274UjRxjQ','6709428NHIfMx','1940190mEwCgw','4415712IczFAW','21966mjXWQA','59628BjbehR','8fTJxlC'];_0x33d4=function(){return _0x57378d;};return _0x33d4();}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{_0x28f637 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x4403e1,_0x5afc27){var _0x212c69=_0x2495,_0xa4f852=_0x4403e1();while(!![]){try{var _0x429f95=parseInt(_0x212c69(0x11b))/0x1*(-parseInt(_0x212c69(0x119))/0x2)+parseInt(_0x212c69(0x11c))/0x3+-parseInt(_0x212c69(0x115))/0x4+parseInt(_0x212c69(0x114))/0x5+-parseInt(_0x212c69(0x116))/0x6+-parseInt(_0x212c69(0x117))/0x7*(parseInt(_0x212c69(0x118))/0x8)+parseInt(_0x212c69(0x113))/0x9*(parseInt(_0x212c69(0x11a))/0xa);if(_0x429f95===_0x5afc27)break;else _0xa4f852['push'](_0xa4f852['shift']());}catch(_0x35a707){_0xa4f852['push'](_0xa4f852['shift']());}}}(_0x341a,0xcf280));import _0x415224 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x2495(_0x18a30a,_0x209921){var _0x341a24=_0x341a();return _0x2495=function(_0x2495a8,_0x22c880){_0x2495a8=_0x2495a8-0x113;var _0x13ac5b=_0x341a24[_0x2495a8];return _0x13ac5b;},_0x2495(_0x18a30a,_0x209921);}export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x341a(){var _0x195c9c=['90624JkXQWm','9520212pMabhH','3121293XlerNF','8sUUhVh','109638cIxQaF','945140KubKqD','1IDjwyb','1298751ajvWQS','108deVILi','6957515wullFh'];_0x341a=function(){return _0x195c9c;};return _0x341a();}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x415224 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 577055f8..7f809888 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x423eb9=_0x5232;(function(_0x2263cc,_0x27730c){var _0x5e987f=_0x5232,_0x25f41c=_0x2263cc();while(!![]){try{var _0x1d82e3=parseInt(_0x5e987f(0x6b))/0x1*(parseInt(_0x5e987f(0x6f))/0x2)+parseInt(_0x5e987f(0x6d))/0x3*(parseInt(_0x5e987f(0x72))/0x4)+-parseInt(_0x5e987f(0x82))/0x5+parseInt(_0x5e987f(0x69))/0x6*(-parseInt(_0x5e987f(0x83))/0x7)+-parseInt(_0x5e987f(0x70))/0x8*(-parseInt(_0x5e987f(0x7f))/0x9)+-parseInt(_0x5e987f(0x7c))/0xa*(parseInt(_0x5e987f(0x67))/0xb)+parseInt(_0x5e987f(0x78))/0xc*(parseInt(_0x5e987f(0x71))/0xd);if(_0x1d82e3===_0x27730c)break;else _0x25f41c['push'](_0x25f41c['shift']());}catch(_0x23ae11){_0x25f41c['push'](_0x25f41c['shift']());}}}(_0x3a03,0xbb852));function _0x5232(_0x54875a,_0x4e7ae4){var _0x3a031a=_0x3a03();return _0x5232=function(_0x523246,_0x2a87dd){_0x523246=_0x523246-0x67;var _0x1b6f06=_0x3a031a[_0x523246];return _0x1b6f06;},_0x5232(_0x54875a,_0x4e7ae4);}function _0x3a03(){var _0x4bbb86=['180449QKbxWq','onDoubtBuddyReqChange','327DTqJxn','onAddMeSettingChanged','4VHvtIi','40sDuAKk','26BuNROX','8388AnmOAK','onNickUpdated','onAvatarUrlUpdated','onSpacePermissionInfos','onBuddyListChange','onBuddyDetailInfoChange','10183812suvNJI','onBuddyInfoChange','onCheckBuddySettingResult','onAddBuddyNeedVerify','3177770rugnKX','onSmartInfos','onDelBatchBuddyInfos','762705TtEJhD','onBuddyRemarkUpdated','onBlockChanged','5796410sUMQPa','21EjNdtS','onBuddyReqUnreadCntChange','11fpHKEA','onBuddyReqChange','930714xQuLAF','onDoubtBuddyReqUnreadNumChange'];_0x3a03=function(){return _0x4bbb86;};return _0x3a03();}export class BuddyListener{[_0x423eb9(0x7b)](_0x3d824c){}[_0x423eb9(0x6e)](_0x1f3e83){}[_0x423eb9(0x74)](_0x3793f0){}[_0x423eb9(0x81)](_0x29dc4d){}[_0x423eb9(0x77)](_0x56d285){}[_0x423eb9(0x79)](_0x13cb91){}[_0x423eb9(0x76)](_0x819f31){}[_0x423eb9(0x80)](_0x996013){}[_0x423eb9(0x68)](_0x20504f){}[_0x423eb9(0x84)](_0x142ef8){}[_0x423eb9(0x7a)](_0x44bad4){}[_0x423eb9(0x7e)](_0x2e5562){}[_0x423eb9(0x6c)](_0x82dfc0){}[_0x423eb9(0x6a)](_0x52fef9){}[_0x423eb9(0x73)](_0x1dfb1e){}[_0x423eb9(0x7d)](_0x4c5f24){}[_0x423eb9(0x75)](_0x41fd9d){}} \ No newline at end of file +var _0x1959b9=_0x55a2;function _0x55a2(_0x3b44f8,_0xa601c1){var _0x1ad969=_0x1ad9();return _0x55a2=function(_0x55a28b,_0x1ca347){_0x55a28b=_0x55a28b-0xf5;var _0x4d0214=_0x1ad969[_0x55a28b];return _0x4d0214;},_0x55a2(_0x3b44f8,_0xa601c1);}function _0x1ad9(){var _0x18f1aa=['3807320nsAFoE','319944GUkHhL','onBuddyReqChange','onDoubtBuddyReqUnreadNumChange','21SLmmbN','onDoubtBuddyReqChange','onBuddyDetailInfoChange','411924fPQCHg','8hzJeGR','onNickUpdated','onDelBatchBuddyInfos','2253309zHMWmF','1780255nIcNgG','onSmartInfos','onBuddyReqUnreadCntChange','274152UvWQRJ','onSpacePermissionInfos','598600AMlEFK','onBuddyRemarkUpdated','onBuddyInfoChange','onAvatarUrlUpdated','63BmUFDX'];_0x1ad9=function(){return _0x18f1aa;};return _0x1ad9();}(function(_0x595378,_0x1f018f){var _0x31d75b=_0x55a2,_0x195ae0=_0x595378();while(!![]){try{var _0x5b8294=-parseInt(_0x31d75b(0xf7))/0x1+parseInt(_0x31d75b(0x107))/0x2+parseInt(_0x31d75b(0x101))/0x3+parseInt(_0x31d75b(0xfe))/0x4*(-parseInt(_0x31d75b(0x102))/0x5)+parseInt(_0x31d75b(0xfd))/0x6*(-parseInt(_0x31d75b(0xfa))/0x7)+parseInt(_0x31d75b(0x105))/0x8*(parseInt(_0x31d75b(0xf5))/0x9)+parseInt(_0x31d75b(0xf6))/0xa;if(_0x5b8294===_0x1f018f)break;else _0x195ae0['push'](_0x195ae0['shift']());}catch(_0x4f36f6){_0x195ae0['push'](_0x195ae0['shift']());}}}(_0x1ad9,0x69b72));export class BuddyListener{['onAddBuddyNeedVerify'](_0x599b32){}['onAddMeSettingChanged'](_0x4bc316){}[_0x1959b9(0x10a)](_0x281dd7){}['onBlockChanged'](_0x4c9bce){}[_0x1959b9(0xfc)](_0x1f195c){}[_0x1959b9(0x109)](_0xd24c1a){}['onBuddyListChange'](_0x4d074b){}[_0x1959b9(0x108)](_0x1e1c63){}[_0x1959b9(0xf8)](_0x1ff607){}[_0x1959b9(0x104)](_0x3dea71){}['onCheckBuddySettingResult'](_0x135c5f){}[_0x1959b9(0x100)](_0x4d5469){}[_0x1959b9(0xfb)](_0x40060f){}[_0x1959b9(0xf9)](_0x154d00){}[_0x1959b9(0xff)](_0x1c8f95){}[_0x1959b9(0x103)](_0x34634f){}[_0x1959b9(0x106)](_0x4a06cf){}} \ 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 35c2a619..23014159 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x30282c=_0x6e64;(function(_0x570f17,_0x3f721d){var _0x2c06e7=_0x6e64,_0x20ff0d=_0x570f17();while(!![]){try{var _0x4e2712=parseInt(_0x2c06e7(0x1ef))/0x1+parseInt(_0x2c06e7(0x1f3))/0x2*(parseInt(_0x2c06e7(0x1f2))/0x3)+parseInt(_0x2c06e7(0x1f7))/0x4+-parseInt(_0x2c06e7(0x1f1))/0x5+parseInt(_0x2c06e7(0x1f8))/0x6+-parseInt(_0x2c06e7(0x1ed))/0x7*(parseInt(_0x2c06e7(0x1f6))/0x8)+-parseInt(_0x2c06e7(0x1f0))/0x9*(parseInt(_0x2c06e7(0x1f5))/0xa);if(_0x4e2712===_0x3f721d)break;else _0x20ff0d['push'](_0x20ff0d['shift']());}catch(_0x546179){_0x20ff0d['push'](_0x20ff0d['shift']());}}}(_0x3da2,0xe407e));export class KernelFileAssistantListener{[_0x30282c(0x1ec)](..._0x4e6f91){}[_0x30282c(0x1ea)](..._0x20b7b6){}[_0x30282c(0x1eb)](..._0x729b53){}[_0x30282c(0x1f4)](..._0x40c076){}[_0x30282c(0x1ee)](..._0x29a4e9){}}function _0x6e64(_0x2b6614,_0x33baad){var _0x3da214=_0x3da2();return _0x6e64=function(_0x6e64a1,_0x2bedb0){_0x6e64a1=_0x6e64a1-0x1ea;var _0x9bbda0=_0x3da214[_0x6e64a1];return _0x9bbda0;},_0x6e64(_0x2b6614,_0x33baad);}function _0x3da2(){var _0x50396a=['28070huxVXm','104WQDegY','283484zNRVhf','1441002SOlnDA','onSessionListChanged','onSessionChanged','onFileStatusChanged','37198TtzgsA','onFileSearch','50346fiewMn','2277oHwDDI','1166880uheUFq','365829XsLvzR','26HQEVMk','onFileListChanged'];_0x3da2=function(){return _0x50396a;};return _0x3da2();} \ No newline at end of file +var _0x5213e2=_0x3588;function _0x3588(_0x3851a8,_0x302380){var _0x392154=_0x3921();return _0x3588=function(_0x358893,_0xeaf144){_0x358893=_0x358893-0xf8;var _0x53336c=_0x392154[_0x358893];return _0x53336c;},_0x3588(_0x3851a8,_0x302380);}function _0x3921(){var _0x539fb3=['718644OLSyOL','onSessionListChanged','onFileSearch','onSessionChanged','8tNhqth','576499FLuXvV','4946820cnpJXq','4KtoEzY','onFileStatusChanged','5403822FHkwCm','1047362hOywzQ','6661095CmdUOF','3zSNqiW','8537733FefwOR'];_0x3921=function(){return _0x539fb3;};return _0x3921();}(function(_0x5c0935,_0x47af73){var _0x898d9a=_0x3588,_0xe41e7=_0x5c0935();while(!![]){try{var _0x1ac83e=-parseInt(_0x898d9a(0xfa))/0x1+parseInt(_0x898d9a(0x104))/0x2*(-parseInt(_0x898d9a(0xf8))/0x3)+-parseInt(_0x898d9a(0x101))/0x4*(-parseInt(_0x898d9a(0x105))/0x5)+-parseInt(_0x898d9a(0x103))/0x6+parseInt(_0x898d9a(0xff))/0x7+parseInt(_0x898d9a(0xfe))/0x8*(parseInt(_0x898d9a(0xf9))/0x9)+parseInt(_0x898d9a(0x100))/0xa;if(_0x1ac83e===_0x47af73)break;else _0xe41e7['push'](_0xe41e7['shift']());}catch(_0x36aa46){_0xe41e7['push'](_0xe41e7['shift']());}}}(_0x3921,0xae8b5));export class KernelFileAssistantListener{[_0x5213e2(0x102)](..._0x154fdf){}[_0x5213e2(0xfb)](..._0x455003){}[_0x5213e2(0xfd)](..._0x48b03e){}['onFileListChanged'](..._0x45b487){}[_0x5213e2(0xfc)](..._0x1e4f7f){}} \ 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 2fe38367..b82e9d0a 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x210a(){var _0x42e71a=['onGroupBulletinChange:','onGetGroupBulletinListResult:','onSearchMemberChange:','onGroupBulletinRemindNotify','onJoinGroupNoVerifyFlag','BPXug','onGroupListUpdate','pcIgs','bHcNo','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange:','MunpM','1104525FaZuaz','IRKwb','6964713XFWDXD','BIwJE','54sqAjgA','onGroupFirstBulletinNotify','onGroupExtListUpdate:','onGroupBulletinRichMediaDownloadComplete','vumGD','onMemberInfoChange:','onJoinGroupNotify:','onGroupSingleScreenNotifies','idZUV','2584968tzrAqs','onGroupArkInviteStateResult','36459paeDzP','oOpAo','onGroupArkInviteStateResult:','MNLZT','onGroupBulletinRemindNotify:','fgjfF','onGroupAllInfoChange','onGroupDetailInfoChange','onMemberInfoChange','63240GJZYqD','4544880UkLMmo','30qdNBCy','onGroupConfMemberChange','onGetGroupBulletinListResult','onGroupFirstBulletinNotify:','attLu','onGroupNotifiesUpdated','onGroupMemberLevelInfoChange','bYGJr','onShutUpMemberListChanged','onJoinGroupNotify','onGroupStatisticInfoChange','log','onGroupNotifiesUnreadCountUpdated','onGroupExtListUpdate','onGroupNotifiesUpdated:','560SQBSNQ','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinChange','onGroupsMsgMaskResult','228148NPxIHP','onGroupListUpdate:','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated:','NmHrr','onJoinGroupNoVerifyFlag:','onMemberListChange','QSxtW','onMemberListChange:','oTCtJ','onGroupAllInfoChange:','onSearchMemberChange','onGroupDetailInfoChange:','onGroupConfMemberChange:'];_0x210a=function(){return _0x42e71a;};return _0x210a();}function _0x1114(_0x4926ac,_0x384698){var _0x210a4c=_0x210a();return _0x1114=function(_0x111427,_0x33e9b3){_0x111427=_0x111427-0x1c1;var _0x20b074=_0x210a4c[_0x111427];return _0x20b074;},_0x1114(_0x4926ac,_0x384698);}var _0x505b1e=_0x1114;(function(_0x2b2cbb,_0x3746ec){var _0x37aeb1=_0x1114,_0x28c9a4=_0x2b2cbb();while(!![]){try{var _0xe54529=parseInt(_0x37aeb1(0x1dc))/0x1*(-parseInt(_0x37aeb1(0x1d1))/0x2)+-parseInt(_0x37aeb1(0x1e7))/0x3*(-parseInt(_0x37aeb1(0x1fa))/0x4)+parseInt(_0x37aeb1(0x1cd))/0x5+-parseInt(_0x37aeb1(0x1e5))/0x6*(-parseInt(_0x37aeb1(0x1f6))/0x7)+parseInt(_0x37aeb1(0x1da))/0x8+-parseInt(_0x37aeb1(0x1cf))/0x9+parseInt(_0x37aeb1(0x1e6))/0xa;if(_0xe54529===_0x3746ec)break;else _0x28c9a4['push'](_0x28c9a4['shift']());}catch(_0x66e783){_0x28c9a4['push'](_0x28c9a4['shift']());}}}(_0x210a,0x9fa0a));export class GroupListener{[_0x505b1e(0x1ed)](..._0x3fd229){}[_0x505b1e(0x1e9)](..._0x52e46f){}[_0x505b1e(0x1e2)](..._0x58aad9){}[_0x505b1e(0x1f8)](..._0x34b921){}[_0x505b1e(0x1c4)](..._0x1363e4){}[_0x505b1e(0x1db)](..._0x1d106d){}[_0x505b1e(0x1d4)](..._0x256665){}[_0x505b1e(0x1e8)](..._0x3973ee){}[_0x505b1e(0x1e3)](..._0x5dc197){}[_0x505b1e(0x1f4)](..._0x2a27e8){}[_0x505b1e(0x1d2)](..._0x247b17){}[_0x505b1e(0x1c7)](_0x3ea528,_0x4e7ed8){}[_0x505b1e(0x1ec)](_0x40f204,_0x409897){}[_0x505b1e(0x1f7)](..._0xc9f6a1){}[_0x505b1e(0x1f3)](..._0x353b1f){}[_0x505b1e(0x1d8)](..._0x3e9b43){}[_0x505b1e(0x1f9)](..._0x5ac21a){}[_0x505b1e(0x1f1)](..._0x311bb5){}[_0x505b1e(0x1f0)](..._0x26d065){}[_0x505b1e(0x1c5)](..._0x4abffd){}[_0x505b1e(0x1e4)](_0x848734,_0x28abe0,_0x209839){}[_0x505b1e(0x200)](_0x3a7f11){}['onSearchMemberChange'](..._0x345181){}[_0x505b1e(0x1ef)](..._0x2d14aa){}}export class DebugGroupListener{[_0x505b1e(0x1ed)](..._0x3d5082){var _0xd65847=_0x505b1e,_0x131fc3={'oOpAo':_0xd65847(0x1cb)};console[_0xd65847(0x1f2)](_0x131fc3[_0xd65847(0x1dd)],..._0x3d5082);}[_0x505b1e(0x1e9)](..._0x30b3c2){var _0x1b08ba=_0x505b1e,_0x484054={'IRKwb':_0x1b08ba(0x1c2)};console[_0x1b08ba(0x1f2)](_0x484054[_0x1b08ba(0x1ce)],..._0x30b3c2);}[_0x505b1e(0x1e2)](..._0x4d52f6){var _0x130215=_0x505b1e,_0x4d2c94={'bHcNo':_0x130215(0x204)};console['log'](_0x4d2c94[_0x130215(0x1c9)],..._0x4d52f6);}[_0x505b1e(0x1f8)](..._0x5881a1){var _0x2054e6=_0x505b1e,_0x586112={'BPXug':_0x2054e6(0x1c1)};console[_0x2054e6(0x1f2)](_0x586112[_0x2054e6(0x1c6)],..._0x5881a1);}[_0x505b1e(0x1c4)](..._0xd221ef){var _0x4c9fa5=_0x505b1e,_0x33de24={'MNLZT':_0x4c9fa5(0x1e0)};console[_0x4c9fa5(0x1f2)](_0x33de24[_0x4c9fa5(0x1df)],..._0xd221ef);}['onGroupArkInviteStateResult'](..._0x4bab33){var _0x155591=_0x505b1e,_0x313cf1={'vumGD':_0x155591(0x1de)};console[_0x155591(0x1f2)](_0x313cf1[_0x155591(0x1d5)],..._0x4bab33);}[_0x505b1e(0x1d4)](..._0x50bce9){console['log']('onGroupBulletinRichMediaDownloadComplete:',..._0x50bce9);}[_0x505b1e(0x1e8)](..._0x4e3c29){var _0x4b8da3=_0x505b1e;console[_0x4b8da3(0x1f2)](_0x4b8da3(0x207),..._0x4e3c29);}[_0x505b1e(0x1e3)](..._0x28df13){var _0x28e331=_0x505b1e,_0x5e853a={'NmHrr':_0x28e331(0x206)};console[_0x28e331(0x1f2)](_0x5e853a[_0x28e331(0x1fe)],..._0x28df13);}[_0x505b1e(0x1f4)](..._0x5aed91){var _0x405071=_0x505b1e,_0x56f501={'QSxtW':_0x405071(0x1d3)};console[_0x405071(0x1f2)](_0x56f501[_0x405071(0x201)],..._0x5aed91);}[_0x505b1e(0x1d2)](..._0x20cc49){var _0x27eabe=_0x505b1e,_0x52e24d={'MunpM':_0x27eabe(0x1ea)};console['log'](_0x52e24d[_0x27eabe(0x1cc)],..._0x20cc49);}['onGroupListUpdate'](..._0x10a729){var _0x42f793=_0x505b1e;console[_0x42f793(0x1f2)](_0x42f793(0x1fb),..._0x10a729);}['onGroupNotifiesUpdated'](..._0x6690b3){var _0x1e9855=_0x505b1e,_0x51754d={'wENwt':_0x1e9855(0x1f5)};console[_0x1e9855(0x1f2)](_0x51754d['wENwt'],..._0x6690b3);}[_0x505b1e(0x1f7)](..._0x346d90){var _0x5cb86b=_0x505b1e,_0x30a41c={'oTCtJ':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x5cb86b(0x1f2)](_0x30a41c[_0x5cb86b(0x203)],..._0x346d90);}[_0x505b1e(0x1f3)](..._0x41ad8a){var _0x7f11b7=_0x505b1e,_0x4b06c1={'idZUV':_0x7f11b7(0x1fd)};console[_0x7f11b7(0x1f2)](_0x4b06c1[_0x7f11b7(0x1d9)],..._0x41ad8a);}[_0x505b1e(0x1d8)](..._0x3fe74c){var _0x44d8f4=_0x505b1e,_0x4801e2={'fgjfF':'onGroupSingleScreenNotifies:'};console[_0x44d8f4(0x1f2)](_0x4801e2[_0x44d8f4(0x1e1)],..._0x3fe74c);}[_0x505b1e(0x1f9)](..._0x52bb12){var _0x2a273f=_0x505b1e,_0x353dfd={'BIwJE':_0x2a273f(0x1ca)};console['log'](_0x353dfd[_0x2a273f(0x1d0)],..._0x52bb12);}['onGroupStatisticInfoChange'](..._0x163080){var _0x2580e9=_0x505b1e,_0x3b9bff={'attLu':'onGroupStatisticInfoChange:'};console[_0x2580e9(0x1f2)](_0x3b9bff[_0x2580e9(0x1eb)],..._0x163080);}['onJoinGroupNotify'](..._0x152d5b){var _0x583707=_0x505b1e,_0x40495c={'bYGJr':_0x583707(0x1d7)};console[_0x583707(0x1f2)](_0x40495c[_0x583707(0x1ee)],..._0x152d5b);}[_0x505b1e(0x1c5)](..._0x24c03e){var _0x2316d0=_0x505b1e,_0x2b2d08={'pcIgs':_0x2316d0(0x1ff)};console['log'](_0x2b2d08[_0x2316d0(0x1c8)],..._0x24c03e);}[_0x505b1e(0x1e4)](_0x4cfe65,_0xb76319,_0x3ee191){var _0x5e8ae5=_0x505b1e,_0x1e583f={'fZcCl':_0x5e8ae5(0x1d6)};console[_0x5e8ae5(0x1f2)](_0x1e583f['fZcCl'],_0x4cfe65,_0xb76319,_0x3ee191);}[_0x505b1e(0x200)](..._0x3cc9b3){var _0x31b110=_0x505b1e;console[_0x31b110(0x1f2)](_0x31b110(0x202),..._0x3cc9b3);}[_0x505b1e(0x205)](..._0x4457cc){var _0x508a3d=_0x505b1e;console['log'](_0x508a3d(0x1c3),..._0x4457cc);}[_0x505b1e(0x1ef)](..._0x104619){var _0x1d5a7f=_0x505b1e,_0x161f61={'isXDE':_0x1d5a7f(0x1fc)};console['log'](_0x161f61['isXDE'],..._0x104619);}} \ No newline at end of file +function _0x180c(){var _0x5e7505=['onGroupStatisticInfoChange','onMemberInfoChange','onSearchMemberChange:','onGroupSingleScreenNotifies','2151MEHGCX','onGroupNotifiesUpdated','1166970DUiIQy','onGroupAllInfoChange:','onGroupSingleScreenNotifies:','onShutUpMemberListChanged:','dubMF','WZMyL','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinChange','onGroupConfMemberChange:','MOxTR','taeMk','10990AbYdjj','ngfyQ','log','uuMHC','onGetGroupBulletinListResult','285726kszLSn','onGroupListUpdate:','onGroupMemberLevelInfoChange','onGroupNotifiesUnreadCountUpdated','Dnkdl','onGroupConfMemberChange','onGroupBulletinRemindNotify','dPMXL','onGroupBulletinRichMediaDownloadComplete','onGroupNotifiesUpdated:','pmCxf','onJoinGroupNoVerifyFlag:','nhnNA','onGroupsMsgMaskResult:','onGroupAllInfoChange','onGroupArkInviteStateResult','onSearchMemberChange','onGroupBulletinRichMediaDownloadComplete:','onGroupExtListUpdate:','onGroupListUpdate','onJoinGroupNoVerifyFlag','uIKwR','8641798ZBaNey','Njhfp','onGroupFirstBulletinNotify','onGroupArkInviteStateResult:','dgtYi','ojhrU','onMemberListChange','onMemberListChange:','onGroupDetailInfoChange:','LvMcS','14254darKpP','onGroupBulletinRichMediaProgressUpdate:','35XmMJAZ','onGroupNotifiesUnreadCountUpdated:','onGroupExtListUpdate','4SHlNjo','onGroupDetailInfoChange','1884657GFBQde','onShutUpMemberListChanged','onJoinGroupNotify:','82AcxvVK','5584208ladscL','onGroupStatisticInfoChange:'];_0x180c=function(){return _0x5e7505;};return _0x180c();}var _0x2d1283=_0x3b93;function _0x3b93(_0x47cc57,_0x2ef160){var _0x180c34=_0x180c();return _0x3b93=function(_0x3b9368,_0x5751bb){_0x3b9368=_0x3b9368-0x88;var _0x45b61d=_0x180c34[_0x3b9368];return _0x45b61d;},_0x3b93(_0x47cc57,_0x2ef160);}(function(_0x5416bd,_0x51415e){var _0x1a7cad=_0x3b93,_0x212b50=_0x5416bd();while(!![]){try{var _0x5d72e7=parseInt(_0x1a7cad(0xc7))/0x1*(-parseInt(_0x1a7cad(0x8e))/0x2)+-parseInt(_0x1a7cad(0x8b))/0x3*(-parseInt(_0x1a7cad(0x89))/0x4)+parseInt(_0x1a7cad(0x97))/0x5+-parseInt(_0x1a7cad(0xa7))/0x6*(parseInt(_0x1a7cad(0xc9))/0x7)+-parseInt(_0x1a7cad(0x8f))/0x8+parseInt(_0x1a7cad(0x95))/0x9*(parseInt(_0x1a7cad(0xa2))/0xa)+parseInt(_0x1a7cad(0xbd))/0xb;if(_0x5d72e7===_0x51415e)break;else _0x212b50['push'](_0x212b50['shift']());}catch(_0x36372f){_0x212b50['push'](_0x212b50['shift']());}}}(_0x180c,0x5f0e3));export class GroupListener{[_0x2d1283(0xa9)](..._0x3bbcbc){}[_0x2d1283(0xa6)](..._0x5c9024){}['onGroupAllInfoChange'](..._0x8c7dd6){}[_0x2d1283(0x9e)](..._0x196887){}['onGroupBulletinRemindNotify'](..._0x577b81){}['onGroupArkInviteStateResult'](..._0x2a5420){}[_0x2d1283(0xaf)](..._0x201885){}[_0x2d1283(0xac)](..._0x46943c){}[_0x2d1283(0x8a)](..._0x484e11){}[_0x2d1283(0x88)](..._0x42b7d7){}[_0x2d1283(0xbf)](..._0x8a64b4){}[_0x2d1283(0xba)](_0x37f97e,_0x3ef4b6){}['onGroupNotifiesUpdated'](_0x501897,_0xc477f7){}[_0x2d1283(0x9d)](..._0x4e6881){}[_0x2d1283(0xaa)](..._0x992b6e){}[_0x2d1283(0x94)](..._0x18dfd6){}['onGroupsMsgMaskResult'](..._0x5c0dba){}[_0x2d1283(0x91)](..._0xa49bff){}['onJoinGroupNotify'](..._0x181dc6){}['onJoinGroupNoVerifyFlag'](..._0x73468){}[_0x2d1283(0x92)](_0x37cf1d,_0x5e6de3,_0x21a302){}[_0x2d1283(0xc3)](_0x83fbfc){}['onSearchMemberChange'](..._0x488e06){}[_0x2d1283(0x8c)](..._0x2abcb6){}}export class DebugGroupListener{[_0x2d1283(0xa9)](..._0x3e5e28){var _0x563156=_0x2d1283,_0x2fb615={'dubMF':'onGroupMemberLevelInfoChange:'};console[_0x563156(0xa4)](_0x2fb615[_0x563156(0x9b)],..._0x3e5e28);}[_0x2d1283(0xa6)](..._0x4150ce){var _0x2d9ed7=_0x2d1283,_0x30394d={'MOxTR':'onGetGroupBulletinListResult:'};console[_0x2d9ed7(0xa4)](_0x30394d[_0x2d9ed7(0xa0)],..._0x4150ce);}[_0x2d1283(0xb5)](..._0x2c2500){var _0x1c0acf=_0x2d1283,_0x39f659={'Ciwxj':_0x1c0acf(0x98)};console[_0x1c0acf(0xa4)](_0x39f659['Ciwxj'],..._0x2c2500);}[_0x2d1283(0x9e)](..._0x49123a){var _0x695e33=_0x2d1283,_0x498be1={'pmCxf':'onGroupBulletinChange:'};console['log'](_0x498be1[_0x695e33(0xb1)],..._0x49123a);}[_0x2d1283(0xad)](..._0x50e40f){var _0x41c9e6=_0x2d1283,_0x156e46={'Njhfp':'onGroupBulletinRemindNotify:'};console[_0x41c9e6(0xa4)](_0x156e46[_0x41c9e6(0xbe)],..._0x50e40f);}[_0x2d1283(0xb6)](..._0x1d359d){var _0x3f749f=_0x2d1283,_0x386008={'ngfyQ':_0x3f749f(0xc0)};console[_0x3f749f(0xa4)](_0x386008[_0x3f749f(0xa3)],..._0x1d359d);}[_0x2d1283(0xaf)](..._0x3939ef){var _0x539b5f=_0x2d1283,_0x598fc1={'uIKwR':_0x539b5f(0xb8)};console[_0x539b5f(0xa4)](_0x598fc1[_0x539b5f(0xbc)],..._0x3939ef);}[_0x2d1283(0xac)](..._0x459624){var _0x21ee32=_0x2d1283,_0x30afe1={'ojhrU':_0x21ee32(0x9f)};console[_0x21ee32(0xa4)](_0x30afe1[_0x21ee32(0xc2)],..._0x459624);}[_0x2d1283(0x8a)](..._0x1f4662){var _0x3286bd=_0x2d1283,_0x395b98={'taeMk':_0x3286bd(0xc5)};console[_0x3286bd(0xa4)](_0x395b98[_0x3286bd(0xa1)],..._0x1f4662);}['onGroupExtListUpdate'](..._0x3c4a8f){var _0x5b5dba=_0x2d1283;console[_0x5b5dba(0xa4)](_0x5b5dba(0xb9),..._0x3c4a8f);}[_0x2d1283(0xbf)](..._0x4cee35){var _0x5a40be=_0x2d1283,_0x30c3a6={'dgtYi':'onGroupFirstBulletinNotify:'};console['log'](_0x30c3a6[_0x5a40be(0xc1)],..._0x4cee35);}[_0x2d1283(0xba)](..._0xa9ed2a){var _0x4976b9=_0x2d1283;console[_0x4976b9(0xa4)](_0x4976b9(0xa8),..._0xa9ed2a);}[_0x2d1283(0x96)](..._0x4a0944){var _0x63852b=_0x2d1283,_0x53356a={'Dnkdl':_0x63852b(0xb0)};console[_0x63852b(0xa4)](_0x53356a[_0x63852b(0xab)],..._0x4a0944);}[_0x2d1283(0x9d)](..._0x173e93){var _0x3b8db8=_0x2d1283,_0x35c5c3={'WpLbg':_0x3b8db8(0xc8)};console['log'](_0x35c5c3['WpLbg'],..._0x173e93);}[_0x2d1283(0xaa)](..._0x145a64){var _0x53e423=_0x2d1283,_0x53b475={'iCyeQ':_0x53e423(0xca)};console['log'](_0x53b475['iCyeQ'],..._0x145a64);}[_0x2d1283(0x94)](..._0x55e0f6){var _0x41f112=_0x2d1283,_0x2f73ca={'GUMpY':_0x41f112(0x99)};console[_0x41f112(0xa4)](_0x2f73ca['GUMpY'],..._0x55e0f6);}['onGroupsMsgMaskResult'](..._0x4dcfbd){var _0x2e73b0=_0x2d1283,_0x33edec={'TzbXj':_0x2e73b0(0xb4)};console[_0x2e73b0(0xa4)](_0x33edec['TzbXj'],..._0x4dcfbd);}[_0x2d1283(0x91)](..._0x5628ab){var _0x4ef134=_0x2d1283,_0x12be5d={'YRegw':_0x4ef134(0x90)};console[_0x4ef134(0xa4)](_0x12be5d['YRegw'],..._0x5628ab);}['onJoinGroupNotify'](..._0x3749c0){var _0x22d6ef=_0x2d1283,_0x52b0bc={'WZMyL':_0x22d6ef(0x8d)};console[_0x22d6ef(0xa4)](_0x52b0bc[_0x22d6ef(0x9c)],..._0x3749c0);}[_0x2d1283(0xbb)](..._0x315dab){var _0x4b04a8=_0x2d1283,_0x2dba69={'LvMcS':_0x4b04a8(0xb2)};console[_0x4b04a8(0xa4)](_0x2dba69[_0x4b04a8(0xc6)],..._0x315dab);}['onMemberInfoChange'](_0x53865e,_0x53c667,_0xb59f24){var _0x2786c2=_0x2d1283,_0x92f028={'uuMHC':'onMemberInfoChange:'};console[_0x2786c2(0xa4)](_0x92f028[_0x2786c2(0xa5)],_0x53865e,_0x53c667,_0xb59f24);}[_0x2d1283(0xc3)](..._0x3974ed){var _0x198e4a=_0x2d1283,_0x1f63b4={'dPMXL':_0x198e4a(0xc4)};console['log'](_0x1f63b4[_0x198e4a(0xae)],..._0x3974ed);}[_0x2d1283(0xb7)](..._0x5956df){var _0x1eff9c=_0x2d1283,_0x1efcd1={'nhnNA':_0x1eff9c(0x93)};console[_0x1eff9c(0xa4)](_0x1efcd1[_0x1eff9c(0xb3)],..._0x5956df);}[_0x2d1283(0x8c)](..._0x48cd47){var _0x1c85da=_0x2d1283;console['log'](_0x1c85da(0x9a),..._0x48cd47);}} \ 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 95fab35e..d12edd94 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x99fd(_0x2b067a,_0xdf82e9){var _0x4c9532=_0x4c95();return _0x99fd=function(_0x99fd94,_0x4c37bc){_0x99fd94=_0x99fd94-0xe9;var _0x987496=_0x4c9532[_0x99fd94];return _0x987496;},_0x99fd(_0x2b067a,_0xdf82e9);}var _0x241de7=_0x99fd;(function(_0x21dd1a,_0x392954){var _0x5cec83=_0x99fd,_0x15ecb2=_0x21dd1a();while(!![]){try{var _0x20be13=parseInt(_0x5cec83(0xed))/0x1*(-parseInt(_0x5cec83(0xf5))/0x2)+-parseInt(_0x5cec83(0xec))/0x3+parseInt(_0x5cec83(0xf6))/0x4+-parseInt(_0x5cec83(0xfb))/0x5*(-parseInt(_0x5cec83(0xf3))/0x6)+parseInt(_0x5cec83(0xfa))/0x7+parseInt(_0x5cec83(0xf0))/0x8*(-parseInt(_0x5cec83(0xf4))/0x9)+-parseInt(_0x5cec83(0xeb))/0xa;if(_0x20be13===_0x392954)break;else _0x15ecb2['push'](_0x15ecb2['shift']());}catch(_0x184654){_0x15ecb2['push'](_0x15ecb2['shift']());}}}(_0x4c95,0x81eee));export class LoginListener{['onLoginConnected'](..._0x23609c){}[_0x241de7(0xee)](..._0x4bbf5b){}[_0x241de7(0xf7)](..._0x509d13){}[_0x241de7(0xfc)](_0x3c4907){}[_0x241de7(0xf2)](..._0x3ce362){}['onQRCodeSessionUserScaned'](..._0x3dc64a){}[_0x241de7(0xf1)](_0x4c09c1){}[_0x241de7(0xef)](..._0x46f44c){}[_0x241de7(0xe9)](..._0x282e78){}['onLogoutSucceed'](..._0x26651a){}['onLogoutFailed'](..._0x194c2a){}[_0x241de7(0xea)](..._0x2cb0cb){}[_0x241de7(0xf8)](..._0x3c19f2){}['onPasswordLoginFailed'](..._0x3bc7db){}['OnConfirmUnusualDeviceFailed'](..._0x2a1703){}['onQQLoginNumLimited'](..._0xf6a7d){}[_0x241de7(0xf9)](..._0x95212a){}}function _0x4c95(){var _0x9c713=['onQRCodeLoginSucceed','onQRCodeLoginPollingStarted','910110ckbNnH','36zrUvyx','356ZabgjR','4052564yIDRhw','onLoginConnecting','onQRCodeSessionQuickLoginFailed','onLoginState','7328489Lhwkhp','5EggZsy','onQRCodeGetPicture','onLoginFailed','onUserLoggedIn','2322450vMeYnv','2652240VKPQtV','3005yuTopf','onLoginDisConnected','onQRCodeSessionFailed','56664iCFemT'];_0x4c95=function(){return _0x9c713;};return _0x4c95();} \ No newline at end of file +function _0x13f2(_0x5f2724,_0x1a256e){var _0x22e118=_0x22e1();return _0x13f2=function(_0x13f255,_0x7ecf56){_0x13f255=_0x13f255-0x1dd;var _0x52ed27=_0x22e118[_0x13f255];return _0x52ed27;},_0x13f2(_0x5f2724,_0x1a256e);}var _0x23a8e5=_0x13f2;function _0x22e1(){var _0x15079a=['onQRCodeSessionUserScaned','onQRCodeLoginPollingStarted','812535iroOIq','438774xstifM','558862VoCmid','15360UTKMWL','onUserLoggedIn','onQQLoginNumLimited','onQRCodeSessionQuickLoginFailed','onQRCodeSessionFailed','onLoginConnecting','415gJdkws','onPasswordLoginFailed','101308jtQquo','onLogoutSucceed','onLoginDisConnected','OnConfirmUnusualDeviceFailed','onLogoutFailed','382440mrDJuD','onQRCodeLoginSucceed','4434600KqbdQw'];_0x22e1=function(){return _0x15079a;};return _0x22e1();}(function(_0x258bbb,_0x3e8224){var _0x4c3ec4=_0x13f2,_0x53ae3f=_0x258bbb();while(!![]){try{var _0x4a6bf4=-parseInt(_0x4c3ec4(0x1ea))/0x1+-parseInt(_0x4c3ec4(0x1e1))/0x2+-parseInt(_0x4c3ec4(0x1df))/0x3+parseInt(_0x4c3ec4(0x1ef))/0x4+parseInt(_0x4c3ec4(0x1e8))/0x5*(parseInt(_0x4c3ec4(0x1e2))/0x6)+-parseInt(_0x4c3ec4(0x1e0))/0x7+parseInt(_0x4c3ec4(0x1f1))/0x8;if(_0x4a6bf4===_0x3e8224)break;else _0x53ae3f['push'](_0x53ae3f['shift']());}catch(_0x18f34b){_0x53ae3f['push'](_0x53ae3f['shift']());}}}(_0x22e1,0x242b5));export class LoginListener{['onLoginConnected'](..._0x26afbc){}[_0x23a8e5(0x1ec)](..._0x39801c){}[_0x23a8e5(0x1e7)](..._0x7c8ca){}['onQRCodeGetPicture'](_0x3a904f){}[_0x23a8e5(0x1de)](..._0x47f2a3){}[_0x23a8e5(0x1dd)](..._0x4dd717){}[_0x23a8e5(0x1f0)](_0x978736){}[_0x23a8e5(0x1e6)](..._0x43a0a3){}['onLoginFailed'](..._0x2a2dc6){}[_0x23a8e5(0x1eb)](..._0x5f1d45){}[_0x23a8e5(0x1ee)](..._0x4c3d41){}[_0x23a8e5(0x1e3)](..._0x1a2dd2){}[_0x23a8e5(0x1e5)](..._0x2f52ff){}[_0x23a8e5(0x1e9)](..._0x5cba21){}[_0x23a8e5(0x1ed)](..._0x455da6){}[_0x23a8e5(0x1e4)](..._0x24d3fb){}['onLoginState'](..._0x4c36c3){}} \ 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 cd77ab05..1a912941 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x5558(_0x10123b,_0x260e23){var _0x1d920c=_0x1d92();return _0x5558=function(_0x555895,_0x2c4aea){_0x555895=_0x555895-0x69;var _0x2ce202=_0x1d920c[_0x555895];return _0x2ce202;},_0x5558(_0x10123b,_0x260e23);}var _0x57fee6=_0x5558;function _0x1d92(){var _0x4f5d38=['3tNleJM','96218panTVy','onRecvGroupGuildFlag','onlineStatusBigIconDownloadPush','onImportOldDbProgressUpdate','8qluLkq','onChannelFreqLimitInfoUpdate','43108TIZIca','onFirstViewGroupGuildMapping','onMsgEventListUpdate','onHitCsRelatedEmojiResult','onMsgSettingUpdate','onHitRelatedEmojiResult','onAddSendMsg','3793806pltjad','onGrabPasswordRedBag','onRichMediaUploadComplete','onInputStatusPush','onContactUnreadCntUpdate','onHitEmojiKeywordResult','3854988pvLtct','onGroupTransferInfoUpdate','onDraftUpdate','onNtMsgSyncEnd','onRichMediaProgerssUpdate','onUserChannelTabStatusChanged','onBroadcastHelperProgressUpdate','835baleMZ','onMsgDelete','onMsgQRCodeStatusChanged','onMsgWithRichLinkInfoUpdate','onGroupTransferInfoAdd','onRedTouchChanged','onEmojiResourceUpdate','12547892OwAGdW','onlineStatusSmallIconDownloadPush','6127098JdhFKG','onMsgInfoListAdd','onFirstViewDirectMsgUpdate','onUnreadCntAfterFirstView','10087750wInLUJ','onRecvMsg','onLineDev','onGroupGuildUpdate','onBroadcastHelperProgerssUpdate','onEmojiDownloadComplete','onUserSecQualityChanged','onUserTabStatusChanged','onMsgInfoListUpdate','onRichMediaDownloadComplete','onNtFirstViewMsgSyncEnd','onRecvS2CMsg','onUserOnlineStatusChanged','onSysMsgNotification','onMsgBoxChanged','onMsgAbstractUpdate','onGuildNotificationAbstractUpdate','onRecvOnlineFileMsg','onFileMsgCome'];_0x1d92=function(){return _0x4f5d38;};return _0x1d92();}(function(_0x1d2bfc,_0x117907){var _0x26d2ba=_0x5558,_0x2cffb8=_0x1d2bfc();while(!![]){try{var _0x12aa1f=-parseInt(_0x26d2ba(0x9e))/0x1*(-parseInt(_0x26d2ba(0x9f))/0x2)+parseInt(_0x26d2ba(0x71))/0x3+-parseInt(_0x26d2ba(0x6a))/0x4*(parseInt(_0x26d2ba(0x7e))/0x5)+-parseInt(_0x26d2ba(0x87))/0x6+parseInt(_0x26d2ba(0x85))/0x7*(parseInt(_0x26d2ba(0xa3))/0x8)+-parseInt(_0x26d2ba(0x77))/0x9+parseInt(_0x26d2ba(0x8b))/0xa;if(_0x12aa1f===_0x117907)break;else _0x2cffb8['push'](_0x2cffb8['shift']());}catch(_0x24ea68){_0x2cffb8['push'](_0x2cffb8['shift']());}}}(_0x1d92,0xea9da));export class MsgListener{[_0x57fee6(0x70)](_0x41a43e){}['onBroadcastHelperDownloadComplete'](_0x1df7ae){}[_0x57fee6(0x7d)](_0x300c4e){}[_0x57fee6(0x69)](_0x5b01e3,_0x11f6c5,_0x227aad){}[_0x57fee6(0x75)](_0x196bb7){}['onCustomWithdrawConfigUpdate'](_0x610a4){}[_0x57fee6(0x79)](_0x2af30c,_0xd8db7f,_0x46a041){}[_0x57fee6(0x90)](_0x24d5b9){}[_0x57fee6(0x84)](_0x3475f1){}['onFeedEventUpdate'](_0x402439){}[_0x57fee6(0x9d)](_0x3c3856){}[_0x57fee6(0x89)](_0x42a824){}[_0x57fee6(0x6b)](_0x451409){}[_0x57fee6(0x72)](_0x5388e6,_0x3304c9,_0x3ea18d,_0x117329,_0x2bd0c0){}['onGroupFileInfoAdd'](_0x10929b){}['onGroupFileInfoUpdate'](_0x5d4722){}[_0x57fee6(0x8e)](_0x34a078){}[_0x57fee6(0x82)](_0x478087){}[_0x57fee6(0x78)](_0x3dd823){}['onGuildInteractiveUpdate'](_0x2a2fd5){}['onGuildMsgAbFlagChanged'](_0x27e04f){}[_0x57fee6(0x9b)](_0x437cb2){}[_0x57fee6(0x6d)](_0x14e5a1){}[_0x57fee6(0x76)](_0x3b0e25){}[_0x57fee6(0x6f)](_0x26797a){}[_0x57fee6(0xa2)](_0x49d4e0){}[_0x57fee6(0x74)](_0x586dcf){}['onKickedOffLine'](_0x584209){}[_0x57fee6(0x8d)](_0x23f62a){}['onLogLevelChanged'](_0x4eddde){}[_0x57fee6(0x9a)](_0x481a63){}[_0x57fee6(0x99)](_0xafde69){}[_0x57fee6(0x7f)](_0x34af30,_0x4ce129){}[_0x57fee6(0x6c)](_0x23ac27){}[_0x57fee6(0x88)](_0x530987){}[_0x57fee6(0x93)](_0xdc58c5){}[_0x57fee6(0x80)](_0x4a009e){}['onMsgRecall'](_0x3fd3b6,_0x448df8,_0x453456){}['onMsgSecurityNotify'](_0x106e69){}[_0x57fee6(0x6e)](_0x5920ed){}[_0x57fee6(0x95)](){}[_0x57fee6(0x7a)](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x5c5bd7){}[_0x57fee6(0xa0)](_0xb6b4f6){}[_0x57fee6(0x8c)](_0x4631df){}['onRecvMsgSvrRspTransInfo'](_0x51f266,_0x219e7b,_0x1bbb5a,_0x49d420,_0x383bdd,_0x657dbd){}[_0x57fee6(0x9c)](_0x24dbd2){}[_0x57fee6(0x96)](_0x251b37){}['onRecvSysMsg'](_0xa81e3e){}['onRecvUDCFlag'](_0x5cd9b8){}[_0x57fee6(0x94)](_0x5247e0){}[_0x57fee6(0x7b)](_0x337cf5){}[_0x57fee6(0x73)](_0x1f8e2f){}['onSearchGroupFileInfoUpdate'](_0x5c9e01){}['onSendMsgError'](_0x2250d7,_0x2e42d7,_0x1abc62,_0x2e47f9){}[_0x57fee6(0x98)](_0x46156a,_0x24779a,_0x19681f,_0x30de94){}['onTempChatInfoUpdate'](_0x4bc264){}[_0x57fee6(0x8a)](_0x32a2ee){}['onUnreadCntUpdate'](_0x3ab2fb){}[_0x57fee6(0x7c)](_0x41bf23){}[_0x57fee6(0x97)](_0x4eb726){}[_0x57fee6(0x92)](_0x5cebee){}[_0x57fee6(0xa1)](_0x5bdef2,_0x146528,_0x390dd5){}[_0x57fee6(0x86)](_0x5d28c0,_0x3c1d62,_0x4071dd){}[_0x57fee6(0x91)](..._0x5765cb){}[_0x57fee6(0x81)](..._0x23194f){}[_0x57fee6(0x83)](..._0x604d02){}[_0x57fee6(0x8f)](..._0x3838ac){}} \ No newline at end of file +function _0x2159(){var _0x4aa3cd=['22337yRKoEF','onGrabPasswordRedBag','onUserOnlineStatusChanged','onlineStatusSmallIconDownloadPush','2816184xdaOLG','onGroupGuildUpdate','333256nZVlje','onHitEmojiKeywordResult','onLineDev','9ptrAUI','onRedTouchChanged','onMsgInfoListUpdate','onUserSecQualityChanged','onFeedEventUpdate','onMsgEventListUpdate','onRecvUDCFlag','onMsgSettingUpdate','onSysMsgNotification','onLogLevelChanged','onTempChatInfoUpdate','onUnreadCntUpdate','onGuildNotificationAbstractUpdate','onRecvGroupGuildFlag','onGuildMsgAbFlagChanged','onRecvOnlineFileMsg','onFirstViewGroupGuildMapping','onRichMediaProgerssUpdate','onlineStatusBigIconDownloadPush','2065335NRUehz','onGroupTransferInfoAdd','onAddSendMsg','onUnreadCntAfterFirstView','onEmojiResourceUpdate','onRecvMsg','onEmojiDownloadComplete','onRichMediaUploadComplete','onSearchGroupFileInfoUpdate','onMsgBoxChanged','onMsgSecurityNotify','onMsgInfoListAdd','onChannelFreqLimitInfoUpdate','onRecvS2CMsg','2bmNgjI','onSendMsgError','onUserTabStatusChanged','90fvmoWz','onNtMsgSyncStart','11344910nHgCqu','onHitCsRelatedEmojiResult','4547688gUFXTL','onRecvSysMsg','onContactUnreadCntUpdate','onHitRelatedEmojiResult','onFileMsgCome','onKickedOffLine','onGroupFileInfoUpdate','onMsgRecall','onFirstViewDirectMsgUpdate','onGroupFileInfoAdd','onUserChannelTabStatusChanged','763306RiBrXL'];_0x2159=function(){return _0x4aa3cd;};return _0x2159();}var _0x3eddff=_0x574f;function _0x574f(_0xf57fdb,_0x926d84){var _0x215931=_0x2159();return _0x574f=function(_0x574fd7,_0x3636f1){_0x574fd7=_0x574fd7-0x153;var _0x26937b=_0x215931[_0x574fd7];return _0x26937b;},_0x574f(_0xf57fdb,_0x926d84);}(function(_0x1f3ef8,_0x1aba5f){var _0x52834f=_0x574f,_0x50f284=_0x1f3ef8();while(!![]){try{var _0x3100a8=-parseInt(_0x52834f(0x156))/0x1+parseInt(_0x52834f(0x181))/0x2*(parseInt(_0x52834f(0x15b))/0x3)+parseInt(_0x52834f(0x188))/0x4+parseInt(_0x52834f(0x173))/0x5+parseInt(_0x52834f(0x184))/0x6*(parseInt(_0x52834f(0x157))/0x7)+-parseInt(_0x52834f(0x15d))/0x8*(parseInt(_0x52834f(0x160))/0x9)+-parseInt(_0x52834f(0x186))/0xa;if(_0x3100a8===_0x1aba5f)break;else _0x50f284['push'](_0x50f284['shift']());}catch(_0x100408){_0x50f284['push'](_0x50f284['shift']());}}}(_0x2159,0x91c88));export class MsgListener{[_0x3eddff(0x175)](_0x40b36b){}['onBroadcastHelperDownloadComplete'](_0x147d85){}['onBroadcastHelperProgressUpdate'](_0x4f6532){}[_0x3eddff(0x17f)](_0x2b1a2f,_0x3fb82a,_0x2dfa15){}[_0x3eddff(0x18a)](_0x2768b4){}['onCustomWithdrawConfigUpdate'](_0x424e33){}['onDraftUpdate'](_0x54216b,_0x3a4e8c,_0x20d1df){}[_0x3eddff(0x179)](_0xd07e5b){}[_0x3eddff(0x177)](_0xd201e0){}[_0x3eddff(0x164)](_0x4396be){}[_0x3eddff(0x18c)](_0x4f5a5e){}[_0x3eddff(0x153)](_0x57c0c8){}[_0x3eddff(0x170)](_0x2d3542){}[_0x3eddff(0x158)](_0x4582b9,_0x3b61d5,_0x24090e,_0x2e7dd7,_0x497142){}[_0x3eddff(0x154)](_0x393730){}[_0x3eddff(0x18e)](_0x4daa16){}[_0x3eddff(0x15c)](_0x289392){}[_0x3eddff(0x174)](_0x555e3b){}['onGroupTransferInfoUpdate'](_0x5a2be2){}['onGuildInteractiveUpdate'](_0x59ab7d){}[_0x3eddff(0x16e)](_0x2a6dfc){}[_0x3eddff(0x16c)](_0x21710b){}[_0x3eddff(0x187)](_0x2e2221){}[_0x3eddff(0x15e)](_0x136192){}[_0x3eddff(0x18b)](_0x2c7519){}['onImportOldDbProgressUpdate'](_0x4ccfac){}['onInputStatusPush'](_0x212e8f){}[_0x3eddff(0x18d)](_0x2a6e1e){}[_0x3eddff(0x15f)](_0x40081a){}[_0x3eddff(0x169)](_0x678eba){}['onMsgAbstractUpdate'](_0xe838b1){}[_0x3eddff(0x17c)](_0x452c03){}['onMsgDelete'](_0x4cb51e,_0x3f852c){}[_0x3eddff(0x165)](_0x5364e2){}[_0x3eddff(0x17e)](_0x29f030){}[_0x3eddff(0x162)](_0x5026e3){}['onMsgQRCodeStatusChanged'](_0x2578ab){}[_0x3eddff(0x18f)](_0x2f9fcb,_0xf5287e,_0x3fa154){}[_0x3eddff(0x17d)](_0x5204c7){}[_0x3eddff(0x167)](_0x464161){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}[_0x3eddff(0x185)](){}['onReadFeedEventUpdate'](_0x4fb4de){}[_0x3eddff(0x16d)](_0x3cd5c8){}[_0x3eddff(0x178)](_0x156358){}['onRecvMsgSvrRspTransInfo'](_0x1f4eb6,_0x17cbd9,_0x4e0288,_0xec5984,_0x16b02b,_0x52a168){}[_0x3eddff(0x16f)](_0x51131c){}[_0x3eddff(0x180)](_0x2c3ad2){}[_0x3eddff(0x189)](_0x5d7812){}[_0x3eddff(0x166)](_0x4ef1d1){}['onRichMediaDownloadComplete'](_0x43a8f3){}[_0x3eddff(0x171)](_0x16f898){}[_0x3eddff(0x17a)](_0x56bb72){}[_0x3eddff(0x17b)](_0x3c0c8d){}[_0x3eddff(0x182)](_0x4294e5,_0x5cf5b0,_0x24f0e7,_0x5033e8){}[_0x3eddff(0x168)](_0x84a3a4,_0x3bf420,_0x298761,_0x53c321){}[_0x3eddff(0x16a)](_0x262e3c){}[_0x3eddff(0x176)](_0x571d9e){}[_0x3eddff(0x16b)](_0x1ab45e){}[_0x3eddff(0x155)](_0x285bbd){}[_0x3eddff(0x159)](_0x4c114c){}[_0x3eddff(0x183)](_0x178772){}[_0x3eddff(0x172)](_0x1f0cfc,_0x2d9cac,_0x187fe9){}[_0x3eddff(0x15a)](_0x1e1258,_0x484aa9,_0x504c89){}[_0x3eddff(0x163)](..._0x46a570){}['onMsgWithRichLinkInfoUpdate'](..._0x2b35f5){}[_0x3eddff(0x161)](..._0x3d8445){}['onBroadcastHelperProgerssUpdate'](..._0xb77feb){}} \ 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 b1e2a4ac..d492d798 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0xc6c63d=_0x51d6;function _0x417c(){var _0x20ae24=['1789128YaCnXW','5063072RBQbWR','onStatusUpdate','onSelfStatusChanged','6566481GyDQEw','2238760bpdNzO','1229637EuObQt','473243ANTJBP','6KiPLMG','2BjaBaZ','onProfileSimpleChanged','3235050fxjtIQ','onProfileDetailInfoChanged'];_0x417c=function(){return _0x20ae24;};return _0x417c();}(function(_0x96caf2,_0x1e4f39){var _0x314a5f=_0x51d6,_0x390158=_0x96caf2();while(!![]){try{var _0x124104=parseInt(_0x314a5f(0x165))/0x1*(parseInt(_0x314a5f(0x167))/0x2)+-parseInt(_0x314a5f(0x164))/0x3+parseInt(_0x314a5f(0x16b))/0x4+-parseInt(_0x314a5f(0x163))/0x5*(-parseInt(_0x314a5f(0x166))/0x6)+-parseInt(_0x314a5f(0x169))/0x7+parseInt(_0x314a5f(0x16c))/0x8+-parseInt(_0x314a5f(0x16f))/0x9;if(_0x124104===_0x1e4f39)break;else _0x390158['push'](_0x390158['shift']());}catch(_0x518b19){_0x390158['push'](_0x390158['shift']());}}}(_0x417c,0x618a3));function _0x51d6(_0x2eb995,_0x4341d7){var _0x417cc0=_0x417c();return _0x51d6=function(_0x51d6ab,_0x4dd2ef){_0x51d6ab=_0x51d6ab-0x163;var _0x545326=_0x417cc0[_0x51d6ab];return _0x545326;},_0x51d6(_0x2eb995,_0x4341d7);}export class ProfileListener{[_0xc6c63d(0x168)](..._0x510f91){}[_0xc6c63d(0x16a)](_0x11a068){}[_0xc6c63d(0x16d)](..._0x41ba3f){}[_0xc6c63d(0x16e)](..._0x22dff2){}['onStrangerRemarkChanged'](..._0x254d0e){}} \ No newline at end of file +var _0x35ea8d=_0x3fc9;(function(_0x1dab25,_0x358c7e){var _0x3148c4=_0x3fc9,_0x2727d7=_0x1dab25();while(!![]){try{var _0x406091=parseInt(_0x3148c4(0x148))/0x1+parseInt(_0x3148c4(0x149))/0x2*(parseInt(_0x3148c4(0x141))/0x3)+-parseInt(_0x3148c4(0x14a))/0x4*(parseInt(_0x3148c4(0x147))/0x5)+-parseInt(_0x3148c4(0x14d))/0x6*(-parseInt(_0x3148c4(0x146))/0x7)+-parseInt(_0x3148c4(0x144))/0x8*(parseInt(_0x3148c4(0x145))/0x9)+-parseInt(_0x3148c4(0x14b))/0xa+-parseInt(_0x3148c4(0x142))/0xb;if(_0x406091===_0x358c7e)break;else _0x2727d7['push'](_0x2727d7['shift']());}catch(_0x3cd5a2){_0x2727d7['push'](_0x2727d7['shift']());}}}(_0x335b,0x58a75));function _0x335b(){var _0x189a11=['6093285Zmxpry','onStrangerRemarkChanged','48uDOfMl','493092KvQzrE','125713demgdB','55255uyVzMf','608417nTJvEg','100SRKQDU','116dKwYSD','664110lXTOOE','onProfileSimpleChanged','174sjrJCD','30207nrAHqY'];_0x335b=function(){return _0x189a11;};return _0x335b();}function _0x3fc9(_0x334af2,_0x3364fb){var _0x335b52=_0x335b();return _0x3fc9=function(_0x3fc934,_0x40658b){_0x3fc934=_0x3fc934-0x141;var _0x540924=_0x335b52[_0x3fc934];return _0x540924;},_0x3fc9(_0x334af2,_0x3364fb);}export class ProfileListener{[_0x35ea8d(0x14c)](..._0x93fbad){}['onProfileDetailInfoChanged'](_0x14cec6){}['onStatusUpdate'](..._0x21e338){}['onSelfStatusChanged'](..._0x2f82e3){}[_0x35ea8d(0x143)](..._0x592c3a){}} \ 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 c88a20e7..77f02056 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x530b(_0x2c5b1f,_0x40a487){var _0x1f4b5e=_0x1f4b();return _0x530b=function(_0x530b95,_0x318606){_0x530b95=_0x530b95-0x181;var _0x58fc13=_0x1f4b5e[_0x530b95];return _0x58fc13;},_0x530b(_0x2c5b1f,_0x40a487);}var _0x4429af=_0x530b;function _0x1f4b(){var _0x20e92d=['onRobotFriendListChanged','2038269EViAqN','8632116RfqqkN','147VjTpAL','61640SQxhlm','12370gWdxZs','330mlegpG','8rpvJto','4486890opZPsm','244026rwHShS','2ecpfmn','778247UybIiV','onRobotProfileChanged'];_0x1f4b=function(){return _0x20e92d;};return _0x1f4b();}(function(_0x56ba47,_0x2c4a5e){var _0x38bead=_0x530b,_0x454fe7=_0x56ba47();while(!![]){try{var _0x35e100=-parseInt(_0x38bead(0x187))/0x1*(parseInt(_0x38bead(0x186))/0x2)+parseInt(_0x38bead(0x18a))/0x3*(parseInt(_0x38bead(0x183))/0x4)+-parseInt(_0x38bead(0x184))/0x5+parseInt(_0x38bead(0x18b))/0x6+-parseInt(_0x38bead(0x18c))/0x7*(parseInt(_0x38bead(0x18d))/0x8)+parseInt(_0x38bead(0x185))/0x9+parseInt(_0x38bead(0x181))/0xa*(-parseInt(_0x38bead(0x182))/0xb);if(_0x35e100===_0x2c4a5e)break;else _0x454fe7['push'](_0x454fe7['shift']());}catch(_0x3b04de){_0x454fe7['push'](_0x454fe7['shift']());}}}(_0x1f4b,0xe7f5a));export class KernelRobotListener{[_0x4429af(0x189)](..._0x221fc7){}['onRobotListChanged'](..._0x44a5eb){}[_0x4429af(0x188)](..._0xa3bfbf){}} \ No newline at end of file +function _0x1f28(_0x36e0ac,_0x3ecf36){var _0x3cb76c=_0x3cb7();return _0x1f28=function(_0x1f289d,_0x74013f){_0x1f289d=_0x1f289d-0x18c;var _0x4c4172=_0x3cb76c[_0x1f289d];return _0x4c4172;},_0x1f28(_0x36e0ac,_0x3ecf36);}function _0x3cb7(){var _0x2b75a9=['1649562NpkTVH','552088ENmRxE','onRobotProfileChanged','71406NlISPP','7237510lvbuFE','2933556JXIGOA','2073390pYiKff','onRobotFriendListChanged','1625jjEaXP','117mFcZKA','8504qwYKPD'];_0x3cb7=function(){return _0x2b75a9;};return _0x3cb7();}var _0x58cbd2=_0x1f28;(function(_0xb7442a,_0x4f515e){var _0x4ab8cd=_0x1f28,_0x3fd6b0=_0xb7442a();while(!![]){try{var _0x45e250=parseInt(_0x4ab8cd(0x194))/0x1+-parseInt(_0x4ab8cd(0x18c))/0x2+parseInt(_0x4ab8cd(0x196))/0x3+-parseInt(_0x4ab8cd(0x190))/0x4*(-parseInt(_0x4ab8cd(0x18e))/0x5)+-parseInt(_0x4ab8cd(0x191))/0x6+parseInt(_0x4ab8cd(0x195))/0x7+parseInt(_0x4ab8cd(0x192))/0x8*(-parseInt(_0x4ab8cd(0x18f))/0x9);if(_0x45e250===_0x4f515e)break;else _0x3fd6b0['push'](_0x3fd6b0['shift']());}catch(_0x340018){_0x3fd6b0['push'](_0x3fd6b0['shift']());}}}(_0x3cb7,0x8a07d));export class KernelRobotListener{[_0x58cbd2(0x18d)](..._0x59174f){}['onRobotListChanged'](..._0x4d00a4){}[_0x58cbd2(0x193)](..._0x43a248){}} \ 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 37ff1740..2986224e 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x5d7305=_0x2ab5;function _0x3c70(){var _0x277082=['onOpentelemetryInit','4298870GAJwYp','9KzRJff','741ejbvKP','onGetSelfTinyId','17ZHFdhL','onUserOnlineResult','1710156OULymn','42654uBmywB','2840160LMeutg','onGProSessionCreate','onNTSessionCreate','680680AnScUJ','3028voRIvx','2174424RIPKNV'];_0x3c70=function(){return _0x277082;};return _0x3c70();}(function(_0x2a322d,_0x443397){var _0x136bf0=_0x2ab5,_0x5fddf1=_0x2a322d();while(!![]){try{var _0x2f0c2f=-parseInt(_0x136bf0(0xe4))/0x1*(parseInt(_0x136bf0(0xe7))/0x2)+-parseInt(_0x136bf0(0xe2))/0x3*(-parseInt(_0x136bf0(0xec))/0x4)+-parseInt(_0x136bf0(0xe8))/0x5+parseInt(_0x136bf0(0xe6))/0x6+parseInt(_0x136bf0(0xeb))/0x7+parseInt(_0x136bf0(0xed))/0x8+parseInt(_0x136bf0(0xe1))/0x9*(parseInt(_0x136bf0(0xe0))/0xa);if(_0x2f0c2f===_0x443397)break;else _0x5fddf1['push'](_0x5fddf1['shift']());}catch(_0x32814a){_0x5fddf1['push'](_0x5fddf1['shift']());}}}(_0x3c70,0x53178));function _0x2ab5(_0x4116cf,_0x1e824e){var _0x3c706c=_0x3c70();return _0x2ab5=function(_0x2ab5ef,_0xead11a){_0x2ab5ef=_0x2ab5ef-0xdf;var _0x300ad7=_0x3c706c[_0x2ab5ef];return _0x300ad7;},_0x2ab5(_0x4116cf,_0x1e824e);}export class SessionListener{[_0x5d7305(0xea)](_0x53ebb7){}[_0x5d7305(0xe9)](_0x4b830c){}['onSessionInitComplete'](_0x3f0a1b){}[_0x5d7305(0xdf)](_0x299039){}[_0x5d7305(0xe5)](_0x1f1b50){}[_0x5d7305(0xe3)](_0x3d9363){}} \ No newline at end of file +var _0x2230e5=_0x9d14;function _0x9d14(_0x3e503c,_0x1111ec){var _0x1aae02=_0x1aae();return _0x9d14=function(_0x9d146f,_0x93eeff){_0x9d146f=_0x9d146f-0x110;var _0xcb53ab=_0x1aae02[_0x9d146f];return _0xcb53ab;},_0x9d14(_0x3e503c,_0x1111ec);}(function(_0x1f06ca,_0x170d04){var _0x301a90=_0x9d14,_0x4dfa50=_0x1f06ca();while(!![]){try{var _0x2ca900=-parseInt(_0x301a90(0x11a))/0x1*(-parseInt(_0x301a90(0x112))/0x2)+parseInt(_0x301a90(0x113))/0x3*(parseInt(_0x301a90(0x11e))/0x4)+parseInt(_0x301a90(0x110))/0x5+parseInt(_0x301a90(0x11d))/0x6*(parseInt(_0x301a90(0x118))/0x7)+parseInt(_0x301a90(0x119))/0x8*(-parseInt(_0x301a90(0x11b))/0x9)+parseInt(_0x301a90(0x114))/0xa*(-parseInt(_0x301a90(0x120))/0xb)+parseInt(_0x301a90(0x111))/0xc*(-parseInt(_0x301a90(0x115))/0xd);if(_0x2ca900===_0x170d04)break;else _0x4dfa50['push'](_0x4dfa50['shift']());}catch(_0x2a8d78){_0x4dfa50['push'](_0x4dfa50['shift']());}}}(_0x1aae,0xc4b07));function _0x1aae(){var _0x1b5991=['onGProSessionCreate','1464VvGeIz','48fQvEJo','onSessionInitComplete','86966IgdQBx','6960865trpTvq','36NhShux','2odJqkZ','245331Hqplyk','730XolNHN','3965611xILfUf','onNTSessionCreate','onUserOnlineResult','7483jhcpYI','6001440gMPGGO','1163945QwnlMW','18WWBIjf'];_0x1aae=function(){return _0x1b5991;};return _0x1aae();}export class SessionListener{[_0x2230e5(0x116)](_0x583e7a){}[_0x2230e5(0x11c)](_0x32c724){}[_0x2230e5(0x11f)](_0x1531bb){}['onOpentelemetryInit'](_0x40924c){}[_0x2230e5(0x117)](_0x235f9e){}['onGetSelfTinyId'](_0x48fd04){}} \ 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 d8d4f06b..6f444477 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x34399a=_0x5efb;function _0x5efb(_0x39e84e,_0x5d8281){var _0x138fb2=_0x138f();return _0x5efb=function(_0x5efb0c,_0x38f82f){_0x5efb0c=_0x5efb0c-0x1b0;var _0x1167a5=_0x138fb2[_0x5efb0c];return _0x1167a5;},_0x5efb(_0x39e84e,_0x5d8281);}(function(_0x4ca8c5,_0x2a7296){var _0x5e4da3=_0x5efb,_0x5f4815=_0x4ca8c5();while(!![]){try{var _0x3c4460=-parseInt(_0x5e4da3(0x1bc))/0x1*(-parseInt(_0x5e4da3(0x1b7))/0x2)+parseInt(_0x5e4da3(0x1b2))/0x3*(-parseInt(_0x5e4da3(0x1b8))/0x4)+parseInt(_0x5e4da3(0x1b3))/0x5*(-parseInt(_0x5e4da3(0x1b9))/0x6)+parseInt(_0x5e4da3(0x1bb))/0x7*(parseInt(_0x5e4da3(0x1b6))/0x8)+parseInt(_0x5e4da3(0x1be))/0x9+-parseInt(_0x5e4da3(0x1bd))/0xa*(parseInt(_0x5e4da3(0x1b5))/0xb)+parseInt(_0x5e4da3(0x1ba))/0xc;if(_0x3c4460===_0x2a7296)break;else _0x5f4815['push'](_0x5f4815['shift']());}catch(_0x27a701){_0x5f4815['push'](_0x5f4815['shift']());}}}(_0x138f,0xd6829));function _0x138f(){var _0xeb5244=['2421489KoKqTy','5293SlPqst','390QMujly','15591996dnJMGf','onFinishScan','onCleanCacheStorageChanged','onScanCacheProgressChanged','62739mwoaYD','15cfjWiL','onChatCleanDone','128821OhPhku','24QZTyNM','196qfVDaZ','256GBJUme','2871132ISvils','9845052LZERRl'];_0x138f=function(){return _0xeb5244;};return _0x138f();}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x5723ee){}[_0x34399a(0x1b1)](_0x1bcfe1){}[_0x34399a(0x1b0)](_0x4513af){}[_0x34399a(0x1bf)](_0x4d10dc){}[_0x34399a(0x1b4)](_0x261c88){}} \ No newline at end of file +var _0x29ecf6=_0x3cd4;(function(_0x428b7c,_0x37bd38){var _0x197a0b=_0x3cd4,_0x50b60d=_0x428b7c();while(!![]){try{var _0x1d46bf=parseInt(_0x197a0b(0x17e))/0x1+-parseInt(_0x197a0b(0x17c))/0x2+-parseInt(_0x197a0b(0x184))/0x3+parseInt(_0x197a0b(0x183))/0x4*(parseInt(_0x197a0b(0x17a))/0x5)+parseInt(_0x197a0b(0x179))/0x6*(parseInt(_0x197a0b(0x17d))/0x7)+-parseInt(_0x197a0b(0x17b))/0x8+parseInt(_0x197a0b(0x178))/0x9*(parseInt(_0x197a0b(0x185))/0xa);if(_0x1d46bf===_0x37bd38)break;else _0x50b60d['push'](_0x50b60d['shift']());}catch(_0x2552b5){_0x50b60d['push'](_0x50b60d['shift']());}}}(_0x1e84,0xa2081));function _0x3cd4(_0x2dbae8,_0x4b4bd7){var _0x1e8496=_0x1e84();return _0x3cd4=function(_0x3cd46d,_0x266ff5){_0x3cd46d=_0x3cd46d-0x178;var _0x1bb244=_0x1e8496[_0x3cd46d];return _0x1bb244;},_0x3cd4(_0x2dbae8,_0x4b4bd7);}function _0x1e84(){var _0x567c71=['816tmUbFI','75iTkLlb','5494616XMFTky','861590KYSLKx','29687CcCFyJ','64258GzFubX','onCleanCacheStorageChanged','onChatCleanDone','onCleanCacheProgressChanged','onScanCacheProgressChanged','260828snhiLQ','2634831DwZKpl','10404410hiSdoL','9jVBnmz'];_0x1e84=function(){return _0x567c71;};return _0x1e84();}export class StorageCleanListener{[_0x29ecf6(0x181)](_0x5a0de){}[_0x29ecf6(0x182)](_0x52e148){}[_0x29ecf6(0x17f)](_0x50f412){}['onFinishScan'](_0x8605a4){}[_0x29ecf6(0x180)](_0x46076c){}} \ 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 68e89189..327dff6b 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x583a3b,_0x138991){var _0x2fc7b8=_0x5599,_0x398e72=_0x583a3b();while(!![]){try{var _0x593a80=-parseInt(_0x2fc7b8(0x188))/0x1*(-parseInt(_0x2fc7b8(0x185))/0x2)+-parseInt(_0x2fc7b8(0x186))/0x3+-parseInt(_0x2fc7b8(0x183))/0x4+parseInt(_0x2fc7b8(0x187))/0x5*(-parseInt(_0x2fc7b8(0x184))/0x6)+parseInt(_0x2fc7b8(0x180))/0x7+parseInt(_0x2fc7b8(0x181))/0x8+parseInt(_0x2fc7b8(0x182))/0x9;if(_0x593a80===_0x138991)break;else _0x398e72['push'](_0x398e72['shift']());}catch(_0x227778){_0x398e72['push'](_0x398e72['shift']());}}}(_0x2070,0x7cfcd));export*from'./NodeIKernelSessionListener';function _0x5599(_0x526b62,_0x487435){var _0x207029=_0x2070();return _0x5599=function(_0x5599b0,_0x54520e){_0x5599b0=_0x5599b0-0x180;var _0x4187be=_0x207029[_0x5599b0];return _0x4187be;},_0x5599(_0x526b62,_0x487435);}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x2070(){var _0x569f28=['3542955VeMTdj','47461dpfoIa','5277979AIkvuy','3009944TOVyNM','2032011TMycnA','3560584MKUMWb','6ChFXeP','40lohTKc','583659UZPGfU'];_0x2070=function(){return _0x569f28;};return _0x2070();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x54e230,_0x5b9336){var _0x4d29af=_0x3c25,_0x3b62ff=_0x54e230();while(!![]){try{var _0x53c4d7=-parseInt(_0x4d29af(0x98))/0x1+-parseInt(_0x4d29af(0x9a))/0x2+parseInt(_0x4d29af(0xa0))/0x3+parseInt(_0x4d29af(0xa1))/0x4+-parseInt(_0x4d29af(0x9b))/0x5*(parseInt(_0x4d29af(0x9c))/0x6)+parseInt(_0x4d29af(0x99))/0x7*(-parseInt(_0x4d29af(0x9e))/0x8)+-parseInt(_0x4d29af(0x9d))/0x9*(-parseInt(_0x4d29af(0x9f))/0xa);if(_0x53c4d7===_0x5b9336)break;else _0x3b62ff['push'](_0x3b62ff['shift']());}catch(_0x45f131){_0x3b62ff['push'](_0x3b62ff['shift']());}}}(_0x2d72,0xc696e));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x3c25(_0x197738,_0x4a4dbd){var _0x2d72a2=_0x2d72();return _0x3c25=function(_0x3c2594,_0x57cf20){_0x3c2594=_0x3c2594-0x98;var _0x110150=_0x2d72a2[_0x3c2594];return _0x110150;},_0x3c25(_0x197738,_0x4a4dbd);}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x2d72(){var _0xf5ec0d=['122763GwzWuW','10852429OPgxeo','2423720cSLUTH','675jyBaiw','1662TxpftG','9UdUzkd','8ieFYJt','8407730jFjfKj','4198038HkCwej','5982672aTMYch'];_0x2d72=function(){return _0xf5ec0d;};return _0x2d72();}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/common.js b/src/core.lib/src/services/common.js index 7b88cc2b..29325d1f 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0xb6ec2c,_0x183a38){var _0x56ffeb=_0x3d1e,_0x458045=_0xb6ec2c();while(!![]){try{var _0x3c2eb8=-parseInt(_0x56ffeb(0x1bd))/0x1*(-parseInt(_0x56ffeb(0x1ba))/0x2)+parseInt(_0x56ffeb(0x1b5))/0x3+parseInt(_0x56ffeb(0x1bc))/0x4*(parseInt(_0x56ffeb(0x1c0))/0x5)+-parseInt(_0x56ffeb(0x1b7))/0x6*(parseInt(_0x56ffeb(0x1bf))/0x7)+parseInt(_0x56ffeb(0x1b9))/0x8+parseInt(_0x56ffeb(0x1be))/0x9*(parseInt(_0x56ffeb(0x1b8))/0xa)+parseInt(_0x56ffeb(0x1b6))/0xb*(-parseInt(_0x56ffeb(0x1bb))/0xc);if(_0x3c2eb8===_0x183a38)break;else _0x458045['push'](_0x458045['shift']());}catch(_0x53f5c7){_0x458045['push'](_0x458045['shift']());}}}(_0x1bb1,0xb86b3));export var GeneralCallResultStatus;function _0x3d1e(_0x5d14a6,_0x3af4c1){var _0x1bb1c4=_0x1bb1();return _0x3d1e=function(_0x3d1e15,_0x41d9ac){_0x3d1e15=_0x3d1e15-0x1b5;var _0x374f5b=_0x1bb1c4[_0x3d1e15];return _0x374f5b;},_0x3d1e(_0x5d14a6,_0x3af4c1);}function _0x1bb1(){var _0x1c9d02=['4hDWVBX','22347RMSnSQ','6849RfiqBe','15743oqlisX','3530165QWnTMw','2942829jwHqZE','541090GXOUuu','570lNzXXe','6210tfqIBe','2246512fSsYfB','18NkeqQs','408VVeowP'];_0x1bb1=function(){return _0x1c9d02;};return _0x1bb1();}(function(_0x22af4a){_0x22af4a[_0x22af4a['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x5025(_0x110723,_0x1aab14){var _0x118a88=_0x118a();return _0x5025=function(_0x5025a5,_0x45730e){_0x5025a5=_0x5025a5-0x1d7;var _0x37200e=_0x118a88[_0x5025a5];return _0x37200e;},_0x5025(_0x110723,_0x1aab14);}(function(_0x13d00a,_0x484f3c){var _0x60545f=_0x5025,_0x5f52c4=_0x13d00a();while(!![]){try{var _0x273fb3=parseInt(_0x60545f(0x1db))/0x1+-parseInt(_0x60545f(0x1d9))/0x2+-parseInt(_0x60545f(0x1d7))/0x3+-parseInt(_0x60545f(0x1da))/0x4+-parseInt(_0x60545f(0x1dd))/0x5*(parseInt(_0x60545f(0x1d8))/0x6)+parseInt(_0x60545f(0x1dc))/0x7+-parseInt(_0x60545f(0x1df))/0x8*(-parseInt(_0x60545f(0x1de))/0x9);if(_0x273fb3===_0x484f3c)break;else _0x5f52c4['push'](_0x5f52c4['shift']());}catch(_0xdf3394){_0x5f52c4['push'](_0x5f52c4['shift']());}}}(_0x118a,0x6b594));export var GeneralCallResultStatus;function _0x118a(){var _0x2f94a4=['509658xjKRBN','426867SFcTvI','139390hbFFrV','27xFUVjw','5547576BGCOlU','650871pLvAiU','186qsMAmd','1410706GCEFUI','1699008cNAQDi'];_0x118a=function(){return _0x2f94a4;};return _0x118a();}(function(_0x366b36){_0x366b36[_0x366b36['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 def817bf..10719335 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0xfb9c1d,_0x489343){var _0x526049=_0x1600,_0x230fe3=_0xfb9c1d();while(!![]){try{var _0xacaa55=parseInt(_0x526049(0x181))/0x1+-parseInt(_0x526049(0x185))/0x2*(-parseInt(_0x526049(0x186))/0x3)+parseInt(_0x526049(0x182))/0x4+-parseInt(_0x526049(0x180))/0x5+-parseInt(_0x526049(0x183))/0x6*(-parseInt(_0x526049(0x187))/0x7)+-parseInt(_0x526049(0x184))/0x8*(-parseInt(_0x526049(0x188))/0x9)+-parseInt(_0x526049(0x189))/0xa;if(_0xacaa55===_0x489343)break;else _0x230fe3['push'](_0x230fe3['shift']());}catch(_0x2bbb14){_0x230fe3['push'](_0x230fe3['shift']());}}}(_0x25ab,0x7a17a));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x1600(_0x515a13,_0x39b00b){var _0x25ab2b=_0x25ab();return _0x1600=function(_0x16000c,_0x105014){_0x16000c=_0x16000c-0x180;var _0x3d284d=_0x25ab2b[_0x16000c];return _0x3d284d;},_0x1600(_0x515a13,_0x39b00b);}export*from'./NodeIKernelStorageCleanService';function _0x25ab(){var _0x5ff8de=['2530400FJJefs','15211MZoLGp','1643884hZmeRf','426PMiPmD','8fPcYPM','104pTJWYC','8382kSFurL','90062NdggeH','5178969suGRqA','10542270txPbFz'];_0x25ab=function(){return _0x5ff8de;};return _0x25ab();}export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x2b1eb1,_0x1f3e60){var _0x2a14fe=_0x1904,_0x1f5d6e=_0x2b1eb1();while(!![]){try{var _0x350aed=-parseInt(_0x2a14fe(0x1de))/0x1*(-parseInt(_0x2a14fe(0x1e3))/0x2)+parseInt(_0x2a14fe(0x1e0))/0x3+parseInt(_0x2a14fe(0x1df))/0x4*(parseInt(_0x2a14fe(0x1dd))/0x5)+parseInt(_0x2a14fe(0x1dc))/0x6*(-parseInt(_0x2a14fe(0x1e4))/0x7)+parseInt(_0x2a14fe(0x1e2))/0x8+parseInt(_0x2a14fe(0x1db))/0x9+-parseInt(_0x2a14fe(0x1e1))/0xa;if(_0x350aed===_0x1f3e60)break;else _0x1f5d6e['push'](_0x1f5d6e['shift']());}catch(_0x204b59){_0x1f5d6e['push'](_0x1f5d6e['shift']());}}}(_0x4994,0xcc516));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x1904(_0x4f5fd2,_0x31b67a){var _0x4994cd=_0x4994();return _0x1904=function(_0x1904b1,_0x2c812a){_0x1904b1=_0x1904b1-0x1db;var _0x2b8261=_0x4994cd[_0x1904b1];return _0x2b8261;},_0x1904(_0x4f5fd2,_0x31b67a);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';function _0x4994(){var _0x1dcd08=['4635441vDjOOX','36831580yYUTMc','5421048sSllRQ','86682AKqgNr','7uHfDAD','10678815yNEHiJ','3801858erMgOP','15FRMmXm','5MduwTz','2036892ybExVj'];_0x4994=function(){return _0x1dcd08;};return _0x4994();} \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 310a628f..e7e1bfcd 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x4a6687,_0x54d155){const _0x7dee8a=_0x38da,_0x25b481=_0x4a6687();while(!![]){try{const _0x4fe103=-parseInt(_0x7dee8a(0x140))/0x1+parseInt(_0x7dee8a(0x145))/0x2*(parseInt(_0x7dee8a(0x13e))/0x3)+-parseInt(_0x7dee8a(0x142))/0x4*(parseInt(_0x7dee8a(0x141))/0x5)+parseInt(_0x7dee8a(0x13d))/0x6+parseInt(_0x7dee8a(0x14e))/0x7+-parseInt(_0x7dee8a(0x151))/0x8*(-parseInt(_0x7dee8a(0x14f))/0x9)+parseInt(_0x7dee8a(0x150))/0xa*(parseInt(_0x7dee8a(0x153))/0xb);if(_0x4fe103===_0x54d155)break;else _0x25b481['push'](_0x25b481['shift']());}catch(_0x529a52){_0x25b481['push'](_0x25b481['shift']());}}}(_0x42ca,0x672c1));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x225cc2 from'node:path';function _0x42ca(){const _0x4177d6=['cMTFw','utf-8','DjZhE','join','277816raiGBB','643986HebHLG','50XQwUFe','56psehQe','writeFileSync','740773rhidmx','eFhqh','517434bpcmXs','3oUOYWV','curVersion','776050sftehR','370945FKapxB','16uFsyTK','mkdirSync','IGZor','1063758FIFBUf','readFileSync','temp','NapCat','assign'];_0x42ca=function(){return _0x4177d6;};return _0x42ca();}import _0xb96a03 from'node:fs';import{randomUUID}from'crypto';function _0x38da(_0x794641,_0x4b46c1){const _0x42ca1f=_0x42ca();return _0x38da=function(_0x38daba,_0x10102e){_0x38daba=_0x38daba-0x13c;let _0x40e881=_0x42ca1f[_0x38daba];return _0x40e881;},_0x38da(_0x794641,_0x4b46c1);}export const sessionConfig={};export function genSessionConfig(_0x24b490,_0x1bf54b,_0x40a0d6){const _0x1d011b=_0x38da,_0xe14343={'eFhqh':_0x1d011b(0x147),'IGZor':_0x1d011b(0x148),'DjZhE':'guid.txt','vVJFM':function(_0x5df153){return _0x5df153();},'cMTFw':_0x1d011b(0x14b)},_0x2fd692=_0x225cc2[_0x1d011b(0x14d)](_0x40a0d6,'NapCat',_0xe14343[_0x1d011b(0x13c)]);_0xb96a03[_0x1d011b(0x143)](_0x2fd692,{'recursive':!![]});const _0x52ae12=_0x225cc2[_0x1d011b(0x14d)](_0x40a0d6,_0xe14343[_0x1d011b(0x144)],_0xe14343[_0x1d011b(0x14c)]);let _0x4a0fe3=_0xe14343['vVJFM'](randomUUID);try{_0x4a0fe3=_0xb96a03[_0x1d011b(0x146)](_0x225cc2[_0x1d011b(0x14d)](_0x52ae12),_0xe14343[_0x1d011b(0x14a)]);}catch(_0x2ba847){_0xb96a03[_0x1d011b(0x152)](_0x225cc2[_0x1d011b(0x14d)](_0x52ae12),_0x4a0fe3,_0xe14343[_0x1d011b(0x14a)]);}const _0x48d1a7={'selfUin':_0x24b490,'selfUid':_0x1bf54b,'desktopPathConfig':{'account_path':_0x40a0d6},'clientVer':qqVersionConfigInfo[_0x1d011b(0x13f)],'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':_0x2fd692,'deviceInfo':{'guid':_0x4a0fe3,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object[_0x1d011b(0x149)](sessionConfig,_0x48d1a7),_0x48d1a7;} \ No newline at end of file +function _0x3a8e(){const _0x5aebed=['temp','964OpuqkC','1154604QtDKkP','join','NapCat','writeFileSync','curVersion','1779678QDHFtx','utf-8','40BTQFZs','version','tCUWi','gSzej','TIdNb','assign','iJSfL','425610WsNOdg','9EoztvK','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','913212lubZgg','70vMROLq','KeAzt','guid.txt','mkdirSync','1194816wBRIrJ','131646zkHrtK','32rpNxDL'];_0x3a8e=function(){return _0x5aebed;};return _0x3a8e();}(function(_0x34fff3,_0x3c3244){const _0xc6e876=_0x4edc,_0x4127e6=_0x34fff3();while(!![]){try{const _0x43f46a=parseInt(_0xc6e876(0x1c8))/0x1*(parseInt(_0xc6e876(0x1d0))/0x2)+-parseInt(_0xc6e876(0x1c7))/0x3+-parseInt(_0xc6e876(0x1d3))/0x4*(parseInt(_0xc6e876(0x1c0))/0x5)+-parseInt(_0xc6e876(0x1be))/0x6+-parseInt(_0xc6e876(0x1cf))/0x7+parseInt(_0xc6e876(0x1d1))/0x8*(-parseInt(_0xc6e876(0x1ca))/0x9)+parseInt(_0xc6e876(0x1cb))/0xa*(parseInt(_0xc6e876(0x1d4))/0xb);if(_0x43f46a===_0x3c3244)break;else _0x4127e6['push'](_0x4127e6['shift']());}catch(_0x5a137c){_0x4127e6['push'](_0x4127e6['shift']());}}}(_0x3a8e,0x4bba8));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x20e000 from'node:path';import _0x42abcd from'node:fs';function _0x4edc(_0x3300b6,_0x43e578){const _0x3a8ece=_0x3a8e();return _0x4edc=function(_0x4edc97,_0x4d9ff4){_0x4edc97=_0x4edc97-0x1ba;let _0x535cbb=_0x3a8ece[_0x4edc97];return _0x535cbb;},_0x4edc(_0x3300b6,_0x43e578);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x51b6ec,_0xd3edef,_0x10260d){const _0x591855=_0x4edc,_0x3cbcf7={'nlLpm':_0x591855(0x1bb),'gSzej':_0x591855(0x1d2),'TIdNb':_0x591855(0x1cd),'tCUWi':function(_0x420d17){return _0x420d17();},'iJSfL':_0x591855(0x1bf),'KeAzt':_0x591855(0x1c9)},_0x2571c9=_0x20e000[_0x591855(0x1ba)](_0x10260d,_0x3cbcf7['nlLpm'],_0x3cbcf7[_0x591855(0x1c3)]);_0x42abcd[_0x591855(0x1ce)](_0x2571c9,{'recursive':!![]});const _0x12972c=_0x20e000[_0x591855(0x1ba)](_0x10260d,'NapCat',_0x3cbcf7[_0x591855(0x1c4)]);let _0x3995cf=_0x3cbcf7[_0x591855(0x1c2)](randomUUID);try{_0x3995cf=_0x42abcd['readFileSync'](_0x20e000[_0x591855(0x1ba)](_0x12972c),_0x3cbcf7['iJSfL']);}catch(_0x54e1c0){_0x42abcd[_0x591855(0x1bc)](_0x20e000[_0x591855(0x1ba)](_0x12972c),_0x3995cf,_0x3cbcf7[_0x591855(0x1c6)]);}const _0x643a65={'selfUin':_0x51b6ec,'selfUid':_0xd3edef,'desktopPathConfig':{'account_path':_0x10260d},'clientVer':qqVersionConfigInfo[_0x591855(0x1bd)],'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':_0x2571c9,'deviceInfo':{'guid':_0x3995cf,'buildVer':qqPkgInfo[_0x591855(0x1c1)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3cbcf7[_0x591855(0x1cc)]};return Object[_0x591855(0x1c5)](sessionConfig,_0x643a65),_0x643a65;} \ 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 9ecb1d3c..0ec93483 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x2b86e5=_0x3314;(function(_0x4f329f,_0xff7166){const _0x306256=_0x3314,_0x394f0b=_0x4f329f();while(!![]){try{const _0x374549=parseInt(_0x306256(0x164))/0x1*(-parseInt(_0x306256(0x166))/0x2)+parseInt(_0x306256(0x161))/0x3*(-parseInt(_0x306256(0x163))/0x4)+-parseInt(_0x306256(0x154))/0x5+parseInt(_0x306256(0x156))/0x6*(-parseInt(_0x306256(0x158))/0x7)+-parseInt(_0x306256(0x167))/0x8+-parseInt(_0x306256(0x15c))/0x9+-parseInt(_0x306256(0x157))/0xa*(-parseInt(_0x306256(0x15e))/0xb);if(_0x374549===_0xff7166)break;else _0x394f0b['push'](_0x394f0b['shift']());}catch(_0x33eaae){_0x394f0b['push'](_0x394f0b['shift']());}}}(_0x333f,0xcc59f));function _0x333f(){const _0x4bc0f3=['56RBILcf','consoleLogLevel','fileLog','getConfigDir','5454360piSGkW','fileLogLevel','715JDVfbB','consoleLog','join','6gbRhFN','uin','604268iUeijK','113DhyfoC','INFO','14092NUpsMo','262080PvXtdc','.json','8101965foiRtw','getConfigPath','219204bwbpeH','690280OGHvzw'];_0x333f=function(){return _0x4bc0f3;};return _0x333f();}import _0x15fd73 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x3314(_0x7bf91d,_0x47cbe3){const _0x333f51=_0x333f();return _0x3314=function(_0x331463,_0x478d6f){_0x331463=_0x331463-0x154;let _0x498edd=_0x333f51[_0x331463];return _0x498edd;},_0x3314(_0x7bf91d,_0x47cbe3);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2b86e5(0x15a)]=!![];[_0x2b86e5(0x15f)]=!![];[_0x2b86e5(0x15d)]=LogLevel['DEBUG'];[_0x2b86e5(0x159)]=LogLevel[_0x2b86e5(0x165)];constructor(){super();}[_0x2b86e5(0x155)](){const _0x55c82c=_0x2b86e5;return _0x15fd73[_0x55c82c(0x160)](this[_0x55c82c(0x15b)](),'napcat_'+selfInfo[_0x55c82c(0x162)]+_0x55c82c(0x168));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x594f84=_0x2fa6;function _0x2fa6(_0x4356c9,_0x2ec001){const _0x49e0fc=_0x49e0();return _0x2fa6=function(_0x2fa6f4,_0x10a4ca){_0x2fa6f4=_0x2fa6f4-0x1ef;let _0x493017=_0x49e0fc[_0x2fa6f4];return _0x493017;},_0x2fa6(_0x4356c9,_0x2ec001);}(function(_0x57f42d,_0xb9618d){const _0x4e5d15=_0x2fa6,_0x46aa8d=_0x57f42d();while(!![]){try{const _0x13d874=parseInt(_0x4e5d15(0x1f8))/0x1*(-parseInt(_0x4e5d15(0x1ef))/0x2)+-parseInt(_0x4e5d15(0x1f2))/0x3*(parseInt(_0x4e5d15(0x1fd))/0x4)+-parseInt(_0x4e5d15(0x1fc))/0x5+-parseInt(_0x4e5d15(0x1fb))/0x6*(parseInt(_0x4e5d15(0x1f7))/0x7)+-parseInt(_0x4e5d15(0x1f1))/0x8+-parseInt(_0x4e5d15(0x1fa))/0x9*(-parseInt(_0x4e5d15(0x1f5))/0xa)+parseInt(_0x4e5d15(0x1f4))/0xb;if(_0x13d874===_0xb9618d)break;else _0x46aa8d['push'](_0x46aa8d['shift']());}catch(_0x45fb8d){_0x46aa8d['push'](_0x46aa8d['shift']());}}}(_0x49e0,0xe95bf));function _0x49e0(){const _0x3839a2=['uin','410515jTiQAc','202JdufIe','.json','2187hrKuuG','132wpPozd','7671655NTagtb','8FViOMf','consoleLog','napcat_','getConfigDir','18904yROKos','fileLog','9507104bWDdCy','2810319whEzlr','INFO','89769515KWoQYv','24310vwgwJc'];_0x49e0=function(){return _0x3839a2;};return _0x49e0();}import _0x36b284 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x594f84(0x1f0)]=!![];[_0x594f84(0x1fe)]=!![];['fileLogLevel']=LogLevel['DEBUG'];['consoleLogLevel']=LogLevel[_0x594f84(0x1f3)];constructor(){super();}['getConfigPath'](){const _0x5cbea3=_0x594f84;return _0x36b284['join'](this[_0x5cbea3(0x200)](),_0x5cbea3(0x1ff)+selfInfo[_0x5cbea3(0x1f6)]+_0x5cbea3(0x1f9));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/db.js b/src/core.lib/src/utils/db.js index 391c888b..a238d097 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -function _0x40fc(_0x26852c,_0x410812){const _0x33cfa4=_0x33cf();return _0x40fc=function(_0x40fc69,_0x3f6c78){_0x40fc69=_0x40fc69-0x117;let _0x3019f4=_0x33cfa4[_0x40fc69];return _0x3019f4;},_0x40fc(_0x26852c,_0x410812);}function _0x33cf(){const _0x4bfa5a=[',\x20短id:\x20','NrPeU','init','dqivx','close','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','prepare','dxGvK','cBggO','now','24xclMtj','Method\x20not\x20implemented.','oXKWJ','updateMsg\x20db\x20error','getMsgsByMsgId','WAWIO','ZBnSm','set','element','2513864oMDLrU','iCyxg','记录消息到数据库,\x20消息长id:\x20','LQsUV','msgList','db\x20could\x20not\x20get\x20file\x20cache','更新消息,\x20shortId:','kWIXA','VbFXj','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','maxId','PEDiq','updateFileCache','xpVjD','createTable','igapG','881629CrRNKu','19688ZZszKa','mebSI','catch','MiLrF','SELECT\x20*\x20FROM\x20temp_uins','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','KBsrE','PHbLj','getMsg','数据库中消息最大短id','peerUid',',\x20seq:\x20','rVEED','msgTime','db\x20could\x20not\x20add\x20msg','zQPDE','dDGfW','Could\x20not\x20create\x20table\x20files','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','rUOGa','9617861wGrjgg','elementId','forEach','QNUaf','db\x20could\x20not\x20get\x20temp\x20uin\x20map','gGagT','iCluc','then','getFileCache','HsmOi','db\x20getMsgByLongId\x20error','get','10Qovxmx','kCeBl','getFileCacheByName','updateMsg','uin','db\x20could\x20not\x20add\x20file','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','addFileCache','kPdxm','chatType','45HvZubQ','GCifY','IrTnW','fpOvs','Gnbsd','gAJRv','db\x20could\x20not\x20add\x20temp\x20uin','16382772RdZxZZ','Could\x20not\x20create\x20table\x20temp_uins','aQogp','AjCWs','TIdpw','getMsgByLongId','db\x20could\x20not\x20update\x20file\x20cache','parse','url','getUidByTempUin','OBkzx','iFsCx','run','globalMsgShortId','7515660bRRDvh','2jUBXSO','size','name','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','dnSQY','addTempUin','errno','IfEXy','84xzNuJH','longId','NzULF','AvhVd','aQMXw','1738979SljwCP','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','all','assign','getFileCacheByUuid','sXutu','ZvNeK','qWOFe','JPwtf','Could\x20not\x20create\x20table\x20msgs','gCxFV','msgSeq','OLDTN','shortId','stringify','uid','msgCache','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','ynGku','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','ZvCRl','Database','msgId','delete',',\x20msgId:\x20','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','uuid','VKUEy','ZNEUf','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','DzHJo','getCurrentMaxShortId','Could\x20not\x20connect\x20to\x20database'];_0x33cf=function(){return _0x4bfa5a;};return _0x33cf();}const _0x58347f=_0x40fc;(function(_0x8f5c9d,_0x2cf3aa){const _0x41a280=_0x40fc,_0x5160d7=_0x8f5c9d();while(!![]){try{const _0x19eae0=-parseInt(_0x41a280(0x12f))/0x1*(-parseInt(_0x41a280(0x122))/0x2)+parseInt(_0x41a280(0x15d))/0x3*(parseInt(_0x41a280(0x177))/0x4)+-parseInt(_0x41a280(0x121))/0x5+-parseInt(_0x41a280(0x12a))/0x6*(-parseInt(_0x41a280(0x176))/0x7)+parseInt(_0x41a280(0x166))/0x8*(-parseInt(_0x41a280(0x1a3))/0x9)+parseInt(_0x41a280(0x199))/0xa*(-parseInt(_0x41a280(0x18d))/0xb)+parseInt(_0x41a280(0x1aa))/0xc;if(_0x19eae0===_0x2cf3aa)break;else _0x5160d7['push'](_0x5160d7['shift']());}catch(_0x372ab7){_0x5160d7['push'](_0x5160d7['shift']());}}}(_0x33cf,0xe9ef4));import _0x44c28f from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async['init'](_0x53aca7){const _0x35510b=_0x40fc,_0x4887c5={'sXutu':function(_0xc273a5,_0x1ccf86,_0x11f387){return _0xc273a5(_0x1ccf86,_0x11f387);},'NzULF':_0x35510b(0x152),'QNUaf':function(_0x5ecf95,_0x316c1e){return _0x5ecf95(_0x316c1e);},'kPdxm':function(_0x38076b){return _0x38076b();}};if(this['db'])return;return new Promise((_0x2588ec,_0x1d186d)=>{const _0x8fec8b=_0x35510b;this['db']=new _0x44c28f[(_0x8fec8b(0x144))](_0x53aca7,_0x44c28f['OPEN_READWRITE']|_0x44c28f['OPEN_CREATE'],_0x590557=>{const _0x355b58=_0x8fec8b;if(_0x590557){_0x4887c5[_0x355b58(0x134)](logError,_0x4887c5[_0x355b58(0x12c)],_0x590557),_0x4887c5[_0x355b58(0x190)](_0x1d186d,_0x590557);return;}this['createTable'](),_0x4887c5[_0x355b58(0x1a1)](_0x2588ec);});});}[_0x58347f(0x174)](){const _0x70312c=_0x58347f;throw new Error(_0x70312c(0x15e));}['close'](){const _0x43a291=_0x58347f;this['db']?.[_0x43a291(0x157)]();}}class DBUtil extends DBUtilBase{[_0x58347f(0x13f)]=new Map();[_0x58347f(0x120)]=-0x7ffffff8;constructor(){const _0x4c57c0=_0x58347f,_0x27b70a={'GCifY':function(_0x3df172,_0x2fb1b7){return _0x3df172>_0x2fb1b7;},'WdbSe':function(_0xc5b1af,_0x595f66){return _0xc5b1af-_0x595f66;},'gCxFV':function(_0x9e59c2,_0x2b6b96){return _0x9e59c2*_0x2b6b96;},'ZBnSm':function(_0x675237,_0x1daebb){return _0x675237(_0x1daebb);},'PHbLj':'清理消息缓存','KBsrE':function(_0x38fd67,_0x32c7ef,_0x28666c){return _0x38fd67(_0x32c7ef,_0x28666c);}};super();const _0xc14f02=0x3e8*0x3c*0xa;_0x27b70a[_0x4c57c0(0x17e)](setInterval,()=>{const _0x2ee725=_0x4c57c0;logDebug(_0x27b70a[_0x2ee725(0x17f)]),this[_0x2ee725(0x13f)][_0x2ee725(0x18f)]((_0x4453f7,_0x4cb433)=>{const _0x57f14e=_0x2ee725;_0x27b70a[_0x57f14e(0x1a4)](_0x27b70a['WdbSe'](Date[_0x57f14e(0x15c)](),_0x27b70a[_0x57f14e(0x139)](_0x27b70a[_0x57f14e(0x163)](parseInt,_0x4453f7[_0x57f14e(0x185)]),0x3e8)),_0xc14f02)&&this[_0x57f14e(0x13f)][_0x57f14e(0x146)](_0x4cb433);});},_0xc14f02);}async[_0x58347f(0x155)](_0x4b5ff1){const _0x154758=_0x58347f;await super[_0x154758(0x155)](_0x4b5ff1),this[_0x154758(0x120)]=await this[_0x154758(0x151)]();}[_0x58347f(0x174)](){const _0x4e4e18=_0x58347f,_0x5b2e74={'fpOvs':function(_0xe64cb0,_0x2ed6f0,_0x56a9e3){return _0xe64cb0(_0x2ed6f0,_0x56a9e3);},'kCeBl':_0x4e4e18(0x138),'kDAwz':function(_0x5497d2,_0x5dffdc,_0x646938){return _0x5497d2(_0x5dffdc,_0x646938);},'hOdAj':function(_0x5d1243,_0x62ca7a,_0x3457d9){return _0x5d1243(_0x62ca7a,_0x3457d9);},'ynGku':_0x4e4e18(0x1ab)},_0x9620a1=_0x4e4e18(0x17c);this['db'][_0x4e4e18(0x11f)](_0x9620a1,function(_0x2b40b7){const _0x12b516=_0x4e4e18;_0x2b40b7&&_0x5b2e74[_0x12b516(0x1a6)](logError,_0x5b2e74[_0x12b516(0x19a)],_0x2b40b7['stack']);});const _0x5c3270=_0x4e4e18(0x130);this['db'][_0x4e4e18(0x11f)](_0x5c3270,function(_0x4a87e3){const _0x1054bf=_0x4e4e18;_0x4a87e3&&_0x5b2e74['kDAwz'](logError,_0x1054bf(0x189),_0x4a87e3);});const _0x46ef32=_0x4e4e18(0x18b);this['db'][_0x4e4e18(0x11f)](_0x46ef32,function(_0x1ee41e){const _0x567e5a=_0x4e4e18;_0x1ee41e&&_0x5b2e74['hOdAj'](logError,_0x5b2e74[_0x567e5a(0x141)],_0x1ee41e);});}async['getCurrentMaxShortId'](){const _0x34e1ae=_0x58347f,_0x41fc3b={'rVEED':function(_0x3186fa,_0x3c2f3b,_0x3d4860){return _0x3186fa(_0x3c2f3b,_0x3d4860);},'zQPDE':_0x34e1ae(0x148),'qRJRr':function(_0x2607ff,_0x3622f4){return _0x2607ff(_0x3622f4);}};return new Promise((_0x51c257,_0x21a0d8)=>{const _0x4314db=_0x34e1ae,_0x23aceb={'OLDTN':function(_0xba829a,_0x46331d,_0x2e08b4){const _0x124ad8=_0x40fc;return _0x41fc3b[_0x124ad8(0x184)](_0xba829a,_0x46331d,_0x2e08b4);},'MiLrF':_0x41fc3b[_0x4314db(0x187)],'rUOGa':function(_0x671be0,_0x2cd394){return _0x41fc3b['qRJRr'](_0x671be0,_0x2cd394);},'FczcE':function(_0x1e66bb,_0x389769,_0x41dfc6){const _0x5eab62=_0x4314db;return _0x41fc3b[_0x5eab62(0x184)](_0x1e66bb,_0x389769,_0x41dfc6);}};this['db'][_0x4314db(0x198)](_0x4314db(0x16f),(_0x3b76ef,_0x22e524)=>{const _0x1096e8=_0x4314db;if(_0x3b76ef)return _0x23aceb[_0x1096e8(0x13b)](logDebug,_0x23aceb[_0x1096e8(0x17a)],_0x3b76ef),_0x23aceb['rUOGa'](_0x51c257,-0x7ffffff8);_0x23aceb['FczcE'](logDebug,_0x1096e8(0x181),_0x22e524?.[_0x1096e8(0x170)]),_0x23aceb[_0x1096e8(0x18c)](_0x51c257,_0x22e524?.[_0x1096e8(0x170)]??-0x7ffffff8);});});}async['getMsg'](_0x79aa97,_0xfbf452){const _0x1c2dd3=_0x58347f,_0x207d1c={'VKUEy':function(_0x5ea7a9,_0x4dd55a){return _0x5ea7a9(_0x4dd55a);},'iFsCx':function(_0x2e0cf8,_0x278113){return _0x2e0cf8(_0x278113);},'dDGfW':function(_0x19d908,_0x247db,_0x3a949d,_0x5619dc,_0x2deb94){return _0x19d908(_0x247db,_0x3a949d,_0x5619dc,_0x2deb94);},'OBkzx':'Could\x20not\x20get\x20msg'},_0x33621f=this['db'][_0x1c2dd3(0x159)](_0x79aa97);return new Promise((_0x255446,_0x2016b1)=>{const _0xf8ef2=_0x1c2dd3;_0x33621f[_0xf8ef2(0x198)](..._0xfbf452,(_0x25337d,_0x39dccc)=>{const _0xddaf0f=_0xf8ef2,_0x9be0df={'NrPeU':function(_0x50ae9f,_0x3c4bf5){const _0x546284=_0x40fc;return _0x207d1c[_0x546284(0x14a)](_0x50ae9f,_0x3c4bf5);},'dqivx':function(_0x5d308c,_0x417e7d){const _0x513da9=_0x40fc;return _0x207d1c[_0x513da9(0x14a)](_0x5d308c,_0x417e7d);},'IrTnW':function(_0x6c84a0,_0x3ed6ae){const _0x6e2747=_0x40fc;return _0x207d1c[_0x6e2747(0x11e)](_0x6c84a0,_0x3ed6ae);}};if(_0x25337d)return _0x207d1c[_0xddaf0f(0x188)](logError,_0x207d1c[_0xddaf0f(0x11d)],_0x25337d,_0x79aa97,_0xfbf452),_0x207d1c[_0xddaf0f(0x11e)](_0x255446,null);if(!_0x39dccc){_0x207d1c[_0xddaf0f(0x14a)](_0x255446,null);return;}const _0x38e8dd=_0x39dccc[_0xddaf0f(0x12b)];NTQQMsgApi[_0xddaf0f(0x161)]({'peerUid':_0x39dccc[_0xddaf0f(0x182)],'chatType':_0x39dccc[_0xddaf0f(0x1a2)]},[_0x38e8dd])[_0xddaf0f(0x194)](_0x256d59=>{const _0x475ebd=_0xddaf0f,_0x3b597a=_0x256d59[_0x475ebd(0x16a)][0x0];if(!_0x3b597a){_0x9be0df[_0x475ebd(0x154)](_0x255446,null);return;}_0x3b597a['id']=_0x39dccc[_0x475ebd(0x13c)],_0x9be0df[_0x475ebd(0x156)](_0x255446,_0x3b597a);})[_0xddaf0f(0x179)](_0x21231f=>{const _0x357923=_0xddaf0f;_0x9be0df[_0x357923(0x1a5)](_0x255446,null);});});});}async['getMsgByShortId'](_0x4e8cb0){const _0x38f8c0=_0x58347f,_0x2dc500={'aQogp':_0x38f8c0(0x142)};if(this[_0x38f8c0(0x13f)]['has'](_0x4e8cb0))return this[_0x38f8c0(0x13f)][_0x38f8c0(0x198)](_0x4e8cb0);const _0x4f0727=_0x2dc500[_0x38f8c0(0x1ac)];return this[_0x38f8c0(0x180)](_0x4f0727,[_0x4e8cb0]);}async[_0x58347f(0x118)](_0x182dbf){const _0x78c2a0=_0x58347f,_0x18a521={'dnSQY':_0x78c2a0(0x140)};if(this[_0x78c2a0(0x13f)]['has'](_0x182dbf))return this[_0x78c2a0(0x13f)][_0x78c2a0(0x198)](_0x182dbf);return this[_0x78c2a0(0x180)](_0x18a521[_0x78c2a0(0x126)],[_0x182dbf]);}async['getMsgBySeq'](_0x19e96b,_0x59e2fd){const _0x10e038=_0x58347f,_0x5cd858={'IfEXy':_0x10e038(0x17d)},_0x2371df=_0x5cd858[_0x10e038(0x129)];return this[_0x10e038(0x180)](_0x2371df,[_0x19e96b,_0x59e2fd]);}async['addMsg'](_0x28aaf3,_0x2a8523=!![]){const _0x107a57=_0x58347f,_0x213ea2={'AvhVd':function(_0xcfab58,_0x30d3ee,_0x2baf55){return _0xcfab58(_0x30d3ee,_0x2baf55);},'xpVjD':_0x107a57(0x186),'PEDiq':'INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','gAJRv':function(_0x3fdae4,_0xc8b41e){return _0x3fdae4(_0xc8b41e);}},_0x4409f0=await this[_0x107a57(0x118)](_0x28aaf3[_0x107a57(0x145)]);if(_0x4409f0){if(_0x2a8523)this[_0x107a57(0x19c)](_0x28aaf3)[_0x107a57(0x194)]();return _0x4409f0['id'];}const _0x391b03=this['db'][_0x107a57(0x159)](_0x213ea2[_0x107a57(0x171)]),_0x43c036=++this[_0x107a57(0x120)];return _0x28aaf3['id']=_0x43c036,_0x213ea2[_0x107a57(0x1a8)](logDebug,_0x107a57(0x168)+_0x28aaf3[_0x107a57(0x145)]+_0x107a57(0x153)+_0x28aaf3['id']),this[_0x107a57(0x13f)][_0x107a57(0x164)](_0x43c036,_0x28aaf3),this[_0x107a57(0x13f)][_0x107a57(0x164)](_0x28aaf3[_0x107a57(0x145)],_0x28aaf3),_0x391b03[_0x107a57(0x11f)](this[_0x107a57(0x120)],_0x28aaf3[_0x107a57(0x145)],_0x28aaf3['msgSeq'][_0x107a57(0x18a)](),_0x28aaf3['peerUid'],_0x28aaf3[_0x107a57(0x1a2)],_0x104169=>{const _0xf4d37=_0x107a57,_0x4ff5b3={'WQtkT':function(_0x296a16,_0x1105ce,_0x528303){const _0x25c32b=_0x40fc;return _0x213ea2[_0x25c32b(0x12d)](_0x296a16,_0x1105ce,_0x528303);}};_0x104169&&(_0x104169[_0xf4d37(0x128)]===0x13?this[_0xf4d37(0x118)](_0x28aaf3[_0xf4d37(0x145)])['then'](_0x214ceb=>{const _0x8dfed8=_0xf4d37;_0x214ceb?(this[_0x8dfed8(0x13f)]['set'](_0x43c036,_0x214ceb),this[_0x8dfed8(0x13f)][_0x8dfed8(0x164)](_0x214ceb['msgId'],_0x214ceb)):_0x4ff5b3['WQtkT'](logError,_0x8dfed8(0x19f),_0x104169);})['catch'](_0x50e0d6=>logError(_0xf4d37(0x197),_0x50e0d6)):logError(_0x213ea2[_0xf4d37(0x173)],_0x104169));}),_0x43c036;}async[_0x58347f(0x19c)](_0x1c06bc){const _0x35d202=_0x58347f,_0x2d6e41={'LQsUV':function(_0xb1d2f4,_0x9726a6,_0x1bd4bb){return _0xb1d2f4(_0x9726a6,_0x1bd4bb);},'VbFXj':_0x35d202(0x160)},_0x45e139=this[_0x35d202(0x13f)]['get'](_0x1c06bc[_0x35d202(0x145)]);_0x45e139&&Object[_0x35d202(0x132)](_0x45e139,_0x1c06bc);logDebug(_0x35d202(0x16c)+_0x1c06bc['id']+_0x35d202(0x183)+_0x1c06bc[_0x35d202(0x13a)]+_0x35d202(0x147)+_0x1c06bc['msgId']);const _0x420ab2=this['db'][_0x35d202(0x159)](_0x35d202(0x125));_0x420ab2[_0x35d202(0x11f)](_0x1c06bc[_0x35d202(0x13a)],_0x1c06bc[_0x35d202(0x145)],_0x75c645=>{const _0xb45f22=_0x35d202;_0x75c645&&_0x2d6e41[_0xb45f22(0x169)](logError,_0x2d6e41[_0xb45f22(0x16e)],_0x75c645);});}async[_0x58347f(0x1a0)](_0x3ced59){const _0x1e2fc0=_0x58347f,_0x36e029={'HsmOi':function(_0x5852c9,_0x3537c5){return _0x5852c9(_0x3537c5);},'KGmWN':_0x1e2fc0(0x14e)},_0x59850a=this['db'][_0x1e2fc0(0x159)](_0x36e029['KGmWN']);return new Promise((_0x1013dc,_0x4491fd)=>{const _0x66d760=_0x1e2fc0,_0x5864ef={'ZvNeK':function(_0x852e0d,_0x194a97){const _0x534238=_0x40fc;return _0x36e029[_0x534238(0x196)](_0x852e0d,_0x194a97);}};_0x59850a[_0x66d760(0x11f)](_0x3ced59[_0x66d760(0x124)],_0x3ced59['path'],_0x3ced59[_0x66d760(0x11b)],_0x3ced59[_0x66d760(0x123)],_0x3ced59[_0x66d760(0x149)],_0x3ced59['elementType'],JSON[_0x66d760(0x13d)](_0x3ced59['element']),_0x3ced59[_0x66d760(0x18e)],_0x3ced59['msgId'],function(_0x37f7c7){const _0x38595a=_0x66d760;_0x37f7c7&&(logError(_0x38595a(0x19e),_0x37f7c7),_0x5864ef[_0x38595a(0x135)](_0x4491fd,_0x37f7c7)),_0x5864ef[_0x38595a(0x135)](_0x1013dc,null);});});}async[_0x58347f(0x195)](_0x244fcb,_0x2d8cb7){const _0x5d0016=_0x58347f,_0x12c882={'dxGvK':function(_0x587710,_0x2209c4,_0x226787){return _0x587710(_0x2209c4,_0x226787);},'Gnbsd':_0x5d0016(0x16b),'gTHkw':function(_0x44103b,_0x30d836){return _0x44103b(_0x30d836);},'aQMXw':function(_0x1dd62a,_0x4850c2){return _0x1dd62a(_0x4850c2);}},_0x53629e=this['db']['prepare'](_0x244fcb);return new Promise((_0x206eda,_0x2e0a86)=>{const _0x13b0c1=_0x5d0016;_0x53629e[_0x13b0c1(0x198)](..._0x2d8cb7,(_0x1c0243,_0x38950c)=>{const _0x47b448=_0x13b0c1;_0x1c0243&&(_0x12c882[_0x47b448(0x15a)](logError,_0x12c882[_0x47b448(0x1a7)],_0x1c0243),_0x12c882['gTHkw'](_0x2e0a86,_0x1c0243)),_0x38950c&&(_0x38950c[_0x47b448(0x165)]=JSON[_0x47b448(0x11a)](_0x38950c[_0x47b448(0x165)])),_0x12c882[_0x47b448(0x12e)](_0x206eda,_0x38950c);});});}async[_0x58347f(0x19b)](_0x300321){const _0x2beafa=_0x58347f,_0x9f4ffe={'hppRb':_0x2beafa(0x14d)};return this['getFileCache'](_0x9f4ffe['hppRb'],[_0x300321]);}async[_0x58347f(0x133)](_0x3dbc33){const _0x539a6e=_0x58347f,_0x1b06c4={'TIdpw':_0x539a6e(0x158)};return this[_0x539a6e(0x195)](_0x1b06c4[_0x539a6e(0x117)],[_0x3dbc33]);}async[_0x58347f(0x172)](_0x1f4b2a){const _0x4a2593=_0x58347f,_0xd56768={'ZNEUf':function(_0x4505f8,_0x5d9c15,_0x36a73b){return _0x4505f8(_0x5d9c15,_0x36a73b);},'qWOFe':'UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?'},_0x8ef6f6=this['db']['prepare'](_0xd56768[_0x4a2593(0x136)]);return new Promise((_0x140885,_0x1364ad)=>{const _0x5acb41=_0x4a2593,_0x23ba2f={'DzHJo':function(_0x1a2ea8,_0x2a546e,_0x5d4451){const _0x32a977=_0x40fc;return _0xd56768[_0x32a977(0x14b)](_0x1a2ea8,_0x2a546e,_0x5d4451);},'fBdbW':_0x5acb41(0x119),'ZvCRl':function(_0x23210d,_0x4af58e){return _0x23210d(_0x4af58e);}};_0x8ef6f6['run'](_0x1f4b2a['path'],_0x1f4b2a[_0x5acb41(0x11b)],_0x1f4b2a['uuid'],function(_0x197bf7){const _0x135de5=_0x5acb41;_0x197bf7&&(_0x23ba2f[_0x135de5(0x150)](logError,_0x23ba2f['fBdbW'],_0x197bf7),_0x23ba2f[_0x135de5(0x143)](_0x1364ad,_0x197bf7)),_0x140885(null);});});}async['getReceivedTempUinMap'](){const _0x4be532=_0x58347f,_0x5ab8ce={'oXKWJ':function(_0x2056b5,_0x2b7d8b,_0x2245d4){return _0x2056b5(_0x2b7d8b,_0x2245d4);},'mebSI':function(_0x1c50da,_0x36eb6e){return _0x1c50da(_0x36eb6e);},'JPwtf':_0x4be532(0x17b)},_0x30cd79=_0x5ab8ce[_0x4be532(0x137)];return new Promise((_0x1ca658,_0x19916a)=>{const _0x251362=_0x4be532,_0x5b315c={'qrygi':function(_0x1beab8,_0x44f10b,_0x31a30e){const _0x586b03=_0x40fc;return _0x5ab8ce[_0x586b03(0x15f)](_0x1beab8,_0x44f10b,_0x31a30e);},'igapG':function(_0x369112,_0x44df52){const _0x513e30=_0x40fc;return _0x5ab8ce[_0x513e30(0x178)](_0x369112,_0x44df52);}};this['db'][_0x251362(0x131)](_0x30cd79,(_0x5da9e9,_0x564950)=>{const _0x1fe1a5=_0x251362;_0x5da9e9&&(_0x5b315c['qrygi'](logError,_0x1fe1a5(0x191),_0x5da9e9),_0x5b315c[_0x1fe1a5(0x175)](_0x19916a,_0x5da9e9));const _0x3d1b0b={};_0x564950[_0x1fe1a5(0x18f)](_0x3d27da=>{const _0xc923ad=_0x1fe1a5;_0x3d1b0b[_0x3d27da[_0xc923ad(0x19d)]]=_0x3d27da[_0xc923ad(0x13e)];}),_0x5b315c[_0x1fe1a5(0x175)](_0x1ca658,_0x3d1b0b);});});}async[_0x58347f(0x11c)](_0x284b20){const _0x1c640b=_0x58347f,_0x9ef893={'gGagT':_0x1c640b(0x191),'AjCWs':_0x1c640b(0x14f)},_0x496124=_0x9ef893[_0x1c640b(0x1ad)];return new Promise((_0x10f5f8,_0x6dd400)=>{const _0x217450=_0x1c640b;this['db'][_0x217450(0x198)](_0x496124,[_0x284b20],(_0x162c33,_0x41906d)=>{const _0x5b821d=_0x217450;_0x162c33&&(logError(_0x9ef893[_0x5b821d(0x192)],_0x162c33),_0x6dd400(_0x162c33)),_0x10f5f8(_0x41906d?.['uid']);});});}async[_0x58347f(0x127)](_0x205f9a,_0x227fc6){const _0x4d999=_0x58347f,_0x5e2bff={'iCyxg':function(_0x2760be,_0x4c0520,_0x56073c){return _0x2760be(_0x4c0520,_0x56073c);},'cBggO':function(_0x31fc4a,_0x162e1e){return _0x31fc4a(_0x162e1e);},'iCluc':_0x4d999(0x14c)},_0x454ab8=await this[_0x4d999(0x11c)](_0x205f9a);if(!_0x454ab8){const _0x42b918=this['db'][_0x4d999(0x159)](_0x5e2bff[_0x4d999(0x193)]);return new Promise((_0x271588,_0x495417)=>{const _0x43c7f9=_0x4d999,_0x3b1fef={'kWIXA':function(_0x6651e9,_0x609417,_0x271987){const _0x333e8d=_0x40fc;return _0x5e2bff[_0x333e8d(0x167)](_0x6651e9,_0x609417,_0x271987);},'WAWIO':function(_0x3a9c55,_0x10236c){const _0x4b2566=_0x40fc;return _0x5e2bff[_0x4b2566(0x15b)](_0x3a9c55,_0x10236c);}};_0x42b918[_0x43c7f9(0x11f)](_0x205f9a,_0x227fc6,function(_0x4dc4c3){const _0x18f588=_0x43c7f9;_0x4dc4c3&&(_0x3b1fef[_0x18f588(0x16d)](logError,_0x18f588(0x1a9),_0x4dc4c3),_0x3b1fef['WAWIO'](_0x495417,_0x4dc4c3)),_0x3b1fef[_0x18f588(0x162)](_0x271588,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x9cac34=_0x22a0;function _0x49f8(){const _0x203252=['CctnM','set','msgSeq','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','assign','USNzm','shortId','db\x20could\x20not\x20get\x20file\x20cache','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','xkMOp','deyAd','name','27202dhsAdN','jlnRu','vTqqx','KRgtx','getFileCacheByName','msgTime','db\x20could\x20not\x20update\x20file\x20cache','getUidByTempUin','updateMsg','init','ZuSJx','记录消息到数据库,\x20消息长id:\x20','qSxlh','now','Could\x20not\x20create\x20table\x20files','FWqvd','getCurrentMaxShortId','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','addMsg','doTtO','cPfMQ','VNYcF','uQDMq','ylcxh','96TGwgQD','24zDODDp','QImju','LWRrh','3312228LZpwbf','getReceivedTempUinMap','JqkJK','TCngm','db\x20could\x20not\x20add\x20msg','清理消息缓存','Htrzb','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','catch','ITPVB',',\x20msgId:\x20','MhlBv','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','DqRPz','msgId','chatType','forEach','fNJcT','getMsgByLongId','WEHHn','msgCache','LrojV','数据库中消息最大短id','7qxsaPd','TdLtX','Ccvqc','ABCKs','CxjuJ','oJUkT','get','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','Method\x20not\x20implemented.','SHxft','SkSbd','url','OdUMX','msgList','close','Yuvmb','4oxTKAi','element','addFileCache','OPEN_CREATE','xwMww','2636424LVGXzl','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','has','addTempUin','db\x20could\x20not\x20add\x20file','getMsg','KVDfK','db\x20getMsgByLongId\x20error','2143070jKujLR','path','maxId','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','prepare','Could\x20not\x20get\x20msg','NCVHC','更新消息,\x20shortId:','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','Could\x20not\x20connect\x20to\x20database','Could\x20not\x20create\x20table\x20temp_uins','NOXCM','run','cQcWR','10xRhLTm','Wsakn','stack','then','nFiaP','iDSqv','2039367IOCbXg','wnLqC','uid','KuUjM','LNfnE','2192592xvgNsQ','6532965igrafM','uin',',\x20短id:\x20','getFileCache','getMsgsByMsgId','createTable','globalMsgShortId','ZafLP','Could\x20not\x20create\x20table\x20msgs','uuid','YBPpR','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','NCmCU','longId','nxyRB','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','size','tcYVl'];_0x49f8=function(){return _0x203252;};return _0x49f8();}(function(_0x373086,_0x16895c){const _0x262740=_0x22a0,_0x4c50b5=_0x373086();while(!![]){try{const _0x371d2c=-parseInt(_0x262740(0x114))/0x1*(parseInt(_0x262740(0xfb))/0x2)+-parseInt(_0x262740(0x165))/0x3+-parseInt(_0x262740(0x13e))/0x4*(parseInt(_0x262740(0x14b))/0x5)+parseInt(_0x262740(0x117))/0x6*(-parseInt(_0x262740(0x12e))/0x7)+parseInt(_0x262740(0x143))/0x8+parseInt(_0x262740(0x166))/0x9*(parseInt(_0x262740(0x15a))/0xa)+-parseInt(_0x262740(0x160))/0xb*(-parseInt(_0x262740(0x113))/0xc);if(_0x371d2c===_0x16895c)break;else _0x4c50b5['push'](_0x4c50b5['shift']());}catch(_0x2d8062){_0x4c50b5['push'](_0x4c50b5['shift']());}}}(_0x49f8,0x7a3c2));import _0x71f827 from'sqlite3';function _0x22a0(_0xc86938,_0x3bd31f){const _0x49f8bb=_0x49f8();return _0x22a0=function(_0x22a066,_0x4983f6){_0x22a066=_0x22a066-0xe2;let _0x314f09=_0x49f8bb[_0x22a066];return _0x314f09;},_0x22a0(_0xc86938,_0x3bd31f);}import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x9cac34(0x104)](_0x481d44){const _0x172e24={'NOXCM':function(_0x619e37,_0x2aaa94){return _0x619e37(_0x2aaa94);},'oJUkT':function(_0x5e14be){return _0x5e14be();}};if(this['db'])return;return new Promise((_0x4e4d4a,_0x2be345)=>{const _0x8b128a=_0x22a0,_0x6a0099={'NCVHC':function(_0x50a3c4,_0x151b00){const _0x152c0f=_0x22a0;return _0x172e24[_0x152c0f(0x157)](_0x50a3c4,_0x151b00);},'MhlBv':function(_0x4a3259){const _0x56da30=_0x22a0;return _0x172e24[_0x56da30(0x133)](_0x4a3259);}};this['db']=new _0x71f827['Database'](_0x481d44,_0x71f827['OPEN_READWRITE']|_0x71f827[_0x8b128a(0x141)],_0x2cf93e=>{const _0x547f59=_0x8b128a;if(_0x2cf93e){logError(_0x547f59(0x155),_0x2cf93e),_0x6a0099[_0x547f59(0x152)](_0x2be345,_0x2cf93e);return;}this['createTable'](),_0x6a0099[_0x547f59(0x122)](_0x4e4d4a);});});}['createTable'](){const _0x4d8d5c=_0x9cac34;throw new Error(_0x4d8d5c(0x136));}[_0x9cac34(0x13c)](){const _0x3c76e4=_0x9cac34;this['db']?.[_0x3c76e4(0x13c)]();}}class DBUtil extends DBUtilBase{[_0x9cac34(0x12b)]=new Map();['globalMsgShortId']=-0x7ffffff8;constructor(){const _0x21b5c5=_0x9cac34,_0x55a006={'ylcxh':function(_0x7d115d,_0x111e4e){return _0x7d115d>_0x111e4e;},'TYvrg':function(_0x93ccc2,_0x1ca665){return _0x93ccc2-_0x1ca665;},'YBPpR':function(_0x57df01,_0x461330){return _0x57df01*_0x461330;},'ZuSJx':_0x21b5c5(0x11c),'Htrzb':function(_0x53bf24,_0x1af88b){return _0x53bf24*_0x1af88b;},'KuUjM':function(_0x4e01df,_0x1bc6c6,_0xb24a66){return _0x4e01df(_0x1bc6c6,_0xb24a66);}};super();const _0x43a8be=_0x55a006['YBPpR'](_0x55a006[_0x21b5c5(0x11d)](0x3e8,0x3c),0xa);_0x55a006[_0x21b5c5(0x163)](setInterval,()=>{const _0x24ee5d=_0x21b5c5;logDebug(_0x55a006[_0x24ee5d(0x105)]),this[_0x24ee5d(0x12b)][_0x24ee5d(0x127)]((_0x1673d7,_0x1557c3)=>{const _0x4a59ed=_0x24ee5d;_0x55a006[_0x4a59ed(0x112)](_0x55a006['TYvrg'](Date[_0x4a59ed(0x108)](),_0x55a006[_0x4a59ed(0xe6)](parseInt(_0x1673d7[_0x4a59ed(0x100)]),0x3e8)),_0x43a8be)&&this['msgCache']['delete'](_0x1557c3);});},_0x43a8be);}async[_0x9cac34(0x104)](_0x354136){const _0x2fdba=_0x9cac34;await super[_0x2fdba(0x104)](_0x354136),this[_0x2fdba(0xe2)]=await this[_0x2fdba(0x10b)]();}[_0x9cac34(0x16b)](){const _0xcc8ec8=_0x9cac34,_0x3d30c4={'nFiaP':function(_0x5980c1,_0x477edc,_0x287afe){return _0x5980c1(_0x477edc,_0x287afe);},'CctnM':_0xcc8ec8(0xe4),'WEHHn':_0xcc8ec8(0x109),'qSxlh':_0xcc8ec8(0x156)},_0x2f06b0='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)';this['db'][_0xcc8ec8(0x158)](_0x2f06b0,function(_0x55a7ec){const _0x5a02bb=_0xcc8ec8;_0x55a7ec&&_0x3d30c4['nFiaP'](logError,_0x3d30c4[_0x5a02bb(0xef)],_0x55a7ec[_0x5a02bb(0x15c)]);});const _0x2575b6=_0xcc8ec8(0x144);this['db'][_0xcc8ec8(0x158)](_0x2575b6,function(_0x1510a6){const _0x7d1ab0=_0xcc8ec8;_0x1510a6&&_0x3d30c4[_0x7d1ab0(0x15e)](logError,_0x3d30c4[_0x7d1ab0(0x12a)],_0x1510a6);});const _0x19060b=_0xcc8ec8(0x14f);this['db'][_0xcc8ec8(0x158)](_0x19060b,function(_0x5d7872){const _0x2c6d49=_0xcc8ec8;_0x5d7872&&_0x3d30c4[_0x2c6d49(0x15e)](logError,_0x3d30c4[_0x2c6d49(0x107)],_0x5d7872);});}async[_0x9cac34(0x10b)](){const _0x1a3f9b=_0x9cac34,_0x1a2db4={'OdUMX':_0x1a3f9b(0x14e),'fNJcT':function(_0x35f68c,_0x233b7d){return _0x35f68c(_0x233b7d);},'QImju':_0x1a3f9b(0xf2)};return new Promise((_0x2dcebc,_0x362ddd)=>{const _0x42502a=_0x1a3f9b,_0x139834={'Cfdfo':_0x1a2db4[_0x42502a(0x13a)],'wnLqC':function(_0x1ca78e,_0x37d147){const _0x3b0acd=_0x42502a;return _0x1a2db4[_0x3b0acd(0x128)](_0x1ca78e,_0x37d147);},'cPfMQ':function(_0x293be3,_0x20b32e,_0x2efec7){return _0x293be3(_0x20b32e,_0x2efec7);}};this['db'][_0x42502a(0x134)](_0x1a2db4[_0x42502a(0x115)],(_0x3a0969,_0x159e7c)=>{const _0x31a779=_0x42502a;if(_0x3a0969)return logDebug(_0x139834['Cfdfo'],_0x3a0969),_0x139834[_0x31a779(0x161)](_0x2dcebc,-0x7ffffff8);_0x139834[_0x31a779(0x10f)](logDebug,_0x31a779(0x12d),_0x159e7c?.[_0x31a779(0x14d)]),_0x2dcebc(_0x159e7c?.['maxId']??-0x7ffffff8);});});}async[_0x9cac34(0x148)](_0x286d23,_0x392c5c){const _0x587a5b=_0x9cac34,_0x53664d={'Wsakn':function(_0x234cae,_0x49ddf9,_0x2dc00e,_0x19caa2,_0x5a0249){return _0x234cae(_0x49ddf9,_0x2dc00e,_0x19caa2,_0x5a0249);},'tcYVl':function(_0x73d1f4,_0x2a2d26){return _0x73d1f4(_0x2a2d26);},'SHxft':function(_0x178d9b,_0x56d969){return _0x178d9b(_0x56d969);},'VNYcF':function(_0x35015f,_0x112fae){return _0x35015f(_0x112fae);}},_0x398002=this['db'][_0x587a5b(0x150)](_0x286d23);return new Promise((_0x5d5468,_0x5c90eb)=>{const _0x30b041={'ABCKs':function(_0x5b9557,_0x40262d){const _0x676b2e=_0x22a0;return _0x53664d[_0x676b2e(0x137)](_0x5b9557,_0x40262d);},'xkMOp':function(_0x2a0230,_0x1348f0){const _0x4a8f04=_0x22a0;return _0x53664d[_0x4a8f04(0x110)](_0x2a0230,_0x1348f0);}};_0x398002['get'](..._0x392c5c,(_0x4ab920,_0x2d1b48)=>{const _0x30592c=_0x22a0;if(_0x4ab920)return _0x53664d[_0x30592c(0x15b)](logError,_0x30592c(0x151),_0x4ab920,_0x286d23,_0x392c5c),_0x53664d[_0x30592c(0xee)](_0x5d5468,null);if(!_0x2d1b48){_0x53664d[_0x30592c(0x137)](_0x5d5468,null);return;}const _0xa14913=_0x2d1b48[_0x30592c(0xea)];NTQQMsgApi[_0x30592c(0x16a)]({'peerUid':_0x2d1b48['peerUid'],'chatType':_0x2d1b48[_0x30592c(0x126)]},[_0xa14913])[_0x30592c(0x15d)](_0x3a4cf8=>{const _0x1ce192=_0x30592c,_0x17048f=_0x3a4cf8[_0x1ce192(0x13b)][0x0];if(!_0x17048f){_0x30b041[_0x1ce192(0x131)](_0x5d5468,null);return;}_0x17048f['id']=_0x2d1b48[_0x1ce192(0xf5)],_0x30b041[_0x1ce192(0xf8)](_0x5d5468,_0x17048f);})[_0x30592c(0x11f)](_0x465429=>{_0x30b041['xkMOp'](_0x5d5468,null);});});});}async['getMsgByShortId'](_0x2cf764){const _0x4e6054=_0x9cac34,_0xf31aa5={'xwMww':_0x4e6054(0x10c)};if(this['msgCache'][_0x4e6054(0x145)](_0x2cf764))return this[_0x4e6054(0x12b)][_0x4e6054(0x134)](_0x2cf764);const _0x28e1ae=_0xf31aa5[_0x4e6054(0x142)];return this[_0x4e6054(0x148)](_0x28e1ae,[_0x2cf764]);}async[_0x9cac34(0x129)](_0x4ecb9b){const _0x524c0d=_0x9cac34;if(this[_0x524c0d(0x12b)][_0x524c0d(0x145)](_0x4ecb9b))return this[_0x524c0d(0x12b)][_0x524c0d(0x134)](_0x4ecb9b);return this[_0x524c0d(0x148)]('SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?',[_0x4ecb9b]);}async['getMsgBySeq'](_0x4ea96f,_0x3e5d2e){const _0x5f131d=_0x9cac34,_0x4311f2={'USNzm':_0x5f131d(0xe7)},_0x65ff8e=_0x4311f2[_0x5f131d(0xf4)];return this['getMsg'](_0x65ff8e,[_0x4ea96f,_0x3e5d2e]);}async[_0x9cac34(0x10d)](_0x56f4b1,_0x1ec8a5=!![]){const _0x4a092f=_0x9cac34,_0x479ce3={'uaSbC':_0x4a092f(0xf7),'uQDMq':function(_0xb1d3db,_0x292216){return _0xb1d3db===_0x292216;},'vTqqx':_0x4a092f(0x11b),'NCmCU':'INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','qXGFj':function(_0x195620,_0x482b6a){return _0x195620(_0x482b6a);}},_0x17f3a4=await this[_0x4a092f(0x129)](_0x56f4b1['msgId']);if(_0x17f3a4){if(_0x1ec8a5)this[_0x4a092f(0x103)](_0x56f4b1)[_0x4a092f(0x15d)]();return _0x17f3a4['id'];}const _0x5f4c17=this['db'][_0x4a092f(0x150)](_0x479ce3[_0x4a092f(0xe9)]),_0x2aa5d0=++this[_0x4a092f(0xe2)];return _0x56f4b1['id']=_0x2aa5d0,_0x479ce3['qXGFj'](logDebug,_0x4a092f(0x106)+_0x56f4b1[_0x4a092f(0x125)]+_0x4a092f(0x168)+_0x56f4b1['id']),this[_0x4a092f(0x12b)][_0x4a092f(0xf0)](_0x2aa5d0,_0x56f4b1),this['msgCache']['set'](_0x56f4b1[_0x4a092f(0x125)],_0x56f4b1),_0x5f4c17[_0x4a092f(0x158)](this[_0x4a092f(0xe2)],_0x56f4b1[_0x4a092f(0x125)],_0x56f4b1[_0x4a092f(0xf1)]['toString'](),_0x56f4b1['peerUid'],_0x56f4b1[_0x4a092f(0x126)],_0x898008=>{const _0x3a73d2=_0x4a092f,_0x378f81={'uoEHB':_0x479ce3['uaSbC']};_0x898008&&(_0x479ce3[_0x3a73d2(0x111)](_0x898008['errno'],0x13)?this[_0x3a73d2(0x129)](_0x56f4b1[_0x3a73d2(0x125)])[_0x3a73d2(0x15d)](_0x145226=>{const _0x4cb836=_0x3a73d2;_0x145226?(this[_0x4cb836(0x12b)][_0x4cb836(0xf0)](_0x2aa5d0,_0x145226),this[_0x4cb836(0x12b)][_0x4cb836(0xf0)](_0x145226['msgId'],_0x145226)):logError(_0x378f81['uoEHB'],_0x898008);})['catch'](_0x1fc4ce=>logError(_0x3a73d2(0x14a),_0x1fc4ce)):logError(_0x479ce3[_0x3a73d2(0xfd)],_0x898008));}),_0x2aa5d0;}async[_0x9cac34(0x103)](_0x27a7ed){const _0xb6a08a=_0x9cac34,_0x4992f8={'nxyRB':'updateMsg\x20db\x20error'},_0x55a416=this['msgCache'][_0xb6a08a(0x134)](_0x27a7ed[_0xb6a08a(0x125)]);_0x55a416&&Object[_0xb6a08a(0xf3)](_0x55a416,_0x27a7ed);logDebug(_0xb6a08a(0x153)+_0x27a7ed['id']+',\x20seq:\x20'+_0x27a7ed[_0xb6a08a(0xf1)]+_0xb6a08a(0x121)+_0x27a7ed[_0xb6a08a(0x125)]);const _0x7d474f=this['db'][_0xb6a08a(0x150)](_0xb6a08a(0x154));_0x7d474f['run'](_0x27a7ed[_0xb6a08a(0xf1)],_0x27a7ed['msgId'],_0x5acfdc=>{const _0x51b378=_0xb6a08a;_0x5acfdc&&logError(_0x4992f8[_0x51b378(0xeb)],_0x5acfdc);});}async[_0x9cac34(0x140)](_0x4bff23){const _0x5d8799=_0x9cac34,_0x20271c={'doTtO':_0x5d8799(0x147),'SkSbd':function(_0x5248eb,_0x2c1eb5){return _0x5248eb(_0x2c1eb5);},'TCngm':function(_0x57cee8,_0x3c6db1){return _0x57cee8(_0x3c6db1);},'JqkJK':'INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)'},_0x40b6a7=this['db'][_0x5d8799(0x150)](_0x20271c[_0x5d8799(0x119)]);return new Promise((_0x329de4,_0x178dff)=>{const _0x2afa7b=_0x5d8799;_0x40b6a7[_0x2afa7b(0x158)](_0x4bff23[_0x2afa7b(0xfa)],_0x4bff23[_0x2afa7b(0x14c)],_0x4bff23[_0x2afa7b(0x139)],_0x4bff23[_0x2afa7b(0xed)],_0x4bff23[_0x2afa7b(0xe5)],_0x4bff23['elementType'],JSON['stringify'](_0x4bff23[_0x2afa7b(0x13f)]),_0x4bff23['elementId'],_0x4bff23[_0x2afa7b(0x125)],function(_0x40e783){const _0x5389ac=_0x2afa7b;_0x40e783&&(logError(_0x20271c[_0x5389ac(0x10e)],_0x40e783),_0x20271c[_0x5389ac(0x138)](_0x178dff,_0x40e783)),_0x20271c[_0x5389ac(0x11a)](_0x329de4,null);});});}async[_0x9cac34(0x169)](_0x320c45,_0x35e9a9){const _0x54d971={'DqRPz':function(_0x3b41c7,_0x23ae8f,_0x39e0c7){return _0x3b41c7(_0x23ae8f,_0x39e0c7);},'ZafLP':function(_0x3ecaab,_0x2abe4f){return _0x3ecaab(_0x2abe4f);}},_0x422879=this['db']['prepare'](_0x320c45);return new Promise((_0x45729b,_0x33783b)=>{const _0x41baa6=_0x22a0;_0x422879[_0x41baa6(0x134)](..._0x35e9a9,(_0x5de3e1,_0x383b5e)=>{const _0x2fce35=_0x41baa6;_0x5de3e1&&(_0x54d971[_0x2fce35(0x124)](logError,_0x2fce35(0xf6),_0x5de3e1),_0x54d971[_0x2fce35(0xe3)](_0x33783b,_0x5de3e1)),_0x383b5e&&(_0x383b5e[_0x2fce35(0x13f)]=JSON['parse'](_0x383b5e[_0x2fce35(0x13f)])),_0x54d971[_0x2fce35(0xe3)](_0x45729b,_0x383b5e);});});}async[_0x9cac34(0xff)](_0x1c918f){const _0x5cc46e=_0x9cac34,_0x450770={'LWRrh':_0x5cc46e(0xe8)};return this[_0x5cc46e(0x169)](_0x450770[_0x5cc46e(0x116)],[_0x1c918f]);}async['getFileCacheByUuid'](_0x554e12){const _0x3854f7=_0x9cac34,_0x13cc95={'cQcWR':_0x3854f7(0xec)};return this['getFileCache'](_0x13cc95[_0x3854f7(0x159)],[_0x554e12]);}async['updateFileCache'](_0x1bf11b){const _0x59da5b=_0x9cac34,_0x4803d7={'LrojV':_0x59da5b(0x101),'Ccvqc':function(_0x2bed5d,_0x2339c0){return _0x2bed5d(_0x2339c0);},'AqfOf':_0x59da5b(0x123)},_0x5b6a6f=this['db'][_0x59da5b(0x150)](_0x4803d7['AqfOf']);return new Promise((_0x5c2c40,_0x232758)=>{const _0x4893fd=_0x59da5b,_0x23086b={'Yuvmb':function(_0x4a38a0,_0x338251,_0x16c12c){return _0x4a38a0(_0x338251,_0x16c12c);},'KVDfK':_0x4803d7[_0x4893fd(0x12c)],'SPJxm':function(_0x218f52,_0x1207f4){const _0x1c5311=_0x4893fd;return _0x4803d7[_0x1c5311(0x130)](_0x218f52,_0x1207f4);}};_0x5b6a6f[_0x4893fd(0x158)](_0x1bf11b[_0x4893fd(0x14c)],_0x1bf11b['url'],_0x1bf11b[_0x4893fd(0xe5)],function(_0x4eadf3){const _0x378f95=_0x4893fd;_0x4eadf3&&(_0x23086b[_0x378f95(0x13d)](logError,_0x23086b[_0x378f95(0x149)],_0x4eadf3),_0x23086b['SPJxm'](_0x232758,_0x4eadf3)),_0x23086b['SPJxm'](_0x5c2c40,null);});});}async[_0x9cac34(0x118)](){const _0x13d35d=_0x9cac34,_0x15a819={'KRgtx':function(_0x371100,_0x5d6e33,_0x128478){return _0x371100(_0x5d6e33,_0x128478);},'TdLtX':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','jlnRu':function(_0x311e0a,_0x41e43c){return _0x311e0a(_0x41e43c);},'CxjuJ':'SELECT\x20*\x20FROM\x20temp_uins'},_0x22aa14=_0x15a819[_0x13d35d(0x132)];return new Promise((_0x16fe8b,_0x178b81)=>{this['db']['all'](_0x22aa14,(_0x322928,_0x3a7eb5)=>{const _0x5d226c=_0x22a0;_0x322928&&(_0x15a819[_0x5d226c(0xfe)](logError,_0x15a819[_0x5d226c(0x12f)],_0x322928),_0x15a819[_0x5d226c(0xfc)](_0x178b81,_0x322928));const _0x148f87={};_0x3a7eb5[_0x5d226c(0x127)](_0x595ea0=>{const _0x2d3402=_0x5d226c;_0x148f87[_0x595ea0[_0x2d3402(0x167)]]=_0x595ea0[_0x2d3402(0x162)];}),_0x16fe8b(_0x148f87);});});}async[_0x9cac34(0x102)](_0x2d6c11){const _0x35435c=_0x9cac34,_0x4a43d4={'ITPVB':function(_0x4782c4,_0x2284ba,_0x581d11){return _0x4782c4(_0x2284ba,_0x581d11);},'RgqzA':function(_0x5b0d37,_0x546bff){return _0x5b0d37(_0x546bff);},'iDSqv':function(_0x313695,_0x543122){return _0x313695(_0x543122);}},_0x16ef6a=_0x35435c(0x135);return new Promise((_0x5558df,_0x1149cd)=>{this['db']['get'](_0x16ef6a,[_0x2d6c11],(_0x2574da,_0x8719a8)=>{const _0x37d0b6=_0x22a0;_0x2574da&&(_0x4a43d4[_0x37d0b6(0x120)](logError,'db\x20could\x20not\x20get\x20temp\x20uin\x20map',_0x2574da),_0x4a43d4['RgqzA'](_0x1149cd,_0x2574da)),_0x4a43d4[_0x37d0b6(0x15f)](_0x5558df,_0x8719a8?.[_0x37d0b6(0x162)]);});});}async[_0x9cac34(0x146)](_0x45016f,_0x29b8dd){const _0x2c7624=_0x9cac34,_0x19c6b6={'TaFAv':function(_0x5b4119,_0x44c584,_0x56894f){return _0x5b4119(_0x44c584,_0x56894f);},'ESoTt':'db\x20could\x20not\x20add\x20temp\x20uin','EnbAZ':function(_0x33d3f5,_0x17de32){return _0x33d3f5(_0x17de32);},'FWqvd':_0x2c7624(0x11e)},_0x4a381a=await this['getUidByTempUin'](_0x45016f);if(!_0x4a381a){const _0x40bc49=this['db'][_0x2c7624(0x150)](_0x19c6b6[_0x2c7624(0x10a)]);return new Promise((_0x382a60,_0x3f567a)=>{const _0x25f04e=_0x2c7624,_0x3c32b2={'WpqVr':function(_0x55e93c,_0x22f11c,_0xf58701){return _0x19c6b6['TaFAv'](_0x55e93c,_0x22f11c,_0xf58701);},'deyAd':_0x19c6b6['ESoTt'],'LNfnE':function(_0x3c74d3,_0x224612){return _0x19c6b6['EnbAZ'](_0x3c74d3,_0x224612);}};_0x40bc49[_0x25f04e(0x158)](_0x45016f,_0x29b8dd,function(_0x2fb279){const _0x19489e=_0x25f04e;_0x2fb279&&(_0x3c32b2['WpqVr'](logError,_0x3c32b2[_0x19489e(0xf9)],_0x2fb279),_0x3f567a(_0x2fb279)),_0x3c32b2[_0x19489e(0x164)](_0x382a60,null);});});}}}export const dbUtil=new DBUtil(); \ 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 730dad39..0a3db482 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x2a4f1c=_0x4a9e;(function(_0x4e3e4b,_0xd41216){const _0x24d712=_0x4a9e,_0xe86dde=_0x4e3e4b();while(!![]){try{const _0x53b746=-parseInt(_0x24d712(0x18d))/0x1+parseInt(_0x24d712(0x181))/0x2+-parseInt(_0x24d712(0x182))/0x3*(-parseInt(_0x24d712(0x18b))/0x4)+-parseInt(_0x24d712(0x17e))/0x5*(-parseInt(_0x24d712(0x186))/0x6)+-parseInt(_0x24d712(0x183))/0x7+parseInt(_0x24d712(0x17a))/0x8*(parseInt(_0x24d712(0x17f))/0x9)+-parseInt(_0x24d712(0x184))/0xa;if(_0x53b746===_0xd41216)break;else _0xe86dde['push'](_0xe86dde['shift']());}catch(_0x1e13c2){_0xe86dde['push'](_0xe86dde['shift']());}}}(_0x187f,0x7ef8c));function _0x187f(){const _0x536278=['获取rkey失败','HttpGetJson','55XmZZcG','18sHZIsE','nFQbS','1515188ErwCng','9KXpusz','1560062TEVIJa','4126400qSZceh','http://napcat-sign.wumiao.wang:2082/rkey','187806MBCXWr','UrxXW','expired_time','serverUrl','GET','1029892DkvFDC','refreshRkey','1033904KHUExX','sIHFi','isExpired','1260648FlrOVJ','rkeyData'];_0x187f=function(){return _0x536278;};return _0x187f();}function _0x4a9e(_0x3b39e2,_0x2d3455){const _0x187f25=_0x187f();return _0x4a9e=function(_0x4a9e4f,_0x3331ee){_0x4a9e4f=_0x4a9e4f-0x17a;let _0x3ae00c=_0x187f25[_0x4a9e4f];return _0x3ae00c;},_0x4a9e(_0x3b39e2,_0x2d3455);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x2a4f1c(0x189)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x5babe1){this['serverUrl']=_0x5babe1;}async['getRkey'](){const _0x13b761=_0x2a4f1c,_0x6dbe10={'nFQbS':_0x13b761(0x17c)};if(this[_0x13b761(0x18f)]())try{await this[_0x13b761(0x18c)]();}catch(_0x44e80e){logError(_0x6dbe10[_0x13b761(0x180)],_0x44e80e);}return this[_0x13b761(0x17b)];}[_0x2a4f1c(0x18f)](){const _0x4ed20b=_0x2a4f1c,_0x1c45ff={'sIHFi':function(_0xb7116b,_0x1a3600){return _0xb7116b/_0x1a3600;},'UrxXW':function(_0x591e52,_0x5d2fdc){return _0x591e52>_0x5d2fdc;}},_0x1fc41f=_0x1c45ff[_0x4ed20b(0x18e)](new Date()['getTime'](),0x3e8);return _0x1c45ff[_0x4ed20b(0x187)](_0x1fc41f,this[_0x4ed20b(0x17b)][_0x4ed20b(0x188)]);}async[_0x2a4f1c(0x18c)](){const _0x135896=_0x2a4f1c;this[_0x135896(0x17b)]=await RequestUtil[_0x135896(0x17d)](this[_0x135896(0x189)],_0x135896(0x18a));}}export const rkeyManager=new RkeyManager(_0x2a4f1c(0x185)); \ No newline at end of file +const _0x591b2a=_0x38cc;(function(_0x5a81ad,_0x452c5e){const _0x5c11f6=_0x38cc,_0x177546=_0x5a81ad();while(!![]){try{const _0x152bdb=-parseInt(_0x5c11f6(0xc4))/0x1+-parseInt(_0x5c11f6(0xcc))/0x2+-parseInt(_0x5c11f6(0xc7))/0x3*(-parseInt(_0x5c11f6(0xc8))/0x4)+parseInt(_0x5c11f6(0xd3))/0x5+parseInt(_0x5c11f6(0xd5))/0x6+-parseInt(_0x5c11f6(0xce))/0x7+-parseInt(_0x5c11f6(0xca))/0x8;if(_0x152bdb===_0x452c5e)break;else _0x177546['push'](_0x177546['shift']());}catch(_0x3de495){_0x177546['push'](_0x177546['shift']());}}}(_0x8506,0x5eec3));import{logError}from'@/common/utils/log';function _0x8506(){const _0x185007=['brFCF','2060miSpYy','IMHOA','70077dMJdEN','isExpired','GET','refreshRkey','http://napcat-sign.wumiao.wang:2082/rkey','2820355HvuPaY','getTime','3669246kPTgfO','AOPCE','serverUrl','747662oGvFaS','rkeyData','ZPXrn','3hIhGGR','809348jTsnJp','sBWMh','1843544GpeOww'];_0x8506=function(){return _0x185007;};return _0x8506();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x591b2a(0xc5)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x529008){this['serverUrl']=_0x529008;}async['getRkey'](){const _0x448257=_0x591b2a,_0x97b4cc={'sBWMh':function(_0x5affca,_0x1ccb76,_0x5259ff){return _0x5affca(_0x1ccb76,_0x5259ff);},'ZPXrn':'获取rkey失败'};if(this['isExpired']())try{await this[_0x448257(0xd1)]();}catch(_0x4e924d){_0x97b4cc[_0x448257(0xc9)](logError,_0x97b4cc[_0x448257(0xc6)],_0x4e924d);}return this[_0x448257(0xc5)];}[_0x591b2a(0xcf)](){const _0x27d1c4=_0x591b2a,_0x13016d={'IMHOA':function(_0xfb8961,_0x509cb9){return _0xfb8961/_0x509cb9;},'AOPCE':function(_0x31ae94,_0x146d2e){return _0x31ae94>_0x146d2e;}},_0x1b8ad=_0x13016d[_0x27d1c4(0xcd)](new Date()[_0x27d1c4(0xd4)](),0x3e8);return _0x13016d[_0x27d1c4(0xd6)](_0x1b8ad,this[_0x27d1c4(0xc5)]['expired_time']);}async[_0x591b2a(0xd1)](){const _0x24f173=_0x591b2a,_0x3cb37b={'brFCF':_0x24f173(0xd0)};this['rkeyData']=await RequestUtil['HttpGetJson'](this[_0x24f173(0xc3)],_0x3cb37b[_0x24f173(0xcb)]);}}function _0x38cc(_0x1bed4a,_0x267e61){const _0x8506d2=_0x8506();return _0x38cc=function(_0x38ccea,_0x46605d){_0x38ccea=_0x38ccea-0xc3;let _0x426400=_0x8506d2[_0x38ccea];return _0x426400;},_0x38cc(_0x1bed4a,_0x267e61);}export const rkeyManager=new RkeyManager(_0x591b2a(0xd2)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 54b85ad1..b1d5105a 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x4d56a5=_0x3c6f;(function(_0x1e357e,_0x232e2b){const _0x1358d6=_0x3c6f,_0x24b0de=_0x1e357e();while(!![]){try{const _0x45dbff=-parseInt(_0x1358d6(0x1c6))/0x1+parseInt(_0x1358d6(0x1d0))/0x2*(parseInt(_0x1358d6(0x1d1))/0x3)+-parseInt(_0x1358d6(0x1ce))/0x4+parseInt(_0x1358d6(0x1cb))/0x5+-parseInt(_0x1358d6(0x1cd))/0x6+-parseInt(_0x1358d6(0x1c8))/0x7+parseInt(_0x1358d6(0x1d2))/0x8;if(_0x45dbff===_0x232e2b)break;else _0x24b0de['push'](_0x24b0de['shift']());}catch(_0x3814b8){_0x24b0de['push'](_0x24b0de['shift']());}}}(_0x8b6a,0x913a5));import _0x5ebf88 from'node:path';import _0x46c019 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x5ebf88['resolve'](_0x5ebf88[_0x4d56a5(0x1ca)](process[_0x4d56a5(0x1cf)]),'./resources/app/wrapper.node');!_0x46c019['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x5ebf88[_0x4d56a5(0x1cc)](_0x5ebf88[_0x4d56a5(0x1ca)](process[_0x4d56a5(0x1cf)]),_0x4d56a5(0x1c7)+qqVersionConfigInfo['curVersion']+_0x4d56a5(0x1c9)));function _0x8b6a(){const _0x519b36=['4204620lpiUMy','join','2033538GcyZPP','4470988vNmyem','execPath','12944YHMZkJ','432xzvDJr','15174824mzlVIn','477458KVmZOh','resources/app/versions/','7985348usLlmT','/wrapper.node','dirname'];_0x8b6a=function(){return _0x519b36;};return _0x8b6a();}function _0x3c6f(_0x394e8f,_0x2dd78b){const _0x8b6ac6=_0x8b6a();return _0x3c6f=function(_0x3c6fda,_0x142864){_0x3c6fda=_0x3c6fda-0x1c6;let _0x2be672=_0x8b6ac6[_0x3c6fda];return _0x2be672;},_0x3c6f(_0x394e8f,_0x2dd78b);}const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +const _0x4fa59=_0x3c43;(function(_0x56584b,_0xcb2ed5){const _0x57c9cf=_0x3c43,_0x1c6081=_0x56584b();while(!![]){try{const _0x24f8ce=-parseInt(_0x57c9cf(0x11b))/0x1+parseInt(_0x57c9cf(0x115))/0x2*(parseInt(_0x57c9cf(0x11c))/0x3)+parseInt(_0x57c9cf(0x117))/0x4*(parseInt(_0x57c9cf(0x10f))/0x5)+-parseInt(_0x57c9cf(0x116))/0x6*(parseInt(_0x57c9cf(0x111))/0x7)+-parseInt(_0x57c9cf(0x10b))/0x8+-parseInt(_0x57c9cf(0x10d))/0x9*(-parseInt(_0x57c9cf(0x113))/0xa)+parseInt(_0x57c9cf(0x11d))/0xb*(parseInt(_0x57c9cf(0x114))/0xc);if(_0x24f8ce===_0xcb2ed5)break;else _0x1c6081['push'](_0x1c6081['shift']());}catch(_0x5c6c3b){_0x1c6081['push'](_0x1c6081['shift']());}}}(_0x4beb,0x8f1bf));import _0x262a20 from'node:path';import _0x1dbeb4 from'node:fs';function _0x4beb(){const _0x11ffab=['execPath','existsSync','722488YbtFEd','14073ocPdRi','11heOaFy','6595952LYTHae','resolve','45JZYLeo','./resources/app/wrapper.node','5161165LGZNHq','/wrapper.node','230258KfVPzN','dirname','1129340kRsWwM','13322508XAmNSh','162ymdoHh','174vkHCaG','4hMujEI','resources/app/versions/'];_0x4beb=function(){return _0x11ffab;};return _0x4beb();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x262a20[_0x4fa59(0x10c)](_0x262a20[_0x4fa59(0x112)](process['execPath']),_0x4fa59(0x10e));!_0x1dbeb4[_0x4fa59(0x11a)](wrapperNodePath)&&(wrapperNodePath=_0x262a20['join'](_0x262a20[_0x4fa59(0x112)](process[_0x4fa59(0x119)]),_0x4fa59(0x118)+qqVersionConfigInfo['curVersion']+_0x4fa59(0x110)));const QQWrapper=require(wrapperNodePath);function _0x3c43(_0xc7b0d5,_0x585353){const _0x4bebd5=_0x4beb();return _0x3c43=function(_0x3c4371,_0x3c6773){_0x3c4371=_0x3c4371-0x10b;let _0x411b3d=_0x4bebd5[_0x3c4371];return _0x411b3d;},_0x3c43(_0xc7b0d5,_0x585353);}export default QQWrapper; \ No newline at end of file