diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 1439ed02..db8624a4 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x110c(_0x595c86,_0x3139aa){var _0x231f02=_0x231f();return _0x110c=function(_0x110c74,_0x947c84){_0x110c74=_0x110c74-0x12b;var _0x446eec=_0x231f02[_0x110c74];return _0x446eec;},_0x110c(_0x595c86,_0x3139aa);}var _0x49ff0e=_0x110c;function _0x231f(){var _0x4dbc2c=['1663227JahliD','884005WwCKyk','14169872qMTvut','2226918fTonYN','6qErjHk','9880182MifjsP','getGroupCode','8660519TRuqEQ','3325905KQdLdW','onMSFStatusChange','onMSFSsoError','4jCSCeS'];_0x231f=function(){return _0x4dbc2c;};return _0x231f();}(function(_0x3f58f7,_0x38bc32){var _0x48df50=_0x110c,_0x10b658=_0x3f58f7();while(!![]){try{var _0x3ad331=-parseInt(_0x48df50(0x130))/0x1+parseInt(_0x48df50(0x132))/0x2+-parseInt(_0x48df50(0x12f))/0x3+parseInt(_0x48df50(0x12e))/0x4*(parseInt(_0x48df50(0x12b))/0x5)+-parseInt(_0x48df50(0x133))/0x6*(-parseInt(_0x48df50(0x136))/0x7)+-parseInt(_0x48df50(0x131))/0x8+parseInt(_0x48df50(0x134))/0x9;if(_0x3ad331===_0x38bc32)break;else _0x10b658['push'](_0x10b658['shift']());}catch(_0x6c713f){_0x10b658['push'](_0x10b658['shift']());}}}(_0x231f,0xdcb47));export class DependsAdapter{[_0x49ff0e(0x12c)](_0x29f6ba,_0x4c9bad){}[_0x49ff0e(0x12d)](_0x3128a6){}[_0x49ff0e(0x135)](_0x16f272){}} \ No newline at end of file +var _0x4a2dd5=_0x12f4;function _0x12f4(_0x4f7dce,_0x480131){var _0x547d83=_0x547d();return _0x12f4=function(_0x12f42f,_0x334fdd){_0x12f42f=_0x12f42f-0x1cb;var _0x3310f6=_0x547d83[_0x12f42f];return _0x3310f6;},_0x12f4(_0x4f7dce,_0x480131);}(function(_0x9627ef,_0x2bdc4c){var _0x3f5c0b=_0x12f4,_0x5bc9a4=_0x9627ef();while(!![]){try{var _0x556f14=parseInt(_0x3f5c0b(0x1d4))/0x1*(-parseInt(_0x3f5c0b(0x1d3))/0x2)+parseInt(_0x3f5c0b(0x1d2))/0x3*(parseInt(_0x3f5c0b(0x1d7))/0x4)+-parseInt(_0x3f5c0b(0x1cc))/0x5*(-parseInt(_0x3f5c0b(0x1d1))/0x6)+parseInt(_0x3f5c0b(0x1d0))/0x7+-parseInt(_0x3f5c0b(0x1d5))/0x8*(parseInt(_0x3f5c0b(0x1cd))/0x9)+-parseInt(_0x3f5c0b(0x1d9))/0xa*(-parseInt(_0x3f5c0b(0x1ce))/0xb)+-parseInt(_0x3f5c0b(0x1d8))/0xc;if(_0x556f14===_0x2bdc4c)break;else _0x5bc9a4['push'](_0x5bc9a4['shift']());}catch(_0x559019){_0x5bc9a4['push'](_0x5bc9a4['shift']());}}}(_0x547d,0x4b59c));export class DependsAdapter{[_0x4a2dd5(0x1d6)](_0x2e3fe8,_0x39c8a2){}[_0x4a2dd5(0x1cf)](_0x34d16e){}[_0x4a2dd5(0x1cb)](_0x104a00){}}function _0x547d(){var _0x4e70b8=['15198348kbkZdd','4618720hiFSGe','getGroupCode','10RIIEqo','963hJDrHe','11cuwaTr','onMSFSsoError','1973643mhShYL','1295832JrGnte','67674WuMgex','20992AJscdr','16mTDfYR','3120SgHmrF','onMSFStatusChange','108mHyias'];_0x547d=function(){return _0x4e70b8;};return _0x547d();} \ 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 938f874e..97462d43 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x597d3c=_0x42fb;(function(_0xfdb4bc,_0x14dfce){var _0x317290=_0x42fb,_0x5aa869=_0xfdb4bc();while(!![]){try{var _0x4db1e8=-parseInt(_0x317290(0x14d))/0x1*(parseInt(_0x317290(0x14b))/0x2)+parseInt(_0x317290(0x14f))/0x3*(parseInt(_0x317290(0x14c))/0x4)+-parseInt(_0x317290(0x149))/0x5+parseInt(_0x317290(0x155))/0x6*(parseInt(_0x317290(0x154))/0x7)+parseInt(_0x317290(0x152))/0x8*(parseInt(_0x317290(0x14a))/0x9)+-parseInt(_0x317290(0x156))/0xa+parseInt(_0x317290(0x150))/0xb*(-parseInt(_0x317290(0x153))/0xc);if(_0x4db1e8===_0x14dfce)break;else _0x5aa869['push'](_0x5aa869['shift']());}catch(_0x1f7bb8){_0x5aa869['push'](_0x5aa869['shift']());}}}(_0x21f1,0x96543));function _0x21f1(){var _0x95eeb6=['12xsNOfr','4109147rlNaqd','6wcuPVp','579710SRsakU','573350eJMGOQ','711MxGdxG','1738PgUAay','11612xAPBve','30PuyngM','dispatchCallWithJson','522UMrcBb','10905081TetBRQ','dispatchRequest','72272FIzmAS'];_0x21f1=function(){return _0x95eeb6;};return _0x21f1();}function _0x42fb(_0x242efc,_0x42c784){var _0x21f172=_0x21f1();return _0x42fb=function(_0x42fb91,_0x1def1f){_0x42fb91=_0x42fb91-0x149;var _0x4541f3=_0x21f172[_0x42fb91];return _0x4541f3;},_0x42fb(_0x242efc,_0x42c784);}export class DispatcherAdapter{[_0x597d3c(0x151)](_0x5a3340){}['dispatchCall'](_0x46cb04){}[_0x597d3c(0x14e)](_0x113a9f){}} \ No newline at end of file +var _0x407b46=_0x1833;(function(_0x516f63,_0x1b3b0a){var _0x381bfc=_0x1833,_0x409fe0=_0x516f63();while(!![]){try{var _0x2be90d=-parseInt(_0x381bfc(0x100))/0x1+parseInt(_0x381bfc(0x10a))/0x2+parseInt(_0x381bfc(0x101))/0x3+-parseInt(_0x381bfc(0x109))/0x4*(parseInt(_0x381bfc(0x107))/0x5)+-parseInt(_0x381bfc(0x10b))/0x6*(-parseInt(_0x381bfc(0x106))/0x7)+-parseInt(_0x381bfc(0x102))/0x8*(-parseInt(_0x381bfc(0x104))/0x9)+parseInt(_0x381bfc(0x108))/0xa;if(_0x2be90d===_0x1b3b0a)break;else _0x409fe0['push'](_0x409fe0['shift']());}catch(_0x183fce){_0x409fe0['push'](_0x409fe0['shift']());}}}(_0x178b,0xc80ab));function _0x1833(_0x5c0970,_0xcbb3e5){var _0x178b71=_0x178b();return _0x1833=function(_0x1833c5,_0x16a140){_0x1833c5=_0x1833c5-0x100;var _0x5532ca=_0x178b71[_0x1833c5];return _0x5532ca;},_0x1833(_0x5c0970,_0xcbb3e5);}function _0x178b(){var _0x41b0ba=['2419212dHjiqm','10220fMGzmm','5351982NsIIKA','616177BJJVgt','3230223FFvyuy','16ugrmhE','dispatchRequest','420291ULsxBx','dispatchCall','7NlPUBY','10csQijM','5779080KhWrhV'];_0x178b=function(){return _0x41b0ba;};return _0x178b();}export class DispatcherAdapter{[_0x407b46(0x103)](_0x4c3547){}[_0x407b46(0x105)](_0x3b0236){}['dispatchCallWithJson'](_0x52049a){}} \ 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 24ec6a15..c7f57cb9 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x4e2c19=_0x4fb8;(function(_0x36a805,_0x8e27a1){var _0x45b88e=_0x4fb8,_0x29b36c=_0x36a805();while(!![]){try{var _0x3b2334=-parseInt(_0x45b88e(0xea))/0x1*(-parseInt(_0x45b88e(0xe9))/0x2)+-parseInt(_0x45b88e(0xeb))/0x3*(parseInt(_0x45b88e(0xe4))/0x4)+parseInt(_0x45b88e(0xe5))/0x5+parseInt(_0x45b88e(0xec))/0x6+-parseInt(_0x45b88e(0xe8))/0x7*(parseInt(_0x45b88e(0xe1))/0x8)+parseInt(_0x45b88e(0xe2))/0x9*(-parseInt(_0x45b88e(0xe6))/0xa)+parseInt(_0x45b88e(0xe3))/0xb;if(_0x3b2334===_0x8e27a1)break;else _0x29b36c['push'](_0x29b36c['shift']());}catch(_0x5166aa){_0x29b36c['push'](_0x29b36c['shift']());}}}(_0x4681,0x45718));function _0x4681(){var _0x1838b7=['fixPicImgType','8MgYBWl','7065nLSLOL','459547xjsNcq','136fIgdJd','1382700fixoBc','3190DawJIo','getAppSetting','1550143JPVmgE','9390MleefL','68oCSaeZ','8907HmUBlh','1318038OgUqAm','onGetSrvCalTime','onInstallFinished','onGetOfflineMsg','onShowErrUITips'];_0x4681=function(){return _0x1838b7;};return _0x4681();}function _0x4fb8(_0x46f65b,_0x3cfccf){var _0x46814d=_0x4681();return _0x4fb8=function(_0x4fb8a4,_0x37ccb9){_0x4fb8a4=_0x4fb8a4-0xdd;var _0x5267b5=_0x46814d[_0x4fb8a4];return _0x5267b5;},_0x4fb8(_0x46f65b,_0x3cfccf);}export class GlobalAdapter{['onLog'](..._0x5a9c2f){}[_0x4e2c19(0xed)](..._0x1ebb3b){}[_0x4e2c19(0xdf)](..._0xf4a575){}[_0x4e2c19(0xe0)](..._0x49a0dc){}[_0x4e2c19(0xe7)](..._0x430ac4){}[_0x4e2c19(0xdd)](..._0x505069){}['onUpdateGeneralFlag'](..._0x354048){}[_0x4e2c19(0xde)](..._0x3fb54e){}} \ No newline at end of file +var _0xfcd9c0=_0x55ff;(function(_0x4fa3a3,_0x26d853){var _0x246b07=_0x55ff,_0x1637cf=_0x4fa3a3();while(!![]){try{var _0x2c5d32=-parseInt(_0x246b07(0xd1))/0x1*(parseInt(_0x246b07(0xc4))/0x2)+parseInt(_0x246b07(0xc6))/0x3*(parseInt(_0x246b07(0xd0))/0x4)+-parseInt(_0x246b07(0xce))/0x5*(-parseInt(_0x246b07(0xcb))/0x6)+-parseInt(_0x246b07(0xd2))/0x7*(-parseInt(_0x246b07(0xd3))/0x8)+-parseInt(_0x246b07(0xcf))/0x9+parseInt(_0x246b07(0xc9))/0xa+parseInt(_0x246b07(0xcd))/0xb*(-parseInt(_0x246b07(0xc5))/0xc);if(_0x2c5d32===_0x26d853)break;else _0x1637cf['push'](_0x1637cf['shift']());}catch(_0x23e1d2){_0x1637cf['push'](_0x1637cf['shift']());}}}(_0x2d86,0xab51c));function _0x2d86(){var _0xfb555e=['onInstallFinished','76350KYwdri','getAppSetting','3747271gJKCYE','365ScOdzT','3235986YqSKlS','4703528ovkWAy','11wVzoHr','5782bYsaKI','4432UYllEK','onGetOfflineMsg','onShowErrUITips','137686eYpvEa','48LqOcgW','3EsWAlU','onLog','onGetSrvCalTime','6187840yCjsae'];_0x2d86=function(){return _0xfb555e;};return _0x2d86();}function _0x55ff(_0x21415e,_0x43e0b1){var _0x2d8653=_0x2d86();return _0x55ff=function(_0x55ff6e,_0x376a11){_0x55ff6e=_0x55ff6e-0xc4;var _0x4f9ca5=_0x2d8653[_0x55ff6e];return _0x4f9ca5;},_0x55ff(_0x21415e,_0x43e0b1);}export class GlobalAdapter{[_0xfcd9c0(0xc7)](..._0x36c923){}[_0xfcd9c0(0xc8)](..._0xcf3bb8){}[_0xfcd9c0(0xd5)](..._0x36f13f){}['fixPicImgType'](..._0xfbf752){}[_0xfcd9c0(0xcc)](..._0x1b9ed1){}[_0xfcd9c0(0xca)](..._0x3b5364){}['onUpdateGeneralFlag'](..._0x3a52ef){}[_0xfcd9c0(0xd4)](..._0x3634cf){}} \ 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 5e1f622a..da91f7ec 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x3beb(_0x1903fe,_0x5438f8){var _0xf175e=_0xf175();return _0x3beb=function(_0x3bebcb,_0x31ae37){_0x3bebcb=_0x3bebcb-0x10b;var _0x5ec469=_0xf175e[_0x3bebcb];return _0x5ec469;},_0x3beb(_0x1903fe,_0x5438f8);}(function(_0x4c0678,_0x26d581){var _0x24371c=_0x3beb,_0x21f7e0=_0x4c0678();while(!![]){try{var _0xec767f=parseInt(_0x24371c(0x115))/0x1+-parseInt(_0x24371c(0x10c))/0x2+parseInt(_0x24371c(0x114))/0x3+parseInt(_0x24371c(0x111))/0x4*(parseInt(_0x24371c(0x10f))/0x5)+parseInt(_0x24371c(0x113))/0x6*(parseInt(_0x24371c(0x110))/0x7)+parseInt(_0x24371c(0x10b))/0x8*(parseInt(_0x24371c(0x10d))/0x9)+-parseInt(_0x24371c(0x112))/0xa*(parseInt(_0x24371c(0x10e))/0xb);if(_0xec767f===_0x26d581)break;else _0x21f7e0['push'](_0x21f7e0['shift']());}catch(_0x1508ca){_0x21f7e0['push'](_0x21f7e0['shift']());}}}(_0xf175,0x726ff));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0xf175(){var _0xd4dcea=['1139576rjhuhc','2660814Cxbexx','767899gzQrjj','231160IwAxQP','4066580pPMrdj','8AiXTif','190cqBDAb','6ebzGvP','1387290PDzkRk','933414ZrxyGI','8awYHYn'];_0xf175=function(){return _0xd4dcea;};return _0xf175();} \ No newline at end of file +function _0x8bc2(){var _0x53c92a=['3186430WGLUJl','18VlHADW','771252uuZVeE','15389100uoHgNn','2902053QrIwPp','4089380CmuSYG','21424QKMQuj','8vJYlYG','2800602WzZXQp'];_0x8bc2=function(){return _0x53c92a;};return _0x8bc2();}(function(_0x131c04,_0x20ec2c){var _0x2d59c5=_0x2e3b,_0x37fcfd=_0x131c04();while(!![]){try{var _0xc05e61=parseInt(_0x2d59c5(0x179))/0x1*(parseInt(_0x2d59c5(0x174))/0x2)+parseInt(_0x2d59c5(0x175))/0x3+-parseInt(_0x2d59c5(0x178))/0x4+-parseInt(_0x2d59c5(0x17c))/0x5+parseInt(_0x2d59c5(0x17b))/0x6+-parseInt(_0x2d59c5(0x177))/0x7*(parseInt(_0x2d59c5(0x17a))/0x8)+parseInt(_0x2d59c5(0x176))/0x9;if(_0xc05e61===_0x20ec2c)break;else _0x37fcfd['push'](_0x37fcfd['shift']());}catch(_0x1ccbe8){_0x37fcfd['push'](_0x37fcfd['shift']());}}}(_0x8bc2,0x86da5));export*from'./NodeIDependsAdapter';function _0x2e3b(_0x20303a,_0x1c8b13){var _0x8bc2b0=_0x8bc2();return _0x2e3b=function(_0x2e3b91,_0x4a970d){_0x2e3b91=_0x2e3b91-0x174;var _0x44181a=_0x8bc2b0[_0x2e3b91];return _0x44181a;},_0x2e3b(_0x20303a,_0x1c8b13);}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 c64ea6d8..3b2043d4 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x255482=_0x5cf8;(function(_0xe3d568,_0x5e60bc){const _0x5b78b7=_0x5cf8,_0x222530=_0xe3d568();while(!![]){try{const _0x1cfc50=parseInt(_0x5b78b7(0x1cc))/0x1*(parseInt(_0x5b78b7(0x1ba))/0x2)+-parseInt(_0x5b78b7(0x197))/0x3*(parseInt(_0x5b78b7(0x19b))/0x4)+parseInt(_0x5b78b7(0x1bc))/0x5+-parseInt(_0x5b78b7(0x1a1))/0x6+-parseInt(_0x5b78b7(0x1a0))/0x7*(-parseInt(_0x5b78b7(0x18d))/0x8)+parseInt(_0x5b78b7(0x1af))/0x9+parseInt(_0x5b78b7(0x1ce))/0xa*(-parseInt(_0x5b78b7(0x1be))/0xb);if(_0x1cfc50===_0x5e60bc)break;else _0x222530['push'](_0x222530['shift']());}catch(_0x49d012){_0x222530['push'](_0x222530['shift']());}}}(_0x526d,0x23e9c));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x130807 from'path';import _0x34b53d from'fs';function _0x526d(){const _0x3d2f35=['715500RqYgoC','getChatCacheInfo','getImageSize','originImageUrl','private_rkey','downloadMedia\x20complete','EEshK','getStorageCleanService','图片url获取失败','fileUuid','existsSync','addCacheScanedPaths','下载超时','downloadRichMedia','1050003hvzuNe','bnPxE','filePath','setCacheSilentScan','unlink','bjTmZ','scanCache','includes','eGbFs','hotUpdate','FGlcu','371974WpAKJQ','Oxgtf','1375285tUzPri','/download','3806usjOGq','tmp','receive\x20downloadMedia\x20task','addCacheScannedPaths','session','downloadMedia','util','startsWith','pXMUW','join','qImDn','indexOf','getFileType','ext','1NBrlft','copyFile','15650SFdXXU','msgId','ZUKVM','getRichMediaFilePathForGuild','getMsgService','RZwDA','md5HexStr','YXXSq','clearChatCacheInfo','KuhyO','423680crEGWb','fileTypeFromFile','clearCache','toUpperCase','getRkey','getCacheSessionPathList','onRichMediaDownloadComplete','getFileSize','keSUj','onLoginSuccess','14859YKfnJU','oZAEk','clearCacheDataByKeys','uploadFile','28cfOIso','/gchatpic_new/0/0-0-','group_rkey','getChatCacheList','start\x20downloadMedia','35PZonCw'];_0x526d=function(){return _0x3d2f35;};return _0x526d();}import _0x5aedef from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x53c751 from'file-type';import{MsgListener}from'@/core/listeners';import _0x372d7a from'image-size';function _0x5cf8(_0x589414,_0x1e774){const _0x526d2f=_0x526d();return _0x5cf8=function(_0x5cf8d3,_0x346dac){_0x5cf8d3=_0x5cf8d3-0x189;let _0x4b663e=_0x526d2f[_0x5cf8d3];return _0x4b663e;},_0x5cf8(_0x589414,_0x1e774);}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[_0x255482(0x193)]=_0x228817=>{const _0x198305=_0x255482,_0x15d430={'oZAEk':function(_0x6a4a5e,_0x29751d){return _0x6a4a5e(_0x29751d);}};for(const [_0x17c28d,_0xf1bbda]of downloadMediaTasks){_0x15d430[_0x198305(0x198)](_0xf1bbda,_0x228817),downloadMediaTasks['delete'](_0x17c28d);}},setTimeout(()=>{const _0x21ff73=_0x255482;napCatCore[_0x21ff73(0x196)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x255482(0x1ca)](_0x56f9f8){const _0x2ee46e=_0x255482;return _0x53c751[_0x2ee46e(0x18e)](_0x56f9f8);}static async[_0x255482(0x1cd)](_0x58d88b,_0x2b4afb){const _0xed0ac5=_0x255482;await napCatCore['util'][_0xed0ac5(0x1cd)](_0x58d88b,_0x2b4afb);}static async['getFileSize'](_0x4f4167){const _0x1df051=_0x255482;return await napCatCore[_0x1df051(0x1c4)][_0x1df051(0x194)](_0x4f4167);}static async[_0x255482(0x19a)](_0x3b4ecc,_0x37a2c3=ElementType['PIC'],_0x3d1e66=0x0){const _0x3ecd66=_0x255482,_0xbaad0b={'KuhyO':function(_0x5e5b4e,_0x4bdde2){return _0x5e5b4e(_0x4bdde2);},'YXXSq':function(_0x58ed1a,_0x104d70){return _0x58ed1a===_0x104d70;}},_0x29b4c6=await _0xbaad0b[_0x3ecd66(0x18c)](calculateFileMD5,_0x3b4ecc);let _0x24d4ab=(await NTQQFileApi['getFileType'](_0x3b4ecc))?.[_0x3ecd66(0x1cb)]||'';_0x24d4ab&&(_0x24d4ab='.'+_0x24d4ab);let _0x1feb28=''+_0x130807['basename'](_0x3b4ecc);_0xbaad0b[_0x3ecd66(0x18a)](_0x1feb28[_0x3ecd66(0x1c9)]('.'),-0x1)&&(_0x1feb28+=_0x24d4ab);const _0x4a2a70=napCatCore[_0x3ecd66(0x1c2)][_0x3ecd66(0x1d2)]()[_0x3ecd66(0x1d1)]({'md5HexStr':_0x29b4c6,'fileName':_0x1feb28,'elementType':_0x37a2c3,'elementSubType':_0x3d1e66,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x3ecd66(0x1cd)](_0x3b4ecc,_0x4a2a70);const _0x44d243=await NTQQFileApi[_0x3ecd66(0x194)](_0x3b4ecc);return{'md5':_0x29b4c6,'fileName':_0x1feb28,'path':_0x4a2a70,'fileSize':_0x44d243,'ext':_0x24d4ab};}static async[_0x255482(0x1c3)](_0x2aa868,_0x566dc6,_0x47f6f0,_0x909994,_0x7935a5,_0x5db3e7,_0x2c3f07=0x3e8*0x3c*0x2,_0x51cb5a=![]){const _0x3edcf8=_0x255482,_0x354206={'RZwDA':function(_0x1f412d,_0x33956f,_0x1b04ea,_0x34cc48){return _0x1f412d(_0x33956f,_0x1b04ea,_0x34cc48);},'Oxgtf':_0x3edcf8(0x1a6),'EEshK':'downloadPath','tGTLE':function(_0x3f9088,_0x3bf960){return _0x3f9088(_0x3bf960);},'FGlcu':_0x3edcf8(0x1ad),'OdjBG':function(_0x122dd2,_0x2f01c1,_0x58da5f){return _0x122dd2(_0x2f01c1,_0x58da5f);},'vjRRv':function(_0x1b1928,_0x4310c5,_0x4a0f91,_0x525dd3,_0x7f4f29,_0x1ec498,_0x282b68,_0xb58a75,_0x126b37,_0x760907){return _0x1b1928(_0x4310c5,_0x4a0f91,_0x525dd3,_0x7f4f29,_0x1ec498,_0x282b68,_0xb58a75,_0x126b37,_0x760907);},'TVfIX':_0x3edcf8(0x1c0),'qImDn':function(_0x4ae9c5,_0x24c33c,_0x2d438f,_0x317f67,_0x483812,_0x2b4bec,_0x285769,_0x13d30f,_0x2e468c,_0x3685e2){return _0x4ae9c5(_0x24c33c,_0x2d438f,_0x317f67,_0x483812,_0x2b4bec,_0x285769,_0x13d30f,_0x2e468c,_0x3685e2);}};_0x354206['vjRRv'](logDebug,_0x354206['TVfIX'],_0x2aa868,_0x566dc6,_0x47f6f0,_0x909994,_0x7935a5,_0x5db3e7,_0x2c3f07,_0x51cb5a);if(_0x5db3e7&&_0x34b53d[_0x3edcf8(0x1ab)](_0x5db3e7)){if(_0x51cb5a)try{await _0x5aedef[_0x3edcf8(0x1b3)](_0x5db3e7);}catch(_0x202334){}else return _0x5db3e7;}return _0x354206[_0x3edcf8(0x1c8)](logDebug,_0x3edcf8(0x19f),_0x2aa868,_0x566dc6,_0x47f6f0,_0x909994,_0x7935a5,_0x5db3e7,_0x2c3f07,_0x51cb5a),new Promise((_0x377a0d,_0x1cf5c7)=>{const _0x387a8b=_0x3edcf8,_0x235214={'bnPxE':function(_0x2d855d,_0x5e1a95){return _0x354206['tGTLE'](_0x2d855d,_0x5e1a95);},'snuEj':_0x354206[_0x387a8b(0x1b9)]};let _0x1ad272=![];const _0x34dce4=_0x22d04a=>{const _0xd57856=_0x387a8b;_0x354206[_0xd57856(0x1d3)](logDebug,_0x354206[_0xd57856(0x1bb)],_0x22d04a,_0x2aa868);if(_0x22d04a[_0xd57856(0x1cf)]===_0x2aa868){_0x1ad272=!![];let _0x2bc743=_0x22d04a[_0xd57856(0x1b1)];if(_0x2bc743['startsWith']('\x5c')){const _0x419dff=sessionConfig['defaultFileDownloadPath'];logDebug(_0x354206[_0xd57856(0x1a7)],_0x419dff),_0x2bc743=_0x130807[_0xd57856(0x1c7)](_0x419dff,_0x2bc743);}_0x377a0d(_0x2bc743);}};downloadMediaTasks['set'](randomUUID(),_0x34dce4),_0x354206['OdjBG'](setTimeout,()=>{const _0x2624af=_0x387a8b;!_0x1ad272&&_0x235214[_0x2624af(0x1b0)](_0x1cf5c7,_0x235214['snuEj']);},_0x2c3f07),napCatCore[_0x387a8b(0x1c2)][_0x387a8b(0x1d2)]()[_0x387a8b(0x1ae)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2aa868,'chatType':_0x566dc6,'peerUid':_0x47f6f0,'elementId':_0x909994,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x7935a5});});}static async[_0x255482(0x1a3)](_0x4be2fb){const _0x4d78e1={'keSUj':function(_0x53322a,_0x3f583a,_0x45ea25){return _0x53322a(_0x3f583a,_0x45ea25);}};return new Promise((_0x37734c,_0x128264)=>{const _0x54d302=_0x5cf8,_0x28a24d={'pXMUW':function(_0x28ab40,_0x289683){return _0x28ab40(_0x289683);}};_0x4d78e1[_0x54d302(0x195)](_0x372d7a,_0x4be2fb,(_0x1be2e3,_0x433228)=>{const _0x42e3b5=_0x54d302;_0x1be2e3?_0x128264(_0x1be2e3):_0x28a24d[_0x42e3b5(0x1c6)](_0x37734c,_0x433228);});});}static async['getImageUrl'](_0x5e8803,_0x17ac0a){const _0x4176e0=_0x255482,_0x1f9a03={'mGizu':_0x4176e0(0x1bd),'eGbFs':'&rkey=','bjTmZ':function(_0x2ed4ef,_0x120327){return _0x2ed4ef+_0x120327;},'ZUKVM':function(_0x48c2d2,_0x4a7534){return _0x48c2d2||_0x4a7534;},'THdik':function(_0x7bbfbc,_0x297ed9,_0x5eef20){return _0x7bbfbc(_0x297ed9,_0x5eef20);},'TbTVk':_0x4176e0(0x1a9)};if(!_0x5e8803)return'';const _0x1f4731=_0x5e8803[_0x4176e0(0x1a4)],_0x221a12=_0x5e8803[_0x4176e0(0x189)],_0x99e209=_0x5e8803['md5HexStr'],_0x506945=_0x5e8803[_0x4176e0(0x1aa)];if(_0x1f4731){if(_0x1f4731[_0x4176e0(0x1c5)](_0x1f9a03['mGizu'])){if(_0x1f4731[_0x4176e0(0x1b6)](_0x1f9a03[_0x4176e0(0x1b7)]))return _0x1f9a03['bjTmZ'](IMAGE_HTTP_HOST_NT,_0x1f4731);const _0x33e366=await rkeyManager[_0x4176e0(0x191)](),_0x55fcf0=_0x17ac0a?_0x33e366[_0x4176e0(0x1a5)]:_0x33e366[_0x4176e0(0x19d)];return _0x1f9a03[_0x4176e0(0x1b4)](IMAGE_HTTP_HOST_NT,_0x1f4731)+(''+_0x55fcf0);}else return _0x1f9a03[_0x4176e0(0x1b4)](IMAGE_HTTP_HOST,_0x1f4731);}else{if(_0x1f9a03[_0x4176e0(0x1d0)](_0x99e209,_0x221a12))return IMAGE_HTTP_HOST+_0x4176e0(0x19c)+_0x1f9a03[_0x4176e0(0x1d0)](_0x99e209,_0x221a12)[_0x4176e0(0x190)]()+'/0';}return _0x1f9a03['THdik'](logDebug,_0x1f9a03['TbTVk'],_0x5e8803),'';}}export class NTQQFileCacheApi{static async[_0x255482(0x1b2)](_0x32b8d2=!![]){return'';}static[_0x255482(0x192)](){return'';}static[_0x255482(0x18f)](_0x2fcf02=[_0x255482(0x1bf),_0x255482(0x1b8)]){const _0xe64061=_0x255482;return napCatCore[_0xe64061(0x1c2)][_0xe64061(0x1a8)]()[_0xe64061(0x199)](_0x2fcf02);}static[_0x255482(0x1c1)](_0x2dddbb={}){const _0x165a10=_0x255482;return napCatCore[_0x165a10(0x1c2)][_0x165a10(0x1a8)]()[_0x165a10(0x1ac)](_0x2dddbb);}static['scanCache'](){const _0x3677a1=_0x255482;return napCatCore[_0x3677a1(0x1c2)][_0x3677a1(0x1a8)]()[_0x3677a1(0x1b5)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x255482(0x19e)](_0x22c68a,_0x3a191d=0x3e8,_0x5f220d=0x0){const _0x148f12=_0x255482;return napCatCore[_0x148f12(0x1c2)][_0x148f12(0x1a8)]()[_0x148f12(0x1a2)](_0x22c68a,_0x3a191d,0x1,_0x5f220d);}static['getFileCacheInfo'](_0x22b367,_0x3e185c=0x3e8,_0x25f713){const _0xded256=_0x25f713?_0x25f713:{'fileType':_0x22b367};}static async['clearChatCache'](_0x12f5b9=[],_0x2975e7=[]){const _0x3b8d03=_0x255482;return napCatCore[_0x3b8d03(0x1c2)][_0x3b8d03(0x1a8)]()[_0x3b8d03(0x18b)](_0x12f5b9,_0x2975e7);}} \ No newline at end of file +const _0x49c3d3=_0x330f;(function(_0x479592,_0x3447cc){const _0x3c49a2=_0x330f,_0x3db9a4=_0x479592();while(!![]){try{const _0x515868=parseInt(_0x3c49a2(0x1d2))/0x1+-parseInt(_0x3c49a2(0x1b4))/0x2*(parseInt(_0x3c49a2(0x1ad))/0x3)+-parseInt(_0x3c49a2(0x1bc))/0x4+-parseInt(_0x3c49a2(0x1c2))/0x5*(parseInt(_0x3c49a2(0x1b9))/0x6)+parseInt(_0x3c49a2(0x19a))/0x7*(parseInt(_0x3c49a2(0x1ae))/0x8)+-parseInt(_0x3c49a2(0x193))/0x9*(parseInt(_0x3c49a2(0x1ca))/0xa)+parseInt(_0x3c49a2(0x1b5))/0xb;if(_0x515868===_0x3447cc)break;else _0x3db9a4['push'](_0x3db9a4['shift']());}catch(_0x742bad){_0x3db9a4['push'](_0x3db9a4['shift']());}}}(_0x55f1,0x6568e));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';function _0x55f1(){const _0x262769=['util','XbgRf','xtaNN','iroZe','getCacheSessionPathList','fShIj','getRichMediaFilePathForGuild','addListener','copyFile','basename','group_rkey','getFileType','sWTOZ','getFileCacheInfo','existsSync','/gchatpic_new/0/0-0-','includes','EBWeh','3LAUwED','336520KutzHw','getHotUpdateCachePath','getImageSize','getStorageCleanService','clearCacheDataByKeys','xynvC','1230838SRBqyI','6715676lPXwbZ','toUpperCase','downloadRichMedia','dFZEJ','42CMFkkv','addCacheScannedPaths','xAXpD','616440HwsTOK','wFBcF','getFileSize','PIC','md5HexStr','private_rkey','460495yBHFXA','join','HhvSw','addCacheScanedPaths','defaultFileDownloadPath','startsWith','getMsgService','ext','30rPkPcR','GQLcX','FxpAZ','getChatCacheInfo','KIqfm','hotUpdate','onLoginSuccess','DNJwL','790348jKajXS','originImageUrl','uploadFile','start\x20downloadMedia','downloadPath','下载超时','fileTypeFromFile','session','receive\x20downloadMedia\x20task','clearChatCache','set','DbelI','354339ITduoP','clearChatCacheInfo','clearCache','delete','NMrUn','getDesktopTmpPath','unlink','91Oomaij'];_0x55f1=function(){return _0x262769;};return _0x55f1();}import _0x43590d from'path';import _0x52a175 from'fs';import _0x23065d from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x22be0b from'file-type';import{MsgListener}from'@/core/listeners';import _0x407272 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['onRichMediaDownloadComplete']=_0x216038=>{const _0x3478f2=_0x330f,_0x2b842a={'EBWeh':function(_0x362798,_0x5d917b){return _0x362798(_0x5d917b);}};for(const [_0x31ee23,_0x3e89cb]of downloadMediaTasks){_0x2b842a[_0x3478f2(0x1ac)](_0x3e89cb,_0x216038),downloadMediaTasks[_0x3478f2(0x196)](_0x31ee23);}},setTimeout(()=>{const _0x25266a=_0x330f;napCatCore[_0x25266a(0x1d0)](()=>{const _0x29080d=_0x25266a;napCatCore[_0x29080d(0x1a2)](downloadMediaListener);});},0x64);function _0x330f(_0x567c59,_0x3c17c2){const _0x55f180=_0x55f1();return _0x330f=function(_0x330f11,_0x21d465){_0x330f11=_0x330f11-0x18f;let _0x4e721a=_0x55f180[_0x330f11];return _0x4e721a;},_0x330f(_0x567c59,_0x3c17c2);}export class NTQQFileApi{static async['getFileType'](_0x11c961){const _0x96e708=_0x330f;return _0x22be0b[_0x96e708(0x1d8)](_0x11c961);}static async[_0x49c3d3(0x1a3)](_0x31ea96,_0x4e85c0){const _0x15f476=_0x49c3d3;await napCatCore['util'][_0x15f476(0x1a3)](_0x31ea96,_0x4e85c0);}static async[_0x49c3d3(0x1be)](_0x31248c){const _0x2bf17d=_0x49c3d3;return await napCatCore[_0x2bf17d(0x19b)][_0x2bf17d(0x1be)](_0x31248c);}static async[_0x49c3d3(0x1d4)](_0x5bee9f,_0x18a334=ElementType[_0x49c3d3(0x1bf)],_0x4085d6=0x0){const _0x321773=_0x49c3d3,_0x102b15={'XbgRf':function(_0x2bac23,_0x388347){return _0x2bac23(_0x388347);},'bVCVw':function(_0xf60068,_0x2ca9b5){return _0xf60068+_0x2ca9b5;},'xynvC':function(_0x313b5e,_0x5a1bf3){return _0x313b5e===_0x5a1bf3;}},_0x3c5fb3=await _0x102b15[_0x321773(0x19c)](calculateFileMD5,_0x5bee9f);let _0x582919=(await NTQQFileApi[_0x321773(0x1a6)](_0x5bee9f))?.[_0x321773(0x1c9)]||'';_0x582919&&(_0x582919=_0x102b15['bVCVw']('.',_0x582919));let _0x3a120d=''+_0x43590d[_0x321773(0x1a4)](_0x5bee9f);_0x102b15[_0x321773(0x1b3)](_0x3a120d['indexOf']('.'),-0x1)&&(_0x3a120d+=_0x582919);const _0x5dc9ac=napCatCore['session']['getMsgService']()[_0x321773(0x1a1)]({'md5HexStr':_0x3c5fb3,'fileName':_0x3a120d,'elementType':_0x18a334,'elementSubType':_0x4085d6,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x321773(0x1a3)](_0x5bee9f,_0x5dc9ac);const _0x4ed8d4=await NTQQFileApi['getFileSize'](_0x5bee9f);return{'md5':_0x3c5fb3,'fileName':_0x3a120d,'path':_0x5dc9ac,'fileSize':_0x4ed8d4,'ext':_0x582919};}static async['downloadMedia'](_0x57300d,_0x11c77b,_0x7f12de,_0x4ceea7,_0x5ba6e1,_0x31136d,_0x452bfb=0x3e8*0x3c*0x2,_0x12ca44=![]){const _0x18ac36=_0x49c3d3,_0x44ff85={'dFZEJ':'downloadMedia\x20complete','sWTOZ':function(_0x3bcb8e,_0x3ca2a0,_0x59a553){return _0x3bcb8e(_0x3ca2a0,_0x59a553);},'HhvSw':function(_0x1ceb58,_0x4ee753){return _0x1ceb58(_0x4ee753);},'DNJwL':_0x18ac36(0x1d7),'fShIj':function(_0x59f42f){return _0x59f42f();},'wFBcF':function(_0x94a17f,_0x5e7641,_0x5c6dfa){return _0x94a17f(_0x5e7641,_0x5c6dfa);},'FxpAZ':_0x18ac36(0x18f),'dbgmv':function(_0x22caa6,_0x2a5714,_0x2626a7,_0x54edc3,_0x6e91b,_0x1f1a28,_0x250089,_0x190998,_0x61b2de,_0x3eab6c){return _0x22caa6(_0x2a5714,_0x2626a7,_0x54edc3,_0x6e91b,_0x1f1a28,_0x250089,_0x190998,_0x61b2de,_0x3eab6c);},'NMrUn':_0x18ac36(0x1d5)};logDebug(_0x44ff85[_0x18ac36(0x1cc)],_0x57300d,_0x11c77b,_0x7f12de,_0x4ceea7,_0x5ba6e1,_0x31136d,_0x452bfb,_0x12ca44);if(_0x31136d&&_0x52a175[_0x18ac36(0x1a9)](_0x31136d)){if(_0x12ca44)try{await _0x23065d[_0x18ac36(0x199)](_0x31136d);}catch(_0x2d873a){}else return _0x31136d;}return _0x44ff85['dbgmv'](logDebug,_0x44ff85[_0x18ac36(0x197)],_0x57300d,_0x11c77b,_0x7f12de,_0x4ceea7,_0x5ba6e1,_0x31136d,_0x452bfb,_0x12ca44),new Promise((_0x21ef63,_0x365892)=>{const _0x557b40=_0x18ac36;let _0x39b237=![];const _0x405a4e=_0x4a30a5=>{const _0x435244=_0x330f;logDebug(_0x44ff85[_0x435244(0x1b8)],_0x4a30a5,_0x57300d);if(_0x4a30a5['msgId']===_0x57300d){_0x39b237=!![];let _0x230f47=_0x4a30a5['filePath'];if(_0x230f47[_0x435244(0x1c7)]('\x5c')){const _0x24e67f=sessionConfig[_0x435244(0x1c6)];_0x44ff85[_0x435244(0x1a7)](logDebug,_0x435244(0x1d6),_0x24e67f),_0x230f47=_0x43590d[_0x435244(0x1c3)](_0x24e67f,_0x230f47);}_0x44ff85[_0x435244(0x1c4)](_0x21ef63,_0x230f47);}};downloadMediaTasks[_0x557b40(0x191)](_0x44ff85[_0x557b40(0x1a0)](randomUUID),_0x405a4e),_0x44ff85[_0x557b40(0x1bd)](setTimeout,()=>{const _0x152d4e=_0x557b40;!_0x39b237&&_0x44ff85['HhvSw'](_0x365892,_0x44ff85[_0x152d4e(0x1d1)]);},_0x452bfb),napCatCore['session'][_0x557b40(0x1c8)]()[_0x557b40(0x1b7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x57300d,'chatType':_0x11c77b,'peerUid':_0x7f12de,'elementId':_0x4ceea7,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x5ba6e1});});}static async[_0x49c3d3(0x1b0)](_0x1aa019){const _0x398bf3={'cWXYU':function(_0xa658b5,_0x1221ad){return _0xa658b5(_0x1221ad);},'xtaNN':function(_0xa85c55,_0x2a9abd){return _0xa85c55(_0x2a9abd);},'GQLcX':function(_0x10b19c,_0x7e695e,_0x528825){return _0x10b19c(_0x7e695e,_0x528825);}};return new Promise((_0xa6827,_0x5aa513)=>{const _0x331073=_0x330f;_0x398bf3[_0x331073(0x1cb)](_0x407272,_0x1aa019,(_0x5a4c64,_0x4d1704)=>{const _0x290a80=_0x331073;_0x5a4c64?_0x398bf3['cWXYU'](_0x5aa513,_0x5a4c64):_0x398bf3[_0x290a80(0x19d)](_0xa6827,_0x4d1704);});});}static async['getImageUrl'](_0x2a67e1,_0x2f846a){const _0x46b7fe=_0x49c3d3,_0x349cec={'jhfhQ':'/download','KIqfm':function(_0x56a372,_0x278c39){return _0x56a372+_0x278c39;},'xAXpD':function(_0x2b1f8a,_0x37e6d0){return _0x2b1f8a+_0x37e6d0;},'DxHfI':function(_0x18c8ab,_0x228def){return _0x18c8ab+_0x228def;},'RYlND':function(_0x2c426c,_0x1819a4){return _0x2c426c||_0x1819a4;},'DbelI':function(_0x5c8842,_0xb75663,_0x5660e0){return _0x5c8842(_0xb75663,_0x5660e0);},'iroZe':'图片url获取失败'};if(!_0x2a67e1)return'';const _0x10a27f=_0x2a67e1[_0x46b7fe(0x1d3)],_0x137477=_0x2a67e1[_0x46b7fe(0x1c0)],_0x2a67ce=_0x2a67e1[_0x46b7fe(0x1c0)],_0x3473ee=_0x2a67e1['fileUuid'];if(_0x10a27f){if(_0x10a27f[_0x46b7fe(0x1c7)](_0x349cec['jhfhQ'])){if(_0x10a27f[_0x46b7fe(0x1ab)]('&rkey='))return _0x349cec[_0x46b7fe(0x1ce)](IMAGE_HTTP_HOST_NT,_0x10a27f);const _0x17b91e=await rkeyManager['getRkey'](),_0x1afc3f=_0x2f846a?_0x17b91e[_0x46b7fe(0x1c1)]:_0x17b91e[_0x46b7fe(0x1a5)];return _0x349cec['KIqfm'](_0x349cec[_0x46b7fe(0x1bb)](IMAGE_HTTP_HOST_NT,_0x10a27f),''+_0x1afc3f);}else return _0x349cec['DxHfI'](IMAGE_HTTP_HOST,_0x10a27f);}else{if(_0x349cec['RYlND'](_0x2a67ce,_0x137477))return IMAGE_HTTP_HOST+_0x46b7fe(0x1aa)+(_0x2a67ce||_0x137477)[_0x46b7fe(0x1b6)]()+'/0';}return _0x349cec[_0x46b7fe(0x192)](logDebug,_0x349cec[_0x46b7fe(0x19e)],_0x2a67e1),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x2c9a0c=!![]){return'';}static[_0x49c3d3(0x19f)](){return'';}static[_0x49c3d3(0x195)](_0x49bc23=['tmp',_0x49c3d3(0x1cf)]){const _0x4e5483=_0x49c3d3;return napCatCore[_0x4e5483(0x1d9)]['getStorageCleanService']()[_0x4e5483(0x1b2)](_0x49bc23);}static[_0x49c3d3(0x1ba)](_0x38f6bd={}){const _0x374512=_0x49c3d3;return napCatCore[_0x374512(0x1d9)][_0x374512(0x1b1)]()[_0x374512(0x1c5)](_0x38f6bd);}static['scanCache'](){const _0x586e9f=_0x49c3d3;return napCatCore['session'][_0x586e9f(0x1b1)]()['scanCache']();}static[_0x49c3d3(0x1af)](){return'';}static[_0x49c3d3(0x198)](){return'';}static['getChatCacheList'](_0x4b47b0,_0x203ba4=0x3e8,_0x562ebd=0x0){const _0x5174dd=_0x49c3d3;return napCatCore[_0x5174dd(0x1d9)]['getStorageCleanService']()[_0x5174dd(0x1cd)](_0x4b47b0,_0x203ba4,0x1,_0x562ebd);}static[_0x49c3d3(0x1a8)](_0x48d6e7,_0x48af02=0x3e8,_0x47ca56){const _0x979566=_0x47ca56?_0x47ca56:{'fileType':_0x48d6e7};}static async[_0x49c3d3(0x190)](_0x406e93=[],_0x473de6=[]){const _0x195d93=_0x49c3d3;return napCatCore[_0x195d93(0x1d9)][_0x195d93(0x1b1)]()[_0x195d93(0x194)](_0x406e93,_0x473de6);}} \ 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 363d9b3e..c126c36a 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x4ee89f=_0x5963;(function(_0x4ba86b,_0x124531){const _0x4fc274=_0x5963,_0x8d4abf=_0x4ba86b();while(!![]){try{const _0x7e6760=-parseInt(_0x4fc274(0xe5))/0x1*(parseInt(_0x4fc274(0xd4))/0x2)+parseInt(_0x4fc274(0xda))/0x3*(-parseInt(_0x4fc274(0xde))/0x4)+parseInt(_0x4fc274(0xe0))/0x5+parseInt(_0x4fc274(0xcc))/0x6*(-parseInt(_0x4fc274(0xc4))/0x7)+-parseInt(_0x4fc274(0xe3))/0x8+parseInt(_0x4fc274(0xd7))/0x9*(parseInt(_0x4fc274(0xe8))/0xa)+parseInt(_0x4fc274(0xdb))/0xb;if(_0x7e6760===_0x124531)break;else _0x8d4abf['push'](_0x8d4abf['shift']());}catch(_0x540b29){_0x8d4abf['push'](_0x8d4abf['shift']());}}}(_0x3e31,0xf2e21));import{BuddyListener,napCatCore}from'@/core';function _0x3e31(){const _0x1b26f6=['5829561YrAeNg','34606033MRKBQF','reqTime','uid','4nRhbLC','xvHjU','4179675RlNKQd','cRUZW','CsMEo','4855704KrLcbw','addListener','58fEZNat','set','approvalFriendRequest','8070FNFIES','1733088rFgrnV','NhzcB','delete','onLoginSuccess','then','getFriends','OmxdD','XnCpj','18VFzUxi','onBuddyListChange','handleFriendRequest','friendUid','开始获取好友列表','push','session','ejDRb','32504VqSAGL','获取好友列表完成','getBuddyService','13923EDlVUs','获取好友列表超时','buddyList'];_0x3e31=function(){return _0x1b26f6;};return _0x3e31();}function _0x5963(_0x5bcdf6,_0x480b6f){const _0x3e319c=_0x3e31();return _0x5963=function(_0x5963f0,_0xe7b948){_0x5963f0=_0x5963f0-0xc4;let _0x1c62e0=_0x3e319c[_0x5963f0];return _0x1c62e0;},_0x5963(_0x5bcdf6,_0x480b6f);}import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x4ee89f(0xcd)]=_0x2d621b=>{const _0x2cf8d1=_0x4ee89f,_0x538753={'XnCpj':function(_0x1520cf,_0x2165c6){return _0x1520cf(_0x2165c6);}};for(const [_0x287fe5,_0x1313f9]of buddyChangeTasks){_0x538753[_0x2cf8d1(0xcb)](_0x1313f9,_0x2d621b),buddyChangeTasks[_0x2cf8d1(0xc6)](_0x287fe5);}},setTimeout(()=>{const _0x42374f=_0x4ee89f;napCatCore[_0x42374f(0xc7)](()=>{const _0x3f6497=_0x42374f;napCatCore[_0x3f6497(0xe4)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x4ee89f(0xc9)](_0x37d72e=![]){const _0x9c08c3={'OmxdD':function(_0x2b4afa,_0x20ad0a){return _0x2b4afa(_0x20ad0a);},'CsMEo':function(_0x2fe3f5,_0x276203,_0x12bfd5){return _0x2fe3f5(_0x276203,_0x12bfd5);},'xvHjU':function(_0x249f15,_0x2578ca,_0x217146){return _0x249f15(_0x2578ca,_0x217146);},'ejDRb':function(_0x41a23e){return _0x41a23e();}};return new Promise((_0xb99de9,_0x24ec01)=>{const _0x31929e=_0x5963,_0x171878={'cRUZW':function(_0x3ec562,_0x3905cb){const _0x9fee2e=_0x5963;return _0x9c08c3[_0x9fee2e(0xca)](_0x3ec562,_0x3905cb);},'AqPVd':function(_0x548fa0,_0x1080b4,_0x256b88){return _0x548fa0(_0x1080b4,_0x256b88);},'NhzcB':function(_0x24cec1,_0x4aa88b,_0x1f71fb){const _0x4490cd=_0x5963;return _0x9c08c3[_0x4490cd(0xe2)](_0x24cec1,_0x4aa88b,_0x1f71fb);},'eaTPt':_0x31929e(0xd0)};let _0x2c9a3c=![];_0x9c08c3[_0x31929e(0xdf)](setTimeout,()=>{const _0x553670=_0x31929e;!_0x2c9a3c&&(_0x171878[_0x553670(0xe1)](logDebug,'获取好友列表超时'),_0x24ec01(_0x553670(0xd8)));},0x1388);const _0xf6f8f5=[],_0x184f9a=_0x253e6b=>{const _0x3f4866=_0x31929e;for(const _0x12f518 of _0x253e6b){for(const _0x4c4993 of _0x12f518[_0x3f4866(0xd9)]){_0xf6f8f5[_0x3f4866(0xd1)](_0x4c4993),uid2UinMap[_0x4c4993[_0x3f4866(0xdd)]]=_0x4c4993['uin'];}}_0x2c9a3c=!![],_0x171878['AqPVd'](logDebug,_0x3f4866(0xd5),_0xf6f8f5),_0x171878['cRUZW'](_0xb99de9,_0xf6f8f5);};buddyChangeTasks[_0x31929e(0xe6)](_0x9c08c3[_0x31929e(0xd3)](randomUUID),_0x184f9a),napCatCore[_0x31929e(0xd2)][_0x31929e(0xd6)]()['getBuddyList'](_0x37d72e)[_0x31929e(0xc8)](_0x4d31df=>{const _0x277675=_0x31929e;_0x171878[_0x277675(0xc5)](logDebug,_0x171878['eaTPt'],_0x4d31df);});});}static async[_0x4ee89f(0xce)](_0xf2ed74,_0xdd5745){const _0x41db68=_0x4ee89f;napCatCore[_0x41db68(0xd2)]['getBuddyService']()?.[_0x41db68(0xe7)]({'friendUid':_0xf2ed74[_0x41db68(0xcf)],'reqTime':_0xf2ed74[_0x41db68(0xdc)],'accept':_0xdd5745});}} \ No newline at end of file +function _0xab17(_0x2212de,_0x173b19){const _0x229d70=_0x229d();return _0xab17=function(_0xab172a,_0x35cc2f){_0xab172a=_0xab172a-0x66;let _0x24e0fb=_0x229d70[_0xab172a];return _0x24e0fb;},_0xab17(_0x2212de,_0x173b19);}const _0x168a9c=_0xab17;(function(_0x598df1,_0x464238){const _0x50d53b=_0xab17,_0x141802=_0x598df1();while(!![]){try{const _0x4a5cd6=parseInt(_0x50d53b(0x67))/0x1+parseInt(_0x50d53b(0x80))/0x2+-parseInt(_0x50d53b(0x75))/0x3*(parseInt(_0x50d53b(0x85))/0x4)+parseInt(_0x50d53b(0x81))/0x5*(-parseInt(_0x50d53b(0x76))/0x6)+parseInt(_0x50d53b(0x78))/0x7*(parseInt(_0x50d53b(0x6a))/0x8)+-parseInt(_0x50d53b(0x86))/0x9*(parseInt(_0x50d53b(0x88))/0xa)+-parseInt(_0x50d53b(0x84))/0xb*(-parseInt(_0x50d53b(0x66))/0xc);if(_0x4a5cd6===_0x464238)break;else _0x141802['push'](_0x141802['shift']());}catch(_0x2acd54){_0x141802['push'](_0x141802['shift']());}}}(_0x229d,0xcbab6));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';function _0x229d(){const _0x337268=['18TgiXAM','1245558eXHaRH','CMVhG','315IGwpvb','handleFriendRequest','then','mAGsp','session','getBuddyService','getBuddyList','onLoginSuccess','1127390loNPqz','35YBNgGr','qXarM','set','1441pczlVr','260516hmyMhS','153kuhDLH','onBuddyListChange','671430hjznuo','approvalFriendRequest','219588QXVdRY','574457JcxNqC','获取好友列表完成','XRCQA','50536qSAcMV','push','getFriends','获取好友列表超时','buddyList','tqFIc','reqTime','开始获取好友列表','uid','delete','addListener'];_0x229d=function(){return _0x337268;};return _0x229d();}import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x168a9c(0x87)]=_0x33462a=>{const _0x2ee1d3=_0x168a9c,_0x20fe3c={'mOMAT':function(_0x418ef9,_0x37552d){return _0x418ef9(_0x37552d);}};for(const [_0x1143bf,_0x37b48f]of buddyChangeTasks){_0x20fe3c['mOMAT'](_0x37b48f,_0x33462a),buddyChangeTasks[_0x2ee1d3(0x73)](_0x1143bf);}},setTimeout(()=>{const _0x548ece=_0x168a9c;napCatCore[_0x548ece(0x7f)](()=>{const _0x240073=_0x548ece;napCatCore[_0x240073(0x74)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x168a9c(0x6c)](_0x2c4aac=![]){const _0x3a804c=_0x168a9c,_0x2feb23={'qXarM':function(_0x4f6251,_0x3ff1fa){return _0x4f6251(_0x3ff1fa);},'mAGsp':_0x3a804c(0x6d),'XRCQA':function(_0x315e01,_0x38f88d,_0x291d2c){return _0x315e01(_0x38f88d,_0x291d2c);},'CMVhG':function(_0xf40c1e){return _0xf40c1e();}};return new Promise((_0x243638,_0x1a63ab)=>{const _0x36bd1b=_0x3a804c,_0x5c8541={'tqFIc':function(_0x397bdf,_0xa9faf4,_0x1f6a10){return _0x397bdf(_0xa9faf4,_0x1f6a10);}};let _0x3aebd5=![];_0x2feb23[_0x36bd1b(0x69)](setTimeout,()=>{const _0x49b4eb=_0x36bd1b;!_0x3aebd5&&(_0x2feb23[_0x49b4eb(0x82)](logDebug,_0x2feb23[_0x49b4eb(0x7b)]),_0x2feb23[_0x49b4eb(0x82)](_0x1a63ab,_0x49b4eb(0x6d)));},0x1388);const _0x26cb1e=[],_0xdb413=_0x29f352=>{const _0x10ab32=_0x36bd1b;for(const _0x21b16f of _0x29f352){for(const _0x24769a of _0x21b16f[_0x10ab32(0x6e)]){_0x26cb1e[_0x10ab32(0x6b)](_0x24769a),uid2UinMap[_0x24769a[_0x10ab32(0x72)]]=_0x24769a['uin'];}}_0x3aebd5=!![],_0x5c8541[_0x10ab32(0x6f)](logDebug,_0x10ab32(0x68),_0x26cb1e),_0x243638(_0x26cb1e);};buddyChangeTasks[_0x36bd1b(0x83)](_0x2feb23[_0x36bd1b(0x77)](randomUUID),_0xdb413),napCatCore[_0x36bd1b(0x7c)]['getBuddyService']()[_0x36bd1b(0x7e)](_0x2c4aac)[_0x36bd1b(0x7a)](_0x1fc47b=>{const _0x2009ae=_0x36bd1b;_0x2feb23['XRCQA'](logDebug,_0x2009ae(0x71),_0x1fc47b);});});}static async[_0x168a9c(0x79)](_0x1bbb82,_0x178918){const _0x31ca0b=_0x168a9c;napCatCore[_0x31ca0b(0x7c)][_0x31ca0b(0x7d)]()?.[_0x31ca0b(0x89)]({'friendUid':_0x1bbb82['friendUid'],'reqTime':_0x1bbb82[_0x31ca0b(0x70)],'accept':_0x178918});}} \ 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 10e4628c..3d581277 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0xd22e14=_0x1371;(function(_0x1a43c8,_0x1a99fc){const _0x150bbf=_0x1371,_0x44e6e8=_0x1a43c8();while(!![]){try{const _0x155377=parseInt(_0x150bbf(0xca))/0x1+-parseInt(_0x150bbf(0xbf))/0x2*(-parseInt(_0x150bbf(0xc6))/0x3)+-parseInt(_0x150bbf(0xef))/0x4*(parseInt(_0x150bbf(0xf6))/0x5)+parseInt(_0x150bbf(0xfb))/0x6*(parseInt(_0x150bbf(0xf7))/0x7)+parseInt(_0x150bbf(0xff))/0x8+parseInt(_0x150bbf(0xd1))/0x9*(-parseInt(_0x150bbf(0xe6))/0xa)+-parseInt(_0x150bbf(0xda))/0xb;if(_0x155377===_0x1a99fc)break;else _0x44e6e8['push'](_0x44e6e8['shift']());}catch(_0x21519b){_0x44e6e8['push'](_0x44e6e8['shift']());}}}(_0x37b0,0x1d215));function _0x1371(_0x484ced,_0x203e60){const _0x37b093=_0x37b0();return _0x1371=function(_0x1371a3,_0x2447fa){_0x1371a3=_0x1371a3-0xbf;let _0x38a9e6=_0x37b093[_0x1371a3];return _0x38a9e6;},_0x1371(_0x484ced,_0x203e60);}import{NTQQUserApi,napCatCore}from'@/core';function _0x37b0(){const _0x57c72a=['CQEuM','LlPnK','getGroupList','83946BalkzV','获取群列表完成','setMemberShutUp','setGroupShutUp','132168prXDhR','getGroupService','onLoginSuccess','uploadGroupBulletinPic','tYtkh','finish','delete','errCode','1062uqMLuk','getPSkey','onGroupListUpdate','errMsg','publishGroupBulletin','banGroup','result','717aKxAVA','modifyGroupName','kickMember','modifyMemberRole','123307CWtzJQ','finish:\x20','HdbwR','OzEaB','set','MVMss','groupMemberList_MainWindow','3357UDTkXS','operateSysNotify','quitGroup','setMemberCard',')成员列表结果:','SZzVC','handleGroupRequest','uid','seq','2500388THFTTM','getNextMemberList','获取群(','getGroups','createMemberListScene','session','setGroupTitle','UekGy','addListener','JAEOQ','getGroupIgnoreNotifies','modifyMemberCardName','1470qMPdjW','setMemberRole','LsiEH','yXbez','infos','then','获取群列表超时','BCmFY','poyHr','34376DxXpMh','forEach','banMember','setGroupName','RLbjN','qun.qq.com','group','60KulRhc','119uIGJhD'];_0x37b0=function(){return _0x57c72a;};return _0x37b0();}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[_0xd22e14(0xc1)]=(_0x539c01,_0x55cea7)=>{const _0x122ea6=_0xd22e14,_0x47046a={'MVMss':function(_0x577847,_0x298187,_0x257c2d){return _0x577847(_0x298187,_0x257c2d);}};for(const [_0x2a1b97,_0x335ff0]of groupMemberTasks){_0x47046a[_0x122ea6(0xcf)](_0x335ff0,_0x539c01,_0x55cea7),groupMemberTasks[_0x122ea6(0x105)](_0x2a1b97);}},setTimeout(()=>{const _0x109eda=_0xd22e14;napCatCore[_0x109eda(0x101)](()=>{const _0x406a02=_0x109eda;napCatCore[_0x406a02(0xe2)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0xd22e14(0xdd)](_0x4703ea=![]){const _0x59f73a=_0xd22e14,_0x3c157b={'uixoO':function(_0x17550a,_0x38d64b){return _0x17550a(_0x38d64b);},'poyHr':_0x59f73a(0xec),'LlPnK':function(_0x401260,_0x1dd044){return _0x401260(_0x1dd044);},'RLbjN':function(_0xa33061,_0x507ec7,_0x2a0c50){return _0xa33061(_0x507ec7,_0x2a0c50);},'UekGy':_0x59f73a(0xfc),'BCmFY':function(_0x56d6c4,_0x3a8f4e,_0x31d7be){return _0x56d6c4(_0x3a8f4e,_0x31d7be);},'LsiEH':function(_0x121783){return _0x121783();}};let _0x4439a8=![];return new Promise((_0xc1d547,_0x52f566)=>{const _0x1d86e2=_0x59f73a;_0x3c157b[_0x1d86e2(0xed)](setTimeout,()=>{const _0x15fed1=_0x1d86e2;!_0x4439a8&&(_0x3c157b['uixoO'](logDebug,_0x3c157b['poyHr']),_0x3c157b[_0x15fed1(0xf9)](_0x52f566,_0x3c157b[_0x15fed1(0xee)]));},0x1388);const _0x325660=(_0x43ceba,_0x50dd6b)=>{const _0x39a180=_0x1d86e2;_0x4439a8=!![],_0x3c157b[_0x39a180(0xf3)](logDebug,_0x3c157b[_0x39a180(0xe1)],_0x50dd6b),_0x3c157b[_0x39a180(0xf9)](_0xc1d547,_0x50dd6b);};groupMemberTasks[_0x1d86e2(0xce)](_0x3c157b[_0x1d86e2(0xe8)](randomUUID),_0x325660),napCatCore[_0x1d86e2(0xdf)][_0x1d86e2(0x100)]()[_0x1d86e2(0xfa)](_0x4703ea)[_0x1d86e2(0xeb)]();});}static async['getGroupMembers'](_0x4cef21,_0x138562=0xbb8){const _0x3f1547=_0xd22e14,_0x3375a9={'JAEOQ':_0x3f1547(0xd0),'yXbez':function(_0x2945c8,_0x551975){return _0x2945c8!==_0x551975;},'HdbwR':function(_0xe536f3,_0x2101cf){return _0xe536f3+_0x2101cf;},'tYtkh':'获取群成员列表出错,','UogGK':function(_0x355774,_0x490afa,_0x453d21){return _0x355774(_0x490afa,_0x453d21);}},_0x3c1535=napCatCore[_0x3f1547(0xdf)]['getGroupService'](),_0x1de839=_0x3c1535[_0x3f1547(0xde)](_0x4cef21,_0x3375a9[_0x3f1547(0xe3)]),_0x1169f2=await _0x3c1535[_0x3f1547(0xdb)](_0x1de839,undefined,_0x138562);if(_0x3375a9[_0x3f1547(0xe9)](_0x1169f2[_0x3f1547(0x106)],0x0))throw _0x3375a9[_0x3f1547(0xcc)](_0x3375a9[_0x3f1547(0x103)],_0x1169f2[_0x3f1547(0xc2)]);return _0x3375a9['UogGK'](logDebug,_0x3f1547(0xdc)+_0x4cef21+_0x3f1547(0xd5),_0x3f1547(0xcb)+_0x1169f2['result'][_0x3f1547(0x104)]),_0x1169f2[_0x3f1547(0xc5)][_0x3f1547(0xea)][_0x3f1547(0xf0)](_0x4ca935=>{const _0x46d7f5=_0x3f1547;uid2UinMap[_0x4ca935[_0x46d7f5(0xd8)]]=_0x4ca935['uin'];}),_0x1169f2['result'][_0x3f1547(0xea)];}static async['getGroupNotifies'](){}static async[_0xd22e14(0xe4)](){}static async[_0xd22e14(0x102)](_0xd4a5c6,_0x4e0a34){const _0x29f796=_0xd22e14,_0x2edc33={'KxkuI':'qun.qq.com'},_0xc54492=(await NTQQUserApi[_0x29f796(0xc0)]([_0x2edc33['KxkuI']]))[_0x2edc33['KxkuI']];return napCatCore['session'][_0x29f796(0x100)]()[_0x29f796(0x102)](_0xd4a5c6,_0xc54492,_0x4e0a34);}static async[_0xd22e14(0xd7)](_0x21fe7d,_0x18ea0c,_0x441b38){const _0x305a95=_0xd22e14,_0x33fa91={'OzEaB':function(_0x2fa9e4,_0x453c8d){return _0x2fa9e4||_0x453c8d;}};return napCatCore[_0x305a95(0xdf)][_0x305a95(0x100)]()[_0x305a95(0xd2)](![],{'operateType':_0x18ea0c,'targetMsg':{'seq':_0x21fe7d[_0x305a95(0xd9)],'type':_0x21fe7d['type'],'groupCode':_0x21fe7d[_0x305a95(0xf5)]['groupCode'],'postscript':_0x33fa91[_0x305a95(0xcd)](_0x441b38,'')}});}static async[_0xd22e14(0xd3)](_0x1cbfcf){const _0x1377cf=_0xd22e14;return napCatCore[_0x1377cf(0xdf)][_0x1377cf(0x100)]()[_0x1377cf(0xd3)](_0x1cbfcf);}static async[_0xd22e14(0xc8)](_0x2913a8,_0x2d3d15,_0x248df5=![],_0x2a3661=''){const _0x590294=_0xd22e14;return napCatCore[_0x590294(0xdf)][_0x590294(0x100)]()[_0x590294(0xc8)](_0x2913a8,_0x2d3d15,_0x248df5,_0x2a3661);}static async[_0xd22e14(0xf1)](_0x57b0d5,_0x58d560){const _0x5f0bd9=_0xd22e14;return napCatCore[_0x5f0bd9(0xdf)][_0x5f0bd9(0x100)]()[_0x5f0bd9(0xfd)](_0x57b0d5,_0x58d560);}static async[_0xd22e14(0xc4)](_0x5df122,_0x4a31c5){const _0x555087=_0xd22e14;return napCatCore[_0x555087(0xdf)]['getGroupService']()[_0x555087(0xfe)](_0x5df122,_0x4a31c5);}static async[_0xd22e14(0xd4)](_0x455612,_0x2669ef,_0x5c4e25){const _0x354aa0=_0xd22e14;return napCatCore[_0x354aa0(0xdf)][_0x354aa0(0x100)]()[_0x354aa0(0xe5)](_0x455612,_0x2669ef,_0x5c4e25);}static async[_0xd22e14(0xe7)](_0x40e4ab,_0x21f06f,_0x5aae88){const _0x42ae11=_0xd22e14;return napCatCore[_0x42ae11(0xdf)]['getGroupService']()[_0x42ae11(0xc9)](_0x40e4ab,_0x21f06f,_0x5aae88);}static async[_0xd22e14(0xf2)](_0x422c2e,_0x11f2af){const _0x50b6ed=_0xd22e14;return napCatCore[_0x50b6ed(0xdf)][_0x50b6ed(0x100)]()[_0x50b6ed(0xc7)](_0x422c2e,_0x11f2af,![]);}static async[_0xd22e14(0xe0)](_0xd3a429,_0xab06d4,_0x584d92){}static async['publishGroupBulletin'](_0x3ed87e,_0x1eedeb,_0x1bb2a0=undefined,_0x84ce44=0x0,_0x1a7354=0x0){const _0x4d0767=_0xd22e14,_0x4e5102={'CQEuM':_0x4d0767(0xf4),'SZzVC':function(_0x19d45f,_0x2be5f5){return _0x19d45f(_0x2be5f5);}},_0x397e13=(await NTQQUserApi[_0x4d0767(0xc0)]([_0x4e5102[_0x4d0767(0xf8)]]))[_0x4e5102[_0x4d0767(0xf8)]];let _0x32e9bd={'text':_0x4e5102[_0x4d0767(0xd6)](encodeURI,_0x1eedeb),'picInfo':_0x1bb2a0,'oldFeedsId':'','pinned':_0x84ce44,'confirmRequired':_0x1a7354};return napCatCore[_0x4d0767(0xdf)]['getGroupService']()[_0x4d0767(0xc3)](_0x3ed87e,_0x397e13,_0x32e9bd);}} \ No newline at end of file +function _0x3370(_0x322fcc,_0x5112cd){const _0x115f76=_0x115f();return _0x3370=function(_0x3370ed,_0x4b8d85){_0x3370ed=_0x3370ed-0xeb;let _0x25b5f9=_0x115f76[_0x3370ed];return _0x25b5f9;},_0x3370(_0x322fcc,_0x5112cd);}const _0x4e2a76=_0x3370;function _0x115f(){const _0x7c138e=['result','setMemberCard','forEach','addListener','modifyMemberCardName','KcnMK','uin','setGroupTitle','WxDnK','groupMemberList_MainWindow','createMemberListScene','seq','setGroupName','301ZTFvLc','34QRwuxS','EzGpZ','errMsg','errCode','gelDR','getGroupMembers','npyXG','delete','获取群列表完成','quitGroup','banMember','24018080UUKsSf','58033qyPrAh','BLVCu','infos','6019902GWVCFW','10VgKDaK','publishGroupBulletin','85254VGFeaU','onGroupListUpdate','setMemberShutUp','type','handleGroupRequest','1815944CxNVHG','zpYwJ','getGroupIgnoreNotifies','operateSysNotify','kickMember','getGroups','pfzFO','group','modifyMemberRole','1328064MjbXYE','banGroup','getPSkey','set','session','finish','getGroupNotifies','获取群成员列表出错,','onLoginSuccess','PWSCH','WaBcS','getGroupService','lUczI','LPQBk','uploadGroupBulletinPic','qun.qq.com','then','163098bmFFwg','获取群列表超时'];_0x115f=function(){return _0x7c138e;};return _0x115f();}(function(_0x3c96f6,_0x24ed1c){const _0x10fc2f=_0x3370,_0x114fab=_0x3c96f6();while(!![]){try{const _0x12ff81=-parseInt(_0x10fc2f(0xed))/0x1*(parseInt(_0x10fc2f(0x122))/0x2)+-parseInt(_0x10fc2f(0x112))/0x3+-parseInt(_0x10fc2f(0x101))/0x4*(parseInt(_0x10fc2f(0xf1))/0x5)+parseInt(_0x10fc2f(0xf3))/0x6*(parseInt(_0x10fc2f(0x121))/0x7)+parseInt(_0x10fc2f(0xf8))/0x8+-parseInt(_0x10fc2f(0xf0))/0x9+parseInt(_0x10fc2f(0xec))/0xa;if(_0x12ff81===_0x24ed1c)break;else _0x114fab['push'](_0x114fab['shift']());}catch(_0x48098c){_0x114fab['push'](_0x114fab['shift']());}}}(_0x115f,0xd369f));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[_0x4e2a76(0xf4)]=(_0x4d744b,_0x4296a7)=>{const _0x30c18d=_0x4e2a76,_0x1772ae={'zpYwJ':function(_0x791e8a,_0x2dea87,_0x4c0ca5){return _0x791e8a(_0x2dea87,_0x4c0ca5);}};for(const [_0x19f032,_0x262410]of groupMemberTasks){_0x1772ae[_0x30c18d(0xf9)](_0x262410,_0x4d744b,_0x4296a7),groupMemberTasks[_0x30c18d(0x129)](_0x19f032);}},setTimeout(()=>{const _0x2b93e4=_0x4e2a76;napCatCore[_0x2b93e4(0x109)](()=>{const _0x1b08e2=_0x2b93e4;napCatCore[_0x1b08e2(0x117)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x4e2a76(0xfd)](_0x4dc3c2=![]){const _0x2545d0=_0x4e2a76,_0x33b533={'ufSQy':function(_0x3af4a1,_0x424d26){return _0x3af4a1(_0x424d26);},'mmFPv':function(_0x344ce8,_0x243c78,_0xe5ae5){return _0x344ce8(_0x243c78,_0xe5ae5);},'PMnBd':_0x2545d0(0x12a),'BLVCu':function(_0x5abb61,_0x22977e,_0x5ca011){return _0x5abb61(_0x22977e,_0x5ca011);},'WxDnK':function(_0x5ea26d){return _0x5ea26d();}};let _0x53232e=![];return new Promise((_0x559d0a,_0x547bec)=>{const _0x3c26c9=_0x2545d0,_0x143f48={'LPQBk':function(_0x2b508a,_0x4794f6){return _0x33b533['ufSQy'](_0x2b508a,_0x4794f6);},'gelDR':'获取群列表超时','JJurp':function(_0x4fc985,_0x139389,_0x381e70){return _0x33b533['mmFPv'](_0x4fc985,_0x139389,_0x381e70);},'PWSCH':_0x33b533['PMnBd']};_0x33b533[_0x3c26c9(0xee)](setTimeout,()=>{const _0x3e6db4=_0x3c26c9;!_0x53232e&&(_0x143f48[_0x3e6db4(0x10e)](logDebug,_0x143f48[_0x3e6db4(0x126)]),_0x143f48[_0x3e6db4(0x10e)](_0x547bec,_0x3e6db4(0x113)));},0x1388);const _0x39f3af=(_0x81df1,_0xcaeae8)=>{const _0x115a31=_0x3c26c9;_0x53232e=!![],_0x143f48['JJurp'](logDebug,_0x143f48[_0x115a31(0x10a)],_0xcaeae8),_0x143f48[_0x115a31(0x10e)](_0x559d0a,_0xcaeae8);};groupMemberTasks[_0x3c26c9(0x104)](_0x33b533[_0x3c26c9(0x11c)](randomUUID),_0x39f3af),napCatCore[_0x3c26c9(0x105)][_0x3c26c9(0x10c)]()['getGroupList'](_0x4dc3c2)[_0x3c26c9(0x111)]();});}static async[_0x4e2a76(0x127)](_0x4866cf,_0x7c8e9f=0xbb8){const _0x57790c=_0x4e2a76,_0x3225c0={'npyXG':_0x57790c(0x11d),'VPOXh':function(_0x522b6a,_0x54e7ed){return _0x522b6a!==_0x54e7ed;},'wJMVQ':function(_0x31952d,_0x3ad6c8){return _0x31952d+_0x3ad6c8;},'EzGpZ':_0x57790c(0x108),'KcnMK':function(_0xf515f6,_0x5ecf39,_0x356f8d){return _0xf515f6(_0x5ecf39,_0x356f8d);}},_0x7b57a9=napCatCore[_0x57790c(0x105)][_0x57790c(0x10c)](),_0x495df4=_0x7b57a9[_0x57790c(0x11e)](_0x4866cf,_0x3225c0[_0x57790c(0x128)]),_0x239f85=await _0x7b57a9['getNextMemberList'](_0x495df4,undefined,_0x7c8e9f);if(_0x3225c0['VPOXh'](_0x239f85[_0x57790c(0x125)],0x0))throw _0x3225c0['wJMVQ'](_0x3225c0[_0x57790c(0x123)],_0x239f85[_0x57790c(0x124)]);return _0x3225c0[_0x57790c(0x119)](logDebug,'获取群('+_0x4866cf+')成员列表结果:','finish:\x20'+_0x239f85[_0x57790c(0x114)][_0x57790c(0x106)]),_0x239f85[_0x57790c(0x114)][_0x57790c(0xef)][_0x57790c(0x116)](_0x4ab05c=>{const _0x186cbe=_0x57790c;uid2UinMap[_0x4ab05c['uid']]=_0x4ab05c[_0x186cbe(0x11a)];}),_0x239f85[_0x57790c(0x114)][_0x57790c(0xef)];}static async[_0x4e2a76(0x107)](){}static async[_0x4e2a76(0xfa)](){}static async[_0x4e2a76(0x10f)](_0x630c34,_0xfce646){const _0x15724c=_0x4e2a76,_0x28d7d1={'PCDWR':_0x15724c(0x110)},_0x11762c=(await NTQQUserApi[_0x15724c(0x103)]([_0x15724c(0x110)]))[_0x28d7d1['PCDWR']];return napCatCore[_0x15724c(0x105)][_0x15724c(0x10c)]()[_0x15724c(0x10f)](_0x630c34,_0x11762c,_0xfce646);}static async[_0x4e2a76(0xf7)](_0x4311cf,_0x33c722,_0x3cce51){const _0x20a06c=_0x4e2a76,_0x4e95ff={'lUczI':function(_0x9f0a97,_0x657ff3){return _0x9f0a97||_0x657ff3;}};return napCatCore[_0x20a06c(0x105)][_0x20a06c(0x10c)]()[_0x20a06c(0xfb)](![],{'operateType':_0x33c722,'targetMsg':{'seq':_0x4311cf[_0x20a06c(0x11f)],'type':_0x4311cf[_0x20a06c(0xf6)],'groupCode':_0x4311cf[_0x20a06c(0xff)]['groupCode'],'postscript':_0x4e95ff[_0x20a06c(0x10d)](_0x3cce51,'')}});}static async[_0x4e2a76(0x12b)](_0x1ebb57){const _0xdd8f34=_0x4e2a76;return napCatCore[_0xdd8f34(0x105)]['getGroupService']()['quitGroup'](_0x1ebb57);}static async[_0x4e2a76(0xfc)](_0x1f7314,_0x2c4b13,_0x5128ae=![],_0x3a8946=''){const _0x3a2050=_0x4e2a76;return napCatCore[_0x3a2050(0x105)][_0x3a2050(0x10c)]()[_0x3a2050(0xfc)](_0x1f7314,_0x2c4b13,_0x5128ae,_0x3a8946);}static async[_0x4e2a76(0xeb)](_0x582d36,_0x368a00){const _0x524576=_0x4e2a76;return napCatCore[_0x524576(0x105)][_0x524576(0x10c)]()[_0x524576(0xf5)](_0x582d36,_0x368a00);}static async[_0x4e2a76(0x102)](_0x531016,_0x3aea29){const _0x3bb0de=_0x4e2a76;return napCatCore[_0x3bb0de(0x105)][_0x3bb0de(0x10c)]()['setGroupShutUp'](_0x531016,_0x3aea29);}static async[_0x4e2a76(0x115)](_0x8998f2,_0x49ffb5,_0x568e93){const _0x51202b=_0x4e2a76;return napCatCore['session'][_0x51202b(0x10c)]()[_0x51202b(0x118)](_0x8998f2,_0x49ffb5,_0x568e93);}static async['setMemberRole'](_0x417a1e,_0x3b4e79,_0x3f4bbb){const _0x2a6aab=_0x4e2a76;return napCatCore[_0x2a6aab(0x105)]['getGroupService']()[_0x2a6aab(0x100)](_0x417a1e,_0x3b4e79,_0x3f4bbb);}static async[_0x4e2a76(0x120)](_0x5ca0a9,_0x3ea5f1){const _0x459f72=_0x4e2a76;return napCatCore[_0x459f72(0x105)][_0x459f72(0x10c)]()['modifyGroupName'](_0x5ca0a9,_0x3ea5f1,![]);}static async[_0x4e2a76(0x11b)](_0x5ddb14,_0x357ec5,_0x258fcc){}static async['publishGroupBulletin'](_0x2db559,_0x2dd2c8,_0x4819cc=undefined,_0x324eda=0x0,_0x43a704=0x0){const _0x1a2cab=_0x4e2a76,_0x434976={'pfzFO':'qun.qq.com','WaBcS':function(_0x588623,_0x1775ef){return _0x588623(_0x1775ef);}},_0x57125d=(await NTQQUserApi[_0x1a2cab(0x103)]([_0x1a2cab(0x110)]))[_0x434976[_0x1a2cab(0xfe)]];let _0x126948={'text':_0x434976[_0x1a2cab(0x10b)](encodeURI,_0x2dd2c8),'picInfo':_0x4819cc,'oldFeedsId':'','pinned':_0x324eda,'confirmRequired':_0x43a704};return napCatCore['session'][_0x1a2cab(0x10c)]()[_0x1a2cab(0xf2)](_0x2db559,_0x57125d,_0x126948);}} \ 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 4a5504f3..87a866f4 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x3cdd3c,_0x184dea){var _0x2fde92=_0x296c,_0x4c6e64=_0x3cdd3c();while(!![]){try{var _0x5b61ea=parseInt(_0x2fde92(0x18d))/0x1*(-parseInt(_0x2fde92(0x18c))/0x2)+-parseInt(_0x2fde92(0x196))/0x3+-parseInt(_0x2fde92(0x194))/0x4*(parseInt(_0x2fde92(0x195))/0x5)+-parseInt(_0x2fde92(0x18e))/0x6+-parseInt(_0x2fde92(0x193))/0x7*(parseInt(_0x2fde92(0x190))/0x8)+parseInt(_0x2fde92(0x192))/0x9*(-parseInt(_0x2fde92(0x191))/0xa)+parseInt(_0x2fde92(0x18f))/0xb;if(_0x5b61ea===_0x184dea)break;else _0x4c6e64['push'](_0x4c6e64['shift']());}catch(_0x4622ce){_0x4c6e64['push'](_0x4c6e64['shift']());}}}(_0x5cdc,0xb2595));function _0x296c(_0x1bde28,_0x32ba82){var _0x5cdc33=_0x5cdc();return _0x296c=function(_0x296c88,_0x393f35){_0x296c88=_0x296c88-0x18c;var _0x55054a=_0x5cdc33[_0x296c88];return _0x55054a;},_0x296c(_0x1bde28,_0x32ba82);}export*from'./file';export*from'./friend';export*from'./group';function _0x5cdc(){var _0x115d33=['492740rLmwUH','250185djUgyb','574834OOMRMU','2MVXPLI','5740386rPVxoW','62245799KxVemX','888sYGygh','20YhQaDt','3927438gZdfpv','91756OqqesQ','40ntEVjD'];_0x5cdc=function(){return _0x115d33;};return _0x5cdc();}export*from'./msg';export*from'./user';export*from'./webapi'; \ No newline at end of file +function _0x22d0(){var _0x1445b9=['307926vJmoHw','1097362BTGKol','32czznKE','1649109GReZUx','5116712pwRzhs','7569025QAvwsy','8420713scLUeU','7334838jrQYqp','6VcMAjv'];_0x22d0=function(){return _0x1445b9;};return _0x22d0();}(function(_0x43a7a3,_0x3f0ab9){var _0x16ef72=_0x4c75,_0x220955=_0x43a7a3();while(!![]){try{var _0xc92a2d=parseInt(_0x16ef72(0x18c))/0x1+-parseInt(_0x16ef72(0x18a))/0x2*(parseInt(_0x16ef72(0x188))/0x3)+-parseInt(_0x16ef72(0x184))/0x4+parseInt(_0x16ef72(0x185))/0x5+-parseInt(_0x16ef72(0x187))/0x6+parseInt(_0x16ef72(0x186))/0x7+-parseInt(_0x16ef72(0x18b))/0x8*(-parseInt(_0x16ef72(0x189))/0x9);if(_0xc92a2d===_0x3f0ab9)break;else _0x220955['push'](_0x220955['shift']());}catch(_0x34c0f9){_0x220955['push'](_0x220955['shift']());}}}(_0x22d0,0xdca24));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x4c75(_0x33a7cd,_0x559070){var _0x22d0fd=_0x22d0();return _0x4c75=function(_0x4c7513,_0x4ae264){_0x4c7513=_0x4c7513-0x184;var _0x36952c=_0x22d0fd[_0x4c7513];return _0x36952c;},_0x4c75(_0x33a7cd,_0x559070);}export*from'./user';export*from'./webapi'; \ 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 8d53d26a..fb30b2ce 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x2fc698=_0x19e1;(function(_0x40f2d1,_0x10e45a){const _0x148fd9=_0x19e1,_0x1e51b1=_0x40f2d1();while(!![]){try{const _0x1b8930=parseInt(_0x148fd9(0x15e))/0x1+-parseInt(_0x148fd9(0x160))/0x2*(parseInt(_0x148fd9(0x137))/0x3)+-parseInt(_0x148fd9(0x133))/0x4+parseInt(_0x148fd9(0x152))/0x5+parseInt(_0x148fd9(0x13c))/0x6*(parseInt(_0x148fd9(0x14e))/0x7)+parseInt(_0x148fd9(0x147))/0x8+-parseInt(_0x148fd9(0x167))/0x9;if(_0x1b8930===_0x10e45a)break;else _0x1e51b1['push'](_0x1e51b1['shift']());}catch(_0x1c0ac1){_0x1e51b1['push'](_0x1e51b1['shift']());}}}(_0x1cc9,0x9a8db));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';function _0x19e1(_0x26707f,_0x51716e){const _0x1cc97d=_0x1cc9();return _0x19e1=function(_0x19e137,_0x2832f9){_0x19e137=_0x19e137-0x12f;let _0x5e8f43=_0x1cc97d[_0x19e137];return _0x5e8f43;},_0x19e1(_0x26707f,_0x51716e);}import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x1cc9(){const _0x6be04=['setMsgEmojiLikes','wGvmS','IMIhF','tGqLE','getMultiMsg','getMsgsBySeqAndCount','tVpMU','elements','发送超时','542360WVxxLk','then','740218pcKOWb','fetchRecentContact','onAddSendMsg','KQxSe','bytesData','bfdbl','getMsgHistory','20351205tblsNN','Nsfsm','session','forwardMsg','onMsgInfoListUpdate','arkElement','getMsgsByMsgId','uid','转发消息超时','find','msgId','setMsgRead','tfQRe','recallMsg','671592fADBIe','nick','setEmojiLike','addListener','3OiGlqC','HTwPP','activateChatAndGetHistory','chatType','map','36PwXCcz','WvwxX','Bkehj','NfgvV','NjJUK','getMsgService','sendMsg','getMsgsIncludeSelf','senderUid','sendStatus','activateChat','4920656xrCpkB','QOScJ','onLoginSuccess','delete','parse','length','multiForwardMsg','1261967ebNbjo','peerUid','set','catch','5965875QyHpGi','xzjRL','multiForwardMsgWithComment'];_0x1cc9=function(){return _0x6be04;};return _0x1cc9();}const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x2fc698(0x162)]=_0x4ac392=>{const _0x251b87=_0x2fc698,_0x3d7eef={'IMIhF':function(_0x84f972,_0xe1dd7c){return _0x84f972 instanceof _0xe1dd7c;}};for(const [_0x5df5ef,_0x1724a6]of sentMsgTasks){_0x1724a6(_0x4ac392),sentMsgTasks[_0x251b87(0x14a)](_0x5df5ef);}if(sendMessagePool[_0x4ac392[_0x251b87(0x14f)]]){const _0x4a1437=sendMessagePool[_0x4ac392[_0x251b87(0x14f)]]?.(_0x4ac392);_0x3d7eef[_0x251b87(0x157)](_0x4a1437,Promise)&&_0x4a1437[_0x251b87(0x15f)]()['catch'](logError);}},msgListener[_0x2fc698(0x16b)]=_0xb419b7=>{const _0x581c54={'tfQRe':function(_0x49f786,_0x4e4ebb){return _0x49f786(_0x4e4ebb);}};_0xb419b7['forEach'](_0x384cae=>{const _0x3416d5=_0x19e1;new Promise((_0x5d6f35,_0x16b2ae)=>{const _0x5134a0=_0x19e1;for(const _0xae0645 in sendSuccessCBMap){const _0x218e63=sendSuccessCBMap[_0xae0645],_0x2120ad=_0x218e63(_0x384cae),_0x3ea2c6=_0x58d395=>{_0x58d395&&delete sendSuccessCBMap[_0xae0645];};_0x2120ad instanceof Promise?_0x2120ad['then'](_0x3ea2c6):_0x581c54[_0x5134a0(0x131)](_0x3ea2c6,_0x2120ad);}})['then']()[_0x3416d5(0x151)](log);});},setTimeout(()=>{const _0x359968=_0x2fc698;napCatCore[_0x359968(0x149)](()=>{const _0x29ddcb=_0x359968;napCatCore[_0x29ddcb(0x136)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x2fc698(0x135)](_0x4830b5,_0x266c57,_0x3ed791,_0xe80d38=!![]){const _0x4a1309=_0x2fc698,_0x445ae1={'tVpMU':function(_0x2fe238,_0x491aab){return _0x2fe238>_0x491aab;}};return _0x3ed791=_0x3ed791['toString'](),napCatCore[_0x4a1309(0x169)][_0x4a1309(0x141)]()[_0x4a1309(0x155)](_0x4830b5,_0x266c57,_0x3ed791,_0x445ae1[_0x4a1309(0x15b)](_0x3ed791[_0x4a1309(0x14c)],0x3)?'2':'1',_0xe80d38);}static async[_0x2fc698(0x159)](_0x53032a,_0x55f1e7,_0x55fe6b){const _0xac4f61=_0x2fc698;return napCatCore[_0xac4f61(0x169)]['getMsgService']()['getMultiMsg'](_0x53032a,_0x55f1e7,_0x55fe6b);}static async[_0x2fc698(0x16d)](_0x1b61df,_0x48cc12){const _0x12c9aa=_0x2fc698;return await napCatCore[_0x12c9aa(0x169)][_0x12c9aa(0x141)]()[_0x12c9aa(0x16d)](_0x1b61df,_0x48cc12);}static async[_0x2fc698(0x15a)](_0x49358b,_0x105ed0,_0x42f24a,_0x21f42f,_0x5c34cf){const _0x2a9f97=_0x2fc698;return await napCatCore[_0x2a9f97(0x169)][_0x2a9f97(0x141)]()[_0x2a9f97(0x15a)](_0x49358b,_0x105ed0,_0x42f24a,_0x21f42f,_0x5c34cf);}static async[_0x2fc698(0x146)](_0xdb51c7){}static async[_0x2fc698(0x139)](_0x2b2f54){}static async[_0x2fc698(0x130)](_0x8a7204){const _0x3849df=_0x2fc698;return napCatCore[_0x3849df(0x169)]['getMsgService']()[_0x3849df(0x130)](_0x8a7204);}static async[_0x2fc698(0x166)](_0x5e5bcf,_0x224f5b,_0x1aefb2){const _0x180736=_0x2fc698;return napCatCore[_0x180736(0x169)][_0x180736(0x141)]()[_0x180736(0x143)](_0x5e5bcf,_0x224f5b,_0x1aefb2,!![]);}static async[_0x2fc698(0x161)](){}static async[_0x2fc698(0x132)](_0x3fd927,_0xdf73f8){const _0x5b900f=_0x2fc698;await napCatCore[_0x5b900f(0x169)]['getMsgService']()[_0x5b900f(0x132)]({'chatType':_0x3fd927[_0x5b900f(0x13a)],'peerUid':_0x3fd927[_0x5b900f(0x14f)]},_0xdf73f8);}static async[_0x2fc698(0x142)](_0x5858a0,_0x54be32,_0x4397ab=!![],_0x4a7c06=0x2710){const _0x3d2e2f=_0x2fc698,_0x249049={'wGvmS':function(_0x20aac6,_0x4483cb){return _0x20aac6>_0x4483cb;},'QOScJ':function(_0x40942d,_0x55cf13){return _0x40942d(_0x55cf13);},'Bkehj':function(_0x2338ef){return _0x2338ef();},'WvwxX':_0x3d2e2f(0x15d),'dSPXR':function(_0x1296ee,_0x65b2bb){return _0x1296ee===_0x65b2bb;}},_0x54d530=_0x5858a0[_0x3d2e2f(0x14f)];let _0x593ab3=0x0;const _0x37b58e=async()=>{const _0xb781bf=_0x3d2e2f;if(_0x249049[_0xb781bf(0x156)](_0x593ab3,_0x4a7c06))throw _0xb781bf(0x15d);const _0x37943d=sendMessagePool[_0x5858a0[_0xb781bf(0x14f)]];if(_0x37943d)return await _0x249049[_0xb781bf(0x148)](sleep,0x1f4),_0x593ab3+=0x1f4,await _0x249049[_0xb781bf(0x13e)](_0x37b58e);else return;};return await _0x249049[_0x3d2e2f(0x13e)](_0x37b58e),new Promise((_0x4765a7,_0x2e6b78)=>{const _0x129557=_0x3d2e2f,_0x48f77d={'bfdbl':function(_0x2d09f5,_0x38ddc6){return _0x249049['dSPXR'](_0x2d09f5,_0x38ddc6);},'xzjRL':function(_0x3267b2,_0x527696){return _0x3267b2(_0x527696);}};let _0x185681=![],_0x19cae9=null;const _0x10a01b=randomUUID();sendSuccessCBMap[_0x10a01b]=_0x24f173=>{const _0x54977c=_0x19e1;if(_0x48f77d[_0x54977c(0x165)](_0x24f173['msgId'],_0x19cae9?.[_0x54977c(0x12f)])){if(_0x48f77d['bfdbl'](_0x24f173[_0x54977c(0x145)],0x2))return delete sendSuccessCBMap[_0x10a01b],_0x185681=!![],_0x48f77d[_0x54977c(0x153)](_0x4765a7,_0x24f173),!![];return![];}return![];},sendMessagePool[_0x54d530]=async _0x11dd61=>{delete sendMessagePool[_0x54d530],_0x19cae9=_0x11dd61;},setTimeout(()=>{const _0x232a6b=_0x19e1;if(_0x185681)return;delete sendMessagePool[_0x54d530],delete sendSuccessCBMap[_0x10a01b],_0x2e6b78(_0x249049[_0x232a6b(0x13d)]);},_0x4a7c06);const _0x436b72=napCatCore[_0x129557(0x169)][_0x129557(0x141)]()[_0x129557(0x142)]('0',_0x5858a0,_0x54be32,new Map());});}static async[_0x2fc698(0x16a)](_0x179d54,_0x59cf69,_0x340e7e){const _0x41d8da=_0x2fc698;return napCatCore[_0x41d8da(0x169)][_0x41d8da(0x141)]()[_0x41d8da(0x16a)](_0x340e7e,_0x179d54,[_0x59cf69],new Map());}static async[_0x2fc698(0x14d)](_0x27459d,_0xa68a19,_0x332f14){const _0x59a5be=_0x2fc698,_0x3eb3d5={'Nsfsm':function(_0x16911a,_0x57a820){return _0x16911a!=_0x57a820;},'xxpQO':function(_0x5f13ef,_0x4f9770){return _0x5f13ef==_0x4f9770;},'eQicy':function(_0x595e7f,_0x2f236b){return _0x595e7f==_0x2f236b;},'tGqLE':function(_0x436c03,_0x3714a7){return _0x436c03(_0x3714a7);},'NfgvV':_0x59a5be(0x16f),'NjJUK':function(_0x450a7c){return _0x450a7c();},'KQxSe':function(_0x27003e,_0x1de025,_0x1e92d8){return _0x27003e(_0x1de025,_0x1e92d8);}},_0x2261b8=_0x332f14[_0x59a5be(0x13b)](_0x46d553=>{const _0x402a86=_0x59a5be;return{'msgId':_0x46d553,'senderShowName':selfInfo[_0x402a86(0x134)]};});return new Promise((_0x3f504c,_0x20817f)=>{const _0x1daf72=_0x59a5be,_0xba1659={'HTwPP':function(_0x3b34e0,_0x5216d2){const _0xa1c508=_0x19e1;return _0x3eb3d5[_0xa1c508(0x158)](_0x3b34e0,_0x5216d2);},'sJYNg':_0x3eb3d5[_0x1daf72(0x13f)]};let _0x234e61=![];const _0x151db5=_0x1a217f=>{const _0x3ec3e6=_0x1daf72,_0x1cc509=_0x1a217f[_0x3ec3e6(0x15c)][_0x3ec3e6(0x170)](_0x1a60aa=>_0x1a60aa[_0x3ec3e6(0x16c)]);if(!_0x1cc509)return;const _0x7252ba=JSON[_0x3ec3e6(0x14b)](_0x1cc509[_0x3ec3e6(0x16c)][_0x3ec3e6(0x164)]);if(_0x3eb3d5[_0x3ec3e6(0x168)](_0x7252ba['app'],'com.tencent.multimsg'))return;_0x3eb3d5['xxpQO'](_0x1a217f[_0x3ec3e6(0x14f)],_0xa68a19[_0x3ec3e6(0x14f)])&&_0x3eb3d5['eQicy'](_0x1a217f[_0x3ec3e6(0x144)],selfInfo[_0x3ec3e6(0x16e)])&&(_0x234e61=!![],_0x3f504c(_0x1a217f));};sentMsgTasks[_0x1daf72(0x150)](_0x3eb3d5[_0x1daf72(0x140)](randomUUID),_0x151db5),_0x3eb3d5[_0x1daf72(0x163)](setTimeout,()=>{const _0x337a2c=_0x1daf72;!_0x234e61&&_0xba1659[_0x337a2c(0x138)](_0x20817f,_0xba1659['sJYNg']);},0x1388),napCatCore[_0x1daf72(0x169)][_0x1daf72(0x141)]()[_0x1daf72(0x154)](_0x2261b8,_0x27459d,_0xa68a19,[],new Map());});}} \ No newline at end of file +const _0x28088f=_0x4c2a;(function(_0x38df56,_0x37cace){const _0x3c765e=_0x4c2a,_0x541f1f=_0x38df56();while(!![]){try{const _0x56608d=-parseInt(_0x3c765e(0xd3))/0x1+-parseInt(_0x3c765e(0xc3))/0x2*(-parseInt(_0x3c765e(0xcd))/0x3)+parseInt(_0x3c765e(0xd1))/0x4+-parseInt(_0x3c765e(0xf4))/0x5+-parseInt(_0x3c765e(0xe8))/0x6+parseInt(_0x3c765e(0xe3))/0x7+parseInt(_0x3c765e(0xdb))/0x8;if(_0x56608d===_0x37cace)break;else _0x541f1f['push'](_0x541f1f['shift']());}catch(_0x2a29cb){_0x541f1f['push'](_0x541f1f['shift']());}}}(_0x1dc7,0x6dbf1));import{selfInfo}from'@/core/data';function _0x4c2a(_0x5e4d96,_0x2ab739){const _0x1dc710=_0x1dc7();return _0x4c2a=function(_0x4c2a5b,_0x4148fa){_0x4c2a5b=_0x4c2a5b-0xba;let _0x3a3438=_0x1dc710[_0x4c2a5b];return _0x3a3438;},_0x4c2a(_0x5e4d96,_0x2ab739);}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x1dc7(){const _0xb9f5b7=['uid','orafD','1643764CVCtJW','izIgK','452085kBbmow','activateChatAndGetHistory','map','set','senderUid','recallMsg','delete','bytesData','7454568tMoISA','QbXcU','multiForwardMsg','KpRvP','setMsgEmojiLikes','getMsgsByMsgId','IecNL','yyOir','5229651mDUsxf','ecwGt','length','Lnulc','onAddSendMsg','3024906mDTikS','catch','toString','转发消息超时','yxqmh','sendMsg','nick','app','msgId','getMsgsBySeqAndCount','addListener','发送超时','4435655ZysyRn','setEmojiLike','arkElement','find','getMsgService','BQPXk','sendStatus','QExaZ','fetchRecentContact','ihSTU','xNJce','WllcE','then','2JrGsqZ','getMultiMsg','session','getMsgsIncludeSelf','peerUid','parse','XzuYS','setMsgRead','onMsgInfoListUpdate','getMsgHistory','609099CqxfMX','com.tencent.multimsg'];_0x1dc7=function(){return _0xb9f5b7;};return _0x1dc7();}const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x28088f(0xe7)]=_0xc2727c=>{const _0x98a46=_0x28088f,_0x9f0a32={'BQPXk':function(_0x2bcfa7,_0x32be68){return _0x2bcfa7 instanceof _0x32be68;}};for(const [_0x12ecbf,_0xae78a5]of sentMsgTasks){_0xae78a5(_0xc2727c),sentMsgTasks[_0x98a46(0xd9)](_0x12ecbf);}if(sendMessagePool[_0xc2727c['peerUid']]){const _0x416a91=sendMessagePool[_0xc2727c[_0x98a46(0xc7)]]?.(_0xc2727c);_0x9f0a32[_0x98a46(0xbb)](_0x416a91,Promise)&&_0x416a91[_0x98a46(0xc2)]()[_0x98a46(0xe9)](logError);}},msgListener[_0x28088f(0xcb)]=_0x17d6cb=>{const _0xf8a723={'yxqmh':function(_0x5add81,_0x57ceb4){return _0x5add81 instanceof _0x57ceb4;},'FfwNJ':function(_0xabb2b,_0x3b92ea){return _0xabb2b(_0x3b92ea);}};_0x17d6cb['forEach'](_0x24a43b=>{const _0xc9da2e=_0x4c2a;new Promise((_0x492a9d,_0xcafcca)=>{const _0xd3a7b7=_0x4c2a;for(const _0x129494 in sendSuccessCBMap){const _0x35dcc4=sendSuccessCBMap[_0x129494],_0x27fa6b=_0x35dcc4(_0x24a43b),_0x61c65c=_0x4de50c=>{_0x4de50c&&delete sendSuccessCBMap[_0x129494];};_0xf8a723[_0xd3a7b7(0xec)](_0x27fa6b,Promise)?_0x27fa6b[_0xd3a7b7(0xc2)](_0x61c65c):_0xf8a723['FfwNJ'](_0x61c65c,_0x27fa6b);}})[_0xc9da2e(0xc2)]()['catch'](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3bfe65=_0x4c2a;napCatCore[_0x3bfe65(0xf2)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x28088f(0xf5)](_0x5c657c,_0x3dc8d5,_0x4f4f12,_0x1f3a41=!![]){const _0x2500c7=_0x28088f,_0x26ed9f={'wXRcW':function(_0x1560c2,_0x2123ea){return _0x1560c2>_0x2123ea;}};return _0x4f4f12=_0x4f4f12[_0x2500c7(0xea)](),napCatCore[_0x2500c7(0xc5)][_0x2500c7(0xba)]()[_0x2500c7(0xdf)](_0x5c657c,_0x3dc8d5,_0x4f4f12,_0x26ed9f['wXRcW'](_0x4f4f12[_0x2500c7(0xe5)],0x3)?'2':'1',_0x1f3a41);}static async[_0x28088f(0xc4)](_0x2f034c,_0x5920c5,_0x2a3abc){const _0x3a98be=_0x28088f;return napCatCore['session'][_0x3a98be(0xba)]()[_0x3a98be(0xc4)](_0x2f034c,_0x5920c5,_0x2a3abc);}static async[_0x28088f(0xe0)](_0x231505,_0x515302){const _0x2ac6c0=_0x28088f;return await napCatCore[_0x2ac6c0(0xc5)][_0x2ac6c0(0xba)]()[_0x2ac6c0(0xe0)](_0x231505,_0x515302);}static async[_0x28088f(0xf1)](_0x5a6625,_0x473403,_0x16306a,_0x43f176,_0x391b6d){const _0x41d213=_0x28088f;return await napCatCore['session'][_0x41d213(0xba)]()[_0x41d213(0xf1)](_0x5a6625,_0x473403,_0x16306a,_0x43f176,_0x391b6d);}static async['activateChat'](_0x64ca7){}static async[_0x28088f(0xd4)](_0x4ce236){}static async[_0x28088f(0xca)](_0x4acb9c){const _0x9287cd=_0x28088f;return napCatCore[_0x9287cd(0xc5)][_0x9287cd(0xba)]()[_0x9287cd(0xca)](_0x4acb9c);}static async[_0x28088f(0xcc)](_0x1449d7,_0x2f605e,_0x32c623){const _0x488a2a=_0x28088f;return napCatCore['session'][_0x488a2a(0xba)]()[_0x488a2a(0xc6)](_0x1449d7,_0x2f605e,_0x32c623,!![]);}static async[_0x28088f(0xbe)](){}static async[_0x28088f(0xd8)](_0x16e909,_0x50e238){const _0x2f35a2=_0x28088f;await napCatCore[_0x2f35a2(0xc5)]['getMsgService']()[_0x2f35a2(0xd8)]({'chatType':_0x16e909['chatType'],'peerUid':_0x16e909[_0x2f35a2(0xc7)]},_0x50e238);}static async[_0x28088f(0xed)](_0x249589,_0x390685,_0x513bb2=!![],_0x7c3416=0x2710){const _0x1892b7=_0x28088f,_0xfbf595={'ihSTU':function(_0x157157,_0x3022d){return _0x157157>_0x3022d;},'QbXcU':_0x1892b7(0xf3),'ecwGt':function(_0x210479,_0x253146){return _0x210479(_0x253146);},'KpRvP':function(_0x156dd1){return _0x156dd1();},'XzuYS':function(_0x2cb18e,_0x4554c1){return _0x2cb18e===_0x4554c1;},'yyOir':function(_0x1ac3ca,_0x1bfbc6){return _0x1ac3ca===_0x1bfbc6;},'LTQkb':function(_0x10f1e1,_0x396eb7,_0x3cc32d){return _0x10f1e1(_0x396eb7,_0x3cc32d);},'QExaZ':function(_0x1a8091){return _0x1a8091();}},_0xd4b8e9=_0x249589[_0x1892b7(0xc7)];let _0x494c78=0x0;const _0x3a6ccf=async()=>{const _0xf35635=_0x1892b7;if(_0xfbf595[_0xf35635(0xbf)](_0x494c78,_0x7c3416))throw _0xfbf595[_0xf35635(0xdc)];const _0x4b9b52=sendMessagePool[_0x249589[_0xf35635(0xc7)]];if(_0x4b9b52)return await _0xfbf595['ecwGt'](sleep,0x1f4),_0x494c78+=0x1f4,await _0xfbf595[_0xf35635(0xde)](_0x3a6ccf);else return;};return await _0xfbf595[_0x1892b7(0xbd)](_0x3a6ccf),new Promise((_0xa29a41,_0x4d7c5d)=>{const _0x3a44c7=_0x1892b7,_0x42e90d={'Lnulc':function(_0x4149f2,_0x2f2d98){const _0x2ce94f=_0x4c2a;return _0xfbf595[_0x2ce94f(0xc9)](_0x4149f2,_0x2f2d98);},'bvcbY':function(_0x7c5c29,_0xb81aaa){const _0xbda905=_0x4c2a;return _0xfbf595[_0xbda905(0xe2)](_0x7c5c29,_0xb81aaa);}};let _0x1524f2=![],_0xddd5ab=null;const _0x5eb69b=randomUUID();sendSuccessCBMap[_0x5eb69b]=_0x2229c3=>{const _0x521e78=_0x4c2a;if(_0x42e90d[_0x521e78(0xe6)](_0x2229c3['msgId'],_0xddd5ab?.[_0x521e78(0xf0)])){if(_0x42e90d['bvcbY'](_0x2229c3[_0x521e78(0xbc)],0x2))return delete sendSuccessCBMap[_0x5eb69b],_0x1524f2=!![],_0xa29a41(_0x2229c3),!![];return![];}return![];},sendMessagePool[_0xd4b8e9]=async _0xa4387d=>{delete sendMessagePool[_0xd4b8e9],_0xddd5ab=_0xa4387d;},_0xfbf595['LTQkb'](setTimeout,()=>{const _0x2e4272=_0x4c2a;if(_0x1524f2)return;delete sendMessagePool[_0xd4b8e9],delete sendSuccessCBMap[_0x5eb69b],_0xfbf595[_0x2e4272(0xe4)](_0x4d7c5d,_0xfbf595[_0x2e4272(0xdc)]);},_0x7c3416);const _0x2681a3=napCatCore[_0x3a44c7(0xc5)]['getMsgService']()[_0x3a44c7(0xed)]('0',_0x249589,_0x390685,new Map());});}static async['forwardMsg'](_0x1e2981,_0x552958,_0x1f4e39){const _0x25e192=_0x28088f;return napCatCore[_0x25e192(0xc5)][_0x25e192(0xba)]()['forwardMsg'](_0x1f4e39,_0x1e2981,[_0x552958],new Map());}static async[_0x28088f(0xdd)](_0xf31d2a,_0x313f8e,_0x43f322){const _0x48d419=_0x28088f,_0x1dde75={'WllcE':function(_0x15caa3,_0x52bc39){return _0x15caa3!=_0x52bc39;},'IecNL':_0x48d419(0xce),'oMoHw':function(_0x8666e1,_0x17b0ad){return _0x8666e1==_0x17b0ad;},'LegcV':function(_0x41f195,_0x35cf80){return _0x41f195(_0x35cf80);},'izIgK':function(_0x596bb2,_0x193dee){return _0x596bb2(_0x193dee);},'orafD':_0x48d419(0xeb),'xNJce':function(_0x3e060d){return _0x3e060d();}},_0x470e78=_0x43f322[_0x48d419(0xd5)](_0x4d1c54=>{const _0x3d77f9=_0x48d419;return{'msgId':_0x4d1c54,'senderShowName':selfInfo[_0x3d77f9(0xee)]};});return new Promise((_0x36f034,_0xf41de4)=>{const _0x1e4d04=_0x48d419;let _0x116c7e=![];const _0x175475=_0x26c3e5=>{const _0x4cbb1d=_0x4c2a,_0xac8ab1=_0x26c3e5['elements'][_0x4cbb1d(0xf7)](_0x158ac0=>_0x158ac0[_0x4cbb1d(0xf6)]);if(!_0xac8ab1)return;const _0x575117=JSON[_0x4cbb1d(0xc8)](_0xac8ab1[_0x4cbb1d(0xf6)][_0x4cbb1d(0xda)]);if(_0x1dde75[_0x4cbb1d(0xc1)](_0x575117[_0x4cbb1d(0xef)],_0x1dde75[_0x4cbb1d(0xe1)]))return;_0x26c3e5[_0x4cbb1d(0xc7)]==_0x313f8e[_0x4cbb1d(0xc7)]&&_0x1dde75['oMoHw'](_0x26c3e5[_0x4cbb1d(0xd7)],selfInfo[_0x4cbb1d(0xcf)])&&(_0x116c7e=!![],_0x1dde75['LegcV'](_0x36f034,_0x26c3e5));};sentMsgTasks[_0x1e4d04(0xd6)](_0x1dde75[_0x1e4d04(0xc0)](randomUUID),_0x175475),setTimeout(()=>{const _0x3221a3=_0x1e4d04;!_0x116c7e&&_0x1dde75[_0x3221a3(0xd2)](_0xf41de4,_0x1dde75[_0x3221a3(0xd0)]);},0x1388),napCatCore['session'][_0x1e4d04(0xba)]()['multiForwardMsgWithComment'](_0x470e78,_0xf31d2a,_0x313f8e,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 9fd16c0b..8ec537cf 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -var _0x51c532=_0x2ca7;(function(_0x1c3ae2,_0x884be1){var _0x4be00f=_0x2ca7,_0x97d9c0=_0x1c3ae2();while(!![]){try{var _0x12c0e1=-parseInt(_0x4be00f(0x1ec))/0x1+parseInt(_0x4be00f(0x1e8))/0x2+-parseInt(_0x4be00f(0x1f1))/0x3+parseInt(_0x4be00f(0x1ef))/0x4*(parseInt(_0x4be00f(0x1ea))/0x5)+-parseInt(_0x4be00f(0x1f6))/0x6*(parseInt(_0x4be00f(0x1f9))/0x7)+parseInt(_0x4be00f(0x1fd))/0x8*(parseInt(_0x4be00f(0x1fa))/0x9)+-parseInt(_0x4be00f(0x1fe))/0xa*(-parseInt(_0x4be00f(0x1ee))/0xb);if(_0x12c0e1===_0x884be1)break;else _0x97d9c0['push'](_0x97d9c0['shift']());}catch(_0x34a9e9){_0x97d9c0['push'](_0x97d9c0['shift']());}}}(_0xd76e,0x58668));function _0xd76e(){var _0xcf108a=['6lrOBby','wWGeP','json','3596887NrTjVp','652590TMLmjB','VUKLq','sign','24HIjTNk','1160eAURhn','音乐消息生成成功','lTbzv','catch','358270YyOSOH','POST','426335ITrMnI','CXmEn','135665wIplEO','JsUox','57387GABVDx','16qjxIcD','RnWRS','993933lLGbNu','then','statusText','stringify','url'];_0xd76e=function(){return _0xcf108a;};return _0xd76e();}import{logDebug}from'@/common/utils/log';function _0x2ca7(_0x2182d5,_0x5dd7df){var _0xd76eae=_0xd76e();return _0x2ca7=function(_0x2ca7f5,_0xb6936d){_0x2ca7f5=_0x2ca7f5-0x1e6;var _0x3abbf4=_0xd76eae[_0x2ca7f5];return _0x3abbf4;},_0x2ca7(_0x2182d5,_0x5dd7df);}export class MusicSign{['url'];constructor(_0x48f057){var _0xa6318d=_0x2ca7;this[_0xa6318d(0x1f5)]=_0x48f057;}[_0x51c532(0x1fc)](_0x89479b){var _0x403596=_0x51c532,_0x5e9a2c={'lFUVq':function(_0x102c60,_0x5b2b94){return _0x102c60(_0x5b2b94);},'wWGeP':function(_0x4879d5,_0x51eaa5,_0x5d38e4){return _0x4879d5(_0x51eaa5,_0x5d38e4);},'CXmEn':_0x403596(0x1ff),'VUKLq':function(_0x35acf3,_0x5f05f0){return _0x35acf3(_0x5f05f0);},'JsUox':function(_0x2a3b62,_0x473e21){return _0x2a3b62(_0x473e21);},'lTbzv':_0x403596(0x1e9),'PGjZW':'application/json'};return new Promise((_0x3aec59,_0x417fcf)=>{var _0x320281=_0x403596,_0x4a5e70={'RnWRS':function(_0x51025c,_0x201bfa){var _0x347180=_0x2ca7;return _0x5e9a2c[_0x347180(0x1ed)](_0x51025c,_0x201bfa);}};_0x5e9a2c[_0x320281(0x1f7)](fetch,this[_0x320281(0x1f5)],{'method':_0x5e9a2c[_0x320281(0x1e6)],'headers':{'Content-Type':_0x5e9a2c['PGjZW']},'body':JSON[_0x320281(0x1f4)](_0x89479b)})['then'](_0x12a848=>{var _0x43c0e1=_0x320281;return!_0x12a848['ok']&&_0x5e9a2c['lFUVq'](_0x417fcf,_0x12a848[_0x43c0e1(0x1f3)]),_0x12a848[_0x43c0e1(0x1f8)]();})[_0x320281(0x1f2)](_0x4a77dc=>{var _0x5f29f6=_0x320281;_0x5e9a2c[_0x5f29f6(0x1f7)](logDebug,_0x5e9a2c[_0x5f29f6(0x1eb)],_0x4a77dc),_0x5e9a2c[_0x5f29f6(0x1fb)](_0x3aec59,_0x4a77dc);})[_0x320281(0x1e7)](_0x10c77c=>{var _0x33750e=_0x320281;_0x4a5e70[_0x33750e(0x1f0)](_0x417fcf,_0x10c77c);});});}} \ No newline at end of file +function _0x5a41(_0x246fad,_0x5417e2){var _0x1820ef=_0x1820();return _0x5a41=function(_0x5a41f8,_0x8b9441){_0x5a41f8=_0x5a41f8-0x66;var _0x17ed61=_0x1820ef[_0x5a41f8];return _0x17ed61;},_0x5a41(_0x246fad,_0x5417e2);}var _0xc2f38=_0x5a41;(function(_0x95e857,_0xca6257){var _0x1a2899=_0x5a41,_0x692df5=_0x95e857();while(!![]){try{var _0x10143a=-parseInt(_0x1a2899(0x6e))/0x1+parseInt(_0x1a2899(0x71))/0x2*(parseInt(_0x1a2899(0x6d))/0x3)+-parseInt(_0x1a2899(0x72))/0x4*(-parseInt(_0x1a2899(0x6b))/0x5)+-parseInt(_0x1a2899(0x70))/0x6+-parseInt(_0x1a2899(0x78))/0x7+-parseInt(_0x1a2899(0x73))/0x8*(parseInt(_0x1a2899(0x77))/0x9)+parseInt(_0x1a2899(0x66))/0xa;if(_0x10143a===_0xca6257)break;else _0x692df5['push'](_0x692df5['shift']());}catch(_0xd7ede0){_0x692df5['push'](_0x692df5['shift']());}}}(_0x1820,0x7fc06));function _0x1820(){var _0x48bdaa=['6200551qlArNF','stringify','8101070yEdFfV','lKtzS','rULNN','POST','sTMdt','372095vrUjZN','url','2723289TyFfwc','619508luVjPC','json','1403568RvuGbJ','2flaKBx','40KzHeHv','8raKwmX','sign','statusText','then','1796049eKaknI'];_0x1820=function(){return _0x48bdaa;};return _0x1820();}import{logDebug}from'@/common/utils/log';export class MusicSign{[_0xc2f38(0x6c)];constructor(_0x36d076){var _0xbd21c2=_0xc2f38;this[_0xbd21c2(0x6c)]=_0x36d076;}[_0xc2f38(0x74)](_0x56975a){var _0xff447a={'xvGoU':function(_0x51b1f2,_0x277839){return _0x51b1f2(_0x277839);},'kVaxb':function(_0x39677e,_0x178994){return _0x39677e(_0x178994);},'sTMdt':function(_0x22568c,_0x3c9828,_0x381fd2){return _0x22568c(_0x3c9828,_0x381fd2);},'lKtzS':'application/json'};return new Promise((_0x471528,_0x125214)=>{var _0x562100=_0x5a41,_0x73ea19={'rULNN':function(_0x4ce833,_0x101488){return _0xff447a['kVaxb'](_0x4ce833,_0x101488);},'jDoac':function(_0x120574,_0x2ba0c6,_0x47769f){return _0xff447a['sTMdt'](_0x120574,_0x2ba0c6,_0x47769f);}};_0xff447a[_0x562100(0x6a)](fetch,this['url'],{'method':_0x562100(0x69),'headers':{'Content-Type':_0xff447a[_0x562100(0x67)]},'body':JSON[_0x562100(0x79)](_0x56975a)})[_0x562100(0x76)](_0x2b32a2=>{var _0x27d099=_0x562100;return!_0x2b32a2['ok']&&_0x73ea19[_0x27d099(0x68)](_0x125214,_0x2b32a2[_0x27d099(0x75)]),_0x2b32a2[_0x27d099(0x6f)]();})[_0x562100(0x76)](_0x5a6843=>{_0x73ea19['jDoac'](logDebug,'音乐消息生成成功',_0x5a6843),_0x73ea19['rULNN'](_0x471528,_0x5a6843);})['catch'](_0x490a7b=>{_0xff447a['xvGoU'](_0x125214,_0x490a7b);});});}} \ 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 688851dc..3453a3fc 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -function _0x1268(_0x47b728,_0x58721f){const _0x3c9b9a=_0x3c9b();return _0x1268=function(_0x126806,_0x565c63){_0x126806=_0x126806-0x112;let _0x5a24c7=_0x3c9b9a[_0x126806];return _0x5a24c7;},_0x1268(_0x47b728,_0x58721f);}const _0x1e05b2=_0x1268;(function(_0x5178fb,_0x255ff2){const _0x56347f=_0x1268,_0x3743df=_0x5178fb();while(!![]){try{const _0x499152=parseInt(_0x56347f(0x12f))/0x1*(-parseInt(_0x56347f(0x140))/0x2)+parseInt(_0x56347f(0x141))/0x3+-parseInt(_0x56347f(0x11f))/0x4*(parseInt(_0x56347f(0x11a))/0x5)+-parseInt(_0x56347f(0x119))/0x6*(parseInt(_0x56347f(0x129))/0x7)+parseInt(_0x56347f(0x142))/0x8+parseInt(_0x56347f(0x150))/0x9*(parseInt(_0x56347f(0x133))/0xa)+parseInt(_0x56347f(0x144))/0xb;if(_0x499152===_0x255ff2)break;else _0x3743df['push'](_0x3743df['shift']());}catch(_0x5928d4){_0x3743df['push'](_0x3743df['shift']());}}}(_0x3c9b,0xe3312));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x3c9b(){const _0x387c6a=['7256040mTanOC','ubrdv','24098767MuXdzh','delete','onLoginSuccess','vYjdI','Rcbmz','yITkX','setBuddyProfileLike','GXHDd','getTipOffService','getMsgService','then','FgWVX','45Jqkhse','push','session','wPmrX','getUserDetailInfoWithBizInfo','fromEntries','tVpPG','uin','&clientkey=','now','skey','OljyA','fmtHE','6ifMVXR','38300jdNTxb','addListener','Nljfi','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','PskeyData','496zHUHuu','getRobotUinRange','getPskey','FBoLj','setSelfOnlineStatus','get','assign','getProfileService','Skey','errMsg','5351542FlJOyO','getUserDetailInfo','setQQAvatar','uid','getRobotService','set','4211YQuYfX','getUserDetailInfo\x20timeout','onProfileDetailInfoChanged','gGDHW','318970XcKLVy','domainPskeyMap','getProfileLikeService','PskeyTime','eObFA','HnPMD','result','entries','forceFetchClientKey','CreatTime','getTicketService','forEach','getSkey','338AbUoBV','297888gsHgoX'];_0x3c9b=function(){return _0x387c6a;};return _0x3c9b();}profileListener[_0x1e05b2(0x131)]=_0xa448d0=>{const _0x51c36c=_0x1e05b2;userInfoCache[_0xa448d0[_0x51c36c(0x12c)]]=_0xa448d0,userDetailHandlers[_0x51c36c(0x13e)](_0x1eceac=>_0x1eceac(_0xa448d0));},setTimeout(()=>{const _0xde98fc=_0x1e05b2;napCatCore[_0xde98fc(0x146)](()=>{const _0x3722af=_0xde98fc;napCatCore[_0x3722af(0x11b)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x1e05b2(0x123)](_0x5e4d80,_0x38fb21,_0x5da485){const _0x50cdd0=_0x1e05b2;return napCatCore[_0x50cdd0(0x152)][_0x50cdd0(0x14d)]()['setStatus']({'status':_0x5e4d80,'extStatus':_0x38fb21,'batteryStatus':_0x5da485});}static async['like'](_0x2ff256,_0x286930=0x1){const _0x281551=_0x1e05b2;return napCatCore[_0x281551(0x152)][_0x281551(0x135)]()[_0x281551(0x14a)]({'friendUid':_0x2ff256,'sourceId':0x47,'doLikeCount':_0x286930,'doLikeTollCount':0x0});}static async[_0x1e05b2(0x12b)](_0x189fd0){const _0xe3d99a=_0x1e05b2,_0x4a4283=napCatCore[_0xe3d99a(0x152)]['getProfileService']()['setHeader'](_0x189fd0);return{'result':_0x4a4283?.['result'],'errMsg':_0x4a4283?.[_0xe3d99a(0x128)]};}static async['getSelfInfo'](){}static async['getUserInfo'](_0x4b5a6c){}static async[_0x1e05b2(0x12a)](_0x3dd7cb){const _0x59f6a0=_0x1e05b2,_0x101aa6={'ubrdv':_0x59f6a0(0x130),'lonSM':function(_0x1ce0b1,_0x20ae99){return _0x1ce0b1===_0x20ae99;},'Ztzjz':function(_0x42c39e,_0x506484,_0x4f6846){return _0x42c39e(_0x506484,_0x4f6846);}},_0x2f194b=napCatCore[_0x59f6a0(0x152)][_0x59f6a0(0x126)]();return new Promise((_0x2db17,_0x280df5)=>{const _0x5aea0a=_0x59f6a0,_0x21dfde={'gGDHW':function(_0x35ba27,_0x456876){return _0x35ba27(_0x456876);},'yITkX':_0x101aa6[_0x5aea0a(0x143)],'CZshh':function(_0x41b231,_0x2b8d1d){return _0x101aa6['lonSM'](_0x41b231,_0x2b8d1d);}},_0x4fc382=randomUUID();let _0x36f1a6=![];_0x101aa6['Ztzjz'](setTimeout,()=>{const _0x41019=_0x5aea0a;!_0x36f1a6&&_0x21dfde['gGDHW'](_0x280df5,_0x21dfde[_0x41019(0x149)]);},0x1388),userDetailHandlers[_0x5aea0a(0x12e)](_0x4fc382,_0x408aab=>{const _0x41ac11=_0x5aea0a;_0x21dfde['CZshh'](_0x408aab[_0x41ac11(0x12c)],_0x3dd7cb)&&(_0x36f1a6=!![],userDetailHandlers[_0x41ac11(0x145)](_0x4fc382),_0x21dfde[_0x41ac11(0x132)](_0x2db17,_0x408aab));}),_0x2f194b[_0x5aea0a(0x154)](_0x3dd7cb,[0x0])[_0x5aea0a(0x14e)](_0x233020=>{});});}static async['getPSkey'](_0x231a8a,_0x325c27=!![]){const _0x83b220=_0x1e05b2,_0x31eef8={'GXHDd':function(_0x323a9a,_0x20d2f8){return _0x323a9a||_0x20d2f8;},'vYjdI':function(_0x107e26,_0x342d94){return _0x107e26>_0x342d94;},'Rcbmz':function(_0x47418e,_0x57ce31){return _0x47418e-_0x57ce31;},'Nljfi':function(_0x39db11,_0x17b213){return _0x39db11>_0x17b213;},'wPmrX':function(_0x18bcb1,_0x26e418,_0x3b31e1){return _0x18bcb1(_0x26e418,_0x3b31e1);},'fmtHE':'获取Pskey失败'};let _0x593246=[],_0x51bb6e={};for(let _0x551b58 in _0x231a8a){let _0x2c3d60=Credentials[_0x83b220(0x11e)]['get'](_0x231a8a[_0x551b58]),_0x923218=Credentials['PskeyTime'][_0x83b220(0x124)](_0x231a8a[_0x551b58]);_0x31eef8[_0x83b220(0x14b)](!_0x2c3d60,!_0x923218)||_0x31eef8[_0x83b220(0x147)](_0x31eef8[_0x83b220(0x148)](Date[_0x83b220(0x115)](),_0x923218),0x708*0x3e8)||!_0x325c27?_0x593246[_0x83b220(0x151)](_0x231a8a[_0x551b58]):_0x51bb6e[_0x231a8a[_0x551b58]]=_0x2c3d60;}let _0x561e90={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x31eef8[_0x83b220(0x11c)](_0x593246['length'],0x0)&&(_0x561e90=await napCatCore[_0x83b220(0x152)][_0x83b220(0x14c)]()[_0x83b220(0x121)](_0x593246,!![]));let _0x397a71=_0x561e90[_0x83b220(0x134)];for(let _0x5d6fc2 of _0x397a71[_0x83b220(0x13a)]()){Credentials[_0x83b220(0x11e)][_0x83b220(0x12e)](_0x5d6fc2[0x0],_0x5d6fc2[0x1]),Credentials[_0x83b220(0x136)][_0x83b220(0x12e)](_0x5d6fc2[0x0],Date[_0x83b220(0x115)]());}let _0x6abf2e=Object[_0x83b220(0x125)](Object[_0x83b220(0x155)](_0x397a71),_0x51bb6e);if(_0x561e90[_0x83b220(0x139)]===0x0)return _0x6abf2e;else _0x31eef8[_0x83b220(0x153)](logError,_0x31eef8[_0x83b220(0x118)],_0x561e90[_0x83b220(0x128)]);return{};}static async[_0x1e05b2(0x120)](){const _0x3f5741=_0x1e05b2,_0x4ee1cb=await napCatCore[_0x3f5741(0x152)][_0x3f5741(0x12d)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4ee1cb?.['response']?.['robotUinRanges'];}static async[_0x1e05b2(0x13f)](_0x5628e4=!![]){const _0xf2c501=_0x1e05b2,_0x870672={'OljyA':function(_0x937450,_0x84be96){return _0x937450>_0x84be96;},'eObFA':function(_0x5bfc26,_0x4b15f5){return _0x5bfc26+_0x4b15f5;},'tVpPG':function(_0x5ca45e,_0x4e80fc){return _0x5ca45e+_0x4e80fc;},'FgWVX':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','YyaMN':_0xf2c501(0x114),'FBoLj':_0xf2c501(0x11d),'HnPMD':function(_0x5d5212,_0x67a8c7){return _0x5d5212(_0x67a8c7);},'fpIEt':_0xf2c501(0x116)};try{if(Credentials[_0xf2c501(0x13c)]==0x0||_0x870672[_0xf2c501(0x117)](Date[_0xf2c501(0x115)]()-Credentials['CreatTime'],0x3e8*0xe10)||!_0x5628e4){const _0x1cf6c1=await napCatCore[_0xf2c501(0x152)][_0xf2c501(0x13d)]()[_0xf2c501(0x13b)]('');if(_0x1cf6c1[_0xf2c501(0x139)]!==0x0)return'';const _0x2429d5=_0x1cf6c1['clientKey'],_0x45838c=_0x1cf6c1['keyIndex'],_0x1d7a96=_0x870672[_0xf2c501(0x137)](_0x870672[_0xf2c501(0x112)](_0x870672['tVpPG'](_0x870672['eObFA'](_0x870672[_0xf2c501(0x14f)]+selfInfo[_0xf2c501(0x113)],_0x870672['YyaMN']),_0x2429d5),_0x870672[_0xf2c501(0x122)]),_0x45838c),_0x1d9a38=await _0x870672[_0xf2c501(0x138)](HttpGetCookies,_0x1d7a96),_0x3abbc9=_0x1d9a38[_0xf2c501(0x124)](_0x870672['fpIEt']);if(!_0x3abbc9)return'';return Credentials['CreatTime']=Date['now'](),Credentials[_0xf2c501(0x127)]=_0x3abbc9,_0x3abbc9;}return Credentials[_0xf2c501(0x127)];}catch(_0x46818b){}return undefined;}} \ No newline at end of file +const _0x2dfefb=_0x20aa;(function(_0x1feae4,_0x298518){const _0x2794d3=_0x20aa,_0x301cf3=_0x1feae4();while(!![]){try{const _0x539ba4=parseInt(_0x2794d3(0x1e0))/0x1*(-parseInt(_0x2794d3(0x1d5))/0x2)+parseInt(_0x2794d3(0x1dd))/0x3+-parseInt(_0x2794d3(0x1bd))/0x4+parseInt(_0x2794d3(0x1d8))/0x5*(-parseInt(_0x2794d3(0x1c9))/0x6)+-parseInt(_0x2794d3(0x1de))/0x7+-parseInt(_0x2794d3(0x1eb))/0x8*(-parseInt(_0x2794d3(0x1e9))/0x9)+parseInt(_0x2794d3(0x1f0))/0xa;if(_0x539ba4===_0x298518)break;else _0x301cf3['push'](_0x301cf3['shift']());}catch(_0x5a6888){_0x301cf3['push'](_0x301cf3['shift']());}}}(_0xca08,0xeeee2));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0xca08(){const _0x4dff8d=['raBeE','clientKey','4229346bsJGVF','947541uteOdS','getUserInfo','481bZuOrn','getPSkey','onProfileDetailInfoChanged','getUserDetailInfoWithBizInfo','LKnHq','like','forEach','addListener','ialdw','28494LRAEqi','AitQD','24DnIbAJ','cxfNg','getSkey','getMsgService','JtmLW','37932920JJBnmO','now','rfxaU','setStatus','keyIndex','push','CreatTime','Skey','setQQAvatar','getProfileLikeService','domainPskeyMap','6042180qCxcsI','bMjWy','getRobotUinRange','length','PskeyData','lNWAL','setBuddyProfileLike','uid','&clientkey=','result','entries','get','30JAdUMA','getTipOffService','CBVEX','setSelfOnlineStatus','set','fromEntries','skey','getProfileService','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','session','delete','vIEYZ','7432yCUxpM','ZHUlz','onLoginSuccess','800610kwTTxe','获取Pskey失败','robotUinRanges'];_0xca08=function(){return _0x4dff8d;};return _0xca08();}profileListener[_0x2dfefb(0x1e2)]=_0x3a4fd0=>{const _0x42768b=_0x2dfefb;userInfoCache[_0x3a4fd0[_0x42768b(0x1c4)]]=_0x3a4fd0,userDetailHandlers[_0x42768b(0x1e6)](_0x1da167=>_0x1da167(_0x3a4fd0));},setTimeout(()=>{const _0x3de60f=_0x2dfefb;napCatCore[_0x3de60f(0x1d7)](()=>{const _0x528bd9=_0x3de60f;napCatCore[_0x528bd9(0x1e7)](profileListener);});},0x64);function _0x20aa(_0x2262db,_0x2aad88){const _0xca08b4=_0xca08();return _0x20aa=function(_0x20aa8d,_0x457782){_0x20aa8d=_0x20aa8d-0x1b5;let _0x2f22a4=_0xca08b4[_0x20aa8d];return _0x2f22a4;},_0x20aa(_0x2262db,_0x2aad88);}export class NTQQUserApi{static async[_0x2dfefb(0x1cc)](_0x2ffdc9,_0x2fd87a,_0x1f39c3){const _0x2f3bf8=_0x2dfefb;return napCatCore[_0x2f3bf8(0x1d2)][_0x2f3bf8(0x1ee)]()[_0x2f3bf8(0x1b5)]({'status':_0x2ffdc9,'extStatus':_0x2fd87a,'batteryStatus':_0x1f39c3});}static async[_0x2dfefb(0x1e5)](_0x4fe478,_0x220b9e=0x1){const _0x2212c6=_0x2dfefb;return napCatCore['session'][_0x2212c6(0x1bb)]()[_0x2212c6(0x1c3)]({'friendUid':_0x4fe478,'sourceId':0x47,'doLikeCount':_0x220b9e,'doLikeTollCount':0x0});}static async[_0x2dfefb(0x1ba)](_0x4e7f3f){const _0x162c7c=_0x2dfefb,_0x5453ec=napCatCore[_0x162c7c(0x1d2)][_0x162c7c(0x1d0)]()['setHeader'](_0x4e7f3f);return{'result':_0x5453ec?.[_0x162c7c(0x1c6)],'errMsg':_0x5453ec?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x2dfefb(0x1df)](_0xcff013){}static async['getUserDetailInfo'](_0x276e57){const _0x1012da=_0x2dfefb,_0x5bbd4e={'rJtXu':function(_0x50075b,_0x468b27){return _0x50075b(_0x468b27);},'ozdCU':function(_0x3704a5,_0x3dea7d){return _0x3704a5===_0x3dea7d;},'bMjWy':function(_0x3b0065,_0x4bb6e4){return _0x3b0065(_0x4bb6e4);},'CBVEX':function(_0x2c2c4b,_0x4ab473,_0x524c7a){return _0x2c2c4b(_0x4ab473,_0x524c7a);}},_0x8c8ea0=napCatCore['session'][_0x1012da(0x1d0)]();return new Promise((_0x28ed2,_0x402f47)=>{const _0x53d6dd=_0x1012da,_0x2c7cc1=randomUUID();let _0x396064=![];_0x5bbd4e[_0x53d6dd(0x1cb)](setTimeout,()=>{!_0x396064&&_0x5bbd4e['rJtXu'](_0x402f47,'getUserDetailInfo\x20timeout');},0x1388),userDetailHandlers[_0x53d6dd(0x1cd)](_0x2c7cc1,_0x129a31=>{const _0x315d02=_0x53d6dd;_0x5bbd4e['ozdCU'](_0x129a31[_0x315d02(0x1c4)],_0x276e57)&&(_0x396064=!![],userDetailHandlers[_0x315d02(0x1d3)](_0x2c7cc1),_0x5bbd4e[_0x315d02(0x1be)](_0x28ed2,_0x129a31));}),_0x8c8ea0[_0x53d6dd(0x1e3)](_0x276e57,[0x0])['then'](_0x4285cc=>{});});}static async[_0x2dfefb(0x1e1)](_0x1b5c2a,_0xd5b914=!![]){const _0xcb407=_0x2dfefb,_0x916cfc={'OejWM':function(_0x418d7c,_0x2c26e9){return _0x418d7c||_0x2c26e9;},'ialdw':function(_0x1f1f24,_0x50a70d){return _0x1f1f24-_0x50a70d;},'AitQD':function(_0x34682f,_0x493e1d){return _0x34682f*_0x493e1d;},'vIEYZ':function(_0x2922f3,_0x45bf9c){return _0x2922f3>_0x45bf9c;},'TYAqH':function(_0x45add5,_0x531974){return _0x45add5===_0x531974;},'JtmLW':function(_0x41dbf0,_0x5e613b,_0x3ae5b0){return _0x41dbf0(_0x5e613b,_0x3ae5b0);}};let _0x567ac3=[],_0x534781={};for(let _0x133165 in _0x1b5c2a){let _0x34f95e=Credentials[_0xcb407(0x1c1)][_0xcb407(0x1c8)](_0x1b5c2a[_0x133165]),_0x221a9e=Credentials['PskeyTime'][_0xcb407(0x1c8)](_0x1b5c2a[_0x133165]);_0x916cfc['OejWM'](!_0x34f95e,!_0x221a9e)||_0x916cfc[_0xcb407(0x1e8)](Date[_0xcb407(0x1f1)](),_0x221a9e)>_0x916cfc[_0xcb407(0x1ea)](0x708,0x3e8)||!_0xd5b914?_0x567ac3[_0xcb407(0x1b7)](_0x1b5c2a[_0x133165]):_0x534781[_0x1b5c2a[_0x133165]]=_0x34f95e;}let _0x47b1d6={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x916cfc[_0xcb407(0x1d4)](_0x567ac3[_0xcb407(0x1c0)],0x0)&&(_0x47b1d6=await napCatCore['session'][_0xcb407(0x1ca)]()['getPskey'](_0x567ac3,!![]));let _0x7b267f=_0x47b1d6[_0xcb407(0x1bc)];for(let _0x2fb9f0 of _0x7b267f[_0xcb407(0x1c7)]()){Credentials[_0xcb407(0x1c1)][_0xcb407(0x1cd)](_0x2fb9f0[0x0],_0x2fb9f0[0x1]),Credentials['PskeyTime'][_0xcb407(0x1cd)](_0x2fb9f0[0x0],Date[_0xcb407(0x1f1)]());}let _0x3dec5a=Object['assign'](Object[_0xcb407(0x1ce)](_0x7b267f),_0x534781);if(_0x916cfc['TYAqH'](_0x47b1d6[_0xcb407(0x1c6)],0x0))return _0x3dec5a;else _0x916cfc[_0xcb407(0x1ef)](logError,_0xcb407(0x1d9),_0x47b1d6['errMsg']);return{};}static async[_0x2dfefb(0x1bf)](){const _0x2fd067=_0x2dfefb,_0x7640b6=await napCatCore[_0x2fd067(0x1d2)]['getRobotService']()[_0x2fd067(0x1bf)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x7640b6?.['response']?.[_0x2fd067(0x1da)];}static async[_0x2dfefb(0x1ed)](_0x2bada1=!![]){const _0x366915=_0x2dfefb,_0x2bd63e={'bVEOI':function(_0x1ab4fe,_0xd5a173){return _0x1ab4fe==_0xd5a173;},'EWPZX':function(_0x38ef58,_0x3214c4){return _0x38ef58>_0x3214c4;},'lNWAL':function(_0xf8d5a2,_0x3139e1){return _0xf8d5a2-_0x3139e1;},'cxfNg':function(_0x4b53a6,_0x50ac9d){return _0x4b53a6*_0x50ac9d;},'ZHUlz':function(_0x152db4,_0x3ac8b1){return _0x152db4!==_0x3ac8b1;},'rfxaU':function(_0x48c6db,_0xdc061b){return _0x48c6db+_0xdc061b;},'tzivt':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','LKnHq':_0x366915(0x1d1),'raBeE':_0x366915(0x1cf)};try{if(_0x2bd63e['bVEOI'](Credentials['CreatTime'],0x0)||_0x2bd63e['EWPZX'](_0x2bd63e[_0x366915(0x1c2)](Date[_0x366915(0x1f1)](),Credentials[_0x366915(0x1b8)]),_0x2bd63e[_0x366915(0x1ec)](0x3e8,0xe10))||!_0x2bada1){const _0x7d54ee=await napCatCore[_0x366915(0x1d2)]['getTicketService']()['forceFetchClientKey']('');if(_0x2bd63e[_0x366915(0x1d6)](_0x7d54ee[_0x366915(0x1c6)],0x0))return'';const _0x59e538=_0x7d54ee[_0x366915(0x1dc)],_0x35df3a=_0x7d54ee[_0x366915(0x1b6)],_0x567734=_0x2bd63e['rfxaU'](_0x2bd63e[_0x366915(0x1f2)](_0x2bd63e[_0x366915(0x1f2)](_0x2bd63e['rfxaU'](_0x2bd63e['tzivt'],selfInfo['uin'])+_0x366915(0x1c5),_0x59e538),_0x2bd63e[_0x366915(0x1e4)]),_0x35df3a),_0x438602=await HttpGetCookies(_0x567734),_0x12bb13=_0x438602[_0x366915(0x1c8)](_0x2bd63e[_0x366915(0x1db)]);if(!_0x12bb13)return'';return Credentials[_0x366915(0x1b8)]=Date['now'](),Credentials[_0x366915(0x1b9)]=_0x12bb13,_0x12bb13;}return Credentials[_0x366915(0x1b9)];}catch(_0x27c542){}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 5f81dea9..6dd62aa3 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x4a88c2=_0x3fd3;(function(_0x367a9c,_0x2ac1a9){const _0x5d1e24=_0x3fd3,_0x1e33a6=_0x367a9c();while(!![]){try{const _0x16c297=-parseInt(_0x5d1e24(0x17b))/0x1+parseInt(_0x5d1e24(0x128))/0x2*(-parseInt(_0x5d1e24(0x126))/0x3)+-parseInt(_0x5d1e24(0x16d))/0x4+-parseInt(_0x5d1e24(0x158))/0x5*(-parseInt(_0x5d1e24(0x154))/0x6)+parseInt(_0x5d1e24(0x120))/0x7*(-parseInt(_0x5d1e24(0x187))/0x8)+-parseInt(_0x5d1e24(0x11e))/0x9*(-parseInt(_0x5d1e24(0x156))/0xa)+parseInt(_0x5d1e24(0x119))/0xb;if(_0x16c297===_0x2ac1a9)break;else _0x1e33a6['push'](_0x1e33a6['shift']());}catch(_0x4dd3b6){_0x1e33a6['push'](_0x1e33a6['shift']());}}}(_0x49bf,0xe605e));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x49bf(){const _0x2cb5f9=['&qid=','zqGff','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','errcode','zArXm','wFoqd','QhqDw','uOmKI','WOHgY','getGroupEssenceMsg','ZUota','QnOlU','wBbJv','1881690BtMgHO','getGrouptNotice','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','qun.qq.com','cNqzd','ReKRr','eYhUJ','ONfdE','hyXvq','kSSuB','dXPYP','JARwS','8wXAFxY','setGroupNotice','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','BvgmN','JRCbh',';\x20skey=','31224622wKTVgo','genBkn','charCodeAt','wkPzK','set','2981799RRCTwm','duLnh','3948994TSnmfP','yZOSy','rXpRp','&page_start=','get','grLVr','3YZJVtm','application/x-www-form-urlencoded','1833748evlqnc','lJoQd','BjyCT','getSkey','SUDvi','gpntu','getGroupMembers','waMld','ditGY','p_skey=','now','qLMTs','XjDGI','dNLoJ','VLrlf','mems','wTVAw','iOIfO','tNvQW','length','json','qid=','YHtsN','webapi\x20获取群成员','uin','FIWFz','nYILT','text','getPSkey','retcode','mVTQA','xxoCm','POST','SKRPO','vgeRR','httpDataJson','vwfxV','mtzGM',';\x20uin=o','geiJU','JVKZn','HEAD','GET','TuUal','275634dYNwaw','KqjOV','10vmLDQG','&group_code=','205NJmyfo','httpDataText','zeFtR','wFKMH','ALdDR','zQxJC','push','GroupData','GroupTime','HJUgN',';\x20p_uin=o','krBJU','mUkar','ceil','obctc','TuxxG','RzkJh','&bkn=','zGoZx','count','rJjWy','2994128NFkUqn'];_0x49bf=function(){return _0x2cb5f9;};return _0x49bf();}function _0x3fd3(_0x5ceb8a,_0x32ef85){const _0x49bf6d=_0x49bf();return _0x3fd3=function(_0x3fd35a,_0x553fe4){_0x3fd35a=_0x3fd35a-0x115;let _0x5c45fd=_0x49bf6d[_0x3fd35a];return _0x5c45fd;},_0x3fd3(_0x5ceb8a,_0x32ef85);}import{NTQQUserApi}from'./user';export class WebApi{static async[_0x4a88c2(0x177)](_0x4bc50b,_0x51b4e5){const _0x19fe72=_0x4a88c2,_0x140f64={'QhqDw':_0x19fe72(0x17e),'duLnh':function(_0x5a2f43,_0x4f29ef){return _0x5a2f43+_0x4f29ef;},'wkPzK':function(_0x156147,_0x15f1f9){return _0x156147+_0x15f1f9;},'mtzGM':function(_0x5d8f69,_0x5a14af){return _0x5d8f69+_0x5a14af;},'WdSuB':function(_0x45822d,_0x2a8e6d){return _0x45822d+_0x2a8e6d;},'PemHp':function(_0x561154,_0x1c0d65){return _0x561154+_0x1c0d65;},'eYhUJ':_0x19fe72(0x131),'JRCbh':';\x20skey=','OjOrx':';\x20p_uin=o','ePbSz':function(_0x1f4100,_0x2ed3f6){return _0x1f4100||_0x2ed3f6;},'zeFtR':function(_0x3e65ed,_0x399f16){return _0x3e65ed+_0x399f16;},'djtkR':function(_0x146c06,_0x2077a5){return _0x146c06+_0x2077a5;},'QxrgY':function(_0x4d6ed2,_0x15f37a){return _0x4d6ed2+_0x15f37a;},'SKRPO':function(_0x57d1d6,_0x3f9473){return _0x57d1d6+_0x3f9473;},'FIWFz':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','obctc':_0x19fe72(0x157),'cNqzd':_0x19fe72(0x123),'jgkNl':function(_0x170df7,_0x3d8c07){return _0x170df7!==_0x3d8c07;}},_0xc9149d=(await NTQQUserApi[_0x19fe72(0x144)]([_0x140f64[_0x19fe72(0x174)]]))[_0x140f64[_0x19fe72(0x174)]],_0x454e8b=await NTQQUserApi[_0x19fe72(0x12b)](),_0x54988c=_0x140f64['duLnh'](_0x140f64[_0x19fe72(0x11c)](_0x140f64[_0x19fe72(0x14d)](_0x140f64[_0x19fe72(0x11f)](_0x140f64['WdSuB'](_0x140f64['PemHp'](_0x140f64[_0x19fe72(0x181)],_0xc9149d)+_0x140f64[_0x19fe72(0x117)],_0x454e8b),_0x140f64['OjOrx']),selfInfo[_0x19fe72(0x140)]),_0x19fe72(0x14e)),selfInfo[_0x19fe72(0x140)]);if(_0x140f64['ePbSz'](!_0x454e8b,!_0xc9149d))return undefined;const _0x2afcdd=WebApi[_0x19fe72(0x11a)](_0x454e8b),_0x31a037=_0x140f64[_0x19fe72(0x11f)](_0x140f64[_0x19fe72(0x15a)](_0x140f64['djtkR'](_0x140f64['QxrgY'](_0x140f64[_0x19fe72(0x149)](_0x140f64[_0x19fe72(0x141)]+_0x2afcdd,_0x140f64[_0x19fe72(0x166)]),_0x4bc50b),_0x140f64[_0x19fe72(0x17f)]),_0x51b4e5),'&page_limit=20'),_0x2f19ad=await WebApi[_0x19fe72(0x14b)](_0x31a037,_0x19fe72(0x152),'',_0x54988c);if(_0x140f64['jgkNl'](_0x2f19ad[_0x19fe72(0x145)],0x0))return undefined;return _0x2f19ad;}static async[_0x4a88c2(0x12e)](_0x4ab674,_0x5151f5=!![]){const _0x15b9ab=_0x4a88c2,_0x100315={'ZUota':function(_0x2cda97,_0x23bcf5,_0x2f055a){return _0x2cda97(_0x23bcf5,_0x2f055a);},'iOIfO':function(_0x5c5dc4,_0x4a15b3){return _0x5c5dc4-_0x4a15b3;},'ZnNmH':function(_0x5731a9,_0xb27567){return _0x5731a9*_0xb27567;},'BvgmN':'qun.qq.com','lJoQd':function(_0x404f39,_0x3590da){return _0x404f39+_0x3590da;},'vwfxV':function(_0x3b49eb,_0x2f6be2){return _0x3b49eb+_0x2f6be2;},'mVTQA':function(_0xa485e2,_0x1c59a7){return _0xa485e2+_0x1c59a7;},'TuUal':_0x15b9ab(0x131),'xxoCm':_0x15b9ab(0x118),'JARwS':_0x15b9ab(0x162),'ONfdE':function(_0x16a53b,_0x104b8c){return _0x16a53b||_0x104b8c;},'gpntu':function(_0x29243c,_0xb9d2f3){return _0x29243c+_0xb9d2f3;},'zArXm':_0x15b9ab(0x169),'ALdDR':function(_0x3f5ad0,_0x4da3d6){return _0x3f5ad0!==_0x4da3d6;},'zjCGs':function(_0x115247,_0x42c250){return _0x115247<=_0x42c250;},'jMSxn':function(_0x44d782,_0x4dd097){return _0x44d782+_0x4dd097;},'zGoZx':function(_0x350368,_0x12fce3){return _0x350368+_0x12fce3;},'qLMTs':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','dXPYP':function(_0x1f0e3c,_0x20c9be){return _0x1f0e3c*_0x20c9be;},'TuxxG':'&sort=1&gc=','kSSuB':function(_0x3e9b13,_0x54b684){return _0x3e9b13<=_0x54b684;}};_0x100315[_0x15b9ab(0x178)](logDebug,_0x15b9ab(0x13f),_0x4ab674);let _0x3d7a69=WebGroupData['GroupData'][_0x15b9ab(0x124)](_0x4ab674),_0x313b29=WebGroupData['GroupTime']['get'](_0x4ab674),_0x484188=new Array();if(!_0x313b29||_0x100315['iOIfO'](Date['now'](),_0x313b29)>_0x100315['ZnNmH'](0x708,0x3e8)||!_0x5151f5){const _0x33fd76=(await NTQQUserApi[_0x15b9ab(0x144)]([_0x100315[_0x15b9ab(0x116)]]))[_0x15b9ab(0x17e)],_0x10b300=await NTQQUserApi[_0x15b9ab(0x12b)](),_0x2966ed=_0x100315[_0x15b9ab(0x129)](_0x100315[_0x15b9ab(0x14c)](_0x100315[_0x15b9ab(0x146)](_0x100315[_0x15b9ab(0x146)](_0x100315[_0x15b9ab(0x153)],_0x33fd76),_0x100315[_0x15b9ab(0x147)]),_0x10b300)+_0x100315[_0x15b9ab(0x186)],selfInfo[_0x15b9ab(0x140)]);if(_0x100315[_0x15b9ab(0x182)](!_0x10b300,!_0x33fd76))return _0x484188;const _0x46909c=WebApi['genBkn'](_0x10b300),_0xc51686=[],_0x44ad13=await WebApi[_0x15b9ab(0x14b)](_0x100315[_0x15b9ab(0x12d)](_0x100315[_0x15b9ab(0x129)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc='+_0x4ab674,_0x100315[_0x15b9ab(0x172)]),_0x46909c),_0x15b9ab(0x148),'',_0x2966ed);if(!_0x44ad13?.[_0x15b9ab(0x16b)]||_0x100315[_0x15b9ab(0x15c)](_0x44ad13?.[_0x15b9ab(0x171)],0x0)||!_0x44ad13?.[_0x15b9ab(0x137)])return[];else for(const _0xf1756c in _0x44ad13['mems']){_0x484188['push'](_0x44ad13[_0x15b9ab(0x137)][_0xf1756c]);}const _0x23ab20=Math[_0x15b9ab(0x165)](_0x44ad13['count']/0x28);for(let _0x456db4=0x2;_0x100315['zjCGs'](_0x456db4,_0x23ab20);_0x456db4++){const _0x453687=WebApi[_0x15b9ab(0x14b)](_0x100315['mVTQA'](_0x100315['gpntu'](_0x100315[_0x15b9ab(0x12d)](_0x100315['jMSxn'](_0x100315[_0x15b9ab(0x16a)](_0x100315[_0x15b9ab(0x133)]+_0x100315[_0x15b9ab(0x185)](_0x100315[_0x15b9ab(0x139)](_0x456db4,0x1),0x28),'&end='),_0x100315[_0x15b9ab(0x185)](_0x456db4,0x28)),_0x100315[_0x15b9ab(0x167)])+_0x4ab674,_0x100315[_0x15b9ab(0x172)]),_0x46909c),_0x15b9ab(0x148),'',_0x2966ed);_0xc51686[_0x15b9ab(0x15e)](_0x453687);}for(let _0x53a285=0x1;_0x100315[_0x15b9ab(0x184)](_0x53a285,_0x23ab20);_0x53a285++){const _0x34e679=await _0xc51686[_0x53a285];if(!_0x34e679?.[_0x15b9ab(0x16b)]||_0x34e679?.['errcode']!==0x0||!_0x34e679?.[_0x15b9ab(0x137)])continue;for(const _0x4fd936 in _0x34e679[_0x15b9ab(0x137)]){_0x484188[_0x15b9ab(0x15e)](_0x34e679['mems'][_0x4fd936]);}}WebGroupData[_0x15b9ab(0x15f)]['set'](_0x4ab674,_0x484188),WebGroupData[_0x15b9ab(0x160)][_0x15b9ab(0x11d)](_0x4ab674,Date[_0x15b9ab(0x132)]());}else _0x484188=_0x3d7a69;return _0x484188;}static async[_0x4a88c2(0x188)](_0x2e64c5,_0x1a1631=''){const _0xe92acc=_0x4a88c2,_0x5740bf={'JVKZn':_0xe92acc(0x17e),'hBEPs':function(_0x43d8f2,_0x2f251c){return _0x43d8f2+_0x2f251c;},'xdmGy':function(_0x45456b,_0x52a78c){return _0x45456b+_0x52a78c;},'rXpRp':'p_skey=','vtsYg':_0xe92acc(0x118),'wFKMH':function(_0x51e139,_0xeac82b){return _0x51e139||_0xeac82b;},'rJjWy':function(_0x20503d,_0x5ca5bf){return _0x20503d+_0x5ca5bf;},'fipjR':function(_0x2f7e72,_0x32463b){return _0x2f7e72+_0x32463b;},'dNLoJ':function(_0x11ab81,_0x399282){return _0x11ab81+_0x399282;},'agcAb':function(_0x5c0de4,_0x11157a){return _0x5c0de4+_0x11157a;},'krBJU':function(_0x2791f7,_0x2e5ef5){return _0x2791f7+_0x2e5ef5;},'QnOlU':_0xe92acc(0x13d),'KqjOV':'&bkn=','hhYuA':'&text=','nYILT':_0xe92acc(0x17d),'vgeRR':function(_0x129824,_0x2a50a9){return _0x129824+_0x2a50a9;},'ditGY':_0xe92acc(0x170),'grLVr':'GET'},_0x3e8306=(await NTQQUserApi[_0xe92acc(0x144)]([_0x5740bf['JVKZn']]))[_0x5740bf[_0xe92acc(0x150)]],_0xfc7fa=await NTQQUserApi['getSkey'](),_0xeae674=_0x5740bf['hBEPs'](_0x5740bf['hBEPs'](_0x5740bf['xdmGy'](_0x5740bf[_0xe92acc(0x122)]+_0x3e8306,_0x5740bf['vtsYg']),_0xfc7fa)+_0xe92acc(0x162),selfInfo[_0xe92acc(0x140)]);let _0x2e21dc=undefined;if(_0x5740bf[_0xe92acc(0x15b)](!_0xfc7fa,!_0x3e8306))return undefined;const _0x154256=WebApi[_0xe92acc(0x11a)](_0xfc7fa),_0xeb5121=_0x5740bf[_0xe92acc(0x16c)](_0x5740bf['fipjR'](_0x5740bf[_0xe92acc(0x135)](_0x5740bf['agcAb'](_0x5740bf[_0xe92acc(0x163)](_0x5740bf[_0xe92acc(0x179)],_0x2e64c5),_0x5740bf[_0xe92acc(0x155)]),_0x154256)+_0x5740bf['hhYuA'],_0x1a1631),_0x5740bf[_0xe92acc(0x142)]),_0x7be08a=_0x5740bf[_0xe92acc(0x14a)](_0x5740bf[_0xe92acc(0x130)],_0x154256);try{return _0x2e21dc=await WebApi[_0xe92acc(0x14b)](_0x7be08a,_0x5740bf[_0xe92acc(0x125)],'',_0xeae674),_0x2e21dc;}catch(_0x21c420){return undefined;}return undefined;}static async[_0x4a88c2(0x17c)](_0x54fbbf){const _0x3ec070=_0x4a88c2,_0x1a8cba={'ReKRr':_0x3ec070(0x17e),'waMld':function(_0xa06bdb,_0x31c9c3){return _0xa06bdb+_0x31c9c3;},'uOmKI':function(_0x2cab90,_0x5d61b1){return _0x2cab90+_0x5d61b1;},'BjyCT':function(_0x5ba4c6,_0x1d23ae){return _0x5ba4c6+_0x1d23ae;},'jrJiw':function(_0x4278e8,_0x255027){return _0x4278e8+_0x255027;},'Cvrzr':_0x3ec070(0x131),'VLrlf':_0x3ec070(0x118),'RzkJh':_0x3ec070(0x162),'YHtsN':function(_0x5492a3,_0x24959f){return _0x5492a3||_0x24959f;},'SUDvi':function(_0x20634f,_0x389ae7){return _0x20634f+_0x389ae7;},'wFoqd':function(_0x3548cf,_0x1463d9){return _0x3548cf+_0x1463d9;},'geiJU':function(_0x3308fc,_0x345cd2){return _0x3308fc+_0x345cd2;},'btDCO':_0x3ec070(0x115),'tNvQW':function(_0x3a52e6,_0xceb92b){return _0x3a52e6!==_0xceb92b;}},_0x2b0fed=(await NTQQUserApi[_0x3ec070(0x144)]([_0x1a8cba[_0x3ec070(0x180)]]))[_0x1a8cba[_0x3ec070(0x180)]],_0x50b335=await NTQQUserApi['getSkey'](),_0x4f2916=_0x1a8cba[_0x3ec070(0x12f)](_0x1a8cba['waMld'](_0x1a8cba[_0x3ec070(0x175)](_0x1a8cba[_0x3ec070(0x12a)](_0x1a8cba['jrJiw'](_0x1a8cba['Cvrzr'],_0x2b0fed),_0x1a8cba[_0x3ec070(0x136)]),_0x50b335),_0x1a8cba[_0x3ec070(0x168)]),selfInfo[_0x3ec070(0x140)]);let _0x316fc8=undefined;if(_0x1a8cba[_0x3ec070(0x13e)](!_0x50b335,!_0x2b0fed))return undefined;const _0x10d755=WebApi['genBkn'](_0x50b335),_0x583ce4=_0x1a8cba[_0x3ec070(0x12c)](_0x1a8cba[_0x3ec070(0x173)](_0x1a8cba[_0x3ec070(0x14f)](_0x1a8cba['btDCO']+_0x10d755,_0x3ec070(0x16e)),_0x54fbbf),'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20');try{_0x316fc8=await WebApi['httpDataJson'](_0x583ce4,_0x3ec070(0x152),'',_0x4f2916);if(_0x1a8cba[_0x3ec070(0x13a)](_0x316fc8?.['ec'],0x0))return undefined;return _0x316fc8;}catch(_0x535701){return undefined;}return undefined;}static async[_0x4a88c2(0x159)](_0x2adeb9='',_0x390e99=_0x4a88c2(0x152),_0x13e7f5='',_0x43015d=''){const _0x1900d3=_0x4a88c2,_0x13f244={'zQxJC':_0x1900d3(0x152),'wTVAw':function(_0x167b80,_0x59e54a,_0x1c9d43){return _0x167b80(_0x59e54a,_0x1c9d43);},'HJUgN':'application/x-www-form-urlencoded','ZuNnp':function(_0x32b987,_0x1c8a86,_0x1b725e){return _0x32b987(_0x1c8a86,_0x1b725e);},'AEiWy':function(_0xd0abc0,_0x1a744b){return _0xd0abc0(_0x1a744b);}};let _0x5649c7='';return new Promise(async(_0x291145,_0x437200)=>{const _0x261829=_0x1900d3;try{let _0x480149=undefined;_0x390e99===_0x13f244[_0x261829(0x15d)]||_0x390e99===_0x261829(0x151)?_0x480149=await _0x13f244[_0x261829(0x138)](fetch,_0x2adeb9,{'method':_0x390e99,'headers':{'Content-Type':_0x13f244[_0x261829(0x161)],'Cookie':_0x43015d}}):_0x480149=await _0x13f244['ZuNnp'](fetch,_0x2adeb9,{'method':_0x390e99,'headers':{'Content-Type':_0x13f244['HJUgN'],'Cookie':_0x43015d},'body':_0x13e7f5});if(_0x480149['ok'])_0x5649c7=await _0x480149[_0x261829(0x143)]();else{}}catch(_0x1bfb3b){}_0x13f244['AEiWy'](_0x291145,_0x5649c7);});}static async[_0x4a88c2(0x14b)](_0x3d39f1='',_0x14a7c0='GET',_0x44b26d='',_0x8740b=''){const _0xa6a01c=_0x4a88c2,_0x415d59={'wBbJv':function(_0x2f177e,_0x5397ae){return _0x2f177e===_0x5397ae;},'yZOSy':function(_0x5067d8,_0x741f4d){return _0x5067d8===_0x741f4d;},'mUkar':_0xa6a01c(0x127),'XjDGI':function(_0x49d34d,_0x273bb5){return _0x49d34d(_0x273bb5);}};let _0x1637fc=undefined;return new Promise(async(_0x4ebd5d,_0x26ea9e)=>{const _0xd8e13=_0xa6a01c;try{let _0x5e666c=undefined;_0x415d59[_0xd8e13(0x17a)](_0x14a7c0,'GET')||_0x415d59[_0xd8e13(0x121)](_0x14a7c0,_0xd8e13(0x151))?_0x5e666c=await fetch(_0x3d39f1,{'method':_0x14a7c0,'headers':{'Content-Type':_0x415d59[_0xd8e13(0x164)],'Cookie':_0x8740b}}):_0x5e666c=await fetch(_0x3d39f1,{'method':_0x14a7c0,'headers':{'Content-Type':'application/x-www-form-urlencoded','Cookie':_0x8740b},'body':_0x44b26d});if(_0x5e666c['ok'])_0x1637fc=await _0x5e666c[_0xd8e13(0x13c)]();else{}}catch(_0x24bf12){}_0x415d59[_0xd8e13(0x134)](_0x4ebd5d,_0x1637fc);});}static[_0x4a88c2(0x11a)](_0x73910e){const _0x2f71a6=_0x4a88c2,_0x418014={'hyXvq':function(_0x4cd246,_0x177ab9){return _0x4cd246||_0x177ab9;},'zqGff':function(_0x218647,_0x2728aa){return _0x218647<_0x2728aa;},'jcQiy':function(_0x49fb4a,_0x16f5f7){return _0x49fb4a+_0x16f5f7;},'WOHgY':function(_0x43dfa1,_0xc2e719){return _0x43dfa1&_0xc2e719;}};_0x73910e=_0x418014[_0x2f71a6(0x183)](_0x73910e,'');let _0x2b76da=0x1505;for(let _0xf6efb0=0x0;_0x418014[_0x2f71a6(0x16f)](_0xf6efb0,_0x73910e[_0x2f71a6(0x13b)]);_0xf6efb0++){const _0x12d970=_0x73910e[_0x2f71a6(0x11b)](_0xf6efb0);_0x2b76da=_0x418014['jcQiy'](_0x2b76da,_0x2b76da<<0x5)+_0x12d970;}return _0x418014[_0x2f71a6(0x176)](_0x2b76da,0x7fffffff)['toString']();}} \ No newline at end of file +const _0x59d234=_0x6ca4;(function(_0x3295d3,_0x521720){const _0x55edfe=_0x6ca4,_0x377f09=_0x3295d3();while(!![]){try{const _0x45fb69=parseInt(_0x55edfe(0x153))/0x1*(-parseInt(_0x55edfe(0x17d))/0x2)+parseInt(_0x55edfe(0x131))/0x3*(parseInt(_0x55edfe(0x15b))/0x4)+parseInt(_0x55edfe(0x127))/0x5+-parseInt(_0x55edfe(0x134))/0x6+-parseInt(_0x55edfe(0x11e))/0x7*(parseInt(_0x55edfe(0x11a))/0x8)+-parseInt(_0x55edfe(0x18e))/0x9+parseInt(_0x55edfe(0x16d))/0xa*(parseInt(_0x55edfe(0x119))/0xb);if(_0x45fb69===_0x521720)break;else _0x377f09['push'](_0x377f09['shift']());}catch(_0x5a711b){_0x377f09['push'](_0x377f09['shift']());}}}(_0x151f,0x772c4));function _0x6ca4(_0x44edc7,_0x17e1ed){const _0x151f25=_0x151f();return _0x6ca4=function(_0x6ca410,_0x4247f8){_0x6ca410=_0x6ca410-0x119;let _0x418176=_0x151f25[_0x6ca410];return _0x418176;},_0x6ca4(_0x44edc7,_0x17e1ed);}import{WebGroupData,selfInfo}from'@/core/data';function _0x151f(){const _0x2baabc=['HEAD','CkasX','69OAlsep','&page_start=','now','2662398RgPYAk','mdZYs','RrNna','hFOGQ','IHkEg','hxllW','VgerC','getGrouptNotice','RNgah','MDXHl','EBTJv','getPSkey','CuBHy','zlvcT','bGzqW','YzWEl','charCodeAt','xhCxN','wkRwG','cGxIh','set','NEMai','application/x-www-form-urlencoded','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','BBIXs','HiQEz','&qid=','ITYcW','OCNWI','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','setGroupNotice','1zUSLKm','json','getSkey','tmcud','vEVGV','pffOB','TKcMy','tTwEA','46028kLGGCT','&group_code=','p_skey=','fSARy','MPYxy','CObni','GroupData','LyBQQ','HTKOZ','TFZnX','BZoXA','LGqBy','bzfEy','nPJRN','jHZRJ','GroupTime','qun.qq.com','ssrau','230ftcUzy','nmBFZ','&bkn=','count','mORLI','httpDataJson','uin','hTqTf','ofQEA',';\x20skey=','keWOx','mems','oIhTW','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','&end=','&page_limit=20','1631766bJCmIQ','retcode','&sort=1&gc=','oxQJA','push','genBkn','ejOKn','&text=','zIvdA','errcode','NSAEy','Osjro',';\x20p_uin=o','eHqFY','XmyQs','qid=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','1550709zLexid','sLsDa','957781tHLNxJ','824yQJABN','Pcubt','NtHUa','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','38549HEHDDR','rhtoS','nkduk','njyHa','flHli','ceil',';\x20uin=o','lrjbO','pNtEe','1099880tMLAVZ','GET','LCEsd','VkbxO','get','azDVy','length','thEDY'];_0x151f=function(){return _0x2baabc;};return _0x151f();}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';export class WebApi{static async['getGroupEssenceMsg'](_0x212574,_0x4c229e){const _0x3ce893=_0x6ca4,_0x5a697d={'nmBFZ':_0x3ce893(0x16b),'VkbxO':function(_0x2a31f8,_0x5ce945){return _0x2a31f8+_0x5ce945;},'azDVy':function(_0x292f5e,_0x3a4929){return _0x292f5e+_0x3a4929;},'CkasX':function(_0x179d28,_0x160834){return _0x179d28+_0x160834;},'zIvdA':function(_0x37b97f,_0x131227){return _0x37b97f+_0x131227;},'hxllW':'p_skey=','NtHUa':_0x3ce893(0x176),'ZXEKy':_0x3ce893(0x189),'rhtoS':_0x3ce893(0x124),'BZoXA':function(_0x46771a,_0x4cd4de){return _0x46771a+_0x4cd4de;},'kPEhE':function(_0x59e55f,_0x5a1a33){return _0x59e55f+_0x5a1a33;},'ITYcW':_0x3ce893(0x15c),'HTKOZ':_0x3ce893(0x132),'TFZnX':_0x3ce893(0x17c),'Osjro':_0x3ce893(0x128)},_0x3ea5e2=(await NTQQUserApi[_0x3ce893(0x13f)]([_0x5a697d[_0x3ce893(0x16e)]]))[_0x5a697d[_0x3ce893(0x16e)]],_0x472908=await NTQQUserApi[_0x3ce893(0x155)](),_0x587b61=_0x5a697d[_0x3ce893(0x12a)](_0x5a697d[_0x3ce893(0x12c)](_0x5a697d[_0x3ce893(0x130)](_0x5a697d[_0x3ce893(0x185)](_0x5a697d[_0x3ce893(0x139)]+_0x3ea5e2,_0x5a697d[_0x3ce893(0x11c)])+_0x472908,_0x5a697d['ZXEKy'])+selfInfo[_0x3ce893(0x173)],_0x5a697d[_0x3ce893(0x11f)]),selfInfo[_0x3ce893(0x173)]);if(!_0x472908||!_0x3ea5e2)return undefined;const _0x2f7aca=WebApi[_0x3ce893(0x182)](_0x472908),_0x3afe5a=_0x5a697d['BZoXA'](_0x5a697d[_0x3ce893(0x130)](_0x5a697d['kPEhE'](_0x5a697d[_0x3ce893(0x185)](_0x5a697d[_0x3ce893(0x165)](_0x3ce893(0x18d),_0x2f7aca),_0x5a697d[_0x3ce893(0x14f)]),_0x212574),_0x5a697d[_0x3ce893(0x163)])+_0x4c229e,_0x5a697d[_0x3ce893(0x164)]),_0x1227bf=await WebApi[_0x3ce893(0x172)](_0x3afe5a,_0x5a697d[_0x3ce893(0x188)],'',_0x587b61);if(_0x1227bf[_0x3ce893(0x17e)]!==0x0)return undefined;return _0x1227bf;}static async['getGroupMembers'](_0x4daa15,_0x2b4568=!![]){const _0x9ca0be=_0x6ca4,_0x10b838={'vEVGV':function(_0x46a5e8,_0x1174ac){return _0x46a5e8-_0x1174ac;},'LCEsd':_0x9ca0be(0x16b),'LGqBy':function(_0xeec4df,_0x574cb3){return _0xeec4df+_0x574cb3;},'RrNna':_0x9ca0be(0x15d),'zlvcT':';\x20skey=','ycloy':function(_0x305360,_0x26c57f){return _0x305360||_0x26c57f;},'YzWEl':function(_0x3177ca,_0x307f03){return _0x3177ca+_0x307f03;},'hTqTf':function(_0x33268f,_0x98b625){return _0x33268f+_0x98b625;},'LyBQQ':'POST','ejOKn':function(_0x3007f5,_0x595a55){return _0x3007f5!==_0x595a55;},'hFOGQ':function(_0x37c5fb,_0x77dff7){return _0x37c5fb/_0x77dff7;},'nPJRN':function(_0x4c82bb,_0x139cd5){return _0x4c82bb<=_0x139cd5;},'VgerC':function(_0x44e83b,_0x32b8be){return _0x44e83b+_0x32b8be;},'OCNWI':function(_0x36e58a,_0xe9c1bd){return _0x36e58a+_0xe9c1bd;},'HiQEz':function(_0x299aec,_0x50a1b1){return _0x299aec+_0x50a1b1;},'jHZRJ':function(_0x2fabf8,_0x126fd6){return _0x2fabf8+_0x126fd6;},'SvgwH':_0x9ca0be(0x151),'thEDY':function(_0x114f09,_0x61f84b){return _0x114f09-_0x61f84b;},'fSARy':_0x9ca0be(0x17b),'pffOB':function(_0x162000,_0x2a6c4e){return _0x162000*_0x2a6c4e;},'rxZFd':_0x9ca0be(0x17f),'MPYxy':_0x9ca0be(0x16f),'NSAEy':function(_0x16b5dd,_0x56f109){return _0x16b5dd<=_0x56f109;}};logDebug('webapi\x20获取群成员',_0x4daa15);let _0x7d337c=WebGroupData['GroupData'][_0x9ca0be(0x12b)](_0x4daa15),_0x2362d1=WebGroupData[_0x9ca0be(0x16a)][_0x9ca0be(0x12b)](_0x4daa15),_0x45f6bd=new Array();if(!_0x2362d1||_0x10b838[_0x9ca0be(0x157)](Date[_0x9ca0be(0x133)](),_0x2362d1)>0x708*0x3e8||!_0x2b4568){const _0x453b18=(await NTQQUserApi[_0x9ca0be(0x13f)]([_0x10b838[_0x9ca0be(0x129)]]))[_0x10b838[_0x9ca0be(0x129)]],_0x237462=await NTQQUserApi[_0x9ca0be(0x155)](),_0x42015f=_0x10b838[_0x9ca0be(0x166)](_0x10b838[_0x9ca0be(0x166)](_0x10b838[_0x9ca0be(0x166)](_0x10b838[_0x9ca0be(0x136)],_0x453b18)+_0x10b838[_0x9ca0be(0x141)],_0x237462)+_0x9ca0be(0x189),selfInfo['uin']);if(_0x10b838['ycloy'](!_0x237462,!_0x453b18))return _0x45f6bd;const _0x378fca=WebApi[_0x9ca0be(0x182)](_0x237462),_0x224957=[],_0x39d8c7=await WebApi[_0x9ca0be(0x172)](_0x10b838[_0x9ca0be(0x143)](_0x10b838[_0x9ca0be(0x174)](_0x10b838[_0x9ca0be(0x143)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=',_0x4daa15),_0x9ca0be(0x16f)),_0x378fca),_0x10b838[_0x9ca0be(0x162)],'',_0x42015f);if(!_0x39d8c7?.[_0x9ca0be(0x170)]||_0x10b838[_0x9ca0be(0x183)](_0x39d8c7?.[_0x9ca0be(0x186)],0x0)||!_0x39d8c7?.[_0x9ca0be(0x178)])return[];else for(const _0x441a21 in _0x39d8c7[_0x9ca0be(0x178)]){_0x45f6bd[_0x9ca0be(0x181)](_0x39d8c7[_0x9ca0be(0x178)][_0x441a21]);}const _0x2dc4af=Math[_0x9ca0be(0x123)](_0x10b838[_0x9ca0be(0x137)](_0x39d8c7[_0x9ca0be(0x170)],0x28));for(let _0x4a1d57=0x2;_0x10b838[_0x9ca0be(0x168)](_0x4a1d57,_0x2dc4af);_0x4a1d57++){const _0x25f0fc=WebApi[_0x9ca0be(0x172)](_0x10b838['VgerC'](_0x10b838[_0x9ca0be(0x13a)](_0x10b838['OCNWI'](_0x10b838[_0x9ca0be(0x14d)](_0x10b838['HiQEz'](_0x10b838[_0x9ca0be(0x169)](_0x10b838[_0x9ca0be(0x150)](_0x10b838['SvgwH'],_0x10b838[_0x9ca0be(0x12e)](_0x4a1d57,0x1)*0x28),_0x10b838[_0x9ca0be(0x15e)]),_0x10b838[_0x9ca0be(0x158)](_0x4a1d57,0x28)),_0x10b838['rxZFd']),_0x4daa15),_0x10b838[_0x9ca0be(0x15f)]),_0x378fca),_0x10b838[_0x9ca0be(0x162)],'',_0x42015f);_0x224957[_0x9ca0be(0x181)](_0x25f0fc);}for(let _0x394f5e=0x1;_0x10b838[_0x9ca0be(0x187)](_0x394f5e,_0x2dc4af);_0x394f5e++){const _0x4ae93e=await _0x224957[_0x394f5e];if(!_0x4ae93e?.['count']||_0x10b838[_0x9ca0be(0x183)](_0x4ae93e?.['errcode'],0x0)||!_0x4ae93e?.[_0x9ca0be(0x178)])continue;for(const _0x6ff81a in _0x4ae93e[_0x9ca0be(0x178)]){_0x45f6bd[_0x9ca0be(0x181)](_0x4ae93e[_0x9ca0be(0x178)][_0x6ff81a]);}}WebGroupData[_0x9ca0be(0x161)]['set'](_0x4daa15,_0x45f6bd),WebGroupData['GroupTime'][_0x9ca0be(0x148)](_0x4daa15,Date[_0x9ca0be(0x133)]());}else _0x45f6bd=_0x7d337c;return _0x45f6bd;}static async[_0x59d234(0x152)](_0x4f36a7,_0x1f9093=''){const _0x4f80b5=_0x59d234,_0xd3b506={'Pcubt':'qun.qq.com','XDXRj':function(_0x352675,_0xa2a1fa){return _0x352675+_0xa2a1fa;},'keWOx':function(_0x41f376,_0xc986d9){return _0x41f376+_0xc986d9;},'wkRwG':_0x4f80b5(0x15d),'nkduk':_0x4f80b5(0x176),'ofQEA':function(_0x4e5162,_0x5910f5){return _0x4e5162||_0x5910f5;},'CuBHy':function(_0x952f9d,_0x8f0808){return _0x952f9d+_0x8f0808;},'SGJNV':function(_0x109bc2,_0x7e4583){return _0x109bc2+_0x7e4583;},'lrjbO':function(_0x2f7fd7,_0x5a6549){return _0x2f7fd7+_0x5a6549;},'eHqFY':_0x4f80b5(0x18c),'tTwEA':_0x4f80b5(0x16f),'NEMai':_0x4f80b5(0x184),'njyHa':_0x4f80b5(0x17a),'RQfjK':'GET'},_0x24d3f0=(await NTQQUserApi[_0x4f80b5(0x13f)]([_0xd3b506[_0x4f80b5(0x11b)]]))[_0xd3b506['Pcubt']],_0xe0c9e7=await NTQQUserApi[_0x4f80b5(0x155)](),_0xffe182=_0xd3b506['XDXRj'](_0xd3b506[_0x4f80b5(0x177)](_0xd3b506[_0x4f80b5(0x146)]+_0x24d3f0+_0xd3b506[_0x4f80b5(0x120)],_0xe0c9e7)+';\x20p_uin=o',selfInfo[_0x4f80b5(0x173)]);let _0x313836=undefined;if(_0xd3b506[_0x4f80b5(0x175)](!_0xe0c9e7,!_0x24d3f0))return undefined;const _0x1cb218=WebApi[_0x4f80b5(0x182)](_0xe0c9e7),_0x5aacf1=_0xd3b506['keWOx'](_0xd3b506[_0x4f80b5(0x140)](_0xd3b506[_0x4f80b5(0x140)](_0xd3b506['SGJNV'](_0xd3b506[_0x4f80b5(0x125)](_0xd3b506[_0x4f80b5(0x18a)],_0x4f36a7),_0xd3b506[_0x4f80b5(0x15a)]),_0x1cb218),_0xd3b506[_0x4f80b5(0x149)]),_0x1f9093)+'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}',_0x5c77f6=_0xd3b506[_0x4f80b5(0x177)](_0xd3b506[_0x4f80b5(0x121)],_0x1cb218);try{return _0x313836=await WebApi[_0x4f80b5(0x172)](_0x5c77f6,_0xd3b506['RQfjK'],'',_0xffe182),_0x313836;}catch(_0x2ca295){return undefined;}return undefined;}static async[_0x59d234(0x13b)](_0x41c48b){const _0x96d681=_0x59d234,_0x846a34={'cGxIh':function(_0x575b44,_0x2a4be3){return _0x575b44+_0x2a4be3;},'WOonu':function(_0x1cd22a,_0x4f61b9){return _0x1cd22a+_0x4f61b9;},'bzfEy':function(_0x4166bb,_0x347696){return _0x4166bb+_0x347696;},'sLsDa':_0x96d681(0x15d),'IHkEg':_0x96d681(0x176),'HlATj':_0x96d681(0x189),'vuHHs':_0x96d681(0x11d),'XmyQs':_0x96d681(0x14e),'MDXHl':_0x96d681(0x14b),'oxQJA':_0x96d681(0x128)},_0x28aa3b=(await NTQQUserApi[_0x96d681(0x13f)]([_0x96d681(0x16b)]))[_0x96d681(0x16b)],_0x1ffa63=await NTQQUserApi[_0x96d681(0x155)](),_0x3a6245=_0x846a34[_0x96d681(0x147)](_0x846a34[_0x96d681(0x147)](_0x846a34['WOonu'](_0x846a34[_0x96d681(0x167)](_0x846a34[_0x96d681(0x147)](_0x846a34[_0x96d681(0x18f)],_0x28aa3b),_0x846a34[_0x96d681(0x138)]),_0x1ffa63),_0x846a34['HlATj']),selfInfo[_0x96d681(0x173)]);let _0x3fdf5f=undefined;if(!_0x1ffa63||!_0x28aa3b)return undefined;const _0x40075d=WebApi[_0x96d681(0x182)](_0x1ffa63),_0x102659=_0x846a34[_0x96d681(0x147)](_0x846a34['vuHHs']+_0x40075d,_0x846a34[_0x96d681(0x18b)])+_0x41c48b+_0x846a34[_0x96d681(0x13d)];try{_0x3fdf5f=await WebApi[_0x96d681(0x172)](_0x102659,_0x846a34[_0x96d681(0x180)],'',_0x3a6245);if(_0x3fdf5f?.['ec']!==0x0)return undefined;return _0x3fdf5f;}catch(_0x2b00ff){return undefined;}return undefined;}static async['httpDataText'](_0x4e4f9e='',_0x2e835a='GET',_0x19dbc9='',_0x119723=''){const _0x4e0b09=_0x59d234,_0x3bea52={'RNgah':function(_0x1cfceb,_0x5d0bba){return _0x1cfceb===_0x5d0bba;},'xhCxN':_0x4e0b09(0x128),'mORLI':_0x4e0b09(0x12f),'tmcud':function(_0x32aef1,_0x299b39,_0x5d75fc){return _0x32aef1(_0x299b39,_0x5d75fc);},'BBIXs':_0x4e0b09(0x14a),'flHli':function(_0x335e7f,_0x370149,_0x3b5956){return _0x335e7f(_0x370149,_0x3b5956);}};let _0x47254b='';return new Promise(async(_0x4701aa,_0x5556a7)=>{const _0x364c64=_0x4e0b09;try{let _0x3ecf76=undefined;_0x3bea52[_0x364c64(0x13c)](_0x2e835a,_0x3bea52[_0x364c64(0x145)])||_0x2e835a===_0x3bea52[_0x364c64(0x171)]?_0x3ecf76=await _0x3bea52[_0x364c64(0x156)](fetch,_0x4e4f9e,{'method':_0x2e835a,'headers':{'Content-Type':_0x3bea52[_0x364c64(0x14c)],'Cookie':_0x119723}}):_0x3ecf76=await _0x3bea52[_0x364c64(0x122)](fetch,_0x4e4f9e,{'method':_0x2e835a,'headers':{'Content-Type':_0x3bea52['BBIXs'],'Cookie':_0x119723},'body':_0x19dbc9});if(_0x3ecf76['ok'])_0x47254b=await _0x3ecf76['text']();else{}}catch(_0x532fb0){}_0x4701aa(_0x47254b);});}static async['httpDataJson'](_0x233b2e='',_0x2e3b82=_0x59d234(0x128),_0x30c805='',_0x4b4c52=''){const _0x1ae9e1=_0x59d234,_0x277b78={'CObni':function(_0x64b06c,_0x5b04e0){return _0x64b06c===_0x5b04e0;},'ssrau':_0x1ae9e1(0x128),'bGzqW':_0x1ae9e1(0x12f),'pNtEe':function(_0x2b6fa1,_0x863f1f,_0xfbceb3){return _0x2b6fa1(_0x863f1f,_0xfbceb3);},'mdZYs':_0x1ae9e1(0x14a),'EBTJv':function(_0x5e443d,_0x486487){return _0x5e443d(_0x486487);}};let _0x495738=undefined;return new Promise(async(_0x3c7364,_0xfd17eb)=>{const _0x558457=_0x1ae9e1;try{let _0x576193=undefined;_0x277b78[_0x558457(0x160)](_0x2e3b82,_0x277b78[_0x558457(0x16c)])||_0x2e3b82===_0x277b78[_0x558457(0x142)]?_0x576193=await _0x277b78[_0x558457(0x126)](fetch,_0x233b2e,{'method':_0x2e3b82,'headers':{'Content-Type':_0x277b78[_0x558457(0x135)],'Cookie':_0x4b4c52}}):_0x576193=await _0x277b78[_0x558457(0x126)](fetch,_0x233b2e,{'method':_0x2e3b82,'headers':{'Content-Type':_0x277b78['mdZYs'],'Cookie':_0x4b4c52},'body':_0x30c805});if(_0x576193['ok'])_0x495738=await _0x576193[_0x558457(0x154)]();else{}}catch(_0x3d5e92){}_0x277b78[_0x558457(0x13e)](_0x3c7364,_0x495738);});}static[_0x59d234(0x182)](_0x216dd8){const _0x474b5b=_0x59d234,_0x464e2e={'jcUtN':function(_0x60396f,_0x1cb3ac){return _0x60396f||_0x1cb3ac;},'TKcMy':function(_0x121138,_0x47aab1){return _0x121138<_0x47aab1;},'oIhTW':function(_0xf57fbc,_0x1a8a58){return _0xf57fbc+_0x1a8a58;},'YSzdH':function(_0x11dae9,_0x122bc8){return _0x11dae9<<_0x122bc8;}};_0x216dd8=_0x464e2e['jcUtN'](_0x216dd8,'');let _0x35b859=0x1505;for(let _0x1adb1e=0x0;_0x464e2e[_0x474b5b(0x159)](_0x1adb1e,_0x216dd8[_0x474b5b(0x12d)]);_0x1adb1e++){const _0x459f58=_0x216dd8[_0x474b5b(0x144)](_0x1adb1e);_0x35b859=_0x464e2e[_0x474b5b(0x179)](_0x35b859+_0x464e2e['YSzdH'](_0x35b859,0x5),_0x459f58);}return(_0x35b859&0x7fffffff)['toString']();}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index ea382894..e9fcac1a 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0xd306d9=_0x2a9d;(function(_0x340daf,_0x3378d3){const _0x1b92d2=_0x2a9d,_0x2f2687=_0x340daf();while(!![]){try{const _0x514756=-parseInt(_0x1b92d2(0x15e))/0x1*(parseInt(_0x1b92d2(0x1ab))/0x2)+parseInt(_0x1b92d2(0x1e7))/0x3*(parseInt(_0x1b92d2(0x1ce))/0x4)+-parseInt(_0x1b92d2(0x1a6))/0x5+parseInt(_0x1b92d2(0x16c))/0x6+-parseInt(_0x1b92d2(0x192))/0x7*(parseInt(_0x1b92d2(0x180))/0x8)+parseInt(_0x1b92d2(0x13b))/0x9+-parseInt(_0x1b92d2(0x146))/0xa*(-parseInt(_0x1b92d2(0x16e))/0xb);if(_0x514756===_0x3378d3)break;else _0x2f2687['push'](_0x2f2687['shift']());}catch(_0x3b540d){_0x2f2687['push'](_0x2f2687['shift']());}}}(_0x23bd,0x864b5));import _0x11f17b from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x2a9d(_0x44b9c2,_0xd4240c){const _0x23bd7e=_0x23bd();return _0x2a9d=function(_0x2a9d59,_0x4d668b){_0x2a9d59=_0x2a9d59-0x139;let _0x5c288c=_0x23bd7e[_0x2a9d59];return _0x5c288c;},_0x2a9d(_0x44b9c2,_0xd4240c);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x193dd0 from'node:path';import _0x5058d6 from'node:os';import _0x4ac7f9 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 _0x34293b 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';function _0x23bd(){const _0x9bb1ea=['set','initConfig','addMsg','sLKsq','uin','addKernelProfileListener','isQuickLogin','OrUxB','McWSp','getGroupService','\x20has\x20no\x20method\x20','VyTXj','get','BTPBW','getMsgByLongId','XHEfI','账号设备(','onSessionInitComplete','addKernelLoginListener','CIEdY','addListener','onKickedOffLine','RqPdz','getQuickLoginList','zEDGE','417524XTWEAP','groupCode','read','jpVAD','session','TUUtT','当前账号(','srHbn','onSelfStatusChanged','AjySs','140022013','TvcwJ','then','loginListener','NodeIKernelProfileListener','DLZkA','TVhaz','base64','buddyList','NodeQQNTWrapperUtil','TxbEQ','ElFcU','loginService','onLineDev','GrKes','6OrDuyz','onUserLoggedIn','getNTUserDataInfoConfig','map','KTvNu','consoleLogLevel','快速登录不可用','onLoginSuccessFuncList','dwtst','rscoS','message_sent','293850kkKTgq','tipsTitle','proxyHandler','MsgListener','passwordLogin','onLoginFailed','启动失败:\x20','fileLogLevel','UCGaQ','ProfileListener','onMemberListChange','50gDLowg','NodeIQQNTWrapperSession','length','NodeIQQNTWrapperEngine','数据库初始化失败','getProfileService','resolve','has','addKernelGroupListener','constructor','initSession\x20failed','onProfileDetailInfoChanged','msgId','qrLogin','homedir','onBuddyListChange','consoleLog','qrcodeUrl','name','clientType','update','engine','pngBase64QrcodeData','rUnxT','1681rgktbD','GkaQj','forEach','NodeIDispatcherAdapter','assign','message_received','[KickedOffLine]\x20[','mkdirSync','updateMsg','EXMqy','YDIEF','快速登录失败\x20','addKernelBuddyListener','init\x20failed\x20','5159676KHfDPq','JDoas','1117765MmOwat','createMemberListScene','init','BcTgb','stringify','140022008','matiC','onAddSendMsg','NodeIGlobalAdapter','NodeIKernelBuddyListener','last_message_time','getMsgService','NodeIKernelLoginListener','errMsg','tipsDesc','Uwcug','push','kkYrd','8YcbnyT','getBuddyList','devUid','onRecvMsg','floor','Windows\x2010\x20Pro','没有可快速登录的QQ号','result','loginErrorInfo','_GW_B','./.config/QQ','LocalLoginInfoList','vhLot','ToiMj','sXHVS','GGZvM','catch','onMemberInfoChange','1093001hRxAGs','util','xNVbs','initWithDeskTopConfig','NodeIDependsAdapter','NodeIKernelLoginService','onMsgInfoListUpdate','find','now','startNT','packet_sent','initDataListener','getQRCodePicture','infos','QVjcq',')\x20在线状态变更','V1_WIN_NQ_','getLoginList','getBuddyService','split','2053440dhKPQN','groupMemberList_MainWindow','dataPathGlobal','GroupListener','dataPath','586ccHrsj','fileLog','recallTime','createHash','initSession','upOlw','uid','NodeIKernelSessionListener','packet_received','fBcpv'];_0x23bd=function(){return _0x9bb1ea;};return _0x23bd();}export class NapCatCore{['session'];[_0xd306d9(0x193)];[_0xd306d9(0x15b)];['loginService'];[_0xd306d9(0x1db)];['onLoginSuccessFuncList']=[];[_0xd306d9(0x13d)]={'get'(target,prop,receiver){const _0x214e35=_0xd306d9,fkhBOG={'TxbEQ':function(x,y){return x===y;},'QVjcq':'undefined'};if(fkhBOG[_0x214e35(0x1e2)](typeof target[prop],fkhBOG[_0x214e35(0x1a0)]))return(...args)=>{const _0x407d93=_0x214e35;logDebug(target[_0x407d93(0x14f)][_0x407d93(0x158)]+_0x407d93(0x1bf)+prop);};return Reflect[_0x214e35(0x1c1)](target,prop,receiver);}};constructor(){const _0x584467=_0xd306d9,_0x1177c7={'vhLot':function(_0x43cc69,_0x4bce2c){return _0x43cc69(_0x4bce2c);},'JDoas':function(_0x243c26,_0x5992bc){return _0x243c26+_0x5992bc;},'ToiMj':')已登录,无法重复登录','OrUxB':function(_0xc75f1a,_0x9fc94,_0x59affb){return _0xc75f1a(_0x9fc94,_0x59affb);},'McWSp':function(_0x407a9c,_0x5b3db8){return _0x407a9c(_0x5b3db8);},'EXMqy':'本账号数据/缓存目录:','Uwcug':_0x584467(0x14a),'srHbn':'登录失败','GrKes':function(_0x22c24a,_0x2fabbf){return _0x22c24a==_0x2fabbf;},'RqPdz':function(_0x348d86,_0x17425b){return _0x348d86==_0x17425b;},'ILTTK':function(_0x1254ff,_0x267d1c,_0x1f8646){return _0x1254ff(_0x267d1c,_0x1f8646);}};this[_0x584467(0x15b)]=new _0x11f17b[(_0x584467(0x149))](),this[_0x584467(0x193)]=new _0x11f17b[(_0x584467(0x1e1))](),this[_0x584467(0x1e4)]=new _0x11f17b[(_0x584467(0x197))](),this[_0x584467(0x1d2)]=new _0x11f17b[(_0x584467(0x147))](),this[_0x584467(0x1db)]=new LoginListener(),this['loginListener'][_0x584467(0x1e8)]=_0x2ec763=>{const _0x281a44=_0x584467;_0x1177c7[_0x281a44(0x18c)](logError,_0x1177c7[_0x281a44(0x16d)](_0x1177c7['JDoas'](_0x281a44(0x1d4),_0x2ec763),_0x1177c7[_0x281a44(0x18d)]));},this[_0x584467(0x1db)]['onQRCodeLoginSucceed']=_0xe6792c=>{const _0x1acb63=_0x584467,_0x57e4bc={'bBpHX':_0x1177c7[_0x1acb63(0x17d)],'sLKsq':function(_0x16f95e,_0x570534,_0xd0ceb6){return _0x1177c7['OrUxB'](_0x16f95e,_0x570534,_0xd0ceb6);},'YDIEF':_0x1acb63(0x150)};this[_0x1acb63(0x1af)](_0xe6792c['uin'],_0xe6792c[_0x1acb63(0x1b1)])[_0x1acb63(0x1da)](_0x50e75a=>{const _0x5beac5=_0x1acb63,_0x5bca8e={'YuuRh':function(_0xfd1574,_0x270034,_0x1d1be0){const _0x56231f=_0x2a9d;return _0x1177c7[_0x56231f(0x1bc)](_0xfd1574,_0x270034,_0x1d1be0);}};selfInfo[_0x5beac5(0x1b9)]=_0xe6792c[_0x5beac5(0x1b9)],selfInfo[_0x5beac5(0x1b1)]=_0xe6792c[_0x5beac5(0x1b1)],napCatConfig[_0x5beac5(0x1d0)](),_0x1177c7[_0x5beac5(0x1bc)](setLogLevel,napCatConfig[_0x5beac5(0x142)],napCatConfig[_0x5beac5(0x1ec)]),enableFileLog(napCatConfig[_0x5beac5(0x1ac)]),_0x1177c7[_0x5beac5(0x1bd)](enableConsoleLog,napCatConfig[_0x5beac5(0x156)]),_0x1177c7[_0x5beac5(0x18c)](setLogSelfInfo,selfInfo);const _0x175b08=_0x193dd0[_0x5beac5(0x14c)](this[_0x5beac5(0x1aa)],'./NapCat/data');_0x4ac7f9[_0x5beac5(0x165)](_0x175b08,{'recursive':!![]}),_0x1177c7[_0x5beac5(0x1bc)](logDebug,_0x1177c7[_0x5beac5(0x167)],_0x175b08),dbUtil[_0x5beac5(0x170)](_0x193dd0[_0x5beac5(0x14c)](_0x175b08,'./'+_0xe6792c[_0x5beac5(0x1b9)]+'-v2.db'))[_0x5beac5(0x1da)](()=>{const _0x48c193=_0x5beac5,_0x4e13ed={'DLZkA':function(_0x42893b,_0x54b0eb,_0x3e4685){return _0x5bca8e['YuuRh'](_0x42893b,_0x54b0eb,_0x3e4685);}};this[_0x48c193(0x19d)](),this['onLoginSuccessFuncList'][_0x48c193(0x1ea)](_0x115800=>{const _0x5b9e13=_0x48c193,_0x1dac77={'HMwcm':function(_0x381845,_0x47222d,_0x12e052){const _0x33029e=_0x2a9d;return _0x4e13ed[_0x33029e(0x1dd)](_0x381845,_0x47222d,_0x12e052);},'ppELX':function(_0x54b57f,_0x3ff130){return _0x54b57f instanceof _0x3ff130;}};new Promise((_0xbdbad,_0x560c49)=>{const _0x5037d2=_0x2a9d,_0x4b7880=_0x1dac77['HMwcm'](_0x115800,_0xe6792c[_0x5037d2(0x1b9)],_0xe6792c[_0x5037d2(0x1b1)]);_0x1dac77['ppELX'](_0x4b7880,Promise)&&_0x4b7880[_0x5037d2(0x1da)](_0xbdbad)[_0x5037d2(0x190)](_0x560c49);})[_0x5b9e13(0x1da)]();});})[_0x5beac5(0x190)](_0x4beb2d=>{logError(_0x57e4bc['bBpHX'],_0x4beb2d);});})['catch'](_0x138075=>{const _0x38a798=_0x1acb63;_0x57e4bc[_0x38a798(0x1b8)](logError,_0x57e4bc[_0x38a798(0x168)],_0x138075);throw new Error(_0x38a798(0x141)+JSON[_0x38a798(0x172)](_0x138075));});},this['loginListener']['onQRCodeSessionFailed']=(_0x421fc2,_0x326b41,_0x4f5497)=>{const _0x40c83b=_0x584467;_0x1177c7[_0x40c83b(0x1bc)](logError,_0x1177c7[_0x40c83b(0x1d5)],_0x4f5497),_0x1177c7[_0x40c83b(0x1e6)](_0x421fc2,0x1)&&_0x1177c7[_0x40c83b(0x1cb)](_0x326b41,0x3)&&this[_0x40c83b(0x1e4)]['getQRCodePicture']();},this[_0x584467(0x1db)][_0x584467(0x140)]=_0x22854f=>{_0x1177c7['ILTTK'](logError,_0x1177c7['srHbn'],_0x22854f);},this[_0x584467(0x1db)]=new Proxy(this[_0x584467(0x1db)],this[_0x584467(0x13d)]),this[_0x584467(0x1e4)][_0x584467(0x1c7)](new _0x11f17b[(_0x584467(0x17a))](this['loginListener'])),this[_0x584467(0x1b6)]();}get[_0xd306d9(0x1aa)](){const _0x3bad54=_0xd306d9;let _0x46f49e=this['util'][_0x3bad54(0x1e9)]();return!_0x46f49e&&(_0x46f49e=_0x193dd0['resolve'](_0x5058d6[_0x3bad54(0x154)](),_0x3bad54(0x18a)),_0x4ac7f9[_0x3bad54(0x165)](_0x46f49e,{'recursive':!![]})),_0x46f49e;}get[_0xd306d9(0x1a8)](){const _0x583d0d=_0xd306d9,_0x2cb4b4={'upOlw':'./nt_qq/global'};return _0x193dd0['resolve'](this[_0x583d0d(0x1aa)],_0x2cb4b4[_0x583d0d(0x1b0)]);}[_0xd306d9(0x1b6)](){const _0x54a11b=_0xd306d9,_0x1ca85c={'sXHVS':_0x54a11b(0x185)};this['engine'][_0x54a11b(0x195)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x1ca85c[_0x54a11b(0x18e)],'use_xlog':!![],'qua':_0x54a11b(0x1a2)+qqVersionConfigInfo['curVersion']['replace']('-','_')+_0x54a11b(0x189),'global_path_config':{'desktopGlobalPath':this[_0x54a11b(0x1a8)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x11f17b[(_0x54a11b(0x176))](new GlobalAdapter())),this[_0x54a11b(0x1e4)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x54a11b(0x1a8)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0xd306d9(0x1af)](_0x201df6,_0x244c2d){const _0x5c4a41={'KTvNu':function(_0x137f63,_0x1b1666){return _0x137f63(_0x1b1666);},'TVhaz':function(_0x4701ce,_0x125254){return _0x4701ce+_0x125254;}};return new Promise((_0x5d5584,_0x442a39)=>{const _0x461113=_0x2a9d,_0x19d027={'iqEWd':function(_0x36798e,_0x106d03){const _0x95774e=_0x2a9d;return _0x5c4a41[_0x95774e(0x1eb)](_0x36798e,_0x106d03);}},_0x2314fa=genSessionConfig(_0x201df6,_0x244c2d,this[_0x461113(0x1aa)]),_0x2fd793=new SessionListener();_0x2fd793[_0x461113(0x1c6)]=_0x255746=>{if(_0x255746===0x0)return _0x19d027['iqEWd'](_0x5d5584,0x0);_0x442a39(_0x255746);},this[_0x461113(0x1d2)]['init'](_0x2314fa,new _0x11f17b[(_0x461113(0x196))](new DependsAdapter()),new _0x11f17b[(_0x461113(0x161))](new DispatcherAdapter()),new _0x11f17b[(_0x461113(0x1b2))](_0x2fd793));try{this['session'][_0x461113(0x19b)](0x0);}catch(_0x46347f){try{this[_0x461113(0x1d2)][_0x461113(0x19b)]();}catch(_0x34ac66){_0x442a39(_0x5c4a41[_0x461113(0x1de)](_0x461113(0x16b),_0x34ac66));}}});}[_0xd306d9(0x19d)](){const _0x198b82=_0xd306d9,_0xebf5ff={'UCGaQ':function(_0x5e78df,_0x44c0a5){return _0x5e78df+_0x44c0a5;},'BcTgb':_0x198b82(0x1c5),'VyTXj':function(_0x4e43f7,_0xa7904){return _0x4e43f7(_0xa7904);},'AjySs':function(_0x1e22f1,_0x2bbc45){return _0x1e22f1===_0x2bbc45;},'TUUtT':function(_0x36cac6,_0x1a2ded){return _0x36cac6/_0x1a2ded;}},_0x588c23=new MsgListener();_0x588c23[_0x198b82(0x1e5)]=_0x4ef3ff=>{const _0x4fe8e4=_0x198b82,_0x92aa7a={'GGZvM':function(_0x433011,_0x115809){return _0x433011(_0x115809);},'xNVbs':function(_0x5c91fe,_0x3eb6a3){const _0x20cf97=_0x2a9d;return _0xebf5ff[_0x20cf97(0x143)](_0x5c91fe,_0x3eb6a3);},'GkaQj':_0xebf5ff[_0x4fe8e4(0x171)]};_0x4ef3ff[_0x4fe8e4(0x1ea)](_0x194177=>{const _0x4e9528=_0x4fe8e4;_0x194177[_0x4e9528(0x159)]===0x2&&_0x92aa7a[_0x4e9528(0x18f)](log,_0x92aa7a[_0x4e9528(0x194)](_0x92aa7a[_0x4e9528(0x194)](_0x92aa7a[_0x4e9528(0x15f)],_0x194177[_0x4e9528(0x182)]),_0x4e9528(0x1a1)));});},_0x588c23[_0x198b82(0x1ca)]=_0x2ffa24=>{const _0x177b57=_0x198b82;_0xebf5ff[_0x177b57(0x1c0)](log,_0xebf5ff[_0x177b57(0x143)](_0xebf5ff[_0x177b57(0x143)](_0x177b57(0x164),_0x2ffa24[_0x177b57(0x13c)]),']\x20')+_0x2ffa24[_0x177b57(0x17c)]);},_0x588c23[_0x198b82(0x198)]=_0xec7437=>{const _0x2a8ff4=_0x198b82;stat[_0x2a8ff4(0x1b3)]+=0x1,_0xec7437[_0x2a8ff4(0x1ea)](_0xf077d8=>{const _0x401dff=_0x2a8ff4;_0xebf5ff[_0x401dff(0x1d7)](_0xf077d8['recallTime'],'0')?dbUtil[_0x401dff(0x1b7)](_0xf077d8)[_0x401dff(0x1da)]()[_0x401dff(0x190)]():dbUtil[_0x401dff(0x1c3)](_0xf077d8[_0x401dff(0x152)])[_0x401dff(0x1da)](_0x29e480=>{const _0x41fe0b=_0x401dff;_0x29e480&&(_0x29e480[_0x41fe0b(0x1ad)]=_0xf077d8['recallTime'],dbUtil[_0x41fe0b(0x166)](_0x29e480)[_0x41fe0b(0x1da)]());});});},_0x588c23[_0x198b82(0x175)]=_0x417c81=>{const _0x334883=_0x198b82;stat[_0x334883(0x19c)]+=0x1,stat[_0x334883(0x13a)]+=0x1,stat[_0x334883(0x178)]=Math[_0x334883(0x184)](_0xebf5ff[_0x334883(0x1d3)](Date[_0x334883(0x19a)](),0x3e8));},_0x588c23[_0x198b82(0x183)]=_0x3a809a=>{const _0x2d162a=_0x198b82;stat[_0x2d162a(0x1b3)]+=0x1,stat[_0x2d162a(0x163)]+=_0x3a809a[_0x2d162a(0x148)],stat[_0x2d162a(0x178)]=Math[_0x2d162a(0x184)](Date[_0x2d162a(0x19a)]()/0x3e8);},_0x588c23['onRecvSysMsg']=(..._0x39e7af)=>{const _0x430c98=_0x198b82;stat[_0x430c98(0x1b3)]+=0x1;},this[_0x198b82(0x1c9)](_0x588c23);const _0x33c77c=new BuddyListener();_0x33c77c[_0x198b82(0x155)]=_0x21abd5=>{const _0x4ed84b=_0x198b82;rawFriends[_0x4ed84b(0x148)]=0x0,rawFriends['push'](..._0x21abd5);for(const _0xd58dc2 of _0x21abd5){for(const _0x426856 of _0xd58dc2[_0x4ed84b(0x1e0)]){const _0x64283=friends[_0x4ed84b(0x1c1)](_0x426856['uid']);uid2UinMap[_0x426856[_0x4ed84b(0x1b1)]]=_0x426856[_0x4ed84b(0x1b9)],_0x64283?Object[_0x4ed84b(0x162)](_0x64283,_0x426856):friends[_0x4ed84b(0x1b5)](_0x426856['uid'],_0x426856);}}},this[_0x198b82(0x1c9)](_0x33c77c),this['session']['getBuddyService']()[_0x198b82(0x181)](!![])[_0x198b82(0x1da)](_0x5da6f4=>{});const _0x30c08d=new ProfileListener();_0x30c08d[_0x198b82(0x151)]=_0x16ccf1=>{const _0xc612e1=_0x198b82;_0x16ccf1[_0xc612e1(0x1b1)]===selfInfo[_0xc612e1(0x1b1)]&&Object[_0xc612e1(0x162)](selfInfo,_0x16ccf1);},_0x30c08d[_0x198b82(0x1d6)]=_0x33bfca=>{},this['addListener'](_0x30c08d);const _0x5a2006=new GroupListener();_0x5a2006['onGroupListUpdate']=(_0x22c8b6,_0x27d091)=>{const _0x5d97f3=_0x198b82,_0x3b803c={'BTPBW':_0x5d97f3(0x1a7)};_0x27d091[_0x5d97f3(0x1ea)](_0x5637c8=>{const _0x46e322=_0x5d97f3,_0x49321f=groups[_0x46e322(0x1c1)](_0x5637c8[_0x46e322(0x1cf)]);if(_0x49321f)Object[_0x46e322(0x162)](_0x49321f,_0x5637c8);else{groups[_0x46e322(0x1b5)](_0x5637c8[_0x46e322(0x1cf)],_0x5637c8);const _0x24ac5c=this['session']['getGroupService']()[_0x46e322(0x16f)](_0x5637c8['groupCode'],_0x3b803c[_0x46e322(0x1c2)]);this[_0x46e322(0x1d2)][_0x46e322(0x1be)]()['getNextMemberList'](_0x24ac5c,undefined,0xbb8)[_0x46e322(0x1da)](_0xf9f2c1=>{});}});},_0x5a2006[_0x198b82(0x145)]=_0x284564=>{const _0x1121e3=_0x198b82,_0x21ef6f=_0x284564['sceneId'][_0x1121e3(0x1a5)]('_')[0x0];if(groupMembers[_0x1121e3(0x14d)](_0x21ef6f)){const _0x274964=groupMembers[_0x1121e3(0x1c1)](_0x21ef6f);_0x284564['infos'][_0x1121e3(0x160)]((_0x1105eb,_0xe436f6)=>{const _0x407675=_0x1121e3,_0x1a6c8a=_0x274964[_0x407675(0x1c1)](_0xe436f6);_0x1a6c8a?Object[_0x407675(0x162)](_0x1a6c8a,_0x1105eb):_0x274964[_0x407675(0x1b5)](_0xe436f6,_0x1105eb);});}else groupMembers[_0x1121e3(0x1b5)](_0x21ef6f,_0x284564[_0x1121e3(0x19f)]);},_0x5a2006[_0x198b82(0x191)]=(_0x32f688,_0xc51ff7,_0x16fce3)=>{const _0x108230=_0x198b82;_0x16fce3['forEach']((_0x269e39,_0x196315)=>{uid2UinMap[_0x196315]=_0x269e39['uin'];});const _0x406c29=groupMembers[_0x108230(0x1c1)](_0x32f688);_0x406c29?_0x16fce3[_0x108230(0x160)]((_0x34d909,_0x44fa4c)=>{const _0x321563=_0x108230,_0x2532a1=_0x406c29[_0x321563(0x1c1)](_0x44fa4c);_0x2532a1?Object[_0x321563(0x162)](_0x2532a1,_0x34d909):_0x406c29['set'](_0x44fa4c,_0x34d909);}):groupMembers[_0x108230(0x1b5)](_0x32f688,_0x16fce3);},this['addListener'](_0x5a2006);}[_0xd306d9(0x1c9)](_0xeb0257){const _0x49ca4d=_0xd306d9,_0x47d158={'ElFcU':_0x49ca4d(0x1a9),'RUUio':_0x49ca4d(0x144)};_0xeb0257=new Proxy(_0xeb0257,this[_0x49ca4d(0x13d)]);switch(_0xeb0257[_0x49ca4d(0x14f)]['name']){case'BuddyListener':{return this['session'][_0x49ca4d(0x1a4)]()[_0x49ca4d(0x16a)](new _0x11f17b[(_0x49ca4d(0x177))](_0xeb0257));}case _0x47d158[_0x49ca4d(0x1e3)]:{return this[_0x49ca4d(0x1d2)][_0x49ca4d(0x1be)]()[_0x49ca4d(0x14e)](new _0x11f17b['NodeIKernelGroupListener'](_0xeb0257));}case _0x49ca4d(0x13e):{return this[_0x49ca4d(0x1d2)][_0x49ca4d(0x179)]()['addKernelMsgListener'](new _0x11f17b['NodeIKernelMsgListener'](_0xeb0257));}case _0x47d158['RUUio']:{return this[_0x49ca4d(0x1d2)][_0x49ca4d(0x14b)]()[_0x49ca4d(0x1ba)](new _0x11f17b[(_0x49ca4d(0x1dc))](_0xeb0257));}default:return-0x1;}}['onLoginSuccess'](_0x131ba1){const _0x35bd1b=_0xd306d9;this[_0x35bd1b(0x1ee)][_0x35bd1b(0x17e)](_0x131ba1);}async['quickLogin'](_0x193e88){const _0x3e4f05=_0xd306d9,_0x194d23={'rUnxT':function(_0x5030a5,_0x4fcbd1){return _0x5030a5!==_0x4fcbd1;},'TvcwJ':_0x3e4f05(0x186),'dwtst':function(_0x402a41,_0x2b408b){return _0x402a41(_0x2b408b);},'pgYiC':function(_0x56c306,_0x587e65){return _0x56c306+_0x587e65;},'jpVAD':_0x3e4f05(0x169)},_0x455d2d=await this['loginService']['getLoginList']();if(_0x194d23[_0x3e4f05(0x15d)](_0x455d2d[_0x3e4f05(0x187)],0x0))throw new Error(_0x194d23[_0x3e4f05(0x1d9)]);const _0x1b7c05=_0x455d2d[_0x3e4f05(0x18b)][_0x3e4f05(0x199)](_0x17bd4b=>_0x17bd4b[_0x3e4f05(0x1b9)]===_0x193e88);if(!_0x1b7c05||!_0x1b7c05?.[_0x3e4f05(0x1bb)])throw new Error(_0x193e88+_0x3e4f05(0x1ed));await _0x194d23[_0x3e4f05(0x1ef)](sleep,0x3e8);const _0xc7a37d=await this[_0x3e4f05(0x1e4)]['quickLoginWithUin'](_0x193e88);if(!_0xc7a37d['result'])throw new Error(_0x194d23['pgYiC'](_0x194d23[_0x3e4f05(0x1d1)],_0xc7a37d[_0x3e4f05(0x188)][_0x3e4f05(0x17b)]));return _0xc7a37d;}async[_0xd306d9(0x153)](_0x558935){const _0x55aa5={'zEDGE':'data:image/png;base64,','XHEfI':function(_0x53fb1c,_0x303d03,_0x2f2b32,_0x291b4b){return _0x53fb1c(_0x303d03,_0x2f2b32,_0x291b4b);}};return new Promise((_0x2e271c,_0x5ee1d3)=>{const _0x52c660=_0x2a9d;this[_0x52c660(0x1db)]['onQRCodeGetPicture']=_0x2db5b9=>{const _0x2929e4=_0x52c660,_0x576e2a=_0x2db5b9[_0x2929e4(0x15c)][_0x2929e4(0x1a5)](_0x55aa5[_0x2929e4(0x1cd)])[0x1],_0x3f2624=Buffer['from'](_0x576e2a,_0x2929e4(0x1df));_0x55aa5[_0x2929e4(0x1c4)](_0x558935,_0x2db5b9[_0x2929e4(0x157)],_0x2db5b9[_0x2929e4(0x15c)],_0x3f2624);},this['loginService'][_0x52c660(0x19e)]();});}async[_0xd306d9(0x13f)](_0x5a09b9,_0xea1034,_0x1ba04b,_0x59084e,_0xb0efa1){const _0x5c8577=_0xd306d9,_0x4295d3={'fBcpv':'md5','kkYrd':function(_0x4ca3cc,_0x468229){return _0x4ca3cc&&_0x468229;},'matiC':function(_0x59f546,_0xf07f5a){return _0x59f546||_0xf07f5a;},'rscoS':function(_0x1e9f71,_0x556974){return _0x1e9f71(_0x556974);},'CIEdY':_0x5c8577(0x173)},_0x44301d=_0x34293b[_0x5c8577(0x1ae)](_0x4295d3[_0x5c8577(0x1b4)])[_0x5c8577(0x15a)](_0xea1034)['digest']('hex'),_0x59cbe4={'uin':_0x5a09b9,'passwordMd5':_0x44301d,'step':_0x4295d3[_0x5c8577(0x17f)](_0x1ba04b,_0x59084e)&&_0xb0efa1?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x1ba04b||'','proofWaterRand':_0x59084e||'','proofWaterSid':_0x4295d3[_0x5c8577(0x174)](_0xb0efa1,'')};await this[_0x5c8577(0x1e4)][_0x5c8577(0x1a3)](),await _0x4295d3[_0x5c8577(0x139)](sleep,0x3e8);const _0x174dbb=await this[_0x5c8577(0x1e4)]['passwordLogin'](_0x59cbe4);switch(_0x174dbb[_0x5c8577(0x187)]){case'0':{break;}case _0x4295d3[_0x5c8577(0x1c8)]:{break;}case'4':case _0x5c8577(0x1d8):default:}}async[_0xd306d9(0x1cc)](){const _0x51db65=_0xd306d9,_0x243ef0=await this[_0x51db65(0x1e4)][_0x51db65(0x1a3)]();return _0x243ef0;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x443397=_0x5744;(function(_0x493b84,_0x2301c4){const _0x2cee0d=_0x5744,_0x29d596=_0x493b84();while(!![]){try{const _0x4309d9=-parseInt(_0x2cee0d(0x1b3))/0x1*(-parseInt(_0x2cee0d(0x12b))/0x2)+parseInt(_0x2cee0d(0x167))/0x3+-parseInt(_0x2cee0d(0x115))/0x4*(-parseInt(_0x2cee0d(0x17f))/0x5)+-parseInt(_0x2cee0d(0x137))/0x6*(parseInt(_0x2cee0d(0x114))/0x7)+-parseInt(_0x2cee0d(0x19a))/0x8*(parseInt(_0x2cee0d(0x17e))/0x9)+parseInt(_0x2cee0d(0x191))/0xa+parseInt(_0x2cee0d(0x1ba))/0xb*(-parseInt(_0x2cee0d(0x110))/0xc);if(_0x4309d9===_0x2301c4)break;else _0x29d596['push'](_0x29d596['shift']());}catch(_0x21d6e5){_0x29d596['push'](_0x29d596['shift']());}}}(_0x2fcd,0xe40cd));import _0xaed286 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x12981d from'node:path';import _0x5ac89d from'node:os';function _0x5744(_0x2bd433,_0x1d80a9){const _0x2fcd37=_0x2fcd();return _0x5744=function(_0x5744a4,_0x1ed25f){_0x5744a4=_0x5744a4-0x106;let _0x2594cf=_0x2fcd37[_0x5744a4];return _0x2594cf;},_0x5744(_0x2bd433,_0x1d80a9);}import _0x28a50a 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';function _0x2fcd(){const _0x5c3ff4=['has','61458OJOJwc','CQhtk','XkdUe','MJsfq','whxhu','xsFsw','HUTXS','pQTmv','./.config/QQ','map','devUid','没有可快速登录的QQ号','NodeIKernelBuddyListener','push','BuddyListener','CpVwq','onKickedOffLine','loginErrorInfo','qlsMt','140022013','getQRCodePicture','pLEhg','本账号数据/缓存目录:','nKjEr','updateMsg','NodeIKernelLoginListener','mtQKt','cwgGJ','cfUIk','getNextMemberList','recallTime','digest','数据库初始化失败','forEach','homedir','tipsDesc','TpUsc','rqbXN','consoleLog','undefined','getMsgService','now','from','initDataListener','fileLogLevel','[KickedOffLine]\x20[','onQRCodeLoginSucceed','proxyHandler','4531905urSRBT','fzzBh','init\x20failed\x20','fileLog','groupMemberList_MainWindow','infos','floor','CtKjJ','DxFag','AMOxT','启动失败:\x20','dataPath','onGroupListUpdate','initConfig','pngBase64QrcodeData','140022008','addKernelGroupListener',')\x20在线状态变更','账号设备(','packet_sent','result','NodeIKernelLoginService','packet_received','16409862mVIvbO','189245nUNebf','resolve','loginService','IUpPq','update','CykSS','getLoginList','drOpL','then','Rfwlj','IKuRa','onBuddyListChange','CFbzi','onQRCodeGetPicture','tiTaf','快速登录不可用','mkdirSync','initSession','4755910mkhpSm','md5','uid','consoleLogLevel','ViryB','\x20has\x20no\x20method\x20','NodeIKernelProfileListener','当前账号(','fuyLj','8xUScuZ','GroupListener','mAJnV','JXnOj','iKRhS','./NapCat/data','NodeIDependsAdapter','addMsg','NodeIQQNTWrapperSession','lurIs','登录失败','last_message_time','initWithDeskTopConfig','read','msgId','qEHwb','qXeLQ','errMsg','LocalLoginInfoList','mrwQu','buddyList','set','addKernelBuddyListener','onLoginSuccess','getBuddyService','1xRQBRW','qrcodeUrl','base64','onMemberListChange','getQuickLoginList','NodeIQQNTWrapperEngine','catch','121tgQzuk','get','message_sent','createMemberListScene','fHjDS','onRecvMsg','length','passwordLogin','onMsgInfoListUpdate','startNT','getMsgByLongId','addListener','data:image/png;base64,','quickLogin','name','onSessionInitComplete','onLineDev','./nt_qq/global','726108lsible','assign','curVersion','onSelfStatusChanged','679AntEsa','184RoUipy','iTJnq','loginListener','NodeIGlobalAdapter','zzxHK',')已登录,无法重复登录','split','quickLoginWithUin','session','dataPathGlobal','dwlNv','uin','find','replace','jeHkR','onAddSendMsg','getBuddyList','engine','onMemberInfoChange','getGroupService','util','addKernelLoginListener','1378602aJFOSp','ysQOr','NodeIKernelGroupListener','DfLgU','getNTUserDataInfoConfig','ProfileListener','fwLGt','onLoginSuccessFuncList','NodeIKernelMsgListener','groupCode','init'];_0x2fcd=function(){return _0x5c3ff4;};return _0x2fcd();}import _0x17afe6 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{[_0x443397(0x11d)];[_0x443397(0x129)];[_0x443397(0x126)];[_0x443397(0x181)];[_0x443397(0x117)];[_0x443397(0x132)]=[];[_0x443397(0x166)]={'get'(target,prop,receiver){const _0x55bc0e=_0x443397,GLIZEs={'MJsfq':function(callee,param1){return callee(param1);},'xBdCH':function(x,y){return x===y;},'xpfTw':_0x55bc0e(0x15e)};if(GLIZEs['xBdCH'](typeof target[prop],GLIZEs['xpfTw']))return(...args)=>{const _0x108aca=_0x55bc0e;GLIZEs[_0x108aca(0x13a)](logDebug,target['constructor'][_0x108aca(0x10c)]+_0x108aca(0x196)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x192737=_0x443397,_0x428930={'qXeLQ':function(_0x27d831,_0x45ee77){return _0x27d831(_0x45ee77);},'xsFsw':function(_0x170793,_0x48e090){return _0x170793+_0x48e090;},'HYwHN':_0x192737(0x198),'fHjDS':_0x192737(0x11a),'mrwQu':function(_0x50b30f,_0x2b20ce,_0x5a7879){return _0x50b30f(_0x2b20ce,_0x5a7879);},'CQhtk':_0x192737(0x19f),'CpVwq':_0x192737(0x14d),'mAJnV':'initSession\x20failed','ViryB':function(_0x3f955e,_0x835d23,_0x132c4a){return _0x3f955e(_0x835d23,_0x132c4a);},'IUpPq':function(_0x3b90b1,_0x4c625e){return _0x3b90b1==_0x4c625e;},'qEHwb':_0x192737(0x1a4)};this[_0x192737(0x126)]=new _0xaed286[(_0x192737(0x1b8))](),this[_0x192737(0x129)]=new _0xaed286['NodeQQNTWrapperUtil'](),this[_0x192737(0x181)]=new _0xaed286[(_0x192737(0x17c))](),this['session']=new _0xaed286[(_0x192737(0x1a2))](),this['loginListener']=new LoginListener(),this[_0x192737(0x117)]['onUserLoggedIn']=_0x360c58=>{const _0x354030=_0x192737;_0x428930[_0x354030(0x1aa)](logError,_0x428930[_0x354030(0x13c)](_0x428930['HYwHN']+_0x360c58,_0x428930[_0x354030(0x1be)]));},this['loginListener'][_0x192737(0x165)]=_0x596d8a=>{const _0x138c41=_0x192737,_0x1cc2bc={'tiTaf':function(_0x1a9267,_0x50fc02,_0x53b07d){const _0x2838e=_0x5744;return _0x428930[_0x2838e(0x1ad)](_0x1a9267,_0x50fc02,_0x53b07d);},'ZaxHe':_0x138c41(0x157),'iTJnq':function(_0x26d9e8,_0x4c91d2){return _0x428930['qXeLQ'](_0x26d9e8,_0x4c91d2);},'AMOxT':function(_0x277568,_0x38d60b){return _0x428930['qXeLQ'](_0x277568,_0x38d60b);},'WNbhq':_0x428930[_0x138c41(0x138)],'mtQKt':_0x428930[_0x138c41(0x146)],'bNwUv':_0x428930[_0x138c41(0x19c)]};this[_0x138c41(0x190)](_0x596d8a[_0x138c41(0x120)],_0x596d8a[_0x138c41(0x193)])[_0x138c41(0x187)](_0x368680=>{const _0x4135a6=_0x138c41,_0x51c4f7={'pQTmv':function(_0x397c14,_0x32d096,_0x5e17d0){return _0x397c14(_0x32d096,_0x5e17d0);}};selfInfo['uin']=_0x596d8a[_0x4135a6(0x120)],selfInfo[_0x4135a6(0x193)]=_0x596d8a[_0x4135a6(0x193)],napCatConfig[_0x4135a6(0x1a7)](),setLogLevel(napCatConfig[_0x4135a6(0x163)],napCatConfig[_0x4135a6(0x194)]),_0x1cc2bc[_0x4135a6(0x116)](enableFileLog,napCatConfig[_0x4135a6(0x16a)]),_0x1cc2bc[_0x4135a6(0x170)](enableConsoleLog,napCatConfig[_0x4135a6(0x15d)]),_0x1cc2bc[_0x4135a6(0x170)](setLogSelfInfo,selfInfo);const _0x463634=_0x12981d[_0x4135a6(0x180)](this[_0x4135a6(0x172)],_0x1cc2bc['WNbhq']);_0x28a50a[_0x4135a6(0x18f)](_0x463634,{'recursive':!![]}),_0x1cc2bc[_0x4135a6(0x18d)](logDebug,_0x1cc2bc[_0x4135a6(0x151)],_0x463634),dbUtil[_0x4135a6(0x135)](_0x12981d['resolve'](_0x463634,'./'+_0x596d8a[_0x4135a6(0x120)]+'-v2.db'))[_0x4135a6(0x187)](()=>{const _0x29b2f7=_0x4135a6;this[_0x29b2f7(0x162)](),this[_0x29b2f7(0x132)][_0x29b2f7(0x140)](_0x4d9e49=>{const _0x2978f2=_0x29b2f7,_0x2267cd={'CykSS':function(_0x1db05e,_0x41523d,_0x436f5d){const _0x45a47b=_0x5744;return _0x51c4f7[_0x45a47b(0x13e)](_0x1db05e,_0x41523d,_0x436f5d);}};new Promise((_0x223877,_0x2aec50)=>{const _0xacba78=_0x5744,_0xe3503=_0x2267cd[_0xacba78(0x184)](_0x4d9e49,_0x596d8a['uin'],_0x596d8a['uid']);_0xe3503 instanceof Promise&&_0xe3503[_0xacba78(0x187)](_0x223877)[_0xacba78(0x1b9)](_0x2aec50);})[_0x2978f2(0x187)]();});})[_0x4135a6(0x1b9)](_0x40c6b8=>{const _0x37d6c4=_0x4135a6;_0x1cc2bc[_0x37d6c4(0x18d)](logError,_0x1cc2bc['ZaxHe'],_0x40c6b8);});})['catch'](_0x2db7ef=>{const _0x10977e=_0x138c41;logError(_0x1cc2bc['bNwUv'],_0x2db7ef);throw new Error(_0x10977e(0x171)+JSON['stringify'](_0x2db7ef));});},this[_0x192737(0x117)]['onQRCodeSessionFailed']=(_0x8b03d8,_0x386150,_0x12ad56)=>{const _0x2419ed=_0x192737;_0x428930[_0x2419ed(0x195)](logError,_0x2419ed(0x1a4),_0x12ad56),_0x428930[_0x2419ed(0x182)](_0x8b03d8,0x1)&&_0x386150==0x3&&this['loginService'][_0x2419ed(0x14b)]();},this[_0x192737(0x117)]['onLoginFailed']=_0x20eec4=>{const _0x4154db=_0x192737;_0x428930[_0x4154db(0x1ad)](logError,_0x428930[_0x4154db(0x1a9)],_0x20eec4);},this['loginListener']=new Proxy(this[_0x192737(0x117)],this['proxyHandler']),this[_0x192737(0x181)][_0x192737(0x12a)](new _0xaed286[(_0x192737(0x150))](this[_0x192737(0x117)])),this[_0x192737(0x174)]();}get[_0x443397(0x172)](){const _0x214d07=_0x443397,_0x371279={'Rfwlj':_0x214d07(0x13f)};let _0x4508e4=this[_0x214d07(0x129)][_0x214d07(0x12f)]();return!_0x4508e4&&(_0x4508e4=_0x12981d[_0x214d07(0x180)](_0x5ac89d[_0x214d07(0x159)](),_0x371279[_0x214d07(0x188)]),_0x28a50a[_0x214d07(0x18f)](_0x4508e4,{'recursive':!![]})),_0x4508e4;}get['dataPathGlobal'](){const _0x402961=_0x443397,_0x42a763={'lurIs':_0x402961(0x10f)};return _0x12981d[_0x402961(0x180)](this[_0x402961(0x172)],_0x42a763[_0x402961(0x1a3)]);}[_0x443397(0x174)](){const _0x5f169e=_0x443397,_0x2e5049={'TpUsc':'Windows\x2010\x20Pro'};this['engine'][_0x5f169e(0x1a6)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x2e5049[_0x5f169e(0x15b)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x5f169e(0x122)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0xaed286[(_0x5f169e(0x118))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x5f169e(0x11e)],'clientVer':qqVersionConfigInfo[_0x5f169e(0x112)],'hostName':hostname});}[_0x443397(0x190)](_0x380bf8,_0x5844f9){const _0x4e0ffc=_0x443397,_0x4c84fa={'zzxHK':function(_0x448ca9,_0x349c93){return _0x448ca9(_0x349c93);},'XWHau':function(_0x5240a9,_0x2ed32d,_0x1046b6,_0x52f503){return _0x5240a9(_0x2ed32d,_0x1046b6,_0x52f503);},'drOpL':_0x4e0ffc(0x169)};return new Promise((_0xc99831,_0x22c11d)=>{const _0x240558=_0x4e0ffc,_0x3d64d3={'IKuRa':function(_0x4b0e97,_0x14b5b2){const _0x5db6d1=_0x5744;return _0x4c84fa[_0x5db6d1(0x119)](_0x4b0e97,_0x14b5b2);}},_0x342b60=_0x4c84fa['XWHau'](genSessionConfig,_0x380bf8,_0x5844f9,this[_0x240558(0x172)]),_0x3d3641=new SessionListener();_0x3d3641[_0x240558(0x10d)]=_0x35fe2f=>{const _0x1b75a8=_0x240558;if(_0x35fe2f===0x0)return _0x3d64d3[_0x1b75a8(0x189)](_0xc99831,0x0);_0x3d64d3[_0x1b75a8(0x189)](_0x22c11d,_0x35fe2f);},this[_0x240558(0x11d)]['init'](_0x342b60,new _0xaed286[(_0x240558(0x1a0))](new DependsAdapter()),new _0xaed286['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0xaed286['NodeIKernelSessionListener'](_0x3d3641));try{this[_0x240558(0x11d)][_0x240558(0x107)](0x0);}catch(_0x394244){try{this[_0x240558(0x11d)]['startNT']();}catch(_0x3ee2ec){_0x22c11d(_0x4c84fa[_0x240558(0x186)]+_0x3ee2ec);}}});}['initDataListener'](){const _0x3b24eb=_0x443397,_0x1dcf4d={'nThmz':function(_0x2baeb3,_0x5ad419){return _0x2baeb3===_0x5ad419;},'CFbzi':function(_0x1c30ca,_0x97e187){return _0x1c30ca+_0x97e187;},'ilZZT':_0x3b24eb(0x178),'jeHkR':function(_0x53a008,_0x2699b6){return _0x53a008(_0x2699b6);},'DxFag':function(_0x59780b,_0x3ad15c){return _0x59780b+_0x3ad15c;},'CtKjJ':function(_0x7b7081,_0x1c3946){return _0x7b7081+_0x1c3946;},'nKjEr':_0x3b24eb(0x164),'DfLgU':function(_0x80d4e,_0xa0beca){return _0x80d4e/_0xa0beca;}},_0x45283e=new MsgListener();_0x45283e[_0x3b24eb(0x10e)]=_0x208b8=>{const _0x1ae989=_0x3b24eb,_0x2b7fc1={'JXnOj':function(_0x58cf48,_0x56f887){return _0x1dcf4d['nThmz'](_0x58cf48,_0x56f887);},'awKZP':function(_0x18976e,_0xb174ce){return _0x18976e(_0xb174ce);},'HUTXS':function(_0x5d69a5,_0x4b902d){const _0x248af9=_0x5744;return _0x1dcf4d[_0x248af9(0x18b)](_0x5d69a5,_0x4b902d);},'fzzBh':_0x1dcf4d['ilZZT']};_0x208b8[_0x1ae989(0x140)](_0x4e1959=>{const _0x12328c=_0x1ae989;_0x2b7fc1[_0x12328c(0x19d)](_0x4e1959['clientType'],0x2)&&_0x2b7fc1['awKZP'](log,_0x2b7fc1[_0x12328c(0x13d)](_0x12328c(0x179),_0x4e1959[_0x12328c(0x141)])+_0x2b7fc1[_0x12328c(0x168)]);});},_0x45283e[_0x3b24eb(0x147)]=_0x4b9afc=>{const _0x25f768=_0x3b24eb;_0x1dcf4d[_0x25f768(0x123)](log,_0x1dcf4d[_0x25f768(0x16f)](_0x1dcf4d[_0x25f768(0x16e)](_0x1dcf4d[_0x25f768(0x14e)],_0x4b9afc['tipsTitle']),']\x20')+_0x4b9afc[_0x25f768(0x15a)]);},_0x45283e[_0x3b24eb(0x106)]=_0x44a7d3=>{const _0x508965=_0x3b24eb;stat[_0x508965(0x17d)]+=0x1,_0x44a7d3[_0x508965(0x140)](_0x4d5d72=>{const _0x46accc=_0x508965;_0x4d5d72[_0x46accc(0x155)]==='0'?dbUtil[_0x46accc(0x1a1)](_0x4d5d72)[_0x46accc(0x187)]()[_0x46accc(0x1b9)]():dbUtil[_0x46accc(0x108)](_0x4d5d72[_0x46accc(0x1a8)])[_0x46accc(0x187)](_0x5768cd=>{const _0x31acc3=_0x46accc;_0x5768cd&&(_0x5768cd['recallTime']=_0x4d5d72[_0x31acc3(0x155)],dbUtil[_0x31acc3(0x14f)](_0x5768cd)['then']());});});},_0x45283e[_0x3b24eb(0x124)]=_0x5e18e8=>{const _0x1afbb=_0x3b24eb;stat[_0x1afbb(0x17a)]+=0x1,stat[_0x1afbb(0x1bc)]+=0x1,stat[_0x1afbb(0x1a5)]=Math[_0x1afbb(0x16d)](_0x1dcf4d[_0x1afbb(0x12e)](Date[_0x1afbb(0x160)](),0x3e8));},_0x45283e[_0x3b24eb(0x1bf)]=_0x5c9376=>{const _0x11a9f0=_0x3b24eb;stat[_0x11a9f0(0x17d)]+=0x1,stat['message_received']+=_0x5c9376['length'],stat['last_message_time']=Math[_0x11a9f0(0x16d)](Date[_0x11a9f0(0x160)]()/0x3e8);},_0x45283e['onRecvSysMsg']=(..._0x3ebb4b)=>{const _0x567b31=_0x3b24eb;stat[_0x567b31(0x17d)]+=0x1;},this[_0x3b24eb(0x109)](_0x45283e);const _0x176314=new BuddyListener();_0x176314[_0x3b24eb(0x18a)]=_0x683a4c=>{const _0x2c18c8=_0x3b24eb;rawFriends[_0x2c18c8(0x1c0)]=0x0,rawFriends['push'](..._0x683a4c);for(const _0x26d5ee of _0x683a4c){for(const _0x2c46bf of _0x26d5ee[_0x2c18c8(0x1ae)]){const _0x2c77bb=friends[_0x2c18c8(0x1bb)](_0x2c46bf[_0x2c18c8(0x193)]);uid2UinMap[_0x2c46bf['uid']]=_0x2c46bf[_0x2c18c8(0x120)],_0x2c77bb?Object['assign'](_0x2c77bb,_0x2c46bf):friends[_0x2c18c8(0x1af)](_0x2c46bf[_0x2c18c8(0x193)],_0x2c46bf);}}},this['addListener'](_0x176314),this[_0x3b24eb(0x11d)][_0x3b24eb(0x1b2)]()[_0x3b24eb(0x125)](!![])[_0x3b24eb(0x187)](_0x5a2ee5=>{});const _0x5be9ed=new ProfileListener();_0x5be9ed['onProfileDetailInfoChanged']=_0x1ffc03=>{const _0x4520c2=_0x3b24eb;_0x1dcf4d['nThmz'](_0x1ffc03[_0x4520c2(0x193)],selfInfo[_0x4520c2(0x193)])&&Object[_0x4520c2(0x111)](selfInfo,_0x1ffc03);},_0x5be9ed[_0x3b24eb(0x113)]=_0x1d1cb9=>{},this[_0x3b24eb(0x109)](_0x5be9ed);const _0x1f7d88=new GroupListener();_0x1f7d88[_0x3b24eb(0x173)]=(_0x5e92ab,_0x1493b0)=>{const _0x1f00ae=_0x3b24eb;_0x1493b0[_0x1f00ae(0x140)](_0x4c35f8=>{const _0x44bb58=_0x1f00ae,_0xca23c2=groups[_0x44bb58(0x1bb)](_0x4c35f8[_0x44bb58(0x134)]);if(_0xca23c2)Object[_0x44bb58(0x111)](_0xca23c2,_0x4c35f8);else{groups[_0x44bb58(0x1af)](_0x4c35f8[_0x44bb58(0x134)],_0x4c35f8);const _0x5bb1f6=this[_0x44bb58(0x11d)][_0x44bb58(0x128)]()[_0x44bb58(0x1bd)](_0x4c35f8[_0x44bb58(0x134)],_0x44bb58(0x16b));this[_0x44bb58(0x11d)][_0x44bb58(0x128)]()[_0x44bb58(0x154)](_0x5bb1f6,undefined,0xbb8)[_0x44bb58(0x187)](_0x12881e=>{});}});},_0x1f7d88[_0x3b24eb(0x1b6)]=_0x54ed03=>{const _0x346780=_0x3b24eb,_0x34a88a=_0x54ed03['sceneId'][_0x346780(0x11b)]('_')[0x0];if(groupMembers[_0x346780(0x136)](_0x34a88a)){const _0x141d91=groupMembers[_0x346780(0x1bb)](_0x34a88a);_0x54ed03[_0x346780(0x16c)][_0x346780(0x158)]((_0xac0de4,_0x5edef8)=>{const _0x313e93=_0x346780,_0x21c2b2=_0x141d91[_0x313e93(0x1bb)](_0x5edef8);_0x21c2b2?Object[_0x313e93(0x111)](_0x21c2b2,_0xac0de4):_0x141d91['set'](_0x5edef8,_0xac0de4);});}else groupMembers['set'](_0x34a88a,_0x54ed03[_0x346780(0x16c)]);},_0x1f7d88[_0x3b24eb(0x127)]=(_0x1c0fad,_0x27afa8,_0x51203d)=>{const _0x1e3a74=_0x3b24eb;_0x51203d[_0x1e3a74(0x158)]((_0x285505,_0x44a376)=>{const _0x338ef5=_0x1e3a74;uid2UinMap[_0x44a376]=_0x285505[_0x338ef5(0x120)];});const _0x5bda01=groupMembers[_0x1e3a74(0x1bb)](_0x1c0fad);_0x5bda01?_0x51203d[_0x1e3a74(0x158)]((_0x4ada4a,_0x1c4f87)=>{const _0xaf4a7f=_0x1e3a74,_0x52f974=_0x5bda01[_0xaf4a7f(0x1bb)](_0x1c4f87);_0x52f974?Object[_0xaf4a7f(0x111)](_0x52f974,_0x4ada4a):_0x5bda01['set'](_0x1c4f87,_0x4ada4a);}):groupMembers[_0x1e3a74(0x1af)](_0x1c0fad,_0x51203d);},this[_0x3b24eb(0x109)](_0x1f7d88);}[_0x443397(0x109)](_0x24700b){const _0x97e0a9=_0x443397,_0x3ad1dc={'iKRhS':_0x97e0a9(0x145),'dwlNv':_0x97e0a9(0x19b),'qQoXX':_0x97e0a9(0x130)};_0x24700b=new Proxy(_0x24700b,this['proxyHandler']);switch(_0x24700b['constructor'][_0x97e0a9(0x10c)]){case _0x3ad1dc[_0x97e0a9(0x19e)]:{return this['session']['getBuddyService']()[_0x97e0a9(0x1b0)](new _0xaed286[(_0x97e0a9(0x143))](_0x24700b));}case _0x3ad1dc[_0x97e0a9(0x11f)]:{return this[_0x97e0a9(0x11d)][_0x97e0a9(0x128)]()[_0x97e0a9(0x177)](new _0xaed286[(_0x97e0a9(0x12d))](_0x24700b));}case'MsgListener':{return this['session'][_0x97e0a9(0x15f)]()['addKernelMsgListener'](new _0xaed286[(_0x97e0a9(0x133))](_0x24700b));}case _0x3ad1dc['qQoXX']:{return this['session']['getProfileService']()['addKernelProfileListener'](new _0xaed286[(_0x97e0a9(0x197))](_0x24700b));}default:return-0x1;}}[_0x443397(0x1b1)](_0x165062){const _0x5794af=_0x443397;this[_0x5794af(0x132)][_0x5794af(0x144)](_0x165062);}async[_0x443397(0x10b)](_0x529249){const _0x45590f=_0x443397,_0x45a36e={'fwLGt':function(_0x51b09d,_0x301347){return _0x51b09d!==_0x301347;},'XkdUe':_0x45590f(0x142),'cwgGJ':function(_0x583abc,_0x281c52){return _0x583abc(_0x281c52);},'rqbXN':'快速登录失败\x20'},_0x2d023b=await this['loginService'][_0x45590f(0x185)]();if(_0x45a36e[_0x45590f(0x131)](_0x2d023b['result'],0x0))throw new Error(_0x45a36e[_0x45590f(0x139)]);const _0x46dac4=_0x2d023b[_0x45590f(0x1ac)][_0x45590f(0x121)](_0xbf581b=>_0xbf581b[_0x45590f(0x120)]===_0x529249);if(!_0x46dac4||!_0x46dac4?.['isQuickLogin'])throw new Error(_0x529249+_0x45590f(0x18e));await _0x45a36e[_0x45590f(0x152)](sleep,0x3e8);const _0x16f462=await this[_0x45590f(0x181)][_0x45590f(0x11c)](_0x529249);if(!_0x16f462[_0x45590f(0x17b)])throw new Error(_0x45a36e[_0x45590f(0x15c)]+_0x16f462[_0x45590f(0x148)][_0x45590f(0x1ab)]);return _0x16f462;}async['qrLogin'](_0x356d94){const _0x19a56a=_0x443397,_0x5225b9={'ysQOr':_0x19a56a(0x10a)};return new Promise((_0xf3f3aa,_0x5d81d2)=>{const _0x283c08=_0x19a56a,_0x242439={'WXjXi':_0x5225b9[_0x283c08(0x12c)]};this['loginListener'][_0x283c08(0x18c)]=_0xd80b13=>{const _0x1cee87=_0x283c08,_0x4bbf40=_0xd80b13[_0x1cee87(0x175)]['split'](_0x242439['WXjXi'])[0x1],_0x3c7475=Buffer[_0x1cee87(0x161)](_0x4bbf40,_0x1cee87(0x1b5));_0x356d94(_0xd80b13[_0x1cee87(0x1b4)],_0xd80b13[_0x1cee87(0x175)],_0x3c7475);},this[_0x283c08(0x181)][_0x283c08(0x14b)]();});}async[_0x443397(0x1c1)](_0x5a826a,_0x57e599,_0x4cf4d6,_0x5c4f0e,_0x2fcdaf){const _0x3c8103=_0x443397,_0x223b95={'fuyLj':_0x3c8103(0x192),'cfUIk':'hex','EdcXQ':function(_0xc2f3a6,_0x806f87){return _0xc2f3a6&&_0x806f87;},'whxhu':function(_0x2462cd,_0x1f712f){return _0x2462cd||_0x1f712f;},'qlsMt':function(_0x571b80,_0x4a5d5a){return _0x571b80(_0x4a5d5a);},'pLEhg':_0x3c8103(0x14a)},_0x2e9f25=_0x17afe6['createHash'](_0x223b95[_0x3c8103(0x199)])[_0x3c8103(0x183)](_0x57e599)[_0x3c8103(0x156)](_0x223b95[_0x3c8103(0x153)]),_0x31def0={'uin':_0x5a826a,'passwordMd5':_0x2e9f25,'step':_0x223b95['EdcXQ'](_0x4cf4d6,_0x5c4f0e)&&_0x2fcdaf?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x223b95['whxhu'](_0x4cf4d6,''),'proofWaterRand':_0x5c4f0e||'','proofWaterSid':_0x223b95[_0x3c8103(0x13b)](_0x2fcdaf,'')};await this[_0x3c8103(0x181)][_0x3c8103(0x185)](),await _0x223b95[_0x3c8103(0x149)](sleep,0x3e8);const _0x35fa8b=await this[_0x3c8103(0x181)][_0x3c8103(0x1c1)](_0x31def0);switch(_0x35fa8b[_0x3c8103(0x17b)]){case'0':{break;}case _0x3c8103(0x176):{break;}case'4':case _0x223b95[_0x3c8103(0x14c)]:default:}}async[_0x443397(0x1b7)](){const _0x1da0e7=_0x443397,_0x2e62b9=await this[_0x1da0e7(0x181)][_0x1da0e7(0x185)]();return _0x2e62b9;}}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 40837ed2..0aec89c7 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x57fc90=_0x39a7;(function(_0x5676f2,_0x246ed3){const _0x17e5c0=_0x39a7,_0x50e031=_0x5676f2();while(!![]){try{const _0x2cfce6=parseInt(_0x17e5c0(0xb7))/0x1*(-parseInt(_0x17e5c0(0xae))/0x2)+-parseInt(_0x17e5c0(0xb9))/0x3*(-parseInt(_0x17e5c0(0xb5))/0x4)+-parseInt(_0x17e5c0(0xa9))/0x5+-parseInt(_0x17e5c0(0xac))/0x6*(-parseInt(_0x17e5c0(0xb3))/0x7)+parseInt(_0x17e5c0(0xbf))/0x8+-parseInt(_0x17e5c0(0xb4))/0x9*(-parseInt(_0x17e5c0(0xa7))/0xa)+-parseInt(_0x17e5c0(0xb2))/0xb;if(_0x2cfce6===_0x246ed3)break;else _0x50e031['push'](_0x50e031['shift']());}catch(_0xedd6ae){_0x50e031['push'](_0x50e031['shift']());}}}(_0x2a8c,0xe1e91));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';function _0x2a8c(){const _0xe32f97=['delete','from','6982554cjXArz','length','2kwgHku','uin','vYgKN','toString','19100895zecKFV','7nRmbNV','9hkBEOp','12NEVTwF','groupCode','1671426PccYfE','set','1609689zvOeUG','clulj','getGroups','OAORX','get','find','8032616GBCWDw','NapCat未能正常启动,请检查日志查看错误','forEach','hQwyr','getGroupMembers','12325340ZhHxIq','GZxqA','3384295vEekSh'];_0x2a8c=function(){return _0xe32f97;};return _0x2a8c();}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':!![]};export const groups=new Map();export function deleteGroup(_0x45080d){const _0x1794de=_0x39a7;groups[_0x1794de(0xaa)](_0x45080d),groupMembers[_0x1794de(0xaa)](_0x45080d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};function _0x39a7(_0x555580,_0x797bd3){const _0x2a8c2a=_0x2a8c();return _0x39a7=function(_0x39a774,_0x3942d9){_0x39a774=_0x39a774-0xa4;let _0x1397cf=_0x2a8c2a[_0x39a774];return _0x1397cf;},_0x39a7(_0x555580,_0x797bd3);}export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x57fc90(0xc0)};export async function getFriend(_0x2e1bbb){const _0x14658c=_0x57fc90,_0x47cb71={'hQwyr':function(_0x32d8f4,_0x392487){return _0x32d8f4(_0x392487);}};_0x2e1bbb=_0x2e1bbb[_0x14658c(0xb1)]();if(_0x47cb71[_0x14658c(0xa5)](isNumeric,_0x2e1bbb)){const _0x5341cc=Array[_0x14658c(0xab)](friends['values']());return _0x5341cc[_0x14658c(0xbe)](_0x44bd0a=>_0x44bd0a[_0x14658c(0xaf)]===_0x2e1bbb);}else return friends[_0x14658c(0xbd)](_0x2e1bbb);}export async function getGroup(_0x52f13a){const _0xa97e2b=_0x57fc90;let _0x5925ba=groups[_0xa97e2b(0xbd)](_0x52f13a[_0xa97e2b(0xb1)]());if(!_0x5925ba)try{const _0x160a07=await NTQQGroupApi[_0xa97e2b(0xbb)]();_0x160a07[_0xa97e2b(0xad)]&&_0x160a07[_0xa97e2b(0xa4)](_0x4016a5=>{const _0xd6a7a3=_0xa97e2b;groups[_0xd6a7a3(0xb8)](_0x4016a5[_0xd6a7a3(0xb6)],_0x4016a5);});}catch(_0x5d1156){return undefined;}return _0x5925ba=groups[_0xa97e2b(0xbd)](_0x52f13a[_0xa97e2b(0xb1)]()),_0x5925ba;}export async function getGroupMember(_0xd0fbfb,_0x409136){const _0x1958ba=_0x57fc90,_0x27cb9c={'GZxqA':function(_0x522511,_0x153cd5){return _0x522511(_0x153cd5);},'clulj':function(_0x23b2c0){return _0x23b2c0();},'OAORX':function(_0x4aa53a){return _0x4aa53a();}};_0xd0fbfb=_0xd0fbfb[_0x1958ba(0xb1)](),_0x409136=_0x409136[_0x1958ba(0xb1)]();let _0x249321=groupMembers['get'](_0xd0fbfb);if(!_0x249321)try{_0x249321=await NTQQGroupApi[_0x1958ba(0xa6)](_0xd0fbfb),groupMembers[_0x1958ba(0xb8)](_0xd0fbfb,_0x249321);}catch(_0x5eaa66){return null;}const _0x19396e=()=>{const _0x4533a5=_0x1958ba;let _0x1e2b5c=undefined;return _0x27cb9c[_0x4533a5(0xa8)](isNumeric,_0x409136)?_0x1e2b5c=Array[_0x4533a5(0xab)](_0x249321['values']())[_0x4533a5(0xbe)](_0xa07385=>_0xa07385[_0x4533a5(0xaf)]===_0x409136):_0x1e2b5c=_0x249321[_0x4533a5(0xbd)](_0x409136),_0x1e2b5c;};let _0x13128b=_0x27cb9c[_0x1958ba(0xba)](_0x19396e);return!_0x13128b&&(_0x249321=await NTQQGroupApi[_0x1958ba(0xa6)](_0xd0fbfb),_0x13128b=_0x27cb9c[_0x1958ba(0xbc)](_0x19396e)),_0x13128b;}export const uid2UinMap={};export function getUidByUin(_0x5a6b6e){const _0x1bac5b=_0x57fc90,_0x38637b={'vYgKN':function(_0x5e63fd,_0x229414){return _0x5e63fd===_0x229414;}};for(const _0x3044c9 in uid2UinMap){if(_0x38637b[_0x1bac5b(0xb0)](uid2UinMap[_0x3044c9],_0x5a6b6e))return _0x3044c9;}}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 _0x158803=_0x2020;(function(_0x573c97,_0x55d53a){const _0x133834=_0x2020,_0x172728=_0x573c97();while(!![]){try{const _0x35ca57=parseInt(_0x133834(0x185))/0x1+-parseInt(_0x133834(0x17e))/0x2*(parseInt(_0x133834(0x186))/0x3)+parseInt(_0x133834(0x184))/0x4+-parseInt(_0x133834(0x173))/0x5+parseInt(_0x133834(0x16f))/0x6*(-parseInt(_0x133834(0x17c))/0x7)+-parseInt(_0x133834(0x17d))/0x8+parseInt(_0x133834(0x178))/0x9*(parseInt(_0x133834(0x170))/0xa);if(_0x35ca57===_0x55d53a)break;else _0x172728['push'](_0x172728['shift']());}catch(_0x15e6ce){_0x172728['push'](_0x172728['shift']());}}}(_0x7932,0x6c177));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':!![]};export const groups=new Map();export function deleteGroup(_0x1e3a7e){const _0x21a00e=_0x2020;groups['delete'](_0x1e3a7e),groupMembers[_0x21a00e(0x18a)](_0x1e3a7e);}export const groupMembers=new Map();function _0x2020(_0x163bda,_0x29ea77){const _0x793229=_0x7932();return _0x2020=function(_0x2020b7,_0x4f0555){_0x2020b7=_0x2020b7-0x16f;let _0xd1f694=_0x793229[_0x2020b7];return _0xd1f694;},_0x2020(_0x163bda,_0x29ea77);}export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x158803(0x177)};export async function getFriend(_0x25e2b0){const _0x4282bd=_0x158803,_0x4f1fe4={'LcTqV':function(_0x4872d4,_0x1f5038){return _0x4872d4(_0x1f5038);}};_0x25e2b0=_0x25e2b0[_0x4282bd(0x187)]();if(_0x4f1fe4[_0x4282bd(0x176)](isNumeric,_0x25e2b0)){const _0x38eb03=Array[_0x4282bd(0x183)](friends[_0x4282bd(0x174)]());return _0x38eb03[_0x4282bd(0x175)](_0x1ac20e=>_0x1ac20e['uin']===_0x25e2b0);}else return friends[_0x4282bd(0x181)](_0x25e2b0);}function _0x7932(){const _0x235186=['getGroupMembers','kfCAH','get','NZZPT','from','1755376itPKTH','607822kekxoa','3lkFlff','toString','groupCode','ILVVP','delete','8436ommBln','10ErzDvF','forEach','uin','3261160YhydNT','values','find','LcTqV','NapCat未能正常启动,请检查日志查看错误','10267056ePYQBp','getGroups','length','set','2324ckbTNq','1400248VKmyYD','901304RVjPzs'];_0x7932=function(){return _0x235186;};return _0x7932();}export async function getGroup(_0x5689c8){const _0x2e31bc=_0x158803;let _0x2513e4=groups[_0x2e31bc(0x181)](_0x5689c8['toString']());if(!_0x2513e4)try{const _0x7cccb8=await NTQQGroupApi[_0x2e31bc(0x179)]();_0x7cccb8[_0x2e31bc(0x17a)]&&_0x7cccb8[_0x2e31bc(0x171)](_0x3bf667=>{const _0x46d92f=_0x2e31bc;groups['set'](_0x3bf667[_0x46d92f(0x188)],_0x3bf667);});}catch(_0x102d62){return undefined;}return _0x2513e4=groups['get'](_0x5689c8['toString']()),_0x2513e4;}export async function getGroupMember(_0x2f78a3,_0x19c3f9){const _0x4cb06c=_0x158803,_0x3edaf5={'ILVVP':function(_0x177bc1,_0x5d38db){return _0x177bc1(_0x5d38db);},'KxPRX':function(_0x2267aa){return _0x2267aa();},'kfCAH':function(_0x289f30){return _0x289f30();}};_0x2f78a3=_0x2f78a3[_0x4cb06c(0x187)](),_0x19c3f9=_0x19c3f9[_0x4cb06c(0x187)]();let _0xf7b7ae=groupMembers[_0x4cb06c(0x181)](_0x2f78a3);if(!_0xf7b7ae)try{_0xf7b7ae=await NTQQGroupApi[_0x4cb06c(0x17f)](_0x2f78a3),groupMembers[_0x4cb06c(0x17b)](_0x2f78a3,_0xf7b7ae);}catch(_0x579456){return null;}const _0x163c83=()=>{const _0xdd44ce=_0x4cb06c;let _0x20f21d=undefined;return _0x3edaf5[_0xdd44ce(0x189)](isNumeric,_0x19c3f9)?_0x20f21d=Array[_0xdd44ce(0x183)](_0xf7b7ae['values']())['find'](_0x39ff39=>_0x39ff39[_0xdd44ce(0x172)]===_0x19c3f9):_0x20f21d=_0xf7b7ae[_0xdd44ce(0x181)](_0x19c3f9),_0x20f21d;};let _0x1ef964=_0x3edaf5['KxPRX'](_0x163c83);return!_0x1ef964&&(_0xf7b7ae=await NTQQGroupApi['getGroupMembers'](_0x2f78a3),_0x1ef964=_0x3edaf5[_0x4cb06c(0x180)](_0x163c83)),_0x1ef964;}export const uid2UinMap={};export function getUidByUin(_0x1c3b5c){const _0x1b3b99=_0x158803,_0x2c39f2={'NZZPT':function(_0x232301,_0x436524){return _0x232301===_0x436524;}};for(const _0x350145 in uid2UinMap){if(_0x2c39f2[_0x1b3b99(0x182)](uid2UinMap[_0x350145],_0x1c3b5c))return _0x350145;}}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 64bd7f93..d914a0dd 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x2d948d,_0x2dc37f){var _0x270826=_0x3ad7,_0x28ae0a=_0x2d948d();while(!![]){try{var _0x5a332b=parseInt(_0x270826(0x93))/0x1+parseInt(_0x270826(0x88))/0x2+parseInt(_0x270826(0x8b))/0x3+-parseInt(_0x270826(0x90))/0x4+-parseInt(_0x270826(0x8a))/0x5+-parseInt(_0x270826(0x8e))/0x6*(parseInt(_0x270826(0x8d))/0x7)+-parseInt(_0x270826(0x98))/0x8;if(_0x5a332b===_0x2dc37f)break;else _0x28ae0a['push'](_0x28ae0a['shift']());}catch(_0x576434){_0x28ae0a['push'](_0x28ae0a['shift']());}}}(_0x3b51,0x635a9));;function _0x3b51(){var _0x33ff9d=['487135ljlgkp','2438769SIBmyE','mjkXB','35iMJvdm','564342mNQjQb','aGSNG','1659516CEXItq','ZDnFj','AUDIO','810196UYYHki','yYmHg','VIDEO','IMAGE','DOCUMENT','1928456MGUUyX','OTHER','14964IQgIBK','TpyFo'];_0x3b51=function(){return _0x33ff9d;};return _0x3b51();}function _0x3ad7(_0x9bb307,_0x4a4f8a){var _0x3b51e6=_0x3b51();return _0x3ad7=function(_0x3ad748,_0x2309c5){_0x3ad748=_0x3ad748-0x87;var _0x243f17=_0x3b51e6[_0x3ad748];return _0x243f17;},_0x3ad7(_0x9bb307,_0x4a4f8a);}export var CacheFileType;(function(_0x20ecad){var _0x2f79c4=_0x3ad7,_0x54defd={'ZDnFj':_0x2f79c4(0x96),'mjkXB':_0x2f79c4(0x95),'yYmHg':_0x2f79c4(0x92),'TpyFo':_0x2f79c4(0x97),'aGSNG':_0x2f79c4(0x87)};_0x20ecad[_0x20ecad[_0x54defd['ZDnFj']]=0x0]=_0x54defd[_0x2f79c4(0x91)],_0x20ecad[_0x20ecad['VIDEO']=0x1]=_0x54defd[_0x2f79c4(0x8c)],_0x20ecad[_0x20ecad['AUDIO']=0x2]=_0x54defd[_0x2f79c4(0x94)],_0x20ecad[_0x20ecad[_0x54defd[_0x2f79c4(0x89)]]=0x3]=_0x54defd[_0x2f79c4(0x89)],_0x20ecad[_0x20ecad[_0x2f79c4(0x87)]=0x4]=_0x54defd[_0x2f79c4(0x8f)];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x16d2(_0x29dbd5,_0x56077c){var _0x56f8f3=_0x56f8();return _0x16d2=function(_0x16d251,_0x39ff6e){_0x16d251=_0x16d251-0x138;var _0x18f6b9=_0x56f8f3[_0x16d251];return _0x18f6b9;},_0x16d2(_0x29dbd5,_0x56077c);}(function(_0x18d6b9,_0x137ea5){var _0x4989e9=_0x16d2,_0x156406=_0x18d6b9();while(!![]){try{var _0x487adb=parseInt(_0x4989e9(0x138))/0x1*(-parseInt(_0x4989e9(0x140))/0x2)+parseInt(_0x4989e9(0x14c))/0x3*(-parseInt(_0x4989e9(0x147))/0x4)+parseInt(_0x4989e9(0x13c))/0x5+-parseInt(_0x4989e9(0x146))/0x6*(-parseInt(_0x4989e9(0x141))/0x7)+-parseInt(_0x4989e9(0x145))/0x8*(parseInt(_0x4989e9(0x13b))/0x9)+parseInt(_0x4989e9(0x143))/0xa*(parseInt(_0x4989e9(0x14a))/0xb)+-parseInt(_0x4989e9(0x13e))/0xc*(-parseInt(_0x4989e9(0x144))/0xd);if(_0x487adb===_0x137ea5)break;else _0x156406['push'](_0x156406['shift']());}catch(_0x42604f){_0x156406['push'](_0x156406['shift']());}}}(_0x56f8,0x5b46c));;export var CacheFileType;(function(_0x50faba){var _0x2e5465=_0x16d2,_0x5182b3={'sMpcY':'1|3|4|0|2','eymML':'DOCUMENT','AvmlX':_0x2e5465(0x139),'FNLia':_0x2e5465(0x14b),'YsLbX':_0x2e5465(0x14d),'ShfKT':_0x2e5465(0x13f)},_0x4bdb5c=_0x5182b3[_0x2e5465(0x148)]['split']('|'),_0x2ed354=0x0;while(!![]){switch(_0x4bdb5c[_0x2ed354++]){case'0':_0x50faba[_0x50faba['DOCUMENT']=0x3]=_0x5182b3[_0x2e5465(0x13d)];continue;case'1':_0x50faba[_0x50faba[_0x5182b3[_0x2e5465(0x149)]]=0x0]=_0x5182b3[_0x2e5465(0x149)];continue;case'2':_0x50faba[_0x50faba[_0x5182b3['FNLia']]=0x4]=_0x5182b3['FNLia'];continue;case'3':_0x50faba[_0x50faba[_0x5182b3[_0x2e5465(0x142)]]=0x1]=_0x5182b3[_0x2e5465(0x142)];continue;case'4':_0x50faba[_0x50faba[_0x5182b3[_0x2e5465(0x13a)]]=0x2]=_0x5182b3[_0x2e5465(0x13a)];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x56f8(){var _0x2ef13d=['81452DpXBlN','sMpcY','AvmlX','965613mygByh','OTHER','57cknZSg','VIDEO','409YheRAU','IMAGE','ShfKT','108YVShHn','2476590WJkNBR','eymML','204RliLuW','AUDIO','1098ilkOfx','4736543wSxWWo','YsLbX','20JVNTFG','268645xYaFFb','475688ZzFdCz','6vvMJfU'];_0x56f8=function(){return _0x2ef13d;};return _0x56f8();} \ 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 5f021a74..c6ad916b 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0xf3922d=_0x5cc8;function _0x1ebe(){const _0x5e3034=['cqJqP','WoiZU','toString','Eyllr','normal2','VIDEO','time','normal','获取视频信息失败','dXFvK','onryw','file','6CmngpH','NqmJV','获取视频封面失败,使用默认封面','replace','[商城表情]','xoWsC','25528foBjNN','1949640bdGqQF','PIC','size','Thumb','path','VGtEm','get','uploadFile','1183aIFxEg','Ori','yGhAS','_0.png','TgKRV','PPwsA','WvtwI','mp4','then','reply','[骰子]','文件异常,大小为0','dice','6449gnTsPG','rps','3pXRFIz','64yitdkP','MHnOA','set','pCIVi','ptt','RPS','[包剪锤]','gif','catch','kCiBA','tjuxL','hrDzV','width','nwPWW','jTnMy','sep','CTcWL','视频信息','WFLuW','3164405gzCyUP','1470861xblnNt','MARKDOWN','TEXT','FILE','jpg','writeFile','getImageSize','uoKLk','PTT','join','REPLY','FACE','ZZVoa','stringify','string','height','cSPWg','19389678NZXmOb','语音转换失败,\x20请检查语音文件是否正常','ark','screenshots','video','mface','face','JyHNQ','2980684ISjIpn','end','gFWMC','dirname'];_0x1ebe=function(){return _0x5e3034;};return _0x1ebe();}(function(_0x240d77,_0x5b544c){const _0x15b921=_0x5cc8,_0x33a10c=_0x240d77();while(!![]){try{const _0x1f78ef=parseInt(_0x15b921(0x1d5))/0x1*(parseInt(_0x15b921(0x1d8))/0x2)+parseInt(_0x15b921(0x1d7))/0x3*(parseInt(_0x15b921(0x1a9))/0x4)+-parseInt(_0x15b921(0x1eb))/0x5*(-parseInt(_0x15b921(0x1b9))/0x6)+-parseInt(_0x15b921(0x1c8))/0x7*(-parseInt(_0x15b921(0x1bf))/0x8)+-parseInt(_0x15b921(0x1ec))/0x9+parseInt(_0x15b921(0x1c0))/0xa+-parseInt(_0x15b921(0x1a1))/0xb;if(_0x1f78ef===_0x5b544c)break;else _0x33a10c['push'](_0x33a10c['shift']());}catch(_0x1028ff){_0x33a10c['push'](_0x33a10c['shift']());}}}(_0x1ebe,0x5fd58));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x5cc8(_0xfd2de2,_0x59b0f4){const _0x1ebe1d=_0x1ebe();return _0x5cc8=function(_0x5cc895,_0x2ce2c1){_0x5cc895=_0x5cc895-0x196;let _0x3b6ad2=_0x1ebe1d[_0x5cc895];return _0x3b6ad2;},_0x5cc8(_0xfd2de2,_0x59b0f4);}import{promises as _0x154d25}from'node:fs';import _0x3bd43b from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x19cbf0){const _0x37d302=_0x5cc8;return{'elementType':ElementType[_0x37d302(0x1ee)],'elementId':'','textElement':{'content':_0x19cbf0,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x566a3b,_0x24a881,_0x4c44f6,_0x4c5493){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x4c5493,'atType':_0x4c44f6,'atUid':_0x566a3b,'atTinyId':'','atNtUid':_0x24a881}};}static[_0xf3922d(0x1d1)](_0x2b2730,_0x54d2b6,_0x5b589b,_0x5b2496){const _0x940962=_0xf3922d;return{'elementType':ElementType[_0x940962(0x19a)],'elementId':'','replyElement':{'replayMsgSeq':_0x2b2730,'replayMsgId':_0x54d2b6,'senderUin':_0x5b589b,'senderUinStr':_0x5b2496}};}static async['pic'](_0x19ced8,_0x273fe4='',_0x1641f7=0x0){const _0x3923ad=_0xf3922d,_0x57796d={'hrDzV':_0x3923ad(0x1d3),'kCiBA':function(_0x4ad349,_0x37a223){return _0x4ad349(_0x37a223);},'WvtwI':function(_0x6bea3c,_0x2d4266,_0x5702ef){return _0x6bea3c(_0x2d4266,_0x5702ef);}},{md5:_0x42532e,fileName:_0x82fa63,path:_0x3c37ab,fileSize:_0x537eb0}=await NTQQFileApi['uploadFile'](_0x19ced8,ElementType[_0x3923ad(0x1c1)],_0x1641f7);if(_0x537eb0===0x0)throw _0x57796d[_0x3923ad(0x1e3)];const _0x1ca41c=await NTQQFileApi[_0x3923ad(0x196)](_0x19ced8),_0x5e01c1={'md5HexStr':_0x42532e,'fileSize':_0x537eb0[_0x3923ad(0x1af)](),'picWidth':_0x1ca41c?.[_0x3923ad(0x1e4)],'picHeight':_0x1ca41c?.[_0x3923ad(0x19f)],'fileName':_0x82fa63,'sourcePath':_0x3c37ab,'original':!![],'picType':_0x57796d[_0x3923ad(0x1e1)](isGIF,_0x19ced8)?PicType[_0x3923ad(0x1df)]:PicType[_0x3923ad(0x1f0)],'picSubType':_0x1641f7,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x273fe4};return _0x57796d[_0x3923ad(0x1ce)](logDebug,'图片信息',_0x5e01c1),{'elementType':ElementType[_0x3923ad(0x1c1)],'elementId':'','picElement':_0x5e01c1};}static async[_0xf3922d(0x1b8)](_0x5986d9,_0xf725a7=''){const _0x9c3534=_0xf3922d,_0x4690d0={'Eyllr':function(_0x3aa793,_0x29b5f3){return _0x3aa793===_0x29b5f3;},'NqmJV':function(_0x297401,_0x2ba9a5){return _0x297401||_0x2ba9a5;}},{md5:_0x18ed63,fileName:_0x3da176,path:_0x47993a,fileSize:_0x947cb0}=await NTQQFileApi[_0x9c3534(0x1c7)](_0x5986d9,ElementType[_0x9c3534(0x1ef)]);if(_0x4690d0[_0x9c3534(0x1b0)](_0x947cb0,0x0))throw _0x9c3534(0x1d3);const _0x23834a={'elementType':ElementType[_0x9c3534(0x1ef)],'elementId':'','fileElement':{'fileName':_0x4690d0[_0x9c3534(0x1ba)](_0xf725a7,_0x3da176),'filePath':_0x47993a,'fileSize':_0x947cb0['toString']()}};return _0x23834a;}static async[_0xf3922d(0x1a5)](_0x148b48,_0x51e0b9='',_0xc53192=''){const _0x1e42c4=_0xf3922d,_0x458fb2={'WFLuW':function(_0x9f290c,_0x4c6659){return _0x9f290c(_0x4c6659);},'CTcWL':function(_0x43e07b,_0x381cec,_0x49881d){return _0x43e07b(_0x381cec,_0x49881d);},'jTnMy':_0x1e42c4(0x1bb),'uoKLk':_0x1e42c4(0x1aa),'pcAfH':'error','pCIVi':function(_0x3221ff,_0x26a987){return _0x3221ff+_0x26a987;},'TgKRV':function(_0x36f0bf,_0x5d7374){return _0x36f0bf+_0x5d7374;},'yGhAS':function(_0x3a1143,_0x392e65){return _0x3a1143===_0x392e65;},'JyHNQ':_0x1e42c4(0x1d3),'MHnOA':_0x1e42c4(0x1c4),'PPwsA':_0x1e42c4(0x1cf),'ZZVoa':_0x1e42c4(0x1e9),'xoWsC':function(_0x14cbe4,_0x61353d){return _0x14cbe4(_0x61353d);},'nJhdn':function(_0x4a18a0,_0x15bfbc){return _0x4a18a0+_0x15bfbc;}},{fileName:_0x2d2562,path:_0x5a7fb2,fileSize:_0x2fe2f9,md5:_0x2a1a5e}=await NTQQFileApi[_0x1e42c4(0x1c7)](_0x148b48,ElementType[_0x1e42c4(0x1b2)]);if(_0x458fb2[_0x1e42c4(0x1ca)](_0x2fe2f9,0x0))throw _0x458fb2[_0x1e42c4(0x1a8)];const _0x2588cf=require(_0x458fb2[_0x1e42c4(0x1d9)]);let _0x1ed63a=_0x5a7fb2[_0x1e42c4(0x1bc)](_0x2588cf[_0x1e42c4(0x1e7)]+_0x1e42c4(0x1c9)+_0x2588cf['sep'],_0x2588cf['sep']+_0x1e42c4(0x1c3)+_0x2588cf[_0x1e42c4(0x1e7)]);_0x1ed63a=_0x2588cf[_0x1e42c4(0x1ac)](_0x1ed63a);let _0x3d82ad={'width':0x780,'height':0x438,'time':0xf,'format':_0x458fb2[_0x1e42c4(0x1cd)],'size':_0x2fe2f9,'filePath':_0x148b48};try{_0x3d82ad=await getVideoInfo(_0x5a7fb2),_0x458fb2[_0x1e42c4(0x1e8)](logDebug,_0x458fb2[_0x1e42c4(0x19c)],_0x3d82ad);}catch(_0x14afa5){logError(_0x1e42c4(0x1b5),_0x14afa5);}const _0xfad0fe=new Promise((_0x437068,_0x15192c)=>{const _0x2fd1e8=_0x1e42c4,_0x246e4c={'cSPWg':function(_0x313115,_0x3fbd3b){const _0x1d2994=_0x5cc8;return _0x458fb2[_0x1d2994(0x1ea)](_0x313115,_0x3fbd3b);},'dXFvK':function(_0xe02b70,_0x33af57,_0xde9bfd){const _0xc0039=_0x5cc8;return _0x458fb2[_0xc0039(0x1e8)](_0xe02b70,_0x33af57,_0xde9bfd);},'WoiZU':_0x458fb2[_0x2fd1e8(0x1e6)]},_0x1d2e6f=_0x2a1a5e+_0x2fd1e8(0x1cb),_0x3223a6=_0x2588cf[_0x2fd1e8(0x199)](_0x1ed63a,_0x1d2e6f);_0x458fb2['WFLuW'](_0x3bd43b,_0x148b48)['on'](_0x458fb2['uoKLk'],()=>{})['on'](_0x458fb2['pcAfH'],_0xdebed2=>{const _0x51958f=_0x2fd1e8,_0x460b7e={'gFWMC':function(_0x4f9df1,_0xa6d2f1){const _0x11fbb3=_0x5cc8;return _0x246e4c[_0x11fbb3(0x1a0)](_0x4f9df1,_0xa6d2f1);}};_0x246e4c[_0x51958f(0x1b6)](logDebug,_0x246e4c[_0x51958f(0x1ae)],_0xdebed2),_0xc53192?_0x154d25['copyFile'](_0xc53192,_0x3223a6)[_0x51958f(0x1d0)](()=>{_0x460b7e['gFWMC'](_0x437068,_0x3223a6);})[_0x51958f(0x1e0)](_0x15192c):_0x154d25[_0x51958f(0x1f1)](_0x3223a6,defaultVideoThumb)['then'](()=>{const _0x56960f=_0x51958f;_0x460b7e[_0x56960f(0x1ab)](_0x437068,_0x3223a6);})[_0x51958f(0x1e0)](_0x15192c);})[_0x2fd1e8(0x1a4)]({'timestamps':[0x0],'filename':_0x1d2e6f,'folder':_0x1ed63a,'size':_0x458fb2[_0x2fd1e8(0x1db)](_0x458fb2[_0x2fd1e8(0x1cc)](_0x3d82ad['width'],'x'),_0x3d82ad['height'])})['on'](_0x458fb2[_0x2fd1e8(0x197)],()=>{const _0xeaac30=_0x2fd1e8;_0x458fb2[_0xeaac30(0x1ea)](_0x437068,_0x3223a6);});}),_0x438cd0=new Map(),_0x2bf7e6=await _0xfad0fe,_0x31b87=(await _0x154d25['stat'](_0x2bf7e6))[_0x1e42c4(0x1c2)];_0x438cd0[_0x1e42c4(0x1da)](0x0,_0x2bf7e6);const _0x23a3a0=await _0x458fb2[_0x1e42c4(0x1be)](calculateFileMD5,_0x2bf7e6),_0x2d0aaa={'elementType':ElementType[_0x1e42c4(0x1b2)],'elementId':'','videoElement':{'fileName':_0x51e0b9||_0x2d2562,'filePath':_0x5a7fb2,'videoMd5':_0x2a1a5e,'thumbMd5':_0x23a3a0,'fileTime':_0x3d82ad[_0x1e42c4(0x1b3)],'thumbPath':_0x438cd0,'thumbSize':_0x31b87,'thumbWidth':_0x3d82ad[_0x1e42c4(0x1e4)],'thumbHeight':_0x3d82ad[_0x1e42c4(0x19f)],'fileSize':_0x458fb2['nJhdn']('',_0x2fe2f9)}};return _0x2d0aaa;}static async[_0xf3922d(0x1dc)](_0x1a9c6e){const _0x316eca=_0xf3922d,_0x26d802={'nwPWW':_0x316eca(0x1a2),'aSidh':function(_0x4a2747,_0x3e0c4f){return _0x4a2747===_0x3e0c4f;},'tjuxL':'文件异常,大小为0','iLVIZ':function(_0x37a49d,_0x260b13){return _0x37a49d||_0x260b13;}},{converted:_0x5c3f25,path:_0x1d6ca5,duration:_0x111d38}=await encodeSilk(_0x1a9c6e);if(!_0x1d6ca5)throw _0x26d802[_0x316eca(0x1e5)];const {md5:_0x476a7d,fileName:_0x70a1af,path:_0x9fcd9,fileSize:_0x3f2591}=await NTQQFileApi['uploadFile'](_0x1d6ca5,ElementType['PTT']);if(_0x26d802['aSidh'](_0x3f2591,0x0))throw _0x26d802[_0x316eca(0x1e2)];return _0x5c3f25&&_0x154d25['unlink'](_0x1d6ca5)[_0x316eca(0x1d0)](),{'elementType':ElementType[_0x316eca(0x198)],'elementId':'','pttElement':{'fileName':_0x70a1af,'filePath':_0x9fcd9,'md5HexStr':_0x476a7d,'fileSize':_0x3f2591,'duration':_0x26d802['iLVIZ'](_0x111d38,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[_0xf3922d(0x1a7)](_0x3e3fea){const _0xc9e8f5=_0xf3922d,_0x13a1d7={'cqJqP':function(_0x52372d,_0x5434fc){return _0x52372d<_0x5434fc;}};return{'elementType':ElementType[_0xc9e8f5(0x19b)],'elementId':'','faceElement':{'faceIndex':_0x3e3fea,'faceType':_0x13a1d7[_0xc9e8f5(0x1ad)](_0x3e3fea,0xde)?FaceType[_0xc9e8f5(0x1b4)]:FaceType[_0xc9e8f5(0x1b1)]}};}static[_0xf3922d(0x1a6)](_0x5e42ce,_0x2f45f2,_0x1536c9,_0x33759f){const _0x5850f6=_0xf3922d,_0x50a0f0={'RDbFP':_0x5850f6(0x1bd)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x5e42ce,'emojiId':_0x2f45f2,'key':_0x1536c9,'faceName':_0x33759f||mFaceCache[_0x5850f6(0x1c6)](_0x2f45f2)||_0x50a0f0['RDbFP']}};}static[_0xf3922d(0x1d4)](_0x449620){const _0x336010=_0xf3922d,_0x4c9789={'onryw':_0x336010(0x1d2)};return{'elementType':ElementType[_0x336010(0x19b)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x336010(0x1d4)],'faceType':FaceType[_0x336010(0x1d4)],'faceText':_0x4c9789[_0x336010(0x1b7)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xf3922d(0x1d6)](_0x10ffb5){const _0x541681=_0xf3922d,_0x54c475={'VGtEm':_0x541681(0x1de)};return{'elementType':ElementType[_0x541681(0x19b)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x541681(0x1dd)],'faceText':_0x54c475[_0x541681(0x1c5)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xf3922d(0x1a3)](_0x5c4223){const _0x1c08a4=_0xf3922d;return typeof _0x5c4223!==_0x1c08a4(0x19e)&&(_0x5c4223=JSON[_0x1c08a4(0x19d)](_0x5c4223)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x5c4223,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x118438){const _0x5a6627=_0xf3922d;return{'elementType':ElementType[_0x5a6627(0x1ed)],'elementId':'','markdownElement':{'content':_0x118438}};}} \ No newline at end of file +const _0x403a4b=_0x6cee;function _0x6cee(_0x4805bc,_0x405ff7){const _0x4e5f7d=_0x4e5f();return _0x6cee=function(_0x6ceedf,_0x55fae9){_0x6ceedf=_0x6ceedf-0x89;let _0x4d9905=_0x4e5f7d[_0x6ceedf];return _0x4d9905;},_0x6cee(_0x4805bc,_0x405ff7);}(function(_0x1a0407,_0x5a0542){const _0x5c7fe5=_0x6cee,_0x2c4016=_0x1a0407();while(!![]){try{const _0x4bbb9b=parseInt(_0x5c7fe5(0x8f))/0x1+-parseInt(_0x5c7fe5(0xa7))/0x2*(parseInt(_0x5c7fe5(0xb5))/0x3)+parseInt(_0x5c7fe5(0xd5))/0x4+-parseInt(_0x5c7fe5(0xc1))/0x5*(parseInt(_0x5c7fe5(0x8d))/0x6)+parseInt(_0x5c7fe5(0x98))/0x7+parseInt(_0x5c7fe5(0x91))/0x8+-parseInt(_0x5c7fe5(0xd1))/0x9;if(_0x4bbb9b===_0x5a0542)break;else _0x2c4016['push'](_0x2c4016['shift']());}catch(_0xb90ae8){_0x2c4016['push'](_0x2c4016['shift']());}}}(_0x4e5f,0xc59ca));function _0x4e5f(){const _0x34f07f=['face','oqjOK','bxrcq','ark','then','TzmQn','6996206PzEvIV','get','FACE','VlrFR','writeFile','stat','width','fgCJB','YijdE','mp4','视频信息','JDXfz','time','[骰子]','text','2610268fcwVBj','getImageSize','oPJKV','awBph','vKufx','sgjbb','nlTcH','cwFJU','zZjNt','Thumb','wxXlZ','EjfnV','copyFile','rRSIp','3AFUWcM','PkEEF','PIC','string','sep','gKRJF','ptt','set','normal2','unlink','markdown','_0.png','15uBmzeP','MARKDOWN','Ori','toString','ARK','获取视频信息失败','ERWSm','RPS','replace','height','notAt','uploadFile','stringify','DUvzK','gif','screenshots','12513348ilZZTz','图片信息','语音转换失败,\x20请检查语音文件是否正常','jpg','6197744KYaIDu','[商城表情]','dice','size','VIDEO','bHzxN','EidRh','MKoGB','PTT','catch','2220198vQNglp','TEXT','1016303kBahYj','文件异常,大小为0','8398608iTJxef'];_0x4e5f=function(){return _0x34f07f;};return _0x4e5f();}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x4755ee}from'node:fs';import _0x5ef4ff from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x403a4b(0xa6)](_0xfe11a7){const _0x206902=_0x403a4b;return{'elementType':ElementType[_0x206902(0x8e)],'elementId':'','textElement':{'content':_0xfe11a7,'atType':AtType[_0x206902(0xcb)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0xac4130,_0x369b81,_0x3b431b,_0x36bcc2){const _0x4669c5=_0x403a4b;return{'elementType':ElementType[_0x4669c5(0x8e)],'elementId':'','textElement':{'content':'@'+_0x36bcc2,'atType':_0x3b431b,'atUid':_0xac4130,'atTinyId':'','atNtUid':_0x369b81}};}static['reply'](_0xe90a81,_0x3c525d,_0x416e4f,_0x790fa){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0xe90a81,'replayMsgId':_0x3c525d,'senderUin':_0x416e4f,'senderUinStr':_0x790fa}};}static async['pic'](_0x5c75ad,_0x5bf1fb='',_0x447ecb=0x0){const _0x5763e1=_0x403a4b,_0x53af61={'EjfnV':function(_0x5df065,_0x4d6c99){return _0x5df065===_0x4d6c99;},'nlTcH':_0x5763e1(0x90),'SioSm':function(_0x118cb6,_0xeaf03){return _0x118cb6(_0xeaf03);},'uWGhc':function(_0x1b8d98,_0x11749e,_0x2dd813){return _0x1b8d98(_0x11749e,_0x2dd813);}},{md5:_0x54a86a,fileName:_0x5c7043,path:_0x549cdd,fileSize:_0x5b9670}=await NTQQFileApi[_0x5763e1(0xcc)](_0x5c75ad,ElementType[_0x5763e1(0xb7)],_0x447ecb);if(_0x53af61[_0x5763e1(0xb2)](_0x5b9670,0x0))throw _0x53af61[_0x5763e1(0xad)];const _0xd59df4=await NTQQFileApi[_0x5763e1(0xa8)](_0x5c75ad),_0x559323={'md5HexStr':_0x54a86a,'fileSize':_0x5b9670[_0x5763e1(0xc4)](),'picWidth':_0xd59df4?.[_0x5763e1(0x9e)],'picHeight':_0xd59df4?.['height'],'fileName':_0x5c7043,'sourcePath':_0x549cdd,'original':!![],'picType':_0x53af61['SioSm'](isGIF,_0x5c75ad)?PicType[_0x5763e1(0xcf)]:PicType[_0x5763e1(0xd4)],'picSubType':_0x447ecb,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5bf1fb};return _0x53af61['uWGhc'](logDebug,_0x5763e1(0xd2),_0x559323),{'elementType':ElementType[_0x5763e1(0xb7)],'elementId':'','picElement':_0x559323};}static async['file'](_0x235b53,_0x4f6abb=''){const _0x1282a5=_0x403a4b,_0x4d32e9={'YijdE':function(_0x5dba7a,_0x15d6df){return _0x5dba7a===_0x15d6df;},'QXBWy':function(_0x6edfea,_0x957179){return _0x6edfea||_0x957179;}},{md5:_0x4c3195,fileName:_0x557377,path:_0x258d07,fileSize:_0x26dcb3}=await NTQQFileApi[_0x1282a5(0xcc)](_0x235b53,ElementType['FILE']);if(_0x4d32e9[_0x1282a5(0xa0)](_0x26dcb3,0x0))throw _0x1282a5(0x90);const _0x94e23d={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x4d32e9['QXBWy'](_0x4f6abb,_0x557377),'filePath':_0x258d07,'fileSize':_0x26dcb3[_0x1282a5(0xc4)]()}};return _0x94e23d;}static async['video'](_0x5414df,_0x53aaf1='',_0x17064b=''){const _0x5ce81a=_0x403a4b,_0x1528e9={'iWFqO':function(_0xbb362c,_0x584785,_0xb3b9f3){return _0xbb362c(_0x584785,_0xb3b9f3);},'awBph':'获取视频封面失败,使用默认封面','fgCJB':function(_0x2eb672,_0x342073){return _0x2eb672(_0x342073);},'JJMId':'end','TzmQn':'error','ERWSm':function(_0x29dc72,_0x4b99c7){return _0x29dc72+_0x4b99c7;},'sgjbb':function(_0x438b75,_0x5adc97){return _0x438b75===_0x5adc97;},'gKRJF':'文件异常,大小为0','DUvzK':'path','vKufx':_0x5ce81a(0xa1),'rRSIp':function(_0x160534,_0x236bc4){return _0x160534(_0x236bc4);},'cwFJU':function(_0x463178,_0xb8ea23,_0x3fb6a0){return _0x463178(_0xb8ea23,_0x3fb6a0);},'PkEEF':_0x5ce81a(0xa2),'QqyAj':_0x5ce81a(0xc6),'VlrFR':function(_0x46b915,_0x5424e5){return _0x46b915||_0x5424e5;}},{fileName:_0xba03c7,path:_0x3a5a05,fileSize:_0x149410,md5:_0x14629d}=await NTQQFileApi['uploadFile'](_0x5414df,ElementType[_0x5ce81a(0xd9)]);if(_0x1528e9[_0x5ce81a(0xac)](_0x149410,0x0))throw _0x1528e9[_0x5ce81a(0xba)];const _0x3194b0=_0x1528e9[_0x5ce81a(0x9f)](require,_0x1528e9[_0x5ce81a(0xce)]);let _0x5b113e=_0x3a5a05[_0x5ce81a(0xc9)](_0x3194b0[_0x5ce81a(0xb9)]+_0x5ce81a(0xc3)+_0x3194b0[_0x5ce81a(0xb9)],_0x3194b0[_0x5ce81a(0xb9)]+_0x5ce81a(0xb0)+_0x3194b0['sep']);_0x5b113e=_0x3194b0['dirname'](_0x5b113e);let _0x4ff29f={'width':0x780,'height':0x438,'time':0xf,'format':_0x1528e9[_0x5ce81a(0xab)],'size':_0x149410,'filePath':_0x5414df};try{_0x4ff29f=await _0x1528e9[_0x5ce81a(0xb4)](getVideoInfo,_0x3a5a05),_0x1528e9[_0x5ce81a(0xae)](logDebug,_0x1528e9[_0x5ce81a(0xb6)],_0x4ff29f);}catch(_0x408ab6){logError(_0x1528e9['QqyAj'],_0x408ab6);}const _0x3d852e=new Promise((_0x2f675d,_0x412e93)=>{const _0x4041c9=_0x5ce81a,_0xea6249={'JDXfz':function(_0x1a3f43,_0x1058df){return _0x1a3f43(_0x1058df);}},_0x4a3a3f=_0x14629d+_0x4041c9(0xc0),_0x549a8f=_0x3194b0['join'](_0x5b113e,_0x4a3a3f);_0x1528e9[_0x4041c9(0x9f)](_0x5ef4ff,_0x5414df)['on'](_0x1528e9['JJMId'],()=>{})['on'](_0x1528e9[_0x4041c9(0x97)],_0x216055=>{const _0x4a7049=_0x4041c9;_0x1528e9['iWFqO'](logDebug,_0x1528e9[_0x4a7049(0xaa)],_0x216055),_0x17064b?_0x4755ee[_0x4a7049(0xb3)](_0x17064b,_0x549a8f)[_0x4a7049(0x96)](()=>{_0x2f675d(_0x549a8f);})[_0x4a7049(0x8c)](_0x412e93):_0x4755ee[_0x4a7049(0x9c)](_0x549a8f,defaultVideoThumb)[_0x4a7049(0x96)](()=>{const _0x4ac34d=_0x4a7049;_0xea6249[_0x4ac34d(0xa3)](_0x2f675d,_0x549a8f);})[_0x4a7049(0x8c)](_0x412e93);})[_0x4041c9(0xd0)]({'timestamps':[0x0],'filename':_0x4a3a3f,'folder':_0x5b113e,'size':_0x1528e9[_0x4041c9(0xc7)](_0x1528e9[_0x4041c9(0xc7)](_0x4ff29f[_0x4041c9(0x9e)],'x'),_0x4ff29f[_0x4041c9(0xca)])})['on'](_0x1528e9['JJMId'],()=>{_0x1528e9['fgCJB'](_0x2f675d,_0x549a8f);});}),_0x3562c5=new Map(),_0x499e51=await _0x3d852e,_0x1073fd=(await _0x4755ee[_0x5ce81a(0x9d)](_0x499e51))[_0x5ce81a(0xd8)];_0x3562c5[_0x5ce81a(0xbc)](0x0,_0x499e51);const _0x1d0df3=await calculateFileMD5(_0x499e51),_0x4ec38a={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x1528e9[_0x5ce81a(0x9b)](_0x53aaf1,_0xba03c7),'filePath':_0x3a5a05,'videoMd5':_0x14629d,'thumbMd5':_0x1d0df3,'fileTime':_0x4ff29f[_0x5ce81a(0xa4)],'thumbPath':_0x3562c5,'thumbSize':_0x1073fd,'thumbWidth':_0x4ff29f[_0x5ce81a(0x9e)],'thumbHeight':_0x4ff29f[_0x5ce81a(0xca)],'fileSize':_0x1528e9[_0x5ce81a(0xc7)]('',_0x149410)}};return _0x4ec38a;}static async[_0x403a4b(0xbb)](_0x5e1fef){const _0x4e4d29=_0x403a4b,_0x5a4352={'zZjNt':function(_0x282f48,_0x41b3f9){return _0x282f48(_0x41b3f9);},'MKoGB':_0x4e4d29(0xd3),'bHzxN':function(_0x5b2091,_0xa15f1d){return _0x5b2091===_0xa15f1d;},'IzkNa':function(_0x44b117,_0x42086e){return _0x44b117||_0x42086e;}},{converted:_0x52760f,path:_0x26898c,duration:_0x4349f3}=await _0x5a4352[_0x4e4d29(0xaf)](encodeSilk,_0x5e1fef);if(!_0x26898c)throw _0x5a4352[_0x4e4d29(0x8a)];const {md5:_0x19fab3,fileName:_0x22bc85,path:_0x29735f,fileSize:_0x4db942}=await NTQQFileApi[_0x4e4d29(0xcc)](_0x26898c,ElementType[_0x4e4d29(0x8b)]);if(_0x5a4352[_0x4e4d29(0xda)](_0x4db942,0x0))throw _0x4e4d29(0x90);return _0x52760f&&_0x4755ee[_0x4e4d29(0xbe)](_0x26898c)['then'](),{'elementType':ElementType[_0x4e4d29(0x8b)],'elementId':'','pttElement':{'fileName':_0x22bc85,'filePath':_0x29735f,'md5HexStr':_0x19fab3,'fileSize':_0x4db942,'duration':_0x5a4352['IzkNa'](_0x4349f3,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[_0x403a4b(0x92)](_0x2b9e4d){const _0x5287b9=_0x403a4b,_0x445513={'EidRh':function(_0x5c4d09,_0xdc8f99){return _0x5c4d09<_0xdc8f99;}};return{'elementType':ElementType[_0x5287b9(0x9a)],'elementId':'','faceElement':{'faceIndex':_0x2b9e4d,'faceType':_0x445513[_0x5287b9(0x89)](_0x2b9e4d,0xde)?FaceType['normal']:FaceType[_0x5287b9(0xbd)]}};}static['mface'](_0xb3be07,_0x3a4f90,_0x4c69a9,_0x40beeb){const _0x3df575=_0x403a4b,_0x13e8d8={'wxXlZ':_0x3df575(0xd6)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0xb3be07,'emojiId':_0x3a4f90,'key':_0x4c69a9,'faceName':_0x40beeb||mFaceCache[_0x3df575(0x99)](_0x3a4f90)||_0x13e8d8[_0x3df575(0xb1)]}};}static['dice'](_0x1ee5e7){const _0x1c3970=_0x403a4b,_0x544e10={'GekiT':_0x1c3970(0xa5)};return{'elementType':ElementType[_0x1c3970(0x9a)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1c3970(0xd7)],'faceType':FaceType['dice'],'faceText':_0x544e10['GekiT'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x4373f9){const _0x3eaa73=_0x403a4b,_0x3f52f9={'oPJKV':'[包剪锤]'};return{'elementType':ElementType[_0x3eaa73(0x9a)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3eaa73(0xc8)],'faceText':_0x3f52f9[_0x3eaa73(0xa9)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x403a4b(0x95)](_0x30e22){const _0x562c4c=_0x403a4b,_0x33456c={'bxrcq':function(_0x55a813,_0x310c8a){return _0x55a813!==_0x310c8a;},'oqjOK':_0x562c4c(0xb8)};return _0x33456c[_0x562c4c(0x94)](typeof _0x30e22,_0x33456c[_0x562c4c(0x93)])&&(_0x30e22=JSON[_0x562c4c(0xcd)](_0x30e22)),{'elementType':ElementType[_0x562c4c(0xc5)],'elementId':'','arkElement':{'bytesData':_0x30e22,'linkInfo':null,'subElementType':null}};}static[_0x403a4b(0xbf)](_0x3ae002){const _0x22d9ce=_0x403a4b;return{'elementType':ElementType[_0x22d9ce(0xc2)],'elementId':'','markdownElement':{'content':_0x3ae002}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index e09becc3..3b023e67 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x1928b7,_0x22e38e){var _0x43c63c=_0x2432,_0x103803=_0x1928b7();while(!![]){try{var _0x4daf1c=parseInt(_0x43c63c(0x1b6))/0x1+-parseInt(_0x43c63c(0x1b4))/0x2*(parseInt(_0x43c63c(0x1b0))/0x3)+parseInt(_0x43c63c(0x1a9))/0x4*(parseInt(_0x43c63c(0x1b3))/0x5)+parseInt(_0x43c63c(0x1ae))/0x6+parseInt(_0x43c63c(0x1b1))/0x7*(-parseInt(_0x43c63c(0x1aa))/0x8)+-parseInt(_0x43c63c(0x1ad))/0x9*(parseInt(_0x43c63c(0x1a8))/0xa)+-parseInt(_0x43c63c(0x1ac))/0xb*(-parseInt(_0x43c63c(0x1af))/0xc);if(_0x4daf1c===_0x22e38e)break;else _0x103803['push'](_0x103803['shift']());}catch(_0xe675bd){_0x103803['push'](_0x103803['shift']());}}}(_0x4a51,0xeb8b7));function _0x2432(_0x5da17c,_0x4978b0){var _0x4a51a8=_0x4a51();return _0x2432=function(_0x2432af,_0x5cce3c){_0x2432af=_0x2432af-0x1a8;var _0x170f9e=_0x4a51a8[_0x2432af];return _0x170f9e;},_0x2432(_0x5da17c,_0x4978b0);}export var GroupMemberRole;function _0x4a51(){var _0x1ec7e1=['qzfTJ','TSkvx','180QTuyYD','148OnPNfJ','8XuKHQP','owner','22BqZsdi','97281vghUEF','10551828eTxKIt','5337804QwMZaA','1131BZcVhv','10570021XrdGrl','admin','4325qiaJSD','5122siQOsH','gzopV','954576txUXQA'];_0x4a51=function(){return _0x1ec7e1;};return _0x4a51();}(function(_0x5566fa){var _0x3ef1c6=_0x2432,_0x23bec6={'gzopV':'normal','qzfTJ':_0x3ef1c6(0x1b2),'TSkvx':_0x3ef1c6(0x1ab)};_0x5566fa[_0x5566fa[_0x23bec6['gzopV']]=0x2]=_0x23bec6[_0x3ef1c6(0x1b5)],_0x5566fa[_0x5566fa[_0x23bec6[_0x3ef1c6(0x1b7)]]=0x3]=_0x23bec6[_0x3ef1c6(0x1b7)],_0x5566fa[_0x5566fa[_0x23bec6['TSkvx']]=0x4]=_0x23bec6[_0x3ef1c6(0x1b8)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x44164a,_0x3126be){var _0x352529=_0x2e53,_0x3aaeee=_0x44164a();while(!![]){try{var _0x35b155=-parseInt(_0x352529(0x174))/0x1+parseInt(_0x352529(0x169))/0x2+-parseInt(_0x352529(0x170))/0x3+parseInt(_0x352529(0x171))/0x4+-parseInt(_0x352529(0x16b))/0x5+-parseInt(_0x352529(0x16f))/0x6*(parseInt(_0x352529(0x168))/0x7)+parseInt(_0x352529(0x16e))/0x8*(parseInt(_0x352529(0x167))/0x9);if(_0x35b155===_0x3126be)break;else _0x3aaeee['push'](_0x3aaeee['shift']());}catch(_0x32f5d2){_0x3aaeee['push'](_0x3aaeee['shift']());}}}(_0x48e1,0x7d68d));function _0x2e53(_0x5734f1,_0x471b48){var _0x48e17f=_0x48e1();return _0x2e53=function(_0x2e530a,_0x31e3cc){_0x2e530a=_0x2e530a-0x167;var _0x4c34d7=_0x48e17f[_0x2e530a];return _0x4c34d7;},_0x2e53(_0x5734f1,_0x471b48);}function _0x48e1(){var _0x22b627=['2342445fqUcxR','3146844oXzVgd','eKcka','normal','942491xnSDtr','36JkgrEP','38311garolA','1946564fiKdkT','hVtFE','3805595kHLCfp','deBdb','admin','3253384ZGbNfW','426ryDuCa'];_0x48e1=function(){return _0x22b627;};return _0x48e1();}export var GroupMemberRole;(function(_0x476aa){var _0x282fe6=_0x2e53,_0x106762={'eKcka':_0x282fe6(0x173),'deBdb':_0x282fe6(0x16d),'hVtFE':'owner'};_0x476aa[_0x476aa[_0x106762[_0x282fe6(0x172)]]=0x2]=_0x106762[_0x282fe6(0x172)],_0x476aa[_0x476aa[_0x106762[_0x282fe6(0x16c)]]=0x3]=_0x282fe6(0x16d),_0x476aa[_0x476aa[_0x106762[_0x282fe6(0x16a)]]=0x4]=_0x106762[_0x282fe6(0x16a)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index b920129b..1915e82d 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x19e92b,_0x189392){var _0x37e868=_0x3d93,_0x7f1875=_0x19e92b();while(!![]){try{var _0xb42f6d=parseInt(_0x37e868(0xb7))/0x1*(-parseInt(_0x37e868(0xb4))/0x2)+parseInt(_0x37e868(0xaf))/0x3+parseInt(_0x37e868(0xb5))/0x4+-parseInt(_0x37e868(0xb0))/0x5+-parseInt(_0x37e868(0xb2))/0x6*(parseInt(_0x37e868(0xb1))/0x7)+-parseInt(_0x37e868(0xb6))/0x8+parseInt(_0x37e868(0xb3))/0x9*(parseInt(_0x37e868(0xae))/0xa);if(_0xb42f6d===_0x189392)break;else _0x7f1875['push'](_0x7f1875['shift']());}catch(_0x1487c6){_0x7f1875['push'](_0x7f1875['shift']());}}}(_0x1d9f,0xc661c));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x3d93(_0x53aac1,_0x3596d0){var _0x1d9f42=_0x1d9f();return _0x3d93=function(_0x3d93b7,_0x2c6089){_0x3d93b7=_0x3d93b7-0xae;var _0xa5aaec=_0x1d9f42[_0x3d93b7];return _0xa5aaec;},_0x3d93(_0x53aac1,_0x3596d0);}export*from'./cache';function _0x1d9f(){var _0x187980=['790358HIHbOt','6106348juhUpk','6773776gdmfRV','3KmkbfZ','211670ojvkKj','2720832gexBFY','1665900vzOavd','40348GpPykH','1164hVcQBR','792pcJRwJ'];_0x1d9f=function(){return _0x187980;};return _0x1d9f();}export*from'./constructor'; \ No newline at end of file +(function(_0xe531b7,_0x51a052){var _0x4d04bd=_0x2efd,_0x449c2b=_0xe531b7();while(!![]){try{var _0x250d75=-parseInt(_0x4d04bd(0x1bc))/0x1+parseInt(_0x4d04bd(0x1b9))/0x2+-parseInt(_0x4d04bd(0x1bd))/0x3*(parseInt(_0x4d04bd(0x1be))/0x4)+parseInt(_0x4d04bd(0x1b6))/0x5*(-parseInt(_0x4d04bd(0x1bf))/0x6)+parseInt(_0x4d04bd(0x1ba))/0x7*(-parseInt(_0x4d04bd(0x1bb))/0x8)+parseInt(_0x4d04bd(0x1b8))/0x9+parseInt(_0x4d04bd(0x1b5))/0xa*(parseInt(_0x4d04bd(0x1b7))/0xb);if(_0x250d75===_0x51a052)break;else _0x449c2b['push'](_0x449c2b['shift']());}catch(_0x368d19){_0x449c2b['push'](_0x449c2b['shift']());}}}(_0x1453,0x43771));export*from'./user';function _0x2efd(_0x3e6f75,_0x261fd0){var _0x145393=_0x1453();return _0x2efd=function(_0x2efd19,_0x2d10f1){_0x2efd19=_0x2efd19-0x1b5;var _0x3d2ac7=_0x145393[_0x2efd19];return _0x3d2ac7;},_0x2efd(_0x3e6f75,_0x261fd0);}export*from'./group';export*from'./msg';function _0x1453(){var _0x18fa2e=['99xlMxzq','3827664TeaRAp','633160yxtzHB','97482IHsqkZ','288cJpOdZ','89177hlyfKI','625542lHtcZK','4JPiIDY','6JVIktx','459590EkewcY','400715CJOplD'];_0x1453=function(){return _0x18fa2e;};return _0x1453();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 0b5a379a..55a83582 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x2ce0bb=_0x3e3c;(function(_0x1eb0bd,_0x43c009){var _0x55aed0=_0x3e3c,_0x499857=_0x1eb0bd();while(!![]){try{var _0x94f7bc=-parseInt(_0x55aed0(0xcf))/0x1+-parseInt(_0x55aed0(0xa7))/0x2*(parseInt(_0x55aed0(0xbe))/0x3)+parseInt(_0x55aed0(0xc3))/0x4+parseInt(_0x55aed0(0x9e))/0x5*(parseInt(_0x55aed0(0xb0))/0x6)+-parseInt(_0x55aed0(0xc2))/0x7*(parseInt(_0x55aed0(0xc6))/0x8)+-parseInt(_0x55aed0(0xb2))/0x9*(parseInt(_0x55aed0(0xbd))/0xa)+parseInt(_0x55aed0(0xc4))/0xb;if(_0x94f7bc===_0x43c009)break;else _0x499857['push'](_0x499857['shift']());}catch(_0x4f8171){_0x499857['push'](_0x499857['shift']());}}}(_0x546c,0x20b52));export var ElementType;(function(_0x33dc16){var _0x345c84=_0x3e3c,_0x367b6e={'RQYFK':_0x345c84(0xb4),'jQjUk':'PTT','joSJe':_0x345c84(0xcb),'mxRrq':_0x345c84(0xba),'FJLpX':'MARKDOWN','TcEtV':'FILE','LrsPM':'VIDEO','BQgSL':_0x345c84(0xa2),'sRJQN':_0x345c84(0xa6),'HdPwZ':_0x345c84(0xc0)},_0x229a3c=_0x345c84(0xb8)[_0x345c84(0xd0)]('|'),_0x1ea65f=0x0;while(!![]){switch(_0x229a3c[_0x1ea65f++]){case'0':_0x33dc16[_0x33dc16[_0x367b6e['RQYFK']]=0xa]=_0x367b6e['RQYFK'];continue;case'1':_0x33dc16[_0x33dc16['PTT']=0x4]=_0x367b6e[_0x345c84(0xd3)];continue;case'2':_0x33dc16[_0x33dc16[_0x367b6e['joSJe']]=0x7]=_0x345c84(0xcb);continue;case'3':_0x33dc16[_0x33dc16['TEXT']=0x1]=_0x367b6e['mxRrq'];continue;case'4':_0x33dc16[_0x33dc16[_0x345c84(0xa4)]=0xe]=_0x367b6e['FJLpX'];continue;case'5':_0x33dc16[_0x33dc16[_0x367b6e[_0x345c84(0x9a)]]=0x3]=_0x367b6e[_0x345c84(0x9a)];continue;case'6':_0x33dc16[_0x33dc16[_0x345c84(0xaa)]=0x5]=_0x367b6e['LrsPM'];continue;case'7':_0x33dc16[_0x33dc16[_0x367b6e['BQgSL']]=0x2]=_0x367b6e[_0x345c84(0x9c)];continue;case'8':_0x33dc16[_0x33dc16[_0x367b6e['sRJQN']]=0xb]=_0x367b6e[_0x345c84(0x9d)];continue;case'9':_0x33dc16[_0x33dc16[_0x367b6e['HdPwZ']]=0x6]=_0x367b6e[_0x345c84(0x99)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x546c(){var _0x5478d9=['RgCLA','VIDEO','ban','https://gchat.qpic.cn','temp','xiUbr','imhRq','866076QPtPKH','Zmwqa','2493AFnuMq','vVqxk','ARK','BTgfH','friend','bCypB','3|7|5|1|6|9|2|0|8|4','hVKab','TEXT','dice','qqwiY','7610lnNfRQ','609MyJjxF','RBQQh','FACE','atUser','56GSufDF','33404GfxxPf','5411219RdtapN','ldpwI','1472JJtguW','jpg','iMQRj','kicked','https://multimedia.nt.qq.com.cn','REPLY','normal2','MEMBER_NEW_TITLE','HPgAk','267734VXcPYA','split','RPS','gif','jQjUk','eJuLY','jWwOR','DdiLN','memberIncrease','face','HdPwZ','TcEtV','VWWdI','BQgSL','sRJQN','5Nojdjn','chatDevice','CkecL','JXvAw','PIC','atAll','MARKDOWN','normal','MFACE','302tMjCqx','INVITE_NEW_MEMBER'];_0x546c=function(){return _0x5478d9;};return _0x546c();}(function(_0x317132){var _0x4131c2=_0x3e3c,_0x2117b4={'JXvAw':_0x4131c2(0xd2),'ldpwI':_0x4131c2(0xc7)};_0x317132[_0x317132[_0x2117b4[_0x4131c2(0xa1)]]=0x7d0]=_0x2117b4[_0x4131c2(0xa1)],_0x317132[_0x317132[_0x2117b4['ldpwI']]=0x3e8]=_0x2117b4[_0x4131c2(0xc5)];}(PicType||(PicType={})));export var PicSubType;(function(_0xa15f8b){var _0x477741=_0x3e3c,_0x5c388e={'qqwiY':'normal','HPgAk':'face'};_0xa15f8b[_0xa15f8b[_0x5c388e[_0x477741(0xbc)]]=0x0]=_0x5c388e[_0x477741(0xbc)],_0xa15f8b[_0xa15f8b[_0x5c388e[_0x477741(0xce)]]=0x1]=_0x477741(0x98);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3abb2c){var _0x40f750=_0x3e3c,_0x3324b9={'bCypB':'notAt','CkecL':_0x40f750(0xa3),'vVqxk':_0x40f750(0xc1)};_0x3abb2c[_0x3abb2c[_0x3324b9[_0x40f750(0xb7)]]=0x0]=_0x3324b9[_0x40f750(0xb7)],_0x3abb2c[_0x3abb2c[_0x3324b9[_0x40f750(0xa0)]]=0x1]=_0x3324b9['CkecL'],_0x3abb2c[_0x3abb2c[_0x3324b9[_0x40f750(0xb3)]]=0x2]=_0x3324b9[_0x40f750(0xb3)];}(AtType||(AtType={})));export var ChatType;(function(_0xc27ca6){var _0x3fb601=_0x3e3c,_0x1ebd18={'jWwOR':_0x3fb601(0xb6),'xiUbr':'group','RgCLA':_0x3fb601(0x9f),'BrrEG':'temp'};_0xc27ca6[_0xc27ca6[_0x1ebd18['jWwOR']]=0x1]=_0x1ebd18[_0x3fb601(0xd5)],_0xc27ca6[_0xc27ca6[_0x1ebd18['xiUbr']]=0x2]=_0x1ebd18[_0x3fb601(0xae)],_0xc27ca6[_0xc27ca6[_0x1ebd18[_0x3fb601(0xa9)]]=0x8]=_0x1ebd18['RgCLA'],_0xc27ca6[_0xc27ca6[_0x1ebd18['BrrEG']]=0x64]=_0x3fb601(0xad);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x2ce0bb(0xac);export const IMAGE_HTTP_HOST_NT=_0x2ce0bb(0xca);export var GrayTipElementSubType;(function(_0x1ebf4b){var _0x396883=_0x2ce0bb,_0x22f914={'tGekD':_0x396883(0xa8),'iMQRj':_0x396883(0xcd)};_0x1ebf4b[_0x1ebf4b[_0x22f914['tGekD']]=0xc]=_0x396883(0xa8),_0x1ebf4b[_0x1ebf4b[_0x22f914[_0x396883(0xc8)]]=0x11]=_0x22f914[_0x396883(0xc8)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x2398ab){var _0x2a641a=_0x2ce0bb,_0xe8f93b={'imhRq':_0x2a641a(0xa5),'RBQQh':_0x2a641a(0xcc),'Zmwqa':_0x2a641a(0xbb)};_0x2398ab[_0x2398ab[_0xe8f93b[_0x2a641a(0xaf)]]=0x1]=_0x2a641a(0xa5),_0x2398ab[_0x2398ab[_0xe8f93b[_0x2a641a(0xbf)]]=0x2]=_0x2a641a(0xcc),_0x2398ab[_0x2398ab[_0xe8f93b[_0x2a641a(0xb1)]]=0x3]=_0xe8f93b[_0x2a641a(0xb1)];}(FaceType||(FaceType={})));export var FaceIndex;function _0x3e3c(_0xb20fec,_0x517b46){var _0x546cd1=_0x546c();return _0x3e3c=function(_0x3e3c78,_0x5cce4f){_0x3e3c78=_0x3e3c78-0x97;var _0x59f2d0=_0x546cd1[_0x3e3c78];return _0x59f2d0;},_0x3e3c(_0xb20fec,_0x517b46);}(function(_0x234868){var _0x269ba0=_0x2ce0bb,_0x5d646b={'eJuLY':_0x269ba0(0xbb),'hVKab':_0x269ba0(0xd1)};_0x234868[_0x234868[_0x5d646b[_0x269ba0(0xd4)]]=0x166]=_0x5d646b[_0x269ba0(0xd4)],_0x234868[_0x234868[_0x5d646b['hVKab']]=0x167]=_0x5d646b[_0x269ba0(0xb9)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x25a161){var _0x3c7aca=_0x2ce0bb,_0x4a66fa={'VWWdI':'memberIncrease','BTgfH':_0x3c7aca(0xc9),'DdiLN':_0x3c7aca(0xab)};_0x25a161[_0x25a161[_0x3c7aca(0x97)]=0x1]=_0x4a66fa[_0x3c7aca(0x9b)],_0x25a161[_0x25a161[_0x3c7aca(0xc9)]=0x3]=_0x4a66fa[_0x3c7aca(0xb5)],_0x25a161[_0x25a161[_0x4a66fa[_0x3c7aca(0xd6)]]=0x8]=_0x4a66fa[_0x3c7aca(0xd6)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x436531=_0x10ab;function _0x3bcf(){var _0x14f378=['normal2','FILE','PTT','6eXUhmD','OLoeM','QLvdW','cJPVe','RPS','TEXT','103030SMnWyp','notAt','LKbAX','2259032PbDnCT','temp','18soxnbR','NipbQ','https://multimedia.nt.qq.com.cn','FSdWh','normal','AQOKW','Avfuj','https://gchat.qpic.cn','abCHW','atUser','MARKDOWN','wgZTO','jwLNf','group','CfkhU','MEMBER_NEW_TITLE','1423212levkGC','3137145TnHCcN','3PSyEUg','hVRhc','YmWNF','ARK','PIC','chatDevice','134394AwDOhk','ban','kicked','XGvzT','pgDqE','pMAmc','kmMAb','memberIncrease','dice','856331ssjjXJ','QuqZt','TiOkf','REPLY','CrNWb','MaJlX','INVITE_NEW_MEMBER','DhVuF','VIDEO','1352422sxeDeV','atAll','IqTgM'];_0x3bcf=function(){return _0x14f378;};return _0x3bcf();}(function(_0x2cfea1,_0x5d555b){var _0xca11c=_0x10ab,_0x24e875=_0x2cfea1();while(!![]){try{var _0x305c40=-parseInt(_0xca11c(0x1c7))/0x1+parseInt(_0xca11c(0x19e))/0x2*(parseInt(_0xca11c(0x1c1))/0x3)+-parseInt(_0xca11c(0x1bf))/0x4+parseInt(_0xca11c(0x1c0))/0x5+parseInt(_0xca11c(0x1a4))/0x6*(parseInt(_0xca11c(0x195))/0x7)+parseInt(_0xca11c(0x1ad))/0x8*(-parseInt(_0xca11c(0x1af))/0x9)+-parseInt(_0xca11c(0x1aa))/0xa;if(_0x305c40===_0x5d555b)break;else _0x24e875['push'](_0x24e875['shift']());}catch(_0x1dee82){_0x24e875['push'](_0x24e875['shift']());}}}(_0x3bcf,0x5810b));export var ElementType;(function(_0x56dc3b){var _0x349afd=_0x10ab,_0x145246={'FSdWh':'5|1|0|3|4|2|8|9|6|7','LKbAX':_0x349afd(0x1a2),'OLoeM':_0x349afd(0x1c5),'CfkhU':'FACE','QuqZt':'PTT','AQOKW':_0x349afd(0x19d),'OMvcC':_0x349afd(0x1a9),'jwLNf':'MFACE','NipbQ':_0x349afd(0x1b9),'wgZTO':_0x349afd(0x198),'sONUH':_0x349afd(0x1c4)},_0x4ee8d9=_0x145246[_0x349afd(0x1b2)]['split']('|'),_0x1ab1b2=0x0;while(!![]){switch(_0x4ee8d9[_0x1ab1b2++]){case'0':_0x56dc3b[_0x56dc3b[_0x145246[_0x349afd(0x1ac)]]=0x3]=_0x349afd(0x1a2);continue;case'1':_0x56dc3b[_0x56dc3b[_0x349afd(0x1c5)]=0x2]=_0x145246[_0x349afd(0x1a5)];continue;case'2':_0x56dc3b[_0x56dc3b[_0x145246[_0x349afd(0x1bd)]]=0x6]=_0x145246[_0x349afd(0x1bd)];continue;case'3':_0x56dc3b[_0x56dc3b[_0x145246[_0x349afd(0x196)]]=0x4]=_0x349afd(0x1a3);continue;case'4':_0x56dc3b[_0x56dc3b[_0x349afd(0x19d)]=0x5]=_0x145246[_0x349afd(0x1b4)];continue;case'5':_0x56dc3b[_0x56dc3b[_0x145246['OMvcC']]=0x1]=_0x349afd(0x1a9);continue;case'6':_0x56dc3b[_0x56dc3b[_0x145246[_0x349afd(0x1bb)]]=0xb]=_0x145246[_0x349afd(0x1bb)];continue;case'7':_0x56dc3b[_0x56dc3b[_0x145246['NipbQ']]=0xe]=_0x145246[_0x349afd(0x1b0)];continue;case'8':_0x56dc3b[_0x56dc3b[_0x145246[_0x349afd(0x1ba)]]=0x7]=_0x145246[_0x349afd(0x1ba)];continue;case'9':_0x56dc3b[_0x56dc3b['ARK']=0xa]=_0x145246['sONUH'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x3463ef){var _0x19ccfe={'ffZpN':'gif'};_0x3463ef[_0x3463ef[_0x19ccfe['ffZpN']]=0x7d0]=_0x19ccfe['ffZpN'],_0x3463ef[_0x3463ef['jpg']=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x272dfd){var _0x4a30cd=_0x10ab,_0x3d90af={'cJPVe':_0x4a30cd(0x1b3),'DhVuF':'face'};_0x272dfd[_0x272dfd[_0x4a30cd(0x1b3)]=0x0]=_0x3d90af[_0x4a30cd(0x1a7)],_0x272dfd[_0x272dfd[_0x3d90af[_0x4a30cd(0x19c)]]=0x1]=_0x3d90af[_0x4a30cd(0x19c)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x385177){var _0x2a09f2=_0x10ab,_0x371c31={'abCHW':_0x2a09f2(0x1ab),'Avfuj':_0x2a09f2(0x19f),'IqTgM':_0x2a09f2(0x1b8)};_0x385177[_0x385177[_0x371c31[_0x2a09f2(0x1b7)]]=0x0]=_0x371c31[_0x2a09f2(0x1b7)],_0x385177[_0x385177[_0x371c31['Avfuj']]=0x1]=_0x371c31[_0x2a09f2(0x1b5)],_0x385177[_0x385177[_0x371c31[_0x2a09f2(0x1a0)]]=0x2]=_0x371c31[_0x2a09f2(0x1a0)];}(AtType||(AtType={})));export var ChatType;(function(_0x396b6c){var _0x50214e=_0x10ab,_0xd9de53={'TiOkf':'friend','QLvdW':_0x50214e(0x1bc),'cnEoR':_0x50214e(0x1c6),'NtqEg':_0x50214e(0x1ae)};_0x396b6c[_0x396b6c[_0xd9de53[_0x50214e(0x197)]]=0x1]=_0xd9de53[_0x50214e(0x197)],_0x396b6c[_0x396b6c[_0xd9de53[_0x50214e(0x1a6)]]=0x2]=_0xd9de53[_0x50214e(0x1a6)],_0x396b6c[_0x396b6c[_0xd9de53['cnEoR']]=0x8]=_0x50214e(0x1c6),_0x396b6c[_0x396b6c[_0xd9de53['NtqEg']]=0x64]=_0x50214e(0x1ae);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x436531(0x1b6);export const IMAGE_HTTP_HOST_NT=_0x436531(0x1b1);export var GrayTipElementSubType;(function(_0xe179d6){var _0x496847=_0x436531,_0xf9d233={'YmWNF':_0x496847(0x19b),'XGvzT':_0x496847(0x1be)};_0xe179d6[_0xe179d6[_0xf9d233[_0x496847(0x1c3)]]=0xc]=_0xf9d233['YmWNF'],_0xe179d6[_0xe179d6[_0x496847(0x1be)]=0x11]=_0xf9d233[_0x496847(0x1ca)];}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x10ab(_0xa3d15b,_0x1388ce){var _0x3bcf4=_0x3bcf();return _0x10ab=function(_0x10abac,_0x2c2424){_0x10abac=_0x10abac-0x193;var _0x6cbb7c=_0x3bcf4[_0x10abac];return _0x6cbb7c;},_0x10ab(_0xa3d15b,_0x1388ce);}export var FaceType;(function(_0x48897a){var _0x51d38a=_0x436531,_0x271c44={'pgDqE':_0x51d38a(0x1b3),'hVRhc':_0x51d38a(0x1a1),'TTKAR':'dice'};_0x48897a[_0x48897a[_0x51d38a(0x1b3)]=0x1]=_0x271c44[_0x51d38a(0x1cb)],_0x48897a[_0x48897a[_0x271c44[_0x51d38a(0x1c2)]]=0x2]=_0x271c44[_0x51d38a(0x1c2)],_0x48897a[_0x48897a[_0x51d38a(0x194)]=0x3]=_0x271c44['TTKAR'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x156d27){var _0x1558ca=_0x436531,_0x3180c3={'CrNWb':_0x1558ca(0x194),'pMAmc':_0x1558ca(0x1a8)};_0x156d27[_0x156d27[_0x1558ca(0x194)]=0x166]=_0x3180c3[_0x1558ca(0x199)],_0x156d27[_0x156d27[_0x3180c3[_0x1558ca(0x1cc)]]=0x167]=_0x1558ca(0x1a8);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x323c16){var _0x280189=_0x436531,_0x48bcd8={'kmMAb':_0x280189(0x193),'MaJlX':_0x280189(0x1c9),'Euevy':_0x280189(0x1c8)};_0x323c16[_0x323c16[_0x280189(0x193)]=0x1]=_0x48bcd8[_0x280189(0x1cd)],_0x323c16[_0x323c16[_0x48bcd8[_0x280189(0x19a)]]=0x3]=_0x280189(0x1c9),_0x323c16[_0x323c16[_0x48bcd8['Euevy']]=0x8]=_0x280189(0x1c8);}(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 4b187f9e..31d5c098 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0xb92ccc,_0x2ff4a7){var _0x361a5d=_0x3f70,_0x245d54=_0xb92ccc();while(!![]){try{var _0x25be9a=parseInt(_0x361a5d(0x1ce))/0x1+-parseInt(_0x361a5d(0x1c5))/0x2*(-parseInt(_0x361a5d(0x1c6))/0x3)+parseInt(_0x361a5d(0x1b5))/0x4*(-parseInt(_0x361a5d(0x1b7))/0x5)+-parseInt(_0x361a5d(0x1d1))/0x6*(-parseInt(_0x361a5d(0x1be))/0x7)+-parseInt(_0x361a5d(0x1d2))/0x8*(parseInt(_0x361a5d(0x1c1))/0x9)+parseInt(_0x361a5d(0x1ca))/0xa+-parseInt(_0x361a5d(0x1bf))/0xb;if(_0x25be9a===_0x2ff4a7)break;else _0x245d54['push'](_0x245d54['shift']());}catch(_0x17470b){_0x245d54['push'](_0x245d54['shift']());}}}(_0x521b,0xb3a7b));function _0x3f70(_0x23a253,_0x4760fe){var _0x521b0=_0x521b();return _0x3f70=function(_0x3f70a7,_0x4c1842){_0x3f70a7=_0x3f70a7-0x1b1;var _0x5957e5=_0x521b0[_0x3f70a7];return _0x5957e5;},_0x3f70(_0x23a253,_0x4760fe);}function _0x521b(){var _0x5104ec=['290GyImBo','27939JTKXVF','YPZyW','REJECT','JOIN_REQUEST','900340RBTsfO','MEMBER_EXIT','ADMIN_SET','YASOE','1447938pbQRIj','PHPhD','ADMIN_UNSET','210weICna','16IubuvV','3|1|0|2|5|7|6|4','DazCE','MHwBz','dSVUF','1732SeLjda','WAIT_HANDLE','2560bzhnvT','INVITE_ME','vyfzE','ukuHp','approve','bokao','reject','34664xJDfKN','14400100DdZJWK','UIKrr','3577563ZImQwv','HGYHE','KICK_MEMBER','cTLqS'];_0x521b=function(){return _0x5104ec;};return _0x521b();}export var GroupNotifyTypes;(function(_0x26f6f9){var _0x3344bf=_0x3f70,_0x3c18e1={'vyfzE':_0x3344bf(0x1b1),'DazCE':_0x3344bf(0x1c9),'MHwBz':'INVITED_JOIN','nyocP':'ADMIN_SET','PHPhD':_0x3344bf(0x1b8),'vCmdX':'ADMIN_UNSET_OTHER','ukuHp':_0x3344bf(0x1c3),'YASOE':_0x3344bf(0x1d0),'bokao':_0x3344bf(0x1cb)},_0x4a4bb2=_0x3c18e1[_0x3344bf(0x1b9)]['split']('|'),_0x28c93b=0x0;while(!![]){switch(_0x4a4bb2[_0x28c93b++]){case'0':_0x26f6f9[_0x26f6f9[_0x3c18e1[_0x3344bf(0x1b2)]]=0x7]='JOIN_REQUEST';continue;case'1':_0x26f6f9[_0x26f6f9[_0x3c18e1['MHwBz']]=0x4]=_0x3c18e1[_0x3344bf(0x1b3)];continue;case'2':_0x26f6f9[_0x26f6f9[_0x3344bf(0x1cc)]=0x8]=_0x3c18e1['nyocP'];continue;case'3':_0x26f6f9[_0x26f6f9[_0x3344bf(0x1b8)]=0x1]=_0x3c18e1[_0x3344bf(0x1cf)];continue;case'4':_0x26f6f9[_0x26f6f9[_0x3c18e1['vCmdX']]=0xd]=_0x3c18e1['vCmdX'];continue;case'5':_0x26f6f9[_0x26f6f9[_0x3c18e1['ukuHp']]=0x9]=_0x3c18e1[_0x3344bf(0x1ba)];continue;case'6':_0x26f6f9[_0x26f6f9[_0x3c18e1['YASOE']]=0xc]=_0x3c18e1[_0x3344bf(0x1cd)];continue;case'7':_0x26f6f9[_0x26f6f9[_0x3c18e1['bokao']]=0xb]=_0x3c18e1[_0x3344bf(0x1bc)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x3d9cc2){var _0x2df59a=_0x3f70,_0x364335={'HGYHE':'IGNORE','cTLqS':_0x2df59a(0x1b6),'UIKrr':'APPROVE','kBGTY':_0x2df59a(0x1c8)};_0x3d9cc2[_0x3d9cc2[_0x364335[_0x2df59a(0x1c2)]]=0x0]=_0x364335['HGYHE'],_0x3d9cc2[_0x3d9cc2[_0x364335[_0x2df59a(0x1c4)]]=0x1]=_0x2df59a(0x1b6),_0x3d9cc2[_0x3d9cc2[_0x364335['UIKrr']]=0x2]=_0x364335[_0x2df59a(0x1c0)],_0x3d9cc2[_0x3d9cc2[_0x364335['kBGTY']]=0x3]=_0x364335['kBGTY'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x587da2){var _0x4b7aee=_0x3f70,_0x2eacbd={'dSVUF':_0x4b7aee(0x1bb),'YPZyW':_0x4b7aee(0x1bd)};_0x587da2[_0x587da2[_0x2eacbd[_0x4b7aee(0x1b4)]]=0x1]=_0x2eacbd[_0x4b7aee(0x1b4)],_0x587da2[_0x587da2[_0x2eacbd[_0x4b7aee(0x1c7)]]=0x2]=_0x2eacbd['YPZyW'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +function _0x5272(_0x350aef,_0x3920b3){var _0x34b0fd=_0x34b0();return _0x5272=function(_0x527269,_0x7ff4d){_0x527269=_0x527269-0xd2;var _0x28e1a9=_0x34b0fd[_0x527269];return _0x28e1a9;},_0x5272(_0x350aef,_0x3920b3);}(function(_0x496da9,_0x6f223e){var _0x26ff8a=_0x5272,_0x39c89b=_0x496da9();while(!![]){try{var _0x40bfd1=parseInt(_0x26ff8a(0xf0))/0x1+parseInt(_0x26ff8a(0xe3))/0x2+-parseInt(_0x26ff8a(0xd4))/0x3+parseInt(_0x26ff8a(0xe5))/0x4*(parseInt(_0x26ff8a(0xdb))/0x5)+-parseInt(_0x26ff8a(0xe0))/0x6+parseInt(_0x26ff8a(0xe1))/0x7*(-parseInt(_0x26ff8a(0xd9))/0x8)+-parseInt(_0x26ff8a(0xd6))/0x9*(-parseInt(_0x26ff8a(0xe7))/0xa);if(_0x40bfd1===_0x6f223e)break;else _0x39c89b['push'](_0x39c89b['shift']());}catch(_0xa8d27c){_0x39c89b['push'](_0x39c89b['shift']());}}}(_0x34b0,0x5c45c));export var GroupNotifyTypes;(function(_0x71c7fa){var _0xec0c8c=_0x5272,_0x4b503d={'pMdsp':_0xec0c8c(0xd2),'KfBWP':'INVITED_JOIN','YPRBv':_0xec0c8c(0xed),'elPnr':_0xec0c8c(0xef),'GiWbJ':_0xec0c8c(0xf2),'oaJbb':'MEMBER_EXIT','roCpK':_0xec0c8c(0xda),'stzNa':'ADMIN_UNSET_OTHER'};_0x71c7fa[_0x71c7fa[_0x4b503d[_0xec0c8c(0xe8)]]=0x1]=_0xec0c8c(0xd2),_0x71c7fa[_0x71c7fa[_0x4b503d[_0xec0c8c(0xd7)]]=0x4]=_0x4b503d['KfBWP'],_0x71c7fa[_0x71c7fa[_0x4b503d['YPRBv']]=0x7]=_0x4b503d[_0xec0c8c(0xe9)],_0x71c7fa[_0x71c7fa[_0x4b503d[_0xec0c8c(0xd8)]]=0x8]=_0x4b503d[_0xec0c8c(0xd8)],_0x71c7fa[_0x71c7fa[_0x4b503d[_0xec0c8c(0xd3)]]=0x9]=_0x4b503d[_0xec0c8c(0xd3)],_0x71c7fa[_0x71c7fa[_0x4b503d[_0xec0c8c(0xe2)]]=0xb]=_0x4b503d[_0xec0c8c(0xe2)],_0x71c7fa[_0x71c7fa[_0x4b503d['roCpK']]=0xc]=_0x4b503d[_0xec0c8c(0xdf)],_0x71c7fa[_0x71c7fa[_0x4b503d[_0xec0c8c(0xee)]]=0xd]=_0x4b503d['stzNa'];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x15b1b9){var _0x174ac9=_0x5272,_0x18ff93={'ortpO':_0x174ac9(0xd5),'BWfdw':_0x174ac9(0xf1),'ZUjAw':_0x174ac9(0xde),'JeNTc':'REJECT'};_0x15b1b9[_0x15b1b9['IGNORE']=0x0]=_0x18ff93[_0x174ac9(0xea)],_0x15b1b9[_0x15b1b9[_0x18ff93[_0x174ac9(0xdd)]]=0x1]=_0x18ff93[_0x174ac9(0xdd)],_0x15b1b9[_0x15b1b9[_0x18ff93[_0x174ac9(0xe6)]]=0x2]=_0x18ff93[_0x174ac9(0xe6)],_0x15b1b9[_0x15b1b9[_0x174ac9(0xeb)]=0x3]=_0x18ff93['JeNTc'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x29ec7e){var _0x151c67=_0x5272,_0x2c4f45={'TsdQk':'approve','wNrVF':_0x151c67(0xec)};_0x29ec7e[_0x29ec7e[_0x2c4f45[_0x151c67(0xe4)]]=0x1]=_0x2c4f45[_0x151c67(0xe4)],_0x29ec7e[_0x29ec7e[_0x2c4f45[_0x151c67(0xdc)]]=0x2]=_0x151c67(0xec);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));function _0x34b0(){var _0x4c55c5=['70UtDMMi','pMdsp','YPRBv','ortpO','REJECT','reject','JOIN_REQUEST','stzNa','ADMIN_SET','737185AqXtFr','WAIT_HANDLE','KICK_MEMBER','INVITE_ME','GiWbJ','579345iYIUhp','IGNORE','717075ySNMYn','KfBWP','elPnr','3003992IrdDBc','ADMIN_UNSET','29615YEwIkQ','wNrVF','BWfdw','APPROVE','roCpK','3155958bLumJc','14tCHYMF','oaJbb','407374lCvNai','TsdQk','236ooSnNu','ZUjAw'];_0x34b0=function(){return _0x4c55c5;};return _0x34b0();} \ 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 690420f8..08156905 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x52825d,_0x5178bf){var _0x4a775f=_0x31da,_0x18a136=_0x52825d();while(!![]){try{var _0x5902ad=-parseInt(_0x4a775f(0xa8))/0x1+-parseInt(_0x4a775f(0xac))/0x2+-parseInt(_0x4a775f(0xa6))/0x3+parseInt(_0x4a775f(0xa9))/0x4*(parseInt(_0x4a775f(0xa7))/0x5)+parseInt(_0x4a775f(0xab))/0x6+parseInt(_0x4a775f(0xaf))/0x7+parseInt(_0x4a775f(0xae))/0x8;if(_0x5902ad===_0x5178bf)break;else _0x18a136['push'](_0x18a136['shift']());}catch(_0x5c2454){_0x18a136['push'](_0x18a136['shift']());}}}(_0x7f3d,0x284c4));export var Sex;function _0x31da(_0x13284f,_0x14e583){var _0x7f3d85=_0x7f3d();return _0x31da=function(_0x31dad0,_0x4326f2){_0x31dad0=_0x31dad0-0xa6;var _0x304e59=_0x7f3d85[_0x31dad0];return _0x304e59;},_0x31da(_0x13284f,_0x14e583);}function _0x7f3d(){var _0x55fe5e=['XHZUd','female','unknown','606879kITyHb','5xJHgCz','305453tUYEqt','62668UETtul','cxspD','1039602hgjqDl','166632jZbdkV','HfqWf','2437984qXRwMN','1837080klIPSr'];_0x7f3d=function(){return _0x55fe5e;};return _0x7f3d();}(function(_0x57c69c){var _0xdb389a=_0x31da,_0x2509d5={'cxspD':'male','HfqWf':_0xdb389a(0xb1),'XHZUd':_0xdb389a(0xb2)};_0x57c69c[_0x57c69c[_0x2509d5[_0xdb389a(0xaa)]]=0x1]=_0x2509d5[_0xdb389a(0xaa)],_0x57c69c[_0x57c69c[_0x2509d5[_0xdb389a(0xad)]]=0x2]=_0x2509d5[_0xdb389a(0xad)],_0x57c69c[_0x57c69c[_0xdb389a(0xb2)]=0xff]=_0x2509d5[_0xdb389a(0xb0)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x3280a,_0x31ff92){var _0x134a05=_0x4e1e,_0x2bb004=_0x3280a();while(!![]){try{var _0x4dad6b=-parseInt(_0x134a05(0xb5))/0x1+-parseInt(_0x134a05(0xaf))/0x2*(parseInt(_0x134a05(0xb3))/0x3)+-parseInt(_0x134a05(0xb7))/0x4*(-parseInt(_0x134a05(0xb4))/0x5)+-parseInt(_0x134a05(0xb1))/0x6*(parseInt(_0x134a05(0xb6))/0x7)+parseInt(_0x134a05(0xbb))/0x8+-parseInt(_0x134a05(0xb0))/0x9+-parseInt(_0x134a05(0xba))/0xa*(-parseInt(_0x134a05(0xbc))/0xb);if(_0x4dad6b===_0x31ff92)break;else _0x2bb004['push'](_0x2bb004['shift']());}catch(_0x2778f5){_0x2bb004['push'](_0x2bb004['shift']());}}}(_0x4304,0x62c6e));function _0x4e1e(_0x91c316,_0xf4d96){var _0x430490=_0x4304();return _0x4e1e=function(_0x4e1e5d,_0x3faaaa){_0x4e1e5d=_0x4e1e5d-0xaf;var _0x5cf116=_0x430490[_0x4e1e5d];return _0x5cf116;},_0x4e1e(_0x91c316,_0xf4d96);}function _0x4304(){var _0x350a8d=['male','18CipHad','125aMNjeo','66413NvXFfL','14PSeYPD','105100BCWNiC','MkibG','UtMHF','10134270DaVRtl','6280848utMQVo','11lPNmHf','MnbWd','228166QAMZlT','5726079GnNBZL','1991028easFoz'];_0x4304=function(){return _0x350a8d;};return _0x4304();}export var Sex;(function(_0x440107){var _0x296e4a=_0x4e1e,_0x4d5d49={'MkibG':_0x296e4a(0xb2),'MnbWd':'female','UtMHF':'unknown'};_0x440107[_0x440107[_0x4d5d49['MkibG']]=0x1]=_0x4d5d49[_0x296e4a(0xb8)],_0x440107[_0x440107[_0x4d5d49[_0x296e4a(0xbd)]]=0x2]=_0x4d5d49['MnbWd'],_0x440107[_0x440107[_0x4d5d49[_0x296e4a(0xb9)]]=0xff]=_0x4d5d49[_0x296e4a(0xb9)];}(Sex||(Sex={}))); \ 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 0ef22838..67bd6d1a 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0x3b0fda=_0x28dc;function _0x2333(){const _0xa0ff8b=['VnDpK','moeHook','18804379RhCKSf','9MNIrbK','1716885XcsVdg','4fyxBkg','WMdIb','1770489LAejEA','wKdKD','18iEidCZ','version','10113bhSwhD','isAvailable','FpMsl','getRKey','HookRkey','995312Wizaxq','1548780ssvQco','MoeHoo','174msJNSM','加载\x20moehoo\x20失败','181048kmbyAw'];_0x2333=function(){return _0xa0ff8b;};return _0x2333();}(function(_0x50c059,_0x4ba6d0){const _0x3ce33d=_0x28dc,_0x675efa=_0x50c059();while(!![]){try{const _0x4f5793=parseInt(_0x3ce33d(0xf2))/0x1*(parseInt(_0x3ce33d(0x106))/0x2)+-parseInt(_0x3ce33d(0x104))/0x3+parseInt(_0x3ce33d(0x102))/0x4*(-parseInt(_0x3ce33d(0x101))/0x5)+parseInt(_0x3ce33d(0xfa))/0x6*(-parseInt(_0x3ce33d(0xfc))/0x7)+-parseInt(_0x3ce33d(0xf7))/0x8*(-parseInt(_0x3ce33d(0x100))/0x9)+parseInt(_0x3ce33d(0xf8))/0xa+parseInt(_0x3ce33d(0xff))/0xb;if(_0x4f5793===_0x4ba6d0)break;else _0x675efa['push'](_0x675efa['shift']());}catch(_0x1087bd){_0x675efa['push'](_0x675efa['shift']());}}}(_0x2333,0x60baa));import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0x3b0fda(0xfe)]=null;constructor(){const _0x287544=_0x3b0fda,_0x1d93bf={'WMdIb':function(_0x425ffe,_0x4ab501){return _0x425ffe(_0x4ab501);},'FpMsl':_0x287544(0xf9),'VnDpK':'./MoeHoo.node','MUBzm':function(_0x48ed26,_0xa7ecc5,_0x427a12){return _0x48ed26(_0xa7ecc5,_0x427a12);},'wKdKD':_0x287544(0xfb)};try{_0x1d93bf[_0x287544(0x103)](cpModule,_0x1d93bf[_0x287544(0xf4)]),this[_0x287544(0xfe)]=_0x1d93bf[_0x287544(0x103)](require,_0x1d93bf[_0x287544(0xfd)]),this[_0x287544(0xfe)][_0x287544(0xf6)](qqPkgInfo[_0x287544(0x107)]);}catch(_0x45474c){_0x1d93bf['MUBzm'](logError,_0x1d93bf[_0x287544(0x105)],_0x45474c);}}[_0x3b0fda(0xf5)](){return this['moeHook']?.['GetRkey']()||'';}[_0x3b0fda(0xf3)](){const _0x1525ec=_0x3b0fda;return!!this[_0x1525ec(0xfe)];}}function _0x28dc(_0x2a8fe8,_0x171f64){const _0x2333b2=_0x2333();return _0x28dc=function(_0x28dc6d,_0x47eb52){_0x28dc6d=_0x28dc6d-0xf2;let _0x4e81fa=_0x2333b2[_0x28dc6d];return _0x4e81fa;},_0x28dc(_0x2a8fe8,_0x171f64);}export const hookApi=new HookApi(); \ No newline at end of file +const _0x3a05cc=_0x27d4;(function(_0x31fea6,_0x47861a){const _0x32383f=_0x27d4,_0x37ef87=_0x31fea6();while(!![]){try{const _0x54011b=-parseInt(_0x32383f(0x13d))/0x1*(parseInt(_0x32383f(0x136))/0x2)+parseInt(_0x32383f(0x147))/0x3*(parseInt(_0x32383f(0x139))/0x4)+-parseInt(_0x32383f(0x143))/0x5*(-parseInt(_0x32383f(0x13c))/0x6)+parseInt(_0x32383f(0x146))/0x7*(-parseInt(_0x32383f(0x142))/0x8)+parseInt(_0x32383f(0x137))/0x9+-parseInt(_0x32383f(0x13f))/0xa+parseInt(_0x32383f(0x13b))/0xb;if(_0x54011b===_0x47861a)break;else _0x37ef87['push'](_0x37ef87['shift']());}catch(_0x11baeb){_0x37ef87['push'](_0x37ef87['shift']());}}}(_0x5a33,0x89a5e));function _0x27d4(_0x3f525a,_0x11f5de){const _0x5a33a0=_0x5a33();return _0x27d4=function(_0x27d4b8,_0x18b0f3){_0x27d4b8=_0x27d4b8-0x135;let _0x951670=_0x5a33a0[_0x27d4b8];return _0x951670;},_0x27d4(_0x3f525a,_0x11f5de);}import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';function _0x5a33(){const _0x3f519a=['HWSXd','5657060mvrljl','moeHook','RcJyT','137608xtgWUz','2115635ScNrKF','version','GetRkey','217oSGugk','3imFOJj','isAvailable','qsSHB','HookRkey','MoeHoo','344506AZrnht','8950887AgcdAn','加载\x20moehoo\x20失败','2082804wQWgOd','getRKey','757658yUEFZM','6ZqhHxd','2eXrUGl'];_0x5a33=function(){return _0x3f519a;};return _0x5a33();}class HookApi{[_0x3a05cc(0x140)]=null;constructor(){const _0x556fd6=_0x3a05cc,_0x2124ee={'HWSXd':function(_0xd52f27,_0x53e328){return _0xd52f27(_0x53e328);},'qsSHB':_0x556fd6(0x135),'MmmGm':'./MoeHoo.node','RcJyT':function(_0xdb6f6a,_0x326c00,_0x2f1085){return _0xdb6f6a(_0x326c00,_0x2f1085);}};try{_0x2124ee['HWSXd'](cpModule,_0x2124ee[_0x556fd6(0x149)]),this['moeHook']=_0x2124ee[_0x556fd6(0x13e)](require,_0x2124ee['MmmGm']),this['moeHook'][_0x556fd6(0x14a)](qqPkgInfo[_0x556fd6(0x144)]);}catch(_0x26bb38){_0x2124ee[_0x556fd6(0x141)](logError,_0x556fd6(0x138),_0x26bb38);}}[_0x3a05cc(0x13a)](){const _0x458fb9=_0x3a05cc;return this[_0x458fb9(0x140)]?.[_0x458fb9(0x145)]()||'';}[_0x3a05cc(0x148)](){const _0x307b44=_0x3a05cc;return!!this[_0x307b44(0x140)];}}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 82b6caad..07aba1f8 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x4bebef,_0x2d92dc){var _0x238cd0=_0x8afe,_0x3b432b=_0x4bebef();while(!![]){try{var _0x22e325=-parseInt(_0x238cd0(0x13d))/0x1+-parseInt(_0x238cd0(0x13c))/0x2*(-parseInt(_0x238cd0(0x143))/0x3)+parseInt(_0x238cd0(0x144))/0x4+-parseInt(_0x238cd0(0x13f))/0x5+parseInt(_0x238cd0(0x141))/0x6*(-parseInt(_0x238cd0(0x142))/0x7)+-parseInt(_0x238cd0(0x13e))/0x8*(-parseInt(_0x238cd0(0x13b))/0x9)+-parseInt(_0x238cd0(0x140))/0xa;if(_0x22e325===_0x2d92dc)break;else _0x3b432b['push'](_0x3b432b['shift']());}catch(_0x24ef95){_0x3b432b['push'](_0x3b432b['shift']());}}}(_0x189d,0xb4229));import _0x3328fb from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x3328fb as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x189d(){var _0x573f6f=['56qmhUFP','1332867IStfSv','5024332ydzZlk','1008zEygfA','6vqnWpO','354512SMUOLc','16504tRwDfu','3784045ttHTmK','2851400jpuRLu','514284oMtSay'];_0x189d=function(){return _0x573f6f;};return _0x189d();}function _0x8afe(_0x210653,_0xf8ca74){var _0x189d36=_0x189d();return _0x8afe=function(_0x8afe8,_0x135949){_0x8afe8=_0x8afe8-0x13b;var _0x3199b0=_0x189d36[_0x8afe8];return _0x3199b0;},_0x8afe(_0x210653,_0xf8ca74);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x1b70cb,_0x45fb83){var _0x4fa32e=_0x1c40,_0x520afa=_0x1b70cb();while(!![]){try{var _0x17f243=parseInt(_0x4fa32e(0x164))/0x1*(parseInt(_0x4fa32e(0x166))/0x2)+parseInt(_0x4fa32e(0x161))/0x3*(-parseInt(_0x4fa32e(0x15d))/0x4)+parseInt(_0x4fa32e(0x165))/0x5+parseInt(_0x4fa32e(0x160))/0x6*(parseInt(_0x4fa32e(0x15f))/0x7)+-parseInt(_0x4fa32e(0x163))/0x8+-parseInt(_0x4fa32e(0x15e))/0x9*(-parseInt(_0x4fa32e(0x167))/0xa)+-parseInt(_0x4fa32e(0x162))/0xb;if(_0x17f243===_0x45fb83)break;else _0x520afa['push'](_0x520afa['shift']());}catch(_0x377d96){_0x520afa['push'](_0x520afa['shift']());}}}(_0x10a9,0xebdf9));import _0x6adb3a from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x1c40(_0x5d9ea4,_0x4d0c51){var _0x10a9e7=_0x10a9();return _0x1c40=function(_0x1c4037,_0x4524bd){_0x1c4037=_0x1c4037-0x15d;var _0xcdc415=_0x10a9e7[_0x1c4037];return _0xcdc415;},_0x1c40(_0x5d9ea4,_0x4d0c51);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x6adb3a as Wrapper};export*as WrapperInterface from'./wrapper';function _0x10a9(){var _0x5609d3=['977583sxNCAL','16726105wbEbFh','2579432fYLtuT','23VEqxwc','8742760MIYBtM','133096SmKByg','60Ocvowi','12PcazSE','50868ecXFNE','28kyQmhE','710454wRNMbW'];_0x10a9=function(){return _0x5609d3;};return _0x10a9();}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 93fcd151..09c041ee 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x3dda(){var _0x234c4d=['onDoubtBuddyReqChange','1597175utTdaw','onBuddyDetailInfoChange','3mddbYm','onDoubtBuddyReqUnreadNumChange','onSmartInfos','onAvatarUrlUpdated','3381894UAnfaZ','onCheckBuddySettingResult','onNickUpdated','9328221FLrsNs','onBlockChanged','5705268rHbQIw','4793658SJJspE','onAddBuddyNeedVerify','onAddMeSettingChanged','onBuddyReqUnreadCntChange','onSpacePermissionInfos','3959355sLAmtX','onDelBatchBuddyInfos','onBuddyInfoChange','6179886eAXYoe','8NoBpPc'];_0x3dda=function(){return _0x234c4d;};return _0x3dda();}var _0x115711=_0x684a;function _0x684a(_0xea1110,_0x55b9ad){var _0x3dda31=_0x3dda();return _0x684a=function(_0x684a7a,_0x5e9499){_0x684a7a=_0x684a7a-0x10c;var _0xdf188a=_0x3dda31[_0x684a7a];return _0xdf188a;},_0x684a(_0xea1110,_0x55b9ad);}(function(_0x3f31ee,_0x323aba){var _0x1b2933=_0x684a,_0x11d7c3=_0x3f31ee();while(!![]){try{var _0x3c9bcc=parseInt(_0x1b2933(0x11c))/0x1+parseInt(_0x1b2933(0x122))/0x2*(-parseInt(_0x1b2933(0x11e))/0x3)+parseInt(_0x1b2933(0x110))/0x4+parseInt(_0x1b2933(0x116))/0x5+parseInt(_0x1b2933(0x111))/0x6+-parseInt(_0x1b2933(0x10e))/0x7*(parseInt(_0x1b2933(0x11a))/0x8)+-parseInt(_0x1b2933(0x119))/0x9;if(_0x3c9bcc===_0x323aba)break;else _0x11d7c3['push'](_0x11d7c3['shift']());}catch(_0x52c35d){_0x11d7c3['push'](_0x11d7c3['shift']());}}}(_0x3dda,0xdcba6));export class BuddyListener{[_0x115711(0x112)](_0x580100){}[_0x115711(0x113)](_0x3a333c){}[_0x115711(0x121)](_0x3b2ae9){}[_0x115711(0x10f)](_0x411238){}[_0x115711(0x11d)](_0x2babf8){}[_0x115711(0x118)](_0x3773ac){}['onBuddyListChange'](_0xaa50b0){}['onBuddyRemarkUpdated'](_0x6af275){}['onBuddyReqChange'](_0x36accc){}[_0x115711(0x114)](_0x503528){}[_0x115711(0x10c)](_0x7eb57a){}[_0x115711(0x117)](_0xe929b9){}[_0x115711(0x11b)](_0x4ebcc2){}[_0x115711(0x11f)](_0x46ea8b){}[_0x115711(0x10d)](_0x548023){}[_0x115711(0x120)](_0x1b7d1e){}[_0x115711(0x115)](_0x42232c){}} \ No newline at end of file +var _0x505646=_0x3d52;(function(_0x140272,_0x2fce8d){var _0x119dea=_0x3d52,_0x4b0f1a=_0x140272();while(!![]){try{var _0x52a294=parseInt(_0x119dea(0x12e))/0x1*(parseInt(_0x119dea(0x12a))/0x2)+parseInt(_0x119dea(0x11c))/0x3*(parseInt(_0x119dea(0x11b))/0x4)+parseInt(_0x119dea(0x118))/0x5*(-parseInt(_0x119dea(0x12d))/0x6)+-parseInt(_0x119dea(0x129))/0x7*(parseInt(_0x119dea(0x121))/0x8)+parseInt(_0x119dea(0x122))/0x9*(parseInt(_0x119dea(0x11a))/0xa)+-parseInt(_0x119dea(0x126))/0xb*(parseInt(_0x119dea(0x116))/0xc)+parseInt(_0x119dea(0x11f))/0xd;if(_0x52a294===_0x2fce8d)break;else _0x4b0f1a['push'](_0x4b0f1a['shift']());}catch(_0x26a136){_0x4b0f1a['push'](_0x4b0f1a['shift']());}}}(_0x2d1a,0x7ba96));function _0x3d52(_0x1744c1,_0x81411b){var _0x2d1a44=_0x2d1a();return _0x3d52=function(_0x3d5260,_0x2ea068){_0x3d5260=_0x3d5260-0x115;var _0x65cb5=_0x2d1a44[_0x3d5260];return _0x65cb5;},_0x3d52(_0x1744c1,_0x81411b);}function _0x2d1a(){var _0x22a92e=['9FJDSlf','onAddBuddyNeedVerify','onBuddyReqChange','onNickUpdated','44gICzft','onDoubtBuddyReqUnreadNumChange','onCheckBuddySettingResult','69146RvTFjC','2HRvfLF','onSpacePermissionInfos','onBuddyDetailInfoChange','114HrPAOh','187067WOAQqR','onDelBatchBuddyInfos','54624VnWncI','onDoubtBuddyReqChange','174350ypjBKL','onAvatarUrlUpdated','1455800kuQZlQ','124940oIeRYk','69ZYYthk','onBlockChanged','onSmartInfos','5751486mxIikq','onBuddyInfoChange','248hXlxeU'];_0x2d1a=function(){return _0x22a92e;};return _0x2d1a();}export class BuddyListener{[_0x505646(0x123)](_0x3f377c){}['onAddMeSettingChanged'](_0x58db3f){}[_0x505646(0x119)](_0x557640){}[_0x505646(0x11d)](_0x187eec){}[_0x505646(0x12c)](_0x916d29){}[_0x505646(0x120)](_0x4effad){}['onBuddyListChange'](_0x2afd00){}['onBuddyRemarkUpdated'](_0x5e1996){}[_0x505646(0x124)](_0x1c60fa){}['onBuddyReqUnreadCntChange'](_0x5316ee){}[_0x505646(0x128)](_0xba21b4){}[_0x505646(0x115)](_0x3d63ac){}[_0x505646(0x117)](_0x3dc115){}[_0x505646(0x127)](_0x1a83fe){}[_0x505646(0x125)](_0x4d966c){}[_0x505646(0x11e)](_0x3aaef9){}[_0x505646(0x12b)](_0x5ca3d2){}} \ 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 548cd628..dd920f3b 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0xd7b1d6=_0x4636;(function(_0x46d187,_0x116ee0){var _0x1a7f0a=_0x4636,_0x2e3ca6=_0x46d187();while(!![]){try{var _0xdba680=parseInt(_0x1a7f0a(0x1fb))/0x1*(-parseInt(_0x1a7f0a(0x1f9))/0x2)+-parseInt(_0x1a7f0a(0x1ef))/0x3+parseInt(_0x1a7f0a(0x1f5))/0x4+parseInt(_0x1a7f0a(0x1ed))/0x5*(parseInt(_0x1a7f0a(0x1f3))/0x6)+parseInt(_0x1a7f0a(0x1f7))/0x7*(parseInt(_0x1a7f0a(0x1fc))/0x8)+parseInt(_0x1a7f0a(0x1f0))/0x9*(-parseInt(_0x1a7f0a(0x1fa))/0xa)+-parseInt(_0x1a7f0a(0x1f8))/0xb*(-parseInt(_0x1a7f0a(0x1f4))/0xc);if(_0xdba680===_0x116ee0)break;else _0x2e3ca6['push'](_0x2e3ca6['shift']());}catch(_0x1c1642){_0x2e3ca6['push'](_0x2e3ca6['shift']());}}}(_0x5ace,0x702a1));function _0x4636(_0x39d41b,_0xe1639c){var _0x5ace49=_0x5ace();return _0x4636=function(_0x4636a1,_0x179aca){_0x4636a1=_0x4636a1-0x1ed;var _0x4d2045=_0x5ace49[_0x4636a1];return _0x4d2045;},_0x4636(_0x39d41b,_0xe1639c);}function _0x5ace(){var _0x2dbc3e=['521412cfNMuB','2266404vxMFpm','2429280qAmPtX','onFileListChanged','1435FMJqoE','44VjUyys','22mWYHfP','230TGwVzp','48611LzJyDC','22184QxtsjK','5kbehjo','onFileSearch','2441850HXYmbz','82197RCUpGT','onSessionListChanged','onFileStatusChanged'];_0x5ace=function(){return _0x2dbc3e;};return _0x5ace();}export class KernelFileAssistantListener{[_0xd7b1d6(0x1f2)](..._0x479345){}[_0xd7b1d6(0x1f1)](..._0xfb4e50){}['onSessionChanged'](..._0x397fe6){}[_0xd7b1d6(0x1f6)](..._0x27726a){}[_0xd7b1d6(0x1ee)](..._0x37498c){}} \ No newline at end of file +function _0x242f(_0x78fa10,_0x418086){var _0x16caf3=_0x16ca();return _0x242f=function(_0x242fb7,_0x971733){_0x242fb7=_0x242fb7-0xeb;var _0x5db70b=_0x16caf3[_0x242fb7];return _0x5db70b;},_0x242f(_0x78fa10,_0x418086);}var _0x1c47ce=_0x242f;(function(_0x2c6f6b,_0x595586){var _0x1cace0=_0x242f,_0x399f3a=_0x2c6f6b();while(!![]){try{var _0x5d6257=-parseInt(_0x1cace0(0xec))/0x1+-parseInt(_0x1cace0(0xf2))/0x2+parseInt(_0x1cace0(0xf0))/0x3+parseInt(_0x1cace0(0xeb))/0x4+parseInt(_0x1cace0(0xf3))/0x5+-parseInt(_0x1cace0(0xf1))/0x6*(parseInt(_0x1cace0(0xf6))/0x7)+parseInt(_0x1cace0(0xf7))/0x8;if(_0x5d6257===_0x595586)break;else _0x399f3a['push'](_0x399f3a['shift']());}catch(_0x231534){_0x399f3a['push'](_0x399f3a['shift']());}}}(_0x16ca,0x748b8));function _0x16ca(){var _0x47d952=['7728992YgAvHq','1963716cfZQVU','645598sdAHTY','onFileSearch','onSessionListChanged','onSessionChanged','539487tHCMaX','12ryyaaI','385774wrMSKy','1493625AeRPMd','onFileStatusChanged','onFileListChanged','2169139HPkAKH'];_0x16ca=function(){return _0x47d952;};return _0x16ca();}export class KernelFileAssistantListener{[_0x1c47ce(0xf4)](..._0x3ff262){}[_0x1c47ce(0xee)](..._0x2d9f34){}[_0x1c47ce(0xef)](..._0x1e0913){}[_0x1c47ce(0xf5)](..._0x1900d2){}[_0x1c47ce(0xed)](..._0x7b9684){}} \ 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 9c24b3f9..e40dbd40 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x1e21d7=_0x3602;(function(_0x3fe64b,_0x4adc42){var _0x436d5a=_0x3602,_0x3eb000=_0x3fe64b();while(!![]){try{var _0x5e1e95=-parseInt(_0x436d5a(0x1ad))/0x1*(-parseInt(_0x436d5a(0x1c8))/0x2)+parseInt(_0x436d5a(0x1c7))/0x3*(parseInt(_0x436d5a(0x1b0))/0x4)+parseInt(_0x436d5a(0x1ee))/0x5+-parseInt(_0x436d5a(0x1ed))/0x6*(-parseInt(_0x436d5a(0x1aa))/0x7)+parseInt(_0x436d5a(0x1d9))/0x8*(parseInt(_0x436d5a(0x1b5))/0x9)+-parseInt(_0x436d5a(0x1a8))/0xa*(parseInt(_0x436d5a(0x1e8))/0xb)+-parseInt(_0x436d5a(0x1bf))/0xc*(parseInt(_0x436d5a(0x1da))/0xd);if(_0x5e1e95===_0x4adc42)break;else _0x3eb000['push'](_0x3eb000['shift']());}catch(_0x5eb1d3){_0x3eb000['push'](_0x3eb000['shift']());}}}(_0x4ca8,0xa288d));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x39de5e){}[_0x1e21d7(0x1a7)](..._0x6368d8){}['onGroupAllInfoChange'](..._0x388ac3){}['onGroupBulletinChange'](..._0x3870a0){}[_0x1e21d7(0x1ba)](..._0x26dbd3){}[_0x1e21d7(0x1cb)](..._0x3d3746){}['onGroupBulletinRichMediaDownloadComplete'](..._0x59a0f9){}[_0x1e21d7(0x1c1)](..._0x4a7759){}['onGroupDetailInfoChange'](..._0xda9374){}[_0x1e21d7(0x1e9)](..._0x266bc4){}[_0x1e21d7(0x1d7)](..._0x273f97){}[_0x1e21d7(0x1ef)](_0x11c8f2,_0x24a235){}[_0x1e21d7(0x1b4)](_0x3f0d7d,_0x16dc71){}[_0x1e21d7(0x1dd)](..._0x52af91){}[_0x1e21d7(0x1ce)](..._0x1232e0){}['onGroupSingleScreenNotifies'](..._0x258629){}[_0x1e21d7(0x1d5)](..._0x55f9d4){}[_0x1e21d7(0x1d4)](..._0x43240d){}[_0x1e21d7(0x1b2)](..._0x1d8037){}[_0x1e21d7(0x1de)](..._0x1b0b0e){}[_0x1e21d7(0x1be)](_0x184618,_0x379297,_0x3c8b2a){}[_0x1e21d7(0x1d8)](_0x139379){}['onSearchMemberChange'](..._0x6f00af){}[_0x1e21d7(0x1b8)](..._0x391784){}}function _0x3602(_0x118009,_0x678103){var _0x4ca82f=_0x4ca8();return _0x3602=function(_0x360267,_0xda1d08){_0x360267=_0x360267-0x1a7;var _0xb8a016=_0x4ca82f[_0x360267];return _0xb8a016;},_0x3602(_0x118009,_0x678103);}function _0x4ca8(){var _0x1b5cde=['536880bRgFEy','onSearchMemberChange','8804726XWlUCi','USXnB','OYXcz','71UWXllF','onGroupConfMemberChange:','onGroupBulletinChange:','4UqHiWo','onGroupBulletinRichMediaProgressUpdate:','onJoinGroupNotify','onGroupNotifiesUpdated:','onGroupNotifiesUpdated','764217OXkBen','TMIEZ','HhycL','onShutUpMemberListChanged','bPYSC','onGroupBulletinRemindNotify','SWEBS','onGroupSingleScreenNotifies:','bEzoy','onMemberInfoChange','18402108mCjDcY','onGroupDetailInfoChange:','onGroupConfMemberChange','onJoinGroupNoVerifyFlag:','onGroupListUpdate:','onGroupBulletinRichMediaDownloadComplete','onGroupBulletinChange','log','1254324TtfqyQ','21232IsYgeA','CjTti','onGroupAllInfoChange:','onGroupArkInviteStateResult','eoYhr','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated','onSearchMemberChange:','onGroupMemberLevelInfoChange','onGroupSingleScreenNotifies','onGroupNotifiesUnreadCountUpdated:','onMemberInfoChange:','onGroupStatisticInfoChange','onGroupsMsgMaskResult','onMemberListChange:','onGroupFirstBulletinNotify','onMemberListChange','8OBfVTK','13ARWJVY','kjcNh','FUeEv','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNoVerifyFlag','PPGaw','xJFae','BgTtY','onGroupsMsgMaskResult:','onGroupBulletinRemindNotify:','MHMcv','onJoinGroupNotify:','xPHhV','onGroupDetailInfoChange','110avUKMJ','onGroupExtListUpdate','onGroupAllInfoChange','onGroupMemberLevelInfoChange:','onGetGroupBulletinListResult:','6WDVnXZ','1107775gbwvIU','onGroupListUpdate','onGroupExtListUpdate:','aLdfa','onGetGroupBulletinListResult'];_0x4ca8=function(){return _0x1b5cde;};return _0x4ca8();}export class DebugGroupListener{[_0x1e21d7(0x1d0)](..._0x491984){var _0x3c6d63=_0x1e21d7,_0x6b0351={'bPYSC':_0x3c6d63(0x1eb)};console[_0x3c6d63(0x1c6)](_0x6b0351[_0x3c6d63(0x1b9)],..._0x491984);}[_0x1e21d7(0x1a7)](..._0x5af072){var _0x96c057=_0x1e21d7,_0xc48aaa={'CjTti':_0x96c057(0x1ec)};console[_0x96c057(0x1c6)](_0xc48aaa[_0x96c057(0x1c9)],..._0x5af072);}[_0x1e21d7(0x1ea)](..._0x36c505){var _0xdfd156=_0x1e21d7;console[_0xdfd156(0x1c6)](_0xdfd156(0x1ca),..._0x36c505);}[_0x1e21d7(0x1c5)](..._0x50fc02){var _0xcbde0f=_0x1e21d7,_0xed491d={'PPGaw':_0xcbde0f(0x1af)};console[_0xcbde0f(0x1c6)](_0xed491d[_0xcbde0f(0x1df)],..._0x50fc02);}[_0x1e21d7(0x1ba)](..._0x44306e){var _0x581729=_0x1e21d7,_0xf2b331={'FUeEv':_0x581729(0x1e3)};console['log'](_0xf2b331[_0x581729(0x1dc)],..._0x44306e);}['onGroupArkInviteStateResult'](..._0x2a73c4){var _0x3969fc=_0x1e21d7,_0x4e67db={'GNIlP':'onGroupArkInviteStateResult:'};console[_0x3969fc(0x1c6)](_0x4e67db['GNIlP'],..._0x2a73c4);}[_0x1e21d7(0x1c4)](..._0x1c5379){var _0x41e321=_0x1e21d7,_0xbccf19={'aLdfa':'onGroupBulletinRichMediaDownloadComplete:'};console['log'](_0xbccf19[_0x41e321(0x1f1)],..._0x1c5379);}['onGroupConfMemberChange'](..._0x45a276){var _0x13df4e=_0x1e21d7;console[_0x13df4e(0x1c6)](_0x13df4e(0x1ae),..._0x45a276);}[_0x1e21d7(0x1e7)](..._0x165298){var _0x30c3d9=_0x1e21d7;console[_0x30c3d9(0x1c6)](_0x30c3d9(0x1c0),..._0x165298);}[_0x1e21d7(0x1e9)](..._0xa5be06){var _0x485ab5=_0x1e21d7,_0x15e53c={'SWEBS':_0x485ab5(0x1f0)};console[_0x485ab5(0x1c6)](_0x15e53c[_0x485ab5(0x1bb)],..._0xa5be06);}['onGroupFirstBulletinNotify'](..._0x4a2617){var _0x4c457f={'IWxFo':'onGroupFirstBulletinNotify:'};console['log'](_0x4c457f['IWxFo'],..._0x4a2617);}[_0x1e21d7(0x1ef)](..._0x1d42bc){var _0xd3e0c3=_0x1e21d7,_0x30576e={'USXnB':_0xd3e0c3(0x1c3)};console[_0xd3e0c3(0x1c6)](_0x30576e[_0xd3e0c3(0x1ab)],..._0x1d42bc);}['onGroupNotifiesUpdated'](..._0x377276){var _0x3b4150=_0x1e21d7,_0x137dc9={'xPHhV':_0x3b4150(0x1b3)};console[_0x3b4150(0x1c6)](_0x137dc9[_0x3b4150(0x1e6)],..._0x377276);}['onGroupBulletinRichMediaProgressUpdate'](..._0x19faa2){var _0x5547ad=_0x1e21d7,_0x5afd1a={'eoYhr':_0x5547ad(0x1b1)};console[_0x5547ad(0x1c6)](_0x5afd1a[_0x5547ad(0x1cc)],..._0x19faa2);}[_0x1e21d7(0x1ce)](..._0x1f204f){var _0x4a7212=_0x1e21d7,_0x32b312={'HhAWU':_0x4a7212(0x1d2)};console['log'](_0x32b312['HhAWU'],..._0x1f204f);}[_0x1e21d7(0x1d1)](..._0x4fd6a2){var _0x28dee1=_0x1e21d7,_0x25915c={'HhycL':_0x28dee1(0x1bc)};console[_0x28dee1(0x1c6)](_0x25915c[_0x28dee1(0x1b7)],..._0x4fd6a2);}[_0x1e21d7(0x1d5)](..._0x559a49){var _0x2b2e10=_0x1e21d7,_0x33e951={'xJFae':_0x2b2e10(0x1e2)};console[_0x2b2e10(0x1c6)](_0x33e951[_0x2b2e10(0x1e0)],..._0x559a49);}[_0x1e21d7(0x1d4)](..._0x3396a2){var _0x21f984=_0x1e21d7,_0x149280={'OYXcz':'onGroupStatisticInfoChange:'};console[_0x21f984(0x1c6)](_0x149280[_0x21f984(0x1ac)],..._0x3396a2);}[_0x1e21d7(0x1b2)](..._0x10a4ed){var _0x3b6806=_0x1e21d7,_0xa5974e={'TMIEZ':_0x3b6806(0x1e5)};console['log'](_0xa5974e[_0x3b6806(0x1b6)],..._0x10a4ed);}['onJoinGroupNoVerifyFlag'](..._0x5d2776){var _0x3140ae=_0x1e21d7,_0xab0db9={'bEzoy':_0x3140ae(0x1c2)};console[_0x3140ae(0x1c6)](_0xab0db9[_0x3140ae(0x1bd)],..._0x5d2776);}['onMemberInfoChange'](_0x4ba534,_0x5e3b92,_0x23cd7e){var _0x1ecadc=_0x1e21d7,_0x187cd7={'kjcNh':_0x1ecadc(0x1d3)};console['log'](_0x187cd7[_0x1ecadc(0x1db)],_0x4ba534,_0x5e3b92,_0x23cd7e);}[_0x1e21d7(0x1d8)](..._0x159685){var _0x328420=_0x1e21d7;console[_0x328420(0x1c6)](_0x328420(0x1d6),..._0x159685);}[_0x1e21d7(0x1a9)](..._0x4b10e4){var _0x2e066d=_0x1e21d7,_0x53a6cc={'MHMcv':_0x2e066d(0x1cf)};console[_0x2e066d(0x1c6)](_0x53a6cc[_0x2e066d(0x1e4)],..._0x4b10e4);}[_0x1e21d7(0x1b8)](..._0xda776e){var _0x299d2b=_0x1e21d7,_0x2714db={'BgTtY':_0x299d2b(0x1cd)};console[_0x299d2b(0x1c6)](_0x2714db[_0x299d2b(0x1e1)],..._0xda776e);}} \ No newline at end of file +function _0x2f95(_0x13192c,_0x476af3){var _0x4f1e83=_0x4f1e();return _0x2f95=function(_0x2f9511,_0x58c4cd){_0x2f9511=_0x2f9511-0x1b1;var _0x5d1b2b=_0x4f1e83[_0x2f9511];return _0x5d1b2b;},_0x2f95(_0x13192c,_0x476af3);}var _0x2fac47=_0x2f95;function _0x4f1e(){var _0x4f3b83=['onGroupsMsgMaskResult','azWnb','onGroupBulletinRemindNotify','2060112IHZdkl','onGroupMemberLevelInfoChange','onGroupBulletinRichMediaProgressUpdate:','onGroupAllInfoChange:','onGroupSingleScreenNotifies','onGroupBulletinRichMediaDownloadComplete','cNWyf','onGroupDetailInfoChange','onShutUpMemberListChanged','onGroupArkInviteStateResult:','onGroupFirstBulletinNotify','onGroupSingleScreenNotifies:','onGroupConfMemberChange:','312ojejZl','gMTWP','onGroupDetailInfoChange:','eBDRI','RtMsq','onGroupBulletinRemindNotify:','onGetGroupBulletinListResult','onMemberListChange:','onGroupNotifiesUpdated','2615499FUDvcU','onGroupExtListUpdate','onGroupMemberLevelInfoChange:','moPRk','onGroupStatisticInfoChange','uhfNz','49240kdPtXj','onSearchMemberChange','log','BbvCT','5221265ZbsaER','dvjgC','1111335YvRWCl','onGroupBulletinChange:','onGroupNotifiesUnreadCountUpdated','onGroupConfMemberChange','onGetGroupBulletinListResult:','onGroupArkInviteStateResult','onSearchMemberChange:','onGroupNotifiesUpdated:','onJoinGroupNotify','onJoinGroupNoVerifyFlag','onGroupExtListUpdate:','onMemberInfoChange','2895816oqbGVB','onGroupListUpdate','onGroupsMsgMaskResult:','dUmuo','onGroupAllInfoChange','onGroupBulletinRichMediaProgressUpdate','296638uRZHZc','2UfPUqW'];_0x4f1e=function(){return _0x4f3b83;};return _0x4f1e();}(function(_0x34b493,_0x2e4468){var _0x5dfced=_0x2f95,_0x4efc02=_0x34b493();while(!![]){try{var _0x10efba=-parseInt(_0x5dfced(0x1e4))/0x1*(-parseInt(_0x5dfced(0x1e5))/0x2)+-parseInt(_0x5dfced(0x1d2))/0x3+parseInt(_0x5dfced(0x1bd))/0x4*(parseInt(_0x5dfced(0x1cc))/0x5)+parseInt(_0x5dfced(0x1de))/0x6+-parseInt(_0x5dfced(0x1d0))/0x7+parseInt(_0x5dfced(0x1e9))/0x8+-parseInt(_0x5dfced(0x1c6))/0x9;if(_0x10efba===_0x2e4468)break;else _0x4efc02['push'](_0x4efc02['shift']());}catch(_0x4082dc){_0x4efc02['push'](_0x4efc02['shift']());}}}(_0x4f1e,0x6129d));export class GroupListener{[_0x2fac47(0x1b1)](..._0x435870){}['onGetGroupBulletinListResult'](..._0x29adb7){}[_0x2fac47(0x1e2)](..._0x5bd6fc){}['onGroupBulletinChange'](..._0x58dbd0){}[_0x2fac47(0x1e8)](..._0x50cded){}[_0x2fac47(0x1d7)](..._0x4a9400){}[_0x2fac47(0x1b5)](..._0x4d956c){}[_0x2fac47(0x1d5)](..._0x235bb6){}[_0x2fac47(0x1b7)](..._0x202a60){}[_0x2fac47(0x1c7)](..._0x1032b9){}[_0x2fac47(0x1ba)](..._0x6be38f){}[_0x2fac47(0x1df)](_0x5a2a98,_0xd00f18){}[_0x2fac47(0x1c5)](_0x1c9319,_0x2c8240){}[_0x2fac47(0x1e3)](..._0x326e11){}[_0x2fac47(0x1d4)](..._0x2d6f53){}['onGroupSingleScreenNotifies'](..._0x33c40f){}[_0x2fac47(0x1e6)](..._0x325a5b){}['onGroupStatisticInfoChange'](..._0x1a47d5){}['onJoinGroupNotify'](..._0x272908){}[_0x2fac47(0x1db)](..._0x53e997){}[_0x2fac47(0x1dd)](_0x3bcb7e,_0x8754db,_0x512102){}['onMemberListChange'](_0x91a3b3){}[_0x2fac47(0x1cd)](..._0x21a44e){}[_0x2fac47(0x1b8)](..._0x227ce9){}}export class DebugGroupListener{[_0x2fac47(0x1b1)](..._0x503cb3){var _0x2c925f=_0x2fac47,_0x7e0cf1={'azWnb':_0x2c925f(0x1c8)};console['log'](_0x7e0cf1[_0x2c925f(0x1e7)],..._0x503cb3);}[_0x2fac47(0x1c3)](..._0x4e5ebe){var _0x54de4a=_0x2fac47,_0x379fa3={'gMTWP':_0x54de4a(0x1d6)};console[_0x54de4a(0x1ce)](_0x379fa3[_0x54de4a(0x1be)],..._0x4e5ebe);}[_0x2fac47(0x1e2)](..._0x51a247){var _0x54d6a6=_0x2fac47,_0x3b0f31={'BbvCT':_0x54d6a6(0x1b3)};console[_0x54d6a6(0x1ce)](_0x3b0f31[_0x54d6a6(0x1cf)],..._0x51a247);}['onGroupBulletinChange'](..._0x50605d){var _0x3660b9=_0x2fac47,_0x2f3d2d={'IseAk':_0x3660b9(0x1d3)};console[_0x3660b9(0x1ce)](_0x2f3d2d['IseAk'],..._0x50605d);}['onGroupBulletinRemindNotify'](..._0x42b8fd){var _0xf0c5e9=_0x2fac47,_0x2c045b={'RtMsq':_0xf0c5e9(0x1c2)};console[_0xf0c5e9(0x1ce)](_0x2c045b[_0xf0c5e9(0x1c1)],..._0x42b8fd);}[_0x2fac47(0x1d7)](..._0x2f39cf){var _0x2bc09b=_0x2fac47;console[_0x2bc09b(0x1ce)](_0x2bc09b(0x1b9),..._0x2f39cf);}[_0x2fac47(0x1b5)](..._0x50de0a){console['log']('onGroupBulletinRichMediaDownloadComplete:',..._0x50de0a);}[_0x2fac47(0x1d5)](..._0x3335b6){var _0xf76584=_0x2fac47,_0x1cf03a={'dvjgC':_0xf76584(0x1bc)};console[_0xf76584(0x1ce)](_0x1cf03a[_0xf76584(0x1d1)],..._0x3335b6);}[_0x2fac47(0x1b7)](..._0x228bf9){var _0x3fe2b5=_0x2fac47,_0x230dba={'NJGKq':_0x3fe2b5(0x1bf)};console[_0x3fe2b5(0x1ce)](_0x230dba['NJGKq'],..._0x228bf9);}['onGroupExtListUpdate'](..._0x2d3337){var _0x21e578=_0x2fac47,_0x47ba34={'eBDRI':_0x21e578(0x1dc)};console[_0x21e578(0x1ce)](_0x47ba34[_0x21e578(0x1c0)],..._0x2d3337);}[_0x2fac47(0x1ba)](..._0x58db16){var _0x180cea=_0x2fac47;console[_0x180cea(0x1ce)]('onGroupFirstBulletinNotify:',..._0x58db16);}[_0x2fac47(0x1df)](..._0x36d2d4){var _0x31cbb7=_0x2fac47,_0x570c45={'dUmuo':'onGroupListUpdate:'};console['log'](_0x570c45[_0x31cbb7(0x1e1)],..._0x36d2d4);}['onGroupNotifiesUpdated'](..._0x370b0e){var _0x53bde3=_0x2fac47,_0x4e9b07={'uhfNz':_0x53bde3(0x1d9)};console[_0x53bde3(0x1ce)](_0x4e9b07[_0x53bde3(0x1cb)],..._0x370b0e);}[_0x2fac47(0x1e3)](..._0xa2589){var _0x5e27e3=_0x2fac47;console['log'](_0x5e27e3(0x1b2),..._0xa2589);}[_0x2fac47(0x1d4)](..._0x213c24){var _0x59b670=_0x2fac47;console[_0x59b670(0x1ce)]('onGroupNotifiesUnreadCountUpdated:',..._0x213c24);}[_0x2fac47(0x1b4)](..._0x3ac0ce){var _0x578f4a=_0x2fac47;console[_0x578f4a(0x1ce)](_0x578f4a(0x1bb),..._0x3ac0ce);}['onGroupsMsgMaskResult'](..._0x2c191e){var _0x258c63=_0x2fac47,_0x840476={'iybNA':_0x258c63(0x1e0)};console[_0x258c63(0x1ce)](_0x840476['iybNA'],..._0x2c191e);}[_0x2fac47(0x1ca)](..._0x340252){console['log']('onGroupStatisticInfoChange:',..._0x340252);}[_0x2fac47(0x1da)](..._0x244881){var _0x11945d=_0x2fac47,_0x4ef5e9={'cNWyf':'onJoinGroupNotify:'};console['log'](_0x4ef5e9[_0x11945d(0x1b6)],..._0x244881);}['onJoinGroupNoVerifyFlag'](..._0x2af3e1){var _0x2776d5=_0x2fac47;console[_0x2776d5(0x1ce)]('onJoinGroupNoVerifyFlag:',..._0x2af3e1);}[_0x2fac47(0x1dd)](_0x530959,_0x248de5,_0x365bff){var _0x23101e=_0x2fac47,_0x58a0c5={'moPRk':'onMemberInfoChange:'};console[_0x23101e(0x1ce)](_0x58a0c5[_0x23101e(0x1c9)],_0x530959,_0x248de5,_0x365bff);}['onMemberListChange'](..._0x1b72a6){var _0x4547f3=_0x2fac47;console['log'](_0x4547f3(0x1c4),..._0x1b72a6);}[_0x2fac47(0x1cd)](..._0x2878ca){var _0x23ef1f=_0x2fac47;console[_0x23ef1f(0x1ce)](_0x23ef1f(0x1d8),..._0x2878ca);}[_0x2fac47(0x1b8)](..._0x39add1){var _0x516fe6=_0x2fac47,_0x318f1a={'CFQnX':'onShutUpMemberListChanged:'};console[_0x516fe6(0x1ce)](_0x318f1a['CFQnX'],..._0x39add1);}} \ 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 d2e1a03f..69df3b21 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x2524de=_0x34a1;function _0x34a1(_0x2150dd,_0x522bdc){var _0x54b56e=_0x54b5();return _0x34a1=function(_0x34a1bf,_0x2f16e2){_0x34a1bf=_0x34a1bf-0x19b;var _0x430c3e=_0x54b56e[_0x34a1bf];return _0x430c3e;},_0x34a1(_0x2150dd,_0x522bdc);}(function(_0x26faff,_0x38ae38){var _0x477acd=_0x34a1,_0x18d3ca=_0x26faff();while(!![]){try{var _0x42d001=parseInt(_0x477acd(0x1a9))/0x1*(-parseInt(_0x477acd(0x1a1))/0x2)+parseInt(_0x477acd(0x1b0))/0x3+-parseInt(_0x477acd(0x1a0))/0x4*(parseInt(_0x477acd(0x1ad))/0x5)+-parseInt(_0x477acd(0x1ae))/0x6+parseInt(_0x477acd(0x1aa))/0x7+parseInt(_0x477acd(0x19d))/0x8*(parseInt(_0x477acd(0x19b))/0x9)+-parseInt(_0x477acd(0x1a5))/0xa;if(_0x42d001===_0x38ae38)break;else _0x18d3ca['push'](_0x18d3ca['shift']());}catch(_0xa4c117){_0x18d3ca['push'](_0x18d3ca['shift']());}}}(_0x54b5,0xc1d26));function _0x54b5(){var _0x1915e0=['onLoginDisConnected','7602100WGGVzR','onQRCodeLoginPollingStarted','onLoginFailed','onLogoutSucceed','21Exuolb','10400810XjPuFJ','onQQLoginNumLimited','onLogoutFailed','10esgszr','7227582HMVnqN','OnConfirmUnusualDeviceFailed','4646799XiQdbq','onQRCodeSessionFailed','onUserLoggedIn','onLoginState','204597qcfZjl','onQRCodeSessionUserScaned','328fAgfoy','onQRCodeSessionQuickLoginFailed','onPasswordLoginFailed','1189788PKlrSV','58402hnOpdF','onLoginConnecting','onQRCodeGetPicture'];_0x54b5=function(){return _0x1915e0;};return _0x54b5();}export class LoginListener{['onLoginConnected'](..._0x312570){}[_0x2524de(0x1a4)](..._0x3721bd){}[_0x2524de(0x1a2)](..._0x6318e6){}[_0x2524de(0x1a3)](_0x139f6c){}[_0x2524de(0x1a6)](..._0x48f662){}[_0x2524de(0x19c)](..._0x211131){}['onQRCodeLoginSucceed'](_0x5b71d7){}[_0x2524de(0x1b1)](..._0x91bf2b){}[_0x2524de(0x1a7)](..._0x4fbd0e){}[_0x2524de(0x1a8)](..._0x4c4b9c){}[_0x2524de(0x1ac)](..._0x1b9b89){}[_0x2524de(0x1b2)](..._0x25fe42){}[_0x2524de(0x19e)](..._0x3d7cde){}[_0x2524de(0x19f)](..._0x3c096d){}[_0x2524de(0x1af)](..._0x146f57){}[_0x2524de(0x1ab)](..._0x1a27f3){}[_0x2524de(0x1b3)](..._0x36bb29){}} \ No newline at end of file +function _0x2f62(_0x400ced,_0x53f347){var _0x1b90ce=_0x1b90();return _0x2f62=function(_0x2f6246,_0x40961b){_0x2f6246=_0x2f6246-0x15d;var _0x3c2fc7=_0x1b90ce[_0x2f6246];return _0x3c2fc7;},_0x2f62(_0x400ced,_0x53f347);}var _0x472096=_0x2f62;function _0x1b90(){var _0x36a1ee=['2166170xewyJs','860065XAWyeY','onLogoutFailed','onQRCodeSessionFailed','onUserLoggedIn','260604vISAzA','onLoginConnecting','89455wtaiPU','onLoginState','4UEnQTq','onLoginDisConnected','48YIVLuj','onPasswordLoginFailed','onLoginConnected','110hAIuIh','12738lzOlTy','onQQLoginNumLimited','1372jByAxy','onQRCodeLoginSucceed','82122kaqrUA','405818pKZCfq','onLogoutSucceed','onQRCodeSessionUserScaned'];_0x1b90=function(){return _0x36a1ee;};return _0x1b90();}(function(_0x366ee2,_0x12a3aa){var _0x2fee7c=_0x2f62,_0x1f45cd=_0x366ee2();while(!![]){try{var _0x41c781=-parseInt(_0x2fee7c(0x164))/0x1+-parseInt(_0x2fee7c(0x160))/0x2+parseInt(_0x2fee7c(0x15f))/0x3*(-parseInt(_0x2fee7c(0x16c))/0x4)+-parseInt(_0x2fee7c(0x16a))/0x5+-parseInt(_0x2fee7c(0x172))/0x6*(parseInt(_0x2fee7c(0x15d))/0x7)+parseInt(_0x2fee7c(0x16e))/0x8*(-parseInt(_0x2fee7c(0x168))/0x9)+parseInt(_0x2fee7c(0x163))/0xa*(parseInt(_0x2fee7c(0x171))/0xb);if(_0x41c781===_0x12a3aa)break;else _0x1f45cd['push'](_0x1f45cd['shift']());}catch(_0x106e75){_0x1f45cd['push'](_0x1f45cd['shift']());}}}(_0x1b90,0x72477));export class LoginListener{[_0x472096(0x170)](..._0x5951ac){}[_0x472096(0x16d)](..._0x7e59b0){}[_0x472096(0x169)](..._0x3bd450){}['onQRCodeGetPicture'](_0x870a08){}['onQRCodeLoginPollingStarted'](..._0x2512bb){}[_0x472096(0x162)](..._0x34a5f3){}[_0x472096(0x15e)](_0x432748){}[_0x472096(0x166)](..._0x40723a){}['onLoginFailed'](..._0x2e3717){}[_0x472096(0x161)](..._0x57ac99){}[_0x472096(0x165)](..._0x2d25fb){}[_0x472096(0x167)](..._0x12ee99){}['onQRCodeSessionQuickLoginFailed'](..._0x36bc89){}[_0x472096(0x16f)](..._0x4e6509){}['OnConfirmUnusualDeviceFailed'](..._0x384d7c){}[_0x472096(0x173)](..._0x5b0c5c){}[_0x472096(0x16b)](..._0x2213d4){}} \ 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 d769bbaf..0e34b07e 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x1be1(_0x5d4a40,_0x296864){var _0x30fdad=_0x30fd();return _0x1be1=function(_0x1be163,_0x51f2da){_0x1be163=_0x1be163-0x89;var _0x4242d2=_0x30fdad[_0x1be163];return _0x4242d2;},_0x1be1(_0x5d4a40,_0x296864);}var _0x2fcef6=_0x1be1;(function(_0x58d5b9,_0x58a3c1){var _0x57d24d=_0x1be1,_0x8281b9=_0x58d5b9();while(!![]){try{var _0x58dd09=parseInt(_0x57d24d(0x9f))/0x1*(parseInt(_0x57d24d(0xa0))/0x2)+parseInt(_0x57d24d(0x9c))/0x3*(parseInt(_0x57d24d(0xae))/0x4)+-parseInt(_0x57d24d(0xb3))/0x5*(-parseInt(_0x57d24d(0x90))/0x6)+parseInt(_0x57d24d(0x8c))/0x7+parseInt(_0x57d24d(0xaa))/0x8*(parseInt(_0x57d24d(0xac))/0x9)+parseInt(_0x57d24d(0xb4))/0xa*(-parseInt(_0x57d24d(0xb6))/0xb)+-parseInt(_0x57d24d(0x8a))/0xc;if(_0x58dd09===_0x58a3c1)break;else _0x8281b9['push'](_0x8281b9['shift']());}catch(_0x4d8eb9){_0x8281b9['push'](_0x8281b9['shift']());}}}(_0x30fd,0x55d0f));export class MsgListener{[_0x2fcef6(0xb7)](_0x22bd79){}['onBroadcastHelperDownloadComplete'](_0x256ca2){}['onBroadcastHelperProgressUpdate'](_0x113901){}[_0x2fcef6(0x9e)](_0x27e4ff,_0x50848f,_0x58856e){}['onContactUnreadCntUpdate'](_0x45cd4f){}['onCustomWithdrawConfigUpdate'](_0x6fb614){}[_0x2fcef6(0xa1)](_0x410b4f,_0x1455c7,_0x46a8ba){}[_0x2fcef6(0xba)](_0x24c996){}['onEmojiResourceUpdate'](_0x595ab5){}[_0x2fcef6(0x9a)](_0x5c0bc5){}[_0x2fcef6(0x96)](_0x46ab2c){}['onFirstViewDirectMsgUpdate'](_0x1eb8f1){}[_0x2fcef6(0xb2)](_0xdde5bf){}[_0x2fcef6(0xa8)](_0x2914c4,_0x61dab1,_0x592184,_0x1d01cf,_0x1fc35f){}[_0x2fcef6(0x9d)](_0x439c89){}['onGroupFileInfoUpdate'](_0x4b39ee){}['onGroupGuildUpdate'](_0x5e2dac){}[_0x2fcef6(0xa9)](_0x501d67){}['onGroupTransferInfoUpdate'](_0x356eb5){}[_0x2fcef6(0xb5)](_0x5719ee){}[_0x2fcef6(0x89)](_0x5e7488){}['onGuildNotificationAbstractUpdate'](_0x143981){}[_0x2fcef6(0x99)](_0x428fbf){}['onHitEmojiKeywordResult'](_0xdecb1b){}[_0x2fcef6(0x8e)](_0x228d1f){}['onImportOldDbProgressUpdate'](_0x4304ca){}['onInputStatusPush'](_0x2cb269){}[_0x2fcef6(0xb0)](_0x373b2c){}['onLineDev'](_0x38bdf3){}[_0x2fcef6(0x8f)](_0x4dba76){}['onMsgAbstractUpdate'](_0x10b590){}['onMsgBoxChanged'](_0x379e94){}[_0x2fcef6(0x8b)](_0xc4b066,_0x4e09e1){}[_0x2fcef6(0xb8)](_0x11e831){}[_0x2fcef6(0xa2)](_0x1e5e84){}['onMsgInfoListUpdate'](_0x1353f3){}['onMsgQRCodeStatusChanged'](_0x1e3542){}[_0x2fcef6(0x94)](_0xc1960e,_0xba9540,_0x3394fd){}[_0x2fcef6(0xad)](_0x558b89){}[_0x2fcef6(0xa7)](_0x1a6f7b){}[_0x2fcef6(0xbe)](){}[_0x2fcef6(0x8d)](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x1b5c24){}[_0x2fcef6(0xaf)](_0x33fa42){}[_0x2fcef6(0xc1)](_0x40d5f7){}[_0x2fcef6(0x97)](_0x5a5b6c,_0x2abe38,_0x32faa0,_0x481fbd,_0x2e19a7,_0x3d659a){}[_0x2fcef6(0xa4)](_0x2934e9){}[_0x2fcef6(0xa5)](_0x4f9287){}[_0x2fcef6(0xbd)](_0x48b72f){}['onRecvUDCFlag'](_0xa44557){}[_0x2fcef6(0xc0)](_0x597972){}['onRichMediaProgerssUpdate'](_0x3b98a0){}[_0x2fcef6(0xbb)](_0x56226b){}[_0x2fcef6(0x95)](_0x12261e){}[_0x2fcef6(0xb9)](_0x36243a,_0x217365,_0x50ab42,_0x454a26){}[_0x2fcef6(0xa3)](_0x2d251b,_0x55813b,_0x18a952,_0x209293){}[_0x2fcef6(0xbf)](_0x4acc66){}['onUnreadCntAfterFirstView'](_0x2d1463){}[_0x2fcef6(0xb1)](_0x1276c5){}['onUserChannelTabStatusChanged'](_0x1752e6){}[_0x2fcef6(0xbc)](_0x569a7e){}[_0x2fcef6(0x92)](_0x243d82){}[_0x2fcef6(0x98)](_0x1884f0,_0x20f1e9,_0x3608b3){}[_0x2fcef6(0x9b)](_0x5bfb67,_0x188a9e,_0x325ea6){}[_0x2fcef6(0x91)](..._0x468644){}[_0x2fcef6(0xa6)](..._0xcecf96){}[_0x2fcef6(0x93)](..._0x54ef9e){}[_0x2fcef6(0xab)](..._0x3b1f9b){}}function _0x30fd(){var _0x3cc51e=['onLogLevelChanged','732ylJwNQ','onUserSecQualityChanged','onUserTabStatusChanged','onRedTouchChanged','onMsgRecall','onSearchGroupFileInfoUpdate','onFileMsgCome','onRecvMsgSvrRspTransInfo','onlineStatusBigIconDownloadPush','onHitCsRelatedEmojiResult','onFeedEventUpdate','onlineStatusSmallIconDownloadPush','88677IMAeCA','onGroupFileInfoAdd','onChannelFreqLimitInfoUpdate','149749cNuBJZ','4YjuhTL','onDraftUpdate','onMsgInfoListAdd','onSysMsgNotification','onRecvOnlineFileMsg','onRecvS2CMsg','onMsgWithRichLinkInfoUpdate','onMsgSettingUpdate','onGrabPasswordRedBag','onGroupTransferInfoAdd','8zmCIwa','onBroadcastHelperProgerssUpdate','2957751hhHKKE','onMsgSecurityNotify','92lrOUCk','onRecvGroupGuildFlag','onKickedOffLine','onUnreadCntUpdate','onFirstViewGroupGuildMapping','20115Zbdtig','230qSkyNE','onGuildInteractiveUpdate','63052MDqIIo','onAddSendMsg','onMsgEventListUpdate','onSendMsgError','onEmojiDownloadComplete','onRichMediaUploadComplete','onUserOnlineStatusChanged','onRecvSysMsg','onNtFirstViewMsgSyncEnd','onTempChatInfoUpdate','onRichMediaDownloadComplete','onRecvMsg','onGuildMsgAbFlagChanged','16418004uuIFDe','onMsgDelete','368942HqCJIu','onNtMsgSyncEnd','onHitRelatedEmojiResult'];_0x30fd=function(){return _0x3cc51e;};return _0x30fd();} \ No newline at end of file +var _0x532ad0=_0x42b5;(function(_0x27e107,_0x244977){var _0x315824=_0x42b5,_0x1f57df=_0x27e107();while(!![]){try{var _0x1361fc=parseInt(_0x315824(0x133))/0x1+parseInt(_0x315824(0x136))/0x2+-parseInt(_0x315824(0x143))/0x3*(-parseInt(_0x315824(0x145))/0x4)+-parseInt(_0x315824(0x14d))/0x5*(-parseInt(_0x315824(0x14c))/0x6)+parseInt(_0x315824(0x125))/0x7+parseInt(_0x315824(0x13f))/0x8+-parseInt(_0x315824(0x129))/0x9;if(_0x1361fc===_0x244977)break;else _0x1f57df['push'](_0x1f57df['shift']());}catch(_0x5a2c16){_0x1f57df['push'](_0x1f57df['shift']());}}}(_0x11fb,0x5386e));function _0x42b5(_0x24f12a,_0x42260b){var _0x11fbb4=_0x11fb();return _0x42b5=function(_0x42b52c,_0x402f03){_0x42b52c=_0x42b52c-0x11a;var _0x488bd1=_0x11fbb4[_0x42b52c];return _0x488bd1;},_0x42b5(_0x24f12a,_0x42260b);}function _0x11fb(){var _0x1d1abe=['12092391GWyniR','onSearchGroupFileInfoUpdate','onKickedOffLine','onCustomWithdrawConfigUpdate','onContactUnreadCntUpdate','onNtMsgSyncStart','onFirstViewDirectMsgUpdate','onFeedEventUpdate','onBroadcastHelperProgerssUpdate','onRichMediaUploadComplete','208177tnYpku','onImportOldDbProgressUpdate','onMsgDelete','1184800EqPuHp','onBroadcastHelperProgressUpdate','onReadFeedEventUpdate','onUnreadCntUpdate','onHitEmojiKeywordResult','onDraftUpdate','onMsgEventListUpdate','onUnreadCntAfterFirstView','onUserChannelTabStatusChanged','1039248KhIfJQ','onTempChatInfoUpdate','onEmojiResourceUpdate','onLineDev','368247FMsNuJ','onRecvMsg','4Pjrlqv','onUserOnlineStatusChanged','onLogLevelChanged','onMsgSecurityNotify','onGroupFileInfoAdd','onMsgSettingUpdate','onGuildInteractiveUpdate','602358TwCRHB','5EGewSO','onMsgInfoListUpdate','onGroupTransferInfoAdd','onGrabPasswordRedBag','onUserSecQualityChanged','onlineStatusBigIconDownloadPush','onGroupGuildUpdate','onRecvMsgSvrRspTransInfo','onRecvS2CMsg','onGuildMsgAbFlagChanged','onFirstViewGroupGuildMapping','onMsgQRCodeStatusChanged','onGroupFileInfoUpdate','onGroupTransferInfoUpdate','onMsgWithRichLinkInfoUpdate','onHitCsRelatedEmojiResult','onRecvSysMsg','onRedTouchChanged','onBroadcastHelperDownloadComplete','onSysMsgNotification','onChannelFreqLimitInfoUpdate','onRichMediaDownloadComplete','3724700vkWbhw','onMsgAbstractUpdate','onRichMediaProgerssUpdate','onMsgBoxChanged'];_0x11fb=function(){return _0x1d1abe;};return _0x11fb();}export class MsgListener{['onAddSendMsg'](_0x1d7722){}[_0x532ad0(0x121)](_0x35a6ae){}[_0x532ad0(0x137)](_0x5985c6){}[_0x532ad0(0x123)](_0x12866e,_0x4d4730,_0x5a21ff){}[_0x532ad0(0x12d)](_0x58ebf2){}[_0x532ad0(0x12c)](_0x380242){}[_0x532ad0(0x13b)](_0x1b6eaa,_0xa9b230,_0x46d5ef){}['onEmojiDownloadComplete'](_0x94843){}[_0x532ad0(0x141)](_0x544686){}[_0x532ad0(0x130)](_0x1d5268){}['onFileMsgCome'](_0x5d5041){}[_0x532ad0(0x12f)](_0x5cba19){}[_0x532ad0(0x157)](_0x26a72d){}[_0x532ad0(0x150)](_0x3d8f1e,_0xaa6ac1,_0x29d1a9,_0x5360bd,_0x470762){}[_0x532ad0(0x149)](_0x5ec763){}[_0x532ad0(0x11b)](_0x3ae61e){}[_0x532ad0(0x153)](_0x33eebc){}[_0x532ad0(0x14f)](_0x46e3b1){}[_0x532ad0(0x11c)](_0x46454d){}[_0x532ad0(0x14b)](_0x35ba8f){}[_0x532ad0(0x156)](_0x166d80){}['onGuildNotificationAbstractUpdate'](_0x4b9664){}[_0x532ad0(0x11e)](_0x3bccdb){}[_0x532ad0(0x13a)](_0xfa8e6e){}['onHitRelatedEmojiResult'](_0x39b86f){}[_0x532ad0(0x134)](_0x2a5e8b){}['onInputStatusPush'](_0x57143b){}[_0x532ad0(0x12b)](_0x4f40ff){}[_0x532ad0(0x142)](_0x33eb4a){}[_0x532ad0(0x147)](_0xe84669){}[_0x532ad0(0x126)](_0xf8a9ee){}[_0x532ad0(0x128)](_0x55a7fd){}[_0x532ad0(0x135)](_0xfd70c8,_0x56b6ba){}[_0x532ad0(0x13c)](_0x3b3298){}['onMsgInfoListAdd'](_0x279357){}[_0x532ad0(0x14e)](_0x242edb){}[_0x532ad0(0x11a)](_0x29083e){}['onMsgRecall'](_0x1ecb16,_0xf376f1,_0x2d6fba){}[_0x532ad0(0x148)](_0xed9df9){}[_0x532ad0(0x14a)](_0x4c72ec){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}[_0x532ad0(0x12e)](){}[_0x532ad0(0x138)](_0x209546){}['onRecvGroupGuildFlag'](_0xf37bd5){}[_0x532ad0(0x144)](_0x53ff67){}[_0x532ad0(0x154)](_0x3c41d2,_0x29e0b3,_0x52aae4,_0x58dfda,_0x2940c1,_0x16fbef){}['onRecvOnlineFileMsg'](_0x2818ea){}[_0x532ad0(0x155)](_0x81111a){}[_0x532ad0(0x11f)](_0x4ccd77){}['onRecvUDCFlag'](_0x1da039){}[_0x532ad0(0x124)](_0x1a9fb3){}[_0x532ad0(0x127)](_0x1fa6e1){}[_0x532ad0(0x132)](_0x24ffed){}[_0x532ad0(0x12a)](_0x216217){}['onSendMsgError'](_0x207686,_0x1e8e89,_0x10f811,_0x449dd5){}[_0x532ad0(0x122)](_0x4b61a3,_0xbcbba8,_0x5f4b39,_0x779f26){}[_0x532ad0(0x140)](_0x55d678){}[_0x532ad0(0x13d)](_0x2df247){}[_0x532ad0(0x139)](_0x468e39){}[_0x532ad0(0x13e)](_0x245c1c){}[_0x532ad0(0x146)](_0x2b1d77){}['onUserTabStatusChanged'](_0x3d8917){}[_0x532ad0(0x152)](_0x19901f,_0x4b2ee1,_0x16a61b){}['onlineStatusSmallIconDownloadPush'](_0x2b1877,_0x1391a8,_0x3cf3ab){}[_0x532ad0(0x151)](..._0x5b2c41){}[_0x532ad0(0x11d)](..._0x4eb457){}[_0x532ad0(0x120)](..._0x2a3775){}[_0x532ad0(0x131)](..._0x4fc839){}} \ 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 01889ef1..f36c17da 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x32ad(){var _0x13d590=['93874HVPhmY','onStrangerRemarkChanged','9uvAqQl','onSelfStatusChanged','onStatusUpdate','16593248pmlSBz','200406XVfzWl','onProfileDetailInfoChanged','30ejCVsW','5321656hvCkkl','6035310erpZgw','2143770QkXKaS','553105GNxgEp','onProfileSimpleChanged'];_0x32ad=function(){return _0x13d590;};return _0x32ad();}var _0x3111ff=_0x4988;(function(_0x41b70d,_0x2abe96){var _0x21abb9=_0x4988,_0x136f68=_0x41b70d();while(!![]){try{var _0x11b254=-parseInt(_0x21abb9(0x18f))/0x1+parseInt(_0x21abb9(0x195))/0x2+-parseInt(_0x21abb9(0x18c))/0x3+-parseInt(_0x21abb9(0x198))/0x4+parseInt(_0x21abb9(0x199))/0x5+-parseInt(_0x21abb9(0x197))/0x6*(parseInt(_0x21abb9(0x18d))/0x7)+parseInt(_0x21abb9(0x194))/0x8*(parseInt(_0x21abb9(0x191))/0x9);if(_0x11b254===_0x2abe96)break;else _0x136f68['push'](_0x136f68['shift']());}catch(_0x7cd805){_0x136f68['push'](_0x136f68['shift']());}}}(_0x32ad,0xcee6c));function _0x4988(_0x4eea7d,_0x54f9b0){var _0x32ad43=_0x32ad();return _0x4988=function(_0x498838,_0x1317ba){_0x498838=_0x498838-0x18c;var _0x538c7f=_0x32ad43[_0x498838];return _0x538c7f;},_0x4988(_0x4eea7d,_0x54f9b0);}export class ProfileListener{[_0x3111ff(0x18e)](..._0x692aee){}[_0x3111ff(0x196)](_0x33f496){}[_0x3111ff(0x193)](..._0x441196){}[_0x3111ff(0x192)](..._0x1c59d2){}[_0x3111ff(0x190)](..._0x2d1bae){}} \ No newline at end of file +var _0x251038=_0x32e9;(function(_0x230a9e,_0x3d87b9){var _0x4dee39=_0x32e9,_0x2c8bbe=_0x230a9e();while(!![]){try{var _0x197e84=-parseInt(_0x4dee39(0x1d6))/0x1*(-parseInt(_0x4dee39(0x1cf))/0x2)+parseInt(_0x4dee39(0x1ce))/0x3+-parseInt(_0x4dee39(0x1cc))/0x4*(parseInt(_0x4dee39(0x1c7))/0x5)+parseInt(_0x4dee39(0x1c8))/0x6+-parseInt(_0x4dee39(0x1d5))/0x7*(parseInt(_0x4dee39(0x1c9))/0x8)+-parseInt(_0x4dee39(0x1d1))/0x9*(parseInt(_0x4dee39(0x1d4))/0xa)+-parseInt(_0x4dee39(0x1cb))/0xb*(-parseInt(_0x4dee39(0x1d2))/0xc);if(_0x197e84===_0x3d87b9)break;else _0x2c8bbe['push'](_0x2c8bbe['shift']());}catch(_0x504427){_0x2c8bbe['push'](_0x2c8bbe['shift']());}}}(_0x34e7,0xc5d2d));function _0x32e9(_0x400c42,_0x3d2349){var _0x34e77b=_0x34e7();return _0x32e9=function(_0x32e982,_0x4593dc){_0x32e982=_0x32e982-0x1c7;var _0xbb217c=_0x34e77b[_0x32e982];return _0xbb217c;},_0x32e9(_0x400c42,_0x3d2349);}function _0x34e7(){var _0x2d51f6=['5131368xrYPfD','4376VzoPkZ','onProfileSimpleChanged','6677eZRRli','5434068oeLqah','onStrangerRemarkChanged','3828573brTBek','36RkYyRp','onProfileDetailInfoChanged','9RoJyyY','28524tyJIjK','onSelfStatusChanged','14646890YQLBfp','13055DhIBaB','59966AjDEtA','5SyHAgD'];_0x34e7=function(){return _0x2d51f6;};return _0x34e7();}export class ProfileListener{[_0x251038(0x1ca)](..._0x1553d1){}[_0x251038(0x1d0)](_0xc3f91b){}['onStatusUpdate'](..._0x530924){}[_0x251038(0x1d3)](..._0x2cb1fc){}[_0x251038(0x1cd)](..._0x1d4f91){}} \ 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 f42c127d..b07fbc77 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x5161f8=_0x3a2e;function _0x3a2e(_0x4242bd,_0x2be9e4){var _0x4a19bf=_0x4a19();return _0x3a2e=function(_0x3a2edf,_0x3f2342){_0x3a2edf=_0x3a2edf-0x1dc;var _0x4f3bed=_0x4a19bf[_0x3a2edf];return _0x4f3bed;},_0x3a2e(_0x4242bd,_0x2be9e4);}function _0x4a19(){var _0x12b086=['7194alFRwj','1123230IchMPQ','5428199FUWfyc','2336913uuHNLb','onRobotProfileChanged','4dNxqlD','12080UlzPti','1296uVVpWb','onRobotFriendListChanged','9867160FUTLls','335pPdIlP','onRobotListChanged','731215WIXiad'];_0x4a19=function(){return _0x12b086;};return _0x4a19();}(function(_0x4f85eb,_0x17292b){var _0x1bdddc=_0x3a2e,_0x5ed21a=_0x4f85eb();while(!![]){try{var _0x365ff5=parseInt(_0x1bdddc(0x1e6))/0x1+parseInt(_0x1bdddc(0x1e8))/0x2+parseInt(_0x1bdddc(0x1dd))/0x3*(-parseInt(_0x1bdddc(0x1df))/0x4)+-parseInt(_0x1bdddc(0x1e4))/0x5*(parseInt(_0x1bdddc(0x1e7))/0x6)+-parseInt(_0x1bdddc(0x1dc))/0x7+-parseInt(_0x1bdddc(0x1e0))/0x8*(parseInt(_0x1bdddc(0x1e1))/0x9)+parseInt(_0x1bdddc(0x1e3))/0xa;if(_0x365ff5===_0x17292b)break;else _0x5ed21a['push'](_0x5ed21a['shift']());}catch(_0x4391fc){_0x5ed21a['push'](_0x5ed21a['shift']());}}}(_0x4a19,0x68551));export class KernelRobotListener{[_0x5161f8(0x1e2)](..._0x1d70c9){}[_0x5161f8(0x1e5)](..._0x27158d){}[_0x5161f8(0x1de)](..._0x35082b){}} \ No newline at end of file +var _0x121e78=_0x27c6;function _0x371b(){var _0x5b0fd3=['4UDjqIq','1086080yLPtLg','onRobotFriendListChanged','2723798cboUdQ','onRobotListChanged','8464236utHbYv','2568291dqWikN','10235133SaLixm','976077eWhAaw','1647736ajCmJY','28xFVxKs'];_0x371b=function(){return _0x5b0fd3;};return _0x371b();}(function(_0xcc90e1,_0xf0e62a){var _0x1cc121=_0x27c6,_0x278161=_0xcc90e1();while(!![]){try{var _0x87eda8=parseInt(_0x1cc121(0xa3))/0x1+parseInt(_0x1cc121(0x9e))/0x2+-parseInt(_0x1cc121(0xa1))/0x3+parseInt(_0x1cc121(0xa6))/0x4*(-parseInt(_0x1cc121(0xa7))/0x5)+parseInt(_0x1cc121(0xa0))/0x6+-parseInt(_0x1cc121(0xa5))/0x7*(parseInt(_0x1cc121(0xa4))/0x8)+-parseInt(_0x1cc121(0xa2))/0x9;if(_0x87eda8===_0xf0e62a)break;else _0x278161['push'](_0x278161['shift']());}catch(_0x33fb82){_0x278161['push'](_0x278161['shift']());}}}(_0x371b,0xae618));function _0x27c6(_0x27d278,_0x4b2189){var _0x371b68=_0x371b();return _0x27c6=function(_0x27c655,_0x15ce67){_0x27c655=_0x27c655-0x9d;var _0x47737b=_0x371b68[_0x27c655];return _0x47737b;},_0x27c6(_0x27d278,_0x4b2189);}export class KernelRobotListener{[_0x121e78(0x9d)](..._0x2732d1){}[_0x121e78(0x9f)](..._0x1fceff){}['onRobotProfileChanged'](..._0x307080){}} \ 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 8d839083..b7fb48d7 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x560d50=_0xa24e;function _0xa24e(_0xe6b3c,_0x2a1906){var _0x1bcaf9=_0x1bca();return _0xa24e=function(_0xa24e21,_0xf25696){_0xa24e21=_0xa24e21-0x124;var _0x57db19=_0x1bcaf9[_0xa24e21];return _0x57db19;},_0xa24e(_0xe6b3c,_0x2a1906);}(function(_0x5e3805,_0x288204){var _0x2f3f89=_0xa24e,_0x4b6e1d=_0x5e3805();while(!![]){try{var _0x46a690=-parseInt(_0x2f3f89(0x127))/0x1*(parseInt(_0x2f3f89(0x12c))/0x2)+-parseInt(_0x2f3f89(0x133))/0x3*(-parseInt(_0x2f3f89(0x128))/0x4)+parseInt(_0x2f3f89(0x130))/0x5+parseInt(_0x2f3f89(0x125))/0x6+-parseInt(_0x2f3f89(0x126))/0x7+-parseInt(_0x2f3f89(0x12e))/0x8*(-parseInt(_0x2f3f89(0x129))/0x9)+parseInt(_0x2f3f89(0x12f))/0xa*(parseInt(_0x2f3f89(0x131))/0xb);if(_0x46a690===_0x288204)break;else _0x4b6e1d['push'](_0x4b6e1d['shift']());}catch(_0x11283a){_0x4b6e1d['push'](_0x4b6e1d['shift']());}}}(_0x1bca,0xf2b43));function _0x1bca(){var _0x142bb4=['3832535IYRlIN','572rvMFzh','onNTSessionCreate','983070QdEPdw','onGProSessionCreate','7916766DGXAII','11867996jWQOfu','457yzMkDc','4YleRib','45VwkRZA','onUserOnlineResult','onGetSelfTinyId','1796VASXYo','onSessionInitComplete','733784HPGdMQ','43780swKeHl'];_0x1bca=function(){return _0x142bb4;};return _0x1bca();}export class SessionListener{[_0x560d50(0x132)](_0x1edc3f){}[_0x560d50(0x124)](_0x41d1e4){}[_0x560d50(0x12d)](_0x31863e){}['onOpentelemetryInit'](_0x485a6d){}[_0x560d50(0x12a)](_0x1c7468){}[_0x560d50(0x12b)](_0x460662){}} \ No newline at end of file +function _0x39a8(){var _0x4c537e=['onGProSessionCreate','376NWznIo','onGetSelfTinyId','onNTSessionCreate','302071aActse','370510LoUqVi','6746960HXICBk','1398081GvGbCY','onUserOnlineResult','7611768OiGfDN','onSessionInitComplete','1361038LLbDFv','1235064EPrTFB'];_0x39a8=function(){return _0x4c537e;};return _0x39a8();}var _0x52d870=_0x5ce5;(function(_0x5a20c8,_0x33ce0a){var _0xbeaf1d=_0x5ce5,_0x32b791=_0x5a20c8();while(!![]){try{var _0x52dad3=parseInt(_0xbeaf1d(0x179))/0x1+-parseInt(_0xbeaf1d(0x180))/0x2+parseInt(_0xbeaf1d(0x182))/0x3+-parseInt(_0xbeaf1d(0x17a))/0x4+-parseInt(_0xbeaf1d(0x181))/0x5+-parseInt(_0xbeaf1d(0x184))/0x6+-parseInt(_0xbeaf1d(0x17f))/0x7*(-parseInt(_0xbeaf1d(0x17c))/0x8);if(_0x52dad3===_0x33ce0a)break;else _0x32b791['push'](_0x32b791['shift']());}catch(_0xe7ed92){_0x32b791['push'](_0x32b791['shift']());}}}(_0x39a8,0xb572f));function _0x5ce5(_0x192502,_0x369c05){var _0x39a8fd=_0x39a8();return _0x5ce5=function(_0x5ce539,_0x1bef1f){_0x5ce539=_0x5ce539-0x178;var _0x53a358=_0x39a8fd[_0x5ce539];return _0x53a358;},_0x5ce5(_0x192502,_0x369c05);}export class SessionListener{[_0x52d870(0x17e)](_0x3125a0){}[_0x52d870(0x17b)](_0x84e309){}[_0x52d870(0x178)](_0x431585){}['onOpentelemetryInit'](_0x172a79){}[_0x52d870(0x183)](_0x5bfad0){}[_0x52d870(0x17d)](_0x5eed62){}} \ 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 a30307ee..de414b1c 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x5b5e5d=_0x22dd;(function(_0x242e29,_0x38affc){var _0x290d2a=_0x22dd,_0x298103=_0x242e29();while(!![]){try{var _0x52624b=parseInt(_0x290d2a(0xf4))/0x1+-parseInt(_0x290d2a(0xfa))/0x2*(parseInt(_0x290d2a(0xef))/0x3)+-parseInt(_0x290d2a(0xee))/0x4*(-parseInt(_0x290d2a(0xf9))/0x5)+-parseInt(_0x290d2a(0xf5))/0x6*(-parseInt(_0x290d2a(0xfc))/0x7)+-parseInt(_0x290d2a(0xf0))/0x8*(parseInt(_0x290d2a(0xfb))/0x9)+-parseInt(_0x290d2a(0xed))/0xa*(parseInt(_0x290d2a(0xf1))/0xb)+-parseInt(_0x290d2a(0xf3))/0xc;if(_0x52624b===_0x38affc)break;else _0x298103['push'](_0x298103['shift']());}catch(_0x251ce8){_0x298103['push'](_0x298103['shift']());}}}(_0x1fad,0x41a14));export class StorageCleanListener{[_0x5b5e5d(0xf2)](_0x1738c3){}[_0x5b5e5d(0xf6)](_0x3aa60b){}[_0x5b5e5d(0xf8)](_0x2520b2){}[_0x5b5e5d(0xf7)](_0x5758d6){}['onChatCleanDone'](_0x26f4c1){}}function _0x22dd(_0x5dbf05,_0x10d4ea){var _0x1fad05=_0x1fad();return _0x22dd=function(_0x22dd92,_0x21b616){_0x22dd92=_0x22dd92-0xed;var _0x127ab5=_0x1fad05[_0x22dd92];return _0x127ab5;},_0x22dd(_0x5dbf05,_0x10d4ea);}function _0x1fad(){var _0x5e4a14=['onFinishScan','onCleanCacheStorageChanged','2321445XanmYz','301148mCTdyW','9VgTadh','65086QUKlJw','3707020KzikDL','4mOtieH','3imIONz','1928728VXJtCV','11SZmwVp','onCleanCacheProgressChanged','3155628AAYufr','439351OmMJMk','252tdHsJV','onScanCacheProgressChanged'];_0x1fad=function(){return _0x5e4a14;};return _0x1fad();} \ No newline at end of file +var _0x4d4fd1=_0x4a09;function _0x5800(){var _0xa25b49=['onCleanCacheStorageChanged','onCleanCacheProgressChanged','5079666jaYHxw','34840wRFjFN','onScanCacheProgressChanged','5aDCquY','3678890plGeVj','1534260Cnxzqe','4409552VRsfsf','1393iCTKyA','27YeYxcB','onFinishScan','359622tzmEBC','onChatCleanDone','110qYqDNn','6632145ammGyB'];_0x5800=function(){return _0xa25b49;};return _0x5800();}(function(_0x1dd2a7,_0x2c2da0){var _0x41e87d=_0x4a09,_0x27f614=_0x1dd2a7();while(!![]){try{var _0x4fe0d0=-parseInt(_0x41e87d(0x12a))/0x1+-parseInt(_0x41e87d(0x12f))/0x2*(parseInt(_0x41e87d(0x12d))/0x3)+parseInt(_0x41e87d(0x12b))/0x4+-parseInt(_0x41e87d(0x128))/0x5*(parseInt(_0x41e87d(0x125))/0x6)+parseInt(_0x41e87d(0x12c))/0x7*(parseInt(_0x41e87d(0x126))/0x8)+-parseInt(_0x41e87d(0x132))/0x9+parseInt(_0x41e87d(0x129))/0xa*(parseInt(_0x41e87d(0x131))/0xb);if(_0x4fe0d0===_0x2c2da0)break;else _0x27f614['push'](_0x27f614['shift']());}catch(_0x2920f3){_0x27f614['push'](_0x27f614['shift']());}}}(_0x5800,0xde9e8));function _0x4a09(_0x2066ff,_0x4262d9){var _0x58006b=_0x5800();return _0x4a09=function(_0x4a093e,_0x446870){_0x4a093e=_0x4a093e-0x125;var _0x405ad6=_0x58006b[_0x4a093e];return _0x405ad6;},_0x4a09(_0x2066ff,_0x4262d9);}export class StorageCleanListener{[_0x4d4fd1(0x134)](_0x26fed1){}[_0x4d4fd1(0x127)](_0x650ea3){}[_0x4d4fd1(0x133)](_0x30e89c){}[_0x4d4fd1(0x12e)](_0xfe9883){}[_0x4d4fd1(0x130)](_0x380628){}} \ 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 e670a7ee..fbcf957d 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x44ba0a,_0x7c379c){var _0x3bbe00=_0x5353,_0x52ae53=_0x44ba0a();while(!![]){try{var _0x5919b4=-parseInt(_0x3bbe00(0x174))/0x1+parseInt(_0x3bbe00(0x178))/0x2*(-parseInt(_0x3bbe00(0x17b))/0x3)+parseInt(_0x3bbe00(0x179))/0x4*(-parseInt(_0x3bbe00(0x17f))/0x5)+parseInt(_0x3bbe00(0x175))/0x6+-parseInt(_0x3bbe00(0x17a))/0x7*(-parseInt(_0x3bbe00(0x17e))/0x8)+parseInt(_0x3bbe00(0x177))/0x9*(parseInt(_0x3bbe00(0x17c))/0xa)+parseInt(_0x3bbe00(0x17d))/0xb*(-parseInt(_0x3bbe00(0x176))/0xc);if(_0x5919b4===_0x7c379c)break;else _0x52ae53['push'](_0x52ae53['shift']());}catch(_0x4cd605){_0x52ae53['push'](_0x52ae53['shift']());}}}(_0x55f6,0x61bfe));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x55f6(){var _0x553f18=['36DfstdB','1211nOCYJl','738JJPfuF','3180AtLrIA','539baVCiZ','14952iQedsi','313675vorBWx','46662KdqDEH','3816432dshBCy','109704CrVkoc','17631fPUIwy','998kogicC'];_0x55f6=function(){return _0x553f18;};return _0x55f6();}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x5353(_0x5f4e89,_0x5891a9){var _0x55f672=_0x55f6();return _0x5353=function(_0x5353f6,_0x33f9f0){_0x5353f6=_0x5353f6-0x174;var _0x481c99=_0x55f672[_0x5353f6];return _0x481c99;},_0x5353(_0x5f4e89,_0x5891a9);}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0xaad254,_0x2ded86){var _0x272df5=_0x1f65,_0x1f246a=_0xaad254();while(!![]){try{var _0x4a1c1e=parseInt(_0x272df5(0xdc))/0x1+-parseInt(_0x272df5(0xdb))/0x2*(parseInt(_0x272df5(0xdd))/0x3)+parseInt(_0x272df5(0xde))/0x4+parseInt(_0x272df5(0xd9))/0x5*(parseInt(_0x272df5(0xda))/0x6)+parseInt(_0x272df5(0xdf))/0x7+parseInt(_0x272df5(0xd7))/0x8*(-parseInt(_0x272df5(0xd8))/0x9)+-parseInt(_0x272df5(0xe0))/0xa;if(_0x4a1c1e===_0x2ded86)break;else _0x1f246a['push'](_0x1f246a['shift']());}catch(_0x5ca8f1){_0x1f246a['push'](_0x1f246a['shift']());}}}(_0x3469,0x7660f));function _0x1f65(_0x271658,_0x102e1b){var _0x346900=_0x3469();return _0x1f65=function(_0x1f655f,_0x9afbc5){_0x1f655f=_0x1f655f-0xd7;var _0x2da023=_0x346900[_0x1f655f];return _0x2da023;},_0x1f65(_0x271658,_0x102e1b);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x3469(){var _0x3fc991=['349620qtSXxS','52068FvkcBz','2446264jrVXgm','2334710LdDLJu','9475660liyOkT','8ujIoPK','27315HLDbMw','2217680YEmTtu','12EYofus','86ndYoyS'];_0x3469=function(){return _0x3fc991;};return _0x3469();}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 3439dfc6..80d5a380 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x178f93,_0x6e8a4f){var _0x5727d0=_0x2ad1,_0x3bdb0f=_0x178f93();while(!![]){try{var _0x35f1ff=-parseInt(_0x5727d0(0x16c))/0x1*(-parseInt(_0x5727d0(0x16b))/0x2)+-parseInt(_0x5727d0(0x172))/0x3+parseInt(_0x5727d0(0x16f))/0x4+parseInt(_0x5727d0(0x168))/0x5*(parseInt(_0x5727d0(0x16a))/0x6)+-parseInt(_0x5727d0(0x16d))/0x7*(parseInt(_0x5727d0(0x170))/0x8)+parseInt(_0x5727d0(0x16e))/0x9*(-parseInt(_0x5727d0(0x167))/0xa)+-parseInt(_0x5727d0(0x171))/0xb*(-parseInt(_0x5727d0(0x169))/0xc);if(_0x35f1ff===_0x6e8a4f)break;else _0x3bdb0f['push'](_0x3bdb0f['shift']());}catch(_0x57c1cd){_0x3bdb0f['push'](_0x3bdb0f['shift']());}}}(_0x12fd,0x72941));function _0x2ad1(_0x1c01fe,_0x4fc683){var _0x12fda4=_0x12fd();return _0x2ad1=function(_0x2ad1d7,_0x45ca45){_0x2ad1d7=_0x2ad1d7-0x167;var _0x398451=_0x12fda4[_0x2ad1d7];return _0x398451;},_0x2ad1(_0x1c01fe,_0x4fc683);}function _0x12fd(){var _0x3ab807=['2979XVCUZU','768236jvcJGw','196520GGwVJo','643082oEkOOO','1817886fvnEOR','22180tGPMev','426495pvcjPc','96ShlbPu','42IEBvnD','1792990iwkdTX','1fGGaFO','98TDJeai'];_0x12fd=function(){return _0x3ab807;};return _0x12fd();}export var GeneralCallResultStatus;(function(_0x2ccbf5){_0x2ccbf5[_0x2ccbf5['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x49b2(_0x1b4f52,_0xb63e84){var _0x510301=_0x5103();return _0x49b2=function(_0x49b29a,_0x238896){_0x49b29a=_0x49b29a-0x16b;var _0x5eb128=_0x510301[_0x49b29a];return _0x5eb128;},_0x49b2(_0x1b4f52,_0xb63e84);}(function(_0x2a8627,_0xcb1f7){var _0x5600f6=_0x49b2,_0x20dc57=_0x2a8627();while(!![]){try{var _0x384218=-parseInt(_0x5600f6(0x16f))/0x1+parseInt(_0x5600f6(0x16c))/0x2*(parseInt(_0x5600f6(0x172))/0x3)+parseInt(_0x5600f6(0x171))/0x4+-parseInt(_0x5600f6(0x16b))/0x5+-parseInt(_0x5600f6(0x16d))/0x6+-parseInt(_0x5600f6(0x170))/0x7+parseInt(_0x5600f6(0x16e))/0x8;if(_0x384218===_0xcb1f7)break;else _0x20dc57['push'](_0x20dc57['shift']());}catch(_0xe44c29){_0x20dc57['push'](_0x20dc57['shift']());}}}(_0x5103,0x2bda9));export var GeneralCallResultStatus;(function(_0x3a4a8d){_0x3a4a8d[_0x3a4a8d['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x5103(){var _0x1cb1b8=['2205637WtLCMJ','147788LJWKbE','766281LbrFip','763725AabgPU','2KPjllf','1457442rLfqAN','4983488JOXCCs','24942UkBuZd'];_0x5103=function(){return _0x1cb1b8;};return _0x5103();} \ 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 5d242b13..0c6f7a90 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x104a4d,_0x349ac5){var _0x97067=_0x46da,_0x5b8606=_0x104a4d();while(!![]){try{var _0x3b94fc=parseInt(_0x97067(0x93))/0x1*(parseInt(_0x97067(0x91))/0x2)+parseInt(_0x97067(0x97))/0x3*(parseInt(_0x97067(0x90))/0x4)+parseInt(_0x97067(0x95))/0x5*(-parseInt(_0x97067(0x96))/0x6)+-parseInt(_0x97067(0x99))/0x7+parseInt(_0x97067(0x8e))/0x8*(-parseInt(_0x97067(0x92))/0x9)+-parseInt(_0x97067(0x8f))/0xa*(-parseInt(_0x97067(0x94))/0xb)+parseInt(_0x97067(0x98))/0xc;if(_0x3b94fc===_0x349ac5)break;else _0x5b8606['push'](_0x5b8606['shift']());}catch(_0x4a111f){_0x5b8606['push'](_0x5b8606['shift']());}}}(_0xecd4,0xaec8f));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0xecd4(){var _0x546d22=['3PTOWft','30040080zRGcvF','4370100qZAIDq','758256rKyhvy','1680530boztfR','2691648azuboZ','15716ENQYPB','108PORsne','10AqGHEx','11tkCsmE','60595CfJFJb','468qcHknk'];_0xecd4=function(){return _0x546d22;};return _0xecd4();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x46da(_0x57d4fa,_0xff5582){var _0xecd438=_0xecd4();return _0x46da=function(_0x46da7b,_0x40f3a0){_0x46da7b=_0x46da7b-0x8e;var _0x4f5004=_0xecd438[_0x46da7b];return _0x4f5004;},_0x46da(_0x57d4fa,_0xff5582);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x4f3a05,_0x289678){var _0xb829d4=_0x35ca,_0x47e609=_0x4f3a05();while(!![]){try{var _0x426647=parseInt(_0xb829d4(0x157))/0x1*(parseInt(_0xb829d4(0x153))/0x2)+-parseInt(_0xb829d4(0x155))/0x3*(-parseInt(_0xb829d4(0x14e))/0x4)+parseInt(_0xb829d4(0x152))/0x5+-parseInt(_0xb829d4(0x150))/0x6*(-parseInt(_0xb829d4(0x158))/0x7)+parseInt(_0xb829d4(0x154))/0x8*(-parseInt(_0xb829d4(0x14f))/0x9)+-parseInt(_0xb829d4(0x151))/0xa*(parseInt(_0xb829d4(0x156))/0xb)+parseInt(_0xb829d4(0x159))/0xc;if(_0x426647===_0x289678)break;else _0x47e609['push'](_0x47e609['shift']());}catch(_0x360837){_0x47e609['push'](_0x47e609['shift']());}}}(_0x2f1f,0xbf3c3));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';export*from'./NodeIKernelStorageCleanService';function _0x2f1f(){var _0x20f850=['3120445mraTkK','2NnMMbg','87800arLJSE','47202IHlpgZ','1179849TOEDgk','1293528Hqvajn','149590mHDLKG','1869888MHIJjl','156QRVtKG','963gbregz','6LfDlVp','70JzKCpD'];_0x2f1f=function(){return _0x20f850;};return _0x2f1f();}function _0x35ca(_0x9ef32a,_0x3bdd12){var _0x2f1fb4=_0x2f1f();return _0x35ca=function(_0x35ca1d,_0x451ed7){_0x35ca1d=_0x35ca1d-0x14e;var _0x1ef293=_0x2f1fb4[_0x35ca1d];return _0x1ef293;},_0x35ca(_0x9ef32a,_0x3bdd12);}export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 1c19a45c..da9ab551 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x4f1f85,_0x4b8928){const _0x1224fc=_0x4574,_0x28520f=_0x4f1f85();while(!![]){try{const _0x1d032e=-parseInt(_0x1224fc(0x19a))/0x1+-parseInt(_0x1224fc(0x191))/0x2*(-parseInt(_0x1224fc(0x190))/0x3)+parseInt(_0x1224fc(0x198))/0x4*(-parseInt(_0x1224fc(0x197))/0x5)+-parseInt(_0x1224fc(0x194))/0x6*(-parseInt(_0x1224fc(0x199))/0x7)+parseInt(_0x1224fc(0x18d))/0x8+parseInt(_0x1224fc(0x186))/0x9+-parseInt(_0x1224fc(0x18c))/0xa;if(_0x1d032e===_0x4b8928)break;else _0x28520f['push'](_0x28520f['shift']());}catch(_0x2e4ae5){_0x28520f['push'](_0x28520f['shift']());}}}(_0x47a4,0x77088));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x16ca20 from'node:path';import _0x2bae57 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x4574(_0x2b0e06,_0x1f6c1a){const _0x47a4a=_0x47a4();return _0x4574=function(_0x457409,_0x3d6c89){_0x457409=_0x457409-0x186;let _0x1296df=_0x47a4a[_0x457409];return _0x1296df;},_0x4574(_0x2b0e06,_0x1f6c1a);}export function genSessionConfig(_0x44d850,_0x42dff4,_0x2b0fc7){const _0x5844c8=_0x4574,_0x382697={'arcvs':_0x5844c8(0x189),'SMYVg':_0x5844c8(0x18e),'UMGAi':_0x5844c8(0x18a)},_0x5b05a4=_0x16ca20[_0x5844c8(0x19b)](_0x2b0fc7,_0x382697[_0x5844c8(0x18b)],_0x5844c8(0x196));_0x2bae57[_0x5844c8(0x192)](_0x5b05a4,{'recursive':!![]});const _0x2a835b=_0x16ca20[_0x5844c8(0x19b)](_0x2b0fc7,_0x382697[_0x5844c8(0x18b)],'guid.txt');let _0x4a6c5e=randomUUID();try{_0x4a6c5e=_0x2bae57[_0x5844c8(0x187)](_0x16ca20[_0x5844c8(0x19b)](_0x2a835b),_0x5844c8(0x18e));}catch(_0x2b8a6d){_0x2bae57[_0x5844c8(0x19c)](_0x16ca20[_0x5844c8(0x19b)](_0x2a835b),_0x4a6c5e,_0x382697[_0x5844c8(0x193)]);}const _0x4f4971={'selfUin':_0x44d850,'selfUid':_0x42dff4,'desktopPathConfig':{'account_path':_0x2b0fc7},'clientVer':qqVersionConfigInfo[_0x5844c8(0x195)],'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':_0x5b05a4,'deviceInfo':{'guid':_0x4a6c5e,'buildVer':qqPkgInfo[_0x5844c8(0x188)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x382697['UMGAi']};return Object[_0x5844c8(0x18f)](sessionConfig,_0x4f4971),_0x4f4971;}function _0x47a4(){const _0xf0a0c8=['4EWvxYn','4137833faZuqe','17534wecUEw','join','writeFileSync','545751sjyxsN','readFileSync','version','NapCat','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','arcvs','4912010fQUrtF','5698008QGeqEz','utf-8','assign','13791kjJZDX','50hYAkAo','mkdirSync','SMYVg','6FWJxkG','curVersion','temp','2413195ZjvWMt'];_0x47a4=function(){return _0xf0a0c8;};return _0x47a4();} \ No newline at end of file +(function(_0x3fc743,_0x2e734d){const _0x38ecc2=_0x5acf,_0x41164b=_0x3fc743();while(!![]){try{const _0x586c2b=parseInt(_0x38ecc2(0xcd))/0x1*(parseInt(_0x38ecc2(0xcc))/0x2)+parseInt(_0x38ecc2(0xc4))/0x3*(parseInt(_0x38ecc2(0xc6))/0x4)+parseInt(_0x38ecc2(0xd1))/0x5*(parseInt(_0x38ecc2(0xc9))/0x6)+-parseInt(_0x38ecc2(0xcf))/0x7+parseInt(_0x38ecc2(0xc3))/0x8*(parseInt(_0x38ecc2(0xc2))/0x9)+-parseInt(_0x38ecc2(0xd0))/0xa+-parseInt(_0x38ecc2(0xd2))/0xb*(-parseInt(_0x38ecc2(0xc8))/0xc);if(_0x586c2b===_0x2e734d)break;else _0x41164b['push'](_0x41164b['shift']());}catch(_0xab427){_0x41164b['push'](_0x41164b['shift']());}}}(_0x42cd,0xabd18));function _0x5acf(_0x4775d2,_0x4c2cb3){const _0x42cd82=_0x42cd();return _0x5acf=function(_0x5acfbc,_0x10402a){_0x5acfbc=_0x5acfbc-0xc1;let _0x1ff8ed=_0x42cd82[_0x5acfbc];return _0x1ff8ed;},_0x5acf(_0x4775d2,_0x4c2cb3);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0xd98056 from'node:path';import _0xf39e9f from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x3b34e0,_0x214f41,_0x8e9bdd){const _0x1c1ed4=_0x5acf,_0x327e7c={'hjhIZ':_0x1c1ed4(0xc1),'lyjkG':function(_0x26e3ae){return _0x26e3ae();},'NLFxp':'utf-8','flEqL':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x389895=_0xd98056[_0x1c1ed4(0xca)](_0x8e9bdd,_0x327e7c[_0x1c1ed4(0xc7)],'temp');_0xf39e9f[_0x1c1ed4(0xd3)](_0x389895,{'recursive':!![]});const _0xb51edf=_0xd98056['join'](_0x8e9bdd,_0x327e7c[_0x1c1ed4(0xc7)],_0x1c1ed4(0xce));let _0x50a7af=_0x327e7c[_0x1c1ed4(0xc5)](randomUUID);try{_0x50a7af=_0xf39e9f['readFileSync'](_0xd98056['join'](_0xb51edf),_0x327e7c['NLFxp']);}catch(_0x4bc425){_0xf39e9f[_0x1c1ed4(0xd4)](_0xd98056[_0x1c1ed4(0xca)](_0xb51edf),_0x50a7af,_0x327e7c['NLFxp']);}const _0x35b2bc={'selfUin':_0x3b34e0,'selfUid':_0x214f41,'desktopPathConfig':{'account_path':_0x8e9bdd},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x389895,'deviceInfo':{'guid':_0x50a7af,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x327e7c['flEqL']};return Object[_0x1c1ed4(0xcb)](sessionConfig,_0x35b2bc),_0x35b2bc;}function _0x42cd(){const _0x5bb349=['hjhIZ','311880JAHKCb','25374qXZfLe','join','assign','28sMZJyW','8876KGHgQD','guid.txt','5623443diGffY','4851820bNwwYa','170QRvauE','451FLDLwe','mkdirSync','writeFileSync','NapCat','8361jcMRut','2688nRaYTO','346515nYCWaa','lyjkG','12bJfhNK'];_0x42cd=function(){return _0x5bb349;};return _0x42cd();} \ 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 f147af55..bd011872 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0xf521(_0x287b64,_0x3be384){const _0x950f5e=_0x950f();return _0xf521=function(_0xf52191,_0x3a66a0){_0xf52191=_0xf52191-0x8a;let _0x19bc1f=_0x950f5e[_0xf52191];return _0x19bc1f;},_0xf521(_0x287b64,_0x3be384);}const _0x1f6a2b=_0xf521;(function(_0x93b2ef,_0x2ab49a){const _0x34b3b1=_0xf521,_0x204749=_0x93b2ef();while(!![]){try{const _0x74845f=-parseInt(_0x34b3b1(0x97))/0x1*(parseInt(_0x34b3b1(0x8e))/0x2)+parseInt(_0x34b3b1(0x90))/0x3+parseInt(_0x34b3b1(0x99))/0x4*(parseInt(_0x34b3b1(0x95))/0x5)+parseInt(_0x34b3b1(0x8f))/0x6+-parseInt(_0x34b3b1(0x91))/0x7*(-parseInt(_0x34b3b1(0x93))/0x8)+parseInt(_0x34b3b1(0x98))/0x9+-parseInt(_0x34b3b1(0x8c))/0xa;if(_0x74845f===_0x2ab49a)break;else _0x204749['push'](_0x204749['shift']());}catch(_0x5c06ea){_0x204749['push'](_0x204749['shift']());}}}(_0x950f,0x57e66));function _0x950f(){const _0x2b0e93=['napcat_','consoleLogLevel','getConfigDir','fileLogLevel','20490840BhfzTl','consoleLog','515022CqJHuv','3417306Dcnaii','1132155eHLrKy','3901065fAQLoy','getConfigPath','8UwtiiE','INFO','5RRxDbV','DEBUG','1NLKuDe','4405509AUwjiI','2691604vqcaua','uin'];_0x950f=function(){return _0x2b0e93;};return _0x950f();}import _0x362f9d from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];[_0x1f6a2b(0x8d)]=!![];[_0x1f6a2b(0x8b)]=LogLevel[_0x1f6a2b(0x96)];[_0x1f6a2b(0x9c)]=LogLevel[_0x1f6a2b(0x94)];constructor(){super();}[_0x1f6a2b(0x92)](){const _0x42268f=_0x1f6a2b;return _0x362f9d['join'](this[_0x42268f(0x8a)](),_0x42268f(0x9b)+selfInfo[_0x42268f(0x9a)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x24c0fc=_0x10d5;function _0x1600(){const _0x23d132=['join','fileLog','consoleLog','.json','6168820EBoNPA','napcat_','6nDnyol','11cWTkmh','2150856wSBRQI','getConfigDir','175564nmBydH','2123856WxXIiP','4TbvIUD','359186hfEVsI','12ByPcSw','DEBUG','2953165DbWkCb','3752568rFmrDK','14JxbqKg','uin','fileLogLevel'];_0x1600=function(){return _0x23d132;};return _0x1600();}(function(_0x15f526,_0x15cdeb){const _0x391803=_0x10d5,_0xe1eccd=_0x15f526();while(!![]){try{const _0x344492=-parseInt(_0x391803(0x79))/0x1*(parseInt(_0x391803(0x7a))/0x2)+parseInt(_0x391803(0x7b))/0x3*(parseInt(_0x391803(0x77))/0x4)+parseInt(_0x391803(0x7d))/0x5*(parseInt(_0x391803(0x73))/0x6)+parseInt(_0x391803(0x7f))/0x7*(-parseInt(_0x391803(0x78))/0x8)+parseInt(_0x391803(0x7e))/0x9+-parseInt(_0x391803(0x86))/0xa*(-parseInt(_0x391803(0x74))/0xb)+-parseInt(_0x391803(0x75))/0xc;if(_0x344492===_0x15cdeb)break;else _0xe1eccd['push'](_0xe1eccd['shift']());}catch(_0xcae78a){_0xe1eccd['push'](_0xe1eccd['shift']());}}}(_0x1600,0x5ab01));import _0x2dacde from'node:path';function _0x10d5(_0x2b8498,_0x43923f){const _0x1600d2=_0x1600();return _0x10d5=function(_0x10d51c,_0x49f3ca){_0x10d51c=_0x10d51c-0x73;let _0x54ae90=_0x1600d2[_0x10d51c];return _0x54ae90;},_0x10d5(_0x2b8498,_0x43923f);}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x24c0fc(0x83)]=!![];[_0x24c0fc(0x84)]=!![];[_0x24c0fc(0x81)]=LogLevel[_0x24c0fc(0x7c)];['consoleLogLevel']=LogLevel['INFO'];constructor(){super();}['getConfigPath'](){const _0xc8083b=_0x24c0fc;return _0x2dacde[_0xc8083b(0x82)](this[_0xc8083b(0x76)](),_0xc8083b(0x87)+selfInfo[_0xc8083b(0x80)]+_0xc8083b(0x85));}}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 0b00d809..88870c26 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -function _0x16dc(){const _0x425067=['then','db\x20could\x20not\x20add\x20msg','清理消息缓存','YxsEl','wLiUd','716DMigeE','Could\x20not\x20create\x20table\x20msgs','msgSeq','UPFyP','ZcBIS','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','Xddvp','QsyTD','3676424ypevxY','lbSVc','uuid','qaFZi','IblJH','1148646INbmOf','ARSSj','gRXzd','getMsgByLongId','addMsg','get','UYhlK','catch','updateMsg','hVAvm','IPsPp','XpGtq','LJtqS','qXZnT','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','TPIhP','JHtGh','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','lJQaR','getReceivedTempUinMap','Could\x20not\x20get\x20msg','716576oakPTI','WkXve','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','msgCache','uid','has','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','getMsg','2643hfUVDe','OrYah','tNzsm','yJzKX','tdMjp','delete','sypzs','msgId','sbqgK','iQsyz','forEach','Xiyvi','elementId','记录消息到数据库,\x20消息长id:\x20','path','POhLo','wwyuh','maxId','getMsgsByMsgId','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','assign','UMECq','prepare',',\x20短id:\x20','db\x20could\x20not\x20add\x20file','hAyVT','element','now','parse','JDmNz','db\x20could\x20not\x20get\x20file\x20cache','kGWlX','set','getFileCache','all','run','Method\x20not\x20implemented.','KzlLT','QvAyD','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','5341406dGXQBW','size','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','kvPgH','msgList','tUkny','DIYbs','pHuhs','Could\x20not\x20create\x20table\x20temp_uins','db\x20could\x20not\x20get\x20temp\x20uin\x20map','getMsgBySeq','NdljG','errno','gRQqJ','chatType','Could\x20not\x20create\x20table\x20files','LiBGl','close','stack','kfvSw','SELECT\x20*\x20FROM\x20temp_uins','\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)','QWIWx','sueAy','KoEFP','hCvgF','Cvjds','elementType','Could\x20not\x20connect\x20to\x20database','url','oevYA','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','getMsgByShortId','PSDtA','数据库中消息最大短id','db\x20could\x20not\x20update\x20file\x20cache','iEdlz','agrmz','swfrD','init','XZbNU','toString','16068942VtIggb','peerUid','db\x20getMsgByLongId\x20error','BWyxb','1985268AydWVb','addTempUin','getFileCacheByUuid','QlpvE','createTable','getFileCacheByName','更新消息,\x20shortId:','BknsT','name','gRsVx','globalMsgShortId','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','getCurrentMaxShortId','Database','padFO','OPEN_READWRITE','5CRLuPt','EeemT','\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)','BKxNd','OPEN_CREATE'];_0x16dc=function(){return _0x425067;};return _0x16dc();}const _0x3ca36c=_0x1e9f;(function(_0x1de2fd,_0x639761){const _0x1a5957=_0x1e9f,_0x45dea2=_0x1de2fd();while(!![]){try{const _0x30856f=parseInt(_0x1a5957(0x13c))/0x1+-parseInt(_0x1a5957(0xff))/0x2+parseInt(_0x1a5957(0x144))/0x3*(parseInt(_0x1a5957(0x119))/0x4)+parseInt(_0x1a5957(0x10f))/0x5*(parseInt(_0x1a5957(0x126))/0x6)+-parseInt(_0x1a5957(0x16c))/0x7+-parseInt(_0x1a5957(0x121))/0x8+parseInt(_0x1a5957(0xfb))/0x9;if(_0x30856f===_0x639761)break;else _0x45dea2['push'](_0x45dea2['shift']());}catch(_0x13c6e9){_0x45dea2['push'](_0x45dea2['shift']());}}}(_0x16dc,0x9b405));import _0x120ee5 from'sqlite3';function _0x1e9f(_0x58ec3f,_0x39e7ac){const _0x16dcd5=_0x16dc();return _0x1e9f=function(_0x1e9f9a,_0x28bc80){_0x1e9f9a=_0x1e9f9a-0xe6;let _0x314dd1=_0x16dcd5[_0x1e9f9a];return _0x314dd1;},_0x1e9f(_0x58ec3f,_0x39e7ac);}import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x3ca36c(0xf8)](_0x4ecb41){const _0x153410=_0x3ca36c,_0x446054={'lbSVc':function(_0x23bd05,_0x429169,_0x56ba64){return _0x23bd05(_0x429169,_0x56ba64);},'PsyLc':_0x153410(0xed),'pHPzz':function(_0x2686b1){return _0x2686b1();},'padFO':function(_0x24821c,_0x4d0a19){return _0x24821c|_0x4d0a19;}};if(this['db'])return;return new Promise((_0x56de21,_0x40452b)=>{const _0x37fc1d=_0x153410,_0x2d96d8={'UYhlK':function(_0x4997b6,_0x3314f6,_0x2e0b5b){const _0x17593d=_0x1e9f;return _0x446054[_0x17593d(0x122)](_0x4997b6,_0x3314f6,_0x2e0b5b);},'WkXve':_0x446054['PsyLc'],'EeemT':function(_0x5dff7c,_0x401517){return _0x5dff7c(_0x401517);},'iQsyz':function(_0x3b9560){return _0x446054['pHPzz'](_0x3b9560);}};this['db']=new _0x120ee5[(_0x37fc1d(0x10c))](_0x4ecb41,_0x446054[_0x37fc1d(0x10d)](_0x120ee5[_0x37fc1d(0x10e)],_0x120ee5[_0x37fc1d(0x113)]),_0x554a1a=>{const _0x46d635=_0x37fc1d;if(_0x554a1a){_0x2d96d8[_0x46d635(0x12c)](logError,_0x2d96d8[_0x46d635(0x13d)],_0x554a1a),_0x2d96d8[_0x46d635(0x110)](_0x40452b,_0x554a1a);return;}this['createTable'](),_0x2d96d8[_0x46d635(0x14d)](_0x56de21);});});}['createTable'](){const _0x3bf583=_0x3ca36c;throw new Error(_0x3bf583(0x168));}[_0x3ca36c(0x17d)](){this['db']?.['close']();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();['globalMsgShortId']=-0x7ffffff8;constructor(){const _0x385a44=_0x3ca36c,_0x40b464={'VIjmH':function(_0x4ac4e0,_0x9e5873){return _0x4ac4e0-_0x9e5873;},'hVAvm':function(_0x3b15f4,_0x5abb26){return _0x3b15f4*_0x5abb26;},'lJQaR':function(_0x2e4317,_0x353aa2){return _0x2e4317(_0x353aa2);},'qXZnT':_0x385a44(0x116),'CMYDK':function(_0x280ac4,_0x119154){return _0x280ac4*_0x119154;}};super();const _0xf36b05=_0x40b464['CMYDK'](0x3e8,0x3c)*0xa;setInterval(()=>{const _0x5f4ea9=_0x385a44,_0x42f580={'PSDtA':function(_0x18bd19,_0x4b0b43){return _0x18bd19>_0x4b0b43;},'XpGtq':function(_0x4db48f,_0x173eee){return _0x40b464['VIjmH'](_0x4db48f,_0x173eee);},'BknsT':function(_0x59e5e7,_0x2e7fca){const _0x27d3f9=_0x1e9f;return _0x40b464[_0x27d3f9(0x12f)](_0x59e5e7,_0x2e7fca);},'hCvgF':function(_0x5c7966,_0x1806e6){return _0x5c7966(_0x1806e6);}};_0x40b464[_0x5f4ea9(0x139)](logDebug,_0x40b464[_0x5f4ea9(0x133)]),this[_0x5f4ea9(0x13f)]['forEach']((_0x3c2ccc,_0x1fefd2)=>{const _0xc5e5b4=_0x5f4ea9;_0x42f580[_0xc5e5b4(0xf2)](_0x42f580[_0xc5e5b4(0x131)](Date[_0xc5e5b4(0x15f)](),_0x42f580[_0xc5e5b4(0x106)](_0x42f580[_0xc5e5b4(0xea)](parseInt,_0x3c2ccc['msgTime']),0x3e8)),_0xf36b05)&&this[_0xc5e5b4(0x13f)][_0xc5e5b4(0x149)](_0x1fefd2);});},_0xf36b05);}async[_0x3ca36c(0xf8)](_0x475683){const _0xae8bd2=_0x3ca36c;await super[_0xae8bd2(0xf8)](_0x475683),this['globalMsgShortId']=await this['getCurrentMaxShortId']();}[_0x3ca36c(0x103)](){const _0x420981=_0x3ca36c,_0x1d2f87={'wwyuh':function(_0x17b409,_0x18d963,_0xef5fa6){return _0x17b409(_0x18d963,_0xef5fa6);},'kfvSw':_0x420981(0x17b),'wLiUd':_0x420981(0x174)},_0x102d6c='\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'][_0x420981(0x167)](_0x102d6c,function(_0x258865){const _0xbdb784=_0x420981;_0x258865&&logError(_0xbdb784(0x11a),_0x258865[_0xbdb784(0x17e)]);});const _0x46d823=_0x420981(0xe6);this['db']['run'](_0x46d823,function(_0xfe1e4f){const _0x2f0b3c=_0x420981;_0xfe1e4f&&_0x1d2f87[_0x2f0b3c(0x154)](logError,_0x1d2f87[_0x2f0b3c(0x17f)],_0xfe1e4f);});const _0x4670f8=_0x420981(0x111);this['db'][_0x420981(0x167)](_0x4670f8,function(_0x55c800){const _0x8b6de5=_0x420981;_0x55c800&&logError(_0x1d2f87[_0x8b6de5(0x118)],_0x55c800);});}async[_0x3ca36c(0x10b)](){const _0x1a33e9=_0x3ca36c,_0x4dcbe4={'IPsPp':function(_0x3e9aee,_0x5799c5,_0x44f858){return _0x3e9aee(_0x5799c5,_0x44f858);},'XZbNU':'Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','KoEFP':function(_0x3dc738,_0x35bd62){return _0x3dc738(_0x35bd62);},'BKxNd':_0x1a33e9(0xf3),'oevYA':_0x1a33e9(0x11e)};return new Promise((_0x160676,_0x2792d9)=>{const _0x9a060d=_0x1a33e9;this['db']['get'](_0x4dcbe4[_0x9a060d(0xef)],(_0x3a235d,_0xc0dd90)=>{const _0x3ed541=_0x9a060d;if(_0x3a235d)return _0x4dcbe4[_0x3ed541(0x130)](logDebug,_0x4dcbe4[_0x3ed541(0xf9)],_0x3a235d),_0x4dcbe4[_0x3ed541(0xe9)](_0x160676,-0x7ffffff8);_0x4dcbe4[_0x3ed541(0x130)](logDebug,_0x4dcbe4[_0x3ed541(0x112)],_0xc0dd90?.['maxId']),_0x4dcbe4['KoEFP'](_0x160676,_0xc0dd90?.[_0x3ed541(0x155)]??-0x7ffffff8);});});}async[_0x3ca36c(0x143)](_0x20d0ce,_0x9df7cc){const _0x15db31=_0x3ca36c,_0x591f2a={'CwAbz':_0x15db31(0x13b),'UMECq':function(_0x84289d,_0x4f8a8c){return _0x84289d(_0x4f8a8c);},'sypzs':function(_0x23bcc8,_0x520cd2){return _0x23bcc8(_0x520cd2);}},_0x399dec=this['db'][_0x15db31(0x15a)](_0x20d0ce);return new Promise((_0x40a3f6,_0x179730)=>{const _0x3c1ad5=_0x15db31,_0x2e6e48={'QsyTD':function(_0x2e2553,_0x48d7e9){const _0x4dcb18=_0x1e9f;return _0x591f2a[_0x4dcb18(0x14a)](_0x2e2553,_0x48d7e9);}};_0x399dec[_0x3c1ad5(0x12b)](..._0x9df7cc,(_0x50e43b,_0x5c7992)=>{const _0x2be365=_0x3c1ad5,_0x2123a8={'YxsEl':function(_0x3fb088,_0xd53c06){return _0x3fb088(_0xd53c06);}};if(_0x50e43b)return logError(_0x591f2a['CwAbz'],_0x50e43b,_0x20d0ce,_0x9df7cc),_0x591f2a[_0x2be365(0x159)](_0x40a3f6,null);if(!_0x5c7992){_0x40a3f6(null);return;}const _0x2bb4fc=_0x5c7992['longId'];NTQQMsgApi[_0x2be365(0x156)]({'peerUid':_0x5c7992[_0x2be365(0xfc)],'chatType':_0x5c7992[_0x2be365(0x17a)]},[_0x2bb4fc])[_0x2be365(0x114)](_0xca4eff=>{const _0x50e9d0=_0x2be365,_0x59570c=_0xca4eff[_0x50e9d0(0x170)][0x0];if(!_0x59570c){_0x40a3f6(null);return;}_0x59570c['id']=_0x5c7992['shortId'],_0x2123a8[_0x50e9d0(0x117)](_0x40a3f6,_0x59570c);})['catch'](_0xec580c=>{const _0x3d8df9=_0x2be365;_0x2e6e48[_0x3d8df9(0x120)](_0x40a3f6,null);});});});}async[_0x3ca36c(0xf1)](_0x312418){const _0xf28603=_0x3ca36c,_0x29d31a={'IblJH':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?'};if(this['msgCache'][_0xf28603(0x141)](_0x312418))return this['msgCache']['get'](_0x312418);const _0x213f9a=_0x29d31a[_0xf28603(0x125)];return this['getMsg'](_0x213f9a,[_0x312418]);}async[_0x3ca36c(0x129)](_0x57771d){const _0x36cd9d=_0x3ca36c,_0xa37ff={'qaFZi':_0x36cd9d(0x16e)};if(this[_0x36cd9d(0x13f)][_0x36cd9d(0x141)](_0x57771d))return this[_0x36cd9d(0x13f)][_0x36cd9d(0x12b)](_0x57771d);return this['getMsg'](_0xa37ff[_0x36cd9d(0x124)],[_0x57771d]);}async[_0x3ca36c(0x176)](_0x2ff131,_0x5110a3){const _0x2dcf34=_0x3ca36c,_0x74fdd3={'kBaUz':_0x2dcf34(0x134)},_0x692bf0=_0x74fdd3['kBaUz'];return this[_0x2dcf34(0x143)](_0x692bf0,[_0x2ff131,_0x5110a3]);}async[_0x3ca36c(0x12a)](_0x4948e6,_0x24495a=!![]){const _0x4c1d42=_0x3ca36c,_0x2f208c={'kvPgH':function(_0x5e774d,_0x410c0d,_0x3d6d1d){return _0x5e774d(_0x410c0d,_0x3d6d1d);},'Xiyvi':'db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','KzlLT':function(_0x30784c,_0x2ba91c){return _0x30784c===_0x2ba91c;},'LiBGl':_0x4c1d42(0x115),'LJtqS':_0x4c1d42(0xf0),'elkTH':function(_0x31b203,_0x438741){return _0x31b203(_0x438741);}},_0x549af4=await this[_0x4c1d42(0x129)](_0x4948e6[_0x4c1d42(0x14b)]);if(_0x549af4){if(_0x24495a)this['updateMsg'](_0x4948e6)[_0x4c1d42(0x114)]();return _0x549af4['id'];}const _0x3e7937=this['db']['prepare'](_0x2f208c[_0x4c1d42(0x132)]),_0x2cd3e2=++this[_0x4c1d42(0x109)];return _0x4948e6['id']=_0x2cd3e2,_0x2f208c['elkTH'](logDebug,_0x4c1d42(0x151)+_0x4948e6['msgId']+_0x4c1d42(0x15b)+_0x4948e6['id']),this[_0x4c1d42(0x13f)][_0x4c1d42(0x164)](_0x2cd3e2,_0x4948e6),this[_0x4c1d42(0x13f)][_0x4c1d42(0x164)](_0x4948e6[_0x4c1d42(0x14b)],_0x4948e6),_0x3e7937[_0x4c1d42(0x167)](this['globalMsgShortId'],_0x4948e6[_0x4c1d42(0x14b)],_0x4948e6[_0x4c1d42(0x11b)][_0x4c1d42(0xfa)](),_0x4948e6[_0x4c1d42(0xfc)],_0x4948e6['chatType'],_0x3705ad=>{const _0x184a8e=_0x4c1d42;_0x3705ad&&(_0x2f208c[_0x184a8e(0x169)](_0x3705ad[_0x184a8e(0x178)],0x13)?this[_0x184a8e(0x129)](_0x4948e6['msgId'])['then'](_0xfa8ef7=>{const _0x5bf444=_0x184a8e;_0xfa8ef7?(this[_0x5bf444(0x13f)][_0x5bf444(0x164)](_0x2cd3e2,_0xfa8ef7),this[_0x5bf444(0x13f)][_0x5bf444(0x164)](_0xfa8ef7[_0x5bf444(0x14b)],_0xfa8ef7)):_0x2f208c[_0x5bf444(0x16f)](logError,_0x2f208c[_0x5bf444(0x14f)],_0x3705ad);})[_0x184a8e(0x12d)](_0x533bc1=>logError(_0x184a8e(0xfd),_0x533bc1)):logError(_0x2f208c[_0x184a8e(0x17c)],_0x3705ad));}),_0x2cd3e2;}async[_0x3ca36c(0x12e)](_0x141612){const _0x3da6bb=_0x3ca36c,_0x112ba1={'NdljG':function(_0x4f656f,_0x40312b,_0x779f){return _0x4f656f(_0x40312b,_0x779f);},'sbqgK':'updateMsg\x20db\x20error'},_0x1db70e=this[_0x3da6bb(0x13f)]['get'](_0x141612['msgId']);_0x1db70e&&Object[_0x3da6bb(0x158)](_0x1db70e,_0x141612);logDebug(_0x3da6bb(0x105)+_0x141612['id']+',\x20seq:\x20'+_0x141612[_0x3da6bb(0x11b)]+',\x20msgId:\x20'+_0x141612[_0x3da6bb(0x14b)]);const _0x5a6da=this['db'][_0x3da6bb(0x15a)](_0x3da6bb(0x10a));_0x5a6da[_0x3da6bb(0x167)](_0x141612[_0x3da6bb(0x11b)],_0x141612[_0x3da6bb(0x14b)],_0x4a4b2f=>{const _0x184ec7=_0x3da6bb;_0x4a4b2f&&_0x112ba1[_0x184ec7(0x177)](logError,_0x112ba1[_0x184ec7(0x14c)],_0x4a4b2f);});}async['addFileCache'](_0x554c08){const _0x2b6bb2=_0x3ca36c,_0x673265={'POhLo':function(_0x17fbd9,_0x4b7374,_0x276775){return _0x17fbd9(_0x4b7374,_0x276775);},'sueAy':_0x2b6bb2(0x15c),'BWyxb':function(_0x150843,_0xeaab49){return _0x150843(_0xeaab49);},'swfrD':function(_0x192368,_0x8ade9c){return _0x192368(_0x8ade9c);},'ARSSj':_0x2b6bb2(0x157)},_0x1b054a=this['db'][_0x2b6bb2(0x15a)](_0x673265[_0x2b6bb2(0x127)]);return new Promise((_0x1367fe,_0x66f86a)=>{const _0x57d6d8=_0x2b6bb2;_0x1b054a[_0x57d6d8(0x167)](_0x554c08[_0x57d6d8(0x107)],_0x554c08['path'],_0x554c08['url'],_0x554c08[_0x57d6d8(0x16d)],_0x554c08['uuid'],_0x554c08[_0x57d6d8(0xec)],JSON['stringify'](_0x554c08[_0x57d6d8(0x15e)]),_0x554c08[_0x57d6d8(0x150)],_0x554c08[_0x57d6d8(0x14b)],function(_0xcd039a){const _0x8aad25=_0x57d6d8;_0xcd039a&&(_0x673265[_0x8aad25(0x153)](logError,_0x673265[_0x8aad25(0xe8)],_0xcd039a),_0x673265[_0x8aad25(0xfe)](_0x66f86a,_0xcd039a)),_0x673265[_0x8aad25(0xf7)](_0x1367fe,null);});});}async['getFileCache'](_0x449878,_0x2b1dbf){const _0x341399=_0x3ca36c,_0x1ebe37={'wkgCU':function(_0x19f715,_0x176a60,_0x24ae45){return _0x19f715(_0x176a60,_0x24ae45);},'gRsVx':_0x341399(0x162),'QvAyD':function(_0x4dcf60,_0x4fe1dd){return _0x4dcf60(_0x4fe1dd);}},_0x475ad8=this['db'][_0x341399(0x15a)](_0x449878);return new Promise((_0x3370be,_0x37668c)=>{const _0x321474=_0x341399,_0x548a3f={'UPFyP':function(_0x4b0d47,_0x2a505d,_0x1c7646){return _0x1ebe37['wkgCU'](_0x4b0d47,_0x2a505d,_0x1c7646);},'kGWlX':_0x1ebe37[_0x321474(0x108)],'qFBob':function(_0x40b5ed,_0x5e2ff9){const _0x5cf3df=_0x321474;return _0x1ebe37[_0x5cf3df(0x16a)](_0x40b5ed,_0x5e2ff9);},'JDmNz':function(_0x3f3ac3,_0x527091){const _0x6dca72=_0x321474;return _0x1ebe37[_0x6dca72(0x16a)](_0x3f3ac3,_0x527091);}};_0x475ad8['get'](..._0x2b1dbf,(_0x45b3e9,_0xf086ac)=>{const _0x1ab02f=_0x321474;_0x45b3e9&&(_0x548a3f[_0x1ab02f(0x11c)](logError,_0x548a3f[_0x1ab02f(0x163)],_0x45b3e9),_0x548a3f['qFBob'](_0x37668c,_0x45b3e9)),_0xf086ac&&(_0xf086ac[_0x1ab02f(0x15e)]=JSON[_0x1ab02f(0x160)](_0xf086ac[_0x1ab02f(0x15e)])),_0x548a3f[_0x1ab02f(0x161)](_0x3370be,_0xf086ac);});});}async[_0x3ca36c(0x104)](_0x463551){const _0x2711a5=_0x3ca36c,_0x1a8b80={'Dcmxv':_0x2711a5(0x13e)};return this[_0x2711a5(0x165)](_0x1a8b80['Dcmxv'],[_0x463551]);}async[_0x3ca36c(0x101)](_0x411470){const _0x4fb7ed=_0x3ca36c,_0x49ad2b={'TPIhP':_0x4fb7ed(0x142)};return this['getFileCache'](_0x49ad2b[_0x4fb7ed(0x135)],[_0x411470]);}async['updateFileCache'](_0x20052e){const _0x5ee077=_0x3ca36c,_0x105320={'yJzKX':function(_0x26d93b,_0x4c0520,_0x278954){return _0x26d93b(_0x4c0520,_0x278954);},'gRXzd':_0x5ee077(0xf4),'NZqqZ':function(_0x791e5c,_0x57daa6){return _0x791e5c(_0x57daa6);}},_0x5eab1e=this['db'][_0x5ee077(0x15a)](_0x5ee077(0x16b));return new Promise((_0xdc4067,_0x234622)=>{const _0x502404=_0x5ee077,_0x4fa5b8={'yioeF':function(_0x2fea23,_0xbfa623,_0x859775){const _0x5bcca2=_0x1e9f;return _0x105320[_0x5bcca2(0x147)](_0x2fea23,_0xbfa623,_0x859775);},'ZcBIS':_0x105320[_0x502404(0x128)],'tNzsm':function(_0x18cfee,_0x43d781){return _0x105320['NZqqZ'](_0x18cfee,_0x43d781);},'iEdlz':function(_0x50b825,_0x189d16){return _0x50b825(_0x189d16);}};_0x5eab1e[_0x502404(0x167)](_0x20052e[_0x502404(0x152)],_0x20052e[_0x502404(0xee)],_0x20052e[_0x502404(0x123)],function(_0x366a13){const _0x967fb1=_0x502404;_0x366a13&&(_0x4fa5b8['yioeF'](logError,_0x4fa5b8[_0x967fb1(0x11d)],_0x366a13),_0x4fa5b8[_0x967fb1(0x146)](_0x234622,_0x366a13)),_0x4fa5b8[_0x967fb1(0xf5)](_0xdc4067,null);});});}async[_0x3ca36c(0x13a)](){const _0x52285c=_0x3ca36c,_0x253444={'hAyVT':function(_0x443d6b,_0x49a0bb){return _0x443d6b(_0x49a0bb);},'tUkny':_0x52285c(0x180)},_0x52af69=_0x253444[_0x52285c(0x171)];return new Promise((_0x2fb3a8,_0x26044c)=>{const _0x6a2ba4=_0x52285c,_0x4cb5f5={'QlpvE':function(_0x13f97f,_0x3b8c4e,_0x13463f){return _0x13f97f(_0x3b8c4e,_0x13463f);},'OrYah':function(_0xf23e8a,_0x2200cf){const _0x42fdf4=_0x1e9f;return _0x253444[_0x42fdf4(0x15d)](_0xf23e8a,_0x2200cf);},'DIYbs':function(_0x2b4a19,_0x1a2309){return _0x2b4a19(_0x1a2309);}};this['db'][_0x6a2ba4(0x166)](_0x52af69,(_0x4fc1aa,_0x135fd0)=>{const _0x57a917=_0x6a2ba4;_0x4fc1aa&&(_0x4cb5f5[_0x57a917(0x102)](logError,_0x57a917(0x175),_0x4fc1aa),_0x4cb5f5[_0x57a917(0x145)](_0x26044c,_0x4fc1aa));const _0x5a906c={};_0x135fd0[_0x57a917(0x14e)](_0x1b9dac=>{const _0x2f4553=_0x57a917;_0x5a906c[_0x1b9dac['uin']]=_0x1b9dac[_0x2f4553(0x140)];}),_0x4cb5f5[_0x57a917(0x172)](_0x2fb3a8,_0x5a906c);});});}async['getUidByTempUin'](_0x2279d9){const _0x2a9861=_0x3ca36c,_0xa125a9={'XrFFQ':function(_0x5bbf2a,_0x2f70d0,_0x26be11){return _0x5bbf2a(_0x2f70d0,_0x26be11);},'Xddvp':function(_0xf195b2,_0xb0c6b4){return _0xf195b2(_0xb0c6b4);},'YdkXd':_0x2a9861(0x138)},_0x35d445=_0xa125a9['YdkXd'];return new Promise((_0x5d4548,_0x12bfc0)=>{const _0x3f903f=_0x2a9861,_0x2ba01d={'Cvjds':function(_0x3adca0,_0x35e778,_0x481a8b){return _0xa125a9['XrFFQ'](_0x3adca0,_0x35e778,_0x481a8b);},'JHtGh':function(_0x3c1029,_0xb97512){return _0x3c1029(_0xb97512);},'agrmz':function(_0x42f1db,_0x3be5cb){const _0x3f244f=_0x1e9f;return _0xa125a9[_0x3f244f(0x11f)](_0x42f1db,_0x3be5cb);}};this['db'][_0x3f903f(0x12b)](_0x35d445,[_0x2279d9],(_0x4d50c0,_0x21c740)=>{const _0x55ef1c=_0x3f903f;_0x4d50c0&&(_0x2ba01d[_0x55ef1c(0xeb)](logError,_0x55ef1c(0x175),_0x4d50c0),_0x2ba01d[_0x55ef1c(0x136)](_0x12bfc0,_0x4d50c0)),_0x2ba01d[_0x55ef1c(0xf6)](_0x5d4548,_0x21c740?.['uid']);});});}async[_0x3ca36c(0x100)](_0x236c60,_0x39ac45){const _0xe65ee7=_0x3ca36c,_0x28dc7d={'OxfsB':'db\x20could\x20not\x20add\x20temp\x20uin','pHuhs':function(_0x2e7afa,_0x278706){return _0x2e7afa(_0x278706);},'QWIWx':_0xe65ee7(0x137)},_0x13d368=await this['getUidByTempUin'](_0x236c60);if(!_0x13d368){const _0x5aa4ce=this['db'][_0xe65ee7(0x15a)](_0x28dc7d[_0xe65ee7(0xe7)]);return new Promise((_0x55a49b,_0xf729c8)=>{const _0x2b97fe=_0xe65ee7,_0x41ce87={'tdMjp':_0x28dc7d['OxfsB'],'gRQqJ':function(_0x43a45b,_0x53bd20){const _0xf45724=_0x1e9f;return _0x28dc7d[_0xf45724(0x173)](_0x43a45b,_0x53bd20);}};_0x5aa4ce[_0x2b97fe(0x167)](_0x236c60,_0x39ac45,function(_0x453176){const _0x2b226d=_0x2b97fe;_0x453176&&(logError(_0x41ce87[_0x2b226d(0x148)],_0x453176),_0x41ce87[_0x2b226d(0x179)](_0xf729c8,_0x453176)),_0x41ce87['gRQqJ'](_0x55a49b,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x4a6949=_0x5dde;(function(_0x4f85c4,_0x25a1bd){const _0x3a978d=_0x5dde,_0x16a9c8=_0x4f85c4();while(!![]){try{const _0x332258=parseInt(_0x3a978d(0x1cf))/0x1+parseInt(_0x3a978d(0x1c6))/0x2+-parseInt(_0x3a978d(0x1f3))/0x3*(-parseInt(_0x3a978d(0x1e4))/0x4)+parseInt(_0x3a978d(0x1eb))/0x5+parseInt(_0x3a978d(0x234))/0x6*(-parseInt(_0x3a978d(0x1f2))/0x7)+parseInt(_0x3a978d(0x1ab))/0x8*(-parseInt(_0x3a978d(0x1dd))/0x9)+parseInt(_0x3a978d(0x226))/0xa;if(_0x332258===_0x25a1bd)break;else _0x16a9c8['push'](_0x16a9c8['shift']());}catch(_0x53c371){_0x16a9c8['push'](_0x16a9c8['shift']());}}}(_0x1b75,0x7b4df));function _0x5dde(_0x397ed2,_0x323826){const _0x1b750e=_0x1b75();return _0x5dde=function(_0x5dde9b,_0x5144bf){_0x5dde9b=_0x5dde9b-0x1a8;let _0x35eb1e=_0x1b750e[_0x5dde9b];return _0x35eb1e;},_0x5dde(_0x397ed2,_0x323826);}import _0x36a780 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0x1b75(){const _0x1754fe=['globalMsgShortId','SKovb','SELECT\x20*\x20FROM\x20temp_uins','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','TBgqQ','hCrkF','getMsgsByMsgId','aXjeq','lpOxc','getFileCache','getUidByTempUin','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','36kNRVsl','lEUFt','run','KPrwy','msgTime','errno','uOhdU','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','eslzl','RJHwf','VlhBw','yrjFd','Could\x20not\x20get\x20msg','stringify','MLLxY','ZcHcZ','数据库中消息最大短id','db\x20could\x20not\x20add\x20msg','maxId','set','longId','1273736hJXgTt','WAoFS','KouMU','记录消息到数据库,\x20消息长id:\x20','KZtto','uid','BAKhN','has','path','addMsg','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','jRUIx','fWsPB','ddLwd','rwRZG','elementType','now','catch','Method\x20not\x20implemented.','init','db\x20could\x20not\x20update\x20file\x20cache','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','updateMsg\x20db\x20error','pgCxb','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','Vaazm','886112kriQuj','MjESV','wfdKQ',',\x20msgId:\x20','QsoBt','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','清理消息缓存','chatType','219431xRltGZ','forEach','zyKVP','peerUid','ANfcb','iDbMu','hHqoe','SqKbN','getFileCacheByName','size','TOKaZ','updateMsg','更新消息,\x20shortId:','url','54kibzHR','bwTFc','Database','MuNLc','\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)','getMsgByLongId','WRnuJ','63508TvRUgi','wIGsz','msgCache','UcquZ','Could\x20not\x20create\x20table\x20msgs','getMsg','kNPlI','1938350FFkfCW','CleNM','Could\x20not\x20connect\x20to\x20database','get','close','TVSyn','\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)','653219ugWVxR','105GKcqLP','uuekX','db\x20getMsgByLongId\x20error','EoyJS','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','kaHyQ','shortId','uin','toString','vYYpE','getMsgBySeq','jVXpe','Could\x20not\x20create\x20table\x20temp_uins','delete','MZEUD','addTempUin','createTable','MYCVP','name','updateFileCache','nvFUR','qxVAT','elementId','then','mVOnq','cyIEv','prepare','addFileCache','\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)','db\x20could\x20not\x20get\x20file\x20cache','JUzNp','ysrau','all','nrnlH',',\x20短id:\x20','uuid','eLYzS','UvJge','CZAPy','yTlJP','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','nwMaU','dJMoK','uKAXm','msgId','EBcFa','msgSeq','NSQSZ','getReceivedTempUinMap','db\x20could\x20not\x20get\x20temp\x20uin\x20map','getCurrentMaxShortId','4144070KmFavV','element'];_0x1b75=function(){return _0x1754fe;};return _0x1b75();}class DBUtilBase{['db'];async[_0x4a6949(0x1be)](_0xf79a5f){const _0x55e5c1=_0x4a6949,_0x913222={'MjESV':function(_0x3c4b72,_0xeae7,_0x2b5514){return _0x3c4b72(_0xeae7,_0x2b5514);},'eslzl':_0x55e5c1(0x1ed),'ysrau':function(_0x42b052,_0x16f77d){return _0x42b052(_0x16f77d);},'EBcFa':function(_0x2edbf5){return _0x2edbf5();},'jVXpe':function(_0x366b5e,_0x1f3fab){return _0x366b5e|_0x1f3fab;}};if(this['db'])return;return new Promise((_0x4db9f5,_0x444a9c)=>{const _0x73fe80=_0x55e5c1,_0x478d89={'RJHwf':function(_0x144856,_0x2e2c87,_0x15208b){const _0x1493b2=_0x5dde;return _0x913222[_0x1493b2(0x1c7)](_0x144856,_0x2e2c87,_0x15208b);},'iDbMu':_0x913222[_0x73fe80(0x23c)],'zyKVP':function(_0x5649ac,_0x5ec652){const _0x58e7eb=_0x73fe80;return _0x913222[_0x58e7eb(0x212)](_0x5649ac,_0x5ec652);},'Vaazm':function(_0x357e9e){const _0x2b6ef2=_0x73fe80;return _0x913222[_0x2b6ef2(0x220)](_0x357e9e);}};this['db']=new _0x36a780[(_0x73fe80(0x1df))](_0xf79a5f,_0x913222[_0x73fe80(0x1fe)](_0x36a780['OPEN_READWRITE'],_0x36a780['OPEN_CREATE']),_0x2217ca=>{const _0x4866ea=_0x73fe80;if(_0x2217ca){_0x478d89[_0x4866ea(0x23d)](logError,_0x478d89[_0x4866ea(0x1d4)],_0x2217ca),_0x478d89[_0x4866ea(0x1d1)](_0x444a9c,_0x2217ca);return;}this['createTable'](),_0x478d89[_0x4866ea(0x1c5)](_0x4db9f5);});});}['createTable'](){const _0x298340=_0x4a6949,_0x53873f={'WRnuJ':_0x298340(0x1bd)};throw new Error(_0x53873f[_0x298340(0x1e3)]);}['close'](){const _0x42c7ee=_0x4a6949;this['db']?.[_0x42c7ee(0x1ef)]();}}class DBUtil extends DBUtilBase{[_0x4a6949(0x1e6)]=new Map();[_0x4a6949(0x228)]=-0x7ffffff8;constructor(){const _0x355d51=_0x4a6949,_0x246090={'SqKbN':function(_0x40d519,_0x39b128){return _0x40d519>_0x39b128;},'VlhBw':function(_0x3fceb5,_0x293c29){return _0x3fceb5-_0x293c29;},'ZcHcZ':function(_0x372677,_0x1d5959){return _0x372677*_0x1d5959;},'xaqdJ':function(_0xb9fad0,_0x3da56d){return _0xb9fad0(_0x3da56d);},'aXjeq':_0x355d51(0x1cd),'wIGsz':function(_0x15b01a,_0x59bed3){return _0x15b01a*_0x59bed3;},'ougIE':function(_0x2ef392,_0x5eb95e){return _0x2ef392*_0x5eb95e;},'lEUFt':function(_0x2d5d47,_0x249e27,_0x413327){return _0x2d5d47(_0x249e27,_0x413327);}};super();const _0x156a19=_0x246090[_0x355d51(0x1e5)](_0x246090['ougIE'](0x3e8,0x3c),0xa);_0x246090[_0x355d51(0x235)](setInterval,()=>{const _0xaf9f13=_0x355d51;_0x246090['xaqdJ'](logDebug,_0x246090[_0xaf9f13(0x22f)]),this[_0xaf9f13(0x1e6)][_0xaf9f13(0x1d0)]((_0x3cb2b7,_0x25037b)=>{const _0x125860=_0xaf9f13;_0x246090[_0x125860(0x1d6)](_0x246090[_0x125860(0x23e)](Date[_0x125860(0x1bb)](),_0x246090[_0x125860(0x243)](parseInt(_0x3cb2b7[_0x125860(0x238)]),0x3e8)),_0x156a19)&&this[_0x125860(0x1e6)][_0x125860(0x200)](_0x25037b);});},_0x156a19);}async[_0x4a6949(0x1be)](_0x363574){const _0x117f77=_0x4a6949;await super['init'](_0x363574),this[_0x117f77(0x228)]=await this[_0x117f77(0x225)]();}[_0x4a6949(0x203)](){const _0x5b0fb4=_0x4a6949,_0x5311ed={'cyIEv':_0x5b0fb4(0x1e8),'EoyJS':function(_0x33196b,_0x31529f,_0x4a71cc){return _0x33196b(_0x31529f,_0x4a71cc);},'RmesT':'Could\x20not\x20create\x20table\x20files','uKAXm':function(_0x7baf1e,_0x1ea892,_0x17a6af){return _0x7baf1e(_0x1ea892,_0x17a6af);},'ooHLs':_0x5b0fb4(0x1ff)},_0x2bccf6=_0x5b0fb4(0x20f);this['db'][_0x5b0fb4(0x236)](_0x2bccf6,function(_0x15164c){const _0x421254=_0x5b0fb4;_0x15164c&&logError(_0x5311ed[_0x421254(0x20c)],_0x15164c['stack']);});const _0x53e58e=_0x5b0fb4(0x1e1);this['db'][_0x5b0fb4(0x236)](_0x53e58e,function(_0x4135c5){const _0x5260e1=_0x5b0fb4;_0x4135c5&&_0x5311ed[_0x5260e1(0x1f6)](logError,_0x5311ed['RmesT'],_0x4135c5);});const _0x73c3e1=_0x5b0fb4(0x1f1);this['db'][_0x5b0fb4(0x236)](_0x73c3e1,function(_0x3ae236){const _0xc59dbd=_0x5b0fb4;_0x3ae236&&_0x5311ed[_0xc59dbd(0x21e)](logError,_0x5311ed['ooHLs'],_0x3ae236);});}async[_0x4a6949(0x225)](){const _0x462b5d=_0x4a6949,_0x154b4c={'kfIRC':function(_0x32292a,_0x5d1904,_0x134cda){return _0x32292a(_0x5d1904,_0x134cda);},'TBgqQ':_0x462b5d(0x1b5)};return new Promise((_0x593662,_0x22fbd5)=>{const _0x1f91d8=_0x462b5d,_0x5e9a04={'uuekX':_0x1f91d8(0x1cb),'kNPlI':function(_0x5f3a60,_0x45378e){return _0x5f3a60(_0x45378e);},'tzJyn':function(_0x265670,_0x5b89a6,_0x1e8c1c){return _0x154b4c['kfIRC'](_0x265670,_0x5b89a6,_0x1e8c1c);},'ZxXEj':_0x1f91d8(0x244)};this['db'][_0x1f91d8(0x1ee)](_0x154b4c[_0x1f91d8(0x22c)],(_0x427b80,_0x2f8f04)=>{const _0x193c3e=_0x1f91d8;if(_0x427b80)return logDebug(_0x5e9a04[_0x193c3e(0x1f4)],_0x427b80),_0x5e9a04['kNPlI'](_0x593662,-0x7ffffff8);_0x5e9a04['tzJyn'](logDebug,_0x5e9a04['ZxXEj'],_0x2f8f04?.['maxId']),_0x5e9a04[_0x193c3e(0x1ea)](_0x593662,_0x2f8f04?.[_0x193c3e(0x1a8)]??-0x7ffffff8);});});}async[_0x4a6949(0x1e9)](_0x9785f8,_0x3fe58a){const _0x20214a=_0x4a6949,_0x17c174={'vYYpE':function(_0x489276,_0x58116f){return _0x489276(_0x58116f);},'NSQSZ':function(_0x3032ff,_0x318d22,_0x2a7554,_0x1c1c00,_0x5646bd){return _0x3032ff(_0x318d22,_0x2a7554,_0x1c1c00,_0x5646bd);},'uOhdU':_0x20214a(0x240)},_0x31c3d3=this['db']['prepare'](_0x9785f8);return new Promise((_0x5657db,_0x2ab6ba)=>{const _0x301525=_0x20214a,_0xe9847c={'CZAPy':function(_0x46d1a9,_0x1b64ea){const _0x1d26a2=_0x5dde;return _0x17c174[_0x1d26a2(0x1fc)](_0x46d1a9,_0x1b64ea);},'MYCVP':function(_0x28a2c1,_0xc94848){const _0x2db94e=_0x5dde;return _0x17c174[_0x2db94e(0x1fc)](_0x28a2c1,_0xc94848);},'UvJge':function(_0x2715cb,_0x5e2497,_0x4fae8a,_0x1c079e,_0x2b5bb4){const _0x18cd52=_0x5dde;return _0x17c174[_0x18cd52(0x222)](_0x2715cb,_0x5e2497,_0x4fae8a,_0x1c079e,_0x2b5bb4);},'UcquZ':_0x17c174[_0x301525(0x23a)]};_0x31c3d3[_0x301525(0x1ee)](..._0x3fe58a,(_0x249326,_0x3b9a57)=>{const _0x2131b9=_0x301525,_0x119e55={'qxVAT':function(_0x556fd0,_0x53ae99){return _0xe9847c['MYCVP'](_0x556fd0,_0x53ae99);}};if(_0x249326)return _0xe9847c[_0x2131b9(0x218)](logError,_0xe9847c[_0x2131b9(0x1e7)],_0x249326,_0x9785f8,_0x3fe58a),_0xe9847c[_0x2131b9(0x219)](_0x5657db,null);if(!_0x3b9a57){_0xe9847c[_0x2131b9(0x204)](_0x5657db,null);return;}const _0x3af868=_0x3b9a57[_0x2131b9(0x1aa)];NTQQMsgApi[_0x2131b9(0x22e)]({'peerUid':_0x3b9a57['peerUid'],'chatType':_0x3b9a57[_0x2131b9(0x1ce)]},[_0x3af868])['then'](_0x165d84=>{const _0x3d4dd5=_0x2131b9,_0x32a40b=_0x165d84['msgList'][0x0];if(!_0x32a40b){_0x119e55[_0x3d4dd5(0x208)](_0x5657db,null);return;}_0x32a40b['id']=_0x3b9a57[_0x3d4dd5(0x1f9)],_0x119e55[_0x3d4dd5(0x208)](_0x5657db,_0x32a40b);})[_0x2131b9(0x1bc)](_0xc61b99=>{const _0x2393fa=_0x2131b9;_0xe9847c[_0x2393fa(0x219)](_0x5657db,null);});});});}async['getMsgByShortId'](_0x5760fb){const _0x451517=_0x4a6949,_0x53a149={'SXOYY':_0x451517(0x233)};if(this[_0x451517(0x1e6)][_0x451517(0x1b2)](_0x5760fb))return this['msgCache'][_0x451517(0x1ee)](_0x5760fb);const _0x1a310b=_0x53a149['SXOYY'];return this[_0x451517(0x1e9)](_0x1a310b,[_0x5760fb]);}async['getMsgByLongId'](_0x32887c){const _0x28a806=_0x4a6949;if(this['msgCache'][_0x28a806(0x1b2)](_0x32887c))return this[_0x28a806(0x1e6)][_0x28a806(0x1ee)](_0x32887c);return this[_0x28a806(0x1e9)]('SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?',[_0x32887c]);}async[_0x4a6949(0x1fd)](_0x44a043,_0x5d5759){const _0x39582f=_0x4a6949,_0x469c2c={'BAKhN':_0x39582f(0x21b)},_0x53b8cc=_0x469c2c[_0x39582f(0x1b1)];return this[_0x39582f(0x1e9)](_0x53b8cc,[_0x44a043,_0x5d5759]);}async[_0x4a6949(0x1b4)](_0x10d48b,_0x17e261=!![]){const _0x1fdfef=_0x4a6949,_0x3b5269={'dJMoK':function(_0x247707,_0x5100ec,_0x369981){return _0x247707(_0x5100ec,_0x369981);},'MKvbt':_0x1fdfef(0x245),'nvFUR':function(_0x54447f,_0x4b91ef){return _0x54447f(_0x4b91ef);}},_0x30280d=await this['getMsgByLongId'](_0x10d48b[_0x1fdfef(0x21f)]);if(_0x30280d){if(_0x17e261)this[_0x1fdfef(0x1da)](_0x10d48b)[_0x1fdfef(0x20a)]();return _0x30280d['id'];}const _0xc0164d=this['db'][_0x1fdfef(0x20d)](_0x1fdfef(0x23b)),_0x7061f5=++this[_0x1fdfef(0x228)];return _0x10d48b['id']=_0x7061f5,_0x3b5269[_0x1fdfef(0x207)](logDebug,_0x1fdfef(0x1ae)+_0x10d48b[_0x1fdfef(0x21f)]+_0x1fdfef(0x215)+_0x10d48b['id']),this['msgCache'][_0x1fdfef(0x1a9)](_0x7061f5,_0x10d48b),this[_0x1fdfef(0x1e6)]['set'](_0x10d48b[_0x1fdfef(0x21f)],_0x10d48b),_0xc0164d[_0x1fdfef(0x236)](this[_0x1fdfef(0x228)],_0x10d48b['msgId'],_0x10d48b[_0x1fdfef(0x221)][_0x1fdfef(0x1fb)](),_0x10d48b[_0x1fdfef(0x1d2)],_0x10d48b[_0x1fdfef(0x1ce)],_0x5c0bfe=>{const _0x27a128=_0x1fdfef,_0x5a3c37={'MLLxY':function(_0x45be73,_0xb0865d,_0x1dc527){const _0x4a5354=_0x5dde;return _0x3b5269[_0x4a5354(0x21d)](_0x45be73,_0xb0865d,_0x1dc527);}};_0x5c0bfe&&(_0x5c0bfe[_0x27a128(0x239)]===0x13?this[_0x27a128(0x1e2)](_0x10d48b['msgId'])[_0x27a128(0x20a)](_0x5035e2=>{const _0x5785f2=_0x27a128;_0x5035e2?(this[_0x5785f2(0x1e6)][_0x5785f2(0x1a9)](_0x7061f5,_0x5035e2),this['msgCache']['set'](_0x5035e2[_0x5785f2(0x21f)],_0x5035e2)):_0x5a3c37[_0x5785f2(0x242)](logError,_0x5785f2(0x1c0),_0x5c0bfe);})[_0x27a128(0x1bc)](_0xdfd6a9=>logError(_0x27a128(0x1f5),_0xdfd6a9)):_0x3b5269['dJMoK'](logError,_0x3b5269['MKvbt'],_0x5c0bfe));}),_0x7061f5;}async[_0x4a6949(0x1da)](_0x204d60){const _0x4eb01e=_0x4a6949,_0x4ddd55={'ddLwd':function(_0x42a931,_0x277da6,_0x34e9b3){return _0x42a931(_0x277da6,_0x34e9b3);},'FEyoE':_0x4eb01e(0x1c1),'mVOnq':function(_0x3a9803,_0x53ee4b){return _0x3a9803(_0x53ee4b);}},_0xb7868c=this['msgCache'][_0x4eb01e(0x1ee)](_0x204d60['msgId']);_0xb7868c&&Object['assign'](_0xb7868c,_0x204d60);_0x4ddd55[_0x4eb01e(0x20b)](logDebug,_0x4eb01e(0x1db)+_0x204d60['id']+',\x20seq:\x20'+_0x204d60['msgSeq']+_0x4eb01e(0x1c9)+_0x204d60[_0x4eb01e(0x21f)]);const _0x17cfc6=this['db'][_0x4eb01e(0x20d)](_0x4eb01e(0x1c3));_0x17cfc6[_0x4eb01e(0x236)](_0x204d60[_0x4eb01e(0x221)],_0x204d60[_0x4eb01e(0x21f)],_0x257b66=>{const _0x5699a5=_0x4eb01e;_0x257b66&&_0x4ddd55[_0x5699a5(0x1b8)](logError,_0x4ddd55['FEyoE'],_0x257b66);});}async[_0x4a6949(0x20e)](_0x39cc52){const _0x1549fd=_0x4a6949,_0x525396={'WAoFS':function(_0x4fc6ec,_0xb8ee18){return _0x4fc6ec(_0xb8ee18);},'nwMaU':function(_0x5cd487,_0x479a5b){return _0x5cd487(_0x479a5b);},'wfdKQ':_0x1549fd(0x1cc)},_0x38e59c=this['db'][_0x1549fd(0x20d)](_0x525396[_0x1549fd(0x1c8)]);return new Promise((_0xacc092,_0x1a299e)=>{const _0x3d8dc9=_0x1549fd;_0x38e59c[_0x3d8dc9(0x236)](_0x39cc52[_0x3d8dc9(0x205)],_0x39cc52[_0x3d8dc9(0x1b3)],_0x39cc52[_0x3d8dc9(0x1dc)],_0x39cc52[_0x3d8dc9(0x1d8)],_0x39cc52[_0x3d8dc9(0x216)],_0x39cc52[_0x3d8dc9(0x1ba)],JSON[_0x3d8dc9(0x241)](_0x39cc52['element']),_0x39cc52[_0x3d8dc9(0x209)],_0x39cc52[_0x3d8dc9(0x21f)],function(_0x128a36){const _0x1b790d=_0x3d8dc9;_0x128a36&&(logError('db\x20could\x20not\x20add\x20file',_0x128a36),_0x525396[_0x1b790d(0x1ac)](_0x1a299e,_0x128a36)),_0x525396[_0x1b790d(0x21c)](_0xacc092,null);});});}async['getFileCache'](_0xb105,_0x26dd00){const _0x54d032=_0x4a6949,_0xf78689={'yrjFd':function(_0x1ca85b,_0x353e0b,_0x281ff4){return _0x1ca85b(_0x353e0b,_0x281ff4);},'rwRZG':_0x54d032(0x210),'QsoBt':function(_0x42ffef,_0x49c41e){return _0x42ffef(_0x49c41e);},'CleNM':function(_0x41008e,_0x15acb4){return _0x41008e(_0x15acb4);}},_0x11129c=this['db'][_0x54d032(0x20d)](_0xb105);return new Promise((_0xea6900,_0xe56739)=>{const _0x4c3de=_0x54d032;_0x11129c[_0x4c3de(0x1ee)](..._0x26dd00,(_0x2fb42d,_0x441860)=>{const _0x30640d=_0x4c3de;_0x2fb42d&&(_0xf78689[_0x30640d(0x23f)](logError,_0xf78689[_0x30640d(0x1b9)],_0x2fb42d),_0xf78689[_0x30640d(0x1ca)](_0xe56739,_0x2fb42d)),_0x441860&&(_0x441860[_0x30640d(0x227)]=JSON['parse'](_0x441860[_0x30640d(0x227)])),_0xf78689[_0x30640d(0x1ec)](_0xea6900,_0x441860);});});}async[_0x4a6949(0x1d7)](_0x142e46){const _0x8f091e=_0x4a6949,_0x4ee7f0={'eLYzS':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?'};return this[_0x8f091e(0x231)](_0x4ee7f0[_0x8f091e(0x217)],[_0x142e46]);}async['getFileCacheByUuid'](_0x29f3a0){const _0x364b5a=_0x4a6949,_0x67cf3={'jRUIx':_0x364b5a(0x1c4)};return this[_0x364b5a(0x231)](_0x67cf3[_0x364b5a(0x1b6)],[_0x29f3a0]);}async[_0x4a6949(0x206)](_0x161e60){const _0x4829b8=_0x4a6949,_0xb49fa={'MZEUD':function(_0x22117c,_0x63ddf1,_0x390dc0){return _0x22117c(_0x63ddf1,_0x390dc0);},'pgCxb':_0x4829b8(0x1bf),'KPrwy':function(_0x173101,_0x133747){return _0x173101(_0x133747);},'MuNLc':function(_0x336746,_0x4c7178){return _0x336746(_0x4c7178);},'lpOxc':'UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?'},_0x100902=this['db']['prepare'](_0xb49fa[_0x4829b8(0x230)]);return new Promise((_0x4d45c7,_0x57dbba)=>{const _0x1ab1e0=_0x4829b8;_0x100902[_0x1ab1e0(0x236)](_0x161e60[_0x1ab1e0(0x1b3)],_0x161e60[_0x1ab1e0(0x1dc)],_0x161e60[_0x1ab1e0(0x216)],function(_0xe551b0){const _0x2abca7=_0x1ab1e0;_0xe551b0&&(_0xb49fa[_0x2abca7(0x201)](logError,_0xb49fa[_0x2abca7(0x1c2)],_0xe551b0),_0xb49fa[_0x2abca7(0x237)](_0x57dbba,_0xe551b0)),_0xb49fa[_0x2abca7(0x1e0)](_0x4d45c7,null);});});}async[_0x4a6949(0x223)](){const _0xd470a9=_0x4a6949,_0x14cb9c={'yTlJP':function(_0x4d84a3,_0x46f0de){return _0x4d84a3(_0x46f0de);}},_0x5e45eb=_0xd470a9(0x22a);return new Promise((_0x527a92,_0x414bc2)=>{const _0x47c437=_0xd470a9,_0x3640a3={'hHqoe':_0x47c437(0x224),'JUzNp':function(_0x5049bd,_0x2fe5c0){const _0x26672f=_0x47c437;return _0x14cb9c[_0x26672f(0x21a)](_0x5049bd,_0x2fe5c0);}};this['db'][_0x47c437(0x213)](_0x5e45eb,(_0x223bbe,_0x43d8ce)=>{const _0x1cce8d=_0x47c437;_0x223bbe&&(logError(_0x3640a3[_0x1cce8d(0x1d5)],_0x223bbe),_0x414bc2(_0x223bbe));const _0x2c9a20={};_0x43d8ce['forEach'](_0x226d96=>{const _0x1df457=_0x1cce8d;_0x2c9a20[_0x226d96[_0x1df457(0x1fa)]]=_0x226d96['uid'];}),_0x3640a3[_0x1cce8d(0x211)](_0x527a92,_0x2c9a20);});});}async[_0x4a6949(0x232)](_0x21e97e){const _0x5a0209=_0x4a6949,_0x5332a9={'KZtto':function(_0x47ef5e,_0x44d3d3,_0x226540){return _0x47ef5e(_0x44d3d3,_0x226540);},'kaHyQ':_0x5a0209(0x224),'TOKaZ':function(_0x56ed29,_0x11ba24){return _0x56ed29(_0x11ba24);},'nrnlH':_0x5a0209(0x22b)},_0x3f985d=_0x5332a9[_0x5a0209(0x214)];return new Promise((_0x1e67b1,_0xfdd3a7)=>{const _0x553083=_0x5a0209;this['db'][_0x553083(0x1ee)](_0x3f985d,[_0x21e97e],(_0xcbabf2,_0x27f0c7)=>{const _0x30f6f3=_0x553083;_0xcbabf2&&(_0x5332a9[_0x30f6f3(0x1af)](logError,_0x5332a9[_0x30f6f3(0x1f8)],_0xcbabf2),_0x5332a9[_0x30f6f3(0x1d9)](_0xfdd3a7,_0xcbabf2)),_0x1e67b1(_0x27f0c7?.[_0x30f6f3(0x1b0)]);});});}async[_0x4a6949(0x202)](_0x11b034,_0x3d574f){const _0x400057=_0x4a6949,_0x57a4e1={'vVfLV':'db\x20could\x20not\x20add\x20temp\x20uin','fWsPB':function(_0x5dc93a,_0x36f36b){return _0x5dc93a(_0x36f36b);},'SKovb':function(_0x57c64c,_0x338a95){return _0x57c64c(_0x338a95);},'ANfcb':_0x400057(0x1f7)},_0x5e70d0=await this[_0x400057(0x232)](_0x11b034);if(!_0x5e70d0){const _0x408d98=this['db'][_0x400057(0x20d)](_0x57a4e1[_0x400057(0x1d3)]);return new Promise((_0x1557d6,_0x1e1e90)=>{const _0x566e93=_0x400057,_0x28a1b6={'hCrkF':function(_0x3118df,_0x6a0313,_0x387ac8){return _0x3118df(_0x6a0313,_0x387ac8);},'bwTFc':_0x57a4e1['vVfLV'],'TVSyn':function(_0x31cf92,_0x3799ae){const _0x2abb22=_0x5dde;return _0x57a4e1[_0x2abb22(0x1b7)](_0x31cf92,_0x3799ae);},'KouMU':function(_0x2b870f,_0x2e5e21){const _0x170f74=_0x5dde;return _0x57a4e1[_0x170f74(0x229)](_0x2b870f,_0x2e5e21);}};_0x408d98[_0x566e93(0x236)](_0x11b034,_0x3d574f,function(_0x3d00ec){const _0x141def=_0x566e93;_0x3d00ec&&(_0x28a1b6[_0x141def(0x22d)](logError,_0x28a1b6[_0x141def(0x1de)],_0x3d00ec),_0x28a1b6[_0x141def(0x1f0)](_0x1e1e90,_0x3d00ec)),_0x28a1b6[_0x141def(0x1ad)](_0x1557d6,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 77a82b1c..0ccf7ad0 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0xac088c=_0x23c6;(function(_0x47ed52,_0x3d1939){const _0x4eafa9=_0x23c6,_0x4ee035=_0x47ed52();while(!![]){try{const _0x226e94=-parseInt(_0x4eafa9(0xf3))/0x1+-parseInt(_0x4eafa9(0x102))/0x2+parseInt(_0x4eafa9(0xed))/0x3*(parseInt(_0x4eafa9(0xf6))/0x4)+-parseInt(_0x4eafa9(0xfd))/0x5*(parseInt(_0x4eafa9(0xfc))/0x6)+-parseInt(_0x4eafa9(0xe8))/0x7*(parseInt(_0x4eafa9(0xf9))/0x8)+parseInt(_0x4eafa9(0xea))/0x9*(-parseInt(_0x4eafa9(0xf2))/0xa)+parseInt(_0x4eafa9(0xe9))/0xb;if(_0x226e94===_0x3d1939)break;else _0x4ee035['push'](_0x4ee035['shift']());}catch(_0x2fbc3c){_0x4ee035['push'](_0x4ee035['shift']());}}}(_0x1579,0x30743));function _0x23c6(_0x16b868,_0xdbe8ab){const _0x1579d9=_0x1579();return _0x23c6=function(_0x23c619,_0x1af18d){_0x23c619=_0x23c619-0xe8;let _0x1efa45=_0x1579d9[_0x23c619];return _0x1efa45;},_0x23c6(_0x16b868,_0xdbe8ab);}import{logError}from'@/common/utils/log';class RkeyManager{['serverUrl']='';[_0xac088c(0xec)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x1700a7){const _0x54e51c=_0xac088c;this[_0x54e51c(0xfe)]=_0x1700a7;}async[_0xac088c(0x100)](){const _0x14fc66=_0xac088c,_0x13336f={'GUyqz':_0x14fc66(0xee)};if(this[_0x14fc66(0x101)]())try{await this[_0x14fc66(0xf8)]();}catch(_0x563947){logError(_0x13336f[_0x14fc66(0xf5)],_0x563947);}return this[_0x14fc66(0xec)];}['isExpired'](){const _0x48090a=_0xac088c,_0x74d4d8=new Date()[_0x48090a(0xf7)]()/0x3e8;return _0x74d4d8>this['rkeyData'][_0x48090a(0xef)];}async['refreshRkey'](){const _0x29d7c0=_0xac088c;this[_0x29d7c0(0xec)]=await this[_0x29d7c0(0xff)]();}async[_0xac088c(0xff)](){const _0x43886c={'LeamE':function(_0x4d7cb7,_0x391a40){return _0x4d7cb7(_0x391a40);},'AAGtd':function(_0x33d62a,_0x1f3ff9){return _0x33d62a(_0x1f3ff9);}};return new Promise((_0x308bbc,_0x59d17e)=>{const _0x1f29b4=_0x23c6,_0x53c24e={'wKRuh':function(_0x16e9cf,_0x3a1323){const _0x3f0fbd=_0x23c6;return _0x43886c[_0x3f0fbd(0xf0)](_0x16e9cf,_0x3a1323);}};fetch(this[_0x1f29b4(0xfe)])[_0x1f29b4(0xfa)](_0xbe42c1=>{const _0x40479d=_0x1f29b4;if(!_0xbe42c1['ok'])return _0x53c24e[_0x40479d(0xf4)](_0x59d17e,_0xbe42c1[_0x40479d(0xf1)]);return _0xbe42c1['json']();})[_0x1f29b4(0xfa)](_0x3f9213=>{const _0x3499f7=_0x1f29b4;_0x53c24e[_0x3499f7(0xf4)](_0x308bbc,_0x3f9213);})[_0x1f29b4(0xeb)](_0x3dc027=>{const _0x11a6ff=_0x1f29b4;_0x43886c[_0x11a6ff(0xfb)](_0x59d17e,_0x3dc027);});});}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey');function _0x1579(){const _0x256f6c=['getRkey','isExpired','371024ioWMoa','21MpdDtO','15765354FPsfnv','45jjzFEw','catch','rkeyData','45ZuJpcz','获取rkey失败','expired_time','AAGtd','statusText','468400zdfEty','170690WOOqon','wKRuh','GUyqz','13864okbUVx','getTime','refreshRkey','960440oLXudS','then','LeamE','2017020SlfnmH','5JBCKDF','serverUrl','fetchServerRkey'];_0x1579=function(){return _0x256f6c;};return _0x1579();} \ No newline at end of file +const _0x3cfac6=_0x5105;(function(_0x398e0a,_0x20b7dc){const _0xb00545=_0x5105,_0xe4f20f=_0x398e0a();while(!![]){try{const _0x5dc06e=parseInt(_0xb00545(0xff))/0x1+parseInt(_0xb00545(0x113))/0x2*(-parseInt(_0xb00545(0x100))/0x3)+-parseInt(_0xb00545(0x114))/0x4+parseInt(_0xb00545(0x10b))/0x5*(-parseInt(_0xb00545(0xfd))/0x6)+-parseInt(_0xb00545(0x110))/0x7*(parseInt(_0xb00545(0x107))/0x8)+parseInt(_0xb00545(0x10d))/0x9*(parseInt(_0xb00545(0x101))/0xa)+parseInt(_0xb00545(0xf9))/0xb*(parseInt(_0xb00545(0x104))/0xc);if(_0x5dc06e===_0x20b7dc)break;else _0xe4f20f['push'](_0xe4f20f['shift']());}catch(_0x514f8b){_0xe4f20f['push'](_0xe4f20f['shift']());}}}(_0x4668,0x9f484));import{logError}from'@/common/utils/log';function _0x4668(){const _0xd42c44=['1571517iJmIYU','getTime','serverUrl','1567601ZgvGRQ','rkeyData','nyGAP','2qRPPnL','4563720xwiLwk','11QnwJRC','DKFpa','then','VLapn','223896qbrHvw','http://napcat-sign.wumiao.wang:2082/rkey','89115RjeiKU','2334063dyApRe','60cxXDRo','getRkey','refreshRkey','20350044GWmHrT','eOQss','isExpired','8AWEKVZ','fetchServerRkey','MTTEU','expired_time','5nfQvoZ','获取rkey失败'];_0x4668=function(){return _0xd42c44;};return _0x4668();}function _0x5105(_0x8abb4c,_0x3c4798){const _0x46682b=_0x4668();return _0x5105=function(_0x5105ee,_0x8587dd){_0x5105ee=_0x5105ee-0xf9;let _0x18e21a=_0x46682b[_0x5105ee];return _0x18e21a;},_0x5105(_0x8abb4c,_0x3c4798);}class RkeyManager{[_0x3cfac6(0x10f)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x56af42){const _0x133ec0=_0x3cfac6;this[_0x133ec0(0x10f)]=_0x56af42;}async[_0x3cfac6(0x102)](){const _0x4a33e9=_0x3cfac6,_0x539c6c={'nyGAP':function(_0x31b747,_0x17baf5,_0x36995e){return _0x31b747(_0x17baf5,_0x36995e);},'DKFpa':_0x4a33e9(0x10c)};if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x25fc6f){_0x539c6c[_0x4a33e9(0x112)](logError,_0x539c6c[_0x4a33e9(0xfa)],_0x25fc6f);}return this['rkeyData'];}[_0x3cfac6(0x106)](){const _0x23bd54=_0x3cfac6,_0x459fe5={'VLapn':function(_0x4d0ddc,_0xf6a07a){return _0x4d0ddc/_0xf6a07a;},'eOQss':function(_0x44d315,_0x4de04f){return _0x44d315>_0x4de04f;}},_0x16875e=_0x459fe5[_0x23bd54(0xfc)](new Date()[_0x23bd54(0x10e)](),0x3e8);return _0x459fe5[_0x23bd54(0x105)](_0x16875e,this[_0x23bd54(0x111)][_0x23bd54(0x10a)]);}async[_0x3cfac6(0x103)](){const _0x4f71d8=_0x3cfac6;this[_0x4f71d8(0x111)]=await this[_0x4f71d8(0x108)]();}async['fetchServerRkey'](){const _0x2c4abe={'MTTEU':function(_0x598eba,_0x2cc39a){return _0x598eba(_0x2cc39a);}};return new Promise((_0x1069f1,_0x501e2b)=>{const _0x232c97=_0x5105;_0x2c4abe[_0x232c97(0x109)](fetch,this[_0x232c97(0x10f)])[_0x232c97(0xfb)](_0x37258b=>{if(!_0x37258b['ok'])return _0x501e2b(_0x37258b['statusText']);return _0x37258b['json']();})[_0x232c97(0xfb)](_0x1ebc51=>{_0x2c4abe['MTTEU'](_0x1069f1,_0x1ebc51);})['catch'](_0x4dee1d=>{_0x501e2b(_0x4dee1d);});});}}export const rkeyManager=new RkeyManager(_0x3cfac6(0xfe)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index edf671f6..d3721144 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x4a0b46=_0x58ac;(function(_0x267500,_0x1daee2){const _0xd60447=_0x58ac,_0x2d2e08=_0x267500();while(!![]){try{const _0x37bce1=parseInt(_0xd60447(0xa2))/0x1+parseInt(_0xd60447(0x96))/0x2+-parseInt(_0xd60447(0x9d))/0x3*(parseInt(_0xd60447(0x99))/0x4)+parseInt(_0xd60447(0xa1))/0x5*(-parseInt(_0xd60447(0x9b))/0x6)+parseInt(_0xd60447(0x9e))/0x7+-parseInt(_0xd60447(0x9f))/0x8+parseInt(_0xd60447(0xa6))/0x9*(-parseInt(_0xd60447(0x9c))/0xa);if(_0x37bce1===_0x1daee2)break;else _0x2d2e08['push'](_0x2d2e08['shift']());}catch(_0x599c07){_0x2d2e08['push'](_0x2d2e08['shift']());}}}(_0x4885,0xda383));import _0x22c1a5 from'node:path';function _0x4885(){const _0x57e5b0=['join','62142djHffp','20yGVeUi','39CwXXHz','11958667mTutJX','5739296swZjBP','/wrapper.node','75lzqAGf','263982npRKHu','existsSync','resources/app/versions/','execPath','4026555FNsSKu','2863630VkIXmr','./resources/app/wrapper.node','resolve','228552mnYYpg'];_0x4885=function(){return _0x57e5b0;};return _0x4885();}import _0x1c32d0 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x22c1a5[_0x4a0b46(0x98)](_0x22c1a5['dirname'](process['execPath']),_0x4a0b46(0x97));function _0x58ac(_0x4bf957,_0x2fff75){const _0x4885bc=_0x4885();return _0x58ac=function(_0x58ac1a,_0x5855e){_0x58ac1a=_0x58ac1a-0x96;let _0x13aea5=_0x4885bc[_0x58ac1a];return _0x13aea5;},_0x58ac(_0x4bf957,_0x2fff75);}!_0x1c32d0[_0x4a0b46(0xa3)](wrapperNodePath)&&(wrapperNodePath=_0x22c1a5[_0x4a0b46(0x9a)](_0x22c1a5['dirname'](process[_0x4a0b46(0xa5)]),_0x4a0b46(0xa4)+qqVersionConfigInfo['curVersion']+_0x4a0b46(0xa0)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +const _0x1ec215=_0x2503;(function(_0x71550d,_0x3c55c6){const _0x2e2798=_0x2503,_0x242e50=_0x71550d();while(!![]){try{const _0x154350=-parseInt(_0x2e2798(0xa9))/0x1*(-parseInt(_0x2e2798(0xaa))/0x2)+parseInt(_0x2e2798(0xa3))/0x3*(-parseInt(_0x2e2798(0xa5))/0x4)+-parseInt(_0x2e2798(0x9f))/0x5*(parseInt(_0x2e2798(0xaf))/0x6)+parseInt(_0x2e2798(0x9e))/0x7*(-parseInt(_0x2e2798(0xac))/0x8)+-parseInt(_0x2e2798(0xa7))/0x9*(parseInt(_0x2e2798(0xa2))/0xa)+parseInt(_0x2e2798(0xa1))/0xb+parseInt(_0x2e2798(0xab))/0xc*(parseInt(_0x2e2798(0xa8))/0xd);if(_0x154350===_0x3c55c6)break;else _0x242e50['push'](_0x242e50['shift']());}catch(_0x267d23){_0x242e50['push'](_0x242e50['shift']());}}}(_0x360f,0x2803d));import _0x95b816 from'node:path';function _0x2503(_0xcb7f74,_0x11c0a3){const _0x360f64=_0x360f();return _0x2503=function(_0x250312,_0x2eae89){_0x250312=_0x250312-0x9e;let _0x3f359c=_0x360f64[_0x250312];return _0x3f359c;},_0x2503(_0xcb7f74,_0x11c0a3);}import _0x46f18d from'node:fs';function _0x360f(){const _0x5b2737=['dirname','208bdGFMQ','curVersion','263817DfVnwh','5982535AEhXdL','16dVcznC','5318esWKUn','12YmAdFq','8UpSYqX','./resources/app/wrapper.node','resources/app/versions/','162126LFQrvL','join','1826797OXiROq','10vxCGJk','execPath','2609772GGkKSd','10WpobjW','13371JKdTtQ'];_0x360f=function(){return _0x5b2737;};return _0x360f();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x95b816['resolve'](_0x95b816['dirname'](process[_0x1ec215(0xa0)]),_0x1ec215(0xad));!_0x46f18d['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x95b816[_0x1ec215(0xb0)](_0x95b816[_0x1ec215(0xa4)](process['execPath']),_0x1ec215(0xae)+qqVersionConfigInfo[_0x1ec215(0xa6)]+'/wrapper.node'));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file